@cobre-npm/ds-v3 0.105.3 → 0.105.4

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.
@@ -7230,7 +7230,7 @@ const h0 = { class: "co-input" }, v0 = {
7230
7230
  class: I(["co-balance-card d-flex flex-column co-p-20", { loading: e.isLoading }])
7231
7231
  }, [
7232
7232
  e.isLoading ? (f(), b(we, { key: 0 }, [
7233
- t[0] || (t[0] = hf('<div class="co-balance-card__sk-flag skeleton co-mb-12" data-v-a3f3b439></div><div class="co-balance-card__sk-label skeleton co-mb-4" data-v-a3f3b439></div><div class="d-flex gap-2" data-v-a3f3b439><div class="co-balance-card__sk-amount skeleton" data-v-a3f3b439></div><div class="co-balance-card__sk-currency skeleton" data-v-a3f3b439></div></div>', 3))
7233
+ t[0] || (t[0] = hf('<div class="co-balance-card__sk-flag skeleton co-mb-12" data-v-2b9974c5></div><div class="co-balance-card__sk-label skeleton co-mb-4" data-v-2b9974c5></div><div class="d-flex gap-2 align-items-center" data-v-2b9974c5><div class="co-balance-card__sk-amount skeleton" data-v-2b9974c5></div><div class="co-balance-card__sk-currency skeleton" data-v-2b9974c5></div></div>', 3))
7234
7234
  ], 64)) : (f(), b(we, { key: 1 }, [
7235
7235
  ye(cn, {
7236
7236
  geo: e.item.geo,
@@ -7247,7 +7247,7 @@ const h0 = { class: "co-input" }, v0 = {
7247
7247
  ], 64))
7248
7248
  ], 2));
7249
7249
  }
7250
- }), TM = /* @__PURE__ */ Ae(Qy, [["__scopeId", "data-v-a3f3b439"]]), Zy = { key: 0 }, Jy = /* @__PURE__ */ pe({
7250
+ }), TM = /* @__PURE__ */ Ae(Qy, [["__scopeId", "data-v-2b9974c5"]]), Zy = { key: 0 }, Jy = /* @__PURE__ */ pe({
7251
7251
  __name: "CobreCardIcon",
7252
7252
  props: {
7253
7253
  label: { default: "string" },
@@ -22855,14 +22855,14 @@ ue.on(document, UD, ei, function(a) {
22855
22855
  }).toggle();
22856
22856
  });
22857
22857
  Qt(mr);
22858
- const ou = "dropdown", JD = "bs.dropdown", gn = `.${JD}`, Gi = ".data-api", e3 = "Escape", su = "Tab", t3 = "ArrowUp", iu = "ArrowDown", a3 = 2, n3 = `hide${gn}`, r3 = `hidden${gn}`, o3 = `show${gn}`, s3 = `shown${gn}`, zd = `click${gn}${Gi}`, qd = `keydown${gn}${Gi}`, i3 = `keyup${gn}${Gi}`, On = "show", l3 = "dropup", u3 = "dropend", c3 = "dropstart", d3 = "dropup-center", f3 = "dropdown-center", nn = '[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)', p3 = `${nn}.${On}`, Yr = ".dropdown-menu", m3 = ".navbar", h3 = ".navbar-nav", v3 = ".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)", g3 = Xt() ? "top-end" : "top-start", y3 = Xt() ? "top-start" : "top-end", b3 = Xt() ? "bottom-end" : "bottom-start", _3 = Xt() ? "bottom-start" : "bottom-end", w3 = Xt() ? "left-start" : "right-start", k3 = Xt() ? "right-start" : "left-start", C3 = "top", T3 = "bottom", $3 = {
22858
+ const ou = "dropdown", JD = "bs.dropdown", gn = `.${JD}`, Gi = ".data-api", eO = "Escape", su = "Tab", tO = "ArrowUp", iu = "ArrowDown", aO = 2, nO = `hide${gn}`, rO = `hidden${gn}`, oO = `show${gn}`, sO = `shown${gn}`, zd = `click${gn}${Gi}`, qd = `keydown${gn}${Gi}`, iO = `keyup${gn}${Gi}`, On = "show", lO = "dropup", uO = "dropend", cO = "dropstart", dO = "dropup-center", fO = "dropdown-center", nn = '[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)', pO = `${nn}.${On}`, Yr = ".dropdown-menu", mO = ".navbar", hO = ".navbar-nav", vO = ".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)", gO = Xt() ? "top-end" : "top-start", yO = Xt() ? "top-start" : "top-end", bO = Xt() ? "bottom-end" : "bottom-start", _O = Xt() ? "bottom-start" : "bottom-end", wO = Xt() ? "left-start" : "right-start", kO = Xt() ? "right-start" : "left-start", CO = "top", TO = "bottom", $O = {
22859
22859
  autoClose: !0,
22860
22860
  boundary: "clippingParents",
22861
22861
  display: "dynamic",
22862
22862
  offset: [0, 2],
22863
22863
  popperConfig: null,
22864
22864
  reference: "toggle"
22865
- }, E3 = {
22865
+ }, EO = {
22866
22866
  autoClose: "(boolean|string)",
22867
22867
  boundary: "(string|element)",
22868
22868
  display: "string",
@@ -22876,10 +22876,10 @@ class ha extends oa {
22876
22876
  }
22877
22877
  // Getters
22878
22878
  static get Default() {
22879
- return $3;
22879
+ return $O;
22880
22880
  }
22881
22881
  static get DefaultType() {
22882
- return E3;
22882
+ return EO;
22883
22883
  }
22884
22884
  static get NAME() {
22885
22885
  return ou;
@@ -22894,11 +22894,11 @@ class ha extends oa {
22894
22894
  const e = {
22895
22895
  relatedTarget: this._element
22896
22896
  };
22897
- if (!ue.trigger(this._element, o3, e).defaultPrevented) {
22898
- if (this._createPopper(), "ontouchstart" in document.documentElement && !this._parent.closest(h3))
22897
+ if (!ue.trigger(this._element, oO, e).defaultPrevented) {
22898
+ if (this._createPopper(), "ontouchstart" in document.documentElement && !this._parent.closest(hO))
22899
22899
  for (const n of [].concat(...document.body.children))
22900
22900
  ue.on(n, "mouseover", Kr);
22901
- this._element.focus(), this._element.setAttribute("aria-expanded", !0), this._menu.classList.add(On), this._element.classList.add(On), ue.trigger(this._element, s3, e);
22901
+ this._element.focus(), this._element.setAttribute("aria-expanded", !0), this._menu.classList.add(On), this._element.classList.add(On), ue.trigger(this._element, sO, e);
22902
22902
  }
22903
22903
  }
22904
22904
  hide() {
@@ -22917,11 +22917,11 @@ class ha extends oa {
22917
22917
  }
22918
22918
  // Private
22919
22919
  _completeHide(e) {
22920
- if (!ue.trigger(this._element, n3, e).defaultPrevented) {
22920
+ if (!ue.trigger(this._element, nO, e).defaultPrevented) {
22921
22921
  if ("ontouchstart" in document.documentElement)
22922
22922
  for (const n of [].concat(...document.body.children))
22923
22923
  ue.off(n, "mouseover", Kr);
22924
- this._popper && this._popper.destroy(), this._menu.classList.remove(On), this._element.classList.remove(On), this._element.setAttribute("aria-expanded", "false"), Ca.removeDataAttribute(this._menu, "popper"), ue.trigger(this._element, r3, e);
22924
+ this._popper && this._popper.destroy(), this._menu.classList.remove(On), this._element.classList.remove(On), this._element.setAttribute("aria-expanded", "false"), Ca.removeDataAttribute(this._menu, "popper"), ue.trigger(this._element, rO, e);
22925
22925
  }
22926
22926
  }
22927
22927
  _getConfig(e) {
@@ -22942,19 +22942,19 @@ class ha extends oa {
22942
22942
  }
22943
22943
  _getPlacement() {
22944
22944
  const e = this._parent;
22945
- if (e.classList.contains(u3))
22946
- return w3;
22947
- if (e.classList.contains(c3))
22948
- return k3;
22949
- if (e.classList.contains(d3))
22950
- return C3;
22951
- if (e.classList.contains(f3))
22952
- return T3;
22945
+ if (e.classList.contains(uO))
22946
+ return wO;
22947
+ if (e.classList.contains(cO))
22948
+ return kO;
22949
+ if (e.classList.contains(dO))
22950
+ return CO;
22951
+ if (e.classList.contains(fO))
22952
+ return TO;
22953
22953
  const t = getComputedStyle(this._menu).getPropertyValue("--bs-position").trim() === "end";
22954
- return e.classList.contains(l3) ? t ? y3 : g3 : t ? _3 : b3;
22954
+ return e.classList.contains(lO) ? t ? yO : gO : t ? _O : bO;
22955
22955
  }
22956
22956
  _detectNavbar() {
22957
- return this._element.closest(m3) !== null;
22957
+ return this._element.closest(mO) !== null;
22958
22958
  }
22959
22959
  _getOffset() {
22960
22960
  const {
@@ -22989,7 +22989,7 @@ class ha extends oa {
22989
22989
  key: e,
22990
22990
  target: t
22991
22991
  }) {
22992
- const n = xe.find(v3, this._menu).filter((r) => Qn(r));
22992
+ const n = xe.find(vO, this._menu).filter((r) => Qn(r));
22993
22993
  n.length && Xi(n, t, e === iu, !n.includes(t)).focus();
22994
22994
  }
22995
22995
  // Static
@@ -23004,9 +23004,9 @@ class ha extends oa {
23004
23004
  });
23005
23005
  }
23006
23006
  static clearMenus(e) {
23007
- if (e.button === a3 || e.type === "keyup" && e.key !== su)
23007
+ if (e.button === aO || e.type === "keyup" && e.key !== su)
23008
23008
  return;
23009
- const t = xe.find(p3);
23009
+ const t = xe.find(pO);
23010
23010
  for (const n of t) {
23011
23011
  const r = ha.getInstance(n);
23012
23012
  if (!r || r._config.autoClose === !1)
@@ -23021,7 +23021,7 @@ class ha extends oa {
23021
23021
  }
23022
23022
  }
23023
23023
  static dataApiKeydownHandler(e) {
23024
- const t = /input|textarea/i.test(e.target.tagName), n = e.key === e3, r = [t3, iu].includes(e.key);
23024
+ const t = /input|textarea/i.test(e.target.tagName), n = e.key === eO, r = [tO, iu].includes(e.key);
23025
23025
  if (!r && !n || t && !n)
23026
23026
  return;
23027
23027
  e.preventDefault();
@@ -23036,12 +23036,12 @@ class ha extends oa {
23036
23036
  ue.on(document, qd, nn, ha.dataApiKeydownHandler);
23037
23037
  ue.on(document, qd, Yr, ha.dataApiKeydownHandler);
23038
23038
  ue.on(document, zd, ha.clearMenus);
23039
- ue.on(document, i3, ha.clearMenus);
23039
+ ue.on(document, iO, ha.clearMenus);
23040
23040
  ue.on(document, zd, nn, function(a) {
23041
23041
  a.preventDefault(), ha.getOrCreateInstance(this).toggle();
23042
23042
  });
23043
23043
  Qt(ha);
23044
- const Xd = "backdrop", D3 = "fade", lu = "show", uu = `mousedown.bs.${Xd}`, O3 = {
23044
+ const Xd = "backdrop", DO = "fade", lu = "show", uu = `mousedown.bs.${Xd}`, OO = {
23045
23045
  className: "modal-backdrop",
23046
23046
  clickCallback: null,
23047
23047
  isAnimated: !1,
@@ -23049,7 +23049,7 @@ const Xd = "backdrop", D3 = "fade", lu = "show", uu = `mousedown.bs.${Xd}`, O3 =
23049
23049
  // if false, we use the backdrop helper without adding any element to the dom
23050
23050
  rootElement: "body"
23051
23051
  // give the choice to place backdrop under different elements
23052
- }, x3 = {
23052
+ }, xO = {
23053
23053
  className: "string",
23054
23054
  clickCallback: "(function|null)",
23055
23055
  isAnimated: "boolean",
@@ -23062,10 +23062,10 @@ class Kd extends kr {
23062
23062
  }
23063
23063
  // Getters
23064
23064
  static get Default() {
23065
- return O3;
23065
+ return OO;
23066
23066
  }
23067
23067
  static get DefaultType() {
23068
- return x3;
23068
+ return xO;
23069
23069
  }
23070
23070
  static get NAME() {
23071
23071
  return Xd;
@@ -23098,7 +23098,7 @@ class Kd extends kr {
23098
23098
  _getElement() {
23099
23099
  if (!this._element) {
23100
23100
  const e = document.createElement("div");
23101
- e.className = this._config.className, this._config.isAnimated && e.classList.add(D3), this._element = e;
23101
+ e.className = this._config.className, this._config.isAnimated && e.classList.add(DO), this._element = e;
23102
23102
  }
23103
23103
  return this._element;
23104
23104
  }
@@ -23117,11 +23117,11 @@ class Kd extends kr {
23117
23117
  Ld(e, this._getElement(), this._config.isAnimated);
23118
23118
  }
23119
23119
  }
23120
- const M3 = "focustrap", P3 = "bs.focustrap", Qr = `.${P3}`, A3 = `focusin${Qr}`, S3 = `keydown.tab${Qr}`, L3 = "Tab", I3 = "forward", cu = "backward", N3 = {
23120
+ const MO = "focustrap", PO = "bs.focustrap", Qr = `.${PO}`, AO = `focusin${Qr}`, SO = `keydown.tab${Qr}`, LO = "Tab", IO = "forward", cu = "backward", NO = {
23121
23121
  autofocus: !0,
23122
23122
  trapElement: null
23123
23123
  // The element to trap focus inside of
23124
- }, R3 = {
23124
+ }, RO = {
23125
23125
  autofocus: "boolean",
23126
23126
  trapElement: "element"
23127
23127
  };
@@ -23131,17 +23131,17 @@ class Gd extends kr {
23131
23131
  }
23132
23132
  // Getters
23133
23133
  static get Default() {
23134
- return N3;
23134
+ return NO;
23135
23135
  }
23136
23136
  static get DefaultType() {
23137
- return R3;
23137
+ return RO;
23138
23138
  }
23139
23139
  static get NAME() {
23140
- return M3;
23140
+ return MO;
23141
23141
  }
23142
23142
  // Public
23143
23143
  activate() {
23144
- this._isActive || (this._config.autofocus && this._config.trapElement.focus(), ue.off(document, Qr), ue.on(document, A3, (e) => this._handleFocusin(e)), ue.on(document, S3, (e) => this._handleKeydown(e)), this._isActive = !0);
23144
+ this._isActive || (this._config.autofocus && this._config.trapElement.focus(), ue.off(document, Qr), ue.on(document, AO, (e) => this._handleFocusin(e)), ue.on(document, SO, (e) => this._handleKeydown(e)), this._isActive = !0);
23145
23145
  }
23146
23146
  deactivate() {
23147
23147
  this._isActive && (this._isActive = !1, ue.off(document, Qr));
@@ -23157,7 +23157,7 @@ class Gd extends kr {
23157
23157
  n.length === 0 ? t.focus() : this._lastTabNavDirection === cu ? n[n.length - 1].focus() : n[0].focus();
23158
23158
  }
23159
23159
  _handleKeydown(e) {
23160
- e.key === L3 && (this._lastTabNavDirection = e.shiftKey ? cu : I3);
23160
+ e.key === LO && (this._lastTabNavDirection = e.shiftKey ? cu : IO);
23161
23161
  }
23162
23162
  }
23163
23163
  const du = ".fixed-top, .fixed-bottom, .is-fixed, .sticky-top", fu = ".sticky-top", Lr = "padding-right", pu = "margin-right";
@@ -23218,28 +23218,28 @@ class ti {
23218
23218
  t(n);
23219
23219
  }
23220
23220
  }
23221
- const V3 = "modal", B3 = "bs.modal", Kt = `.${B3}`, F3 = ".data-api", Y3 = "Escape", H3 = `hide${Kt}`, W3 = `hidePrevented${Kt}`, Qd = `hidden${Kt}`, Zd = `show${Kt}`, U3 = `shown${Kt}`, j3 = `resize${Kt}`, z3 = `click.dismiss${Kt}`, q3 = `mousedown.dismiss${Kt}`, X3 = `keydown.dismiss${Kt}`, K3 = `click${Kt}${F3}`, mu = "modal-open", G3 = "fade", hu = "show", Qo = "modal-static", Q3 = ".modal.show", Z3 = ".modal-dialog", J3 = ".modal-body", eO = '[data-bs-toggle="modal"]', tO = {
23221
+ const VO = "modal", BO = "bs.modal", Kt = `.${BO}`, FO = ".data-api", YO = "Escape", HO = `hide${Kt}`, WO = `hidePrevented${Kt}`, Qd = `hidden${Kt}`, Zd = `show${Kt}`, UO = `shown${Kt}`, jO = `resize${Kt}`, zO = `click.dismiss${Kt}`, qO = `mousedown.dismiss${Kt}`, XO = `keydown.dismiss${Kt}`, KO = `click${Kt}${FO}`, mu = "modal-open", GO = "fade", hu = "show", Qo = "modal-static", QO = ".modal.show", ZO = ".modal-dialog", JO = ".modal-body", e3 = '[data-bs-toggle="modal"]', t3 = {
23222
23222
  backdrop: !0,
23223
23223
  focus: !0,
23224
23224
  keyboard: !0
23225
- }, aO = {
23225
+ }, a3 = {
23226
23226
  backdrop: "(boolean|string)",
23227
23227
  focus: "boolean",
23228
23228
  keyboard: "boolean"
23229
23229
  };
23230
23230
  class zn extends oa {
23231
23231
  constructor(e, t) {
23232
- super(e, t), this._dialog = xe.findOne(Z3, this._element), this._backdrop = this._initializeBackDrop(), this._focustrap = this._initializeFocusTrap(), this._isShown = !1, this._isTransitioning = !1, this._scrollBar = new ti(), this._addEventListeners();
23232
+ super(e, t), this._dialog = xe.findOne(ZO, this._element), this._backdrop = this._initializeBackDrop(), this._focustrap = this._initializeFocusTrap(), this._isShown = !1, this._isTransitioning = !1, this._scrollBar = new ti(), this._addEventListeners();
23233
23233
  }
23234
23234
  // Getters
23235
23235
  static get Default() {
23236
- return tO;
23236
+ return t3;
23237
23237
  }
23238
23238
  static get DefaultType() {
23239
- return aO;
23239
+ return a3;
23240
23240
  }
23241
23241
  static get NAME() {
23242
- return V3;
23242
+ return VO;
23243
23243
  }
23244
23244
  // Public
23245
23245
  toggle(e) {
@@ -23251,7 +23251,7 @@ class zn extends oa {
23251
23251
  }).defaultPrevented || (this._isShown = !0, this._isTransitioning = !0, this._scrollBar.hide(), document.body.classList.add(mu), this._adjustDialog(), this._backdrop.show(() => this._showElement(e)));
23252
23252
  }
23253
23253
  hide() {
23254
- !this._isShown || this._isTransitioning || ue.trigger(this._element, H3).defaultPrevented || (this._isShown = !1, this._isTransitioning = !0, this._focustrap.deactivate(), this._element.classList.remove(hu), this._queueCallback(() => this._hideModal(), this._element, this._isAnimated()));
23254
+ !this._isShown || this._isTransitioning || ue.trigger(this._element, HO).defaultPrevented || (this._isShown = !1, this._isTransitioning = !0, this._focustrap.deactivate(), this._element.classList.remove(hu), this._queueCallback(() => this._hideModal(), this._element, this._isAnimated()));
23255
23255
  }
23256
23256
  dispose() {
23257
23257
  ue.off(window, Kt), ue.off(this._dialog, Kt), this._backdrop.dispose(), this._focustrap.deactivate(), super.dispose();
@@ -23274,28 +23274,28 @@ class zn extends oa {
23274
23274
  }
23275
23275
  _showElement(e) {
23276
23276
  document.body.contains(this._element) || document.body.append(this._element), this._element.style.display = "block", this._element.removeAttribute("aria-hidden"), this._element.setAttribute("aria-modal", !0), this._element.setAttribute("role", "dialog"), this._element.scrollTop = 0;
23277
- const t = xe.findOne(J3, this._dialog);
23277
+ const t = xe.findOne(JO, this._dialog);
23278
23278
  t && (t.scrollTop = 0), wr(this._element), this._element.classList.add(hu);
23279
23279
  const n = () => {
23280
- this._config.focus && this._focustrap.activate(), this._isTransitioning = !1, ue.trigger(this._element, U3, {
23280
+ this._config.focus && this._focustrap.activate(), this._isTransitioning = !1, ue.trigger(this._element, UO, {
23281
23281
  relatedTarget: e
23282
23282
  });
23283
23283
  };
23284
23284
  this._queueCallback(n, this._dialog, this._isAnimated());
23285
23285
  }
23286
23286
  _addEventListeners() {
23287
- ue.on(this._element, X3, (e) => {
23288
- if (e.key === Y3) {
23287
+ ue.on(this._element, XO, (e) => {
23288
+ if (e.key === YO) {
23289
23289
  if (this._config.keyboard) {
23290
23290
  this.hide();
23291
23291
  return;
23292
23292
  }
23293
23293
  this._triggerBackdropTransition();
23294
23294
  }
23295
- }), ue.on(window, j3, () => {
23295
+ }), ue.on(window, jO, () => {
23296
23296
  this._isShown && !this._isTransitioning && this._adjustDialog();
23297
- }), ue.on(this._element, q3, (e) => {
23298
- ue.one(this._element, z3, (t) => {
23297
+ }), ue.on(this._element, qO, (e) => {
23298
+ ue.one(this._element, zO, (t) => {
23299
23299
  if (!(this._element !== e.target || this._element !== t.target)) {
23300
23300
  if (this._config.backdrop === "static") {
23301
23301
  this._triggerBackdropTransition();
@@ -23312,10 +23312,10 @@ class zn extends oa {
23312
23312
  });
23313
23313
  }
23314
23314
  _isAnimated() {
23315
- return this._element.classList.contains(G3);
23315
+ return this._element.classList.contains(GO);
23316
23316
  }
23317
23317
  _triggerBackdropTransition() {
23318
- if (ue.trigger(this._element, W3).defaultPrevented)
23318
+ if (ue.trigger(this._element, WO).defaultPrevented)
23319
23319
  return;
23320
23320
  const t = this._element.scrollHeight > document.documentElement.clientHeight, n = this._element.style.overflowY;
23321
23321
  n === "hidden" || this._element.classList.contains(Qo) || (t || (this._element.style.overflowY = "hidden"), this._element.classList.add(Qo), this._queueCallback(() => {
@@ -23353,23 +23353,23 @@ class zn extends oa {
23353
23353
  });
23354
23354
  }
23355
23355
  }
23356
- ue.on(document, K3, eO, function(a) {
23356
+ ue.on(document, KO, e3, function(a) {
23357
23357
  const e = xe.getElementFromSelector(this);
23358
23358
  ["A", "AREA"].includes(this.tagName) && a.preventDefault(), ue.one(e, Zd, (r) => {
23359
23359
  r.defaultPrevented || ue.one(e, Qd, () => {
23360
23360
  Qn(this) && this.focus();
23361
23361
  });
23362
23362
  });
23363
- const t = xe.findOne(Q3);
23363
+ const t = xe.findOne(QO);
23364
23364
  t && zn.getInstance(t).hide(), zn.getOrCreateInstance(e).toggle(this);
23365
23365
  });
23366
23366
  co(zn);
23367
23367
  Qt(zn);
23368
- const nO = "offcanvas", rO = "bs.offcanvas", Ea = `.${rO}`, Jd = ".data-api", oO = `load${Ea}${Jd}`, sO = "Escape", vu = "show", gu = "showing", yu = "hiding", iO = "offcanvas-backdrop", ef = ".offcanvas.show", lO = `show${Ea}`, uO = `shown${Ea}`, cO = `hide${Ea}`, bu = `hidePrevented${Ea}`, tf = `hidden${Ea}`, dO = `resize${Ea}`, fO = `click${Ea}${Jd}`, pO = `keydown.dismiss${Ea}`, mO = '[data-bs-toggle="offcanvas"]', hO = {
23368
+ const n3 = "offcanvas", r3 = "bs.offcanvas", Ea = `.${r3}`, Jd = ".data-api", o3 = `load${Ea}${Jd}`, s3 = "Escape", vu = "show", gu = "showing", yu = "hiding", i3 = "offcanvas-backdrop", ef = ".offcanvas.show", l3 = `show${Ea}`, u3 = `shown${Ea}`, c3 = `hide${Ea}`, bu = `hidePrevented${Ea}`, tf = `hidden${Ea}`, d3 = `resize${Ea}`, f3 = `click${Ea}${Jd}`, p3 = `keydown.dismiss${Ea}`, m3 = '[data-bs-toggle="offcanvas"]', h3 = {
23369
23369
  backdrop: !0,
23370
23370
  keyboard: !0,
23371
23371
  scroll: !1
23372
- }, vO = {
23372
+ }, v3 = {
23373
23373
  backdrop: "(boolean|string)",
23374
23374
  keyboard: "boolean",
23375
23375
  scroll: "boolean"
@@ -23380,33 +23380,33 @@ class ja extends oa {
23380
23380
  }
23381
23381
  // Getters
23382
23382
  static get Default() {
23383
- return hO;
23383
+ return h3;
23384
23384
  }
23385
23385
  static get DefaultType() {
23386
- return vO;
23386
+ return v3;
23387
23387
  }
23388
23388
  static get NAME() {
23389
- return nO;
23389
+ return n3;
23390
23390
  }
23391
23391
  // Public
23392
23392
  toggle(e) {
23393
23393
  return this._isShown ? this.hide() : this.show(e);
23394
23394
  }
23395
23395
  show(e) {
23396
- if (this._isShown || ue.trigger(this._element, lO, {
23396
+ if (this._isShown || ue.trigger(this._element, l3, {
23397
23397
  relatedTarget: e
23398
23398
  }).defaultPrevented)
23399
23399
  return;
23400
23400
  this._isShown = !0, this._backdrop.show(), this._config.scroll || new ti().hide(), this._element.setAttribute("aria-modal", !0), this._element.setAttribute("role", "dialog"), this._element.classList.add(gu);
23401
23401
  const n = () => {
23402
- (!this._config.scroll || this._config.backdrop) && this._focustrap.activate(), this._element.classList.add(vu), this._element.classList.remove(gu), ue.trigger(this._element, uO, {
23402
+ (!this._config.scroll || this._config.backdrop) && this._focustrap.activate(), this._element.classList.add(vu), this._element.classList.remove(gu), ue.trigger(this._element, u3, {
23403
23403
  relatedTarget: e
23404
23404
  });
23405
23405
  };
23406
23406
  this._queueCallback(n, this._element, !0);
23407
23407
  }
23408
23408
  hide() {
23409
- if (!this._isShown || ue.trigger(this._element, cO).defaultPrevented)
23409
+ if (!this._isShown || ue.trigger(this._element, c3).defaultPrevented)
23410
23410
  return;
23411
23411
  this._focustrap.deactivate(), this._element.blur(), this._isShown = !1, this._element.classList.add(yu), this._backdrop.hide();
23412
23412
  const t = () => {
@@ -23427,7 +23427,7 @@ class ja extends oa {
23427
23427
  this.hide();
23428
23428
  }, t = !!this._config.backdrop;
23429
23429
  return new Kd({
23430
- className: iO,
23430
+ className: i3,
23431
23431
  isVisible: t,
23432
23432
  isAnimated: !0,
23433
23433
  rootElement: this._element.parentNode,
@@ -23440,8 +23440,8 @@ class ja extends oa {
23440
23440
  });
23441
23441
  }
23442
23442
  _addEventListeners() {
23443
- ue.on(this._element, pO, (e) => {
23444
- if (e.key === sO) {
23443
+ ue.on(this._element, p3, (e) => {
23444
+ if (e.key === s3) {
23445
23445
  if (this._config.keyboard) {
23446
23446
  this.hide();
23447
23447
  return;
@@ -23462,7 +23462,7 @@ class ja extends oa {
23462
23462
  });
23463
23463
  }
23464
23464
  }
23465
- ue.on(document, fO, mO, function(a) {
23465
+ ue.on(document, f3, m3, function(a) {
23466
23466
  const e = xe.getElementFromSelector(this);
23467
23467
  if (["A", "AREA"].includes(this.tagName) && a.preventDefault(), Ua(this))
23468
23468
  return;
@@ -23472,19 +23472,19 @@ ue.on(document, fO, mO, function(a) {
23472
23472
  const t = xe.findOne(ef);
23473
23473
  t && t !== e && ja.getInstance(t).hide(), ja.getOrCreateInstance(e).toggle(this);
23474
23474
  });
23475
- ue.on(window, oO, () => {
23475
+ ue.on(window, o3, () => {
23476
23476
  for (const a of xe.find(ef))
23477
23477
  ja.getOrCreateInstance(a).show();
23478
23478
  });
23479
- ue.on(window, dO, () => {
23479
+ ue.on(window, d3, () => {
23480
23480
  for (const a of xe.find("[aria-modal][class*=show][class*=offcanvas-]"))
23481
23481
  getComputedStyle(a).position !== "fixed" && ja.getOrCreateInstance(a).hide();
23482
23482
  });
23483
23483
  co(ja);
23484
23484
  Qt(ja);
23485
- const gO = /^aria-[\w-]*$/i, af = {
23485
+ const g3 = /^aria-[\w-]*$/i, af = {
23486
23486
  // Global attributes allowed on any supplied element below.
23487
- "*": ["class", "dir", "id", "lang", "role", gO],
23487
+ "*": ["class", "dir", "id", "lang", "role", g3],
23488
23488
  a: ["target", "href", "title", "rel"],
23489
23489
  area: [],
23490
23490
  b: [],
@@ -23517,11 +23517,11 @@ const gO = /^aria-[\w-]*$/i, af = {
23517
23517
  strong: [],
23518
23518
  u: [],
23519
23519
  ul: []
23520
- }, yO = /* @__PURE__ */ new Set(["background", "cite", "href", "itemtype", "longdesc", "poster", "src", "xlink:href"]), bO = /^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i, _O = (a, e) => {
23520
+ }, y3 = /* @__PURE__ */ new Set(["background", "cite", "href", "itemtype", "longdesc", "poster", "src", "xlink:href"]), b3 = /^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i, _3 = (a, e) => {
23521
23521
  const t = a.nodeName.toLowerCase();
23522
- return e.includes(t) ? yO.has(t) ? !!bO.test(a.nodeValue) : !0 : e.filter((n) => n instanceof RegExp).some((n) => n.test(t));
23522
+ return e.includes(t) ? y3.has(t) ? !!b3.test(a.nodeValue) : !0 : e.filter((n) => n instanceof RegExp).some((n) => n.test(t));
23523
23523
  };
23524
- function wO(a, e, t) {
23524
+ function w3(a, e, t) {
23525
23525
  if (!a.length)
23526
23526
  return a;
23527
23527
  if (t && typeof t == "function")
@@ -23535,11 +23535,11 @@ function wO(a, e, t) {
23535
23535
  }
23536
23536
  const i = [].concat(...s.attributes), c = [].concat(e["*"] || [], e[l] || []);
23537
23537
  for (const u of i)
23538
- _O(u, c) || s.removeAttribute(u.nodeName);
23538
+ _3(u, c) || s.removeAttribute(u.nodeName);
23539
23539
  }
23540
23540
  return r.body.innerHTML;
23541
23541
  }
23542
- const kO = "TemplateFactory", CO = {
23542
+ const k3 = "TemplateFactory", C3 = {
23543
23543
  allowList: af,
23544
23544
  content: {},
23545
23545
  // { selector : text , selector2 : text2 , }
@@ -23548,7 +23548,7 @@ const kO = "TemplateFactory", CO = {
23548
23548
  sanitize: !0,
23549
23549
  sanitizeFn: null,
23550
23550
  template: "<div></div>"
23551
- }, TO = {
23551
+ }, T3 = {
23552
23552
  allowList: "object",
23553
23553
  content: "object",
23554
23554
  extraClass: "(string|function)",
@@ -23556,23 +23556,23 @@ const kO = "TemplateFactory", CO = {
23556
23556
  sanitize: "boolean",
23557
23557
  sanitizeFn: "(null|function)",
23558
23558
  template: "string"
23559
- }, $O = {
23559
+ }, $3 = {
23560
23560
  entry: "(string|element|function|null)",
23561
23561
  selector: "(string|element)"
23562
23562
  };
23563
- class EO extends kr {
23563
+ class E3 extends kr {
23564
23564
  constructor(e) {
23565
23565
  super(), this._config = this._getConfig(e);
23566
23566
  }
23567
23567
  // Getters
23568
23568
  static get Default() {
23569
- return CO;
23569
+ return C3;
23570
23570
  }
23571
23571
  static get DefaultType() {
23572
- return TO;
23572
+ return T3;
23573
23573
  }
23574
23574
  static get NAME() {
23575
- return kO;
23575
+ return k3;
23576
23576
  }
23577
23577
  // Public
23578
23578
  getContent() {
@@ -23604,7 +23604,7 @@ class EO extends kr {
23604
23604
  super._typeCheckConfig({
23605
23605
  selector: t,
23606
23606
  entry: n
23607
- }, $O);
23607
+ }, $3);
23608
23608
  }
23609
23609
  _setContent(e, t, n) {
23610
23610
  const r = xe.findOne(n, e);
@@ -23625,7 +23625,7 @@ class EO extends kr {
23625
23625
  }
23626
23626
  }
23627
23627
  _maybeSanitize(e) {
23628
- return this._config.sanitize ? wO(e, this._config.allowList, this._config.sanitizeFn) : e;
23628
+ return this._config.sanitize ? w3(e, this._config.allowList, this._config.sanitizeFn) : e;
23629
23629
  }
23630
23630
  _resolvePossibleFunction(e) {
23631
23631
  return Nt(e, [void 0, this]);
@@ -23638,13 +23638,13 @@ class EO extends kr {
23638
23638
  t.textContent = e.textContent;
23639
23639
  }
23640
23640
  }
23641
- const DO = "tooltip", OO = /* @__PURE__ */ new Set(["sanitize", "allowList", "sanitizeFn"]), Zo = "fade", xO = "modal", Ir = "show", MO = ".tooltip-inner", _u = `.${xO}`, wu = "hide.bs.modal", or = "hover", Jo = "focus", es = "click", PO = "manual", AO = "hide", SO = "hidden", LO = "show", IO = "shown", NO = "inserted", RO = "click", VO = "focusin", BO = "focusout", FO = "mouseenter", YO = "mouseleave", HO = {
23641
+ const D3 = "tooltip", O3 = /* @__PURE__ */ new Set(["sanitize", "allowList", "sanitizeFn"]), Zo = "fade", x3 = "modal", Ir = "show", M3 = ".tooltip-inner", _u = `.${x3}`, wu = "hide.bs.modal", or = "hover", Jo = "focus", es = "click", P3 = "manual", A3 = "hide", S3 = "hidden", L3 = "show", I3 = "shown", N3 = "inserted", R3 = "click", V3 = "focusin", B3 = "focusout", F3 = "mouseenter", Y3 = "mouseleave", H3 = {
23642
23642
  AUTO: "auto",
23643
23643
  TOP: "top",
23644
23644
  RIGHT: Xt() ? "left" : "right",
23645
23645
  BOTTOM: "bottom",
23646
23646
  LEFT: Xt() ? "right" : "left"
23647
- }, WO = {
23647
+ }, W3 = {
23648
23648
  allowList: af,
23649
23649
  animation: !0,
23650
23650
  boundary: "clippingParents",
@@ -23662,7 +23662,7 @@ const DO = "tooltip", OO = /* @__PURE__ */ new Set(["sanitize", "allowList", "sa
23662
23662
  template: '<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',
23663
23663
  title: "",
23664
23664
  trigger: "hover focus"
23665
- }, UO = {
23665
+ }, U3 = {
23666
23666
  allowList: "object",
23667
23667
  animation: "boolean",
23668
23668
  boundary: "(string|element)",
@@ -23689,13 +23689,13 @@ class Jn extends oa {
23689
23689
  }
23690
23690
  // Getters
23691
23691
  static get Default() {
23692
- return WO;
23692
+ return W3;
23693
23693
  }
23694
23694
  static get DefaultType() {
23695
- return UO;
23695
+ return U3;
23696
23696
  }
23697
23697
  static get NAME() {
23698
- return DO;
23698
+ return D3;
23699
23699
  }
23700
23700
  // Public
23701
23701
  enable() {
@@ -23724,7 +23724,7 @@ class Jn extends oa {
23724
23724
  throw new Error("Please use show on visible elements");
23725
23725
  if (!(this._isWithContent() && this._isEnabled))
23726
23726
  return;
23727
- const e = ue.trigger(this._element, this.constructor.eventName(LO)), n = (Ad(this._element) || this._element.ownerDocument.documentElement).contains(this._element);
23727
+ const e = ue.trigger(this._element, this.constructor.eventName(L3)), n = (Ad(this._element) || this._element.ownerDocument.documentElement).contains(this._element);
23728
23728
  if (e.defaultPrevented || !n)
23729
23729
  return;
23730
23730
  this._disposePopper();
@@ -23733,23 +23733,23 @@ class Jn extends oa {
23733
23733
  const {
23734
23734
  container: o
23735
23735
  } = this._config;
23736
- if (this._element.ownerDocument.documentElement.contains(this.tip) || (o.append(r), ue.trigger(this._element, this.constructor.eventName(NO))), this._popper = this._createPopper(r), r.classList.add(Ir), "ontouchstart" in document.documentElement)
23736
+ if (this._element.ownerDocument.documentElement.contains(this.tip) || (o.append(r), ue.trigger(this._element, this.constructor.eventName(N3))), this._popper = this._createPopper(r), r.classList.add(Ir), "ontouchstart" in document.documentElement)
23737
23737
  for (const l of [].concat(...document.body.children))
23738
23738
  ue.on(l, "mouseover", Kr);
23739
23739
  const s = () => {
23740
- ue.trigger(this._element, this.constructor.eventName(IO)), this._isHovered === !1 && this._leave(), this._isHovered = !1;
23740
+ ue.trigger(this._element, this.constructor.eventName(I3)), this._isHovered === !1 && this._leave(), this._isHovered = !1;
23741
23741
  };
23742
23742
  this._queueCallback(s, this.tip, this._isAnimated());
23743
23743
  }
23744
23744
  hide() {
23745
- if (!this._isShown() || ue.trigger(this._element, this.constructor.eventName(AO)).defaultPrevented)
23745
+ if (!this._isShown() || ue.trigger(this._element, this.constructor.eventName(A3)).defaultPrevented)
23746
23746
  return;
23747
23747
  if (this._getTipElement().classList.remove(Ir), "ontouchstart" in document.documentElement)
23748
23748
  for (const r of [].concat(...document.body.children))
23749
23749
  ue.off(r, "mouseover", Kr);
23750
23750
  this._activeTrigger[es] = !1, this._activeTrigger[Jo] = !1, this._activeTrigger[or] = !1, this._isHovered = null;
23751
23751
  const n = () => {
23752
- this._isWithActiveTrigger() || (this._isHovered || this._disposePopper(), this._element.removeAttribute("aria-describedby"), ue.trigger(this._element, this.constructor.eventName(SO)));
23752
+ this._isWithActiveTrigger() || (this._isHovered || this._disposePopper(), this._element.removeAttribute("aria-describedby"), ue.trigger(this._element, this.constructor.eventName(S3)));
23753
23753
  };
23754
23754
  this._queueCallback(n, this.tip, this._isAnimated());
23755
23755
  }
@@ -23775,7 +23775,7 @@ class Jn extends oa {
23775
23775
  this._newContent = e, this._isShown() && (this._disposePopper(), this.show());
23776
23776
  }
23777
23777
  _getTemplateFactory(e) {
23778
- return this._templateFactory ? this._templateFactory.changeContent(e) : this._templateFactory = new EO({
23778
+ return this._templateFactory ? this._templateFactory.changeContent(e) : this._templateFactory = new E3({
23779
23779
  ...this._config,
23780
23780
  // the `content` var has to be after `this._config`
23781
23781
  // to override config.content in case of popover
@@ -23785,7 +23785,7 @@ class Jn extends oa {
23785
23785
  }
23786
23786
  _getContentForTemplate() {
23787
23787
  return {
23788
- [MO]: this._getTitle()
23788
+ [M3]: this._getTitle()
23789
23789
  };
23790
23790
  }
23791
23791
  _getTitle() {
@@ -23802,7 +23802,7 @@ class Jn extends oa {
23802
23802
  return this.tip && this.tip.classList.contains(Ir);
23803
23803
  }
23804
23804
  _createPopper(e) {
23805
- const t = Nt(this._config.placement, [this, e, this._element]), n = HO[t.toUpperCase()];
23805
+ const t = Nt(this._config.placement, [this, e, this._element]), n = H3[t.toUpperCase()];
23806
23806
  return qi(this._element, e, this._getPopperConfig(n));
23807
23807
  }
23808
23808
  _getOffset() {
@@ -23855,12 +23855,12 @@ class Jn extends oa {
23855
23855
  const e = this._config.trigger.split(" ");
23856
23856
  for (const t of e)
23857
23857
  if (t === "click")
23858
- ue.on(this._element, this.constructor.eventName(RO), this._config.selector, (n) => {
23858
+ ue.on(this._element, this.constructor.eventName(R3), this._config.selector, (n) => {
23859
23859
  const r = this._initializeOnDelegatedTarget(n);
23860
23860
  r._activeTrigger[es] = !(r._isShown() && r._activeTrigger[es]), r.toggle();
23861
23861
  });
23862
- else if (t !== PO) {
23863
- const n = t === or ? this.constructor.eventName(FO) : this.constructor.eventName(VO), r = t === or ? this.constructor.eventName(YO) : this.constructor.eventName(BO);
23862
+ else if (t !== P3) {
23863
+ const n = t === or ? this.constructor.eventName(F3) : this.constructor.eventName(V3), r = t === or ? this.constructor.eventName(Y3) : this.constructor.eventName(B3);
23864
23864
  ue.on(this._element, n, this._config.selector, (o) => {
23865
23865
  const s = this._initializeOnDelegatedTarget(o);
23866
23866
  s._activeTrigger[o.type === "focusin" ? Jo : or] = !0, s._enter();
@@ -23900,7 +23900,7 @@ class Jn extends oa {
23900
23900
  _getConfig(e) {
23901
23901
  const t = Ca.getDataAttributes(this._element);
23902
23902
  for (const n of Object.keys(t))
23903
- OO.has(n) && delete t[n];
23903
+ O3.has(n) && delete t[n];
23904
23904
  return e = {
23905
23905
  ...t,
23906
23906
  ...typeof e == "object" && e ? e : {}
@@ -23934,27 +23934,27 @@ class Jn extends oa {
23934
23934
  }
23935
23935
  }
23936
23936
  Qt(Jn);
23937
- const jO = "popover", zO = ".popover-header", qO = ".popover-body", XO = {
23937
+ const j3 = "popover", z3 = ".popover-header", q3 = ".popover-body", X3 = {
23938
23938
  ...Jn.Default,
23939
23939
  content: "",
23940
23940
  offset: [0, 8],
23941
23941
  placement: "right",
23942
23942
  template: '<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',
23943
23943
  trigger: "click"
23944
- }, KO = {
23944
+ }, K3 = {
23945
23945
  ...Jn.DefaultType,
23946
23946
  content: "(null|string|element|function)"
23947
23947
  };
23948
23948
  class Qi extends Jn {
23949
23949
  // Getters
23950
23950
  static get Default() {
23951
- return XO;
23951
+ return X3;
23952
23952
  }
23953
23953
  static get DefaultType() {
23954
- return KO;
23954
+ return K3;
23955
23955
  }
23956
23956
  static get NAME() {
23957
- return jO;
23957
+ return j3;
23958
23958
  }
23959
23959
  // Overrides
23960
23960
  _isWithContent() {
@@ -23963,8 +23963,8 @@ class Qi extends Jn {
23963
23963
  // Private
23964
23964
  _getContentForTemplate() {
23965
23965
  return {
23966
- [zO]: this._getTitle(),
23967
- [qO]: this._getContent()
23966
+ [z3]: this._getTitle(),
23967
+ [q3]: this._getContent()
23968
23968
  };
23969
23969
  }
23970
23970
  _getContent() {
@@ -23983,7 +23983,7 @@ class Qi extends Jn {
23983
23983
  }
23984
23984
  }
23985
23985
  Qt(Qi);
23986
- const GO = "scrollspy", QO = "bs.scrollspy", Zi = `.${QO}`, ZO = ".data-api", JO = `activate${Zi}`, ku = `click${Zi}`, ex = `load${Zi}${ZO}`, tx = "dropdown-item", Cn = "active", ax = '[data-bs-spy="scroll"]', ts = "[href]", nx = ".nav, .list-group", Cu = ".nav-link", rx = ".nav-item", ox = ".list-group-item", sx = `${Cu}, ${rx} > ${Cu}, ${ox}`, ix = ".dropdown", lx = ".dropdown-toggle", ux = {
23986
+ const G3 = "scrollspy", Q3 = "bs.scrollspy", Zi = `.${Q3}`, Z3 = ".data-api", J3 = `activate${Zi}`, ku = `click${Zi}`, ex = `load${Zi}${Z3}`, tx = "dropdown-item", Cn = "active", ax = '[data-bs-spy="scroll"]', ts = "[href]", nx = ".nav, .list-group", Cu = ".nav-link", rx = ".nav-item", ox = ".list-group-item", sx = `${Cu}, ${rx} > ${Cu}, ${ox}`, ix = ".dropdown", lx = ".dropdown-toggle", ux = {
23987
23987
  offset: null,
23988
23988
  // TODO: v6 @deprecated, keep it for backwards compatibility reasons
23989
23989
  rootMargin: "0px 0px -25%",
@@ -24013,7 +24013,7 @@ class mo extends oa {
24013
24013
  return cx;
24014
24014
  }
24015
24015
  static get NAME() {
24016
- return GO;
24016
+ return G3;
24017
24017
  }
24018
24018
  // Public
24019
24019
  refresh() {
@@ -24084,7 +24084,7 @@ class mo extends oa {
24084
24084
  }
24085
24085
  }
24086
24086
  _process(e) {
24087
- this._activeTarget !== e && (this._clearActiveClass(this._config.target), this._activeTarget = e, e.classList.add(Cn), this._activateParents(e), ue.trigger(this._element, JO, {
24087
+ this._activeTarget !== e && (this._clearActiveClass(this._config.target), this._activeTarget = e, e.classList.add(Cn), this._activateParents(e), ue.trigger(this._element, J3, {
24088
24088
  relatedTarget: e
24089
24089
  }));
24090
24090
  }