@streamlayer/react-ui 1.32.4 → 1.33.1

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 (154) hide show
  1. package/lib/app/app/Advertisement/index.d.ts +1 -1
  2. package/lib/app/app/Advertisement/index.js +14 -15
  3. package/lib/app/app/Banner/index.d.ts +1 -1
  4. package/lib/app/app/Features/FeatureProvider.d.ts +2 -2
  5. package/lib/app/app/Features/Gamification/Leaderboard.d.ts +1 -1
  6. package/lib/app/app/Features/Gamification/Leaderboard.js +46 -36
  7. package/lib/app/app/Features/Gamification/Question.d.ts +2 -2
  8. package/lib/app/app/Features/Gamification/Question.js +42 -42
  9. package/lib/app/app/Features/Gamification/QuestionAdvertisement.js +19 -25
  10. package/lib/app/app/Features/Gamification/QuestionsList.d.ts +1 -1
  11. package/lib/app/app/Features/Gamification/Tabs.d.ts +1 -1
  12. package/lib/app/app/Features/Gamification/UserSummary.d.ts +1 -1
  13. package/lib/app/app/Features/Gamification/index.d.ts +2 -2
  14. package/lib/app/app/Features/Gamification/index.js +29 -28
  15. package/lib/app/app/Features/index.d.ts +2 -2
  16. package/lib/app/app/InApp/index.d.ts +1 -1
  17. package/lib/app/app/Insight/index.d.ts +2 -2
  18. package/lib/app/app/Layout/index.d.ts +1 -1
  19. package/lib/app/app/Navigation/index.d.ts +1 -1
  20. package/lib/app/app/Notifications/Onboarding/Notification/index.d.ts +2 -2
  21. package/lib/app/app/Notifications/Onboarding/index.d.ts +2 -2
  22. package/lib/app/app/Notifications/Onboarding/index.js +45 -42
  23. package/lib/app/app/Notifications/index.d.ts +1 -1
  24. package/lib/app/app/Points/index.d.ts +1 -1
  25. package/lib/app/app/index.d.ts +1 -1
  26. package/lib/app/app/story/index.js +24 -24
  27. package/lib/app/app/story/insight/index.js +14 -15
  28. package/lib/app/app/story/insight/video.js +3 -3
  29. package/lib/app/app/story/promotion/content.js +5 -5
  30. package/lib/app/app/story/promotion/index.d.ts +1 -0
  31. package/lib/app/app/story/promotion/index.js +24 -25
  32. package/lib/app/app/story/promotion/video.d.ts +0 -1
  33. package/lib/app/app/story/promotion/video.js +41 -43
  34. package/lib/app/app/story/promotion-notification/index.js +15 -16
  35. package/lib/app/app/story/promotion-notification/video.d.ts +0 -1
  36. package/lib/app/app/story/promotion-notification/video.js +22 -30
  37. package/lib/app/app/story/settings/index.js +6 -6
  38. package/lib/app/app/story/settings/login.js +1 -1
  39. package/lib/app/app/story/video.js +28 -28
  40. package/lib/app/app/useApp.d.ts +1 -1
  41. package/lib/app/app/useAppContext.d.ts +1 -1
  42. package/lib/app/login/demo.js +19 -18
  43. package/lib/app/masters/BetPack/BetPackContent/EndScreen/index.d.ts +0 -1
  44. package/lib/app/masters/BetPack/BetPackContent/EndScreen/index.js +17 -17
  45. package/lib/app/masters/BetPack/BetPackContent/QuestionScreen/index.d.ts +2 -2
  46. package/lib/app/masters/BetPack/BetPackContent/index.d.ts +1 -1
  47. package/lib/app/masters/BetPack/BetPackOverlay/index.d.ts +1 -1
  48. package/lib/app/masters/BetPack/index.d.ts +1 -1
  49. package/lib/app/masters/Features/FeatureProvider.d.ts +2 -2
  50. package/lib/app/masters/Features/Gamification/Question.d.ts +1 -1
  51. package/lib/app/masters/Features/Gamification/QuestionsList.d.ts +1 -1
  52. package/lib/app/masters/Features/Gamification/Tabs.d.ts +1 -1
  53. package/lib/app/masters/Features/Gamification/UserSummary.d.ts +1 -1
  54. package/lib/app/masters/Features/Gamification/index.d.ts +1 -1
  55. package/lib/app/masters/Features/index.d.ts +2 -2
  56. package/lib/app/masters/Notifications/Onboarding/Notification/index.d.ts +2 -2
  57. package/lib/app/masters/Notifications/Onboarding/index.d.ts +2 -2
  58. package/lib/app/masters/Notifications/Onboarding/index.js +42 -39
  59. package/lib/app/masters/Notifications/index.d.ts +1 -1
  60. package/lib/app/masters/Points/index.d.ts +1 -1
  61. package/lib/app/masters/masters.d.ts +2 -1
  62. package/lib/app/masters/masters.js +34 -32
  63. package/lib/app/masters/provider.d.ts +4 -0
  64. package/lib/app/masters/provider.js +23 -0
  65. package/lib/app/masters/story/components.js +48 -52
  66. package/lib/app/masters/story/index.js +16 -15
  67. package/lib/app/masters/useMastersApp.d.ts +1 -1
  68. package/lib/app/masters/useMastersContext.d.ts +1 -1
  69. package/lib/app/tgl/index.d.ts +1 -0
  70. package/lib/app/tgl/index.js +19 -20
  71. package/lib/app/tgl/video.d.ts +0 -1
  72. package/lib/app/tgl/video.js +40 -42
  73. package/lib/app/useSdkFeature.d.ts +3 -3
  74. package/lib/app/webos/Advertisement/AdvertisementUI.d.ts +1 -1
  75. package/lib/app/webos/Advertisement/index.d.ts +1 -1
  76. package/lib/app/webos/ExposedPauseAd/PauseAd.d.ts +1 -1
  77. package/lib/app/webos/ExposedPauseAd/PauseAd.js +68 -68
  78. package/lib/app/webos/Question/index.d.ts +1 -1
  79. package/lib/app/webos/index.d.ts +1 -1
  80. package/lib/app/webos/story.js +26 -26
  81. package/lib/app/webos/ui/Sidebar/PromoAction.d.ts +1 -1
  82. package/lib/app/webos/ui/Sidebar/index.d.ts +2 -2
  83. package/lib/app/webos/ui/Sidebar/styles.js +82 -888
  84. package/lib/app/webos/ui/insight/index.d.ts +1 -1
  85. package/lib/assets/style.css +1 -1
  86. package/lib/core/app.d.ts +7 -0
  87. package/lib/core/app.js +14 -0
  88. package/lib/core/event.d.ts +6 -0
  89. package/lib/core/event.js +5 -0
  90. package/lib/core/hooks.d.ts +16 -0
  91. package/lib/core/hooks.js +8 -0
  92. package/lib/core/provider.d.ts +49 -0
  93. package/lib/core/provider.js +9 -0
  94. package/lib/hooks/analytics.d.ts +1 -1
  95. package/lib/hooks-B0Qttldg.js +99 -0
  96. package/lib/index.d.ts +0 -1
  97. package/lib/index.js +2 -4
  98. package/lib/ui/advertisement/banner/index.d.ts +3 -3
  99. package/lib/ui/advertisement/index.d.ts +1 -1
  100. package/lib/ui/advertisement/mock.d.ts +1 -1
  101. package/lib/ui/advertisement/notification/index.d.ts +1 -1
  102. package/lib/ui/advertisement/notification/lower-third/index.d.ts +1 -1
  103. package/lib/ui/advertisement/notification/lower-third/index.js +34 -30
  104. package/lib/ui/advertisement/overlay/externalAd/vast-player/useGAMPlayer.js +100 -33212
  105. package/lib/ui/advertisement/overlay/externalAd/vast-player/useGAMStatic.js +13 -13
  106. package/lib/ui/advertisement/overlay/externalAd/vast-player/useVastAds.d.ts +1 -1
  107. package/lib/ui/advertisement/overlay/externalAd/vast-player/useVastAds.js +63 -204
  108. package/lib/ui/advertisement/overlay/index.d.ts +2 -2
  109. package/lib/ui/close-btn/index.d.ts +1 -1
  110. package/lib/ui/gamification/constants.d.ts +1 -1
  111. package/lib/ui/gamification/detail/header/index.d.ts +1 -1
  112. package/lib/ui/gamification/insight/index.d.ts +1 -1
  113. package/lib/ui/gamification/insight-list/index.d.ts +1 -1
  114. package/lib/ui/gamification/leaderboard/list-item/index.d.ts +1 -1
  115. package/lib/ui/gamification/leaderboard/static.d.ts +1 -1
  116. package/lib/ui/gamification/onboarding/index.d.ts +2 -2
  117. package/lib/ui/gamification/question/inapp/notification/AdNotification/NotificationMedia/index.d.ts +2 -2
  118. package/lib/ui/gamification/question/inapp/notification/AdNotification/NotificationMedia/index.js +1 -1
  119. package/lib/ui/gamification/question/inapp/notification/AdNotification/index.d.ts +1 -1
  120. package/lib/ui/gamification/question/inapp/notification/NotificationMedia/index.d.ts +1 -1
  121. package/lib/ui/gamification/question/inapp/notification/index.d.ts +1 -1
  122. package/lib/ui/gamification/question/inapp/onboarding/index.d.ts +1 -1
  123. package/lib/ui/gamification/question/inapp/prediction-result/frames/index.d.ts +1 -1
  124. package/lib/ui/gamification/question/inapp/prediction-result/index.d.ts +1 -1
  125. package/lib/ui/gamification/question/inapp/prediction-result-ad/frames/index.d.ts +1 -1
  126. package/lib/ui/gamification/question/inapp/prediction-result-ad/index.d.ts +1 -1
  127. package/lib/ui/gamification/question/index.d.ts +1 -1
  128. package/lib/ui/gamification/question/list/index.d.ts +1 -1
  129. package/lib/ui/gamification/question/notification/index.d.ts +1 -1
  130. package/lib/ui/gamification/question/notification/insight/index.d.ts +2 -2
  131. package/lib/ui/gamification/question/notification/prediction-result/index.d.ts +1 -1
  132. package/lib/ui/gamification/question/notification/tweet/index.d.ts +1 -1
  133. package/lib/ui/gamification/vote/feedback/index.d.ts +1 -1
  134. package/lib/ui/gamification/vote/index.d.ts +1 -1
  135. package/lib/ui/gamification/vote/vote-option/index.d.ts +1 -1
  136. package/lib/ui/gamification/vote/win-bar/index.d.ts +1 -1
  137. package/lib/ui/icons/index.d.ts +198 -66
  138. package/lib/ui/navigation/button/index.d.ts +1 -1
  139. package/lib/ui/questions/insight/index.d.ts +1 -1
  140. package/lib/ui/questions/twitter/index.d.ts +1 -1
  141. package/lib/ui/video-player/index.js +26 -23
  142. package/lib/useStreamLayerApp.d.ts +23 -0
  143. package/lib/useStreamLayerApp.js +167 -0
  144. package/lib/utils/debug/components/bypassLogin.d.ts +1 -1
  145. package/lib/utils/debug/components/developer.d.ts +1 -1
  146. package/lib/utils/debug/components/eventInput.d.ts +1 -1
  147. package/lib/utils/debug/index.js +8 -8
  148. package/lib/utils/debug/storage.d.ts +1 -1
  149. package/lib/utils/storage.d.ts +1 -1
  150. package/package.json +42 -35
  151. package/lib/index-l-eyvmpL.js +0 -3758
  152. package/lib/utils/createDemo.d.ts +0 -12
  153. package/lib/utils/createDemo.js +0 -49
  154. package/lib/vast-client.min-B0NUra1B.js +0 -1060
@@ -1,907 +1,101 @@
1
- import { jsx as w } from "react/jsx-runtime";
2
- import { styled as f } from "@linaria/react";
3
- import Q from "react";
4
- import { VideoPlayer as ne } from "../../../../ui/video-player/index.js";
5
- var N = {}, U = { exports: {} }, ae = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", oe = ae, se = oe;
6
- function F() {
7
- }
8
- function V() {
9
- }
10
- V.resetWarningCache = F;
11
- var ie = function() {
12
- function e(r, a, o, i, s, l) {
13
- if (l !== se) {
14
- var h = new Error(
15
- "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
16
- );
17
- throw h.name = "Invariant Violation", h;
18
- }
19
- }
20
- e.isRequired = e;
21
- function t() {
22
- return e;
23
- }
24
- var n = {
25
- array: e,
26
- bigint: e,
27
- bool: e,
28
- func: e,
29
- number: e,
30
- object: e,
31
- string: e,
32
- symbol: e,
33
- any: e,
34
- arrayOf: t,
35
- element: e,
36
- elementType: e,
37
- instanceOf: t,
38
- node: e,
39
- objectOf: t,
40
- oneOf: t,
41
- oneOfType: t,
42
- shape: t,
43
- exact: t,
44
- checkPropTypes: V,
45
- resetWarningCache: F
46
- };
47
- return n.PropTypes = n, n;
48
- };
49
- U.exports = ie();
50
- var G = U.exports, W = {
51
- L: 1,
52
- M: 0,
53
- Q: 3,
54
- H: 2
55
- }, K = {
56
- MODE_NUMBER: 1,
57
- MODE_ALPHA_NUM: 2,
58
- MODE_8BIT_BYTE: 4,
59
- MODE_KANJI: 8
60
- }, le = K;
61
- function X(e) {
62
- this.mode = le.MODE_8BIT_BYTE, this.data = e;
63
- }
64
- X.prototype = {
65
- getLength: function(e) {
66
- return this.data.length;
67
- },
68
- write: function(e) {
69
- for (var t = 0; t < this.data.length; t++)
70
- e.put(this.data.charCodeAt(t), 8);
71
- }
72
- };
73
- var ue = X, x = W;
74
- function T(e, t) {
75
- this.totalCount = e, this.dataCount = t;
76
- }
77
- T.RS_BLOCK_TABLE = [
78
- // L
79
- // M
80
- // Q
81
- // H
82
- // 1
83
- [1, 26, 19],
84
- [1, 26, 16],
85
- [1, 26, 13],
86
- [1, 26, 9],
87
- // 2
88
- [1, 44, 34],
89
- [1, 44, 28],
90
- [1, 44, 22],
91
- [1, 44, 16],
92
- // 3
93
- [1, 70, 55],
94
- [1, 70, 44],
95
- [2, 35, 17],
96
- [2, 35, 13],
97
- // 4
98
- [1, 100, 80],
99
- [2, 50, 32],
100
- [2, 50, 24],
101
- [4, 25, 9],
102
- // 5
103
- [1, 134, 108],
104
- [2, 67, 43],
105
- [2, 33, 15, 2, 34, 16],
106
- [2, 33, 11, 2, 34, 12],
107
- // 6
108
- [2, 86, 68],
109
- [4, 43, 27],
110
- [4, 43, 19],
111
- [4, 43, 15],
112
- // 7
113
- [2, 98, 78],
114
- [4, 49, 31],
115
- [2, 32, 14, 4, 33, 15],
116
- [4, 39, 13, 1, 40, 14],
117
- // 8
118
- [2, 121, 97],
119
- [2, 60, 38, 2, 61, 39],
120
- [4, 40, 18, 2, 41, 19],
121
- [4, 40, 14, 2, 41, 15],
122
- // 9
123
- [2, 146, 116],
124
- [3, 58, 36, 2, 59, 37],
125
- [4, 36, 16, 4, 37, 17],
126
- [4, 36, 12, 4, 37, 13],
127
- // 10
128
- [2, 86, 68, 2, 87, 69],
129
- [4, 69, 43, 1, 70, 44],
130
- [6, 43, 19, 2, 44, 20],
131
- [6, 43, 15, 2, 44, 16],
132
- // 11
133
- [4, 101, 81],
134
- [1, 80, 50, 4, 81, 51],
135
- [4, 50, 22, 4, 51, 23],
136
- [3, 36, 12, 8, 37, 13],
137
- // 12
138
- [2, 116, 92, 2, 117, 93],
139
- [6, 58, 36, 2, 59, 37],
140
- [4, 46, 20, 6, 47, 21],
141
- [7, 42, 14, 4, 43, 15],
142
- // 13
143
- [4, 133, 107],
144
- [8, 59, 37, 1, 60, 38],
145
- [8, 44, 20, 4, 45, 21],
146
- [12, 33, 11, 4, 34, 12],
147
- // 14
148
- [3, 145, 115, 1, 146, 116],
149
- [4, 64, 40, 5, 65, 41],
150
- [11, 36, 16, 5, 37, 17],
151
- [11, 36, 12, 5, 37, 13],
152
- // 15
153
- [5, 109, 87, 1, 110, 88],
154
- [5, 65, 41, 5, 66, 42],
155
- [5, 54, 24, 7, 55, 25],
156
- [11, 36, 12],
157
- // 16
158
- [5, 122, 98, 1, 123, 99],
159
- [7, 73, 45, 3, 74, 46],
160
- [15, 43, 19, 2, 44, 20],
161
- [3, 45, 15, 13, 46, 16],
162
- // 17
163
- [1, 135, 107, 5, 136, 108],
164
- [10, 74, 46, 1, 75, 47],
165
- [1, 50, 22, 15, 51, 23],
166
- [2, 42, 14, 17, 43, 15],
167
- // 18
168
- [5, 150, 120, 1, 151, 121],
169
- [9, 69, 43, 4, 70, 44],
170
- [17, 50, 22, 1, 51, 23],
171
- [2, 42, 14, 19, 43, 15],
172
- // 19
173
- [3, 141, 113, 4, 142, 114],
174
- [3, 70, 44, 11, 71, 45],
175
- [17, 47, 21, 4, 48, 22],
176
- [9, 39, 13, 16, 40, 14],
177
- // 20
178
- [3, 135, 107, 5, 136, 108],
179
- [3, 67, 41, 13, 68, 42],
180
- [15, 54, 24, 5, 55, 25],
181
- [15, 43, 15, 10, 44, 16],
182
- // 21
183
- [4, 144, 116, 4, 145, 117],
184
- [17, 68, 42],
185
- [17, 50, 22, 6, 51, 23],
186
- [19, 46, 16, 6, 47, 17],
187
- // 22
188
- [2, 139, 111, 7, 140, 112],
189
- [17, 74, 46],
190
- [7, 54, 24, 16, 55, 25],
191
- [34, 37, 13],
192
- // 23
193
- [4, 151, 121, 5, 152, 122],
194
- [4, 75, 47, 14, 76, 48],
195
- [11, 54, 24, 14, 55, 25],
196
- [16, 45, 15, 14, 46, 16],
197
- // 24
198
- [6, 147, 117, 4, 148, 118],
199
- [6, 73, 45, 14, 74, 46],
200
- [11, 54, 24, 16, 55, 25],
201
- [30, 46, 16, 2, 47, 17],
202
- // 25
203
- [8, 132, 106, 4, 133, 107],
204
- [8, 75, 47, 13, 76, 48],
205
- [7, 54, 24, 22, 55, 25],
206
- [22, 45, 15, 13, 46, 16],
207
- // 26
208
- [10, 142, 114, 2, 143, 115],
209
- [19, 74, 46, 4, 75, 47],
210
- [28, 50, 22, 6, 51, 23],
211
- [33, 46, 16, 4, 47, 17],
212
- // 27
213
- [8, 152, 122, 4, 153, 123],
214
- [22, 73, 45, 3, 74, 46],
215
- [8, 53, 23, 26, 54, 24],
216
- [12, 45, 15, 28, 46, 16],
217
- // 28
218
- [3, 147, 117, 10, 148, 118],
219
- [3, 73, 45, 23, 74, 46],
220
- [4, 54, 24, 31, 55, 25],
221
- [11, 45, 15, 31, 46, 16],
222
- // 29
223
- [7, 146, 116, 7, 147, 117],
224
- [21, 73, 45, 7, 74, 46],
225
- [1, 53, 23, 37, 54, 24],
226
- [19, 45, 15, 26, 46, 16],
227
- // 30
228
- [5, 145, 115, 10, 146, 116],
229
- [19, 75, 47, 10, 76, 48],
230
- [15, 54, 24, 25, 55, 25],
231
- [23, 45, 15, 25, 46, 16],
232
- // 31
233
- [13, 145, 115, 3, 146, 116],
234
- [2, 74, 46, 29, 75, 47],
235
- [42, 54, 24, 1, 55, 25],
236
- [23, 45, 15, 28, 46, 16],
237
- // 32
238
- [17, 145, 115],
239
- [10, 74, 46, 23, 75, 47],
240
- [10, 54, 24, 35, 55, 25],
241
- [19, 45, 15, 35, 46, 16],
242
- // 33
243
- [17, 145, 115, 1, 146, 116],
244
- [14, 74, 46, 21, 75, 47],
245
- [29, 54, 24, 19, 55, 25],
246
- [11, 45, 15, 46, 46, 16],
247
- // 34
248
- [13, 145, 115, 6, 146, 116],
249
- [14, 74, 46, 23, 75, 47],
250
- [44, 54, 24, 7, 55, 25],
251
- [59, 46, 16, 1, 47, 17],
252
- // 35
253
- [12, 151, 121, 7, 152, 122],
254
- [12, 75, 47, 26, 76, 48],
255
- [39, 54, 24, 14, 55, 25],
256
- [22, 45, 15, 41, 46, 16],
257
- // 36
258
- [6, 151, 121, 14, 152, 122],
259
- [6, 75, 47, 34, 76, 48],
260
- [46, 54, 24, 10, 55, 25],
261
- [2, 45, 15, 64, 46, 16],
262
- // 37
263
- [17, 152, 122, 4, 153, 123],
264
- [29, 74, 46, 14, 75, 47],
265
- [49, 54, 24, 10, 55, 25],
266
- [24, 45, 15, 46, 46, 16],
267
- // 38
268
- [4, 152, 122, 18, 153, 123],
269
- [13, 74, 46, 32, 75, 47],
270
- [48, 54, 24, 14, 55, 25],
271
- [42, 45, 15, 32, 46, 16],
272
- // 39
273
- [20, 147, 117, 4, 148, 118],
274
- [40, 75, 47, 7, 76, 48],
275
- [43, 54, 24, 22, 55, 25],
276
- [10, 45, 15, 67, 46, 16],
277
- // 40
278
- [19, 148, 118, 6, 149, 119],
279
- [18, 75, 47, 31, 76, 48],
280
- [34, 54, 24, 34, 55, 25],
281
- [20, 45, 15, 61, 46, 16]
282
- ];
283
- T.getRSBlocks = function(e, t) {
284
- var n = T.getRsBlockTable(e, t);
285
- if (n == null)
286
- throw new Error("bad rs block @ typeNumber:" + e + "/errorCorrectLevel:" + t);
287
- for (var r = n.length / 3, a = new Array(), o = 0; o < r; o++)
288
- for (var i = n[o * 3 + 0], s = n[o * 3 + 1], l = n[o * 3 + 2], h = 0; h < i; h++)
289
- a.push(new T(s, l));
290
- return a;
291
- };
292
- T.getRsBlockTable = function(e, t) {
293
- switch (t) {
294
- case x.L:
295
- return T.RS_BLOCK_TABLE[(e - 1) * 4 + 0];
296
- case x.M:
297
- return T.RS_BLOCK_TABLE[(e - 1) * 4 + 1];
298
- case x.Q:
299
- return T.RS_BLOCK_TABLE[(e - 1) * 4 + 2];
300
- case x.H:
301
- return T.RS_BLOCK_TABLE[(e - 1) * 4 + 3];
302
- default:
303
- return;
304
- }
305
- };
306
- var fe = T;
307
- function Z() {
308
- this.buffer = new Array(), this.length = 0;
309
- }
310
- Z.prototype = {
311
- get: function(e) {
312
- var t = Math.floor(e / 8);
313
- return (this.buffer[t] >>> 7 - e % 8 & 1) == 1;
314
- },
315
- put: function(e, t) {
316
- for (var n = 0; n < t; n++)
317
- this.putBit((e >>> t - n - 1 & 1) == 1);
318
- },
319
- getLengthInBits: function() {
320
- return this.length;
321
- },
322
- putBit: function(e) {
323
- var t = Math.floor(this.length / 8);
324
- this.buffer.length <= t && this.buffer.push(0), e && (this.buffer[t] |= 128 >>> this.length % 8), this.length++;
325
- }
326
- };
327
- var he = Z, m = {
328
- glog: function(e) {
329
- if (e < 1)
330
- throw new Error("glog(" + e + ")");
331
- return m.LOG_TABLE[e];
332
- },
333
- gexp: function(e) {
334
- for (; e < 0; )
335
- e += 255;
336
- for (; e >= 256; )
337
- e -= 255;
338
- return m.EXP_TABLE[e];
339
- },
340
- EXP_TABLE: new Array(256),
341
- LOG_TABLE: new Array(256)
342
- };
343
- for (var p = 0; p < 8; p++)
344
- m.EXP_TABLE[p] = 1 << p;
345
- for (var p = 8; p < 256; p++)
346
- m.EXP_TABLE[p] = m.EXP_TABLE[p - 4] ^ m.EXP_TABLE[p - 5] ^ m.EXP_TABLE[p - 6] ^ m.EXP_TABLE[p - 8];
347
- for (var p = 0; p < 255; p++)
348
- m.LOG_TABLE[m.EXP_TABLE[p]] = p;
349
- var Y = m, R = Y;
350
- function k(e, t) {
351
- if (e.length == null)
352
- throw new Error(e.length + "/" + t);
353
- for (var n = 0; n < e.length && e[n] == 0; )
354
- n++;
355
- this.num = new Array(e.length - n + t);
356
- for (var r = 0; r < e.length - n; r++)
357
- this.num[r] = e[r + n];
358
- }
359
- k.prototype = {
360
- get: function(e) {
361
- return this.num[e];
362
- },
363
- getLength: function() {
364
- return this.num.length;
365
- },
366
- multiply: function(e) {
367
- for (var t = new Array(this.getLength() + e.getLength() - 1), n = 0; n < this.getLength(); n++)
368
- for (var r = 0; r < e.getLength(); r++)
369
- t[n + r] ^= R.gexp(R.glog(this.get(n)) + R.glog(e.get(r)));
370
- return new k(t, 0);
371
- },
372
- mod: function(e) {
373
- if (this.getLength() - e.getLength() < 0)
374
- return this;
375
- for (var t = R.glog(this.get(0)) - R.glog(e.get(0)), n = new Array(this.getLength()), r = 0; r < this.getLength(); r++)
376
- n[r] = this.get(r);
377
- for (var r = 0; r < e.getLength(); r++)
378
- n[r] ^= R.gexp(R.glog(e.get(r)) + t);
379
- return new k(n, 0).mod(e);
380
- }
381
- };
382
- var j = k, g = K, z = j, ve = Y, A = {
383
- PATTERN000: 0,
384
- PATTERN001: 1,
385
- PATTERN010: 2,
386
- PATTERN011: 3,
387
- PATTERN100: 4,
388
- PATTERN101: 5,
389
- PATTERN110: 6,
390
- PATTERN111: 7
391
- }, v = {
392
- PATTERN_POSITION_TABLE: [
393
- [],
394
- [6, 18],
395
- [6, 22],
396
- [6, 26],
397
- [6, 30],
398
- [6, 34],
399
- [6, 22, 38],
400
- [6, 24, 42],
401
- [6, 26, 46],
402
- [6, 28, 50],
403
- [6, 30, 54],
404
- [6, 32, 58],
405
- [6, 34, 62],
406
- [6, 26, 46, 66],
407
- [6, 26, 48, 70],
408
- [6, 26, 50, 74],
409
- [6, 30, 54, 78],
410
- [6, 30, 56, 82],
411
- [6, 30, 58, 86],
412
- [6, 34, 62, 90],
413
- [6, 28, 50, 72, 94],
414
- [6, 26, 50, 74, 98],
415
- [6, 30, 54, 78, 102],
416
- [6, 28, 54, 80, 106],
417
- [6, 32, 58, 84, 110],
418
- [6, 30, 58, 86, 114],
419
- [6, 34, 62, 90, 118],
420
- [6, 26, 50, 74, 98, 122],
421
- [6, 30, 54, 78, 102, 126],
422
- [6, 26, 52, 78, 104, 130],
423
- [6, 30, 56, 82, 108, 134],
424
- [6, 34, 60, 86, 112, 138],
425
- [6, 30, 58, 86, 114, 142],
426
- [6, 34, 62, 90, 118, 146],
427
- [6, 30, 54, 78, 102, 126, 150],
428
- [6, 24, 50, 76, 102, 128, 154],
429
- [6, 28, 54, 80, 106, 132, 158],
430
- [6, 32, 58, 84, 110, 136, 162],
431
- [6, 26, 54, 82, 110, 138, 166],
432
- [6, 30, 58, 86, 114, 142, 170]
433
- ],
434
- G15: 1335,
435
- G18: 7973,
436
- G15_MASK: 21522,
437
- getBCHTypeInfo: function(e) {
438
- for (var t = e << 10; v.getBCHDigit(t) - v.getBCHDigit(v.G15) >= 0; )
439
- t ^= v.G15 << v.getBCHDigit(t) - v.getBCHDigit(v.G15);
440
- return (e << 10 | t) ^ v.G15_MASK;
441
- },
442
- getBCHTypeNumber: function(e) {
443
- for (var t = e << 12; v.getBCHDigit(t) - v.getBCHDigit(v.G18) >= 0; )
444
- t ^= v.G18 << v.getBCHDigit(t) - v.getBCHDigit(v.G18);
445
- return e << 12 | t;
446
- },
447
- getBCHDigit: function(e) {
448
- for (var t = 0; e != 0; )
449
- t++, e >>>= 1;
450
- return t;
451
- },
452
- getPatternPosition: function(e) {
453
- return v.PATTERN_POSITION_TABLE[e - 1];
454
- },
455
- getMask: function(e, t, n) {
456
- switch (e) {
457
- case A.PATTERN000:
458
- return (t + n) % 2 == 0;
459
- case A.PATTERN001:
460
- return t % 2 == 0;
461
- case A.PATTERN010:
462
- return n % 3 == 0;
463
- case A.PATTERN011:
464
- return (t + n) % 3 == 0;
465
- case A.PATTERN100:
466
- return (Math.floor(t / 2) + Math.floor(n / 3)) % 2 == 0;
467
- case A.PATTERN101:
468
- return t * n % 2 + t * n % 3 == 0;
469
- case A.PATTERN110:
470
- return (t * n % 2 + t * n % 3) % 2 == 0;
471
- case A.PATTERN111:
472
- return (t * n % 3 + (t + n) % 2) % 2 == 0;
473
- default:
474
- throw new Error("bad maskPattern:" + e);
475
- }
476
- },
477
- getErrorCorrectPolynomial: function(e) {
478
- for (var t = new z([1], 0), n = 0; n < e; n++)
479
- t = t.multiply(new z([1, ve.gexp(n)], 0));
480
- return t;
481
- },
482
- getLengthInBits: function(e, t) {
483
- if (1 <= t && t < 10)
484
- switch (e) {
485
- case g.MODE_NUMBER:
486
- return 10;
487
- case g.MODE_ALPHA_NUM:
488
- return 9;
489
- case g.MODE_8BIT_BYTE:
490
- return 8;
491
- case g.MODE_KANJI:
492
- return 8;
493
- default:
494
- throw new Error("mode:" + e);
495
- }
496
- else if (t < 27)
497
- switch (e) {
498
- case g.MODE_NUMBER:
499
- return 12;
500
- case g.MODE_ALPHA_NUM:
501
- return 11;
502
- case g.MODE_8BIT_BYTE:
503
- return 16;
504
- case g.MODE_KANJI:
505
- return 10;
506
- default:
507
- throw new Error("mode:" + e);
508
- }
509
- else if (t < 41)
510
- switch (e) {
511
- case g.MODE_NUMBER:
512
- return 14;
513
- case g.MODE_ALPHA_NUM:
514
- return 13;
515
- case g.MODE_8BIT_BYTE:
516
- return 16;
517
- case g.MODE_KANJI:
518
- return 12;
519
- default:
520
- throw new Error("mode:" + e);
521
- }
522
- else
523
- throw new Error("type:" + t);
524
- },
525
- getLostPoint: function(e) {
526
- for (var t = e.getModuleCount(), n = 0, r = 0; r < t; r++)
527
- for (var a = 0; a < t; a++) {
528
- for (var o = 0, i = e.isDark(r, a), s = -1; s <= 1; s++)
529
- if (!(r + s < 0 || t <= r + s))
530
- for (var l = -1; l <= 1; l++)
531
- a + l < 0 || t <= a + l || s == 0 && l == 0 || i == e.isDark(r + s, a + l) && o++;
532
- o > 5 && (n += 3 + o - 5);
533
- }
534
- for (var r = 0; r < t - 1; r++)
535
- for (var a = 0; a < t - 1; a++) {
536
- var h = 0;
537
- e.isDark(r, a) && h++, e.isDark(r + 1, a) && h++, e.isDark(r, a + 1) && h++, e.isDark(r + 1, a + 1) && h++, (h == 0 || h == 4) && (n += 3);
538
- }
539
- for (var r = 0; r < t; r++)
540
- for (var a = 0; a < t - 6; a++)
541
- e.isDark(r, a) && !e.isDark(r, a + 1) && e.isDark(r, a + 2) && e.isDark(r, a + 3) && e.isDark(r, a + 4) && !e.isDark(r, a + 5) && e.isDark(r, a + 6) && (n += 40);
542
- for (var a = 0; a < t; a++)
543
- for (var r = 0; r < t - 6; r++)
544
- e.isDark(r, a) && !e.isDark(r + 1, a) && e.isDark(r + 2, a) && e.isDark(r + 3, a) && e.isDark(r + 4, a) && !e.isDark(r + 5, a) && e.isDark(r + 6, a) && (n += 40);
545
- for (var u = 0, a = 0; a < t; a++)
546
- for (var r = 0; r < t; r++)
547
- e.isDark(r, a) && u++;
548
- var C = Math.abs(100 * u / t / t - 50) / 5;
549
- return n += C * 10, n;
550
- }
551
- }, pe = v, de = ue, J = fe, q = he, L = pe, ge = j;
552
- function B(e, t) {
553
- this.typeNumber = e, this.errorCorrectLevel = t, this.modules = null, this.moduleCount = 0, this.dataCache = null, this.dataList = [];
554
- }
555
- var d = B.prototype;
556
- d.addData = function(e) {
557
- var t = new de(e);
558
- this.dataList.push(t), this.dataCache = null;
559
- };
560
- d.isDark = function(e, t) {
561
- if (e < 0 || this.moduleCount <= e || t < 0 || this.moduleCount <= t)
562
- throw new Error(e + "," + t);
563
- return this.modules[e][t];
564
- };
565
- d.getModuleCount = function() {
566
- return this.moduleCount;
567
- };
568
- d.make = function() {
569
- if (this.typeNumber < 1) {
570
- var e = 1;
571
- for (e = 1; e < 40; e++) {
572
- for (var t = J.getRSBlocks(e, this.errorCorrectLevel), n = new q(), r = 0, a = 0; a < t.length; a++)
573
- r += t[a].dataCount;
574
- for (var a = 0; a < this.dataList.length; a++) {
575
- var o = this.dataList[a];
576
- n.put(o.mode, 4), n.put(o.getLength(), L.getLengthInBits(o.mode, e)), o.write(n);
577
- }
578
- if (n.getLengthInBits() <= r * 8)
579
- break;
580
- }
581
- this.typeNumber = e;
582
- }
583
- this.makeImpl(!1, this.getBestMaskPattern());
584
- };
585
- d.makeImpl = function(e, t) {
586
- this.moduleCount = this.typeNumber * 4 + 17, this.modules = new Array(this.moduleCount);
587
- for (var n = 0; n < this.moduleCount; n++) {
588
- this.modules[n] = new Array(this.moduleCount);
589
- for (var r = 0; r < this.moduleCount; r++)
590
- this.modules[n][r] = null;
591
- }
592
- this.setupPositionProbePattern(0, 0), this.setupPositionProbePattern(this.moduleCount - 7, 0), this.setupPositionProbePattern(0, this.moduleCount - 7), this.setupPositionAdjustPattern(), this.setupTimingPattern(), this.setupTypeInfo(e, t), this.typeNumber >= 7 && this.setupTypeNumber(e), this.dataCache == null && (this.dataCache = B.createData(this.typeNumber, this.errorCorrectLevel, this.dataList)), this.mapData(this.dataCache, t);
593
- };
594
- d.setupPositionProbePattern = function(e, t) {
595
- for (var n = -1; n <= 7; n++)
596
- if (!(e + n <= -1 || this.moduleCount <= e + n))
597
- for (var r = -1; r <= 7; r++)
598
- t + r <= -1 || this.moduleCount <= t + r || (0 <= n && n <= 6 && (r == 0 || r == 6) || 0 <= r && r <= 6 && (n == 0 || n == 6) || 2 <= n && n <= 4 && 2 <= r && r <= 4 ? this.modules[e + n][t + r] = !0 : this.modules[e + n][t + r] = !1);
599
- };
600
- d.getBestMaskPattern = function() {
601
- for (var e = 0, t = 0, n = 0; n < 8; n++) {
602
- this.makeImpl(!0, n);
603
- var r = L.getLostPoint(this);
604
- (n == 0 || e > r) && (e = r, t = n);
605
- }
606
- return t;
607
- };
608
- d.createMovieClip = function(e, t, n) {
609
- var r = e.createEmptyMovieClip(t, n), a = 1;
610
- this.make();
611
- for (var o = 0; o < this.modules.length; o++)
612
- for (var i = o * a, s = 0; s < this.modules[o].length; s++) {
613
- var l = s * a, h = this.modules[o][s];
614
- h && (r.beginFill(0, 100), r.moveTo(l, i), r.lineTo(l + a, i), r.lineTo(l + a, i + a), r.lineTo(l, i + a), r.endFill());
615
- }
616
- return r;
617
- };
618
- d.setupTimingPattern = function() {
619
- for (var e = 8; e < this.moduleCount - 8; e++)
620
- this.modules[e][6] == null && (this.modules[e][6] = e % 2 == 0);
621
- for (var t = 8; t < this.moduleCount - 8; t++)
622
- this.modules[6][t] == null && (this.modules[6][t] = t % 2 == 0);
623
- };
624
- d.setupPositionAdjustPattern = function() {
625
- for (var e = L.getPatternPosition(this.typeNumber), t = 0; t < e.length; t++)
626
- for (var n = 0; n < e.length; n++) {
627
- var r = e[t], a = e[n];
628
- if (this.modules[r][a] == null)
629
- for (var o = -2; o <= 2; o++)
630
- for (var i = -2; i <= 2; i++)
631
- o == -2 || o == 2 || i == -2 || i == 2 || o == 0 && i == 0 ? this.modules[r + o][a + i] = !0 : this.modules[r + o][a + i] = !1;
632
- }
633
- };
634
- d.setupTypeNumber = function(e) {
635
- for (var t = L.getBCHTypeNumber(this.typeNumber), n = 0; n < 18; n++) {
636
- var r = !e && (t >> n & 1) == 1;
637
- this.modules[Math.floor(n / 3)][n % 3 + this.moduleCount - 8 - 3] = r;
638
- }
639
- for (var n = 0; n < 18; n++) {
640
- var r = !e && (t >> n & 1) == 1;
641
- this.modules[n % 3 + this.moduleCount - 8 - 3][Math.floor(n / 3)] = r;
642
- }
643
- };
644
- d.setupTypeInfo = function(e, t) {
645
- for (var n = this.errorCorrectLevel << 3 | t, r = L.getBCHTypeInfo(n), a = 0; a < 15; a++) {
646
- var o = !e && (r >> a & 1) == 1;
647
- a < 6 ? this.modules[a][8] = o : a < 8 ? this.modules[a + 1][8] = o : this.modules[this.moduleCount - 15 + a][8] = o;
648
- }
649
- for (var a = 0; a < 15; a++) {
650
- var o = !e && (r >> a & 1) == 1;
651
- a < 8 ? this.modules[8][this.moduleCount - a - 1] = o : a < 9 ? this.modules[8][15 - a - 1 + 1] = o : this.modules[8][15 - a - 1] = o;
652
- }
653
- this.modules[this.moduleCount - 8][8] = !e;
654
- };
655
- d.mapData = function(e, t) {
656
- for (var n = -1, r = this.moduleCount - 1, a = 7, o = 0, i = this.moduleCount - 1; i > 0; i -= 2)
657
- for (i == 6 && i--; ; ) {
658
- for (var s = 0; s < 2; s++)
659
- if (this.modules[r][i - s] == null) {
660
- var l = !1;
661
- o < e.length && (l = (e[o] >>> a & 1) == 1);
662
- var h = L.getMask(t, r, i - s);
663
- h && (l = !l), this.modules[r][i - s] = l, a--, a == -1 && (o++, a = 7);
664
- }
665
- if (r += n, r < 0 || this.moduleCount <= r) {
666
- r -= n, n = -n;
667
- break;
668
- }
669
- }
670
- };
671
- B.PAD0 = 236;
672
- B.PAD1 = 17;
673
- B.createData = function(e, t, n) {
674
- for (var r = J.getRSBlocks(e, t), a = new q(), o = 0; o < n.length; o++) {
675
- var i = n[o];
676
- a.put(i.mode, 4), a.put(i.getLength(), L.getLengthInBits(i.mode, e)), i.write(a);
677
- }
678
- for (var s = 0, o = 0; o < r.length; o++)
679
- s += r[o].dataCount;
680
- if (a.getLengthInBits() > s * 8)
681
- throw new Error("code length overflow. (" + a.getLengthInBits() + ">" + s * 8 + ")");
682
- for (a.getLengthInBits() + 4 <= s * 8 && a.put(0, 4); a.getLengthInBits() % 8 != 0; )
683
- a.putBit(!1);
684
- for (; !(a.getLengthInBits() >= s * 8 || (a.put(B.PAD0, 8), a.getLengthInBits() >= s * 8)); )
685
- a.put(B.PAD1, 8);
686
- return B.createBytes(a, r);
687
- };
688
- B.createBytes = function(e, t) {
689
- for (var n = 0, r = 0, a = 0, o = new Array(t.length), i = new Array(t.length), s = 0; s < t.length; s++) {
690
- var l = t[s].dataCount, h = t[s].totalCount - l;
691
- r = Math.max(r, l), a = Math.max(a, h), o[s] = new Array(l);
692
- for (var u = 0; u < o[s].length; u++)
693
- o[s][u] = 255 & e.buffer[u + n];
694
- n += l;
695
- var C = L.getErrorCorrectPolynomial(h), I = new ge(o[s], C.getLength() - 1), P = I.mod(C);
696
- i[s] = new Array(C.getLength() - 1);
697
- for (var u = 0; u < i[s].length; u++) {
698
- var y = u + P.getLength() - i[s].length;
699
- i[s][u] = y >= 0 ? P.get(y) : 0;
700
- }
701
- }
702
- for (var D = 0, u = 0; u < t.length; u++)
703
- D += t[u].totalCount;
704
- for (var _ = new Array(D), b = 0, u = 0; u < r; u++)
705
- for (var s = 0; s < t.length; s++)
706
- u < o[s].length && (_[b++] = o[s][u]);
707
- for (var u = 0; u < a; u++)
708
- for (var s = 0; s < t.length; s++)
709
- u < i[s].length && (_[b++] = i[s][u]);
710
- return _;
711
- };
712
- var ce = B, H = {};
713
- Object.defineProperty(H, "__esModule", {
714
- value: !0
715
- });
716
- var me = Object.assign || function(e) {
717
- for (var t = 1; t < arguments.length; t++) {
718
- var n = arguments[t];
719
- for (var r in n)
720
- Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
721
- }
722
- return e;
723
- }, Te = G, c = te(Te), ee = Q, O = te(ee);
724
- function te(e) {
725
- return e && e.__esModule ? e : { default: e };
726
- }
727
- function Be(e, t) {
728
- var n = {};
729
- for (var r in e)
730
- t.indexOf(r) >= 0 || Object.prototype.hasOwnProperty.call(e, r) && (n[r] = e[r]);
731
- return n;
732
- }
733
- var Ce = {
734
- bgColor: c.default.oneOfType([c.default.object, c.default.string]).isRequired,
735
- bgD: c.default.string.isRequired,
736
- fgColor: c.default.oneOfType([c.default.object, c.default.string]).isRequired,
737
- fgD: c.default.string.isRequired,
738
- size: c.default.number.isRequired,
739
- title: c.default.string,
740
- viewBoxSize: c.default.number.isRequired,
741
- xmlns: c.default.string
742
- }, $ = (0, ee.forwardRef)(function(e, t) {
743
- var n = e.bgColor, r = e.bgD, a = e.fgD, o = e.fgColor, i = e.size, s = e.title, l = e.viewBoxSize, h = e.xmlns, u = h === void 0 ? "http://www.w3.org/2000/svg" : h, C = Be(e, ["bgColor", "bgD", "fgD", "fgColor", "size", "title", "viewBoxSize", "xmlns"]);
744
- return O.default.createElement(
745
- "svg",
746
- me({}, C, { height: i, ref: t, viewBox: "0 0 " + l + " " + l, width: i, xmlns: u }),
747
- s ? O.default.createElement(
748
- "title",
749
- null,
750
- s
751
- ) : null,
752
- O.default.createElement("path", { d: r, fill: n }),
753
- O.default.createElement("path", { d: a, fill: o })
754
- );
755
- });
756
- $.displayName = "QRCodeSvg";
757
- $.propTypes = Ce;
758
- H.default = $;
759
- Object.defineProperty(N, "__esModule", {
760
- value: !0
761
- });
762
- N.QRCode = void 0;
763
- var Ee = Object.assign || function(e) {
764
- for (var t = 1; t < arguments.length; t++) {
765
- var n = arguments[t];
766
- for (var r in n)
767
- Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
768
- }
769
- return e;
770
- }, Ae = G, E = M(Ae), Le = W, _e = M(Le), Re = ce, we = M(Re), re = Q, Pe = M(re), ye = H, De = M(ye);
771
- function M(e) {
772
- return e && e.__esModule ? e : { default: e };
773
- }
774
- function be(e, t) {
775
- var n = {};
776
- for (var r in e)
777
- t.indexOf(r) >= 0 || Object.prototype.hasOwnProperty.call(e, r) && (n[r] = e[r]);
778
- return n;
779
- }
780
- var Ie = {
781
- bgColor: E.default.oneOfType([E.default.object, E.default.string]),
782
- fgColor: E.default.oneOfType([E.default.object, E.default.string]),
783
- level: E.default.string,
784
- size: E.default.number,
785
- value: E.default.string.isRequired
786
- }, S = (0, re.forwardRef)(function(e, t) {
787
- var n = e.bgColor, r = n === void 0 ? "#FFFFFF" : n, a = e.fgColor, o = a === void 0 ? "#000000" : a, i = e.level, s = i === void 0 ? "L" : i, l = e.size, h = l === void 0 ? 256 : l, u = e.value, C = be(e, ["bgColor", "fgColor", "level", "size", "value"]), I = new we.default(-1, _e.default[s]);
788
- I.addData(u), I.make();
789
- var P = I.modules;
790
- return Pe.default.createElement(De.default, Ee({}, C, {
791
- bgColor: r,
792
- bgD: P.map(function(y, D) {
793
- return y.map(function(_, b) {
794
- return _ ? "" : "M " + b + " " + D + " l 1 0 0 1 -1 0 Z";
795
- }).join(" ");
796
- }).join(" "),
797
- fgColor: o,
798
- fgD: P.map(function(y, D) {
799
- return y.map(function(_, b) {
800
- return _ ? "M " + b + " " + D + " l 1 0 0 1 -1 0 Z" : "";
801
- }).join(" ");
802
- }).join(" "),
803
- ref: t,
804
- size: h,
805
- viewBoxSize: P.length
806
- }));
807
- });
808
- N.QRCode = S;
809
- S.displayName = "QRCode";
810
- S.propTypes = Ie;
811
- var Me = N.default = S;
812
- const Ge = /* @__PURE__ */ f("div")({
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { styled as s } from "@linaria/react";
3
+ import p from "react";
4
+ import i from "react-qr-code";
5
+ import { VideoPlayer as d } from "../../../../ui/video-player/index.js";
6
+ const b = /* @__PURE__ */ s("div")({
813
7
  name: "Wrap",
814
8
  class: "wlxplqv",
815
9
  propsAsIs: !1
816
- }), We = /* @__PURE__ */ f("div")({
10
+ }), g = /* @__PURE__ */ s("div")({
817
11
  name: "Container",
818
12
  class: "c18fzrta",
819
13
  propsAsIs: !1
820
- }), Ke = /* @__PURE__ */ f("div")({
14
+ }), k = /* @__PURE__ */ s("div")({
821
15
  name: "Header",
822
16
  class: "hxfcca1",
823
17
  propsAsIs: !1
824
- }), Xe = /* @__PURE__ */ f("div")({
18
+ }), V = /* @__PURE__ */ s("div")({
825
19
  name: "BrandBlock",
826
20
  class: "bz4xk2s",
827
21
  propsAsIs: !1
828
- }), Ze = /* @__PURE__ */ f("img")({
22
+ }), Q = /* @__PURE__ */ s("img")({
829
23
  name: "LogoIcon",
830
24
  class: "l1udizru",
831
25
  propsAsIs: !1
832
- }), Ye = /* @__PURE__ */ f("div")({
26
+ }), y = /* @__PURE__ */ s("div")({
833
27
  name: "BrandText",
834
28
  class: "b1keaj5j",
835
29
  propsAsIs: !1
836
- }), je = /* @__PURE__ */ f("div")({
30
+ }), S = /* @__PURE__ */ s("div")({
837
31
  name: "BrandNameContainer",
838
32
  class: "b17io0yd",
839
33
  propsAsIs: !1
840
- }), Je = /* @__PURE__ */ f("span")({
34
+ }), T = /* @__PURE__ */ s("span")({
841
35
  name: "BrandName",
842
36
  class: "b4ldrvh",
843
37
  propsAsIs: !1
844
- }), qe = /* @__PURE__ */ f("span")({
38
+ }), M = /* @__PURE__ */ s("span")({
845
39
  name: "Sponsored",
846
40
  class: "sxfmzcm",
847
41
  propsAsIs: !1
848
- }), et = (e) => /* @__PURE__ */ w("svg", {
42
+ }), _ = (e) => /* @__PURE__ */ o("svg", {
849
43
  viewBox: "0 0 24 24",
850
44
  fill: "white",
851
45
  xmlns: "http://www.w3.org/2000/svg",
852
46
  ...e,
853
- children: /* @__PURE__ */ w("path", {
47
+ children: /* @__PURE__ */ o("path", {
854
48
  fillRule: "evenodd",
855
49
  clipRule: "evenodd",
856
50
  d: "M6.225 4.811a.75.75 0 0 1 1.06 0L12 9.525l4.715-4.714a.75.75 0 1 1 1.06 1.06L13.06 10.5l4.715 4.715a.75.75 0 0 1-1.06 1.06L12 11.56l-4.715 4.715a.75.75 0 0 1-1.06-1.06L10.94 10.5 6.225 5.785a.75.75 0 0 1 0-1.06z"
857
51
  })
858
- }), tt = /* @__PURE__ */ f("button")({
52
+ }), q = /* @__PURE__ */ s("button")({
859
53
  name: "CloseButton",
860
54
  class: "caubznb",
861
55
  propsAsIs: !1
862
- }), xe = () => ne, rt = /* @__PURE__ */ f(xe())({
56
+ }), f = () => d, H = /* @__PURE__ */ s(f())({
863
57
  name: "FocusableVideo",
864
58
  class: "f1n8ue7o",
865
59
  propsAsIs: !0
866
- }), nt = /* @__PURE__ */ f("div")({
60
+ }), j = /* @__PURE__ */ s("div")({
867
61
  name: "VideoWrapper",
868
62
  class: "vexkm55",
869
63
  propsAsIs: !1
870
- }), Oe = () => ({
64
+ }), m = () => ({
871
65
  isPlaying: e
872
- }) => e ? "none" : "block", at = /* @__PURE__ */ f("button")({
66
+ }) => e ? "none" : "block", W = /* @__PURE__ */ s("button")({
873
67
  name: "PlayPauseButton",
874
68
  class: "pilh2qp",
875
69
  propsAsIs: !1,
876
70
  vars: {
877
- "pilh2qp-0": [Oe()]
71
+ "pilh2qp-0": [m()]
878
72
  }
879
- }), ke = () => ({
73
+ }), v = () => ({
880
74
  visible: e
881
- }) => e ? "flex" : "none", ot = /* @__PURE__ */ f("div")({
75
+ }) => e ? "flex" : "none", D = /* @__PURE__ */ s("div")({
882
76
  name: "CenterIndicator",
883
77
  class: "c1x04fia",
884
78
  propsAsIs: !1,
885
79
  vars: {
886
- "c1x04fia-0": [ke()]
80
+ "c1x04fia-0": [v()]
887
81
  }
888
- }), st = /* @__PURE__ */ f("div")({
82
+ }), P = /* @__PURE__ */ s("div")({
889
83
  name: "VideoBlock",
890
84
  class: "v15di30w",
891
85
  propsAsIs: !1
892
- }), Ne = () => ({
86
+ }), I = () => ({
893
87
  backgroundColor: e
894
- }) => e || "#0f6cd4", Se = () => ({
88
+ }) => e || "#0f6cd4", x = () => ({
895
89
  textColor: e
896
- }) => e || "#fff", it = /* @__PURE__ */ f("div")({
90
+ }) => e || "#fff", Z = /* @__PURE__ */ s("div")({
897
91
  name: "SendToUserButton",
898
92
  class: "sui9wi2",
899
93
  propsAsIs: !1,
900
94
  vars: {
901
- "sui9wi2-0": [Ne()],
902
- "sui9wi2-1": [Se()]
95
+ "sui9wi2-0": [I()],
96
+ "sui9wi2-1": [x()]
903
97
  }
904
- }), lt = () => /* @__PURE__ */ w("svg", {
98
+ }), z = () => /* @__PURE__ */ o("svg", {
905
99
  fill: "white",
906
100
  style: {
907
101
  fill: "white",
@@ -912,59 +106,59 @@ const Ge = /* @__PURE__ */ f("div")({
912
106
  },
913
107
  viewBox: "0 0 40 28",
914
108
  xmlns: "http://www.w3.org/2000/svg",
915
- children: /* @__PURE__ */ w("path", {
109
+ children: /* @__PURE__ */ o("path", {
916
110
  d: "M5.57502 27.5H34.9099C37.803 27.5 39.5 25.8713 39.5 22.645V5.355C39.5 2.12878 37.7869 0.5 34.4251 0.5H5.09014C2.19706 0.5 0.5 2.12878 0.5 5.355V22.645C0.5 25.8713 2.21323 27.5 5.57502 27.5ZM5.47805 25.1039C3.87796 25.1039 2.97286 24.2425 2.97286 22.6294V5.33933C2.97286 3.74189 3.87796 2.89618 5.47805 2.89618H34.5058C36.1059 2.89618 37.0272 3.74189 37.0272 5.355V22.645C37.0272 24.2425 36.1059 25.1039 34.5058 25.1039H5.47805ZM19.9919 18.1189C21.0263 18.1189 22.0285 17.7431 22.9496 16.9287L38.1586 3.66359L36.4776 2.01915L21.5435 15.0651C21.0425 15.5035 20.5253 15.7071 19.9919 15.7071C19.4586 15.7071 18.9414 15.5035 18.4403 15.0651L3.50622 2.01915L1.82532 3.66359L17.0342 16.9287C17.9554 17.7431 18.9575 18.1189 19.9919 18.1189ZM3.74866 25.4954L15.224 14.3602L13.5431 12.7315L2.06776 23.851L3.74866 25.4954ZM36.2676 25.5111L37.9484 23.8666L26.4569 12.7315L24.7598 14.3602L36.2676 25.5111Z",
917
111
  fill: "white"
918
112
  })
919
- }), ut = /* @__PURE__ */ f("div")({
113
+ }), N = /* @__PURE__ */ s("div")({
920
114
  name: "SendToUserText",
921
115
  class: "sddh3kx",
922
116
  propsAsIs: !1
923
- }), ft = /* @__PURE__ */ f("div")({
117
+ }), U = /* @__PURE__ */ s("div")({
924
118
  name: "VideoStatus",
925
119
  class: "v13i81d3",
926
120
  propsAsIs: !1
927
- }), ht = /* @__PURE__ */ f("h2")({
121
+ }), F = /* @__PURE__ */ s("h2")({
928
122
  name: "Title",
929
123
  class: "t1vr1bii",
930
124
  propsAsIs: !1
931
- }), vt = /* @__PURE__ */ f("p")({
125
+ }), $ = /* @__PURE__ */ s("p")({
932
126
  name: "Description",
933
127
  class: "d1st3522",
934
128
  propsAsIs: !1
935
- }), pt = /* @__PURE__ */ f("div")({
129
+ }), E = /* @__PURE__ */ s("div")({
936
130
  name: "QRBlock",
937
131
  class: "qjnj4vf",
938
132
  propsAsIs: !1
939
- }), dt = /* @__PURE__ */ f("div")({
133
+ }), G = /* @__PURE__ */ s("div")({
940
134
  name: "QRDescBlock",
941
135
  class: "q1bj8s6q",
942
136
  propsAsIs: !1
943
- }), gt = /* @__PURE__ */ f("div")({
137
+ }), J = /* @__PURE__ */ s("div")({
944
138
  name: "LearnMore",
945
139
  class: "l1nyi744",
946
140
  propsAsIs: !1
947
- }), ct = /* @__PURE__ */ f("div")({
141
+ }), K = /* @__PURE__ */ s("div")({
948
142
  name: "QRHint",
949
143
  class: "q1ri138g",
950
144
  propsAsIs: !1
951
- }), Qe = /* @__PURE__ */ f("div")({
145
+ }), u = /* @__PURE__ */ s("div")({
952
146
  name: "QRWrapper",
953
147
  class: "q1asn3je",
954
148
  propsAsIs: !1
955
- }), He = () => Me, $e = /* @__PURE__ */ f(He())({
149
+ }), A = () => i, B = /* @__PURE__ */ s(A())({
956
150
  name: "StyledQRCode",
957
151
  class: "sa9pwin",
958
152
  propsAsIs: !0
959
- }), mt = Q.forwardRef(({
153
+ }), O = p.forwardRef(({
960
154
  value: e,
961
- size: t = 200,
155
+ size: a = 200,
962
156
  fgColor: n = "#0f172a",
963
157
  bgColor: r = "#ffffff",
964
- level: a = "M",
965
- tabIndex: o = 0
966
- }, i) => /* @__PURE__ */ w("a", {
967
- ref: i,
158
+ level: t = "M",
159
+ tabIndex: l = 0
160
+ }, c) => /* @__PURE__ */ o("a", {
161
+ ref: c,
968
162
  href: e,
969
163
  target: "_blank",
970
164
  rel: "noopener noreferrer",
@@ -972,44 +166,44 @@ const Ge = /* @__PURE__ */ f("div")({
972
166
  textDecoration: "none",
973
167
  borderRadius: 10
974
168
  },
975
- tabIndex: o,
976
- children: /* @__PURE__ */ w(Qe, {
977
- children: /* @__PURE__ */ w($e, {
169
+ tabIndex: l,
170
+ children: /* @__PURE__ */ o(u, {
171
+ children: /* @__PURE__ */ o(B, {
978
172
  value: e,
979
- size: t,
173
+ size: a,
980
174
  fgColor: n,
981
175
  bgColor: r,
982
- level: a,
983
- viewBox: `0 0 ${t} ${t}`
176
+ level: t,
177
+ viewBox: `0 0 ${a} ${a}`
984
178
  })
985
179
  })
986
180
  }));
987
181
  export {
988
- Xe as BrandBlock,
989
- Je as BrandName,
990
- je as BrandNameContainer,
991
- Ye as BrandText,
992
- ot as CenterIndicator,
993
- tt as CloseButton,
994
- et as CloseIcon,
995
- We as Container,
996
- vt as Description,
997
- lt as EnvelopeIcon,
998
- rt as FocusableVideo,
999
- Ke as Header,
1000
- gt as LearnMore,
1001
- Ze as LogoIcon,
1002
- at as PlayPauseButton,
1003
- mt as QR,
1004
- pt as QRBlock,
1005
- dt as QRDescBlock,
1006
- ct as QRHint,
1007
- it as SendToUserButton,
1008
- ut as SendToUserText,
1009
- qe as Sponsored,
1010
- ht as Title,
1011
- st as VideoBlock,
1012
- ft as VideoStatus,
1013
- nt as VideoWrapper,
1014
- Ge as Wrap
182
+ V as BrandBlock,
183
+ T as BrandName,
184
+ S as BrandNameContainer,
185
+ y as BrandText,
186
+ D as CenterIndicator,
187
+ q as CloseButton,
188
+ _ as CloseIcon,
189
+ g as Container,
190
+ $ as Description,
191
+ z as EnvelopeIcon,
192
+ H as FocusableVideo,
193
+ k as Header,
194
+ J as LearnMore,
195
+ Q as LogoIcon,
196
+ W as PlayPauseButton,
197
+ O as QR,
198
+ E as QRBlock,
199
+ G as QRDescBlock,
200
+ K as QRHint,
201
+ Z as SendToUserButton,
202
+ N as SendToUserText,
203
+ M as Sponsored,
204
+ F as Title,
205
+ P as VideoBlock,
206
+ U as VideoStatus,
207
+ j as VideoWrapper,
208
+ b as Wrap
1015
209
  };