@sidebandai/sideband-react 1.4.1-rc.2 → 1.4.3

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 CHANGED
@@ -1,138 +1,41 @@
1
- # @sidebandai/sideband-react
1
+ # Sideband React SDK
2
2
 
3
- Sideband event tracking and Pulse presentation for React applications.
3
+ Sideband adds in-app Pulse prompts and event tracking to React apps.
4
4
 
5
- ## Install
5
+ ## Requirements
6
+
7
+ - React 19 and React DOM 19
8
+ - A Sideband API key
9
+ - Your application's version
6
10
 
7
- Requires React 19 and React DOM 19.
11
+ ## Install
8
12
 
9
13
  ```bash
10
- npm install @sidebandai/sideband-react@rc react@^19 react-dom@^19
14
+ npm install @sidebandai/sideband-react react@^19 react-dom@^19
11
15
  ```
12
16
 
13
- The `rc` tag selects the latest release candidate. Installation uses the public
14
- npm registry and requires no registry credentials. Core is installed automatically.
15
-
16
- ## Quick start
17
+ ## Configure
17
18
 
18
- Wrap your application in `SidebandProvider` and import the stylesheet once.
19
+ Import the stylesheet once and wrap your application content in
20
+ `SidebandProvider`. Pass your API key and application version through its
21
+ `config` prop:
19
22
 
20
23
  ```tsx
21
- import { SidebandProvider, useSideband } from '@sidebandai/sideband-react'
24
+ import { SidebandProvider } from '@sidebandai/sideband-react'
22
25
  import '@sidebandai/sideband-react/style.css'
23
26
 
24
- function Checkout() {
25
- const { track } = useSideband()
26
- return <button onClick={() => track('checkout_completed', { plan: 'pro' })}>Checkout</button>
27
- }
28
-
29
27
  function App() {
30
28
  return (
31
- <SidebandProvider config={{ apiKey: 'YOUR_API_KEY' }}>
32
- <Checkout />
29
+ <SidebandProvider config={{ apiKey: 'YOUR_API_KEY', appVersion: '1.0.0' }}>
30
+ <AppContent />
33
31
  </SidebandProvider>
34
32
  )
35
33
  }
36
34
  ```
37
35
 
38
- `useSideband()` exposes `track`, `tagUser`, `untagUser`, `flush`, `sync`,
39
- `openSurvey`, `closeSurvey`, and `presentSimulatedPulse`. Event metadata is a string-to-string map.
40
- The provider owns its runtime; it does not configure the HTML package's shared
41
- client. Runtime resources start after mount and are destroyed on unmount.
42
-
43
- ## Configuration
44
-
45
- `apiKey` identifies your Sideband application. Requests use the production
46
- endpoint by default. `baseUrl` is an optional override for custom deployments
47
- and tests.
48
- `appVersion` is optional and has no default.
49
-
50
- `shouldPresentPulse(pulse)` receives `pulseId`, `version`, `title`, and optional
51
- `fab`, and returns `showNow`, `notNow`, or `never`, synchronously or asynchronously.
52
- `onError` and `onRateApp` handle background errors and rating actions.
53
-
54
- Use `SidebandProviderConfig` for configuration. Transport/pacing configuration is
55
- captured for the provider lifetime; change its React key to reinitialize.
56
- Presentation/error/rating callbacks use their latest supplied functions.
57
-
58
- `mountSidebandPulsePreview` is available from `@sidebandai/sideband-react/preview`
59
- for rendering canonical `Pulse` values without transport.
60
-
61
- ## Event metadata and Pulse targeting
62
-
63
- Pass metadata to `track` as string key-value pairs. Use metadata to describe an
64
- event without creating a separate event name for each source, item type, or mode.
65
- Only these six keys support Pulse trigger filters and event-history conditions:
66
-
67
- | Key | Value format | Example |
68
- | --- | --- | --- |
69
- | `source` | String | `'home'` |
70
- | `item_type` | String | `'article'` |
71
- | `mode` | String | `'manual'` |
72
- | `variant` | String | `'control'` |
73
- | `count` | Integer sent as a string | `'3'` |
74
- | `duration` | Seconds sent as a string; fractions allowed | `'12.5'` |
75
-
76
- Use the exact lowercase key names. The server trims and lowercases values for
77
- `source`, `item_type`, `mode`, and `variant`. These keys support equals and
78
- not-equals comparisons. It compares `count` and `duration` numerically, with
79
- equals, not-equals, greater-than, greater-than-or-equal, less-than, and
80
- less-than-or-equal comparisons. Send `duration` in seconds, not milliseconds.
81
-
82
- ```ts
83
- // Inside a component rendered within SidebandProvider:
84
- const { track } = useSideband()
85
- const onCreate = () => track('content_created', {
86
- source: 'editor',
87
- item_type: 'article',
88
- count: '3',
89
- duration: '12.5',
90
- content_id: 'article-123',
91
- })
92
- ```
93
-
94
- Call `onCreate` from the event handler for the completed action, not during
95
- component rendering.
96
-
97
- Custom keys such as `content_id`, `screen`, or `plan` are stored unchanged, but
98
- cannot be used in Pulse targeting filters. A missing key does not match any
99
- filter, including not-equals.
100
-
101
- The server stores at most 20 metadata properties per event. It keeps valid
102
- targeting keys first, then fills the remaining slots with custom keys in sorted
103
- key order. It drops empty keys and invalid targeting values without rejecting
104
- the event. For example, `count: '3.5'` and `count: '3.0'` are invalid; use
105
- `count: '3'`. Normalization and numeric comparison happen on the server, not in
106
- the SDK.
107
-
108
- ## Snackbar previews and simulations
109
-
110
- ```ts
111
- import { mountSidebandPulsePreview } from '@sidebandai/sideband-react/preview'
112
- import '@sidebandai/sideband-react/style.css'
113
-
114
- const preview = mountSidebandPulsePreview('#preview', {
115
- pulse,
116
- sentimentPresentation: 'snackbar',
117
- onInteraction: (interaction) => console.log(interaction),
118
- })
119
- // Changing this preference restarts the preview, even with the same pulse.
120
- preview.update({ sentimentPresentation: 'sheet' })
121
- preview.destroy()
122
- ```
123
-
124
- In a configured provider, `useSideband().presentSimulatedPulse({ pulse,
125
- sentimentPresentation: 'snackbar' })` returns a `Promise<boolean>`. Simulations
126
- do not report impressions or responses, or invoke the provider's `onRateApp`.
127
- Standalone previews retain their local `onInteraction`/`onRateApp` callbacks.
128
-
129
- `sentimentPresentation` defaults to `'sheet'` and is local to previews and
130
- simulations. It is not a provider configuration or server-payload field.
131
- Snackbar requires FAB configuration and a root `yes_no` question with exactly
132
- two answers, excluding `system_other`; unsupported pulses use their normal
133
- presentation. Live server-delivered pulses keep their existing behavior.
36
+ `AppContent` represents your existing application content. Replace `1.0.0` with
37
+ your application's version, not the SDK version. `appVersion` must be a
38
+ non-empty string of at most 64 characters.
134
39
 
135
- Both fixed and inline previews support all three timer styles, sheet-derived
136
- themes, keyboard controls, and reduced motion. The compact prompt is non-modal;
137
- answering retains the surface through expansion and sentiment acknowledgement
138
- before following the selected branch.
40
+ The provider presents available Pulses automatically. In server-rendered apps,
41
+ place it within a client component.
@@ -363,9 +363,29 @@ var D = {
363
363
  timerEntrance: 2169.207,
364
364
  widen: 200,
365
365
  expand: 450
366
- };
367
- function O(e, t) {
368
- 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), m = P(e, {
366
+ }, O = {
367
+ delay: 400,
368
+ enter: 450,
369
+ exit: 400,
370
+ removal: 450,
371
+ reduced: 150
372
+ }, te = O.delay + O.enter;
373
+ function k(e, t) {
374
+ let { viewport: n, safeArea: r = {}, compactHeight: i } = t, a = M(r.left) + 12, o = M(r.right) + 12, s = M(r.top) + 24, c = M(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);
375
+ if (t.barPosition) return {
376
+ compactWidth: n.width,
377
+ compactLeft: 0,
378
+ compactBottom: 0,
379
+ cardWidth: d,
380
+ cardHeight: p,
381
+ maxCardHeight: f,
382
+ cardLeft: a + (l - d) / 2,
383
+ cardBottom: c,
384
+ cardTop: M(r.top) + 12,
385
+ entranceOffset: 0,
386
+ transformOrigin: t.barPosition === "top" ? "50% 0%" : "50% 100%"
387
+ };
388
+ let m = F(e, {
369
389
  viewport: n,
370
390
  element: {
371
391
  width: u,
@@ -380,34 +400,35 @@ function O(e, t) {
380
400
  compactBottom: g,
381
401
  cardHeight: p,
382
402
  maxCardHeight: f,
383
- entranceOffset: (u - i) * N(e?.anchor).x,
403
+ cardTop: 0,
404
+ entranceOffset: (u - i) * P(e?.anchor).x,
384
405
  cardLeft: a + (l - d) / 2,
385
406
  cardBottom: Math.max(c, Math.min(g, n.height - s - p)),
386
407
  transformOrigin: m.transformOrigin
387
408
  };
388
409
  }
389
- var k = {
410
+ var A = {
390
411
  x: 1,
391
412
  y: 1
392
- }, A = {
413
+ }, j = {
393
414
  x: -16,
394
415
  y: -24
395
416
  };
396
- function j(e) {
417
+ function M(e) {
397
418
  return typeof e == "number" && Number.isFinite(e) ? Math.max(0, e) : 0;
398
419
  }
399
- function M(e) {
420
+ function N(e) {
400
421
  return typeof e == "number" && Number.isFinite(e) ? e : 0;
401
422
  }
402
- function N(e) {
403
- let t = S(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
+ function P(e) {
424
+ let t = S(e), n = typeof t.x == "number" && Number.isFinite(t.x) ? t.x : A.x, r = typeof t.y == "number" && Number.isFinite(t.y) ? t.y : A.y;
404
425
  return {
405
426
  x: Math.min(1, Math.max(0, n)),
406
427
  y: Math.min(1, Math.max(0, r))
407
428
  };
408
429
  }
409
- function P(e, t) {
410
- let n = S(e), r = N(n.position), i = N(n.anchor), a = S(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
+ function F(e, t) {
431
+ let n = S(e), r = P(n.position), i = P(n.anchor), a = S(n.offset), o = e ? N(a.x) : j.x, s = e ? N(a.y) : j.y, c = t.safeArea ?? {}, l = M(c.left), u = M(c.right), d = M(c.top), f = M(c.bottom), p = Math.max(0, M(t.viewport.width) - l - u - M(t.element.width)), m = Math.max(0, M(t.viewport.height) - d - f - M(t.element.height));
411
432
  return {
412
433
  left: l + r.x * p + o,
413
434
  top: d + r.y * m + s,
@@ -418,7 +439,7 @@ function P(e, t) {
418
439
  transformOrigin: `${i.x * 100}% ${i.y * 100}%`
419
440
  };
420
441
  }
421
- function F(e, t, n = "forward") {
442
+ function I(e, t, n = "forward") {
422
443
  let r = e === "bar" || e === "fill" ? e : "none", i = n === "reverse" ? "reverse" : "forward", a = typeof t == "number" && Number.isFinite(t) && t > 0 ? t : null;
423
444
  return {
424
445
  style: r,
@@ -434,8 +455,8 @@ function F(e, t, n = "forward") {
434
455
  }
435
456
  //#endregion
436
457
  //#region src/lib/components/SurveyFab.tsx
437
- function I({ session: t, fabRef: n, onClick: r, animationState: i }) {
438
- let { survey: a } = t, o = F(a.fab?.timerStyle, a.fab?.expandedTimeout), s = { ...o.cssVariables }, c = a.fab?.imageUrl, [l, u] = d(null), f = !!(c && l !== c);
458
+ function L({ session: t, fabRef: n, onClick: r, animationState: i }) {
459
+ let { survey: a } = t, o = I(a.fab?.timerStyle, a.fab?.expandedTimeout), s = { ...o.cssVariables }, c = a.fab?.imageUrl, [l, u] = d(null), f = !!(c && l !== c);
439
460
  return /* @__PURE__ */ g("button", {
440
461
  ref: n,
441
462
  type: "button",
@@ -481,7 +502,7 @@ function I({ session: t, fabRef: n, onClick: r, animationState: i }) {
481
502
  }
482
503
  //#endregion
483
504
  //#region src/lib/components/SurveyProgress.tsx
484
- function L({ value: e }) {
505
+ function R({ value: e }) {
485
506
  return /* @__PURE__ */ h("div", {
486
507
  className: "sb-progress",
487
508
  "aria-hidden": "true",
@@ -493,8 +514,8 @@ function L({ value: e }) {
493
514
  }
494
515
  //#endregion
495
516
  //#region src/lib/components/SurveyQuestionView.tsx
496
- var R = [];
497
- function z() {
517
+ var z = [];
518
+ function B() {
498
519
  return /* @__PURE__ */ h("svg", {
499
520
  viewBox: "0 0 35.5556 35.5556",
500
521
  "aria-hidden": "true",
@@ -504,7 +525,7 @@ function z() {
504
525
  })
505
526
  });
506
527
  }
507
- function B() {
528
+ function V() {
508
529
  return /* @__PURE__ */ h("svg", {
509
530
  viewBox: "0 0 35.5556 35.5556",
510
531
  "aria-hidden": "true",
@@ -514,7 +535,7 @@ function B() {
514
535
  })
515
536
  });
516
537
  }
517
- function V() {
538
+ function H() {
518
539
  return /* @__PURE__ */ h("span", {
519
540
  className: "sb-spark-ring",
520
541
  "aria-hidden": "true",
@@ -524,23 +545,23 @@ function V() {
524
545
  }, t))
525
546
  });
526
547
  }
527
- function H({ question: e, store: t, isSentiment: n }) {
548
+ function U({ question: e, store: t, isSentiment: n }) {
528
549
  let i = t.currentDraft(), a = t.getState(), o = !!(a?.isBusy || a?.isCompleting), s = e.answers?.find((e) => e.id === i?.answer_key);
529
- return s && r(s) ? /* @__PURE__ */ h(U, {
550
+ return s && r(s) ? /* @__PURE__ */ h(G, {
530
551
  store: t,
531
552
  disabled: o,
532
553
  placeholder: s.label,
533
554
  autoFocus: !0,
534
555
  ariaLabel: "Other response",
535
556
  isOther: !0
536
- }) : n ? /* @__PURE__ */ h(te, {
557
+ }) : n ? /* @__PURE__ */ h(W, {
537
558
  store: t,
538
559
  disabled: o || !!a?.sentimentSelectionLocked
539
560
  }) : e.type === "yes_no" || e.type === "multiple_choice" ? /* @__PURE__ */ h(ne, {
540
561
  question: e,
541
562
  store: t,
542
563
  disabled: o
543
- }) : /* @__PURE__ */ h(U, {
564
+ }) : /* @__PURE__ */ h(G, {
544
565
  store: t,
545
566
  disabled: o,
546
567
  placeholder: e.free_text_placeholder ?? "Please explain more... (Optional)",
@@ -548,7 +569,7 @@ function H({ question: e, store: t, isSentiment: n }) {
548
569
  ariaLabel: e.prompt
549
570
  });
550
571
  }
551
- function te({ store: e, disabled: t }) {
572
+ function W({ store: e, disabled: t }) {
552
573
  let r = e.currentDraft();
553
574
  return /* @__PURE__ */ h("div", {
554
575
  className: "sb-question sb-question--sentiment",
@@ -556,7 +577,7 @@ function te({ store: e, disabled: t }) {
556
577
  let a = n(i), o = r?.answer_key === i.id;
557
578
  return /* @__PURE__ */ g("span", {
558
579
  className: "sb-sentiment-control",
559
- children: [o && a ? /* @__PURE__ */ h(V, {}) : null, /* @__PURE__ */ h("button", {
580
+ children: [o && a ? /* @__PURE__ */ h(H, {}) : null, /* @__PURE__ */ h("button", {
560
581
  type: "button",
561
582
  className: `sb-yesno ${o ? "sb-yesno--selected" : ""}`,
562
583
  "data-choice-value": i.id,
@@ -566,7 +587,7 @@ function te({ store: e, disabled: t }) {
566
587
  "aria-pressed": o,
567
588
  children: /* @__PURE__ */ h("span", {
568
589
  className: "sb-yesno__icon",
569
- children: h(a ? z : B, {})
590
+ children: h(a ? B : V, {})
570
591
  })
571
592
  })]
572
593
  }, i.id);
@@ -574,7 +595,7 @@ function te({ store: e, disabled: t }) {
574
595
  });
575
596
  }
576
597
  function ne({ question: e, store: t, disabled: n }) {
577
- let i = e.answers ?? R, a = t.currentDraft(), o = u(null), [c, l] = d(() => i.every((e) => e.label.trim().length < 20));
598
+ let i = e.answers ?? z, a = t.currentDraft(), o = u(null), [c, l] = d(() => i.every((e) => e.label.trim().length < 20));
578
599
  return s(() => {
579
600
  let e = () => {
580
601
  let e = ((o.current?.clientWidth || 328) - 8) / 2, t = document.createElement("span");
@@ -628,7 +649,7 @@ function re({ choice: e, selected: n, disabled: i, store: a }) {
628
649
  })
629
650
  });
630
651
  }
631
- function U({ store: e, disabled: t, placeholder: n, autoFocus: r, ariaLabel: i, isOther: a = !1 }) {
652
+ function G({ store: e, disabled: t, placeholder: n, autoFocus: r, ariaLabel: i, isOther: a = !1 }) {
632
653
  let o = u(null);
633
654
  return s(() => {
634
655
  r && !t && o.current?.focus({ preventScroll: !0 });
@@ -705,7 +726,7 @@ function ie({ completion: e, store: t, isBusy: n, headingId: r, bodyId: i }) {
705
726
  }
706
727
  //#endregion
707
728
  //#region src/lib/components/SurveySheet.tsx
708
- var W = a(function({ session: e, store: t, modal: n, rootRef: r, interactive: i = !0 }) {
729
+ var K = a(function({ session: e, store: t, modal: n, rootRef: r, interactive: i = !0 }) {
709
730
  let a = e.currentNodeId ? e.survey.questions[e.currentNodeId] : void 0, o = !!(a && t.isSentimentStep()), l = a?.answers?.find((e) => e.id === t.currentDraft()?.answer_key), d = l?.comment?.trim() || null, f = l?.id === "system_other", p = u(null), _ = c();
710
731
  s(() => {
711
732
  if (!i) return;
@@ -752,7 +773,7 @@ var W = a(function({ session: e, store: t, modal: n, rootRef: r, interactive: i
752
773
  bodyId: y
753
774
  }) : a ? /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ g("div", {
754
775
  className: "sb-sheet__header",
755
- children: [o ? null : /* @__PURE__ */ h(L, { value: t.progress() }), /* @__PURE__ */ h("button", {
776
+ children: [o ? null : /* @__PURE__ */ h(R, { value: t.progress() }), /* @__PURE__ */ h("button", {
756
777
  type: "button",
757
778
  className: "sb-sheet__close",
758
779
  onClick: () => void t.closeSurvey(),
@@ -784,7 +805,7 @@ var W = a(function({ session: e, store: t, modal: n, rootRef: r, interactive: i
784
805
  "aria-live": o && d ? "polite" : void 0,
785
806
  children: o && d ? d : a.prompt
786
807
  })]
787
- }), /* @__PURE__ */ h(H, {
808
+ }), /* @__PURE__ */ h(U, {
788
809
  question: a,
789
810
  store: t,
790
811
  isSentiment: o
@@ -814,35 +835,39 @@ var W = a(function({ session: e, store: t, modal: n, rootRef: r, interactive: i
814
835
  }, `${a.node_id}:${f ? "text" : "options"}`)] }) : null
815
836
  })]
816
837
  });
817
- }), ae = typeof window > "u" ? s : l, G = () => window.matchMedia?.("(prefers-reduced-motion: reduce)").matches ?? !1;
818
- function oe({ session: e, store: t, placement: r, modal: a }) {
819
- let o = u(null), [c, l] = d("entering"), { presentationId: f, survey: p, snackbar: m, isOpen: _ } = e, v = _ && (c === "entering" || c === "compact") ? "widening" : c, y = p.questions[p.root_node_id], b = i(y, p.fab), x = p.fab?.timerStyle ?? "none", [S, C] = d(!1);
838
+ }), ae = typeof window > "u" ? s : l, q = () => window.matchMedia?.("(prefers-reduced-motion: reduce)").matches ?? !1;
839
+ function oe({ session: e, store: t, placement: r, modal: a, exiting: o = !1 }) {
840
+ let c = u(null), [l, f] = d("entering"), { presentationId: p, survey: _, snackbar: v, isOpen: y } = e, b = e.sentimentPresentation === "bar", x = b ? e.barPosition : void 0, S = o ? "exiting" : y && (l === "entering" || l === "compact") ? "widening" : l, C = _.questions[_.root_node_id], w = i(C, _.fab), T = _.fab?.timerStyle ?? "none", E = b && e.barBehavior === "dismiss" && v?.selectedKey != null, [A, j] = d(!1);
820
841
  s(() => {
842
+ if (o) return;
821
843
  let e = setTimeout(() => {
822
- l("compact"), t.confirmPresentation("expanded_fab", f), t.confirmFabEntranceCompleted(f);
823
- }, G() ? 0 : x === "none" ? D.entrance : D.timerEntrance);
844
+ f("compact"), t.confirmPresentation("expanded_fab", p), t.confirmFabEntranceCompleted(p), b && c.current?.querySelector(".sb-snackbar-surface")?.matches(":hover") && window.matchMedia?.("(hover: hover)").matches && t.setBarTimerPaused(p, !0);
845
+ }, b ? q() ? O.reduced : te : q() ? 0 : T === "none" ? D.entrance : D.timerEntrance);
824
846
  return () => clearTimeout(e);
825
847
  }, [
826
- f,
848
+ p,
827
849
  t,
828
- x
850
+ T,
851
+ b,
852
+ o
829
853
  ]), s(() => {
830
- if (!_) return;
831
- let e = G(), n = setTimeout(() => l("expanding"), e ? 0 : D.widen), r = setTimeout(() => {
832
- l("ready"), t.confirmPresentation("sheet", f), t.confirmSnackbarContentReady(f), o.current?.querySelector(".sb-sheet h2")?.focus({ preventScroll: !0 });
854
+ if (!y || o) return;
855
+ let e = q(), n = setTimeout(() => f("expanding"), e ? 0 : D.widen), r = setTimeout(() => {
856
+ f("ready"), t.confirmPresentation("sheet", p), t.confirmSnackbarContentReady(p), c.current?.querySelector(".sb-sheet h2")?.focus({ preventScroll: !0 });
833
857
  }, e ? 0 : D.widen + D.expand);
834
858
  return () => {
835
859
  clearTimeout(n), clearTimeout(r);
836
860
  };
837
861
  }, [
838
- _,
839
- f,
840
- t
862
+ y,
863
+ p,
864
+ t,
865
+ o
841
866
  ]), ae(() => {
842
- let e = o.current;
843
- if (!e) return;
867
+ let e = c.current;
868
+ if (!e || o) return;
844
869
  let t = () => {
845
- let t = e.parentElement, n = window.visualViewport, a = r === "inline" ? t.clientWidth : n?.width || window.innerWidth, o = r === "inline" ? t.clientHeight : n?.height || window.innerHeight, s = t.querySelector(".sb-safe-area-probe"), c = s ? getComputedStyle(s) : null, l = (e) => Number.parseFloat(e ?? "") || 0, u = e.querySelector(".sb-snackbar-compact"), d = e.querySelector(".sb-sheet"), f = i(y, p.fab).placement, m = {
870
+ let t = e.parentElement, n = window.visualViewport, a = r === "inline" ? t.clientWidth : n?.width || window.innerWidth, o = r === "inline" ? t.clientHeight : n?.height || window.innerHeight, s = t.querySelector(".sb-safe-area-probe"), c = s ? getComputedStyle(s) : null, l = (e) => Number.parseFloat(e ?? "") || 0, u = e.querySelector(".sb-snackbar-compact"), d = e.querySelector(".sb-sheet"), f = i(C, _.fab).placement, p = {
846
871
  viewport: {
847
872
  width: a,
848
873
  height: o
@@ -854,27 +879,32 @@ function oe({ session: e, store: t, placement: r, modal: a }) {
854
879
  bottom: l(c?.paddingBottom)
855
880
  },
856
881
  compactHeight: 64,
857
- cardHeight: d?.offsetHeight || 0
882
+ cardHeight: d?.offsetHeight || 0,
883
+ barPosition: x
858
884
  };
859
- e.style.setProperty("--sb-snackbar-compact-width", `${O(f, m).compactWidth}px`);
860
- let h = Number.parseFloat(getComputedStyle(u).height) || u.offsetHeight || 64, g = O(f, {
861
- ...m,
862
- compactHeight: h
885
+ e.style.setProperty("--sb-snackbar-compact-width", `${k(f, p).compactWidth}px`), E && (u.style.minHeight = "48px");
886
+ let m = getComputedStyle(u), h = Number.parseFloat(m.height) || u.offsetHeight || (x ? 48 : 64), g = E ? Math.max(h, (e.querySelector(".sb-bar-acknowledgement-copy")?.scrollHeight ?? 0) + l(m.paddingTop) + l(m.paddingBottom)) : h;
887
+ E && u.style.removeProperty("min-height");
888
+ let v = k(f, {
889
+ ...p,
890
+ compactHeight: g
863
891
  });
864
892
  r === "fixed" ? (e.style.left = `${n?.offsetLeft ?? 0}px`, e.style.top = `${n?.offsetTop ?? 0}px`, e.style.width = `${a}px`, e.style.height = `${o}px`) : (e.style.left = "0px", e.style.top = "0px", e.style.width = "100%", e.style.height = "100%");
865
- let _ = v === "widening" || v === "expanding" || v === "ready", b = v === "expanding" || v === "ready", x = {
866
- left: _ ? g.cardLeft : g.compactLeft,
867
- bottom: _ ? g.cardBottom : g.compactBottom,
868
- width: _ ? g.cardWidth : g.compactWidth,
869
- height: b ? g.cardHeight : h,
870
- "compact-height": h,
871
- "card-width": g.cardWidth,
872
- "compact-width": g.compactWidth,
873
- "entrance-offset": g.entranceOffset,
874
- "max-height": g.maxCardHeight
893
+ let y = S === "widening" || S === "expanding" || S === "ready";
894
+ e.style.setProperty("--sb-bar-top", `${y ? v.cardTop : 0}px`);
895
+ let b = S === "expanding" || S === "ready", w = {
896
+ left: y ? v.cardLeft : v.compactLeft,
897
+ bottom: y ? v.cardBottom : v.compactBottom,
898
+ width: y ? v.cardWidth : v.compactWidth,
899
+ height: b ? v.cardHeight : g,
900
+ "compact-height": g,
901
+ "card-width": v.cardWidth,
902
+ "compact-width": v.compactWidth,
903
+ "entrance-offset": v.entranceOffset,
904
+ "max-height": v.maxCardHeight
875
905
  };
876
- for (let [t, n] of Object.entries(x)) e.style.setProperty(`--sb-snackbar-${t}`, `${n}px`);
877
- e.querySelector(".sb-snackbar-shell").style.transformOrigin = g.transformOrigin;
906
+ for (let [t, n] of Object.entries(w)) e.style.setProperty(`--sb-snackbar-${t}`, `${n}px`);
907
+ e.querySelector(".sb-snackbar-shell").style.transformOrigin = v.transformOrigin;
878
908
  };
879
909
  t();
880
910
  let n = typeof ResizeObserver > "u" ? null : new ResizeObserver(t), a = e.querySelector(".sb-snackbar-compact");
@@ -885,54 +915,88 @@ function oe({ session: e, store: t, placement: r, modal: a }) {
885
915
  };
886
916
  }, [
887
917
  r,
888
- v,
889
- p,
918
+ S,
919
+ _,
920
+ C,
890
921
  y,
891
- _
922
+ x,
923
+ o,
924
+ E
892
925
  ]), s(() => {
893
- if (_) return;
926
+ if (y || o) return;
894
927
  let e = (e) => {
895
- e.key === "Escape" && o.current?.contains(document.activeElement) && t.closeSurvey();
928
+ e.key === "Escape" && c.current?.contains(document.activeElement) && t.closeSurvey();
896
929
  };
897
930
  return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
898
- }, [_, t]);
899
- let w = m?.selectedKey, T = e.fabEntranceCompleted && m?.phase === "question", E = m?.deadline != null, k = {
900
- ...ee(p.theme),
901
- "--sb-snackbar-duration": `${p.fab?.expandedTimeout ?? 0}ms`,
902
- "--sb-snackbar-fraction": m?.frozenFraction ?? 1
903
- }, A = x === "none" ? null : /* @__PURE__ */ h("span", {
904
- className: `sb-snackbar-timer sb-snackbar-timer--${x}`,
931
+ }, [
932
+ y,
933
+ t,
934
+ o
935
+ ]);
936
+ let M = v?.selectedKey, N = b && e.barBehavior === "dismiss", P = C.answers?.find((e) => e.id === M), F = P ? P.comment?.trim() || "Thanks for your feedback." : "", I = E, L = !o && e.fabEntranceCompleted && v?.phase === "question", R = v?.deadline != null || v?.pausedRemainingMs != null, z = T !== "none" && typeof _.fab?.expandedTimeout == "number" && _.fab.expandedTimeout > 0, H = {
937
+ ...ee(_.theme),
938
+ "--sb-snackbar-duration": `${_.fab?.expandedTimeout ?? 0}ms`,
939
+ "--sb-snackbar-fraction": v?.frozenFraction ?? 1
940
+ }, U = T === "none" ? null : /* @__PURE__ */ h("span", {
941
+ className: `sb-snackbar-timer sb-snackbar-timer--${T}`,
905
942
  "aria-hidden": "true",
906
943
  children: /* @__PURE__ */ h("span", { className: "sb-snackbar-timer-fill" })
907
- });
944
+ }), W = /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ g("p", {
945
+ className: "sb-snackbar-prompt",
946
+ children: [C.prompt, T === "bar" && !b ? U : null]
947
+ }), /* @__PURE__ */ h("div", {
948
+ className: "sb-snackbar-answers",
949
+ children: (C.answers ?? []).map((e) => /* @__PURE__ */ h("button", {
950
+ className: "sb-snackbar-answer",
951
+ type: "button",
952
+ "aria-label": e.label,
953
+ "aria-pressed": M === e.id,
954
+ disabled: !L,
955
+ onClick: () => t.answerSnackbar(p, e.id),
956
+ children: n(e) ? /* @__PURE__ */ h(B, {}) : /* @__PURE__ */ h(V, {})
957
+ }, e.id))
958
+ })] });
908
959
  return /* @__PURE__ */ g("div", {
909
- ref: o,
960
+ ref: c,
910
961
  className: "sb-snackbar-root",
911
- style: k,
912
- "data-stage": v,
913
- "data-expanded": _,
914
- "data-counting": E,
915
- "data-frozen": m?.frozenFraction != null,
962
+ style: H,
963
+ "data-presentation": e.sentimentPresentation,
964
+ "data-position": x,
965
+ "data-behavior": e.barBehavior,
966
+ "data-stage": S,
967
+ "data-expanded": y,
968
+ "data-counting": R,
969
+ "data-paused": v?.pausedRemainingMs != null,
970
+ "data-timed": z,
971
+ "data-rated": I,
972
+ "data-exiting": o,
973
+ "data-frozen": v?.frozenFraction != null,
916
974
  children: [/* @__PURE__ */ h("button", {
917
975
  className: "sb-snackbar-overlay",
918
976
  type: "button",
919
977
  tabIndex: -1,
920
978
  "aria-hidden": "true",
921
- disabled: v !== "ready",
979
+ disabled: S !== "ready",
922
980
  onClick: () => void t.closeSurvey()
923
981
  }), /* @__PURE__ */ g("div", {
924
982
  className: "sb-snackbar-shell",
925
983
  children: [/* @__PURE__ */ g("div", {
926
984
  className: "sb-snackbar-surface",
985
+ onPointerEnter: (e) => {
986
+ b && !o && e.pointerType === "mouse" && window.matchMedia?.("(hover: hover)").matches && t.setBarTimerPaused(p, !0);
987
+ },
988
+ onPointerLeave: () => {
989
+ b && !o && t.setBarTimerPaused(p, !1);
990
+ },
927
991
  children: [/* @__PURE__ */ g("div", {
928
992
  className: "sb-snackbar-compact",
929
993
  role: "group",
930
- "aria-label": y.prompt,
931
- "aria-hidden": _ || v === "entering",
932
- inert: _ || v === "entering",
994
+ "aria-label": C.prompt,
995
+ "aria-hidden": y || S === "entering" || o,
996
+ inert: y || S === "entering" || o,
933
997
  children: [
934
- x === "fill" ? A : null,
935
- /* @__PURE__ */ g("span", {
998
+ T === "fill" || b && T === "bar" ? U : null,
999
+ b ? null : /* @__PURE__ */ g("span", {
936
1000
  className: "sb-snackbar-artwork",
937
1001
  "aria-hidden": "true",
938
1002
  children: [/* @__PURE__ */ g("span", {
@@ -944,45 +1008,50 @@ function oe({ session: e, store: t, placement: r, modal: a }) {
944
1008
  /* @__PURE__ */ h("span", { className: "sb-fab__glyph sb-fab__glyph--mint" }),
945
1009
  /* @__PURE__ */ h("span", { className: "sb-fab__glyph sb-fab__glyph--rose" })
946
1010
  ]
947
- }), b.imageUrl && !S ? /* @__PURE__ */ h("img", {
948
- src: b.imageUrl,
1011
+ }), w.imageUrl && !A ? /* @__PURE__ */ h("img", {
1012
+ src: w.imageUrl,
949
1013
  alt: "",
950
- onError: () => C(!0)
1014
+ onError: () => j(!0)
951
1015
  }) : null]
952
1016
  }),
953
- /* @__PURE__ */ g("p", {
954
- className: "sb-snackbar-prompt",
955
- children: [y.prompt, x === "bar" ? A : null]
956
- }),
957
- /* @__PURE__ */ h("div", {
958
- className: "sb-snackbar-answers",
959
- children: (y.answers ?? []).map((e) => /* @__PURE__ */ h("button", {
960
- className: "sb-snackbar-answer",
961
- type: "button",
962
- "aria-label": e.label,
963
- "aria-pressed": w === e.id,
964
- disabled: !T,
965
- onClick: () => t.answerSnackbar(f, e.id),
966
- children: n(e) ? /* @__PURE__ */ h(z, {}) : /* @__PURE__ */ h(B, {})
967
- }, e.id))
968
- })
1017
+ b ? /* @__PURE__ */ h("div", {
1018
+ className: "sb-bar-content",
1019
+ inert: I,
1020
+ "aria-hidden": I,
1021
+ children: W
1022
+ }) : W,
1023
+ b ? /* @__PURE__ */ h("button", {
1024
+ className: "sb-bar-dismiss",
1025
+ type: "button",
1026
+ disabled: y || I || o,
1027
+ onClick: () => void t.closeSurvey(),
1028
+ children: "Not Now"
1029
+ }) : null,
1030
+ N ? /* @__PURE__ */ h("span", {
1031
+ className: "sb-bar-acknowledgement",
1032
+ role: "status",
1033
+ children: /* @__PURE__ */ h("span", {
1034
+ className: "sb-bar-acknowledgement-copy",
1035
+ children: F
1036
+ })
1037
+ }) : null
969
1038
  ]
970
- }), _ ? /* @__PURE__ */ h("div", {
1039
+ }), y ? /* @__PURE__ */ h("div", {
971
1040
  className: "sb-snackbar-card",
972
- inert: v !== "ready",
973
- "aria-hidden": v !== "ready",
974
- children: /* @__PURE__ */ h(W, {
1041
+ inert: S !== "ready",
1042
+ "aria-hidden": S !== "ready",
1043
+ children: /* @__PURE__ */ h(K, {
975
1044
  session: e,
976
1045
  store: t,
977
1046
  modal: a,
978
- interactive: v === "ready"
1047
+ interactive: S === "ready"
979
1048
  })
980
1049
  }) : null]
981
- }), /* @__PURE__ */ h("button", {
1050
+ }), b ? null : /* @__PURE__ */ h("button", {
982
1051
  className: "sb-snackbar-close",
983
1052
  type: "button",
984
1053
  "aria-label": "Close survey",
985
- disabled: _,
1054
+ disabled: y,
986
1055
  onClick: () => void t.closeSurvey(),
987
1056
  children: /* @__PURE__ */ h("svg", {
988
1057
  viewBox: "0 0 24 24",
@@ -1000,8 +1069,8 @@ function oe({ session: e, store: t, placement: r, modal: a }) {
1000
1069
  }
1001
1070
  //#endregion
1002
1071
  //#region src/lib/components/SurveyRenderer.tsx
1003
- var K = typeof window > "u" ? s : l, q = 1969.207, se = 2169.207, J = 856.839, Y = 450;
1004
- function X(e) {
1072
+ var J = typeof window > "u" ? s : l, Y = 1969.207, se = 2169.207, X = 856.839, Z = 450;
1073
+ function Q(e) {
1005
1074
  let t = Number.parseFloat(e);
1006
1075
  return Number.isFinite(t) ? Math.max(0, t) : 0;
1007
1076
  }
@@ -1010,34 +1079,34 @@ function ce(e) {
1010
1079
  for (let n of e) t += /[MW@#%&]/.test(n) ? 11 : /[ilI1.,' ]/.test(n) ? 4 : 7.5;
1011
1080
  return Math.ceil(t);
1012
1081
  }
1013
- function Z() {
1082
+ function $() {
1014
1083
  return typeof window < "u" && (window.matchMedia?.("(prefers-reduced-motion: reduce)").matches ?? !1);
1015
1084
  }
1016
- function Q(e) {
1085
+ function le(e) {
1017
1086
  if (!e) return null;
1018
1087
  let { pulse_id: t, version: n, impression_id: r } = e.survey;
1019
1088
  return typeof r == "string" ? `${t}:${n}:${r}` : `${t}:${n}`;
1020
1089
  }
1021
- function $(e) {
1090
+ function ue(e) {
1022
1091
  if (!e) return;
1023
1092
  let t = getComputedStyle(e), n = Number.parseFloat(t.width) || e.offsetWidth || 86, 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");
1024
1093
  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");
1025
1094
  }
1026
- function le({ session: e, store: t, fabRef: n, onClick: r }) {
1027
- let [i, a] = d(e), [o, c] = d(null), l = Q(e), u = e?.survey.fab, f = (u?.timerStyle === "bar" || u?.timerStyle === "fill") && typeof u.expandedTimeout == "number" && Number.isFinite(u.expandedTimeout) && u.expandedTimeout > 0, p = e ?? i;
1028
- return K(() => {
1095
+ function de({ session: e, store: t, fabRef: n, onClick: r }) {
1096
+ let [i, a] = d(e), [o, c] = d(null), l = le(e), u = e?.survey.fab, f = (u?.timerStyle === "bar" || u?.timerStyle === "fill") && typeof u.expandedTimeout == "number" && Number.isFinite(u.expandedTimeout) && u.expandedTimeout > 0, p = e ?? i;
1097
+ return J(() => {
1029
1098
  e && a(e);
1030
- }, [e]), K(() => {
1031
- !e && i && $(n.current);
1099
+ }, [e]), J(() => {
1100
+ !e && i && ue(n.current);
1032
1101
  }, [
1033
1102
  n,
1034
1103
  i,
1035
1104
  e
1036
1105
  ]), s(() => {
1037
1106
  if (!l) return;
1038
- let e = Z(), n = setTimeout(() => {
1107
+ let e = $(), n = setTimeout(() => {
1039
1108
  t.confirmPresentation("expanded_fab"), t.confirmFabEntranceCompleted();
1040
- }, e ? 0 : q), r = setTimeout(() => c(l), e ? 0 : f ? se : q);
1109
+ }, e ? 0 : Y), r = setTimeout(() => c(l), e ? 0 : f ? se : Y);
1041
1110
  return () => {
1042
1111
  clearTimeout(n), clearTimeout(r);
1043
1112
  };
@@ -1047,71 +1116,87 @@ function le({ session: e, store: t, fabRef: n, onClick: r }) {
1047
1116
  t
1048
1117
  ]), s(() => {
1049
1118
  if (e || !i) return;
1050
- let t = setTimeout(() => a(null), Z() ? 0 : J);
1119
+ let t = setTimeout(() => a(null), $() ? 0 : X);
1051
1120
  return () => clearTimeout(t);
1052
- }, [i, e]), p ? /* @__PURE__ */ h(I, {
1121
+ }, [i, e]), p ? /* @__PURE__ */ h(L, {
1053
1122
  session: p,
1054
1123
  fabRef: n,
1055
1124
  onClick: r,
1056
1125
  animationState: e ? o === l ? "visible" : "entering" : "exiting"
1057
1126
  }) : null;
1058
1127
  }
1059
- function ue({ session: e, store: t, modal: n }) {
1128
+ function fe({ session: e, store: t, modal: n }) {
1060
1129
  let [r, i] = d(e), a = u(null), o = e ?? r;
1061
- return K(() => {
1130
+ return J(() => {
1062
1131
  e && i(e);
1063
- }, [e]), K(() => {
1132
+ }, [e]), J(() => {
1064
1133
  let t = a.current;
1065
1134
  !t || e || (t.classList.add("sb-sheet-root--exiting"), t.setAttribute("aria-hidden", "true"), t.querySelectorAll("button").forEach((e) => {
1066
1135
  e.disabled = !0;
1067
1136
  }));
1068
1137
  }, [e]), s(() => {
1069
1138
  if (e || !r) return;
1070
- let t = setTimeout(() => i(null), Z() ? 0 : Y);
1139
+ let t = setTimeout(() => i(null), $() ? 0 : Z);
1071
1140
  return () => clearTimeout(t);
1072
- }, [r, e]), o ? /* @__PURE__ */ h(W, {
1141
+ }, [r, e]), o ? /* @__PURE__ */ h(K, {
1073
1142
  session: o,
1074
1143
  store: t,
1075
1144
  modal: n,
1076
1145
  rootRef: a
1077
- }, Q(o)) : null;
1146
+ }, le(o)) : null;
1078
1147
  }
1079
- function de({ store: e, portal: t = !0, placement: n = "fixed" }) {
1148
+ function pe({ session: e, store: t, placement: n, modal: r }) {
1149
+ let [i, a] = d(e), o = e ?? i;
1150
+ return J(() => {
1151
+ e && a(e);
1152
+ }, [e]), s(() => {
1153
+ if (e || !i) return;
1154
+ let t = i.sentimentPresentation === "bar" ? $() ? O.reduced : O.removal : 0, n = setTimeout(() => a(null), t);
1155
+ return () => clearTimeout(n);
1156
+ }, [e, i]), !o || !e && o.sentimentPresentation !== "bar" ? null : /* @__PURE__ */ h(oe, {
1157
+ session: o,
1158
+ store: t,
1159
+ placement: n,
1160
+ modal: r,
1161
+ exiting: !e
1162
+ }, o.presentationId);
1163
+ }
1164
+ function me({ store: e, portal: t = !0, placement: n = "fixed" }) {
1080
1165
  let r = f(o((t) => e.subscribe(t), [e]), o(() => e.getSnapshot(), [e]), o(() => e.getServerSnapshot(), [e])).state, i = u(null), a = u(null), c = u(null), l = u(null), d = r ? r.completion ? "completion" : r.isOpen ? `sheet:${r.currentNodeId}` : `fab:${r.fabState}` : "none";
1081
- K(() => {
1166
+ J(() => {
1082
1167
  if (!r || !i.current) return;
1083
1168
  let e = T(r.survey.theme);
1084
1169
  for (let [t, n] of Object.entries(e)) i.current.style.setProperty(t, n);
1085
1170
  }, [r]), s(() => {
1086
1171
  let t = e.getState();
1087
1172
  if (!t) {
1088
- let e = i.current?.querySelector(".sb-fab--exiting") ? J : Y, t = setTimeout(() => {
1173
+ let e = i.current?.querySelector("[data-presentation=\"bar\"][data-exiting=\"true\"]"), t = i.current?.querySelector(".sb-fab--exiting") ? X : Z, n = setTimeout(() => {
1089
1174
  let e = l.current;
1090
1175
  e?.isConnected ? e.focus() : e && i.current?.focus(), l.current = null;
1091
- }, Z() ? 0 : e);
1092
- return () => clearTimeout(t);
1176
+ }, e ? $() ? O.reduced : O.removal : $() ? 0 : t);
1177
+ return () => clearTimeout(n);
1093
1178
  }
1094
1179
  if (t.isOpen || t.completion) {
1095
1180
  if (!l.current && document.activeElement instanceof HTMLElement && (l.current = document.activeElement), t.snackbar?.phase === "awaitingReady") return;
1096
1181
  e.confirmPresentation("sheet"), (i.current?.querySelector("textarea[data-autofocus=\"true\"]") ?? i.current?.querySelector(".sb-sheet__body h2"))?.focus({ preventScroll: !0 });
1097
1182
  }
1098
1183
  t.snackbar && !l.current && document.activeElement instanceof HTMLElement && (l.current = document.activeElement);
1099
- }, [d, e]), K(() => {
1184
+ }, [d, e]), J(() => {
1100
1185
  let e = a.current, t = i.current;
1101
1186
  if (!e || !t || !r || r.fabState !== "expanded" || r.isOpen) return;
1102
1187
  let o = () => {
1103
1188
  let e = a.current;
1104
1189
  if (!e || !c.current) return;
1105
1190
  let i = window.visualViewport, o = n === "inline" ? t.getBoundingClientRect() : null, s = n === "inline" ? t.clientWidth || o.width : i?.width && i.width > 0 ? i.width : window.innerWidth, l = n === "inline" ? t.clientHeight || o.height : i?.height && i.height > 0 ? i.height : window.innerHeight, u = e.getBoundingClientRect(), d = getComputedStyle(c.current), f = {
1106
- top: X(d.paddingTop),
1107
- right: X(d.paddingRight),
1108
- bottom: X(d.paddingBottom),
1109
- left: X(d.paddingLeft)
1191
+ top: Q(d.paddingTop),
1192
+ right: Q(d.paddingRight),
1193
+ bottom: Q(d.paddingBottom),
1194
+ left: Q(d.paddingLeft)
1110
1195
  }, p = Math.max(0, s - f.left - f.right), m = e.querySelector(".sb-fab__label"), h = m ? m.scrollWidth || m.getBoundingClientRect().width || ce(m.textContent ?? "") : 0, g = Math.min(p, Math.max(86, 86 + Math.ceil(h))), _ = e.offsetHeight || u.height || 60;
1111
1196
  e.style.setProperty("--sb-fab-expanded-width", `${g}px`), e.style.setProperty("--sb-fab-label-width", `${Math.max(0, g - 86)}px`);
1112
1197
  let v = Math.max(0, Math.min(1, r.survey.fab?.placement?.anchor.x ?? 1));
1113
1198
  e.style.setProperty("--sb-fab-anchor-offset", `${(g - 60) * v}px`);
1114
- let y = P(r.survey.fab?.placement, {
1199
+ let y = F(r.survey.fab?.placement, {
1115
1200
  viewport: {
1116
1201
  width: s,
1117
1202
  height: l
@@ -1158,21 +1243,21 @@ function de({ store: e, portal: t = !0, placement: n = "fixed" }) {
1158
1243
  ref: c,
1159
1244
  className: "sb-safe-area-probe"
1160
1245
  }),
1161
- r?.snackbar ? /* @__PURE__ */ h(oe, {
1162
- session: r,
1246
+ /* @__PURE__ */ h(pe, {
1247
+ session: r?.snackbar ? r : null,
1163
1248
  store: e,
1164
1249
  placement: n,
1165
1250
  modal: t
1166
- }, r.presentationId) : null,
1167
- /* @__PURE__ */ h(le, {
1251
+ }),
1252
+ /* @__PURE__ */ h(de, {
1168
1253
  session: r && !r.snackbar && !r.isOpen && !r.completion && r.fabState === "expanded" ? r : null,
1169
1254
  store: e,
1170
1255
  fabRef: a,
1171
1256
  onClick: () => {
1172
- $(a.current), l.current = a.current, e.openSurvey();
1257
+ ue(a.current), l.current = a.current, e.openSurvey();
1173
1258
  }
1174
1259
  }),
1175
- /* @__PURE__ */ h(ue, {
1260
+ /* @__PURE__ */ h(fe, {
1176
1261
  session: r && !r.snackbar && (r.isOpen || r.completion) ? r : null,
1177
1262
  store: e,
1178
1263
  modal: t
@@ -1182,4 +1267,4 @@ function de({ store: e, portal: t = !0, placement: n = "fixed" }) {
1182
1267
  return t && typeof document < "u" ? p(m, document.body) : m;
1183
1268
  }
1184
1269
  //#endregion
1185
- export { de as t };
1270
+ export { me as t };
@@ -1 +1 @@
1
- {"version":3,"file":"SurveyRenderer.d.ts","sourceRoot":"","sources":["../../src/lib/components/SurveyRenderer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAA2B,KAAK,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AA4I5F,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,MAAa,EAAE,SAAmB,EAAE,EAAE;IAAE,KAAK,EAAE,kBAAkB,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IAAC,SAAS,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAA;CAAE,+BAgK5J"}
1
+ {"version":3,"file":"SurveyRenderer.d.ts","sourceRoot":"","sources":["../../src/lib/components/SurveyRenderer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAA2B,KAAK,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AA0J5F,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,MAAa,EAAE,SAAmB,EAAE,EAAE;IAAE,KAAK,EAAE,kBAAkB,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IAAC,SAAS,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAA;CAAE,+BAiK5J"}
@@ -1,8 +1,9 @@
1
1
  import { type SurveySessionState, type SurveySessionStore } from '@sidebandai/sideband-core';
2
- export declare function SurveySnackbar({ session, store, placement, modal }: {
2
+ export declare function SurveySnackbar({ session, store, placement, modal, exiting }: {
3
3
  session: SurveySessionState;
4
4
  store: SurveySessionStore;
5
5
  placement: 'fixed' | 'inline';
6
6
  modal: boolean;
7
+ exiting?: boolean;
7
8
  }): import("react").JSX.Element;
8
9
  //# sourceMappingURL=SurveySnackbar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SurveySnackbar.d.ts","sourceRoot":"","sources":["../../src/lib/components/SurveySnackbar.tsx"],"names":[],"mappings":"AACA,OAAO,EAA0D,KAAK,kBAAkB,EAAE,KAAK,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AASpJ,wBAAgB,cAAc,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE;IACnE,OAAO,EAAE,kBAAkB,CAAA;IAC3B,KAAK,EAAE,kBAAkB,CAAA;IACzB,SAAS,EAAE,OAAO,GAAG,QAAQ,CAAA;IAC7B,KAAK,EAAE,OAAO,CAAA;CACf,+BA2IA"}
1
+ {"version":3,"file":"SurveySnackbar.d.ts","sourceRoot":"","sources":["../../src/lib/components/SurveySnackbar.tsx"],"names":[],"mappings":"AACA,OAAO,EAA0D,KAAK,kBAAkB,EAAE,KAAK,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AASpJ,wBAAgB,cAAc,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,OAAe,EAAE,EAAE;IACpF,OAAO,EAAE,kBAAkB,CAAA;IAC3B,KAAK,EAAE,kBAAkB,CAAA;IACzB,SAAS,EAAE,OAAO,GAAG,QAAQ,CAAA;IAC7B,KAAK,EAAE,OAAO,CAAA;IACd,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,+BAiKA"}
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ export { createSidebandClient, SidebandApiError, SurveySessionStore, buildFabTit
3
3
  export { SidebandProvider } from './context/SidebandProvider';
4
4
  export type { SidebandProviderConfig } from './context/SidebandProvider';
5
5
  export { useSideband } from './hooks/useSideband';
6
- export type { AnsweredInteraction, ClientContext, CompletionActionStyle, CompletionActionType, CompletionIconType, CompletionType, DismissedInteraction, EventMetadata, EventRecord, Fab, FabOffset, FabPlacement, FabPoint, Interaction, Pulse, PendingPulse, SyncEndpoint, PulseAnswer, PulseCompletion, PulseCompletionAction, PulseQuestion, QuestionType, SentimentPresentation, SimulatedPulseDefinition, SidebandClientConfig, SidebandCoreConfig, ServiceUnavailableError, SurveyAnswerMap, SurveyAnswerValue, SyncErrorResponse, SyncOptions, SyncRequest, SyncResponse, TrackedEvent, TrackOptions, Theme, ThemeColor, TimerStyle, } from '@sidebandai/sideband-core';
6
+ export type { AnsweredInteraction, ClientContext, CompletionActionStyle, CompletionActionType, CompletionIconType, CompletionType, DismissedInteraction, EventMetadata, EventRecord, Fab, FabOffset, FabPlacement, FabPoint, Interaction, Pulse, PendingPulse, SyncEndpoint, PulseAnswer, PulseCompletion, PulseCompletionAction, PulseQuestion, QuestionType, SentimentPresentation, SentimentPresentationOptions, BarPosition, BarBehavior, SimulatedPulseDefinition, SidebandClientConfig, SidebandCoreConfig, ServiceUnavailableError, SurveyAnswerMap, SurveyAnswerValue, SyncErrorResponse, SyncOptions, SyncRequest, SyncResponse, TrackedEvent, TrackOptions, Theme, ThemeColor, TimerStyle, } from '@sidebandai/sideband-core';
7
7
  import type { EventMetadata, SidebandClientConfig, SyncOptions, SyncRequest, TrackOptions } from '@sidebandai/sideband-core';
8
8
  export declare function sync(config: SidebandClientConfig, request: Omit<SyncRequest, 'context'> & {
9
9
  context?: SyncRequest['context'];
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAA;AAEpB,OAAO,EACL,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,aAAa,EACb,cAAc,GACf,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAC7D,YAAY,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAA;AACxE,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAEjD,YAAY,EACV,mBAAmB,EACnB,aAAa,EACb,qBAAqB,EACrB,oBAAoB,EACpB,kBAAkB,EAClB,cAAc,EACd,oBAAoB,EACpB,aAAa,EACb,WAAW,EACX,GAAG,EACH,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,WAAW,EACX,KAAK,EACL,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,YAAY,EACZ,qBAAqB,EACrB,wBAAwB,EACxB,oBAAoB,EACpB,kBAAkB,EAClB,uBAAuB,EACvB,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,WAAW,EACX,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,KAAK,EACL,UAAU,EACV,UAAU,GACX,MAAM,2BAA2B,CAAA;AAGlC,OAAO,KAAK,EACV,aAAa,EACb,oBAAoB,EACpB,WAAW,EACX,WAAW,EACX,YAAY,EACb,MAAM,2BAA2B,CAAA;AAElC,wBAAgB,IAAI,CAClB,MAAM,EAAE,oBAAoB,EAC5B,OAAO,EAAE,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,GAAG;IAAE,OAAO,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAA;CAAE,EAC5E,OAAO,CAAC,EAAE,WAAW,6DAGtB;AAED,wBAAgB,KAAK,CACnB,MAAM,EAAE,oBAAoB,EAC5B,SAAS,EAAE,MAAM,EACjB,QAAQ,CAAC,EAAE,aAAa,EACxB,OAAO,CAAC,EAAE,YAAY,6DAGvB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAA;AAEpB,OAAO,EACL,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,aAAa,EACb,cAAc,GACf,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAC7D,YAAY,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAA;AACxE,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAEjD,YAAY,EACV,mBAAmB,EACnB,aAAa,EACb,qBAAqB,EACrB,oBAAoB,EACpB,kBAAkB,EAClB,cAAc,EACd,oBAAoB,EACpB,aAAa,EACb,WAAW,EACX,GAAG,EACH,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,WAAW,EACX,KAAK,EACL,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,YAAY,EACZ,qBAAqB,EACrB,4BAA4B,EAC5B,WAAW,EACX,WAAW,EACX,wBAAwB,EACxB,oBAAoB,EACpB,kBAAkB,EAClB,uBAAuB,EACvB,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,WAAW,EACX,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,KAAK,EACL,UAAU,EACV,UAAU,GACX,MAAM,2BAA2B,CAAA;AAGlC,OAAO,KAAK,EACV,aAAa,EACb,oBAAoB,EACpB,WAAW,EACX,WAAW,EACX,YAAY,EACb,MAAM,2BAA2B,CAAA;AAElC,wBAAgB,IAAI,CAClB,MAAM,EAAE,oBAAoB,EAC5B,OAAO,EAAE,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,GAAG;IAAE,OAAO,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAA;CAAE,EAC5E,OAAO,CAAC,EAAE,WAAW,6DAGtB;AAED,wBAAgB,KAAK,CACnB,MAAM,EAAE,oBAAoB,EAC5B,SAAS,EAAE,MAAM,EACjB,QAAQ,CAAC,EAAE,aAAa,EACxB,OAAO,CAAC,EAAE,YAAY,6DAGvB"}
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./SurveyRenderer-BkUNLbxJ.js";
1
+ import { t as e } from "./SurveyRenderer-DeiwF3pw.js";
2
2
  import { SidebandApiError as t, SurveySessionStore as n, SurveySessionStore as r, buildFabTitle as i, createSidebandClient as a, createSidebandClient as o, createSidebandRuntime as s, getChoiceValue as c } from "@sidebandai/sideband-core";
3
3
  import { createContext as l, useCallback as u, useContext as d, useEffect as f, useMemo as p, useRef as m, useState as h, useSyncExternalStore as g } from "react";
4
4
  import { jsx as _, jsxs as v } from "react/jsx-runtime";
@@ -42,7 +42,7 @@ function O(e, t) {
42
42
  }
43
43
  }), a = s({
44
44
  ...e,
45
- libraryVersion: "1.4.1-rc.2",
45
+ libraryVersion: "1.4.3",
46
46
  onSyncResponse: (e) => i.handleSyncResponse(e)
47
47
  });
48
48
  return n.current = a, {
package/dist/preview.d.ts CHANGED
@@ -1,9 +1,8 @@
1
- import { type Interaction, type Pulse, type SentimentPresentation } from '@sidebandai/sideband-core';
2
- export type { CompletionActionStyle, CompletionActionType, CompletionIconType, CompletionType, Fab, FabOffset, FabPlacement, FabPoint, Pulse, PulseAnswer, PulseCompletion, PulseCompletionAction, PulseQuestion, QuestionType, SentimentPresentation, Theme, ThemeColor, TimerStyle, } from '@sidebandai/sideband-core';
1
+ import { type Interaction, type Pulse, type SentimentPresentationOptions } from '@sidebandai/sideband-core';
2
+ export type { CompletionActionStyle, CompletionActionType, CompletionIconType, CompletionType, Fab, FabOffset, FabPlacement, FabPoint, Pulse, PulseAnswer, PulseCompletion, PulseCompletionAction, PulseQuestion, QuestionType, SentimentPresentation, SentimentPresentationOptions, BarPosition, BarBehavior, Theme, ThemeColor, TimerStyle, } from '@sidebandai/sideband-core';
3
3
  export type SidebandPulsePreviewPlacement = 'fixed' | 'inline';
4
- export type SidebandPulsePreviewOptions = {
4
+ export type SidebandPulsePreviewOptions = SentimentPresentationOptions & {
5
5
  pulse: Pulse;
6
- sentimentPresentation?: SentimentPresentation;
7
6
  placement?: SidebandPulsePreviewPlacement;
8
7
  onInteraction?: (interaction: Interaction) => void;
9
8
  onDone?: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"preview.d.ts","sourceRoot":"","sources":["../src/lib/preview.ts"],"names":[],"mappings":"AAGA,OAAO,EAAsB,KAAK,WAAW,EAAE,KAAK,KAAK,EAAE,KAAK,qBAAqB,EAAE,MAAM,2BAA2B,CAAA;AAGxH,YAAY,EACV,qBAAqB,EACrB,oBAAoB,EACpB,kBAAkB,EAClB,cAAc,EACd,GAAG,EACH,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,KAAK,EACL,WAAW,EACX,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,YAAY,EACZ,qBAAqB,EACrB,KAAK,EACL,UAAU,EACV,UAAU,GACX,MAAM,2BAA2B,CAAA;AAElC,MAAM,MAAM,6BAA6B,GAAG,OAAO,GAAG,QAAQ,CAAA;AAC9D,MAAM,MAAM,2BAA2B,GAAG;IACxC,KAAK,EAAE,KAAK,CAAA;IACZ,qBAAqB,CAAC,EAAE,qBAAqB,CAAA;IAC7C,SAAS,CAAC,EAAE,6BAA6B,CAAA;IACzC,aAAa,CAAC,EAAE,CAAC,WAAW,EAAE,WAAW,KAAK,IAAI,CAAA;IAClD,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;CACvB,CAAA;AACD,MAAM,MAAM,iCAAiC,GAAG,OAAO,CAAC,2BAA2B,CAAC,GAAG;IAAE,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,CAAA;AACxG,MAAM,MAAM,0BAA0B,GAAG;IACvC,OAAO,EAAE,WAAW,CAAA;IACpB,IAAI,EAAE,MAAM,IAAI,CAAA;IAChB,MAAM,EAAE,CAAC,OAAO,EAAE,iCAAiC,KAAK,IAAI,CAAA;IAC5D,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB,CAAA;AAwBD,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,EAAE,OAAO,EAAE,2BAA2B,GAAG,0BAA0B,CA0CpI"}
1
+ {"version":3,"file":"preview.d.ts","sourceRoot":"","sources":["../src/lib/preview.ts"],"names":[],"mappings":"AAGA,OAAO,EAAsB,KAAK,WAAW,EAAE,KAAK,KAAK,EAAE,KAAK,4BAA4B,EAAE,MAAM,2BAA2B,CAAA;AAG/H,YAAY,EACV,qBAAqB,EACrB,oBAAoB,EACpB,kBAAkB,EAClB,cAAc,EACd,GAAG,EACH,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,KAAK,EACL,WAAW,EACX,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,YAAY,EACZ,qBAAqB,EACrB,4BAA4B,EAC5B,WAAW,EACX,WAAW,EACX,KAAK,EACL,UAAU,EACV,UAAU,GACX,MAAM,2BAA2B,CAAA;AAElC,MAAM,MAAM,6BAA6B,GAAG,OAAO,GAAG,QAAQ,CAAA;AAC9D,MAAM,MAAM,2BAA2B,GAAG,4BAA4B,GAAG;IACvE,KAAK,EAAE,KAAK,CAAA;IACZ,SAAS,CAAC,EAAE,6BAA6B,CAAA;IACzC,aAAa,CAAC,EAAE,CAAC,WAAW,EAAE,WAAW,KAAK,IAAI,CAAA;IAClD,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;CACvB,CAAA;AACD,MAAM,MAAM,iCAAiC,GAAG,OAAO,CAAC,2BAA2B,CAAC,GAAG;IAAE,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,CAAA;AACxG,MAAM,MAAM,0BAA0B,GAAG;IACvC,OAAO,EAAE,WAAW,CAAA;IACpB,IAAI,EAAE,MAAM,IAAI,CAAA;IAChB,MAAM,EAAE,CAAC,OAAO,EAAE,iCAAiC,KAAK,IAAI,CAAA;IAC5D,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB,CAAA;AA0BD,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,EAAE,OAAO,EAAE,2BAA2B,GAAG,0BAA0B,CA0CpI"}
package/dist/preview.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./SurveyRenderer-BkUNLbxJ.js";
1
+ import { t as e } from "./SurveyRenderer-DeiwF3pw.js";
2
2
  import { SurveySessionStore as t } from "@sidebandai/sideband-core";
3
3
  import { createElement as n } from "react";
4
4
  import { flushSync as r } from "react-dom";
@@ -14,7 +14,7 @@ function o(e) {
14
14
  return new t({
15
15
  syncInteraction: async (t) => {
16
16
  let n = e.current;
17
- n.onInteraction?.(t), "completion_action_id" in t && t.completion_action_id && Object.values(n.pulse.completions).flatMap((e) => e.actions).find((e) => e.id === t.completion_action_id)?.action.type === "dismiss" && n.onDone?.();
17
+ n.onInteraction?.(t), "completion_action_id" in t && t.completion_action_id ? Object.values(n.pulse.completions).flatMap((e) => e.actions).find((e) => e.id === t.completion_action_id)?.action.type === "dismiss" && n.onDone?.() : t.action === "completed" && n.pulse.sentimentPresentation === "toolbar" && n.onDone?.();
18
18
  },
19
19
  onRateApp: () => e.current.onRateApp?.()
20
20
  });
package/dist/style.css CHANGED
@@ -1,2 +1,2 @@
1
- .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-root{--sb-surface:#fff;--sb-surface-muted:#f2f2f2;--sb-border-active:#080808b3;--sb-text:#080808;--sb-text-muted:#5c5c5c;--sb-overlay:#00000061;--sb-ease:cubic-bezier(0, .87, .39, 1);--sb-height-ease:cubic-bezier(0, .83, .363, .994);--sb-fab-motion-ease:cubic-bezier(.649439, .0577174, .124599, 1);color:var(--sb-text);font-synthesis:none;font-family:-apple-system,BlinkMacSystemFont,system-ui,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;line-height:normal}.sb-root *,.sb-root :before,.sb-root :after{box-sizing:border-box}.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;width:var(--sb-fab-expanded-width,86px);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);box-shadow:none;cursor:pointer;transform-origin:50%;will-change:scale;border-radius:999px;align-items:center;margin:0;padding:0 28px 0 14px;transition:scale 80ms ease-out;display:inline-flex;position:fixed;overflow:hidden}.sb-fab:active:not(:disabled){scale:.97}.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}.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}.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-fab__badge{z-index:1;border-radius:50%;flex:0 0 32px;width:32px;height:32px;margin-inline-end:12px;position:relative;overflow:hidden}.sb-fab__badge-image,.sb-fab__badge-art{border-radius:inherit;width:100%;height:100%;display:block}.sb-fab__badge-image{object-fit:cover}.sb-fab__badge-art{background:var(--sb-theme-fab-accent-primary,#f97316);position:relative}.sb-fab__badge-inner{background:var(--sb-theme-fab-accent-secondary,#2563eb);border-radius:50%;position:absolute;inset:17%}.sb-fab__glyph{z-index:1;border-radius:999px;display:block;position:absolute}.sb-fab__glyph--center{background:var(--sb-theme-fab-foreground,#fff);border-radius:3.52px;width:4.16px;height:11.52px;top:50%;left:50%;transform:translate(-50%,-50%)}.sb-fab__glyph--amber{background:#fac143;width:2.88px;height:6.72px;top:50%;left:50%;transform:translate(calc(-50% - 3.04px),calc(.8px - 50%))}.sb-fab__glyph--mint{background:#39c690;width:2.88px;height:5.44px;top:50%;left:50%;transform:translate(calc(3.04px - 50%),calc(-50% - .32px))}.sb-fab__glyph--rose{background:#e86398;width:2.56px;height:4.16px;top:50%;left:50%;transform:translate(calc(.96px - 50%),calc(3.68px - 50%))}.sb-fab__label{z-index:1;width:var(--sb-fab-label-width,auto);color:currentColor;text-align:start;text-overflow:clip;white-space:nowrap;flex:none;min-width:0;font-size:14px;font-weight:600;line-height:1;position:relative;overflow:hidden}.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-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-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);transform-origin:0;width:100%;height:100%;animation:sb-fab-timer-bar var(--sb-timer-duration) linear forwards;display:block}.sb-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-fab__timer-fill{transform-origin:100%}.sb-sheet-root{z-index:1100;position:fixed;inset:0}.sb-sheet-root__overlay{background:var(--sb-theme-sheet-scrim,var(--sb-overlay));cursor:pointer;border:0;width:100%;height:100%;margin:0;padding:0;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{bottom:calc(8px + env(safe-area-inset-bottom,0px));width:min(376px, calc(100% - 24px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px)));max-height:calc(100% - 16px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));background:var(--sb-theme-sheet-background,var(--sb-surface));color:var(--sb-text);box-shadow:none;interpolate-size:allow-keywords;transition:height .45s var(--sb-height-ease);animation:sb-sheet-in .45s var(--sb-ease) both;overscroll-behavior:contain;border-radius:40px;position:absolute;left:50%;overflow:hidden;transform:translate(-50%)}.sb-sheet-root--exiting .sb-sheet{animation:sb-sheet-out .45s var(--sb-ease) forwards}.sb-sheet__header{height:50px;position:relative}.sb-progress{background:var(--sb-theme-sheet-progress-track,#eaeaea);border-radius:24px;width:min(216px,100% - 112px);height:6px;position:absolute;top:27px;left:50%;overflow:hidden;transform:translate(-50%)}.sb-progress__fill{width:var(--sb-progress-value,0%);border-radius:inherit;background:var(--sb-theme-sheet-progress-fill,#080808);height:100%;transition:width .45s var(--sb-ease);animation:sb-progress-in .45s var(--sb-ease) .1s both;display:block}.sb-sheet__close{background:var(--sb-theme-sheet-close-button-background,transparent);width:40px;height:40px;color:var(--sb-theme-sheet-close-button-foreground,var(--sb-text));cursor:pointer;border:0;border-radius:4px;place-items:center;margin:0;padding:8px;display:grid;position:absolute;top:10px;right:16px}.sb-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-sheet__close{left:16px;right:auto}.sb-sheet__close svg{width:24px;height:24px;display:block}.sb-sheet__stage{animation:.25s ease-in-out both sb-step-in}.sb-sheet__body{flex-direction:column;display:flex}.sb-sheet__body--question{padding-bottom:16px}.sb-sheet__copy{text-align:center;justify-items:center;display:grid}.sb-sheet__body--question .sb-sheet__copy{place-items:center;height:88px;padding-inline:23px}.sb-sheet__body--question h2{color:var(--sb-theme-content-heading,var(--sb-text));text-align:center;margin:0;font-size:19px;font-weight:600;line-height:1.24}.sb-sheet__body--sentiment{padding:12px 24px 22px}.sb-sheet__body--sentiment .sb-sheet__copy{align-content:center;gap:8px;min-height:84px}.sb-sheet__body--sentiment .sb-sheet__copy--acknowledgement{min-height:70px;padding-top:6px}.sb-sheet__eyebrow{max-width:100%;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.25;display:-webkit-box;overflow:hidden}.sb-sheet__body--sentiment h2{max-width:100%;color:var(--sb-theme-content-heading,var(--sb-text));text-align:center;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0;font-size:22px;font-weight:600;line-height:1.2;animation:.28s cubic-bezier(.2,0,0,1) both sb-sentiment-title-in;display:-webkit-box;overflow:hidden}.sb-sheet__copy--acknowledgement h2{max-width:324px;font-size:29px;line-height:1.12}.sb-question{min-width:0}.sb-question--sentiment{grid-template-columns:repeat(2,80px);gap:25px;width:185px;margin:37px auto 31px;display:grid}.sb-sheet__copy--acknowledgement+.sb-question--sentiment{margin-top:35px}.sb-sentiment-control{place-items:center;width:80px;height:80px;display:grid;position:relative}.sb-yesno{z-index:1;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;margin:0;padding:0;transition:border-color .18s,background-color .18s,color .18s,scale .12s ease-out;display:grid;position:relative}.sb-yesno__icon,.sb-yesno__icon svg{width:35.5556px;height:35.5556px;display:block}.sb-yesno:hover:not(:disabled){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-yesno:active:not(:disabled){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));scale:.97}.sb-yesno--selected,.sb-yesno--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-yesno:disabled:not(.sb-yesno--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);cursor:default}.sb-spark-ring{z-index:0;opacity:0;pointer-events:none;border-radius:50%;animation:.22s cubic-bezier(.25,.46,.45,.94) forwards sb-spark-in;position:absolute;inset:-26px;scale:.55}.sb-spark-ring__dot{--sb-spark-radius:54px;width:7px;height:7px;transform:rotate(calc(var(--sb-spark-index) * 30deg)) translateY(calc(var(--sb-spark-radius) * -1));background:#dedede;border-radius:50%;margin:-3.5px;position:absolute;top:50%;left:50%}.sb-spark-ring__dot--large{--sb-spark-radius:59px;width:12px;height:12px;margin:-6px}.sb-question--choices,.sb-question--text{width:auto;margin-inline:24px}.sb-options-scroll{scrollbar-gutter:stable;overscroll-behavior:contain;max-height:320.5px;display:grid;overflow:hidden auto}.sb-options-scroll--scrolling{padding-bottom:20px}.sb-question--choices-grid .sb-options-scroll{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sb-question--choices-list .sb-options-scroll{grid-template-columns:minmax(0,1fr);gap:8px}.sb-choice{overflow-wrap:anywhere;border:1px solid var(--sb-theme-choice-default-border,#e2e2e2);background:var(--sb-theme-choice-default-background,var(--sb-surface));width:100%;min-width:0;min-height:51px;color:var(--sb-theme-choice-default-foreground,var(--sb-text));cursor:pointer;font:inherit;text-align:center;border-radius:999px;justify-content:center;align-items:center;margin:0;padding:8px;font-size:16px;font-weight:700;line-height:1.2;transition:border-color .18s,background-color .18s,color .18s,scale .12s ease-out;display:flex}.sb-choice__label{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.sb-question--choices-grid .sb-choice{-webkit-line-clamp:2;-webkit-box-orient:vertical;align-content:center;max-height:51px;display:-webkit-box;overflow:hidden}.sb-question--choices-list .sb-choice{text-align:start;border-radius:16px;justify-content:flex-start;min-height:51px;padding:16px 22px}.sb-choice:hover:not(:disabled){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-choice:active:not(:disabled){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));scale:.97}.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-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-choice--other{border-color:var(--sb-theme-choice-default-border,#e2e2e2);color:var(--sb-theme-input-placeholder,#08080866);gap:0;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-question--choices-grid .sb-choice--other{display:flex}.sb-question--text{padding-top:10px}.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%;height:155px;transition:border-color .18s,background-color .18s;overflow:hidden}.sb-textarea-shell:focus-within{border-color:var(--sb-theme-input-focused-border,var(--sb-border-active))}.sb-textarea{width:100%;height:100%;color:var(--sb-theme-input-foreground,var(--sb-text));font:inherit;resize:none;background:0 0;border:0;outline:0;margin:0;padding:17px 22px;font-size:16px;font-weight:400;line-height:1.25;display:block}.sb-textarea::placeholder{color:var(--sb-theme-input-placeholder,#08080866);opacity:1}.sb-textarea:disabled{color:var(--sb-theme-input-disabled-foreground,var(--sb-text-muted));cursor:not-allowed}.sb-textarea-shell:has(.sb-textarea:disabled){background:var(--sb-theme-input-disabled-background,var(--sb-surface-muted))}.sb-sheet__footer{border-top:1px solid var(--sb-theme-sheet-divider,#e2e2e2);align-items:center;gap:16px;min-height:84px;padding:16px 20px 20px;display:flex}.sb-sheet__answer-comment,.sb-sheet__footer-spacer{flex:auto;min-width:0;margin:0}.sb-sheet__answer-comment{color:var(--sb-theme-content-helper,var(--sb-text-muted));text-align:start;-webkit-line-clamp:2;-webkit-box-orient:vertical;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,.sb-button{cursor:pointer;min-height:48px;font:inherit;border:0;border-radius:999px;margin:0;transition:background-color .18s,color .18s,opacity .18s,scale .12s ease-out}.sb-next{background:var(--sb-theme-button-primary-background,#080808);width:101px;height:48px;color:var(--sb-theme-button-primary-foreground,#fff);flex:0 0 101px;place-items:center;padding:0;display:grid}.sb-next svg{width:20px;height:20px;display:block}.sb-next--acknowledging svg{animation:.36s cubic-bezier(.2,.8,.2,1) both sb-next-acknowledgement}.sb-next:hover:not(:disabled),.sb-next:focus-visible{background:var(--sb-theme-button-primary-hover-background,#080808)}.sb-next:active:not(:disabled){background:var(--sb-theme-button-primary-pressed-background,#080808);scale:.97}.sb-next:disabled,.sb-button:disabled{cursor:not-allowed}.sb-next:disabled{background:var(--sb-theme-button-primary-disabled-background,#08080873);color:var(--sb-theme-button-primary-disabled-foreground,#ffffff73)}.sb-sheet--thanks{padding:22px 20px}.sb-sheet-root--completing .sb-progress__fill{transition-duration:.5s}.sb-thanks{justify-items:center;gap:23px;display:grid}.sb-thanks__icon-shell{background:var(--sb-theme-completion-outer-background,#f0f0f0);opacity:0;width:120px;height:120px;animation:sb-completion-icon-shell .72s var(--sb-ease) .35s both;border-radius:50%;place-items:center;display:grid;position:relative;transform:translateY(46px)}.sb-thanks__icon-core{background:var(--sb-theme-completion-inner-background,#080808);width:66px;height:66px;color:var(--sb-theme-completion-glyph,#fff);animation:sb-completion-icon-core .72s var(--sb-ease) .35s both;border-radius:50%;place-items:center;display:grid;transform:scale(.72)}.sb-thanks__icon-core svg{width:35.44px;height:27.02px;display:block}.sb-thanks__copy{opacity:0;gap:8px;width:min(330px,100%);animation:.3s ease-in-out .89s both sb-completion-content-in;display:grid;transform:translateY(20px)}.sb-thanks__copy h2{max-width:313px;color:var(--sb-theme-content-heading,var(--sb-text));letter-spacing:-.6px;text-align:center;margin:0 auto;font-size:30px;font-weight:600;line-height:1.1}.sb-thanks__copy p{max-width:292px;color:var(--sb-theme-content-body,var(--sb-text-muted));text-align:center;margin:0 auto;font-size:14px;font-weight:400;line-height:1.5}.sb-thanks__actions{opacity:0;gap:10px;width:100%;animation:.3s ease-in-out .89s both sb-completion-content-in;display:flex;transform:translateY(20px)}.sb-button{flex:1 1 0;min-width:0;padding:0 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:not(:disabled),.sb-button--primary:focus-visible{background:var(--sb-theme-button-primary-hover-background,#080808)}.sb-button--secondary:hover:not(:disabled),.sb-button--secondary:focus-visible{background:var(--sb-theme-button-secondary-hover-background,#f2f2f2)}.sb-button--tertiary:hover:not(:disabled),.sb-button--tertiary:focus-visible{background:var(--sb-theme-button-tertiary-hover-background,#f2f2f2)}.sb-button--primary:active:not(:disabled){background:var(--sb-theme-button-primary-pressed-background,#080808)}.sb-button--secondary:active:not(:disabled){background:var(--sb-theme-button-secondary-pressed-background,#e2e2e2)}.sb-button--tertiary:active:not(:disabled){background:var(--sb-theme-button-tertiary-pressed-background,#e2e2e2)}.sb-button--primary:disabled{background:var(--sb-theme-button-primary-disabled-background,#08080873);color:var(--sb-theme-button-primary-disabled-foreground,#ffffff73)}.sb-button--secondary:disabled{background:var(--sb-theme-button-secondary-disabled-background,#f2f2f273);color:var(--sb-theme-button-secondary-disabled-foreground,#08080873)}.sb-button--tertiary:disabled{background:var(--sb-theme-button-tertiary-disabled-background,#f2f2f273);color:var(--sb-theme-button-tertiary-disabled-foreground,#08080873)}.sb-fab:focus-visible,.sb-next:focus-visible,.sb-button:focus-visible,.sb-choice:focus-visible,.sb-yesno:focus-visible,.sb-sheet__close:focus-visible,.sb-sheet-root__overlay:focus-visible{outline-offset:2px;outline:2px solid #6366f1bf}.sb-preview--inline{place-items:center;min-height:540px;padding:24px;display:grid;position:relative;overflow:hidden}.sb-root--inline{place-items:center;width:100%;height:100%;min-height:1px;display:grid;position:relative}.sb-root--inline .sb-safe-area-probe{position:absolute}.sb-root--inline .sb-fab{position:absolute;bottom:auto;right:auto}.sb-root--inline .sb-sheet-root,.sb-preview--inline .sb-sheet-root{z-index:auto;position:absolute}.sb-root--inline .sb-sheet,.sb-preview--inline .sb-sheet{width:min(376px,100% - 24px);max-height:calc(100% - 24px)}.sb-fab.sb-fab--preview-inline{z-index:auto;position:relative;bottom:auto;right:auto}@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-fab-timer-bar{0%{transform:scaleX(1)}to{transform:scaleX(0)}}@keyframes sb-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes sb-overlay-out{0%{opacity:1}to{opacity:0}}@keyframes sb-sheet-in{0%{opacity:0;transform:translate(-50%,28px)}to{opacity:1;transform:translate(-50%)}}@keyframes sb-sheet-out{0%{opacity:1;transform:translate(-50%)}to{opacity:0;transform:translate(-50%,calc(100% + 8px))}}@keyframes sb-progress-in{0%{width:0}to{width:var(--sb-progress-value,0%)}}@keyframes sb-step-in{0%{opacity:0}to{opacity:1}}@keyframes sb-sentiment-title-in{0%{opacity:0;scale:1.12}to{opacity:1;scale:1}}@keyframes sb-spark-in{0%{opacity:0;scale:.55}to{opacity:1;scale:1}}@keyframes sb-footer-comment-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes sb-next-acknowledgement{0%,to{rotate:0deg;scale:1}39%{rotate:-14deg;scale:1.18}}@keyframes sb-footer-comment-out{0%{opacity:1}to{opacity:0}}@keyframes sb-completion-icon-shell{0%{opacity:0;transform:translateY(46px)}58%{opacity:1;transform:translateY(46px)}to{opacity:1;transform:translateY(0)}}@keyframes sb-completion-icon-core{0%{transform:scale(.72)}58%{transform:scale(1.82)}to{transform:scale(1)}}@keyframes sb-completion-content-in{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.sb-root *,.sb-root :before,.sb-root :after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-delay:0s!important}.sb-sheet__answer-comment{animation:none!important}}
1
+ .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-root{--sb-surface:#fff;--sb-surface-muted:#f2f2f2;--sb-border-active:#080808b3;--sb-text:#080808;--sb-text-muted:#5c5c5c;--sb-overlay:#00000061;--sb-ease:cubic-bezier(0, .87, .39, 1);--sb-height-ease:cubic-bezier(0, .83, .363, .994);--sb-fab-motion-ease:cubic-bezier(.649439, .0577174, .124599, 1);color:var(--sb-text);font-synthesis:none;font-family:-apple-system,BlinkMacSystemFont,system-ui,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;line-height:normal}.sb-root *,.sb-root :before,.sb-root :after{box-sizing:border-box}.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;width:var(--sb-fab-expanded-width,86px);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);box-shadow:none;cursor:pointer;transform-origin:50%;will-change:scale;border-radius:999px;align-items:center;margin:0;padding:0 28px 0 14px;transition:scale 80ms ease-out;display:inline-flex;position:fixed;overflow:hidden}.sb-fab:active:not(:disabled){scale:.97}.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}.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}.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-fab__badge{z-index:1;border-radius:50%;flex:0 0 32px;width:32px;height:32px;margin-inline-end:12px;position:relative;overflow:hidden}.sb-fab__badge-image,.sb-fab__badge-art{border-radius:inherit;width:100%;height:100%;display:block}.sb-fab__badge-image{object-fit:cover}.sb-fab__badge-art{background:var(--sb-theme-fab-accent-primary,#f97316);position:relative}.sb-fab__badge-inner{background:var(--sb-theme-fab-accent-secondary,#2563eb);border-radius:50%;position:absolute;inset:17%}.sb-fab__glyph{z-index:1;border-radius:999px;display:block;position:absolute}.sb-fab__glyph--center{background:var(--sb-theme-fab-foreground,#fff);border-radius:3.52px;width:4.16px;height:11.52px;top:50%;left:50%;transform:translate(-50%,-50%)}.sb-fab__glyph--amber{background:#fac143;width:2.88px;height:6.72px;top:50%;left:50%;transform:translate(calc(-50% - 3.04px),calc(.8px - 50%))}.sb-fab__glyph--mint{background:#39c690;width:2.88px;height:5.44px;top:50%;left:50%;transform:translate(calc(3.04px - 50%),calc(-50% - .32px))}.sb-fab__glyph--rose{background:#e86398;width:2.56px;height:4.16px;top:50%;left:50%;transform:translate(calc(.96px - 50%),calc(3.68px - 50%))}.sb-fab__label{z-index:1;width:var(--sb-fab-label-width,auto);color:currentColor;text-align:start;text-overflow:clip;white-space:nowrap;flex:none;min-width:0;font-size:14px;font-weight:600;line-height:1;position:relative;overflow:hidden}.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-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-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);transform-origin:0;width:100%;height:100%;animation:sb-fab-timer-bar var(--sb-timer-duration) linear forwards;display:block}.sb-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-fab__timer-fill{transform-origin:100%}.sb-sheet-root{z-index:1100;position:fixed;inset:0}.sb-sheet-root__overlay{background:var(--sb-theme-sheet-scrim,var(--sb-overlay));cursor:pointer;border:0;width:100%;height:100%;margin:0;padding:0;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{bottom:calc(8px + env(safe-area-inset-bottom,0px));width:min(376px, calc(100% - 24px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px)));max-height:calc(100% - 16px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));background:var(--sb-theme-sheet-background,var(--sb-surface));color:var(--sb-text);box-shadow:none;interpolate-size:allow-keywords;transition:height .45s var(--sb-height-ease);animation:sb-sheet-in .45s var(--sb-ease) both;overscroll-behavior:contain;border-radius:40px;position:absolute;left:50%;overflow:hidden;transform:translate(-50%)}.sb-sheet-root--exiting .sb-sheet{animation:sb-sheet-out .45s var(--sb-ease) forwards}.sb-sheet__header{height:50px;position:relative}.sb-progress{background:var(--sb-theme-sheet-progress-track,#eaeaea);border-radius:24px;width:min(216px,100% - 112px);height:6px;position:absolute;top:27px;left:50%;overflow:hidden;transform:translate(-50%)}.sb-progress__fill{width:var(--sb-progress-value,0%);border-radius:inherit;background:var(--sb-theme-sheet-progress-fill,#080808);height:100%;transition:width .45s var(--sb-ease);animation:sb-progress-in .45s var(--sb-ease) .1s both;display:block}.sb-sheet__close{background:var(--sb-theme-sheet-close-button-background,transparent);width:40px;height:40px;color:var(--sb-theme-sheet-close-button-foreground,var(--sb-text));cursor:pointer;border:0;border-radius:4px;place-items:center;margin:0;padding:8px;display:grid;position:absolute;top:10px;right:16px}.sb-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-sheet__close{left:16px;right:auto}.sb-sheet__close svg{width:24px;height:24px;display:block}.sb-sheet__stage{animation:.25s ease-in-out both sb-step-in}.sb-sheet__body{flex-direction:column;display:flex}.sb-sheet__body--question{padding-bottom:16px}.sb-sheet__copy{text-align:center;justify-items:center;display:grid}.sb-sheet__body--question .sb-sheet__copy{place-items:center;height:88px;padding-inline:23px}.sb-sheet__body--question h2{color:var(--sb-theme-content-heading,var(--sb-text));text-align:center;margin:0;font-size:19px;font-weight:600;line-height:1.24}.sb-sheet__body--sentiment{padding:12px 24px 22px}.sb-sheet__body--sentiment .sb-sheet__copy{align-content:center;gap:8px;min-height:84px}.sb-sheet__body--sentiment .sb-sheet__copy--acknowledgement{min-height:70px;padding-top:6px}.sb-sheet__eyebrow{max-width:100%;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.25;display:-webkit-box;overflow:hidden}.sb-sheet__body--sentiment h2{max-width:100%;color:var(--sb-theme-content-heading,var(--sb-text));text-align:center;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0;font-size:22px;font-weight:600;line-height:1.2;animation:.28s cubic-bezier(.2,0,0,1) both sb-sentiment-title-in;display:-webkit-box;overflow:hidden}.sb-sheet__copy--acknowledgement h2{max-width:324px;font-size:29px;line-height:1.12}.sb-question{min-width:0}.sb-question--sentiment{grid-template-columns:repeat(2,80px);gap:25px;width:185px;margin:37px auto 31px;display:grid}.sb-sheet__copy--acknowledgement+.sb-question--sentiment{margin-top:35px}.sb-sentiment-control{place-items:center;width:80px;height:80px;display:grid;position:relative}.sb-yesno{z-index:1;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;margin:0;padding:0;transition:border-color .18s,background-color .18s,color .18s,scale .12s ease-out;display:grid;position:relative}.sb-yesno__icon,.sb-yesno__icon svg{width:35.5556px;height:35.5556px;display:block}.sb-yesno:hover:not(:disabled){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-yesno:active:not(:disabled){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));scale:.97}.sb-yesno--selected,.sb-yesno--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-yesno:disabled:not(.sb-yesno--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);cursor:default}.sb-spark-ring{z-index:0;opacity:0;pointer-events:none;border-radius:50%;animation:.22s cubic-bezier(.25,.46,.45,.94) forwards sb-spark-in;position:absolute;inset:-26px;scale:.55}.sb-spark-ring__dot{--sb-spark-radius:54px;width:7px;height:7px;transform:rotate(calc(var(--sb-spark-index) * 30deg)) translateY(calc(var(--sb-spark-radius) * -1));background:#dedede;border-radius:50%;margin:-3.5px;position:absolute;top:50%;left:50%}.sb-spark-ring__dot--large{--sb-spark-radius:59px;width:12px;height:12px;margin:-6px}.sb-question--choices,.sb-question--text{width:auto;margin-inline:24px}.sb-options-scroll{scrollbar-gutter:stable;overscroll-behavior:contain;max-height:320.5px;display:grid;overflow:hidden auto}.sb-options-scroll--scrolling{padding-bottom:20px}.sb-question--choices-grid .sb-options-scroll{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sb-question--choices-list .sb-options-scroll{grid-template-columns:minmax(0,1fr);gap:8px}.sb-choice{overflow-wrap:anywhere;border:1px solid var(--sb-theme-choice-default-border,#e2e2e2);background:var(--sb-theme-choice-default-background,var(--sb-surface));width:100%;min-width:0;min-height:51px;color:var(--sb-theme-choice-default-foreground,var(--sb-text));cursor:pointer;font:inherit;text-align:center;border-radius:999px;justify-content:center;align-items:center;margin:0;padding:8px;font-size:16px;font-weight:700;line-height:1.2;transition:border-color .18s,background-color .18s,color .18s,scale .12s ease-out;display:flex}.sb-choice__label{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.sb-question--choices-grid .sb-choice{-webkit-line-clamp:2;-webkit-box-orient:vertical;align-content:center;max-height:51px;display:-webkit-box;overflow:hidden}.sb-question--choices-list .sb-choice{text-align:start;border-radius:16px;justify-content:flex-start;min-height:51px;padding:16px 22px}.sb-choice:hover:not(:disabled){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-choice:active:not(:disabled){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));scale:.97}.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-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-choice--other{border-color:var(--sb-theme-choice-default-border,#e2e2e2);color:var(--sb-theme-input-placeholder,#08080866);gap:0;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-question--choices-grid .sb-choice--other{display:flex}.sb-question--text{padding-top:10px}.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%;height:155px;transition:border-color .18s,background-color .18s;overflow:hidden}.sb-textarea-shell:focus-within{border-color:var(--sb-theme-input-focused-border,var(--sb-border-active))}.sb-textarea{width:100%;height:100%;color:var(--sb-theme-input-foreground,var(--sb-text));font:inherit;resize:none;background:0 0;border:0;outline:0;margin:0;padding:17px 22px;font-size:16px;font-weight:400;line-height:1.25;display:block}.sb-textarea::placeholder{color:var(--sb-theme-input-placeholder,#08080866);opacity:1}.sb-textarea:disabled{color:var(--sb-theme-input-disabled-foreground,var(--sb-text-muted));cursor:not-allowed}.sb-textarea-shell:has(.sb-textarea:disabled){background:var(--sb-theme-input-disabled-background,var(--sb-surface-muted))}.sb-sheet__footer{border-top:1px solid var(--sb-theme-sheet-divider,#e2e2e2);align-items:center;gap:16px;min-height:84px;padding:16px 20px 20px;display:flex}.sb-sheet__answer-comment,.sb-sheet__footer-spacer{flex:auto;min-width:0;margin:0}.sb-sheet__answer-comment{color:var(--sb-theme-content-helper,var(--sb-text-muted));text-align:start;-webkit-line-clamp:2;-webkit-box-orient:vertical;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,.sb-button{cursor:pointer;min-height:48px;font:inherit;border:0;border-radius:999px;margin:0;transition:background-color .18s,color .18s,opacity .18s,scale .12s ease-out}.sb-next{background:var(--sb-theme-button-primary-background,#080808);width:101px;height:48px;color:var(--sb-theme-button-primary-foreground,#fff);flex:0 0 101px;place-items:center;padding:0;display:grid}.sb-next svg{width:20px;height:20px;display:block}.sb-next--acknowledging svg{animation:.36s cubic-bezier(.2,.8,.2,1) both sb-next-acknowledgement}.sb-next:hover:not(:disabled),.sb-next:focus-visible{background:var(--sb-theme-button-primary-hover-background,#080808)}.sb-next:active:not(:disabled){background:var(--sb-theme-button-primary-pressed-background,#080808);scale:.97}.sb-next:disabled,.sb-button:disabled{cursor:not-allowed}.sb-next:disabled{background:var(--sb-theme-button-primary-disabled-background,#08080873);color:var(--sb-theme-button-primary-disabled-foreground,#ffffff73)}.sb-sheet--thanks{padding:22px 20px}.sb-sheet-root--completing .sb-progress__fill{transition-duration:.5s}.sb-thanks{justify-items:center;gap:23px;display:grid}.sb-thanks__icon-shell{background:var(--sb-theme-completion-outer-background,#f0f0f0);opacity:0;width:120px;height:120px;animation:sb-completion-icon-shell .72s var(--sb-ease) .35s both;border-radius:50%;place-items:center;display:grid;position:relative;transform:translateY(46px)}.sb-thanks__icon-core{background:var(--sb-theme-completion-inner-background,#080808);width:66px;height:66px;color:var(--sb-theme-completion-glyph,#fff);animation:sb-completion-icon-core .72s var(--sb-ease) .35s both;border-radius:50%;place-items:center;display:grid;transform:scale(.72)}.sb-thanks__icon-core svg{width:35.44px;height:27.02px;display:block}.sb-thanks__copy{opacity:0;gap:8px;width:min(330px,100%);animation:.3s ease-in-out .89s both sb-completion-content-in;display:grid;transform:translateY(20px)}.sb-thanks__copy h2{max-width:313px;color:var(--sb-theme-content-heading,var(--sb-text));letter-spacing:-.6px;text-align:center;margin:0 auto;font-size:30px;font-weight:600;line-height:1.1}.sb-thanks__copy p{max-width:292px;color:var(--sb-theme-content-body,var(--sb-text-muted));text-align:center;margin:0 auto;font-size:14px;font-weight:400;line-height:1.5}.sb-thanks__actions{opacity:0;gap:10px;width:100%;animation:.3s ease-in-out .89s both sb-completion-content-in;display:flex;transform:translateY(20px)}.sb-button{flex:1 1 0;min-width:0;padding:0 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:not(:disabled),.sb-button--primary:focus-visible{background:var(--sb-theme-button-primary-hover-background,#080808)}.sb-button--secondary:hover:not(:disabled),.sb-button--secondary:focus-visible{background:var(--sb-theme-button-secondary-hover-background,#f2f2f2)}.sb-button--tertiary:hover:not(:disabled),.sb-button--tertiary:focus-visible{background:var(--sb-theme-button-tertiary-hover-background,#f2f2f2)}.sb-button--primary:active:not(:disabled){background:var(--sb-theme-button-primary-pressed-background,#080808)}.sb-button--secondary:active:not(:disabled){background:var(--sb-theme-button-secondary-pressed-background,#e2e2e2)}.sb-button--tertiary:active:not(:disabled){background:var(--sb-theme-button-tertiary-pressed-background,#e2e2e2)}.sb-button--primary:disabled{background:var(--sb-theme-button-primary-disabled-background,#08080873);color:var(--sb-theme-button-primary-disabled-foreground,#ffffff73)}.sb-button--secondary:disabled{background:var(--sb-theme-button-secondary-disabled-background,#f2f2f273);color:var(--sb-theme-button-secondary-disabled-foreground,#08080873)}.sb-button--tertiary:disabled{background:var(--sb-theme-button-tertiary-disabled-background,#f2f2f273);color:var(--sb-theme-button-tertiary-disabled-foreground,#08080873)}.sb-fab:focus-visible,.sb-next:focus-visible,.sb-button:focus-visible,.sb-choice:focus-visible,.sb-yesno:focus-visible,.sb-sheet__close:focus-visible,.sb-sheet-root__overlay:focus-visible{outline-offset:2px;outline:2px solid #6366f1bf}.sb-preview--inline{place-items:center;min-height:540px;padding:24px;display:grid;position:relative;overflow:hidden}.sb-root--inline{place-items:center;width:100%;height:100%;min-height:1px;display:grid;position:relative}.sb-root--inline .sb-safe-area-probe{position:absolute}.sb-root--inline .sb-fab{position:absolute;bottom:auto;right:auto}.sb-root--inline .sb-sheet-root,.sb-preview--inline .sb-sheet-root{z-index:auto;position:absolute}.sb-root--inline .sb-sheet,.sb-preview--inline .sb-sheet{width:min(376px,100% - 24px);max-height:calc(100% - 24px)}.sb-fab.sb-fab--preview-inline{z-index:auto;position:relative;bottom:auto;right:auto}@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-fab-timer-bar{0%{transform:scaleX(1)}to{transform:scaleX(0)}}@keyframes sb-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes sb-overlay-out{0%{opacity:1}to{opacity:0}}@keyframes sb-sheet-in{0%{opacity:0;transform:translate(-50%,28px)}to{opacity:1;transform:translate(-50%)}}@keyframes sb-sheet-out{0%{opacity:1;transform:translate(-50%)}to{opacity:0;transform:translate(-50%,calc(100% + 8px))}}@keyframes sb-progress-in{0%{width:0}to{width:var(--sb-progress-value,0%)}}@keyframes sb-step-in{0%{opacity:0}to{opacity:1}}@keyframes sb-sentiment-title-in{0%{opacity:0;scale:1.12}to{opacity:1;scale:1}}@keyframes sb-spark-in{0%{opacity:0;scale:.55}to{opacity:1;scale:1}}@keyframes sb-footer-comment-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes sb-next-acknowledgement{0%,to{rotate:0deg;scale:1}39%{rotate:-14deg;scale:1.18}}@keyframes sb-footer-comment-out{0%{opacity:1}to{opacity:0}}@keyframes sb-completion-icon-shell{0%{opacity:0;transform:translateY(46px)}58%{opacity:1;transform:translateY(46px)}to{opacity:1;transform:translateY(0)}}@keyframes sb-completion-icon-core{0%{transform:scale(.72)}58%{transform:scale(1.82)}to{transform:scale(1)}}@keyframes sb-completion-content-in{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.sb-root *,.sb-root :before,.sb-root :after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-delay:0s!important}.sb-sheet__answer-comment{animation:none!important}}
2
2
  /*$vite$:1*/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sidebandai/sideband-react",
3
- "version": "1.4.1-rc.2",
3
+ "version": "1.4.3",
4
4
  "description": "React SDK for Sideband client sync surveys and prompts.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -39,7 +39,7 @@
39
39
  "react-dom": "^19.0.0"
40
40
  },
41
41
  "dependencies": {
42
- "@sidebandai/sideband-core": "1.4.1-rc.2"
42
+ "@sidebandai/sideband-core": "1.4.3"
43
43
  },
44
44
  "scripts": {
45
45
  "build": "vite build --config ../../vite.react.config.ts && tsc -p tsconfig.lib.json && node ../../scripts/prepare-react-package.mjs",