@sidebandai/sideband-web 1.4.4 → 1.4.5-rc.2
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/README.md +194 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +178 -178
- package/dist/sideband.iife.js +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PendingInteractionStorageError as e, SidebandApiError as t, SurveySessionStore as n, SurveySessionStore as r, SyncEngine as i, buildFabTitle as a, buildFabTitle as o, createSidebandClient as s, createSidebandRuntime as c, getChoiceValue as l, getChoiceValue as u, getDeviceId as d, getSessionId as f, isPositiveSentimentChoice as p, isSystemOtherChoice as m, resolveSnackbarPresentation as h } from "@sidebandai/sideband-core";
|
|
2
2
|
//#region ../design-tokens/src/index.ts
|
|
3
|
-
var
|
|
3
|
+
var g = "rgba(0, 0, 0, 0)", _ = (e, t = 1) => ({
|
|
4
4
|
hex: e,
|
|
5
5
|
alpha: t
|
|
6
|
-
}),
|
|
6
|
+
}), v = (e, t) => [
|
|
7
7
|
{
|
|
8
8
|
variable: `--sb-theme-choice-${e}-background`,
|
|
9
9
|
path: [
|
|
@@ -31,7 +31,7 @@ var h = "rgba(0, 0, 0, 0)", g = (e, t = 1) => ({
|
|
|
31
31
|
],
|
|
32
32
|
fallback: t[2]
|
|
33
33
|
}
|
|
34
|
-
],
|
|
34
|
+
], y = (e, t) => [
|
|
35
35
|
{
|
|
36
36
|
variable: `--sb-theme-button-${e}-foreground`,
|
|
37
37
|
path: [
|
|
@@ -86,220 +86,220 @@ var h = "rgba(0, 0, 0, 0)", g = (e, t = 1) => ({
|
|
|
86
86
|
],
|
|
87
87
|
fallback: t[5]
|
|
88
88
|
}
|
|
89
|
-
],
|
|
89
|
+
], b = [
|
|
90
90
|
{
|
|
91
91
|
variable: "--sb-theme-sheet-background",
|
|
92
92
|
path: ["sheet", "background"],
|
|
93
|
-
fallback:
|
|
93
|
+
fallback: _("#FFFFFF")
|
|
94
94
|
},
|
|
95
95
|
{
|
|
96
96
|
variable: "--sb-theme-sheet-scrim",
|
|
97
97
|
path: ["sheet", "scrim"],
|
|
98
|
-
fallback:
|
|
98
|
+
fallback: _("#000000", .5)
|
|
99
99
|
},
|
|
100
100
|
{
|
|
101
101
|
variable: "--sb-theme-sheet-divider",
|
|
102
102
|
path: ["sheet", "divider"],
|
|
103
|
-
fallback:
|
|
103
|
+
fallback: _("#E5E5E5")
|
|
104
104
|
},
|
|
105
105
|
{
|
|
106
106
|
variable: "--sb-theme-sheet-progress-track",
|
|
107
107
|
path: ["sheet", "progressTrack"],
|
|
108
|
-
fallback:
|
|
108
|
+
fallback: _("#000000", .12)
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
111
|
variable: "--sb-theme-sheet-progress-fill",
|
|
112
112
|
path: ["sheet", "progressFill"],
|
|
113
|
-
fallback:
|
|
113
|
+
fallback: _("#000000")
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
116
|
variable: "--sb-theme-sheet-close-button-background",
|
|
117
117
|
path: ["sheet", "closeButtonBackground"],
|
|
118
|
-
fallback:
|
|
118
|
+
fallback: _("#000000", 0)
|
|
119
119
|
},
|
|
120
120
|
{
|
|
121
121
|
variable: "--sb-theme-sheet-close-button-foreground",
|
|
122
122
|
path: ["sheet", "closeButtonForeground"],
|
|
123
|
-
fallback:
|
|
123
|
+
fallback: _("#000000")
|
|
124
124
|
},
|
|
125
125
|
{
|
|
126
126
|
variable: "--sb-theme-content-heading",
|
|
127
127
|
path: ["content", "heading"],
|
|
128
|
-
fallback:
|
|
128
|
+
fallback: _("#000000")
|
|
129
129
|
},
|
|
130
130
|
{
|
|
131
131
|
variable: "--sb-theme-content-body",
|
|
132
132
|
path: ["content", "body"],
|
|
133
|
-
fallback:
|
|
133
|
+
fallback: _("#333030")
|
|
134
134
|
},
|
|
135
135
|
{
|
|
136
136
|
variable: "--sb-theme-content-helper",
|
|
137
137
|
path: ["content", "helper"],
|
|
138
|
-
fallback:
|
|
138
|
+
fallback: _("#5C5C5C")
|
|
139
139
|
},
|
|
140
140
|
{
|
|
141
141
|
variable: "--sb-theme-content-error",
|
|
142
142
|
path: ["content", "error"],
|
|
143
|
-
fallback:
|
|
143
|
+
fallback: _("#B42318")
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
146
|
variable: "--sb-theme-completion-outer-background",
|
|
147
147
|
path: ["completion", "outerBackground"],
|
|
148
|
-
fallback:
|
|
148
|
+
fallback: _("#E8E8E8")
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
151
|
variable: "--sb-theme-completion-inner-background",
|
|
152
152
|
path: ["completion", "innerBackground"],
|
|
153
|
-
fallback:
|
|
153
|
+
fallback: _("#000000")
|
|
154
154
|
},
|
|
155
155
|
{
|
|
156
156
|
variable: "--sb-theme-completion-glyph",
|
|
157
157
|
path: ["completion", "glyph"],
|
|
158
|
-
fallback:
|
|
158
|
+
fallback: _("#FFFFFF")
|
|
159
159
|
},
|
|
160
|
-
...
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
160
|
+
...v("default", [
|
|
161
|
+
_("#FFFFFF"),
|
|
162
|
+
_("#000000"),
|
|
163
|
+
_("#DBDBDB")
|
|
164
164
|
]),
|
|
165
|
-
...
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
165
|
+
...v("hover", [
|
|
166
|
+
_("#F5F5F5"),
|
|
167
|
+
_("#000000"),
|
|
168
|
+
_("#DBDBDB")
|
|
169
169
|
]),
|
|
170
|
-
...
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
170
|
+
...v("pressed", [
|
|
171
|
+
_("#000000"),
|
|
172
|
+
_("#FFFFFF"),
|
|
173
|
+
_("#000000")
|
|
174
174
|
]),
|
|
175
|
-
...
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
175
|
+
...v("selected", [
|
|
176
|
+
_("#000000"),
|
|
177
|
+
_("#FFFFFF"),
|
|
178
|
+
_("#000000")
|
|
179
179
|
]),
|
|
180
|
-
...
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
180
|
+
...v("disabled", [
|
|
181
|
+
_("#F2F2F2"),
|
|
182
|
+
_("#8A8A8A"),
|
|
183
|
+
_("#E5E5E5")
|
|
184
184
|
]),
|
|
185
|
-
...
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
185
|
+
...y("primary", [
|
|
186
|
+
_("#FFFFFF"),
|
|
187
|
+
_("#121212"),
|
|
188
|
+
_("#292929"),
|
|
189
|
+
_("#000000"),
|
|
190
|
+
_("#E5E5E5"),
|
|
191
|
+
_("#8A8A8A")
|
|
192
192
|
]),
|
|
193
|
-
...
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
193
|
+
...y("secondary", [
|
|
194
|
+
_("#000000"),
|
|
195
|
+
_("#F2F2F2"),
|
|
196
|
+
_("#E8E8E8"),
|
|
197
|
+
_("#DBDBDB"),
|
|
198
|
+
_("#E5E5E5"),
|
|
199
|
+
_("#8A8A8A")
|
|
200
200
|
]),
|
|
201
|
-
...
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
201
|
+
...y("tertiary", [
|
|
202
|
+
_("#000000"),
|
|
203
|
+
_("#FFFFFF"),
|
|
204
|
+
_("#F5F5F5"),
|
|
205
|
+
_("#E8E8E8"),
|
|
206
|
+
_("#E5E5E5"),
|
|
207
|
+
_("#8A8A8A")
|
|
208
208
|
]),
|
|
209
209
|
{
|
|
210
210
|
variable: "--sb-theme-input-background",
|
|
211
211
|
path: ["input", "background"],
|
|
212
|
-
fallback:
|
|
212
|
+
fallback: _("#FFFFFF")
|
|
213
213
|
},
|
|
214
214
|
{
|
|
215
215
|
variable: "--sb-theme-input-foreground",
|
|
216
216
|
path: ["input", "foreground"],
|
|
217
|
-
fallback:
|
|
217
|
+
fallback: _("#000000")
|
|
218
218
|
},
|
|
219
219
|
{
|
|
220
220
|
variable: "--sb-theme-input-placeholder",
|
|
221
221
|
path: ["input", "placeholder"],
|
|
222
|
-
fallback:
|
|
222
|
+
fallback: _("#000000", .4)
|
|
223
223
|
},
|
|
224
224
|
{
|
|
225
225
|
variable: "--sb-theme-input-border",
|
|
226
226
|
path: ["input", "border"],
|
|
227
|
-
fallback:
|
|
227
|
+
fallback: _("#000000", .18)
|
|
228
228
|
},
|
|
229
229
|
{
|
|
230
230
|
variable: "--sb-theme-input-focused-border",
|
|
231
231
|
path: ["input", "focusedBorder"],
|
|
232
|
-
fallback:
|
|
232
|
+
fallback: _("#000000", .7)
|
|
233
233
|
},
|
|
234
234
|
{
|
|
235
235
|
variable: "--sb-theme-input-error-border",
|
|
236
236
|
path: ["input", "errorBorder"],
|
|
237
|
-
fallback:
|
|
237
|
+
fallback: _("#B42318")
|
|
238
238
|
},
|
|
239
239
|
{
|
|
240
240
|
variable: "--sb-theme-input-disabled-background",
|
|
241
241
|
path: ["input", "disabledBackground"],
|
|
242
|
-
fallback:
|
|
242
|
+
fallback: _("#F2F2F2")
|
|
243
243
|
},
|
|
244
244
|
{
|
|
245
245
|
variable: "--sb-theme-input-disabled-foreground",
|
|
246
246
|
path: ["input", "disabledForeground"],
|
|
247
|
-
fallback:
|
|
247
|
+
fallback: _("#8A8A8A")
|
|
248
248
|
},
|
|
249
249
|
{
|
|
250
250
|
variable: "--sb-theme-fab-background",
|
|
251
251
|
path: ["fab", "background"],
|
|
252
|
-
fallback:
|
|
252
|
+
fallback: _("#000000")
|
|
253
253
|
},
|
|
254
254
|
{
|
|
255
255
|
variable: "--sb-theme-fab-foreground",
|
|
256
256
|
path: ["fab", "foreground"],
|
|
257
|
-
fallback:
|
|
257
|
+
fallback: _("#FFFFFF")
|
|
258
258
|
},
|
|
259
259
|
{
|
|
260
260
|
variable: "--sb-theme-fab-border",
|
|
261
261
|
path: ["fab", "border"],
|
|
262
|
-
fallback:
|
|
262
|
+
fallback: _("#FFFFFF", .15)
|
|
263
263
|
},
|
|
264
264
|
{
|
|
265
265
|
variable: "--sb-theme-fab-accent-primary",
|
|
266
266
|
path: ["fab", "accentPrimary"],
|
|
267
|
-
fallback:
|
|
267
|
+
fallback: _("#000000")
|
|
268
268
|
},
|
|
269
269
|
{
|
|
270
270
|
variable: "--sb-theme-fab-accent-secondary",
|
|
271
271
|
path: ["fab", "accentSecondary"],
|
|
272
|
-
fallback:
|
|
272
|
+
fallback: _("#FFFFFF")
|
|
273
273
|
},
|
|
274
274
|
{
|
|
275
275
|
variable: "--sb-theme-fab-timer-track",
|
|
276
276
|
path: ["fab", "timerTrack"],
|
|
277
|
-
fallback:
|
|
277
|
+
fallback: _("#000000", .16)
|
|
278
278
|
},
|
|
279
279
|
{
|
|
280
280
|
variable: "--sb-theme-fab-timer-fill",
|
|
281
281
|
path: ["fab", "timerFill"],
|
|
282
|
-
fallback:
|
|
282
|
+
fallback: _("#000000")
|
|
283
283
|
}
|
|
284
284
|
];
|
|
285
|
-
|
|
286
|
-
var ee = Object.fromEntries(
|
|
287
|
-
function
|
|
285
|
+
b.map((e) => e.variable);
|
|
286
|
+
var ee = Object.fromEntries(b.map((e) => [e.variable, S(e.fallback)]));
|
|
287
|
+
function x(e) {
|
|
288
288
|
return e && typeof e == "object" && !Array.isArray(e) ? e : {};
|
|
289
289
|
}
|
|
290
|
-
function
|
|
290
|
+
function S(e, t = g) {
|
|
291
291
|
return !e || typeof e.hex != "string" || !/^#[0-9a-fA-F]{6}$/.test(e.hex) || !Number.isFinite(e.alpha) || e.alpha < 0 || e.alpha > 1 ? t : `rgba(${Number.parseInt(e.hex.slice(1, 3), 16)}, ${Number.parseInt(e.hex.slice(3, 5), 16)}, ${Number.parseInt(e.hex.slice(5, 7), 16)}, ${e.alpha})`;
|
|
292
292
|
}
|
|
293
|
-
function
|
|
293
|
+
function C(e, t) {
|
|
294
294
|
let n = e;
|
|
295
|
-
for (let e of t) n =
|
|
295
|
+
for (let e of t) n = x(n)[e];
|
|
296
296
|
return n;
|
|
297
297
|
}
|
|
298
|
-
function
|
|
299
|
-
return Object.fromEntries(
|
|
298
|
+
function te(e) {
|
|
299
|
+
return Object.fromEntries(b.map((t) => [t.variable, S(C(e, t.path), S(t.fallback))]));
|
|
300
300
|
}
|
|
301
301
|
function w(e, t) {
|
|
302
|
-
return
|
|
302
|
+
return _(`#${[
|
|
303
303
|
1,
|
|
304
304
|
3,
|
|
305
305
|
5
|
|
@@ -308,10 +308,10 @@ function w(e, t) {
|
|
|
308
308
|
return Math.round(r * e.alpha + i * (1 - e.alpha)).toString(16).padStart(2, "0");
|
|
309
309
|
}).join("")}`, 1);
|
|
310
310
|
}
|
|
311
|
-
function
|
|
311
|
+
function T(e) {
|
|
312
312
|
let t = (t) => {
|
|
313
|
-
let n =
|
|
314
|
-
return
|
|
313
|
+
let n = b.find((e) => e.path.join(".") === t.join(".")), r = C(e, t);
|
|
314
|
+
return S(r, "") ? r : n.fallback;
|
|
315
315
|
}, n = {
|
|
316
316
|
...t(["sheet", "background"]),
|
|
317
317
|
alpha: 1
|
|
@@ -323,7 +323,7 @@ function te(e) {
|
|
|
323
323
|
1,
|
|
324
324
|
3,
|
|
325
325
|
5
|
|
326
|
-
].map((e) => Number.parseInt(n.hex.slice(e, e + 2), 16) / 255), s = o[0] * .2126 + o[1] * .7152 + o[2] * .0722 < .5, c = n.hex.toUpperCase() === (s ? "#000000" : "#FFFFFF"), l = (e, t) =>
|
|
326
|
+
].map((e) => Number.parseInt(n.hex.slice(e, e + 2), 16) / 255), s = o[0] * .2126 + o[1] * .7152 + o[2] * .0722 < .5, c = n.hex.toUpperCase() === (s ? "#000000" : "#FFFFFF"), l = (e, t) => S(w({
|
|
327
327
|
...e,
|
|
328
328
|
alpha: e.alpha * t
|
|
329
329
|
}, n)), u = w({
|
|
@@ -339,37 +339,37 @@ function te(e) {
|
|
|
339
339
|
.0722
|
|
340
340
|
][r], 0), f = d(u) > d(n);
|
|
341
341
|
return {
|
|
342
|
-
"--sb-snackbar-surface":
|
|
343
|
-
"--sb-snackbar-text":
|
|
344
|
-
"--sb-snackbar-border":
|
|
342
|
+
"--sb-snackbar-surface": S(n),
|
|
343
|
+
"--sb-snackbar-text": S(r),
|
|
344
|
+
"--sb-snackbar-border": S(_(s ? "#FFFFFF" : "#000000", s ? .1 : .05)),
|
|
345
345
|
"--sb-snackbar-normal": l(r, s ? c ? .2 : .14 : c ? .08 : .1),
|
|
346
346
|
"--sb-snackbar-hover": l(r, s ? c ? .24 : .18 : .04),
|
|
347
347
|
"--sb-snackbar-pressed": l(i, s ? c ? .28 : .24 : .2),
|
|
348
|
-
"--sb-snackbar-active":
|
|
349
|
-
"--sb-snackbar-on-active":
|
|
348
|
+
"--sb-snackbar-active": S(a),
|
|
349
|
+
"--sb-snackbar-on-active": S(t([
|
|
350
350
|
"choice",
|
|
351
351
|
"selected",
|
|
352
352
|
"foreground"
|
|
353
353
|
])),
|
|
354
|
-
"--sb-snackbar-ghost":
|
|
355
|
-
"--sb-snackbar-remaining":
|
|
356
|
-
"--sb-snackbar-elapsed":
|
|
354
|
+
"--sb-snackbar-ghost": S(u),
|
|
355
|
+
"--sb-snackbar-remaining": S(f ? u : n),
|
|
356
|
+
"--sb-snackbar-elapsed": S(f ? n : u)
|
|
357
357
|
};
|
|
358
358
|
}
|
|
359
|
-
var
|
|
359
|
+
var E = {
|
|
360
360
|
entrance: 1969.207,
|
|
361
361
|
timerEntrance: 2169.207,
|
|
362
362
|
widen: 200,
|
|
363
363
|
expand: 450
|
|
364
|
-
},
|
|
364
|
+
}, D = {
|
|
365
365
|
delay: 400,
|
|
366
366
|
enter: 450,
|
|
367
367
|
exit: 400,
|
|
368
368
|
removal: 450,
|
|
369
369
|
reduced: 150
|
|
370
|
-
}, ne =
|
|
371
|
-
function
|
|
372
|
-
let { viewport: n, safeArea: r = {}, compactHeight: i } = t, a =
|
|
370
|
+
}, ne = D.delay + D.enter;
|
|
371
|
+
function O(e, t) {
|
|
372
|
+
let { viewport: n, safeArea: r = {}, compactHeight: i } = t, a = j(r.left) + 12, o = j(r.right) + 12, s = j(r.top) + 24, c = j(r.bottom) + 8, l = Math.max(0, n.width - a - o), u = Math.min(364, l), d = Math.min(376, l), f = Math.max(0, n.height - s - c), p = Math.min(t.cardHeight, f);
|
|
373
373
|
if (t.barPosition) return {
|
|
374
374
|
compactWidth: n.width,
|
|
375
375
|
compactLeft: 0,
|
|
@@ -379,11 +379,11 @@ function D(e, t) {
|
|
|
379
379
|
maxCardHeight: f,
|
|
380
380
|
cardLeft: a + (l - d) / 2,
|
|
381
381
|
cardBottom: c,
|
|
382
|
-
cardTop:
|
|
382
|
+
cardTop: j(r.top) + 12,
|
|
383
383
|
entranceOffset: 0,
|
|
384
384
|
transformOrigin: t.barPosition === "top" ? "50% 0%" : "50% 100%"
|
|
385
385
|
};
|
|
386
|
-
let m =
|
|
386
|
+
let m = P(e, {
|
|
387
387
|
viewport: n,
|
|
388
388
|
element: {
|
|
389
389
|
width: u,
|
|
@@ -399,34 +399,34 @@ function D(e, t) {
|
|
|
399
399
|
cardHeight: p,
|
|
400
400
|
maxCardHeight: f,
|
|
401
401
|
cardTop: 0,
|
|
402
|
-
entranceOffset: (u - i) *
|
|
402
|
+
entranceOffset: (u - i) * N(e?.anchor).x,
|
|
403
403
|
cardLeft: a + (l - d) / 2,
|
|
404
404
|
cardBottom: Math.max(c, Math.min(g, n.height - s - p)),
|
|
405
405
|
transformOrigin: m.transformOrigin
|
|
406
406
|
};
|
|
407
407
|
}
|
|
408
|
-
var
|
|
408
|
+
var k = {
|
|
409
409
|
x: 1,
|
|
410
410
|
y: 1
|
|
411
|
-
},
|
|
411
|
+
}, A = {
|
|
412
412
|
x: -16,
|
|
413
413
|
y: -24
|
|
414
414
|
};
|
|
415
|
-
function
|
|
415
|
+
function j(e) {
|
|
416
416
|
return typeof e == "number" && Number.isFinite(e) ? Math.max(0, e) : 0;
|
|
417
417
|
}
|
|
418
|
-
function
|
|
418
|
+
function M(e) {
|
|
419
419
|
return typeof e == "number" && Number.isFinite(e) ? e : 0;
|
|
420
420
|
}
|
|
421
|
-
function
|
|
422
|
-
let t =
|
|
421
|
+
function N(e) {
|
|
422
|
+
let t = x(e), n = typeof t.x == "number" && Number.isFinite(t.x) ? t.x : k.x, r = typeof t.y == "number" && Number.isFinite(t.y) ? t.y : k.y;
|
|
423
423
|
return {
|
|
424
424
|
x: Math.min(1, Math.max(0, n)),
|
|
425
425
|
y: Math.min(1, Math.max(0, r))
|
|
426
426
|
};
|
|
427
427
|
}
|
|
428
|
-
function
|
|
429
|
-
let n =
|
|
428
|
+
function P(e, t) {
|
|
429
|
+
let n = x(e), r = N(n.position), i = N(n.anchor), a = x(n.offset), o = e ? M(a.x) : A.x, s = e ? M(a.y) : A.y, c = t.safeArea ?? {}, l = j(c.left), u = j(c.right), d = j(c.top), f = j(c.bottom), p = Math.max(0, j(t.viewport.width) - l - u - j(t.element.width)), m = Math.max(0, j(t.viewport.height) - d - f - j(t.element.height));
|
|
430
430
|
return {
|
|
431
431
|
left: l + r.x * p + o,
|
|
432
432
|
top: d + r.y * m + s,
|
|
@@ -437,7 +437,7 @@ function N(e, t) {
|
|
|
437
437
|
transformOrigin: `${i.x * 100}% ${i.y * 100}%`
|
|
438
438
|
};
|
|
439
439
|
}
|
|
440
|
-
function
|
|
440
|
+
function F(e, t, n = "forward") {
|
|
441
441
|
let r = e === "bar" || e === "fill" ? e : "none", i = n === "reverse" ? "reverse" : "forward", a = typeof t == "number" && Number.isFinite(t) && t > 0 ? t : null;
|
|
442
442
|
return {
|
|
443
443
|
style: r,
|
|
@@ -453,14 +453,14 @@ function P(e, t, n = "forward") {
|
|
|
453
453
|
}
|
|
454
454
|
//#endregion
|
|
455
455
|
//#region src/ui/icons.ts
|
|
456
|
-
var F = "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M6.4 6.4 17.6 17.6M17.6 6.4 6.4 17.6\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\"/></svg>", I = "<svg viewBox=\"0 0 14 14\" aria-hidden=\"true\"><path d=\"M6.66667 0 5.49167 1.175 10.1417 5.83333H0V7.5h10.1417l-4.65 4.6583 1.175 1.175L13.3333 6.66667 6.66667 0Z\" fill=\"currentColor\"/></svg>", L = "<svg viewBox=\"0 0 36 28\" aria-hidden=\"true\"><path d=\"m11.2619 21.3151-8.40108-8.4011L0 15.7546l11.2619 11.262L35.4379 2.84067 32.5972 0 11.2619 21.3151Z\" fill=\"currentColor\"/></svg>", R = "<svg viewBox=\"0 0 35.5556 35.5556\" aria-hidden=\"true\"><path d=\"M19.436 3.05195 11.2286 11.2594c-.5481.5481-.8592 1.3037-.8592 2.0888v14.8c0 1.6297 1.3333 2.963 2.9629 2.963h13.3334c1.1851 0 2.2518-.7111 2.7259-1.7926l4.8296-11.2741c1.2445-2.9333-.9037-6.1925-4.0889-6.1925H21.762l1.4074-6.78523c.1481-.74075-.0741-1.4963-.6074-2.02963-.8741-.85926-2.2667-.85926-3.126.01481ZM4.44343 31.1112c1.62963 0 2.96296-1.3333 2.96296-2.963V16.2964c0-1.6296-1.33333-2.963-2.96296-2.963-1.62963 0-2.96296 1.3334-2.96296 2.963v11.8518c0 1.6297 1.33333 2.963 2.96296 2.963Z\" fill=\"currentColor\"/></svg>", z = "<svg viewBox=\"0 0 35.5556 35.5556\" aria-hidden=\"true\"><path d=\"m16.1165 32.5036 8.1926-8.2074c.5481-.5482.8592-1.3037.8592-2.0889v-14.8c0-1.62963-1.3333-2.96296-2.9629-2.96296H8.88686c-1.18519 0-2.25185.71111-2.71111 1.79259L1.34612 17.511c-1.25926 2.9333.88889 6.1926 4.07407 6.1926h8.37041l-1.4074 6.7852c-.1482.7407.074 1.4963.6074 2.0296.874.8593 2.2666.8593 3.1259-.0148ZM31.1091 4.44434c-1.6296 0-2.963 1.33333-2.963 2.96296v11.8519c0 1.6296 1.3334 2.9629 2.963 2.9629 1.6296 0 2.9629-1.3333 2.9629-2.9629V7.4073c0-1.62963-1.3333-2.96296-2.9629-2.96296Z\" fill=\"currentColor\"/></svg>", B = ".sb-snackbar-root{--sb-text:var(--sb-snackbar-text);--sb-text-muted:var(--sb-theme-content-body);--sb-surface:var(--sb-snackbar-surface);z-index:1100;pointer-events:none;color:var(--sb-snackbar-text);font-family:Inter,-apple-system,BlinkMacSystemFont,system-ui,sans-serif;position:fixed;inset:0}.sb-snackbar-root *,.sb-snackbar-root :before,.sb-snackbar-root :after{box-sizing:border-box}.sb-snackbar-root h2{text-transform:none;letter-spacing:normal}.sb-snackbar-shell{left:var(--sb-snackbar-left);bottom:var(--sb-snackbar-bottom);width:var(--sb-snackbar-width);transition:left .2s ease-in-out,bottom .2s ease-in-out,width .2s ease-in-out;position:absolute}.sb-snackbar-surface{width:100%;height:var(--sb-snackbar-height,64px);border-radius:calc(var(--sb-snackbar-compact-height,64px) / 2);background:var(--sb-snackbar-surface);box-shadow:inset 0 0 0 1px var(--sb-snackbar-border);transition:height .45s cubic-bezier(0,.87,.39,1),border-radius .45s cubic-bezier(0,.87,.39,1);position:relative;overflow:hidden}.sb-snackbar-compact{width:var(--sb-snackbar-compact-width,364px);align-items:center;gap:10px;min-height:64px;padding:10px;transition:opacity .12s ease-out;display:flex;position:relative}.sb-snackbar-artwork{--sb-theme-fab-accent-primary:var(--sb-theme-sheet-progress-fill);--sb-theme-fab-accent-secondary:var(--sb-snackbar-surface);--sb-theme-fab-foreground:var(--sb-snackbar-text);background:var(--sb-theme-sheet-progress-fill);border-radius:50%;flex:0 0 40px;width:40px;height:40px;position:relative;overflow:hidden}.sb-snackbar-artwork img{z-index:2;object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.sb-snackbar-prompt{overflow-wrap:anywhere;flex:1;min-width:0;margin:0;font-size:14px;font-weight:600;line-height:20px;position:relative}.sb-snackbar-answers{flex:none;gap:4px;display:flex;position:relative}.sb-snackbar-answer{width:44px;height:44px;color:var(--sb-snackbar-text);background:var(--sb-snackbar-normal);cursor:pointer;pointer-events:auto;border:0;border-radius:50%;place-items:center;margin:0;padding:0;transition:background .12s ease-out,scale .12s ease-out;display:grid}.sb-snackbar-answer svg{width:18px;height:18px}.sb-snackbar-answer:hover:not(:disabled){background:var(--sb-snackbar-hover)}.sb-snackbar-answer:active:not(:disabled){background:var(--sb-snackbar-pressed);scale:.94}.sb-snackbar-answer[aria-pressed=true]{color:var(--sb-snackbar-on-active);background:var(--sb-snackbar-active)}.sb-snackbar-answer:disabled{cursor:default;pointer-events:none;opacity:1}.sb-snackbar-close{top:-25px;width:44px;height:44px;color:var(--sb-snackbar-text);pointer-events:auto;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:13px;display:grid;position:absolute;inset-inline-start:-15px}.sb-snackbar-close svg{background:var(--sb-snackbar-surface);border-radius:50%;width:18px;height:18px;padding:2px}.sb-snackbar-answer:focus-visible,.sb-snackbar-close:focus-visible{outline:2px solid var(--sb-snackbar-text);outline-offset:2px}.sb-snackbar-timer{pointer-events:none;position:absolute;overflow:hidden}.sb-snackbar-timer--fill{background:var(--sb-snackbar-elapsed);inset:0}.sb-snackbar-timer--bar{inset-inline:1px 3px;background:var(--sb-theme-sheet-progress-track);height:2px;bottom:-6px}.sb-snackbar-timer-fill{transform-origin:0;background:var(--sb-theme-sheet-progress-fill);width:100%;height:100%;display:block}.sb-snackbar-timer--fill .sb-snackbar-timer-fill{background:var(--sb-snackbar-remaining)}.sb-snackbar-root:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)) .sb-snackbar-timer-fill{transform-origin:100%}.sb-snackbar-root[data-counting=true] .sb-snackbar-timer-fill{animation:sb-snackbar-countdown var(--sb-snackbar-duration) linear forwards}.sb-snackbar-root[data-frozen=true] .sb-snackbar-timer-fill{transform:scaleX(var(--sb-snackbar-fraction));animation:none}.sb-snackbar-overlay{background:var(--sb-theme-sheet-scrim);opacity:0;pointer-events:none;border:0;width:100%;height:100%;margin:0;padding:0;transition:opacity .45s ease-out;position:absolute;inset:0}.sb-snackbar-card{width:var(--sb-snackbar-card-width);max-height:var(--sb-snackbar-max-height);opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;overflow:auto}.sb-snackbar-root .sb-snackbar-card .sb-sheet-root{position:static;inset:auto}.sb-snackbar-root .sb-snackbar-card .sb-sheet-root__overlay{display:none}.sb-snackbar-root .sb-snackbar-card .sb-sheet{width:100%;max-height:none;box-shadow:none;background:0 0;border:0;margin:0;animation:none;position:relative;inset:auto;transform:none}.sb-snackbar-card[inert] *{animation-play-state:paused}.sb-snackbar-root[data-stage=widening] .sb-snackbar-compact,.sb-snackbar-root[data-stage=expanding] .sb-snackbar-compact,.sb-snackbar-root[data-stage=ready] .sb-snackbar-compact{opacity:0}.sb-snackbar-root[data-expanded=true] .sb-snackbar-overlay{opacity:1;pointer-events:auto}.sb-snackbar-root[data-expanded=true] .sb-snackbar-close{display:none}.sb-snackbar-root[data-stage=expanding] .sb-snackbar-surface,.sb-snackbar-root[data-stage=ready] .sb-snackbar-surface{box-shadow:none;background:var(--sb-theme-sheet-background);border-radius:40px}.sb-snackbar-root[data-stage=expanding] .sb-snackbar-card{opacity:1;transition:opacity .3s ease-out .12s}.sb-snackbar-root[data-stage=ready] .sb-snackbar-card{opacity:1;pointer-events:auto}.sb-snackbar-root[data-stage=entering] .sb-snackbar-shell{animation:.89016s cubic-bezier(.649439,.0577174,.124599,1) .18584s both sb-snackbar-enter-scale,.893207s cubic-bezier(.649439,.0577174,.124599,1) 1.076s both sb-snackbar-enter-width}.sb-snackbar-root[data-stage=entering] .sb-snackbar-surface{transition:none}.sb-snackbar-root[data-stage=entering] .sb-snackbar-prompt,.sb-snackbar-root[data-stage=entering] .sb-snackbar-answers,.sb-snackbar-root[data-stage=entering] .sb-snackbar-close{animation:.2s ease-out 1.076s both sb-snackbar-label}.sb-snackbar-root[data-stage=entering] .sb-snackbar-timer{animation:.2s ease-out 1.96921s both sb-snackbar-label}.sb-root--inline .sb-snackbar-root{position:absolute}@keyframes sb-snackbar-countdown{0%{transform:scaleX(1)}to{transform:scaleX(0)}}@keyframes sb-snackbar-enter-scale{0%{scale:0}to{scale:1}}@keyframes sb-snackbar-enter-width{0%{width:var(--sb-snackbar-compact-height,64px);translate:var(--sb-snackbar-entrance-offset) 0}to{width:var(--sb-snackbar-width);translate:0}}@keyframes sb-snackbar-label{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){.sb-snackbar-root[data-counting=true] .sb-snackbar-timer-fill{animation-duration:var(--sb-snackbar-duration)!important}.sb-snackbar-root .sb-snackbar-shell,.sb-snackbar-root .sb-snackbar-surface,.sb-snackbar-root .sb-snackbar-card,.sb-snackbar-root .sb-snackbar-compact,.sb-snackbar-root .sb-snackbar-overlay{transition:none}.sb-snackbar-root[data-stage=entering] .sb-snackbar-shell,.sb-snackbar-root[data-stage=entering] .sb-snackbar-prompt,.sb-snackbar-root[data-stage=entering] .sb-snackbar-timer,.sb-snackbar-root[data-stage=entering] .sb-snackbar-close,.sb-snackbar-root[data-stage=entering] .sb-snackbar-answers{animation:none}}.sb-snackbar-root[data-presentation=bar]{--sb-bar-hidden-y:max(80px, 100%)}.sb-snackbar-root[data-presentation=bar][data-position=top]{--sb-bar-hidden-y:calc(-1 * max(80px, 100%))}.sb-snackbar-root[data-presentation=bar][data-position=top] .sb-snackbar-shell{top:var(--sb-bar-top,0px);transition:left .2s ease-in-out,top .2s ease-in-out,width .2s ease-in-out;bottom:auto}.sb-snackbar-root[data-presentation=bar]:not([data-expanded=true]) .sb-snackbar-surface{box-shadow:none;border-radius:0}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-compact{border-block-start:1px solid var(--sb-snackbar-border);min-height:48px;padding:10px max(108px, env(safe-area-inset-right,0px)) 10px max(108px, env(safe-area-inset-left,0px));pointer-events:auto;justify-content:center}.sb-snackbar-root[data-presentation=bar][data-position=bottom] .sb-snackbar-compact{padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}.sb-snackbar-root[data-presentation=bar][data-position=top] .sb-snackbar-compact{padding-top:calc(10px + env(safe-area-inset-top,0px));border-block-start:0;border-block-end:1px solid var(--sb-snackbar-border)}.sb-bar-content{align-items:center;gap:12px;min-width:0;transition:opacity .25s ease-out;display:flex;position:relative}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-prompt{text-align:center;text-wrap:pretty;flex:0 auto;font-size:14px;font-weight:400;line-height:1.3}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-answers{gap:4px}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-answer{border:1px solid var(--sb-snackbar-border);background:var(--sb-snackbar-surface);-webkit-tap-highlight-color:transparent;border-radius:36px;width:36px;height:24px;transition:background .18s,border-color .18s,scale .15s ease-out}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-answer svg{width:14.4px;height:14.4px}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-answer[aria-pressed=true]{background:var(--sb-snackbar-active);color:var(--sb-snackbar-on-active)}.sb-bar-acknowledgement{opacity:0;visibility:hidden;pointer-events:none;text-align:center;color:var(--sb-snackbar-text);justify-content:center;align-items:center;padding:10px 24px;font-size:18px;font-weight:600;line-height:1.4;transition:opacity .35s cubic-bezier(.16,1,.3,1) .1s,translate .35s cubic-bezier(.16,1,.3,1) .1s;display:flex;position:absolute;inset:0;translate:0 10px}.sb-snackbar-root[data-rated=true] .sb-bar-content,.sb-snackbar-root[data-rated=true] .sb-bar-dismiss,.sb-snackbar-root[data-rated=true][data-presentation=bar] .sb-snackbar-timer{opacity:0;pointer-events:none}.sb-snackbar-root[data-rated=true] .sb-bar-acknowledgement{opacity:1;visibility:visible;translate:0}.sb-bar-acknowledgement-copy{overflow-wrap:anywhere;min-width:0;max-width:100%}.sb-snackbar-root[data-presentation=bar][data-rated=true] .sb-snackbar-compact{min-height:var(--sb-snackbar-height,48px)}.sb-bar-dismiss{inset-inline-end:20px;width:68px;height:44px;color:var(--sb-theme-content-body);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:0;margin:0;padding:0 5px;font-size:14px;line-height:1.3;transition:opacity .25s ease-out;position:absolute;top:50%;translate:0 -50%}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-answer:hover:not(:disabled){background:var(--sb-snackbar-surface)}@media (hover:hover){.sb-snackbar-root[data-presentation=bar] .sb-snackbar-answer:hover:not(:disabled){background:var(--sb-snackbar-hover);border-color:var(--sb-theme-input-border)}}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-answer:not(:disabled):active{background:var(--sb-snackbar-pressed);scale:.96}.sb-bar-dismiss:focus-visible{outline:2px solid var(--sb-snackbar-text);outline-offset:2px}.sb-bar-dismiss:disabled{cursor:default}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-timer{transition:opacity .25s ease-out}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-timer--bar{inset-inline:auto 25px;background:var(--sb-snackbar-border);width:58px;height:1px;top:calc(50% + 8px);bottom:auto}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-timer--bar .sb-snackbar-timer-fill{background:var(--sb-theme-content-body)}.sb-snackbar-root[data-presentation=bar][data-paused=true] .sb-snackbar-timer-fill{animation-play-state:paused}.sb-snackbar-root[data-presentation=bar][data-stage=entering] .sb-snackbar-shell{animation:.45s cubic-bezier(.16,1,.3,1) .4s both sb-bar-enter}.sb-snackbar-root[data-presentation=bar][data-exiting=true] .sb-snackbar-shell{pointer-events:none;animation:.4s cubic-bezier(.55,0,.55,.2) both sb-bar-exit}.sb-snackbar-root[data-presentation=bar][data-exiting=true] .sb-snackbar-overlay{opacity:0;pointer-events:none}.sb-snackbar-root[data-presentation=bar][data-exiting=true][data-expanded=true] .sb-snackbar-shell{animation:.4s ease-out both sb-bar-card-exit}.sb-snackbar-root[data-presentation=bar][data-stage=entering] .sb-snackbar-prompt,.sb-snackbar-root[data-presentation=bar][data-stage=entering] .sb-snackbar-answers,.sb-snackbar-root[data-presentation=bar][data-stage=entering] .sb-snackbar-timer{animation:none}@keyframes sb-bar-enter{0%{translate:0 var(--sb-bar-hidden-y)}to{translate:0}}@keyframes sb-bar-exit{0%{translate:0}to{translate:0 var(--sb-bar-hidden-y)}}@keyframes sb-bar-fade-in{0%{opacity:0}to{opacity:1}}@keyframes sb-bar-fade-out{0%{opacity:1}to{opacity:0}}@keyframes sb-bar-card-exit{0%{opacity:1;translate:0}to{opacity:0;translate:0 12px}}@media (width<=768px){.sb-snackbar-root[data-presentation=bar] .sb-snackbar-compact{padding-inline:max(24px, env(safe-area-inset-left,0px)) max(24px, env(safe-area-inset-right,0px))}.sb-bar-content{width:100%}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-prompt{text-align:start;flex:1}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-answers{gap:5.333px}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-answer{border-radius:48px;width:48px;height:32px}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-answer svg{width:19.2px;height:19.2px}.sb-bar-acknowledgement{text-align:start;justify-content:flex-start}.sb-snackbar-root[data-presentation=bar][data-timed=true] .sb-bar-dismiss{display:none}.sb-snackbar-root[data-presentation=bar][data-timed=false] .sb-bar-content{padding-inline-end:76px}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-timer--bar{inset-inline:0;width:auto;top:0}.sb-snackbar-root[data-presentation=bar][data-position=top] .sb-snackbar-timer--bar{top:auto;bottom:0}}.sb-root--inline .sb-snackbar-root[data-presentation=bar] .sb-snackbar-compact{padding-block:10px}@media (prefers-reduced-motion:reduce){.sb-snackbar-root[data-presentation=bar][data-stage=entering] .sb-snackbar-shell{animation:.15s ease-out both sb-bar-fade-in}.sb-snackbar-root[data-presentation=bar][data-exiting=true] .sb-snackbar-shell,.sb-snackbar-root[data-presentation=bar][data-exiting=true][data-expanded=true] .sb-snackbar-shell{animation:.15s ease-out both sb-bar-fade-out}.sb-snackbar-root[data-presentation=bar][data-position=top] .sb-snackbar-shell{transition:none}.sb-bar-acknowledgement{transition:opacity .15s ease-out;translate:none}.sb-bar-content,.sb-bar-dismiss{transition:opacity .15s ease-out}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-answer:not(:disabled):active{scale:1}}.sb-sheet__close:before{content:\"\";background:currentColor;width:24px;height:24px;display:block;-webkit-mask:url(\"data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='close'%3e%3cpath%20id='Vector'%20d='M12%2013.4L7.1%2018.3C6.91667%2018.4833%206.68333%2018.575%206.4%2018.575C6.11667%2018.575%205.88333%2018.4833%205.7%2018.3C5.51667%2018.1167%205.425%2017.8833%205.425%2017.6C5.425%2017.3167%205.51667%2017.0833%205.7%2016.9L10.6%2012L5.7%207.1C5.51667%206.91667%205.425%206.68333%205.425%206.4C5.425%206.11667%205.51667%205.88333%205.7%205.7C5.88333%205.51667%206.11667%205.425%206.4%205.425C6.68333%205.425%206.91667%205.51667%207.1%205.7L12%2010.6L16.9%205.7C17.0833%205.51667%2017.3167%205.425%2017.6%205.425C17.8833%205.425%2018.1167%205.51667%2018.3%205.7C18.4833%205.88333%2018.575%206.11667%2018.575%206.4C18.575%206.68333%2018.4833%206.91667%2018.3%207.1L13.4%2012L18.3%2016.9C18.4833%2017.0833%2018.575%2017.3167%2018.575%2017.6C18.575%2017.8833%2018.4833%2018.1167%2018.3%2018.3C18.1167%2018.4833%2017.8833%2018.575%2017.6%2018.575C17.3167%2018.575%2017.0833%2018.4833%2016.9%2018.3L12%2013.4Z'%20fill='%23E8E8E8'/%3e%3c/g%3e%3c/svg%3e\") 50%/24px 24px no-repeat;mask:url(\"data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='close'%3e%3cpath%20id='Vector'%20d='M12%2013.4L7.1%2018.3C6.91667%2018.4833%206.68333%2018.575%206.4%2018.575C6.11667%2018.575%205.88333%2018.4833%205.7%2018.3C5.51667%2018.1167%205.425%2017.8833%205.425%2017.6C5.425%2017.3167%205.51667%2017.0833%205.7%2016.9L10.6%2012L5.7%207.1C5.51667%206.91667%205.425%206.68333%205.425%206.4C5.425%206.11667%205.51667%205.88333%205.7%205.7C5.88333%205.51667%206.11667%205.425%206.4%205.425C6.68333%205.425%206.91667%205.51667%207.1%205.7L12%2010.6L16.9%205.7C17.0833%205.51667%2017.3167%205.425%2017.6%205.425C17.8833%205.425%2018.1167%205.51667%2018.3%205.7C18.4833%205.88333%2018.575%206.11667%2018.575%206.4C18.575%206.68333%2018.4833%206.91667%2018.3%207.1L13.4%2012L18.3%2016.9C18.4833%2017.0833%2018.575%2017.3167%2018.575%2017.6C18.575%2017.8833%2018.4833%2018.1167%2018.3%2018.3C18.1167%2018.4833%2017.8833%2018.575%2017.6%2018.575C17.3167%2018.575%2017.0833%2018.4833%2016.9%2018.3L12%2013.4Z'%20fill='%23E8E8E8'/%3e%3c/g%3e%3c/svg%3e\") 50%/24px 24px no-repeat}:host{--sb-surface:var(--sb-theme-sheet-background,#fff);--sb-surface-muted:var(--sb-theme-button-secondary-background,#f2f2f2);--sb-border:var(--sb-theme-input-border,#0808081f);--sb-border-strong:#0808083d;--sb-border-active:var(--sb-theme-input-focused-border,#080808b3);--sb-text:var(--sb-theme-content-heading,#080808);--sb-text-muted:var(--sb-theme-content-body,#5c5c5c);--sb-overlay:var(--sb-theme-sheet-scrim,#00000061);--sb-ease:cubic-bezier(.2, .9, .2, 1);--sb-fab-motion-ease:cubic-bezier(.649439, .0577174, .124599, 1);--sb-sheet-motion-ease:cubic-bezier(0, .87, .39, 1);font-family:-apple-system,BlinkMacSystemFont,system-ui,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}.sb-safe-area-probe{visibility:hidden;pointer-events:none;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);position:fixed;inset:0}.sb-fab{right:16px;bottom:calc(24px + env(safe-area-inset-bottom,0px));z-index:1000;box-sizing:border-box;border:1px solid var(--sb-theme-fab-border,#080808);background:var(--sb-theme-fab-background,#080808);min-width:0;height:60px;color:var(--sb-theme-fab-foreground,#fff);border-color:var(--sb-theme-fab-border,#080808);cursor:pointer;will-change:transform;align-items:center;transition:scale .12s ease-out;display:inline-flex;position:fixed;overflow:hidden}.sb-fab--entering{animation:sb-fab-enter-scale .89016s var(--sb-fab-motion-ease) .259705s both, sb-fab-enter-width .893207s var(--sb-fab-motion-ease) 1.076s both;transform-origin:50%!important}.sb-fab--entering .sb-fab__label{animation:sb-fab-label-in .2s var(--sb-fab-motion-ease) 1.14987s both}.sb-fab--entering .sb-fab__timer{animation:sb-fab-timer-in .2s var(--sb-fab-motion-ease) 1.96921s both}.sb-fab--entering .sb-fab__timer-fill{animation-delay:1.96921s}.sb-fab--exiting{width:var(--sb-fab-exit-width,var(--sb-fab-expanded-width));pointer-events:none;scale:var(--sb-fab-exit-scale,1);translate:var(--sb-fab-exit-offset,0) 0;animation:.292089s cubic-bezier(.677885,.170122,.695982,.997824) .3s forwards sb-fab-exit-width,.390467s cubic-bezier(.362165,.0946429,.49708,.932961) .466372s forwards sb-fab-exit-scale;transform:none;transform-origin:50%!important}.sb-fab--exiting .sb-fab__label{opacity:var(--sb-fab-exit-label-opacity,1);animation:.389727s cubic-bezier(.5,0,.5,1) .3s forwards sb-fab-label-out}.sb-fab--exiting .sb-fab__timer{opacity:var(--sb-fab-exit-timer-opacity,0)}.sb-fab--exiting .sb-fab__badge{animation:.297243s cubic-bezier(.5,0,1,.600461) .398177s forwards sb-fab-badge-out}.sb-next:hover,.sb-next:focus-visible,.sb-button:hover,.sb-button:focus-visible,.sb-choice:hover,.sb-choice:focus-visible{transform:translateY(-1px)}.sb-fab:active{transition-duration:80ms;scale:.97}.sb-fab:focus-visible,.sb-next:focus-visible,.sb-button:focus-visible,.sb-choice:focus-visible,.sb-sheet__close:focus-visible,.sb-sentiment:focus-visible,.sb-sheet-root__overlay:focus-visible{outline-offset:2px;outline:2px solid #6366f1a6}.sb-sheet h2[tabindex=\"-1\"]:focus{outline:none}.sb-fab--expanded{width:var(--sb-fab-expanded-width,auto);border-radius:999px;justify-content:flex-start;gap:12px;min-height:60px;padding:13px 28px 13px 14px}.sb-fab__label{z-index:1;width:var(--sb-fab-label-width,auto);color:currentColor;text-align:left;white-space:nowrap;text-overflow:clip;min-width:0;font-size:14px;font-weight:600;line-height:1;position:relative;overflow:hidden}.sb-fab__badge{z-index:1;background:var(--sb-theme-fab-accent-primary,#f97316);border-radius:50%;flex:none;place-items:center;width:32px;height:32px;display:grid;position:relative}.sb-fab__badge-artwork{background:var(--sb-theme-fab-accent-secondary,#2563eb);border-radius:50%;display:block;position:absolute;inset:5.44px}.sb-fab__badge-image{z-index:2;border-radius:inherit;object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.sb-fab__badge-glyph-center,.sb-fab__badge-glyph-amber,.sb-fab__badge-glyph-mint,.sb-fab__badge-glyph-rose{border-radius:999px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.sb-fab__badge-glyph-center{background:var(--sb-theme-fab-foreground,#fff);border-radius:3.52px;width:4.16px;height:11.52px}.sb-fab__badge-glyph-amber{background:#fac143;width:2.88px;height:6.72px;translate:-3.04px .8px}.sb-fab__badge-glyph-mint{background:#39c690;width:2.88px;height:5.44px;translate:3.04px -.32px}.sb-fab__badge-glyph-rose{background:#e86398;width:2.56px;height:4.16px;translate:.96px 3.68px}.sb-fab__timer{z-index:0;pointer-events:none;position:absolute;overflow:hidden}.sb-fab__timer--bar{background:var(--sb-theme-fab-timer-track,#08080829);border-radius:999px;height:2px;bottom:4px;left:59px;right:29px}.sb-fab[data-timer-direction=rtl] .sb-fab__timer--bar{left:29px;right:59px}.sb-fab__timer--fill{border-radius:inherit;background:var(--sb-theme-fab-timer-track,#08080829);inset:0}.sb-fab__timer-fill{border-radius:inherit;background:var(--sb-theme-fab-timer-fill,#080808e6);width:100%;height:100%;transform-origin:var(--sb-fab-timer-origin,left);animation:sb-fab-timer-bar var(--sb-timer-duration) linear forwards;display:block}.sb-sheet-root{z-index:1100;position:fixed;inset:0}.sb-sheet-root__overlay{background:var(--sb-overlay);cursor:pointer;border:none;animation:.2s ease-in both sb-overlay-in;position:absolute;inset:0}.sb-sheet-root--exiting{pointer-events:none}.sb-sheet-root--exiting .sb-sheet-root__overlay{animation:.2s ease-in forwards sb-overlay-out}.sb-sheet{width:min(100%,100vw);min-height:418px;padding:24px 20px calc(18px + env(safe-area-inset-bottom,0px));box-sizing:border-box;background:var(--sb-surface);box-shadow:var(--sb-shadow);color:var(--sb-text);animation:sb-sheet-in-mobile .45s var(--sb-sheet-motion-ease) both;border-radius:40px 40px 0 0;position:absolute;bottom:0;left:0;right:0}.sb-sheet--thanks{min-height:381px;padding-top:18px}.sb-sheet__header{justify-content:flex-end;align-items:flex-start;min-height:28px;margin-bottom:22px;display:flex;position:relative}.sb-progress{background:var(--sb-theme-sheet-progress-track,#eaeaea);border-radius:999px;width:219px;max-width:calc(100% - 96px);height:6px;position:absolute;top:5px;left:50%;overflow:hidden;transform:translate(-50%)}.sb-progress__fill{border-radius:inherit;background:var(--sb-theme-sheet-progress-fill,#080808);height:100%;transition:width .22s var(--sb-ease);display:block}.sb-sheet__close{background:var(--sb-theme-sheet-close-button-background,transparent);width:20px;height:20px;color:var(--sb-theme-sheet-close-button-foreground,var(--sb-text));cursor:pointer;border:none;padding:0}.sb-sheet__close svg,.sb-next svg,.sb-thanks__icon-core svg{width:100%;height:100%;display:block}.sb-sheet__body{gap:26px;display:grid}.sb-sheet__copy{justify-items:center;gap:8px;display:grid}.sb-sheet__eyebrow{color:var(--sb-theme-content-helper,var(--sb-text-muted));text-align:center;margin:0;font-size:16px;font-weight:400;line-height:1.4}.sb-sheet__body h2,.sb-thanks__copy h2{color:var(--sb-theme-content-heading,var(--sb-text));text-align:center;margin:0;font-size:22px;font-weight:600;line-height:1.2}.sb-sheet__body h2{justify-self:center;width:min(297px,100%)}.sb-choice--selected,.sb-choice:hover,.sb-textarea-shell:focus-within{border-color:var(--sb-theme-choice-hover-border,var(--sb-border-active))}.sb-choice:hover{background:var(--sb-theme-choice-hover-background,var(--sb-surface));color:var(--sb-theme-choice-hover-foreground,var(--sb-text))}.sb-choice:active{border-color:var(--sb-theme-choice-pressed-border,var(--sb-border-active));background:var(--sb-theme-choice-pressed-background,var(--sb-surface-muted));color:var(--sb-theme-choice-pressed-foreground,var(--sb-text))}.sb-choice--selected{box-shadow:0 0 0 3px #0808080d}.sb-choice:disabled{border-color:var(--sb-theme-choice-disabled-border,#e2e2e2);background:var(--sb-theme-choice-disabled-background,#f2f2f2);color:var(--sb-theme-choice-disabled-foreground,#5c5c5c);cursor:not-allowed}.sb-question--choices{grid-template-columns:repeat(2,160px);justify-content:center;justify-self:center;gap:9px;width:min(330px,100%)}.sb-choice{border:1px solid var(--sb-theme-choice-default-border,#e2e2e2);background:var(--sb-theme-choice-default-background,var(--sb-surface));width:160px;height:51px;color:var(--sb-theme-choice-default-foreground,var(--sb-text));text-align:center;white-space:nowrap;cursor:pointer;transition:transform .2s var(--sb-ease), border-color .18s ease, box-shadow .18s ease, background-color .18s ease;border-radius:999px;justify-content:center;align-items:center;padding:0 16px;font-size:16px;font-weight:700;line-height:1.2;display:flex}.sb-choice__label{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.sb-choice--other{border-color:var(--sb-theme-choice-default-border,#e2e2e2);padding:0;font-weight:400}.sb-choice__other-content{align-items:center;gap:0;display:inline-flex}.sb-choice__other-caret{background:var(--sb-theme-input-foreground,var(--sb-text));flex:none;width:1px;height:22px}.sb-choice__other-label{color:var(--sb-theme-input-placeholder,#08080866);line-height:1.2}.sb-choice--selected{border-color:var(--sb-theme-choice-selected-border,var(--sb-text));background:var(--sb-theme-choice-selected-background,var(--sb-text));color:var(--sb-theme-choice-selected-foreground,var(--sb-surface))}.sb-question--text{justify-self:center;width:min(330px,100%)}.sb-textarea-shell{border:1px solid var(--sb-theme-input-border,#08080833);background:var(--sb-theme-input-background,var(--sb-surface));border-radius:16px;width:100%;min-height:155px;transition:border-color .18s,box-shadow .18s}.sb-textarea{resize:none;width:100%;min-height:155px;color:var(--sb-theme-input-foreground,var(--sb-text));font:inherit;box-sizing:border-box;background:0 0;border:none;outline:none;padding:16px 22px;font-size:16px;line-height:1.2}.sb-textarea::placeholder{color:var(--sb-theme-input-placeholder,#08080866)}.sb-textarea-shell:focus-within{border-color:var(--sb-theme-input-focused-border,var(--sb-border-active))}.sb-textarea:disabled{color:var(--sb-theme-input-disabled-foreground,var(--sb-text-muted))}.sb-textarea-shell:has(.sb-textarea:disabled){background:var(--sb-theme-input-disabled-background,var(--sb-surface-muted))}.sb-sheet__footer{min-height:84px;margin:0 -20px calc(-18px - env(safe-area-inset-bottom,0px));padding:18px 20px calc(18px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--sb-theme-sheet-divider,#e2e2e2);box-sizing:border-box;justify-content:flex-end;align-items:center;gap:16px;display:flex}.sb-next,.sb-button{cursor:pointer;min-height:48px;font:inherit;transition:transform .2s var(--sb-ease), opacity .18s ease, box-shadow .18s ease;border:none;border-radius:999px}.sb-next{background:var(--sb-theme-button-primary-background,#080808);width:101px;color:var(--sb-theme-button-primary-foreground,#fff);place-items:center;padding:0;display:grid}.sb-next--acknowledging svg{animation:.36s cubic-bezier(.2,.8,.2,1) both sb-next-acknowledgement}.sb-next:disabled,.sb-button:disabled{cursor:not-allowed;box-shadow:none;transform:none}.sb-next:disabled{background:var(--sb-theme-button-primary-disabled-background,#080808);color:var(--sb-theme-button-primary-disabled-foreground,#fff)}.sb-thanks{justify-items:center;gap:23px;padding-top:12px;display:grid}.sb-thanks__icon-shell{background:var(--sb-theme-completion-outer-background,#f0f0f0);border-radius:999px;place-items:center;width:120px;height:120px;display:grid}.sb-thanks__icon-core{background:var(--sb-theme-completion-inner-background,#080808);width:66px;height:66px;color:var(--sb-theme-completion-glyph,#fff);border-radius:999px;place-items:center;display:grid}.sb-thanks__copy{gap:8px;max-width:313px;display:grid}.sb-thanks__copy h2{letter-spacing:-.03em;font-size:30px;line-height:1.1}.sb-thanks__copy p{color:var(--sb-theme-content-body,var(--sb-text-muted));text-align:center;margin:0;font-size:14px;line-height:1.3}.sb-thanks__actions{gap:10px;width:100%;display:flex}.sb-button{flex:1 1 0;padding:16px;font-size:14px;font-weight:600;line-height:1}.sb-button--primary{background:var(--sb-theme-button-primary-background,#080808);color:var(--sb-theme-button-primary-foreground,#fff)}.sb-button--secondary{background:var(--sb-theme-button-secondary-background,#f2f2f2);color:var(--sb-theme-button-secondary-foreground,var(--sb-text))}.sb-button--tertiary{background:var(--sb-theme-button-tertiary-background,transparent);color:var(--sb-theme-button-tertiary-foreground,var(--sb-text))}.sb-button--primary:hover,.sb-button--primary:focus-visible{background:var(--sb-theme-button-primary-hover-background,#080808)}.sb-button--secondary:hover,.sb-button--secondary:focus-visible{background:var(--sb-theme-button-secondary-hover-background,#f2f2f2)}.sb-button--tertiary:hover,.sb-button--tertiary:focus-visible{background:var(--sb-theme-button-tertiary-hover-background,#f2f2f2)}.sb-button--primary:active{background:var(--sb-theme-button-primary-pressed-background,#080808)}.sb-button--secondary:active{background:var(--sb-theme-button-secondary-pressed-background,#e2e2e2)}.sb-button--tertiary:active{background:var(--sb-theme-button-tertiary-pressed-background,#e2e2e2)}.sb-button--primary:disabled{background:var(--sb-theme-button-primary-disabled-background,#080808);color:var(--sb-theme-button-primary-disabled-foreground,#fff)}.sb-button--secondary:disabled{background:var(--sb-theme-button-secondary-disabled-background,#f2f2f2);color:var(--sb-theme-button-secondary-disabled-foreground,var(--sb-text))}.sb-button--tertiary:disabled{background:var(--sb-theme-button-tertiary-disabled-background,#f2f2f2);color:var(--sb-theme-button-tertiary-disabled-foreground,var(--sb-text))}@media (width>=768px){.sb-fab{bottom:24px;right:24px}}.sb-sheet-root__overlay{padding:0}.sb-sheet{top:auto;right:auto;bottom:calc(8px + env(safe-area-inset-bottom,0px));width:min(376px,100% - 24px);min-height:0;max-height:calc(100% - 16px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));box-shadow:none;animation:sb-card-in .45s var(--sb-sheet-motion-ease) both;interpolate-size:allow-keywords;border-radius:40px;padding:0;transition:height .45s cubic-bezier(0,.83,.363,.994);position:absolute;left:50%;overflow:hidden;transform:translate(-50%)}.sb-sheet-root--exiting .sb-sheet{animation:.45s ease-in forwards sb-card-out}.sb-sheet--thanks{min-height:0;padding:22px 20px}.sb-sheet__header{height:50px;min-height:0;margin:0;display:block;position:relative}.sb-progress{width:216px;max-width:calc(100% - 96px);height:6px;top:27px}.sb-progress__fill{transition:width .45s var(--sb-sheet-motion-ease)}.sb-sheet__close{box-sizing:border-box;border-radius:1000px;width:40px;height:40px;padding:8px;position:absolute;top:10px;right:16px}.sb-sheet__body{display:block}.sb-step{animation:.25s ease-in-out both sb-step-in}.sb-sheet__copy{box-sizing:border-box;align-content:center;justify-items:center;gap:0;height:88px;padding:0 23px;display:grid}.sb-sheet__body h2{text-align:center;text-wrap:balance;width:100%;margin:0;font-size:19px;font-weight:600;line-height:1.22}.sb-sheet__body--sentiment{padding:12px 24px 22px}.sb-sheet__body--sentiment .sb-sheet__copy{gap:8px;height:auto;min-height:84px;padding:0}.sb-sheet__body--sentiment .sb-sheet__eyebrow{color:var(--sb-theme-content-helper,var(--sb-text-muted));text-align:center;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:16px;font-weight:400;line-height:1.2;display:-webkit-box;overflow:hidden}.sb-sheet__body--sentiment h2{-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:22px;font-weight:600;line-height:1.2;display:-webkit-box;overflow:hidden}.sb-sheet__body--sentiment h2.sb-sheet__acknowledgement{align-content:center;min-height:70px;font-size:29px;line-height:1.08;animation:.28s cubic-bezier(.2,.8,.2,1) both sb-acknowledgement-in}.sb-question{justify-items:stretch;display:grid}.sb-question--sentiment{grid-template-columns:repeat(2,80px);justify-content:center;gap:25px;width:185px;margin:37px auto 31px;position:relative}.sb-sheet__body--sentiment:has(.sb-sheet__acknowledgement) .sb-question--sentiment{margin-top:35px}.sb-sentiment{z-index:0;border:1.111px solid var(--sb-theme-choice-default-border,#e2e2e2);background:var(--sb-theme-choice-default-background,var(--sb-surface));width:80px;height:80px;color:var(--sb-theme-choice-default-foreground,var(--sb-text));cursor:pointer;border-radius:50%;place-items:center;padding:0;transition:transform .12s ease-out,border-color .18s,background-color .18s;display:grid;position:relative}.sb-sentiment__icon{z-index:1;width:35.5556px;height:35.5556px}.sb-sentiment__icon svg{width:100%;height:100%;display:block}.sb-sentiment:hover{border-color:var(--sb-theme-choice-hover-border,var(--sb-border-active));background:var(--sb-theme-choice-hover-background,var(--sb-surface));color:var(--sb-theme-choice-hover-foreground,var(--sb-text))}.sb-sentiment:active{border-color:var(--sb-theme-choice-pressed-border,var(--sb-border-active));background:var(--sb-theme-choice-pressed-background,var(--sb-surface-muted));color:var(--sb-theme-choice-pressed-foreground,var(--sb-text));transform:scale(.97)}.sb-sentiment--selected,.sb-sentiment--selected:disabled{border-color:var(--sb-theme-choice-selected-border,var(--sb-text));background:var(--sb-theme-choice-selected-background,var(--sb-text));color:var(--sb-theme-choice-selected-foreground,var(--sb-surface))}.sb-sentiment:disabled:not(.sb-sentiment--selected){border-color:var(--sb-theme-choice-disabled-border,#e2e2e2);background:var(--sb-theme-choice-disabled-background,#f2f2f2);color:var(--sb-theme-choice-disabled-foreground,#5c5c5c)}.sb-sentiment:disabled{cursor:default}.sb-spark-ring{z-index:-1;pointer-events:none;animation:.22s cubic-bezier(.25,.46,.45,.94) both sb-spark-ring-in;position:absolute;inset:-26px}.sb-spark-ring__spark{--sb-spark-angle:calc(var(--sb-spark-index) * 30deg);width:7px;height:7px;transform:translate(-50%, -50%) rotate(var(--sb-spark-angle)) translateY(-54px);background:#dedede;border-radius:50%;position:absolute;top:50%;left:50%}.sb-spark-ring__spark:nth-child(2n){width:12px;height:12px;transform:translate(-50%, -50%) rotate(var(--sb-spark-angle)) translateY(-59px)}.sb-question--choices,.sb-question--text{justify-self:stretch;width:auto;margin:0 24px}.sb-question--choices{scrollbar-gutter:stable;align-content:start;gap:8px;max-height:320.5px;overflow:hidden auto}.sb-question--choices-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sb-question--choices-single{grid-template-columns:minmax(0,1fr)}.sb-question--choices-scrolling{padding-bottom:20px}.sb-choice{white-space:normal;overflow-wrap:anywhere;width:100%;min-width:0;height:51px;padding:0 8px}.sb-question--choices-single .sb-choice{text-align:left;border-radius:16px;justify-content:flex-start;height:auto;min-height:51px;padding:16px 22px}.sb-choice--other{color:var(--sb-theme-input-placeholder,#08080866);gap:0;font-weight:400}.sb-choice--other:before{background:var(--sb-theme-input-foreground,var(--sb-text));flex:0 0 1px;width:1px;height:22px;position:static;transform:none}.sb-question--text{padding-top:10px}.sb-question--other{animation:.25s ease-in-out both sb-step-in}.sb-textarea-shell,.sb-textarea{height:155px;min-height:155px}.sb-textarea{padding:17px 22px;font-size:16px;font-weight:400;line-height:1.2}.sb-sheet__body--question{padding-bottom:16px}.sb-sheet__footer{border-top:1px solid var(--sb-theme-sheet-divider,#e2e2e2);justify-content:flex-end;align-items:center;gap:16px;min-height:84px;margin:0;padding:16px 20px 20px;display:flex}.sb-sheet__footer-comment{color:var(--sb-theme-content-helper,var(--sb-text-muted));text-align:left;-webkit-line-clamp:2;-webkit-box-orient:vertical;flex:auto;margin:0;font-size:16px;font-weight:600;line-height:1.2;animation:.18s ease-out both sb-footer-comment-in,.18s ease-in 1s forwards sb-footer-comment-out;display:-webkit-box;overflow:hidden}.sb-next{flex:0 0 101px;height:48px}.sb-next svg{width:20px;height:20px;transform:none}.sb-sheet--completing .sb-progress__fill{transition-duration:.5s}.sb-thanks{gap:23px;padding:0;animation:.3s ease-in-out .89s both sb-completion-in}.sb-thanks__icon-shell{animation:sb-completion-icon-in .72s var(--sb-sheet-motion-ease) .35s both}.sb-thanks__icon-core svg{width:35.44px;height:27.02px}.sb-thanks__copy{width:100%;max-width:330px}.sb-thanks__copy h2{letter-spacing:-.6px;font-weight:600}.sb-thanks__copy p{max-width:292px;margin-inline:auto;line-height:1.5}.sb-thanks__actions{gap:10px}.sb-choice-measure{white-space:nowrap;visibility:hidden;width:max-content;padding:0 8px;font-size:16px;font-weight:700;position:fixed;top:-10000px;left:-10000px}.sb-choice-measure--other{padding-left:9px;padding-right:8px;font-weight:400}@keyframes sb-fab-enter-scale{0%{scale:0}to{scale:1}}@keyframes sb-fab-enter-width{0%{width:60px;translate:var(--sb-fab-anchor-offset) 0}to{width:var(--sb-fab-expanded-width);translate:0}}@keyframes sb-fab-label-in{0%{opacity:0}to{opacity:1}}@keyframes sb-fab-timer-in{0%{opacity:0}to{opacity:1}}@keyframes sb-fab-exit-width{0%{width:var(--sb-fab-exit-width,var(--sb-fab-expanded-width));translate:var(--sb-fab-exit-offset,0) 0}to{width:60px;translate:var(--sb-fab-anchor-offset) 0}}@keyframes sb-fab-label-out{0%{opacity:var(--sb-fab-exit-label-opacity,1)}to{opacity:0}}@keyframes sb-fab-badge-out{0%{scale:1}to{scale:0}}@keyframes sb-fab-exit-scale{0%{scale:var(--sb-fab-exit-scale,1)}to{scale:0}}@keyframes sb-sheet-in-mobile{0%{opacity:0;transform:translateY(28px)}to{opacity:1;transform:translateY(0)}}@keyframes sb-sheet-in-desktop{0%{opacity:0;transform:translate(-50%,calc(28px - 50%))}to{opacity:1;transform:translate(-50%,-50%)}}@keyframes sb-sheet-out-mobile{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(100%)}}@keyframes sb-sheet-out-desktop{0%{opacity:1;transform:translate(-50%,-50%)}to{opacity:0;transform:translate(-50%,100vh)}}@keyframes sb-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes sb-overlay-out{0%{opacity:1}to{opacity:0}}@keyframes sb-fab-timer-bar{0%{transform:scaleX(1)}to{transform:scaleX(0)}}@keyframes sb-card-in{0%{opacity:0;transform:translate(-50%,28px)}to{opacity:1;transform:translate(-50%)}}@keyframes sb-card-out{0%{opacity:1;transform:translate(-50%)}to{opacity:0;transform:translate(-50%,calc(100% + 8px))}}@keyframes sb-step-in{0%{opacity:0}to{opacity:1}}@keyframes sb-acknowledgement-in{0%{opacity:0;transform:scale(1.12)}to{opacity:1;transform:scale(1)}}@keyframes sb-next-acknowledgement{0%,to{rotate:0deg;scale:1}39%{rotate:-14deg;scale:1.18}}@keyframes sb-spark-ring-in{0%{opacity:0;transform:scale(.55)}to{opacity:1;transform:scale(1)}}@keyframes sb-footer-comment-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes sb-footer-comment-out{0%{opacity:1}to{opacity:0}}@keyframes sb-completion-icon-in{0%{opacity:0;transform:translateY(46px)scale(.72)}58%{opacity:1;transform:translateY(46px)scale(1.82)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes sb-completion-in{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.sb-fab--entering,.sb-fab--entering .sb-fab__label,.sb-fab--entering .sb-fab__timer,.sb-fab--exiting,.sb-fab--exiting .sb-fab__label,.sb-fab--exiting .sb-fab__badge,.sb-sheet,.sb-step,.sb-spark-ring,.sb-sheet__acknowledgement,.sb-sheet__footer-comment,.sb-thanks,.sb-thanks__icon-shell,.sb-sheet-root__overlay,.sb-sheet-root--exiting .sb-sheet,.sb-sheet-root--exiting .sb-sheet-root__overlay{animation-duration:.001ms;animation-delay:0s}.sb-fab--entering .sb-fab__timer-fill{animation-delay:0s}.sb-sheet__footer-comment{animation:none}}";
|
|
456
|
+
var I = "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M6.4 6.4 17.6 17.6M17.6 6.4 6.4 17.6\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\"/></svg>", L = "<svg viewBox=\"0 0 14 14\" aria-hidden=\"true\"><path d=\"M6.66667 0 5.49167 1.175 10.1417 5.83333H0V7.5h10.1417l-4.65 4.6583 1.175 1.175L13.3333 6.66667 6.66667 0Z\" fill=\"currentColor\"/></svg>", R = "<svg viewBox=\"0 0 36 28\" aria-hidden=\"true\"><path d=\"m11.2619 21.3151-8.40108-8.4011L0 15.7546l11.2619 11.262L35.4379 2.84067 32.5972 0 11.2619 21.3151Z\" fill=\"currentColor\"/></svg>", z = "<svg viewBox=\"0 0 35.5556 35.5556\" aria-hidden=\"true\"><path d=\"M19.436 3.05195 11.2286 11.2594c-.5481.5481-.8592 1.3037-.8592 2.0888v14.8c0 1.6297 1.3333 2.963 2.9629 2.963h13.3334c1.1851 0 2.2518-.7111 2.7259-1.7926l4.8296-11.2741c1.2445-2.9333-.9037-6.1925-4.0889-6.1925H21.762l1.4074-6.78523c.1481-.74075-.0741-1.4963-.6074-2.02963-.8741-.85926-2.2667-.85926-3.126.01481ZM4.44343 31.1112c1.62963 0 2.96296-1.3333 2.96296-2.963V16.2964c0-1.6296-1.33333-2.963-2.96296-2.963-1.62963 0-2.96296 1.3334-2.96296 2.963v11.8518c0 1.6297 1.33333 2.963 2.96296 2.963Z\" fill=\"currentColor\"/></svg>", B = "<svg viewBox=\"0 0 35.5556 35.5556\" aria-hidden=\"true\"><path d=\"m16.1165 32.5036 8.1926-8.2074c.5481-.5482.8592-1.3037.8592-2.0889v-14.8c0-1.62963-1.3333-2.96296-2.9629-2.96296H8.88686c-1.18519 0-2.25185.71111-2.71111 1.79259L1.34612 17.511c-1.25926 2.9333.88889 6.1926 4.07407 6.1926h8.37041l-1.4074 6.7852c-.1482.7407.074 1.4963.6074 2.0296.874.8593 2.2666.8593 3.1259-.0148ZM31.1091 4.44434c-1.6296 0-2.963 1.33333-2.963 2.96296v11.8519c0 1.6296 1.3334 2.9629 2.963 2.9629 1.6296 0 2.9629-1.3333 2.9629-2.9629V7.4073c0-1.62963-1.3333-2.96296-2.9629-2.96296Z\" fill=\"currentColor\"/></svg>", re = ".sb-snackbar-root{--sb-text:var(--sb-snackbar-text);--sb-text-muted:var(--sb-theme-content-body);--sb-surface:var(--sb-snackbar-surface);z-index:1100;pointer-events:none;color:var(--sb-snackbar-text);font-family:Inter,-apple-system,BlinkMacSystemFont,system-ui,sans-serif;position:fixed;inset:0}.sb-snackbar-root *,.sb-snackbar-root :before,.sb-snackbar-root :after{box-sizing:border-box}.sb-snackbar-root h2{text-transform:none;letter-spacing:normal}.sb-snackbar-shell{left:var(--sb-snackbar-left);bottom:var(--sb-snackbar-bottom);width:var(--sb-snackbar-width);transition:left .2s ease-in-out,bottom .2s ease-in-out,width .2s ease-in-out;position:absolute}.sb-snackbar-surface{width:100%;height:var(--sb-snackbar-height,64px);border-radius:calc(var(--sb-snackbar-compact-height,64px) / 2);background:var(--sb-snackbar-surface);box-shadow:inset 0 0 0 1px var(--sb-snackbar-border);transition:height .45s cubic-bezier(0,.87,.39,1),border-radius .45s cubic-bezier(0,.87,.39,1);position:relative;overflow:hidden}.sb-snackbar-compact{width:var(--sb-snackbar-compact-width,364px);align-items:center;gap:10px;min-height:64px;padding:10px;transition:opacity .12s ease-out;display:flex;position:relative}.sb-snackbar-artwork{--sb-theme-fab-accent-primary:var(--sb-theme-sheet-progress-fill);--sb-theme-fab-accent-secondary:var(--sb-snackbar-surface);--sb-theme-fab-foreground:var(--sb-snackbar-text);background:var(--sb-theme-sheet-progress-fill);border-radius:50%;flex:0 0 40px;width:40px;height:40px;position:relative;overflow:hidden}.sb-snackbar-artwork img{z-index:2;object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.sb-snackbar-prompt{overflow-wrap:anywhere;flex:1;min-width:0;margin:0;font-size:14px;font-weight:600;line-height:20px;position:relative}.sb-snackbar-answers{flex:none;gap:4px;display:flex;position:relative}.sb-snackbar-answer{width:44px;height:44px;color:var(--sb-snackbar-text);background:var(--sb-snackbar-normal);cursor:pointer;pointer-events:auto;border:0;border-radius:50%;place-items:center;margin:0;padding:0;transition:background .12s ease-out,scale .12s ease-out;display:grid}.sb-snackbar-answer svg{width:18px;height:18px}.sb-snackbar-answer:hover:not(:disabled){background:var(--sb-snackbar-hover)}.sb-snackbar-answer:active:not(:disabled){background:var(--sb-snackbar-pressed);scale:.94}.sb-snackbar-answer[aria-pressed=true]{color:var(--sb-snackbar-on-active);background:var(--sb-snackbar-active)}.sb-snackbar-answer:disabled{cursor:default;pointer-events:none;opacity:1}.sb-snackbar-close{top:-25px;width:44px;height:44px;color:var(--sb-snackbar-text);pointer-events:auto;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:13px;display:grid;position:absolute;inset-inline-start:-15px}.sb-snackbar-close svg{background:var(--sb-snackbar-surface);border-radius:50%;width:18px;height:18px;padding:2px}.sb-snackbar-answer:focus-visible,.sb-snackbar-close:focus-visible{outline:2px solid var(--sb-snackbar-text);outline-offset:2px}.sb-snackbar-timer{pointer-events:none;position:absolute;overflow:hidden}.sb-snackbar-timer--fill{background:var(--sb-snackbar-elapsed);inset:0}.sb-snackbar-timer--bar{inset-inline:1px 3px;background:var(--sb-theme-sheet-progress-track);height:2px;bottom:-6px}.sb-snackbar-timer-fill{transform-origin:0;background:var(--sb-theme-sheet-progress-fill);width:100%;height:100%;display:block}.sb-snackbar-timer--fill .sb-snackbar-timer-fill{background:var(--sb-snackbar-remaining)}.sb-snackbar-root:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)) .sb-snackbar-timer-fill{transform-origin:100%}.sb-snackbar-root[data-counting=true] .sb-snackbar-timer-fill{animation:sb-snackbar-countdown var(--sb-snackbar-duration) linear forwards}.sb-snackbar-root[data-frozen=true] .sb-snackbar-timer-fill{transform:scaleX(var(--sb-snackbar-fraction));animation:none}.sb-snackbar-overlay{background:var(--sb-theme-sheet-scrim);opacity:0;pointer-events:none;border:0;width:100%;height:100%;margin:0;padding:0;transition:opacity .45s ease-out;position:absolute;inset:0}.sb-snackbar-card{width:var(--sb-snackbar-card-width);max-height:var(--sb-snackbar-max-height);opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;overflow:auto}.sb-snackbar-root .sb-snackbar-card .sb-sheet-root{position:static;inset:auto}.sb-snackbar-root .sb-snackbar-card .sb-sheet-root__overlay{display:none}.sb-snackbar-root .sb-snackbar-card .sb-sheet{width:100%;max-height:none;box-shadow:none;background:0 0;border:0;margin:0;animation:none;position:relative;inset:auto;transform:none}.sb-snackbar-card[inert] *{animation-play-state:paused}.sb-snackbar-root[data-stage=widening] .sb-snackbar-compact,.sb-snackbar-root[data-stage=expanding] .sb-snackbar-compact,.sb-snackbar-root[data-stage=ready] .sb-snackbar-compact{opacity:0}.sb-snackbar-root[data-expanded=true] .sb-snackbar-overlay{opacity:1;pointer-events:auto}.sb-snackbar-root[data-expanded=true] .sb-snackbar-close{display:none}.sb-snackbar-root[data-stage=expanding] .sb-snackbar-surface,.sb-snackbar-root[data-stage=ready] .sb-snackbar-surface{box-shadow:none;background:var(--sb-theme-sheet-background);border-radius:40px}.sb-snackbar-root[data-stage=expanding] .sb-snackbar-card{opacity:1;transition:opacity .3s ease-out .12s}.sb-snackbar-root[data-stage=ready] .sb-snackbar-card{opacity:1;pointer-events:auto}.sb-snackbar-root[data-stage=entering] .sb-snackbar-shell{animation:.89016s cubic-bezier(.649439,.0577174,.124599,1) .18584s both sb-snackbar-enter-scale,.893207s cubic-bezier(.649439,.0577174,.124599,1) 1.076s both sb-snackbar-enter-width}.sb-snackbar-root[data-stage=entering] .sb-snackbar-surface{transition:none}.sb-snackbar-root[data-stage=entering] .sb-snackbar-prompt,.sb-snackbar-root[data-stage=entering] .sb-snackbar-answers,.sb-snackbar-root[data-stage=entering] .sb-snackbar-close{animation:.2s ease-out 1.076s both sb-snackbar-label}.sb-snackbar-root[data-stage=entering] .sb-snackbar-timer{animation:.2s ease-out 1.96921s both sb-snackbar-label}.sb-root--inline .sb-snackbar-root{position:absolute}@keyframes sb-snackbar-countdown{0%{transform:scaleX(1)}to{transform:scaleX(0)}}@keyframes sb-snackbar-enter-scale{0%{scale:0}to{scale:1}}@keyframes sb-snackbar-enter-width{0%{width:var(--sb-snackbar-compact-height,64px);translate:var(--sb-snackbar-entrance-offset) 0}to{width:var(--sb-snackbar-width);translate:0}}@keyframes sb-snackbar-label{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){.sb-snackbar-root[data-counting=true] .sb-snackbar-timer-fill{animation-duration:var(--sb-snackbar-duration)!important}.sb-snackbar-root .sb-snackbar-shell,.sb-snackbar-root .sb-snackbar-surface,.sb-snackbar-root .sb-snackbar-card,.sb-snackbar-root .sb-snackbar-compact,.sb-snackbar-root .sb-snackbar-overlay{transition:none}.sb-snackbar-root[data-stage=entering] .sb-snackbar-shell,.sb-snackbar-root[data-stage=entering] .sb-snackbar-prompt,.sb-snackbar-root[data-stage=entering] .sb-snackbar-timer,.sb-snackbar-root[data-stage=entering] .sb-snackbar-close,.sb-snackbar-root[data-stage=entering] .sb-snackbar-answers{animation:none}}.sb-snackbar-root[data-presentation=bar]{--sb-bar-hidden-y:max(80px, 100%)}.sb-snackbar-root[data-presentation=bar][data-position=top]{--sb-bar-hidden-y:calc(-1 * max(80px, 100%))}.sb-snackbar-root[data-presentation=bar][data-position=top] .sb-snackbar-shell{top:var(--sb-bar-top,0px);transition:left .2s ease-in-out,top .2s ease-in-out,width .2s ease-in-out;bottom:auto}.sb-snackbar-root[data-presentation=bar]:not([data-expanded=true]) .sb-snackbar-surface{box-shadow:none;border-radius:0}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-compact{border-block-start:1px solid var(--sb-snackbar-border);min-height:48px;padding:10px max(108px, env(safe-area-inset-right,0px)) 10px max(108px, env(safe-area-inset-left,0px));pointer-events:auto;justify-content:center}.sb-snackbar-root[data-presentation=bar][data-position=bottom] .sb-snackbar-compact{padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}.sb-snackbar-root[data-presentation=bar][data-position=top] .sb-snackbar-compact{padding-top:calc(10px + env(safe-area-inset-top,0px));border-block-start:0;border-block-end:1px solid var(--sb-snackbar-border)}.sb-bar-content{align-items:center;gap:12px;min-width:0;transition:opacity .25s ease-out;display:flex;position:relative}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-prompt{text-align:center;text-wrap:pretty;flex:0 auto;font-size:14px;font-weight:400;line-height:1.3}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-answers{gap:4px}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-answer{border:1px solid var(--sb-snackbar-border);background:var(--sb-snackbar-surface);-webkit-tap-highlight-color:transparent;border-radius:36px;width:36px;height:24px;transition:background .18s,border-color .18s,scale .15s ease-out}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-answer svg{width:14.4px;height:14.4px}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-answer[aria-pressed=true]{background:var(--sb-snackbar-active);color:var(--sb-snackbar-on-active)}.sb-bar-acknowledgement{opacity:0;visibility:hidden;pointer-events:none;text-align:center;color:var(--sb-snackbar-text);justify-content:center;align-items:center;padding:10px 24px;font-size:18px;font-weight:600;line-height:1.4;transition:opacity .35s cubic-bezier(.16,1,.3,1) .1s,translate .35s cubic-bezier(.16,1,.3,1) .1s;display:flex;position:absolute;inset:0;translate:0 10px}.sb-snackbar-root[data-rated=true] .sb-bar-content,.sb-snackbar-root[data-rated=true] .sb-bar-dismiss,.sb-snackbar-root[data-rated=true][data-presentation=bar] .sb-snackbar-timer{opacity:0;pointer-events:none}.sb-snackbar-root[data-rated=true] .sb-bar-acknowledgement{opacity:1;visibility:visible;translate:0}.sb-bar-acknowledgement-copy{overflow-wrap:anywhere;min-width:0;max-width:100%}.sb-snackbar-root[data-presentation=bar][data-rated=true] .sb-snackbar-compact{min-height:var(--sb-snackbar-height,48px)}.sb-bar-dismiss{inset-inline-end:20px;width:68px;height:44px;color:var(--sb-theme-content-body);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:0;margin:0;padding:0 5px;font-size:14px;line-height:1.3;transition:opacity .25s ease-out;position:absolute;top:50%;translate:0 -50%}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-answer:hover:not(:disabled){background:var(--sb-snackbar-surface)}@media (hover:hover){.sb-snackbar-root[data-presentation=bar] .sb-snackbar-answer:hover:not(:disabled){background:var(--sb-snackbar-hover);border-color:var(--sb-theme-input-border)}}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-answer:not(:disabled):active{background:var(--sb-snackbar-pressed);scale:.96}.sb-bar-dismiss:focus-visible{outline:2px solid var(--sb-snackbar-text);outline-offset:2px}.sb-bar-dismiss:disabled{cursor:default}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-timer{transition:opacity .25s ease-out}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-timer--bar{inset-inline:auto 25px;background:var(--sb-snackbar-border);width:58px;height:1px;top:calc(50% + 8px);bottom:auto}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-timer--bar .sb-snackbar-timer-fill{background:var(--sb-theme-content-body)}.sb-snackbar-root[data-presentation=bar][data-paused=true] .sb-snackbar-timer-fill{animation-play-state:paused}.sb-snackbar-root[data-presentation=bar][data-stage=entering] .sb-snackbar-shell{animation:.45s cubic-bezier(.16,1,.3,1) .4s both sb-bar-enter}.sb-snackbar-root[data-presentation=bar][data-exiting=true] .sb-snackbar-shell{pointer-events:none;animation:.4s cubic-bezier(.55,0,.55,.2) both sb-bar-exit}.sb-snackbar-root[data-presentation=bar][data-exiting=true] .sb-snackbar-overlay{opacity:0;pointer-events:none}.sb-snackbar-root[data-presentation=bar][data-exiting=true][data-expanded=true] .sb-snackbar-shell{animation:.4s ease-out both sb-bar-card-exit}.sb-snackbar-root[data-presentation=bar][data-stage=entering] .sb-snackbar-prompt,.sb-snackbar-root[data-presentation=bar][data-stage=entering] .sb-snackbar-answers,.sb-snackbar-root[data-presentation=bar][data-stage=entering] .sb-snackbar-timer{animation:none}@keyframes sb-bar-enter{0%{translate:0 var(--sb-bar-hidden-y)}to{translate:0}}@keyframes sb-bar-exit{0%{translate:0}to{translate:0 var(--sb-bar-hidden-y)}}@keyframes sb-bar-fade-in{0%{opacity:0}to{opacity:1}}@keyframes sb-bar-fade-out{0%{opacity:1}to{opacity:0}}@keyframes sb-bar-card-exit{0%{opacity:1;translate:0}to{opacity:0;translate:0 12px}}@media (width<=768px){.sb-snackbar-root[data-presentation=bar] .sb-snackbar-compact{padding-inline:max(24px, env(safe-area-inset-left,0px)) max(24px, env(safe-area-inset-right,0px))}.sb-bar-content{width:100%}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-prompt{text-align:start;flex:1}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-answers{gap:5.333px}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-answer{border-radius:48px;width:48px;height:32px}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-answer svg{width:19.2px;height:19.2px}.sb-bar-acknowledgement{text-align:start;justify-content:flex-start}.sb-snackbar-root[data-presentation=bar][data-timed=true] .sb-bar-dismiss{display:none}.sb-snackbar-root[data-presentation=bar][data-timed=false] .sb-bar-content{padding-inline-end:76px}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-timer--bar{inset-inline:0;width:auto;top:0}.sb-snackbar-root[data-presentation=bar][data-position=top] .sb-snackbar-timer--bar{top:auto;bottom:0}}.sb-root--inline .sb-snackbar-root[data-presentation=bar] .sb-snackbar-compact{padding-block:10px}@media (prefers-reduced-motion:reduce){.sb-snackbar-root[data-presentation=bar][data-stage=entering] .sb-snackbar-shell{animation:.15s ease-out both sb-bar-fade-in}.sb-snackbar-root[data-presentation=bar][data-exiting=true] .sb-snackbar-shell,.sb-snackbar-root[data-presentation=bar][data-exiting=true][data-expanded=true] .sb-snackbar-shell{animation:.15s ease-out both sb-bar-fade-out}.sb-snackbar-root[data-presentation=bar][data-position=top] .sb-snackbar-shell{transition:none}.sb-bar-acknowledgement{transition:opacity .15s ease-out;translate:none}.sb-bar-content,.sb-bar-dismiss{transition:opacity .15s ease-out}.sb-snackbar-root[data-presentation=bar] .sb-snackbar-answer:not(:disabled):active{scale:1}}.sb-sheet__close:before{content:\"\";background:currentColor;width:24px;height:24px;display:block;-webkit-mask:url(\"data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='close'%3e%3cpath%20id='Vector'%20d='M12%2013.4L7.1%2018.3C6.91667%2018.4833%206.68333%2018.575%206.4%2018.575C6.11667%2018.575%205.88333%2018.4833%205.7%2018.3C5.51667%2018.1167%205.425%2017.8833%205.425%2017.6C5.425%2017.3167%205.51667%2017.0833%205.7%2016.9L10.6%2012L5.7%207.1C5.51667%206.91667%205.425%206.68333%205.425%206.4C5.425%206.11667%205.51667%205.88333%205.7%205.7C5.88333%205.51667%206.11667%205.425%206.4%205.425C6.68333%205.425%206.91667%205.51667%207.1%205.7L12%2010.6L16.9%205.7C17.0833%205.51667%2017.3167%205.425%2017.6%205.425C17.8833%205.425%2018.1167%205.51667%2018.3%205.7C18.4833%205.88333%2018.575%206.11667%2018.575%206.4C18.575%206.68333%2018.4833%206.91667%2018.3%207.1L13.4%2012L18.3%2016.9C18.4833%2017.0833%2018.575%2017.3167%2018.575%2017.6C18.575%2017.8833%2018.4833%2018.1167%2018.3%2018.3C18.1167%2018.4833%2017.8833%2018.575%2017.6%2018.575C17.3167%2018.575%2017.0833%2018.4833%2016.9%2018.3L12%2013.4Z'%20fill='%23E8E8E8'/%3e%3c/g%3e%3c/svg%3e\") 50%/24px 24px no-repeat;mask:url(\"data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='close'%3e%3cpath%20id='Vector'%20d='M12%2013.4L7.1%2018.3C6.91667%2018.4833%206.68333%2018.575%206.4%2018.575C6.11667%2018.575%205.88333%2018.4833%205.7%2018.3C5.51667%2018.1167%205.425%2017.8833%205.425%2017.6C5.425%2017.3167%205.51667%2017.0833%205.7%2016.9L10.6%2012L5.7%207.1C5.51667%206.91667%205.425%206.68333%205.425%206.4C5.425%206.11667%205.51667%205.88333%205.7%205.7C5.88333%205.51667%206.11667%205.425%206.4%205.425C6.68333%205.425%206.91667%205.51667%207.1%205.7L12%2010.6L16.9%205.7C17.0833%205.51667%2017.3167%205.425%2017.6%205.425C17.8833%205.425%2018.1167%205.51667%2018.3%205.7C18.4833%205.88333%2018.575%206.11667%2018.575%206.4C18.575%206.68333%2018.4833%206.91667%2018.3%207.1L13.4%2012L18.3%2016.9C18.4833%2017.0833%2018.575%2017.3167%2018.575%2017.6C18.575%2017.8833%2018.4833%2018.1167%2018.3%2018.3C18.1167%2018.4833%2017.8833%2018.575%2017.6%2018.575C17.3167%2018.575%2017.0833%2018.4833%2016.9%2018.3L12%2013.4Z'%20fill='%23E8E8E8'/%3e%3c/g%3e%3c/svg%3e\") 50%/24px 24px no-repeat}:host{--sb-surface:var(--sb-theme-sheet-background,#fff);--sb-surface-muted:var(--sb-theme-button-secondary-background,#f2f2f2);--sb-border:var(--sb-theme-input-border,#0808081f);--sb-border-strong:#0808083d;--sb-border-active:var(--sb-theme-input-focused-border,#080808b3);--sb-text:var(--sb-theme-content-heading,#080808);--sb-text-muted:var(--sb-theme-content-body,#5c5c5c);--sb-overlay:var(--sb-theme-sheet-scrim,#00000061);--sb-ease:cubic-bezier(.2, .9, .2, 1);--sb-fab-motion-ease:cubic-bezier(.649439, .0577174, .124599, 1);--sb-sheet-motion-ease:cubic-bezier(0, .87, .39, 1);font-family:-apple-system,BlinkMacSystemFont,system-ui,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}.sb-safe-area-probe{visibility:hidden;pointer-events:none;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);position:fixed;inset:0}.sb-fab{right:16px;bottom:calc(24px + env(safe-area-inset-bottom,0px));z-index:1000;box-sizing:border-box;border:1px solid var(--sb-theme-fab-border,#080808);background:var(--sb-theme-fab-background,#080808);min-width:0;height:60px;color:var(--sb-theme-fab-foreground,#fff);border-color:var(--sb-theme-fab-border,#080808);cursor:pointer;will-change:transform;align-items:center;transition:scale .12s ease-out;display:inline-flex;position:fixed;overflow:hidden}.sb-fab--entering{animation:sb-fab-enter-scale .89016s var(--sb-fab-motion-ease) .259705s both, sb-fab-enter-width .893207s var(--sb-fab-motion-ease) 1.076s both;transform-origin:50%!important}.sb-fab--entering .sb-fab__label{animation:sb-fab-label-in .2s var(--sb-fab-motion-ease) 1.14987s both}.sb-fab--entering .sb-fab__timer{animation:sb-fab-timer-in .2s var(--sb-fab-motion-ease) 1.96921s both}.sb-fab--entering .sb-fab__timer-fill{animation-delay:1.96921s}.sb-fab--exiting{width:var(--sb-fab-exit-width,var(--sb-fab-expanded-width));pointer-events:none;scale:var(--sb-fab-exit-scale,1);translate:var(--sb-fab-exit-offset,0) 0;animation:.292089s cubic-bezier(.677885,.170122,.695982,.997824) .3s forwards sb-fab-exit-width,.390467s cubic-bezier(.362165,.0946429,.49708,.932961) .466372s forwards sb-fab-exit-scale;transform:none;transform-origin:50%!important}.sb-fab--exiting .sb-fab__label{opacity:var(--sb-fab-exit-label-opacity,1);animation:.389727s cubic-bezier(.5,0,.5,1) .3s forwards sb-fab-label-out}.sb-fab--exiting .sb-fab__timer{opacity:var(--sb-fab-exit-timer-opacity,0)}.sb-fab--exiting .sb-fab__badge{animation:.297243s cubic-bezier(.5,0,1,.600461) .398177s forwards sb-fab-badge-out}.sb-next:hover,.sb-next:focus-visible,.sb-button:hover,.sb-button:focus-visible,.sb-choice:hover,.sb-choice:focus-visible{transform:translateY(-1px)}.sb-fab:active{transition-duration:80ms;scale:.97}.sb-fab:focus-visible,.sb-next:focus-visible,.sb-button:focus-visible,.sb-choice:focus-visible,.sb-sheet__close:focus-visible,.sb-sentiment:focus-visible,.sb-sheet-root__overlay:focus-visible{outline-offset:2px;outline:2px solid #6366f1a6}.sb-sheet h2[tabindex=\"-1\"]:focus{outline:none}.sb-fab--expanded{width:var(--sb-fab-expanded-width,auto);border-radius:999px;justify-content:flex-start;gap:12px;min-height:60px;padding:13px 28px 13px 14px}.sb-fab__label{z-index:1;width:var(--sb-fab-label-width,auto);color:currentColor;text-align:left;white-space:nowrap;text-overflow:clip;min-width:0;font-size:14px;font-weight:600;line-height:1;position:relative;overflow:hidden}.sb-fab__badge{z-index:1;background:var(--sb-theme-fab-accent-primary,#f97316);border-radius:50%;flex:none;place-items:center;width:32px;height:32px;display:grid;position:relative}.sb-fab__badge-artwork{background:var(--sb-theme-fab-accent-secondary,#2563eb);border-radius:50%;display:block;position:absolute;inset:5.44px}.sb-fab__badge-image{z-index:2;border-radius:inherit;object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.sb-fab__badge-glyph-center,.sb-fab__badge-glyph-amber,.sb-fab__badge-glyph-mint,.sb-fab__badge-glyph-rose{border-radius:999px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.sb-fab__badge-glyph-center{background:var(--sb-theme-fab-foreground,#fff);border-radius:3.52px;width:4.16px;height:11.52px}.sb-fab__badge-glyph-amber{background:#fac143;width:2.88px;height:6.72px;translate:-3.04px .8px}.sb-fab__badge-glyph-mint{background:#39c690;width:2.88px;height:5.44px;translate:3.04px -.32px}.sb-fab__badge-glyph-rose{background:#e86398;width:2.56px;height:4.16px;translate:.96px 3.68px}.sb-fab__timer{z-index:0;pointer-events:none;position:absolute;overflow:hidden}.sb-fab__timer--bar{background:var(--sb-theme-fab-timer-track,#08080829);border-radius:999px;height:2px;bottom:4px;left:59px;right:29px}.sb-fab[data-timer-direction=rtl] .sb-fab__timer--bar{left:29px;right:59px}.sb-fab__timer--fill{border-radius:inherit;background:var(--sb-theme-fab-timer-track,#08080829);inset:0}.sb-fab__timer-fill{border-radius:inherit;background:var(--sb-theme-fab-timer-fill,#080808e6);width:100%;height:100%;transform-origin:var(--sb-fab-timer-origin,left);animation:sb-fab-timer-bar var(--sb-timer-duration) linear forwards;display:block}.sb-sheet-root{z-index:1100;position:fixed;inset:0}.sb-sheet-root__overlay{background:var(--sb-overlay);cursor:pointer;border:none;animation:.2s ease-in both sb-overlay-in;position:absolute;inset:0}.sb-sheet-root--exiting{pointer-events:none}.sb-sheet-root--exiting .sb-sheet-root__overlay{animation:.2s ease-in forwards sb-overlay-out}.sb-sheet{width:min(100%,100vw);min-height:418px;padding:24px 20px calc(18px + env(safe-area-inset-bottom,0px));box-sizing:border-box;background:var(--sb-surface);box-shadow:var(--sb-shadow);color:var(--sb-text);animation:sb-sheet-in-mobile .45s var(--sb-sheet-motion-ease) both;border-radius:40px 40px 0 0;position:absolute;bottom:0;left:0;right:0}.sb-sheet--thanks{min-height:381px;padding-top:18px}.sb-sheet__header{justify-content:flex-end;align-items:flex-start;min-height:28px;margin-bottom:22px;display:flex;position:relative}.sb-progress{background:var(--sb-theme-sheet-progress-track,#eaeaea);border-radius:999px;width:219px;max-width:calc(100% - 96px);height:6px;position:absolute;top:5px;left:50%;overflow:hidden;transform:translate(-50%)}.sb-progress__fill{border-radius:inherit;background:var(--sb-theme-sheet-progress-fill,#080808);height:100%;transition:width .22s var(--sb-ease);display:block}.sb-sheet__close{background:var(--sb-theme-sheet-close-button-background,transparent);width:20px;height:20px;color:var(--sb-theme-sheet-close-button-foreground,var(--sb-text));cursor:pointer;border:none;padding:0}.sb-sheet__close svg,.sb-next svg,.sb-thanks__icon-core svg{width:100%;height:100%;display:block}.sb-sheet__body{gap:26px;display:grid}.sb-sheet__copy{justify-items:center;gap:8px;display:grid}.sb-sheet__eyebrow{color:var(--sb-theme-content-helper,var(--sb-text-muted));text-align:center;margin:0;font-size:16px;font-weight:400;line-height:1.4}.sb-sheet__body h2,.sb-thanks__copy h2{color:var(--sb-theme-content-heading,var(--sb-text));text-align:center;margin:0;font-size:22px;font-weight:600;line-height:1.2}.sb-sheet__body h2{justify-self:center;width:min(297px,100%)}.sb-choice--selected,.sb-choice:hover,.sb-textarea-shell:focus-within{border-color:var(--sb-theme-choice-hover-border,var(--sb-border-active))}.sb-choice:hover{background:var(--sb-theme-choice-hover-background,var(--sb-surface));color:var(--sb-theme-choice-hover-foreground,var(--sb-text))}.sb-choice:active{border-color:var(--sb-theme-choice-pressed-border,var(--sb-border-active));background:var(--sb-theme-choice-pressed-background,var(--sb-surface-muted));color:var(--sb-theme-choice-pressed-foreground,var(--sb-text))}.sb-choice--selected{box-shadow:0 0 0 3px #0808080d}.sb-choice:disabled{border-color:var(--sb-theme-choice-disabled-border,#e2e2e2);background:var(--sb-theme-choice-disabled-background,#f2f2f2);color:var(--sb-theme-choice-disabled-foreground,#5c5c5c);cursor:not-allowed}.sb-question--choices{grid-template-columns:repeat(2,160px);justify-content:center;justify-self:center;gap:9px;width:min(330px,100%)}.sb-choice{border:1px solid var(--sb-theme-choice-default-border,#e2e2e2);background:var(--sb-theme-choice-default-background,var(--sb-surface));width:160px;height:51px;color:var(--sb-theme-choice-default-foreground,var(--sb-text));text-align:center;white-space:nowrap;cursor:pointer;transition:transform .2s var(--sb-ease), border-color .18s ease, box-shadow .18s ease, background-color .18s ease;border-radius:999px;justify-content:center;align-items:center;padding:0 16px;font-size:16px;font-weight:700;line-height:1.2;display:flex}.sb-choice__label{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.sb-choice--other{border-color:var(--sb-theme-choice-default-border,#e2e2e2);padding:0;font-weight:400}.sb-choice__other-content{align-items:center;gap:0;display:inline-flex}.sb-choice__other-caret{background:var(--sb-theme-input-foreground,var(--sb-text));flex:none;width:1px;height:22px}.sb-choice__other-label{color:var(--sb-theme-input-placeholder,#08080866);line-height:1.2}.sb-choice--selected{border-color:var(--sb-theme-choice-selected-border,var(--sb-text));background:var(--sb-theme-choice-selected-background,var(--sb-text));color:var(--sb-theme-choice-selected-foreground,var(--sb-surface))}.sb-question--text{justify-self:center;width:min(330px,100%)}.sb-textarea-shell{border:1px solid var(--sb-theme-input-border,#08080833);background:var(--sb-theme-input-background,var(--sb-surface));border-radius:16px;width:100%;min-height:155px;transition:border-color .18s,box-shadow .18s}.sb-textarea{resize:none;width:100%;min-height:155px;color:var(--sb-theme-input-foreground,var(--sb-text));font:inherit;box-sizing:border-box;background:0 0;border:none;outline:none;padding:16px 22px;font-size:16px;line-height:1.2}.sb-textarea::placeholder{color:var(--sb-theme-input-placeholder,#08080866)}.sb-textarea-shell:focus-within{border-color:var(--sb-theme-input-focused-border,var(--sb-border-active))}.sb-textarea:disabled{color:var(--sb-theme-input-disabled-foreground,var(--sb-text-muted))}.sb-textarea-shell:has(.sb-textarea:disabled){background:var(--sb-theme-input-disabled-background,var(--sb-surface-muted))}.sb-sheet__footer{min-height:84px;margin:0 -20px calc(-18px - env(safe-area-inset-bottom,0px));padding:18px 20px calc(18px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--sb-theme-sheet-divider,#e2e2e2);box-sizing:border-box;justify-content:flex-end;align-items:center;gap:16px;display:flex}.sb-next,.sb-button{cursor:pointer;min-height:48px;font:inherit;transition:transform .2s var(--sb-ease), opacity .18s ease, box-shadow .18s ease;border:none;border-radius:999px}.sb-next{background:var(--sb-theme-button-primary-background,#080808);width:101px;color:var(--sb-theme-button-primary-foreground,#fff);place-items:center;padding:0;display:grid}.sb-next--acknowledging svg{animation:.36s cubic-bezier(.2,.8,.2,1) both sb-next-acknowledgement}.sb-next:disabled,.sb-button:disabled{cursor:not-allowed;box-shadow:none;transform:none}.sb-next:disabled{background:var(--sb-theme-button-primary-disabled-background,#080808);color:var(--sb-theme-button-primary-disabled-foreground,#fff)}.sb-thanks{justify-items:center;gap:23px;padding-top:12px;display:grid}.sb-thanks__icon-shell{background:var(--sb-theme-completion-outer-background,#f0f0f0);border-radius:999px;place-items:center;width:120px;height:120px;display:grid}.sb-thanks__icon-core{background:var(--sb-theme-completion-inner-background,#080808);width:66px;height:66px;color:var(--sb-theme-completion-glyph,#fff);border-radius:999px;place-items:center;display:grid}.sb-thanks__copy{gap:8px;max-width:313px;display:grid}.sb-thanks__copy h2{letter-spacing:-.03em;font-size:30px;line-height:1.1}.sb-thanks__copy p{color:var(--sb-theme-content-body,var(--sb-text-muted));text-align:center;margin:0;font-size:14px;line-height:1.3}.sb-thanks__actions{gap:10px;width:100%;display:flex}.sb-button{flex:1 1 0;padding:16px;font-size:14px;font-weight:600;line-height:1}.sb-button--primary{background:var(--sb-theme-button-primary-background,#080808);color:var(--sb-theme-button-primary-foreground,#fff)}.sb-button--secondary{background:var(--sb-theme-button-secondary-background,#f2f2f2);color:var(--sb-theme-button-secondary-foreground,var(--sb-text))}.sb-button--tertiary{background:var(--sb-theme-button-tertiary-background,transparent);color:var(--sb-theme-button-tertiary-foreground,var(--sb-text))}.sb-button--primary:hover,.sb-button--primary:focus-visible{background:var(--sb-theme-button-primary-hover-background,#080808)}.sb-button--secondary:hover,.sb-button--secondary:focus-visible{background:var(--sb-theme-button-secondary-hover-background,#f2f2f2)}.sb-button--tertiary:hover,.sb-button--tertiary:focus-visible{background:var(--sb-theme-button-tertiary-hover-background,#f2f2f2)}.sb-button--primary:active{background:var(--sb-theme-button-primary-pressed-background,#080808)}.sb-button--secondary:active{background:var(--sb-theme-button-secondary-pressed-background,#e2e2e2)}.sb-button--tertiary:active{background:var(--sb-theme-button-tertiary-pressed-background,#e2e2e2)}.sb-button--primary:disabled{background:var(--sb-theme-button-primary-disabled-background,#080808);color:var(--sb-theme-button-primary-disabled-foreground,#fff)}.sb-button--secondary:disabled{background:var(--sb-theme-button-secondary-disabled-background,#f2f2f2);color:var(--sb-theme-button-secondary-disabled-foreground,var(--sb-text))}.sb-button--tertiary:disabled{background:var(--sb-theme-button-tertiary-disabled-background,#f2f2f2);color:var(--sb-theme-button-tertiary-disabled-foreground,var(--sb-text))}@media (width>=768px){.sb-fab{bottom:24px;right:24px}}.sb-sheet-root__overlay{padding:0}.sb-sheet{top:auto;right:auto;bottom:calc(8px + env(safe-area-inset-bottom,0px));width:min(376px,100% - 24px);min-height:0;max-height:calc(100% - 16px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));box-shadow:none;animation:sb-card-in .45s var(--sb-sheet-motion-ease) both;interpolate-size:allow-keywords;border-radius:40px;padding:0;transition:height .45s cubic-bezier(0,.83,.363,.994);position:absolute;left:50%;overflow:hidden;transform:translate(-50%)}.sb-sheet-root--exiting .sb-sheet{animation:.45s ease-in forwards sb-card-out}.sb-sheet--thanks{min-height:0;padding:22px 20px}.sb-sheet__header{height:50px;min-height:0;margin:0;display:block;position:relative}.sb-progress{width:216px;max-width:calc(100% - 96px);height:6px;top:27px}.sb-progress__fill{transition:width .45s var(--sb-sheet-motion-ease)}.sb-sheet__close{box-sizing:border-box;border-radius:1000px;width:40px;height:40px;padding:8px;position:absolute;top:10px;right:16px}.sb-sheet__body{display:block}.sb-step{animation:.25s ease-in-out both sb-step-in}.sb-sheet__copy{box-sizing:border-box;align-content:center;justify-items:center;gap:0;height:88px;padding:0 23px;display:grid}.sb-sheet__body h2{text-align:center;text-wrap:balance;width:100%;margin:0;font-size:19px;font-weight:600;line-height:1.22}.sb-sheet__body--sentiment{padding:12px 24px 22px}.sb-sheet__body--sentiment .sb-sheet__copy{gap:8px;height:auto;min-height:84px;padding:0}.sb-sheet__body--sentiment .sb-sheet__eyebrow{color:var(--sb-theme-content-helper,var(--sb-text-muted));text-align:center;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:16px;font-weight:400;line-height:1.2;display:-webkit-box;overflow:hidden}.sb-sheet__body--sentiment h2{-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:22px;font-weight:600;line-height:1.2;display:-webkit-box;overflow:hidden}.sb-sheet__body--sentiment h2.sb-sheet__acknowledgement{align-content:center;min-height:70px;font-size:29px;line-height:1.08;animation:.28s cubic-bezier(.2,.8,.2,1) both sb-acknowledgement-in}.sb-question{justify-items:stretch;display:grid}.sb-question--sentiment{grid-template-columns:repeat(2,80px);justify-content:center;gap:25px;width:185px;margin:37px auto 31px;position:relative}.sb-sheet__body--sentiment:has(.sb-sheet__acknowledgement) .sb-question--sentiment{margin-top:35px}.sb-sentiment{z-index:0;border:1.111px solid var(--sb-theme-choice-default-border,#e2e2e2);background:var(--sb-theme-choice-default-background,var(--sb-surface));width:80px;height:80px;color:var(--sb-theme-choice-default-foreground,var(--sb-text));cursor:pointer;border-radius:50%;place-items:center;padding:0;transition:transform .12s ease-out,border-color .18s,background-color .18s;display:grid;position:relative}.sb-sentiment__icon{z-index:1;width:35.5556px;height:35.5556px}.sb-sentiment__icon svg{width:100%;height:100%;display:block}.sb-sentiment:hover{border-color:var(--sb-theme-choice-hover-border,var(--sb-border-active));background:var(--sb-theme-choice-hover-background,var(--sb-surface));color:var(--sb-theme-choice-hover-foreground,var(--sb-text))}.sb-sentiment:active{border-color:var(--sb-theme-choice-pressed-border,var(--sb-border-active));background:var(--sb-theme-choice-pressed-background,var(--sb-surface-muted));color:var(--sb-theme-choice-pressed-foreground,var(--sb-text));transform:scale(.97)}.sb-sentiment--selected,.sb-sentiment--selected:disabled{border-color:var(--sb-theme-choice-selected-border,var(--sb-text));background:var(--sb-theme-choice-selected-background,var(--sb-text));color:var(--sb-theme-choice-selected-foreground,var(--sb-surface))}.sb-sentiment:disabled:not(.sb-sentiment--selected){border-color:var(--sb-theme-choice-disabled-border,#e2e2e2);background:var(--sb-theme-choice-disabled-background,#f2f2f2);color:var(--sb-theme-choice-disabled-foreground,#5c5c5c)}.sb-sentiment:disabled{cursor:default}.sb-spark-ring{z-index:-1;pointer-events:none;animation:.22s cubic-bezier(.25,.46,.45,.94) both sb-spark-ring-in;position:absolute;inset:-26px}.sb-spark-ring__spark{--sb-spark-angle:calc(var(--sb-spark-index) * 30deg);width:7px;height:7px;transform:translate(-50%, -50%) rotate(var(--sb-spark-angle)) translateY(-54px);background:#dedede;border-radius:50%;position:absolute;top:50%;left:50%}.sb-spark-ring__spark:nth-child(2n){width:12px;height:12px;transform:translate(-50%, -50%) rotate(var(--sb-spark-angle)) translateY(-59px)}.sb-question--choices,.sb-question--text{justify-self:stretch;width:auto;margin:0 24px}.sb-question--choices{scrollbar-gutter:stable;align-content:start;gap:8px;max-height:320.5px;overflow:hidden auto}.sb-question--choices-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sb-question--choices-single{grid-template-columns:minmax(0,1fr)}.sb-question--choices-scrolling{padding-bottom:20px}.sb-choice{white-space:normal;overflow-wrap:anywhere;width:100%;min-width:0;height:51px;padding:0 8px}.sb-question--choices-single .sb-choice{text-align:left;border-radius:16px;justify-content:flex-start;height:auto;min-height:51px;padding:16px 22px}.sb-choice--other{color:var(--sb-theme-input-placeholder,#08080866);gap:0;font-weight:400}.sb-choice--other:before{background:var(--sb-theme-input-foreground,var(--sb-text));flex:0 0 1px;width:1px;height:22px;position:static;transform:none}.sb-question--text{padding-top:10px}.sb-question--other{animation:.25s ease-in-out both sb-step-in}.sb-textarea-shell,.sb-textarea{height:155px;min-height:155px}.sb-textarea{padding:17px 22px;font-size:16px;font-weight:400;line-height:1.2}.sb-sheet__body--question{padding-bottom:16px}.sb-sheet__footer{border-top:1px solid var(--sb-theme-sheet-divider,#e2e2e2);justify-content:flex-end;align-items:center;gap:16px;min-height:84px;margin:0;padding:16px 20px 20px;display:flex}.sb-sheet__footer-comment{color:var(--sb-theme-content-helper,var(--sb-text-muted));text-align:left;-webkit-line-clamp:2;-webkit-box-orient:vertical;flex:auto;margin:0;font-size:16px;font-weight:600;line-height:1.2;animation:.18s ease-out both sb-footer-comment-in,.18s ease-in 1s forwards sb-footer-comment-out;display:-webkit-box;overflow:hidden}.sb-next{flex:0 0 101px;height:48px}.sb-next svg{width:20px;height:20px;transform:none}.sb-sheet--completing .sb-progress__fill{transition-duration:.5s}.sb-thanks{gap:23px;padding:0;animation:.3s ease-in-out .89s both sb-completion-in}.sb-thanks__icon-shell{animation:sb-completion-icon-in .72s var(--sb-sheet-motion-ease) .35s both}.sb-thanks__icon-core svg{width:35.44px;height:27.02px}.sb-thanks__copy{width:100%;max-width:330px}.sb-thanks__copy h2{letter-spacing:-.6px;font-weight:600}.sb-thanks__copy p{max-width:292px;margin-inline:auto;line-height:1.5}.sb-thanks__actions{gap:10px}.sb-choice-measure{white-space:nowrap;visibility:hidden;width:max-content;padding:0 8px;font-size:16px;font-weight:700;position:fixed;top:-10000px;left:-10000px}.sb-choice-measure--other{padding-left:9px;padding-right:8px;font-weight:400}@keyframes sb-fab-enter-scale{0%{scale:0}to{scale:1}}@keyframes sb-fab-enter-width{0%{width:60px;translate:var(--sb-fab-anchor-offset) 0}to{width:var(--sb-fab-expanded-width);translate:0}}@keyframes sb-fab-label-in{0%{opacity:0}to{opacity:1}}@keyframes sb-fab-timer-in{0%{opacity:0}to{opacity:1}}@keyframes sb-fab-exit-width{0%{width:var(--sb-fab-exit-width,var(--sb-fab-expanded-width));translate:var(--sb-fab-exit-offset,0) 0}to{width:60px;translate:var(--sb-fab-anchor-offset) 0}}@keyframes sb-fab-label-out{0%{opacity:var(--sb-fab-exit-label-opacity,1)}to{opacity:0}}@keyframes sb-fab-badge-out{0%{scale:1}to{scale:0}}@keyframes sb-fab-exit-scale{0%{scale:var(--sb-fab-exit-scale,1)}to{scale:0}}@keyframes sb-sheet-in-mobile{0%{opacity:0;transform:translateY(28px)}to{opacity:1;transform:translateY(0)}}@keyframes sb-sheet-in-desktop{0%{opacity:0;transform:translate(-50%,calc(28px - 50%))}to{opacity:1;transform:translate(-50%,-50%)}}@keyframes sb-sheet-out-mobile{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(100%)}}@keyframes sb-sheet-out-desktop{0%{opacity:1;transform:translate(-50%,-50%)}to{opacity:0;transform:translate(-50%,100vh)}}@keyframes sb-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes sb-overlay-out{0%{opacity:1}to{opacity:0}}@keyframes sb-fab-timer-bar{0%{transform:scaleX(1)}to{transform:scaleX(0)}}@keyframes sb-card-in{0%{opacity:0;transform:translate(-50%,28px)}to{opacity:1;transform:translate(-50%)}}@keyframes sb-card-out{0%{opacity:1;transform:translate(-50%)}to{opacity:0;transform:translate(-50%,calc(100% + 8px))}}@keyframes sb-step-in{0%{opacity:0}to{opacity:1}}@keyframes sb-acknowledgement-in{0%{opacity:0;transform:scale(1.12)}to{opacity:1;transform:scale(1)}}@keyframes sb-next-acknowledgement{0%,to{rotate:0deg;scale:1}39%{rotate:-14deg;scale:1.18}}@keyframes sb-spark-ring-in{0%{opacity:0;transform:scale(.55)}to{opacity:1;transform:scale(1)}}@keyframes sb-footer-comment-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes sb-footer-comment-out{0%{opacity:1}to{opacity:0}}@keyframes sb-completion-icon-in{0%{opacity:0;transform:translateY(46px)scale(.72)}58%{opacity:1;transform:translateY(46px)scale(1.82)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes sb-completion-in{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.sb-fab--entering,.sb-fab--entering .sb-fab__label,.sb-fab--entering .sb-fab__timer,.sb-fab--exiting,.sb-fab--exiting .sb-fab__label,.sb-fab--exiting .sb-fab__badge,.sb-sheet,.sb-step,.sb-spark-ring,.sb-sheet__acknowledgement,.sb-sheet__footer-comment,.sb-thanks,.sb-thanks__icon-shell,.sb-sheet-root__overlay,.sb-sheet-root--exiting .sb-sheet,.sb-sheet-root--exiting .sb-sheet-root__overlay{animation-duration:.001ms;animation-delay:0s}.sb-fab--entering .sb-fab__timer-fill{animation-delay:0s}.sb-sheet__footer-comment{animation:none}}";
|
|
457
457
|
//#endregion
|
|
458
458
|
//#region src/ui/snackbar-ui.ts
|
|
459
459
|
function V(e, t) {
|
|
460
460
|
let n = document.createElement(e);
|
|
461
461
|
return n.className = t, n;
|
|
462
462
|
}
|
|
463
|
-
var
|
|
463
|
+
var ie = class {
|
|
464
464
|
root = V("div", "sb-snackbar-root");
|
|
465
465
|
shell = V("div", "sb-snackbar-shell");
|
|
466
466
|
surface = V("div", "sb-snackbar-surface");
|
|
@@ -486,7 +486,7 @@ var re = class {
|
|
|
486
486
|
this.store = e, this.safeAreaProbe = r, this.renderCard = i, this.onReady = a, this.session = t;
|
|
487
487
|
let o = t.sentimentPresentation === "bar";
|
|
488
488
|
this.root.dataset.presentation = t.sentimentPresentation, this.root.dataset.position = t.barPosition;
|
|
489
|
-
let s = t.survey.questions[t.survey.root_node_id], { imageUrl: c } =
|
|
489
|
+
let s = t.survey.questions[t.survey.root_node_id], { imageUrl: c } = h(s, t.survey.fab);
|
|
490
490
|
this.compact.setAttribute("role", "group"), this.compact.setAttribute("aria-label", s.prompt);
|
|
491
491
|
let l = V("span", "sb-snackbar-artwork");
|
|
492
492
|
l.setAttribute("aria-hidden", "true");
|
|
@@ -503,19 +503,19 @@ var re = class {
|
|
|
503
503
|
}
|
|
504
504
|
let d = V("p", "sb-snackbar-prompt");
|
|
505
505
|
d.textContent = s.prompt, o && t.barBehavior === "dismiss" && (this.acknowledgement.setAttribute("role", "status"), this.acknowledgement.append(this.acknowledgementCopy));
|
|
506
|
-
let
|
|
506
|
+
let f = V("div", "sb-snackbar-answers");
|
|
507
507
|
for (let n of s.answers ?? []) {
|
|
508
508
|
let r = document.createElement("button");
|
|
509
|
-
r.type = "button", r.className = "sb-snackbar-answer", r.setAttribute("aria-label", n.label), r.innerHTML =
|
|
509
|
+
r.type = "button", r.className = "sb-snackbar-answer", r.setAttribute("aria-label", n.label), r.innerHTML = p(n) ? z : B, r.addEventListener("click", () => e.answerSnackbar(t.presentationId, n.id)), this.answers.set(n.id, r), f.append(r);
|
|
510
510
|
}
|
|
511
|
-
let
|
|
512
|
-
|
|
511
|
+
let m = t.survey.fab?.timerStyle ?? "none", g = null;
|
|
512
|
+
m !== "none" && (g = V("span", `sb-snackbar-timer sb-snackbar-timer--${m}`), g.setAttribute("aria-hidden", "true"), g.append(V("span", "sb-snackbar-timer-fill")), m === "bar" && !o ? d.append(g) : this.compact.append(g)), o || this.compact.append(l), o ? (this.barContent.append(d, f), this.compact.append(this.barContent)) : this.compact.append(d, f), this.overlay.type = "button", this.overlay.className = "sb-snackbar-overlay", this.overlay.tabIndex = -1, this.overlay.setAttribute("aria-hidden", "true"), this.overlay.addEventListener("click", () => void e.closeSurvey()), this.close.type = "button", this.close.className = o ? "sb-bar-dismiss" : "sb-snackbar-close", o ? this.close.textContent = "Not Now" : (this.close.setAttribute("aria-label", "Close survey"), this.close.innerHTML = I), this.close.addEventListener("click", () => void e.closeSurvey()), this.surface.append(this.compact, this.card), this.shell.append(this.surface), o ? this.compact.append(this.close) : this.shell.append(this.close), o && t.barBehavior === "dismiss" && this.compact.append(this.acknowledgement), this.root.append(this.overlay, this.shell), n.append(this.root), this.observer = typeof ResizeObserver > "u" ? null : new ResizeObserver(this.updatePlacement), this.observer?.observe(this.compact), this.observer?.observe(this.card), window.addEventListener("resize", this.updatePlacement), window.visualViewport?.addEventListener("resize", this.updatePlacement), window.visualViewport?.addEventListener("scroll", this.updatePlacement), o && (this.surface.addEventListener("pointerenter", this.onPointerEnter), this.surface.addEventListener("pointerleave", this.onPointerLeave)), this.update(t), this.after(o ? this.reducedMotion() ? D.reduced : ne : this.reducedMotion() ? 0 : m === "none" ? E.entrance : E.timerEntrance, () => {
|
|
513
513
|
this.stage = "compact", this.updateStage(), e.confirmPresentation("expanded_fab", t.presentationId), e.confirmFabEntranceCompleted(t.presentationId), o && this.surface.matches(":hover") && window.matchMedia?.("(hover: hover)").matches && e.setBarTimerPaused(t.presentationId, !0);
|
|
514
514
|
});
|
|
515
515
|
}
|
|
516
516
|
update(e) {
|
|
517
517
|
this.session = e;
|
|
518
|
-
for (let [t, n] of Object.entries(
|
|
518
|
+
for (let [t, n] of Object.entries(T(e.survey.theme))) this.root.style.setProperty(t, n);
|
|
519
519
|
this.root.style.setProperty("--sb-snackbar-duration", `${e.survey.fab?.expandedTimeout ?? 0}ms`), this.root.style.setProperty("--sb-snackbar-fraction", String(e.snackbar?.frozenFraction ?? 1)), this.root.dataset.counting = String(e.snackbar?.deadline != null || e.snackbar?.pausedRemainingMs != null), this.root.dataset.paused = String(e.snackbar?.pausedRemainingMs != null), this.root.dataset.timed = String((e.survey.fab?.timerStyle === "bar" || e.survey.fab?.timerStyle === "fill") && typeof e.survey.fab.expandedTimeout == "number" && e.survey.fab.expandedTimeout > 0), this.root.dataset.frozen = String(e.snackbar?.frozenFraction != null), this.root.dataset.expanded = String(e.isOpen), this.root.dataset.behavior = e.barBehavior;
|
|
520
520
|
let t = e.sentimentPresentation === "bar" && e.barBehavior === "dismiss" && e.snackbar?.selectedKey != null;
|
|
521
521
|
if (this.root.dataset.rated = String(t), this.barContent.inert = t, this.barContent.toggleAttribute("inert", t), this.barContent.setAttribute("aria-hidden", String(t)), e.sentimentPresentation === "bar" && e.barBehavior === "dismiss") {
|
|
@@ -525,9 +525,9 @@ var re = class {
|
|
|
525
525
|
for (let [t, n] of this.answers) n.disabled = !e.fabEntranceCompleted || e.snackbar?.phase !== "question", n.setAttribute("aria-pressed", String(e.snackbar?.selectedKey === t));
|
|
526
526
|
if (e.isOpen) {
|
|
527
527
|
let t = this.renderCard(e);
|
|
528
|
-
this.card.contains(t) || this.card.replaceChildren(t), this.expanded || (this.expanded = !0, this.stage = "widening", this.after(this.reducedMotion() ? 0 :
|
|
528
|
+
this.card.contains(t) || this.card.replaceChildren(t), this.expanded || (this.expanded = !0, this.stage = "widening", this.after(this.reducedMotion() ? 0 : E.widen, () => {
|
|
529
529
|
this.stage = "expanding", this.updateStage();
|
|
530
|
-
}), this.after(this.reducedMotion() ? 0 :
|
|
530
|
+
}), this.after(this.reducedMotion() ? 0 : E.widen + E.expand, () => {
|
|
531
531
|
this.stage = "ready", this.updateStage(), this.store.confirmPresentation("sheet", e.presentationId), this.store.confirmSnackbarContentReady(e.presentationId), this.onReady();
|
|
532
532
|
}));
|
|
533
533
|
}
|
|
@@ -538,7 +538,7 @@ var re = class {
|
|
|
538
538
|
}
|
|
539
539
|
updatePlacement = () => {
|
|
540
540
|
if (this.stage === "exiting") return;
|
|
541
|
-
let e = window.visualViewport, t = e?.width || window.innerWidth, n = e?.height || window.innerHeight, r = getComputedStyle(this.safeAreaProbe), i = (e) => Number.parseFloat(e) || 0, { survey: a } = this.session, { placement: o } =
|
|
541
|
+
let e = window.visualViewport, t = e?.width || window.innerWidth, n = e?.height || window.innerHeight, r = getComputedStyle(this.safeAreaProbe), i = (e) => Number.parseFloat(e) || 0, { survey: a } = this.session, { placement: o } = h(a.questions[a.root_node_id], a.fab), s = {
|
|
542
542
|
viewport: {
|
|
543
543
|
width: t,
|
|
544
544
|
height: n
|
|
@@ -553,12 +553,12 @@ var re = class {
|
|
|
553
553
|
cardHeight: this.card.querySelector(".sb-sheet")?.offsetHeight || 0,
|
|
554
554
|
barPosition: this.session.sentimentPresentation === "bar" ? this.session.barPosition : void 0
|
|
555
555
|
};
|
|
556
|
-
this.root.style.setProperty("--sb-snackbar-compact-width", `${
|
|
556
|
+
this.root.style.setProperty("--sb-snackbar-compact-width", `${O(o, s).compactWidth}px`);
|
|
557
557
|
let c = this.root.dataset.rated === "true";
|
|
558
558
|
c && (this.compact.style.minHeight = "48px");
|
|
559
559
|
let l = getComputedStyle(this.compact), u = Number.parseFloat(l.height) || this.compact.offsetHeight || (s.barPosition ? 48 : 64), d = c ? Math.max(u, this.acknowledgementCopy.scrollHeight + i(l.paddingTop) + i(l.paddingBottom)) : u;
|
|
560
560
|
c && this.compact.style.removeProperty("min-height");
|
|
561
|
-
let f =
|
|
561
|
+
let f = O(o, {
|
|
562
562
|
...s,
|
|
563
563
|
compactHeight: d
|
|
564
564
|
});
|
|
@@ -569,11 +569,11 @@ var re = class {
|
|
|
569
569
|
"ready"
|
|
570
570
|
].includes(this.stage);
|
|
571
571
|
this.root.style.setProperty("--sb-bar-top", `${p ? f.cardTop : 0}px`);
|
|
572
|
-
let
|
|
572
|
+
let m = ["expanding", "ready"].includes(this.stage), g = {
|
|
573
573
|
left: p ? f.cardLeft : f.compactLeft,
|
|
574
574
|
bottom: p ? f.cardBottom : f.compactBottom,
|
|
575
575
|
width: p ? f.cardWidth : f.compactWidth,
|
|
576
|
-
height:
|
|
576
|
+
height: m ? f.cardHeight : d,
|
|
577
577
|
"compact-height": d,
|
|
578
578
|
"card-width": f.cardWidth,
|
|
579
579
|
"compact-width": f.compactWidth,
|
|
@@ -594,7 +594,7 @@ var re = class {
|
|
|
594
594
|
for (let e of this.timers) clearTimeout(e);
|
|
595
595
|
this.timers.clear(), this.stage = "exiting", this.root.dataset.exiting = "true";
|
|
596
596
|
for (let e of this.answers.values()) e.disabled = !0;
|
|
597
|
-
this.updateStage(), this.after(this.reducedMotion() ?
|
|
597
|
+
this.updateStage(), this.after(this.reducedMotion() ? D.reduced : D.removal, () => {
|
|
598
598
|
this.destroy(), e();
|
|
599
599
|
});
|
|
600
600
|
}
|
|
@@ -609,7 +609,7 @@ var re = class {
|
|
|
609
609
|
for (let e of this.timers) clearTimeout(e);
|
|
610
610
|
this.observer?.disconnect(), window.removeEventListener("resize", this.updatePlacement), window.visualViewport?.removeEventListener("resize", this.updatePlacement), window.visualViewport?.removeEventListener("scroll", this.updatePlacement), this.surface.removeEventListener("pointerenter", this.onPointerEnter), this.surface.removeEventListener("pointerleave", this.onPointerLeave), this.root.remove();
|
|
611
611
|
}
|
|
612
|
-
}, H = 1969.207,
|
|
612
|
+
}, H = 1969.207, ae = 2169.207, oe = 856.839, se = 450;
|
|
613
613
|
function U(e, t) {
|
|
614
614
|
let n = document.createElement(e);
|
|
615
615
|
return t && (n.className = t), n;
|
|
@@ -618,7 +618,7 @@ function W(e, t) {
|
|
|
618
618
|
let n = U("button", e);
|
|
619
619
|
return n.type = "button", t && n.setAttribute("aria-label", t), n;
|
|
620
620
|
}
|
|
621
|
-
var
|
|
621
|
+
var ce = 0, le = class {
|
|
622
622
|
host;
|
|
623
623
|
root;
|
|
624
624
|
store;
|
|
@@ -640,14 +640,14 @@ var se = 0, ce = class {
|
|
|
640
640
|
restoreFocus = null;
|
|
641
641
|
restoreFocusPending = !1;
|
|
642
642
|
safeAreaProbe;
|
|
643
|
-
uiId = ++
|
|
643
|
+
uiId = ++ce;
|
|
644
644
|
snackbarUi = null;
|
|
645
645
|
snackbarIdentity = null;
|
|
646
646
|
outgoingSnackbarUis = /* @__PURE__ */ new Set();
|
|
647
647
|
constructor(e, t = document.body) {
|
|
648
648
|
this.store = e, this.host = U("div"), this.host.setAttribute("data-sideband", ""), this.host.tabIndex = -1;
|
|
649
649
|
let n = this.host.attachShadow({ mode: "open" }), r = document.createElement("style");
|
|
650
|
-
r.textContent =
|
|
650
|
+
r.textContent = re, n.appendChild(r), this.safeAreaProbe = U("div", "sb-safe-area-probe"), n.appendChild(this.safeAreaProbe), this.root = U("div"), n.appendChild(this.root), t.appendChild(this.host), this.applyTheme(), this.unsubscribe = e.subscribe((e) => {
|
|
651
651
|
if (e === "text") {
|
|
652
652
|
this.updateContinueButton();
|
|
653
653
|
return;
|
|
@@ -699,7 +699,7 @@ var se = 0, ce = class {
|
|
|
699
699
|
}
|
|
700
700
|
selectedChoice(e) {
|
|
701
701
|
let t = this.store.currentDraft()?.answer_key;
|
|
702
|
-
return e.answers?.find((e) =>
|
|
702
|
+
return e.answers?.find((e) => u(e) === t);
|
|
703
703
|
}
|
|
704
704
|
selectedChoiceComment(e) {
|
|
705
705
|
return this.selectedChoice(e)?.comment?.trim() || null;
|
|
@@ -726,7 +726,7 @@ var se = 0, ce = class {
|
|
|
726
726
|
})) : e.destroy(), this.snackbarUi = null, this.snackbarIdentity = null, this.sheetEl = null, this.sheetRootEl = null;
|
|
727
727
|
}
|
|
728
728
|
if (t?.snackbar) {
|
|
729
|
-
this.snackbarUi ? (this.snackbarUi.update(t), e && t.snackbar.phase === "journey" && this.focusSheet()) : (this.startActiveFabExit(), this.sheetExitTimer !== null && clearTimeout(this.sheetExitTimer), this.sheetRootEl?.remove(), this.sheetEl = null, this.sheetRootEl = null, this.restoreFocus = document.activeElement instanceof HTMLElement ? document.activeElement : null, this.snackbarIdentity = t.presentationId, this.snackbarUi = new
|
|
729
|
+
this.snackbarUi ? (this.snackbarUi.update(t), e && t.snackbar.phase === "journey" && this.focusSheet()) : (this.startActiveFabExit(), this.sheetExitTimer !== null && clearTimeout(this.sheetExitTimer), this.sheetRootEl?.remove(), this.sheetEl = null, this.sheetRootEl = null, this.restoreFocus = document.activeElement instanceof HTMLElement ? document.activeElement : null, this.snackbarIdentity = t.presentationId, this.snackbarUi = new ie(this.store, t, this.root, this.safeAreaProbe, (e) => this.sheetEl && this.sheetRootEl ? (this.fillSheet(this.sheetEl, e), this.sheetRootEl) : this.renderSheet(e), () => this.focusSheet()));
|
|
730
730
|
return;
|
|
731
731
|
}
|
|
732
732
|
if (t && (t.isOpen || t.completion)) {
|
|
@@ -754,31 +754,31 @@ var se = 0, ce = class {
|
|
|
754
754
|
this.continueButton.disabled = !!e?.isBusy || !this.store.canContinue();
|
|
755
755
|
}
|
|
756
756
|
renderFab(e) {
|
|
757
|
-
let { survey: t, fabState: n } = e, r =
|
|
757
|
+
let { survey: t, fabState: n } = e, r = o(t), i = W(`sb-fab sb-fab--${n} sb-fab--entering`, r);
|
|
758
758
|
i.addEventListener("click", () => {
|
|
759
759
|
this.restoreFocus = i, this.store.openSurvey();
|
|
760
760
|
});
|
|
761
|
-
let
|
|
762
|
-
if (
|
|
761
|
+
let a = U("span", "sb-fab__badge");
|
|
762
|
+
if (a.setAttribute("aria-hidden", "true"), t.fab?.imageUrl) {
|
|
763
763
|
let e = U("img", "sb-fab__badge-image");
|
|
764
|
-
e.src = t.fab.imageUrl, e.alt = "", e.addEventListener("error", () => e.remove(), { once: !0 }),
|
|
764
|
+
e.src = t.fab.imageUrl, e.alt = "", e.addEventListener("error", () => e.remove(), { once: !0 }), a.appendChild(e);
|
|
765
765
|
}
|
|
766
766
|
let s = U("span", "sb-fab__badge-artwork");
|
|
767
|
-
if (s.appendChild(U("span", "sb-fab__badge-glyph-center")), s.appendChild(U("span", "sb-fab__badge-glyph-amber")), s.appendChild(U("span", "sb-fab__badge-glyph-mint")), s.appendChild(U("span", "sb-fab__badge-glyph-rose")),
|
|
767
|
+
if (s.appendChild(U("span", "sb-fab__badge-glyph-center")), s.appendChild(U("span", "sb-fab__badge-glyph-amber")), s.appendChild(U("span", "sb-fab__badge-glyph-mint")), s.appendChild(U("span", "sb-fab__badge-glyph-rose")), a.appendChild(s), i.appendChild(a), n === "expanded") {
|
|
768
768
|
let e = U("span", "sb-fab__label");
|
|
769
769
|
e.textContent = r, i.appendChild(e);
|
|
770
770
|
}
|
|
771
771
|
return i;
|
|
772
772
|
}
|
|
773
773
|
applyTheme(e) {
|
|
774
|
-
let t = e ?
|
|
774
|
+
let t = e ? te(e) : ee;
|
|
775
775
|
for (let [e, n] of Object.entries(t)) this.host.style.setProperty(e, n);
|
|
776
776
|
}
|
|
777
777
|
applyFabPresentation(e, t) {
|
|
778
778
|
this.updateFabPlacement(e, t), this.applyFabTimer(e, t);
|
|
779
779
|
}
|
|
780
780
|
updateFabPlacement(e, t) {
|
|
781
|
-
let n = window.visualViewport, r = n && Number.isFinite(n.width) && n.width > 0 ? n.width : window.innerWidth, i = n && Number.isFinite(n.height) && n.height > 0 ? n.height : window.innerHeight, a = n && Number.isFinite(n.offsetLeft) ? n.offsetLeft : 0, o = n && Number.isFinite(n.offsetTop) ? n.offsetTop : 0, s = this.readSafeArea(), c = e.querySelector(".sb-fab__label"), l = c ? c.scrollWidth || c.getBoundingClientRect().width || this.estimatedTextWidth(c.textContent ?? "") : 0, u = Math.max(0, r - s.left - s.right), d = Math.min(u, Math.max(86, 86 + Math.ceil(l))), f = e.getBoundingClientRect(), p = e.offsetHeight || f.height || 60, m =
|
|
781
|
+
let n = window.visualViewport, r = n && Number.isFinite(n.width) && n.width > 0 ? n.width : window.innerWidth, i = n && Number.isFinite(n.height) && n.height > 0 ? n.height : window.innerHeight, a = n && Number.isFinite(n.offsetLeft) ? n.offsetLeft : 0, o = n && Number.isFinite(n.offsetTop) ? n.offsetTop : 0, s = this.readSafeArea(), c = e.querySelector(".sb-fab__label"), l = c ? c.scrollWidth || c.getBoundingClientRect().width || this.estimatedTextWidth(c.textContent ?? "") : 0, u = Math.max(0, r - s.left - s.right), d = Math.min(u, Math.max(86, 86 + Math.ceil(l))), f = e.getBoundingClientRect(), p = e.offsetHeight || f.height || 60, m = P(t.survey.fab?.placement, {
|
|
782
782
|
viewport: {
|
|
783
783
|
width: r,
|
|
784
784
|
height: i
|
|
@@ -794,7 +794,7 @@ var se = 0, ce = class {
|
|
|
794
794
|
e.style.setProperty("--sb-fab-anchor-offset", `${(d - 60) * h}px`);
|
|
795
795
|
}
|
|
796
796
|
applyFabTimer(e, t) {
|
|
797
|
-
let n =
|
|
797
|
+
let n = F(t.survey.fab?.timerStyle, t.survey.fab?.expandedTimeout, "forward"), r = `${n.style}:${n.durationMs ?? "static"}`, i = e.querySelector(".sb-fab__timer");
|
|
798
798
|
e.dataset.timerStyle = n.style;
|
|
799
799
|
for (let [t, r] of Object.entries(n.cssVariables)) e.style.setProperty(t, r);
|
|
800
800
|
if (!n.visible) {
|
|
@@ -813,7 +813,7 @@ var se = 0, ce = class {
|
|
|
813
813
|
this.fabEntranceTimer = setTimeout(() => {
|
|
814
814
|
this.fabEntranceTimer = null, !(this.activeFabEl !== e || this.activeFabIdentity !== t) && (this.store.confirmPresentation("expanded_fab"), this.store.confirmFabEntranceCompleted());
|
|
815
815
|
}, n ? 0 : H);
|
|
816
|
-
let r = e.querySelector(".sb-fab__timer") ?
|
|
816
|
+
let r = e.querySelector(".sb-fab__timer") ? ae : H;
|
|
817
817
|
this.fabSettlingTimer = setTimeout(() => {
|
|
818
818
|
this.fabSettlingTimer = null, this.activeFabEl === e && this.activeFabIdentity === t && e.classList.remove("sb-fab--entering");
|
|
819
819
|
}, n ? 0 : r);
|
|
@@ -827,7 +827,7 @@ var se = 0, ce = class {
|
|
|
827
827
|
this.clearFabEntranceTimer();
|
|
828
828
|
let t = getComputedStyle(e), n = Number.parseFloat(t.width) || e.offsetWidth || 314, r = Number.parseFloat(e.style.getPropertyValue("--sb-fab-expanded-width")) || n, i = Number.parseFloat(e.style.getPropertyValue("--sb-fab-anchor-offset")) || 0, a = r === 60 ? 0 : i / (r - 60), o = e.querySelector(".sb-fab__label"), s = e.querySelector(".sb-fab__timer");
|
|
829
829
|
e.style.setProperty("--sb-fab-exit-width", `${n}px`), e.style.setProperty("--sb-fab-exit-offset", `${(r - n) * a}px`), e.style.setProperty("--sb-fab-exit-scale", t.getPropertyValue("scale") || "1"), e.style.setProperty("--sb-fab-exit-label-opacity", o ? getComputedStyle(o).opacity : "0"), e.style.setProperty("--sb-fab-exit-timer-opacity", s ? getComputedStyle(s).opacity : "0"), e.classList.remove("sb-fab--entering"), e.classList.add("sb-fab--exiting"), e.disabled = !0, e.setAttribute("aria-hidden", "true"), e.tabIndex = -1, this.activeFabEl = null, this.activeFabIdentity = null, this.outgoingFabEls.add(e);
|
|
830
|
-
let c = this.prefersReducedMotion() ? 0 :
|
|
830
|
+
let c = this.prefersReducedMotion() ? 0 : oe, l = setTimeout(() => {
|
|
831
831
|
this.fabExitTimers.delete(l), this.outgoingFabEls.delete(e), e.remove(), this.restoreFocusWhenAnimationsComplete();
|
|
832
832
|
}, c);
|
|
833
833
|
this.fabExitTimers.add(l);
|
|
@@ -838,7 +838,7 @@ var se = 0, ce = class {
|
|
|
838
838
|
e.classList.add("sb-sheet-root--exiting"), e.setAttribute("aria-hidden", "true"), e.querySelectorAll("button").forEach((e) => {
|
|
839
839
|
e.disabled = !0;
|
|
840
840
|
}), this.sheetEl = null;
|
|
841
|
-
let t = this.prefersReducedMotion() ? 0 :
|
|
841
|
+
let t = this.prefersReducedMotion() ? 0 : se;
|
|
842
842
|
this.sheetExitTimer = setTimeout(() => {
|
|
843
843
|
this.sheetExitTimer = null, this.sheetRootEl === e && (e.remove(), this.sheetRootEl = null, this.restoreFocusWhenAnimationsComplete());
|
|
844
844
|
}, t);
|
|
@@ -894,7 +894,7 @@ var se = 0, ce = class {
|
|
|
894
894
|
n && (e.setAttribute("aria-labelledby", `sb-question-${this.uiId}`), e.removeAttribute("aria-describedby"), this.renderQuestionSheet(e, t, n));
|
|
895
895
|
}
|
|
896
896
|
renderQuestionSheet(e, t, n) {
|
|
897
|
-
let r = this.store.isSentimentStep(), i = this.selectedChoice(n), a = !!(i &&
|
|
897
|
+
let r = this.store.isSentimentStep(), i = this.selectedChoice(n), a = !!(i && m(i)), o = `${t.presentationId}:${n.node_id}:${a ? "text" : "question"}`, s = this.renderedSheetStep !== o;
|
|
898
898
|
this.renderedSheetStep = o;
|
|
899
899
|
let c = U("div", "sb-sheet__header");
|
|
900
900
|
if (r) this.renderedProgress = null;
|
|
@@ -913,15 +913,15 @@ var se = 0, ce = class {
|
|
|
913
913
|
let e = U("p", "sb-sheet__eyebrow");
|
|
914
914
|
e.textContent = t.survey.title, d.appendChild(e);
|
|
915
915
|
}
|
|
916
|
-
let
|
|
917
|
-
if (
|
|
916
|
+
let p = U("h2");
|
|
917
|
+
if (p.id = `sb-question-${this.uiId}`, p.tabIndex = -1, p.textContent = f ?? n.prompt, f && (p.className = "sb-sheet__acknowledgement", p.setAttribute("aria-live", "polite")), d.appendChild(p), u.appendChild(d), u.appendChild(this.renderQuestionView(n, r)), e.appendChild(u), this.store.shouldShowContinue()) {
|
|
918
918
|
let r = U("div", "sb-sheet__footer"), i = this.selectedChoiceComment(n);
|
|
919
919
|
if (i) {
|
|
920
920
|
let e = U("p", "sb-sheet__footer-comment");
|
|
921
921
|
e.textContent = i, e.setAttribute("aria-live", "polite"), r.appendChild(e);
|
|
922
922
|
}
|
|
923
923
|
let a = W("sb-next", "Continue");
|
|
924
|
-
this.selectedChoice(n) && a.classList.add("sb-next--acknowledging"), a.innerHTML =
|
|
924
|
+
this.selectedChoice(n) && a.classList.add("sb-next--acknowledging"), a.innerHTML = L, a.disabled = t.isBusy || t.isCompleting || !this.store.canContinue(), a.addEventListener("click", () => void this.store.advance()), r.appendChild(a), e.appendChild(r), this.continueButton = a;
|
|
925
925
|
}
|
|
926
926
|
}
|
|
927
927
|
renderQuestionView(e, t) {
|
|
@@ -929,9 +929,9 @@ var se = 0, ce = class {
|
|
|
929
929
|
if (t) {
|
|
930
930
|
let e = U("div", "sb-question sb-question--sentiment");
|
|
931
931
|
return this.store.sentimentChoices().forEach((t) => {
|
|
932
|
-
let a = n?.answer_key ===
|
|
933
|
-
o.dataset.choiceValue =
|
|
934
|
-
let s =
|
|
932
|
+
let a = n?.answer_key === u(t), o = W(`sb-sentiment ${a ? "sb-sentiment--selected" : ""}`, t.label);
|
|
933
|
+
o.dataset.choiceValue = u(t), o.disabled = i || !!r?.sentimentSelectionLocked, o.setAttribute("aria-pressed", String(a));
|
|
934
|
+
let s = p(t);
|
|
935
935
|
if (a && s) {
|
|
936
936
|
let e = U("span", "sb-spark-ring");
|
|
937
937
|
e.setAttribute("aria-hidden", "true");
|
|
@@ -942,16 +942,16 @@ var se = 0, ce = class {
|
|
|
942
942
|
o.appendChild(e);
|
|
943
943
|
}
|
|
944
944
|
let c = U("span", "sb-sentiment__icon");
|
|
945
|
-
c.innerHTML = s ?
|
|
945
|
+
c.innerHTML = s ? z : B, o.appendChild(c), o.addEventListener("click", () => void this.store.selectChoice(t)), e.appendChild(o);
|
|
946
946
|
}), e;
|
|
947
947
|
}
|
|
948
948
|
if (e.type === "yes_no" || e.type === "multiple_choice") {
|
|
949
949
|
let t = this.selectedChoice(e);
|
|
950
|
-
if (t &&
|
|
950
|
+
if (t && m(t)) return this.renderTextInput(t.label, "Other response", !0, i, !0);
|
|
951
951
|
let r = this.usesTwoColumnChoices(e.answers ?? []), a = r ? Math.ceil((e.answers?.length ?? 0) / 2) : e.answers?.length ?? 0, o = U("div", `sb-question sb-question--choices sb-question--choices-${r ? "grid" : "single"} ${a >= 5 ? "sb-question--choices-scrolling" : ""}`);
|
|
952
952
|
for (let t of e.answers ?? []) {
|
|
953
|
-
let e = n?.answer_key ===
|
|
954
|
-
if (r.dataset.choiceValue =
|
|
953
|
+
let e = n?.answer_key === u(t), r = W(`sb-choice ${e ? "sb-choice--selected" : ""} ${m(t) ? "sb-choice--other" : ""}`, t.label);
|
|
954
|
+
if (r.dataset.choiceValue = u(t), r.disabled = i, r.setAttribute("aria-pressed", String(e)), m(t)) {
|
|
955
955
|
let e = U("span", "sb-choice__other-content");
|
|
956
956
|
e.setAttribute("aria-hidden", "true"), e.appendChild(U("span", "sb-choice__other-caret"));
|
|
957
957
|
let n = U("span", "sb-choice__label sb-choice__other-label");
|
|
@@ -972,11 +972,11 @@ var se = 0, ce = class {
|
|
|
972
972
|
}
|
|
973
973
|
usesTwoColumnChoices(e) {
|
|
974
974
|
return e.every((e) => {
|
|
975
|
-
let t = U("span", `sb-choice-measure ${
|
|
975
|
+
let t = U("span", `sb-choice-measure ${m(e) ? "sb-choice-measure--other" : ""}`);
|
|
976
976
|
t.textContent = e.label.trim(), this.root.appendChild(t);
|
|
977
977
|
let n = t.getBoundingClientRect().width || t.scrollWidth;
|
|
978
978
|
t.remove();
|
|
979
|
-
let r = this.estimatedTextWidth(e.label.trim()) + (
|
|
979
|
+
let r = this.estimatedTextWidth(e.label.trim()) + (m(e) ? 17 : 16);
|
|
980
980
|
return (n || r) < 160;
|
|
981
981
|
});
|
|
982
982
|
}
|
|
@@ -984,7 +984,7 @@ var se = 0, ce = class {
|
|
|
984
984
|
let t = e.completion, n = U("div", "sb-thanks"), r = U("div", "sb-thanks__icon-shell");
|
|
985
985
|
r.setAttribute("aria-hidden", "true");
|
|
986
986
|
let i = U("div", "sb-thanks__icon-core");
|
|
987
|
-
i.innerHTML =
|
|
987
|
+
i.innerHTML = R, r.appendChild(i), n.appendChild(r);
|
|
988
988
|
let a = U("div", "sb-thanks__copy");
|
|
989
989
|
a.dataset.revealContent = "", a.setAttribute("aria-hidden", "true");
|
|
990
990
|
let o = U("h2");
|
|
@@ -1004,7 +1004,7 @@ var se = 0, ce = class {
|
|
|
1004
1004
|
};
|
|
1005
1005
|
//#endregion
|
|
1006
1006
|
//#region src/index.ts
|
|
1007
|
-
function
|
|
1007
|
+
function ue(e) {
|
|
1008
1008
|
if (typeof document > "u" && e.ui !== !1) return {
|
|
1009
1009
|
track: () => {},
|
|
1010
1010
|
tagUser: () => {},
|
|
@@ -1019,31 +1019,31 @@ function le(e) {
|
|
|
1019
1019
|
getDeviceId: () => "",
|
|
1020
1020
|
destroy: () => {}
|
|
1021
1021
|
};
|
|
1022
|
-
let t = new
|
|
1022
|
+
let t = new r({
|
|
1023
1023
|
syncInteraction: async (e) => {
|
|
1024
|
-
|
|
1024
|
+
n.submitInteraction(e);
|
|
1025
1025
|
},
|
|
1026
|
-
trackEvent: (e, t) =>
|
|
1026
|
+
trackEvent: (e, t) => n.track(e, t),
|
|
1027
1027
|
shouldPresentPulse: e.shouldPresentPulse,
|
|
1028
1028
|
onRateApp: e.onRateApp,
|
|
1029
1029
|
onError: e.onError
|
|
1030
|
-
}),
|
|
1030
|
+
}), n = c({
|
|
1031
1031
|
...e,
|
|
1032
|
-
libraryVersion: "1.4.
|
|
1032
|
+
libraryVersion: "1.4.5-rc.2",
|
|
1033
1033
|
onSyncResponse: (e) => t.handleSyncResponse(e)
|
|
1034
|
-
}), i = e.ui === !1 ? null : new
|
|
1035
|
-
return
|
|
1036
|
-
track:
|
|
1037
|
-
tagUser:
|
|
1038
|
-
untagUser:
|
|
1039
|
-
sync:
|
|
1040
|
-
flush:
|
|
1034
|
+
}), i = e.ui === !1 ? null : new le(t);
|
|
1035
|
+
return n.start(), {
|
|
1036
|
+
track: n.track,
|
|
1037
|
+
tagUser: n.tagUser,
|
|
1038
|
+
untagUser: n.untagUser,
|
|
1039
|
+
sync: n.sync,
|
|
1040
|
+
flush: n.flush,
|
|
1041
1041
|
openSurvey: () => t.openSurvey(),
|
|
1042
1042
|
presentSimulatedPulse: (e) => t.presentSimulatedPulse(e),
|
|
1043
1043
|
closeSurvey: () => t.closeSurvey(),
|
|
1044
|
-
getDeviceId:
|
|
1044
|
+
getDeviceId: n.getDeviceId,
|
|
1045
1045
|
destroy: () => {
|
|
1046
|
-
|
|
1046
|
+
n.destroy(), i?.destroy(), t.destroy();
|
|
1047
1047
|
}
|
|
1048
1048
|
};
|
|
1049
1049
|
}
|
|
@@ -1054,7 +1054,7 @@ function K() {
|
|
|
1054
1054
|
}
|
|
1055
1055
|
function q(e) {
|
|
1056
1056
|
$();
|
|
1057
|
-
let t =
|
|
1057
|
+
let t = ue(e);
|
|
1058
1058
|
return G = t, t;
|
|
1059
1059
|
}
|
|
1060
1060
|
function J(e, t, n) {
|
|
@@ -1075,7 +1075,7 @@ function Q(e) {
|
|
|
1075
1075
|
function $() {
|
|
1076
1076
|
G?.destroy(), G = null;
|
|
1077
1077
|
}
|
|
1078
|
-
var
|
|
1078
|
+
var de = {
|
|
1079
1079
|
configure: q,
|
|
1080
1080
|
track: J,
|
|
1081
1081
|
tagUser: Y,
|
|
@@ -1085,4 +1085,4 @@ var ue = {
|
|
|
1085
1085
|
destroy: $
|
|
1086
1086
|
};
|
|
1087
1087
|
//#endregion
|
|
1088
|
-
export {
|
|
1088
|
+
export { e as PendingInteractionStorageError, de as Sideband, t as SidebandApiError, n as SurveySessionStore, i as SyncEngine, a as buildFabTitle, q as configure, s as createSidebandClient, $ as destroy, Z as flush, l as getChoiceValue, d as getDeviceId, f as getSessionId, Q as presentSimulatedPulse, Y as tagUser, J as track, X as untagUser };
|