@streamlayer/react 1.23.1 → 1.23.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (159) hide show
  1. package/lib/cjs/Question.js +1 -1
  2. package/lib/cjs/advertisement.js +28 -223
  3. package/lib/cjs/analytics.js +1 -1
  4. package/lib/cjs/auth.js +1 -1
  5. package/lib/cjs/bet-pack.js +1 -1
  6. package/lib/cjs/feature.js +1 -1
  7. package/lib/cjs/gamification-feature.js +1 -1
  8. package/lib/cjs/gamification-feature2.js +1 -1
  9. package/lib/cjs/hooks-WfHlJH12.js +1 -1
  10. package/lib/cjs/index-eShKGO10.js +1 -5
  11. package/lib/cjs/index.js +1 -1
  12. package/lib/cjs/index10.js +1 -1
  13. package/lib/cjs/index11.js +3 -4
  14. package/lib/cjs/index12.js +1 -1
  15. package/lib/cjs/index13.js +3 -1
  16. package/lib/cjs/index14.js +1 -1
  17. package/lib/cjs/index15.js +1 -1
  18. package/lib/cjs/index16.js +3 -5
  19. package/lib/cjs/index2.js +1 -1
  20. package/lib/cjs/index3.js +1 -1
  21. package/lib/cjs/index4.js +3 -5
  22. package/lib/cjs/index5.js +1 -1
  23. package/lib/cjs/index6.js +1 -1
  24. package/lib/cjs/index7.js +1 -1
  25. package/lib/cjs/index8.js +1 -1
  26. package/lib/cjs/index9.js +1 -1
  27. package/lib/cjs/insight.js +1 -1
  28. package/lib/cjs/masters.js +1 -1
  29. package/lib/cjs/masters2.js +1 -13
  30. package/lib/cjs/notification.js +1 -1
  31. package/lib/cjs/pause-ad.js +1 -1
  32. package/lib/cjs/points.js +1 -1
  33. package/lib/cjs/polymarket.js +5 -15
  34. package/lib/cjs/sl-types.js +1 -15
  35. package/lib/cjs/storage.js +1 -1
  36. package/lib/cjs/style.css +1 -0
  37. package/lib/cjs/theme.js +1 -17
  38. package/lib/cjs/useStreamLayerApp.js +1 -1
  39. package/lib/cjs/useStreamLayerApp2.js +3 -17
  40. package/lib/cjs/utils.js +1 -47
  41. package/lib/classic/cjs/Question.js +1 -1
  42. package/lib/classic/cjs/advertisement.js +28 -223
  43. package/lib/classic/cjs/analytics.js +1 -1
  44. package/lib/classic/cjs/auth.js +1 -1
  45. package/lib/classic/cjs/bet-pack.js +3 -5
  46. package/lib/classic/cjs/feature.js +1 -1
  47. package/lib/classic/cjs/gamification-feature.js +1 -1
  48. package/lib/classic/cjs/hooks-WfHlJH12.js +1 -1
  49. package/lib/classic/cjs/index-eShKGO10.js +1 -5
  50. package/lib/classic/cjs/index.js +1 -1
  51. package/lib/classic/cjs/index10.js +1 -1
  52. package/lib/classic/cjs/index11.js +1 -1
  53. package/lib/classic/cjs/index12.js +1 -1
  54. package/lib/classic/cjs/index13.js +3 -4
  55. package/lib/classic/cjs/index2.js +3 -5
  56. package/lib/classic/cjs/index3.js +1 -1
  57. package/lib/classic/cjs/index4.js +1 -1
  58. package/lib/classic/cjs/index5.js +1 -1
  59. package/lib/classic/cjs/index6.js +1 -1
  60. package/lib/classic/cjs/index7.js +1 -1
  61. package/lib/classic/cjs/index8.js +1 -1
  62. package/lib/classic/cjs/index9.js +3 -1
  63. package/lib/classic/cjs/insight.js +1 -1
  64. package/lib/classic/cjs/notification.js +1 -1
  65. package/lib/classic/cjs/notification2.js +1 -1
  66. package/lib/classic/cjs/pause-ad.js +1 -1
  67. package/lib/classic/cjs/points.js +1 -1
  68. package/lib/classic/cjs/polymarket.js +5 -15
  69. package/lib/classic/cjs/sl-types.js +1 -15
  70. package/lib/classic/cjs/style.css +1 -0
  71. package/lib/classic/cjs/useStreamLayerApp.js +1 -1
  72. package/lib/classic/cjs/useStreamLayerApp2.js +3 -17
  73. package/lib/classic/cjs/utils.js +1 -47
  74. package/lib/classic/es/Question.js +277 -264
  75. package/lib/classic/es/advertisement.js +34990 -18881
  76. package/lib/classic/es/analytics.js +58 -56
  77. package/lib/classic/es/auth.js +14 -8
  78. package/lib/classic/es/bet-pack.js +2448 -2419
  79. package/lib/classic/es/feature.js +93 -48
  80. package/lib/classic/es/gamification-feature.js +2 -2
  81. package/lib/classic/es/hooks-WfHlJH12.js +78 -78
  82. package/lib/classic/es/index-eShKGO10.js +948 -948
  83. package/lib/classic/es/index.js +13 -13
  84. package/lib/classic/es/index10.js +68 -67
  85. package/lib/classic/es/index11.js +2903 -2159
  86. package/lib/classic/es/index12.js +124 -119
  87. package/lib/classic/es/index13.js +581 -566
  88. package/lib/classic/es/index2.js +2098 -1763
  89. package/lib/classic/es/index3.js +11 -11
  90. package/lib/classic/es/index4.js +127 -127
  91. package/lib/classic/es/index5.js +3 -4
  92. package/lib/classic/es/index6.js +8 -3
  93. package/lib/classic/es/index7.js +6 -5
  94. package/lib/classic/es/index8.js +8 -7
  95. package/lib/classic/es/index9.js +225 -223
  96. package/lib/classic/es/insight.js +58 -53
  97. package/lib/classic/es/notification.js +3 -3
  98. package/lib/classic/es/notification2.js +764 -722
  99. package/lib/classic/es/pause-ad.js +190 -167
  100. package/lib/classic/es/points.js +55 -48
  101. package/lib/classic/es/polymarket.js +4209 -4031
  102. package/lib/classic/es/sl-types.js +193 -125
  103. package/lib/classic/es/useStreamLayerApp.js +2 -2
  104. package/lib/classic/es/useStreamLayerApp2.js +9714 -7603
  105. package/lib/classic/es/utils.js +28 -28
  106. package/lib/classic/index.d.ts +1 -0
  107. package/lib/classic/style.css +1 -0
  108. package/lib/dist/cjs/gamification-feature.js +1 -1
  109. package/lib/dist/cjs/index-eShKGO10.js +1 -5
  110. package/lib/dist/cjs/index.js +1 -1
  111. package/lib/dist/cjs/masters.js +3 -77
  112. package/lib/dist/es/gamification-feature.js +2 -2
  113. package/lib/dist/es/index-eShKGO10.js +948 -948
  114. package/lib/dist/es/index.js +7 -8
  115. package/lib/dist/es/masters.js +18197 -14750
  116. package/lib/dist/index.d.ts +12 -2
  117. package/lib/dist/style.css +1 -1
  118. package/lib/es/Question.js +108 -106
  119. package/lib/es/advertisement.js +34990 -18881
  120. package/lib/es/analytics.js +58 -56
  121. package/lib/es/auth.js +14 -8
  122. package/lib/es/bet-pack.js +29 -17
  123. package/lib/es/feature.js +93 -48
  124. package/lib/es/gamification-feature.js +2 -2
  125. package/lib/es/gamification-feature2.js +2 -2
  126. package/lib/es/hooks-WfHlJH12.js +78 -78
  127. package/lib/es/index-eShKGO10.js +948 -948
  128. package/lib/es/index.js +14 -13
  129. package/lib/es/index10.js +176 -166
  130. package/lib/es/index11.js +581 -566
  131. package/lib/es/index12.js +124 -119
  132. package/lib/es/index13.js +225 -223
  133. package/lib/es/index14.js +68 -67
  134. package/lib/es/index15.js +2903 -2159
  135. package/lib/es/index16.js +1005 -806
  136. package/lib/es/index2.js +1117 -984
  137. package/lib/es/index3.js +3 -4
  138. package/lib/es/index4.js +2424 -2407
  139. package/lib/es/index5.js +11 -11
  140. package/lib/es/index6.js +127 -127
  141. package/lib/es/index7.js +8 -3
  142. package/lib/es/index8.js +5 -5
  143. package/lib/es/index9.js +8 -7
  144. package/lib/es/insight.js +58 -53
  145. package/lib/es/masters.js +6 -5
  146. package/lib/es/masters2.js +696 -559
  147. package/lib/es/notification.js +696 -655
  148. package/lib/es/pause-ad.js +190 -167
  149. package/lib/es/points.js +56 -49
  150. package/lib/es/polymarket.js +4209 -4031
  151. package/lib/es/sl-types.js +200 -132
  152. package/lib/es/storage.js +75 -74
  153. package/lib/es/theme.js +177 -31
  154. package/lib/es/useStreamLayerApp.js +2 -2
  155. package/lib/es/useStreamLayerApp2.js +9714 -7603
  156. package/lib/es/utils.js +28 -28
  157. package/lib/index.d.ts +1 -0
  158. package/lib/style.css +1 -1
  159. package/package.json +23 -20
package/lib/es/index16.js CHANGED
@@ -1,1254 +1,1453 @@
1
- import { atom as b2 } from "nanostores";
2
- import { F as W } from "./feature.js";
3
- import { useState as T, useEffect as V, useRef as Z, useCallback as N, Component as y2, createElement as T2, useMemo as H2 } from "react";
4
- import { u as Y, s, A as K } from "./sl-types.js";
5
- import { jsxs as r, jsx as e, Fragment as S } from "react/jsx-runtime";
6
- import { i as z } from "./index9.js";
7
- import { I as f2, s as V2, b as v2, e as k2 } from "./index12.js";
8
- import { createPortal as D } from "react-dom";
9
- import { u as z2 } from "./utils.js";
10
- import { r as I2, S as x2, R as R2, D as F2 } from "./storage.js";
11
- import { O as S2 } from "./index10.js";
12
- import { w as M2, E as q2 } from "./index13.js";
13
- import { g as E2, I as B2, d as N2, Q as k } from "./useStreamLayerApp2.js";
14
- import { B as H } from "./index6.js";
15
- import { d as Z2 } from "./index5.js";
16
- import { f as O2 } from "./index11.js";
17
- import { a as W2 } from "./analytics.js";
18
- const oe = (i) => b2(i), le = (i) => {
19
- const t = Y(i.getActiveFeature()), n = Y(i.streamStore()), [o, l] = T(null);
20
- return V(() => {
21
- const c = i.getFeatures();
22
- if (!t)
23
- l(null);
1
+ import { F as FeatureStatus } from "./feature.js";
2
+ import { g as atom, h as global, I as InvitationFrom, d as QuestionImages, Q as QuestionType } from "./useStreamLayerApp2.js";
3
+ import { useState, useEffect, useRef, useCallback, Component, createElement, useMemo } from "react";
4
+ import { u as useStore, s as styled_default, A as A$4 } from "./sl-types.js";
5
+ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
6
+ import { i as i$8 } from "./index9.js";
7
+ import { I as I$7, s as s$7, b as b$2, e as e$d } from "./index12.js";
8
+ import { createPortal } from "react-dom";
9
+ import { u as u$3 } from "./utils.js";
10
+ import { r as r$8, S as S$1, R as R$2, D as D$1 } from "./storage.js";
11
+ import { O as O$1 } from "./index10.js";
12
+ import { w as wt, E as Et } from "./index13.js";
13
+ import { B as B1 } from "./index6.js";
14
+ import { d as d$5 } from "./index5.js";
15
+ import { f as f$8 } from "./index11.js";
16
+ import { a as f$7 } from "./analytics.js";
17
+ const createSingleStore = (initialData) => atom(initialData);
18
+ const p$d = (t2) => {
19
+ const r2 = useStore(t2.getActiveFeature()), n2 = useStore(t2.streamStore()), [i2, u2] = useState(null);
20
+ return useEffect(() => {
21
+ const o2 = t2.getFeatures();
22
+ if (!r2)
23
+ u2(null);
24
24
  else
25
- for (const [p, d] of c)
26
- p === t ? (d.status.get() === W.Suspended && d.enable(), l(d)) : d.status.get() === W.Ready && d.disable();
25
+ for (const [s2, e2] of o2)
26
+ s2 === r2 ? (e2.status.get() === FeatureStatus.Suspended && e2.enable(), u2(e2)) : e2.status.get() === FeatureStatus.Ready && e2.disable();
27
27
  return () => {
28
- for (const [, p] of c)
29
- p.status.get() === W.Ready && p.disable();
28
+ for (const [, s2] of o2)
29
+ s2.status.get() === FeatureStatus.Ready && s2.disable();
30
30
  };
31
- }, [t, i, n]), [t, o];
32
- }, j2 = /* @__PURE__ */ s("div")({
31
+ }, [r2, t2, n2]), [r2, i2];
32
+ };
33
+ const n$a = /* @__PURE__ */ styled_default("div")({
33
34
  name: "Container",
34
35
  class: "c1zy8a",
35
- propsAsIs: !1
36
- }), G2 = /* @__PURE__ */ s("div")({
36
+ propsAsIs: false
37
+ }), o$d = /* @__PURE__ */ styled_default("div")({
37
38
  name: "Title",
38
39
  class: "t1vih9p5",
39
- propsAsIs: !1
40
- }), D2 = /* @__PURE__ */ s("div")({
40
+ propsAsIs: false
41
+ }), t$c = /* @__PURE__ */ styled_default("div")({
41
42
  name: "Indicator",
42
43
  class: "i1fbnvpb",
43
- propsAsIs: !1
44
- }), J = ({ indicator: i, title: t }) => /* @__PURE__ */ r(j2, { children: [
45
- /* @__PURE__ */ e(G2, { children: t }),
46
- /* @__PURE__ */ e(D2, { children: i })
47
- ] }), P2 = /* @__PURE__ */ s("div")({
44
+ propsAsIs: false
45
+ });
46
+ const m$7 = ({ indicator: i2, title: n2 }) => /* @__PURE__ */ jsxs(n$a, { children: [
47
+ /* @__PURE__ */ jsx(o$d, { children: n2 }),
48
+ /* @__PURE__ */ jsx(t$c, { children: i2 })
49
+ ] });
50
+ const t$b = /* @__PURE__ */ styled_default("div")({
48
51
  name: "Container",
49
52
  class: "ctmhwyc",
50
- propsAsIs: !1
51
- }), U2 = /* @__PURE__ */ s("div")({
53
+ propsAsIs: false
54
+ }), a$7 = /* @__PURE__ */ styled_default("div")({
52
55
  name: "Indicator",
53
56
  class: "i1jri200",
54
- propsAsIs: !1
55
- }), Q2 = /* @__PURE__ */ s("div")({
57
+ propsAsIs: false
58
+ }), e$c = /* @__PURE__ */ styled_default("div")({
56
59
  name: "Title",
57
60
  class: "t8s05oq",
58
- propsAsIs: !1
59
- }), q = ({ indicator: i, title: t }) => /* @__PURE__ */ r(P2, { children: [
60
- /* @__PURE__ */ e(U2, { children: i }),
61
- /* @__PURE__ */ e(Q2, { children: t })
62
- ] }), Y2 = /* @__PURE__ */ s("div")({
61
+ propsAsIs: false
62
+ });
63
+ const l$b = ({ indicator: r2, title: t2 }) => /* @__PURE__ */ jsxs(t$b, { children: [
64
+ /* @__PURE__ */ jsx(a$7, { children: r2 }),
65
+ /* @__PURE__ */ jsx(e$c, { children: t2 })
66
+ ] });
67
+ const o$c = /* @__PURE__ */ styled_default("div")({
63
68
  name: "Container",
64
69
  class: "c1yrpn9o",
65
- propsAsIs: !1
66
- }), K2 = /* @__PURE__ */ s("div")({
70
+ propsAsIs: false
71
+ }), n$9 = /* @__PURE__ */ styled_default("div")({
67
72
  name: "TopInfo",
68
73
  class: "t17fwahh",
69
- propsAsIs: !1
70
- }), J2 = /* @__PURE__ */ s("div")({
74
+ propsAsIs: false
75
+ }), e$b = /* @__PURE__ */ styled_default("div")({
71
76
  name: "BottomInfo",
72
77
  class: "by6w7e9",
73
- propsAsIs: !1
74
- }), X2 = /* @__PURE__ */ s("div")({
78
+ propsAsIs: false
79
+ }), t$a = /* @__PURE__ */ styled_default("div")({
75
80
  name: "User",
76
81
  class: "u1g7arbm",
77
- propsAsIs: !1
78
- }), e0 = /* @__PURE__ */ s("img")({
82
+ propsAsIs: false
83
+ }), r$7 = /* @__PURE__ */ styled_default("img")({
79
84
  name: "Avatar",
80
85
  class: "a1ldeata",
81
- propsAsIs: !1
82
- }), s0 = /* @__PURE__ */ s("div")({
86
+ propsAsIs: false
87
+ }), c$7 = /* @__PURE__ */ styled_default("div")({
83
88
  name: "UserInfo",
84
89
  class: "u10d4koz",
85
- propsAsIs: !1
86
- }), t0 = /* @__PURE__ */ s("div")({
90
+ propsAsIs: false
91
+ }), l$a = /* @__PURE__ */ styled_default("div")({
87
92
  name: "UserName",
88
93
  class: "u1q6roj0",
89
- propsAsIs: !1
90
- }), i0 = /* @__PURE__ */ s("div")({
94
+ propsAsIs: false
95
+ }), p$c = /* @__PURE__ */ styled_default("div")({
91
96
  name: "UserRating",
92
97
  class: "ui0m425",
93
- propsAsIs: !1
94
- }), n0 = /* @__PURE__ */ s("img")({
98
+ propsAsIs: false
99
+ }), i$7 = /* @__PURE__ */ styled_default("img")({
95
100
  name: "TrophyIcon",
96
101
  class: "t1el3mrn",
97
- propsAsIs: !1
98
- }), r0 = /* @__PURE__ */ s("div")({
102
+ propsAsIs: false
103
+ }), m$6 = /* @__PURE__ */ styled_default("div")({
99
104
  name: "RtsContainer",
100
105
  class: "r2vgnxv",
101
- propsAsIs: !1
102
- }), a0 = /* @__PURE__ */ s("div")({
106
+ propsAsIs: false
107
+ }), d$4 = /* @__PURE__ */ styled_default("div")({
103
108
  name: "RtsDivider",
104
109
  class: "roqn06j",
105
- propsAsIs: !1
106
- }), o0 = /* @__PURE__ */ s("div")({
110
+ propsAsIs: false
111
+ }), f$6 = /* @__PURE__ */ styled_default("div")({
107
112
  name: "Rts",
108
113
  class: "r15adx7c",
109
- propsAsIs: !1
110
- }), X = /* @__PURE__ */ s("div")({
114
+ propsAsIs: false
115
+ }), I$6 = /* @__PURE__ */ styled_default("div")({
111
116
  name: "RtsIndicator",
112
117
  class: "rv59lta",
113
- propsAsIs: !1
114
- }), e2 = /* @__PURE__ */ s("div")({
118
+ propsAsIs: false
119
+ }), v$3 = /* @__PURE__ */ styled_default("div")({
115
120
  name: "RtsLabel",
116
121
  class: "r55lotb",
117
- propsAsIs: !1
118
- }), l0 = /* @__PURE__ */ s("div")({
122
+ propsAsIs: false
123
+ }), A$3 = /* @__PURE__ */ styled_default("div")({
119
124
  name: "Divider",
120
125
  class: "d1knfgqt",
121
- propsAsIs: !1
122
- }), c0 = /* @__PURE__ */ s("div")({
126
+ propsAsIs: false
127
+ }), R$1 = /* @__PURE__ */ styled_default("div")({
123
128
  name: "Ranks",
124
129
  class: "r1mqo824",
125
- propsAsIs: !1
126
- }), d0 = /* @__PURE__ */ s("div")({
130
+ propsAsIs: false
131
+ }), U = /* @__PURE__ */ styled_default("div")({
127
132
  name: "Statistics",
128
133
  class: "sxareh6",
129
- propsAsIs: !1
130
- }), p0 = /* @__PURE__ */ s("div")({
134
+ propsAsIs: false
135
+ }), u$2 = /* @__PURE__ */ styled_default("div")({
131
136
  name: "AvatarPlaceholder",
132
137
  class: "amcu48h",
133
- propsAsIs: !1
134
- }), h0 = /* @__PURE__ */ s("button")({
138
+ propsAsIs: false
139
+ }), h$1 = /* @__PURE__ */ styled_default("button")({
135
140
  name: "UserAccountBtn",
136
141
  class: "u32nfkp",
137
- propsAsIs: !1
138
- }), C0 = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Trophy'%3e%3cpath%20id='Combined%20Shape'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.69197%204.66662C3.69197%205.99705%203.92914%207.17787%204.4035%208.20912C3.49966%208.02451%202.74487%207.66486%202.1391%207.13014C1.53333%206.59542%201.23046%206.0798%201.23046%205.58328V4.66662H3.69197ZM14.7686%204.66662V5.58328C14.7686%206.0798%2014.4658%206.59542%2013.86%207.13014C13.2542%207.66486%2012.4994%208.02451%2011.5956%208.20912C12.0699%207.17787%2012.3071%205.99705%2012.3071%204.66662H14.7686ZM15.9998%205.58329V4.36108C15.9998%204.10645%2015.9101%203.89002%2015.7306%203.71178C15.5511%203.53354%2015.3332%203.44442%2015.0768%203.44442H12.3076V2.52776C12.3076%202.10763%2012.1569%201.74797%2011.8556%201.44878C11.5544%201.14959%2011.1922%201%2010.7691%201H5.23072C4.80764%201%204.44547%201.14959%204.14419%201.44878C3.84291%201.74797%203.69227%202.10763%203.69227%202.52776V3.44442H0.923068C0.666659%203.44442%200.448714%203.53354%200.269228%203.71178C0.0897418%203.89002%200%204.10645%200%204.36108V5.58329C0%206.03525%200.13301%206.49039%200.399034%206.94872C0.665059%207.40705%201.02403%207.82082%201.47595%208.19003C1.92787%208.55924%202.48234%208.86957%203.13939%209.12101C3.79644%209.37246%204.48713%209.51409%205.21149%209.54592C5.48071%209.88967%205.7852%2010.192%206.12494%2010.453C6.36853%2010.6695%206.53679%2010.9002%206.62974%2011.1453C6.72269%2011.3904%206.76916%2011.6752%206.76916%2011.9999C6.76916%2012.3436%206.67141%2012.6333%206.4759%2012.8688C6.28038%2013.1043%205.96789%2013.2221%205.53841%2013.2221C5.05764%2013.2221%204.62976%2013.3669%204.25476%2013.6566C3.87977%2013.9462%203.69227%2014.3106%203.69227%2014.7499V15.361C3.69227%2015.4501%203.72112%2015.5233%203.77881%2015.5806C3.8365%2015.6379%203.91022%2015.6665%203.99996%2015.6665H11.9999C12.0896%2015.6665%2012.1633%2015.6379%2012.221%2015.5806C12.2787%2015.5233%2012.3076%2015.4501%2012.3076%2015.361V14.7499C12.3076%2014.3106%2012.1201%2013.9462%2011.7451%2013.6566C11.3701%2013.3669%2010.9422%2013.2221%2010.4614%2013.2221C10.0319%2013.2221%209.71945%2013.1043%209.52394%2012.8688C9.32843%2012.6333%209.23068%2012.3436%209.23068%2011.9999C9.23068%2011.6752%209.27715%2011.3904%209.3701%2011.1453C9.46305%2010.9002%209.63131%2010.6695%209.8749%2010.453C10.2146%2010.192%2010.5191%209.88967%2010.7884%209.54592C11.5127%209.51409%2012.2034%209.37246%2012.8604%209.12101C13.5175%208.86957%2014.072%208.55924%2014.5239%208.19003C14.9758%207.82082%2015.3348%207.40705%2015.6008%206.94872C15.8668%206.49039%2015.9998%206.03525%2015.9998%205.58329ZM6.76047%207.1798L8.05109%206.49997L9.3417%207.1798L9.09521%205.73989L10.1393%204.72015L8.69639%204.51007L8.05109%203.2L7.40578%204.51007L5.96283%204.72015L7.00696%205.73989L6.76047%207.1798Z'%20fill='%23F2C94C'/%3e%3c/g%3e%3c/svg%3e", ce = ({
139
- loading: i,
140
- hideFriendsRank: t,
141
- avatar: n,
142
- name: o,
143
- points: l,
144
- friendsRank: c,
145
- rank: p,
146
- streak: d,
147
- correct: C,
148
- incorrect: I,
149
- inTop: _,
150
- successRate: L
151
- }) => /* @__PURE__ */ r(Y2, { "data-loading": i, children: [
152
- /* @__PURE__ */ e(K2, { children: /* @__PURE__ */ e(z, { loading: i, children: /* @__PURE__ */ r(X2, { children: [
153
- /* @__PURE__ */ r(h0, { children: [
154
- n && /* @__PURE__ */ e(e0, { alt: "avatar", src: n }),
155
- !n && /* @__PURE__ */ e(p0, { children: f2(o || "") })
142
+ propsAsIs: false
143
+ });
144
+ const F$2 = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Trophy'%3e%3cpath%20id='Combined%20Shape'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.69197%204.66662C3.69197%205.99705%203.92914%207.17787%204.4035%208.20912C3.49966%208.02451%202.74487%207.66486%202.1391%207.13014C1.53333%206.59542%201.23046%206.0798%201.23046%205.58328V4.66662H3.69197ZM14.7686%204.66662V5.58328C14.7686%206.0798%2014.4658%206.59542%2013.86%207.13014C13.2542%207.66486%2012.4994%208.02451%2011.5956%208.20912C12.0699%207.17787%2012.3071%205.99705%2012.3071%204.66662H14.7686ZM15.9998%205.58329V4.36108C15.9998%204.10645%2015.9101%203.89002%2015.7306%203.71178C15.5511%203.53354%2015.3332%203.44442%2015.0768%203.44442H12.3076V2.52776C12.3076%202.10763%2012.1569%201.74797%2011.8556%201.44878C11.5544%201.14959%2011.1922%201%2010.7691%201H5.23072C4.80764%201%204.44547%201.14959%204.14419%201.44878C3.84291%201.74797%203.69227%202.10763%203.69227%202.52776V3.44442H0.923068C0.666659%203.44442%200.448714%203.53354%200.269228%203.71178C0.0897418%203.89002%200%204.10645%200%204.36108V5.58329C0%206.03525%200.13301%206.49039%200.399034%206.94872C0.665059%207.40705%201.02403%207.82082%201.47595%208.19003C1.92787%208.55924%202.48234%208.86957%203.13939%209.12101C3.79644%209.37246%204.48713%209.51409%205.21149%209.54592C5.48071%209.88967%205.7852%2010.192%206.12494%2010.453C6.36853%2010.6695%206.53679%2010.9002%206.62974%2011.1453C6.72269%2011.3904%206.76916%2011.6752%206.76916%2011.9999C6.76916%2012.3436%206.67141%2012.6333%206.4759%2012.8688C6.28038%2013.1043%205.96789%2013.2221%205.53841%2013.2221C5.05764%2013.2221%204.62976%2013.3669%204.25476%2013.6566C3.87977%2013.9462%203.69227%2014.3106%203.69227%2014.7499V15.361C3.69227%2015.4501%203.72112%2015.5233%203.77881%2015.5806C3.8365%2015.6379%203.91022%2015.6665%203.99996%2015.6665H11.9999C12.0896%2015.6665%2012.1633%2015.6379%2012.221%2015.5806C12.2787%2015.5233%2012.3076%2015.4501%2012.3076%2015.361V14.7499C12.3076%2014.3106%2012.1201%2013.9462%2011.7451%2013.6566C11.3701%2013.3669%2010.9422%2013.2221%2010.4614%2013.2221C10.0319%2013.2221%209.71945%2013.1043%209.52394%2012.8688C9.32843%2012.6333%209.23068%2012.3436%209.23068%2011.9999C9.23068%2011.6752%209.27715%2011.3904%209.3701%2011.1453C9.46305%2010.9002%209.63131%2010.6695%209.8749%2010.453C10.2146%2010.192%2010.5191%209.88967%2010.7884%209.54592C11.5127%209.51409%2012.2034%209.37246%2012.8604%209.12101C13.5175%208.86957%2014.072%208.55924%2014.5239%208.19003C14.9758%207.82082%2015.3348%207.40705%2015.6008%206.94872C15.8668%206.49039%2015.9998%206.03525%2015.9998%205.58329ZM6.76047%207.1798L8.05109%206.49997L9.3417%207.1798L9.09521%205.73989L10.1393%204.72015L8.69639%204.51007L8.05109%203.2L7.40578%204.51007L5.96283%204.72015L7.00696%205.73989L6.76047%207.1798Z'%20fill='%23F2C94C'/%3e%3c/g%3e%3c/svg%3e", z$1 = ({
145
+ loading: t2,
146
+ hideFriendsRank: n2,
147
+ avatar: l2,
148
+ name: o2,
149
+ points: s2,
150
+ friendsRank: m2,
151
+ rank: C2,
152
+ streak: p2,
153
+ correct: f2,
154
+ incorrect: v2,
155
+ inTop: L2,
156
+ successRate: g
157
+ }) => /* @__PURE__ */ jsxs(o$c, { "data-loading": t2, children: [
158
+ /* @__PURE__ */ jsx(n$9, { children: /* @__PURE__ */ jsx(i$8, { loading: t2, children: /* @__PURE__ */ jsxs(t$a, { children: [
159
+ /* @__PURE__ */ jsxs(h$1, { children: [
160
+ l2 && /* @__PURE__ */ jsx(r$7, { alt: "avatar", src: l2 }),
161
+ !l2 && /* @__PURE__ */ jsx(u$2, { children: I$7(o2 || "") })
156
162
  ] }),
157
- /* @__PURE__ */ r(s0, { children: [
158
- /* @__PURE__ */ e(t0, { children: o }),
159
- /* @__PURE__ */ r(i0, { children: [
160
- /* @__PURE__ */ r(r0, { children: [
161
- /* @__PURE__ */ r(o0, { children: [
162
- /* @__PURE__ */ e(n0, { alt: "rank-icon", src: C0 }),
163
- /* @__PURE__ */ r(X, { children: [
164
- V2(l),
165
- /* @__PURE__ */ e(e2, { children: "PTS" })
163
+ /* @__PURE__ */ jsxs(c$7, { children: [
164
+ /* @__PURE__ */ jsx(l$a, { children: o2 }),
165
+ /* @__PURE__ */ jsxs(p$c, { children: [
166
+ /* @__PURE__ */ jsxs(m$6, { children: [
167
+ /* @__PURE__ */ jsxs(f$6, { children: [
168
+ /* @__PURE__ */ jsx(i$7, { alt: "rank-icon", src: F$2 }),
169
+ /* @__PURE__ */ jsxs(I$6, { children: [
170
+ s$7(s2),
171
+ /* @__PURE__ */ jsx(v$3, { children: "PTS" })
166
172
  ] })
167
173
  ] }),
168
- t && /* @__PURE__ */ r(X, { children: [
169
- /* @__PURE__ */ e(a0, {}),
170
- p || 0,
171
- /* @__PURE__ */ e(e2, { children: "global rank" })
174
+ n2 && /* @__PURE__ */ jsxs(I$6, { children: [
175
+ /* @__PURE__ */ jsx(d$4, {}),
176
+ C2 || 0,
177
+ /* @__PURE__ */ jsx(v$3, { children: "global rank" })
172
178
  ] })
173
179
  ] }),
174
- !t && /* @__PURE__ */ r(S, { children: [
175
- /* @__PURE__ */ e(l0, {}),
176
- /* @__PURE__ */ r("div", { children: [
180
+ !n2 && /* @__PURE__ */ jsxs(Fragment, { children: [
181
+ /* @__PURE__ */ jsx(A$3, {}),
182
+ /* @__PURE__ */ jsxs("div", { children: [
177
183
  "TOP ",
178
- _ || 0,
184
+ L2 || 0,
179
185
  "%"
180
186
  ] })
181
187
  ] })
182
188
  ] })
183
189
  ] })
184
190
  ] }) }) }),
185
- /* @__PURE__ */ r(J2, { children: [
186
- !t && /* @__PURE__ */ r(c0, { children: [
187
- /* @__PURE__ */ e(z, { loading: i, style: { width: "100%" }, children: /* @__PURE__ */ e(J, { indicator: c || 0, title: "Friends rank" }) }),
188
- /* @__PURE__ */ e(z, { loading: i, style: { width: "100%" }, children: /* @__PURE__ */ e(J, { indicator: p || 0, title: "Global rank" }) })
191
+ /* @__PURE__ */ jsxs(e$b, { children: [
192
+ !n2 && /* @__PURE__ */ jsxs(R$1, { children: [
193
+ /* @__PURE__ */ jsx(i$8, { loading: t2, style: { width: "100%" }, children: /* @__PURE__ */ jsx(m$7, { indicator: m2 || 0, title: "Friends rank" }) }),
194
+ /* @__PURE__ */ jsx(i$8, { loading: t2, style: { width: "100%" }, children: /* @__PURE__ */ jsx(m$7, { indicator: C2 || 0, title: "Global rank" }) })
189
195
  ] }),
190
- /* @__PURE__ */ e(z, { loading: i, children: /* @__PURE__ */ r(d0, { children: [
191
- /* @__PURE__ */ e(q, { indicator: d || 0, title: "Win streak" }),
192
- /* @__PURE__ */ e(q, { indicator: C || 0, title: "Correct" }),
193
- /* @__PURE__ */ e(q, { indicator: I || 0, title: "Incorrect" }),
194
- /* @__PURE__ */ e(q, { indicator: `${L || 0}%`, title: "Succ. rate" })
196
+ /* @__PURE__ */ jsx(i$8, { loading: t2, children: /* @__PURE__ */ jsxs(U, { children: [
197
+ /* @__PURE__ */ jsx(l$b, { indicator: p2 || 0, title: "Win streak" }),
198
+ /* @__PURE__ */ jsx(l$b, { indicator: f2 || 0, title: "Correct" }),
199
+ /* @__PURE__ */ jsx(l$b, { indicator: v2 || 0, title: "Incorrect" }),
200
+ /* @__PURE__ */ jsx(l$b, { indicator: `${g || 0}%`, title: "Succ. rate" })
195
201
  ] }) })
196
202
  ] })
197
- ] }), m0 = /* @__PURE__ */ s("div")({
203
+ ] });
204
+ const S = /* @__PURE__ */ styled_default("div")({
198
205
  name: "StaticContainer",
199
206
  class: "svm502q",
200
- propsAsIs: !1
201
- }), u0 = `
207
+ propsAsIs: false
208
+ }), C$1 = `
202
209
  .sl-pill-button {
203
210
  display: none !important;
204
211
  }
205
- `, A2 = () => window.innerWidth >= K.md && window.innerWidth < K.lg ? 76 : 53, s2 = (i) => {
206
- var t;
207
- const n = A2();
208
- return Math.round((((t = i.current) == null ? void 0 : t.getBoundingClientRect().y) || 0) - n) <= 0;
209
- }, de = ({
210
- children: i,
211
- container: t,
212
- useContainer: n,
213
- staticStyles: o
212
+ `, p$b = () => window.innerWidth >= A$4.md && window.innerWidth < A$4.lg ? 76 : 53, m$5 = (e2) => {
213
+ var n2;
214
+ const t2 = p$b();
215
+ return Math.round((((n2 = e2.current) == null ? void 0 : n2.getBoundingClientRect().y) || 0) - t2) <= 0;
216
+ }, T$3 = ({
217
+ children: e2,
218
+ container: t2,
219
+ useContainer: n2,
220
+ staticStyles: w2
214
221
  }) => {
215
- const [l] = T(() => s2(t)), [c, p] = T(!1);
216
- return V(() => {
217
- if (!t.current || !l)
218
- return p(!0), () => {
222
+ const [s2] = useState(() => m$5(t2)), [r2, i2] = useState(false);
223
+ return useEffect(() => {
224
+ if (!t2.current || !s2)
225
+ return i2(true), () => {
219
226
  };
220
- const d = window.scrollY;
221
- return p(!0), () => {
222
- s2(t) && window.scrollTo({
223
- top: d,
227
+ const o2 = window.scrollY;
228
+ return i2(true), () => {
229
+ m$5(t2) && window.scrollTo({
230
+ top: o2,
224
231
  behavior: "instant"
225
232
  });
226
233
  };
227
- }, []), V(() => {
228
- if (c && t.current && l) {
229
- const d = A2();
234
+ }, []), useEffect(() => {
235
+ if (r2 && t2.current && s2) {
236
+ const o2 = p$b();
230
237
  window.scrollTo({
231
- top: t.current.offsetTop - d,
238
+ top: t2.current.offsetTop - o2,
232
239
  behavior: "instant"
233
240
  });
234
241
  }
235
- }, [c]), !t.current || !c ? null : n ? D(/* @__PURE__ */ r(m0, {
242
+ }, [r2]), !t2.current || !r2 ? null : n2 ? createPortal(/* @__PURE__ */ jsxs(S, {
236
243
  className: "StaticContainer",
237
- children: [i, /* @__PURE__ */ e("style", {
238
- children: z2
239
- }), /* @__PURE__ */ e("style", {
240
- children: u0
244
+ children: [e2, /* @__PURE__ */ jsx("style", {
245
+ children: u$3
246
+ }), /* @__PURE__ */ jsx("style", {
247
+ children: C$1
241
248
  })]
242
- }), t.current, "modal-node") : D(/* @__PURE__ */ r(S, {
243
- children: [i, /* @__PURE__ */ e("style", {
244
- children: o
249
+ }), t2.current, "modal-node") : createPortal(/* @__PURE__ */ jsxs(Fragment, {
250
+ children: [e2, /* @__PURE__ */ jsx("style", {
251
+ children: w2
245
252
  })]
246
- }), t.current, "modal-node");
247
- }, g0 = /* @__PURE__ */ s("button")({
253
+ }), t2.current, "modal-node");
254
+ };
255
+ const n$8 = /* @__PURE__ */ styled_default("button")({
248
256
  name: "Container",
249
257
  class: "cpjnajb",
250
- propsAsIs: !1
251
- }), f0 = /* @__PURE__ */ s("div")({
258
+ propsAsIs: false
259
+ }), a$6 = /* @__PURE__ */ styled_default("div")({
252
260
  name: "Content",
253
261
  class: "c4m6kaz",
254
- propsAsIs: !1
255
- }), v0 = /* @__PURE__ */ s("span")({
262
+ propsAsIs: false
263
+ }), e$a = /* @__PURE__ */ styled_default("span")({
256
264
  name: "Title",
257
265
  class: "t1h8t9cc",
258
- propsAsIs: !1
259
- }), I0 = () => /* @__PURE__ */ e(g0, { children: /* @__PURE__ */ r(f0, { children: [
260
- /* @__PURE__ */ e(H, { name: "iconCopySuccess" }),
261
- /* @__PURE__ */ e(v0, { children: "Link Copied to Clipboard" })
262
- ] }) }), A0 = (i) => {
263
- const t = Z(), [n, o] = T(null), l = N(
264
- async (c) => {
265
- var p;
266
- if (c && (p = navigator == null ? void 0 : navigator.clipboard) != null && p.writeText) {
267
- t.current && (clearTimeout(t.current), o(null));
266
+ propsAsIs: false
267
+ });
268
+ const s$6 = () => /* @__PURE__ */ jsx(n$8, { children: /* @__PURE__ */ jsxs(a$6, { children: [
269
+ /* @__PURE__ */ jsx(B1, { name: "iconCopySuccess" }),
270
+ /* @__PURE__ */ jsx(e$a, { children: "Link Copied to Clipboard" })
271
+ ] }) });
272
+ const T$2 = (r2) => {
273
+ const t2 = useRef(), [c2, o2] = useState(null), a2 = useCallback(
274
+ async (e2) => {
275
+ var i2;
276
+ if (e2 && ((i2 = navigator == null ? void 0 : navigator.clipboard) != null && i2.writeText)) {
277
+ t2.current && (clearTimeout(t2.current), o2(null));
268
278
  try {
269
- await navigator.clipboard.writeText(c), i.current && (o(D(/* @__PURE__ */ e(I0, {}), i.current)), t.current = setTimeout(() => {
270
- o(null);
279
+ await navigator.clipboard.writeText(e2), r2.current && (o2(createPortal(/* @__PURE__ */ jsx(s$6, {}), r2.current)), t2.current = setTimeout(() => {
280
+ o2(null);
271
281
  }, 1e3));
272
- } catch (d) {
273
- console.error("Unable to copy to clipboard", d);
282
+ } catch (n2) {
283
+ console.error("Unable to copy to clipboard", n2);
274
284
  }
275
285
  }
276
286
  },
277
- [i]
287
+ [r2]
278
288
  );
279
- return V(() => () => {
280
- clearTimeout(t.current);
281
- }, []), [l, n];
289
+ return useEffect(() => () => {
290
+ clearTimeout(t2.current);
291
+ }, []), [a2, c2];
282
292
  };
283
- let b;
284
- typeof window < "u" ? b = window : typeof self < "u" ? b = self : b = E2;
285
- let P = null, U = null;
286
- const t2 = 20, j = b.clearTimeout, i2 = b.setTimeout, G = b.cancelAnimationFrame || b.mozCancelAnimationFrame || b.webkitCancelAnimationFrame, n2 = b.requestAnimationFrame || b.mozRequestAnimationFrame || b.webkitRequestAnimationFrame;
287
- G == null || n2 == null ? (P = j, U = function(t) {
288
- return i2(t, t2);
289
- }) : (P = function([t, n]) {
290
- G(t), j(n);
291
- }, U = function(t) {
292
- const n = n2(function() {
293
- j(o), t();
294
- }), o = i2(function() {
295
- G(n), t();
296
- }, t2);
297
- return [n, o];
298
- });
299
- function L0(i) {
300
- let t, n, o, l, c, p, d;
301
- const C = typeof document < "u" && document.attachEvent;
302
- if (!C) {
303
- p = function(u) {
304
- const m = u.__resizeTriggers__, $ = m.firstElementChild, A = m.lastElementChild, y = $.firstElementChild;
305
- A.scrollLeft = A.scrollWidth, A.scrollTop = A.scrollHeight, y.style.width = $.offsetWidth + 1 + "px", y.style.height = $.offsetHeight + 1 + "px", $.scrollLeft = $.scrollWidth, $.scrollTop = $.scrollHeight;
306
- }, c = function(u) {
307
- return u.offsetWidth !== u.__resizeLast__.width || u.offsetHeight !== u.__resizeLast__.height;
308
- }, d = function(u) {
309
- if (u.target.className && typeof u.target.className.indexOf == "function" && u.target.className.indexOf("contract-trigger") < 0 && u.target.className.indexOf("expand-trigger") < 0)
293
+ let windowObject;
294
+ if (typeof window !== "undefined") {
295
+ windowObject = window;
296
+ } else if (typeof self !== "undefined") {
297
+ windowObject = self;
298
+ } else {
299
+ windowObject = global;
300
+ }
301
+ let cancelFrame = null;
302
+ let requestFrame = null;
303
+ const TIMEOUT_DURATION = 20;
304
+ const clearTimeoutFn = windowObject.clearTimeout;
305
+ const setTimeoutFn = windowObject.setTimeout;
306
+ const cancelAnimationFrameFn = windowObject.cancelAnimationFrame || windowObject.mozCancelAnimationFrame || windowObject.webkitCancelAnimationFrame;
307
+ const requestAnimationFrameFn = windowObject.requestAnimationFrame || windowObject.mozRequestAnimationFrame || windowObject.webkitRequestAnimationFrame;
308
+ if (cancelAnimationFrameFn == null || requestAnimationFrameFn == null) {
309
+ cancelFrame = clearTimeoutFn;
310
+ requestFrame = function requestAnimationFrameViaSetTimeout(callback) {
311
+ return setTimeoutFn(callback, TIMEOUT_DURATION);
312
+ };
313
+ } else {
314
+ cancelFrame = function cancelFrame2([animationFrameID, timeoutID]) {
315
+ cancelAnimationFrameFn(animationFrameID);
316
+ clearTimeoutFn(timeoutID);
317
+ };
318
+ requestFrame = function requestAnimationFrameWithSetTimeoutFallback(callback) {
319
+ const animationFrameID = requestAnimationFrameFn(function animationFrameCallback() {
320
+ clearTimeoutFn(timeoutID);
321
+ callback();
322
+ });
323
+ const timeoutID = setTimeoutFn(function timeoutCallback() {
324
+ cancelAnimationFrameFn(animationFrameID);
325
+ callback();
326
+ }, TIMEOUT_DURATION);
327
+ return [animationFrameID, timeoutID];
328
+ };
329
+ }
330
+ function createDetectElementResize(nonce) {
331
+ let animationKeyframes;
332
+ let animationName;
333
+ let animationStartEvent;
334
+ let animationStyle;
335
+ let checkTriggers;
336
+ let resetTriggers;
337
+ let scrollListener;
338
+ const attachEvent = typeof document !== "undefined" && document.attachEvent;
339
+ if (!attachEvent) {
340
+ resetTriggers = function(element) {
341
+ const triggers = element.__resizeTriggers__, expand = triggers.firstElementChild, contract = triggers.lastElementChild, expandChild = expand.firstElementChild;
342
+ contract.scrollLeft = contract.scrollWidth;
343
+ contract.scrollTop = contract.scrollHeight;
344
+ expandChild.style.width = expand.offsetWidth + 1 + "px";
345
+ expandChild.style.height = expand.offsetHeight + 1 + "px";
346
+ expand.scrollLeft = expand.scrollWidth;
347
+ expand.scrollTop = expand.scrollHeight;
348
+ };
349
+ checkTriggers = function(element) {
350
+ return element.offsetWidth !== element.__resizeLast__.width || element.offsetHeight !== element.__resizeLast__.height;
351
+ };
352
+ scrollListener = function(e2) {
353
+ if (e2.target.className && typeof e2.target.className.indexOf === "function" && e2.target.className.indexOf("contract-trigger") < 0 && e2.target.className.indexOf("expand-trigger") < 0) {
310
354
  return;
311
- const m = this;
312
- p(this), this.__resizeRAF__ && P(this.__resizeRAF__), this.__resizeRAF__ = U(function() {
313
- c(m) && (m.__resizeLast__.width = m.offsetWidth, m.__resizeLast__.height = m.offsetHeight, m.__resizeListeners__.forEach(function(y) {
314
- y.call(m, u);
315
- }));
355
+ }
356
+ const element = this;
357
+ resetTriggers(this);
358
+ if (this.__resizeRAF__) {
359
+ cancelFrame(this.__resizeRAF__);
360
+ }
361
+ this.__resizeRAF__ = requestFrame(function animationFrame() {
362
+ if (checkTriggers(element)) {
363
+ element.__resizeLast__.width = element.offsetWidth;
364
+ element.__resizeLast__.height = element.offsetHeight;
365
+ element.__resizeListeners__.forEach(function forEachResizeListener(fn) {
366
+ fn.call(element, e2);
367
+ });
368
+ }
316
369
  });
317
370
  };
318
- let a = !1, h = "";
319
- o = "animationstart";
320
- const g = "Webkit Moz O ms".split(" ");
321
- let f = "webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "), v = "";
371
+ let animation = false;
372
+ let keyframeprefix = "";
373
+ animationStartEvent = "animationstart";
374
+ const domPrefixes = "Webkit Moz O ms".split(" ");
375
+ let startEvents = "webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" ");
376
+ let pfx = "";
322
377
  {
323
- const u = document.createElement("fakeelement");
324
- if (u.style.animationName !== void 0 && (a = !0), a === !1) {
325
- for (let m = 0; m < g.length; m++)
326
- if (u.style[g[m] + "AnimationName"] !== void 0) {
327
- v = g[m], h = "-" + v.toLowerCase() + "-", o = f[m], a = !0;
378
+ const elm = document.createElement("fakeelement");
379
+ if (elm.style.animationName !== void 0) {
380
+ animation = true;
381
+ }
382
+ if (animation === false) {
383
+ for (let i2 = 0; i2 < domPrefixes.length; i2++) {
384
+ if (elm.style[domPrefixes[i2] + "AnimationName"] !== void 0) {
385
+ pfx = domPrefixes[i2];
386
+ keyframeprefix = "-" + pfx.toLowerCase() + "-";
387
+ animationStartEvent = startEvents[i2];
388
+ animation = true;
328
389
  break;
329
390
  }
391
+ }
330
392
  }
331
393
  }
332
- n = "resizeanim", t = "@" + h + "keyframes " + n + " { from { opacity: 0; } to { opacity: 0; } } ", l = h + "animation: 1ms " + n + "; ";
394
+ animationName = "resizeanim";
395
+ animationKeyframes = "@" + keyframeprefix + "keyframes " + animationName + " { from { opacity: 0; } to { opacity: 0; } } ";
396
+ animationStyle = keyframeprefix + "animation: 1ms " + animationName + "; ";
333
397
  }
334
- const I = function(a) {
335
- if (!a.getElementById("detectElementResize")) {
336
- const h = (t || "") + ".resize-triggers { " + (l || "") + 'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }', g = a.head || a.getElementsByTagName("head")[0], f = a.createElement("style");
337
- f.id = "detectElementResize", f.type = "text/css", i != null && f.setAttribute("nonce", i), f.styleSheet ? f.styleSheet.cssText = h : f.appendChild(a.createTextNode(h)), g.appendChild(f);
398
+ const createStyles = function(doc) {
399
+ if (!doc.getElementById("detectElementResize")) {
400
+ const css = (animationKeyframes ? animationKeyframes : "") + ".resize-triggers { " + (animationStyle ? animationStyle : "") + 'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }', head = doc.head || doc.getElementsByTagName("head")[0], style = doc.createElement("style");
401
+ style.id = "detectElementResize";
402
+ style.type = "text/css";
403
+ if (nonce != null) {
404
+ style.setAttribute("nonce", nonce);
405
+ }
406
+ if (style.styleSheet) {
407
+ style.styleSheet.cssText = css;
408
+ } else {
409
+ style.appendChild(doc.createTextNode(css));
410
+ }
411
+ head.appendChild(style);
338
412
  }
339
413
  };
340
- return {
341
- addResizeListener: function(a, h) {
342
- if (C)
343
- a.attachEvent("onresize", h);
344
- else {
345
- if (!a.__resizeTriggers__) {
346
- const g = a.ownerDocument, f = b.getComputedStyle(a);
347
- f && f.position === "static" && (a.style.position = "relative"), I(g), a.__resizeLast__ = {}, a.__resizeListeners__ = [], (a.__resizeTriggers__ = g.createElement("div")).className = "resize-triggers";
348
- const v = g.createElement("div");
349
- v.className = "expand-trigger", v.appendChild(g.createElement("div"));
350
- const u = g.createElement("div");
351
- u.className = "contract-trigger", a.__resizeTriggers__.appendChild(v), a.__resizeTriggers__.appendChild(u), a.appendChild(a.__resizeTriggers__), p(a), a.addEventListener("scroll", d, !0), o && (a.__resizeTriggers__.__animationListener__ = function($) {
352
- $.animationName === n && p(a);
353
- }, a.__resizeTriggers__.addEventListener(o, a.__resizeTriggers__.__animationListener__));
414
+ const addResizeListener = function(element, fn) {
415
+ if (attachEvent) {
416
+ element.attachEvent("onresize", fn);
417
+ } else {
418
+ if (!element.__resizeTriggers__) {
419
+ const doc = element.ownerDocument;
420
+ const elementStyle = windowObject.getComputedStyle(element);
421
+ if (elementStyle && elementStyle.position === "static") {
422
+ element.style.position = "relative";
423
+ }
424
+ createStyles(doc);
425
+ element.__resizeLast__ = {};
426
+ element.__resizeListeners__ = [];
427
+ (element.__resizeTriggers__ = doc.createElement("div")).className = "resize-triggers";
428
+ const expandTrigger = doc.createElement("div");
429
+ expandTrigger.className = "expand-trigger";
430
+ expandTrigger.appendChild(doc.createElement("div"));
431
+ const contractTrigger = doc.createElement("div");
432
+ contractTrigger.className = "contract-trigger";
433
+ element.__resizeTriggers__.appendChild(expandTrigger);
434
+ element.__resizeTriggers__.appendChild(contractTrigger);
435
+ element.appendChild(element.__resizeTriggers__);
436
+ resetTriggers(element);
437
+ element.addEventListener("scroll", scrollListener, true);
438
+ if (animationStartEvent) {
439
+ element.__resizeTriggers__.__animationListener__ = function animationListener(e2) {
440
+ if (e2.animationName === animationName) {
441
+ resetTriggers(element);
442
+ }
443
+ };
444
+ element.__resizeTriggers__.addEventListener(animationStartEvent, element.__resizeTriggers__.__animationListener__);
354
445
  }
355
- a.__resizeListeners__.push(h);
356
446
  }
357
- },
358
- removeResizeListener: function(a, h) {
359
- if (C)
360
- a.detachEvent("onresize", h);
361
- else if (a.__resizeListeners__.splice(a.__resizeListeners__.indexOf(h), 1), !a.__resizeListeners__.length) {
362
- a.removeEventListener("scroll", d, !0), a.__resizeTriggers__.__animationListener__ && (a.__resizeTriggers__.removeEventListener(o, a.__resizeTriggers__.__animationListener__), a.__resizeTriggers__.__animationListener__ = null);
447
+ element.__resizeListeners__.push(fn);
448
+ }
449
+ };
450
+ const removeResizeListener = function(element, fn) {
451
+ if (attachEvent) {
452
+ element.detachEvent("onresize", fn);
453
+ } else {
454
+ element.__resizeListeners__.splice(element.__resizeListeners__.indexOf(fn), 1);
455
+ if (!element.__resizeListeners__.length) {
456
+ element.removeEventListener("scroll", scrollListener, true);
457
+ if (element.__resizeTriggers__.__animationListener__) {
458
+ element.__resizeTriggers__.removeEventListener(animationStartEvent, element.__resizeTriggers__.__animationListener__);
459
+ element.__resizeTriggers__.__animationListener__ = null;
460
+ }
363
461
  try {
364
- a.__resizeTriggers__ = !a.removeChild(a.__resizeTriggers__);
365
- } catch {
462
+ element.__resizeTriggers__ = !element.removeChild(element.__resizeTriggers__);
463
+ } catch (e2) {
366
464
  }
367
465
  }
368
466
  }
369
467
  };
468
+ return {
469
+ addResizeListener,
470
+ removeResizeListener
471
+ };
370
472
  }
371
- class _0 extends y2 {
372
- constructor(...t) {
373
- super(...t), this.state = {
473
+ class AutoSizer extends Component {
474
+ constructor(...args) {
475
+ super(...args);
476
+ this.state = {
374
477
  height: this.props.defaultHeight || 0,
375
478
  scaledHeight: this.props.defaultHeight || 0,
376
479
  scaledWidth: this.props.defaultWidth || 0,
377
480
  width: this.props.defaultWidth || 0
378
- }, this._autoSizer = null, this._detectElementResize = null, this._parentNode = null, this._resizeObserver = null, this._timeoutId = null, this._onResize = () => {
481
+ };
482
+ this._autoSizer = null;
483
+ this._detectElementResize = null;
484
+ this._parentNode = null;
485
+ this._resizeObserver = null;
486
+ this._timeoutId = null;
487
+ this._onResize = () => {
379
488
  this._timeoutId = null;
380
489
  const {
381
- disableHeight: n,
382
- disableWidth: o,
383
- onResize: l
490
+ disableHeight,
491
+ disableWidth,
492
+ onResize
384
493
  } = this.props;
385
494
  if (this._parentNode) {
386
- const c = window.getComputedStyle(this._parentNode) || {}, p = parseFloat(c.paddingLeft || "0"), d = parseFloat(c.paddingRight || "0"), C = parseFloat(c.paddingTop || "0"), I = parseFloat(c.paddingBottom || "0"), _ = this._parentNode.getBoundingClientRect(), L = _.height - C - I, a = _.width - p - d, h = this._parentNode.offsetHeight - C - I, g = this._parentNode.offsetWidth - p - d;
387
- (!n && (this.state.height !== h || this.state.scaledHeight !== L) || !o && (this.state.width !== g || this.state.scaledWidth !== a)) && (this.setState({
388
- height: h,
389
- width: g,
390
- scaledHeight: L,
391
- scaledWidth: a
392
- }), typeof l == "function" && l({
393
- height: h,
394
- scaledHeight: L,
395
- scaledWidth: a,
396
- width: g
397
- }));
495
+ const style = window.getComputedStyle(this._parentNode) || {};
496
+ const paddingLeft = parseFloat(style.paddingLeft || "0");
497
+ const paddingRight = parseFloat(style.paddingRight || "0");
498
+ const paddingTop = parseFloat(style.paddingTop || "0");
499
+ const paddingBottom = parseFloat(style.paddingBottom || "0");
500
+ const rect = this._parentNode.getBoundingClientRect();
501
+ const scaledHeight = rect.height - paddingTop - paddingBottom;
502
+ const scaledWidth = rect.width - paddingLeft - paddingRight;
503
+ const height = this._parentNode.offsetHeight - paddingTop - paddingBottom;
504
+ const width = this._parentNode.offsetWidth - paddingLeft - paddingRight;
505
+ if (!disableHeight && (this.state.height !== height || this.state.scaledHeight !== scaledHeight) || !disableWidth && (this.state.width !== width || this.state.scaledWidth !== scaledWidth)) {
506
+ this.setState({
507
+ height,
508
+ width,
509
+ scaledHeight,
510
+ scaledWidth
511
+ });
512
+ if (typeof onResize === "function") {
513
+ onResize({
514
+ height,
515
+ scaledHeight,
516
+ scaledWidth,
517
+ width
518
+ });
519
+ }
520
+ }
398
521
  }
399
- }, this._setRef = (n) => {
400
- this._autoSizer = n;
522
+ };
523
+ this._setRef = (autoSizer) => {
524
+ this._autoSizer = autoSizer;
401
525
  };
402
526
  }
403
527
  componentDidMount() {
404
528
  const {
405
- nonce: t
406
- } = this.props, n = this._autoSizer ? this._autoSizer.parentNode : null;
407
- if (n != null && n.ownerDocument && n.ownerDocument.defaultView && n instanceof n.ownerDocument.defaultView.HTMLElement) {
408
- this._parentNode = n;
409
- const o = n.ownerDocument.defaultView.ResizeObserver;
410
- o != null ? (this._resizeObserver = new o(() => {
411
- this._timeoutId = setTimeout(this._onResize, 0);
412
- }), this._resizeObserver.observe(n)) : (this._detectElementResize = L0(t), this._detectElementResize.addResizeListener(n, this._onResize)), this._onResize();
529
+ nonce
530
+ } = this.props;
531
+ const parentNode = this._autoSizer ? this._autoSizer.parentNode : null;
532
+ if (parentNode != null && parentNode.ownerDocument && parentNode.ownerDocument.defaultView && parentNode instanceof parentNode.ownerDocument.defaultView.HTMLElement) {
533
+ this._parentNode = parentNode;
534
+ const ResizeObserverInstance = parentNode.ownerDocument.defaultView.ResizeObserver;
535
+ if (ResizeObserverInstance != null) {
536
+ this._resizeObserver = new ResizeObserverInstance(() => {
537
+ this._timeoutId = setTimeout(this._onResize, 0);
538
+ });
539
+ this._resizeObserver.observe(parentNode);
540
+ } else {
541
+ this._detectElementResize = createDetectElementResize(nonce);
542
+ this._detectElementResize.addResizeListener(parentNode, this._onResize);
543
+ }
544
+ this._onResize();
413
545
  }
414
546
  }
415
547
  componentWillUnmount() {
416
- this._parentNode && (this._detectElementResize && this._detectElementResize.removeResizeListener(this._parentNode, this._onResize), this._timeoutId !== null && clearTimeout(this._timeoutId), this._resizeObserver && this._resizeObserver.disconnect());
548
+ if (this._parentNode) {
549
+ if (this._detectElementResize) {
550
+ this._detectElementResize.removeResizeListener(this._parentNode, this._onResize);
551
+ }
552
+ if (this._timeoutId !== null) {
553
+ clearTimeout(this._timeoutId);
554
+ }
555
+ if (this._resizeObserver) {
556
+ this._resizeObserver.disconnect();
557
+ }
558
+ }
417
559
  }
418
560
  render() {
419
561
  const {
420
- children: t,
421
- defaultHeight: n,
422
- defaultWidth: o,
423
- disableHeight: l = !1,
424
- disableWidth: c = !1,
425
- doNotBailOutOnEmptyChildren: p = !1,
426
- nonce: d,
427
- onResize: C,
428
- style: I = {},
429
- tagName: _ = "div",
430
- ...L
431
- } = this.props, {
432
- height: a,
433
- scaledHeight: h,
434
- scaledWidth: g,
435
- width: f
436
- } = this.state, v = {
562
+ children,
563
+ defaultHeight,
564
+ defaultWidth,
565
+ disableHeight = false,
566
+ disableWidth = false,
567
+ doNotBailOutOnEmptyChildren = false,
568
+ nonce,
569
+ onResize,
570
+ style = {},
571
+ tagName = "div",
572
+ ...rest
573
+ } = this.props;
574
+ const {
575
+ height,
576
+ scaledHeight,
577
+ scaledWidth,
578
+ width
579
+ } = this.state;
580
+ const outerStyle = {
437
581
  overflow: "visible"
438
- }, u = {};
439
- let m = !1;
440
- return l || (a === 0 && (m = !0), v.height = 0, u.height = a, u.scaledHeight = h), c || (f === 0 && (m = !0), v.width = 0, u.width = f, u.scaledWidth = g), p && (m = !1), T2(_, {
582
+ };
583
+ const childParams = {};
584
+ let bailoutOnChildren = false;
585
+ if (!disableHeight) {
586
+ if (height === 0) {
587
+ bailoutOnChildren = true;
588
+ }
589
+ outerStyle.height = 0;
590
+ childParams.height = height;
591
+ childParams.scaledHeight = scaledHeight;
592
+ }
593
+ if (!disableWidth) {
594
+ if (width === 0) {
595
+ bailoutOnChildren = true;
596
+ }
597
+ outerStyle.width = 0;
598
+ childParams.width = width;
599
+ childParams.scaledWidth = scaledWidth;
600
+ }
601
+ if (doNotBailOutOnEmptyChildren) {
602
+ bailoutOnChildren = false;
603
+ }
604
+ return createElement(tagName, {
441
605
  ref: this._setRef,
442
606
  style: {
443
- ...v,
444
- ...I
607
+ ...outerStyle,
608
+ ...style
445
609
  },
446
- ...L
447
- }, !m && t(u));
610
+ ...rest
611
+ }, !bailoutOnChildren && children(childParams));
448
612
  }
449
613
  }
450
- const w0 = /* @__PURE__ */ s("div")({
614
+ const i$6 = /* @__PURE__ */ styled_default("div")({
451
615
  name: "Container",
452
616
  class: "c1itm4k7",
453
- propsAsIs: !1
454
- }), $0 = /* @__PURE__ */ s("div")({
617
+ propsAsIs: false
618
+ }), c$6 = /* @__PURE__ */ styled_default("div")({
455
619
  name: "IconContainer",
456
620
  class: "i1w4fsni",
457
- propsAsIs: !1
458
- }), b0 = () => H, y0 = /* @__PURE__ */ s(b0())({
621
+ propsAsIs: false
622
+ }), e$9 = () => B1, l$9 = /* @__PURE__ */ styled_default(e$9())({
459
623
  name: "InviteGameIcon",
460
624
  class: "i19m85r1",
461
- propsAsIs: !0
462
- }), T0 = /* @__PURE__ */ s("div")({
625
+ propsAsIs: true
626
+ }), p$a = /* @__PURE__ */ styled_default("div")({
463
627
  name: "Content",
464
628
  class: "c1mbu204",
465
- propsAsIs: !1
466
- }), H0 = /* @__PURE__ */ s("div")({
629
+ propsAsIs: false
630
+ }), r$6 = /* @__PURE__ */ styled_default("div")({
467
631
  name: "Heading",
468
632
  class: "h1amdqtv",
469
- propsAsIs: !1
470
- }), V0 = /* @__PURE__ */ s("div")({
633
+ propsAsIs: false
634
+ }), m$4 = /* @__PURE__ */ styled_default("div")({
471
635
  name: "Subtext",
472
636
  class: "s1lhlj9j",
473
- propsAsIs: !1
474
- }), k0 = /* @__PURE__ */ s("div")({
637
+ propsAsIs: false
638
+ }), I$5 = /* @__PURE__ */ styled_default("div")({
475
639
  name: "LinkContainer",
476
640
  class: "l1wot35e",
477
- propsAsIs: !1
478
- }), z0 = /* @__PURE__ */ s("div")({
641
+ propsAsIs: false
642
+ }), d$3 = /* @__PURE__ */ styled_default("div")({
479
643
  name: "LinkInfo",
480
644
  class: "l1jdw39q",
481
- propsAsIs: !1
482
- }), x0 = /* @__PURE__ */ s("span")({
645
+ propsAsIs: false
646
+ }), f$5 = /* @__PURE__ */ styled_default("span")({
483
647
  name: "LinkTitle",
484
648
  class: "l1cr5mk",
485
- propsAsIs: !1
486
- }), R0 = /* @__PURE__ */ s("span")({
649
+ propsAsIs: false
650
+ }), v$2 = /* @__PURE__ */ styled_default("span")({
487
651
  name: "LinkAddress",
488
652
  class: "lvi87q4",
489
- propsAsIs: !1
490
- }), F0 = () => H, S0 = /* @__PURE__ */ s(F0())({
653
+ propsAsIs: false
654
+ }), o$b = () => B1, A$2 = /* @__PURE__ */ styled_default(o$b())({
491
655
  name: "LinkIcon",
492
656
  class: "l1pqlvw3",
493
- propsAsIs: !0
494
- }), M0 = ({
495
- inviteLink: i,
496
- inviteCardTitle: t,
497
- inviteCardSubtext: n,
498
- primaryColor: o,
499
- className: l
657
+ propsAsIs: true
658
+ });
659
+ const M = ({
660
+ inviteLink: i2,
661
+ inviteCardTitle: e2,
662
+ inviteCardSubtext: t2,
663
+ primaryColor: c2,
664
+ className: a2
500
665
  }) => {
501
- const c = Z(null), [p, d] = A0(c), [C] = W2({
666
+ const r2 = useRef(null), [l2, d2] = T$2(r2), [m2] = f$7({
502
667
  type: "invitation",
503
668
  action: "sent",
504
669
  payload: {
505
- from: B2.MENU
670
+ from: InvitationFrom.MENU
506
671
  }
507
672
  });
508
- return /* @__PURE__ */ r(w0, { className: l, children: [
509
- /* @__PURE__ */ e($0, { style: { backgroundColor: o }, children: /* @__PURE__ */ e(y0, { name: "invite-game-icon" }) }),
510
- /* @__PURE__ */ r(T0, { children: [
511
- /* @__PURE__ */ e(H0, { children: t || "" }),
512
- /* @__PURE__ */ e(V0, { children: n || "" })
673
+ return /* @__PURE__ */ jsxs(i$6, { className: a2, children: [
674
+ /* @__PURE__ */ jsx(c$6, { style: { backgroundColor: c2 }, children: /* @__PURE__ */ jsx(l$9, { name: "invite-game-icon" }) }),
675
+ /* @__PURE__ */ jsxs(p$a, { children: [
676
+ /* @__PURE__ */ jsx(r$6, { children: e2 || "" }),
677
+ /* @__PURE__ */ jsx(m$4, { children: t2 || "" })
513
678
  ] }),
514
- i && /* @__PURE__ */ r(k0, { ref: c, "data-a": "intr", onClick: C(() => p(i)), children: [
515
- /* @__PURE__ */ r(z0, { children: [
516
- /* @__PURE__ */ e(x0, { children: "Invite link" }),
517
- /* @__PURE__ */ e(R0, { children: i })
679
+ i2 && /* @__PURE__ */ jsxs(I$5, { ref: r2, "data-a": "intr", onClick: m2(() => l2(i2)), children: [
680
+ /* @__PURE__ */ jsxs(d$3, { children: [
681
+ /* @__PURE__ */ jsx(f$5, { children: "Invite link" }),
682
+ /* @__PURE__ */ jsx(v$2, { children: i2 })
518
683
  ] }),
519
- /* @__PURE__ */ e(S0, { name: "icon-copy" })
684
+ /* @__PURE__ */ jsx(A$2, { name: "icon-copy" })
520
685
  ] }),
521
- d
686
+ d2
522
687
  ] });
523
- }, q0 = () => I2, E0 = /* @__PURE__ */ s(q0())({
688
+ };
689
+ const s$5 = () => r$8, i$5 = /* @__PURE__ */ styled_default(s$5())({
524
690
  name: "Container",
525
691
  class: "cll3md7",
526
- propsAsIs: !0
527
- }), B0 = () => x2, N0 = /* @__PURE__ */ s(B0())({
692
+ propsAsIs: true
693
+ }), e$8 = () => S$1, p$9 = /* @__PURE__ */ styled_default(e$8())({
528
694
  name: "ActionBtn",
529
695
  class: "a10g1iik",
530
- propsAsIs: !0
531
- }), Z0 = ({ questionId: i, ...t }) => /* @__PURE__ */ r(E0, { "data-a": "intr", "data-name": i, children: [
532
- /* @__PURE__ */ e(S2, { questionId: i, ...t }),
533
- /* @__PURE__ */ e(N0, { "data-a": "intr", "data-name": i, children: "View Insight" })
534
- ] }), O0 = () => I2, W0 = /* @__PURE__ */ s(O0())({
696
+ propsAsIs: true
697
+ });
698
+ const c$5 = ({ questionId: t2, ...r2 }) => /* @__PURE__ */ jsxs(i$5, { "data-a": "intr", "data-name": t2, children: [
699
+ /* @__PURE__ */ jsx(O$1, { questionId: t2, ...r2 }),
700
+ /* @__PURE__ */ jsx(p$9, { "data-a": "intr", "data-name": t2, children: "View Insight" })
701
+ ] });
702
+ const s$4 = () => r$8, a$5 = /* @__PURE__ */ styled_default(s$4())({
535
703
  name: "Container",
536
704
  class: "cl56x6b",
537
- propsAsIs: !0
538
- }), j0 = /* @__PURE__ */ s("button")({
705
+ propsAsIs: true
706
+ }), c$4 = /* @__PURE__ */ styled_default("button")({
539
707
  name: "ActionButton",
540
708
  class: "a11pzf92",
541
- propsAsIs: !1
542
- }), G0 = /* @__PURE__ */ s("blockquote")({
709
+ propsAsIs: false
710
+ }), p$8 = /* @__PURE__ */ styled_default("blockquote")({
543
711
  name: "Quote",
544
712
  class: "q1hbaleq",
545
- propsAsIs: !1
546
- }), D0 = ({ ...i }) => /* @__PURE__ */ r(W0, { "data-a": "intr", "data-name": i.tweetId, children: [
547
- i.title && /* @__PURE__ */ e(G0, { children: i.title }),
548
- /* @__PURE__ */ e(v2, { ...i }),
549
- /* @__PURE__ */ e(j0, { "data-a": "intr", "data-name": i.tweetId, children: "View Insight" })
550
- ] }), r2 = /* @__PURE__ */ s("div")({
713
+ propsAsIs: false
714
+ });
715
+ const l$8 = ({ ...t2 }) => /* @__PURE__ */ jsxs(a$5, { "data-a": "intr", "data-name": t2.tweetId, children: [
716
+ t2.title && /* @__PURE__ */ jsx(p$8, { children: t2.title }),
717
+ /* @__PURE__ */ jsx(b$2, { ...t2 }),
718
+ /* @__PURE__ */ jsx(c$4, { "data-a": "intr", "data-name": t2.tweetId, children: "View Insight" })
719
+ ] });
720
+ const e$7 = /* @__PURE__ */ styled_default("div")({
551
721
  name: "QuestionsContainer",
552
722
  class: "qvghv3l",
553
- propsAsIs: !1
554
- }), pe = ({ questions: i, openQuestion: t, controlVideo: n }) => i ? /* @__PURE__ */ e(r2, { "data-a": "intr", onClick: (l) => {
555
- const c = l.target.getAttribute("data-name");
556
- c && (M2(), t(c, { openedFrom: "list" }));
557
- }, children: i == null ? void 0 : i.map((l) => {
558
- var c, p, d;
559
- if (l.type === "question" && ((c = l.attributes) == null ? void 0 : c.attributes.case) === "question") {
560
- const C = l.attributes.attributes.value;
561
- return /* @__PURE__ */ e(R2, { ...C }, C.questionId);
562
- }
563
- if (l.type === "insight" && ((p = l.attributes) == null ? void 0 : p.attributes.case) === "insight") {
564
- const C = l.attributes.attributes.value;
565
- return /* @__PURE__ */ e(Z0, { controlVideo: n, ...C }, C.questionId);
566
- }
567
- if (l.type === "tweet" && ((d = l.attributes) == null ? void 0 : d.attributes.case) === "tweet") {
568
- const C = l.attributes.attributes.value, I = l.attributes.id;
569
- return /* @__PURE__ */ e(D0, { controlVideo: n, ...C, tweetId: I }, I);
570
- }
571
- return null;
572
- }) }) : /* @__PURE__ */ e(r2, { children: Array.from({ length: 5 }).map((l, c) => /* @__PURE__ */ e(F2, {}, c)) }), P0 = /* @__PURE__ */ s("div")({
723
+ propsAsIs: false
724
+ });
725
+ const k$2 = ({ questions: n2, openQuestion: b2, controlVideo: a2 }) => {
726
+ const l2 = (t2) => {
727
+ const e2 = t2.target.getAttribute("data-name");
728
+ e2 && (wt(), b2(e2, { openedFrom: "list" }));
729
+ };
730
+ return n2 ? /* @__PURE__ */ jsx(e$7, { "data-a": "intr", onClick: l2, children: n2 == null ? void 0 : n2.map((t2) => {
731
+ var e2, u2, s2;
732
+ if (t2.type === "question" && ((e2 = t2.attributes) == null ? void 0 : e2.attributes.case) === "question") {
733
+ const i2 = t2.attributes.attributes.value;
734
+ return /* @__PURE__ */ jsx(R$2, { ...i2 }, i2.questionId);
735
+ }
736
+ if (t2.type === "insight" && ((u2 = t2.attributes) == null ? void 0 : u2.attributes.case) === "insight") {
737
+ const i2 = t2.attributes.attributes.value;
738
+ return /* @__PURE__ */ jsx(c$5, { controlVideo: a2, ...i2 }, i2.questionId);
739
+ }
740
+ if (t2.type === "tweet" && ((s2 = t2.attributes) == null ? void 0 : s2.attributes.case) === "tweet") {
741
+ const i2 = t2.attributes.attributes.value, o2 = t2.attributes.id;
742
+ return /* @__PURE__ */ jsx(l$8, { controlVideo: a2, ...i2, tweetId: o2 }, o2);
743
+ }
744
+ return null;
745
+ }) }) : /* @__PURE__ */ jsx(e$7, { children: Array.from({ length: 5 }).map((t2, e2) => /* @__PURE__ */ jsx(D$1, {}, e2)) });
746
+ };
747
+ const t$9 = /* @__PURE__ */ styled_default("div")({
573
748
  name: "InsightContainer",
574
749
  class: "i1pqqgpo",
575
- propsAsIs: !1
576
- }), U0 = /* @__PURE__ */ s("img")({
750
+ propsAsIs: false
751
+ }), e$6 = /* @__PURE__ */ styled_default("img")({
577
752
  name: "Image",
578
753
  class: "igj7luu",
579
- propsAsIs: !1
580
- }), Q0 = /* @__PURE__ */ s("div")({
754
+ propsAsIs: false
755
+ }), a$4 = /* @__PURE__ */ styled_default("div")({
581
756
  name: "ImageContainer",
582
757
  class: "i1qne9g6",
583
- propsAsIs: !1
584
- }), Y0 = /* @__PURE__ */ s("div")({
758
+ propsAsIs: false
759
+ }), o$a = /* @__PURE__ */ styled_default("div")({
585
760
  name: "InsightContent",
586
761
  class: "itpr98r",
587
- propsAsIs: !1
588
- }), K0 = /* @__PURE__ */ s("h3")({
762
+ propsAsIs: false
763
+ }), i$4 = /* @__PURE__ */ styled_default("h3")({
589
764
  name: "Title",
590
765
  class: "t17iaqp8",
591
- propsAsIs: !1
592
- }), J0 = /* @__PURE__ */ s("div")({
766
+ propsAsIs: false
767
+ }), p$7 = /* @__PURE__ */ styled_default("div")({
593
768
  name: "Description",
594
769
  class: "d16t3y7s",
595
- propsAsIs: !1
596
- }), X0 = /* @__PURE__ */ s("button")({
770
+ propsAsIs: false
771
+ }), r$5 = /* @__PURE__ */ styled_default("button")({
597
772
  name: "ActionBtn",
598
773
  class: "a12495er",
599
- propsAsIs: !1
600
- }), e1 = ({ video: i, image: t, imageMode: n, heading: o, body: l, action: c, controlVideo: p }) => /* @__PURE__ */ r(P0, { children: [
601
- (i == null ? void 0 : i.url) && /* @__PURE__ */ e(q2, { source: i.url, poster: i.thumbnailUrl, controlVideo: p }),
602
- t && !(i != null && i.url) && /* @__PURE__ */ e(Q0, { "data-rounded": n === N2.ROUNDED, children: /* @__PURE__ */ e(U0, { src: t, alt: o }) }),
603
- /* @__PURE__ */ r(Y0, { children: [
604
- /* @__PURE__ */ e(K0, { children: o }),
605
- /* @__PURE__ */ e(J0, { children: l }),
606
- c && /* @__PURE__ */ e(X0, { onClick: c, children: "View Insight" })
774
+ propsAsIs: false
775
+ });
776
+ const V = ({ video: r2, image: t2, imageMode: i2, heading: l2, body: m2, action: s2, controlVideo: e2 }) => /* @__PURE__ */ jsxs(t$9, { children: [
777
+ (r2 == null ? void 0 : r2.url) && /* @__PURE__ */ jsx(Et, { source: r2.url, poster: r2.thumbnailUrl, controlVideo: e2 }),
778
+ t2 && !(r2 != null && r2.url) && /* @__PURE__ */ jsx(a$4, { "data-rounded": i2 === QuestionImages.ROUNDED, children: /* @__PURE__ */ jsx(e$6, { src: t2, alt: l2 }) }),
779
+ /* @__PURE__ */ jsxs(o$a, { children: [
780
+ /* @__PURE__ */ jsx(i$4, { children: l2 }),
781
+ /* @__PURE__ */ jsx(p$7, { children: m2 }),
782
+ s2 && /* @__PURE__ */ jsx(r$5, { onClick: s2, children: "View Insight" })
607
783
  ] })
608
- ] }), s1 = /* @__PURE__ */ s("div")({
784
+ ] });
785
+ const p$6 = /* @__PURE__ */ styled_default("div")({
609
786
  name: "Container",
610
787
  class: "c1eptrjd",
611
- propsAsIs: !1
612
- }), t1 = /* @__PURE__ */ s("div")({
788
+ propsAsIs: false
789
+ }), t$8 = /* @__PURE__ */ styled_default("div")({
613
790
  name: "CloseIconWrap",
614
791
  class: "crylm65",
615
- propsAsIs: !1
616
- }), i1 = () => H, n1 = /* @__PURE__ */ s(i1())({
792
+ propsAsIs: false
793
+ }), o$9 = () => B1, r$4 = /* @__PURE__ */ styled_default(o$9())({
617
794
  name: "CloseIcon",
618
795
  class: "c9mrcz7",
619
- propsAsIs: !0
620
- }), r1 = /* @__PURE__ */ s("div")({
796
+ propsAsIs: true
797
+ }), l$7 = /* @__PURE__ */ styled_default("div")({
621
798
  name: "Header",
622
799
  class: "hw3lzv4",
623
- propsAsIs: !1
624
- }), a1 = () => H, o1 = /* @__PURE__ */ s(a1())({
800
+ propsAsIs: false
801
+ }), n$7 = () => B1, m$3 = /* @__PURE__ */ styled_default(n$7())({
625
802
  name: "TypeIcon",
626
803
  class: "t1rrb3kf",
627
- propsAsIs: !0
628
- }), l1 = /* @__PURE__ */ s("span")({
804
+ propsAsIs: true
805
+ }), I$4 = /* @__PURE__ */ styled_default("span")({
629
806
  name: "TypeName",
630
807
  class: "t1ydnjov",
631
- propsAsIs: !1
632
- }), c1 = /* @__PURE__ */ s("div")({
808
+ propsAsIs: false
809
+ }), f$4 = /* @__PURE__ */ styled_default("div")({
633
810
  name: "Question",
634
811
  class: "qlf90cl",
635
- propsAsIs: !1
636
- }), d1 = /* @__PURE__ */ s("button")({
812
+ propsAsIs: false
813
+ }), i$3 = /* @__PURE__ */ styled_default("button")({
637
814
  name: "AnswerButton",
638
815
  class: "a1e0nhcl",
639
- propsAsIs: !1
640
- }), p1 = /* @__PURE__ */ s("div")({
816
+ propsAsIs: false
817
+ });
818
+ const t$7 = /* @__PURE__ */ styled_default("div")({
641
819
  name: "Container",
642
820
  class: "c1t4f0x4",
643
- propsAsIs: !1
644
- }), h1 = /* @__PURE__ */ s("button")({
821
+ propsAsIs: false
822
+ }), n$6 = /* @__PURE__ */ styled_default("button")({
645
823
  name: "ActionBtn",
646
824
  class: "a16w1nl6",
647
- propsAsIs: !1
648
- }), C1 = /* @__PURE__ */ s("div")({
825
+ propsAsIs: false
826
+ }), a$3 = /* @__PURE__ */ styled_default("div")({
649
827
  name: "QuoteWrap",
650
828
  class: "q14u54rf",
651
- propsAsIs: !1
652
- }), m1 = /* @__PURE__ */ s("blockquote")({
829
+ propsAsIs: false
830
+ }), e$5 = /* @__PURE__ */ styled_default("blockquote")({
653
831
  name: "Quote",
654
832
  class: "q1hxm6zo",
655
- propsAsIs: !1
656
- }), u1 = ({ action: i, ...t }) => /* @__PURE__ */ r(p1, { children: [
657
- t.title && /* @__PURE__ */ e(C1, { children: /* @__PURE__ */ e(m1, { children: t.title }) }),
658
- /* @__PURE__ */ e(v2, { ...t }),
659
- i && /* @__PURE__ */ e(h1, { onClick: i, children: "View Insight" })
660
- ] }), he = ({
661
- close: i,
662
- action: t,
663
- controlVideo: n,
664
- data: { questionType: o, question: l, insight: c, tweet: p }
833
+ propsAsIs: false
834
+ });
835
+ const s$3 = ({ action: i2, ...e2 }) => /* @__PURE__ */ jsxs(t$7, { children: [
836
+ e2.title && /* @__PURE__ */ jsx(a$3, { children: /* @__PURE__ */ jsx(e$5, { children: e2.title }) }),
837
+ /* @__PURE__ */ jsx(b$2, { ...e2 }),
838
+ i2 && /* @__PURE__ */ jsx(n$6, { onClick: i2, children: "View Insight" })
839
+ ] });
840
+ const w$2 = ({
841
+ close: i2,
842
+ action: o2,
843
+ controlVideo: c2,
844
+ data: { questionType: r2, question: t2, insight: d2, tweet: e2 }
665
845
  }) => {
666
- const d = k2[o];
667
- return d ? /* @__PURE__ */ r(s1, { onClick: t, style: o === k.TWEET ? { paddingTop: "12px" } : {}, children: [
668
- /* @__PURE__ */ e(
669
- t1,
846
+ const l2 = e$d[r2];
847
+ return l2 ? /* @__PURE__ */ jsxs(p$6, { onClick: o2, style: r2 === QuestionType.TWEET ? { paddingTop: "12px" } : {}, children: [
848
+ /* @__PURE__ */ jsx(
849
+ t$8,
670
850
  {
671
851
  "data-a": "intr",
672
- onClick: (C) => {
673
- C.stopPropagation(), i && i(C);
852
+ onClick: (p2) => {
853
+ p2.stopPropagation(), i2 && i2(p2);
674
854
  },
675
- children: /* @__PURE__ */ e(n1, { name: "icon-cross" })
855
+ children: /* @__PURE__ */ jsx(r$4, { name: "icon-cross" })
676
856
  }
677
857
  ),
678
- o !== k.TWEET && /* @__PURE__ */ r(r1, { children: [
679
- /* @__PURE__ */ e(
680
- o1,
858
+ r2 !== QuestionType.TWEET && /* @__PURE__ */ jsxs(l$7, { children: [
859
+ /* @__PURE__ */ jsx(
860
+ m$3,
681
861
  {
682
- "data-type-trivia": o === k.TRIVIA,
683
- "data-type-poll": o === k.POLL,
684
- name: d.iconName
862
+ "data-type-trivia": r2 === QuestionType.TRIVIA,
863
+ "data-type-poll": r2 === QuestionType.POLL,
864
+ name: l2.iconName
685
865
  }
686
866
  ),
687
- /* @__PURE__ */ e(l1, { children: d.label })
867
+ /* @__PURE__ */ jsx(I$4, { children: l2.label })
688
868
  ] }),
689
- o === k.FACTOID && c && /* @__PURE__ */ e(e1, { ...c, action: t, controlVideo: n }),
690
- o === k.TWEET && p && /* @__PURE__ */ e(u1, { ...p, action: t, controlVideo: n }),
691
- o !== k.FACTOID && o !== k.TWEET && /* @__PURE__ */ r(S, { children: [
692
- /* @__PURE__ */ e(c1, { children: l == null ? void 0 : l.title }),
693
- /* @__PURE__ */ e(d1, { children: "Answer" })
869
+ r2 === QuestionType.FACTOID && d2 && /* @__PURE__ */ jsx(V, { ...d2, action: o2, controlVideo: c2 }),
870
+ r2 === QuestionType.TWEET && e2 && /* @__PURE__ */ jsx(s$3, { ...e2, action: o2, controlVideo: c2 }),
871
+ r2 !== QuestionType.FACTOID && r2 !== QuestionType.TWEET && /* @__PURE__ */ jsxs(Fragment, { children: [
872
+ /* @__PURE__ */ jsx(f$4, { children: t2 == null ? void 0 : t2.title }),
873
+ /* @__PURE__ */ jsx(i$3, { children: "Answer" })
694
874
  ] })
695
875
  ] }) : null;
696
- }, R = /* @__PURE__ */ s("div")({
876
+ };
877
+ const l$6 = /* @__PURE__ */ styled_default("div")({
697
878
  name: "BGWrap",
698
879
  class: "b1dqe0sz",
699
- propsAsIs: !1
700
- }), w = /* @__PURE__ */ s("div")({
880
+ propsAsIs: false
881
+ }), s$2 = /* @__PURE__ */ styled_default("div")({
701
882
  name: "BGLineBase",
702
883
  class: "b1v6w7ni",
703
- propsAsIs: !1
704
- }), g1 = () => w, f1 = /* @__PURE__ */ s(g1())({
884
+ propsAsIs: false
885
+ }), n$5 = () => s$2, m$2 = /* @__PURE__ */ styled_default(n$5())({
705
886
  name: "BGOneLineOne",
706
887
  class: "b2nqb1p",
707
- propsAsIs: !0
708
- }), v1 = () => w, I1 = /* @__PURE__ */ s(v1())({
888
+ propsAsIs: true
889
+ }), o$8 = () => s$2, x$1 = /* @__PURE__ */ styled_default(o$8())({
709
890
  name: "BGOneLineTwo",
710
891
  class: "b1xxgmbk",
711
- propsAsIs: !0
712
- }), A1 = () => w, L1 = /* @__PURE__ */ s(A1())({
892
+ propsAsIs: true
893
+ }), r$3 = () => s$2, w$1 = /* @__PURE__ */ styled_default(r$3())({
713
894
  name: "BGOneLineThree",
714
895
  class: "b63lwcb",
715
- propsAsIs: !0
716
- }), _1 = () => w, a2 = /* @__PURE__ */ s(_1())({
896
+ propsAsIs: true
897
+ }), p$5 = () => s$2, A$1 = /* @__PURE__ */ styled_default(p$5())({
717
898
  name: "BGTwoLineOne",
718
899
  class: "b2iah4",
719
- propsAsIs: !0
720
- }), w1 = () => w, o2 = /* @__PURE__ */ s(w1())({
900
+ propsAsIs: true
901
+ }), t$6 = () => s$2, I$3 = /* @__PURE__ */ styled_default(t$6())({
721
902
  name: "BGTwoLineTwo",
722
903
  class: "b1xezvf6",
723
- propsAsIs: !0
724
- }), $1 = () => w, l2 = /* @__PURE__ */ s($1())({
904
+ propsAsIs: true
905
+ }), c$3 = () => s$2, O = /* @__PURE__ */ styled_default(c$3())({
725
906
  name: "BGTwoLineThree",
726
907
  class: "b1jz1hg0",
727
- propsAsIs: !0
728
- }), b1 = () => w, c2 = /* @__PURE__ */ s(b1())({
908
+ propsAsIs: true
909
+ }), a$2 = () => s$2, _$1 = /* @__PURE__ */ styled_default(a$2())({
729
910
  name: "BGThreeLineOne",
730
911
  class: "b18ho1tk",
731
- propsAsIs: !0
732
- }), y1 = () => w, d2 = /* @__PURE__ */ s(y1())({
912
+ propsAsIs: true
913
+ }), i$2 = () => s$2, F$1 = /* @__PURE__ */ styled_default(i$2())({
733
914
  name: "BGThreeLineTwo",
734
915
  class: "b14uvjfm",
735
- propsAsIs: !0
736
- }), T1 = () => w, p2 = /* @__PURE__ */ s(T1())({
916
+ propsAsIs: true
917
+ }), B = () => s$2, d$2 = /* @__PURE__ */ styled_default(B())({
737
918
  name: "BGThreeLineThree",
738
919
  class: "b11c3ns7",
739
- propsAsIs: !0
740
- }), H1 = () => w, h2 = /* @__PURE__ */ s(H1())({
920
+ propsAsIs: true
921
+ }), G = () => s$2, v$1 = /* @__PURE__ */ styled_default(G())({
741
922
  name: "BGThreeLineFour",
742
923
  class: "b1bqhhet",
743
- propsAsIs: !0
744
- }), V1 = () => w, k1 = /* @__PURE__ */ s(V1())({
924
+ propsAsIs: true
925
+ }), L = () => s$2, f$3 = /* @__PURE__ */ styled_default(L())({
745
926
  name: "BGFourLineOne",
746
927
  class: "b1xyzi7o",
747
- propsAsIs: !0
748
- }), z1 = () => w, x1 = /* @__PURE__ */ s(z1())({
928
+ propsAsIs: true
929
+ }), T$1 = () => s$2, q = /* @__PURE__ */ styled_default(T$1())({
749
930
  name: "BGFourLineTwo",
750
931
  class: "byo0rup",
751
- propsAsIs: !0
752
- }), R1 = () => w, F1 = /* @__PURE__ */ s(R1())({
932
+ propsAsIs: true
933
+ }), u$1 = () => s$2, y = /* @__PURE__ */ styled_default(u$1())({
753
934
  name: "BGFourLineThree",
754
935
  class: "b1oyiqgv",
755
- propsAsIs: !0
756
- }), S1 = () => w, M1 = /* @__PURE__ */ s(S1())({
936
+ propsAsIs: true
937
+ }), h = () => s$2, z = /* @__PURE__ */ styled_default(h())({
757
938
  name: "BGFourLineFour",
758
939
  class: "bx3ddqw",
759
- propsAsIs: !0
760
- }), q1 = ({ step: i, correct: t }) => /* @__PURE__ */ r(S, { children: [
761
- /* @__PURE__ */ r(R, { "data-active": i === 1, "data-first-screen": "true", children: [
762
- /* @__PURE__ */ e(f1, {}),
763
- /* @__PURE__ */ e(I1, {}),
764
- /* @__PURE__ */ e(L1, {})
940
+ propsAsIs: true
941
+ });
942
+ const s$1 = ({ step: n2, correct: L2 }) => /* @__PURE__ */ jsxs(Fragment, { children: [
943
+ /* @__PURE__ */ jsxs(l$6, { "data-active": n2 === 1, "data-first-screen": "true", children: [
944
+ /* @__PURE__ */ jsx(m$2, {}),
945
+ /* @__PURE__ */ jsx(x$1, {}),
946
+ /* @__PURE__ */ jsx(w$1, {})
765
947
  ] }),
766
- /* @__PURE__ */ r(R, { "data-active": i === 2, children: [
767
- /* @__PURE__ */ e(a2, {}),
768
- /* @__PURE__ */ e(o2, {}),
769
- /* @__PURE__ */ e(l2, {})
948
+ /* @__PURE__ */ jsxs(l$6, { "data-active": n2 === 2, children: [
949
+ /* @__PURE__ */ jsx(A$1, {}),
950
+ /* @__PURE__ */ jsx(I$3, {}),
951
+ /* @__PURE__ */ jsx(O, {})
770
952
  ] }),
771
- /* @__PURE__ */ r(R, { "data-active": i === 3, children: [
772
- /* @__PURE__ */ e(a2, {}),
773
- /* @__PURE__ */ e(o2, {}),
774
- /* @__PURE__ */ e(l2, {})
953
+ /* @__PURE__ */ jsxs(l$6, { "data-active": n2 === 3, children: [
954
+ /* @__PURE__ */ jsx(A$1, {}),
955
+ /* @__PURE__ */ jsx(I$3, {}),
956
+ /* @__PURE__ */ jsx(O, {})
775
957
  ] }),
776
- t ? /* @__PURE__ */ r(S, { children: [
777
- /* @__PURE__ */ r(R, { "data-active": i === 4, "data-correct": "true", children: [
778
- /* @__PURE__ */ e(c2, {}),
779
- /* @__PURE__ */ e(d2, {}),
780
- /* @__PURE__ */ e(p2, {}),
781
- /* @__PURE__ */ e(h2, {})
958
+ L2 ? /* @__PURE__ */ jsxs(Fragment, { children: [
959
+ /* @__PURE__ */ jsxs(l$6, { "data-active": n2 === 4, "data-correct": "true", children: [
960
+ /* @__PURE__ */ jsx(_$1, {}),
961
+ /* @__PURE__ */ jsx(F$1, {}),
962
+ /* @__PURE__ */ jsx(d$2, {}),
963
+ /* @__PURE__ */ jsx(v$1, {})
782
964
  ] }),
783
- /* @__PURE__ */ r(R, { "data-active": i === 5, "data-correct": "true", children: [
784
- /* @__PURE__ */ e(c2, {}),
785
- /* @__PURE__ */ e(d2, {}),
786
- /* @__PURE__ */ e(p2, {}),
787
- /* @__PURE__ */ e(h2, {})
965
+ /* @__PURE__ */ jsxs(l$6, { "data-active": n2 === 5, "data-correct": "true", children: [
966
+ /* @__PURE__ */ jsx(_$1, {}),
967
+ /* @__PURE__ */ jsx(F$1, {}),
968
+ /* @__PURE__ */ jsx(d$2, {}),
969
+ /* @__PURE__ */ jsx(v$1, {})
788
970
  ] })
789
- ] }) : /* @__PURE__ */ r(R, { "data-active": i === 4, "data-correct": "false", children: [
790
- /* @__PURE__ */ e(k1, {}),
791
- /* @__PURE__ */ e(x1, {}),
792
- /* @__PURE__ */ e(F1, {}),
793
- /* @__PURE__ */ e(M1, {})
971
+ ] }) : /* @__PURE__ */ jsxs(l$6, { "data-active": n2 === 4, "data-correct": "false", children: [
972
+ /* @__PURE__ */ jsx(f$3, {}),
973
+ /* @__PURE__ */ jsx(q, {}),
974
+ /* @__PURE__ */ jsx(y, {}),
975
+ /* @__PURE__ */ jsx(z, {})
794
976
  ] })
795
- ] }), E1 = 118, B1 = () => O2, N1 = /* @__PURE__ */ s(B1())({
977
+ ] });
978
+ const A = 118, t$5 = () => f$8, f$2 = /* @__PURE__ */ styled_default(t$5())({
796
979
  name: "Container",
797
980
  class: "c10131zw",
798
- propsAsIs: !0
799
- }), Z1 = /* @__PURE__ */ s("div")({
981
+ propsAsIs: true
982
+ }), C = /* @__PURE__ */ styled_default("div")({
800
983
  name: "InnerContainer",
801
984
  class: "ir6k2eo",
802
- propsAsIs: !1
803
- }), x = /* @__PURE__ */ s("div")({
985
+ propsAsIs: false
986
+ }), b$1 = /* @__PURE__ */ styled_default("div")({
804
987
  name: "Content",
805
988
  class: "c1hwoq9l",
806
- propsAsIs: !1
807
- }), M = /* @__PURE__ */ s("div")({
989
+ propsAsIs: false
990
+ }), c$2 = /* @__PURE__ */ styled_default("div")({
808
991
  name: "Title",
809
992
  class: "t4ujo4g",
810
- propsAsIs: !1
811
- }), O1 = () => M, W1 = /* @__PURE__ */ s(O1())({
993
+ propsAsIs: false
994
+ }), r$2 = () => c$2, u = /* @__PURE__ */ styled_default(r$2())({
812
995
  name: "PointsTitle",
813
996
  class: "p1pjil1h",
814
- propsAsIs: !0
815
- }), E = /* @__PURE__ */ s("div")({
997
+ propsAsIs: true
998
+ }), v = /* @__PURE__ */ styled_default("div")({
816
999
  name: "Subtitle",
817
1000
  class: "s1iorwr9",
818
- propsAsIs: !1
819
- }), C2 = /* @__PURE__ */ s("div")({
1001
+ propsAsIs: false
1002
+ }), k$1 = /* @__PURE__ */ styled_default("div")({
820
1003
  name: "SubtitleFG",
821
1004
  class: "s51sv9d",
822
- propsAsIs: !1
823
- }), B = /* @__PURE__ */ s("div")({
1005
+ propsAsIs: false
1006
+ }), x = /* @__PURE__ */ styled_default("div")({
824
1007
  name: "AnswerText",
825
1008
  class: "a1lbk2ye",
826
- propsAsIs: !1
827
- }), j1 = () => H, L2 = /* @__PURE__ */ s(j1())({
1009
+ propsAsIs: false
1010
+ }), a$1 = () => B1, o$7 = /* @__PURE__ */ styled_default(a$1())({
828
1011
  name: "FeedbackIcon",
829
1012
  class: "frcvk3t",
830
- propsAsIs: !0
831
- }), G1 = () => L2, m2 = /* @__PURE__ */ s(G1())({
1013
+ propsAsIs: true
1014
+ }), p$4 = () => o$7, T = /* @__PURE__ */ styled_default(p$4())({
832
1015
  name: "FeedbackIconCorrect",
833
1016
  class: "f33p82r",
834
- propsAsIs: !0
835
- }), D1 = () => L2, P1 = /* @__PURE__ */ s(D1())({
1017
+ propsAsIs: true
1018
+ }), l$5 = () => o$7, F = /* @__PURE__ */ styled_default(l$5())({
836
1019
  name: "FeedbackIconIncorrect",
837
1020
  class: "f12r9net",
838
- propsAsIs: !0
839
- }), u2 = /* @__PURE__ */ s("div")({
1021
+ propsAsIs: true
1022
+ }), _ = /* @__PURE__ */ styled_default("div")({
840
1023
  name: "CloseIconWrap",
841
1024
  class: "c1fw6699",
842
- propsAsIs: !1
843
- }), U1 = () => H, g2 = /* @__PURE__ */ s(U1())({
1025
+ propsAsIs: false
1026
+ }), I$2 = () => B1, w = /* @__PURE__ */ styled_default(I$2())({
844
1027
  name: "CloseIcon",
845
1028
  class: "c115o126",
846
- propsAsIs: !0
847
- }), Q1 = "data:image/svg+xml,%3csvg%20width='154'%20height='37'%20viewBox='0%200%20154%2037'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M70.9776%2030.8796L74.668%2018.1381C75.0696%2016.7473%2076.1186%2015.6318%2077.4936%2015.1371L77.5928%2014.7217H72.466L63.7623%2024.9662L60.431%2014.7217H55.7389L55.6255%2015.1371C56.4288%2015.5291%2056.8683%2016.7052%2056.8683%2017.662V17.7227C56.8683%2023.1787%2052.781%2032.5598%2047.0352%2032.5598C44.8002%2032.5598%2043.6425%2031.0009%2043.6425%2029.7035C43.6425%2028.1306%2044.975%2027.0105%2046.3831%2027.0105C47.744%2027.0105%2047.9519%2027.5099%2048.741%2027.5099C49.2182%2027.5099%2049.6766%2027.2672%2049.9081%2026.8518C50.2672%2026.1984%2049.9931%2025.4049%2049.3363%2025.0922L48.9772%2024.9242C45.6271%2023.3327%2041.7383%2025.7457%2041.7383%2029.4188V29.4701C41.7383%2032.1444%2043.8646%2034.38%2046.5674%2034.4733C53.5417%2034.716%2058.2055%2025.4236%2058.9473%2018.6188L59.486%2020.4577L62.2313%2028.5927H63.2709L71.8518%2018.4741L68.2512%2030.8936C67.8401%2032.3171%2066.6966%2033.4232%2065.2412%2033.7966L65.142%2034.212H72.0408L72.1542%2033.7966C71.1383%2033.2039%2070.6516%2032.0044%2070.9776%2030.8796Z'%20fill='white'/%3e%3cpath%20d='M88.2952%2021.6521H88.2385C85.016%2021.6568%2081.5571%2021.9648%2079.7143%2027.1361C78.1692%2031.4813%2077.7487%2033.2828%2076.539%2033.2828C75.7641%2033.2828%2075.9531%2031.794%2074.7954%2031.794C74.2709%2031.794%2073.7275%2032.2094%2073.6897%2032.8068C73.6236%2033.8429%2075.0317%2034.4683%2076.0949%2034.4683C79.3316%2034.4683%2080.5696%2032.1347%2080.9759%2031.0472C81.0279%2030.9072%2081.3162%2030.1371%2081.6517%2029.2317H85.0538L84.4773%2031.3273C84.1749%2032.4334%2083.5464%2033.3388%2082.488%2033.8009L82.3982%2034.2163H87.9597L88.0637%2033.8009C87.3124%2033.1848%2086.9816%2032.2%2087.2273%2031.2853L89.3206%2023.4257C89.4812%2022.8236%2089.9018%2022.3242%2090.4783%2022.0628L90.568%2021.6475H88.7536H88.2952V21.6521ZM85.3231%2028.2189H82.0202C82.3935%2027.2108%2082.7526%2026.2493%2082.8755%2025.9366C83.7118%2023.757%2085.2995%2022.8749%2086.8399%2022.7536L86.8257%2022.7676L85.3231%2028.2189Z'%20fill='white'/%3e%3cpath%20d='M116.358%2022.5486C116.538%2022.2545%20116.708%2021.8112%20116.708%2021.5591C116.732%2021.0877%20116.297%2020.7237%20115.829%2020.8217C115.456%2020.9011%20115.187%2021.2324%20115.191%2021.6058C115.196%2021.9978%20115.12%2022.4226%20114.95%2022.6279C114.558%2023.104%20113.934%2023.062%20111.062%2022.2452V22.2405C110.797%2022.1659%20110.509%2022.0819%20110.206%2021.9978C110.187%2021.9932%20110.173%2021.9885%20110.159%2021.9838C108.723%2021.6011%20106.941%2021.2464%20105.774%2021.8205C105.765%2021.8252%20105.755%2021.8298%20105.746%2021.8345C104.602%2022.3992%20103.808%2023.4727%20103.567%2024.7142C103.53%2024.8962%20103.506%2025.0455%20103.501%2025.0969C103.468%2025.7456%20104.068%2026.2544%20104.711%2026.1143C105.235%2026.0023%20105.604%2025.5403%20105.59%2025.0129C105.58%2024.4808%20105.472%2023.7667%20105.765%2023.286C106.237%2022.6279%20106.729%2022.5812%20108.935%2023.3047L106.544%2031.323C106.214%2032.4291%20105.406%2033.3345%20104.338%2033.7966L104.238%2034.212H109.961L110.074%2033.7966C109.337%2033.1852%20109.03%2032.1957%20109.299%2031.2809L111.392%2024.0561C112.309%2024.2428%20113.24%2024.2941%20114.147%2024.0374L114.473%2023.9441C115.196%2023.7527%20115.943%2023.2347%20116.358%2022.5486Z'%20fill='white'/%3e%3cpath%20d='M118.649%2021.6523L118.536%2022.0677C119.245%2022.5531%20119.561%2023.4259%20119.335%2024.2427L117.208%2031.3228C116.877%2032.429%20116.069%2033.3344%20115.002%2033.7964L114.902%2034.2118H117.931H118.21H125.18L126.101%2030.8934H125.666L125.51%2031.2108C124.934%2032.3963%20123.72%2033.1524%20122.382%2033.1524H119.429L121.003%2027.5937H122.259C123.105%2027.5937%20123.743%2028.3545%20123.582%2029.1759H124.012L125.043%2025.4188H124.613C124.362%2026.1142%20123.696%2026.5763%20122.949%2026.5809H121.291L122.382%2022.7258L125.515%2022.7211C126.536%2022.7211%20127.301%2023.6452%20127.098%2024.6347H127.528L128.35%2021.6523H118.649Z'%20fill='white'/%3e%3cpath%20d='M138.251%2021.6582H131.333L131.22%2022.0736C131.881%2022.5263%20132.207%2023.3197%20132.056%2024.0898L129.892%2031.324C129.561%2032.4301%20128.753%2033.3356%20127.685%2033.7976L127.586%2034.213H133.303L133.417%2033.7976C132.68%2033.1862%20132.373%2032.2014%20132.637%2031.282L133.686%2027.5949H134.126C134.787%2027.5949%20135.34%2028.085%20135.416%2028.7337C135.439%2028.9437%20135.77%2031.506%20136.035%2032.3881C136.379%2033.5409%20136.833%2034.213%20137.868%2034.213H140.453L140.552%2033.7976L140.183%2033.5829C139.451%2033.1536%20138.922%2032.4908%20138.685%2031.6087C138.463%2030.7779%20138.043%2029.2284%20137.84%2028.4117C137.736%2027.9916%20137.202%2027.5996%20136.654%2027.5996H137.523C139.087%2027.5996%20140.457%2026.5681%20140.878%2025.0839C141.365%2023.3617%20140.056%2021.6582%20138.251%2021.6582ZM138.369%2024.6872C138.029%2025.812%20136.98%2026.5868%20135.789%2026.5868H133.974L135.071%2022.7317H136.89C137.925%2022.727%20138.662%2023.7118%20138.369%2024.6872Z'%20fill='white'/%3e%3cpath%20d='M100.265%2022.2961C100.081%2022.2961%2099.6794%2022.1701%2099.0651%2021.9181C98.4508%2021.6661%2097.8318%2021.54%2097.2034%2021.54C95.904%2021.54%2094.8219%2021.9554%2093.9336%2022.8422C93.1964%2023.5796%2092.8704%2024.401%2092.8704%2025.1105C92.8704%2025.8665%2093.3193%2026.7533%2094.2124%2027.4721C95.0582%2028.1488%2095.937%2028.8022%2096.8206%2029.465C97.7468%2030.1977%2098.2098%2030.8745%2098.2098%2031.4252C98.2098%2032.634%2097.416%2033.2828%2095.7669%2033.2828C94.0942%2033.2828%2092.9366%2032.074%2092.568%2029.8057H92.1144L90.8008%2034.2162H91.226C91.7694%2033.8382%2092.1569%2033.6001%2092.946%2033.6001C93.6973%2033.6001%2094.5006%2034.4729%2096.2158%2034.4729C97.5814%2034.4729%2098.6682%2034.1929%2099.5943%2033.2781C100.383%2032.4753%20100.776%2031.3552%20100.776%2030.4404C100.776%2029.591%20100.237%2028.6062%2099.2966%2027.8921C98.4886%2027.2807%2097.6286%2026.7347%2096.7923%2026.1419C95.8898%2025.4792%2095.4362%2024.9144%2095.4362%2024.2937C95.4362%2023.9483%2095.611%2023.6076%2095.9559%2023.2622C96.3954%2022.8282%2096.986%2022.7302%2097.7751%2022.7302C99.3581%2022.7302%20100.464%2023.5983%20100.558%2025.4325H100.974L102.08%2021.5447H101.664C101.215%2022.0441%20100.752%2022.2961%20100.265%2022.2961Z'%20fill='white'/%3e%3cpath%20d='M149.201%2022.7304C150.784%2022.7304%20151.89%2023.6032%20151.984%2025.4327H152.4L153.501%2021.5449H153.085C152.646%2022.049%20152.182%2022.301%20151.696%2022.301C151.512%2022.301%20151.11%2022.175%20150.496%2021.923C149.881%2021.6709%20149.262%2021.5449%20148.634%2021.5449C147.334%2021.5449%20146.252%2021.9603%20145.364%2022.8471C144.627%2023.5845%20144.296%2024.4059%20144.296%2025.1153C144.296%2025.8714%20144.745%2026.7582%20145.638%2027.477C146.484%2028.1537%20147.363%2028.8071%20148.246%2029.4699C149.173%2030.2026%20149.636%2030.8794%20149.636%2031.4301C149.636%2032.6389%20148.842%2033.2876%20147.193%2033.2876C145.52%2033.2876%20144.362%2032.0788%20143.994%2029.8106H143.54L142.227%2034.2211H142.642C143.186%2033.843%20143.573%2033.605%20144.358%2033.605C145.109%2033.605%20145.912%2034.4778%20147.627%2034.4778C148.993%2034.4778%20150.075%2034.1978%20151.006%2033.283C151.795%2032.4802%20152.187%2031.3601%20152.187%2030.4453C152.187%2029.6005%20151.649%2028.6111%20150.708%2027.897C149.9%2027.2856%20149.04%2026.7395%20148.204%2026.1468C147.301%2025.4841%20146.848%2024.9193%20146.848%2024.2986C146.848%2023.9532%20147.023%2023.6125%20147.368%2023.2671C147.826%2022.8237%20148.412%2022.7304%20149.201%2022.7304Z'%20fill='white'/%3e%3cpath%20d='M26.5433%202.60035C26.0377%202.44633%2025.5321%202.72169%2025.0265%203.00173C24.8469%203.09974%2024.7194%203.27243%2024.6768%203.46845L23.883%207.13222C23.8547%207.26757%2023.9775%207.38891%2024.1145%207.36091C24.9509%207.17422%2025.7447%206.4508%2026.5811%206.70283C27.5167%206.98753%2028.4522%205.81606%2029.3878%205.83006V1.60156C28.4475%201.60623%2027.4789%202.88505%2026.5433%202.60035Z'%20fill='white'/%3e%3cpath%20d='M38.4856%2013.8398C38.2871%2013.7044%2038.1643%2013.4851%2038.1643%2013.2471V12.5796C38.1643%2011.9822%2037.6729%2011.4922%2037.0633%2011.4922H36.6239C36.0994%2011.4922%2035.6174%2011.7536%2035.3339%2012.1876L33.9164%2014.3485C33.7746%2014.5632%2033.5383%2014.6892%2033.2832%2014.6892H32.3287C31.8562%2014.6892%2031.4215%2014.9459%2031.1947%2015.3566C30.9631%2015.7814%2030.552%2016.0754%2030.0843%2016.1734V1.1403C30.0843%200.94894%2029.9283%200.794922%2029.7346%200.794922C29.5409%200.794922%2029.3849%200.94894%2029.3849%201.1403V1.60702V5.83552V16.1827C28.9171%2016.0847%2028.506%2015.7907%2028.2745%2015.3613C28.0524%2014.9506%2027.6177%2014.6939%2027.1405%2014.6939H26.4979C25.9875%2014.6939%2025.5292%2014.9879%2025.3213%2015.45L24.7873%2016.6308C24.7023%2016.8175%2024.5133%2016.9388%2024.3054%2016.9388C24.0975%2016.9388%2023.9085%2016.8175%2023.8234%2016.6308L23.2895%2015.45C23.0816%2014.9926%2022.6232%2014.6939%2022.1129%2014.6939H4.00135C3.85487%2014.6939%203.73674%2014.8106%203.73674%2014.9553C3.73674%2015.2633%203.48158%2015.5107%203.17444%2015.5107H2.39007C2.24359%2015.5107%202.12546%2015.6273%202.12546%2015.772V16.6728C2.12546%2017.5176%201.96008%2018.339%201.62931%2019.1184L1.15207%2020.2526C0.707907%2021.3027%200.5%2022.3901%200.5%2023.4589V26.0726C0.5%2026.7773%200.603954%2027.4914%200.811861%2028.1868C1.39306%2030.1377%202.7161%2031.7339%204.53529%2032.6767L7.43182%2034.1842C7.46962%2034.2029%207.51214%2034.2122%207.55467%2034.2122L9.69517%2034.2309C10.196%2034.2355%2010.6875%2034.3616%2011.1269%2034.6043L12.2751%2035.239C12.3129%2035.2623%2012.3602%2035.2717%2012.4074%2035.2717H13.9431C14.4818%2035.2717%2015.0157%2035.4163%2015.474%2035.6917C15.474%2035.6917%2016.2253%2036.1444%2016.4805%2036.2891C16.8869%2036.5225%2017.3783%2036.7465%2018.2335%2036.7932C18.4273%2036.8025%2018.621%2036.7325%2018.7675%2036.5972C18.9092%2036.4618%2018.9943%2036.2704%2018.9943%2036.0791V35.0616C18.9943%2034.3242%2019.4337%2033.6521%2020.1189%2033.3581L22.4673%2032.3406C22.7886%2032.2006%2023.1477%2032.1773%2023.4832%2032.28L24.3621%2032.5367C24.7354%2032.644%2025.1323%2032.6487%2025.5056%2032.5367L27.5846%2031.9253C27.8587%2031.8459%2028.1517%2031.8459%2028.4304%2031.9299L29.2763%2032.1633C29.6684%2032.2706%2029.9472%2032.6347%2029.9472%2033.0361V35.071C29.9472%2036.0184%2030.7269%2036.7932%2031.6861%2036.7932C32.4043%2036.7932%2033.0328%2036.3405%2033.2501%2035.6637C33.6423%2034.4456%2033.8408%2033.1761%2033.8408%2031.8973V31.0292C33.8408%2030.4131%2034.1006%2029.8204%2034.5543%2029.3956L35.419%2028.5882C36.0002%2028.0421%2036.3356%2027.2674%2036.3356%2026.474V21.6481C36.3356%2020.9013%2036.5625%2020.1779%2036.9972%2019.5618C37.0302%2019.5198%2037.0444%2019.4638%2037.0444%2019.4125V18.2737C37.0444%2017.5316%2037.2712%2016.8128%2037.6965%2016.2014L38.5517%2014.9739C38.5848%2014.9319%2038.599%2014.8806%2038.599%2014.8246V14.0545C38.6037%2013.9098%2038.5139%2013.8585%2038.4856%2013.8398ZM30.0843%2025.2838C30.6654%2025.3725%2031.1002%2025.6665%2031.1002%2026.0212C31.1002%2026.3759%2030.6702%2026.67%2030.0843%2026.7587V25.2838ZM5.22516%2032.4433L4.78572%2032.2146C3.59026%2031.5939%202.63577%2030.6698%201.9837%2029.545V28.1355C2.73028%2029.2043%203.74619%2030.1144%204.98891%2030.7631L5.22516%2030.8845V32.4433ZM7.43654%2033.5961L6.2647%2032.9894V31.4305L7.43182%2032.0373H7.43654V33.5961ZM12.3129%2034.6556L11.3868%2034.1422C10.8812%2033.8622%2010.3142%2033.7128%209.73297%2033.7035V32.0793C10.2197%2032.0886%2010.7016%2032.2146%2011.1269%2032.448L12.2751%2033.0827C12.2846%2033.0874%2012.2987%2033.0874%2012.3129%2033.0921V34.6556ZM18.4603%2035.0616V35.8551V36.0791C18.4603%2036.1304%2018.4367%2036.1818%2018.3989%2036.2191C18.3611%2036.2564%2018.3139%2036.2705%2018.2619%2036.2705C17.52%2036.2331%2017.0948%2036.0418%2016.7498%2035.8411C16.4994%2035.6964%2015.7528%2035.2483%2015.7481%2035.2483C15.2803%2034.9683%2014.7511%2034.8143%2014.2077%2034.7723V33.1387C14.6519%2033.1808%2015.0866%2033.3114%2015.474%2033.5401L16.1214%2033.9228C16.8302%2034.3429%2017.6382%2034.5809%2018.4603%2034.6276V35.0616ZM24.8582%2032.0886C24.7448%2032.084%2024.6267%2032.0653%2024.5133%2032.0326L23.6344%2031.7713C23.4454%2031.7152%2023.2517%2031.6966%2023.0579%2031.6966V30.0677C23.1997%2030.0677%2023.3414%2030.0817%2023.4832%2030.1237L24.3621%2030.3804C24.5227%2030.4271%2024.6928%2030.4504%2024.8582%2030.4598V32.0886ZM30.363%2032.4807C30.1929%2032.0886%2029.8574%2031.7759%2029.4275%2031.6592L28.5864%2031.4259C28.3879%2031.3652%2028.18%2031.3419%2027.9721%2031.3419V29.7177C28.1328%2029.713%2028.2934%2029.7317%2028.4493%2029.783L29.1392%2029.9977C29.8716%2030.2264%2030.363%2030.8891%2030.363%2031.6452V32.4807ZM32.787%2035.365C32.7729%2035.4117%2032.7634%2035.4584%2032.7492%2035.505C32.6028%2035.9624%2032.1775%2036.2658%2031.6955%2036.2658C31.653%2036.2658%2031.6105%2036.2564%2031.568%2036.2518V34.6323C31.601%2034.6369%2031.6294%2034.6416%2031.6625%2034.6416C32.135%2034.6416%2032.565%2034.3802%2032.7918%2033.9835V35.365H32.787ZM37.3232%2015.0486C36.794%2015.8047%2036.5152%2016.6915%2036.5152%2017.6109V18.4137L36.1041%2019.0017C35.5702%2019.7625%2035.2867%2020.6539%2035.2867%2021.578V25.6245C35.2867%2026.2779%2035.0126%2026.9173%2034.5306%2027.3654L33.6659%2028.1775C33.0847%2028.7236%2032.7634%2029.489%2032.787%2030.2824L32.7918%2030.4644C32.8248%2031.5146%2032.6878%2032.56%2032.3901%2033.5681C32.2956%2033.8902%2031.9932%2034.1142%2031.6577%2034.1142C31.2372%2034.1142%2030.8923%2033.7782%2030.8923%2033.3581V31.6452C30.8923%2030.6558%2030.2496%2029.7923%2029.2952%2029.4983L28.6053%2029.2836C28.2225%2029.1669%2027.8209%2029.1623%2027.4334%2029.2743L25.3544%2029.881C25.0803%2029.9604%2024.7873%2029.9604%2024.5133%2029.881L23.6344%2029.6243C23.1808%2029.489%2022.6894%2029.5217%2022.2547%2029.7083L20.4071%2030.5111C19.2258%2031.0245%2018.4651%2032.1773%2018.4651%2033.4515V34.1095C17.7374%2034.0675%2017.0286%2033.8528%2016.4002%2033.4795L15.7528%2033.0967C15.2047%2032.7747%2014.581%2032.602%2013.9431%2032.602H12.4736L11.3868%2031.9999C10.8717%2031.7152%2010.2905%2031.5659%209.69989%2031.5612L7.62082%2031.5472L5.23461%2030.3057C1.61514%2028.4249%200.0700101%2024.1917%201.64349%2020.4579L2.12073%2019.3238C2.47512%2018.4837%202.6594%2017.5922%202.6594%2016.6775V16.0427H3.17444C3.68476%2016.0427%204.11948%2015.6927%204.2376%2015.2213H22.1176C22.4153%2015.2213%2022.6894%2015.394%2022.8075%2015.6647L23.3414%2016.8455C23.5115%2017.2235%2023.8896%2017.4662%2024.3101%2017.4662C24.7259%2017.4662%2025.1087%2017.2235%2025.2788%2016.8455L25.8127%2015.66C25.9356%2015.3893%2026.2049%2015.2166%2026.5026%2015.2166H27.1452C27.424%2015.2166%2027.6791%2015.366%2027.8114%2015.6087C28.1375%2016.2061%2028.7234%2016.6075%2029.3897%2016.7148V24.145C28.317%2024.2617%2027.4949%2024.8918%2027.4949%2025.6572C27.4949%2026.5066%2028.4966%2027.1927%2029.7346%2027.1927C30.9726%2027.1927%2031.9743%2026.5066%2031.9743%2025.6572C31.9743%2024.8918%2031.1521%2024.257%2030.0795%2024.145V16.7101C30.7458%2016.6028%2031.3317%2016.2014%2031.6577%2015.604C31.79%2015.3613%2032.0452%2015.212%2032.324%2015.212H33.2785C33.7179%2015.212%2034.1195%2014.9926%2034.3605%2014.6286L35.7781%2012.4676C35.9624%2012.1829%2036.2789%2012.0149%2036.6239%2012.0149H37.0633C37.3752%2012.0149%2037.6303%2012.2669%2037.6303%2012.575V13.2424C37.6303%2013.5644%2037.7579%2013.8725%2037.98%2014.1012L37.3232%2015.0486ZM29.3849%2025.2838V26.7587C28.8037%2026.67%2028.3737%2026.3759%2028.3737%2026.0212C28.3737%2025.6665%2028.8037%2025.3678%2029.3849%2025.2838Z'%20fill='white'/%3e%3c/svg%3e", Y1 = "data:image/svg+xml,%3csvg%20width='159'%20height='28'%20viewBox='0%200%20159%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_6919_71839)'%3e%3cpath%20d='M4.13243%2025.9198C5.34921%2026.9052%207.05161%2027.0267%208.39597%2026.224L22.9838%2017.5138C25.4013%2016.0703%2025.4117%2012.5721%2023.0028%2011.1144L17.4686%207.76522C15.4767%206.55981%2012.8918%207.10053%2011.5501%209.00325L3.27399%2020.7399C2.14132%2022.3462%202.44805%2024.5556%203.97544%2025.7926L4.13243%2025.9198Z'%20stroke='white'%20style='stroke:white;stroke-opacity:1;'%20stroke-width='2.33333'/%3e%3cpath%20d='M4.11673%202.57147C5.33939%201.58127%207.0516%201.46387%208.39797%202.27791L22.9843%2011.0971C25.3835%2012.5477%2025.3874%2016.0265%2022.9914%2017.4824L17.5405%2020.7946C15.5485%2022.005%2012.9594%2021.4661%2011.6157%2019.5615L3.27518%207.7386C2.142%206.1323%202.44856%203.92248%203.97619%202.68529L4.11673%202.57147Z'%20stroke='white'%20style='stroke:white;stroke-opacity:1;'%20stroke-width='2.33333'/%3e%3cpath%20d='M49.8088%2020.0063C47.924%2020.0063%2046.7521%2018.7437%2046.7521%2016.6748V13.1359H50.1977V10.9296H46.7521V7.34668L44.2736%209.18483V10.9271H42.8892V13.1333H44.2736V16.6515C44.2736%2020.2137%2046.3632%2022.4174%2049.8321%2022.4174H50.361V20.0063H49.8088Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M30.4704%2019.5631L32.6818%2017.8339C33.6722%2019.4231%2035.01%2020.2761%2036.7159%2020.2761C38.5826%2020.2761%2039.757%2019.0783%2039.757%2017.5798C39.757%2015.8505%2037.9137%2015.2983%2035.977%2014.6761C33.6956%2013.9398%2031.23%2013.0168%2031.23%209.92907C31.23%207.37018%2033.5115%205.34277%2036.6226%205.34277C39.1815%205.34277%2040.7707%206.33314%2042.0618%207.83166L40.0111%209.35351C39.2515%208.17907%2038.1211%207.55685%2036.6226%207.55685C34.9167%207.55685%2033.8096%208.57055%2033.8096%209.88499C33.8096%2011.4976%2035.5856%2012.0291%2037.5196%2012.6746C39.8244%2013.4576%2042.3367%2014.4506%2042.3367%2017.585C42.3367%2020.1672%2040.2159%2022.6328%2036.7367%2022.6328C33.8563%2022.6328%2031.8963%2021.4117%2030.4678%2019.5683L30.4704%2019.5631Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M58.9189%2016.7007C58.9189%2013.3225%2061.5141%2010.6807%2064.8923%2010.6807C68.2704%2010.6807%2070.7982%2013.1384%2070.7982%2016.5399V17.5044H61.286C61.6075%2019.2725%2062.9867%2020.4444%2064.9856%2020.4444C66.5489%2020.4444%2067.7441%2019.6173%2068.3404%2018.3755L70.3627%2019.5007C69.3515%2021.3855%2067.5367%2022.6247%2064.9856%2022.6247C61.356%2022.6247%2058.9189%2020.0296%2058.9189%2016.6981V16.7007ZM61.4001%2015.4147H68.2938C67.9256%2013.7607%2066.663%2012.8403%2064.8923%2012.8403C63.1215%2012.8403%2061.8589%2013.8981%2061.4001%2015.4147Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M51.8955%2016.6752C51.8955%2013.113%2053.9851%2010.9326%2057.454%2010.9326H58.5559V13.323H57.4307C55.5459%2013.323%2054.33%2014.6322%2054.3533%2016.7011V22.423H51.8955V16.6804V16.6752Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M72.0138%2016.6774C72.0138%2013.3226%2074.6557%2010.7041%2077.9638%2010.7041C81.272%2010.7041%2083.8672%2013.3226%2083.8672%2016.6774V22.42H81.456V20.9267C80.6523%2022.0052%2079.4105%2022.6274%2077.8938%2022.6274C74.609%2022.6274%2072.0112%2020.0556%2072.0112%2016.6774H72.0138ZM81.5027%2016.6774C81.5027%2014.6319%2079.9394%2013.0011%2077.9638%2013.0011C75.9883%2013.0011%2074.4249%2014.6319%2074.4249%2016.6774C74.4249%2018.723%2075.9649%2020.3537%2077.9638%2020.3537C79.9627%2020.3537%2081.5027%2018.6997%2081.5027%2016.6774Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M85.4155%2015.978C85.4155%2012.9214%2087.5052%2010.6943%2090.6085%2010.6943C92.3766%2010.6943%2093.8026%2011.4073%2094.697%2012.6025C95.5474%2011.4073%2096.9266%2010.6943%2098.6948%2010.6943C101.819%2010.6943%20104.002%2012.8773%20104.002%2015.978V22.4103H101.544V16.0014C101.544%2014.2566%20100.372%2013.038%2098.6948%2013.038C97.0174%2013.038%2095.9155%2014.2799%2095.9389%2015.934V22.4129H93.4811V16.004C93.4811%2014.2592%2092.2859%2013.0406%2090.6085%2013.0406C88.9311%2013.0406%2087.8526%2014.2825%2087.8733%2015.9366V22.4154H85.4155V15.9832V15.978Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M105.578%205.6416H108.082V20.0227H114.859V22.4131H105.578V5.6416Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M138.483%2016.7007C138.483%2013.3225%20141.078%2010.6807%20144.456%2010.6807C147.834%2010.6807%20150.362%2013.1384%20150.362%2016.5399V17.5044H140.85C141.171%2019.2725%20142.551%2020.4444%20144.55%2020.4444C146.113%2020.4444%20147.308%2019.6173%20147.904%2018.3755L149.927%2019.5007C148.916%2021.3855%20147.101%2022.6247%20144.55%2022.6247C140.92%2022.6247%20138.483%2020.0296%20138.483%2016.6981V16.7007ZM140.964%2015.4147H147.858C147.49%2013.7607%20146.227%2012.8403%20144.456%2012.8403C142.685%2012.8403%20141.423%2013.8981%20140.964%2015.4147Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M115.269%2016.6774C115.269%2013.3226%20117.911%2010.7041%20121.219%2010.7041C124.527%2010.7041%20127.122%2013.3226%20127.122%2016.6774V22.42H124.711V20.9267C123.907%2022.0052%20122.665%2022.6274%20121.149%2022.6274C117.864%2022.6274%20115.266%2020.0556%20115.266%2016.6774H115.269ZM124.758%2016.6774C124.758%2014.6319%20123.194%2013.0011%20121.219%2013.0011C119.243%2013.0011%20117.68%2014.6319%20117.68%2016.6774C117.68%2018.723%20119.22%2020.3537%20121.219%2020.3537C123.218%2020.3537%20124.758%2018.6997%20124.758%2016.6774Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M131.67%2021.8547L126.915%2010.9658H129.557L132.912%2018.938L136.082%2010.9658H138.678L131.74%2027.7606H129.212L131.67%2021.8573V21.8547Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M151.897%2016.6674C151.897%2013.1052%20153.987%2010.9248%20157.455%2010.9248H158.557V13.3152H157.432C155.547%2013.3152%20154.331%2014.6244%20154.355%2016.6933V22.4152H151.897V16.6726V16.6674Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_6919_71839'%3e%3crect%20width='158.12'%20height='28'%20fill='white'%20style='fill:white;fill-opacity:1;'%20transform='translate(0.44043)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", K1 = (i, t, n) => i === t ? "translateY(0px)" : i > t ? `translateY(${n}px)` : "translateY(-100%)", Ce = ({ close: i, votedAnswer: t, mastersApp: n, correct: o, correctAnswerTitle: l, questionTitle: c, saveHeight: p, style: d, hiding: C }) => {
848
- const [I, _] = T(1), L = Z({});
849
- V(() => {
850
- const f = setInterval(() => {
851
- _((v) => o && v > 4 || !o && v > 3 ? v : ++v);
1029
+ propsAsIs: true
1030
+ });
1031
+ const E = "data:image/svg+xml,%3csvg%20width='154'%20height='37'%20viewBox='0%200%20154%2037'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M70.9776%2030.8796L74.668%2018.1381C75.0696%2016.7473%2076.1186%2015.6318%2077.4936%2015.1371L77.5928%2014.7217H72.466L63.7623%2024.9662L60.431%2014.7217H55.7389L55.6255%2015.1371C56.4288%2015.5291%2056.8683%2016.7052%2056.8683%2017.662V17.7227C56.8683%2023.1787%2052.781%2032.5598%2047.0352%2032.5598C44.8002%2032.5598%2043.6425%2031.0009%2043.6425%2029.7035C43.6425%2028.1306%2044.975%2027.0105%2046.3831%2027.0105C47.744%2027.0105%2047.9519%2027.5099%2048.741%2027.5099C49.2182%2027.5099%2049.6766%2027.2672%2049.9081%2026.8518C50.2672%2026.1984%2049.9931%2025.4049%2049.3363%2025.0922L48.9772%2024.9242C45.6271%2023.3327%2041.7383%2025.7457%2041.7383%2029.4188V29.4701C41.7383%2032.1444%2043.8646%2034.38%2046.5674%2034.4733C53.5417%2034.716%2058.2055%2025.4236%2058.9473%2018.6188L59.486%2020.4577L62.2313%2028.5927H63.2709L71.8518%2018.4741L68.2512%2030.8936C67.8401%2032.3171%2066.6966%2033.4232%2065.2412%2033.7966L65.142%2034.212H72.0408L72.1542%2033.7966C71.1383%2033.2039%2070.6516%2032.0044%2070.9776%2030.8796Z'%20fill='white'/%3e%3cpath%20d='M88.2952%2021.6521H88.2385C85.016%2021.6568%2081.5571%2021.9648%2079.7143%2027.1361C78.1692%2031.4813%2077.7487%2033.2828%2076.539%2033.2828C75.7641%2033.2828%2075.9531%2031.794%2074.7954%2031.794C74.2709%2031.794%2073.7275%2032.2094%2073.6897%2032.8068C73.6236%2033.8429%2075.0317%2034.4683%2076.0949%2034.4683C79.3316%2034.4683%2080.5696%2032.1347%2080.9759%2031.0472C81.0279%2030.9072%2081.3162%2030.1371%2081.6517%2029.2317H85.0538L84.4773%2031.3273C84.1749%2032.4334%2083.5464%2033.3388%2082.488%2033.8009L82.3982%2034.2163H87.9597L88.0637%2033.8009C87.3124%2033.1848%2086.9816%2032.2%2087.2273%2031.2853L89.3206%2023.4257C89.4812%2022.8236%2089.9018%2022.3242%2090.4783%2022.0628L90.568%2021.6475H88.7536H88.2952V21.6521ZM85.3231%2028.2189H82.0202C82.3935%2027.2108%2082.7526%2026.2493%2082.8755%2025.9366C83.7118%2023.757%2085.2995%2022.8749%2086.8399%2022.7536L86.8257%2022.7676L85.3231%2028.2189Z'%20fill='white'/%3e%3cpath%20d='M116.358%2022.5486C116.538%2022.2545%20116.708%2021.8112%20116.708%2021.5591C116.732%2021.0877%20116.297%2020.7237%20115.829%2020.8217C115.456%2020.9011%20115.187%2021.2324%20115.191%2021.6058C115.196%2021.9978%20115.12%2022.4226%20114.95%2022.6279C114.558%2023.104%20113.934%2023.062%20111.062%2022.2452V22.2405C110.797%2022.1659%20110.509%2022.0819%20110.206%2021.9978C110.187%2021.9932%20110.173%2021.9885%20110.159%2021.9838C108.723%2021.6011%20106.941%2021.2464%20105.774%2021.8205C105.765%2021.8252%20105.755%2021.8298%20105.746%2021.8345C104.602%2022.3992%20103.808%2023.4727%20103.567%2024.7142C103.53%2024.8962%20103.506%2025.0455%20103.501%2025.0969C103.468%2025.7456%20104.068%2026.2544%20104.711%2026.1143C105.235%2026.0023%20105.604%2025.5403%20105.59%2025.0129C105.58%2024.4808%20105.472%2023.7667%20105.765%2023.286C106.237%2022.6279%20106.729%2022.5812%20108.935%2023.3047L106.544%2031.323C106.214%2032.4291%20105.406%2033.3345%20104.338%2033.7966L104.238%2034.212H109.961L110.074%2033.7966C109.337%2033.1852%20109.03%2032.1957%20109.299%2031.2809L111.392%2024.0561C112.309%2024.2428%20113.24%2024.2941%20114.147%2024.0374L114.473%2023.9441C115.196%2023.7527%20115.943%2023.2347%20116.358%2022.5486Z'%20fill='white'/%3e%3cpath%20d='M118.649%2021.6523L118.536%2022.0677C119.245%2022.5531%20119.561%2023.4259%20119.335%2024.2427L117.208%2031.3228C116.877%2032.429%20116.069%2033.3344%20115.002%2033.7964L114.902%2034.2118H117.931H118.21H125.18L126.101%2030.8934H125.666L125.51%2031.2108C124.934%2032.3963%20123.72%2033.1524%20122.382%2033.1524H119.429L121.003%2027.5937H122.259C123.105%2027.5937%20123.743%2028.3545%20123.582%2029.1759H124.012L125.043%2025.4188H124.613C124.362%2026.1142%20123.696%2026.5763%20122.949%2026.5809H121.291L122.382%2022.7258L125.515%2022.7211C126.536%2022.7211%20127.301%2023.6452%20127.098%2024.6347H127.528L128.35%2021.6523H118.649Z'%20fill='white'/%3e%3cpath%20d='M138.251%2021.6582H131.333L131.22%2022.0736C131.881%2022.5263%20132.207%2023.3197%20132.056%2024.0898L129.892%2031.324C129.561%2032.4301%20128.753%2033.3356%20127.685%2033.7976L127.586%2034.213H133.303L133.417%2033.7976C132.68%2033.1862%20132.373%2032.2014%20132.637%2031.282L133.686%2027.5949H134.126C134.787%2027.5949%20135.34%2028.085%20135.416%2028.7337C135.439%2028.9437%20135.77%2031.506%20136.035%2032.3881C136.379%2033.5409%20136.833%2034.213%20137.868%2034.213H140.453L140.552%2033.7976L140.183%2033.5829C139.451%2033.1536%20138.922%2032.4908%20138.685%2031.6087C138.463%2030.7779%20138.043%2029.2284%20137.84%2028.4117C137.736%2027.9916%20137.202%2027.5996%20136.654%2027.5996H137.523C139.087%2027.5996%20140.457%2026.5681%20140.878%2025.0839C141.365%2023.3617%20140.056%2021.6582%20138.251%2021.6582ZM138.369%2024.6872C138.029%2025.812%20136.98%2026.5868%20135.789%2026.5868H133.974L135.071%2022.7317H136.89C137.925%2022.727%20138.662%2023.7118%20138.369%2024.6872Z'%20fill='white'/%3e%3cpath%20d='M100.265%2022.2961C100.081%2022.2961%2099.6794%2022.1701%2099.0651%2021.9181C98.4508%2021.6661%2097.8318%2021.54%2097.2034%2021.54C95.904%2021.54%2094.8219%2021.9554%2093.9336%2022.8422C93.1964%2023.5796%2092.8704%2024.401%2092.8704%2025.1105C92.8704%2025.8665%2093.3193%2026.7533%2094.2124%2027.4721C95.0582%2028.1488%2095.937%2028.8022%2096.8206%2029.465C97.7468%2030.1977%2098.2098%2030.8745%2098.2098%2031.4252C98.2098%2032.634%2097.416%2033.2828%2095.7669%2033.2828C94.0942%2033.2828%2092.9366%2032.074%2092.568%2029.8057H92.1144L90.8008%2034.2162H91.226C91.7694%2033.8382%2092.1569%2033.6001%2092.946%2033.6001C93.6973%2033.6001%2094.5006%2034.4729%2096.2158%2034.4729C97.5814%2034.4729%2098.6682%2034.1929%2099.5943%2033.2781C100.383%2032.4753%20100.776%2031.3552%20100.776%2030.4404C100.776%2029.591%20100.237%2028.6062%2099.2966%2027.8921C98.4886%2027.2807%2097.6286%2026.7347%2096.7923%2026.1419C95.8898%2025.4792%2095.4362%2024.9144%2095.4362%2024.2937C95.4362%2023.9483%2095.611%2023.6076%2095.9559%2023.2622C96.3954%2022.8282%2096.986%2022.7302%2097.7751%2022.7302C99.3581%2022.7302%20100.464%2023.5983%20100.558%2025.4325H100.974L102.08%2021.5447H101.664C101.215%2022.0441%20100.752%2022.2961%20100.265%2022.2961Z'%20fill='white'/%3e%3cpath%20d='M149.201%2022.7304C150.784%2022.7304%20151.89%2023.6032%20151.984%2025.4327H152.4L153.501%2021.5449H153.085C152.646%2022.049%20152.182%2022.301%20151.696%2022.301C151.512%2022.301%20151.11%2022.175%20150.496%2021.923C149.881%2021.6709%20149.262%2021.5449%20148.634%2021.5449C147.334%2021.5449%20146.252%2021.9603%20145.364%2022.8471C144.627%2023.5845%20144.296%2024.4059%20144.296%2025.1153C144.296%2025.8714%20144.745%2026.7582%20145.638%2027.477C146.484%2028.1537%20147.363%2028.8071%20148.246%2029.4699C149.173%2030.2026%20149.636%2030.8794%20149.636%2031.4301C149.636%2032.6389%20148.842%2033.2876%20147.193%2033.2876C145.52%2033.2876%20144.362%2032.0788%20143.994%2029.8106H143.54L142.227%2034.2211H142.642C143.186%2033.843%20143.573%2033.605%20144.358%2033.605C145.109%2033.605%20145.912%2034.4778%20147.627%2034.4778C148.993%2034.4778%20150.075%2034.1978%20151.006%2033.283C151.795%2032.4802%20152.187%2031.3601%20152.187%2030.4453C152.187%2029.6005%20151.649%2028.6111%20150.708%2027.897C149.9%2027.2856%20149.04%2026.7395%20148.204%2026.1468C147.301%2025.4841%20146.848%2024.9193%20146.848%2024.2986C146.848%2023.9532%20147.023%2023.6125%20147.368%2023.2671C147.826%2022.8237%20148.412%2022.7304%20149.201%2022.7304Z'%20fill='white'/%3e%3cpath%20d='M26.5433%202.60035C26.0377%202.44633%2025.5321%202.72169%2025.0265%203.00173C24.8469%203.09974%2024.7194%203.27243%2024.6768%203.46845L23.883%207.13222C23.8547%207.26757%2023.9775%207.38891%2024.1145%207.36091C24.9509%207.17422%2025.7447%206.4508%2026.5811%206.70283C27.5167%206.98753%2028.4522%205.81606%2029.3878%205.83006V1.60156C28.4475%201.60623%2027.4789%202.88505%2026.5433%202.60035Z'%20fill='white'/%3e%3cpath%20d='M38.4856%2013.8398C38.2871%2013.7044%2038.1643%2013.4851%2038.1643%2013.2471V12.5796C38.1643%2011.9822%2037.6729%2011.4922%2037.0633%2011.4922H36.6239C36.0994%2011.4922%2035.6174%2011.7536%2035.3339%2012.1876L33.9164%2014.3485C33.7746%2014.5632%2033.5383%2014.6892%2033.2832%2014.6892H32.3287C31.8562%2014.6892%2031.4215%2014.9459%2031.1947%2015.3566C30.9631%2015.7814%2030.552%2016.0754%2030.0843%2016.1734V1.1403C30.0843%200.94894%2029.9283%200.794922%2029.7346%200.794922C29.5409%200.794922%2029.3849%200.94894%2029.3849%201.1403V1.60702V5.83552V16.1827C28.9171%2016.0847%2028.506%2015.7907%2028.2745%2015.3613C28.0524%2014.9506%2027.6177%2014.6939%2027.1405%2014.6939H26.4979C25.9875%2014.6939%2025.5292%2014.9879%2025.3213%2015.45L24.7873%2016.6308C24.7023%2016.8175%2024.5133%2016.9388%2024.3054%2016.9388C24.0975%2016.9388%2023.9085%2016.8175%2023.8234%2016.6308L23.2895%2015.45C23.0816%2014.9926%2022.6232%2014.6939%2022.1129%2014.6939H4.00135C3.85487%2014.6939%203.73674%2014.8106%203.73674%2014.9553C3.73674%2015.2633%203.48158%2015.5107%203.17444%2015.5107H2.39007C2.24359%2015.5107%202.12546%2015.6273%202.12546%2015.772V16.6728C2.12546%2017.5176%201.96008%2018.339%201.62931%2019.1184L1.15207%2020.2526C0.707907%2021.3027%200.5%2022.3901%200.5%2023.4589V26.0726C0.5%2026.7773%200.603954%2027.4914%200.811861%2028.1868C1.39306%2030.1377%202.7161%2031.7339%204.53529%2032.6767L7.43182%2034.1842C7.46962%2034.2029%207.51214%2034.2122%207.55467%2034.2122L9.69517%2034.2309C10.196%2034.2355%2010.6875%2034.3616%2011.1269%2034.6043L12.2751%2035.239C12.3129%2035.2623%2012.3602%2035.2717%2012.4074%2035.2717H13.9431C14.4818%2035.2717%2015.0157%2035.4163%2015.474%2035.6917C15.474%2035.6917%2016.2253%2036.1444%2016.4805%2036.2891C16.8869%2036.5225%2017.3783%2036.7465%2018.2335%2036.7932C18.4273%2036.8025%2018.621%2036.7325%2018.7675%2036.5972C18.9092%2036.4618%2018.9943%2036.2704%2018.9943%2036.0791V35.0616C18.9943%2034.3242%2019.4337%2033.6521%2020.1189%2033.3581L22.4673%2032.3406C22.7886%2032.2006%2023.1477%2032.1773%2023.4832%2032.28L24.3621%2032.5367C24.7354%2032.644%2025.1323%2032.6487%2025.5056%2032.5367L27.5846%2031.9253C27.8587%2031.8459%2028.1517%2031.8459%2028.4304%2031.9299L29.2763%2032.1633C29.6684%2032.2706%2029.9472%2032.6347%2029.9472%2033.0361V35.071C29.9472%2036.0184%2030.7269%2036.7932%2031.6861%2036.7932C32.4043%2036.7932%2033.0328%2036.3405%2033.2501%2035.6637C33.6423%2034.4456%2033.8408%2033.1761%2033.8408%2031.8973V31.0292C33.8408%2030.4131%2034.1006%2029.8204%2034.5543%2029.3956L35.419%2028.5882C36.0002%2028.0421%2036.3356%2027.2674%2036.3356%2026.474V21.6481C36.3356%2020.9013%2036.5625%2020.1779%2036.9972%2019.5618C37.0302%2019.5198%2037.0444%2019.4638%2037.0444%2019.4125V18.2737C37.0444%2017.5316%2037.2712%2016.8128%2037.6965%2016.2014L38.5517%2014.9739C38.5848%2014.9319%2038.599%2014.8806%2038.599%2014.8246V14.0545C38.6037%2013.9098%2038.5139%2013.8585%2038.4856%2013.8398ZM30.0843%2025.2838C30.6654%2025.3725%2031.1002%2025.6665%2031.1002%2026.0212C31.1002%2026.3759%2030.6702%2026.67%2030.0843%2026.7587V25.2838ZM5.22516%2032.4433L4.78572%2032.2146C3.59026%2031.5939%202.63577%2030.6698%201.9837%2029.545V28.1355C2.73028%2029.2043%203.74619%2030.1144%204.98891%2030.7631L5.22516%2030.8845V32.4433ZM7.43654%2033.5961L6.2647%2032.9894V31.4305L7.43182%2032.0373H7.43654V33.5961ZM12.3129%2034.6556L11.3868%2034.1422C10.8812%2033.8622%2010.3142%2033.7128%209.73297%2033.7035V32.0793C10.2197%2032.0886%2010.7016%2032.2146%2011.1269%2032.448L12.2751%2033.0827C12.2846%2033.0874%2012.2987%2033.0874%2012.3129%2033.0921V34.6556ZM18.4603%2035.0616V35.8551V36.0791C18.4603%2036.1304%2018.4367%2036.1818%2018.3989%2036.2191C18.3611%2036.2564%2018.3139%2036.2705%2018.2619%2036.2705C17.52%2036.2331%2017.0948%2036.0418%2016.7498%2035.8411C16.4994%2035.6964%2015.7528%2035.2483%2015.7481%2035.2483C15.2803%2034.9683%2014.7511%2034.8143%2014.2077%2034.7723V33.1387C14.6519%2033.1808%2015.0866%2033.3114%2015.474%2033.5401L16.1214%2033.9228C16.8302%2034.3429%2017.6382%2034.5809%2018.4603%2034.6276V35.0616ZM24.8582%2032.0886C24.7448%2032.084%2024.6267%2032.0653%2024.5133%2032.0326L23.6344%2031.7713C23.4454%2031.7152%2023.2517%2031.6966%2023.0579%2031.6966V30.0677C23.1997%2030.0677%2023.3414%2030.0817%2023.4832%2030.1237L24.3621%2030.3804C24.5227%2030.4271%2024.6928%2030.4504%2024.8582%2030.4598V32.0886ZM30.363%2032.4807C30.1929%2032.0886%2029.8574%2031.7759%2029.4275%2031.6592L28.5864%2031.4259C28.3879%2031.3652%2028.18%2031.3419%2027.9721%2031.3419V29.7177C28.1328%2029.713%2028.2934%2029.7317%2028.4493%2029.783L29.1392%2029.9977C29.8716%2030.2264%2030.363%2030.8891%2030.363%2031.6452V32.4807ZM32.787%2035.365C32.7729%2035.4117%2032.7634%2035.4584%2032.7492%2035.505C32.6028%2035.9624%2032.1775%2036.2658%2031.6955%2036.2658C31.653%2036.2658%2031.6105%2036.2564%2031.568%2036.2518V34.6323C31.601%2034.6369%2031.6294%2034.6416%2031.6625%2034.6416C32.135%2034.6416%2032.565%2034.3802%2032.7918%2033.9835V35.365H32.787ZM37.3232%2015.0486C36.794%2015.8047%2036.5152%2016.6915%2036.5152%2017.6109V18.4137L36.1041%2019.0017C35.5702%2019.7625%2035.2867%2020.6539%2035.2867%2021.578V25.6245C35.2867%2026.2779%2035.0126%2026.9173%2034.5306%2027.3654L33.6659%2028.1775C33.0847%2028.7236%2032.7634%2029.489%2032.787%2030.2824L32.7918%2030.4644C32.8248%2031.5146%2032.6878%2032.56%2032.3901%2033.5681C32.2956%2033.8902%2031.9932%2034.1142%2031.6577%2034.1142C31.2372%2034.1142%2030.8923%2033.7782%2030.8923%2033.3581V31.6452C30.8923%2030.6558%2030.2496%2029.7923%2029.2952%2029.4983L28.6053%2029.2836C28.2225%2029.1669%2027.8209%2029.1623%2027.4334%2029.2743L25.3544%2029.881C25.0803%2029.9604%2024.7873%2029.9604%2024.5133%2029.881L23.6344%2029.6243C23.1808%2029.489%2022.6894%2029.5217%2022.2547%2029.7083L20.4071%2030.5111C19.2258%2031.0245%2018.4651%2032.1773%2018.4651%2033.4515V34.1095C17.7374%2034.0675%2017.0286%2033.8528%2016.4002%2033.4795L15.7528%2033.0967C15.2047%2032.7747%2014.581%2032.602%2013.9431%2032.602H12.4736L11.3868%2031.9999C10.8717%2031.7152%2010.2905%2031.5659%209.69989%2031.5612L7.62082%2031.5472L5.23461%2030.3057C1.61514%2028.4249%200.0700101%2024.1917%201.64349%2020.4579L2.12073%2019.3238C2.47512%2018.4837%202.6594%2017.5922%202.6594%2016.6775V16.0427H3.17444C3.68476%2016.0427%204.11948%2015.6927%204.2376%2015.2213H22.1176C22.4153%2015.2213%2022.6894%2015.394%2022.8075%2015.6647L23.3414%2016.8455C23.5115%2017.2235%2023.8896%2017.4662%2024.3101%2017.4662C24.7259%2017.4662%2025.1087%2017.2235%2025.2788%2016.8455L25.8127%2015.66C25.9356%2015.3893%2026.2049%2015.2166%2026.5026%2015.2166H27.1452C27.424%2015.2166%2027.6791%2015.366%2027.8114%2015.6087C28.1375%2016.2061%2028.7234%2016.6075%2029.3897%2016.7148V24.145C28.317%2024.2617%2027.4949%2024.8918%2027.4949%2025.6572C27.4949%2026.5066%2028.4966%2027.1927%2029.7346%2027.1927C30.9726%2027.1927%2031.9743%2026.5066%2031.9743%2025.6572C31.9743%2024.8918%2031.1521%2024.257%2030.0795%2024.145V16.7101C30.7458%2016.6028%2031.3317%2016.2014%2031.6577%2015.604C31.79%2015.3613%2032.0452%2015.212%2032.324%2015.212H33.2785C33.7179%2015.212%2034.1195%2014.9926%2034.3605%2014.6286L35.7781%2012.4676C35.9624%2012.1829%2036.2789%2012.0149%2036.6239%2012.0149H37.0633C37.3752%2012.0149%2037.6303%2012.2669%2037.6303%2012.575V13.2424C37.6303%2013.5644%2037.7579%2013.8725%2037.98%2014.1012L37.3232%2015.0486ZM29.3849%2025.2838V26.7587C28.8037%2026.67%2028.3737%2026.3759%2028.3737%2026.0212C28.3737%2025.6665%2028.8037%2025.3678%2029.3849%2025.2838Z'%20fill='white'/%3e%3c/svg%3e", R = "data:image/svg+xml,%3csvg%20width='159'%20height='28'%20viewBox='0%200%20159%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_6919_71839)'%3e%3cpath%20d='M4.13243%2025.9198C5.34921%2026.9052%207.05161%2027.0267%208.39597%2026.224L22.9838%2017.5138C25.4013%2016.0703%2025.4117%2012.5721%2023.0028%2011.1144L17.4686%207.76522C15.4767%206.55981%2012.8918%207.10053%2011.5501%209.00325L3.27399%2020.7399C2.14132%2022.3462%202.44805%2024.5556%203.97544%2025.7926L4.13243%2025.9198Z'%20stroke='white'%20style='stroke:white;stroke-opacity:1;'%20stroke-width='2.33333'/%3e%3cpath%20d='M4.11673%202.57147C5.33939%201.58127%207.0516%201.46387%208.39797%202.27791L22.9843%2011.0971C25.3835%2012.5477%2025.3874%2016.0265%2022.9914%2017.4824L17.5405%2020.7946C15.5485%2022.005%2012.9594%2021.4661%2011.6157%2019.5615L3.27518%207.7386C2.142%206.1323%202.44856%203.92248%203.97619%202.68529L4.11673%202.57147Z'%20stroke='white'%20style='stroke:white;stroke-opacity:1;'%20stroke-width='2.33333'/%3e%3cpath%20d='M49.8088%2020.0063C47.924%2020.0063%2046.7521%2018.7437%2046.7521%2016.6748V13.1359H50.1977V10.9296H46.7521V7.34668L44.2736%209.18483V10.9271H42.8892V13.1333H44.2736V16.6515C44.2736%2020.2137%2046.3632%2022.4174%2049.8321%2022.4174H50.361V20.0063H49.8088Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M30.4704%2019.5631L32.6818%2017.8339C33.6722%2019.4231%2035.01%2020.2761%2036.7159%2020.2761C38.5826%2020.2761%2039.757%2019.0783%2039.757%2017.5798C39.757%2015.8505%2037.9137%2015.2983%2035.977%2014.6761C33.6956%2013.9398%2031.23%2013.0168%2031.23%209.92907C31.23%207.37018%2033.5115%205.34277%2036.6226%205.34277C39.1815%205.34277%2040.7707%206.33314%2042.0618%207.83166L40.0111%209.35351C39.2515%208.17907%2038.1211%207.55685%2036.6226%207.55685C34.9167%207.55685%2033.8096%208.57055%2033.8096%209.88499C33.8096%2011.4976%2035.5856%2012.0291%2037.5196%2012.6746C39.8244%2013.4576%2042.3367%2014.4506%2042.3367%2017.585C42.3367%2020.1672%2040.2159%2022.6328%2036.7367%2022.6328C33.8563%2022.6328%2031.8963%2021.4117%2030.4678%2019.5683L30.4704%2019.5631Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M58.9189%2016.7007C58.9189%2013.3225%2061.5141%2010.6807%2064.8923%2010.6807C68.2704%2010.6807%2070.7982%2013.1384%2070.7982%2016.5399V17.5044H61.286C61.6075%2019.2725%2062.9867%2020.4444%2064.9856%2020.4444C66.5489%2020.4444%2067.7441%2019.6173%2068.3404%2018.3755L70.3627%2019.5007C69.3515%2021.3855%2067.5367%2022.6247%2064.9856%2022.6247C61.356%2022.6247%2058.9189%2020.0296%2058.9189%2016.6981V16.7007ZM61.4001%2015.4147H68.2938C67.9256%2013.7607%2066.663%2012.8403%2064.8923%2012.8403C63.1215%2012.8403%2061.8589%2013.8981%2061.4001%2015.4147Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M51.8955%2016.6752C51.8955%2013.113%2053.9851%2010.9326%2057.454%2010.9326H58.5559V13.323H57.4307C55.5459%2013.323%2054.33%2014.6322%2054.3533%2016.7011V22.423H51.8955V16.6804V16.6752Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M72.0138%2016.6774C72.0138%2013.3226%2074.6557%2010.7041%2077.9638%2010.7041C81.272%2010.7041%2083.8672%2013.3226%2083.8672%2016.6774V22.42H81.456V20.9267C80.6523%2022.0052%2079.4105%2022.6274%2077.8938%2022.6274C74.609%2022.6274%2072.0112%2020.0556%2072.0112%2016.6774H72.0138ZM81.5027%2016.6774C81.5027%2014.6319%2079.9394%2013.0011%2077.9638%2013.0011C75.9883%2013.0011%2074.4249%2014.6319%2074.4249%2016.6774C74.4249%2018.723%2075.9649%2020.3537%2077.9638%2020.3537C79.9627%2020.3537%2081.5027%2018.6997%2081.5027%2016.6774Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M85.4155%2015.978C85.4155%2012.9214%2087.5052%2010.6943%2090.6085%2010.6943C92.3766%2010.6943%2093.8026%2011.4073%2094.697%2012.6025C95.5474%2011.4073%2096.9266%2010.6943%2098.6948%2010.6943C101.819%2010.6943%20104.002%2012.8773%20104.002%2015.978V22.4103H101.544V16.0014C101.544%2014.2566%20100.372%2013.038%2098.6948%2013.038C97.0174%2013.038%2095.9155%2014.2799%2095.9389%2015.934V22.4129H93.4811V16.004C93.4811%2014.2592%2092.2859%2013.0406%2090.6085%2013.0406C88.9311%2013.0406%2087.8526%2014.2825%2087.8733%2015.9366V22.4154H85.4155V15.9832V15.978Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M105.578%205.6416H108.082V20.0227H114.859V22.4131H105.578V5.6416Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M138.483%2016.7007C138.483%2013.3225%20141.078%2010.6807%20144.456%2010.6807C147.834%2010.6807%20150.362%2013.1384%20150.362%2016.5399V17.5044H140.85C141.171%2019.2725%20142.551%2020.4444%20144.55%2020.4444C146.113%2020.4444%20147.308%2019.6173%20147.904%2018.3755L149.927%2019.5007C148.916%2021.3855%20147.101%2022.6247%20144.55%2022.6247C140.92%2022.6247%20138.483%2020.0296%20138.483%2016.6981V16.7007ZM140.964%2015.4147H147.858C147.49%2013.7607%20146.227%2012.8403%20144.456%2012.8403C142.685%2012.8403%20141.423%2013.8981%20140.964%2015.4147Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M115.269%2016.6774C115.269%2013.3226%20117.911%2010.7041%20121.219%2010.7041C124.527%2010.7041%20127.122%2013.3226%20127.122%2016.6774V22.42H124.711V20.9267C123.907%2022.0052%20122.665%2022.6274%20121.149%2022.6274C117.864%2022.6274%20115.266%2020.0556%20115.266%2016.6774H115.269ZM124.758%2016.6774C124.758%2014.6319%20123.194%2013.0011%20121.219%2013.0011C119.243%2013.0011%20117.68%2014.6319%20117.68%2016.6774C117.68%2018.723%20119.22%2020.3537%20121.219%2020.3537C123.218%2020.3537%20124.758%2018.6997%20124.758%2016.6774Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M131.67%2021.8547L126.915%2010.9658H129.557L132.912%2018.938L136.082%2010.9658H138.678L131.74%2027.7606H129.212L131.67%2021.8573V21.8547Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M151.897%2016.6674C151.897%2013.1052%20153.987%2010.9248%20157.455%2010.9248H158.557V13.3152H157.432C155.547%2013.3152%20154.331%2014.6244%20154.355%2016.6933V22.4152H151.897V16.6726V16.6674Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_6919_71839'%3e%3crect%20width='158.12'%20height='28'%20fill='white'%20style='fill:white;fill-opacity:1;'%20transform='translate(0.44043)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", W = (s2, i2, L2) => s2 === i2 ? "translateY(0px)" : s2 > i2 ? `translateY(${L2}px)` : "translateY(-100%)", D = ({ close: s2, votedAnswer: i2, mastersApp: L2, correct: a2, correctAnswerTitle: w$12, questionTitle: k2, saveHeight: u$12, style: n2, hiding: x$12 }) => {
1032
+ const [c2, b2] = useState(1), H = useRef({});
1033
+ useEffect(() => {
1034
+ const l2 = setInterval(() => {
1035
+ b2((e2) => a2 && e2 > 4 || !a2 && e2 > 3 ? e2 : ++e2);
852
1036
  }, 3e3);
853
- return () => clearInterval(f);
854
- }, [o]), V(() => {
855
- var f, v;
856
- L.current[I] && p(((v = (f = L.current[I]) == null ? void 0 : f.getBoundingClientRect()) == null ? void 0 : v.height) || E1);
857
- }, [I, p]);
858
- const a = (f) => (v) => {
859
- L.current && (L.current[f] = v);
860
- }, h = (f) => ({ transform: K1(f, I, d.height) }), g = { ...d };
861
- return n && g.height && typeof g.height == "number" && (g.height += 32), /* @__PURE__ */ e(N1, { style: d.height ? g : { ...d, paddingTop: 0, paddingBottom: 0 }, hiding: C, children: /* @__PURE__ */ r(
862
- Z1,
1037
+ return () => clearInterval(l2);
1038
+ }, [a2]), useEffect(() => {
1039
+ var l2, e2;
1040
+ H.current[c2] && u$12(((e2 = (l2 = H.current[c2]) == null ? void 0 : l2.getBoundingClientRect()) == null ? void 0 : e2.height) || A);
1041
+ }, [c2, u$12]);
1042
+ const r2 = (l2) => (e2) => {
1043
+ H.current && (H.current[l2] = e2);
1044
+ }, h2 = (l2) => ({ transform: W(l2, c2, n2.height) }), V2 = { ...n2 };
1045
+ return L2 && V2.height && typeof V2.height == "number" && (V2.height += 32), /* @__PURE__ */ jsx(f$2, { style: n2.height ? V2 : { ...n2, paddingTop: 0, paddingBottom: 0 }, hiding: x$12, children: /* @__PURE__ */ jsxs(
1046
+ C,
863
1047
  {
864
1048
  style: {
865
- height: d.height,
866
- minHeight: d.height,
867
- backgroundColor: I > 3 ? o ? "var(--color-sdk-prediction-result-success-bg)" : "var(--color-sdk-prediction-result-incorrect-bg)" : "var(--color-primary-1)"
1049
+ height: n2.height,
1050
+ minHeight: n2.height,
1051
+ backgroundColor: c2 > 3 ? a2 ? "var(--color-sdk-prediction-result-success-bg)" : "var(--color-sdk-prediction-result-incorrect-bg)" : "var(--color-primary-1)"
868
1052
  },
869
1053
  children: [
870
- /* @__PURE__ */ e(q1, { step: I, correct: o }),
871
- n && /* @__PURE__ */ r(x, { ref: a(1), style: h(1), children: [
872
- /* @__PURE__ */ e("img", { alt: "sponsor-logo", src: Q1 }),
873
- /* @__PURE__ */ e(C2, { children: "Featured Groups +" })
1054
+ /* @__PURE__ */ jsx(s$1, { step: c2, correct: a2 }),
1055
+ L2 && /* @__PURE__ */ jsxs(b$1, { ref: r2(1), style: h2(1), children: [
1056
+ /* @__PURE__ */ jsx("img", { alt: "sponsor-logo", src: E }),
1057
+ /* @__PURE__ */ jsx(k$1, { children: "Featured Groups +" })
874
1058
  ] }),
875
- !n && /* @__PURE__ */ e(x, { ref: a(1), style: h(1), children: /* @__PURE__ */ e("img", { alt: "sponsor-logo", src: Y1 }) }),
876
- /* @__PURE__ */ r(x, { ref: a(2), style: h(2), children: [
877
- /* @__PURE__ */ e(M, { children: "Prediction results are in!" }),
878
- n && /* @__PURE__ */ e(C2, { children: "Featured Groups +" })
1059
+ !L2 && /* @__PURE__ */ jsx(b$1, { ref: r2(1), style: h2(1), children: /* @__PURE__ */ jsx("img", { alt: "sponsor-logo", src: R }) }),
1060
+ /* @__PURE__ */ jsxs(b$1, { ref: r2(2), style: h2(2), children: [
1061
+ /* @__PURE__ */ jsx(c$2, { children: "Prediction results are in!" }),
1062
+ L2 && /* @__PURE__ */ jsx(k$1, { children: "Featured Groups +" })
879
1063
  ] }),
880
- /* @__PURE__ */ r(x, { ref: a(3), style: h(3), children: [
881
- /* @__PURE__ */ e(M, { children: c }),
882
- /* @__PURE__ */ e(E, { children: /* @__PURE__ */ r(B, { children: [
883
- /* @__PURE__ */ e("span", { children: "Your Pick:" }),
1064
+ /* @__PURE__ */ jsxs(b$1, { ref: r2(3), style: h2(3), children: [
1065
+ /* @__PURE__ */ jsx(c$2, { children: k2 }),
1066
+ /* @__PURE__ */ jsx(v, { children: /* @__PURE__ */ jsxs(x, { children: [
1067
+ /* @__PURE__ */ jsx("span", { children: "Your Pick:" }),
884
1068
  " ",
885
- t == null ? void 0 : t.title
1069
+ i2 == null ? void 0 : i2.title
886
1070
  ] }) })
887
1071
  ] }),
888
- o ? /* @__PURE__ */ r(S, { children: [
889
- /* @__PURE__ */ r(
890
- x,
1072
+ a2 ? /* @__PURE__ */ jsxs(Fragment, { children: [
1073
+ /* @__PURE__ */ jsxs(
1074
+ b$1,
891
1075
  {
892
- ref: a(4),
893
- style: { ...h(4), color: "var(--color-sdk-prediction-result-success-text)" },
1076
+ ref: r2(4),
1077
+ style: { ...h2(4), color: "var(--color-sdk-prediction-result-success-text)" },
894
1078
  children: [
895
- /* @__PURE__ */ r(M, { children: [
1079
+ /* @__PURE__ */ jsxs(c$2, { children: [
896
1080
  "Congratulations!",
897
- /* @__PURE__ */ e("br", {}),
1081
+ /* @__PURE__ */ jsx("br", {}),
898
1082
  "You answered correctly."
899
1083
  ] }),
900
- /* @__PURE__ */ r(E, { children: [
901
- /* @__PURE__ */ e(m2, { name: "selected" }),
902
- /* @__PURE__ */ r(B, { children: [
903
- /* @__PURE__ */ e("span", { children: "Your Pick:" }),
1084
+ /* @__PURE__ */ jsxs(v, { children: [
1085
+ /* @__PURE__ */ jsx(T, { name: "selected" }),
1086
+ /* @__PURE__ */ jsxs(x, { children: [
1087
+ /* @__PURE__ */ jsx("span", { children: "Your Pick:" }),
904
1088
  " ",
905
- t == null ? void 0 : t.title
1089
+ i2 == null ? void 0 : i2.title
906
1090
  ] })
907
1091
  ] })
908
1092
  ]
909
1093
  }
910
1094
  ),
911
- /* @__PURE__ */ r(
912
- x,
1095
+ /* @__PURE__ */ jsxs(
1096
+ b$1,
913
1097
  {
914
- ref: a(5),
915
- style: { ...h(5), color: "var(--color-sdk-prediction-result-success-text)" },
1098
+ ref: r2(5),
1099
+ style: { ...h2(5), color: "var(--color-sdk-prediction-result-success-text)" },
916
1100
  children: [
917
- /* @__PURE__ */ e(W1, { children: I === 5 && /* @__PURE__ */ e(Z2, { delay: 0.5, prefix: "+", suffix: " points", value: t == null ? void 0 : t.points }) }),
918
- /* @__PURE__ */ r(E, { children: [
919
- /* @__PURE__ */ e(m2, { name: "selected" }),
920
- /* @__PURE__ */ r(B, { children: [
921
- /* @__PURE__ */ e("span", { children: "Your Pick:" }),
1101
+ /* @__PURE__ */ jsx(u, { children: c2 === 5 && /* @__PURE__ */ jsx(d$5, { delay: 0.5, prefix: "+", suffix: " points", value: i2 == null ? void 0 : i2.points }) }),
1102
+ /* @__PURE__ */ jsxs(v, { children: [
1103
+ /* @__PURE__ */ jsx(T, { name: "selected" }),
1104
+ /* @__PURE__ */ jsxs(x, { children: [
1105
+ /* @__PURE__ */ jsx("span", { children: "Your Pick:" }),
922
1106
  " ",
923
- t == null ? void 0 : t.title
1107
+ i2 == null ? void 0 : i2.title
924
1108
  ] })
925
1109
  ] }),
926
- /* @__PURE__ */ e(u2, { "data-a": "intr", onClick: i, children: /* @__PURE__ */ e(g2, { name: "icon-cross" }) })
1110
+ /* @__PURE__ */ jsx(_, { "data-a": "intr", onClick: s2, children: /* @__PURE__ */ jsx(w, { name: "icon-cross" }) })
927
1111
  ]
928
1112
  }
929
1113
  )
930
- ] }) : /* @__PURE__ */ r(x, { ref: a(4), style: h(4), children: [
931
- /* @__PURE__ */ r(M, { style: { color: "var(--color-sdk-prediction-result-error-title)" }, children: [
1114
+ ] }) : /* @__PURE__ */ jsxs(b$1, { ref: r2(4), style: h2(4), children: [
1115
+ /* @__PURE__ */ jsxs(c$2, { style: { color: "var(--color-sdk-prediction-result-error-title)" }, children: [
932
1116
  "Better luck next time!",
933
- /* @__PURE__ */ e("br", {}),
1117
+ /* @__PURE__ */ jsx("br", {}),
934
1118
  "Correct: ",
935
- l,
1119
+ w$12,
936
1120
  "."
937
1121
  ] }),
938
- /* @__PURE__ */ r(E, { style: { color: "var(--color-sdk-prediction-result-error-subtitle)" }, children: [
939
- /* @__PURE__ */ e(P1, { name: "circleClose" }),
940
- /* @__PURE__ */ r(B, { children: [
941
- /* @__PURE__ */ e("span", { children: "Your Pick:" }),
1122
+ /* @__PURE__ */ jsxs(v, { style: { color: "var(--color-sdk-prediction-result-error-subtitle)" }, children: [
1123
+ /* @__PURE__ */ jsx(F, { name: "circleClose" }),
1124
+ /* @__PURE__ */ jsxs(x, { children: [
1125
+ /* @__PURE__ */ jsx("span", { children: "Your Pick:" }),
942
1126
  " ",
943
- t == null ? void 0 : t.title
1127
+ i2 == null ? void 0 : i2.title
944
1128
  ] })
945
1129
  ] }),
946
- /* @__PURE__ */ e(u2, { "data-a": "intr", onClick: i, children: /* @__PURE__ */ e(g2, { name: "icon-cross" }) })
1130
+ /* @__PURE__ */ jsx(_, { "data-a": "intr", onClick: s2, children: /* @__PURE__ */ jsx(w, { name: "icon-cross" }) })
947
1131
  ] })
948
1132
  ]
949
1133
  }
950
1134
  ) });
951
- }, me = (i) => {
952
- const [t, n] = T(!1), [o, l] = T(!1), c = Z(null), p = N(() => {
953
- l(!0), c.current && clearTimeout(c.current), c.current = setTimeout(() => {
954
- l(!1);
1135
+ };
1136
+ const I$1 = (e2) => {
1137
+ const [i2, r2] = useState(false), [f2, s2] = useState(false), t2 = useRef(null), a2 = useCallback(() => {
1138
+ s2(true), t2.current && clearTimeout(t2.current), t2.current = setTimeout(() => {
1139
+ s2(false);
955
1140
  }, 1e3);
956
- }, []), d = N(async (C) => {
957
- n(!0);
958
- const I = C.map(
959
- (_) => new Promise((L, a) => {
960
- const h = new Image();
961
- h.onload = () => L(_), h.onerror = () => a(), h.src = _;
1141
+ }, []), l2 = useCallback(async (m2) => {
1142
+ r2(true);
1143
+ const d2 = m2.map(
1144
+ (n2) => new Promise((g, h2) => {
1145
+ const o2 = new Image();
1146
+ o2.onload = () => g(n2), o2.onerror = () => h2(), o2.src = n2;
962
1147
  })
963
1148
  );
964
- await Promise.allSettled(I), n(!1);
1149
+ await Promise.allSettled(d2), r2(false);
965
1150
  }, []);
966
- return V(() => {
967
- i && (p(), d(i));
968
- }, [i, p, d]), { loading: t, throttled: o };
969
- }, J1 = /* @__PURE__ */ s("div")({
1151
+ return useEffect(() => {
1152
+ e2 && (a2(), l2(e2));
1153
+ }, [e2, a2, l2]), { loading: i2, throttled: f2 };
1154
+ };
1155
+ const e$4 = /* @__PURE__ */ styled_default("div")({
970
1156
  name: "Container",
971
1157
  class: "cl51m2q",
972
- propsAsIs: !1
973
- }), X1 = /* @__PURE__ */ s("img")({
1158
+ propsAsIs: false
1159
+ }), n$4 = /* @__PURE__ */ styled_default("img")({
974
1160
  name: "Avatar",
975
1161
  class: "a2yhhhr",
976
- propsAsIs: !1
977
- }), e3 = /* @__PURE__ */ s("div")({
1162
+ propsAsIs: false
1163
+ }), t$4 = /* @__PURE__ */ styled_default("div")({
978
1164
  name: "AvatarPlaceholder",
979
1165
  class: "a1dtxxlr",
980
- propsAsIs: !1
981
- }), s3 = /* @__PURE__ */ s("div")({
1166
+ propsAsIs: false
1167
+ }), l$4 = /* @__PURE__ */ styled_default("div")({
982
1168
  name: "Content",
983
1169
  class: "c12clm3w",
984
- propsAsIs: !1
985
- }), t3 = /* @__PURE__ */ s("span")({
1170
+ propsAsIs: false
1171
+ }), o$6 = /* @__PURE__ */ styled_default("span")({
986
1172
  name: "Name",
987
1173
  class: "n14lctn7",
988
- propsAsIs: !1
989
- }), i3 = ({ avatar: i, name: t }) => /* @__PURE__ */ r(J1, { children: [
990
- i && /* @__PURE__ */ e(X1, { src: i }),
991
- !i && /* @__PURE__ */ e(e3, { children: f2(t || "") }),
992
- /* @__PURE__ */ r(s3, { children: [
993
- /* @__PURE__ */ r(t3, { children: [
994
- t,
1174
+ propsAsIs: false
1175
+ });
1176
+ const p$3 = ({ avatar: r2, name: e2 }) => /* @__PURE__ */ jsxs(e$4, { children: [
1177
+ r2 && /* @__PURE__ */ jsx(n$4, { src: r2 }),
1178
+ !r2 && /* @__PURE__ */ jsx(t$4, { children: I$7(e2 || "") }),
1179
+ /* @__PURE__ */ jsxs(l$4, { children: [
1180
+ /* @__PURE__ */ jsxs(o$6, { children: [
1181
+ e2,
995
1182
  " "
996
1183
  ] }),
997
1184
  "is waiting for you!"
998
1185
  ] })
999
- ] }), n3 = /* @__PURE__ */ s("div")({
1186
+ ] });
1187
+ const n$3 = /* @__PURE__ */ styled_default("div")({
1000
1188
  name: "Container",
1001
1189
  class: "c1htq1lb",
1002
- propsAsIs: !1
1003
- }), r3 = /* @__PURE__ */ s("div")({
1190
+ propsAsIs: false
1191
+ }), e$3 = /* @__PURE__ */ styled_default("div")({
1004
1192
  name: "Graphic",
1005
1193
  class: "gjyzpp7",
1006
- propsAsIs: !1
1007
- }), a3 = /* @__PURE__ */ s("img")({
1194
+ propsAsIs: false
1195
+ }), p$2 = /* @__PURE__ */ styled_default("img")({
1008
1196
  name: "GraphicImage",
1009
1197
  class: "g16mldgz",
1010
- propsAsIs: !1
1011
- }), o3 = /* @__PURE__ */ s("div")({
1198
+ propsAsIs: false
1199
+ }), o$5 = /* @__PURE__ */ styled_default("div")({
1012
1200
  name: "Headline",
1013
1201
  class: "h69js65",
1014
- propsAsIs: !1
1015
- }), l3 = /* @__PURE__ */ s("div")({
1202
+ propsAsIs: false
1203
+ }), t$3 = /* @__PURE__ */ styled_default("div")({
1016
1204
  name: "TaglineContainer",
1017
1205
  class: "tmm7qmo",
1018
- propsAsIs: !1
1019
- }), c3 = /* @__PURE__ */ s("div")({
1206
+ propsAsIs: false
1207
+ }), i$1 = /* @__PURE__ */ styled_default("div")({
1020
1208
  name: "Tagline",
1021
1209
  class: "t17knuw2",
1022
- propsAsIs: !1
1023
- }), d3 = /* @__PURE__ */ s("div")({
1210
+ propsAsIs: false
1211
+ }), l$3 = /* @__PURE__ */ styled_default("div")({
1024
1212
  name: "Content",
1025
1213
  class: "c1b74psg",
1026
- propsAsIs: !1
1027
- }), p3 = /* @__PURE__ */ s("div")({
1214
+ propsAsIs: false
1215
+ }), r$1 = /* @__PURE__ */ styled_default("div")({
1028
1216
  name: "StepsContainer",
1029
1217
  class: "s1y99ug7",
1030
- propsAsIs: !1
1031
- }), h3 = /* @__PURE__ */ s("span")({
1218
+ propsAsIs: false
1219
+ }), c$1 = /* @__PURE__ */ styled_default("span")({
1032
1220
  name: "StepIndicator",
1033
1221
  class: "sgf3v5n",
1034
- propsAsIs: !1
1035
- }), C3 = /* @__PURE__ */ s("div")({
1222
+ propsAsIs: false
1223
+ }), m$1 = /* @__PURE__ */ styled_default("div")({
1036
1224
  name: "InvitingUserWrap",
1037
1225
  class: "i1sj6gn8",
1038
- propsAsIs: !1
1039
- }), m3 = ({
1040
- loading: i,
1041
- steps: t,
1042
- currentStep: n,
1043
- inviterName: o
1226
+ propsAsIs: false
1227
+ });
1228
+ const k = ({
1229
+ loading: e2,
1230
+ steps: a2,
1231
+ currentStep: i2,
1232
+ inviterName: l2
1044
1233
  }) => {
1045
- const { headline: l, tagline: c } = t[n];
1046
- return /* @__PURE__ */ r(n3, { children: [
1047
- c && /* @__PURE__ */ e(l3, { children: /* @__PURE__ */ e(z, { loading: i, children: /* @__PURE__ */ e(c3, { children: c }) }) }),
1048
- /* @__PURE__ */ r(d3, { "data-welcome-screen": n === 0, children: [
1049
- /* @__PURE__ */ e(r3, { children: /* @__PURE__ */ e(z, { loading: i, children: t.map(({ graphicSrc: p }, d) => /* @__PURE__ */ e(a3, { src: p, "data-active": n === d })) }) }),
1050
- l && /* @__PURE__ */ e(z, { loading: i, children: /* @__PURE__ */ e(o3, { children: l }) })
1234
+ const { headline: c2, tagline: o2 } = a2[i2];
1235
+ return /* @__PURE__ */ jsxs(n$3, { children: [
1236
+ o2 && /* @__PURE__ */ jsx(t$3, { children: /* @__PURE__ */ jsx(i$8, { loading: e2, children: /* @__PURE__ */ jsx(i$1, { children: o2 }) }) }),
1237
+ /* @__PURE__ */ jsxs(l$3, { "data-welcome-screen": i2 === 0, children: [
1238
+ /* @__PURE__ */ jsx(e$3, { children: /* @__PURE__ */ jsx(i$8, { loading: e2, children: a2.map(({ graphicSrc: d2 }, r2) => /* @__PURE__ */ jsx(p$2, { src: d2, "data-active": i2 === r2 })) }) }),
1239
+ c2 && /* @__PURE__ */ jsx(i$8, { loading: e2, children: /* @__PURE__ */ jsx(o$5, { children: c2 }) })
1051
1240
  ] }),
1052
- o && n === 0 && /* @__PURE__ */ e(C3, { children: /* @__PURE__ */ e(i3, { name: o }) }),
1053
- /* @__PURE__ */ e(p3, { style: i ? { visibility: "hidden" } : {}, children: Array.from({ length: t.length }).map((p, d) => /* @__PURE__ */ e(h3, { "data-active": n === d }, d)) })
1241
+ l2 && i2 === 0 && /* @__PURE__ */ jsx(m$1, { children: /* @__PURE__ */ jsx(p$3, { name: l2 }) }),
1242
+ /* @__PURE__ */ jsx(r$1, { style: e2 ? { visibility: "hidden" } : {}, children: Array.from({ length: a2.length }).map((d2, r2) => /* @__PURE__ */ jsx(c$1, { "data-active": i2 === r2 }, r2)) })
1054
1243
  ] });
1055
- }, u3 = /* @__PURE__ */ s("div")({
1244
+ };
1245
+ const t$2 = /* @__PURE__ */ styled_default("div")({
1056
1246
  name: "Container",
1057
1247
  class: "cm0bev",
1058
- propsAsIs: !1
1059
- }), g3 = /* @__PURE__ */ s("div")({
1248
+ propsAsIs: false
1249
+ }), l$2 = /* @__PURE__ */ styled_default("div")({
1060
1250
  name: "Content",
1061
1251
  class: "ce7x737",
1062
- propsAsIs: !1
1063
- }), f3 = /* @__PURE__ */ s("div")({
1252
+ propsAsIs: false
1253
+ }), n$2 = /* @__PURE__ */ styled_default("div")({
1064
1254
  name: "Title",
1065
1255
  class: "tc2tor6",
1066
- propsAsIs: !1
1067
- }), v3 = /* @__PURE__ */ s("div")({
1256
+ propsAsIs: false
1257
+ }), o$4 = /* @__PURE__ */ styled_default("div")({
1068
1258
  name: "RulesList",
1069
1259
  class: "r1k5klql",
1070
- propsAsIs: !1
1071
- }), I3 = /* @__PURE__ */ s("div")({
1260
+ propsAsIs: false
1261
+ }), a = /* @__PURE__ */ styled_default("div")({
1072
1262
  name: "RulesItem",
1073
1263
  class: "r1tf3ft2",
1074
- propsAsIs: !1
1075
- }), A3 = /* @__PURE__ */ s("div")({
1264
+ propsAsIs: false
1265
+ }), c = /* @__PURE__ */ styled_default("div")({
1076
1266
  name: "RuleIcon",
1077
1267
  class: "rwpvg1k",
1078
- propsAsIs: !1
1079
- }), L3 = /* @__PURE__ */ s("div")({
1268
+ propsAsIs: false
1269
+ }), r = /* @__PURE__ */ styled_default("div")({
1080
1270
  name: "RuleText",
1081
1271
  class: "rbxiag0",
1082
- propsAsIs: !1
1083
- }), _3 = /* @__PURE__ */ s("button")({
1272
+ propsAsIs: false
1273
+ }), p$1 = /* @__PURE__ */ styled_default("button")({
1084
1274
  name: "TermsButton",
1085
1275
  class: "t6cyrry",
1086
- propsAsIs: !1
1087
- }), w3 = ({
1088
- rules: i,
1089
- rulesTitle: t,
1090
- termsText: n,
1091
- primaryColor: o,
1092
- openTerms: l
1093
- }) => /* @__PURE__ */ r(u3, { children: [
1094
- /* @__PURE__ */ r(g3, { children: [
1095
- /* @__PURE__ */ e(f3, { children: t }),
1096
- /* @__PURE__ */ e(v3, { children: i == null ? void 0 : i.map(({ label: c, icon: p }, d) => /* @__PURE__ */ r(I3, { children: [
1097
- p && /* @__PURE__ */ e(A3, { style: { backgroundColor: o }, children: /* @__PURE__ */ e(H, { name: p, "data-icon": p }) }),
1098
- /* @__PURE__ */ e(L3, { children: c })
1099
- ] }, d)) })
1276
+ propsAsIs: false
1277
+ });
1278
+ const b = ({
1279
+ rules: e2,
1280
+ rulesTitle: o2,
1281
+ termsText: i2,
1282
+ primaryColor: d2,
1283
+ openTerms: l2
1284
+ }) => /* @__PURE__ */ jsxs(t$2, { children: [
1285
+ /* @__PURE__ */ jsxs(l$2, { children: [
1286
+ /* @__PURE__ */ jsx(n$2, { children: o2 }),
1287
+ /* @__PURE__ */ jsx(o$4, { children: e2 == null ? void 0 : e2.map(({ label: c$12, icon: r$12 }, a$12) => /* @__PURE__ */ jsxs(a, { children: [
1288
+ r$12 && /* @__PURE__ */ jsx(c, { style: { backgroundColor: d2 }, children: /* @__PURE__ */ jsx(B1, { name: r$12, "data-icon": r$12 }) }),
1289
+ /* @__PURE__ */ jsx(r, { children: c$12 })
1290
+ ] }, a$12)) })
1100
1291
  ] }),
1101
- n && /* @__PURE__ */ e(_3, { "data-a": "intr", onClick: l, children: "See Terms and Conditions" })
1102
- ] }), $3 = /* @__PURE__ */ s("div")({
1292
+ i2 && /* @__PURE__ */ jsx(p$1, { "data-a": "intr", onClick: l2, children: "See Terms and Conditions" })
1293
+ ] });
1294
+ const t$1 = /* @__PURE__ */ styled_default("div")({
1103
1295
  name: "Container",
1104
1296
  class: "cj0g35h",
1105
- propsAsIs: !1
1106
- }), b3 = /* @__PURE__ */ s("div")({
1297
+ propsAsIs: false
1298
+ }), e$2 = /* @__PURE__ */ styled_default("div")({
1107
1299
  name: "Content",
1108
1300
  class: "c1xkhrbn",
1109
- propsAsIs: !1
1110
- }), y3 = /* @__PURE__ */ s("div")({
1301
+ propsAsIs: false
1302
+ }), o$3 = /* @__PURE__ */ styled_default("div")({
1111
1303
  name: "Title",
1112
1304
  class: "tifzb8b",
1113
- propsAsIs: !1
1114
- }), T3 = /* @__PURE__ */ s("div")({
1305
+ propsAsIs: false
1306
+ }), l$1 = /* @__PURE__ */ styled_default("div")({
1115
1307
  name: "ScrollingText",
1116
1308
  class: "stduw5c",
1117
- propsAsIs: !1
1118
- }), H3 = ({ termsTitle: i, termsText: t }) => /* @__PURE__ */ e($3, { children: /* @__PURE__ */ r(b3, { children: [
1119
- /* @__PURE__ */ e(y3, { children: i }),
1120
- /* @__PURE__ */ e(T3, { children: t })
1121
- ] }) }), V3 = /* @__PURE__ */ s("button")({
1309
+ propsAsIs: false
1310
+ });
1311
+ const s = ({ termsTitle: n2, termsText: e2 }) => /* @__PURE__ */ jsx(t$1, { children: /* @__PURE__ */ jsxs(e$2, { children: [
1312
+ /* @__PURE__ */ jsx(o$3, { children: n2 }),
1313
+ /* @__PURE__ */ jsx(l$1, { children: e2 })
1314
+ ] }) });
1315
+ const o$2 = /* @__PURE__ */ styled_default("button")({
1122
1316
  name: "SButton",
1123
1317
  class: "s1nve60q",
1124
- propsAsIs: !1
1125
- }), k3 = /* @__PURE__ */ s("span")({
1318
+ propsAsIs: false
1319
+ }), n$1 = /* @__PURE__ */ styled_default("span")({
1126
1320
  name: "ButtonLabel",
1127
1321
  class: "b1xoswwx",
1128
- propsAsIs: !1
1129
- }), z3 = ({ disabled: i, variant: t = "primary", onClick: n, children: o, ...l }) => /* @__PURE__ */ e(V3, { "data-a": "intr", onClick: n, disabled: i, "data-variant": t, ...l, children: /* @__PURE__ */ e(k3, { children: o }) }), x3 = /* @__PURE__ */ s("div")({
1322
+ propsAsIs: false
1323
+ });
1324
+ const d$1 = ({ disabled: r2, variant: a2 = "primary", onClick: o2, children: n2, ...i2 }) => /* @__PURE__ */ jsx(o$2, { "data-a": "intr", onClick: o2, disabled: r2, "data-variant": a2, ...i2, children: /* @__PURE__ */ jsx(n$1, { children: n2 }) });
1325
+ const i = /* @__PURE__ */ styled_default("div")({
1130
1326
  name: "Container",
1131
1327
  class: "c18uddbs",
1132
- propsAsIs: !1
1133
- }), R3 = /* @__PURE__ */ s("div")({
1328
+ propsAsIs: false
1329
+ }), p = /* @__PURE__ */ styled_default("div")({
1134
1330
  name: "Content",
1135
1331
  class: "cvcfjf6",
1136
- propsAsIs: !1
1137
- }), F3 = /* @__PURE__ */ s("div")({
1332
+ propsAsIs: false
1333
+ }), l = /* @__PURE__ */ styled_default("div")({
1138
1334
  name: "OnboardingHeader",
1139
1335
  class: "o1ie27lw",
1140
- propsAsIs: !1
1141
- }), S3 = /* @__PURE__ */ s("button")({
1336
+ propsAsIs: false
1337
+ }), d = /* @__PURE__ */ styled_default("button")({
1142
1338
  name: "CloseBtn",
1143
1339
  class: "c15cjkwi",
1144
- propsAsIs: !1
1145
- }), M3 = () => H, q3 = /* @__PURE__ */ s(M3())({
1340
+ propsAsIs: false
1341
+ }), t = () => B1, m = /* @__PURE__ */ styled_default(t())({
1146
1342
  name: "IconClose",
1147
1343
  class: "i1mavjt2",
1148
- propsAsIs: !0
1149
- }), E3 = /* @__PURE__ */ s("div")({
1344
+ propsAsIs: true
1345
+ }), f$1 = /* @__PURE__ */ styled_default("div")({
1150
1346
  name: "OnboardingFooter",
1151
1347
  class: "o1x0dyzv",
1152
- propsAsIs: !1
1153
- }), B3 = () => z3, N3 = /* @__PURE__ */ s(B3())({
1348
+ propsAsIs: false
1349
+ }), e$1 = () => d$1, I = /* @__PURE__ */ styled_default(e$1())({
1154
1350
  name: "OnboardingActionBtn",
1155
1351
  class: "o1jfi9c3",
1156
- propsAsIs: !0
1157
- }), F = {
1158
- steps: !1,
1159
- rules: !1,
1160
- inviteCard: !1
1161
- }, ue = ({
1162
- gamification: i,
1163
- steps: t,
1164
- rules: n,
1165
- rulesBtnLabel: o,
1166
- rulesTitle: l,
1167
- termsTitle: c,
1168
- termsText: p,
1169
- primaryColor: d,
1170
- inviteLink: C,
1171
- inviteCardTitle: I,
1172
- inviteCardSubtext: _,
1173
- inviteCardBtnLabel: L,
1174
- loading: a,
1175
- inviterName: h,
1176
- sdk: g,
1177
- onClose: f
1352
+ propsAsIs: true
1353
+ });
1354
+ const o$1 = {
1355
+ steps: false,
1356
+ rules: false,
1357
+ inviteCard: false
1358
+ }, tn = ({
1359
+ gamification: I$12,
1360
+ steps: n2,
1361
+ rules: t2,
1362
+ rulesBtnLabel: c2,
1363
+ rulesTitle: T2,
1364
+ termsTitle: x2,
1365
+ termsText: u2,
1366
+ primaryColor: g,
1367
+ inviteLink: D2,
1368
+ inviteCardTitle: k$12,
1369
+ inviteCardSubtext: w2,
1370
+ inviteCardBtnLabel: b$12,
1371
+ loading: d$12,
1372
+ inviterName: f2,
1373
+ sdk: C2,
1374
+ onClose: A2
1178
1375
  }) => {
1179
- const [v, u] = T(0), [m, $] = T(!1), [A, y] = T(F);
1180
- V(() => {
1181
- t != null && t.length ? y({ ...F, steps: !0 }) : n != null && n.length ? y({ ...F, rules: !0 }) : y({ ...F, inviteCard: !0 });
1376
+ const [a2, O2] = useState(0), [l$12, S2] = useState(false), [e2, r2] = useState(o$1);
1377
+ useEffect(() => {
1378
+ n2 != null && n2.length ? r2({ ...o$1, steps: true }) : t2 != null && t2.length ? r2({ ...o$1, rules: true }) : r2({ ...o$1, inviteCard: true });
1182
1379
  }, []);
1183
- const _2 = H2(() => A.steps && v === 0 ? "Continue" : A.rules ? m || !o ? "Got it" : o : A.inviteCard ? L || "Play Now" : "Next", [A, v, m, o, L]), w2 = N(() => {
1184
- t != null && t.length && v < t.length - 1 ? u((O) => ++O) : n != null && n.length && A.steps ? y({ ...F, rules: !0 }) : A.rules && y({ ...F, inviteCard: !0 });
1185
- }, [v, t == null ? void 0 : t.length, n == null ? void 0 : n.length, A, u, y]), $2 = async () => {
1186
- A.inviteCard ? await i.onboardingStatus.submitInplay() : A.rules && m ? $(!1) : w2();
1380
+ const j = useMemo(() => e2.steps && a2 === 0 ? "Continue" : e2.rules ? l$12 || !c2 ? "Got it" : c2 : e2.inviteCard ? b$12 || "Play Now" : "Next", [e2, a2, l$12, c2, b$12]), p$12 = useCallback(() => {
1381
+ n2 != null && n2.length && a2 < n2.length - 1 ? O2((m2) => ++m2) : t2 != null && t2.length && e2.steps ? r2({ ...o$1, rules: true }) : e2.rules && r2({ ...o$1, inviteCard: true });
1382
+ }, [a2, n2 == null ? void 0 : n2.length, t2 == null ? void 0 : t2.length, e2, O2, r2]), H = async () => {
1383
+ e2.inviteCard ? await I$12.onboardingStatus.submitInplay() : e2.rules && l$12 ? S2(false) : p$12();
1187
1384
  };
1188
- return V(() => {
1189
- !a && h && g.inviteDisplayed();
1190
- }, [a, h, g]), /* @__PURE__ */ e(_0, { children: ({ width: O, height: Q }) => /* @__PURE__ */ r(x3, { style: { width: O, height: Q, maxHeight: Q }, children: [
1191
- /* @__PURE__ */ e(F3, { children: /* @__PURE__ */ e(S3, { "data-a": "intr", onClick: f, children: /* @__PURE__ */ e(q3, { name: "icon-close-btn-gray" }) }) }),
1192
- /* @__PURE__ */ r(R3, { children: [
1193
- A.steps && (t == null ? void 0 : t.length) && /* @__PURE__ */ e(
1194
- m3,
1385
+ return useEffect(() => {
1386
+ !d$12 && f2 && C2.inviteDisplayed();
1387
+ }, [d$12, f2, C2]), /* @__PURE__ */ jsx(AutoSizer, { children: ({ width: m$12, height: y2 }) => /* @__PURE__ */ jsxs(i, { style: { width: m$12, height: y2, maxHeight: y2 }, children: [
1388
+ /* @__PURE__ */ jsx(l, { children: /* @__PURE__ */ jsx(d, { "data-a": "intr", onClick: A2, children: /* @__PURE__ */ jsx(m, { name: "icon-close-btn-gray" }) }) }),
1389
+ /* @__PURE__ */ jsxs(p, { children: [
1390
+ e2.steps && (n2 == null ? void 0 : n2.length) && /* @__PURE__ */ jsx(
1391
+ k,
1195
1392
  {
1196
- loading: a,
1197
- steps: t,
1198
- currentStep: v,
1199
- inviterName: h
1393
+ loading: d$12,
1394
+ steps: n2,
1395
+ currentStep: a2,
1396
+ inviterName: f2
1200
1397
  }
1201
1398
  ),
1202
- A.rules && !m && /* @__PURE__ */ e(
1203
- w3,
1399
+ e2.rules && !l$12 && /* @__PURE__ */ jsx(
1400
+ b,
1204
1401
  {
1205
- rules: n,
1206
- rulesTitle: l,
1207
- termsText: p,
1208
- primaryColor: d,
1209
- openTerms: () => $(!0)
1402
+ rules: t2,
1403
+ rulesTitle: T2,
1404
+ termsText: u2,
1405
+ primaryColor: g,
1406
+ openTerms: () => S2(true)
1210
1407
  }
1211
1408
  ),
1212
- A.rules && m && /* @__PURE__ */ e(H3, { termsTitle: c, termsText: p }),
1213
- A.inviteCard && /* @__PURE__ */ e(
1214
- M0,
1409
+ e2.rules && l$12 && /* @__PURE__ */ jsx(s, { termsTitle: x2, termsText: u2 }),
1410
+ e2.inviteCard && /* @__PURE__ */ jsx(
1411
+ M,
1215
1412
  {
1216
- inviteLink: C,
1217
- inviteCardTitle: I,
1218
- inviteCardSubtext: _,
1219
- primaryColor: d
1413
+ inviteLink: D2,
1414
+ inviteCardTitle: k$12,
1415
+ inviteCardSubtext: w2,
1416
+ primaryColor: g
1220
1417
  }
1221
1418
  )
1222
1419
  ] }),
1223
- /* @__PURE__ */ e(E3, { children: /* @__PURE__ */ e(z, { loading: a, style: { width: "100%" }, children: /* @__PURE__ */ e(N3, { "data-a": "intr", onClick: $2, children: _2 }) }) })
1420
+ /* @__PURE__ */ jsx(f$1, { children: /* @__PURE__ */ jsx(i$8, { loading: d$12, style: { width: "100%" }, children: /* @__PURE__ */ jsx(I, { "data-a": "intr", onClick: H, children: j }) }) })
1224
1421
  ] }) });
1225
- }, Z3 = /* @__PURE__ */ s("button")({
1422
+ };
1423
+ const n = /* @__PURE__ */ styled_default("button")({
1226
1424
  name: "Container",
1227
1425
  class: "crkmfw1",
1228
- propsAsIs: !1
1229
- }), O3 = /* @__PURE__ */ s("div")({
1426
+ propsAsIs: false
1427
+ }), e = /* @__PURE__ */ styled_default("div")({
1230
1428
  name: "Content",
1231
1429
  class: "c11awpy4",
1232
- propsAsIs: !1
1233
- }), W3 = /* @__PURE__ */ s("span")({
1430
+ propsAsIs: false
1431
+ }), o = /* @__PURE__ */ styled_default("span")({
1234
1432
  name: "Title",
1235
1433
  class: "t154z7mh",
1236
- propsAsIs: !1
1237
- }), ge = ({ title: i, onClick: t, className: n, style: o }) => /* @__PURE__ */ e(Z3, { "data-a": "intr", onClick: t, className: n, style: o, children: /* @__PURE__ */ r(O3, { "data-a": "intr", children: [
1238
- /* @__PURE__ */ e(H, { "data-a": "intr", name: "iconUp" }),
1239
- i && /* @__PURE__ */ e(W3, { "data-a": "intr", children: i })
1434
+ propsAsIs: false
1435
+ });
1436
+ const f = ({ title: n$12, onClick: t2, className: a2, style: i2 }) => /* @__PURE__ */ jsx(n, { "data-a": "intr", onClick: t2, className: a2, style: i2, children: /* @__PURE__ */ jsxs(e, { "data-a": "intr", children: [
1437
+ /* @__PURE__ */ jsx(B1, { "data-a": "intr", name: "iconUp" }),
1438
+ n$12 && /* @__PURE__ */ jsx(o, { "data-a": "intr", children: n$12 })
1240
1439
  ] }) });
1241
1440
  export {
1242
- Ce as D,
1243
- me as I,
1244
- M0 as M,
1245
- de as T,
1246
- A0 as a,
1247
- oe as c,
1248
- ge as f,
1249
- pe as k,
1250
- le as p,
1251
- ue as t,
1252
- he as w,
1253
- ce as z
1441
+ D,
1442
+ I$1 as I,
1443
+ M,
1444
+ T$3 as T,
1445
+ T$2 as a,
1446
+ createSingleStore as c,
1447
+ f,
1448
+ k$2 as k,
1449
+ p$d as p,
1450
+ tn as t,
1451
+ w$2 as w,
1452
+ z$1 as z
1254
1453
  };