ablok-components 0.1.205 → 0.1.206

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.
@@ -1,7 +1,7 @@
1
1
  var SP = Object.defineProperty;
2
2
  var UP = (t, e, A) => e in t ? SP(t, e, { enumerable: !0, configurable: !0, writable: !0, value: A }) : t[e] = A;
3
3
  var Ye = (t, e, A) => (UP(t, typeof e != "symbol" ? e + "" : e, A), A);
4
- import { defineComponent as Xe, openBlock as M, createElementBlock as Y, normalizeClass as De, createElementVNode as V, renderSlot as be, ref as de, resolveComponent as wA, createBlock as ot, createCommentVNode as pe, computed as oe, resolveDynamicComponent as Oc, withCtx as At, toDisplayString as Ct, createVNode as Re, onMounted as zt, withDirectives as lr, vModelDynamic as _P, vModelText as oB, withModifiers as JA, vModelCheckbox as aB, reactive as Fa, useSlots as Eo, toRef as oc, getCurrentInstance as Gl, nextTick as Vn, onUnmounted as Sa, watch as sA, unref as D, mergeProps as zA, isRef as sb, createSlots as Un, renderList as Rt, normalizeProps as rn, guardReactiveProps as or, Teleport as PQ, Transition as ko, normalizeStyle as ar, Fragment as st, h as Ri, render as ob, useAttrs as IP, createTextVNode as fi, toValue as TP, onBeforeUpdate as xP, vShow as yl, withKeys as OP, getCurrentScope as DP, onScopeDispose as LP, inject as MP, shallowRef as lB, onBeforeMount as $Q, Text as HP, onBeforeUnmount as ks, watchEffect as NP, markRaw as RP, customRef as PP, vModelRadio as $P, TransitionGroup as KP } from "vue";
4
+ import { defineComponent as Xe, openBlock as M, createElementBlock as Y, normalizeClass as De, createElementVNode as V, renderSlot as be, ref as de, resolveComponent as wA, createBlock as ot, createCommentVNode as pe, computed as oe, resolveDynamicComponent as Oc, withCtx as At, toDisplayString as Ct, createVNode as Re, onMounted as zt, withDirectives as lr, vModelDynamic as _P, vModelText as oB, withModifiers as JA, vModelCheckbox as aB, reactive as Fa, useSlots as Eo, toRef as oc, getCurrentInstance as Gl, nextTick as Vn, onUnmounted as Sa, watch as rA, unref as D, mergeProps as zA, isRef as sb, createSlots as Un, renderList as Rt, normalizeProps as rn, guardReactiveProps as or, Teleport as PQ, Transition as ko, normalizeStyle as ar, Fragment as st, h as Ri, render as ob, useAttrs as IP, createTextVNode as fi, toValue as TP, onBeforeUpdate as xP, vShow as yl, withKeys as OP, getCurrentScope as DP, onScopeDispose as LP, inject as MP, shallowRef as lB, onBeforeMount as $Q, Text as HP, onBeforeUnmount as ks, watchEffect as NP, markRaw as RP, customRef as PP, vModelRadio as $P, TransitionGroup as KP } from "vue";
5
5
  import { applyStyles as VP, createPopper as WP } from "@popperjs/core";
6
6
  const GP = {
7
7
  class: "icon",
@@ -4422,15 +4422,15 @@ const Iy = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
4422
4422
  };
4423
4423
  }, cK = (t, e, A) => {
4424
4424
  const n = de(), { defaultedTextInput: r, defaultedRange: i, defaultedTz: s, defaultedMultiDates: o, getDefaultPattern: a } = gA(e), u = de(""), d = oc(e, "format"), f = oc(e, "formatLocale");
4425
- sA(
4425
+ rA(
4426
4426
  n,
4427
4427
  () => {
4428
4428
  typeof e.onInternalModelChange == "function" && t("internal-model-change", n.value, ue(!0));
4429
4429
  },
4430
4430
  { deep: !0 }
4431
- ), sA(i, (F, te) => {
4431
+ ), rA(i, (F, te) => {
4432
4432
  F.enabled !== te.enabled && (n.value = null);
4433
- }), sA(d, () => {
4433
+ }), rA(d, () => {
4434
4434
  ne();
4435
4435
  });
4436
4436
  const h = (F) => s.value.timezone && s.value.convertModel ? ur(F, s.value.timezone) : F, g = (F) => {
@@ -4892,7 +4892,7 @@ const Iy = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
4892
4892
  dp__container_block: ((q = o.items) == null ? void 0 : q.length) > 6
4893
4893
  };
4894
4894
  });
4895
- sA(
4895
+ rA(
4896
4896
  () => o.items,
4897
4897
  () => ae(!1),
4898
4898
  { deep: !0 }
@@ -5274,7 +5274,7 @@ const Iy = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
5274
5274
  }, C = () => {
5275
5275
  E(), t.value.count && y();
5276
5276
  };
5277
- sA(i, (R, le) => {
5277
+ rA(i, (R, le) => {
5278
5278
  s.isTextInputDate && JSON.stringify(R ?? {}) !== JSON.stringify(le ?? {}) && C();
5279
5279
  }), zt(() => {
5280
5280
  C();
@@ -7138,7 +7138,7 @@ const Iy = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7138
7138
  } = e3(r, n, Se, K), T = Eo(), { setHoverDate: R, getDayClassData: le, clearHoverDate: ae } = v3(a, r), { defaultedMultiCalendars: ge } = gA(r), P = de([]), z = de([]), W = de(null), re = kr(T, "calendar"), ne = kr(T, "monthYear"), j = kr(T, "timePicker"), Be = (ke) => {
7139
7139
  r.shadow || n("mount", ke);
7140
7140
  };
7141
- sA(
7141
+ rA(
7142
7142
  i,
7143
7143
  () => {
7144
7144
  r.shadow || setTimeout(() => {
@@ -7146,7 +7146,7 @@ const Iy = (t, e) => t == null ? void 0 : t.querySelector(`[data-dp-element="${e
7146
7146
  }, 0);
7147
7147
  },
7148
7148
  { deep: !0 }
7149
- ), sA(
7149
+ ), rA(
7150
7150
  ge,
7151
7151
  (ke, Z) => {
7152
7152
  ke.count - Z.count > 0 && _();
@@ -7836,7 +7836,7 @@ const g3 = ({
7836
7836
  top: "0",
7837
7837
  left: "0"
7838
7838
  }), h = de(!1), g = oc(s, "teleportCenter");
7839
- sA(g, () => {
7839
+ rA(g, () => {
7840
7840
  f.value = JSON.parse(JSON.stringify({})), S();
7841
7841
  });
7842
7842
  const m = (W) => {
@@ -8034,7 +8034,7 @@ const g3 = ({
8034
8034
  minutes: o("minutes"),
8035
8035
  seconds: o("seconds")
8036
8036
  });
8037
- sA(
8037
+ rA(
8038
8038
  n,
8039
8039
  (h, g) => {
8040
8040
  h.enabled !== g.enabled && (a.hours = o("hours"), a.minutes = o("minutes"), a.seconds = o("seconds"));
@@ -8051,7 +8051,7 @@ const g3 = ({
8051
8051
  ), f = oe(
8052
8052
  () => (h) => s.value[h] ? s.value[h].year : 0
8053
8053
  );
8054
- return sA(
8054
+ return rA(
8055
8055
  u,
8056
8056
  (h, g) => {
8057
8057
  A && JSON.stringify(h ?? {}) !== JSON.stringify(g ?? {}) && A();
@@ -8550,7 +8550,7 @@ const g3 = ({
8550
8550
  if (!t)
8551
8551
  return om;
8552
8552
  let r = om;
8553
- const i = sA(
8553
+ const i = rA(
8554
8554
  () => D(t),
8555
8555
  (o) => {
8556
8556
  r(), o && (o.removeEventListener(e, A), o.addEventListener(e, A, n), r = () => {
@@ -8627,7 +8627,7 @@ const g3 = ({
8627
8627
  window == null || window.removeEventListener("keyup", gt), window == null || window.removeEventListener("keydown", L);
8628
8628
  });
8629
8629
  const re = kr(i, "all", r.presetDates), ne = kr(i, "input");
8630
- sA(
8630
+ rA(
8631
8631
  [o, a],
8632
8632
  () => {
8633
8633
  F(o.value);
@@ -11416,9 +11416,9 @@ function vW(t = {}, e) {
11416
11416
  function Ge(ce, ie) {
11417
11417
  g.value[ce] = _n(g.value[ce] || {}, ie), T.numberFormats = g.value, Xb(T, ce, ie);
11418
11418
  }
11419
- t1++, A && bs && (sA(A.locale, (ce) => {
11419
+ t1++, A && bs && (rA(A.locale, (ce) => {
11420
11420
  a && (u.value = ce, T.locale = ce, yu(T, u.value, d.value));
11421
- }), sA(A.fallbackLocale, (ce) => {
11421
+ }), rA(A.fallbackLocale, (ce) => {
11422
11422
  a && (d.value = ce, T.fallbackLocale = ce, yu(T, u.value, d.value));
11423
11423
  }));
11424
11424
  const it = {
@@ -12496,9 +12496,9 @@ const jW = ["id", "name", "multiple", "accept", "disabled"], XW = { class: "inpu
12496
12496
  }));
12497
12497
  }
12498
12498
  const i = de(), s = Fa([]), o = oe(() => s && s.map((a) => a.name));
12499
- return sA(() => A.modelValue, (a, u) => {
12499
+ return rA(() => A.modelValue, (a, u) => {
12500
12500
  a.length === 0 && (i.value.value = null);
12501
- }, { deep: !0 }), sA(() => s, (a, u) => {
12501
+ }, { deep: !0 }), rA(() => s, (a, u) => {
12502
12502
  n("update:modelValue", a);
12503
12503
  }, { deep: !0 }), (a, u) => (M(), Y("div", {
12504
12504
  class: De(["input input-file", "input-file--primary"])
@@ -28652,7 +28652,7 @@ const fj = (t = {}) => {
28652
28652
  })
28653
28653
  ]
28654
28654
  });
28655
- sA(() => A.modelValue, (u, d) => {
28655
+ rA(() => A.modelValue, (u, d) => {
28656
28656
  if (i.value) {
28657
28657
  if (i.value.getHTML() === u)
28658
28658
  return;
@@ -29438,7 +29438,7 @@ const Yj = {
29438
29438
  const g = new RegExp(`(${s.value})`, "i");
29439
29439
  return o.value.map((m) => m.replace(g, "<strong>$1</strong>"));
29440
29440
  });
29441
- sA(() => A.options, (g, m) => {
29441
+ rA(() => A.options, (g, m) => {
29442
29442
  g.length && (i.value = !0);
29443
29443
  }, { deep: !0 });
29444
29444
  function u() {
@@ -29558,8 +29558,8 @@ Oh.exports;
29558
29558
  "setTimeout"
29559
29559
  ], KO = -1, oA = {};
29560
29560
  oA[nt] = oA[_t] = oA[XA] = oA[Tn] = oA[yn] = oA[me] = oA[Ve] = oA[tt] = oA[It] = !0, oA[se] = oA[ue] = oA[ce] = oA[te] = oA[ie] = oA[Oe] = oA[fe] = oA[rt] = oA[Z] = oA[O] = oA[Ue] = oA[L] = oA[H] = oA[ye] = oA[Ge] = !1;
29561
- var rA = {};
29562
- rA[se] = rA[ue] = rA[ce] = rA[ie] = rA[te] = rA[Oe] = rA[nt] = rA[_t] = rA[XA] = rA[Tn] = rA[yn] = rA[Z] = rA[O] = rA[Ue] = rA[L] = rA[H] = rA[ye] = rA[$] = rA[me] = rA[Ve] = rA[tt] = rA[It] = !0, rA[fe] = rA[rt] = rA[Ge] = !1;
29561
+ var iA = {};
29562
+ iA[se] = iA[ue] = iA[ce] = iA[ie] = iA[te] = iA[Oe] = iA[nt] = iA[_t] = iA[XA] = iA[Tn] = iA[yn] = iA[Z] = iA[O] = iA[Ue] = iA[L] = iA[H] = iA[ye] = iA[$] = iA[me] = iA[Ve] = iA[tt] = iA[It] = !0, iA[fe] = iA[rt] = iA[Ge] = !1;
29563
29563
  var VO = {
29564
29564
  // Latin-1 Supplement block.
29565
29565
  À: "A",
@@ -30379,7 +30379,7 @@ Oh.exports;
30379
30379
  if (N = ee || Ne ? {} : gC(l), !G)
30380
30380
  return ee ? GL(l, pL(N, l)) : WL(l, Fw(N, l));
30381
30381
  } else {
30382
- if (!rA[_e])
30382
+ if (!iA[_e])
30383
30383
  return k ? l : {};
30384
30384
  N = rM(l, _e, G);
30385
30385
  }
@@ -33313,7 +33313,7 @@ const mce = /* @__PURE__ */ Xe({
33313
33313
  async function P(ne, j) {
33314
33314
  R(), ne && (!j || ne.deviceId !== j.deviceId) && await le();
33315
33315
  }
33316
- sA(() => d.value, P), sA(() => f.value, P);
33316
+ rA(() => d.value, P), rA(() => f.value, P);
33317
33317
  function z() {
33318
33318
  r.countdown ? (B.value = B.value ? B.value - 1 : r.countdown, B.value ? setTimeout(z, 1e3) : W()) : W();
33319
33319
  }
@@ -33942,14 +33942,14 @@ const yce = /* @__PURE__ */ Xe({
33942
33942
  emits: ["update:modelValue", "update:src"],
33943
33943
  setup(t, { emit: e }) {
33944
33944
  const A = t, n = e, r = de([]), i = de([]), s = de(!1), o = de(!1), a = oe(() => A.modelValue.length ? A.modelValue : A.src ? [{ type: "", src: A.src }] : i.value);
33945
- sA(() => r.value, async (m) => {
33945
+ rA(() => r.value, async (m) => {
33946
33946
  i.value = await Promise.all(
33947
33947
  m.map(async (y) => ({
33948
33948
  src: A.toDataUrl ? await m7(y) : await d(y),
33949
33949
  type: y.type
33950
33950
  }))
33951
33951
  );
33952
- }, { deep: !0 }), sA(() => i.value, async (m) => {
33952
+ }, { deep: !0 }), rA(() => i.value, async (m) => {
33953
33953
  const y = A.multiple ? m : m[0];
33954
33954
  n("update:modelValue", y), A.multiple || n("update:src", m[0] && m[0].src);
33955
33955
  }, { deep: !0 });
@@ -34123,7 +34123,7 @@ const y7 = { class: "upload-group" }, v7 = ["innerHTML"], B7 = { class: "upload-
34123
34123
  function s(o) {
34124
34124
  i.value.splice(o, 1), n("update:modelValue", i.value);
34125
34125
  }
34126
- return sA(r, (o, a) => {
34126
+ return rA(r, (o, a) => {
34127
34127
  o && (n("update:modelValue", [...i.value, o]), r.value = "");
34128
34128
  }), (o, a) => {
34129
34129
  const u = wA("svg-icon"), d = wA("file-upload"), f = wA("sortable-list");
@@ -35363,8 +35363,8 @@ var oq = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
35363
35363
  flags: Kc
35364
35364
  }, Ou = function(t, e, A) {
35365
35365
  var n = t[0], r = t[1];
35366
- return [iA(n, e), iA(typeof r < "u" ? r : n, A)];
35367
- }, iA = function(t, e) {
35366
+ return [sA(n, e), sA(typeof r < "u" ? r : n, A)];
35367
+ }, sA = function(t, e) {
35368
35368
  if (t.type === 16)
35369
35369
  return t.number / 100 * e;
35370
35370
  if (Vc(t))
@@ -35501,7 +35501,7 @@ function zm(t, e, A) {
35501
35501
  return A < 0 && (A += 1), A >= 1 && (A -= 1), A < 1 / 6 ? (e - t) * A * 6 + t : A < 1 / 2 ? e : A < 2 / 3 ? (e - t) * 6 * (2 / 3 - A) + t : t;
35502
35502
  }
35503
35503
  var tk = function(t, e) {
35504
- var A = e.filter(Rl), n = A[0], r = A[1], i = A[2], s = A[3], o = (n.type === 17 ? zr(n.number) : kp.parse(t, n)) / (Math.PI * 2), a = MA(r) ? r.number / 100 : 0, u = MA(i) ? i.number / 100 : 0, d = typeof s < "u" && MA(s) ? iA(s, 1) : 1;
35504
+ var A = e.filter(Rl), n = A[0], r = A[1], i = A[2], s = A[3], o = (n.type === 17 ? zr(n.number) : kp.parse(t, n)) / (Math.PI * 2), a = MA(r) ? r.number / 100 : 0, u = MA(i) ? i.number / 100 : 0, d = typeof s < "u" && MA(s) ? sA(s, 1) : 1;
35505
35505
  if (a === 0)
35506
35506
  return io(u * 255, u * 255, u * 255, 1);
35507
35507
  var f = u <= 0.5 ? u * (a + 1) : u + a - u * a, h = u * 2 - f, g = zm(h, f, o + 1 / 3), m = zm(h, f, o), y = zm(h, f, o - 1 / 3);
@@ -35695,7 +35695,7 @@ var tk = function(t, e) {
35695
35695
  for (var r = [], i = 0, s = 0; s < t.length; s++) {
35696
35696
  var o = t[s].stop;
35697
35697
  if (o !== null) {
35698
- var a = iA(o, e);
35698
+ var a = sA(o, e);
35699
35699
  a > i ? r.push(a) : r.push(i), i = a;
35700
35700
  } else
35701
35701
  r.push(null);
@@ -35715,7 +35715,7 @@ var tk = function(t, e) {
35715
35715
  return { color: w, stop: Math.max(Math.min(1, r[B] / e), 0) };
35716
35716
  });
35717
35717
  }, O9 = function(t, e, A) {
35718
- var n = e / 2, r = A / 2, i = iA(t[0], e) - n, s = r - iA(t[1], A);
35718
+ var n = e / 2, r = A / 2, i = sA(t[0], e) - n, s = r - sA(t[1], A);
35719
35719
  return (Math.atan2(s, i) + Math.PI * 2) % (Math.PI * 2);
35720
35720
  }, D9 = function(t, e, A) {
35721
35721
  var n = typeof t == "number" ? t : O9(t, e, A), r = Math.abs(e * Math.sin(n)) + Math.abs(A * Math.cos(n)), i = e / 2, s = A / 2, o = r / 2, a = Math.sin(n - Math.PI / 2) * o, u = Math.cos(n - Math.PI / 2) * o;
@@ -35765,7 +35765,7 @@ var tk = function(t, e) {
35765
35765
  }
35766
35766
  break;
35767
35767
  }
35768
- return Array.isArray(t.size) && (i = iA(t.size[0], n), s = t.size.length === 2 ? iA(t.size[1], r) : i), [i, s];
35768
+ return Array.isArray(t.size) && (i = sA(t.size[0], n), s = t.size.length === 2 ? sA(t.size[1], r) : i), [i, s];
35769
35769
  }, M9 = function(t, e) {
35770
35770
  var A = zr(180), n = [];
35771
35771
  return Gi(e).forEach(function(r, i) {
@@ -36274,7 +36274,7 @@ var yZ = {
36274
36274
  type: 4
36275
36275
  /* TOKEN_VALUE */
36276
36276
  }, rk = function(t, e) {
36277
- return eA(t) && t.value === "normal" ? 1.2 * e : t.type === 17 ? e * t.number : MA(t) ? iA(t, e) : e;
36277
+ return eA(t) && t.value === "normal" ? 1.2 * e : t.type === 17 ? e * t.number : MA(t) ? sA(t, e) : e;
36278
36278
  }, BZ = {
36279
36279
  name: "list-style-image",
36280
36280
  initialValue: "none",
@@ -38363,7 +38363,7 @@ var mte = function(t, e) {
38363
38363
  B.push((i + a) / n.width), B.push((m + f) / n.width), B.push((s + y) / n.height), B.push((u + h) / n.height);
38364
38364
  var w = Math.max.apply(Math, B);
38365
38365
  w > 1 && (i /= w, s /= w, a /= w, u /= w, f /= w, h /= w, m /= w, y /= w);
38366
- var Q = n.width - a, E = n.height - h, C = n.width - f, S = n.height - y, b = A.borderTopWidth, _ = A.borderRightWidth, x = A.borderBottomWidth, T = A.borderLeftWidth, R = iA(A.paddingTop, e.bounds.width), le = iA(A.paddingRight, e.bounds.width), ae = iA(A.paddingBottom, e.bounds.width), ge = iA(A.paddingLeft, e.bounds.width);
38366
+ var Q = n.width - a, E = n.height - h, C = n.width - f, S = n.height - y, b = A.borderTopWidth, _ = A.borderRightWidth, x = A.borderBottomWidth, T = A.borderLeftWidth, R = sA(A.paddingTop, e.bounds.width), le = sA(A.paddingRight, e.bounds.width), ae = sA(A.paddingBottom, e.bounds.width), ge = sA(A.paddingLeft, e.bounds.width);
38367
38367
  this.topLeftBorderDoubleOuterBox = i > 0 || s > 0 ? pA(n.left + T / 3, n.top + b / 3, i - T / 3, s - b / 3, Yt.TOP_LEFT) : new Pe(n.left + T / 3, n.top + b / 3), this.topRightBorderDoubleOuterBox = i > 0 || s > 0 ? pA(n.left + Q, n.top + b / 3, a - _ / 3, u - b / 3, Yt.TOP_RIGHT) : new Pe(n.left + n.width - _ / 3, n.top + b / 3), this.bottomRightBorderDoubleOuterBox = f > 0 || h > 0 ? pA(n.left + C, n.top + E, f - _ / 3, h - x / 3, Yt.BOTTOM_RIGHT) : new Pe(n.left + n.width - _ / 3, n.top + n.height - x / 3), this.bottomLeftBorderDoubleOuterBox = m > 0 || y > 0 ? pA(n.left + T / 3, n.top + S, m - T / 3, y - x / 3, Yt.BOTTOM_LEFT) : new Pe(n.left + T / 3, n.top + n.height - x / 3), this.topLeftBorderDoubleInnerBox = i > 0 || s > 0 ? pA(n.left + T * 2 / 3, n.top + b * 2 / 3, i - T * 2 / 3, s - b * 2 / 3, Yt.TOP_LEFT) : new Pe(n.left + T * 2 / 3, n.top + b * 2 / 3), this.topRightBorderDoubleInnerBox = i > 0 || s > 0 ? pA(n.left + Q, n.top + b * 2 / 3, a - _ * 2 / 3, u - b * 2 / 3, Yt.TOP_RIGHT) : new Pe(n.left + n.width - _ * 2 / 3, n.top + b * 2 / 3), this.bottomRightBorderDoubleInnerBox = f > 0 || h > 0 ? pA(n.left + C, n.top + E, f - _ * 2 / 3, h - x * 2 / 3, Yt.BOTTOM_RIGHT) : new Pe(n.left + n.width - _ * 2 / 3, n.top + n.height - x * 2 / 3), this.bottomLeftBorderDoubleInnerBox = m > 0 || y > 0 ? pA(n.left + T * 2 / 3, n.top + S, m - T * 2 / 3, y - x * 2 / 3, Yt.BOTTOM_LEFT) : new Pe(n.left + T * 2 / 3, n.top + n.height - x * 2 / 3), this.topLeftBorderStroke = i > 0 || s > 0 ? pA(n.left + T / 2, n.top + b / 2, i - T / 2, s - b / 2, Yt.TOP_LEFT) : new Pe(n.left + T / 2, n.top + b / 2), this.topRightBorderStroke = i > 0 || s > 0 ? pA(n.left + Q, n.top + b / 2, a - _ / 2, u - b / 2, Yt.TOP_RIGHT) : new Pe(n.left + n.width - _ / 2, n.top + b / 2), this.bottomRightBorderStroke = f > 0 || h > 0 ? pA(n.left + C, n.top + E, f - _ / 2, h - x / 2, Yt.BOTTOM_RIGHT) : new Pe(n.left + n.width - _ / 2, n.top + n.height - x / 2), this.bottomLeftBorderStroke = m > 0 || y > 0 ? pA(n.left + T / 2, n.top + S, m - T / 2, y - x / 2, Yt.BOTTOM_LEFT) : new Pe(n.left + T / 2, n.top + n.height - x / 2), this.topLeftBorderBox = i > 0 || s > 0 ? pA(n.left, n.top, i, s, Yt.TOP_LEFT) : new Pe(n.left, n.top), this.topRightBorderBox = a > 0 || u > 0 ? pA(n.left + Q, n.top, a, u, Yt.TOP_RIGHT) : new Pe(n.left + n.width, n.top), this.bottomRightBorderBox = f > 0 || h > 0 ? pA(n.left + C, n.top + E, f, h, Yt.BOTTOM_RIGHT) : new Pe(n.left + n.width, n.top + n.height), this.bottomLeftBorderBox = m > 0 || y > 0 ? pA(n.left, n.top + S, m, y, Yt.BOTTOM_LEFT) : new Pe(n.left, n.top + n.height), this.topLeftPaddingBox = i > 0 || s > 0 ? pA(n.left + T, n.top + b, Math.max(0, i - T), Math.max(0, s - b), Yt.TOP_LEFT) : new Pe(n.left + T, n.top + b), this.topRightPaddingBox = a > 0 || u > 0 ? pA(n.left + Math.min(Q, n.width - _), n.top + b, Q > n.width + _ ? 0 : Math.max(0, a - _), Math.max(0, u - b), Yt.TOP_RIGHT) : new Pe(n.left + n.width - _, n.top + b), this.bottomRightPaddingBox = f > 0 || h > 0 ? pA(n.left + Math.min(C, n.width - T), n.top + Math.min(E, n.height - x), Math.max(0, f - _), Math.max(0, h - x), Yt.BOTTOM_RIGHT) : new Pe(n.left + n.width - _, n.top + n.height - x), this.bottomLeftPaddingBox = m > 0 || y > 0 ? pA(n.left + T, n.top + Math.min(S, n.height - x), Math.max(0, m - T), Math.max(0, y - x), Yt.BOTTOM_LEFT) : new Pe(n.left + T, n.top + n.height - x), this.topLeftContentBox = i > 0 || s > 0 ? pA(n.left + T + ge, n.top + b + R, Math.max(0, i - (T + ge)), Math.max(0, s - (b + R)), Yt.TOP_LEFT) : new Pe(n.left + T + ge, n.top + b + R), this.topRightContentBox = a > 0 || u > 0 ? pA(n.left + Math.min(Q, n.width + T + ge), n.top + b + R, Q > n.width + T + ge ? 0 : a - T + ge, u - (b + R), Yt.TOP_RIGHT) : new Pe(n.left + n.width - (_ + le), n.top + b + R), this.bottomRightContentBox = f > 0 || h > 0 ? pA(n.left + Math.min(C, n.width - (T + ge)), n.top + Math.min(E, n.height + b + R), Math.max(0, f - (_ + le)), h - (x + ae), Yt.BOTTOM_RIGHT) : new Pe(n.left + n.width - (_ + le), n.top + n.height - (x + ae)), this.bottomLeftContentBox = m > 0 || y > 0 ? pA(n.left + T + ge, n.top + S, Math.max(0, m - (T + ge)), y - (x + ae), Yt.BOTTOM_LEFT) : new Pe(n.left + T + ge, n.top + n.height - (x + ae));
38368
38368
  }
38369
38369
  return t;
@@ -38627,7 +38627,7 @@ var pA = function(t, e, A, n, r) {
38627
38627
  var e = t.bounds, A = t.styles;
38628
38628
  return e.add(A.borderLeftWidth, A.borderTopWidth, -(A.borderRightWidth + A.borderLeftWidth), -(A.borderTopWidth + A.borderBottomWidth));
38629
38629
  }, Vh = function(t) {
38630
- var e = t.styles, A = t.bounds, n = iA(e.paddingLeft, A.width), r = iA(e.paddingRight, A.width), i = iA(e.paddingTop, A.width), s = iA(e.paddingBottom, A.width);
38630
+ var e = t.styles, A = t.bounds, n = sA(e.paddingLeft, A.width), r = sA(e.paddingRight, A.width), i = sA(e.paddingTop, A.width), s = sA(e.paddingBottom, A.width);
38631
38631
  return A.add(n + e.borderLeftWidth, i + e.borderTopWidth, -(e.borderRightWidth + e.borderLeftWidth + n + r), -(e.borderTopWidth + e.borderBottomWidth + i + s));
38632
38632
  }, Yte = function(t, e) {
38633
38633
  return t === 0 ? e.bounds : t === 2 ? Vh(e) : wI(e);
@@ -38645,7 +38645,7 @@ var pA = function(t, e, A, n, r) {
38645
38645
  if (!s)
38646
38646
  return [0, 0];
38647
38647
  if (MA(s) && o && MA(o))
38648
- return [iA(s, A.width), iA(o, A.height)];
38648
+ return [sA(s, A.width), sA(o, A.height)];
38649
38649
  var a = yf(i);
38650
38650
  if (eA(s) && (s.value === bl.CONTAIN || s.value === bl.COVER)) {
38651
38651
  if (yf(i)) {
@@ -38669,10 +38669,10 @@ var pA = function(t, e, A, n, r) {
38669
38669
  }
38670
38670
  if (a) {
38671
38671
  var w = 0, Q = 0;
38672
- return MA(s) ? w = iA(s, A.width) : MA(o) && (Q = iA(o, A.height)), tl(s) ? w = Q * i : (!o || tl(o)) && (Q = w / i), [w, Q];
38672
+ return MA(s) ? w = sA(s, A.width) : MA(o) && (Q = sA(o, A.height)), tl(s) ? w = Q * i : (!o || tl(o)) && (Q = w / i), [w, Q];
38673
38673
  }
38674
38674
  var E = null, C = null;
38675
- if (MA(s) ? E = iA(s, A.width) : o && MA(o) && (C = iA(o, A.height)), E !== null && (!o || tl(o)) && (C = d && f ? E / n * r : A.height), C !== null && tl(s) && (E = d && f ? C / r * n : A.width), E !== null && C !== null)
38675
+ if (MA(s) ? E = sA(s, A.width) : o && MA(o) && (C = sA(o, A.height)), E !== null && (!o || tl(o)) && (C = d && f ? E / n * r : A.height), C !== null && tl(s) && (E = d && f ? C / r * n : A.width), E !== null && C !== null)
38676
38676
  return [E, C];
38677
38677
  throw new Error("Unable to calculate background-size for element");
38678
38678
  }, ul = function(t, e) {
@@ -38948,7 +38948,7 @@ var pA = function(t, e, A, n, r) {
38948
38948
  case 18:
38949
38949
  return [3, 20];
38950
38950
  case 19:
38951
- A.listValue && n.styles.listStyleType !== -1 && (C = this.createFontStyle(i)[0], this.ctx.font = C, this.ctx.fillStyle = ZA(i.color), this.ctx.textBaseline = "middle", this.ctx.textAlign = "right", S = new Es(n.bounds.left, n.bounds.top + iA(n.styles.paddingTop, n.bounds.width), n.bounds.width, rk(i.lineHeight, i.fontSize.number) / 2 + 1), this.renderTextWithLetterSpacing(new tc(A.listValue, S), i.letterSpacing, rk(i.lineHeight, i.fontSize.number) / 2 + 2), this.ctx.textBaseline = "bottom", this.ctx.textAlign = "left"), b.label = 20;
38951
+ A.listValue && n.styles.listStyleType !== -1 && (C = this.createFontStyle(i)[0], this.ctx.font = C, this.ctx.fillStyle = ZA(i.color), this.ctx.textBaseline = "middle", this.ctx.textAlign = "right", S = new Es(n.bounds.left, n.bounds.top + sA(n.styles.paddingTop, n.bounds.width), n.bounds.width, rk(i.lineHeight, i.fontSize.number) / 2 + 1), this.renderTextWithLetterSpacing(new tc(A.listValue, S), i.letterSpacing, rk(i.lineHeight, i.fontSize.number) / 2 + 2), this.ctx.textBaseline = "bottom", this.ctx.textAlign = "left"), b.label = 20;
38952
38952
  case 20:
38953
38953
  return [
38954
38954
  2
@@ -39089,7 +39089,7 @@ var pA = function(t, e, A, n, r) {
39089
39089
  null,
39090
39090
  null,
39091
39091
  null
39092
- ]), R = T[0], le = T[1], ae = T[2], ge = T[3], P = T[4], z = d.position.length === 0 ? [m0] : d.position, W = iA(z[0], ge), re = iA(z[z.length - 1], P), ne = L9(d, W, re, ge, P), j = ne[0], Be = ne[1], j > 0 && Be > 0 && (Ae = i.ctx.createRadialGradient(le + W, ae + re, 0, le + W, ae + re, j), Ak(d.stops, j * 2).forEach(function(F) {
39092
+ ]), R = T[0], le = T[1], ae = T[2], ge = T[3], P = T[4], z = d.position.length === 0 ? [m0] : d.position, W = sA(z[0], ge), re = sA(z[z.length - 1], P), ne = L9(d, W, re, ge, P), j = ne[0], Be = ne[1], j > 0 && Be > 0 && (Ae = i.ctx.createRadialGradient(le + W, ae + re, 0, le + W, ae + re, j), Ak(d.stops, j * 2).forEach(function(F) {
39093
39093
  return Ae.addColorStop(F.stop, ZA(F.color));
39094
39094
  }), i.path(R), i.ctx.fillStyle = Ae, j !== Be ? (Se = A.bounds.left + 0.5 * A.bounds.width, K = A.bounds.top + 0.5 * A.bounds.height, q = Be / j, se = 1 / q, i.ctx.save(), i.ctx.translate(Se, K), i.ctx.transform(1, 0, 0, q, 0, 0), i.ctx.translate(-Se, -K), i.ctx.fillRect(le, se * (ae - K) + K, ge, P * se), i.ctx.restore()) : i.ctx.fill())), ue.label = 6;
39095
39095
  case 6:
@@ -39520,7 +39520,7 @@ const Cce = /* @__PURE__ */ Xe({
39520
39520
  (h = r.value) == null || h.hidePopover();
39521
39521
  }, A.closeTimeout || A.hoverDelay));
39522
39522
  }
39523
- sA(() => A.modelValue, (h, g) => {
39523
+ rA(() => A.modelValue, (h, g) => {
39524
39524
  var m, y, B, w;
39525
39525
  h && !g ? (m = r.value) != null && m.matches(":popover-open") || (y = r.value) == null || y.showPopover() : !h && g && (B = r.value) != null && B.matches(":popover-open") && ((w = r.value) == null || w.hidePopover());
39526
39526
  });
@@ -46023,7 +46023,7 @@ const Zle = { class: "popover-notification__header d-flex justify-content-betwee
46023
46023
  function o(f, h) {
46024
46024
  n.value = n.value.filter((g) => g.id !== f.id);
46025
46025
  }
46026
- sA(() => A.items, (f, h) => {
46026
+ rA(() => A.items, (f, h) => {
46027
46027
  const g = f.filter((m) => !h.some((y) => y.id === m.id));
46028
46028
  r.value = [...r.value, ...g];
46029
46029
  });
@@ -46350,7 +46350,7 @@ const Iue = { class: "modal-dialog__content d-flex flex-column" }, Tue = { class
46350
46350
  const g = h.target;
46351
46351
  g && g.nodeName === "DIALOG" && o();
46352
46352
  }
46353
- return sA(() => n.modelValue, (h, g) => {
46353
+ return rA(() => n.modelValue, (h, g) => {
46354
46354
  h && h !== g ? s() : g && o();
46355
46355
  }, { immediate: !0 }), zt(() => {
46356
46356
  var h;
@@ -46434,7 +46434,7 @@ const Lue = ["onDragenter", "onDragover", "onDragleave", "onDragend", "onDrop",
46434
46434
  default: !0
46435
46435
  }
46436
46436
  },
46437
- emits: ["update:modelValue"],
46437
+ emits: ["update:modelValue", "update:isDragging"],
46438
46438
  setup(t, { emit: e }) {
46439
46439
  const A = t, n = de(!1), r = de(null), i = de(null), s = e, o = oe({
46440
46440
  get() {
@@ -46469,7 +46469,9 @@ const Lue = ["onDragenter", "onDragover", "onDragleave", "onDragend", "onDrop",
46469
46469
  (S || S === 0) && (C || C === 0) && b.splice(S, 0, b.splice(C, 1)[0]), o.value = b;
46470
46470
  }
46471
46471
  }
46472
- return (Q, E) => {
46472
+ return rA(() => n.value, (Q) => {
46473
+ s("update:isDragging", Q);
46474
+ }, { immediate: !0 }), (Q, E) => {
46473
46475
  const C = wA("svg-icon");
46474
46476
  return M(), ot(KP, {
46475
46477
  name: "list",
@@ -203,4 +203,4 @@ function print() { __p += __j.call(arguments, '') }
203
203
  --pa-value-align-self: var(${t}-align-self);
204
204
  }
205
205
  `.replaceAll(`
206
- `,"")}const xee=["normal","most-width","most-height","most-block-size","most-inline-size"],Oee=["flip-block","flip-inline","flip-start"];function Dee(t){return t.type==="Declaration"}function Lee(t){return t.type==="Declaration"&&t.property==="position-try-fallbacks"}function Mee(t){return t.type==="Declaration"&&t.property==="position-try-order"}function Nee(t){return t.type==="Declaration"&&t.property==="position-try"}function Hee(t){return t.type==="Atrule"&&t.name==="position-try"}function Ree(t){return Oee.includes(t)}function Pee(t){return xee.includes(t)}function Vee(t,e){const n=document.querySelector(t);if(n){let A=Kee(n);return e.forEach(r=>{A=xT(A,r)}),A}}function $ee(t,e){let n=t.declarations;return e.forEach(A=>{n=xT(n,A)}),n}function Kee(t){const e={};return jU.forEach(n=>{const A=yr(t,`--${n}-${mT}`);A&&(e[n]=A)}),e}const Wee={"flip-block":{top:"bottom",bottom:"top","inset-block-start":"inset-block-end","inset-block-end":"inset-block-start","margin-top":"margin-bottom","margin-bottom":"margin-top"},"flip-inline":{left:"right",right:"left","inset-inline-start":"inset-inline-end","inset-inline-end":"inset-inline-start","margin-left":"margin-right","margin-right":"margin-left"},"flip-start":{left:"top",right:"bottom",top:"left",bottom:"right","inset-block-start":"inset-block-end","inset-block-end":"inset-block-start","inset-inline-start":"inset-inline-end","inset-inline-end":"inset-inline-start","inset-block":"inset-inline","inset-inline":"inset-block"}},Gee={"flip-block":{top:"bottom",bottom:"top",start:"end",end:"start","self-end":"self-start","self-start":"self-end"},"flip-inline":{left:"right",right:"left",start:"end",end:"start","self-end":"self-start","self-start":"self-end"},"flip-start":{top:"left",left:"top",right:"bottom",bottom:"right"}},Yee={"flip-block":{top:"bottom",bottom:"top",start:"end",end:"start"},"flip-inline":{left:"right",right:"left",start:"end",end:"start"},"flip-start":{}};function zee(t,e){return Wee[e][t]||t}function Jee(t,e){return Gee[e][t]||t}function jee(t,e){if(e==="flip-start")return t;{const n=Yee[e];return t.split("-").map(A=>n[A]||A).join("-")}}function Xee(t,e,n){if(t==="margin"){const[A,r,i,o]=e.children.toArray();n==="flip-block"?o?e.children.fromArray([i,r,A,o]):i&&e.children.fromArray([i,r,A]):n==="flip-inline"&&o&&e.children.fromArray([A,o,i,r])}else if(t==="margin-block"){const[A,r]=e.children.toArray();n==="flip-block"&&r&&e.children.fromArray([r,A])}else if(t==="margin-inline"){const[A,r]=e.children.toArray();n==="flip-inline"&&r&&e.children.fromArray([r,A])}}const qee=(t,e)=>{var n;return((n=Go(`#id{${t}: ${e};}`).children.first)==null?void 0:n.block.children.first).value};function xT(t,e){const n={};return Object.entries(t).forEach(([A,r])=>{const i=A,o=qee(i,r),a=zee(i,e);a!==i&&(n[i]!=null||(n[i]="revert")),Wo(o,{visit:"Function",enter(l){dh(l)&&l.children.forEach(u=>{Yc(u)&&qU(u.name)&&(u.name=Jee(u.name,e))})}}),i==="position-area"&&o.children.forEach(l=>{Yc(l)&&ST(l.name)&&(l.name=jee(l.name,e))}),i.startsWith("margin")&&Xee(i,o,e),n[a]=LA(o)}),n}function OT(t){const e=zZ(t),n=[];return e.forEach(A=>{const r={atRules:[],tactics:[],positionAreas:[]};A.forEach(i=>{Ree(i.name)?r.tactics.push(i.name):i.name.startsWith("--")?r.atRules.push(i.name):ST(i.name)&&r.positionAreas.push(i.name)}),r.positionAreas.length?n.push({positionArea:r.positionAreas[0],type:"position-area"}):r.atRules.length&&r.tactics.length?n.push({tactics:r.tactics,atRule:r.atRules[0],type:"at-rule-with-try-tactic"}):r.atRules.length?n.push({atRule:r.atRules[0],type:"at-rule"}):r.tactics.length&&n.push({tactics:r.tactics,type:"try-tactic"})}),n}function Zee(t){return Lee(t)&&t.value.children.first?OT(t.value.children):[]}function ete(t){if(Nee(t)&&t.value.children.first){const e=uh(t);let n;const A=e.value.children.first.name;A&&Pee(A)&&(n=A,e.value.children.shift());const r=OT(e.value.children);return{order:n,options:r}}return{}}function tte(t){return Mee(t)&&t.value.children.first?{order:t.value.children.first.name}:{}}function nte(t){const{order:e,options:n}=ete(t);if(e||n)return{order:e,options:n};const{order:A}=tte(t),r=Zee(t);return A||r?{order:A,options:r}:{}}function Ate(t){return Wc(t.property)||D9(t.property)||zU(t.property)||L9(t.property)||["position-anchor","position-area"].includes(t.property)}function rte(t){var e,n;if(Hee(t)&&(e=t.prelude)!=null&&e.value&&(n=t.block)!=null&&n.children){const A=t.prelude.value,r=t.block.children.filter(o=>Dee(o)&&Ate(o)),i={uuid:`${A}-try-${Wr(12)}`,declarations:Object.fromEntries(r.map(o=>[o.property,LA(o.value)]))};return{name:A,tryBlock:i}}return{}}function ite(t){const e={},n={},A={};for(const r of t){const i=Go(r.css);Wo(i,{visit:"Atrule",enter(o){const{name:a,tryBlock:l}=rte(o);a&&l&&(e[a]=l)}})}for(const r of t){let i=!1;const o=new Set,a=Go(r.css);Wo(a,{visit:"Declaration",enter(l){var u;const f=(u=this.rule)==null?void 0:u.prelude,h=Sy(f);if(!h.length)return;const{order:p,options:g}=nte(l),B={};p&&(B.order=p),h.forEach(({selector:y})=>{var C;g==null||g.forEach(b=>{var F;let k;if(b.type==="at-rule")k=b.atRule;else if(b.type==="try-tactic"){k=`${y}-${b.tactics.join("-")}`;const v=Vee(y,b.tactics);v&&(e[k]={uuid:`${y}-${b.tactics.join("-")}-try-${Wr(12)}`,declarations:v})}else if(b.type==="at-rule-with-try-tactic"){k=`${y}-${b.atRule}-${b.tactics.join("-")}`;const v=e[b.atRule],U=$ee(v,b.tactics);U&&(e[k]={uuid:`${y}-${b.atRule}-${b.tactics.join("-")}-try-${Wr(12)}`,declarations:U})}if(k&&e[k]){const v=`[data-anchor-polyfill="${e[k].uuid}"]`;n[v]!=null||(n[v]=[]),n[v].push(y),o.has(k)||(B.fallbacks!=null||(B.fallbacks=[]),B.fallbacks.push(e[k]),o.add(k),(F=this.stylesheet)==null||F.children.prependData({type:"Rule",prelude:{type:"Raw",value:v},block:{type:"Block",children:new vA().fromArray(Object.entries(e[k].declarations).map(([U,E])=>({type:"Declaration",important:!0,property:U,value:{type:"Raw",value:E}})))}}),i=!0)}}),Object.keys(B).length>0&&(A[y]?(B.order&&(A[y].order=B.order),B.fallbacks&&((C=A[y]).fallbacks!=null||(C.fallbacks=[]),A[y].fallbacks.push(...B.fallbacks))):A[y]=B)})}}),i&&(r.css=LA(a),r.changed=!0)}return{fallbackTargets:n,validPositions:A}}function ote(t,e){return!t||t===e?!1:DT(t)?t.document.contains(e):t.contains(e)}function DT(t){return!!(t&&t===t.window)}function ste(t){return ol(t,"position","fixed")}function Iy(t){return!!(t&&(ste(t)||ol(t,"position","absolute")))}function LT(t,e){return t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING}function ate(t){return Jt(this,null,function*(){return yield JA.getOffsetParent(t)})}function _y(t){return Jt(this,null,function*(){if(!["absolute","fixed"].includes(yr(t,"position")))return yield ate(t);let e=t.parentElement;for(;e;){if(!ol(e,"position","static")&&ol(e,"display","block"))return e;e=e.parentElement}return window})}function lte(t,e,n,A){return Jt(this,null,function*(){const r=yield _y(t),i=yield _y(n);if(!(ote(i,t)||DT(i))||r===i&&!(!Iy(t)||LT(t,n)))return!1;if(r!==i){let o;const a=[];for(o=r;o&&o!==i&&o!==window;)a.push(o),o=yield _y(o);const l=a[a.length-1];if(l instanceof HTMLElement&&!(!Iy(l)||LT(l,n)))return!1}{let o=t.parentElement;for(;o;){if(ol(o,"content-visibility","hidden"))return!1;o=o.parentElement}}return!(e&&A&&MT(t,e,A)!==MT(n,e,A))})}function MT(t,e,n){for(;!(t.matches(n)&&ree(t,e));){if(!t.parentElement)return null;t=t.parentElement}return t}function cte(t,e,n,A){return Jt(this,null,function*(){if(!(t instanceof HTMLElement&&n.length&&Iy(t)))return null;const r=n.flatMap(nee).filter(o=>Aee(o,e)),i=A.map(o=>o.selector).join(",")||null;for(let o=r.length-1;o>=0;o--){const a=r[o],l="fakePseudoElement"in a;if(yield lte(l?a.fakePseudoElement:a,e,t,i))return l&&a.removeFakePseudoElement(),a}return null})}function ute(t){return t.type==="Declaration"&&t.property==="anchor-name"}function dte(t){return t.type==="Declaration"&&t.property==="anchor-scope"}function xy(t){return!!(t&&t.type==="Function"&&t.name==="anchor-size")}function fh(t){return!!(t&&t.type==="Function"&&t.name==="var")}function Yc(t){return!!(t.type==="Identifier"&&t.name)}function fte(t){return!!(t.type==="Percentage"&&t.value)}function NT(t,e){let n,A,r,i="",o=!1,a;const l=[];t.children.toArray().forEach(p=>{if(o){i=`${i}${LA(p)}`;return}if(p.type==="Operator"&&p.value===","){o=!0;return}l.push(p)});let[u,f]=l;if(f||(f=u,u=void 0),u&&(Yc(u)&&u.name.startsWith("--")?n=u.name:fh(u)&&u.children.first&&(a=u.children.first.name)),f)if(dh(t)){if(Yc(f)&&qU(f.name))A=f.name;else if(fte(f)){const p=Number(f.value);A=Number.isNaN(p)?void 0:p}}else xy(t)&&Yc(f)&&R9(f.name)&&(r=f.name);const h=`--anchor-${Wr(12)}`;return Object.assign(t,{type:"Raw",value:`var(${h})`,children:null}),Reflect.deleteProperty(t,"name"),{anchorName:n,anchorSide:A,anchorSize:r,fallbackValue:i||"0px",customPropName:a,uuid:h}}function HT(t){return t.value.children.map(({name:e})=>e)}let zc={},Vs={},$s={},Jc={},Ks={};function hte(){zc={},Vs={},$s={},Jc={},Ks={}}function pte(t,e){var n;if((dh(t)||xy(t))&&e){if(e.property.startsWith("--")){const A=LA(e.value),r=NT(t);return Jc[r.uuid]=A,$s[e.property]=[...(n=$s[e.property])!=null?n:[],r],{changed:!0}}if(dh(t)&&Wc(e.property)||xy(t)&&XU(e.property)){const A=NT(t);return{prop:e.property,data:A,changed:!0}}}return{}}function RT(t,e){return Jt(this,null,function*(){let n=e==null?void 0:e.anchorName;const A=e==null?void 0:e.customPropName;if(t&&!n){const a=yr(t,"position-anchor");a?n=a:A&&(n=yr(t,A))}const r=n?zc[n]||[]:[],i=n?Vs[gT.All]||[]:[],o=n?Vs[n]||[]:[];return yield cte(t,n||null,r,[...i,...o])})}function mte(t){return Jt(this,null,function*(){var e,n,A,r,i,o,a,l,u,f,h;const p={},g={};hte();const{fallbackTargets:B,validPositions:y}=ite(t);for(const U of t){let E=!1;const I=Go(U.css);Wo(I,function(O){var x,H,ie,re;const ce=(x=this.rule)==null?void 0:x.prelude,R=Sy(ce);if(ute(O)&&R.length)for(const Y of HT(O))zc[Y]!=null||(zc[Y]=[]),zc[Y].push(...R);if(dte(O)&&R.length)for(const Y of HT(O))Vs[Y]!=null||(Vs[Y]=[]),Vs[Y].push(...R);const{prop:W,data:$,changed:te}=pte(O,this.declaration);if(W&&$&&R.length)for(const{selector:Y}of R)p[Y]=OA(Vn({},p[Y]),{[W]:[...(ie=(H=p[Y])==null?void 0:H[W])!=null?ie:[],$]});let ee;if(this.block&&(ee=Qee(O),ee)){Uee(ee,this.block);for(const{selector:Y}of R)g[Y]=[...(re=g[Y])!=null?re:[],ee]}(te||ee)&&(E=!0)}),E&&(U.css=LA(I),U.changed=!0)}const C=new Set(Object.keys($s)),b={},F=U=>{var E,I,O,x,H;const ie=[],re=new Set((I=(E=b[U])==null?void 0:E.names)!=null?I:[]);for(;re.size>0;)for(const ce of re)ie.push(...(O=$s[ce])!=null?O:[]),re.delete(ce),(H=(x=b[ce])==null?void 0:x.names)!=null&&H.length&&b[ce].names.forEach(R=>re.add(R));return ie};for(;C.size>0;){const U=[];for(const E of t){let I=!1;const O=Go(E.css);Wo(O,{visit:"Function",enter(x){var H,ie;const re=(H=this.rule)==null?void 0:H.prelude,ce=this.declaration,R=ce==null?void 0:ce.property;if((re==null?void 0:re.children.isEmpty)===!1&&fh(x)&&ce&&R&&x.children.first&&C.has(x.children.first.name)&&R.startsWith("--")){const W=x.children.first,$=(ie=$s[W.name])!=null?ie:[],te=F(W.name);if(!($.length||te.length))return;const ee=`${W.name}-anchor-${Wr(12)}`,Y=LA(ce.value);Jc[ee]=Y,b[R]||(b[R]={names:[],uuids:[]});const he=b[R];he.names.includes(W.name)||he.names.push(W.name),he.uuids.push(ee),U.push(R),W.name=ee,I=!0}}}),I&&(E.css=LA(O),E.changed=!0)}C.clear(),U.forEach(E=>C.add(E))}for(const U of t){let E=!1;const I=Go(U.css);Wo(I,{visit:"Function",enter(O){var x,H,ie,re,ce,R,W;const $=(x=this.rule)==null?void 0:x.prelude,te=this.declaration,ee=te==null?void 0:te.property;if(($==null?void 0:$.children.isEmpty)===!1&&fh(O)&&te&&ee&&O.children.first&&(Wc(ee)||zU(ee))){const Y=O.children.first,he=(H=$s[Y.name])!=null?H:[],Z=F(Y.name);if(!(he.length||Z.length))return;const Ce=`${ee}-${Wr(12)}`;if(Z.length){const J=new Set([Y.name]);for(;J.size>0;)for(const Ae of J){const oe=b[Ae];if((ie=oe==null?void 0:oe.names)!=null&&ie.length&&(re=oe==null?void 0:oe.uuids)!=null&&re.length)for(const Q of oe.names)for(const q of oe.uuids)Ks[q]=OA(Vn({},Ks[q]),{[Ce]:`${Q}-${Ce}`});J.delete(Ae),(ce=oe==null?void 0:oe.names)!=null&&ce.length&&oe.names.forEach(Q=>J.add(Q))}}const V=Sy($);for(const J of[...he,...Z]){const Ae=Vn({},J),oe=`--anchor-${Wr(12)}-${ee}`,Q=Ae.uuid;Ae.uuid=oe;for(const{selector:q}of V)p[q]=OA(Vn({},p[q]),{[ee]:[...(W=(R=p[q])==null?void 0:R[ee])!=null?W:[],Ae]});Ks[Q]=OA(Vn({},Ks[Q]),{[Ce]:oe})}Y.name=`${Y.name}-${Ce}`,E=!0}}}),E&&(U.css=LA(I),U.changed=!0)}if(Object.keys(Ks).length>0)for(const U of t){let E=!1;const I=Go(U.css);Wo(I,{visit:"Function",enter(O){var x,H,ie,re;if(fh(O)&&(H=(x=O.children.first)==null?void 0:x.name)!=null&&H.startsWith("--")&&(re=(ie=this.declaration)==null?void 0:ie.property)!=null&&re.startsWith("--")&&this.block){const ce=O.children.first,R=Ks[ce.name];if(R)for(const[W,$]of Object.entries(R))this.block.children.appendData({type:"Declaration",important:!1,property:`${this.declaration.property}-${W}`,value:{type:"Raw",value:LA(this.declaration.value).replace(`var(${ce.name})`,`var(${$})`)}}),E=!0;Jc[ce.name]&&(this.declaration.value={type:"Raw",value:Jc[ce.name]},E=!0)}}}),E&&(U.css=LA(I),U.changed=!0)}const k=new Map;for(const[U,E]of Object.entries(p)){let I;U.startsWith("[data-anchor-polyfill=")&&(e=B[U])!=null&&e.length?I=document.querySelectorAll(B[U].join(",")):I=document.querySelectorAll(U);for(const[O,x]of Object.entries(E))for(const H of x)for(const ie of I){const re=yield RT(ie,H),ce=`--anchor-${Wr(12)}`;k.set(ie,OA(Vn({},(n=k.get(ie))!=null?n:{}),{[H.uuid]:ce})),ie.setAttribute("style",`${H.uuid}: var(${ce}); ${(A=ie.getAttribute("style"))!=null?A:""}`),y[U]=OA(Vn({},y[U]),{declarations:OA(Vn({},(r=y[U])==null?void 0:r.declarations),{[O]:[...(a=(o=(i=y[U])==null?void 0:i.declarations)==null?void 0:o[O])!=null?a:[],OA(Vn({},H),{anchorEl:re,targetEl:ie,uuid:ce})]})})}}const v={el:document.createElement("link"),changed:!1,created:!0,css:""};t.push(v);for(const[U,E]of Object.entries(g)){const I=document.querySelectorAll(U);for(const O of I){const x=yield RT(O);for(const H of E){const ie=yield Iee(O,H,x);v.css+=_ee(ie.targetUUID,H.selectorUUID),v.changed=!0,y[U]=OA(Vn({},y[U]),{declarations:OA(Vn({},(l=y[U])==null?void 0:l.declarations),{"position-area":[...(h=(f=(u=y[U])==null?void 0:u.declarations)==null?void 0:f["position-area"])!=null?h:[],ie]})})}}}return{rules:y,inlineStyles:k,anchorScopes:Vs}})}const gte=["as","blocking","crossorigin","disabled","fetchpriority","href","hreflang","integrity","referrerpolicy","rel","type"];function PT(t,e,n=!1){const A=[];for(const{el:r,css:i,changed:o,created:a=!1}of t){const l={el:r,css:i,changed:!1};if(o){if(r.tagName.toLowerCase()==="style")r.innerHTML=i;else if(r instanceof HTMLLinkElement){const u=document.createElement("style");u.textContent=i;for(const f of r.getAttributeNames())if(!f.startsWith("on")&&!gte.includes(f)){const h=r.getAttribute(f);h!==null&&u.setAttribute(f,h)}r.hasAttribute("href")&&u.setAttribute("data-original-href",r.getAttribute("href")),a?(u.setAttribute("data-generated-by-polyfill","true"),document.head.insertAdjacentElement("beforeend",u)):(r.insertAdjacentElement("beforebegin",u),r.remove()),l.el=u}else if(r.hasAttribute("data-has-inline-styles")){const u=r.getAttribute("data-has-inline-styles");if(u){const f=`[data-has-inline-styles="${u}"]{`;let h=i.slice(f.length,0-1);const p=e==null?void 0:e.get(r);if(p)for(const[g,B]of Object.entries(p))h=`${g}: var(${B}); ${h}`;r.setAttribute("style",h)}}}n&&r.hasAttribute("data-has-inline-styles")&&r.removeAttribute("data-has-inline-styles"),A.push(l)}return A}const Bte=OA(Vn({},JA),{_c:new Map}),yte=(t,e)=>{let n;switch(t){case"start":case"self-start":n=0;break;case"end":case"self-end":n=100;break;default:typeof t=="number"&&!Number.isNaN(t)&&(n=t)}if(n!==void 0)return e?100-n:n},wte=(t,e)=>{let n;switch(t){case"block":case"self-block":n=e?"width":"height";break;case"inline":case"self-inline":n=e?"height":"width";break}return n},VT=t=>{switch(t){case"top":case"bottom":return"y";case"left":case"right":return"x"}return null},Cte=t=>{switch(t){case"x":return"width";case"y":return"height"}return null},$T=t=>yr(t,"display")==="inline",KT=(t,e)=>(e==="x"?["border-left-width","border-right-width"]:["border-top-width","border-bottom-width"]).reduce((n,A)=>n+parseInt(yr(t,A),10),0)||0,hh=(t,e)=>parseInt(yr(t,`margin-${e}`),10)||0,bte=t=>({top:hh(t,"top"),right:hh(t,"right"),bottom:hh(t,"bottom"),left:hh(t,"left")}),Oy=t=>Jt(null,[t],function*({targetEl:e,targetProperty:n,anchorRect:A,anchorSide:r,anchorSize:i,fallback:o=null}){var a;if(!((i||r!==void 0)&&e&&A))return o;if(i){if(!XU(n))return o;let l;switch(i){case"width":case"height":l=i;break;default:{let u=!1;const f=yr(e,"writing-mode");u=f.startsWith("vertical-")||f.startsWith("sideways-"),l=wte(i,u)}}return l?`${A[l]}px`:o}if(r!==void 0){let l,u;const f=VT(n);if(!(Wc(n)&&f&&(!Wc(r)||f===VT(r))))return o;const h=["top","left"];switch(r){case"left":case"top":l=0;break;case"right":case"bottom":l=100;break;case"center":l=50;break;case"inside":l=h.includes(n)?0:100;break;case"outside":l=h.includes(n)?100:0;break;default:if(e){const B=(yield(a=JA.isRTL)==null?void 0:a.call(JA,e))||!1;l=yte(r,B)}}const p=typeof l=="number"&&!Number.isNaN(l),g=Cte(f);if(p&&g){(n==="bottom"||n==="right")&&(u=yield Qy(e));let B=A[f]+A[g]*(l/100);switch(n){case"bottom":{if(!u)break;let y=u.clientHeight;if(y===0&&$T(u)){const C=KT(u,f);y=u.offsetHeight-C}B=y-B;break}case"right":{if(!u)break;let y=u.clientWidth;if(y===0&&$T(u)){const C=KT(u,f);y=u.offsetWidth-C}B=y-B;break}}return`${B}px`}}return o}),vte=t=>"wrapperEl"in t,Ete=t=>"uuid"in t;function kte(t,e=!1){return Jt(this,null,function*(){const n=document.documentElement;for(const[A,r]of Object.entries(t))for(const i of r){const o=i.anchorEl,a=i.targetEl;if(o&&a)if(vte(i)){const l=i.wrapperEl,u=(f,h,p)=>Jt(null,null,function*(){return f===0?"0px":yield Oy({targetEl:l,targetProperty:h,anchorRect:p,anchorSide:f})});qB(o,l,()=>Jt(null,null,function*(){const f=yr(a,bT);l.setAttribute(vT,f);const h=yield JA.getElementRects({reference:o,floating:l,strategy:"absolute"}),p=i.insets,g=yield u(p.block[0],"top",h.reference),B=yield u(p.block[1],"bottom",h.reference),y=yield u(p.inline[0],"left",h.reference),C=yield u(p.inline[1],"right",h.reference);n.style.setProperty(`${i.targetUUID}-top`,g||null),n.style.setProperty(`${i.targetUUID}-left`,y||null),n.style.setProperty(`${i.targetUUID}-right`,C||null),n.style.setProperty(`${i.targetUUID}-bottom`,B||null),n.style.setProperty(`${i.targetUUID}-justify-self`,i.alignments.inline),n.style.setProperty(`${i.targetUUID}-align-self`,i.alignments.block)}),{animationFrame:e})}else qB(o,a,()=>Jt(null,null,function*(){const l=yield JA.getElementRects({reference:o,floating:a,strategy:"absolute"}),u=yield Oy({targetEl:a,targetProperty:A,anchorRect:l.reference,anchorSide:i.anchorSide,anchorSize:i.anchorSize,fallback:i.fallbackValue});n.style.setProperty(i.uuid,u)}),{animationFrame:e});else if(Ete(i)){const l=yield Oy({targetProperty:A,anchorSide:i.anchorSide,anchorSize:i.anchorSize,fallback:i.fallbackValue});n.style.setProperty(i.uuid,l)}}})}function WT(t,e){return Jt(this,null,function*(){const n=yield JA.getElementRects({reference:t,floating:t,strategy:"absolute"});return yield kj({x:t.offsetLeft,y:t.offsetTop,platform:Bte,rects:n,elements:{floating:t,reference:e},strategy:"absolute"},{padding:bte(t)})})}function Ste(t,e,n=!1){return Jt(this,null,function*(){if(!e.length)return;const A=document.querySelectorAll(t);for(const r of A){let i=!1;const o=yield Qy(r);qB({},r,()=>Jt(null,null,function*(){if(i)return;i=!0,r.removeAttribute("data-anchor-polyfill");const a=yield WT(r,o);if(Object.values(a).every(l=>l<=0)){r.removeAttribute("data-anchor-polyfill-last-successful"),i=!1;return}for(const[l,{uuid:u}]of e.entries()){r.setAttribute("data-anchor-polyfill",u);const f=yield WT(r,o);if(Object.values(f).every(h=>h<=0)){r.setAttribute("data-anchor-polyfill-last-successful",u),i=!1;break}if(l===e.length-1){const h=r.getAttribute("data-anchor-polyfill-last-successful");h?r.setAttribute("data-anchor-polyfill",h):r.removeAttribute("data-anchor-polyfill"),i=!1;break}}}),{animationFrame:n,layoutShift:!1})}})}function Fte(t,e=!1){return Jt(this,null,function*(){var n,A;for(const r of Object.values(t))yield kte((n=r.declarations)!=null?n:{},e);for(const[r,i]of Object.entries(t))yield Ste(r,(A=i.fallbacks)!=null?A:[],e)})}function Qte(t={}){const e=typeof t=="boolean"?{useAnimationFrame:t}:t,n=e.useAnimationFrame===void 0?!!window.UPDATE_ANCHOR_ON_ANIMATION_FRAME:e.useAnimationFrame;return Array.isArray(e.elements)||(e.elements=void 0),Object.assign(e,{useAnimationFrame:n})}function Ute(t){return Jt(this,null,function*(){const e=Qte(t??window.ANCHOR_POSITIONING_POLYFILL_OPTIONS);let n=yield lee(e.elements,e.excludeInlineStyles),A={},r;jZ();try{qZ(n)&&(n=PT(n));const i=yield mte(n);A=i.rules,r=i.inlineStyles}catch(i){throw JZ(),i}return Object.values(A).length&&(PT(n,r,!0),yield Fte(A,e.useAnimationFrame)),A})}const Tte={class:"popover-tooltip"},Ite=["popovertarget","disabled","aria-describedby","aria-label"],_te=s.createElementVNode("span",{class:"popover-tooltip__trigger"}," i ",-1),xte={class:"popover-tooltip__content d-flex flex-column"},Ote={key:0,class:"popover-tooltip__header d-flex p-3 border-bottom"},Dte=["innerHTML"],Lte={class:"popover-tooltip__body"},Mte=["innerHTML"],Nte={key:1,class:"popover-tooltip__footer d-flex p-3 border-top"},Hte=s.defineComponent({__name:"popover-tooltip",props:{modelValue:{type:Boolean,default:!1},id:{type:String,default:()=>`popover-tooltip-${Math.random().toString(36).substr(2,9)}`},size:{type:String},exclusive:{type:Boolean,default:!0},header:{type:Boolean,default:!1},footer:{type:Boolean,default:!1},title:{type:String,default:""},content:{type:String,default:""},hover:{type:Boolean,default:!0},hoverDelay:{type:Number,default:400},disabled:{type:Boolean,default:!1},ariaLabel:{type:String,default:""}},emits:["update:modelValue","confirm","cancel"],setup(t,{emit:e}){const n=t,A=e,r=s.computed({get(){return n.modelValue},set(a){A("update:modelValue",a)}}),i=s.ref(),o=s.ref();return s.onMounted(()=>{"anchorName"in document.documentElement.style||Ute().then(a=>{console.log("Running polyfill",a)})}),(a,l)=>(s.openBlock(),s.createElementBlock("span",Tte,[s.createElementVNode("button",{type:"button",popovertarget:t.id,disabled:t.disabled,"aria-describedby":t.id,"aria-label":t.ariaLabel||a.$te("common.moreInfo")?a.$t("common.moreInfo"):void 0,ref_key:"trigger",ref:i},[s.renderSlot(a.$slots,"button",{},()=>[_te])],8,Ite),s.createVNode(KB,{id:t.id,modelValue:r.value,"onUpdate:modelValue":l[2]||(l[2]=u=>r.value=u),hover:t.hover,"hover-delay":t.hoverDelay,ref_key:"dialog",ref:o,role:"tooltip",class:s.normalizeClass(t.size?`popover-tooltip--${t.size}`:"")},{default:s.withCtx(()=>[s.createElementVNode("div",xte,[t.header?(s.openBlock(),s.createElementBlock("div",Ote,[t.title?(s.openBlock(),s.createElementBlock("h5",{key:0,class:"popover-tooltip__title",innerHTML:t.title},null,8,Dte)):s.createCommentVNode("",!0),s.createElementVNode("button",{type:"button",class:"btn-close ms-auto border-radius-none","aria-label":"Close",onClick:l[0]||(l[0]=u=>r.value=!1)})])):s.createCommentVNode("",!0),s.createElementVNode("div",Lte,[s.renderSlot(a.$slots,"default",{},()=>[s.createElementVNode("span",{innerHTML:t.content},null,8,Mte)])]),t.footer?(s.openBlock(),s.createElementBlock("div",Nte,[s.renderSlot(a.$slots,"footer"),s.createElementVNode("button",{type:"button",class:"btn ms-auto",onClick:l[1]||(l[1]=u=>r.value=!1)},s.toDisplayString(a.$t("common.close")),1)])):s.createCommentVNode("",!0)])]),_:3},8,["id","modelValue","hover","hover-delay","class"])]))}}),Yce="",Rte={class:"popover-notification__header d-flex justify-content-between mb-2"},Pte={class:"popover-notification__title"},Vte=["onClick"],$te=["innerHTML"],Kte=s.defineComponent({__name:"popover-notifications",props:{modelValue:{type:Boolean,default:!1},id:{type:String,default:()=>`popover-notifications-${Math.random().toString(36).substr(2,9)}`},items:{type:Array,default:()=>[]},debounceItem:{type:Number,default:0},closeTimeout:{type:Number,default:8e3},collapsible:{type:Boolean,default:!0}},setup(t,{expose:e}){const n=t,A=s.ref([]),r=s.ref([]),i=s.ref(!1),o=s.computed(()=>n.collapsible&&A.value.length>3);function a(h,p){A.value=A.value.filter(g=>g.id!==h.id)}s.watch(()=>n.items,(h,p)=>{const g=h.filter(B=>!p.some(y=>y.id===B.id));r.value=[...r.value,...g]});function l(){setTimeout(()=>{console.log("Queueing item:",r.value);const h=r.value.shift();h&&A.value.push({...h,closeTimeout:n.closeTimeout,visible:!0}),r.value.length>0&&l()},A.value.length?n.debounceItem:0)}function u(h){o.value&&(h.preventDefault(),h.stopPropagation(),i.value=!i.value)}function f(h){console.log("Adding item:",h),r.value.push(h),l()}return s.onMounted(()=>{r.value=n.items,r.value.length>3&&(i.value=!0),l()}),e({addItem:f}),(h,p)=>(s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["popover-notifications",{"popover-notifications--collapsed":i.value}]),style:{anchorName:"--popover-notifications"}},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(A.value,(g,B)=>(s.openBlock(),s.createBlock(KB,{key:g.id,id:g.id,"close-timeout":g.closeTimeout,type:"manual",class:"popover-notification",modelValue:g.visible,"onUpdate:modelValue":[y=>g.visible=y,y=>a(g)],onClick:u},{default:s.withCtx(()=>[s.renderSlot(h.$slots,"item",{item:g},()=>[s.createElementVNode("div",Rte,[s.createElementVNode("span",Pte,s.toDisplayString(g.title),1),s.createElementVNode("button",{type:"button",class:"btn btn-close p-0",onClick:s.withModifiers(y=>g.visible=!1,["stop"]),"aria-label":"Close notification"},null,8,Vte)]),s.createElementVNode("span",{innerHTML:g.content},null,8,$te)])]),_:2},1032,["id","close-timeout","modelValue","onUpdate:modelValue"]))),128))],2))}}),zce="",Wte={class:"link-sharing"},Gte={key:0,class:"link-sharing__links container"},Yte={class:"row"},zte={key:0,class:"col-12 col-md-6"},Jte=["href"],jte={class:"caption"},Xte={key:1,class:"col-12 col-md-6"},qte=["href"],Zte={class:"caption"},ene={key:2,class:"col-12 col-md-6"},tne={class:"caption"},nne={key:3,class:"col-12 col-md-6"},Ane=["href"],rne={class:"caption"},ine={key:4,class:"col-12 col-md-6"},one=["href"],sne={class:"caption"},ane={key:5,class:"col-12 col-md-6"},lne={class:"caption"},cne={key:6,class:"col-12 col-md-6"},une=["href"],dne={class:"caption"},fne={key:1,class:"link-sharing__instructions pt-5"},hne={class:"row"},pne={class:"col-12 text-center py-0"},mne={class:"mb-5"},gne=t=>t.replace(/<(?:.|\n)*?>/gm,""),Bne=s.defineComponent({__name:"link-sharing",props:{url:{type:String,default:""},subject:{type:String,default:""},hashtags:Array,text:{type:String,default:""},media:{type:String,default:""},services:{type:Object,default:{facebook:!0,instagram:!0,linkedin:!0,whatsapp:!0,mailto:!0,clipboard:!0,bluesky:!0}}},setup(t){const e=t,n=s.ref(!1),A=s.computed(()=>encodeURIComponent(e.url));s.computed(()=>encodeURIComponent(e.media));const r=s.computed(()=>gne(e.text)),i=s.computed(()=>!!(navigator&&navigator.userAgent&&/Mobi|Android/i.test(navigator.userAgent)));async function o(){const a=document.createElement("textarea");document.body.appendChild(a),a.value=e.url,a.select(),a.setSelectionRange(0,99999),navigator.clipboard.writeText(a.value),document.body.removeChild(a)}return(a,l)=>{const u=s.resolveComponent("svg-icon");return s.openBlock(),s.createElementBlock("div",Wte,[n.value?(s.openBlock(),s.createElementBlock("div",fne,[s.createElementVNode("div",hne,[s.createElementVNode("div",pne,[s.createElementVNode("div",mne,[s.createElementVNode("p",null,s.toDisplayString(a.$t("sharing.instructions",{service:"Instagram"})),1),s.createElementVNode("p",null,[s.createElementVNode("strong",null,s.toDisplayString(t.hashtags),1)])])])])])):(s.openBlock(),s.createElementBlock("div",Gte,[s.createElementVNode("div",Yte,[t.services.facebook?(s.openBlock(),s.createElementBlock("div",zte,[s.createElementVNode("a",{class:"link-sharing__link btn btn-primary",href:`https://www.facebook.com/sharer.php?u=${A.value}`,target:"_blank",rel:"noopener"},[s.createVNode(u,{symbol:"facebook"}),s.createElementVNode("span",jte,s.toDisplayString(a.$t("sharing.facebook")),1)],8,Jte)])):s.createCommentVNode("",!0),t.services.bluesky?(s.openBlock(),s.createElementBlock("div",Xte,[s.createElementVNode("a",{class:"link-sharing__link btn btn-primary",href:`https://bsky.app/intent/compose?text=${r.value}${r.value?"%20":""}${t.url}`,target:"_blank",rel:"noopener"},[s.createVNode(u,{symbol:"bluesky-logo"}),s.createElementVNode("span",Zte,s.toDisplayString(a.$t("sharing.bluesky")),1)],8,qte)])):s.createCommentVNode("",!0),t.services.instagram?(s.openBlock(),s.createElementBlock("div",ene,[s.createElementVNode("button",{type:"button",class:"link-sharing__link btn btn-primary",onClick:l[0]||(l[0]=s.withModifiers(f=>n.value=!n.value,["prevent"]))},[s.createVNode(u,{symbol:"instagram"}),s.createElementVNode("span",tne,s.toDisplayString(a.$t("sharing.instagram")),1)])])):s.createCommentVNode("",!0),t.services.linkedin?(s.openBlock(),s.createElementBlock("div",nne,[s.createElementVNode("a",{class:"link-sharing__link btn btn-primary",href:`https://www.linkedin.com/shareArticle?mini=true&url=${A.value}&title=${t.subject}`,target:"_blank",rel:"noopener"},[s.createVNode(u,{symbol:"linkedin"}),s.createElementVNode("span",rne,s.toDisplayString(a.$t("sharing.linkedin")),1)],8,Ane)])):s.createCommentVNode("",!0),t.services.whatsapp&&i.value?(s.openBlock(),s.createElementBlock("div",ine,[s.createElementVNode("a",{class:"link-sharing__link btn btn-primary",href:`whatsapp://send?text=${A.value}`,target:"_blank",rel:"noopener"},[s.createVNode(u,{symbol:"whatsapp"}),s.createElementVNode("span",sne,s.toDisplayString(a.$t("sharing.whatsapp")),1)],8,one)])):s.createCommentVNode("",!0),t.services.clipboard?(s.openBlock(),s.createElementBlock("div",ane,[s.createElementVNode("button",{type:"button",class:"link-sharing__link btn btn-primary",onClick:s.withModifiers(o,["prevent","stop"])},[s.createVNode(u,{symbol:"copy"}),s.createElementVNode("span",lne,s.toDisplayString(a.$t("sharing.clipboard")),1)])])):s.createCommentVNode("",!0),t.services.mailto?(s.openBlock(),s.createElementBlock("div",cne,[s.createElementVNode("a",{class:"link-sharing__link btn btn-primary",href:`mailto:?subject=${t.subject}&body=${r.value}%0D%0A${t.url}`,target:"_blank",rel:"noopener"},[s.createVNode(u,{symbol:"mail"}),s.createElementVNode("span",dne,s.toDisplayString(a.$t("sharing.mailto")),1)],8,une)])):s.createCommentVNode("",!0)])]))])}}}),Jce="",yne={class:"base-form"},wne=s.defineComponent({__name:"base-form",props:{id:{},name:{},variant:{},disabled:{type:Boolean},pending:{type:Boolean}},setup(t){function e(r){console.log("input",r)}function n(r){console.log("reset",r)}function A(r){console.log("submit",r)}return(r,i)=>(s.openBlock(),s.createElementBlock("div",yne,[s.createElementVNode("form",{ref:"form",onInput:e,onReset:n,onSubmit:s.withModifiers(A,["prevent"])},[s.renderSlot(r.$slots,"default")],544)]))}}),jce="",Cne={class:"modal-dialog__content d-flex flex-column"},bne={class:"modal-dialog__header d-flex p-3 border-bottom"},vne={key:0,class:"modal-dialog__title",id:"exampleModalLabel"},Ene={class:"modal-dialog__body"},kne={key:0,class:"modal-dialog__footer d-flex p-3 border-top"},Sne=s.defineComponent({__name:"modal-dialog",props:{modelValue:{type:Boolean,default:!1},modal:{type:Boolean,default:!0},size:{type:String,default:"md"},dismiss:{type:Boolean,default:!0},title:{type:String,default:""},footer:{type:Boolean,default:!0},classes:{type:String,default:""}},emits:["update:modelValue","confirm","cancel"],setup(t,{expose:e,emit:n}){const A=t,r=n,i=s.ref();function o(){var p,g;document.documentElement.style.setProperty("--scroll-position",`${Math.round(document.documentElement.scrollTop)}px`),A.modal?(p=i.value)==null||p.showModal():(g=i.value)==null||g.show(),r("update:modelValue",!0)}function a(){const p=i.value&&new KeyframeEffect(i.value,[{translate:"0 -100%",opacity:"0"}],{duration:320,easing:"ease",direction:"normal"}),g=new Animation(p,document.timeline);g.play(),g.addEventListener("finish",()=>{var B;(B=i.value)==null||B.close(),l()}),r("update:modelValue",!1)}function l(){const p=getComputedStyle(document.documentElement).getPropertyValue("--scroll-position");document.documentElement.scrollTo({top:parseInt(p,10),behavior:"instant"}),r("update:modelValue",!1)}function u(p){o(),r("confirm",p)}function f(){a(),r("cancel")}function h(p){const g=p.target;g&&g.nodeName==="DIALOG"&&a()}return s.watch(()=>A.modelValue,(p,g)=>{p&&p!==g?o():g&&a()},{immediate:!0}),s.onMounted(()=>{var p;(p=i.value)==null||p.addEventListener("cancel",g=>{g.preventDefault(),a()}),A.dismiss&&document.addEventListener("click",h),A.modelValue&&o()}),s.onBeforeUnmount(()=>{A.dismiss&&document.removeEventListener("click",h)}),e({show:o,close:a,confirm:u,cancel:f}),(p,g)=>(s.openBlock(),s.createElementBlock("dialog",{ref_key:"dialog",ref:i,class:s.normalizeClass(["modal-dialog",{[`modal-dialog--${t.size}`]:t.size}]),onClose:l},[s.createElementVNode("div",Cne,[s.createElementVNode("div",bne,[t.title?(s.openBlock(),s.createElementBlock("h5",vne,s.toDisplayString(t.title),1)):s.createCommentVNode("",!0),s.createElementVNode("button",{type:"button",class:"btn-close ms-auto border-radius-none","aria-label":"Close",onClick:a})]),s.createElementVNode("div",Ene,[s.renderSlot(p.$slots,"default")]),t.footer?(s.openBlock(),s.createElementBlock("div",kne,[s.renderSlot(p.$slots,"footer"),s.createElementVNode("button",{type:"button",class:"btn ms-auto",onClick:a},s.toDisplayString(p.$t("common.close")),1)])):s.createCommentVNode("",!0)])],34))}}),Xce="",Fne=["onDragenter","onDragover","onDragleave","onDragend","onDrop","innerHTML"],Qne=["onDragstart","onDrag","onDragenter","onDragover","onDragleave","onDragend","onDrop"],Une={key:0,class:"sortable-list__drag-handle"},Tne={type:"button",class:"btn"},Ine={key:0,class:"sortable-list__item"},_ne=s.defineComponent({__name:"sortable-list",props:{modelValue:{type:Array,default:()=>[]},config:{type:Object,default:null},messages:{type:Object,default:{}},vertical:{type:Boolean,default:!0},showDragHandle:{type:Boolean,default:!1},showPreview:{type:Boolean,default:!0}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,A=s.ref(!1),r=s.ref(null),i=s.ref(null),o=e,a=s.computed({get(){return n.modelValue},set(F){o("update:modelValue",F)}}),l=s.computed(()=>{var F;return(F=document.querySelector(".is-drag-item"))==null?void 0:F.outerHTML}),u=s.useSlots(),f=s.computed(()=>u["list-append"]);function h(F,k){F.dataTransfer&&(F.dataTransfer.dropEffect="move",F.dataTransfer.effectAllowed="move",F.dataTransfer.setData("index",k.toLocaleString()),A.value=!0,r.value=k)}function p(F,k){A.value=!1,r.value=null,i.value=null}function g(F,k){}function B(F,k){i.value=r.value!==k?k:null}function y(F,k){}function C(F,k){}function b(F,k){if(F.dataTransfer){F.preventDefault();const v=Number(F.dataTransfer.getData("index")),U=k,E=[...a.value];(U||U===0)&&(v||v===0)&&E.splice(U,0,E.splice(v,1)[0]),a.value=E}}return(F,k)=>{const v=s.resolveComponent("svg-icon");return s.openBlock(),s.createBlock(s.TransitionGroup,{name:"list",tag:"ul",class:s.normalizeClass(["sortable-list p-0 d-flex gap-2",{"flex-column":t.vertical,"flex-row flex-wrap":!t.vertical}]),onDragover:k[0]||(k[0]=s.withModifiers(()=>{},["prevent"])),onDragenter:k[1]||(k[1]=s.withModifiers(()=>{},["prevent"]))},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(a.value,(U,E)=>(s.openBlock(),s.createElementBlock(s.Fragment,{key:E},[t.showPreview&&A.value&&i.value===E?(s.openBlock(),s.createElementBlock("li",{key:0,class:"sortable-list__item is-drop-target",onDragenter:I=>B(I,E),onDragover:I=>void 0,onDragleave:I=>void 0,onDragend:I=>p(),onDrop:I=>b(I,E),innerHTML:l.value},null,40,Fne)):s.createCommentVNode("",!0),s.createElementVNode("li",{class:s.normalizeClass(["sortable-list__item d-flex",{"is-drag-item":A.value&&r.value===E,"is-drop-target":A.value&&i.value===E&&!t.showPreview,"align-items-center gap-2":t.vertical}]),draggable:!0,onDragstart:I=>h(I,E),onDrag:I=>void 0,onDragenter:I=>B(I,E),onDragover:I=>void 0,onDragleave:I=>void 0,onDragend:I=>p(),onDrop:I=>b(I,E)},[t.showDragHandle?(s.openBlock(),s.createElementBlock("div",Une,[s.createElementVNode("button",Tne,[s.createVNode(v,{symbol:"drag"})])])):s.createCommentVNode("",!0),s.createElementVNode("div",{class:s.normalizeClass(["sortable-list__item-content",{"flex-grow-1":t.vertical}])},[s.renderSlot(F.$slots,"list-item",{item:U,index:E},()=>[s.createTextVNode(s.toDisplayString(U),1)])],2)],42,Qne)],64))),128)),f.value?(s.openBlock(),s.createElementBlock("li",Ine,[s.renderSlot(F.$slots,"list-append")])):s.createCommentVNode("",!0)]),_:3},8,["class"])}}}),qce="",xne={class:"touch-wrapper__controls"},One={class:"btn-group",role:"group"},Dne=s.defineComponent({__name:"touch-wrapper",props:{modelValue:{type:Number,default:1}},emits:["update:modelValue"],setup(t,{emit:e}){const n=s.getCurrentInstance(),A=n&&n.appContext.config.globalProperties.$config,r=t,i=e,o=s.ref();function a(f){const h=r.modelValue+f;i("update:modelValue",f===0?1:h>=1?h:1)}function l(f){if(f.ctrlKey){f.preventDefault();const h=0-f.deltaY*.01;a(h)}}function u(f){f.preventDefault();const{scale:h}=f,p=h>1?h*.01:0-h;a(p)}return s.onMounted(()=>{o.value&&(o.value.addEventListener("wheel",l,!1),o.value.addEventListener("gesturestart",u,!1),o.value.addEventListener("gesturechange",u,!1),o.value.addEventListener("gestureend",u,!1))}),(f,h)=>{const p=s.resolveComponent("svg-icon");return s.openBlock(),s.createElementBlock("div",{ref_key:"touchElement",ref:o,class:"touch-wrapper"},[s.renderSlot(f.$slots,"controls",{on:{setScale:a}},()=>[s.createElementVNode("div",xne,[s.createElementVNode("div",One,[s.createElementVNode("button",{type:"button",class:"btn",onClick:h[0]||(h[0]=g=>a(-1))},[s.createVNode(p,{symbol:"minus","base-path":s.unref(A).iconSprite},null,8,["base-path"])]),s.createElementVNode("button",{type:"button",class:"btn",onClick:h[1]||(h[1]=g=>a(0))},[s.createVNode(p,{symbol:"maximize","base-path":s.unref(A).iconSprite},null,8,["base-path"])]),s.createElementVNode("button",{type:"button",class:"btn",onClick:h[2]||(h[2]=g=>a(1))},[s.createVNode(p,{symbol:"plus","base-path":s.unref(A).iconSprite},null,8,["base-path"])])])])]),s.renderSlot(f.$slots,"default")],512)}}}),Zce="";Ye.Accordion=Vx,Ye.AccordionItem=Mx,Ye.AssetUploader=u5,Ye.AutoSuggest=xW,Ye.BaseButton=Kx,Ye.BaseCamera=ZW,Ye.BaseCarousel=nk,Ye.BaseForm=wne,Ye.BaseHeadline=Qx,Ye.BaseImage=Sx,Ye.BaseInput=zx,Ye.BaseParagraph=Tx,Ye.CheckGroup=QR,Ye.ColorPalette=mW,Ye.DomRenderer=qJ,Ye.FileUpload=t5,Ye.InputCheckbox=nO,Ye.InputColor=fW,Ye.InputDatepicker=bR,Ye.InputDatetime=oO,Ye.InputDropdown=QW,Ye.InputFile=$R,Ye.InputPassword=ER,Ye.InputTextarea=qx,Ye.LinkSharing=Bne,Ye.LoadingSpinner=Ex,Ye.MediaThumbnails=g5,Ye.ModalDialog=Sne,Ye.PopoverDialog=KB,Ye.PopoverNotifications=Kte,Ye.PopoverTooltip=Hte,Ye.ProgressSteps=S5,Ye.RadioButtons=DR,Ye.RadioGroup=Iu,Ye.RteEditor=lW,Ye.SelectMedia=GR,Ye.SortableList=_ne,Ye.SvgIcon=Cx,Ye.TouchWrapper=Dne,Ye.UploadGroup=tk,Object.defineProperty(Ye,Symbol.toStringTag,{value:"Module"})});
206
+ `,"")}const xee=["normal","most-width","most-height","most-block-size","most-inline-size"],Oee=["flip-block","flip-inline","flip-start"];function Dee(t){return t.type==="Declaration"}function Lee(t){return t.type==="Declaration"&&t.property==="position-try-fallbacks"}function Mee(t){return t.type==="Declaration"&&t.property==="position-try-order"}function Nee(t){return t.type==="Declaration"&&t.property==="position-try"}function Hee(t){return t.type==="Atrule"&&t.name==="position-try"}function Ree(t){return Oee.includes(t)}function Pee(t){return xee.includes(t)}function Vee(t,e){const n=document.querySelector(t);if(n){let A=Kee(n);return e.forEach(r=>{A=xT(A,r)}),A}}function $ee(t,e){let n=t.declarations;return e.forEach(A=>{n=xT(n,A)}),n}function Kee(t){const e={};return jU.forEach(n=>{const A=yr(t,`--${n}-${mT}`);A&&(e[n]=A)}),e}const Wee={"flip-block":{top:"bottom",bottom:"top","inset-block-start":"inset-block-end","inset-block-end":"inset-block-start","margin-top":"margin-bottom","margin-bottom":"margin-top"},"flip-inline":{left:"right",right:"left","inset-inline-start":"inset-inline-end","inset-inline-end":"inset-inline-start","margin-left":"margin-right","margin-right":"margin-left"},"flip-start":{left:"top",right:"bottom",top:"left",bottom:"right","inset-block-start":"inset-block-end","inset-block-end":"inset-block-start","inset-inline-start":"inset-inline-end","inset-inline-end":"inset-inline-start","inset-block":"inset-inline","inset-inline":"inset-block"}},Gee={"flip-block":{top:"bottom",bottom:"top",start:"end",end:"start","self-end":"self-start","self-start":"self-end"},"flip-inline":{left:"right",right:"left",start:"end",end:"start","self-end":"self-start","self-start":"self-end"},"flip-start":{top:"left",left:"top",right:"bottom",bottom:"right"}},Yee={"flip-block":{top:"bottom",bottom:"top",start:"end",end:"start"},"flip-inline":{left:"right",right:"left",start:"end",end:"start"},"flip-start":{}};function zee(t,e){return Wee[e][t]||t}function Jee(t,e){return Gee[e][t]||t}function jee(t,e){if(e==="flip-start")return t;{const n=Yee[e];return t.split("-").map(A=>n[A]||A).join("-")}}function Xee(t,e,n){if(t==="margin"){const[A,r,i,o]=e.children.toArray();n==="flip-block"?o?e.children.fromArray([i,r,A,o]):i&&e.children.fromArray([i,r,A]):n==="flip-inline"&&o&&e.children.fromArray([A,o,i,r])}else if(t==="margin-block"){const[A,r]=e.children.toArray();n==="flip-block"&&r&&e.children.fromArray([r,A])}else if(t==="margin-inline"){const[A,r]=e.children.toArray();n==="flip-inline"&&r&&e.children.fromArray([r,A])}}const qee=(t,e)=>{var n;return((n=Go(`#id{${t}: ${e};}`).children.first)==null?void 0:n.block.children.first).value};function xT(t,e){const n={};return Object.entries(t).forEach(([A,r])=>{const i=A,o=qee(i,r),a=zee(i,e);a!==i&&(n[i]!=null||(n[i]="revert")),Wo(o,{visit:"Function",enter(l){dh(l)&&l.children.forEach(u=>{Yc(u)&&qU(u.name)&&(u.name=Jee(u.name,e))})}}),i==="position-area"&&o.children.forEach(l=>{Yc(l)&&ST(l.name)&&(l.name=jee(l.name,e))}),i.startsWith("margin")&&Xee(i,o,e),n[a]=LA(o)}),n}function OT(t){const e=zZ(t),n=[];return e.forEach(A=>{const r={atRules:[],tactics:[],positionAreas:[]};A.forEach(i=>{Ree(i.name)?r.tactics.push(i.name):i.name.startsWith("--")?r.atRules.push(i.name):ST(i.name)&&r.positionAreas.push(i.name)}),r.positionAreas.length?n.push({positionArea:r.positionAreas[0],type:"position-area"}):r.atRules.length&&r.tactics.length?n.push({tactics:r.tactics,atRule:r.atRules[0],type:"at-rule-with-try-tactic"}):r.atRules.length?n.push({atRule:r.atRules[0],type:"at-rule"}):r.tactics.length&&n.push({tactics:r.tactics,type:"try-tactic"})}),n}function Zee(t){return Lee(t)&&t.value.children.first?OT(t.value.children):[]}function ete(t){if(Nee(t)&&t.value.children.first){const e=uh(t);let n;const A=e.value.children.first.name;A&&Pee(A)&&(n=A,e.value.children.shift());const r=OT(e.value.children);return{order:n,options:r}}return{}}function tte(t){return Mee(t)&&t.value.children.first?{order:t.value.children.first.name}:{}}function nte(t){const{order:e,options:n}=ete(t);if(e||n)return{order:e,options:n};const{order:A}=tte(t),r=Zee(t);return A||r?{order:A,options:r}:{}}function Ate(t){return Wc(t.property)||D9(t.property)||zU(t.property)||L9(t.property)||["position-anchor","position-area"].includes(t.property)}function rte(t){var e,n;if(Hee(t)&&(e=t.prelude)!=null&&e.value&&(n=t.block)!=null&&n.children){const A=t.prelude.value,r=t.block.children.filter(o=>Dee(o)&&Ate(o)),i={uuid:`${A}-try-${Wr(12)}`,declarations:Object.fromEntries(r.map(o=>[o.property,LA(o.value)]))};return{name:A,tryBlock:i}}return{}}function ite(t){const e={},n={},A={};for(const r of t){const i=Go(r.css);Wo(i,{visit:"Atrule",enter(o){const{name:a,tryBlock:l}=rte(o);a&&l&&(e[a]=l)}})}for(const r of t){let i=!1;const o=new Set,a=Go(r.css);Wo(a,{visit:"Declaration",enter(l){var u;const f=(u=this.rule)==null?void 0:u.prelude,h=Sy(f);if(!h.length)return;const{order:p,options:g}=nte(l),B={};p&&(B.order=p),h.forEach(({selector:y})=>{var C;g==null||g.forEach(b=>{var F;let k;if(b.type==="at-rule")k=b.atRule;else if(b.type==="try-tactic"){k=`${y}-${b.tactics.join("-")}`;const v=Vee(y,b.tactics);v&&(e[k]={uuid:`${y}-${b.tactics.join("-")}-try-${Wr(12)}`,declarations:v})}else if(b.type==="at-rule-with-try-tactic"){k=`${y}-${b.atRule}-${b.tactics.join("-")}`;const v=e[b.atRule],U=$ee(v,b.tactics);U&&(e[k]={uuid:`${y}-${b.atRule}-${b.tactics.join("-")}-try-${Wr(12)}`,declarations:U})}if(k&&e[k]){const v=`[data-anchor-polyfill="${e[k].uuid}"]`;n[v]!=null||(n[v]=[]),n[v].push(y),o.has(k)||(B.fallbacks!=null||(B.fallbacks=[]),B.fallbacks.push(e[k]),o.add(k),(F=this.stylesheet)==null||F.children.prependData({type:"Rule",prelude:{type:"Raw",value:v},block:{type:"Block",children:new vA().fromArray(Object.entries(e[k].declarations).map(([U,E])=>({type:"Declaration",important:!0,property:U,value:{type:"Raw",value:E}})))}}),i=!0)}}),Object.keys(B).length>0&&(A[y]?(B.order&&(A[y].order=B.order),B.fallbacks&&((C=A[y]).fallbacks!=null||(C.fallbacks=[]),A[y].fallbacks.push(...B.fallbacks))):A[y]=B)})}}),i&&(r.css=LA(a),r.changed=!0)}return{fallbackTargets:n,validPositions:A}}function ote(t,e){return!t||t===e?!1:DT(t)?t.document.contains(e):t.contains(e)}function DT(t){return!!(t&&t===t.window)}function ste(t){return ol(t,"position","fixed")}function Iy(t){return!!(t&&(ste(t)||ol(t,"position","absolute")))}function LT(t,e){return t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING}function ate(t){return Jt(this,null,function*(){return yield JA.getOffsetParent(t)})}function _y(t){return Jt(this,null,function*(){if(!["absolute","fixed"].includes(yr(t,"position")))return yield ate(t);let e=t.parentElement;for(;e;){if(!ol(e,"position","static")&&ol(e,"display","block"))return e;e=e.parentElement}return window})}function lte(t,e,n,A){return Jt(this,null,function*(){const r=yield _y(t),i=yield _y(n);if(!(ote(i,t)||DT(i))||r===i&&!(!Iy(t)||LT(t,n)))return!1;if(r!==i){let o;const a=[];for(o=r;o&&o!==i&&o!==window;)a.push(o),o=yield _y(o);const l=a[a.length-1];if(l instanceof HTMLElement&&!(!Iy(l)||LT(l,n)))return!1}{let o=t.parentElement;for(;o;){if(ol(o,"content-visibility","hidden"))return!1;o=o.parentElement}}return!(e&&A&&MT(t,e,A)!==MT(n,e,A))})}function MT(t,e,n){for(;!(t.matches(n)&&ree(t,e));){if(!t.parentElement)return null;t=t.parentElement}return t}function cte(t,e,n,A){return Jt(this,null,function*(){if(!(t instanceof HTMLElement&&n.length&&Iy(t)))return null;const r=n.flatMap(nee).filter(o=>Aee(o,e)),i=A.map(o=>o.selector).join(",")||null;for(let o=r.length-1;o>=0;o--){const a=r[o],l="fakePseudoElement"in a;if(yield lte(l?a.fakePseudoElement:a,e,t,i))return l&&a.removeFakePseudoElement(),a}return null})}function ute(t){return t.type==="Declaration"&&t.property==="anchor-name"}function dte(t){return t.type==="Declaration"&&t.property==="anchor-scope"}function xy(t){return!!(t&&t.type==="Function"&&t.name==="anchor-size")}function fh(t){return!!(t&&t.type==="Function"&&t.name==="var")}function Yc(t){return!!(t.type==="Identifier"&&t.name)}function fte(t){return!!(t.type==="Percentage"&&t.value)}function NT(t,e){let n,A,r,i="",o=!1,a;const l=[];t.children.toArray().forEach(p=>{if(o){i=`${i}${LA(p)}`;return}if(p.type==="Operator"&&p.value===","){o=!0;return}l.push(p)});let[u,f]=l;if(f||(f=u,u=void 0),u&&(Yc(u)&&u.name.startsWith("--")?n=u.name:fh(u)&&u.children.first&&(a=u.children.first.name)),f)if(dh(t)){if(Yc(f)&&qU(f.name))A=f.name;else if(fte(f)){const p=Number(f.value);A=Number.isNaN(p)?void 0:p}}else xy(t)&&Yc(f)&&R9(f.name)&&(r=f.name);const h=`--anchor-${Wr(12)}`;return Object.assign(t,{type:"Raw",value:`var(${h})`,children:null}),Reflect.deleteProperty(t,"name"),{anchorName:n,anchorSide:A,anchorSize:r,fallbackValue:i||"0px",customPropName:a,uuid:h}}function HT(t){return t.value.children.map(({name:e})=>e)}let zc={},Vs={},$s={},Jc={},Ks={};function hte(){zc={},Vs={},$s={},Jc={},Ks={}}function pte(t,e){var n;if((dh(t)||xy(t))&&e){if(e.property.startsWith("--")){const A=LA(e.value),r=NT(t);return Jc[r.uuid]=A,$s[e.property]=[...(n=$s[e.property])!=null?n:[],r],{changed:!0}}if(dh(t)&&Wc(e.property)||xy(t)&&XU(e.property)){const A=NT(t);return{prop:e.property,data:A,changed:!0}}}return{}}function RT(t,e){return Jt(this,null,function*(){let n=e==null?void 0:e.anchorName;const A=e==null?void 0:e.customPropName;if(t&&!n){const a=yr(t,"position-anchor");a?n=a:A&&(n=yr(t,A))}const r=n?zc[n]||[]:[],i=n?Vs[gT.All]||[]:[],o=n?Vs[n]||[]:[];return yield cte(t,n||null,r,[...i,...o])})}function mte(t){return Jt(this,null,function*(){var e,n,A,r,i,o,a,l,u,f,h;const p={},g={};hte();const{fallbackTargets:B,validPositions:y}=ite(t);for(const U of t){let E=!1;const I=Go(U.css);Wo(I,function(O){var x,H,ie,re;const ce=(x=this.rule)==null?void 0:x.prelude,R=Sy(ce);if(ute(O)&&R.length)for(const Y of HT(O))zc[Y]!=null||(zc[Y]=[]),zc[Y].push(...R);if(dte(O)&&R.length)for(const Y of HT(O))Vs[Y]!=null||(Vs[Y]=[]),Vs[Y].push(...R);const{prop:W,data:$,changed:te}=pte(O,this.declaration);if(W&&$&&R.length)for(const{selector:Y}of R)p[Y]=OA(Vn({},p[Y]),{[W]:[...(ie=(H=p[Y])==null?void 0:H[W])!=null?ie:[],$]});let ee;if(this.block&&(ee=Qee(O),ee)){Uee(ee,this.block);for(const{selector:Y}of R)g[Y]=[...(re=g[Y])!=null?re:[],ee]}(te||ee)&&(E=!0)}),E&&(U.css=LA(I),U.changed=!0)}const C=new Set(Object.keys($s)),b={},F=U=>{var E,I,O,x,H;const ie=[],re=new Set((I=(E=b[U])==null?void 0:E.names)!=null?I:[]);for(;re.size>0;)for(const ce of re)ie.push(...(O=$s[ce])!=null?O:[]),re.delete(ce),(H=(x=b[ce])==null?void 0:x.names)!=null&&H.length&&b[ce].names.forEach(R=>re.add(R));return ie};for(;C.size>0;){const U=[];for(const E of t){let I=!1;const O=Go(E.css);Wo(O,{visit:"Function",enter(x){var H,ie;const re=(H=this.rule)==null?void 0:H.prelude,ce=this.declaration,R=ce==null?void 0:ce.property;if((re==null?void 0:re.children.isEmpty)===!1&&fh(x)&&ce&&R&&x.children.first&&C.has(x.children.first.name)&&R.startsWith("--")){const W=x.children.first,$=(ie=$s[W.name])!=null?ie:[],te=F(W.name);if(!($.length||te.length))return;const ee=`${W.name}-anchor-${Wr(12)}`,Y=LA(ce.value);Jc[ee]=Y,b[R]||(b[R]={names:[],uuids:[]});const he=b[R];he.names.includes(W.name)||he.names.push(W.name),he.uuids.push(ee),U.push(R),W.name=ee,I=!0}}}),I&&(E.css=LA(O),E.changed=!0)}C.clear(),U.forEach(E=>C.add(E))}for(const U of t){let E=!1;const I=Go(U.css);Wo(I,{visit:"Function",enter(O){var x,H,ie,re,ce,R,W;const $=(x=this.rule)==null?void 0:x.prelude,te=this.declaration,ee=te==null?void 0:te.property;if(($==null?void 0:$.children.isEmpty)===!1&&fh(O)&&te&&ee&&O.children.first&&(Wc(ee)||zU(ee))){const Y=O.children.first,he=(H=$s[Y.name])!=null?H:[],Z=F(Y.name);if(!(he.length||Z.length))return;const Ce=`${ee}-${Wr(12)}`;if(Z.length){const J=new Set([Y.name]);for(;J.size>0;)for(const Ae of J){const oe=b[Ae];if((ie=oe==null?void 0:oe.names)!=null&&ie.length&&(re=oe==null?void 0:oe.uuids)!=null&&re.length)for(const Q of oe.names)for(const q of oe.uuids)Ks[q]=OA(Vn({},Ks[q]),{[Ce]:`${Q}-${Ce}`});J.delete(Ae),(ce=oe==null?void 0:oe.names)!=null&&ce.length&&oe.names.forEach(Q=>J.add(Q))}}const V=Sy($);for(const J of[...he,...Z]){const Ae=Vn({},J),oe=`--anchor-${Wr(12)}-${ee}`,Q=Ae.uuid;Ae.uuid=oe;for(const{selector:q}of V)p[q]=OA(Vn({},p[q]),{[ee]:[...(W=(R=p[q])==null?void 0:R[ee])!=null?W:[],Ae]});Ks[Q]=OA(Vn({},Ks[Q]),{[Ce]:oe})}Y.name=`${Y.name}-${Ce}`,E=!0}}}),E&&(U.css=LA(I),U.changed=!0)}if(Object.keys(Ks).length>0)for(const U of t){let E=!1;const I=Go(U.css);Wo(I,{visit:"Function",enter(O){var x,H,ie,re;if(fh(O)&&(H=(x=O.children.first)==null?void 0:x.name)!=null&&H.startsWith("--")&&(re=(ie=this.declaration)==null?void 0:ie.property)!=null&&re.startsWith("--")&&this.block){const ce=O.children.first,R=Ks[ce.name];if(R)for(const[W,$]of Object.entries(R))this.block.children.appendData({type:"Declaration",important:!1,property:`${this.declaration.property}-${W}`,value:{type:"Raw",value:LA(this.declaration.value).replace(`var(${ce.name})`,`var(${$})`)}}),E=!0;Jc[ce.name]&&(this.declaration.value={type:"Raw",value:Jc[ce.name]},E=!0)}}}),E&&(U.css=LA(I),U.changed=!0)}const k=new Map;for(const[U,E]of Object.entries(p)){let I;U.startsWith("[data-anchor-polyfill=")&&(e=B[U])!=null&&e.length?I=document.querySelectorAll(B[U].join(",")):I=document.querySelectorAll(U);for(const[O,x]of Object.entries(E))for(const H of x)for(const ie of I){const re=yield RT(ie,H),ce=`--anchor-${Wr(12)}`;k.set(ie,OA(Vn({},(n=k.get(ie))!=null?n:{}),{[H.uuid]:ce})),ie.setAttribute("style",`${H.uuid}: var(${ce}); ${(A=ie.getAttribute("style"))!=null?A:""}`),y[U]=OA(Vn({},y[U]),{declarations:OA(Vn({},(r=y[U])==null?void 0:r.declarations),{[O]:[...(a=(o=(i=y[U])==null?void 0:i.declarations)==null?void 0:o[O])!=null?a:[],OA(Vn({},H),{anchorEl:re,targetEl:ie,uuid:ce})]})})}}const v={el:document.createElement("link"),changed:!1,created:!0,css:""};t.push(v);for(const[U,E]of Object.entries(g)){const I=document.querySelectorAll(U);for(const O of I){const x=yield RT(O);for(const H of E){const ie=yield Iee(O,H,x);v.css+=_ee(ie.targetUUID,H.selectorUUID),v.changed=!0,y[U]=OA(Vn({},y[U]),{declarations:OA(Vn({},(l=y[U])==null?void 0:l.declarations),{"position-area":[...(h=(f=(u=y[U])==null?void 0:u.declarations)==null?void 0:f["position-area"])!=null?h:[],ie]})})}}}return{rules:y,inlineStyles:k,anchorScopes:Vs}})}const gte=["as","blocking","crossorigin","disabled","fetchpriority","href","hreflang","integrity","referrerpolicy","rel","type"];function PT(t,e,n=!1){const A=[];for(const{el:r,css:i,changed:o,created:a=!1}of t){const l={el:r,css:i,changed:!1};if(o){if(r.tagName.toLowerCase()==="style")r.innerHTML=i;else if(r instanceof HTMLLinkElement){const u=document.createElement("style");u.textContent=i;for(const f of r.getAttributeNames())if(!f.startsWith("on")&&!gte.includes(f)){const h=r.getAttribute(f);h!==null&&u.setAttribute(f,h)}r.hasAttribute("href")&&u.setAttribute("data-original-href",r.getAttribute("href")),a?(u.setAttribute("data-generated-by-polyfill","true"),document.head.insertAdjacentElement("beforeend",u)):(r.insertAdjacentElement("beforebegin",u),r.remove()),l.el=u}else if(r.hasAttribute("data-has-inline-styles")){const u=r.getAttribute("data-has-inline-styles");if(u){const f=`[data-has-inline-styles="${u}"]{`;let h=i.slice(f.length,0-1);const p=e==null?void 0:e.get(r);if(p)for(const[g,B]of Object.entries(p))h=`${g}: var(${B}); ${h}`;r.setAttribute("style",h)}}}n&&r.hasAttribute("data-has-inline-styles")&&r.removeAttribute("data-has-inline-styles"),A.push(l)}return A}const Bte=OA(Vn({},JA),{_c:new Map}),yte=(t,e)=>{let n;switch(t){case"start":case"self-start":n=0;break;case"end":case"self-end":n=100;break;default:typeof t=="number"&&!Number.isNaN(t)&&(n=t)}if(n!==void 0)return e?100-n:n},wte=(t,e)=>{let n;switch(t){case"block":case"self-block":n=e?"width":"height";break;case"inline":case"self-inline":n=e?"height":"width";break}return n},VT=t=>{switch(t){case"top":case"bottom":return"y";case"left":case"right":return"x"}return null},Cte=t=>{switch(t){case"x":return"width";case"y":return"height"}return null},$T=t=>yr(t,"display")==="inline",KT=(t,e)=>(e==="x"?["border-left-width","border-right-width"]:["border-top-width","border-bottom-width"]).reduce((n,A)=>n+parseInt(yr(t,A),10),0)||0,hh=(t,e)=>parseInt(yr(t,`margin-${e}`),10)||0,bte=t=>({top:hh(t,"top"),right:hh(t,"right"),bottom:hh(t,"bottom"),left:hh(t,"left")}),Oy=t=>Jt(null,[t],function*({targetEl:e,targetProperty:n,anchorRect:A,anchorSide:r,anchorSize:i,fallback:o=null}){var a;if(!((i||r!==void 0)&&e&&A))return o;if(i){if(!XU(n))return o;let l;switch(i){case"width":case"height":l=i;break;default:{let u=!1;const f=yr(e,"writing-mode");u=f.startsWith("vertical-")||f.startsWith("sideways-"),l=wte(i,u)}}return l?`${A[l]}px`:o}if(r!==void 0){let l,u;const f=VT(n);if(!(Wc(n)&&f&&(!Wc(r)||f===VT(r))))return o;const h=["top","left"];switch(r){case"left":case"top":l=0;break;case"right":case"bottom":l=100;break;case"center":l=50;break;case"inside":l=h.includes(n)?0:100;break;case"outside":l=h.includes(n)?100:0;break;default:if(e){const B=(yield(a=JA.isRTL)==null?void 0:a.call(JA,e))||!1;l=yte(r,B)}}const p=typeof l=="number"&&!Number.isNaN(l),g=Cte(f);if(p&&g){(n==="bottom"||n==="right")&&(u=yield Qy(e));let B=A[f]+A[g]*(l/100);switch(n){case"bottom":{if(!u)break;let y=u.clientHeight;if(y===0&&$T(u)){const C=KT(u,f);y=u.offsetHeight-C}B=y-B;break}case"right":{if(!u)break;let y=u.clientWidth;if(y===0&&$T(u)){const C=KT(u,f);y=u.offsetWidth-C}B=y-B;break}}return`${B}px`}}return o}),vte=t=>"wrapperEl"in t,Ete=t=>"uuid"in t;function kte(t,e=!1){return Jt(this,null,function*(){const n=document.documentElement;for(const[A,r]of Object.entries(t))for(const i of r){const o=i.anchorEl,a=i.targetEl;if(o&&a)if(vte(i)){const l=i.wrapperEl,u=(f,h,p)=>Jt(null,null,function*(){return f===0?"0px":yield Oy({targetEl:l,targetProperty:h,anchorRect:p,anchorSide:f})});qB(o,l,()=>Jt(null,null,function*(){const f=yr(a,bT);l.setAttribute(vT,f);const h=yield JA.getElementRects({reference:o,floating:l,strategy:"absolute"}),p=i.insets,g=yield u(p.block[0],"top",h.reference),B=yield u(p.block[1],"bottom",h.reference),y=yield u(p.inline[0],"left",h.reference),C=yield u(p.inline[1],"right",h.reference);n.style.setProperty(`${i.targetUUID}-top`,g||null),n.style.setProperty(`${i.targetUUID}-left`,y||null),n.style.setProperty(`${i.targetUUID}-right`,C||null),n.style.setProperty(`${i.targetUUID}-bottom`,B||null),n.style.setProperty(`${i.targetUUID}-justify-self`,i.alignments.inline),n.style.setProperty(`${i.targetUUID}-align-self`,i.alignments.block)}),{animationFrame:e})}else qB(o,a,()=>Jt(null,null,function*(){const l=yield JA.getElementRects({reference:o,floating:a,strategy:"absolute"}),u=yield Oy({targetEl:a,targetProperty:A,anchorRect:l.reference,anchorSide:i.anchorSide,anchorSize:i.anchorSize,fallback:i.fallbackValue});n.style.setProperty(i.uuid,u)}),{animationFrame:e});else if(Ete(i)){const l=yield Oy({targetProperty:A,anchorSide:i.anchorSide,anchorSize:i.anchorSize,fallback:i.fallbackValue});n.style.setProperty(i.uuid,l)}}})}function WT(t,e){return Jt(this,null,function*(){const n=yield JA.getElementRects({reference:t,floating:t,strategy:"absolute"});return yield kj({x:t.offsetLeft,y:t.offsetTop,platform:Bte,rects:n,elements:{floating:t,reference:e},strategy:"absolute"},{padding:bte(t)})})}function Ste(t,e,n=!1){return Jt(this,null,function*(){if(!e.length)return;const A=document.querySelectorAll(t);for(const r of A){let i=!1;const o=yield Qy(r);qB({},r,()=>Jt(null,null,function*(){if(i)return;i=!0,r.removeAttribute("data-anchor-polyfill");const a=yield WT(r,o);if(Object.values(a).every(l=>l<=0)){r.removeAttribute("data-anchor-polyfill-last-successful"),i=!1;return}for(const[l,{uuid:u}]of e.entries()){r.setAttribute("data-anchor-polyfill",u);const f=yield WT(r,o);if(Object.values(f).every(h=>h<=0)){r.setAttribute("data-anchor-polyfill-last-successful",u),i=!1;break}if(l===e.length-1){const h=r.getAttribute("data-anchor-polyfill-last-successful");h?r.setAttribute("data-anchor-polyfill",h):r.removeAttribute("data-anchor-polyfill"),i=!1;break}}}),{animationFrame:n,layoutShift:!1})}})}function Fte(t,e=!1){return Jt(this,null,function*(){var n,A;for(const r of Object.values(t))yield kte((n=r.declarations)!=null?n:{},e);for(const[r,i]of Object.entries(t))yield Ste(r,(A=i.fallbacks)!=null?A:[],e)})}function Qte(t={}){const e=typeof t=="boolean"?{useAnimationFrame:t}:t,n=e.useAnimationFrame===void 0?!!window.UPDATE_ANCHOR_ON_ANIMATION_FRAME:e.useAnimationFrame;return Array.isArray(e.elements)||(e.elements=void 0),Object.assign(e,{useAnimationFrame:n})}function Ute(t){return Jt(this,null,function*(){const e=Qte(t??window.ANCHOR_POSITIONING_POLYFILL_OPTIONS);let n=yield lee(e.elements,e.excludeInlineStyles),A={},r;jZ();try{qZ(n)&&(n=PT(n));const i=yield mte(n);A=i.rules,r=i.inlineStyles}catch(i){throw JZ(),i}return Object.values(A).length&&(PT(n,r,!0),yield Fte(A,e.useAnimationFrame)),A})}const Tte={class:"popover-tooltip"},Ite=["popovertarget","disabled","aria-describedby","aria-label"],_te=s.createElementVNode("span",{class:"popover-tooltip__trigger"}," i ",-1),xte={class:"popover-tooltip__content d-flex flex-column"},Ote={key:0,class:"popover-tooltip__header d-flex p-3 border-bottom"},Dte=["innerHTML"],Lte={class:"popover-tooltip__body"},Mte=["innerHTML"],Nte={key:1,class:"popover-tooltip__footer d-flex p-3 border-top"},Hte=s.defineComponent({__name:"popover-tooltip",props:{modelValue:{type:Boolean,default:!1},id:{type:String,default:()=>`popover-tooltip-${Math.random().toString(36).substr(2,9)}`},size:{type:String},exclusive:{type:Boolean,default:!0},header:{type:Boolean,default:!1},footer:{type:Boolean,default:!1},title:{type:String,default:""},content:{type:String,default:""},hover:{type:Boolean,default:!0},hoverDelay:{type:Number,default:400},disabled:{type:Boolean,default:!1},ariaLabel:{type:String,default:""}},emits:["update:modelValue","confirm","cancel"],setup(t,{emit:e}){const n=t,A=e,r=s.computed({get(){return n.modelValue},set(a){A("update:modelValue",a)}}),i=s.ref(),o=s.ref();return s.onMounted(()=>{"anchorName"in document.documentElement.style||Ute().then(a=>{console.log("Running polyfill",a)})}),(a,l)=>(s.openBlock(),s.createElementBlock("span",Tte,[s.createElementVNode("button",{type:"button",popovertarget:t.id,disabled:t.disabled,"aria-describedby":t.id,"aria-label":t.ariaLabel||a.$te("common.moreInfo")?a.$t("common.moreInfo"):void 0,ref_key:"trigger",ref:i},[s.renderSlot(a.$slots,"button",{},()=>[_te])],8,Ite),s.createVNode(KB,{id:t.id,modelValue:r.value,"onUpdate:modelValue":l[2]||(l[2]=u=>r.value=u),hover:t.hover,"hover-delay":t.hoverDelay,ref_key:"dialog",ref:o,role:"tooltip",class:s.normalizeClass(t.size?`popover-tooltip--${t.size}`:"")},{default:s.withCtx(()=>[s.createElementVNode("div",xte,[t.header?(s.openBlock(),s.createElementBlock("div",Ote,[t.title?(s.openBlock(),s.createElementBlock("h5",{key:0,class:"popover-tooltip__title",innerHTML:t.title},null,8,Dte)):s.createCommentVNode("",!0),s.createElementVNode("button",{type:"button",class:"btn-close ms-auto border-radius-none","aria-label":"Close",onClick:l[0]||(l[0]=u=>r.value=!1)})])):s.createCommentVNode("",!0),s.createElementVNode("div",Lte,[s.renderSlot(a.$slots,"default",{},()=>[s.createElementVNode("span",{innerHTML:t.content},null,8,Mte)])]),t.footer?(s.openBlock(),s.createElementBlock("div",Nte,[s.renderSlot(a.$slots,"footer"),s.createElementVNode("button",{type:"button",class:"btn ms-auto",onClick:l[1]||(l[1]=u=>r.value=!1)},s.toDisplayString(a.$t("common.close")),1)])):s.createCommentVNode("",!0)])]),_:3},8,["id","modelValue","hover","hover-delay","class"])]))}}),Yce="",Rte={class:"popover-notification__header d-flex justify-content-between mb-2"},Pte={class:"popover-notification__title"},Vte=["onClick"],$te=["innerHTML"],Kte=s.defineComponent({__name:"popover-notifications",props:{modelValue:{type:Boolean,default:!1},id:{type:String,default:()=>`popover-notifications-${Math.random().toString(36).substr(2,9)}`},items:{type:Array,default:()=>[]},debounceItem:{type:Number,default:0},closeTimeout:{type:Number,default:8e3},collapsible:{type:Boolean,default:!0}},setup(t,{expose:e}){const n=t,A=s.ref([]),r=s.ref([]),i=s.ref(!1),o=s.computed(()=>n.collapsible&&A.value.length>3);function a(h,p){A.value=A.value.filter(g=>g.id!==h.id)}s.watch(()=>n.items,(h,p)=>{const g=h.filter(B=>!p.some(y=>y.id===B.id));r.value=[...r.value,...g]});function l(){setTimeout(()=>{console.log("Queueing item:",r.value);const h=r.value.shift();h&&A.value.push({...h,closeTimeout:n.closeTimeout,visible:!0}),r.value.length>0&&l()},A.value.length?n.debounceItem:0)}function u(h){o.value&&(h.preventDefault(),h.stopPropagation(),i.value=!i.value)}function f(h){console.log("Adding item:",h),r.value.push(h),l()}return s.onMounted(()=>{r.value=n.items,r.value.length>3&&(i.value=!0),l()}),e({addItem:f}),(h,p)=>(s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["popover-notifications",{"popover-notifications--collapsed":i.value}]),style:{anchorName:"--popover-notifications"}},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(A.value,(g,B)=>(s.openBlock(),s.createBlock(KB,{key:g.id,id:g.id,"close-timeout":g.closeTimeout,type:"manual",class:"popover-notification",modelValue:g.visible,"onUpdate:modelValue":[y=>g.visible=y,y=>a(g)],onClick:u},{default:s.withCtx(()=>[s.renderSlot(h.$slots,"item",{item:g},()=>[s.createElementVNode("div",Rte,[s.createElementVNode("span",Pte,s.toDisplayString(g.title),1),s.createElementVNode("button",{type:"button",class:"btn btn-close p-0",onClick:s.withModifiers(y=>g.visible=!1,["stop"]),"aria-label":"Close notification"},null,8,Vte)]),s.createElementVNode("span",{innerHTML:g.content},null,8,$te)])]),_:2},1032,["id","close-timeout","modelValue","onUpdate:modelValue"]))),128))],2))}}),zce="",Wte={class:"link-sharing"},Gte={key:0,class:"link-sharing__links container"},Yte={class:"row"},zte={key:0,class:"col-12 col-md-6"},Jte=["href"],jte={class:"caption"},Xte={key:1,class:"col-12 col-md-6"},qte=["href"],Zte={class:"caption"},ene={key:2,class:"col-12 col-md-6"},tne={class:"caption"},nne={key:3,class:"col-12 col-md-6"},Ane=["href"],rne={class:"caption"},ine={key:4,class:"col-12 col-md-6"},one=["href"],sne={class:"caption"},ane={key:5,class:"col-12 col-md-6"},lne={class:"caption"},cne={key:6,class:"col-12 col-md-6"},une=["href"],dne={class:"caption"},fne={key:1,class:"link-sharing__instructions pt-5"},hne={class:"row"},pne={class:"col-12 text-center py-0"},mne={class:"mb-5"},gne=t=>t.replace(/<(?:.|\n)*?>/gm,""),Bne=s.defineComponent({__name:"link-sharing",props:{url:{type:String,default:""},subject:{type:String,default:""},hashtags:Array,text:{type:String,default:""},media:{type:String,default:""},services:{type:Object,default:{facebook:!0,instagram:!0,linkedin:!0,whatsapp:!0,mailto:!0,clipboard:!0,bluesky:!0}}},setup(t){const e=t,n=s.ref(!1),A=s.computed(()=>encodeURIComponent(e.url));s.computed(()=>encodeURIComponent(e.media));const r=s.computed(()=>gne(e.text)),i=s.computed(()=>!!(navigator&&navigator.userAgent&&/Mobi|Android/i.test(navigator.userAgent)));async function o(){const a=document.createElement("textarea");document.body.appendChild(a),a.value=e.url,a.select(),a.setSelectionRange(0,99999),navigator.clipboard.writeText(a.value),document.body.removeChild(a)}return(a,l)=>{const u=s.resolveComponent("svg-icon");return s.openBlock(),s.createElementBlock("div",Wte,[n.value?(s.openBlock(),s.createElementBlock("div",fne,[s.createElementVNode("div",hne,[s.createElementVNode("div",pne,[s.createElementVNode("div",mne,[s.createElementVNode("p",null,s.toDisplayString(a.$t("sharing.instructions",{service:"Instagram"})),1),s.createElementVNode("p",null,[s.createElementVNode("strong",null,s.toDisplayString(t.hashtags),1)])])])])])):(s.openBlock(),s.createElementBlock("div",Gte,[s.createElementVNode("div",Yte,[t.services.facebook?(s.openBlock(),s.createElementBlock("div",zte,[s.createElementVNode("a",{class:"link-sharing__link btn btn-primary",href:`https://www.facebook.com/sharer.php?u=${A.value}`,target:"_blank",rel:"noopener"},[s.createVNode(u,{symbol:"facebook"}),s.createElementVNode("span",jte,s.toDisplayString(a.$t("sharing.facebook")),1)],8,Jte)])):s.createCommentVNode("",!0),t.services.bluesky?(s.openBlock(),s.createElementBlock("div",Xte,[s.createElementVNode("a",{class:"link-sharing__link btn btn-primary",href:`https://bsky.app/intent/compose?text=${r.value}${r.value?"%20":""}${t.url}`,target:"_blank",rel:"noopener"},[s.createVNode(u,{symbol:"bluesky-logo"}),s.createElementVNode("span",Zte,s.toDisplayString(a.$t("sharing.bluesky")),1)],8,qte)])):s.createCommentVNode("",!0),t.services.instagram?(s.openBlock(),s.createElementBlock("div",ene,[s.createElementVNode("button",{type:"button",class:"link-sharing__link btn btn-primary",onClick:l[0]||(l[0]=s.withModifiers(f=>n.value=!n.value,["prevent"]))},[s.createVNode(u,{symbol:"instagram"}),s.createElementVNode("span",tne,s.toDisplayString(a.$t("sharing.instagram")),1)])])):s.createCommentVNode("",!0),t.services.linkedin?(s.openBlock(),s.createElementBlock("div",nne,[s.createElementVNode("a",{class:"link-sharing__link btn btn-primary",href:`https://www.linkedin.com/shareArticle?mini=true&url=${A.value}&title=${t.subject}`,target:"_blank",rel:"noopener"},[s.createVNode(u,{symbol:"linkedin"}),s.createElementVNode("span",rne,s.toDisplayString(a.$t("sharing.linkedin")),1)],8,Ane)])):s.createCommentVNode("",!0),t.services.whatsapp&&i.value?(s.openBlock(),s.createElementBlock("div",ine,[s.createElementVNode("a",{class:"link-sharing__link btn btn-primary",href:`whatsapp://send?text=${A.value}`,target:"_blank",rel:"noopener"},[s.createVNode(u,{symbol:"whatsapp"}),s.createElementVNode("span",sne,s.toDisplayString(a.$t("sharing.whatsapp")),1)],8,one)])):s.createCommentVNode("",!0),t.services.clipboard?(s.openBlock(),s.createElementBlock("div",ane,[s.createElementVNode("button",{type:"button",class:"link-sharing__link btn btn-primary",onClick:s.withModifiers(o,["prevent","stop"])},[s.createVNode(u,{symbol:"copy"}),s.createElementVNode("span",lne,s.toDisplayString(a.$t("sharing.clipboard")),1)])])):s.createCommentVNode("",!0),t.services.mailto?(s.openBlock(),s.createElementBlock("div",cne,[s.createElementVNode("a",{class:"link-sharing__link btn btn-primary",href:`mailto:?subject=${t.subject}&body=${r.value}%0D%0A${t.url}`,target:"_blank",rel:"noopener"},[s.createVNode(u,{symbol:"mail"}),s.createElementVNode("span",dne,s.toDisplayString(a.$t("sharing.mailto")),1)],8,une)])):s.createCommentVNode("",!0)])]))])}}}),Jce="",yne={class:"base-form"},wne=s.defineComponent({__name:"base-form",props:{id:{},name:{},variant:{},disabled:{type:Boolean},pending:{type:Boolean}},setup(t){function e(r){console.log("input",r)}function n(r){console.log("reset",r)}function A(r){console.log("submit",r)}return(r,i)=>(s.openBlock(),s.createElementBlock("div",yne,[s.createElementVNode("form",{ref:"form",onInput:e,onReset:n,onSubmit:s.withModifiers(A,["prevent"])},[s.renderSlot(r.$slots,"default")],544)]))}}),jce="",Cne={class:"modal-dialog__content d-flex flex-column"},bne={class:"modal-dialog__header d-flex p-3 border-bottom"},vne={key:0,class:"modal-dialog__title",id:"exampleModalLabel"},Ene={class:"modal-dialog__body"},kne={key:0,class:"modal-dialog__footer d-flex p-3 border-top"},Sne=s.defineComponent({__name:"modal-dialog",props:{modelValue:{type:Boolean,default:!1},modal:{type:Boolean,default:!0},size:{type:String,default:"md"},dismiss:{type:Boolean,default:!0},title:{type:String,default:""},footer:{type:Boolean,default:!0},classes:{type:String,default:""}},emits:["update:modelValue","confirm","cancel"],setup(t,{expose:e,emit:n}){const A=t,r=n,i=s.ref();function o(){var p,g;document.documentElement.style.setProperty("--scroll-position",`${Math.round(document.documentElement.scrollTop)}px`),A.modal?(p=i.value)==null||p.showModal():(g=i.value)==null||g.show(),r("update:modelValue",!0)}function a(){const p=i.value&&new KeyframeEffect(i.value,[{translate:"0 -100%",opacity:"0"}],{duration:320,easing:"ease",direction:"normal"}),g=new Animation(p,document.timeline);g.play(),g.addEventListener("finish",()=>{var B;(B=i.value)==null||B.close(),l()}),r("update:modelValue",!1)}function l(){const p=getComputedStyle(document.documentElement).getPropertyValue("--scroll-position");document.documentElement.scrollTo({top:parseInt(p,10),behavior:"instant"}),r("update:modelValue",!1)}function u(p){o(),r("confirm",p)}function f(){a(),r("cancel")}function h(p){const g=p.target;g&&g.nodeName==="DIALOG"&&a()}return s.watch(()=>A.modelValue,(p,g)=>{p&&p!==g?o():g&&a()},{immediate:!0}),s.onMounted(()=>{var p;(p=i.value)==null||p.addEventListener("cancel",g=>{g.preventDefault(),a()}),A.dismiss&&document.addEventListener("click",h),A.modelValue&&o()}),s.onBeforeUnmount(()=>{A.dismiss&&document.removeEventListener("click",h)}),e({show:o,close:a,confirm:u,cancel:f}),(p,g)=>(s.openBlock(),s.createElementBlock("dialog",{ref_key:"dialog",ref:i,class:s.normalizeClass(["modal-dialog",{[`modal-dialog--${t.size}`]:t.size}]),onClose:l},[s.createElementVNode("div",Cne,[s.createElementVNode("div",bne,[t.title?(s.openBlock(),s.createElementBlock("h5",vne,s.toDisplayString(t.title),1)):s.createCommentVNode("",!0),s.createElementVNode("button",{type:"button",class:"btn-close ms-auto border-radius-none","aria-label":"Close",onClick:a})]),s.createElementVNode("div",Ene,[s.renderSlot(p.$slots,"default")]),t.footer?(s.openBlock(),s.createElementBlock("div",kne,[s.renderSlot(p.$slots,"footer"),s.createElementVNode("button",{type:"button",class:"btn ms-auto",onClick:a},s.toDisplayString(p.$t("common.close")),1)])):s.createCommentVNode("",!0)])],34))}}),Xce="",Fne=["onDragenter","onDragover","onDragleave","onDragend","onDrop","innerHTML"],Qne=["onDragstart","onDrag","onDragenter","onDragover","onDragleave","onDragend","onDrop"],Une={key:0,class:"sortable-list__drag-handle"},Tne={type:"button",class:"btn"},Ine={key:0,class:"sortable-list__item"},_ne=s.defineComponent({__name:"sortable-list",props:{modelValue:{type:Array,default:()=>[]},config:{type:Object,default:null},messages:{type:Object,default:{}},vertical:{type:Boolean,default:!0},showDragHandle:{type:Boolean,default:!1},showPreview:{type:Boolean,default:!0}},emits:["update:modelValue","update:isDragging"],setup(t,{emit:e}){const n=t,A=s.ref(!1),r=s.ref(null),i=s.ref(null),o=e,a=s.computed({get(){return n.modelValue},set(F){o("update:modelValue",F)}}),l=s.computed(()=>{var F;return(F=document.querySelector(".is-drag-item"))==null?void 0:F.outerHTML}),u=s.useSlots(),f=s.computed(()=>u["list-append"]);function h(F,k){F.dataTransfer&&(F.dataTransfer.dropEffect="move",F.dataTransfer.effectAllowed="move",F.dataTransfer.setData("index",k.toLocaleString()),A.value=!0,r.value=k)}function p(F,k){A.value=!1,r.value=null,i.value=null}function g(F,k){}function B(F,k){i.value=r.value!==k?k:null}function y(F,k){}function C(F,k){}function b(F,k){if(F.dataTransfer){F.preventDefault();const v=Number(F.dataTransfer.getData("index")),U=k,E=[...a.value];(U||U===0)&&(v||v===0)&&E.splice(U,0,E.splice(v,1)[0]),a.value=E}}return s.watch(()=>A.value,F=>{o("update:isDragging",F)},{immediate:!0}),(F,k)=>{const v=s.resolveComponent("svg-icon");return s.openBlock(),s.createBlock(s.TransitionGroup,{name:"list",tag:"ul",class:s.normalizeClass(["sortable-list p-0 d-flex gap-2",{"flex-column":t.vertical,"flex-row flex-wrap":!t.vertical}]),onDragover:k[0]||(k[0]=s.withModifiers(()=>{},["prevent"])),onDragenter:k[1]||(k[1]=s.withModifiers(()=>{},["prevent"]))},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(a.value,(U,E)=>(s.openBlock(),s.createElementBlock(s.Fragment,{key:E},[t.showPreview&&A.value&&i.value===E?(s.openBlock(),s.createElementBlock("li",{key:0,class:"sortable-list__item is-drop-target",onDragenter:I=>B(I,E),onDragover:I=>void 0,onDragleave:I=>void 0,onDragend:I=>p(),onDrop:I=>b(I,E),innerHTML:l.value},null,40,Fne)):s.createCommentVNode("",!0),s.createElementVNode("li",{class:s.normalizeClass(["sortable-list__item d-flex",{"is-drag-item":A.value&&r.value===E,"is-drop-target":A.value&&i.value===E&&!t.showPreview,"align-items-center gap-2":t.vertical}]),draggable:!0,onDragstart:I=>h(I,E),onDrag:I=>void 0,onDragenter:I=>B(I,E),onDragover:I=>void 0,onDragleave:I=>void 0,onDragend:I=>p(),onDrop:I=>b(I,E)},[t.showDragHandle?(s.openBlock(),s.createElementBlock("div",Une,[s.createElementVNode("button",Tne,[s.createVNode(v,{symbol:"drag"})])])):s.createCommentVNode("",!0),s.createElementVNode("div",{class:s.normalizeClass(["sortable-list__item-content",{"flex-grow-1":t.vertical}])},[s.renderSlot(F.$slots,"list-item",{item:U,index:E},()=>[s.createTextVNode(s.toDisplayString(U),1)])],2)],42,Qne)],64))),128)),f.value?(s.openBlock(),s.createElementBlock("li",Ine,[s.renderSlot(F.$slots,"list-append")])):s.createCommentVNode("",!0)]),_:3},8,["class"])}}}),qce="",xne={class:"touch-wrapper__controls"},One={class:"btn-group",role:"group"},Dne=s.defineComponent({__name:"touch-wrapper",props:{modelValue:{type:Number,default:1}},emits:["update:modelValue"],setup(t,{emit:e}){const n=s.getCurrentInstance(),A=n&&n.appContext.config.globalProperties.$config,r=t,i=e,o=s.ref();function a(f){const h=r.modelValue+f;i("update:modelValue",f===0?1:h>=1?h:1)}function l(f){if(f.ctrlKey){f.preventDefault();const h=0-f.deltaY*.01;a(h)}}function u(f){f.preventDefault();const{scale:h}=f,p=h>1?h*.01:0-h;a(p)}return s.onMounted(()=>{o.value&&(o.value.addEventListener("wheel",l,!1),o.value.addEventListener("gesturestart",u,!1),o.value.addEventListener("gesturechange",u,!1),o.value.addEventListener("gestureend",u,!1))}),(f,h)=>{const p=s.resolveComponent("svg-icon");return s.openBlock(),s.createElementBlock("div",{ref_key:"touchElement",ref:o,class:"touch-wrapper"},[s.renderSlot(f.$slots,"controls",{on:{setScale:a}},()=>[s.createElementVNode("div",xne,[s.createElementVNode("div",One,[s.createElementVNode("button",{type:"button",class:"btn",onClick:h[0]||(h[0]=g=>a(-1))},[s.createVNode(p,{symbol:"minus","base-path":s.unref(A).iconSprite},null,8,["base-path"])]),s.createElementVNode("button",{type:"button",class:"btn",onClick:h[1]||(h[1]=g=>a(0))},[s.createVNode(p,{symbol:"maximize","base-path":s.unref(A).iconSprite},null,8,["base-path"])]),s.createElementVNode("button",{type:"button",class:"btn",onClick:h[2]||(h[2]=g=>a(1))},[s.createVNode(p,{symbol:"plus","base-path":s.unref(A).iconSprite},null,8,["base-path"])])])])]),s.renderSlot(f.$slots,"default")],512)}}}),Zce="";Ye.Accordion=Vx,Ye.AccordionItem=Mx,Ye.AssetUploader=u5,Ye.AutoSuggest=xW,Ye.BaseButton=Kx,Ye.BaseCamera=ZW,Ye.BaseCarousel=nk,Ye.BaseForm=wne,Ye.BaseHeadline=Qx,Ye.BaseImage=Sx,Ye.BaseInput=zx,Ye.BaseParagraph=Tx,Ye.CheckGroup=QR,Ye.ColorPalette=mW,Ye.DomRenderer=qJ,Ye.FileUpload=t5,Ye.InputCheckbox=nO,Ye.InputColor=fW,Ye.InputDatepicker=bR,Ye.InputDatetime=oO,Ye.InputDropdown=QW,Ye.InputFile=$R,Ye.InputPassword=ER,Ye.InputTextarea=qx,Ye.LinkSharing=Bne,Ye.LoadingSpinner=Ex,Ye.MediaThumbnails=g5,Ye.ModalDialog=Sne,Ye.PopoverDialog=KB,Ye.PopoverNotifications=Kte,Ye.PopoverTooltip=Hte,Ye.ProgressSteps=S5,Ye.RadioButtons=DR,Ye.RadioGroup=Iu,Ye.RteEditor=lW,Ye.SelectMedia=GR,Ye.SortableList=_ne,Ye.SvgIcon=Cx,Ye.TouchWrapper=Dne,Ye.UploadGroup=tk,Object.defineProperty(Ye,Symbol.toStringTag,{value:"Module"})});
@@ -36,7 +36,7 @@ declare const _sfc_main: import('./vue/dist/vue.esm-bundler.js').DefineComponent
36
36
  type: BooleanConstructor;
37
37
  default: boolean;
38
38
  };
39
- }, {}, unknown, {}, {}, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('./vue/dist/vue.esm-bundler.js').PublicProps, Readonly<import('./vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
39
+ }, {}, unknown, {}, {}, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, ("update:modelValue" | "update:isDragging")[], "update:modelValue" | "update:isDragging", import('./vue/dist/vue.esm-bundler.js').PublicProps, Readonly<import('./vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
40
40
  modelValue: {
41
41
  type: {
42
42
  (arrayLength: number): any[];
@@ -76,6 +76,7 @@ declare const _sfc_main: import('./vue/dist/vue.esm-bundler.js').DefineComponent
76
76
  };
77
77
  }>> & {
78
78
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
79
+ "onUpdate:isDragging"?: ((...args: any[]) => any) | undefined;
79
80
  }, {
80
81
  modelValue: any[];
81
82
  messages: Record<string, any>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ablok-components",
3
3
  "private": false,
4
- "version": "0.1.205",
4
+ "version": "0.1.206",
5
5
  "scripts": {
6
6
  "dev": "vite --host",
7
7
  "build": "vue-tsc --noEmit && vite build",