ui.shipaid.com 0.3.119 → 0.3.121

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/widget.es.js CHANGED
@@ -1448,7 +1448,7 @@ if (!customElements.get("checkout-package-protection")) {
1448
1448
  customElements.define("checkout-package-protection", CheckoutPackageProtection);
1449
1449
  }
1450
1450
  (function() {
1451
- var j, g2, te, N2, ae, le, re, ie, V2, Y, G, A2 = {}, de = [], $e = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, U = Array.isArray;
1451
+ var j, g2, te, N2, ae, le, ie, re, V2, Y, G, A2 = {}, de = [], $e = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, U = Array.isArray;
1452
1452
  function T2(n2, e3) {
1453
1453
  for (var o3 in e3) n2[o3] = e3[o3];
1454
1454
  return n2;
@@ -1457,14 +1457,14 @@ if (!customElements.get("checkout-package-protection")) {
1457
1457
  n2 && n2.parentNode && n2.parentNode.removeChild(n2);
1458
1458
  }
1459
1459
  function Ae(n2, e3, o3) {
1460
- var a2, r2, l2, i3 = {};
1461
- for (l2 in e3) l2 == "key" ? a2 = e3[l2] : l2 == "ref" ? r2 = e3[l2] : i3[l2] = e3[l2];
1462
- if (arguments.length > 2 && (i3.children = arguments.length > 3 ? j.call(arguments, 2) : o3), typeof n2 == "function" && n2.defaultProps != null) for (l2 in n2.defaultProps) i3[l2] === void 0 && (i3[l2] = n2.defaultProps[l2]);
1463
- return W(n2, i3, a2, r2, null);
1460
+ var a2, i3, l2, r2 = {};
1461
+ for (l2 in e3) l2 == "key" ? a2 = e3[l2] : l2 == "ref" ? i3 = e3[l2] : r2[l2] = e3[l2];
1462
+ if (arguments.length > 2 && (r2.children = arguments.length > 3 ? j.call(arguments, 2) : o3), typeof n2 == "function" && n2.defaultProps != null) for (l2 in n2.defaultProps) r2[l2] === void 0 && (r2[l2] = n2.defaultProps[l2]);
1463
+ return W(n2, r2, a2, i3, null);
1464
1464
  }
1465
- function W(n2, e3, o3, a2, r2) {
1466
- var l2 = { type: n2, props: e3, key: o3, ref: a2, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: r2 ?? ++te, __i: -1, __u: 0 };
1467
- return r2 == null && g2.vnode != null && g2.vnode(l2), l2;
1465
+ function W(n2, e3, o3, a2, i3) {
1466
+ var l2 = { type: n2, props: e3, key: o3, ref: a2, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: i3 ?? ++te, __i: -1, __u: 0 };
1467
+ return i3 == null && g2.vnode != null && g2.vnode(l2), l2;
1468
1468
  }
1469
1469
  function F(n2) {
1470
1470
  return n2.children;
@@ -1491,24 +1491,24 @@ if (!customElements.get("checkout-package-protection")) {
1491
1491
  (!n2.__d && (n2.__d = true) && N2.push(n2) && !O.__r++ || ae != g2.debounceRendering) && ((ae = g2.debounceRendering) || le)(O);
1492
1492
  }
1493
1493
  function O() {
1494
- for (var n2, e3, o3, a2, r2, l2, i3, d2 = 1; N2.length; ) N2.length > d2 && N2.sort(re), n2 = N2.shift(), d2 = N2.length, n2.__d && (o3 = void 0, r2 = (a2 = (e3 = n2).__v).__e, l2 = [], i3 = [], e3.__P && ((o3 = T2({}, a2)).__v = a2.__v + 1, g2.vnode && g2.vnode(o3), J(e3.__P, o3, a2, e3.__n, e3.__P.namespaceURI, 32 & a2.__u ? [r2] : null, l2, r2 ?? $2(a2), !!(32 & a2.__u), i3), o3.__v = a2.__v, o3.__.__k[o3.__i] = o3, ue(l2, o3, i3), o3.__e != r2 && se(o3)));
1494
+ for (var n2, e3, o3, a2, i3, l2, r2, d2 = 1; N2.length; ) N2.length > d2 && N2.sort(ie), n2 = N2.shift(), d2 = N2.length, n2.__d && (o3 = void 0, i3 = (a2 = (e3 = n2).__v).__e, l2 = [], r2 = [], e3.__P && ((o3 = T2({}, a2)).__v = a2.__v + 1, g2.vnode && g2.vnode(o3), J(e3.__P, o3, a2, e3.__n, e3.__P.namespaceURI, 32 & a2.__u ? [i3] : null, l2, i3 ?? $2(a2), !!(32 & a2.__u), r2), o3.__v = a2.__v, o3.__.__k[o3.__i] = o3, ue(l2, o3, r2), o3.__e != i3 && se(o3)));
1495
1495
  O.__r = 0;
1496
1496
  }
1497
- function _e(n2, e3, o3, a2, r2, l2, i3, d2, c2, s3, h2) {
1498
- var t2, m2, p2, b, y2, w2, f2 = a2 && a2.__k || de, u2 = e3.length;
1499
- for (c2 = Le(o3, e3, f2, c2, u2), t2 = 0; t2 < u2; t2++) (p2 = o3.__k[t2]) != null && (m2 = p2.__i == -1 ? A2 : f2[p2.__i] || A2, p2.__i = t2, w2 = J(n2, p2, m2, r2, l2, i3, d2, c2, s3, h2), b = p2.__e, p2.ref && m2.ref != p2.ref && (m2.ref && Q(m2.ref, null, p2), h2.push(p2.ref, p2.__c || b, p2)), y2 == null && b != null && (y2 = b), 4 & p2.__u || m2.__k === p2.__k ? c2 = me(p2, c2, n2) : typeof p2.type == "function" && w2 !== void 0 ? c2 = w2 : b && (c2 = b.nextSibling), p2.__u &= -7);
1497
+ function _e(n2, e3, o3, a2, i3, l2, r2, d2, c2, s3, h2) {
1498
+ var t2, p2, m2, b, y2, w2, f2 = a2 && a2.__k || de, u2 = e3.length;
1499
+ for (c2 = Le(o3, e3, f2, c2, u2), t2 = 0; t2 < u2; t2++) (m2 = o3.__k[t2]) != null && (p2 = m2.__i == -1 ? A2 : f2[m2.__i] || A2, m2.__i = t2, w2 = J(n2, m2, p2, i3, l2, r2, d2, c2, s3, h2), b = m2.__e, m2.ref && p2.ref != m2.ref && (p2.ref && Q(p2.ref, null, m2), h2.push(m2.ref, m2.__c || b, m2)), y2 == null && b != null && (y2 = b), 4 & m2.__u || p2.__k === m2.__k ? c2 = pe(m2, c2, n2) : typeof m2.type == "function" && w2 !== void 0 ? c2 = w2 : b && (c2 = b.nextSibling), m2.__u &= -7);
1500
1500
  return o3.__e = y2, c2;
1501
1501
  }
1502
- function Le(n2, e3, o3, a2, r2) {
1503
- var l2, i3, d2, c2, s3, h2 = o3.length, t2 = h2, m2 = 0;
1504
- for (n2.__k = new Array(r2), l2 = 0; l2 < r2; l2++) (i3 = e3[l2]) != null && typeof i3 != "boolean" && typeof i3 != "function" ? (c2 = l2 + m2, (i3 = n2.__k[l2] = typeof i3 == "string" || typeof i3 == "number" || typeof i3 == "bigint" || i3.constructor == String ? W(null, i3, null, null, null) : U(i3) ? W(F, { children: i3 }, null, null, null) : i3.constructor == null && i3.__b > 0 ? W(i3.type, i3.props, i3.key, i3.ref ? i3.ref : null, i3.__v) : i3).__ = n2, i3.__b = n2.__b + 1, d2 = null, (s3 = i3.__i = Me(i3, o3, c2, t2)) != -1 && (t2--, (d2 = o3[s3]) && (d2.__u |= 2)), d2 == null || d2.__v == null ? (s3 == -1 && (r2 > h2 ? m2-- : r2 < h2 && m2++), typeof i3.type != "function" && (i3.__u |= 4)) : s3 != c2 && (s3 == c2 - 1 ? m2-- : s3 == c2 + 1 ? m2++ : (s3 > c2 ? m2-- : m2++, i3.__u |= 4))) : n2.__k[l2] = null;
1502
+ function Le(n2, e3, o3, a2, i3) {
1503
+ var l2, r2, d2, c2, s3, h2 = o3.length, t2 = h2, p2 = 0;
1504
+ for (n2.__k = new Array(i3), l2 = 0; l2 < i3; l2++) (r2 = e3[l2]) != null && typeof r2 != "boolean" && typeof r2 != "function" ? (c2 = l2 + p2, (r2 = n2.__k[l2] = typeof r2 == "string" || typeof r2 == "number" || typeof r2 == "bigint" || r2.constructor == String ? W(null, r2, null, null, null) : U(r2) ? W(F, { children: r2 }, null, null, null) : r2.constructor == null && r2.__b > 0 ? W(r2.type, r2.props, r2.key, r2.ref ? r2.ref : null, r2.__v) : r2).__ = n2, r2.__b = n2.__b + 1, d2 = null, (s3 = r2.__i = Me(r2, o3, c2, t2)) != -1 && (t2--, (d2 = o3[s3]) && (d2.__u |= 2)), d2 == null || d2.__v == null ? (s3 == -1 && (i3 > h2 ? p2-- : i3 < h2 && p2++), typeof r2.type != "function" && (r2.__u |= 4)) : s3 != c2 && (s3 == c2 - 1 ? p2-- : s3 == c2 + 1 ? p2++ : (s3 > c2 ? p2-- : p2++, r2.__u |= 4))) : n2.__k[l2] = null;
1505
1505
  if (t2) for (l2 = 0; l2 < h2; l2++) (d2 = o3[l2]) != null && (2 & d2.__u) == 0 && (d2.__e == a2 && (a2 = $2(d2)), ge(d2, d2));
1506
1506
  return a2;
1507
1507
  }
1508
- function me(n2, e3, o3) {
1509
- var a2, r2;
1508
+ function pe(n2, e3, o3) {
1509
+ var a2, i3;
1510
1510
  if (typeof n2.type == "function") {
1511
- for (a2 = n2.__k, r2 = 0; a2 && r2 < a2.length; r2++) a2[r2] && (a2[r2].__ = n2, e3 = me(a2[r2], e3, o3));
1511
+ for (a2 = n2.__k, i3 = 0; a2 && i3 < a2.length; i3++) a2[i3] && (a2[i3].__ = n2, e3 = pe(a2[i3], e3, o3));
1512
1512
  return e3;
1513
1513
  }
1514
1514
  n2.__e != e3 && (e3 && n2.type && !o3.contains(e3) && (e3 = $2(n2)), o3.insertBefore(n2.__e, e3 || null), e3 = n2.__e);
@@ -1518,33 +1518,33 @@ if (!customElements.get("checkout-package-protection")) {
1518
1518
  return e3;
1519
1519
  }
1520
1520
  function Me(n2, e3, o3, a2) {
1521
- var r2, l2, i3 = n2.key, d2 = n2.type, c2 = e3[o3];
1522
- if (c2 === null && n2.key == null || c2 && i3 == c2.key && d2 == c2.type && (2 & c2.__u) == 0) return o3;
1523
- if (a2 > (c2 != null && (2 & c2.__u) == 0 ? 1 : 0)) for (r2 = o3 - 1, l2 = o3 + 1; r2 >= 0 || l2 < e3.length; ) {
1524
- if (r2 >= 0) {
1525
- if ((c2 = e3[r2]) && (2 & c2.__u) == 0 && i3 == c2.key && d2 == c2.type) return r2;
1526
- r2--;
1521
+ var i3, l2, r2 = n2.key, d2 = n2.type, c2 = e3[o3];
1522
+ if (c2 === null && n2.key == null || c2 && r2 == c2.key && d2 == c2.type && (2 & c2.__u) == 0) return o3;
1523
+ if (a2 > (c2 != null && (2 & c2.__u) == 0 ? 1 : 0)) for (i3 = o3 - 1, l2 = o3 + 1; i3 >= 0 || l2 < e3.length; ) {
1524
+ if (i3 >= 0) {
1525
+ if ((c2 = e3[i3]) && (2 & c2.__u) == 0 && r2 == c2.key && d2 == c2.type) return i3;
1526
+ i3--;
1527
1527
  }
1528
1528
  if (l2 < e3.length) {
1529
- if ((c2 = e3[l2]) && (2 & c2.__u) == 0 && i3 == c2.key && d2 == c2.type) return l2;
1529
+ if ((c2 = e3[l2]) && (2 & c2.__u) == 0 && r2 == c2.key && d2 == c2.type) return l2;
1530
1530
  l2++;
1531
1531
  }
1532
1532
  }
1533
1533
  return -1;
1534
1534
  }
1535
- function pe(n2, e3, o3) {
1535
+ function me(n2, e3, o3) {
1536
1536
  e3[0] == "-" ? n2.setProperty(e3, o3 ?? "") : n2[e3] = o3 == null ? "" : typeof o3 != "number" || $e.test(e3) ? o3 : o3 + "px";
1537
1537
  }
1538
- function X(n2, e3, o3, a2, r2) {
1539
- var l2, i3;
1538
+ function X(n2, e3, o3, a2, i3) {
1539
+ var l2, r2;
1540
1540
  e: if (e3 == "style") if (typeof o3 == "string") n2.style.cssText = o3;
1541
1541
  else {
1542
- if (typeof a2 == "string" && (n2.style.cssText = a2 = ""), a2) for (e3 in a2) o3 && e3 in o3 || pe(n2.style, e3, "");
1543
- if (o3) for (e3 in o3) a2 && o3[e3] == a2[e3] || pe(n2.style, e3, o3[e3]);
1542
+ if (typeof a2 == "string" && (n2.style.cssText = a2 = ""), a2) for (e3 in a2) o3 && e3 in o3 || me(n2.style, e3, "");
1543
+ if (o3) for (e3 in o3) a2 && o3[e3] == a2[e3] || me(n2.style, e3, o3[e3]);
1544
1544
  }
1545
- else if (e3[0] == "o" && e3[1] == "n") l2 = e3 != (e3 = e3.replace(ie, "$1")), i3 = e3.toLowerCase(), e3 = i3 in n2 || e3 == "onFocusOut" || e3 == "onFocusIn" ? i3.slice(2) : e3.slice(2), n2.l || (n2.l = {}), n2.l[e3 + l2] = o3, o3 ? a2 ? o3.u = a2.u : (o3.u = V2, n2.addEventListener(e3, l2 ? G : Y, l2)) : n2.removeEventListener(e3, l2 ? G : Y, l2);
1545
+ else if (e3[0] == "o" && e3[1] == "n") l2 = e3 != (e3 = e3.replace(re, "$1")), r2 = e3.toLowerCase(), e3 = r2 in n2 || e3 == "onFocusOut" || e3 == "onFocusIn" ? r2.slice(2) : e3.slice(2), n2.l || (n2.l = {}), n2.l[e3 + l2] = o3, o3 ? a2 ? o3.u = a2.u : (o3.u = V2, n2.addEventListener(e3, l2 ? G : Y, l2)) : n2.removeEventListener(e3, l2 ? G : Y, l2);
1546
1546
  else {
1547
- if (r2 == "http://www.w3.org/2000/svg") e3 = e3.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
1547
+ if (i3 == "http://www.w3.org/2000/svg") e3 = e3.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
1548
1548
  else if (e3 != "width" && e3 != "height" && e3 != "href" && e3 != "list" && e3 != "form" && e3 != "tabIndex" && e3 != "download" && e3 != "rowSpan" && e3 != "colSpan" && e3 != "role" && e3 != "popover" && e3 in n2) try {
1549
1549
  n2[e3] = o3 ?? "";
1550
1550
  break e;
@@ -1563,31 +1563,31 @@ if (!customElements.get("checkout-package-protection")) {
1563
1563
  }
1564
1564
  };
1565
1565
  }
1566
- function J(n2, e3, o3, a2, r2, l2, i3, d2, c2, s3) {
1567
- var h2, t2, m2, p2, b, y2, w2, f2, u2, H2, S2, k2, C2, E2, R2, M2, oe, P2 = e3.type;
1566
+ function J(n2, e3, o3, a2, i3, l2, r2, d2, c2, s3) {
1567
+ var h2, t2, p2, m2, b, y2, w2, f2, u2, H2, S2, k2, P2, E2, R2, M2, oe, C2 = e3.type;
1568
1568
  if (e3.constructor != null) return null;
1569
1569
  128 & o3.__u && (c2 = !!(32 & o3.__u), l2 = [d2 = e3.__e = o3.__e]), (h2 = g2.__b) && h2(e3);
1570
- e: if (typeof P2 == "function") try {
1571
- if (f2 = e3.props, u2 = "prototype" in P2 && P2.prototype.render, H2 = (h2 = P2.contextType) && a2[h2.__c], S2 = h2 ? H2 ? H2.props.value : h2.__ : a2, o3.__c ? w2 = (t2 = e3.__c = o3.__c).__ = t2.__E : (u2 ? e3.__c = t2 = new P2(f2, S2) : (e3.__c = t2 = new I2(f2, S2), t2.constructor = P2, t2.render = je), H2 && H2.sub(t2), t2.props = f2, t2.state || (t2.state = {}), t2.context = S2, t2.__n = a2, m2 = t2.__d = true, t2.__h = [], t2._sb = []), u2 && t2.__s == null && (t2.__s = t2.state), u2 && P2.getDerivedStateFromProps != null && (t2.__s == t2.state && (t2.__s = T2({}, t2.__s)), T2(t2.__s, P2.getDerivedStateFromProps(f2, t2.__s))), p2 = t2.props, b = t2.state, t2.__v = e3, m2) u2 && P2.getDerivedStateFromProps == null && t2.componentWillMount != null && t2.componentWillMount(), u2 && t2.componentDidMount != null && t2.__h.push(t2.componentDidMount);
1570
+ e: if (typeof C2 == "function") try {
1571
+ if (f2 = e3.props, u2 = "prototype" in C2 && C2.prototype.render, H2 = (h2 = C2.contextType) && a2[h2.__c], S2 = h2 ? H2 ? H2.props.value : h2.__ : a2, o3.__c ? w2 = (t2 = e3.__c = o3.__c).__ = t2.__E : (u2 ? e3.__c = t2 = new C2(f2, S2) : (e3.__c = t2 = new I2(f2, S2), t2.constructor = C2, t2.render = je), H2 && H2.sub(t2), t2.props = f2, t2.state || (t2.state = {}), t2.context = S2, t2.__n = a2, p2 = t2.__d = true, t2.__h = [], t2._sb = []), u2 && t2.__s == null && (t2.__s = t2.state), u2 && C2.getDerivedStateFromProps != null && (t2.__s == t2.state && (t2.__s = T2({}, t2.__s)), T2(t2.__s, C2.getDerivedStateFromProps(f2, t2.__s))), m2 = t2.props, b = t2.state, t2.__v = e3, p2) u2 && C2.getDerivedStateFromProps == null && t2.componentWillMount != null && t2.componentWillMount(), u2 && t2.componentDidMount != null && t2.__h.push(t2.componentDidMount);
1572
1572
  else {
1573
- if (u2 && P2.getDerivedStateFromProps == null && f2 !== p2 && t2.componentWillReceiveProps != null && t2.componentWillReceiveProps(f2, S2), !t2.__e && t2.shouldComponentUpdate != null && t2.shouldComponentUpdate(f2, t2.__s, S2) === false || e3.__v == o3.__v) {
1573
+ if (u2 && C2.getDerivedStateFromProps == null && f2 !== m2 && t2.componentWillReceiveProps != null && t2.componentWillReceiveProps(f2, S2), !t2.__e && t2.shouldComponentUpdate != null && t2.shouldComponentUpdate(f2, t2.__s, S2) === false || e3.__v == o3.__v) {
1574
1574
  for (e3.__v != o3.__v && (t2.props = f2, t2.state = t2.__s, t2.__d = false), e3.__e = o3.__e, e3.__k = o3.__k, e3.__k.some(function(z2) {
1575
1575
  z2 && (z2.__ = e3);
1576
1576
  }), k2 = 0; k2 < t2._sb.length; k2++) t2.__h.push(t2._sb[k2]);
1577
- t2._sb = [], t2.__h.length && i3.push(t2);
1577
+ t2._sb = [], t2.__h.length && r2.push(t2);
1578
1578
  break e;
1579
1579
  }
1580
1580
  t2.componentWillUpdate != null && t2.componentWillUpdate(f2, t2.__s, S2), u2 && t2.componentDidUpdate != null && t2.__h.push(function() {
1581
- t2.componentDidUpdate(p2, b, y2);
1581
+ t2.componentDidUpdate(m2, b, y2);
1582
1582
  });
1583
1583
  }
1584
- if (t2.context = S2, t2.props = f2, t2.__P = n2, t2.__e = false, C2 = g2.__r, E2 = 0, u2) {
1585
- for (t2.state = t2.__s, t2.__d = false, C2 && C2(e3), h2 = t2.render(t2.props, t2.state, t2.context), R2 = 0; R2 < t2._sb.length; R2++) t2.__h.push(t2._sb[R2]);
1584
+ if (t2.context = S2, t2.props = f2, t2.__P = n2, t2.__e = false, P2 = g2.__r, E2 = 0, u2) {
1585
+ for (t2.state = t2.__s, t2.__d = false, P2 && P2(e3), h2 = t2.render(t2.props, t2.state, t2.context), R2 = 0; R2 < t2._sb.length; R2++) t2.__h.push(t2._sb[R2]);
1586
1586
  t2._sb = [];
1587
1587
  } else do
1588
- t2.__d = false, C2 && C2(e3), h2 = t2.render(t2.props, t2.state, t2.context), t2.state = t2.__s;
1588
+ t2.__d = false, P2 && P2(e3), h2 = t2.render(t2.props, t2.state, t2.context), t2.state = t2.__s;
1589
1589
  while (t2.__d && ++E2 < 25);
1590
- t2.state = t2.__s, t2.getChildContext != null && (a2 = T2(T2({}, a2), t2.getChildContext())), u2 && !m2 && t2.getSnapshotBeforeUpdate != null && (y2 = t2.getSnapshotBeforeUpdate(p2, b)), M2 = h2, h2 != null && h2.type === F && h2.key == null && (M2 = fe(h2.props.children)), d2 = _e(n2, U(M2) ? M2 : [M2], e3, o3, a2, r2, l2, i3, d2, c2, s3), t2.base = e3.__e, e3.__u &= -161, t2.__h.length && i3.push(t2), w2 && (t2.__E = t2.__ = null);
1590
+ t2.state = t2.__s, t2.getChildContext != null && (a2 = T2(T2({}, a2), t2.getChildContext())), u2 && !p2 && t2.getSnapshotBeforeUpdate != null && (y2 = t2.getSnapshotBeforeUpdate(m2, b)), M2 = h2, h2 != null && h2.type === F && h2.key == null && (M2 = fe(h2.props.children)), d2 = _e(n2, U(M2) ? M2 : [M2], e3, o3, a2, i3, l2, r2, d2, c2, s3), t2.base = e3.__e, e3.__u &= -161, t2.__h.length && r2.push(t2), w2 && (t2.__E = t2.__ = null);
1591
1591
  } catch (z2) {
1592
1592
  if (e3.__v = null, c2 || l2 != null) if (z2.then) {
1593
1593
  for (e3.__u |= c2 ? 160 : 128; d2 && d2.nodeType == 8 && d2.nextSibling; ) d2 = d2.nextSibling;
@@ -1596,50 +1596,50 @@ if (!customElements.get("checkout-package-protection")) {
1596
1596
  else e3.__e = o3.__e, e3.__k = o3.__k;
1597
1597
  g2.__e(z2, e3, o3);
1598
1598
  }
1599
- else l2 == null && e3.__v == o3.__v ? (e3.__k = o3.__k, e3.__e = o3.__e) : d2 = e3.__e = ze(o3.__e, e3, o3, a2, r2, l2, i3, c2, s3);
1599
+ else l2 == null && e3.__v == o3.__v ? (e3.__k = o3.__k, e3.__e = o3.__e) : d2 = e3.__e = ze(o3.__e, e3, o3, a2, i3, l2, r2, c2, s3);
1600
1600
  return (h2 = g2.diffed) && h2(e3), 128 & e3.__u ? void 0 : d2;
1601
1601
  }
1602
1602
  function ue(n2, e3, o3) {
1603
1603
  for (var a2 = 0; a2 < o3.length; a2++) Q(o3[a2], o3[++a2], o3[++a2]);
1604
- g2.__c && g2.__c(e3, n2), n2.some(function(r2) {
1604
+ g2.__c && g2.__c(e3, n2), n2.some(function(i3) {
1605
1605
  try {
1606
- n2 = r2.__h, r2.__h = [], n2.some(function(l2) {
1607
- l2.call(r2);
1606
+ n2 = i3.__h, i3.__h = [], n2.some(function(l2) {
1607
+ l2.call(i3);
1608
1608
  });
1609
1609
  } catch (l2) {
1610
- g2.__e(l2, r2.__v);
1610
+ g2.__e(l2, i3.__v);
1611
1611
  }
1612
1612
  });
1613
1613
  }
1614
1614
  function fe(n2) {
1615
1615
  return typeof n2 != "object" || n2 == null || n2.__b && n2.__b > 0 ? n2 : U(n2) ? n2.map(fe) : T2({}, n2);
1616
1616
  }
1617
- function ze(n2, e3, o3, a2, r2, l2, i3, d2, c2) {
1618
- var s3, h2, t2, m2, p2, b, y2, w2 = o3.props, f2 = e3.props, u2 = e3.type;
1619
- if (u2 == "svg" ? r2 = "http://www.w3.org/2000/svg" : u2 == "math" ? r2 = "http://www.w3.org/1998/Math/MathML" : r2 || (r2 = "http://www.w3.org/1999/xhtml"), l2 != null) {
1620
- for (s3 = 0; s3 < l2.length; s3++) if ((p2 = l2[s3]) && "setAttribute" in p2 == !!u2 && (u2 ? p2.localName == u2 : p2.nodeType == 3)) {
1621
- n2 = p2, l2[s3] = null;
1617
+ function ze(n2, e3, o3, a2, i3, l2, r2, d2, c2) {
1618
+ var s3, h2, t2, p2, m2, b, y2, w2 = o3.props, f2 = e3.props, u2 = e3.type;
1619
+ if (u2 == "svg" ? i3 = "http://www.w3.org/2000/svg" : u2 == "math" ? i3 = "http://www.w3.org/1998/Math/MathML" : i3 || (i3 = "http://www.w3.org/1999/xhtml"), l2 != null) {
1620
+ for (s3 = 0; s3 < l2.length; s3++) if ((m2 = l2[s3]) && "setAttribute" in m2 == !!u2 && (u2 ? m2.localName == u2 : m2.nodeType == 3)) {
1621
+ n2 = m2, l2[s3] = null;
1622
1622
  break;
1623
1623
  }
1624
1624
  }
1625
1625
  if (n2 == null) {
1626
1626
  if (u2 == null) return document.createTextNode(f2);
1627
- n2 = document.createElementNS(r2, u2, f2.is && f2), d2 && (g2.__m && g2.__m(e3, l2), d2 = false), l2 = null;
1627
+ n2 = document.createElementNS(i3, u2, f2.is && f2), d2 && (g2.__m && g2.__m(e3, l2), d2 = false), l2 = null;
1628
1628
  }
1629
1629
  if (u2 == null) w2 === f2 || d2 && n2.data == f2 || (n2.data = f2);
1630
1630
  else {
1631
- if (l2 = l2 && j.call(n2.childNodes), w2 = o3.props || A2, !d2 && l2 != null) for (w2 = {}, s3 = 0; s3 < n2.attributes.length; s3++) w2[(p2 = n2.attributes[s3]).name] = p2.value;
1632
- for (s3 in w2) if (p2 = w2[s3], s3 != "children") {
1633
- if (s3 == "dangerouslySetInnerHTML") t2 = p2;
1631
+ if (l2 = l2 && j.call(n2.childNodes), w2 = o3.props || A2, !d2 && l2 != null) for (w2 = {}, s3 = 0; s3 < n2.attributes.length; s3++) w2[(m2 = n2.attributes[s3]).name] = m2.value;
1632
+ for (s3 in w2) if (m2 = w2[s3], s3 != "children") {
1633
+ if (s3 == "dangerouslySetInnerHTML") t2 = m2;
1634
1634
  else if (!(s3 in f2)) {
1635
1635
  if (s3 == "value" && "defaultValue" in f2 || s3 == "checked" && "defaultChecked" in f2) continue;
1636
- X(n2, s3, null, p2, r2);
1636
+ X(n2, s3, null, m2, i3);
1637
1637
  }
1638
1638
  }
1639
- for (s3 in f2) p2 = f2[s3], s3 == "children" ? m2 = p2 : s3 == "dangerouslySetInnerHTML" ? h2 = p2 : s3 == "value" ? b = p2 : s3 == "checked" ? y2 = p2 : d2 && typeof p2 != "function" || w2[s3] === p2 || X(n2, s3, p2, w2[s3], r2);
1639
+ for (s3 in f2) m2 = f2[s3], s3 == "children" ? p2 = m2 : s3 == "dangerouslySetInnerHTML" ? h2 = m2 : s3 == "value" ? b = m2 : s3 == "checked" ? y2 = m2 : d2 && typeof m2 != "function" || w2[s3] === m2 || X(n2, s3, m2, w2[s3], i3);
1640
1640
  if (h2) d2 || t2 && (h2.__html == t2.__html || h2.__html == n2.innerHTML) || (n2.innerHTML = h2.__html), e3.__k = [];
1641
- else if (t2 && (n2.innerHTML = ""), _e(e3.type == "template" ? n2.content : n2, U(m2) ? m2 : [m2], e3, o3, a2, u2 == "foreignObject" ? "http://www.w3.org/1999/xhtml" : r2, l2, i3, l2 ? l2[0] : o3.__k && $2(o3, 0), d2, c2), l2 != null) for (s3 = l2.length; s3--; ) K(l2[s3]);
1642
- d2 || (s3 = "value", u2 == "progress" && b == null ? n2.removeAttribute("value") : b != null && (b !== n2[s3] || u2 == "progress" && !b || u2 == "option" && b != w2[s3]) && X(n2, s3, b, w2[s3], r2), s3 = "checked", y2 != null && y2 != n2[s3] && X(n2, s3, y2, w2[s3], r2));
1641
+ else if (t2 && (n2.innerHTML = ""), _e(e3.type == "template" ? n2.content : n2, U(p2) ? p2 : [p2], e3, o3, a2, u2 == "foreignObject" ? "http://www.w3.org/1999/xhtml" : i3, l2, r2, l2 ? l2[0] : o3.__k && $2(o3, 0), d2, c2), l2 != null) for (s3 = l2.length; s3--; ) K(l2[s3]);
1642
+ d2 || (s3 = "value", u2 == "progress" && b == null ? n2.removeAttribute("value") : b != null && (b !== n2[s3] || u2 == "progress" && !b || u2 == "option" && b != w2[s3]) && X(n2, s3, b, w2[s3], i3), s3 = "checked", y2 != null && y2 != n2[s3] && X(n2, s3, y2, w2[s3], i3));
1643
1643
  }
1644
1644
  return n2;
1645
1645
  }
@@ -1649,12 +1649,12 @@ if (!customElements.get("checkout-package-protection")) {
1649
1649
  var a2 = typeof n2.__u == "function";
1650
1650
  a2 && n2.__u(), a2 && e3 == null || (n2.__u = n2(e3));
1651
1651
  } else n2.current = e3;
1652
- } catch (r2) {
1653
- g2.__e(r2, o3);
1652
+ } catch (i3) {
1653
+ g2.__e(i3, o3);
1654
1654
  }
1655
1655
  }
1656
1656
  function ge(n2, e3, o3) {
1657
- var a2, r2;
1657
+ var a2, i3;
1658
1658
  if (g2.unmount && g2.unmount(n2), (a2 = n2.ref) && (a2.current && a2.current != n2.__e || Q(a2, null, e3)), (a2 = n2.__c) != null) {
1659
1659
  if (a2.componentWillUnmount) try {
1660
1660
  a2.componentWillUnmount();
@@ -1663,19 +1663,19 @@ if (!customElements.get("checkout-package-protection")) {
1663
1663
  }
1664
1664
  a2.base = a2.__P = null;
1665
1665
  }
1666
- if (a2 = n2.__k) for (r2 = 0; r2 < a2.length; r2++) a2[r2] && ge(a2[r2], e3, o3 || typeof n2.type != "function");
1666
+ if (a2 = n2.__k) for (i3 = 0; i3 < a2.length; i3++) a2[i3] && ge(a2[i3], e3, o3 || typeof n2.type != "function");
1667
1667
  o3 || K(n2.__e), n2.__c = n2.__ = n2.__e = void 0;
1668
1668
  }
1669
1669
  function je(n2, e3, o3) {
1670
1670
  return this.constructor(n2, o3);
1671
1671
  }
1672
1672
  function be(n2, e3, o3) {
1673
- var a2, r2, l2, i3;
1674
- e3 == document && (e3 = document.documentElement), g2.__ && g2.__(n2, e3), r2 = (a2 = false) ? null : e3.__k, l2 = [], i3 = [], J(e3, n2 = e3.__k = Ae(F, null, [n2]), r2 || A2, A2, e3.namespaceURI, r2 ? null : e3.firstChild ? j.call(e3.childNodes) : null, l2, r2 ? r2.__e : e3.firstChild, a2, i3), ue(l2, n2, i3);
1673
+ var a2, i3, l2, r2;
1674
+ e3 == document && (e3 = document.documentElement), g2.__ && g2.__(n2, e3), i3 = (a2 = false) ? null : e3.__k, l2 = [], r2 = [], J(e3, n2 = e3.__k = Ae(F, null, [n2]), i3 || A2, A2, e3.namespaceURI, i3 ? null : e3.firstChild ? j.call(e3.childNodes) : null, l2, i3 ? i3.__e : e3.firstChild, a2, r2), ue(l2, n2, r2);
1675
1675
  }
1676
1676
  j = de.slice, g2 = { __e: function(n2, e3, o3, a2) {
1677
- for (var r2, l2, i3; e3 = e3.__; ) if ((r2 = e3.__c) && !r2.__) try {
1678
- if ((l2 = r2.constructor) && l2.getDerivedStateFromError != null && (r2.setState(l2.getDerivedStateFromError(n2)), i3 = r2.__d), r2.componentDidCatch != null && (r2.componentDidCatch(n2, a2 || {}), i3 = r2.__d), i3) return r2.__E = r2;
1677
+ for (var i3, l2, r2; e3 = e3.__; ) if ((i3 = e3.__c) && !i3.__) try {
1678
+ if ((l2 = i3.constructor) && l2.getDerivedStateFromError != null && (i3.setState(l2.getDerivedStateFromError(n2)), r2 = i3.__d), i3.componentDidCatch != null && (i3.componentDidCatch(n2, a2 || {}), r2 = i3.__d), r2) return i3.__E = i3;
1679
1679
  } catch (d2) {
1680
1680
  n2 = d2;
1681
1681
  }
@@ -1685,16 +1685,16 @@ if (!customElements.get("checkout-package-protection")) {
1685
1685
  o3 = this.__s != null && this.__s != this.state ? this.__s : this.__s = T2({}, this.state), typeof n2 == "function" && (n2 = n2(T2({}, o3), this.props)), n2 && T2(o3, n2), n2 != null && this.__v && (e3 && this._sb.push(e3), ce(this));
1686
1686
  }, I2.prototype.forceUpdate = function(n2) {
1687
1687
  this.__v && (this.__e = true, n2 && this.__h.push(n2), ce(this));
1688
- }, I2.prototype.render = F, N2 = [], le = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, re = function(n2, e3) {
1688
+ }, I2.prototype.render = F, N2 = [], le = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, ie = function(n2, e3) {
1689
1689
  return n2.__v.__b - e3.__v.__b;
1690
- }, O.__r = 0, ie = /(PointerCapture)$|Capture$/i, V2 = 0, Y = he(false), G = he(true);
1690
+ }, O.__r = 0, re = /(PointerCapture)$|Capture$/i, V2 = 0, Y = he(false), G = he(true);
1691
1691
  var Ue = 0;
1692
- function _2(n2, e3, o3, a2, r2, l2) {
1692
+ function _2(n2, e3, o3, a2, i3, l2) {
1693
1693
  e3 || (e3 = {});
1694
- var i3, d2, c2 = e3;
1695
- if ("ref" in c2) for (d2 in c2 = {}, e3) d2 == "ref" ? i3 = e3[d2] : c2[d2] = e3[d2];
1696
- var s3 = { type: n2, props: c2, key: o3, ref: i3, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --Ue, __i: -1, __u: 0, __source: r2, __self: l2 };
1697
- if (typeof n2 == "function" && (i3 = n2.defaultProps)) for (d2 in i3) c2[d2] === void 0 && (c2[d2] = i3[d2]);
1694
+ var r2, d2, c2 = e3;
1695
+ if ("ref" in c2) for (d2 in c2 = {}, e3) d2 == "ref" ? r2 = e3[d2] : c2[d2] = e3[d2];
1696
+ var s3 = { type: n2, props: c2, key: o3, ref: r2, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --Ue, __i: -1, __u: 0, __source: i3, __self: l2 };
1697
+ if (typeof n2 == "function" && (r2 = n2.defaultProps)) for (d2 in r2) c2[d2] === void 0 && (c2[d2] = r2[d2]);
1698
1698
  return g2.vnode && g2.vnode(s3), s3;
1699
1699
  }
1700
1700
  /*!
@@ -1706,29 +1706,29 @@ if (!customElements.get("checkout-package-protection")) {
1706
1706
  * @license MIT
1707
1707
  */
1708
1708
  (function(n2, e3) {
1709
- "initCustomEvent" in e3.createEvent("CustomEvent") && (n2.CustomEvent = function(t2, m2) {
1710
- m2 = m2 || { bubbles: false, cancelable: false, detail: void 0 };
1711
- var p2 = e3.createEvent("CustomEvent");
1712
- return p2.initCustomEvent(t2, m2.bubbles, m2.cancelable, m2.detail), p2;
1709
+ "initCustomEvent" in e3.createEvent("CustomEvent") && (n2.CustomEvent = function(t2, p2) {
1710
+ p2 = p2 || { bubbles: false, cancelable: false, detail: void 0 };
1711
+ var m2 = e3.createEvent("CustomEvent");
1712
+ return m2.initCustomEvent(t2, p2.bubbles, p2.cancelable, p2.detail), m2;
1713
1713
  }, n2.CustomEvent.prototype = n2.Event.prototype), e3.addEventListener("touchstart", s3, false), e3.addEventListener("touchmove", h2, false), e3.addEventListener("touchend", c2, false);
1714
- var o3 = null, a2 = null, r2 = null, l2 = null, i3 = null, d2 = null;
1714
+ var o3 = null, a2 = null, i3 = null, l2 = null, r2 = null, d2 = null;
1715
1715
  function c2(t2) {
1716
1716
  if (d2 === t2.target) {
1717
- var m2 = parseInt(d2.getAttribute("data-swipe-threshold") || "20", 10), p2 = parseInt(d2.getAttribute("data-swipe-timeout") || "500", 10), b = Date.now() - i3, y2 = "";
1718
- Math.abs(r2) > Math.abs(l2) ? Math.abs(r2) > m2 && b < p2 && (r2 > 0 ? y2 = "swiped-left" : y2 = "swiped-right") : Math.abs(l2) > m2 && b < p2 && (l2 > 0 ? y2 = "swiped-up" : y2 = "swiped-down"), y2 !== "" && d2.dispatchEvent(new CustomEvent(y2, { bubbles: true, cancelable: true })), o3 = null, a2 = null, i3 = null;
1717
+ var p2 = parseInt(d2.getAttribute("data-swipe-threshold") || "20", 10), m2 = parseInt(d2.getAttribute("data-swipe-timeout") || "500", 10), b = Date.now() - r2, y2 = "";
1718
+ Math.abs(i3) > Math.abs(l2) ? Math.abs(i3) > p2 && b < m2 && (i3 > 0 ? y2 = "swiped-left" : y2 = "swiped-right") : Math.abs(l2) > p2 && b < m2 && (l2 > 0 ? y2 = "swiped-up" : y2 = "swiped-down"), y2 !== "" && d2.dispatchEvent(new CustomEvent(y2, { bubbles: true, cancelable: true })), o3 = null, a2 = null, r2 = null;
1719
1719
  }
1720
1720
  }
1721
1721
  function s3(t2) {
1722
- t2.target.getAttribute("data-swipe-ignore") !== "true" && (d2 = t2.target, i3 = Date.now(), o3 = t2.touches[0].clientX, a2 = t2.touches[0].clientY, r2 = 0, l2 = 0);
1722
+ t2.target.getAttribute("data-swipe-ignore") !== "true" && (d2 = t2.target, r2 = Date.now(), o3 = t2.touches[0].clientX, a2 = t2.touches[0].clientY, i3 = 0, l2 = 0);
1723
1723
  }
1724
1724
  function h2(t2) {
1725
1725
  if (!(!o3 || !a2)) {
1726
- var m2 = t2.touches[0].clientX, p2 = t2.touches[0].clientY;
1727
- r2 = o3 - m2, l2 = a2 - p2;
1726
+ var p2 = t2.touches[0].clientX, m2 = t2.touches[0].clientY;
1727
+ i3 = o3 - p2, l2 = a2 - m2;
1728
1728
  }
1729
1729
  }
1730
1730
  })(window, document);
1731
- var L2, v2, Z2, ve, q = 0, xe = [], x2 = g2, ye = x2.__b, we = x2.__r, ke = x2.diffed, Ee = x2.__c, Se = x2.unmount, Ce = x2.__;
1731
+ var L2, v2, Z2, ve, q = 0, xe = [], x2 = g2, ye = x2.__b, we = x2.__r, ke = x2.diffed, Ee = x2.__c, Se = x2.unmount, Pe = x2.__;
1732
1732
  function ee(n2, e3) {
1733
1733
  x2.__h && x2.__h(v2, n2, q || e3), q = 0;
1734
1734
  var o3 = v2.__H || (v2.__H = { __: [], __h: [] });
@@ -1743,35 +1743,35 @@ if (!customElements.get("checkout-package-protection")) {
1743
1743
  var c2 = a2.__N ? a2.__N[0] : a2.__[0], s3 = a2.t(c2, d2);
1744
1744
  c2 !== s3 && (a2.__N = [s3, a2.__[1]], a2.__c.setState({}));
1745
1745
  }], a2.__c = v2, !v2.__f)) {
1746
- var r2 = function(d2, c2, s3) {
1746
+ var i3 = function(d2, c2, s3) {
1747
1747
  if (!a2.__c.__H) return true;
1748
- var h2 = a2.__c.__H.__.filter(function(m2) {
1749
- return !!m2.__c;
1748
+ var h2 = a2.__c.__H.__.filter(function(p2) {
1749
+ return !!p2.__c;
1750
1750
  });
1751
- if (h2.every(function(m2) {
1752
- return !m2.__N;
1751
+ if (h2.every(function(p2) {
1752
+ return !p2.__N;
1753
1753
  })) return !l2 || l2.call(this, d2, c2, s3);
1754
1754
  var t2 = a2.__c.props !== d2;
1755
- return h2.forEach(function(m2) {
1756
- if (m2.__N) {
1757
- var p2 = m2.__[0];
1758
- m2.__ = m2.__N, m2.__N = void 0, p2 !== m2.__[0] && (t2 = true);
1755
+ return h2.forEach(function(p2) {
1756
+ if (p2.__N) {
1757
+ var m2 = p2.__[0];
1758
+ p2.__ = p2.__N, p2.__N = void 0, m2 !== p2.__[0] && (t2 = true);
1759
1759
  }
1760
1760
  }), l2 && l2.call(this, d2, c2, s3) || t2;
1761
1761
  };
1762
1762
  v2.__f = true;
1763
- var l2 = v2.shouldComponentUpdate, i3 = v2.componentWillUpdate;
1763
+ var l2 = v2.shouldComponentUpdate, r2 = v2.componentWillUpdate;
1764
1764
  v2.componentWillUpdate = function(d2, c2, s3) {
1765
1765
  if (this.__e) {
1766
1766
  var h2 = l2;
1767
- l2 = void 0, r2(d2, c2, s3), l2 = h2;
1767
+ l2 = void 0, i3(d2, c2, s3), l2 = h2;
1768
1768
  }
1769
- i3 && i3.call(this, d2, c2, s3);
1770
- }, v2.shouldComponentUpdate = r2;
1769
+ r2 && r2.call(this, d2, c2, s3);
1770
+ }, v2.shouldComponentUpdate = i3;
1771
1771
  }
1772
1772
  return a2.__N || a2.__;
1773
1773
  }
1774
- function Pe(n2, e3) {
1774
+ function Ce(n2, e3) {
1775
1775
  var o3 = ee(L2++, 3);
1776
1776
  !x2.__s && De(o3.__H, e3) && (o3.__ = n2, o3.u = e3, v2.__H.__h.push(o3));
1777
1777
  }
@@ -1794,7 +1794,7 @@ if (!customElements.get("checkout-package-protection")) {
1794
1794
  x2.__b = function(n2) {
1795
1795
  v2 = null, ye && ye(n2);
1796
1796
  }, x2.__ = function(n2, e3) {
1797
- n2 && e3.__k && e3.__k.__m && (n2.__m = e3.__k.__m), Ce && Ce(n2, e3);
1797
+ n2 && e3.__k && e3.__k.__m && (n2.__m = e3.__k.__m), Pe && Pe(n2, e3);
1798
1798
  }, x2.__r = function(n2) {
1799
1799
  we && we(n2), L2 = 0;
1800
1800
  var e3 = (v2 = n2.__c).__H;
@@ -1814,8 +1814,8 @@ if (!customElements.get("checkout-package-protection")) {
1814
1814
  return !a2.__ || ne(a2);
1815
1815
  });
1816
1816
  } catch (a2) {
1817
- e3.some(function(r2) {
1818
- r2.__h && (r2.__h = []);
1817
+ e3.some(function(i3) {
1818
+ i3.__h && (i3.__h = []);
1819
1819
  }), e3 = [], x2.__e(a2, o3.__v);
1820
1820
  }
1821
1821
  }), Ee && Ee(n2, e3);
@@ -1825,8 +1825,8 @@ if (!customElements.get("checkout-package-protection")) {
1825
1825
  o3 && o3.__H && (o3.__H.__.forEach(function(a2) {
1826
1826
  try {
1827
1827
  B2(a2);
1828
- } catch (r2) {
1829
- e3 = r2;
1828
+ } catch (i3) {
1829
+ e3 = i3;
1830
1830
  }
1831
1831
  }), o3.__H = void 0, e3 && x2.__e(e3, o3.__v));
1832
1832
  };
@@ -1989,52 +1989,52 @@ if (!customElements.get("checkout-package-protection")) {
1989
1989
  /* Slide 1 */
1990
1990
 
1991
1991
  .shipaid-global-modal .modal-overlay .modal-content .modal-boxes-container .modal-boxes-wrapper .modal-box .slide-one {
1992
- background-image: url('https://res.cloudinary.com/shipaid/image/upload/v1756301260/Cart%20Extension/1_wuoucw.png');
1992
+ background-image: url('https://res.cloudinary.com/shipaid/image/upload/v1756301260/1_wuoucw.png');
1993
1993
  background-size: cover;
1994
1994
  background-position: center;
1995
1995
  }
1996
1996
 
1997
1997
  /* Slide 2 */
1998
1998
  .shipaid-global-modal .modal-overlay .modal-content .modal-boxes-container .modal-boxes-wrapper .modal-box .slide-two {
1999
- background-image: url('https://res.cloudinary.com/shipaid/image/upload/v1754503970/Cart%20Extension/Instant_Package_Protection_4_bdl2sq.png');
1999
+ background-image: url('https://res.cloudinary.com/shipaid/image/upload/v1754503970/Instant_Package_Protection_4_bdl2sq.png');
2000
2000
  background-size: 121%;
2001
2001
  background-position: center 100%;
2002
2002
  background-repeat: no-repeat;
2003
2003
  align-items: center;
2004
- padding: 1rem;
2004
+ padding: 10.5px;
2005
2005
  color: #222;
2006
2006
  }
2007
2007
 
2008
2008
  .shipaid-global-modal .modal-overlay .modal-content .modal-boxes-container .modal-boxes-wrapper .modal-box .slide-two .title {
2009
- font-size: 5.5rem;
2009
+ font-size: 57.75px;
2010
2010
  font-weight: 700;
2011
2011
  color: #0056F0;
2012
- margin: 1.1rem 0 0;
2012
+ margin: 11.55px 0 0;
2013
2013
  line-height: 38.5px;
2014
2014
  }
2015
2015
 
2016
2016
  .shipaid-global-modal .modal-overlay .modal-content .modal-boxes-container .modal-boxes-wrapper .modal-box .slide-two .subtitle {
2017
- font-size: 1.6rem;
2017
+ font-size: 16.8px;
2018
2018
  font-weight: 800;
2019
2019
  max-width: 420px;
2020
2020
  text-align: justify;
2021
2021
  line-height: 1.2;
2022
2022
  margin: 20px 0 0;
2023
- padding: 0 2.3rem;
2023
+ padding: 0 24.15px;
2024
2024
  }
2025
2025
 
2026
2026
  .shipaid-global-modal .modal-overlay .modal-content .modal-boxes-container .modal-boxes-wrapper .modal-box .slide-two .desc {
2027
- font-size: 1rem;
2027
+ font-size: 10.5px;
2028
2028
  font-weight: 100;
2029
2029
  max-width: 420px;
2030
2030
  text-align: justify;
2031
2031
  line-height: 1.2;
2032
- padding: 0 2.3rem;
2033
- margin: 0.7rem 0 0;
2032
+ padding: 0 24.15px;
2033
+ margin: 7.35px 0 0;
2034
2034
  }
2035
2035
 
2036
2036
  .shipaid-global-modal .modal-overlay .modal-content .modal-boxes-container .modal-boxes-wrapper .modal-box .slide-two .legal {
2037
- font-size: 0.9rem;
2037
+ font-size: 9.45px;
2038
2038
  font-weight: 400;
2039
2039
  max-width: 487px;
2040
2040
  text-align: justify;
@@ -2042,16 +2042,16 @@ if (!customElements.get("checkout-package-protection")) {
2042
2042
  color: #555;
2043
2043
  margin-top: auto;
2044
2044
  background-color: rgba(255, 255, 255, 0.8);
2045
- padding: 0.5rem;
2045
+ padding: 5.25px;
2046
2046
  border-radius: 8px;
2047
- margin-bottom: 0.3rem;
2047
+ margin-bottom: 3.15px;
2048
2048
  }
2049
2049
 
2050
2050
  .shipaid-global-modal .modal-overlay .modal-content .modal-boxes-container .modal-boxes-wrapper .modal-box .slide-two .footer {
2051
- font-size: 0.75rem;
2051
+ font-size: 7.875px;
2052
2052
  display: flex;
2053
2053
  align-items: center;
2054
- gap: 1rem;
2054
+ gap: 10.5px;
2055
2055
  width: 100%;
2056
2056
  justify-content: flex-end;
2057
2057
  }
@@ -2068,33 +2068,33 @@ if (!customElements.get("checkout-package-protection")) {
2068
2068
  /* Slide 3 */
2069
2069
 
2070
2070
  .shipaid-global-modal .modal-overlay .modal-content .modal-boxes-container .modal-boxes-wrapper .modal-box .slide-three {
2071
- background-image: url('https://res.cloudinary.com/shipaid/image/upload/v1753371403/Cart%20Extension/Instant_Package_Protection_3_cu2vin.png');
2071
+ background-image: url('https://res.cloudinary.com/shipaid/image/upload/v1753371403/Instant_Package_Protection_3_cu2vin.png');
2072
2072
  background-size: cover;
2073
2073
  background-position: center;
2074
2074
  background-repeat: no-repeat;
2075
- padding: 1.5rem;
2075
+ padding: 15.75px;
2076
2076
  color: white;
2077
2077
  }
2078
2078
 
2079
2079
 
2080
2080
  .shipaid-global-modal .modal-overlay .modal-content .modal-boxes-container .modal-boxes-wrapper .modal-box .slide-three .title {
2081
- font-size: 3rem;
2081
+ font-size: 31.5px;
2082
2082
  font-weight: 800;
2083
- margin-top: 3rem;
2083
+ margin-top: 31.5px;
2084
2084
  width: 100%;
2085
2085
  text-align: center;
2086
2086
  }
2087
2087
 
2088
2088
  .shipaid-global-modal .modal-overlay .modal-content .modal-boxes-container .modal-boxes-wrapper .modal-box .slide-three .info-bg {
2089
2089
  background-color: rgba(0, 0, 0, 0.6);
2090
- padding: 1rem;
2090
+ padding: 10.5px;
2091
2091
  border-radius: 12px;
2092
2092
  width: 100%;
2093
2093
  max-width: 420px;
2094
2094
  text-align: left;
2095
2095
  display: flex;
2096
2096
  flex-direction: column;
2097
- gap: 0.5rem;
2097
+ gap: 5.25px;
2098
2098
  width: 91%;
2099
2099
  }
2100
2100
 
@@ -2102,8 +2102,8 @@ if (!customElements.get("checkout-package-protection")) {
2102
2102
  display: flex;
2103
2103
  align-items: center;
2104
2104
  justify-content: space-between;
2105
- margin-top: 0.5rem;
2106
- gap: 1.5rem;
2105
+ margin-top: 5.25px;
2106
+ gap: 15.75px;
2107
2107
  }
2108
2108
 
2109
2109
  .shipaid-global-modal .modal-overlay .modal-content .modal-boxes-container .modal-boxes-wrapper .modal-box .slide-three .info-left {
@@ -2111,18 +2111,18 @@ if (!customElements.get("checkout-package-protection")) {
2111
2111
  }
2112
2112
 
2113
2113
  .shipaid-global-modal .modal-overlay .modal-content .modal-boxes-container .modal-boxes-wrapper .modal-box .slide-three .info-title {
2114
- font-size: 2.19rem;
2114
+ font-size: 22.995px;
2115
2115
  font-weight: 800;
2116
2116
  margin: 0;
2117
- line-height: 2rem;
2117
+ line-height: 21px;
2118
2118
  }
2119
2119
 
2120
2120
  .shipaid-global-modal .modal-overlay .modal-content .modal-boxes-container .modal-boxes-wrapper .modal-box .slide-three .info-desc {
2121
- font-size: 1rem;
2121
+ font-size: 10.5px;
2122
2122
  font-weight: 300;
2123
- margin: 0.6rem 0 0;
2124
- line-height: 1.3rem;
2125
- letter-spacing: 0.1rem;
2123
+ margin: 6.3px 0 0;
2124
+ line-height: 13.65px;
2125
+ letter-spacing: 1.05px;
2126
2126
  text-align: justify;
2127
2127
  }
2128
2128
 
@@ -2132,7 +2132,7 @@ if (!customElements.get("checkout-package-protection")) {
2132
2132
  align-items: flex-end;
2133
2133
  justify-content: flex-end;
2134
2134
  height: 100%;
2135
- gap: 1.45rem;
2135
+ gap: 15.225px;
2136
2136
  }
2137
2137
 
2138
2138
  .shipaid-global-modal .modal-overlay .modal-content .modal-boxes-container .modal-boxes-wrapper .modal-box .slide-three .info-right img {
@@ -2142,7 +2142,7 @@ if (!customElements.get("checkout-package-protection")) {
2142
2142
  .shipaid-global-modal .modal-overlay .modal-content .modal-boxes-container .modal-boxes-wrapper .modal-box .slide-three .info-right a {
2143
2143
  color: white;
2144
2144
  text-decoration: underline;
2145
- font-size: 1.2rem;
2145
+ font-size: 12.6px;
2146
2146
  width: 100%;
2147
2147
  text-align: center;
2148
2148
  }
@@ -2150,7 +2150,7 @@ if (!customElements.get("checkout-package-protection")) {
2150
2150
  /* Slide 4 */
2151
2151
 
2152
2152
  .shipaid-global-modal .modal-overlay .modal-content .modal-boxes-container .modal-boxes-wrapper .modal-box .slide-four {
2153
- background-image: url('https://res.cloudinary.com/shipaid/image/upload/v1753375495/Cart%20Extension/Instant_Package_Protection_2_svqyct.png');
2153
+ background-image: url('https://res.cloudinary.com/shipaid/image/upload/v1753375495/Instant_Package_Protection_2_svqyct.png');
2154
2154
  background-size: cover;
2155
2155
  background-position: center;
2156
2156
  background-repeat: no-repeat;
@@ -2158,7 +2158,7 @@ if (!customElements.get("checkout-package-protection")) {
2158
2158
  flex-direction: column;
2159
2159
  justify-content: space-between;
2160
2160
  align-items: center;
2161
- padding: 2rem 1.5rem 1rem;
2161
+ padding: 21px 15.75px 10.5px;
2162
2162
  color: white;
2163
2163
  text-align: center;
2164
2164
  }
@@ -2170,21 +2170,21 @@ if (!customElements.get("checkout-package-protection")) {
2170
2170
  }
2171
2171
 
2172
2172
  .shipaid-global-modal .modal-overlay .modal-content .modal-boxes-container .modal-boxes-wrapper .modal-box .slide-four .title {
2173
- font-size: 5.1rem;
2173
+ font-size: 53.55px;
2174
2174
  font-weight: 700;
2175
- margin: 0 0 1rem;
2176
- line-height: 4.5rem;
2175
+ margin: 0 0 10.5px;
2176
+ line-height: 47.25px;
2177
2177
  }
2178
2178
 
2179
2179
  .shipaid-global-modal .modal-overlay .modal-content .modal-boxes-container .modal-boxes-wrapper .modal-box .slide-four .subtitle {
2180
- font-size: 2.9rem;
2180
+ font-size: 30.45px;
2181
2181
  font-weight: 700;
2182
- margin: auto 0 1.2rem;
2182
+ margin: auto 0 12.6px;
2183
2183
  line-height: 1.4;
2184
2184
  }
2185
2185
 
2186
2186
  .shipaid-global-modal .modal-overlay .modal-content .modal-boxes-container .modal-boxes-wrapper .modal-box .slide-four .desc {
2187
- font-size: clamp(1.6rem, 1vw + 1.1rem, 1.9rem);
2187
+ font-size: clamp(16.8px, 1vw + 11.55px, 19.95px);
2188
2188
  font-weight: 400;
2189
2189
  max-width: 440px;
2190
2190
  margin: 0 auto;
@@ -2195,14 +2195,14 @@ if (!customElements.get("checkout-package-protection")) {
2195
2195
  .shipaid-global-modal .modal-overlay .modal-content .modal-boxes-container .modal-boxes-wrapper .modal-box .slide-four .footer {
2196
2196
  display: flex;
2197
2197
  align-items: center;
2198
- gap: 0.5rem;
2198
+ gap: 5.25px;
2199
2199
  width: 100%;
2200
2200
  justify-content: flex-end;
2201
- margin-top: 1rem;
2201
+ margin-top: 10.5px;
2202
2202
  }
2203
2203
 
2204
2204
  .shipaid-global-modal .modal-overlay .modal-content .modal-boxes-container .modal-boxes-wrapper .modal-box .slide-four .footer p {
2205
- font-size: 0.85rem;
2205
+ font-size: 8.925px;
2206
2206
  font-weight: 500;
2207
2207
  margin: 0;
2208
2208
  }
@@ -2278,12 +2278,12 @@ if (!customElements.get("checkout-package-protection")) {
2278
2278
  @media (max-height: 800px) {
2279
2279
  .shipaid-global-modal .modal-overlay .modal-content {
2280
2280
  justify-content: flex-start;
2281
- margin-top: 2rem;
2281
+ margin-top: 21px;
2282
2282
  }
2283
2283
 
2284
2284
  .shipaid-global-modal .modal-overlay .modal-close {
2285
- top: 3rem;
2286
- left: 4rem;
2285
+ top: 31.5px;
2286
+ left: 42px;
2287
2287
  background: rgba(0, 0, 0, 0.1);
2288
2288
  border-radius: 50%;
2289
2289
  z-index: 10000;
@@ -2292,7 +2292,7 @@ if (!customElements.get("checkout-package-protection")) {
2292
2292
 
2293
2293
  @media (min-width: 900px)and (min-height: 750px) and (max-height: 850px) {
2294
2294
  .shipaid-global-modal .modal-overlay .modal-close {
2295
- top: 3rem;
2295
+ top: 31.5px;
2296
2296
  }
2297
2297
 
2298
2298
  }`, qe = ({ children: n2, onClose: e3 }) => _2("div", { class: "shipaid-global-modal", children: [_2("style", { children: Xe }), _2("div", { class: "modal-overlay", children: [_2("div", { class: "modal-content", onClick: e3, children: n2 }), _2("div", { class: "modal-close", onClick: e3, children: _2("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", children: [_2("line", { x1: "18", y1: "6", x2: "6", y2: "18" }), _2("line", { x1: "6", y1: "6", x2: "18", y2: "18" })] }) })] })] }), Be = ({ onChange: n2, index: e3, maxSlides: o3 }) => _2("div", { className: "logo-arrows", children: _2("div", { className: "modal-arrows", children: [_2("button", { class: "modal-arrow modal-arrow-prev", type: "button", "aria-label": "Previous slide", onClick: () => {
@@ -2300,17 +2300,17 @@ if (!customElements.get("checkout-package-protection")) {
2300
2300
  }, className: e3 === 0 ? "disabled" : "", children: _2("svg", { width: "28", height: "28", viewBox: "0 0 24 24", fill: "none", stroke: "#222", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", children: _2("polyline", { points: "15 18 9 12 15 6" }) }) }), _2("button", { class: "modal-arrow modal-arrow-next", type: "button", "aria-label": "Next slide", onClick: () => {
2301
2301
  e3 < 3 && n2(e3 + 1);
2302
2302
  }, className: e3 === o3 ? "disabled" : "", children: _2("svg", { width: "28", height: "28", viewBox: "0 0 24 24", fill: "none", stroke: "#222", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", children: _2("polyline", { points: "9 18 15 12 9 6" }) }) })] }) }), Re = ({ children: n2, isTransparent: e3 }) => _2("div", { className: `modal-box ${e3 ? "transparent" : ""}`, children: n2 }), Ve = ({ slides: n2, slideIndex: e3, onSlideIndexChange: o3, onClose: a2 }) => {
2303
- const [r2, l2] = D2(false), [i3, d2] = D2(0), [c2, s3] = D2(0), h2 = 380, t2 = (k2) => {
2303
+ const [i3, l2] = D2(false), [r2, d2] = D2(0), [c2, s3] = D2(0), h2 = 380, t2 = (k2) => {
2304
2304
  k2.preventDefault(), l2(true), d2(k2.clientX);
2305
- }, m2 = (k2) => {
2306
- if (!r2) return;
2307
- let E2 = k2.clientX - i3;
2305
+ }, p2 = (k2) => {
2306
+ if (!i3) return;
2307
+ let E2 = k2.clientX - r2;
2308
2308
  E2 > h2 && (E2 = h2), E2 < -h2 && (E2 = -h2), s3(E2);
2309
- }, p2 = () => {
2309
+ }, m2 = () => {
2310
2310
  l2(false), c2 > 50 && e3 > 0 ? o3(e3 - 1) : c2 < -50 && e3 < n2.length - 1 && o3(e3 + 1), s3(0);
2311
2311
  }, b = 1200, y2 = 400, [, w2] = D2(0), [f2, u2] = D2(false), H2 = (k2) => {
2312
- f2 || Math.abs(k2.deltaX) > Math.abs(k2.deltaY) && (k2.preventDefault(), w2((C2) => {
2313
- const E2 = C2 + k2.deltaX;
2312
+ f2 || Math.abs(k2.deltaX) > Math.abs(k2.deltaY) && (k2.preventDefault(), w2((P2) => {
2313
+ const E2 = P2 + k2.deltaX;
2314
2314
  return E2 < -b && e3 > 0 ? (o3(e3 - 1), S2(), 0) : E2 > b && e3 < n2.length - 1 ? (o3(e3 + 1), S2(), 0) : E2;
2315
2315
  }));
2316
2316
  }, S2 = () => {
@@ -2318,10 +2318,10 @@ if (!customElements.get("checkout-package-protection")) {
2318
2318
  u2(false);
2319
2319
  }, y2);
2320
2320
  };
2321
- return _2("div", { className: "modal-boxes-container", onClick: a2, children: [_2(Be, { onChange: o3, index: e3, maxSlides: n2.length - 1 }), _2("div", { className: "modal-boxes-wrapper", style: { transform: `translateX(calc(-${e3 * 380}px + ${c2}px))`, transition: r2 ? "none" : "transform 0.3s ease", overscrollBehavior: "none", touchAction: "none", userSelect: "none" }, onPointerDown: t2, onPointerMove: m2, onPointerUp: p2, onWheel: H2, children: n2.map((k2, C2) => _2(Re, { children: k2 }, C2)) })] });
2322
- }, Ye = () => _2("div", { class: "slide slide-one" }), Ge = () => _2("div", { class: "slide slide-two", children: [_2("p", { class: "title", children: "SHIPAID" }), _2("p", { class: "subtitle", children: "Direct Brand to Customer Promise" }), _2("p", { class: "desc", children: "We enable your favorite brands to provide a delivery guarantee because we know that every order is precious, and things happen! In case of any issues during transit, we offer a quick and easy method to report the problem directly to the brand, for a swift resolution." }), _2("p", { class: "legal", children: "By purchasing this delivery guarantee, you agree to our Terms Of Service and Privacy Policy. You are not obligated to purchase this guarantee. This guarantee is NOT insurance and does not provide indemnification against loss, damage, or liability arising from a contingent or unknown event, but rather, through ShipAid brands provide a delivery guarantee whereby if the product you ordered is not delivered in satisfactory condition, the brand from which you ordered the product may replace the product free of charge. ShipAid does not provide any products or services directly to consumers, but instead provides a service that allows brands to facilitate product replacement to their customers. Purchasing this guarantee does not mean that you will automatically be reimbursed for any product or shipping costs because the resolution process and decision for compensation is strictly decided by the brand you are purchasing from. The brand will require proof of damage or undelivered product." }), _2("div", { class: "footer", children: [_2("a", { href: "https://www.shipaid.com/terms-of-service", target: "_blank", children: "Terms of Service" }), _2("a", { href: "https://www.shipaid.com/privacy-policy", target: "_blank", children: "Privacy Policy" }), _2("p", { children: "ShipAid © 2025" })] })] }), Ke = () => _2("div", { class: "slide slide-three", children: [_2("p", { class: "title", children: "1 Order = 1 Tree" }), _2("div", { class: "info-bg", children: _2("div", { class: "info-section", children: [_2("div", { class: "info-left", children: [_2("p", { class: "info-title", children: "Protect your order & the environment" }), _2("p", { class: "info-desc", children: "Every SHIPAID purchase plants one tree to offset carbon impact and fight deforestation, verified." })] }), _2("div", { class: "info-right", children: [_2("img", { src: "https://res.cloudinary.com/shipaid/image/upload/v1753199774/Cart%20Extension/Logo-tree_uz4fzn.svg", alt: "ShipAid Green Logo" }), _2("a", { href: "https://help.shipaid.com/en/article/what-does-the-shipaid-x-thegoodapi-partnership-offer-y4ecs/", target: "_blank", children: "Learn more" })] })] }) })] }), Je = () => _2("div", { class: "slide slide-four", children: [_2("div", { class: "content", children: [_2("p", { class: "title", children: "Kenya Mangroves" }), _2("p", { class: "subtitle", children: "Rebuilding Eastern Africa’s Ecosystems" }), _2("p", { class: "desc", children: ["Restoring mangroves to protect coastlines, support livelihoods, and rebuild ecosystems one tree at a time. Your order helps break the cycle of poverty, naturally. ", _2("a", { href: "https://thegoodapi.com/", target: "_blank", children: "Learn more" })] })] }), _2("div", { class: "footer", children: [_2("p", { children: "Powered by" }), _2("img", { src: "https://res.cloudinary.com/shipaid/image/upload/v1753376903/Cart%20Extension/Copy_of_GoodAPI_Updated_Logo_zn8wuq.png", alt: "GoodAPI Logo" })] })] }), Qe = ({ carouselType: n2, open: e3 }) => {
2323
- const [o3, a2] = D2(e3), [r2, l2] = D2(0), i3 = [_2(Ye, {}), _2(Ge, {}), ...n2 === "green-protection" ? [_2(Ke, {}), _2(Je, {})] : []];
2324
- Pe(() => {
2321
+ return _2("div", { className: "modal-boxes-container", onClick: a2, children: [_2(Be, { onChange: o3, index: e3, maxSlides: n2.length - 1 }), _2("div", { className: "modal-boxes-wrapper", style: { transform: `translateX(calc(-${e3 * 380}px + ${c2}px))`, transition: i3 ? "none" : "transform 0.3s ease", overscrollBehavior: "none", touchAction: "none", userSelect: "none" }, onPointerDown: t2, onPointerMove: p2, onPointerUp: m2, onWheel: H2, children: n2.map((k2, P2) => _2(Re, { children: k2 }, P2)) })] });
2322
+ }, Ye = () => _2("div", { class: "slide slide-one" }), Ge = () => _2("div", { class: "slide slide-two", children: [_2("p", { class: "title", children: "SHIPAID" }), _2("p", { class: "subtitle", children: "Direct Brand to Customer Promise" }), _2("p", { class: "desc", children: "We enable your favorite brands to provide a delivery guarantee because we know that every order is precious, and things happen! In case of any issues during transit, we offer a quick and easy method to report the problem directly to the brand, for a swift resolution." }), _2("p", { class: "legal", children: "By purchasing this delivery guarantee, you agree to our Terms Of Service and Privacy Policy. You are not obligated to purchase this guarantee. This guarantee is NOT insurance and does not provide indemnification against loss, damage, or liability arising from a contingent or unknown event, but rather, through ShipAid brands provide a delivery guarantee whereby if the product you ordered is not delivered in satisfactory condition, the brand from which you ordered the product may replace the product free of charge. ShipAid does not provide any products or services directly to consumers, but instead provides a service that allows brands to facilitate product replacement to their customers. Purchasing this guarantee does not mean that you will automatically be reimbursed for any product or shipping costs because the resolution process and decision for compensation is strictly decided by the brand you are purchasing from. The brand will require proof of damage or undelivered product." }), _2("div", { class: "footer", children: [_2("a", { href: "https://www.shipaid.com/terms-of-service", target: "_blank", children: "Terms of Service" }), _2("a", { href: "https://www.shipaid.com/privacy-policy", target: "_blank", children: "Privacy Policy" }), _2("p", { children: "ShipAid © 2025" })] })] }), Ke = () => _2("div", { class: "slide slide-three", children: [_2("p", { class: "title", children: "1 Order = 1 Tree" }), _2("div", { class: "info-bg", children: _2("div", { class: "info-section", children: [_2("div", { class: "info-left", children: [_2("p", { class: "info-title", children: "Protect your order & the environment" }), _2("p", { class: "info-desc", children: "Every SHIPAID purchase plants one tree to offset carbon impact and fight deforestation, verified." })] }), _2("div", { class: "info-right", children: [_2("img", { src: "https://res.cloudinary.com/shipaid/image/upload/v1753199774/Logo-tree_uz4fzn.svg", alt: "ShipAid Green Logo" }), _2("a", { href: "https://help.shipaid.com/en/article/what-does-the-shipaid-x-thegoodapi-partnership-offer-y4ecs/", target: "_blank", children: "Learn more" })] })] }) })] }), Je = () => _2("div", { class: "slide slide-four", children: [_2("div", { class: "content", children: [_2("p", { class: "title", children: "Kenya Mangroves" }), _2("p", { class: "subtitle", children: "Rebuilding Eastern Africa’s Ecosystems" }), _2("p", { class: "desc", children: ["Restoring mangroves to protect coastlines, support livelihoods, and rebuild ecosystems one tree at a time. Your order helps break the cycle of poverty, naturally. ", _2("a", { href: "https://thegoodapi.com/", target: "_blank", children: "Learn more" })] })] }), _2("div", { class: "footer", children: [_2("p", { children: "Powered by" }), _2("img", { src: "https://res.cloudinary.com/shipaid/image/upload/v1753376903/Copy_of_GoodAPI_Updated_Logo_zn8wuq.png", alt: "GoodAPI Logo" })] })] }), Qe = ({ carouselType: n2, open: e3 }) => {
2323
+ const [o3, a2] = D2(e3), [i3, l2] = D2(0), r2 = [_2(Ye, {}), _2(Ge, {}), ...n2 === "green-protection" ? [_2(Ke, {}), _2(Je, {})] : []];
2324
+ Ce(() => {
2325
2325
  const t2 = () => {
2326
2326
  window.dispatchEvent(new Event("shipaid:modal-opened")), a2(true);
2327
2327
  };
@@ -2332,22 +2332,22 @@ if (!customElements.get("checkout-package-protection")) {
2332
2332
  const d2 = (t2) => {
2333
2333
  if (t2.target === t2.currentTarget || t2.target.closest(".modal-close")) {
2334
2334
  a2(false), l2(0), window.dispatchEvent(new Event("shipaid:modal-closed"));
2335
- const m2 = document.querySelector("body");
2336
- m2 && (m2.style.overflow = "auto");
2335
+ const p2 = document.querySelector("body");
2336
+ p2 && (p2.style.overflow = "auto");
2337
2337
  }
2338
2338
  }, c2 = (t2) => {
2339
2339
  l2(t2);
2340
2340
  }, s3 = Te(() => {
2341
- o3 && r2 > 0 && c2(r2 - 1);
2342
- }, [o3, r2]), h2 = Te(() => {
2343
- o3 && r2 < i3.length - 1 && c2(r2 + 1);
2344
- }, [o3, r2]);
2345
- return Pe(() => {
2346
- const t2 = () => s3(), m2 = () => h2();
2347
- return document.addEventListener("swiped-right", t2), document.addEventListener("swiped-left", m2), () => {
2348
- document.removeEventListener("swiped-right", t2), document.removeEventListener("swiped-left", m2);
2341
+ o3 && i3 > 0 && c2(i3 - 1);
2342
+ }, [o3, i3]), h2 = Te(() => {
2343
+ o3 && i3 < r2.length - 1 && c2(i3 + 1);
2344
+ }, [o3, i3]);
2345
+ return Ce(() => {
2346
+ const t2 = () => s3(), p2 = () => h2();
2347
+ return document.addEventListener("swiped-right", t2), document.addEventListener("swiped-left", p2), () => {
2348
+ document.removeEventListener("swiped-right", t2), document.removeEventListener("swiped-left", p2);
2349
2349
  };
2350
- }, [h2, s3]), _2("div", { class: o3 ? "" : "global-modal-hidden", children: _2(qe, { onClose: d2, children: _2(Ve, { slides: i3, slideIndex: r2, onSlideIndexChange: (t2) => c2(t2), onClose: d2 }) }) });
2350
+ }, [h2, s3]), _2("div", { class: o3 ? "" : "global-modal-hidden", children: _2(qe, { onClose: d2, children: _2(Ve, { slides: r2, slideIndex: i3, onSlideIndexChange: (t2) => c2(t2), onClose: d2 }) }) });
2351
2351
  };
2352
2352
  class Ze extends HTMLElement {
2353
2353
  constructor() {