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