@xwadex/fesd 0.0.14-re.47 → 0.0.14-re.49

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.
@@ -402,13 +402,13 @@ class Je {
402
402
  }, e.delay);
403
403
  }
404
404
  static url(i) {
405
- const { SETTINGS: t } = lt, s = (window.location.search || window.location.hash).split("?").pop(), o = document.querySelector(`[data-anchor-id="${s}"]`);
406
- if (!o)
405
+ const { SETTINGS: t } = lt, { hashName: e } = i, s = window.location.search || window.location.hash, { searchParams: o } = new URL(window.location), a = document.querySelector(`[data-anchor-id="${e ? o.get(e) : s.split("?").pop()}"]`);
406
+ if (console.log("anchor-hashName", e), console.log("anchor-searchParams", o.get(e)), console.log("anchor-targetStr", s.split("?").pop()), console.log("anchor-target", a), !a)
407
407
  return;
408
- const a = Object.assign({}, t, i, { target: o });
408
+ const r = Object.assign({}, t, i, { target: a });
409
409
  setTimeout(() => {
410
- be(a);
411
- }, a.delay);
410
+ be(r);
411
+ }, r.delay);
412
412
  }
413
413
  }
414
414
  J = new WeakSet(), we = function() {