@epam/ai-dial-celebrations 1.3.0-dev.35 → 1.3.0-dev.355

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 (104) hide show
  1. package/celebration-capabilities-DABcz0mO.js +27 -0
  2. package/components/LottieScene/LottieScene.d.ts +14 -0
  3. package/components/LottieScene/LottieScene.d.ts.map +1 -0
  4. package/components/StaticTriggerDecoration/StaticTriggerDecoration.d.ts +14 -0
  5. package/components/StaticTriggerDecoration/StaticTriggerDecoration.d.ts.map +1 -0
  6. package/constants/celebration-capabilities.d.ts +3 -0
  7. package/constants/celebration-capabilities.d.ts.map +1 -0
  8. package/halloween/components/Halloween/HalloweenCandy.d.ts.map +1 -1
  9. package/halloween/components/Halloween/HalloweenMimic.d.ts.map +1 -1
  10. package/halloween/components/Halloween/HalloweenSpiderTheft.d.ts.map +1 -1
  11. package/halloween/components/Halloween/HalloweenTrain.d.ts.map +1 -1
  12. package/halloween/utils/halloween-bowling.d.ts.map +1 -1
  13. package/halloween/utils/halloween-candy-plan.d.ts.map +1 -1
  14. package/halloween/utils/halloween-footprint-plan.d.ts.map +1 -1
  15. package/halloween/utils/halloween-raven-targets.d.ts.map +1 -1
  16. package/halloween/utils/halloween-skeleton-plan.d.ts.map +1 -1
  17. package/halloween/utils/halloween-witch-plan.d.ts.map +1 -1
  18. package/halloween.js +3109 -3277
  19. package/hooks/useLottieSceneSession.d.ts +1 -1
  20. package/hooks/useLottieSceneSession.d.ts.map +1 -1
  21. package/index.css +3 -2
  22. package/index.d.ts +3 -0
  23. package/index.d.ts.map +1 -1
  24. package/index.js +63 -62
  25. package/{lottie_light-DVla0_7m.js → lottie_light-DUHSXGUj.js} +1003 -1056
  26. package/models/celebration-pack.d.ts +126 -0
  27. package/models/celebration-pack.d.ts.map +1 -0
  28. package/models/lottie-scene.d.ts +17 -4
  29. package/models/lottie-scene.d.ts.map +1 -1
  30. package/new-year/components/NewYear/NewYearSceneOverlay.d.ts.map +1 -1
  31. package/new-year/components/NewYearReindeerTakeoff/NewYearReindeerTakeoff.d.ts +5 -0
  32. package/new-year/components/NewYearReindeerTakeoff/NewYearReindeerTakeoff.d.ts.map +1 -0
  33. package/new-year/components/NewYearReindeerTakeoff/ReindeerStill.d.ts +4 -0
  34. package/new-year/components/NewYearReindeerTakeoff/ReindeerStill.d.ts.map +1 -0
  35. package/new-year/components/NewYearSnowmanDelivery/NewYearSnowmanDelivery.d.ts +5 -0
  36. package/new-year/components/NewYearSnowmanDelivery/NewYearSnowmanDelivery.d.ts.map +1 -0
  37. package/new-year/components/NewYearSnowmanDelivery/SnowmanDeliveryStill.d.ts +4 -0
  38. package/new-year/components/NewYearSnowmanDelivery/SnowmanDeliveryStill.d.ts.map +1 -0
  39. package/new-year/constants/labels.d.ts +2 -3
  40. package/new-year/constants/labels.d.ts.map +1 -1
  41. package/new-year/constants/new-year.d.ts +3 -3
  42. package/new-year/constants/new-year.d.ts.map +1 -1
  43. package/new-year/event.d.ts.map +1 -1
  44. package/new-year/models/labels.d.ts +4 -6
  45. package/new-year/models/labels.d.ts.map +1 -1
  46. package/new-year/types/new-year.d.ts +17 -6
  47. package/new-year/types/new-year.d.ts.map +1 -1
  48. package/new-year/utils/gift-wrapping-composition.d.ts.map +1 -1
  49. package/new-year/utils/penguin-star-art.d.ts.map +1 -1
  50. package/new-year/utils/penguin-star-composition.d.ts.map +1 -1
  51. package/new-year/utils/reindeer-animation.d.ts +5 -0
  52. package/new-year/utils/reindeer-animation.d.ts.map +1 -0
  53. package/new-year/utils/reindeer-art.d.ts +58 -0
  54. package/new-year/utils/reindeer-art.d.ts.map +1 -0
  55. package/new-year/utils/reindeer-composition.d.ts +66 -0
  56. package/new-year/utils/reindeer-composition.d.ts.map +1 -0
  57. package/new-year/utils/reindeer-physics.d.ts +60 -0
  58. package/new-year/utils/reindeer-physics.d.ts.map +1 -0
  59. package/new-year/utils/reindeer-scene.d.ts +4 -0
  60. package/new-year/utils/reindeer-scene.d.ts.map +1 -0
  61. package/new-year/utils/reindeer-targets.d.ts +28 -0
  62. package/new-year/utils/reindeer-targets.d.ts.map +1 -0
  63. package/new-year/utils/reindeer-text.d.ts +14 -0
  64. package/new-year/utils/reindeer-text.d.ts.map +1 -0
  65. package/new-year/utils/snowman-delivery-animation.d.ts +7 -0
  66. package/new-year/utils/snowman-delivery-animation.d.ts.map +1 -0
  67. package/new-year/utils/snowman-delivery-art.d.ts +96 -0
  68. package/new-year/utils/snowman-delivery-art.d.ts.map +1 -0
  69. package/new-year/utils/snowman-delivery-card.d.ts +12 -0
  70. package/new-year/utils/snowman-delivery-card.d.ts.map +1 -0
  71. package/new-year/utils/snowman-delivery-composition.d.ts +161 -0
  72. package/new-year/utils/snowman-delivery-composition.d.ts.map +1 -0
  73. package/new-year/utils/snowman-delivery-rig.d.ts +87 -0
  74. package/new-year/utils/snowman-delivery-rig.d.ts.map +1 -0
  75. package/new-year/utils/snowman-delivery-targets.d.ts +65 -0
  76. package/new-year/utils/snowman-delivery-targets.d.ts.map +1 -0
  77. package/new-year/utils/snowman-delivery-timeline.d.ts +47 -0
  78. package/new-year/utils/snowman-delivery-timeline.d.ts.map +1 -0
  79. package/new-year.js +3474 -1026
  80. package/package.json +9 -4
  81. package/packs/index.d.ts +6 -0
  82. package/packs/index.d.ts.map +1 -0
  83. package/packs.js +197 -0
  84. package/scene-targets-C5LEjDnN.js +180 -0
  85. package/types/celebration-pack.d.ts +82 -0
  86. package/types/celebration-pack.d.ts.map +1 -0
  87. package/useLottieSceneSession-FcSRnJ26.js +204 -0
  88. package/useReducedMotion-BWIeAFB_.js +8 -0
  89. package/utils/celebration-descriptor-event.d.ts +9 -0
  90. package/utils/celebration-descriptor-event.d.ts.map +1 -0
  91. package/utils/celebration-pack-scene.d.ts +19 -0
  92. package/utils/celebration-pack-scene.d.ts.map +1 -0
  93. package/utils/celebration-snapshots.d.ts.map +1 -1
  94. package/utils/celebration-variant.d.ts +7 -0
  95. package/utils/celebration-variant.d.ts.map +1 -0
  96. package/utils/lottie-scene-session.d.ts +1 -1
  97. package/utils/lottie-scene-session.d.ts.map +1 -1
  98. package/flying-characters-Czuzwf8T.js +0 -40
  99. package/new-year/components/NewYear/NewYearParticles.d.ts +0 -10
  100. package/new-year/components/NewYear/NewYearParticles.d.ts.map +0 -1
  101. package/new-year/components/NewYear/NewYearSleigh.d.ts +0 -3
  102. package/new-year/components/NewYear/NewYearSleigh.d.ts.map +0 -1
  103. package/new-year/components/NewYear/particles.d.ts +0 -5
  104. package/new-year/components/NewYear/particles.d.ts.map +0 -1
@@ -0,0 +1,126 @@
1
+ import { CelebrationColorScheme, CelebrationDecorationTemplate, CelebrationDirectionMode, CelebrationLayout, CelebrationPlacementTemplate, CelebrationStageAlign, CelebrationStageEdge, CelebrationStageFit } from '../types/celebration-pack';
2
+ /** Writing direction a host supplies to pack scenes. */
3
+ export type CelebrationTextDirection = 'ltr' | 'rtl';
4
+ /** Host inputs a pack scene adapts to; layout comes from the provider's `isMobile`. */
5
+ export interface CelebrationVariantContext {
6
+ /** Writing direction of the host document. */
7
+ direction: CelebrationTextDirection;
8
+ /** Resolved color scheme of the host theme. */
9
+ colorScheme: CelebrationColorScheme;
10
+ }
11
+ /** `viewport-stage-v1` placement of a scene. */
12
+ export interface CelebrationViewportStagePlacement {
13
+ /** Placement template. */
14
+ template: CelebrationPlacementTemplate.ViewportStageV1;
15
+ /** How the stage scales into the viewport. */
16
+ fit: CelebrationStageFit;
17
+ /** Where the stage sits in the viewport. */
18
+ align: CelebrationStageAlign;
19
+ }
20
+ /** Placement of a scene; this release defines only `viewport-stage-v1`. */
21
+ export type CelebrationPlacementDescriptor = CelebrationViewportStagePlacement;
22
+ /** The four deadlines of a pack scene, in milliseconds. */
23
+ export interface CelebrationSceneTiming {
24
+ /** Authored story length, counted from renderer readiness. */
25
+ playbackDurationMs: number;
26
+ /** Time allowed for the player chunk plus the animation data. */
27
+ loadTimeoutMs: number;
28
+ /** Time from renderer creation to readiness. */
29
+ readyTimeoutMs: number;
30
+ /** Total scene lifetime from mount; becomes `CelebrationScene.durationMs`. */
31
+ maxLifetimeMs: number;
32
+ }
33
+ /** Conditions a variant matches; a missing condition matches anything. */
34
+ export interface CelebrationVariantConditions {
35
+ /** Host layout. */
36
+ layout?: CelebrationLayout;
37
+ /** Writing direction. */
38
+ direction?: CelebrationTextDirection;
39
+ /** Theme color scheme. */
40
+ colorScheme?: CelebrationColorScheme;
41
+ }
42
+ /** One animation of a scene for a set of host conditions. */
43
+ export interface CelebrationSceneVariantDescriptor {
44
+ /** Conditions this variant matches. */
45
+ when: CelebrationVariantConditions;
46
+ /** Asset id of the variant's Lottie JSON. */
47
+ animationAssetId: string;
48
+ }
49
+ /** A pack scene, transport-independent and already validated by the host. */
50
+ export interface CelebrationSceneDescriptor {
51
+ /** Stable scene id, unique within its event. */
52
+ id: string;
53
+ /** Key of the scene's notification message in the event's labels. */
54
+ labelId: string;
55
+ /** Renderer capability id, such as `lottie-light-svg-v1`. */
56
+ renderer: string;
57
+ /** Capability ids the scene needs; unknown ids make it unsupported. */
58
+ requiredCapabilities: readonly string[];
59
+ /** Where the stage renders. */
60
+ placement: CelebrationPlacementDescriptor;
61
+ /** How the scene adapts to RTL. */
62
+ direction: CelebrationDirectionMode;
63
+ /** Deadlines of the scene. */
64
+ timing: CelebrationSceneTiming;
65
+ /** Asset id of the static poster. */
66
+ posterAssetId: string;
67
+ /** How long the poster shows, in milliseconds. */
68
+ posterDurationMs: number;
69
+ /** Animations for different host conditions, in declaration order. */
70
+ variants: readonly CelebrationSceneVariantDescriptor[];
71
+ }
72
+ /** Decoration of an external-only event. */
73
+ export interface CelebrationDecorationDescriptor {
74
+ /** Decoration template. */
75
+ template: CelebrationDecorationTemplate;
76
+ /** Asset id of the trigger image. */
77
+ posterAssetId: string;
78
+ /** Key of the trigger's accessible name in the event's labels. */
79
+ labelId: string;
80
+ }
81
+ /** Event-level fields that only an external-only pack declares. */
82
+ export interface CelebrationExternalEventDescriptor {
83
+ /** Key of the notification title in the event's labels. */
84
+ titleLabelId: string;
85
+ /** Scenes a trigger click chooses from. */
86
+ clickSceneIds: readonly string[];
87
+ /** Asset id of the icon a host may show instead of its logo. */
88
+ iconAssetId?: string;
89
+ /** The event's start-page decoration. */
90
+ decoration: CelebrationDecorationDescriptor;
91
+ }
92
+ /** One validated pack version for one event. */
93
+ export interface CelebrationPackDescriptor {
94
+ /** Stable pack id. */
95
+ packId: string;
96
+ /** Pack version. */
97
+ version: string;
98
+ /** Event the pack belongs to. */
99
+ eventId: string;
100
+ /** Scenes of the pack. */
101
+ scenes: readonly CelebrationSceneDescriptor[];
102
+ /** English default labels keyed by label id. */
103
+ labels?: Readonly<Record<string, string>>;
104
+ /** Present only for an external-only event. */
105
+ event?: CelebrationExternalEventDescriptor;
106
+ }
107
+ /** Host callbacks through which pack scenes reach their assets. */
108
+ export interface CelebrationAssetLoaders {
109
+ /** Resolves parsed, host-validated Lottie JSON; must reject on abort. */
110
+ loadAnimationData: (assetId: string, signal: AbortSignal) => Promise<unknown>;
111
+ /** Returns a host-built image URL for `<img>`; `undefined` when unavailable. */
112
+ resolveImageUrl: (assetId: string) => string | undefined;
113
+ }
114
+ /** Inputs of variant selection: the variant context plus the host layout. */
115
+ export interface CelebrationVariantInput extends CelebrationVariantContext {
116
+ /** Host layout. */
117
+ layout: CelebrationLayout;
118
+ }
119
+ /** Logical position of a viewport stage. */
120
+ export interface CelebrationStageAlignment {
121
+ /** Position along the block (vertical) axis. */
122
+ block: CelebrationStageEdge;
123
+ /** Position along the inline axis, resolved against the stage's `dir`. */
124
+ inline: CelebrationStageEdge;
125
+ }
126
+ //# sourceMappingURL=celebration-pack.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"celebration-pack.d.ts","sourceRoot":"","sources":["../../src/models/celebration-pack.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,6BAA6B,EAC7B,wBAAwB,EACxB,iBAAiB,EACjB,4BAA4B,EAC5B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K,CAAC,EAAE,kCAAkC,CAAC;CAC5C;AAED,mEAAmE;AACnE,MAAM,WAAW,uBAAuB;IACtC,yEAAyE;IACzE,iBAAiB,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IAC9E,gFAAgF;IAChF,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAC;CAC1D;AAED,6EAA6E;AAC7E,MAAM,WAAW,uBAAwB,SAAQ,yBAAyB;IACxE,mBAAmB;IACnB,MAAM,EAAE,iBAAiB,CAAC;CAC3B;AAED,4CAA4C;AAC5C,MAAM,WAAW,yBAAyB;IACxC,gDAAgD;IAChD,KAAK,EAAE,oBAAoB,CAAC;IAC5B,0EAA0E;IAC1E,MAAM,EAAE,oBAAoB,CAAC;CAC9B"}
@@ -21,6 +21,11 @@ export interface LottieAnimationContext<P> {
21
21
  /** Ends the session as cancelled. */
22
22
  cancel: () => void;
23
23
  }
24
+ /** What a scene adapter receives once the first frame of playback renders. */
25
+ export interface LottiePlaybackStartContext<P> extends LottieAnimationContext<P> {
26
+ /** The `document.timeline` time, in milliseconds, of the composition's frame 0. */
27
+ timelineZeroMs: number;
28
+ }
24
29
  /** A scene's fixed contribution to its Lottie session. */
25
30
  export interface LottieScenePlayback<P> {
26
31
  /** Deadlines of the session. */
@@ -31,13 +36,19 @@ export interface LottieScenePlayback<P> {
31
36
  getAnimationData: (preparation: P) => object;
32
37
  /** Installs scene observers once the renderer exists. */
33
38
  onAnimationCreated?: (context: LottieAnimationContext<P>) => void;
39
+ /** Starts companion animations on the Lottie clock; called once, on the first rendered frame. */
40
+ onPlaybackStarted?: (context: LottiePlaybackStartContext<P>) => void;
41
+ /** Checks the rendered DOM at readiness, before play; `false` fails the session. */
42
+ isRendererAccepted?: (host: HTMLElement) => boolean;
34
43
  }
35
44
  /** Inputs of one Lottie scene session. */
36
45
  export interface LottieSceneSessionOptions<P> {
37
46
  /** The scene's timings, data ownership and observers. */
38
47
  playback: LottieScenePlayback<P>;
39
- /** Measures targets and builds the composition after the player loads. */
40
- prepare: (player: LottiePlayer) => P;
48
+ /** Measures targets and builds the composition after the player and data load. */
49
+ prepare: (player: LottiePlayer, data: unknown) => P;
50
+ /** Loads animation data beside the player, under the same load deadline; aborted when the session ends first. */
51
+ loadData?: (signal: AbortSignal) => Promise<unknown>;
41
52
  /** Receives the preparation so the host element can render. */
42
53
  onPrepared: (preparation: P) => void;
43
54
  /** Receives the outcome once, unless the session was disposed. */
@@ -64,8 +75,10 @@ export interface UseLottieSceneSessionOptions<P> {
64
75
  enabled: boolean;
65
76
  /** The scene's timings, data ownership and observers. */
66
77
  playback: LottieScenePlayback<P>;
67
- /** Measures targets and builds the composition after the player loads. */
68
- prepare: (player: LottiePlayer) => P;
78
+ /** Measures targets and builds the composition after the player and data load. */
79
+ prepare: (player: LottiePlayer, data: unknown) => P;
80
+ /** Loads animation data beside the player, under the same load deadline; aborted when the session ends first. */
81
+ loadData?: (signal: AbortSignal) => Promise<unknown>;
69
82
  }
70
83
  /** State and controls a scene component renders from. */
71
84
  export interface LottieSceneSessionResult<P> {
@@ -1 +1 @@
1
- {"version":3,"file":"lottie-scene.d.ts","sourceRoot":"","sources":["../../src/models/lottie-scene.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EAClB,gBAAgB,EAChB,uBAAuB,EACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAE3D,mEAAmE;AACnE,MAAM,WAAW,kBAAkB;IACjC,0CAA0C;IAC1C,aAAa,EAAE,MAAM,CAAC;IACtB,gDAAgD;IAChD,cAAc,EAAE,MAAM,CAAC;IACvB,4CAA4C;IAC5C,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,8DA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ay.d.ts","sourceRoot":"","sources":["../../../../src/new-year/components/NewYear/NewYearSceneOverlay.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAcpD,UAAU,KAAK;IACb,wDAAwD;IACxD,KAAK,EAAE,YAAY,CAAC;CACrB;;AAQD,wBAAyC"}
1
+ {"version":3,"file":"NewYearSceneOverlay.d.ts","sourceRoot":"","sources":["../../../../src/new-year/components/NewYear/NewYearSceneOverlay.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAapD,UAAU,KAAK;IACb,wDAAwD;IACxD,KAAK,EAAE,YAAY,CAAC;CACrB;;AAQD,wBAAyC"}
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ /** Two reindeer discover why their sleigh cannot fly; ordinary input always ends the story. */
3
+ declare const NewYearReindeerTakeoff: FC;
4
+ export default NewYearReindeerTakeoff;
5
+ //# sourceMappingURL=NewYearReindeerTakeoff.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NewYearReindeerTakeoff.d.ts","sourceRoot":"","sources":["../../../../src/new-year/components/NewYearReindeerTakeoff/NewYearReindeerTakeoff.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AASrD,+FAA+F;AAC/F,QAAA,MAAM,sBAAsB,EAAE,EAiF7B,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ /** A freed golden loop on the calf's nose beside the adult still bracing for a pull. */
3
+ export declare const ReindeerStill: FC;
4
+ //# sourceMappingURL=ReindeerStill.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReindeerStill.d.ts","sourceRoot":"","sources":["../../../../src/new-year/components/NewYearReindeerTakeoff/ReindeerStill.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,wFAAwF;AACxF,eAAO,MAAM,aAAa,EAAE,EAiI3B,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ /** A pompous snowman sleds on a borrowed starter card, loses his head in a fir, delivers the present and returns the card. */
3
+ declare const NewYearSnowmanDelivery: FC;
4
+ export default NewYearSnowmanDelivery;
5
+ //# sourceMappingURL=NewYearSnowmanDelivery.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NewYearSnowmanDelivery.d.ts","sourceRoot":"","sources":["../../../../src/new-year/components/NewYearSnowmanDelivery/NewYearSnowmanDelivery.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAsBrD,8HAA8H;AAC9H,QAAA,MAAM,sBAAsB,EAAE,EAmF7B,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ /** The delivered present beside a snowman who holds his head on firmly; no player, no borrowed controls. */
3
+ export declare const SnowmanDeliveryStill: FC;
4
+ //# sourceMappingURL=SnowmanDeliveryStill.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SnowmanDeliveryStill.d.ts","sourceRoot":"","sources":["../../../../src/new-year/components/NewYearSnowmanDelivery/SnowmanDeliveryStill.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,4GAA4G;AAC5G,eAAO,MAAM,oBAAoB,EAAE,EAwHlC,CAAC"}
@@ -2,10 +2,9 @@
2
2
  export declare const NEW_YEAR_LABELS: {
3
3
  penguinStarToastMessage: string;
4
4
  giftWrappingToastMessage: string;
5
+ snowmanDeliveryToastMessage: string;
6
+ reindeerTakeoffToastMessage: string;
5
7
  toastTitle: string;
6
- snowToastMessage: string;
7
- confettiToastMessage: string;
8
- sleighToastMessage: string;
9
8
  giftLabel: string;
10
9
  };
11
10
  //# sourceMappingURL=labels.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"labels.d.ts","sourceRoot":"","sources":["../../../src/new-year/constants/labels.ts"],"names":[],"mappings":"AAEA,iDAAiD;AACjD,eAAO,MAAM,eAAe;;;;;;;;CAaH,CAAC"}
1
+ {"version":3,"file":"labels.d.ts","sourceRoot":"","sources":["../../../src/new-year/constants/labels.ts"],"names":[],"mappings":"AAEA,iDAAiD;AACjD,eAAO,MAAM,eAAe;;;;;;;CAWH,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import { NewYearScene } from '../types/new-year';
2
- /** The phrase that selects the hidden confetti scene from the chat input. */
2
+ /** The phrase that selects a secret New Year story from the chat input. */
3
3
  export declare const NEW_YEAR_SECRET_PHRASE = "happy new year";
4
- /** Gift-click scenes in their existing random-pool order. */
5
- export declare const NEW_YEAR_CLICK_SCENES: readonly [NewYearScene.PenguinStar, NewYearScene.GiftWrapping, NewYearScene.Snow, NewYearScene.Confetti, NewYearScene.Sleigh];
4
+ /** The scenes a gift click picks from at random. */
5
+ export declare const NEW_YEAR_CLICK_SCENES: readonly [NewYearScene.PenguinStar, NewYearScene.SnowmanDelivery];
6
6
  /** Every scene's runtime deadline, including its exit and cleanup allowance. */
7
7
  export declare const NEW_YEAR_SCENE_DURATIONS: Record<NewYearScene, number>;
8
8
  //# sourceMappingURL=new-year.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"new-year.d.ts","sourceRoot":"","sources":["../../../src/new-year/constants/new-year.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAIjD,6EAA6E;AAC7E,eAAO,MAAM,sBAAsB,mBAAmB,CAAC;AAEvD,6DAA6D;AAC7D,eAAO,MAAM,qBAAqB,+HAMxB,CAAC;AAEX,gFAAgF;AAChF,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAMjE,CAAC"}
1
+ {"version":3,"file":"new-year.d.ts","sourceRoot":"","sources":["../../../src/new-year/constants/new-year.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAMjD,2EAA2E;AAC3E,eAAO,MAAM,sBAAsB,mBAAmB,CAAC;AAEvD,oDAAoD;AACpD,eAAO,MAAM,qBAAqB,mEAGxB,CAAC;AAEX,gFAAgF;AAChF,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAKjE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../src/new-year/event.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAqB9D,sCAAsC;AACtC,eAAO,MAAM,YAAY,EAAE,gBAkB1B,CAAC"}
1
+ {"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../src/new-year/event.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAoB9D,sCAAsC;AACtC,eAAO,MAAM,YAAY,EAAE,gBAkB1B,CAAC"}
@@ -4,14 +4,12 @@ export interface NewYearLabels {
4
4
  penguinStarToastMessage?: string;
5
5
  /** Notification message of the gift-wrapping scene. */
6
6
  giftWrappingToastMessage?: string;
7
+ /** Notification message of the snowman delivery scene. */
8
+ snowmanDeliveryToastMessage?: string;
9
+ /** Notification message of the reindeer takeoff scene. */
10
+ reindeerTakeoffToastMessage?: string;
7
11
  /** Title of every scene notification. */
8
12
  toastTitle: string;
9
- /** Notification message of the snow scene. */
10
- snowToastMessage: string;
11
- /** Notification message of the confetti scene. */
12
- confettiToastMessage: string;
13
- /** Notification message of the sleigh scene. */
14
- sleighToastMessage: string;
15
13
  /** Accessible name of the gift trigger. */
16
14
  giftLabel: string;
17
15
  }
@@ -1 +1 @@
1
- {"version":3,"file":"labels.d.ts","sourceRoot":"","sources":["../../../src/new-year/models/labels.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,MAAM,WAAW,aAAa;IAC5B,0DAA0D;IAC1D,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,uDAAuD;IACvD,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,yCAAyC;IACzC,UAAU,EAAE,MAAM,CAAC;IACnB,8CAA8C;IAC9C,gBAAgB,EAAE,MAAM,CAAC;IACzB,kDAAkD;IAClD,oBAAoB,EAAE,MAAM,CAAC;IAC7B,gDAAgD;IAChD,kBAAkB,EAAE,MAAM,CAAC;IAC3B,2CAA2C;IAC3C,SAAS,EAAE,MAAM,CAAC;CACnB"}
1
+ {"version":3,"file":"labels.d.ts","sourceRoot":"","sources":["../../../src/new-year/models/labels.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,MAAM,WAAW,aAAa;IAC5B,0DAA0D;IAC1D,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,uDAAuD;IACvD,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,0DAA0D;IAC1D,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,0DAA0D;IAC1D,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,yCAAyC;IACzC,UAAU,EAAE,MAAM,CAAC;IACnB,2CAA2C;IAC3C,SAAS,EAAE,MAAM,CAAC;CACnB"}
@@ -4,11 +4,22 @@ export declare enum NewYearScene {
4
4
  PenguinStar = "penguin-star",
5
5
  /** Two elves gift-wrap the composer until the helper's pull on a loose ribbon winds it around the master instead, who hops away bound in a chest bow. */
6
6
  GiftWrapping = "gift-wrapping",
7
- /** Snowflakes drift down the viewport. */
8
- Snow = "snow",
9
- /** A confetti burst; also the secret-phrase scene. */
10
- Confetti = "confetti",
11
- /** A flying sleigh crosses the sky. */
12
- Sleigh = "sleigh"
7
+ /** A pompous snowman sleds on a borrowed starter card to deliver a present, loses his head in a fir on impact, recovers it and returns the card. */
8
+ SnowmanDelivery = "snowman-delivery",
9
+ /** Two reindeer free a ribbon caught on a page button before taking flight. */
10
+ ReindeerTakeoff = "reindeer-takeoff"
11
+ }
12
+ /** Where the snowman stages his delivery, chosen once from measured geometry. */
13
+ export declare enum SnowmanStage {
14
+ /** A drawn snow ledge under the starter row; a borrowed card is pulled down to it. */
15
+ Ledge = "ledge",
16
+ /** The composer's upper edge; a borrowed card from the row above is ridden along it. */
17
+ Rim = "rim",
18
+ /** The composer's upper edge with a drawn sled, when no card is eligible. */
19
+ RimSled = "rim-sled",
20
+ /** A self-contained snowy platform below the page content, with a drawn sled. */
21
+ Platform = "platform",
22
+ /** No free band fits the story; only the static still is shown. */
23
+ Static = "static"
13
24
  }
14
25
  //# sourceMappingURL=new-year.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"new-year.d.ts","sourceRoot":"","sources":["../../../src/new-year/types/new-year.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,oBAAY,YAAY;IACtB,0EAA0E;IAC1E,WAAW,iBAAiB;IAC5B,yJAAyJ;IACzJ,YAAY,kBAAkB;IAC9B,0CAA0C;IAC1C,IAAI,SAAS;IACb,sDAAsD;IACtD,QAAQ,aAAa;IACrB,uCAAuC;IACvC,MAAM,WAAW;CAClB"}
1
+ {"version":3,"file":"new-year.d.ts","sourceRoot":"","sources":["../../../src/new-year/types/new-year.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,oBAAY,YAAY;IACtB,0EAA0E;IAC1E,WAAW,iBAAiB;IAC5B,yJAAyJ;IACzJ,YAAY,kBAAkB;IAC9B,oJAAoJ;IACpJ,eAAe,qBAAqB;IACpC,+EAA+E;IAC/E,eAAe,qBAAqB;CACrC;AAED,iFAAiF;AACjF,oBAAY,YAAY;IACtB,sFAAsF;IACtF,KAAK,UAAU;IACf,wFAAwF;IACxF,GAAG,QAAQ;IACX,6EAA6E;IAC7E,OAAO,aAAa;IACpB,iFAAiF;IACjF,QAAQ,aAAa;IACrB,mEAAmE;IACnE,MAAM,WAAW;CAClB"}
@@ -1 +1 @@
1
- {"version":3,"file":"gift-wrapping-composition.d.ts","sourceRoot":"","sources":["../../../src/new-year/utils/gift-wrapping-composition.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAElE,wEAAwE;AACxE,eAAO,MAAM,gBAAgB,QAAQ,CAAC;AAUtC,UAAU,QAAQ;IAChB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,OAAO,CAAC;CACZ;AACD,UAAU,KAAK;IACb,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AACD,UAAU,SAAS;IACjB,CAAC,EAAE,QAAQ,CAAC;IACZ,CAAC,EAAE,QAAQ,CAAC;IACZ,CAAC,EAAE,QAAQ,CAAC;IACZ,CAAC,EAAE,QAAQ,CAAC;IACZ,CAAC,EAAE,QAAQ,CAAC;CACb;AACD,UAAU,KAAK;IACb,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,SAAS,CAAC;IACd,MAAM,EAAE,KAAK,EAAE,CAAC;CACjB;AAQD,+EAA+E;AAC/E,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,kBAAkB,CAAC;IAC3B,aAAa,EAAE;QACb,CAAC,EAAE,MAAM,CAAC;QACV,EAAE,EAAE,MAAM,CAAC;QACX,EAAE,EAAE,MAAM,CAAC;QACX,EAAE,EAAE,MAAM,CAAC;QACX,CAAC,EAAE,MAAM,CAAC;QACV,CAAC,EAAE,MAAM,CAAC;QACV,EAAE,EAAE,MAAM,CAAC;QACX,GAAG,EAAE,MAAM,CAAC;QACZ,MAAM,EAAE,KAAK,EAAE,CAAC;QAChB,MAAM,EAAE,KAAK,EAAE,CAAC;KACjB,CAAC;CACH;AA2HD,wFAAwF;AACxF,eAAO,MAAM,4BAA4B,GACvC,QAAQ,kBAAkB,EAC1B,UAAU,OAAO,KAChB,uBA8iBF,CAAC"}
1
+ {"version":3,"file":"gift-wrapping-composition.d.ts","sourceRoot":"","sources":["../../../src/new-year/utils/gift-wrapping-composition.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAElE,wEAAwE;AACxE,eAAO,MAAM,gBAAgB,QAAQ,CAAC;AActC,UAAU,QAAQ;IAChB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,OAAO,CAAC;CACZ;AAED,UAAU,KAAK;IACb,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,UAAU,SAAS;IACjB,CAAC,EAAE,QAAQ,CAAC;IACZ,CAAC,EAAE,QAAQ,CAAC;IACZ,CAAC,EAAE,QAAQ,CAAC;IACZ,CAAC,EAAE,QAAQ,CAAC;IACZ,CAAC,EAAE,QAAQ,CAAC;CACb;AAED,UAAU,KAAK;IACb,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,SAAS,CAAC;IACd,MAAM,EAAE,KAAK,EAAE,CAAC;CACjB;AASD,+EAA+E;AAC/E,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,kBAAkB,CAAC;I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,MAAM,KAAG,SAAS,EAEhE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"penguin-star-composition.d.ts","sourceRoot":"","sources":["../../../src/new-year/utils/penguin-star-composition.ts"],"names":[],"mappings":"AAAA,OAAO,EAaL,KAAK,SAAS,EACd,KAAK,aAAa,EACnB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAEjE,iFAAiF;AACjF,eAAO,MAAM,eAAe,QAAQ,CAAC;AAMrC,KAAK,KAAK,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAG9B,UAAU,KAAK;IACb,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,aAAa,CAAC;IAClB,MAAM,EAAE,SAAS,EAAE,CAAC;CACrB;AAED,iEAAiE;AACjE,MAAM,WAAW,sBAAsB;IACrC,6DAA6D;IAC7D,OAAO,EAAE,kBAAkB,CAAC;IAC5B,6EAA6E;IAC7E,YAAY,EAAE,KAAK,CAAC;IACpB,8CAA8C;IAC9C,aAAa,EAAE;QACb,CAAC,EAAE,MAAM,CAAC;QACV,EAAE,EAAE,MAAM,CAAC;QACX,EAAE,EAAE,MAAM,CAAC;QACX,EAAE,EAAE,MAAM,CAAC;QACX,CAAC,EAAE,MAAM,CAAC;QACV,CAAC,EAAE,MAAM,CAAC;QACV,EAAE,EAAE,MAAM,CAAC;QACX,GAAG,EAAE,MAAM,CAAC;QACZ,MAAM,EAAE,KAAK,EAAE,CAAC;QAChB,MAAM,EAAE,KAAK,EAAE,CAAC;KACjB,CAAC;CACH;AA+DD,gEAAgE;AAChE,eAAO,MAAM,2BAA2B,GACtC,SAAS,kBAAkB,EAC3B,UAAU,OAAO,KAChB,sBA8TF,CAAC"}
1
+ {"version":3,"file":"penguin-star-composition.d.ts","sourceRoot":"","sources":["../../../src/new-year/utils/penguin-star-composition.ts"],"names":[],"mappings":"AAAA,OAAO,EAaL,KAAK,SAAS,EACd,KAAK,aAAa,EACnB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAEjE,iFAAiF;AACjF,eAAO,MAAM,eAAe,QAAQ,CAAC;AAOrC,KAAK,KAAK,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAM9B,UAAU,KAAK;IACb,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,aAAa,CAAC;IAClB,MAAM,EAAE,SAAS,EAAE,CAAC;CACrB;AAED,iEAAiE;AACjE,MAAM,WAAW,sBAAsB;IACrC,6DAA6D;IAC7D,OAAO,EAAE,kBAAkB,CAAC;IAC5B,6EAA6E;IAC7E,YAAY,EAAE,KAAK,CAAC;IACpB,8CAA8C;IAC9C,aAAa,EAAE;QACb,CAAC,EAAE,MAAM,CAAC;QACV,EAAE,EAAE,MAAM,CAAC;QACX,EAAE,EAAE,MAAM,CAAC;QACX,EAAE,EAAE,MAAM,CAAC;QACX,CAAC,EAAE,MAAM,CAAC;QACV,CAAC,EAAE,MAAM,CAAC;QACV,EAAE,EAAE,MAAM,CAAC;QACX,GAAG,EAAE,MAAM,CAAC;QACZ,MAAM,EAAE,KAAK,EAAE,CAAC;QAChB,MAAM,EAAE,KAAK,EAAE,CAAC;KACjB,CAAC;CACH;AA+DD,gEAAgE;AAChE,eAAO,MAAM,2BAA2B,GACtC,SAAS,kBAAkB,EAC3B,UAAU,OAAO,KAChB,sBA2UF,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { LottieScenePlayback } from '../../models/lottie-scene';
2
+ import { ReindeerComposition } from './reindeer-composition';
3
+ /** The rim clip, word and vector cast share the renderer's frame-zero clock. */
4
+ export declare const REINDEER_PLAYBACK: LottieScenePlayback<ReindeerComposition>;
5
+ //# sourceMappingURL=reindeer-animation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reindeer-animation.d.ts","sourceRoot":"","sources":["../../../src/new-year/utils/reindeer-animation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAGrE,OAAO,EAGL,KAAK,mBAAmB,EACzB,MAAM,wBAAwB,CAAC;AAGhC,gFAAgF;AAChF,eAAO,MAAM,iBAAiB,EAAE,mBAAmB,CAAC,mBAAmB,CAmDtE,CAAC"}
@@ -0,0 +1,58 @@
1
+ /** Native vector artwork; material colors are intrinsic to the seasonal characters. */
2
+ export declare const REINDEER_PALETTE: {
3
+ readonly ink: "#342535";
4
+ readonly fur: "#8e5639";
5
+ readonly light: "#bc8150";
6
+ readonly shade: "#58382d";
7
+ readonly cream: "#f7e7c8";
8
+ readonly antler: "#dbba83";
9
+ readonly hoof: "#302b36";
10
+ readonly nose: "#b52c42";
11
+ readonly gold: "#efc568";
12
+ readonly red: "#a72b46";
13
+ readonly redLight: "#d74959";
14
+ readonly snow: "#e8f3ff";
15
+ readonly ice: "#a9c4dd";
16
+ readonly white: "#fff9ec";
17
+ readonly green: "#337b69";
18
+ };
19
+ export type ReindeerPoint = [number, number];
20
+ export interface ReindeerProperty {
21
+ a: number;
22
+ k: unknown;
23
+ }
24
+ export interface ReindeerShape {
25
+ ty: string;
26
+ nm?: string;
27
+ it?: ReindeerShape[];
28
+ [key: string]: unknown;
29
+ }
30
+ export interface ReindeerTransform {
31
+ a: ReindeerProperty;
32
+ p: ReindeerProperty;
33
+ s: ReindeerProperty;
34
+ r: ReindeerProperty;
35
+ o: ReindeerProperty;
36
+ }
37
+ export declare const fixed: (k: unknown) => ReindeerProperty;
38
+ export declare const identity: (anchor?: ReindeerPoint) => ReindeerTransform;
39
+ export declare const group: (nm: string, shapes: ReindeerShape[], fill?: string, stroke?: string, width?: number, transform?: ReindeerTransform) => ReindeerShape;
40
+ export declare const ellipse: (p: ReindeerPoint, s: ReindeerPoint) => ReindeerShape;
41
+ export declare const path: (v: ReindeerPoint[], closed?: boolean, smooth?: number) => ReindeerShape;
42
+ export declare const positioned: (p: ReindeerPoint, scale?: number) => ReindeerTransform;
43
+ /** Shared landmarks for the drawing, neck articulation and nose contact. */
44
+ export declare const REINDEER_NECK: ReindeerPoint;
45
+ export declare const headOrigin: (isCalf: boolean) => ReindeerPoint;
46
+ export declare const headScale: (isCalf: boolean) => 1 | 1.12;
47
+ /** Broad upper limbs overlap the torso; slender shins end in a flat sole. */
48
+ export declare const legArt: (isFar: boolean, knee: ReindeerProperty, hoof?: ReindeerProperty, isHind?: boolean) => ReindeerShape[];
49
+ /** The calf has a compact rump; the adult carries a fuller chest and shoulder. */
50
+ export declare const bodyArt: (isCalf: boolean) => ReindeerShape[];
51
+ /** A curved chest-to-jaw contour, with the bib carried by the same neck pivot. */
52
+ export declare const neckArt: (isCalf?: boolean) => ReindeerShape[];
53
+ /** The muzzle contact remains [33,5] in head space, including calf head scaling. */
54
+ export declare const headArt: (isCalf: boolean, eye: ReindeerProperty, brow: ReindeerProperty, gaze?: ReindeerProperty, ear?: ReindeerProperty) => ReindeerShape[];
55
+ export declare const tailArt: () => ReindeerShape[];
56
+ export declare const scarfArt: () => ReindeerShape[];
57
+ export declare const sleighArt: () => ReindeerShape[];
58
+ //# sourceMappingURL=reindeer-art.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reindeer-art.d.ts","sourceRoot":"","sources":["../../../src/new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M,UAAU,GAAI,QAAQ,OAAO,KAAG,aACZ,CAAC;AAClC,eAAO,MAAM,SAAS,GAAI,QAAQ,OAAO,aAAwB,CAAC;AAElE,6EAA6E;AAC7E,eAAO,MAAM,MAAM,GACjB,OAAO,OAAO,EACd,MAAM,gBAAgB,EACtB,uBAAe,EACf,gBAAc,KACb,aAAa,EAyEf,CAAC;AAEF,kFAAkF;AAClF,eAAO,MAAM,OAAO,GAAI,QAAQ,OAAO,KAAG,aAAa,EA2FtD,CAAC;AAEF,kFAAkF;AAClF,eAAO,MAAM,OAAO,GAAI,gBAAc,KAAG,aAAa,EA2DrD,CAAC;AAEF,oFAAoF;AACpF,eAAO,MAAM,OAAO,GAClB,QAAQ,OAAO,EACf,KAAK,gBAAgB,EACrB,MAAM,gBAAgB,EACtB,uBAAoB,EACpB,sBAAc,KACb,aAAa,EAgRf,CAAC;AAEF,eAAO,MAAM,OAAO,QAAO,aAAa,EAkBvC,CAAC;AACF,eAAO,MAAM,QAAQ,QAAO,aAAa,EAgCxC,CAAC;AACF,eAAO,MAAM,SAAS,QAAO,aAAa,EAmJzC,CAAC"}
@@ -0,0 +1,66 @@
1
+ import { ReindeerPoint as Point, ReindeerShape, ReindeerTransform } from './reindeer-art';
2
+ import { ReindeerTargets } from './reindeer-targets';
3
+ export declare const REINDEER_TAKEOFF_MS = 23000;
4
+ export declare const REINDEER_BEATS: {
5
+ readonly caught: 3.6;
6
+ readonly pull: 4.6;
7
+ readonly pullEnd: 6.1;
8
+ readonly strongPull: 8.6;
9
+ readonly strongEnd: 10.1;
10
+ readonly discover: 10.8;
11
+ readonly approach: 12.3;
12
+ readonly failedNudge: 12.9;
13
+ readonly grip: 14.2;
14
+ readonly release: 14.7;
15
+ readonly restored: 15.8;
16
+ readonly launch: 16.2;
17
+ readonly flight: 17.4;
18
+ readonly exit: 22.4;
19
+ };
20
+ interface Layer {
21
+ ty: number;
22
+ ind: number;
23
+ nm: string;
24
+ ip: number;
25
+ op: number;
26
+ st: number;
27
+ sr: number;
28
+ ks: ReindeerTransform;
29
+ shapes: ReindeerShape[];
30
+ }
31
+ /** Local vector composition and the only external prop's synchronized keyframes. */
32
+ export interface ReindeerComposition {
33
+ targets: ReindeerTargets;
34
+ animationData: {
35
+ v: string;
36
+ fr: number;
37
+ ip: number;
38
+ op: number;
39
+ w: number;
40
+ h: number;
41
+ nm: string;
42
+ ddd: number;
43
+ assets: unknown[];
44
+ layers: Layer[];
45
+ };
46
+ wordFrames: Keyframe[];
47
+ particleCount: number;
48
+ probe: (seconds: number) => {
49
+ nose: Point;
50
+ loop: Point;
51
+ catchPoint: Point;
52
+ displacement: number;
53
+ adult: Point;
54
+ calf: Point;
55
+ sleigh: Point;
56
+ hooves: {
57
+ point: Point;
58
+ planted: boolean;
59
+ reach: number;
60
+ }[];
61
+ };
62
+ }
63
+ /** All geometry is precomputed; Lottie and the word copy consume a single clock. */
64
+ export declare const buildReindeerComposition: (targets: ReindeerTargets, isMobile: boolean) => ReindeerComposition;
65
+ export {};
66
+ //# sourceMappingURL=reindeer-composition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reindeer-composition.d.ts","sourceRoot":"","sources":["../../../src/new-year/utils/reindeer-composition.ts"],"names":[],"mappings":"AAAA,OAAO,EAkBL,KAAK,aAAa,IAAI,KAAK,EAE3B,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACvB,MAAM,gBAAgB,CAAC;AAUxB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAG1D,eAAO,MAAM,mBAAmB,QAAQ,CAAC;AACzC,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;CAejB,CAAC;AASX,UAAU,KAAK;IACb,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,iBAAiB,CAAC;IACtB,MAAM,EAAE,aAAa,EAAE,CAAC;CACzB;AAED,oFAAoF;AACpF,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,eAAe,CAAC;IACzB,aAAa,EAAE;QACb,CAAC,EAAE,MAAM,CAAC;QACV,EAAE,EAAE,MAAM,CAAC;QACX,EAAE,EAAE,MAAM,CAAC;QACX,EAAE,EAAE,MAAM,CAAC;QACX,CAAC,EAAE,MAAM,CAAC;QACV,CAAC,EAAE,MAAM,CAAC;QACV,EAAE,EAAE,MAAM,CAAC;QACX,GAAG,EAAE,MAAM,CAAC;QACZ,MAAM,EAAE,OAAO,EAAE,CAAC;QAClB,MAAM,EAAE,KAAK,EAAE,CAAC;KACjB,CAAC;IACF,UAAU,EAAE,QAAQ,EAAE,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK;QAC1B,IAAI,EAAE,KAAK,CAAC;QACZ,IAAI,EAAE,KAAK,CAAC;QACZ,UAAU,EAAE,KAAK,CAAC;QAClB,YAAY,EAAE,MAAM,CAAC;QACrB,KAAK,EAAE,KAAK,CAAC;QACb,IAAI,EAAE,KAAK,CAAC;QACZ,MAAM,EAAE,KAAK,CAAC;QACd,MAAM,EAAE;YAAE,KAAK,EAAE,KAAK,CAAC;YAAC,OAAO,EAAE,OAAO,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAE,EAAE,CAAC;KAC7D,CAAC;CACH;AAyCD,oFAAoF;AACpF,eAAO,MAAM,wBAAwB,GACnC,SAAS,eAAe,EACxB,UAAU,OAAO,KAChB,mBAwyBF,CAAC"}
@@ -0,0 +1,60 @@
1
+ import { ReindeerPoint as Point } from './reindeer-art';
2
+ import { Track } from './snowman-delivery-timeline';
3
+ export declare const REINDEER_HIPS: Point[];
4
+ export declare const smoothStep: (value: number) => number;
5
+ export declare const rotatePoint: ([x, y]: Point, degrees: number) => Point;
6
+ /** The muzzle follows both neck and head articulation, including calf proportions. */
7
+ export declare const nosePoint: (isCalf: boolean, neck: number, head: number) => Point;
8
+ /** Body pivot is the hip line, so leaning does not orbit around the toes. */
9
+ export interface ReindeerPose {
10
+ position: Point;
11
+ size: number;
12
+ facing: number;
13
+ lean: number;
14
+ }
15
+ export declare const posePoint: (pose: ReindeerPose, point: Point) => Point;
16
+ /** A planted hoof is fixed in stage space; only the swing phase advances it. */
17
+ export declare const walkingHoof: (distance: number, startX: number, facing: number, size: number, hipX: number, index: number, direction?: number) => {
18
+ point: Point;
19
+ planted: boolean;
20
+ };
21
+ /** Two equal 28-unit bones, with a counter-rotated sole at the contact point. */
22
+ export declare const solveLeg: (pose: ReindeerPose, hip: Point, hoof: Point) => {
23
+ upper: number;
24
+ knee: number;
25
+ hoof: number;
26
+ reach: number;
27
+ };
28
+ export interface FlightKnot {
29
+ time: number;
30
+ point: Point;
31
+ velocity: Point;
32
+ }
33
+ /** Cubic Hermite segments share velocity at joins, including the launch. */
34
+ export declare const flightPoint: (knots: FlightKnot[], time: number) => Point;
35
+ export interface WalkingInterval {
36
+ start: number;
37
+ end: number;
38
+ facing: number;
39
+ }
40
+ /** Bake support and joint motion once; playback needs no solver or DOM reads. */
41
+ export declare const buildDeerMotion: (root: Track, lean: Track, facing: Track, size: number, walks: WalkingInterval[], launch: number, isCalf?: boolean) => {
42
+ position: Track;
43
+ legs: {
44
+ upper: Track;
45
+ knee: Track;
46
+ hoof: Track;
47
+ }[];
48
+ poseAt: (t: number) => ReindeerPose;
49
+ hoofAt: (t: number, index: number) => {
50
+ point: Point;
51
+ planted: boolean;
52
+ };
53
+ legAt: (t: number, index: number) => {
54
+ upper: number;
55
+ knee: number;
56
+ hoof: number;
57
+ reach: number;
58
+ };
59
+ };
60
+ //# sourceMappingURL=reindeer-physics.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reindeer-physics.d.ts","sourceRoot":"","sources":["../../../src/new-year/utils/reinde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M,KAAG,KAmB/D,CAAC;AAEF,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,iFAAiF;AACjF,eAAO,MAAM,eAAe,GAC1B,MAAM,KAAK,EACX,MAAM,KAAK,EACX,QAAQ,KAAK,EACb,MAAM,MAAM,EACZ,OAAO,eAAe,EAAE,EACxB,QAAQ,MAAM,EACd,gBAAc;;;;;;;gBAmBK,MAAM,KAAG,YAAY;gBAUnC,MAAM,SACF,MAAM,KACZ;QAAE,KAAK,EAAE,KAAK,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE;eAuEnB,MAAM,SAAS,MAAM;;;;;;CAyExC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { CelebrationAnchors } from '../../models/celebration';
2
+ /** A crowded page uses the static resolution instead of covering host content. */
3
+ export declare const prepareReindeerScene: (anchors: CelebrationAnchors, isMobile: boolean) => import('./reindeer-composition').ReindeerComposition;
4
+ //# sourceMappingURL=reindeer-scene.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reindeer-scene.d.ts","sourceRoot":"","sources":["../../../src/new-year/utils/reindeer-scene.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAInE,kFAAkF;AAClF,eAAO,MAAM,oBAAoB,GAC/B,SAAS,kBAAkB,EAC3B,UAAU,OAAO,yDAKlB,CAAC"}