@gmb/bitmark-parser-generator 3.32.0 → 3.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist/browser/bitmark-parser-generator.min.js +1 -1
  2. package/dist/browser/bundle-report.html +2 -2
  3. package/dist/cjs/ast/Builder.js +39 -46
  4. package/dist/cjs/ast/Builder.js.map +1 -1
  5. package/dist/cjs/ast/ResourceBuilder.js +1 -2
  6. package/dist/cjs/ast/ResourceBuilder.js.map +1 -1
  7. package/dist/cjs/generated/build-info.js +1 -1
  8. package/dist/cjs/generated/parser/text/text-peggy-parser.js +1139 -941
  9. package/dist/cjs/generated/parser/text/text-peggy-parser.js.map +1 -1
  10. package/dist/cjs/generator/text/TextGenerator.js +16 -1
  11. package/dist/cjs/generator/text/TextGenerator.js.map +1 -1
  12. package/dist/cjs/model/enum/TextMarkType.js +11 -0
  13. package/dist/cjs/model/enum/TextMarkType.js.map +1 -1
  14. package/dist/esm/ast/Builder.js +39 -46
  15. package/dist/esm/ast/Builder.js.map +1 -1
  16. package/dist/esm/ast/ResourceBuilder.js +1 -2
  17. package/dist/esm/ast/ResourceBuilder.js.map +1 -1
  18. package/dist/esm/generated/build-info.js +1 -1
  19. package/dist/esm/generated/parser/text/text-peggy-parser.js +1139 -941
  20. package/dist/esm/generated/parser/text/text-peggy-parser.js.map +1 -1
  21. package/dist/esm/generator/text/TextGenerator.js +16 -1
  22. package/dist/esm/generator/text/TextGenerator.js.map +1 -1
  23. package/dist/esm/model/enum/TextMarkType.js +11 -0
  24. package/dist/esm/model/enum/TextMarkType.js.map +1 -1
  25. package/dist/types/generated/parser/text/text-peggy-parser.d.ts.map +1 -1
  26. package/dist/types/generator/text/TextGenerator.d.ts +2 -2
  27. package/dist/types/generator/text/TextGenerator.d.ts.map +1 -1
  28. package/dist/types/model/ast/TextNodes.d.ts +4 -0
  29. package/dist/types/model/ast/TextNodes.d.ts.map +1 -1
  30. package/dist/types/model/enum/TextMarkType.d.ts +22 -0
  31. package/dist/types/model/enum/TextMarkType.d.ts.map +1 -1
  32. package/package.json +1 -1
@@ -3,7 +3,7 @@
3
3
  <head>
4
4
  <meta charset="UTF-8"/>
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1"/>
6
- <title>@gmb/bitmark-parser-generator [24 Jun 2025 at 21:40]</title>
6
+ <title>@gmb/bitmark-parser-generator [7 Jul 2025 at 00:07]</title>
7
7
  <link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAABrVBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+O1foceMD///+J0/qK1Pr7/v8Xdr/9///W8P4UdL7L7P0Scr2r4Pyj3vwad8D5/f/2/f+55f3E6f34+/2H0/ojfMKpzOd0rNgQcb3F3O/j9f7c8v6g3Pz0/P/w+v/q+P7n9v6T1/uQ1vuE0vqLut/y+v+Z2fvt+f+15Pzv9fuc2/vR7v2V2Pvd6/bg9P7I6/285/2y4/yp3/zp8vk8i8kqgMT7/P31+fyv4vxGkcz6/P6/6P3j7vfS5PNnpNUxhcbO7f7F6v3O4vHK3/DA2u631Ouy0eqXweKJud5wqthfoNMMbLvY8f73+v2dxeR8sNtTmdDx9/zX6PSjyeaCtd1YnNGX2PuQveCGt95Nls42h8dLlM3F4vBtAAAAM3RSTlMAAyOx0/sKBvik8opWGBMOAe3l1snDm2E9LSb06eHcu5JpHbarfHZCN9CBb08zzkdNS0kYaptYAAAFV0lEQVRYw92X51/aYBDHHS2O2qqttVbrqNq9m+TJIAYIShBkWwqIiCgoWvfeq7Z2/s29hyQNyUcR7LveGwVyXy6XH8/9rqxglLfUPLxVduUor3h0rfp2TYvpivk37929TkG037hffoX0+peVtZQc1589rigVUdXS/ABSAyEmGIO/1XfvldSK8vs3OqB6u3m0nxmIrvgB0dj7rr7Y9IbuF68hnfFaiHA/sxqm0wciIG43P60qKv9WXWc1RXGh/mFESFABTSBi0sNAKzqet17eCtOb3kZIDwxEEU0oAIJGYxNBDhBND29e0rtXXbcpuPmED9IhEAAQ/AXEaF8EPmnrrKsv0LvWR3fg5sWDNAFZOgAgaKvZDogHNU9MFwnnYROkc56RD5CjAbQX9Ow4g7upCsvYu55aSI/Nj0H1akgKQEUM94dwK65hYRmFU9MIcH/fqJYOZYcnuJSU/waKDgTOEVaVKhwrTRP5XzgSpAITYzom7UvkhFX5VutmxeNnWDjjswTKTyfgluNDGbUpWissXhF3s7mlSml+czWkg3D0l1nNjGNjz3myOQOa1KM/jOS6ebdbAVTCi4gljHSFrviza7tOgRWcS0MOUX9zdNgag5w7rRqA44Lzw0hr1WqES36dFliSJFlh2rXIae3FFcDDgKdxrUIDePr8jGcSClV1u7A9xeN0ModY/pHMxmR1EzRh8TJiwqsHmKW0l4FCEZI+jHio+JdPPE9qwQtTRxku2D8sIeRL2LnxWSllANCQGOIiqVHAz2ye2JR0DcH+HoxDkaADLjgxjKQ+AwCX/g0+DNgdG0ukYCONAe+dbc2IAc6fwt1ARoDSezNHxV2Cmzwv3O6lDMV55edBGwGK9n1+x2F8EDfAGCxug8MhpsMEcTEAWf3rx2vZhe/LAmtIn/6apE6PN0ULKgywD9mmdxbmFl3OvD5AS5fW5zLbv/YHmcsBTjf/afDz3MaZTVCfAP9z6/Bw6ycv8EUBWJIn9zYcoAWWlW9+OzO3vkTy8H+RANLmdrpOuYWdZYEXpo+TlCJrW5EARb7fF+bWdqf3hhyZI1nWJQHgznErZhbjoEsWqi8dQNoE294aldzFurwSABL2XXMf9+H1VQGke9exw5P/AnA5Pv5ngMul7LOvO922iwACu8WkCwLCafvM4CeWPxfA8lNHcWZSoi8EwMAIciKX2Z4SWCMAa3snCZ/G4EA8D6CMLNFsGQhkkz/gQNEBbPCbWsxGUpYVu3z8IyNAknwJkfPMEhLyrdi5RTyUVACkw4GSFRNWJNEW+fgPGwHD8/JxnRuLabN4CGNRkAE23na2+VmEAUmrYymSGjMAYqH84YUIyzgzs3XC7gNgH36Vcc4zKY9o9fgPBXUAiHHwVboBHGLiX6Zcjp1f2wu4tvzZKo0ecPnDtQYDQvJXaBeNzce45Fp28ZQLrEZVuFqgBwOalArKXnW1UzlnSusQKJqKYNuz4tOnI6sZG4zanpemv+7ySU2jbA9h6uhcgpfy6G2PahirDZ6zvq6zDduMVFTKvzw8wgyEdelwY9in3XkEPs3osJuwRQ4qTkfzifndg9Gfc4pdsu82+tTnHZTBa2EAMrqr2t43pguc8tNm7JQVQ2S0ukj2d22dhXYP0/veWtwKrCkNoNimAN5+Xr/oLrxswKbVJjteWrX7eR63o4j9q0GxnaBdWgGA5VStpanIjQmEhV0/nVt5VOFUvix6awJhPcAaTEShgrG+iGyvb5a0Ndb1YGHFPEwoqAinoaykaID1o1pdPNu7XsnCKQ3R+hwWIIhGvORcJUBYXe3Xa3vq/mF/N9V13ugufMkfXn+KHsRD0B8AAAAASUVORK5CYII=" type="image/x-icon" />
8
8
 
9
9
  <script>
@@ -31,7 +31,7 @@
31
31
  <body>
32
32
  <div id="app"></div>
33
33
  <script>
34
- window.chartData = [{"label":"bitmark-parser-generator.min.js","isAsset":true,"statSize":1574852,"parsedSize":524483,"gzipSize":102922,"groups":[{"label":"dist/cjs","path":"./dist/cjs","statSize":1559775,"groups":[{"id":1791,"label":"BitmarkParserGenerator.js","path":"./dist/cjs/BitmarkParserGenerator.js","statSize":32240},{"label":"ast","path":"./dist/cjs/ast","statSize":175185,"groups":[{"id":5126,"label":"Ast.js","path":"./dist/cjs/ast/Ast.js","statSize":7709},{"id":4470,"label":"BaseBuilder.js","path":"./dist/cjs/ast/BaseBuilder.js","statSize":8196},{"id":5809,"label":"Builder.js","path":"./dist/cjs/ast/Builder.js","statSize":98279},{"id":5533,"label":"ResourceBuilder.js","path":"./dist/cjs/ast/ResourceBuilder.js","statSize":50975},{"label":"rules","path":"./dist/cjs/ast/rules","statSize":6615,"groups":[{"id":4564,"label":"NodeValidator.js","path":"./dist/cjs/ast/rules/NodeValidator.js","statSize":6615}],"parsedSize":0,"gzipSize":0},{"label":"writer","path":"./dist/cjs/ast/writer","statSize":3411,"groups":[{"id":6772,"label":"StringWriter.js","path":"./dist/cjs/ast/writer/StringWriter.js","statSize":3411}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"breakscaping","path":"./dist/cjs/breakscaping","statSize":14775,"groups":[{"id":7735,"label":"Breakscape.js","path":"./dist/cjs/breakscaping/Breakscape.js","statSize":2737},{"id":6132,"label":"BreakscapeRegex.js","path":"./dist/cjs/breakscaping/BreakscapeRegex.js","statSize":7964},{"id":2086,"label":"RegexConfigs.js","path":"./dist/cjs/breakscaping/RegexConfigs.js","statSize":4074}],"parsedSize":0,"gzipSize":0},{"label":"config","path":"./dist/cjs/config","statSize":257541,"groups":[{"id":2028,"label":"Config.js","path":"./dist/cjs/config/Config.js","statSize":15538},{"id":4445,"label":"ConfigHydrator.js","path":"./dist/cjs/config/ConfigHydrator.js","statSize":7700},{"label":"raw","path":"./dist/cjs/config/raw","statSize":234303,"groups":[{"id":6853,"label":"bits.js","path":"./dist/cjs/config/raw/bits.js","statSize":119607},{"id":5554,"label":"cardSets.js","path":"./dist/cjs/config/raw/cardSets.js","statSize":22160},{"id":5837,"label":"groups.js","path":"./dist/cjs/config/raw/groups.js","statSize":46182},{"id":9916,"label":"properties.js","path":"./dist/cjs/config/raw/properties.js","statSize":40449},{"id":168,"label":"resources.js","path":"./dist/cjs/config/raw/resources.js","statSize":4467},{"id":9248,"label":"tags.js","path":"./dist/cjs/config/raw/tags.js","statSize":1438}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"generated","path":"./dist/cjs/generated","statSize":479358,"groups":[{"id":1464,"label":"build-info.js","path":"./dist/cjs/generated/build-info.js","statSize":438},{"label":"parser","path":"./dist/cjs/generated/parser","statSize":478920,"groups":[{"label":"bitmark","path":"./dist/cjs/generated/parser/bitmark","statSize":95348,"groups":[{"id":5057,"label":"bitmark-peggy-parser.js","path":"./dist/cjs/generated/parser/bitmark/bitmark-peggy-parser.js","statSize":95348}],"parsedSize":0,"gzipSize":0},{"label":"text","path":"./dist/cjs/generated/parser/text","statSize":383572,"groups":[{"id":8321,"label":"text-peggy-parser.js","path":"./dist/cjs/generated/parser/text/text-peggy-parser.js","statSize":383572}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"generator","path":"./dist/cjs/generator","statSize":234459,"groups":[{"id":4,"label":"AstWalkerGenerator.js","path":"./dist/cjs/generator/AstWalkerGenerator.js","statSize":3051},{"label":"bitmark","path":"./dist/cjs/generator/bitmark","statSize":108452,"groups":[{"id":5087,"label":"BitmarkGenerator.js","path":"./dist/cjs/generator/bitmark/BitmarkGenerator.js","statSize":106387},{"id":3968,"label":"BitmarkStringGenerator.js","path":"./dist/cjs/generator/bitmark/BitmarkStringGenerator.js","statSize":2065}],"parsedSize":0,"gzipSize":0},{"label":"json","path":"./dist/cjs/generator/json","statSize":75094,"groups":[{"id":2497,"label":"JsonGenerator.js","path":"./dist/cjs/generator/json/JsonGenerator.js","statSize":71144},{"id":7984,"label":"JsonObjectGenerator.js","path":"./dist/cjs/generator/json/JsonObjectGenerator.js","statSize":2002},{"id":98,"label":"JsonStringGenerator.js","path":"./dist/cjs/generator/json/JsonStringGenerator.js","statSize":1948}],"parsedSize":0,"gzipSize":0},{"label":"text","path":"./dist/cjs/generator/text","statSize":47862,"groups":[{"id":431,"label":"TextGenerator.js","path":"./dist/cjs/generator/text/TextGenerator.js","statSize":47862}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"id":5469,"label":"index.js","path":"./dist/cjs/index.js","statSize":5650,"parsedSize":524351,"gzipSize":102922},{"label":"info","path":"./dist/cjs/info","statSize":1971,"groups":[{"id":3881,"label":"InfoBuilder.js","path":"./dist/cjs/info/InfoBuilder.js","statSize":1971}],"parsedSize":0,"gzipSize":0},{"label":"init","path":"./dist/cjs/init","statSize":480,"groups":[{"id":1412,"label":"init.js","path":"./dist/cjs/init/init.js","statSize":480}],"parsedSize":0,"gzipSize":0},{"label":"model","path":"./dist/cjs/model","statSize":84164,"groups":[{"label":"ast","path":"./dist/cjs/model/ast","statSize":18812,"groups":[{"id":126,"label":"NodeType.js","path":"./dist/cjs/model/ast/NodeType.js","statSize":18812}],"parsedSize":0,"gzipSize":0},{"label":"config","path":"./dist/cjs/model/config","statSize":26539,"groups":[{"id":6634,"label":"AbstractTagConfig.js","path":"./dist/cjs/model/config/AbstractTagConfig.js","statSize":617},{"id":3619,"label":"BitConfig.js","path":"./dist/cjs/model/config/BitConfig.js","statSize":2977},{"id":5814,"label":"CardSetConfig.js","path":"./dist/cjs/model/config/CardSetConfig.js","statSize":781},{"id":9371,"label":"CardVariantConfig.js","path":"./dist/cjs/model/config/CardVariantConfig.js","statSize":1073},{"id":9788,"label":"MarkupTagConfig.js","path":"./dist/cjs/model/config/MarkupTagConfig.js","statSize":1553},{"id":1519,"label":"PropertyTagConfig.js","path":"./dist/cjs/model/config/PropertyTagConfig.js","statSize":2005},{"id":9600,"label":"ResourceTagConfig.js","path":"./dist/cjs/model/config/ResourceTagConfig.js","statSize":1594},{"id":1457,"label":"ResourcesConfig.js","path":"./dist/cjs/model/config/ResourcesConfig.js","statSize":1127},{"label":"enum","path":"./dist/cjs/model/config/enum","statSize":14812,"groups":[{"id":8199,"label":"CardSetConfigKey.js","path":"./dist/cjs/model/config/enum/CardSetConfigKey.js","statSize":1043},{"id":5591,"label":"ConfigKey.js","path":"./dist/cjs/model/config/enum/ConfigKey.js","statSize":1390},{"id":7112,"label":"GroupConfigKey.js","path":"./dist/cjs/model/config/enum/GroupConfigKey.js","statSize":2905},{"id":6915,"label":"GroupConfigType.js","path":"./dist/cjs/model/config/enum/GroupConfigType.js","statSize":493},{"id":9888,"label":"PropertyConfigKey.js","path":"./dist/cjs/model/config/enum/PropertyConfigKey.js","statSize":6880},{"id":5051,"label":"ResourceConfigKey.js","path":"./dist/cjs/model/config/enum/ResourceConfigKey.js","statSize":1355},{"id":7797,"label":"TagConfigKey.js","path":"./dist/cjs/model/config/enum/TagConfigKey.js","statSize":746}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"enum","path":"./dist/cjs/model/enum","statSize":38031,"groups":[{"id":5512,"label":"BitTagType.js","path":"./dist/cjs/model/enum/BitTagType.js","statSize":457},{"id":5854,"label":"BitType.js","path":"./dist/cjs/model/enum/BitType.js","statSize":26560},{"id":8588,"label":"BitmarkParserType.js","path":"./dist/cjs/model/enum/BitmarkParserType.js","statSize":335},{"id":3811,"label":"BitmarkVersion.js","path":"./dist/cjs/model/enum/BitmarkVersion.js","statSize":466},{"id":4410,"label":"BodyBitType.js","path":"./dist/cjs/model/enum/BodyBitType.js","statSize":426},{"id":8453,"label":"BodyTextFormat.js","path":"./dist/cjs/model/enum/BodyTextFormat.js","statSize":476},{"id":1163,"label":"CardSetVersion.js","path":"./dist/cjs/model/enum/CardSetVersion.js","statSize":322},{"id":3778,"label":"Count.js","path":"./dist/cjs/model/enum/Count.js","statSize":281},{"id":6220,"label":"DeprecatedTextFormat.js","path":"./dist/cjs/model/enum/DeprecatedTextFormat.js","statSize":403},{"id":363,"label":"ExampleType.js","path":"./dist/cjs/model/enum/ExampleType.js","statSize":434},{"id":7203,"label":"PropertyAstKey.js","path":"./dist/cjs/model/enum/PropertyAstKey.js","statSize":615},{"id":9727,"label":"PropertyFormat.js","path":"./dist/cjs/model/enum/PropertyFormat.js","statSize":822},{"id":166,"label":"PropertyTag.js","path":"./dist/cjs/model/enum/PropertyTag.js","statSize":535},{"id":9984,"label":"ResourceJsonKey.js","path":"./dist/cjs/model/enum/ResourceJsonKey.js","statSize":959},{"id":6149,"label":"ResourceTag.js","path":"./dist/cjs/model/enum/ResourceTag.js","statSize":1230},{"id":9917,"label":"Tag.js","path":"./dist/cjs/model/enum/Tag.js","statSize":533},{"id":385,"label":"TextFormat.js","path":"./dist/cjs/model/enum/TextFormat.js","statSize":582},{"id":6877,"label":"TextLocation.js","path":"./dist/cjs/model/enum/TextLocation.js","statSize":425},{"id":2483,"label":"TextMarkType.js","path":"./dist/cjs/model/enum/TextMarkType.js","statSize":1164},{"id":9554,"label":"TextNodeType.js","path":"./dist/cjs/model/enum/TextNodeType.js","statSize":1006}],"parsedSize":0,"gzipSize":0},{"label":"info/enum","path":"./dist/cjs/model/info/enum","statSize":782,"groups":[{"id":3069,"label":"InfoFormat.js","path":"./dist/cjs/model/info/enum/InfoFormat.js","statSize":334},{"id":486,"label":"InfoType.js","path":"./dist/cjs/model/info/enum/InfoType.js","statSize":448}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"parser","path":"./dist/cjs/parser","statSize":235855,"groups":[{"label":"bitmark","path":"./dist/cjs/parser/bitmark","statSize":219644,"groups":[{"id":5633,"label":"BitmarkParser.js","path":"./dist/cjs/parser/bitmark/BitmarkParser.js","statSize":795},{"label":"peg","path":"./dist/cjs/parser/bitmark/peg","statSize":218849,"groups":[{"id":5078,"label":"BitmarkPegParser.js","path":"./dist/cjs/parser/bitmark/peg/BitmarkPegParser.js","statSize":319},{"id":3206,"label":"BitmarkPegParserHelper.js","path":"./dist/cjs/parser/bitmark/peg/BitmarkPegParserHelper.js","statSize":21766},{"id":7124,"label":"BitmarkPegParserProcessor.js","path":"./dist/cjs/parser/bitmark/peg/BitmarkPegParserProcessor.js","statSize":34659},{"id":3029,"label":"BitmarkPegParserTypes.js","path":"./dist/cjs/parser/bitmark/peg/BitmarkPegParserTypes.js","statSize":2433},{"id":4266,"label":"BitmarkPegParserValidator.js","path":"./dist/cjs/parser/bitmark/peg/BitmarkPegParserValidator.js","statSize":32596},{"id":7461,"label":"PeggyGrammarLocation.js","path":"./dist/cjs/parser/bitmark/peg/PeggyGrammarLocation.js","statSize":2879},{"label":"contentProcessors","path":"./dist/cjs/parser/bitmark/peg/contentProcessors","statSize":124197,"groups":[{"id":5033,"label":"BodyContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/BodyContentProcessor.js","statSize":11920},{"id":3045,"label":"BookChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.js","statSize":2422},{"id":1083,"label":"CardContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/CardContentProcessor.js","statSize":40449},{"id":554,"label":"ClozeTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.js","statSize":1391},{"id":6128,"label":"ContentProcessorUtils.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ContentProcessorUtils.js","statSize":2643},{"id":4402,"label":"DefaultTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.js","statSize":3167},{"id":4091,"label":"ExampleTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.js","statSize":6997},{"id":4382,"label":"FooterContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/FooterContentProcessor.js","statSize":2872},{"id":3904,"label":"GapChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.js","statSize":1689},{"id":8848,"label":"ImageSourceChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ImageSourceChainContentProcessor.js","statSize":3244},{"id":6991,"label":"InternalCommentTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/InternalCommentTagContentProcessor.js","statSize":672},{"id":9289,"label":"ItemLeadChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ItemLeadChainContentProcessor.js","statSize":1652},{"id":8216,"label":"ItemLeadTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.js","statSize":918},{"id":5189,"label":"MarkChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.js","statSize":2560},{"id":3063,"label":"MarkConfigChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.js","statSize":2431},{"id":5980,"label":"MarkTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/MarkTagContentProcessor.js","statSize":494},{"id":21,"label":"PersonChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/PersonChainContentProcessor.js","statSize":2569},{"id":9647,"label":"PropertyContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js","statSize":9481},{"id":3967,"label":"RatingLevelChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/RatingLevelChainContentProcessor.js","statSize":1736},{"id":3990,"label":"ReferenceTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.js","statSize":1168},{"id":6521,"label":"ResourceContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js","statSize":8139},{"id":4953,"label":"ServingsChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ServingsChainContentProcessor.js","statSize":1296},{"id":4475,"label":"TechnicalTermChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/TechnicalTermChainContentProcessor.js","statSize":1427},{"id":7667,"label":"TitleTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js","statSize":2648},{"id":9885,"label":"TrueFalseChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js","statSize":9079},{"id":4020,"label":"TrueFalseTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.js","statSize":1133}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"json","path":"./dist/cjs/parser/json","statSize":11001,"groups":[{"id":5663,"label":"JsonParser.js","path":"./dist/cjs/parser/json/JsonParser.js","statSize":11001}],"parsedSize":0,"gzipSize":0},{"label":"text","path":"./dist/cjs/parser/text","statSize":5210,"groups":[{"id":777,"label":"TextParser.js","path":"./dist/cjs/parser/text/TextParser.js","statSize":4906},{"label":"peg","path":"./dist/cjs/parser/text/peg","statSize":304,"groups":[{"id":2220,"label":"TextPegParser.js","path":"./dist/cjs/parser/text/peg/TextPegParser.js","statSize":304}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"utils","path":"./dist/cjs/utils","statSize":38097,"groups":[{"id":6989,"label":"ArrayUtils.js","path":"./dist/cjs/utils/ArrayUtils.js","statSize":1474},{"id":8903,"label":"BitUtils.js","path":"./dist/cjs/utils/BitUtils.js","statSize":2677},{"id":4078,"label":"BooleanUtils.js","path":"./dist/cjs/utils/BooleanUtils.js","statSize":1839},{"id":8025,"label":"NumberUtils.js","path":"./dist/cjs/utils/NumberUtils.js","statSize":1890},{"id":955,"label":"ObjectUtils.js","path":"./dist/cjs/utils/ObjectUtils.js","statSize":14455},{"id":9681,"label":"StringUtils.js","path":"./dist/cjs/utils/StringUtils.js","statSize":6529},{"id":201,"label":"UrlUtils.js","path":"./dist/cjs/utils/UrlUtils.js","statSize":986},{"label":"env","path":"./dist/cjs/utils/env","statSize":8247,"groups":[{"id":6936,"label":"Env.js","path":"./dist/cjs/utils/env/Env.js","statSize":4069},{"id":6278,"label":"Environment.js","path":"./dist/cjs/utils/env/Environment.js","statSize":420},{"id":9561,"label":"Os.js","path":"./dist/cjs/utils/env/Os.js","statSize":361},{"id":2287,"label":"Version.js","path":"./dist/cjs/utils/env/Version.js","statSize":284},{"id":5659,"label":"userAgent.js","path":"./dist/cjs/utils/env/userAgent.js","statSize":3113}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"parsedSize":524351,"gzipSize":102922},{"label":"node_modules","path":"./node_modules","statSize":15077,"groups":[{"label":"@ncoderz/superenum/dist/esm","path":"./node_modules/@ncoderz/superenum/dist/esm","statSize":6980,"groups":[{"id":4718,"label":"superenum.js","path":"./node_modules/@ncoderz/superenum/dist/esm/superenum.js","statSize":6980}],"parsedSize":0,"gzipSize":0},{"label":"@ungap/structured-clone/cjs","path":"./node_modules/@ungap/structured-clone/cjs","statSize":8097,"groups":[{"id":5005,"label":"deserialize.js","path":"./node_modules/@ungap/structured-clone/cjs/deserialize.js","statSize":2210},{"id":7678,"label":"index.js","path":"./node_modules/@ungap/structured-clone/cjs/index.js","statSize":941},{"id":5416,"label":"serialize.js","path":"./node_modules/@ungap/structured-clone/cjs/serialize.js","statSize":4451},{"id":1731,"label":"types.js","path":"./node_modules/@ungap/structured-clone/cjs/types.js","statSize":495}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"isInitialByEntrypoint":{"main":true}}];
34
+ window.chartData = [{"label":"bitmark-parser-generator.min.js","isAsset":true,"statSize":1594464,"parsedSize":526513,"gzipSize":103417,"groups":[{"label":"dist/cjs","path":"./dist/cjs","statSize":1579387,"groups":[{"id":1791,"label":"BitmarkParserGenerator.js","path":"./dist/cjs/BitmarkParserGenerator.js","statSize":32240},{"label":"ast","path":"./dist/cjs/ast","statSize":173889,"groups":[{"id":5126,"label":"Ast.js","path":"./dist/cjs/ast/Ast.js","statSize":7709},{"id":4470,"label":"BaseBuilder.js","path":"./dist/cjs/ast/BaseBuilder.js","statSize":8196},{"id":5809,"label":"Builder.js","path":"./dist/cjs/ast/Builder.js","statSize":97036},{"id":5533,"label":"ResourceBuilder.js","path":"./dist/cjs/ast/ResourceBuilder.js","statSize":50922},{"label":"rules","path":"./dist/cjs/ast/rules","statSize":6615,"groups":[{"id":4564,"label":"NodeValidator.js","path":"./dist/cjs/ast/rules/NodeValidator.js","statSize":6615}],"parsedSize":0,"gzipSize":0},{"label":"writer","path":"./dist/cjs/ast/writer","statSize":3411,"groups":[{"id":6772,"label":"StringWriter.js","path":"./dist/cjs/ast/writer/StringWriter.js","statSize":3411}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"breakscaping","path":"./dist/cjs/breakscaping","statSize":14775,"groups":[{"id":7735,"label":"Breakscape.js","path":"./dist/cjs/breakscaping/Breakscape.js","statSize":2737},{"id":6132,"label":"BreakscapeRegex.js","path":"./dist/cjs/breakscaping/BreakscapeRegex.js","statSize":7964},{"id":2086,"label":"RegexConfigs.js","path":"./dist/cjs/breakscaping/RegexConfigs.js","statSize":4074}],"parsedSize":0,"gzipSize":0},{"label":"config","path":"./dist/cjs/config","statSize":257541,"groups":[{"id":2028,"label":"Config.js","path":"./dist/cjs/config/Config.js","statSize":15538},{"id":4445,"label":"ConfigHydrator.js","path":"./dist/cjs/config/ConfigHydrator.js","statSize":7700},{"label":"raw","path":"./dist/cjs/config/raw","statSize":234303,"groups":[{"id":6853,"label":"bits.js","path":"./dist/cjs/config/raw/bits.js","statSize":119607},{"id":5554,"label":"cardSets.js","path":"./dist/cjs/config/raw/cardSets.js","statSize":22160},{"id":5837,"label":"groups.js","path":"./dist/cjs/config/raw/groups.js","statSize":46182},{"id":9916,"label":"properties.js","path":"./dist/cjs/config/raw/properties.js","statSize":40449},{"id":168,"label":"resources.js","path":"./dist/cjs/config/raw/resources.js","statSize":4467},{"id":9248,"label":"tags.js","path":"./dist/cjs/config/raw/tags.js","statSize":1438}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"generated","path":"./dist/cjs/generated","statSize":499112,"groups":[{"id":1464,"label":"build-info.js","path":"./dist/cjs/generated/build-info.js","statSize":438},{"label":"parser","path":"./dist/cjs/generated/parser","statSize":498674,"groups":[{"label":"bitmark","path":"./dist/cjs/generated/parser/bitmark","statSize":95348,"groups":[{"id":5057,"label":"bitmark-peggy-parser.js","path":"./dist/cjs/generated/parser/bitmark/bitmark-peggy-parser.js","statSize":95348}],"parsedSize":0,"gzipSize":0},{"label":"text","path":"./dist/cjs/generated/parser/text","statSize":403326,"groups":[{"id":8321,"label":"text-peggy-parser.js","path":"./dist/cjs/generated/parser/text/text-peggy-parser.js","statSize":403326}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"generator","path":"./dist/cjs/generator","statSize":235177,"groups":[{"id":4,"label":"AstWalkerGenerator.js","path":"./dist/cjs/generator/AstWalkerGenerator.js","statSize":3051},{"label":"bitmark","path":"./dist/cjs/generator/bitmark","statSize":108452,"groups":[{"id":5087,"label":"BitmarkGenerator.js","path":"./dist/cjs/generator/bitmark/BitmarkGenerator.js","statSize":106387},{"id":3968,"label":"BitmarkStringGenerator.js","path":"./dist/cjs/generator/bitmark/BitmarkStringGenerator.js","statSize":2065}],"parsedSize":0,"gzipSize":0},{"label":"json","path":"./dist/cjs/generator/json","statSize":75094,"groups":[{"id":2497,"label":"JsonGenerator.js","path":"./dist/cjs/generator/json/JsonGenerator.js","statSize":71144},{"id":7984,"label":"JsonObjectGenerator.js","path":"./dist/cjs/generator/json/JsonObjectGenerator.js","statSize":2002},{"id":98,"label":"JsonStringGenerator.js","path":"./dist/cjs/generator/json/JsonStringGenerator.js","statSize":1948}],"parsedSize":0,"gzipSize":0},{"label":"text","path":"./dist/cjs/generator/text","statSize":48580,"groups":[{"id":431,"label":"TextGenerator.js","path":"./dist/cjs/generator/text/TextGenerator.js","statSize":48580}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"id":5469,"label":"index.js","path":"./dist/cjs/index.js","statSize":5650,"parsedSize":526381,"gzipSize":103417},{"label":"info","path":"./dist/cjs/info","statSize":1971,"groups":[{"id":3881,"label":"InfoBuilder.js","path":"./dist/cjs/info/InfoBuilder.js","statSize":1971}],"parsedSize":0,"gzipSize":0},{"label":"init","path":"./dist/cjs/init","statSize":480,"groups":[{"id":1412,"label":"init.js","path":"./dist/cjs/init/init.js","statSize":480}],"parsedSize":0,"gzipSize":0},{"label":"model","path":"./dist/cjs/model","statSize":84600,"groups":[{"label":"ast","path":"./dist/cjs/model/ast","statSize":18812,"groups":[{"id":126,"label":"NodeType.js","path":"./dist/cjs/model/ast/NodeType.js","statSize":18812}],"parsedSize":0,"gzipSize":0},{"label":"config","path":"./dist/cjs/model/config","statSize":26539,"groups":[{"id":6634,"label":"AbstractTagConfig.js","path":"./dist/cjs/model/config/AbstractTagConfig.js","statSize":617},{"id":3619,"label":"BitConfig.js","path":"./dist/cjs/model/config/BitConfig.js","statSize":2977},{"id":5814,"label":"CardSetConfig.js","path":"./dist/cjs/model/config/CardSetConfig.js","statSize":781},{"id":9371,"label":"CardVariantConfig.js","path":"./dist/cjs/model/config/CardVariantConfig.js","statSize":1073},{"id":9788,"label":"MarkupTagConfig.js","path":"./dist/cjs/model/config/MarkupTagConfig.js","statSize":1553},{"id":1519,"label":"PropertyTagConfig.js","path":"./dist/cjs/model/config/PropertyTagConfig.js","statSize":2005},{"id":9600,"label":"ResourceTagConfig.js","path":"./dist/cjs/model/config/ResourceTagConfig.js","statSize":1594},{"id":1457,"label":"ResourcesConfig.js","path":"./dist/cjs/model/config/ResourcesConfig.js","statSize":1127},{"label":"enum","path":"./dist/cjs/model/config/enum","statSize":14812,"groups":[{"id":8199,"label":"CardSetConfigKey.js","path":"./dist/cjs/model/config/enum/CardSetConfigKey.js","statSize":1043},{"id":5591,"label":"ConfigKey.js","path":"./dist/cjs/model/config/enum/ConfigKey.js","statSize":1390},{"id":7112,"label":"GroupConfigKey.js","path":"./dist/cjs/model/config/enum/GroupConfigKey.js","statSize":2905},{"id":6915,"label":"GroupConfigType.js","path":"./dist/cjs/model/config/enum/GroupConfigType.js","statSize":493},{"id":9888,"label":"PropertyConfigKey.js","path":"./dist/cjs/model/config/enum/PropertyConfigKey.js","statSize":6880},{"id":5051,"label":"ResourceConfigKey.js","path":"./dist/cjs/model/config/enum/ResourceConfigKey.js","statSize":1355},{"id":7797,"label":"TagConfigKey.js","path":"./dist/cjs/model/config/enum/TagConfigKey.js","statSize":746}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"enum","path":"./dist/cjs/model/enum","statSize":38467,"groups":[{"id":5512,"label":"BitTagType.js","path":"./dist/cjs/model/enum/BitTagType.js","statSize":457},{"id":5854,"label":"BitType.js","path":"./dist/cjs/model/enum/BitType.js","statSize":26560},{"id":8588,"label":"BitmarkParserType.js","path":"./dist/cjs/model/enum/BitmarkParserType.js","statSize":335},{"id":3811,"label":"BitmarkVersion.js","path":"./dist/cjs/model/enum/BitmarkVersion.js","statSize":466},{"id":4410,"label":"BodyBitType.js","path":"./dist/cjs/model/enum/BodyBitType.js","statSize":426},{"id":8453,"label":"BodyTextFormat.js","path":"./dist/cjs/model/enum/BodyTextFormat.js","statSize":476},{"id":1163,"label":"CardSetVersion.js","path":"./dist/cjs/model/enum/CardSetVersion.js","statSize":322},{"id":3778,"label":"Count.js","path":"./dist/cjs/model/enum/Count.js","statSize":281},{"id":6220,"label":"DeprecatedTextFormat.js","path":"./dist/cjs/model/enum/DeprecatedTextFormat.js","statSize":403},{"id":363,"label":"ExampleType.js","path":"./dist/cjs/model/enum/ExampleType.js","statSize":434},{"id":7203,"label":"PropertyAstKey.js","path":"./dist/cjs/model/enum/PropertyAstKey.js","statSize":615},{"id":9727,"label":"PropertyFormat.js","path":"./dist/cjs/model/enum/PropertyFormat.js","statSize":822},{"id":166,"label":"PropertyTag.js","path":"./dist/cjs/model/enum/PropertyTag.js","statSize":535},{"id":9984,"label":"ResourceJsonKey.js","path":"./dist/cjs/model/enum/ResourceJsonKey.js","statSize":959},{"id":6149,"label":"ResourceTag.js","path":"./dist/cjs/model/enum/ResourceTag.js","statSize":1230},{"id":9917,"label":"Tag.js","path":"./dist/cjs/model/enum/Tag.js","statSize":533},{"id":385,"label":"TextFormat.js","path":"./dist/cjs/model/enum/TextFormat.js","statSize":582},{"id":6877,"label":"TextLocation.js","path":"./dist/cjs/model/enum/TextLocation.js","statSize":425},{"id":2483,"label":"TextMarkType.js","path":"./dist/cjs/model/enum/TextMarkType.js","statSize":1600},{"id":9554,"label":"TextNodeType.js","path":"./dist/cjs/model/enum/TextNodeType.js","statSize":1006}],"parsedSize":0,"gzipSize":0},{"label":"info/enum","path":"./dist/cjs/model/info/enum","statSize":782,"groups":[{"id":3069,"label":"InfoFormat.js","path":"./dist/cjs/model/info/enum/InfoFormat.js","statSize":334},{"id":486,"label":"InfoType.js","path":"./dist/cjs/model/info/enum/InfoType.js","statSize":448}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"parser","path":"./dist/cjs/parser","statSize":235855,"groups":[{"label":"bitmark","path":"./dist/cjs/parser/bitmark","statSize":219644,"groups":[{"id":5633,"label":"BitmarkParser.js","path":"./dist/cjs/parser/bitmark/BitmarkParser.js","statSize":795},{"label":"peg","path":"./dist/cjs/parser/bitmark/peg","statSize":218849,"groups":[{"id":5078,"label":"BitmarkPegParser.js","path":"./dist/cjs/parser/bitmark/peg/BitmarkPegParser.js","statSize":319},{"id":3206,"label":"BitmarkPegParserHelper.js","path":"./dist/cjs/parser/bitmark/peg/BitmarkPegParserHelper.js","statSize":21766},{"id":7124,"label":"BitmarkPegParserProcessor.js","path":"./dist/cjs/parser/bitmark/peg/BitmarkPegParserProcessor.js","statSize":34659},{"id":3029,"label":"BitmarkPegParserTypes.js","path":"./dist/cjs/parser/bitmark/peg/BitmarkPegParserTypes.js","statSize":2433},{"id":4266,"label":"BitmarkPegParserValidator.js","path":"./dist/cjs/parser/bitmark/peg/BitmarkPegParserValidator.js","statSize":32596},{"id":7461,"label":"PeggyGrammarLocation.js","path":"./dist/cjs/parser/bitmark/peg/PeggyGrammarLocation.js","statSize":2879},{"label":"contentProcessors","path":"./dist/cjs/parser/bitmark/peg/contentProcessors","statSize":124197,"groups":[{"id":5033,"label":"BodyContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/BodyContentProcessor.js","statSize":11920},{"id":3045,"label":"BookChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.js","statSize":2422},{"id":1083,"label":"CardContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/CardContentProcessor.js","statSize":40449},{"id":554,"label":"ClozeTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.js","statSize":1391},{"id":6128,"label":"ContentProcessorUtils.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ContentProcessorUtils.js","statSize":2643},{"id":4402,"label":"DefaultTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.js","statSize":3167},{"id":4091,"label":"ExampleTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.js","statSize":6997},{"id":4382,"label":"FooterContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/FooterContentProcessor.js","statSize":2872},{"id":3904,"label":"GapChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.js","statSize":1689},{"id":8848,"label":"ImageSourceChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ImageSourceChainContentProcessor.js","statSize":3244},{"id":6991,"label":"InternalCommentTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/InternalCommentTagContentProcessor.js","statSize":672},{"id":9289,"label":"ItemLeadChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ItemLeadChainContentProcessor.js","statSize":1652},{"id":8216,"label":"ItemLeadTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.js","statSize":918},{"id":5189,"label":"MarkChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.js","statSize":2560},{"id":3063,"label":"MarkConfigChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.js","statSize":2431},{"id":5980,"label":"MarkTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/MarkTagContentProcessor.js","statSize":494},{"id":21,"label":"PersonChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/PersonChainContentProcessor.js","statSize":2569},{"id":9647,"label":"PropertyContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js","statSize":9481},{"id":3967,"label":"RatingLevelChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/RatingLevelChainContentProcessor.js","statSize":1736},{"id":3990,"label":"ReferenceTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.js","statSize":1168},{"id":6521,"label":"ResourceContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js","statSize":8139},{"id":4953,"label":"ServingsChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/ServingsChainContentProcessor.js","statSize":1296},{"id":4475,"label":"TechnicalTermChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/TechnicalTermChainContentProcessor.js","statSize":1427},{"id":7667,"label":"TitleTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js","statSize":2648},{"id":9885,"label":"TrueFalseChainContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js","statSize":9079},{"id":4020,"label":"TrueFalseTagContentProcessor.js","path":"./dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.js","statSize":1133}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"json","path":"./dist/cjs/parser/json","statSize":11001,"groups":[{"id":5663,"label":"JsonParser.js","path":"./dist/cjs/parser/json/JsonParser.js","statSize":11001}],"parsedSize":0,"gzipSize":0},{"label":"text","path":"./dist/cjs/parser/text","statSize":5210,"groups":[{"id":777,"label":"TextParser.js","path":"./dist/cjs/parser/text/TextParser.js","statSize":4906},{"label":"peg","path":"./dist/cjs/parser/text/peg","statSize":304,"groups":[{"id":2220,"label":"TextPegParser.js","path":"./dist/cjs/parser/text/peg/TextPegParser.js","statSize":304}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"utils","path":"./dist/cjs/utils","statSize":38097,"groups":[{"id":6989,"label":"ArrayUtils.js","path":"./dist/cjs/utils/ArrayUtils.js","statSize":1474},{"id":8903,"label":"BitUtils.js","path":"./dist/cjs/utils/BitUtils.js","statSize":2677},{"id":4078,"label":"BooleanUtils.js","path":"./dist/cjs/utils/BooleanUtils.js","statSize":1839},{"id":8025,"label":"NumberUtils.js","path":"./dist/cjs/utils/NumberUtils.js","statSize":1890},{"id":955,"label":"ObjectUtils.js","path":"./dist/cjs/utils/ObjectUtils.js","statSize":14455},{"id":9681,"label":"StringUtils.js","path":"./dist/cjs/utils/StringUtils.js","statSize":6529},{"id":201,"label":"UrlUtils.js","path":"./dist/cjs/utils/UrlUtils.js","statSize":986},{"label":"env","path":"./dist/cjs/utils/env","statSize":8247,"groups":[{"id":6936,"label":"Env.js","path":"./dist/cjs/utils/env/Env.js","statSize":4069},{"id":6278,"label":"Environment.js","path":"./dist/cjs/utils/env/Environment.js","statSize":420},{"id":9561,"label":"Os.js","path":"./dist/cjs/utils/env/Os.js","statSize":361},{"id":2287,"label":"Version.js","path":"./dist/cjs/utils/env/Version.js","statSize":284},{"id":5659,"label":"userAgent.js","path":"./dist/cjs/utils/env/userAgent.js","statSize":3113}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"parsedSize":526381,"gzipSize":103417},{"label":"node_modules","path":"./node_modules","statSize":15077,"groups":[{"label":"@ncoderz/superenum/dist/esm","path":"./node_modules/@ncoderz/superenum/dist/esm","statSize":6980,"groups":[{"id":4718,"label":"superenum.js","path":"./node_modules/@ncoderz/superenum/dist/esm/superenum.js","statSize":6980}],"parsedSize":0,"gzipSize":0},{"label":"@ungap/structured-clone/cjs","path":"./node_modules/@ungap/structured-clone/cjs","statSize":8097,"groups":[{"id":5005,"label":"deserialize.js","path":"./node_modules/@ungap/structured-clone/cjs/deserialize.js","statSize":2210},{"id":7678,"label":"index.js","path":"./node_modules/@ungap/structured-clone/cjs/index.js","statSize":941},{"id":5416,"label":"serialize.js","path":"./node_modules/@ungap/structured-clone/cjs/serialize.js","statSize":4451},{"id":1731,"label":"types.js","path":"./node_modules/@ungap/structured-clone/cjs/types.js","statSize":495}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}],"isInitialByEntrypoint":{"main":true}}];
35
35
  window.entrypoints = ["main"];
36
36
  window.defaultSizes = "stat";
37
37
  </script>
@@ -55,7 +55,7 @@ class Builder extends BaseBuilder_1.BaseBuilder {
55
55
  * @returns
56
56
  */
57
57
  buildBit(data) {
58
- var _a, _b, _c, _d, _e, _f, _g;
58
+ var _a, _b, _c, _d, _e, _f;
59
59
  const bitConfig = Config_1.Config.getBitConfig(data.bitType);
60
60
  const bitType = data.bitType;
61
61
  // Text Format (accepts deprecated values, and converts them to the new format)
@@ -103,10 +103,10 @@ class Builder extends BaseBuilder_1.BaseBuilder {
103
103
  this.pushDownTree(context, undefined, undefined, cardNode, ['feedbacks', 'reason'], PropertyConfigKey_1.PropertyConfigKey.reasonableNumOfChars, data.reasonableNumOfChars);
104
104
  }
105
105
  // Push isCaseSensitive down the tree for the cloze, match and match-matrix bits
106
- this.pushDownTree(context, [node.body, ...((_d = (_c = cardNode === null || cardNode === void 0 ? void 0 : cardNode.cardBits) === null || _c === void 0 ? void 0 : _c.map((cardBit) => cardBit.body)) !== null && _d !== void 0 ? _d : [])], [BodyBitType_1.BodyBitType.gap], undefined, undefined, //'isCaseSensitive',
107
- PropertyConfigKey_1.PropertyConfigKey.isCaseSensitive, (_e = data.isCaseSensitive) !== null && _e !== void 0 ? _e : true);
108
- this.pushDownTree(context, undefined, undefined, cardNode, 'pairs', PropertyConfigKey_1.PropertyConfigKey.isCaseSensitive, (_f = data.isCaseSensitive) !== null && _f !== void 0 ? _f : true);
109
- this.pushDownTree(context, undefined, undefined, cardNode, ['matrix', 'cells'], PropertyConfigKey_1.PropertyConfigKey.isCaseSensitive, (_g = data.isCaseSensitive) !== null && _g !== void 0 ? _g : true);
106
+ this.pushDownTree(context, [node.body, ...(((_c = cardNode === null || cardNode === void 0 ? void 0 : cardNode.cardBits) === null || _c === void 0 ? void 0 : _c.map((cardBit) => cardBit.body)) || [])], [BodyBitType_1.BodyBitType.gap], undefined, undefined, //'isCaseSensitive',
107
+ PropertyConfigKey_1.PropertyConfigKey.isCaseSensitive, (_d = data.isCaseSensitive) !== null && _d !== void 0 ? _d : true);
108
+ this.pushDownTree(context, undefined, undefined, cardNode, 'pairs', PropertyConfigKey_1.PropertyConfigKey.isCaseSensitive, (_e = data.isCaseSensitive) !== null && _e !== void 0 ? _e : true);
109
+ this.pushDownTree(context, undefined, undefined, cardNode, ['matrix', 'cells'], PropertyConfigKey_1.PropertyConfigKey.isCaseSensitive, (_f = data.isCaseSensitive) !== null && _f !== void 0 ? _f : true);
110
110
  // If __isDefaultExample is set at the bit level, push the default example down the tree to the relevant nodes
111
111
  this.pushExampleDownTree(context, node.body, cardNode, node.__isDefaultExample, convertedExample.example);
112
112
  // Set default values
@@ -471,7 +471,7 @@ class Builder extends BaseBuilder_1.BaseBuilder {
471
471
  * @returns
472
472
  */
473
473
  buildPair(context, data) {
474
- var _a, _b;
474
+ var _a;
475
475
  if (!data)
476
476
  return undefined;
477
477
  // Set default example
@@ -481,7 +481,7 @@ class Builder extends BaseBuilder_1.BaseBuilder {
481
481
  const keyImage = this.resourceBuilder.resourceFromResourceJson(context, data.keyImage);
482
482
  // NOTE: Node order is important and is defined here
483
483
  const node = Object.assign(Object.assign({ key: (_a = data.key) !== null && _a !== void 0 ? _a : '', keyAudio,
484
- keyImage, item: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.item), lead: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.lead), hint: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.hint), instruction: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.instruction), isCaseSensitive: data.isCaseSensitive }, this.toExample(data.__isDefaultExample, data.example, defaultExample)), { values: (_b = data.values) !== null && _b !== void 0 ? _b : [], __valuesAst: data.__valuesAst });
484
+ keyImage, item: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.item), lead: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.lead), hint: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.hint), instruction: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.instruction), isCaseSensitive: data.isCaseSensitive }, this.toExample(data.__isDefaultExample, data.example, defaultExample)), { values: data.values || [], __valuesAst: data.__valuesAst });
485
485
  // Remove Unset Optionals
486
486
  ObjectUtils_1.ObjectUtils.removeUnwantedProperties(node, {
487
487
  ignoreAllFalse: true,
@@ -521,7 +521,7 @@ class Builder extends BaseBuilder_1.BaseBuilder {
521
521
  * @returns
522
522
  */
523
523
  buildMatrix(context, data) {
524
- var _a, _b, _c;
524
+ var _a;
525
525
  if (!data)
526
526
  return undefined;
527
527
  // const convertedExample = {
@@ -532,7 +532,7 @@ class Builder extends BaseBuilder_1.BaseBuilder {
532
532
  // this.pushExampleDownTreeBoolean(__isDefaultExample, convertedExample.example, false, responses);
533
533
  let isExample = false;
534
534
  // Set isExample for matrix based on isExample for cells
535
- for (const c of (_a = data.cells) !== null && _a !== void 0 ? _a : []) {
535
+ for (const c of data.cells || []) {
536
536
  if (data.__isDefaultExample && !c.isExample) {
537
537
  c.isExample = true;
538
538
  }
@@ -540,13 +540,13 @@ class Builder extends BaseBuilder_1.BaseBuilder {
540
540
  }
541
541
  // NOTE: Node order is important and is defined here
542
542
  const node = {
543
- key: (_b = data.key) !== null && _b !== void 0 ? _b : '',
543
+ key: (_a = data.key) !== null && _a !== void 0 ? _a : '',
544
544
  item: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.item),
545
545
  lead: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.lead),
546
546
  hint: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.hint),
547
547
  instruction: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.instruction),
548
548
  isExample,
549
- cells: ((_c = data.cells) !== null && _c !== void 0 ? _c : []).map((c) => this.buildMatrixCell(context, c)).filter((c) => c != null),
549
+ cells: (data.cells || []).map((c) => this.buildMatrixCell(context, c)).filter((c) => c != null),
550
550
  };
551
551
  // Remove Unset Optionals
552
552
  ObjectUtils_1.ObjectUtils.removeUnwantedProperties(node, {
@@ -563,13 +563,12 @@ class Builder extends BaseBuilder_1.BaseBuilder {
563
563
  * @returns
564
564
  */
565
565
  buildMatrixCell(context, data) {
566
- var _a;
567
566
  if (!data)
568
567
  return undefined;
569
568
  // Set default example
570
569
  const defaultExample = Array.isArray(data.__valuesAst) && data.__valuesAst.length > 0 ? data.__valuesAst[0] : null;
571
570
  // NOTE: Node order is important and is defined here
572
- const node = Object.assign(Object.assign({ values: (_a = data.values) !== null && _a !== void 0 ? _a : [], item: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.item), lead: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.lead), hint: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.hint), instruction: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.instruction), isCaseSensitive: data.isCaseSensitive }, this.toExample(data.__isDefaultExample, data.example, defaultExample)), { __valuesAst: data.__valuesAst });
571
+ const node = Object.assign(Object.assign({ values: data.values || [], item: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.item), lead: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.lead), hint: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.hint), instruction: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.instruction), isCaseSensitive: data.isCaseSensitive }, this.toExample(data.__isDefaultExample, data.example, defaultExample)), { __valuesAst: data.__valuesAst });
573
572
  // Remove Unset Optionals
574
573
  ObjectUtils_1.ObjectUtils.removeUnwantedProperties(node, {
575
574
  ignoreAllFalse: true,
@@ -585,12 +584,11 @@ class Builder extends BaseBuilder_1.BaseBuilder {
585
584
  * @returns
586
585
  */
587
586
  buildPronunciationTable(context, dataIn) {
588
- var _a;
589
587
  if (!dataIn)
590
588
  return undefined;
591
589
  // NOTE: Node order is important and is defined here
592
590
  const node = {
593
- data: ((_a = dataIn.data) !== null && _a !== void 0 ? _a : []).map((row) => (row !== null && row !== void 0 ? row : []).map((cell) => {
591
+ data: (dataIn.data || []).map((row) => (row || []).map((cell) => {
594
592
  // Process the audio resource
595
593
  const audio = this.resourceBuilder.resourceFromResourceJson(context, cell.audio);
596
594
  return {
@@ -613,13 +611,12 @@ class Builder extends BaseBuilder_1.BaseBuilder {
613
611
  * @returns
614
612
  */
615
613
  buildTable(context, dataIn) {
616
- var _a, _b;
617
614
  if (!dataIn)
618
615
  return undefined;
619
616
  // NOTE: Node order is important and is defined here
620
617
  const node = {
621
- columns: ((_a = dataIn.columns) !== null && _a !== void 0 ? _a : []).map((col) => this.handleJsonText(context, TextLocation_1.TextLocation.tag, col)),
622
- data: ((_b = dataIn.data) !== null && _b !== void 0 ? _b : []).map((row) => (row !== null && row !== void 0 ? row : []).map((cell) => this.handleJsonText(context, TextLocation_1.TextLocation.tag, cell))),
618
+ columns: (dataIn.columns || []).map((col) => this.handleJsonText(context, TextLocation_1.TextLocation.tag, col)),
619
+ data: (dataIn.data || []).map((row) => (row || []).map((cell) => this.handleJsonText(context, TextLocation_1.TextLocation.tag, cell))),
623
620
  };
624
621
  // Remove Unset Optionals
625
622
  // ObjectUtils.removeUnwantedProperties(node, {
@@ -891,7 +888,6 @@ class Builder extends BaseBuilder_1.BaseBuilder {
891
888
  * @returns
892
889
  */
893
890
  buildGap(context, data) {
894
- var _a;
895
891
  if (!data)
896
892
  return undefined;
897
893
  // Set default example
@@ -899,7 +895,7 @@ class Builder extends BaseBuilder_1.BaseBuilder {
899
895
  // Copy any attributes from 'attrs' to the body bit (data is in 'attrs' when coming from JSON)
900
896
  data = this.bodyBitCopyFromAttrs(data);
901
897
  // NOTE: Node order is important and is defined here
902
- const node = Object.assign(Object.assign({ type: BodyBitType_1.BodyBitType.gap, solutions: (_a = data.solutions) !== null && _a !== void 0 ? _a : [], item: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.item), lead: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.lead), hint: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.hint), instruction: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.instruction), isCaseSensitive: data.isCaseSensitive }, this.toExample(data.__isDefaultExample, data.example, defaultExample)), { __solutionsAst: data.__solutionsAst, attrs: {} });
898
+ const node = Object.assign(Object.assign({ type: BodyBitType_1.BodyBitType.gap, solutions: data.solutions || [], item: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.item), lead: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.lead), hint: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.hint), instruction: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.instruction), isCaseSensitive: data.isCaseSensitive }, this.toExample(data.__isDefaultExample, data.example, defaultExample)), { __solutionsAst: data.__solutionsAst, attrs: {} });
903
899
  // Remove Unset Optionals
904
900
  ObjectUtils_1.ObjectUtils.removeUnwantedProperties(node, {
905
901
  ignoreAllFalse: true,
@@ -972,13 +968,13 @@ class Builder extends BaseBuilder_1.BaseBuilder {
972
968
  * @returns
973
969
  */
974
970
  buildSelect(context, data) {
975
- var _a, _b, _c;
971
+ var _a, _b;
976
972
  if (!data)
977
973
  return undefined;
978
974
  // Copy any attributes from 'attrs' to the body bit (data is in 'attrs' when coming from JSON)
979
975
  data = this.bodyBitCopyFromAttrs(data);
980
976
  // NOTE: Node order is important and is defined here
981
- const node = Object.assign(Object.assign({ type: BodyBitType_1.BodyBitType.select, options: (_a = this.buildSelectOptions(context, data.options)) !== null && _a !== void 0 ? _a : [], prefix: (_b = data.prefix) !== null && _b !== void 0 ? _b : '', postfix: (_c = data.postfix) !== null && _c !== void 0 ? _c : '', item: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.item), lead: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.lead), hint: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.hint), instruction: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.instruction) }, this.toExample(false, undefined, undefined)), { __hintString: data.__hintString, __instructionString: data.__instructionString, attrs: {} });
977
+ const node = Object.assign(Object.assign({ type: BodyBitType_1.BodyBitType.select, options: this.buildSelectOptions(context, data.options) || [], prefix: (_a = data.prefix) !== null && _a !== void 0 ? _a : '', postfix: (_b = data.postfix) !== null && _b !== void 0 ? _b : '', item: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.item), lead: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.lead), hint: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.hint), instruction: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.instruction) }, this.toExample(false, undefined, undefined)), { __hintString: data.__hintString, __instructionString: data.__instructionString, attrs: {} });
982
978
  // Remove Unset Optionals
983
979
  ObjectUtils_1.ObjectUtils.removeUnwantedProperties(node, {
984
980
  ignoreAllFalse: true,
@@ -1026,13 +1022,13 @@ class Builder extends BaseBuilder_1.BaseBuilder {
1026
1022
  * @returns
1027
1023
  */
1028
1024
  buildHighlight(context, data) {
1029
- var _a, _b, _c;
1025
+ var _a, _b;
1030
1026
  if (!data)
1031
1027
  return undefined;
1032
1028
  // Copy any attributes from 'attrs' to the body bit (data is in 'attrs' when coming from JSON)
1033
1029
  data = this.bodyBitCopyFromAttrs(data);
1034
1030
  // NOTE: Node order is important and is defined here
1035
- const node = Object.assign(Object.assign({ type: BodyBitType_1.BodyBitType.highlight, texts: (_a = this.buildHighlightTexts(context, data.texts)) !== null && _a !== void 0 ? _a : [], prefix: (_b = data.prefix) !== null && _b !== void 0 ? _b : '', postfix: (_c = data.postfix) !== null && _c !== void 0 ? _c : '', item: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.item), lead: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.lead), hint: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.hint), instruction: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.instruction) }, this.toExample(false, undefined, undefined)), { attrs: {} });
1031
+ const node = Object.assign(Object.assign({ type: BodyBitType_1.BodyBitType.highlight, texts: this.buildHighlightTexts(context, data.texts) || [], prefix: (_a = data.prefix) !== null && _a !== void 0 ? _a : '', postfix: (_b = data.postfix) !== null && _b !== void 0 ? _b : '', item: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.item), lead: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.lead), hint: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.hint), instruction: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.instruction) }, this.toExample(false, undefined, undefined)), { attrs: {} });
1036
1032
  // Remove Unset Optionals
1037
1033
  ObjectUtils_1.ObjectUtils.removeUnwantedProperties(node, {
1038
1034
  ignoreAllFalse: true,
@@ -1092,11 +1088,10 @@ class Builder extends BaseBuilder_1.BaseBuilder {
1092
1088
  * @returns
1093
1089
  */
1094
1090
  buildFlashcard(context, data) {
1095
- var _a;
1096
1091
  if (!data)
1097
1092
  return undefined;
1098
1093
  // NOTE: Node order is important and is defined here
1099
- const node = Object.assign({ question: this.buildTextAndIcon(context, data.question), answer: this.buildTextAndIcon(context, data.answer), alternativeAnswers: ((_a = data.alternativeAnswers) !== null && _a !== void 0 ? _a : [])
1094
+ const node = Object.assign({ question: this.buildTextAndIcon(context, data.question), answer: this.buildTextAndIcon(context, data.answer), alternativeAnswers: (data.alternativeAnswers || [])
1100
1095
  .map((d) => this.buildTextAndIcon(context, d))
1101
1096
  .filter((d) => d != null), item: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.item), lead: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.lead), hint: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.hint), instruction: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.instruction) }, this.toExample(data.__isDefaultExample, data.example, true));
1102
1097
  // Remove Unset Optionals
@@ -1126,13 +1121,12 @@ class Builder extends BaseBuilder_1.BaseBuilder {
1126
1121
  * @returns
1127
1122
  */
1128
1123
  buildDefinitionListItem(context, data) {
1129
- var _a;
1130
1124
  if (!data)
1131
1125
  return undefined;
1132
1126
  const { bitType } = context;
1133
1127
  const textAsStrings = Config_1.Config.isOfBitType(bitType, [BitType_1.BitType.metaSearchDefaultTerms]);
1134
1128
  // NOTE: Node order is important and is defined here
1135
- const node = Object.assign({ term: this.buildTextAndIcon(context, data.term, textAsStrings), definition: this.buildTextAndIcon(context, data.definition, textAsStrings), alternativeDefinitions: ((_a = data.alternativeDefinitions) !== null && _a !== void 0 ? _a : [])
1129
+ const node = Object.assign({ term: this.buildTextAndIcon(context, data.term, textAsStrings), definition: this.buildTextAndIcon(context, data.definition, textAsStrings), alternativeDefinitions: (data.alternativeDefinitions || [])
1136
1130
  .map((d) => this.buildTextAndIcon(context, d, textAsStrings))
1137
1131
  .filter((d) => d != null), item: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.item), lead: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.lead), hint: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.hint), instruction: this.handleJsonText(context, TextLocation_1.TextLocation.tag, data.instruction) }, this.toExample(data.__isDefaultExample, data.example, true));
1138
1132
  // Remove Unset Optionals
@@ -1146,7 +1140,7 @@ class Builder extends BaseBuilder_1.BaseBuilder {
1146
1140
  buildTextAndIcon(context, data, textAsStrings = false) {
1147
1141
  const icon = this.resourceBuilder.resourceFromResourceJson(context, data === null || data === void 0 ? void 0 : data.icon);
1148
1142
  // Ensure text is bitmark text
1149
- let text = this.handleJsonText(context, TextLocation_1.TextLocation.tag, data === null || data === void 0 ? void 0 : data.text);
1143
+ let text = this.handleJsonText(context, TextLocation_1.TextLocation.tag, (data === null || data === void 0 ? void 0 : data.text) || data);
1150
1144
  if (textAsStrings) {
1151
1145
  // Convert the bitmark text to plain text (without breakscaping, as that will happen in the Bitmark Generator)
1152
1146
  text = this.textGenerator
@@ -1358,8 +1352,8 @@ class Builder extends BaseBuilder_1.BaseBuilder {
1358
1352
  // if (!data) return undefined;
1359
1353
  // // NOTE: Node order is important and is defined here
1360
1354
  // const node: CaptionDefinitionListJson = {
1361
- // columns: data.columns ?? [],
1362
- // definitions: (data.definitions ?? [])
1355
+ // columns: data.columns || [],
1356
+ // definitions: (data.definitions || [])
1363
1357
  // .map((d) => {
1364
1358
  // return this.buildCaptionDefinition(context, {
1365
1359
  // term: d.term,
@@ -1649,7 +1643,6 @@ class Builder extends BaseBuilder_1.BaseBuilder {
1649
1643
  */
1650
1644
  setIsExampleFlags(bit) {
1651
1645
  // bit.isExample = false;
1652
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
1653
1646
  const checkIsExample = (example) => {
1654
1647
  if (!example)
1655
1648
  return false;
@@ -1700,56 +1693,56 @@ class Builder extends BaseBuilder_1.BaseBuilder {
1700
1693
  // Card level
1701
1694
  if (cardNode) {
1702
1695
  // flashcards
1703
- for (const v of (_a = cardNode.flashcards) !== null && _a !== void 0 ? _a : []) {
1696
+ for (const v of cardNode.flashcards || []) {
1704
1697
  checkIsExample(v);
1705
1698
  }
1706
1699
  // definitions
1707
- for (const v of (_b = cardNode.definitions) !== null && _b !== void 0 ? _b : []) {
1700
+ for (const v of cardNode.definitions || []) {
1708
1701
  checkIsExample(v);
1709
1702
  }
1710
1703
  // pairs
1711
- for (const v of (_c = cardNode.pairs) !== null && _c !== void 0 ? _c : []) {
1704
+ for (const v of cardNode.pairs || []) {
1712
1705
  checkIsExample(v);
1713
1706
  }
1714
1707
  // matrix
1715
- for (const mx of (_d = cardNode.matrix) !== null && _d !== void 0 ? _d : []) {
1708
+ for (const mx of cardNode.matrix || []) {
1716
1709
  let hasExample = false;
1717
1710
  // matrix cell
1718
- for (const v of (_e = mx.cells) !== null && _e !== void 0 ? _e : []) {
1711
+ for (const v of mx.cells || []) {
1719
1712
  hasExample = checkIsExample(v) ? true : hasExample;
1720
1713
  }
1721
1714
  mx.isExample = hasExample;
1722
1715
  }
1723
1716
  // quizzes
1724
- for (const quiz of (_f = cardNode.quizzes) !== null && _f !== void 0 ? _f : []) {
1717
+ for (const quiz of cardNode.quizzes || []) {
1725
1718
  let hasExample = false;
1726
1719
  // responses
1727
- for (const v of (_g = quiz.responses) !== null && _g !== void 0 ? _g : []) {
1720
+ for (const v of quiz.responses || []) {
1728
1721
  hasExample = checkIsExample(v) ? true : hasExample;
1729
1722
  }
1730
1723
  // choices
1731
- for (const v of (_h = quiz.choices) !== null && _h !== void 0 ? _h : []) {
1724
+ for (const v of quiz.choices || []) {
1732
1725
  hasExample = checkIsExample(v) ? true : hasExample;
1733
1726
  }
1734
1727
  quiz.isExample = hasExample;
1735
1728
  }
1736
1729
  // responses
1737
- for (const v of (_j = cardNode.responses) !== null && _j !== void 0 ? _j : []) {
1730
+ for (const v of cardNode.responses || []) {
1738
1731
  checkIsExample(v);
1739
1732
  }
1740
1733
  // choices
1741
- for (const v of (_k = cardNode.choices) !== null && _k !== void 0 ? _k : []) {
1734
+ for (const v of cardNode.choices || []) {
1742
1735
  checkIsExample(v);
1743
1736
  }
1744
1737
  // statements
1745
- for (const v of (_l = cardNode.statements) !== null && _l !== void 0 ? _l : []) {
1738
+ for (const v of cardNode.statements || []) {
1746
1739
  checkIsExample(v);
1747
1740
  }
1748
1741
  // statement
1749
1742
  checkIsExample(cardNode.statement);
1750
1743
  // NO: elements
1751
1744
  // questions
1752
- for (const v of (_m = cardNode.questions) !== null && _m !== void 0 ? _m : []) {
1745
+ for (const v of cardNode.questions || []) {
1753
1746
  checkIsExample(v);
1754
1747
  }
1755
1748
  }
@@ -1757,11 +1750,11 @@ class Builder extends BaseBuilder_1.BaseBuilder {
1757
1750
  // statement
1758
1751
  checkIsExample(bit.statement);
1759
1752
  // responses
1760
- for (const v of (_o = bit.responses) !== null && _o !== void 0 ? _o : []) {
1753
+ for (const v of bit.responses || []) {
1761
1754
  checkIsExample(v);
1762
1755
  }
1763
1756
  // choices
1764
- for (const v of (_p = bit.choices) !== null && _p !== void 0 ? _p : []) {
1757
+ for (const v of bit.choices || []) {
1765
1758
  checkIsExample(v);
1766
1759
  }
1767
1760
  // Bit itself