@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 r,a=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 r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_extends.apply(null,arguments)}const l=function SvgAddress(e){return a.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},e),r||(r=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,n){n.d(t,{A:()=>l});var r,a=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 r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_extends.apply(null,arguments)}const l=function SvgCall(e){return a.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},e),r||(r=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"})))}},1030(e,t,n){n.d(t,{A:()=>l});var r,a=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 r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_extends.apply(null,arguments)}const l=function SvgCloseBold(e){return a.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:21,height:20,fill:"none"},e),r||(r=a.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 r,a=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 r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_extends.apply(null,arguments)}const l=function SvgEmail(e){return a.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},e),r||(r=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,n){n.d(t,{A:()=>o});var r,a,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 r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}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"}},r||(r=l.createElement("path",{fill:"#D9D9D9",d:"M0 0h20v20H0z"}))),a||(a=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:()=>c});var r=n(9155),a=n.n(r),l="modal__modalContainer___BoKU8",o=n(8618),i=n(1030),s=n(4429);const c=function Modal({isOpen:e,isCancellable:t=!0,childHandleFocus:n=!1,hideHeader:c=!1,modalType:d="",closeDialog:m=()=>{},children:u,title:p,titleClassName:_,subTitle:g,subTitleClassName:f,headerClassName:v,bodyClassName:h,containerClassName:y,ignoreClickOutsideForClass:w,customClassName:b,notCloseOnclickOutside:E}){const x=(0,r.useRef)(null),k=(0,r.useRef)(null);(0,o.useMobile)(),(0,r.useEffect)(()=>{e&&!n&&x.current&&x.current.focus()},[e,n]),(0,r.useEffect)(()=>{if(!(0,s.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 N=(0,r.useMemo)(()=>`modal__modalHeader___xKo1g ${v??""}`,[v]),S=(0,r.useMemo)(()=>`modal__modalTitle___yvZQo ${_??""}`,[_]),C=(0,r.useMemo)(()=>`modal__modalSubTitle___Jr61k ${f??""}`,[f]),O=(0,r.useMemo)(()=>`${l} ${""===d?"modal__modalContainer--borders____AGZf":""} ${y??""}`,[y]),P=(0,r.useMemo)(()=>`modal__modalBody___peHlJ ${h??""}`,[h]);return a().createElement(a().Fragment,null,e&&a().createElement("div",{className:`modal__modal___xT3RX ${"right-modal"===d?"modal__rightModal___acoje":""} ${"center-modal"===d?"modal__centerModal___CkbLu":""} ${b??""}`,ref:x,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)}},a().createElement("div",{className:O,ref:k},!c&&a().createElement("div",{className:N},a().createElement("div",null,a().createElement("div",{className:S},p),g&&a().createElement("div",{className:C},g)),a().createElement("div",{className:"modal__crossIcon___ieJau",onClick:m},a().createElement(i.A,null))),a().createElement("div",{className:P},u))))}},266(e,t,n){var r=n(9825),a=n(7962),l=n(7010),o=n(4814);r.A,a.A,l.A,o.A},6249(e,t,n){n.d(t,{useViewport:()=>r.useViewport});n(8618);var r=n(1566);n(4070),n(8532)},8532(e,t,n){n(9155),n(4429)},8618(e,t,n){n.d(t,{useMobile:()=>useMobile});var r=n(9155),a=n(4429);const useMobile=(e=768)=>{const[t,n]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if(!(0,a.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 r=n(9155);const useViewport=(e=0,t=1/0)=>{const[n,a]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{const handleResize=()=>{if("undefined"!=typeof window){const n=window?.innerWidth;a(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",r=null){if(null==t||""===t)return"";let a="string"==typeof t?parseFloat(t):t;if(Number.isNaN(a))return"";a=roundToDecimals(a,2);let l=n;r&&(l=getLocaleFromCurrency(r));const o="en-IN"===l||l?.startsWith("en-IN");try{const t=o?"latn":void 0,n=t?`${l}-u-nu-${t}`:l,r=new Intl.NumberFormat(n,{minimumFractionDigits:0,maximumFractionDigits:2,useGrouping:!0}),i=a<0?"- ":"",s=r.format(Math.abs(a));let c;return c=/^[A-Za-z]+$/.test(e)?`${i}${e} ${s}`:`${i}${e}${s}`,c}catch{console.warn(`Invalid locale "${l}", 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}},n={};function __webpack_require__(e){var r=n[e];if(void 0!==r)return r.exports;var a=n[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 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 r={};__webpack_require__.r(r),__webpack_require__.d(r,{default:()=>c});var a=__webpack_require__(9155),l=__webpack_require__.n(a),o=__webpack_require__(8744),i=__webpack_require__(4429),s=__webpack_require__(6249);const c=function UpiAppPayment({isChromeOrSafari:e,upiApps:t,selectedUpiIntentApp:n,setSelectedUpiIntentApp:r,selectedUpiRef:a,setvpa:c,setUPIError:d,cancelQrPayment:m,getSvgNameForApp:u,upiAppData:p,selectMop:_,removeDialogueError:g,showUpiRedirectionModal:f,setShowUpiRedirectionModal:v,cancelUpiAppPayment:h,t:y,SvgWrapper:w,styles:b,showUPIModal:E,cancelUPIPayment:x,isPaymentLoading:k,isUPIError:N,StickyPayNow:S,acceptOrder:C,getCurrencySymbol:O,getTotalValue:P,onPriceDetailsClick:A,enableLinkPaymentOption:q,loader:U,disbaleCheckout:$,vpa:M,timeRemaining:D}){const I=(0,s.useViewport)(0,768),z={cursor:"pointer",fontSize:"12px",fontWeight:600,lineHeight:"140%",textTransform:"uppercase",textAlign:"center",color:"var(--buttonLink)"};return l().createElement(l().Fragment,null,l().createElement("div",{className:b.upiMop}," ",I&&e&&l().createElement("div",null,t?.length>0&&t.filter(e=>["gpay","google_pay","phonepe","paytm"].includes(e)).map(e=>{const o=u(e),i=o;return l().createElement("label",{key:e,onClick:()=>{r(e),a.current=null,c(""),d(!1),m()},className:`${b.upiApp} ${t?.includes("any")?"":b.notBorderBottom} ${n===e?b.selectedUpiApp:""}`},l().createElement("div",{className:b.logo},l().createElement(w,{svgSrc:o})),l().createElement("p",{className:b.displayName},p[i]?.displayName),(!n||n!==e)&&l().createElement(w,{svgSrc:"radio",className:b.onMobileView}),n&&n===e&&l().createElement(w,{svgSrc:"radio-selected",className:b.onMobileView}))}),t?.length>0&&t?.includes("any")&&l().createElement("label",{key:"any",onClick:()=>{r("any"),a.current="any",_("UPI","UPI","UPI"),g(),v(!0)},className:b.moreApps},l().createElement("div",{className:b.logo},l().createElement(w,{svgSrc:"more-upi-apps"})),l().createElement("p",{className:b.displayName},p.any?.displayName),l().createElement("div",{className:b.rightArrow},l().createElement(w,{svgSrc:"arrow-right"})))),l().createElement("div",{style:{position:"relative"}},l().createElement("div",{className:b.upiPay},I?l().createElement(S,{customClassName:b.visibleOnTab,disabled:!n||N,value:(0,i.in)(O,P()),onPriceDetailsClick:A,enableLinkPaymentOption:q,isPaymentLoading:k,loader:U,proceedToPay:()=>{$?.message&&C(),_("UPI","UPI","UPI")}}):(M||n)&&l().createElement("button",{className:`${b.commonBtn} ${b.payBtn}`,onClick:()=>{$?.message?C():g(),_("UPI","UPI","UPI"),m()},disabled:!n||k},k?U:l().createElement(l().Fragment,null,y("resource.common.pay_caps")," ",(0,i.in)(O,P())))))),E&&l().createElement(o.default,{isOpen:E,headerClassName:b.modalHeader,bodyClassName:b.modalBody,isCancellable:!1,title:"",hideHeader:!0},l().createElement("div",{style:{padding:"24px",maxWidth:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"}},l().createElement("div",{style:{fontSize:"24px",fontWeight:700,lineHeight:"140%",textAlign:"center",color:"var(--textHeading)"}},y("resource.checkout.complete_your_payment")),l().createElement("div",{style:{fontSize:"14px",fontWeight:400,lineHeight:"140%",textAlign:"center",marginTop:"16px",color:"var(--textBody)"}},y("resource.checkout.sent_to")," ",M),l().createElement("div",{style:{margin:"16px 0px"}},l().createElement(w,{svgSrc:"upi-payment-popup"})),l().createElement("div",{style:{fontSize:"14px",fontWeight:500,lineHeight:"140%",textAlign:"center",color:"var(--textBody)",marginBottom:"16px"}},y("resource.checkout.valid_for")," ",l().createElement("span",{style:{borderRadius:"40px",border:"0.5px solid var(--successText)",backgroundColor:"var(--successBackground)",padding:"2px 7px",fontSize:"12px",fontWeight:600,lineHeight:"140%",color:"var(--successText)"}},(0,i.formatTime)(D))," ",y("resource.common.minutes")),l().createElement("div",{style:z,onClick:x},y("resource.checkout.cancel_payment_caps")))),f&&l().createElement(o.default,{isOpen:f,hideHeader:!0},l().createElement("div",{className:b.upiRedirectionModal},l().createElement("div",{className:b.loader}),l().createElement("p",{className:b.title},y("resource.checkout.finalising_payment")),l().createElement("p",{className:b.message},y("resource.checkout.redirecting_upi")),l().createElement("div",{style:z,onClick:()=>{v(!1),h()}},y("resource.checkout.cancel_payment_caps")))))};return r})());
|