@epam/ai-dial-celebrations 1.3.0-dev.234 → 1.3.0-dev.241
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/halloween.js +3158 -3333
- package/index.css +1 -1
- package/models/lottie-scene.d.ts +7 -0
- package/models/lottie-scene.d.ts.map +1 -1
- package/new-year/components/NewYear/NewYearSceneOverlay.d.ts.map +1 -1
- package/new-year/components/NewYearSnowmanDelivery/NewYearSnowmanDelivery.d.ts +5 -0
- package/new-year/components/NewYearSnowmanDelivery/NewYearSnowmanDelivery.d.ts.map +1 -0
- package/new-year/components/NewYearSnowmanDelivery/SnowmanDeliveryStill.d.ts +4 -0
- package/new-year/components/NewYearSnowmanDelivery/SnowmanDeliveryStill.d.ts.map +1 -0
- package/new-year/constants/labels.d.ts +1 -0
- package/new-year/constants/labels.d.ts.map +1 -1
- package/new-year/constants/new-year.d.ts +2 -2
- package/new-year/constants/new-year.d.ts.map +1 -1
- package/new-year/event.d.ts.map +1 -1
- package/new-year/models/labels.d.ts +2 -0
- package/new-year/models/labels.d.ts.map +1 -1
- package/new-year/types/new-year.d.ts +16 -1
- package/new-year/types/new-year.d.ts.map +1 -1
- package/new-year/utils/snowman-delivery-animation.d.ts +7 -0
- package/new-year/utils/snowman-delivery-animation.d.ts.map +1 -0
- package/new-year/utils/snowman-delivery-art.d.ts +96 -0
- package/new-year/utils/snowman-delivery-art.d.ts.map +1 -0
- package/new-year/utils/snowman-delivery-card.d.ts +12 -0
- package/new-year/utils/snowman-delivery-card.d.ts.map +1 -0
- package/new-year/utils/snowman-delivery-composition.d.ts +161 -0
- package/new-year/utils/snowman-delivery-composition.d.ts.map +1 -0
- package/new-year/utils/snowman-delivery-rig.d.ts +87 -0
- package/new-year/utils/snowman-delivery-rig.d.ts.map +1 -0
- package/new-year/utils/snowman-delivery-targets.d.ts +65 -0
- package/new-year/utils/snowman-delivery-targets.d.ts.map +1 -0
- package/new-year/utils/snowman-delivery-timeline.d.ts +47 -0
- package/new-year/utils/snowman-delivery-timeline.d.ts.map +1 -0
- package/new-year.js +2123 -586
- package/package.json +2 -2
- package/scene-targets-BgiQPucY.js +184 -0
- package/utils/lottie-scene-session.d.ts.map +1 -1
- package/useReducedMotion-BWIeAFB_.js +0 -8
package/new-year.js
CHANGED
|
@@ -1,101 +1,102 @@
|
|
|
1
1
|
import { n as e } from "./rolldown-runtime-VHNaYcLd.js";
|
|
2
2
|
import { i as t, n } from "./CelebrationEnvironmentContext-BxzY78Zg.js";
|
|
3
|
-
import {
|
|
4
|
-
import { mergeClasses as
|
|
5
|
-
import { memo as
|
|
6
|
-
import { Fragment as
|
|
7
|
-
import { GhostIconButton as
|
|
3
|
+
import { c as r, n as i, s as a, t as o } from "./scene-targets-BgiQPucY.js";
|
|
4
|
+
import { mergeClasses as s } from "@epam/ai-dial-chat-shared";
|
|
5
|
+
import { memo as c, useCallback as l, useEffect as u, useId as d, useRef as f, useState as p } from "react";
|
|
6
|
+
import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
7
|
+
import { GhostIconButton as _ } from "@epam/ai-dial-ui-kit";
|
|
8
8
|
//#region src/new-year/assets/new-year-logo.svg
|
|
9
|
-
var
|
|
9
|
+
var v = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%20fill='none'%3e%3cdefs%3e%3clinearGradient%20id='box'%20x1='14'%20y1='24'%20x2='52'%20y2='59'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2357988d'/%3e%3cstop%20offset='1'%20stop-color='%23184654'/%3e%3c/linearGradient%3e%3clinearGradient%20id='ribbon'%20x1='25'%20y1='9'%20x2='39'%20y2='59'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23fff1ba'/%3e%3cstop%20offset='1'%20stop-color='%23d6a449'/%3e%3c/linearGradient%3e%3c/defs%3e%3cpath%20d='M32%2024C7%2028%2013%206%2020%209c6%201%2012%2015%2012%2015Zm0%200C57%2028%2051%206%2044%209c-6%201-12%2015-12%2015Z'%20fill='url(%23ribbon)'%20stroke='%23e0be73'/%3e%3crect%20x='11'%20y='28'%20width='42'%20height='30'%20rx='4'%20fill='url(%23box)'%20stroke='%23a5cfc4'%20stroke-width='.8'/%3e%3crect%20x='8'%20y='24'%20width='48'%20height='12'%20rx='3'%20fill='url(%23box)'%20stroke='%23a5cfc4'%20stroke-width='.8'/%3e%3cpath%20d='M27%2024h10v34H27z'%20fill='url(%23ribbon)'/%3e%3cpath%20d='m49%202%201.4%204.6L55%208l-4.6%201.4L49%2014l-1.4-4.6L43%208l4.6-1.4ZM9%208l1%203%203%201-3%201-1%203-1-3-3-1%203-1Z'%20fill='%23f4d589'/%3e%3cpath%20d='m19%2041%201%203%203%201-3%201-1%203-1-3-3-1%203-1Zm26%203%201%203%203%201-3%201-1%203-1-3-3-1%203-1Z'%20fill='%23aad9ce'/%3e%3c/svg%3e", y = {
|
|
10
10
|
penguinStarToastMessage: "Every tree deserves a star. Send \"{{phrase}}\" in the start-page chat for a secret surprise.",
|
|
11
11
|
giftWrappingToastMessage: "Some gifts have a mind of their own. Send \"{{phrase}}\" in the start-page chat for a secret surprise.",
|
|
12
|
+
snowmanDeliveryToastMessage: "Delivered in one piece, almost. Send \"{{phrase}}\" in the start-page chat for a secret surprise.",
|
|
12
13
|
toastTitle: "Happy New Year!",
|
|
13
14
|
giftLabel: "New Year gift"
|
|
14
|
-
},
|
|
15
|
+
}, b = {
|
|
15
16
|
garland: "_garland_lgd31_1",
|
|
16
17
|
giftButton: "_giftButton_lgd31_11",
|
|
17
18
|
giftLid: "_giftLid_lgd31_27"
|
|
18
|
-
},
|
|
19
|
-
let e =
|
|
20
|
-
return /* @__PURE__ */
|
|
19
|
+
}, x = () => {
|
|
20
|
+
let e = d();
|
|
21
|
+
return /* @__PURE__ */ g("svg", {
|
|
21
22
|
viewBox: "0 0 100 100",
|
|
22
23
|
"aria-hidden": "true",
|
|
23
24
|
focusable: "false",
|
|
24
25
|
children: [
|
|
25
|
-
/* @__PURE__ */
|
|
26
|
+
/* @__PURE__ */ g("defs", { children: [/* @__PURE__ */ g("linearGradient", {
|
|
26
27
|
id: `${e}-box`,
|
|
27
28
|
x2: "0.8",
|
|
28
29
|
y2: "1",
|
|
29
30
|
children: [
|
|
30
|
-
/* @__PURE__ */
|
|
31
|
-
/* @__PURE__ */
|
|
31
|
+
/* @__PURE__ */ h("stop", { stopColor: "#477f81" }),
|
|
32
|
+
/* @__PURE__ */ h("stop", {
|
|
32
33
|
offset: "0.48",
|
|
33
34
|
stopColor: "#23575d"
|
|
34
35
|
}),
|
|
35
|
-
/* @__PURE__ */
|
|
36
|
+
/* @__PURE__ */ h("stop", {
|
|
36
37
|
offset: "1",
|
|
37
38
|
stopColor: "#123b4b"
|
|
38
39
|
})
|
|
39
40
|
]
|
|
40
|
-
}), /* @__PURE__ */
|
|
41
|
+
}), /* @__PURE__ */ g("linearGradient", {
|
|
41
42
|
id: `${e}-ribbon`,
|
|
42
43
|
x2: "0.4",
|
|
43
44
|
y2: "1",
|
|
44
45
|
children: [
|
|
45
|
-
/* @__PURE__ */
|
|
46
|
-
/* @__PURE__ */
|
|
46
|
+
/* @__PURE__ */ h("stop", { stopColor: "#ffefb5" }),
|
|
47
|
+
/* @__PURE__ */ h("stop", {
|
|
47
48
|
offset: "0.55",
|
|
48
49
|
stopColor: "#e9b85d"
|
|
49
50
|
}),
|
|
50
|
-
/* @__PURE__ */
|
|
51
|
+
/* @__PURE__ */ h("stop", {
|
|
51
52
|
offset: "1",
|
|
52
53
|
stopColor: "#a96b28"
|
|
53
54
|
})
|
|
54
55
|
]
|
|
55
56
|
})] }),
|
|
56
|
-
/* @__PURE__ */
|
|
57
|
+
/* @__PURE__ */ h("ellipse", {
|
|
57
58
|
cx: "51",
|
|
58
59
|
cy: "91",
|
|
59
60
|
rx: "34",
|
|
60
61
|
ry: "5",
|
|
61
62
|
fill: "#173b4826"
|
|
62
63
|
}),
|
|
63
|
-
/* @__PURE__ */
|
|
64
|
+
/* @__PURE__ */ h("path", {
|
|
64
65
|
d: "M17 44H83V82Q83 88 77 88H23Q17 88 17 82Z",
|
|
65
66
|
fill: `url(#${e}-box)`,
|
|
66
67
|
stroke: "#85b4b0",
|
|
67
68
|
strokeWidth: "0.8"
|
|
68
69
|
}),
|
|
69
|
-
/* @__PURE__ */
|
|
70
|
+
/* @__PURE__ */ h("path", {
|
|
70
71
|
d: "M42 44H58V88H42Z",
|
|
71
72
|
fill: `url(#${e}-ribbon)`
|
|
72
73
|
}),
|
|
73
|
-
/* @__PURE__ */
|
|
74
|
+
/* @__PURE__ */ h("path", {
|
|
74
75
|
d: "M18 55H82",
|
|
75
76
|
stroke: "#071f38",
|
|
76
77
|
strokeOpacity: "0.35",
|
|
77
78
|
strokeWidth: "3"
|
|
78
79
|
}),
|
|
79
|
-
/* @__PURE__ */
|
|
80
|
-
className:
|
|
80
|
+
/* @__PURE__ */ g("g", {
|
|
81
|
+
className: b.giftLid,
|
|
81
82
|
children: [
|
|
82
|
-
/* @__PURE__ */
|
|
83
|
+
/* @__PURE__ */ h("path", {
|
|
83
84
|
d: "M51 31Q14 36 23 13Q31 3 51 31Z",
|
|
84
85
|
fill: `url(#${e}-ribbon)`,
|
|
85
86
|
stroke: "#fbe0a1",
|
|
86
87
|
strokeWidth: "0.9"
|
|
87
88
|
}),
|
|
88
|
-
/* @__PURE__ */
|
|
89
|
+
/* @__PURE__ */ h("path", {
|
|
89
90
|
d: "M49 31Q86 36 77 13Q69 3 49 31Z",
|
|
90
91
|
fill: `url(#${e}-ribbon)`,
|
|
91
92
|
stroke: "#fbe0a1",
|
|
92
93
|
strokeWidth: "0.9"
|
|
93
94
|
}),
|
|
94
|
-
/* @__PURE__ */
|
|
95
|
+
/* @__PURE__ */ h("path", {
|
|
95
96
|
d: "M46 28Q27 28 29 17Q33 14 46 28M54 28Q73 28 71 17Q67 14 54 28",
|
|
96
97
|
fill: "#aa732f"
|
|
97
98
|
}),
|
|
98
|
-
/* @__PURE__ */
|
|
99
|
+
/* @__PURE__ */ h("rect", {
|
|
99
100
|
x: "12",
|
|
100
101
|
y: "32",
|
|
101
102
|
width: "76",
|
|
@@ -105,11 +106,11 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
105
106
|
stroke: "#9ac7bd",
|
|
106
107
|
strokeWidth: "0.8"
|
|
107
108
|
}),
|
|
108
|
-
/* @__PURE__ */
|
|
109
|
+
/* @__PURE__ */ h("path", {
|
|
109
110
|
d: "M41 32H59V51H41Z",
|
|
110
111
|
fill: `url(#${e}-ribbon)`
|
|
111
112
|
}),
|
|
112
|
-
/* @__PURE__ */
|
|
113
|
+
/* @__PURE__ */ h("rect", {
|
|
113
114
|
x: "44",
|
|
114
115
|
y: "26",
|
|
115
116
|
width: "12",
|
|
@@ -119,34 +120,34 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
119
120
|
})
|
|
120
121
|
]
|
|
121
122
|
}),
|
|
122
|
-
/* @__PURE__ */
|
|
123
|
+
/* @__PURE__ */ h("path", {
|
|
123
124
|
d: "M27 62L29 68L35 70L29 72L27 78L25 72L19 70L25 68Z",
|
|
124
125
|
fill: "#a6ddd1",
|
|
125
126
|
opacity: "0.65"
|
|
126
127
|
}),
|
|
127
|
-
/* @__PURE__ */
|
|
128
|
+
/* @__PURE__ */ h("path", {
|
|
128
129
|
d: "M73 60L75 65L80 67L75 69L73 74L71 69L66 67L71 65Z",
|
|
129
130
|
fill: "#a6ddd1",
|
|
130
131
|
opacity: "0.55"
|
|
131
132
|
})
|
|
132
133
|
]
|
|
133
134
|
});
|
|
134
|
-
},
|
|
135
|
+
}, ee = c(({ onActivate: e }) => {
|
|
135
136
|
let { labels: r } = n();
|
|
136
|
-
return /* @__PURE__ */
|
|
137
|
-
className:
|
|
137
|
+
return /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ g("svg", {
|
|
138
|
+
className: b.garland,
|
|
138
139
|
viewBox: "0 0 1200 60",
|
|
139
140
|
preserveAspectRatio: "none",
|
|
140
141
|
"aria-hidden": "true",
|
|
141
142
|
focusable: "false",
|
|
142
|
-
children: [/* @__PURE__ */
|
|
143
|
+
children: [/* @__PURE__ */ h("path", {
|
|
143
144
|
d: "M0 5Q150 72 300 5Q450 72 600 5Q750 72 900 5Q1050 72 1200 5",
|
|
144
145
|
fill: "none",
|
|
145
146
|
stroke: "#638879",
|
|
146
147
|
strokeWidth: "1.1"
|
|
147
148
|
}), Array.from({ length: 24 }, (e, t) => {
|
|
148
149
|
let n = 25 + t * 50, r = n % 300 / 300, i = 5 + 134 * r * (1 - r);
|
|
149
|
-
return /* @__PURE__ */
|
|
150
|
+
return /* @__PURE__ */ h("ellipse", {
|
|
150
151
|
cx: n,
|
|
151
152
|
cy: i + 5,
|
|
152
153
|
rx: "3",
|
|
@@ -158,29 +159,31 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
158
159
|
][t % 3]
|
|
159
160
|
}, t);
|
|
160
161
|
})]
|
|
161
|
-
}), /* @__PURE__ */
|
|
162
|
+
}), /* @__PURE__ */ h("div", {
|
|
162
163
|
className: "absolute inset-e-2 bottom-2 desktop:inset-e-4 desktop:bottom-4",
|
|
163
|
-
children: /* @__PURE__ */
|
|
164
|
-
className:
|
|
165
|
-
icon: /* @__PURE__ */
|
|
166
|
-
"aria-label": r.giftLabel ??
|
|
164
|
+
children: /* @__PURE__ */ h(_, {
|
|
165
|
+
className: s("focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-focus", b.giftButton, t.trigger),
|
|
166
|
+
icon: /* @__PURE__ */ h(x, {}),
|
|
167
|
+
"aria-label": r.giftLabel ?? y.giftLabel,
|
|
167
168
|
onClick: e
|
|
168
169
|
})
|
|
169
170
|
})] });
|
|
170
|
-
}),
|
|
171
|
-
return e.PenguinStar = "penguin-star", e.GiftWrapping = "gift-wrapping", e;
|
|
172
|
-
}({}),
|
|
171
|
+
}), S = /* @__PURE__ */ function(e) {
|
|
172
|
+
return e.PenguinStar = "penguin-star", e.GiftWrapping = "gift-wrapping", e.SnowmanDelivery = "snowman-delivery", e;
|
|
173
|
+
}({}), te = /* @__PURE__ */ function(e) {
|
|
174
|
+
return e.Ledge = "ledge", e.Rim = "rim", e.RimSled = "rim-sled", e.Platform = "platform", e.Static = "static", e;
|
|
175
|
+
}({}), C = /* @__PURE__ */ function(e) {
|
|
173
176
|
return e.Idle = "idle", e.Loading = "loading", e.Prepared = "prepared", e.Initializing = "initializing", e.Playing = "playing", e.Completed = "completed", e.Cancelled = "cancelled", e.Failed = "failed", e;
|
|
174
|
-
}({}),
|
|
177
|
+
}({}), w = /* @__PURE__ */ function(e) {
|
|
175
178
|
return e.Completed = "completed", e.Cancelled = "cancelled", e.Failed = "failed", e;
|
|
176
|
-
}({}),
|
|
179
|
+
}({}), ne = /* @__PURE__ */ function(e) {
|
|
177
180
|
return e.Transferred = "transferred", e.Shared = "shared", e;
|
|
178
|
-
}({}),
|
|
181
|
+
}({}), T = /* @__PURE__ */ function(e) {
|
|
179
182
|
return e.Idle = "idle", e.Loading = "loading", e.Prepared = "prepared", e.Ended = "ended", e.Failed = "failed", e;
|
|
180
|
-
}({}),
|
|
183
|
+
}({}), E = async () => {
|
|
181
184
|
let { default: t } = await import("./lottie_light-CowwItMl.js").then((t) => /* @__PURE__ */ e(t.default, 1));
|
|
182
185
|
return t;
|
|
183
|
-
},
|
|
186
|
+
}, D = (e, t, n) => {
|
|
184
187
|
let r = e.loadAnimation({
|
|
185
188
|
container: t,
|
|
186
189
|
renderer: "svg",
|
|
@@ -204,25 +207,25 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
204
207
|
throw e;
|
|
205
208
|
}
|
|
206
209
|
return r;
|
|
207
|
-
},
|
|
208
|
-
[
|
|
209
|
-
[
|
|
210
|
-
[
|
|
211
|
-
},
|
|
210
|
+
}, O = {
|
|
211
|
+
[w.Completed]: C.Completed,
|
|
212
|
+
[w.Cancelled]: C.Cancelled,
|
|
213
|
+
[w.Failed]: C.Failed
|
|
214
|
+
}, re = (e) => e === C.Completed || e === C.Cancelled || e === C.Failed, k = (e) => {
|
|
212
215
|
try {
|
|
213
216
|
e();
|
|
214
217
|
} catch {}
|
|
215
|
-
}, A = ({ playback: e, prepare: t, onPrepared: n, onTerminal: r, loadPlayer: i =
|
|
216
|
-
let a =
|
|
217
|
-
if (
|
|
218
|
-
a =
|
|
218
|
+
}, A = ({ playback: e, prepare: t, onPrepared: n, onTerminal: r, loadPlayer: i = E }) => {
|
|
219
|
+
let a = C.Idle, o = !1, s = !1, c, l, u, d, f, p, m, h, g = [], _ = (e) => {
|
|
220
|
+
if (re(a)) return;
|
|
221
|
+
a = O[e];
|
|
219
222
|
let t = u;
|
|
220
223
|
t && k(() => {
|
|
221
224
|
t.style.visibility = "hidden";
|
|
222
|
-
}), clearTimeout(
|
|
225
|
+
}), clearTimeout(p), clearTimeout(m), clearTimeout(h), g.splice(0).reverse().forEach(k);
|
|
223
226
|
let n = d;
|
|
224
227
|
if (n) {
|
|
225
|
-
k(() => n.removeEventListener("DOMLoaded",
|
|
228
|
+
k(() => n.removeEventListener("DOMLoaded", ee)), k(() => n.removeEventListener("enterFrame", x)), k(() => n.removeEventListener("complete", v)), k(() => n.removeEventListener("data_failed", y)), k(() => n.removeEventListener("error", y));
|
|
226
229
|
try {
|
|
227
230
|
n.destroy();
|
|
228
231
|
} catch {
|
|
@@ -230,40 +233,52 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
230
233
|
}
|
|
231
234
|
}
|
|
232
235
|
s || r(e);
|
|
233
|
-
},
|
|
234
|
-
|
|
235
|
-
|
|
236
|
+
}, v = () => _(w.Completed), y = () => _(w.Failed), b = () => _(w.Cancelled), x = () => {
|
|
237
|
+
let t = d, n = e.onPlaybackStarted;
|
|
238
|
+
if (a !== C.Playing || !t || !f || (t.removeEventListener("enterFrame", x), !n)) return;
|
|
239
|
+
let r = document.timeline?.currentTime, i = typeof r == "number" ? r : performance.now();
|
|
240
|
+
try {
|
|
241
|
+
n({
|
|
242
|
+
...f,
|
|
243
|
+
timelineZeroMs: i - t.currentFrame / t.frameRate * 1e3
|
|
244
|
+
});
|
|
245
|
+
} catch {
|
|
246
|
+
y();
|
|
247
|
+
}
|
|
248
|
+
}, ee = () => {
|
|
249
|
+
if (a === C.Initializing && d) {
|
|
250
|
+
if (!d.isLoaded) y();
|
|
236
251
|
else {
|
|
237
|
-
a =
|
|
252
|
+
a = C.Playing, clearTimeout(m), d.removeEventListener("DOMLoaded", ee), h = setTimeout(v, e.timings.playbackMs), e.onPlaybackStarted && d.addEventListener("enterFrame", x);
|
|
238
253
|
try {
|
|
239
254
|
d.play();
|
|
240
255
|
} catch {
|
|
241
|
-
|
|
256
|
+
y();
|
|
242
257
|
}
|
|
243
258
|
}
|
|
244
259
|
}
|
|
245
|
-
},
|
|
246
|
-
|
|
247
|
-
},
|
|
248
|
-
if (await Promise.resolve(),
|
|
260
|
+
}, S = (e) => {
|
|
261
|
+
re(a) ? k(e) : g.push(e);
|
|
262
|
+
}, te = async () => {
|
|
263
|
+
if (await Promise.resolve(), re(a)) return;
|
|
249
264
|
if (document.hidden) {
|
|
250
|
-
|
|
265
|
+
b();
|
|
251
266
|
return;
|
|
252
267
|
}
|
|
253
|
-
a =
|
|
268
|
+
a = C.Loading, p = setTimeout(y, e.timings.loadTimeoutMs);
|
|
254
269
|
let r;
|
|
255
270
|
try {
|
|
256
271
|
r = await i();
|
|
257
272
|
} catch {
|
|
258
|
-
a ===
|
|
273
|
+
a === C.Loading && y();
|
|
259
274
|
return;
|
|
260
275
|
}
|
|
261
|
-
if (a ===
|
|
262
|
-
if (clearTimeout(
|
|
276
|
+
if (a === C.Loading) {
|
|
277
|
+
if (clearTimeout(p), document.hidden) b();
|
|
263
278
|
else try {
|
|
264
|
-
l = { preparation: t(r) }, c = r, a =
|
|
279
|
+
l = { preparation: t(r) }, c = r, a = C.Prepared, n(l.preparation);
|
|
265
280
|
} catch {
|
|
266
|
-
|
|
281
|
+
y();
|
|
267
282
|
}
|
|
268
283
|
}
|
|
269
284
|
};
|
|
@@ -272,37 +287,35 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
272
287
|
return a;
|
|
273
288
|
},
|
|
274
289
|
start: () => {
|
|
275
|
-
o || (o = !0,
|
|
290
|
+
o || (o = !0, te());
|
|
276
291
|
},
|
|
277
292
|
attach: (t) => {
|
|
278
|
-
if (a !==
|
|
293
|
+
if (a !== C.Prepared || !c || !l) return;
|
|
279
294
|
let { preparation: n } = l;
|
|
280
|
-
u = t, a =
|
|
295
|
+
u = t, a = C.Initializing;
|
|
281
296
|
try {
|
|
282
|
-
let r = e.getAnimationData(n), i = e.ownership ===
|
|
283
|
-
d =
|
|
284
|
-
let o = {
|
|
297
|
+
let r = e.getAnimationData(n), i = e.ownership === ne.Shared ? JSON.parse(JSON.stringify(r)) : r;
|
|
298
|
+
d = D(c, t, i), d.addEventListener("DOMLoaded", ee), d.addEventListener("complete", v), d.addEventListener("data_failed", y), d.addEventListener("error", y), f = {
|
|
285
299
|
preparation: n,
|
|
286
300
|
host: t,
|
|
287
|
-
addDisposer:
|
|
288
|
-
cancel:
|
|
289
|
-
};
|
|
290
|
-
e.onAnimationCreated?.(o), a === x.Initializing && (p = setTimeout(v, e.timings.readyTimeoutMs));
|
|
301
|
+
addDisposer: S,
|
|
302
|
+
cancel: b
|
|
303
|
+
}, e.onAnimationCreated?.(f), a === C.Initializing && (m = setTimeout(y, e.timings.readyTimeoutMs));
|
|
291
304
|
} catch {
|
|
292
|
-
|
|
305
|
+
y();
|
|
293
306
|
}
|
|
294
307
|
},
|
|
295
|
-
cancel:
|
|
308
|
+
cancel: b,
|
|
296
309
|
dispose: () => {
|
|
297
|
-
s = !0,
|
|
310
|
+
s = !0, b();
|
|
298
311
|
}
|
|
299
312
|
};
|
|
300
313
|
}, j = ({ enabled: e, playback: t, prepare: n }) => {
|
|
301
|
-
let [r, i] =
|
|
314
|
+
let [r, i] = p(null), [a, o] = p(!1), [s, c] = p(!1), d = f(null), m = f(null), h = f(n);
|
|
302
315
|
h.current = n;
|
|
303
|
-
let g =
|
|
304
|
-
g.current = t,
|
|
305
|
-
if (!e || a ||
|
|
316
|
+
let g = f(t);
|
|
317
|
+
g.current = t, u(() => {
|
|
318
|
+
if (!e || a || s) return;
|
|
306
319
|
let t = A({
|
|
307
320
|
playback: g.current,
|
|
308
321
|
prepare: (e) => h.current(e),
|
|
@@ -311,7 +324,7 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
311
324
|
preparation: e
|
|
312
325
|
}),
|
|
313
326
|
onTerminal: (e) => {
|
|
314
|
-
e ===
|
|
327
|
+
e === w.Failed ? c(!0) : o(!0);
|
|
315
328
|
}
|
|
316
329
|
});
|
|
317
330
|
return m.current = t, t.start(), () => {
|
|
@@ -320,20 +333,20 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
320
333
|
}, [
|
|
321
334
|
e,
|
|
322
335
|
a,
|
|
323
|
-
|
|
324
|
-
]),
|
|
325
|
-
r &&
|
|
336
|
+
s
|
|
337
|
+
]), u(() => {
|
|
338
|
+
r && d.current && r.session.attach(d.current);
|
|
326
339
|
}, [r]);
|
|
327
|
-
let _ =
|
|
328
|
-
|
|
329
|
-
}, []), v =
|
|
330
|
-
return a ? v =
|
|
340
|
+
let _ = l(() => {
|
|
341
|
+
d.current && (d.current.style.visibility = "hidden"), m.current?.cancel(), o(!0);
|
|
342
|
+
}, []), v = T.Idle;
|
|
343
|
+
return a ? v = T.Ended : s ? v = T.Failed : r ? v = T.Prepared : e && (v = T.Loading), {
|
|
331
344
|
phase: v,
|
|
332
345
|
preparation: r?.preparation ?? null,
|
|
333
|
-
hostRef:
|
|
346
|
+
hostRef: d,
|
|
334
347
|
cancel: _
|
|
335
348
|
};
|
|
336
|
-
},
|
|
349
|
+
}, M = {
|
|
337
350
|
master: /* @__PURE__ */ JSON.parse("{\"ty\":\"gr\",\"nm\":\"master\",\"it\":[{\"ty\":\"gr\",\"nm\":\"g-46\",\"it\":[{\"ty\":\"gr\",\"nm\":\"head\",\"it\":[{\"ty\":\"gr\",\"nm\":\"cap\",\"it\":[{\"ty\":\"gr\",\"nm\":\"path-45\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-16.6667,-4.6667],[0,0],[14.6667,-4]],\"o\":[[13.3333,-4],[0,0],[-16,-4],[0,0]],\"v\":[[-23,-100],[22,-99],[23,-91],[-23,-91]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0.9451,0.8471,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"circle-44\",\"it\":[{\"ty\":\"el\",\"p\":{\"a\":0,\"k\":[27,-113]},\"s\":{\"a\":0,\"k\":[10,10]},\"d\":1},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0.8667,0.5373,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-43\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-7.3333,-6],[0,0],[0,0]],\"o\":[[8,-4.6667],[0,0],[0,0],[0,0]],\"v\":[[-16,-111],[7,-109],[14,-100],[-21,-100]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.1451,0.5098,0.4392,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1}]},{\"ty\":\"gr\",\"nm\":\"path-42\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-10,6.6667],[-6.6667,-5.3333],[-4,-1.3333],[-0.6667,-4],[1.3333,-8.6667],[0,0]],\"o\":[[-0.6667,-12.6667],[4.6667,-4],[3.3333,1.3333],[4.6667,0],[-10,-2.6667],[0,0],[0,0]],\"v\":[[-23,-96],[-9,-125],[8,-123],[19,-119],[27,-113],[10,-104],[23,-96]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.2471,0.6824,0.5333,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,-94]},\"a\":{\"a\":0,\"k\":[0,-94]},\"s\":{\"a\":0,\"k\":[100,100]},\"r\":{\"a\":0,\"k\":0},\"o\":{\"a\":0,\"k\":100}}]},{\"ty\":\"gr\",\"nm\":\"path-41\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[-0.6667,4],[-2.6667,-3.3333],[4,0]],\"o\":[[2.6667,-3.3333],[2,4],[-4,0]],\"v\":[[-1,-76],[7,-76],[4,-70]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.9373,0.6941,0.5569,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.2},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-40\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[-18,-72],[-13,-71]],\"c\":false}}},{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[15,-72],[19,-74]],\"c\":false}}},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.9137,0.6157,0.5569,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":3.5},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"annoyed\",\"it\":[{\"ty\":\"gr\",\"nm\":\"path-39\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-6.6667,-2.6667]],\"o\":[[5.3333,-2.6667],[0,0]],\"v\":[[-8,-65],[10,-65]],\"c\":false}}},{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[10,-65],[12,-66]],\"c\":false}}},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":2},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-38\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[-18,-87],[-4,-82]],\"c\":false}}},{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[5,-82],[19,-88]],\"c\":false}}},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":3},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-37\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[-7,-78],[-7,-76]],\"c\":false}}},{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[12,-78],[12,-76]],\"c\":false}}},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":2.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-36\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[3.3333,2]],\"o\":[[0,0],[-3.3333,3.3333],[0,0]],\"v\":[[-16,-80],[-4,-77],[-14,-75]],\"c\":true}}},{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[4.6667,0.6667]],\"o\":[[0,0],[0,5.3333],[0,0]],\"v\":[[5,-77],[17,-81],[10,-74]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0.9765,0.9137,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.2},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0]},\"a\":{\"a\":0,\"k\":[0,0]},\"s\":{\"a\":0,\"k\":[100,100]},\"r\":{\"a\":0,\"k\":0},\"o\":{\"a\":0,\"k\":0}}]},{\"ty\":\"gr\",\"nm\":\"surprise\",\"it\":[{\"ty\":\"gr\",\"nm\":\"ellipse-35\",\"it\":[{\"ty\":\"el\",\"p\":{\"a\":0,\"k\":[2,-65]},\"s\":{\"a\":0,\"k\":[8,10]},\"d\":1},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.4118,0.2549,0.3333,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1}]},{\"ty\":\"gr\",\"nm\":\"path-34\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-4.6667,-3.3333]],\"o\":[[4,-3.3333],[0,0]],\"v\":[[-17,-94],[-4,-94]],\"c\":false}}},{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-4,-3.3333]],\"o\":[[4.6667,-2.6667],[0,0]],\"v\":[[5,-95],[18,-94]],\"c\":false}}},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":2.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-33\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[-9,-84],[-9,-80]],\"c\":false}}},{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[12,-84],[12,-80]],\"c\":false}}},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":2.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-32\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,4],[-4,0],[0,-6],[4,0]],\"o\":[[0,-6],[4,0],[0,4],[-4,0]],\"v\":[[-16,-81],[-10,-90],[-4,-81],[-10,-75]],\"c\":true}}},{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,4],[-4,0],[0,-6],[4,0]],\"o\":[[0,-6],[4,0],[0,4],[-4,0]],\"v\":[[5,-81],[11,-90],[17,-81],[11,-75]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0.9765,0.9137,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.2},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0]},\"a\":{\"a\":0,\"k\":[0,0]},\"s\":{\"a\":0,\"k\":[100,100]},\"r\":{\"a\":0,\"k\":0},\"o\":{\"a\":0,\"k\":0}}]},{\"ty\":\"gr\",\"nm\":\"expression\",\"it\":[{\"ty\":\"gr\",\"nm\":\"path-31\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-7.3333,6]],\"o\":[[6,4],[0,0]],\"v\":[[-9,-67],[11,-70]],\"c\":false}}},{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[9,-70],[13,-71]],\"c\":false}}},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":2},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-30\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-4.6667,-4]],\"o\":[[4,-3.3333],[0,0]],\"v\":[[-18,-88],[-5,-87]],\"c\":false}}},{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[5,-88],[18,-85]],\"c\":false}}},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":2.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-29\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[-7,-80],[-7,-77]],\"c\":false}}},{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[13,-81],[13,-78]],\"c\":false}}},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":3},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-28\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-4,-3.3333],[4,1.3333]],\"o\":[[4,-2.6667],[-2,4.6667],[0,0]],\"v\":[[-16,-81],[-4,-80],[-13,-75]],\"c\":true}}},{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-4,-3.3333],[4,1.3333]],\"o\":[[4,-2.6667],[-1.3333,4.6667],[0,0]],\"v\":[[5,-82],[17,-81],[9,-76]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0.9765,0.9137,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.2},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0]},\"a\":{\"a\":0,\"k\":[0,0]},\"s\":{\"a\":0,\"k\":[100,100]},\"r\":{\"a\":0,\"k\":0},\"o\":{\"a\":0,\"k\":100}}]},{\"ty\":\"gr\",\"nm\":\"path-27\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-15.3333,-6],[0,0],[15.3333,-0.6667],[1.3333,14]],\"o\":[[12,-6.6667],[0,0],[1.3333,14.6667],[-16,0],[0,0]],\"v\":[[-21,-93],[20,-94],[23,-80],[2,-57],[-24,-78]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0.8314,0.6784,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-26\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-4,-8],[0,0],[0,0],[4,8.6667]],\"o\":[[-3.3333,8],[0,0],[0,0],[5.3333,-7.3333],[0,0]],\"v\":[[-23,-93],[-22,-69],[-15,-76],[18,-71],[20,-95]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.9098,0.8667,0.8196,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1}]},{\"ty\":\"gr\",\"nm\":\"path-25\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[-25,-86],[-20,-81]],\"c\":false}}},{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[25,-85],[20,-80]],\"c\":false}}},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.7765,0.4902,0.4745,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":2},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-24\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[-7.3333,-2]],\"o\":[[0,0],[-0.6667,9.3333],[0,0]],\"v\":[[-18,-87],[-29,-93],[-19,-76]],\"c\":false}}},{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[7.3333,-2.6667]],\"o\":[[0,0],[0.6667,8.6667],[0,0]],\"v\":[[18,-87],[29,-92],[19,-75]],\"c\":false}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.949,0.7216,0.5765,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,-66]},\"a\":{\"a\":0,\"k\":[0,-66]},\"s\":{\"a\":0,\"k\":[100,100]},\"r\":{\"a\":0,\"k\":0},\"o\":{\"a\":0,\"k\":100}}]},{\"ty\":\"gr\",\"nm\":\"g-23\",\"it\":[{\"ty\":\"gr\",\"nm\":\"upper-arm\",\"it\":[{\"ty\":\"gr\",\"nm\":\"g-22\",\"it\":[{\"ty\":\"gr\",\"nm\":\"forearm\",\"it\":[{\"ty\":\"gr\",\"nm\":\"path-21\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[12,-5],[13,5]],\"c\":false}}},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[1,0.9451,0.8471,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":4},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-20\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-2.6667,-1.3333],[0,0],[0,-4],[4.6667,0],[0,0]],\"o\":[[0.6667,-4],[0,0],[4,-0.6667],[0.6667,4.6667],[0,0],[0,0]],\"v\":[[13,-5],[18,-9],[20,-5],[26,0],[20,7],[13,4]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0.9451,0.8471,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-19\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-6,-1.3333]],\"o\":[[5.3333,-1.3333],[0,0]],\"v\":[[-3,-5],[14,-5]],\"c\":false}}},{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-6,1.3333]],\"o\":[[5.3333,1.3333],[0,0]],\"v\":[[-3,5],[14,5]],\"c\":false}}},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-18\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[-2,3.3333],[-7.3333,-2],[0,0],[6,2]],\"o\":[[6,-2],[0,0],[-7.3333,2],[-2,-3.3333]],\"v\":[[-6,-5],[14,-5],[14,5],[-6,5]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.2471,0.6824,0.5333,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1}]},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0]},\"a\":{\"a\":0,\"k\":[0,0]},\"s\":{\"a\":0,\"k\":[100,100]},\"r\":{\"a\":0,\"k\":0},\"o\":{\"a\":0,\"k\":100}}]},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[18,0]},\"a\":{\"a\":0,\"k\":[0,0]},\"s\":{\"a\":0,\"k\":[100,100]},\"r\":{\"a\":0,\"k\":0},\"o\":{\"a\":0,\"k\":100}}]},{\"ty\":\"gr\",\"nm\":\"path-17\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-9.3333,-2.6667]],\"o\":[[6,-2.6667],[0,0]],\"v\":[[-5,-6],[18,-6]],\"c\":false}}},{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-9.3333,2.6667]],\"o\":[[6,2.6667],[0,0]],\"v\":[[-5,6],[18,6]],\"c\":false}}},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-16\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-9.3333,-2.6667],[4,-4],[6,2.6667]],\"o\":[[6,-2.6667],[4,4],[-9.3333,2.6667],[0,0]],\"v\":[[-5,-6],[18,-6],[18,6],[-5,6]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.2471,0.6824,0.5333,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1}]},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0]},\"a\":{\"a\":0,\"k\":[0,0]},\"s\":{\"a\":0,\"k\":[100,100]},\"r\":{\"a\":0,\"k\":0},\"o\":{\"a\":0,\"k\":100}}]},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[17,-56]},\"a\":{\"a\":0,\"k\":[0,0]},\"s\":{\"a\":0,\"k\":[100,100]},\"r\":{\"a\":0,\"k\":0},\"o\":{\"a\":0,\"k\":100}}]},{\"ty\":\"gr\",\"nm\":\"circle-15\",\"it\":[{\"ty\":\"el\",\"p\":{\"a\":0,\"k\":[1,-43]},\"s\":{\"a\":0,\"k\":[5,5]},\"d\":1},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0.8588,0.4902,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1}]},{\"ty\":\"gr\",\"nm\":\"path-14\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[10,3.3333],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[-10.6667,3.3333]],\"v\":[[-15,-61],[-8,-51],[0,-58],[8,-51],[16,-61]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0.9451,0.8471,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1}]},{\"ty\":\"gr\",\"nm\":\"rect-13\",\"it\":[{\"ty\":\"rc\",\"p\":{\"a\":0,\"k\":[1.5,-28]},\"s\":{\"a\":0,\"k\":[11,10]},\"r\":{\"a\":0,\"k\":2},\"d\":1},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0.8588,0.4902,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1}]},{\"ty\":\"gr\",\"nm\":\"path-12\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-18,4.6667],[0,0],[18,5.3333]],\"o\":[[18,4.6667],[0,0],[-17.3333,5.3333],[0,0]],\"v\":[[-27,-33],[27,-33],[26,-26],[-27,-26]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.3451,0.2667,0.3294,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-11\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[8,7.3333],[12,-5.3333],[0,0]],\"o\":[[5.3333,15.3333],[0,0],[2,-11.3333]],\"v\":[[15,-54],[5,-23],[24,-26]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.1451,0.5098,0.4392,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1}]},{\"ty\":\"gr\",\"nm\":\"path-10\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[-8,9.3333],[-13.3333,-6.6667],[2,-14.6667],[18.6667,8]],\"o\":[[10.6667,-6.6667],[7.3333,10],[-16.6667,7.3333],[-2,-14.6667]],\"v\":[[-18,-60],[18,-60],[26,-23],[-27,-24]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.2471,0.6824,0.5333,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"ellipse-9\",\"it\":[{\"ty\":\"el\",\"p\":{\"a\":0,\"k\":[-25,-35]},\"s\":{\"a\":0,\"k\":[14,16]},\"d\":1},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0.9451,0.8471,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-8\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,-12],[0,0],[0,0]],\"o\":[[-8,1.3333],[0,0],[0,0],[0,0]],\"v\":[[-17,-57],[-29,-37],[-18,-32],[-11,-48]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.1451,0.5098,0.4392,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"leg-1\",\"it\":[{\"ty\":\"gr\",\"nm\":\"path-7\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-4,-4],[-1.3333,4],[8.6667,0],[0,0]],\"o\":[[4.6667,-2],[4.6667,2.6667],[2.6667,6.6667],[0,0],[0,0]],\"v\":[[5,-8],[18,-5],[27,-7],[18,3],[3,3]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.1922,0.3451,0.3882,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-6\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[7,-17],[16,-17]],\"c\":false}}},{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[8,-10],[16,-10]],\"c\":false}}},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.1451,0.5098,0.4392,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":3},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-5\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0]],\"v\":[[5,-26],[7,-6],[17,-6],[18,-26]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0.9451,0.8471,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[10,-22]},\"a\":{\"a\":0,\"k\":[10,-22]},\"s\":{\"a\":0,\"k\":[100,100]},\"r\":{\"a\":0,\"k\":0},\"o\":{\"a\":0,\"k\":100}}]},{\"ty\":\"gr\",\"nm\":\"leg-0\",\"it\":[{\"ty\":\"gr\",\"nm\":\"path-4\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-4,-4],[-1.3333,4],[9.3333,0],[0,0]],\"o\":[[4.6667,-2],[4.6667,2.6667],[3.3333,6.6667],[0,0],[0,0]],\"v\":[[-19,-8],[-6,-5],[3,-7],[-6,3],[-23,3]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.1922,0.3451,0.3882,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-3\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[-16,-17],[-7,-17]],\"c\":false}}},{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[-16,-10],[-8,-10]],\"c\":false}}},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.1451,0.5098,0.4392,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":3},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-2\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0]],\"v\":[[-18,-26],[-17,-6],[-7,-6],[-5,-26]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0.9451,0.8471,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[-10,-22]},\"a\":{\"a\":0,\"k\":[-10,-22]},\"s\":{\"a\":0,\"k\":[100,100]},\"r\":{\"a\":0,\"k\":0},\"o\":{\"a\":0,\"k\":100}}]},{\"ty\":\"gr\",\"nm\":\"ellipse-1\",\"it\":[{\"ty\":\"el\",\"p\":{\"a\":0,\"k\":[0,2]},\"s\":{\"a\":0,\"k\":[52,4]},\"d\":1},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.0902,0.1765,0.1882,1]},\"o\":{\"a\":0,\"k\":20},\"r\":1}]}]},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0]},\"a\":{\"a\":0,\"k\":[0,0]},\"s\":{\"a\":0,\"k\":[100,100]},\"r\":{\"a\":0,\"k\":0},\"o\":{\"a\":0,\"k\":100}}]}"),
|
|
338
351
|
helper: /* @__PURE__ */ JSON.parse("{\"ty\":\"gr\",\"nm\":\"helper\",\"it\":[{\"ty\":\"gr\",\"nm\":\"g-50\",\"it\":[{\"ty\":\"gr\",\"nm\":\"head\",\"it\":[{\"ty\":\"gr\",\"nm\":\"cap\",\"it\":[{\"ty\":\"gr\",\"nm\":\"path-49\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-16.6667,-4.6667],[0,0],[14.6667,-4]],\"o\":[[13.3333,-4],[0,0],[-16,-4],[0,0]],\"v\":[[-23,-100],[22,-99],[23,-91],[-23,-91]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0.9451,0.8471,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"circle-48\",\"it\":[{\"ty\":\"el\",\"p\":{\"a\":0,\"k\":[29,-110]},\"s\":{\"a\":0,\"k\":[10,10]},\"d\":1},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0.8667,0.5373,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-47\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-7.3333,-6],[0,0],[0,0]],\"o\":[[7.3333,-2],[0,0],[0,0],[0,0]],\"v\":[[-13,-111],[9,-105],[15,-99],[-18,-99]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.7804,0.3098,0.3804,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1}]},{\"ty\":\"gr\",\"nm\":\"path-46\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[-8,-5.3333],[-8,-5.3333],[2.6667,-3.3333],[5.3333,-2.6667],[0,0]],\"o\":[[0,0],[4.6667,-8],[6,-2],[4,2.6667],[-4.6667,-4],[0,0],[0,0]],\"v\":[[-21,-97],[-13,-120],[6,-124],[27,-119],[29,-110],[14,-112],[21,-96]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.9255,0.4667,0.4235,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,-94]},\"a\":{\"a\":0,\"k\":[0,-94]},\"s\":{\"a\":0,\"k\":[100,100]},\"r\":{\"a\":0,\"k\":0},\"o\":{\"a\":0,\"k\":100}}]},{\"ty\":\"gr\",\"nm\":\"path-45\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[-0.6667,4],[-2.6667,-3.3333],[4,0]],\"o\":[[2.6667,-3.3333],[2,4],[-4,0]],\"v\":[[-1,-76],[7,-76],[4,-70]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.9373,0.6941,0.5569,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.2},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-44\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[-18,-72],[-13,-71]],\"c\":false}}},{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[15,-72],[19,-74]],\"c\":false}}},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.9137,0.6157,0.5569,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":3.5},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"surprise\",\"it\":[{\"ty\":\"gr\",\"nm\":\"ellipse-43\",\"it\":[{\"ty\":\"el\",\"p\":{\"a\":0,\"k\":[2,-65]},\"s\":{\"a\":0,\"k\":[8,10]},\"d\":1},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.4118,0.2549,0.3333,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1}]},{\"ty\":\"gr\",\"nm\":\"path-42\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-4.6667,-3.3333]],\"o\":[[4,-3.3333],[0,0]],\"v\":[[-17,-94],[-4,-94]],\"c\":false}}},{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-4,-3.3333]],\"o\":[[4.6667,-2.6667],[0,0]],\"v\":[[5,-95],[18,-94]],\"c\":false}}},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":2.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-41\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[-9,-84],[-9,-80]],\"c\":false}}},{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[12,-84],[12,-80]],\"c\":false}}},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":2.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-40\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,4],[-4,0],[0,-6],[4,0]],\"o\":[[0,-6],[4,0],[0,4],[-4,0]],\"v\":[[-16,-81],[-10,-90],[-4,-81],[-10,-75]],\"c\":true}}},{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,4],[-4,0],[0,-6],[4,0]],\"o\":[[0,-6],[4,0],[0,4],[-4,0]],\"v\":[[5,-81],[11,-90],[17,-81],[11,-75]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0.9765,0.9137,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.2},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0]},\"a\":{\"a\":0,\"k\":[0,0]},\"s\":{\"a\":0,\"k\":[100,100]},\"r\":{\"a\":0,\"k\":0},\"o\":{\"a\":0,\"k\":0}}]},{\"ty\":\"gr\",\"nm\":\"expression\",\"it\":[{\"ty\":\"gr\",\"nm\":\"path-39\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0]],\"v\":[[-6,-69],[-3,-65],[7,-65],[10,-69]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0.9765,0.9137,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1}]},{\"ty\":\"gr\",\"nm\":\"path-38\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[3.3333,6.6667],[-8,4.6667],[7.3333,1.3333]],\"o\":[[8,4],[-0.6667,8.6667],[-4.6667,0]],\"v\":[[-10,-70],[14,-71],[2,-60]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.4118,0.2549,0.3333,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1}]},{\"ty\":\"gr\",\"nm\":\"path-37\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-4.6667,-4]],\"o\":[[3.3333,-4],[0,0]],\"v\":[[-17,-91],[-5,-91]],\"c\":false}}},{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-4,-5.3333]],\"o\":[[5.3333,-3.3333],[0,0]],\"v\":[[5,-93],[19,-90]],\"c\":false}}},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":2.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-36\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[-8,-83],[-8,-79]],\"c\":false}}},{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[12,-84],[12,-80]],\"c\":false}}},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":3},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-35\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0.6667,5.3333],[-3.3333,-3.3333],[3.3333,-2.6667]],\"o\":[[2,-6],[2.6667,4],[-4,1.3333]],\"v\":[[-15,-82],[-7,-86],[-8,-76]],\"c\":true}}},{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,5.3333],[-3.3333,-4.6667],[4.6667,0]],\"o\":[[4,-4.6667],[1.3333,5.3333],[-4,0]],\"v\":[[5,-85],[16,-85],[11,-77]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0.9765,0.9137,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.2},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0]},\"a\":{\"a\":0,\"k\":[0,0]},\"s\":{\"a\":0,\"k\":[100,100]},\"r\":{\"a\":0,\"k\":0},\"o\":{\"a\":0,\"k\":100}}]},{\"ty\":\"gr\",\"nm\":\"path-34\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-13.3333,-6.6667],[0,0],[12,0],[2,12]],\"o\":[[10.6667,-7.3333],[0,0],[-1.3333,14],[-12,0],[0,0]],\"v\":[[-18,-93],[18,-94],[21,-79],[1,-58],[-20,-76]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0.8314,0.6784,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-33\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-3.3333,-8.6667],[0,0],[0,0],[4.6667,8]],\"o\":[[-4,5.3333],[0,0],[0,0],[6,-6.6667],[0,0]],\"v\":[[-20,-94],[-21,-73],[-14,-79],[16,-74],[18,-96]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.5098,0.2902,0.2392,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1}]},{\"ty\":\"gr\",\"nm\":\"path-32\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[-25,-86],[-20,-81]],\"c\":false}}},{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[25,-85],[20,-80]],\"c\":false}}},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.7765,0.4902,0.4745,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":2},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-31\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[-7.3333,-2]],\"o\":[[0,0],[-0.6667,9.3333],[0,0]],\"v\":[[-18,-87],[-29,-93],[-19,-76]],\"c\":false}}},{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[7.3333,-2.6667]],\"o\":[[0,0],[0.6667,8.6667],[0,0]],\"v\":[[18,-87],[29,-92],[19,-75]],\"c\":false}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.949,0.7216,0.5765,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,-66]},\"a\":{\"a\":0,\"k\":[0,-66]},\"s\":{\"a\":0,\"k\":[100,100]},\"r\":{\"a\":0,\"k\":0},\"o\":{\"a\":0,\"k\":100}}]},{\"ty\":\"gr\",\"nm\":\"g-30\",\"it\":[{\"ty\":\"gr\",\"nm\":\"upper-arm\",\"it\":[{\"ty\":\"gr\",\"nm\":\"g-29\",\"it\":[{\"ty\":\"gr\",\"nm\":\"forearm\",\"it\":[{\"ty\":\"gr\",\"nm\":\"path-28\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[12,-5],[13,5]],\"c\":false}}},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[1,0.9451,0.8471,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":4},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-27\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-2.6667,-1.3333],[0,0],[0,-4],[4.6667,0],[0,0]],\"o\":[[0.6667,-4],[0,0],[4,-0.6667],[0.6667,4.6667],[0,0],[0,0]],\"v\":[[13,-5],[18,-9],[20,-5],[26,0],[20,7],[13,4]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0.9451,0.8471,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-26\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-6,-1.3333]],\"o\":[[5.3333,-1.3333],[0,0]],\"v\":[[-3,-5],[14,-5]],\"c\":false}}},{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-6,1.3333]],\"o\":[[5.3333,1.3333],[0,0]],\"v\":[[-3,5],[14,5]],\"c\":false}}},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-25\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[-2,3.3333],[-7.3333,-2],[0,0],[6,2]],\"o\":[[6,-2],[0,0],[-7.3333,2],[-2,-3.3333]],\"v\":[[-6,-5],[14,-5],[14,5],[-6,5]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.9255,0.4667,0.4235,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1}]},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0]},\"a\":{\"a\":0,\"k\":[0,0]},\"s\":{\"a\":0,\"k\":[100,100]},\"r\":{\"a\":0,\"k\":0},\"o\":{\"a\":0,\"k\":100}}]},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[18,0]},\"a\":{\"a\":0,\"k\":[0,0]},\"s\":{\"a\":0,\"k\":[100,100]},\"r\":{\"a\":0,\"k\":0},\"o\":{\"a\":0,\"k\":100}}]},{\"ty\":\"gr\",\"nm\":\"path-24\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-9.3333,-2.6667]],\"o\":[[6,-2.6667],[0,0]],\"v\":[[-5,-6],[18,-6]],\"c\":false}}},{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-9.3333,2.6667]],\"o\":[[6,2.6667],[0,0]],\"v\":[[-5,6],[18,6]],\"c\":false}}},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-23\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-9.3333,-2.6667],[4,-4],[6,2.6667]],\"o\":[[6,-2.6667],[4,4],[-9.3333,2.6667],[0,0]],\"v\":[[-5,-6],[18,-6],[18,6],[-5,6]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.9255,0.4667,0.4235,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1}]},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0]},\"a\":{\"a\":0,\"k\":[0,0]},\"s\":{\"a\":0,\"k\":[100,100]},\"r\":{\"a\":0,\"k\":0},\"o\":{\"a\":0,\"k\":100}}]},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[17,-56]},\"a\":{\"a\":0,\"k\":[0,0]},\"s\":{\"a\":0,\"k\":[100,100]},\"r\":{\"a\":0,\"k\":0},\"o\":{\"a\":0,\"k\":100}}]},{\"ty\":\"gr\",\"nm\":\"g-22\",\"it\":[{\"ty\":\"gr\",\"nm\":\"path-21\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,4.6667],[-2.6667,0],[0,-2.6667],[0,0],[3.3333,-1.3333]],\"o\":[[-0.6667,-4],[2,0],[0,0],[1.3333,4],[-4.6667,0.6667]],\"v\":[[-5,-1],[-2,-7],[1,-3],[5,-3],[2,5]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0.9451,0.8471,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"reel\",\"it\":[{\"ty\":\"gr\",\"nm\":\"g-20\",\"it\":[{\"ty\":\"gr\",\"nm\":\"ellipse-19\",\"it\":[{\"ty\":\"el\",\"p\":{\"a\":0,\"k\":[9,0]},\"s\":{\"a\":0,\"k\":[6,20]},\"d\":1},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.898,0.7255,0.5098,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2863,0.2118,0.2863,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"ellipse-18\",\"it\":[{\"ty\":\"el\",\"p\":{\"a\":0,\"k\":[-9,0]},\"s\":{\"a\":0,\"k\":[6,20]},\"d\":1},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.7255,0.4745,0.3412,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2863,0.2118,0.2863,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-17\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[-3,-6],[-3,6]],\"c\":false}}},{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[3,-6],[3,6]],\"c\":false}}},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[1,0.9412,0.7294,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-16\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0]],\"v\":[[-8,-7],[8,-7],[8,7],[-8,7]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.9373,0.7412,0.3882,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2863,0.2118,0.2863,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]}]},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0]},\"a\":{\"a\":0,\"k\":[0,0]},\"s\":{\"a\":0,\"k\":[100,100]},\"r\":{\"a\":0,\"k\":0},\"o\":{\"a\":0,\"k\":100}}]},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[-25,-35]},\"a\":{\"a\":0,\"k\":[0,0]},\"s\":{\"a\":0,\"k\":[100,100]},\"r\":{\"a\":0,\"k\":0},\"o\":{\"a\":0,\"k\":100}}]},{\"ty\":\"gr\",\"nm\":\"circle-15\",\"it\":[{\"ty\":\"el\",\"p\":{\"a\":0,\"k\":[1,-43]},\"s\":{\"a\":0,\"k\":[5,5]},\"d\":1},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0.8588,0.4902,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1}]},{\"ty\":\"gr\",\"nm\":\"path-14\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[10,3.3333],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[-10.6667,3.3333]],\"v\":[[-15,-61],[-8,-51],[0,-58],[8,-51],[16,-61]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0.9451,0.8471,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1}]},{\"ty\":\"gr\",\"nm\":\"rect-13\",\"it\":[{\"ty\":\"rc\",\"p\":{\"a\":0,\"k\":[1.5,-28]},\"s\":{\"a\":0,\"k\":[11,10]},\"r\":{\"a\":0,\"k\":2},\"d\":1},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0.8588,0.4902,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1}]},{\"ty\":\"gr\",\"nm\":\"path-12\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-13.3333,4],[0,0],[14,4.6667]],\"o\":[[14,4],[0,0],[-14,4],[0,0]],\"v\":[[-21,-34],[20,-34],[21,-27],[-21,-28]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.3451,0.2667,0.3294,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-11\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[6.6667,7.3333],[6,-9.3333],[0,0]],\"o\":[[4.6667,11.3333],[0,0],[-0.6667,-11.3333]],\"v\":[[10,-54],[8,-23],[21,-26]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.7804,0.3098,0.3804,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1}]},{\"ty\":\"gr\",\"nm\":\"path-10\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-10.6667,-5.3333],[0,0],[16.6667,6.6667],[0,0]],\"o\":[[9.3333,-4],[0,0],[-11.3333,6.6667],[0,0],[0,0]],\"v\":[[-15,-62],[15,-60],[22,-25],[-20,-25],[-22,-40]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.9255,0.4667,0.4235,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"ellipse-9\",\"it\":[{\"ty\":\"el\",\"p\":{\"a\":0,\"k\":[-25,-35]},\"s\":{\"a\":0,\"k\":[14,16]},\"d\":1},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0.9451,0.8471,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-8\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,-12],[0,0],[0,0]],\"o\":[[-8,1.3333],[0,0],[0,0],[0,0]],\"v\":[[-17,-57],[-29,-37],[-18,-32],[-11,-48]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.7804,0.3098,0.3804,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"leg-1\",\"it\":[{\"ty\":\"gr\",\"nm\":\"path-7\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-4,-4],[-1.3333,4],[8.6667,0],[0,0]],\"o\":[[4.6667,-2],[4.6667,2.6667],[2.6667,6.6667],[0,0],[0,0]],\"v\":[[5,-8],[18,-5],[27,-7],[18,3],[3,3]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.5804,0.2784,0.3765,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-6\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[7,-17],[16,-17]],\"c\":false}}},{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[8,-10],[16,-10]],\"c\":false}}},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.7804,0.3098,0.3804,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":3},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-5\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0]],\"v\":[[5,-26],[7,-6],[17,-6],[18,-26]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0.9451,0.8471,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[10,-22]},\"a\":{\"a\":0,\"k\":[10,-22]},\"s\":{\"a\":0,\"k\":[100,100]},\"r\":{\"a\":0,\"k\":0},\"o\":{\"a\":0,\"k\":100}}]},{\"ty\":\"gr\",\"nm\":\"leg-0\",\"it\":[{\"ty\":\"gr\",\"nm\":\"path-4\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-4,-4],[-1.3333,4],[9.3333,0],[0,0]],\"o\":[[4.6667,-2],[4.6667,2.6667],[3.3333,6.6667],[0,0],[0,0]],\"v\":[[-19,-8],[-6,-5],[3,-7],[-6,3],[-23,3]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.5804,0.2784,0.3765,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-3\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[-16,-17],[-7,-17]],\"c\":false}}},{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[-16,-10],[-8,-10]],\"c\":false}}},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.7804,0.3098,0.3804,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":3},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"gr\",\"nm\":\"path-2\",\"it\":[{\"ty\":\"sh\",\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0]],\"v\":[[-18,-26],[-17,-6],[-7,-6],[-5,-26]],\"c\":true}}},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0.9451,0.8471,1]},\"o\":{\"a\":0,\"k\":100},\"r\":1},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0.2471,0.2,0.2824,1]},\"o\":{\"a\":0,\"k\":100},\"w\":{\"a\":0,\"k\":1.8},\"lc\":2,\"lj\":2,\"ml\":4}]},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[-10,-22]},\"a\":{\"a\":0,\"k\":[-10,-22]},\"s\":{\"a\":0,\"k\":[100,100]},\"r\":{\"a\":0,\"k\":0},\"o\":{\"a\":0,\"k\":100}}]},{\"ty\":\"gr\",\"nm\":\"ellipse-1\",\"it\":[{\"ty\":\"el\",\"p\":{\"a\":0,\"k\":[0,2]},\"s\":{\"a\":0,\"k\":[40,4]},\"d\":1},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.0902,0.1765,0.1882,1]},\"o\":{\"a\":0,\"k\":20},\"r\":1}]}]},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0]},\"a\":{\"a\":0,\"k\":[0,0]},\"s\":{\"a\":0,\"k\":[100,100]},\"r\":{\"a\":0,\"k\":0},\"o\":{\"a\":0,\"k\":100}}]}"),
|
|
339
352
|
bow: {
|
|
@@ -705,7 +718,7 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
705
718
|
}
|
|
706
719
|
}]
|
|
707
720
|
}
|
|
708
|
-
},
|
|
721
|
+
}, N = {
|
|
709
722
|
shoulder: {
|
|
710
723
|
x: 17,
|
|
711
724
|
y: -56
|
|
@@ -728,13 +741,13 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
728
741
|
y: -94
|
|
729
742
|
},
|
|
730
743
|
legPivotY: -22
|
|
731
|
-
},
|
|
744
|
+
}, ie = 16e3, ae = 60, oe = ie / 1e3 * ae, P = (e) => ({
|
|
732
745
|
a: 0,
|
|
733
746
|
k: e
|
|
734
|
-
}),
|
|
747
|
+
}), F = (e, t = !1) => ({
|
|
735
748
|
a: 1,
|
|
736
749
|
k: e.map(([n, r], i) => ({
|
|
737
|
-
t: n *
|
|
750
|
+
t: n * ae,
|
|
738
751
|
s: r,
|
|
739
752
|
...i === e.length - 1 ? {} : {
|
|
740
753
|
e: e[i + 1][1],
|
|
@@ -748,84 +761,84 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
748
761
|
}
|
|
749
762
|
}
|
|
750
763
|
}))
|
|
751
|
-
}),
|
|
764
|
+
}), se = (e, t = !1) => F(e.map(([e, t]) => [e, [t]]), t), ce = (e) => ({
|
|
752
765
|
a: 1,
|
|
753
766
|
k: e.map(([e, t]) => ({
|
|
754
|
-
t: e *
|
|
767
|
+
t: e * ae,
|
|
755
768
|
s: [t],
|
|
756
769
|
h: 1
|
|
757
770
|
}))
|
|
758
|
-
}),
|
|
759
|
-
a:
|
|
760
|
-
p:
|
|
761
|
-
s:
|
|
762
|
-
r:
|
|
763
|
-
o:
|
|
764
|
-
}),
|
|
771
|
+
}), le = () => ({
|
|
772
|
+
a: P([0, 0]),
|
|
773
|
+
p: P([0, 0]),
|
|
774
|
+
s: P([100, 100]),
|
|
775
|
+
r: P(0),
|
|
776
|
+
o: P(100)
|
|
777
|
+
}), ue = (e, t) => ({
|
|
765
778
|
ty: "gr",
|
|
766
779
|
nm: e,
|
|
767
780
|
it: [...t, {
|
|
768
781
|
ty: "tr",
|
|
769
|
-
...
|
|
782
|
+
...le()
|
|
770
783
|
}]
|
|
771
|
-
}),
|
|
784
|
+
}), de = (e, t = !1) => ({
|
|
772
785
|
v: e,
|
|
773
786
|
i: e.map(() => [0, 0]),
|
|
774
787
|
o: e.map(() => [0, 0]),
|
|
775
788
|
c: t
|
|
776
|
-
}),
|
|
789
|
+
}), fe = (e, t) => ({
|
|
777
790
|
ty: "st",
|
|
778
|
-
c:
|
|
779
|
-
o:
|
|
780
|
-
w:
|
|
791
|
+
c: P(e),
|
|
792
|
+
o: P(100),
|
|
793
|
+
w: P(t),
|
|
781
794
|
lc: 2,
|
|
782
795
|
lj: 2
|
|
783
|
-
}),
|
|
796
|
+
}), pe = [
|
|
784
797
|
.96,
|
|
785
798
|
.72,
|
|
786
799
|
.28,
|
|
787
800
|
1
|
|
788
|
-
],
|
|
801
|
+
], me = [
|
|
789
802
|
.42,
|
|
790
803
|
.27,
|
|
791
804
|
.17,
|
|
792
805
|
1
|
|
793
|
-
],
|
|
806
|
+
], he = (e, t, n = 7) => ue(e, [
|
|
794
807
|
{
|
|
795
808
|
ty: "sh",
|
|
796
809
|
ks: t
|
|
797
810
|
},
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
]),
|
|
811
|
+
fe(pe, n),
|
|
812
|
+
fe(me, n + 2)
|
|
813
|
+
]), ge = (e, t) => {
|
|
801
814
|
if (e.nm === t) return e;
|
|
802
815
|
for (let n of e.it ?? []) {
|
|
803
|
-
let e =
|
|
816
|
+
let e = ge(n, t);
|
|
804
817
|
if (e) return e;
|
|
805
818
|
}
|
|
806
|
-
},
|
|
807
|
-
let i =
|
|
819
|
+
}, I = (e, t, n, r) => {
|
|
820
|
+
let i = ge(e, t)?.it?.find((e) => e.ty === "tr");
|
|
808
821
|
i && (i[n] = r);
|
|
809
|
-
},
|
|
822
|
+
}, _e = (e, t) => ({
|
|
810
823
|
ty: "tm",
|
|
811
|
-
s:
|
|
812
|
-
e:
|
|
813
|
-
o:
|
|
824
|
+
s: se(e),
|
|
825
|
+
e: se(t),
|
|
826
|
+
o: P(0),
|
|
814
827
|
m: 1
|
|
815
|
-
}),
|
|
828
|
+
}), ve = (e) => JSON.parse(JSON.stringify(M[e])), ye = (e) => {
|
|
816
829
|
let t = 0, n = 1, r = e;
|
|
817
830
|
for (let i = 0; i < 18; i++) 3 * (1 - r) ** 2 * r * .42 + 3 * (1 - r) * r ** 2 * .58 + r ** 3 < e ? t = r : n = r, r = (t + n) / 2;
|
|
818
831
|
return 3 * (1 - r) * r ** 2 + r ** 3;
|
|
819
|
-
},
|
|
832
|
+
}, be = (e, t) => {
|
|
820
833
|
let n = e.findIndex(([e]) => e > t);
|
|
821
834
|
if (n === -1) return e[e.length - 1][1];
|
|
822
835
|
if (n === 0) return e[0][1];
|
|
823
|
-
let [r, i] = e[n - 1], [a, o] = e[n], s =
|
|
836
|
+
let [r, i] = e[n - 1], [a, o] = e[n], s = ye((t - r) / (a - r));
|
|
824
837
|
return i.map((e, t) => e + (o[t] - e) * s);
|
|
825
|
-
},
|
|
826
|
-
let n =
|
|
827
|
-
return [
|
|
828
|
-
},
|
|
838
|
+
}, xe = (e) => e * Math.PI / 180, Se = (e, t) => {
|
|
839
|
+
let n = xe(e), r = xe(e + t);
|
|
840
|
+
return [N.shoulder.x + N.upperArmLength * Math.cos(n) + N.palm.x * Math.cos(r) - N.palm.y * Math.sin(r), N.shoulder.y + N.upperArmLength * Math.sin(n) + N.palm.x * Math.sin(r) + N.palm.y * Math.cos(r)];
|
|
841
|
+
}, Ce = (e, t) => {
|
|
829
842
|
let { box: n, width: r, height: i, rtl: a } = e, o = t ? .68 : .9, s = n.left + n.width / 2, c = n.top - 6, l = a ? -1 : 1, u = (e, t) => [s + e * l, c + t], d = -Math.min(n.width * .27, 130), f = Math.min(n.width * .34, 175), p = -n.width / 2 - 140, m = [
|
|
830
843
|
[0, [d - 100, 0]],
|
|
831
844
|
[1.8, [d, 0]],
|
|
@@ -873,13 +886,13 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
873
886
|
[6.65, [-25]],
|
|
874
887
|
[7.3, [0]],
|
|
875
888
|
[16, [0]]
|
|
876
|
-
], _ = [], v = (e, t, n =
|
|
889
|
+
], _ = [], v = (e, t, n = le()) => {
|
|
877
890
|
let r = {
|
|
878
891
|
ty: 4,
|
|
879
892
|
ind: _.length + 1,
|
|
880
893
|
nm: e,
|
|
881
894
|
ip: 0,
|
|
882
|
-
op:
|
|
895
|
+
op: oe,
|
|
883
896
|
st: 0,
|
|
884
897
|
sr: 1,
|
|
885
898
|
ks: n,
|
|
@@ -887,12 +900,12 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
887
900
|
};
|
|
888
901
|
return _.push(r), r;
|
|
889
902
|
}, y = (e, t, n = 1) => ({
|
|
890
|
-
...
|
|
891
|
-
p:
|
|
892
|
-
s:
|
|
903
|
+
...le(),
|
|
904
|
+
p: P(u(e, t)),
|
|
905
|
+
s: P([l * n * 100, n * 100])
|
|
893
906
|
}), b = (e, t) => {
|
|
894
|
-
let n =
|
|
895
|
-
return r.p =
|
|
907
|
+
let n = ve(e), r = le();
|
|
908
|
+
return r.p = F(t.map(([e, [t, n]]) => [e, u(t, n)])), r.s = P([(e === "helper" ? -1 : 1) * l * o * 100, o * 100]), r.o = se([
|
|
896
909
|
[0, 0],
|
|
897
910
|
[.25, 100],
|
|
898
911
|
[15.3, 100],
|
|
@@ -902,43 +915,43 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
902
915
|
current: v(e, [n], r)
|
|
903
916
|
};
|
|
904
917
|
};
|
|
905
|
-
e.source || v("fallback-parcel", [
|
|
918
|
+
e.source || v("fallback-parcel", [ue("parcel", [
|
|
906
919
|
{
|
|
907
920
|
ty: "rc",
|
|
908
|
-
p:
|
|
909
|
-
s:
|
|
910
|
-
r:
|
|
921
|
+
p: P([0, n.height / 2 + 6]),
|
|
922
|
+
s: P([n.width, n.height]),
|
|
923
|
+
r: P(12)
|
|
911
924
|
},
|
|
912
925
|
{
|
|
913
926
|
ty: "fl",
|
|
914
|
-
c:
|
|
927
|
+
c: P([
|
|
915
928
|
.1,
|
|
916
929
|
.29,
|
|
917
930
|
.28,
|
|
918
931
|
1
|
|
919
932
|
]),
|
|
920
|
-
o:
|
|
933
|
+
o: P(100)
|
|
921
934
|
},
|
|
922
|
-
|
|
935
|
+
fe([
|
|
923
936
|
.4,
|
|
924
937
|
.68,
|
|
925
938
|
.56,
|
|
926
939
|
1
|
|
927
940
|
], 2)
|
|
928
941
|
])], y(0, 0));
|
|
929
|
-
let x = -n.width / 2 + 3,
|
|
942
|
+
let x = -n.width / 2 + 3, ee = n.width / 2 - 3, S = n.height + 3, te = he("continuous-composer-ribbon", P(de([
|
|
930
943
|
[0, 5],
|
|
931
|
-
[
|
|
932
|
-
[
|
|
933
|
-
[
|
|
934
|
-
[
|
|
935
|
-
[x + 10,
|
|
936
|
-
[x,
|
|
944
|
+
[ee - 10, 5],
|
|
945
|
+
[ee, 15],
|
|
946
|
+
[ee, S - 10],
|
|
947
|
+
[ee - 10, S],
|
|
948
|
+
[x + 10, S],
|
|
949
|
+
[x, S - 10],
|
|
937
950
|
[x, 15],
|
|
938
951
|
[x + 10, 5],
|
|
939
952
|
[0, 5]
|
|
940
953
|
])), 5);
|
|
941
|
-
|
|
954
|
+
te.it?.splice(1, 0, _e([
|
|
942
955
|
[0, 0],
|
|
943
956
|
[5.8, 0],
|
|
944
957
|
[6.35, 100]
|
|
@@ -946,16 +959,16 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
946
959
|
[0, 0],
|
|
947
960
|
[1.9, 0],
|
|
948
961
|
[4.3, 100]
|
|
949
|
-
])), v("composer-ribbon", [
|
|
950
|
-
let
|
|
951
|
-
|
|
962
|
+
])), v("composer-ribbon", [te], y(0, 0));
|
|
963
|
+
let C = y(0, 4, t ? .75 : .95);
|
|
964
|
+
C.o = se([
|
|
952
965
|
[0, 0],
|
|
953
966
|
[4.1, 0],
|
|
954
967
|
[4.4, 100],
|
|
955
968
|
[5.8, 100],
|
|
956
969
|
[6.2, 0]
|
|
957
|
-
]), v("composer-bow", [
|
|
958
|
-
let
|
|
970
|
+
]), v("composer-bow", [ve("bow")], C);
|
|
971
|
+
let w = b("master", m), ne = [
|
|
959
972
|
[0, [-5]],
|
|
960
973
|
[1.8, [0]],
|
|
961
974
|
[4.5, [0]],
|
|
@@ -971,7 +984,7 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
971
984
|
[12, [0]],
|
|
972
985
|
[16, [0]]
|
|
973
986
|
];
|
|
974
|
-
|
|
987
|
+
w.current.ks.r = F(ne.map(([e, [t]]) => [e, [t * l]])), I(w.art, "upper-arm", "r", se([
|
|
975
988
|
[0, 70],
|
|
976
989
|
[1.8, 70],
|
|
977
990
|
[2.2, -10],
|
|
@@ -980,7 +993,7 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
980
993
|
[5.8, 60],
|
|
981
994
|
[6.5, -45],
|
|
982
995
|
[7.6, 60]
|
|
983
|
-
])),
|
|
996
|
+
])), I(w.art, "forearm", "r", se([
|
|
984
997
|
[0, 30],
|
|
985
998
|
[1.8, 30],
|
|
986
999
|
[2.2, 50],
|
|
@@ -989,7 +1002,7 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
989
1002
|
[6, 100],
|
|
990
1003
|
[6.5, 75],
|
|
991
1004
|
[7.6, 100]
|
|
992
|
-
])),
|
|
1005
|
+
])), I(w.art, "head", "r", se([
|
|
993
1006
|
[0, 0],
|
|
994
1007
|
[4.5, 0],
|
|
995
1008
|
[5.1, -12],
|
|
@@ -1001,7 +1014,7 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1001
1014
|
[9.6, 0],
|
|
1002
1015
|
[11.1, -10],
|
|
1003
1016
|
[12, 0]
|
|
1004
|
-
])),
|
|
1017
|
+
])), I(w.art, "cap", "r", se([
|
|
1005
1018
|
[0, -7],
|
|
1006
1019
|
[1.8, 0],
|
|
1007
1020
|
[5.8, 0],
|
|
@@ -1015,12 +1028,12 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1015
1028
|
[11.7, -12],
|
|
1016
1029
|
[12.15, 6],
|
|
1017
1030
|
[12.4, 0]
|
|
1018
|
-
])),
|
|
1031
|
+
])), I(w.art, "expression", "o", ce([[0, 100], [6.1, 0]])), I(w.art, "surprise", "o", ce([
|
|
1019
1032
|
[0, 0],
|
|
1020
1033
|
[6.1, 100],
|
|
1021
1034
|
[8.5, 0]
|
|
1022
|
-
])),
|
|
1023
|
-
let
|
|
1035
|
+
])), I(w.art, "annoyed", "o", ce([[0, 0], [8.5, 100]]));
|
|
1036
|
+
let T = [
|
|
1024
1037
|
[26, -56],
|
|
1025
1038
|
[-26, -49],
|
|
1026
1039
|
[26, -42],
|
|
@@ -1030,44 +1043,44 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1030
1043
|
[17, -14],
|
|
1031
1044
|
[-15, -7],
|
|
1032
1045
|
[15, 0]
|
|
1033
|
-
],
|
|
1034
|
-
let n =
|
|
1046
|
+
], E = 6.35, D = .2, O = T.slice(0, -1).map((e, t) => {
|
|
1047
|
+
let n = de([e, T[t + 1]]), r = t % 2 == 0;
|
|
1035
1048
|
n.o[0] = [r ? -13 : 13, r ? 8 : -8], n.i[1] = [r ? 13 : -13, r ? 8 : -8];
|
|
1036
|
-
let i =
|
|
1049
|
+
let i = he(`coil-${r ? "front" : "rear"}-${t}`, P(n), 7);
|
|
1037
1050
|
return i.it?.splice(1, 0, {
|
|
1038
1051
|
ty: "tm",
|
|
1039
|
-
s:
|
|
1040
|
-
e:
|
|
1052
|
+
s: P(0),
|
|
1053
|
+
e: se([
|
|
1041
1054
|
[0, 0],
|
|
1042
|
-
[
|
|
1043
|
-
[
|
|
1055
|
+
[E + t * D, 0],
|
|
1056
|
+
[E + (t + 1) * D, 100]
|
|
1044
1057
|
], !0),
|
|
1045
|
-
o:
|
|
1058
|
+
o: P(0),
|
|
1046
1059
|
m: 1
|
|
1047
1060
|
}), {
|
|
1048
1061
|
path: n,
|
|
1049
1062
|
shape: i,
|
|
1050
1063
|
front: r
|
|
1051
1064
|
};
|
|
1052
|
-
}),
|
|
1053
|
-
let t = Math.max(0, Math.min(
|
|
1065
|
+
}), re = (e) => {
|
|
1066
|
+
let t = Math.max(0, Math.min(O.length, (e - E) / D)), n = Math.min(O.length - 1, Math.floor(t)), r = O[n].path, i = t - n, a = (e) => r.v[0].map((t, n) => (1 - e) ** 3 * t + 3 * (1 - e) ** 2 * e * (t + r.o[0][n]) + 3 * (1 - e) * e ** 2 * (r.v[1][n] + r.i[1][n]) + e ** 3 * r.v[1][n]), o = Array.from({ length: 51 }, (e, t) => a(t / 50)), s = [0];
|
|
1054
1067
|
for (let e = 1; e < o.length; e++) s.push(s[e - 1] + Math.hypot(o[e][0] - o[e - 1][0], o[e][1] - o[e - 1][1]));
|
|
1055
1068
|
let c = s[50] * i, l = Math.max(1, s.findIndex((e) => e >= c)), u = (c - s[l - 1]) / (s[l] - s[l - 1]);
|
|
1056
1069
|
return o[l - 1].map((e, t) => e + (o[l][t] - e) * u);
|
|
1057
|
-
},
|
|
1058
|
-
|
|
1070
|
+
}, k = ve("bow"), A = k.it?.find((e) => e.ty === "tr");
|
|
1071
|
+
A && (A.p = P([0, -48]), A.s = P([55, 55]), A.o = se([
|
|
1059
1072
|
[0, 0],
|
|
1060
1073
|
[7.95, 0],
|
|
1061
1074
|
[8.2, 100]
|
|
1062
|
-
])),
|
|
1063
|
-
|
|
1064
|
-
...
|
|
1065
|
-
|
|
1066
|
-
...
|
|
1075
|
+
])), w.current.shapes = [
|
|
1076
|
+
k,
|
|
1077
|
+
...O.filter(({ front: e }) => e).map(({ shape: e }) => e),
|
|
1078
|
+
w.art,
|
|
1079
|
+
...O.filter(({ front: e }) => !e).map(({ shape: e }) => e)
|
|
1067
1080
|
];
|
|
1068
|
-
let
|
|
1069
|
-
|
|
1070
|
-
let
|
|
1081
|
+
let j = b("helper", h);
|
|
1082
|
+
j.current.ks.r = F(g.map(([e, [t]]) => [e, [t * l]]));
|
|
1083
|
+
let M = [
|
|
1071
1084
|
[0, [70]],
|
|
1072
1085
|
[1.25, [70]],
|
|
1073
1086
|
[1.8, [-10]],
|
|
@@ -1079,7 +1092,7 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1079
1092
|
[7.3, [-10]],
|
|
1080
1093
|
[8.3, [-10]],
|
|
1081
1094
|
[9.2, [70]]
|
|
1082
|
-
],
|
|
1095
|
+
], ie = [
|
|
1083
1096
|
[0, [30]],
|
|
1084
1097
|
[1.25, [30]],
|
|
1085
1098
|
[1.8, [50]],
|
|
@@ -1092,7 +1105,7 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1092
1105
|
[8.3, [50]],
|
|
1093
1106
|
[9.2, [30]]
|
|
1094
1107
|
];
|
|
1095
|
-
|
|
1108
|
+
I(j.art, "upper-arm", "r", F(M)), I(j.art, "forearm", "r", F(ie)), I(j.art, "head", "r", se([
|
|
1096
1109
|
[0, 0],
|
|
1097
1110
|
[4.5, 0],
|
|
1098
1111
|
[5.2, -9],
|
|
@@ -1103,15 +1116,15 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1103
1116
|
[9.4, -17],
|
|
1104
1117
|
[10, 7],
|
|
1105
1118
|
[10.5, 0]
|
|
1106
|
-
])),
|
|
1119
|
+
])), I(j.art, "expression", "o", ce([
|
|
1107
1120
|
[0, 100],
|
|
1108
1121
|
[8.6, 0],
|
|
1109
1122
|
[9.5, 100]
|
|
1110
|
-
])),
|
|
1123
|
+
])), I(j.art, "surprise", "o", ce([
|
|
1111
1124
|
[0, 0],
|
|
1112
1125
|
[8.6, 100],
|
|
1113
1126
|
[9.5, 0]
|
|
1114
|
-
])),
|
|
1127
|
+
])), I(j.art, "reel", "r", se([
|
|
1115
1128
|
[0, 0],
|
|
1116
1129
|
[1.9, 0],
|
|
1117
1130
|
[4.3, 540],
|
|
@@ -1119,10 +1132,10 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1119
1132
|
[7.4, 1260]
|
|
1120
1133
|
]));
|
|
1121
1134
|
for (let { art: e, name: t } of [{
|
|
1122
|
-
art:
|
|
1135
|
+
art: w.art,
|
|
1123
1136
|
name: "master"
|
|
1124
1137
|
}, {
|
|
1125
|
-
art:
|
|
1138
|
+
art: j.art,
|
|
1126
1139
|
name: "helper"
|
|
1127
1140
|
}]) for (let n of [0, 1]) {
|
|
1128
1141
|
let r = [[0, 0]];
|
|
@@ -1132,17 +1145,17 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1132
1145
|
for (let e = 1; e <= 10; e++) r.push([12.5 + e * .29, (e % 2 ? 1 : -1) * (n ? -16 : 16)]);
|
|
1133
1146
|
r.push([15.8, 0]);
|
|
1134
1147
|
}
|
|
1135
|
-
|
|
1148
|
+
I(e, `leg-${n}`, "r", se(r));
|
|
1136
1149
|
}
|
|
1137
|
-
let
|
|
1150
|
+
let pe = [];
|
|
1138
1151
|
for (let e = 0; e <= 260; e++) {
|
|
1139
|
-
let t = 1.8 + e * .025, [n, r] =
|
|
1152
|
+
let t = 1.8 + e * .025, [n, r] = be(h, t), i = Se(be(M, t)[0], be(ie, t)[0]), a = xe(be(g, t)[0]), s = [n + o * (-i[0] * Math.cos(a) - i[1] * Math.sin(a)), r + o * (-i[0] * Math.sin(a) + i[1] * Math.cos(a))], c = [n + o * (-N.reel.x * Math.cos(a) - N.reel.y * Math.sin(a)), r + o * (-N.reel.x * Math.sin(a) + N.reel.y * Math.cos(a))], [l, u] = be(m, t), d = xe(be(ne, t)[0]), f = re(t), p = [l + o * (f[0] * Math.cos(d) - f[1] * Math.sin(d)), u + o * (f[0] * Math.sin(d) + f[1] * Math.cos(d))], _ = ye(Math.max(0, Math.min(1, (t - 5.8) / .5499999999999998))), v = [p[0] * _, 5 + (p[1] - 5) * _], y = de([
|
|
1140
1153
|
v,
|
|
1141
1154
|
s,
|
|
1142
1155
|
c
|
|
1143
1156
|
]), b = s[0] - v[0];
|
|
1144
|
-
y.o[0] = [b * .42, t < 5.8 ? 24 : 4], y.i[1] = [-b * .28, t < 5.8 ? 12 : 2], y.o[1] = [15, -8], y.i[2] = [-12, -12],
|
|
1145
|
-
t: t *
|
|
1157
|
+
y.o[0] = [b * .42, t < 5.8 ? 24 : 4], y.i[1] = [-b * .28, t < 5.8 ? 12 : 2], y.o[1] = [15, -8], y.i[2] = [-12, -12], pe.push({
|
|
1158
|
+
t: t * ae,
|
|
1146
1159
|
s: [y],
|
|
1147
1160
|
o: {
|
|
1148
1161
|
x: 0,
|
|
@@ -1154,23 +1167,23 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1154
1167
|
}
|
|
1155
1168
|
});
|
|
1156
1169
|
}
|
|
1157
|
-
let
|
|
1170
|
+
let me = he("ribbon-through-helper-hand", {
|
|
1158
1171
|
a: 1,
|
|
1159
|
-
k:
|
|
1160
|
-
}, 4),
|
|
1161
|
-
return
|
|
1172
|
+
k: pe
|
|
1173
|
+
}, 4), ge = y(0, 0);
|
|
1174
|
+
return ge.o = se([
|
|
1162
1175
|
[0, 0],
|
|
1163
1176
|
[1.8, 0],
|
|
1164
1177
|
[2, 100],
|
|
1165
1178
|
[8, 100],
|
|
1166
1179
|
[8.3, 0]
|
|
1167
|
-
]), v("loose-ribbon", [
|
|
1180
|
+
]), v("loose-ribbon", [me], ge), {
|
|
1168
1181
|
target: e,
|
|
1169
1182
|
animationData: {
|
|
1170
1183
|
v: "5.13.0",
|
|
1171
|
-
fr:
|
|
1184
|
+
fr: ae,
|
|
1172
1185
|
ip: 0,
|
|
1173
|
-
op:
|
|
1186
|
+
op: oe,
|
|
1174
1187
|
w: r,
|
|
1175
1188
|
h: i,
|
|
1176
1189
|
nm: "New Year ribbon mishap",
|
|
@@ -1179,13 +1192,13 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1179
1192
|
layers: _.reverse()
|
|
1180
1193
|
}
|
|
1181
1194
|
};
|
|
1182
|
-
},
|
|
1195
|
+
}, we = {
|
|
1183
1196
|
timings: {
|
|
1184
1197
|
loadTimeoutMs: 2e3,
|
|
1185
1198
|
readyTimeoutMs: 250,
|
|
1186
|
-
playbackMs:
|
|
1199
|
+
playbackMs: ie
|
|
1187
1200
|
},
|
|
1188
|
-
ownership:
|
|
1201
|
+
ownership: ne.Transferred,
|
|
1189
1202
|
getAnimationData: (e) => e.animationData,
|
|
1190
1203
|
onAnimationCreated: ({ preparation: e, host: t, addDisposer: n, cancel: r }) => {
|
|
1191
1204
|
let i = e.target.source;
|
|
@@ -1222,7 +1235,7 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1222
1235
|
let c = i.element;
|
|
1223
1236
|
for (let e = 0; c && e < 24; e++, c = c.parentElement) s.observe(c);
|
|
1224
1237
|
}
|
|
1225
|
-
},
|
|
1238
|
+
}, Te = "[hidden], [inert], [aria-hidden=\"true\"]", Ee = (e, t) => {
|
|
1226
1239
|
let { clientWidth: n, clientHeight: r } = document.documentElement, i = Math.max(1, n), a = Math.max(1, r), o = e.composer ? document.getElementsByClassName(e.composer) : [], s = t ? 132 : 164, c = getComputedStyle(document.documentElement).direction === "rtl";
|
|
1227
1240
|
for (let e = 0; e < Math.min(o.length, 4); e++) {
|
|
1228
1241
|
let t = o[e];
|
|
@@ -1232,7 +1245,7 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1232
1245
|
let r = t, l = !0;
|
|
1233
1246
|
for (let e = 0; r && e < 24; e++) {
|
|
1234
1247
|
let e = getComputedStyle(r);
|
|
1235
|
-
if (r.matches(
|
|
1248
|
+
if (r.matches(Te) || e.display === "none" || e.visibility !== "visible" || e.opacity === "0" || e.contentVisibility === "hidden") {
|
|
1236
1249
|
l = !1;
|
|
1237
1250
|
break;
|
|
1238
1251
|
}
|
|
@@ -1277,30 +1290,30 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1277
1290
|
},
|
|
1278
1291
|
source: null
|
|
1279
1292
|
};
|
|
1280
|
-
},
|
|
1293
|
+
}, De = () => /* @__PURE__ */ g("g", {
|
|
1281
1294
|
stroke: "#825221",
|
|
1282
1295
|
strokeWidth: "1.5",
|
|
1283
1296
|
strokeLinejoin: "round",
|
|
1284
1297
|
children: [
|
|
1285
|
-
/* @__PURE__ */
|
|
1298
|
+
/* @__PURE__ */ h("path", {
|
|
1286
1299
|
d: "M0 0C-12-22-36-24-32-9C-29 2-10 5 0 0Z",
|
|
1287
1300
|
fill: "#edbc58"
|
|
1288
1301
|
}),
|
|
1289
|
-
/* @__PURE__ */
|
|
1302
|
+
/* @__PURE__ */ h("path", {
|
|
1290
1303
|
d: "M0 0C12-22 36-24 32-9C29 2 10 5 0 0Z",
|
|
1291
1304
|
fill: "#ffe29b"
|
|
1292
1305
|
}),
|
|
1293
|
-
/* @__PURE__ */
|
|
1306
|
+
/* @__PURE__ */ h("path", {
|
|
1294
1307
|
d: "M-3 1L-16 24-19 15-27 17-9-4M3 1L16 24 19 15 27 17 9-4",
|
|
1295
1308
|
fill: "#dca144"
|
|
1296
1309
|
}),
|
|
1297
|
-
/* @__PURE__ */
|
|
1310
|
+
/* @__PURE__ */ h("path", {
|
|
1298
1311
|
d: "M-29-12Q-15-13-5-3M29-12Q15-13 5-3",
|
|
1299
1312
|
fill: "none",
|
|
1300
1313
|
stroke: "#fff0ba",
|
|
1301
1314
|
strokeWidth: "2"
|
|
1302
1315
|
}),
|
|
1303
|
-
/* @__PURE__ */
|
|
1316
|
+
/* @__PURE__ */ h("rect", {
|
|
1304
1317
|
x: "-6",
|
|
1305
1318
|
y: "-7",
|
|
1306
1319
|
width: "12",
|
|
@@ -1309,28 +1322,28 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1309
1322
|
fill: "#f7cf79"
|
|
1310
1323
|
})
|
|
1311
1324
|
]
|
|
1312
|
-
}),
|
|
1325
|
+
}), Oe = () => /* @__PURE__ */ g("g", {
|
|
1313
1326
|
stroke: "#493649",
|
|
1314
1327
|
strokeWidth: "1.8",
|
|
1315
1328
|
strokeLinejoin: "round",
|
|
1316
1329
|
children: [
|
|
1317
|
-
/* @__PURE__ */
|
|
1330
|
+
/* @__PURE__ */ h("path", {
|
|
1318
1331
|
d: "M-8-7H8V7H-8Z",
|
|
1319
1332
|
fill: "#efbd63"
|
|
1320
1333
|
}),
|
|
1321
|
-
/* @__PURE__ */
|
|
1334
|
+
/* @__PURE__ */ h("path", {
|
|
1322
1335
|
d: "M-3-6V6M3-6V6",
|
|
1323
1336
|
stroke: "#fff0ba",
|
|
1324
1337
|
fill: "none"
|
|
1325
1338
|
}),
|
|
1326
|
-
/* @__PURE__ */
|
|
1339
|
+
/* @__PURE__ */ h("ellipse", {
|
|
1327
1340
|
cx: "-9",
|
|
1328
1341
|
cy: "0",
|
|
1329
1342
|
rx: "3",
|
|
1330
1343
|
ry: "10",
|
|
1331
1344
|
fill: "#b97957"
|
|
1332
1345
|
}),
|
|
1333
|
-
/* @__PURE__ */
|
|
1346
|
+
/* @__PURE__ */ h("ellipse", {
|
|
1334
1347
|
cx: "9",
|
|
1335
1348
|
cy: "0",
|
|
1336
1349
|
rx: "3",
|
|
@@ -1338,16 +1351,16 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1338
1351
|
fill: "#e5b982"
|
|
1339
1352
|
})
|
|
1340
1353
|
]
|
|
1341
|
-
}),
|
|
1354
|
+
}), ke = ({ helper: e = !1, stationary: t = !1 }) => {
|
|
1342
1355
|
let n = e ? "#ec776c" : "#3fae88", r = e ? "#c74f61" : "#258270", i = e ? "#944760" : "#315863", a = t && !e ? 0 : 1;
|
|
1343
|
-
return /* @__PURE__ */
|
|
1356
|
+
return /* @__PURE__ */ g("g", {
|
|
1344
1357
|
"data-elf-art": !0,
|
|
1345
1358
|
stroke: "#3f3348",
|
|
1346
1359
|
strokeWidth: "1.8",
|
|
1347
1360
|
strokeLinecap: "round",
|
|
1348
1361
|
strokeLinejoin: "round",
|
|
1349
1362
|
children: [
|
|
1350
|
-
/* @__PURE__ */
|
|
1363
|
+
/* @__PURE__ */ h("ellipse", {
|
|
1351
1364
|
cx: "0",
|
|
1352
1365
|
cy: "2",
|
|
1353
1366
|
rx: e ? 20 : 26,
|
|
@@ -1356,51 +1369,51 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1356
1369
|
stroke: "none",
|
|
1357
1370
|
opacity: "0.2"
|
|
1358
1371
|
}),
|
|
1359
|
-
[0, 1].map((e) => /* @__PURE__ */
|
|
1372
|
+
[0, 1].map((e) => /* @__PURE__ */ g("g", {
|
|
1360
1373
|
"data-elf-leg": e,
|
|
1361
|
-
style: { transformOrigin: `${e ? 10 : -10}px ${
|
|
1374
|
+
style: { transformOrigin: `${e ? 10 : -10}px ${N.legPivotY}px` },
|
|
1362
1375
|
children: [
|
|
1363
|
-
/* @__PURE__ */
|
|
1376
|
+
/* @__PURE__ */ h("path", {
|
|
1364
1377
|
d: e ? "M5-26L7-6H17L18-26Z" : "M-18-26L-17-6H-7L-5-26Z",
|
|
1365
1378
|
fill: "#fff1d8"
|
|
1366
1379
|
}),
|
|
1367
|
-
/* @__PURE__ */
|
|
1380
|
+
/* @__PURE__ */ h("path", {
|
|
1368
1381
|
d: e ? "M7-17H16M8-10H16" : "M-16-17H-7M-16-10H-8",
|
|
1369
1382
|
stroke: r,
|
|
1370
1383
|
strokeWidth: "3",
|
|
1371
1384
|
fill: "none"
|
|
1372
1385
|
}),
|
|
1373
|
-
/* @__PURE__ */
|
|
1386
|
+
/* @__PURE__ */ h("path", {
|
|
1374
1387
|
d: e ? "M5-8Q12-11 18-5Q25-1 27-7Q31 3 18 3H3Z" : "M-19-8Q-12-11-6-5Q1-1 3-7Q8 3-6 3H-23Z",
|
|
1375
1388
|
fill: i
|
|
1376
1389
|
})
|
|
1377
1390
|
]
|
|
1378
1391
|
}, e)),
|
|
1379
|
-
/* @__PURE__ */
|
|
1392
|
+
/* @__PURE__ */ h("path", {
|
|
1380
1393
|
d: "M-17-57Q-29-55-29-37L-18-32-11-48Z",
|
|
1381
1394
|
fill: r
|
|
1382
1395
|
}),
|
|
1383
|
-
/* @__PURE__ */
|
|
1384
|
-
cx:
|
|
1385
|
-
cy:
|
|
1396
|
+
/* @__PURE__ */ h("ellipse", {
|
|
1397
|
+
cx: N.reel.x,
|
|
1398
|
+
cy: N.reel.y,
|
|
1386
1399
|
rx: "7",
|
|
1387
1400
|
ry: "8",
|
|
1388
1401
|
fill: "#fff1d8"
|
|
1389
1402
|
}),
|
|
1390
|
-
/* @__PURE__ */
|
|
1403
|
+
/* @__PURE__ */ h("path", {
|
|
1391
1404
|
d: e ? "M-15-62Q-1-68 15-60L22-25Q5-15-20-25L-22-40Z" : "M-18-60Q-2-70 18-60Q29-45 26-23Q1-12-27-24Q-30-46-18-60Z",
|
|
1392
1405
|
fill: n
|
|
1393
1406
|
}),
|
|
1394
|
-
/* @__PURE__ */
|
|
1407
|
+
/* @__PURE__ */ h("path", {
|
|
1395
1408
|
d: e ? "M10-54Q17-37 8-23L21-26Q20-43 10-54Z" : "M15-54Q23-31 5-23L24-26Q27-43 15-54Z",
|
|
1396
1409
|
fill: r,
|
|
1397
1410
|
stroke: "none"
|
|
1398
1411
|
}),
|
|
1399
|
-
/* @__PURE__ */
|
|
1412
|
+
/* @__PURE__ */ h("path", {
|
|
1400
1413
|
d: e ? "M-21-34Q0-28 20-34L21-27Q0-21-21-28Z" : "M-27-33Q0-26 27-33L26-26Q0-18-27-26Z",
|
|
1401
1414
|
fill: "#584454"
|
|
1402
1415
|
}),
|
|
1403
|
-
/* @__PURE__ */
|
|
1416
|
+
/* @__PURE__ */ h("rect", {
|
|
1404
1417
|
x: "-4",
|
|
1405
1418
|
y: "-33",
|
|
1406
1419
|
width: "11",
|
|
@@ -1409,63 +1422,63 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1409
1422
|
fill: "#ffdb7d",
|
|
1410
1423
|
stroke: "none"
|
|
1411
1424
|
}),
|
|
1412
|
-
/* @__PURE__ */
|
|
1425
|
+
/* @__PURE__ */ h("path", {
|
|
1413
1426
|
d: "M-15-61L-8-51 0-58 8-51 16-61Q0-56-15-61Z",
|
|
1414
1427
|
fill: "#fff1d8",
|
|
1415
1428
|
stroke: "none"
|
|
1416
1429
|
}),
|
|
1417
|
-
/* @__PURE__ */
|
|
1430
|
+
/* @__PURE__ */ h("circle", {
|
|
1418
1431
|
cx: "1",
|
|
1419
1432
|
cy: "-43",
|
|
1420
1433
|
r: "2.5",
|
|
1421
1434
|
fill: "#ffdb7d",
|
|
1422
1435
|
stroke: "none"
|
|
1423
1436
|
}),
|
|
1424
|
-
e && /* @__PURE__ */
|
|
1425
|
-
transform: `translate(${
|
|
1426
|
-
children: [/* @__PURE__ */
|
|
1437
|
+
e && /* @__PURE__ */ g("g", {
|
|
1438
|
+
transform: `translate(${N.reel.x} ${N.reel.y})`,
|
|
1439
|
+
children: [/* @__PURE__ */ h("g", {
|
|
1427
1440
|
"data-elf-reel": !0,
|
|
1428
|
-
children: /* @__PURE__ */
|
|
1429
|
-
}), /* @__PURE__ */
|
|
1441
|
+
children: /* @__PURE__ */ h(Oe, {})
|
|
1442
|
+
}), /* @__PURE__ */ h("path", {
|
|
1430
1443
|
d: "M-5-1Q-6-7-2-7Q1-7 1-3L5-3Q7 3 2 5Q-5 6-5-1Z",
|
|
1431
1444
|
fill: "#fff1d8"
|
|
1432
1445
|
})]
|
|
1433
1446
|
}),
|
|
1434
|
-
/* @__PURE__ */
|
|
1435
|
-
transform: `translate(${
|
|
1436
|
-
children: /* @__PURE__ */
|
|
1447
|
+
/* @__PURE__ */ h("g", {
|
|
1448
|
+
transform: `translate(${N.shoulder.x} ${N.shoulder.y})`,
|
|
1449
|
+
children: /* @__PURE__ */ g("g", {
|
|
1437
1450
|
"data-elf-upper-arm": !0,
|
|
1438
1451
|
transform: t ? `rotate(${e ? 70 : 60})` : void 0,
|
|
1439
1452
|
children: [
|
|
1440
|
-
/* @__PURE__ */
|
|
1453
|
+
/* @__PURE__ */ h("path", {
|
|
1441
1454
|
d: "M-5-6Q4-10 18-6Q24 0 18 6Q4 10-5 6Z",
|
|
1442
1455
|
fill: n,
|
|
1443
1456
|
stroke: "none"
|
|
1444
1457
|
}),
|
|
1445
|
-
/* @__PURE__ */
|
|
1458
|
+
/* @__PURE__ */ h("path", {
|
|
1446
1459
|
d: "M-5-6Q4-10 18-6M-5 6Q4 10 18 6",
|
|
1447
1460
|
fill: "none"
|
|
1448
1461
|
}),
|
|
1449
|
-
/* @__PURE__ */
|
|
1450
|
-
transform: `translate(${
|
|
1451
|
-
children: /* @__PURE__ */
|
|
1462
|
+
/* @__PURE__ */ h("g", {
|
|
1463
|
+
transform: `translate(${N.upperArmLength} 0)`,
|
|
1464
|
+
children: /* @__PURE__ */ g("g", {
|
|
1452
1465
|
"data-elf-forearm": !0,
|
|
1453
1466
|
transform: t ? `rotate(${e ? 30 : 100})` : void 0,
|
|
1454
1467
|
children: [
|
|
1455
|
-
/* @__PURE__ */
|
|
1468
|
+
/* @__PURE__ */ h("path", {
|
|
1456
1469
|
d: "M-6-5Q3-8 14-5L14 5Q3 8-6 5Q-9 0-6-5Z",
|
|
1457
1470
|
fill: n,
|
|
1458
1471
|
stroke: "none"
|
|
1459
1472
|
}),
|
|
1460
|
-
/* @__PURE__ */
|
|
1473
|
+
/* @__PURE__ */ h("path", {
|
|
1461
1474
|
d: "M-3-5Q5-7 14-5M-3 5Q5 7 14 5",
|
|
1462
1475
|
fill: "none"
|
|
1463
1476
|
}),
|
|
1464
|
-
/* @__PURE__ */
|
|
1477
|
+
/* @__PURE__ */ h("path", {
|
|
1465
1478
|
d: "M13-5Q14-11 18-9L20-5Q26-6 26 0Q27 7 20 7L13 4Z",
|
|
1466
1479
|
fill: "#fff1d8"
|
|
1467
1480
|
}),
|
|
1468
|
-
/* @__PURE__ */
|
|
1481
|
+
/* @__PURE__ */ h("path", {
|
|
1469
1482
|
d: "M12-5L13 5",
|
|
1470
1483
|
stroke: "#fff1d8",
|
|
1471
1484
|
strokeWidth: "4",
|
|
@@ -1477,83 +1490,83 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1477
1490
|
]
|
|
1478
1491
|
})
|
|
1479
1492
|
}),
|
|
1480
|
-
/* @__PURE__ */
|
|
1493
|
+
/* @__PURE__ */ g("g", {
|
|
1481
1494
|
"data-elf-head": !0,
|
|
1482
|
-
style: { transformOrigin: `${
|
|
1495
|
+
style: { transformOrigin: `${N.head.x}px ${N.head.y}px` },
|
|
1483
1496
|
children: [
|
|
1484
|
-
/* @__PURE__ */
|
|
1497
|
+
/* @__PURE__ */ h("path", {
|
|
1485
1498
|
d: "M-18-87L-29-93Q-30-79-19-76M18-87L29-92Q30-79 19-75",
|
|
1486
1499
|
fill: "#f2b893"
|
|
1487
1500
|
}),
|
|
1488
|
-
/* @__PURE__ */
|
|
1501
|
+
/* @__PURE__ */ h("path", {
|
|
1489
1502
|
d: "M-25-86L-20-81M25-85L20-80",
|
|
1490
1503
|
fill: "none",
|
|
1491
1504
|
stroke: "#c67d79",
|
|
1492
1505
|
strokeWidth: "2"
|
|
1493
1506
|
}),
|
|
1494
|
-
/* @__PURE__ */
|
|
1507
|
+
/* @__PURE__ */ h("path", {
|
|
1495
1508
|
d: e ? "M-20-94Q-26-86-21-73L-14-79 16-74Q25-84 18-96Z" : "M-23-93Q-28-81-22-69L-15-76 18-71Q26-82 20-95Z",
|
|
1496
1509
|
fill: e ? "#824a3d" : "#e8ddd1",
|
|
1497
1510
|
stroke: "none"
|
|
1498
1511
|
}),
|
|
1499
|
-
/* @__PURE__ */
|
|
1512
|
+
/* @__PURE__ */ h("path", {
|
|
1500
1513
|
d: e ? "M-18-93Q-2-104 18-94L21-79Q19-58 1-58Q-17-58-20-76Z" : "M-21-93Q-3-103 20-94L23-80Q25-58 2-57Q-22-57-24-78Z",
|
|
1501
1514
|
fill: "#ffd4ad"
|
|
1502
1515
|
}),
|
|
1503
|
-
/* @__PURE__ */
|
|
1516
|
+
/* @__PURE__ */ g("g", {
|
|
1504
1517
|
"data-elf-expression": !0,
|
|
1505
1518
|
opacity: a,
|
|
1506
1519
|
children: [
|
|
1507
|
-
/* @__PURE__ */
|
|
1520
|
+
/* @__PURE__ */ h("path", {
|
|
1508
1521
|
d: e ? "M-15-82Q-12-91-7-86Q-3-80-8-76Q-14-74-15-82ZM5-85Q11-92 16-85Q18-77 11-77Q5-77 5-85Z" : "M-16-81Q-10-85-4-80Q-7-73-13-75ZM5-82Q11-86 17-81Q15-74 9-76Z",
|
|
1509
1522
|
fill: "#fff9e9",
|
|
1510
1523
|
strokeWidth: "1.2"
|
|
1511
1524
|
}),
|
|
1512
|
-
/* @__PURE__ */
|
|
1525
|
+
/* @__PURE__ */ h("path", {
|
|
1513
1526
|
d: e ? "M-8-83V-79M12-84V-80" : "M-7-80V-77M13-81V-78",
|
|
1514
1527
|
fill: "none",
|
|
1515
1528
|
strokeWidth: "3"
|
|
1516
1529
|
}),
|
|
1517
|
-
/* @__PURE__ */
|
|
1530
|
+
/* @__PURE__ */ h("path", {
|
|
1518
1531
|
d: e ? "M-17-91Q-12-97-5-91M5-93Q13-98 19-90" : "M-18-88Q-12-93-5-87M5-88L18-85",
|
|
1519
1532
|
fill: "none",
|
|
1520
1533
|
strokeWidth: "2.8"
|
|
1521
1534
|
}),
|
|
1522
|
-
e ? /* @__PURE__ */
|
|
1535
|
+
e ? /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h("path", {
|
|
1523
1536
|
d: "M-10-70Q2-64 14-71Q13-58 2-60Q-5-60-10-70Z",
|
|
1524
1537
|
fill: "#694155",
|
|
1525
1538
|
stroke: "none"
|
|
1526
|
-
}), /* @__PURE__ */
|
|
1539
|
+
}), /* @__PURE__ */ h("path", {
|
|
1527
1540
|
d: "M-6-69L-3-65H7L10-69Z",
|
|
1528
1541
|
fill: "#fff9e9",
|
|
1529
1542
|
stroke: "none"
|
|
1530
|
-
})] }) : /* @__PURE__ */
|
|
1543
|
+
})] }) : /* @__PURE__ */ h("path", {
|
|
1531
1544
|
d: "M-9-67Q0-61 11-70M9-70L13-71",
|
|
1532
1545
|
fill: "none",
|
|
1533
1546
|
strokeWidth: "2"
|
|
1534
1547
|
})
|
|
1535
1548
|
]
|
|
1536
1549
|
}),
|
|
1537
|
-
/* @__PURE__ */
|
|
1550
|
+
/* @__PURE__ */ g("g", {
|
|
1538
1551
|
"data-elf-surprise": !0,
|
|
1539
1552
|
opacity: "0",
|
|
1540
1553
|
children: [
|
|
1541
|
-
/* @__PURE__ */
|
|
1554
|
+
/* @__PURE__ */ h("path", {
|
|
1542
1555
|
d: "M-16-81Q-16-90-10-90Q-4-90-4-81Q-4-75-10-75Q-16-75-16-81ZM5-81Q5-90 11-90Q17-90 17-81Q17-75 11-75Q5-75 5-81Z",
|
|
1543
1556
|
fill: "#fff9e9",
|
|
1544
1557
|
strokeWidth: "1.2"
|
|
1545
1558
|
}),
|
|
1546
|
-
/* @__PURE__ */
|
|
1559
|
+
/* @__PURE__ */ h("path", {
|
|
1547
1560
|
d: "M-9-84V-80M12-84V-80",
|
|
1548
1561
|
fill: "none",
|
|
1549
1562
|
strokeWidth: "2.8"
|
|
1550
1563
|
}),
|
|
1551
|
-
/* @__PURE__ */
|
|
1564
|
+
/* @__PURE__ */ h("path", {
|
|
1552
1565
|
d: "M-17-94Q-11-99-4-94M5-95Q12-99 18-94",
|
|
1553
1566
|
fill: "none",
|
|
1554
1567
|
strokeWidth: "2.8"
|
|
1555
1568
|
}),
|
|
1556
|
-
/* @__PURE__ */
|
|
1569
|
+
/* @__PURE__ */ h("ellipse", {
|
|
1557
1570
|
cx: "2",
|
|
1558
1571
|
cy: "-65",
|
|
1559
1572
|
rx: "4",
|
|
@@ -1563,63 +1576,63 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1563
1576
|
})
|
|
1564
1577
|
]
|
|
1565
1578
|
}),
|
|
1566
|
-
!e && /* @__PURE__ */
|
|
1579
|
+
!e && /* @__PURE__ */ g("g", {
|
|
1567
1580
|
"data-elf-annoyed": !0,
|
|
1568
1581
|
opacity: +!!t,
|
|
1569
1582
|
children: [
|
|
1570
|
-
/* @__PURE__ */
|
|
1583
|
+
/* @__PURE__ */ h("path", {
|
|
1571
1584
|
d: "M-16-80L-4-77Q-9-72-14-75ZM5-77L17-81Q17-73 10-74Z",
|
|
1572
1585
|
fill: "#fff9e9",
|
|
1573
1586
|
strokeWidth: "1.2"
|
|
1574
1587
|
}),
|
|
1575
|
-
/* @__PURE__ */
|
|
1588
|
+
/* @__PURE__ */ h("path", {
|
|
1576
1589
|
d: "M-7-78V-76M12-78V-76",
|
|
1577
1590
|
fill: "none",
|
|
1578
1591
|
strokeWidth: "2.8"
|
|
1579
1592
|
}),
|
|
1580
|
-
/* @__PURE__ */
|
|
1593
|
+
/* @__PURE__ */ h("path", {
|
|
1581
1594
|
d: "M-18-87L-4-82M5-82L19-88",
|
|
1582
1595
|
fill: "none",
|
|
1583
1596
|
strokeWidth: "3"
|
|
1584
1597
|
}),
|
|
1585
|
-
/* @__PURE__ */
|
|
1598
|
+
/* @__PURE__ */ h("path", {
|
|
1586
1599
|
d: "M-8-65Q0-69 10-65M10-65L12-66",
|
|
1587
1600
|
fill: "none",
|
|
1588
1601
|
strokeWidth: "2"
|
|
1589
1602
|
})
|
|
1590
1603
|
]
|
|
1591
1604
|
}),
|
|
1592
|
-
/* @__PURE__ */
|
|
1605
|
+
/* @__PURE__ */ h("path", {
|
|
1593
1606
|
d: "M-18-72L-13-71M15-72L19-74",
|
|
1594
1607
|
fill: "none",
|
|
1595
1608
|
stroke: "#e99d8e",
|
|
1596
1609
|
strokeWidth: "3.5"
|
|
1597
1610
|
}),
|
|
1598
|
-
/* @__PURE__ */
|
|
1611
|
+
/* @__PURE__ */ h("path", {
|
|
1599
1612
|
d: "M-1-76Q3-81 7-76Q10-70 4-70Q-2-70-1-76Z",
|
|
1600
1613
|
fill: "#efb18e",
|
|
1601
1614
|
strokeWidth: "1.2"
|
|
1602
1615
|
}),
|
|
1603
|
-
/* @__PURE__ */
|
|
1616
|
+
/* @__PURE__ */ g("g", {
|
|
1604
1617
|
"data-elf-cap": !0,
|
|
1605
|
-
style: { transformOrigin: `${
|
|
1618
|
+
style: { transformOrigin: `${N.cap.x}px ${N.cap.y}px` },
|
|
1606
1619
|
children: [
|
|
1607
|
-
/* @__PURE__ */
|
|
1620
|
+
/* @__PURE__ */ h("path", {
|
|
1608
1621
|
d: e ? "M-21-97L-13-120Q-6-132 6-124Q15-127 27-119Q33-115 29-110Q22-116 14-112L21-96Z" : "M-23-96Q-24-115-9-125Q-2-131 8-123Q13-121 19-119Q26-119 27-113Q12-117 10-104L23-96Z",
|
|
1609
1622
|
fill: n
|
|
1610
1623
|
}),
|
|
1611
|
-
/* @__PURE__ */
|
|
1624
|
+
/* @__PURE__ */ h("path", {
|
|
1612
1625
|
d: e ? "M-13-111Q-2-114 9-105L15-99H-18Z" : "M-16-111Q-4-118 7-109L14-100H-21Z",
|
|
1613
1626
|
fill: r,
|
|
1614
1627
|
stroke: "none"
|
|
1615
1628
|
}),
|
|
1616
|
-
/* @__PURE__ */
|
|
1629
|
+
/* @__PURE__ */ h("circle", {
|
|
1617
1630
|
cx: e ? 29 : 27,
|
|
1618
1631
|
cy: e ? -110 : -113,
|
|
1619
1632
|
r: "5",
|
|
1620
1633
|
fill: "#ffdd89"
|
|
1621
1634
|
}),
|
|
1622
|
-
/* @__PURE__ */
|
|
1635
|
+
/* @__PURE__ */ h("path", {
|
|
1623
1636
|
d: "M-23-100Q-3-106 22-99L23-91Q-1-97-23-91Z",
|
|
1624
1637
|
fill: "#fff1d8"
|
|
1625
1638
|
})
|
|
@@ -1627,43 +1640,43 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1627
1640
|
})
|
|
1628
1641
|
]
|
|
1629
1642
|
}),
|
|
1630
|
-
t && !e && /* @__PURE__ */
|
|
1643
|
+
t && !e && /* @__PURE__ */ g("g", {
|
|
1631
1644
|
"data-elf-wrapped": !0,
|
|
1632
1645
|
fill: "none",
|
|
1633
1646
|
strokeLinecap: "round",
|
|
1634
1647
|
children: [
|
|
1635
|
-
/* @__PURE__ */
|
|
1648
|
+
/* @__PURE__ */ h("path", {
|
|
1636
1649
|
d: "M-24-52Q0-41 24-49M-26-37Q0-27 26-35M-23-23Q0-14 23-22M-16-9Q0-3 16-8",
|
|
1637
1650
|
stroke: "#986330",
|
|
1638
1651
|
strokeWidth: "8"
|
|
1639
1652
|
}),
|
|
1640
|
-
/* @__PURE__ */
|
|
1653
|
+
/* @__PURE__ */ h("path", {
|
|
1641
1654
|
d: "M-24-52Q0-41 24-49M-26-37Q0-27 26-35M-23-23Q0-14 23-22M-16-9Q0-3 16-8",
|
|
1642
1655
|
stroke: "#f4c265",
|
|
1643
1656
|
strokeWidth: "5"
|
|
1644
1657
|
}),
|
|
1645
|
-
/* @__PURE__ */
|
|
1658
|
+
/* @__PURE__ */ h("g", {
|
|
1646
1659
|
transform: "translate(0 -45) scale(.5)",
|
|
1647
|
-
children: /* @__PURE__ */
|
|
1660
|
+
children: /* @__PURE__ */ h(De, {})
|
|
1648
1661
|
})
|
|
1649
1662
|
]
|
|
1650
1663
|
})
|
|
1651
1664
|
]
|
|
1652
1665
|
});
|
|
1653
|
-
},
|
|
1654
|
-
let { anchors: e, isMobile: t } = n(), i = r(), [a] =
|
|
1666
|
+
}, Ae = () => {
|
|
1667
|
+
let { anchors: e, isMobile: t } = n(), i = r(), [a] = p(() => ({
|
|
1655
1668
|
anchors: e,
|
|
1656
1669
|
isMobile: t,
|
|
1657
1670
|
reduced: i
|
|
1658
|
-
})), o = a.anchors !== e || a.isMobile !== t || a.reduced !== i, [
|
|
1659
|
-
enabled: !i &&
|
|
1660
|
-
playback:
|
|
1661
|
-
prepare: () =>
|
|
1662
|
-
}),
|
|
1663
|
-
return
|
|
1671
|
+
})), o = a.anchors !== e || a.isMobile !== t || a.reduced !== i, [s] = p(() => typeof ResizeObserver == "function" && typeof MutationObserver == "function"), { phase: c, preparation: l, hostRef: d, cancel: f } = j({
|
|
1672
|
+
enabled: !i && s && !o,
|
|
1673
|
+
playback: we,
|
|
1674
|
+
prepare: () => Ce(Ee(e, t), t)
|
|
1675
|
+
}), m = i || !s || c === T.Failed, _ = c === T.Ended;
|
|
1676
|
+
return u(() => {
|
|
1664
1677
|
if (o || _) return;
|
|
1665
1678
|
let e = (e) => {
|
|
1666
|
-
(e?.type !== "visibilitychange" || document.hidden) &&
|
|
1679
|
+
(e?.type !== "visibilitychange" || document.hidden) && f();
|
|
1667
1680
|
}, t = [
|
|
1668
1681
|
"pointerdown",
|
|
1669
1682
|
"click",
|
|
@@ -1681,81 +1694,81 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1681
1694
|
t.forEach((t) => window.removeEventListener(t, e, !0)), window.visualViewport?.removeEventListener("resize", e), window.visualViewport?.removeEventListener("scroll", e);
|
|
1682
1695
|
};
|
|
1683
1696
|
}, [
|
|
1684
|
-
|
|
1697
|
+
f,
|
|
1685
1698
|
o,
|
|
1686
1699
|
_
|
|
1687
|
-
]), _ || o ? null :
|
|
1700
|
+
]), _ || o ? null : m ? /* @__PURE__ */ h("div", {
|
|
1688
1701
|
className: "pointer-events-none absolute inset-s-1/2 bottom-8 h-32 w-52 -translate-x-1/2 rtl:translate-x-1/2",
|
|
1689
1702
|
inert: !0,
|
|
1690
1703
|
"aria-hidden": "true",
|
|
1691
|
-
children: /* @__PURE__ */
|
|
1704
|
+
children: /* @__PURE__ */ g("svg", {
|
|
1692
1705
|
viewBox: "0 0 220 145",
|
|
1693
1706
|
focusable: "false",
|
|
1694
1707
|
"data-gift-static": !0,
|
|
1695
|
-
children: [/* @__PURE__ */
|
|
1708
|
+
children: [/* @__PURE__ */ h("g", {
|
|
1696
1709
|
transform: "translate(65 136) scale(.85)",
|
|
1697
|
-
children: /* @__PURE__ */
|
|
1698
|
-
}), /* @__PURE__ */
|
|
1710
|
+
children: /* @__PURE__ */ h(ke, { stationary: !0 })
|
|
1711
|
+
}), /* @__PURE__ */ h("g", {
|
|
1699
1712
|
transform: "translate(158 136) scale(-.8 .8)",
|
|
1700
|
-
children: /* @__PURE__ */
|
|
1713
|
+
children: /* @__PURE__ */ h(ke, {
|
|
1701
1714
|
helper: !0,
|
|
1702
1715
|
stationary: !0
|
|
1703
1716
|
})
|
|
1704
1717
|
})]
|
|
1705
1718
|
})
|
|
1706
|
-
}, "stationary") :
|
|
1707
|
-
ref:
|
|
1719
|
+
}, "stationary") : l ? /* @__PURE__ */ h("div", {
|
|
1720
|
+
ref: d,
|
|
1708
1721
|
className: "pointer-events-none absolute inset-0 overflow-clip select-none",
|
|
1709
1722
|
inert: !0,
|
|
1710
1723
|
"aria-hidden": "true",
|
|
1711
1724
|
"data-new-year-scene": "gift-wrapping",
|
|
1712
|
-
"data-gift-target":
|
|
1725
|
+
"data-gift-target": l.target.source ? "composer" : "parcel"
|
|
1713
1726
|
}, "animation") : null;
|
|
1714
|
-
},
|
|
1727
|
+
}, L = (e) => ({
|
|
1715
1728
|
a: 0,
|
|
1716
1729
|
k: e
|
|
1717
|
-
}),
|
|
1718
|
-
a:
|
|
1719
|
-
p:
|
|
1720
|
-
s:
|
|
1721
|
-
r:
|
|
1722
|
-
o:
|
|
1723
|
-
}),
|
|
1730
|
+
}), je = () => ({
|
|
1731
|
+
a: L([0, 0]),
|
|
1732
|
+
p: L([0, 0]),
|
|
1733
|
+
s: L([100, 100]),
|
|
1734
|
+
r: L(0),
|
|
1735
|
+
o: L(100)
|
|
1736
|
+
}), Me = "#182226", Ne = (e) => [
|
|
1724
1737
|
1,
|
|
1725
1738
|
3,
|
|
1726
1739
|
5
|
|
1727
|
-
].map((t) => parseInt(e.slice(t, t + 2), 16) / 255).concat(1),
|
|
1740
|
+
].map((t) => parseInt(e.slice(t, t + 2), 16) / 255).concat(1), R = (e, t, n, r = je()) => ({
|
|
1728
1741
|
ty: "gr",
|
|
1729
1742
|
nm: e,
|
|
1730
1743
|
it: [
|
|
1731
1744
|
...t,
|
|
1732
1745
|
...n ? [{
|
|
1733
1746
|
ty: "fl",
|
|
1734
|
-
c:
|
|
1735
|
-
o:
|
|
1747
|
+
c: L(Ne(n)),
|
|
1748
|
+
o: L(100)
|
|
1736
1749
|
}] : [],
|
|
1737
1750
|
{
|
|
1738
1751
|
ty: "tr",
|
|
1739
1752
|
...r
|
|
1740
1753
|
}
|
|
1741
1754
|
]
|
|
1742
|
-
}),
|
|
1755
|
+
}), Pe = (e, t, n, r) => ({
|
|
1743
1756
|
ty: "el",
|
|
1744
|
-
p:
|
|
1745
|
-
s:
|
|
1757
|
+
p: L([e, t]),
|
|
1758
|
+
s: L([n, r]),
|
|
1746
1759
|
d: 1
|
|
1747
|
-
}),
|
|
1760
|
+
}), z = (e, t = !1) => ({
|
|
1748
1761
|
ty: "sh",
|
|
1749
|
-
ks:
|
|
1762
|
+
ks: L({
|
|
1750
1763
|
v: e,
|
|
1751
1764
|
i: e.map((n, r) => t ? [(e[(r + e.length - 1) % e.length][0] - e[(r + 1) % e.length][0]) * .13, (e[(r + e.length - 1) % e.length][1] - e[(r + 1) % e.length][1]) * .13] : [0, 0]),
|
|
1752
1765
|
o: e.map((n, r) => t ? [(e[(r + 1) % e.length][0] - e[(r + e.length - 1) % e.length][0]) * .13, (e[(r + 1) % e.length][1] - e[(r + e.length - 1) % e.length][1]) * .13] : [0, 0]),
|
|
1753
1766
|
c: !0
|
|
1754
1767
|
})
|
|
1755
|
-
}),
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1768
|
+
}), Fe = () => [
|
|
1769
|
+
R("santa-hat", [
|
|
1770
|
+
R("hat-pompom", [Pe(-30, -123, 11, 11), Pe(-32, -125, 4, 4)], "#f1ece2"),
|
|
1771
|
+
R("hat-brim-light", [z([
|
|
1759
1772
|
[-25, -99],
|
|
1760
1773
|
[-14, -102],
|
|
1761
1774
|
[9, -102],
|
|
@@ -1763,8 +1776,8 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1763
1776
|
[13, -98],
|
|
1764
1777
|
[-13, -98]
|
|
1765
1778
|
], !0)], "#fcfaf4"),
|
|
1766
|
-
|
|
1767
|
-
|
|
1779
|
+
R("hat-brim", [Pe(0, -97, 54, 10)], "#dfded7"),
|
|
1780
|
+
R("hat-fold", [z([
|
|
1768
1781
|
[-9, -126],
|
|
1769
1782
|
[-21, -127],
|
|
1770
1783
|
[-30, -123],
|
|
@@ -1772,14 +1785,14 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1772
1785
|
[-17, -114],
|
|
1773
1786
|
[-12, -121]
|
|
1774
1787
|
], !0)], "#8d343c"),
|
|
1775
|
-
|
|
1788
|
+
R("hat-shade", [z([
|
|
1776
1789
|
[6, -128],
|
|
1777
1790
|
[16, -121],
|
|
1778
1791
|
[23, -101],
|
|
1779
1792
|
[12, -104],
|
|
1780
1793
|
[10, -117]
|
|
1781
1794
|
], !0)], "#9d3a43"),
|
|
1782
|
-
|
|
1795
|
+
R("hat-fabric", [z([
|
|
1783
1796
|
[-25, -100],
|
|
1784
1797
|
[-22, -112],
|
|
1785
1798
|
[-12, -123],
|
|
@@ -1789,58 +1802,58 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1789
1802
|
[24, -100]
|
|
1790
1803
|
], !0)], "#b3434a")
|
|
1791
1804
|
], void 0, {
|
|
1792
|
-
...
|
|
1793
|
-
a:
|
|
1794
|
-
p:
|
|
1805
|
+
...je(),
|
|
1806
|
+
a: L([0, -98]),
|
|
1807
|
+
p: L([0, -98])
|
|
1795
1808
|
}),
|
|
1796
|
-
|
|
1809
|
+
R("beak-light", [z([
|
|
1797
1810
|
[-4, -68],
|
|
1798
1811
|
[4, -68],
|
|
1799
1812
|
[0, -63]
|
|
1800
1813
|
], !0)], "#f4f1e9"),
|
|
1801
|
-
|
|
1814
|
+
R("beak-shadow", [z([
|
|
1802
1815
|
[-4, -67],
|
|
1803
1816
|
[0, -62],
|
|
1804
1817
|
[4, -67],
|
|
1805
1818
|
[0, -66]
|
|
1806
1819
|
], !0)], "#c8c9c4"),
|
|
1807
|
-
|
|
1808
|
-
|
|
1820
|
+
R("sunglasses", [
|
|
1821
|
+
R("lens-glints", [z([
|
|
1809
1822
|
[-21, -85],
|
|
1810
1823
|
[-15, -86],
|
|
1811
1824
|
[-17, -82],
|
|
1812
1825
|
[-21, -81]
|
|
1813
|
-
], !0),
|
|
1826
|
+
], !0), z([
|
|
1814
1827
|
[3, -85],
|
|
1815
1828
|
[9, -86],
|
|
1816
1829
|
[7, -82],
|
|
1817
1830
|
[3, -81]
|
|
1818
1831
|
], !0)], "#65747a"),
|
|
1819
|
-
|
|
1832
|
+
R("lenses", [{
|
|
1820
1833
|
ty: "rc",
|
|
1821
|
-
p:
|
|
1822
|
-
s:
|
|
1823
|
-
r:
|
|
1834
|
+
p: L([-13, -80]),
|
|
1835
|
+
s: L([20, 12]),
|
|
1836
|
+
r: L(3.8)
|
|
1824
1837
|
}, {
|
|
1825
1838
|
ty: "rc",
|
|
1826
|
-
p:
|
|
1827
|
-
s:
|
|
1828
|
-
r:
|
|
1839
|
+
p: L([13, -80]),
|
|
1840
|
+
s: L([20, 12]),
|
|
1841
|
+
r: L(3.8)
|
|
1829
1842
|
}], "#0a1013"),
|
|
1830
|
-
|
|
1843
|
+
R("frames", [
|
|
1831
1844
|
{
|
|
1832
1845
|
ty: "rc",
|
|
1833
|
-
p:
|
|
1834
|
-
s:
|
|
1835
|
-
r:
|
|
1846
|
+
p: L([-13, -80]),
|
|
1847
|
+
s: L([24, 16]),
|
|
1848
|
+
r: L(5)
|
|
1836
1849
|
},
|
|
1837
1850
|
{
|
|
1838
1851
|
ty: "rc",
|
|
1839
|
-
p:
|
|
1840
|
-
s:
|
|
1841
|
-
r:
|
|
1852
|
+
p: L([13, -80]),
|
|
1853
|
+
s: L([24, 16]),
|
|
1854
|
+
r: L(5)
|
|
1842
1855
|
},
|
|
1843
|
-
|
|
1856
|
+
z([
|
|
1844
1857
|
[-2, -81],
|
|
1845
1858
|
[2, -81],
|
|
1846
1859
|
[2, -77],
|
|
@@ -1848,18 +1861,18 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1848
1861
|
])
|
|
1849
1862
|
], "#434e53")
|
|
1850
1863
|
], void 0, {
|
|
1851
|
-
...
|
|
1852
|
-
a:
|
|
1853
|
-
p:
|
|
1864
|
+
...je(),
|
|
1865
|
+
a: L([0, -80]),
|
|
1866
|
+
p: L([0, -80])
|
|
1854
1867
|
}),
|
|
1855
|
-
|
|
1868
|
+
R("head-rim", [z([
|
|
1856
1869
|
[-26, -90],
|
|
1857
1870
|
[-29, -79],
|
|
1858
1871
|
[-27, -67],
|
|
1859
1872
|
[-20, -60],
|
|
1860
1873
|
[-23, -70],
|
|
1861
1874
|
[-24, -80]
|
|
1862
|
-
], !0),
|
|
1875
|
+
], !0), z([
|
|
1863
1876
|
[25, -90],
|
|
1864
1877
|
[29, -79],
|
|
1865
1878
|
[27, -67],
|
|
@@ -1867,7 +1880,7 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1867
1880
|
[24, -70],
|
|
1868
1881
|
[24, -80]
|
|
1869
1882
|
], !0)], "#5d7075"),
|
|
1870
|
-
|
|
1883
|
+
R("head-light", [z([
|
|
1871
1884
|
[-24, -86],
|
|
1872
1885
|
[-18, -97],
|
|
1873
1886
|
[-7, -102],
|
|
@@ -1875,14 +1888,14 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1875
1888
|
[-7, -93],
|
|
1876
1889
|
[-18, -79]
|
|
1877
1890
|
], !0)], "#343e42"),
|
|
1878
|
-
|
|
1879
|
-
],
|
|
1880
|
-
|
|
1881
|
-
...
|
|
1882
|
-
a:
|
|
1883
|
-
p:
|
|
1891
|
+
R("head", [Pe(0, -78, 57, 51)], Me)
|
|
1892
|
+
], Ie = () => [
|
|
1893
|
+
R("head-rig", Fe(), void 0, {
|
|
1894
|
+
...je(),
|
|
1895
|
+
a: L([0, -72]),
|
|
1896
|
+
p: L([0, -72])
|
|
1884
1897
|
}),
|
|
1885
|
-
|
|
1898
|
+
R("belly-light", [z([
|
|
1886
1899
|
[-18, -54],
|
|
1887
1900
|
[-23, -40],
|
|
1888
1901
|
[-23, -27],
|
|
@@ -1891,8 +1904,8 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1891
1904
|
[-15, -27],
|
|
1892
1905
|
[-12, -44]
|
|
1893
1906
|
], !0)], "#fffefa"),
|
|
1894
|
-
|
|
1895
|
-
|
|
1907
|
+
R("belly", [Pe(0, -34, 55, 64)], "#e9ece8"),
|
|
1908
|
+
R("belly-edge", [z([
|
|
1896
1909
|
[18, -52],
|
|
1897
1910
|
[26, -39],
|
|
1898
1911
|
[26, -27],
|
|
@@ -1900,7 +1913,7 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1900
1913
|
[8, -5],
|
|
1901
1914
|
[19, -27]
|
|
1902
1915
|
], !0)], "#c7d0ce"),
|
|
1903
|
-
|
|
1916
|
+
R("far-flipper-rim", [z([
|
|
1904
1917
|
[-28, -61],
|
|
1905
1918
|
[-38, -56],
|
|
1906
1919
|
[-45, -39],
|
|
@@ -1910,7 +1923,7 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1910
1923
|
[-43, -39],
|
|
1911
1924
|
[-35, -55]
|
|
1912
1925
|
], !0)], "#64767b"),
|
|
1913
|
-
|
|
1926
|
+
R("far-flipper", [z([
|
|
1914
1927
|
[-27, -61],
|
|
1915
1928
|
[-36, -57],
|
|
1916
1929
|
[-43, -41],
|
|
@@ -1919,7 +1932,7 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1919
1932
|
[-35, -25],
|
|
1920
1933
|
[-24, -44]
|
|
1921
1934
|
], !0)], "#172125"),
|
|
1922
|
-
|
|
1935
|
+
R("body-rim-left", [z([
|
|
1923
1936
|
[-25, -64],
|
|
1924
1937
|
[-34, -49],
|
|
1925
1938
|
[-35, -30],
|
|
@@ -1928,7 +1941,7 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1928
1941
|
[-30, -48],
|
|
1929
1942
|
[-23, -61]
|
|
1930
1943
|
], !0)], "#64757a"),
|
|
1931
|
-
|
|
1944
|
+
R("body-rim-right", [z([
|
|
1932
1945
|
[24, -64],
|
|
1933
1946
|
[33, -49],
|
|
1934
1947
|
[35, -30],
|
|
@@ -1937,7 +1950,7 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1937
1950
|
[29, -49],
|
|
1938
1951
|
[22, -62]
|
|
1939
1952
|
], !0)], "#4a5b60"),
|
|
1940
|
-
|
|
1953
|
+
R("body-light", [z([
|
|
1941
1954
|
[-24, -62],
|
|
1942
1955
|
[-32, -47],
|
|
1943
1956
|
[-33, -30],
|
|
@@ -1946,7 +1959,7 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1946
1959
|
[-24, -30],
|
|
1947
1960
|
[-23, -47]
|
|
1948
1961
|
], !0)], "#3f4e53"),
|
|
1949
|
-
|
|
1962
|
+
R("body", [z([
|
|
1950
1963
|
[-11, -73],
|
|
1951
1964
|
[-25, -65],
|
|
1952
1965
|
[-34, -48],
|
|
@@ -1960,8 +1973,8 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1960
1973
|
[24, -66],
|
|
1961
1974
|
[11, -73]
|
|
1962
1975
|
], !0)], "#10191d")
|
|
1963
|
-
],
|
|
1964
|
-
|
|
1976
|
+
], Le = () => [
|
|
1977
|
+
R("flipper-rim", [z([
|
|
1965
1978
|
[-2, -11],
|
|
1966
1979
|
[7, -14],
|
|
1967
1980
|
[18, -10],
|
|
@@ -1971,7 +1984,7 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1971
1984
|
[7, -11],
|
|
1972
1985
|
[0, -8]
|
|
1973
1986
|
], !0)], "#6a7b80"),
|
|
1974
|
-
|
|
1987
|
+
R("flipper-light", [z([
|
|
1975
1988
|
[0, -10],
|
|
1976
1989
|
[10, -9],
|
|
1977
1990
|
[22, -3],
|
|
@@ -1979,7 +1992,7 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1979
1992
|
[15, -4],
|
|
1980
1993
|
[3, -3]
|
|
1981
1994
|
], !0)], "#46595e"),
|
|
1982
|
-
|
|
1995
|
+
R("flipper", [z([
|
|
1983
1996
|
[-2, -11],
|
|
1984
1997
|
[7, -13],
|
|
1985
1998
|
[18, -9],
|
|
@@ -1989,50 +2002,50 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
1989
2002
|
[7, 8],
|
|
1990
2003
|
[-2, 5]
|
|
1991
2004
|
], !0)], "#111b1f")
|
|
1992
|
-
],
|
|
2005
|
+
], Re = () => [R("left-foot-light", [z([
|
|
1993
2006
|
[-10, -5],
|
|
1994
2007
|
[-3, -7],
|
|
1995
2008
|
[8, -5],
|
|
1996
2009
|
[10, -1],
|
|
1997
2010
|
[-10, 0]
|
|
1998
|
-
], !0)], "#f4f4ed"),
|
|
2011
|
+
], !0)], "#f4f4ed"), R("left-foot-shadow", [z([
|
|
1999
2012
|
[-10, -2],
|
|
2000
2013
|
[10, -2],
|
|
2001
2014
|
[7, 1],
|
|
2002
2015
|
[-9, 1]
|
|
2003
|
-
], !0)], "#aeb8b7")],
|
|
2016
|
+
], !0)], "#aeb8b7")], ze = () => [R("right-foot-light", [z([
|
|
2004
2017
|
[-8, -5],
|
|
2005
2018
|
[3, -7],
|
|
2006
2019
|
[10, -5],
|
|
2007
2020
|
[10, 0],
|
|
2008
2021
|
[-10, -1]
|
|
2009
|
-
], !0)], "#f4f4ed"),
|
|
2022
|
+
], !0)], "#f4f4ed"), R("right-foot-shadow", [z([
|
|
2010
2023
|
[-10, -2],
|
|
2011
2024
|
[10, -2],
|
|
2012
2025
|
[9, 1],
|
|
2013
2026
|
[-7, 1]
|
|
2014
|
-
], !0)], "#aeb8b7")],
|
|
2015
|
-
|
|
2027
|
+
], !0)], "#aeb8b7")], Be = () => [
|
|
2028
|
+
R("pot-rim", [{
|
|
2016
2029
|
ty: "rc",
|
|
2017
|
-
p:
|
|
2018
|
-
s:
|
|
2019
|
-
r:
|
|
2030
|
+
p: L([0, -25]),
|
|
2031
|
+
s: L([40, 8]),
|
|
2032
|
+
r: L(2)
|
|
2020
2033
|
}], "#be8b67"),
|
|
2021
|
-
|
|
2034
|
+
R("pot-light", [z([
|
|
2022
2035
|
[-18, -24],
|
|
2023
2036
|
[-4, -23],
|
|
2024
2037
|
[-7, -3],
|
|
2025
2038
|
[-13, -3]
|
|
2026
2039
|
], !0)], "#bd795a"),
|
|
2027
|
-
|
|
2040
|
+
R("pot", [z([
|
|
2028
2041
|
[-18, -25],
|
|
2029
2042
|
[18, -25],
|
|
2030
2043
|
[12, -2],
|
|
2031
2044
|
[-12, -2]
|
|
2032
2045
|
], !0)], "#8f5643")
|
|
2033
|
-
],
|
|
2034
|
-
|
|
2035
|
-
|
|
2046
|
+
], Ve = (e) => [
|
|
2047
|
+
R("snow", [
|
|
2048
|
+
z([
|
|
2036
2049
|
[0, -e],
|
|
2037
2050
|
[-6, -e + 20],
|
|
2038
2051
|
[-15, -e + 31],
|
|
@@ -2042,18 +2055,18 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
2042
2055
|
[16, -e + 31],
|
|
2043
2056
|
[5, -e + 17]
|
|
2044
2057
|
], !0),
|
|
2045
|
-
|
|
2058
|
+
z([
|
|
2046
2059
|
[-27, -e * .64],
|
|
2047
2060
|
[-13, -e * .65],
|
|
2048
2061
|
[-2, -e * .63]
|
|
2049
2062
|
], !0),
|
|
2050
|
-
|
|
2063
|
+
z([
|
|
2051
2064
|
[11, -e * .43],
|
|
2052
2065
|
[30, -e * .44],
|
|
2053
2066
|
[39, -e * .43]
|
|
2054
2067
|
], !0)
|
|
2055
2068
|
], "#e6ece8"),
|
|
2056
|
-
|
|
2069
|
+
R("branch-light", [z([
|
|
2057
2070
|
[0, -e + 10],
|
|
2058
2071
|
[-10, -e * .82],
|
|
2059
2072
|
[-20, -e * .69],
|
|
@@ -2066,7 +2079,7 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
2066
2079
|
[-7, -36],
|
|
2067
2080
|
[-4, -e * .64]
|
|
2068
2081
|
])], "#477f6c"),
|
|
2069
|
-
|
|
2082
|
+
R("branch-shadow", [z([
|
|
2070
2083
|
[0, -e + 13],
|
|
2071
2084
|
[8, -e * .82],
|
|
2072
2085
|
[20, -e * .67],
|
|
@@ -2078,7 +2091,7 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
2078
2091
|
[49, -35],
|
|
2079
2092
|
[6, -35]
|
|
2080
2093
|
])], "#244f44"),
|
|
2081
|
-
|
|
2094
|
+
R("tree", [z([
|
|
2082
2095
|
[0, -e],
|
|
2083
2096
|
[11, -e * .83],
|
|
2084
2097
|
[8, -e * .84],
|
|
@@ -2100,20 +2113,20 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
2100
2113
|
[-7, -e * .84],
|
|
2101
2114
|
[-10, -e * .83]
|
|
2102
2115
|
])], "#2d6754"),
|
|
2103
|
-
|
|
2116
|
+
R("trunk", [z([
|
|
2104
2117
|
[-4, -46],
|
|
2105
2118
|
[4, -46],
|
|
2106
2119
|
[4, -24],
|
|
2107
2120
|
[-4, -24]
|
|
2108
2121
|
])], "#68543e")
|
|
2109
|
-
],
|
|
2122
|
+
], He = () => {
|
|
2110
2123
|
let e = (e, t) => Array.from({ length: 10 }, (n, r) => {
|
|
2111
2124
|
let i = -Math.PI / 2 + r * Math.PI / 5, a = r % 2 ? t : e;
|
|
2112
2125
|
return [Math.cos(i) * a, Math.sin(i) * a];
|
|
2113
2126
|
});
|
|
2114
|
-
return [
|
|
2115
|
-
},
|
|
2116
|
-
|
|
2127
|
+
return [R("star-light", [z(e(11.5, 5.2))], "#f5d27a"), R("star", [z(e(14, 6.2))], "#bd8e45")];
|
|
2128
|
+
}, Ue = () => [R("paper-folds", [
|
|
2129
|
+
z([
|
|
2117
2130
|
[-10, -5],
|
|
2118
2131
|
[-3, -11],
|
|
2119
2132
|
[7, -8],
|
|
@@ -2122,20 +2135,20 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
2122
2135
|
[-6, 9],
|
|
2123
2136
|
[-12, 3]
|
|
2124
2137
|
], !0),
|
|
2125
|
-
|
|
2138
|
+
z([
|
|
2126
2139
|
[-8, -3],
|
|
2127
2140
|
[-2, 1],
|
|
2128
2141
|
[3, -7]
|
|
2129
2142
|
]),
|
|
2130
|
-
|
|
2143
|
+
z([
|
|
2131
2144
|
[0, 3],
|
|
2132
2145
|
[7, 8],
|
|
2133
2146
|
[9, -1]
|
|
2134
2147
|
])
|
|
2135
|
-
], "#d7d5ca"),
|
|
2148
|
+
], "#d7d5ca"), R("paper-light", [Pe(-3, -5, 8, 5)], "#f4f1e8")], We = (e, t) => [R("snow", [Pe(0, -t / 2, e, t)], "#dcebed")], Ge = 2e4, Ke = 60, qe = 0, Je = -65, Ye = 140, Xe = -148, Ze = (e, t = !1) => ({
|
|
2136
2149
|
a: 1,
|
|
2137
2150
|
k: e.map(([n, r], i) => ({
|
|
2138
|
-
t: n *
|
|
2151
|
+
t: n * Ke,
|
|
2139
2152
|
s: r,
|
|
2140
2153
|
...i === e.length - 1 ? {} : {
|
|
2141
2154
|
e: e[i + 1][1],
|
|
@@ -2149,20 +2162,20 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
2149
2162
|
}
|
|
2150
2163
|
}
|
|
2151
2164
|
}))
|
|
2152
|
-
}),
|
|
2165
|
+
}), Qe = (e, t = !1) => Ze(e.map(([e, t]) => [e, [t]]), t), $e = ([e, t], [n, r]) => [e + n, t + r], et = ([e, t], n) => {
|
|
2153
2166
|
let r = n * Math.PI / 180;
|
|
2154
2167
|
return [e * Math.cos(r) - t * Math.sin(r), e * Math.sin(r) + t * Math.cos(r)];
|
|
2155
|
-
},
|
|
2168
|
+
}, tt = (e, t) => {
|
|
2156
2169
|
for (let n of e) {
|
|
2157
2170
|
if (n.nm === t) return n.it?.find((e) => e.ty === "tr");
|
|
2158
|
-
let e = n.it &&
|
|
2171
|
+
let e = n.it && tt(n.it, t);
|
|
2159
2172
|
if (e) return e;
|
|
2160
2173
|
}
|
|
2161
|
-
},
|
|
2174
|
+
}, nt = (e, t, n, r, i) => Array.from({ length: i + 1 }, (a, o) => {
|
|
2162
2175
|
let s = o / i, c = s * s * (3 - 2 * s), l = o === 0 || o === i ? 0 : o % 2 ? -3 : 0;
|
|
2163
2176
|
return [n + (r - n) * c, [e[0] + (t[0] - e[0]) * c, e[1] + (t[1] - e[1]) * c + l]];
|
|
2164
|
-
}),
|
|
2165
|
-
let n = t ? .68 : .9, r = e.rtl ? -1 : 1, i = e.box.top + 2 * n, a = ([t, a]) => [e.center + r * n * t, i + n * a], o = ([t, a]) => [(t - e.center) / (r * n), (a - i) / n], s = o([e.throwCenter, i])[0], c = o([e.rtl ? Math.min(e.width + 60 * n, e.box.left + e.box.width + 60 * n) : Math.max(-60 * n, e.box.left - 60 * n), i]), l = [s, 0], u = [
|
|
2177
|
+
}), rt = (e, t) => {
|
|
2178
|
+
let n = t ? .68 : .9, r = e.rtl ? -1 : 1, i = e.box.top + 2 * n, a = ([t, a]) => [e.center + r * n * t, i + n * a], o = ([t, a]) => [(t - e.center) / (r * n), (a - i) / n], s = o([e.throwCenter, i])[0], c = o([e.rtl ? Math.min(e.width + 60 * n, e.box.left + e.box.width + 60 * n) : Math.max(-60 * n, e.box.left - 60 * n), i]), l = [s, 0], u = [Je, 0], d = nt(c, l, 0, 4, 12), f = nt(u, c, 16, 20, 12), p = [
|
|
2166
2179
|
...d,
|
|
2167
2180
|
[5.1, [s, -3]],
|
|
2168
2181
|
[6.7, [s, 2]],
|
|
@@ -2171,45 +2184,45 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
2171
2184
|
[9.05, l],
|
|
2172
2185
|
[10.7, l],
|
|
2173
2186
|
[11.8, l],
|
|
2174
|
-
...
|
|
2187
|
+
...nt(l, u, 11.8, 13.5, 8).slice(1),
|
|
2175
2188
|
[14.8, u],
|
|
2176
|
-
[15.1, [
|
|
2177
|
-
[15.7, [
|
|
2189
|
+
[15.1, [Je, 4]],
|
|
2190
|
+
[15.7, [Je, -3]],
|
|
2178
2191
|
[16, u],
|
|
2179
2192
|
...f.slice(1)
|
|
2180
|
-
], m = (e, t) => $($(e, [20, -47]),
|
|
2181
|
-
...
|
|
2182
|
-
p:
|
|
2183
|
-
s:
|
|
2193
|
+
], m = (e, t) => $e($e(e, [20, -47]), et([28, 0], t)), h = a(m([s, 2], -35 * r)), g = [], _ = (e, t = r * n * 100) => ({
|
|
2194
|
+
...je(),
|
|
2195
|
+
p: L(a(e)),
|
|
2196
|
+
s: L([t, n * 100])
|
|
2184
2197
|
}), v = (e, t, n, r = 0, i = 20) => {
|
|
2185
2198
|
let a = {
|
|
2186
2199
|
ty: 4,
|
|
2187
2200
|
ind: g.length + 1,
|
|
2188
2201
|
nm: e,
|
|
2189
|
-
ip: r *
|
|
2190
|
-
op: i *
|
|
2202
|
+
ip: r * Ke,
|
|
2203
|
+
op: i * Ke,
|
|
2191
2204
|
st: 0,
|
|
2192
2205
|
sr: 1,
|
|
2193
2206
|
ks: n,
|
|
2194
2207
|
shapes: t
|
|
2195
2208
|
};
|
|
2196
2209
|
return g.push(a), a;
|
|
2197
|
-
}, y = () =>
|
|
2210
|
+
}, y = () => Qe([
|
|
2198
2211
|
[0, 0],
|
|
2199
2212
|
[.4, 100],
|
|
2200
2213
|
[19.6, 100],
|
|
2201
2214
|
[20, 0]
|
|
2202
|
-
]), b = () =>
|
|
2215
|
+
]), b = () => Qe([
|
|
2203
2216
|
[0, 100],
|
|
2204
2217
|
[19.4, 100],
|
|
2205
2218
|
[20, 0]
|
|
2206
2219
|
]);
|
|
2207
2220
|
if (!e.source) {
|
|
2208
2221
|
let t = _(o([e.width / 2, i + 4 * n]));
|
|
2209
|
-
t.o = b(), v("snow-stage",
|
|
2222
|
+
t.o = b(), v("snow-stage", We(Math.min(e.width - 32, 560) / n, 13), t);
|
|
2210
2223
|
}
|
|
2211
|
-
let x = _([
|
|
2212
|
-
x.r =
|
|
2224
|
+
let x = _([qe, 0]);
|
|
2225
|
+
x.r = Qe([
|
|
2213
2226
|
[0, 0],
|
|
2214
2227
|
[10.7, 0],
|
|
2215
2228
|
[10.9, 6 * r],
|
|
@@ -2221,10 +2234,10 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
2221
2234
|
[15, 0],
|
|
2222
2235
|
[20, 0]
|
|
2223
2236
|
]), x.o = b();
|
|
2224
|
-
let
|
|
2225
|
-
|
|
2226
|
-
let
|
|
2227
|
-
|
|
2237
|
+
let ee = v("fir-tree", Ve(Ye), x), S = _([qe, 0]);
|
|
2238
|
+
S.o = b(), v("fir-pot", Be(), S);
|
|
2239
|
+
let te = _(p[0][1]);
|
|
2240
|
+
te.p = Ze(p.map(([e, t]) => [e, a(t)]), !0), te.r = Qe([
|
|
2228
2241
|
[0, 0],
|
|
2229
2242
|
[2.4, 3 * r],
|
|
2230
2243
|
[4, 0],
|
|
@@ -2241,15 +2254,15 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
2241
2254
|
[15.7, -2 * r],
|
|
2242
2255
|
[16, 0],
|
|
2243
2256
|
[20, 0]
|
|
2244
|
-
]),
|
|
2245
|
-
let
|
|
2246
|
-
|
|
2257
|
+
]), te.o = y();
|
|
2258
|
+
let C = Ie(), w = tt(C, "head-rig");
|
|
2259
|
+
w && (w.p = Ze([
|
|
2247
2260
|
[0, [0, -72]],
|
|
2248
2261
|
[14.8, [0, -72]],
|
|
2249
2262
|
[15.1, [0, -65]],
|
|
2250
2263
|
[15.7, [0, -72]],
|
|
2251
2264
|
[20, [0, -72]]
|
|
2252
|
-
]),
|
|
2265
|
+
]), w.r = Qe([
|
|
2253
2266
|
[0, 0],
|
|
2254
2267
|
[5.1, -10 * r],
|
|
2255
2268
|
[6.8, 7 * r],
|
|
@@ -2263,8 +2276,8 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
2263
2276
|
[13.5, 0],
|
|
2264
2277
|
[20, 0]
|
|
2265
2278
|
]));
|
|
2266
|
-
let
|
|
2267
|
-
|
|
2279
|
+
let ne = tt(C, "sunglasses");
|
|
2280
|
+
ne && (ne.r = Qe([
|
|
2268
2281
|
[0, 0],
|
|
2269
2282
|
[5.1, -4],
|
|
2270
2283
|
[6.8, 6],
|
|
@@ -2275,17 +2288,17 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
2275
2288
|
[12.7, -4],
|
|
2276
2289
|
[15, 0],
|
|
2277
2290
|
[20, 0]
|
|
2278
|
-
])), v("penguin",
|
|
2279
|
-
let
|
|
2291
|
+
])), v("penguin", C, te);
|
|
2292
|
+
let T = (e, t, n) => {
|
|
2280
2293
|
let r = _(p[0][1]);
|
|
2281
|
-
r.p =
|
|
2294
|
+
r.p = Ze(p.map(([e, n]) => {
|
|
2282
2295
|
let r = e <= 4 || e >= 16, i = Math.sin(e * Math.PI * 5 + (t === 1 ? Math.PI : 0));
|
|
2283
|
-
return [e, a($(n, [t * 16 + (r ? i * 5 : 0), r ? -Math.max(0, i) * 4 : 0]))];
|
|
2296
|
+
return [e, a($e(n, [t * 16 + (r ? i * 5 : 0), r ? -Math.max(0, i) * 4 : 0]))];
|
|
2284
2297
|
}), !0), r.o = y(), v(e, n, r);
|
|
2285
2298
|
};
|
|
2286
|
-
|
|
2287
|
-
let
|
|
2288
|
-
|
|
2299
|
+
T("penguin-left-foot", -1, Re()), T("penguin-right-foot", 1, ze());
|
|
2300
|
+
let E = _($e(p[0][1], [20, -47]));
|
|
2301
|
+
E.p = Ze(p.map(([e, t]) => [e, a($e(t, [20, -47]))]), !0), E.r = Qe([
|
|
2289
2302
|
[0, 60 * r],
|
|
2290
2303
|
[4.2, 60 * r],
|
|
2291
2304
|
[5.1, -50 * r],
|
|
@@ -2298,56 +2311,56 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
2298
2311
|
[15.1, 30 * r],
|
|
2299
2312
|
[16, 60 * r],
|
|
2300
2313
|
[20, 60 * r]
|
|
2301
|
-
]),
|
|
2302
|
-
let
|
|
2303
|
-
let r = v(e,
|
|
2304
|
-
...
|
|
2305
|
-
p:
|
|
2306
|
-
...e === "star-in-flipper" ? { s:
|
|
2314
|
+
]), E.o = y();
|
|
2315
|
+
let D = v("penguin-flipper", Le(), E), O = (e, t, n) => {
|
|
2316
|
+
let r = v(e, He(), {
|
|
2317
|
+
...je(),
|
|
2318
|
+
p: L([28, 0]),
|
|
2319
|
+
...e === "star-in-flipper" ? { s: Ze([
|
|
2307
2320
|
[7.6, [26, 26]],
|
|
2308
2321
|
[7.92, [110, 110]],
|
|
2309
2322
|
[8.25, [100, 100]]
|
|
2310
2323
|
]) } : {}
|
|
2311
2324
|
}, t, n);
|
|
2312
|
-
r.parent =
|
|
2313
|
-
},
|
|
2314
|
-
...
|
|
2315
|
-
p:
|
|
2316
|
-
r:
|
|
2325
|
+
r.parent = D.ind;
|
|
2326
|
+
}, re = v("crumpled-interface", Ue(), {
|
|
2327
|
+
...je(),
|
|
2328
|
+
p: L([28, 0]),
|
|
2329
|
+
r: Qe([
|
|
2317
2330
|
[6.7, 0],
|
|
2318
2331
|
[7.4, 460 * r],
|
|
2319
2332
|
[7.6, 540 * r]
|
|
2320
2333
|
]),
|
|
2321
|
-
s:
|
|
2334
|
+
s: Ze([
|
|
2322
2335
|
[6.7, [100, 100]],
|
|
2323
2336
|
[7.4, [76, 76]],
|
|
2324
2337
|
[7.6, [26, 26]]
|
|
2325
2338
|
])
|
|
2326
2339
|
}, 6.7, 7.6);
|
|
2327
|
-
|
|
2328
|
-
let
|
|
2329
|
-
|
|
2340
|
+
re.parent = D.ind, O("star-in-flipper", 7.6, 8.5);
|
|
2341
|
+
let k = _(m([s, -12], -70), n * 100);
|
|
2342
|
+
k.p = Ze([
|
|
2330
2343
|
[8.5, m([s, -12], -70)],
|
|
2331
2344
|
[9.2, [s * .64, -328]],
|
|
2332
2345
|
[9.85, [s * .25, -293]],
|
|
2333
|
-
[10.7, [
|
|
2334
|
-
].map(([e, t]) => [e, a(t)])),
|
|
2346
|
+
[10.7, [qe, Xe]]
|
|
2347
|
+
].map(([e, t]) => [e, a(t)])), k.r = Qe([
|
|
2335
2348
|
[8.5, 0],
|
|
2336
2349
|
[9.2, 220 * r],
|
|
2337
2350
|
[10.7, 360 * r]
|
|
2338
|
-
]), v("thrown-star",
|
|
2339
|
-
let
|
|
2340
|
-
...
|
|
2341
|
-
p:
|
|
2351
|
+
]), v("thrown-star", He(), k, 8.5, 10.7);
|
|
2352
|
+
let A = v("star-on-fir", He(), {
|
|
2353
|
+
...je(),
|
|
2354
|
+
p: L([0, Xe])
|
|
2342
2355
|
}, 10.7, 20);
|
|
2343
|
-
return
|
|
2356
|
+
return A.parent = ee.ind, {
|
|
2344
2357
|
targets: e,
|
|
2345
2358
|
capturePoint: h,
|
|
2346
2359
|
animationData: {
|
|
2347
2360
|
v: "5.13.0",
|
|
2348
|
-
fr:
|
|
2361
|
+
fr: Ke,
|
|
2349
2362
|
ip: 0,
|
|
2350
|
-
op:
|
|
2363
|
+
op: Ge / 1e3 * Ke,
|
|
2351
2364
|
w: e.width,
|
|
2352
2365
|
h: e.height,
|
|
2353
2366
|
nm: "Penguin and the last star",
|
|
@@ -2356,7 +2369,7 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
2356
2369
|
layers: g.reverse()
|
|
2357
2370
|
}
|
|
2358
2371
|
};
|
|
2359
|
-
},
|
|
2372
|
+
}, it = (e, t, n) => {
|
|
2360
2373
|
if (typeof e.animate != "function") return () => void 0;
|
|
2361
2374
|
let r = n[0] - (t.left + t.width / 2), i = n[1] - (t.top + t.height / 2), a;
|
|
2362
2375
|
try {
|
|
@@ -2403,7 +2416,7 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
2403
2416
|
} catch {}
|
|
2404
2417
|
}
|
|
2405
2418
|
};
|
|
2406
|
-
},
|
|
2419
|
+
}, at = (e, t, n, r) => {
|
|
2407
2420
|
let i, a, o, s, c, l = !1, u = !1, d = !1, f, p = [
|
|
2408
2421
|
e.targets.source,
|
|
2409
2422
|
e.targets.heading,
|
|
@@ -2426,10 +2439,10 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
2426
2439
|
if (l || d || (i?.currentFrame ?? 0) < 306) return;
|
|
2427
2440
|
d = !0;
|
|
2428
2441
|
let t = e.targets.borrowed;
|
|
2429
|
-
t?.element.isConnected && (f =
|
|
2442
|
+
t?.element.isConnected && (f = it(t.element, t.rect, e.capturePoint));
|
|
2430
2443
|
}, v = () => {
|
|
2431
2444
|
if (!(l || u || !i?.isLoaded)) {
|
|
2432
|
-
u = !0, clearTimeout(o), i.removeEventListener("DOMLoaded", v), a = setTimeout(h,
|
|
2445
|
+
u = !0, clearTimeout(o), i.removeEventListener("DOMLoaded", v), a = setTimeout(h, Ge);
|
|
2433
2446
|
try {
|
|
2434
2447
|
i.play();
|
|
2435
2448
|
} catch {
|
|
@@ -2449,7 +2462,7 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
2449
2462
|
}) && h();
|
|
2450
2463
|
};
|
|
2451
2464
|
try {
|
|
2452
|
-
if (i =
|
|
2465
|
+
if (i = D(n, t, e.animationData), i.addEventListener("DOMLoaded", v), i.addEventListener("enterFrame", _), i.addEventListener("complete", h), i.addEventListener("data_failed", g), i.addEventListener("error", g), p.length) {
|
|
2453
2466
|
s = new MutationObserver((e) => {
|
|
2454
2467
|
let n = e.filter((e) => !t.contains(e.target) && !(e.type === "childList" && [...e.addedNodes, ...e.removedNodes].every((e) => e === t || t.contains(e))));
|
|
2455
2468
|
p.some(({ element: e }) => !e.isConnected || n.some((t) => e.contains(t.target) || t.type === "attributes" && t.target instanceof Element && t.target.contains(e))) ? h() : n.length && y();
|
|
@@ -2482,7 +2495,7 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
2482
2495
|
g();
|
|
2483
2496
|
}
|
|
2484
2497
|
return h;
|
|
2485
|
-
},
|
|
2498
|
+
}, ot = (e) => {
|
|
2486
2499
|
if (!(e instanceof HTMLElement)) return null;
|
|
2487
2500
|
let t = e.getBoundingClientRect();
|
|
2488
2501
|
if (!t.width || !t.height) return null;
|
|
@@ -2491,12 +2504,12 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
2491
2504
|
element: e,
|
|
2492
2505
|
rect: t
|
|
2493
2506
|
};
|
|
2494
|
-
},
|
|
2495
|
-
let n =
|
|
2507
|
+
}, st = (e, t) => {
|
|
2508
|
+
let n = Ee(e, t), r = t ? .68 : .9, i = n.source?.element.closest(e.welcomeRegion ?? "[role=\"region\"]"), a = ot(i?.querySelector("h1, h2, [role=\"heading\"]") ?? null), o = ot(e.starterList ? i?.getElementsByClassName(e.starterList)[0] ?? null : null), s = [];
|
|
2496
2509
|
if (o) {
|
|
2497
2510
|
let e = o.element.getElementsByTagName("button");
|
|
2498
2511
|
for (let t = 0; t < Math.min(e.length, 4); t++) {
|
|
2499
|
-
let r =
|
|
2512
|
+
let r = ot(e[t]);
|
|
2500
2513
|
if (!r) continue;
|
|
2501
2514
|
let { element: i, rect: a } = r, o = getComputedStyle(i);
|
|
2502
2515
|
!i.isConnected || i.matches(":disabled, [aria-disabled=\"true\"]") || i.contains(document.activeElement) || i.closest("[hidden], [inert], [aria-hidden=\"true\"]") || o.transform !== "none" && o.transform !== "" || typeof i.animate != "function" || a.width < 36 || a.width > 240 || a.height < 24 || a.height > 72 || a.left < 0 || a.right > n.width || a.top < 0 || a.bottom > n.height || s.push(r);
|
|
@@ -2504,7 +2517,7 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
2504
2517
|
}
|
|
2505
2518
|
let c = n.source && e.composerModelSelector ? n.source.element.getElementsByClassName(e.composerModelSelector) : [], l = null;
|
|
2506
2519
|
for (let e = 0; e < Math.min(c.length, 4); e++) {
|
|
2507
|
-
let t =
|
|
2520
|
+
let t = ot(c[e]);
|
|
2508
2521
|
if (!t) continue;
|
|
2509
2522
|
let { element: r, rect: i } = t, a = getComputedStyle(r);
|
|
2510
2523
|
if (!r.isConnected || !r.matches("button, [role=\"button\"]") || r.matches(":disabled, [aria-disabled=\"true\"], [aria-expanded=\"true\"]") || r.isContentEditable || r.matches("[contenteditable]:not([contenteditable=\"false\"])") || r.closest("[hidden], [inert], [aria-hidden=\"true\"]") || r.contains(document.activeElement) || a.transform !== "none" && a.transform !== "" || typeof r.animate != "function" || i.width < 36 || i.width > 180 || i.height < 30 || i.height > 72 || i.left < Math.max(0, n.box.left - 2) || i.right > Math.min(n.width, n.box.left + n.box.width + 2) || i.top < 0 || i.bottom > n.height) continue;
|
|
@@ -2538,47 +2551,47 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
2538
2551
|
if (!n.source) return _.box.top = Math.min(n.height - 28, Math.max(n.box.top, n.height * .7)), _;
|
|
2539
2552
|
let v = n.box.top + 2 * r, y = Math.min(_.center, _.throwCenter) - 70 * r, b = Math.max(_.center, _.throwCenter) + 70 * r;
|
|
2540
2553
|
return [a, o].some((e) => e && e.rect.bottom > v - 190 * r && e.rect.top < v + 12 * r && e.rect.left < b && e.rect.right > y) && (_.source = null, _.box.top = Math.min(n.height - 28, Math.max(n.box.top + n.box.height + 190 * r + 16, n.height * .7))), _;
|
|
2541
|
-
},
|
|
2554
|
+
}, ct = () => /* @__PURE__ */ g("svg", {
|
|
2542
2555
|
viewBox: "0 0 260 170",
|
|
2543
2556
|
focusable: "false",
|
|
2544
2557
|
"data-penguin-static": !0,
|
|
2545
2558
|
children: [
|
|
2546
|
-
/* @__PURE__ */
|
|
2559
|
+
/* @__PURE__ */ g("g", {
|
|
2547
2560
|
transform: "translate(69 157)",
|
|
2548
2561
|
children: [
|
|
2549
|
-
/* @__PURE__ */
|
|
2562
|
+
/* @__PURE__ */ h("path", {
|
|
2550
2563
|
d: "M-18-25H18L12-2H-12Z",
|
|
2551
2564
|
fill: "#8f5643"
|
|
2552
2565
|
}),
|
|
2553
|
-
/* @__PURE__ */
|
|
2566
|
+
/* @__PURE__ */ h("path", {
|
|
2554
2567
|
d: "M-17-23H-4L-7-3H-12Z",
|
|
2555
2568
|
fill: "#bd795a"
|
|
2556
2569
|
}),
|
|
2557
|
-
/* @__PURE__ */
|
|
2570
|
+
/* @__PURE__ */ h("path", {
|
|
2558
2571
|
d: "M-20-29H20V-22H-20Z",
|
|
2559
2572
|
fill: "#be8b67"
|
|
2560
2573
|
}),
|
|
2561
|
-
/* @__PURE__ */
|
|
2574
|
+
/* @__PURE__ */ h("path", {
|
|
2562
2575
|
d: "M-4-42H4V-24H-4Z",
|
|
2563
2576
|
fill: "#68543e"
|
|
2564
2577
|
}),
|
|
2565
|
-
/* @__PURE__ */
|
|
2578
|
+
/* @__PURE__ */ h("path", {
|
|
2566
2579
|
d: "M0-126L10-105L7-107L22-87L15-88L33-68L24-70L43-45L32-49L51-31L0-35L-50-32L-31-50L-42-46L-23-70L-32-68L-14-89L-21-87L-6-107L-9-105Z",
|
|
2567
2580
|
fill: "#2d6754"
|
|
2568
2581
|
}),
|
|
2569
|
-
/* @__PURE__ */
|
|
2582
|
+
/* @__PURE__ */ h("path", {
|
|
2570
2583
|
d: "M0-116L-10-104L-18-88L-11-90L-29-68L-19-71L-40-44L-29-48L-48-33L-7-36L-4-80Z",
|
|
2571
2584
|
fill: "#477f6c"
|
|
2572
2585
|
}),
|
|
2573
|
-
/* @__PURE__ */
|
|
2586
|
+
/* @__PURE__ */ h("path", {
|
|
2574
2587
|
d: "M1-110L10-104L19-87L12-89L31-68L22-70L41-44L30-47L49-35L6-35Z",
|
|
2575
2588
|
fill: "#244f44"
|
|
2576
2589
|
}),
|
|
2577
|
-
/* @__PURE__ */
|
|
2590
|
+
/* @__PURE__ */ h("path", {
|
|
2578
2591
|
d: "M0-126L-6-110L-14-96L-6-99L0-95L8-99L15-96L5-110Z",
|
|
2579
2592
|
fill: "#e6ece8"
|
|
2580
2593
|
}),
|
|
2581
|
-
/* @__PURE__ */
|
|
2594
|
+
/* @__PURE__ */ h("path", {
|
|
2582
2595
|
d: "M-25-80L-12-82L-1-79M11-56L29-57L37-55",
|
|
2583
2596
|
fill: "none",
|
|
2584
2597
|
stroke: "#d8e4df",
|
|
@@ -2587,118 +2600,118 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
2587
2600
|
})
|
|
2588
2601
|
]
|
|
2589
2602
|
}),
|
|
2590
|
-
/* @__PURE__ */
|
|
2603
|
+
/* @__PURE__ */ h("path", {
|
|
2591
2604
|
d: "M69 9L72 17L81 17L74 23L76 32L69 27L62 32L64 23L57 17L66 17Z",
|
|
2592
2605
|
fill: "#bd8e45"
|
|
2593
2606
|
}),
|
|
2594
|
-
/* @__PURE__ */
|
|
2607
|
+
/* @__PURE__ */ h("path", {
|
|
2595
2608
|
d: "M69 12L71 19L78 19L73 23L74 29L69 25L64 29L65 23L60 19L67 19Z",
|
|
2596
2609
|
fill: "#f5d27a"
|
|
2597
2610
|
}),
|
|
2598
|
-
/* @__PURE__ */
|
|
2611
|
+
/* @__PURE__ */ g("g", {
|
|
2599
2612
|
transform: "translate(190 157)",
|
|
2600
2613
|
children: [
|
|
2601
|
-
/* @__PURE__ */
|
|
2614
|
+
/* @__PURE__ */ h("path", {
|
|
2602
2615
|
d: "M-27-61Q-38-57-43-39L-46-19Q-44-14-39-22L-25-45Z",
|
|
2603
2616
|
fill: "#172125"
|
|
2604
2617
|
}),
|
|
2605
|
-
/* @__PURE__ */
|
|
2618
|
+
/* @__PURE__ */ h("path", {
|
|
2606
2619
|
d: "M27-61Q38-57 43-39L46-19Q44-14 39-22L25-45Z",
|
|
2607
2620
|
fill: "#172125"
|
|
2608
2621
|
}),
|
|
2609
|
-
/* @__PURE__ */
|
|
2622
|
+
/* @__PURE__ */ h("path", {
|
|
2610
2623
|
d: "M-29-60Q-41-52-45-37L-47-21Q-46-16-44-18Q-45-38-36-54Z",
|
|
2611
2624
|
fill: "#64767b"
|
|
2612
2625
|
}),
|
|
2613
|
-
/* @__PURE__ */
|
|
2626
|
+
/* @__PURE__ */ h("path", {
|
|
2614
2627
|
d: "M29-60Q41-52 45-37L47-21Q46-16 44-18Q45-38 36-54Z",
|
|
2615
2628
|
fill: "#54666b"
|
|
2616
2629
|
}),
|
|
2617
|
-
/* @__PURE__ */
|
|
2630
|
+
/* @__PURE__ */ h("path", {
|
|
2618
2631
|
d: "M-11-73Q-26-66-33-48Q-38-27-24-9Q-14-2 12-3Q28-9 34-28Q37-50 23-66Q10-76-11-73Z",
|
|
2619
2632
|
fill: "#10191d"
|
|
2620
2633
|
}),
|
|
2621
|
-
/* @__PURE__ */
|
|
2634
|
+
/* @__PURE__ */ h("path", {
|
|
2622
2635
|
d: "M-25-64Q-35-49-35-30Q-34-20-28-13Q-30-31-30-48L-23-61Z",
|
|
2623
2636
|
fill: "#64757a"
|
|
2624
2637
|
}),
|
|
2625
|
-
/* @__PURE__ */
|
|
2638
|
+
/* @__PURE__ */ h("path", {
|
|
2626
2639
|
d: "M24-64Q34-49 35-30Q34-20 27-13Q30-31 29-49L22-62Z",
|
|
2627
2640
|
fill: "#4a5b60"
|
|
2628
2641
|
}),
|
|
2629
|
-
/* @__PURE__ */
|
|
2642
|
+
/* @__PURE__ */ h("path", {
|
|
2630
2643
|
d: "M-24-62Q-33-48-33-31Q-32-17-23-9Q-26-30-23-47Z",
|
|
2631
2644
|
fill: "#3f4e53"
|
|
2632
2645
|
}),
|
|
2633
|
-
/* @__PURE__ */
|
|
2646
|
+
/* @__PURE__ */ h("ellipse", {
|
|
2634
2647
|
cy: "-34",
|
|
2635
2648
|
rx: "27.5",
|
|
2636
2649
|
ry: "32",
|
|
2637
2650
|
fill: "#e9ece8"
|
|
2638
2651
|
}),
|
|
2639
|
-
/* @__PURE__ */
|
|
2652
|
+
/* @__PURE__ */ h("path", {
|
|
2640
2653
|
d: "M-18-54Q-25-42-23-27Q-19-12-5-7Q-14-27-12-44Z",
|
|
2641
2654
|
fill: "#fffefa"
|
|
2642
2655
|
}),
|
|
2643
|
-
/* @__PURE__ */
|
|
2656
|
+
/* @__PURE__ */ h("path", {
|
|
2644
2657
|
d: "M18-52Q26-41 26-27Q24-12 8-5Q20-27 18-52Z",
|
|
2645
2658
|
fill: "#c7d0ce"
|
|
2646
2659
|
}),
|
|
2647
|
-
/* @__PURE__ */
|
|
2660
|
+
/* @__PURE__ */ h("ellipse", {
|
|
2648
2661
|
cy: "-78",
|
|
2649
2662
|
rx: "28.5",
|
|
2650
2663
|
ry: "25.5",
|
|
2651
2664
|
fill: "#182226"
|
|
2652
2665
|
}),
|
|
2653
|
-
/* @__PURE__ */
|
|
2666
|
+
/* @__PURE__ */ h("path", {
|
|
2654
2667
|
d: "M-26-90Q-29-80-27-68L-20-60Q-25-73-24-80Z",
|
|
2655
2668
|
fill: "#5d7075"
|
|
2656
2669
|
}),
|
|
2657
|
-
/* @__PURE__ */
|
|
2670
|
+
/* @__PURE__ */ h("path", {
|
|
2658
2671
|
d: "M25-90Q29-80 27-68L21-60Q25-73 24-80Z",
|
|
2659
2672
|
fill: "#5d7075"
|
|
2660
2673
|
}),
|
|
2661
|
-
/* @__PURE__ */
|
|
2674
|
+
/* @__PURE__ */ h("path", {
|
|
2662
2675
|
d: "M-24-86Q-20-99-7-102Q2-104 10-101Q-7-92-18-79Z",
|
|
2663
2676
|
fill: "#343e42"
|
|
2664
2677
|
}),
|
|
2665
|
-
/* @__PURE__ */
|
|
2678
|
+
/* @__PURE__ */ h("path", {
|
|
2666
2679
|
d: "M-25-100Q-22-115-12-123Q3-131 12-126Q20-117 24-100Z",
|
|
2667
2680
|
fill: "#b3434a"
|
|
2668
2681
|
}),
|
|
2669
|
-
/* @__PURE__ */
|
|
2682
|
+
/* @__PURE__ */ h("path", {
|
|
2670
2683
|
d: "M6-128Q17-122 23-101L12-104L10-117Z",
|
|
2671
2684
|
fill: "#9d3a43"
|
|
2672
2685
|
}),
|
|
2673
|
-
/* @__PURE__ */
|
|
2686
|
+
/* @__PURE__ */ h("path", {
|
|
2674
2687
|
d: "M-9-126Q-22-129-30-123Q-28-118-24-117L-17-114Z",
|
|
2675
2688
|
fill: "#8d343c"
|
|
2676
2689
|
}),
|
|
2677
|
-
/* @__PURE__ */
|
|
2690
|
+
/* @__PURE__ */ h("ellipse", {
|
|
2678
2691
|
cy: "-97",
|
|
2679
2692
|
rx: "27",
|
|
2680
2693
|
ry: "5",
|
|
2681
2694
|
fill: "#dfded7"
|
|
2682
2695
|
}),
|
|
2683
|
-
/* @__PURE__ */
|
|
2696
|
+
/* @__PURE__ */ h("path", {
|
|
2684
2697
|
d: "M-25-99Q0-104 25-99Q12-97-13-98Z",
|
|
2685
2698
|
fill: "#fcfaf4"
|
|
2686
2699
|
}),
|
|
2687
|
-
/* @__PURE__ */
|
|
2700
|
+
/* @__PURE__ */ h("ellipse", {
|
|
2688
2701
|
cx: "-30",
|
|
2689
2702
|
cy: "-123",
|
|
2690
2703
|
rx: "5.5",
|
|
2691
2704
|
ry: "5.5",
|
|
2692
2705
|
fill: "#f1ece2"
|
|
2693
2706
|
}),
|
|
2694
|
-
/* @__PURE__ */
|
|
2707
|
+
/* @__PURE__ */ h("ellipse", {
|
|
2695
2708
|
cx: "-32",
|
|
2696
2709
|
cy: "-125",
|
|
2697
2710
|
rx: "2",
|
|
2698
2711
|
ry: "2",
|
|
2699
2712
|
fill: "#fcfaf4"
|
|
2700
2713
|
}),
|
|
2701
|
-
/* @__PURE__ */
|
|
2714
|
+
/* @__PURE__ */ h("rect", {
|
|
2702
2715
|
x: "-25",
|
|
2703
2716
|
y: "-88",
|
|
2704
2717
|
width: "24",
|
|
@@ -2706,7 +2719,7 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
2706
2719
|
rx: "5",
|
|
2707
2720
|
fill: "#434e53"
|
|
2708
2721
|
}),
|
|
2709
|
-
/* @__PURE__ */
|
|
2722
|
+
/* @__PURE__ */ h("rect", {
|
|
2710
2723
|
x: "1",
|
|
2711
2724
|
y: "-88",
|
|
2712
2725
|
width: "24",
|
|
@@ -2714,7 +2727,7 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
2714
2727
|
rx: "5",
|
|
2715
2728
|
fill: "#434e53"
|
|
2716
2729
|
}),
|
|
2717
|
-
/* @__PURE__ */
|
|
2730
|
+
/* @__PURE__ */ h("rect", {
|
|
2718
2731
|
x: "-23",
|
|
2719
2732
|
y: "-86",
|
|
2720
2733
|
width: "20",
|
|
@@ -2722,7 +2735,7 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
2722
2735
|
rx: "3.8",
|
|
2723
2736
|
fill: "#0a1013"
|
|
2724
2737
|
}),
|
|
2725
|
-
/* @__PURE__ */
|
|
2738
|
+
/* @__PURE__ */ h("rect", {
|
|
2726
2739
|
x: "3",
|
|
2727
2740
|
y: "-86",
|
|
2728
2741
|
width: "20",
|
|
@@ -2730,48 +2743,48 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
2730
2743
|
rx: "3.8",
|
|
2731
2744
|
fill: "#0a1013"
|
|
2732
2745
|
}),
|
|
2733
|
-
/* @__PURE__ */
|
|
2746
|
+
/* @__PURE__ */ h("path", {
|
|
2734
2747
|
d: "M-2-82H2V-79H-2Z",
|
|
2735
2748
|
fill: "#434e53"
|
|
2736
2749
|
}),
|
|
2737
|
-
/* @__PURE__ */
|
|
2750
|
+
/* @__PURE__ */ h("path", {
|
|
2738
2751
|
d: "M-21-85L-15-86L-17-82L-21-81ZM3-85L9-86L7-82L3-81Z",
|
|
2739
2752
|
fill: "#65747a"
|
|
2740
2753
|
}),
|
|
2741
|
-
/* @__PURE__ */
|
|
2754
|
+
/* @__PURE__ */ h("path", {
|
|
2742
2755
|
d: "M-4-68H4L0-63Z",
|
|
2743
2756
|
fill: "#c8c9c4"
|
|
2744
2757
|
}),
|
|
2745
|
-
/* @__PURE__ */
|
|
2758
|
+
/* @__PURE__ */ h("path", {
|
|
2746
2759
|
d: "M-4-69H4L0-65Z",
|
|
2747
2760
|
fill: "#f4f1e9"
|
|
2748
2761
|
}),
|
|
2749
|
-
/* @__PURE__ */
|
|
2762
|
+
/* @__PURE__ */ h("path", {
|
|
2750
2763
|
d: "M-26-5Q-19-8-8-5L-6 0H-26Z",
|
|
2751
2764
|
fill: "#f4f4ed"
|
|
2752
2765
|
}),
|
|
2753
|
-
/* @__PURE__ */
|
|
2766
|
+
/* @__PURE__ */ h("path", {
|
|
2754
2767
|
d: "M-26-2H-6L-9 1H-25Z",
|
|
2755
2768
|
fill: "#aeb8b7"
|
|
2756
2769
|
}),
|
|
2757
|
-
/* @__PURE__ */
|
|
2770
|
+
/* @__PURE__ */ h("path", {
|
|
2758
2771
|
d: "M5-5Q15-8 23-5L25 0H5Z",
|
|
2759
2772
|
fill: "#f4f4ed"
|
|
2760
2773
|
}),
|
|
2761
|
-
/* @__PURE__ */
|
|
2774
|
+
/* @__PURE__ */ h("path", {
|
|
2762
2775
|
d: "M5-2H25L22 1H7Z",
|
|
2763
2776
|
fill: "#aeb8b7"
|
|
2764
2777
|
})
|
|
2765
2778
|
]
|
|
2766
2779
|
})
|
|
2767
2780
|
]
|
|
2768
|
-
}),
|
|
2769
|
-
let { anchors: e, isMobile: t } = n(), i = r(), [a] =
|
|
2781
|
+
}), lt = () => {
|
|
2782
|
+
let { anchors: e, isMobile: t } = n(), i = r(), [a] = p(() => ({
|
|
2770
2783
|
anchors: e,
|
|
2771
2784
|
isMobile: t,
|
|
2772
2785
|
reduced: i
|
|
2773
|
-
})), o = a.anchors !== e || a.isMobile !== t || a.reduced !== i, [
|
|
2774
|
-
return
|
|
2786
|
+
})), o = a.anchors !== e || a.isMobile !== t || a.reduced !== i, [s] = p(() => typeof ResizeObserver == "function" && typeof MutationObserver == "function"), [c, l] = p(!1), d = i || !s || c, [m, g] = p(null), [_, v] = p(!1), y = f(null), b = f(null), x = f(!1);
|
|
2787
|
+
return u(() => {
|
|
2775
2788
|
if (o || _) return;
|
|
2776
2789
|
let n = !1, r = !1, i, a = (e) => {
|
|
2777
2790
|
(e?.type !== "visibilitychange" || document.hidden) && (x.current = !0, clearTimeout(i), y.current && (y.current.style.visibility = "hidden"), b.current?.(), v(!0));
|
|
@@ -2789,25 +2802,25 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
2789
2802
|
"visibilitychange"
|
|
2790
2803
|
];
|
|
2791
2804
|
return s.forEach((e) => window.addEventListener(e, a, !0)), window.visualViewport?.addEventListener("resize", a), window.visualViewport?.addEventListener("scroll", a), (async () => {
|
|
2792
|
-
if (await Promise.resolve(), !(n || x.current ||
|
|
2805
|
+
if (await Promise.resolve(), !(n || x.current || d)) {
|
|
2793
2806
|
if (document.hidden) a();
|
|
2794
2807
|
else {
|
|
2795
2808
|
i = setTimeout(() => {
|
|
2796
|
-
r = !0, !n && !x.current &&
|
|
2809
|
+
r = !0, !n && !x.current && l(!0);
|
|
2797
2810
|
}, 2e3);
|
|
2798
2811
|
try {
|
|
2799
|
-
let o = await
|
|
2812
|
+
let o = await E();
|
|
2800
2813
|
if (clearTimeout(i), n || x.current || r) return;
|
|
2801
2814
|
if (document.hidden) {
|
|
2802
2815
|
a();
|
|
2803
2816
|
return;
|
|
2804
2817
|
}
|
|
2805
2818
|
g({
|
|
2806
|
-
composition:
|
|
2819
|
+
composition: rt(st(e, t), t),
|
|
2807
2820
|
player: o
|
|
2808
2821
|
});
|
|
2809
2822
|
} catch {
|
|
2810
|
-
clearTimeout(i), !n && !x.current && !r &&
|
|
2823
|
+
clearTimeout(i), !n && !x.current && !r && l(!0);
|
|
2811
2824
|
}
|
|
2812
2825
|
}
|
|
2813
2826
|
}
|
|
@@ -2817,65 +2830,1589 @@ var h = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBo
|
|
|
2817
2830
|
}, [
|
|
2818
2831
|
e,
|
|
2819
2832
|
t,
|
|
2820
|
-
|
|
2833
|
+
d,
|
|
2821
2834
|
o,
|
|
2822
2835
|
_
|
|
2823
|
-
]),
|
|
2824
|
-
if (!
|
|
2825
|
-
let e = !1, t =
|
|
2826
|
-
e || (t ?
|
|
2836
|
+
]), u(() => {
|
|
2837
|
+
if (!m || !y.current || d || o || _ || x.current) return;
|
|
2838
|
+
let e = !1, t = at(m.composition, y.current, m.player, (t) => {
|
|
2839
|
+
e || (t ? l(!0) : v(!0));
|
|
2827
2840
|
});
|
|
2828
2841
|
return b.current = t, () => {
|
|
2829
2842
|
e = !0, t(), b.current = null;
|
|
2830
2843
|
};
|
|
2831
2844
|
}, [
|
|
2832
|
-
h,
|
|
2833
2845
|
m,
|
|
2846
|
+
d,
|
|
2834
2847
|
o,
|
|
2835
2848
|
_
|
|
2836
|
-
]), _ || o ? null :
|
|
2849
|
+
]), _ || o ? null : d ? /* @__PURE__ */ h("div", {
|
|
2837
2850
|
className: "pointer-events-none absolute inset-s-1/2 bottom-8 h-32 w-52 -translate-x-1/2 rtl:translate-x-1/2",
|
|
2838
2851
|
inert: !0,
|
|
2839
2852
|
"aria-hidden": "true",
|
|
2840
|
-
children: /* @__PURE__ */
|
|
2841
|
-
}, "stationary") :
|
|
2853
|
+
children: /* @__PURE__ */ h(ct, {})
|
|
2854
|
+
}, "stationary") : m ? /* @__PURE__ */ h("div", {
|
|
2842
2855
|
ref: y,
|
|
2843
2856
|
className: "pointer-events-none absolute inset-0 overflow-clip select-none",
|
|
2844
2857
|
inert: !0,
|
|
2845
2858
|
"aria-hidden": "true",
|
|
2846
2859
|
"data-new-year-scene": "penguin-star",
|
|
2847
|
-
"data-penguin-target":
|
|
2860
|
+
"data-penguin-target": m.composition.targets.source ? "composer" : "snow"
|
|
2848
2861
|
}, "animation") : null;
|
|
2849
|
-
},
|
|
2850
|
-
|
|
2851
|
-
[
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
+
}, ut = {
|
|
2863
|
+
footBack: [-10, -3],
|
|
2864
|
+
footFront: [11, -3],
|
|
2865
|
+
footRadius: [9, 4],
|
|
2866
|
+
bottomBall: {
|
|
2867
|
+
center: [0, -33],
|
|
2868
|
+
radius: 28
|
|
2869
|
+
},
|
|
2870
|
+
middleBall: {
|
|
2871
|
+
center: [0, -75],
|
|
2872
|
+
radius: 20
|
|
2873
|
+
},
|
|
2874
|
+
neck: [0, -93],
|
|
2875
|
+
headOffset: [0, -14],
|
|
2876
|
+
headRadius: 15,
|
|
2877
|
+
carrotBase: [12, -1],
|
|
2878
|
+
carrotTip: [30, 1],
|
|
2879
|
+
shoulderFront: [5, -80],
|
|
2880
|
+
shoulderBack: [-5, -82],
|
|
2881
|
+
upperArm: 26,
|
|
2882
|
+
lowerArm: 24,
|
|
2883
|
+
gripReach: 5,
|
|
2884
|
+
seat: [0, -5],
|
|
2885
|
+
reach: 128,
|
|
2886
|
+
castHeight: 150,
|
|
2887
|
+
baseWidth: 56,
|
|
2888
|
+
sledSize: [70, 16]
|
|
2889
|
+
}, dt = {
|
|
2890
|
+
desktop: .9,
|
|
2891
|
+
mobile: .68
|
|
2892
|
+
}, ft = {
|
|
2893
|
+
min: 20,
|
|
2894
|
+
max: 140
|
|
2895
|
+
}, pt = {
|
|
2896
|
+
pushShare: .1,
|
|
2897
|
+
glideSeconds: 2.4,
|
|
2898
|
+
startSpeedShare: .15
|
|
2899
|
+
}, mt = {
|
|
2900
|
+
min: .35,
|
|
2901
|
+
nominal: .5,
|
|
2902
|
+
max: .6
|
|
2903
|
+
}, ht = (e) => {
|
|
2904
|
+
let { pushShare: t, glideSeconds: n, startSpeedShare: r } = pt;
|
|
2905
|
+
return e * (1 - t) * (r + 2 * (1 - r)) / n;
|
|
2906
|
+
}, gt = (e) => e * 180 / Math.PI, _t = (e) => e * Math.PI / 180, vt = (e, t, n) => {
|
|
2907
|
+
let { upperArm: r, lowerArm: i, gripReach: a } = ut, o = _t(t), s = _t(t + n), c = [e[0] + r * Math.cos(o), e[1] + r * Math.sin(o)], l = [c[0] + i * Math.cos(s), c[1] + i * Math.sin(s)];
|
|
2908
|
+
return {
|
|
2909
|
+
elbow: c,
|
|
2910
|
+
wrist: l,
|
|
2911
|
+
grip: [l[0] + a * Math.cos(s), l[1] + a * Math.sin(s)]
|
|
2912
|
+
};
|
|
2913
|
+
}, yt = (e, t, n = 1) => {
|
|
2914
|
+
let { upperArm: r, lowerArm: i, gripReach: a } = ut, o = i + a, s = t[0] - e[0], c = t[1] - e[1], l = Math.hypot(s, c), u = Math.sqrt(r ** 2 + o ** 2 - 2 * r * o * Math.cos(_t(180 - ft.max))), d = Math.sqrt(r ** 2 + o ** 2 - 2 * r * o * Math.cos(_t(180 - ft.min))), f = Math.min(d, Math.max(u, l)), p = 180 - gt(Math.acos((r ** 2 + o ** 2 - f ** 2) / (2 * r * o))), m = Math.acos((r ** 2 + f ** 2 - o ** 2) / (2 * r * f));
|
|
2915
|
+
return {
|
|
2916
|
+
upper: gt(Math.atan2(c, s)) - n * gt(m),
|
|
2917
|
+
bend: n * p
|
|
2918
|
+
};
|
|
2919
|
+
}, B = (e) => ({
|
|
2920
|
+
a: 0,
|
|
2921
|
+
k: e
|
|
2922
|
+
}), V = (e = [0, 0]) => ({
|
|
2923
|
+
a: B(e),
|
|
2924
|
+
p: B(e),
|
|
2925
|
+
s: B([100, 100]),
|
|
2926
|
+
r: B(0),
|
|
2927
|
+
o: B(100)
|
|
2928
|
+
}), H = {
|
|
2929
|
+
snow: "#ffffff",
|
|
2930
|
+
shadow: "#c6d5ec",
|
|
2931
|
+
deepShadow: "#7d9cc7",
|
|
2932
|
+
ink: "#22304a",
|
|
2933
|
+
coal: "#1d2230",
|
|
2934
|
+
carrot: "#ef7a1d",
|
|
2935
|
+
scarf: "#8e2436",
|
|
2936
|
+
scarfDark: "#6a1626",
|
|
2937
|
+
mitten: "#2d4f86",
|
|
2938
|
+
twig: "#6b4a2b",
|
|
2939
|
+
present: "#c8323c",
|
|
2940
|
+
ribbon: "#f2c14e",
|
|
2941
|
+
fir: "#2f7d4f",
|
|
2942
|
+
firDark: "#21603b",
|
|
2943
|
+
trunk: "#6b4a2b",
|
|
2944
|
+
bauble: "#f2c14e",
|
|
2945
|
+
wood: "#b0743c"
|
|
2946
|
+
}, bt = (e) => [
|
|
2947
|
+
1,
|
|
2948
|
+
3,
|
|
2949
|
+
5
|
|
2950
|
+
].map((t) => parseInt(e.slice(t, t + 2), 16) / 255).concat(1), xt = (e) => ({
|
|
2951
|
+
ty: "fl",
|
|
2952
|
+
c: B(bt(e)),
|
|
2953
|
+
o: B(100),
|
|
2954
|
+
r: 1
|
|
2955
|
+
}), St = (e, t) => ({
|
|
2956
|
+
ty: "st",
|
|
2957
|
+
c: B(bt(e)),
|
|
2958
|
+
o: B(100),
|
|
2959
|
+
w: B(t),
|
|
2960
|
+
lc: 2,
|
|
2961
|
+
lj: 2
|
|
2962
|
+
}), U = (e, t, n = {}, r = V()) => ({
|
|
2963
|
+
ty: "gr",
|
|
2964
|
+
nm: e,
|
|
2965
|
+
it: [
|
|
2966
|
+
...t,
|
|
2967
|
+
...n.stroke ? [St(n.stroke, n.width ?? 1.4)] : [],
|
|
2968
|
+
...n.fill ? [xt(n.fill)] : [],
|
|
2969
|
+
{
|
|
2970
|
+
ty: "tr",
|
|
2971
|
+
...r
|
|
2972
|
+
}
|
|
2973
|
+
]
|
|
2974
|
+
}), W = ([e, t], [n, r]) => ({
|
|
2975
|
+
ty: "el",
|
|
2976
|
+
p: B([e, t]),
|
|
2977
|
+
s: B([n, r]),
|
|
2978
|
+
d: 1
|
|
2979
|
+
}), Ct = ([e, t], [n, r], i = 0) => ({
|
|
2980
|
+
ty: "rc",
|
|
2981
|
+
p: B([e, t]),
|
|
2982
|
+
s: B([n, r]),
|
|
2983
|
+
r: B(i),
|
|
2984
|
+
d: 1
|
|
2985
|
+
}), wt = (e, t = !0, n = 0) => {
|
|
2986
|
+
let r = (t) => {
|
|
2987
|
+
if (!n) return [0, 0];
|
|
2988
|
+
let r = e[(t + e.length - 1) % e.length], i = e[(t + 1) % e.length];
|
|
2989
|
+
return [(i[0] - r[0]) * n, (i[1] - r[1]) * n];
|
|
2990
|
+
};
|
|
2991
|
+
return {
|
|
2992
|
+
ty: "sh",
|
|
2993
|
+
ks: B({
|
|
2994
|
+
v: e,
|
|
2995
|
+
i: e.map((e, t) => {
|
|
2996
|
+
let [n, i] = r(t);
|
|
2997
|
+
return [-n, -i];
|
|
2998
|
+
}),
|
|
2999
|
+
o: e.map((e, t) => r(t)),
|
|
3000
|
+
c: t
|
|
3001
|
+
})
|
|
3002
|
+
};
|
|
3003
|
+
}, { snow: Tt, shadow: Et, ink: Dt } = H, G = H, Ot = () => {
|
|
3004
|
+
let { bottomBall: e, middleBall: t } = ut, n = (e, [t, n], r) => U(e, [
|
|
3005
|
+
U(`${e}-shade`, [W([t - r * .18, n + r * .2], [r * 1.5, r * 1.4])], { fill: Et }),
|
|
3006
|
+
U(`${e}-snow`, [W([t + r * .12, n - r * .1], [r * 1.6, r * 1.55])], { fill: Tt }),
|
|
3007
|
+
U(`${e}-outline`, [W([t, n], [r * 2, r * 2])], {
|
|
3008
|
+
stroke: Dt,
|
|
3009
|
+
fill: "#eef3fb"
|
|
3010
|
+
})
|
|
3011
|
+
]);
|
|
3012
|
+
return [
|
|
3013
|
+
U("buttons", [W([7, -82], [3.4, 3.4]), W([9, -72], [3.4, 3.4])], { fill: G.coal }),
|
|
3014
|
+
n("middle-ball", t.center, t.radius),
|
|
3015
|
+
n("bottom-ball", e.center, e.radius)
|
|
3016
|
+
];
|
|
3017
|
+
}, kt = () => {
|
|
3018
|
+
let [e, t] = ut.footRadius;
|
|
3019
|
+
return [U("foot", [W([0, -t], [e * 2, t * 2])], {
|
|
3020
|
+
stroke: Dt,
|
|
3021
|
+
fill: "#e8eef8"
|
|
3022
|
+
})];
|
|
3023
|
+
}, At = [-4, -88], jt = () => {
|
|
3024
|
+
let [e, t] = At;
|
|
3025
|
+
return [U("scarf-tail", [wt([
|
|
3026
|
+
[e, t],
|
|
3027
|
+
[e + 3, t],
|
|
3028
|
+
[e + 5, t + 22],
|
|
3029
|
+
[e - 1, t + 24]
|
|
3030
|
+
], !0, .08)], {
|
|
3031
|
+
stroke: G.scarfDark,
|
|
3032
|
+
fill: G.scarf,
|
|
3033
|
+
width: 1
|
|
3034
|
+
}, V(At)), U("scarf-wrap", [Ct([0, -89], [40, 9], 4.5)], {
|
|
3035
|
+
stroke: G.scarfDark,
|
|
3036
|
+
fill: G.scarf,
|
|
3037
|
+
width: 1
|
|
3038
|
+
})];
|
|
3039
|
+
}, K = /* @__PURE__ */ function(e) {
|
|
3040
|
+
return e.Neutral = "neutral", e.Idea = "idea", e.Cautious = "cautious", e.Smug = "smug", e.Indignant = "indignant", e.Sneeze = "sneeze", e;
|
|
3041
|
+
}({}), Mt = {
|
|
3042
|
+
neutral: [[[1, -9], [6, -10]], [[8, -10], [13, -9]]],
|
|
3043
|
+
idea: [[[1, -12], [6, -14]], [[8, -14], [13, -12]]],
|
|
3044
|
+
cautious: [[[1, -10], [6, -12]], [[8, -12], [13, -10]]],
|
|
3045
|
+
smug: [[[1, -8], [6, -8]], [[8, -11], [13, -13]]],
|
|
3046
|
+
indignant: [[[1, -11], [6, -8]], [[8, -8], [13, -11]]],
|
|
3047
|
+
sneeze: [[[1, -7], [6, -9]], [[8, -9], [13, -7]]]
|
|
3048
|
+
}, Nt = () => {
|
|
3049
|
+
let e = ut.headRadius, { carrotBase: t, carrotTip: n } = ut, r = (e) => e ? [wt([[2, -5], [6, -4]], !1), wt([[8, -4], [12, -5]], !1)] : [W([4, -4], [3.2, 3.6]), W([10, -4], [3.2, 3.6])];
|
|
3050
|
+
return [
|
|
3051
|
+
U("carrot", [wt([
|
|
3052
|
+
[t[0], t[1] - 3],
|
|
3053
|
+
n,
|
|
3054
|
+
[t[0], t[1] + 3]
|
|
3055
|
+
])], {
|
|
3056
|
+
stroke: "#a24d0e",
|
|
3057
|
+
fill: G.carrot,
|
|
3058
|
+
width: 1
|
|
3059
|
+
}),
|
|
3060
|
+
...Object.values(K).map((e) => U(`face-${e}`, [
|
|
3061
|
+
U(`brows-${e}`, Mt[e].map((e) => wt(e, !1)), {
|
|
3062
|
+
stroke: G.coal,
|
|
3063
|
+
width: 1.6
|
|
3064
|
+
}),
|
|
3065
|
+
e === "smug" || e === "sneeze" ? U(`eyes-${e}`, r(!0), {
|
|
3066
|
+
stroke: G.coal,
|
|
3067
|
+
width: 1.6
|
|
3068
|
+
}) : U(`eyes-${e}`, r(!1), { fill: G.coal }),
|
|
3069
|
+
e === "sneeze" ? U(`mouth-${e}`, [W([7, 7], [5, 4])], { fill: G.coal }) : U(`mouth-${e}`, [wt(e === "indignant" ? [
|
|
3070
|
+
[3, 8],
|
|
3071
|
+
[8, 6],
|
|
3072
|
+
[12, 8]
|
|
3073
|
+
] : [
|
|
3074
|
+
[3, 6],
|
|
3075
|
+
[8, 9],
|
|
3076
|
+
[12, 6]
|
|
3077
|
+
], !1)], {
|
|
3078
|
+
stroke: G.coal,
|
|
3079
|
+
width: 1.4
|
|
3080
|
+
})
|
|
3081
|
+
])),
|
|
3082
|
+
U("head-shade", [W([-3, 3], [e * 1.5, e * 1.4])], { fill: Et }),
|
|
3083
|
+
U("head-snow", [W([1, -1], [e * 1.6, e * 1.55])], { fill: Tt }),
|
|
3084
|
+
U("head-outline", [W([0, 0], [e * 2, e * 2])], {
|
|
3085
|
+
stroke: Dt,
|
|
3086
|
+
fill: "#eef3fb"
|
|
3087
|
+
})
|
|
3088
|
+
];
|
|
3089
|
+
}, Pt = (e) => {
|
|
3090
|
+
let { upperArm: t, lowerArm: n, gripReach: r } = ut, i = [e[0] + t, e[1]], a = [i[0] + n, i[1]];
|
|
3091
|
+
return [U("upper-arm", [U("forearm", [U("mitten", [W([a[0] + r - 1, a[1]], [11, 10]), W([a[0] + 2, a[1] - 5], [5, 5])], {
|
|
3092
|
+
stroke: Dt,
|
|
3093
|
+
fill: G.mitten,
|
|
3094
|
+
width: 1
|
|
3095
|
+
}), U("forearm-stick", [wt([i, a], !1)], {
|
|
3096
|
+
stroke: G.twig,
|
|
3097
|
+
width: 2.6
|
|
3098
|
+
})], {}, V(i)), U("upper-stick", [wt([e, i], !1), wt([[e[0] + t * .55, e[1]], [e[0] + t * .7, e[1] - 6]], !1)], {
|
|
3099
|
+
stroke: G.twig,
|
|
3100
|
+
width: 2.8
|
|
3101
|
+
})], {}, V(e))];
|
|
3102
|
+
}, Ft = () => [
|
|
3103
|
+
U("bow", [wt([
|
|
3104
|
+
[0, -18],
|
|
3105
|
+
[-7, -24],
|
|
3106
|
+
[-5, -17]
|
|
3107
|
+
], !0, .1), wt([
|
|
3108
|
+
[0, -18],
|
|
3109
|
+
[7, -24],
|
|
3110
|
+
[5, -17]
|
|
3111
|
+
], !0, .1)], {
|
|
3112
|
+
stroke: "#9a6d14",
|
|
3113
|
+
fill: G.ribbon,
|
|
3114
|
+
width: .8
|
|
3115
|
+
}),
|
|
3116
|
+
U("ribbon", [Ct([0, -9], [4, 18]), Ct([0, -9], [22, 4])], { fill: G.ribbon }),
|
|
3117
|
+
U("box", [Ct([0, -9], [22, 18], 1.5)], {
|
|
3118
|
+
stroke: "#7c1a22",
|
|
3119
|
+
fill: G.present,
|
|
3120
|
+
width: 1.2
|
|
3121
|
+
})
|
|
3122
|
+
], It = [22, 18], Lt = () => [
|
|
3123
|
+
U("baubles", [
|
|
3124
|
+
W([-8, -40], [5, 5]),
|
|
3125
|
+
W([9, -58], [5, 5]),
|
|
3126
|
+
W([-4, -76], [4.4, 4.4])
|
|
3127
|
+
], { fill: G.bauble }),
|
|
3128
|
+
...[
|
|
3129
|
+
[
|
|
3130
|
+
-92,
|
|
3131
|
+
22,
|
|
3132
|
+
30
|
|
3133
|
+
],
|
|
3134
|
+
[
|
|
3135
|
+
-70,
|
|
3136
|
+
32,
|
|
3137
|
+
30
|
|
3138
|
+
],
|
|
3139
|
+
[
|
|
3140
|
+
-46,
|
|
3141
|
+
42,
|
|
3142
|
+
30
|
|
3143
|
+
]
|
|
3144
|
+
].map(([e, t, n], r) => U(`tier-${r}`, [wt([
|
|
3145
|
+
[0, e],
|
|
3146
|
+
[t, e + n],
|
|
3147
|
+
[-t, e + n]
|
|
3148
|
+
], !0, .03)], {
|
|
3149
|
+
stroke: G.firDark,
|
|
3150
|
+
fill: G.fir,
|
|
3151
|
+
width: 1.2
|
|
3152
|
+
})),
|
|
3153
|
+
U("trunk", [Ct([0, -8], [9, 16], 1)], {
|
|
3154
|
+
stroke: "#4a321c",
|
|
3155
|
+
fill: G.trunk,
|
|
3156
|
+
width: 1
|
|
3157
|
+
})
|
|
3158
|
+
], Rt = () => [U("bough", [wt([
|
|
3159
|
+
[-6, -63],
|
|
3160
|
+
[-36, -66],
|
|
3161
|
+
[-40, -59],
|
|
3162
|
+
[-30, -55],
|
|
3163
|
+
[-6, -57]
|
|
3164
|
+
], !0, .12)], {
|
|
3165
|
+
stroke: G.firDark,
|
|
3166
|
+
fill: G.fir,
|
|
3167
|
+
width: 1.2
|
|
3168
|
+
})], zt = [-6, -60], Bt = [-26, -62], Vt = () => [U("needles", [wt([
|
|
3169
|
+
[-38, -60],
|
|
3170
|
+
[-28, -66],
|
|
3171
|
+
[-17, -60],
|
|
3172
|
+
[-27, -56]
|
|
3173
|
+
], !0, .1)], {
|
|
3174
|
+
stroke: G.firDark,
|
|
3175
|
+
fill: G.fir,
|
|
3176
|
+
width: 1
|
|
3177
|
+
})], Ht = () => [U("snowbank", [wt([
|
|
3178
|
+
[-16, 0],
|
|
3179
|
+
[-9, -11],
|
|
3180
|
+
[3, -14],
|
|
3181
|
+
[13, -8],
|
|
3182
|
+
[17, 0]
|
|
3183
|
+
], !0, .14)], {
|
|
3184
|
+
stroke: Dt,
|
|
3185
|
+
fill: "#eef3fb",
|
|
3186
|
+
width: 1.2
|
|
3187
|
+
})], Ut = (e, t) => [U("ground-shade", [Ct([0, t * .7], [e, t * .6], 3)], { fill: Et }), U("ground", [Ct([0, t / 2], [e, t], t / 2)], {
|
|
3188
|
+
stroke: Dt,
|
|
3189
|
+
fill: "#f4f7fc",
|
|
3190
|
+
width: 1
|
|
3191
|
+
})], Wt = () => {
|
|
3192
|
+
let [e, t] = ut.sledSize;
|
|
3193
|
+
return [U("runner", [wt([
|
|
3194
|
+
[-e / 2, -2],
|
|
3195
|
+
[e / 2 - 6, -2],
|
|
3196
|
+
[e / 2, -8]
|
|
3197
|
+
], !1, .1)], {
|
|
3198
|
+
stroke: G.twig,
|
|
3199
|
+
width: 2.4
|
|
3200
|
+
}), U("deck", [Ct([0, -t / 2 - 2], [e - 8, t - 6], 2)], {
|
|
3201
|
+
stroke: "#6e4422",
|
|
3202
|
+
fill: G.wood,
|
|
3203
|
+
width: 1.2
|
|
3204
|
+
})];
|
|
3205
|
+
}, Gt = (e) => [U("puff", [W([0, 0], [e * 2, e * 2])], {
|
|
3206
|
+
stroke: H.deepShadow,
|
|
3207
|
+
fill: Tt,
|
|
3208
|
+
width: .8
|
|
3209
|
+
})], Kt = "[hidden], [inert], [aria-hidden=\"true\"], [data-celebration-snapshot]", qt = 4, Jt = 24, Yt = 40, Xt = {
|
|
3210
|
+
width: 36,
|
|
3211
|
+
height: 24
|
|
3212
|
+
}, Zt = {
|
|
3213
|
+
width: 240,
|
|
3214
|
+
height: 96
|
|
3215
|
+
}, Qt = {
|
|
3216
|
+
desktop: {
|
|
3217
|
+
min: 160,
|
|
3218
|
+
max: 460
|
|
3219
|
+
},
|
|
3220
|
+
mobile: {
|
|
3221
|
+
min: 100,
|
|
3222
|
+
max: 220
|
|
3223
|
+
}
|
|
3224
|
+
}, $t = 16, en = 40, tn = 200, nn = 130, rn = 66, an = 26, on = 34, sn = 15, cn = 14, ln = 4, un = (e) => {
|
|
3225
|
+
if (!(e instanceof HTMLElement) || !e.isConnected) return null;
|
|
3226
|
+
let t = e.getBoundingClientRect();
|
|
3227
|
+
if (!t.width || !t.height) return null;
|
|
3228
|
+
let n = getComputedStyle(e);
|
|
3229
|
+
return n.display === "none" || n.visibility !== "visible" ? null : {
|
|
3230
|
+
element: e,
|
|
3231
|
+
rect: t
|
|
3232
|
+
};
|
|
3233
|
+
}, dn = (e, t) => e.left < t.right && e.right > t.left && e.top < t.bottom && e.bottom > t.top, fn = (e, t) => {
|
|
3234
|
+
try {
|
|
3235
|
+
return e.matches(t);
|
|
3236
|
+
} catch {
|
|
3237
|
+
return !1;
|
|
3238
|
+
}
|
|
3239
|
+
}, pn = (e, t) => {
|
|
3240
|
+
let n = e.parentElement;
|
|
3241
|
+
for (let e = 0; n && e < Jt; e++) {
|
|
3242
|
+
let e = getComputedStyle(n), r = /^(auto|scroll|hidden|clip)$/.test(e.overflowX), i = /^(auto|scroll|hidden|clip)$/.test(e.overflowY);
|
|
3243
|
+
if (r || i) {
|
|
3244
|
+
let e = n.getBoundingClientRect();
|
|
3245
|
+
if (r && (t.left < e.left || t.right > e.right) || i && (t.top < e.top || t.bottom > e.bottom)) return !0;
|
|
3246
|
+
}
|
|
3247
|
+
n = n.parentElement;
|
|
3248
|
+
}
|
|
3249
|
+
return !1;
|
|
3250
|
+
}, mn = (e, t, n) => {
|
|
3251
|
+
let { element: r, rect: i } = e, a = getComputedStyle(r);
|
|
3252
|
+
return !(r.matches(":disabled, [aria-disabled=\"true\"]") || r.contains(document.activeElement) || fn(r, ":hover") || fn(r, ":active") || r.closest(Kt) || a.transform !== "none" && a.transform !== "" || typeof r.animate != "function" || i.width < Xt.width || i.width > Zt.width || i.height < Xt.height || i.height > Zt.height || i.left < 0 || i.right > t || i.top < 0 || i.bottom > n || r.getElementsByTagName("*").length + 1 > Yt || pn(r, i));
|
|
3253
|
+
}, hn = (e, t, n, r, i, a, o = () => !0) => {
|
|
3254
|
+
let s = a ? Qt.mobile : Qt.desktop, [c, l] = n, u = Math.max(30 * r, c * .25), d = e + t * (36 * r + c / 2), f = d + t * (c / 2 - u), p = u + 4 * r, m = ht(1), h = p / (m * mt.max), g = 60 * r, _ = t > 0 ? i.right - $t - f : f - i.left - $t, v = d - t * c / 2;
|
|
3255
|
+
if (v < i.left + $t / 2 || v > i.right - $t / 2) return null;
|
|
3256
|
+
let y = (e) => Math.max(p, m * e * mt.nominal), b = (e) => e + y(e) + g <= _, x = (n) => {
|
|
3257
|
+
if (n < h || !b(n)) return null;
|
|
3258
|
+
let a = m * n, o = y(n), s = o / a;
|
|
3259
|
+
if (s < mt.min || s > mt.max) return null;
|
|
3260
|
+
let p = f + t * n, g = p + t * u, _ = p + t * o;
|
|
3261
|
+
return {
|
|
3262
|
+
dir: t,
|
|
3263
|
+
stanceX: e,
|
|
3264
|
+
sled: {
|
|
3265
|
+
width: c,
|
|
3266
|
+
height: l,
|
|
3267
|
+
startX: d
|
|
3268
|
+
},
|
|
3269
|
+
seatFromFront: u,
|
|
3270
|
+
slideLength: n,
|
|
3271
|
+
headFlight: {
|
|
3272
|
+
distance: o,
|
|
3273
|
+
seconds: s
|
|
3274
|
+
},
|
|
3275
|
+
snowbankX: g + t * sn * .6 * r,
|
|
3276
|
+
branchX: _,
|
|
3277
|
+
treeX: _ + t * an * r,
|
|
3278
|
+
startEdge: t > 0 ? Math.max(i.left, e - tn * r) : Math.min(i.right, e + tn * r)
|
|
3279
|
+
};
|
|
3280
|
+
};
|
|
3281
|
+
for (let e = s.max; e >= s.min; e -= 8) {
|
|
3282
|
+
let t = x(e);
|
|
3283
|
+
if (t && o(t)) return t;
|
|
3284
|
+
}
|
|
3285
|
+
return null;
|
|
3286
|
+
}, gn = (e, t, n, r, i = cn * r) => ({
|
|
3287
|
+
left: Math.min(e.startEdge, e.treeX - on * r),
|
|
3288
|
+
right: Math.max(e.startEdge, e.treeX + on * r),
|
|
3289
|
+
top: n,
|
|
3290
|
+
bottom: t + i
|
|
3291
|
+
}), _n = (e, t) => {
|
|
3292
|
+
let n = Ee(e, t), { width: r, height: a, rtl: o } = n, s = t ? dt.mobile : dt.desktop, c = o ? -1 : 1, l = [c, -c], u = n.source, d = i(u?.element, e) ?? document.querySelector(e.welcomeRegion ?? "[role=\"region\"]"), f = d?.getBoundingClientRect(), p = f && f.width > 0 ? {
|
|
3293
|
+
left: Math.max(0, f.left),
|
|
3294
|
+
right: Math.min(r, f.right)
|
|
3295
|
+
} : {
|
|
3296
|
+
left: 0,
|
|
3297
|
+
right: r
|
|
3298
|
+
}, m = un(d?.querySelector("h1, h2, [role=\"heading\"]") ?? null), h = un(e.starterList ? d?.getElementsByClassName(e.starterList)[0] : null), g = [
|
|
3299
|
+
u,
|
|
3300
|
+
h,
|
|
3301
|
+
m
|
|
3302
|
+
].filter((e) => e != null).map(({ element: e }) => e), _ = [
|
|
3303
|
+
u,
|
|
3304
|
+
m,
|
|
3305
|
+
h
|
|
3306
|
+
].filter((e) => e != null).map(({ rect: e }) => e), v = [];
|
|
3307
|
+
if (h) {
|
|
3308
|
+
let e = h.element.getElementsByTagName("button");
|
|
3309
|
+
for (let t = 0; t < Math.min(e.length, qt); t++) {
|
|
3310
|
+
let n = un(e[t]);
|
|
3311
|
+
n && mn(n, r, a) && v.push(n);
|
|
3312
|
+
}
|
|
3313
|
+
}
|
|
3314
|
+
let y = !!h && (!u || h.rect.top >= u.rect.bottom - 1), b = !!h && !!u && h.rect.bottom <= u.rect.top + 1, x = (e, t, n, i) => ({
|
|
3315
|
+
width: r,
|
|
3316
|
+
height: a,
|
|
3317
|
+
rtl: o,
|
|
3318
|
+
mode: e,
|
|
3319
|
+
scale: s,
|
|
3320
|
+
dir: n?.dir ?? c,
|
|
3321
|
+
floor: t,
|
|
3322
|
+
startEdge: n?.startEdge ?? (c > 0 ? p.left : p.right),
|
|
3323
|
+
stanceX: n?.stanceX ?? (p.left + p.right) / 2,
|
|
3324
|
+
sled: n?.sled ?? {
|
|
3325
|
+
width: 0,
|
|
3326
|
+
height: 0,
|
|
3327
|
+
startX: r / 2
|
|
3328
|
+
},
|
|
3329
|
+
seatFromFront: n?.seatFromFront ?? 0,
|
|
3330
|
+
slideLength: n?.slideLength ?? 0,
|
|
3331
|
+
headFlight: n?.headFlight ?? {
|
|
3332
|
+
distance: 0,
|
|
3333
|
+
seconds: 0
|
|
3334
|
+
},
|
|
3335
|
+
snowbankX: n?.snowbankX ?? r / 2,
|
|
3336
|
+
branchX: n?.branchX ?? r / 2,
|
|
3337
|
+
treeX: n?.treeX ?? r / 2,
|
|
3338
|
+
card: i,
|
|
3339
|
+
bounds: p,
|
|
3340
|
+
watched: i ? [...g, i.element] : g
|
|
3341
|
+
}), ee = (e, t, n, r, i = cn * s) => t + i + $t <= a && n >= 0 && !_.some((a) => a !== r && dn(a, gn(e, t, n, s, i))), S = (e) => e ? [e.rect.width, e.rect.height] : [ut.sledSize[0] * s, ut.sledSize[1] * s], C = [...v].sort((e, t) => c > 0 ? e.rect.left - t.rect.left : t.rect.right - e.rect.right);
|
|
3342
|
+
if (y && h) {
|
|
3343
|
+
let e = C.filter(({ rect: e }) => Math.abs(e.bottom - h.rect.bottom) <= 2);
|
|
3344
|
+
for (let n of e) {
|
|
3345
|
+
if (n.rect.height / s > rn) continue;
|
|
3346
|
+
let e = n.rect.bottom + n.rect.height + nn * s;
|
|
3347
|
+
for (let r of l) {
|
|
3348
|
+
let i = hn((r > 0 ? n.rect.left : n.rect.right) - r * 14 * s, r, S(n), s, p, t, (t) => ee(t, e, n.rect.bottom, h.rect));
|
|
3349
|
+
if (i) return x(te.Ledge, e, i, n);
|
|
3350
|
+
}
|
|
3351
|
+
}
|
|
3352
|
+
}
|
|
3353
|
+
if (u) {
|
|
3354
|
+
let e = ln * s, n = u.rect.top - e, r = (e) => n - Math.max(ut.castHeight * s, e[1] + nn * s), i = r(S(null));
|
|
3355
|
+
if (b && h) {
|
|
3356
|
+
let i = C.filter(({ rect: e }) => Math.abs(e.bottom - h.rect.bottom) <= 2 && e.bottom >= n - ut.reach * s && e.bottom <= n - en * s);
|
|
3357
|
+
for (let a of i) {
|
|
3358
|
+
let i = r(S(a));
|
|
3359
|
+
for (let r of l) {
|
|
3360
|
+
let o = h.element.getElementsByTagName("button"), c = hn((r > 0 ? a.rect.left : a.rect.right) - r * 14 * s, r, S(a), s, p, t, (t) => {
|
|
3361
|
+
let r = gn(t, n, i, s, e);
|
|
3362
|
+
return o.length <= qt && !Array.from(o).some((e) => e !== a.element && dn(e.getBoundingClientRect(), r)) && ee(t, n, i, h.rect, e) && !(m && dn(m.rect, r));
|
|
3363
|
+
});
|
|
3364
|
+
if (c) return x(te.Rim, n, c, a);
|
|
3365
|
+
}
|
|
3366
|
+
}
|
|
3367
|
+
}
|
|
3368
|
+
for (let r of l) {
|
|
3369
|
+
let a = hn(r > 0 ? u.rect.left + 40 * s : u.rect.right - 40 * s, r, S(null), s, p, t, (t) => ee(t, n, i, void 0, e));
|
|
3370
|
+
if (a) return x(te.RimSled, n, a, null);
|
|
3371
|
+
}
|
|
3372
|
+
}
|
|
3373
|
+
let w = Math.max(0, ..._.map((e) => e.bottom)), ne = w + ut.castHeight * s + 12, T = Math.min(t ? 250 : 340, p.right - p.left - 32), E = (p.left + p.right) / 2;
|
|
3374
|
+
for (let e of l) {
|
|
3375
|
+
let n = hn(E - e * T / 2 + e * 40 * s, e, S(null), s, p, t, (e) => ee(e, ne, w));
|
|
3376
|
+
if (n) return x(te.Platform, ne, n, null);
|
|
3377
|
+
}
|
|
3378
|
+
return x(te.Static, a, null, null);
|
|
3379
|
+
}, q = [
|
|
3380
|
+
.42,
|
|
3381
|
+
0,
|
|
3382
|
+
.58,
|
|
3383
|
+
1
|
|
3384
|
+
], vn = [
|
|
3385
|
+
.42,
|
|
3386
|
+
0,
|
|
3387
|
+
1,
|
|
3388
|
+
1
|
|
3389
|
+
], J = [
|
|
3390
|
+
0,
|
|
3391
|
+
0,
|
|
3392
|
+
.58,
|
|
3393
|
+
1
|
|
3394
|
+
], yn = ([e, t, n, r], i) => {
|
|
3395
|
+
if (i <= 0) return 0;
|
|
3396
|
+
if (i >= 1) return 1;
|
|
3397
|
+
let a = (e, t, n) => 3 * e * n * (1 - n) ** 2 + 3 * t * n ** 2 * (1 - n) + n ** 3, o = 0, s = 1;
|
|
3398
|
+
for (let t = 0; t < 40; t++) {
|
|
3399
|
+
let t = (o + s) / 2;
|
|
3400
|
+
a(e, n, t) < i ? o = t : s = t;
|
|
3401
|
+
}
|
|
3402
|
+
return a(t, r, (o + s) / 2);
|
|
3403
|
+
}, Y = class {
|
|
3404
|
+
keys = [];
|
|
3405
|
+
constructor(e) {
|
|
3406
|
+
e && this.keys.push({
|
|
3407
|
+
t: 0,
|
|
3408
|
+
v: e,
|
|
3409
|
+
ease: q
|
|
3410
|
+
});
|
|
3411
|
+
}
|
|
3412
|
+
set(e, t, n = q) {
|
|
3413
|
+
let r = typeof t == "number" ? [t] : t, i = this.keys.findIndex((t) => Math.abs(t.t - e) < 1e-6);
|
|
3414
|
+
return i >= 0 ? this.keys[i] = {
|
|
3415
|
+
t: e,
|
|
3416
|
+
v: r,
|
|
3417
|
+
ease: n
|
|
3418
|
+
} : (this.keys.push({
|
|
3419
|
+
t: e,
|
|
3420
|
+
v: r,
|
|
3421
|
+
ease: n
|
|
3422
|
+
}), this.keys.sort((e, t) => e.t - t.t)), this;
|
|
3423
|
+
}
|
|
3424
|
+
hold(e, t = q) {
|
|
3425
|
+
return this.set(e, this.value(e), t);
|
|
3426
|
+
}
|
|
3427
|
+
value(e) {
|
|
3428
|
+
let { keys: t } = this;
|
|
3429
|
+
if (!t.length) return [0];
|
|
3430
|
+
if (e <= t[0].t) return t[0].v;
|
|
3431
|
+
let n = t.findIndex((t) => t.t > e);
|
|
3432
|
+
if (n < 0) return t[t.length - 1].v;
|
|
3433
|
+
let r = t[n - 1], i = t[n];
|
|
3434
|
+
if (r.ease === "hold") return r.v;
|
|
3435
|
+
let a = (e - r.t) / (i.t - r.t), o = r.ease === "linear" ? a : yn(r.ease, a);
|
|
3436
|
+
return r.v.map((e, t) => e + (i.v[t] - e) * o);
|
|
3437
|
+
}
|
|
3438
|
+
at(e) {
|
|
3439
|
+
return this.value(e)[0];
|
|
3440
|
+
}
|
|
3441
|
+
sample(e, t, n, r, i = []) {
|
|
3442
|
+
for (let n = this.keys.length - 1; n >= 0; n--) {
|
|
3443
|
+
let { t: r } = this.keys[n];
|
|
3444
|
+
r > e - 1e-6 && r < t + 1e-6 && this.keys.splice(n, 1);
|
|
3445
|
+
}
|
|
3446
|
+
let a = Math.max(1, Math.ceil((t - e) / n - 1e-6)), o = /* @__PURE__ */ new Set();
|
|
3447
|
+
for (let n = 0; n <= a; n++) o.add(n === a ? t : e + (t - e) * n / a);
|
|
3448
|
+
for (let n of i) n > e && n < t && o.add(n);
|
|
3449
|
+
for (let e of [...o].sort((e, t) => e - t)) this.set(e, r(e), "linear");
|
|
3450
|
+
return this;
|
|
3451
|
+
}
|
|
3452
|
+
prune(e) {
|
|
3453
|
+
let t = /* @__PURE__ */ new Set(), n = (r, i) => {
|
|
3454
|
+
t.add(r), t.add(i);
|
|
3455
|
+
let a = -1, o = e, s = this.keys[r], c = this.keys[i];
|
|
3456
|
+
for (let e = r + 1; e < i; e++) {
|
|
3457
|
+
let t = this.keys[e], n = (t.t - s.t) / (c.t - s.t), r = Math.max(...t.v.map((e, t) => Math.abs(s.v[t] + (c.v[t] - s.v[t]) * n - e)));
|
|
3458
|
+
r > o && (o = r, a = e);
|
|
3459
|
+
}
|
|
3460
|
+
a > 0 && (n(r, a), n(a, i));
|
|
3461
|
+
}, r = 0;
|
|
3462
|
+
for (let e = 0; e < this.keys.length; e++) (e === this.keys.length - 1 || this.keys[e].ease !== "linear") && (n(r, e), r = e);
|
|
3463
|
+
for (let e = this.keys.length - 1; e >= 0; e--) t.has(e) || this.keys.splice(e, 1);
|
|
3464
|
+
return this;
|
|
3465
|
+
}
|
|
3466
|
+
get isAnimated() {
|
|
3467
|
+
return this.keys.some((e) => e.v.some((e, t) => Math.abs(e - this.keys[0].v[t]) > 1e-9));
|
|
3468
|
+
}
|
|
3469
|
+
}, bn = 25e3, xn = 60, Sn = bn / 1e3, X = {
|
|
3470
|
+
enterEnd: 1.2,
|
|
3471
|
+
lookTree: 1.5,
|
|
3472
|
+
lookDistance: 2.1,
|
|
3473
|
+
lookCard: 2.6,
|
|
3474
|
+
idea: 3,
|
|
3475
|
+
presentUp: 3.3,
|
|
3476
|
+
presentOnHead: 3.85,
|
|
3477
|
+
grip: 4.3,
|
|
3478
|
+
gripHeld: 4.42,
|
|
3479
|
+
tug1: 4.6,
|
|
3480
|
+
tug1End: 4.75,
|
|
3481
|
+
tug2: 4.8,
|
|
3482
|
+
free: 5.1,
|
|
3483
|
+
lowered: 5.6,
|
|
3484
|
+
release: 5.75,
|
|
3485
|
+
landed: 5.9,
|
|
3486
|
+
presentDown: 6,
|
|
3487
|
+
presentHeld: 6.5,
|
|
3488
|
+
seatReached: 7.2,
|
|
3489
|
+
footTest: 7.4,
|
|
3490
|
+
footTestEnd: 7.6,
|
|
3491
|
+
sit: 8.1,
|
|
3492
|
+
settled: 8.3,
|
|
3493
|
+
push1: 8.6,
|
|
3494
|
+
push1End: 8.8,
|
|
3495
|
+
push2: 9.2,
|
|
3496
|
+
push2End: 9.5,
|
|
3497
|
+
glide: 9.6,
|
|
3498
|
+
smug: 10.6,
|
|
3499
|
+
impact: 12,
|
|
3500
|
+
separation: 12.05,
|
|
3501
|
+
compressed: 12.1,
|
|
3502
|
+
rebound: 12.25,
|
|
3503
|
+
settledImpact: 12.45,
|
|
3504
|
+
standUp: 14.8,
|
|
3505
|
+
bow: 15.5,
|
|
3506
|
+
presentPlaced: 15.8,
|
|
3507
|
+
risen: 16.2,
|
|
3508
|
+
spread: 16.9,
|
|
3509
|
+
inhale: 17.3,
|
|
3510
|
+
sneeze: 17.8,
|
|
3511
|
+
branchRelease: 17.95,
|
|
3512
|
+
catch: 18.35,
|
|
3513
|
+
headOn: 18.9,
|
|
3514
|
+
realize: 19.3,
|
|
3515
|
+
headGrabbed: 19.5,
|
|
3516
|
+
swap: 19.85,
|
|
3517
|
+
corrected: 20.2,
|
|
3518
|
+
nudge: 20.45,
|
|
3519
|
+
straightened: 20.75,
|
|
3520
|
+
turn: 21,
|
|
3521
|
+
cardGrip: 21.4,
|
|
3522
|
+
cardGripHeld: 21.52,
|
|
3523
|
+
cardLifted: 21.85,
|
|
3524
|
+
walkedBack: 22.55,
|
|
3525
|
+
slotted: 23,
|
|
3526
|
+
cardRelease: 23.2,
|
|
3527
|
+
headHeld: 23.5,
|
|
3528
|
+
exited: 24.6
|
|
3529
|
+
}, Cn = ut, wn = (e) => e * Math.PI / 180, Tn = ([e, t], n) => {
|
|
3530
|
+
let r = wn(n);
|
|
3531
|
+
return [e * Math.cos(r) - t * Math.sin(r), e * Math.sin(r) + t * Math.cos(r)];
|
|
3532
|
+
}, Z = (e, t) => [e[0] + t[0], e[1] + t[1]], En = (e, t) => [e[0] - t[0], e[1] - t[1]], Dn = (e, t, n) => [e[0] + (t[0] - e[0]) * n, e[1] + (t[1] - e[1]) * n], Q = (e) => [e[0], e[1]], On = [
|
|
3533
|
+
1 / 3,
|
|
3534
|
+
pt.startSpeedShare / 3,
|
|
3535
|
+
2 / 3,
|
|
3536
|
+
(pt.startSpeedShare + 1) / 3
|
|
3537
|
+
], kn = .04, An = 1.5, jn = Z(Cn.neck, Cn.headOffset), Mn = 34, $ = (e, t = (e) => e) => {
|
|
3538
|
+
let n = (e) => t(e);
|
|
3539
|
+
if (!e.isAnimated) {
|
|
3540
|
+
let t = n(e.keys[0]?.v ?? [0]);
|
|
3541
|
+
return B(t.length === 1 ? t[0] : t);
|
|
3542
|
+
}
|
|
3543
|
+
return {
|
|
3544
|
+
a: 1,
|
|
3545
|
+
k: e.keys.map((t, r) => {
|
|
3546
|
+
let i = e.keys[r + 1];
|
|
3547
|
+
if (!i) return {
|
|
3548
|
+
t: t.t * xn,
|
|
3549
|
+
s: n(t.v)
|
|
3550
|
+
};
|
|
3551
|
+
if (t.ease === "hold") return {
|
|
3552
|
+
t: t.t * xn,
|
|
3553
|
+
s: n(t.v),
|
|
3554
|
+
h: 1
|
|
3555
|
+
};
|
|
3556
|
+
let [a, o, s, c] = t.ease === "linear" ? [
|
|
3557
|
+
0,
|
|
3558
|
+
0,
|
|
3559
|
+
1,
|
|
3560
|
+
1
|
|
3561
|
+
] : t.ease;
|
|
3562
|
+
return {
|
|
3563
|
+
t: t.t * xn,
|
|
3564
|
+
s: n(t.v),
|
|
3565
|
+
e: n(i.v),
|
|
3566
|
+
o: {
|
|
3567
|
+
x: a,
|
|
3568
|
+
y: o
|
|
3569
|
+
},
|
|
3570
|
+
i: {
|
|
3571
|
+
x: s,
|
|
3572
|
+
y: c
|
|
3573
|
+
}
|
|
3574
|
+
};
|
|
3575
|
+
})
|
|
3576
|
+
};
|
|
3577
|
+
}, Nn = (e) => e === "hold" ? "step-end" : e === "linear" ? "linear" : `cubic-bezier(${e.map((e) => +e.toFixed(4)).join(", ")})`, Pn = (e, t) => {
|
|
3578
|
+
let { dir: n, scale: r, floor: i, stanceX: a, mode: o } = e, s = e.card != null, c = ([e, t]) => [a + n * r * e, i + r * t], l = (e) => (e - a) / (n * r), u = e.sled.width / r, d = e.sled.height / r, f = e.slideLength / r, p = u - e.seatFromFront / r, m = 36 + p, h = l(e.startEdge) - 30, g = l(e.treeX), _ = l(e.snowbankX), v = Z([g, 0], zt), y = Z([g, 0], Bt), b = y[0] - 26, x = g - 20, ee = o === te.Rim || o === te.RimSled, S = s ? [14, ((e.card?.rect.bottom ?? i) - i) / r] : [34, -u], C = s ? 0 : 90, w = s ? Math.min(0, S[1] + 124) : 0, ne = w < -2, T = new Y([h, 0]), E = new Y([3]), D = new Y([100]), O = new Y([1]), re = new Y([0]), k = new Y([...S]), A = new Y([C]), j = new Y([h - 10, 0]), M = new Y([h + 11, 0]), N = new Y([12]), ie = new Y([0]), ae = (e, t) => {
|
|
3579
|
+
O.set(e - .001, O.at(e - .001), "hold"), O.set(e, t, "hold");
|
|
3580
|
+
}, oe = (e, t, n, r) => {
|
|
3581
|
+
let [i, a] = e.value(t);
|
|
3582
|
+
Math.abs(i - r) <= .5 || Math.abs(a) > 1e-6 ? e.set(n, [Math.abs(a) > 1e-6 ? r : i, e.value(n)[1]], "hold") : (e.set(t, [i, 0], q), e.set((t + n) / 2, [(i + r) / 2, -3], q), e.set(n, [r, 0], "hold"));
|
|
3583
|
+
}, P = (e, t, n, r, i = 2.5) => {
|
|
3584
|
+
let a = T.value(t)[0], o = Math.max(r, Math.ceil(Math.abs(e - a) / Mn)), s = O.at(t + .002);
|
|
3585
|
+
T.set(t, [a, 0], vn), E.set(t, 3, q);
|
|
3586
|
+
let c = (n - t) / o, l = j.value(t)[0], u = M.value(t)[0];
|
|
3587
|
+
j.set(t, [l, 0], "hold"), M.set(t, [u, 0], "hold");
|
|
3588
|
+
for (let n = 1; n <= o; n++) {
|
|
3589
|
+
let r = t + c * n, d = a + (e - a) * n / o;
|
|
3590
|
+
i > 0 && T.set(r - c / 2, [a + (e - a) * (n - .5) / o, -i], "linear"), T.set(r, [d, 0], n === o ? J : "linear");
|
|
3591
|
+
let f = n % 2 == +(s > 0), p = f ? j : M, m = f ? l : u, h = d + (f ? -10 : 11) * s;
|
|
3592
|
+
p.set(r - c, [m, 0], q), p.set(r - c / 2, [(m + h) / 2, -4], q), p.set(r, [h, 0], "hold"), f ? l = h : u = h;
|
|
3593
|
+
}
|
|
3594
|
+
let d = (t, r) => oe(t, n, n + .18, e + r * s);
|
|
3595
|
+
d(j, -10), d(M, 11), E.set(n, 0, q);
|
|
3596
|
+
}, F = (e) => {
|
|
3597
|
+
let t = T.value(e)[0], n = O.at(e);
|
|
3598
|
+
oe(j, e - .16, e, t - 10 * n), oe(M, e - .16, e, t + 11 * n);
|
|
3599
|
+
};
|
|
3600
|
+
P(0, 0, X.enterEnd, 4), F(X.enterEnd + .2), E.set(X.lookTree, -2).set(X.lookDistance, 1).set(X.lookCard, -4), T.set(X.idea - .05, [0, 0]).set(X.idea + .12, [0, -5], J), T.set(X.idea + .3, [0, 0], vn), D.set(X.idea - .05, 100).set(X.idea, 94).set(X.idea + .15, 104).set(X.idea + .32, 100), F(X.idea + .32);
|
|
3601
|
+
let se = X.grip - .3, ce = X.grip - .18;
|
|
3602
|
+
T.set(X.presentOnHead, [0, 0]).set(se, [0, 0]), T.set(ce, [0, 0], J).set(X.grip, [0, w]), T.set(X.gripHeld, [0, w]).set(X.tug1, [-1, w + 2 / r]), T.set(X.tug1End, [0, w]).set(X.tug2, [0, w], vn), T.set(X.free, [-2, 0], J).set(X.lowered, [6, 0]), T.set(X.release, [6, 0]).set(X.landed, [6, 0]), E.set(X.presentOnHead, 0).set(se, 4).set(ce, -2), E.set(X.grip, -3).set(X.gripHeld, -3), E.set(X.tug1, -4).set(X.tug1End, -2).set(X.tug2, -3), E.set(X.free, -5, J).set(X.lowered, 14).set(X.release, 14), E.set(X.landed, 6), D.set(X.presentOnHead, 100).set(se, ne ? 86 : 96), D.set(ce, ne ? 108 : 100).set(X.grip, 104).set(X.gripHeld, 100), D.set(X.tug1, ne ? 102 : 96).set(X.tug1End, 100), D.set(X.free, ne ? 88 : 95).set(X.free + .15, 102).set(X.lowered, 100), F(X.presentOnHead);
|
|
3603
|
+
let le = (e, t, n, r = q) => e.set(t, [e.value(t)[0], n], r);
|
|
3604
|
+
for (let e of [j, M]) le(e, ce, 0, J), le(e, X.grip, w), le(e, X.gripHeld, w), le(e, X.tug1, w + 2 / r), le(e, X.tug1End, w), le(e, X.tug2, w, vn), le(e, X.free, 0, "hold");
|
|
3605
|
+
F(X.free), F(X.release), k.set(X.grip, S).set(X.gripHeld, S), k.set(X.tug1, Z(S, [0, s ? 2 / r : -2])), k.set(X.tug1End, S).set(X.tug2, S), k.set(X.free, Z(S, s ? [3, ne ? 16 - w : 12] : [0, -8]), ne ? vn : J), A.set(X.grip, C).set(X.tug2, C), A.set(X.free, s ? -3 : 70, J), k.set(X.lowered, [36, -40]), A.set(X.lowered, 0), k.set(X.release, [36, -40], vn), A.set(X.release, 0), k.set(X.landed, [36, 0], J), k.set(X.landed + .06, [36, -1.2], vn), k.set(X.landed + .12, [36, 0], "hold"), T.set(X.presentDown, [6, 0]).set(X.presentHeld, [4, 0]), E.set(X.presentDown, 4).set(X.presentHeld, 0), F(X.presentHeld);
|
|
3606
|
+
let ue = m - 22;
|
|
3607
|
+
P(ue, X.presentHeld, X.seatReached, 3), F(X.seatReached + .2), M.set(X.footTest, [ue + 11, 0], q), M.set(X.footTest + .1, [m - 4, -d - 3], q), M.set(X.footTest + .15, [m - 4, -d + 1 / r], q), M.set(X.footTestEnd - .05, [m - 4, -d - 3], q), M.set(X.footTestEnd, [ue + 11, 0], "hold"), E.set(X.footTest, -4).set(X.footTestEnd, 0), k.set(X.footTest + .12, [36, 0]), k.set(X.footTest + .15, [36, 1 / r], q), k.set(X.footTestEnd - .05, [36, 0], "hold"), T.set(X.footTestEnd, [ue, 0]), D.set(X.footTestEnd, 100).set(X.footTestEnd + .15, 92), T.set(X.footTestEnd + .15, [ue, 0], q), T.set(X.sit, [m, -d + 5], J), D.set(X.sit, 96).set(X.settled, 100), E.set(X.sit, -4).set(X.settled, -2), j.set(X.footTestEnd + .15, j.value(X.footTestEnd), q), M.set(X.footTestEnd + .15, M.value(X.footTestEnd), q), ((e) => {
|
|
3608
|
+
j.set(e, [m + 12, -d], "hold"), M.set(e, [m + 20, -d], "hold");
|
|
3609
|
+
})(X.sit), re.set(X.settled, 0).set(X.push1, 0, vn).set(X.push1End, f * .04), re.set(X.push2, f * .04, vn).set(X.push2End, f * pt.pushShare), re.set(X.glide, f * pt.pushShare, On).set(X.impact, f, "hold"), E.set(X.push1 - .15, -10).set(X.push1, 12, J).set(X.push1End, -2), E.set(X.push2 - .2, -12).set(X.push2, 14, J).set(X.push2End, -4), E.set(X.glide, -6).set(X.smug, -10).set(X.impact, -10), N.set(X.glide, 14).set(X.glide + .5, 30).set(X.smug, 55).set(X.impact + .08, 72);
|
|
3610
|
+
for (let e of re.keys.map((e) => e.t)) {
|
|
3611
|
+
if (e < X.settled || e > X.impact) continue;
|
|
3612
|
+
let t = re.keys.find((t) => t.t === e);
|
|
3613
|
+
T.set(e, [m + re.at(e), -d + 5], t?.ease ?? q), k.set(e, [36 + re.at(e), 0], t?.ease ?? q);
|
|
3614
|
+
for (let [n, r] of [[j, 12], [M, 20]]) n.set(e, [m + r + re.at(e), -d], t?.ease ?? q);
|
|
3615
|
+
}
|
|
3616
|
+
let de = [36 + f, 0], fe = (e, t) => Z(de, Tn([p + e, -d], t)), pe = (e, t) => Z(fe(e, t), Tn([0, 5], t));
|
|
3617
|
+
A.set(X.impact, 0, J).set(X.impact + .08, -14, "hold"), k.set(X.impact, de, "hold"), T.set(X.impact, T.value(X.impact), J), j.set(X.impact, j.value(X.impact), J), M.set(X.impact, M.value(X.impact), J), T.set(X.compressed, pe(3, -14 * .7), J), T.set(X.rebound, pe(1, -14), q), T.set(X.settledImpact, pe(1, -14), "hold"), E.set(X.compressed, .20000000000000107, J).set(X.rebound, -17), E.set(X.settledImpact, -14, "hold"), D.set(X.impact, 100).set(X.compressed, 90, J).set(X.rebound, 105), D.set(X.settledImpact, 100), N.set(X.compressed + .1, -30).set(X.settledImpact + .2, 15).set(X.settledImpact + .5, 10);
|
|
3618
|
+
let me = (e) => Z(de, Tn([p + 1 + e, -d], -14));
|
|
3619
|
+
j.set(X.compressed, me(12), "hold"), M.set(X.compressed, me(20), "hold"), T.set(X.standUp, pe(1, -14), q), E.set(X.standUp, -14, q), T.set(X.standUp + .4, [b - 20, 0], J), E.set(X.standUp + .4, 0), D.set(X.standUp, 100).set(X.standUp + .2, 94).set(X.standUp + .4, 100), F(X.standUp + .4);
|
|
3620
|
+
let he = x - 50;
|
|
3621
|
+
P(he, X.standUp + .4, X.bow - .1, 2), F(X.bow - .1 + .18), E.set(X.bow - .1, 0).set(X.bow, 30).set(X.presentPlaced, 50, J), D.set(X.bow, 96).set(X.presentPlaced, 85), T.set(X.bow - .1, [he, 0]).set(X.presentPlaced, [he, 0], J), F(X.presentPlaced), E.set(X.risen, 0, q), D.set(X.risen, 100), P(b, X.presentPlaced + .05, X.risen, 1), E.set(X.presentPlaced + .05, 50, q).set(X.risen, 0, q), D.set(X.presentPlaced + .05, 85), F(X.risen + .18), E.set(X.spread, -2).set(X.spread + .4, 0), E.set(X.catch, 0).set(X.catch + .08, 4).set(X.catch + .22, 0), D.set(X.catch, 100).set(X.catch + .08, 95).set(X.catch + .22, 100), E.set(X.corrected, 0).set(X.nudge, 46, J).set(X.straightened, 46), D.set(X.corrected, 100).set(X.nudge, 88).set(X.straightened, 88), E.set(X.turn - .05, 0, q), D.set(X.turn - .05, 100), ae(X.turn, -1), F(X.turn);
|
|
3622
|
+
let ge = Z(de, Tn([u, 0], -14))[0] + 14;
|
|
3623
|
+
P(ge, X.turn + .02, X.cardGrip - .12, 1), E.set(X.cardGrip - .12, 0).set(X.cardGrip, 18).set(X.cardGripHeld, 18), E.set(X.cardLifted, 2), F(X.cardGripHeld), k.set(X.cardGrip, de).set(X.cardGripHeld, de), A.set(X.cardGrip, -14).set(X.cardGripHeld, -14);
|
|
3624
|
+
let I = (e, t = 0) => [e - 14 - u, -44 + (s ? 0 : d) + t];
|
|
3625
|
+
k.set(X.cardLifted, I(ge), "hold"), A.set(X.cardLifted, 0, "hold");
|
|
3626
|
+
let _e = s ? S[0] + u + 14 : 36 + u + 14;
|
|
3627
|
+
P(_e, X.cardLifted, X.walkedBack, 4, 0), E.set(X.cardLifted, 0).set(X.walkedBack, 0);
|
|
3628
|
+
let ve = T.keys.find((e) => e.t > X.cardLifted + 1e-6);
|
|
3629
|
+
if (ve && (k.set(X.cardLifted, I(ge), vn), k.set(ve.t, I(ve.v[0]), "linear"), k.set(X.walkedBack, I(_e), q)), F(X.walkedBack + .2), s) {
|
|
3630
|
+
T.set(X.walkedBack, [_e, 0]).set(X.slotted - .12, [_e, 0]), T.set(X.slotted, [_e, w], vn).set(X.cardRelease, [_e, w]), T.set(X.cardRelease + .25, [_e, 0], vn).set(X.headHeld, [_e, 0]), D.set(X.slotted - .12, ne ? 88 : 100).set(X.slotted, 104), D.set(X.cardRelease + .25, ne ? 90 : 100).set(X.headHeld, 100);
|
|
3631
|
+
for (let e of [j, M]) le(e, X.slotted - .12, 0, J), le(e, X.slotted, w), le(e, X.cardRelease, w, vn), le(e, X.cardRelease + .25, 0, "hold");
|
|
3632
|
+
k.set(X.walkedBack, I(_e), q), k.set(X.slotted - .12, Z(S, [0, 14 - w]), q), k.set(X.slotted, S, "hold"), A.set(X.slotted, 0, "hold");
|
|
3633
|
+
} else k.set(X.walkedBack, I(_e), vn), k.set(X.walkedBack + .15, [36, 0], "hold");
|
|
3634
|
+
E.set(X.walkedBack, 0).set(X.slotted, -3).set(X.cardRelease, -3).set(X.headHeld, 0), P(h, X.headHeld, X.exited, 5);
|
|
3635
|
+
let ye = new Y([24, -58]), be = new Y([0]), xe = [2, jn[1] - Cn.headRadius - It[1] / 2 + 1];
|
|
3636
|
+
ye.set(X.presentUp, [24, -58]), ye.set((X.presentUp + X.presentOnHead) / 2, [26, -104]), ye.set(X.presentOnHead, xe), be.set(X.tug1, 0).set(X.tug1 + .12, -8).set(X.tug1End, 4), be.set(X.free, -6).set(X.lowered, 5).set(X.landed, -3).set(X.presentDown, 0), ye.set(X.presentDown, xe), ye.set((X.presentDown + X.presentHeld) / 2, [26, -104]), ye.set(X.presentHeld, [24, -58]), ye.set(X.sit, [24, -58]).set(X.settled, [22, -56]), ye.set(X.bow - .1, [22, -56]), be.set(X.bow - .1, 0);
|
|
3637
|
+
let Se = (e) => ({
|
|
3638
|
+
root: Q(T.value(e)),
|
|
3639
|
+
lean: E.at(e),
|
|
3640
|
+
sy: D.at(e) / 100,
|
|
3641
|
+
facing: O.at(e) >= 0 ? 1 : -1
|
|
3642
|
+
}), Ce = (e, t) => {
|
|
3643
|
+
let n = (1 + (1 - t.sy) * .5) * t.facing;
|
|
3644
|
+
return Z(t.root, Tn([e[0] * n, e[1] * t.sy], t.facing * t.lean));
|
|
3645
|
+
}, we = (e, t) => {
|
|
3646
|
+
let n = (1 + (1 - t.sy) * .5) * t.facing, [r, i] = Tn(En(e, t.root), -t.facing * t.lean);
|
|
3647
|
+
return [r / n, i / t.sy];
|
|
3648
|
+
}, Te = [x, -It[1] / 2], Ee = Se(X.presentPlaced);
|
|
3649
|
+
ye.set(X.presentPlaced, we(Te, Ee)), be.set(X.presentPlaced, -8 - Ee.facing * Ee.lean);
|
|
3650
|
+
let De = new Y([...Te]), Oe = new Y([-8]);
|
|
3651
|
+
Oe.set(X.corrected, -8).set(X.nudge, -8), Oe.set(X.straightened, 0, J);
|
|
3652
|
+
let ke = new Y([0, 0]), Ae = new Y([0]), L = new Y([1]), je = new Y([100]);
|
|
3653
|
+
Ae.set(X.lookTree, -4).set(X.lookDistance, 2).set(X.lookCard, -14), Ae.set(X.idea, -10).set(X.idea + .3, 0).set(X.grip, -8).set(X.free, 0), Ae.set(X.smug, 0).set(X.smug + .3, -8), je.set(X.separation - .001, 100, "hold").set(X.separation, 0, "hold"), je.set(X.headOn, 100, "hold"), L.set(X.headOn - .001, 1, "hold").set(X.headOn, -1, "hold"), ke.set(X.headGrabbed, [0, 0]).set(X.swap - .02, [0, -8], J), L.set(X.swap - .001, -1, "hold").set(X.swap, 1, "hold"), ke.set(X.corrected, [0, 0], vn), Ae.set(X.headOn, 0).set(X.realize, 6).set(X.headGrabbed, 0);
|
|
3654
|
+
let Me = new Y(), Ne = new Y(), R = new Y([1]), Pe = Ce(jn, Se(X.separation)), z = s ? X.cardRelease : X.walkedBack, Fe = (re.at(X.impact) - re.at(X.impact - .001)) / .001, Ie = Math.min(.6, Math.max(.35, Math.abs(y[0] - Pe[0]) / Fe)), Le = X.separation + Ie, Re = (e) => Z(v, Tn(En(y, v), ie.at(e)));
|
|
3655
|
+
Me.sample(X.separation, Le, 1 / 30, (e) => {
|
|
3656
|
+
let t = (e - X.separation) / Ie, [n, r] = Dn(Pe, y, t);
|
|
3657
|
+
return [n, r - 24 * t * (1 - t)];
|
|
3658
|
+
}), Ne.sample(X.separation, Le, 1 / 30, (e) => [400 * (e - X.separation) / Ie]), ie.set(Le, 0).set(Le + .12, -12, J).set(Le + .3, 5), ie.set(Le + .5, 0, J), ie.set(X.sneeze, 0).set(X.sneeze + .08, -10, J), ie.set(X.branchRelease, 14, vn).set(X.branchRelease + .25, -4), ie.set(X.branchRelease + .45, 0, J), Me.sample(Le, Le + .5, 1 / 20, (e) => Re(e)), Me.set(X.sneeze - .5, Re(X.sneeze - .5)), Me.set(X.sneeze - .1, Z(Re(X.sneeze), [-2, -2]), q), Me.sample(X.sneeze, X.branchRelease, 1 / 30, (e) => Re(e)), Ne.set(Le, 400).set(X.inhale, 400).set(X.inhale + .4, 388), Ne.set(X.sneeze, 408, J).set(X.branchRelease, 400);
|
|
3659
|
+
let ze = [26, -52], Be = Se(X.catch), Ve = Ce(ze, Be), He = Re(X.branchRelease);
|
|
3660
|
+
Me.sample(X.branchRelease, X.catch, 1 / 24, (e) => {
|
|
3661
|
+
let t = (e - X.branchRelease) / (X.catch - X.branchRelease);
|
|
3662
|
+
return Dn(He, Ve, t * t);
|
|
3663
|
+
}), Ne.set(X.catch, 360, "hold"), R.set(X.catch - .001, 1, "hold").set(X.catch, -1, "hold");
|
|
3664
|
+
let Ue = new Y([...ze]);
|
|
3665
|
+
Ue.set(X.catch, ze).set(X.catch + .1, Z(ze, [0, 3])), Ue.set(X.catch + .18, ze), Ue.set(X.catch + .35, [30, -100], q), Ue.set(X.headOn, jn, q), Me.sample(X.catch, X.headOn, kn, (e) => Ce(Q(Ue.value(e)), Se(e)));
|
|
3666
|
+
let We = new Y([22, -60]), Ge = new Y([12, -58]), Ke = (e, t = q) => {
|
|
3667
|
+
We.set(e, [16, -46], t), Ge.set(e, [-14, -48], t);
|
|
3668
|
+
};
|
|
3669
|
+
Ke(X.cardRelease + .01), We.set(X.lookCard, [30, -70]).set(X.idea, [26, -96]).set(X.idea + .3, [30, -66]), Ke(X.landed + .02), Ke(X.seatReached), Ke(X.risen), We.set(X.risen + .15, [8, -104]).set(X.risen + .35, [12, -98]), We.set(X.risen + .55, [6, -106]).set(X.spread - .05, [10, -100]), Ge.set(X.risen + .15, [-14, -106]).set(X.risen + .35, [-18, -100]), Ge.set(X.risen + .55, [-12, -108]).set(X.spread - .05, [-16, -104]), We.set(X.spread, [36, -82]).set(X.inhale, [38, -54]), Ge.set(X.spread, [-34, -84]).set(X.inhale, [14, -56]), Ke(X.headOn + .1), We.set(X.realize, [30, -88]).set(X.realize + .1, [26, -96]), Ke(X.straightened + .1), Ke(X.turn);
|
|
3670
|
+
let qe = [], Je = (e) => {
|
|
3671
|
+
let t = Q(ye.value(e)), n = be.at(e);
|
|
3672
|
+
return [Z(t, Tn([It[0] / 2, 0], n)), Z(t, Tn([-It[0] / 2, 0], n))];
|
|
3673
|
+
}, Ye = (e, t) => {
|
|
3674
|
+
let n = Q(k.value(e)), r = A.at(e), i = t && !s ? -d : 0, a = (e) => Z(n, Tn([t ? u - e : e, i], r));
|
|
3675
|
+
return [a(16), a(6)];
|
|
3676
|
+
}, Xe = (e) => [Z(e, [15, 2]), Z(e, [-15, 2])];
|
|
3677
|
+
qe.push({
|
|
3678
|
+
t0: 0,
|
|
3679
|
+
t1: X.presentOnHead,
|
|
3680
|
+
grips: Je
|
|
3681
|
+
}), qe.push({
|
|
3682
|
+
t0: X.grip,
|
|
3683
|
+
t1: X.release,
|
|
3684
|
+
grips: (e) => Ye(e, !1).map((t) => we(t, Se(e)))
|
|
3685
|
+
}), qe.push({
|
|
3686
|
+
t0: X.presentDown,
|
|
3687
|
+
t1: X.bow - .3,
|
|
3688
|
+
grips: Je
|
|
3689
|
+
}), qe.push({
|
|
3690
|
+
t0: X.bow - .3,
|
|
3691
|
+
t1: X.presentPlaced,
|
|
3692
|
+
grips: Je
|
|
3693
|
+
}), qe.push({
|
|
3694
|
+
t0: X.straightened - .3,
|
|
3695
|
+
t1: X.straightened,
|
|
3696
|
+
grips: (e) => [we(Z(Q(De.value(e)), Tn([-11, -9], Oe.at(e))), Se(e)), [-14, -48]]
|
|
3697
|
+
}), qe.push({
|
|
3698
|
+
t0: X.catch,
|
|
3699
|
+
t1: X.headOn,
|
|
3700
|
+
grips: (e) => Xe(Q(Ue.value(e)))
|
|
3701
|
+
}), qe.push({
|
|
3702
|
+
t0: X.headGrabbed - .15,
|
|
3703
|
+
t1: X.corrected + .05,
|
|
3704
|
+
grips: (e) => Xe(Z(jn, Q(ke.value(e))))
|
|
3705
|
+
}), qe.push({
|
|
3706
|
+
t0: X.cardGrip,
|
|
3707
|
+
t1: z,
|
|
3708
|
+
grips: (e) => Ye(e, !0).map((t) => we(t, Se(e)))
|
|
3709
|
+
}), qe.push({
|
|
3710
|
+
t0: X.cardRelease + .1,
|
|
3711
|
+
t1: Sn,
|
|
3712
|
+
grips: () => Xe(jn)
|
|
3713
|
+
});
|
|
3714
|
+
let Ze = [
|
|
3715
|
+
T,
|
|
3716
|
+
E,
|
|
3717
|
+
D,
|
|
3718
|
+
O,
|
|
3719
|
+
k,
|
|
3720
|
+
A,
|
|
3721
|
+
ye,
|
|
3722
|
+
be,
|
|
3723
|
+
ke
|
|
3724
|
+
].flatMap((e) => e.keys.map((e) => e.t));
|
|
3725
|
+
for (let e of qe) {
|
|
3726
|
+
let t = (t) => (n) => e.grips(n)[t];
|
|
3727
|
+
We.sample(e.t0, e.t1, kn, t(0), Ze), Ge.sample(e.t0, e.t1, kn, t(1), Ze);
|
|
3728
|
+
}
|
|
3729
|
+
let Qe = we(Z(Ve, [0, 4]), Be);
|
|
3730
|
+
We.set(X.inhale + .2, Z(Qe, [15, 2])).set(X.catch - .001, Z(Qe, [15, 2])), Ge.set(X.inhale + .2, Z(Qe, [-15, 2])).set(X.catch - .001, Z(Qe, [-15, 2]));
|
|
3731
|
+
let $e = (e, t) => {
|
|
3732
|
+
let n = new Y(), r = new Y(), i = 60;
|
|
3733
|
+
for (let a of t.keys) {
|
|
3734
|
+
let t = yt(e, Q(a.v), 1), o = t.upper;
|
|
3735
|
+
for (; o - i > 180;) o -= 360;
|
|
3736
|
+
for (; o - i < -180;) o += 360;
|
|
3737
|
+
i = o, n.set(a.t, o, a.ease), r.set(a.t, t.bend, a.ease);
|
|
3738
|
+
}
|
|
3739
|
+
return {
|
|
3740
|
+
upper: n,
|
|
3741
|
+
bend: r
|
|
3742
|
+
};
|
|
3743
|
+
}, et = (e, t) => {
|
|
3744
|
+
let { upper: n, bend: r } = e, i = /* @__PURE__ */ new Set(), a = (e, n) => vt(t, e, n).grip, o = (e, t) => {
|
|
3745
|
+
i.add(e), i.add(t);
|
|
3746
|
+
let s = -1, c = An, [l, u] = [n.keys[e], n.keys[t]], [d, f] = [r.keys[e], r.keys[t]];
|
|
3747
|
+
for (let i = e + 1; i < t; i++) {
|
|
3748
|
+
let e = (n.keys[i].t - l.t) / (u.t - l.t), t = a(l.v[0] + (u.v[0] - l.v[0]) * e, d.v[0] + (f.v[0] - d.v[0]) * e), o = a(n.keys[i].v[0], r.keys[i].v[0]), p = Math.hypot(t[0] - o[0], t[1] - o[1]);
|
|
3749
|
+
p > c && (c = p, s = i);
|
|
3750
|
+
}
|
|
3751
|
+
s > 0 && (o(e, s), o(s, t));
|
|
3752
|
+
}, s = 0;
|
|
3753
|
+
for (let e = 0; e < n.keys.length; e++) e < n.keys.length - 1 && n.keys[e].ease === "linear" || (o(s, e), s = e);
|
|
3754
|
+
for (let e = n.keys.length - 1; e >= 0; e--) i.has(e) || (n.keys.splice(e, 1), r.keys.splice(e, 1));
|
|
3755
|
+
return e;
|
|
3756
|
+
}, tt = et($e(Cn.shoulderFront, We), Cn.shoulderFront), nt = et($e(Cn.shoulderBack, Ge), Cn.shoulderBack), rt = (e, t, n) => vt(t, e.upper.at(n), e.bend.at(n)).grip, it = (e, t) => {
|
|
3757
|
+
let n = /* @__PURE__ */ new Map();
|
|
3758
|
+
for (let e of Object.values(K)) n.set(e, new Y([e === t ? 100 : 0]));
|
|
3759
|
+
for (let [t, r] of e) for (let [e, i] of n) i.set(t - .001, i.at(t - .001), "hold"), i.set(t, e === r ? 100 : 0, "hold");
|
|
3760
|
+
return n;
|
|
3761
|
+
}, at = it([
|
|
3762
|
+
[X.idea, K.Idea],
|
|
3763
|
+
[X.presentUp, K.Neutral],
|
|
3764
|
+
[X.gripHeld, K.Cautious],
|
|
3765
|
+
[X.free, K.Neutral],
|
|
3766
|
+
[X.footTest, K.Cautious],
|
|
3767
|
+
[X.settled, K.Neutral],
|
|
3768
|
+
[X.glide, K.Cautious],
|
|
3769
|
+
[X.smug, K.Smug],
|
|
3770
|
+
[X.headOn, K.Neutral],
|
|
3771
|
+
[X.realize, K.Indignant],
|
|
3772
|
+
[X.corrected, K.Smug],
|
|
3773
|
+
[X.turn, K.Neutral],
|
|
3774
|
+
[X.headHeld, K.Smug]
|
|
3775
|
+
], K.Neutral), ot = it([[X.inhale, K.Sneeze], [X.branchRelease, K.Indignant]], K.Indignant), st = [], ct = t ? 2 : 6, lt = t ? 2 : 4;
|
|
3776
|
+
for (let e = 0; e < ct; e++) {
|
|
3777
|
+
let t = -150 + 100 * e / Math.max(1, ct - 1), n = [_ - 4, -10];
|
|
3778
|
+
st.push({
|
|
3779
|
+
start: n,
|
|
3780
|
+
end: Z(n, Tn([26 + e % 3 * 6, 0], t)),
|
|
3781
|
+
t0: X.impact,
|
|
3782
|
+
t1: X.impact + .55,
|
|
3783
|
+
r: 2.6 + e % 2
|
|
3784
|
+
});
|
|
3785
|
+
}
|
|
3786
|
+
for (let e = 0; e < lt; e++) {
|
|
3787
|
+
let t = Z(y, [-14, 0]);
|
|
3788
|
+
st.push({
|
|
3789
|
+
start: t,
|
|
3790
|
+
end: Z(t, Tn([-22 - e * 5, 0], -20 + e * 14)),
|
|
3791
|
+
t0: X.sneeze,
|
|
3792
|
+
t1: X.sneeze + .45,
|
|
3793
|
+
r: 2.2
|
|
3794
|
+
});
|
|
3795
|
+
}
|
|
3796
|
+
let ut = () => [...new Set([...k.keys, ...A.keys].map((e) => e.t))].sort((e, t) => e - t), dt = (e) => {
|
|
3797
|
+
let t = ut().find((t) => t > e + 1e-6), n = k.keys.find((t) => Math.abs(t.t - e) < 1e-6), r = A.keys.find((t) => Math.abs(t.t - e) < 1e-6);
|
|
3798
|
+
if (t === void 0) return "linear";
|
|
3799
|
+
let i = (n) => n.value(e).some((e, r) => Math.abs(e - n.value(t)[r]) > 1e-9);
|
|
3800
|
+
return i(k) ? n?.ease ?? "linear" : i(A) ? r?.ease ?? "linear" : "hold";
|
|
3801
|
+
}, ft = [], mt = [], ht = ft, gt = (e, t, n, { ip: r = 0, op: i = Sn, parent: a, null: o = !1 } = {}) => {
|
|
3802
|
+
let s = {
|
|
3803
|
+
ty: o ? 3 : 4,
|
|
3804
|
+
ind: ht.length + 1,
|
|
3805
|
+
nm: e,
|
|
3806
|
+
ip: r * xn,
|
|
3807
|
+
op: i * xn,
|
|
3808
|
+
st: 0,
|
|
3809
|
+
sr: 1,
|
|
3810
|
+
ks: t,
|
|
3811
|
+
...o ? {} : { shapes: n },
|
|
3812
|
+
...a ? { parent: a.ind } : {}
|
|
3813
|
+
};
|
|
3814
|
+
return ht.push(s), s;
|
|
3815
|
+
}, _t = () => ({
|
|
3816
|
+
...V(),
|
|
3817
|
+
p: B(c([0, 0])),
|
|
3818
|
+
s: B([n * r * 100, r * 100])
|
|
3819
|
+
}), H = (e = 1) => [n * e * r * 100, r * 100];
|
|
3820
|
+
s || gt("sled", {
|
|
3821
|
+
...V(),
|
|
3822
|
+
p: $((() => {
|
|
3823
|
+
let e = new Y();
|
|
3824
|
+
for (let t of ut()) e.set(t, c(Z(Q(k.value(t)), Tn([u / 2, 0], A.at(t)))), dt(t));
|
|
3825
|
+
return e;
|
|
3826
|
+
})()),
|
|
3827
|
+
r: $((() => {
|
|
3828
|
+
let e = new Y();
|
|
3829
|
+
for (let t of ut()) e.set(t, n * A.at(t), dt(t));
|
|
3830
|
+
return e;
|
|
3831
|
+
})()),
|
|
3832
|
+
s: B(H())
|
|
3833
|
+
}, Wt());
|
|
3834
|
+
let bt = Math.min(l(e.startEdge), g) - 20, xt = g + 44, St = _t();
|
|
3835
|
+
St.o = $(new Y([0]).set(.4, 100).set(24.6, 100).set(Sn, 0)), gt("scenery", St, [
|
|
3836
|
+
U("snowbank-group", Ht(), {}, {
|
|
3837
|
+
...V(),
|
|
3838
|
+
p: B([_, 0])
|
|
3839
|
+
}),
|
|
3840
|
+
U("tree-group", Lt(), {}, {
|
|
3841
|
+
...V(),
|
|
3842
|
+
p: B([g, 0])
|
|
3843
|
+
}),
|
|
3844
|
+
U("ground-group", Ut(xt - bt, ee ? 4 : 14), {}, {
|
|
3845
|
+
...V(),
|
|
3846
|
+
p: B([(bt + xt) / 2, 0])
|
|
3847
|
+
})
|
|
3848
|
+
]);
|
|
3849
|
+
let W = _t();
|
|
3850
|
+
W.o = St.o, gt("branch", W, [U("bough-pivot", [U("bough-at-tree", Rt(), {}, {
|
|
3851
|
+
...V(),
|
|
3852
|
+
p: B([g, 0])
|
|
3853
|
+
})], {}, {
|
|
3854
|
+
...V(v),
|
|
3855
|
+
r: $(ie)
|
|
3856
|
+
})]);
|
|
3857
|
+
let Ct = O.keys.filter((e) => e.ease === "hold" && O.keys.some((t) => Math.abs(t.t - e.t - .001) < 1e-6)).map((e) => e.t), wt = (e, t, n) => {
|
|
3858
|
+
let r = new Y(), i = [...new Set(e.flatMap((e) => e.keys.map((e) => e.t)))].sort((e, t) => e - t);
|
|
3859
|
+
for (let e of i) {
|
|
3860
|
+
let i = Ct.some((t) => Math.abs(t - e) < 1e-6), a = n.keys.find((t) => Math.abs(t.t - e) < 1e-6);
|
|
3861
|
+
r.set(e, t(e), i ? "hold" : a?.ease ?? "linear");
|
|
3862
|
+
}
|
|
3863
|
+
return r;
|
|
3864
|
+
}, Tt = (e) => O.at(e) >= 0 ? 1 : -1, Et = {
|
|
3865
|
+
...V(),
|
|
3866
|
+
p: $((() => {
|
|
3867
|
+
let e = new Y();
|
|
3868
|
+
for (let t of T.keys) e.set(t.t, c(Q(t.v)), t.ease);
|
|
3869
|
+
return e;
|
|
3870
|
+
})()),
|
|
3871
|
+
r: $(wt([E, O], (e) => [n * Tt(e) * E.at(e)], E)),
|
|
3872
|
+
s: $(wt([D, O], (e) => {
|
|
3873
|
+
let t = D.at(e) / 100;
|
|
3874
|
+
return [n * Tt(e) * (1 + (1 - t) * .5) * r * 100, t * r * 100];
|
|
3875
|
+
}, D))
|
|
3876
|
+
};
|
|
3877
|
+
gt("present-placed", {
|
|
3878
|
+
...V([0, -It[1] / 2]),
|
|
3879
|
+
p: B(c(Te)),
|
|
3880
|
+
r: $(Oe, (e) => [n * e[0]]),
|
|
3881
|
+
s: B(H())
|
|
3882
|
+
}, Ft(), { ip: X.presentPlaced }), ht = mt;
|
|
3883
|
+
let Dt = gt("rig", Et, void 0, { null: !0 }), G = (e) => e?.it?.find((e) => e.ty === "tr"), At = (e, t, n) => {
|
|
3884
|
+
let r = Pt(t), i = r[0];
|
|
3885
|
+
G(i).r = $(n.upper), G(i.it?.find((e) => e.nm === "forearm")).r = $(n.bend), gt(e, V(), r, { parent: Dt });
|
|
3886
|
+
}, Mt = (e) => {
|
|
3887
|
+
let t = new Y();
|
|
3888
|
+
for (let n of e.keys) t.set(n.t, c(Q(n.v)), n.ease);
|
|
3889
|
+
return t;
|
|
3890
|
+
}, Kt = (e, t) => gt(e, {
|
|
3891
|
+
...V(),
|
|
3892
|
+
p: $(Mt(t)),
|
|
3893
|
+
s: B(H())
|
|
3894
|
+
}, kt());
|
|
3895
|
+
At("arm-back", Cn.shoulderBack, nt), Kt("foot-back", j), gt("body", V(), Ot(), { parent: Dt });
|
|
3896
|
+
let qt = jt();
|
|
3897
|
+
G(qt[0]).r = $(N), gt("scarf", V(), qt, { parent: Dt }), Kt("foot-front", M), gt("present-held", V(), [U("present-pose", Ft(), {}, {
|
|
3898
|
+
...V(),
|
|
3899
|
+
a: B([0, -It[1] / 2]),
|
|
3900
|
+
p: $(ye),
|
|
3901
|
+
r: $(be)
|
|
3902
|
+
})], {
|
|
3903
|
+
parent: Dt,
|
|
3904
|
+
op: X.presentPlaced
|
|
3905
|
+
});
|
|
3906
|
+
let Jt = (e, t) => e.map((e) => {
|
|
3907
|
+
let n = Object.values(K).find((t) => e.nm === `face-${t}`);
|
|
3908
|
+
return n && (G(e).o = $(t.get(n) ?? new Y([0]))), e;
|
|
3909
|
+
});
|
|
3910
|
+
gt("head", {
|
|
3911
|
+
...V(),
|
|
3912
|
+
o: $(je)
|
|
3913
|
+
}, [U("head-pose", Jt(Nt(), at), {}, {
|
|
3914
|
+
...V(),
|
|
3915
|
+
p: $(ke, (e) => [jn[0] + e[0], jn[1] + e[1]]),
|
|
3916
|
+
r: $(Ae),
|
|
3917
|
+
s: $(L, (e) => [e[0] * 100, 100])
|
|
3918
|
+
})], { parent: Dt }), gt("head-free", {
|
|
3919
|
+
...V(),
|
|
3920
|
+
p: $(Mt(Me)),
|
|
3921
|
+
r: $((() => {
|
|
3922
|
+
let e = new Y();
|
|
3923
|
+
for (let t of Ne.keys) e.set(t.t, n * t.v[0], t.ease);
|
|
3924
|
+
return e;
|
|
3925
|
+
})()),
|
|
3926
|
+
s: $(R, (e) => H(e[0]))
|
|
3927
|
+
}, Jt(Nt(), ot), {
|
|
3928
|
+
ip: X.separation,
|
|
3929
|
+
op: X.headOn
|
|
3930
|
+
}), At("arm-front", Cn.shoulderFront, tt), ht = ft, gt("snowman", {
|
|
3931
|
+
...V(),
|
|
3932
|
+
o: $(new Y([0]).set(.35, 100).set(X.exited - .35, 100).set(X.exited, 0))
|
|
3933
|
+
}, void 0);
|
|
3934
|
+
let Yt = ft[ft.length - 1];
|
|
3935
|
+
Object.assign(Yt, {
|
|
3936
|
+
ty: 0,
|
|
3937
|
+
refId: "snowman",
|
|
3938
|
+
w: e.width,
|
|
3939
|
+
h: e.height
|
|
3940
|
+
}), delete Yt.shapes, gt("needles", _t(), [U("needles-at-tree", Vt(), {}, {
|
|
3941
|
+
...V(),
|
|
3942
|
+
p: B([g, 0])
|
|
3943
|
+
})]), gt("particles", _t(), st.map(({ start: e, end: t, t0: n, t1: r, r: i }, a) => U(`particle-${a}`, Gt(i), {}, {
|
|
3944
|
+
...V(),
|
|
3945
|
+
p: $(new Y([...e]).set(n, e, J).set(r, t)),
|
|
3946
|
+
o: $(new Y([0]).set(n - .001, 0, "hold").set(n, 100, vn).set(r, 0))
|
|
3947
|
+
})), {
|
|
3948
|
+
ip: X.impact - .1,
|
|
3949
|
+
op: X.sneeze + .6
|
|
3950
|
+
});
|
|
3951
|
+
let Xt = [], Zt = e.card;
|
|
3952
|
+
if (Zt) {
|
|
3953
|
+
let { rect: e } = Zt, t = [e.left + e.width / 2, e.top + e.height / 2], r = (e) => c(Z(Q(k.value(e)), Tn([u / 2, -d / 2], A.at(e)))), i = X.grip - .3, a = X.cardRelease + 1, o = [
|
|
3954
|
+
0,
|
|
3955
|
+
i - .001,
|
|
3956
|
+
i,
|
|
3957
|
+
...ut(),
|
|
3958
|
+
X.cardRelease,
|
|
3959
|
+
a,
|
|
3960
|
+
a + .05,
|
|
3961
|
+
Sn
|
|
3962
|
+
].filter((e, t, n) => e >= 0 && e <= Sn && n.indexOf(e) === t).sort((e, t) => e - t);
|
|
3963
|
+
for (let e of o) {
|
|
3964
|
+
let [o, s] = r(e);
|
|
3965
|
+
Xt.push({
|
|
3966
|
+
offset: e / Sn,
|
|
3967
|
+
dx: o - t[0],
|
|
3968
|
+
dy: s - t[1],
|
|
3969
|
+
rotate: n * A.at(e),
|
|
3970
|
+
opacity: +(e >= i && e <= a),
|
|
3971
|
+
easing: e < X.grip || e >= X.cardRelease ? "step-end" : Nn(dt(e))
|
|
3972
|
+
});
|
|
3973
|
+
}
|
|
3974
|
+
}
|
|
3975
|
+
let Qt = [
|
|
3976
|
+
{
|
|
3977
|
+
kind: "grip",
|
|
3978
|
+
t: X.grip
|
|
3979
|
+
},
|
|
3980
|
+
{
|
|
3981
|
+
kind: "release",
|
|
3982
|
+
t: X.release
|
|
3983
|
+
},
|
|
3984
|
+
{
|
|
3985
|
+
kind: "seat",
|
|
3986
|
+
t: X.sit
|
|
3987
|
+
},
|
|
3988
|
+
{
|
|
3989
|
+
kind: "impact",
|
|
3990
|
+
t: X.impact
|
|
3991
|
+
},
|
|
3992
|
+
{
|
|
3993
|
+
kind: "compression",
|
|
3994
|
+
t: X.impact + 1 / xn
|
|
3995
|
+
},
|
|
3996
|
+
{
|
|
3997
|
+
kind: "head-launch",
|
|
3998
|
+
t: X.separation
|
|
3999
|
+
},
|
|
4000
|
+
{
|
|
4001
|
+
kind: "head-lodge",
|
|
4002
|
+
t: Le
|
|
4003
|
+
},
|
|
4004
|
+
{
|
|
4005
|
+
kind: "branch-release",
|
|
4006
|
+
t: X.branchRelease
|
|
4007
|
+
},
|
|
4008
|
+
{
|
|
4009
|
+
kind: "head-catch",
|
|
4010
|
+
t: X.catch
|
|
4011
|
+
},
|
|
4012
|
+
{
|
|
4013
|
+
kind: "grip",
|
|
4014
|
+
t: X.cardGrip
|
|
4015
|
+
},
|
|
4016
|
+
{
|
|
4017
|
+
kind: "slot",
|
|
4018
|
+
t: X.slotted
|
|
4019
|
+
}
|
|
4020
|
+
];
|
|
4021
|
+
return {
|
|
4022
|
+
targets: e,
|
|
4023
|
+
animationData: {
|
|
4024
|
+
v: "5.13.0",
|
|
4025
|
+
fr: xn,
|
|
4026
|
+
ip: 0,
|
|
4027
|
+
op: 1500,
|
|
4028
|
+
w: e.width,
|
|
4029
|
+
h: e.height,
|
|
4030
|
+
nm: "Delivery without losing your head",
|
|
4031
|
+
ddd: 0,
|
|
4032
|
+
assets: [{
|
|
4033
|
+
id: "snowman",
|
|
4034
|
+
layers: mt.reverse()
|
|
4035
|
+
}],
|
|
4036
|
+
layers: ft.reverse()
|
|
4037
|
+
},
|
|
4038
|
+
cardFrames: Xt,
|
|
4039
|
+
cardHideAt: X.grip / Sn,
|
|
4040
|
+
cardRestoreAt: X.cardRelease / Sn,
|
|
4041
|
+
contacts: Qt,
|
|
4042
|
+
particleCount: st.length,
|
|
4043
|
+
probe: (e) => {
|
|
4044
|
+
let t = Se(e), r = (e) => c(Ce(e, t)), i = e < X.separation || e >= X.headOn, a = qe.find((t) => e >= t.t0 && e <= t.t1), o = e >= X.grip && e <= X.release || e >= X.cardGrip && e <= z;
|
|
4045
|
+
return {
|
|
4046
|
+
gripFront: r(rt(tt, Cn.shoulderFront, e)),
|
|
4047
|
+
gripBack: r(rt(nt, Cn.shoulderBack, e)),
|
|
4048
|
+
neck: r(Cn.neck),
|
|
4049
|
+
head: i ? r(Z(jn, Q(ke.value(e)))) : c(Q(Me.value(e))),
|
|
4050
|
+
headAttached: i,
|
|
4051
|
+
seat: r(Cn.seat),
|
|
4052
|
+
feet: [c(Q(j.value(e))), c(Q(M.value(e)))],
|
|
4053
|
+
sled: {
|
|
4054
|
+
corner: c(Q(k.value(e))),
|
|
4055
|
+
rotation: n * A.at(e)
|
|
4056
|
+
},
|
|
4057
|
+
sledGrips: o ? Ye(e, e >= X.cardGrip).map(c) : null,
|
|
4058
|
+
present: e < X.presentPlaced ? r(Q(ye.value(e))) : c(Q(De.value(e))),
|
|
4059
|
+
presentGrips: a && a.grips === Je ? Je(e).map(r) : null
|
|
4060
|
+
};
|
|
4061
|
+
}
|
|
4062
|
+
};
|
|
4063
|
+
}, Fn = (e) => e.map(({ offset: e, dx: t, dy: n, rotate: r, opacity: i, easing: a }) => ({
|
|
4064
|
+
offset: e,
|
|
4065
|
+
transform: `translate(${t.toFixed(2)}px, ${n.toFixed(2)}px) rotate(${r.toFixed(2)}deg)`,
|
|
4066
|
+
opacity: i,
|
|
4067
|
+
easing: a
|
|
4068
|
+
})), In = (e, t, n, r) => {
|
|
4069
|
+
let i = e.targets.card;
|
|
4070
|
+
if (!i || !e.cardFrames.length) return null;
|
|
4071
|
+
let o = Fn(e.cardFrames), s = n, c = !1, l = a([i], t, {
|
|
4072
|
+
durationMs: bn,
|
|
4073
|
+
hideAt: e.cardHideAt,
|
|
4074
|
+
restoreAt: e.cardRestoreAt,
|
|
4075
|
+
frames: () => o,
|
|
4076
|
+
startTime: s,
|
|
4077
|
+
onStop: () => {
|
|
4078
|
+
if (c) return;
|
|
4079
|
+
let t = document.timeline?.currentTime;
|
|
4080
|
+
(typeof t == "number" ? t : performance.now()) - s < e.cardRestoreAt * 25e3 && r();
|
|
4081
|
+
}
|
|
4082
|
+
});
|
|
4083
|
+
return () => {
|
|
4084
|
+
c = !0, l();
|
|
4085
|
+
};
|
|
4086
|
+
}, Ln = {
|
|
4087
|
+
loadTimeoutMs: 2e3,
|
|
4088
|
+
readyTimeoutMs: 250,
|
|
4089
|
+
playbackMs: bn
|
|
4090
|
+
}, Rn = "data-snowman-card-layer", zn = (e) => {
|
|
4091
|
+
let t = document.createElement("div");
|
|
4092
|
+
return t.setAttribute(Rn, ""), t.setAttribute("aria-hidden", "true"), t.inert = !0, Object.assign(t.style, {
|
|
4093
|
+
position: "absolute",
|
|
4094
|
+
inset: "0",
|
|
4095
|
+
pointerEvents: "none"
|
|
4096
|
+
}), e.prepend(t), t;
|
|
4097
|
+
}, Bn = {
|
|
4098
|
+
timings: Ln,
|
|
4099
|
+
ownership: ne.Transferred,
|
|
4100
|
+
getAnimationData: (e) => e.animationData,
|
|
4101
|
+
onAnimationCreated: ({ preparation: e, host: t, addDisposer: n, cancel: r }) => {
|
|
4102
|
+
if (e.targets.card) {
|
|
4103
|
+
let e = zn(t);
|
|
4104
|
+
n(() => e.remove());
|
|
4105
|
+
}
|
|
4106
|
+
n(o(e.targets.watched, r, [t]));
|
|
4107
|
+
},
|
|
4108
|
+
onPlaybackStarted: ({ preparation: e, host: t, addDisposer: n, cancel: r, timelineZeroMs: i }) => {
|
|
4109
|
+
let a = t.querySelector(`[${Rn}]`);
|
|
4110
|
+
if (!a) return;
|
|
4111
|
+
let o = In(e, a, i, r);
|
|
4112
|
+
o && n(o);
|
|
4113
|
+
}
|
|
4114
|
+
}, Vn = () => /* @__PURE__ */ h("svg", {
|
|
4115
|
+
viewBox: "0 0 220 150",
|
|
4116
|
+
focusable: "false",
|
|
4117
|
+
"data-snowman-static": !0,
|
|
4118
|
+
children: /* @__PURE__ */ g("g", {
|
|
4119
|
+
stroke: H.ink,
|
|
4120
|
+
strokeWidth: "1.4",
|
|
4121
|
+
children: [
|
|
4122
|
+
/* @__PURE__ */ h("path", {
|
|
4123
|
+
d: "M8 141H212",
|
|
4124
|
+
stroke: H.shadow,
|
|
4125
|
+
strokeWidth: "6",
|
|
4126
|
+
strokeLinecap: "round"
|
|
4127
|
+
}),
|
|
4128
|
+
/* @__PURE__ */ g("g", {
|
|
4129
|
+
transform: "translate(170 140)",
|
|
4130
|
+
children: [
|
|
4131
|
+
/* @__PURE__ */ h("path", {
|
|
4132
|
+
d: "M-4 0V-14H4V0Z",
|
|
4133
|
+
fill: H.trunk,
|
|
4134
|
+
strokeWidth: "1"
|
|
4135
|
+
}),
|
|
4136
|
+
/* @__PURE__ */ h("path", {
|
|
4137
|
+
d: "M0-46L40-14H-40Z",
|
|
4138
|
+
fill: H.fir,
|
|
4139
|
+
stroke: H.firDark
|
|
4140
|
+
}),
|
|
4141
|
+
/* @__PURE__ */ h("path", {
|
|
4142
|
+
d: "M0-70L32-40H-32Z",
|
|
4143
|
+
fill: H.fir,
|
|
4144
|
+
stroke: H.firDark
|
|
4145
|
+
}),
|
|
4146
|
+
/* @__PURE__ */ h("path", {
|
|
4147
|
+
d: "M0-92L22-62H-22Z",
|
|
4148
|
+
fill: H.fir,
|
|
4149
|
+
stroke: H.firDark
|
|
4150
|
+
}),
|
|
4151
|
+
/* @__PURE__ */ h("circle", {
|
|
4152
|
+
cx: "-8",
|
|
4153
|
+
cy: "-38",
|
|
4154
|
+
r: "2.6",
|
|
4155
|
+
fill: H.bauble,
|
|
4156
|
+
stroke: "none"
|
|
4157
|
+
}),
|
|
4158
|
+
/* @__PURE__ */ h("circle", {
|
|
4159
|
+
cx: "9",
|
|
4160
|
+
cy: "-56",
|
|
4161
|
+
r: "2.6",
|
|
4162
|
+
fill: H.bauble,
|
|
4163
|
+
stroke: "none"
|
|
4164
|
+
})
|
|
4165
|
+
]
|
|
4166
|
+
}),
|
|
4167
|
+
/* @__PURE__ */ g("g", {
|
|
4168
|
+
transform: "translate(130 140)",
|
|
4169
|
+
children: [
|
|
4170
|
+
/* @__PURE__ */ h("rect", {
|
|
4171
|
+
x: "-11",
|
|
4172
|
+
y: "-18",
|
|
4173
|
+
width: "22",
|
|
4174
|
+
height: "18",
|
|
4175
|
+
rx: "1.5",
|
|
4176
|
+
fill: H.present
|
|
4177
|
+
}),
|
|
4178
|
+
/* @__PURE__ */ h("path", {
|
|
4179
|
+
d: "M-2-18H2V0H-2ZM-11-11H11V-7H-11Z",
|
|
4180
|
+
fill: H.ribbon,
|
|
4181
|
+
stroke: "none"
|
|
4182
|
+
}),
|
|
4183
|
+
/* @__PURE__ */ h("path", {
|
|
4184
|
+
d: "M0-18L-7-24L-5-17ZM0-18L7-24L5-17Z",
|
|
4185
|
+
fill: H.ribbon,
|
|
4186
|
+
strokeWidth: "0.8"
|
|
4187
|
+
})
|
|
4188
|
+
]
|
|
4189
|
+
}),
|
|
4190
|
+
/* @__PURE__ */ g("g", {
|
|
4191
|
+
transform: "translate(70 140)",
|
|
4192
|
+
children: [
|
|
4193
|
+
/* @__PURE__ */ h("ellipse", {
|
|
4194
|
+
cx: "-10",
|
|
4195
|
+
cy: "-3",
|
|
4196
|
+
rx: "9",
|
|
4197
|
+
ry: "4",
|
|
4198
|
+
fill: "#e8eef8"
|
|
4199
|
+
}),
|
|
4200
|
+
/* @__PURE__ */ h("ellipse", {
|
|
4201
|
+
cx: "11",
|
|
4202
|
+
cy: "-3",
|
|
4203
|
+
rx: "9",
|
|
4204
|
+
ry: "4",
|
|
4205
|
+
fill: "#e8eef8"
|
|
4206
|
+
}),
|
|
4207
|
+
/* @__PURE__ */ h("circle", {
|
|
4208
|
+
cx: "0",
|
|
4209
|
+
cy: "-33",
|
|
4210
|
+
r: "28",
|
|
4211
|
+
fill: "#eef3fb"
|
|
4212
|
+
}),
|
|
4213
|
+
/* @__PURE__ */ h("path", {
|
|
4214
|
+
d: "M-12-14A26 26 0 0 0 20-12A30 30 0 0 1-12-14Z",
|
|
4215
|
+
fill: H.shadow,
|
|
4216
|
+
stroke: "none"
|
|
4217
|
+
}),
|
|
4218
|
+
/* @__PURE__ */ h("circle", {
|
|
4219
|
+
cx: "0",
|
|
4220
|
+
cy: "-75",
|
|
4221
|
+
r: "20",
|
|
4222
|
+
fill: "#eef3fb"
|
|
4223
|
+
}),
|
|
4224
|
+
/* @__PURE__ */ h("circle", {
|
|
4225
|
+
cx: "7",
|
|
4226
|
+
cy: "-82",
|
|
4227
|
+
r: "1.7",
|
|
4228
|
+
fill: H.coal,
|
|
4229
|
+
stroke: "none"
|
|
4230
|
+
}),
|
|
4231
|
+
/* @__PURE__ */ h("circle", {
|
|
4232
|
+
cx: "9",
|
|
4233
|
+
cy: "-72",
|
|
4234
|
+
r: "1.7",
|
|
4235
|
+
fill: H.coal,
|
|
4236
|
+
stroke: "none"
|
|
4237
|
+
}),
|
|
4238
|
+
/* @__PURE__ */ h("rect", {
|
|
4239
|
+
x: "-20",
|
|
4240
|
+
y: "-93.5",
|
|
4241
|
+
width: "40",
|
|
4242
|
+
height: "9",
|
|
4243
|
+
rx: "4.5",
|
|
4244
|
+
fill: H.scarf,
|
|
4245
|
+
stroke: H.scarfDark,
|
|
4246
|
+
strokeWidth: "1"
|
|
4247
|
+
}),
|
|
4248
|
+
/* @__PURE__ */ h("path", {
|
|
4249
|
+
d: "M-4-88L-1-88L1-66L-5-64Z",
|
|
4250
|
+
fill: H.scarf,
|
|
4251
|
+
stroke: H.scarfDark,
|
|
4252
|
+
strokeWidth: "1"
|
|
4253
|
+
}),
|
|
4254
|
+
/* @__PURE__ */ h("circle", {
|
|
4255
|
+
cx: "0",
|
|
4256
|
+
cy: "-107",
|
|
4257
|
+
r: "15",
|
|
4258
|
+
fill: "#eef3fb"
|
|
4259
|
+
}),
|
|
4260
|
+
/* @__PURE__ */ h("path", {
|
|
4261
|
+
d: "M12-111L30-107L12-105Z",
|
|
4262
|
+
fill: H.carrot,
|
|
4263
|
+
stroke: "#a24d0e",
|
|
4264
|
+
strokeWidth: "1"
|
|
4265
|
+
}),
|
|
4266
|
+
/* @__PURE__ */ h("circle", {
|
|
4267
|
+
cx: "4",
|
|
4268
|
+
cy: "-111",
|
|
4269
|
+
r: "1.7",
|
|
4270
|
+
fill: H.coal,
|
|
4271
|
+
stroke: "none"
|
|
4272
|
+
}),
|
|
4273
|
+
/* @__PURE__ */ h("circle", {
|
|
4274
|
+
cx: "10",
|
|
4275
|
+
cy: "-111",
|
|
4276
|
+
r: "1.7",
|
|
4277
|
+
fill: H.coal,
|
|
4278
|
+
stroke: "none"
|
|
4279
|
+
}),
|
|
4280
|
+
/* @__PURE__ */ h("path", {
|
|
4281
|
+
d: "M1-118L6-120M8-120L13-118",
|
|
4282
|
+
fill: "none",
|
|
4283
|
+
stroke: H.coal,
|
|
4284
|
+
strokeWidth: "1.6",
|
|
4285
|
+
strokeLinecap: "round"
|
|
4286
|
+
}),
|
|
4287
|
+
/* @__PURE__ */ h("path", {
|
|
4288
|
+
d: "M3-101L8-98L12-101",
|
|
4289
|
+
fill: "none",
|
|
4290
|
+
stroke: H.coal,
|
|
4291
|
+
strokeLinecap: "round"
|
|
4292
|
+
}),
|
|
4293
|
+
/* @__PURE__ */ h("path", {
|
|
4294
|
+
d: "M5-80L-12-100M-5-82L-20-103",
|
|
4295
|
+
fill: "none",
|
|
4296
|
+
stroke: H.twig,
|
|
4297
|
+
strokeWidth: "2.6",
|
|
4298
|
+
strokeLinecap: "round"
|
|
4299
|
+
}),
|
|
4300
|
+
/* @__PURE__ */ h("ellipse", {
|
|
4301
|
+
cx: "-15",
|
|
4302
|
+
cy: "-104",
|
|
4303
|
+
rx: "5.5",
|
|
4304
|
+
ry: "5",
|
|
4305
|
+
fill: H.mitten,
|
|
4306
|
+
strokeWidth: "1"
|
|
4307
|
+
}),
|
|
4308
|
+
/* @__PURE__ */ h("ellipse", {
|
|
4309
|
+
cx: "15",
|
|
4310
|
+
cy: "-104",
|
|
4311
|
+
rx: "5.5",
|
|
4312
|
+
ry: "5",
|
|
4313
|
+
fill: H.mitten,
|
|
4314
|
+
strokeWidth: "1"
|
|
4315
|
+
}),
|
|
4316
|
+
/* @__PURE__ */ h("path", {
|
|
4317
|
+
d: "M-5-82L15-104",
|
|
4318
|
+
fill: "none",
|
|
4319
|
+
stroke: H.twig,
|
|
4320
|
+
strokeWidth: "2.6",
|
|
4321
|
+
strokeLinecap: "round"
|
|
4322
|
+
})
|
|
4323
|
+
]
|
|
4324
|
+
})
|
|
4325
|
+
]
|
|
4326
|
+
})
|
|
4327
|
+
}), Hn = (e, t) => {
|
|
4328
|
+
let n = _n(e, t);
|
|
4329
|
+
if (n.mode === te.Static) throw Error("No stage fits the delivery");
|
|
4330
|
+
return Pn(n, t);
|
|
4331
|
+
}, Un = () => {
|
|
4332
|
+
let { anchors: e, isMobile: t } = n(), i = r(), [a] = p(() => ({
|
|
4333
|
+
anchors: e,
|
|
4334
|
+
isMobile: t,
|
|
4335
|
+
reduced: i
|
|
4336
|
+
})), o = a.anchors !== e || a.isMobile !== t || a.reduced !== i, [s] = p(() => typeof ResizeObserver == "function" && typeof MutationObserver == "function"), { phase: c, preparation: l, hostRef: d, cancel: f } = j({
|
|
4337
|
+
enabled: !i && s && !o,
|
|
4338
|
+
playback: Bn,
|
|
4339
|
+
prepare: () => Hn(e, t)
|
|
4340
|
+
}), m = i || !s || c === T.Failed, g = c === T.Ended;
|
|
4341
|
+
if (u(() => {
|
|
4342
|
+
if (o || g) return;
|
|
4343
|
+
let e = (e) => {
|
|
4344
|
+
(e?.type !== "visibilitychange" || document.hidden) && f();
|
|
4345
|
+
}, t = [
|
|
4346
|
+
"pointerdown",
|
|
4347
|
+
"click",
|
|
4348
|
+
"keydown",
|
|
4349
|
+
"focusin",
|
|
4350
|
+
"focusout",
|
|
4351
|
+
"beforeinput",
|
|
4352
|
+
"input",
|
|
4353
|
+
"compositionstart",
|
|
4354
|
+
"scroll",
|
|
4355
|
+
"resize",
|
|
4356
|
+
"visibilitychange"
|
|
4357
|
+
];
|
|
4358
|
+
return t.forEach((t) => window.addEventListener(t, e, !0)), window.visualViewport?.addEventListener("resize", e), window.visualViewport?.addEventListener("scroll", e), () => {
|
|
4359
|
+
t.forEach((t) => window.removeEventListener(t, e, !0)), window.visualViewport?.removeEventListener("resize", e), window.visualViewport?.removeEventListener("scroll", e);
|
|
4360
|
+
};
|
|
4361
|
+
}, [
|
|
4362
|
+
f,
|
|
4363
|
+
o,
|
|
4364
|
+
g
|
|
4365
|
+
]), g || o) return null;
|
|
4366
|
+
if (m) return /* @__PURE__ */ h("div", {
|
|
4367
|
+
className: "pointer-events-none absolute inset-s-1/2 bottom-8 h-32 w-52 -translate-x-1/2 rtl:translate-x-1/2",
|
|
4368
|
+
inert: !0,
|
|
4369
|
+
"aria-hidden": "true",
|
|
4370
|
+
children: /* @__PURE__ */ h(Vn, {})
|
|
4371
|
+
}, "stationary");
|
|
4372
|
+
if (!l) return null;
|
|
4373
|
+
let { bounds: _, width: v } = l.targets;
|
|
4374
|
+
return /* @__PURE__ */ h("div", {
|
|
4375
|
+
ref: d,
|
|
4376
|
+
className: "pointer-events-none absolute inset-0 overflow-clip select-none",
|
|
4377
|
+
style: { clipPath: `inset(0 ${Math.max(0, v - _.right)}px 0 ${_.left}px)` },
|
|
4378
|
+
inert: !0,
|
|
4379
|
+
"aria-hidden": "true",
|
|
4380
|
+
"data-new-year-scene": "snowman-delivery",
|
|
4381
|
+
"data-snowman-mode": l.targets.mode
|
|
4382
|
+
}, "animation");
|
|
4383
|
+
}, Wn = {
|
|
4384
|
+
[S.PenguinStar]: lt,
|
|
4385
|
+
[S.GiftWrapping]: Ae,
|
|
4386
|
+
[S.SnowmanDelivery]: Un
|
|
4387
|
+
}, Gn = c(({ scene: e }) => {
|
|
4388
|
+
let t = Wn[e];
|
|
4389
|
+
return /* @__PURE__ */ h(t, {});
|
|
4390
|
+
}), Kn = "happy new year", qn = [S.PenguinStar, S.SnowmanDelivery], Jn = {
|
|
4391
|
+
[S.PenguinStar]: Ge + 2500,
|
|
4392
|
+
[S.GiftWrapping]: ie + 2500,
|
|
4393
|
+
[S.SnowmanDelivery]: bn + 2500
|
|
4394
|
+
}, Yn = {
|
|
4395
|
+
[S.PenguinStar]: "penguinStarToastMessage",
|
|
4396
|
+
[S.GiftWrapping]: "giftWrappingToastMessage",
|
|
4397
|
+
[S.SnowmanDelivery]: "snowmanDeliveryToastMessage"
|
|
4398
|
+
}, Xn = {
|
|
2862
4399
|
id: "new-year",
|
|
2863
|
-
iconUrl:
|
|
2864
|
-
Decoration:
|
|
2865
|
-
scenes: Object.values(
|
|
4400
|
+
iconUrl: v,
|
|
4401
|
+
Decoration: ee,
|
|
4402
|
+
scenes: Object.values(S).map((e) => ({
|
|
2866
4403
|
id: e,
|
|
2867
|
-
Component: () => /* @__PURE__ */
|
|
2868
|
-
durationMs:
|
|
2869
|
-
labelId:
|
|
4404
|
+
Component: () => /* @__PURE__ */ h(Gn, { scene: e }),
|
|
4405
|
+
durationMs: Jn[e],
|
|
4406
|
+
labelId: Yn[e]
|
|
2870
4407
|
})),
|
|
2871
|
-
clickSceneIds:
|
|
2872
|
-
labels: { ...
|
|
4408
|
+
clickSceneIds: qn,
|
|
4409
|
+
labels: { ...y },
|
|
2873
4410
|
titleLabelId: "toastTitle",
|
|
2874
4411
|
secretTrigger: {
|
|
2875
|
-
phrases: [
|
|
2876
|
-
hintPhrase:
|
|
2877
|
-
sceneIds: [
|
|
4412
|
+
phrases: [Kn],
|
|
4413
|
+
hintPhrase: Kn,
|
|
4414
|
+
sceneIds: [S.GiftWrapping]
|
|
2878
4415
|
}
|
|
2879
|
-
},
|
|
4416
|
+
}, Zn = Xn;
|
|
2880
4417
|
//#endregion
|
|
2881
|
-
export {
|
|
4418
|
+
export { y as NEW_YEAR_LABELS, S as NewYearScene, Zn as default, Xn as newYearEvent };
|