@soma-vertical-web/multi-lib 1.0.1 → 1.0.2
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/index-4WXjd-uR.js +4 -0
- package/index-CCvTne7y.mjs +1826 -0
- package/index.js +7 -7
- package/index.mjs +704 -699
- package/index2.js +1 -1
- package/index2.mjs +222 -218
- package/layout/index.d.ts +1 -1
- package/layout/template/SearchModal/Composite/Recommendations.d.ts +4 -2
- package/layout/template/SearchModal/SearchModal.d.ts +1 -1
- package/package.json +1 -1
- package/server.d.ts +16 -0
- package/types/layout/templates/SearchModal/index.d.ts +1 -2
package/index.mjs
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var On = (e, t, n) =>
|
|
1
|
+
var Bp = Object.defineProperty;
|
|
2
|
+
var Up = (e, t, n) => t in e ? Bp(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
|
+
var On = (e, t, n) => Up(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
4
|
import En, { jsx as o, jsxs as C, Fragment as q } from "react/jsx-runtime";
|
|
5
|
-
import pt, { createContext as Ce, useContext as Ne, useCallback as ie, useEffect as Q, useRef as ne, useState as k, useMemo as ge, createElement as lr, Children as No, forwardRef as
|
|
6
|
-
import { g as ur, s as
|
|
5
|
+
import pt, { createContext as Ce, useContext as Ne, useCallback as ie, useEffect as Q, useRef as ne, useState as k, useMemo as ge, createElement as lr, Children as No, forwardRef as Hp, Component as qp } from "react";
|
|
6
|
+
import { g as ur, s as Vp, a as Wp, b as Gp, p as ki, c as Go, d as ea, e as Kp, f as Fe, u as ta, h as na, i as ra, j as dr, k as Xp, l as Yp, m as Qp, r as Ye, n as Zp, o as oe, q as Ko, t as oa, v as Jp, w as em, x as tm, S as nm } from "./index-CCvTne7y.mjs";
|
|
7
7
|
import { get as _n, set as gn } from "idb-keyval";
|
|
8
8
|
import { create as Ht } from "zustand";
|
|
9
9
|
import Po from "js-cookie";
|
|
10
|
-
import { helpers as z, Modal as _e, Button as G, TextField as ft, Spinner as qt, ToggleSize as nt, ToggleStyle as tt, TextStructure as j, Icon as $, Utils as Ue, Tag as rt, ProductInfo as Ae, Tooltip as nn, Badge as So, Card as Nn, SnackBar as Jt, Carousel as me, Header as We, ComponentList as Lt, Credits as
|
|
10
|
+
import { helpers as z, Modal as _e, Button as G, TextField as ft, Spinner as qt, ToggleSize as nt, ToggleStyle as tt, TextStructure as j, Icon as $, Utils as Ue, Tag as rt, ProductInfo as Ae, Tooltip as nn, Badge as So, Card as Nn, SnackBar as Jt, Carousel as me, Header as We, ComponentList as Lt, Credits as rm, Banner as Nt, Checkbox as pr, Closeness as Mi, Accordion as Qe, BreadCrumb as zt, RadioButton as ia, Slider as om, Timer as pn, Tabs as kn, Pagination as Xo, DropDown as un, Copy as im } from "@soma-vertical-web/core-components";
|
|
11
11
|
import Ft from "axios";
|
|
12
12
|
import { TZDate as wo } from "@date-fns/tz";
|
|
13
|
-
import { decodeJwt as
|
|
14
|
-
import { SizesSmallExtended as
|
|
15
|
-
import sa, { createPortal as
|
|
16
|
-
import { DefaultDraftBlockRenderMap as
|
|
13
|
+
import { decodeJwt as sm } from "jose";
|
|
14
|
+
import { SizesSmallExtended as am, Mode as er, VariantsExtended as cm } from "@soma-vertical-web/foundations";
|
|
15
|
+
import sa, { createPortal as lm } from "react-dom";
|
|
16
|
+
import { DefaultDraftBlockRenderMap as um, convertFromRaw as aa, CompositeDecorator as dm, EditorState as tr, Editor as Ro } from "draft-js";
|
|
17
17
|
import { useInView as ca } from "react-intersection-observer";
|
|
18
18
|
const Yo = Ce(
|
|
19
19
|
{}
|
|
20
|
-
),
|
|
20
|
+
), pm = ({
|
|
21
21
|
data: e,
|
|
22
22
|
children: t
|
|
23
23
|
}) => /* @__PURE__ */ o(Yo.Provider, { value: { tags: e == null ? void 0 : e.config }, children: t }), Mt = () => {
|
|
@@ -52,7 +52,7 @@ const Yo = Ce(
|
|
|
52
52
|
Q(() => {
|
|
53
53
|
typeof window < "u" && (e != null && e.refer) && sessionStorage.setItem(e == null ? void 0 : e.refer, "true");
|
|
54
54
|
}, []);
|
|
55
|
-
}, ua = Ce({}),
|
|
55
|
+
}, ua = Ce({}), mm = ({ children: e, gridScrollBack: t }) => {
|
|
56
56
|
const n = ne(null);
|
|
57
57
|
return la({ gridScrollBack: t }), /* @__PURE__ */ o(
|
|
58
58
|
ua.Provider,
|
|
@@ -305,7 +305,7 @@ const Yo = Ce(
|
|
|
305
305
|
}
|
|
306
306
|
});
|
|
307
307
|
}
|
|
308
|
-
}, pa = (e) => e.reduce((t, n) => (n.available && t.push(n.value), t), []).toString(),
|
|
308
|
+
}, pa = (e) => e.reduce((t, n) => (n.available && t.push(n.value), t), []).toString(), fm = (e) => {
|
|
309
309
|
const t = e.length;
|
|
310
310
|
return {
|
|
311
311
|
...e && e.length > 0 ? {
|
|
@@ -321,10 +321,10 @@ const Yo = Ce(
|
|
|
321
321
|
customData: t,
|
|
322
322
|
configs: n
|
|
323
323
|
}) => ({
|
|
324
|
-
...
|
|
324
|
+
...hm(e, n == null ? void 0 : n.MAIN_IMAGE),
|
|
325
|
+
..._m(e),
|
|
325
326
|
...gm(e),
|
|
326
327
|
...ym(e),
|
|
327
|
-
...vm(e),
|
|
328
328
|
...t
|
|
329
329
|
}), ma = () => {
|
|
330
330
|
var e, t;
|
|
@@ -356,7 +356,7 @@ const Yo = Ce(
|
|
|
356
356
|
"persistedCartEventsData",
|
|
357
357
|
JSON.stringify(e)
|
|
358
358
|
));
|
|
359
|
-
},
|
|
359
|
+
}, hm = (e, t = "1") => {
|
|
360
360
|
var s, a, c, l, u, d, m, p, f, h, _;
|
|
361
361
|
const n = e.productReference ?? e.gtin ?? e.productRefId, r = e.image ?? ((a = (s = e.items) == null ? void 0 : s[0]) == null ? void 0 : a.images) ?? ((c = e.itemOffered) == null ? void 0 : c.image), i = r == null ? void 0 : r.find(
|
|
362
362
|
(g) => g.alternateName === t || g.imageLabel === t || g.keywords === t
|
|
@@ -364,7 +364,7 @@ const Yo = Ce(
|
|
|
364
364
|
return {
|
|
365
365
|
item_id: e.productId ?? ((l = e.isVariantOf) == null ? void 0 : l.productGroupID) ?? ((u = e.isVariationOf) == null ? void 0 : u.productGroupID) ?? ((m = (d = e.itemOffered) == null ? void 0 : d.isVariationOf) == null ? void 0 : m.productGroupID),
|
|
366
366
|
item_ref: /_\d$/.test(n) ? n.slice(0, -2) : n,
|
|
367
|
-
item_name: e.productTitle ?? e.productName ?? e.name ??
|
|
367
|
+
item_name: e.productTitle ?? e.productName ?? e.name ?? Vp(
|
|
368
368
|
(p = e.itemOffered) == null ? void 0 : p.name,
|
|
369
369
|
$e.configs.NAME_SPLIT_SYMBOL
|
|
370
370
|
).name,
|
|
@@ -372,7 +372,7 @@ const Yo = Ce(
|
|
|
372
372
|
item_url: `${$e.configs.storeUrl}${e.linkText}/p`,
|
|
373
373
|
item_image: (i == null ? void 0 : i.url) ?? (i == null ? void 0 : i.imageUrl)
|
|
374
374
|
};
|
|
375
|
-
}, Di = (e) => Array.isArray(e) ? e.reduce((t, n) => (n.length > t.length && (t = n), t), "") : e,
|
|
375
|
+
}, Di = (e) => Array.isArray(e) ? e.reduce((t, n) => (n.length > t.length && (t = n), t), "") : e, _m = (e) => {
|
|
376
376
|
var u, d;
|
|
377
377
|
const { categories: t, categoriesIds: n } = e, r = t ?? ((u = e.itemOffered) == null ? void 0 : u.categories), i = n ?? ((d = e.itemOffered) == null ? void 0 : d.categoriesIds), s = Di(r), a = Di(
|
|
378
378
|
i
|
|
@@ -388,7 +388,7 @@ const Yo = Ce(
|
|
|
388
388
|
item_parent_category_id: l[l.length - 2]
|
|
389
389
|
}
|
|
390
390
|
};
|
|
391
|
-
},
|
|
391
|
+
}, gm = (e) => {
|
|
392
392
|
var i, s, a, c, l, u;
|
|
393
393
|
const t = ((i = e.itemOffered) == null ? void 0 : i.skuName) ?? ((c = (a = (s = e.isVariantOf) == null ? void 0 : s.hasVariant) == null ? void 0 : a[0]) == null ? void 0 : c.name) ?? ((u = (l = e.items) == null ? void 0 : l[0]) == null ? void 0 : u.name), { color: n, size: r } = ur(
|
|
394
394
|
t,
|
|
@@ -398,7 +398,7 @@ const Yo = Ce(
|
|
|
398
398
|
item_variant: n,
|
|
399
399
|
...e.itemOffered && { item_variant2: r }
|
|
400
400
|
};
|
|
401
|
-
},
|
|
401
|
+
}, ym = (e) => {
|
|
402
402
|
var l, u;
|
|
403
403
|
const { price: t, listPrice: n, installments: r } = e, i = t ?? ((l = e.offers) == null ? void 0 : l.lowPrice) ?? 0, s = n ?? ((u = e.offers) == null ? void 0 : u.highPrice) ?? 0, a = s ? s - i : 0, c = a % 1 === 0 ? a : Number(a.toFixed(2));
|
|
404
404
|
return {
|
|
@@ -421,18 +421,18 @@ const Yo = Ce(
|
|
|
421
421
|
id: t,
|
|
422
422
|
name: e
|
|
423
423
|
};
|
|
424
|
-
},
|
|
424
|
+
}, vm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
425
425
|
__proto__: null,
|
|
426
426
|
eventsFunctions: $e,
|
|
427
427
|
findDataInPersistedData: ha,
|
|
428
428
|
getAvailablesSizes: pa,
|
|
429
|
-
getCategories:
|
|
429
|
+
getCategories: fm,
|
|
430
430
|
getPageCategoryAndDepartmentFromSlug: _a,
|
|
431
431
|
getPersistedData: fa,
|
|
432
432
|
getProductListInfoFromHead: ma,
|
|
433
433
|
pushDatalayer: At,
|
|
434
434
|
updatePersistedData: Io
|
|
435
|
-
}, Symbol.toStringTag, { value: "Module" })), ga = Ce({}),
|
|
435
|
+
}, Symbol.toStringTag, { value: "Module" })), ga = Ce({}), bm = ({ children: e, evtFunctionsConfigs: t }) => {
|
|
436
436
|
const n = ne({}), r = ne(null), i = ne(null), s = ne({}), a = ne({
|
|
437
437
|
trigger: !1,
|
|
438
438
|
index: 0
|
|
@@ -502,7 +502,7 @@ const Yo = Ce(
|
|
|
502
502
|
children: e
|
|
503
503
|
}
|
|
504
504
|
);
|
|
505
|
-
}, fe = () => Ne(ga), ya = Ce({}),
|
|
505
|
+
}, fe = () => Ne(ga), ya = Ce({}), Cm = ({
|
|
506
506
|
children: e,
|
|
507
507
|
productData: t,
|
|
508
508
|
isKit: n,
|
|
@@ -525,7 +525,7 @@ const Yo = Ce(
|
|
|
525
525
|
id: U[0],
|
|
526
526
|
name: U[1]
|
|
527
527
|
}))
|
|
528
|
-
), b = g.slice(1, -1).split("/"), { installments: y, price: S, listPrice: N, sizes: E, allSizesAvailable: R } =
|
|
528
|
+
), b = g.slice(1, -1).split("/"), { installments: y, price: S, listPrice: N, sizes: E, allSizesAvailable: R } = Wp({ items: d, NAME_SPLIT_SYMBOL: i }), x = Gp({ images: m, TEXTURE_IMAGE: s }), T = [
|
|
529
529
|
{
|
|
530
530
|
label: `${r.product.description}`,
|
|
531
531
|
value: "description",
|
|
@@ -616,7 +616,7 @@ const Yo = Ce(
|
|
|
616
616
|
"useContext(PDPDataContext) must be used within a PDPDataProvider"
|
|
617
617
|
);
|
|
618
618
|
return e;
|
|
619
|
-
},
|
|
619
|
+
}, Em = () => {
|
|
620
620
|
const [e, t] = k(null);
|
|
621
621
|
return [e, async (r) => {
|
|
622
622
|
if (!(navigator != null && navigator.clipboard))
|
|
@@ -638,9 +638,9 @@ const Yo = Ce(
|
|
|
638
638
|
document.removeEventListener("gesturestart", e), document.removeEventListener("gesturechange", e), document.removeEventListener("dblclick", e), document.removeEventListener("wheel", e);
|
|
639
639
|
};
|
|
640
640
|
}, []);
|
|
641
|
-
},
|
|
641
|
+
}, Nm = typeof window > "u", Pm = (e, t) => {
|
|
642
642
|
const [n, r] = k(() => {
|
|
643
|
-
if (
|
|
643
|
+
if (Nm)
|
|
644
644
|
return null;
|
|
645
645
|
const s = localStorage.getItem(e);
|
|
646
646
|
return s === null ? t : JSON.parse(s || "{}");
|
|
@@ -768,7 +768,7 @@ const mr = ({
|
|
|
768
768
|
imgRef: r,
|
|
769
769
|
scale: i
|
|
770
770
|
};
|
|
771
|
-
},
|
|
771
|
+
}, Sm = {
|
|
772
772
|
attachment: "ATTACHMENT",
|
|
773
773
|
specification: "SPECIFICATION",
|
|
774
774
|
attribute: "ATTRIBUTE"
|
|
@@ -917,13 +917,13 @@ const mr = ({
|
|
|
917
917
|
sku: ((a = r.itemOffered) == null ? void 0 : a.sku) ?? ""
|
|
918
918
|
};
|
|
919
919
|
}
|
|
920
|
-
), To = (e, t) => e.filter((n) => n.availability !== "withoutStock").findIndex(({ id: n }) => n === t),
|
|
920
|
+
), To = (e, t) => e.filter((n) => n.availability !== "withoutStock").findIndex(({ id: n }) => n === t), wm = (e, t) => {
|
|
921
921
|
var n;
|
|
922
922
|
return Array.isArray(e) ? (((n = e == null ? void 0 : e.find((r) => {
|
|
923
923
|
var i;
|
|
924
924
|
return ((i = r == null ? void 0 : r.id) == null ? void 0 : i.toLowerCase()) === t;
|
|
925
925
|
})) == null ? void 0 : n.value) ?? 0) / 100 : 0;
|
|
926
|
-
},
|
|
926
|
+
}, Rm = (e) => {
|
|
927
927
|
const t = e.reduce((i, s) => {
|
|
928
928
|
const a = Zo(s.price) ? 0 : s.quantity;
|
|
929
929
|
return i + a;
|
|
@@ -939,7 +939,7 @@ const mr = ({
|
|
|
939
939
|
total: n,
|
|
940
940
|
subTotal: r
|
|
941
941
|
};
|
|
942
|
-
},
|
|
942
|
+
}, Im = (e) => Array.isArray(e) ? e.filter((t) => t.availability !== "withoutStock").reduce((t, n) => t + (Zo(n == null ? void 0 : n.price) ? 0 : n.quantity), 0) : 0, wa = (e, t) => {
|
|
943
943
|
const { items: n, orderFormId: r, ...i } = e;
|
|
944
944
|
return {
|
|
945
945
|
...i,
|
|
@@ -949,10 +949,10 @@ const mr = ({
|
|
|
949
949
|
}, Ra = (e, t) => {
|
|
950
950
|
const n = e.find((r) => r.id === t);
|
|
951
951
|
return n ? n.availability === "unavailableItemFulfillment" : !1;
|
|
952
|
-
},
|
|
952
|
+
}, Am = (e, t) => {
|
|
953
953
|
const n = e.sku, r = e.isVariantOf.hasVariant.find((i) => i.sku === n);
|
|
954
954
|
return r ? r.name.split(t)[1] : "--";
|
|
955
|
-
}, Yt = (e, t, n = !1) => !e && t !== "" ? { code: 300, value: t, statusOk: n } : e === t ? { code: 200, value: t, statusOk: n } : { code: 400, value: t, statusOk: n },
|
|
955
|
+
}, Yt = (e, t, n = !1) => !e && t !== "" ? { code: 300, value: t, statusOk: n } : e === t ? { code: 200, value: t, statusOk: n } : { code: 400, value: t, statusOk: n }, Tm = (e, t) => {
|
|
956
956
|
const n = /* @__PURE__ */ new Set();
|
|
957
957
|
return [e, ...t].filter(
|
|
958
958
|
(r) => !n.has(r) && n.add(r),
|
|
@@ -1030,9 +1030,9 @@ const mr = ({
|
|
|
1030
1030
|
i.geoCoordinates = typeof s == "number" && typeof a == "number" ? { latitude: s, longitude: a } : null;
|
|
1031
1031
|
}
|
|
1032
1032
|
return [i];
|
|
1033
|
-
},
|
|
1033
|
+
}, xm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1034
1034
|
__proto__: null,
|
|
1035
|
-
VALUE_REFERENCES:
|
|
1035
|
+
VALUE_REFERENCES: Sm,
|
|
1036
1036
|
addItemOrder: Na,
|
|
1037
1037
|
addNotification: ka,
|
|
1038
1038
|
createItemOrder: Ea,
|
|
@@ -1040,14 +1040,14 @@ const mr = ({
|
|
|
1040
1040
|
fetchCartAPI: Xe,
|
|
1041
1041
|
findItemIndex: To,
|
|
1042
1042
|
findOptions: La,
|
|
1043
|
-
findTotalizerValue:
|
|
1043
|
+
findTotalizerValue: wm,
|
|
1044
1044
|
getCategories: Ca,
|
|
1045
1045
|
getCode: Yt,
|
|
1046
1046
|
getQuantity: xa,
|
|
1047
1047
|
getRemoveId: Ia,
|
|
1048
|
-
getSize:
|
|
1049
|
-
getTotalItems:
|
|
1050
|
-
getTotalizer:
|
|
1048
|
+
getSize: Am,
|
|
1049
|
+
getTotalItems: Im,
|
|
1050
|
+
getTotalizer: Rm,
|
|
1051
1051
|
getUrlParameter: $t,
|
|
1052
1052
|
getValue: Aa,
|
|
1053
1053
|
initialState: Ao,
|
|
@@ -1061,8 +1061,8 @@ const mr = ({
|
|
|
1061
1061
|
updateItemSellerExternal: Ra,
|
|
1062
1062
|
updateOrderFormPromise: Ta,
|
|
1063
1063
|
updateQuantity: Sa,
|
|
1064
|
-
wishlistArray:
|
|
1065
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1064
|
+
wishlistArray: Tm
|
|
1065
|
+
}, Symbol.toStringTag, { value: "Module" })), Lm = () => {
|
|
1066
1066
|
const e = async (f, h) => Xe("/api/checkout/order-form/coupon", {
|
|
1067
1067
|
body: {
|
|
1068
1068
|
orderFormId: f,
|
|
@@ -1205,7 +1205,7 @@ const mr = ({
|
|
|
1205
1205
|
) : P : !1)
|
|
1206
1206
|
};
|
|
1207
1207
|
}, xo = "soma::cart", mn = "soma::options", Bt = Ht((e, t) => {
|
|
1208
|
-
const n =
|
|
1208
|
+
const n = Lm(), r = async (i, s, a) => {
|
|
1209
1209
|
e({ loading: !0 });
|
|
1210
1210
|
const c = await Ta(i);
|
|
1211
1211
|
if (typeof c != "boolean") {
|
|
@@ -1330,7 +1330,7 @@ const mr = ({
|
|
|
1330
1330
|
};
|
|
1331
1331
|
}
|
|
1332
1332
|
return Ao;
|
|
1333
|
-
}),
|
|
1333
|
+
}), Om = () => Bt((e) => e), za = Ht((e) => ({
|
|
1334
1334
|
notifications: [],
|
|
1335
1335
|
actions: {
|
|
1336
1336
|
addNotification: (t, n) => e(
|
|
@@ -1344,20 +1344,20 @@ const mr = ({
|
|
|
1344
1344
|
(e) => e.notifications
|
|
1345
1345
|
), ei = () => za(
|
|
1346
1346
|
(e) => e.actions
|
|
1347
|
-
),
|
|
1347
|
+
), km = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1348
1348
|
__proto__: null,
|
|
1349
1349
|
KEY_INDEXED_OPTIONS: mn,
|
|
1350
1350
|
KEY_INDEXED_STORE: xo,
|
|
1351
1351
|
useCartStore: Bt,
|
|
1352
|
-
useGetCartStoreState:
|
|
1352
|
+
useGetCartStoreState: Om,
|
|
1353
1353
|
useGetNotificationActions: ei,
|
|
1354
1354
|
useGetNotificationsStore: Jo
|
|
1355
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1355
|
+
}, Symbol.toStringTag, { value: "Module" })), Mm = 6e3, Fa = Ce({}), ja = ({ children: e, ...t }) => {
|
|
1356
1356
|
const { items: n } = Bt(), [r, i] = k([]), s = ne(null), a = ge(() => Array.isArray(r) && r.length > 0 ? r.map((c) => n.find((l) => l.id === c.id)).filter((c) => c !== void 0) : [], [n, r]);
|
|
1357
1357
|
return Q(() => {
|
|
1358
1358
|
r.length && (clearTimeout(s.current ?? 0), s.current = setTimeout(() => {
|
|
1359
1359
|
i([]);
|
|
1360
|
-
},
|
|
1360
|
+
}, Mm));
|
|
1361
1361
|
}, [r]), /* @__PURE__ */ o(
|
|
1362
1362
|
Fa.Provider,
|
|
1363
1363
|
{
|
|
@@ -1394,7 +1394,7 @@ class Ba {
|
|
|
1394
1394
|
});
|
|
1395
1395
|
}
|
|
1396
1396
|
}
|
|
1397
|
-
const Ua = Ce({}),
|
|
1397
|
+
const Ua = Ce({}), Dm = ({ children: e, headerConfigs: t, pathname: n, ...r }) => {
|
|
1398
1398
|
const [i, s] = k(!0), [a, c] = k(!1), l = n === "/", u = ne(new Ba()), d = (f) => f ? {
|
|
1399
1399
|
headerVariant: t.home_default_variant,
|
|
1400
1400
|
bannerVariant: t.home_default_variant,
|
|
@@ -1439,7 +1439,7 @@ const Ua = Ce({}), $m = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
|
|
|
1439
1439
|
children: /* @__PURE__ */ o(ja, { children: e })
|
|
1440
1440
|
}
|
|
1441
1441
|
);
|
|
1442
|
-
}, ue = () => Ne(Ua), Ha = Ce({}),
|
|
1442
|
+
}, ue = () => Ne(Ua), Ha = Ce({}), $m = ({ children: e, ...t }) => /* @__PURE__ */ o(
|
|
1443
1443
|
Ha.Provider,
|
|
1444
1444
|
{
|
|
1445
1445
|
value: {
|
|
@@ -1461,7 +1461,7 @@ const Ua = Ce({}), $m = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
|
|
|
1461
1461
|
menuMobileIsOpen: !1,
|
|
1462
1462
|
searchModalIsOpen: !1,
|
|
1463
1463
|
userMenuIsOpen: !1
|
|
1464
|
-
}, Sn = /* @__PURE__ */ new Set(),
|
|
1464
|
+
}, Sn = /* @__PURE__ */ new Set(), zm = () => {
|
|
1465
1465
|
Sn.forEach((e) => {
|
|
1466
1466
|
e();
|
|
1467
1467
|
});
|
|
@@ -1479,9 +1479,9 @@ const Ua = Ce({}), $m = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
|
|
|
1479
1479
|
}
|
|
1480
1480
|
}
|
|
1481
1481
|
};
|
|
1482
|
-
}), Va = () => qa((e) => e.value), wn = () => qa((e) => e.actions), Wa = Vt(bn.menuMobileIsOpen, Sn), Ga = () => Wa((e) => e.value), Ka = () => Wa((e) => e.actions), Xa = Vt(bn.searchModalIsOpen, Sn), Ya = () => Xa((e) => e.value), fr = () => Xa((e) => e.actions), Qa = Vt(bn.userMenuIsOpen, Sn), ti = () => Qa((e) => e.value), ni = () => Qa((e) => e.actions),
|
|
1482
|
+
}), Va = () => qa((e) => e.value), wn = () => qa((e) => e.actions), Wa = Vt(bn.menuMobileIsOpen, Sn), Ga = () => Wa((e) => e.value), Ka = () => Wa((e) => e.actions), Xa = Vt(bn.searchModalIsOpen, Sn), Ya = () => Xa((e) => e.value), fr = () => Xa((e) => e.actions), Qa = Vt(bn.userMenuIsOpen, Sn), ti = () => Qa((e) => e.value), ni = () => Qa((e) => e.actions), Fm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1483
1483
|
__proto__: null,
|
|
1484
|
-
resetAllHeaderStores:
|
|
1484
|
+
resetAllHeaderStores: zm,
|
|
1485
1485
|
useActionsHeaderCategory: wn,
|
|
1486
1486
|
useActionsMenuMobileIsOpen: Ka,
|
|
1487
1487
|
useActionsSearchModalIsOpen: fr,
|
|
@@ -1505,7 +1505,7 @@ const Ua = Ce({}), $m = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
|
|
|
1505
1505
|
openMeasurements: !1,
|
|
1506
1506
|
showBottomNavigation: !1,
|
|
1507
1507
|
showNotify: !1
|
|
1508
|
-
}, sn = /* @__PURE__ */ new Set(),
|
|
1508
|
+
}, sn = /* @__PURE__ */ new Set(), jm = () => {
|
|
1509
1509
|
sn.forEach((e) => {
|
|
1510
1510
|
e();
|
|
1511
1511
|
});
|
|
@@ -1524,18 +1524,18 @@ const Ua = Ce({}), $m = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
|
|
|
1524
1524
|
reset: t
|
|
1525
1525
|
}
|
|
1526
1526
|
};
|
|
1527
|
-
}), Rn = () => Za((e) => e.value), Ja = () => Za((e) => e.actions), ec = Vt(rn.openLetMeKnow, sn),
|
|
1527
|
+
}), Rn = () => Za((e) => e.value), Ja = () => Za((e) => e.actions), ec = Vt(rn.openLetMeKnow, sn), Bm = () => ec((e) => e.value), Um = () => ec((e) => e.actions), tc = Vt(rn.showNotify, sn), nc = () => tc((e) => e.value), ri = () => tc((e) => e.actions), rc = Vt(rn.showBottomNavigation, sn), Hm = () => rc((e) => e.value), qm = () => rc((e) => e.actions), oc = Vt(rn.openMeasurements, sn), ic = () => oc((e) => e.value), sc = () => oc((e) => e.actions), Vm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1528
1528
|
__proto__: null,
|
|
1529
|
-
resetAllPDPStores:
|
|
1530
|
-
useActionsPDPOpenLetMeKnow:
|
|
1529
|
+
resetAllPDPStores: jm,
|
|
1530
|
+
useActionsPDPOpenLetMeKnow: Um,
|
|
1531
1531
|
useActionsPDPOpenMeasurements: sc,
|
|
1532
1532
|
useActionsPDPSelectedSkuInfo: Ja,
|
|
1533
|
-
useActionsPDPShowBottomNavigation:
|
|
1533
|
+
useActionsPDPShowBottomNavigation: qm,
|
|
1534
1534
|
useActionsPDPShowNotify: ri,
|
|
1535
|
-
useGetPDPOpenLetMeKnow:
|
|
1535
|
+
useGetPDPOpenLetMeKnow: Bm,
|
|
1536
1536
|
useGetPDPOpenMeasurements: ic,
|
|
1537
1537
|
useGetPDPSelectedSkuInfo: Rn,
|
|
1538
|
-
useGetPDPShowBottomNavigation:
|
|
1538
|
+
useGetPDPShowBottomNavigation: Hm,
|
|
1539
1539
|
useGetPDPShowNotify: nc
|
|
1540
1540
|
}, Symbol.toStringTag, { value: "Module" })), $i = {
|
|
1541
1541
|
feedback: {
|
|
@@ -1583,12 +1583,12 @@ const Ua = Ce({}), $m = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
|
|
|
1583
1583
|
}
|
|
1584
1584
|
}))
|
|
1585
1585
|
}
|
|
1586
|
-
})), an = () => oi((e) => e.value.list), ii = () => oi((e) => e.value.feedback), Wt = () => oi((e) => e.actions),
|
|
1586
|
+
})), an = () => oi((e) => e.value.list), ii = () => oi((e) => e.value.feedback), Wt = () => oi((e) => e.actions), Wm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1587
1587
|
__proto__: null,
|
|
1588
1588
|
useActionsWishlistStore: Wt,
|
|
1589
1589
|
useGetWishlistFeedbackStore: ii,
|
|
1590
1590
|
useGetWishlistStore: an
|
|
1591
|
-
}, Symbol.toStringTag, { value: "Module" })), ac = Ce({}),
|
|
1591
|
+
}, Symbol.toStringTag, { value: "Module" })), ac = Ce({}), Gm = ({
|
|
1592
1592
|
children: e,
|
|
1593
1593
|
headerData: t,
|
|
1594
1594
|
...n
|
|
@@ -1662,15 +1662,15 @@ const Ua = Ce({}), $m = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
|
|
|
1662
1662
|
"useMenuMobileContext must be used within a MenuMobileProvider"
|
|
1663
1663
|
);
|
|
1664
1664
|
return e;
|
|
1665
|
-
},
|
|
1665
|
+
}, Km = (e) => {
|
|
1666
1666
|
if (!e || typeof window > "u")
|
|
1667
1667
|
return 0;
|
|
1668
1668
|
const t = window.getComputedStyle(e);
|
|
1669
1669
|
return parseInt(t.padding, 10);
|
|
1670
|
-
},
|
|
1670
|
+
}, Xm = (e, t, n) => {
|
|
1671
1671
|
if (!(e instanceof HTMLElement) || !(t instanceof HTMLElement))
|
|
1672
1672
|
return { left: 0, top: 0 };
|
|
1673
|
-
const r = t.getBoundingClientRect(), i = e.getBoundingClientRect(), s = e != null && e.parentElement ?
|
|
1673
|
+
const r = t.getBoundingClientRect(), i = e.getBoundingClientRect(), s = e != null && e.parentElement ? Km(e == null ? void 0 : e.parentElement) : 0;
|
|
1674
1674
|
return {
|
|
1675
1675
|
left: r.left + r.width / 2 - (i.width + s),
|
|
1676
1676
|
top: r.top + r.height + n
|
|
@@ -1693,7 +1693,7 @@ const Ua = Ce({}), $m = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
|
|
|
1693
1693
|
"#add-to-cart--tooltip"
|
|
1694
1694
|
);
|
|
1695
1695
|
if (p && f) {
|
|
1696
|
-
const { left: h, top: _ } =
|
|
1696
|
+
const { left: h, top: _ } = Xm(f, p, n ?? 0);
|
|
1697
1697
|
d({ left: h, top: _ }), l(!1);
|
|
1698
1698
|
}
|
|
1699
1699
|
}, [n, i]), /* @__PURE__ */ o(
|
|
@@ -1729,7 +1729,7 @@ const Ua = Ce({}), $m = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
|
|
|
1729
1729
|
"useAddToCartContext must be used within a AddToCartProvider"
|
|
1730
1730
|
);
|
|
1731
1731
|
return e;
|
|
1732
|
-
}, pc = Ce({}),
|
|
1732
|
+
}, pc = Ce({}), Ym = ({
|
|
1733
1733
|
children: e,
|
|
1734
1734
|
SELLER_CODE_VALIDATION_KEYS: t,
|
|
1735
1735
|
CARTPROVIDER_MESSAGE_PRODUCT_REMOVE: n,
|
|
@@ -2016,7 +2016,7 @@ const Ua = Ce({}), $m = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
|
|
|
2016
2016
|
if (e === void 0)
|
|
2017
2017
|
throw new Error("useSearchContext must be used within a SearchProvider");
|
|
2018
2018
|
return e;
|
|
2019
|
-
}, hc = Ce({}),
|
|
2019
|
+
}, hc = Ce({}), Qm = ({
|
|
2020
2020
|
children: e,
|
|
2021
2021
|
...t
|
|
2022
2022
|
}) => /* @__PURE__ */ o(
|
|
@@ -2030,7 +2030,7 @@ const Ua = Ce({}), $m = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
|
|
|
2030
2030
|
if (e === void 0)
|
|
2031
2031
|
throw new Error("usePLPConstants must be used within a PLPConstantsProvider");
|
|
2032
2032
|
return e;
|
|
2033
|
-
}, _c = Ce({}),
|
|
2033
|
+
}, _c = Ce({}), Zm = ({
|
|
2034
2034
|
children: e,
|
|
2035
2035
|
selectedFacets: t
|
|
2036
2036
|
}) => {
|
|
@@ -2121,7 +2121,7 @@ const Ua = Ce({}), $m = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
|
|
|
2121
2121
|
priority: "low"
|
|
2122
2122
|
}),
|
|
2123
2123
|
children: /* @__PURE__ */ o(
|
|
2124
|
-
|
|
2124
|
+
Zm,
|
|
2125
2125
|
{
|
|
2126
2126
|
selectedFacets: (n == null ? void 0 : n.facets) ?? [],
|
|
2127
2127
|
children: e
|
|
@@ -2145,14 +2145,14 @@ const Ua = Ce({}), $m = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
|
|
|
2145
2145
|
discount_desc: "Maior Desconto",
|
|
2146
2146
|
name_asc: "De A a Z"
|
|
2147
2147
|
}
|
|
2148
|
-
},
|
|
2148
|
+
}, Jm = {
|
|
2149
2149
|
nextPage: !1,
|
|
2150
2150
|
previousPage: !1,
|
|
2151
2151
|
startCursor: "0",
|
|
2152
2152
|
endCursor: "0",
|
|
2153
2153
|
count: 0,
|
|
2154
2154
|
total: 0
|
|
2155
|
-
},
|
|
2155
|
+
}, ef = "Imagem do produto", zi = 1, tf = "Sair", nf = (e) => e.exit, Fi = ({
|
|
2156
2156
|
ICONS: e,
|
|
2157
2157
|
storeConfig: t
|
|
2158
2158
|
}) => [
|
|
@@ -2184,10 +2184,10 @@ const Ua = Ce({}), $m = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
|
|
|
2184
2184
|
needToBeAuth: !1,
|
|
2185
2185
|
deviceShown: "mobile"
|
|
2186
2186
|
}
|
|
2187
|
-
],
|
|
2187
|
+
], rf = (e, t) => {
|
|
2188
2188
|
const n = (t ?? "").split("@")[0];
|
|
2189
2189
|
return e ? `Olá${n.length ? ", " : " "}${n}!` : "Olá!";
|
|
2190
|
-
},
|
|
2190
|
+
}, of = (e) => "Seja bem vindo!", sf = "Marque a caixa para aceitar os termos de política de privacidade.", af = "Algumas informações estão incorretas ou não foram preenchidas", cf = "Enviar", vc = Ce({}), lf = ({ children: e }) => {
|
|
2191
2191
|
const { data: t, ...n } = ci(), [r, i] = k(0), { sendDataLayerEvent: s } = fe();
|
|
2192
2192
|
return Q(() => {
|
|
2193
2193
|
if (t && "pagination" in t && t.products.length > 0) {
|
|
@@ -2210,7 +2210,7 @@ const Ua = Ce({}), $m = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
|
|
|
2210
2210
|
() => ({
|
|
2211
2211
|
...n,
|
|
2212
2212
|
products: t && "products" in t ? t == null ? void 0 : t.products : [],
|
|
2213
|
-
pagination: t && "pagination" in t ? t == null ? void 0 : t.pagination :
|
|
2213
|
+
pagination: t && "pagination" in t ? t == null ? void 0 : t.pagination : Jm,
|
|
2214
2214
|
total: r
|
|
2215
2215
|
}),
|
|
2216
2216
|
[t, n, r]
|
|
@@ -2236,7 +2236,7 @@ const Ua = Ce({}), $m = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
|
|
|
2236
2236
|
facets: i.facets ?? []
|
|
2237
2237
|
})
|
|
2238
2238
|
}),
|
|
2239
|
-
children: /* @__PURE__ */ o(
|
|
2239
|
+
children: /* @__PURE__ */ o(lf, { children: e })
|
|
2240
2240
|
}
|
|
2241
2241
|
);
|
|
2242
2242
|
}, In = () => {
|
|
@@ -2244,7 +2244,7 @@ const Ua = Ce({}), $m = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
|
|
|
2244
2244
|
if (e === void 0)
|
|
2245
2245
|
throw new Error("useProductsContext must be used within a ProductsProvider");
|
|
2246
2246
|
return e;
|
|
2247
|
-
}, bc = Ce({}),
|
|
2247
|
+
}, bc = Ce({}), uf = ({
|
|
2248
2248
|
children: e,
|
|
2249
2249
|
slug: t,
|
|
2250
2250
|
searchParams: n,
|
|
@@ -2491,7 +2491,7 @@ const Ua = Ce({}), $m = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
|
|
|
2491
2491
|
endCursor: "1",
|
|
2492
2492
|
count: 1,
|
|
2493
2493
|
total: 1
|
|
2494
|
-
}),
|
|
2494
|
+
}), df = (e, t, n, r, i) => {
|
|
2495
2495
|
const s = e[e.length - 1], a = (s == null ? void 0 : s.products.length) ?? i, c = (e.length - 1) * i + a - 1, l = n[c];
|
|
2496
2496
|
return t.filter((u, d) => {
|
|
2497
2497
|
const m = r[d];
|
|
@@ -2517,7 +2517,7 @@ const Ua = Ce({}), $m = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
|
|
|
2517
2517
|
}, Rc = (e) => Array.isArray(e) ? e.map((t, n) => ({
|
|
2518
2518
|
href: `/${e.slice(0, n + 1).join("/")}`,
|
|
2519
2519
|
name: t
|
|
2520
|
-
})) : [],
|
|
2520
|
+
})) : [], pf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2521
2521
|
__proto__: null,
|
|
2522
2522
|
createBreadcrumb: Rc,
|
|
2523
2523
|
createPage: Pc,
|
|
@@ -2530,10 +2530,10 @@ const Ua = Ce({}), $m = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
|
|
|
2530
2530
|
getPositions: Oo,
|
|
2531
2531
|
getProductsWithVideo: wc,
|
|
2532
2532
|
getRandomVideoPerRow: Sc,
|
|
2533
|
-
getVisibleBanners:
|
|
2533
|
+
getVisibleBanners: df,
|
|
2534
2534
|
hasStateChangedExceptPage: Cc
|
|
2535
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2536
|
-
const n = (a) => Math.min(a,
|
|
2535
|
+
}, Symbol.toStringTag, { value: "Module" })), mf = 50, ff = Ht((e, t) => {
|
|
2536
|
+
const n = (a) => Math.min(a, mf), r = async (a, c) => {
|
|
2537
2537
|
const l = n(a.page);
|
|
2538
2538
|
try {
|
|
2539
2539
|
const u = await Lo({ ...a, page: l });
|
|
@@ -2600,7 +2600,7 @@ const Ua = Ce({}), $m = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
|
|
|
2600
2600
|
l != null && l.loading || s(a, c);
|
|
2601
2601
|
}
|
|
2602
2602
|
};
|
|
2603
|
-
}),
|
|
2603
|
+
}), hf = (e, t, n, r = 0) => {
|
|
2604
2604
|
if (!e.length)
|
|
2605
2605
|
return [];
|
|
2606
2606
|
let i = 0;
|
|
@@ -2629,9 +2629,9 @@ const Ua = Ce({}), $m = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
|
|
|
2629
2629
|
size: Go(n),
|
|
2630
2630
|
skuID: "sku" in n && n.sku
|
|
2631
2631
|
}))) == null ? void 0 : t.filter((n) => n.disable);
|
|
2632
|
-
},
|
|
2632
|
+
}, _f = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2633
2633
|
__proto__: null,
|
|
2634
|
-
createGridPosAndVideo:
|
|
2634
|
+
createGridPosAndVideo: hf,
|
|
2635
2635
|
getSkusNotify: hr,
|
|
2636
2636
|
isPositionInCurrentPage: Ic
|
|
2637
2637
|
}, Symbol.toStringTag, { value: "Module" })), Ac = ({ isMobile: e, ICONS: t, NOTIFY_INFO: n }) => /* @__PURE__ */ C(q, { children: [
|
|
@@ -2705,7 +2705,7 @@ function mi(e, t, n = {}) {
|
|
|
2705
2705
|
i[a] !== void 0 && (s += `; ${a}`, a === "expires" ? s += `=${i[a].toUTCString()}` : typeof i[a] == "boolean" ? s += `; ${i[a] ? "true" : "false"}` : s += `=${i[a]}`);
|
|
2706
2706
|
window.document.cookie = s;
|
|
2707
2707
|
}
|
|
2708
|
-
const
|
|
2708
|
+
const gf = () => {
|
|
2709
2709
|
const { sendDataLayerEvent: e } = fe(), { user: t } = cn(), { cartStore: n } = ke();
|
|
2710
2710
|
return Q(() => {
|
|
2711
2711
|
if (!t)
|
|
@@ -2751,7 +2751,7 @@ const yf = () => {
|
|
|
2751
2751
|
loading: !0,
|
|
2752
2752
|
logout: () => null,
|
|
2753
2753
|
getCurrentCredits: () => ({ credits: 0, cashback: 0 })
|
|
2754
|
-
}),
|
|
2754
|
+
}), yf = ({
|
|
2755
2755
|
children: e,
|
|
2756
2756
|
AUTH_TOKEN_COOKIE: t
|
|
2757
2757
|
}) => {
|
|
@@ -2811,7 +2811,7 @@ const yf = () => {
|
|
|
2811
2811
|
[i, l, c]
|
|
2812
2812
|
),
|
|
2813
2813
|
children: [
|
|
2814
|
-
/* @__PURE__ */ o(
|
|
2814
|
+
/* @__PURE__ */ o(gf, {}),
|
|
2815
2815
|
e
|
|
2816
2816
|
]
|
|
2817
2817
|
}
|
|
@@ -2951,7 +2951,7 @@ const bt = {
|
|
|
2951
2951
|
Option: Mc,
|
|
2952
2952
|
Title: $c,
|
|
2953
2953
|
Root: Dc
|
|
2954
|
-
},
|
|
2954
|
+
}, vf = (e, t) => {
|
|
2955
2955
|
if (!e || !t)
|
|
2956
2956
|
return !1;
|
|
2957
2957
|
const n = Object.keys(e);
|
|
@@ -2967,7 +2967,7 @@ const bt = {
|
|
|
2967
2967
|
/* @__PURE__ */ C(bt.Root, { className: vt["notify--selector"], children: [
|
|
2968
2968
|
/* @__PURE__ */ o(bt.Title, { title: t }),
|
|
2969
2969
|
/* @__PURE__ */ o(bt.List, { children: Array.isArray(n) && n.map((s, a) => {
|
|
2970
|
-
const c =
|
|
2970
|
+
const c = vf(r, s);
|
|
2971
2971
|
return /* @__PURE__ */ o(
|
|
2972
2972
|
bt.Option,
|
|
2973
2973
|
{
|
|
@@ -3119,7 +3119,7 @@ const jc = Ce({}), Bc = ({ banners: e, children: t }) => {
|
|
|
3119
3119
|
NOTIFY_INFO: a,
|
|
3120
3120
|
PRODUCT_CARD_TEXTS: c,
|
|
3121
3121
|
Z_INDEX_WAR: l
|
|
3122
|
-
} = ot(), { router: u } = ve(), { sendDataLayerEvent: d } = fe(), { isMobile: m } = ue(), { state: p } = at(), { addPage: f, createPages: h, updateProducts: _, ...g } =
|
|
3122
|
+
} = ot(), { router: u } = ve(), { sendDataLayerEvent: d } = fe(), { isMobile: m } = ue(), { state: p } = at(), { addPage: f, createPages: h, updateProducts: _, ...g } = ff(), v = m ? 8 : 16, P = m ? 2 : 4, b = ne(!1), y = ne(p), [S, N] = k(!1), [E, R] = k(null), [x, T] = k([]), L = ie(
|
|
3123
3123
|
(U) => {
|
|
3124
3124
|
U && "pagination" in U && d({
|
|
3125
3125
|
functionKey: "productListEvent",
|
|
@@ -3220,7 +3220,7 @@ const jc = Ce({}), Bc = ({ banners: e, children: t }) => {
|
|
|
3220
3220
|
}, Uc = Ce({
|
|
3221
3221
|
gridBanners: void 0,
|
|
3222
3222
|
banners: []
|
|
3223
|
-
}),
|
|
3223
|
+
}), bf = ({
|
|
3224
3224
|
children: e,
|
|
3225
3225
|
data: t,
|
|
3226
3226
|
device: n,
|
|
@@ -3293,7 +3293,7 @@ const jc = Ce({}), Bc = ({ banners: e, children: t }) => {
|
|
|
3293
3293
|
return e;
|
|
3294
3294
|
}, Vc = Ce({
|
|
3295
3295
|
product: void 0
|
|
3296
|
-
}),
|
|
3296
|
+
}), Cf = ({
|
|
3297
3297
|
children: e,
|
|
3298
3298
|
data: t,
|
|
3299
3299
|
productId: n,
|
|
@@ -3312,8 +3312,8 @@ const jc = Ce({}), Bc = ({ banners: e, children: t }) => {
|
|
|
3312
3312
|
] }), Wc = () => {
|
|
3313
3313
|
const e = Ne(Vc);
|
|
3314
3314
|
return e || console.error("use this hook only inside PDPContentProvider hierarchy"), e;
|
|
3315
|
-
},
|
|
3316
|
-
function
|
|
3315
|
+
}, Ef = (e) => e.normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/\s+/g, "-").toLowerCase().trim();
|
|
3316
|
+
function Nf(e, t = 1e3) {
|
|
3317
3317
|
let n = !1;
|
|
3318
3318
|
return (...r) => {
|
|
3319
3319
|
n || (e(...r), n = !0, setTimeout(() => {
|
|
@@ -3321,7 +3321,7 @@ function Pf(e, t = 1e3) {
|
|
|
3321
3321
|
}, t));
|
|
3322
3322
|
};
|
|
3323
3323
|
}
|
|
3324
|
-
function
|
|
3324
|
+
function Pf(e, t = 1e3) {
|
|
3325
3325
|
let n;
|
|
3326
3326
|
return (...r) => {
|
|
3327
3327
|
clearTimeout(n), n = setTimeout(() => {
|
|
@@ -3329,13 +3329,13 @@ function Sf(e, t = 1e3) {
|
|
|
3329
3329
|
}, t);
|
|
3330
3330
|
};
|
|
3331
3331
|
}
|
|
3332
|
-
const Gc = (e, t) => t.getTime() > e.getTime() ? Math.abs(t.getTime() - e.getTime()) : 0, fn = (e, t) => Math.floor(t === "days" ? e / (1e3 * 60 * 60 * 24) : t === "hours" ? e % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60) : t === "minutes" ? e % (1e3 * 60 * 60) / (1e3 * 60) : e % (1e3 * 60) / 1e3),
|
|
3333
|
-
const t =
|
|
3332
|
+
const Gc = (e, t) => t.getTime() > e.getTime() ? Math.abs(t.getTime() - e.getTime()) : 0, fn = (e, t) => Math.floor(t === "days" ? e / (1e3 * 60 * 60 * 24) : t === "hours" ? e % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60) : t === "minutes" ? e % (1e3 * 60 * 60) / (1e3 * 60) : e % (1e3 * 60) / 1e3), Sf = (e) => {
|
|
3333
|
+
const t = sm(e ?? "");
|
|
3334
3334
|
return {
|
|
3335
3335
|
email: t.sub,
|
|
3336
3336
|
userId: t.userId
|
|
3337
3337
|
};
|
|
3338
|
-
},
|
|
3338
|
+
}, wf = [
|
|
3339
3339
|
"name",
|
|
3340
3340
|
"email",
|
|
3341
3341
|
"phone",
|
|
@@ -3358,23 +3358,23 @@ const Gc = (e, t) => t.getTime() > e.getTime() ? Math.abs(t.getTime() - e.getTim
|
|
|
3358
3358
|
return !0;
|
|
3359
3359
|
const r = t.trim();
|
|
3360
3360
|
return Bi[e].test(r);
|
|
3361
|
-
},
|
|
3361
|
+
}, Rf = (e) => {
|
|
3362
3362
|
const t = /\/(\d+)-\d+-\d+\/(.+?)\./, n = typeof e == "string" ? e.match(t) : null;
|
|
3363
|
-
return n ? n[2].replace(/-/g, " ") :
|
|
3364
|
-
},
|
|
3363
|
+
return n ? n[2].replace(/-/g, " ") : ef;
|
|
3364
|
+
}, If = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3365
3365
|
__proto__: null,
|
|
3366
|
-
FieldTypes:
|
|
3367
|
-
debounce:
|
|
3368
|
-
getAltTextFromUrl:
|
|
3369
|
-
getAuthenticatedUser:
|
|
3366
|
+
FieldTypes: wf,
|
|
3367
|
+
debounce: Pf,
|
|
3368
|
+
getAltTextFromUrl: Rf,
|
|
3369
|
+
getAuthenticatedUser: Sf,
|
|
3370
3370
|
getCookie: Tc,
|
|
3371
3371
|
getDaysHoursMinutesSeconds: fn,
|
|
3372
3372
|
getMilliSeconds: Gc,
|
|
3373
|
-
removeAccentsAndReplaceSpaces:
|
|
3373
|
+
removeAccentsAndReplaceSpaces: Ef,
|
|
3374
3374
|
setCookie: mi,
|
|
3375
|
-
throttle:
|
|
3375
|
+
throttle: Nf,
|
|
3376
3376
|
validateInput: Kc
|
|
3377
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3377
|
+
}, Symbol.toStringTag, { value: "Module" })), Af = ({ fields: e }) => {
|
|
3378
3378
|
const t = {};
|
|
3379
3379
|
return {
|
|
3380
3380
|
mountedFields: (e == null ? void 0 : e.reduce((r, i) => (t[i.master_data_field] = "none", {
|
|
@@ -3383,7 +3383,7 @@ const Gc = (e, t) => t.getTime() > e.getTime() ? Math.abs(t.getTime() - e.getTim
|
|
|
3383
3383
|
}), {})) ?? {},
|
|
3384
3384
|
mountedInputsStatus: t
|
|
3385
3385
|
};
|
|
3386
|
-
},
|
|
3386
|
+
}, Tf = ({
|
|
3387
3387
|
formData: e,
|
|
3388
3388
|
mountedFields: t,
|
|
3389
3389
|
inputsStatus: n,
|
|
@@ -3423,7 +3423,7 @@ const Gc = (e, t) => t.getTime() > e.getTime() ? Math.abs(t.getTime() - e.getTim
|
|
|
3423
3423
|
mountedFields: l,
|
|
3424
3424
|
mountedInputsStatus: u
|
|
3425
3425
|
} = ge(
|
|
3426
|
-
() =>
|
|
3426
|
+
() => Af({
|
|
3427
3427
|
fields: n
|
|
3428
3428
|
}),
|
|
3429
3429
|
[n]
|
|
@@ -3525,7 +3525,7 @@ const Gc = (e, t) => t.getTime() > e.getTime() ? Math.abs(t.getTime() - e.getTim
|
|
|
3525
3525
|
(N) => {
|
|
3526
3526
|
const E = new FormData(
|
|
3527
3527
|
N.currentTarget.parentElement
|
|
3528
|
-
), { hasEmptyFields: R, hasErrors: x, inputStatusToUpdate: T } =
|
|
3528
|
+
), { hasEmptyFields: R, hasErrors: x, inputStatusToUpdate: T } = Tf(
|
|
3529
3529
|
{
|
|
3530
3530
|
formData: E,
|
|
3531
3531
|
mountedFields: l,
|
|
@@ -3588,7 +3588,7 @@ const Gc = (e, t) => t.getTime() > e.getTime() ? Math.abs(t.getTime() - e.getTim
|
|
|
3588
3588
|
"useNewsletterContext must be used within a NewsletterProvider"
|
|
3589
3589
|
);
|
|
3590
3590
|
return e;
|
|
3591
|
-
},
|
|
3591
|
+
}, xf = {
|
|
3592
3592
|
contexts: {
|
|
3593
3593
|
addToCart: {
|
|
3594
3594
|
hook: Gt,
|
|
@@ -3596,13 +3596,13 @@ const Gc = (e, t) => t.getTime() > e.getTime() ? Math.abs(t.getTime() - e.getTim
|
|
|
3596
3596
|
},
|
|
3597
3597
|
cart: {
|
|
3598
3598
|
hook: ke,
|
|
3599
|
-
provider:
|
|
3599
|
+
provider: Ym
|
|
3600
3600
|
},
|
|
3601
3601
|
cms: {
|
|
3602
3602
|
FlagsAndTags: {
|
|
3603
3603
|
context: Yo,
|
|
3604
3604
|
hook: Mt,
|
|
3605
|
-
provider:
|
|
3605
|
+
provider: pm
|
|
3606
3606
|
}
|
|
3607
3607
|
},
|
|
3608
3608
|
newsletter: {
|
|
@@ -3611,16 +3611,16 @@ const Gc = (e, t) => t.getTime() > e.getTime() ? Math.abs(t.getTime() - e.getTim
|
|
|
3611
3611
|
},
|
|
3612
3612
|
events: {
|
|
3613
3613
|
hook: fe,
|
|
3614
|
-
provider:
|
|
3614
|
+
provider: bm
|
|
3615
3615
|
},
|
|
3616
3616
|
global: {
|
|
3617
3617
|
hook: ue,
|
|
3618
|
-
provider:
|
|
3618
|
+
provider: Dm,
|
|
3619
3619
|
mediator: Ba
|
|
3620
3620
|
},
|
|
3621
3621
|
header: {
|
|
3622
3622
|
hook: je,
|
|
3623
|
-
provider:
|
|
3623
|
+
provider: Gm
|
|
3624
3624
|
},
|
|
3625
3625
|
menuMobile: {
|
|
3626
3626
|
hook: si,
|
|
@@ -3628,17 +3628,17 @@ const Gc = (e, t) => t.getTime() > e.getTime() ? Math.abs(t.getTime() - e.getTim
|
|
|
3628
3628
|
},
|
|
3629
3629
|
next: {
|
|
3630
3630
|
hook: ve,
|
|
3631
|
-
provider:
|
|
3631
|
+
provider: $m
|
|
3632
3632
|
},
|
|
3633
3633
|
pdp: {
|
|
3634
|
-
provider:
|
|
3634
|
+
provider: mm
|
|
3635
3635
|
},
|
|
3636
3636
|
PDPContent: {
|
|
3637
|
-
provider:
|
|
3637
|
+
provider: Cf,
|
|
3638
3638
|
hook: Wc
|
|
3639
3639
|
},
|
|
3640
3640
|
plp: {
|
|
3641
|
-
provider:
|
|
3641
|
+
provider: uf,
|
|
3642
3642
|
hook: di
|
|
3643
3643
|
},
|
|
3644
3644
|
plpFilter: {
|
|
@@ -3646,7 +3646,7 @@ const Gc = (e, t) => t.getTime() > e.getTime() ? Math.abs(t.getTime() - e.getTim
|
|
|
3646
3646
|
provider: qc
|
|
3647
3647
|
},
|
|
3648
3648
|
PLPContent: {
|
|
3649
|
-
provider:
|
|
3649
|
+
provider: bf,
|
|
3650
3650
|
hook: gr
|
|
3651
3651
|
},
|
|
3652
3652
|
plpInfinite: {
|
|
@@ -3654,7 +3654,7 @@ const Gc = (e, t) => t.getTime() > e.getTime() ? Math.abs(t.getTime() - e.getTim
|
|
|
3654
3654
|
hook: Rt
|
|
3655
3655
|
},
|
|
3656
3656
|
pdpdata: {
|
|
3657
|
-
provider:
|
|
3657
|
+
provider: Cm
|
|
3658
3658
|
},
|
|
3659
3659
|
searchFacets: {
|
|
3660
3660
|
hook: yc,
|
|
@@ -3674,7 +3674,7 @@ const Gc = (e, t) => t.getTime() > e.getTime() ? Math.abs(t.getTime() - e.getTim
|
|
|
3674
3674
|
},
|
|
3675
3675
|
session: {
|
|
3676
3676
|
hook: cn,
|
|
3677
|
-
provider:
|
|
3677
|
+
provider: yf
|
|
3678
3678
|
},
|
|
3679
3679
|
ui: {
|
|
3680
3680
|
hook: Pn,
|
|
@@ -3683,27 +3683,27 @@ const Gc = (e, t) => t.getTime() > e.getTime() ? Math.abs(t.getTime() - e.getTim
|
|
|
3683
3683
|
},
|
|
3684
3684
|
hooks: {
|
|
3685
3685
|
useBackPDC: la,
|
|
3686
|
-
useClipboard:
|
|
3686
|
+
useClipboard: Em,
|
|
3687
3687
|
useDisableZoom: va,
|
|
3688
|
-
useLocalStorage:
|
|
3688
|
+
useLocalStorage: Pm,
|
|
3689
3689
|
useOnScreen: Qo,
|
|
3690
3690
|
useSentinel: mr,
|
|
3691
3691
|
useTouchZoomPan: ba
|
|
3692
3692
|
},
|
|
3693
3693
|
stores: {
|
|
3694
|
-
cart:
|
|
3695
|
-
header:
|
|
3696
|
-
pdp:
|
|
3697
|
-
wishlist:
|
|
3694
|
+
cart: km,
|
|
3695
|
+
header: Fm,
|
|
3696
|
+
pdp: Vm,
|
|
3697
|
+
wishlist: Wm
|
|
3698
3698
|
}
|
|
3699
|
-
},
|
|
3700
|
-
cart:
|
|
3701
|
-
events:
|
|
3702
|
-
plp:
|
|
3703
|
-
product:
|
|
3704
|
-
utils:
|
|
3699
|
+
}, Lf = {
|
|
3700
|
+
cart: xm,
|
|
3701
|
+
events: vm,
|
|
3702
|
+
plp: pf,
|
|
3703
|
+
product: Kp,
|
|
3704
|
+
utils: If
|
|
3705
3705
|
}, Qc = {
|
|
3706
|
-
helpers:
|
|
3706
|
+
helpers: Lf
|
|
3707
3707
|
}, dt = {
|
|
3708
3708
|
"add-to-cart--card": "_add-to-cart--card_4v41y_1",
|
|
3709
3709
|
"add-to-cart--card--content": "_add-to-cart--card--content_4v41y_7",
|
|
@@ -3797,11 +3797,11 @@ const Jc = ({
|
|
|
3797
3797
|
);
|
|
3798
3798
|
};
|
|
3799
3799
|
Jc.displayName = "AddToCart.Card.PriceQuantity";
|
|
3800
|
-
const
|
|
3801
|
-
skeleton:
|
|
3802
|
-
}, el = ({ style: e }) => /* @__PURE__ */ o("div", { style: e, className:
|
|
3803
|
-
image:
|
|
3804
|
-
},
|
|
3800
|
+
const Of = "_skeleton_12b79_1", kf = {
|
|
3801
|
+
skeleton: Of
|
|
3802
|
+
}, el = ({ style: e }) => /* @__PURE__ */ o("div", { style: e, className: kf.skeleton }), Mf = "_image_1y08u_1", Df = {
|
|
3803
|
+
image: Mf
|
|
3804
|
+
}, $f = ({
|
|
3805
3805
|
alt: e,
|
|
3806
3806
|
className: t,
|
|
3807
3807
|
objectFit: n,
|
|
@@ -3814,13 +3814,13 @@ const kf = "_skeleton_12b79_1", Mf = {
|
|
|
3814
3814
|
quality: 90,
|
|
3815
3815
|
...r,
|
|
3816
3816
|
alt: e ?? "",
|
|
3817
|
-
className: z.classNameConcat(
|
|
3817
|
+
className: z.classNameConcat(Df.image, t),
|
|
3818
3818
|
"data-object-fit": n ?? "cover"
|
|
3819
3819
|
}
|
|
3820
3820
|
);
|
|
3821
|
-
},
|
|
3822
|
-
Image:
|
|
3823
|
-
Video:
|
|
3821
|
+
}, zf = ({ videoRef: e, ...t }) => /* @__PURE__ */ o("video", { ...t, ref: e, children: /* @__PURE__ */ o("track", { kind: "captions" }) }), qe = {
|
|
3822
|
+
Image: $f,
|
|
3823
|
+
Video: zf
|
|
3824
3824
|
}, tl = ({
|
|
3825
3825
|
className: e,
|
|
3826
3826
|
productGroupID: t,
|
|
@@ -3883,7 +3883,7 @@ const kf = "_skeleton_12b79_1", Mf = {
|
|
|
3883
3883
|
);
|
|
3884
3884
|
};
|
|
3885
3885
|
tl.displayName = "AddToCart.Card.StyleSize";
|
|
3886
|
-
const { helpers:
|
|
3886
|
+
const { helpers: Ff } = Qc, nl = ({ className: e, item: t, texture: n, ...r }) => {
|
|
3887
3887
|
const {
|
|
3888
3888
|
itemOffered: {
|
|
3889
3889
|
name: i,
|
|
@@ -3894,7 +3894,7 @@ const { helpers: jf } = Qc, nl = ({ className: e, item: t, texture: n, ...r }) =
|
|
|
3894
3894
|
quantity: l,
|
|
3895
3895
|
price: u,
|
|
3896
3896
|
sellingPrice: d
|
|
3897
|
-
} = t, { CONSTANTS: { NAME_SPLIT_SYMBOL: m } } = Gt(), { size: p } =
|
|
3897
|
+
} = t, { CONSTANTS: { NAME_SPLIT_SYMBOL: m } } = Gt(), { size: p } = Ff.product.getColorAndSizeFromSkuName(a ?? i, m);
|
|
3898
3898
|
return /* @__PURE__ */ C(
|
|
3899
3899
|
"div",
|
|
3900
3900
|
{
|
|
@@ -4090,7 +4090,7 @@ const cl = ({ children: e, Z_INDEX_WAR: t }) => {
|
|
|
4090
4090
|
);
|
|
4091
4091
|
};
|
|
4092
4092
|
cl.displayName = "AddToCart.Modal";
|
|
4093
|
-
const
|
|
4093
|
+
const jf = ({ children: e }) => {
|
|
4094
4094
|
const { count: t, handleClose: n, setIsOpen: r } = Gt(), i = ne(t);
|
|
4095
4095
|
return Q(() => {
|
|
4096
4096
|
t > i.current && r(!0), t < i.current && i.current >= 1 && n(), i.current = t;
|
|
@@ -4104,7 +4104,7 @@ const Bf = ({ children: e }) => {
|
|
|
4104
4104
|
count: a,
|
|
4105
4105
|
isMobile: s,
|
|
4106
4106
|
CONSTANTS: n,
|
|
4107
|
-
children: /* @__PURE__ */ o(
|
|
4107
|
+
children: /* @__PURE__ */ o(jf, { children: s ? /* @__PURE__ */ C(q, { children: [
|
|
4108
4108
|
/* @__PURE__ */ o(jt.Modal, { Z_INDEX_WAR: n.Z_INDEX_WAR, children: t }),
|
|
4109
4109
|
e
|
|
4110
4110
|
] }) : /* @__PURE__ */ o(jt.Tooltip, { component: t, style: { width: 350 }, Z_INDEX_WAR: n.Z_INDEX_WAR, children: e }) })
|
|
@@ -4169,7 +4169,7 @@ gi.displayName = "AddToCart";
|
|
|
4169
4169
|
const Ui = {
|
|
4170
4170
|
"backtotop-btn": "_backtotop-btn_1shb6_1",
|
|
4171
4171
|
"card-modifier": "_card-modifier_1shb6_27"
|
|
4172
|
-
},
|
|
4172
|
+
}, Bf = ({
|
|
4173
4173
|
children: e,
|
|
4174
4174
|
className: t,
|
|
4175
4175
|
adornment: n,
|
|
@@ -4218,16 +4218,16 @@ const Ui = {
|
|
|
4218
4218
|
)
|
|
4219
4219
|
}
|
|
4220
4220
|
);
|
|
4221
|
-
},
|
|
4221
|
+
}, Uf = "_container_1sy8s_16", xt = {
|
|
4222
4222
|
"carousel-container": "_carousel-container_1sy8s_1",
|
|
4223
4223
|
"add-cart-container": "_add-cart-container_1sy8s_8",
|
|
4224
|
-
container:
|
|
4224
|
+
container: Uf,
|
|
4225
4225
|
"add-itens-to-cart-container": "_add-itens-to-cart-container_1sy8s_38",
|
|
4226
4226
|
"add-itens-to-cart-container-values": "_add-itens-to-cart-container-values_1sy8s_45",
|
|
4227
4227
|
"add-itens-to-cart-qty-products": "_add-itens-to-cart-qty-products_1sy8s_50",
|
|
4228
4228
|
"add-itens-to-cart-total": "_add-itens-to-cart-total_1sy8s_60",
|
|
4229
4229
|
"add-button": "_add-button_1sy8s_70"
|
|
4230
|
-
},
|
|
4230
|
+
}, Hf = ({
|
|
4231
4231
|
selectedProducts: e,
|
|
4232
4232
|
handleAddAllToCart: t,
|
|
4233
4233
|
CONSTANTS: n
|
|
@@ -4254,7 +4254,7 @@ const Ui = {
|
|
|
4254
4254
|
}
|
|
4255
4255
|
)
|
|
4256
4256
|
] });
|
|
4257
|
-
},
|
|
4257
|
+
}, qf = (e) => e.reduce((t, n) => {
|
|
4258
4258
|
var i;
|
|
4259
4259
|
const r = t.find((s) => s.node.id === n.node.id);
|
|
4260
4260
|
if (!r)
|
|
@@ -4264,7 +4264,7 @@ const Ui = {
|
|
|
4264
4264
|
s && a && (r.node.isVariantOf.hasVariant = [...s, ...a]);
|
|
4265
4265
|
}
|
|
4266
4266
|
return t;
|
|
4267
|
-
}, []),
|
|
4267
|
+
}, []), Vf = ({
|
|
4268
4268
|
selectedProduct: e,
|
|
4269
4269
|
productId: t,
|
|
4270
4270
|
prevState: n,
|
|
@@ -4316,7 +4316,7 @@ const Ui = {
|
|
|
4316
4316
|
} catch (a) {
|
|
4317
4317
|
return console.error("Error handling SKU selection:", a), n;
|
|
4318
4318
|
}
|
|
4319
|
-
}, dl = Ce({}),
|
|
4319
|
+
}, dl = Ce({}), Wf = ({
|
|
4320
4320
|
children: e,
|
|
4321
4321
|
item: t,
|
|
4322
4322
|
index: n,
|
|
@@ -4502,7 +4502,7 @@ const ml = ({
|
|
|
4502
4502
|
);
|
|
4503
4503
|
};
|
|
4504
4504
|
ml.displayName = "ProductCard.Actions.BuyButton";
|
|
4505
|
-
const
|
|
4505
|
+
const Gf = {
|
|
4506
4506
|
"snackbar-modifier": "_snackbar-modifier_1va2l_1"
|
|
4507
4507
|
}, en = ({
|
|
4508
4508
|
size: e,
|
|
@@ -4519,7 +4519,7 @@ const Kf = {
|
|
|
4519
4519
|
...c,
|
|
4520
4520
|
size: e,
|
|
4521
4521
|
className: z.classNameConcat(
|
|
4522
|
-
|
|
4522
|
+
Gf["snackbar-modifier"],
|
|
4523
4523
|
s
|
|
4524
4524
|
),
|
|
4525
4525
|
width: 360,
|
|
@@ -4548,8 +4548,8 @@ const yn = {
|
|
|
4548
4548
|
"pdc-empty-modifier": "_pdc-empty-modifier_3qi1o_49"
|
|
4549
4549
|
};
|
|
4550
4550
|
var ko = { exports: {} }, Ze = {};
|
|
4551
|
-
Ze._ = Ze._interop_require_default =
|
|
4552
|
-
function
|
|
4551
|
+
Ze._ = Ze._interop_require_default = Kf;
|
|
4552
|
+
function Kf(e) {
|
|
4553
4553
|
return e && e.__esModule ? e : { default: e };
|
|
4554
4554
|
}
|
|
4555
4555
|
var Dn = { exports: {} }, xr = {}, Hi;
|
|
@@ -4611,8 +4611,8 @@ function hl(e) {
|
|
|
4611
4611
|
return r ? n : t;
|
|
4612
4612
|
})(e);
|
|
4613
4613
|
}
|
|
4614
|
-
on._ = on._interop_require_wildcard =
|
|
4615
|
-
function
|
|
4614
|
+
on._ = on._interop_require_wildcard = Xf;
|
|
4615
|
+
function Xf(e, t) {
|
|
4616
4616
|
if (!t && e && e.__esModule) return e;
|
|
4617
4617
|
if (e === null || typeof e != "object" && typeof e != "function") return { default: e };
|
|
4618
4618
|
var n = hl(t);
|
|
@@ -4677,7 +4677,7 @@ function _l() {
|
|
|
4677
4677
|
}(Lr)), Lr;
|
|
4678
4678
|
}
|
|
4679
4679
|
var Or = {}, Vi;
|
|
4680
|
-
function
|
|
4680
|
+
function Yf() {
|
|
4681
4681
|
return Vi || (Vi = 1, function(e) {
|
|
4682
4682
|
Object.defineProperty(e, "__esModule", {
|
|
4683
4683
|
value: !0
|
|
@@ -4931,7 +4931,7 @@ function yl() {
|
|
|
4931
4931
|
}(zr)), zr;
|
|
4932
4932
|
}
|
|
4933
4933
|
var Qi;
|
|
4934
|
-
function
|
|
4934
|
+
function Qf() {
|
|
4935
4935
|
return Qi || (Qi = 1, function(e, t) {
|
|
4936
4936
|
Object.defineProperty(t, "__esModule", {
|
|
4937
4937
|
value: !0
|
|
@@ -4959,7 +4959,7 @@ function vl() {
|
|
|
4959
4959
|
return r;
|
|
4960
4960
|
}
|
|
4961
4961
|
});
|
|
4962
|
-
const t = yr(), n =
|
|
4962
|
+
const t = yr(), n = Qf();
|
|
4963
4963
|
function r(i) {
|
|
4964
4964
|
if (!(0, t.isAbsoluteUrl)(i)) return !0;
|
|
4965
4965
|
try {
|
|
@@ -4972,7 +4972,7 @@ function vl() {
|
|
|
4972
4972
|
}($r)), $r;
|
|
4973
4973
|
}
|
|
4974
4974
|
var Fr = {}, jr = {}, Ji;
|
|
4975
|
-
function
|
|
4975
|
+
function Zf() {
|
|
4976
4976
|
return Ji || (Ji = 1, function(e) {
|
|
4977
4977
|
Object.defineProperty(e, "__esModule", {
|
|
4978
4978
|
value: !0
|
|
@@ -5059,7 +5059,7 @@ function Jf() {
|
|
|
5059
5059
|
}(jr)), jr;
|
|
5060
5060
|
}
|
|
5061
5061
|
var Br = {}, Ur = {}, Hr = {}, qr = {}, es;
|
|
5062
|
-
function
|
|
5062
|
+
function Jf() {
|
|
5063
5063
|
return es || (es = 1, function(e) {
|
|
5064
5064
|
Object.defineProperty(e, "__esModule", {
|
|
5065
5065
|
value: !0
|
|
@@ -5075,7 +5075,7 @@ function eh() {
|
|
|
5075
5075
|
}(qr)), qr;
|
|
5076
5076
|
}
|
|
5077
5077
|
var Vr = {}, ts;
|
|
5078
|
-
function
|
|
5078
|
+
function eh() {
|
|
5079
5079
|
return ts || (ts = 1, function(e) {
|
|
5080
5080
|
Object.defineProperty(e, "__esModule", {
|
|
5081
5081
|
value: !0
|
|
@@ -5104,7 +5104,7 @@ function th() {
|
|
|
5104
5104
|
}(Vr)), Vr;
|
|
5105
5105
|
}
|
|
5106
5106
|
var ns;
|
|
5107
|
-
function
|
|
5107
|
+
function th() {
|
|
5108
5108
|
return ns || (ns = 1, function(e) {
|
|
5109
5109
|
Object.defineProperty(e, "__esModule", {
|
|
5110
5110
|
value: !0
|
|
@@ -5123,7 +5123,7 @@ function nh() {
|
|
|
5123
5123
|
return s;
|
|
5124
5124
|
}
|
|
5125
5125
|
});
|
|
5126
|
-
const n =
|
|
5126
|
+
const n = Jf(), r = eh();
|
|
5127
5127
|
function i(a) {
|
|
5128
5128
|
return (0, n.ensureLeadingSlash)(a.split("/").reduce((c, l, u, d) => !l || (0, r.isGroupSegment)(l) || l[0] === "@" || (l === "page" || l === "route") && u === d.length - 1 ? c : c + "/" + l, ""));
|
|
5129
5129
|
}
|
|
@@ -5159,7 +5159,7 @@ function bl() {
|
|
|
5159
5159
|
return i;
|
|
5160
5160
|
}
|
|
5161
5161
|
});
|
|
5162
|
-
const n =
|
|
5162
|
+
const n = th(), r = [
|
|
5163
5163
|
"(..)(..)",
|
|
5164
5164
|
"(.)",
|
|
5165
5165
|
"(..)",
|
|
@@ -5206,7 +5206,7 @@ function bl() {
|
|
|
5206
5206
|
}(Ur)), Ur;
|
|
5207
5207
|
}
|
|
5208
5208
|
var os;
|
|
5209
|
-
function
|
|
5209
|
+
function nh() {
|
|
5210
5210
|
return os || (os = 1, function(e) {
|
|
5211
5211
|
Object.defineProperty(e, "__esModule", {
|
|
5212
5212
|
value: !0
|
|
@@ -5223,7 +5223,7 @@ function rh() {
|
|
|
5223
5223
|
}(Br)), Br;
|
|
5224
5224
|
}
|
|
5225
5225
|
var is;
|
|
5226
|
-
function
|
|
5226
|
+
function rh() {
|
|
5227
5227
|
return is || (is = 1, function(e) {
|
|
5228
5228
|
Object.defineProperty(e, "__esModule", {
|
|
5229
5229
|
value: !0
|
|
@@ -5242,11 +5242,11 @@ function oh() {
|
|
|
5242
5242
|
return r.isDynamicRoute;
|
|
5243
5243
|
}
|
|
5244
5244
|
});
|
|
5245
|
-
const n =
|
|
5245
|
+
const n = Zf(), r = nh();
|
|
5246
5246
|
}(Fr)), Fr;
|
|
5247
5247
|
}
|
|
5248
5248
|
var Wr = {}, Gr = {}, ss;
|
|
5249
|
-
function
|
|
5249
|
+
function oh() {
|
|
5250
5250
|
return ss || (ss = 1, function(e) {
|
|
5251
5251
|
Object.defineProperty(e, "__esModule", {
|
|
5252
5252
|
value: !0
|
|
@@ -5281,7 +5281,7 @@ function ih() {
|
|
|
5281
5281
|
}(Gr)), Gr;
|
|
5282
5282
|
}
|
|
5283
5283
|
var Kr = {}, Xr = {}, as;
|
|
5284
|
-
function
|
|
5284
|
+
function ih() {
|
|
5285
5285
|
return as || (as = 1, function(e) {
|
|
5286
5286
|
Object.defineProperty(e, "__esModule", {
|
|
5287
5287
|
value: !0
|
|
@@ -5529,7 +5529,7 @@ function sh() {
|
|
|
5529
5529
|
}(Xr)), Xr;
|
|
5530
5530
|
}
|
|
5531
5531
|
var Yr = {}, cs;
|
|
5532
|
-
function
|
|
5532
|
+
function sh() {
|
|
5533
5533
|
return cs || (cs = 1, function(e) {
|
|
5534
5534
|
Object.defineProperty(e, "__esModule", {
|
|
5535
5535
|
value: !0
|
|
@@ -5546,7 +5546,7 @@ function ah() {
|
|
|
5546
5546
|
}(Yr)), Yr;
|
|
5547
5547
|
}
|
|
5548
5548
|
var ls;
|
|
5549
|
-
function
|
|
5549
|
+
function ah() {
|
|
5550
5550
|
return ls || (ls = 1, function(e) {
|
|
5551
5551
|
Object.defineProperty(e, "__esModule", {
|
|
5552
5552
|
value: !0
|
|
@@ -5571,7 +5571,7 @@ function ch() {
|
|
|
5571
5571
|
return a;
|
|
5572
5572
|
}
|
|
5573
5573
|
});
|
|
5574
|
-
const n =
|
|
5574
|
+
const n = ih(), r = bl(), i = sh(), s = gl();
|
|
5575
5575
|
function a(h) {
|
|
5576
5576
|
const _ = h.startsWith("[") && h.endsWith("]");
|
|
5577
5577
|
_ && (h = h.slice(1, -1));
|
|
@@ -5681,7 +5681,7 @@ function ch() {
|
|
|
5681
5681
|
}(Kr)), Kr;
|
|
5682
5682
|
}
|
|
5683
5683
|
var us;
|
|
5684
|
-
function
|
|
5684
|
+
function ch() {
|
|
5685
5685
|
return us || (us = 1, function(e) {
|
|
5686
5686
|
Object.defineProperty(e, "__esModule", {
|
|
5687
5687
|
value: !0
|
|
@@ -5691,7 +5691,7 @@ function lh() {
|
|
|
5691
5691
|
return r;
|
|
5692
5692
|
}
|
|
5693
5693
|
});
|
|
5694
|
-
const t =
|
|
5694
|
+
const t = oh(), n = ah();
|
|
5695
5695
|
function r(i, s, a) {
|
|
5696
5696
|
let c = "";
|
|
5697
5697
|
const l = (0, n.getRouteRegex)(i), u = l.groups, d = (
|
|
@@ -5724,7 +5724,7 @@ function lh() {
|
|
|
5724
5724
|
}(Wr)), Wr;
|
|
5725
5725
|
}
|
|
5726
5726
|
var ds;
|
|
5727
|
-
function
|
|
5727
|
+
function lh() {
|
|
5728
5728
|
return ds || (ds = 1, function(e, t) {
|
|
5729
5729
|
Object.defineProperty(t, "__esModule", {
|
|
5730
5730
|
value: !0
|
|
@@ -5734,7 +5734,7 @@ function uh() {
|
|
|
5734
5734
|
return d;
|
|
5735
5735
|
}
|
|
5736
5736
|
});
|
|
5737
|
-
const n = fl(), r = _l(), i =
|
|
5737
|
+
const n = fl(), r = _l(), i = Yf(), s = yr(), a = vr(), c = vl(), l = rh(), u = ch();
|
|
5738
5738
|
function d(m, p, f) {
|
|
5739
5739
|
let h, _ = typeof p == "string" ? p : (0, r.formatWithValidation)(p);
|
|
5740
5740
|
const g = _.match(/^[a-zA-Z]{1,}:\/\//), v = g ? _.slice(g[0].length) : _;
|
|
@@ -5799,7 +5799,7 @@ function Cl() {
|
|
|
5799
5799
|
}(Zr)), Zr;
|
|
5800
5800
|
}
|
|
5801
5801
|
var ms;
|
|
5802
|
-
function
|
|
5802
|
+
function uh() {
|
|
5803
5803
|
return ms || (ms = 1, function(e) {
|
|
5804
5804
|
Object.defineProperty(e, "__esModule", {
|
|
5805
5805
|
value: !0
|
|
@@ -5818,7 +5818,7 @@ function dh() {
|
|
|
5818
5818
|
}(Qr)), Qr;
|
|
5819
5819
|
}
|
|
5820
5820
|
var fs;
|
|
5821
|
-
function
|
|
5821
|
+
function dh() {
|
|
5822
5822
|
return fs || (fs = 1, function(e, t) {
|
|
5823
5823
|
Object.defineProperty(t, "__esModule", {
|
|
5824
5824
|
value: !0
|
|
@@ -5831,7 +5831,7 @@ function ph() {
|
|
|
5831
5831
|
const n = vr(), r = function(i) {
|
|
5832
5832
|
for (var s = arguments.length, a = new Array(s > 1 ? s - 1 : 0), c = 1; c < s; c++)
|
|
5833
5833
|
a[c - 1] = arguments[c];
|
|
5834
|
-
return process.env.__NEXT_I18N_SUPPORT ? (0, n.normalizePathTrailingSlash)(
|
|
5834
|
+
return process.env.__NEXT_I18N_SUPPORT ? (0, n.normalizePathTrailingSlash)(uh().addLocale(i, ...a)) : i;
|
|
5835
5835
|
};
|
|
5836
5836
|
(typeof t.default == "function" || typeof t.default == "object" && t.default !== null) && typeof t.default.__esModule > "u" && (Object.defineProperty(t.default, "__esModule", { value: !0 }), Object.assign(t.default, t), e.exports = t.default);
|
|
5837
5837
|
}(Fn, Fn.exports)), Fn.exports;
|
|
@@ -5852,7 +5852,7 @@ function El() {
|
|
|
5852
5852
|
}(Jr)), Jr;
|
|
5853
5853
|
}
|
|
5854
5854
|
var eo = {}, _s;
|
|
5855
|
-
function
|
|
5855
|
+
function ph() {
|
|
5856
5856
|
return _s || (_s = 1, function(e) {
|
|
5857
5857
|
"use client";
|
|
5858
5858
|
Object.defineProperty(e, "__esModule", {
|
|
@@ -5923,7 +5923,7 @@ function Nl() {
|
|
|
5923
5923
|
}(Bn, Bn.exports)), Bn.exports;
|
|
5924
5924
|
}
|
|
5925
5925
|
var ys;
|
|
5926
|
-
function
|
|
5926
|
+
function mh() {
|
|
5927
5927
|
return ys || (ys = 1, function(e, t) {
|
|
5928
5928
|
Object.defineProperty(t, "__esModule", {
|
|
5929
5929
|
value: !0
|
|
@@ -6002,7 +6002,7 @@ function fh() {
|
|
|
6002
6002
|
}(jn, jn.exports)), jn.exports;
|
|
6003
6003
|
}
|
|
6004
6004
|
var Un = { exports: {} }, Hn = { exports: {} }, to = {}, vs;
|
|
6005
|
-
function
|
|
6005
|
+
function fh() {
|
|
6006
6006
|
return vs || (vs = 1, function(e) {
|
|
6007
6007
|
Object.defineProperty(e, "__esModule", {
|
|
6008
6008
|
value: !0
|
|
@@ -6023,7 +6023,7 @@ function hh() {
|
|
|
6023
6023
|
}(to)), to;
|
|
6024
6024
|
}
|
|
6025
6025
|
var bs;
|
|
6026
|
-
function
|
|
6026
|
+
function hh() {
|
|
6027
6027
|
return bs || (bs = 1, function(e, t) {
|
|
6028
6028
|
Object.defineProperty(t, "__esModule", {
|
|
6029
6029
|
value: !0
|
|
@@ -6033,7 +6033,7 @@ function _h() {
|
|
|
6033
6033
|
return n;
|
|
6034
6034
|
}
|
|
6035
6035
|
});
|
|
6036
|
-
const n = (r, i) => process.env.__NEXT_I18N_SUPPORT ?
|
|
6036
|
+
const n = (r, i) => process.env.__NEXT_I18N_SUPPORT ? fh().normalizeLocalePath(r, i) : {
|
|
6037
6037
|
pathname: r,
|
|
6038
6038
|
detectedLocale: void 0
|
|
6039
6039
|
};
|
|
@@ -6041,7 +6041,7 @@ function _h() {
|
|
|
6041
6041
|
}(Hn, Hn.exports)), Hn.exports;
|
|
6042
6042
|
}
|
|
6043
6043
|
var qn = { exports: {} }, no = {}, Cs;
|
|
6044
|
-
function
|
|
6044
|
+
function _h() {
|
|
6045
6045
|
return Cs || (Cs = 1, function(e) {
|
|
6046
6046
|
Object.defineProperty(e, "__esModule", {
|
|
6047
6047
|
value: !0
|
|
@@ -6065,7 +6065,7 @@ function gh() {
|
|
|
6065
6065
|
}(no)), no;
|
|
6066
6066
|
}
|
|
6067
6067
|
var Es;
|
|
6068
|
-
function
|
|
6068
|
+
function gh() {
|
|
6069
6069
|
return Es || (Es = 1, function(e, t) {
|
|
6070
6070
|
Object.defineProperty(t, "__esModule", {
|
|
6071
6071
|
value: !0
|
|
@@ -6079,13 +6079,13 @@ function yh() {
|
|
|
6079
6079
|
for (var r = arguments.length, i = new Array(r), s = 0; s < r; s++)
|
|
6080
6080
|
i[s] = arguments[s];
|
|
6081
6081
|
if (process.env.__NEXT_I18N_SUPPORT)
|
|
6082
|
-
return
|
|
6082
|
+
return _h().detectDomainLocale(...i);
|
|
6083
6083
|
};
|
|
6084
6084
|
(typeof t.default == "function" || typeof t.default == "object" && t.default !== null) && typeof t.default.__esModule > "u" && (Object.defineProperty(t.default, "__esModule", { value: !0 }), Object.assign(t.default, t), e.exports = t.default);
|
|
6085
6085
|
}(qn, qn.exports)), qn.exports;
|
|
6086
6086
|
}
|
|
6087
6087
|
var Ns;
|
|
6088
|
-
function
|
|
6088
|
+
function yh() {
|
|
6089
6089
|
return Ns || (Ns = 1, function(e, t) {
|
|
6090
6090
|
Object.defineProperty(t, "__esModule", {
|
|
6091
6091
|
value: !0
|
|
@@ -6098,7 +6098,7 @@ function vh() {
|
|
|
6098
6098
|
const n = vr(), r = process.env.__NEXT_ROUTER_BASEPATH || "";
|
|
6099
6099
|
function i(s, a, c, l) {
|
|
6100
6100
|
if (process.env.__NEXT_I18N_SUPPORT) {
|
|
6101
|
-
const u =
|
|
6101
|
+
const u = hh().normalizeLocalePath, d = gh().detectDomainLocale, m = a || u(s, c).detectedLocale, p = d(l, void 0, m);
|
|
6102
6102
|
if (p) {
|
|
6103
6103
|
const f = "http" + (p.http ? "" : "s") + "://", h = m === p.defaultLocale ? "" : "/" + m;
|
|
6104
6104
|
return "" + f + p.domain + (0, n.normalizePathTrailingSlash)("" + r + h + s);
|
|
@@ -6111,7 +6111,7 @@ function vh() {
|
|
|
6111
6111
|
}(Un, Un.exports)), Un.exports;
|
|
6112
6112
|
}
|
|
6113
6113
|
var Vn = { exports: {} }, Ps;
|
|
6114
|
-
function
|
|
6114
|
+
function vh() {
|
|
6115
6115
|
return Ps || (Ps = 1, function(e, t) {
|
|
6116
6116
|
Object.defineProperty(t, "__esModule", {
|
|
6117
6117
|
value: !0
|
|
@@ -6129,7 +6129,7 @@ function bh() {
|
|
|
6129
6129
|
}(Vn, Vn.exports)), Vn.exports;
|
|
6130
6130
|
}
|
|
6131
6131
|
var Wn = { exports: {} }, Ss;
|
|
6132
|
-
function
|
|
6132
|
+
function bh() {
|
|
6133
6133
|
return Ss || (Ss = 1, function(e, t) {
|
|
6134
6134
|
Object.defineProperty(t, "__esModule", {
|
|
6135
6135
|
value: !0
|
|
@@ -6197,7 +6197,7 @@ function Ch() {
|
|
|
6197
6197
|
return N;
|
|
6198
6198
|
}
|
|
6199
6199
|
});
|
|
6200
|
-
const n = Ze, r = En, i = /* @__PURE__ */ n._(pt), s =
|
|
6200
|
+
const n = Ze, r = En, i = /* @__PURE__ */ n._(pt), s = lh(), a = vl(), c = _l(), l = yr(), u = dh(), d = El(), m = ph(), p = mh(), f = yh(), h = vh(), _ = bh(), g = /* @__PURE__ */ new Set();
|
|
6201
6201
|
function v(E, R, x, T, L, M) {
|
|
6202
6202
|
if (typeof window > "u" || !M && !(0, a.isLocalURL)(R))
|
|
6203
6203
|
return;
|
|
@@ -6415,11 +6415,11 @@ Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor`
|
|
|
6415
6415
|
});
|
|
6416
6416
|
(typeof t.default == "function" || typeof t.default == "object" && t.default !== null) && typeof t.default.__esModule > "u" && (Object.defineProperty(t.default, "__esModule", { value: !0 }), Object.assign(t.default, t), e.exports = t.default);
|
|
6417
6417
|
})(ko, ko.exports);
|
|
6418
|
-
var
|
|
6419
|
-
const it = /* @__PURE__ */ dr(
|
|
6420
|
-
link:
|
|
6421
|
-
wrapper:
|
|
6422
|
-
text:
|
|
6418
|
+
var Ch = ko.exports, Eh = Ch;
|
|
6419
|
+
const it = /* @__PURE__ */ dr(Eh), Nh = "_link_w24h0_1", Ph = "_wrapper_w24h0_98", Sh = "_text_w24h0_106", ro = {
|
|
6420
|
+
link: Nh,
|
|
6421
|
+
wrapper: Ph,
|
|
6422
|
+
text: Sh
|
|
6423
6423
|
}, st = ({
|
|
6424
6424
|
children: e,
|
|
6425
6425
|
adornments: t,
|
|
@@ -6434,7 +6434,7 @@ const it = /* @__PURE__ */ dr(Nh), Ph = "_link_w24h0_1", Sh = "_wrapper_w24h0_98
|
|
|
6434
6434
|
...d
|
|
6435
6435
|
}) => {
|
|
6436
6436
|
const m = z.ValidateProp({
|
|
6437
|
-
fieldTypes:
|
|
6437
|
+
fieldTypes: am,
|
|
6438
6438
|
property: a,
|
|
6439
6439
|
fallback: "medium"
|
|
6440
6440
|
}), p = z.ValidateProp({
|
|
@@ -6460,7 +6460,7 @@ const it = /* @__PURE__ */ dr(Nh), Ph = "_link_w24h0_1", Sh = "_wrapper_w24h0_98
|
|
|
6460
6460
|
] })
|
|
6461
6461
|
}
|
|
6462
6462
|
);
|
|
6463
|
-
},
|
|
6463
|
+
}, wh = ({ ICONS: e }) => {
|
|
6464
6464
|
const { resetFeedback: t } = Wt();
|
|
6465
6465
|
return /* @__PURE__ */ C("div", { className: yn["wishlist--snack--actions"], children: [
|
|
6466
6466
|
/* @__PURE__ */ o(st, { href: "/favoritos", children: "Ver Favoritos" }),
|
|
@@ -6493,7 +6493,7 @@ const it = /* @__PURE__ */ dr(Nh), Ph = "_link_w24h0_1", Sh = "_wrapper_w24h0_98
|
|
|
6493
6493
|
className: yn["wishlist--snack"],
|
|
6494
6494
|
"data-action": r.action,
|
|
6495
6495
|
title: r.action === "add" ? e.messages.add : e.messages.remove,
|
|
6496
|
-
supportChildren: /* @__PURE__ */ o(
|
|
6496
|
+
supportChildren: /* @__PURE__ */ o(wh, { ICONS: t }),
|
|
6497
6497
|
size: "medium"
|
|
6498
6498
|
}
|
|
6499
6499
|
);
|
|
@@ -6682,8 +6682,8 @@ const Pt = {
|
|
|
6682
6682
|
Card: wl,
|
|
6683
6683
|
//client
|
|
6684
6684
|
Root: Rl,
|
|
6685
|
-
helpers:
|
|
6686
|
-
},
|
|
6685
|
+
helpers: _f
|
|
6686
|
+
}, Rh = "_pdc_alo7z_1", gt = {
|
|
6687
6687
|
"pdc--empty": "_pdc--empty_alo7z_1",
|
|
6688
6688
|
"pdc--grid": "_pdc--grid_alo7z_17",
|
|
6689
6689
|
"pdc--grid--content": "_pdc--grid--content_alo7z_26",
|
|
@@ -6695,7 +6695,7 @@ const Pt = {
|
|
|
6695
6695
|
"pdc--infinite--next-page--card": "_pdc--infinite--next-page--card_alo7z_101",
|
|
6696
6696
|
"pdc--infinite--next-page--spinner": "_pdc--infinite--next-page--spinner_alo7z_111",
|
|
6697
6697
|
"pdc--pagination": "_pdc--pagination_alo7z_118",
|
|
6698
|
-
pdc:
|
|
6698
|
+
pdc: Rh
|
|
6699
6699
|
}, Ci = ({ className: e, ICONS: t, PLP_NOT_RESULT: n }) => {
|
|
6700
6700
|
const { router: r } = ve(), { isMobile: i } = ue(), s = () => {
|
|
6701
6701
|
r.push(n == null ? void 0 : n.link);
|
|
@@ -6808,7 +6808,7 @@ function Il({ CONSTANTS: e }) {
|
|
|
6808
6808
|
] }) });
|
|
6809
6809
|
}
|
|
6810
6810
|
Il.displayName = "Wishlist.Grid";
|
|
6811
|
-
const
|
|
6811
|
+
const Ih = (e) => e.map((t) => {
|
|
6812
6812
|
var n;
|
|
6813
6813
|
return (n = t.isVariantOf) == null ? void 0 : n.productGroupID;
|
|
6814
6814
|
}) ?? [], Al = ({
|
|
@@ -6840,7 +6840,7 @@ const Ah = (e) => e.map((t) => {
|
|
|
6840
6840
|
d && (d == null ? void 0 : d.length) !== i.length && a(d);
|
|
6841
6841
|
}, l = async () => {
|
|
6842
6842
|
var f;
|
|
6843
|
-
const d = await _n("fs::wishlist") ?? [], m = r.wishlist ? typeof r.wishlist[0] == "object" ?
|
|
6843
|
+
const d = await _n("fs::wishlist") ?? [], m = r.wishlist ? typeof r.wishlist[0] == "object" ? Ih(r.wishlist) : r.wishlist : [], p = [
|
|
6844
6844
|
.../* @__PURE__ */ new Set([...d, ...m])
|
|
6845
6845
|
];
|
|
6846
6846
|
a(p), gn("fs::wishlist", i), m.length !== p.length && await fetch("/api/wishlist/documents", {
|
|
@@ -6920,7 +6920,7 @@ const xl = {
|
|
|
6920
6920
|
Grid: Il,
|
|
6921
6921
|
Init: Al
|
|
6922
6922
|
}, Ll = ({ product: e, tag: t, size: n = "small" }) => {
|
|
6923
|
-
const { CONSTANTS: r } = yt(), { tags: i } = Mt(), s = e.offers.offers[0], a =
|
|
6923
|
+
const { CONSTANTS: r } = yt(), { tags: i } = Mt(), s = e.offers.offers[0], a = Xp(
|
|
6924
6924
|
s.listPrice,
|
|
6925
6925
|
s.price
|
|
6926
6926
|
), c = i == null ? void 0 : i.flagDiscount;
|
|
@@ -6998,7 +6998,7 @@ const Ol = ({
|
|
|
6998
6998
|
sendSelectItemEvent: d,
|
|
6999
6999
|
order: m,
|
|
7000
7000
|
CONSTANTS: p
|
|
7001
|
-
} = yt(), f =
|
|
7001
|
+
} = yt(), f = Yp({ images: c, label: { first: p.MAIN_IMAGE, second: p.SECOND_IMAGE } });
|
|
7002
7002
|
return /* @__PURE__ */ C(
|
|
7003
7003
|
"div",
|
|
7004
7004
|
{
|
|
@@ -7100,7 +7100,7 @@ const Ml = ({
|
|
|
7100
7100
|
CONSTANTS: u,
|
|
7101
7101
|
...d
|
|
7102
7102
|
}) => /* @__PURE__ */ o(
|
|
7103
|
-
|
|
7103
|
+
Wf,
|
|
7104
7104
|
{
|
|
7105
7105
|
item: i,
|
|
7106
7106
|
isMobile: r,
|
|
@@ -7266,7 +7266,7 @@ const Mo = ({
|
|
|
7266
7266
|
] })
|
|
7267
7267
|
]
|
|
7268
7268
|
}
|
|
7269
|
-
),
|
|
7269
|
+
), Ah = ({
|
|
7270
7270
|
children: e,
|
|
7271
7271
|
callback: t,
|
|
7272
7272
|
data: n,
|
|
@@ -7304,7 +7304,7 @@ const Mo = ({
|
|
|
7304
7304
|
(u) => c.includes(u.alternateName)
|
|
7305
7305
|
);
|
|
7306
7306
|
return /* @__PURE__ */ o(
|
|
7307
|
-
|
|
7307
|
+
Ah,
|
|
7308
7308
|
{
|
|
7309
7309
|
...s,
|
|
7310
7310
|
callback: e,
|
|
@@ -7425,7 +7425,7 @@ const Hl = ({ className: e, url: t, poster: n, ...r }) => {
|
|
|
7425
7425
|
const c = new IntersectionObserver(
|
|
7426
7426
|
(d) => {
|
|
7427
7427
|
d.forEach((m) => {
|
|
7428
|
-
|
|
7428
|
+
Qp(m.isIntersecting, a, t);
|
|
7429
7429
|
});
|
|
7430
7430
|
},
|
|
7431
7431
|
{
|
|
@@ -7496,13 +7496,13 @@ const we = {
|
|
|
7496
7496
|
Title: Ul,
|
|
7497
7497
|
Video: Hl,
|
|
7498
7498
|
Wrapper: ql
|
|
7499
|
-
},
|
|
7500
|
-
carousel:
|
|
7499
|
+
}, Th = "_carousel_245ib_1", xh = "_shelf__container_245ib_14", Lh = "_shelf_without_carousel_245ib_34", Oh = "_card_container_245ib_50", Zt = {
|
|
7500
|
+
carousel: Th,
|
|
7501
7501
|
"custom-controllers": "_custom-controllers_245ib_5",
|
|
7502
|
-
shelf__container:
|
|
7502
|
+
shelf__container: xh,
|
|
7503
7503
|
"controllers-arrows-bullets": "_controllers-arrows-bullets_245ib_23",
|
|
7504
|
-
shelf_without_carousel:
|
|
7505
|
-
card_container:
|
|
7504
|
+
shelf_without_carousel: Lh,
|
|
7505
|
+
card_container: Oh
|
|
7506
7506
|
}, ws = ({ title: e }) => /* @__PURE__ */ o("div", { className: Zt.shelf__container, children: e && /* @__PURE__ */ o(j.Root, { children: /* @__PURE__ */ C(j.DivWrapper, { children: [
|
|
7507
7507
|
/* @__PURE__ */ o(
|
|
7508
7508
|
"h2",
|
|
@@ -7524,7 +7524,7 @@ const we = {
|
|
|
7524
7524
|
children: e
|
|
7525
7525
|
}
|
|
7526
7526
|
)
|
|
7527
|
-
] }) }) }),
|
|
7527
|
+
] }) }) }), kh = ({ children: e, ICONS: t, itemsPerPage: n, title: r }) => {
|
|
7528
7528
|
const { isMobile: i } = ue(), s = n[i ? "mobile" : "desktop"], { initialize: a, controller: c, itemsStyles: l, pagination: u } = me.useCarousel({
|
|
7529
7529
|
itemsPerPage: s,
|
|
7530
7530
|
gap: 10,
|
|
@@ -7626,7 +7626,7 @@ const we = {
|
|
|
7626
7626
|
};
|
|
7627
7627
|
Vl.displayName = "ProductList.Card";
|
|
7628
7628
|
const Cn = {
|
|
7629
|
-
Shelf:
|
|
7629
|
+
Shelf: kh,
|
|
7630
7630
|
Card: Vl
|
|
7631
7631
|
}, Wl = ({
|
|
7632
7632
|
CONSTANTS: e,
|
|
@@ -7634,7 +7634,7 @@ const Cn = {
|
|
|
7634
7634
|
products: n,
|
|
7635
7635
|
innerRef: r
|
|
7636
7636
|
}) => {
|
|
7637
|
-
const i = ge(() =>
|
|
7637
|
+
const i = ge(() => qf(n), [n]), { isMobile: s } = ue(), { addItemsToCart: a } = ke(), { sendDataLayerEvent: c } = fe(), { getAvailableProductTag: l } = Mt(), [u, d] = k({
|
|
7638
7638
|
totalPrice: 0,
|
|
7639
7639
|
products: {}
|
|
7640
7640
|
}), m = () => {
|
|
@@ -7661,7 +7661,7 @@ const Cn = {
|
|
|
7661
7661
|
selectedProduct: f,
|
|
7662
7662
|
productId: h
|
|
7663
7663
|
}) => {
|
|
7664
|
-
const _ =
|
|
7664
|
+
const _ = Vf({
|
|
7665
7665
|
selectedProduct: f,
|
|
7666
7666
|
productId: h,
|
|
7667
7667
|
prevState: u,
|
|
@@ -7759,7 +7759,7 @@ const Cn = {
|
|
|
7759
7759
|
}
|
|
7760
7760
|
),
|
|
7761
7761
|
/* @__PURE__ */ o("div", { className: xt["add-cart-container"], children: /* @__PURE__ */ o(
|
|
7762
|
-
|
|
7762
|
+
Hf,
|
|
7763
7763
|
{
|
|
7764
7764
|
handleAddAllToCart: m,
|
|
7765
7765
|
selectedProducts: u,
|
|
@@ -7843,7 +7843,7 @@ const An = ({
|
|
|
7843
7843
|
) });
|
|
7844
7844
|
};
|
|
7845
7845
|
Gl.displayName = "Header.Categories";
|
|
7846
|
-
function
|
|
7846
|
+
function Mh() {
|
|
7847
7847
|
const { handleSelectContent: e } = fe(), { CONSTANTS: t } = je(), { setValue: n } = fr();
|
|
7848
7848
|
return /* @__PURE__ */ o(
|
|
7849
7849
|
We.SupportItem,
|
|
@@ -7855,9 +7855,9 @@ function Dh() {
|
|
|
7855
7855
|
}
|
|
7856
7856
|
);
|
|
7857
7857
|
}
|
|
7858
|
-
const
|
|
7858
|
+
const Dh = {
|
|
7859
7859
|
"menu-subcategories-container": "_menu-subcategories-container_a93cr_1"
|
|
7860
|
-
},
|
|
7860
|
+
}, $h = {
|
|
7861
7861
|
"observer-wrapper": "_observer-wrapper_r43gk_1"
|
|
7862
7862
|
}, Cr = ({
|
|
7863
7863
|
children: e,
|
|
@@ -7876,7 +7876,7 @@ const $h = {
|
|
|
7876
7876
|
{
|
|
7877
7877
|
...a,
|
|
7878
7878
|
ref: c,
|
|
7879
|
-
className: z.classNameConcat(
|
|
7879
|
+
className: z.classNameConcat($h["observer-wrapper"], s),
|
|
7880
7880
|
children: e
|
|
7881
7881
|
}
|
|
7882
7882
|
);
|
|
@@ -7887,7 +7887,7 @@ const $h = {
|
|
|
7887
7887
|
callBack: r
|
|
7888
7888
|
}) => {
|
|
7889
7889
|
const { handleSelectPromotionEvent: i } = fe(), s = 50 / e.length;
|
|
7890
|
-
return /* @__PURE__ */ o("div", { className:
|
|
7890
|
+
return /* @__PURE__ */ o("div", { className: Dh["menu-subcategories-container"], children: e.map((a, c) => {
|
|
7891
7891
|
const l = n ? a.srcMobile : a.srcDesk;
|
|
7892
7892
|
if (!l)
|
|
7893
7893
|
return null;
|
|
@@ -8123,7 +8123,7 @@ const Zl = () => {
|
|
|
8123
8123
|
) });
|
|
8124
8124
|
};
|
|
8125
8125
|
Zl.displayName = "Header.WishList";
|
|
8126
|
-
const
|
|
8126
|
+
const zh = "_root_wvekm_126", ht = {
|
|
8127
8127
|
"user-menu--credits": "_user-menu--credits_wvekm_1",
|
|
8128
8128
|
"user-menu--content": "_user-menu--content_wvekm_10",
|
|
8129
8129
|
"user-menu--login": "_user-menu--login_wvekm_30",
|
|
@@ -8133,7 +8133,7 @@ const Fh = "_root_wvekm_126", ht = {
|
|
|
8133
8133
|
"tooltip-modifier": "_tooltip-modifier_wvekm_104",
|
|
8134
8134
|
"modal-controls-modifier": "_modal-controls-modifier_wvekm_109",
|
|
8135
8135
|
"modal-header-modifier": "_modal-header-modifier_wvekm_117",
|
|
8136
|
-
root:
|
|
8136
|
+
root: zh
|
|
8137
8137
|
}, Jl = ({
|
|
8138
8138
|
className: e,
|
|
8139
8139
|
children: t,
|
|
@@ -8161,7 +8161,7 @@ const tu = ({
|
|
|
8161
8161
|
}) => {
|
|
8162
8162
|
const a = t ? Fe(t) : void 0, c = n ? Fe(n) : void 0, l = i ? Fe(i) : void 0;
|
|
8163
8163
|
return /* @__PURE__ */ o(
|
|
8164
|
-
|
|
8164
|
+
rm.Account,
|
|
8165
8165
|
{
|
|
8166
8166
|
...s,
|
|
8167
8167
|
className: z.classNameConcat(
|
|
@@ -8249,9 +8249,9 @@ const ru = ({
|
|
|
8249
8249
|
disableUnderline: !0,
|
|
8250
8250
|
onClick: n,
|
|
8251
8251
|
adornments: {
|
|
8252
|
-
start: /* @__PURE__ */ o($, { name:
|
|
8252
|
+
start: /* @__PURE__ */ o($, { name: nf(r) })
|
|
8253
8253
|
},
|
|
8254
|
-
children:
|
|
8254
|
+
children: tf
|
|
8255
8255
|
}
|
|
8256
8256
|
) }) : /* @__PURE__ */ o(q, {})
|
|
8257
8257
|
]
|
|
@@ -8279,20 +8279,20 @@ const ou = (e) => {
|
|
|
8279
8279
|
return Q(() => (document.addEventListener("mousedown", n), document.addEventListener("keydown", i), document.addEventListener("touchstart", r), () => {
|
|
8280
8280
|
document.removeEventListener("mousedown", n), document.removeEventListener("keydown", i), document.removeEventListener("touchstart", r);
|
|
8281
8281
|
}), [n, i, r]), { ref: t };
|
|
8282
|
-
},
|
|
8282
|
+
}, Fh = (e) => {
|
|
8283
8283
|
if (!e || typeof window > "u")
|
|
8284
8284
|
return 0;
|
|
8285
8285
|
const t = window.getComputedStyle(e);
|
|
8286
8286
|
return parseInt(t.padding, 10);
|
|
8287
|
-
},
|
|
8287
|
+
}, jh = (e, t, n) => {
|
|
8288
8288
|
if (!(e instanceof HTMLElement) || !(t instanceof HTMLElement))
|
|
8289
8289
|
return { left: 0, top: 0 };
|
|
8290
|
-
const { height: r, left: i, top: s, width: a } = t.getBoundingClientRect(), c = e.getBoundingClientRect(), l = e != null && e.parentElement ?
|
|
8290
|
+
const { height: r, left: i, top: s, width: a } = t.getBoundingClientRect(), c = e.getBoundingClientRect(), l = e != null && e.parentElement ? Fh(e == null ? void 0 : e.parentElement) : 0;
|
|
8291
8291
|
return {
|
|
8292
8292
|
left: i + a / 2 - (c.width + l * 2),
|
|
8293
8293
|
top: s + r + n
|
|
8294
8294
|
};
|
|
8295
|
-
}, iu = Ce({}),
|
|
8295
|
+
}, iu = Ce({}), Bh = ({
|
|
8296
8296
|
children: e,
|
|
8297
8297
|
delay: t = 600,
|
|
8298
8298
|
gap: n = 20,
|
|
@@ -8308,7 +8308,7 @@ const ou = (e) => {
|
|
|
8308
8308
|
});
|
|
8309
8309
|
return Q(() => {
|
|
8310
8310
|
if (s && (p != null && p.current)) {
|
|
8311
|
-
const { left: f, top: h } =
|
|
8311
|
+
const { left: f, top: h } = jh(p.current, s, n ?? 0);
|
|
8312
8312
|
m({ left: f, top: h }), u(!1);
|
|
8313
8313
|
}
|
|
8314
8314
|
}, [n, r, s, p]), /* @__PURE__ */ o(
|
|
@@ -8375,7 +8375,7 @@ const ou = (e) => {
|
|
|
8375
8375
|
);
|
|
8376
8376
|
};
|
|
8377
8377
|
au.displayName = "UserMenu.Modal";
|
|
8378
|
-
const cu = ({ children: e, component: t, Z_INDEX_WAR: n, isMobile: r, ...i }) => /* @__PURE__ */ o(
|
|
8378
|
+
const cu = ({ children: e, component: t, Z_INDEX_WAR: n, isMobile: r, ...i }) => /* @__PURE__ */ o(Bh, { ...i, className: ht.root, children: r ? /* @__PURE__ */ C(q, { children: [
|
|
8379
8379
|
/* @__PURE__ */ o(Tt.Modal, { Z_INDEX_WAR: n, children: t }),
|
|
8380
8380
|
e
|
|
8381
8381
|
] }) : /* @__PURE__ */ o(
|
|
@@ -8454,8 +8454,8 @@ const Tt = {
|
|
|
8454
8454
|
/* @__PURE__ */ o(
|
|
8455
8455
|
Tt.Login,
|
|
8456
8456
|
{
|
|
8457
|
-
description:
|
|
8458
|
-
text:
|
|
8457
|
+
description: of(d),
|
|
8458
|
+
text: rf(
|
|
8459
8459
|
d,
|
|
8460
8460
|
((h = l == null ? void 0 : l.user) == null ? void 0 : h.firstName) ?? ((_ = l == null ? void 0 : l.user) == null ? void 0 : _.email)
|
|
8461
8461
|
),
|
|
@@ -8534,7 +8534,7 @@ const uu = ({
|
|
|
8534
8534
|
onMouseEnter: r,
|
|
8535
8535
|
style: { justifyContent: "flex-end" },
|
|
8536
8536
|
children: [
|
|
8537
|
-
/* @__PURE__ */ o(
|
|
8537
|
+
/* @__PURE__ */ o(Mh, {}),
|
|
8538
8538
|
/* @__PURE__ */ o(
|
|
8539
8539
|
Er,
|
|
8540
8540
|
{
|
|
@@ -8716,7 +8716,7 @@ const vn = {
|
|
|
8716
8716
|
List: mu,
|
|
8717
8717
|
SubCategory: fu,
|
|
8718
8718
|
Title: hu
|
|
8719
|
-
}, _u = Ce({}),
|
|
8719
|
+
}, _u = Ce({}), Uh = ({ children: e }) => {
|
|
8720
8720
|
const [t, n] = k(null), r = ie(() => {
|
|
8721
8721
|
n(null);
|
|
8722
8722
|
}, []), i = (s) => {
|
|
@@ -8797,14 +8797,14 @@ const vn = {
|
|
|
8797
8797
|
);
|
|
8798
8798
|
};
|
|
8799
8799
|
yu.displayName = "Menu.Mobile.Body";
|
|
8800
|
-
const
|
|
8800
|
+
const Hh = {
|
|
8801
8801
|
"menu--header": "_menu--header_1ozdf_1"
|
|
8802
8802
|
}, vu = () => {
|
|
8803
8803
|
var i;
|
|
8804
8804
|
const { headerData: e } = je(), { currentCategory: t, setCurrentCategory: n } = gu(), r = (i = e == null ? void 0 : e.categories) == null ? void 0 : i.find(
|
|
8805
8805
|
(s) => s.submenuId === t
|
|
8806
8806
|
);
|
|
8807
|
-
return /* @__PURE__ */ C("div", { className:
|
|
8807
|
+
return /* @__PURE__ */ C("div", { className: Hh["menu--header"], children: [
|
|
8808
8808
|
/* @__PURE__ */ o(
|
|
8809
8809
|
G,
|
|
8810
8810
|
{
|
|
@@ -8829,11 +8829,11 @@ const qh = {
|
|
|
8829
8829
|
};
|
|
8830
8830
|
vu.displayName = "Menu.Mobile.Header";
|
|
8831
8831
|
var $o = { exports: {} };
|
|
8832
|
-
function
|
|
8832
|
+
function qh(e) {
|
|
8833
8833
|
throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
8834
8834
|
}
|
|
8835
8835
|
var io = {}, so = {}, Rs;
|
|
8836
|
-
function
|
|
8836
|
+
function Vh() {
|
|
8837
8837
|
return Rs || (Rs = 1, function(e) {
|
|
8838
8838
|
"use client";
|
|
8839
8839
|
Object.defineProperty(e, "__esModule", {
|
|
@@ -8849,7 +8849,7 @@ function Wh() {
|
|
|
8849
8849
|
}(so)), so;
|
|
8850
8850
|
}
|
|
8851
8851
|
var Is;
|
|
8852
|
-
function
|
|
8852
|
+
function Wh() {
|
|
8853
8853
|
return Is || (Is = 1, function(e) {
|
|
8854
8854
|
Object.defineProperty(e, "__esModule", {
|
|
8855
8855
|
value: !0
|
|
@@ -8859,7 +8859,7 @@ function Gh() {
|
|
|
8859
8859
|
return f;
|
|
8860
8860
|
}
|
|
8861
8861
|
});
|
|
8862
|
-
const n = /* @__PURE__ */ Ze._(pt), r =
|
|
8862
|
+
const n = /* @__PURE__ */ Ze._(pt), r = Vh();
|
|
8863
8863
|
function i(h) {
|
|
8864
8864
|
return h && h.default ? h.default : h;
|
|
8865
8865
|
}
|
|
@@ -8897,7 +8897,7 @@ function Gh() {
|
|
|
8897
8897
|
return v.promise();
|
|
8898
8898
|
}
|
|
8899
8899
|
if (typeof window > "u" && s.push(P), !c && typeof window < "u") {
|
|
8900
|
-
const S = g.webpack && typeof
|
|
8900
|
+
const S = g.webpack && typeof qh.resolveWeak == "function" ? g.webpack() : g.modules;
|
|
8901
8901
|
S && a.push((N) => {
|
|
8902
8902
|
for (const E of S)
|
|
8903
8903
|
if (N.includes(E))
|
|
@@ -9024,7 +9024,7 @@ function Gh() {
|
|
|
9024
9024
|
return l;
|
|
9025
9025
|
}
|
|
9026
9026
|
});
|
|
9027
|
-
const r = Ze, i = En, s = /* @__PURE__ */ r._(
|
|
9027
|
+
const r = Ze, i = En, s = /* @__PURE__ */ r._(Wh()), a = typeof window > "u";
|
|
9028
9028
|
function c(d) {
|
|
9029
9029
|
return {
|
|
9030
9030
|
default: (d == null ? void 0 : d.default) || d
|
|
@@ -9080,8 +9080,8 @@ function Gh() {
|
|
|
9080
9080
|
}
|
|
9081
9081
|
(typeof t.default == "function" || typeof t.default == "object" && t.default !== null) && typeof t.default.__esModule > "u" && (Object.defineProperty(t.default, "__esModule", { value: !0 }), Object.assign(t.default, t), e.exports = t.default);
|
|
9082
9082
|
})($o, $o.exports);
|
|
9083
|
-
var
|
|
9084
|
-
const bu = /* @__PURE__ */ dr(
|
|
9083
|
+
var Gh = $o.exports, Kh = Gh;
|
|
9084
|
+
const bu = /* @__PURE__ */ dr(Kh), rr = {
|
|
9085
9085
|
"modal-modifier": "_modal-modifier_10zw4_1",
|
|
9086
9086
|
"menu--navigation-bar": "_menu--navigation-bar_10zw4_15",
|
|
9087
9087
|
"menu--root": "_menu--root_10zw4_26"
|
|
@@ -9109,7 +9109,7 @@ const bu = /* @__PURE__ */ dr(Xh), rr = {
|
|
|
9109
9109
|
);
|
|
9110
9110
|
};
|
|
9111
9111
|
Cu.displayName = "Menu.MenuRoot";
|
|
9112
|
-
const
|
|
9112
|
+
const Xh = bu(() => Promise.resolve(Cu), {
|
|
9113
9113
|
ssr: !1
|
|
9114
9114
|
}), Eu = ({
|
|
9115
9115
|
children: e,
|
|
@@ -9169,7 +9169,7 @@ Nu.displayName = "Menu.NavigationBar";
|
|
|
9169
9169
|
const ao = {
|
|
9170
9170
|
Body: yu,
|
|
9171
9171
|
NavigationBar: Nu,
|
|
9172
|
-
Root:
|
|
9172
|
+
Root: Xh
|
|
9173
9173
|
}, Pu = ({
|
|
9174
9174
|
storeConfig: e
|
|
9175
9175
|
}) => {
|
|
@@ -9228,7 +9228,7 @@ const ao = {
|
|
|
9228
9228
|
] });
|
|
9229
9229
|
};
|
|
9230
9230
|
Pu.displayName = "Header.HeaderMobileWrapper";
|
|
9231
|
-
const
|
|
9231
|
+
const Yh = Ce({}), Qh = ({ children: e }) => {
|
|
9232
9232
|
const { sendDataLayerEvent: t } = fe(), { cartStore: n, isOpen: r } = ke();
|
|
9233
9233
|
Q(() => {
|
|
9234
9234
|
r && t({
|
|
@@ -9280,7 +9280,7 @@ const Qh = Ce({}), Zh = ({ children: e }) => {
|
|
|
9280
9280
|
});
|
|
9281
9281
|
};
|
|
9282
9282
|
return /* @__PURE__ */ o(
|
|
9283
|
-
|
|
9283
|
+
Yh.Provider,
|
|
9284
9284
|
{
|
|
9285
9285
|
value: {
|
|
9286
9286
|
handleUpdateItemQuantityEvent: i
|
|
@@ -9288,7 +9288,7 @@ const Qh = Ce({}), Zh = ({ children: e }) => {
|
|
|
9288
9288
|
children: e
|
|
9289
9289
|
}
|
|
9290
9290
|
);
|
|
9291
|
-
},
|
|
9291
|
+
}, Zh = "_fadeInOut_1hg4u_1", Jh = "_fadeOut_1hg4u_1", le = {
|
|
9292
9292
|
"mc--cashback": "_mc--cashback_1hg4u_1",
|
|
9293
9293
|
"mc--cashback--positive": "_mc--cashback--positive_1hg4u_21",
|
|
9294
9294
|
"mc--cashback--alert": "_mc--cashback--alert_1hg4u_24",
|
|
@@ -9317,8 +9317,8 @@ const Qh = Ce({}), Zh = ({ children: e }) => {
|
|
|
9317
9317
|
"mc--notify": "_mc--notify_1hg4u_352",
|
|
9318
9318
|
"mc--notify--content": "_mc--notify--content_1hg4u_367",
|
|
9319
9319
|
"mc--notify--item": "_mc--notify--item_1hg4u_380",
|
|
9320
|
-
fadeInOut:
|
|
9321
|
-
fadeOut:
|
|
9320
|
+
fadeInOut: Zh,
|
|
9321
|
+
fadeOut: Jh,
|
|
9322
9322
|
"mc--card": "_mc--card_1hg4u_442",
|
|
9323
9323
|
"mc--card--actions": "_mc--card--actions_1hg4u_447",
|
|
9324
9324
|
"mc--card--actions--secondary": "_mc--card--actions--secondary_1hg4u_455",
|
|
@@ -9398,7 +9398,7 @@ const wu = ({ ICONS: e }) => {
|
|
|
9398
9398
|
)) }) }) : null;
|
|
9399
9399
|
};
|
|
9400
9400
|
wu.displayName = "MiniCart.Notifications";
|
|
9401
|
-
const
|
|
9401
|
+
const e_ = ({
|
|
9402
9402
|
handleSendEvent: e,
|
|
9403
9403
|
onHandleRemove: t,
|
|
9404
9404
|
product: n,
|
|
@@ -9467,7 +9467,7 @@ const t_ = ({
|
|
|
9467
9467
|
return /* @__PURE__ */ C(q, { children: [
|
|
9468
9468
|
/* @__PURE__ */ C("div", { className: le["mc--card--actions--add-remove"], children: [
|
|
9469
9469
|
r.has_wishlist_button && /* @__PURE__ */ o(
|
|
9470
|
-
|
|
9470
|
+
e_,
|
|
9471
9471
|
{
|
|
9472
9472
|
...i,
|
|
9473
9473
|
product: t,
|
|
@@ -9579,7 +9579,7 @@ const Tu = ({
|
|
|
9579
9579
|
children: n
|
|
9580
9580
|
}
|
|
9581
9581
|
),
|
|
9582
|
-
/* @__PURE__ */ o("p", { className: z.classNameConcat(le["mc--card--name"], r), children:
|
|
9582
|
+
/* @__PURE__ */ o("p", { className: z.classNameConcat(le["mc--card--name"], r), children: Zp(e ?? "", t ?? "") })
|
|
9583
9583
|
] });
|
|
9584
9584
|
Tu.displayName = "MiniCart.Card.Name";
|
|
9585
9585
|
const xu = ({ total: e, totalList: t }) => /* @__PURE__ */ o(Ae.Root, { children: /* @__PURE__ */ o(j.Root, { children: /* @__PURE__ */ o(j.DivWrapper, { className: le["mc--card--price"], children: /* @__PURE__ */ o(
|
|
@@ -9693,7 +9693,7 @@ const Qt = {
|
|
|
9693
9693
|
Name: Tu,
|
|
9694
9694
|
Price: xu,
|
|
9695
9695
|
Sku: Ou
|
|
9696
|
-
},
|
|
9696
|
+
}, t_ = (e) => {
|
|
9697
9697
|
var t;
|
|
9698
9698
|
return {
|
|
9699
9699
|
price: e.sellingPrice / 100,
|
|
@@ -9712,7 +9712,7 @@ const Qt = {
|
|
|
9712
9712
|
TOGGLE_STYLE_MODIFIER: c
|
|
9713
9713
|
}) => {
|
|
9714
9714
|
var m, p;
|
|
9715
|
-
const { sendDataLayerEvent: l } = fe(), u =
|
|
9715
|
+
const { sendDataLayerEvent: l } = fe(), u = t_(n), d = (f, h) => {
|
|
9716
9716
|
const _ = {
|
|
9717
9717
|
commonData: {
|
|
9718
9718
|
...n,
|
|
@@ -9884,7 +9884,7 @@ const $u = ({ ICONS: e, MINICART_CONFIG: t, PLP_NOT_RESULT: n }) => {
|
|
|
9884
9884
|
);
|
|
9885
9885
|
};
|
|
9886
9886
|
$u.displayName = "MiniCart.Feedback";
|
|
9887
|
-
const
|
|
9887
|
+
const n_ = (e) => {
|
|
9888
9888
|
const t = e.replace(/\D/g, "");
|
|
9889
9889
|
return t.length > 5 ? `${t.slice(0, 5)}-${t.slice(5, 8)}` : t;
|
|
9890
9890
|
}, zu = ({
|
|
@@ -9918,7 +9918,7 @@ const r_ = (e) => {
|
|
|
9918
9918
|
return;
|
|
9919
9919
|
}
|
|
9920
9920
|
if (i === "cep") {
|
|
9921
|
-
const P =
|
|
9921
|
+
const P = n_(g);
|
|
9922
9922
|
u(P);
|
|
9923
9923
|
} else
|
|
9924
9924
|
u(g);
|
|
@@ -9985,12 +9985,12 @@ Fu.displayName = "MiniCart.Field";
|
|
|
9985
9985
|
const As = (e) => {
|
|
9986
9986
|
const t = e * 100;
|
|
9987
9987
|
return Math.round(t);
|
|
9988
|
-
},
|
|
9988
|
+
}, r_ = (e) => (e / 100).toFixed(2).replace(".", ","), o_ = (e, t) => {
|
|
9989
9989
|
const { valueType: n, remainingValueToActivate: r } = e;
|
|
9990
9990
|
if (n === "quantity")
|
|
9991
9991
|
return `Adicione mais ${r} ${r === 1 ? "item" : "itens"} ${t}`;
|
|
9992
9992
|
if (n === "price") {
|
|
9993
|
-
const i = r === 100 ? "Falta" : "Faltam", s =
|
|
9993
|
+
const i = r === 100 ? "Falta" : "Faltam", s = r_(r);
|
|
9994
9994
|
return `${i} R$ ${s} ${t}`;
|
|
9995
9995
|
}
|
|
9996
9996
|
return t;
|
|
@@ -10028,7 +10028,7 @@ const As = (e) => {
|
|
|
10028
10028
|
Mi,
|
|
10029
10029
|
{
|
|
10030
10030
|
className: le["mc--body--promotion--closeness"],
|
|
10031
|
-
title:
|
|
10031
|
+
title: o_(t, p),
|
|
10032
10032
|
subtitle: f,
|
|
10033
10033
|
percentage: As(t.completeness),
|
|
10034
10034
|
iconLink: e.arrow_right,
|
|
@@ -10450,7 +10450,7 @@ const et = {
|
|
|
10450
10450
|
Header: Gu,
|
|
10451
10451
|
TagMessage: Xu,
|
|
10452
10452
|
Totals: Wu
|
|
10453
|
-
},
|
|
10453
|
+
}, i_ = ({
|
|
10454
10454
|
ICONS: e,
|
|
10455
10455
|
MINICART_CONFIG: t,
|
|
10456
10456
|
NAME_SPLIT_SYMBOL: n,
|
|
@@ -10527,7 +10527,7 @@ const et = {
|
|
|
10527
10527
|
variant: l.default_variant,
|
|
10528
10528
|
interactiveVariant: l.interactive_variant,
|
|
10529
10529
|
children: [
|
|
10530
|
-
n ?? /* @__PURE__ */ C(
|
|
10530
|
+
n ?? /* @__PURE__ */ C(Uh, { children: [
|
|
10531
10531
|
/* @__PURE__ */ o(
|
|
10532
10532
|
"div",
|
|
10533
10533
|
{
|
|
@@ -10558,8 +10558,8 @@ const et = {
|
|
|
10558
10558
|
}
|
|
10559
10559
|
)
|
|
10560
10560
|
] }),
|
|
10561
|
-
/* @__PURE__ */ o(
|
|
10562
|
-
|
|
10561
|
+
/* @__PURE__ */ o(Qh, { children: /* @__PURE__ */ o(
|
|
10562
|
+
i_,
|
|
10563
10563
|
{
|
|
10564
10564
|
...d,
|
|
10565
10565
|
minicartStyleModifiers: t
|
|
@@ -10579,32 +10579,32 @@ const et = {
|
|
|
10579
10579
|
);
|
|
10580
10580
|
};
|
|
10581
10581
|
Yu.displayName = "Header";
|
|
10582
|
-
const
|
|
10583
|
-
shippingFreight:
|
|
10584
|
-
shippingFreight__postalCodeGrid:
|
|
10585
|
-
shippingFreight__grid:
|
|
10586
|
-
shippingFreight__grid__title:
|
|
10587
|
-
shippingFreight__grid__remember:
|
|
10588
|
-
postalCodeContainer:
|
|
10589
|
-
deliveryStatusBar__tag:
|
|
10590
|
-
deliveryStatusBarError__tag:
|
|
10591
|
-
deliveryInfo:
|
|
10592
|
-
deliveryInfo__content:
|
|
10593
|
-
deliveryInfo__text:
|
|
10594
|
-
deliveryInfo__title:
|
|
10595
|
-
deliveryInfo__subtitle:
|
|
10596
|
-
deliveryInfo__tooltipIcon:
|
|
10597
|
-
deliveryInfo__tooltip:
|
|
10598
|
-
freightGrid:
|
|
10599
|
-
freightContainer:
|
|
10600
|
-
freightOption__content:
|
|
10601
|
-
freightOption__value:
|
|
10602
|
-
freightOption__title:
|
|
10603
|
-
freightOption__title_item:
|
|
10604
|
-
freightOption__paragraph:
|
|
10582
|
+
const s_ = "_shippingFreight_6z8rf_6", a_ = "_shippingFreight__postalCodeGrid_6z8rf_10", c_ = "_shippingFreight__grid_6z8rf_14", l_ = "_shippingFreight__grid__title_6z8rf_18", u_ = "_shippingFreight__grid__remember_6z8rf_29", d_ = "_postalCodeContainer_6z8rf_44", p_ = "_deliveryStatusBar__tag_6z8rf_49", m_ = "_deliveryStatusBarError__tag_6z8rf_66", f_ = "_deliveryInfo_6z8rf_74", h_ = "_deliveryInfo__content_6z8rf_78", __ = "_deliveryInfo__text_6z8rf_84", g_ = "_deliveryInfo__title_6z8rf_89", y_ = "_deliveryInfo__subtitle_6z8rf_99", v_ = "_deliveryInfo__tooltipIcon_6z8rf_109", b_ = "_deliveryInfo__tooltip_6z8rf_109", C_ = "_freightGrid_6z8rf_148", E_ = "_freightContainer_6z8rf_155", N_ = "_freightOption__content_6z8rf_160", P_ = "_freightOption__value_6z8rf_166", S_ = "_freightOption__title_6z8rf_177", w_ = "_freightOption__title_item_6z8rf_181", R_ = "_freightOption__paragraph_6z8rf_192", Ee = {
|
|
10583
|
+
shippingFreight: s_,
|
|
10584
|
+
shippingFreight__postalCodeGrid: a_,
|
|
10585
|
+
shippingFreight__grid: c_,
|
|
10586
|
+
shippingFreight__grid__title: l_,
|
|
10587
|
+
shippingFreight__grid__remember: u_,
|
|
10588
|
+
postalCodeContainer: d_,
|
|
10589
|
+
deliveryStatusBar__tag: p_,
|
|
10590
|
+
deliveryStatusBarError__tag: m_,
|
|
10591
|
+
deliveryInfo: f_,
|
|
10592
|
+
deliveryInfo__content: h_,
|
|
10593
|
+
deliveryInfo__text: __,
|
|
10594
|
+
deliveryInfo__title: g_,
|
|
10595
|
+
deliveryInfo__subtitle: y_,
|
|
10596
|
+
deliveryInfo__tooltipIcon: v_,
|
|
10597
|
+
deliveryInfo__tooltip: b_,
|
|
10598
|
+
freightGrid: C_,
|
|
10599
|
+
freightContainer: E_,
|
|
10600
|
+
freightOption__content: N_,
|
|
10601
|
+
freightOption__value: P_,
|
|
10602
|
+
freightOption__title: S_,
|
|
10603
|
+
freightOption__title_item: w_,
|
|
10604
|
+
freightOption__paragraph: R_,
|
|
10605
10605
|
"input-modifier": "_input-modifier_6z8rf_207",
|
|
10606
10606
|
"freight--tooltip": "_freight--tooltip_6z8rf_227"
|
|
10607
|
-
},
|
|
10607
|
+
}, I_ = ({
|
|
10608
10608
|
icon: e,
|
|
10609
10609
|
title: t,
|
|
10610
10610
|
subtitle: n,
|
|
@@ -10665,13 +10665,13 @@ const a_ = "_shippingFreight_6z8rf_6", c_ = "_shippingFreight__postalCodeGrid_6z
|
|
|
10665
10665
|
)
|
|
10666
10666
|
] })
|
|
10667
10667
|
] });
|
|
10668
|
-
},
|
|
10668
|
+
}, A_ = ({ value: e, title: t, paragraph: n }) => /* @__PURE__ */ o("div", { className: Ee.freightOption, children: /* @__PURE__ */ C("div", { className: Ee.freightOption__content, children: [
|
|
10669
10669
|
/* @__PURE__ */ o("span", { className: Ee.freightOption__value, children: e }),
|
|
10670
10670
|
/* @__PURE__ */ o("span", { className: Ee.freightOption__title, children: /* @__PURE__ */ o(j.Root, { children: /* @__PURE__ */ C(j.DivWrapper, { className: Ee.footer__item, children: [
|
|
10671
10671
|
/* @__PURE__ */ o("span", { className: Ee.freightOption__title_item, children: t }),
|
|
10672
10672
|
n && /* @__PURE__ */ o("span", { className: Ee.freightOption__paragraph, children: n })
|
|
10673
10673
|
] }) }) })
|
|
10674
|
-
] }) }),
|
|
10674
|
+
] }) }), T_ = ({ children: e }) => /* @__PURE__ */ o("div", { className: Ee.freightContainer, children: e }), x_ = ({ children: e }) => /* @__PURE__ */ o("div", { className: Ee.freightGrid, children: e }), L_ = ({ children: e }) => /* @__PURE__ */ o("div", { className: Ee.postalCodeContainer, children: e }), Ts = ({
|
|
10675
10675
|
message: e,
|
|
10676
10676
|
seller: t = "",
|
|
10677
10677
|
size: n = "small",
|
|
@@ -10694,10 +10694,10 @@ const a_ = "_shippingFreight_6z8rf_6", c_ = "_shippingFreight__postalCodeGrid_6z
|
|
|
10694
10694
|
}
|
|
10695
10695
|
)
|
|
10696
10696
|
}
|
|
10697
|
-
),
|
|
10697
|
+
), O_ = (e) => {
|
|
10698
10698
|
const t = parseInt(e, 10);
|
|
10699
10699
|
return t === 1 ? `${t} dia` : `${t} dias`;
|
|
10700
|
-
},
|
|
10700
|
+
}, k_ = (e) => {
|
|
10701
10701
|
var n, r, i;
|
|
10702
10702
|
const t = [];
|
|
10703
10703
|
return (i = (r = (n = e == null ? void 0 : e.logisticsInfo) == null ? void 0 : n[0]) == null ? void 0 : r.slas) == null || i.forEach((s) => {
|
|
@@ -10708,7 +10708,7 @@ const a_ = "_shippingFreight_6z8rf_6", c_ = "_shippingFreight__postalCodeGrid_6z
|
|
|
10708
10708
|
shippingEstimate: s.shippingEstimate
|
|
10709
10709
|
});
|
|
10710
10710
|
}), t;
|
|
10711
|
-
},
|
|
10711
|
+
}, M_ = ({
|
|
10712
10712
|
component: e,
|
|
10713
10713
|
parent: t,
|
|
10714
10714
|
top: n,
|
|
@@ -10757,7 +10757,7 @@ const a_ = "_shippingFreight_6z8rf_6", c_ = "_shippingFreight__postalCodeGrid_6z
|
|
|
10757
10757
|
parent: t
|
|
10758
10758
|
}
|
|
10759
10759
|
) });
|
|
10760
|
-
},
|
|
10760
|
+
}, D_ = ({
|
|
10761
10761
|
onUpdateFreightItems: e,
|
|
10762
10762
|
sellerId: t,
|
|
10763
10763
|
size: n,
|
|
@@ -10794,7 +10794,7 @@ const a_ = "_shippingFreight_6z8rf_6", c_ = "_shippingFreight__postalCodeGrid_6z
|
|
|
10794
10794
|
country: "BRA",
|
|
10795
10795
|
postalCode: S
|
|
10796
10796
|
});
|
|
10797
|
-
e(
|
|
10797
|
+
e(k_(V.data));
|
|
10798
10798
|
} catch (V) {
|
|
10799
10799
|
console.error("Erro ao atualizar o documento:", V);
|
|
10800
10800
|
} finally {
|
|
@@ -10813,7 +10813,7 @@ const a_ = "_shippingFreight_6z8rf_6", c_ = "_shippingFreight__postalCodeGrid_6z
|
|
|
10813
10813
|
};
|
|
10814
10814
|
return /* @__PURE__ */ C("div", { ref: N, style: { position: "relative" }, children: [
|
|
10815
10815
|
!r && P ? /* @__PURE__ */ o(
|
|
10816
|
-
|
|
10816
|
+
M_,
|
|
10817
10817
|
{
|
|
10818
10818
|
component: c,
|
|
10819
10819
|
isOpen: P,
|
|
@@ -10850,7 +10850,7 @@ const a_ = "_shippingFreight_6z8rf_6", c_ = "_shippingFreight__postalCodeGrid_6z
|
|
|
10850
10850
|
}
|
|
10851
10851
|
) })
|
|
10852
10852
|
] });
|
|
10853
|
-
},
|
|
10853
|
+
}, $_ = ({ children: e, freightConfig: t }) => /* @__PURE__ */ C("div", { className: Ee.shippingFreight, children: [
|
|
10854
10854
|
/* @__PURE__ */ C("div", { className: Ee.shippingFreight__grid, children: [
|
|
10855
10855
|
/* @__PURE__ */ o("span", { className: Ee.shippingFreight__grid__title, children: t.messages.title }),
|
|
10856
10856
|
/* @__PURE__ */ o("span", { className: Ee.shippingFreight__grid__remember, children: /* @__PURE__ */ o(
|
|
@@ -10868,7 +10868,7 @@ const a_ = "_shippingFreight_6z8rf_6", c_ = "_shippingFreight__postalCodeGrid_6z
|
|
|
10868
10868
|
) })
|
|
10869
10869
|
] }),
|
|
10870
10870
|
/* @__PURE__ */ o("div", { className: Ee.shippingFreight__postalCodeGrid, children: e })
|
|
10871
|
-
] }),
|
|
10871
|
+
] }), z_ = ({
|
|
10872
10872
|
children: e
|
|
10873
10873
|
}) => /* @__PURE__ */ o("div", { className: Ee.freightContainer, children: e }), Qu = ({
|
|
10874
10874
|
className: e,
|
|
@@ -10897,10 +10897,10 @@ const a_ = "_shippingFreight_6z8rf_6", c_ = "_shippingFreight__postalCodeGrid_6z
|
|
|
10897
10897
|
}
|
|
10898
10898
|
});
|
|
10899
10899
|
};
|
|
10900
|
-
return /* @__PURE__ */ C(
|
|
10901
|
-
/* @__PURE__ */ C(
|
|
10902
|
-
/* @__PURE__ */ o(
|
|
10903
|
-
|
|
10900
|
+
return /* @__PURE__ */ C(z_, { className: e, children: [
|
|
10901
|
+
/* @__PURE__ */ C($_, { freightConfig: c.freightConfig, children: [
|
|
10902
|
+
/* @__PURE__ */ o(L_, { children: /* @__PURE__ */ o(
|
|
10903
|
+
D_,
|
|
10904
10904
|
{
|
|
10905
10905
|
onUpdateFreightItems: P,
|
|
10906
10906
|
skuId: n,
|
|
@@ -10923,21 +10923,21 @@ const a_ = "_shippingFreight_6z8rf_6", c_ = "_shippingFreight__postalCodeGrid_6z
|
|
|
10923
10923
|
}
|
|
10924
10924
|
)
|
|
10925
10925
|
] }),
|
|
10926
|
-
_ && !f ? m.length > 0 && /* @__PURE__ */ C(
|
|
10927
|
-
/* @__PURE__ */ o(
|
|
10928
|
-
|
|
10926
|
+
_ && !f ? m.length > 0 && /* @__PURE__ */ C(T_, { children: [
|
|
10927
|
+
/* @__PURE__ */ o(x_, { children: m.filter(({ id: b }) => !b.includes("Retirada")).map((b) => /* @__PURE__ */ o(
|
|
10928
|
+
A_,
|
|
10929
10929
|
{
|
|
10930
10930
|
id: b.id,
|
|
10931
10931
|
value: na({ valueInCents: b.price, hasFree: !1, freeTaxMessage: c.freightConfig.messages.free_tax }),
|
|
10932
10932
|
title: b.name,
|
|
10933
|
-
paragraph: `${c.freightConfig.messages.prefix_days}${
|
|
10933
|
+
paragraph: `${c.freightConfig.messages.prefix_days}${O_(b.shippingEstimate)}`,
|
|
10934
10934
|
radioValue: u,
|
|
10935
10935
|
changeValue: v
|
|
10936
10936
|
},
|
|
10937
10937
|
b.id
|
|
10938
10938
|
)) }),
|
|
10939
10939
|
c.deliveryInfoBoxesAllowed ? /* @__PURE__ */ o(
|
|
10940
|
-
|
|
10940
|
+
I_,
|
|
10941
10941
|
{
|
|
10942
10942
|
icon: c.freightConfig.icons.delivery_truck,
|
|
10943
10943
|
packageUnit: c.freightConfig.messages.unit_amout,
|
|
@@ -10959,7 +10959,7 @@ const a_ = "_shippingFreight_6z8rf_6", c_ = "_shippingFreight__postalCodeGrid_6z
|
|
|
10959
10959
|
"pdc-navigation--selected": "_pdc-navigation--selected_e02qd_137",
|
|
10960
10960
|
"pdc-navigation--selected--container": "_pdc-navigation--selected--container_e02qd_150",
|
|
10961
10961
|
"pdc-navigation": "_pdc-navigation_e02qd_28"
|
|
10962
|
-
},
|
|
10962
|
+
}, F_ = ({
|
|
10963
10963
|
children: e,
|
|
10964
10964
|
href: t,
|
|
10965
10965
|
isLast: n,
|
|
@@ -10973,7 +10973,7 @@ const a_ = "_shippingFreight_6z8rf_6", c_ = "_shippingFreight__postalCodeGrid_6z
|
|
|
10973
10973
|
return /* @__PURE__ */ o("div", { className: Ut["pcd-navigation--breadcrumb"], children: /* @__PURE__ */ o(zt.DivWrapper, { children: /* @__PURE__ */ o(zt.List, { children: Array.isArray(i) && i.map((a, c) => {
|
|
10974
10974
|
var l, u;
|
|
10975
10975
|
return /* @__PURE__ */ lr(
|
|
10976
|
-
|
|
10976
|
+
F_,
|
|
10977
10977
|
{
|
|
10978
10978
|
...a,
|
|
10979
10979
|
isLast: c !== i.length - 1,
|
|
@@ -10991,12 +10991,12 @@ const Ju = ({ children: e, ...t }) => /* @__PURE__ */ C("div", { ...t, className
|
|
|
10991
10991
|
e
|
|
10992
10992
|
] });
|
|
10993
10993
|
Ju.displayName = "PLPNavigation.Content";
|
|
10994
|
-
const
|
|
10995
|
-
sort:
|
|
10994
|
+
const j_ = "_sort_35wro_1", Nr = {
|
|
10995
|
+
sort: j_,
|
|
10996
10996
|
"sort-list-wrapper": "_sort-list-wrapper_35wro_8",
|
|
10997
10997
|
"sort-list": "_sort-list_35wro_8",
|
|
10998
10998
|
"sort-button": "_sort-button_35wro_25"
|
|
10999
|
-
},
|
|
10999
|
+
}, B_ = ({
|
|
11000
11000
|
children: e,
|
|
11001
11001
|
sortListOpen: t,
|
|
11002
11002
|
btnAdornment: n,
|
|
@@ -11015,7 +11015,7 @@ const B_ = "_sort_35wro_1", Nr = {
|
|
|
11015
11015
|
className: Nr["sort-button"],
|
|
11016
11016
|
children: e
|
|
11017
11017
|
}
|
|
11018
|
-
),
|
|
11018
|
+
), U_ = (e) => /* @__PURE__ */ o(ia.Radio, { ...e }), H_ = ({ children: e, className: t, name: n, ...r }) => /* @__PURE__ */ o(
|
|
11019
11019
|
ia.Group,
|
|
11020
11020
|
{
|
|
11021
11021
|
...r,
|
|
@@ -11023,7 +11023,7 @@ const B_ = "_sort_35wro_1", Nr = {
|
|
|
11023
11023
|
className: z.classNameConcat(Nr["sort-list"], t),
|
|
11024
11024
|
children: e
|
|
11025
11025
|
}
|
|
11026
|
-
),
|
|
11026
|
+
), q_ = ({
|
|
11027
11027
|
children: e,
|
|
11028
11028
|
className: t,
|
|
11029
11029
|
shadow: n = !0,
|
|
@@ -11043,7 +11043,7 @@ const B_ = "_sort_35wro_1", Nr = {
|
|
|
11043
11043
|
height: i,
|
|
11044
11044
|
children: e
|
|
11045
11045
|
}
|
|
11046
|
-
), ed =
|
|
11046
|
+
), ed = Hp(
|
|
11047
11047
|
({ children: e, className: t, ...n }, r) => /* @__PURE__ */ o(
|
|
11048
11048
|
"div",
|
|
11049
11049
|
{
|
|
@@ -11085,7 +11085,7 @@ const Pr = ({
|
|
|
11085
11085
|
};
|
|
11086
11086
|
return /* @__PURE__ */ C(ed, { ...s, ref: d, children: [
|
|
11087
11087
|
/* @__PURE__ */ o(
|
|
11088
|
-
|
|
11088
|
+
B_,
|
|
11089
11089
|
{
|
|
11090
11090
|
btnAdornment: {
|
|
11091
11091
|
listOpen: /* @__PURE__ */ o($, { name: i.arrow_up, size: "small" }),
|
|
@@ -11097,8 +11097,8 @@ const Pr = ({
|
|
|
11097
11097
|
},
|
|
11098
11098
|
"sort-button"
|
|
11099
11099
|
),
|
|
11100
|
-
t && /* @__PURE__ */ o(
|
|
11101
|
-
|
|
11100
|
+
t && /* @__PURE__ */ o(q_, { children: /* @__PURE__ */ o(H_, { name: "sort-group", value: c ?? "", onChange: m, children: Object.keys(dn.options).map((f) => /* @__PURE__ */ o(
|
|
11101
|
+
U_,
|
|
11102
11102
|
{
|
|
11103
11103
|
label: dn.options[f],
|
|
11104
11104
|
value: f
|
|
@@ -11108,7 +11108,7 @@ const Pr = ({
|
|
|
11108
11108
|
] });
|
|
11109
11109
|
};
|
|
11110
11110
|
Pr.displayName = "Sort";
|
|
11111
|
-
const td = Ce({}),
|
|
11111
|
+
const td = Ce({}), V_ = ({
|
|
11112
11112
|
children: e,
|
|
11113
11113
|
...t
|
|
11114
11114
|
}) => {
|
|
@@ -11127,7 +11127,7 @@ const td = Ce({}), W_ = ({
|
|
|
11127
11127
|
children: e
|
|
11128
11128
|
}
|
|
11129
11129
|
);
|
|
11130
|
-
},
|
|
11130
|
+
}, W_ = () => {
|
|
11131
11131
|
const e = Ne(td);
|
|
11132
11132
|
if (e === void 0)
|
|
11133
11133
|
throw new Error(
|
|
@@ -11135,7 +11135,7 @@ const td = Ce({}), W_ = ({
|
|
|
11135
11135
|
);
|
|
11136
11136
|
return e;
|
|
11137
11137
|
}, nd = () => {
|
|
11138
|
-
const { openOrderBy: e, onSort: t, setOpenFilters: n, setOpenOrderBy: r } =
|
|
11138
|
+
const { openOrderBy: e, onSort: t, setOpenFilters: n, setOpenOrderBy: r } = W_(), { ICONS: i, PDC_NAVIGATION: s, searchParams: a } = ot();
|
|
11139
11139
|
return /* @__PURE__ */ C("div", { className: Ut["pdc-navigation--filters"], children: [
|
|
11140
11140
|
/* @__PURE__ */ o(kt.BreadCrumb, {}),
|
|
11141
11141
|
/* @__PURE__ */ C("div", { className: Ut["pdc-navigation--filters--content"], children: [
|
|
@@ -11174,7 +11174,7 @@ const rd = ({
|
|
|
11174
11174
|
...i
|
|
11175
11175
|
}) => {
|
|
11176
11176
|
const s = ne(null);
|
|
11177
|
-
return /* @__PURE__ */ o(
|
|
11177
|
+
return /* @__PURE__ */ o(V_, { onSort: t, setOpenFilters: n, children: /* @__PURE__ */ o(
|
|
11178
11178
|
"div",
|
|
11179
11179
|
{
|
|
11180
11180
|
...i,
|
|
@@ -11336,7 +11336,7 @@ const md = ({ facet: e, ...t }) => {
|
|
|
11336
11336
|
onToggleFacet: i
|
|
11337
11337
|
} = ln(), [s, a] = (r == null ? void 0 : r.split(":").map(Number)) ?? [0, 100], [c, l] = ((d = (u = n == null ? void 0 : n.find(({ key: m }) => m === "price")) == null ? void 0 : u.value) == null ? void 0 : d.split(":").map(Number)) ?? [s, a];
|
|
11338
11338
|
return /* @__PURE__ */ o("div", { ...t, className: _t["filter--item--price"], children: /* @__PURE__ */ C(
|
|
11339
|
-
|
|
11339
|
+
om.SliderDual,
|
|
11340
11340
|
{
|
|
11341
11341
|
format: "price",
|
|
11342
11342
|
initialValue: [
|
|
@@ -11512,7 +11512,7 @@ const wt = {
|
|
|
11512
11512
|
Price: md,
|
|
11513
11513
|
Sizes: fd,
|
|
11514
11514
|
Toggle: hd
|
|
11515
|
-
}, { checkedColor:
|
|
11515
|
+
}, { checkedColor: G_, createTagPrice: xs, getColor: K_ } = cd, bd = ({ callback: e, facet: t }) => {
|
|
11516
11516
|
const { ICONS: n, PLP_FILTERS_COLORS: r, PLP_FILTERS: i } = ot();
|
|
11517
11517
|
return /* @__PURE__ */ o(
|
|
11518
11518
|
rt,
|
|
@@ -11521,11 +11521,11 @@ const wt = {
|
|
|
11521
11521
|
adornment: {
|
|
11522
11522
|
end: /* @__PURE__ */ o($, { name: n.close, size: "x-small" })
|
|
11523
11523
|
},
|
|
11524
|
-
colorSquare:
|
|
11524
|
+
colorSquare: K_({ value: t.value, PLP_FILTERS_COLORS: r }),
|
|
11525
11525
|
onClick: () => {
|
|
11526
11526
|
typeof e == "function" && e(t, !0);
|
|
11527
11527
|
},
|
|
11528
|
-
squareShow:
|
|
11528
|
+
squareShow: G_({ key: t.key, PLP_FILTERS: i }),
|
|
11529
11529
|
size: "medium",
|
|
11530
11530
|
variant: "primary",
|
|
11531
11531
|
children: (t == null ? void 0 : t.key) === "price" ? xs({ value: t.value }) : t.value.toUpperCase()
|
|
@@ -11543,25 +11543,25 @@ const kt = {
|
|
|
11543
11543
|
Selected: od,
|
|
11544
11544
|
SelectedItem: bd,
|
|
11545
11545
|
Total: Cd
|
|
11546
|
-
},
|
|
11547
|
-
footer__bottom:
|
|
11548
|
-
footer__wrapper:
|
|
11549
|
-
footer__main:
|
|
11550
|
-
footer__legalInformation:
|
|
11551
|
-
footer__column:
|
|
11552
|
-
footer__columnContent:
|
|
11553
|
-
footer__item:
|
|
11554
|
-
footer__itemLink:
|
|
11555
|
-
footer__columnTitle:
|
|
11556
|
-
footer__columnTitleIcon:
|
|
11557
|
-
footer__iconList:
|
|
11558
|
-
footer__itemSmallText:
|
|
11559
|
-
payment:
|
|
11560
|
-
footer__iconContainer:
|
|
11561
|
-
footer__iconListSubHeader:
|
|
11562
|
-
accordionWrapper:
|
|
11563
|
-
accordionHeader:
|
|
11564
|
-
accordionTextWrapper:
|
|
11546
|
+
}, X_ = "_footer__bottom_198g6_2", Y_ = "_footer__wrapper_198g6_10", Q_ = "_footer__main_198g6_39", Z_ = "_footer__legalInformation_198g6_55", J_ = "_footer__column_198g6_77", eg = "_footer__columnContent_198g6_87", tg = "_footer__item_198g6_91", ng = "_footer__itemLink_198g6_107", rg = "_footer__columnTitle_198g6_122", og = "_footer__columnTitleIcon_198g6_134", ig = "_footer__iconList_198g6_147", sg = "_footer__itemSmallText_198g6_157", ag = "_payment_198g6_168", cg = "_footer__iconContainer_198g6_173", lg = "_footer__iconListSubHeader_198g6_178", ug = "_accordionWrapper_198g6_200", dg = "_accordionHeader_198g6_204", pg = "_accordionTextWrapper_198g6_208", Pe = {
|
|
11547
|
+
footer__bottom: X_,
|
|
11548
|
+
footer__wrapper: Y_,
|
|
11549
|
+
footer__main: Q_,
|
|
11550
|
+
footer__legalInformation: Z_,
|
|
11551
|
+
footer__column: J_,
|
|
11552
|
+
footer__columnContent: eg,
|
|
11553
|
+
footer__item: tg,
|
|
11554
|
+
footer__itemLink: ng,
|
|
11555
|
+
footer__columnTitle: rg,
|
|
11556
|
+
footer__columnTitleIcon: og,
|
|
11557
|
+
footer__iconList: ig,
|
|
11558
|
+
footer__itemSmallText: sg,
|
|
11559
|
+
payment: ag,
|
|
11560
|
+
footer__iconContainer: cg,
|
|
11561
|
+
footer__iconListSubHeader: lg,
|
|
11562
|
+
accordionWrapper: ug,
|
|
11563
|
+
accordionHeader: dg,
|
|
11564
|
+
accordionTextWrapper: pg,
|
|
11565
11565
|
"footer--stamps": "_footer--stamps_198g6_247",
|
|
11566
11566
|
"footer--stamps--company": "_footer--stamps--company_198g6_254",
|
|
11567
11567
|
"support-container": "_support-container_198g6_258",
|
|
@@ -12017,7 +12017,7 @@ Read more: https://nextjs.org/docs/api-reference/next/image#priority`);
|
|
|
12017
12017
|
}
|
|
12018
12018
|
})(wi);
|
|
12019
12019
|
var Fo = { exports: {} }, Gn = { exports: {} }, co = {}, Ls;
|
|
12020
|
-
function
|
|
12020
|
+
function mg() {
|
|
12021
12021
|
return Ls || (Ls = 1, function(e) {
|
|
12022
12022
|
Object.defineProperty(e, "__esModule", {
|
|
12023
12023
|
value: !0
|
|
@@ -12057,7 +12057,7 @@ function fg() {
|
|
|
12057
12057
|
}(co)), co;
|
|
12058
12058
|
}
|
|
12059
12059
|
var lo = {}, Os;
|
|
12060
|
-
function
|
|
12060
|
+
function fg() {
|
|
12061
12061
|
return Os || (Os = 1, function(e) {
|
|
12062
12062
|
Object.defineProperty(e, "__esModule", {
|
|
12063
12063
|
value: !0
|
|
@@ -12087,7 +12087,7 @@ function Pd() {
|
|
|
12087
12087
|
}(uo)), uo;
|
|
12088
12088
|
}
|
|
12089
12089
|
var po = {}, Ms;
|
|
12090
|
-
function
|
|
12090
|
+
function hg() {
|
|
12091
12091
|
return Ms || (Ms = 1, function(e) {
|
|
12092
12092
|
Object.defineProperty(e, "__esModule", {
|
|
12093
12093
|
value: !0
|
|
@@ -12104,7 +12104,7 @@ function _g() {
|
|
|
12104
12104
|
}(po)), po;
|
|
12105
12105
|
}
|
|
12106
12106
|
var Ds;
|
|
12107
|
-
function
|
|
12107
|
+
function _g() {
|
|
12108
12108
|
return Ds || (Ds = 1, function(e, t) {
|
|
12109
12109
|
"use client";
|
|
12110
12110
|
Object.defineProperty(t, "__esModule", {
|
|
@@ -12124,7 +12124,7 @@ function gg() {
|
|
|
12124
12124
|
return p;
|
|
12125
12125
|
}
|
|
12126
12126
|
});
|
|
12127
|
-
const r = Ze, i = on, s = En, a = /* @__PURE__ */ i._(pt), c = /* @__PURE__ */ r._(
|
|
12127
|
+
const r = Ze, i = on, s = En, a = /* @__PURE__ */ i._(pt), c = /* @__PURE__ */ r._(mg()), l = fg(), u = Pd(), d = hg(), m = Sr;
|
|
12128
12128
|
function p(b) {
|
|
12129
12129
|
b === void 0 && (b = !1);
|
|
12130
12130
|
const y = [
|
|
@@ -12224,7 +12224,7 @@ See more info here: https://nextjs.org/docs/messages/no-stylesheets-in-head-comp
|
|
|
12224
12224
|
}(Gn, Gn.exports)), Gn.exports;
|
|
12225
12225
|
}
|
|
12226
12226
|
var mo = {}, $s;
|
|
12227
|
-
function
|
|
12227
|
+
function gg() {
|
|
12228
12228
|
return $s || ($s = 1, function(e) {
|
|
12229
12229
|
Object.defineProperty(e, "__esModule", {
|
|
12230
12230
|
value: !0
|
|
@@ -12885,7 +12885,7 @@ function Sd() {
|
|
|
12885
12885
|
})()), _o.exports;
|
|
12886
12886
|
}
|
|
12887
12887
|
var Fs;
|
|
12888
|
-
function
|
|
12888
|
+
function yg() {
|
|
12889
12889
|
return Fs || (Fs = 1, function(e) {
|
|
12890
12890
|
Object.defineProperty(e, "__esModule", {
|
|
12891
12891
|
value: !0
|
|
@@ -12922,7 +12922,7 @@ function vg() {
|
|
|
12922
12922
|
}(ho)), ho;
|
|
12923
12923
|
}
|
|
12924
12924
|
var go = {}, js;
|
|
12925
|
-
function
|
|
12925
|
+
function vg() {
|
|
12926
12926
|
return js || (js = 1, function(e) {
|
|
12927
12927
|
Object.defineProperty(e, "__esModule", {
|
|
12928
12928
|
value: !0
|
|
@@ -12992,7 +12992,7 @@ function wd() {
|
|
|
12992
12992
|
throw new Error('Failed to parse src "' + a + '" on `next/image`, protocol-relative URL (//) must be changed to an absolute URL (http:// or https://)');
|
|
12993
12993
|
if (a.startsWith("/") && s.localPatterns && process.env.NODE_ENV !== "test" && // micromatch isn't compatible with edge runtime
|
|
12994
12994
|
process.env.NEXT_RUNTIME !== "edge") {
|
|
12995
|
-
const { hasLocalMatch: p } =
|
|
12995
|
+
const { hasLocalMatch: p } = yg();
|
|
12996
12996
|
if (!p(s.localPatterns, a))
|
|
12997
12997
|
throw new Error("Invalid src prop (" + a + ") on `next/image` does not match `images.localPatterns` configured in your `next.config.js`\nSee more info: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns");
|
|
12998
12998
|
}
|
|
@@ -13005,7 +13005,7 @@ function wd() {
|
|
|
13005
13005
|
}
|
|
13006
13006
|
if (process.env.NODE_ENV !== "test" && // micromatch isn't compatible with edge runtime
|
|
13007
13007
|
process.env.NEXT_RUNTIME !== "edge") {
|
|
13008
|
-
const { hasRemoteMatch: f } =
|
|
13008
|
+
const { hasRemoteMatch: f } = vg();
|
|
13009
13009
|
if (!f(s.domains, s.remotePatterns, p))
|
|
13010
13010
|
throw new Error("Invalid src prop (" + a + ') on `next/image`, hostname "' + p.hostname + '" is not configured under images in your `next.config.js`\nSee more info: https://nextjs.org/docs/messages/next-image-unconfigured-host');
|
|
13011
13011
|
}
|
|
@@ -13030,7 +13030,7 @@ function wd() {
|
|
|
13030
13030
|
return b;
|
|
13031
13031
|
}
|
|
13032
13032
|
});
|
|
13033
|
-
const n = Ze, r = on, i = En, s = /* @__PURE__ */ r._(pt), a = /* @__PURE__ */ n._(sa), c = /* @__PURE__ */ n._(
|
|
13033
|
+
const n = Ze, r = on, i = En, s = /* @__PURE__ */ r._(pt), a = /* @__PURE__ */ n._(sa), c = /* @__PURE__ */ n._(_g()), l = wi, u = wr, d = gg(), m = Sr, p = El(), f = /* @__PURE__ */ n._(wd()), h = process.env.__NEXT_IMAGE_OPTS;
|
|
13034
13034
|
typeof window > "u" && (globalThis.__NEXT_IMAGE_IMPORTED = !0);
|
|
13035
13035
|
function _(y, S, N, E, R, x, T) {
|
|
13036
13036
|
const L = y == null ? void 0 : y.src;
|
|
@@ -13218,7 +13218,7 @@ function wd() {
|
|
|
13218
13218
|
});
|
|
13219
13219
|
(typeof t.default == "function" || typeof t.default == "object" && t.default !== null) && typeof t.default.__esModule > "u" && (Object.defineProperty(t.default, "__esModule", { value: !0 }), Object.assign(t.default, t), e.exports = t.default);
|
|
13220
13220
|
})(Fo, Fo.exports);
|
|
13221
|
-
var
|
|
13221
|
+
var bg = Fo.exports;
|
|
13222
13222
|
(function(e) {
|
|
13223
13223
|
Object.defineProperty(e, "__esModule", {
|
|
13224
13224
|
value: !0
|
|
@@ -13237,7 +13237,7 @@ var Cg = Fo.exports;
|
|
|
13237
13237
|
return a;
|
|
13238
13238
|
}
|
|
13239
13239
|
});
|
|
13240
|
-
const n = Ze, r = wi, i =
|
|
13240
|
+
const n = Ze, r = wi, i = bg, s = /* @__PURE__ */ n._(wd());
|
|
13241
13241
|
function a(l) {
|
|
13242
13242
|
const { props: u } = (0, r.getImgProps)(l, {
|
|
13243
13243
|
defaultLoader: s.default,
|
|
@@ -13252,8 +13252,8 @@ var Cg = Fo.exports;
|
|
|
13252
13252
|
}
|
|
13253
13253
|
const c = i.Image;
|
|
13254
13254
|
})(Ed);
|
|
13255
|
-
var
|
|
13256
|
-
const or = /* @__PURE__ */ dr(
|
|
13255
|
+
var Cg = Ed;
|
|
13256
|
+
const or = /* @__PURE__ */ dr(Cg), Eg = ({ item: e, CONSTANTS: t }) => {
|
|
13257
13257
|
const n = e.icon ? t.PAYMENT_FLAGS.includes(e.icon) ? "payment" : "social" : null, r = n === "payment" ? t.PAYMENT_FLAGS_DICTIONARY[e.icon] : e.icon;
|
|
13258
13258
|
return e.link ? /* @__PURE__ */ C(
|
|
13259
13259
|
it,
|
|
@@ -13271,7 +13271,7 @@ const or = /* @__PURE__ */ dr(Eg), Ng = ({ item: e, CONSTANTS: t }) => {
|
|
|
13271
13271
|
e.image && /* @__PURE__ */ o("img", { src: e.image, alt: "", loading: "lazy" }),
|
|
13272
13272
|
n === "payment" ? /* @__PURE__ */ o(or, { alt: r, src: `/assets/${r}.svg`, width: 20, height: 20 }) : /* @__PURE__ */ o($, { size: "small", name: r })
|
|
13273
13273
|
] });
|
|
13274
|
-
},
|
|
13274
|
+
}, Ng = ({
|
|
13275
13275
|
content: e,
|
|
13276
13276
|
CONSTANTS: t
|
|
13277
13277
|
}) => /* @__PURE__ */ o("div", { className: Pe["support-container"], children: e == null ? void 0 : e.map((n, r) => /* @__PURE__ */ C(
|
|
@@ -13285,7 +13285,7 @@ const or = /* @__PURE__ */ dr(Eg), Ng = ({ item: e, CONSTANTS: t }) => {
|
|
|
13285
13285
|
n.description && /* @__PURE__ */ o("p", { children: n.description })
|
|
13286
13286
|
] }),
|
|
13287
13287
|
Array.isArray(n.items) && n.items.length && /* @__PURE__ */ o("div", { className: Pe["support-items"], "data-gap": n.gap, children: n.items.map((i, s) => /* @__PURE__ */ o(
|
|
13288
|
-
|
|
13288
|
+
Eg,
|
|
13289
13289
|
{
|
|
13290
13290
|
item: i,
|
|
13291
13291
|
CONSTANTS: t
|
|
@@ -13295,7 +13295,7 @@ const or = /* @__PURE__ */ dr(Eg), Ng = ({ item: e, CONSTANTS: t }) => {
|
|
|
13295
13295
|
]
|
|
13296
13296
|
},
|
|
13297
13297
|
`footer-support-${r}`
|
|
13298
|
-
)) }),
|
|
13298
|
+
)) }), Pg = ({
|
|
13299
13299
|
name: e,
|
|
13300
13300
|
nameIcon: t,
|
|
13301
13301
|
maxWidth: n,
|
|
@@ -13347,7 +13347,7 @@ const or = /* @__PURE__ */ dr(Eg), Ng = ({ item: e, CONSTANTS: t }) => {
|
|
|
13347
13347
|
}
|
|
13348
13348
|
)
|
|
13349
13349
|
}
|
|
13350
|
-
),
|
|
13350
|
+
), Sg = ({
|
|
13351
13351
|
name: e,
|
|
13352
13352
|
nameIcon: t,
|
|
13353
13353
|
maxWidth: n,
|
|
@@ -13393,7 +13393,7 @@ const or = /* @__PURE__ */ dr(Eg), Ng = ({ item: e, CONSTANTS: t }) => {
|
|
|
13393
13393
|
}
|
|
13394
13394
|
), yo = (e) => {
|
|
13395
13395
|
const { isMobile: t } = ue();
|
|
13396
|
-
return t ? /* @__PURE__ */ o(
|
|
13396
|
+
return t ? /* @__PURE__ */ o(Sg, { ...e }) : /* @__PURE__ */ o(Pg, { ...e });
|
|
13397
13397
|
}, Kn = ({
|
|
13398
13398
|
type: e,
|
|
13399
13399
|
children: t,
|
|
@@ -13523,7 +13523,7 @@ const or = /* @__PURE__ */ dr(Eg), Ng = ({ item: e, CONSTANTS: t }) => {
|
|
|
13523
13523
|
)
|
|
13524
13524
|
}
|
|
13525
13525
|
);
|
|
13526
|
-
},
|
|
13526
|
+
}, wg = ({
|
|
13527
13527
|
className: e,
|
|
13528
13528
|
text: t,
|
|
13529
13529
|
...n
|
|
@@ -13603,7 +13603,7 @@ const Ad = ({
|
|
|
13603
13603
|
{
|
|
13604
13604
|
className: c,
|
|
13605
13605
|
adornment: i,
|
|
13606
|
-
legalTextSlot: /* @__PURE__ */ o(
|
|
13606
|
+
legalTextSlot: /* @__PURE__ */ o(wg, { text: s }),
|
|
13607
13607
|
children: [
|
|
13608
13608
|
Array.isArray(e.column) && e.column.map((d, m) => /* @__PURE__ */ o(
|
|
13609
13609
|
yo,
|
|
@@ -13656,11 +13656,11 @@ const Ad = ({
|
|
|
13656
13656
|
);
|
|
13657
13657
|
};
|
|
13658
13658
|
Ad.displayName = "Footer";
|
|
13659
|
-
const
|
|
13659
|
+
const Rg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13660
13660
|
__proto__: null,
|
|
13661
13661
|
Footer: Ad,
|
|
13662
|
-
FooterSupport:
|
|
13663
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
13662
|
+
FooterSupport: Ng
|
|
13663
|
+
}, Symbol.toStringTag, { value: "Module" })), Ig = () => {
|
|
13664
13664
|
const { colorName: e } = Je();
|
|
13665
13665
|
return /* @__PURE__ */ o(j.Root, { children: /* @__PURE__ */ o(
|
|
13666
13666
|
j.DivWrapper,
|
|
@@ -13794,7 +13794,7 @@ const Ri = ({ layout: e = "horizontal" }) => {
|
|
|
13794
13794
|
children: i.sku && i.available ? `${r.add_to_cart}` : `${r.select_size}`
|
|
13795
13795
|
}
|
|
13796
13796
|
);
|
|
13797
|
-
},
|
|
13797
|
+
}, Ag = ({ addToCartBtnSize: e, BUY_BUTTON_LABELS: t }) => {
|
|
13798
13798
|
const { isMobile: n } = ue(), r = Rn(), { sizesContainerRef: i } = da(), { structureRef: s } = je();
|
|
13799
13799
|
return r.sku && r.available ? /* @__PURE__ */ o(jo, { addToCartBtnSize: e, BUY_BUTTON_LABELS: t }) : /* @__PURE__ */ o(
|
|
13800
13800
|
G,
|
|
@@ -13895,7 +13895,7 @@ const Ri = ({ layout: e = "horizontal" }) => {
|
|
|
13895
13895
|
) : null;
|
|
13896
13896
|
};
|
|
13897
13897
|
Ii.displayName = "PDP.GoldenTag";
|
|
13898
|
-
const
|
|
13898
|
+
const Tg = ({ addToCartBtnSize: e, BUY_BUTTON_LABELS: t, TIME_ZONE: n, Z_INDEX_WAR: r }) => {
|
|
13899
13899
|
const { isMobile: i } = ue();
|
|
13900
13900
|
return i ? /* @__PURE__ */ C(
|
|
13901
13901
|
Nn,
|
|
@@ -13911,11 +13911,11 @@ const xg = ({ addToCartBtnSize: e, BUY_BUTTON_LABELS: t, TIME_ZONE: n, Z_INDEX_W
|
|
|
13911
13911
|
/* @__PURE__ */ o(Ri, { layout: "name-vertical" })
|
|
13912
13912
|
] })
|
|
13913
13913
|
] }),
|
|
13914
|
-
/* @__PURE__ */ o(
|
|
13914
|
+
/* @__PURE__ */ o(Ag, { addToCartBtnSize: e, BUY_BUTTON_LABELS: t })
|
|
13915
13915
|
]
|
|
13916
13916
|
}
|
|
13917
13917
|
) : null;
|
|
13918
|
-
},
|
|
13918
|
+
}, xg = ({
|
|
13919
13919
|
children: e,
|
|
13920
13920
|
setShowBottomNavigation: t
|
|
13921
13921
|
}) => {
|
|
@@ -13925,7 +13925,7 @@ const xg = ({ addToCartBtnSize: e, BUY_BUTTON_LABELS: t, TIME_ZONE: n, Z_INDEX_W
|
|
|
13925
13925
|
const { top: s } = ((a = n.current) == null ? void 0 : a.getBoundingClientRect()) ?? { top: 0 };
|
|
13926
13926
|
i.current !== r && s > 0 && (t(!r), i.current = r);
|
|
13927
13927
|
}, [r]), /* @__PURE__ */ o("div", { ref: n, style: { width: "100%" }, children: e });
|
|
13928
|
-
},
|
|
13928
|
+
}, Lg = ({ ICONS: e }) => {
|
|
13929
13929
|
const { isMobile: t } = ue(), { price: n, listPrice: r, productData: i, productId: s } = Je(), { sendDataLayerEvent: a } = fe(), c = an(), { toggleProduct: l } = Wt();
|
|
13930
13930
|
return /* @__PURE__ */ o(
|
|
13931
13931
|
G,
|
|
@@ -13972,7 +13972,7 @@ const xg = ({ addToCartBtnSize: e, BUY_BUTTON_LABELS: t, TIME_ZONE: n, Z_INDEX_W
|
|
|
13972
13972
|
const { isMobile: c } = ue(), [l, u] = k(!0);
|
|
13973
13973
|
return /* @__PURE__ */ C(q, { children: [
|
|
13974
13974
|
/* @__PURE__ */ C("div", { className: oe.actions, children: [
|
|
13975
|
-
c ? /* @__PURE__ */ o(
|
|
13975
|
+
c ? /* @__PURE__ */ o(xg, { setShowBottomNavigation: u, children: /* @__PURE__ */ o(
|
|
13976
13976
|
jo,
|
|
13977
13977
|
{
|
|
13978
13978
|
onAddCallBack: t,
|
|
@@ -13987,9 +13987,9 @@ const xg = ({ addToCartBtnSize: e, BUY_BUTTON_LABELS: t, TIME_ZONE: n, Z_INDEX_W
|
|
|
13987
13987
|
BUY_BUTTON_LABELS: r
|
|
13988
13988
|
}
|
|
13989
13989
|
),
|
|
13990
|
-
e && /* @__PURE__ */ o(
|
|
13990
|
+
e && /* @__PURE__ */ o(Lg, { ICONS: i })
|
|
13991
13991
|
] }),
|
|
13992
|
-
c && l && /* @__PURE__ */ o(
|
|
13992
|
+
c && l && /* @__PURE__ */ o(Tg, { addToCartBtnSize: n, BUY_BUTTON_LABELS: r, Z_INDEX_WAR: a, TIME_ZONE: s })
|
|
13993
13993
|
] });
|
|
13994
13994
|
}, xd = ({ className: e, device: t, ICONS: n }) => {
|
|
13995
13995
|
const { breadcrumbList: r, productName: i } = Je(), s = (a) => a.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g, "");
|
|
@@ -14050,7 +14050,7 @@ const Ld = ({ className: e }) => {
|
|
|
14050
14050
|
) : /* @__PURE__ */ o(q, {});
|
|
14051
14051
|
};
|
|
14052
14052
|
Ld.displayName = "PDPCredits";
|
|
14053
|
-
const
|
|
14053
|
+
const Og = () => {
|
|
14054
14054
|
const { descriptionContent: e, productReference: t } = Je(), [n, r] = k("description");
|
|
14055
14055
|
return /* @__PURE__ */ C(kn.Root, { className: oe["tabs-root-modifier"], children: [
|
|
14056
14056
|
/* @__PURE__ */ o(kn.TabList, { className: oe["tabs-list-modifier"], children: e == null ? void 0 : e.map(({ label: i, value: s }) => /* @__PURE__ */ o(
|
|
@@ -14088,7 +14088,7 @@ const kg = () => {
|
|
|
14088
14088
|
)
|
|
14089
14089
|
] })
|
|
14090
14090
|
] });
|
|
14091
|
-
},
|
|
14091
|
+
}, kg = ({
|
|
14092
14092
|
CURRENCY: e,
|
|
14093
14093
|
DELIVERY_INFO_BOXES_ALLOWED: t,
|
|
14094
14094
|
FREIGHT_CALCULATION: n,
|
|
@@ -14140,7 +14140,7 @@ const kg = () => {
|
|
|
14140
14140
|
},
|
|
14141
14141
|
t
|
|
14142
14142
|
);
|
|
14143
|
-
},
|
|
14143
|
+
}, Mg = ({
|
|
14144
14144
|
video: e,
|
|
14145
14145
|
productName: t,
|
|
14146
14146
|
poster: n
|
|
@@ -14209,7 +14209,7 @@ const kg = () => {
|
|
|
14209
14209
|
/* @__PURE__ */ C(me.Body, { children: [
|
|
14210
14210
|
/* @__PURE__ */ o(me.Item, { style: l, children: /* @__PURE__ */ o(Us, { image: e[0], index: 0, handleZoom: n, PRODUCT_IMAGE_DIMENSIONS: i }) }, "PDP_gallery_0"),
|
|
14211
14211
|
t && /* @__PURE__ */ o(me.Item, { style: l, children: /* @__PURE__ */ o(
|
|
14212
|
-
|
|
14212
|
+
Mg,
|
|
14213
14213
|
{
|
|
14214
14214
|
video: t,
|
|
14215
14215
|
productName: r,
|
|
@@ -14231,22 +14231,22 @@ const kg = () => {
|
|
|
14231
14231
|
);
|
|
14232
14232
|
};
|
|
14233
14233
|
Od.displayName = "PDP.Carousel";
|
|
14234
|
-
const
|
|
14234
|
+
const Dg = "_thumbs_1fbzz_65", $g = "_selected_1fbzz_93", zg = "_carousel_1fbzz_162", Fg = "_bullets_1fbzz_199", ze = {
|
|
14235
14235
|
"image-zoom-wrapper-desktop": "_image-zoom-wrapper-desktop_1fbzz_1",
|
|
14236
14236
|
"button-close-container": "_button-close-container_1fbzz_10",
|
|
14237
14237
|
"button-close": "_button-close_1fbzz_10",
|
|
14238
14238
|
"main-image-container": "_main-image-container_1fbzz_22",
|
|
14239
14239
|
"image-desktop": "_image-desktop_1fbzz_52",
|
|
14240
|
-
thumbs:
|
|
14241
|
-
selected:
|
|
14240
|
+
thumbs: Dg,
|
|
14241
|
+
selected: $g,
|
|
14242
14242
|
"image-zoom-wrapper-mobile": "_image-zoom-wrapper-mobile_1fbzz_115",
|
|
14243
14243
|
"image-mobile": "_image-mobile_1fbzz_145",
|
|
14244
14244
|
"image-zoom--image": "_image-zoom--image_1fbzz_159",
|
|
14245
|
-
carousel:
|
|
14245
|
+
carousel: zg,
|
|
14246
14246
|
"carousel-controller": "_carousel-controller_1fbzz_167",
|
|
14247
14247
|
"arrow-left": "_arrow-left_1fbzz_177",
|
|
14248
14248
|
"arrow-right": "_arrow-right_1fbzz_178",
|
|
14249
|
-
bullets:
|
|
14249
|
+
bullets: Fg,
|
|
14250
14250
|
"zoom-popup": "_zoom-popup_1fbzz_210",
|
|
14251
14251
|
"image-zoom--mobile": "_image-zoom--mobile_1fbzz_250",
|
|
14252
14252
|
"image-zoom--image--img": "_image-zoom--image--img_1fbzz_280"
|
|
@@ -14262,7 +14262,7 @@ const $g = "_thumbs_1fbzz_65", zg = "_selected_1fbzz_93", Fg = "_carousel_1fbzz_
|
|
|
14262
14262
|
onClick: e,
|
|
14263
14263
|
style: { textDecoration: "none" }
|
|
14264
14264
|
}
|
|
14265
|
-
) }),
|
|
14265
|
+
) }), jg = ({
|
|
14266
14266
|
children: e,
|
|
14267
14267
|
Z_INDEX_WAR: t,
|
|
14268
14268
|
...n
|
|
@@ -14450,7 +14450,7 @@ const $d = ({ images: e, ICONS: t, PRODUCT_IMAGE_DIMENSIONS: n, ...r }) => {
|
|
|
14450
14450
|
);
|
|
14451
14451
|
};
|
|
14452
14452
|
$d.displayName = "ImageZoom.ImageMobile";
|
|
14453
|
-
const
|
|
14453
|
+
const Bg = ({
|
|
14454
14454
|
children: e,
|
|
14455
14455
|
Z_INDEX_WAR: t,
|
|
14456
14456
|
...n
|
|
@@ -14462,8 +14462,8 @@ const Ug = ({
|
|
|
14462
14462
|
style: { zIndex: t.pdp_image_zoom },
|
|
14463
14463
|
children: e
|
|
14464
14464
|
}
|
|
14465
|
-
),
|
|
14466
|
-
modal:
|
|
14465
|
+
), Ug = "_modal_1u87b_1", Et = {
|
|
14466
|
+
modal: Ug,
|
|
14467
14467
|
"quick-shop__modal": "_quick-shop__modal_1u87b_4",
|
|
14468
14468
|
"shop-bag": "_shop-bag_1u87b_9",
|
|
14469
14469
|
"modal-product-body": "_modal-product-body_1u87b_25",
|
|
@@ -14471,7 +14471,7 @@ const Ug = ({
|
|
|
14471
14471
|
"modal-header": "_modal-header_1u87b_38",
|
|
14472
14472
|
"modal-header__title": "_modal-header__title_1u87b_41"
|
|
14473
14473
|
};
|
|
14474
|
-
function
|
|
14474
|
+
function Hg({
|
|
14475
14475
|
headerTitle: e,
|
|
14476
14476
|
isMobile: t,
|
|
14477
14477
|
ICONS: n
|
|
@@ -14582,7 +14582,7 @@ const zd = ({ PDP_INFO: e, PLP_SIZE_ORDER: t, ICONS: n, NEWSLETTER_CONFIGS: r, N
|
|
|
14582
14582
|
children: e
|
|
14583
14583
|
}
|
|
14584
14584
|
);
|
|
14585
|
-
},
|
|
14585
|
+
}, qg = ({
|
|
14586
14586
|
children: e,
|
|
14587
14587
|
link: t,
|
|
14588
14588
|
TOGGLE_STYLE_MODIFIER: n
|
|
@@ -14620,7 +14620,7 @@ const zd = ({ PDP_INFO: e, PLP_SIZE_ORDER: t, ICONS: n, NEWSLETTER_CONFIGS: r, N
|
|
|
14620
14620
|
...t
|
|
14621
14621
|
];
|
|
14622
14622
|
return /* @__PURE__ */ o("div", { children: i.map((s, a) => s.textureImage ? /* @__PURE__ */ C(
|
|
14623
|
-
|
|
14623
|
+
qg,
|
|
14624
14624
|
{
|
|
14625
14625
|
link: s.slug ? s.slug : null,
|
|
14626
14626
|
TOGGLE_STYLE_MODIFIER: n,
|
|
@@ -14660,7 +14660,7 @@ const zd = ({ PDP_INFO: e, PLP_SIZE_ORDER: t, ICONS: n, NEWSLETTER_CONFIGS: r, N
|
|
|
14660
14660
|
] });
|
|
14661
14661
|
};
|
|
14662
14662
|
Bd.displayName = "PDP.Info.Similars";
|
|
14663
|
-
const
|
|
14663
|
+
const Vg = ({
|
|
14664
14664
|
callBackProductAdded: e,
|
|
14665
14665
|
BUY_BUTTON_LABELS: t,
|
|
14666
14666
|
ICONS: n,
|
|
@@ -14707,7 +14707,7 @@ const Wg = ({
|
|
|
14707
14707
|
}
|
|
14708
14708
|
) })
|
|
14709
14709
|
] }) });
|
|
14710
|
-
function
|
|
14710
|
+
function Wg({
|
|
14711
14711
|
callBackProductAdded: e,
|
|
14712
14712
|
QUICKSHOP: t,
|
|
14713
14713
|
ICONS: n,
|
|
@@ -14742,14 +14742,14 @@ function Gg({
|
|
|
14742
14742
|
},
|
|
14743
14743
|
variant: "sideRight",
|
|
14744
14744
|
children: [
|
|
14745
|
-
/* @__PURE__ */ o(
|
|
14746
|
-
/* @__PURE__ */ o(
|
|
14745
|
+
/* @__PURE__ */ o(Hg, { headerTitle: t.title, ICONS: n }),
|
|
14746
|
+
/* @__PURE__ */ o(Vg, { callBackProductAdded: e, ICONS: n, ...r })
|
|
14747
14747
|
]
|
|
14748
14748
|
}
|
|
14749
14749
|
)
|
|
14750
14750
|
] });
|
|
14751
14751
|
}
|
|
14752
|
-
const
|
|
14752
|
+
const Gg = ({ image: e }) => /* @__PURE__ */ o(
|
|
14753
14753
|
or,
|
|
14754
14754
|
{
|
|
14755
14755
|
src: Ko(e.imageUrl, {
|
|
@@ -14768,7 +14768,7 @@ const Kg = ({ image: e }) => /* @__PURE__ */ o(
|
|
|
14768
14768
|
filter: "blur(10px)"
|
|
14769
14769
|
}
|
|
14770
14770
|
}
|
|
14771
|
-
),
|
|
14771
|
+
), Kg = ({
|
|
14772
14772
|
images: e,
|
|
14773
14773
|
selectedImageIndex: t,
|
|
14774
14774
|
PRODUCT_IMAGE_DIMENSIONS: n,
|
|
@@ -14776,7 +14776,7 @@ const Kg = ({ image: e }) => /* @__PURE__ */ o(
|
|
|
14776
14776
|
}) => {
|
|
14777
14777
|
const [i, s] = k(!1), { nextimage: a } = ve();
|
|
14778
14778
|
return /* @__PURE__ */ o("div", { ...r, className: ze["main-image-container"], children: /* @__PURE__ */ C("div", { className: ze["image-desktop"], children: [
|
|
14779
|
-
!i && /* @__PURE__ */ o(
|
|
14779
|
+
!i && /* @__PURE__ */ o(Gg, { image: e == null ? void 0 : e[t] }),
|
|
14780
14780
|
/* @__PURE__ */ o(
|
|
14781
14781
|
a,
|
|
14782
14782
|
{
|
|
@@ -14795,7 +14795,7 @@ const Kg = ({ image: e }) => /* @__PURE__ */ o(
|
|
|
14795
14795
|
}
|
|
14796
14796
|
)
|
|
14797
14797
|
] }) });
|
|
14798
|
-
},
|
|
14798
|
+
}, Xg = ({
|
|
14799
14799
|
images: e,
|
|
14800
14800
|
onThumbnailClick: t,
|
|
14801
14801
|
selectedImageIndex: n
|
|
@@ -14840,7 +14840,7 @@ const Kg = ({ image: e }) => /* @__PURE__ */ o(
|
|
|
14840
14840
|
), d = (m) => {
|
|
14841
14841
|
u(m);
|
|
14842
14842
|
};
|
|
14843
|
-
return c ? /* @__PURE__ */ C(
|
|
14843
|
+
return c ? /* @__PURE__ */ C(Bg, { Z_INDEX_WAR: s, children: [
|
|
14844
14844
|
/* @__PURE__ */ o(
|
|
14845
14845
|
Hs,
|
|
14846
14846
|
{
|
|
@@ -14852,7 +14852,7 @@ const Kg = ({ image: e }) => /* @__PURE__ */ o(
|
|
|
14852
14852
|
}
|
|
14853
14853
|
),
|
|
14854
14854
|
/* @__PURE__ */ o($d, { images: e, ICONS: r, PRODUCT_IMAGE_DIMENSIONS: i })
|
|
14855
|
-
] }) : /* @__PURE__ */ C(
|
|
14855
|
+
] }) : /* @__PURE__ */ C(jg, { Z_INDEX_WAR: s, children: [
|
|
14856
14856
|
/* @__PURE__ */ o(
|
|
14857
14857
|
Hs,
|
|
14858
14858
|
{
|
|
@@ -14864,7 +14864,7 @@ const Kg = ({ image: e }) => /* @__PURE__ */ o(
|
|
|
14864
14864
|
}
|
|
14865
14865
|
),
|
|
14866
14866
|
/* @__PURE__ */ o(
|
|
14867
|
-
|
|
14867
|
+
Kg,
|
|
14868
14868
|
{
|
|
14869
14869
|
images: e,
|
|
14870
14870
|
selectedImageIndex: l,
|
|
@@ -14874,7 +14874,7 @@ const Kg = ({ image: e }) => /* @__PURE__ */ o(
|
|
|
14874
14874
|
e[l].imageId ?? `${e[l].imageText}-${l}`
|
|
14875
14875
|
),
|
|
14876
14876
|
/* @__PURE__ */ o(
|
|
14877
|
-
|
|
14877
|
+
Xg,
|
|
14878
14878
|
{
|
|
14879
14879
|
images: e,
|
|
14880
14880
|
selectedImageIndex: l,
|
|
@@ -14882,7 +14882,7 @@ const Kg = ({ image: e }) => /* @__PURE__ */ o(
|
|
|
14882
14882
|
}
|
|
14883
14883
|
),
|
|
14884
14884
|
/* @__PURE__ */ o(
|
|
14885
|
-
|
|
14885
|
+
Wg,
|
|
14886
14886
|
{
|
|
14887
14887
|
callBackProductAdded: () => {
|
|
14888
14888
|
n({
|
|
@@ -14898,7 +14898,7 @@ const Kg = ({ image: e }) => /* @__PURE__ */ o(
|
|
|
14898
14898
|
] });
|
|
14899
14899
|
};
|
|
14900
14900
|
Ud.displayName = "ImageZoom";
|
|
14901
|
-
const
|
|
14901
|
+
const Yg = ({ productImgs: e, PRODUCT_IMAGE_DIMENSIONS: t, ...n }) => {
|
|
14902
14902
|
const { video: r, productName: i } = Je(), [s, a] = k({
|
|
14903
14903
|
show: !1,
|
|
14904
14904
|
initialIndex: 0
|
|
@@ -14934,10 +14934,10 @@ const Qg = ({ productImgs: e, PRODUCT_IMAGE_DIMENSIONS: t, ...n }) => {
|
|
|
14934
14934
|
const s = r.filter((a) => !e.includes(a.imageLabel));
|
|
14935
14935
|
return s.length > 0 ? s : r;
|
|
14936
14936
|
}, []);
|
|
14937
|
-
return /* @__PURE__ */ o(
|
|
14937
|
+
return /* @__PURE__ */ o(Yg, { productImgs: i, TEXTURE_IMAGE: e, PRODUCT_IMAGE_DIMENSIONS: t, ...n });
|
|
14938
14938
|
};
|
|
14939
14939
|
Hd.displayName = "PDP.Gallery";
|
|
14940
|
-
const
|
|
14940
|
+
const Qg = ({
|
|
14941
14941
|
className: e,
|
|
14942
14942
|
hasIcons: t = !0,
|
|
14943
14943
|
ICONS: n,
|
|
@@ -15003,26 +15003,26 @@ const Zg = ({
|
|
|
15003
15003
|
] })
|
|
15004
15004
|
}
|
|
15005
15005
|
);
|
|
15006
|
-
},
|
|
15006
|
+
}, Zg = ({ children: e }) => /* @__PURE__ */ o("div", { className: oe["pdp-main__info-main-content"], children: e }), Jg = ({
|
|
15007
15007
|
head: e,
|
|
15008
15008
|
className: t
|
|
15009
|
-
}) => /* @__PURE__ */ o("thead", { className: t, children: /* @__PURE__ */ o("tr", { children: e.map((n, r) => /* @__PURE__ */ o("th", { children: n }, `head-title-${r}`)) }) }),
|
|
15009
|
+
}) => /* @__PURE__ */ o("thead", { className: t, children: /* @__PURE__ */ o("tr", { children: e.map((n, r) => /* @__PURE__ */ o("th", { children: n }, `head-title-${r}`)) }) }), ey = ({
|
|
15010
15010
|
rows: e,
|
|
15011
15011
|
className: t
|
|
15012
15012
|
}) => /* @__PURE__ */ o("tbody", { className: t, children: e.map((n, r) => /* @__PURE__ */ o("tr", { children: n.map((i) => typeof i == "string" && i.includes("blocks") ? JSON.parse(i).blocks.map((s) => `${s.text}
|
|
15013
|
-
`) : i).map((i, s) => /* @__PURE__ */ o("td", { children: i }, `cell-content-${s}`)) }, `row-content-${r}`)) }),
|
|
15014
|
-
tableContainer:
|
|
15015
|
-
},
|
|
15013
|
+
`) : i).map((i, s) => /* @__PURE__ */ o("td", { children: i }, `cell-content-${s}`)) }, `row-content-${r}`)) }), ty = "_tableContainer_1yxy2_1", ny = {
|
|
15014
|
+
tableContainer: ty
|
|
15015
|
+
}, ry = ({
|
|
15016
15016
|
children: e,
|
|
15017
15017
|
className: t = ""
|
|
15018
|
-
}) => /* @__PURE__ */ o("table", { className: `${
|
|
15019
|
-
Head:
|
|
15020
|
-
Rows:
|
|
15021
|
-
Root:
|
|
15022
|
-
},
|
|
15018
|
+
}) => /* @__PURE__ */ o("table", { className: `${ny.tableContainer} ${t}`, children: e }), vo = {
|
|
15019
|
+
Head: Jg,
|
|
15020
|
+
Rows: ey,
|
|
15021
|
+
Root: ry
|
|
15022
|
+
}, oy = ({ title: e, text: t }) => /* @__PURE__ */ C("p", { className: oe.measurementRowsText, children: [
|
|
15023
15023
|
/* @__PURE__ */ o("h1", { className: oe.measurementRowsTitle, children: e }),
|
|
15024
15024
|
t
|
|
15025
|
-
] }),
|
|
15025
|
+
] }), iy = ({ ICONS: e, SIZES: t, Z_INDEX_WAR: n }) => {
|
|
15026
15026
|
const r = ic(), { setValue: i } = sc();
|
|
15027
15027
|
return /* @__PURE__ */ o(
|
|
15028
15028
|
_e.Root,
|
|
@@ -15059,7 +15059,7 @@ const Zg = ({
|
|
|
15059
15059
|
className: oe.measurementRows,
|
|
15060
15060
|
rows: t.rows.map((s, a) => [
|
|
15061
15061
|
/* @__PURE__ */ o(
|
|
15062
|
-
|
|
15062
|
+
oy,
|
|
15063
15063
|
{
|
|
15064
15064
|
title: t.descriptions[a].title,
|
|
15065
15065
|
text: t.descriptions[a].text
|
|
@@ -15085,38 +15085,38 @@ const Zg = ({
|
|
|
15085
15085
|
},
|
|
15086
15086
|
"minicart"
|
|
15087
15087
|
);
|
|
15088
|
-
},
|
|
15089
|
-
gallery:
|
|
15090
|
-
pdp:
|
|
15091
|
-
main:
|
|
15092
|
-
secondary:
|
|
15093
|
-
},
|
|
15088
|
+
}, sy = ({ children: e, className: t, ...n }) => /* @__PURE__ */ o("div", { className: z.classNameConcat(oe["pdp-main__gallery-wrapper"], t), ...n, children: e }), ay = ({ children: e, className: t, ...n }) => /* @__PURE__ */ o("div", { className: z.classNameConcat(oe.pdp, t), ...n, children: e }), cy = ({ children: e, className: t, ...n }) => /* @__PURE__ */ o("div", { className: z.classNameConcat(oe["pdp-main"], t), ...n, children: e }), ly = ({ children: e, className: t, ...n }) => /* @__PURE__ */ o("div", { className: z.classNameConcat(oe["pdp-main__info-secondary-content"], t), ...n, children: e }), uy = {
|
|
15089
|
+
gallery: sy,
|
|
15090
|
+
pdp: ay,
|
|
15091
|
+
main: cy,
|
|
15092
|
+
secondary: ly
|
|
15093
|
+
}, dy = ({ className: e, ...t }) => /* @__PURE__ */ o(Ue.Divider, { ...t, className: z.classNameConcat(oe.divider, e) }), py = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15094
15094
|
__proto__: null,
|
|
15095
|
-
AccessibilityInfo:
|
|
15095
|
+
AccessibilityInfo: Ig,
|
|
15096
15096
|
Actions: Td,
|
|
15097
15097
|
BreadCrumb: xd,
|
|
15098
15098
|
Credits: Ld,
|
|
15099
|
-
DescriptionsTabs:
|
|
15100
|
-
Divider:
|
|
15101
|
-
Freight:
|
|
15099
|
+
DescriptionsTabs: Og,
|
|
15100
|
+
Divider: dy,
|
|
15101
|
+
Freight: kg,
|
|
15102
15102
|
Gallery: Hd,
|
|
15103
15103
|
GoldenTag: Ii,
|
|
15104
15104
|
Header: Rr,
|
|
15105
|
-
Links:
|
|
15106
|
-
MainContent:
|
|
15105
|
+
Links: Qg,
|
|
15106
|
+
MainContent: Zg,
|
|
15107
15107
|
MainInfo: Fd,
|
|
15108
15108
|
Price: Ri,
|
|
15109
|
-
ProductMeasurements:
|
|
15109
|
+
ProductMeasurements: iy,
|
|
15110
15110
|
SimilarsItems: jd,
|
|
15111
15111
|
Sizes: zd,
|
|
15112
15112
|
SubSectionWrapper: hn,
|
|
15113
|
-
containers:
|
|
15114
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
15113
|
+
containers: uy
|
|
15114
|
+
}, Symbol.toStringTag, { value: "Module" })), my = (e, t) => {
|
|
15115
15115
|
const [n, r] = ad({
|
|
15116
15116
|
items: e
|
|
15117
15117
|
}), [i, s] = t.split(":").map(Number);
|
|
15118
15118
|
return isNaN(i) || isNaN(s) ? [n, r] : [n < i ? n : i, r > s ? r : s];
|
|
15119
|
-
},
|
|
15119
|
+
}, fy = () => {
|
|
15120
15120
|
var N;
|
|
15121
15121
|
const {
|
|
15122
15122
|
ICONS: e,
|
|
@@ -15132,7 +15132,7 @@ const Zg = ({
|
|
|
15132
15132
|
facets: g,
|
|
15133
15133
|
onToggleFacet: v,
|
|
15134
15134
|
selectedFacets: P
|
|
15135
|
-
} =
|
|
15135
|
+
} = xf.contexts.searchFacets.hook(), b = ne(""), y = {
|
|
15136
15136
|
isLast: !0,
|
|
15137
15137
|
href: (N = p.term) != null && N.length ? `/${p.term}` : "",
|
|
15138
15138
|
name: p.term
|
|
@@ -15143,7 +15143,7 @@ const Zg = ({
|
|
|
15143
15143
|
return Q(() => {
|
|
15144
15144
|
const E = g.find(({ key: R }) => R === "price");
|
|
15145
15145
|
if (E) {
|
|
15146
|
-
const [R, x] =
|
|
15146
|
+
const [R, x] = my(
|
|
15147
15147
|
E.values,
|
|
15148
15148
|
a ?? "10000:0"
|
|
15149
15149
|
// price range with the lower value first
|
|
@@ -15173,7 +15173,7 @@ const Zg = ({
|
|
|
15173
15173
|
breadcrumb: f.length ? f : [y],
|
|
15174
15174
|
deleteAllFacets: h,
|
|
15175
15175
|
filters: {
|
|
15176
|
-
facets:
|
|
15176
|
+
facets: Jp(
|
|
15177
15177
|
g,
|
|
15178
15178
|
p == null ? void 0 : p.base
|
|
15179
15179
|
),
|
|
@@ -15211,7 +15211,7 @@ const Zg = ({
|
|
|
15211
15211
|
]
|
|
15212
15212
|
}
|
|
15213
15213
|
);
|
|
15214
|
-
}, qd = () => typeof document > "u" ? null : /* @__PURE__ */ o(
|
|
15214
|
+
}, qd = () => typeof document > "u" ? null : /* @__PURE__ */ o(fy, {});
|
|
15215
15215
|
qd.displayName = "Filters";
|
|
15216
15216
|
const Ai = ({
|
|
15217
15217
|
total: e = 0
|
|
@@ -15220,7 +15220,7 @@ const Ai = ({
|
|
|
15220
15220
|
if (typeof window > "u")
|
|
15221
15221
|
return null;
|
|
15222
15222
|
const n = document.getElementById(t);
|
|
15223
|
-
return n ?
|
|
15223
|
+
return n ? lm(
|
|
15224
15224
|
/* @__PURE__ */ C("span", { children: [
|
|
15225
15225
|
"[",
|
|
15226
15226
|
e,
|
|
@@ -15231,7 +15231,7 @@ const Ai = ({
|
|
|
15231
15231
|
) : null;
|
|
15232
15232
|
};
|
|
15233
15233
|
Ai.displayName = "PDC.Grid.NavigationTotal";
|
|
15234
|
-
const
|
|
15234
|
+
const hy = ({ productCount: e, PLP_GRID_SCROLL_BACK: t }) => {
|
|
15235
15235
|
Q(() => {
|
|
15236
15236
|
var s;
|
|
15237
15237
|
const r = new URLSearchParams(window.location.search).get("page");
|
|
@@ -15255,9 +15255,9 @@ const _y = ({ productCount: e, PLP_GRID_SCROLL_BACK: t }) => {
|
|
|
15255
15255
|
window.document.body.removeEventListener("scroll", i);
|
|
15256
15256
|
};
|
|
15257
15257
|
}, [e]);
|
|
15258
|
-
},
|
|
15258
|
+
}, _y = () => {
|
|
15259
15259
|
const { isMobile: e } = ue(), { isLoading: t, products: n, total: r } = In(), i = ot();
|
|
15260
|
-
return
|
|
15260
|
+
return hy({
|
|
15261
15261
|
productCount: n.length,
|
|
15262
15262
|
PLP_GRID_SCROLL_BACK: i.PLP_GRID_SCROLL_BACK
|
|
15263
15263
|
}), /* @__PURE__ */ C(q, { children: [
|
|
@@ -15278,7 +15278,7 @@ const _y = ({ productCount: e, PLP_GRID_SCROLL_BACK: t }) => {
|
|
|
15278
15278
|
),
|
|
15279
15279
|
/* @__PURE__ */ o(Ai, { total: r })
|
|
15280
15280
|
] });
|
|
15281
|
-
}, Vd = ({ infinite: e = !1 }) => /* @__PURE__ */ o("div", { className: gt["pdc--grid"], children: /* @__PURE__ */ o("div", { className: gt["pdc--grid--content"], children: e ? /* @__PURE__ */ o(Ct.InfiniteScroller, {}) : /* @__PURE__ */ o(
|
|
15281
|
+
}, Vd = ({ infinite: e = !1 }) => /* @__PURE__ */ o("div", { className: gt["pdc--grid"], children: /* @__PURE__ */ o("div", { className: gt["pdc--grid--content"], children: e ? /* @__PURE__ */ o(Ct.InfiniteScroller, {}) : /* @__PURE__ */ o(_y, {}) }) });
|
|
15282
15282
|
Vd.displayName = "Grid";
|
|
15283
15283
|
const Kt = (e) => ({
|
|
15284
15284
|
centro: "center",
|
|
@@ -15291,41 +15291,41 @@ const Kt = (e) => ({
|
|
|
15291
15291
|
}) => {
|
|
15292
15292
|
const { url: r } = t.getEntity(n).getData();
|
|
15293
15293
|
return r ? /* @__PURE__ */ o(it, { href: r, children: e }) : e;
|
|
15294
|
-
},
|
|
15294
|
+
}, gy = (e, t, n) => {
|
|
15295
15295
|
e.findEntityRanges((r) => {
|
|
15296
15296
|
const i = r.getEntity();
|
|
15297
15297
|
return i === null ? !1 : n.getEntity(i).getType() === "LINK";
|
|
15298
15298
|
}, t);
|
|
15299
15299
|
}, sr = (e) => {
|
|
15300
|
-
const t = new
|
|
15300
|
+
const t = new dm([
|
|
15301
15301
|
{
|
|
15302
|
-
strategy:
|
|
15302
|
+
strategy: gy,
|
|
15303
15303
|
component: Wd
|
|
15304
15304
|
}
|
|
15305
15305
|
]), n = aa(
|
|
15306
15306
|
e
|
|
15307
15307
|
);
|
|
15308
15308
|
return tr.createWithContent(n, t);
|
|
15309
|
-
},
|
|
15309
|
+
}, yy = (e) => aa(e), ar = um.set(
|
|
15310
15310
|
"unstyled",
|
|
15311
15311
|
{
|
|
15312
15312
|
element: "div",
|
|
15313
15313
|
aliasedElements: ["div"]
|
|
15314
15314
|
}
|
|
15315
|
-
), qs = "superior-direita", Yn = "dentro-inferior-centro",
|
|
15315
|
+
), qs = "superior-direita", Yn = "dentro-inferior-centro", vy = "inferior-direita", bo = "dentro-inferior-esquerda", Gd = (e) => ({
|
|
15316
15316
|
position: e === Yn || e === bo ? "absolute" : "default",
|
|
15317
15317
|
shouldRender: [qs, Yn, bo].includes(
|
|
15318
15318
|
e
|
|
15319
15319
|
) ? "top" : "bottom",
|
|
15320
|
-
alignItems: [Yn].includes(e) ? "center" : [qs,
|
|
15320
|
+
alignItems: [Yn].includes(e) ? "center" : [qs, vy].includes(e) ? "flex-end" : "flex-start",
|
|
15321
15321
|
left: e === bo ? "16px" : e === Yn ? "45%" : "unset"
|
|
15322
|
-
}),
|
|
15322
|
+
}), by = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15323
15323
|
__proto__: null,
|
|
15324
15324
|
CREATE_CONTENT: sr,
|
|
15325
15325
|
EXTENDED_BLOCK_RENDER_MAP: ar,
|
|
15326
|
-
GET_CONTENT_STATE:
|
|
15326
|
+
GET_CONTENT_STATE: yy,
|
|
15327
15327
|
controllersPositionsAdapter: Gd
|
|
15328
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
15328
|
+
}, Symbol.toStringTag, { value: "Module" })), Cy = ({ expanded: e, content: t }) => /* @__PURE__ */ C("details", { open: e, children: [
|
|
15329
15329
|
t.textStructureReduced ? /* @__PURE__ */ o("summary", { onClick: (n) => n.preventDefault(), children: /* @__PURE__ */ o(
|
|
15330
15330
|
Ro,
|
|
15331
15331
|
{
|
|
@@ -15346,10 +15346,10 @@ const Kt = (e) => ({
|
|
|
15346
15346
|
readOnly: !0
|
|
15347
15347
|
}
|
|
15348
15348
|
) }) : /* @__PURE__ */ o(q, {})
|
|
15349
|
-
] }),
|
|
15349
|
+
] }), Ey = "_textContentWrapper_1bigo_5", Ny = "_textContentSection_1bigo_13", Bo = {
|
|
15350
15350
|
"link-modifier": "_link-modifier_1bigo_1",
|
|
15351
|
-
textContentWrapper:
|
|
15352
|
-
textContentSection:
|
|
15351
|
+
textContentWrapper: Ey,
|
|
15352
|
+
textContentSection: Ny
|
|
15353
15353
|
}, Kd = ({ data: e, ICONS: t, TEXTCONTENT_EXPANDED: n }) => {
|
|
15354
15354
|
var s;
|
|
15355
15355
|
const [r, i] = k(!1);
|
|
@@ -15404,7 +15404,7 @@ const Kt = (e) => ({
|
|
|
15404
15404
|
)
|
|
15405
15405
|
},
|
|
15406
15406
|
mode: e.textStructureMode ?? "default",
|
|
15407
|
-
children: e.textStructureReduced ? /* @__PURE__ */ o(
|
|
15407
|
+
children: e.textStructureReduced ? /* @__PURE__ */ o(Cy, { content: e, expanded: r }) : /* @__PURE__ */ o(q, {})
|
|
15408
15408
|
}
|
|
15409
15409
|
),
|
|
15410
15410
|
e.textStructureButtonLabel ? /* @__PURE__ */ o(
|
|
@@ -15423,7 +15423,7 @@ const Kt = (e) => ({
|
|
|
15423
15423
|
)
|
|
15424
15424
|
}
|
|
15425
15425
|
);
|
|
15426
|
-
},
|
|
15426
|
+
}, Py = (e) => ({
|
|
15427
15427
|
centro: {
|
|
15428
15428
|
verticalAlignment: "center",
|
|
15429
15429
|
horizontalAlignment: "center"
|
|
@@ -15537,7 +15537,7 @@ const Kt = (e) => ({
|
|
|
15537
15537
|
g || N || S ? /* @__PURE__ */ o(
|
|
15538
15538
|
Nt.Slot,
|
|
15539
15539
|
{
|
|
15540
|
-
...
|
|
15540
|
+
...Py(h ?? "centro"),
|
|
15541
15541
|
className: Ws["content-modifier"],
|
|
15542
15542
|
style: {
|
|
15543
15543
|
textAlign: Vs(
|
|
@@ -15851,7 +15851,7 @@ const Jn = {
|
|
|
15851
15851
|
)) : null;
|
|
15852
15852
|
};
|
|
15853
15853
|
tp.displayName = "PDC.Page";
|
|
15854
|
-
const
|
|
15854
|
+
const Sy = ({ pages: e, load: t, PLP_GRID_SCROLL_BACK: n }) => {
|
|
15855
15855
|
const r = ne(!1);
|
|
15856
15856
|
Q(() => {
|
|
15857
15857
|
const i = e[e.length - 1];
|
|
@@ -15867,10 +15867,10 @@ const wy = ({ pages: e, load: t, PLP_GRID_SCROLL_BACK: n }) => {
|
|
|
15867
15867
|
s && s.scrollIntoView({ behavior: "instant", block: "start" });
|
|
15868
15868
|
}
|
|
15869
15869
|
}, [t, e]);
|
|
15870
|
-
},
|
|
15870
|
+
}, wy = () => {
|
|
15871
15871
|
var l, u;
|
|
15872
15872
|
const { count: e } = at(), { columns: t, gap: n, load: r, pages: i, total: s } = Rt(), a = ot(), { PLP_GRID_SCROLL_BACK: c } = ot();
|
|
15873
|
-
return
|
|
15873
|
+
return Sy({ pages: i, load: r, PLP_GRID_SCROLL_BACK: c }), /* @__PURE__ */ C(q, { children: [
|
|
15874
15874
|
r === !0 && ((u = (l = i[0]) == null ? void 0 : l.pagination) == null ? void 0 : u.count) === 0 && /* @__PURE__ */ o(
|
|
15875
15875
|
Ct.Empty,
|
|
15876
15876
|
{
|
|
@@ -15887,7 +15887,7 @@ const wy = ({ pages: e, load: t, PLP_GRID_SCROLL_BACK: n }) => {
|
|
|
15887
15887
|
] });
|
|
15888
15888
|
}, np = () => {
|
|
15889
15889
|
const { banners: e } = gr();
|
|
15890
|
-
return /* @__PURE__ */ o(Bc, { banners: e, children: /* @__PURE__ */ o(
|
|
15890
|
+
return /* @__PURE__ */ o(Bc, { banners: e, children: /* @__PURE__ */ o(wy, {}) });
|
|
15891
15891
|
};
|
|
15892
15892
|
np.displayName = "PDC.InfiniteScroller";
|
|
15893
15893
|
const rp = () => {
|
|
@@ -15983,15 +15983,15 @@ const op = ({
|
|
|
15983
15983
|
)
|
|
15984
15984
|
] });
|
|
15985
15985
|
op.displayName = "Pagination.Layout";
|
|
15986
|
-
const
|
|
15986
|
+
const Ry = (e, t, n) => {
|
|
15987
15987
|
const r = new URLSearchParams(n);
|
|
15988
15988
|
return r.set(e, t), r.toString();
|
|
15989
|
-
},
|
|
15989
|
+
}, Iy = (e, t) => {
|
|
15990
15990
|
const n = [];
|
|
15991
15991
|
for (let r = e; r <= t; r++)
|
|
15992
15992
|
n.push(r);
|
|
15993
15993
|
return n;
|
|
15994
|
-
},
|
|
15994
|
+
}, Ay = ({
|
|
15995
15995
|
currentPage: e,
|
|
15996
15996
|
total: t,
|
|
15997
15997
|
maxVisiblePages: n,
|
|
@@ -16011,7 +16011,7 @@ const Iy = (e, t, n) => {
|
|
|
16011
16011
|
index: a,
|
|
16012
16012
|
variant: e === a ? r.active : r.default,
|
|
16013
16013
|
onClick: () => i.push(
|
|
16014
|
-
`${s}?${
|
|
16014
|
+
`${s}?${Ry(
|
|
16015
16015
|
"page",
|
|
16016
16016
|
a.toString(),
|
|
16017
16017
|
n
|
|
@@ -16034,7 +16034,7 @@ const xi = ({
|
|
|
16034
16034
|
VARIANT_PAGINATION: c,
|
|
16035
16035
|
...l
|
|
16036
16036
|
}) => {
|
|
16037
|
-
const { router: u, pathname: d } = ve(), { state: { page: m = 1 } } = at(), { pagination: { total: p } } = In(), { endPage: f, totalPages: h, startPage: _ } =
|
|
16037
|
+
const { router: u, pathname: d } = ve(), { state: { page: m = 1 } } = at(), { pagination: { total: p } } = In(), { endPage: f, totalPages: h, startPage: _ } = Ay({
|
|
16038
16038
|
currentPage: m,
|
|
16039
16039
|
total: p,
|
|
16040
16040
|
maxVisiblePages: i,
|
|
@@ -16082,7 +16082,7 @@ const xi = ({
|
|
|
16082
16082
|
ip,
|
|
16083
16083
|
{
|
|
16084
16084
|
currentPage: m,
|
|
16085
|
-
pages:
|
|
16085
|
+
pages: Iy(_, f),
|
|
16086
16086
|
searchParams: n,
|
|
16087
16087
|
VARIANT_PAGINATION: c
|
|
16088
16088
|
}
|
|
@@ -16236,7 +16236,7 @@ const Ct = {
|
|
|
16236
16236
|
SEARCH_PAGE_ITEM_THRESHOLD: c,
|
|
16237
16237
|
VARIANT_PAGINATION: l
|
|
16238
16238
|
} = t;
|
|
16239
|
-
return /* @__PURE__ */ o(
|
|
16239
|
+
return /* @__PURE__ */ o(Qm, { ...t, children: /* @__PURE__ */ C("div", { className: z.classNameConcat(gt.pdc, e), children: [
|
|
16240
16240
|
/* @__PURE__ */ C(
|
|
16241
16241
|
gc,
|
|
16242
16242
|
{
|
|
@@ -16271,7 +16271,7 @@ const Ct = {
|
|
|
16271
16271
|
] }) });
|
|
16272
16272
|
};
|
|
16273
16273
|
ap.displayName = "Templates.PDC";
|
|
16274
|
-
const cp = Ce({}),
|
|
16274
|
+
const cp = Ce({}), Ty = ({
|
|
16275
16275
|
children: e,
|
|
16276
16276
|
...t
|
|
16277
16277
|
}) => /* @__PURE__ */ o(
|
|
@@ -16285,14 +16285,14 @@ const cp = Ce({}), xy = ({
|
|
|
16285
16285
|
if (e === void 0)
|
|
16286
16286
|
throw new Error("useSearchConstants must be used within a SearchConstantsProvider");
|
|
16287
16287
|
return e;
|
|
16288
|
-
},
|
|
16288
|
+
}, xy = "_grid_e75z7_21", Ly = "_navigation_e75z7_44", Oy = "_spinner_e75z7_70", ky = "_sort_e75z7_76", Ot = {
|
|
16289
16289
|
"rearch-result--empty": "_rearch-result--empty_e75z7_1",
|
|
16290
|
-
grid:
|
|
16290
|
+
grid: xy,
|
|
16291
16291
|
"grid-header": "_grid-header_e75z7_37",
|
|
16292
|
-
navigation:
|
|
16292
|
+
navigation: Ly,
|
|
16293
16293
|
"result-disclaimer": "_result-disclaimer_e75z7_51",
|
|
16294
|
-
spinner:
|
|
16295
|
-
sort:
|
|
16294
|
+
spinner: Oy,
|
|
16295
|
+
sort: ky,
|
|
16296
16296
|
"search-result": "_search-result_e75z7_91"
|
|
16297
16297
|
}, lp = ({ term: e }) => {
|
|
16298
16298
|
const { router: t } = ve(), { SEARCH_RESULT: n, ICONS: r } = Ir(), i = () => {
|
|
@@ -16321,11 +16321,11 @@ const cp = Ce({}), xy = ({
|
|
|
16321
16321
|
] });
|
|
16322
16322
|
};
|
|
16323
16323
|
lp.displayName = "RearchResult.Empty";
|
|
16324
|
-
const
|
|
16324
|
+
const My = (e) => /* @__PURE__ */ C(q, { children: [
|
|
16325
16325
|
/* @__PURE__ */ o("div", { className: Ye["responsive-desktop-flex"], children: /* @__PURE__ */ o("h2", { className: "typography-style-heading-sm", children: e.SEARCH.SEARCHING }) }),
|
|
16326
16326
|
/* @__PURE__ */ o("div", { className: Ye["responsive-mobile-flex"], children: /* @__PURE__ */ o("h2", { className: "typography-style-body-md", children: e.SEARCH.SEARCHING }) }),
|
|
16327
16327
|
/* @__PURE__ */ o(qt, { className: Ot.spinner })
|
|
16328
|
-
] }),
|
|
16328
|
+
] }), Dy = (e, t, n) => /* @__PURE__ */ C(q, { children: [
|
|
16329
16329
|
/* @__PURE__ */ o("div", { className: Ye["responsive-desktop-flex"], children: /* @__PURE__ */ o("h2", { className: "typography-style-heading-sm", children: t.SEARCH.SEARCHED }) }),
|
|
16330
16330
|
/* @__PURE__ */ o("div", { className: Ye["responsive-mobile-flex"], children: /* @__PURE__ */ o("h2", { className: "typography-style-body-md", children: t.SEARCH.SEARCHED }) }),
|
|
16331
16331
|
/* @__PURE__ */ C("p", { children: [
|
|
@@ -16339,12 +16339,12 @@ const Dy = (e) => /* @__PURE__ */ C(q, { children: [
|
|
|
16339
16339
|
] })
|
|
16340
16340
|
] }), up = ({ isLoading: e, quantity: t, term: n }) => {
|
|
16341
16341
|
const { SEARCH_RESULT: r } = Ir();
|
|
16342
|
-
return /* @__PURE__ */ o(j.DivWrapper, { children: e ?
|
|
16342
|
+
return /* @__PURE__ */ o(j.DivWrapper, { children: e ? My(r) : Dy(t, r, n) });
|
|
16343
16343
|
};
|
|
16344
16344
|
up.displayName = "Search.Loading";
|
|
16345
|
-
const
|
|
16345
|
+
const $y = ({ term: e }) => {
|
|
16346
16346
|
const [t, n] = k(!1), { router: r } = ve(), { searchParams: i } = at(), { ITEMS_DEFAULT_SORT: s, ITEMS_PER_PAGE: a, ICONS: c } = Ir(), l = (u) => {
|
|
16347
|
-
|
|
16347
|
+
em(r, e, a, 1, u ?? s);
|
|
16348
16348
|
};
|
|
16349
16349
|
return /* @__PURE__ */ o("div", { className: Ot.sort, children: /* @__PURE__ */ o(
|
|
16350
16350
|
Pr,
|
|
@@ -16356,11 +16356,11 @@ const zy = ({ term: e }) => {
|
|
|
16356
16356
|
ICONS: c
|
|
16357
16357
|
}
|
|
16358
16358
|
) });
|
|
16359
|
-
},
|
|
16359
|
+
}, zy = ({ query: e }) => {
|
|
16360
16360
|
const { isLoading: t, products: n, pagination: r } = In();
|
|
16361
16361
|
return /* @__PURE__ */ C("div", { className: Ot["grid-header"], children: [
|
|
16362
16362
|
/* @__PURE__ */ C("div", { className: Ot.navigation, children: [
|
|
16363
|
-
!t && (n != null && n.length) ? /* @__PURE__ */ o(
|
|
16363
|
+
!t && (n != null && n.length) ? /* @__PURE__ */ o($y, { term: e }) : null,
|
|
16364
16364
|
/* @__PURE__ */ o(Ue.Divider, {})
|
|
16365
16365
|
] }),
|
|
16366
16366
|
!t && (n != null && n.length) ? /* @__PURE__ */ o("div", { className: Ot["result-disclaimer"], children: /* @__PURE__ */ o(
|
|
@@ -16398,7 +16398,7 @@ const zy = ({ term: e }) => {
|
|
|
16398
16398
|
}), l.current.sended = !0);
|
|
16399
16399
|
}
|
|
16400
16400
|
}, [t, r, n, c]), /* @__PURE__ */ C("div", { className: Ot.grid, children: [
|
|
16401
|
-
u ? /* @__PURE__ */ o(
|
|
16401
|
+
u ? /* @__PURE__ */ o(zy, { query: t }) : /* @__PURE__ */ o(q, {}),
|
|
16402
16402
|
!n && (r != null && r.length) ? /* @__PURE__ */ o(
|
|
16403
16403
|
Li,
|
|
16404
16404
|
{
|
|
@@ -16418,7 +16418,7 @@ const zy = ({ term: e }) => {
|
|
|
16418
16418
|
] });
|
|
16419
16419
|
};
|
|
16420
16420
|
dp.displayName = "SearchResultContent";
|
|
16421
|
-
const
|
|
16421
|
+
const Fy = ({ className: e }) => {
|
|
16422
16422
|
const { state: t } = at(), { isMobile: n } = ue();
|
|
16423
16423
|
return /* @__PURE__ */ o(
|
|
16424
16424
|
ui,
|
|
@@ -16441,7 +16441,7 @@ const jy = ({ className: e }) => {
|
|
|
16441
16441
|
CONSTANTS: n
|
|
16442
16442
|
}) => {
|
|
16443
16443
|
const r = new URLSearchParams(t ?? ""), i = String((r == null ? void 0 : r.get("query")) ?? ""), s = Number((r == null ? void 0 : r.get("count")) ?? 0), a = Number((r == null ? void 0 : r.get("page")) ?? 0), c = String((r == null ? void 0 : r.get("sort")) ?? "");
|
|
16444
|
-
return /* @__PURE__ */ o(
|
|
16444
|
+
return /* @__PURE__ */ o(Ty, { ...n, children: /* @__PURE__ */ o(
|
|
16445
16445
|
li,
|
|
16446
16446
|
{
|
|
16447
16447
|
sort: c,
|
|
@@ -16456,12 +16456,12 @@ const jy = ({ className: e }) => {
|
|
|
16456
16456
|
count: s,
|
|
16457
16457
|
searchParams: r,
|
|
16458
16458
|
ITEMS_PER_PAGE: n.ITEMS_PER_PAGE,
|
|
16459
|
-
children: /* @__PURE__ */ o(
|
|
16459
|
+
children: /* @__PURE__ */ o(Fy, { className: e })
|
|
16460
16460
|
}
|
|
16461
16461
|
) });
|
|
16462
16462
|
};
|
|
16463
16463
|
pp.displayName = "Search";
|
|
16464
|
-
const
|
|
16464
|
+
const jy = ({ page: e, data: t }) => {
|
|
16465
16465
|
const { pathname: n } = ve(), r = ne(null), {
|
|
16466
16466
|
sendDataLayerEvent: i,
|
|
16467
16467
|
currentLocalRef: s,
|
|
@@ -16550,7 +16550,7 @@ const By = ({ page: e, data: t }) => {
|
|
|
16550
16550
|
}, [n]), null;
|
|
16551
16551
|
};
|
|
16552
16552
|
var qo = { exports: {} }, Qn = { exports: {} }, Ks;
|
|
16553
|
-
function
|
|
16553
|
+
function By() {
|
|
16554
16554
|
return Ks || (Ks = 1, function(e, t) {
|
|
16555
16555
|
Object.defineProperty(t, "__esModule", {
|
|
16556
16556
|
value: !0
|
|
@@ -16720,7 +16720,7 @@ function Uy() {
|
|
|
16720
16720
|
return b;
|
|
16721
16721
|
}
|
|
16722
16722
|
});
|
|
16723
|
-
const r = Ze, i = on, s = En, a = /* @__PURE__ */ r._(sa), c = /* @__PURE__ */ i._(pt), l = Pd(), u =
|
|
16723
|
+
const r = Ze, i = on, s = En, a = /* @__PURE__ */ r._(sa), c = /* @__PURE__ */ i._(pt), l = Pd(), u = By(), d = Nl(), m = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Set(), f = [
|
|
16724
16724
|
"onLoad",
|
|
16725
16725
|
"onReady",
|
|
16726
16726
|
"dangerouslySetInnerHTML",
|
|
@@ -16879,8 +16879,8 @@ function Uy() {
|
|
|
16879
16879
|
const S = y;
|
|
16880
16880
|
(typeof t.default == "function" || typeof t.default == "object" && t.default !== null) && typeof t.default.__esModule > "u" && (Object.defineProperty(t.default, "__esModule", { value: !0 }), Object.assign(t.default, t), e.exports = t.default);
|
|
16881
16881
|
})(qo, qo.exports);
|
|
16882
|
-
var
|
|
16883
|
-
const mp = /* @__PURE__ */ dr(
|
|
16882
|
+
var Uy = qo.exports, Hy = Uy;
|
|
16883
|
+
const mp = /* @__PURE__ */ dr(Hy), qy = ({ children: e, ONE_TRUST: t }) => /* @__PURE__ */ C(q, { children: [
|
|
16884
16884
|
/* @__PURE__ */ o(
|
|
16885
16885
|
mp,
|
|
16886
16886
|
{
|
|
@@ -16892,9 +16892,9 @@ const mp = /* @__PURE__ */ dr(qy), Vy = ({ children: e, ONE_TRUST: t }) => /* @_
|
|
|
16892
16892
|
}
|
|
16893
16893
|
),
|
|
16894
16894
|
e
|
|
16895
|
-
] }),
|
|
16895
|
+
] }), Vy = bu(() => Promise.resolve(qy), {
|
|
16896
16896
|
ssr: !1
|
|
16897
|
-
}),
|
|
16897
|
+
}), Wy = "_lgpd_2vba5_82", Gy = "_success_2vba5_248", Ky = "_error_2vba5_312", Oe = {
|
|
16898
16898
|
"newsletter-root": "_newsletter-root_2vba5_1",
|
|
16899
16899
|
"has-border-top": "_has-border-top_2vba5_9",
|
|
16900
16900
|
"has-border-bottom": "_has-border-bottom_2vba5_12",
|
|
@@ -16902,7 +16902,7 @@ const mp = /* @__PURE__ */ dr(qy), Vy = ({ children: e, ONE_TRUST: t }) => /* @_
|
|
|
16902
16902
|
"content-text": "_content-text_2vba5_35",
|
|
16903
16903
|
"form-wrapper": "_form-wrapper_2vba5_39",
|
|
16904
16904
|
"newsletter-container-banner": "_newsletter-container-banner_2vba5_64",
|
|
16905
|
-
lgpd:
|
|
16905
|
+
lgpd: Wy,
|
|
16906
16906
|
"textfield-structure-modifier": "_textfield-structure-modifier_2vba5_190",
|
|
16907
16907
|
"input-wrapper-modifier": "_input-wrapper-modifier_2vba5_196",
|
|
16908
16908
|
"submit-btn": "_submit-btn_2vba5_200",
|
|
@@ -16910,11 +16910,11 @@ const mp = /* @__PURE__ */ dr(qy), Vy = ({ children: e, ONE_TRUST: t }) => /* @_
|
|
|
16910
16910
|
"terms-and-conditions-checkbox": "_terms-and-conditions-checkbox_2vba5_217",
|
|
16911
16911
|
"terms-and-conditions-unchecked": "_terms-and-conditions-unchecked_2vba5_230",
|
|
16912
16912
|
"terms-and-conditions-checked": "_terms-and-conditions-checked_2vba5_244",
|
|
16913
|
-
success:
|
|
16913
|
+
success: Gy,
|
|
16914
16914
|
"text-structure-modifier": "_text-structure-modifier_2vba5_257",
|
|
16915
16915
|
"success-title": "_success-title_2vba5_297",
|
|
16916
16916
|
"close-button": "_close-button_2vba5_302",
|
|
16917
|
-
error:
|
|
16917
|
+
error: Ky,
|
|
16918
16918
|
"newsletter-wrapper": "_newsletter-wrapper_2vba5_332",
|
|
16919
16919
|
"banner-container": "_banner-container_2vba5_345",
|
|
16920
16920
|
"newsletter-provider-wrapper": "_newsletter-provider-wrapper_2vba5_358",
|
|
@@ -17126,7 +17126,7 @@ const vp = ({
|
|
|
17126
17126
|
] }) });
|
|
17127
17127
|
};
|
|
17128
17128
|
vp.displayName = "Newsletter.Form";
|
|
17129
|
-
const
|
|
17129
|
+
const Xy = ["horizontal", "vertical"], Oi = ({
|
|
17130
17130
|
className: e,
|
|
17131
17131
|
description: t,
|
|
17132
17132
|
formPayloadOptionals: n,
|
|
@@ -17150,7 +17150,7 @@ const Yy = ["horizontal", "vertical"], Oi = ({
|
|
|
17150
17150
|
if (!s || !a)
|
|
17151
17151
|
return null;
|
|
17152
17152
|
const b = z.ValidateProp({
|
|
17153
|
-
fieldTypes:
|
|
17153
|
+
fieldTypes: Xy,
|
|
17154
17154
|
property: h,
|
|
17155
17155
|
fallback: "horizontal"
|
|
17156
17156
|
});
|
|
@@ -17235,19 +17235,19 @@ const Yy = ["horizontal", "vertical"], Oi = ({
|
|
|
17235
17235
|
Oi.displayName = "Newsletter";
|
|
17236
17236
|
const bp = ({ children: e, ...t }) => /* @__PURE__ */ o("div", { ...t, children: e });
|
|
17237
17237
|
bp.displayName = "CallToAction";
|
|
17238
|
-
const
|
|
17239
|
-
wrapper:
|
|
17240
|
-
body:
|
|
17238
|
+
const Yy = "_wrapper_aejhu_1", Qy = "_body_aejhu_8", cr = {
|
|
17239
|
+
wrapper: Yy,
|
|
17240
|
+
body: Qy,
|
|
17241
17241
|
"wrapper-body": "_wrapper-body_aejhu_16",
|
|
17242
17242
|
"accordion-modifier": "_accordion-modifier_aejhu_32"
|
|
17243
|
-
},
|
|
17243
|
+
}, Zy = ({ children: e, className: t, ...n }) => /* @__PURE__ */ o(
|
|
17244
17244
|
"div",
|
|
17245
17245
|
{
|
|
17246
17246
|
...n,
|
|
17247
17247
|
className: z.classNameConcat(cr.wrapper, t),
|
|
17248
17248
|
children: e
|
|
17249
17249
|
}
|
|
17250
|
-
),
|
|
17250
|
+
), Jy = ({ data: e, ICONS: t }) => {
|
|
17251
17251
|
const [n, r] = k(null), i = (a) => {
|
|
17252
17252
|
r((c) => c === a ? null : a);
|
|
17253
17253
|
}, { router: s } = ve();
|
|
@@ -17327,7 +17327,7 @@ const Qy = "_wrapper_aejhu_1", Zy = "_body_aejhu_8", cr = {
|
|
|
17327
17327
|
}
|
|
17328
17328
|
) }, a.id);
|
|
17329
17329
|
})) });
|
|
17330
|
-
},
|
|
17330
|
+
}, ev = ({ className: e, data: t, ICONS: n, ...r }) => {
|
|
17331
17331
|
const [i, s] = k(!1), [a, c] = k(
|
|
17332
17332
|
null
|
|
17333
17333
|
);
|
|
@@ -17337,8 +17337,8 @@ const Qy = "_wrapper_aejhu_1", Zy = "_body_aejhu_8", cr = {
|
|
|
17337
17337
|
const l = ie(() => {
|
|
17338
17338
|
s((u) => !u);
|
|
17339
17339
|
}, []);
|
|
17340
|
-
return a ? /* @__PURE__ */ C(
|
|
17341
|
-
/* @__PURE__ */ o("div", { className: cr["wrapper-body"], hidden: !i, children: i && /* @__PURE__ */ o(
|
|
17340
|
+
return a ? /* @__PURE__ */ C(Zy, { ...r, className: e, children: [
|
|
17341
|
+
/* @__PURE__ */ o("div", { className: cr["wrapper-body"], hidden: !i, children: i && /* @__PURE__ */ o(Jy, { data: a.content, ICONS: n }) }),
|
|
17342
17342
|
/* @__PURE__ */ o(bp, { children: /* @__PURE__ */ o("div", { onClick: l, children: i ? /* @__PURE__ */ o(
|
|
17343
17343
|
G,
|
|
17344
17344
|
{
|
|
@@ -17354,17 +17354,17 @@ const Qy = "_wrapper_aejhu_1", Zy = "_body_aejhu_8", cr = {
|
|
|
17354
17354
|
}
|
|
17355
17355
|
) }) })
|
|
17356
17356
|
] }) : /* @__PURE__ */ o(q, {});
|
|
17357
|
-
},
|
|
17358
|
-
formContainer:
|
|
17359
|
-
formFieldGroup:
|
|
17360
|
-
formFieldGroupName:
|
|
17361
|
-
formFieldWrapper:
|
|
17362
|
-
formFieldInput:
|
|
17363
|
-
success:
|
|
17357
|
+
}, tv = "_formContainer_zwlly_1", nv = "_formFieldGroup_zwlly_6", rv = "_formFieldGroupName_zwlly_10", ov = "_formFieldWrapper_zwlly_20", iv = "_formFieldInput_zwlly_30", sv = "_success_zwlly_73", av = "_button_zwlly_110", cv = "_error_zwlly_114", St = {
|
|
17358
|
+
formContainer: tv,
|
|
17359
|
+
formFieldGroup: nv,
|
|
17360
|
+
formFieldGroupName: rv,
|
|
17361
|
+
formFieldWrapper: ov,
|
|
17362
|
+
formFieldInput: iv,
|
|
17363
|
+
success: sv,
|
|
17364
17364
|
"text-structure-modifier": "_text-structure-modifier_zwlly_85",
|
|
17365
|
-
button:
|
|
17366
|
-
error:
|
|
17367
|
-
},
|
|
17365
|
+
button: av,
|
|
17366
|
+
error: cv
|
|
17367
|
+
}, lv = ({
|
|
17368
17368
|
group: e,
|
|
17369
17369
|
children: t,
|
|
17370
17370
|
className: n
|
|
@@ -17379,11 +17379,11 @@ const Qy = "_wrapper_aejhu_1", Zy = "_body_aejhu_8", cr = {
|
|
|
17379
17379
|
},
|
|
17380
17380
|
e.groupLabel
|
|
17381
17381
|
) });
|
|
17382
|
-
async function
|
|
17382
|
+
async function uv(e) {
|
|
17383
17383
|
const t = new TextEncoder().encode(e), n = await crypto.subtle.digest("SHA-1", t);
|
|
17384
17384
|
return Array.from(new Uint8Array(n)).map((s) => s.toString(16).padStart(2, "0")).join("");
|
|
17385
17385
|
}
|
|
17386
|
-
const
|
|
17386
|
+
const dv = async (e) => await fetch("/api/dito-ingest", {
|
|
17387
17387
|
method: "POST",
|
|
17388
17388
|
body: JSON.stringify(e)
|
|
17389
17389
|
}).then((n) => n.json()), Cp = Ce({});
|
|
@@ -17420,8 +17420,8 @@ function Ep({
|
|
|
17420
17420
|
return h("error"), p([S]);
|
|
17421
17421
|
}
|
|
17422
17422
|
if (u.email) {
|
|
17423
|
-
const N = await
|
|
17424
|
-
|
|
17423
|
+
const N = await uv(u.email || ""), E = (/* @__PURE__ */ new Date()).toISOString();
|
|
17424
|
+
dv([
|
|
17425
17425
|
{
|
|
17426
17426
|
user_id: N,
|
|
17427
17427
|
timestamp: E,
|
|
@@ -17476,7 +17476,7 @@ function Ep({
|
|
|
17476
17476
|
function Ar() {
|
|
17477
17477
|
return Ne(Cp);
|
|
17478
17478
|
}
|
|
17479
|
-
const
|
|
17479
|
+
const pv = ({
|
|
17480
17480
|
fields: e,
|
|
17481
17481
|
className: t
|
|
17482
17482
|
}) => {
|
|
@@ -17503,7 +17503,7 @@ const mv = ({
|
|
|
17503
17503
|
))
|
|
17504
17504
|
}
|
|
17505
17505
|
);
|
|
17506
|
-
},
|
|
17506
|
+
}, mv = ({ FORM_CONFIGS: e, ICONS: t }) => {
|
|
17507
17507
|
const { router: n } = ve();
|
|
17508
17508
|
return /* @__PURE__ */ C("div", { className: St.success, children: [
|
|
17509
17509
|
/* @__PURE__ */ o(
|
|
@@ -17525,7 +17525,7 @@ const mv = ({
|
|
|
17525
17525
|
}
|
|
17526
17526
|
)
|
|
17527
17527
|
] });
|
|
17528
|
-
},
|
|
17528
|
+
}, fv = ({ FORM_CONFIGS: e, ICONS: t }) => {
|
|
17529
17529
|
const { fieldMessage: n } = Ar();
|
|
17530
17530
|
return /* @__PURE__ */ o("div", { className: St.error, children: /* @__PURE__ */ o(
|
|
17531
17531
|
j.Root,
|
|
@@ -17539,7 +17539,7 @@ const mv = ({
|
|
|
17539
17539
|
] }) })
|
|
17540
17540
|
}
|
|
17541
17541
|
) });
|
|
17542
|
-
},
|
|
17542
|
+
}, hv = ({
|
|
17543
17543
|
children: e,
|
|
17544
17544
|
className: t,
|
|
17545
17545
|
ICONS: n,
|
|
@@ -17551,16 +17551,16 @@ const mv = ({
|
|
|
17551
17551
|
{
|
|
17552
17552
|
onSubmit: i,
|
|
17553
17553
|
className: z.classNameConcat(St.formContainer, t),
|
|
17554
|
-
children: s === "success" ? /* @__PURE__ */ o(
|
|
17554
|
+
children: s === "success" ? /* @__PURE__ */ o(mv, { ICONS: n, FORM_CONFIGS: r }) : /* @__PURE__ */ C(q, { children: [
|
|
17555
17555
|
e,
|
|
17556
|
-
s === "error" && /* @__PURE__ */ o(
|
|
17556
|
+
s === "error" && /* @__PURE__ */ o(fv, { ICONS: n, FORM_CONFIGS: r })
|
|
17557
17557
|
] })
|
|
17558
17558
|
}
|
|
17559
17559
|
);
|
|
17560
|
-
},
|
|
17560
|
+
}, _v = (e) => {
|
|
17561
17561
|
const { children: t, className: n } = e;
|
|
17562
17562
|
return /* @__PURE__ */ o(Ep, { ...e, children: /* @__PURE__ */ o(
|
|
17563
|
-
|
|
17563
|
+
hv,
|
|
17564
17564
|
{
|
|
17565
17565
|
ICONS: e.ICONS,
|
|
17566
17566
|
FORM_CONFIGS: e.FORM_CONFIGS,
|
|
@@ -17569,17 +17569,17 @@ const mv = ({
|
|
|
17569
17569
|
}
|
|
17570
17570
|
) });
|
|
17571
17571
|
}, tn = {
|
|
17572
|
-
Root:
|
|
17573
|
-
FieldGroup:
|
|
17574
|
-
FieldWrapper:
|
|
17575
|
-
},
|
|
17572
|
+
Root: _v,
|
|
17573
|
+
FieldGroup: lv,
|
|
17574
|
+
FieldWrapper: pv
|
|
17575
|
+
}, gv = "_button_1e35m_39", Dt = {
|
|
17576
17576
|
"banner-container": "_banner-container_1e35m_1",
|
|
17577
17577
|
"banner-background": "_banner-background_1e35m_6",
|
|
17578
17578
|
"form-root": "_form-root_1e35m_15",
|
|
17579
|
-
button:
|
|
17579
|
+
button: gv,
|
|
17580
17580
|
"form-fied-wrapper": "_form-fied-wrapper_1e35m_52"
|
|
17581
17581
|
};
|
|
17582
|
-
function
|
|
17582
|
+
function yv({
|
|
17583
17583
|
content: e,
|
|
17584
17584
|
sections: t,
|
|
17585
17585
|
FORM_CONFIGS: n,
|
|
@@ -17627,21 +17627,21 @@ function vv({
|
|
|
17627
17627
|
)
|
|
17628
17628
|
] }) });
|
|
17629
17629
|
}
|
|
17630
|
-
const
|
|
17630
|
+
const vv = "_content_1jj9i_36", bv = "_trends_1jj9i_47", Cv = "_modal_1jj9i_1", ut = {
|
|
17631
17631
|
"modal-header": "_modal-header_1jj9i_1",
|
|
17632
17632
|
"modal-header__close-button": "_modal-header__close-button_1jj9i_7",
|
|
17633
17633
|
"search-modal__title": "_search-modal__title_1jj9i_10",
|
|
17634
|
-
content:
|
|
17635
|
-
trends:
|
|
17634
|
+
content: vv,
|
|
17635
|
+
trends: bv,
|
|
17636
17636
|
"trends-content": "_trends-content_1jj9i_57",
|
|
17637
17637
|
"trends-item": "_trends-item_1jj9i_62",
|
|
17638
17638
|
"modal-auto-complete": "_modal-auto-complete_1jj9i_76",
|
|
17639
17639
|
"modal-search-empty": "_modal-search-empty_1jj9i_88",
|
|
17640
|
-
modal:
|
|
17640
|
+
modal: Cv,
|
|
17641
17641
|
"search-modal__modal": "_search-modal__modal_1jj9i_100"
|
|
17642
17642
|
}, Np = Ce(
|
|
17643
17643
|
{}
|
|
17644
|
-
),
|
|
17644
|
+
), Ev = ({
|
|
17645
17645
|
children: e,
|
|
17646
17646
|
term: t
|
|
17647
17647
|
}) => {
|
|
@@ -17677,10 +17677,10 @@ const bv = "_content_1jj9i_36", Cv = "_trends_1jj9i_47", Ev = "_modal_1jj9i_1",
|
|
|
17677
17677
|
children: e
|
|
17678
17678
|
}
|
|
17679
17679
|
);
|
|
17680
|
-
},
|
|
17680
|
+
}, Nv = ({
|
|
17681
17681
|
children: e,
|
|
17682
17682
|
...t
|
|
17683
|
-
}) => /* @__PURE__ */ o(
|
|
17683
|
+
}) => /* @__PURE__ */ o(Ev, { ...t, children: e }), Pv = () => {
|
|
17684
17684
|
const e = Ne(Np);
|
|
17685
17685
|
if (!e)
|
|
17686
17686
|
throw new Error(
|
|
@@ -17702,7 +17702,7 @@ const bv = "_content_1jj9i_36", Cv = "_trends_1jj9i_47", Ev = "_modal_1jj9i_1",
|
|
|
17702
17702
|
ITEMS_PER_PAGE: l,
|
|
17703
17703
|
SEARCH_MODAL: u
|
|
17704
17704
|
}) => {
|
|
17705
|
-
const [d, m] = k(""), { suggestedTerms: p, loading: f, setLoading: h } =
|
|
17705
|
+
const [d, m] = k(""), { suggestedTerms: p, loading: f, setLoading: h } = Pv(), { router: _ } = ve(), g = ne(null), v = (y) => {
|
|
17706
17706
|
m(y.target.value), clearTimeout(g.current), y.target.value.length > 2 && (s(y.target.value), g.current = setTimeout(() => {
|
|
17707
17707
|
s(y.target.value), h(!1);
|
|
17708
17708
|
}, 2e3));
|
|
@@ -17810,7 +17810,7 @@ const bv = "_content_1jj9i_36", Cv = "_trends_1jj9i_47", Ev = "_modal_1jj9i_1",
|
|
|
17810
17810
|
);
|
|
17811
17811
|
};
|
|
17812
17812
|
Pp.displayName = "SearchModal.AutoComplete";
|
|
17813
|
-
function
|
|
17813
|
+
function Sv({ title: e, ICONS: t }) {
|
|
17814
17814
|
const { isMobile: n } = ue();
|
|
17815
17815
|
return /* @__PURE__ */ o(_e.Header, { navigation: "top", className: ut["modal-header"], children: /* @__PURE__ */ C(_e.Controls, { navigation: "top", isMobile: !!n, children: [
|
|
17816
17816
|
/* @__PURE__ */ o(
|
|
@@ -17846,7 +17846,7 @@ const Sp = Ce({
|
|
|
17846
17846
|
searches: [],
|
|
17847
17847
|
isLoading: !1,
|
|
17848
17848
|
error: null
|
|
17849
|
-
}),
|
|
17849
|
+
}), wv = ({ children: e }) => {
|
|
17850
17850
|
const [t, n] = k([]), [r, i] = k(!0), [s, a] = k(null);
|
|
17851
17851
|
return Q(() => {
|
|
17852
17852
|
(async () => {
|
|
@@ -17873,12 +17873,12 @@ const Sp = Ce({
|
|
|
17873
17873
|
children: e
|
|
17874
17874
|
}
|
|
17875
17875
|
);
|
|
17876
|
-
},
|
|
17876
|
+
}, Rv = () => {
|
|
17877
17877
|
const e = Ne(Sp);
|
|
17878
17878
|
if (!e)
|
|
17879
17879
|
throw new Error("useTopSearches must be used within a TopSearchesProvider");
|
|
17880
17880
|
return e;
|
|
17881
|
-
},
|
|
17881
|
+
}, Iv = ({
|
|
17882
17882
|
title: e,
|
|
17883
17883
|
allTermsLabel: t,
|
|
17884
17884
|
allTermsUrl: n,
|
|
@@ -17887,7 +17887,7 @@ const Sp = Ce({
|
|
|
17887
17887
|
ICONS: s,
|
|
17888
17888
|
ITEMS_PER_PAGE: a
|
|
17889
17889
|
}) => {
|
|
17890
|
-
const { searches: c, isLoading: l } =
|
|
17890
|
+
const { searches: c, isLoading: l } = Rv(), { router: u } = ve(), d = Array.isArray(c) ? c : [];
|
|
17891
17891
|
return /* @__PURE__ */ o(q, { children: !l && d.length > 0 ? /* @__PURE__ */ o(Lt.Structure, { className: ut.trends, title: e, children: /* @__PURE__ */ C("div", { className: ut["trends-content"], children: [
|
|
17892
17892
|
/* @__PURE__ */ o(Lt.List, { columns: 1, children: d.slice(0, r).map((m, p) => /* @__PURE__ */ o(
|
|
17893
17893
|
Lt.ListItem,
|
|
@@ -17927,44 +17927,30 @@ const Sp = Ce({
|
|
|
17927
17927
|
}
|
|
17928
17928
|
)
|
|
17929
17929
|
] }) }) : null });
|
|
17930
|
-
}
|
|
17931
|
-
|
|
17932
|
-
|
|
17933
|
-
|
|
17934
|
-
|
|
17935
|
-
|
|
17936
|
-
const [i, s] = k();
|
|
17930
|
+
};
|
|
17931
|
+
function Av({
|
|
17932
|
+
SectionZone: e
|
|
17933
|
+
}) {
|
|
17934
|
+
var r;
|
|
17935
|
+
const [t, n] = k(null);
|
|
17937
17936
|
return Q(() => {
|
|
17938
|
-
|
|
17939
|
-
|
|
17940
|
-
|
|
17941
|
-
|
|
17942
|
-
|
|
17943
|
-
|
|
17937
|
+
(async () => {
|
|
17938
|
+
try {
|
|
17939
|
+
const s = await fetch("/api/cms/content-type-client", {
|
|
17940
|
+
method: "POST",
|
|
17941
|
+
body: JSON.stringify({ contentType: "search" })
|
|
17942
|
+
});
|
|
17943
|
+
if (!s.ok)
|
|
17944
|
+
return;
|
|
17945
|
+
const a = await s.json();
|
|
17946
|
+
n(a);
|
|
17947
|
+
} catch (s) {
|
|
17948
|
+
console.error("[CMS FETCH ERROR]", s);
|
|
17944
17949
|
}
|
|
17945
|
-
)
|
|
17946
|
-
|
|
17947
|
-
});
|
|
17948
|
-
}, []), /* @__PURE__ */ o(e, { data: i ?? [] });
|
|
17949
|
-
};
|
|
17950
|
-
function Tv(e) {
|
|
17951
|
-
const {
|
|
17952
|
-
SectionZone: t,
|
|
17953
|
-
name: n,
|
|
17954
|
-
storeId: r,
|
|
17955
|
-
previewId: i
|
|
17956
|
-
} = e;
|
|
17957
|
-
return /* @__PURE__ */ o("div", { className: ut.content, children: /* @__PURE__ */ o(
|
|
17958
|
-
wp,
|
|
17959
|
-
{
|
|
17960
|
-
SectionZone: t,
|
|
17961
|
-
name: n,
|
|
17962
|
-
storeId: r,
|
|
17963
|
-
previewId: i
|
|
17964
|
-
}
|
|
17965
|
-
) });
|
|
17950
|
+
})();
|
|
17951
|
+
}, []), /* @__PURE__ */ o("div", { className: ut.content, children: t !== null && /* @__PURE__ */ o(e, { data: ((r = t[0]) == null ? void 0 : r.sections) ?? [] }) });
|
|
17966
17952
|
}
|
|
17967
|
-
const
|
|
17953
|
+
const wp = ({ className: e, trends: t, CONSTANTS: n, SectionZone: r }) => {
|
|
17968
17954
|
const [i, s] = k(""), { isMobile: a } = ue(), c = Ya(), { setValue: l } = fr(), {
|
|
17969
17955
|
SEARCH_MODAL: u,
|
|
17970
17956
|
ICONS: d,
|
|
@@ -17981,14 +17967,14 @@ const Rp = ({ className: e, trends: t, CONSTANTS: n, cmsConfig: r }) => {
|
|
|
17981
17967
|
className: `${ut.modal} ${ut["search-modal__modal"]} ${e ?? ""}`,
|
|
17982
17968
|
children: [
|
|
17983
17969
|
/* @__PURE__ */ o(
|
|
17984
|
-
|
|
17970
|
+
Sv,
|
|
17985
17971
|
{
|
|
17986
17972
|
title: u.HEADER.TITLE,
|
|
17987
17973
|
ICONS: d
|
|
17988
17974
|
}
|
|
17989
17975
|
),
|
|
17990
17976
|
/* @__PURE__ */ C(_e.Body, { className: ut["modal-content-body"], children: [
|
|
17991
|
-
/* @__PURE__ */ o(
|
|
17977
|
+
/* @__PURE__ */ o(Nv, { term: i, children: /* @__PURE__ */ o(
|
|
17992
17978
|
Pp,
|
|
17993
17979
|
{
|
|
17994
17980
|
placeholder: u.AUTOCOMPLETE.PLACEHOLDER,
|
|
@@ -18004,8 +17990,8 @@ const Rp = ({ className: e, trends: t, CONSTANTS: n, cmsConfig: r }) => {
|
|
|
18004
17990
|
SEARCH_MODAL: u
|
|
18005
17991
|
}
|
|
18006
17992
|
) }),
|
|
18007
|
-
t ? /* @__PURE__ */ o(
|
|
18008
|
-
|
|
17993
|
+
t ? /* @__PURE__ */ o(wv, { children: /* @__PURE__ */ o(
|
|
17994
|
+
Iv,
|
|
18009
17995
|
{
|
|
18010
17996
|
title: u.TRENDS.TITLE,
|
|
18011
17997
|
allTermsUrl: u.TRENDS.ALL_TERMS_URL,
|
|
@@ -18016,24 +18002,24 @@ const Rp = ({ className: e, trends: t, CONSTANTS: n, cmsConfig: r }) => {
|
|
|
18016
18002
|
ITEMS_PER_PAGE: m
|
|
18017
18003
|
}
|
|
18018
18004
|
) }) : null,
|
|
18019
|
-
|
|
18005
|
+
/* @__PURE__ */ o(Av, { SectionZone: r })
|
|
18020
18006
|
] })
|
|
18021
18007
|
]
|
|
18022
18008
|
}
|
|
18023
18009
|
);
|
|
18024
18010
|
};
|
|
18025
|
-
|
|
18011
|
+
wp.displayName = "SearchModal";
|
|
18026
18012
|
const Eo = {
|
|
18027
18013
|
teamComponents: {
|
|
18028
18014
|
AddToCart: gi,
|
|
18029
|
-
BackToTop:
|
|
18030
|
-
HelpButton:
|
|
18015
|
+
BackToTop: Bf,
|
|
18016
|
+
HelpButton: ev,
|
|
18031
18017
|
BuyPackage: Wl,
|
|
18032
18018
|
Filter: {
|
|
18033
18019
|
...wt,
|
|
18034
18020
|
helpers: cd
|
|
18035
18021
|
},
|
|
18036
|
-
...
|
|
18022
|
+
...Rg,
|
|
18037
18023
|
FreightCalculation: Qu,
|
|
18038
18024
|
Header: Yu,
|
|
18039
18025
|
Link: st,
|
|
@@ -18051,22 +18037,22 @@ const Eo = {
|
|
|
18051
18037
|
minicart: et,
|
|
18052
18038
|
pdc: ap,
|
|
18053
18039
|
pdc_composites: Ct,
|
|
18054
|
-
pdp:
|
|
18040
|
+
pdp: py,
|
|
18055
18041
|
searchResult: pp,
|
|
18056
18042
|
wishList: xl,
|
|
18057
|
-
LPCadastro:
|
|
18058
|
-
SearchModal:
|
|
18043
|
+
LPCadastro: yv,
|
|
18044
|
+
SearchModal: wp
|
|
18059
18045
|
},
|
|
18060
18046
|
utils: {
|
|
18061
18047
|
// ErrorBoundary,
|
|
18062
|
-
EventCollector:
|
|
18063
|
-
ExternalScripts:
|
|
18048
|
+
EventCollector: jy,
|
|
18049
|
+
ExternalScripts: Vy,
|
|
18064
18050
|
LinkOrNotLink: An,
|
|
18065
18051
|
ObserverWrapper: Cr,
|
|
18066
18052
|
SnackBarComponent: en,
|
|
18067
18053
|
DraftJsLinkWrapper: Wd
|
|
18068
18054
|
}
|
|
18069
|
-
},
|
|
18055
|
+
}, Tv = (e, t) => {
|
|
18070
18056
|
const n = e.map((i) => `'${i.source}'`).join(`,
|
|
18071
18057
|
`);
|
|
18072
18058
|
return `
|
|
@@ -18109,15 +18095,15 @@ const Eo = {
|
|
|
18109
18095
|
]
|
|
18110
18096
|
}
|
|
18111
18097
|
`;
|
|
18112
|
-
},
|
|
18098
|
+
}, xv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18113
18099
|
__proto__: null,
|
|
18114
|
-
generateMiddleware:
|
|
18115
|
-
}, Symbol.toStringTag, { value: "Module" })), Nb = { helpers:
|
|
18100
|
+
generateMiddleware: Tv
|
|
18101
|
+
}, Symbol.toStringTag, { value: "Module" })), Nb = { helpers: xv }, Vo = {
|
|
18116
18102
|
"custom-carousel": "_custom-carousel_t5fgp_1",
|
|
18117
18103
|
"carrousel-arrows-display-controller": "_carrousel-arrows-display-controller_t5fgp_10",
|
|
18118
18104
|
"carousel-controllers-modifier": "_carousel-controllers-modifier_t5fgp_19"
|
|
18119
18105
|
};
|
|
18120
|
-
function
|
|
18106
|
+
function Lv(e, t) {
|
|
18121
18107
|
const { mediatorRef: n } = ue();
|
|
18122
18108
|
Q(() => n.current.subscribe(e, t), [e, t]);
|
|
18123
18109
|
}
|
|
@@ -18134,7 +18120,7 @@ const Xs = ({
|
|
|
18134
18120
|
ICONS: u
|
|
18135
18121
|
}) => {
|
|
18136
18122
|
const [d, m] = k("default");
|
|
18137
|
-
return
|
|
18123
|
+
return Lv(
|
|
18138
18124
|
"herobanner:change_controllers_variant",
|
|
18139
18125
|
(p) => {
|
|
18140
18126
|
l && m(p.includes("white") ? "inverse" : "default");
|
|
@@ -18189,7 +18175,7 @@ const Xs = ({
|
|
|
18189
18175
|
]
|
|
18190
18176
|
}
|
|
18191
18177
|
);
|
|
18192
|
-
},
|
|
18178
|
+
}, Ov = ({
|
|
18193
18179
|
children: e,
|
|
18194
18180
|
data: t,
|
|
18195
18181
|
banner: n,
|
|
@@ -18213,7 +18199,7 @@ const Xs = ({
|
|
|
18213
18199
|
children: e
|
|
18214
18200
|
}
|
|
18215
18201
|
) : /* @__PURE__ */ o(q, { children: e });
|
|
18216
|
-
},
|
|
18202
|
+
}, Rp = (e) => {
|
|
18217
18203
|
const { initialize: t, pagination: n, controller: r, itemsStyles: i } = me.useCarousel({
|
|
18218
18204
|
gap: e.data.config.gap,
|
|
18219
18205
|
itemsPerPage: e.data.config.slidesPerView,
|
|
@@ -18287,7 +18273,7 @@ const Xs = ({
|
|
|
18287
18273
|
me.Item,
|
|
18288
18274
|
{
|
|
18289
18275
|
style: i,
|
|
18290
|
-
children: /* @__PURE__ */ o(
|
|
18276
|
+
children: /* @__PURE__ */ o(Ov, { data: e, banner: d, children: /* @__PURE__ */ o(
|
|
18291
18277
|
Tn,
|
|
18292
18278
|
{
|
|
18293
18279
|
ICONS: e.ICONS,
|
|
@@ -18311,12 +18297,12 @@ const Xs = ({
|
|
|
18311
18297
|
]
|
|
18312
18298
|
}
|
|
18313
18299
|
);
|
|
18314
|
-
},
|
|
18300
|
+
}, kv = { Banner: Ti }, Xt = {
|
|
18315
18301
|
"row-controller-modifier": "_row-controller-modifier_co4wb_1",
|
|
18316
18302
|
"carousel-title-modifier": "_carousel-title-modifier_co4wb_18",
|
|
18317
18303
|
"carousel-modifier": "_carousel-modifier_co4wb_22",
|
|
18318
18304
|
"card-modifier": "_card-modifier_co4wb_26"
|
|
18319
|
-
},
|
|
18305
|
+
}, Ip = ({ data: e, CONSTANTS: t }) => {
|
|
18320
18306
|
var u;
|
|
18321
18307
|
const { isMobile: n } = ue(), r = e.config.size ?? "medium", i = e.config.disableCarouselMobile ?? !1, { initialize: s, pagination: a, controller: c, itemsStyles: l } = me.useCarousel({
|
|
18322
18308
|
itemsPerPage: n ? e == null ? void 0 : e.config.slidesPerViewMobile : (u = e == null ? void 0 : e.config) == null ? void 0 : u.slidesPerView,
|
|
@@ -18450,7 +18436,7 @@ const Xs = ({
|
|
|
18450
18436
|
)
|
|
18451
18437
|
}
|
|
18452
18438
|
);
|
|
18453
|
-
},
|
|
18439
|
+
}, Ap = ({
|
|
18454
18440
|
data: e,
|
|
18455
18441
|
ICONS: t,
|
|
18456
18442
|
TEXTCONTENT_EXPANDED: n,
|
|
@@ -18465,7 +18451,7 @@ const Xs = ({
|
|
|
18465
18451
|
), Ys = {
|
|
18466
18452
|
"accordion-modifier": "_accordion-modifier_1we16_1",
|
|
18467
18453
|
"accordion-body-modifier": "_accordion-body-modifier_1we16_7"
|
|
18468
|
-
},
|
|
18454
|
+
}, Tp = ({
|
|
18469
18455
|
data: e,
|
|
18470
18456
|
id: t,
|
|
18471
18457
|
ICONS: n,
|
|
@@ -18528,7 +18514,7 @@ const Xs = ({
|
|
|
18528
18514
|
)}`
|
|
18529
18515
|
))
|
|
18530
18516
|
] });
|
|
18531
|
-
},
|
|
18517
|
+
}, xp = Ce({}), Mv = ({ data: e, children: t, ...n }) => {
|
|
18532
18518
|
var h, _, g, v, P, b, y, S, N, E, R, x, T;
|
|
18533
18519
|
const [r, i] = k(!0), { initialize: s, controller: a, itemsStyles: c } = me.useCarousel({
|
|
18534
18520
|
gap: 0,
|
|
@@ -18552,7 +18538,7 @@ const Xs = ({
|
|
|
18552
18538
|
fallback: "default"
|
|
18553
18539
|
});
|
|
18554
18540
|
return /* @__PURE__ */ o(
|
|
18555
|
-
|
|
18541
|
+
xp.Provider,
|
|
18556
18542
|
{
|
|
18557
18543
|
value: {
|
|
18558
18544
|
isOpen: r,
|
|
@@ -18571,18 +18557,18 @@ const Xs = ({
|
|
|
18571
18557
|
children: t
|
|
18572
18558
|
}
|
|
18573
18559
|
);
|
|
18574
|
-
}, It = () => Ne(
|
|
18560
|
+
}, It = () => Ne(xp), Dv = ({ dateEnd: e, ...t }) => {
|
|
18575
18561
|
const {
|
|
18576
18562
|
CONSTANTS: { TIME_ZONE: n }
|
|
18577
18563
|
} = It();
|
|
18578
18564
|
return /* @__PURE__ */ o(ir, { dateEnd: new Date(e), TIME_ZONE: n, ...t });
|
|
18579
|
-
},
|
|
18580
|
-
tipbar:
|
|
18581
|
-
tipbar__carousel:
|
|
18565
|
+
}, $v = "_tipbar_bt3p0_1", zv = "_tipbar__carousel_bt3p0_15", xn = {
|
|
18566
|
+
tipbar: $v,
|
|
18567
|
+
tipbar__carousel: zv,
|
|
18582
18568
|
"tipbar__close-btn": "_tipbar__close-btn_bt3p0_29",
|
|
18583
18569
|
"tipbar-item": "_tipbar-item_bt3p0_37",
|
|
18584
18570
|
"tipbar-item__coupon": "_tipbar-item__coupon_bt3p0_45"
|
|
18585
|
-
},
|
|
18571
|
+
}, Fv = ({
|
|
18586
18572
|
coupon: e,
|
|
18587
18573
|
feedbackTitle: t,
|
|
18588
18574
|
feedbackDescription: n,
|
|
@@ -18655,7 +18641,7 @@ const Xs = ({
|
|
|
18655
18641
|
`error-cart-empty-${e}`
|
|
18656
18642
|
)
|
|
18657
18643
|
] });
|
|
18658
|
-
},
|
|
18644
|
+
}, jv = ({
|
|
18659
18645
|
title: e,
|
|
18660
18646
|
description: t,
|
|
18661
18647
|
style: n,
|
|
@@ -18664,10 +18650,10 @@ const Xs = ({
|
|
|
18664
18650
|
}) => /* @__PURE__ */ o(j.Root, { children: /* @__PURE__ */ C(j.DivWrapper, { mode: r, className: i, children: [
|
|
18665
18651
|
e && /* @__PURE__ */ o("h3", { className: "typography-style-body-sm", style: n, children: e }),
|
|
18666
18652
|
t && /* @__PURE__ */ o("p", { className: "typography-style-caption", style: n, children: t })
|
|
18667
|
-
] }) }),
|
|
18653
|
+
] }) }), Bv = ({ coupon: e, ...t }) => {
|
|
18668
18654
|
const { CONSTANTS: n } = It();
|
|
18669
18655
|
return /* @__PURE__ */ o(
|
|
18670
|
-
|
|
18656
|
+
im,
|
|
18671
18657
|
{
|
|
18672
18658
|
...t,
|
|
18673
18659
|
iconCopy: n.ICONS.copy,
|
|
@@ -18675,7 +18661,7 @@ const Xs = ({
|
|
|
18675
18661
|
children: e
|
|
18676
18662
|
}
|
|
18677
18663
|
);
|
|
18678
|
-
},
|
|
18664
|
+
}, Uv = ({
|
|
18679
18665
|
staticZone: e,
|
|
18680
18666
|
type: t,
|
|
18681
18667
|
className: n,
|
|
@@ -18685,7 +18671,7 @@ const Xs = ({
|
|
|
18685
18671
|
const { mode: s } = It();
|
|
18686
18672
|
if (t === "countdown")
|
|
18687
18673
|
return /* @__PURE__ */ o(
|
|
18688
|
-
|
|
18674
|
+
Dv,
|
|
18689
18675
|
{
|
|
18690
18676
|
dateEnd: e.countDownEndDate,
|
|
18691
18677
|
size: "x-small",
|
|
@@ -18698,12 +18684,12 @@ const Xs = ({
|
|
|
18698
18684
|
property: e.couponButtonMode,
|
|
18699
18685
|
fallback: "default"
|
|
18700
18686
|
}), c = z.ValidateProp({
|
|
18701
|
-
fieldTypes:
|
|
18687
|
+
fieldTypes: cm,
|
|
18702
18688
|
property: e.couponButtonVariant,
|
|
18703
18689
|
fallback: "primary"
|
|
18704
18690
|
});
|
|
18705
18691
|
return e.coupon ? /* @__PURE__ */ o(
|
|
18706
|
-
|
|
18692
|
+
Fv,
|
|
18707
18693
|
{
|
|
18708
18694
|
coupon: e.coupon,
|
|
18709
18695
|
mode: a,
|
|
@@ -18719,10 +18705,10 @@ const Xs = ({
|
|
|
18719
18705
|
property: e.couponButtonMode,
|
|
18720
18706
|
fallback: "default"
|
|
18721
18707
|
});
|
|
18722
|
-
return e.coupon ? /* @__PURE__ */ o(
|
|
18708
|
+
return e.coupon ? /* @__PURE__ */ o(Bv, { coupon: e.coupon, mode: a }) : null;
|
|
18723
18709
|
}
|
|
18724
18710
|
return /* @__PURE__ */ o(
|
|
18725
|
-
|
|
18711
|
+
jv,
|
|
18726
18712
|
{
|
|
18727
18713
|
title: i,
|
|
18728
18714
|
description: r,
|
|
@@ -18745,7 +18731,7 @@ const Xs = ({
|
|
|
18745
18731
|
}
|
|
18746
18732
|
}
|
|
18747
18733
|
);
|
|
18748
|
-
},
|
|
18734
|
+
}, Hv = ({
|
|
18749
18735
|
children: e,
|
|
18750
18736
|
mode: t = "default",
|
|
18751
18737
|
showCarouselArrows: n = !0,
|
|
@@ -18798,7 +18784,7 @@ const Xs = ({
|
|
|
18798
18784
|
]
|
|
18799
18785
|
}
|
|
18800
18786
|
);
|
|
18801
|
-
},
|
|
18787
|
+
}, qv = ({ children: e, className: t }) => {
|
|
18802
18788
|
const {
|
|
18803
18789
|
hasCarousel: n,
|
|
18804
18790
|
mode: r,
|
|
@@ -18816,7 +18802,7 @@ const Xs = ({
|
|
|
18816
18802
|
className: z.classNameConcat(xn.tipbar, t),
|
|
18817
18803
|
children: n ? /* @__PURE__ */ C(q, { children: [
|
|
18818
18804
|
/* @__PURE__ */ o(
|
|
18819
|
-
|
|
18805
|
+
Hv,
|
|
18820
18806
|
{
|
|
18821
18807
|
mode: r,
|
|
18822
18808
|
showCarouselArrows: u,
|
|
@@ -18838,24 +18824,24 @@ const Xs = ({
|
|
|
18838
18824
|
] })
|
|
18839
18825
|
}
|
|
18840
18826
|
);
|
|
18841
|
-
},
|
|
18827
|
+
}, Vv = ({
|
|
18842
18828
|
children: e,
|
|
18843
18829
|
highlightFirstSection: t,
|
|
18844
18830
|
...n
|
|
18845
18831
|
}) => {
|
|
18846
18832
|
const { hasCarousel: r, carouselProps: i } = It(), s = /* @__PURE__ */ o("div", { ...n, className: xn["tipbar-item"], children: e });
|
|
18847
18833
|
return r ? /* @__PURE__ */ o(me.Item, { style: i.itemsStyles, children: s }) : s;
|
|
18848
|
-
},
|
|
18834
|
+
}, Lp = ({ className: e }) => {
|
|
18849
18835
|
const { isOpen: t, slices: n } = It();
|
|
18850
|
-
return n.length && t ? /* @__PURE__ */ o(
|
|
18836
|
+
return n.length && t ? /* @__PURE__ */ o(qv, { children: n.map((r, i) => {
|
|
18851
18837
|
var s;
|
|
18852
18838
|
return /* @__PURE__ */ o(q, { children: /* @__PURE__ */ o(An, { href: r.link, children: /* @__PURE__ */ o(
|
|
18853
|
-
|
|
18839
|
+
Vv,
|
|
18854
18840
|
{
|
|
18855
18841
|
highlightFirstSection: r.highlightFirstSection,
|
|
18856
18842
|
"data-justifyhighlightedsection": r.horizontalAlignHighlightedSection ? r.horizontalAlignHighlightedSection : "center",
|
|
18857
18843
|
children: r && ((s = r == null ? void 0 : r.items) != null && s.length) ? r.items.map((a, c) => /* @__PURE__ */ o(
|
|
18858
|
-
|
|
18844
|
+
Uv,
|
|
18859
18845
|
{
|
|
18860
18846
|
staticZone: r,
|
|
18861
18847
|
type: a.type,
|
|
@@ -18869,10 +18855,10 @@ const Xs = ({
|
|
|
18869
18855
|
) }) }, `tipbar-slice-${i}`);
|
|
18870
18856
|
}) }) : null;
|
|
18871
18857
|
};
|
|
18872
|
-
|
|
18873
|
-
const Wo = ({ className: e, ...t }) => /* @__PURE__ */ o(
|
|
18858
|
+
Lp.displayName = "TipBar.Root";
|
|
18859
|
+
const Wo = ({ className: e, ...t }) => /* @__PURE__ */ o(Mv, { ...t, children: /* @__PURE__ */ o(Lp, { className: e }) });
|
|
18874
18860
|
Wo.displayName = "TipBar";
|
|
18875
|
-
const
|
|
18861
|
+
const Wv = ({ CONSTANTS: e, data: t }) => {
|
|
18876
18862
|
const { pathname: n } = ve(), { tipbarRef: r } = je(), i = (c) => {
|
|
18877
18863
|
const l = t == null ? void 0 : t.find(
|
|
18878
18864
|
(u) => {
|
|
@@ -18901,7 +18887,7 @@ const Gv = ({ CONSTANTS: e, data: t }) => {
|
|
|
18901
18887
|
}, Zs = {
|
|
18902
18888
|
"card-image-wrapper": "_card-image-wrapper_10mul_1",
|
|
18903
18889
|
"card-image-container": "_card-image-container_10mul_9"
|
|
18904
|
-
},
|
|
18890
|
+
}, Op = (e) => {
|
|
18905
18891
|
const { nextimage: t } = ve();
|
|
18906
18892
|
return /* @__PURE__ */ o(q, { children: e.data.banners.map((n, r) => /* @__PURE__ */ o("div", { className: Zs["card-image-wrapper"], children: /* @__PURE__ */ o("div", { className: Zs["card-image-container"], children: /* @__PURE__ */ o(
|
|
18907
18893
|
t,
|
|
@@ -18912,10 +18898,29 @@ const Gv = ({ CONSTANTS: e, data: t }) => {
|
|
|
18912
18898
|
height: 600
|
|
18913
18899
|
}
|
|
18914
18900
|
) }) }, r)) });
|
|
18915
|
-
},
|
|
18901
|
+
}, Gv = ({
|
|
18902
|
+
SectionZone: e,
|
|
18903
|
+
name: t,
|
|
18904
|
+
storeId: n,
|
|
18905
|
+
previewId: r
|
|
18906
|
+
}) => {
|
|
18907
|
+
const [i, s] = k();
|
|
18908
|
+
return Q(() => {
|
|
18909
|
+
i || tm(
|
|
18910
|
+
"search",
|
|
18911
|
+
{
|
|
18912
|
+
name: t,
|
|
18913
|
+
storeId: n,
|
|
18914
|
+
previewId: r
|
|
18915
|
+
}
|
|
18916
|
+
).then((a) => {
|
|
18917
|
+
a != null && a.data && Array.isArray(a.data) && s(a.data[0]);
|
|
18918
|
+
});
|
|
18919
|
+
}, []), /* @__PURE__ */ o(e, { data: i ?? [] });
|
|
18920
|
+
}, kp = ({
|
|
18916
18921
|
data: { componentIndex: e, ...t },
|
|
18917
18922
|
CONSTANTS: n
|
|
18918
|
-
}) => /* @__PURE__ */ o(Oi, { ...t, CONSTANTS: n }),
|
|
18923
|
+
}) => /* @__PURE__ */ o(Oi, { ...t, CONSTANTS: n }), Mp = async (e) => {
|
|
18919
18924
|
const { type: t } = e, n = t === "collectionSearch" ? "/api/search/product" : "/api/search/crosseling", r = JSON.stringify(t === "collectionSearch" ? {
|
|
18920
18925
|
...e.params,
|
|
18921
18926
|
facets: e.facets,
|
|
@@ -18931,7 +18936,7 @@ const Gv = ({ CONSTANTS: e, data: t }) => {
|
|
|
18931
18936
|
}).then((s) => s.json()).then(
|
|
18932
18937
|
(s) => t === "collectionSearch" ? s.data.products : s.products
|
|
18933
18938
|
)).filter((s) => !!s.node.availability.status);
|
|
18934
|
-
}, Kv = "_shelf__container_bi04n_10",
|
|
18939
|
+
}, Kv = "_shelf__container_bi04n_10", Dp = {
|
|
18935
18940
|
shelf__container: Kv
|
|
18936
18941
|
}, Xv = ({
|
|
18937
18942
|
collectionSearch: e,
|
|
@@ -18948,7 +18953,7 @@ const Gv = ({ CONSTANTS: e, data: t }) => {
|
|
|
18948
18953
|
return;
|
|
18949
18954
|
function u() {
|
|
18950
18955
|
var d, m;
|
|
18951
|
-
|
|
18956
|
+
Mp({
|
|
18952
18957
|
type: "collectionSearch",
|
|
18953
18958
|
term: e == null ? void 0 : e.term,
|
|
18954
18959
|
facets: e == null ? void 0 : e.facets,
|
|
@@ -18972,7 +18977,7 @@ const Gv = ({ CONSTANTS: e, data: t }) => {
|
|
|
18972
18977
|
}
|
|
18973
18978
|
}
|
|
18974
18979
|
});
|
|
18975
|
-
}, [c, r]), r.length === 0 ? null : /* @__PURE__ */ o("div", { ref: a, className:
|
|
18980
|
+
}, [c, r]), r.length === 0 ? null : /* @__PURE__ */ o("div", { ref: a, className: Dp.shelf__container, children: /* @__PURE__ */ o(
|
|
18976
18981
|
Cn.Shelf,
|
|
18977
18982
|
{
|
|
18978
18983
|
title: t ?? "Você também pode gostar",
|
|
@@ -19023,7 +19028,7 @@ const Gv = ({ CONSTANTS: e, data: t }) => {
|
|
|
19023
19028
|
return;
|
|
19024
19029
|
function d() {
|
|
19025
19030
|
var m;
|
|
19026
|
-
|
|
19031
|
+
Mp({
|
|
19027
19032
|
type: "recommendationSearch",
|
|
19028
19033
|
facets: u,
|
|
19029
19034
|
params: {
|
|
@@ -19058,7 +19063,7 @@ const Gv = ({ CONSTANTS: e, data: t }) => {
|
|
|
19058
19063
|
inView: c,
|
|
19059
19064
|
CONSTANTS: n
|
|
19060
19065
|
}
|
|
19061
|
-
) : /* @__PURE__ */ o("div", { ref: a, className:
|
|
19066
|
+
) : /* @__PURE__ */ o("div", { ref: a, className: Dp.shelf__container, children: /* @__PURE__ */ o(
|
|
19062
19067
|
Cn.Shelf,
|
|
19063
19068
|
{
|
|
19064
19069
|
title: t ?? "Você também pode gostar",
|
|
@@ -19086,7 +19091,7 @@ const Gv = ({ CONSTANTS: e, data: t }) => {
|
|
|
19086
19091
|
})
|
|
19087
19092
|
}
|
|
19088
19093
|
) });
|
|
19089
|
-
},
|
|
19094
|
+
}, $p = ({
|
|
19090
19095
|
data: e,
|
|
19091
19096
|
CONSTANTS: t
|
|
19092
19097
|
}) => {
|
|
@@ -19104,7 +19109,7 @@ const Gv = ({ CONSTANTS: e, data: t }) => {
|
|
|
19104
19109
|
},
|
|
19105
19110
|
`shelf=${i}`
|
|
19106
19111
|
));
|
|
19107
|
-
},
|
|
19112
|
+
}, zp = ({ data: e, CONSTANTS: t }) => e.productLists.map((n, r) => {
|
|
19108
19113
|
const i = n.collectionId ? {
|
|
19109
19114
|
term: "",
|
|
19110
19115
|
facets: [{ key: "productclusterids", value: `${n.collectionId}` }]
|
|
@@ -19127,7 +19132,7 @@ const Gv = ({ CONSTANTS: e, data: t }) => {
|
|
|
19127
19132
|
}), Qv = "_embedLiveContainer_1ss0l_2", Zv = "_embedLivePlayer_1ss0l_7", Js = {
|
|
19128
19133
|
embedLiveContainer: Qv,
|
|
19129
19134
|
embedLivePlayer: Zv
|
|
19130
|
-
},
|
|
19135
|
+
}, Fp = ({ data: e }) => /* @__PURE__ */ o("div", { className: Js.embedLiveContainer, children: /* @__PURE__ */ o("div", { className: Js.embedLivePlayer, children: e.banner.videosrc ? /* @__PURE__ */ o(
|
|
19131
19136
|
qe.Video,
|
|
19132
19137
|
{
|
|
19133
19138
|
src: e.banner.videosrc ?? "",
|
|
@@ -19204,11 +19209,11 @@ const Gv = ({ CONSTANTS: e, data: t }) => {
|
|
|
19204
19209
|
className: lt["popup__modal--status"],
|
|
19205
19210
|
children: /* @__PURE__ */ C("p", { className: "typography-style-body-caption", children: [
|
|
19206
19211
|
/* @__PURE__ */ o($, { size: "small", name: i.alert_circle }),
|
|
19207
|
-
|
|
19212
|
+
sf
|
|
19208
19213
|
] })
|
|
19209
19214
|
}
|
|
19210
19215
|
),
|
|
19211
|
-
/* @__PURE__ */ o(G, { disabled: !l, size: "medium", type: "submit", children:
|
|
19216
|
+
/* @__PURE__ */ o(G, { disabled: !l, size: "medium", type: "submit", children: cf }),
|
|
19212
19217
|
s.length ? /* @__PURE__ */ o(
|
|
19213
19218
|
j.DivWrapper,
|
|
19214
19219
|
{
|
|
@@ -19220,7 +19225,7 @@ const Gv = ({ CONSTANTS: e, data: t }) => {
|
|
|
19220
19225
|
lt.formSubmitWarning,
|
|
19221
19226
|
"typography-style-body-xs"
|
|
19222
19227
|
),
|
|
19223
|
-
children:
|
|
19228
|
+
children: af
|
|
19224
19229
|
}
|
|
19225
19230
|
)
|
|
19226
19231
|
}
|
|
@@ -19228,7 +19233,7 @@ const Gv = ({ CONSTANTS: e, data: t }) => {
|
|
|
19228
19233
|
] })
|
|
19229
19234
|
] })
|
|
19230
19235
|
] }) });
|
|
19231
|
-
},
|
|
19236
|
+
}, jp = ({
|
|
19232
19237
|
data: e,
|
|
19233
19238
|
CONSTANTS: t
|
|
19234
19239
|
}) => {
|
|
@@ -19269,7 +19274,7 @@ const Gv = ({ CONSTANTS: e, data: t }) => {
|
|
|
19269
19274
|
] })
|
|
19270
19275
|
] }) : null;
|
|
19271
19276
|
};
|
|
19272
|
-
class ob extends
|
|
19277
|
+
class ob extends qp {
|
|
19273
19278
|
constructor() {
|
|
19274
19279
|
super(...arguments);
|
|
19275
19280
|
On(this, "state", {
|
|
@@ -19293,17 +19298,17 @@ class ob extends Vp {
|
|
|
19293
19298
|
}
|
|
19294
19299
|
}
|
|
19295
19300
|
const ib = {
|
|
19296
|
-
"Image Grid":
|
|
19297
|
-
"Embed Live":
|
|
19298
|
-
"Banner Carousel":
|
|
19301
|
+
"Image Grid": Op,
|
|
19302
|
+
"Embed Live": Fp,
|
|
19303
|
+
"Banner Carousel": Rp,
|
|
19299
19304
|
Banner: Ti,
|
|
19300
|
-
"Bennefits Bar":
|
|
19301
|
-
newsletter:
|
|
19302
|
-
TextContent:
|
|
19303
|
-
TextAccordion:
|
|
19304
|
-
"Product Carousel":
|
|
19305
|
-
"PDP Product Carousel":
|
|
19306
|
-
"Popup Modal":
|
|
19305
|
+
"Bennefits Bar": Ip,
|
|
19306
|
+
newsletter: kp,
|
|
19307
|
+
TextContent: Ap,
|
|
19308
|
+
TextAccordion: Tp,
|
|
19309
|
+
"Product Carousel": zp,
|
|
19310
|
+
"PDP Product Carousel": $p,
|
|
19311
|
+
"Popup Modal": jp
|
|
19307
19312
|
}, sb = ({
|
|
19308
19313
|
data: e,
|
|
19309
19314
|
identifyWhoIsFirst: t = !1,
|
|
@@ -19312,27 +19317,27 @@ const ib = {
|
|
|
19312
19317
|
const s = ib[r.name], a = { ...(n == null ? void 0 : n[r.name]) ?? {} };
|
|
19313
19318
|
return t && i === 0 && (r.data.first = !0), r.data.componentIndex = i, r.name === "TextAccordion" && (a.id = `text-accordion-${i}`), s ? /* @__PURE__ */ o(ob, { name: r.name, children: /* @__PURE__ */ o(s, { data: r.data, ...a }) }, `section-zone-component-${i}`) : null;
|
|
19314
19319
|
}), ab = {
|
|
19315
|
-
Banner:
|
|
19320
|
+
Banner: kv,
|
|
19316
19321
|
BannerSection: Tn,
|
|
19317
|
-
BennefitsBarSection:
|
|
19322
|
+
BennefitsBarSection: Ip,
|
|
19318
19323
|
SingleBannerSection: Ti,
|
|
19319
|
-
TextContentSection:
|
|
19320
|
-
BannerCarousel:
|
|
19321
|
-
TextAccordionSection:
|
|
19322
|
-
TipbarScreening:
|
|
19323
|
-
ImageGrid:
|
|
19324
|
-
SearchPageScreening:
|
|
19325
|
-
SearchContent:
|
|
19326
|
-
NewsletterSection:
|
|
19327
|
-
PDPProductCarousel:
|
|
19328
|
-
ProductCarousel:
|
|
19329
|
-
EmbedLive:
|
|
19330
|
-
PopupModalSection:
|
|
19324
|
+
TextContentSection: Ap,
|
|
19325
|
+
BannerCarousel: Rp,
|
|
19326
|
+
TextAccordionSection: Tp,
|
|
19327
|
+
TipbarScreening: Wv,
|
|
19328
|
+
ImageGrid: Op,
|
|
19329
|
+
SearchPageScreening: nm,
|
|
19330
|
+
SearchContent: Gv,
|
|
19331
|
+
NewsletterSection: kp,
|
|
19332
|
+
PDPProductCarousel: $p,
|
|
19333
|
+
ProductCarousel: zp,
|
|
19334
|
+
EmbedLive: Fp,
|
|
19335
|
+
PopupModalSection: jp,
|
|
19331
19336
|
SectionZone: sb
|
|
19332
|
-
}, Pb = { Components: ab, helpers:
|
|
19337
|
+
}, Pb = { Components: ab, helpers: by };
|
|
19333
19338
|
export {
|
|
19334
19339
|
Pb as cms,
|
|
19335
|
-
|
|
19340
|
+
xf as contexts,
|
|
19336
19341
|
Qc as data,
|
|
19337
19342
|
Eo as layout,
|
|
19338
19343
|
Nb as scripts
|