@xwadex/fesd 0.0.40 → 0.0.41

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.
@@ -2132,7 +2132,7 @@ const Os = (n) => {
2132
2132
  }
2133
2133
  }, Ps = (n) => {
2134
2134
  const i = n.s.cityLang;
2135
- v("#newCityData").val() !== "" ? (U = JSON.parse(v("#newCityData").val())[0], console.log([0])) : U = Is, n.classList.contains("city") && (n.s.dropdownEl.querySelector(".dropdown-list").innerHTML = "", Object.keys(U[i]).forEach((t) => {
2135
+ v("#newCityData").length > 0 ? v("#newCityData").val() !== "" && (U = JSON.parse(v("#newCityData").val())[0], console.log([0])) : U = Is, n.classList.contains("city") && (n.s.dropdownEl.querySelector(".dropdown-list").innerHTML = "", Object.keys(U[i]).forEach((t) => {
2136
2136
  const e = document.createElement("li");
2137
2137
  e.textContent = t, e.setAttribute("data-option", t), n.s.dropdownEl.querySelector(".dropdown-list").append(e);
2138
2138
  }), n.s.allLi = n.querySelectorAll(".dropdown-list li"));
@@ -2692,7 +2692,7 @@ class Ge {
2692
2692
  }
2693
2693
  }
2694
2694
  Rt = new WeakSet(), Ni = function() {
2695
- var s, o, a, r, l, c;
2695
+ var s, o, a, r;
2696
2696
  const i = this;
2697
2697
  if (!i.$element)
2698
2698
  return;
@@ -2713,7 +2713,9 @@ Rt = new WeakSet(), Ni = function() {
2713
2713
  <div></div>
2714
2714
  </div>
2715
2715
  </div>`
2716
- ), i.$button = (o = i.$container) == null ? void 0 : o.querySelectorAll(".button"), d(a = i, Xt, Pi).call(a)), d(r = i, et, _e).call(r), d(l = i, W, ht).call(l), d(c = i, Yt, zi).call(c), i.update();
2716
+ ), i.$button = (o = i.$container) == null ? void 0 : o.querySelectorAll(".button"), d(a = i, Xt, Pi).call(a)), d(r = i, Yt, zi).call(r), i.update(), requestAnimationFrame(() => {
2717
+ d(this, et, _e).call(this), d(this, W, ht).call(this);
2718
+ });
2717
2719
  }, Xt = new WeakSet(), Pi = function() {
2718
2720
  const i = this, { $wrapper: t, $button: e } = i, s = function() {
2719
2721
  const o = this.classList.contains("next"), a = parseInt(t.getBoundingClientRect().width * 0.7);