@epam/ai-dial-celebrations 1.2.0-dev.170
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/CelebrationEnvironmentContext-BxzY78Zg.js +14 -0
- package/components/CelebrationDecor/CelebrationDecor.d.ts +3 -0
- package/components/CelebrationDecor/CelebrationDecor.d.ts.map +1 -0
- package/components/FlyingCharacters/FlyingCharacters.d.ts +8 -0
- package/components/FlyingCharacters/FlyingCharacters.d.ts.map +1 -0
- package/constants/public-class-names.d.ts +10 -0
- package/constants/public-class-names.d.ts.map +1 -0
- package/context/CelebrationContext.d.ts +7 -0
- package/context/CelebrationContext.d.ts.map +1 -0
- package/context/CelebrationEnvironmentContext.d.ts +19 -0
- package/context/CelebrationEnvironmentContext.d.ts.map +1 -0
- package/flying-characters-2UJGx5Nh.js +36 -0
- package/halloween/components/Halloween/HalloweenBat.d.ts +6 -0
- package/halloween/components/Halloween/HalloweenBat.d.ts.map +1 -0
- package/halloween/components/Halloween/HalloweenBats.d.ts +5 -0
- package/halloween/components/Halloween/HalloweenBats.d.ts.map +1 -0
- package/halloween/components/Halloween/HalloweenBowling.d.ts +5 -0
- package/halloween/components/Halloween/HalloweenBowling.d.ts.map +1 -0
- package/halloween/components/Halloween/HalloweenBurstOverlay.d.ts +10 -0
- package/halloween/components/Halloween/HalloweenBurstOverlay.d.ts.map +1 -0
- package/halloween/components/Halloween/HalloweenCandy.d.ts +5 -0
- package/halloween/components/Halloween/HalloweenCandy.d.ts.map +1 -0
- package/halloween/components/Halloween/HalloweenCandyArt.d.ts +13 -0
- package/halloween/components/Halloween/HalloweenCandyArt.d.ts.map +1 -0
- package/halloween/components/Halloween/HalloweenCat.d.ts +3 -0
- package/halloween/components/Halloween/HalloweenCat.d.ts.map +1 -0
- package/halloween/components/Halloween/HalloweenCatScene.d.ts +5 -0
- package/halloween/components/Halloween/HalloweenCatScene.d.ts.map +1 -0
- package/halloween/components/Halloween/HalloweenCornerSpider.d.ts +12 -0
- package/halloween/components/Halloween/HalloweenCornerSpider.d.ts.map +1 -0
- package/halloween/components/Halloween/HalloweenDecor.d.ts +4 -0
- package/halloween/components/Halloween/HalloweenDecor.d.ts.map +1 -0
- package/halloween/components/Halloween/HalloweenExtras.d.ts +4 -0
- package/halloween/components/Halloween/HalloweenExtras.d.ts.map +1 -0
- package/halloween/components/Halloween/HalloweenFootprints.d.ts +5 -0
- package/halloween/components/Halloween/HalloweenFootprints.d.ts.map +1 -0
- package/halloween/components/Halloween/HalloweenGhost.d.ts +10 -0
- package/halloween/components/Halloween/HalloweenGhost.d.ts.map +1 -0
- package/halloween/components/Halloween/HalloweenGhosts.d.ts +5 -0
- package/halloween/components/Halloween/HalloweenGhosts.d.ts.map +1 -0
- package/halloween/components/Halloween/HalloweenMimic.d.ts +5 -0
- package/halloween/components/Halloween/HalloweenMimic.d.ts.map +1 -0
- package/halloween/components/Halloween/HalloweenMummy.d.ts +5 -0
- package/halloween/components/Halloween/HalloweenMummy.d.ts.map +1 -0
- package/halloween/components/Halloween/HalloweenNightFlight.d.ts +3 -0
- package/halloween/components/Halloween/HalloweenNightFlight.d.ts.map +1 -0
- package/halloween/components/Halloween/HalloweenPortal.d.ts +3 -0
- package/halloween/components/Halloween/HalloweenPortal.d.ts.map +1 -0
- package/halloween/components/Halloween/HalloweenPumpkin.d.ts +3 -0
- package/halloween/components/Halloween/HalloweenPumpkin.d.ts.map +1 -0
- package/halloween/components/Halloween/HalloweenPumpkinSilk.d.ts +8 -0
- package/halloween/components/Halloween/HalloweenPumpkinSilk.d.ts.map +1 -0
- package/halloween/components/Halloween/HalloweenRaven.d.ts +5 -0
- package/halloween/components/Halloween/HalloweenRaven.d.ts.map +1 -0
- package/halloween/components/Halloween/HalloweenRavens.d.ts +5 -0
- package/halloween/components/Halloween/HalloweenRavens.d.ts.map +1 -0
- package/halloween/components/Halloween/HalloweenSecrets.d.ts +4 -0
- package/halloween/components/Halloween/HalloweenSecrets.d.ts.map +1 -0
- package/halloween/components/Halloween/HalloweenSpider.d.ts +7 -0
- package/halloween/components/Halloween/HalloweenSpider.d.ts.map +1 -0
- package/halloween/components/Halloween/HalloweenSpiderTheft.d.ts +5 -0
- package/halloween/components/Halloween/HalloweenSpiderTheft.d.ts.map +1 -0
- package/halloween/components/Halloween/HalloweenTrain.d.ts +9 -0
- package/halloween/components/Halloween/HalloweenTrain.d.ts.map +1 -0
- package/halloween/components/Halloween/HalloweenTrainArtwork.d.ts +7 -0
- package/halloween/components/Halloween/HalloweenTrainArtwork.d.ts.map +1 -0
- package/halloween/components/Halloween/HalloweenWebScene.d.ts +3 -0
- package/halloween/components/Halloween/HalloweenWebScene.d.ts.map +1 -0
- package/halloween/components/Halloween/HalloweenWitch.d.ts +11 -0
- package/halloween/components/Halloween/HalloweenWitch.d.ts.map +1 -0
- package/halloween/components/Halloween/HalloweenWitches.d.ts +5 -0
- package/halloween/components/Halloween/HalloweenWitches.d.ts.map +1 -0
- package/halloween/constants/halloween.d.ts +76 -0
- package/halloween/constants/halloween.d.ts.map +1 -0
- package/halloween/constants/labels.d.ts +4 -0
- package/halloween/constants/labels.d.ts.map +1 -0
- package/halloween/event.d.ts +11 -0
- package/halloween/event.d.ts.map +1 -0
- package/halloween/index.d.ts +8 -0
- package/halloween/index.d.ts.map +1 -0
- package/halloween/models/labels.d.ts +40 -0
- package/halloween/models/labels.d.ts.map +1 -0
- package/halloween/types/halloween.d.ts +65 -0
- package/halloween/types/halloween.d.ts.map +1 -0
- package/halloween/utils/halloween-bat-animation.d.ts +10 -0
- package/halloween/utils/halloween-bat-animation.d.ts.map +1 -0
- package/halloween/utils/halloween-bat-plan.d.ts +53 -0
- package/halloween/utils/halloween-bat-plan.d.ts.map +1 -0
- package/halloween/utils/halloween-bat-targets.d.ts +13 -0
- package/halloween/utils/halloween-bat-targets.d.ts.map +1 -0
- package/halloween/utils/halloween-bowling.d.ts +24 -0
- package/halloween/utils/halloween-bowling.d.ts.map +1 -0
- package/halloween/utils/halloween-candy-animation.d.ts +4 -0
- package/halloween/utils/halloween-candy-animation.d.ts.map +1 -0
- package/halloween/utils/halloween-candy-plan.d.ts +68 -0
- package/halloween/utils/halloween-candy-plan.d.ts.map +1 -0
- package/halloween/utils/halloween-candy-targets.d.ts +12 -0
- package/halloween/utils/halloween-candy-targets.d.ts.map +1 -0
- package/halloween/utils/halloween-cat-animation.d.ts +11 -0
- package/halloween/utils/halloween-cat-animation.d.ts.map +1 -0
- package/halloween/utils/halloween-cat-plan.d.ts +69 -0
- package/halloween/utils/halloween-cat-plan.d.ts.map +1 -0
- package/halloween/utils/halloween-cat-targets.d.ts +13 -0
- package/halloween/utils/halloween-cat-targets.d.ts.map +1 -0
- package/halloween/utils/halloween-footprint-animation.d.ts +12 -0
- package/halloween/utils/halloween-footprint-animation.d.ts.map +1 -0
- package/halloween/utils/halloween-footprint-plan.d.ts +52 -0
- package/halloween/utils/halloween-footprint-plan.d.ts.map +1 -0
- package/halloween/utils/halloween-footprint-targets.d.ts +22 -0
- package/halloween/utils/halloween-footprint-targets.d.ts.map +1 -0
- package/halloween/utils/halloween-ghost-animation.d.ts +12 -0
- package/halloween/utils/halloween-ghost-animation.d.ts.map +1 -0
- package/halloween/utils/halloween-ghost-plan.d.ts +41 -0
- package/halloween/utils/halloween-ghost-plan.d.ts.map +1 -0
- package/halloween/utils/halloween-ghost-targets.d.ts +12 -0
- package/halloween/utils/halloween-ghost-targets.d.ts.map +1 -0
- package/halloween/utils/halloween-mimic.d.ts +21 -0
- package/halloween/utils/halloween-mimic.d.ts.map +1 -0
- package/halloween/utils/halloween-mummy.d.ts +17 -0
- package/halloween/utils/halloween-mummy.d.ts.map +1 -0
- package/halloween/utils/halloween-portal.d.ts +22 -0
- package/halloween/utils/halloween-portal.d.ts.map +1 -0
- package/halloween/utils/halloween-raven-animation.d.ts +19 -0
- package/halloween/utils/halloween-raven-animation.d.ts.map +1 -0
- package/halloween/utils/halloween-raven-plan.d.ts +68 -0
- package/halloween/utils/halloween-raven-plan.d.ts.map +1 -0
- package/halloween/utils/halloween-raven-targets.d.ts +24 -0
- package/halloween/utils/halloween-raven-targets.d.ts.map +1 -0
- package/halloween/utils/halloween-secret-history.d.ts +8 -0
- package/halloween/utils/halloween-secret-history.d.ts.map +1 -0
- package/halloween/utils/halloween-spider-theft.d.ts +25 -0
- package/halloween/utils/halloween-spider-theft.d.ts.map +1 -0
- package/halloween/utils/halloween-spider-wrap.d.ts +78 -0
- package/halloween/utils/halloween-spider-wrap.d.ts.map +1 -0
- package/halloween/utils/halloween-train.d.ts +29 -0
- package/halloween/utils/halloween-train.d.ts.map +1 -0
- package/halloween/utils/halloween-web-animation.d.ts +10 -0
- package/halloween/utils/halloween-web-animation.d.ts.map +1 -0
- package/halloween/utils/halloween-web-plan.d.ts +46 -0
- package/halloween/utils/halloween-web-plan.d.ts.map +1 -0
- package/halloween/utils/halloween-web-targets.d.ts +10 -0
- package/halloween/utils/halloween-web-targets.d.ts.map +1 -0
- package/halloween/utils/halloween-witch-animation.d.ts +12 -0
- package/halloween/utils/halloween-witch-animation.d.ts.map +1 -0
- package/halloween/utils/halloween-witch-plan.d.ts +69 -0
- package/halloween/utils/halloween-witch-plan.d.ts.map +1 -0
- package/halloween/utils/halloween-witch-targets.d.ts +20 -0
- package/halloween/utils/halloween-witch-targets.d.ts.map +1 -0
- package/halloween/utils/halloween.d.ts +101 -0
- package/halloween/utils/halloween.d.ts.map +1 -0
- package/halloween.js +11671 -0
- package/hooks/useReducedMotion.d.ts +3 -0
- package/hooks/useReducedMotion.d.ts.map +1 -0
- package/index.css +2 -0
- package/index.d.ts +5 -0
- package/index.d.ts.map +1 -0
- package/index.js +146 -0
- package/models/celebration.d.ts +123 -0
- package/models/celebration.d.ts.map +1 -0
- package/new-year/components/NewYear/NewYearDecor.d.ts +4 -0
- package/new-year/components/NewYear/NewYearDecor.d.ts.map +1 -0
- package/new-year/components/NewYear/NewYearParticles.d.ts +10 -0
- package/new-year/components/NewYear/NewYearParticles.d.ts.map +1 -0
- package/new-year/components/NewYear/NewYearSleigh.d.ts +3 -0
- package/new-year/components/NewYear/NewYearSleigh.d.ts.map +1 -0
- package/new-year/components/NewYear/particles.d.ts +5 -0
- package/new-year/components/NewYear/particles.d.ts.map +1 -0
- package/new-year/components/NewYear/types.d.ts +10 -0
- package/new-year/components/NewYear/types.d.ts.map +1 -0
- package/new-year/constants/labels.d.ts +4 -0
- package/new-year/constants/labels.d.ts.map +1 -0
- package/new-year/event.d.ts +4 -0
- package/new-year/event.d.ts.map +1 -0
- package/new-year/index.d.ts +7 -0
- package/new-year/index.d.ts.map +1 -0
- package/new-year/models/labels.d.ts +14 -0
- package/new-year/models/labels.d.ts.map +1 -0
- package/new-year.js +382 -0
- package/package.json +43 -0
- package/utils/celebration-history.d.ts +8 -0
- package/utils/celebration-history.d.ts.map +1 -0
- package/utils/celebration-snapshots.d.ts +21 -0
- package/utils/celebration-snapshots.d.ts.map +1 -0
- package/utils/celebration.d.ts +18 -0
- package/utils/celebration.d.ts.map +1 -0
- package/utils/flying-characters.d.ts +11 -0
- package/utils/flying-characters.d.ts.map +1 -0
- package/utils/host-anchors.d.ts +12 -0
- package/utils/host-anchors.d.ts.map +1 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { createContext as e, useContext as t } from "react";
|
|
2
|
+
//#region src/constants/public-class-names.ts
|
|
3
|
+
var n = {
|
|
4
|
+
decor: "dial-celebrations-decor",
|
|
5
|
+
trigger: "dial-celebrations-trigger",
|
|
6
|
+
sceneLayer: "dial-celebrations-scene-layer"
|
|
7
|
+
}, r = e({
|
|
8
|
+
isMobile: !1,
|
|
9
|
+
anchors: {},
|
|
10
|
+
labels: {},
|
|
11
|
+
isDecorBehaviorEnabled: () => !0
|
|
12
|
+
}), i = () => t(r), a = (e) => t(r).isDecorBehaviorEnabled(e);
|
|
13
|
+
//#endregion
|
|
14
|
+
export { n as i, i as n, a as r, r as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CelebrationDecor.d.ts","sourceRoot":"","sources":["../../../src/components/CelebrationDecor/CelebrationDecor.tsx"],"names":[],"mappings":"AAqBA,2EAA2E;AAC3E,eAAO,MAAM,gBAAgB,0CAAkC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentType, CSSProperties } from 'react';
|
|
2
|
+
interface Props {
|
|
3
|
+
flights: readonly CSSProperties[];
|
|
4
|
+
Character: ComponentType;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import('react').NamedExoticComponent<Props>;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=FlyingCharacters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FlyingCharacters.d.ts","sourceRoot":"","sources":["../../../src/components/FlyingCharacters/FlyingCharacters.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,aAAa,EAAE,KAAK,aAAa,EAAW,MAAM,OAAO,CAAC;AAG9E,UAAU,KAAK;IACb,OAAO,EAAE,SAAS,aAAa,EAAE,CAAC;IAClC,SAAS,EAAE,aAAa,CAAC;CAC1B;;AAeD,wBAAsC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** Stable public class names the library emits, for host styling hooks. */
|
|
2
|
+
export declare const CELEBRATIONS_CLASS: {
|
|
3
|
+
/** Root of the active event's decoration. */
|
|
4
|
+
readonly decor: "dial-celebrations-decor";
|
|
5
|
+
/** The event's trigger button (pumpkin, gift). */
|
|
6
|
+
readonly trigger: "dial-celebrations-trigger";
|
|
7
|
+
/** Viewport layer a playing scene renders into. */
|
|
8
|
+
readonly sceneLayer: "dial-celebrations-scene-layer";
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=public-class-names.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public-class-names.d.ts","sourceRoot":"","sources":["../../src/constants/public-class-names.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,eAAO,MAAM,kBAAkB;IAC7B,6CAA6C;;IAE7C,kDAAkD;;IAElD,mDAAmD;;CAE3C,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { CelebrationContextValue, CelebrationProviderProps } from '../models/celebration';
|
|
3
|
+
/** Owns celebration playback; hosts pass every external input as props. */
|
|
4
|
+
export declare const CelebrationProvider: FC<CelebrationProviderProps>;
|
|
5
|
+
/** Returns the celebration state; an inert value outside `CelebrationProvider`. */
|
|
6
|
+
export declare const useCelebration: () => CelebrationContextValue;
|
|
7
|
+
//# sourceMappingURL=CelebrationContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CelebrationContext.d.ts","sourceRoot":"","sources":["../../src/context/CelebrationContext.tsx"],"names":[],"mappings":"AACA,OAAO,EAQL,KAAK,EAAE,EACR,MAAM,OAAO,CAAC;AAIf,OAAO,KAAK,EACV,uBAAuB,EAGvB,wBAAwB,EAEzB,MAAM,uBAAuB,CAAC;AA8B/B,2EAA2E;AAC3E,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,wBAAwB,CA+L5D,CAAC;AAEF,mFAAmF;AACnF,eAAO,MAAM,cAAc,QAAO,uBACF,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { CelebrationAnchors } from '../models/celebration';
|
|
2
|
+
/** Host inputs that scenes and decorations read instead of host hooks. */
|
|
3
|
+
export interface CelebrationEnvironment {
|
|
4
|
+
isMobile: boolean;
|
|
5
|
+
anchors: CelebrationAnchors;
|
|
6
|
+
/** The loaded event's labels, host overrides merged over defaults. */
|
|
7
|
+
labels: Readonly<Record<string, string>>;
|
|
8
|
+
isDecorBehaviorEnabled: (behavior: string) => boolean;
|
|
9
|
+
/** Shorter idle delays for Storybook; the provider never sets them. */
|
|
10
|
+
timings?: {
|
|
11
|
+
spiderDropDelayMs?: readonly [number, number];
|
|
12
|
+
pumpkinWrapIdleMs?: number;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export declare const CelebrationEnvironmentContext: import('react').Context<CelebrationEnvironment>;
|
|
16
|
+
export declare const useCelebrationEnvironment: () => CelebrationEnvironment;
|
|
17
|
+
/** Whether one decoration behavior of the loaded event may run. */
|
|
18
|
+
export declare const useDecorBehavior: (behavior: string) => boolean;
|
|
19
|
+
//# sourceMappingURL=CelebrationEnvironmentContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CelebrationEnvironmentContext.d.ts","sourceRoot":"","sources":["../../src/context/CelebrationEnvironmentContext.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEhE,0EAA0E;AAC1E,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,kBAAkB,CAAC;IAC5B,sEAAsE;IACtE,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACzC,sBAAsB,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC;IACtD,uEAAuE;IACvE,OAAO,CAAC,EAAE;QACR,iBAAiB,CAAC,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAC9C,iBAAiB,CAAC,EAAE,MAAM,CAAC;KAC5B,CAAC;CACH;AAUD,eAAO,MAAM,6BAA6B,iDACkB,CAAC;AAE7D,eAAO,MAAM,yBAAyB,QAAO,sBACF,CAAC;AAE5C,mEAAmE;AACnE,eAAO,MAAM,gBAAgB,GAAI,UAAU,MAAM,KAAG,OACwB,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { memo as e } from "react";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
var n = {
|
|
4
|
+
layer: "_layer_17k2o_20",
|
|
5
|
+
flight: "_flight_17k2o_29",
|
|
6
|
+
"character-flight": "_character-flight_17k2o_1",
|
|
7
|
+
facing: "_facing_17k2o_37"
|
|
8
|
+
}, r = e(({ flights: e, Character: r }) => /* @__PURE__ */ t("div", {
|
|
9
|
+
className: n.layer,
|
|
10
|
+
"aria-hidden": "true",
|
|
11
|
+
children: e.map((e, i) => /* @__PURE__ */ t("span", {
|
|
12
|
+
style: e,
|
|
13
|
+
className: n.flight,
|
|
14
|
+
children: /* @__PURE__ */ t("span", {
|
|
15
|
+
className: n.facing,
|
|
16
|
+
children: /* @__PURE__ */ t(r, {})
|
|
17
|
+
})
|
|
18
|
+
}, i))
|
|
19
|
+
})), i = ({ count: e, sizesPx: t, durationSeconds: n, staggerSeconds: r }) => Array.from({ length: e }, (i, a) => {
|
|
20
|
+
let o = a % 2 == 0, s = 12 + a * 17 % 62;
|
|
21
|
+
return {
|
|
22
|
+
"--flight-start-x": o ? "-22vw" : "115vw",
|
|
23
|
+
"--flight-end-x": o ? "115vw" : "-22vw",
|
|
24
|
+
"--flight-start-y": `${s}vh`,
|
|
25
|
+
"--flight-mid-y": `${Math.max(3, s - 18)}vh`,
|
|
26
|
+
"--flight-end-y": `${Math.min(84, s + 8)}vh`,
|
|
27
|
+
"--flight-rest-x": `${8 + a / e * 78}vw`,
|
|
28
|
+
"--flight-rest-y": `${s}vh`,
|
|
29
|
+
"--flight-facing": o ? 1 : -1,
|
|
30
|
+
"--flight-size": `${t[a % t.length]}px`,
|
|
31
|
+
"--flight-delay": `${(a * r).toFixed(2)}s`,
|
|
32
|
+
"--flight-duration": `${n}s`
|
|
33
|
+
};
|
|
34
|
+
});
|
|
35
|
+
//#endregion
|
|
36
|
+
export { r as n, i as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HalloweenBat.d.ts","sourceRoot":"","sources":["../../../../src/halloween/components/Halloween/HalloweenBat.tsx"],"names":[],"mappings":"AAGA,UAAU,KAAK;IACb,OAAO,EAAE,OAAO,CAAC;CAClB;;AAmQD,wBAAkC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HalloweenBats.d.ts","sourceRoot":"","sources":["../../../../src/halloween/components/Halloween/HalloweenBats.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4C,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAW1E,uFAAuF;AACvF,QAAA,MAAM,aAAa,EAAE,EAqJpB,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HalloweenBowling.d.ts","sourceRoot":"","sources":["../../../../src/halloween/components/Halloween/HalloweenBowling.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAYpE,oFAAoF;AACpF,QAAA,MAAM,gBAAgB,EAAE,EA+HvB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HalloweenScene } from '../../types/halloween';
|
|
2
|
+
interface Props {
|
|
3
|
+
/** Which celebration to play. */
|
|
4
|
+
burst: HalloweenScene;
|
|
5
|
+
/** Optional soundtrack for the train scene. */
|
|
6
|
+
trainSoundtrackUrl?: string;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import('react').NamedExoticComponent<Props>;
|
|
9
|
+
export default _default;
|
|
10
|
+
//# sourceMappingURL=HalloweenBurstOverlay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HalloweenBurstOverlay.d.ts","sourceRoot":"","sources":["../../../../src/halloween/components/Halloween/HalloweenBurstOverlay.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAkCvD,UAAU,KAAK;IACb,iCAAiC;IACjC,KAAK,EAAE,cAAc,CAAC;IACtB,+CAA+C;IAC/C,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;;AAkBD,wBAA2C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HalloweenCandy.d.ts","sourceRoot":"","sources":["../../../../src/halloween/components/Halloween/HalloweenCandy.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4C,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAY1E,yFAAyF;AACzF,QAAA,MAAM,cAAc,EAAE,EA8KrB,CAAC;AACF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { CandyJanitorKind } from '../../utils/halloween-candy-plan';
|
|
3
|
+
/** Folded wrappers, rounded hard candy and striped candy corn share a small silhouette. */
|
|
4
|
+
export declare const CandySweet: FC<{
|
|
5
|
+
variant: number;
|
|
6
|
+
}>;
|
|
7
|
+
/** Neck pivot (48,30), beak tip (95,30), feet at y=90 match the contact plan. */
|
|
8
|
+
export declare const CandyRaven: FC;
|
|
9
|
+
/** A shared broom/hand group keeps the grip intact through sweeping and brandishing. */
|
|
10
|
+
export declare const CandyJanitor: FC<{
|
|
11
|
+
kind: CandyJanitorKind;
|
|
12
|
+
}>;
|
|
13
|
+
//# sourceMappingURL=HalloweenCandyArt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HalloweenCandyArt.d.ts","sourceRoot":"","sources":["../../../../src/halloween/components/Halloween/HalloweenCandyArt.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAGpE,2FAA2F;AAC3F,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CA4C9C,CAAC;AAEF,iFAAiF;AACjF,eAAO,MAAM,UAAU,EAAE,EAgExB,CAAC;AAEF,wFAAwF;AACxF,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC;IAAE,IAAI,EAAE,gBAAgB,CAAA;CAAE,CA8GvD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HalloweenCat.d.ts","sourceRoot":"","sources":["../../../../src/halloween/components/Halloween/HalloweenCat.tsx"],"names":[],"mappings":";AA0SA,wBAAkC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HalloweenCatScene.d.ts","sourceRoot":"","sources":["../../../../src/halloween/components/Halloween/HalloweenCatScene.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4C,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAU1E,8EAA8E;AAC9E,QAAA,MAAM,iBAAiB,EAAE,EA6JxB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
interface Props {
|
|
3
|
+
/** Where the spider perches on its web, as Tailwind position classes. */
|
|
4
|
+
className?: string;
|
|
5
|
+
/** The pumpkin the spider wraps after a long quiet spell. */
|
|
6
|
+
pumpkinRef?: RefObject<HTMLElement | null>;
|
|
7
|
+
/** The silk overlay drawn over that pumpkin. */
|
|
8
|
+
silkRef?: RefObject<SVGSVGElement | null>;
|
|
9
|
+
}
|
|
10
|
+
declare const _default: import('react').NamedExoticComponent<Props>;
|
|
11
|
+
export default _default;
|
|
12
|
+
//# sourceMappingURL=HalloweenCornerSpider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HalloweenCornerSpider.d.ts","sourceRoot":"","sources":["../../../../src/halloween/components/Halloween/HalloweenCornerSpider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAqB,SAAS,EAAE,MAAM,OAAO,CAAC;AA0D1D,UAAU,KAAK;IACb,yEAAyE;IACzE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6DAA6D;IAC7D,UAAU,CAAC,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAC3C,gDAAgD;IAChD,OAAO,CAAC,EAAE,SAAS,CAAC,aAAa,GAAG,IAAI,CAAC,CAAC;CAC3C;;AA0XD,wBAA2C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HalloweenDecor.d.ts","sourceRoot":"","sources":["../../../../src/halloween/components/Halloween/HalloweenDecor.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;;AA6F9E,wBAAoC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HalloweenExtras.d.ts","sourceRoot":"","sources":["../../../../src/halloween/components/Halloween/HalloweenExtras.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AA2D3D,2EAA2E;AAC3E,eAAO,MAAM,kBAAkB,EAAE,EAgBhC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HalloweenFootprints.d.ts","sourceRoot":"","sources":["../../../../src/halloween/components/Halloween/HalloweenFootprints.tsx"],"names":[],"mappings":"AACA,OAAO,EAA4C,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAc1E,gFAAgF;AAChF,QAAA,MAAM,mBAAmB,EAAE,EAoO1B,CAAC;AAoDF,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HalloweenGhostVariant } from '../../types/halloween';
|
|
2
|
+
interface Props {
|
|
3
|
+
variant: HalloweenGhostVariant;
|
|
4
|
+
className?: string;
|
|
5
|
+
/** The possession story animates these expression and gesture layers. */
|
|
6
|
+
expressive?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import('react').NamedExoticComponent<Props>;
|
|
9
|
+
export default _default;
|
|
10
|
+
//# sourceMappingURL=HalloweenGhost.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HalloweenGhost.d.ts","sourceRoot":"","sources":["../../../../src/halloween/components/Halloween/HalloweenGhost.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AA6B9D,UAAU,KAAK;IACb,OAAO,EAAE,qBAAqB,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yEAAyE;IACzE,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;;AAsGD,wBAAoC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HalloweenGhosts.d.ts","sourceRoot":"","sources":["../../../../src/halloween/components/Halloween/HalloweenGhosts.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4C,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAe1E,4FAA4F;AAC5F,QAAA,MAAM,eAAe,EAAE,EA8LtB,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HalloweenMimic.d.ts","sourceRoot":"","sources":["../../../../src/halloween/components/Halloween/HalloweenMimic.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,EAAE,EACR,MAAM,OAAO,CAAC;AAaf,mFAAmF;AACnF,QAAA,MAAM,cAAc,EAAE,EA2UrB,CAAC;AACF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HalloweenMummy.d.ts","sourceRoot":"","sources":["../../../../src/halloween/components/Halloween/HalloweenMummy.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,EAAE,EACR,MAAM,OAAO,CAAC;AAaf,oFAAoF;AACpF,QAAA,MAAM,cAAc,EAAE,EA8NrB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HalloweenNightFlight.d.ts","sourceRoot":"","sources":["../../../../src/halloween/components/Halloween/HalloweenNightFlight.tsx"],"names":[],"mappings":";AAiEA,wBAA0C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HalloweenPortal.d.ts","sourceRoot":"","sources":["../../../../src/halloween/components/Halloween/HalloweenPortal.tsx"],"names":[],"mappings":";AA+JA,wBAAqC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HalloweenPumpkin.d.ts","sourceRoot":"","sources":["../../../../src/halloween/components/Halloween/HalloweenPumpkin.tsx"],"names":[],"mappings":";AA8HA,wBAAsC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Ref } from 'react';
|
|
2
|
+
interface Props {
|
|
3
|
+
/** The corner spider animates the strands through this element. */
|
|
4
|
+
ref?: Ref<SVGSVGElement>;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import('react').NamedExoticComponent<Props>;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=HalloweenPumpkinSilk.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HalloweenPumpkinSilk.d.ts","sourceRoot":"","sources":["../../../../src/halloween/components/Halloween/HalloweenPumpkinSilk.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAM,GAAG,EAAE,MAAM,OAAO,CAAC;AAKrC,UAAU,KAAK;IACb,mEAAmE;IACnE,GAAG,CAAC,EAAE,GAAG,CAAC,aAAa,CAAC,CAAC;CAC1B;;AAiCD,wBAA0C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HalloweenRaven.d.ts","sourceRoot":"","sources":["../../../../src/halloween/components/Halloween/HalloweenRaven.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEvC,+EAA+E;AAC/E,QAAA,MAAM,cAAc,EAAE,EA2FrB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HalloweenRavens.d.ts","sourceRoot":"","sources":["../../../../src/halloween/components/Halloween/HalloweenRavens.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,EAAE,EACR,MAAM,OAAO,CAAC;AAkBf,iGAAiG;AACjG,QAAA,MAAM,eAAe,EAAE,EA4MtB,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HalloweenSecrets.d.ts","sourceRoot":"","sources":["../../../../src/halloween/components/Halloween/HalloweenSecrets.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,EAAE,EAER,MAAM,OAAO,CAAC;AA6Df,4EAA4E;AAC5E,eAAO,MAAM,iBAAiB,EAAE,EA2J/B,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
interface Props extends Pick<SVGProps<SVGSVGElement>, 'width' | 'height'> {
|
|
3
|
+
className?: string;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import('react').NamedExoticComponent<Props>;
|
|
6
|
+
export default _default;
|
|
7
|
+
//# sourceMappingURL=HalloweenSpider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HalloweenSpider.d.ts","sourceRoot":"","sources":["../../../../src/halloween/components/Halloween/HalloweenSpider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAwB,KAAK,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE5D,UAAU,KAAM,SAAQ,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IACvE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;;AAqHD,wBAAqC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HalloweenSpiderTheft.d.ts","sourceRoot":"","sources":["../../../../src/halloween/components/Halloween/HalloweenSpiderTheft.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAyF7D,oFAAoF;AACpF,QAAA,MAAM,oBAAoB,EAAE,EA0H3B,CAAC;AACF,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
/** The seasonal pumpkin boards the empty wagon without moving its real button. */
|
|
3
|
+
interface Props {
|
|
4
|
+
/** Optional soundtrack played while the train runs; silent when omitted. */
|
|
5
|
+
soundtrackUrl?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const HalloweenTrain: FC<Props>;
|
|
8
|
+
export default HalloweenTrain;
|
|
9
|
+
//# sourceMappingURL=HalloweenTrain.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HalloweenTrain.d.ts","sourceRoot":"","sources":["../../../../src/halloween/components/Halloween/HalloweenTrain.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAY7D,kFAAkF;AAClF,UAAU,KAAK;IACb,4EAA4E;IAC5E,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,QAAA,MAAM,cAAc,EAAE,EAAE,CAAC,KAAK,CAyF7B,CAAC;AACF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
/** The last wagon has separate rear/front layers for its arriving passenger. */
|
|
3
|
+
declare const HalloweenTrainArtwork: FC<{
|
|
4
|
+
foreground?: boolean;
|
|
5
|
+
}>;
|
|
6
|
+
export default HalloweenTrainArtwork;
|
|
7
|
+
//# sourceMappingURL=HalloweenTrainArtwork.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HalloweenTrainArtwork.d.ts","sourceRoot":"","sources":["../../../../src/halloween/components/Halloween/HalloweenTrainArtwork.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AA6G3D,gFAAgF;AAChF,QAAA,MAAM,qBAAqB,EAAE,EAAE,CAAC;IAAE,UAAU,CAAC,EAAE,OAAO,CAAA;CAAE,CAkQvD,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HalloweenWebScene.d.ts","sourceRoot":"","sources":["../../../../src/halloween/components/Halloween/HalloweenWebScene.tsx"],"names":[],"mappings":";AAuEA,wBAAuC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
interface Props {
|
|
3
|
+
/** Whether this is the composed mentor. Defaults to false. */
|
|
4
|
+
mentor?: boolean;
|
|
5
|
+
}
|
|
6
|
+
/** Articulated seasonal illustration; the broom contact point is SVG (170,120). */
|
|
7
|
+
declare const HalloweenWitch: FC<Props>;
|
|
8
|
+
/** Transparent frog features sized around, rather than replacing, a button copy. */
|
|
9
|
+
export declare const HalloweenFrogFeatures: FC;
|
|
10
|
+
export default HalloweenWitch;
|
|
11
|
+
//# sourceMappingURL=HalloweenWitch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HalloweenWitch.d.ts","sourceRoot":"","sources":["../../../../src/halloween/components/Halloween/HalloweenWitch.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIhC,UAAU,KAAK;IACb,8DAA8D;IAC9D,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,mFAAmF;AACnF,QAAA,MAAM,cAAc,EAAE,EAAE,CAAC,KAAK,CA6G7B,CAAC;AAEF,oFAAoF;AACpF,eAAO,MAAM,qBAAqB,EAAE,EAuBnC,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HalloweenWitches.d.ts","sourceRoot":"","sources":["../../../../src/halloween/components/Halloween/HalloweenWitches.tsx"],"names":[],"mappings":"AACA,OAAO,EAA4C,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAa1E,kFAAkF;AAClF,QAAA,MAAM,gBAAgB,EAAE,EA+MvB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { HalloweenScene } from '../types/halloween';
|
|
2
|
+
/**
|
|
3
|
+
* Tuning values for the Halloween easter egg. Everything here is decorative:
|
|
4
|
+
* nothing is persisted, sent to a backend, or reflected in a conversation.
|
|
5
|
+
*/
|
|
6
|
+
/** The phrase that triggers a secret scene when typed into the conversation input. */
|
|
7
|
+
export declare const HALLOWEEN_SECRET_PHRASE = "trick or treat";
|
|
8
|
+
/**
|
|
9
|
+
* How long a burst stays mounted. Must outlast the longest animation in
|
|
10
|
+
* `Halloween.module.scss` including web weaving and departure so nothing is cut off
|
|
11
|
+
* mid-flight.
|
|
12
|
+
*/
|
|
13
|
+
export declare const HALLOWEEN_BURST_DURATION_MS = 14000;
|
|
14
|
+
/** Room for the crosswind scene's pauses, deceleration and lazy departure. */
|
|
15
|
+
export declare const HALLOWEEN_BAT_SCENE_DURATION_MS = 17500;
|
|
16
|
+
/** Time for an unhurried walk, a long sit, paced pushes, falling prizes and grooming. */
|
|
17
|
+
export declare const HALLOWEEN_CAT_SCENE_DURATION_MS = 25000;
|
|
18
|
+
/** Time for the spell lesson, restoration and final broom hop. */
|
|
19
|
+
export declare const HALLOWEEN_WITCH_SCENE_DURATION_MS = 20000;
|
|
20
|
+
/** Spiders dropped per `HalloweenScene.Spiders`, each on its own thread. */
|
|
21
|
+
export declare const HALLOWEEN_SPIDER_COUNT = 9;
|
|
22
|
+
/** Ghosts released per `HalloweenScene.Ghost`, each on its own flight path. */
|
|
23
|
+
export declare const HALLOWEEN_GHOST_COUNT = 7;
|
|
24
|
+
/**
|
|
25
|
+
* How close, in pixels, the pointer gets to a corner spider before it bolts.
|
|
26
|
+
* Generous enough that the spider moves before the cursor is on top of it,
|
|
27
|
+
* which is what makes it feel skittish rather than clicked.
|
|
28
|
+
*/
|
|
29
|
+
export declare const HALLOWEEN_SPIDER_FLEE_RADIUS_PX = 120;
|
|
30
|
+
/** How far, in pixels, a corner spider bolts per nudge. */
|
|
31
|
+
export declare const HALLOWEEN_SPIDER_FLEE_STEP_PX = 64;
|
|
32
|
+
/**
|
|
33
|
+
* How far, in pixels, a corner spider may stray from its perch. Cornered at
|
|
34
|
+
* this radius it slides around the boundary instead of stopping dead, so a
|
|
35
|
+
* pointer can herd it around the web but never pin it.
|
|
36
|
+
*/
|
|
37
|
+
export declare const HALLOWEEN_SPIDER_MAX_OFFSET_PX = 104;
|
|
38
|
+
/**
|
|
39
|
+
* How long a corner spider waits, undisturbed, before creeping back to its
|
|
40
|
+
* perch.
|
|
41
|
+
*/
|
|
42
|
+
export declare const HALLOWEEN_SPIDER_RETURN_MS = 2600;
|
|
43
|
+
/** Undisturbed pause, in ms, before the corner spider pays out its thread. */
|
|
44
|
+
export declare const HALLOWEEN_SPIDER_DROP_DELAY_MS: readonly [10000, 20000];
|
|
45
|
+
/** One idle drop — descend, dangle and climb back — in ms. */
|
|
46
|
+
export declare const HALLOWEEN_SPIDER_DROP_MS = 5200;
|
|
47
|
+
/** How far, in pixels, the corner spider lowers itself on its thread. */
|
|
48
|
+
export declare const HALLOWEEN_SPIDER_DROP_DEPTH_PX: readonly [60, 120];
|
|
49
|
+
/** How fast, in ms, the spider reels in when the pointer interrupts a drop. */
|
|
50
|
+
export declare const HALLOWEEN_SPIDER_RETRACT_MS = 220;
|
|
51
|
+
/**
|
|
52
|
+
* Within this distance, in pixels, the corner spider stops fidgeting, reels
|
|
53
|
+
* in and freezes to watch the pointer; closer still, it bolts.
|
|
54
|
+
*/
|
|
55
|
+
export declare const HALLOWEEN_SPIDER_ALERT_RADIUS_PX = 240;
|
|
56
|
+
/** How far, in degrees, the spider leans to keep the pointer in view. */
|
|
57
|
+
export declare const HALLOWEEN_SPIDER_WATCH_MAX_DEG = 28;
|
|
58
|
+
/** Pumpkin surprises, sampled randomly without consecutive repeats. */
|
|
59
|
+
export declare const HALLOWEEN_CLICK_BURSTS: readonly [HalloweenScene.Ghost, HalloweenScene.Web, HalloweenScene.Bats, HalloweenScene.Cat, HalloweenScene.Witches, HalloweenScene.Train, HalloweenScene.Portal, HalloweenScene.Ravens, HalloweenScene.Candy, HalloweenScene.Footprints, HalloweenScene.Skeletons];
|
|
60
|
+
/** Message-only surprises; pumpkin clicks never sample this pool. */
|
|
61
|
+
export declare const HALLOWEEN_SECRET_BURSTS: readonly [HalloweenScene.Spiders, HalloweenScene.Cauldron, HalloweenScene.Mimic, HalloweenScene.Bowling, HalloweenScene.Mummy];
|
|
62
|
+
/** Deadlines include the borrowed rows returning and all delayed exits. */
|
|
63
|
+
export declare const HALLOWEEN_SCENE_DURATIONS: Partial<Record<HalloweenScene, number>>;
|
|
64
|
+
export declare const HALLOWEEN_WEB_COUNT = 80;
|
|
65
|
+
export declare const HALLOWEEN_MOBILE_WEB_COUNT = 54;
|
|
66
|
+
export declare const HALLOWEEN_BAT_COUNT = 16;
|
|
67
|
+
export declare const HALLOWEEN_WISP_COUNT = 18;
|
|
68
|
+
export declare const HALLOWEEN_WITCH_COUNT = 2;
|
|
69
|
+
/**
|
|
70
|
+
* How long, in ms, the user must leave the page alone before the corner
|
|
71
|
+
* spider climbs down and wraps the pumpkin in silk.
|
|
72
|
+
*/
|
|
73
|
+
export declare const HALLOWEEN_SPIDER_WRAP_IDLE_MS = 60000;
|
|
74
|
+
/** How long, in ms, a keystroke keeps the spider drumming its legs. */
|
|
75
|
+
export declare const HALLOWEEN_SPIDER_DRUM_MS = 700;
|
|
76
|
+
//# sourceMappingURL=halloween.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"halloween.d.ts","sourceRoot":"","sources":["../../../src/halloween/constants/halloween.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGpD;;;GAGG;AAEH,sFAAsF;AACtF,eAAO,MAAM,uBAAuB,mBAAmB,CAAC;AAExD;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,QAAQ,CAAC;AAEjD,8EAA8E;AAC9E,eAAO,MAAM,+BAA+B,QAAQ,CAAC;AAErD,yFAAyF;AACzF,eAAO,MAAM,+BAA+B,QAAQ,CAAC;AAErD,kEAAkE;AAClE,eAAO,MAAM,iCAAiC,QAAQ,CAAC;AAEvD,4EAA4E;AAC5E,eAAO,MAAM,sBAAsB,IAAI,CAAC;AAExC,+EAA+E;AAC/E,eAAO,MAAM,qBAAqB,IAAI,CAAC;AAEvC;;;;GAIG;AACH,eAAO,MAAM,+BAA+B,MAAM,CAAC;AAEnD,2DAA2D;AAC3D,eAAO,MAAM,6BAA6B,KAAK,CAAC;AAEhD;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,MAAM,CAAC;AAElD;;;GAGG;AACH,eAAO,MAAM,0BAA0B,OAAO,CAAC;AAE/C,8EAA8E;AAC9E,eAAO,MAAM,8BAA8B,yBAA0B,CAAC;AAEtE,8DAA8D;AAC9D,eAAO,MAAM,wBAAwB,OAAO,CAAC;AAE7C,yEAAyE;AACzE,eAAO,MAAM,8BAA8B,oBAAqB,CAAC;AAEjE,+EAA+E;AAC/E,eAAO,MAAM,2BAA2B,MAAM,CAAC;AAE/C;;;GAGG;AACH,eAAO,MAAM,gCAAgC,MAAM,CAAC;AAEpD,yEAAyE;AACzE,eAAO,MAAM,8BAA8B,KAAK,CAAC;AAEjD,uEAAuE;AACvE,eAAO,MAAM,sBAAsB,qQAYzB,CAAC;AAEX,qEAAqE;AACrE,eAAO,MAAM,uBAAuB,gIAM1B,CAAC;AAEX,2EAA2E;AAC3E,eAAO,MAAM,yBAAyB,EAAE,OAAO,CAC7C,MAAM,CAAC,cAAc,EAAE,MAAM,CAAC,CAe/B,CAAC;AAEF,eAAO,MAAM,mBAAmB,KAAK,CAAC;AACtC,eAAO,MAAM,0BAA0B,KAAK,CAAC;AAC7C,eAAO,MAAM,mBAAmB,KAAK,CAAC;AACtC,eAAO,MAAM,oBAAoB,KAAK,CAAC;AAEvC,eAAO,MAAM,qBAAqB,IAAI,CAAC;AAEvC;;;GAGG;AACH,eAAO,MAAM,6BAA6B,QAAQ,CAAC;AAEnD,uEAAuE;AACvE,eAAO,MAAM,wBAAwB,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"labels.d.ts","sourceRoot":"","sources":["../../../src/halloween/constants/labels.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAExD,kDAAkD;AAClD,eAAO,MAAM,gBAAgB,EAAE,eAmC9B,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CelebrationEvent } from '../models/celebration';
|
|
2
|
+
/** Options for building the Halloween event. */
|
|
3
|
+
export interface HalloweenEventOptions {
|
|
4
|
+
/** Optional soundtrack for the train scene; silent when omitted. */
|
|
5
|
+
trainSoundtrackUrl?: string;
|
|
6
|
+
}
|
|
7
|
+
/** Returns the Halloween celebration event. */
|
|
8
|
+
export declare const createHalloweenEvent: ({ trainSoundtrackUrl, }?: HalloweenEventOptions) => CelebrationEvent;
|
|
9
|
+
/** The Halloween event with default options. */
|
|
10
|
+
export declare const halloweenEvent: CelebrationEvent;
|
|
11
|
+
//# sourceMappingURL=event.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../src/halloween/event.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAe9D,gDAAgD;AAChD,MAAM,WAAW,qBAAqB;IACpC,oEAAoE;IACpE,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAqBD,+CAA+C;AAC/C,eAAO,MAAM,oBAAoB,GAAI,0BAElC,qBAA0B,KAAG,gBAwB9B,CAAC;AAEH,gDAAgD;AAChD,eAAO,MAAM,cAAc,kBAAyB,CAAC"}
|