@ankhorage/zora-game 0.6.1 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +1 -2
  3. package/dist/ZORA_GAME_COMPONENT_META.d.ts +212 -0
  4. package/dist/ZORA_GAME_COMPONENT_META.d.ts.map +1 -1
  5. package/dist/ZORA_GAME_PLUGIN.d.ts +212 -0
  6. package/dist/ZORA_GAME_PLUGIN.d.ts.map +1 -1
  7. package/dist/ZORA_PLUGIN_METADATA.d.ts +212 -0
  8. package/dist/ZORA_PLUGIN_METADATA.d.ts.map +1 -1
  9. package/dist/features/game-presentation/adapters/inbound/GameEntity.d.ts +1 -1
  10. package/dist/features/game-presentation/adapters/inbound/GameEntity.d.ts.map +1 -1
  11. package/dist/features/game-presentation/adapters/inbound/GameEntity.js +15 -28
  12. package/dist/features/game-presentation/adapters/inbound/GameEntity.js.map +1 -1
  13. package/dist/features/game-presentation/meta/gameEntityMeta.d.ts +212 -0
  14. package/dist/features/game-presentation/meta/gameEntityMeta.d.ts.map +1 -1
  15. package/dist/features/game-presentation/meta/gameEntityMeta.js +114 -0
  16. package/dist/features/game-presentation/meta/gameEntityMeta.js.map +1 -1
  17. package/dist/features/game-presentation/public.d.ts +1 -1
  18. package/dist/features/game-presentation/public.d.ts.map +1 -1
  19. package/dist/features/game-presentation/public.js.map +1 -1
  20. package/dist/features/game-presentation/utils/resolveGameEntityMotionPlan.d.ts +15 -0
  21. package/dist/features/game-presentation/utils/resolveGameEntityMotionPlan.d.ts.map +1 -0
  22. package/dist/features/game-presentation/utils/resolveGameEntityMotionPlan.js +31 -0
  23. package/dist/features/game-presentation/utils/resolveGameEntityMotionPlan.js.map +1 -0
  24. package/dist/features/game-presentation/utils/useAnimatedGameEntityValue.d.ts +5 -0
  25. package/dist/features/game-presentation/utils/useAnimatedGameEntityValue.d.ts.map +1 -0
  26. package/dist/features/game-presentation/utils/useAnimatedGameEntityValue.js +33 -0
  27. package/dist/features/game-presentation/utils/useAnimatedGameEntityValue.js.map +1 -0
  28. package/dist/features/game-presentation/utils/useGameEntityAnimatedStyle.d.ts +16 -0
  29. package/dist/features/game-presentation/utils/useGameEntityAnimatedStyle.d.ts.map +1 -0
  30. package/dist/features/game-presentation/utils/useGameEntityAnimatedStyle.js +52 -0
  31. package/dist/features/game-presentation/utils/useGameEntityAnimatedStyle.js.map +1 -0
  32. package/dist/features/game-presentation/utils/useGameEntityMeasurement.d.ts +5 -0
  33. package/dist/features/game-presentation/utils/useGameEntityMeasurement.d.ts.map +1 -0
  34. package/dist/features/game-presentation/utils/useGameEntityMeasurement.js +14 -0
  35. package/dist/features/game-presentation/utils/useGameEntityMeasurement.js.map +1 -0
  36. package/dist/features/game-presentation/utils/useGameEntityMotionProgress.d.ts +5 -0
  37. package/dist/features/game-presentation/utils/useGameEntityMotionProgress.d.ts.map +1 -0
  38. package/dist/features/game-presentation/utils/useGameEntityMotionProgress.js +87 -0
  39. package/dist/features/game-presentation/utils/useGameEntityMotionProgress.js.map +1 -0
  40. package/dist/features/game-presentation/utils/useGameReducedMotion.d.ts +3 -0
  41. package/dist/features/game-presentation/utils/useGameReducedMotion.d.ts.map +1 -0
  42. package/dist/features/game-presentation/utils/useGameReducedMotion.js +13 -0
  43. package/dist/features/game-presentation/utils/useGameReducedMotion.js.map +1 -0
  44. package/dist/index.d.ts +1 -1
  45. package/dist/index.d.ts.map +1 -1
  46. package/dist/index.js.map +1 -1
  47. package/dist/types/gamePresentation.d.ts +18 -1
  48. package/dist/types/gamePresentation.d.ts.map +1 -1
  49. package/dist/types/gamePresentation.js.map +1 -1
  50. package/package.json +4 -4
  51. package/src/ZORA_PLUGIN_METADATA.test.ts +17 -0
  52. package/src/features/game-presentation/adapters/inbound/GameEntity.tsx +19 -69
  53. package/src/features/game-presentation/meta/gameEntityMeta.ts +115 -0
  54. package/src/features/game-presentation/public.ts +2 -0
  55. package/src/features/game-presentation/utils/resolveGameEntityMotionPlan.test.ts +63 -0
  56. package/src/features/game-presentation/utils/resolveGameEntityMotionPlan.ts +53 -0
  57. package/src/features/game-presentation/utils/useAnimatedGameEntityValue.ts +41 -0
  58. package/src/features/game-presentation/utils/useGameEntityAnimatedStyle.ts +87 -0
  59. package/src/features/game-presentation/utils/useGameEntityMeasurement.ts +19 -0
  60. package/src/features/game-presentation/utils/useGameEntityMotionProgress.ts +114 -0
  61. package/src/features/game-presentation/utils/useGameReducedMotion.ts +15 -0
  62. package/src/index.ts +2 -0
  63. package/src/types/gamePresentation.ts +19 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @ankhorage/zora-game
2
2
 
3
+ ## 0.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 44cdd1e: Add cross-platform GameEntity state transitions and relative one-shot/repeating motion timelines with
8
+ reduced-motion handling, while keeping game-session semantics unchanged.
9
+
10
+ ## 0.6.2
11
+
12
+ ### Patch Changes
13
+
14
+ - 0f61a17: Update Ankhorage dependencies: `@ankhorage/runtime`, `@ankhorage/zora`.
15
+
3
16
  ## 0.6.1
4
17
 
5
18
  ### Patch Changes
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  # @ankhorage/zora-game
5
5
 
6
- ![license: MIT](././paradox/badges/license.svg) ![npm: v0.6.1](././paradox/badges/npm.svg) ![runtime: bun](././paradox/badges/runtime.svg) ![typescript: strict](././paradox/badges/typescript.svg) ![eslint: checked](././paradox/badges/eslint.svg) ![prettier: checked](././paradox/badges/prettier.svg) ![build: checked](././paradox/badges/build.svg) ![tests: checked](././paradox/badges/tests.svg) ![docs: paradox](././paradox/badges/docs.svg)
6
+ ![license: MIT](././paradox/badges/license.svg) ![npm: v0.7.0](././paradox/badges/npm.svg) ![runtime: bun](././paradox/badges/runtime.svg) ![typescript: strict](././paradox/badges/typescript.svg) ![eslint: checked](././paradox/badges/eslint.svg) ![prettier: checked](././paradox/badges/prettier.svg) ![build: checked](././paradox/badges/build.svg) ![tests: checked](././paradox/badges/tests.svg) ![docs: paradox](././paradox/badges/docs.svg)
7
7
 
8
8
  Generic game presentation primitives for React Native and React Native Web apps built on ZORA.
9
9
 
@@ -16,6 +16,5 @@ Generic game presentation primitives for React Native and React Native Web apps
16
16
  - [Module relationships](././paradox/diagrams/module-relationships.mmd)
17
17
  - [Export graph](././paradox/diagrams/export-graph.mmd)
18
18
  - [Game sequence](././paradox/diagrams/sequences/game.mmd)
19
- - [GameEntity sequence](././paradox/diagrams/sequences/game-entity.mmd)
20
19
  - [GameInputZone sequence](././paradox/diagrams/sequences/game-input-zone.mmd)
21
20
  - [GameOverlay sequence](././paradox/diagrams/sequences/game-overlay.mmd)
@@ -197,6 +197,90 @@ export declare const ZORA_GAME_COMPONENT_META: {
197
197
  };
198
198
  readonly acceptsFallback: true;
199
199
  };
200
+ readonly transitionDurationMs: {
201
+ readonly value: {
202
+ readonly type: "number";
203
+ };
204
+ readonly acceptsFallback: true;
205
+ };
206
+ readonly transitionEasing: {
207
+ readonly value: {
208
+ readonly type: "string";
209
+ };
210
+ readonly acceptsFallback: true;
211
+ };
212
+ readonly motionOffsetX: {
213
+ readonly value: {
214
+ readonly type: "number";
215
+ };
216
+ readonly acceptsFallback: true;
217
+ };
218
+ readonly motionOffsetY: {
219
+ readonly value: {
220
+ readonly type: "number";
221
+ };
222
+ readonly acceptsFallback: true;
223
+ };
224
+ readonly motionOpacityDelta: {
225
+ readonly value: {
226
+ readonly type: "number";
227
+ };
228
+ readonly acceptsFallback: true;
229
+ };
230
+ readonly motionScaleDelta: {
231
+ readonly value: {
232
+ readonly type: "number";
233
+ };
234
+ readonly acceptsFallback: true;
235
+ };
236
+ readonly motionRotationDelta: {
237
+ readonly value: {
238
+ readonly type: "number";
239
+ };
240
+ readonly acceptsFallback: true;
241
+ };
242
+ readonly motionDurationMs: {
243
+ readonly value: {
244
+ readonly type: "number";
245
+ };
246
+ readonly acceptsFallback: true;
247
+ };
248
+ readonly motionDelayMs: {
249
+ readonly value: {
250
+ readonly type: "number";
251
+ };
252
+ readonly acceptsFallback: true;
253
+ };
254
+ readonly motionEasing: {
255
+ readonly value: {
256
+ readonly type: "string";
257
+ };
258
+ readonly acceptsFallback: true;
259
+ };
260
+ readonly motionRepeat: {
261
+ readonly value: {
262
+ readonly type: "boolean";
263
+ };
264
+ readonly acceptsFallback: true;
265
+ };
266
+ readonly motionAlternate: {
267
+ readonly value: {
268
+ readonly type: "boolean";
269
+ };
270
+ readonly acceptsFallback: true;
271
+ };
272
+ readonly motionPaused: {
273
+ readonly value: {
274
+ readonly type: "boolean";
275
+ };
276
+ readonly acceptsFallback: true;
277
+ };
278
+ readonly motionEssential: {
279
+ readonly value: {
280
+ readonly type: "boolean";
281
+ };
282
+ readonly acceptsFallback: true;
283
+ };
200
284
  };
201
285
  };
202
286
  readonly props: {
@@ -297,6 +381,134 @@ export declare const ZORA_GAME_COMPONENT_META: {
297
381
  readonly authority: "instance";
298
382
  };
299
383
  };
384
+ readonly transitionDurationMs: {
385
+ readonly type: "number";
386
+ readonly category: "Motion";
387
+ readonly label: "Transition duration (ms)";
388
+ readonly default: 0;
389
+ readonly authoring: {
390
+ readonly authority: "instance";
391
+ };
392
+ };
393
+ readonly transitionEasing: {
394
+ readonly type: "enum";
395
+ readonly category: "Motion";
396
+ readonly label: "Transition easing";
397
+ readonly enum: readonly ["linear", "ease-in", "ease-out", "ease-in-out"];
398
+ readonly default: "linear";
399
+ readonly authoring: {
400
+ readonly authority: "instance";
401
+ };
402
+ };
403
+ readonly motionOffsetX: {
404
+ readonly type: "number";
405
+ readonly category: "Motion";
406
+ readonly label: "Motion X offset (%)";
407
+ readonly default: 0;
408
+ readonly authoring: {
409
+ readonly authority: "instance";
410
+ };
411
+ };
412
+ readonly motionOffsetY: {
413
+ readonly type: "number";
414
+ readonly category: "Motion";
415
+ readonly label: "Motion Y offset (%)";
416
+ readonly default: 0;
417
+ readonly authoring: {
418
+ readonly authority: "instance";
419
+ };
420
+ };
421
+ readonly motionOpacityDelta: {
422
+ readonly type: "number";
423
+ readonly category: "Motion";
424
+ readonly label: "Motion opacity delta";
425
+ readonly default: 0;
426
+ readonly authoring: {
427
+ readonly authority: "instance";
428
+ };
429
+ };
430
+ readonly motionScaleDelta: {
431
+ readonly type: "number";
432
+ readonly category: "Motion";
433
+ readonly label: "Motion scale delta";
434
+ readonly default: 0;
435
+ readonly authoring: {
436
+ readonly authority: "instance";
437
+ };
438
+ };
439
+ readonly motionRotationDelta: {
440
+ readonly type: "number";
441
+ readonly category: "Motion";
442
+ readonly label: "Motion rotation delta";
443
+ readonly default: 0;
444
+ readonly authoring: {
445
+ readonly authority: "instance";
446
+ };
447
+ };
448
+ readonly motionDurationMs: {
449
+ readonly type: "number";
450
+ readonly category: "Motion";
451
+ readonly label: "Motion duration (ms)";
452
+ readonly default: 0;
453
+ readonly authoring: {
454
+ readonly authority: "instance";
455
+ };
456
+ };
457
+ readonly motionDelayMs: {
458
+ readonly type: "number";
459
+ readonly category: "Motion";
460
+ readonly label: "Motion delay (ms)";
461
+ readonly default: 0;
462
+ readonly authoring: {
463
+ readonly authority: "instance";
464
+ };
465
+ };
466
+ readonly motionEasing: {
467
+ readonly type: "enum";
468
+ readonly category: "Motion";
469
+ readonly label: "Motion easing";
470
+ readonly enum: readonly ["linear", "ease-in", "ease-out", "ease-in-out"];
471
+ readonly default: "linear";
472
+ readonly authoring: {
473
+ readonly authority: "instance";
474
+ };
475
+ };
476
+ readonly motionRepeat: {
477
+ readonly type: "boolean";
478
+ readonly category: "Motion";
479
+ readonly label: "Repeat motion";
480
+ readonly default: false;
481
+ readonly authoring: {
482
+ readonly authority: "instance";
483
+ };
484
+ };
485
+ readonly motionAlternate: {
486
+ readonly type: "boolean";
487
+ readonly category: "Motion";
488
+ readonly label: "Alternate motion";
489
+ readonly default: false;
490
+ readonly authoring: {
491
+ readonly authority: "instance";
492
+ };
493
+ };
494
+ readonly motionPaused: {
495
+ readonly type: "boolean";
496
+ readonly category: "Motion";
497
+ readonly label: "Pause motion";
498
+ readonly default: false;
499
+ readonly authoring: {
500
+ readonly authority: "instance";
501
+ };
502
+ };
503
+ readonly motionEssential: {
504
+ readonly type: "boolean";
505
+ readonly category: "Motion";
506
+ readonly label: "Essential motion";
507
+ readonly default: false;
508
+ readonly authoring: {
509
+ readonly authority: "instance";
510
+ };
511
+ };
300
512
  readonly accessibilityLabel: {
301
513
  readonly type: "string";
302
514
  readonly category: "Accessibility";
@@ -1 +1 @@
1
- {"version":3,"file":"ZORA_GAME_COMPONENT_META.d.ts","sourceRoot":"","sources":["../src/ZORA_GAME_COMPONENT_META.ts"],"names":[],"mappings":"AAOA,8EAA8E;AAC9E,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAO3B,CAAC"}
@@ -214,6 +214,90 @@ export declare const ZORA_GAME_PLUGIN: {
214
214
  };
215
215
  readonly acceptsFallback: true;
216
216
  };
217
+ readonly transitionDurationMs: {
218
+ readonly value: {
219
+ readonly type: "number";
220
+ };
221
+ readonly acceptsFallback: true;
222
+ };
223
+ readonly transitionEasing: {
224
+ readonly value: {
225
+ readonly type: "string";
226
+ };
227
+ readonly acceptsFallback: true;
228
+ };
229
+ readonly motionOffsetX: {
230
+ readonly value: {
231
+ readonly type: "number";
232
+ };
233
+ readonly acceptsFallback: true;
234
+ };
235
+ readonly motionOffsetY: {
236
+ readonly value: {
237
+ readonly type: "number";
238
+ };
239
+ readonly acceptsFallback: true;
240
+ };
241
+ readonly motionOpacityDelta: {
242
+ readonly value: {
243
+ readonly type: "number";
244
+ };
245
+ readonly acceptsFallback: true;
246
+ };
247
+ readonly motionScaleDelta: {
248
+ readonly value: {
249
+ readonly type: "number";
250
+ };
251
+ readonly acceptsFallback: true;
252
+ };
253
+ readonly motionRotationDelta: {
254
+ readonly value: {
255
+ readonly type: "number";
256
+ };
257
+ readonly acceptsFallback: true;
258
+ };
259
+ readonly motionDurationMs: {
260
+ readonly value: {
261
+ readonly type: "number";
262
+ };
263
+ readonly acceptsFallback: true;
264
+ };
265
+ readonly motionDelayMs: {
266
+ readonly value: {
267
+ readonly type: "number";
268
+ };
269
+ readonly acceptsFallback: true;
270
+ };
271
+ readonly motionEasing: {
272
+ readonly value: {
273
+ readonly type: "string";
274
+ };
275
+ readonly acceptsFallback: true;
276
+ };
277
+ readonly motionRepeat: {
278
+ readonly value: {
279
+ readonly type: "boolean";
280
+ };
281
+ readonly acceptsFallback: true;
282
+ };
283
+ readonly motionAlternate: {
284
+ readonly value: {
285
+ readonly type: "boolean";
286
+ };
287
+ readonly acceptsFallback: true;
288
+ };
289
+ readonly motionPaused: {
290
+ readonly value: {
291
+ readonly type: "boolean";
292
+ };
293
+ readonly acceptsFallback: true;
294
+ };
295
+ readonly motionEssential: {
296
+ readonly value: {
297
+ readonly type: "boolean";
298
+ };
299
+ readonly acceptsFallback: true;
300
+ };
217
301
  };
218
302
  };
219
303
  readonly props: {
@@ -314,6 +398,134 @@ export declare const ZORA_GAME_PLUGIN: {
314
398
  readonly authority: "instance";
315
399
  };
316
400
  };
401
+ readonly transitionDurationMs: {
402
+ readonly type: "number";
403
+ readonly category: "Motion";
404
+ readonly label: "Transition duration (ms)";
405
+ readonly default: 0;
406
+ readonly authoring: {
407
+ readonly authority: "instance";
408
+ };
409
+ };
410
+ readonly transitionEasing: {
411
+ readonly type: "enum";
412
+ readonly category: "Motion";
413
+ readonly label: "Transition easing";
414
+ readonly enum: readonly ["linear", "ease-in", "ease-out", "ease-in-out"];
415
+ readonly default: "linear";
416
+ readonly authoring: {
417
+ readonly authority: "instance";
418
+ };
419
+ };
420
+ readonly motionOffsetX: {
421
+ readonly type: "number";
422
+ readonly category: "Motion";
423
+ readonly label: "Motion X offset (%)";
424
+ readonly default: 0;
425
+ readonly authoring: {
426
+ readonly authority: "instance";
427
+ };
428
+ };
429
+ readonly motionOffsetY: {
430
+ readonly type: "number";
431
+ readonly category: "Motion";
432
+ readonly label: "Motion Y offset (%)";
433
+ readonly default: 0;
434
+ readonly authoring: {
435
+ readonly authority: "instance";
436
+ };
437
+ };
438
+ readonly motionOpacityDelta: {
439
+ readonly type: "number";
440
+ readonly category: "Motion";
441
+ readonly label: "Motion opacity delta";
442
+ readonly default: 0;
443
+ readonly authoring: {
444
+ readonly authority: "instance";
445
+ };
446
+ };
447
+ readonly motionScaleDelta: {
448
+ readonly type: "number";
449
+ readonly category: "Motion";
450
+ readonly label: "Motion scale delta";
451
+ readonly default: 0;
452
+ readonly authoring: {
453
+ readonly authority: "instance";
454
+ };
455
+ };
456
+ readonly motionRotationDelta: {
457
+ readonly type: "number";
458
+ readonly category: "Motion";
459
+ readonly label: "Motion rotation delta";
460
+ readonly default: 0;
461
+ readonly authoring: {
462
+ readonly authority: "instance";
463
+ };
464
+ };
465
+ readonly motionDurationMs: {
466
+ readonly type: "number";
467
+ readonly category: "Motion";
468
+ readonly label: "Motion duration (ms)";
469
+ readonly default: 0;
470
+ readonly authoring: {
471
+ readonly authority: "instance";
472
+ };
473
+ };
474
+ readonly motionDelayMs: {
475
+ readonly type: "number";
476
+ readonly category: "Motion";
477
+ readonly label: "Motion delay (ms)";
478
+ readonly default: 0;
479
+ readonly authoring: {
480
+ readonly authority: "instance";
481
+ };
482
+ };
483
+ readonly motionEasing: {
484
+ readonly type: "enum";
485
+ readonly category: "Motion";
486
+ readonly label: "Motion easing";
487
+ readonly enum: readonly ["linear", "ease-in", "ease-out", "ease-in-out"];
488
+ readonly default: "linear";
489
+ readonly authoring: {
490
+ readonly authority: "instance";
491
+ };
492
+ };
493
+ readonly motionRepeat: {
494
+ readonly type: "boolean";
495
+ readonly category: "Motion";
496
+ readonly label: "Repeat motion";
497
+ readonly default: false;
498
+ readonly authoring: {
499
+ readonly authority: "instance";
500
+ };
501
+ };
502
+ readonly motionAlternate: {
503
+ readonly type: "boolean";
504
+ readonly category: "Motion";
505
+ readonly label: "Alternate motion";
506
+ readonly default: false;
507
+ readonly authoring: {
508
+ readonly authority: "instance";
509
+ };
510
+ };
511
+ readonly motionPaused: {
512
+ readonly type: "boolean";
513
+ readonly category: "Motion";
514
+ readonly label: "Pause motion";
515
+ readonly default: false;
516
+ readonly authoring: {
517
+ readonly authority: "instance";
518
+ };
519
+ };
520
+ readonly motionEssential: {
521
+ readonly type: "boolean";
522
+ readonly category: "Motion";
523
+ readonly label: "Essential motion";
524
+ readonly default: false;
525
+ readonly authoring: {
526
+ readonly authority: "instance";
527
+ };
528
+ };
317
529
  readonly accessibilityLabel: {
318
530
  readonly type: "string";
319
531
  readonly category: "Accessibility";
@@ -1 +1 @@
1
- {"version":3,"file":"ZORA_GAME_PLUGIN.d.ts","sourceRoot":"","sources":["../src/ZORA_GAME_PLUGIN.ts"],"names":[],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