@4bitlabs/sci0 1.4.1 → 2.0.1

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 (56) hide show
  1. package/README.md +7 -2
  2. package/dist/.tscache +1 -1
  3. package/dist/index.d.ts +1 -2
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/index.js +1 -2
  6. package/dist/index.js.map +1 -1
  7. package/dist/models/cel.d.ts +2 -5
  8. package/dist/models/cel.d.ts.map +1 -1
  9. package/dist/models/cursor.d.ts +3 -4
  10. package/dist/models/cursor.d.ts.map +1 -1
  11. package/dist/models/font-face.d.ts +2 -2
  12. package/dist/models/font-face.d.ts.map +1 -1
  13. package/dist/parsers/cel.d.ts.map +1 -1
  14. package/dist/parsers/cel.js +4 -6
  15. package/dist/parsers/cel.js.map +1 -1
  16. package/dist/parsers/cursor.d.ts +1 -6
  17. package/dist/parsers/cursor.d.ts.map +1 -1
  18. package/dist/parsers/cursor.js +9 -9
  19. package/dist/parsers/cursor.js.map +1 -1
  20. package/dist/parsers/font.d.ts +1 -5
  21. package/dist/parsers/font.d.ts.map +1 -1
  22. package/dist/parsers/font.js +6 -11
  23. package/dist/parsers/font.js.map +1 -1
  24. package/dist/screen/index.d.ts +0 -1
  25. package/dist/screen/index.d.ts.map +1 -1
  26. package/dist/screen/index.js +1 -3
  27. package/dist/screen/index.js.map +1 -1
  28. package/dist/screen/render-pic.d.ts +4 -6
  29. package/dist/screen/render-pic.d.ts.map +1 -1
  30. package/dist/screen/render-pic.js +13 -15
  31. package/dist/screen/render-pic.js.map +1 -1
  32. package/dist/screen/screen-buffer.d.ts +5 -0
  33. package/dist/screen/screen-buffer.d.ts.map +1 -0
  34. package/dist/screen/screen-buffer.js +27 -0
  35. package/dist/screen/screen-buffer.js.map +1 -0
  36. package/package.json +3 -5
  37. package/dist/screen/buffer.d.ts +0 -7
  38. package/dist/screen/buffer.d.ts.map +0 -1
  39. package/dist/screen/buffer.js +0 -30
  40. package/dist/screen/buffer.js.map +0 -1
  41. package/dist/screen/filter-pipeline.d.ts +0 -3
  42. package/dist/screen/filter-pipeline.d.ts.map +0 -1
  43. package/dist/screen/filter-pipeline.js +0 -3
  44. package/dist/screen/filter-pipeline.js.map +0 -1
  45. package/dist/screen/render-cel.d.ts +0 -9
  46. package/dist/screen/render-cel.d.ts.map +0 -1
  47. package/dist/screen/render-cel.js +0 -24
  48. package/dist/screen/render-cel.js.map +0 -1
  49. package/dist/stream/index.d.ts +0 -2
  50. package/dist/stream/index.d.ts.map +0 -1
  51. package/dist/stream/index.js +0 -6
  52. package/dist/stream/index.js.map +0 -1
  53. package/dist/stream/mapping-parser.d.ts +0 -3
  54. package/dist/stream/mapping-parser.d.ts.map +0 -1
  55. package/dist/stream/mapping-parser.js +0 -44
  56. package/dist/stream/mapping-parser.js.map +0 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # `@4bitlabs/sci0`
2
2
 
3
- Library for parsing and rendering assets from [Sierra On-line's][sierra] SCI-engine.
3
+ Library for parsing and rendering assets from [Sierra On-line's][sierra] [SCI-engine][sci0].
4
4
 
5
5
  ## Parse `RESOURCE.MAP` file
6
6
 
@@ -60,10 +60,14 @@ Example:
60
60
 
61
61
  ```ts
62
62
  import { renderPic } from '@4bitlabs/sci0';
63
- import { createDitherizer } from '@4bitlabs/image';
63
+ import { RAW_CGA, generateSciDitherPairs, CGA_PAIRS } from '@4bitlabs/color';
64
+ import { createDitherFilter, renderPixelData } from '@4bitlabs/image';
64
65
 
65
66
  const picData = Pic.parseFrom(data);
66
67
  const { visible, priority, control } = renderPic(picData);
68
+ const image = renderPixelData(visible, {
69
+ dither: createDitherFilter(CGA_PAIRS),
70
+ });
67
71
  ```
68
72
 
69
73
  ## Supported Resource Types
@@ -82,3 +86,4 @@ const { visible, priority, control } = renderPic(picData);
82
86
  | `9` | Patch | ❌ | |
83
87
 
84
88
  [sierra]: https://en.wikipedia.org/wiki/Sierra_Entertainment
89
+ [sci0]: http://sciwiki.sierrahelp.com/index.php/Sierra_Creative_Interpreter
package/dist/.tscache CHANGED
@@ -1 +1 @@
1
- {"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.dom.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/typescript/lib/lib.es2018.full.d.ts","../src/models/resource-header.ts","../src/models/resource-map.ts","../src/models/resource-type.ts","../src/models/cel.ts","../src/models/vec2.ts","../src/models/draw-command.ts","../../image/dist/image-data-like.d.ts","../../image/dist/image-filter.d.ts","../../image/dist/ditherizer.d.ts","../../image/dist/scalers/scale2x.d.ts","../../image/dist/scalers/scale3x.d.ts","../../image/dist/scalers/scale5x6.d.ts","../../image/dist/scalers/nearest-neighbor.d.ts","../../image/dist/scalers/index.d.ts","../../image/dist/blur/gauss-blur.d.ts","../../image/dist/blur/box-blur.d.ts","../../image/dist/blur/h-blur.d.ts","../../image/dist/blur/h-box-blur.d.ts","../../image/dist/blur/index.d.ts","../../image/dist/index.d.ts","../src/screen/filter-pipeline.ts","../src/models/resource-id.ts","../../color/dist/cga-palette.d.ts","../../color/dist/true-cga-palette.d.ts","../../color/dist/dga-palette.d.ts","../../color/dist/rgba.d.ts","../../color/dist/red-mean-diff.d.ts","../../color/dist/delta-e.d.ts","../../color/dist/dither-pair.d.ts","../../color/dist/dither-transform.d.ts","../../color/dist/generate-sci-dither-pairs.d.ts","../../color/dist/predefined-dither-pairs.d.ts","../../color/dist/ibm-5153-dimmer.d.ts","../../color/dist/to-grayscale.d.ts","../../color/dist/index.d.ts","../../numeric-deque/dist/numeric-deque.d.ts","../../numeric-deque/dist/index.d.ts","../src/screen/circles.ts","../src/screen/noise.ts","../src/screen/screen.ts","../src/screen/sci0-screen-impl.ts","../src/screen/buffer.ts","../src/screen/default-palette.ts","../src/screen/render-pic.ts","../src/screen/render-cel.ts","../src/screen/index.ts","../src/parsers/mapping.ts","../src/parsers/resource-header.ts","../../codecs/dist/shared.d.ts","../../codecs/dist/huffman.d.ts","../../codecs/dist/lzw.d.ts","../src/parsers/compression.ts","../src/models/cursor.ts","../src/parsers/cursor.ts","../src/models/font-face.ts","../src/utils/repeat.ts","../src/parsers/font.ts","../src/parsers/cel.ts","../src/models/view.ts","../src/parsers/view.ts","../../readers/dist/bit-reader.d.ts","../../readers/dist/bit-reader-options.d.ts","../../readers/dist/typed-array.d.ts","../../readers/dist/create-bit-reader.d.ts","../../readers/dist/async-bit-reader.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../readers/dist/byte-reader.d.ts","../../readers/dist/index.d.ts","../src/parsers/pic/op-codes.ts","../src/parsers/pic/pic-state.ts","../src/parsers/pic/points.ts","../src/parsers/pic/handlers.ts","../src/parsers/pic/parser.ts","../src/parsers/pic/index.ts","../src/index.ts","../../../node_modules/@babel/types/lib/index.d.ts","../../../node_modules/@types/babel__generator/index.d.ts","../../../node_modules/@babel/parser/typings/babel-parser.d.ts","../../../node_modules/@types/babel__template/index.d.ts","../../../node_modules/@types/babel__traverse/index.d.ts","../../../node_modules/@types/babel__core/index.d.ts","../../../node_modules/@types/cli-progress/index.d.ts","../../../node_modules/@types/columnify/index.d.ts","../../../node_modules/@types/expand-tilde/index.d.ts","../../../node_modules/@types/graceful-fs/index.d.ts","../../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../../node_modules/@types/istanbul-lib-report/index.d.ts","../../../node_modules/@types/istanbul-reports/index.d.ts","../../../node_modules/@jest/expect-utils/build/index.d.ts","../../../node_modules/chalk/index.d.ts","../../../node_modules/@sinclair/typebox/typebox.d.ts","../../../node_modules/@jest/schemas/build/index.d.ts","../../../node_modules/pretty-format/build/index.d.ts","../../../node_modules/jest-diff/build/index.d.ts","../../../node_modules/jest-matcher-utils/build/index.d.ts","../../../node_modules/expect/build/index.d.ts","../../../node_modules/@types/jest/index.d.ts","../../../node_modules/@types/json-schema/index.d.ts","../../../node_modules/@types/json5/index.d.ts","../../../node_modules/@types/minimatch/index.d.ts","../../../node_modules/@types/minimist/index.d.ts","../../../node_modules/@types/normalize-package-data/index.d.ts","../../../node_modules/@types/pngjs/index.d.ts","../../../node_modules/@types/semver/classes/semver.d.ts","../../../node_modules/@types/semver/functions/parse.d.ts","../../../node_modules/@types/semver/functions/valid.d.ts","../../../node_modules/@types/semver/functions/clean.d.ts","../../../node_modules/@types/semver/functions/inc.d.ts","../../../node_modules/@types/semver/functions/diff.d.ts","../../../node_modules/@types/semver/functions/major.d.ts","../../../node_modules/@types/semver/functions/minor.d.ts","../../../node_modules/@types/semver/functions/patch.d.ts","../../../node_modules/@types/semver/functions/prerelease.d.ts","../../../node_modules/@types/semver/functions/compare.d.ts","../../../node_modules/@types/semver/functions/rcompare.d.ts","../../../node_modules/@types/semver/functions/compare-loose.d.ts","../../../node_modules/@types/semver/functions/compare-build.d.ts","../../../node_modules/@types/semver/functions/sort.d.ts","../../../node_modules/@types/semver/functions/rsort.d.ts","../../../node_modules/@types/semver/functions/gt.d.ts","../../../node_modules/@types/semver/functions/lt.d.ts","../../../node_modules/@types/semver/functions/eq.d.ts","../../../node_modules/@types/semver/functions/neq.d.ts","../../../node_modules/@types/semver/functions/gte.d.ts","../../../node_modules/@types/semver/functions/lte.d.ts","../../../node_modules/@types/semver/functions/cmp.d.ts","../../../node_modules/@types/semver/functions/coerce.d.ts","../../../node_modules/@types/semver/classes/comparator.d.ts","../../../node_modules/@types/semver/classes/range.d.ts","../../../node_modules/@types/semver/functions/satisfies.d.ts","../../../node_modules/@types/semver/ranges/max-satisfying.d.ts","../../../node_modules/@types/semver/ranges/min-satisfying.d.ts","../../../node_modules/@types/semver/ranges/to-comparators.d.ts","../../../node_modules/@types/semver/ranges/min-version.d.ts","../../../node_modules/@types/semver/ranges/valid.d.ts","../../../node_modules/@types/semver/ranges/outside.d.ts","../../../node_modules/@types/semver/ranges/gtr.d.ts","../../../node_modules/@types/semver/ranges/ltr.d.ts","../../../node_modules/@types/semver/ranges/intersects.d.ts","../../../node_modules/@types/semver/ranges/simplify.d.ts","../../../node_modules/@types/semver/ranges/subset.d.ts","../../../node_modules/@types/semver/internals/identifiers.d.ts","../../../node_modules/@types/semver/index.d.ts","../../../node_modules/@types/stack-utils/index.d.ts","../../../node_modules/@types/through2/index.d.ts","../../../node_modules/@types/yargs-parser/index.d.ts","../../../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"824cb491a40f7e8fdeb56f1df5edf91b23f3e3ee6b4cde84d4a99be32338faee","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"87d693a4920d794a73384b3c779cadcb8548ac6945aa7a925832fe2418c9527a","affectsGlobalScope":true,"impliedFormat":1},{"version":"76f838d5d49b65de83bc345c04aa54c62a3cfdb72a477dc0c0fce89a30596c30","affectsGlobalScope":true,"impliedFormat":1},{"version":"73e370058f82add1fdbc78ef3d1aab110108f2d5d9c857cb55d3361982347ace","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"138fb588d26538783b78d1e3b2c2cc12d55840b97bf5e08bca7f7a174fbe2f17","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true,"impliedFormat":1},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true,"impliedFormat":1},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true,"impliedFormat":1},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true,"impliedFormat":1},{"version":"b20fe0eca9a4e405f1a5ae24a2b3290b37cf7f21eba6cbe4fc3fab979237d4f3","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"49ed889be54031e1044af0ad2c603d627b8bda8b50c1a68435fe85583901d072","affectsGlobalScope":true,"impliedFormat":1},{"version":"e93d098658ce4f0c8a0779e6cab91d0259efb88a318137f686ad76f8410ca270","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true,"impliedFormat":1},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true,"impliedFormat":1},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true,"impliedFormat":1},{"version":"8073890e29d2f46fdbc19b8d6d2eb9ea58db9a2052f8640af20baff9afbc8640","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"13f6e6380c78e15e140243dc4be2fa546c287c6d61f4729bc2dd7cf449605471","affectsGlobalScope":true,"impliedFormat":1},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"95f1023b824c2c511c48f1201e2d1188bcb0ca1138a309a870b956d2e92e44ab","impliedFormat":1},{"version":"84262150e685c00b3784caffbff174fdca009ca885af27bc3e8562b12877050b","signature":"4463f618791255fd325533319f66595b21f0c4e74b072eaa63b1fbab5b564026","impliedFormat":1},{"version":"956dcd3ad5937fd81f395c73626960bf5e2ccfa032b3be5ef33915a27f5c2a60","signature":"7715a14e89ecca02425c6788e7b0332c50e2fd9e604cd66dc3744e4dc314a078","impliedFormat":1},{"version":"90a264f8f5a72b8514ef273df6a6f499ebc1ec9c8136d40fff2c42a0b0d2b852","signature":"59238e490da3c407a5a1f451731c489af25adb5c488114b49ece64c6dd3e6449","impliedFormat":1},{"version":"76f9ae832a0245602ad6e0e393d7cafa873baeb497a5d5557ad57821781dfd6d","signature":"1b04ff2dbf8313b50754988392fe15e7a354e74610828e8a7efd38d4d74b70b4","impliedFormat":1},{"version":"f1cea97930ea24f1182dfa46b3f509700c0d13e752af114c9b6ae3203320790a","signature":"f1f44bb2304b5f9954632bff7027821701818a087ee92b831767be8bc62fee3f","impliedFormat":1},{"version":"9f9d9e2954f8fb62c6625ec1f50e387424606ddfc2acd055ded79d435a410000","signature":"8ce14b0a5c49b1b7eb1141ad62567bd21fe30c7daa1ffe32ba7a98a567273583","impliedFormat":1},{"version":"ced6686f68b3703b9058d8560764214f32f010f848eae84694d1e0914751a888","impliedFormat":1},{"version":"370bc4c8c9302f24c8d2966be2a36f55761dfb09eab894a5d1adba310da7bd22","impliedFormat":1},{"version":"cebd4db1da75591133d3f70dd7f2971901d51fd9ea874d8085e7f32fcae73d9b","impliedFormat":1},{"version":"a7d712eab8a0e75e75a04950f51fca9fb7f5a310f89aae0350a5537754b2748b","impliedFormat":1},{"version":"2c96bc3c583136f6d88bd7ef02e47b1f796892900493f0ba107ab4df0e5e3007","impliedFormat":1},{"version":"e442b44d2dfd16699763b8a534dd011d23e8a7dac06950727acf101117d8444f","impliedFormat":1},{"version":"2d2052f47f2799fe6bf0b04da7bd5c466ab8b58d03cac1aafdc3030b1965601c","impliedFormat":1},{"version":"e33ca17dbca16295198b0da0476d5b6da60c3d14db97f5f5ac854a8685e554a3","impliedFormat":1},{"version":"41f8baf98445a70c5fa88974988e9e3624d565985ce8254f014016092fb615fd","impliedFormat":1},{"version":"c7f6f5c6e1801d472990f433ab151b62baf62029f62e4aa3eaa8c2efa91add08","impliedFormat":1},{"version":"bc511cb6e1d68d26310c6dad097a5b4bac6aa5e4338de13cc70007a6451921a6","impliedFormat":1},{"version":"43a25d71b4bf75a220c117e8486e85ec8ddbfb2cdf71d5983ef0b679a970fb1f","impliedFormat":1},{"version":"52f9ab9da60f7b889af7288ace5c6e78ecca5f112d7b1668f904909ab0f6dc70","impliedFormat":1},{"version":"95a6fe0cd49b97b118e22332668659df6004c8f736a23705a0d6378811cd1f97","impliedFormat":1},{"version":"481dbcb9a387a815801d3fa1cb14a3c9ea166d14319d358dae8901f700cfec53","signature":"eb8dcafaba577347e75d0850cfbcc44a5809a26182b53c227f3feafb19c8f53a","impliedFormat":1},{"version":"c5a731c403086d8ee2f818194c05d6c5724feb623806048318241aed8e9bbbb3","signature":"3cb322004419c2a1eb2d10e9d00483ddf10a85117ed874a256cb2ec8370b8ce3","impliedFormat":1},{"version":"18f6125ceb3b21a93a40cf4d6c735a46b87c8a299080ccf2d9bc8014760720ab","impliedFormat":1},{"version":"8d3dac4b5eadcd73e0ec5027f29f21105b7eb80e0afd905c4b872464d06f1a84","impliedFormat":1},{"version":"ac94d807a1f50cb7a91b6c6955053631760ae013953bb248254a00ea30efea53","impliedFormat":1},{"version":"c0ae93dcc900c0b315aa24fa199be41a0fb6c42ca6c163f7fd465e3c73f7191e","impliedFormat":1},{"version":"e71a8c03346f55366f9a3c97fb741e5f04ea42cd410c803a269ac36388030135","impliedFormat":1},{"version":"88bd045b42de48e787820d524a08d44f6fb80e263cbe6ffcfeae8f4aa4aa39d1","impliedFormat":1},{"version":"d66e0f949adbb090a9dac1ede8cc30a6fac008337cff5fb639e65b7f455fc8ef","impliedFormat":1},{"version":"948f71d774b9a1f26e65bf31e98f7a496c950545f65ac1a02efdb5a069425f21","impliedFormat":1},{"version":"612758c2d8a1b3be83fd212e89a8261b646be05d7b98a171d81b99d56d607398","impliedFormat":1},{"version":"6dfe590a9acb93bf6568ac794a3044d5c5d5068aaba28c943b8daf753df8af32","impliedFormat":1},{"version":"a108d58e2e8e438a7989711f0872dcae74fe20e252399af0e2bbc2212441bb5d","impliedFormat":1},{"version":"dbe05245abd840f479bd6c72a58ff59502925242a896fdfe908977645fccc338","impliedFormat":1},{"version":"e928eb94c8493b563bb7a6358ac1b0f76fb94900d7dcae522bbd1fac1e5ee75e","impliedFormat":1},{"version":"d61792ec9e2e502c06ad41f33df2bbce509ad22ab9450f0314e16ba082c8d08c","impliedFormat":1},{"version":"2a709c43cb7a76b169fe263764d8dbc18097b8b86ba8210d76d9cd4023abb325","impliedFormat":1},{"version":"25c32c53025d96a4ee0f9b8fea2aaee819e5eb4d7ad27e33b193fa98c9678c32","signature":"d9dc66dcd59912c35945d10df79339fee79798dca9097a574a5acbfb21d28599","impliedFormat":1},{"version":"c260da830617f35f3f6ff1cd5eea15faba534ce688400817c29d2d2fee272621","signature":"41fcdbf982b82e63a9dccad36d31f0a6c854878972fc9c2671664cbb501138d4","impliedFormat":1},{"version":"b5c6c6d627455e08d4537ebf771a8ea492f01dcdf9073687c09dda459a0a7b7e","signature":"344214287be164f0e980277e6fe7a5d08c0e92b72a9e566750b0627482c741e5","impliedFormat":1},{"version":"0601552f328313512e824600ac362f5eceb256e78777d4f5dc79109f093fbb3b","signature":"1fa8261db3828325e7f6e8e337f3afbf03a8e38fbdf1b9e09f0fea5c58f75232","impliedFormat":1},{"version":"fc78947105c4a7c8622216efb82950413cf5822465fde3b0612a1d60ba796b5c","signature":"d8a5e4aed5b2ce7d7127e8aedf3bd53780898e3077eb3a541748239dbbede9bc","impliedFormat":1},{"version":"f4cfc0d2be917ec3525542053170077016131024e12a80e28cf256921449e1bd","signature":"9b83897677d9e9cb3f2961baa19cf19999a15c2a27c085a4ec025caeb23977db","impliedFormat":1},{"version":"a4864bee642261f9237559e9658a8dcff6f5ad2a84e384d21f6d2b68ddbb6ee9","signature":"2834a1a7350bcdbc9ce1400de3ab53051a4fa30316f2c5e78f2173a806a17a75","impliedFormat":1},{"version":"2e8cfbf65dab68e52631987b4adfb9519bc891febb182230c54edbfded62b684","signature":"d91cff0e907d91869cc9f19ac832b95b49b4f351e92680979165fe8b0f3733a3","impliedFormat":1},{"version":"4e031c119e136b2da95e29d0cad9c7bbd1e5db70ee2da3e3c74f1e574361f251","impliedFormat":1},{"version":"d9b46eda5b9931b8c01af32ddb45c53042b76b8c2162f0881ac5ea10cf3b9aa1","signature":"39b3e5c519a1525af059deda1a004afcab50609c019754b8ea808929881ca1f1","impliedFormat":1},{"version":"dd5e23862e9694fae51d6939fc74519a7a434e2b9c1225f89a9a3fb42acb815d","signature":"4e28abd87409fadea7a87bc648ea0ac967ad9c908bc66011b19a917bbf4e0c41","impliedFormat":1},{"version":"f7394eafbbd3382c3fe8bcd0db893c66a7f99358a8b80b6ccafb59ba97e71da9","impliedFormat":1},{"version":"6fc9bbb9bec4ca352f671847050b85a48fe88ec1088a9693e9a1a46425d622ff","impliedFormat":1},{"version":"6da88a4f11ff14ca90fa8aaa4775fdc477d5c387fa8e6531adc4489f207b8a6a","impliedFormat":1},{"version":"13850ac2d1422a8ea66b3ccb18c2caf112ef49fba3dbf186a094fcc3237f270d","signature":"0b7cf32145a98ac3a7006dcc4a2adb38e0555e7a6e4c1fef69501173ef234564","impliedFormat":1},{"version":"ed10c1ee24a7d0fd43363a58ca1235d8f5f7aba64a3679ac56b6f9d07571fbd1","signature":"349d559b75108193857c8f740a73ae19b84990d23e28ce9ead7878b33d86384f","impliedFormat":1},{"version":"676d8aadedea6645f9dd7a69efeaba9611aa3ba480b8b9ab917d4eac39f0a6f8","signature":"113b702d566e47c3d947bf65dabeac8b9e26e0082743b86f3a7f0e2323f4bfd0","impliedFormat":1},{"version":"5bc6d64e3fc75720fa4e1a1e4b93f335827dd47fb459c3a19c3a0b653894d286","signature":"19efa9c25531b730ec3f5c7b2d303565d57c6da4ce0bfbcc9041aad67b1a9876","impliedFormat":1},{"version":"959b0f8a7159d6883db9dc233ea7ffbb4c97603a6cc649e4cf0f1f3285587c6f","signature":"6e2bd81b0a6b8244316538c35bd28ed16152aaadb127a4f398035b83799e6332","impliedFormat":1},{"version":"c2fd8e193b3376f2ebf6d7f8e78ea4d134aaa315f3f6a6934cfcf9da089b185d","signature":"5b5ad866bfc51bdc67640e6ca29a824ab62eb4028738649deb627f3723ee833c","impliedFormat":1},{"version":"551bd280b8a5d554cfa36e92f8fc4ed134ea89aa99898836f3049fafc413392f","signature":"046bef1774d16131116507bda40c17fa8e5163520fe418a0320c2c04fa9f615c","impliedFormat":1},{"version":"83f5c7456e00740bde18bad2364eeb8ee9cfc9db382a2fa3cb92dd81b0832284","signature":"947efdd47f4ffb3758b1b19498170a136180bbf79930a7ca5ac07ad8a272b139","impliedFormat":1},{"version":"be1a6765973065ce2206bffee03619ed13ae923f8f3350b0c3f487c141a77ea9","signature":"9809b3a4ab40d3f57443b5578b2f20de5a740f2b20257348112cad7bae058b7b","impliedFormat":1},{"version":"c1cf9eee1528f7a244a803bc200d9342b955a27290fb990fb64a390048ca0c51","impliedFormat":1},{"version":"0b8fe149e4f052afdf21b6021bf88abe7260cf23cc871615eb12841dea80af9b","impliedFormat":1},{"version":"e25d0306af431489ee181c56dc8b8a4c95cac276a576e872f96d15aeb9482ee0","impliedFormat":1},{"version":"19bc8ad93c20fbb0c2c164240009b05e714cac5dcb785260583156d9305cb249","impliedFormat":1},{"version":"10d0e79cf92e795accfd4bc6b2df6c4589feb3ebc0aaaba3997fc1df254eb2e4","impliedFormat":1},{"version":"0cba3a5d7b81356222594442753cf90dd2892e5ccfe1d262aaca6896ba6c1380","impliedFormat":1},{"version":"a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a","impliedFormat":1},{"version":"c2ab70bbc7a24c42a790890739dd8a0ba9d2e15038b40dff8163a97a5d148c00","affectsGlobalScope":true,"impliedFormat":1},{"version":"422dbb183fdced59425ca072c8bd09efaa77ce4e2ab928ec0d8a1ce062d2a45a","impliedFormat":1},{"version":"2a801b0322994c3dd7f0ef30265d19b3dd3bae6d793596879166ed6219c3da68","affectsGlobalScope":true,"impliedFormat":1},{"version":"1dab5ab6bcf11de47ab9db295df8c4f1d92ffa750e8f095e88c71ce4c3299628","impliedFormat":1},{"version":"f71f46ccd5a90566f0a37b25b23bc4684381ab2180bdf6733f4e6624474e1894","impliedFormat":1},{"version":"54e65985a3ee3cec182e6a555e20974ea936fc8b8d1738c14e8ed8a42bd921d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","impliedFormat":1},{"version":"bcc8caf03ee65fe8610d258752f255fbdddbb2e4de7b6c5628956a5a0d859ec8","impliedFormat":1},{"version":"34e5de87d983bc6aefef8b17658556e3157003e8d9555d3cb098c6bef0b5fbc8","impliedFormat":1},{"version":"cc0b61316c4f37393f1f9595e93b673f4184e9d07f4c127165a490ec4a928668","impliedFormat":1},{"version":"f27371653aded82b2b160f7a7033fb4a5b1534b6f6081ef7be1468f0f15327d3","impliedFormat":1},{"version":"c762cd6754b13a461c54b59d0ae0ab7aeef3c292c6cf889873f786ee4d8e75c9","impliedFormat":1},{"version":"f4ea7d5df644785bd9fbf419930cbaec118f0d8b4160037d2339b8e23c059e79","impliedFormat":1},{"version":"c28e5baab1b53377c90d12970e207a2644bc3627840066449e37e2a59125d07e","affectsGlobalScope":true,"impliedFormat":1},{"version":"7a5459efa09ea82088234e6533a203d528c594b01787fb90fba148885a36e8b6","impliedFormat":1},{"version":"ae97e20f2e10dbeec193d6a2f9cd9a367a1e293e7d6b33b68bacea166afd7792","impliedFormat":1},{"version":"fce6a1a1553ff7d54ffb8bb3ae488c9cb5f2f4f4e52212c1abe40f544819ef35","impliedFormat":1},{"version":"ad41bb744149e92adb06eb953da195115620a3f2ad48e7d3ae04d10762dae197","impliedFormat":1},{"version":"bf73c576885408d4a176f44a9035d798827cc5020d58284cb18d7573430d9022","impliedFormat":1},{"version":"7ae078ca42a670445ae0c6a97c029cb83d143d62abd1730efb33f68f0b2c0e82","impliedFormat":1},{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true,"impliedFormat":1},{"version":"5d0a9ea09d990b5788f867f1c79d4878f86f7384cb7dab38eecbf22f9efd063d","impliedFormat":1},{"version":"12eea70b5e11e924bb0543aea5eadc16ced318aa26001b453b0d561c2fd0bd1e","impliedFormat":1},{"version":"08777cd9318d294646b121838574e1dd7acbb22c21a03df84e1f2c87b1ad47f2","impliedFormat":1},{"version":"08a90bcdc717df3d50a2ce178d966a8c353fd23e5c392fd3594a6e39d9bb6304","impliedFormat":1},{"version":"8207e7e6db9aa5fc7e61c8f17ba74cf9c115d26f51f91ee93f790815a7ea9dfb","affectsGlobalScope":true,"impliedFormat":1},{"version":"2a12d2da5ac4c4979401a3f6eaafa874747a37c365e4bc18aa2b171ae134d21b","impliedFormat":1},{"version":"002b837927b53f3714308ecd96f72ee8a053b8aeb28213d8ec6de23ed1608b66","impliedFormat":1},{"version":"1dc9c847473bb47279e398b22c740c83ea37a5c88bf66629666e3cf4c5b9f99c","impliedFormat":1},{"version":"a9e4a5a24bf2c44de4c98274975a1a705a0abbaad04df3557c2d3cd8b1727949","impliedFormat":1},{"version":"00fa7ce8bc8acc560dc341bbfdf37840a8c59e6a67c9bfa3fa5f36254df35db2","impliedFormat":1},{"version":"1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","impliedFormat":1},{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true,"impliedFormat":1},{"version":"cfe724f7c694aab65a9bdd1acb05997848c504548c9d4c71645c187a091cfa2a","impliedFormat":1},{"version":"5f0ed51db151c2cdc4fa3bb0f44ce6066912ad001b607a34e65a96c52eb76248","impliedFormat":1},{"version":"3345c276cab0e76dda86c0fb79104ff915a4580ba0f3e440870e183b1baec476","affectsGlobalScope":true,"impliedFormat":1},{"version":"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","impliedFormat":1},{"version":"e383ff72aabf294913f8c346f5da1445ae6ad525836d28efd52cbadc01a361a6","impliedFormat":1},{"version":"f52fbf64c7e480271a9096763c4882d356b05cab05bf56a64e68a95313cd2ce2","impliedFormat":1},{"version":"59bdb65f28d7ce52ccfc906e9aaf422f8b8534b2d21c32a27d7819be5ad81df7","impliedFormat":1},{"version":"1835259a20b9fa6b1882931375b69ae5978195f2b139b4e0db51ec8319261649","impliedFormat":1},{"version":"b52cd693219a63dd21282ac99a7bf55f77cbe8a91f097968856419cc2e05f017","impliedFormat":1},{"version":"3aff9c8c36192e46a84afe7b926136d520487155154ab9ba982a8b544ea8fc95","impliedFormat":1},{"version":"a880cf8d85af2e4189c709b0fea613741649c0e40fffb4360ec70762563d5de0","impliedFormat":1},{"version":"85bbf436a15bbeda4db888be3062d47f99c66fd05d7c50f0f6473a9151b6a070","impliedFormat":1},{"version":"9f9c49c95ecd25e0cb2587751925976cf64fd184714cb11e213749c80cf0f927","impliedFormat":1},{"version":"f0c75c08a71f9212c93a719a25fb0320d53f2e50ca89a812640e08f8ad8c408c","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"267af67ea520cabd16402522756b19ac63d9e2c1c86e7c4d1ddeb991c32e12c9","impliedFormat":1},{"version":"15814a8b6bc106ed3c3389ab110a650f837605b77680dd19b67b31cfa4d0f529","impliedFormat":1},{"version":"c19ede4a7e25ff7631d53c9e46ceafb460074b76c52faaf0d7782e5cd1253446","impliedFormat":1},{"version":"d7087404bd1a4e438c77becd4a21cc13a65534ca51224e954f787e9e09b33970","signature":"e36d6b19a8118c1888ad582ea165b727dd392705a3a2d4632884f58f08ff2391","impliedFormat":1},{"version":"297a0fb7ed4bd878288dd2e31c5d7f1c60d5191ef29c5f327821b0bc2f64c55d","signature":"c9217d779de87affdfd1a0c5512167e6fc06ee2bcb985987542b08e4db621d33","impliedFormat":1},{"version":"7a07c624ad970ef808dd2b4a3e5136a4eabbeba3575c7ab2bdc40cab2ad4a1c6","signature":"7eec1925441d2e3144444cd7d59b2deed712004f4a3928569927eff9a735f2f9","impliedFormat":1},{"version":"e006f27b178624dfe86a8d3a1f731650cb51458ec29f4a310bbdd9e17a45a3e3","signature":"b0fcab3e0a12b6e87e1121486dfde06883b5020dd30ddcf48c4d8e9f017d6e7b","impliedFormat":1},{"version":"23cd4e0c75cb6de7214de81e72a3b5cac892d2476df76d16d9ef55cc1497ee15","signature":"3f0a545bed4b9610aaa866710bc8a6ee8714a3f07c5e8059d2f1853efc4fe3c2","impliedFormat":1},{"version":"8780b2d813736784da80ba71d640e468ec1be4648558710bd49a799b027bd9b5","impliedFormat":1},{"version":"9f2118b6b6313b8a216ccd05dcb94d81b7aeddda16ca57fe63a073330aa53fe9","signature":"8bcc36d30ca539f60f6bdf5862a5cafd4cc105d0a018ba338ef3a79adfed7abd","impliedFormat":1},{"version":"4489c6a9fde8934733aa7df6f7911461ee6e9e4ad092736bd416f6b2cc20b2c6","impliedFormat":1},{"version":"7a1f3d0b8dd0e869c58b44848d9f0be3592c3ff6dc77091e7130306f6d2907ed","impliedFormat":1},{"version":"8041cfce439ff29d339742389de04c136e3029d6b1817f07b2d7fcbfb7534990","impliedFormat":1},{"version":"670a76db379b27c8ff42f1ba927828a22862e2ab0b0908e38b671f0e912cc5ed","impliedFormat":1},{"version":"29a46d003ca3c721e6405f00dee7e3de91b14e09701eba5d887bf76fb2d47d38","impliedFormat":1},{"version":"069bebfee29864e3955378107e243508b163e77ab10de6a5ee03ae06939f0bb9","impliedFormat":1},{"version":"70b3cf5c5122849e757a21b3a4ec8cac43d06a133f161acf52189c38179badde","impliedFormat":1},{"version":"f4054ad0c9b4ce4e3f3a3a545be2388af5c1636d23c5adc663e1efbeeabf344d","impliedFormat":1},{"version":"cb290230e6c5d547a2791e709ebcdd52594cfc76221518081c1c22ae39b03c8b","impliedFormat":1},{"version":"afe73051ff6a03a9565cbd8ebb0e956ee3df5e913ad5c1ded64218aabfa3dcb5","impliedFormat":1},{"version":"035a5df183489c2e22f3cf59fc1ed2b043d27f357eecc0eb8d8e840059d44245","impliedFormat":1},{"version":"a4809f4d92317535e6b22b01019437030077a76fec1d93b9881c9ed4738fcc54","impliedFormat":1},{"version":"5f53fa0bd22096d2a78533f94e02c899143b8f0f9891a46965294ee8b91a9434","impliedFormat":1},{"version":"cdcc132f207d097d7d3aa75615ab9a2e71d6a478162dde8b67f88ea19f3e54de","impliedFormat":1},{"version":"0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","impliedFormat":1},{"version":"c085e9aa62d1ae1375794c1fb927a445fa105fed891a7e24edbb1c3300f7384a","impliedFormat":1},{"version":"f315e1e65a1f80992f0509e84e4ae2df15ecd9ef73df975f7c98813b71e4c8da","impliedFormat":1},{"version":"5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e","impliedFormat":1},{"version":"3e70a7e67c2cb16f8cd49097360c0309fe9d1e3210ff9222e9dac1f8df9d4fb6","impliedFormat":1},{"version":"ab68d2a3e3e8767c3fba8f80de099a1cfc18c0de79e42cb02ae66e22dfe14a66","impliedFormat":1},{"version":"d96cc6598148bf1a98fb2e8dcf01c63a4b3558bdaec6ef35e087fd0562eb40ec","impliedFormat":1},{"version":"5ab630d466ac55baa6d32820378098404fc18ba9da6f7bc5df30c5dbb1cffae8","affectsGlobalScope":true,"impliedFormat":1},{"version":"f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","impliedFormat":1},{"version":"96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","impliedFormat":1},{"version":"8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","impliedFormat":1},{"version":"fbca5ffaebf282ec3cdac47b0d1d4a138a8b0bb32105251a38acb235087d3318","impliedFormat":1},{"version":"22293bd6fa12747929f8dfca3ec1684a3fe08638aa18023dd286ab337e88a592","impliedFormat":1},{"version":"90ac19cb97ae85c7ccfd0c04322b02ce088bda9de7b42cc081cbb3674fe5446d","impliedFormat":1},{"version":"cf3d384d082b933d987c4e2fe7bfb8710adfd9dc8155190056ed6695a25a559e","impliedFormat":1},{"version":"9871b7ee672bc16c78833bdab3052615834b08375cb144e4d2cba74473f4a589","impliedFormat":1},{"version":"c863198dae89420f3c552b5a03da6ed6d0acfa3807a64772b895db624b0de707","impliedFormat":1},{"version":"8b03a5e327d7db67112ebbc93b4f744133eda2c1743dbb0a990c61a8007823ef","impliedFormat":1},{"version":"86c73f2ee1752bac8eeeece234fd05dfcf0637a4fbd8032e4f5f43102faa8eec","impliedFormat":1},{"version":"42fad1f540271e35ca37cecda12c4ce2eef27f0f5cf0f8dd761d723c744d3159","impliedFormat":1},{"version":"ff3743a5de32bee10906aff63d1de726f6a7fd6ee2da4b8229054dfa69de2c34","impliedFormat":1},{"version":"83acd370f7f84f203e71ebba33ba61b7f1291ca027d7f9a662c6307d74e4ac22","impliedFormat":1},{"version":"1445cec898f90bdd18b2949b9590b3c012f5b7e1804e6e329fb0fe053946d5ec","impliedFormat":1},{"version":"0e5318ec2275d8da858b541920d9306650ae6ac8012f0e872fe66eb50321a669","impliedFormat":1},{"version":"cf530297c3fb3a92ec9591dd4fa229d58b5981e45fe6702a0bd2bea53a5e59be","impliedFormat":1},{"version":"c1f6f7d08d42148ddfe164d36d7aba91f467dbcb3caa715966ff95f55048b3a4","impliedFormat":1},{"version":"f4e9bf9103191ef3b3612d3ec0044ca4044ca5be27711fe648ada06fad4bcc85","impliedFormat":1},{"version":"0c1ee27b8f6a00097c2d6d91a21ee4d096ab52c1e28350f6362542b55380059a","impliedFormat":1},{"version":"7677d5b0db9e020d3017720f853ba18f415219fb3a9597343b1b1012cfd699f7","impliedFormat":1},{"version":"bc1c6bc119c1784b1a2be6d9c47addec0d83ef0d52c8fbe1f14a51b4dfffc675","impliedFormat":1},{"version":"52cf2ce99c2a23de70225e252e9822a22b4e0adb82643ab0b710858810e00bf1","impliedFormat":1},{"version":"770625067bb27a20b9826255a8d47b6b5b0a2d3dfcbd21f89904c731f671ba77","impliedFormat":1},{"version":"d1ed6765f4d7906a05968fb5cd6d1db8afa14dbe512a4884e8ea5c0f5e142c80","impliedFormat":1},{"version":"799c0f1b07c092626cf1efd71d459997635911bb5f7fc1196efe449bba87e965","impliedFormat":1},{"version":"2a184e4462b9914a30b1b5c41cf80c6d3428f17b20d3afb711fff3f0644001fd","impliedFormat":1},{"version":"9eabde32a3aa5d80de34af2c2206cdc3ee094c6504a8d0c2d6d20c7c179503cc","impliedFormat":1},{"version":"397c8051b6cfcb48aa22656f0faca2553c5f56187262135162ee79d2b2f6c966","impliedFormat":1},{"version":"a8ead142e0c87dcd5dc130eba1f8eeed506b08952d905c47621dc2f583b1bff9","impliedFormat":1},{"version":"a02f10ea5f73130efca046429254a4e3c06b5475baecc8f7b99a0014731be8b3","impliedFormat":1},{"version":"c2576a4083232b0e2d9bd06875dd43d371dee2e090325a9eac0133fd5650c1cb","impliedFormat":1},{"version":"4c9a0564bb317349de6a24eb4efea8bb79898fa72ad63a1809165f5bd42970dd","impliedFormat":1},{"version":"f40ac11d8859092d20f953aae14ba967282c3bb056431a37fced1866ec7a2681","impliedFormat":1},{"version":"cc11e9e79d4746cc59e0e17473a59d6f104692fd0eeea1bdb2e206eabed83b03","impliedFormat":1},{"version":"b444a410d34fb5e98aa5ee2b381362044f4884652e8bc8a11c8fe14bbd85518e","impliedFormat":1},{"version":"c35808c1f5e16d2c571aa65067e3cb95afeff843b259ecfa2fc107a9519b5392","impliedFormat":1},{"version":"14d5dc055143e941c8743c6a21fa459f961cbc3deedf1bfe47b11587ca4b3ef5","impliedFormat":1},{"version":"a3ad4e1fc542751005267d50a6298e6765928c0c3a8dce1572f2ba6ca518661c","impliedFormat":1},{"version":"f237e7c97a3a89f4591afd49ecb3bd8d14f51a1c4adc8fcae3430febedff5eb6","impliedFormat":1},{"version":"3ffdfbec93b7aed71082af62b8c3e0cc71261cc68d796665faa1e91604fbae8f","impliedFormat":1},{"version":"662201f943ed45b1ad600d03a90dffe20841e725203ced8b708c91fcd7f9379a","impliedFormat":1},{"version":"c9ef74c64ed051ea5b958621e7fb853fe3b56e8787c1587aefc6ea988b3c7e79","impliedFormat":1},{"version":"2462ccfac5f3375794b861abaa81da380f1bbd9401de59ffa43119a0b644253d","impliedFormat":1},{"version":"34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","impliedFormat":1},{"version":"7d8ddf0f021c53099e34ee831a06c394d50371816caa98684812f089b4c6b3d4","impliedFormat":1},{"version":"ab82804a14454734010dcdcd43f564ff7b0389bee4c5692eec76ff5b30d4cf66","impliedFormat":1},{"version":"2cb91e85af2e2a3956a6d5614ffce76abc80705fef2c1e472c4fd75c196c892b","impliedFormat":1},{"version":"bae8d023ef6b23df7da26f51cea44321f95817c190342a36882e93b80d07a960","impliedFormat":1},{"version":"8495c63868f001b156fdeb6382ddd63dc6b2c9b91529ce08019caf312da37c59","impliedFormat":1}],"root":[[52,57],72,73,[89,99],[103,111],[170,176]],"options":{"declaration":true,"declarationMap":true,"esModuleInterop":true,"module":100,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"target":5,"tsBuildInfoFile":"./.tscache"},"fileIdsList":[[100,160],[160],[77,160],[80,160],[80,81,160],[74,75,76,78,79,80,81,82,83,84,85,160],[59,160],[66,67,68,69,160],[58,160],[58,59,60,65,70,160],[61,62,63,64,160],[87,160],[134,160,167],[112,113,114,160],[112,115,116,160,168],[52,53,54,57,72,73,97,98,99,103,105,108,111,160,175],[71,160],[55,56,160],[54,160],[55,160],[101,102,160],[104,160],[71,106,107,160],[53,160],[56,57,107,109,160,169,170,171,172],[160,174],[57,160,169,170,171,173],[57,160],[56,160,169],[52,160],[107,109,110,160],[71,91,92,160],[95,96,160],[55,71,86,160],[57,71,72,86,93,94,160],[56,88,89,90,91,160],[160,177],[160,192],[160,177,178,179,180,181],[160,177,179],[132,160,167],[133,160,167],[160,187],[160,188],[160,194,197],[117,160],[120,160],[121,126,160],[122,132,133,140,149,159,160],[122,123,132,140,160],[124,160],[125,126,133,141,160],[126,149,156,160],[127,129,132,140,160],[128,160],[129,130,160],[131,132,160],[132,160],[132,133,134,149,159,160],[132,133,134,149,160],[135,140,149,159,160],[132,133,135,136,140,149,156,159,160],[135,137,149,156,159,160],[117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166],[132,138,160],[139,159,160],[129,132,140,149,160],[141,160],[142,160],[120,143,160],[144,158,160,164],[145,160],[146,160],[132,147,160],[147,148,160,162],[132,149,150,151,160],[149,151,160],[149,150,160],[152,160],[153,160],[132,154,155,160],[154,155,160],[126,140,149,156,160],[157,160],[140,158,160],[121,135,146,159,160],[126,160],[149,160,161],[160,162],[160,163],[121,126,132,134,143,149,159,160,162,164],[149,160,165],[149,160,165,167],[160,205,244],[160,205,229,244],[160,244],[160,205],[160,205,230,244],[160,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243],[160,230,244],[149,160,167],[160,247],[160,190,196],[160,194],[160,191,195],[160,193],[52,53,54,57,72,73,97,98,99,103,105,108,111,175],[71],[55,56],[54],[55],[104],[106],[53],[57,169,170,171],[57],[56,169],[52],[110],[71,91],[55,71],[57,71,72],[56,91]],"referencedMap":[[101,1],[102,1],[100,2],[74,2],[79,3],[76,2],[80,2],[81,4],[82,5],[84,2],[86,6],[83,4],[78,3],[77,2],[85,2],[75,2],[67,7],[66,7],[68,7],[69,7],[70,8],[60,9],[58,2],[59,9],[71,10],[65,11],[64,9],[61,9],[62,9],[63,9],[88,12],[87,2],[116,2],[113,2],[112,2],[168,13],[115,14],[169,15],[114,2],[176,16],[55,2],[104,17],[57,18],[106,17],[52,2],[73,19],[53,2],[54,2],[56,2],[110,20],[109,20],[103,21],[105,22],[108,23],[98,24],[173,25],[175,26],[170,2],[174,27],[171,28],[172,29],[99,30],[111,31],[93,32],[89,2],[94,2],[72,17],[97,33],[90,2],[96,34],[95,35],[92,36],[91,2],[107,2],[179,37],[177,2],[190,2],[193,38],[192,2],[182,39],[178,37],[180,40],[181,37],[183,41],[184,2],[185,2],[186,42],[187,2],[188,43],[189,44],[198,45],[199,2],[200,2],[201,2],[202,2],[117,46],[118,46],[120,47],[121,48],[122,49],[123,50],[124,51],[125,52],[126,53],[127,54],[128,55],[129,56],[130,56],[131,57],[132,58],[133,59],[134,60],[119,2],[166,2],[135,61],[136,62],[137,63],[167,64],[138,65],[139,66],[140,67],[141,68],[142,69],[143,70],[144,71],[145,72],[146,73],[147,74],[148,75],[149,76],[151,77],[150,78],[152,79],[153,80],[154,81],[155,82],[156,83],[157,84],[158,85],[159,86],[160,87],[161,88],[162,89],[163,90],[164,91],[165,92],[203,2],[204,93],[229,94],[230,95],[205,96],[208,96],[227,94],[228,94],[218,94],[217,97],[215,94],[210,94],[223,94],[221,94],[225,94],[209,94],[222,94],[226,94],[211,94],[212,94],[224,94],[206,94],[213,94],[214,94],[216,94],[220,94],[231,98],[219,94],[207,94],[244,99],[243,2],[238,98],[240,100],[239,98],[232,98],[233,98],[235,98],[237,98],[241,100],[242,100],[234,100],[236,100],[245,2],[246,101],[247,2],[248,102],[191,2],[197,103],[195,104],[196,105],[194,106],[49,2],[50,2],[10,2],[8,2],[9,2],[14,2],[13,2],[2,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[3,2],[23,2],[4,2],[24,2],[28,2],[25,2],[26,2],[27,2],[29,2],[30,2],[31,2],[5,2],[51,2],[32,2],[33,2],[34,2],[35,2],[6,2],[39,2],[36,2],[37,2],[38,2],[40,2],[7,2],[41,2],[46,2],[47,2],[42,2],[43,2],[44,2],[45,2],[1,2],[48,2],[12,2],[11,2]],"exportedModulesMap":[[101,1],[102,1],[100,2],[74,2],[79,3],[76,2],[80,2],[81,4],[82,5],[84,2],[86,6],[83,4],[78,3],[77,2],[85,2],[75,2],[67,7],[66,7],[68,7],[69,7],[70,8],[60,9],[58,2],[59,9],[71,10],[65,11],[64,9],[61,9],[62,9],[63,9],[88,12],[87,2],[116,2],[113,2],[112,2],[168,13],[115,14],[169,15],[114,2],[176,107],[104,108],[57,109],[106,108],[73,110],[110,111],[109,111],[105,112],[108,113],[98,114],[173,115],[175,26],[174,116],[171,116],[172,117],[99,118],[111,119],[93,120],[72,108],[97,33],[96,121],[95,122],[92,123],[179,37],[177,2],[190,2],[193,38],[192,2],[182,39],[178,37],[180,40],[181,37],[183,41],[184,2],[185,2],[186,42],[187,2],[188,43],[189,44],[198,45],[199,2],[200,2],[201,2],[202,2],[117,46],[118,46],[120,47],[121,48],[122,49],[123,50],[124,51],[125,52],[126,53],[127,54],[128,55],[129,56],[130,56],[131,57],[132,58],[133,59],[134,60],[119,2],[166,2],[135,61],[136,62],[137,63],[167,64],[138,65],[139,66],[140,67],[141,68],[142,69],[143,70],[144,71],[145,72],[146,73],[147,74],[148,75],[149,76],[151,77],[150,78],[152,79],[153,80],[154,81],[155,82],[156,83],[157,84],[158,85],[159,86],[160,87],[161,88],[162,89],[163,90],[164,91],[165,92],[203,2],[204,93],[229,94],[230,95],[205,96],[208,96],[227,94],[228,94],[218,94],[217,97],[215,94],[210,94],[223,94],[221,94],[225,94],[209,94],[222,94],[226,94],[211,94],[212,94],[224,94],[206,94],[213,94],[214,94],[216,94],[220,94],[231,98],[219,94],[207,94],[244,99],[243,2],[238,98],[240,100],[239,98],[232,98],[233,98],[235,98],[237,98],[241,100],[242,100],[234,100],[236,100],[245,2],[246,101],[247,2],[248,102],[191,2],[197,103],[195,104],[196,105],[194,106],[49,2],[50,2],[10,2],[8,2],[9,2],[14,2],[13,2],[2,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[3,2],[23,2],[4,2],[24,2],[28,2],[25,2],[26,2],[27,2],[29,2],[30,2],[31,2],[5,2],[51,2],[32,2],[33,2],[34,2],[35,2],[6,2],[39,2],[36,2],[37,2],[38,2],[40,2],[7,2],[41,2],[46,2],[47,2],[42,2],[43,2],[44,2],[45,2],[1,2],[48,2],[12,2],[11,2]],"semanticDiagnosticsPerFile":[101,102,100,74,79,76,80,81,82,84,86,83,78,77,85,75,67,66,68,69,70,60,58,59,71,65,64,61,62,63,88,87,116,113,112,168,115,169,114,176,55,104,57,106,52,73,53,54,56,110,109,103,105,108,98,173,175,170,174,171,172,99,111,93,89,94,72,97,90,96,95,92,91,107,179,177,190,193,192,182,178,180,181,183,184,185,186,187,188,189,198,199,200,201,202,117,118,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,119,166,135,136,137,167,138,139,140,141,142,143,144,145,146,147,148,149,151,150,152,153,154,155,156,157,158,159,160,161,162,163,164,165,203,204,229,230,205,208,227,228,218,217,215,210,223,221,225,209,222,226,211,212,224,206,213,214,216,220,231,219,207,244,243,238,240,239,232,233,235,237,241,242,234,236,245,246,247,248,191,197,195,196,194,49,50,10,8,9,14,13,2,15,16,17,18,19,20,21,22,3,23,4,24,28,25,26,27,29,30,31,5,51,32,33,34,35,6,39,36,37,38,40,7,41,46,47,42,43,44,45,1,48,12,11]},"version":"5.4.2"}
1
+ {"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.dom.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/typescript/lib/lib.es2018.full.d.ts","../src/models/resource-header.ts","../src/models/resource-map.ts","../src/models/resource-type.ts","../../image/dist/image-data-like.d.ts","../../image/dist/indexed-pixel-data.d.ts","../../image/dist/image-filter.d.ts","../../color/dist/palettes/cga-palette.d.ts","../../color/dist/palettes/true-cga-palette.d.ts","../../color/dist/palettes/colly-soft-palette.d.ts","../../color/dist/palettes/dga-palette.d.ts","../../color/dist/palettes/index.d.ts","../../color/dist/ibm-5153-contrast.d.ts","../../color/dist/rgba.d.ts","../../color/dist/red-mean-diff.d.ts","../../color/dist/delta-e.d.ts","../../color/dist/dither-pair.d.ts","../../color/dist/dither-transform.d.ts","../../color/dist/generate-sci-dither-pairs.d.ts","../../color/dist/to-grayscale.d.ts","../../color/dist/index.d.ts","../../image/dist/dither-filter.d.ts","../../image/dist/palette-filter.d.ts","../../image/dist/render-pixel-data.d.ts","../../image/dist/index.d.ts","../src/models/cel.ts","../src/models/vec2.ts","../src/models/draw-command.ts","../src/models/resource-id.ts","../../numeric-deque/dist/numeric-deque.d.ts","../../numeric-deque/dist/index.d.ts","../src/screen/circles.ts","../src/screen/noise.ts","../src/screen/screen.ts","../src/screen/sci0-screen-impl.ts","../src/screen/screen-buffer.ts","../src/screen/default-palette.ts","../src/screen/render-pic.ts","../src/screen/index.ts","../src/parsers/mapping.ts","../src/parsers/resource-header.ts","../../codecs/dist/shared.d.ts","../../codecs/dist/huffman.d.ts","../../codecs/dist/lzw.d.ts","../src/parsers/compression.ts","../src/models/cursor.ts","../src/parsers/cursor.ts","../src/models/font-face.ts","../src/utils/repeat.ts","../src/parsers/font.ts","../src/parsers/cel.ts","../src/models/view.ts","../src/parsers/view.ts","../../readers/dist/bit-reader.d.ts","../../readers/dist/bit-reader-options.d.ts","../../readers/dist/typed-array.d.ts","../../readers/dist/create-bit-reader.d.ts","../../readers/dist/async-bit-reader.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../readers/dist/byte-reader.d.ts","../../readers/dist/index.d.ts","../src/parsers/pic/op-codes.ts","../src/parsers/pic/pic-state.ts","../src/parsers/pic/points.ts","../src/parsers/pic/handlers.ts","../src/parsers/pic/parser.ts","../src/parsers/pic/index.ts","../src/index.ts","../../../node_modules/@babel/types/lib/index.d.ts","../../../node_modules/@types/babel__generator/index.d.ts","../../../node_modules/@babel/parser/typings/babel-parser.d.ts","../../../node_modules/@types/babel__template/index.d.ts","../../../node_modules/@types/babel__traverse/index.d.ts","../../../node_modules/@types/babel__core/index.d.ts","../../../node_modules/@types/cli-progress/index.d.ts","../../../node_modules/@types/columnify/index.d.ts","../../../node_modules/@types/expand-tilde/index.d.ts","../../../node_modules/@types/graceful-fs/index.d.ts","../../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../../node_modules/@types/istanbul-lib-report/index.d.ts","../../../node_modules/@types/istanbul-reports/index.d.ts","../../../node_modules/@jest/expect-utils/build/index.d.ts","../../../node_modules/chalk/index.d.ts","../../../node_modules/@sinclair/typebox/typebox.d.ts","../../../node_modules/@jest/schemas/build/index.d.ts","../../../node_modules/pretty-format/build/index.d.ts","../../../node_modules/jest-diff/build/index.d.ts","../../../node_modules/jest-matcher-utils/build/index.d.ts","../../../node_modules/expect/build/index.d.ts","../../../node_modules/@types/jest/index.d.ts","../../../node_modules/@types/json-schema/index.d.ts","../../../node_modules/@types/json5/index.d.ts","../../../node_modules/@types/minimatch/index.d.ts","../../../node_modules/@types/minimist/index.d.ts","../../../node_modules/@types/normalize-package-data/index.d.ts","../../../node_modules/@types/pngjs/index.d.ts","../../../node_modules/@types/semver/classes/semver.d.ts","../../../node_modules/@types/semver/functions/parse.d.ts","../../../node_modules/@types/semver/functions/valid.d.ts","../../../node_modules/@types/semver/functions/clean.d.ts","../../../node_modules/@types/semver/functions/inc.d.ts","../../../node_modules/@types/semver/functions/diff.d.ts","../../../node_modules/@types/semver/functions/major.d.ts","../../../node_modules/@types/semver/functions/minor.d.ts","../../../node_modules/@types/semver/functions/patch.d.ts","../../../node_modules/@types/semver/functions/prerelease.d.ts","../../../node_modules/@types/semver/functions/compare.d.ts","../../../node_modules/@types/semver/functions/rcompare.d.ts","../../../node_modules/@types/semver/functions/compare-loose.d.ts","../../../node_modules/@types/semver/functions/compare-build.d.ts","../../../node_modules/@types/semver/functions/sort.d.ts","../../../node_modules/@types/semver/functions/rsort.d.ts","../../../node_modules/@types/semver/functions/gt.d.ts","../../../node_modules/@types/semver/functions/lt.d.ts","../../../node_modules/@types/semver/functions/eq.d.ts","../../../node_modules/@types/semver/functions/neq.d.ts","../../../node_modules/@types/semver/functions/gte.d.ts","../../../node_modules/@types/semver/functions/lte.d.ts","../../../node_modules/@types/semver/functions/cmp.d.ts","../../../node_modules/@types/semver/functions/coerce.d.ts","../../../node_modules/@types/semver/classes/comparator.d.ts","../../../node_modules/@types/semver/classes/range.d.ts","../../../node_modules/@types/semver/functions/satisfies.d.ts","../../../node_modules/@types/semver/ranges/max-satisfying.d.ts","../../../node_modules/@types/semver/ranges/min-satisfying.d.ts","../../../node_modules/@types/semver/ranges/to-comparators.d.ts","../../../node_modules/@types/semver/ranges/min-version.d.ts","../../../node_modules/@types/semver/ranges/valid.d.ts","../../../node_modules/@types/semver/ranges/outside.d.ts","../../../node_modules/@types/semver/ranges/gtr.d.ts","../../../node_modules/@types/semver/ranges/ltr.d.ts","../../../node_modules/@types/semver/ranges/intersects.d.ts","../../../node_modules/@types/semver/ranges/simplify.d.ts","../../../node_modules/@types/semver/ranges/subset.d.ts","../../../node_modules/@types/semver/internals/identifiers.d.ts","../../../node_modules/@types/semver/index.d.ts","../../../node_modules/@types/stack-utils/index.d.ts","../../../node_modules/@types/through2/index.d.ts","../../../node_modules/@types/yargs-parser/index.d.ts","../../../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"824cb491a40f7e8fdeb56f1df5edf91b23f3e3ee6b4cde84d4a99be32338faee","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"87d693a4920d794a73384b3c779cadcb8548ac6945aa7a925832fe2418c9527a","affectsGlobalScope":true,"impliedFormat":1},{"version":"76f838d5d49b65de83bc345c04aa54c62a3cfdb72a477dc0c0fce89a30596c30","affectsGlobalScope":true,"impliedFormat":1},{"version":"73e370058f82add1fdbc78ef3d1aab110108f2d5d9c857cb55d3361982347ace","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"138fb588d26538783b78d1e3b2c2cc12d55840b97bf5e08bca7f7a174fbe2f17","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true,"impliedFormat":1},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true,"impliedFormat":1},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true,"impliedFormat":1},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true,"impliedFormat":1},{"version":"b20fe0eca9a4e405f1a5ae24a2b3290b37cf7f21eba6cbe4fc3fab979237d4f3","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"49ed889be54031e1044af0ad2c603d627b8bda8b50c1a68435fe85583901d072","affectsGlobalScope":true,"impliedFormat":1},{"version":"e93d098658ce4f0c8a0779e6cab91d0259efb88a318137f686ad76f8410ca270","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true,"impliedFormat":1},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true,"impliedFormat":1},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true,"impliedFormat":1},{"version":"8073890e29d2f46fdbc19b8d6d2eb9ea58db9a2052f8640af20baff9afbc8640","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"13f6e6380c78e15e140243dc4be2fa546c287c6d61f4729bc2dd7cf449605471","affectsGlobalScope":true,"impliedFormat":1},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"95f1023b824c2c511c48f1201e2d1188bcb0ca1138a309a870b956d2e92e44ab","impliedFormat":1},{"version":"84262150e685c00b3784caffbff174fdca009ca885af27bc3e8562b12877050b","signature":"4463f618791255fd325533319f66595b21f0c4e74b072eaa63b1fbab5b564026","impliedFormat":1},{"version":"956dcd3ad5937fd81f395c73626960bf5e2ccfa032b3be5ef33915a27f5c2a60","signature":"7715a14e89ecca02425c6788e7b0332c50e2fd9e604cd66dc3744e4dc314a078","impliedFormat":1},{"version":"90a264f8f5a72b8514ef273df6a6f499ebc1ec9c8136d40fff2c42a0b0d2b852","signature":"59238e490da3c407a5a1f451731c489af25adb5c488114b49ece64c6dd3e6449","impliedFormat":1},{"version":"966f056ebe72b9837610a3ae01ec9347180a809367aa7a293960926f705168c2","impliedFormat":1},{"version":"0c1f44637600972d33677d52632a72d66c5aa3fb95617349128854335acc40df","impliedFormat":1},{"version":"29540a4d1e1de7ed8c1695ba9f02bd1dc692876776a2c12ed8baa9c6045e0a2b","impliedFormat":1},{"version":"1ef067f412b9522d68f2d91e80101a8cb9fc61b7bf3e77eee5ef3d5093590d80","impliedFormat":1},{"version":"53f113de3ad81fa30502b308e01184bb5bd43cefbac01708a13d42dc2c797d36","impliedFormat":1},{"version":"4e8cc940cf260dbba14214900d0c6c6e5b4baca87b9d1fca26966d298813c0fe","impliedFormat":1},{"version":"ac94d807a1f50cb7a91b6c6955053631760ae013953bb248254a00ea30efea53","impliedFormat":1},{"version":"e0ea30630363a32a33162935b07fee3ff3a3c68aab6ccd4e88b1209ed1c26649","impliedFormat":1},{"version":"1f26d9b96afdc94c316cf80d81fcb738ade487904b09b63023426a904dad28b3","impliedFormat":1},{"version":"c0ae93dcc900c0b315aa24fa199be41a0fb6c42ca6c163f7fd465e3c73f7191e","impliedFormat":1},{"version":"e71a8c03346f55366f9a3c97fb741e5f04ea42cd410c803a269ac36388030135","impliedFormat":1},{"version":"88bd045b42de48e787820d524a08d44f6fb80e263cbe6ffcfeae8f4aa4aa39d1","impliedFormat":1},{"version":"d66e0f949adbb090a9dac1ede8cc30a6fac008337cff5fb639e65b7f455fc8ef","impliedFormat":1},{"version":"948f71d774b9a1f26e65bf31e98f7a496c950545f65ac1a02efdb5a069425f21","impliedFormat":1},{"version":"612758c2d8a1b3be83fd212e89a8261b646be05d7b98a171d81b99d56d607398","impliedFormat":1},{"version":"dbe05245abd840f479bd6c72a58ff59502925242a896fdfe908977645fccc338","impliedFormat":1},{"version":"790fced807134f2a01dc0f506a1246191a9c3a08b38d5cd33d731e3495b483ab","impliedFormat":1},{"version":"3df9c868676b1070679b6de2a5be1c99b7fbe914fd4db60e7282b3e0ab0c0d22","impliedFormat":1},{"version":"9ef6ad52e622409b72aa48db18ec53ba0422c9c89af12019783d8bb374fc5c6e","impliedFormat":1},{"version":"9bb6489557890cef5e623d866c1ae6833fabe2741ca53c08519ca04103c1fc39","impliedFormat":1},{"version":"53e392436fbab101e788d7f2936ca23d6f8501e195dbbd5d6421d8528cbf1106","impliedFormat":1},{"version":"dbd40c1f1211397825616b5dfce6b0740442fe6aba2a93595150ff12cecd0af9","signature":"9b6605e3b54ecbdbcaedc8ce1a6764405d6d2e3440819630cc76ea04bfe73f1e","impliedFormat":1},{"version":"f1cea97930ea24f1182dfa46b3f509700c0d13e752af114c9b6ae3203320790a","signature":"f1f44bb2304b5f9954632bff7027821701818a087ee92b831767be8bc62fee3f","impliedFormat":1},{"version":"9f9d9e2954f8fb62c6625ec1f50e387424606ddfc2acd055ded79d435a410000","signature":"8ce14b0a5c49b1b7eb1141ad62567bd21fe30c7daa1ffe32ba7a98a567273583","impliedFormat":1},{"version":"c5a731c403086d8ee2f818194c05d6c5724feb623806048318241aed8e9bbbb3","signature":"3cb322004419c2a1eb2d10e9d00483ddf10a85117ed874a256cb2ec8370b8ce3","impliedFormat":1},{"version":"d61792ec9e2e502c06ad41f33df2bbce509ad22ab9450f0314e16ba082c8d08c","impliedFormat":1},{"version":"2a709c43cb7a76b169fe263764d8dbc18097b8b86ba8210d76d9cd4023abb325","impliedFormat":1},{"version":"25c32c53025d96a4ee0f9b8fea2aaee819e5eb4d7ad27e33b193fa98c9678c32","signature":"d9dc66dcd59912c35945d10df79339fee79798dca9097a574a5acbfb21d28599","impliedFormat":1},{"version":"c260da830617f35f3f6ff1cd5eea15faba534ce688400817c29d2d2fee272621","signature":"41fcdbf982b82e63a9dccad36d31f0a6c854878972fc9c2671664cbb501138d4","impliedFormat":1},{"version":"b5c6c6d627455e08d4537ebf771a8ea492f01dcdf9073687c09dda459a0a7b7e","signature":"344214287be164f0e980277e6fe7a5d08c0e92b72a9e566750b0627482c741e5","impliedFormat":1},{"version":"0601552f328313512e824600ac362f5eceb256e78777d4f5dc79109f093fbb3b","signature":"1fa8261db3828325e7f6e8e337f3afbf03a8e38fbdf1b9e09f0fea5c58f75232","impliedFormat":1},{"version":"a27b86391646ea8f9935262e0e68482d7cc6c446c8f04543e5c51fff676fd636","signature":"7f5182e487151e5d36ad8edef1cbb0c8d937ad3241a5cda002089f1e7628c4fd","impliedFormat":1},{"version":"f4cfc0d2be917ec3525542053170077016131024e12a80e28cf256921449e1bd","signature":"9b83897677d9e9cb3f2961baa19cf19999a15c2a27c085a4ec025caeb23977db","impliedFormat":1},{"version":"250f702ea7e393d1c7587057cbce90aa119dababc429c9ed2a017b4f9e52df83","signature":"e17612c7859b4cea20aaf4da0447697ef455dfc8069cb955f0ac71b66559145b","impliedFormat":1},{"version":"03185c2cfb42a1a77053fa00e8551412bb47fab71b59910538134593e9c05f6f","impliedFormat":1},{"version":"d9b46eda5b9931b8c01af32ddb45c53042b76b8c2162f0881ac5ea10cf3b9aa1","signature":"39b3e5c519a1525af059deda1a004afcab50609c019754b8ea808929881ca1f1","impliedFormat":1},{"version":"dd5e23862e9694fae51d6939fc74519a7a434e2b9c1225f89a9a3fb42acb815d","signature":"4e28abd87409fadea7a87bc648ea0ac967ad9c908bc66011b19a917bbf4e0c41","impliedFormat":1},{"version":"f7394eafbbd3382c3fe8bcd0db893c66a7f99358a8b80b6ccafb59ba97e71da9","impliedFormat":1},{"version":"6fc9bbb9bec4ca352f671847050b85a48fe88ec1088a9693e9a1a46425d622ff","impliedFormat":1},{"version":"6da88a4f11ff14ca90fa8aaa4775fdc477d5c387fa8e6531adc4489f207b8a6a","impliedFormat":1},{"version":"13850ac2d1422a8ea66b3ccb18c2caf112ef49fba3dbf186a094fcc3237f270d","signature":"0b7cf32145a98ac3a7006dcc4a2adb38e0555e7a6e4c1fef69501173ef234564","impliedFormat":1},{"version":"17e2b1d71ecb9b33f6d73531e1ffa50330cc67f3a76f8711613b8734a4cacf99","signature":"30bdec16be05da0c26571ddb86b871acec317914bdbccd03152cf2d729c73867","impliedFormat":1},{"version":"d92cecaaf37607e7ba2232ab5424f8ee5987393535cc7da87c35467aa9ff6f9f","signature":"5a1b71fcf5c09d3545d38f97b38e4b75dcc98d47ee707cbb56aa71217bdc8f66","impliedFormat":1},{"version":"293b0d2b440c905c97b29748469019e4682f9293cd52eab66e87ef59a8970c94","signature":"7253b54af4864c44cf622e876befdd400cb925267174363df0962443f3ada530","impliedFormat":1},{"version":"959b0f8a7159d6883db9dc233ea7ffbb4c97603a6cc649e4cf0f1f3285587c6f","signature":"6e2bd81b0a6b8244316538c35bd28ed16152aaadb127a4f398035b83799e6332","impliedFormat":1},{"version":"f761962437082fe85ac7a5b947f4d79fbcf91b0be67f60ee4677b714791ca428","signature":"2d9faf05ebdf6afb9b48836c2c1fb0b0cb7947fea54070f1751730e94cad0707","impliedFormat":1},{"version":"f6b7558415b247109f5b8bcd567360ed74c39381719ab47db7dfeb81b23ab78f","signature":"046bef1774d16131116507bda40c17fa8e5163520fe418a0320c2c04fa9f615c","impliedFormat":1},{"version":"83f5c7456e00740bde18bad2364eeb8ee9cfc9db382a2fa3cb92dd81b0832284","signature":"947efdd47f4ffb3758b1b19498170a136180bbf79930a7ca5ac07ad8a272b139","impliedFormat":1},{"version":"be1a6765973065ce2206bffee03619ed13ae923f8f3350b0c3f487c141a77ea9","signature":"9809b3a4ab40d3f57443b5578b2f20de5a740f2b20257348112cad7bae058b7b","impliedFormat":1},{"version":"c1cf9eee1528f7a244a803bc200d9342b955a27290fb990fb64a390048ca0c51","impliedFormat":1},{"version":"0b8fe149e4f052afdf21b6021bf88abe7260cf23cc871615eb12841dea80af9b","impliedFormat":1},{"version":"e25d0306af431489ee181c56dc8b8a4c95cac276a576e872f96d15aeb9482ee0","impliedFormat":1},{"version":"19bc8ad93c20fbb0c2c164240009b05e714cac5dcb785260583156d9305cb249","impliedFormat":1},{"version":"10d0e79cf92e795accfd4bc6b2df6c4589feb3ebc0aaaba3997fc1df254eb2e4","impliedFormat":1},{"version":"0cba3a5d7b81356222594442753cf90dd2892e5ccfe1d262aaca6896ba6c1380","impliedFormat":1},{"version":"a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a","impliedFormat":1},{"version":"c2ab70bbc7a24c42a790890739dd8a0ba9d2e15038b40dff8163a97a5d148c00","affectsGlobalScope":true,"impliedFormat":1},{"version":"422dbb183fdced59425ca072c8bd09efaa77ce4e2ab928ec0d8a1ce062d2a45a","impliedFormat":1},{"version":"2a801b0322994c3dd7f0ef30265d19b3dd3bae6d793596879166ed6219c3da68","affectsGlobalScope":true,"impliedFormat":1},{"version":"1dab5ab6bcf11de47ab9db295df8c4f1d92ffa750e8f095e88c71ce4c3299628","impliedFormat":1},{"version":"f71f46ccd5a90566f0a37b25b23bc4684381ab2180bdf6733f4e6624474e1894","impliedFormat":1},{"version":"54e65985a3ee3cec182e6a555e20974ea936fc8b8d1738c14e8ed8a42bd921d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","impliedFormat":1},{"version":"bcc8caf03ee65fe8610d258752f255fbdddbb2e4de7b6c5628956a5a0d859ec8","impliedFormat":1},{"version":"34e5de87d983bc6aefef8b17658556e3157003e8d9555d3cb098c6bef0b5fbc8","impliedFormat":1},{"version":"cc0b61316c4f37393f1f9595e93b673f4184e9d07f4c127165a490ec4a928668","impliedFormat":1},{"version":"f27371653aded82b2b160f7a7033fb4a5b1534b6f6081ef7be1468f0f15327d3","impliedFormat":1},{"version":"c762cd6754b13a461c54b59d0ae0ab7aeef3c292c6cf889873f786ee4d8e75c9","impliedFormat":1},{"version":"f4ea7d5df644785bd9fbf419930cbaec118f0d8b4160037d2339b8e23c059e79","impliedFormat":1},{"version":"c28e5baab1b53377c90d12970e207a2644bc3627840066449e37e2a59125d07e","affectsGlobalScope":true,"impliedFormat":1},{"version":"7a5459efa09ea82088234e6533a203d528c594b01787fb90fba148885a36e8b6","impliedFormat":1},{"version":"ae97e20f2e10dbeec193d6a2f9cd9a367a1e293e7d6b33b68bacea166afd7792","impliedFormat":1},{"version":"fce6a1a1553ff7d54ffb8bb3ae488c9cb5f2f4f4e52212c1abe40f544819ef35","impliedFormat":1},{"version":"ad41bb744149e92adb06eb953da195115620a3f2ad48e7d3ae04d10762dae197","impliedFormat":1},{"version":"bf73c576885408d4a176f44a9035d798827cc5020d58284cb18d7573430d9022","impliedFormat":1},{"version":"7ae078ca42a670445ae0c6a97c029cb83d143d62abd1730efb33f68f0b2c0e82","impliedFormat":1},{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true,"impliedFormat":1},{"version":"5d0a9ea09d990b5788f867f1c79d4878f86f7384cb7dab38eecbf22f9efd063d","impliedFormat":1},{"version":"12eea70b5e11e924bb0543aea5eadc16ced318aa26001b453b0d561c2fd0bd1e","impliedFormat":1},{"version":"08777cd9318d294646b121838574e1dd7acbb22c21a03df84e1f2c87b1ad47f2","impliedFormat":1},{"version":"08a90bcdc717df3d50a2ce178d966a8c353fd23e5c392fd3594a6e39d9bb6304","impliedFormat":1},{"version":"8207e7e6db9aa5fc7e61c8f17ba74cf9c115d26f51f91ee93f790815a7ea9dfb","affectsGlobalScope":true,"impliedFormat":1},{"version":"2a12d2da5ac4c4979401a3f6eaafa874747a37c365e4bc18aa2b171ae134d21b","impliedFormat":1},{"version":"002b837927b53f3714308ecd96f72ee8a053b8aeb28213d8ec6de23ed1608b66","impliedFormat":1},{"version":"1dc9c847473bb47279e398b22c740c83ea37a5c88bf66629666e3cf4c5b9f99c","impliedFormat":1},{"version":"a9e4a5a24bf2c44de4c98274975a1a705a0abbaad04df3557c2d3cd8b1727949","impliedFormat":1},{"version":"00fa7ce8bc8acc560dc341bbfdf37840a8c59e6a67c9bfa3fa5f36254df35db2","impliedFormat":1},{"version":"1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","impliedFormat":1},{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true,"impliedFormat":1},{"version":"cfe724f7c694aab65a9bdd1acb05997848c504548c9d4c71645c187a091cfa2a","impliedFormat":1},{"version":"5f0ed51db151c2cdc4fa3bb0f44ce6066912ad001b607a34e65a96c52eb76248","impliedFormat":1},{"version":"3345c276cab0e76dda86c0fb79104ff915a4580ba0f3e440870e183b1baec476","affectsGlobalScope":true,"impliedFormat":1},{"version":"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","impliedFormat":1},{"version":"e383ff72aabf294913f8c346f5da1445ae6ad525836d28efd52cbadc01a361a6","impliedFormat":1},{"version":"f52fbf64c7e480271a9096763c4882d356b05cab05bf56a64e68a95313cd2ce2","impliedFormat":1},{"version":"59bdb65f28d7ce52ccfc906e9aaf422f8b8534b2d21c32a27d7819be5ad81df7","impliedFormat":1},{"version":"1835259a20b9fa6b1882931375b69ae5978195f2b139b4e0db51ec8319261649","impliedFormat":1},{"version":"b52cd693219a63dd21282ac99a7bf55f77cbe8a91f097968856419cc2e05f017","impliedFormat":1},{"version":"3aff9c8c36192e46a84afe7b926136d520487155154ab9ba982a8b544ea8fc95","impliedFormat":1},{"version":"a880cf8d85af2e4189c709b0fea613741649c0e40fffb4360ec70762563d5de0","impliedFormat":1},{"version":"85bbf436a15bbeda4db888be3062d47f99c66fd05d7c50f0f6473a9151b6a070","impliedFormat":1},{"version":"9f9c49c95ecd25e0cb2587751925976cf64fd184714cb11e213749c80cf0f927","impliedFormat":1},{"version":"f0c75c08a71f9212c93a719a25fb0320d53f2e50ca89a812640e08f8ad8c408c","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"267af67ea520cabd16402522756b19ac63d9e2c1c86e7c4d1ddeb991c32e12c9","impliedFormat":1},{"version":"15814a8b6bc106ed3c3389ab110a650f837605b77680dd19b67b31cfa4d0f529","impliedFormat":1},{"version":"c19ede4a7e25ff7631d53c9e46ceafb460074b76c52faaf0d7782e5cd1253446","impliedFormat":1},{"version":"d7087404bd1a4e438c77becd4a21cc13a65534ca51224e954f787e9e09b33970","signature":"e36d6b19a8118c1888ad582ea165b727dd392705a3a2d4632884f58f08ff2391","impliedFormat":1},{"version":"297a0fb7ed4bd878288dd2e31c5d7f1c60d5191ef29c5f327821b0bc2f64c55d","signature":"c9217d779de87affdfd1a0c5512167e6fc06ee2bcb985987542b08e4db621d33","impliedFormat":1},{"version":"7a07c624ad970ef808dd2b4a3e5136a4eabbeba3575c7ab2bdc40cab2ad4a1c6","signature":"7eec1925441d2e3144444cd7d59b2deed712004f4a3928569927eff9a735f2f9","impliedFormat":1},{"version":"e006f27b178624dfe86a8d3a1f731650cb51458ec29f4a310bbdd9e17a45a3e3","signature":"b0fcab3e0a12b6e87e1121486dfde06883b5020dd30ddcf48c4d8e9f017d6e7b","impliedFormat":1},{"version":"23cd4e0c75cb6de7214de81e72a3b5cac892d2476df76d16d9ef55cc1497ee15","signature":"3f0a545bed4b9610aaa866710bc8a6ee8714a3f07c5e8059d2f1853efc4fe3c2","impliedFormat":1},{"version":"8780b2d813736784da80ba71d640e468ec1be4648558710bd49a799b027bd9b5","impliedFormat":1},{"version":"40ca148d0d0de9de00530720a26cb96d181b0276bd84dac50ec4b0eba78482b6","signature":"d579d639c1881a28220836e79b6882d01d88b3b7a4cf27857105a1776532f41f","impliedFormat":1},{"version":"4489c6a9fde8934733aa7df6f7911461ee6e9e4ad092736bd416f6b2cc20b2c6","impliedFormat":1},{"version":"7a1f3d0b8dd0e869c58b44848d9f0be3592c3ff6dc77091e7130306f6d2907ed","impliedFormat":1},{"version":"8041cfce439ff29d339742389de04c136e3029d6b1817f07b2d7fcbfb7534990","impliedFormat":1},{"version":"670a76db379b27c8ff42f1ba927828a22862e2ab0b0908e38b671f0e912cc5ed","impliedFormat":1},{"version":"29a46d003ca3c721e6405f00dee7e3de91b14e09701eba5d887bf76fb2d47d38","impliedFormat":1},{"version":"069bebfee29864e3955378107e243508b163e77ab10de6a5ee03ae06939f0bb9","impliedFormat":1},{"version":"70b3cf5c5122849e757a21b3a4ec8cac43d06a133f161acf52189c38179badde","impliedFormat":1},{"version":"f4054ad0c9b4ce4e3f3a3a545be2388af5c1636d23c5adc663e1efbeeabf344d","impliedFormat":1},{"version":"cb290230e6c5d547a2791e709ebcdd52594cfc76221518081c1c22ae39b03c8b","impliedFormat":1},{"version":"afe73051ff6a03a9565cbd8ebb0e956ee3df5e913ad5c1ded64218aabfa3dcb5","impliedFormat":1},{"version":"035a5df183489c2e22f3cf59fc1ed2b043d27f357eecc0eb8d8e840059d44245","impliedFormat":1},{"version":"a4809f4d92317535e6b22b01019437030077a76fec1d93b9881c9ed4738fcc54","impliedFormat":1},{"version":"5f53fa0bd22096d2a78533f94e02c899143b8f0f9891a46965294ee8b91a9434","impliedFormat":1},{"version":"cdcc132f207d097d7d3aa75615ab9a2e71d6a478162dde8b67f88ea19f3e54de","impliedFormat":1},{"version":"0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","impliedFormat":1},{"version":"c085e9aa62d1ae1375794c1fb927a445fa105fed891a7e24edbb1c3300f7384a","impliedFormat":1},{"version":"f315e1e65a1f80992f0509e84e4ae2df15ecd9ef73df975f7c98813b71e4c8da","impliedFormat":1},{"version":"5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e","impliedFormat":1},{"version":"3e70a7e67c2cb16f8cd49097360c0309fe9d1e3210ff9222e9dac1f8df9d4fb6","impliedFormat":1},{"version":"ab68d2a3e3e8767c3fba8f80de099a1cfc18c0de79e42cb02ae66e22dfe14a66","impliedFormat":1},{"version":"d96cc6598148bf1a98fb2e8dcf01c63a4b3558bdaec6ef35e087fd0562eb40ec","impliedFormat":1},{"version":"5ab630d466ac55baa6d32820378098404fc18ba9da6f7bc5df30c5dbb1cffae8","affectsGlobalScope":true,"impliedFormat":1},{"version":"f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","impliedFormat":1},{"version":"96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","impliedFormat":1},{"version":"8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","impliedFormat":1},{"version":"fbca5ffaebf282ec3cdac47b0d1d4a138a8b0bb32105251a38acb235087d3318","impliedFormat":1},{"version":"22293bd6fa12747929f8dfca3ec1684a3fe08638aa18023dd286ab337e88a592","impliedFormat":1},{"version":"90ac19cb97ae85c7ccfd0c04322b02ce088bda9de7b42cc081cbb3674fe5446d","impliedFormat":1},{"version":"cf3d384d082b933d987c4e2fe7bfb8710adfd9dc8155190056ed6695a25a559e","impliedFormat":1},{"version":"9871b7ee672bc16c78833bdab3052615834b08375cb144e4d2cba74473f4a589","impliedFormat":1},{"version":"c863198dae89420f3c552b5a03da6ed6d0acfa3807a64772b895db624b0de707","impliedFormat":1},{"version":"8b03a5e327d7db67112ebbc93b4f744133eda2c1743dbb0a990c61a8007823ef","impliedFormat":1},{"version":"86c73f2ee1752bac8eeeece234fd05dfcf0637a4fbd8032e4f5f43102faa8eec","impliedFormat":1},{"version":"42fad1f540271e35ca37cecda12c4ce2eef27f0f5cf0f8dd761d723c744d3159","impliedFormat":1},{"version":"ff3743a5de32bee10906aff63d1de726f6a7fd6ee2da4b8229054dfa69de2c34","impliedFormat":1},{"version":"83acd370f7f84f203e71ebba33ba61b7f1291ca027d7f9a662c6307d74e4ac22","impliedFormat":1},{"version":"1445cec898f90bdd18b2949b9590b3c012f5b7e1804e6e329fb0fe053946d5ec","impliedFormat":1},{"version":"0e5318ec2275d8da858b541920d9306650ae6ac8012f0e872fe66eb50321a669","impliedFormat":1},{"version":"cf530297c3fb3a92ec9591dd4fa229d58b5981e45fe6702a0bd2bea53a5e59be","impliedFormat":1},{"version":"c1f6f7d08d42148ddfe164d36d7aba91f467dbcb3caa715966ff95f55048b3a4","impliedFormat":1},{"version":"f4e9bf9103191ef3b3612d3ec0044ca4044ca5be27711fe648ada06fad4bcc85","impliedFormat":1},{"version":"0c1ee27b8f6a00097c2d6d91a21ee4d096ab52c1e28350f6362542b55380059a","impliedFormat":1},{"version":"7677d5b0db9e020d3017720f853ba18f415219fb3a9597343b1b1012cfd699f7","impliedFormat":1},{"version":"bc1c6bc119c1784b1a2be6d9c47addec0d83ef0d52c8fbe1f14a51b4dfffc675","impliedFormat":1},{"version":"52cf2ce99c2a23de70225e252e9822a22b4e0adb82643ab0b710858810e00bf1","impliedFormat":1},{"version":"770625067bb27a20b9826255a8d47b6b5b0a2d3dfcbd21f89904c731f671ba77","impliedFormat":1},{"version":"d1ed6765f4d7906a05968fb5cd6d1db8afa14dbe512a4884e8ea5c0f5e142c80","impliedFormat":1},{"version":"799c0f1b07c092626cf1efd71d459997635911bb5f7fc1196efe449bba87e965","impliedFormat":1},{"version":"2a184e4462b9914a30b1b5c41cf80c6d3428f17b20d3afb711fff3f0644001fd","impliedFormat":1},{"version":"9eabde32a3aa5d80de34af2c2206cdc3ee094c6504a8d0c2d6d20c7c179503cc","impliedFormat":1},{"version":"397c8051b6cfcb48aa22656f0faca2553c5f56187262135162ee79d2b2f6c966","impliedFormat":1},{"version":"a8ead142e0c87dcd5dc130eba1f8eeed506b08952d905c47621dc2f583b1bff9","impliedFormat":1},{"version":"a02f10ea5f73130efca046429254a4e3c06b5475baecc8f7b99a0014731be8b3","impliedFormat":1},{"version":"c2576a4083232b0e2d9bd06875dd43d371dee2e090325a9eac0133fd5650c1cb","impliedFormat":1},{"version":"4c9a0564bb317349de6a24eb4efea8bb79898fa72ad63a1809165f5bd42970dd","impliedFormat":1},{"version":"f40ac11d8859092d20f953aae14ba967282c3bb056431a37fced1866ec7a2681","impliedFormat":1},{"version":"cc11e9e79d4746cc59e0e17473a59d6f104692fd0eeea1bdb2e206eabed83b03","impliedFormat":1},{"version":"b444a410d34fb5e98aa5ee2b381362044f4884652e8bc8a11c8fe14bbd85518e","impliedFormat":1},{"version":"c35808c1f5e16d2c571aa65067e3cb95afeff843b259ecfa2fc107a9519b5392","impliedFormat":1},{"version":"14d5dc055143e941c8743c6a21fa459f961cbc3deedf1bfe47b11587ca4b3ef5","impliedFormat":1},{"version":"a3ad4e1fc542751005267d50a6298e6765928c0c3a8dce1572f2ba6ca518661c","impliedFormat":1},{"version":"f237e7c97a3a89f4591afd49ecb3bd8d14f51a1c4adc8fcae3430febedff5eb6","impliedFormat":1},{"version":"3ffdfbec93b7aed71082af62b8c3e0cc71261cc68d796665faa1e91604fbae8f","impliedFormat":1},{"version":"662201f943ed45b1ad600d03a90dffe20841e725203ced8b708c91fcd7f9379a","impliedFormat":1},{"version":"c9ef74c64ed051ea5b958621e7fb853fe3b56e8787c1587aefc6ea988b3c7e79","impliedFormat":1},{"version":"2462ccfac5f3375794b861abaa81da380f1bbd9401de59ffa43119a0b644253d","impliedFormat":1},{"version":"34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","impliedFormat":1},{"version":"7d8ddf0f021c53099e34ee831a06c394d50371816caa98684812f089b4c6b3d4","impliedFormat":1},{"version":"ab82804a14454734010dcdcd43f564ff7b0389bee4c5692eec76ff5b30d4cf66","impliedFormat":1},{"version":"2cb91e85af2e2a3956a6d5614ffce76abc80705fef2c1e472c4fd75c196c892b","impliedFormat":1},{"version":"bae8d023ef6b23df7da26f51cea44321f95817c190342a36882e93b80d07a960","impliedFormat":1},{"version":"8495c63868f001b156fdeb6382ddd63dc6b2c9b91529ce08019caf312da37c59","impliedFormat":1}],"root":[[52,54],[76,79],[82,91],[95,103],[162,168]],"options":{"declaration":true,"declarationMap":true,"esModuleInterop":true,"module":100,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"target":5,"tsBuildInfoFile":"./.tscache"},"fileIdsList":[[92,152],[152],[64,152],[67,152],[67,68,152],[62,63,65,66,67,68,69,70,152],[58,59,60,61,152],[57,71,152],[55,56,152],[55,56,57,72,73,74,152],[57,152],[55,56,57,152],[80,152],[126,152,159],[104,105,106,152],[104,107,108,152,160],[52,53,54,78,79,89,90,91,95,97,100,103,152,167],[75,152],[76,77,152],[54,152],[76,152],[75,76,152],[93,94,152],[75,96,152],[75,98,99,152],[53,152],[77,78,99,101,152,161,162,163,164],[152,166],[78,152,161,162,163,165],[78,152],[77,152,161],[52,152],[99,101,102,152],[88,152],[75,78,86,87,152],[77,81,82,83,84,152],[75,84,85,152],[152,169],[152,184],[152,169,170,171,172,173],[152,169,171],[124,152,159],[125,152,159],[152,179],[152,180],[152,186,189],[109,152],[112,152],[113,118,152],[114,124,125,132,141,151,152],[114,115,124,132,152],[116,152],[117,118,125,133,152],[118,141,148,152],[119,121,124,132,152],[120,152],[121,122,152],[123,124,152],[124,152],[124,125,126,141,151,152],[124,125,126,141,152],[127,132,141,151,152],[124,125,127,128,132,141,148,151,152],[127,129,141,148,151,152],[109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158],[124,130,152],[131,151,152],[121,124,132,141,152],[133,152],[134,152],[112,135,152],[136,150,152,156],[137,152],[138,152],[124,139,152],[139,140,152,154],[124,141,142,143,152],[141,143,152],[141,142,152],[144,152],[145,152],[124,146,147,152],[146,147,152],[118,132,141,148,152],[149,152],[132,150,152],[113,127,138,151,152],[118,152],[141,152,153],[152,154],[152,155],[113,118,124,126,135,141,151,152,154,156],[141,152,157],[141,152,157,159],[152,197,236],[152,197,221,236],[152,236],[152,197],[152,197,222,236],[152,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235],[152,222,236],[141,152,159],[152,239],[152,182,188],[152,186],[152,183,187],[152,185],[52,53,54,78,79,89,90,91,95,97,100,103,167],[75],[76,77],[54],[76],[96],[98],[53],[78,161,162,163],[78],[77,161],[52],[102],[75,78],[77,84],[75,84]],"referencedMap":[[93,1],[94,1],[92,2],[66,3],[67,2],[68,4],[69,5],[63,2],[71,6],[58,2],[60,2],[61,2],[62,7],[59,2],[65,3],[64,2],[70,2],[72,8],[55,2],[57,9],[75,10],[56,2],[73,11],[74,12],[81,13],[80,2],[108,2],[105,2],[104,2],[160,14],[107,15],[161,16],[106,2],[168,17],[76,18],[96,18],[78,19],[98,18],[52,2],[79,20],[53,2],[54,2],[77,2],[102,21],[101,22],[95,23],[97,24],[100,25],[90,26],[165,27],[167,28],[162,2],[166,29],[163,30],[164,31],[91,32],[103,33],[82,2],[87,2],[89,34],[83,2],[88,35],[85,36],[86,37],[84,2],[99,2],[171,38],[169,2],[182,2],[185,39],[184,2],[174,40],[170,38],[172,41],[173,38],[175,42],[176,2],[177,2],[178,43],[179,2],[180,44],[181,45],[190,46],[191,2],[192,2],[193,2],[194,2],[109,47],[110,47],[112,48],[113,49],[114,50],[115,51],[116,52],[117,53],[118,54],[119,55],[120,56],[121,57],[122,57],[123,58],[124,59],[125,60],[126,61],[111,2],[158,2],[127,62],[128,63],[129,64],[159,65],[130,66],[131,67],[132,68],[133,69],[134,70],[135,71],[136,72],[137,73],[138,74],[139,75],[140,76],[141,77],[143,78],[142,79],[144,80],[145,81],[146,82],[147,83],[148,84],[149,85],[150,86],[151,87],[152,88],[153,89],[154,90],[155,91],[156,92],[157,93],[195,2],[196,94],[221,95],[222,96],[197,97],[200,97],[219,95],[220,95],[210,95],[209,98],[207,95],[202,95],[215,95],[213,95],[217,95],[201,95],[214,95],[218,95],[203,95],[204,95],[216,95],[198,95],[205,95],[206,95],[208,95],[212,95],[223,99],[211,95],[199,95],[236,100],[235,2],[230,99],[232,101],[231,99],[224,99],[225,99],[227,99],[229,99],[233,101],[234,101],[226,101],[228,101],[237,2],[238,102],[239,2],[240,103],[183,2],[189,104],[187,105],[188,106],[186,107],[49,2],[50,2],[10,2],[8,2],[9,2],[14,2],[13,2],[2,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[3,2],[23,2],[4,2],[24,2],[28,2],[25,2],[26,2],[27,2],[29,2],[30,2],[31,2],[5,2],[51,2],[32,2],[33,2],[34,2],[35,2],[6,2],[39,2],[36,2],[37,2],[38,2],[40,2],[7,2],[41,2],[46,2],[47,2],[42,2],[43,2],[44,2],[45,2],[1,2],[48,2],[12,2],[11,2]],"exportedModulesMap":[[93,1],[94,1],[92,2],[66,3],[67,2],[68,4],[69,5],[63,2],[71,6],[58,2],[60,2],[61,2],[62,7],[59,2],[65,3],[64,2],[70,2],[72,8],[55,2],[57,9],[75,10],[56,2],[73,11],[74,12],[81,13],[80,2],[108,2],[105,2],[104,2],[160,14],[107,15],[161,16],[106,2],[168,108],[76,109],[96,109],[78,110],[98,109],[79,111],[102,112],[101,112],[97,113],[100,114],[90,115],[165,116],[167,28],[166,117],[163,117],[164,118],[91,119],[103,120],[89,34],[88,121],[85,122],[86,123],[171,38],[169,2],[182,2],[185,39],[184,2],[174,40],[170,38],[172,41],[173,38],[175,42],[176,2],[177,2],[178,43],[179,2],[180,44],[181,45],[190,46],[191,2],[192,2],[193,2],[194,2],[109,47],[110,47],[112,48],[113,49],[114,50],[115,51],[116,52],[117,53],[118,54],[119,55],[120,56],[121,57],[122,57],[123,58],[124,59],[125,60],[126,61],[111,2],[158,2],[127,62],[128,63],[129,64],[159,65],[130,66],[131,67],[132,68],[133,69],[134,70],[135,71],[136,72],[137,73],[138,74],[139,75],[140,76],[141,77],[143,78],[142,79],[144,80],[145,81],[146,82],[147,83],[148,84],[149,85],[150,86],[151,87],[152,88],[153,89],[154,90],[155,91],[156,92],[157,93],[195,2],[196,94],[221,95],[222,96],[197,97],[200,97],[219,95],[220,95],[210,95],[209,98],[207,95],[202,95],[215,95],[213,95],[217,95],[201,95],[214,95],[218,95],[203,95],[204,95],[216,95],[198,95],[205,95],[206,95],[208,95],[212,95],[223,99],[211,95],[199,95],[236,100],[235,2],[230,99],[232,101],[231,99],[224,99],[225,99],[227,99],[229,99],[233,101],[234,101],[226,101],[228,101],[237,2],[238,102],[239,2],[240,103],[183,2],[189,104],[187,105],[188,106],[186,107],[49,2],[50,2],[10,2],[8,2],[9,2],[14,2],[13,2],[2,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[3,2],[23,2],[4,2],[24,2],[28,2],[25,2],[26,2],[27,2],[29,2],[30,2],[31,2],[5,2],[51,2],[32,2],[33,2],[34,2],[35,2],[6,2],[39,2],[36,2],[37,2],[38,2],[40,2],[7,2],[41,2],[46,2],[47,2],[42,2],[43,2],[44,2],[45,2],[1,2],[48,2],[12,2],[11,2]],"semanticDiagnosticsPerFile":[93,94,92,66,67,68,69,63,71,58,60,61,62,59,65,64,70,72,55,57,75,56,73,74,81,80,108,105,104,160,107,161,106,168,76,96,78,98,52,79,53,54,77,102,101,95,97,100,90,165,167,162,166,163,164,91,103,82,87,89,83,88,85,86,84,99,171,169,182,185,184,174,170,172,173,175,176,177,178,179,180,181,190,191,192,193,194,109,110,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,111,158,127,128,129,159,130,131,132,133,134,135,136,137,138,139,140,141,143,142,144,145,146,147,148,149,150,151,152,153,154,155,156,157,195,196,221,222,197,200,219,220,210,209,207,202,215,213,217,201,214,218,203,204,216,198,205,206,208,212,223,211,199,236,235,230,232,231,224,225,227,229,233,234,226,228,237,238,239,240,183,189,187,188,186,49,50,10,8,9,14,13,2,15,16,17,18,19,20,21,22,3,23,4,24,28,25,26,27,29,30,31,5,51,32,33,34,35,6,39,36,37,38,40,7,41,46,47,42,43,44,45,1,48,12,11]},"version":"5.4.2"}
package/dist/index.d.ts CHANGED
@@ -2,10 +2,9 @@ export type { ResourceHeader } from './models/resource-header';
2
2
  export type { ResourceMap } from './models/resource-map';
3
3
  export type { ResourceType } from './models/resource-type';
4
4
  export type { DrawCommand } from './models/draw-command';
5
- export type { FilterPipeline } from './screen/filter-pipeline';
6
5
  export { getResourceNumber, getResourceType, getResourceIdStr, getResourceTypeStr, isResourceType, isResourceNumber, } from './models/resource-id';
7
6
  export { ResourceTypes } from './models/resource-type';
8
- export { renderPic, renderCel } from './screen';
7
+ export { renderPic } from './screen';
9
8
  export { parseAll as parseAllMappings, consume as consumeNextMappingChunk, } from './parsers/mapping';
10
9
  export { getPayloadLength, parseHeaderFrom } from './parsers/resource-header';
11
10
  export { decompress } from './parsers/compression';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,YAAY,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACzD,YAAY,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,YAAY,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACzD,YAAY,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE/D,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,gBAAgB,GACjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAEhD,OAAO,EACL,QAAQ,IAAI,gBAAgB,EAC5B,OAAO,IAAI,uBAAuB,GACnC,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAC3C,OAAO,KAAK,IAAI,MAAM,gBAAgB,CAAC;AACvC,OAAO,KAAK,IAAI,MAAM,gBAAgB,CAAC;AACvC,OAAO,KAAK,GAAG,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,YAAY,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACzD,YAAY,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,YAAY,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,gBAAgB,GACjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC,OAAO,EACL,QAAQ,IAAI,gBAAgB,EAC5B,OAAO,IAAI,uBAAuB,GACnC,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAC3C,OAAO,KAAK,IAAI,MAAM,gBAAgB,CAAC;AACvC,OAAO,KAAK,IAAI,MAAM,gBAAgB,CAAC;AACvC,OAAO,KAAK,GAAG,MAAM,eAAe,CAAC"}
package/dist/index.js CHANGED
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.Pic = exports.View = exports.Font = exports.Cursor = exports.decompress = exports.parseHeaderFrom = exports.getPayloadLength = exports.consumeNextMappingChunk = exports.parseAllMappings = exports.renderCel = exports.renderPic = exports.ResourceTypes = exports.isResourceNumber = exports.isResourceType = exports.getResourceTypeStr = exports.getResourceIdStr = exports.getResourceType = exports.getResourceNumber = void 0;
26
+ exports.Pic = exports.View = exports.Font = exports.Cursor = exports.decompress = exports.parseHeaderFrom = exports.getPayloadLength = exports.consumeNextMappingChunk = exports.parseAllMappings = exports.renderPic = exports.ResourceTypes = exports.isResourceNumber = exports.isResourceType = exports.getResourceTypeStr = exports.getResourceIdStr = exports.getResourceType = exports.getResourceNumber = void 0;
27
27
  var resource_id_1 = require("./models/resource-id");
28
28
  Object.defineProperty(exports, "getResourceNumber", { enumerable: true, get: function () { return resource_id_1.getResourceNumber; } });
29
29
  Object.defineProperty(exports, "getResourceType", { enumerable: true, get: function () { return resource_id_1.getResourceType; } });
@@ -35,7 +35,6 @@ var resource_type_1 = require("./models/resource-type");
35
35
  Object.defineProperty(exports, "ResourceTypes", { enumerable: true, get: function () { return resource_type_1.ResourceTypes; } });
36
36
  var screen_1 = require("./screen");
37
37
  Object.defineProperty(exports, "renderPic", { enumerable: true, get: function () { return screen_1.renderPic; } });
38
- Object.defineProperty(exports, "renderCel", { enumerable: true, get: function () { return screen_1.renderCel; } });
39
38
  var mapping_1 = require("./parsers/mapping");
40
39
  Object.defineProperty(exports, "parseAllMappings", { enumerable: true, get: function () { return mapping_1.parseAll; } });
41
40
  Object.defineProperty(exports, "consumeNextMappingChunk", { enumerable: true, get: function () { return mapping_1.consume; } });
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,oDAO8B;AAN5B,gHAAA,iBAAiB,OAAA;AACjB,8GAAA,eAAe,OAAA;AACf,+GAAA,gBAAgB,OAAA;AAChB,iHAAA,kBAAkB,OAAA;AAClB,6GAAA,cAAc,OAAA;AACd,+GAAA,gBAAgB,OAAA;AAElB,wDAAuD;AAA9C,8GAAA,aAAa,OAAA;AAEtB,mCAAgD;AAAvC,mGAAA,SAAS,OAAA;AAAE,mGAAA,SAAS,OAAA;AAE7B,6CAG2B;AAFzB,2GAAA,QAAQ,OAAoB;AAC5B,kHAAA,OAAO,OAA2B;AAEpC,6DAA8E;AAArE,mHAAA,gBAAgB,OAAA;AAAE,kHAAA,eAAe,OAAA;AAC1C,qDAAmD;AAA1C,yGAAA,UAAU,OAAA;AACnB,2DAA2C;AAC3C,uDAAuC;AACvC,uDAAuC;AACvC,qDAAqC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,oDAO8B;AAN5B,gHAAA,iBAAiB,OAAA;AACjB,8GAAA,eAAe,OAAA;AACf,+GAAA,gBAAgB,OAAA;AAChB,iHAAA,kBAAkB,OAAA;AAClB,6GAAA,cAAc,OAAA;AACd,+GAAA,gBAAgB,OAAA;AAElB,wDAAuD;AAA9C,8GAAA,aAAa,OAAA;AAEtB,mCAAqC;AAA5B,mGAAA,SAAS,OAAA;AAElB,6CAG2B;AAFzB,2GAAA,QAAQ,OAAoB;AAC5B,kHAAA,OAAO,OAA2B;AAEpC,6DAA8E;AAArE,mHAAA,gBAAgB,OAAA;AAAE,kHAAA,eAAe,OAAA;AAC1C,qDAAmD;AAA1C,yGAAA,UAAU,OAAA;AACnB,2DAA2C;AAC3C,uDAAuC;AACvC,uDAAuC;AACvC,qDAAqC"}
@@ -1,9 +1,6 @@
1
- export interface Cel {
2
- data: ArrayBuffer;
3
- keyColor: number;
1
+ import { IndexedPixelData } from '@4bitlabs/image';
2
+ export interface Cel extends IndexedPixelData {
4
3
  dx: number;
5
4
  dy: number;
6
- width: number;
7
- height: number;
8
5
  }
9
6
  //# sourceMappingURL=cel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cel.d.ts","sourceRoot":"","sources":["../../src/models/cel.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,GAAG;IAClB,IAAI,EAAE,WAAW,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB"}
1
+ {"version":3,"file":"cel.d.ts","sourceRoot":"","sources":["../../src/models/cel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAEnD,MAAM,WAAW,GAAI,SAAQ,gBAAgB;IAC3C,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;CACZ"}
@@ -1,7 +1,6 @@
1
- import type { ImageDataLike } from '@4bitlabs/image';
2
- export interface Cursor extends ImageDataLike {
3
- readonly width: 16;
4
- readonly height: 16;
1
+ import { type IndexedPixelData } from '@4bitlabs/image';
2
+ export interface Cursor extends IndexedPixelData {
5
3
  readonly hotspot: readonly [number, number];
4
+ readonly keyColor: 0xff;
6
5
  }
7
6
  //# sourceMappingURL=cursor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cursor.d.ts","sourceRoot":"","sources":["../../src/models/cursor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,WAAW,MAAO,SAAQ,aAAa;IAC3C,QAAQ,CAAC,KAAK,EAAE,EAAE,CAAC;IACnB,QAAQ,CAAC,MAAM,EAAE,EAAE,CAAC;IACpB,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC7C"}
1
+ {"version":3,"file":"cursor.d.ts","sourceRoot":"","sources":["../../src/models/cursor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAExD,MAAM,WAAW,MAAO,SAAQ,gBAAgB;IAC9C,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC5C,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC;CACzB"}
@@ -1,6 +1,6 @@
1
- import type { ImageDataLike } from '@4bitlabs/image';
1
+ import { type IndexedPixelData } from '@4bitlabs/image';
2
2
  export interface FontFace {
3
- characters: ImageDataLike[];
3
+ characters: IndexedPixelData[];
4
4
  lineHeight: number;
5
5
  }
6
6
  //# sourceMappingURL=font-face.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"font-face.d.ts","sourceRoot":"","sources":["../../src/models/font-face.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,WAAW,QAAQ;IACvB,UAAU,EAAE,aAAa,EAAE,CAAC;IAC5B,UAAU,EAAE,MAAM,CAAC;CACpB"}
1
+ {"version":3,"file":"font-face.d.ts","sourceRoot":"","sources":["../../src/models/font-face.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAExD,MAAM,WAAW,QAAQ;IACvB,UAAU,EAAE,gBAAgB,EAAE,CAAC;IAC/B,UAAU,EAAE,MAAM,CAAC;CACpB"}
@@ -1 +1 @@
1
- {"version":3,"file":"cel.d.ts","sourceRoot":"","sources":["../../src/parsers/cel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAEpC,eAAO,MAAM,QAAQ,cAAe,QAAQ,KAAG,GAgC9C,CAAC"}
1
+ {"version":3,"file":"cel.d.ts","sourceRoot":"","sources":["../../src/parsers/cel.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAEpC,eAAO,MAAM,QAAQ,cAAe,QAAQ,KAAG,GA4B9C,CAAC"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.parseCel = void 0;
4
+ const image_1 = require("@4bitlabs/image");
4
5
  const parseCel = (frameView) => {
5
6
  const [width, height] = [
6
7
  frameView.getUint16(0, true),
@@ -9,23 +10,20 @@ const parseCel = (frameView) => {
9
10
  const [dx, dy] = [frameView.getInt8(4), frameView.getInt8(5)];
10
11
  const keyColor = frameView.getUint8(6);
11
12
  const total = width * height;
12
- const pixels = new ArrayBuffer(total);
13
- const bytes = new Uint8ClampedArray(pixels, 0, total);
13
+ const img = (0, image_1.createIndexedPixelData)(width, height);
14
14
  let idx = 0;
15
15
  for (let i = 0; i < total;) {
16
16
  const data = frameView.getUint8(7 + idx);
17
17
  idx += 1;
18
18
  const [color, repeat] = [data & 0xf, data >>> 4];
19
19
  for (let r = 0; r < repeat; r++) {
20
- bytes[i] = color;
20
+ img.pixels[i] = color;
21
21
  i += 1;
22
22
  }
23
23
  }
24
24
  return {
25
- data: pixels,
26
- height,
25
+ ...img,
27
26
  keyColor,
28
- width,
29
27
  dx,
30
28
  dy,
31
29
  };
@@ -1 +1 @@
1
- {"version":3,"file":"cel.js","sourceRoot":"","sources":["../../src/parsers/cel.ts"],"names":[],"mappings":";;;AAEO,MAAM,QAAQ,GAAG,CAAC,SAAmB,EAAO,EAAE;IACnD,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,GAAG;QACtB,SAAS,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC;QAC5B,SAAS,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC;KAC7B,CAAC;IACF,MAAM,CAAC,EAAE,EAAE,EAAE,CAAC,GAAG,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;IAC9D,MAAM,QAAQ,GAAG,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IAEvC,MAAM,KAAK,GAAG,KAAK,GAAG,MAAM,CAAC;IAC7B,MAAM,MAAM,GAAG,IAAI,WAAW,CAAC,KAAK,CAAC,CAAC;IAEtC,MAAM,KAAK,GAAG,IAAI,iBAAiB,CAAC,MAAM,EAAE,CAAC,EAAE,KAAK,CAAC,CAAC;IAEtD,IAAI,GAAG,GAAG,CAAC,CAAC;IACZ,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,GAAI,CAAC;QAC5B,MAAM,IAAI,GAAG,SAAS,CAAC,QAAQ,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC;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;QAC5B,MAAM,IAAI,GAAG,SAAS,CAAC,QAAQ,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC;QACzC,GAAG,IAAI,CAAC,CAAC;QACT,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,GAAG,CAAC,IAAI,GAAG,GAAG,EAAE,IAAI,KAAK,CAAC,CAAC,CAAC;QACjD,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YAChC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC;YACtB,CAAC,IAAI,CAAC,CAAC;QACT,CAAC;IACH,CAAC;IAED,OAAO;QACL,GAAG,GAAG;QACN,QAAQ;QACR,EAAE;QACF,EAAE;KACH,CAAC;AACJ,CAAC,CAAC;AA5BW,QAAA,QAAQ,YA4BnB"}
@@ -1,10 +1,5 @@
1
1
  import { Cursor } from '../models/cursor';
2
- type CursorMapping = [
3
- Uint8ClampedArray,
4
- Uint8ClampedArray,
5
- Uint8ClampedArray,
6
- Uint8ClampedArray
7
- ];
2
+ type CursorMapping = [number, number, number, number];
8
3
  export declare const DEFAULT_MAPPING: CursorMapping;
9
4
  export declare const LB_MAPPING: CursorMapping;
10
5
  interface ParseCursorOptions {
@@ -1 +1 @@
1
- {"version":3,"file":"cursor.d.ts","sourceRoot":"","sources":["../../src/parsers/cursor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAO1C,KAAK,aAAa,GAAG;IACnB,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;CAClB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,aAA2C,CAAC;AAC1E,eAAO,MAAM,UAAU,EAAE,aAA4C,CAAC;AAEtE,UAAU,kBAAkB;IAC1B,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB;AAED,eAAO,MAAM,SAAS,WACZ,UAAU,YACT,kBAAkB,KAC1B,MAkCF,CAAC"}
1
+ {"version":3,"file":"cursor.d.ts","sourceRoot":"","sources":["../../src/parsers/cursor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAO1C,KAAK,aAAa,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAEtD,eAAO,MAAM,eAAe,EAAE,aAA2C,CAAC;AAC1E,eAAO,MAAM,UAAU,EAAE,aAA4C,CAAC;AAEtE,UAAU,kBAAkB;IAC1B,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB;AAED,eAAO,MAAM,SAAS,WACZ,UAAU,YACT,kBAAkB,KAC1B,MAiCF,CAAC"}
@@ -1,10 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.parseFrom = exports.LB_MAPPING = exports.DEFAULT_MAPPING = void 0;
4
- const BLACK = Uint8ClampedArray.of(0x00, 0x00, 0x00, 0xff);
5
- const WHITE = Uint8ClampedArray.of(0xff, 0xff, 0xff, 0xff);
6
- const GRAY = Uint8ClampedArray.of(0xaa, 0xaa, 0xaa, 0xff);
7
- const TRANS = Uint8ClampedArray.of(0x7f, 0x7f, 0x7f, 0x00);
4
+ const image_1 = require("@4bitlabs/image");
5
+ const BLACK = 0x00;
6
+ const WHITE = 0x0f;
7
+ const GRAY = 0x07;
8
+ const TRANS = 0xff;
8
9
  exports.DEFAULT_MAPPING = [BLACK, WHITE, TRANS, GRAY];
9
10
  exports.LB_MAPPING = [BLACK, WHITE, TRANS, WHITE];
10
11
  const parseFrom = (source, options = {}) => {
@@ -12,7 +13,7 @@ const parseFrom = (source, options = {}) => {
12
13
  const view = new DataView(source.buffer, source.byteOffset, source.byteLength);
13
14
  // Parse data;
14
15
  const hotspot = [view.getUint16(0, true), view.getUint16(2, true)];
15
- const data = new Uint8ClampedArray(16 * 16 * 4);
16
+ const img = (0, image_1.createIndexedPixelData)(16, 16);
16
17
  const stride = 16 * 4;
17
18
  for (let y = 0; y < 16; y++) {
18
19
  for (let x = 0; x < 16; x++) {
@@ -22,13 +23,12 @@ const parseFrom = (source, options = {}) => {
22
23
  const a = (tx >> (15 - x)) & 1;
23
24
  const b = (clr >> (15 - x)) & 1;
24
25
  const value = (a << 1) | b;
25
- data.set(mapping[value], x * 4 + y * stride);
26
+ img.pixels[x * 4 + y * stride] = mapping[value];
26
27
  }
27
28
  }
28
29
  return {
29
- width: 16,
30
- height: 16,
31
- data,
30
+ ...img,
31
+ keyColor: 0xff,
32
32
  hotspot,
33
33
  };
34
34
  };
@@ -1 +1 @@
1
- {"version":3,"file":"cursor.js","sourceRoot":"","sources":["../../src/parsers/cursor.ts"],"names":[],"mappings":";;;AAEA,MAAM,KAAK,GAAG,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;AAC3D,MAAM,KAAK,GAAG,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;AAC3D,MAAM,IAAI,GAAG,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;AAC1D,MAAM,KAAK,GAAG,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;AAS9C,QAAA,eAAe,GAAkB,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC;AAC7D,QAAA,UAAU,GAAkB,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;AAM/D,MAAM,SAAS,GAAG,CACvB,MAAkB,EAClB,UAA8B,EAAE,EACxB,EAAE;IACV,MAAM,EAAE,OAAO,GAAG,uBAAe,EAAE,GAAG,OAAO,CAAC;IAE9C,MAAM,IAAI,GAAG,IAAI,QAA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AM,GAAG,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAEtB,MAAM,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;YACrC,MAAM,GAAG,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,GAAG,EAAE,EAAE,IAAI,CAAC,CAAC;YAE3C,MAAM,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;YAC/B,MAAM,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;YAChC,MAAM,KAAK,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;YAC3B,GAAG,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;QAClD,CAAC;IACH,CAAC;IAED,OAAO;QACL,GAAG,GAAG;QACN,QAAQ,EAAE,IAAI;QACd,OAAO;KACR,CAAC;AACJ,CAAC,CAAC;AApCW,QAAA,SAAS,aAoCpB"}
@@ -1,7 +1,3 @@
1
1
  import { FontFace } from '../models/font-face';
2
- interface ParseFontOptions {
3
- colors?: [Uint8ClampedArray, Uint8ClampedArray];
4
- }
5
- export declare const parseFrom: (source: Uint8Array, options?: ParseFontOptions) => FontFace;
6
- export {};
2
+ export declare const parseFrom: (source: Uint8Array) => FontFace;
7
3
  //# sourceMappingURL=font.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"font.d.ts","sourceRoot":"","sources":["../../src/parsers/font.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAM/C,UAAU,gBAAgB;IACxB,MAAM,CAAC,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,CAAC,CAAC;CACjD;AAED,eAAO,MAAM,SAAS,WACZ,UAAU,YACT,gBAAgB,KACxB,QAwCF,CAAC"}
1
+ {"version":3,"file":"font.d.ts","sourceRoot":"","sources":["../../src/parsers/font.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAK/C,eAAO,MAAM,SAAS,WAAY,UAAU,KAAG,QAmC9C,CAAC"}
@@ -1,11 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.parseFrom = void 0;
4
+ const image_1 = require("@4bitlabs/image");
4
5
  const repeat_1 = require("../utils/repeat");
5
- const WHITE = Uint8ClampedArray.of(0xff, 0xff, 0xff, 0xff);
6
- const TRANS = Uint8ClampedArray.of(0xff, 0xff, 0xff, 0x00);
7
- const parseFrom = (source, options = {}) => {
8
- const { colors: [OFF, ON] = [TRANS, WHITE] } = options;
6
+ const [OFF, ON] = [0x00, 0x0f];
7
+ const parseFrom = (source) => {
9
8
  const headerView = new DataView(source.buffer, source.byteOffset, 6);
10
9
  const count = headerView.getUint16(2, true);
11
10
  const lineHeight = headerView.getUint16(4, true);
@@ -14,20 +13,16 @@ const parseFrom = (source, options = {}) => {
14
13
  const characters = pointers.map((offset) => {
15
14
  const [width, height] = [source[offset], source[offset + 1]];
16
15
  const widthBytes = (width + 7) >>> 3;
17
- const data = new Uint8ClampedArray(width * height * 4);
16
+ const image = (0, image_1.createIndexedPixelData)(width, height, { keyColor: OFF });
18
17
  for (let y = 0; y < height; y++) {
19
18
  const yOffset = offset + 2 + y * widthBytes;
20
19
  for (let x = 0; x < width; x++) {
21
20
  const idx = yOffset + (x >>> 3);
22
21
  const bit = (source[idx] >>> (7 - (x & 0b111))) & 1;
23
- data.set(bit ? ON : OFF, x * 4 + y * width * 4);
22
+ image.pixels[x * 4 + y * width * 4] = bit ? ON : OFF;
24
23
  }
25
24
  }
26
- return {
27
- width,
28
- height,
29
- data,
30
- };
25
+ return image;
31
26
  });
32
27
  return {
33
28
  characters,
@@ -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GAAG,GAAG,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;gBAChC,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;gBACpD,KAAK,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC;YACvD,CAAC;QACH,CAAC;QACD,OAAO,KAAK,CAAC;IACf,CAAC,CAAC,CAAC;IAEH,OAAO;QACL,UAAU;QACV,UAAU;KACX,CAAC;AACJ,CAAC,CAAC;AAnCW,QAAA,SAAS,aAmCpB"}
@@ -1,3 +1,2 @@
1
1
  export { renderPic } from './render-pic';
2
- export { renderCel } from './render-cel';
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/screen/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/screen/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC"}
@@ -1,8 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.renderCel = exports.renderPic = void 0;
3
+ exports.renderPic = void 0;
4
4
  var render_pic_1 = require("./render-pic");
5
5
  Object.defineProperty(exports, "renderPic", { enumerable: true, get: function () { return render_pic_1.renderPic; } });
6
- var render_cel_1 = require("./render-cel");
7
- Object.defineProperty(exports, "renderCel", { enumerable: true, get: function () { return render_cel_1.renderCel; } });
8
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/screen/index.ts"],"names":[],"mappings":";;;AAAA,2CAAyC;AAAhC,uGAAA,SAAS,OAAA;AAClB,2CAAyC;AAAhC,uGAAA,SAAS,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/screen/index.ts"],"names":[],"mappings":";;;AAAA,2CAAyC;AAAhC,uGAAA,SAAS,OAAA"}
@@ -1,14 +1,12 @@
1
- import { ImageDataLike } from '@4bitlabs/image';
2
- import { FilterPipeline } from './filter-pipeline';
1
+ import { type IndexedPixelData } from '@4bitlabs/image';
3
2
  import { DrawCommand } from '../models/draw-command';
4
3
  interface RenderOptions {
5
4
  forcePal?: 0 | 1 | 2 | 3 | undefined;
6
- pipeline?: FilterPipeline;
7
5
  }
8
6
  interface RenderResult {
9
- visible: ImageDataLike;
10
- priority: ImageDataLike;
11
- control: ImageDataLike;
7
+ visible: IndexedPixelData;
8
+ priority: IndexedPixelData;
9
+ control: IndexedPixelData;
12
10
  }
13
11
  export declare const renderPic: (commands: DrawCommand[], options?: RenderOptions) => RenderResult;
14
12
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"render-pic.d.ts","sourceRoot":"","sources":["../../src/screen/render-pic.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAoB,MAAM,iBAAiB,CAAC;AAGlE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAY,MAAM,wBAAwB,CAAC;AAI/D,UAAU,aAAa;IACrB,QAAQ,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC;IACrC,QAAQ,CAAC,EAAE,cAAc,CAAC;CAC3B;AAED,UAAU,YAAY;IACpB,OAAO,EAAE,aAAa,CAAC;IACvB,QAAQ,EAAE,aAAa,CAAC;IACxB,OAAO,EAAE,aAAa,CAAC;CACxB;AAED,eAAO,MAAM,SAAS,aACV,WAAW,EAAE,YACd,aAAa,KACrB,YAoGF,CAAC"}
1
+ {"version":3,"file":"render-pic.d.ts","sourceRoot":"","sources":["../../src/screen/render-pic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAGxD,OAAO,EAAE,WAAW,EAAY,MAAM,wBAAwB,CAAC;AAE/D,UAAU,aAAa;IACrB,QAAQ,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC;CACtC;AAED,UAAU,YAAY;IACpB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,OAAO,EAAE,gBAAgB,CAAC;CAC3B;AAOD,eAAO,MAAM,SAAS,aACV,WAAW,EAAE,YACd,aAAa,KACrB,YAgGF,CAAC"}
@@ -1,17 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.renderPic = void 0;
4
- const color_1 = require("@4bitlabs/color");
5
- const image_1 = require("@4bitlabs/image");
6
- const buffer_1 = require("./buffer");
4
+ const screen_buffer_1 = require("./screen-buffer");
7
5
  const default_palette_1 = require("./default-palette");
8
6
  const draw_command_1 = require("../models/draw-command");
9
- const classicDitherer = (0, image_1.createDitherizer)(color_1.BuiltinDitherPairs.CLASSIC);
7
+ function extractPixelData(buffer) {
8
+ const { brush, fill, line, plot, ...pixelData } = buffer;
9
+ return pixelData;
10
+ }
10
11
  const renderPic = (commands, options = {}) => {
11
12
  const { forcePal } = options;
12
- const visible = (0, buffer_1.createBuffer)(0xff0000ff, 32);
13
- const priority = (0, buffer_1.createBuffer)(0x00, 8);
14
- const control = (0, buffer_1.createBuffer)(0x00, 8);
13
+ const visible = (0, screen_buffer_1.createScreenBuffer)(0xff);
14
+ const priority = (0, screen_buffer_1.createScreenBuffer)(0x00);
15
+ const control = (0, screen_buffer_1.createScreenBuffer)(0x00);
15
16
  const palettes = [
16
17
  Uint8Array.from(default_palette_1.DEFAULT_PALETTE),
17
18
  Uint8Array.from(default_palette_1.DEFAULT_PALETTE),
@@ -71,7 +72,7 @@ const renderPic = (commands, options = {}) => {
71
72
  const [, drawMode, pos, cel] = cmd;
72
73
  if ((drawMode & draw_command_1.DrawMode.Visual) !== draw_command_1.DrawMode.Visual)
73
74
  return;
74
- const data = new Uint8Array(cel.data);
75
+ const data = cel.pixels;
75
76
  for (let y = pos[1]; y < pos[1] + cel.height; y++)
76
77
  for (let x = pos[0]; x < pos[0] + cel.width; x++) {
77
78
  if (x >= 320 || y >= 190)
@@ -84,16 +85,13 @@ const renderPic = (commands, options = {}) => {
84
85
  break;
85
86
  }
86
87
  default:
87
- console.log('unhandled opcode', mode);
88
+ console.log(`unhandled opcode: ${mode}`);
88
89
  }
89
90
  });
90
- const { pipeline = [classicDitherer] } = options;
91
91
  return {
92
- visible: pipeline.reduce(function executeVisiblePipeline(prev, op) {
93
- return op(prev);
94
- }, visible.image),
95
- priority: priority.image,
96
- control: control.image,
92
+ visible: extractPixelData(visible),
93
+ priority: extractPixelData(priority),
94
+ control: extractPixelData(control),
97
95
  };
98
96
  };
99
97
  exports.renderPic = renderPic;
@@ -1 +1 @@
1
- {"version":3,"file":"render-pic.js","sourceRoot":"","sources":["../../src/screen/render-pic.ts"],"names":[],"mappings":";;;AAAA,2CAAqD;AACrD,2CAAkE;AAClE,qCAAwC;AACxC,uDAAoD;AAEpD,yDAA+D;AAE/D,MAAM,eAAe,GAAG,IAAA,wBAAgB,EAAC,0BAAkB,CAAC,OAAO,CAAC,CAAC;AAa9D,MAAM,SAAS,GAAG,CACvB,QAAuB,EACvB,UAAyB,EAAE,EACb,EAAE;IAChB,MAAM,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAC;IAE7B,MAAM,OAAO,GAAG,IAAA,qBAAY,EAAC,UAAU,EAAE,EAAE,CAAC,CAAC;IAC7C,MAAM,QAAQ,GAAG,IAAA,qBA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exedPixelData;
4
+ export declare const createScreenBuffer: (empty: number) => ScreenBuffer;
5
+ //# sourceMappingURL=screen-buffer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"screen-buffer.d.ts","sourceRoot":"","sources":["../../src/screen/screen-buffer.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,KAAK,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAEhF,OAAO,EAA4B,KAAK,MAAM,EAAE,MAAM,UAAU,CAAC;AAEjE,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,gBAAgB,CAAC;AAKrD,eAAO,MAAM,kBAAkB,UAAW,MAAM,KAAG,YAoBlD,CAAC"}
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createScreenBuffer = void 0;
4
+ const image_1 = require("@4bitlabs/image");
5
+ const sci0_screen_impl_1 = require("./sci0-screen-impl");
6
+ const bufferWidth = 320;
7
+ const bufferHeight = 190;
8
+ const createScreenBuffer = (empty) => {
9
+ const data = (0, image_1.createIndexedPixelData)(bufferWidth, bufferHeight);
10
+ const { pixels } = data;
11
+ for (let i = 0; i < pixels.length; i++)
12
+ pixels[i] = empty;
13
+ const plot = (x, y, color) => {
14
+ const idx = bufferWidth * y + x;
15
+ pixels[idx] = color;
16
+ };
17
+ const isFillable = (x, y) => pixels[x + y * bufferWidth] === empty;
18
+ return {
19
+ plot,
20
+ brush: (0, sci0_screen_impl_1.createBrush)(plot, [bufferWidth, bufferHeight]),
21
+ fill: (0, sci0_screen_impl_1.createFloodFill)(plot, isFillable, [bufferWidth, bufferHeight]),
22
+ line: (0, sci0_screen_impl_1.createLine)(plot),
23
+ ...data,
24
+ };
25
+ };
26
+ exports.createScreenBuffer = createScreenBuffer;
27
+ //# sourceMappingURL=screen-buffer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"screen-buffer.js","sourceRoot":"","sources":["../../src/screen/screen-buffer.ts"],"names":[],"mappings":";;;AAAA,2CAAgF;AAChF,yDAA8E;AAK9E,MAAM,WAAW,GAAG,GAAG,CAAC;AACxB,MAAM,YAAY,GAAG,GAAG,CAAC;AAElB,MAAM,kBAAkB,GAAG,CAAC,KAAa,EAAgB,EAAE;IAChE,MAAM,IAAI,GAAG,IAAA,8BAAsB,EAAC,WAAW,EAAE,YAAY,CAAC,CAAC;IAC/D,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IACxB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,EAAE;QAAE,MAAM,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC;IAE1D,MAAM,IAAI,GAAY,CAAC,CAAS,EAAE,CAAS,EAAE,KAAa,EAAE,EAAE;QAC5D,MAAM,GAAG,GAAG,WAAW,GAAG,CAAC,GAAG,CAAC,CAAC;QAChC,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;IACtB,CAAC,CAAC;IAEF,MAAM,UAAU,GAAe,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CACtC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,WAAW,CAAC,KAAK,KAAK,CAAC;IAExC,OAAO;QACL,IAAI;QACJ,KAAK,EAAE,IAAA,8BAAW,EAAC,IAAI,EAAE,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;QACrD,IAAI,EAAE,IAAA,kCAAe,EAAC,IAAI,EAAE,UAAU,EAAE,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;QACpE,IAAI,EAAE,IAAA,6BAAU,EAAC,IAAI,CAAC;QACtB,GAAG,IAAI;KACR,CAAC;AACJ,CAAC,CAAC;AApBW,QAAA,kBAAkB,sBAoB7B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@4bitlabs/sci0",
3
- "version": "1.4.1",
3
+ "version": "2.0.1",
4
4
  "description": "Library for parsing and rendering assets from Sierra On-line's SCI-engine.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -25,10 +25,8 @@
25
25
  "license": "ISC",
26
26
  "dependencies": {
27
27
  "@4bitlabs/codecs": "^1.0.3",
28
- "@4bitlabs/color": "^1.1.3",
29
- "@4bitlabs/image": "^2.2.4",
28
+ "@4bitlabs/image": "^3.0.2",
30
29
  "@4bitlabs/numeric-deque": "^1.1.2",
31
30
  "@4bitlabs/readers": "^2.0.3"
32
- },
33
- "gitHead": "8d9fdbde1a2e59589936ad7201fe472f41df4ee7"
31
+ }
34
32
  }
@@ -1,7 +0,0 @@
1
- import { ImageDataLike } from '@4bitlabs/image';
2
- import { Screen } from './screen';
3
- export interface Buffer extends Screen {
4
- image: ImageDataLike;
5
- }
6
- export declare const createBuffer: (empty: number, bitsPerPixel: 8 | 32) => Buffer;
7
- //# sourceMappingURL=buffer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"buffer.d.ts","sourceRoot":"","sources":["../../src/screen/buffer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,OAAO,EAAuB,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvD,MAAM,WAAW,MAAO,SAAQ,MAAM;IACpC,KAAK,EAAE,aAAa,CAAC;CACtB;AAED,eAAO,MAAM,YAAY,UAAW,MAAM,gBAAgB,CAAC,GAAG,EAAE,KAAG,MA4BlE,CAAC"}
@@ -1,30 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.createBuffer = void 0;
4
- const sci0_screen_impl_1 = require("./sci0-screen-impl");
5
- const createBuffer = (empty, bitsPerPixel) => {
6
- const bbp = bitsPerPixel / 8;
7
- const buffer = new ArrayBuffer(320 * 190 * bbp);
8
- const pixels = bitsPerPixel === 32
9
- ? new Uint32Array(buffer, 0, 320 * 190)
10
- : new Uint8ClampedArray(buffer, 0, 320 * 190);
11
- for (let i = 0; i < pixels.length; i++)
12
- pixels[i] = empty;
13
- const plot = (x, y, color) => {
14
- pixels[320 * y + x] = 0xff000000 | color;
15
- };
16
- const isFillable = (x, y) => pixels[x + y * 320] === empty;
17
- return {
18
- plot,
19
- brush: (0, sci0_screen_impl_1.createBrush)(plot, [320, 190]),
20
- fill: (0, sci0_screen_impl_1.createFloodFill)(plot, isFillable, [320, 190]),
21
- line: (0, sci0_screen_impl_1.createLine)(plot),
22
- image: {
23
- data: new Uint8ClampedArray(buffer),
24
- width: 320,
25
- height: 190,
26
- },
27
- };
28
- };
29
- exports.createBuffer = createBuffer;
30
- //# sourceMappingURL=buffer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"buffer.js","sourceRoot":"","sources":["../../src/screen/buffer.ts"],"names":[],"mappings":";;;AACA,yDAA8E;AAOvE,MAAM,YAAY,GAAG,CAAC,KAAa,EAAE,YAAoB,EAAU,EAAE;IAC1E,MAAM,GAAG,GAAG,YAAY,GAAG,CAAC,CAAC;IAC7B,MAAM,MAAM,GAAG,IAAI,WAAW,CAAC,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC,CAAC;IAEhD,MAAM,MAAM,GACV,YAAY,KAAK,EAAE;QACjB,CAAC,CAAC,IAAI,WAAW,CAAC,MAAM,EAAE,CAAC,EAAE,GAAG,GAAG,GAAG,CAAC;QACvC,CAAC,CAAC,IAAI,iBAAiB,CAAC,MAAM,EAAE,CAAC,EAAE,GAAG,GAAG,GAAG,CAAC,CAAC;IAElD,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,EAAE;QAAE,MAAM,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC;IAE1D,MAAM,IAAI,GAAY,CAAC,CAAS,EAAE,CAAS,EAAE,KAAa,EAAE,EAAE;QAC5D,MAAM,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,UAAU,GAAG,KAAK,CAAC;IAC3C,CAAC,CAAC;IAEF,MAAM,UAAU,GAAe,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,KAAK,KAAK,CAAC;IAEvE,OAAO;QACL,IAAI;QACJ,KAAK,EAAE,IAAA,8BAAW,EAAC,IAAI,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;QACpC,IAAI,EAAE,IAAA,kCAAe,EAAC,IAAI,EAAE,UAAU,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;QACnD,IAAI,EAAE,IAAA,6BAAU,EAAC,IAAI,CAAC;QACtB,KAAK,EAAE;YACL,IAAI,EAAE,IAAI,iBAAiB,CAAC,MAAM,CAAC;YACnC,KAAK,EAAE,GAAG;YACV,MAAM,EAAE,GAAG;SACZ;KACF,CAAC;AACJ,CAAC,CAAC;AA5BW,QAAA,YAAY,gBA4BvB"}
@@ -1,3 +0,0 @@
1
- import { ImageFilter } from '@4bitlabs/image';
2
- export type FilterPipeline = ImageFilter[];
3
- //# sourceMappingURL=filter-pipeline.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"filter-pipeline.d.ts","sourceRoot":"","sources":["../../src/screen/filter-pipeline.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,MAAM,MAAM,cAAc,GAAG,WAAW,EAAE,CAAC"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=filter-pipeline.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"filter-pipeline.js","sourceRoot":"","sources":["../../src/screen/filter-pipeline.ts"],"names":[],"mappings":""}
@@ -1,9 +0,0 @@
1
- import { ImageDataLike } from '@4bitlabs/image';
2
- import { Cel } from '../models/cel';
3
- interface RenderCelOptions {
4
- palette?: Uint32Array;
5
- transparent?: number;
6
- }
7
- export declare const renderCel: (cel: Cel, options?: RenderCelOptions) => ImageDataLike;
8
- export {};
9
- //# sourceMappingURL=render-cel.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"render-cel.d.ts","sourceRoot":"","sources":["../../src/screen/render-cel.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAEpC,UAAU,gBAAgB;IACxB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAKD,eAAO,MAAM,SAAS,QACf,GAAG,YACC,gBAAgB,KACxB,aAoBF,CAAC"}
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.renderCel = void 0;
4
- const color_1 = require("@4bitlabs/color");
5
- const DEFAULT_PALETTE = color_1.RAW_CGA;
6
- const TRANS = 0x00000000;
7
- const renderCel = (cel, options = {}) => {
8
- const { palette = DEFAULT_PALETTE, transparent = TRANS } = options;
9
- const size = cel.width * cel.height;
10
- const input = new Uint8Array(cel.data, 0, size);
11
- const buffer = new ArrayBuffer(size * 4);
12
- const output = new Uint32Array(buffer, 0, size);
13
- for (let i = 0; i < size; i++) {
14
- const val = input[i];
15
- output[i] = val !== cel.keyColor ? palette[val] : transparent;
16
- }
17
- return {
18
- data: new Uint8ClampedArray(buffer, 0, size * 4),
19
- width: cel.width,
20
- height: cel.height,
21
- };
22
- };
23
- exports.renderCel = renderCel;
24
- //# sourceMappingURL=render-cel.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"render-cel.js","sourceRoot":"","sources":["../../src/screen/render-cel.ts"],"names":[],"mappings":";;;AAAA,2CAA0C;AAS1C,MAAM,eAAe,GAAG,eAAO,CAAC;AAChC,MAAM,KAAK,GAAG,UAAU,CAAC;AAElB,MAAM,SAAS,GAAG,CACvB,GAAQ,EACR,UAA4B,EAAE,EACf,EAAE;IACjB,MAAM,EAAE,OAAO,GAAG,eAAe,EAAE,WAAW,GAAG,KAAK,EAAE,GAAG,OAAO,CAAC;IAEnE,MAAM,IAAI,GAAG,GAAG,CAAC,KAAK,GAAG,GAAG,CAAC,MAAM,CAAC;IAEpC,MAAM,KAAK,GAAG,IAAI,UAAU,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,EAAE,IAAI,CAAC,CAAC;IAEhD,MAAM,MAAM,GAAG,IAAI,WAAW,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC;IACzC,MAAM,MAAM,GAAG,IAAI,WAAW,CAAC,MAAM,EAAE,CAAC,EAAE,IAAI,CAAC,CAAC;IAEhD,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC;QAC9B,MAAM,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;QACrB,MAAM,CAAC,CAAC,CAAC,GAAG,GAAG,KAAK,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC;IAChE,CAAC;IAED,OAAO;QACL,IAAI,EAAE,IAAI,iBAAiB,CAAC,MAAM,EAAE,CAAC,EAAE,IAAI,GAAG,CAAC,CAAC;QAChD,KAAK,EAAE,GAAG,CAAC,KAAK;QAChB,MAAM,EAAE,GAAG,CAAC,MAAM;KACnB,CAAC;AACJ,CAAC,CAAC;AAvBW,QAAA,SAAS,aAuBpB"}
@@ -1,2 +0,0 @@
1
- export { mappingParser } from './mapping-parser';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/stream/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.mappingParser = void 0;
4
- var mapping_parser_1 = require("./mapping-parser");
5
- Object.defineProperty(exports, "mappingParser", { enumerable: true, get: function () { return mapping_parser_1.mappingParser; } });
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/stream/index.ts"],"names":[],"mappings":";;;AAAA,mDAAiD;AAAxC,+GAAA,aAAa,OAAA"}
@@ -1,3 +0,0 @@
1
- /// <reference types="node" />
2
- export declare const mappingParser: () => import("stream").Transform;
3
- //# sourceMappingURL=mapping-parser.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mapping-parser.d.ts","sourceRoot":"","sources":["../../src/stream/mapping-parser.ts"],"names":[],"mappings":";AAoBA,eAAO,MAAM,aAAa,kCAoBzB,CAAC"}
@@ -1,44 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.mappingParser = void 0;
7
- const through2_1 = __importDefault(require("through2"));
8
- const mapping_1 = require("../parsers/mapping");
9
- const bufferize = (chunk, encoding) => {
10
- if (chunk instanceof Uint8Array)
11
- return chunk;
12
- if (typeof chunk === 'string')
13
- return new Buffer(chunk, encoding);
14
- throw new Error('unsupported chunk type');
15
- };
16
- const join = (...arrs) => {
17
- const size = arrs.reduce((s, it) => s + it.byteLength, 0);
18
- const result = new Uint8Array(size);
19
- arrs.reduce((pos, arr) => {
20
- result.set(arr, pos);
21
- return pos + arr.byteLength;
22
- }, 0);
23
- return result;
24
- };
25
- const mappingParser = () => {
26
- let remaining = Uint8Array.of();
27
- return (0, through2_1.default)({
28
- readableObjectMode: true,
29
- writableObjectMode: false,
30
- }, function (chunk, encoding, callback) {
31
- const next = bufferize(chunk, encoding);
32
- const bytes = remaining.length ? join(remaining, next) : next;
33
- const ended = (0, mapping_1.consume)(bytes, (e) => this.push(e));
34
- if (ended !== true) {
35
- remaining = ended;
36
- callback();
37
- }
38
- else {
39
- callback(null, null);
40
- }
41
- });
42
- };
43
- exports.mappingParser = mappingParser;
44
- //# sourceMappingURL=mapping-parser.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mapping-parser.js","sourceRoot":"","sources":["../../src/stream/mapping-parser.ts"],"names":[],"mappings":";;;;;;AAAA,wDAA+B;AAE/B,gDAA6C;AAE7C,MAAM,SAAS,GAAG,CAAC,KAAc,EAAE,QAAwB,EAAc,EAAE;IACzE,IAAI,KAAK,YAAY,UAAU;QAAE,OAAO,KAAK,CAAC;IAC9C,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,IAAI,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;IAClE,MAAM,IAAI,KAAK,CAAC,wBAAwB,CAAC,CAAC;AAC5C,CAAC,CAAC;AAEF,MAAM,IAAI,GAAG,CAAC,GAAG,IAAkB,EAAc,EAAE;IACjD,MAAM,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;IAC1D,MAAM,MAAM,GAAG,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC;IACpC,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE;QACvB,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;QACrB,OAAO,GAAG,GAAG,GAAG,CAAC,UAAU,CAAC;IAC9B,CAAC,EAAE,CAAC,CAAC,CAAC;IACN,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AAEK,MAAM,aAAa,GAAG,GAAG,EAAE;IAChC,IAAI,SAAS,GAAG,UAAU,CAAC,EAAE,EAAE,CAAC;IAChC,OAAO,IAAA,kBAAO,EACZ;QACE,kBAAkB,EAAE,IAAI;QACxB,kBAAkB,EAAE,KAAK;KAC1B,EACD,UAAU,KAAK,EAAE,QAAQ,EAAE,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