@epam/ai-dial-celebrations 1.3.0-dev.273 → 1.3.0-dev.276
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.
- package/celebration-capabilities-DABcz0mO.js +27 -0
- package/components/LottieScene/LottieScene.d.ts +14 -0
- package/components/LottieScene/LottieScene.d.ts.map +1 -0
- package/components/StaticTriggerDecoration/StaticTriggerDecoration.d.ts +14 -0
- package/components/StaticTriggerDecoration/StaticTriggerDecoration.d.ts.map +1 -0
- package/constants/celebration-capabilities.d.ts +3 -0
- package/constants/celebration-capabilities.d.ts.map +1 -0
- package/halloween.js +144 -143
- package/hooks/useLottieSceneSession.d.ts +1 -1
- package/hooks/useLottieSceneSession.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.d.ts +3 -0
- package/index.d.ts.map +1 -1
- package/index.js +62 -61
- package/{lottie_light-CowwItMl.js → lottie_light-DUHSXGUj.js} +1 -1
- package/models/celebration-pack.d.ts +126 -0
- package/models/celebration-pack.d.ts.map +1 -0
- package/models/lottie-scene.d.ts +10 -4
- package/models/lottie-scene.d.ts.map +1 -1
- package/new-year.js +1525 -1698
- package/package.json +8 -3
- package/packs/index.d.ts +6 -0
- package/packs/index.d.ts.map +1 -0
- package/packs.js +197 -0
- package/{scene-targets-BgiQPucY.js → scene-targets-C5LEjDnN.js} +44 -48
- package/types/celebration-pack.d.ts +82 -0
- package/types/celebration-pack.d.ts.map +1 -0
- package/useLottieSceneSession-FcSRnJ26.js +204 -0
- package/useReducedMotion-BWIeAFB_.js +8 -0
- package/utils/celebration-descriptor-event.d.ts +9 -0
- package/utils/celebration-descriptor-event.d.ts.map +1 -0
- package/utils/celebration-pack-scene.d.ts +19 -0
- package/utils/celebration-pack-scene.d.ts.map +1 -0
- package/utils/celebration-variant.d.ts +7 -0
- package/utils/celebration-variant.d.ts.map +1 -0
- package/utils/lottie-scene-session.d.ts +1 -1
- package/utils/lottie-scene-session.d.ts.map +1 -1
- package/rolldown-runtime-VHNaYcLd.js +0 -13
|
@@ -4,5 +4,5 @@ import { LottieSceneSessionResult, UseLottieSceneSessionOptions } from '../model
|
|
|
4
4
|
* never imports the player twice, and a cancelled scene never reappears as
|
|
5
5
|
* its static fallback.
|
|
6
6
|
*/
|
|
7
|
-
export declare const useLottieSceneSession: <P>({ enabled, playback, prepare, }: UseLottieSceneSessionOptions<P>) => LottieSceneSessionResult<P>;
|
|
7
|
+
export declare const useLottieSceneSession: <P>({ enabled, playback, prepare, loadData, }: UseLottieSceneSessionOptions<P>) => LottieSceneSessionResult<P>;
|
|
8
8
|
//# sourceMappingURL=useLottieSceneSession.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLottieSceneSession.d.ts","sourceRoot":"","sources":["../../src/hooks/useLottieSceneSession.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,wBAAwB,EACxB,4BAA4B,EAC7B,MAAM,wBAAwB,CAAC;AAIhC;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,GAAI,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"useLottieSceneSession.d.ts","sourceRoot":"","sources":["../../src/hooks/useLottieSceneSession.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,wBAAwB,EACxB,4BAA4B,EAC7B,MAAM,wBAAwB,CAAC;AAIhC;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,GAAI,CAAC,EAAE,2CAKtC,4BAA4B,CAAC,CAAC,CAAC,KAAG,wBAAwB,CAAC,CAAC,CA+D9D,CAAC"}
|
package/index.css
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
._scene_tlezg_2{pointer-events:none;-webkit-user-select:none;user-select:none;contain:layout style;position:absolute;inset:0;overflow:clip}._scene_tlezg_2[data-ready=false],._scene_tlezg_2[data-ended=true]{visibility:hidden}._actor_tlezg_16,._copies_tlezg_17,._art_tlezg_18{position:absolute;top:0;left:0;right:auto}._copies_tlezg_17{z-index:1}._actor_tlezg_16{transform-origin:0 0;opacity:0;z-index:3;block-size:0;inline-size:0}._art_tlezg_18{transform:translate(-50%,-82.5%)}._art_tlezg_18 svg{block-size:100%;inline-size:100%;display:block;overflow:visible}._art_tlezg_18 [data-bat-part=wing-left],._art_tlezg_18 [data-bat-part=wing-right],._art_tlezg_18 [data-bat-part=forearm-left],._art_tlezg_18 [data-bat-part=forearm-right],._art_tlezg_18 [data-bat-part=wrap]{transform-box:view-box}._art_tlezg_18 [data-bat-part=wing-left]{transform-origin:42px 39px}._art_tlezg_18 [data-bat-part=wing-right]{transform-origin:58px 39px}._art_tlezg_18 [data-bat-part=forearm-left]{transform-origin:27px 29px}._art_tlezg_18 [data-bat-part=forearm-right]{transform-origin:73px 29px}._art_tlezg_18 [data-bat-part=wrap]{transform-origin:50px 47px}._scene_tlezg_2[data-ended=true] ._fallback_tlezg_70 *,._scene_tlezg_2[data-stationary=true] ._fallback_tlezg_70 *{animation:none}._scene_tlezg_2[data-stationary=true] ._fallback_tlezg_70 span[style]{opacity:1;transform:translate3d(var(--flight-rest-x), var(--flight-rest-y), 0)}@keyframes _character-flight_17k2o_1{0%{opacity:0;transform:translate3d(var(--flight-start-x), var(--flight-start-y), 0) rotate(-8deg)}12%{opacity:1}50%{transform:translate3d(48vw, var(--flight-mid-y), 0) rotate(6deg)}88%{opacity:1}to{opacity:0;transform:translate3d(var(--flight-end-x), var(--flight-end-y), 0) rotate(-5deg)}}._layer_17k2o_20{pointer-events:none;-webkit-user-select:none;user-select:none;position:absolute;inset:0;overflow:hidden}._flight_17k2o_29{inline-size:var(--flight-size);animation:_character-flight_17k2o_1 var(--flight-duration) ease-in-out var(--flight-delay) both;position:absolute;top:0;left:0}._facing_17k2o_37{transform:scaleX(var(--flight-facing));display:block}._facing_17k2o_37>svg{filter:drop-shadow(0 2px 3px #17162126);block-size:auto;inline-size:100%;display:block}@media (prefers-reduced-motion:reduce){._flight_17k2o_29{transform:translate3d(var(--flight-rest-x), var(--flight-rest-y), 0);animation:none}}@keyframes _halloween-spider-drop_ilqfl_1{0%{transform:translateY(-100%)}32%{transform:translate(0,0)}68%{transform:translate(0,0)}to{transform:translateY(-100%)}}@keyframes _halloween-spider-sway_ilqfl_1{0%{transform:rotate(calc(var(--spider-sway) * -1))}to{transform:rotate(var(--spider-sway))}}@keyframes _halloween-ghost-drift_ilqfl_1{0%{opacity:0;transform:translate3d(var(--ghost-from-x), var(--ghost-from-y), 0) scale(var(--ghost-scale-from)) rotate(var(--ghost-tilt))}14%{opacity:var(--ghost-opacity)}50%{transform:translate3d(var(--ghost-mid-x), var(--ghost-mid-y), 0) scale(var(--ghost-scale-mid)) rotate(calc(var(--ghost-tilt) * -1))}86%{opacity:var(--ghost-opacity)}to{opacity:0;transform:translate3d(var(--ghost-to-x), var(--ghost-to-y), 0) scale(var(--ghost-scale-to)) rotate(var(--ghost-tilt))}}@keyframes _halloween-ghost-bob_ilqfl_1{0%,to{transform:translateY(-.4rem)}50%{transform:translateY(.4rem)}}._spiderDrop_ilqfl_73{height:var(--spider-depth,40vh);will-change:transform;animation:_halloween-spider-drop_ilqfl_1 var(--spider-duration,5s) cubic-bezier(.45, 0, .55, 1) var(--spider-delay,0s) both;position:absolute;inset-block-start:0;inset-inline-start:var(--spider-x,50%)}._spiderSwing_ilqfl_82{transform-origin:top;height:100%;animation:_halloween-spider-sway_ilqfl_1 var(--spider-sway-duration,2.4s) ease-in-out infinite alternate;flex-direction:column;align-items:center;display:flex}._spiderThread_ilqfl_91{flex:1;width:1px}._spiderBody_ilqfl_96{transform:scale(var(--spider-scale,1));transform-origin:top}._ghost_ilqfl_106{opacity:0;will-change:transform, opacity;animation:_halloween-ghost-drift_ilqfl_1 var(--ghost-duration,6s) cubic-bezier(.37, 0, .63, 1) var(--ghost-delay,0s) both;position:absolute;top:0;left:0}._ghostBody_ilqfl_115{animation:_halloween-ghost-bob_ilqfl_1 var(--ghost-bob-duration,2.2s) ease-in-out infinite;display:block}._cornerSpider_ilqfl_126{transition:transform 1.25s cubic-bezier(.33,0,.24,1)}._cornerSpiderFleeing_ilqfl_130{transition-duration:.24s;transition-timing-function:cubic-bezier(.22,.92,.3,1)}._cornerSpiderDangle_ilqfl_136{transform-origin:50% 17%;display:block}._cornerSpiderThread_ilqfl_143{transform-origin:50% 100%;background:#d9cfe0b3;width:1px;height:1px;position:absolute;bottom:83%;left:50%;transform:scaleY(0)}._cornerSpiderWatch_ilqfl_154{transform-origin:50% 45%;transition:transform .7s cubic-bezier(.3,0,.2,1);display:block}._cornerSpider_ilqfl_126 svg{transform-origin:50% 62%;animation:3.4s ease-in-out infinite _halloween-spider-breathe_ilqfl_1}._cornerSpider_ilqfl_126 [data-spider-leg],._cornerSpider_ilqfl_126 [data-spider-eyes],._cornerSpider_ilqfl_126 [data-spider-pupils]{transform-box:view-box}._cornerSpider_ilqfl_126 [data-spider-leg="0"]{transform-origin:27px 25px;animation:6.4s ease-in-out infinite _halloween-spider-rub_ilqfl_1}._cornerSpider_ilqfl_126 [data-spider-leg="4"]{transform-origin:37px 25px;animation:6.4s ease-in-out infinite _halloween-spider-rub-mirrored_ilqfl_1}._cornerSpider_ilqfl_126 [data-spider-leg="1"]{transform-origin:26px 28px;animation:9s ease-in-out 1.3s infinite _halloween-spider-shift_ilqfl_1}._cornerSpider_ilqfl_126 [data-spider-leg="6"]{transform-origin:38px 31px;animation:10s ease-in-out 3.1s infinite _halloween-spider-shift-mirrored_ilqfl_1}._cornerSpider_ilqfl_126 [data-spider-leg="3"]{transform-origin:28px 34px;animation:11s ease-in-out 5.2s infinite _halloween-spider-shift_ilqfl_1}._cornerSpider_ilqfl_126 [data-spider-leg="7"]{transform-origin:36px 34px;animation:8s ease-in-out 6.4s infinite _halloween-spider-shift-mirrored_ilqfl_1}._cornerSpider_ilqfl_126 [data-spider-eyes]{transform-origin:32px 20px;animation:5.6s linear infinite _halloween-spider-blink_ilqfl_1}._cornerSpider_ilqfl_126 [data-spider-pupils]{transition:transform .4s ease-out}._cornerSpider_ilqfl_126[data-spider-state=alert] svg,._cornerSpider_ilqfl_126[data-spider-state=alert] [data-spider-leg]{animation-play-state:paused}._cornerSpider_ilqfl_126[data-spider-state=wrapping] [data-spider-leg="0"]{animation:.36s ease-in-out infinite alternate _halloween-spider-weave_ilqfl_1}._cornerSpider_ilqfl_126[data-spider-state=wrapping] [data-spider-leg="4"]{animation:.36s ease-in-out .18s infinite alternate-reverse _halloween-spider-weave_ilqfl_1}._cornerSpider_ilqfl_126[data-spider-state=startled] [data-spider-eyes]{transition:transform .12s ease-out;animation:none;transform:scale(1.35)}._cornerSpider_ilqfl_126[data-spider-state=startled] [data-spider-leg]{animation:.5s ease-out _halloween-spider-splay_ilqfl_1}._cornerSpider_ilqfl_126[data-spider-tap=a] [data-spider-leg="1"]{animation:.16s ease-out _halloween-spider-tap_ilqfl_1}._cornerSpider_ilqfl_126[data-spider-tap=b] [data-spider-leg="5"]{transform-origin:38px 28px;animation:.16s ease-out _halloween-spider-tap-mirrored_ilqfl_1}._pumpkinSilk_ilqfl_237{pointer-events:none;block-size:100%;inline-size:100%;position:absolute;inset:0}._pumpkinSilk_ilqfl_237 [data-silk-group]{transform-box:view-box;transform-origin:80px 89px}._pumpkinSilk_ilqfl_237 [data-silk-cocoon]{fill:#efe9f3;opacity:0}._pumpkinSilk_ilqfl_237 [data-silk-strand]{fill:none;stroke:#f4f0f7;stroke-opacity:.9;stroke-width:1.8px;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1px}@keyframes _halloween-spider-weave_ilqfl_1{0%{transform:rotate(-12deg)}to{transform:rotate(6deg)}}@keyframes _halloween-spider-splay_ilqfl_1{30%{transform:rotate(-14deg)scale(1.08)}}@keyframes _halloween-spider-tap_ilqfl_1{45%{transform:rotate(-12deg)}}@keyframes _halloween-spider-tap-mirrored_ilqfl_1{45%{transform:rotate(12deg)}}@keyframes _halloween-spider-breathe_ilqfl_1{0%,to{transform:scale(1)}50%{transform:scale(1.02,1.035)}}@keyframes _halloween-spider-rub_ilqfl_1{0%,66%,96%,to{transform:rotate(0)}71%,79%,87%{transform:rotate(-11deg)}75%,83%,91%{transform:rotate(3deg)}}@keyframes _halloween-spider-rub-mirrored_ilqfl_1{0%,66%,96%,to{transform:rotate(0)}71%,79%,87%{transform:rotate(11deg)}75%,83%,91%{transform:rotate(-3deg)}}@keyframes _halloween-spider-shift_ilqfl_1{0%,80%,96%,to{transform:rotate(0)}85%{transform:rotate(-7deg)}90%{transform:rotate(2deg)}}@keyframes _halloween-spider-shift-mirrored_ilqfl_1{0%,80%,96%,to{transform:rotate(0)}85%{transform:rotate(7deg)}90%{transform:rotate(-2deg)}}@keyframes _halloween-spider-blink_ilqfl_1{0%,93%,98%,to{transform:scaleY(1)}95.5%{transform:scaleY(.1)}}@keyframes _halloween-chuckle_ilqfl_1{0%,to{transform:rotate(-3deg)translateY(0)}25%,65%{transform:rotate(3deg)translateY(-3px)}45%,85%{transform:rotate(-2deg)translateY(1px)}}@keyframes _halloween-candle_ilqfl_1{0%,to{opacity:.85}30%,70%{opacity:1}50%{opacity:.6}}._pumpkinButton_ilqfl_367._pumpkinButton_ilqfl_367{background:0 0;border-radius:50%;block-size:clamp(88px,9vw,132px);inline-size:clamp(88px,9vw,132px);padding:0}._pumpkinButton_ilqfl_367._pumpkinButton_ilqfl_367:hover,._pumpkinButton_ilqfl_367._pumpkinButton_ilqfl_367:focus-visible,._pumpkinButton_ilqfl_367._pumpkinButton_ilqfl_367:active{background:0 0}._pumpkinButton_ilqfl_367._pumpkinButton_ilqfl_367:hover ._pumpkinBody_ilqfl_377,._pumpkinButton_ilqfl_367._pumpkinButton_ilqfl_367:focus-visible ._pumpkinBody_ilqfl_377,._pumpkinButton_ilqfl_367._pumpkinButton_ilqfl_367:active ._pumpkinBody_ilqfl_377{animation:.65s ease-in-out infinite _halloween-chuckle_ilqfl_1}._pumpkinButton_ilqfl_367._pumpkinButton_ilqfl_367:hover ._pumpkinLight_ilqfl_380,._pumpkinButton_ilqfl_367._pumpkinButton_ilqfl_367:focus-visible ._pumpkinLight_ilqfl_380,._pumpkinButton_ilqfl_367._pumpkinButton_ilqfl_367:active ._pumpkinLight_ilqfl_380{filter:drop-shadow(0 0 3px #ffc65b);animation:.65s ease-in-out infinite _halloween-candle_ilqfl_1}._pumpkinButton_ilqfl_367._pumpkinButton_ilqfl_367:hover ._pumpkinEyes_ilqfl_384,._pumpkinButton_ilqfl_367._pumpkinButton_ilqfl_367:focus-visible ._pumpkinEyes_ilqfl_384,._pumpkinButton_ilqfl_367._pumpkinButton_ilqfl_367:active ._pumpkinEyes_ilqfl_384{transform:scaleY(.7)}._pumpkin_ilqfl_237{filter:drop-shadow(0 5px 8px #5c260d33);block-size:100%;inline-size:100%;display:block;overflow:visible}._pumpkinBody_ilqfl_377{transform-origin:80px 130px}._pumpkinEyes_ilqfl_384{transform-box:fill-box;transform-origin:50%;transition:transform .18s}@keyframes _halloween-wingbeat_ilqfl_1{0%{transform:scaleY(1)}to{transform:scaleY(.35)}}._batWing_ilqfl_414{transform-origin:40px 24px;animation:_halloween-wingbeat_ilqfl_1 var(--wing-duration) ease-in-out infinite alternate}@keyframes _halloween-cat-walk_ilqfl_1{0%{opacity:0;transform:translate(-15vw)}12%{opacity:1}35%{transform:translate(34vw)}55%{transform:translate(46vw)}88%{opacity:1}to{opacity:0;transform:translate(115vw)}}@keyframes _halloween-tail_ilqfl_1{0%{transform:rotate(-8deg)}to{transform:rotate(12deg)}}@keyframes _halloween-cat-step_ilqfl_1{0%{transform:translateY(0)}to{transform:translateY(-2px)}}@keyframes _halloween-cat-blink_ilqfl_1{0%,42%,48%,to{transform:scaleY(1)}45%{transform:scaleY(.1)}}@keyframes _halloween-wisp-rise_ilqfl_1{0%{opacity:0;transform:translateY(10vh)scale(.5)}15%{opacity:.7}50%{transform:translate3d(var(--wisp-drift), -45vh, 0) scale(1)}80%{opacity:.6}to{opacity:0;transform:translateY(-110vh)scale(.4)}}._catTraveler_ilqfl_484{inline-size:68px;animation:9s ease-in-out .3s both _halloween-cat-walk_ilqfl_1;position:absolute;bottom:1.5rem;left:0}._catBody_ilqfl_492{inline-size:100%;animation:.26s ease-in-out infinite alternate _halloween-cat-step_ilqfl_1}._catTail_ilqfl_497{transform-origin:30px 62px;animation:1.1s ease-in-out infinite alternate _halloween-tail_ilqfl_1}._catEyes_ilqfl_502{transform-box:fill-box;transform-origin:50%;animation:3s ease-in-out infinite _halloween-cat-blink_ilqfl_1}._wisp_ilqfl_508{left:var(--wisp-x);background:var(--wisp-color);block-size:5px;inline-size:5px;box-shadow:0 0 8px 3px var(--wisp-color);animation:_halloween-wisp-rise_ilqfl_1 7.5s ease-in-out var(--wisp-delay) both;border-radius:50%;position:absolute;top:100%}@media (prefers-reduced-motion:reduce){._spiderDrop_ilqfl_73,._spiderSwing_ilqfl_82,._ghost_ilqfl_106,._ghostBody_ilqfl_115,._pumpkin_ilqfl_237,._batWing_ilqfl_414,._catTraveler_ilqfl_484,._catBody_ilqfl_492,._catTail_ilqfl_497,._catEyes_ilqfl_502,._wisp_ilqfl_508,._pumpkinButton_ilqfl_367._pumpkinButton_ilqfl_367:is(:hover,:focus-visible,:active) ._pumpkinBody_ilqfl_377,._pumpkinButton_ilqfl_367._pumpkinButton_ilqfl_367:is(:hover,:focus-visible,:active) ._pumpkinLight_ilqfl_380{animation:none}._catTraveler_ilqfl_484{transform:translate(45vw)}._wisp_ilqfl_508{top:var(--wisp-rest-y);opacity:.6}._cornerSpider_ilqfl_126,._cornerSpiderFleeing_ilqfl_130,._cornerSpiderWatch_ilqfl_154,._pumpkinEyes_ilqfl_384{transition:none}._cornerSpider_ilqfl_126 svg,._cornerSpider_ilqfl_126 [data-spider-leg],._cornerSpider_ilqfl_126 [data-spider-eyes],._cornerSpider_ilqfl_126[data-spider-tap] [data-spider-leg]{animation:none}._spiderDrop_ilqfl_73{transform:translate(0,0)}._ghost_ilqfl_106{opacity:var(--ghost-opacity);transform:translate3d(var(--ghost-rest-x), var(--ghost-rest-y), 0) scale(var(--ghost-scale-from))}}._scene_1bmud_1{pointer-events:none;-webkit-user-select:none;user-select:none;position:absolute;inset:0;overflow:hidden}._actor_1bmud_9{aspect-ratio:1;inline-size:110px;position:absolute;inset-block-start:calc(50% - 55px);inset-inline:calc(50% - 55px) auto}._actor_1bmud_9 svg{filter:drop-shadow(0 3px 3px #17242d50);block-size:100%;inline-size:100%;display:block;overflow:visible}._spin_1bmud_26{transform-origin:80px 83px}._orange_2r8vk_2{fill:var(--candy-orange,#e99042)}._corn_2r8vk_6{fill:var(--candy-gold,#f4c962);stroke:var(--candy-gold-edge,#9b6537);stroke-width:1.2px}._cream_2r8vk_12{fill:var(--candy-cream,#fff3d0)}._green_2r8vk_16{fill:var(--candy-green,#84bca0);stroke:var(--candy-green-edge,#376356);stroke-width:1.2px}._purple_2r8vk_22{fill:var(--candy-purple,#aa89cc);stroke:var(--candy-purple-edge,#5a416f);stroke-width:1.2px}._wrapperFold_2r8vk_28{fill:var(--candy-wrapper-shadow,#263349);opacity:.25}._stripe_2r8vk_33{fill:none;stroke:var(--candy-cream,#fff3d0);stroke-width:5px;opacity:.65}._glint_2r8vk_40{fill:none;stroke:var(--candy-shine,#fff8e0);stroke-width:2.4px;stroke-linecap:round}._featherLight_2r8vk_47{stop-color:var(--candy-feather-light,#8990a6)}._featherMid_2r8vk_51{stop-color:var(--candy-feather-mid,#394254)}._featherDark_2r8vk_55{stop-color:var(--candy-feather-dark,#111a2a)}._feather_2r8vk_47{fill:var(--candy-feather-dark,#111a2a);stroke:var(--candy-feather-edge,#8a93a8);stroke-width:.8px}._outline_2r8vk_65{stroke:var(--candy-feather-edge,#8a93a8);stroke-width:.8px}._featherLine_2r8vk_70{fill:none;stroke:var(--candy-feather-light,#a6afc5);stroke-width:1px;opacity:.55}._claw_2r8vk_77{fill:none;stroke:var(--candy-claw,#a9a296);stroke-width:2.4px;stroke-linecap:round}._beak_2r8vk_84{fill:var(--candy-beak,#555966);stroke:var(--candy-beak-edge,#c3bba4);stroke-width:.7px}._beakLine_2r8vk_90{fill:none;stroke:var(--candy-beak-edge,#c3bba4);stroke-width:1px}._eye_2r8vk_96{fill:var(--candy-eye,#ebd48d)}._ink_2r8vk_100{fill:var(--candy-ink,#19282b)}._inkLine_2r8vk_104{fill:none;stroke:var(--candy-ink,#19282b);stroke-width:2px;stroke-linecap:round}._linen_2r8vk_111{fill:var(--candy-linen,#cab990);stroke:var(--candy-linen-edge,#75674f);stroke-width:1.5px;stroke-linejoin:round}._bone_2r8vk_118{fill:var(--candy-bone,#e1dcc4);stroke:var(--candy-bone-edge,#7b8277);stroke-width:1.4px;stroke-linejoin:round}._seam_2r8vk_125{fill:none;stroke:var(--candy-seam,#857558);stroke-width:1.5px}._apron_2r8vk_131{fill:var(--candy-apron,#496c77);stroke:var(--candy-apron-edge,#263f4b);stroke-width:1.5px}._apronLight_2r8vk_137{fill:var(--candy-apron-light,#7a9a9b)}._handle_2r8vk_141{fill:none;stroke:var(--candy-wood,#927047);stroke-width:5px;stroke-linecap:round}._bristles_2r8vk_148{fill:var(--candy-straw,#c2a469);stroke:var(--candy-straw-edge,#75603f);stroke-width:1.2px}._bristleLines_2r8vk_154{fill:none;stroke:var(--candy-straw-edge,#75603f);stroke-width:1px}._binding_2r8vk_160{fill:var(--candy-binding,#9d6956)}._scene_kug86_2{pointer-events:none;-webkit-user-select:none;user-select:none;contain:layout style;position:absolute;inset:0;overflow:clip}._scene_kug86_2[data-ready=false],._scene_kug86_2[data-ended=true]{visibility:hidden}._actor_kug86_16,._copies_kug86_17,._art_kug86_18{position:absolute;top:0;left:0;right:auto}._copies_kug86_17{z-index:1}._floor_kug86_29{background:radial-gradient(#9186a080,#0000 72%);border-radius:50%;block-size:4px;position:absolute;transform:translateY(-50%)}._actor_kug86_16{z-index:2;opacity:0;transform-origin:0 0;block-size:0;inline-size:0}._art_kug86_18{aspect-ratio:8/7;transform:translate(-50%,-85.7143%)}._facing_kug86_51{block-size:100%;inline-size:100%;transform:scaleX(var(--cat-facing,1));transform-origin:50%;display:block}._art_kug86_18 svg,._fallback_kug86_60 svg{block-size:100%;inline-size:100%;display:block;overflow:visible}._art_kug86_18 [data-cat-part],._fallback_kug86_60 [data-cat-part]{transform-box:view-box}._art_kug86_18 [data-cat-part=arm],._fallback_kug86_60 [data-cat-part=arm]{transform-origin:100px 72px}._art_kug86_18 [data-cat-part=forearm],._fallback_kug86_60 [data-cat-part=forearm]{transform-origin:100px 96px}._art_kug86_18 [data-cat-part=head],._fallback_kug86_60 [data-cat-part=head]{transform-origin:100px 49px}._art_kug86_18 [data-cat-part=tail],._fallback_kug86_60 [data-cat-part=tail]{transform-origin:59px 98px}._art_kug86_18 [data-cat-part=hind-leg],._fallback_kug86_60 [data-cat-part=hind-leg]{transform-origin:66px 99px}._art_kug86_18 [data-cat-part=far-leg],._fallback_kug86_60 [data-cat-part=far-leg]{transform-origin:87px 82px}._art_kug86_18 [data-cat-part=eyes],._fallback_kug86_60 [data-cat-part=eyes]{transform-origin:103px 46px}._art_kug86_18 [data-cat-part=pupils],._fallback_kug86_60 [data-cat-part=pupils]{transform-origin:105px 46px}._art_kug86_18 [data-cat-part=ears],._fallback_kug86_60 [data-cat-part=ears]{transform-origin:100px 35px}._art_kug86_18 [data-cat-part=tongue],._fallback_kug86_60 [data-cat-part=tongue]{transform-origin:113px 61px}._fallback_kug86_60{aspect-ratio:8/7;inline-size:120px;animation:9s linear both _crossing_kug86_1;position:absolute;inset-block-end:24px;inset-inline-start:44%}._fallback_kug86_60 [data-cat-part=tail]{animation:1.8s ease-in-out infinite alternate _tail-sway_kug86_1}._fallback_kug86_60 [data-cat-part=hind-leg],._fallback_kug86_60 [data-cat-part=arm]{animation:.62s ease-in-out infinite alternate _step_kug86_1}._fallback_kug86_60 [data-cat-part=far-leg]{animation:.62s ease-in-out infinite alternate-reverse _step_kug86_1}._fallback_kug86_60 [data-cat-part=eyes]{animation:4s linear infinite _blink_kug86_1}._scene_kug86_2[data-ended=true] ._fallback_kug86_60,._scene_kug86_2[data-ended=true] ._fallback_kug86_60 *,._scene_kug86_2[data-stationary=true] ._fallback_kug86_60,._scene_kug86_2[data-stationary=true] ._fallback_kug86_60 *{animation:none}@keyframes _crossing_kug86_1{0%{opacity:0;transform:translate(calc(-100vw - 140px))}8%,92%{opacity:1}to{opacity:0;transform:translate(calc(100vw + 140px))}}@keyframes _tail-sway_kug86_1{0%{transform:rotate(-9deg)}to{transform:rotate(12deg)}}@keyframes _step_kug86_1{0%{transform:rotate(-9deg)}to{transform:rotate(10deg)}}@keyframes _blink_kug86_1{0%,42%,48%,to{transform:scaleY(1)}45%{transform:scaleY(.06)}}._paw_1mpnx_2{fill:var(--footprint-pad,#a2c7b5);stroke:var(--footprint-edge,#45645e);stroke-width:1.2px}._padLight_1mpnx_8{fill:none;stroke:var(--footprint-light,#e0edcf);stroke-width:1.5px;stroke-linecap:round}._eye_1mpnx_15{fill:var(--footprint-eye,#c9dd8d);stroke:var(--footprint-edge,#45645e);stroke-width:1.4px}._pupil_1mpnx_21{fill:var(--footprint-ink,#233b38)}._eyeLight_1mpnx_25{fill:none;stroke:var(--footprint-light,#f6f6d8);stroke-width:2px;stroke-linecap:round}._lid_1mpnx_32,._teeth_1mpnx_33,._smile_1mpnx_34{fill:none;stroke:var(--footprint-ink,#233b38);stroke-width:1.2px;stroke-linecap:round;stroke-linejoin:round}._mouth_1mpnx_42{fill:var(--footprint-tooth,#eee7c7);stroke:var(--footprint-edge,#45645e);stroke-width:1.2px}._ledge_1mpnx_48{border-color:var(--footprint-pad,#a2c7b5)}._scene_1mpnx_53[data-ready=false],._scene_1mpnx_53[data-ended=true]{visibility:hidden}._scene_1ncpe_2{pointer-events:none;-webkit-user-select:none;user-select:none;contain:layout style;position:absolute;inset:0;overflow:clip}._scene_1ncpe_2[data-ready=false],._scene_1ncpe_2[data-ended=true]{visibility:hidden}._scene_1ncpe_2[data-ended=true] [data-ghost-fallback],._scene_1ncpe_2[data-ended=true] [data-ghost-fallback]>svg{animation:none}._actor_1ncpe_21,._copies_1ncpe_22,._pumpkinGlow_1ncpe_23{position:absolute;top:0;left:0}._copies_1ncpe_22{z-index:1;pointer-events:none}._actor_1ncpe_21{transform-origin:0 0;z-index:3;opacity:0;block-size:0;inline-size:0}._art_1ncpe_42{position:absolute;top:0;left:0;right:auto;transform:translate(-50%,-50%)}._cloth_1ncpe_50{transform-origin:50% 35%;block-size:100%;inline-size:100%}._cloth_1ncpe_50 svg{block-size:100%;inline-size:100%;display:block;overflow:visible}._cloth_1ncpe_50 [data-ghost-arms]{transform-origin:32px 44px}._templates_1ncpe_65{display:none}._possessedFace_1ncpe_69{block-size:18px;inline-size:33px;transform:translate(-50%, -50%) scale(var(--ghost-face-scale,1));pointer-events:none;z-index:5;opacity:0;align-items:center;gap:5px;margin-inline:0;display:flex;position:absolute;top:50%;left:50%}._eye_1ncpe_85{background:radial-gradient(at 40% 30%,#fff 15%,#e4d6fb 68%,#b5a0d1);border-radius:48% 48% 42% 42%;flex:0 0 14px;block-size:18px;inline-size:14px;display:block;position:relative;overflow:hidden;box-shadow:0 0 7px #d8baffb3}._eye_1ncpe_85 [data-ghost-pupil]{background:#28283c;border-radius:50%;block-size:8px;inline-size:5px;position:absolute;top:5px;left:5px}._pumpkinGlow_1ncpe_23{opacity:0;z-index:2;transform-origin:50%;background:radial-gradient(at 50% 60%,#ffe68970 0%,#ffaf3547 35%,#ff80261f 53%,#0000 72%)}._scene_1ncpe_2[data-stationary=true] [data-ghost-fallback]{opacity:var(--ghost-opacity);transform:translate3d(var(--ghost-rest-x), var(--ghost-rest-y), 0) scale(var(--ghost-scale-from));animation:none}._scene_1ncpe_2[data-stationary=true] [data-ghost-fallback]>svg{animation:none}._tongueCanvas_id5l0_1{pointer-events:none;block-size:100%;inline-size:100%;position:absolute;inset:0;overflow:visible}._tongue_id5l0_1{transform-origin:0 0;transform:scale(0)}._loop_id5l0_15{fill:none;opacity:0}._loop_id5l0_15 [data-mimic-wrap]{stroke-dasharray:1;stroke-dashoffset:1px}._tongue_id5l0_1,._loop_id5l0_15{stroke-linecap:round;stroke-linejoin:round}@media (prefers-reduced-motion:reduce){._tongueCanvas_id5l0_1{display:none}}._scene_1112m_1{pointer-events:none;-webkit-user-select:none;user-select:none;position:absolute;inset:0;overflow:hidden}._stage_1112m_9{--scene-size:min(clamp(180px, 26vw, 300px), 70dvh, calc(100vw - 24px));inline-size:var(--scene-size);block-size:var(--scene-size);filter:drop-shadow(0 5px 8px #17242d50);position:absolute;inset-block-start:calc((100% - var(--scene-size)) * var(--place-y));inset-inline-start:calc((100% - var(--scene-size)) * var(--place-x));overflow:hidden}._art_1112m_20{transform-origin:160px 160px;animation:8s ease-in-out both _scene-life_1112m_1}@keyframes _scene-life_1112m_1{0%{opacity:0;transform:translateY(12px)scale(.88)}12%,86%{opacity:1;transform:none}to{opacity:0;transform:translateY(-14px)scale(.97)}}._pot_1112m_39{animation:8s ease-in-out both _pot-life_1112m_1}._simmer_1112m_43{transform-box:fill-box;transform-origin:50%;animation:_simmer_1112m_43 1.3s ease-in-out var(--delay) 4 both}._bubble_1112m_49{animation:_bubble-rise_1112m_1 2.65s ease-out var(--delay) both}._bubbleFace_1112m_53{animation:_bubble-face_1112m_1 2.65s ease-out var(--delay) both}._smoke_1112m_57{animation:_smoke-puff_1112m_1 1.65s ease-out var(--delay) both}@keyframes _pot-life_1112m_1{0%,73%{opacity:1}86%,to{opacity:0}}@keyframes _simmer_1112m_43{0%,to{opacity:.4;transform:scale(.4)}50%{opacity:.9;transform:scale(1.1)}}@keyframes _bubble-rise_1112m_1{0%{opacity:0;transform:translate(0)scale(.25)}12%{opacity:.85}75%{opacity:.9;transform:translate(var(--drift), -105px) scale(1)}86%{opacity:.8;transform:translate(var(--drift), -123px) scale(1.08)}to{opacity:0;transform:translate(var(--drift), -133px) scale(1.55)}}@keyframes _bubble-face_1112m_1{0%,25%{opacity:0}50%,85%{opacity:1}to{opacity:0}}@keyframes _smoke-puff_1112m_1{0%{opacity:0;transform:scale(.2)}25%{opacity:.55}to{opacity:0;transform:translateY(-60px)scale(1.7)}}._chest_1112m_124{transform-origin:160px 225px;animation:8s ease-in-out both _chest-hiccup_1112m_1}._chestLid_1112m_129{transform-origin:250px 190px;animation:8s ease-in-out both _chest-chew_1112m_1}@keyframes _chest-chew_1112m_1{0%,12%{transform:translateY(9px)}26%,57%{transform:translateY(-30px)rotate(5deg)}60%,65%,70%{transform:translateY(9px)}62%,67%{transform:translateY(-7px)}74%,79%{transform:translateY(-38px)rotate(7deg)}88%,to{transform:translateY(9px)}}@keyframes _chest-hiccup_1112m_1{0%,65%,82%,to{transform:none}69%{transform:translateY(-12px)rotate(-4deg)}73%{transform:translateY(3px)rotate(3deg)}}@media (prefers-reduced-motion:reduce){._stage_1112m_9,._stage_1112m_9 *{animation:none!important}._stage_1112m_9,._art_1112m_20,._pot_1112m_39,._chest_1112m_124,._chestLid_1112m_129{opacity:1;transform:none}._bubble_1112m_49{transform:translate(var(--drift), -65px)}._bubbleFace_1112m_53{opacity:1}._smoke_1112m_57{display:none}}._scene_135v7_1{pointer-events:none;-webkit-user-select:none;user-select:none;position:absolute;inset:0;overflow:hidden}._actor_135v7_9{aspect-ratio:200/260;inline-size:130px;position:absolute;inset-block-start:calc(50% - 85px);inset-inline:calc(50% - 65px) auto}._actor_135v7_9 svg{filter:drop-shadow(0 3px 3px #17242d50);block-size:100%;inline-size:100%;display:block;overflow:visible}._backLeg_135v7_26,._frontLeg_135v7_27{transform-origin:98px 167px;animation:_mummy-step_135v7_1 var(--mummy-duration) linear both}._frontLeg_135v7_27{animation-name:_mummy-front-step_135v7_1}._torso_135v7_36{transform-origin:102px 165px;animation:_mummy-strain_135v7_1 var(--mummy-duration) ease-in-out both}._head_135v7_41{transform-origin:115px 92px;animation:_mummy-determination_135v7_1 var(--mummy-duration) ease-in-out both}._eyes_135v7_46{transform-origin:135px 61px;animation:_mummy-squint_135v7_1 var(--mummy-duration) ease-in-out both}._looseLinen_135v7_51{transform-origin:72px 124px;animation:_mummy-linen_135v7_1 var(--mummy-duration) ease-in-out both}._effort_135v7_56{animation:_mummy-effort_135v7_1 var(--mummy-duration) ease-in-out both}._dust_135v7_60{animation:_mummy-dust_135v7_1 var(--mummy-duration) ease-in-out both}@keyframes _mummy-step_135v7_1{0%,6%,12%,36%,46%,56%,66%,76%,86%,to{transform:rotate(-9deg)}3%,9%,15%,41%,51%,61%,71%,81%{transform:rotate(8deg)}18%,22%,28%,34%{transform:rotate(0)}20%,24%,30%,32%{transform:translate(-3px)rotate(-2deg)}}@keyframes _mummy-front-step_135v7_1{0%,6%,12%,36%,46%,56%,66%,76%,86%,to{transform:rotate(7deg)}3%,9%,15%,41%,51%,61%,71%,81%{transform:rotate(-7deg)}18%,22%,28%,34%{transform:none}20%,24%,30%,32%{transform:translate(-1px)rotate(1deg)}}@keyframes _mummy-strain_135v7_1{0%,15%{transform:none}19%,23%,29%,33%{transform:translate(3px)rotate(5deg)}21%,31%{transform:translate(1px)rotate(3deg)}26%{transform:rotate(-3deg)}36%,to{transform:translate(5px)rotate(8deg)}}@keyframes _mummy-determination_135v7_1{0%,15%,26%{transform:none}19%,23%,29%,33%,36%,to{transform:rotate(7deg)}21%,31%{transform:rotate(3deg)}}@keyframes _mummy-squint_135v7_1{0%,15%,26%{transform:none}19%,24%,30%,to{transform:scaleY(.5)}}@keyframes _mummy-linen_135v7_1{0%,15%,26%,36%,56%,76%,to{transform:rotate(-9deg)}8%,22%,32%,46%,66%,86%{transform:rotate(14deg)}}@keyframes _mummy-effort_135v7_1{0%,16%,26%,35%,48%,to{opacity:0}19%,23%,29%,33%,40%{opacity:.9}}@keyframes _mummy-dust_135v7_1{0%,36%,47%,58%,69%,80%,to{opacity:0;transform:translate(0)}42%,53%,64%,75%{opacity:.6;transform:translate(-10px)}}._scene_135v7_1[data-static=true] ._actor_135v7_9 *{animation:none}._scene_135v7_1[data-static=true] ._effort_135v7_56,._scene_135v7_1[data-static=true] ._dust_135v7_60{display:none}@media (prefers-reduced-motion:reduce){._actor_135v7_9 *{animation:none!important}._effort_135v7_56,._dust_135v7_60{display:none}}._scene_1errp_2{pointer-events:none;-webkit-user-select:none;user-select:none;position:absolute;inset:0;overflow:hidden}._portal_1errp_10{filter:drop-shadow(0 0 8px #73ceac);transform-origin:50%;animation:9s ease-in-out both _rift-open_1errp_1;position:absolute}._portalEyes_1errp_17{animation:9s ease-in-out both _rift-eyes_1errp_1}._armCanvas_1errp_21{filter:drop-shadow(0 2px 3px #102b2699);block-size:100%;inline-size:100%;position:absolute;inset:0;overflow:visible}._portalArm_1errp_30{animation:9s ease-in-out both _claw-reach_1errp_1}._clawFinger_1errp_34{animation:9s ease-in-out both _claw-grip_1errp_1}@keyframes _rift-open_1errp_1{0%{opacity:0;transform:scale(.02,.15)}8%{opacity:1;transform:scale(.08,.8)}20%,68%{opacity:1;transform:scale(1)}72%{opacity:1;transform:scale(.02,1.12)}75%,to{opacity:0;transform:scale(0,.1)}}@keyframes _rift-eyes_1errp_1{0%,12%,68%,to{opacity:0}22%,27%,32%,60%{opacity:1}29%{opacity:.1}}@keyframes _claw-reach_1errp_1{0%,17%{opacity:0;transform:scale(.02)}24%{opacity:1;transform:scale(.22)}34%,42%{opacity:1;transform:scale(1)}63%{opacity:1;transform:scale(.05)}66%,to{opacity:0;transform:scale(0)}}@keyframes _claw-grip_1errp_1{0%,34%,to{transform:rotate(-10deg)}40%,65%{transform:rotate(16deg)}}@media (prefers-reduced-motion:reduce){._scene_1errp_2,._scene_1errp_2 *{animation:none!important}._portal_1errp_10,._portalEyes_1errp_17{opacity:1;transform:none}._portalArm_1errp_30{display:none}}._scene_1vn5x_2{pointer-events:none;-webkit-user-select:none;user-select:none;contain:layout style;position:absolute;inset:0;overflow:hidden}._bird_1vn5x_11,._nest_1vn5x_12,._copies_1vn5x_13,._fallback_1vn5x_14,._edgeGap_1vn5x_15{position:absolute;top:0;left:0}._bird_1vn5x_11{transform-origin:0 0;z-index:3;block-size:0;inline-size:0}._art_1vn5x_28{left:calc(var(--raven-size) * -.95);top:calc(var(--raven-size) * -.291667);inline-size:var(--raven-size);block-size:calc(var(--raven-size) * .916667);transform-origin:95% 31.8182%;transform:scaleX(var(--raven-facing));position:absolute}._art_1vn5x_28 svg{inline-size:100%;display:block;overflow:visible}._art_1vn5x_28 [data-raven-wing]{transform:rotate(-8deg)scaleY(.32)}._ribbon_1vn5x_46{transform-origin:0 0;opacity:0;position:absolute;top:0;left:0;overflow:visible}._nest_1vn5x_12{z-index:2;transform-origin:0 0;block-size:0;inline-size:0}._nest_1vn5x_12>svg{left:calc(var(--nest-width) * -.5);top:calc(var(--nest-width) * -.21);inline-size:var(--nest-width);position:absolute;overflow:visible}._copies_1vn5x_13,._fallback_1vn5x_14{z-index:2;pointer-events:none}._fallback_1vn5x_14{opacity:0}._edgeGap_1vn5x_15{opacity:0;border-radius:2px;block-size:3px}._scene_1vn5x_2[data-ready=false]{visibility:hidden}._scene_1vn5x_2[data-animated=true] ._bird_1vn5x_11,._scene_1vn5x_2[data-animated=true] [data-raven-twig]{opacity:0}._boneLight_amnh5_2{stop-color:var(--skeleton-bone-light,#fbf5df)}._boneMid_amnh5_6{stop-color:var(--skeleton-bone-mid,#dcd5ba)}._boneDark_amnh5_10{stop-color:var(--skeleton-bone-dark,#a9a58f)}._bone_amnh5_2{stroke:var(--skeleton-bone-edge,#5d6660);stroke-width:1.4px;stroke-linejoin:round}._limbEdge_amnh5_20,._limb_amnh5_20{fill:none;stroke-linecap:round;stroke-linejoin:round}._limbEdge_amnh5_20{stroke:var(--skeleton-bone-edge,#5d6660);stroke-width:6.6px}._limb_amnh5_20{stroke:var(--skeleton-bone-mid,#e6dfc5);stroke-width:3.8px}._joint_amnh5_37{fill:var(--skeleton-bone-light,#fbf5df);stroke:var(--skeleton-bone-edge,#5d6660);stroke-width:1.2px}._ribs_amnh5_43{fill:none;stroke:var(--skeleton-ink,#26332f);stroke-width:2.2px;stroke-linecap:round}._suture_amnh5_50{fill:none;stroke:var(--skeleton-bone-edge,#5d6660);stroke-width:1px;stroke-linecap:round}._socket_amnh5_57{fill:var(--skeleton-ink,#26332f)}._glint_amnh5_61{fill:none;stroke:var(--skeleton-glint,#c4eba4);stroke-width:4.2px;stroke-linecap:round}._teeth_amnh5_68{fill:none;stroke:var(--skeleton-ink,#26332f);stroke-width:1.3px;stroke-linecap:round}._bow_amnh5_75{fill:var(--skeleton-bow,#e0772f);stroke:var(--skeleton-bow-edge,#7a3514);stroke-width:1px;stroke-linejoin:round}::highlight(celebration-skeleton-word){color:#0000}._ledge_amnh5_88{border-color:var(--skeleton-ledge,#e6dfc5b3)}._scene_1crkq_1,._carrier_1crkq_2,._cargo_1crkq_3,._web_1crkq_4{pointer-events:none;-webkit-user-select:none;user-select:none;position:absolute;inset:0}._scene_1crkq_1{overflow:hidden}._carrier_1crkq_2{transform:translateY(-110%)}._web_1crkq_4{opacity:0;filter:drop-shadow(0 .4px .45px #1a263a66);block-size:100%;inline-size:100%}._silk_1crkq_26{stroke:#e2e7e8;stroke-dasharray:1;stroke-dashoffset:1px}._thread_1crkq_33{background:linear-gradient(#c1d0df28,#e2e7e899);inline-size:1px;position:absolute;inset-block-start:0}._spider_1crkq_40{position:absolute}._body_1crkq_44._body_1crkq_44{block-size:100%;inline-size:100%}._scene_11wzq_1{pointer-events:none;-webkit-user-select:none;user-select:none;position:absolute;inset:0;overflow:hidden}._train_11wzq_9{--train-duration:11s;--train-width:min(clamp(320px, 54vw, 760px), calc(100vw - 24px));left:calc((100% - var(--train-width)) / 2);inline-size:var(--train-width);aspect-ratio:640/170;filter:drop-shadow(0 0 5px #a1d7bd50);position:absolute;bottom:8px}._artwork_11wzq_21{position:absolute;inset:0}._passenger_11wzq_26{opacity:0;transform-origin:50%;position:absolute}._passenger_11wzq_26>svg{block-size:100%;inline-size:100%}._passenger_11wzq_26 *{transition:none!important;animation:none!important}@media (prefers-reduced-motion:reduce){._passenger_11wzq_26{display:none}}._artwork_1knkp_1{pointer-events:none;-webkit-user-select:none;user-select:none;block-size:auto;inline-size:100%;display:block;overflow:visible}._wheel_1knkp_10{transform-origin:0 0;animation:_wheel-turn_1knkp_1 var(--train-duration,11s) linear both}._smoke_1knkp_15{opacity:0;transform-origin:0 0;animation:_smoke-drift_1knkp_1 calc(var(--train-duration,11s) / 4) ease-out var(--smoke-delay) 4 both}._plumeFlow_1knkp_21{transform-origin:0 0;animation:_smoke-departure_1knkp_1 var(--train-duration,11s) ease-in-out both}@keyframes _wheel-turn_1knkp_1{20%,50%{transform:rotate(-720deg)}86%,to{transform:rotate(-4320deg)}}@keyframes _smoke-departure_1knkp_1{0%,50%{transform:scale(1)}58%,to{transform:scale(1.35)}}@keyframes _smoke-drift_1knkp_1{0%{opacity:0;transform:translate(0, 0) scale(calc(var(--smoke-size) * .18))}14%{opacity:.82}56%{opacity:.48}to{opacity:0;transform:translate(var(--smoke-x), var(--smoke-y)) rotate(var(--smoke-turn)) scale(calc(var(--smoke-size) * 2.15))}}@media (prefers-reduced-motion:reduce){._wheel_1knkp_10,._plumeFlow_1knkp_21{animation:none}._smoke_1knkp_15{animation:none;display:none}}._scene_1esvn_1{pointer-events:none;block-size:100%;inline-size:100%;position:absolute;inset:0}._witch_1ug7q_2{--witch-cloak:#71518e;--witch-edge:#c5a1db;--witch-dark:#30233e;--witch-hair:#c17643;--witch-ribbon:#e9a44f}._mentor_1ug7q_10{--witch-cloak:#2f6664;--witch-edge:#9bd0bb;--witch-dark:#193b43;--witch-hair:#c3c8d3;--witch-ribbon:#ceb780}._cloak_1ug7q_18{fill:var(--witch-cloak);stroke:var(--witch-edge);stroke-width:1px}._hatBrim_1ug7q_24,._boot_1ug7q_25{fill:var(--witch-dark);stroke:var(--witch-edge);stroke-width:.8px}._hair_1ug7q_31{fill:var(--witch-hair)}._ribbon_1ug7q_35,._buckle_1ug7q_36{fill:var(--witch-ribbon)}._lapel_1ug7q_40{fill:var(--witch-edge)}._fold_1ug7q_44{fill:none;stroke:var(--witch-edge);stroke-width:1px}._skin_1ug7q_50{fill:#d9c5aa;stroke:#705a62;stroke-width:.8px}._eye_1ug7q_56{fill:#fff6d6}._pupil_1ug7q_60{fill:#1e2633}._expression_1ug7q_64{fill:none;stroke:#3c2d42;stroke-width:1.6px;stroke-linecap:round}._wood_1ug7q_71{fill:none;stroke:#986342;stroke-width:5px;stroke-linecap:round}._straw_1ug7q_78{fill:#d5aa58;stroke:#835733;stroke-width:1px}._strawLines_1ug7q_84{fill:none;stroke:#ffe3a0;stroke-width:1px}._binding_1ug7q_90{stroke:#685057;stroke-width:2.4px}._frogLeg_1ug7q_95{fill:none;stroke:#86ba70;stroke-width:4px;stroke-linecap:round;stroke-linejoin:round}._frogEye_1ug7q_103{fill:#deeb9b;stroke:#578553;stroke-width:1.4px}._broom_1ug7q_109{transform-origin:90px 120px}._armJoint_1ug7q_113{transform-origin:98px 82px}._headJoint_1ug7q_117{transform-origin:93px 70px}._hatJoint_1ug7q_121{transform-origin:94px 45px}._cloakJoint_1ug7q_125{transform-origin:88px 72px}._frogLegs_1ug7q_129{transform-origin:50px 57px}._broom_1ug7q_109,._armJoint_1ug7q_113,._headJoint_1ug7q_117,._hatJoint_1ug7q_121,._cloakJoint_1ug7q_125,._frogLegs_1ug7q_129{transform-box:view-box}._broomFrog_1ug7q_142{opacity:0}._frog_1ug7q_95{color:#86ba70}._spell_1ug7q_150{fill:#dab378}._mentorSpell_1ug7q_154{fill:#9cdabb}._scene_1ug7q_159[data-ready=false],._scene_1ug7q_159[data-ended=true]{visibility:hidden}._scene_1ug7q_159[data-stationary=true] ._witch_1ug7q_2:not(._mentor_1ug7q_10) ._broomFrog_1ug7q_142{opacity:1}._garland_lgd31_1{opacity:.75;pointer-events:none;block-size:40px;inline-size:100%;position:absolute;inset-block-start:0;inset-inline:0}._giftButton_lgd31_11._giftButton_lgd31_11{background:0 0;border:0;border-radius:20px;block-size:80px;inline-size:80px;padding:0}._giftButton_lgd31_11._giftButton_lgd31_11 svg{block-size:100%;inline-size:100%;overflow:visible}._giftButton_lgd31_11._giftButton_lgd31_11:enabled:is(:hover,:focus-visible,:active){background:0 0}._giftButton_lgd31_11._giftButton_lgd31_11:enabled:is(:hover,:focus-visible,:active) ._giftLid_lgd31_27{transform:translateY(-5px)rotate(-3deg)}._giftLid_lgd31_27{transform-origin:50px 40px;transition:transform .3s}@media (width>=1280px){._garland_lgd31_1{block-size:55px}._giftButton_lgd31_11._giftButton_lgd31_11{block-size:104px;inline-size:104px}}@media (prefers-reduced-motion:reduce){._giftLid_lgd31_27{transition:none}._giftButton_lgd31_11._giftButton_lgd31_11:enabled:is(:hover,:focus-visible,:active) ._giftLid_lgd31_27{transform:none}}
|
|
1
|
+
._scene_tlezg_2{pointer-events:none;-webkit-user-select:none;user-select:none;contain:layout style;position:absolute;inset:0;overflow:clip}._scene_tlezg_2[data-ready=false],._scene_tlezg_2[data-ended=true]{visibility:hidden}._actor_tlezg_16,._copies_tlezg_17,._art_tlezg_18{position:absolute;top:0;left:0;right:auto}._copies_tlezg_17{z-index:1}._actor_tlezg_16{transform-origin:0 0;opacity:0;z-index:3;block-size:0;inline-size:0}._art_tlezg_18{transform:translate(-50%,-82.5%)}._art_tlezg_18 svg{block-size:100%;inline-size:100%;display:block;overflow:visible}._art_tlezg_18 [data-bat-part=wing-left],._art_tlezg_18 [data-bat-part=wing-right],._art_tlezg_18 [data-bat-part=forearm-left],._art_tlezg_18 [data-bat-part=forearm-right],._art_tlezg_18 [data-bat-part=wrap]{transform-box:view-box}._art_tlezg_18 [data-bat-part=wing-left]{transform-origin:42px 39px}._art_tlezg_18 [data-bat-part=wing-right]{transform-origin:58px 39px}._art_tlezg_18 [data-bat-part=forearm-left]{transform-origin:27px 29px}._art_tlezg_18 [data-bat-part=forearm-right]{transform-origin:73px 29px}._art_tlezg_18 [data-bat-part=wrap]{transform-origin:50px 47px}._scene_tlezg_2[data-ended=true] ._fallback_tlezg_70 *,._scene_tlezg_2[data-stationary=true] ._fallback_tlezg_70 *{animation:none}._scene_tlezg_2[data-stationary=true] ._fallback_tlezg_70 span[style]{opacity:1;transform:translate3d(var(--flight-rest-x), var(--flight-rest-y), 0)}@keyframes _character-flight_17k2o_1{0%{opacity:0;transform:translate3d(var(--flight-start-x), var(--flight-start-y), 0) rotate(-8deg)}12%{opacity:1}50%{transform:translate3d(48vw, var(--flight-mid-y), 0) rotate(6deg)}88%{opacity:1}to{opacity:0;transform:translate3d(var(--flight-end-x), var(--flight-end-y), 0) rotate(-5deg)}}._layer_17k2o_20{pointer-events:none;-webkit-user-select:none;user-select:none;position:absolute;inset:0;overflow:hidden}._flight_17k2o_29{inline-size:var(--flight-size);animation:_character-flight_17k2o_1 var(--flight-duration) ease-in-out var(--flight-delay) both;position:absolute;top:0;left:0}._facing_17k2o_37{transform:scaleX(var(--flight-facing));display:block}._facing_17k2o_37>svg{filter:drop-shadow(0 2px 3px #17162126);block-size:auto;inline-size:100%;display:block}@media (prefers-reduced-motion:reduce){._flight_17k2o_29{transform:translate3d(var(--flight-rest-x), var(--flight-rest-y), 0);animation:none}}@keyframes _halloween-spider-drop_ilqfl_1{0%{transform:translateY(-100%)}32%{transform:translate(0,0)}68%{transform:translate(0,0)}to{transform:translateY(-100%)}}@keyframes _halloween-spider-sway_ilqfl_1{0%{transform:rotate(calc(var(--spider-sway) * -1))}to{transform:rotate(var(--spider-sway))}}@keyframes _halloween-ghost-drift_ilqfl_1{0%{opacity:0;transform:translate3d(var(--ghost-from-x), var(--ghost-from-y), 0) scale(var(--ghost-scale-from)) rotate(var(--ghost-tilt))}14%{opacity:var(--ghost-opacity)}50%{transform:translate3d(var(--ghost-mid-x), var(--ghost-mid-y), 0) scale(var(--ghost-scale-mid)) rotate(calc(var(--ghost-tilt) * -1))}86%{opacity:var(--ghost-opacity)}to{opacity:0;transform:translate3d(var(--ghost-to-x), var(--ghost-to-y), 0) scale(var(--ghost-scale-to)) rotate(var(--ghost-tilt))}}@keyframes _halloween-ghost-bob_ilqfl_1{0%,to{transform:translateY(-.4rem)}50%{transform:translateY(.4rem)}}._spiderDrop_ilqfl_73{height:var(--spider-depth,40vh);will-change:transform;animation:_halloween-spider-drop_ilqfl_1 var(--spider-duration,5s) cubic-bezier(.45, 0, .55, 1) var(--spider-delay,0s) both;position:absolute;inset-block-start:0;inset-inline-start:var(--spider-x,50%)}._spiderSwing_ilqfl_82{transform-origin:top;height:100%;animation:_halloween-spider-sway_ilqfl_1 var(--spider-sway-duration,2.4s) ease-in-out infinite alternate;flex-direction:column;align-items:center;display:flex}._spiderThread_ilqfl_91{flex:1;width:1px}._spiderBody_ilqfl_96{transform:scale(var(--spider-scale,1));transform-origin:top}._ghost_ilqfl_106{opacity:0;will-change:transform, opacity;animation:_halloween-ghost-drift_ilqfl_1 var(--ghost-duration,6s) cubic-bezier(.37, 0, .63, 1) var(--ghost-delay,0s) both;position:absolute;top:0;left:0}._ghostBody_ilqfl_115{animation:_halloween-ghost-bob_ilqfl_1 var(--ghost-bob-duration,2.2s) ease-in-out infinite;display:block}._cornerSpider_ilqfl_126{transition:transform 1.25s cubic-bezier(.33,0,.24,1)}._cornerSpiderFleeing_ilqfl_130{transition-duration:.24s;transition-timing-function:cubic-bezier(.22,.92,.3,1)}._cornerSpiderDangle_ilqfl_136{transform-origin:50% 17%;display:block}._cornerSpiderThread_ilqfl_143{transform-origin:50% 100%;background:#d9cfe0b3;width:1px;height:1px;position:absolute;bottom:83%;left:50%;transform:scaleY(0)}._cornerSpiderWatch_ilqfl_154{transform-origin:50% 45%;transition:transform .7s cubic-bezier(.3,0,.2,1);display:block}._cornerSpider_ilqfl_126 svg{transform-origin:50% 62%;animation:3.4s ease-in-out infinite _halloween-spider-breathe_ilqfl_1}._cornerSpider_ilqfl_126 [data-spider-leg],._cornerSpider_ilqfl_126 [data-spider-eyes],._cornerSpider_ilqfl_126 [data-spider-pupils]{transform-box:view-box}._cornerSpider_ilqfl_126 [data-spider-leg="0"]{transform-origin:27px 25px;animation:6.4s ease-in-out infinite _halloween-spider-rub_ilqfl_1}._cornerSpider_ilqfl_126 [data-spider-leg="4"]{transform-origin:37px 25px;animation:6.4s ease-in-out infinite _halloween-spider-rub-mirrored_ilqfl_1}._cornerSpider_ilqfl_126 [data-spider-leg="1"]{transform-origin:26px 28px;animation:9s ease-in-out 1.3s infinite _halloween-spider-shift_ilqfl_1}._cornerSpider_ilqfl_126 [data-spider-leg="6"]{transform-origin:38px 31px;animation:10s ease-in-out 3.1s infinite _halloween-spider-shift-mirrored_ilqfl_1}._cornerSpider_ilqfl_126 [data-spider-leg="3"]{transform-origin:28px 34px;animation:11s ease-in-out 5.2s infinite _halloween-spider-shift_ilqfl_1}._cornerSpider_ilqfl_126 [data-spider-leg="7"]{transform-origin:36px 34px;animation:8s ease-in-out 6.4s infinite _halloween-spider-shift-mirrored_ilqfl_1}._cornerSpider_ilqfl_126 [data-spider-eyes]{transform-origin:32px 20px;animation:5.6s linear infinite _halloween-spider-blink_ilqfl_1}._cornerSpider_ilqfl_126 [data-spider-pupils]{transition:transform .4s ease-out}._cornerSpider_ilqfl_126[data-spider-state=alert] svg,._cornerSpider_ilqfl_126[data-spider-state=alert] [data-spider-leg]{animation-play-state:paused}._cornerSpider_ilqfl_126[data-spider-state=wrapping] [data-spider-leg="0"]{animation:.36s ease-in-out infinite alternate _halloween-spider-weave_ilqfl_1}._cornerSpider_ilqfl_126[data-spider-state=wrapping] [data-spider-leg="4"]{animation:.36s ease-in-out .18s infinite alternate-reverse _halloween-spider-weave_ilqfl_1}._cornerSpider_ilqfl_126[data-spider-state=startled] [data-spider-eyes]{transition:transform .12s ease-out;animation:none;transform:scale(1.35)}._cornerSpider_ilqfl_126[data-spider-state=startled] [data-spider-leg]{animation:.5s ease-out _halloween-spider-splay_ilqfl_1}._cornerSpider_ilqfl_126[data-spider-tap=a] [data-spider-leg="1"]{animation:.16s ease-out _halloween-spider-tap_ilqfl_1}._cornerSpider_ilqfl_126[data-spider-tap=b] [data-spider-leg="5"]{transform-origin:38px 28px;animation:.16s ease-out _halloween-spider-tap-mirrored_ilqfl_1}._pumpkinSilk_ilqfl_237{pointer-events:none;block-size:100%;inline-size:100%;position:absolute;inset:0}._pumpkinSilk_ilqfl_237 [data-silk-group]{transform-box:view-box;transform-origin:80px 89px}._pumpkinSilk_ilqfl_237 [data-silk-cocoon]{fill:#efe9f3;opacity:0}._pumpkinSilk_ilqfl_237 [data-silk-strand]{fill:none;stroke:#f4f0f7;stroke-opacity:.9;stroke-width:1.8px;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1px}@keyframes _halloween-spider-weave_ilqfl_1{0%{transform:rotate(-12deg)}to{transform:rotate(6deg)}}@keyframes _halloween-spider-splay_ilqfl_1{30%{transform:rotate(-14deg)scale(1.08)}}@keyframes _halloween-spider-tap_ilqfl_1{45%{transform:rotate(-12deg)}}@keyframes _halloween-spider-tap-mirrored_ilqfl_1{45%{transform:rotate(12deg)}}@keyframes _halloween-spider-breathe_ilqfl_1{0%,to{transform:scale(1)}50%{transform:scale(1.02,1.035)}}@keyframes _halloween-spider-rub_ilqfl_1{0%,66%,96%,to{transform:rotate(0)}71%,79%,87%{transform:rotate(-11deg)}75%,83%,91%{transform:rotate(3deg)}}@keyframes _halloween-spider-rub-mirrored_ilqfl_1{0%,66%,96%,to{transform:rotate(0)}71%,79%,87%{transform:rotate(11deg)}75%,83%,91%{transform:rotate(-3deg)}}@keyframes _halloween-spider-shift_ilqfl_1{0%,80%,96%,to{transform:rotate(0)}85%{transform:rotate(-7deg)}90%{transform:rotate(2deg)}}@keyframes _halloween-spider-shift-mirrored_ilqfl_1{0%,80%,96%,to{transform:rotate(0)}85%{transform:rotate(7deg)}90%{transform:rotate(-2deg)}}@keyframes _halloween-spider-blink_ilqfl_1{0%,93%,98%,to{transform:scaleY(1)}95.5%{transform:scaleY(.1)}}@keyframes _halloween-chuckle_ilqfl_1{0%,to{transform:rotate(-3deg)translateY(0)}25%,65%{transform:rotate(3deg)translateY(-3px)}45%,85%{transform:rotate(-2deg)translateY(1px)}}@keyframes _halloween-candle_ilqfl_1{0%,to{opacity:.85}30%,70%{opacity:1}50%{opacity:.6}}._pumpkinButton_ilqfl_367._pumpkinButton_ilqfl_367{background:0 0;border-radius:50%;block-size:clamp(88px,9vw,132px);inline-size:clamp(88px,9vw,132px);padding:0}._pumpkinButton_ilqfl_367._pumpkinButton_ilqfl_367:hover,._pumpkinButton_ilqfl_367._pumpkinButton_ilqfl_367:focus-visible,._pumpkinButton_ilqfl_367._pumpkinButton_ilqfl_367:active{background:0 0}._pumpkinButton_ilqfl_367._pumpkinButton_ilqfl_367:hover ._pumpkinBody_ilqfl_377,._pumpkinButton_ilqfl_367._pumpkinButton_ilqfl_367:focus-visible ._pumpkinBody_ilqfl_377,._pumpkinButton_ilqfl_367._pumpkinButton_ilqfl_367:active ._pumpkinBody_ilqfl_377{animation:.65s ease-in-out infinite _halloween-chuckle_ilqfl_1}._pumpkinButton_ilqfl_367._pumpkinButton_ilqfl_367:hover ._pumpkinLight_ilqfl_380,._pumpkinButton_ilqfl_367._pumpkinButton_ilqfl_367:focus-visible ._pumpkinLight_ilqfl_380,._pumpkinButton_ilqfl_367._pumpkinButton_ilqfl_367:active ._pumpkinLight_ilqfl_380{filter:drop-shadow(0 0 3px #ffc65b);animation:.65s ease-in-out infinite _halloween-candle_ilqfl_1}._pumpkinButton_ilqfl_367._pumpkinButton_ilqfl_367:hover ._pumpkinEyes_ilqfl_384,._pumpkinButton_ilqfl_367._pumpkinButton_ilqfl_367:focus-visible ._pumpkinEyes_ilqfl_384,._pumpkinButton_ilqfl_367._pumpkinButton_ilqfl_367:active ._pumpkinEyes_ilqfl_384{transform:scaleY(.7)}._pumpkin_ilqfl_237{filter:drop-shadow(0 5px 8px #5c260d33);block-size:100%;inline-size:100%;display:block;overflow:visible}._pumpkinBody_ilqfl_377{transform-origin:80px 130px}._pumpkinEyes_ilqfl_384{transform-box:fill-box;transform-origin:50%;transition:transform .18s}@keyframes _halloween-wingbeat_ilqfl_1{0%{transform:scaleY(1)}to{transform:scaleY(.35)}}._batWing_ilqfl_414{transform-origin:40px 24px;animation:_halloween-wingbeat_ilqfl_1 var(--wing-duration) ease-in-out infinite alternate}@keyframes _halloween-cat-walk_ilqfl_1{0%{opacity:0;transform:translate(-15vw)}12%{opacity:1}35%{transform:translate(34vw)}55%{transform:translate(46vw)}88%{opacity:1}to{opacity:0;transform:translate(115vw)}}@keyframes _halloween-tail_ilqfl_1{0%{transform:rotate(-8deg)}to{transform:rotate(12deg)}}@keyframes _halloween-cat-step_ilqfl_1{0%{transform:translateY(0)}to{transform:translateY(-2px)}}@keyframes _halloween-cat-blink_ilqfl_1{0%,42%,48%,to{transform:scaleY(1)}45%{transform:scaleY(.1)}}@keyframes _halloween-wisp-rise_ilqfl_1{0%{opacity:0;transform:translateY(10vh)scale(.5)}15%{opacity:.7}50%{transform:translate3d(var(--wisp-drift), -45vh, 0) scale(1)}80%{opacity:.6}to{opacity:0;transform:translateY(-110vh)scale(.4)}}._catTraveler_ilqfl_484{inline-size:68px;animation:9s ease-in-out .3s both _halloween-cat-walk_ilqfl_1;position:absolute;bottom:1.5rem;left:0}._catBody_ilqfl_492{inline-size:100%;animation:.26s ease-in-out infinite alternate _halloween-cat-step_ilqfl_1}._catTail_ilqfl_497{transform-origin:30px 62px;animation:1.1s ease-in-out infinite alternate _halloween-tail_ilqfl_1}._catEyes_ilqfl_502{transform-box:fill-box;transform-origin:50%;animation:3s ease-in-out infinite _halloween-cat-blink_ilqfl_1}._wisp_ilqfl_508{left:var(--wisp-x);background:var(--wisp-color);block-size:5px;inline-size:5px;box-shadow:0 0 8px 3px var(--wisp-color);animation:_halloween-wisp-rise_ilqfl_1 7.5s ease-in-out var(--wisp-delay) both;border-radius:50%;position:absolute;top:100%}@media (prefers-reduced-motion:reduce){._spiderDrop_ilqfl_73,._spiderSwing_ilqfl_82,._ghost_ilqfl_106,._ghostBody_ilqfl_115,._pumpkin_ilqfl_237,._batWing_ilqfl_414,._catTraveler_ilqfl_484,._catBody_ilqfl_492,._catTail_ilqfl_497,._catEyes_ilqfl_502,._wisp_ilqfl_508,._pumpkinButton_ilqfl_367._pumpkinButton_ilqfl_367:is(:hover,:focus-visible,:active) ._pumpkinBody_ilqfl_377,._pumpkinButton_ilqfl_367._pumpkinButton_ilqfl_367:is(:hover,:focus-visible,:active) ._pumpkinLight_ilqfl_380{animation:none}._catTraveler_ilqfl_484{transform:translate(45vw)}._wisp_ilqfl_508{top:var(--wisp-rest-y);opacity:.6}._cornerSpider_ilqfl_126,._cornerSpiderFleeing_ilqfl_130,._cornerSpiderWatch_ilqfl_154,._pumpkinEyes_ilqfl_384{transition:none}._cornerSpider_ilqfl_126 svg,._cornerSpider_ilqfl_126 [data-spider-leg],._cornerSpider_ilqfl_126 [data-spider-eyes],._cornerSpider_ilqfl_126[data-spider-tap] [data-spider-leg]{animation:none}._spiderDrop_ilqfl_73{transform:translate(0,0)}._ghost_ilqfl_106{opacity:var(--ghost-opacity);transform:translate3d(var(--ghost-rest-x), var(--ghost-rest-y), 0) scale(var(--ghost-scale-from))}}._scene_1bmud_1{pointer-events:none;-webkit-user-select:none;user-select:none;position:absolute;inset:0;overflow:hidden}._actor_1bmud_9{aspect-ratio:1;inline-size:110px;position:absolute;inset-block-start:calc(50% - 55px);inset-inline:calc(50% - 55px) auto}._actor_1bmud_9 svg{filter:drop-shadow(0 3px 3px #17242d50);block-size:100%;inline-size:100%;display:block;overflow:visible}._spin_1bmud_26{transform-origin:80px 83px}._orange_2r8vk_2{fill:var(--candy-orange,#e99042)}._corn_2r8vk_6{fill:var(--candy-gold,#f4c962);stroke:var(--candy-gold-edge,#9b6537);stroke-width:1.2px}._cream_2r8vk_12{fill:var(--candy-cream,#fff3d0)}._green_2r8vk_16{fill:var(--candy-green,#84bca0);stroke:var(--candy-green-edge,#376356);stroke-width:1.2px}._purple_2r8vk_22{fill:var(--candy-purple,#aa89cc);stroke:var(--candy-purple-edge,#5a416f);stroke-width:1.2px}._wrapperFold_2r8vk_28{fill:var(--candy-wrapper-shadow,#263349);opacity:.25}._stripe_2r8vk_33{fill:none;stroke:var(--candy-cream,#fff3d0);stroke-width:5px;opacity:.65}._glint_2r8vk_40{fill:none;stroke:var(--candy-shine,#fff8e0);stroke-width:2.4px;stroke-linecap:round}._featherLight_2r8vk_47{stop-color:var(--candy-feather-light,#8990a6)}._featherMid_2r8vk_51{stop-color:var(--candy-feather-mid,#394254)}._featherDark_2r8vk_55{stop-color:var(--candy-feather-dark,#111a2a)}._feather_2r8vk_47{fill:var(--candy-feather-dark,#111a2a);stroke:var(--candy-feather-edge,#8a93a8);stroke-width:.8px}._outline_2r8vk_65{stroke:var(--candy-feather-edge,#8a93a8);stroke-width:.8px}._featherLine_2r8vk_70{fill:none;stroke:var(--candy-feather-light,#a6afc5);stroke-width:1px;opacity:.55}._claw_2r8vk_77{fill:none;stroke:var(--candy-claw,#a9a296);stroke-width:2.4px;stroke-linecap:round}._beak_2r8vk_84{fill:var(--candy-beak,#555966);stroke:var(--candy-beak-edge,#c3bba4);stroke-width:.7px}._beakLine_2r8vk_90{fill:none;stroke:var(--candy-beak-edge,#c3bba4);stroke-width:1px}._eye_2r8vk_96{fill:var(--candy-eye,#ebd48d)}._ink_2r8vk_100{fill:var(--candy-ink,#19282b)}._inkLine_2r8vk_104{fill:none;stroke:var(--candy-ink,#19282b);stroke-width:2px;stroke-linecap:round}._linen_2r8vk_111{fill:var(--candy-linen,#cab990);stroke:var(--candy-linen-edge,#75674f);stroke-width:1.5px;stroke-linejoin:round}._bone_2r8vk_118{fill:var(--candy-bone,#e1dcc4);stroke:var(--candy-bone-edge,#7b8277);stroke-width:1.4px;stroke-linejoin:round}._seam_2r8vk_125{fill:none;stroke:var(--candy-seam,#857558);stroke-width:1.5px}._apron_2r8vk_131{fill:var(--candy-apron,#496c77);stroke:var(--candy-apron-edge,#263f4b);stroke-width:1.5px}._apronLight_2r8vk_137{fill:var(--candy-apron-light,#7a9a9b)}._handle_2r8vk_141{fill:none;stroke:var(--candy-wood,#927047);stroke-width:5px;stroke-linecap:round}._bristles_2r8vk_148{fill:var(--candy-straw,#c2a469);stroke:var(--candy-straw-edge,#75603f);stroke-width:1.2px}._bristleLines_2r8vk_154{fill:none;stroke:var(--candy-straw-edge,#75603f);stroke-width:1px}._binding_2r8vk_160{fill:var(--candy-binding,#9d6956)}._scene_kug86_2{pointer-events:none;-webkit-user-select:none;user-select:none;contain:layout style;position:absolute;inset:0;overflow:clip}._scene_kug86_2[data-ready=false],._scene_kug86_2[data-ended=true]{visibility:hidden}._actor_kug86_16,._copies_kug86_17,._art_kug86_18{position:absolute;top:0;left:0;right:auto}._copies_kug86_17{z-index:1}._floor_kug86_29{background:radial-gradient(#9186a080,#0000 72%);border-radius:50%;block-size:4px;position:absolute;transform:translateY(-50%)}._actor_kug86_16{z-index:2;opacity:0;transform-origin:0 0;block-size:0;inline-size:0}._art_kug86_18{aspect-ratio:8/7;transform:translate(-50%,-85.7143%)}._facing_kug86_51{block-size:100%;inline-size:100%;transform:scaleX(var(--cat-facing,1));transform-origin:50%;display:block}._art_kug86_18 svg,._fallback_kug86_60 svg{block-size:100%;inline-size:100%;display:block;overflow:visible}._art_kug86_18 [data-cat-part],._fallback_kug86_60 [data-cat-part]{transform-box:view-box}._art_kug86_18 [data-cat-part=arm],._fallback_kug86_60 [data-cat-part=arm]{transform-origin:100px 72px}._art_kug86_18 [data-cat-part=forearm],._fallback_kug86_60 [data-cat-part=forearm]{transform-origin:100px 96px}._art_kug86_18 [data-cat-part=head],._fallback_kug86_60 [data-cat-part=head]{transform-origin:100px 49px}._art_kug86_18 [data-cat-part=tail],._fallback_kug86_60 [data-cat-part=tail]{transform-origin:59px 98px}._art_kug86_18 [data-cat-part=hind-leg],._fallback_kug86_60 [data-cat-part=hind-leg]{transform-origin:66px 99px}._art_kug86_18 [data-cat-part=far-leg],._fallback_kug86_60 [data-cat-part=far-leg]{transform-origin:87px 82px}._art_kug86_18 [data-cat-part=eyes],._fallback_kug86_60 [data-cat-part=eyes]{transform-origin:103px 46px}._art_kug86_18 [data-cat-part=pupils],._fallback_kug86_60 [data-cat-part=pupils]{transform-origin:105px 46px}._art_kug86_18 [data-cat-part=ears],._fallback_kug86_60 [data-cat-part=ears]{transform-origin:100px 35px}._art_kug86_18 [data-cat-part=tongue],._fallback_kug86_60 [data-cat-part=tongue]{transform-origin:113px 61px}._fallback_kug86_60{aspect-ratio:8/7;inline-size:120px;animation:9s linear both _crossing_kug86_1;position:absolute;inset-block-end:24px;inset-inline-start:44%}._fallback_kug86_60 [data-cat-part=tail]{animation:1.8s ease-in-out infinite alternate _tail-sway_kug86_1}._fallback_kug86_60 [data-cat-part=hind-leg],._fallback_kug86_60 [data-cat-part=arm]{animation:.62s ease-in-out infinite alternate _step_kug86_1}._fallback_kug86_60 [data-cat-part=far-leg]{animation:.62s ease-in-out infinite alternate-reverse _step_kug86_1}._fallback_kug86_60 [data-cat-part=eyes]{animation:4s linear infinite _blink_kug86_1}._scene_kug86_2[data-ended=true] ._fallback_kug86_60,._scene_kug86_2[data-ended=true] ._fallback_kug86_60 *,._scene_kug86_2[data-stationary=true] ._fallback_kug86_60,._scene_kug86_2[data-stationary=true] ._fallback_kug86_60 *{animation:none}@keyframes _crossing_kug86_1{0%{opacity:0;transform:translate(calc(-100vw - 140px))}8%,92%{opacity:1}to{opacity:0;transform:translate(calc(100vw + 140px))}}@keyframes _tail-sway_kug86_1{0%{transform:rotate(-9deg)}to{transform:rotate(12deg)}}@keyframes _step_kug86_1{0%{transform:rotate(-9deg)}to{transform:rotate(10deg)}}@keyframes _blink_kug86_1{0%,42%,48%,to{transform:scaleY(1)}45%{transform:scaleY(.06)}}._paw_1mpnx_2{fill:var(--footprint-pad,#a2c7b5);stroke:var(--footprint-edge,#45645e);stroke-width:1.2px}._padLight_1mpnx_8{fill:none;stroke:var(--footprint-light,#e0edcf);stroke-width:1.5px;stroke-linecap:round}._eye_1mpnx_15{fill:var(--footprint-eye,#c9dd8d);stroke:var(--footprint-edge,#45645e);stroke-width:1.4px}._pupil_1mpnx_21{fill:var(--footprint-ink,#233b38)}._eyeLight_1mpnx_25{fill:none;stroke:var(--footprint-light,#f6f6d8);stroke-width:2px;stroke-linecap:round}._lid_1mpnx_32,._teeth_1mpnx_33,._smile_1mpnx_34{fill:none;stroke:var(--footprint-ink,#233b38);stroke-width:1.2px;stroke-linecap:round;stroke-linejoin:round}._mouth_1mpnx_42{fill:var(--footprint-tooth,#eee7c7);stroke:var(--footprint-edge,#45645e);stroke-width:1.2px}._ledge_1mpnx_48{border-color:var(--footprint-pad,#a2c7b5)}._scene_1mpnx_53[data-ready=false],._scene_1mpnx_53[data-ended=true]{visibility:hidden}._scene_1ncpe_2{pointer-events:none;-webkit-user-select:none;user-select:none;contain:layout style;position:absolute;inset:0;overflow:clip}._scene_1ncpe_2[data-ready=false],._scene_1ncpe_2[data-ended=true]{visibility:hidden}._scene_1ncpe_2[data-ended=true] [data-ghost-fallback],._scene_1ncpe_2[data-ended=true] [data-ghost-fallback]>svg{animation:none}._actor_1ncpe_21,._copies_1ncpe_22,._pumpkinGlow_1ncpe_23{position:absolute;top:0;left:0}._copies_1ncpe_22{z-index:1;pointer-events:none}._actor_1ncpe_21{transform-origin:0 0;z-index:3;opacity:0;block-size:0;inline-size:0}._art_1ncpe_42{position:absolute;top:0;left:0;right:auto;transform:translate(-50%,-50%)}._cloth_1ncpe_50{transform-origin:50% 35%;block-size:100%;inline-size:100%}._cloth_1ncpe_50 svg{block-size:100%;inline-size:100%;display:block;overflow:visible}._cloth_1ncpe_50 [data-ghost-arms]{transform-origin:32px 44px}._templates_1ncpe_65{display:none}._possessedFace_1ncpe_69{block-size:18px;inline-size:33px;transform:translate(-50%, -50%) scale(var(--ghost-face-scale,1));pointer-events:none;z-index:5;opacity:0;align-items:center;gap:5px;margin-inline:0;display:flex;position:absolute;top:50%;left:50%}._eye_1ncpe_85{background:radial-gradient(at 40% 30%,#fff 15%,#e4d6fb 68%,#b5a0d1);border-radius:48% 48% 42% 42%;flex:0 0 14px;block-size:18px;inline-size:14px;display:block;position:relative;overflow:hidden;box-shadow:0 0 7px #d8baffb3}._eye_1ncpe_85 [data-ghost-pupil]{background:#28283c;border-radius:50%;block-size:8px;inline-size:5px;position:absolute;top:5px;left:5px}._pumpkinGlow_1ncpe_23{opacity:0;z-index:2;transform-origin:50%;background:radial-gradient(at 50% 60%,#ffe68970 0%,#ffaf3547 35%,#ff80261f 53%,#0000 72%)}._scene_1ncpe_2[data-stationary=true] [data-ghost-fallback]{opacity:var(--ghost-opacity);transform:translate3d(var(--ghost-rest-x), var(--ghost-rest-y), 0) scale(var(--ghost-scale-from));animation:none}._scene_1ncpe_2[data-stationary=true] [data-ghost-fallback]>svg{animation:none}._tongueCanvas_id5l0_1{pointer-events:none;block-size:100%;inline-size:100%;position:absolute;inset:0;overflow:visible}._tongue_id5l0_1{transform-origin:0 0;transform:scale(0)}._loop_id5l0_15{fill:none;opacity:0}._loop_id5l0_15 [data-mimic-wrap]{stroke-dasharray:1;stroke-dashoffset:1px}._tongue_id5l0_1,._loop_id5l0_15{stroke-linecap:round;stroke-linejoin:round}@media (prefers-reduced-motion:reduce){._tongueCanvas_id5l0_1{display:none}}._scene_1112m_1{pointer-events:none;-webkit-user-select:none;user-select:none;position:absolute;inset:0;overflow:hidden}._stage_1112m_9{--scene-size:min(clamp(180px, 26vw, 300px), 70dvh, calc(100vw - 24px));inline-size:var(--scene-size);block-size:var(--scene-size);filter:drop-shadow(0 5px 8px #17242d50);position:absolute;inset-block-start:calc((100% - var(--scene-size)) * var(--place-y));inset-inline-start:calc((100% - var(--scene-size)) * var(--place-x));overflow:hidden}._art_1112m_20{transform-origin:160px 160px;animation:8s ease-in-out both _scene-life_1112m_1}@keyframes _scene-life_1112m_1{0%{opacity:0;transform:translateY(12px)scale(.88)}12%,86%{opacity:1;transform:none}to{opacity:0;transform:translateY(-14px)scale(.97)}}._pot_1112m_39{animation:8s ease-in-out both _pot-life_1112m_1}._simmer_1112m_43{transform-box:fill-box;transform-origin:50%;animation:_simmer_1112m_43 1.3s ease-in-out var(--delay) 4 both}._bubble_1112m_49{animation:_bubble-rise_1112m_1 2.65s ease-out var(--delay) both}._bubbleFace_1112m_53{animation:_bubble-face_1112m_1 2.65s ease-out var(--delay) both}._smoke_1112m_57{animation:_smoke-puff_1112m_1 1.65s ease-out var(--delay) both}@keyframes _pot-life_1112m_1{0%,73%{opacity:1}86%,to{opacity:0}}@keyframes _simmer_1112m_43{0%,to{opacity:.4;transform:scale(.4)}50%{opacity:.9;transform:scale(1.1)}}@keyframes _bubble-rise_1112m_1{0%{opacity:0;transform:translate(0)scale(.25)}12%{opacity:.85}75%{opacity:.9;transform:translate(var(--drift), -105px) scale(1)}86%{opacity:.8;transform:translate(var(--drift), -123px) scale(1.08)}to{opacity:0;transform:translate(var(--drift), -133px) scale(1.55)}}@keyframes _bubble-face_1112m_1{0%,25%{opacity:0}50%,85%{opacity:1}to{opacity:0}}@keyframes _smoke-puff_1112m_1{0%{opacity:0;transform:scale(.2)}25%{opacity:.55}to{opacity:0;transform:translateY(-60px)scale(1.7)}}._chest_1112m_124{transform-origin:160px 225px;animation:8s ease-in-out both _chest-hiccup_1112m_1}._chestLid_1112m_129{transform-origin:250px 190px;animation:8s ease-in-out both _chest-chew_1112m_1}@keyframes _chest-chew_1112m_1{0%,12%{transform:translateY(9px)}26%,57%{transform:translateY(-30px)rotate(5deg)}60%,65%,70%{transform:translateY(9px)}62%,67%{transform:translateY(-7px)}74%,79%{transform:translateY(-38px)rotate(7deg)}88%,to{transform:translateY(9px)}}@keyframes _chest-hiccup_1112m_1{0%,65%,82%,to{transform:none}69%{transform:translateY(-12px)rotate(-4deg)}73%{transform:translateY(3px)rotate(3deg)}}@media (prefers-reduced-motion:reduce){._stage_1112m_9,._stage_1112m_9 *{animation:none!important}._stage_1112m_9,._art_1112m_20,._pot_1112m_39,._chest_1112m_124,._chestLid_1112m_129{opacity:1;transform:none}._bubble_1112m_49{transform:translate(var(--drift), -65px)}._bubbleFace_1112m_53{opacity:1}._smoke_1112m_57{display:none}}._scene_135v7_1{pointer-events:none;-webkit-user-select:none;user-select:none;position:absolute;inset:0;overflow:hidden}._actor_135v7_9{aspect-ratio:200/260;inline-size:130px;position:absolute;inset-block-start:calc(50% - 85px);inset-inline:calc(50% - 65px) auto}._actor_135v7_9 svg{filter:drop-shadow(0 3px 3px #17242d50);block-size:100%;inline-size:100%;display:block;overflow:visible}._backLeg_135v7_26,._frontLeg_135v7_27{transform-origin:98px 167px;animation:_mummy-step_135v7_1 var(--mummy-duration) linear both}._frontLeg_135v7_27{animation-name:_mummy-front-step_135v7_1}._torso_135v7_36{transform-origin:102px 165px;animation:_mummy-strain_135v7_1 var(--mummy-duration) ease-in-out both}._head_135v7_41{transform-origin:115px 92px;animation:_mummy-determination_135v7_1 var(--mummy-duration) ease-in-out both}._eyes_135v7_46{transform-origin:135px 61px;animation:_mummy-squint_135v7_1 var(--mummy-duration) ease-in-out both}._looseLinen_135v7_51{transform-origin:72px 124px;animation:_mummy-linen_135v7_1 var(--mummy-duration) ease-in-out both}._effort_135v7_56{animation:_mummy-effort_135v7_1 var(--mummy-duration) ease-in-out both}._dust_135v7_60{animation:_mummy-dust_135v7_1 var(--mummy-duration) ease-in-out both}@keyframes _mummy-step_135v7_1{0%,6%,12%,36%,46%,56%,66%,76%,86%,to{transform:rotate(-9deg)}3%,9%,15%,41%,51%,61%,71%,81%{transform:rotate(8deg)}18%,22%,28%,34%{transform:rotate(0)}20%,24%,30%,32%{transform:translate(-3px)rotate(-2deg)}}@keyframes _mummy-front-step_135v7_1{0%,6%,12%,36%,46%,56%,66%,76%,86%,to{transform:rotate(7deg)}3%,9%,15%,41%,51%,61%,71%,81%{transform:rotate(-7deg)}18%,22%,28%,34%{transform:none}20%,24%,30%,32%{transform:translate(-1px)rotate(1deg)}}@keyframes _mummy-strain_135v7_1{0%,15%{transform:none}19%,23%,29%,33%{transform:translate(3px)rotate(5deg)}21%,31%{transform:translate(1px)rotate(3deg)}26%{transform:rotate(-3deg)}36%,to{transform:translate(5px)rotate(8deg)}}@keyframes _mummy-determination_135v7_1{0%,15%,26%{transform:none}19%,23%,29%,33%,36%,to{transform:rotate(7deg)}21%,31%{transform:rotate(3deg)}}@keyframes _mummy-squint_135v7_1{0%,15%,26%{transform:none}19%,24%,30%,to{transform:scaleY(.5)}}@keyframes _mummy-linen_135v7_1{0%,15%,26%,36%,56%,76%,to{transform:rotate(-9deg)}8%,22%,32%,46%,66%,86%{transform:rotate(14deg)}}@keyframes _mummy-effort_135v7_1{0%,16%,26%,35%,48%,to{opacity:0}19%,23%,29%,33%,40%{opacity:.9}}@keyframes _mummy-dust_135v7_1{0%,36%,47%,58%,69%,80%,to{opacity:0;transform:translate(0)}42%,53%,64%,75%{opacity:.6;transform:translate(-10px)}}._scene_135v7_1[data-static=true] ._actor_135v7_9 *{animation:none}._scene_135v7_1[data-static=true] ._effort_135v7_56,._scene_135v7_1[data-static=true] ._dust_135v7_60{display:none}@media (prefers-reduced-motion:reduce){._actor_135v7_9 *{animation:none!important}._effort_135v7_56,._dust_135v7_60{display:none}}._scene_1errp_2{pointer-events:none;-webkit-user-select:none;user-select:none;position:absolute;inset:0;overflow:hidden}._portal_1errp_10{filter:drop-shadow(0 0 8px #73ceac);transform-origin:50%;animation:9s ease-in-out both _rift-open_1errp_1;position:absolute}._portalEyes_1errp_17{animation:9s ease-in-out both _rift-eyes_1errp_1}._armCanvas_1errp_21{filter:drop-shadow(0 2px 3px #102b2699);block-size:100%;inline-size:100%;position:absolute;inset:0;overflow:visible}._portalArm_1errp_30{animation:9s ease-in-out both _claw-reach_1errp_1}._clawFinger_1errp_34{animation:9s ease-in-out both _claw-grip_1errp_1}@keyframes _rift-open_1errp_1{0%{opacity:0;transform:scale(.02,.15)}8%{opacity:1;transform:scale(.08,.8)}20%,68%{opacity:1;transform:scale(1)}72%{opacity:1;transform:scale(.02,1.12)}75%,to{opacity:0;transform:scale(0,.1)}}@keyframes _rift-eyes_1errp_1{0%,12%,68%,to{opacity:0}22%,27%,32%,60%{opacity:1}29%{opacity:.1}}@keyframes _claw-reach_1errp_1{0%,17%{opacity:0;transform:scale(.02)}24%{opacity:1;transform:scale(.22)}34%,42%{opacity:1;transform:scale(1)}63%{opacity:1;transform:scale(.05)}66%,to{opacity:0;transform:scale(0)}}@keyframes _claw-grip_1errp_1{0%,34%,to{transform:rotate(-10deg)}40%,65%{transform:rotate(16deg)}}@media (prefers-reduced-motion:reduce){._scene_1errp_2,._scene_1errp_2 *{animation:none!important}._portal_1errp_10,._portalEyes_1errp_17{opacity:1;transform:none}._portalArm_1errp_30{display:none}}._scene_1vn5x_2{pointer-events:none;-webkit-user-select:none;user-select:none;contain:layout style;position:absolute;inset:0;overflow:hidden}._bird_1vn5x_11,._nest_1vn5x_12,._copies_1vn5x_13,._fallback_1vn5x_14,._edgeGap_1vn5x_15{position:absolute;top:0;left:0}._bird_1vn5x_11{transform-origin:0 0;z-index:3;block-size:0;inline-size:0}._art_1vn5x_28{left:calc(var(--raven-size) * -.95);top:calc(var(--raven-size) * -.291667);inline-size:var(--raven-size);block-size:calc(var(--raven-size) * .916667);transform-origin:95% 31.8182%;transform:scaleX(var(--raven-facing));position:absolute}._art_1vn5x_28 svg{inline-size:100%;display:block;overflow:visible}._art_1vn5x_28 [data-raven-wing]{transform:rotate(-8deg)scaleY(.32)}._ribbon_1vn5x_46{transform-origin:0 0;opacity:0;position:absolute;top:0;left:0;overflow:visible}._nest_1vn5x_12{z-index:2;transform-origin:0 0;block-size:0;inline-size:0}._nest_1vn5x_12>svg{left:calc(var(--nest-width) * -.5);top:calc(var(--nest-width) * -.21);inline-size:var(--nest-width);position:absolute;overflow:visible}._copies_1vn5x_13,._fallback_1vn5x_14{z-index:2;pointer-events:none}._fallback_1vn5x_14{opacity:0}._edgeGap_1vn5x_15{opacity:0;border-radius:2px;block-size:3px}._scene_1vn5x_2[data-ready=false]{visibility:hidden}._scene_1vn5x_2[data-animated=true] ._bird_1vn5x_11,._scene_1vn5x_2[data-animated=true] [data-raven-twig]{opacity:0}._boneLight_amnh5_2{stop-color:var(--skeleton-bone-light,#fbf5df)}._boneMid_amnh5_6{stop-color:var(--skeleton-bone-mid,#dcd5ba)}._boneDark_amnh5_10{stop-color:var(--skeleton-bone-dark,#a9a58f)}._bone_amnh5_2{stroke:var(--skeleton-bone-edge,#5d6660);stroke-width:1.4px;stroke-linejoin:round}._limbEdge_amnh5_20,._limb_amnh5_20{fill:none;stroke-linecap:round;stroke-linejoin:round}._limbEdge_amnh5_20{stroke:var(--skeleton-bone-edge,#5d6660);stroke-width:6.6px}._limb_amnh5_20{stroke:var(--skeleton-bone-mid,#e6dfc5);stroke-width:3.8px}._joint_amnh5_37{fill:var(--skeleton-bone-light,#fbf5df);stroke:var(--skeleton-bone-edge,#5d6660);stroke-width:1.2px}._ribs_amnh5_43{fill:none;stroke:var(--skeleton-ink,#26332f);stroke-width:2.2px;stroke-linecap:round}._suture_amnh5_50{fill:none;stroke:var(--skeleton-bone-edge,#5d6660);stroke-width:1px;stroke-linecap:round}._socket_amnh5_57{fill:var(--skeleton-ink,#26332f)}._glint_amnh5_61{fill:none;stroke:var(--skeleton-glint,#c4eba4);stroke-width:4.2px;stroke-linecap:round}._teeth_amnh5_68{fill:none;stroke:var(--skeleton-ink,#26332f);stroke-width:1.3px;stroke-linecap:round}._bow_amnh5_75{fill:var(--skeleton-bow,#e0772f);stroke:var(--skeleton-bow-edge,#7a3514);stroke-width:1px;stroke-linejoin:round}::highlight(celebration-skeleton-word){color:#0000}._ledge_amnh5_88{border-color:var(--skeleton-ledge,#e6dfc5b3)}._scene_1crkq_1,._carrier_1crkq_2,._cargo_1crkq_3,._web_1crkq_4{pointer-events:none;-webkit-user-select:none;user-select:none;position:absolute;inset:0}._scene_1crkq_1{overflow:hidden}._carrier_1crkq_2{transform:translateY(-110%)}._web_1crkq_4{opacity:0;filter:drop-shadow(0 .4px .45px #1a263a66);block-size:100%;inline-size:100%}._silk_1crkq_26{stroke:#e2e7e8;stroke-dasharray:1;stroke-dashoffset:1px}._thread_1crkq_33{background:linear-gradient(#c1d0df28,#e2e7e899);inline-size:1px;position:absolute;inset-block-start:0}._spider_1crkq_40{position:absolute}._body_1crkq_44._body_1crkq_44{block-size:100%;inline-size:100%}._scene_11wzq_1{pointer-events:none;-webkit-user-select:none;user-select:none;position:absolute;inset:0;overflow:hidden}._train_11wzq_9{--train-duration:11s;--train-width:min(clamp(320px, 54vw, 760px), calc(100vw - 24px));left:calc((100% - var(--train-width)) / 2);inline-size:var(--train-width);aspect-ratio:640/170;filter:drop-shadow(0 0 5px #a1d7bd50);position:absolute;bottom:8px}._artwork_11wzq_21{position:absolute;inset:0}._passenger_11wzq_26{opacity:0;transform-origin:50%;position:absolute}._passenger_11wzq_26>svg{block-size:100%;inline-size:100%}._passenger_11wzq_26 *{transition:none!important;animation:none!important}@media (prefers-reduced-motion:reduce){._passenger_11wzq_26{display:none}}._artwork_1knkp_1{pointer-events:none;-webkit-user-select:none;user-select:none;block-size:auto;inline-size:100%;display:block;overflow:visible}._wheel_1knkp_10{transform-origin:0 0;animation:_wheel-turn_1knkp_1 var(--train-duration,11s) linear both}._smoke_1knkp_15{opacity:0;transform-origin:0 0;animation:_smoke-drift_1knkp_1 calc(var(--train-duration,11s) / 4) ease-out var(--smoke-delay) 4 both}._plumeFlow_1knkp_21{transform-origin:0 0;animation:_smoke-departure_1knkp_1 var(--train-duration,11s) ease-in-out both}@keyframes _wheel-turn_1knkp_1{20%,50%{transform:rotate(-720deg)}86%,to{transform:rotate(-4320deg)}}@keyframes _smoke-departure_1knkp_1{0%,50%{transform:scale(1)}58%,to{transform:scale(1.35)}}@keyframes _smoke-drift_1knkp_1{0%{opacity:0;transform:translate(0, 0) scale(calc(var(--smoke-size) * .18))}14%{opacity:.82}56%{opacity:.48}to{opacity:0;transform:translate(var(--smoke-x), var(--smoke-y)) rotate(var(--smoke-turn)) scale(calc(var(--smoke-size) * 2.15))}}@media (prefers-reduced-motion:reduce){._wheel_1knkp_10,._plumeFlow_1knkp_21{animation:none}._smoke_1knkp_15{animation:none;display:none}}._scene_1esvn_1{pointer-events:none;block-size:100%;inline-size:100%;position:absolute;inset:0}._witch_1ug7q_2{--witch-cloak:#71518e;--witch-edge:#c5a1db;--witch-dark:#30233e;--witch-hair:#c17643;--witch-ribbon:#e9a44f}._mentor_1ug7q_10{--witch-cloak:#2f6664;--witch-edge:#9bd0bb;--witch-dark:#193b43;--witch-hair:#c3c8d3;--witch-ribbon:#ceb780}._cloak_1ug7q_18{fill:var(--witch-cloak);stroke:var(--witch-edge);stroke-width:1px}._hatBrim_1ug7q_24,._boot_1ug7q_25{fill:var(--witch-dark);stroke:var(--witch-edge);stroke-width:.8px}._hair_1ug7q_31{fill:var(--witch-hair)}._ribbon_1ug7q_35,._buckle_1ug7q_36{fill:var(--witch-ribbon)}._lapel_1ug7q_40{fill:var(--witch-edge)}._fold_1ug7q_44{fill:none;stroke:var(--witch-edge);stroke-width:1px}._skin_1ug7q_50{fill:#d9c5aa;stroke:#705a62;stroke-width:.8px}._eye_1ug7q_56{fill:#fff6d6}._pupil_1ug7q_60{fill:#1e2633}._expression_1ug7q_64{fill:none;stroke:#3c2d42;stroke-width:1.6px;stroke-linecap:round}._wood_1ug7q_71{fill:none;stroke:#986342;stroke-width:5px;stroke-linecap:round}._straw_1ug7q_78{fill:#d5aa58;stroke:#835733;stroke-width:1px}._strawLines_1ug7q_84{fill:none;stroke:#ffe3a0;stroke-width:1px}._binding_1ug7q_90{stroke:#685057;stroke-width:2.4px}._frogLeg_1ug7q_95{fill:none;stroke:#86ba70;stroke-width:4px;stroke-linecap:round;stroke-linejoin:round}._frogEye_1ug7q_103{fill:#deeb9b;stroke:#578553;stroke-width:1.4px}._broom_1ug7q_109{transform-origin:90px 120px}._armJoint_1ug7q_113{transform-origin:98px 82px}._headJoint_1ug7q_117{transform-origin:93px 70px}._hatJoint_1ug7q_121{transform-origin:94px 45px}._cloakJoint_1ug7q_125{transform-origin:88px 72px}._frogLegs_1ug7q_129{transform-origin:50px 57px}._broom_1ug7q_109,._armJoint_1ug7q_113,._headJoint_1ug7q_117,._hatJoint_1ug7q_121,._cloakJoint_1ug7q_125,._frogLegs_1ug7q_129{transform-box:view-box}._broomFrog_1ug7q_142{opacity:0}._frog_1ug7q_95{color:#86ba70}._spell_1ug7q_150{fill:#dab378}._mentorSpell_1ug7q_154{fill:#9cdabb}._scene_1ug7q_159[data-ready=false],._scene_1ug7q_159[data-ended=true]{visibility:hidden}._scene_1ug7q_159[data-stationary=true] ._witch_1ug7q_2:not(._mentor_1ug7q_10) ._broomFrog_1ug7q_142{opacity:1}._garland_lgd31_1{opacity:.75;pointer-events:none;block-size:40px;inline-size:100%;position:absolute;inset-block-start:0;inset-inline:0}._giftButton_lgd31_11._giftButton_lgd31_11{background:0 0;border:0;border-radius:20px;block-size:80px;inline-size:80px;padding:0}._giftButton_lgd31_11._giftButton_lgd31_11 svg{block-size:100%;inline-size:100%;overflow:visible}._giftButton_lgd31_11._giftButton_lgd31_11:enabled:is(:hover,:focus-visible,:active){background:0 0}._giftButton_lgd31_11._giftButton_lgd31_11:enabled:is(:hover,:focus-visible,:active) ._giftLid_lgd31_27{transform:translateY(-5px)rotate(-3deg)}._giftLid_lgd31_27{transform-origin:50px 40px;transition:transform .3s}@media (width>=1280px){._garland_lgd31_1{block-size:55px}._giftButton_lgd31_11._giftButton_lgd31_11{block-size:104px;inline-size:104px}}@media (prefers-reduced-motion:reduce){._giftLid_lgd31_27{transition:none}._giftButton_lgd31_11._giftButton_lgd31_11:enabled:is(:hover,:focus-visible,:active) ._giftLid_lgd31_27{transform:none}}._scene_15yht_3{pointer-events:none;-webkit-user-select:none;user-select:none;display:flex;position:absolute;inset:0;container-type:size}._blockStart_15yht_12{align-items:flex-start}._blockCenter_15yht_16{align-items:center}._blockEnd_15yht_20{align-items:flex-end}._inlineStart_15yht_25{justify-content:flex-start}._inlineCenter_15yht_29{justify-content:center}._inlineEnd_15yht_33{justify-content:flex-end}._stage_15yht_37{aspect-ratio:var(--celebrations-stage-ratio);inline-size:min(100cqi, 100cqb * var(--celebrations-stage-ratio));flex:none;overflow:clip}._cover_15yht_44{inline-size:max(100cqi, 100cqb * var(--celebrations-stage-ratio))}._poster_15yht_48{object-fit:contain;block-size:100%;inline-size:100%}._posterCover_15yht_54{object-fit:cover}._mirrored_15yht_59{transform:scaleX(-1)}._trigger_1jsls_2{cursor:pointer;background:0 0;border:0;border-radius:.5rem;flex:none;justify-content:center;align-items:center;block-size:2.5rem;inline-size:2.5rem;padding:0;display:inline-flex}._trigger_1jsls_2:focus-visible{outline-offset:2px;outline:2px solid}._image_1jsls_20{object-fit:contain;pointer-events:none;block-size:100%;inline-size:100%}
|
|
2
2
|
/*$vite$:1*//*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
3
3
|
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-ease:initial}}}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.inset-0{inset:0}.inset-x-0{inset-inline:0}.inset-s-1\/2{inset-inline-start:50%}.inset-e-0{inset-inline-end:0}.inset-e-2{inset-inline-end:.5rem}.inset-e-\[26\%\]{inset-inline-end:26%}.-top-2\.5{top:-.625rem}.top-0{top:0}.top-1\/3{top:33.3333%}.top-\[48\%\]{top:48%}.bottom-2{bottom:.5rem}.bottom-6{bottom:1.5rem}.bottom-8{bottom:2rem}.z-1{z-index:1}.z-2{z-index:2}.z-3{z-index:3}.z-4{z-index:4}.z-70{z-index:70}.mb-\[66px\]{margin-bottom:66px}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.size-0{width:0;height:0}.size-5{width:1.25rem;height:1.25rem}.size-8{width:2rem;height:2rem}.size-10{width:2.5rem;height:2.5rem}.size-32{width:8rem;height:8rem}.size-full{width:100%;height:100%}.h-4{height:1rem}.h-9{height:2.25rem}.h-10{height:2.5rem}.h-28{height:7rem}.h-32{height:8rem}.h-\[68px\]{height:68px}.h-\[113px\]{height:113px}.h-\[122px\]{height:122px}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-28{width:7rem}.w-52{width:13rem}.w-72{width:18rem}.w-\[60px\]{width:60px}.w-\[66px\]{width:66px}.w-\[72px\]{width:72px}.w-\[100px\]{width:100px}.w-auto{width:auto}.origin-bottom{transform-origin:bottom}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-scale-x-100{--tw-scale-x:calc(100% * -1);scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-x-\[-1\]{--tw-scale-x:-1;scale:var(--tw-scale-x) var(--tw-scale-y)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.items-center{align-items:center}.items-end{align-items:flex-end}.justify-center{justify-content:center}.gap-1{gap:.25rem}.gap-3{gap:.75rem}.overflow-clip{overflow:clip}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.rounded{border-radius:4px}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.bg-control-neutral-default{background-color:var(--bg-control-neutral-default,#acb3c3)}.stroke-tertiary{stroke:var(--stroke-tertiary,#e0e6f0)}.whitespace-nowrap{white-space:nowrap}.text-primary{color:var(--text-primary,#161b2d)}.opacity-0{opacity:0}.opacity-40{opacity:.4}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.drop-shadow-md{--tw-drop-shadow-size:drop-shadow(0 4px 3px var(--tw-drop-shadow-color,#00000012)) drop-shadow(0 2px 2px var(--tw-drop-shadow-color,#0000000f));--tw-drop-shadow:drop-shadow(0 4px 3px #00000012) drop-shadow(0 2px 2px #0000000f);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 1px var(--tw-drop-shadow-color,#0000000d));--tw-drop-shadow:drop-shadow(0 1px 1px #0000000d);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,cubic-bezier(.4, 0, .2, 1));transition-duration:var(--tw-duration,.15s)}.ease-in{--tw-ease:cubic-bezier(.4, 0, 1, 1);transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{--tw-ease:cubic-bezier(.4, 0, .2, 1);transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{--tw-ease:cubic-bezier(0, 0, .2, 1);transition-timing-function:cubic-bezier(0,0,.2,1)}.select-none{-webkit-user-select:none;user-select:none}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\:outline-offset-\[3px\]:focus-visible{outline-offset:3px}.focus-visible\:outline-focus:focus-visible{outline-color:var(--stroke-focus,#161b2d)}.rtl\:translate-x-1\/2:where(:dir(rtl),[dir=rtl],[dir=rtl] *){--tw-translate-x:calc(1 / 2 * 100%);translate:var(--tw-translate-x) var(--tw-translate-y)}.rtl\:scale-x-100:where(:dir(rtl),[dir=rtl],[dir=rtl] *){--tw-scale-x:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}@media (min-width:1280px){.desktop\:inset-e-4{inset-inline-end:1rem}.desktop\:bottom-4{bottom:1rem}.desktop\:size-52{width:13rem;height:13rem}.desktop\:h-11{height:2.75rem}.desktop\:w-36{width:9rem}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}
|
package/index.d.ts
CHANGED
|
@@ -2,4 +2,7 @@ export { CelebrationProvider, useCelebration, } from './context/CelebrationConte
|
|
|
2
2
|
export { CelebrationDecor } from './components/CelebrationDecor/CelebrationDecor';
|
|
3
3
|
export { CELEBRATIONS_CLASS } from './constants/public-class-names';
|
|
4
4
|
export type { CelebrationAnchors, CelebrationContextValue, CelebrationDecorationProps, CelebrationEvent, CelebrationEventLoader, CelebrationEventSelection, CelebrationNotification, CelebrationProviderProps, CelebrationScene, CelebrationSecretTrigger, } from './models/celebration';
|
|
5
|
+
export { SUPPORTED_CELEBRATION_CAPABILITIES } from './constants/celebration-capabilities';
|
|
6
|
+
export { CelebrationCapability, CelebrationColorScheme, CelebrationDecorationTemplate, CelebrationDirectionMode, CelebrationLayout, CelebrationPlacementTemplate, CelebrationStageAlign, CelebrationStageFit, } from './types/celebration-pack';
|
|
7
|
+
export type { CelebrationAssetLoaders, CelebrationDecorationDescriptor, CelebrationExternalEventDescriptor, CelebrationPackDescriptor, CelebrationPlacementDescriptor, CelebrationSceneDescriptor, CelebrationSceneTiming, CelebrationSceneVariantDescriptor, CelebrationTextDirection, CelebrationVariantConditions, CelebrationVariantContext, CelebrationViewportStagePlacement, } from './models/celebration-pack';
|
|
5
8
|
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,cAAc,GACf,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,YAAY,EACV,kBAAkB,EAClB,uBAAuB,EACvB,0BAA0B,EAC1B,gBAAgB,EAChB,sBAAsB,EACtB,yBAAyB,EACzB,uBAAuB,EACvB,wBAAwB,EACxB,gBAAgB,EAChB,wBAAwB,GACzB,MAAM,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,cAAc,GACf,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,YAAY,EACV,kBAAkB,EAClB,uBAAuB,EACvB,0BAA0B,EAC1B,gBAAgB,EAChB,sBAAsB,EACtB,yBAAyB,EACzB,uBAAuB,EACvB,wBAAwB,EACxB,gBAAgB,EAChB,wBAAwB,GACzB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAC;AAC1F,OAAO,EACL,qBAAqB,EACrB,sBAAsB,EACtB,6BAA6B,EAC7B,wBAAwB,EACxB,iBAAiB,EACjB,4BAA4B,EAC5B,qBAAqB,EACrB,mBAAmB,GACpB,MAAM,0BAA0B,CAAC;AAClC,YAAY,EACV,uBAAuB,EACvB,+BAA+B,EAC/B,kCAAkC,EAClC,yBAAyB,EACzB,8BAA8B,EAC9B,0BAA0B,EAC1B,sBAAsB,EACtB,iCAAiC,EACjC,wBAAwB,EACxB,4BAA4B,EAC5B,yBAAyB,EACzB,iCAAiC,GAClC,MAAM,2BAA2B,CAAC"}
|
package/index.js
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { i as e, t } from "./CelebrationEnvironmentContext-BxzY78Zg.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
2
|
+
import { a as n, c as r, i, n as a, o, r as s, s as c, t as l, u } from "./celebration-capabilities-DABcz0mO.js";
|
|
3
|
+
import { mergeClasses as d } from "@epam/ai-dial-chat-shared";
|
|
4
|
+
import { createContext as f, memo as p, useCallback as m, useContext as h, useEffect as g, useMemo as _, useRef as v, useState as y } from "react";
|
|
5
|
+
import { createPortal as b } from "react-dom";
|
|
6
|
+
import { ErrorBoundary as x } from "react-error-boundary";
|
|
7
|
+
import { jsx as S, jsxs as C } from "react/jsx-runtime";
|
|
7
8
|
//#region src/utils/celebration.ts
|
|
8
|
-
var
|
|
9
|
-
let n =
|
|
10
|
-
return n.length > 0 && t.some((e) =>
|
|
11
|
-
},
|
|
9
|
+
var w = (e) => e.normalize("NFKC").toLowerCase().replace(/[^\p{L}\p{M}\p{N}]+/gu, " ").trim(), T = (e, t) => {
|
|
10
|
+
let n = w(e);
|
|
11
|
+
return n.length > 0 && t.some((e) => w(e) === n);
|
|
12
|
+
}, E = (e, t) => {
|
|
12
13
|
let n = [...new Set(e)], r = n.length > 1 ? n.filter((e) => e !== t) : n;
|
|
13
14
|
return r[Math.floor(Math.random() * r.length)];
|
|
14
|
-
},
|
|
15
|
+
}, D = (e, t) => e.replace(/\{\{\s*phrase\s*\}\}/g, t), O = (e, t = {}) => {
|
|
15
16
|
let n = e.scenes.map(({ id: e }) => e), r = t.enabledScenes ? new Set(t.enabledScenes) : new Set(n), i = new Set(t.disabledScenes), a = new Set(n.filter((e) => r.has(e) && !i.has(e))), o = new Set(t.disabledDecorBehaviors), s = (e.secretTrigger?.sceneIds ?? []).filter((e) => a.has(e));
|
|
16
17
|
return {
|
|
17
18
|
enabledSceneIds: a,
|
|
@@ -20,81 +21,81 @@ var h = (e) => e.normalize("NFKC").toLowerCase().replace(/[^\p{L}\p{M}\p{N}]+/gu
|
|
|
20
21
|
enabledDecorBehaviors: new Set((e.decorBehaviors ?? []).filter((e) => !o.has(e))),
|
|
21
22
|
isSecretEnabled: t.isSecretEnabled !== !1 && s.length > 0
|
|
22
23
|
};
|
|
23
|
-
},
|
|
24
|
+
}, k = f({
|
|
24
25
|
event: null,
|
|
25
26
|
isEnabled: !1,
|
|
26
27
|
celebrate: () => void 0,
|
|
27
28
|
activate: () => void 0,
|
|
28
29
|
consumeSecretPhrase: () => !1
|
|
29
|
-
}),
|
|
30
|
+
}), A = {}, j = async (e) => {
|
|
30
31
|
let t = await e();
|
|
31
32
|
return "default" in t ? t.default : t;
|
|
32
|
-
},
|
|
33
|
-
let [
|
|
33
|
+
}, M = ({ children: n, events: r, activeEventId: i, resetKey: a, labels: o, onNotify: s, isMobile: c = !1, anchors: l, selection: u, portalContainer: f }) => {
|
|
34
|
+
let [p, h] = y(null), [w, M] = y(null), N = v(0), P = v(void 0), F = v(void 0), I = i ? r[i] : void 0, L = v(I);
|
|
34
35
|
L.current = I;
|
|
35
|
-
let R = I !== void 0, z =
|
|
36
|
-
z.current =
|
|
37
|
-
let B =
|
|
38
|
-
|
|
36
|
+
let R = I !== void 0, z = v(s);
|
|
37
|
+
z.current = s;
|
|
38
|
+
let B = p?.event.id === i && p?.resetKey === a ? p.event : null;
|
|
39
|
+
g(() => {
|
|
39
40
|
let e = !1;
|
|
40
|
-
|
|
41
|
+
h(null), M(null), P.current = void 0, F.current = void 0;
|
|
41
42
|
let t = L.current;
|
|
42
|
-
return
|
|
43
|
+
return i && t && (async () => {
|
|
43
44
|
try {
|
|
44
|
-
let n = await
|
|
45
|
-
!e && n.id ===
|
|
45
|
+
let n = await j(t);
|
|
46
|
+
!e && n.id === i && h({
|
|
46
47
|
event: n,
|
|
47
|
-
resetKey:
|
|
48
|
+
resetKey: a
|
|
48
49
|
});
|
|
49
50
|
} catch {}
|
|
50
51
|
})(), () => {
|
|
51
52
|
e = !0;
|
|
52
53
|
};
|
|
53
54
|
}, [
|
|
54
|
-
|
|
55
|
+
i,
|
|
55
56
|
R,
|
|
56
|
-
|
|
57
|
-
]),
|
|
58
|
-
if (!
|
|
59
|
-
let e = window.setTimeout(() => M(null),
|
|
57
|
+
a
|
|
58
|
+
]), g(() => {
|
|
59
|
+
if (!w) return;
|
|
60
|
+
let e = window.setTimeout(() => M(null), w.scene.durationMs);
|
|
60
61
|
return () => window.clearTimeout(e);
|
|
61
|
-
}, [
|
|
62
|
-
let V = B ?
|
|
62
|
+
}, [w]);
|
|
63
|
+
let V = B ? u?.[B.id] : void 0, H = _(() => B ? O(B, V) : null, [B, V]), U = B ? o?.[B.id] : void 0, W = _(() => B ? {
|
|
63
64
|
...B.labels,
|
|
64
65
|
...Object.fromEntries(Object.entries(U ?? {}).filter((e) => e[1] !== void 0))
|
|
65
|
-
} :
|
|
66
|
+
} : A, [B, U]), G = m((e) => {
|
|
66
67
|
let t = B?.scenes.find((t) => t.id === e);
|
|
67
68
|
if (!B || !t || !H?.enabledSceneIds.has(e)) return;
|
|
68
69
|
M({
|
|
69
70
|
scene: t,
|
|
70
71
|
event: B,
|
|
71
|
-
resetKey:
|
|
72
|
+
resetKey: a,
|
|
72
73
|
token: ++N.current
|
|
73
74
|
});
|
|
74
75
|
let n = H.isSecretEnabled ? B.secretTrigger?.hintPhrase ?? "" : "";
|
|
75
76
|
z.current?.({
|
|
76
77
|
title: W[B.titleLabelId] ?? "",
|
|
77
|
-
message:
|
|
78
|
+
message: D(W[t.labelId] ?? "", n)
|
|
78
79
|
});
|
|
79
80
|
}, [
|
|
80
81
|
B,
|
|
81
82
|
H,
|
|
82
|
-
|
|
83
|
+
a,
|
|
83
84
|
W
|
|
84
|
-
]), K =
|
|
85
|
+
]), K = m(() => {
|
|
85
86
|
if (!H) return;
|
|
86
|
-
let e =
|
|
87
|
+
let e = E(H.clickSceneIds, P.current);
|
|
87
88
|
e !== void 0 && (P.current = e, G(e));
|
|
88
|
-
}, [H, G]), q =
|
|
89
|
+
}, [H, G]), q = m((e) => {
|
|
89
90
|
let t = B?.secretTrigger;
|
|
90
|
-
if (!t || !H?.isSecretEnabled || !
|
|
91
|
-
let n =
|
|
91
|
+
if (!t || !H?.isSecretEnabled || !T(e, t.phrases)) return !1;
|
|
92
|
+
let n = E(H.secretSceneIds, F.current);
|
|
92
93
|
return n !== void 0 && (F.current = n, G(n), !0);
|
|
93
94
|
}, [
|
|
94
95
|
B,
|
|
95
96
|
H,
|
|
96
97
|
G
|
|
97
|
-
]), J =
|
|
98
|
+
]), J = _(() => ({
|
|
98
99
|
event: B,
|
|
99
100
|
isEnabled: B !== null,
|
|
100
101
|
celebrate: G,
|
|
@@ -105,42 +106,42 @@ var h = (e) => e.normalize("NFKC").toLowerCase().replace(/[^\p{L}\p{M}\p{N}]+/gu
|
|
|
105
106
|
G,
|
|
106
107
|
K,
|
|
107
108
|
q
|
|
108
|
-
]), Y =
|
|
109
|
-
isMobile:
|
|
110
|
-
anchors:
|
|
109
|
+
]), Y = _(() => ({
|
|
110
|
+
isMobile: c,
|
|
111
|
+
anchors: l ?? {},
|
|
111
112
|
labels: W,
|
|
112
113
|
isDecorBehaviorEnabled: (e) => H?.enabledDecorBehaviors.has(e) ?? !0
|
|
113
114
|
}), [
|
|
114
|
-
|
|
115
|
-
|
|
115
|
+
c,
|
|
116
|
+
l,
|
|
116
117
|
W,
|
|
117
118
|
H
|
|
118
|
-
]), X =
|
|
119
|
-
return /* @__PURE__ */
|
|
119
|
+
]), X = w?.scene.Component, Z = f ?? (typeof document > "u" ? void 0 : document.body);
|
|
120
|
+
return /* @__PURE__ */ S(k.Provider, {
|
|
120
121
|
value: J,
|
|
121
|
-
children: /* @__PURE__ */
|
|
122
|
+
children: /* @__PURE__ */ C(t.Provider, {
|
|
122
123
|
value: Y,
|
|
123
|
-
children: [
|
|
124
|
+
children: [n, B && w?.event === B && w.resetKey === a && X && Z && b(/* @__PURE__ */ S(x, {
|
|
124
125
|
fallback: null,
|
|
125
|
-
children: /* @__PURE__ */
|
|
126
|
+
children: /* @__PURE__ */ S("div", {
|
|
126
127
|
"aria-hidden": "true",
|
|
127
|
-
className:
|
|
128
|
-
children: /* @__PURE__ */
|
|
128
|
+
className: d("pointer-events-none fixed inset-0 z-70 overflow-hidden select-none", e.sceneLayer),
|
|
129
|
+
children: /* @__PURE__ */ S(X, {})
|
|
129
130
|
})
|
|
130
|
-
},
|
|
131
|
+
}, w.token), Z)]
|
|
131
132
|
})
|
|
132
133
|
});
|
|
133
|
-
},
|
|
134
|
-
let { event: t, activate:
|
|
134
|
+
}, N = () => h(k), P = p(() => {
|
|
135
|
+
let { event: t, activate: n } = N();
|
|
135
136
|
if (!t) return null;
|
|
136
|
-
let
|
|
137
|
-
return /* @__PURE__ */
|
|
137
|
+
let r = t.Decoration;
|
|
138
|
+
return /* @__PURE__ */ S(x, {
|
|
138
139
|
fallback: null,
|
|
139
|
-
children: /* @__PURE__ */
|
|
140
|
-
className:
|
|
141
|
-
children: /* @__PURE__ */
|
|
140
|
+
children: /* @__PURE__ */ S("div", {
|
|
141
|
+
className: d("contents", e.decor),
|
|
142
|
+
children: /* @__PURE__ */ S(r, { onActivate: n })
|
|
142
143
|
})
|
|
143
144
|
}, t.id);
|
|
144
145
|
});
|
|
145
146
|
//#endregion
|
|
146
|
-
export { e as CELEBRATIONS_CLASS,
|
|
147
|
+
export { e as CELEBRATIONS_CLASS, a as CelebrationCapability, s as CelebrationColorScheme, P as CelebrationDecor, i as CelebrationDecorationTemplate, n as CelebrationDirectionMode, o as CelebrationLayout, c as CelebrationPlacementTemplate, M as CelebrationProvider, r as CelebrationStageAlign, u as CelebrationStageFit, l as SUPPORTED_CELEBRATION_CAPABILITIES, N as useCelebration };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { o as e } from "./useLottieSceneSession-FcSRnJ26.js";
|
|
2
2
|
//#region ../../node_modules/lottie-web/build/player/lottie_light.js
|
|
3
3
|
var t = /* @__PURE__ */ e(((e, t, n) => {
|
|
4
4
|
typeof document < "u" && typeof navigator < "u" && (function(n, r) {
|
|
@@ -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,qBAAqB,EACrB,oBAAoB,EACpB,mBAAmB,EACpB,MAAM,2BAA2B,CAAC;AAEnC,wDAAwD;AACxD,MAAM,MAAM,wBAAwB,GAAG,KAAK,GAAG,KAAK,CAAC;AAErD,uFAAuF;AACvF,MAAM,WAAW,yBAAyB;IACxC,8CAA8C;IAC9C,SAAS,EAAE,wBAAwB,CAAC;IACpC,+CAA+C;IAC/C,WAAW,EAAE,sBAAsB,CAAC;CACrC;AAED,gDAAgD;AAChD,MAAM,WAAW,iCAAiC;IAChD,0BAA0B;IAC1B,QAAQ,EAAE,4BAA4B,CAAC,eAAe,CAAC;IACvD,8CAA8C;IAC9C,GAAG,EAAE,mBAAmB,CAAC;IACzB,4CAA4C;IAC5C,KAAK,EAAE,qBAAqB,CAAC;CAC9B;AAED,2EAA2E;AAC3E,MAAM,MAAM,8BAA8B,GAAG,iCAAiC,CAAC;AAE/E,2DAA2D;AAC3D,MAAM,WAAW,sBAAsB;IACrC,8DAA8D;IAC9D,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iEAAiE;IACjE,aAAa,EAAE,MAAM,CAAC;IACtB,gDAAgD;IAChD,cAAc,EAAE,MAAM,CAAC;IACvB,8EAA8E;IAC9E,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,0EAA0E;AAC1E,MAAM,WAAW,4BAA4B;IAC3C,mBAAmB;IACnB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,yBAAyB;IACzB,SAAS,CAAC,EAAE,wBAAwB,CAAC;IACrC,0BAA0B;IAC1B,WAAW,CAAC,EAAE,sBAAsB,CAAC;CACtC;AAED,6DAA6D;AAC7D,MAAM,WAAW,iCAAiC;IAChD,uCAAuC;IACvC,IAAI,EAAE,4BAA4B,CAAC;IACnC,6CAA6C;IAC7C,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,6EAA6E;AAC7E,MAAM,WAAW,0BAA0B;IACzC,gDAAgD;IAChD,EAAE,EAAE,MAAM,CAAC;IACX,qEAAqE;IACrE,OAAO,EAAE,MAAM,CAAC;IAChB,6DAA6D;IAC7D,QAAQ,EAAE,MAAM,CAAC;IACjB,uEAAuE;IACvE,oBAAoB,EAAE,SAAS,MAAM,EAAE,CAAC;IACxC,+BAA+B;IAC/B,SAAS,EAAE,8BAA8B,CAAC;IAC1C,mCAAmC;IACnC,SAAS,EAAE,wBAAwB,CAAC;IACpC,8BAA8B;IAC9B,MAAM,EAAE,sBAAsB,CAAC;IAC/B,qCAAqC;IACrC,aAAa,EAAE,MAAM,CAAC;IACtB,kDAAkD;IAClD,gBAAgB,EAAE,MAAM,CAAC;IACzB,sEAAsE;IACtE,QAAQ,EAAE,SAAS,iCAAiC,EAAE,CAAC;CACxD;AAED,4CAA4C;AAC5C,MAAM,WAAW,+BAA+B;IAC9C,2BAA2B;IAC3B,QAAQ,EAAE,6BAA6B,CAAC;IACxC,qCAAqC;IACrC,aAAa,EAAE,MAAM,CAAC;IACtB,kEAAkE;IAClE,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,mEAAmE;AACnE,MAAM,WAAW,kCAAkC;IACjD,2DAA2D;IAC3D,YAAY,EAAE,MAAM,CAAC;IACrB,2CAA2C;IAC3C,aAAa,EAAE,SAAS,MAAM,EAAE,CAAC;IACjC,gEAAgE;IAChE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,yCAAyC;IACzC,UAAU,EAAE,+BAA+B,CAAC;CAC7C;AAED,gDAAgD;AAChD,MAAM,WAAW,yBAAyB;IACxC,sBAAsB;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,oBAAoB;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,iCAAiC;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,0BAA0B;IAC1B,MAAM,EAAE,SAAS,0BAA0B,EAAE,CAAC;IAC9C,gDAAgD;IAChD,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAC1C,+CAA+C;IAC/C,KAAK,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"}
|
package/models/lottie-scene.d.ts
CHANGED
|
@@ -38,13 +38,17 @@ export interface LottieScenePlayback<P> {
|
|
|
38
38
|
onAnimationCreated?: (context: LottieAnimationContext<P>) => void;
|
|
39
39
|
/** Starts companion animations on the Lottie clock; called once, on the first rendered frame. */
|
|
40
40
|
onPlaybackStarted?: (context: LottiePlaybackStartContext<P>) => void;
|
|
41
|
+
/** Checks the rendered DOM at readiness, before play; `false` fails the session. */
|
|
42
|
+
isRendererAccepted?: (host: HTMLElement) => boolean;
|
|
41
43
|
}
|
|
42
44
|
/** Inputs of one Lottie scene session. */
|
|
43
45
|
export interface LottieSceneSessionOptions<P> {
|
|
44
46
|
/** The scene's timings, data ownership and observers. */
|
|
45
47
|
playback: LottieScenePlayback<P>;
|
|
46
|
-
/** Measures targets and builds the composition after the player
|
|
47
|
-
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>;
|
|
48
52
|
/** Receives the preparation so the host element can render. */
|
|
49
53
|
onPrepared: (preparation: P) => void;
|
|
50
54
|
/** Receives the outcome once, unless the session was disposed. */
|
|
@@ -71,8 +75,10 @@ export interface UseLottieSceneSessionOptions<P> {
|
|
|
71
75
|
enabled: boolean;
|
|
72
76
|
/** The scene's timings, data ownership and observers. */
|
|
73
77
|
playback: LottieScenePlayback<P>;
|
|
74
|
-
/** Measures targets and builds the composition after the player
|
|
75
|
-
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>;
|
|
76
82
|
}
|
|
77
83
|
/** State and controls a scene component renders from. */
|
|
78
84
|
export interface LottieSceneSessionResult<P> {
|