@bikdotai/bik-widgets 1.0.0

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 (206) hide show
  1. package/.eslintrc +22 -0
  2. package/.eslintrc.js +19 -0
  3. package/.github/workflows/main.yml +293 -0
  4. package/.prettierignore +13 -0
  5. package/.prettierrc +10 -0
  6. package/README.md +128 -0
  7. package/cypress/apiHelper/endpoints.ts +21 -0
  8. package/cypress/apiHelper/executor.ts +42 -0
  9. package/cypress/e2e/bottomDrawer.cy.ts +49 -0
  10. package/cypress/e2e/directReward.cy.ts +67 -0
  11. package/cypress/e2e/scratchTheCard.cy.ts +68 -0
  12. package/cypress/e2e/stw.cy.ts +82 -0
  13. package/cypress/e2e/waRedirection.cy.ts +46 -0
  14. package/cypress/fixtures/payloads.ts +330 -0
  15. package/cypress/support/commands.ts +37 -0
  16. package/cypress/support/e2e.ts +20 -0
  17. package/cypress.staging.config.ts +23 -0
  18. package/jsconfig.json +6 -0
  19. package/localtest.sh +10 -0
  20. package/log-server.js +86 -0
  21. package/package.json +79 -0
  22. package/postcss.config.js +8 -0
  23. package/src/Globals.d.ts +2 -0
  24. package/src/assets/lottie/santa.json +11722 -0
  25. package/src/assets/svg/CalendarClockIcon.tsx +30 -0
  26. package/src/assets/svg/CalendarIcon.tsx +24 -0
  27. package/src/assets/svg/CheckIcon.tsx +17 -0
  28. package/src/assets/svg/ChevronIcon.tsx +21 -0
  29. package/src/assets/svg/Close.tsx +39 -0
  30. package/src/assets/svg/Confetti.tsx +140 -0
  31. package/src/assets/svg/Copy.tsx +26 -0
  32. package/src/assets/svg/DropdownCheckIcon.tsx +35 -0
  33. package/src/assets/svg/ErrorIcon.tsx +27 -0
  34. package/src/assets/svg/RadioIcon.tsx +25 -0
  35. package/src/assets/svg/UncheckedCheckboxIcon.tsx +28 -0
  36. package/src/assets/svg/UncheckedRadioIcon.tsx +26 -0
  37. package/src/assets/svg/info.tsx +30 -0
  38. package/src/assets/svg/qrcode.svg +14 -0
  39. package/src/bootstrap.tsx +8 -0
  40. package/src/components/CtaCard/index.tsx +37 -0
  41. package/src/components/CtaCard/preview.module.css +32 -0
  42. package/src/components/CtaCard/style.module.css +32 -0
  43. package/src/components/EmailInput/emailInputBox.tsx +95 -0
  44. package/src/components/Fab/index.tsx +224 -0
  45. package/src/components/Fab/preview.module.css +28 -0
  46. package/src/components/Fab/style.module.css +37 -0
  47. package/src/components/Icons/Call.tsx +26 -0
  48. package/src/components/Icons/Cross.tsx +24 -0
  49. package/src/components/Icons/Gmail.tsx +61 -0
  50. package/src/components/Icons/Instagram.tsx +60 -0
  51. package/src/components/Icons/LiveChat.tsx +43 -0
  52. package/src/components/Icons/Messenger.tsx +57 -0
  53. package/src/components/Icons/Send.tsx +22 -0
  54. package/src/components/Icons/Whatsapp.tsx +24 -0
  55. package/src/components/Shimmer/index.tsx +12 -0
  56. package/src/components/Shimmer/style.module.css +37 -0
  57. package/src/components/SmsInput/smsInputBox.tsx +135 -0
  58. package/src/components/UserDetailsV2/userDetailsV2.desktop.module.css +52 -0
  59. package/src/components/UserDetailsV2/userDetailsV2.mobile.module.css +52 -0
  60. package/src/components/UserDetailsV2/userDetailsV2.module.css +81 -0
  61. package/src/components/UserDetailsV2/userDetailsV2.tsx +527 -0
  62. package/src/components/WhatsappInput/Spinner.tsx +26 -0
  63. package/src/components/WhatsappInput/whatsappInput.module.css +106 -0
  64. package/src/components/WhatsappInput/whatsappInputBox.tsx +155 -0
  65. package/src/components/WhatsappInput/whatsappInputPreviewDesktop.module.css +71 -0
  66. package/src/components/WhatsappInput/whatsappInputPreviewMobile.module.css +65 -0
  67. package/src/components/checkbox/checkbox.module.css +19 -0
  68. package/src/components/checkbox/checkbox.tsx +88 -0
  69. package/src/components/countryCodePicker/countriesDropdown.module.css +77 -0
  70. package/src/components/countryCodePicker/countriesDropdown.tsx +81 -0
  71. package/src/components/couponDetails/coupon.module.css +208 -0
  72. package/src/components/couponDetails/coupon.tsx +210 -0
  73. package/src/components/couponDetails/couponPreviewDesktop.module.css +158 -0
  74. package/src/components/couponDetails/couponPreviewMobile.module.css +164 -0
  75. package/src/components/index.ts +3 -0
  76. package/src/components/inputComponents/Checkbox.module.css +197 -0
  77. package/src/components/inputComponents/Checkbox.tsx +85 -0
  78. package/src/components/inputComponents/DatePicker.module.css +565 -0
  79. package/src/components/inputComponents/DatePicker.tsx +278 -0
  80. package/src/components/inputComponents/Dropdown.module.css +796 -0
  81. package/src/components/inputComponents/Dropdown.tsx +630 -0
  82. package/src/components/inputComponents/InputBox.module.css +401 -0
  83. package/src/components/inputComponents/InputBox.tsx +209 -0
  84. package/src/components/selectedCountry/selectedCountry.module.css +76 -0
  85. package/src/components/selectedCountry/selectedCountry.tsx +76 -0
  86. package/src/components/selectedCountry/selectedCountryPreviewDesktop.module.css +56 -0
  87. package/src/components/selectedCountry/selectedCountryPreviewMobile.module.css +57 -0
  88. package/src/components/userDetailsForm/RenderCustomFields.tsx +333 -0
  89. package/src/components/userDetailsForm/userDetailsForm.tsx +675 -0
  90. package/src/hooks/index.ts +4 -0
  91. package/src/hooks/useExitIntent.ts +452 -0
  92. package/src/hooks/useIsMobile.tsx +21 -0
  93. package/src/hooks/useMessageEvent.ts +8 -0
  94. package/src/hooks/useTriggeredIntentDetails.ts +43 -0
  95. package/src/hooks/useUrlListerner.ts +30 -0
  96. package/src/hooks/useWebSocketLogger.ts +59 -0
  97. package/src/hooks/useWindowEvent.ts +8 -0
  98. package/src/icons/copyIcon.tsx +26 -0
  99. package/src/icons/crossIconDesktop.tsx +20 -0
  100. package/src/icons/crossIconMobile.tsx +20 -0
  101. package/src/index.html +30 -0
  102. package/src/index.ts +32 -0
  103. package/src/index.tsx +1 -0
  104. package/src/repo/widgetRepo.ts +21 -0
  105. package/src/types/customFields.ts +73 -0
  106. package/src/utilities/cookie.ts +70 -0
  107. package/src/utilities/customFieldTypeMapping.ts +67 -0
  108. package/src/utilities/customFieldValidation.ts +201 -0
  109. package/src/utilities/encryption.ts +21 -0
  110. package/src/utilities/exitIntentUtils.ts +31 -0
  111. package/src/utilities/global.css +11 -0
  112. package/src/utilities/languageUtilities.ts +235 -0
  113. package/src/utilities/localRunner.js +26 -0
  114. package/src/utilities/localRunner.ts +27 -0
  115. package/src/utilities/localStorage.ts +40 -0
  116. package/src/utilities/script.tsx +15 -0
  117. package/src/utilities/stringUtils.ts +5 -0
  118. package/src/utilities/styleUtils.ts +134 -0
  119. package/src/utilities/variables.ts +11 -0
  120. package/src/utilities/widgetUtils.js +342 -0
  121. package/src/utilities/widgetUtils.ts +313 -0
  122. package/src/widgets/BottomDrawer/config.ts +41 -0
  123. package/src/widgets/BottomDrawer/index.tsx +116 -0
  124. package/src/widgets/BottomDrawer/modal.tsx +286 -0
  125. package/src/widgets/BottomDrawer/preview.module.css +122 -0
  126. package/src/widgets/BottomDrawer/previewMobile.module.css +124 -0
  127. package/src/widgets/BottomDrawer/style.module.css +279 -0
  128. package/src/widgets/CaptivateBanner/captivateBanner.tsx +200 -0
  129. package/src/widgets/CaptivateBanner/config.ts +72 -0
  130. package/src/widgets/CaptivateBanner/index.tsx +204 -0
  131. package/src/widgets/CaptivateBanner/previewDesktop.module.css +51 -0
  132. package/src/widgets/CaptivateBanner/previewMobile.module.css +51 -0
  133. package/src/widgets/CaptivateBanner/style.module.css +77 -0
  134. package/src/widgets/CaptivateBanner/utils.ts +104 -0
  135. package/src/widgets/CentrallyAlignedPopup/config.ts +42 -0
  136. package/src/widgets/CentrallyAlignedPopup/index.tsx +109 -0
  137. package/src/widgets/CentrallyAlignedPopup/modal.tsx +269 -0
  138. package/src/widgets/CentrallyAlignedPopup/preview.module.css +153 -0
  139. package/src/widgets/CentrallyAlignedPopup/previewMobile.module.css +153 -0
  140. package/src/widgets/CentrallyAlignedPopup/style.module.css +283 -0
  141. package/src/widgets/DirectReward/components/couponDetails.tsx +265 -0
  142. package/src/widgets/DirectReward/components/userDetails.tsx +117 -0
  143. package/src/widgets/DirectReward/config.ts +186 -0
  144. package/src/widgets/DirectReward/directReward.tsx +350 -0
  145. package/src/widgets/DirectReward/index.tsx +579 -0
  146. package/src/widgets/DirectReward/previewStyles/thankYouPreviewDesktop.module.css +276 -0
  147. package/src/widgets/DirectReward/previewStyles/thankYouPreviewMobile.module.css +303 -0
  148. package/src/widgets/DirectReward/previewStyles/userDetailsPreviewDesktop.module.css +511 -0
  149. package/src/widgets/DirectReward/previewStyles/userDetailsPreviewMobile.module.css +462 -0
  150. package/src/widgets/DirectReward/style.module.css +836 -0
  151. package/src/widgets/ExitIntentHook.tsx +28 -0
  152. package/src/widgets/STW/api.ts +70 -0
  153. package/src/widgets/STW/components/svgFactory.tsx +44 -0
  154. package/src/widgets/STW/config.ts +193 -0
  155. package/src/widgets/STW/context.ts +7 -0
  156. package/src/widgets/STW/couponDetails.tsx +121 -0
  157. package/src/widgets/STW/index.tsx +733 -0
  158. package/src/widgets/STW/previewStyles/thankyouPreviewDesktop.module.css +215 -0
  159. package/src/widgets/STW/previewStyles/thankyouPreviewMobile.module.css +205 -0
  160. package/src/widgets/STW/previewStyles/userInputsPreviewDesktop.module.css +732 -0
  161. package/src/widgets/STW/previewStyles/userInputsPreviewMobile.module.css +661 -0
  162. package/src/widgets/STW/previewStyles/wheelPreviewDesktop.module.css +498 -0
  163. package/src/widgets/STW/previewStyles/wheelPreviewMobile.module.css +497 -0
  164. package/src/widgets/STW/stw1.tsx +119 -0
  165. package/src/widgets/STW/stw2Components/wheelDesign.tsx +183 -0
  166. package/src/widgets/STW/stw2Pages/couponDetails.tsx +72 -0
  167. package/src/widgets/STW/stw2Pages/stw2.tsx +212 -0
  168. package/src/widgets/STW/stw2Pages/style.module.css +1226 -0
  169. package/src/widgets/STW/stw2Pages/userDetails.tsx +86 -0
  170. package/src/widgets/STW/stw2Pages/wheel.tsx +117 -0
  171. package/src/widgets/STW/stw2PreviewStyles/thankyouPreviewDesktop.module.css +835 -0
  172. package/src/widgets/STW/stw2PreviewStyles/thankyouPreviewMobile.module.css +787 -0
  173. package/src/widgets/STW/stw2PreviewStyles/userInputsPreviewDesktop.module.css +867 -0
  174. package/src/widgets/STW/stw2PreviewStyles/userInputsPreviewMobile.module.css +798 -0
  175. package/src/widgets/STW/stw2PreviewStyles/wheelPreviewDesktop.module.css +572 -0
  176. package/src/widgets/STW/stw2PreviewStyles/wheelPreviewMobile.module.css +559 -0
  177. package/src/widgets/STW/style.module.css +901 -0
  178. package/src/widgets/STW/userDetails.tsx +150 -0
  179. package/src/widgets/STW/utility.ts +664 -0
  180. package/src/widgets/STW/wheel.tsx +304 -0
  181. package/src/widgets/ScratchCard/ScratchOff/scratchOff.tsx +157 -0
  182. package/src/widgets/ScratchCard/config.ts +152 -0
  183. package/src/widgets/ScratchCard/globalStyle.module.css +931 -0
  184. package/src/widgets/ScratchCard/index.tsx +546 -0
  185. package/src/widgets/ScratchCard/modal.tsx +225 -0
  186. package/src/widgets/ScratchCard/preview.module.css +250 -0
  187. package/src/widgets/ScratchCard/previewMobile.module.css +247 -0
  188. package/src/widgets/ScratchCard/previewStyles/userDetailsPreviewDesktop.module.css +537 -0
  189. package/src/widgets/ScratchCard/previewStyles/userDetailsPreviewMobile.module.css +463 -0
  190. package/src/widgets/ScratchCard/style.module.css +220 -0
  191. package/src/widgets/ShopifyForm/config.ts +168 -0
  192. package/src/widgets/ShopifyForm/index.tsx +214 -0
  193. package/src/widgets/ShopifyForm/previewDesktop.module.css +117 -0
  194. package/src/widgets/ShopifyForm/previewMobile.module.css +131 -0
  195. package/src/widgets/ShopifyForm/shopifyForm.tsx +445 -0
  196. package/src/widgets/ShopifyForm/style.module.css +161 -0
  197. package/src/widgets/SingleButtonRedirection/config.ts +47 -0
  198. package/src/widgets/SingleButtonRedirection/index.tsx +121 -0
  199. package/src/widgets/WebStories/config.ts +105 -0
  200. package/src/widgets/WebStories/index.css +3 -0
  201. package/src/widgets/WebStories/index.tsx +282 -0
  202. package/src/widgets/WebStories/style.module.css +26 -0
  203. package/src/widgets/index.tsx +3 -0
  204. package/src/widgets/utility.ts +31 -0
  205. package/tsconfig.json +12 -0
  206. package/webpack.config.js +239 -0
@@ -0,0 +1,867 @@
1
+ body.bik-overflow-hidden {
2
+ overflow: hidden;
3
+ }
4
+
5
+ .userDetailsTitleWrapper {
6
+ display: flex;
7
+ justify-content: center;
8
+ text-align: center;
9
+ font-family: inherit;
10
+ }
11
+
12
+ .userDetailsTitleWrapper * {
13
+ font-family: inherit;
14
+ margin-bottom: 0px;
15
+ }
16
+
17
+ .spinOverlay {
18
+ width: 100%;
19
+ height: 100%;
20
+ position: fixed;
21
+ top: 0;
22
+ left: 0;
23
+ background-color: rgba(0, 0, 0, 0.5);
24
+ display: none;
25
+ z-index: 9999999999999;
26
+ }
27
+
28
+ .closeBtnWrapper {
29
+ width: 110%;
30
+ display: flex;
31
+ justify-content: flex-end;
32
+ align-items: center;
33
+ }
34
+
35
+ .closeBtn {
36
+ width: 14px;
37
+ height: 14px;
38
+ border-radius: 50%;
39
+ background-color: #fff;
40
+ margin-bottom: 28px;
41
+ display: flex;
42
+ justify-content: center;
43
+ align-items: center;
44
+ cursor: pointer;
45
+ }
46
+
47
+ #phoneField:focus-visible {
48
+ box-shadow: unset;
49
+ }
50
+
51
+ .closeBtn svg {
52
+ width: 24px;
53
+ height: 24px;
54
+ }
55
+
56
+ .mainWrapper {
57
+ position: absolute;
58
+ transform: translate(-50%, -50%);
59
+ top: 50%;
60
+ left: 50%;
61
+ width: 70%;
62
+ min-height: calc(54% + 32px + 28px);
63
+ z-index: 9999;
64
+ }
65
+
66
+ .wrapper {
67
+ width: 110%;
68
+ height: calc(100% - 32px - 28px);
69
+ background-color: #ffffff;
70
+ display: flex;
71
+ overflow: hidden;
72
+ border-radius: 8px;
73
+ padding: 20px 0px 0px 0px;
74
+ box-shadow: 0 4em 5em rgba(27, 8, 53, 0.2);
75
+ flex-direction: row;
76
+ align-items: center;
77
+ }
78
+
79
+ #header1 {
80
+ display: none;
81
+ }
82
+
83
+ #successContainer p:nth-child(1) {
84
+ font-weight: 400;
85
+ font-size: 7px;
86
+ line-height: 10px;
87
+ margin-bottom: 8px;
88
+ }
89
+
90
+ #successContainer p:nth-child(2) {
91
+ font-weight: 600;
92
+ font-size: 8px;
93
+ line-height: 8px;
94
+ color: #212121;
95
+ margin-bottom: 10px;
96
+ }
97
+
98
+ #header {
99
+ font-style: normal;
100
+ font-weight: 600;
101
+ font-size: 9px;
102
+ line-height: 10px;
103
+ text-align: center;
104
+ font-feature-settings:
105
+ 'tnum' on,
106
+ 'lnum' on,
107
+ 'case' on,
108
+ 'ss04' on;
109
+ color: #212121;
110
+ margin: 0;
111
+ font-family: inherit;
112
+ }
113
+
114
+ #subheader {
115
+ font-feature-settings:
116
+ 'tnum' on,
117
+ 'lnum' on,
118
+ 'case' on,
119
+ 'ss04' on;
120
+ color: #616161;
121
+ text-align: center;
122
+ margin: 4px;
123
+ font-size: 8px;
124
+ line-height: 7px;
125
+ margin-bottom: 2px;
126
+ font-family: inherit;
127
+ }
128
+
129
+ .poweredBy {
130
+ font-weight: 400;
131
+ font-size: 8px;
132
+ line-height: 16px;
133
+ color: #9e9e9e;
134
+ pointer-events: none;
135
+ display: flex;
136
+ align-items: center;
137
+ justify-content: flex-end;
138
+ width: 100%;
139
+ padding-right: 20px;
140
+ }
141
+
142
+ .poweredBy a {
143
+ text-decoration: none;
144
+ color: #9e9e9e;
145
+ margin-right: 4px;
146
+ }
147
+
148
+ .poweredBy svg {
149
+ width: 13px;
150
+ height: 13px;
151
+ }
152
+
153
+ .spinTopAligned {
154
+ position: absolute;
155
+ top: -18%;
156
+ height: 400px;
157
+ width: 400px;
158
+ }
159
+
160
+ .container-padding {
161
+ /* padding-top: 316px; */
162
+ }
163
+
164
+ #userDetails {
165
+ width: 100%;
166
+ padding-left: 40px;
167
+ padding-right: 40px;
168
+ }
169
+
170
+ .bikInputWrapper {
171
+ width: 100%;
172
+ display: flex;
173
+ justify-content: column;
174
+ margin-top: 4px;
175
+ font-family: inherit;
176
+ }
177
+
178
+ .bikInputWrapper input {
179
+ border: none;
180
+ outline: none;
181
+ padding: 4px 6px;
182
+ background: #ffffff;
183
+ border: 1px solid #e0e0e0;
184
+ border-radius: 4px;
185
+ font-family: inherit;
186
+ height: 25px;
187
+ box-shadow: none;
188
+ font-size: 10px;
189
+ margin-left: 0;
190
+ pointer-events: none;
191
+ width: 100%;
192
+ }
193
+
194
+ #inputWrapper {
195
+ padding: 8px 8px 8px 16px;
196
+ gap: 16px;
197
+ width: 100%;
198
+ height: 56px;
199
+ margin-top: 24px;
200
+ background: #ffffff;
201
+ border: 1px solid #e0e0e0;
202
+ border-radius: 4px;
203
+ display: flex;
204
+ align-items: center;
205
+ }
206
+
207
+ #inputWrapper input {
208
+ border: none;
209
+ outline: none;
210
+ width: 100%;
211
+ }
212
+
213
+ #errorWrapper {
214
+ margin: 0;
215
+ color: #b92321;
216
+ font-weight: 400;
217
+ font-size: 12px;
218
+ line-height: 16px;
219
+ margin-top: 8px;
220
+ }
221
+
222
+ #bikayiBtn {
223
+ position: relative;
224
+ border: none;
225
+ padding: 5px 0;
226
+ background: #731dcf;
227
+ border-radius: 8px;
228
+ outline: none;
229
+ width: 100%;
230
+ color: #fff;
231
+ font-weight: 600;
232
+ font-size: 8px;
233
+ line-height: 10px;
234
+ margin-top: 10px;
235
+ cursor: pointer;
236
+ pointer-events: none;
237
+ }
238
+
239
+ #footerLastPage {
240
+ font-family: inherit;
241
+ }
242
+
243
+ #discountCodeDetails {
244
+ display: flex;
245
+ flex-direction: column;
246
+ align-items: center;
247
+ padding: 8px;
248
+ padding-left: 10px;
249
+ width: 100%;
250
+ background: #e6f4e7;
251
+ border: 1px dashed #1a872c;
252
+ border-radius: 4px;
253
+ font-family: inherit;
254
+ }
255
+
256
+ #discountCouponName {
257
+ text-align: center;
258
+ line-height: 4px;
259
+ color: #212121;
260
+ font-weight: 600 !important;
261
+ font-size: 7px !important;
262
+ line-height: 8px !important;
263
+ font-family: inherit;
264
+ margin: 0 !important;
265
+ }
266
+
267
+ #discountCouponDetail {
268
+ margin-top: 4px;
269
+ text-align: center;
270
+ color: #616161;
271
+ font-weight: 400 !important;
272
+ font-size: 6px !important;
273
+ line-height: 12px !important;
274
+ width: 87px;
275
+ margin-bottom: 0 !important;
276
+ font-family: inherit;
277
+ }
278
+
279
+ .font14 {
280
+ font-size: 14px;
281
+ line-height: 20px;
282
+ }
283
+
284
+ .font16 {
285
+ font-size: 16px;
286
+ line-height: 24px;
287
+ }
288
+
289
+ .fontWeight400 {
290
+ font-weight: 400;
291
+ }
292
+
293
+ .fontWeight600 {
294
+ font-weight: 600;
295
+ }
296
+
297
+ #wheel {
298
+ height: 100%;
299
+ width: 100%;
300
+ top: 0;
301
+ padding: 0;
302
+ border-radius: 50%;
303
+ box-shadow: 0px 5.75051px 51.7546px rgb(0 0 0 / 24%);
304
+ border: 21px solid #fff;
305
+ }
306
+
307
+ .top58 {
308
+ top: 58%;
309
+ }
310
+
311
+ .top55 {
312
+ top: -55px;
313
+ }
314
+
315
+ @keyframes rotate {
316
+ 100% {
317
+ transform: rotate(360deg);
318
+ }
319
+ }
320
+
321
+ #spinBtn {
322
+ position: absolute;
323
+ transform: translate(-50%, -50%);
324
+ top: 50%;
325
+ left: 50%;
326
+ border: 10px solid #fff !important;
327
+ width: 23%;
328
+ height: 23%;
329
+ border-radius: 50%;
330
+ cursor: pointer;
331
+ border: 0;
332
+ background: #fbbb18;
333
+ color: #664006;
334
+ text-transform: uppercase;
335
+ font-family: 'Poppins';
336
+ font-style: normal;
337
+ font-weight: 700;
338
+ font-size: 24px;
339
+ line-height: 35px;
340
+ text-align: center;
341
+ }
342
+
343
+ .widgetCTAHide {
344
+ display: none !important;
345
+ }
346
+
347
+ .widgetCTAShow {
348
+ display: flex !important;
349
+ }
350
+
351
+ #spinWidgetCTA {
352
+ width: 70px;
353
+ height: 70px;
354
+ border-radius: 50%;
355
+ background: #fce49b;
356
+ display: flex;
357
+ justify-content: center;
358
+ align-items: center;
359
+ position: fixed;
360
+ bottom: 24px;
361
+ left: 24px;
362
+ z-index: 9999;
363
+ cursor: pointer;
364
+ box-shadow:
365
+ rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
366
+ rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
367
+ opacity: 1;
368
+ animation: pulse 0.7s ease-in forwards;
369
+ }
370
+
371
+ #spinWidgetCTA svg {
372
+ fill: #fff;
373
+ }
374
+
375
+ #bikFooter2 {
376
+ display: block;
377
+ padding-bottom: 16px;
378
+ width: 130%;
379
+ position: relative;
380
+ left: -61px;
381
+ height: 100%;
382
+ position: relative;
383
+ }
384
+
385
+ #bikFooter2 > h1 {
386
+ font-family: inherit;
387
+ font-style: normal;
388
+ font-weight: 600;
389
+ font-size: 10px;
390
+ line-height: 3px;
391
+ font-feature-settings:
392
+ 'tnum' on,
393
+ 'lnum' on,
394
+ 'case' on,
395
+ 'ss04' on;
396
+ color: #212121;
397
+ }
398
+
399
+ #bikFooter2 > h2 {
400
+ font-family: inherit;
401
+ font-style: normal;
402
+ font-weight: 400;
403
+ font-size: 7px;
404
+ font-feature-settings:
405
+ 'tnum' on,
406
+ 'lnum' on,
407
+ 'case' on,
408
+ 'ss04' on;
409
+ color: #212121;
410
+ margin-top: 8px;
411
+ }
412
+
413
+ .bikStwH2 {
414
+ font-family: inherit;
415
+ font-style: normal;
416
+ font-weight: 400;
417
+ font-size: 7px;
418
+ line-height: 7px;
419
+ font-feature-settings:
420
+ 'tnum' on,
421
+ 'lnum' on,
422
+ 'case' on,
423
+ 'ss04' on;
424
+ color: #212121;
425
+ margin-bottom: 0px;
426
+ }
427
+
428
+ .containerSpinner {
429
+ position: relative;
430
+ height: 200px;
431
+ width: 200px;
432
+ border-radius: 50%;
433
+ /* margin: 50px auto; */
434
+ display: flex;
435
+ align-items: center;
436
+ justify-content: center;
437
+ overflow: hidden;
438
+ pointer-events: none;
439
+ box-shadow: 0px 5.75051px 51.7546px rgba(0, 0, 0, 0.24);
440
+ }
441
+
442
+ .containerInner {
443
+ position: relative;
444
+ height: 100%;
445
+ width: 100%;
446
+ display: flex;
447
+ align-items: center;
448
+ justify-content: center;
449
+ }
450
+
451
+ .containerOverlay {
452
+ height: 100%;
453
+ width: 100%;
454
+ border-radius: 50%;
455
+ border: 10px solid #474747;
456
+ filter: drop-shadow(-11px 13px 2px rgba(0, 0, 0, 0.12));
457
+ box-shadow:
458
+ inset 5px 5px 25px 0px #00000010,
459
+ inset -5px -5px 25px 0 #00000010;
460
+ z-index: 13;
461
+ position: relative;
462
+ display: block !important;
463
+ }
464
+
465
+ .segment {
466
+ position: absolute;
467
+ clip-path: polygon(100% 0, 0 0, 50% 100%);
468
+ height: 92px;
469
+ left: calc(50% - 56px);
470
+ width: 111px;
471
+ bottom: 50%;
472
+ transform-origin: bottom center;
473
+ display: flex;
474
+ align-items: center;
475
+ justify-content: center;
476
+ pointer-events: none;
477
+ padding: 0px 24px;
478
+ padding-bottom: 10px;
479
+ }
480
+
481
+ .bikCardContent {
482
+ height: 100%;
483
+ width: 100%;
484
+ position: relative;
485
+ flex-direction: column;
486
+ right: 50px;
487
+ align-content: space-between;
488
+ }
489
+
490
+ .couponText {
491
+ text-align: center;
492
+ }
493
+
494
+ .segment::after {
495
+ content: '';
496
+ background-color: white;
497
+ height: 2px;
498
+ width: 100%;
499
+ transform: rotate(-60deg) translateY(45px) translateY(19px);
500
+ box-shadow: 0px 0px 11px 2px #00000082;
501
+ position: absolute;
502
+ }
503
+
504
+ #spinLogoImage {
505
+ height: 10px;
506
+ width: 10px;
507
+ }
508
+
509
+ .spinOuterContainer {
510
+ position: absolute;
511
+ display: flex;
512
+ align-items: center;
513
+ justify-content: center;
514
+ height: 150px;
515
+ border-radius: 75px;
516
+ width: 150px;
517
+ background: rgba(0, 0, 0, 0.05);
518
+ }
519
+
520
+ #outerContainer {
521
+ position: relative;
522
+ left: -98px !important;
523
+ }
524
+
525
+ #bikCta {
526
+ font-family: 'Inter';
527
+ font-weight: 400;
528
+ font-size: 6px;
529
+ line-height: 12px;
530
+ }
531
+
532
+ #bikCtaContainer {
533
+ width: 100%;
534
+ text-align: center;
535
+ position: absolute;
536
+ bottom: -30px;
537
+ }
538
+
539
+ .containerSpin {
540
+ position: absolute;
541
+ display: flex;
542
+ align-items: center;
543
+ justify-content: center;
544
+ }
545
+
546
+ .bikSpinArrow {
547
+ position: absolute;
548
+ left: 53px;
549
+ z-index: 14;
550
+ transform: rotate(90deg);
551
+ border-left: 10px solid transparent;
552
+ border-right: 10px solid transparent;
553
+ border-bottom: 0;
554
+ border-top: 20px solid #ff6e45;
555
+ filter: drop-shadow(2px -5px 1px rgba(0, 0, 0, 0.12));
556
+ }
557
+
558
+ .spinOverlay {
559
+ width: 218.28px;
560
+ height: 218.28px;
561
+ border-radius: 100px;
562
+ background: rgba(0, 0, 0, 0.05);
563
+ }
564
+
565
+ .spinContent {
566
+ height: 42px;
567
+ width: 42px;
568
+ position: absolute;
569
+ z-index: 1;
570
+ border: 10px solid white;
571
+ border-radius: 50%;
572
+ background-color: #474747;
573
+ display: flex;
574
+ align-items: center;
575
+ justify-content: center;
576
+ box-shadow: 0px 0px 25px 1px #00000052;
577
+ cursor: pointer;
578
+ }
579
+
580
+ .spinLogo {
581
+ justify-content: center;
582
+ align-items: center;
583
+ }
584
+
585
+ #success {
586
+ width: 100%;
587
+ align-items: center;
588
+ justify-content: center;
589
+ }
590
+
591
+ .segment.one {
592
+ background-color: #a1deed;
593
+ }
594
+
595
+ .segment.two {
596
+ background-color: #d97559;
597
+ transform: rotate(60deg);
598
+ }
599
+
600
+ .segment.three {
601
+ background-color: #fad56e;
602
+ transform: rotate(120deg);
603
+ }
604
+
605
+ .segment.four {
606
+ background-color: #a1deed;
607
+ transform: rotate(180deg);
608
+ }
609
+
610
+ .segment.five {
611
+ background-color: #d97559;
612
+ transform: rotate(240deg);
613
+ }
614
+
615
+ .segment.six {
616
+ background-color: #fad56e;
617
+ transform: rotate(300deg);
618
+ }
619
+
620
+ .mainContainer {
621
+ display: flex;
622
+ justify-content: center;
623
+ align-items: center;
624
+ margin-bottom: 20px;
625
+ }
626
+
627
+ .lightContainer {
628
+ width: 100px;
629
+ height: 100px;
630
+ top: -6px;
631
+ position: absolute;
632
+ left: 90px;
633
+ }
634
+
635
+ .lightContainer span {
636
+ width: 4px;
637
+ height: 4px;
638
+ background: white;
639
+ border-radius: 50%;
640
+ position: absolute;
641
+ filter: blur(1.3432299999999984px);
642
+ transform: rotate(calc(var(--n) * 24deg));
643
+ transform-origin: 0 96px;
644
+ }
645
+
646
+ .couponText {
647
+ font-weight: 800;
648
+ font-size: 6px;
649
+ line-height: 7px;
650
+ }
651
+
652
+ .cliamBtn--loading::after {
653
+ content: '';
654
+ position: absolute;
655
+ width: 28px;
656
+ height: 28px;
657
+ top: 0;
658
+ left: 0;
659
+ right: 0;
660
+ bottom: 0;
661
+ margin: auto;
662
+ border: 4px solid transparent;
663
+ border-top-color: #ffffff;
664
+ border-radius: 50%;
665
+ animation: button-loading-spinner 1s ease infinite;
666
+ }
667
+
668
+ /* // */
669
+
670
+ #bikFooter2 {
671
+ display: block;
672
+ padding-bottom: 11px;
673
+ }
674
+
675
+ #bikFooter2 > h1 {
676
+ font-family: inherit;
677
+ font-style: normal;
678
+ font-weight: 600;
679
+ font-size: 10px;
680
+ line-height: 3px;
681
+ font-feature-settings:
682
+ 'tnum' on,
683
+ 'lnum' on,
684
+ 'case' on,
685
+ 'ss04' on;
686
+ color: #212121;
687
+ }
688
+
689
+ #bikFooter2 > h2 {
690
+ font-family: inherit;
691
+ font-style: normal;
692
+ font-weight: 400;
693
+ font-size: 7px;
694
+ font-feature-settings:
695
+ 'tnum' on,
696
+ 'lnum' on,
697
+ 'case' on,
698
+ 'ss04' on;
699
+ color: #212121;
700
+ margin-top: 8px;
701
+ }
702
+
703
+ #bik-stw-mand-email {
704
+ margin: 12px 0;
705
+ }
706
+
707
+ #bik-stw-mand-phone {
708
+ margin: 12px 0;
709
+ }
710
+
711
+ #bik-stw-mand-wa {
712
+ margin: 12px 0;
713
+ }
714
+
715
+ #bik-stw-opt-phone {
716
+ margin: 12px 0;
717
+ }
718
+
719
+ #bik-stw-opt-wa {
720
+ margin: 12px 0;
721
+ }
722
+
723
+ #bik-stw-opt-email {
724
+ margin: 12px 0;
725
+ }
726
+
727
+ .bikEmailInputMain {
728
+ display: block;
729
+ margin: 2px 0;
730
+ font-family: inherit;
731
+ }
732
+
733
+ .bikInputMain {
734
+ display: flex;
735
+ font-family: inherit;
736
+ }
737
+
738
+ .bikStwWaCheckboxContainer {
739
+ display: flex;
740
+ flex-direction: row;
741
+ gap: 8px;
742
+ pointer-events: none;
743
+ margin-top: 4px;
744
+ font-family: inherit;
745
+ align-items: center;
746
+ }
747
+
748
+ .bikStwWaCheckboxContainer h2 {
749
+ margin-bottom: 0;
750
+ margin-top: 0;
751
+ color: #616161;
752
+ }
753
+
754
+ .bikStwPhoneInput {
755
+ margin-left: 6px;
756
+ flex: 2;
757
+ font-family: inherit;
758
+ }
759
+
760
+ .bikStwPhoneInputRow {
761
+ display: flex;
762
+ flex-direction: row;
763
+ width: 100%;
764
+ }
765
+
766
+ .bikPhoneInputRow {
767
+ display: flex;
768
+ flex-direction: row;
769
+ margin-top: 2px;
770
+ gap: 8px;
771
+ width: 100%;
772
+ }
773
+
774
+ .bikCountryFlag {
775
+ width: 10px;
776
+ height: 10px;
777
+ }
778
+
779
+ .bikCountryCodePicker {
780
+ border-radius: 4px;
781
+ margin-top: 8px;
782
+ border-width: 1px;
783
+ border-style: solid;
784
+ background-color: #fff;
785
+ align-items: center;
786
+ border-color: #e0e0e0;
787
+ padding: 6px 4px;
788
+ gap: 4px;
789
+ display: flex;
790
+ flex-direction: row;
791
+ }
792
+
793
+ .dropdownContent {
794
+ display: none;
795
+ position: absolute;
796
+ background-color: #fff;
797
+ border: 1px solid #e0e0e0;
798
+ border-radius: 4px;
799
+ overflow: auto;
800
+ box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
801
+ z-index: 1;
802
+ }
803
+
804
+ .bikCountryCodePicker:hover,
805
+ .bikCountryCodePicker:focus {
806
+ cursor: pointer;
807
+ background-color: #e0e0e0;
808
+ }
809
+
810
+ .bikSpinInputText {
811
+ font-family: inherit;
812
+ font-style: normal;
813
+ font-weight: 400;
814
+ font-size: 9px;
815
+ line-height: 10px;
816
+ font-feature-settings:
817
+ 'tnum' on,
818
+ 'lnum' on,
819
+ 'case' on,
820
+ 'ss04' on;
821
+ text-align: center;
822
+ }
823
+
824
+ .bikPhoneInput-row {
825
+ display: flex;
826
+ flex-direction: row;
827
+ margin-top: 4px;
828
+ gap: 8px;
829
+ width: 100%;
830
+ }
831
+
832
+ .bikWaCheckboxContainer {
833
+ display: flex;
834
+ flex-direction: row;
835
+ margin-top: 2px;
836
+ gap: 8px;
837
+ }
838
+
839
+ #bikCta {
840
+ font-family: 'Inter';
841
+ font-weight: 400;
842
+ font-size: 6px;
843
+ line-height: 12px;
844
+ display: flex;
845
+ justify-content: flex-end;
846
+ align-items: center;
847
+ }
848
+
849
+ #bikCta a {
850
+ text-decoration: none;
851
+ color: grey;
852
+ margin-right: 4px;
853
+ }
854
+
855
+ #bikCta svg {
856
+ width: 13px;
857
+ height: 13px;
858
+ }
859
+
860
+ #bikCtaContainer {
861
+ position: absolute;
862
+ bottom: 25px;
863
+ right: -20px;
864
+ width: 100%;
865
+ display: flex;
866
+ justify-content: flex-end;
867
+ }