@soma-vertical-web/multi-lib 1.0.22 → 1.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/cms/ContentTypes/NotFoundPage/NotFoundContent.d.ts +3 -0
  2. package/cms/server.d.ts +1 -0
  3. package/data/api/catalog/index.d.ts +1 -0
  4. package/data/api/catalog/pageInfo/index.d.ts +7 -0
  5. package/{index-BhiCzrut.mjs → index-3re_PcOZ.mjs} +717 -738
  6. package/index-5ycwc4R2.mjs +2230 -0
  7. package/index-BngdrDvh.js +4 -0
  8. package/index-ByLB8d6o.js +4 -0
  9. package/{index-D61YFVi9.mjs → index-DjjGiBzS.mjs} +697 -742
  10. package/index-Rwk0NGoh.js +4 -0
  11. package/index.js +13 -13
  12. package/index.mjs +3431 -3348
  13. package/index2.js +2 -2
  14. package/index2.mjs +351 -319
  15. package/layout/index.d.ts +4 -0
  16. package/layout/template/ErrorTemplate/ErrorTemplate.d.ts +7 -0
  17. package/layout/template/ErrorTemplate/index.d.ts +1 -0
  18. package/layout/template/QuickShop/Composite/Body.d.ts +1 -1
  19. package/layout/template/QuickShop/Composite/Similars.d.ts +1 -1
  20. package/package.json +1 -1
  21. package/style.css +1 -1
  22. package/types/cms/ContentTypes/NotFoundPage/index.d.ts +6 -1
  23. package/types/data/api/index.d.ts +13 -0
  24. package/types/layout/templates/ErrorTemplate/index.d.ts +12 -0
  25. package/types/layout/templates/QuickShop/index.d.ts +2 -1
  26. package/cms/ContentTypes/LPLojas/typing.d.ts +0 -33
  27. package/contexts/contexts/search/QueryFacets.d.ts +0 -5
  28. package/contexts/contexts/search/QueryProducts.d.ts +0 -5
  29. package/contexts/contexts/search/RootTank.d.ts +0 -9
  30. package/index-4tOP7lCS.js +0 -4
  31. package/index-67k__dSl.mjs +0 -1908
  32. package/index-BFX4NpXJ.js +0 -4
  33. package/index-BlwJMBFA.mjs +0 -1890
  34. package/index-ByhWQJ9Z.mjs +0 -1844
  35. package/index-CkpbvnLx.mjs +0 -1830
  36. package/index-CpUjW-m9.mjs +0 -1877
  37. package/index-D0LSqsck.js +0 -4
  38. package/index-DZ1MbO8M.js +0 -4
  39. package/index-Dj1bg0lu.mjs +0 -1826
  40. package/index-DvhdPe3b.js +0 -4
  41. package/index-DyKuIyRP.js +0 -4
  42. package/index-dtcYsqh-.js +0 -4
  43. package/index-xWhZ_YcF.js +0 -4
  44. package/layout/template/LPLojas/Composite/Details/interfaces.d.ts +0 -18
  45. package/layout/template/LPLojas/Composite/DropDown/interfaces.d.ts +0 -10
  46. package/layout/template/LPLojas/constant.d.ts +0 -1
  47. package/layout/template/LPLojas/interfaces.d.ts +0 -18
  48. package/layout/template/SearchResult/Composite/Products.d.ts +0 -7
package/index2.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { jsx as N, jsxs as me, Fragment as J } from "react/jsx-runtime";
2
- import { F, z as se, S as _t, G as Rt, H as It, a as Pt, j as xt, m as St, r as Ct, q as kt, k as ze, n as Et, o as At, l as Ot, D as Tt, C as qt, I as Nt, p as jt, J as Ft, K as $t, L as Lt, e as Dt, M as Ut } from "./index-D61YFVi9.mjs";
1
+ import { jsx as T, jsxs as me, Fragment as W } from "react/jsx-runtime";
2
+ import { F as $, z as se, S as _t, G as Rt, H as It, a as Pt, j as xt, m as St, r as Ct, q as kt, k as ze, n as Et, o as At, l as Ot, D as Tt, C as qt, I as Nt, p as jt, J as $t, K as Ft, L as Lt, e as Dt, M as Ut } from "./index-5ycwc4R2.mjs";
3
3
  import { Utils as le, helpers as ce } from "@soma-vertical-web/core-components";
4
4
  import * as c from "yup";
5
5
  import Ht from "sanitize-html";
@@ -9,11 +9,11 @@ const Bt = async ({
9
9
  ClientCartProvider: t,
10
10
  ...r
11
11
  }) => {
12
- const { data: n } = await F(
12
+ const { data: n } = await $(
13
13
  "mini_cart",
14
14
  r
15
15
  );
16
- return /* @__PURE__ */ N(t, { ...n ? Array.isArray(n) ? { data: n[0] } : { data: n } : {}, children: e });
16
+ return /* @__PURE__ */ T(t, { ...n ? Array.isArray(n) ? { data: n[0] } : { data: n } : {}, children: e });
17
17
  }, zt = ({
18
18
  slug: e,
19
19
  data: t,
@@ -32,8 +32,8 @@ const Bt = async ({
32
32
  return ((v = (w = u.config) == null ? void 0 : w.responsive) == null ? void 0 : v.deviceType) === "mobile" && ((_ = (y = u.config) == null ? void 0 : y.seo) == null ? void 0 : _.slug) === e;
33
33
  }
34
34
  ), g = d == null ? void 0 : d.config.responsive.gapCustom, s = d == null ? void 0 : d.config.responsive.gapSections;
35
- return /* @__PURE__ */ me(J, { children: [
36
- /* @__PURE__ */ N(
35
+ return /* @__PURE__ */ me(W, { children: [
36
+ /* @__PURE__ */ T(
37
37
  le.Column,
38
38
  {
39
39
  gap: l && i ? i : n,
@@ -41,10 +41,10 @@ const Bt = async ({
41
41
  se["responsive-desktop-flex"],
42
42
  "utils-column-modifier"
43
43
  ),
44
- children: /* @__PURE__ */ N(r, { data: (o == null ? void 0 : o.sections) ?? [], identifyWhoIsFirst: a })
44
+ children: /* @__PURE__ */ T(r, { data: (o == null ? void 0 : o.sections) ?? [], identifyWhoIsFirst: a })
45
45
  }
46
46
  ),
47
- /* @__PURE__ */ N(
47
+ /* @__PURE__ */ T(
48
48
  le.Column,
49
49
  {
50
50
  gap: g && s ? s : n,
@@ -52,7 +52,7 @@ const Bt = async ({
52
52
  se["responsive-mobile-flex"],
53
53
  "utils-column-modifier"
54
54
  ),
55
- children: /* @__PURE__ */ N(r, { data: (d == null ? void 0 : d.sections) ?? [], identifyWhoIsFirst: a })
55
+ children: /* @__PURE__ */ T(r, { data: (d == null ? void 0 : d.sections) ?? [], identifyWhoIsFirst: a })
56
56
  }
57
57
  )
58
58
  ] });
@@ -63,11 +63,11 @@ const Bt = async ({
63
63
  identifyWhoIsFirst: n = !1,
64
64
  ...a
65
65
  }) => {
66
- const { data: o } = await F(
66
+ const { data: o } = await $(
67
67
  "common_page",
68
68
  a
69
69
  );
70
- return !o || !Array.isArray(o) || o.length === 0 ? null : /* @__PURE__ */ N(
70
+ return !o || !Array.isArray(o) || o.length === 0 ? null : /* @__PURE__ */ T(
71
71
  zt,
72
72
  {
73
73
  data: o,
@@ -82,11 +82,11 @@ const Bt = async ({
82
82
  ClientFlagsAndTagsProvider: t,
83
83
  ...r
84
84
  }) => {
85
- const { data: n } = await F(
85
+ const { data: n } = await $(
86
86
  "flags_and_tags",
87
87
  r
88
88
  );
89
- return !n || !Array.isArray(n) ? null : /* @__PURE__ */ N(t, { data: n[0], children: e });
89
+ return !n || !Array.isArray(n) ? null : /* @__PURE__ */ T(t, { data: n[0], children: e });
90
90
  }, Wt = async ({
91
91
  className: e,
92
92
  PAYMENT_FLAGS_DICTIONARY: t,
@@ -99,8 +99,8 @@ const Bt = async ({
99
99
  hasFooterStamps: d,
100
100
  ...g
101
101
  }) => {
102
- var v, y, _, p, b, m, h, f, E, q, I;
103
- const { data: s } = await F("footer", g), u = Array.isArray(s) && ((v = s[0]) == null ? void 0 : v.type) === "footer" ? s[0] : null, w = {
102
+ var v, y, _, p, b, m, h, f, E, N, I;
103
+ const { data: s } = await $("footer", g), u = Array.isArray(s) && ((v = s[0]) == null ? void 0 : v.type) === "footer" ? s[0] : null, w = {
104
104
  ...(y = u == null ? void 0 : u.paymentInfo) == null ? void 0 : y.paymentInfo,
105
105
  acceptedFlags: Array.isArray(
106
106
  (_ = u == null ? void 0 : u.paymentInfo) == null ? void 0 : _.paymentInfo.acceptedFlags
@@ -108,7 +108,7 @@ const Bt = async ({
108
108
  (R) => t[R]
109
109
  ) : []
110
110
  };
111
- return u ? /* @__PURE__ */ N(
111
+ return u ? /* @__PURE__ */ T(
112
112
  l,
113
113
  {
114
114
  className: e,
@@ -119,10 +119,10 @@ const Bt = async ({
119
119
  hasFooterStamps: d,
120
120
  adornment: {
121
121
  ...(E = (f = u.supportInfo) == null ? void 0 : f.supportInfo) != null && E.content ? {
122
- bottom: /* @__PURE__ */ N(
122
+ bottom: /* @__PURE__ */ T(
123
123
  i,
124
124
  {
125
- content: (I = (q = u.supportInfo) == null ? void 0 : q.supportInfo) == null ? void 0 : I.content,
125
+ content: (I = (N = u.supportInfo) == null ? void 0 : N.supportInfo) == null ? void 0 : I.content,
126
126
  CONSTANTS: {
127
127
  ICONS: a,
128
128
  PAYMENT_FLAGS: r,
@@ -131,7 +131,7 @@ const Bt = async ({
131
131
  }
132
132
  )
133
133
  } : {},
134
- ...u.sections.length ? { top: /* @__PURE__ */ N(o, { data: u.sections }) } : {}
134
+ ...u.sections.length ? { top: /* @__PURE__ */ T(o, { data: u.sections }) } : {}
135
135
  },
136
136
  LEGAL_INFORMATION_TEXT: n,
137
137
  ICONS: a
@@ -143,11 +143,11 @@ const Bt = async ({
143
143
  ...r
144
144
  }) => {
145
145
  var o, l, i, d, g, s;
146
- const { data: n } = await F(
146
+ const { data: n } = await $(
147
147
  "header",
148
148
  r
149
149
  ), a = Array.isArray(n) ? n[0] : void 0;
150
- return /* @__PURE__ */ N(
150
+ return /* @__PURE__ */ T(
151
151
  t,
152
152
  {
153
153
  headerData: {
@@ -194,14 +194,14 @@ const Bt = async ({
194
194
  className: r,
195
195
  ...n
196
196
  }) => {
197
- const { data: a } = await F(
197
+ const { data: a } = await $(
198
198
  "helpbutton",
199
199
  n
200
200
  );
201
201
  if (!a || !Array.isArray(a) || a.length === 0)
202
202
  return null;
203
203
  const o = Xt(a);
204
- return /* @__PURE__ */ N(
204
+ return /* @__PURE__ */ T(
205
205
  e,
206
206
  {
207
207
  data: o,
@@ -215,16 +215,16 @@ const Bt = async ({
215
215
  ...r
216
216
  }) => {
217
217
  var d;
218
- const { data: n } = await F(
218
+ const { data: n } = await $(
219
219
  "lp_cadastro",
220
220
  r
221
221
  );
222
222
  if (!n || !Array.isArray(n) || n.length === 0)
223
223
  return null;
224
224
  const [a] = n, o = (a == null ? void 0 : a.sections) || [], l = ((d = a == null ? void 0 : a.content) == null ? void 0 : d.conteúdo) || {}, i = a == null ? void 0 : a.sections;
225
- return /* @__PURE__ */ me(J, { children: [
226
- /* @__PURE__ */ N(t, { sections: o, content: l }),
227
- /* @__PURE__ */ N(e, { data: i })
225
+ return /* @__PURE__ */ me(W, { children: [
226
+ /* @__PURE__ */ T(t, { sections: o, content: l }),
227
+ /* @__PURE__ */ T(e, { data: i })
228
228
  ] });
229
229
  }, Zt = async ({
230
230
  LPLOJAS_TEMPLATE_RETURN_BUTTON: e,
@@ -235,8 +235,8 @@ const Bt = async ({
235
235
  ...o
236
236
  }) => {
237
237
  var g;
238
- const { data: l } = await F("lp_lojas", o), d = (g = (Array.isArray(l) ? l : [])[0]) == null ? void 0 : g.config.config;
239
- return /* @__PURE__ */ N(
238
+ const { data: l } = await $("lp_lojas", o), d = (g = (Array.isArray(l) ? l : [])[0]) == null ? void 0 : g.config.config;
239
+ return /* @__PURE__ */ T(
240
240
  a,
241
241
  {
242
242
  entity: r,
@@ -248,6 +248,23 @@ const Bt = async ({
248
248
  }
249
249
  );
250
250
  }, Yt = async ({
251
+ ERROR_TEMPLATE_RETURN_BUTTON: e,
252
+ ErrorTemplate: t,
253
+ ...r
254
+ }) => {
255
+ var o;
256
+ const { data: n } = await $(
257
+ "notfound_page",
258
+ r
259
+ ), a = Array.isArray(n) ? (o = n[0]) == null ? void 0 : o.config.config : null;
260
+ return n && a ? /* @__PURE__ */ T(
261
+ t,
262
+ {
263
+ data: a,
264
+ ERROR_TEMPLATE_RETURN_BUTTON: e
265
+ }
266
+ ) : /* @__PURE__ */ T(W, {});
267
+ }, er = async ({
251
268
  children: e,
252
269
  productId: t,
253
270
  COMMON_PAGE_COLUMN_GAP: r,
@@ -255,11 +272,11 @@ const Bt = async ({
255
272
  PDPContentProvider: a,
256
273
  ...o
257
274
  }) => {
258
- const { data: l } = await F(
275
+ const { data: l } = await $(
259
276
  "product_page",
260
277
  o
261
278
  );
262
- return !l || !Array.isArray(l) || l.length === 0 ? null : /* @__PURE__ */ N(
279
+ return !l || !Array.isArray(l) || l.length === 0 ? null : /* @__PURE__ */ T(
263
280
  a,
264
281
  {
265
282
  data: l[0],
@@ -269,9 +286,9 @@ const Bt = async ({
269
286
  children: e
270
287
  }
271
288
  );
272
- }, er = {
289
+ }, tr = {
273
290
  "column-modifier": "_column-modifier_1tqap_1"
274
- }, tr = async ({
291
+ }, rr = async ({
275
292
  className: e,
276
293
  children: t,
277
294
  slug: r,
@@ -280,7 +297,7 @@ const Bt = async ({
280
297
  PLPContentProvider: o,
281
298
  ...l
282
299
  }) => {
283
- const { data: i } = await F(
300
+ const { data: i } = await $(
284
301
  "categories_page",
285
302
  l
286
303
  );
@@ -307,18 +324,18 @@ const Bt = async ({
307
324
  return ((y = v.config) == null ? void 0 : y.seo.slug) === "default" && ((p = (_ = v.config) == null ? void 0 : _.responsive) == null ? void 0 : p.deviceType) === "mobile";
308
325
  }
309
326
  ), w = Array.isArray(e) ? e : [e];
310
- return /* @__PURE__ */ me(J, { children: [
311
- /* @__PURE__ */ N(
327
+ return /* @__PURE__ */ me(W, { children: [
328
+ /* @__PURE__ */ T(
312
329
  le.Column,
313
330
  {
314
331
  className: ce.classNameConcat(
315
332
  se["responsive-desktop-flex"],
316
- [er["column-modifier"], ...w]
333
+ [tr["column-modifier"], ...w]
317
334
  ),
318
335
  style: {
319
336
  minHeight: "100vh"
320
337
  },
321
- children: /* @__PURE__ */ N(
338
+ children: /* @__PURE__ */ T(
322
339
  o,
323
340
  {
324
341
  data: d ?? s,
@@ -330,7 +347,7 @@ const Bt = async ({
330
347
  )
331
348
  }
332
349
  ),
333
- /* @__PURE__ */ N(le.Column, { className: ce.classNameConcat(se["responsive-mobile-flex"], e), children: /* @__PURE__ */ N(
350
+ /* @__PURE__ */ T(le.Column, { className: ce.classNameConcat(se["responsive-mobile-flex"], e), children: /* @__PURE__ */ T(
334
351
  o,
335
352
  {
336
353
  data: g ?? u,
@@ -341,9 +358,9 @@ const Bt = async ({
341
358
  }
342
359
  ) })
343
360
  ] });
344
- }, rr = async ({ slug: e, ...t }) => {
361
+ }, nr = async ({ slug: e, ...t }) => {
345
362
  var l, i, d;
346
- const { data: r } = await F(
363
+ const { data: r } = await $(
347
364
  "redirect_to_search",
348
365
  t
349
366
  );
@@ -381,9 +398,9 @@ const Bt = async ({
381
398
  filters: null,
382
399
  sort: null
383
400
  };
384
- }, nr = async ({ slug: e, ...t }) => {
401
+ }, ar = async ({ slug: e, ...t }) => {
385
402
  var l, i, d;
386
- const { data: r } = await F(
403
+ const { data: r } = await $(
387
404
  "redirect_to_search",
388
405
  t
389
406
  );
@@ -403,22 +420,22 @@ const Bt = async ({
403
420
  title: o.pageTitle,
404
421
  description: o.pageDescription
405
422
  } : null;
406
- }, ar = async ({
423
+ }, ir = async ({
407
424
  slug: e,
408
425
  Politicas: t,
409
426
  SectionZone: r,
410
427
  oneTrust: n,
411
428
  ...a
412
429
  }) => {
413
- const { data: o } = await F(
430
+ const { data: o } = await $(
414
431
  "policy_page",
415
432
  a
416
- ), { data: l } = await F(
433
+ ), { data: l } = await $(
417
434
  "policy_tab",
418
435
  a
419
436
  ), i = Array.isArray(o) ? o : null, d = Array.isArray(l) ? l : null, g = i ? i[0].sections : null;
420
- return !i || !d ? null : /* @__PURE__ */ me(J, { children: [
421
- /* @__PURE__ */ N(
437
+ return !i || !d ? null : /* @__PURE__ */ me(W, { children: [
438
+ /* @__PURE__ */ T(
422
439
  t,
423
440
  {
424
441
  slug: e,
@@ -427,19 +444,19 @@ const Bt = async ({
427
444
  oneTrust: n
428
445
  }
429
446
  ),
430
- g && /* @__PURE__ */ N(r, { data: g })
447
+ g && /* @__PURE__ */ T(r, { data: g })
431
448
  ] });
432
- }, ir = async ({
449
+ }, or = async ({
433
450
  children: e,
434
451
  SectionZone: t,
435
452
  className: r,
436
453
  ...n
437
454
  }) => {
438
- const { data: a } = await F(
455
+ const { data: a } = await $(
439
456
  "search_page",
440
457
  n
441
458
  );
442
- return Array.isArray(a) && a.length > 0 ? /* @__PURE__ */ N(
459
+ return Array.isArray(a) && a.length > 0 ? /* @__PURE__ */ T(
443
460
  _t,
444
461
  {
445
462
  data: a,
@@ -447,33 +464,34 @@ const Bt = async ({
447
464
  className: r,
448
465
  children: e
449
466
  }
450
- ) : /* @__PURE__ */ N(J, { children: "children" });
451
- }, or = async ({
467
+ ) : /* @__PURE__ */ T(W, { children: "children" });
468
+ }, sr = async ({
452
469
  ClientTipbarContent: e,
453
470
  ...t
454
471
  }) => {
455
- const { data: r } = await F(
472
+ const { data: r } = await $(
456
473
  "tipbar",
457
474
  t
458
475
  );
459
- return /* @__PURE__ */ N(e, { data: r });
460
- }, sr = {
476
+ return /* @__PURE__ */ T(e, { data: r });
477
+ }, lr = {
461
478
  CommonPageContent: Gt,
462
479
  CartContent: Bt,
463
480
  FlagsAndTagsContent: Vt,
464
481
  HeaderContent: Qt,
465
- TipbarContent: or,
482
+ TipbarContent: sr,
466
483
  FooterContent: Wt,
467
- PLPContent: tr,
468
- PDPContent: Yt,
469
- getRedirectData: rr,
470
- getPLPSynteticMetaData: nr,
471
- SearchPageContent: ir,
484
+ PLPContent: rr,
485
+ PDPContent: er,
486
+ getRedirectData: nr,
487
+ getPLPSynteticMetaData: ar,
488
+ SearchPageContent: or,
472
489
  HelpButtonContent: Kt,
473
490
  LPCadastroContent: Jt,
474
491
  LPLojasContent: Zt,
475
- PolicyPageContent: ar
476
- }, la = { Components: sr }, O = async (e, t = {}) => {
492
+ PolicyPageContent: ir,
493
+ NotFoundContent: Yt
494
+ }, ua = { Components: lr }, O = async (e, t = {}) => {
477
495
  const { method: r = "GET", body: n, headers: a = {}, priority: o = "auto", cache: l = "default" } = t;
478
496
  return fetch(e, {
479
497
  method: r,
@@ -489,17 +507,17 @@ const Bt = async ({
489
507
  }).then((i) => i.json()).catch((i) => {
490
508
  console.error("[ERROR FETCH VTEX]", i);
491
509
  });
492
- }, X = /* @__PURE__ */ new Map();
493
- async function lr(e, t = {}) {
510
+ }, K = /* @__PURE__ */ new Map();
511
+ async function cr(e, t = {}) {
494
512
  var r;
495
513
  try {
496
514
  const { abort: n = !1 } = t, a = new AbortController();
497
- n && (X.has(e) && ((r = X.get(e)) == null || r.abort(), X.delete(e)), X.set(e, a));
515
+ n && (K.has(e) && ((r = K.get(e)) == null || r.abort(), K.delete(e)), K.set(e, a));
498
516
  const o = O(e, {
499
517
  ...t,
500
518
  ...n ? { signal: a.signal } : {}
501
519
  });
502
- return n && X.delete(e), o;
520
+ return n && K.delete(e), o;
503
521
  } catch (n) {
504
522
  if (n.name === "AbortError") {
505
523
  console.log(`[REQUEST CANCELLED]: ${e}`);
@@ -508,16 +526,16 @@ async function lr(e, t = {}) {
508
526
  throw console.error(`[ERROR API]: ${n.message}`), n;
509
527
  }
510
528
  }
511
- const cr = c.object({
529
+ const ur = c.object({
512
530
  country: c.string().length(3, "Country code must be 3 characters long").required("Country is required"),
513
531
  postalCode: c.string().nullable()
514
532
  });
515
- async function ur({ apiUrl: e, body: t, fetchOptions: r }) {
533
+ async function dr({ apiUrl: e, body: t, fetchOptions: r }) {
516
534
  if (!t) {
517
535
  console.error("[ERROR FETCHING] Body is required");
518
536
  return;
519
537
  }
520
- await cr.validate(t);
538
+ await ur.validate(t);
521
539
  const { country: n, postalCode: a } = t;
522
540
  return await O(
523
541
  `${e}/api/checkout/pub/postal-code/${n}/${a}`,
@@ -528,7 +546,7 @@ async function ur({ apiUrl: e, body: t, fetchOptions: r }) {
528
546
  }
529
547
  );
530
548
  }
531
- const dr = c.object({
549
+ const pr = c.object({
532
550
  orderFormId: c.string().nullable(),
533
551
  sellerCode: c.string().nullable(),
534
552
  sellerName: c.string().nullable()
@@ -542,7 +560,7 @@ async function Ge({
542
560
  console.error("[ERROR FETCHING] Body is required");
543
561
  return;
544
562
  }
545
- await dr.validate(t);
563
+ await pr.validate(t);
546
564
  const { orderFormId: n, sellerCode: a, sellerName: o } = t, l = a ? `${a.trim()} - ${o}` : null;
547
565
  return O(
548
566
  `${e}/api/checkout/pub/orderForm/${n}/attachments/openTextField`,
@@ -555,7 +573,7 @@ async function Ge({
555
573
  }
556
574
  );
557
575
  }
558
- const pr = c.object({
576
+ const mr = c.object({
559
577
  orderFormId: c.string().nullable(),
560
578
  sellerCode: c.string().nullable(),
561
579
  marketingData: c.object()
@@ -570,7 +588,7 @@ async function Ve({
570
588
  console.error("[ERROR FETCHING] Body is required");
571
589
  return;
572
590
  }
573
- await pr.validate(t);
591
+ await mr.validate(t);
574
592
  const { orderFormId: a, sellerCode: o, marketingData: l } = t, i = o ? {
575
593
  utmCampaign: o ? o.toUpperCase() : "",
576
594
  utmiCampaign: o ? `${r.VENDOR_CODE}` : "semcodigo"
@@ -587,17 +605,17 @@ async function Ve({
587
605
  }
588
606
  );
589
607
  }
590
- const mr = c.object({
608
+ const hr = c.object({
591
609
  orderFormId: c.string().nullable(),
592
610
  sellerCode: c.string().nullable(),
593
611
  sellerName: c.string().nullable()
594
612
  });
595
- async function hr({ apiUrl: e, body: t, fetchOptions: r, extraData: n }) {
613
+ async function fr({ apiUrl: e, body: t, fetchOptions: r, extraData: n }) {
596
614
  if (!t) {
597
615
  console.error("[ERROR FETCHING] Body is required");
598
616
  return;
599
617
  }
600
- await mr.validate(t);
618
+ await hr.validate(t);
601
619
  const a = await Ge({ apiUrl: e, body: t, fetchOptions: r });
602
620
  return Ve({
603
621
  apiUrl: e,
@@ -609,11 +627,11 @@ async function hr({ apiUrl: e, body: t, fetchOptions: r, extraData: n }) {
609
627
  fetchOptions: r
610
628
  });
611
629
  }
612
- const fr = c.object({
630
+ const gr = c.object({
613
631
  orderFormId: c.string().nullable(),
614
632
  coupon: c.string().nullable()
615
633
  });
616
- async function gr({
634
+ async function br({
617
635
  apiUrl: e,
618
636
  body: t,
619
637
  fetchOptions: r
@@ -622,7 +640,7 @@ async function gr({
622
640
  console.error("[ERROR FETCHING] Body is required");
623
641
  return;
624
642
  }
625
- await fr.validate(t);
643
+ await gr.validate(t);
626
644
  const { coupon: n = "", orderFormId: a } = t;
627
645
  return O(
628
646
  `${e}/api/checkout/pub/orderForm/${a}/coupons`,
@@ -633,12 +651,12 @@ async function gr({
633
651
  }
634
652
  );
635
653
  }
636
- const br = c.object({
654
+ const wr = c.object({
637
655
  appId: c.string().required("App ID is required"),
638
656
  orderFormId: c.string().nullable(),
639
657
  key: c.array().of(c.string())
640
658
  });
641
- async function wr({
659
+ async function vr({
642
660
  apiUrl: e,
643
661
  body: t,
644
662
  fetchOptions: r
@@ -647,7 +665,7 @@ async function wr({
647
665
  console.error("[ERROR FETCHING] Body is required");
648
666
  return;
649
667
  }
650
- await br.validate(t);
668
+ await wr.validate(t);
651
669
  const { appId: n = "faststore", orderFormId: a, key: o } = t;
652
670
  return O(
653
671
  `${e}/api/checkout/pub/orderForm/${a}/customData/${n}/${o}`,
@@ -657,23 +675,23 @@ async function wr({
657
675
  }
658
676
  );
659
677
  }
660
- const vr = c.object().shape({
678
+ const yr = c.object().shape({
661
679
  name: c.string().required("Attachment name is required"),
662
680
  content: c.object().nullable()
663
681
  });
664
682
  var Me;
665
- const yr = c.object().shape({
666
- attachments: (Me = c.array().of(vr)) == null ? void 0 : Me.nullable(),
683
+ const _r = c.object().shape({
684
+ attachments: (Me = c.array().of(yr)) == null ? void 0 : Me.nullable(),
667
685
  id: c.string().required("ID of SKU is required"),
668
686
  index: c.number().integer().nullable(),
669
687
  quantity: c.number().integer().nullable(),
670
688
  seller: c.string().required("Seller is required"),
671
689
  price: c.number().integer()
672
- }), _r = c.object({
690
+ }), Rr = c.object({
673
691
  orderFormId: c.string().required("OrderFormId is required"),
674
- orderItems: c.array().of(yr)
692
+ orderItems: c.array().of(_r)
675
693
  });
676
- async function Rr({
694
+ async function Ir({
677
695
  apiUrl: e,
678
696
  body: t,
679
697
  fetchOptions: r
@@ -682,7 +700,7 @@ async function Rr({
682
700
  console.error("[ERROR FETCHING] Body is required");
683
701
  return;
684
702
  }
685
- await _r.validate(t);
703
+ await Rr.validate(t);
686
704
  const { orderFormId: n, orderItems: a } = t;
687
705
  return O(
688
706
  `${e}/api/checkout/pub/orderForm/${n}/items`,
@@ -693,10 +711,10 @@ async function Rr({
693
711
  }
694
712
  );
695
713
  }
696
- const Ir = c.object({
714
+ const Pr = c.object({
697
715
  orderFormId: c.string().nullable()
698
716
  });
699
- async function Pr({
717
+ async function xr({
700
718
  apiUrl: e,
701
719
  body: t,
702
720
  fetchOptions: r
@@ -705,7 +723,7 @@ async function Pr({
705
723
  console.error("[ERROR FETCHING] Body is required");
706
724
  return;
707
725
  }
708
- await Ir.validate(t);
726
+ await Pr.validate(t);
709
727
  const { orderFormId: n } = t;
710
728
  return O(
711
729
  `${e}/api/checkout/pub/orderForm/${n}/items/removeAll`,
@@ -715,23 +733,23 @@ async function Pr({
715
733
  }
716
734
  );
717
735
  }
718
- const xr = c.object().shape({
736
+ const Sr = c.object().shape({
719
737
  name: c.string().required("Attachment name is required"),
720
738
  content: c.object().nullable()
721
739
  });
722
740
  var Be;
723
- const Sr = c.object().shape({
724
- attachments: (Be = c.array().of(xr)) == null ? void 0 : Be.nullable(),
741
+ const Cr = c.object().shape({
742
+ attachments: (Be = c.array().of(Sr)) == null ? void 0 : Be.nullable(),
725
743
  id: c.string().required("ID of SKU is required"),
726
744
  index: c.number().integer().nullable(),
727
745
  quantity: c.number().integer().nullable(),
728
746
  seller: c.string().required("Seller is required"),
729
747
  price: c.number().integer()
730
- }), Cr = c.object({
748
+ }), kr = c.object({
731
749
  orderFormId: c.string().nullable(),
732
- orderItems: c.array().of(Sr)
750
+ orderItems: c.array().of(Cr)
733
751
  });
734
- async function kr({
752
+ async function Er({
735
753
  apiUrl: e,
736
754
  body: t,
737
755
  fetchOptions: r
@@ -740,7 +758,7 @@ async function kr({
740
758
  console.error("[ERROR FETCHING] Body is required");
741
759
  return;
742
760
  }
743
- await Cr.validate(t);
761
+ await kr.validate(t);
744
762
  const { orderFormId: n, orderItems: a } = t;
745
763
  return O(
746
764
  `${e}/api/checkout/pub/orderForm/${n}/items/update`,
@@ -751,10 +769,10 @@ async function kr({
751
769
  }
752
770
  );
753
771
  }
754
- const Er = c.object({
772
+ const Ar = c.object({
755
773
  orderFormId: c.string().nullable()
756
774
  });
757
- async function Ar({
775
+ async function Or({
758
776
  apiUrl: e,
759
777
  body: t,
760
778
  fetchOptions: r
@@ -763,7 +781,7 @@ async function Ar({
763
781
  console.error("[ERROR FETCHING] Body is required");
764
782
  return;
765
783
  }
766
- await Er.validate(t);
784
+ await Ar.validate(t);
767
785
  const { orderFormId: n } = t;
768
786
  return O(
769
787
  `${e}/api/checkout/pub/orderForm/${n}/messages/clear`,
@@ -773,19 +791,19 @@ async function Ar({
773
791
  }
774
792
  );
775
793
  }
776
- const Or = c.object({
794
+ const Tr = c.object({
777
795
  id: c.string().nullable(),
778
796
  // id offering
779
797
  itemIndex: c.number().nullable(),
780
798
  orderFormId: c.string().nullable(),
781
799
  remove: c.boolean().nullable()
782
800
  });
783
- async function Tr({ apiUrl: e, body: t, fetchOptions: r }) {
801
+ async function qr({ apiUrl: e, body: t, fetchOptions: r }) {
784
802
  if (!t) {
785
803
  console.error("[ERROR FETCHING] Body is required");
786
804
  return;
787
805
  }
788
- await Or.validate(t);
806
+ await Tr.validate(t);
789
807
  const { itemIndex: n, orderFormId: a, id: o, remove: l } = t, i = l ? `/${o}/remove` : "", d = `${e}/api/checkout/pub/orderForm/${a}/items/${n}/offerings${i}`;
790
808
  return O(d, {
791
809
  method: "POST",
@@ -793,10 +811,10 @@ async function Tr({ apiUrl: e, body: t, fetchOptions: r }) {
793
811
  ...r
794
812
  });
795
813
  }
796
- const qr = c.object({
814
+ const Nr = c.object({
797
815
  orderFormId: c.string().nullable()
798
816
  });
799
- async function Nr({
817
+ async function jr({
800
818
  apiUrl: e,
801
819
  body: t,
802
820
  fetchOptions: r,
@@ -807,13 +825,13 @@ async function Nr({
807
825
  console.error("[ERROR FETCHING] Body is required");
808
826
  return;
809
827
  }
810
- await qr.validate(t);
828
+ await Nr.validate(t);
811
829
  const a = new URLSearchParams({
812
830
  refreshOutdatedData: "true"
813
831
  }), o = t.orderFormId && ((l = n.orderFormPurchaseId) == null ? void 0 : l.value) !== t.orderFormId ? `${e}/api/checkout/pub/orderForm/${t.orderFormId}?${String(a)}` : `${e}/api/checkout/pub/orderForm`;
814
832
  return O(o, { method: "GET", ...r });
815
833
  }
816
- const jr = c.object({
834
+ const $r = c.object({
817
835
  orderFormId: c.string().nullable(),
818
836
  email: c.string().email().required(),
819
837
  firstName: c.string().required(),
@@ -831,7 +849,7 @@ async function Fr({
831
849
  console.error("[ERROR FETCHING] Body is required");
832
850
  return;
833
851
  }
834
- await jr.validate(t);
852
+ await $r.validate(t);
835
853
  const { orderFormId: n, ...a } = t;
836
854
  return O(
837
855
  `${e}/api/checkout/pub/orderForm/${n}/attachments/clientProfileData`,
@@ -842,10 +860,10 @@ async function Fr({
842
860
  }
843
861
  );
844
862
  }
845
- const $r = c.object({
863
+ const Lr = c.object({
846
864
  sellerCode: c.string().nullable()
847
865
  });
848
- async function Lr({
866
+ async function Dr({
849
867
  apiUrl: e,
850
868
  body: t,
851
869
  extraData: r,
@@ -855,7 +873,7 @@ async function Lr({
855
873
  console.error("[ERROR FETCHING] Body is required");
856
874
  return;
857
875
  }
858
- await $r.validate(t);
876
+ await Lr.validate(t);
859
877
  const { sellerCode: a = "" } = t;
860
878
  return O(
861
879
  `${e}/api/dataentities/${r.ENTITIES}/search?_fields=${r.FIELDS}&${r.FILTER}=${a}`,
@@ -868,12 +886,12 @@ async function Lr({
868
886
  }
869
887
  );
870
888
  }
871
- const Dr = c.object().shape({
889
+ const Ur = c.object().shape({
872
890
  country: c.string().length(3, "Country code must be 3 characters long").required("Country is required"),
873
891
  orderFormId: c.string().nullable(),
874
892
  postalCode: c.string().nullable()
875
893
  });
876
- async function Ur({
894
+ async function Hr({
877
895
  apiUrl: e,
878
896
  body: t,
879
897
  fetchOptions: r
@@ -882,7 +900,7 @@ async function Ur({
882
900
  console.error("[ERROR FETCHING] Body is required");
883
901
  return;
884
902
  }
885
- await Dr.validate(t);
903
+ await Ur.validate(t);
886
904
  const { country: n, orderFormId: a, postalCode: o } = t, l = o ? {
887
905
  address: {
888
906
  addressType: "residential",
@@ -902,7 +920,7 @@ async function Ur({
902
920
  }
903
921
  );
904
922
  }
905
- const Hr = c.object().shape({
923
+ const Mr = c.object().shape({
906
924
  orderFormId: c.string().nullable(),
907
925
  options: c.array().of(
908
926
  c.object().shape({
@@ -930,12 +948,12 @@ const Hr = c.object().shape({
930
948
  })
931
949
  )
932
950
  });
933
- async function Mr({ apiUrl: e, body: t, fetchOptions: r }) {
951
+ async function Br({ apiUrl: e, body: t, fetchOptions: r }) {
934
952
  if (!t) {
935
953
  console.error("[ERROR FETCHING] Body is required");
936
954
  return;
937
955
  }
938
- await Hr.validate(t);
956
+ await Mr.validate(t);
939
957
  const { orderFormId: n, options: a, selectedAddresses: o } = t;
940
958
  return O(
941
959
  `${e}/api/checkout/pub/orderForm/${n}/attachments/shippingData`,
@@ -950,7 +968,7 @@ async function Mr({ apiUrl: e, body: t, fetchOptions: r }) {
950
968
  }
951
969
  );
952
970
  }
953
- const Br = c.object({
971
+ const zr = c.object({
954
972
  country: c.string().length(3, "Country code must be 3 characters long").required("Country is required"),
955
973
  postalCode: c.string().nullable(),
956
974
  geoCoordinates: c.object().shape({
@@ -958,12 +976,12 @@ const Br = c.object({
958
976
  latitude: c.number().required()
959
977
  })
960
978
  });
961
- async function zr({ apiUrl: e, body: t, fetchOptions: r }) {
979
+ async function Gr({ apiUrl: e, body: t, fetchOptions: r }) {
962
980
  if (!t) {
963
981
  console.error("[ERROR FETCHING] Body is required");
964
982
  return;
965
983
  }
966
- await Br.validate(t);
984
+ await zr.validate(t);
967
985
  const { country: n = "", geoCoordinates: a, postalCode: o = "" } = t, l = new URLSearchParams({ country: String(n) });
968
986
  return o ? l.append("postalCode", o) : l.append(
969
987
  "geoCoordinates",
@@ -976,22 +994,22 @@ async function zr({ apiUrl: e, body: t, fetchOptions: r }) {
976
994
  }
977
995
  );
978
996
  }
979
- const Gr = c.object({
997
+ const Vr = c.object({
980
998
  id: c.string().required("ID of SKU is required"),
981
999
  quantity: c.number().integer().required("Quantity of item is required"),
982
1000
  seller: c.string()
983
- }), Vr = c.object({
984
- items: c.array().of(Gr),
1001
+ }), Wr = c.object({
1002
+ items: c.array().of(Vr),
985
1003
  country: c.string().length(3, "Country code must be 3 characters long").required("Country is required"),
986
1004
  postalCode: c.string().nullable(),
987
1005
  geoCoordinates: c.array().nullable().of(c.number()).length(2)
988
1006
  });
989
- async function Wr({ apiUrl: e, body: t, fetchOptions: r }) {
1007
+ async function Qr({ apiUrl: e, body: t, fetchOptions: r }) {
990
1008
  if (!t) {
991
1009
  console.error("[ERROR FETCHING] Body is required");
992
1010
  return;
993
1011
  }
994
- return await Vr.validate(t), O(
1012
+ return await Wr.validate(t), O(
995
1013
  `${e}/api/checkout/pub/orderForms/simulation`,
996
1014
  {
997
1015
  method: "POST",
@@ -1000,35 +1018,35 @@ async function Wr({ apiUrl: e, body: t, fetchOptions: r }) {
1000
1018
  }
1001
1019
  );
1002
1020
  }
1003
- const Qr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1021
+ const Xr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1004
1022
  __proto__: null,
1005
- getMasterDataSellerCode: Lr,
1006
- getOrderForm: Nr,
1007
- postOrderFormAddCoupon: gr,
1023
+ getMasterDataSellerCode: Dr,
1024
+ getOrderForm: jr,
1025
+ postOrderFormAddCoupon: br,
1008
1026
  postOrderFormAttachClientProfileData: Fr,
1009
- postOrderFormAttachOrderFormData: hr,
1010
- postOrderFormAttachShippingData: Ur,
1027
+ postOrderFormAttachOrderFormData: fr,
1028
+ postOrderFormAttachShippingData: Hr,
1011
1029
  postOrderFormAttachmentsMarketingData: Ve,
1012
1030
  postOrderFormAttachmentsOpenTextField: Ge,
1013
- postOrderFormClearMessages: Ar,
1014
- postOrderFormFreightSimulation: Wr,
1015
- postOrderFormItems: Rr,
1016
- postOrderFormRegion: zr,
1017
- postOrderFormRemoveAllItems: Pr,
1018
- postOrderFormUpdateItems: kr,
1019
- postOrderFormUpdateShippingData: Mr,
1020
- postOrderformAddress: ur,
1021
- putOrderFormCustomData: wr,
1022
- updateOrderFormOffering: Tr
1023
- }, Symbol.toStringTag, { value: "Module" })), Xr = c.object({
1031
+ postOrderFormClearMessages: Or,
1032
+ postOrderFormFreightSimulation: Qr,
1033
+ postOrderFormItems: Ir,
1034
+ postOrderFormRegion: Gr,
1035
+ postOrderFormRemoveAllItems: xr,
1036
+ postOrderFormUpdateItems: Er,
1037
+ postOrderFormUpdateShippingData: Br,
1038
+ postOrderformAddress: dr,
1039
+ putOrderFormCustomData: vr,
1040
+ updateOrderFormOffering: qr
1041
+ }, Symbol.toStringTag, { value: "Module" })), Kr = c.object({
1024
1042
  skuId: c.string()
1025
1043
  });
1026
- async function Kr({ apiUrl: e, body: t, fetchOptions: r }) {
1044
+ async function Jr({ apiUrl: e, body: t, fetchOptions: r }) {
1027
1045
  if (!t) {
1028
1046
  console.error("[ERROR FETCHING] Body is required");
1029
1047
  return;
1030
1048
  }
1031
- await Xr.validate(t);
1049
+ await Kr.validate(t);
1032
1050
  const { skuId: n } = t;
1033
1051
  return O(
1034
1052
  `${e}/api/catalog/pvt/stockkeepingunitkit?parentSkuId=${n}`,
@@ -1037,15 +1055,15 @@ async function Kr({ apiUrl: e, body: t, fetchOptions: r }) {
1037
1055
  }
1038
1056
  );
1039
1057
  }
1040
- const Jr = c.object({
1058
+ const Zr = c.object({
1041
1059
  ids: c.array().of(c.string().required("ID are required")).required("IDs are required")
1042
1060
  });
1043
- async function Zr({ apiUrl: e, body: t, fetchOptions: r }) {
1061
+ async function Yr({ apiUrl: e, body: t, fetchOptions: r }) {
1044
1062
  if (!t) {
1045
1063
  console.error("[ERROR FETCHING] Body is required");
1046
1064
  return;
1047
1065
  }
1048
- await Jr.validate(t);
1066
+ await Zr.validate(t);
1049
1067
  const { ids: n } = t;
1050
1068
  return O(
1051
1069
  `${e}/api/catalog_system/pub/products/search?fq=${n.map((a) => `productId:${a}`).join("&fq=")}`,
@@ -1054,15 +1072,15 @@ async function Zr({ apiUrl: e, body: t, fetchOptions: r }) {
1054
1072
  }
1055
1073
  );
1056
1074
  }
1057
- const Yr = c.object({
1075
+ const en = c.object({
1058
1076
  productId: c.number().required("Product ID is required")
1059
1077
  });
1060
- async function en({ apiUrl: e, body: t, fetchOptions: r }) {
1078
+ async function tn({ apiUrl: e, body: t, fetchOptions: r }) {
1061
1079
  if (!t) {
1062
1080
  console.error("[ERROR FETCHING] Body is required");
1063
1081
  return;
1064
1082
  }
1065
- await Yr.validate(t);
1083
+ await en.validate(t);
1066
1084
  const { productId: n } = t;
1067
1085
  return O(
1068
1086
  `${e}/api/catalog_system/pub/products/crossselling/similars/${n.toString()}`,
@@ -1071,15 +1089,28 @@ async function en({ apiUrl: e, body: t, fetchOptions: r }) {
1071
1089
  }
1072
1090
  );
1073
1091
  }
1074
- const tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1092
+ async function rn({
1093
+ apiUrl: e,
1094
+ params: t,
1095
+ fetchOptions: r
1096
+ }) {
1097
+ return t != null && t.slug ? O(
1098
+ `${e}/api/catalog_system/pub/portal/pagetype/${t.slug}`,
1099
+ {
1100
+ ...r
1101
+ }
1102
+ ) : (console.error("[ERROR FETCHING] slug is required"), null);
1103
+ }
1104
+ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1075
1105
  __proto__: null,
1076
- getCatalogKitProducts: Kr,
1077
- getCatalogProducts: Zr,
1078
- getCatalogSimilars: en
1079
- }, Symbol.toStringTag, { value: "Module" })), rn = c.object({
1106
+ getCatalogKitProducts: Jr,
1107
+ getCatalogPageInfo: rn,
1108
+ getCatalogProducts: Yr,
1109
+ getCatalogSimilars: tn
1110
+ }, Symbol.toStringTag, { value: "Module" })), an = c.object({
1080
1111
  query: c.string()
1081
1112
  });
1082
- async function nn({
1113
+ async function on({
1083
1114
  apiUrl: e,
1084
1115
  body: t,
1085
1116
  fetchOptions: r
@@ -1088,7 +1119,7 @@ async function nn({
1088
1119
  console.error("[ERROR FETCHING] Body is required");
1089
1120
  return;
1090
1121
  }
1091
- await rn.validate(t);
1122
+ await an.validate(t);
1092
1123
  const { query: n = "" } = t, a = new URLSearchParams({ query: n });
1093
1124
  return O(
1094
1125
  `${e}/api/io/_v/api/intelligent-search/autocomplete_suggestions?${a.toString()}`,
@@ -1097,10 +1128,10 @@ async function nn({
1097
1128
  }
1098
1129
  );
1099
1130
  }
1100
- const an = (e, t) => Ht(e, t), on = (e) => ({
1131
+ const sn = (e, t) => Ht(e, t), ln = (e) => ({
1101
1132
  ...e,
1102
- description: e.description ? an(e.description) : e.description
1103
- }), sn = ({
1133
+ description: e.description ? sn(e.description) : e.description
1134
+ }), cn = ({
1104
1135
  offer: e,
1105
1136
  seller: t,
1106
1137
  product: r
@@ -1110,8 +1141,8 @@ const an = (e, t) => Ht(e, t), on = (e) => ({
1110
1141
  seller: t
1111
1142
  }), We = (e, t) => ({
1112
1143
  ...e,
1113
- isVariantOf: on(t)
1114
- }), ln = (e) => e ? "https://schema.org/InStock" : "https://schema.org/OutOfStock", oe = (e) => e.AvailableQuantity > 0, De = (e) => e.spotPrice ?? 0, cn = (e) => e.Price ?? 0, Qe = (e, t) => oe(e) && !oe(t) ? -1 : !oe(e) && oe(t) ? 1 : De(e) - De(t), un = (e, t) => {
1144
+ isVariantOf: ln(t)
1145
+ }), un = (e) => e ? "https://schema.org/InStock" : "https://schema.org/OutOfStock", oe = (e) => e.AvailableQuantity > 0, De = (e) => e.spotPrice ?? 0, dn = (e) => e.Price ?? 0, Qe = (e, t) => oe(e) && !oe(t) ? -1 : !oe(e) && oe(t) ? 1 : De(e) - De(t), pn = (e, t) => {
1115
1146
  let r = 0;
1116
1147
  for (let n = 1; n < e.length; n++)
1117
1148
  t(e[r], e[n]) > 0 && (r = n);
@@ -1122,7 +1153,7 @@ const an = (e, t) => Ht(e, t), on = (e) => ({
1122
1153
  offer: a.commertialOffer,
1123
1154
  sku: n
1124
1155
  }))
1125
- ), r = un(
1156
+ ), r = pn(
1126
1157
  t,
1127
1158
  ({ offer: n }, { offer: a }) => Qe(n, a)
1128
1159
  );
@@ -1137,11 +1168,11 @@ const an = (e, t) => Ht(e, t), on = (e) => ({
1137
1168
  attachment: "ATTACHMENT",
1138
1169
  specification: "SPECIFICATION",
1139
1170
  attribute: "ATTRIBUTE"
1140
- }, dn = (e) => ({
1171
+ }, mn = (e) => ({
1141
1172
  name: e.name,
1142
1173
  value: e.content,
1143
1174
  valueReference: ue.attachment
1144
- }), pn = (e) => ({
1175
+ }), hn = (e) => ({
1145
1176
  propertyID: e.id,
1146
1177
  name: e.name,
1147
1178
  value: e.value,
@@ -1158,23 +1189,23 @@ const an = (e, t) => Ht(e, t), on = (e) => ({
1158
1189
  name: l,
1159
1190
  value: "",
1160
1191
  valueReference: ue.specification
1161
- }), a = Array.isArray(r) ? r.map(dn) : [], o = t ? t.map(pn) : [];
1192
+ }), a = Array.isArray(r) ? r.map(mn) : [], o = t ? t.map(hn) : [];
1162
1193
  return [
1163
1194
  ...n,
1164
1195
  ...a,
1165
1196
  ...o
1166
1197
  ];
1167
- }, Ue = "ÁÄÂÀÃÅČÇĆĎÉĚËÈÊẼĔȆÍÌÎÏŇÑÓÖÒÔÕØŘŔŠŤÚŮÜÙÛÝŸŽáäâàãåčçćďéěëèêẽĕȇíìîïňñóöòôõøðřŕšťúůüùûýÿžþÞĐđ߯a", mn = "AAAAAACCCDEEEEEEEEIIIINNOOOOOORRSTUUUUUYYZaaaaaacccdeeeeeeeeiiiinnooooooorrstuuuuuyyzbBDdBAa", hn = (e) => {
1198
+ }, Ue = "ÁÄÂÀÃÅČÇĆĎÉĚËÈÊẼĔȆÍÌÎÏŇÑÓÖÒÔÕØŘŔŠŤÚŮÜÙÛÝŸŽáäâàãåčçćďéěëèêẽĕȇíìîïňñóöòôõøðřŕšťúůüùûýÿžþÞĐđ߯a", fn = "AAAAAACCCDEEEEEEEEIIIINNOOOOOORRSTUUUUUYYZaaaaaacccdeeeeeeeeiiiinnooooooorrstuuuuuyyzbBDdBAa", gn = (e) => {
1168
1199
  let t = e.slice(0);
1169
1200
  for (let r = 0; r < Ue.length; r++)
1170
1201
  t = t.replace(
1171
1202
  new RegExp(Ue.charAt(r), "g"),
1172
- mn.charAt(r)
1203
+ fn.charAt(r)
1173
1204
  );
1174
1205
  return t;
1175
- }, fn = (e) => e.replace(/[·/_,:]/, "-"), Je = (e) => {
1206
+ }, bn = (e) => e.replace(/[·/_,:]/, "-"), Je = (e) => {
1176
1207
  const r = e.replace(/,/g, "").replace(/[*+~.()'"!:@&\[\]`/ %$#?{}|><=_^]/g, "-");
1177
- return fn(hn(r)).toLowerCase();
1208
+ return bn(gn(r)).toLowerCase();
1178
1209
  }, Ze = (e) => `/${e}/p`, Ye = (e) => {
1179
1210
  const t = Math.max(
1180
1211
  ...e.map((n) => n.NumberOfInstallments)
@@ -1191,7 +1222,7 @@ const an = (e, t) => Ht(e, t), on = (e) => ({
1191
1222
  listPrice: 0,
1192
1223
  sellerDefault: !1
1193
1224
  }, a = e.map(
1194
- (o) => sn({
1225
+ (o) => cn({
1195
1226
  offer: o.commertialOffer,
1196
1227
  seller: o,
1197
1228
  product: t
@@ -1199,7 +1230,7 @@ const an = (e, t) => Ht(e, t), on = (e) => ({
1199
1230
  ).sort(Qe).map((o) => (o.seller.sellerId === "1" && o.AvailableQuantity > 0 && (r.price = o.Price, r.listPrice = o.ListPrice, r.sellerDefault = !0), {
1200
1231
  availability: o.AvailableQuantity > 0,
1201
1232
  listPrice: o.ListPrice,
1202
- price: cn(o),
1233
+ price: dn(o),
1203
1234
  priceValidUntil: o.PriceValidUntil,
1204
1235
  priceCurrency: "BRL",
1205
1236
  installments: o.Installments,
@@ -1221,7 +1252,7 @@ const an = (e, t) => Ht(e, t), on = (e) => ({
1221
1252
  name: n,
1222
1253
  offers: {
1223
1254
  offers: a == null ? void 0 : a.map(({ sellerId: l, commertialOffer: i }) => ({
1224
- availability: ln(i.AvailableQuantity > 0),
1255
+ availability: un(i.AvailableQuantity > 0),
1225
1256
  listPrice: i.ListPrice,
1226
1257
  price: i.Price,
1227
1258
  quantity: i.AvailableQuantity,
@@ -1233,7 +1264,7 @@ const an = (e, t) => Ht(e, t), on = (e) => ({
1233
1264
  sku: r
1234
1265
  // slug: getSlug('', itemId), // getSlug('', itemId) que tipo de slug é esse?
1235
1266
  };
1236
- }, gn = (e) => {
1267
+ }, wn = (e) => {
1237
1268
  var R;
1238
1269
  const {
1239
1270
  attributes: t,
@@ -1257,7 +1288,7 @@ const an = (e, t) => Ht(e, t), on = (e) => ({
1257
1288
  properties: m,
1258
1289
  productId: h,
1259
1290
  productReference: f
1260
- } = n, E = u.slice().reverse(), q = et(i, e.isVariantOf), I = Ye(q.offers[0].installments);
1291
+ } = n, E = u.slice().reverse(), N = et(i, e.isVariantOf), I = Ye(N.offers[0].installments);
1261
1292
  return {
1262
1293
  sku: o,
1263
1294
  gtin: ((R = r == null ? void 0 : r[0]) == null ? void 0 : R.Value) ?? f ?? "",
@@ -1280,11 +1311,11 @@ const an = (e, t) => Ht(e, t), on = (e) => ({
1280
1311
  highlights: p
1281
1312
  },
1282
1313
  properties: m,
1283
- availability: { status: q.offers[0].availability },
1314
+ availability: { status: N.offers[0].availability },
1284
1315
  breadcrumbList: {
1285
1316
  itemListElement: [
1286
1317
  ...E.map((C, j) => {
1287
- const $ = C.split("/"), D = $[$.length - 2], U = $.map(Je).join("/");
1318
+ const F = C.split("/"), D = F[F.length - 2], U = F.map(Je).join("/");
1288
1319
  return {
1289
1320
  name: D,
1290
1321
  item: U,
@@ -1300,7 +1331,7 @@ const an = (e, t) => Ht(e, t), on = (e) => ({
1300
1331
  numberOfItems: u.length
1301
1332
  },
1302
1333
  image: Ke(a),
1303
- offers: q,
1334
+ offers: N,
1304
1335
  additionalProperty: de(g, t, []),
1305
1336
  isVariantOf: {
1306
1337
  productGroupID: n.productId,
@@ -1308,7 +1339,7 @@ const an = (e, t) => Ht(e, t), on = (e) => ({
1308
1339
  },
1309
1340
  installments: I
1310
1341
  };
1311
- }, bn = (e) => {
1342
+ }, vn = (e) => {
1312
1343
  var I;
1313
1344
  const {
1314
1345
  attributes: t,
@@ -1331,7 +1362,7 @@ const an = (e, t) => Ht(e, t), on = (e) => ({
1331
1362
  Coleção: b,
1332
1363
  "ID Coleção": m,
1333
1364
  productId: h
1334
- } = n, f = u.slice().reverse(), E = et(i, e.isVariantOf), q = Ye(E.offers[0].installments);
1365
+ } = n, f = u.slice().reverse(), E = et(i, e.isVariantOf), N = Ye(E.offers[0].installments);
1335
1366
  return {
1336
1367
  sku: o,
1337
1368
  gtin: ((I = r[0]) == null ? void 0 : I.Value) ?? "",
@@ -1360,9 +1391,9 @@ const an = (e, t) => Ht(e, t), on = (e) => ({
1360
1391
  breadcrumbList: {
1361
1392
  itemListElement: [
1362
1393
  ...f.map((R, C) => {
1363
- const j = R.split("/"), $ = j[j.length - 2], D = j.map(Je).join("/");
1394
+ const j = R.split("/"), F = j[j.length - 2], D = j.map(Je).join("/");
1364
1395
  return {
1365
- name: $,
1396
+ name: F,
1366
1397
  item: D,
1367
1398
  position: C + 1
1368
1399
  };
@@ -1381,9 +1412,9 @@ const an = (e, t) => Ht(e, t), on = (e) => ({
1381
1412
  isVariantOf: {
1382
1413
  productGroupID: n.productId,
1383
1414
  hasVariant: n.items.map((R) => {
1384
- const { variations: C } = R, j = C.map(($) => ({
1385
- name: $,
1386
- values: R[$]
1415
+ const { variations: C } = R, j = C.map((F) => ({
1416
+ name: F,
1417
+ values: R[F]
1387
1418
  }));
1388
1419
  return {
1389
1420
  ...tt(R),
@@ -1395,18 +1426,18 @@ const an = (e, t) => Ht(e, t), on = (e) => ({
1395
1426
  };
1396
1427
  })
1397
1428
  },
1398
- installments: q
1429
+ installments: N
1399
1430
  };
1400
- }, wn = c.array().of(c.object({
1431
+ }, yn = c.array().of(c.object({
1401
1432
  key: c.string().required(),
1402
1433
  value: c.string().required()
1403
1434
  })).required("Facets are required");
1404
- async function vn({ apiUrl: e, body: t, fetchOptions: r }) {
1435
+ async function _n({ apiUrl: e, body: t, fetchOptions: r }) {
1405
1436
  if (!t) {
1406
1437
  console.error("[ERROR FETCHING] Body is required");
1407
1438
  return;
1408
1439
  }
1409
- await wn.validate(t);
1440
+ await yn.validate(t);
1410
1441
  const n = new URLSearchParams({}), a = t.map(({ key: l, value: i }) => `${l}/${i}`).join("/");
1411
1442
  Rt(t, n);
1412
1443
  const o = `${e}/api/catalog_system/pub/products/crossselling/${a}`;
@@ -1417,7 +1448,7 @@ async function vn({ apiUrl: e, body: t, fetchOptions: r }) {
1417
1448
  const g = Xe(d.items);
1418
1449
  return g && We(g, d);
1419
1450
  }).filter((d) => !!d).map((d) => ({
1420
- node: bn(d)
1451
+ node: vn(d)
1421
1452
  })));
1422
1453
  }
1423
1454
  const rt = ({
@@ -1448,7 +1479,7 @@ const rt = ({
1448
1479
  });
1449
1480
  s !== void 0 && w.append("hideUnavailableItems", s.toString());
1450
1481
  const v = d.map((y) => `${y.key}/${y.value}`).join("/") ?? "";
1451
- return lr(
1482
+ return cr(
1452
1483
  `${e}/api/io/_v/api/intelligent-search/${g}/${v}?${w.toString()}`,
1453
1484
  {
1454
1485
  headers: {
@@ -1459,7 +1490,11 @@ const rt = ({
1459
1490
  }
1460
1491
  );
1461
1492
  };
1462
- async function yn({ body: e, extraData: t, ...r }) {
1493
+ async function Rn({
1494
+ body: e,
1495
+ extraData: t,
1496
+ ...r
1497
+ }) {
1463
1498
  if (!e) {
1464
1499
  console.error("[ERROR FETCHING] Body is required");
1465
1500
  return;
@@ -1474,10 +1509,7 @@ async function yn({ body: e, extraData: t, ...r }) {
1474
1509
  }), a = (n == null ? void 0 : n.products.map((i) => {
1475
1510
  const d = Xe(i.items);
1476
1511
  return d && We(d, i);
1477
- }).filter((i) => !!i)) ?? [], {
1478
- pagination: o,
1479
- recordsFiltered: l
1480
- } = n;
1512
+ }).filter((i) => !!i)) ?? [], { pagination: o, recordsFiltered: l } = n;
1481
1513
  return {
1482
1514
  data: {
1483
1515
  pagination: {
@@ -1489,13 +1521,13 @@ async function yn({ body: e, extraData: t, ...r }) {
1489
1521
  total: o.count
1490
1522
  },
1491
1523
  products: a.map((i, d) => ({
1492
- node: gn(i),
1524
+ node: wn(i),
1493
1525
  cursor: d.toString()
1494
1526
  }))
1495
1527
  }
1496
1528
  };
1497
1529
  }
1498
- async function _n({ body: e, extraData: t, ...r }) {
1530
+ async function In({ body: e, extraData: t, ...r }) {
1499
1531
  if (!e) {
1500
1532
  console.error("[ERROR FETCHING] Body is required");
1501
1533
  return;
@@ -1515,16 +1547,16 @@ async function _n({ body: e, extraData: t, ...r }) {
1515
1547
  }
1516
1548
  };
1517
1549
  }
1518
- const Rn = c.object({
1550
+ const Pn = c.object({
1519
1551
  query: c.string().optional(),
1520
1552
  locale: c.string().optional()
1521
1553
  });
1522
- async function In({ apiUrl: e, body: t, fetchOptions: r }) {
1554
+ async function xn({ apiUrl: e, body: t, fetchOptions: r }) {
1523
1555
  if (!t) {
1524
1556
  console.error("[ERROR FETCHING] Body is required");
1525
1557
  return;
1526
1558
  }
1527
- await Rn.validate(t);
1559
+ await Pn.validate(t);
1528
1560
  const { query: n = "", locale: a = "default_locale" } = t, o = new URLSearchParams({ query: n, locale: a });
1529
1561
  return O(
1530
1562
  `${e}/api/io/_v/api/intelligent-search/search_suggestions?${o.toString()}`,
@@ -1533,22 +1565,22 @@ async function In({ apiUrl: e, body: t, fetchOptions: r }) {
1533
1565
  }
1534
1566
  );
1535
1567
  }
1536
- async function Pn({ apiUrl: e }) {
1568
+ async function Sn({ apiUrl: e }) {
1537
1569
  return O(`${e}/api/io/_v/api/intelligent-search/top_searches`);
1538
1570
  }
1539
- const xn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1571
+ const Cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1540
1572
  __proto__: null,
1541
- getSearchAutoCompleteSuggestions: nn,
1542
- getSearchCrossellingProducts: vn,
1543
- getSearchFacets: _n,
1544
- getSearchProducts: yn,
1545
- getSearchSuggestedTerms: In,
1546
- getSearchTopSearchs: Pn
1547
- }, Symbol.toStringTag, { value: "Module" })), Sn = c.object({
1573
+ getSearchAutoCompleteSuggestions: on,
1574
+ getSearchCrossellingProducts: _n,
1575
+ getSearchFacets: In,
1576
+ getSearchProducts: Rn,
1577
+ getSearchSuggestedTerms: xn,
1578
+ getSearchTopSearchs: Sn
1579
+ }, Symbol.toStringTag, { value: "Module" })), kn = c.object({
1548
1580
  masterDataEntity: c.string().nonNullable(),
1549
1581
  payload: c.object().shape({}).nullable()
1550
1582
  });
1551
- async function Cn({
1583
+ async function En({
1552
1584
  apiUrl: e,
1553
1585
  body: t,
1554
1586
  fetchOptions: r
@@ -1557,7 +1589,7 @@ async function Cn({
1557
1589
  console.error("[ERROR FETCHING] Body is required");
1558
1590
  return;
1559
1591
  }
1560
- await Sn.validate(t);
1592
+ await kn.validate(t);
1561
1593
  const { masterDataEntity: n, payload: a } = t, o = `${e}/api/dataentities/${n}/documents`;
1562
1594
  return O(o, {
1563
1595
  method: "POST",
@@ -1567,21 +1599,21 @@ async function Cn({
1567
1599
  ...r
1568
1600
  });
1569
1601
  }
1570
- const kn = c.object().shape({
1602
+ const An = c.object().shape({
1571
1603
  _where: c.string().optional(),
1572
1604
  _fields: c.string().optional(),
1573
1605
  _sort: c.string().optional(),
1574
1606
  _from: c.number().integer().min(0).optional(),
1575
1607
  _to: c.number().integer().min(0).optional(),
1576
1608
  _keyword: c.string().optional()
1577
- }), En = c.object({
1609
+ }), On = c.object({
1578
1610
  masterDataEntity: c.string().required(),
1579
- searchFields: kn,
1611
+ searchFields: An,
1580
1612
  headers: c.object().shape({
1581
1613
  "REST-Range": c.string().notRequired()
1582
1614
  })
1583
1615
  });
1584
- async function An({
1616
+ async function Tn({
1585
1617
  apiUrl: e,
1586
1618
  body: t,
1587
1619
  fetchOptions: r
@@ -1591,7 +1623,7 @@ async function An({
1591
1623
  return;
1592
1624
  }
1593
1625
  const n = new URLSearchParams();
1594
- await En.validate(t);
1626
+ await On.validate(t);
1595
1627
  const { masterDataEntity: a, searchFields: o, headers: l } = t;
1596
1628
  o && Object.entries(o).forEach(([g, s]) => {
1597
1629
  n.append(g, String(s));
@@ -1619,12 +1651,12 @@ async function An({
1619
1651
  } while (d);
1620
1652
  return i;
1621
1653
  }
1622
- const On = c.object({
1654
+ const qn = c.object({
1623
1655
  dataEntityName: c.string().required(),
1624
1656
  id: c.string().required(),
1625
1657
  fieldsToBeUpdated: c.object().shape({})
1626
1658
  });
1627
- async function Tn({
1659
+ async function Nn({
1628
1660
  apiUrl: e,
1629
1661
  body: t,
1630
1662
  fetchOptions: r
@@ -1633,7 +1665,7 @@ async function Tn({
1633
1665
  console.error("[ERROR FETCHING] Body is required");
1634
1666
  return;
1635
1667
  }
1636
- await On.validate(t);
1668
+ await qn.validate(t);
1637
1669
  const { dataEntityName: n, id: a, fieldsToBeUpdated: o } = t, l = `${e}/api/dataentities/${n}/documents/${a}`;
1638
1670
  return O(l, {
1639
1671
  body: {
@@ -1643,13 +1675,13 @@ async function Tn({
1643
1675
  ...r
1644
1676
  });
1645
1677
  }
1646
- const qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1678
+ const jn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1647
1679
  __proto__: null,
1648
- getSearchMasterdata: An,
1649
- patchUpdateMasterdata: Tn,
1650
- postMasterdata: Cn
1680
+ getSearchMasterdata: Tn,
1681
+ patchUpdateMasterdata: Nn,
1682
+ postMasterdata: En
1651
1683
  }, Symbol.toStringTag, { value: "Module" }));
1652
- async function Nn({ body: e, apiUrl: t, extraData: r, fetchOptions: n }) {
1684
+ async function $n({ body: e, apiUrl: t, extraData: r, fetchOptions: n }) {
1653
1685
  const { productIds: a } = e;
1654
1686
  if (!a)
1655
1687
  return console.error("[ERROR FETCHING] productIds is required"), [];
@@ -1732,9 +1764,9 @@ async function Nn({ body: e, apiUrl: t, extraData: r, fetchOptions: n }) {
1732
1764
  var E;
1733
1765
  return {
1734
1766
  additionalProperty: f == null ? void 0 : f.variations.map(() => {
1735
- var q, I, R;
1767
+ var N, I, R;
1736
1768
  return {
1737
- name: (q = f == null ? void 0 : f.variations) == null ? void 0 : q[0],
1769
+ name: (N = f == null ? void 0 : f.variations) == null ? void 0 : N[0],
1738
1770
  value: (R = f == null ? void 0 : f[(I = f == null ? void 0 : f.variations) == null ? void 0 : I[0]]) == null ? void 0 : R[0],
1739
1771
  valueReference: "SPECIFICATION"
1740
1772
  };
@@ -1742,11 +1774,11 @@ async function Nn({ body: e, apiUrl: t, extraData: r, fetchOptions: n }) {
1742
1774
  name: f.name,
1743
1775
  offers: {
1744
1776
  offers: (E = f.sellers) == null ? void 0 : E.map(
1745
- ({ commertialOffer: q, sellerId: I }) => ({
1777
+ ({ commertialOffer: N, sellerId: I }) => ({
1746
1778
  availability: "https://schema.org/InStock",
1747
- listPrice: q.ListPrice,
1748
- price: q.Price,
1749
- quantity: q.AvailableQuantity,
1779
+ listPrice: N.ListPrice,
1780
+ price: N.Price,
1781
+ quantity: N.AvailableQuantity,
1750
1782
  seller: {
1751
1783
  identifier: I
1752
1784
  }
@@ -1764,9 +1796,9 @@ async function Nn({ body: e, apiUrl: t, extraData: r, fetchOptions: n }) {
1764
1796
  };
1765
1797
  });
1766
1798
  }
1767
- const jn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1799
+ const Fn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1768
1800
  __proto__: null,
1769
- getWishlistProducts: Nn
1801
+ getWishlistProducts: $n
1770
1802
  }, Symbol.toStringTag, { value: "Module" }));
1771
1803
  var Re = { exports: {} }, nt = {}, Pe = {}, at = {}, it = {};
1772
1804
  (function(e) {
@@ -2173,24 +2205,24 @@ var ct = {};
2173
2205
  }
2174
2206
  }
2175
2207
  })(ct);
2176
- var pe = {}, Se = Object.defineProperty, Fn = Object.getOwnPropertyDescriptor, $n = Object.getOwnPropertyNames, Ln = Object.prototype.hasOwnProperty, Dn = (e, t) => {
2208
+ var pe = {}, Se = Object.defineProperty, Ln = Object.getOwnPropertyDescriptor, Dn = Object.getOwnPropertyNames, Un = Object.prototype.hasOwnProperty, Hn = (e, t) => {
2177
2209
  for (var r in t)
2178
2210
  Se(e, r, { get: t[r], enumerable: !0 });
2179
- }, Un = (e, t, r, n) => {
2211
+ }, Mn = (e, t, r, n) => {
2180
2212
  if (t && typeof t == "object" || typeof t == "function")
2181
- for (let a of $n(t))
2182
- !Ln.call(e, a) && a !== r && Se(e, a, { get: () => t[a], enumerable: !(n = Fn(t, a)) || n.enumerable });
2213
+ for (let a of Dn(t))
2214
+ !Un.call(e, a) && a !== r && Se(e, a, { get: () => t[a], enumerable: !(n = Ln(t, a)) || n.enumerable });
2183
2215
  return e;
2184
- }, Hn = (e) => Un(Se({}, "__esModule", { value: !0 }), e), ut = {};
2185
- Dn(ut, {
2186
- RequestCookies: () => Xn,
2187
- ResponseCookies: () => Kn,
2216
+ }, Bn = (e) => Mn(Se({}, "__esModule", { value: !0 }), e), ut = {};
2217
+ Hn(ut, {
2218
+ RequestCookies: () => Jn,
2219
+ ResponseCookies: () => Zn,
2188
2220
  parseCookie: () => Ce,
2189
2221
  parseSetCookie: () => dt,
2190
- stringifyCookie: () => K
2222
+ stringifyCookie: () => J
2191
2223
  });
2192
- var Mn = Hn(ut);
2193
- function K(e) {
2224
+ var zn = Bn(ut);
2225
+ function J(e) {
2194
2226
  var t;
2195
2227
  const r = [
2196
2228
  "path" in e && e.path && `Path=${e.path}`,
@@ -2246,28 +2278,28 @@ function dt(e) {
2246
2278
  ...l && { httpOnly: !0 },
2247
2279
  ...typeof i == "string" && { maxAge: Number(i) },
2248
2280
  path: d,
2249
- ...g && { sameSite: Gn(g) },
2281
+ ...g && { sameSite: Wn(g) },
2250
2282
  ...s && { secure: !0 },
2251
- ...w && { priority: Wn(w) },
2283
+ ...w && { priority: Xn(w) },
2252
2284
  ...u && { partitioned: !0 }
2253
2285
  };
2254
- return Bn(v);
2286
+ return Gn(v);
2255
2287
  }
2256
- function Bn(e) {
2288
+ function Gn(e) {
2257
2289
  const t = {};
2258
2290
  for (const r in e)
2259
2291
  e[r] && (t[r] = e[r]);
2260
2292
  return t;
2261
2293
  }
2262
- var zn = ["strict", "lax", "none"];
2263
- function Gn(e) {
2264
- return e = e.toLowerCase(), zn.includes(e) ? e : void 0;
2265
- }
2266
- var Vn = ["low", "medium", "high"];
2294
+ var Vn = ["strict", "lax", "none"];
2267
2295
  function Wn(e) {
2268
2296
  return e = e.toLowerCase(), Vn.includes(e) ? e : void 0;
2269
2297
  }
2270
- function Qn(e) {
2298
+ var Qn = ["low", "medium", "high"];
2299
+ function Xn(e) {
2300
+ return e = e.toLowerCase(), Qn.includes(e) ? e : void 0;
2301
+ }
2302
+ function Kn(e) {
2271
2303
  if (!e)
2272
2304
  return [];
2273
2305
  var t = [], r = 0, n, a, o, l, i;
@@ -2291,7 +2323,7 @@ function Qn(e) {
2291
2323
  }
2292
2324
  return t;
2293
2325
  }
2294
- var Xn = class {
2326
+ var Jn = class {
2295
2327
  constructor(e) {
2296
2328
  this._parsed = /* @__PURE__ */ new Map(), this._headers = e;
2297
2329
  const t = e.get("cookie");
@@ -2329,7 +2361,7 @@ var Xn = class {
2329
2361
  const [t, r] = e.length === 1 ? [e[0].name, e[0].value] : e, n = this._parsed;
2330
2362
  return n.set(t, { name: t, value: r }), this._headers.set(
2331
2363
  "cookie",
2332
- Array.from(n).map(([a, o]) => K(o)).join("; ")
2364
+ Array.from(n).map(([a, o]) => J(o)).join("; ")
2333
2365
  ), this;
2334
2366
  }
2335
2367
  /**
@@ -2339,7 +2371,7 @@ var Xn = class {
2339
2371
  const t = this._parsed, r = Array.isArray(e) ? e.map((n) => t.delete(n)) : t.delete(e);
2340
2372
  return this._headers.set(
2341
2373
  "cookie",
2342
- Array.from(t).map(([n, a]) => K(a)).join("; ")
2374
+ Array.from(t).map(([n, a]) => J(a)).join("; ")
2343
2375
  ), r;
2344
2376
  }
2345
2377
  /**
@@ -2357,12 +2389,12 @@ var Xn = class {
2357
2389
  toString() {
2358
2390
  return [...this._parsed.values()].map((e) => `${e.name}=${encodeURIComponent(e.value)}`).join("; ");
2359
2391
  }
2360
- }, Kn = class {
2392
+ }, Zn = class {
2361
2393
  constructor(e) {
2362
2394
  this._parsed = /* @__PURE__ */ new Map();
2363
2395
  var t, r, n;
2364
2396
  this._headers = e;
2365
- const a = (n = (r = (t = e.getSetCookie) == null ? void 0 : t.call(e)) != null ? r : e.get("set-cookie")) != null ? n : [], o = Array.isArray(a) ? a : Qn(a);
2397
+ const a = (n = (r = (t = e.getSetCookie) == null ? void 0 : t.call(e)) != null ? r : e.get("set-cookie")) != null ? n : [], o = Array.isArray(a) ? a : Kn(a);
2366
2398
  for (const l of o) {
2367
2399
  const i = dt(l);
2368
2400
  i && this._parsed.set(i.name, i);
@@ -2394,7 +2426,7 @@ var Xn = class {
2394
2426
  */
2395
2427
  set(...e) {
2396
2428
  const [t, r, n] = e.length === 1 ? [e[0].name, e[0].value, e[0]] : e, a = this._parsed;
2397
- return a.set(t, Zn({ name: t, value: r, ...n })), Jn(a, this._headers), this;
2429
+ return a.set(t, ea({ name: t, value: r, ...n })), Yn(a, this._headers), this;
2398
2430
  }
2399
2431
  /**
2400
2432
  * {@link https://wicg.github.io/cookie-store/#CookieStore-delete CookieStore#delete} without the Promise.
@@ -2407,17 +2439,17 @@ var Xn = class {
2407
2439
  return `ResponseCookies ${JSON.stringify(Object.fromEntries(this._parsed))}`;
2408
2440
  }
2409
2441
  toString() {
2410
- return [...this._parsed.values()].map(K).join("; ");
2442
+ return [...this._parsed.values()].map(J).join("; ");
2411
2443
  }
2412
2444
  };
2413
- function Jn(e, t) {
2445
+ function Yn(e, t) {
2414
2446
  t.delete("set-cookie");
2415
2447
  for (const [, r] of e) {
2416
- const n = K(r);
2448
+ const n = J(r);
2417
2449
  t.append("set-cookie", n);
2418
2450
  }
2419
2451
  }
2420
- function Zn(e = { name: "", value: "" }) {
2452
+ function ea(e = { name: "", value: "" }) {
2421
2453
  return typeof e.expires == "number" && (e.expires = new Date(e.expires)), e.maxAge && (e.expires = new Date(Date.now() + e.maxAge * 1e3)), (e.path === null || e.path === void 0) && (e.path = "/"), e;
2422
2454
  }
2423
2455
  (function(e) {
@@ -2441,7 +2473,7 @@ function Zn(e = { name: "", value: "" }) {
2441
2473
  return r.stringifyCookie;
2442
2474
  }
2443
2475
  });
2444
- const r = Mn;
2476
+ const r = zn;
2445
2477
  })(pe);
2446
2478
  (function(e) {
2447
2479
  Object.defineProperty(e, "__esModule", {
@@ -2597,7 +2629,7 @@ var pt = {}, mt = {};
2597
2629
  case "set":
2598
2630
  return (...h) => {
2599
2631
  const f = Reflect.apply(p[b], p, h), E = new Headers(v);
2600
- return f instanceof o.ResponseCookies && v.set("x-middleware-set-cookie", f.getAll().map((q) => (0, t.stringifyCookie)(q)).join(",")), d(w, E), f;
2632
+ return f instanceof o.ResponseCookies && v.set("x-middleware-set-cookie", f.getAll().map((N) => (0, t.stringifyCookie)(N)).join(",")), d(w, E), f;
2601
2633
  };
2602
2634
  default:
2603
2635
  return a.ReflectAdapter.get(p, b, m);
@@ -2679,29 +2711,29 @@ var Ie = {}, ft = { exports: {} };
2679
2711
  (() => {
2680
2712
  var e = { 226: function(a, o) {
2681
2713
  (function(l, i) {
2682
- var d = "1.0.35", g = "", s = "?", u = "function", w = "undefined", v = "object", y = "string", _ = "major", p = "model", b = "name", m = "type", h = "vendor", f = "version", E = "architecture", q = "console", I = "mobile", R = "tablet", C = "smarttv", j = "wearable", $ = "embedded", D = 350, U = "Amazon", B = "Apple", Z = "ASUS", ke = "BlackBerry", G = "Browser", Y = "Chrome", bt = "Edge", ee = "Firefox", te = "Google", Ee = "Huawei", he = "LG", fe = "Microsoft", Ae = "Motorola", re = "Opera", ge = "Samsung", Oe = "Sharp", ne = "Sony", be = "Xiaomi", we = "Zebra", Te = "Facebook", qe = "Chromium OS", Ne = "Mac OS", wt = function(S, A) {
2714
+ var d = "1.0.35", g = "", s = "?", u = "function", w = "undefined", v = "object", y = "string", _ = "major", p = "model", b = "name", m = "type", h = "vendor", f = "version", E = "architecture", N = "console", I = "mobile", R = "tablet", C = "smarttv", j = "wearable", F = "embedded", D = 350, U = "Amazon", B = "Apple", Z = "ASUS", ke = "BlackBerry", G = "Browser", Y = "Chrome", bt = "Edge", ee = "Firefox", te = "Google", Ee = "Huawei", he = "LG", fe = "Microsoft", Ae = "Motorola", re = "Opera", ge = "Samsung", Oe = "Sharp", ne = "Sony", be = "Xiaomi", we = "Zebra", Te = "Facebook", qe = "Chromium OS", Ne = "Mac OS", wt = function(S, A) {
2683
2715
  var x = {};
2684
- for (var T in S)
2685
- A[T] && A[T].length % 2 === 0 ? x[T] = A[T].concat(S[T]) : x[T] = S[T];
2716
+ for (var q in S)
2717
+ A[q] && A[q].length % 2 === 0 ? x[q] = A[q].concat(S[q]) : x[q] = S[q];
2686
2718
  return x;
2687
2719
  }, ae = function(S) {
2688
2720
  for (var A = {}, x = 0; x < S.length; x++)
2689
2721
  A[S[x].toUpperCase()] = S[x];
2690
2722
  return A;
2691
2723
  }, je = function(S, A) {
2692
- return typeof S === y ? W(A).indexOf(W(S)) !== -1 : !1;
2693
- }, W = function(S) {
2724
+ return typeof S === y ? Q(A).indexOf(Q(S)) !== -1 : !1;
2725
+ }, Q = function(S) {
2694
2726
  return S.toLowerCase();
2695
2727
  }, vt = function(S) {
2696
2728
  return typeof S === y ? S.replace(/[^\d\.]/g, g).split(".")[0] : i;
2697
2729
  }, ve = function(S, A) {
2698
2730
  if (typeof S === y)
2699
2731
  return S = S.replace(/^\s\s*/, g), typeof A === w ? S : S.substring(0, D);
2700
- }, Q = function(S, A) {
2701
- for (var x = 0, T, z, H, k, P, M; x < A.length && !P; ) {
2732
+ }, X = function(S, A) {
2733
+ for (var x = 0, q, z, H, k, P, M; x < A.length && !P; ) {
2702
2734
  var _e = A[x], Le = A[x + 1];
2703
- for (T = z = 0; T < _e.length && !P && _e[T]; )
2704
- if (P = _e[T++].exec(S), P)
2735
+ for (q = z = 0; q < _e.length && !P && _e[q]; )
2736
+ if (P = _e[q++].exec(S), P)
2705
2737
  for (H = 0; H < Le.length; H++)
2706
2738
  M = P[++z], k = Le[H], typeof k === v && k.length > 0 ? k.length === 2 ? typeof k[1] == u ? this[k[0]] = k[1].call(this, M) : this[k[0]] = k[1] : k.length === 3 ? typeof k[1] === u && !(k[1].exec && k[1].test) ? this[k[0]] = M ? k[1].call(this, M, k[2]) : i : this[k[0]] = M ? M.replace(k[1], k[2]) : i : k.length === 4 && (this[k[0]] = M ? k[3].call(this, M.replace(k[1], k[2])) : i) : this[k] = M || i;
2707
2739
  x += 2;
@@ -2709,40 +2741,40 @@ var Ie = {}, ft = { exports: {} };
2709
2741
  }, ye = function(S, A) {
2710
2742
  for (var x in A)
2711
2743
  if (typeof A[x] === v && A[x].length > 0) {
2712
- for (var T = 0; T < A[x].length; T++)
2713
- if (je(A[x][T], S))
2744
+ for (var q = 0; q < A[x].length; q++)
2745
+ if (je(A[x][q], S))
2714
2746
  return x === s ? i : x;
2715
2747
  } else if (je(A[x], S))
2716
2748
  return x === s ? i : x;
2717
2749
  return S;
2718
- }, yt = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, Fe = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, $e = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [f, [b, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [f, [b, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [b, f], [/opios[\/ ]+([\w\.]+)/i], [f, [b, re + " Mini"]], [/\bopr\/([\w\.]+)/i], [f, [b, re]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, /(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i, /(ba?idubrowser)[\/ ]?([\w\.]+)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i, /(heytap|ovi)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [b, f], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [f, [b, "UC" + G]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i], [f, [b, "WeChat(Win) Desktop"]], [/micromessenger\/([\w\.]+)/i], [f, [b, "WeChat"]], [/konqueror\/([\w\.]+)/i], [f, [b, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [f, [b, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [f, [b, "Yandex"]], [/(avast|avg)\/([\w\.]+)/i], [[b, /(.+)/, "$1 Secure " + G], f], [/\bfocus\/([\w\.]+)/i], [f, [b, ee + " Focus"]], [/\bopt\/([\w\.]+)/i], [f, [b, re + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [f, [b, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [f, [b, "Dolphin"]], [/coast\/([\w\.]+)/i], [f, [b, re + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [f, [b, "MIUI " + G]], [/fxios\/([-\w\.]+)/i], [f, [b, ee]], [/\bqihu|(qi?ho?o?|360)browser/i], [[b, "360 " + G]], [/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i], [[b, /(.+)/, "$1 " + G], f], [/(comodo_dragon)\/([\w\.]+)/i], [[b, /_/g, " "], f], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i], [b, f], [/(metasr)[\/ ]?([\w\.]+)/i, /(lbbrowser)/i, /\[(linkedin)app\]/i], [b], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[b, Te], f], [/(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(chromium|instagram)[\/ ]([-\w\.]+)/i], [b, f], [/\bgsa\/([\w\.]+) .*safari\//i], [f, [b, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [f, [b, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [f, [b, Y + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[b, Y + " WebView"], f], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [f, [b, "Android " + G]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [b, f], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [f, [b, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [f, b], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [b, [f, ye, yt]], [/(webkit|khtml)\/([\w\.]+)/i], [b, f], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[b, "Netscape"], f], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [f, [b, ee + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i, /panasonic;(viera)/i], [b, f], [/(cobalt)\/([\w\.]+)/i], [b, [f, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[E, "amd64"]], [/(ia32(?=;))/i], [[E, W]], [/((?:i[346]|x)86)[;\)]/i], [[E, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[E, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[E, "armhf"]], [/windows (ce|mobile); ppc;/i], [[E, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[E, /ower/, g, W]], [/(sun4\w)[;\)]/i], [[E, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[E, W]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [p, [h, ge], [m, R]], [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], [p, [h, ge], [m, I]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [p, [h, B], [m, I]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [p, [h, B], [m, R]], [/(macintosh);/i], [p, [h, B]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [p, [h, Oe], [m, I]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [p, [h, Ee], [m, R]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [p, [h, Ee], [m, I]], [/\b(poco[\w ]+)(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i], [[p, /_/g, " "], [h, be], [m, I]], [/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[p, /_/g, " "], [h, be], [m, R]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [p, [h, "OPPO"], [m, I]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [p, [h, "Vivo"], [m, I]], [/\b(rmx[12]\d{3})(?: bui|;|\))/i], [p, [h, "Realme"], [m, I]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [p, [h, Ae], [m, I]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [p, [h, Ae], [m, R]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [p, [h, he], [m, R]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [p, [h, he], [m, I]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [p, [h, "Lenovo"], [m, R]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[p, /_/g, " "], [h, "Nokia"], [m, I]], [/(pixel c)\b/i], [p, [h, te], [m, R]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [p, [h, te], [m, I]], [/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [p, [h, ne], [m, I]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[p, "Xperia Tablet"], [h, ne], [m, R]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [p, [h, "OnePlus"], [m, I]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [p, [h, U], [m, R]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[p, /(.+)/g, "Fire Phone $1"], [h, U], [m, I]], [/(playbook);[-\w\),; ]+(rim)/i], [p, h, [m, R]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [p, [h, ke], [m, I]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [p, [h, Z], [m, R]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [p, [h, Z], [m, I]], [/(nexus 9)/i], [p, [h, "HTC"], [m, R]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [h, [p, /_/g, " "], [m, I]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [p, [h, "Acer"], [m, R]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [p, [h, "Meizu"], [m, I]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [h, p, [m, I]], [/(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [h, p, [m, R]], [/(surface duo)/i], [p, [h, fe], [m, R]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [p, [h, "Fairphone"], [m, I]], [/(u304aa)/i], [p, [h, "AT&T"], [m, I]], [/\bsie-(\w*)/i], [p, [h, "Siemens"], [m, I]], [/\b(rct\w+) b/i], [p, [h, "RCA"], [m, R]], [/\b(venue[\d ]{2,7}) b/i], [p, [h, "Dell"], [m, R]], [/\b(q(?:mv|ta)\w+) b/i], [p, [h, "Verizon"], [m, R]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [p, [h, "Barnes & Noble"], [m, R]], [/\b(tm\d{3}\w+) b/i], [p, [h, "NuVision"], [m, R]], [/\b(k88) b/i], [p, [h, "ZTE"], [m, R]], [/\b(nx\d{3}j) b/i], [p, [h, "ZTE"], [m, I]], [/\b(gen\d{3}) b.+49h/i], [p, [h, "Swiss"], [m, I]], [/\b(zur\d{3}) b/i], [p, [h, "Swiss"], [m, R]], [/\b((zeki)?tb.*\b) b/i], [p, [h, "Zeki"], [m, R]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[h, "Dragon Touch"], p, [m, R]], [/\b(ns-?\w{0,9}) b/i], [p, [h, "Insignia"], [m, R]], [/\b((nxa|next)-?\w{0,9}) b/i], [p, [h, "NextBook"], [m, R]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[h, "Voice"], p, [m, I]], [/\b(lvtel\-)?(v1[12]) b/i], [[h, "LvTel"], p, [m, I]], [/\b(ph-1) /i], [p, [h, "Essential"], [m, I]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [p, [h, "Envizen"], [m, R]], [/\b(trio[-\w\. ]+) b/i], [p, [h, "MachSpeed"], [m, R]], [/\btu_(1491) b/i], [p, [h, "Rotor"], [m, R]], [/(shield[\w ]+) b/i], [p, [h, "Nvidia"], [m, R]], [/(sprint) (\w+)/i], [h, p, [m, I]], [/(kin\.[onetw]{3})/i], [[p, /\./g, " "], [h, fe], [m, I]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [p, [h, we], [m, R]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [p, [h, we], [m, I]], [/smart-tv.+(samsung)/i], [h, [m, C]], [/hbbtv.+maple;(\d+)/i], [[p, /^/, "SmartTV"], [h, ge], [m, C]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[h, he], [m, C]], [/(apple) ?tv/i], [h, [p, B + " TV"], [m, C]], [/crkey/i], [[p, Y + "cast"], [h, te], [m, C]], [/droid.+aft(\w)( bui|\))/i], [p, [h, U], [m, C]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [p, [h, Oe], [m, C]], [/(bravia[\w ]+)( bui|\))/i], [p, [h, ne], [m, C]], [/(mitv-\w{5}) bui/i], [p, [h, be], [m, C]], [/Hbbtv.*(technisat) (.*);/i], [h, p, [m, C]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[h, ve], [p, ve], [m, C]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[m, C]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [h, p, [m, q]], [/droid.+; (shield) bui/i], [p, [h, "Nvidia"], [m, q]], [/(playstation [345portablevi]+)/i], [p, [h, ne], [m, q]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [p, [h, fe], [m, q]], [/((pebble))app/i], [h, p, [m, j]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [p, [h, B], [m, j]], [/droid.+; (glass) \d/i], [p, [h, te], [m, j]], [/droid.+; (wt63?0{2,3})\)/i], [p, [h, we], [m, j]], [/(quest( 2| pro)?)/i], [p, [h, Te], [m, j]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [h, [m, $]], [/(aeobc)\b/i], [p, [h, U], [m, $]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i], [p, [m, I]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [p, [m, R]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[m, R]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[m, I]], [/(android[-\w\. ]{0,9});.+buil/i], [p, [h, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [f, [b, bt + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [f, [b, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [b, f], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [f, b]], os: [[/microsoft (windows) (vista|xp)/i], [b, f], [/(windows) nt 6\.2; (arm)/i, /(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i, /(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i], [b, [f, ye, Fe]], [/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[b, "Windows"], [f, ye, Fe]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /ios;fbsv\/([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[f, /_/g, "."], [b, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[b, Ne], [f, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [f, b], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [b, f], [/\(bb(10);/i], [f, [b, ke]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [f, [b, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [f, [b, ee + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [f, [b, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [f, [b, "watchOS"]], [/crkey\/([\d\.]+)/i], [f, [b, Y + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[b, qe], f], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [b, f], [/(sunos) ?([\w\.\d]*)/i], [[b, "Solaris"], f], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [b, f]] }, L = function(S, A) {
2750
+ }, yt = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, $e = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, Fe = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [f, [b, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [f, [b, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [b, f], [/opios[\/ ]+([\w\.]+)/i], [f, [b, re + " Mini"]], [/\bopr\/([\w\.]+)/i], [f, [b, re]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, /(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i, /(ba?idubrowser)[\/ ]?([\w\.]+)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i, /(heytap|ovi)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [b, f], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [f, [b, "UC" + G]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i], [f, [b, "WeChat(Win) Desktop"]], [/micromessenger\/([\w\.]+)/i], [f, [b, "WeChat"]], [/konqueror\/([\w\.]+)/i], [f, [b, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [f, [b, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [f, [b, "Yandex"]], [/(avast|avg)\/([\w\.]+)/i], [[b, /(.+)/, "$1 Secure " + G], f], [/\bfocus\/([\w\.]+)/i], [f, [b, ee + " Focus"]], [/\bopt\/([\w\.]+)/i], [f, [b, re + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [f, [b, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [f, [b, "Dolphin"]], [/coast\/([\w\.]+)/i], [f, [b, re + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [f, [b, "MIUI " + G]], [/fxios\/([-\w\.]+)/i], [f, [b, ee]], [/\bqihu|(qi?ho?o?|360)browser/i], [[b, "360 " + G]], [/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i], [[b, /(.+)/, "$1 " + G], f], [/(comodo_dragon)\/([\w\.]+)/i], [[b, /_/g, " "], f], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i], [b, f], [/(metasr)[\/ ]?([\w\.]+)/i, /(lbbrowser)/i, /\[(linkedin)app\]/i], [b], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[b, Te], f], [/(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(chromium|instagram)[\/ ]([-\w\.]+)/i], [b, f], [/\bgsa\/([\w\.]+) .*safari\//i], [f, [b, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [f, [b, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [f, [b, Y + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[b, Y + " WebView"], f], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [f, [b, "Android " + G]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [b, f], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [f, [b, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [f, b], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [b, [f, ye, yt]], [/(webkit|khtml)\/([\w\.]+)/i], [b, f], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[b, "Netscape"], f], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [f, [b, ee + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i, /panasonic;(viera)/i], [b, f], [/(cobalt)\/([\w\.]+)/i], [b, [f, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[E, "amd64"]], [/(ia32(?=;))/i], [[E, Q]], [/((?:i[346]|x)86)[;\)]/i], [[E, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[E, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[E, "armhf"]], [/windows (ce|mobile); ppc;/i], [[E, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[E, /ower/, g, Q]], [/(sun4\w)[;\)]/i], [[E, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[E, Q]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [p, [h, ge], [m, R]], [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], [p, [h, ge], [m, I]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [p, [h, B], [m, I]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [p, [h, B], [m, R]], [/(macintosh);/i], [p, [h, B]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [p, [h, Oe], [m, I]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [p, [h, Ee], [m, R]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [p, [h, Ee], [m, I]], [/\b(poco[\w ]+)(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i], [[p, /_/g, " "], [h, be], [m, I]], [/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[p, /_/g, " "], [h, be], [m, R]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [p, [h, "OPPO"], [m, I]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [p, [h, "Vivo"], [m, I]], [/\b(rmx[12]\d{3})(?: bui|;|\))/i], [p, [h, "Realme"], [m, I]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [p, [h, Ae], [m, I]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [p, [h, Ae], [m, R]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [p, [h, he], [m, R]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [p, [h, he], [m, I]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [p, [h, "Lenovo"], [m, R]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[p, /_/g, " "], [h, "Nokia"], [m, I]], [/(pixel c)\b/i], [p, [h, te], [m, R]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [p, [h, te], [m, I]], [/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [p, [h, ne], [m, I]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[p, "Xperia Tablet"], [h, ne], [m, R]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [p, [h, "OnePlus"], [m, I]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [p, [h, U], [m, R]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[p, /(.+)/g, "Fire Phone $1"], [h, U], [m, I]], [/(playbook);[-\w\),; ]+(rim)/i], [p, h, [m, R]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [p, [h, ke], [m, I]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [p, [h, Z], [m, R]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [p, [h, Z], [m, I]], [/(nexus 9)/i], [p, [h, "HTC"], [m, R]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [h, [p, /_/g, " "], [m, I]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [p, [h, "Acer"], [m, R]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [p, [h, "Meizu"], [m, I]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [h, p, [m, I]], [/(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [h, p, [m, R]], [/(surface duo)/i], [p, [h, fe], [m, R]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [p, [h, "Fairphone"], [m, I]], [/(u304aa)/i], [p, [h, "AT&T"], [m, I]], [/\bsie-(\w*)/i], [p, [h, "Siemens"], [m, I]], [/\b(rct\w+) b/i], [p, [h, "RCA"], [m, R]], [/\b(venue[\d ]{2,7}) b/i], [p, [h, "Dell"], [m, R]], [/\b(q(?:mv|ta)\w+) b/i], [p, [h, "Verizon"], [m, R]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [p, [h, "Barnes & Noble"], [m, R]], [/\b(tm\d{3}\w+) b/i], [p, [h, "NuVision"], [m, R]], [/\b(k88) b/i], [p, [h, "ZTE"], [m, R]], [/\b(nx\d{3}j) b/i], [p, [h, "ZTE"], [m, I]], [/\b(gen\d{3}) b.+49h/i], [p, [h, "Swiss"], [m, I]], [/\b(zur\d{3}) b/i], [p, [h, "Swiss"], [m, R]], [/\b((zeki)?tb.*\b) b/i], [p, [h, "Zeki"], [m, R]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[h, "Dragon Touch"], p, [m, R]], [/\b(ns-?\w{0,9}) b/i], [p, [h, "Insignia"], [m, R]], [/\b((nxa|next)-?\w{0,9}) b/i], [p, [h, "NextBook"], [m, R]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[h, "Voice"], p, [m, I]], [/\b(lvtel\-)?(v1[12]) b/i], [[h, "LvTel"], p, [m, I]], [/\b(ph-1) /i], [p, [h, "Essential"], [m, I]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [p, [h, "Envizen"], [m, R]], [/\b(trio[-\w\. ]+) b/i], [p, [h, "MachSpeed"], [m, R]], [/\btu_(1491) b/i], [p, [h, "Rotor"], [m, R]], [/(shield[\w ]+) b/i], [p, [h, "Nvidia"], [m, R]], [/(sprint) (\w+)/i], [h, p, [m, I]], [/(kin\.[onetw]{3})/i], [[p, /\./g, " "], [h, fe], [m, I]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [p, [h, we], [m, R]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [p, [h, we], [m, I]], [/smart-tv.+(samsung)/i], [h, [m, C]], [/hbbtv.+maple;(\d+)/i], [[p, /^/, "SmartTV"], [h, ge], [m, C]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[h, he], [m, C]], [/(apple) ?tv/i], [h, [p, B + " TV"], [m, C]], [/crkey/i], [[p, Y + "cast"], [h, te], [m, C]], [/droid.+aft(\w)( bui|\))/i], [p, [h, U], [m, C]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [p, [h, Oe], [m, C]], [/(bravia[\w ]+)( bui|\))/i], [p, [h, ne], [m, C]], [/(mitv-\w{5}) bui/i], [p, [h, be], [m, C]], [/Hbbtv.*(technisat) (.*);/i], [h, p, [m, C]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[h, ve], [p, ve], [m, C]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[m, C]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [h, p, [m, N]], [/droid.+; (shield) bui/i], [p, [h, "Nvidia"], [m, N]], [/(playstation [345portablevi]+)/i], [p, [h, ne], [m, N]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [p, [h, fe], [m, N]], [/((pebble))app/i], [h, p, [m, j]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [p, [h, B], [m, j]], [/droid.+; (glass) \d/i], [p, [h, te], [m, j]], [/droid.+; (wt63?0{2,3})\)/i], [p, [h, we], [m, j]], [/(quest( 2| pro)?)/i], [p, [h, Te], [m, j]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [h, [m, F]], [/(aeobc)\b/i], [p, [h, U], [m, F]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i], [p, [m, I]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [p, [m, R]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[m, R]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[m, I]], [/(android[-\w\. ]{0,9});.+buil/i], [p, [h, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [f, [b, bt + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [f, [b, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [b, f], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [f, b]], os: [[/microsoft (windows) (vista|xp)/i], [b, f], [/(windows) nt 6\.2; (arm)/i, /(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i, /(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i], [b, [f, ye, $e]], [/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[b, "Windows"], [f, ye, $e]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /ios;fbsv\/([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[f, /_/g, "."], [b, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[b, Ne], [f, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [f, b], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [b, f], [/\(bb(10);/i], [f, [b, ke]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [f, [b, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [f, [b, ee + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [f, [b, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [f, [b, "watchOS"]], [/crkey\/([\d\.]+)/i], [f, [b, Y + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[b, qe], f], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [b, f], [/(sunos) ?([\w\.\d]*)/i], [[b, "Solaris"], f], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [b, f]] }, L = function(S, A) {
2719
2751
  if (typeof S === v && (A = S, S = i), !(this instanceof L))
2720
2752
  return new L(S, A).getResult();
2721
- var x = typeof l !== w && l.navigator ? l.navigator : i, T = S || (x && x.userAgent ? x.userAgent : g), z = x && x.userAgentData ? x.userAgentData : i, H = A ? wt($e, A) : $e, k = x && x.userAgent == T;
2753
+ var x = typeof l !== w && l.navigator ? l.navigator : i, q = S || (x && x.userAgent ? x.userAgent : g), z = x && x.userAgentData ? x.userAgentData : i, H = A ? wt(Fe, A) : Fe, k = x && x.userAgent == q;
2722
2754
  return this.getBrowser = function() {
2723
2755
  var P = {};
2724
- return P[b] = i, P[f] = i, Q.call(P, T, H.browser), P[_] = vt(P[f]), k && x && x.brave && typeof x.brave.isBrave == u && (P[b] = "Brave"), P;
2756
+ return P[b] = i, P[f] = i, X.call(P, q, H.browser), P[_] = vt(P[f]), k && x && x.brave && typeof x.brave.isBrave == u && (P[b] = "Brave"), P;
2725
2757
  }, this.getCPU = function() {
2726
2758
  var P = {};
2727
- return P[E] = i, Q.call(P, T, H.cpu), P;
2759
+ return P[E] = i, X.call(P, q, H.cpu), P;
2728
2760
  }, this.getDevice = function() {
2729
2761
  var P = {};
2730
- return P[h] = i, P[p] = i, P[m] = i, Q.call(P, T, H.device), k && !P[m] && z && z.mobile && (P[m] = I), k && P[p] == "Macintosh" && x && typeof x.standalone !== w && x.maxTouchPoints && x.maxTouchPoints > 2 && (P[p] = "iPad", P[m] = R), P;
2762
+ return P[h] = i, P[p] = i, P[m] = i, X.call(P, q, H.device), k && !P[m] && z && z.mobile && (P[m] = I), k && P[p] == "Macintosh" && x && typeof x.standalone !== w && x.maxTouchPoints && x.maxTouchPoints > 2 && (P[p] = "iPad", P[m] = R), P;
2731
2763
  }, this.getEngine = function() {
2732
2764
  var P = {};
2733
- return P[b] = i, P[f] = i, Q.call(P, T, H.engine), P;
2765
+ return P[b] = i, P[f] = i, X.call(P, q, H.engine), P;
2734
2766
  }, this.getOS = function() {
2735
2767
  var P = {};
2736
- return P[b] = i, P[f] = i, Q.call(P, T, H.os), k && !P[b] && z && z.platform != "Unknown" && (P[b] = z.platform.replace(/chrome os/i, qe).replace(/macos/i, Ne)), P;
2768
+ return P[b] = i, P[f] = i, X.call(P, q, H.os), k && !P[b] && z && z.platform != "Unknown" && (P[b] = z.platform.replace(/chrome os/i, qe).replace(/macos/i, Ne)), P;
2737
2769
  }, this.getResult = function() {
2738
2770
  return { ua: this.getUA(), browser: this.getBrowser(), engine: this.getEngine(), os: this.getOS(), device: this.getDevice(), cpu: this.getCPU() };
2739
2771
  }, this.getUA = function() {
2740
- return T;
2772
+ return q;
2741
2773
  }, this.setUA = function(P) {
2742
- return T = typeof P === y && P.length > D ? ve(P, D) : P, this;
2743
- }, this.setUA(T), this;
2774
+ return q = typeof P === y && P.length > D ? ve(P, D) : P, this;
2775
+ }, this.setUA(q), this;
2744
2776
  };
2745
- L.VERSION = d, L.BROWSER = ae([b, f, _]), L.CPU = ae([E]), L.DEVICE = ae([p, h, m, q, I, C, R, j, $]), L.ENGINE = L.OS = ae([b, f]), typeof o !== w ? (a.exports && (o = a.exports = L), o.UAParser = L) : typeof l !== w && (l.UAParser = L);
2777
+ L.VERSION = d, L.BROWSER = ae([b, f, _]), L.CPU = ae([E]), L.DEVICE = ae([p, h, m, N, I, C, R, j, F]), L.ENGINE = L.OS = ae([b, f]), typeof o !== w ? (a.exports && (o = a.exports = L), o.UAParser = L) : typeof l !== w && (l.UAParser = L);
2746
2778
  var V = typeof l !== w && (l.jQuery || l.Zepto);
2747
2779
  if (V && !V.ua) {
2748
2780
  var ie = new L();
@@ -2773,7 +2805,7 @@ var Ie = {}, ft = { exports: {} };
2773
2805
  var n = r(226);
2774
2806
  ft.exports = n;
2775
2807
  })();
2776
- var Yn = ft.exports;
2808
+ var ta = ft.exports;
2777
2809
  (function(e) {
2778
2810
  Object.defineProperty(e, "__esModule", {
2779
2811
  value: !0
@@ -2795,7 +2827,7 @@ var Yn = ft.exports;
2795
2827
  return o;
2796
2828
  }
2797
2829
  });
2798
- const r = /* @__PURE__ */ n(Yn);
2830
+ const r = /* @__PURE__ */ n(ta);
2799
2831
  function n(i) {
2800
2832
  return i && i.__esModule ? i : {
2801
2833
  default: i
@@ -2841,7 +2873,7 @@ var gt = {};
2841
2873
  e.exports = r, t.NextRequest = r.NextRequest, t.NextResponse = r.NextResponse, t.ImageResponse = r.ImageResponse, t.userAgentFromString = r.userAgentFromString, t.userAgent = r.userAgent, t.URLPattern = r.URLPattern;
2842
2874
  })(Re, Re.exports);
2843
2875
  var He = Re.exports;
2844
- async function ea({ apiUrl: e, extraData: t, fetchOptions: r }) {
2876
+ async function ra({ apiUrl: e, extraData: t, fetchOptions: r }) {
2845
2877
  var I, R;
2846
2878
  const n = `${e}/api/dataentities`, a = `${e}/api/io/v1/extrato/get-total`, {
2847
2879
  MASTER_DATA_ENTITY: o,
@@ -2857,9 +2889,9 @@ async function ea({ apiUrl: e, extraData: t, fetchOptions: r }) {
2857
2889
  );
2858
2890
  const { sub: _, userId: p } = Mt(y), b = Object.fromEntries(
2859
2891
  Object.entries(d).map(([C, j]) => [C, String(j || "")])
2860
- ), m = async (C, j, $ = !1) => {
2892
+ ), m = async (C, j, F = !1) => {
2861
2893
  try {
2862
- const U = await fetch(`${$ ? a : n}${C}`, {
2894
+ const U = await fetch(`${F ? a : n}${C}`, {
2863
2895
  headers: {
2864
2896
  ...j,
2865
2897
  ...r == null ? void 0 : r.headers
@@ -2880,47 +2912,47 @@ async function ea({ apiUrl: e, extraData: t, fetchOptions: r }) {
2880
2912
  ","
2881
2913
  )}&_sort=lastInteractionIn DESC`,
2882
2914
  { ...b, "REST-Range": "resources=0-1000" }
2883
- ), q = f ? await m(
2915
+ ), N = f ? await m(
2884
2916
  `/${f}?user_code=${h.userId},${_}&per_page=1&page=1`,
2885
2917
  b,
2886
2918
  !0
2887
2919
  ) : null;
2888
- return { ...h, ...E, userCredits: q, sub: _, userId: p };
2920
+ return { ...h, ...E, userCredits: N, sub: _, userId: p };
2889
2921
  }
2890
- const ta = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2922
+ const na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2891
2923
  __proto__: null,
2892
- getUserData: ea
2893
- }, Symbol.toStringTag, { value: "Module" })), ra = {
2924
+ getUserData: ra
2925
+ }, Symbol.toStringTag, { value: "Module" })), aa = {
2894
2926
  parseSearchState: jt,
2895
2927
  convertSearchParams: Nt,
2896
2928
  filterNonRootFacets: qt,
2897
2929
  filterNonCategorySelected: Tt
2898
- }, ca = {
2899
- checkout: Qr,
2900
- catalog: tn,
2901
- cms: Ft,
2902
- search: xn,
2903
- masterdata: qn,
2904
- user: ta,
2930
+ }, da = {
2931
+ checkout: Xr,
2932
+ catalog: nn,
2933
+ cms: $t,
2934
+ search: Cn,
2935
+ masterdata: jn,
2936
+ user: na,
2905
2937
  wishlist: {
2906
- ...jn
2938
+ ...Fn
2907
2939
  }
2908
- }, ua = {
2940
+ }, pa = {
2909
2941
  catalog: Ut,
2910
- search: ra,
2942
+ search: aa,
2911
2943
  product: Dt,
2912
2944
  cms: {
2913
2945
  ...Lt,
2914
- ...$t
2946
+ ...Ft
2915
2947
  }
2916
- }, da = {
2948
+ }, ma = {
2917
2949
  template: {
2918
2950
  pdp: {}
2919
2951
  }
2920
2952
  };
2921
2953
  export {
2922
- ca as serverAPIs,
2923
- la as serverCMS,
2924
- da as serverComponents,
2925
- ua as serverHelpers
2954
+ da as serverAPIs,
2955
+ ua as serverCMS,
2956
+ ma as serverComponents,
2957
+ pa as serverHelpers
2926
2958
  };