@gofynd/theme-template 3.2.9 → 3.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/dist/components/accordion/accordion.js +1 -1
  2. package/dist/components/address-form/address-form.js +1 -1
  3. package/dist/components/address-form/form-input-selector.js +1 -1
  4. package/dist/components/address-form/v2/address-form.js +1 -1
  5. package/dist/components/bag/bag.css +433 -0
  6. package/dist/components/bag/bag.js +1 -0
  7. package/dist/components/blog-page/blog-page.js +1 -1
  8. package/dist/components/compare-product-card/compare-product-card.js +1 -1
  9. package/dist/components/core/modal/modal.js +1 -1
  10. package/dist/components/filter-modal/filter-modal.css +26 -10
  11. package/dist/components/filter-modal/filter-modal.js +2 -1
  12. package/dist/components/filter-modal/filter-modal.js.LICENSE.txt +25 -0
  13. package/dist/components/form-builder/form-builder.js +1 -1
  14. package/dist/components/google-map/v2/google-map.js +1 -1
  15. package/dist/components/index.css +1 -1
  16. package/dist/components/index.js +1 -1
  17. package/dist/components/location-modal/location-modal.js +1 -1
  18. package/dist/components/order-shipment/order-shipment.css +434 -5
  19. package/dist/components/order-shipment/order-shipment.js +1 -1
  20. package/dist/components/product-card/product-card.js +1 -1
  21. package/dist/components/profile-navigation/profile-navigation.css +1 -1
  22. package/dist/components/quantity-control/quantity-control.js +1 -1
  23. package/dist/components/range-slider/range-slider.css +26 -10
  24. package/dist/components/range-slider/range-slider.js +2 -1
  25. package/dist/components/range-slider/range-slider.js.LICENSE.txt +25 -0
  26. package/dist/components/shipment-item/shipment-item.css +434 -11
  27. package/dist/components/shipment-item/shipment-item.js +1 -1
  28. package/dist/components/shipment-tracking/shipment-tracking.js +1 -1
  29. package/dist/components/shipments-update-item/shipments-update-item.css +441 -28
  30. package/dist/components/shipments-update-item/shipments-update-item.js +1 -1
  31. package/dist/components/sort-modal/sort-modal.js +1 -1
  32. package/dist/helper/hooks/index.js +1 -1
  33. package/dist/helper/hooks/useAddressAutofill.js +1 -0
  34. package/dist/index.css +674 -303
  35. package/dist/index.js +1 -1
  36. package/dist/index.js.LICENSE.txt +20 -0
  37. package/dist/page-layouts/auth/mobile-number/mobile-number.js +1 -1
  38. package/dist/page-layouts/cart/Components/chip-item/chip-image.css +411 -0
  39. package/dist/page-layouts/cart/Components/chip-item/chip-image.js +1 -0
  40. package/dist/page-layouts/cart/Components/chip-item/chip-item.css +411 -0
  41. package/dist/page-layouts/cart/Components/chip-item/chip-item.js +1 -1
  42. package/dist/page-layouts/cart/Components/comment/comment.js +1 -1
  43. package/dist/page-layouts/cart/Components/coupon/coupon.js +1 -1
  44. package/dist/page-layouts/cart/Components/delivery-location/delivery-location.js +1 -1
  45. package/dist/page-layouts/cart/Components/remove-cart-item/remove-cart-item.js +1 -1
  46. package/dist/page-layouts/compare/compare.js +1 -1
  47. package/dist/page-layouts/login/component/login-otp/login-otp.js +1 -1
  48. package/dist/page-layouts/login/component/login-password/login-password.js +1 -1
  49. package/dist/page-layouts/login/component/soacial-login-button/apple-login-button.css +373 -0
  50. package/dist/page-layouts/login/component/soacial-login-button/apple-login-button.js +1 -0
  51. package/dist/page-layouts/login/component/soacial-login-button/facebook-login-button.css +373 -0
  52. package/dist/page-layouts/login/component/soacial-login-button/facebook-login-button.js +1 -0
  53. package/dist/page-layouts/login/component/soacial-login-button/google-login-button.css +375 -0
  54. package/dist/page-layouts/login/component/soacial-login-button/google-login-button.js +1 -0
  55. package/dist/page-layouts/login/component/social-login-button/apple-login-button.js +1 -1
  56. package/dist/page-layouts/plp/Components/add-to-cart/add-to-cart.js +1 -1
  57. package/dist/page-layouts/plp/Components/filter-item/filter-item.css +26 -10
  58. package/dist/page-layouts/plp/Components/filter-item/filter-item.js +2 -1
  59. package/dist/page-layouts/plp/Components/filter-item/filter-item.js.LICENSE.txt +25 -0
  60. package/dist/page-layouts/plp/Components/filter-list/filter-list.css +26 -10
  61. package/dist/page-layouts/plp/Components/filter-list/filter-list.js +2 -1
  62. package/dist/page-layouts/plp/Components/filter-list/filter-list.js.LICENSE.txt +25 -0
  63. package/dist/page-layouts/plp/Components/filter-tags/filter-tags.js +1 -1
  64. package/dist/page-layouts/plp/Components/size-guide/size-guide.js +1 -1
  65. package/dist/page-layouts/single-checkout/address/single-address.js +1 -1
  66. package/dist/page-layouts/single-checkout/payment/card-form.js +1 -1
  67. package/dist/page-layouts/single-checkout/payment/checkout-payment-content.js +1 -1
  68. package/dist/page-layouts/single-checkout/payment/checkout-payment.js +1 -1
  69. package/dist/page-layouts/single-checkout/payment/juspay-card-from.js +1 -1
  70. package/dist/page-layouts/single-checkout/payment/zero-pay-btn/zero-pay-btn.js +1 -1
  71. package/dist/page-layouts/single-checkout/shipment/single-page-shipment.js +1 -1
  72. package/dist/page-layouts/single-checkout/shipment/single-shipment-content.js +1 -1
  73. package/dist/pages/blog/blog.js +1 -1
  74. package/dist/pages/blog/index.js +1 -1
  75. package/dist/pages/cart/cart.css +411 -0
  76. package/dist/pages/cart/cart.js +1 -1
  77. package/dist/pages/cart/index.css +411 -0
  78. package/dist/pages/cart/index.js +1 -1
  79. package/dist/pages/checkout/checkout.js +1 -1
  80. package/dist/pages/checkout/index.js +1 -1
  81. package/dist/pages/edit-profile/edit-profile.js +1 -1
  82. package/dist/pages/edit-profile/index.js +1 -1
  83. package/dist/pages/index.css +729 -358
  84. package/dist/pages/index.js +1 -1
  85. package/dist/pages/index.js.LICENSE.txt +20 -0
  86. package/dist/pages/login/index.css +292 -292
  87. package/dist/pages/login/index.js +1 -1
  88. package/dist/pages/login/login.css +292 -292
  89. package/dist/pages/login/login.js +1 -1
  90. package/dist/pages/order/order-tracking-details/order-tracking-details.css +435 -16
  91. package/dist/pages/order/order-tracking-details/order-tracking-details.js +1 -1
  92. package/dist/pages/order-status/index.css +895 -6
  93. package/dist/pages/order-status/index.js +1 -1
  94. package/dist/pages/order-status/order-status.css +895 -6
  95. package/dist/pages/order-status/order-status.js +1 -1
  96. package/dist/pages/product-listing/index.css +26 -10
  97. package/dist/pages/product-listing/index.js +1 -1
  98. package/dist/pages/product-listing/index.js.LICENSE.txt +20 -0
  99. package/dist/pages/product-listing/product-listing.css +26 -10
  100. package/dist/pages/product-listing/product-listing.js +1 -1
  101. package/dist/pages/product-listing/product-listing.js.LICENSE.txt +20 -0
  102. package/dist/pages/profile/components/add-email-modal/add-email-modal.js +1 -1
  103. package/dist/pages/profile/components/add-phone-modal/add-phone-modal.js +1 -1
  104. package/dist/pages/profile/components/confirm-modal/confirm-modal.js +1 -1
  105. package/dist/pages/profile/email/email.js +1 -1
  106. package/dist/pages/profile/email/index.js +1 -1
  107. package/dist/pages/profile/phone/index.js +1 -1
  108. package/dist/pages/profile/phone/phone.js +1 -1
  109. package/dist/pages/register/index.js +1 -1
  110. package/dist/pages/register/register.js +1 -1
  111. package/dist/pages/wishlist/index.js +1 -1
  112. package/dist/pages/wishlist/wishlist.js +1 -1
  113. package/package.json +2 -1
@@ -0,0 +1,433 @@
1
+ /**color by character**/
2
+ /** Font family **/
3
+ /** Font weight **/
4
+ .bag__display-block___U_YPF {
5
+ display: block;
6
+ }
7
+ .bag__inline-block___EsCVB,
8
+ .bag__inlineBlock___mp9L4 {
9
+ display: inline-block;
10
+ }
11
+ .bag__flex-row___H3VDQ {
12
+ display: flex;
13
+ }
14
+ .bag__flex-column___vZxz5,
15
+ .bag__flexColumn___PMS89 {
16
+ display: flex;
17
+ flex-direction: column;
18
+ }
19
+ .bag__flex-align-center___T8aC5,
20
+ .bag__flexAlignCenter___LYNna {
21
+ display: flex;
22
+ align-items: center;
23
+ }
24
+ .bag__flex-justify-center___jSKCp,
25
+ .bag__flexJustifyCenter___bjZwp {
26
+ display: flex;
27
+ justify-content: center;
28
+ }
29
+ .bag__flex-center___O2Ft5,
30
+ .bag__flexCenter___bzHaa {
31
+ display: flex;
32
+ justify-content: center;
33
+ align-items: center;
34
+ }
35
+ .bag__justify-start___hUS24,
36
+ .bag__justifyStart___MdodZ {
37
+ justify-content: flex-start;
38
+ }
39
+ .bag__justify-end___BxxBk,
40
+ .bag__justifyEnd___izoJ2 {
41
+ justify-content: flex-end;
42
+ }
43
+ .bag__justify-between___uaJOI,
44
+ .bag__justifyBetween___oYcC6 {
45
+ justify-content: space-between;
46
+ }
47
+ .bag__justify-around___ZUg_l,
48
+ .bag__justifyAround___ad67N {
49
+ justify-content: space-around;
50
+ }
51
+ .bag__justify-evenly___YZ1NQ,
52
+ .bag__justifyEvenly___QBJUu {
53
+ justify-content: space-evenly;
54
+ }
55
+ h1,
56
+ .bag__h1___yv4sn {
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
+ .bag__h1___yv4sn {
66
+ font-size: 36px;
67
+ line-height: 48px;
68
+ }
69
+ }
70
+ h2,
71
+ .bag__h2___Nv1Up {
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
+ .bag__h2___Nv1Up {
81
+ font-size: 32px;
82
+ line-height: 42px;
83
+ }
84
+ }
85
+ h3,
86
+ .bag__h3___qasNP {
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
+ .bag__h3___qasNP {
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
+ .bag__h4___Hokuw {
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
+ .bag__h4___Hokuw {
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
+ .bag__h5___ESfMQ {
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
+ .bag__h5___ESfMQ {
132
+ font-size: 16px;
133
+ line-height: 18px;
134
+ }
135
+ }
136
+ .bag__b1___EZ4So {
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
+ .bag__b1___EZ4So {
145
+ font-size: 16px;
146
+ line-height: 20px;
147
+ }
148
+ }
149
+ .bag__b-small___tjwxK,
150
+ .bag__bSmall___DZHZ3,
151
+ .bag__b2___E69Dc {
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
+ .bag__b-small___tjwxK,
160
+ .bag__bSmall___DZHZ3,
161
+ .bag__b2___E69Dc {
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
+ .bag__d1___Lrxkl {
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
+ .bag__d1___Lrxkl {
177
+ font-size: 64px;
178
+ line-height: 85px;
179
+ letter-spacing: -0.03em;
180
+ }
181
+ }
182
+ .bag__caption-medium___M57y8,
183
+ .bag__captionMedium___j4lTh {
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
+ .bag__caption-medium___M57y8,
191
+ .bag__captionMedium___j4lTh {
192
+ font-size: 11px;
193
+ }
194
+ }
195
+ .bag__caption-semi-bold___NA_Qp,
196
+ .bag__captionSemiBold___zsquN {
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
+ .bag__caption-semi-bold___NA_Qp,
204
+ .bag__captionSemiBold___zsquN {
205
+ font-size: 11px;
206
+ }
207
+ }
208
+ .bag__btn-link___uaItG,
209
+ .bag__btnLink___b1JQA {
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
+ .bag__btn-link___uaItG,
223
+ .bag__btnLink___b1JQA {
224
+ font-weight: 500;
225
+ letter-spacing: -0.02em;
226
+ font-size: 14px;
227
+ line-height: 16px;
228
+ }
229
+ }
230
+ .bag__btn-link___uaItG:hover,
231
+ .bag__btnLink___b1JQA:hover {
232
+ color: var(--buttonLinkL1, #c1847c);
233
+ }
234
+ .bag__btn-link___uaItG:disabled,
235
+ .bag__btnLink___b1JQA:disabled {
236
+ color: var(--buttonLinkL2, #d0a39d);
237
+ }
238
+ .bag__btn-link___uaItG:active,
239
+ .bag__btnLink___b1JQA:active {
240
+ opacity: 0.8;
241
+ }
242
+ .bag__user-select-none___oSvos,
243
+ .bag__userSelectNone___jEqdR {
244
+ user-select: none;
245
+ -moz-user-select: none;
246
+ -webkit-user-select: none;
247
+ -ms-user-select: none;
248
+ }
249
+ .bag__margin-0-auto___e_rAQ,
250
+ .bag__margin0auto___E90Pt {
251
+ margin: 0 auto;
252
+ }
253
+ .bag__base-page-container___ylIRR,
254
+ .bag__basePageContainer___FZo_C {
255
+ max-width: 1440px !important;
256
+ }
257
+ .bag__remove-scroll___Hav2e,
258
+ .bag__removeScroll___dGbiR {
259
+ overflow-y: hidden !important;
260
+ }
261
+ .bag__mr-5___y1uvv,
262
+ .bag__mr5___pK91S {
263
+ margin-inline-end: 30px !important;
264
+ }
265
+ .bag__mr-2____ZqxC,
266
+ .bag__mr2___xpjOo {
267
+ margin-inline-end: 5px !important;
268
+ }
269
+ .bag__py-5___ltsEk,
270
+ .bag__py5___R7BsT {
271
+ padding-top: 1.875rem !important;
272
+ padding-bottom: 1.875rem !important;
273
+ }
274
+ .bag__view-all-text____8XpL,
275
+ .bag__viewAllText___np2Kg {
276
+ font-size: 20px;
277
+ font-weight: 400;
278
+ text-transform: lowercase;
279
+ text-decoration: underline;
280
+ }
281
+ .bag__view-all-mobile___dWe4_,
282
+ .bag__viewAllMobile___bmkJR {
283
+ display: none;
284
+ }
285
+ @media only screen and (max-width: 768px) {
286
+ .bag__view-all-mobile___dWe4_,
287
+ .bag__viewAllMobile___bmkJR {
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
+ .bag__view-all-mobile___dWe4_,
296
+ .bag__viewAllMobile___bmkJR {
297
+ margin-top: 24px;
298
+ }
299
+ }
300
+ .bag__accent-btn___HbLIk,
301
+ .bag__accentBtn___NeiAY {
302
+ background-color: var(--accentColor);
303
+ color: #fff;
304
+ }
305
+ .bag__no-scroll___xqcXk,
306
+ .bag__noScroll___j6iDv {
307
+ overflow-y: hidden;
308
+ }
309
+ .bag__hide-overflow___Egp3N,
310
+ .bag__hideOverflow___drczI {
311
+ overflow: hidden;
312
+ }
313
+ .bag__markdown-body___X7Cfk h6 {
314
+ margin-top: 0 !important;
315
+ margin-bottom: 0 !important;
316
+ }
317
+ @media only screen and (max-width: 480px) {
318
+ .bag__markdown-body___X7Cfk {
319
+ font-size: 12px !important;
320
+ padding: 5px !important;
321
+ }
322
+ }
323
+ .bag__view3d-canvas___de3_F {
324
+ width: 100%;
325
+ height: 100%;
326
+ }
327
+ @media only screen and (max-width: 480px) {
328
+ .bag__view-mobile-up___iRON6 {
329
+ display: none !important;
330
+ }
331
+ }
332
+ @media only screen and (min-width: 481px) {
333
+ .bag__view-mobile___IW_HG {
334
+ display: none !important;
335
+ }
336
+ }
337
+ .bag__bagImg___F1kfj {
338
+ min-width: 80px;
339
+ object-fit: cover;
340
+ border-radius: var(--buttonRadius, 0px);
341
+ overflow: hidden;
342
+ }
343
+ .bag__bagImg___F1kfj img {
344
+ object-fit: cover;
345
+ }
346
+ .bag__bundleImg___TEyPU {
347
+ display: grid;
348
+ grid-template-columns: repeat(2, 1fr);
349
+ grid-template-rows: repeat(2, 1fr);
350
+ padding: 4px;
351
+ gap: 4px;
352
+ aspect-ratio: var(--aspectRatio);
353
+ border: 1px solid var(--dividerStokes, #d4d1d1);
354
+ border-radius: var(--buttonRadius, 0px);
355
+ }
356
+ .bag__bundleImg___TEyPU .bag__bundleImgItem___slqOT {
357
+ display: flex;
358
+ border-radius: calc(var(--buttonRadius, 0px) / 2);
359
+ overflow: hidden;
360
+ position: relative;
361
+ }
362
+ .bag__bundleImg___TEyPU .bag__bundleImgItem___slqOT .bag__itemImg___tRLBP {
363
+ display: flex;
364
+ }
365
+ .bag__bundleImg___TEyPU .bag__bundleImgItem___slqOT .bag__bundleCount___C799t {
366
+ position: absolute;
367
+ inset: 0;
368
+ display: flex;
369
+ align-items: center;
370
+ justify-content: center;
371
+ color: #FFF;
372
+ background-color: #1F1F1FA3;
373
+ font-size: 16px;
374
+ font-weight: 700;
375
+ line-height: 140%;
376
+ }
377
+
378
+ /**color by character**/
379
+ /** Font family **/
380
+ /** Font weight **/
381
+ .fy-image__imageWrapper___wKmP2 {
382
+ overflow: hidden;
383
+ position: relative;
384
+ }
385
+ .fy-image__imageWrapper___wKmP2 picture {
386
+ display: flex;
387
+ align-items: center;
388
+ background-color: var(--bg-color, transparent);
389
+ }
390
+ .fy-image__imageWrapper___wKmP2 .fy-image__overlay___Dx1Ju {
391
+ position: absolute;
392
+ background-color: var(--overlay-bgcolor);
393
+ z-index: 1;
394
+ opacity: 0.4;
395
+ height: 100%;
396
+ width: 100%;
397
+ }
398
+ .fy-image__imageWrapper___wKmP2 .fy-image__fyImg___yIv86 {
399
+ width: 100%;
400
+ height: 100%;
401
+ object-fit: contain;
402
+ }
403
+ @-moz-document url-prefix() {
404
+ .fy-image__imageWrapper___wKmP2 .fy-image__fyImg___yIv86.fy-image__firefoxAltFix___hSfDR .fy-image__imageWrapper___wKmP2 .fy-image__fyImg___yIv86.fy-image__firefoxAltFix___hSfDR[alt=""] {
405
+ font-size: 0;
406
+ text-indent: -9999px;
407
+ color: transparent;
408
+ line-height: 0;
409
+ letter-spacing: -1000px;
410
+ -webkit-text-fill-color: transparent;
411
+ text-shadow: none;
412
+ }
413
+ .fy-image__imageWrapper___wKmP2 .fy-image__fyImg___yIv86.fy-image__firefoxAltFix___hSfDR .fy-image__imageWrapper___wKmP2 .fy-image__fyImg___yIv86.fy-image__firefoxAltFix___hSfDR[alt=""]::before,
414
+ .fy-image__imageWrapper___wKmP2 .fy-image__fyImg___yIv86.fy-image__firefoxAltFix___hSfDR .fy-image__imageWrapper___wKmP2 .fy-image__fyImg___yIv86.fy-image__firefoxAltFix___hSfDR[alt=""]::after {
415
+ display: none;
416
+ content: none;
417
+ }
418
+ .fy-image__imageWrapper___wKmP2 .fy-image__fyImg___yIv86.fy-image__firefoxAltFix___hSfDR .fy-image__imageWrapper___wKmP2 .fy-image__fyImg___yIv86.fy-image__firefoxAltFix___hSfDR {
419
+ transition: opacity 0.2s ease-in-out;
420
+ }
421
+ }
422
+ .fy-image__imageWrapper___wKmP2.fy-image__fill___rFWVY .fy-image__fyImg___yIv86 {
423
+ object-fit: cover;
424
+ }
425
+ .fy-image__imageWrapper___wKmP2.fy-image__fixedAspRatio___fyXGS picture {
426
+ aspect-ratio: var(--aspect-ratio-mobile);
427
+ }
428
+ @media only screen and (min-width: 769px) {
429
+ .fy-image__imageWrapper___wKmP2.fy-image__fixedAspRatio___fyXGS picture {
430
+ aspect-ratio: var(--aspect-ratio-desktop);
431
+ }
432
+ }
433
+
@@ -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)}("undefined"!=typeof self?self:this,(e=>(()=>{"use strict";var t={4814:(e,t,r)=>{r.d(t,{A:()=>i});var a,n=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 a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},_extends.apply(null,arguments)}const i=function SvgAddress(e){return n.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},e),a||(a=n.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 a,n=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 a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},_extends.apply(null,arguments)}const i=function SvgCall(e){return n.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},e),a||(a=n.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 a,n=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 a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},_extends.apply(null,arguments)}const i=function SvgEmail(e){return n.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none"},e),a||(a=n.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 a,n,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 a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}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"}},a||(a=i.createElement("path",{fill:"#D9D9D9",d:"M0 0h20v20H0z"}))),n||(n=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"}))))}},8405:(e,t,r)=>{r.d(t,{default:()=>s});var a=r(9155),n=r.n(a),i=r(4429);const o=["original","30x0","44x0","66x0","50x0","75x0","60x60","90x90","100x0","130x200","135x0","270x0","360x0","500x0","400x0","540x0","720x0","312x480","resize-(w|h)?:[0-9]+(,)?(w|h)*(:)?[0-9]*"];function searchStringInArray(e,t){for(let r=0;r<t.length;r++)if(e?.match(new RegExp(`/${t[r]}/`)))return t[r];return""}const l=(0,a.forwardRef)(((e,t)=>{let{backgroundColor:r="#ffffff",src:l="",placeholder:s="",alt:c="",isImageFill:_=!1,isFixedAspectRatio:d=!0,aspectRatio:u=1,mobileAspectRatio:m,showOverlay:g=!1,overlayColor:p="#ffffff",sources:f=[{breakpoint:{min:780},width:1280},{breakpoint:{min:600},width:1100},{breakpoint:{min:480},width:1200},{breakpoint:{min:361},width:900},{breakpoint:{max:360},width:640}],customClass:h,globalConfig:v,defer:w=!0,overlayCustomClass:b,onLoad:x=(()=>{})}=e;const[y,k]=(0,a.useState)(!1),q={"--aspect-ratio-desktop":`${u}`,"--aspect-ratio-mobile":`${m||u}`,"--bg-color":`${v?.img_container_bg||r}`,"--overlay-bgcolor":p},E=(0,a.useMemo)((()=>!l.match(/\.(svg|gif)$/i)),[l]),getMedia=e=>{if(e.breakpoint){const t=e.breakpoint.min&&`(min-width: ${e.breakpoint.min}px)`||"",r=e.breakpoint.max&&`(max-width: ${e.breakpoint.max}px)`||"";return t&&r?`${t} and ${r}`:t||r}return""},getUrl=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l;y&&(t=s);const r=searchStringInArray(t,o);return r?(0,i.ay)(t,r,e):(0,i.ay)(t,void 0,void 0)};return n().createElement("div",{className:`fy-image__imageWrapper___wKmP2 ${_?"fy-image__fill___rFWVY":""}\n ${d?"fy-image__fixedAspRatio___fyXGS":""} ${h}`,style:q},g&&n().createElement("div",{className:`fy-image__overlay___Dx1Ju ${b}`}),n().createElement("picture",null,(E?f?.map((e=>(e.media=getMedia(e),e.srcset=getUrl(e.width,e.url),e))):[]).map(((e,t)=>n().createElement("source",{key:t,media:e.media,srcSet:e.srcset,type:"image/webp"}))),n().createElement("img",{className:"fx-image fy-image__fyImg___yIv86 fy-image__firefoxAltFix___hSfDR",srcSet:(()=>{let e=l;if(!E)return"";y&&(e=s);const t=searchStringInArray(e,o);return f.reduce(((r,a)=>{let n=e;return t&&a?.width&&(n=(0,i.ay)(e,t,a.width),r.push(`${n} ${a.width}w`)),r}),[]).join(", ")})(),src:(()=>{if(!E)return l;searchStringInArray(l,o);return y?s:(0,i.ay)(l,void 0,void 0)})(),alt:"",title:c,"aria-label":"Product image",onError:()=>{k(!0)},onLoad:e=>{e.target.alt=c,x(e)},loading:w?"lazy":"eager",fetchpriority:w?"low":"high",ref:t,"data-alt":c})))}));l.propTypes={};const s=l},266:(e,t,r)=>{var a=r(9825),n=r(7962),i=r(7010),o=r(4814);a.A,n.A,i.A,o.A},4429:(e,t,r)=>{r.d(t,{ay:()=>transformImage});r(266);function isRunningOnClient(){return"undefined"!=typeof window&&globalThis===window}const transformImage=(e,t,r)=>{Math.min(Math.max(Math.round(isRunningOnClient()&&window.devicePixelRatio||1),1),5);let a=e;if(t&&r){const n=`/${t}/`;a=e.replace(new RegExp(n),`/resize-w:${r}/`)}try{const e=new URL(a);return e.searchParams.append("dpr",1),e.toString()}catch(e){return a}}},9155:t=>{t.exports=e}},r={};function __webpack_require__(e){var a=r[e];if(void 0!==a)return a.exports;var n=r[e]={exports:{}};return t[e](n,n.exports,__webpack_require__),n.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 a={};return(()=>{__webpack_require__.r(a),__webpack_require__.d(a,{BagImage:()=>BagImage,BundleBagImage:()=>BundleBagImage});var e=__webpack_require__(9155),t=__webpack_require__.n(e),r="bag__bagImg___F1kfj",n="bag__bundleCount___C799t",i="bag__bundleImg___TEyPU",o="bag__bundleImgItem___slqOT",l="bag__itemImg___tRLBP",s=__webpack_require__(8405);function BagImage(e){let{bag:a,isBundle:n,width:i=80,aspectRatio:o}=e;const l=n?a?.bundle_details?.images?.[0]:a?.item?.image?.[0],c=n?a?.bundle_details?.name:a?.item?.name;return t().createElement(s.default,{customClass:r,src:l,alt:c,sources:[{width:i}],aspectRatio:o,isImageFill:!0})}function BundleBagImage(a){let{item:c,bundleGroupId:_,bundleGroupArticles:d,aspectRatio:u}=a;const m=(0,e.useMemo)((()=>d?.[_]||[]),[_,d]),g=(0,e.useMemo)((()=>{const e=m.map((e=>e?.item?.image)),t=Math.max(0,...e.map((e=>Array.isArray(e)?e.length:0))),r=[];for(let a=0;a<t&&r.length<4;a++)for(let t=0;t<e.length&&r.length<4;t++){const n=e[t]?.[a];void 0!==n&&r.push(n)}return r}),[m]);return t().createElement("div",{className:`${r} ${i}`,style:{"--aspectRatio":`${u}`}},g.map(((e,r)=>t().createElement("div",{className:o,key:r},t().createElement(s.default,{customClass:l,src:e,alt:c?.name,sources:[{width:80}],aspectRatio:u,isImageFill:!0}),3===r&&m.length>4&&t().createElement("div",{className:`${n}`},"+",m.length-4)))))}})(),a})()));