@gofynd/theme-template 3.2.32 → 3.2.33
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/dist/components/bag/bag.js +1 -1
- package/dist/components/blog-page/blog-page.js +1 -1
- package/dist/components/blog-tabs/blog-tabs.js +1 -1
- package/dist/components/core/fy-image/fy-image.js +1 -1
- package/dist/components/form-builder/form-builder.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/order-shipment/order-shipment.js +1 -1
- package/dist/components/payment-options/card-payment.css +3556 -0
- package/dist/components/payment-options/card-payment.js +1 -0
- package/dist/components/payment-options/cardless-emi-pay.js +1 -0
- package/dist/components/payment-options/cod-payment.css +497 -0
- package/dist/components/payment-options/cod-payment.js +1 -0
- package/dist/components/payment-options/net-banking-pay.css +497 -0
- package/dist/components/payment-options/net-banking-pay.js +1 -0
- package/dist/components/payment-options/other-pay.js +1 -0
- package/dist/components/payment-options/pay-later.js +1 -0
- package/dist/components/payment-options/qr-code-pay.js +1 -0
- package/dist/components/payment-options/upi-app-pay.css +497 -0
- package/dist/components/payment-options/upi-app-pay.js +1 -0
- package/dist/components/payment-options/wallet-pay.css +497 -0
- package/dist/components/payment-options/wallet-pay.js +1 -0
- package/dist/components/product-card/product-card.js +1 -1
- package/dist/components/shipment-item/shipment-item.js +1 -1
- package/dist/components/shipments-update-item/shipments-update-item.js +1 -1
- package/dist/index.js +1 -1
- package/dist/page-layouts/cart/Components/chip-item/chip-image.js +1 -1
- package/dist/page-layouts/cart/Components/chip-item/chip-item.js +1 -1
- package/dist/page-layouts/compare/compare.js +1 -1
- package/dist/page-layouts/payment/useCheckoutPayment.js +1 -0
- package/dist/page-layouts/plp/Components/add-to-cart/add-to-cart.js +1 -1
- package/dist/page-layouts/plp/Components/image-gallery/image-gallery.js +1 -1
- package/dist/page-layouts/plp/Components/lightbox-image/lightbox-image.js +1 -1
- package/dist/page-layouts/plp/Components/mobile-slider/mobile-slider.js +1 -1
- package/dist/page-layouts/plp/Components/pic-zoom/pic-zoom.js +1 -1
- package/dist/page-layouts/plp/Components/product-variants/product-variants.js +1 -1
- package/dist/page-layouts/plp/Components/size-guide/size-guide.js +1 -1
- package/dist/page-layouts/single-checkout/payment/card-form.js +1 -1
- package/dist/page-layouts/single-checkout/payment/checkout-payment-content.css +269 -1257
- package/dist/page-layouts/single-checkout/payment/checkout-payment-content.js +1 -1
- package/dist/page-layouts/single-checkout/payment/checkout-payment.css +268 -1256
- package/dist/page-layouts/single-checkout/payment/checkout-payment.js +1 -1
- package/dist/page-layouts/single-checkout/payment/juspay-card-from.js +1 -1
- package/dist/pages/blog/blog.js +1 -1
- package/dist/pages/blog/index.js +1 -1
- package/dist/pages/cart/cart.js +1 -1
- package/dist/pages/cart/index.js +1 -1
- package/dist/pages/checkout/checkout.js +1 -1
- package/dist/pages/checkout/index.js +1 -1
- package/dist/pages/contact-us/contact-us.js +1 -1
- package/dist/pages/contact-us/index.js +1 -1
- package/dist/pages/index.js +1 -1
- package/dist/pages/order/order-tracking-details/order-tracking-details.js +1 -1
- package/dist/pages/order-status/index.js +1 -1
- package/dist/pages/order-status/order-status.js +1 -1
- package/dist/pages/product-listing/index.js +1 -1
- package/dist/pages/product-listing/product-listing.js +1 -1
- package/dist/pages/wishlist/index.js +1 -1
- package/dist/pages/wishlist/wishlist.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,497 @@
|
|
|
1
|
+
/**color by character**/
|
|
2
|
+
/** Font family **/
|
|
3
|
+
/** Font weight **/
|
|
4
|
+
.modal__display-block___hgYd9 {
|
|
5
|
+
display: block;
|
|
6
|
+
}
|
|
7
|
+
.modal__inline-block___p6rme,
|
|
8
|
+
.modal__inlineBlock___pEzt0 {
|
|
9
|
+
display: inline-block;
|
|
10
|
+
}
|
|
11
|
+
.modal__flex-row___lpE6D {
|
|
12
|
+
display: flex;
|
|
13
|
+
}
|
|
14
|
+
.modal__flex-column___ExDN9,
|
|
15
|
+
.modal__flexColumn___xxTeX {
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
}
|
|
19
|
+
.modal__flex-align-center___oGONG,
|
|
20
|
+
.modal__flexAlignCenter___GYZdu {
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
}
|
|
24
|
+
.modal__flex-justify-center___y5ezr,
|
|
25
|
+
.modal__flexJustifyCenter___AzJKl {
|
|
26
|
+
display: flex;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
}
|
|
29
|
+
.modal__flex-center___jm_N0,
|
|
30
|
+
.modal__flexCenter___RlaVj {
|
|
31
|
+
display: flex;
|
|
32
|
+
justify-content: center;
|
|
33
|
+
align-items: center;
|
|
34
|
+
}
|
|
35
|
+
.modal__justify-start___WJBo1,
|
|
36
|
+
.modal__justifyStart___v728x {
|
|
37
|
+
justify-content: flex-start;
|
|
38
|
+
}
|
|
39
|
+
.modal__justify-end___TGeOT,
|
|
40
|
+
.modal__justifyEnd___BfpWz {
|
|
41
|
+
justify-content: flex-end;
|
|
42
|
+
}
|
|
43
|
+
.modal__justify-between___Y6DMP,
|
|
44
|
+
.modal__justifyBetween___eLS0j {
|
|
45
|
+
justify-content: space-between;
|
|
46
|
+
}
|
|
47
|
+
.modal__justify-around___Umrnm,
|
|
48
|
+
.modal__justifyAround___Y_EP0 {
|
|
49
|
+
justify-content: space-around;
|
|
50
|
+
}
|
|
51
|
+
.modal__justify-evenly___H4zHB,
|
|
52
|
+
.modal__justifyEvenly___ToJy3 {
|
|
53
|
+
justify-content: space-evenly;
|
|
54
|
+
}
|
|
55
|
+
h1,
|
|
56
|
+
.modal__h1___tY1V2 {
|
|
57
|
+
font-weight: 700;
|
|
58
|
+
font-size: 28px;
|
|
59
|
+
line-height: 42px;
|
|
60
|
+
letter-spacing: -0.03em;
|
|
61
|
+
color: var(--textHeading, #26201a);
|
|
62
|
+
}
|
|
63
|
+
@media only screen and (min-width: 769px) {
|
|
64
|
+
h1,
|
|
65
|
+
.modal__h1___tY1V2 {
|
|
66
|
+
font-size: 36px;
|
|
67
|
+
line-height: 48px;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
h2,
|
|
71
|
+
.modal__h2___zqsr0 {
|
|
72
|
+
font-weight: 700;
|
|
73
|
+
font-size: 28px;
|
|
74
|
+
line-height: 36px;
|
|
75
|
+
letter-spacing: -0.03em;
|
|
76
|
+
color: var(--textHeading, #26201a);
|
|
77
|
+
}
|
|
78
|
+
@media only screen and (min-width: 769px) {
|
|
79
|
+
h2,
|
|
80
|
+
.modal__h2___zqsr0 {
|
|
81
|
+
font-size: 32px;
|
|
82
|
+
line-height: 42px;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
h3,
|
|
86
|
+
.modal__h3___uKlio {
|
|
87
|
+
font-weight: 700;
|
|
88
|
+
letter-spacing: -0.02em;
|
|
89
|
+
color: var(--textHeading, #26201a);
|
|
90
|
+
font-size: 24px;
|
|
91
|
+
line-height: 32px;
|
|
92
|
+
}
|
|
93
|
+
@media only screen and (min-width: 769px) {
|
|
94
|
+
h3,
|
|
95
|
+
.modal__h3___uKlio {
|
|
96
|
+
font-weight: 700;
|
|
97
|
+
letter-spacing: -0.02em;
|
|
98
|
+
color: var(--textHeading, #26201a);
|
|
99
|
+
font-size: 28px;
|
|
100
|
+
line-height: 36px;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
h4,
|
|
104
|
+
.modal__h4___mLdGX {
|
|
105
|
+
font-weight: 600;
|
|
106
|
+
letter-spacing: -0.02em;
|
|
107
|
+
color: var(--textHeading, #26201a);
|
|
108
|
+
font-size: 16px;
|
|
109
|
+
line-height: 1.5;
|
|
110
|
+
}
|
|
111
|
+
@media only screen and (min-width: 769px) {
|
|
112
|
+
h4,
|
|
113
|
+
.modal__h4___mLdGX {
|
|
114
|
+
font-weight: 600;
|
|
115
|
+
letter-spacing: -0.02em;
|
|
116
|
+
color: var(--textHeading, #26201a);
|
|
117
|
+
font-size: 20px;
|
|
118
|
+
line-height: 1.5;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
h5,
|
|
122
|
+
.modal__h5___XqZqX {
|
|
123
|
+
font-weight: 600;
|
|
124
|
+
font-size: 14px;
|
|
125
|
+
line-height: 16px;
|
|
126
|
+
letter-spacing: -0.02em;
|
|
127
|
+
color: var(--textHeading, #26201a);
|
|
128
|
+
}
|
|
129
|
+
@media only screen and (min-width: 769px) {
|
|
130
|
+
h5,
|
|
131
|
+
.modal__h5___XqZqX {
|
|
132
|
+
font-size: 16px;
|
|
133
|
+
line-height: 18px;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
.modal__b1___FJ8O5 {
|
|
137
|
+
font-weight: 400;
|
|
138
|
+
font-size: 14px;
|
|
139
|
+
line-height: 18px;
|
|
140
|
+
letter-spacing: -0.02em;
|
|
141
|
+
color: var(--textBody, #3c3131);
|
|
142
|
+
}
|
|
143
|
+
@media only screen and (min-width: 769px) {
|
|
144
|
+
.modal__b1___FJ8O5 {
|
|
145
|
+
font-size: 16px;
|
|
146
|
+
line-height: 20px;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
.modal__b-small___d5sGC,
|
|
150
|
+
.modal__bSmall___Jx2be,
|
|
151
|
+
.modal__b2___ww0WS {
|
|
152
|
+
font-weight: 400;
|
|
153
|
+
letter-spacing: -0.02em;
|
|
154
|
+
color: var(--textBody, #3c3131);
|
|
155
|
+
font-size: 12px;
|
|
156
|
+
line-height: 16px;
|
|
157
|
+
}
|
|
158
|
+
@media only screen and (min-width: 769px) {
|
|
159
|
+
.modal__b-small___d5sGC,
|
|
160
|
+
.modal__bSmall___Jx2be,
|
|
161
|
+
.modal__b2___ww0WS {
|
|
162
|
+
font-weight: 400;
|
|
163
|
+
letter-spacing: -0.02em;
|
|
164
|
+
color: var(--textBody, #3c3131);
|
|
165
|
+
font-size: 14px;
|
|
166
|
+
line-height: 18px;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
.modal__d1___gmqls {
|
|
170
|
+
font-size: 36px;
|
|
171
|
+
font-weight: 700;
|
|
172
|
+
line-height: 48px;
|
|
173
|
+
letter-spacing: -0.02em;
|
|
174
|
+
}
|
|
175
|
+
@media only screen and (min-width: 769px) {
|
|
176
|
+
.modal__d1___gmqls {
|
|
177
|
+
font-size: 64px;
|
|
178
|
+
line-height: 85px;
|
|
179
|
+
letter-spacing: -0.03em;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
.modal__caption-medium___GbhtF,
|
|
183
|
+
.modal__captionMedium___zCJpb {
|
|
184
|
+
font-size: 12px;
|
|
185
|
+
line-height: 1.5;
|
|
186
|
+
letter-spacing: -0.02em;
|
|
187
|
+
font-weight: 500;
|
|
188
|
+
}
|
|
189
|
+
@media only screen and (max-width: 480px) {
|
|
190
|
+
.modal__caption-medium___GbhtF,
|
|
191
|
+
.modal__captionMedium___zCJpb {
|
|
192
|
+
font-size: 11px;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
.modal__caption-semi-bold___feZV5,
|
|
196
|
+
.modal__captionSemiBold___pxAn7 {
|
|
197
|
+
font-size: 12px;
|
|
198
|
+
line-height: 1.5;
|
|
199
|
+
letter-spacing: -0.02em;
|
|
200
|
+
font-weight: 600;
|
|
201
|
+
}
|
|
202
|
+
@media only screen and (max-width: 480px) {
|
|
203
|
+
.modal__caption-semi-bold___feZV5,
|
|
204
|
+
.modal__captionSemiBold___pxAn7 {
|
|
205
|
+
font-size: 11px;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
.modal__btn-link___rkrNS,
|
|
209
|
+
.modal__btnLink___yqJlb {
|
|
210
|
+
font-weight: 500;
|
|
211
|
+
letter-spacing: -0.02em;
|
|
212
|
+
font-size: 12px;
|
|
213
|
+
line-height: 14px;
|
|
214
|
+
border-radius: var(--buttonRadius, 0px);
|
|
215
|
+
cursor: pointer;
|
|
216
|
+
color: var(--buttonLink, #b1655b);
|
|
217
|
+
text-decoration: underline;
|
|
218
|
+
background: none;
|
|
219
|
+
border: none;
|
|
220
|
+
}
|
|
221
|
+
@media only screen and (min-width: 769px) {
|
|
222
|
+
.modal__btn-link___rkrNS,
|
|
223
|
+
.modal__btnLink___yqJlb {
|
|
224
|
+
font-weight: 500;
|
|
225
|
+
letter-spacing: -0.02em;
|
|
226
|
+
font-size: 14px;
|
|
227
|
+
line-height: 16px;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
.modal__btn-link___rkrNS:hover,
|
|
231
|
+
.modal__btnLink___yqJlb:hover {
|
|
232
|
+
color: var(--buttonLinkL1, #c1847c);
|
|
233
|
+
}
|
|
234
|
+
.modal__btn-link___rkrNS:disabled,
|
|
235
|
+
.modal__btnLink___yqJlb:disabled {
|
|
236
|
+
color: var(--buttonLinkL2, #d0a39d);
|
|
237
|
+
}
|
|
238
|
+
.modal__btn-link___rkrNS:active,
|
|
239
|
+
.modal__btnLink___yqJlb:active {
|
|
240
|
+
opacity: 0.8;
|
|
241
|
+
}
|
|
242
|
+
.modal__user-select-none___N6ZAk,
|
|
243
|
+
.modal__userSelectNone___TRXWQ {
|
|
244
|
+
user-select: none;
|
|
245
|
+
-moz-user-select: none;
|
|
246
|
+
-webkit-user-select: none;
|
|
247
|
+
-ms-user-select: none;
|
|
248
|
+
}
|
|
249
|
+
.modal__margin-0-auto___p_dGq,
|
|
250
|
+
.modal__margin0auto___dB88d {
|
|
251
|
+
margin: 0 auto;
|
|
252
|
+
}
|
|
253
|
+
.modal__base-page-container___eZhia,
|
|
254
|
+
.modal__basePageContainer___QUmCs {
|
|
255
|
+
max-width: 1440px !important;
|
|
256
|
+
}
|
|
257
|
+
.modal__remove-scroll___vOtMk,
|
|
258
|
+
.modal__removeScroll___sjuCx {
|
|
259
|
+
overflow-y: hidden !important;
|
|
260
|
+
}
|
|
261
|
+
.modal__mr-5___DjKqT,
|
|
262
|
+
.modal__mr5___il5jH {
|
|
263
|
+
margin-inline-end: 30px !important;
|
|
264
|
+
}
|
|
265
|
+
.modal__mr-2___SKD1t,
|
|
266
|
+
.modal__mr2___BSxti {
|
|
267
|
+
margin-inline-end: 5px !important;
|
|
268
|
+
}
|
|
269
|
+
.modal__py-5___OpCsp,
|
|
270
|
+
.modal__py5___hfa2b {
|
|
271
|
+
padding-top: 1.875rem !important;
|
|
272
|
+
padding-bottom: 1.875rem !important;
|
|
273
|
+
}
|
|
274
|
+
.modal__view-all-text___liM5N,
|
|
275
|
+
.modal__viewAllText___PNzm8 {
|
|
276
|
+
font-size: 20px;
|
|
277
|
+
font-weight: 400;
|
|
278
|
+
text-transform: lowercase;
|
|
279
|
+
text-decoration: underline;
|
|
280
|
+
}
|
|
281
|
+
.modal__view-all-mobile___QRBrP,
|
|
282
|
+
.modal__viewAllMobile___yTiiQ {
|
|
283
|
+
display: none;
|
|
284
|
+
}
|
|
285
|
+
@media only screen and (max-width: 768px) {
|
|
286
|
+
.modal__view-all-mobile___QRBrP,
|
|
287
|
+
.modal__viewAllMobile___yTiiQ {
|
|
288
|
+
display: flex;
|
|
289
|
+
align-items: center;
|
|
290
|
+
justify-content: center;
|
|
291
|
+
margin-top: 40px;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
@media only screen and (max-width: 480px) {
|
|
295
|
+
.modal__view-all-mobile___QRBrP,
|
|
296
|
+
.modal__viewAllMobile___yTiiQ {
|
|
297
|
+
margin-top: 24px;
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
.modal__accent-btn___LaDY8,
|
|
301
|
+
.modal__accentBtn___qmSZa {
|
|
302
|
+
background-color: var(--accentColor);
|
|
303
|
+
color: #fff;
|
|
304
|
+
}
|
|
305
|
+
.modal__no-scroll___tsTBg,
|
|
306
|
+
.modal__noScroll___qaX_j {
|
|
307
|
+
overflow-y: hidden;
|
|
308
|
+
}
|
|
309
|
+
.modal__hide-overflow___KTJV8,
|
|
310
|
+
.modal__hideOverflow___eBPB_ {
|
|
311
|
+
overflow: hidden;
|
|
312
|
+
}
|
|
313
|
+
.modal__markdown-body___J3yk1 h6 {
|
|
314
|
+
margin-top: 0 !important;
|
|
315
|
+
margin-bottom: 0 !important;
|
|
316
|
+
}
|
|
317
|
+
@media only screen and (max-width: 480px) {
|
|
318
|
+
.modal__markdown-body___J3yk1 {
|
|
319
|
+
font-size: 12px !important;
|
|
320
|
+
padding: 5px !important;
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
.modal__view3d-canvas___qA5vJ {
|
|
324
|
+
width: 100%;
|
|
325
|
+
height: 100%;
|
|
326
|
+
}
|
|
327
|
+
@media only screen and (max-width: 480px) {
|
|
328
|
+
.modal__view-mobile-up___gXGqs {
|
|
329
|
+
display: none !important;
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
@media only screen and (min-width: 481px) {
|
|
333
|
+
.modal__view-mobile___nGCzH {
|
|
334
|
+
display: none !important;
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
.modal__modal___xT3RX {
|
|
338
|
+
position: fixed;
|
|
339
|
+
inset: 0;
|
|
340
|
+
z-index: 40;
|
|
341
|
+
overflow-y: auto;
|
|
342
|
+
overflow-x: hidden;
|
|
343
|
+
display: flex;
|
|
344
|
+
justify-content: center;
|
|
345
|
+
align-items: center;
|
|
346
|
+
}
|
|
347
|
+
@media only screen and (max-width: 768px) {
|
|
348
|
+
.modal__modal___xT3RX {
|
|
349
|
+
align-items: flex-end;
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
.modal__modal___xT3RX:before {
|
|
353
|
+
content: "";
|
|
354
|
+
background-color: var(--overlay, #14130e);
|
|
355
|
+
opacity: 0.6;
|
|
356
|
+
inset: 0;
|
|
357
|
+
position: fixed;
|
|
358
|
+
z-index: -1;
|
|
359
|
+
transform: translateZ(0);
|
|
360
|
+
-webkit-transform: translateZ(0);
|
|
361
|
+
}
|
|
362
|
+
.modal__modalContainer___BoKU8 {
|
|
363
|
+
min-width: 300px;
|
|
364
|
+
background-color: var(--dialogBackground, #fff);
|
|
365
|
+
border-radius: 3px;
|
|
366
|
+
min-height: 100px;
|
|
367
|
+
max-width: 720px;
|
|
368
|
+
overflow: hidden;
|
|
369
|
+
display: flex;
|
|
370
|
+
flex-direction: column;
|
|
371
|
+
border-radius: 8px;
|
|
372
|
+
box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
|
|
373
|
+
transform: translateZ(0);
|
|
374
|
+
-webkit-transform: translateZ(0);
|
|
375
|
+
/* Safari */
|
|
376
|
+
-moz-transform: translateZ(0);
|
|
377
|
+
/* Firefox */
|
|
378
|
+
-ms-transform: translateZ(0);
|
|
379
|
+
/* IE/Edge */
|
|
380
|
+
-o-transform: translateZ(0);
|
|
381
|
+
/* Opera */
|
|
382
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
383
|
+
}
|
|
384
|
+
@media only screen and (max-width: 768px) {
|
|
385
|
+
.modal__modalContainer___BoKU8 {
|
|
386
|
+
width: 100%;
|
|
387
|
+
max-width: unset;
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
@media only screen and (max-width: 768px) {
|
|
391
|
+
.modal__modalContainer--borders____AGZf {
|
|
392
|
+
border: none;
|
|
393
|
+
border-radius: 0;
|
|
394
|
+
border-start-start-radius: 8px;
|
|
395
|
+
border-start-end-radius: 8px;
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
.modal__modalHeader___xKo1g {
|
|
399
|
+
display: flex;
|
|
400
|
+
justify-content: space-between;
|
|
401
|
+
align-items: center;
|
|
402
|
+
position: sticky;
|
|
403
|
+
top: 0;
|
|
404
|
+
width: 100%;
|
|
405
|
+
box-sizing: border-box;
|
|
406
|
+
border-bottom: 1px solid var(--dividerStokes, #d4d1d1);
|
|
407
|
+
background: var(--dialogBackground, #fff);
|
|
408
|
+
z-index: 4;
|
|
409
|
+
padding: 8px;
|
|
410
|
+
}
|
|
411
|
+
.modal__modalHeader___xKo1g .modal__crossIcon___ieJau {
|
|
412
|
+
width: 21px;
|
|
413
|
+
height: 21px;
|
|
414
|
+
cursor: pointer;
|
|
415
|
+
}
|
|
416
|
+
.modal__modalBody___peHlJ {
|
|
417
|
+
flex: 1;
|
|
418
|
+
max-height: 95vh;
|
|
419
|
+
overflow-y: auto;
|
|
420
|
+
}
|
|
421
|
+
.modal__rightModal___acoje {
|
|
422
|
+
justify-content: flex-end;
|
|
423
|
+
}
|
|
424
|
+
.modal__rightModal___acoje .modal__modalContainer___BoKU8 {
|
|
425
|
+
height: 100%;
|
|
426
|
+
width: 40%;
|
|
427
|
+
border-radius: 0;
|
|
428
|
+
}
|
|
429
|
+
.modal__rightModal___acoje .modal__modalContainer___BoKU8 .modal__modalHeader___xKo1g {
|
|
430
|
+
padding: 24px;
|
|
431
|
+
}
|
|
432
|
+
@media only screen and (max-width: 768px) {
|
|
433
|
+
.modal__rightModal___acoje .modal__modalContainer___BoKU8 .modal__modalHeader___xKo1g {
|
|
434
|
+
padding: 16px;
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
.modal__rightModal___acoje .modal__modalContainer___BoKU8 .modal__modalHeader___xKo1g .modal__modalTitle___yvZQo {
|
|
438
|
+
font-size: 16px;
|
|
439
|
+
line-height: 18px;
|
|
440
|
+
}
|
|
441
|
+
@media only screen and (max-width: 768px) {
|
|
442
|
+
.modal__rightModal___acoje .modal__modalContainer___BoKU8 {
|
|
443
|
+
width: 100%;
|
|
444
|
+
border-radius: 0;
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
@media only screen and (max-width: 768px) {
|
|
448
|
+
.modal__centerModal___CkbLu {
|
|
449
|
+
align-items: center;
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
@media only screen and (max-width: 480px) {
|
|
453
|
+
.modal__centerModal___CkbLu {
|
|
454
|
+
align-items: flex-end;
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
.modal__centerModal___CkbLu .modal__modalContainer___BoKU8 {
|
|
458
|
+
border-radius: 8px;
|
|
459
|
+
}
|
|
460
|
+
@media only screen and (max-width: 768px) {
|
|
461
|
+
.modal__centerModal___CkbLu .modal__modalContainer___BoKU8 {
|
|
462
|
+
width: unset;
|
|
463
|
+
max-width: 720px;
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
@media only screen and (max-width: 480px) {
|
|
467
|
+
.modal__centerModal___CkbLu .modal__modalContainer___BoKU8 {
|
|
468
|
+
width: 100%;
|
|
469
|
+
max-width: 100%;
|
|
470
|
+
border-radius: 0;
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
.modal__centerModal___CkbLu .modal__modalContainer___BoKU8 .modal__modalHeader___xKo1g {
|
|
474
|
+
border-radius: 8px 8px 0px 0px;
|
|
475
|
+
}
|
|
476
|
+
@media only screen and (max-width: 480px) {
|
|
477
|
+
.modal__centerModal___CkbLu .modal__modalContainer___BoKU8 .modal__modalHeader___xKo1g {
|
|
478
|
+
border-radius: 0;
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
.modal__modalTitle___yvZQo {
|
|
482
|
+
font-weight: 600;
|
|
483
|
+
color: var(--textHeading, #26201a);
|
|
484
|
+
line-height: 140%;
|
|
485
|
+
font-size: 16px;
|
|
486
|
+
}
|
|
487
|
+
.modal__modalSubTitle___Jr61k {
|
|
488
|
+
line-height: 140%;
|
|
489
|
+
font-size: 14px;
|
|
490
|
+
margin-top: 8px;
|
|
491
|
+
font-weight: 500;
|
|
492
|
+
color: var(--textBody, #3c3131);
|
|
493
|
+
}
|
|
494
|
+
.modal__disableScroll___cy36a {
|
|
495
|
+
overflow-y: hidden;
|
|
496
|
+
}
|
|
497
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function webpackUniversalModuleDefinition(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define("firestone",["react"],t):"object"==typeof exports?exports.firestone=t(require("react")):e.firestone=t(e.react)}(Object("undefined"!=typeof self?self:this),e=>(()=>{"use strict";var t={4814(e,t,n){n.d(t,{A:()=>l});var a,r=n(9155);function _extends(){return _extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},_extends.apply(null,arguments)}const l=function SvgAddress(e){return r.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},e),a||(a=r.createElement("path",{fill:"#4D4D4E",d:"m10.001 5.16 4.167 3.75v6.508h-1.667v-5h-5v5H5.835V8.91zm0-2.242-8.333 7.5h2.5v6.667h5v-5h1.667v5h5v-6.667h2.5z"})))}},7962(e,t,n){n.d(t,{A:()=>l});var a,r=n(9155);function _extends(){return _extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},_extends.apply(null,arguments)}const l=function SvgCall(e){return r.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},e),a||(a=r.createElement("path",{fill:"#4D4D4E",d:"M5.45 4.167c.05.741.175 1.466.375 2.158l-1 1c-.342-1-.558-2.058-.633-3.158zm8.217 10.016c.708.2 1.433.325 2.166.375V15.8a12.9 12.9 0 0 1-3.166-.625zM6.25 2.5H3.333a.836.836 0 0 0-.833.833C2.5 11.158 8.842 17.5 16.667 17.5a.836.836 0 0 0 .833-.833v-2.909a.836.836 0 0 0-.833-.833 9.5 9.5 0 0 1-2.975-.475.7.7 0 0 0-.259-.042.85.85 0 0 0-.591.242l-1.834 1.833a12.62 12.62 0 0 1-5.491-5.491L7.35 7.158a.84.84 0 0 0 .208-.85 9.5 9.5 0 0 1-.475-2.975.836.836 0 0 0-.833-.833"})))}},1030(e,t,n){n.d(t,{A:()=>l});var a,r=n(9155);function _extends(){return _extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},_extends.apply(null,arguments)}const l=function SvgCloseBold(e){return r.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:21,height:20,fill:"none"},e),a||(a=r.createElement("path",{fill:"#1F1F1F",d:"m16.752 5.342-1.198-1.175-4.748 4.658-4.749-4.658L4.86 5.342 9.608 10 4.859 14.66l1.198 1.175 4.749-4.659 4.748 4.659 1.198-1.175L12.004 10z"})))}},7010(e,t,n){n.d(t,{A:()=>l});var a,r=n(9155);function _extends(){return _extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},_extends.apply(null,arguments)}const l=function SvgEmail(e){return r.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},e),a||(a=r.createElement("path",{fill:"#4D4D4E",d:"M18.335 4.999c0-.917-.75-1.667-1.667-1.667H3.335c-.917 0-1.667.75-1.667 1.667v10c0 .916.75 1.666 1.667 1.666h13.333c.917 0 1.667-.75 1.667-1.666zm-1.667 0-6.667 4.158-6.666-4.158zm0 10H3.335V6.665L10 10.832l6.667-4.167z"})))}},9825(e,t,n){n.d(t,{A:()=>o});var a,r,l=n(9155);function _extends(){return _extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},_extends.apply(null,arguments)}const o=function SvgOrders(e){return l.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},e),l.createElement("mask",{id:"orders_svg__a",width:20,height:20,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},a||(a=l.createElement("path",{fill:"#D9D9D9",d:"M0 0h20v20H0z"}))),r||(r=l.createElement("g",{mask:"url(#orders_svg__a)"},l.createElement("path",{fill:"#4D4D4E",d:"M4.418 17.918q-.625 0-1.063-.437a1.45 1.45 0 0 1-.437-1.063v-9.5q0-.625.437-1.063a1.45 1.45 0 0 1 1.063-.437h1.833q0-1.562 1.094-2.657Q8.44 1.668 10 1.668q1.563 0 2.657 1.093 1.093 1.094 1.093 2.657h1.834q.624 0 1.062.437.438.438.438 1.063v9.5q0 .625-.438 1.063a1.45 1.45 0 0 1-1.062.437zm0-1.25h11.167q.082 0 .166-.083.084-.084.084-.167v-9.5q0-.083-.084-.167-.082-.083-.166-.083H4.418q-.083 0-.167.083-.083.084-.083.167v9.5q0 .084.083.167t.167.083m5.583-5.417q1.563 0 2.657-1.093 1.093-1.094 1.093-2.657h-1.25q0 1.042-.729 1.771a2.4 2.4 0 0 1-1.77.73 2.4 2.4 0 0 1-1.772-.73 2.4 2.4 0 0 1-.729-1.77h-1.25q0 1.562 1.094 2.656Q8.44 11.251 10 11.251m-2.5-5.833h5q0-1.042-.729-1.77a2.4 2.4 0 0 0-1.77-.73 2.4 2.4 0 0 0-1.772.73 2.4 2.4 0 0 0-.729 1.77"}))))}},8744(e,t,n){n.d(t,{default:()=>i});var a=n(9155),r=n.n(a),l="modal__modalContainer___BoKU8",o=n(8618),s=n(1030),c=n(4429);const i=function Modal({isOpen:e,isCancellable:t=!0,childHandleFocus:n=!1,hideHeader:i=!1,modalType:d="",closeDialog:m=()=>{},children:u,title:_,titleClassName:p,subTitle:v,subTitleClassName:f,headerClassName:g,bodyClassName:b,containerClassName:h,ignoreClickOutsideForClass:w,customClassName:y,notCloseOnclickOutside:E}){const N=(0,a.useRef)(null),k=(0,a.useRef)(null);(0,o.useMobile)(),(0,a.useEffect)(()=>{e&&!n&&N.current&&N.current.focus()},[e,n]),(0,a.useEffect)(()=>{if(!(0,c.Wx)())return;const t=document.querySelectorAll(`.${l}`);return e?document.body.style.overflow="hidden":t.length<1&&(document.body.style.overflow="unset"),()=>{document.querySelectorAll(`.${l}`).length<1&&(document.body.style.overflow="unset")}},[e]);const x=(0,a.useMemo)(()=>`modal__modalHeader___xKo1g ${g??""}`,[g]),C=(0,a.useMemo)(()=>`modal__modalTitle___yvZQo ${p??""}`,[p]),$=(0,a.useMemo)(()=>`modal__modalSubTitle___Jr61k ${f??""}`,[f]),O=(0,a.useMemo)(()=>`${l} ${""===d?"modal__modalContainer--borders____AGZf":""} ${h??""}`,[h]),S=(0,a.useMemo)(()=>`modal__modalBody___peHlJ ${b??""}`,[b]);return r().createElement(r().Fragment,null,e&&r().createElement("div",{className:`modal__modal___xT3RX ${"right-modal"===d?"modal__rightModal___acoje":""} ${"center-modal"===d?"modal__centerModal___CkbLu":""} ${y??""}`,ref:N,onClick:e=>{E||!t||!k.current||k.current.contains(e.target)||w&&(e.target.className.includes(w)||e.target.parentElement?.className.includes(w))||m(e)}},r().createElement("div",{className:O,ref:k},!i&&r().createElement("div",{className:x},r().createElement("div",null,r().createElement("div",{className:C},_),v&&r().createElement("div",{className:$},v)),r().createElement("div",{className:"modal__crossIcon___ieJau",onClick:m},r().createElement(s.A,null))),r().createElement("div",{className:S},u))))}},266(e,t,n){var a=n(9825),r=n(7962),l=n(7010),o=n(4814);a.A,r.A,l.A,o.A},6249(e,t,n){n.d(t,{useViewport:()=>a.useViewport});n(8618);var a=n(1566);n(4070),n(8532)},8532(e,t,n){n(9155),n(4429)},8618(e,t,n){n.d(t,{useMobile:()=>useMobile});var a=n(9155),r=n(4429);const useMobile=(e=768)=>{const[t,n]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{if(!(0,r.Wx)())return;const handleResize=()=>{"undefined"!=typeof window&&n(window?.innerWidth<=e)};return handleResize(),window?.addEventListener("resize",handleResize),()=>{window?.removeEventListener("resize",handleResize)}},[e]),t}},4070(e,t,n){n(9155)},1566(e,t,n){n.d(t,{useViewport:()=>useViewport});var a=n(9155);const useViewport=(e=0,t=1/0)=>{const[n,r]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{const handleResize=()=>{if("undefined"!=typeof window){const n=window?.innerWidth;r(n>=e&&n<=t)}};return handleResize(),window?.addEventListener("resize",handleResize),()=>{window?.removeEventListener("resize",handleResize)}},[e,t]),n}},4429(e,t,n){n.d(t,{Wx:()=>isRunningOnClient,in:()=>priceFormatCurrencySymbol});n(266);function roundToDecimals(e,t=2){const n=Math.pow(10,t);return Math.round(e*n)/n}function isRunningOnClient(){return"undefined"!=typeof window&&globalThis===window}const getLocaleFromCurrency=e=>{if(!e)return"en-US";return{USD:"en-US",AED:"en-AE",SAR:"ar-SA",GBP:"en-GB",EUR:"en-US",INR:"en-IN"}[e.toUpperCase()]||"en-US"};function priceFormatCurrencySymbol(e,t=0,n="en-IN",a=null){if(null==t||""===t)return"";let r="string"==typeof t?parseFloat(t):t;if(Number.isNaN(r))return"";r=roundToDecimals(r,2);let l=n;a&&(l=getLocaleFromCurrency(a));const o="en-IN"===l||l?.startsWith("en-IN");try{const t=o?"latn":void 0,n=t?`${l}-u-nu-${t}`:l,a=new Intl.NumberFormat(n,{minimumFractionDigits:0,maximumFractionDigits:2,useGrouping:!0}),s=r<0?"- ":"",c=a.format(Math.abs(r));let i;return i=/^[A-Za-z]+$/.test(e)?`${s}${e} ${c}`:`${s}${e}${c}`,i}catch{console.warn(`Invalid locale "${l}", falling back to default formatting`);const t=r.toLocaleString("en-US",{minimumFractionDigits:0,maximumFractionDigits:2});return/^[A-Za-z]+$/.test(e)?`${e} ${t}`:`${e}${t}`}}},9155(t){t.exports=e}},n={};function __webpack_require__(e){var a=n[e];if(void 0!==a)return a.exports;var r=n[e]={exports:{}};return t[e](r,r.exports,__webpack_require__),r.exports}__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};__webpack_require__.r(a),__webpack_require__.d(a,{default:()=>i});var r=__webpack_require__(9155),l=__webpack_require__.n(r),o=__webpack_require__(8744),s=__webpack_require__(4429),c=__webpack_require__(6249);const i=function NetBankingPay({selectedTabData:e,nbSearchText:t,setNbSearchText:n,selectedNB:a,selectMop:r,removeDialogueError:i,onPriceDetailsClick:d,enableLinkPaymentOption:m,isPaymentLoading:u,loader:_,getCurrencySymbol:p,getTotalValue:v,proceedToPay:f,acceptOrder:g,disbaleCheckout:b,openMoreNbModal:h,setOpenMoreNbModal:w,translateDynamicLabel:y,t:E,SvgWrapper:N,styles:k,StickyPayNow:x,getNBBorder:C,selectedPaymentPayload:$}){const O=(0,c.useViewport)(0,768),S=e?.list?.slice(0,4)??[],q=e?.list?.slice(4)??[],M=q?.filter(e=>e?.display_name?.toLowerCase().includes(t?.toLowerCase())),NbItem=({nb:e,openMoreNbModal:t=!1})=>l().createElement("div",{className:`${k.modeItemWrapper} ${C(e)}`,onClick:()=>{i(),r("NB","NB",e?.code)}},l().createElement("label",null,l().createElement("div",{className:k.modeItem},l().createElement("div",{className:k.logoNameContainer},l().createElement("div",{className:k.modeItemLogo},l().createElement("img",{src:e?.logo_url?.small,alt:e?.display_name})),l().createElement("div",{className:k.modeItemName},y(e?.display_name??"",E))),l().createElement("div",{className:`${k.nbLeft} ${k.onMobileView}`},(!a||a?.code!==e?.code)&&l().createElement(N,{svgSrc:"radio"}),a?.code===e?.code&&l().createElement(N,{svgSrc:"radio-selected"})))),l().createElement("div",{className:k.modePay},!t&&O?l().createElement(x,{customClassName:k.visibleOnTab,value:(0,s.in)(p,v()),onPriceDetailsClick:d,disabled:!a?.code,enableLinkPaymentOption:m,isPaymentLoading:u,loader:_,proceedToPay:()=>{f("NB",$),g()}}):a?.code===e?.code&&l().createElement("button",{className:`${k.commonBtn} ${k.payBtn}`,onClick:()=>{f("NB",$),b?.message&&(w(!1),g())},disabled:u},u?l().createElement("span",null,_):l().createElement(l().Fragment,null,E("resource.common.pay_caps")," ",(0,s.in)(p,v())))));return l().createElement("div",null,l().createElement("div",{className:`${k.nbHeader} ${k["view-mobile-up"]}`},E("resource.checkout.select_bank")),l().createElement("div",{className:k.modeOption},S?.map((e,t)=>l().createElement(NbItem,{nb:e,key:`nb-${t}`})),e?.list?.length>4&&l().createElement("div",{className:`${k.modeItemWrapper} ${k.otherBorder}`,onClick:()=>{i(),w(!0)}},l().createElement("div",{className:k.modeItem},l().createElement("div",{style:{display:"flex",alignItems:"center",gap:"8px"}},l().createElement("div",{className:k.modeItemLogo},l().createElement("span",null,l().createElement(N,{svgSrc:"other-banks",className:k.svgColor}))),l().createElement("div",{className:k.moreModeName},E("resource.checkout.other_banks"))),l().createElement("span",{className:k.moreModeIcon},l().createElement(N,{svgSrc:"accordion-arrow"})))),l().createElement(o.default,{containerClassName:k.moreOptionContainer,isOpen:h,headerClassName:k.modalHeader,bodyClassName:`${k.modalBody} ${k.bodyContainer}`,closeDialog:()=>{w(!1),n("")},title:E("resource.checkout.select_bank")},l().createElement("div",{className:k.searchBox},l().createElement(N,{svgSrc:"search",className:k.searchIcon}),l().createElement("input",{type:"text",value:t,onChange:e=>n(e.target.value),placeholder:E("resource.checkout.search_for_banks")})),0===M?.length?l().createElement("p",{className:k.noResultFound},E("resource.common.empty_state")):M?.map((e,t)=>l().createElement(NbItem,{nb:e,openMoreNbModal:h,key:`mi-${t}`})))))};return a})());
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function webpackUniversalModuleDefinition(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define("firestone",["react"],t):"object"==typeof exports?exports.firestone=t(require("react")):e.firestone=t(e.react)}(Object("undefined"!=typeof self?self:this),e=>(()=>{"use strict";var t={4814(e,t,r){r.d(t,{A:()=>o});var n,a=r(9155);function _extends(){return _extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_extends.apply(null,arguments)}const o=function SvgAddress(e){return a.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},e),n||(n=a.createElement("path",{fill:"#4D4D4E",d:"m10.001 5.16 4.167 3.75v6.508h-1.667v-5h-5v5H5.835V8.91zm0-2.242-8.333 7.5h2.5v6.667h5v-5h1.667v5h5v-6.667h2.5z"})))}},7962(e,t,r){r.d(t,{A:()=>o});var n,a=r(9155);function _extends(){return _extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_extends.apply(null,arguments)}const o=function SvgCall(e){return a.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},e),n||(n=a.createElement("path",{fill:"#4D4D4E",d:"M5.45 4.167c.05.741.175 1.466.375 2.158l-1 1c-.342-1-.558-2.058-.633-3.158zm8.217 10.016c.708.2 1.433.325 2.166.375V15.8a12.9 12.9 0 0 1-3.166-.625zM6.25 2.5H3.333a.836.836 0 0 0-.833.833C2.5 11.158 8.842 17.5 16.667 17.5a.836.836 0 0 0 .833-.833v-2.909a.836.836 0 0 0-.833-.833 9.5 9.5 0 0 1-2.975-.475.7.7 0 0 0-.259-.042.85.85 0 0 0-.591.242l-1.834 1.833a12.62 12.62 0 0 1-5.491-5.491L7.35 7.158a.84.84 0 0 0 .208-.85 9.5 9.5 0 0 1-.475-2.975.836.836 0 0 0-.833-.833"})))}},7010(e,t,r){r.d(t,{A:()=>o});var n,a=r(9155);function _extends(){return _extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_extends.apply(null,arguments)}const o=function SvgEmail(e){return a.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},e),n||(n=a.createElement("path",{fill:"#4D4D4E",d:"M18.335 4.999c0-.917-.75-1.667-1.667-1.667H3.335c-.917 0-1.667.75-1.667 1.667v10c0 .916.75 1.666 1.667 1.666h13.333c.917 0 1.667-.75 1.667-1.666zm-1.667 0-6.667 4.158-6.666-4.158zm0 10H3.335V6.665L10 10.832l6.667-4.167z"})))}},9825(e,t,r){r.d(t,{A:()=>i});var n,a,o=r(9155);function _extends(){return _extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_extends.apply(null,arguments)}const i=function SvgOrders(e){return o.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},e),o.createElement("mask",{id:"orders_svg__a",width:20,height:20,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},n||(n=o.createElement("path",{fill:"#D9D9D9",d:"M0 0h20v20H0z"}))),a||(a=o.createElement("g",{mask:"url(#orders_svg__a)"},o.createElement("path",{fill:"#4D4D4E",d:"M4.418 17.918q-.625 0-1.063-.437a1.45 1.45 0 0 1-.437-1.063v-9.5q0-.625.437-1.063a1.45 1.45 0 0 1 1.063-.437h1.833q0-1.562 1.094-2.657Q8.44 1.668 10 1.668q1.563 0 2.657 1.093 1.093 1.094 1.093 2.657h1.834q.624 0 1.062.437.438.438.438 1.063v9.5q0 .625-.438 1.063a1.45 1.45 0 0 1-1.062.437zm0-1.25h11.167q.082 0 .166-.083.084-.084.084-.167v-9.5q0-.083-.084-.167-.082-.083-.166-.083H4.418q-.083 0-.167.083-.083.084-.083.167v9.5q0 .084.083.167t.167.083m5.583-5.417q1.563 0 2.657-1.093 1.093-1.094 1.093-2.657h-1.25q0 1.042-.729 1.771a2.4 2.4 0 0 1-1.77.73 2.4 2.4 0 0 1-1.772-.73 2.4 2.4 0 0 1-.729-1.77h-1.25q0 1.562 1.094 2.656Q8.44 11.251 10 11.251m-2.5-5.833h5q0-1.042-.729-1.77a2.4 2.4 0 0 0-1.77-.73 2.4 2.4 0 0 0-1.772.73 2.4 2.4 0 0 0-.729 1.77"}))))}},266(e,t,r){var n=r(9825),a=r(7962),o=r(7010),i=r(4814);n.A,a.A,o.A,i.A},6249(e,t,r){r.d(t,{useViewport:()=>n.useViewport});r(8618);var n=r(1566);r(4070),r(8532)},8532(e,t,r){r(9155),r(4429)},8618(e,t,r){r(9155),r(4429)},4070(e,t,r){r(9155)},1566(e,t,r){r.d(t,{useViewport:()=>useViewport});var n=r(9155);const useViewport=(e=0,t=1/0)=>{const[r,a]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{const handleResize=()=>{if("undefined"!=typeof window){const r=window?.innerWidth;a(r>=e&&r<=t)}};return handleResize(),window?.addEventListener("resize",handleResize),()=>{window?.removeEventListener("resize",handleResize)}},[e,t]),r}},4429(e,t,r){r.d(t,{in:()=>priceFormatCurrencySymbol});r(266);function roundToDecimals(e,t=2){const r=Math.pow(10,t);return Math.round(e*r)/r}const getLocaleFromCurrency=e=>{if(!e)return"en-US";return{USD:"en-US",AED:"en-AE",SAR:"ar-SA",GBP:"en-GB",EUR:"en-US",INR:"en-IN"}[e.toUpperCase()]||"en-US"};function priceFormatCurrencySymbol(e,t=0,r="en-IN",n=null){if(null==t||""===t)return"";let a="string"==typeof t?parseFloat(t):t;if(Number.isNaN(a))return"";a=roundToDecimals(a,2);let o=r;n&&(o=getLocaleFromCurrency(n));const i="en-IN"===o||o?.startsWith("en-IN");try{const t=i?"latn":void 0,r=t?`${o}-u-nu-${t}`:o,n=new Intl.NumberFormat(r,{minimumFractionDigits:0,maximumFractionDigits:2,useGrouping:!0}),l=a<0?"- ":"",s=n.format(Math.abs(a));let c;return c=/^[A-Za-z]+$/.test(e)?`${l}${e} ${s}`:`${l}${e}${s}`,c}catch{console.warn(`Invalid locale "${o}", falling back to default formatting`);const t=a.toLocaleString("en-US",{minimumFractionDigits:0,maximumFractionDigits:2});return/^[A-Za-z]+$/.test(e)?`${e} ${t}`:`${e}${t}`}}},9155(t){t.exports=e}},r={};function __webpack_require__(e){var n=r[e];if(void 0!==n)return n.exports;var a=r[e]={exports:{}};return t[e](a,a.exports,__webpack_require__),a.exports}__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};__webpack_require__.r(n),__webpack_require__.d(n,{default:()=>s});var a=__webpack_require__(9155),o=__webpack_require__.n(a),i=__webpack_require__(4429),l=__webpack_require__(6249);const s=function OtherPay({otherPaymentOptions:e,selectedOtherPayment:t,selectedPaymentPayload:r,styles:n,t:a,SvgWrapper:s,StickyPayNow:c,getOPBorder:d,getCurrencySymbol:m,getTotalValue:u,selectMop:_,removeDialogueError:p,proceedToPay:v,acceptOrder:f,enableLinkPaymentOption:h,isPaymentLoading:g,loader:w,onPriceDetailsClick:b}){const y=(0,l.useViewport)(0,768),OtherItem=({other:e})=>o().createElement("div",{className:`${n.modeItemWrapper} ${d(e?.list?.[0])}`,onClick:()=>{p(),e?.list?.[0]?.code&&_("Other",e?.name,e?.list?.[0]?.code)}},o().createElement("label",null,o().createElement("div",{className:n.modeItem},o().createElement("div",{style:{display:"flex",alignItems:"center"}},o().createElement("div",{className:n.modeItemLogo},o().createElement("img",{src:e?.list?.[0]?.logo_url?.small,alt:e?.list?.[0]?.display_name})),o().createElement("div",{className:n.modeItemName},e?.list?.[0]?.display_name??"")),o().createElement("div",{className:`${n.otherLeft} ${n.onMobileView}`},(!t||t?.code!==e?.list?.[0]?.code)&&o().createElement(s,{svgSrc:"radio"}),t&&t?.code===e?.list?.[0]?.code&&o().createElement(s,{svgSrc:"radio-selected"})))),o().createElement("div",{className:n.otherPay},y?o().createElement(c,{customClassName:n.visibleOnTab,value:(0,i.in)(m,u()),onPriceDetailsClick:b,disabled:!t?.code,enableLinkPaymentOption:h,isPaymentLoading:g,loader:w,proceedToPay:()=>{v("Other",r),f()}}):t?.code&&t.code===e?.list?.[0]?.code&&o().createElement("button",{className:`${n.commonBtn} ${n.payBtn}`,onClick:()=>{v("Other",r),f()},disabled:g},g?w:o().createElement(o().Fragment,null,a("resource.common.pay_caps")," ",(0,i.in)(m,u())))));return o().createElement("div",null,o().createElement("div",{className:`${n.otherHeader} ${n["view-mobile-up"]}`},a("resource.common.select_payment_option")),o().createElement("div",{className:n.modeOption},e?.length&&e.map((e,t)=>o().createElement(o().Fragment,{key:t},o().createElement(OtherItem,{other:e})))))};return n})());
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function webpackUniversalModuleDefinition(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define("firestone",["react"],t):"object"==typeof exports?exports.firestone=t(require("react")):e.firestone=t(e.react)}(Object("undefined"!=typeof self?self:this),e=>(()=>{"use strict";var t={4814(e,t,r){r.d(t,{A:()=>i});var n,a=r(9155);function _extends(){return _extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_extends.apply(null,arguments)}const i=function SvgAddress(e){return a.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},e),n||(n=a.createElement("path",{fill:"#4D4D4E",d:"m10.001 5.16 4.167 3.75v6.508h-1.667v-5h-5v5H5.835V8.91zm0-2.242-8.333 7.5h2.5v6.667h5v-5h1.667v5h5v-6.667h2.5z"})))}},7962(e,t,r){r.d(t,{A:()=>i});var n,a=r(9155);function _extends(){return _extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_extends.apply(null,arguments)}const i=function SvgCall(e){return a.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},e),n||(n=a.createElement("path",{fill:"#4D4D4E",d:"M5.45 4.167c.05.741.175 1.466.375 2.158l-1 1c-.342-1-.558-2.058-.633-3.158zm8.217 10.016c.708.2 1.433.325 2.166.375V15.8a12.9 12.9 0 0 1-3.166-.625zM6.25 2.5H3.333a.836.836 0 0 0-.833.833C2.5 11.158 8.842 17.5 16.667 17.5a.836.836 0 0 0 .833-.833v-2.909a.836.836 0 0 0-.833-.833 9.5 9.5 0 0 1-2.975-.475.7.7 0 0 0-.259-.042.85.85 0 0 0-.591.242l-1.834 1.833a12.62 12.62 0 0 1-5.491-5.491L7.35 7.158a.84.84 0 0 0 .208-.85 9.5 9.5 0 0 1-.475-2.975.836.836 0 0 0-.833-.833"})))}},7010(e,t,r){r.d(t,{A:()=>i});var n,a=r(9155);function _extends(){return _extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_extends.apply(null,arguments)}const i=function SvgEmail(e){return a.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},e),n||(n=a.createElement("path",{fill:"#4D4D4E",d:"M18.335 4.999c0-.917-.75-1.667-1.667-1.667H3.335c-.917 0-1.667.75-1.667 1.667v10c0 .916.75 1.666 1.667 1.666h13.333c.917 0 1.667-.75 1.667-1.666zm-1.667 0-6.667 4.158-6.666-4.158zm0 10H3.335V6.665L10 10.832l6.667-4.167z"})))}},9825(e,t,r){r.d(t,{A:()=>o});var n,a,i=r(9155);function _extends(){return _extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_extends.apply(null,arguments)}const o=function SvgOrders(e){return i.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},e),i.createElement("mask",{id:"orders_svg__a",width:20,height:20,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},n||(n=i.createElement("path",{fill:"#D9D9D9",d:"M0 0h20v20H0z"}))),a||(a=i.createElement("g",{mask:"url(#orders_svg__a)"},i.createElement("path",{fill:"#4D4D4E",d:"M4.418 17.918q-.625 0-1.063-.437a1.45 1.45 0 0 1-.437-1.063v-9.5q0-.625.437-1.063a1.45 1.45 0 0 1 1.063-.437h1.833q0-1.562 1.094-2.657Q8.44 1.668 10 1.668q1.563 0 2.657 1.093 1.093 1.094 1.093 2.657h1.834q.624 0 1.062.437.438.438.438 1.063v9.5q0 .625-.438 1.063a1.45 1.45 0 0 1-1.062.437zm0-1.25h11.167q.082 0 .166-.083.084-.084.084-.167v-9.5q0-.083-.084-.167-.082-.083-.166-.083H4.418q-.083 0-.167.083-.083.084-.083.167v9.5q0 .084.083.167t.167.083m5.583-5.417q1.563 0 2.657-1.093 1.093-1.094 1.093-2.657h-1.25q0 1.042-.729 1.771a2.4 2.4 0 0 1-1.77.73 2.4 2.4 0 0 1-1.772-.73 2.4 2.4 0 0 1-.729-1.77h-1.25q0 1.562 1.094 2.656Q8.44 11.251 10 11.251m-2.5-5.833h5q0-1.042-.729-1.77a2.4 2.4 0 0 0-1.77-.73 2.4 2.4 0 0 0-1.772.73 2.4 2.4 0 0 0-.729 1.77"}))))}},266(e,t,r){var n=r(9825),a=r(7962),i=r(7010),o=r(4814);n.A,a.A,i.A,o.A},6249(e,t,r){r.d(t,{useViewport:()=>n.useViewport});r(8618);var n=r(1566);r(4070),r(8532)},8532(e,t,r){r(9155),r(4429)},8618(e,t,r){r(9155),r(4429)},4070(e,t,r){r(9155)},1566(e,t,r){r.d(t,{useViewport:()=>useViewport});var n=r(9155);const useViewport=(e=0,t=1/0)=>{const[r,a]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{const handleResize=()=>{if("undefined"!=typeof window){const r=window?.innerWidth;a(r>=e&&r<=t)}};return handleResize(),window?.addEventListener("resize",handleResize),()=>{window?.removeEventListener("resize",handleResize)}},[e,t]),r}},4429(e,t,r){r.d(t,{in:()=>priceFormatCurrencySymbol});r(266);function roundToDecimals(e,t=2){const r=Math.pow(10,t);return Math.round(e*r)/r}const getLocaleFromCurrency=e=>{if(!e)return"en-US";return{USD:"en-US",AED:"en-AE",SAR:"ar-SA",GBP:"en-GB",EUR:"en-US",INR:"en-IN"}[e.toUpperCase()]||"en-US"};function priceFormatCurrencySymbol(e,t=0,r="en-IN",n=null){if(null==t||""===t)return"";let a="string"==typeof t?parseFloat(t):t;if(Number.isNaN(a))return"";a=roundToDecimals(a,2);let i=r;n&&(i=getLocaleFromCurrency(n));const o="en-IN"===i||i?.startsWith("en-IN");try{const t=o?"latn":void 0,r=t?`${i}-u-nu-${t}`:i,n=new Intl.NumberFormat(r,{minimumFractionDigits:0,maximumFractionDigits:2,useGrouping:!0}),l=a<0?"- ":"",s=n.format(Math.abs(a));let c;return c=/^[A-Za-z]+$/.test(e)?`${l}${e} ${s}`:`${l}${e}${s}`,c}catch{console.warn(`Invalid locale "${i}", falling back to default formatting`);const t=a.toLocaleString("en-US",{minimumFractionDigits:0,maximumFractionDigits:2});return/^[A-Za-z]+$/.test(e)?`${e} ${t}`:`${e}${t}`}}},9155(t){t.exports=e}},r={};function __webpack_require__(e){var n=r[e];if(void 0!==n)return n.exports;var a=r[e]={exports:{}};return t[e](a,a.exports,__webpack_require__),a.exports}__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};__webpack_require__.r(n),__webpack_require__.d(n,{default:()=>s});var a=__webpack_require__(9155),i=__webpack_require__.n(a),o=__webpack_require__(4429),l=__webpack_require__(6249);const s=function PayLater({selectedTabData:e,selectedPayLater:t,selectedPaymentPayload:r,styles:n,t:a,SvgWrapper:s,StickyPayNow:c,getNormalisedList:d,getPayLaterBorder:m,translateDynamicLabel:u,getCurrencySymbol:_,getTotalValue:p,removeDialogueError:v,selectMop:f,proceedToPay:g,acceptOrder:b,enableLinkPaymentOption:w,isPaymentLoading:y,loader:h,onPriceDetailsClick:E}){const x=(0,l.useViewport)(0,768);return i().createElement("div",null,i().createElement("div",{className:`${n.payLaterHeader} ${n["view-mobile-up"]}`},a("resource.checkout.select_pay_later_option")),i().createElement("div",{className:n.modeOption},d(e)?.map((e,l)=>!e.isDisabled&&i().createElement("div",{key:e.id,className:`${n.modeItemWrapper} ${m(e)}`,onClick:()=>{v(),f("PL","PL",e.code)}},i().createElement("label",{id:e.id},i().createElement("div",{className:n.modeItem},i().createElement("div",{style:{display:"flex",alignItems:"center"}},i().createElement("div",{className:n.modeItemLogo},i().createElement("img",{src:e?.logo_url?.small,alt:e?.display_name})),i().createElement("div",{className:n.modeItemName},u(e?.display_name??"",a))),i().createElement("div",{className:n.onMobileView},(!t||t.code!==e.code)&&i().createElement(s,{svgSrc:"radio"}),t&&t.code===e.code&&i().createElement(s,{svgSrc:"radio-selected"})))),i().createElement("div",{className:n.modePay},x?i().createElement(c,{customClassName:n.visibleOnTab,value:(0,o.in)(_,p()),onPriceDetailsClick:E,disabled:!t.code,enableLinkPaymentOption:w,isPaymentLoading:y,loader:h,proceedToPay:()=>{g("PL",r),b()}}):t.code&&t.code===e.code&&i().createElement("button",{className:`${n.commonBtn} ${n.payBtn}`,onClick:()=>{g("PL",r),b()},disabled:y},y?h:i().createElement(i().Fragment,null,a("resource.common.pay_caps")," ",(0,o.in)(_,p()))))))))};return n})());
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function webpackUniversalModuleDefinition(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("react")):"function"==typeof define&&define.amd?define("firestone",["react"],r):"object"==typeof exports?exports.firestone=r(require("react")):e.firestone=r(e.react)}(Object("undefined"!=typeof self?self:this),e=>(()=>{"use strict";var r={9155(r){r.exports=e}},t={};function __webpack_require__(e){var a=t[e];if(void 0!==a)return a.exports;var c=t[e]={exports:{}};return r[e](c,c.exports,__webpack_require__),c.exports}__webpack_require__.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(r,{a:r}),r},__webpack_require__.d=(e,r)=>{for(var t in r)__webpack_require__.o(r,t)&&!__webpack_require__.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},__webpack_require__.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};__webpack_require__.r(a),__webpack_require__.d(a,{default:()=>s});var c=__webpack_require__(9155),o=__webpack_require__.n(c);const s=function QrCodePaymet({isTablet:e,isQrMopPresent:r,isQrCodeVisible:t,qrCodeImage:a,isQrCodeLoading:s,countdown:n,formatTime:i,selectMop:l,cancelQrPayment:_,disbaleCheckout:p,acceptOrder:u,removeDialogueError:m,SvgWrapper:d,setCountdown:f,initializeOrResetQrPayment:v,t:b,styles:E}){return(0,c.useEffect)(()=>{if(n>0&&t){const e=setInterval(()=>{f(e=>e-1)},1e3);return()=>clearInterval(e)}0===n&&v()},[n]),o().createElement("div",null,!e&&r&&o().createElement("div",null,o().createElement("p",{className:E.upiSectionTitle},b("resource.checkout.upi_qr_code_caps")),o().createElement("div",{className:E.upiQrCodeSection},o().createElement("div",{className:E.upiQrCodeDescription},o().createElement("div",null,o().createElement("p",{className:E.scanQrTitle},b("resource.checkout.scan_qr_to_pay")),o().createElement("p",{className:E.scanQrDescripton},b("resource.checkout.scan_qr_upi"))),o().createElement("div",{className:E.scanQrApps},o().createElement("div",{className:E.upiAppLogo},o().createElement(d,{svgSrc:"gpay"})),o().createElement("div",{className:E.upiAppLogo},o().createElement(d,{svgSrc:"phonepe"})),o().createElement("div",{className:E.upiAppLogo},o().createElement(d,{svgSrc:"bhim"})),o().createElement("div",{className:E.upiAppLogo},o().createElement(d,{svgSrc:"amazon-pay"})),o().createElement("p",{className:E.moreUpiApps},b("resource.checkout.and_more"))),t&&o().createElement("span",{className:E.expiryText},b("resource.checkout.valid_for"),o().createElement("span",{className:E.countDown},i(n)),o().createElement("span",{className:E.minutes},b("resource.common.minutes"))),t&&o().createElement("p",{className:E.cancel,onClick:()=>{_()}},b("resource.facets.cancel_caps"))),o().createElement("div",{className:E.upiQrCode},!t&&o().createElement(d,{svgSrc:"qr-code",className:E.blurred}),t&&o().createElement("img",{src:a,className:E.qrCode,alt:b("resource.checkout.qr_code_image")}),!t&&s&&o().createElement("div",{className:E.qrLoader}),!t&&!s&&o().createElement("p",{className:E.showQrButton,onClick:()=>{p?.message?u():m(),l("UPI","QR","QR")}},b("resource.checkout.show_qr"))))))};return a})());
|