@avenirs-esr/avenirs-dsav 0.1.40 → 0.1.42

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
  import { DsfrBadge as ta, VIcon as aa, DsfrNotice as na, DsfrButton as ra, registerNavigationLinkKey as Aa, DsfrLanguageSelector as ia, DsfrSearchBar as oa, DsfrAccordionsGroup as la, DsfrAccordion as sa, useRandomId as ca, DsfrInput as ua, DsfrTag as da, DsfrRadioButtonSet as fa, DsfrRadioButton as va, DsfrMultiselect as ma, DsfrSelect as ga, DsfrTabs as Ia, DsfrTabContent as ha, DsfrTabItem as ba, DsfrNavigation as Ca, DsfrModal as ya } from "@gouvminint/vue-dsfr";
2
- import { registerNavigationLinkKey as ls } from "@gouvminint/vue-dsfr";
3
- import { defineComponent as S, useCssVars as re, computed as p, createBlock as x, openBlock as u, mergeProps as ee, unref as o, createPropsRestProxy as Lt, createElementBlock as g, createVNode as P, normalizeClass as F, createElementVNode as y, toDisplayString as Z, withCtx as Y, useSlots as ie, normalizeStyle as Ve, createCommentVNode as O, renderSlot as B, resolveDynamicComponent as ue, createTextVNode as rt, TransitionGroup as Ea, Fragment as _, renderList as ne, toRef as Ma, ref as J, onMounted as xe, onUnmounted as je, provide as St, resolveComponent as pa, withModifiers as se, mergeModels as ve, useModel as ke, nextTick as Re, createSlots as Le, watch as ce, isRef as At, inject as Na, getCurrentScope as Ta, onScopeDispose as Qa, getCurrentInstance as kt, toValue as te, shallowRef as Pe, reactive as dt, normalizeProps as Da, guardReactiveProps as Oa, toRefs as it, withKeys as ot, Teleport as zt, onBeforeUnmount as wa } from "vue";
4
- const ml = {
2
+ import { registerNavigationLinkKey as us } from "@gouvminint/vue-dsfr";
3
+ import { defineComponent as O, useCssVars as te, computed as p, createBlock as k, openBlock as u, mergeProps as ee, unref as o, createPropsRestProxy as wt, createElementBlock as g, createVNode as P, normalizeClass as F, createElementVNode as y, toDisplayString as Z, withCtx as R, useSlots as ie, normalizeStyle as Ve, createCommentVNode as D, renderSlot as B, resolveDynamicComponent as ue, createTextVNode as rt, TransitionGroup as Ea, Fragment as _, renderList as re, toRef as Ma, ref as J, onMounted as xe, onUnmounted as je, provide as St, resolveComponent as pa, withModifiers as se, mergeModels as ve, useModel as ke, nextTick as Re, createSlots as we, watch as ce, isRef as At, inject as Na, getCurrentScope as Ta, onScopeDispose as Qa, getCurrentInstance as kt, toValue as ae, shallowRef as Pe, reactive as dt, normalizeProps as Da, guardReactiveProps as La, toRefs as it, withKeys as ot, Teleport as zt, onBeforeUnmount as Oa } from "vue";
4
+ const hl = {
5
5
  name: "AvBadge",
6
6
  template: '<div class="av-badge"/>',
7
7
  props: {
@@ -18,7 +18,7 @@ const ml = {
18
18
  backgroundColor: String,
19
19
  iconPath: String
20
20
  }
21
- }, La = /* @__PURE__ */ S({
21
+ }, wa = /* @__PURE__ */ O({
22
22
  __name: "AvBadge",
23
23
  props: {
24
24
  color: {},
@@ -32,7 +32,7 @@ const ml = {
32
32
  ellipsis: { type: Boolean }
33
33
  },
34
34
  setup(e) {
35
- re((r) => ({
35
+ te((r) => ({
36
36
  v07eeafc6: r.color,
37
37
  v406561e2: r.backgroundColor,
38
38
  v6fc40bd1: r.borderColor
@@ -42,18 +42,18 @@ const ml = {
42
42
  }));
43
43
  return (r, i) => {
44
44
  const A = ta;
45
- return u(), x(A, ee(t, {
45
+ return u(), k(A, ee(t, {
46
46
  class: ["av-badge", [o(a)]],
47
47
  style: o(n)
48
48
  }), null, 16, ["class", "style"]);
49
49
  };
50
50
  }
51
- }), V = (e, t) => {
51
+ }), W = (e, t) => {
52
52
  const a = e.__vccOpts || e;
53
53
  for (const [n, r] of t)
54
54
  a[n] = r;
55
55
  return a;
56
- }, gl = /* @__PURE__ */ V(La, [["__scopeId", "data-v-844b9e93"]]), Sa = { class: "av-icon-vicon--container" }, ka = 16 / 19.19, za = /* @__PURE__ */ S({
56
+ }, bl = /* @__PURE__ */ W(wa, [["__scopeId", "data-v-844b9e93"]]), Sa = { class: "av-icon-vicon--container" }, ka = 16 / 19.19, za = /* @__PURE__ */ O({
57
57
  __name: "AvVIcon",
58
58
  props: {
59
59
  size: { default: 1 },
@@ -69,10 +69,10 @@ const ml = {
69
69
  ssr: { type: Boolean }
70
70
  },
71
71
  setup(e) {
72
- re((r) => ({
72
+ te((r) => ({
73
73
  v53885778: o(n)
74
74
  }));
75
- const t = Lt(e, ["size"]), a = p(() => ka * e.size), n = p(() => `${e.size}rem`);
75
+ const t = wt(e, ["size"]), a = p(() => ka * e.size), n = p(() => `${e.size}rem`);
76
76
  return (r, i) => {
77
77
  const A = aa;
78
78
  return u(), g("div", Sa, [
@@ -80,7 +80,7 @@ const ml = {
80
80
  ]);
81
81
  };
82
82
  }
83
- }), ae = /* @__PURE__ */ V(za, [["__scopeId", "data-v-bc7be51b"]]), xa = /* @__PURE__ */ S({
83
+ }), ne = /* @__PURE__ */ W(za, [["__scopeId", "data-v-bc7be51b"]]), xa = /* @__PURE__ */ O({
84
84
  __name: "AvIconText",
85
85
  props: {
86
86
  textColor: { default: "var(--text1)" },
@@ -92,7 +92,7 @@ const ml = {
92
92
  inline: { type: Boolean, default: !1 }
93
93
  },
94
94
  setup(e) {
95
- re((r) => ({
95
+ te((r) => ({
96
96
  v1b1615da: r.gap,
97
97
  v274632b3: r.textColor
98
98
  }));
@@ -100,7 +100,7 @@ const ml = {
100
100
  return (r, i) => (u(), g("div", {
101
101
  class: F(["icon-text--container", [o(a)]])
102
102
  }, [
103
- P(ae, {
103
+ P(ne, {
104
104
  class: "icon-text--icon",
105
105
  name: e.icon,
106
106
  color: e.iconColor,
@@ -111,14 +111,14 @@ const ml = {
111
111
  }, Z(e.text), 3)
112
112
  ], 2));
113
113
  }
114
- }), ja = /* @__PURE__ */ V(xa, [["__scopeId", "data-v-dec33472"]]);
114
+ }), ja = /* @__PURE__ */ W(xa, [["__scopeId", "data-v-dec33472"]]);
115
115
  function Ba(e, t = "var(--dark-background-primary1)") {
116
116
  return e.replace(/###(.+?)###/gs, `<h1 style="display:flex;flex-direction:row;justify-content:start;font-size:var(--font-size-n6);line-height:var(--line-height-n5);color:${t}">$1</h1>`).replace(/@@([\s\S]+?)@@/g, "<div>$1</div>").replace(/^\s*--\s+(.*)$/gm, '<li class="indented-list">$1</li>').replace(/(\r\n|\n|\r|\\n|\\r)/g, '<div class="line-break"></div>').replace(/__(.+?)__/g, '<span class="text-underline">$1</span>').replace(/\*\*(.+?)\*\*/g, `<strong style="color: ${t}">$1</strong>`);
117
117
  }
118
118
  function Je(e) {
119
119
  return e ? e[0].toUpperCase() + e.slice(1).toLowerCase() : "";
120
120
  }
121
- const Pa = ["innerHTML"], Il = /* @__PURE__ */ S({
121
+ const Pa = ["innerHTML"], Cl = /* @__PURE__ */ O({
122
122
  __name: "AvNotice",
123
123
  props: {
124
124
  title: { default: "" },
@@ -127,17 +127,17 @@ const Pa = ["innerHTML"], Il = /* @__PURE__ */ S({
127
127
  },
128
128
  setup(e) {
129
129
  const t = p(() => Ba(e.text));
130
- return (a, n) => (u(), x(o(na), {
130
+ return (a, n) => (u(), k(o(na), {
131
131
  title: e.title,
132
132
  type: e.type
133
133
  }, {
134
- desc: Y(() => [
134
+ desc: R(() => [
135
135
  y("span", { innerHTML: o(t) }, null, 8, Pa)
136
136
  ]),
137
137
  _: 1
138
138
  }, 8, ["title", "type"]));
139
139
  }
140
- }), hl = {
140
+ }), yl = {
141
141
  name: "AvVIcon",
142
142
  props: ["name", "color", "size"],
143
143
  template: '<div class="av-vicon" />'
@@ -147,7 +147,7 @@ const Pa = ["innerHTML"], Il = /* @__PURE__ */ S({
147
147
  }, Va = {
148
148
  key: 2,
149
149
  class: "av-card__footer"
150
- }, Ua = /* @__PURE__ */ S({
150
+ }, Ua = /* @__PURE__ */ O({
151
151
  __name: "AvCard",
152
152
  props: {
153
153
  backgroundColor: { default: "var(--card)" },
@@ -167,17 +167,17 @@ const Pa = ["innerHTML"], Il = /* @__PURE__ */ S({
167
167
  style: Ve({ background: e.titleBackground, height: e.titleHeight })
168
168
  }, [
169
169
  B(a.$slots, "title", {}, void 0, !0)
170
- ], 4)) : O("", !0),
170
+ ], 4)) : D("", !0),
171
171
  B(a.$slots, "default", {}, void 0, !0),
172
172
  t.body ? (u(), g("div", Wa, [
173
173
  B(a.$slots, "body", {}, void 0, !0)
174
- ])) : O("", !0),
174
+ ])) : D("", !0),
175
175
  t.footer ? (u(), g("div", Va, [
176
176
  B(a.$slots, "footer", {}, void 0, !0)
177
- ])) : O("", !0)
177
+ ])) : D("", !0)
178
178
  ], 4));
179
179
  }
180
- }), bl = /* @__PURE__ */ V(Ua, [["__scopeId", "data-v-740c9a3b"]]), R = {
180
+ }), El = /* @__PURE__ */ W(Ua, [["__scopeId", "data-v-740c9a3b"]]), Y = {
181
181
  ACCOUNT_CIRCLE_OUTLINE: "mdi:account-circle-outline",
182
182
  ACCOUNT_STUDENT_OUTLINE: "mdi:account-student-outline",
183
183
  ALERT_CIRCLE_OUTLINE: "mdi:alert-circle-outline",
@@ -249,10 +249,10 @@ const Pa = ["innerHTML"], Il = /* @__PURE__ */ S({
249
249
  TRAY_UPLOAD: "mdi:tray-upload",
250
250
  VECTOR_POLYGON_VARIANT: "mdi:vector-polygon-variant",
251
251
  WARNING_OUTLINE: "mdi:warning-outline"
252
- }, Cl = {
252
+ }, Ml = {
253
253
  DICE_1_LINE: "ri:dice-1-line",
254
254
  DICE_4_LINE: "ri:dice-4-line"
255
- }, yl = {
255
+ }, pl = {
256
256
  AMS_SAE: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgZmlsbD0iY3VycmVudENvbG9yIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNNS4yNSAxNy41SDExLjM3NVYxOS4yNUg1LjI1QzQuMjc4NzUgMTkuMjUgMy41IDE4LjQ3MTMgMy41IDE3LjVWMy41QzMuNSAzLjAzNTg3IDMuNjg0MzcgMi41OTA3NSA0LjAxMjU2IDIuMjYyNTZDNC4zNDA3NSAxLjkzNDM3IDQuNzg1ODcgMS43NSA1LjI1IDEuNzVIMTUuNzVDMTYuMjE0MSAxLjc1IDE2LjY1OTIgMS45MzQzNyAxNi45ODc0IDIuMjYyNTZDMTcuMzE1NiAyLjU5MDc1IDE3LjUgMy4wMzU4NyAxNy41IDMuNVYxMC45NzI1TDE2LjE4NzUgMTAuMjU1TDE1Ljc1IDEwLjVWMy41SDExLjM3NVYxMC41TDkuMTg3NSA4LjUzMTI1TDcgMTAuNVYzLjVINS4yNVYxNy41Wk0yMSAxNC44NzVMMTYuMTg3NSAxMi4yNUwxMS4zNzUgMTQuODc1TDE2LjE4NzUgMTcuNUwyMSAxNC44NzVaTTEzLjEyNSAxNi43MDM4VjE4LjQ1MzhMMTYuMTg3NSAyMC4xMjVMMTkuMjUgMTguNDUzOFYxNi43MDM4TDE2LjE4NzUgMTguMzc1TDEzLjEyNSAxNi43MDM4WiIgZmlsbD0iY3VycmVudENvbG9yIiAvPgo8L3N2Zz4K",
257
257
  CLOCK_ALMOST_CHECK: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swXzQwMDA4NTQzXzI2OTE5IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPgo8cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9ImN1cnJlbnRDb2xvciIvPgo8L21hc2s+CjxnIG1hc2s9InVybCgjbWFzazBfNDAwMDg1NDNfMjY5MTkpIj4KPHBhdGggZD0iTTguMDAwMzMgMTQuMzMyN0M3LjEyMjU1IDE0LjMzMjcgNi4yOTc2NiAxNC4xNjYgNS41MjU2NiAxMy44MzI3QzQuNzUzMjEgMTMuNDk5MyA0LjA4MzY2IDEzLjA0OTMgMy41MTY5OSAxMi40ODI3QzIuOTUwMzMgMTEuOTE2IDIuNTAwMzMgMTEuMjQ2NSAyLjE2Njk5IDEwLjQ3NEMxLjgzMzY2IDkuNzAyMDEgMS42NjY5OSA4Ljg3NzEzIDEuNjY2OTkgNy45OTkzNUMxLjY2Njk5IDcuMTIxNTcgMS44MzM2NiA2LjI5NjQ2IDIuMTY2OTkgNS41MjQwMkMyLjUwMDMzIDQuNzUyMDIgMi45NTAzMyA0LjA4MjY4IDMuNTE2OTkgMy41MTYwMkM0LjA4MzY2IDIuOTQ5MzUgNC43NTMyMSAyLjQ5OTM1IDUuNTI1NjYgMi4xNjYwMkM2LjI5NzY2IDEuODMyNjggNy4xMjI1NSAxLjY2NjAyIDguMDAwMzMgMS42NjYwMkM4Ljg3ODEgMS42NjYwMiA5LjcwMzIxIDEuODMyNjggMTAuNDc1NyAyLjE2NjAyQzExLjI0NzcgMi40OTkzNSAxMS45MTcgMi45NDkzNSAxMi40ODM3IDMuNTE2MDJDMTMuMDUwMyA0LjA4MjY4IDEzLjUwMDMgNC43NTIwMiAxMy44MzM3IDUuNTI0MDJDMTQuMTY3IDYuMjk2NDYgMTQuMzMzNyA3LjEyMTU3IDE0LjMzMzcgNy45OTkzNUMxNC4zMzM3IDguODc3MTMgMTQuMTY3IDkuNzAyMDEgMTMuODMzNyAxMC40NzRDMTMuNTAwMyAxMS4yNDY1IDEzLjA1MDMgMTEuOTE2IDEyLjQ4MzcgMTIuNDgyN0MxMS45MTcgMTMuMDQ5MyAxMS4yNDc3IDEzLjQ5OTMgMTAuNDc1NyAxMy44MzI3QzkuNzAzMjEgMTQuMTY2IDguODc4MSAxNC4zMzI3IDguMDAwMzMgMTQuMzMyN1pNNC4yMTY5OSA0LjIxNjAyTDguMDAwMzMgNy45OTkzNVYyLjY2NjAyQzcuMjg5MjEgMi42NjYwMiA2LjYwNTg4IDIuNzk5MzUgNS45NTAzMyAzLjA2NjAyQzUuMjk0NzcgMy4zMzI2OCA0LjcxNjk5IDMuNzE2MDIgNC4yMTY5OSA0LjIxNjAyWiIgZmlsbD0iY3VycmVudENvbG9yIi8+CjwvZz4KPC9zdmc+Cg==",
258
258
  CLOCK_HALF_PLUS_CHECK: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swXzQwMDA4NTMxXzMxMzY5IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPgo8cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9ImN1cnJlbnRDb2xvciIvPgo8L21hc2s+CjxnIG1hc2s9InVybCgjbWFzazBfNDAwMDg1MzFfMzEzNjkpIj4KPHBhdGggZD0iTTguMDAwMzMgMTQuMzMyN0M3LjEyMjU1IDE0LjMzMjcgNi4yOTc2NiAxNC4xNjYgNS41MjU2NiAxMy44MzI3QzQuNzUzMjEgMTMuNDk5MyA0LjA4MzY2IDEzLjA0OTMgMy41MTY5OSAxMi40ODI3QzIuOTUwMzMgMTEuOTE2IDIuNTAwMzMgMTEuMjQ2NSAyLjE2Njk5IDEwLjQ3NEMxLjgzMzY2IDkuNzAyMDEgMS42NjY5OSA4Ljg3NzEzIDEuNjY2OTkgNy45OTkzNUMxLjY2Njk5IDcuMTIxNTcgMS44MzM2NiA2LjI5NjQ2IDIuMTY2OTkgNS41MjQwMkMyLjUwMDMzIDQuNzUyMDIgMi45NTAzMyA0LjA4MjY4IDMuNTE2OTkgMy41MTYwMkM0LjA4MzY2IDIuOTQ5MzUgNC43NTMyMSAyLjQ5OTM1IDUuNTI1NjYgMi4xNjYwMkM2LjI5NzY2IDEuODMyNjggNy4xMjI1NSAxLjY2NjAyIDguMDAwMzMgMS42NjYwMkM4Ljg3ODEgMS42NjYwMiA5LjcwMzIxIDEuODMyNjggMTAuNDc1NyAyLjE2NjAyQzExLjI0NzcgMi40OTkzNSAxMS45MTcgMi45NDkzNSAxMi40ODM3IDMuNTE2MDJDMTMuMDUwMyA0LjA4MjY4IDEzLjUwMDMgNC43NTIwMiAxMy44MzM3IDUuNTI0MDJDMTQuMTY3IDYuMjk2NDYgMTQuMzMzNyA3LjEyMTU3IDE0LjMzMzcgNy45OTkzNUMxNC4zMzM3IDguODc3MTMgMTQuMTY3IDkuNzAyMDEgMTMuODMzNyAxMC40NzRDMTMuNTAwMyAxMS4yNDY1IDEzLjA1MDMgMTEuOTE2IDEyLjQ4MzcgMTIuNDgyN0MxMS45MTcgMTMuMDQ5MyAxMS4yNDc3IDEzLjQ5OTMgMTAuNDc1NyAxMy44MzI3QzkuNzAzMjEgMTQuMTY2IDguODc4MSAxNC4zMzI3IDguMDAwMzMgMTQuMzMyN1pNNC4yMTY5OSAxMS43ODI3TDguMDAwMzMgNy45OTkzNVYyLjY2NjAyQzYuNTExNDQgMi42NjYwMiA1LjI1MDMzIDMuMTgyNjggNC4yMTY5OSA0LjIxNjAyQzMuMTgzNjYgNS4yNDkzNSAyLjY2Njk5IDYuNTEwNDYgMi42NjY5OSA3Ljk5OTM1QzIuNjY2OTkgOC43MTA0NiAyLjgwMDMzIDkuMzkzNzkgMy4wNjY5OSAxMC4wNDkzQzMuMzMzNjYgMTAuNzA0OSAzLjcxNjk5IDExLjI4MjcgNC4yMTY5OSAxMS43ODI3WiIgZmlsbD0iY3VycmVudENvbG9yIi8+CjwvZz4KPC9zdmc+Cg==",
@@ -264,10 +264,10 @@ const Pa = ["innerHTML"], Il = /* @__PURE__ */ S({
264
264
  function Xa(e) {
265
265
  return [...new Set(e)];
266
266
  }
267
- function El(e) {
267
+ function Nl(e) {
268
268
  return /^[^\s@]+@[^\s.@]+\.[^\s@]+$/.test(e);
269
269
  }
270
- const Ha = /* @__PURE__ */ S({
270
+ const Ha = /* @__PURE__ */ O({
271
271
  __name: "AvButton",
272
272
  props: {
273
273
  variant: { default: "DEFAULT" },
@@ -284,10 +284,10 @@ const Ha = /* @__PURE__ */ S({
284
284
  onClick: {}
285
285
  },
286
286
  setup(e, { expose: t }) {
287
- re((c) => ({
287
+ te((c) => ({
288
288
  v8ea3f2fe: o(s)
289
289
  }));
290
- const a = e, n = { name: R.LOADING_OUTLINE, animation: "spin" }, r = p(() => a.isLoading ? n : a.icon), i = p(() => `av-button--variant-${a.variant.toLowerCase()}`), A = p(() => `av-button--theme-${a.theme.toLowerCase()}`), l = p(() => a.noRadius ? "av-button--no-radius" : ""), s = p(() => {
290
+ const a = e, n = { name: Y.LOADING_OUTLINE, animation: "spin" }, r = p(() => a.isLoading ? n : a.icon), i = p(() => `av-button--variant-${a.variant.toLowerCase()}`), A = p(() => `av-button--theme-${a.theme.toLowerCase()}`), l = p(() => a.noRadius ? "av-button--no-radius" : ""), s = p(() => {
291
291
  if (a.iconScale && !Number.isNaN(a.iconScale))
292
292
  return a.iconScale;
293
293
  switch (a.size) {
@@ -306,7 +306,7 @@ const Ha = /* @__PURE__ */ S({
306
306
  });
307
307
  return t({ computedSvgScale: s }), (c, d) => {
308
308
  const f = ra;
309
- return u(), x(f, ee(a, {
309
+ return u(), k(f, ee(a, {
310
310
  class: ["av-button", [o(i), o(A), o(l)]],
311
311
  disabled: a.disabled || e.isLoading,
312
312
  icon: o(r),
@@ -318,7 +318,7 @@ const Ha = /* @__PURE__ */ S({
318
318
  }), null, 16, ["class", "disabled", "icon", "no-outline", "aria-label", "title", "label"]);
319
319
  };
320
320
  }
321
- }), Ce = /* @__PURE__ */ V(Ha, [["__scopeId", "data-v-2d2e30b8"]]), Za = ["id", "role"], qa = { class: "av-alert--container" }, Ya = { class: "av-alert--content" }, Ra = { class: "av-alert--title" }, Fa = { class: "b1-regular" }, Ka = /* @__PURE__ */ S({
321
+ }), me = /* @__PURE__ */ W(Ha, [["__scopeId", "data-v-2d2e30b8"]]), Za = ["id", "role"], qa = { class: "av-alert--container" }, Ya = { class: "av-alert--content" }, Ra = { class: "av-alert--title" }, Fa = { class: "b1-regular" }, Ka = /* @__PURE__ */ O({
322
322
  __name: "AvAlert",
323
323
  props: {
324
324
  alert: { type: Boolean, default: !1 },
@@ -344,17 +344,17 @@ const Ha = /* @__PURE__ */ S({
344
344
  ), i = p(() => {
345
345
  switch (e.type) {
346
346
  case "error":
347
- return { name: R.ALERT_CIRCLE_OUTLINE, color: "var(--dark-background-error)" };
347
+ return { name: Y.ALERT_CIRCLE_OUTLINE, color: "var(--dark-background-error)" };
348
348
  case "success":
349
- return { name: R.CHECK_CIRCLE, color: "var(--dark-background-success)" };
349
+ return { name: Y.CHECK_CIRCLE, color: "var(--dark-background-success)" };
350
350
  case "warning":
351
- return { name: R.WARNING_OUTLINE, color: "var(--dark-background-warn)" };
351
+ return { name: Y.WARNING_OUTLINE, color: "var(--dark-background-warn)" };
352
352
  case "info":
353
353
  default:
354
- return { name: R.INFORMATION_OUTLINE, color: "var(--dark-background-primary1)" };
354
+ return { name: Y.INFORMATION_OUTLINE, color: "var(--dark-background-primary1)" };
355
355
  }
356
356
  });
357
- return (A, l) => e.closed ? O("", !0) : (u(), g("div", {
357
+ return (A, l) => e.closed ? D("", !0) : (u(), g("div", {
358
358
  key: 0,
359
359
  id: e.id,
360
360
  class: F(["fr-alert", o(r)]),
@@ -362,13 +362,13 @@ const Ha = /* @__PURE__ */ S({
362
362
  }, [
363
363
  y("div", qa, [
364
364
  y("div", Ya, [
365
- P(ae, ee(o(i), { size: 3 }), null, 16),
365
+ P(ne, ee(o(i), { size: 3 }), null, 16),
366
366
  y("div", Ra, [
367
- e.small ? O("", !0) : (u(), x(ue(e.titleTag), {
367
+ e.small ? D("", !0) : (u(), k(ue(e.titleTag), {
368
368
  key: 0,
369
369
  class: "fr-alert__title"
370
370
  }, {
371
- default: Y(() => [
371
+ default: R(() => [
372
372
  rt(Z(e.title), 1)
373
373
  ]),
374
374
  _: 1
@@ -378,18 +378,18 @@ const Ha = /* @__PURE__ */ S({
378
378
  ], !0)
379
379
  ])
380
380
  ]),
381
- e.closeable ? (u(), x(Ce, {
381
+ e.closeable ? (u(), k(me, {
382
382
  key: 0,
383
383
  "icon-only": "",
384
- icon: o(R).CLOSE_CIRCLE_OUTLINE,
384
+ icon: o(Y).CLOSE_CIRCLE_OUTLINE,
385
385
  label: e.closeButtonLabel,
386
386
  small: "",
387
387
  "on-click": n
388
- }, null, 8, ["icon", "label"])) : O("", !0)
388
+ }, null, 8, ["icon", "label"])) : D("", !0)
389
389
  ])
390
390
  ], 10, Za));
391
391
  }
392
- }), Ga = /* @__PURE__ */ V(Ka, [["__scopeId", "data-v-e4e8790e"]]), Ja = { class: "toaster-container" }, _a = /* @__PURE__ */ S({
392
+ }), Ga = /* @__PURE__ */ W(Ka, [["__scopeId", "data-v-e4e8790e"]]), Ja = { class: "toaster-container" }, _a = /* @__PURE__ */ O({
393
393
  __name: "AvToaster",
394
394
  props: {
395
395
  messages: {},
@@ -420,8 +420,8 @@ const Ha = /* @__PURE__ */ S({
420
420
  tag: "div",
421
421
  class: "toasters"
422
422
  }, {
423
- default: Y(() => [
424
- (u(!0), g(_, null, ne(e.messages, (i) => (u(), x(Ga, ee({
423
+ default: R(() => [
424
+ (u(!0), g(_, null, re(e.messages, (i) => (u(), k(Ga, ee({
425
425
  key: i.id,
426
426
  class: ["av-toaster", t(i.type)]
427
427
  }, { ref_for: !0 }, i, {
@@ -433,7 +433,7 @@ const Ha = /* @__PURE__ */ S({
433
433
  })
434
434
  ]));
435
435
  }
436
- }), Ml = /* @__PURE__ */ V(_a, [["__scopeId", "data-v-202438c7"]]), $a = ["aria-label"], en = { class: "fr-btns-group" }, ft = /* @__PURE__ */ S({
436
+ }), Tl = /* @__PURE__ */ W(_a, [["__scopeId", "data-v-202438c7"]]), $a = ["aria-label"], en = { class: "fr-btns-group" }, ft = /* @__PURE__ */ O({
437
437
  __name: "AvHeaderMenuLinks",
438
438
  props: {
439
439
  links: {},
@@ -447,8 +447,8 @@ const Ha = /* @__PURE__ */ S({
447
447
  "aria-label": e.navAriaLabel
448
448
  }, [
449
449
  y("ul", en, [
450
- (u(!0), g(_, null, ne(e.links, (i, A) => (u(), g("li", { key: A }, [
451
- P(Ce, {
450
+ (u(!0), g(_, null, re(e.links, (i, A) => (u(), g("li", { key: A }, [
451
+ P(me, {
452
452
  icon: i.icon,
453
453
  label: i.label ?? "",
454
454
  "on-click": (l) => {
@@ -497,7 +497,7 @@ function nn(e, t) {
497
497
  ], -1)
498
498
  ])]);
499
499
  }
500
- const rn = /* @__PURE__ */ V(tn, [["render", nn]]), An = {
500
+ const rn = /* @__PURE__ */ W(tn, [["render", nn]]), An = {
501
501
  role: "banner",
502
502
  class: "fr-header"
503
503
  }, on = { class: "fr-header__body" }, ln = { class: "fr-container width-inherit" }, sn = { class: "fr-header__body-row" }, cn = { class: "fr-header__brand" }, un = { class: "fr-header__brand-top" }, dn = { class: "fr-header__logo fr-enlarge-link" }, fn = {
@@ -515,7 +515,7 @@ const rn = /* @__PURE__ */ V(tn, [["render", nn]]), An = {
515
515
  }, Nn = { class: "fr-header__menu fr-modal" }, Tn = {
516
516
  key: 0,
517
517
  class: "fr-container"
518
- }, Qn = /* @__PURE__ */ S({
518
+ }, Qn = /* @__PURE__ */ O({
519
519
  __name: "AvHeader",
520
520
  props: {
521
521
  searchbarId: { default: "searchbar-header" },
@@ -555,13 +555,13 @@ const rn = /* @__PURE__ */ V(tn, [["render", nn]]), An = {
555
555
  (M = document.getElementById("close-button")) == null || M.focus();
556
556
  });
557
557
  }
558
- function b() {
558
+ function h() {
559
559
  s.value = !0, A.value = !1, l.value = !0;
560
560
  }
561
561
  const I = c, m = p(() => [a.homeLabel, a.serviceTitle].filter((M) => M).join(" - ")), C = p(() => !!r.mainnav);
562
562
  return St(Aa, () => c), (M, T) => {
563
- var j, W;
564
- const Q = pa("RouterLink"), E = ia, D = oa;
563
+ var j, V;
564
+ const Q = pa("RouterLink"), E = ia, L = oa;
565
565
  return u(), g("header", An, [
566
566
  y("div", on, [
567
567
  y("div", ln, [
@@ -573,7 +573,7 @@ const rn = /* @__PURE__ */ V(tn, [["render", nn]]), An = {
573
573
  to: e.homeTo,
574
574
  title: o(m)
575
575
  }, {
576
- default: Y(() => [
576
+ default: R(() => [
577
577
  P(rn, { "data-testid": "header-logo" })
578
578
  ]),
579
579
  _: 1
@@ -587,9 +587,9 @@ const rn = /* @__PURE__ */ V(tn, [["render", nn]]), An = {
587
587
  "aria-label": e.showSearchLabel,
588
588
  title: e.showSearchLabel,
589
589
  "data-fr-opened": o(l),
590
- onClick: T[0] || (T[0] = se((z) => b(), ["prevent", "stop"]))
591
- }, null, 8, vn)) : O("", !0),
592
- o(C) || (W = e.quickLinks) != null && W.length ? (u(), g("button", {
590
+ onClick: T[0] || (T[0] = se((x) => h(), ["prevent", "stop"]))
591
+ }, null, 8, vn)) : D("", !0),
592
+ o(C) || (V = e.quickLinks) != null && V.length ? (u(), g("button", {
593
593
  key: 1,
594
594
  id: "button-menu",
595
595
  class: "fr-btn--menu fr-btn",
@@ -599,39 +599,39 @@ const rn = /* @__PURE__ */ V(tn, [["render", nn]]), An = {
599
599
  "aria-label": e.menuLabel,
600
600
  title: e.menuLabel,
601
601
  "data-testid": "open-menu-btn",
602
- onClick: T[1] || (T[1] = se((z) => f(), ["prevent", "stop"]))
603
- }, null, 8, mn)) : O("", !0)
604
- ])) : O("", !0)
602
+ onClick: T[1] || (T[1] = se((x) => f(), ["prevent", "stop"]))
603
+ }, null, 8, mn)) : D("", !0)
604
+ ])) : D("", !0)
605
605
  ]),
606
606
  e.serviceTitle ? (u(), g("div", gn, [
607
607
  y("p", In, Z(e.serviceTitle), 1),
608
608
  B(M.$slots, "serviceDescription", {}, void 0, !0)
609
- ])) : O("", !0)
609
+ ])) : D("", !0)
610
610
  ]),
611
611
  y("div", hn, [
612
612
  y("div", bn, [
613
613
  B(M.$slots, "before-quick-links", {}, void 0, !0),
614
- o(A) ? O("", !0) : (u(), x(ft, {
614
+ o(A) ? D("", !0) : (u(), k(ft, {
615
615
  key: 0,
616
616
  links: e.quickLinks,
617
617
  "nav-aria-label": e.quickLinksAriaLabel
618
618
  }, null, 8, ["links", "nav-aria-label"])),
619
619
  B(M.$slots, "after-quick-links", {}, void 0, !0),
620
- o(i) ? (u(), x(E, ee({ key: 1 }, o(i), {
621
- onSelect: T[2] || (T[2] = (z) => n("languageSelect", z))
622
- }), null, 16)) : O("", !0)
620
+ o(i) ? (u(), k(E, ee({ key: 1 }, o(i), {
621
+ onSelect: T[2] || (T[2] = (x) => n("languageSelect", x))
622
+ }), null, 16)) : D("", !0)
623
623
  ]),
624
624
  e.showSearch ? (u(), g("div", Cn, [
625
- P(D, {
625
+ P(L, {
626
626
  id: e.searchbarId,
627
627
  label: e.searchLabel,
628
628
  "model-value": e.modelValue,
629
629
  placeholder: e.placeholder,
630
630
  style: { "justify-content": "flex-end" },
631
- "onUpdate:modelValue": T[3] || (T[3] = (z) => n("update:modelValue", z)),
632
- onSearch: T[4] || (T[4] = (z) => n("search", z))
631
+ "onUpdate:modelValue": T[3] || (T[3] = (x) => n("update:modelValue", x)),
632
+ onSearch: T[4] || (T[4] = (x) => n("search", x))
633
633
  }, null, 8, ["id", "label", "model-value", "placeholder"])
634
- ])) : O("", !0)
634
+ ])) : D("", !0)
635
635
  ])
636
636
  ]),
637
637
  e.showSearch || o(C) || e.quickLinks && e.quickLinks.length || o(i) ? (u(), g("div", {
@@ -648,53 +648,53 @@ const rn = /* @__PURE__ */ V(tn, [["render", nn]]), An = {
648
648
  class: "fr-btn fr-btn--close",
649
649
  "aria-controls": "header-navigation",
650
650
  "data-testid": "close-modal-btn",
651
- onClick: T[5] || (T[5] = se((z) => c(), ["prevent", "stop"]))
651
+ onClick: T[5] || (T[5] = se((x) => c(), ["prevent", "stop"]))
652
652
  }, Z(e.closeMenuModalLabel), 1),
653
653
  y("div", Mn, [
654
- o(i) ? (u(), x(E, ee({ key: 0 }, o(i), {
655
- onSelect: T[6] || (T[6] = (z) => o(i).currentLanguage = z.codeIso)
656
- }), null, 16)) : O("", !0),
654
+ o(i) ? (u(), k(E, ee({ key: 0 }, o(i), {
655
+ onSelect: T[6] || (T[6] = (x) => o(i).currentLanguage = x.codeIso)
656
+ }), null, 16)) : D("", !0),
657
657
  B(M.$slots, "before-quick-links", {}, void 0, !0),
658
- o(A) ? (u(), x(ft, {
658
+ o(A) ? (u(), k(ft, {
659
659
  key: 1,
660
660
  role: "navigation",
661
661
  links: e.quickLinks,
662
662
  "nav-aria-label": e.quickLinksAriaLabel,
663
663
  onLinkClick: o(I)
664
- }, null, 8, ["links", "nav-aria-label", "onLinkClick"])) : O("", !0),
664
+ }, null, 8, ["links", "nav-aria-label", "onLinkClick"])) : D("", !0),
665
665
  B(M.$slots, "after-quick-links", {}, void 0, !0)
666
666
  ]),
667
667
  o(s) ? B(M.$slots, "mainnav", {
668
668
  key: 0,
669
669
  hidemodal: c
670
- }, void 0, !0) : O("", !0),
670
+ }, void 0, !0) : D("", !0),
671
671
  o(l) ? (u(), g("div", pn, [
672
- P(D, {
672
+ P(L, {
673
673
  "searchbar-id": e.searchbarId,
674
674
  "model-value": e.modelValue,
675
675
  placeholder: e.placeholder,
676
- "onUpdate:modelValue": T[7] || (T[7] = (z) => n("update:modelValue", z)),
677
- onSearch: T[8] || (T[8] = (z) => n("search", z))
676
+ "onUpdate:modelValue": T[7] || (T[7] = (x) => n("update:modelValue", x)),
677
+ onSearch: T[8] || (T[8] = (x) => n("search", x))
678
678
  }, null, 8, ["searchbar-id", "model-value", "placeholder"])
679
- ])) : O("", !0)
679
+ ])) : D("", !0)
680
680
  ])
681
- ], 10, yn)) : O("", !0),
681
+ ], 10, yn)) : D("", !0),
682
682
  B(M.$slots, "default", {}, void 0, !0)
683
683
  ])
684
684
  ]),
685
685
  y("div", Nn, [
686
686
  o(C) && !o(s) ? (u(), g("div", Tn, [
687
687
  B(M.$slots, "mainnav", { hidemodal: c }, void 0, !0)
688
- ])) : O("", !0)
688
+ ])) : D("", !0)
689
689
  ])
690
690
  ]);
691
691
  };
692
692
  }
693
- }), pl = /* @__PURE__ */ V(Qn, [["__scopeId", "data-v-40671897"]]), Dn = {
693
+ }), Ql = /* @__PURE__ */ W(Qn, [["__scopeId", "data-v-40671897"]]), Dn = {
694
694
  xmlns: "http://www.w3.org/2000/svg",
695
695
  viewBox: "0 0 106.703 44.429"
696
696
  };
697
- function On(e, t) {
697
+ function Ln(e, t) {
698
698
  return u(), g("svg", Dn, [...t[0] || (t[0] = [
699
699
  y("path", {
700
700
  d: "M33.63 110.595q-.883.002-1.403.293a1.95 1.95 0 0 0-.781.783 3.1 3.1 0 0 0-.34 1.087q-.08.597-.08 1.21.001.499.091 1.086.09.589.374 1.098.283.506.792.85.51.339 1.347.339t1.347-.34q.51-.341.78-.85.271-.508.363-1.096.09-.588.09-1.087 0-.498-.09-1.087a3.4 3.4 0 0 0-.363-1.097 2.3 2.3 0 0 0-.78-.85q-.51-.339-1.347-.339m-5.296 3.394q0-1.425.294-2.547c.196-.744.51-1.38.94-1.898a4.2 4.2 0 0 1 1.64-1.2q.997-.422 2.422-.42 1.493.046 2.67.678.498.274.985.702.487.43.86 1.076.373.645.61 1.528.24.882.24 2.06 0 1.175-.216 2.06a6.2 6.2 0 0 1-.565 1.517 4.37 4.37 0 0 1-1.71 1.74q-1.086.613-2.49.634a4.6 4.6 0 0 1-1.357-.292 4.3 4.3 0 0 1-1.155-.724q-.588-.502-.973-1.45l.498.657v5.386h-2.693zM45.625 110.595q-.837 0-1.347.339-.51.338-.78.85a3.4 3.4 0 0 0-.363 1.097 7 7 0 0 0-.09 1.087q0 .499.09 1.086.09.589.362 1.098.273.506.781.85.51.339 1.347.339t1.347-.34q.51-.341.78-.85.271-.508.363-1.096.09-.588.09-1.087 0-.498-.09-1.087a3.4 3.4 0 0 0-.363-1.097 2.3 2.3 0 0 0-.78-.85q-.51-.339-1.347-.339m-5.364 3.373q0-1.178.227-2.06.225-.883.6-1.528.372-.646.859-1.076.487-.427.984-.702c.785-.42 1.683-.649 2.694-.677.996.028 1.885.257 2.67.677q.499.274.985.702.488.43.86 1.076.374.645.611 1.528c.159.589.239 1.273.239 2.06q0 1.175-.239 2.06a6.2 6.2 0 0 1-.61 1.517q-.375.632-.86 1.051a5.7 5.7 0 0 1-.985.688q-1.178.615-2.671.635-1.516-.02-2.694-.635-.497-.27-.984-.688a4.2 4.2 0 0 1-.86-1.05 5.9 5.9 0 0 1-.6-1.518q-.225-.884-.226-2.06M52.347 111.57q0-1.18.497-1.846c.333-.444.695-.783 1.087-1.009a3.9 3.9 0 0 1 1.584-.497h3.17v2.737h-2.128q-.453 0-.736.159-.283.158-.442.342-.18.222-.249.498v7.74h-2.783zM62.78 110.913v5.045q.07.275.25.497.158.184.442.342.282.159.735.159h1.72v2.738h-2.761a3.9 3.9 0 0 1-1.584-.498q-.59-.337-1.076-1.009-.487-.665-.486-1.845v-11.2h2.76v3.076h2.604v2.695zM72.558 110.595q-.838 0-1.347.339-.51.338-.78.85a3.4 3.4 0 0 0-.363 1.097 7 7 0 0 0-.09 1.087q0 .499.09 1.086.09.589.362 1.098.271.506.781.85.51.339 1.347.339t1.347-.34q.51-.341.792-.85t.373-1.096.09-1.087q0-.613-.079-1.21a3.2 3.2 0 0 0-.339-1.087 1.96 1.96 0 0 0-.781-.783q-.52-.292-1.403-.293m5.296 9.099h-2.693v-1.584l.498-.657q-.385.948-.974 1.45a4.3 4.3 0 0 1-1.154.723q-.656.25-1.358.293-1.404-.02-2.49-.635a4.8 4.8 0 0 1-.917-.688 4.4 4.4 0 0 1-.791-1.05 6.2 6.2 0 0 1-.566-1.518q-.215-.885-.215-2.06 0-1.179.226-2.06.226-.883.6-1.528.374-.646.86-1.076.487-.427.984-.702c.784-.42 1.683-.649 2.694-.677.95 0 1.758.137 2.421.42a4.2 4.2 0 0 1 1.642 1.2q.645.779.939 1.897.293 1.123.294 2.547zM82.086 108.218v11.476h-2.761v-11.476zm-2.761-2.558q0-.497.01-.744c.008-.166.053-.29.137-.364q.123-.112.408-.123a22 22 0 0 1 1.651 0q.284.012.408.123c.082.074.128.198.136.364q.01.247.01.744 0 .498-.01.748-.012.248-.136.363-.125.112-.408.124-.282.01-.826.01-.543 0-.825-.01-.285-.012-.408-.124-.126-.115-.136-.363-.01-.25-.011-.748M86.409 104.415v15.279h-2.761v-15.28z",
@@ -708,7 +708,7 @@ function On(e, t) {
708
708
  }, null, -1)
709
709
  ])]);
710
710
  }
711
- const wn = { render: On }, Ln = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ S({
711
+ const On = { render: Ln }, wn = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ O({
712
712
  __name: "EsupLogo",
713
713
  props: {
714
714
  width: {},
@@ -716,18 +716,18 @@ const wn = { render: On }, Ln = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ S
716
716
  color: {}
717
717
  },
718
718
  setup(e) {
719
- re((a) => ({
719
+ te((a) => ({
720
720
  v1dadd14a: a.color
721
721
  }));
722
722
  const t = p(() => ({
723
723
  ...e.width && { width: e.width },
724
724
  ...e.height && { height: e.height }
725
725
  }));
726
- return (a, n) => (u(), g("div", Ln, [
727
- P(o(wn), ee(o(t), { class: "logo" }), null, 16)
726
+ return (a, n) => (u(), g("div", wn, [
727
+ P(o(On), ee(o(t), { class: "logo" }), null, 16)
728
728
  ]));
729
729
  }
730
- }), Nl = /* @__PURE__ */ V(Sn, [["__scopeId", "data-v-0e512b24"]]), Tl = /* @__PURE__ */ S({
730
+ }), Dl = /* @__PURE__ */ W(Sn, [["__scopeId", "data-v-0e512b24"]]), Ll = /* @__PURE__ */ O({
731
731
  __name: "AvAccordion",
732
732
  props: {
733
733
  title: {},
@@ -736,7 +736,7 @@ const wn = { render: On }, Ln = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ S
736
736
  setup(e) {
737
737
  return (t, a) => B(t.$slots, "default");
738
738
  }
739
- }), kn = { class: "title-container" }, zn = { class: "n6" }, xn = { class: "accordion-content-container" }, jn = /* @__PURE__ */ S({
739
+ }), kn = { class: "title-container" }, zn = { class: "n6" }, xn = { class: "accordion-content-container" }, jn = /* @__PURE__ */ O({
740
740
  __name: "AvAccordionsGroup",
741
741
  props: /* @__PURE__ */ ve({
742
742
  activeAccordion: {}
@@ -750,36 +750,36 @@ const wn = { render: On }, Ln = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ S
750
750
  var i;
751
751
  return ((i = t.default) == null ? void 0 : i.call(t)) || [];
752
752
  }), n = ke(e, "activeAccordion"), r = `accordion-group-${crypto.randomUUID()}`;
753
- return (i, A) => (u(), x(o(la), {
753
+ return (i, A) => (u(), k(o(la), {
754
754
  modelValue: n.value,
755
755
  "onUpdate:modelValue": A[0] || (A[0] = (l) => n.value = l),
756
756
  role: "group",
757
757
  "aria-label": "Accordion group"
758
758
  }, {
759
- default: Y(() => [
760
- (u(!0), g(_, null, ne(o(a), (l, s) => (u(), x(o(sa), {
759
+ default: R(() => [
760
+ (u(!0), g(_, null, re(o(a), (l, s) => (u(), k(o(sa), {
761
761
  id: `${r}-accordion-${s}`,
762
762
  key: s,
763
763
  "aria-labelledby": `accordion-title-${s}`,
764
764
  "aria-describedby": `accordion-content-${s}`
765
765
  }, {
766
- title: Y(() => {
766
+ title: R(() => {
767
767
  var c, d, f;
768
768
  return [
769
769
  y("div", kn, [
770
- (c = l.props) != null && c.icon ? (u(), x(ae, {
770
+ (c = l.props) != null && c.icon ? (u(), k(ne, {
771
771
  key: 0,
772
772
  size: 2,
773
773
  name: (d = l.props) == null ? void 0 : d.icon,
774
774
  color: "var(--icon)"
775
- }, null, 8, ["name"])) : O("", !0),
775
+ }, null, 8, ["name"])) : D("", !0),
776
776
  y("h6", zn, Z((f = l.props) == null ? void 0 : f.title), 1)
777
777
  ])
778
778
  ];
779
779
  }),
780
- default: Y(() => [
780
+ default: R(() => [
781
781
  y("div", xn, [
782
- (u(), x(ue(l.children.default)))
782
+ (u(), k(ue(l.children.default)))
783
783
  ])
784
784
  ]),
785
785
  _: 2
@@ -788,12 +788,47 @@ const wn = { render: On }, Ln = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ S
788
788
  _: 1
789
789
  }, 8, ["modelValue"]));
790
790
  }
791
- }), Ql = /* @__PURE__ */ V(jn, [["__scopeId", "data-v-efeab1a6"]]), Dl = {
791
+ }), Ol = /* @__PURE__ */ W(jn, [["__scopeId", "data-v-efeab1a6"]]), wl = {
792
792
  name: "AvButton",
793
793
  props: ["label", "variant", "type", "disabled", "isLoading"],
794
794
  emits: ["click"],
795
795
  template: `<button :disabled="disabled" @click="$emit('click')">{{ label }}</button>`
796
- }, Bn = ["title", "aria-label"], Pn = { class: "av-rich-button__line" }, Wn = { class: "av-rich-button__left" }, Vn = /* @__PURE__ */ S({
796
+ }, Bn = { class: "av-cancel-confirm-buttons-container" }, Pn = /* @__PURE__ */ O({
797
+ __name: "AvCancelConfirmButtons",
798
+ props: {
799
+ cancelLabel: {},
800
+ cancelIcon: { default: () => Y.CLOSE_CIRCLE_OUTLINE },
801
+ confirmLabel: {},
802
+ confirmIcon: { default: () => Y.CLOSE_CIRCLE_OUTLINE },
803
+ isLoading: { type: Boolean }
804
+ },
805
+ emits: ["cancel", "confirm"],
806
+ setup(e, { emit: t }) {
807
+ const a = t;
808
+ return (n, r) => (u(), g("div", Bn, [
809
+ e.cancelLabel ? (u(), k(o(me), {
810
+ key: 0,
811
+ icon: e.cancelIcon,
812
+ label: e.cancelLabel,
813
+ title: e.cancelLabel,
814
+ variant: "OUTLINED",
815
+ "is-loading": e.isLoading,
816
+ size: "sm",
817
+ onClick: r[0] || (r[0] = () => a("cancel"))
818
+ }, null, 8, ["icon", "label", "title", "is-loading"])) : D("", !0),
819
+ e.confirmLabel ? (u(), k(o(me), {
820
+ key: 1,
821
+ icon: e.confirmIcon,
822
+ label: e.confirmLabel,
823
+ title: e.confirmLabel,
824
+ variant: "FLAT",
825
+ "is-loading": e.isLoading,
826
+ size: "sm",
827
+ onClick: r[1] || (r[1] = () => a("confirm"))
828
+ }, null, 8, ["icon", "label", "title", "is-loading"])) : D("", !0)
829
+ ]));
830
+ }
831
+ }), Wn = /* @__PURE__ */ W(Pn, [["__scopeId", "data-v-60461bd3"]]), Vn = ["title", "aria-label"], Un = { class: "av-rich-button__line" }, Xn = { class: "av-rich-button__left" }, Hn = /* @__PURE__ */ O({
797
832
  __name: "AvRichButton",
798
833
  props: {
799
834
  label: {},
@@ -805,7 +840,7 @@ const wn = { render: On }, Ln = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ S
805
840
  onClick: { type: Function }
806
841
  },
807
842
  setup(e) {
808
- return re((t) => ({
843
+ return te((t) => ({
809
844
  v4a373320: t.customPadding
810
845
  })), (t, a) => (u(), g("button", {
811
846
  class: "av-rich-button",
@@ -814,53 +849,53 @@ const wn = { render: On }, Ln = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ S
814
849
  onClick: a[0] || (a[0] = //@ts-ignore
815
850
  (...n) => e.onClick && e.onClick(...n))
816
851
  }, [
817
- y("div", Pn, [
818
- y("div", Wn, [
819
- e.iconLeft ? (u(), x(ae, {
852
+ y("div", Un, [
853
+ y("div", Xn, [
854
+ e.iconLeft ? (u(), k(ne, {
820
855
  key: 0,
821
856
  name: e.iconLeft,
822
857
  color: "var(--dark-background-primary1)",
823
858
  size: 1.5
824
- }, null, 8, ["name"])) : O("", !0),
859
+ }, null, 8, ["name"])) : D("", !0),
825
860
  B(t.$slots, "default", {}, void 0, !0)
826
861
  ]),
827
- e.iconRight ? (u(), x(ae, {
862
+ e.iconRight ? (u(), k(ne, {
828
863
  key: 0,
829
864
  name: e.iconRight,
830
865
  color: "var(--dark-background-primary1)",
831
866
  size: 1.5
832
- }, null, 8, ["name"])) : O("", !0)
867
+ }, null, 8, ["name"])) : D("", !0)
833
868
  ])
834
- ], 8, Bn));
869
+ ], 8, Vn));
835
870
  }
836
- }), Ol = /* @__PURE__ */ V(Vn, [["__scopeId", "data-v-f0871dc1"]]), Un = {
871
+ }), Sl = /* @__PURE__ */ W(Hn, [["__scopeId", "data-v-f0871dc1"]]), Zn = {
837
872
  key: 0,
838
873
  class: "messages-group",
839
874
  role: "alert"
840
- }, Xn = /* @__PURE__ */ S({
875
+ }, qn = /* @__PURE__ */ O({
841
876
  __name: "AvFileUploadAlert",
842
877
  props: {
843
878
  error: { default: void 0 },
844
879
  validMessage: { default: void 0 }
845
880
  },
846
881
  setup(e) {
847
- return (t, a) => e.error || e.validMessage ? (u(), g("div", Un, [
882
+ return (t, a) => e.error || e.validMessage ? (u(), g("div", Zn, [
848
883
  P(ja, {
849
- icon: e.error ? o(R).CLOSE_CIRCLE_OUTLINE : o(R).CHECK_CIRCLE_OUTLINE,
884
+ icon: e.error ? o(Y).CLOSE_CIRCLE_OUTLINE : o(Y).CHECK_CIRCLE_OUTLINE,
850
885
  "icon-color": e.error ? "var(--dark-background-error)" : "var(--dark-background-success)",
851
886
  text: e.error ? e.error : e.validMessage,
852
887
  "text-color": e.error ? "var(--dark-background-error)" : "var(--dark-background-success)",
853
888
  "typography-class": "caption-regular"
854
889
  }, null, 8, ["icon", "icon-color", "text", "text-color"])
855
- ])) : O("", !0);
890
+ ])) : D("", !0);
856
891
  }
857
- }), Hn = { class: "file-upload-content" }, Zn = { class: "left-content-container" }, qn = { class: "content-container" }, Yn = { key: 0 }, Rn = { class: "b2-bold" }, Fn = {
892
+ }), Yn = { class: "file-upload-content" }, Rn = { class: "left-content-container" }, Fn = { class: "content-container" }, Kn = { key: 0 }, Gn = { class: "b2-bold" }, Jn = {
858
893
  key: 1,
859
894
  class: "title-container"
860
- }, Kn = { class: "b2-regular" }, Gn = { class: "caption-light" }, Jn = {
895
+ }, _n = { class: "b2-regular" }, $n = { class: "caption-light" }, er = {
861
896
  key: 0,
862
897
  class: "right-icon-container"
863
- }, _n = ["id", "aria-describedby", "disabled", "aria-disabled", "accept"], $n = { class: "caption-light" }, er = /* @__PURE__ */ S({
898
+ }, tr = ["id", "aria-describedby", "disabled", "aria-disabled", "accept"], ar = { class: "caption-light" }, nr = /* @__PURE__ */ O({
864
899
  inheritAttrs: !1,
865
900
  __name: "AvFileUpload",
866
901
  props: {
@@ -882,7 +917,7 @@ const wn = { render: On }, Ln = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ S
882
917
  },
883
918
  emits: ["update:modelValue", "update:validMessage", "update:error", "change", "onDropAcceptTypeError"],
884
919
  setup(e, { emit: t }) {
885
- re((I) => ({
920
+ te((I) => ({
886
921
  v38bbeb48: I.maxWidth
887
922
  }));
888
923
  const a = t, n = p(() => Array.isArray(e.accept) ? e.accept.join(",") : e.accept), r = J(!1);
@@ -923,54 +958,54 @@ const wn = { render: On }, Ln = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ S
923
958
  onDragleave: s,
924
959
  onDrop: A
925
960
  }));
926
- function b(I) {
961
+ function h(I) {
927
962
  var m;
928
963
  I ? (a("update:modelValue", null), a("update:validMessage", null), a("update:error", null), a("change", [])) : (m = e.onDeleteFile) == null || m.call(e);
929
964
  }
930
965
  return (I, m) => (u(), g(_, null, [
931
- (u(), x(ue(o(d) ? "div" : "label"), ee(o(d) ? {} : o(f), {
966
+ (u(), k(ue(o(d) ? "div" : "label"), ee(o(d) ? {} : o(f), {
932
967
  class: o(d) ? "file-preview-container" : ""
933
968
  }), {
934
- default: Y(() => [
969
+ default: R(() => [
935
970
  y("div", {
936
971
  class: F(o(d) ? "" : "file-upload-container")
937
972
  }, [
938
- y("div", Hn, [
939
- y("div", Zn, [
973
+ y("div", Yn, [
974
+ y("div", Rn, [
940
975
  B(I.$slots, "left", {}, () => [
941
- P(ae, {
976
+ P(ne, {
942
977
  size: 2.5,
943
- name: o(R).ATTACHMENT_PLUS,
978
+ name: o(Y).ATTACHMENT_PLUS,
944
979
  color: "var(--icon)"
945
980
  }, null, 8, ["name"])
946
981
  ], !0)
947
982
  ]),
948
- y("div", qn, [
949
- o(d) ? (u(), g("div", Yn, [
950
- y("span", Rn, Z(e.fileName || e.modelValue.name), 1)
951
- ])) : (u(), g("div", Fn, [
952
- y("span", Kn, Z(e.title), 1),
953
- y("span", Gn, Z(e.description), 1)
983
+ y("div", Fn, [
984
+ o(d) ? (u(), g("div", Kn, [
985
+ y("span", Gn, Z(e.fileName || e.modelValue.name), 1)
986
+ ])) : (u(), g("div", Jn, [
987
+ y("span", _n, Z(e.title), 1),
988
+ y("span", $n, Z(e.description), 1)
954
989
  ])),
955
- P(Xn, {
990
+ P(qn, {
956
991
  "valid-message": e.validMessage,
957
992
  error: e.error
958
993
  }, null, 8, ["valid-message", "error"])
959
994
  ]),
960
- e.disabled ? O("", !0) : (u(), g("div", Jn, [
961
- o(d) ? (u(), x(Ce, {
995
+ e.disabled ? D("", !0) : (u(), g("div", er, [
996
+ o(d) ? (u(), k(me, {
962
997
  key: 0,
963
998
  label: e.deleteButtonLabel,
964
999
  theme: "SECONDARY",
965
- onClick: m[0] || (m[0] = () => b(e.modelValue))
966
- }, null, 8, ["label"])) : (u(), x(ae, {
1000
+ onClick: m[0] || (m[0] = () => h(e.modelValue))
1001
+ }, null, 8, ["label"])) : (u(), k(ne, {
967
1002
  key: 1,
968
1003
  size: 1.5,
969
- name: o(R).TRAY_UPLOAD,
1004
+ name: o(Y).TRAY_UPLOAD,
970
1005
  color: "var(--dark-background-primary1)"
971
1006
  }, null, 8, ["name"]))
972
1007
  ])),
973
- o(d) ? O("", !0) : (u(), g("input", ee({
1008
+ o(d) ? D("", !0) : (u(), g("input", ee({
974
1009
  key: 1,
975
1010
  id: e.id,
976
1011
  class: "fr-upload",
@@ -981,27 +1016,27 @@ const wn = { render: On }, Ln = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ S
981
1016
  "aria-disabled": e.disabled,
982
1017
  accept: o(n),
983
1018
  onChange: m[1] || (m[1] = (C) => c(C))
984
- }), null, 16, _n))
1019
+ }), null, 16, tr))
985
1020
  ])
986
1021
  ], 2)
987
1022
  ]),
988
1023
  _: 3
989
1024
  }, 16, ["class"])),
990
- y("span", $n, [
1025
+ y("span", ar, [
991
1026
  B(I.$slots, "hint", {}, void 0, !0)
992
1027
  ])
993
1028
  ], 64));
994
1029
  }
995
- }), wl = /* @__PURE__ */ V(er, [["__scopeId", "data-v-2c0c549f"]]), xt = 6048e5, tr = 864e5, vt = Symbol.for("constructDateFrom");
996
- function me(e, t) {
1030
+ }), kl = /* @__PURE__ */ W(nr, [["__scopeId", "data-v-2c0c549f"]]), xt = 6048e5, rr = 864e5, vt = Symbol.for("constructDateFrom");
1031
+ function ge(e, t) {
997
1032
  return typeof e == "function" ? e(t) : e && typeof e == "object" && vt in e ? e[vt](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
998
1033
  }
999
1034
  function le(e, t) {
1000
- return me(t || e, e);
1035
+ return ge(t || e, e);
1001
1036
  }
1002
- let ar = {};
1037
+ let Ar = {};
1003
1038
  function Fe() {
1004
- return ar;
1039
+ return Ar;
1005
1040
  }
1006
1041
  function ze(e, t) {
1007
1042
  var l, s, c, d;
@@ -1012,9 +1047,9 @@ function Ue(e, t) {
1012
1047
  return ze(e, { ...t, weekStartsOn: 1 });
1013
1048
  }
1014
1049
  function jt(e, t) {
1015
- const a = le(e, t == null ? void 0 : t.in), n = a.getFullYear(), r = me(a, 0);
1050
+ const a = le(e, t == null ? void 0 : t.in), n = a.getFullYear(), r = ge(a, 0);
1016
1051
  r.setFullYear(n + 1, 0, 4), r.setHours(0, 0, 0, 0);
1017
- const i = Ue(r), A = me(a, 0);
1052
+ const i = Ue(r), A = ge(a, 0);
1018
1053
  A.setFullYear(n, 0, 4), A.setHours(0, 0, 0, 0);
1019
1054
  const l = Ue(A);
1020
1055
  return a.getTime() >= i.getTime() ? n + 1 : a.getTime() >= l.getTime() ? n : n - 1;
@@ -1033,8 +1068,8 @@ function mt(e) {
1033
1068
  );
1034
1069
  return a.setUTCFullYear(t.getFullYear()), +e - +a;
1035
1070
  }
1036
- function nr(e, ...t) {
1037
- const a = me.bind(
1071
+ function ir(e, ...t) {
1072
+ const a = ge.bind(
1038
1073
  null,
1039
1074
  t.find((n) => typeof n == "object")
1040
1075
  );
@@ -1044,29 +1079,29 @@ function gt(e, t) {
1044
1079
  const a = le(e, t == null ? void 0 : t.in);
1045
1080
  return a.setHours(0, 0, 0, 0), a;
1046
1081
  }
1047
- function rr(e, t, a) {
1048
- const [n, r] = nr(
1082
+ function or(e, t, a) {
1083
+ const [n, r] = ir(
1049
1084
  a == null ? void 0 : a.in,
1050
1085
  e,
1051
1086
  t
1052
1087
  ), i = gt(n), A = gt(r), l = +i - mt(i), s = +A - mt(A);
1053
- return Math.round((l - s) / tr);
1088
+ return Math.round((l - s) / rr);
1054
1089
  }
1055
- function Ar(e, t) {
1056
- const a = jt(e, t), n = me(e, 0);
1090
+ function lr(e, t) {
1091
+ const a = jt(e, t), n = ge(e, 0);
1057
1092
  return n.setFullYear(a, 0, 4), n.setHours(0, 0, 0, 0), Ue(n);
1058
1093
  }
1059
- function ir(e) {
1094
+ function sr(e) {
1060
1095
  return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
1061
1096
  }
1062
1097
  function Bt(e) {
1063
- return !(!ir(e) && typeof e != "number" || isNaN(+le(e)));
1098
+ return !(!sr(e) && typeof e != "number" || isNaN(+le(e)));
1064
1099
  }
1065
- function or(e, t) {
1100
+ function cr(e, t) {
1066
1101
  const a = le(e, t == null ? void 0 : t.in);
1067
1102
  return a.setFullYear(a.getFullYear(), 0, 1), a.setHours(0, 0, 0, 0), a;
1068
1103
  }
1069
- const lr = {
1104
+ const ur = {
1070
1105
  lessThanXSeconds: {
1071
1106
  one: "less than a second",
1072
1107
  other: "less than {{count}} seconds"
@@ -1128,9 +1163,9 @@ const lr = {
1128
1163
  one: "almost 1 year",
1129
1164
  other: "almost {{count}} years"
1130
1165
  }
1131
- }, sr = (e, t, a) => {
1166
+ }, dr = (e, t, a) => {
1132
1167
  let n;
1133
- const r = lr[e];
1168
+ const r = ur[e];
1134
1169
  return typeof r == "string" ? n = r : t === 1 ? n = r.one : n = r.other.replace("{{count}}", t.toString()), a != null && a.addSuffix ? a.comparison && a.comparison > 0 ? "in " + n : n + " ago" : n;
1135
1170
  };
1136
1171
  function _e(e) {
@@ -1139,42 +1174,42 @@ function _e(e) {
1139
1174
  return e.formats[a] || e.formats[e.defaultWidth];
1140
1175
  };
1141
1176
  }
1142
- const cr = {
1177
+ const fr = {
1143
1178
  full: "EEEE, MMMM do, y",
1144
1179
  long: "MMMM do, y",
1145
1180
  medium: "MMM d, y",
1146
1181
  short: "MM/dd/yyyy"
1147
- }, ur = {
1182
+ }, vr = {
1148
1183
  full: "h:mm:ss a zzzz",
1149
1184
  long: "h:mm:ss a z",
1150
1185
  medium: "h:mm:ss a",
1151
1186
  short: "h:mm a"
1152
- }, dr = {
1187
+ }, mr = {
1153
1188
  full: "{{date}} 'at' {{time}}",
1154
1189
  long: "{{date}} 'at' {{time}}",
1155
1190
  medium: "{{date}}, {{time}}",
1156
1191
  short: "{{date}}, {{time}}"
1157
- }, fr = {
1192
+ }, gr = {
1158
1193
  date: _e({
1159
- formats: cr,
1194
+ formats: fr,
1160
1195
  defaultWidth: "full"
1161
1196
  }),
1162
1197
  time: _e({
1163
- formats: ur,
1198
+ formats: vr,
1164
1199
  defaultWidth: "full"
1165
1200
  }),
1166
1201
  dateTime: _e({
1167
- formats: dr,
1202
+ formats: mr,
1168
1203
  defaultWidth: "full"
1169
1204
  })
1170
- }, vr = {
1205
+ }, Ir = {
1171
1206
  lastWeek: "'last' eeee 'at' p",
1172
1207
  yesterday: "'yesterday at' p",
1173
1208
  today: "'today at' p",
1174
1209
  tomorrow: "'tomorrow at' p",
1175
1210
  nextWeek: "eeee 'at' p",
1176
1211
  other: "P"
1177
- }, mr = (e, t, a, n) => vr[e];
1212
+ }, hr = (e, t, a, n) => Ir[e];
1178
1213
  function Qe(e) {
1179
1214
  return (t, a) => {
1180
1215
  const n = a != null && a.context ? String(a.context) : "standalone";
@@ -1190,15 +1225,15 @@ function Qe(e) {
1190
1225
  return r[i];
1191
1226
  };
1192
1227
  }
1193
- const gr = {
1228
+ const br = {
1194
1229
  narrow: ["B", "A"],
1195
1230
  abbreviated: ["BC", "AD"],
1196
1231
  wide: ["Before Christ", "Anno Domini"]
1197
- }, Ir = {
1232
+ }, Cr = {
1198
1233
  narrow: ["1", "2", "3", "4"],
1199
1234
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
1200
1235
  wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
1201
- }, hr = {
1236
+ }, yr = {
1202
1237
  narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
1203
1238
  abbreviated: [
1204
1239
  "Jan",
@@ -1228,7 +1263,7 @@ const gr = {
1228
1263
  "November",
1229
1264
  "December"
1230
1265
  ]
1231
- }, br = {
1266
+ }, Er = {
1232
1267
  narrow: ["S", "M", "T", "W", "T", "F", "S"],
1233
1268
  short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
1234
1269
  abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
@@ -1241,7 +1276,7 @@ const gr = {
1241
1276
  "Friday",
1242
1277
  "Saturday"
1243
1278
  ]
1244
- }, Cr = {
1279
+ }, Mr = {
1245
1280
  narrow: {
1246
1281
  am: "a",
1247
1282
  pm: "p",
@@ -1272,7 +1307,7 @@ const gr = {
1272
1307
  evening: "evening",
1273
1308
  night: "night"
1274
1309
  }
1275
- }, yr = {
1310
+ }, pr = {
1276
1311
  narrow: {
1277
1312
  am: "a",
1278
1313
  pm: "p",
@@ -1303,7 +1338,7 @@ const gr = {
1303
1338
  evening: "in the evening",
1304
1339
  night: "at night"
1305
1340
  }
1306
- }, Er = (e, t) => {
1341
+ }, Nr = (e, t) => {
1307
1342
  const a = Number(e), n = a % 100;
1308
1343
  if (n > 20 || n < 10)
1309
1344
  switch (n % 10) {
@@ -1315,29 +1350,29 @@ const gr = {
1315
1350
  return a + "rd";
1316
1351
  }
1317
1352
  return a + "th";
1318
- }, Mr = {
1319
- ordinalNumber: Er,
1353
+ }, Tr = {
1354
+ ordinalNumber: Nr,
1320
1355
  era: Qe({
1321
- values: gr,
1356
+ values: br,
1322
1357
  defaultWidth: "wide"
1323
1358
  }),
1324
1359
  quarter: Qe({
1325
- values: Ir,
1360
+ values: Cr,
1326
1361
  defaultWidth: "wide",
1327
1362
  argumentCallback: (e) => e - 1
1328
1363
  }),
1329
1364
  month: Qe({
1330
- values: hr,
1365
+ values: yr,
1331
1366
  defaultWidth: "wide"
1332
1367
  }),
1333
1368
  day: Qe({
1334
- values: br,
1369
+ values: Er,
1335
1370
  defaultWidth: "wide"
1336
1371
  }),
1337
1372
  dayPeriod: Qe({
1338
- values: Cr,
1373
+ values: Mr,
1339
1374
  defaultWidth: "wide",
1340
- formattingValues: yr,
1375
+ formattingValues: pr,
1341
1376
  defaultFormattingWidth: "wide"
1342
1377
  })
1343
1378
  };
@@ -1346,9 +1381,9 @@ function De(e) {
1346
1381
  const n = a.width, r = n && e.matchPatterns[n] || e.matchPatterns[e.defaultMatchWidth], i = t.match(r);
1347
1382
  if (!i)
1348
1383
  return null;
1349
- const A = i[0], l = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], s = Array.isArray(l) ? Nr(l, (f) => f.test(A)) : (
1384
+ const A = i[0], l = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], s = Array.isArray(l) ? Dr(l, (f) => f.test(A)) : (
1350
1385
  // [TODO] -- I challenge you to fix the type
1351
- pr(l, (f) => f.test(A))
1386
+ Qr(l, (f) => f.test(A))
1352
1387
  );
1353
1388
  let c;
1354
1389
  c = e.valueCallback ? e.valueCallback(s) : s, c = a.valueCallback ? (
@@ -1359,17 +1394,17 @@ function De(e) {
1359
1394
  return { value: c, rest: d };
1360
1395
  };
1361
1396
  }
1362
- function pr(e, t) {
1397
+ function Qr(e, t) {
1363
1398
  for (const a in e)
1364
1399
  if (Object.prototype.hasOwnProperty.call(e, a) && t(e[a]))
1365
1400
  return a;
1366
1401
  }
1367
- function Nr(e, t) {
1402
+ function Dr(e, t) {
1368
1403
  for (let a = 0; a < e.length; a++)
1369
1404
  if (t(e[a]))
1370
1405
  return a;
1371
1406
  }
1372
- function Tr(e) {
1407
+ function Lr(e) {
1373
1408
  return (t, a = {}) => {
1374
1409
  const n = t.match(e.matchPattern);
1375
1410
  if (!n) return null;
@@ -1381,23 +1416,23 @@ function Tr(e) {
1381
1416
  return { value: A, rest: l };
1382
1417
  };
1383
1418
  }
1384
- const Qr = /^(\d+)(th|st|nd|rd)?/i, Dr = /\d+/i, Or = {
1419
+ const Or = /^(\d+)(th|st|nd|rd)?/i, wr = /\d+/i, Sr = {
1385
1420
  narrow: /^(b|a)/i,
1386
1421
  abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
1387
1422
  wide: /^(before christ|before common era|anno domini|common era)/i
1388
- }, wr = {
1423
+ }, kr = {
1389
1424
  any: [/^b/i, /^(a|c)/i]
1390
- }, Lr = {
1425
+ }, zr = {
1391
1426
  narrow: /^[1234]/i,
1392
1427
  abbreviated: /^q[1234]/i,
1393
1428
  wide: /^[1234](th|st|nd|rd)? quarter/i
1394
- }, Sr = {
1429
+ }, xr = {
1395
1430
  any: [/1/i, /2/i, /3/i, /4/i]
1396
- }, kr = {
1431
+ }, jr = {
1397
1432
  narrow: /^[jfmasond]/i,
1398
1433
  abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
1399
1434
  wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
1400
- }, zr = {
1435
+ }, Br = {
1401
1436
  narrow: [
1402
1437
  /^j/i,
1403
1438
  /^f/i,
@@ -1426,18 +1461,18 @@ const Qr = /^(\d+)(th|st|nd|rd)?/i, Dr = /\d+/i, Or = {
1426
1461
  /^n/i,
1427
1462
  /^d/i
1428
1463
  ]
1429
- }, xr = {
1464
+ }, Pr = {
1430
1465
  narrow: /^[smtwf]/i,
1431
1466
  short: /^(su|mo|tu|we|th|fr|sa)/i,
1432
1467
  abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
1433
1468
  wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
1434
- }, jr = {
1469
+ }, Wr = {
1435
1470
  narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
1436
1471
  any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
1437
- }, Br = {
1472
+ }, Vr = {
1438
1473
  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
1439
1474
  any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
1440
- }, Pr = {
1475
+ }, Ur = {
1441
1476
  any: {
1442
1477
  am: /^a/i,
1443
1478
  pm: /^p/i,
@@ -1448,79 +1483,79 @@ const Qr = /^(\d+)(th|st|nd|rd)?/i, Dr = /\d+/i, Or = {
1448
1483
  evening: /evening/i,
1449
1484
  night: /night/i
1450
1485
  }
1451
- }, Wr = {
1452
- ordinalNumber: Tr({
1453
- matchPattern: Qr,
1454
- parsePattern: Dr,
1486
+ }, Xr = {
1487
+ ordinalNumber: Lr({
1488
+ matchPattern: Or,
1489
+ parsePattern: wr,
1455
1490
  valueCallback: (e) => parseInt(e, 10)
1456
1491
  }),
1457
1492
  era: De({
1458
- matchPatterns: Or,
1493
+ matchPatterns: Sr,
1459
1494
  defaultMatchWidth: "wide",
1460
- parsePatterns: wr,
1495
+ parsePatterns: kr,
1461
1496
  defaultParseWidth: "any"
1462
1497
  }),
1463
1498
  quarter: De({
1464
- matchPatterns: Lr,
1499
+ matchPatterns: zr,
1465
1500
  defaultMatchWidth: "wide",
1466
- parsePatterns: Sr,
1501
+ parsePatterns: xr,
1467
1502
  defaultParseWidth: "any",
1468
1503
  valueCallback: (e) => e + 1
1469
1504
  }),
1470
1505
  month: De({
1471
- matchPatterns: kr,
1506
+ matchPatterns: jr,
1472
1507
  defaultMatchWidth: "wide",
1473
- parsePatterns: zr,
1508
+ parsePatterns: Br,
1474
1509
  defaultParseWidth: "any"
1475
1510
  }),
1476
1511
  day: De({
1477
- matchPatterns: xr,
1512
+ matchPatterns: Pr,
1478
1513
  defaultMatchWidth: "wide",
1479
- parsePatterns: jr,
1514
+ parsePatterns: Wr,
1480
1515
  defaultParseWidth: "any"
1481
1516
  }),
1482
1517
  dayPeriod: De({
1483
- matchPatterns: Br,
1518
+ matchPatterns: Vr,
1484
1519
  defaultMatchWidth: "any",
1485
- parsePatterns: Pr,
1520
+ parsePatterns: Ur,
1486
1521
  defaultParseWidth: "any"
1487
1522
  })
1488
- }, Vr = {
1523
+ }, Hr = {
1489
1524
  code: "en-US",
1490
- formatDistance: sr,
1491
- formatLong: fr,
1492
- formatRelative: mr,
1493
- localize: Mr,
1494
- match: Wr,
1525
+ formatDistance: dr,
1526
+ formatLong: gr,
1527
+ formatRelative: hr,
1528
+ localize: Tr,
1529
+ match: Xr,
1495
1530
  options: {
1496
1531
  weekStartsOn: 0,
1497
1532
  firstWeekContainsDate: 1
1498
1533
  }
1499
1534
  };
1500
- function Ur(e, t) {
1535
+ function Zr(e, t) {
1501
1536
  const a = le(e, t == null ? void 0 : t.in);
1502
- return rr(a, or(a)) + 1;
1537
+ return or(a, cr(a)) + 1;
1503
1538
  }
1504
- function Xr(e, t) {
1505
- const a = le(e, t == null ? void 0 : t.in), n = +Ue(a) - +Ar(a);
1539
+ function qr(e, t) {
1540
+ const a = le(e, t == null ? void 0 : t.in), n = +Ue(a) - +lr(a);
1506
1541
  return Math.round(n / xt) + 1;
1507
1542
  }
1508
1543
  function Pt(e, t) {
1509
- var d, f, b, I;
1510
- const a = le(e, t == null ? void 0 : t.in), n = a.getFullYear(), r = Fe(), i = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((f = (d = t == null ? void 0 : t.locale) == null ? void 0 : d.options) == null ? void 0 : f.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((I = (b = r.locale) == null ? void 0 : b.options) == null ? void 0 : I.firstWeekContainsDate) ?? 1, A = me((t == null ? void 0 : t.in) || e, 0);
1544
+ var d, f, h, I;
1545
+ const a = le(e, t == null ? void 0 : t.in), n = a.getFullYear(), r = Fe(), i = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((f = (d = t == null ? void 0 : t.locale) == null ? void 0 : d.options) == null ? void 0 : f.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((I = (h = r.locale) == null ? void 0 : h.options) == null ? void 0 : I.firstWeekContainsDate) ?? 1, A = ge((t == null ? void 0 : t.in) || e, 0);
1511
1546
  A.setFullYear(n + 1, 0, i), A.setHours(0, 0, 0, 0);
1512
- const l = ze(A, t), s = me((t == null ? void 0 : t.in) || e, 0);
1547
+ const l = ze(A, t), s = ge((t == null ? void 0 : t.in) || e, 0);
1513
1548
  s.setFullYear(n, 0, i), s.setHours(0, 0, 0, 0);
1514
1549
  const c = ze(s, t);
1515
1550
  return +a >= +l ? n + 1 : +a >= +c ? n : n - 1;
1516
1551
  }
1517
- function Hr(e, t) {
1552
+ function Yr(e, t) {
1518
1553
  var l, s, c, d;
1519
- const a = Fe(), n = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((s = (l = t == null ? void 0 : t.locale) == null ? void 0 : l.options) == null ? void 0 : s.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((d = (c = a.locale) == null ? void 0 : c.options) == null ? void 0 : d.firstWeekContainsDate) ?? 1, r = Pt(e, t), i = me((t == null ? void 0 : t.in) || e, 0);
1554
+ const a = Fe(), n = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((s = (l = t == null ? void 0 : t.locale) == null ? void 0 : l.options) == null ? void 0 : s.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((d = (c = a.locale) == null ? void 0 : c.options) == null ? void 0 : d.firstWeekContainsDate) ?? 1, r = Pt(e, t), i = ge((t == null ? void 0 : t.in) || e, 0);
1520
1555
  return i.setFullYear(r, 0, n), i.setHours(0, 0, 0, 0), ze(i, t);
1521
1556
  }
1522
- function Zr(e, t) {
1523
- const a = le(e, t == null ? void 0 : t.in), n = +ze(a, t) - +Hr(a, t);
1557
+ function Rr(e, t) {
1558
+ const a = le(e, t == null ? void 0 : t.in), n = +ze(a, t) - +Yr(a, t);
1524
1559
  return Math.round(n / xt) + 1;
1525
1560
  }
1526
1561
  function H(e, t) {
@@ -1771,12 +1806,12 @@ const fe = {
1771
1806
  },
1772
1807
  // Local week of year
1773
1808
  w: function(e, t, a, n) {
1774
- const r = Zr(e, n);
1809
+ const r = Rr(e, n);
1775
1810
  return t === "wo" ? a.ordinalNumber(r, { unit: "week" }) : H(r, t.length);
1776
1811
  },
1777
1812
  // ISO week of year
1778
1813
  I: function(e, t, a) {
1779
- const n = Xr(e);
1814
+ const n = qr(e);
1780
1815
  return t === "Io" ? a.ordinalNumber(n, { unit: "week" }) : H(n, t.length);
1781
1816
  },
1782
1817
  // Day of the month
@@ -1785,7 +1820,7 @@ const fe = {
1785
1820
  },
1786
1821
  // Day of year
1787
1822
  D: function(e, t, a) {
1788
- const n = Ur(e);
1823
+ const n = Zr(e);
1789
1824
  return t === "Do" ? a.ordinalNumber(n, { unit: "dayOfYear" }) : H(n, t.length);
1790
1825
  },
1791
1826
  // Day of week
@@ -2069,7 +2104,7 @@ const fe = {
2069
2104
  // so this token always has the same output as `XX`
2070
2105
  case "XXXX":
2071
2106
  case "XX":
2072
- return Ie(n);
2107
+ return he(n);
2073
2108
  // Hours, minutes and optional seconds with `:` delimiter
2074
2109
  // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
2075
2110
  // so this token always has the same output as `XXX`
@@ -2077,7 +2112,7 @@ const fe = {
2077
2112
  case "XXX":
2078
2113
  // Hours and minutes with `:` delimiter
2079
2114
  default:
2080
- return Ie(n, ":");
2115
+ return he(n, ":");
2081
2116
  }
2082
2117
  },
2083
2118
  // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
@@ -2092,7 +2127,7 @@ const fe = {
2092
2127
  // so this token always has the same output as `xx`
2093
2128
  case "xxxx":
2094
2129
  case "xx":
2095
- return Ie(n);
2130
+ return he(n);
2096
2131
  // Hours, minutes and optional seconds with `:` delimiter
2097
2132
  // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
2098
2133
  // so this token always has the same output as `xxx`
@@ -2100,7 +2135,7 @@ const fe = {
2100
2135
  case "xxx":
2101
2136
  // Hours and minutes with `:` delimiter
2102
2137
  default:
2103
- return Ie(n, ":");
2138
+ return he(n, ":");
2104
2139
  }
2105
2140
  },
2106
2141
  // Timezone (GMT)
@@ -2115,7 +2150,7 @@ const fe = {
2115
2150
  // Long
2116
2151
  case "OOOO":
2117
2152
  default:
2118
- return "GMT" + Ie(n, ":");
2153
+ return "GMT" + he(n, ":");
2119
2154
  }
2120
2155
  },
2121
2156
  // Timezone (specific non-location)
@@ -2130,7 +2165,7 @@ const fe = {
2130
2165
  // Long
2131
2166
  case "zzzz":
2132
2167
  default:
2133
- return "GMT" + Ie(n, ":");
2168
+ return "GMT" + he(n, ":");
2134
2169
  }
2135
2170
  },
2136
2171
  // Seconds timestamp
@@ -2148,9 +2183,9 @@ function ht(e, t = "") {
2148
2183
  return i === 0 ? a + String(r) : a + String(r) + t + H(i, 2);
2149
2184
  }
2150
2185
  function bt(e, t) {
2151
- return e % 60 === 0 ? (e > 0 ? "-" : "+") + H(Math.abs(e) / 60, 2) : Ie(e, t);
2186
+ return e % 60 === 0 ? (e > 0 ? "-" : "+") + H(Math.abs(e) / 60, 2) : he(e, t);
2152
2187
  }
2153
- function Ie(e, t = "") {
2188
+ function he(e, t = "") {
2154
2189
  const a = e > 0 ? "-" : "+", n = Math.abs(e), r = H(Math.trunc(n / 60), 2), i = H(n % 60, 2);
2155
2190
  return a + r + t + i;
2156
2191
  }
@@ -2178,7 +2213,7 @@ const Ct = (e, t) => {
2178
2213
  default:
2179
2214
  return t.time({ width: "full" });
2180
2215
  }
2181
- }, qr = (e, t) => {
2216
+ }, Fr = (e, t) => {
2182
2217
  const a = e.match(/(P+)(p+)?/) || [], n = a[1], r = a[2];
2183
2218
  if (!r)
2184
2219
  return Ct(e, t);
@@ -2199,46 +2234,46 @@ const Ct = (e, t) => {
2199
2234
  break;
2200
2235
  }
2201
2236
  return i.replace("{{date}}", Ct(n, t)).replace("{{time}}", Wt(r, t));
2202
- }, Yr = {
2237
+ }, Kr = {
2203
2238
  p: Wt,
2204
- P: qr
2205
- }, Rr = /^D+$/, Fr = /^Y+$/, Kr = ["D", "DD", "YY", "YYYY"];
2206
- function Gr(e) {
2207
- return Rr.test(e);
2239
+ P: Fr
2240
+ }, Gr = /^D+$/, Jr = /^Y+$/, _r = ["D", "DD", "YY", "YYYY"];
2241
+ function $r(e) {
2242
+ return Gr.test(e);
2208
2243
  }
2209
- function Jr(e) {
2210
- return Fr.test(e);
2244
+ function eA(e) {
2245
+ return Jr.test(e);
2211
2246
  }
2212
- function _r(e, t, a) {
2213
- const n = $r(e, t, a);
2214
- if (console.warn(n), Kr.includes(e)) throw new RangeError(n);
2247
+ function tA(e, t, a) {
2248
+ const n = aA(e, t, a);
2249
+ if (console.warn(n), _r.includes(e)) throw new RangeError(n);
2215
2250
  }
2216
- function $r(e, t, a) {
2251
+ function aA(e, t, a) {
2217
2252
  const n = e[0] === "Y" ? "years" : "days of the month";
2218
2253
  return `Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${n} to the input \`${a}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
2219
2254
  }
2220
- const eA = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, tA = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, aA = /^'([^]*?)'?$/, nA = /''/g, rA = /[a-zA-Z]/;
2221
- function AA(e, t, a) {
2222
- var d, f, b, I;
2223
- const n = Fe(), r = n.locale ?? Vr, i = n.firstWeekContainsDate ?? ((f = (d = n.locale) == null ? void 0 : d.options) == null ? void 0 : f.firstWeekContainsDate) ?? 1, A = n.weekStartsOn ?? ((I = (b = n.locale) == null ? void 0 : b.options) == null ? void 0 : I.weekStartsOn) ?? 0, l = le(e, a == null ? void 0 : a.in);
2255
+ const nA = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, rA = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, AA = /^'([^]*?)'?$/, iA = /''/g, oA = /[a-zA-Z]/;
2256
+ function lA(e, t, a) {
2257
+ var d, f, h, I;
2258
+ const n = Fe(), r = n.locale ?? Hr, i = n.firstWeekContainsDate ?? ((f = (d = n.locale) == null ? void 0 : d.options) == null ? void 0 : f.firstWeekContainsDate) ?? 1, A = n.weekStartsOn ?? ((I = (h = n.locale) == null ? void 0 : h.options) == null ? void 0 : I.weekStartsOn) ?? 0, l = le(e, a == null ? void 0 : a.in);
2224
2259
  if (!Bt(l))
2225
2260
  throw new RangeError("Invalid time value");
2226
- let s = t.match(tA).map((m) => {
2261
+ let s = t.match(rA).map((m) => {
2227
2262
  const C = m[0];
2228
2263
  if (C === "p" || C === "P") {
2229
- const M = Yr[C];
2264
+ const M = Kr[C];
2230
2265
  return M(m, r.formatLong);
2231
2266
  }
2232
2267
  return m;
2233
- }).join("").match(eA).map((m) => {
2268
+ }).join("").match(nA).map((m) => {
2234
2269
  if (m === "''")
2235
2270
  return { isToken: !1, value: "'" };
2236
2271
  const C = m[0];
2237
2272
  if (C === "'")
2238
- return { isToken: !1, value: iA(m) };
2273
+ return { isToken: !1, value: sA(m) };
2239
2274
  if (It[C])
2240
2275
  return { isToken: !0, value: m };
2241
- if (C.match(rA))
2276
+ if (C.match(oA))
2242
2277
  throw new RangeError(
2243
2278
  "Format string contains an unescaped latin alphabet character `" + C + "`"
2244
2279
  );
@@ -2253,29 +2288,29 @@ function AA(e, t, a) {
2253
2288
  return s.map((m) => {
2254
2289
  if (!m.isToken) return m.value;
2255
2290
  const C = m.value;
2256
- (Jr(C) || Gr(C)) && _r(C, t, String(e));
2291
+ (eA(C) || $r(C)) && tA(C, t, String(e));
2257
2292
  const M = It[C[0]];
2258
2293
  return M(l, C, r.localize, c);
2259
2294
  }).join("");
2260
2295
  }
2261
- function iA(e) {
2262
- const t = e.match(aA);
2263
- return t ? t[1].replace(nA, "'") : e;
2296
+ function sA(e) {
2297
+ const t = e.match(AA);
2298
+ return t ? t[1].replace(iA, "'") : e;
2264
2299
  }
2265
- const oA = { class: "av-input__wrapper" }, lA = {
2300
+ const cA = { class: "av-input__wrapper" }, uA = {
2266
2301
  key: 0,
2267
2302
  class: "av-input__prefix"
2268
- }, sA = {
2303
+ }, dA = {
2269
2304
  key: 0,
2270
2305
  class: "caption-light"
2271
- }, cA = {
2306
+ }, fA = {
2272
2307
  key: 0,
2273
2308
  class: "av-input__error",
2274
2309
  role: "alert"
2275
- }, uA = {
2310
+ }, vA = {
2276
2311
  key: 1,
2277
2312
  class: "av-input__valid"
2278
- }, dA = /* @__PURE__ */ S({
2313
+ }, mA = /* @__PURE__ */ O({
2279
2314
  __name: "AvInput",
2280
2315
  props: {
2281
2316
  id: {},
@@ -2297,25 +2332,29 @@ const oA = { class: "av-input__wrapper" }, lA = {
2297
2332
  minlength: {},
2298
2333
  errorMessage: {},
2299
2334
  validMessage: {},
2300
- prefixIcon: {}
2335
+ prefixIcon: {},
2336
+ width: {}
2301
2337
  },
2302
2338
  emits: ["update:modelValue"],
2303
2339
  setup(e, { emit: t }) {
2340
+ te((h) => ({
2341
+ bbb0de5c: h.width
2342
+ }));
2304
2343
  const a = e, n = t, r = ie(), i = p(() => a.errorMessage ? Array.isArray(a.errorMessage) ? a.errorMessage : [a.errorMessage] : []), A = p(() => a.validMessage ? Array.isArray(a.validMessage) ? a.validMessage : [a.validMessage] : []), l = p(() => a.id || `av-input-${crypto.randomUUID()}`), s = p(() => !!a.errorMessage), c = p(() => f(a.minDate)), d = p(() => f(a.maxDate));
2305
- function f(b) {
2306
- if (!(a.type !== "date" && a.type !== "datetime-local" || b === void 0 || !Bt(b)))
2307
- return AA(b, "yyyy-MM-dd");
2344
+ function f(h) {
2345
+ if (!(a.type !== "date" && a.type !== "datetime-local" || h === void 0 || !Bt(h)))
2346
+ return lA(h, "yyyy-MM-dd");
2308
2347
  }
2309
- return (b, I) => (u(), g("div", {
2348
+ return (h, I) => (u(), g("div", {
2310
2349
  class: F(["av-input", { "av-input--date": e.type === "date" }])
2311
2350
  }, [
2312
- y("div", oA, [
2313
- e.prefixIcon ? (u(), g("div", lA, [
2314
- P(ae, {
2351
+ y("div", cA, [
2352
+ e.prefixIcon ? (u(), g("div", uA, [
2353
+ P(ne, {
2315
2354
  name: e.prefixIcon,
2316
2355
  size: 1.2
2317
2356
  }, null, 8, ["name"])
2318
- ])) : O("", !0),
2357
+ ])) : D("", !0),
2319
2358
  P(o(ua), ee({
2320
2359
  id: o(l),
2321
2360
  "model-value": e.modelValue,
@@ -2334,48 +2373,48 @@ const oA = { class: "av-input__wrapper" }, lA = {
2334
2373
  required: e.required,
2335
2374
  maxlength: e.maxlength,
2336
2375
  minlength: e.minlength
2337
- }, b.$attrs, {
2376
+ }, h.$attrs, {
2338
2377
  max: o(d),
2339
2378
  min: o(c),
2340
2379
  "onUpdate:modelValue": I[0] || (I[0] = (m) => n("update:modelValue", m))
2341
- }), Le({ _: 2 }, [
2380
+ }), we({ _: 2 }, [
2342
2381
  r.requiredTip ? {
2343
2382
  name: "required-tip",
2344
- fn: Y(() => [
2345
- (u(), x(ue(r.requiredTip)))
2383
+ fn: R(() => [
2384
+ (u(), k(ue(r.requiredTip)))
2346
2385
  ]),
2347
2386
  key: "0"
2348
2387
  } : void 0
2349
2388
  ]), 1040, ["id", "model-value", "label", "label-visible", "label-class", "hint", "description-id", "is-invalid", "is-valid", "is-textarea", "placeholder", "type", "disabled", "required", "maxlength", "minlength", "max", "min"]),
2350
- B(b.$slots, "customCaptions", {
2389
+ B(h.$slots, "customCaptions", {
2351
2390
  currentValue: e.modelValue,
2352
2391
  maxlength: e.maxlength
2353
2392
  }, () => {
2354
2393
  var m;
2355
2394
  return [
2356
- e.maxlength ? (u(), g("span", sA, Z((m = e.modelValue) == null ? void 0 : m.toString().length) + " / " + Z(e.maxlength), 1)) : O("", !0)
2395
+ e.maxlength ? (u(), g("span", dA, Z((m = e.modelValue) == null ? void 0 : m.toString().length) + " / " + Z(e.maxlength), 1)) : D("", !0)
2357
2396
  ];
2358
2397
  }, !0)
2359
2398
  ]),
2360
- o(i).length > 0 ? (u(), g("div", cA, [
2361
- (u(!0), g(_, null, ne(o(i), (m, C) => (u(), g("div", {
2399
+ o(i).length > 0 ? (u(), g("div", fA, [
2400
+ (u(!0), g(_, null, re(o(i), (m, C) => (u(), g("div", {
2362
2401
  key: C,
2363
2402
  class: "av-input__error-message"
2364
2403
  }, Z(m), 1))), 128))
2365
- ])) : O("", !0),
2366
- o(A).length > 0 ? (u(), g("div", uA, [
2367
- (u(!0), g(_, null, ne(o(A), (m, C) => (u(), g("div", {
2404
+ ])) : D("", !0),
2405
+ o(A).length > 0 ? (u(), g("div", vA, [
2406
+ (u(!0), g(_, null, re(o(A), (m, C) => (u(), g("div", {
2368
2407
  key: C,
2369
2408
  class: "av-input__valid-message"
2370
2409
  }, Z(m), 1))), 128))
2371
- ])) : O("", !0)
2410
+ ])) : D("", !0)
2372
2411
  ], 2));
2373
2412
  }
2374
- }), fA = /* @__PURE__ */ V(dA, [["__scopeId", "data-v-0a8b3809"]]), Ll = {
2413
+ }), gA = /* @__PURE__ */ W(mA, [["__scopeId", "data-v-055da9a3"]]), zl = {
2375
2414
  name: "AvList",
2376
2415
  props: ["size"],
2377
2416
  template: '<div class="av-list"><slot /></div>'
2378
- }, vA = ["role", "aria-label", "aria-labelledby", "aria-describedby"], mA = /* @__PURE__ */ S({
2417
+ }, IA = ["role", "aria-label", "aria-labelledby", "aria-describedby"], hA = /* @__PURE__ */ O({
2379
2418
  __name: "AvList",
2380
2419
  props: {
2381
2420
  backgroundColor: { default: "transparent" },
@@ -2391,7 +2430,7 @@ const oA = { class: "av-input__wrapper" }, lA = {
2391
2430
  role: { default: "list" }
2392
2431
  },
2393
2432
  setup(e) {
2394
- re((r) => ({
2433
+ te((r) => ({
2395
2434
  v667a1c12: r.backgroundColor,
2396
2435
  v4da6b808: r.borderRadius,
2397
2436
  v61717933: r.padding,
@@ -2406,23 +2445,23 @@ const oA = { class: "av-input__wrapper" }, lA = {
2406
2445
  "aria-describedby": e.ariaDescribedby
2407
2446
  }, [
2408
2447
  B(r.$slots, "default", {}, void 0, !0)
2409
- ], 10, vA));
2448
+ ], 10, IA));
2410
2449
  }
2411
- }), Vt = /* @__PURE__ */ V(mA, [["__scopeId", "data-v-f74989f7"]]), Sl = {
2450
+ }), Vt = /* @__PURE__ */ W(hA, [["__scopeId", "data-v-f74989f7"]]), xl = {
2412
2451
  name: "AvListItem",
2413
2452
  props: ["clickable", "hoverBackgroundColor", "selected", "icon", "iconSize", "iconColor", "colorOnHover"],
2414
2453
  emits: ["click"],
2415
2454
  template: `<div class="av-list-item-stub" @click="$emit('click')"><slot /></div>`
2416
- }, gA = ["role"], IA = {
2455
+ }, bA = ["role"], CA = {
2417
2456
  key: 0,
2418
2457
  class: "av-list-item__icon"
2419
- }, hA = { class: "av-list-item__content" }, bA = {
2458
+ }, yA = { class: "av-list-item__content" }, EA = {
2420
2459
  key: 0,
2421
2460
  class: "av-list-item__title"
2422
- }, CA = {
2461
+ }, MA = {
2423
2462
  key: 1,
2424
2463
  class: "av-list-item__description"
2425
- }, yA = { key: 2 }, EA = /* @__PURE__ */ S({
2464
+ }, pA = { key: 2 }, NA = /* @__PURE__ */ O({
2426
2465
  __name: "AvListItem",
2427
2466
  props: {
2428
2467
  icon: {},
@@ -2447,7 +2486,7 @@ const oA = { class: "av-input__wrapper" }, lA = {
2447
2486
  role: { default: "listitem" }
2448
2487
  },
2449
2488
  setup(e) {
2450
- re((c) => ({
2489
+ te((c) => ({
2451
2490
  v2a637eba: c.colorOnHover,
2452
2491
  v09ecd263: c.color,
2453
2492
  v479455c7: c.descriptionColor,
@@ -2471,7 +2510,7 @@ const oA = { class: "av-input__wrapper" }, lA = {
2471
2510
  }
2472
2511
  const A = p(() => e.clickable ? "av-list-item--clickable" : ""), l = p(() => e.disabled ? "av-list-item--disabled" : ""), s = p(() => e.selected ? "av-list-item--selected" : "");
2473
2512
  return (c, d) => (u(), g("div", { role: e.role }, [
2474
- (u(), x(ue(o(a)), {
2513
+ (u(), k(ue(o(a)), {
2475
2514
  class: F(["av-list-item", [o(A), o(l), o(s)]]),
2476
2515
  tabindex: e.clickable && !e.disabled ? 0 : void 0,
2477
2516
  "aria-label": e.clickable ? o(n) : void 0,
@@ -2484,27 +2523,27 @@ const oA = { class: "av-input__wrapper" }, lA = {
2484
2523
  onClick: r,
2485
2524
  onKeydown: i
2486
2525
  }, {
2487
- default: Y(() => [
2488
- e.icon ? (u(), g("div", IA, [
2489
- P(ae, {
2526
+ default: R(() => [
2527
+ e.icon ? (u(), g("div", CA, [
2528
+ P(ne, {
2490
2529
  name: e.icon,
2491
2530
  color: e.iconColor ?? e.color,
2492
2531
  size: e.iconSize
2493
2532
  }, null, 8, ["name", "color", "size"])
2494
- ])) : O("", !0),
2495
- y("div", hA, [
2496
- e.title ? (u(), g("div", bA, Z(e.title), 1)) : O("", !0),
2497
- e.description ? (u(), g("div", CA, Z(e.description), 1)) : O("", !0),
2498
- t.default ? (u(), g("div", yA, [
2533
+ ])) : D("", !0),
2534
+ y("div", yA, [
2535
+ e.title ? (u(), g("div", EA, Z(e.title), 1)) : D("", !0),
2536
+ e.description ? (u(), g("div", MA, Z(e.description), 1)) : D("", !0),
2537
+ t.default ? (u(), g("div", pA, [
2499
2538
  B(c.$slots, "default", {}, void 0, !0)
2500
- ])) : O("", !0)
2539
+ ])) : D("", !0)
2501
2540
  ])
2502
2541
  ]),
2503
2542
  _: 3
2504
2543
  }, 40, ["class", "tabindex", "aria-label", "aria-describedby", "aria-disabled", "disabled", "href", "target", "rel"]))
2505
- ], 8, gA));
2544
+ ], 8, bA));
2506
2545
  }
2507
- }), Ut = /* @__PURE__ */ V(EA, [["__scopeId", "data-v-b9106d17"]]), MA = { class: "av-select-container" }, pA = /* @__PURE__ */ S({
2546
+ }), Ut = /* @__PURE__ */ W(NA, [["__scopeId", "data-v-b9106d17"]]), TA = { class: "av-select-container" }, QA = /* @__PURE__ */ O({
2508
2547
  __name: "AvTagPicker",
2509
2548
  props: {
2510
2549
  multiple: { type: Boolean },
@@ -2516,7 +2555,7 @@ const oA = { class: "av-input__wrapper" }, lA = {
2516
2555
  labelTypographyClass: { default: "b2-regular" }
2517
2556
  },
2518
2557
  setup(e) {
2519
- re((C) => ({
2558
+ te((C) => ({
2520
2559
  v68aa0dfa: o(n)
2521
2560
  }));
2522
2561
  const t = e, {
@@ -2534,13 +2573,13 @@ const oA = { class: "av-input__wrapper" }, lA = {
2534
2573
  function f(C) {
2535
2574
  return d.value.some((M) => M.value === C.value);
2536
2575
  }
2537
- function b(C) {
2576
+ function h(C) {
2538
2577
  A ? (f(C) ? d.value = d.value.filter(
2539
2578
  (T) => T.value !== C.value
2540
2579
  ) : d.value.push(C), l([...d.value])) : (d.value = [C], l(C));
2541
2580
  }
2542
2581
  function I(C) {
2543
- return f(C) ? R.CHECK : void 0;
2582
+ return f(C) ? Y.CHECK : void 0;
2544
2583
  }
2545
2584
  function m(C) {
2546
2585
  return f(C) && !A;
@@ -2549,12 +2588,12 @@ const oA = { class: "av-input__wrapper" }, lA = {
2549
2588
  d.value = c(C);
2550
2589
  }, { immediate: !0 }), (C, M) => {
2551
2590
  const T = da;
2552
- return u(), g("div", MA, [
2591
+ return u(), g("div", TA, [
2553
2592
  o(a) ? (u(), g("span", {
2554
2593
  key: 0,
2555
2594
  class: F(["av-select-label", [o(r)]])
2556
- }, Z(o(a)), 3)) : O("", !0),
2557
- (u(!0), g(_, null, ne(o(s), (Q) => (u(), g("div", {
2595
+ }, Z(o(a)), 3)) : D("", !0),
2596
+ (u(!0), g(_, null, re(o(s), (Q) => (u(), g("div", {
2558
2597
  key: Q.value,
2559
2598
  class: "tag-wrapper"
2560
2599
  }, [
@@ -2568,20 +2607,20 @@ const oA = { class: "av-input__wrapper" }, lA = {
2568
2607
  disabled: m(Q),
2569
2608
  selectable: "",
2570
2609
  selected: f(Q),
2571
- onSelect: () => b(Q)
2610
+ onSelect: () => h(Q)
2572
2611
  }, null, 8, ["class", "label", "icon", "disabled", "selected", "onSelect"])
2573
2612
  ]))), 128))
2574
2613
  ]);
2575
2614
  };
2576
2615
  }
2577
- }), NA = /* @__PURE__ */ V(pA, [["__scopeId", "data-v-b70ffc0f"]]);
2616
+ }), DA = /* @__PURE__ */ W(QA, [["__scopeId", "data-v-b70ffc0f"]]);
2578
2617
  var Xt = /* @__PURE__ */ ((e) => (e[e.FOUR = 4] = "FOUR", e[e.EIGHT = 8] = "EIGHT", e[e.TWELVE = 12] = "TWELVE", e))(Xt || {});
2579
- const kl = [
2618
+ const jl = [
2580
2619
  4,
2581
2620
  8,
2582
2621
  12
2583
2622
  /* TWELVE */
2584
- ], TA = { class: "pagination-size-picker-container" }, QA = /* @__PURE__ */ S({
2623
+ ], LA = { class: "pagination-size-picker-container" }, OA = /* @__PURE__ */ O({
2585
2624
  __name: "AvPageSizePicker",
2586
2625
  props: {
2587
2626
  label: {},
@@ -2596,8 +2635,8 @@ const kl = [
2596
2635
  label: e.pageSizeSelected.toString(),
2597
2636
  value: e.pageSizeSelected.toString()
2598
2637
  }));
2599
- return (n, r) => (u(), g("div", TA, [
2600
- P(NA, {
2638
+ return (n, r) => (u(), g("div", LA, [
2639
+ P(DA, {
2601
2640
  options: o(t),
2602
2641
  selected: o(a),
2603
2642
  "handle-select-change": e.handleSelectChange,
@@ -2608,7 +2647,7 @@ const kl = [
2608
2647
  }, null, 8, ["options", "selected", "handle-select-change", "label"])
2609
2648
  ]));
2610
2649
  }
2611
- }), zl = /* @__PURE__ */ V(QA, [["__scopeId", "data-v-d72fe5ab"]]), xl = {
2650
+ }), Bl = /* @__PURE__ */ W(OA, [["__scopeId", "data-v-d72fe5ab"]]), Pl = {
2612
2651
  name: "AvTagPicker",
2613
2652
  props: [
2614
2653
  "label",
@@ -2628,7 +2667,7 @@ const kl = [
2628
2667
  </button>
2629
2668
  </div>
2630
2669
  `
2631
- }, DA = /* @__PURE__ */ S({
2670
+ }, wA = /* @__PURE__ */ O({
2632
2671
  __name: "AvRadioButton",
2633
2672
  props: {
2634
2673
  value: { type: [String, Number, Boolean] },
@@ -2639,7 +2678,7 @@ const kl = [
2639
2678
  setup(e) {
2640
2679
  return (t, a) => B(t.$slots, "default");
2641
2680
  }
2642
- }), jl = /* @__PURE__ */ S({
2681
+ }), Wl = /* @__PURE__ */ O({
2643
2682
  __name: "AvRadioButtonSet",
2644
2683
  props: {
2645
2684
  name: {},
@@ -2657,7 +2696,7 @@ const kl = [
2657
2696
  setup(e, { expose: t, emit: a }) {
2658
2697
  const n = e, r = a, i = ie();
2659
2698
  function A(d) {
2660
- return d != null && typeof d == "object" && "type" in d && d.type === DA;
2699
+ return d != null && typeof d == "object" && "type" in d && d.type === wA;
2661
2700
  }
2662
2701
  function l(d) {
2663
2702
  return d ? d.flatMap((f) => !f || typeof f != "object" || !("type" in f) ? [] : f.type === _ && Array.isArray(f.children) ? l(f.children) : A(f) ? [f] : []) : [];
@@ -2670,24 +2709,24 @@ const kl = [
2670
2709
  c.value = d;
2671
2710
  }), ce(c, (d) => {
2672
2711
  d && r("update:modelValue", d);
2673
- }), t({ selected: c }), (d, f) => (u(), x(o(fa), ee(n, { "model-value": o(c) }), {
2674
- default: Y(() => [
2675
- (u(!0), g(_, null, ne(o(s), (b, I) => {
2712
+ }), t({ selected: c }), (d, f) => (u(), k(o(fa), ee(n, { "model-value": o(c) }), {
2713
+ default: R(() => [
2714
+ (u(!0), g(_, null, re(o(s), (h, I) => {
2676
2715
  var m, C;
2677
- return u(), x(o(va), {
2716
+ return u(), k(o(va), {
2678
2717
  key: I,
2679
2718
  modelValue: o(c),
2680
2719
  "onUpdate:modelValue": f[0] || (f[0] = (M) => At(c) ? c.value = M : null),
2681
- value: (m = b.props) == null ? void 0 : m.value,
2682
- disabled: ((C = b.props) == null ? void 0 : C.disabled) ?? n.disabled,
2720
+ value: (m = h.props) == null ? void 0 : m.value,
2721
+ disabled: ((C = h.props) == null ? void 0 : C.disabled) ?? n.disabled,
2683
2722
  small: n.small,
2684
2723
  inline: n.inline,
2685
2724
  name: n.name
2686
2725
  }, {
2687
- label: Y(() => {
2726
+ label: R(() => {
2688
2727
  var M;
2689
2728
  return [
2690
- (u(), x(ue((M = b.children) == null ? void 0 : M.default)))
2729
+ (u(), k(ue((M = h.children) == null ? void 0 : M.default)))
2691
2730
  ];
2692
2731
  }),
2693
2732
  _: 2
@@ -2697,7 +2736,7 @@ const kl = [
2697
2736
  _: 1
2698
2737
  }, 16, ["model-value"]));
2699
2738
  }
2700
- }), Bl = {
2739
+ }), Vl = {
2701
2740
  name: "AvAutocomplete",
2702
2741
  props: [
2703
2742
  "modelValue",
@@ -2725,9 +2764,9 @@ function lt() {
2725
2764
  function Zt(e) {
2726
2765
  return Ta() ? (Qa(e), !0) : !1;
2727
2766
  }
2728
- const OA = typeof window < "u" && typeof document < "u";
2767
+ const SA = typeof window < "u" && typeof document < "u";
2729
2768
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
2730
- const wA = (e) => e != null, LA = Object.prototype.toString, SA = (e) => LA.call(e) === "[object Object]", pe = () => {
2769
+ const kA = (e) => e != null, zA = Object.prototype.toString, xA = (e) => zA.call(e) === "[object Object]", pe = () => {
2731
2770
  };
2732
2771
  function qt(e, t) {
2733
2772
  function a(...n) {
@@ -2737,16 +2776,16 @@ function qt(e, t) {
2737
2776
  }
2738
2777
  return a;
2739
2778
  }
2740
- function kA(e, t = {}) {
2779
+ function jA(e, t = {}) {
2741
2780
  let a, n, r = pe;
2742
2781
  const i = (s) => {
2743
2782
  clearTimeout(s), r(), r = pe;
2744
2783
  };
2745
2784
  let A;
2746
2785
  return (s) => {
2747
- const c = te(e), d = te(t.maxWait);
2748
- return a && i(a), c <= 0 || d !== void 0 && d <= 0 ? (n && (i(n), n = void 0), Promise.resolve(s())) : new Promise((f, b) => {
2749
- r = t.rejectOnCancel ? b : f, A = s, d && !n && (n = setTimeout(() => {
2786
+ const c = ae(e), d = ae(t.maxWait);
2787
+ return a && i(a), c <= 0 || d !== void 0 && d <= 0 ? (n && (i(n), n = void 0), Promise.resolve(s())) : new Promise((f, h) => {
2788
+ r = t.rejectOnCancel ? h : f, A = s, d && !n && (n = setTimeout(() => {
2750
2789
  a && i(a), n = void 0, f(A());
2751
2790
  }, d)), a = setTimeout(() => {
2752
2791
  n && i(n), n = void 0, f(s());
@@ -2754,14 +2793,14 @@ function kA(e, t = {}) {
2754
2793
  });
2755
2794
  };
2756
2795
  }
2757
- function zA(...e) {
2796
+ function BA(...e) {
2758
2797
  let t = 0, a, n = !0, r = pe, i, A, l, s, c;
2759
2798
  !At(e[0]) && typeof e[0] == "object" ? { delay: A, trailing: l = !0, leading: s = !0, rejectOnCancel: c = !1 } = e[0] : [A, l = !0, s = !0, c = !1] = e;
2760
2799
  const d = () => {
2761
2800
  a && (clearTimeout(a), a = void 0, r(), r = pe);
2762
2801
  };
2763
- return (b) => {
2764
- const I = te(A), m = Date.now() - t, C = () => i = b();
2802
+ return (h) => {
2803
+ const I = ae(A), m = Date.now() - t, C = () => i = h();
2765
2804
  return d(), I <= 0 ? (t = Date.now(), C()) : (m > I && (s || !n) ? (t = Date.now(), C()) : l && (i = new Promise((M, T) => {
2766
2805
  r = c ? T : M, a = setTimeout(() => {
2767
2806
  t = Date.now(), n = !0, M(C()), d();
@@ -2772,27 +2811,27 @@ function zA(...e) {
2772
2811
  function We(e) {
2773
2812
  return Array.isArray(e) ? e : [e];
2774
2813
  }
2775
- function xA(e) {
2814
+ function PA(e) {
2776
2815
  return kt();
2777
2816
  }
2778
2817
  // @__NO_SIDE_EFFECTS__
2779
- function jA(e, t = 200, a = {}) {
2818
+ function WA(e, t = 200, a = {}) {
2780
2819
  return qt(
2781
- kA(t, a),
2820
+ jA(t, a),
2782
2821
  e
2783
2822
  );
2784
2823
  }
2785
2824
  // @__NO_SIDE_EFFECTS__
2786
- function BA(e, t = 200, a = !1, n = !0, r = !1) {
2825
+ function VA(e, t = 200, a = !1, n = !0, r = !1) {
2787
2826
  return qt(
2788
- zA(t, a, n, r),
2827
+ BA(t, a, n, r),
2789
2828
  e
2790
2829
  );
2791
2830
  }
2792
- function PA(e, t = !0, a) {
2793
- xA() ? xe(e, a) : t ? e() : Re(e);
2831
+ function UA(e, t = !0, a) {
2832
+ PA() ? xe(e, a) : t ? e() : Re(e);
2794
2833
  }
2795
- function WA(e, t, a) {
2834
+ function XA(e, t, a) {
2796
2835
  return ce(
2797
2836
  e,
2798
2837
  t,
@@ -2802,37 +2841,37 @@ function WA(e, t, a) {
2802
2841
  }
2803
2842
  );
2804
2843
  }
2805
- const st = OA ? window : void 0;
2844
+ const st = SA ? window : void 0;
2806
2845
  function ct(e) {
2807
2846
  var t;
2808
- const a = te(e);
2847
+ const a = ae(e);
2809
2848
  return (t = a == null ? void 0 : a.$el) != null ? t : a;
2810
2849
  }
2811
2850
  function yt(...e) {
2812
2851
  const t = [], a = () => {
2813
2852
  t.forEach((l) => l()), t.length = 0;
2814
2853
  }, n = (l, s, c, d) => (l.addEventListener(s, c, d), () => l.removeEventListener(s, c, d)), r = p(() => {
2815
- const l = We(te(e[0])).filter((s) => s != null);
2854
+ const l = We(ae(e[0])).filter((s) => s != null);
2816
2855
  return l.every((s) => typeof s != "string") ? l : void 0;
2817
- }), i = WA(
2856
+ }), i = XA(
2818
2857
  () => {
2819
2858
  var l, s;
2820
2859
  return [
2821
2860
  (s = (l = r.value) == null ? void 0 : l.map((c) => ct(c))) != null ? s : [st].filter((c) => c != null),
2822
- We(te(r.value ? e[1] : e[0])),
2861
+ We(ae(r.value ? e[1] : e[0])),
2823
2862
  We(o(r.value ? e[2] : e[1])),
2824
2863
  // @ts-expect-error - TypeScript gets the correct types, but somehow still complains
2825
- te(r.value ? e[3] : e[2])
2864
+ ae(r.value ? e[3] : e[2])
2826
2865
  ];
2827
2866
  },
2828
2867
  ([l, s, c, d]) => {
2829
2868
  if (a(), !(l != null && l.length) || !(s != null && s.length) || !(c != null && c.length))
2830
2869
  return;
2831
- const f = SA(d) ? { ...d } : d;
2870
+ const f = xA(d) ? { ...d } : d;
2832
2871
  t.push(
2833
2872
  ...l.flatMap(
2834
- (b) => s.flatMap(
2835
- (I) => c.map((m) => n(b, I, m, f))
2873
+ (h) => s.flatMap(
2874
+ (I) => c.map((m) => n(h, I, m, f))
2836
2875
  )
2837
2876
  )
2838
2877
  );
@@ -2844,29 +2883,29 @@ function yt(...e) {
2844
2883
  return Zt(a), A;
2845
2884
  }
2846
2885
  // @__NO_SIDE_EFFECTS__
2847
- function VA() {
2886
+ function HA() {
2848
2887
  const e = Pe(!1), t = kt();
2849
2888
  return t && xe(() => {
2850
2889
  e.value = !0;
2851
2890
  }, t), e;
2852
2891
  }
2853
2892
  // @__NO_SIDE_EFFECTS__
2854
- function UA(e) {
2855
- const t = /* @__PURE__ */ VA();
2893
+ function ZA(e) {
2894
+ const t = /* @__PURE__ */ HA();
2856
2895
  return p(() => (t.value, !!e()));
2857
2896
  }
2858
- function XA(e, t, a = {}) {
2897
+ function qA(e, t, a = {}) {
2859
2898
  const { window: n = st, ...r } = a;
2860
2899
  let i;
2861
- const A = /* @__PURE__ */ UA(() => n && "MutationObserver" in n), l = () => {
2900
+ const A = /* @__PURE__ */ ZA(() => n && "MutationObserver" in n), l = () => {
2862
2901
  i && (i.disconnect(), i = void 0);
2863
2902
  }, s = p(() => {
2864
- const b = te(e), I = We(b).map(ct).filter(wA);
2903
+ const h = ae(e), I = We(h).map(ct).filter(kA);
2865
2904
  return new Set(I);
2866
2905
  }), c = ce(
2867
2906
  s,
2868
- (b) => {
2869
- l(), A.value && b.size && (i = new MutationObserver(t), b.forEach((I) => i.observe(I, r)));
2907
+ (h) => {
2908
+ l(), A.value && h.size && (i = new MutationObserver(t), h.forEach((I) => i.observe(I, r)));
2870
2909
  },
2871
2910
  { immediate: !0, flush: "post" }
2872
2911
  ), d = () => i == null ? void 0 : i.takeRecords(), f = () => {
@@ -2879,7 +2918,7 @@ function XA(e, t, a = {}) {
2879
2918
  };
2880
2919
  }
2881
2920
  const Et = 1;
2882
- function HA(e, t = {}) {
2921
+ function YA(e, t = {}) {
2883
2922
  const {
2884
2923
  throttle: a = 0,
2885
2924
  idle: n = 200,
@@ -2903,7 +2942,7 @@ function HA(e, t = {}) {
2903
2942
  onError: f = (w) => {
2904
2943
  console.error(w);
2905
2944
  }
2906
- } = t, b = typeof l == "boolean" ? {
2945
+ } = t, h = typeof l == "boolean" ? {
2907
2946
  mutation: l
2908
2947
  } : l, I = Pe(0), m = Pe(0), C = p({
2909
2948
  get() {
@@ -2921,70 +2960,70 @@ function HA(e, t = {}) {
2921
2960
  }
2922
2961
  });
2923
2962
  function T(w, oe) {
2924
- var $, X, v, h;
2963
+ var $, X, v, b;
2925
2964
  if (!d)
2926
2965
  return;
2927
- const N = te(e);
2966
+ const N = ae(e);
2928
2967
  if (!N)
2929
2968
  return;
2930
2969
  (v = N instanceof Document ? d.document.body : N) == null || v.scrollTo({
2931
- top: ($ = te(oe)) != null ? $ : M.value,
2932
- left: (X = te(w)) != null ? X : C.value,
2933
- behavior: te(c)
2970
+ top: ($ = ae(oe)) != null ? $ : M.value,
2971
+ left: (X = ae(w)) != null ? X : C.value,
2972
+ behavior: ae(c)
2934
2973
  });
2935
- const k = ((h = N == null ? void 0 : N.document) == null ? void 0 : h.documentElement) || (N == null ? void 0 : N.documentElement) || N;
2936
- C != null && (I.value = k.scrollLeft), M != null && (m.value = k.scrollTop);
2974
+ const z = ((b = N == null ? void 0 : N.document) == null ? void 0 : b.documentElement) || (N == null ? void 0 : N.documentElement) || N;
2975
+ C != null && (I.value = z.scrollLeft), M != null && (m.value = z.scrollTop);
2937
2976
  }
2938
2977
  const Q = Pe(!1), E = dt({
2939
2978
  left: !0,
2940
2979
  right: !1,
2941
2980
  top: !0,
2942
2981
  bottom: !1
2943
- }), D = dt({
2982
+ }), L = dt({
2944
2983
  left: !1,
2945
2984
  right: !1,
2946
2985
  top: !1,
2947
2986
  bottom: !1
2948
2987
  }), j = (w) => {
2949
- Q.value && (Q.value = !1, D.left = !1, D.right = !1, D.top = !1, D.bottom = !1, r(w));
2950
- }, W = /* @__PURE__ */ jA(j, a + n), z = (w) => {
2988
+ Q.value && (Q.value = !1, L.left = !1, L.right = !1, L.top = !1, L.bottom = !1, r(w));
2989
+ }, V = /* @__PURE__ */ WA(j, a + n), x = (w) => {
2951
2990
  var oe;
2952
2991
  if (!d)
2953
2992
  return;
2954
- const $ = ((oe = w == null ? void 0 : w.document) == null ? void 0 : oe.documentElement) || (w == null ? void 0 : w.documentElement) || ct(w), { display: X, flexDirection: v, direction: h } = getComputedStyle($), N = h === "rtl" ? -1 : 1, k = $.scrollLeft;
2955
- D.left = k < I.value, D.right = k > I.value;
2956
- const U = Math.abs(k * N) <= (A.left || 0), q = Math.abs(k * N) + $.clientWidth >= $.scrollWidth - (A.right || 0) - Et;
2957
- X === "flex" && v === "row-reverse" ? (E.left = q, E.right = U) : (E.left = U, E.right = q), I.value = k;
2958
- let L = $.scrollTop;
2959
- w === d.document && !L && (L = d.document.body.scrollTop), D.top = L < m.value, D.bottom = L > m.value;
2960
- const K = Math.abs(L) <= (A.top || 0), G = Math.abs(L) + $.clientHeight >= $.scrollHeight - (A.bottom || 0) - Et;
2961
- X === "flex" && v === "column-reverse" ? (E.top = G, E.bottom = K) : (E.top = K, E.bottom = G), m.value = L;
2993
+ const $ = ((oe = w == null ? void 0 : w.document) == null ? void 0 : oe.documentElement) || (w == null ? void 0 : w.documentElement) || ct(w), { display: X, flexDirection: v, direction: b } = getComputedStyle($), N = b === "rtl" ? -1 : 1, z = $.scrollLeft;
2994
+ L.left = z < I.value, L.right = z > I.value;
2995
+ const U = Math.abs(z * N) <= (A.left || 0), q = Math.abs(z * N) + $.clientWidth >= $.scrollWidth - (A.right || 0) - Et;
2996
+ X === "flex" && v === "row-reverse" ? (E.left = q, E.right = U) : (E.left = U, E.right = q), I.value = z;
2997
+ let S = $.scrollTop;
2998
+ w === d.document && !S && (S = d.document.body.scrollTop), L.top = S < m.value, L.bottom = S > m.value;
2999
+ const K = Math.abs(S) <= (A.top || 0), G = Math.abs(S) + $.clientHeight >= $.scrollHeight - (A.bottom || 0) - Et;
3000
+ X === "flex" && v === "column-reverse" ? (E.top = G, E.bottom = K) : (E.top = K, E.bottom = G), m.value = S;
2962
3001
  }, Ae = (w) => {
2963
3002
  var oe;
2964
3003
  if (!d)
2965
3004
  return;
2966
3005
  const $ = (oe = w.target.documentElement) != null ? oe : w.target;
2967
- z($), Q.value = !0, W(w), i(w);
3006
+ x($), Q.value = !0, V(w), i(w);
2968
3007
  };
2969
3008
  return yt(
2970
3009
  e,
2971
3010
  "scroll",
2972
- a ? /* @__PURE__ */ BA(Ae, a, !0, !1) : Ae,
3011
+ a ? /* @__PURE__ */ VA(Ae, a, !0, !1) : Ae,
2973
3012
  s
2974
- ), PA(() => {
3013
+ ), UA(() => {
2975
3014
  try {
2976
- const w = te(e);
3015
+ const w = ae(e);
2977
3016
  if (!w)
2978
3017
  return;
2979
- z(w);
3018
+ x(w);
2980
3019
  } catch (w) {
2981
3020
  f(w);
2982
3021
  }
2983
- }), b != null && b.mutation && e != null && e !== d && e !== document && XA(
3022
+ }), h != null && h.mutation && e != null && e !== d && e !== document && qA(
2984
3023
  e,
2985
3024
  () => {
2986
- const w = te(e);
2987
- w && z(w);
3025
+ const w = ae(e);
3026
+ w && x(w);
2988
3027
  },
2989
3028
  {
2990
3029
  attributes: !0,
@@ -3001,58 +3040,58 @@ function HA(e, t = {}) {
3001
3040
  y: M,
3002
3041
  isScrolling: Q,
3003
3042
  arrivedState: E,
3004
- directions: D,
3043
+ directions: L,
3005
3044
  measure() {
3006
- const w = te(e);
3007
- d && w && z(w);
3045
+ const w = ae(e);
3046
+ d && w && x(w);
3008
3047
  }
3009
3048
  };
3010
3049
  }
3011
- var ZA = typeof global == "object" && global && global.Object === Object && global, qA = typeof self == "object" && self && self.Object === Object && self, Yt = ZA || qA || Function("return this")(), Xe = Yt.Symbol, Rt = Object.prototype, YA = Rt.hasOwnProperty, RA = Rt.toString, Oe = Xe ? Xe.toStringTag : void 0;
3012
- function FA(e) {
3013
- var t = YA.call(e, Oe), a = e[Oe];
3050
+ var RA = typeof global == "object" && global && global.Object === Object && global, FA = typeof self == "object" && self && self.Object === Object && self, Yt = RA || FA || Function("return this")(), Xe = Yt.Symbol, Rt = Object.prototype, KA = Rt.hasOwnProperty, GA = Rt.toString, Le = Xe ? Xe.toStringTag : void 0;
3051
+ function JA(e) {
3052
+ var t = KA.call(e, Le), a = e[Le];
3014
3053
  try {
3015
- e[Oe] = void 0;
3054
+ e[Le] = void 0;
3016
3055
  var n = !0;
3017
3056
  } catch {
3018
3057
  }
3019
- var r = RA.call(e);
3020
- return n && (t ? e[Oe] = a : delete e[Oe]), r;
3058
+ var r = GA.call(e);
3059
+ return n && (t ? e[Le] = a : delete e[Le]), r;
3021
3060
  }
3022
- var KA = Object.prototype, GA = KA.toString;
3023
- function JA(e) {
3024
- return GA.call(e);
3025
- }
3026
- var _A = "[object Null]", $A = "[object Undefined]", Mt = Xe ? Xe.toStringTag : void 0;
3061
+ var _A = Object.prototype, $A = _A.toString;
3027
3062
  function ei(e) {
3028
- return e == null ? e === void 0 ? $A : _A : Mt && Mt in Object(e) ? FA(e) : JA(e);
3063
+ return $A.call(e);
3064
+ }
3065
+ var ti = "[object Null]", ai = "[object Undefined]", Mt = Xe ? Xe.toStringTag : void 0;
3066
+ function ni(e) {
3067
+ return e == null ? e === void 0 ? ai : ti : Mt && Mt in Object(e) ? JA(e) : ei(e);
3029
3068
  }
3030
- function ti(e) {
3069
+ function ri(e) {
3031
3070
  return e != null && typeof e == "object";
3032
3071
  }
3033
- var ai = "[object Symbol]";
3034
- function ni(e) {
3035
- return typeof e == "symbol" || ti(e) && ei(e) == ai;
3072
+ var Ai = "[object Symbol]";
3073
+ function ii(e) {
3074
+ return typeof e == "symbol" || ri(e) && ni(e) == Ai;
3036
3075
  }
3037
- var ri = /\s/;
3038
- function Ai(e) {
3039
- for (var t = e.length; t-- && ri.test(e.charAt(t)); )
3076
+ var oi = /\s/;
3077
+ function li(e) {
3078
+ for (var t = e.length; t-- && oi.test(e.charAt(t)); )
3040
3079
  ;
3041
3080
  return t;
3042
3081
  }
3043
- var ii = /^\s+/;
3044
- function oi(e) {
3045
- return e && e.slice(0, Ai(e) + 1).replace(ii, "");
3082
+ var si = /^\s+/;
3083
+ function ci(e) {
3084
+ return e && e.slice(0, li(e) + 1).replace(si, "");
3046
3085
  }
3047
3086
  function tt(e) {
3048
3087
  var t = typeof e;
3049
3088
  return e != null && (t == "object" || t == "function");
3050
3089
  }
3051
- var pt = NaN, li = /^[-+]0x[0-9a-f]+$/i, si = /^0b[01]+$/i, ci = /^0o[0-7]+$/i, ui = parseInt;
3090
+ var pt = NaN, ui = /^[-+]0x[0-9a-f]+$/i, di = /^0b[01]+$/i, fi = /^0o[0-7]+$/i, vi = parseInt;
3052
3091
  function Nt(e) {
3053
3092
  if (typeof e == "number")
3054
3093
  return e;
3055
- if (ni(e))
3094
+ if (ii(e))
3056
3095
  return pt;
3057
3096
  if (tt(e)) {
3058
3097
  var t = typeof e.valueOf == "function" ? e.valueOf() : e;
@@ -3060,51 +3099,51 @@ function Nt(e) {
3060
3099
  }
3061
3100
  if (typeof e != "string")
3062
3101
  return e === 0 ? e : +e;
3063
- e = oi(e);
3064
- var a = si.test(e);
3065
- return a || ci.test(e) ? ui(e.slice(2), a ? 2 : 8) : li.test(e) ? pt : +e;
3102
+ e = ci(e);
3103
+ var a = di.test(e);
3104
+ return a || fi.test(e) ? vi(e.slice(2), a ? 2 : 8) : ui.test(e) ? pt : +e;
3066
3105
  }
3067
3106
  var $e = function() {
3068
3107
  return Yt.Date.now();
3069
- }, di = "Expected a function", fi = Math.max, vi = Math.min;
3108
+ }, mi = "Expected a function", gi = Math.max, Ii = Math.min;
3070
3109
  function Ft(e, t, a) {
3071
- var n, r, i, A, l, s, c = 0, d = !1, f = !1, b = !0;
3110
+ var n, r, i, A, l, s, c = 0, d = !1, f = !1, h = !0;
3072
3111
  if (typeof e != "function")
3073
- throw new TypeError(di);
3074
- t = Nt(t) || 0, tt(a) && (d = !!a.leading, f = "maxWait" in a, i = f ? fi(Nt(a.maxWait) || 0, t) : i, b = "trailing" in a ? !!a.trailing : b);
3075
- function I(W) {
3076
- var z = n, Ae = r;
3077
- return n = r = void 0, c = W, A = e.apply(Ae, z), A;
3112
+ throw new TypeError(mi);
3113
+ t = Nt(t) || 0, tt(a) && (d = !!a.leading, f = "maxWait" in a, i = f ? gi(Nt(a.maxWait) || 0, t) : i, h = "trailing" in a ? !!a.trailing : h);
3114
+ function I(V) {
3115
+ var x = n, Ae = r;
3116
+ return n = r = void 0, c = V, A = e.apply(Ae, x), A;
3078
3117
  }
3079
- function m(W) {
3080
- return c = W, l = setTimeout(T, t), d ? I(W) : A;
3118
+ function m(V) {
3119
+ return c = V, l = setTimeout(T, t), d ? I(V) : A;
3081
3120
  }
3082
- function C(W) {
3083
- var z = W - s, Ae = W - c, w = t - z;
3084
- return f ? vi(w, i - Ae) : w;
3121
+ function C(V) {
3122
+ var x = V - s, Ae = V - c, w = t - x;
3123
+ return f ? Ii(w, i - Ae) : w;
3085
3124
  }
3086
- function M(W) {
3087
- var z = W - s, Ae = W - c;
3088
- return s === void 0 || z >= t || z < 0 || f && Ae >= i;
3125
+ function M(V) {
3126
+ var x = V - s, Ae = V - c;
3127
+ return s === void 0 || x >= t || x < 0 || f && Ae >= i;
3089
3128
  }
3090
3129
  function T() {
3091
- var W = $e();
3092
- if (M(W))
3093
- return Q(W);
3094
- l = setTimeout(T, C(W));
3130
+ var V = $e();
3131
+ if (M(V))
3132
+ return Q(V);
3133
+ l = setTimeout(T, C(V));
3095
3134
  }
3096
- function Q(W) {
3097
- return l = void 0, b && n ? I(W) : (n = r = void 0, A);
3135
+ function Q(V) {
3136
+ return l = void 0, h && n ? I(V) : (n = r = void 0, A);
3098
3137
  }
3099
3138
  function E() {
3100
3139
  l !== void 0 && clearTimeout(l), c = 0, n = s = r = l = void 0;
3101
3140
  }
3102
- function D() {
3141
+ function L() {
3103
3142
  return l === void 0 ? A : Q($e());
3104
3143
  }
3105
3144
  function j() {
3106
- var W = $e(), z = M(W);
3107
- if (n = arguments, r = this, s = W, z) {
3145
+ var V = $e(), x = M(V);
3146
+ if (n = arguments, r = this, s = V, x) {
3108
3147
  if (l === void 0)
3109
3148
  return m(s);
3110
3149
  if (f)
@@ -3112,18 +3151,18 @@ function Ft(e, t, a) {
3112
3151
  }
3113
3152
  return l === void 0 && (l = setTimeout(T, t)), A;
3114
3153
  }
3115
- return j.cancel = E, j.flush = D, j;
3154
+ return j.cancel = E, j.flush = L, j;
3116
3155
  }
3117
- const mi = {
3156
+ const hi = {
3118
3157
  key: 0,
3119
3158
  class: "av-autocomplete-dropdown__loading"
3120
- }, gi = {
3159
+ }, bi = {
3121
3160
  key: 1,
3122
3161
  class: "av-autocomplete-dropdown__empty"
3123
- }, Ii = {
3162
+ }, Ci = {
3124
3163
  key: 1,
3125
3164
  class: "av-autocomplete-dropdown__empty-text"
3126
- }, hi = /* @__PURE__ */ S({
3165
+ }, yi = /* @__PURE__ */ O({
3127
3166
  __name: "AvAutocompleteDropdown",
3128
3167
  emits: ["loadMore"],
3129
3168
  setup(e, { expose: t, emit: a }) {
@@ -3134,7 +3173,7 @@ const mi = {
3134
3173
  props: s,
3135
3174
  getOptionId: c,
3136
3175
  getDisplayLabel: d
3137
- } = lt(), f = J(), b = J(), I = p(() => {
3176
+ } = lt(), f = J(), h = J(), I = p(() => {
3138
3177
  if (!s.options)
3139
3178
  return [];
3140
3179
  if (s.serverSideFiltering)
@@ -3144,12 +3183,12 @@ const mi = {
3144
3183
  const j = s.options;
3145
3184
  return s.maxResults ? j.slice(0, s.maxResults) : j;
3146
3185
  }
3147
- let D;
3148
- return s.filterOptions ? D = s.filterOptions(s.options, E) : D = s.options.filter((j) => d(j).toLowerCase().includes(E)), s.maxResults ? D.slice(0, s.maxResults) : D;
3186
+ let L;
3187
+ return s.filterOptions ? L = s.filterOptions(s.options, E) : L = s.options.filter((j) => d(j).toLowerCase().includes(E)), s.maxResults ? L.slice(0, s.maxResults) : L;
3149
3188
  }), m = p(() => s.loading ? Me.LOADING : l.value && s.options && s.options.length > 0 && I.value.length > 0 ? Me.HAS_OPTIONS : Me.NO_OPTIONS);
3150
3189
  function C(E) {
3151
3190
  return i.value.some(
3152
- (D) => c(D) === c(E)
3191
+ (L) => c(L) === c(E)
3153
3192
  );
3154
3193
  }
3155
3194
  function M(E) {
@@ -3157,14 +3196,14 @@ const mi = {
3157
3196
  i.value = [E], l.value = !1, A.value = "";
3158
3197
  return;
3159
3198
  }
3160
- const D = i.value, j = c(E);
3161
- D.some(
3162
- (z) => c(z) === j
3163
- ) ? i.value = D.filter(
3164
- (z) => c(z) !== j
3165
- ) : i.value = [...D, E];
3199
+ const L = i.value, j = c(E);
3200
+ L.some(
3201
+ (x) => c(x) === j
3202
+ ) ? i.value = L.filter(
3203
+ (x) => c(x) !== j
3204
+ ) : i.value = [...L, E];
3166
3205
  }
3167
- const { arrivedState: T } = HA(b, {
3206
+ const { arrivedState: T } = YA(h, {
3168
3207
  throttle: 100
3169
3208
  }), Q = Ft(() => {
3170
3209
  n("loadMore");
@@ -3175,31 +3214,31 @@ const mi = {
3175
3214
  Q.cancel();
3176
3215
  }), t({
3177
3216
  dropdownRef: f
3178
- }), (E, D) => o(l) ? (u(), g("div", {
3217
+ }), (E, L) => o(l) ? (u(), g("div", {
3179
3218
  key: 0,
3180
3219
  ref_key: "dropdownRef",
3181
3220
  ref: f,
3182
3221
  class: F(["av-autocomplete-dropdown", o(s).dropdownClass]),
3183
3222
  style: Ve({ width: o(s).dropdownWidth, maxHeight: o(s).maxDropdownHeight })
3184
3223
  }, [
3185
- o(m) === o(Me).LOADING ? (u(), g("div", mi, [
3186
- P(ae, {
3187
- name: o(R).LOADING_OUTLINE,
3224
+ o(m) === o(Me).LOADING ? (u(), g("div", hi, [
3225
+ P(ne, {
3226
+ name: o(Y).LOADING_OUTLINE,
3188
3227
  size: 1.5,
3189
3228
  class: "av-autocomplete-dropdown__spinner"
3190
3229
  }, null, 8, ["name"]),
3191
- D[0] || (D[0] = y("span", { class: "av-autocomplete-dropdown__loading-text" }, "Loading...", -1))
3192
- ])) : o(m) === o(Me).NO_OPTIONS ? (u(), g("div", gi, [
3193
- r.empty ? B(E.$slots, "empty", { key: 0 }, void 0, !0) : (u(), g("div", Ii, " No results found "))
3194
- ])) : (u(), x(Vt, ee({
3230
+ L[0] || (L[0] = y("span", { class: "av-autocomplete-dropdown__loading-text" }, "Loading...", -1))
3231
+ ])) : o(m) === o(Me).NO_OPTIONS ? (u(), g("div", bi, [
3232
+ r.empty ? B(E.$slots, "empty", { key: 0 }, void 0, !0) : (u(), g("div", Ci, " No results found "))
3233
+ ])) : (u(), k(Vt, ee({
3195
3234
  key: 2,
3196
3235
  ref_key: "listRef",
3197
- ref: b
3236
+ ref: h
3198
3237
  }, o(s).listOptions, {
3199
3238
  class: ["av-autocomplete-dropdown__options", o(s).scrollbarClass]
3200
3239
  }), {
3201
- default: Y(() => [
3202
- (u(!0), g(_, null, ne(o(I), (j) => (u(), g(_, {
3240
+ default: R(() => [
3241
+ (u(!0), g(_, null, re(o(I), (j) => (u(), g(_, {
3203
3242
  key: o(c)(j)
3204
3243
  }, [
3205
3244
  r.item ? B(E.$slots, "item", {
@@ -3207,10 +3246,10 @@ const mi = {
3207
3246
  option: j,
3208
3247
  isSelected: C(j),
3209
3248
  toggle: () => M(j)
3210
- }, void 0, !0) : (u(), x(Ut, {
3249
+ }, void 0, !0) : (u(), k(Ut, {
3211
3250
  key: 1,
3212
3251
  title: o(d)(j),
3213
- icon: C(j) ? o(R).CHECK : void 0,
3252
+ icon: C(j) ? o(Y).CHECK : void 0,
3214
3253
  selected: C(j),
3215
3254
  clickable: "",
3216
3255
  "on-click": () => M(j),
@@ -3221,12 +3260,12 @@ const mi = {
3221
3260
  ]),
3222
3261
  _: 3
3223
3262
  }, 16, ["class"]))
3224
- ], 6)) : O("", !0);
3263
+ ], 6)) : D("", !0);
3225
3264
  }
3226
- }), bi = /* @__PURE__ */ V(hi, [["__scopeId", "data-v-b59b9163"]]), Ci = { class: "av-autocomplete-input" }, yi = {
3265
+ }), Ei = /* @__PURE__ */ W(yi, [["__scopeId", "data-v-b59b9163"]]), Mi = { class: "av-autocomplete-input" }, pi = {
3227
3266
  key: 0,
3228
3267
  class: "av-autocomplete-input__suffix"
3229
- }, Ei = /* @__PURE__ */ S({
3268
+ }, Ni = /* @__PURE__ */ O({
3230
3269
  __name: "AvAutocompleteInput",
3231
3270
  emits: ["search", "clear"],
3232
3271
  setup(e, { expose: t, emit: a }) {
@@ -3238,7 +3277,7 @@ const mi = {
3238
3277
  inputId: c,
3239
3278
  handleBlur: d,
3240
3279
  getDisplayLabel: f
3241
- } = lt(), b = J(), I = p(() => !s.multiSelect && i.value.length > 0 ? f(i.value[0]) : s.multiSelect && i.value.length > 0 ? s.showSelectedSection ? `${i.value.length} element(s) selected` : i.value.map(f).join(", ") : A.value), m = p(() => {
3280
+ } = lt(), h = J(), I = p(() => !s.multiSelect && i.value.length > 0 ? f(i.value[0]) : s.multiSelect && i.value.length > 0 ? s.showSelectedSection ? `${i.value.length} element(s) selected` : i.value.map(f).join(", ") : A.value), m = p(() => {
3242
3281
  var E;
3243
3282
  return ((E = s.inputOptions) == null ? void 0 : E.placeholder) || "Search...";
3244
3283
  }), C = Ft((E) => {
@@ -3256,13 +3295,13 @@ const mi = {
3256
3295
  return je(() => {
3257
3296
  C.cancel();
3258
3297
  }), t({
3259
- inputRef: b,
3298
+ inputRef: h,
3260
3299
  searchQuery: p(() => A.value)
3261
- }), (E, D) => (u(), g("div", Ci, [
3262
- P(fA, ee({
3300
+ }), (E, L) => (u(), g("div", Mi, [
3301
+ P(gA, ee({
3263
3302
  id: o(c),
3264
3303
  ref_key: "inputRef",
3265
- ref: b,
3304
+ ref: h,
3266
3305
  "model-value": o(I),
3267
3306
  placeholder: o(m)
3268
3307
  }, o(s).inputOptions, {
@@ -3270,19 +3309,19 @@ const mi = {
3270
3309
  onFocus: T,
3271
3310
  onBlur: o(d),
3272
3311
  onClick: T
3273
- }), Le({ _: 2 }, [
3312
+ }), we({ _: 2 }, [
3274
3313
  r.requiredTip ? {
3275
3314
  name: "requiredTip",
3276
- fn: Y(() => [
3277
- (u(), x(ue(r.requiredTip)))
3315
+ fn: R(() => [
3316
+ (u(), k(ue(r.requiredTip)))
3278
3317
  ]),
3279
3318
  key: "0"
3280
3319
  } : void 0
3281
3320
  ]), 1040, ["id", "model-value", "placeholder", "onBlur"]),
3282
- o(i).length > 0 ? (u(), g("div", yi, [
3283
- P(Ce, {
3321
+ o(i).length > 0 ? (u(), g("div", pi, [
3322
+ P(me, {
3284
3323
  label: "Clear selected items",
3285
- icon: o(R).CLOSE_CIRCLE_OUTLINE,
3324
+ icon: o(Y).CLOSE_CIRCLE_OUTLINE,
3286
3325
  "icon-only": "",
3287
3326
  "icon-scale": 0.8,
3288
3327
  size: "sm",
@@ -3290,13 +3329,13 @@ const mi = {
3290
3329
  theme: "SECONDARY",
3291
3330
  "on-click": Q
3292
3331
  }, null, 8, ["icon"])
3293
- ])) : O("", !0)
3332
+ ])) : D("", !0)
3294
3333
  ]));
3295
3334
  }
3296
- }), Mi = /* @__PURE__ */ V(Ei, [["__scopeId", "data-v-24fd377c"]]), pi = {
3335
+ }), Ti = /* @__PURE__ */ W(Ni, [["__scopeId", "data-v-24fd377c"]]), Qi = {
3297
3336
  key: 0,
3298
3337
  class: "av-autocomplete-selected-tags"
3299
- }, Ni = /* @__PURE__ */ S({
3338
+ }, Di = /* @__PURE__ */ O({
3300
3339
  __name: "AvAutocompleteSelectedTags",
3301
3340
  setup(e) {
3302
3341
  const t = ie(), {
@@ -3311,8 +3350,8 @@ const mi = {
3311
3350
  (d) => r(d) !== c
3312
3351
  );
3313
3352
  }
3314
- return (l, s) => o(n).multiSelect && o(a).length > 0 && o(n).showSelectedSection ? (u(), g("div", pi, [
3315
- (u(!0), g(_, null, ne(o(a), (c) => (u(), g("div", {
3353
+ return (l, s) => o(n).multiSelect && o(a).length > 0 && o(n).showSelectedSection ? (u(), g("div", Qi, [
3354
+ (u(!0), g(_, null, re(o(a), (c) => (u(), g("div", {
3316
3355
  key: o(r)(c),
3317
3356
  class: "av-autocomplete-selected-tags__item"
3318
3357
  }, [
@@ -3320,10 +3359,10 @@ const mi = {
3320
3359
  key: 0,
3321
3360
  option: c,
3322
3361
  remove: () => A(c)
3323
- }, void 0, !0) : (u(), x(Ce, {
3362
+ }, void 0, !0) : (u(), k(me, {
3324
3363
  key: 1,
3325
3364
  label: o(i)(c),
3326
- icon: o(R).CLOSE_CIRCLE_OUTLINE,
3365
+ icon: o(Y).CLOSE_CIRCLE_OUTLINE,
3327
3366
  "icon-right": "",
3328
3367
  size: "sm",
3329
3368
  variant: "OUTLINED",
@@ -3331,9 +3370,9 @@ const mi = {
3331
3370
  "on-click": () => A(c)
3332
3371
  }, null, 8, ["label", "icon", "on-click"]))
3333
3372
  ]))), 128))
3334
- ])) : O("", !0);
3373
+ ])) : D("", !0);
3335
3374
  }
3336
- }), Ti = /* @__PURE__ */ V(Ni, [["__scopeId", "data-v-c00c128b"]]), Qi = { class: "av-autocomplete" }, Di = /* @__PURE__ */ S({
3375
+ }), Li = /* @__PURE__ */ W(Di, [["__scopeId", "data-v-c00c128b"]]), Oi = { class: "av-autocomplete" }, wi = /* @__PURE__ */ O({
3337
3376
  __name: "AvAutocomplete",
3338
3377
  props: /* @__PURE__ */ ve({
3339
3378
  id: {},
@@ -3366,12 +3405,12 @@ const mi = {
3366
3405
  emits: /* @__PURE__ */ ve(["search", "loadMore", "clear"], ["update:modelValue"]),
3367
3406
  setup(e, { emit: t }) {
3368
3407
  const a = e, n = t, r = ie(), i = ke(e, "modelValue"), A = J(!1), l = J(""), s = J(), c = J(), d = J(), f = p(() => a.id || `av-autocomplete-${crypto.randomUUID()}`);
3369
- function b(Q) {
3408
+ function h(Q) {
3370
3409
  l.value = Q, n("search", Q);
3371
3410
  }
3372
3411
  function I(Q) {
3373
- var E, D;
3374
- (D = (E = d.value) == null ? void 0 : E.dropdownRef) != null && D.contains(Q.relatedTarget) || setTimeout(() => {
3412
+ var E, L;
3413
+ (L = (E = d.value) == null ? void 0 : E.dropdownRef) != null && L.contains(Q.relatedTarget) || setTimeout(() => {
3375
3414
  A.value = !1;
3376
3415
  }, a.blurCloseDelay);
3377
3416
  }
@@ -3392,65 +3431,65 @@ const mi = {
3392
3431
  getDisplayLabel: C
3393
3432
  });
3394
3433
  function T(Q) {
3395
- var j, W, z, Ae, w;
3396
- const E = Q.target, D = (j = c.value) == null ? void 0 : j.inputRef;
3397
- !((W = D == null ? void 0 : D.contains) != null && W.call(D, E)) && !((z = s.value) != null && z.contains(E)) && !((w = (Ae = d.value) == null ? void 0 : Ae.dropdownRef) != null && w.contains(E)) && (A.value = !1);
3434
+ var j, V, x, Ae, w;
3435
+ const E = Q.target, L = (j = c.value) == null ? void 0 : j.inputRef;
3436
+ !((V = L == null ? void 0 : L.contains) != null && V.call(L, E)) && !((x = s.value) != null && x.contains(E)) && !((w = (Ae = d.value) == null ? void 0 : Ae.dropdownRef) != null && w.contains(E)) && (A.value = !1);
3398
3437
  }
3399
3438
  return xe(() => {
3400
3439
  document.addEventListener("click", T);
3401
3440
  }), je(() => {
3402
3441
  document.removeEventListener("click", T);
3403
- }), (Q, E) => (u(), g("div", Qi, [
3442
+ }), (Q, E) => (u(), g("div", Oi, [
3404
3443
  y("div", {
3405
3444
  ref_key: "wrapperRef",
3406
3445
  ref: s,
3407
3446
  class: "av-autocomplete__wrapper"
3408
3447
  }, [
3409
- P(Mi, {
3448
+ P(Ti, {
3410
3449
  ref_key: "inputRef",
3411
3450
  ref: c,
3412
- onSearch: b,
3413
- onClear: E[0] || (E[0] = (D) => n("clear"))
3414
- }, Le({ _: 2 }, [
3451
+ onSearch: h,
3452
+ onClear: E[0] || (E[0] = (L) => n("clear"))
3453
+ }, we({ _: 2 }, [
3415
3454
  r.requiredTip ? {
3416
3455
  name: "requiredTip",
3417
- fn: Y(() => [
3418
- (u(), x(ue(r.requiredTip)))
3456
+ fn: R(() => [
3457
+ (u(), k(ue(r.requiredTip)))
3419
3458
  ]),
3420
3459
  key: "0"
3421
3460
  } : void 0
3422
3461
  ]), 1536),
3423
- P(bi, {
3462
+ P(Ei, {
3424
3463
  ref_key: "dropdownRef",
3425
3464
  ref: d,
3426
- onLoadMore: E[1] || (E[1] = (D) => n("loadMore"))
3427
- }, Le({ _: 2 }, [
3465
+ onLoadMore: E[1] || (E[1] = (L) => n("loadMore"))
3466
+ }, we({ _: 2 }, [
3428
3467
  r.item ? {
3429
3468
  name: "item",
3430
- fn: Y(({ option: D, isSelected: j, toggle: W }) => [
3469
+ fn: R(({ option: L, isSelected: j, toggle: V }) => [
3431
3470
  B(Q.$slots, "item", {
3432
- option: D,
3471
+ option: L,
3433
3472
  isSelected: j,
3434
- toggle: W
3473
+ toggle: V
3435
3474
  }, void 0, !0)
3436
3475
  ]),
3437
3476
  key: "0"
3438
3477
  } : void 0,
3439
3478
  r.empty ? {
3440
3479
  name: "empty",
3441
- fn: Y(() => [
3480
+ fn: R(() => [
3442
3481
  B(Q.$slots, "empty", {}, void 0, !0)
3443
3482
  ]),
3444
3483
  key: "1"
3445
3484
  } : void 0
3446
3485
  ]), 1536)
3447
3486
  ], 512),
3448
- P(Ti, null, Le({ _: 2 }, [
3487
+ P(Li, null, we({ _: 2 }, [
3449
3488
  r.selectedItem ? {
3450
3489
  name: "selectedItem",
3451
- fn: Y(({ option: D, remove: j }) => [
3490
+ fn: R(({ option: L, remove: j }) => [
3452
3491
  B(Q.$slots, "selectedItem", {
3453
- option: D,
3492
+ option: L,
3454
3493
  remove: j
3455
3494
  }, void 0, !0)
3456
3495
  ]),
@@ -3459,7 +3498,7 @@ const mi = {
3459
3498
  ]), 1024)
3460
3499
  ]));
3461
3500
  }
3462
- }), Pl = /* @__PURE__ */ V(Di, [["__scopeId", "data-v-fd810890"]]), Oi = { class: "item-container" }, wi = /* @__PURE__ */ S({
3501
+ }), Ul = /* @__PURE__ */ W(wi, [["__scopeId", "data-v-fd810890"]]), Si = { class: "item-container" }, ki = /* @__PURE__ */ O({
3463
3502
  __name: "AvMultiselect",
3464
3503
  props: {
3465
3504
  disabled: { type: Boolean },
@@ -3481,8 +3520,8 @@ const mi = {
3481
3520
  },
3482
3521
  emits: ["update:modelValue"],
3483
3522
  setup(e, { emit: t }) {
3484
- re((f) => ({
3485
- cbe60d82: f.width
3523
+ te((f) => ({
3524
+ v5e495a53: f.width
3486
3525
  }));
3487
3526
  const a = e, n = t, r = p(() => a.modelValue.map((f) => f.value)), i = p(() => {
3488
3527
  if (!a.modelValue || a.modelValue.length === 0)
@@ -3493,10 +3532,10 @@ const mi = {
3493
3532
  return `${a.modelValue.length} option${f} sélectionnée${f}`;
3494
3533
  });
3495
3534
  function A(f) {
3496
- return a.modelValue.some((b) => b.value === f.value);
3535
+ return a.modelValue.some((h) => h.value === f.value);
3497
3536
  }
3498
3537
  function l(f) {
3499
- return A(f) ? R.CHECKBOX_MARKED : R.CHECKBOX_BLANK_OUTLINE;
3538
+ return A(f) ? Y.CHECKBOX_MARKED : Y.CHECKBOX_BLANK_OUTLINE;
3500
3539
  }
3501
3540
  function s(f) {
3502
3541
  return A(f) ? "var(--dark-background-primary1)" : "var(--icon)";
@@ -3506,15 +3545,19 @@ const mi = {
3506
3545
  }
3507
3546
  function d(f) {
3508
3547
  var I;
3509
- const b = ((I = a.options) == null ? void 0 : I.filter(
3548
+ const h = ((I = a.options) == null ? void 0 : I.filter(
3510
3549
  (m) => f.includes(m.value)
3511
3550
  )) ?? [];
3512
- n("update:modelValue", b);
3551
+ n("update:modelValue", h);
3513
3552
  }
3514
- return (f, b) => {
3515
- const I = ae;
3553
+ return (f, h) => {
3554
+ const I = ne;
3516
3555
  return u(), g("div", {
3517
- class: F({ "fr-multiselect--dense": a.dense })
3556
+ class: F({
3557
+ "fr-multiselect--dense": a.dense,
3558
+ "fr-multiselect--unselected": a.modelValue.length === 0,
3559
+ "fr-multiselect--selected": a.modelValue.length > 0
3560
+ })
3518
3561
  }, [
3519
3562
  P(o(ma), ee(a, {
3520
3563
  "model-value": o(r),
@@ -3522,23 +3565,23 @@ const mi = {
3522
3565
  "button-label": o(i),
3523
3566
  "id-key": "value",
3524
3567
  "filtering-keys": ["label"],
3525
- "onUpdate:modelValue": b[0] || (b[0] = (m) => d(m))
3568
+ "onUpdate:modelValue": h[0] || (h[0] = (m) => d(m))
3526
3569
  }), {
3527
- "checkbox-label": Y(({ option: m }) => [
3528
- y("div", Oi, [
3570
+ "checkbox-label": R(({ option: m }) => [
3571
+ y("div", Si, [
3529
3572
  P(I, {
3530
3573
  class: "option-checkbox",
3531
3574
  name: l(m),
3532
3575
  color: s(m),
3533
3576
  size: 1.5
3534
3577
  }, null, 8, ["name", "color"]),
3535
- m.icon ? (u(), x(I, {
3578
+ m.icon ? (u(), k(I, {
3536
3579
  key: 0,
3537
3580
  class: "option-icon",
3538
3581
  name: m.icon,
3539
3582
  color: s(m),
3540
3583
  size: 1.5
3541
- }, null, 8, ["name", "color"])) : O("", !0),
3584
+ }, null, 8, ["name", "color"])) : D("", !0),
3542
3585
  y("span", {
3543
3586
  class: F(c(m))
3544
3587
  }, Z(m.label), 3)
@@ -3549,7 +3592,7 @@ const mi = {
3549
3592
  ], 2);
3550
3593
  };
3551
3594
  }
3552
- }), Wl = /* @__PURE__ */ V(wi, [["__scopeId", "data-v-55714083"]]), Vl = {
3595
+ }), Xl = /* @__PURE__ */ W(ki, [["__scopeId", "data-v-4cc765fa"]]), Hl = {
3553
3596
  name: "AvSelect",
3554
3597
  props: {
3555
3598
  modelValue: [String, Number],
@@ -3573,7 +3616,7 @@ const mi = {
3573
3616
  </option>
3574
3617
  </select>
3575
3618
  `
3576
- }, Li = /* @__PURE__ */ S({
3619
+ }, zi = /* @__PURE__ */ O({
3577
3620
  __name: "AvSelect",
3578
3621
  props: {
3579
3622
  required: { type: Boolean },
@@ -3607,7 +3650,7 @@ const mi = {
3607
3650
  }), null, 16, ["title"])
3608
3651
  ], 2));
3609
3652
  }
3610
- }), Ul = /* @__PURE__ */ V(Li, [["__scopeId", "data-v-d230e734"]]), Xl = /* @__PURE__ */ S({
3653
+ }), Zl = /* @__PURE__ */ W(zi, [["__scopeId", "data-v-d230e734"]]), ql = /* @__PURE__ */ O({
3611
3654
  __name: "AvTab",
3612
3655
  props: {
3613
3656
  title: {},
@@ -3616,7 +3659,7 @@ const mi = {
3616
3659
  setup(e) {
3617
3660
  return (t, a) => B(t.$slots, "default");
3618
3661
  }
3619
- }), Si = /* @__PURE__ */ S({
3662
+ }), xi = /* @__PURE__ */ O({
3620
3663
  __name: "AvTabs",
3621
3664
  props: {
3622
3665
  ariaLabel: {},
@@ -3626,12 +3669,12 @@ const mi = {
3626
3669
  emits: ["update:modelValue"],
3627
3670
  setup(e, { expose: t, emit: a }) {
3628
3671
  const n = a, r = ie(), i = J(e.modelValue), A = p(() => {
3629
- var b;
3630
- return ((b = r.default) == null ? void 0 : b.call(r)) || [];
3672
+ var h;
3673
+ return ((h = r.default) == null ? void 0 : h.call(r)) || [];
3631
3674
  });
3632
- function l(b) {
3675
+ function l(h) {
3633
3676
  const I = A.value.length;
3634
- i.value = (i.value + b + I) % I;
3677
+ i.value = (i.value + h + I) % I;
3635
3678
  }
3636
3679
  function s() {
3637
3680
  l(-1);
@@ -3645,52 +3688,52 @@ const mi = {
3645
3688
  function f() {
3646
3689
  i.value = A.value.length - 1;
3647
3690
  }
3648
- return ce(() => e.modelValue, (b) => {
3649
- b !== void 0 && (i.value = b);
3650
- }), ce(i, (b) => {
3651
- n("update:modelValue", b);
3652
- }), t({ activeTab: i }), (b, I) => {
3691
+ return ce(() => e.modelValue, (h) => {
3692
+ h !== void 0 && (i.value = h);
3693
+ }), ce(i, (h) => {
3694
+ n("update:modelValue", h);
3695
+ }), t({ activeTab: i }), (h, I) => {
3653
3696
  const m = ba, C = ha, M = Ia;
3654
- return u(), x(M, {
3697
+ return u(), k(M, {
3655
3698
  modelValue: o(i),
3656
3699
  "onUpdate:modelValue": I[0] || (I[0] = (T) => At(i) ? i.value = T : null),
3657
3700
  class: F({ compact: e.compact }),
3658
3701
  "tab-list-name": e.ariaLabel ?? "Liste d’onglets",
3659
3702
  "tab-titles": []
3660
3703
  }, {
3661
- "tab-items": Y(() => [
3662
- (u(!0), g(_, null, ne(o(A), (T, Q) => {
3704
+ "tab-items": R(() => [
3705
+ (u(!0), g(_, null, re(o(A), (T, Q) => {
3663
3706
  var E;
3664
- return u(), x(m, {
3707
+ return u(), k(m, {
3665
3708
  key: Q,
3666
3709
  class: F({ compact: e.compact }),
3667
3710
  "tab-id": `tab-${Q}`,
3668
3711
  "panel-id": `panel-${Q}`,
3669
3712
  icon: (E = T.props) == null ? void 0 : E.icon,
3670
- onClick: (D) => i.value = Q,
3713
+ onClick: (L) => i.value = Q,
3671
3714
  onNext: c,
3672
3715
  onPrevious: s,
3673
3716
  onFirst: d,
3674
3717
  onLast: f
3675
3718
  }, {
3676
- default: Y(() => {
3677
- var D;
3719
+ default: R(() => {
3720
+ var L;
3678
3721
  return [
3679
- rt(Z((D = T.props) == null ? void 0 : D.title), 1)
3722
+ rt(Z((L = T.props) == null ? void 0 : L.title), 1)
3680
3723
  ];
3681
3724
  }),
3682
3725
  _: 2
3683
3726
  }, 1032, ["class", "tab-id", "panel-id", "icon", "onClick"]);
3684
3727
  }), 128))
3685
3728
  ]),
3686
- default: Y(() => [
3687
- (u(!0), g(_, null, ne(o(A), (T, Q) => (u(), x(C, {
3729
+ default: R(() => [
3730
+ (u(!0), g(_, null, re(o(A), (T, Q) => (u(), k(C, {
3688
3731
  key: Q,
3689
3732
  "panel-id": `panel-${Q}`,
3690
3733
  "tab-id": `tab-${Q}`
3691
3734
  }, {
3692
- default: Y(() => [
3693
- (u(), x(ue(T.children.default)))
3735
+ default: R(() => [
3736
+ (u(), k(ue(T.children.default)))
3694
3737
  ]),
3695
3738
  _: 2
3696
3739
  }, 1032, ["panel-id", "tab-id"]))), 128))
@@ -3699,16 +3742,16 @@ const mi = {
3699
3742
  }, 8, ["modelValue", "class", "tab-list-name"]);
3700
3743
  };
3701
3744
  }
3702
- }), Hl = /* @__PURE__ */ V(Si, [["__scopeId", "data-v-dbd71c5f"]]), ki = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20opacity='0.6'%20y='3'%20width='34'%20height='14'%20rx='7'%20fill='%23D4D4EC'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M24.5%2020C30.0228%2020%2034.5%2015.5228%2034.5%2010C34.5%204.47715%2030.0228%200%2024.5%200C18.9772%200%2014.5%204.47715%2014.5%2010C14.5%2015.5228%2018.9772%2020%2024.5%2020Z'%20fill='%23000091'/%3e%3c/svg%3e", zi = "data:image/svg+xml,%3csvg%20width='34'%20height='20'%20viewBox='0%200%2034%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20y='3'%20width='34'%20height='14'%20rx='7'%20fill='%2314171A'%20fill-opacity='0.36'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10%2020C15.5228%2020%2020%2015.5228%2020%2010C20%204.47715%2015.5228%200%2010%200C4.47715%200%200%204.47715%200%2010C0%2015.5228%204.47715%2020%2010%2020Z'%20fill='%23F6F6F6'/%3e%3cpath%20d='M10%200.5C15.2467%200.5%2019.5%204.75329%2019.5%2010C19.5%2015.2467%2015.2467%2019.5%2010%2019.5C4.75329%2019.5%200.5%2015.2467%200.5%2010C0.5%204.75329%204.75329%200.5%2010%200.5Z'%20stroke='%2314171A'%20stroke-opacity='0.36'/%3e%3c/svg%3e", xi = ["id", "for"], ji = {
3745
+ }), Yl = /* @__PURE__ */ W(xi, [["__scopeId", "data-v-dbd71c5f"]]), ji = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20opacity='0.6'%20y='3'%20width='34'%20height='14'%20rx='7'%20fill='%23D4D4EC'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M24.5%2020C30.0228%2020%2034.5%2015.5228%2034.5%2010C34.5%204.47715%2030.0228%200%2024.5%200C18.9772%200%2014.5%204.47715%2014.5%2010C14.5%2015.5228%2018.9772%2020%2024.5%2020Z'%20fill='%23000091'/%3e%3c/svg%3e", Bi = "data:image/svg+xml,%3csvg%20width='34'%20height='20'%20viewBox='0%200%2034%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20y='3'%20width='34'%20height='14'%20rx='7'%20fill='%2314171A'%20fill-opacity='0.36'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10%2020C15.5228%2020%2020%2015.5228%2020%2010C20%204.47715%2015.5228%200%2010%200C4.47715%200%200%204.47715%200%2010C0%2015.5228%204.47715%2020%2010%2020Z'%20fill='%23F6F6F6'/%3e%3cpath%20d='M10%200.5C15.2467%200.5%2019.5%204.75329%2019.5%2010C19.5%2015.2467%2015.2467%2019.5%2010%2019.5C4.75329%2019.5%200.5%2015.2467%200.5%2010C0.5%204.75329%204.75329%200.5%2010%200.5Z'%20stroke='%2314171A'%20stroke-opacity='0.36'/%3e%3c/svg%3e", Pi = ["id", "for"], Wi = {
3703
3746
  width: "34",
3704
3747
  height: "14"
3705
- }, Bi = ["href"], Pi = {
3748
+ }, Vi = ["href"], Ui = {
3706
3749
  key: 0,
3707
3750
  class: "caption-bold no-select"
3708
- }, Wi = {
3751
+ }, Xi = {
3709
3752
  key: 1,
3710
3753
  class: "caption-regular no-select"
3711
- }, Vi = { class: "caption-regular" }, Ui = ["id", "disabled", "aria-disabled", "checked", "data-testid", "aria-describedby", "name"], Xi = /* @__PURE__ */ S({
3754
+ }, Hi = { class: "caption-regular" }, Zi = ["id", "disabled", "aria-disabled", "checked", "data-testid", "aria-describedby", "name"], qi = /* @__PURE__ */ O({
3712
3755
  __name: "AvToggle",
3713
3756
  props: {
3714
3757
  modelValue: { type: Boolean },
@@ -3735,17 +3778,17 @@ const mi = {
3735
3778
  "toggle--disabled": e.disabled
3736
3779
  }])
3737
3780
  }, [
3738
- (u(), g("svg", ji, [
3781
+ (u(), g("svg", Wi, [
3739
3782
  y("image", {
3740
- href: e.modelValue ? o(ki) : o(zi),
3783
+ href: e.modelValue ? o(ji) : o(Bi),
3741
3784
  width: "34",
3742
3785
  height: "14"
3743
- }, null, 8, Bi)
3786
+ }, null, 8, Vi)
3744
3787
  ])),
3745
- e.modelValue ? (u(), g("span", Pi, Z(e.activeText), 1)) : (u(), g("span", Wi, Z(e.inactiveText), 1))
3788
+ e.modelValue ? (u(), g("span", Ui, Z(e.activeText), 1)) : (u(), g("span", Xi, Z(e.inactiveText), 1))
3746
3789
  ], 2),
3747
- y("span", Vi, Z(e.description), 1)
3748
- ], 10, xi),
3790
+ y("span", Hi, Z(e.description), 1)
3791
+ ], 10, Pi),
3749
3792
  y("input", {
3750
3793
  id: o(a),
3751
3794
  style: { visibility: "hidden" },
@@ -3757,13 +3800,13 @@ const mi = {
3757
3800
  "aria-describedby": o(n),
3758
3801
  name: e.name,
3759
3802
  onInput: i[0] || (i[0] = (A) => r.$emit("update:modelValue", A.target.checked))
3760
- }, null, 40, Ui)
3803
+ }, null, 40, Zi)
3761
3804
  ], 64));
3762
3805
  }
3763
- }), Zl = /* @__PURE__ */ V(Xi, [["__scopeId", "data-v-0aabed11"]]), Hi = {
3806
+ }), Rl = /* @__PURE__ */ W(qi, [["__scopeId", "data-v-0aabed11"]]), Yi = {
3764
3807
  style: { position: "relative" },
3765
3808
  class: "my-nav-wrapper"
3766
- }, Zi = /* @__PURE__ */ S({
3809
+ }, Ri = /* @__PURE__ */ O({
3767
3810
  __name: "AvNavigation",
3768
3811
  props: {
3769
3812
  navItems: {}
@@ -3772,18 +3815,18 @@ const mi = {
3772
3815
  const t = e;
3773
3816
  return (a, n) => {
3774
3817
  const r = Ca;
3775
- return u(), g("div", Hi, [
3776
- P(r, Da(Oa(t)), null, 16)
3818
+ return u(), g("div", Yi, [
3819
+ P(r, Da(La(t)), null, 16)
3777
3820
  ]);
3778
3821
  };
3779
3822
  }
3780
- }), ql = /* @__PURE__ */ V(Zi, [["__scopeId", "data-v-433349ab"]]), qi = ["aria-label"], Yi = { class: "fr-pagination__list" }, Ri = { key: 0 }, Fi = { class: "b2-regular" }, Ki = ["href", "title", "aria-disabled"], Gi = { class: "fr-sr-only" }, Ji = ["href", "title", "aria-disabled"], _i = {
3823
+ }), Fl = /* @__PURE__ */ W(Ri, [["__scopeId", "data-v-433349ab"]]), Fi = ["aria-label"], Ki = { class: "fr-pagination__list" }, Gi = { key: 0 }, Ji = { class: "b2-regular" }, _i = ["href", "title", "aria-disabled"], $i = { class: "fr-sr-only" }, eo = ["href", "title", "aria-disabled"], to = {
3781
3824
  key: 0,
3782
3825
  class: "caption-regular fr-hidden fr-unhidden-md"
3783
- }, $i = ["href", "title", "aria-current", "onClick"], eo = { key: 0 }, to = { key: 1 }, ao = ["href", "title", "disabled", "aria-disabled"], no = {
3826
+ }, ao = ["href", "title", "aria-current", "onClick"], no = { key: 0 }, ro = { key: 1 }, Ao = ["href", "title", "disabled", "aria-disabled"], io = {
3784
3827
  key: 0,
3785
3828
  class: "caption-regular fr-hidden fr-unhidden-md"
3786
- }, ro = ["href", "title", "disabled", "aria-disabled"], Ao = { class: "fr-sr-only" }, io = /* @__PURE__ */ S({
3829
+ }, oo = ["href", "title", "disabled", "aria-disabled"], lo = { class: "fr-sr-only" }, so = /* @__PURE__ */ O({
3787
3830
  __name: "AvPagination",
3788
3831
  props: {
3789
3832
  compact: { type: Boolean, default: !1 },
@@ -3799,7 +3842,7 @@ const mi = {
3799
3842
  },
3800
3843
  emits: ["update:current-page"],
3801
3844
  setup(e, { emit: t }) {
3802
- const a = t, n = p(() => Math.min(e.pages.length - 1 - e.truncLimit, Math.max(e.currentPage - (e.truncLimit - e.truncLimit % 2) / 2, 0))), r = p(() => Math.min(e.pages.length - 1, n.value + e.truncLimit)), i = p(() => e.pages.length > e.truncLimit ? e.pages.slice(n.value, r.value + 1) : e.pages), A = (I) => a("update:current-page", I), l = (I) => A(I), s = () => l(0), c = () => l(Math.max(0, e.currentPage - 1)), d = () => l(Math.min(e.pages.length - 1, e.currentPage + 1)), f = () => l(e.pages.length - 1), b = (I) => e.pages.indexOf(I) === e.currentPage;
3845
+ const a = t, n = p(() => Math.min(e.pages.length - 1 - e.truncLimit, Math.max(e.currentPage - (e.truncLimit - e.truncLimit % 2) / 2, 0))), r = p(() => Math.min(e.pages.length - 1, n.value + e.truncLimit)), i = p(() => e.pages.length > e.truncLimit ? e.pages.slice(n.value, r.value + 1) : e.pages), A = (I) => a("update:current-page", I), l = (I) => A(I), s = () => l(0), c = () => l(Math.max(0, e.currentPage - 1)), d = () => l(Math.min(e.pages.length - 1, e.currentPage + 1)), f = () => l(e.pages.length - 1), h = (I) => e.pages.indexOf(I) === e.currentPage;
3803
3846
  return (I, m) => {
3804
3847
  var C, M, T, Q;
3805
3848
  return u(), g("nav", {
@@ -3807,12 +3850,12 @@ const mi = {
3807
3850
  class: "fr-pagination",
3808
3851
  "aria-label": e.ariaLabel
3809
3852
  }, [
3810
- y("ul", Yi, [
3811
- e.compact && e.compactCurrentPageLabel ? (u(), g("li", Ri, [
3812
- y("span", Fi, Z(e.compactCurrentPageLabel), 1)
3813
- ])) : O("", !0),
3853
+ y("ul", Ki, [
3854
+ e.compact && e.compactCurrentPageLabel ? (u(), g("li", Gi, [
3855
+ y("span", Ji, Z(e.compactCurrentPageLabel), 1)
3856
+ ])) : D("", !0),
3814
3857
  y("li", null, [
3815
- e.compact ? O("", !0) : (u(), g("a", {
3858
+ e.compact ? D("", !0) : (u(), g("a", {
3816
3859
  key: 0,
3817
3860
  href: (C = e.pages[0]) == null ? void 0 : C.href,
3818
3861
  class: "fr-pagination__link",
@@ -3820,13 +3863,13 @@ const mi = {
3820
3863
  "aria-disabled": e.currentPage === 0 ? !0 : void 0,
3821
3864
  onClick: m[0] || (m[0] = se((E) => s(), ["prevent"]))
3822
3865
  }, [
3823
- P(ae, {
3824
- name: o(R).PAGE_FIRST,
3866
+ P(ne, {
3867
+ name: o(Y).PAGE_FIRST,
3825
3868
  size: 1.5,
3826
3869
  color: e.currentPage === 0 ? "var(--dark-background-neutral)" : "var(--dark-background-primary1)"
3827
3870
  }, null, 8, ["name", "color"]),
3828
- y("span", Gi, Z(e.firstPageLabel), 1)
3829
- ], 8, Ki))
3871
+ y("span", $i, Z(e.firstPageLabel), 1)
3872
+ ], 8, _i))
3830
3873
  ]),
3831
3874
  y("li", null, [
3832
3875
  y("a", {
@@ -3836,26 +3879,26 @@ const mi = {
3836
3879
  "aria-disabled": e.currentPage === 0 ? !0 : void 0,
3837
3880
  onClick: m[1] || (m[1] = se((E) => c(), ["prevent"]))
3838
3881
  }, [
3839
- P(ae, {
3840
- name: o(R).NAVIGATE_BEFORE,
3882
+ P(ne, {
3883
+ name: o(Y).NAVIGATE_BEFORE,
3841
3884
  size: 1.5,
3842
3885
  color: e.currentPage === 0 ? "var(--dark-background-neutral)" : "var(--dark-background-primary1)"
3843
3886
  }, null, 8, ["name", "color"]),
3844
- e.compact ? O("", !0) : (u(), g("span", _i, Z(e.prevPageLabel), 1))
3845
- ], 8, Ji)
3887
+ e.compact ? D("", !0) : (u(), g("span", to, Z(e.prevPageLabel), 1))
3888
+ ], 8, eo)
3846
3889
  ]),
3847
- e.compact ? O("", !0) : (u(!0), g(_, { key: 1 }, ne(o(i), (E, D) => (u(), g("li", { key: D }, [
3890
+ e.compact ? D("", !0) : (u(!0), g(_, { key: 1 }, re(o(i), (E, L) => (u(), g("li", { key: L }, [
3848
3891
  y("a", {
3849
3892
  href: E == null ? void 0 : E.href,
3850
3893
  class: "fr-pagination__link fr-unhidden-lg",
3851
3894
  title: E.title,
3852
- "aria-current": b(E) ? "page" : void 0,
3895
+ "aria-current": h(E) ? "page" : void 0,
3853
3896
  onClick: se((j) => l(e.pages.indexOf(E)), ["prevent"])
3854
3897
  }, [
3855
- o(i).indexOf(E) === 0 && o(n) > 0 ? (u(), g("span", eo, "...")) : O("", !0),
3898
+ o(i).indexOf(E) === 0 && o(n) > 0 ? (u(), g("span", no, "...")) : D("", !0),
3856
3899
  rt(" " + Z(E.label) + " ", 1),
3857
- o(i).indexOf(E) === o(i).length - 1 && o(r) < e.pages.length - 1 ? (u(), g("span", to, "...")) : O("", !0)
3858
- ], 8, $i)
3900
+ o(i).indexOf(E) === o(i).length - 1 && o(r) < e.pages.length - 1 ? (u(), g("span", ro, "...")) : D("", !0)
3901
+ ], 8, ao)
3859
3902
  ]))), 128)),
3860
3903
  y("li", null, [
3861
3904
  y("a", {
@@ -3866,16 +3909,16 @@ const mi = {
3866
3909
  "aria-disabled": e.currentPage === e.pages.length - 1 ? !0 : void 0,
3867
3910
  onClick: m[2] || (m[2] = se((E) => d(), ["prevent"]))
3868
3911
  }, [
3869
- e.compact ? O("", !0) : (u(), g("span", no, Z(e.nextPageLabel), 1)),
3870
- P(ae, {
3871
- name: o(R).NAVIGATE_NEXT,
3912
+ e.compact ? D("", !0) : (u(), g("span", io, Z(e.nextPageLabel), 1)),
3913
+ P(ne, {
3914
+ name: o(Y).NAVIGATE_NEXT,
3872
3915
  size: 1.5,
3873
3916
  color: e.currentPage === e.pages.length - 1 ? "var(--dark-background-neutral)" : "var(--dark-background-primary1)"
3874
3917
  }, null, 8, ["name", "color"])
3875
- ], 8, ao)
3918
+ ], 8, Ao)
3876
3919
  ]),
3877
3920
  y("li", null, [
3878
- e.compact ? O("", !0) : (u(), g("a", {
3921
+ e.compact ? D("", !0) : (u(), g("a", {
3879
3922
  key: 0,
3880
3923
  class: "fr-pagination__link",
3881
3924
  href: (Q = e.pages.at(-1)) == null ? void 0 : Q.href,
@@ -3884,20 +3927,20 @@ const mi = {
3884
3927
  "aria-disabled": e.currentPage === e.pages.length - 1 ? !0 : void 0,
3885
3928
  onClick: m[3] || (m[3] = se((E) => f(), ["prevent"]))
3886
3929
  }, [
3887
- y("span", Ao, Z(e.lastPageLabel), 1),
3888
- P(ae, {
3889
- name: o(R).PAGE_LAST,
3930
+ y("span", lo, Z(e.lastPageLabel), 1),
3931
+ P(ne, {
3932
+ name: o(Y).PAGE_LAST,
3890
3933
  size: 1.5,
3891
3934
  color: e.currentPage === e.pages.length - 1 ? "var(--dark-background-neutral)" : "var(--dark-background-primary1)"
3892
3935
  }, null, 8, ["name", "color"])
3893
- ], 8, ro))
3936
+ ], 8, oo))
3894
3937
  ])
3895
3938
  ])
3896
- ], 8, qi);
3939
+ ], 8, Fi);
3897
3940
  };
3898
3941
  }
3899
- }), Yl = /* @__PURE__ */ V(io, [["__scopeId", "data-v-ccfe7c3a"]]);
3900
- function Rl(e) {
3942
+ }), Kl = /* @__PURE__ */ W(so, [["__scopeId", "data-v-ccfe7c3a"]]);
3943
+ function Gl(e) {
3901
3944
  return Array.from({ length: e.value }, (t, a) => {
3902
3945
  const n = a + 1;
3903
3946
  return {
@@ -3907,10 +3950,10 @@ function Rl(e) {
3907
3950
  };
3908
3951
  });
3909
3952
  }
3910
- const oo = ["id", "aria-label"], lo = {
3953
+ const co = ["id", "aria-label"], uo = {
3911
3954
  key: 0,
3912
3955
  class: "av-side-menu__header"
3913
- }, so = { class: "av-side-menu__content" }, co = /* @__PURE__ */ S({
3956
+ }, fo = { class: "av-side-menu__content" }, vo = /* @__PURE__ */ O({
3914
3957
  __name: "AvSideMenu",
3915
3958
  props: /* @__PURE__ */ ve({
3916
3959
  id: {},
@@ -3925,7 +3968,7 @@ const oo = ["id", "aria-label"], lo = {
3925
3968
  }),
3926
3969
  emits: /* @__PURE__ */ ve(["update:collapsed"], ["update:collapsed"]),
3927
3970
  setup(e) {
3928
- re((d) => ({
3971
+ te((d) => ({
3929
3972
  v4d5b7c17: o(s),
3930
3973
  v4a813d87: d.padding
3931
3974
  }));
@@ -3943,23 +3986,23 @@ const oo = ["id", "aria-label"], lo = {
3943
3986
  class: F(["av-side-menu", { "av-side-menu--collapsed": o(l) }]),
3944
3987
  "aria-label": o(A)
3945
3988
  }, [
3946
- t.collapsible ? (u(), g("div", lo, [
3947
- P(Ce, {
3989
+ t.collapsible ? (u(), g("div", uo, [
3990
+ P(me, {
3948
3991
  "aria-expanded": !o(l),
3949
3992
  "aria-controls": o(i),
3950
- icon: o(l) ? o(R).CHEVRON_DOUBLE_RIGHT : o(R).CHEVRON_DOUBLE_LEFT,
3993
+ icon: o(l) ? o(Y).CHEVRON_DOUBLE_RIGHT : o(Y).CHEVRON_DOUBLE_LEFT,
3951
3994
  class: "av-side-menu__collapse-button",
3952
3995
  label: o(l) ? `${o(i)}-expand-button` : `${o(i)}-collapse-button`,
3953
3996
  "icon-only": "",
3954
3997
  onClick: c
3955
3998
  }, null, 8, ["aria-expanded", "aria-controls", "icon", "label"])
3956
- ])) : O("", !0),
3957
- y("div", so, [
3999
+ ])) : D("", !0),
4000
+ y("div", fo, [
3958
4001
  B(d.$slots, "default", {}, void 0, !0)
3959
4002
  ])
3960
- ], 10, oo));
4003
+ ], 10, co));
3961
4004
  }
3962
- }), uo = /* @__PURE__ */ V(co, [["__scopeId", "data-v-23242ccc"]]), Fl = {
4005
+ }), mo = /* @__PURE__ */ W(vo, [["__scopeId", "data-v-23242ccc"]]), Jl = {
3963
4006
  name: "AvSideNavigation",
3964
4007
  props: {
3965
4008
  items: Array,
@@ -3969,7 +4012,7 @@ const oo = ["id", "aria-label"], lo = {
3969
4012
  },
3970
4013
  emits: ["update:selectedItem", "update:isSideMenuCollapsed"],
3971
4014
  template: `<div class="av-side-navigation-stub" @click="$emit('update:isSideMenuCollapsed', !isSideMenuCollapsed)" />`
3972
- }, fo = /* @__PURE__ */ S({
4015
+ }, go = /* @__PURE__ */ O({
3973
4016
  __name: "AvSideNavigation",
3974
4017
  props: /* @__PURE__ */ ve({
3975
4018
  items: {},
@@ -3991,19 +4034,19 @@ const oo = ["id", "aria-label"], lo = {
3991
4034
  function n(r) {
3992
4035
  t.value = r;
3993
4036
  }
3994
- return (r, i) => (u(), x(uo, {
4037
+ return (r, i) => (u(), k(mo, {
3995
4038
  collapsed: a.value,
3996
4039
  "onUpdate:collapsed": i[0] || (i[0] = (A) => a.value = A),
3997
4040
  "collapsed-width": e.collapsedWidth,
3998
4041
  color: e.selectedItemColor
3999
4042
  }, {
4000
- default: Y(() => [
4043
+ default: R(() => [
4001
4044
  P(o(Vt), {
4002
4045
  size: "small",
4003
4046
  role: "menu"
4004
4047
  }, {
4005
- default: Y(() => [
4006
- (u(!0), g(_, null, ne(e.items, (A) => (u(), x(o(Ut), {
4048
+ default: R(() => [
4049
+ (u(!0), g(_, null, re(e.items, (A) => (u(), k(o(Ut), {
4007
4050
  key: A.id,
4008
4051
  title: a.value ? void 0 : A.label,
4009
4052
  icon: A.icon,
@@ -4025,7 +4068,7 @@ const oo = ["id", "aria-label"], lo = {
4025
4068
  _: 1
4026
4069
  }, 8, ["collapsed", "collapsed-width", "color"]));
4027
4070
  }
4028
- }), Kl = /* @__PURE__ */ V(fo, [["__scopeId", "data-v-3c5a1abd"]]), Gl = {
4071
+ }), _l = /* @__PURE__ */ W(go, [["__scopeId", "data-v-3c5a1abd"]]), $l = {
4029
4072
  name: "AvStepper",
4030
4073
  props: {
4031
4074
  steps: {
@@ -4049,7 +4092,7 @@ const oo = ["id", "aria-label"], lo = {
4049
4092
  </div>
4050
4093
  </div>
4051
4094
  `
4052
- }, vo = { class: "custom-width-container" }, mo = { class: "block-container" }, go = { class: "main-container" }, Io = ["aria-current"], ho = ["aria-current"], bo = { class: "b1-regular" }, Co = { class: "main-labels-container" }, yo = /* @__PURE__ */ S({
4095
+ }, Io = { class: "custom-width-container" }, ho = { class: "block-container" }, bo = { class: "main-container" }, Co = ["aria-current"], yo = ["aria-current"], Eo = { class: "b1-regular" }, Mo = { class: "main-labels-container" }, po = /* @__PURE__ */ O({
4053
4096
  __name: "AvStepper",
4054
4097
  props: {
4055
4098
  steps: {},
@@ -4057,20 +4100,20 @@ const oo = ["id", "aria-label"], lo = {
4057
4100
  width: { default: "100%" }
4058
4101
  },
4059
4102
  setup(e) {
4060
- re((i) => ({
4103
+ te((i) => ({
4061
4104
  v06d1bdf1: o(r)
4062
4105
  }));
4063
4106
  const t = e, { steps: a, currentStep: n, width: r } = it(t);
4064
- return (i, A) => (u(), g("div", vo, [
4065
- y("div", mo, [
4066
- y("div", go, [
4107
+ return (i, A) => (u(), g("div", Io, [
4108
+ y("div", ho, [
4109
+ y("div", bo, [
4067
4110
  y("div", {
4068
4111
  class: "step step--active",
4069
4112
  "aria-current": o(n) === 0 ? "step" : void 0
4070
4113
  }, [...A[0] || (A[0] = [
4071
4114
  y("span", { class: "b1-regular" }, "1", -1)
4072
- ])], 8, Io),
4073
- (u(!0), g(_, null, ne(o(a).slice(1, o(a).length), (l, s) => (u(), g("div", {
4115
+ ])], 8, Co),
4116
+ (u(!0), g(_, null, re(o(a).slice(1, o(a).length), (l, s) => (u(), g("div", {
4074
4117
  key: s,
4075
4118
  class: "steps-container"
4076
4119
  }, [
@@ -4081,12 +4124,12 @@ const oo = ["id", "aria-label"], lo = {
4081
4124
  class: F(["step", { "step--active": s + 1 <= o(n) }]),
4082
4125
  "aria-current": s + 1 === o(n) ? "step" : void 0
4083
4126
  }, [
4084
- y("span", bo, Z(s + 2), 1)
4085
- ], 10, ho)
4127
+ y("span", Eo, Z(s + 2), 1)
4128
+ ], 10, yo)
4086
4129
  ]))), 128))
4087
4130
  ]),
4088
- y("div", Co, [
4089
- (u(!0), g(_, null, ne(o(a), (l, s) => (u(), g("div", {
4131
+ y("div", Mo, [
4132
+ (u(!0), g(_, null, re(o(a), (l, s) => (u(), g("div", {
4090
4133
  key: s,
4091
4134
  class: "label-container"
4092
4135
  }, [
@@ -4101,18 +4144,18 @@ const oo = ["id", "aria-label"], lo = {
4101
4144
  ])
4102
4145
  ]));
4103
4146
  }
4104
- }), Jl = /* @__PURE__ */ V(yo, [["__scopeId", "data-v-26a5b40e"]]), _l = {
4147
+ }), es = /* @__PURE__ */ W(po, [["__scopeId", "data-v-26a5b40e"]]), ts = {
4105
4148
  name: "AvDrawer",
4106
4149
  props: ["show", "position", "width"],
4107
4150
  emits: ["escape-pressed"],
4108
4151
  template: '<div class="av-drawer-stub"><slot /><slot name="footer" /></div>'
4109
- }, Eo = { key: 0 }, Mo = {
4152
+ }, No = { key: 0 }, To = {
4110
4153
  key: 0,
4111
4154
  class: "av-drawer-backdrop"
4112
- }, po = ["aria-label"], No = { class: "av-drawer__content-wrapper" }, To = { class: "av-drawer__content" }, Qo = {
4155
+ }, Qo = ["aria-label"], Do = { class: "av-drawer__content-wrapper" }, Lo = { class: "av-drawer__content" }, Oo = {
4113
4156
  key: 0,
4114
4157
  class: "footer-container"
4115
- }, Do = /* @__PURE__ */ S({
4158
+ }, wo = /* @__PURE__ */ O({
4116
4159
  __name: "AvDrawer",
4117
4160
  props: {
4118
4161
  show: { type: Boolean },
@@ -4124,13 +4167,13 @@ const oo = ["id", "aria-label"], lo = {
4124
4167
  },
4125
4168
  emits: ["escapePressed"],
4126
4169
  setup(e, { emit: t }) {
4127
- re((s) => ({
4170
+ te((s) => ({
4128
4171
  b9426bca: o(A),
4129
4172
  v7249d1b4: o(l)
4130
4173
  }));
4131
4174
  const a = e, n = t, r = ie(), { position: i, width: A, padding: l } = it(a);
4132
- return (s, c) => e.show ? (u(), g("div", Eo, [
4133
- e.backdrop ? (u(), g("div", Mo)) : O("", !0),
4175
+ return (s, c) => e.show ? (u(), g("div", No, [
4176
+ e.backdrop ? (u(), g("div", To)) : D("", !0),
4134
4177
  y("div", {
4135
4178
  class: F(["av-drawer", `av-drawer--${o(i)}`]),
4136
4179
  role: "dialog",
@@ -4138,24 +4181,23 @@ const oo = ["id", "aria-label"], lo = {
4138
4181
  "aria-label": e.ariaLabel,
4139
4182
  onKeydown: c[0] || (c[0] = ot((d) => n("escapePressed"), ["esc"]))
4140
4183
  }, [
4141
- y("div", No, [
4142
- y("div", To, [
4184
+ y("div", Do, [
4185
+ y("div", Lo, [
4143
4186
  B(s.$slots, "default", {}, void 0, !0)
4144
4187
  ]),
4145
- r.footer ? (u(), g("div", Qo, [
4188
+ r.footer ? (u(), g("div", Oo, [
4146
4189
  B(s.$slots, "footer", {}, void 0, !0)
4147
- ])) : O("", !0)
4190
+ ])) : D("", !0)
4148
4191
  ])
4149
- ], 42, po)
4150
- ])) : O("", !0);
4192
+ ], 42, Qo)
4193
+ ])) : D("", !0);
4151
4194
  }
4152
- }), $l = /* @__PURE__ */ V(Do, [["__scopeId", "data-v-4b1b7481"]]), Oo = {
4195
+ }), as = /* @__PURE__ */ W(wo, [["__scopeId", "data-v-4b1b7481"]]), So = {
4153
4196
  key: 0,
4154
4197
  class: "header"
4155
- }, wo = { class: "footer" }, Lo = /* @__PURE__ */ S({
4198
+ }, ko = { class: "footer" }, zo = /* @__PURE__ */ O({
4156
4199
  __name: "AvModal",
4157
4200
  props: {
4158
- closeButtonVariant: {},
4159
4201
  modalId: {},
4160
4202
  opened: { type: Boolean },
4161
4203
  isAlert: { type: Boolean },
@@ -4163,35 +4205,37 @@ const oo = ["id", "aria-label"], lo = {
4163
4205
  icon: {},
4164
4206
  size: {},
4165
4207
  closeButtonLabel: {},
4208
+ confirmButtonLabel: {},
4209
+ confirmButtonIcon: {},
4166
4210
  isLoading: { type: Boolean }
4167
4211
  },
4168
- emits: ["close"],
4212
+ emits: ["close", "confirm"],
4169
4213
  setup(e, { emit: t }) {
4170
- const a = Lt(e, ["isLoading"]), n = t, r = ie(), i = p(() => a.closeButtonVariant ?? "DEFAULT");
4214
+ const a = wt(e, ["isLoading"]), n = t, r = ie(), i = p(() => a.confirmButtonIcon ?? Y.CHECK_CIRCLE_OUTLINE);
4171
4215
  return (A, l) => {
4172
- const s = ya;
4173
- return u(), x(zt, { to: "body" }, [
4174
- P(s, ee(a, {
4216
+ const s = Wn, c = ya;
4217
+ return u(), k(zt, { to: "body" }, [
4218
+ P(c, ee(a, {
4175
4219
  title: "",
4176
- onKeydown: l[1] || (l[1] = ot((c) => n("close"), ["esc"]))
4220
+ onKeydown: l[2] || (l[2] = ot((d) => n("close"), ["esc"]))
4177
4221
  }), {
4178
- default: Y(() => [
4179
- r.header ? (u(), g("div", Oo, [
4222
+ default: R(() => [
4223
+ r.header ? (u(), g("div", So, [
4180
4224
  B(A.$slots, "header", {}, void 0, !0)
4181
- ])) : O("", !0),
4225
+ ])) : D("", !0),
4182
4226
  B(A.$slots, "default", {}, void 0, !0)
4183
4227
  ]),
4184
- footer: Y(() => [
4185
- y("div", wo, [
4186
- P(o(Ce), {
4187
- icon: o(R).CLOSE_CIRCLE_OUTLINE,
4188
- label: a.closeButtonLabel,
4189
- title: a.closeButtonLabel,
4190
- variant: o(i),
4228
+ footer: R(() => [
4229
+ y("div", ko, [
4230
+ P(s, {
4231
+ "cancel-label": a.closeButtonLabel,
4232
+ "cancel-icon": o(Y).CLOSE_CIRCLE_OUTLINE,
4233
+ "confirm-label": a.confirmButtonLabel,
4234
+ "confirm-icon": o(i),
4191
4235
  "is-loading": e.isLoading,
4192
- size: "sm",
4193
- onClick: l[0] || (l[0] = () => n("close"))
4194
- }, null, 8, ["icon", "label", "title", "variant", "is-loading"]),
4236
+ onCancel: l[0] || (l[0] = () => n("close")),
4237
+ onConfirm: l[1] || (l[1] = () => n("confirm"))
4238
+ }, null, 8, ["cancel-label", "cancel-icon", "confirm-label", "confirm-icon", "is-loading"]),
4195
4239
  B(A.$slots, "footer", {}, void 0, !0)
4196
4240
  ])
4197
4241
  ]),
@@ -4200,8 +4244,8 @@ const oo = ["id", "aria-label"], lo = {
4200
4244
  ]);
4201
4245
  };
4202
4246
  }
4203
- }), es = /* @__PURE__ */ V(Lo, [["__scopeId", "data-v-3153ca6f"]]);
4204
- function So(e, t) {
4247
+ }), ns = /* @__PURE__ */ W(zo, [["__scopeId", "data-v-3dea2f11"]]);
4248
+ function xo(e, t) {
4205
4249
  const a = J(!1), n = J({ top: 0, left: 0 }), r = async () => {
4206
4250
  if (a.value = !a.value, a.value && e.value) {
4207
4251
  await Re();
@@ -4233,7 +4277,7 @@ function So(e, t) {
4233
4277
  * tabbable 6.2.0
4234
4278
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
4235
4279
  */
4236
- var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], He = /* @__PURE__ */ Kt.join(","), Gt = typeof Element > "u", be = Gt ? function() {
4280
+ var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], He = /* @__PURE__ */ Kt.join(","), Gt = typeof Element > "u", Ce = Gt ? function() {
4237
4281
  } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, Ze = !Gt && Element.prototype.getRootNode ? function(e) {
4238
4282
  var t;
4239
4283
  return e == null || (t = e.getRootNode) === null || t === void 0 ? void 0 : t.call(e);
@@ -4244,14 +4288,14 @@ var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
4244
4288
  a === void 0 && (a = !0);
4245
4289
  var r = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "inert"), i = r === "" || r === "true", A = i || a && t && e(t.parentNode);
4246
4290
  return A;
4247
- }, ko = function(t) {
4291
+ }, jo = function(t) {
4248
4292
  var a, n = t == null || (a = t.getAttribute) === null || a === void 0 ? void 0 : a.call(t, "contenteditable");
4249
4293
  return n === "" || n === "true";
4250
4294
  }, Jt = function(t, a, n) {
4251
4295
  if (qe(t))
4252
4296
  return [];
4253
4297
  var r = Array.prototype.slice.apply(t.querySelectorAll(He));
4254
- return a && be.call(t, He) && r.unshift(t), r = r.filter(n), r;
4298
+ return a && Ce.call(t, He) && r.unshift(t), r = r.filter(n), r;
4255
4299
  }, _t = function e(t, a, n) {
4256
4300
  for (var r = [], i = Array.from(t); i.length; ) {
4257
4301
  var A = i.shift();
@@ -4263,11 +4307,11 @@ var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
4263
4307
  candidates: c
4264
4308
  });
4265
4309
  } else {
4266
- var d = be.call(A, He);
4310
+ var d = Ce.call(A, He);
4267
4311
  d && n.filter(A) && (a || !t.includes(A)) && r.push(A);
4268
4312
  var f = A.shadowRoot || // check for an undisclosed shadow
4269
- typeof n.getShadowRoot == "function" && n.getShadowRoot(A), b = !qe(f, !1) && (!n.shadowRootFilter || n.shadowRootFilter(A));
4270
- if (f && b) {
4313
+ typeof n.getShadowRoot == "function" && n.getShadowRoot(A), h = !qe(f, !1) && (!n.shadowRootFilter || n.shadowRootFilter(A));
4314
+ if (f && h) {
4271
4315
  var I = e(f === !0 ? A.children : f.children, !0, n);
4272
4316
  n.flatten ? r.push.apply(r, I) : r.push({
4273
4317
  scopeParent: A,
@@ -4280,29 +4324,29 @@ var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
4280
4324
  return r;
4281
4325
  }, $t = function(t) {
4282
4326
  return !isNaN(parseInt(t.getAttribute("tabindex"), 10));
4283
- }, he = function(t) {
4327
+ }, be = function(t) {
4284
4328
  if (!t)
4285
4329
  throw new Error("No node provided");
4286
- return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || ko(t)) && !$t(t) ? 0 : t.tabIndex;
4287
- }, zo = function(t, a) {
4288
- var n = he(t);
4330
+ return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || jo(t)) && !$t(t) ? 0 : t.tabIndex;
4331
+ }, Bo = function(t, a) {
4332
+ var n = be(t);
4289
4333
  return n < 0 && a && !$t(t) ? 0 : n;
4290
- }, xo = function(t, a) {
4334
+ }, Po = function(t, a) {
4291
4335
  return t.tabIndex === a.tabIndex ? t.documentOrder - a.documentOrder : t.tabIndex - a.tabIndex;
4292
4336
  }, ea = function(t) {
4293
4337
  return t.tagName === "INPUT";
4294
- }, jo = function(t) {
4338
+ }, Wo = function(t) {
4295
4339
  return ea(t) && t.type === "hidden";
4296
- }, Bo = function(t) {
4340
+ }, Vo = function(t) {
4297
4341
  var a = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(n) {
4298
4342
  return n.tagName === "SUMMARY";
4299
4343
  });
4300
4344
  return a;
4301
- }, Po = function(t, a) {
4345
+ }, Uo = function(t, a) {
4302
4346
  for (var n = 0; n < t.length; n++)
4303
4347
  if (t[n].checked && t[n].form === a)
4304
4348
  return t[n];
4305
- }, Wo = function(t) {
4349
+ }, Xo = function(t) {
4306
4350
  if (!t.name)
4307
4351
  return !0;
4308
4352
  var a = t.form || Ze(t), n = function(l) {
@@ -4316,13 +4360,13 @@ var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
4316
4360
  } catch (A) {
4317
4361
  return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", A.message), !1;
4318
4362
  }
4319
- var i = Po(r, t.form);
4363
+ var i = Uo(r, t.form);
4320
4364
  return !i || i === t;
4321
- }, Vo = function(t) {
4365
+ }, Ho = function(t) {
4322
4366
  return ea(t) && t.type === "radio";
4323
- }, Uo = function(t) {
4324
- return Vo(t) && !Wo(t);
4325
- }, Xo = function(t) {
4367
+ }, Zo = function(t) {
4368
+ return Ho(t) && !Xo(t);
4369
+ }, qo = function(t) {
4326
4370
  var a, n = t && Ze(t), r = (a = n) === null || a === void 0 ? void 0 : a.host, i = !1;
4327
4371
  if (n && n !== t) {
4328
4372
  var A, l, s;
@@ -4335,12 +4379,12 @@ var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
4335
4379
  }, Tt = function(t) {
4336
4380
  var a = t.getBoundingClientRect(), n = a.width, r = a.height;
4337
4381
  return n === 0 && r === 0;
4338
- }, Ho = function(t, a) {
4382
+ }, Yo = function(t, a) {
4339
4383
  var n = a.displayCheck, r = a.getShadowRoot;
4340
4384
  if (getComputedStyle(t).visibility === "hidden")
4341
4385
  return !0;
4342
- var i = be.call(t, "details>summary:first-of-type"), A = i ? t.parentElement : t;
4343
- if (be.call(A, "details:not([open]) *"))
4386
+ var i = Ce.call(t, "details>summary:first-of-type"), A = i ? t.parentElement : t;
4387
+ if (Ce.call(A, "details:not([open]) *"))
4344
4388
  return !0;
4345
4389
  if (!n || n === "full" || n === "legacy-full") {
4346
4390
  if (typeof r == "function") {
@@ -4352,21 +4396,21 @@ var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
4352
4396
  }
4353
4397
  t = l;
4354
4398
  }
4355
- if (Xo(t))
4399
+ if (qo(t))
4356
4400
  return !t.getClientRects().length;
4357
4401
  if (n !== "legacy-full")
4358
4402
  return !0;
4359
4403
  } else if (n === "non-zero-area")
4360
4404
  return Tt(t);
4361
4405
  return !1;
4362
- }, Zo = function(t) {
4406
+ }, Ro = function(t) {
4363
4407
  if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))
4364
4408
  for (var a = t.parentElement; a; ) {
4365
4409
  if (a.tagName === "FIELDSET" && a.disabled) {
4366
4410
  for (var n = 0; n < a.children.length; n++) {
4367
4411
  var r = a.children.item(n);
4368
4412
  if (r.tagName === "LEGEND")
4369
- return be.call(a, "fieldset[disabled] *") ? !0 : !r.contains(t);
4413
+ return Ce.call(a, "fieldset[disabled] *") ? !0 : !r.contains(t);
4370
4414
  }
4371
4415
  return !0;
4372
4416
  }
@@ -4377,17 +4421,17 @@ var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
4377
4421
  return !(a.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
4378
4422
  // because we're limited in the type of selectors we can use in JSDom (see related
4379
4423
  // note related to `candidateSelectors`)
4380
- qe(a) || jo(a) || Ho(a, t) || // For a details element with a summary, the summary element gets the focus
4381
- Bo(a) || Zo(a));
4424
+ qe(a) || Wo(a) || Yo(a, t) || // For a details element with a summary, the summary element gets the focus
4425
+ Vo(a) || Ro(a));
4382
4426
  }, at = function(t, a) {
4383
- return !(Uo(a) || he(a) < 0 || !Ye(t, a));
4384
- }, qo = function(t) {
4427
+ return !(Zo(a) || be(a) < 0 || !Ye(t, a));
4428
+ }, Fo = function(t) {
4385
4429
  var a = parseInt(t.getAttribute("tabindex"), 10);
4386
4430
  return !!(isNaN(a) || a >= 0);
4387
- }, Yo = function e(t) {
4431
+ }, Ko = function e(t) {
4388
4432
  var a = [], n = [];
4389
4433
  return t.forEach(function(r, i) {
4390
- var A = !!r.scopeParent, l = A ? r.scopeParent : r, s = zo(l, A), c = A ? e(r.candidates) : l;
4434
+ var A = !!r.scopeParent, l = A ? r.scopeParent : r, s = Bo(l, A), c = A ? e(r.candidates) : l;
4391
4435
  s === 0 ? A ? a.push.apply(a, c) : a.push(l) : n.push({
4392
4436
  documentOrder: i,
4393
4437
  tabIndex: s,
@@ -4395,19 +4439,19 @@ var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
4395
4439
  isScope: A,
4396
4440
  content: c
4397
4441
  });
4398
- }), n.sort(xo).reduce(function(r, i) {
4442
+ }), n.sort(Po).reduce(function(r, i) {
4399
4443
  return i.isScope ? r.push.apply(r, i.content) : r.push(i.content), r;
4400
4444
  }, []).concat(a);
4401
- }, Ro = function(t, a) {
4445
+ }, Go = function(t, a) {
4402
4446
  a = a || {};
4403
4447
  var n;
4404
4448
  return a.getShadowRoot ? n = _t([t], a.includeContainer, {
4405
4449
  filter: at.bind(null, a),
4406
4450
  flatten: !1,
4407
4451
  getShadowRoot: a.getShadowRoot,
4408
- shadowRootFilter: qo
4409
- }) : n = Jt(t, a.includeContainer, at.bind(null, a)), Yo(n);
4410
- }, Fo = function(t, a) {
4452
+ shadowRootFilter: Fo
4453
+ }) : n = Jt(t, a.includeContainer, at.bind(null, a)), Ko(n);
4454
+ }, Jo = function(t, a) {
4411
4455
  a = a || {};
4412
4456
  var n;
4413
4457
  return a.getShadowRoot ? n = _t([t], a.includeContainer, {
@@ -4418,11 +4462,11 @@ var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
4418
4462
  }, Ee = function(t, a) {
4419
4463
  if (a = a || {}, !t)
4420
4464
  throw new Error("No node provided");
4421
- return be.call(t, He) === !1 ? !1 : at(a, t);
4422
- }, Ko = /* @__PURE__ */ Kt.concat("iframe").join(","), et = function(t, a) {
4465
+ return Ce.call(t, He) === !1 ? !1 : at(a, t);
4466
+ }, _o = /* @__PURE__ */ Kt.concat("iframe").join(","), et = function(t, a) {
4423
4467
  if (a = a || {}, !t)
4424
4468
  throw new Error("No node provided");
4425
- return be.call(t, Ko) === !1 ? !1 : Ye(a, t);
4469
+ return Ce.call(t, _o) === !1 ? !1 : Ye(a, t);
4426
4470
  };
4427
4471
  /*!
4428
4472
  * focus-trap 7.6.5
@@ -4433,21 +4477,21 @@ function nt(e, t) {
4433
4477
  for (var a = 0, n = Array(t); a < t; a++) n[a] = e[a];
4434
4478
  return n;
4435
4479
  }
4436
- function Go(e) {
4480
+ function $o(e) {
4437
4481
  if (Array.isArray(e)) return nt(e);
4438
4482
  }
4439
- function Jo(e, t, a) {
4440
- return (t = al(t)) in e ? Object.defineProperty(e, t, {
4483
+ function el(e, t, a) {
4484
+ return (t = Al(t)) in e ? Object.defineProperty(e, t, {
4441
4485
  value: a,
4442
4486
  enumerable: !0,
4443
4487
  configurable: !0,
4444
4488
  writable: !0
4445
4489
  }) : e[t] = a, e;
4446
4490
  }
4447
- function _o(e) {
4491
+ function tl(e) {
4448
4492
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
4449
4493
  }
4450
- function $o() {
4494
+ function al() {
4451
4495
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
4452
4496
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
4453
4497
  }
@@ -4465,17 +4509,17 @@ function Dt(e) {
4465
4509
  for (var t = 1; t < arguments.length; t++) {
4466
4510
  var a = arguments[t] != null ? arguments[t] : {};
4467
4511
  t % 2 ? Qt(Object(a), !0).forEach(function(n) {
4468
- Jo(e, n, a[n]);
4512
+ el(e, n, a[n]);
4469
4513
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(a)) : Qt(Object(a)).forEach(function(n) {
4470
4514
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(a, n));
4471
4515
  });
4472
4516
  }
4473
4517
  return e;
4474
4518
  }
4475
- function el(e) {
4476
- return Go(e) || _o(e) || nl(e) || $o();
4519
+ function nl(e) {
4520
+ return $o(e) || tl(e) || il(e) || al();
4477
4521
  }
4478
- function tl(e, t) {
4522
+ function rl(e, t) {
4479
4523
  if (typeof e != "object" || !e) return e;
4480
4524
  var a = e[Symbol.toPrimitive];
4481
4525
  if (a !== void 0) {
@@ -4485,18 +4529,18 @@ function tl(e, t) {
4485
4529
  }
4486
4530
  return (t === "string" ? String : Number)(e);
4487
4531
  }
4488
- function al(e) {
4489
- var t = tl(e, "string");
4532
+ function Al(e) {
4533
+ var t = rl(e, "string");
4490
4534
  return typeof t == "symbol" ? t : t + "";
4491
4535
  }
4492
- function nl(e, t) {
4536
+ function il(e, t) {
4493
4537
  if (e) {
4494
4538
  if (typeof e == "string") return nt(e, t);
4495
4539
  var a = {}.toString.call(e).slice(8, -1);
4496
4540
  return a === "Object" && e.constructor && (a = e.constructor.name), a === "Map" || a === "Set" ? Array.from(e) : a === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a) ? nt(e, t) : void 0;
4497
4541
  }
4498
4542
  }
4499
- var Ot = {
4543
+ var Lt = {
4500
4544
  activateTrap: function(t, a) {
4501
4545
  if (t.length > 0) {
4502
4546
  var n = t[t.length - 1];
@@ -4509,31 +4553,31 @@ var Ot = {
4509
4553
  var n = t.indexOf(a);
4510
4554
  n !== -1 && t.splice(n, 1), t.length > 0 && !t[t.length - 1]._isManuallyPaused() && t[t.length - 1]._setPausedState(!1);
4511
4555
  }
4512
- }, rl = function(t) {
4556
+ }, ol = function(t) {
4513
4557
  return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
4514
- }, Al = function(t) {
4558
+ }, ll = function(t) {
4515
4559
  return (t == null ? void 0 : t.key) === "Escape" || (t == null ? void 0 : t.key) === "Esc" || (t == null ? void 0 : t.keyCode) === 27;
4516
4560
  }, Se = function(t) {
4517
4561
  return (t == null ? void 0 : t.key) === "Tab" || (t == null ? void 0 : t.keyCode) === 9;
4518
- }, il = function(t) {
4562
+ }, sl = function(t) {
4519
4563
  return Se(t) && !t.shiftKey;
4520
- }, ol = function(t) {
4564
+ }, cl = function(t) {
4521
4565
  return Se(t) && t.shiftKey;
4522
- }, wt = function(t) {
4566
+ }, Ot = function(t) {
4523
4567
  return setTimeout(t, 0);
4524
- }, we = function(t) {
4568
+ }, Oe = function(t) {
4525
4569
  for (var a = arguments.length, n = new Array(a > 1 ? a - 1 : 0), r = 1; r < a; r++)
4526
4570
  n[r - 1] = arguments[r];
4527
4571
  return typeof t == "function" ? t.apply(void 0, n) : t;
4528
4572
  }, Be = function(t) {
4529
4573
  return t.target.shadowRoot && typeof t.composedPath == "function" ? t.composedPath()[0] : t.target;
4530
- }, ll = [], sl = function(t, a) {
4531
- var n = (a == null ? void 0 : a.document) || document, r = (a == null ? void 0 : a.trapStack) || ll, i = Dt({
4574
+ }, ul = [], dl = function(t, a) {
4575
+ var n = (a == null ? void 0 : a.document) || document, r = (a == null ? void 0 : a.trapStack) || ul, i = Dt({
4532
4576
  returnFocusOnDeactivate: !0,
4533
4577
  escapeDeactivates: !0,
4534
4578
  delayInitialFocus: !0,
4535
- isKeyForward: il,
4536
- isKeyBackward: ol
4579
+ isKeyForward: sl,
4580
+ isKeyBackward: cl
4537
4581
  }, a), A = {
4538
4582
  // containers given to createFocusTrap()
4539
4583
  // @type {Array<HTMLElement>}
@@ -4571,35 +4615,35 @@ var Ot = {
4571
4615
  delayInitialFocusTimer: void 0,
4572
4616
  // the most recent KeyboardEvent for the configured nav key (typically [SHIFT+]TAB), if any
4573
4617
  recentNavEvent: void 0
4574
- }, l, s = function(v, h, N) {
4575
- return v && v[h] !== void 0 ? v[h] : i[N || h];
4576
- }, c = function(v, h) {
4577
- var N = typeof (h == null ? void 0 : h.composedPath) == "function" ? h.composedPath() : void 0;
4578
- return A.containerGroups.findIndex(function(k) {
4579
- var U = k.container, q = k.tabbableNodes;
4618
+ }, l, s = function(v, b, N) {
4619
+ return v && v[b] !== void 0 ? v[b] : i[N || b];
4620
+ }, c = function(v, b) {
4621
+ var N = typeof (b == null ? void 0 : b.composedPath) == "function" ? b.composedPath() : void 0;
4622
+ return A.containerGroups.findIndex(function(z) {
4623
+ var U = z.container, q = z.tabbableNodes;
4580
4624
  return U.contains(v) || // fall back to explicit tabbable search which will take into consideration any
4581
4625
  // web components if the `tabbableOptions.getShadowRoot` option was used for
4582
4626
  // the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
4583
4627
  // look inside web components even if open)
4584
- (N == null ? void 0 : N.includes(U)) || q.find(function(L) {
4585
- return L === v;
4628
+ (N == null ? void 0 : N.includes(U)) || q.find(function(S) {
4629
+ return S === v;
4586
4630
  });
4587
4631
  });
4588
4632
  }, d = function(v) {
4589
- var h = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, N = h.hasFallback, k = N === void 0 ? !1 : N, U = h.params, q = U === void 0 ? [] : U, L = i[v];
4590
- if (typeof L == "function" && (L = L.apply(void 0, el(q))), L === !0 && (L = void 0), !L) {
4591
- if (L === void 0 || L === !1)
4592
- return L;
4633
+ var b = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, N = b.hasFallback, z = N === void 0 ? !1 : N, U = b.params, q = U === void 0 ? [] : U, S = i[v];
4634
+ if (typeof S == "function" && (S = S.apply(void 0, nl(q))), S === !0 && (S = void 0), !S) {
4635
+ if (S === void 0 || S === !1)
4636
+ return S;
4593
4637
  throw new Error("`".concat(v, "` was specified but was not a node, or did not return a node"));
4594
4638
  }
4595
- var K = L;
4596
- if (typeof L == "string") {
4639
+ var K = S;
4640
+ if (typeof S == "string") {
4597
4641
  try {
4598
- K = n.querySelector(L);
4642
+ K = n.querySelector(S);
4599
4643
  } catch (G) {
4600
4644
  throw new Error("`".concat(v, '` appears to be an invalid selector; error="').concat(G.message, '"'));
4601
4645
  }
4602
- if (!K && !k)
4646
+ if (!K && !z)
4603
4647
  throw new Error("`".concat(v, "` as selector refers to no known node"));
4604
4648
  }
4605
4649
  return K;
@@ -4613,30 +4657,30 @@ var Ot = {
4613
4657
  if (c(n.activeElement) >= 0)
4614
4658
  v = n.activeElement;
4615
4659
  else {
4616
- var h = A.tabbableGroups[0], N = h && h.firstTabbableNode;
4660
+ var b = A.tabbableGroups[0], N = b && b.firstTabbableNode;
4617
4661
  v = N || d("fallbackFocus");
4618
4662
  }
4619
4663
  else v === null && (v = d("fallbackFocus"));
4620
4664
  if (!v)
4621
4665
  throw new Error("Your focus-trap needs to have at least one focusable element");
4622
4666
  return v;
4623
- }, b = function() {
4667
+ }, h = function() {
4624
4668
  if (A.containerGroups = A.containers.map(function(v) {
4625
- var h = Ro(v, i.tabbableOptions), N = Fo(v, i.tabbableOptions), k = h.length > 0 ? h[0] : void 0, U = h.length > 0 ? h[h.length - 1] : void 0, q = N.find(function(G) {
4669
+ var b = Go(v, i.tabbableOptions), N = Jo(v, i.tabbableOptions), z = b.length > 0 ? b[0] : void 0, U = b.length > 0 ? b[b.length - 1] : void 0, q = N.find(function(G) {
4626
4670
  return Ee(G);
4627
- }), L = N.slice().reverse().find(function(G) {
4671
+ }), S = N.slice().reverse().find(function(G) {
4628
4672
  return Ee(G);
4629
- }), K = !!h.find(function(G) {
4630
- return he(G) > 0;
4673
+ }), K = !!b.find(function(G) {
4674
+ return be(G) > 0;
4631
4675
  });
4632
4676
  return {
4633
4677
  container: v,
4634
- tabbableNodes: h,
4678
+ tabbableNodes: b,
4635
4679
  focusableNodes: N,
4636
4680
  /** True if at least one node with positive `tabindex` was found in this container. */
4637
4681
  posTabIndexesFound: K,
4638
4682
  /** First tabbable node in container, __tabindex__ order; `undefined` if none. */
4639
- firstTabbableNode: k,
4683
+ firstTabbableNode: z,
4640
4684
  /** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
4641
4685
  lastTabbableNode: U,
4642
4686
  // NOTE: DOM order is NOT NECESSARILY "document position" order, but figuring that out
@@ -4649,7 +4693,7 @@ var Ot = {
4649
4693
  /** First tabbable node in container, __DOM__ order; `undefined` if none. */
4650
4694
  firstDomTabbableNode: q,
4651
4695
  /** Last tabbable node in container, __DOM__ order; `undefined` if none. */
4652
- lastDomTabbableNode: L,
4696
+ lastDomTabbableNode: S,
4653
4697
  /**
4654
4698
  * Finds the __tabbable__ node that follows the given node in the specified direction,
4655
4699
  * in this container, if any.
@@ -4658,13 +4702,13 @@ var Ot = {
4658
4702
  * in reverse.
4659
4703
  * @returns {HTMLElement|undefined} The next tabbable node, if any.
4660
4704
  */
4661
- nextTabbableNode: function(ge) {
4662
- var Ne = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, de = h.indexOf(ge);
4663
- return de < 0 ? Ne ? N.slice(N.indexOf(ge) + 1).find(function(Te) {
4705
+ nextTabbableNode: function(Ie) {
4706
+ var Ne = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, de = b.indexOf(Ie);
4707
+ return de < 0 ? Ne ? N.slice(N.indexOf(Ie) + 1).find(function(Te) {
4664
4708
  return Ee(Te);
4665
- }) : N.slice(0, N.indexOf(ge)).reverse().find(function(Te) {
4709
+ }) : N.slice(0, N.indexOf(Ie)).reverse().find(function(Te) {
4666
4710
  return Ee(Te);
4667
- }) : h[de + (Ne ? 1 : -1)];
4711
+ }) : b[de + (Ne ? 1 : -1)];
4668
4712
  }
4669
4713
  };
4670
4714
  }), A.tabbableGroups = A.containerGroups.filter(function(v) {
@@ -4676,9 +4720,9 @@ var Ot = {
4676
4720
  }) && A.containerGroups.length > 1)
4677
4721
  throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
4678
4722
  }, I = function(v) {
4679
- var h = v.activeElement;
4680
- if (h)
4681
- return h.shadowRoot && h.shadowRoot.activeElement !== null ? I(h.shadowRoot) : h;
4723
+ var b = v.activeElement;
4724
+ if (b)
4725
+ return b.shadowRoot && b.shadowRoot.activeElement !== null ? I(b.shadowRoot) : b;
4682
4726
  }, m = function(v) {
4683
4727
  if (v !== !1 && v !== I(document)) {
4684
4728
  if (!v || !v.focus) {
@@ -4687,47 +4731,47 @@ var Ot = {
4687
4731
  }
4688
4732
  v.focus({
4689
4733
  preventScroll: !!i.preventScroll
4690
- }), A.mostRecentlyFocusedNode = v, rl(v) && v.select();
4734
+ }), A.mostRecentlyFocusedNode = v, ol(v) && v.select();
4691
4735
  }
4692
4736
  }, C = function(v) {
4693
- var h = d("setReturnFocus", {
4737
+ var b = d("setReturnFocus", {
4694
4738
  params: [v]
4695
4739
  });
4696
- return h || (h === !1 ? !1 : v);
4740
+ return b || (b === !1 ? !1 : v);
4697
4741
  }, M = function(v) {
4698
- var h = v.target, N = v.event, k = v.isBackward, U = k === void 0 ? !1 : k;
4699
- h = h || Be(N), b();
4742
+ var b = v.target, N = v.event, z = v.isBackward, U = z === void 0 ? !1 : z;
4743
+ b = b || Be(N), h();
4700
4744
  var q = null;
4701
4745
  if (A.tabbableGroups.length > 0) {
4702
- var L = c(h, N), K = L >= 0 ? A.containerGroups[L] : void 0;
4703
- if (L < 0)
4746
+ var S = c(b, N), K = S >= 0 ? A.containerGroups[S] : void 0;
4747
+ if (S < 0)
4704
4748
  U ? q = A.tabbableGroups[A.tabbableGroups.length - 1].lastTabbableNode : q = A.tabbableGroups[0].firstTabbableNode;
4705
4749
  else if (U) {
4706
4750
  var G = A.tabbableGroups.findIndex(function(Ke) {
4707
4751
  var Ge = Ke.firstTabbableNode;
4708
- return h === Ge;
4752
+ return b === Ge;
4709
4753
  });
4710
- if (G < 0 && (K.container === h || et(h, i.tabbableOptions) && !Ee(h, i.tabbableOptions) && !K.nextTabbableNode(h, !1)) && (G = L), G >= 0) {
4711
- var ge = G === 0 ? A.tabbableGroups.length - 1 : G - 1, Ne = A.tabbableGroups[ge];
4712
- q = he(h) >= 0 ? Ne.lastTabbableNode : Ne.lastDomTabbableNode;
4713
- } else Se(N) || (q = K.nextTabbableNode(h, !1));
4754
+ if (G < 0 && (K.container === b || et(b, i.tabbableOptions) && !Ee(b, i.tabbableOptions) && !K.nextTabbableNode(b, !1)) && (G = S), G >= 0) {
4755
+ var Ie = G === 0 ? A.tabbableGroups.length - 1 : G - 1, Ne = A.tabbableGroups[Ie];
4756
+ q = be(b) >= 0 ? Ne.lastTabbableNode : Ne.lastDomTabbableNode;
4757
+ } else Se(N) || (q = K.nextTabbableNode(b, !1));
4714
4758
  } else {
4715
4759
  var de = A.tabbableGroups.findIndex(function(Ke) {
4716
4760
  var Ge = Ke.lastTabbableNode;
4717
- return h === Ge;
4761
+ return b === Ge;
4718
4762
  });
4719
- if (de < 0 && (K.container === h || et(h, i.tabbableOptions) && !Ee(h, i.tabbableOptions) && !K.nextTabbableNode(h)) && (de = L), de >= 0) {
4763
+ if (de < 0 && (K.container === b || et(b, i.tabbableOptions) && !Ee(b, i.tabbableOptions) && !K.nextTabbableNode(b)) && (de = S), de >= 0) {
4720
4764
  var Te = de === A.tabbableGroups.length - 1 ? 0 : de + 1, ut = A.tabbableGroups[Te];
4721
- q = he(h) >= 0 ? ut.firstTabbableNode : ut.firstDomTabbableNode;
4722
- } else Se(N) || (q = K.nextTabbableNode(h));
4765
+ q = be(b) >= 0 ? ut.firstTabbableNode : ut.firstDomTabbableNode;
4766
+ } else Se(N) || (q = K.nextTabbableNode(b));
4723
4767
  }
4724
4768
  } else
4725
4769
  q = d("fallbackFocus");
4726
4770
  return q;
4727
4771
  }, T = function(v) {
4728
- var h = Be(v);
4729
- if (!(c(h, v) >= 0)) {
4730
- if (we(i.clickOutsideDeactivates, v)) {
4772
+ var b = Be(v);
4773
+ if (!(c(b, v) >= 0)) {
4774
+ if (Oe(i.clickOutsideDeactivates, v)) {
4731
4775
  l.deactivate({
4732
4776
  // NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
4733
4777
  // which will result in the outside click setting focus to the node
@@ -4739,58 +4783,58 @@ var Ot = {
4739
4783
  });
4740
4784
  return;
4741
4785
  }
4742
- we(i.allowOutsideClick, v) || v.preventDefault();
4786
+ Oe(i.allowOutsideClick, v) || v.preventDefault();
4743
4787
  }
4744
4788
  }, Q = function(v) {
4745
- var h = Be(v), N = c(h, v) >= 0;
4746
- if (N || h instanceof Document)
4747
- N && (A.mostRecentlyFocusedNode = h);
4789
+ var b = Be(v), N = c(b, v) >= 0;
4790
+ if (N || b instanceof Document)
4791
+ N && (A.mostRecentlyFocusedNode = b);
4748
4792
  else {
4749
4793
  v.stopImmediatePropagation();
4750
- var k, U = !0;
4794
+ var z, U = !0;
4751
4795
  if (A.mostRecentlyFocusedNode)
4752
- if (he(A.mostRecentlyFocusedNode) > 0) {
4753
- var q = c(A.mostRecentlyFocusedNode), L = A.containerGroups[q].tabbableNodes;
4754
- if (L.length > 0) {
4755
- var K = L.findIndex(function(G) {
4796
+ if (be(A.mostRecentlyFocusedNode) > 0) {
4797
+ var q = c(A.mostRecentlyFocusedNode), S = A.containerGroups[q].tabbableNodes;
4798
+ if (S.length > 0) {
4799
+ var K = S.findIndex(function(G) {
4756
4800
  return G === A.mostRecentlyFocusedNode;
4757
4801
  });
4758
- K >= 0 && (i.isKeyForward(A.recentNavEvent) ? K + 1 < L.length && (k = L[K + 1], U = !1) : K - 1 >= 0 && (k = L[K - 1], U = !1));
4802
+ K >= 0 && (i.isKeyForward(A.recentNavEvent) ? K + 1 < S.length && (z = S[K + 1], U = !1) : K - 1 >= 0 && (z = S[K - 1], U = !1));
4759
4803
  }
4760
4804
  } else
4761
4805
  A.containerGroups.some(function(G) {
4762
- return G.tabbableNodes.some(function(ge) {
4763
- return he(ge) > 0;
4806
+ return G.tabbableNodes.some(function(Ie) {
4807
+ return be(Ie) > 0;
4764
4808
  });
4765
4809
  }) || (U = !1);
4766
4810
  else
4767
4811
  U = !1;
4768
- U && (k = M({
4812
+ U && (z = M({
4769
4813
  // move FROM the MRU node, not event-related node (which will be the node that is
4770
4814
  // outside the trap causing the focus escape we're trying to fix)
4771
4815
  target: A.mostRecentlyFocusedNode,
4772
4816
  isBackward: i.isKeyBackward(A.recentNavEvent)
4773
- })), m(k || A.mostRecentlyFocusedNode || f());
4817
+ })), m(z || A.mostRecentlyFocusedNode || f());
4774
4818
  }
4775
4819
  A.recentNavEvent = void 0;
4776
4820
  }, E = function(v) {
4777
- var h = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
4821
+ var b = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
4778
4822
  A.recentNavEvent = v;
4779
4823
  var N = M({
4780
4824
  event: v,
4781
- isBackward: h
4825
+ isBackward: b
4782
4826
  });
4783
4827
  N && (Se(v) && v.preventDefault(), m(N));
4784
- }, D = function(v) {
4828
+ }, L = function(v) {
4785
4829
  (i.isKeyForward(v) || i.isKeyBackward(v)) && E(v, i.isKeyBackward(v));
4786
4830
  }, j = function(v) {
4787
- Al(v) && we(i.escapeDeactivates, v) !== !1 && (v.preventDefault(), l.deactivate());
4788
- }, W = function(v) {
4789
- var h = Be(v);
4790
- c(h, v) >= 0 || we(i.clickOutsideDeactivates, v) || we(i.allowOutsideClick, v) || (v.preventDefault(), v.stopImmediatePropagation());
4791
- }, z = function() {
4831
+ ll(v) && Oe(i.escapeDeactivates, v) !== !1 && (v.preventDefault(), l.deactivate());
4832
+ }, V = function(v) {
4833
+ var b = Be(v);
4834
+ c(b, v) >= 0 || Oe(i.clickOutsideDeactivates, v) || Oe(i.allowOutsideClick, v) || (v.preventDefault(), v.stopImmediatePropagation());
4835
+ }, x = function() {
4792
4836
  if (A.active)
4793
- return Ot.activateTrap(r, l), A.delayInitialFocusTimer = i.delayInitialFocus ? wt(function() {
4837
+ return Lt.activateTrap(r, l), A.delayInitialFocusTimer = i.delayInitialFocus ? Ot(function() {
4794
4838
  m(f());
4795
4839
  }) : m(f()), n.addEventListener("focusin", Q, !0), n.addEventListener("mousedown", T, {
4796
4840
  capture: !0,
@@ -4798,24 +4842,24 @@ var Ot = {
4798
4842
  }), n.addEventListener("touchstart", T, {
4799
4843
  capture: !0,
4800
4844
  passive: !1
4801
- }), n.addEventListener("click", W, {
4845
+ }), n.addEventListener("click", V, {
4802
4846
  capture: !0,
4803
4847
  passive: !1
4804
- }), n.addEventListener("keydown", D, {
4848
+ }), n.addEventListener("keydown", L, {
4805
4849
  capture: !0,
4806
4850
  passive: !1
4807
4851
  }), n.addEventListener("keydown", j), l;
4808
4852
  }, Ae = function() {
4809
4853
  if (A.active)
4810
- return n.removeEventListener("focusin", Q, !0), n.removeEventListener("mousedown", T, !0), n.removeEventListener("touchstart", T, !0), n.removeEventListener("click", W, !0), n.removeEventListener("keydown", D, !0), n.removeEventListener("keydown", j), l;
4854
+ return n.removeEventListener("focusin", Q, !0), n.removeEventListener("mousedown", T, !0), n.removeEventListener("touchstart", T, !0), n.removeEventListener("click", V, !0), n.removeEventListener("keydown", L, !0), n.removeEventListener("keydown", j), l;
4811
4855
  }, w = function(v) {
4812
- var h = v.some(function(N) {
4813
- var k = Array.from(N.removedNodes);
4814
- return k.some(function(U) {
4856
+ var b = v.some(function(N) {
4857
+ var z = Array.from(N.removedNodes);
4858
+ return z.some(function(U) {
4815
4859
  return U === A.mostRecentlyFocusedNode;
4816
4860
  });
4817
4861
  });
4818
- h && m(f());
4862
+ b && m(f());
4819
4863
  }, oe = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(w) : void 0, $ = function() {
4820
4864
  oe && (oe.disconnect(), A.active && !A.paused && A.containers.map(function(v) {
4821
4865
  oe.observe(v, {
@@ -4834,30 +4878,30 @@ var Ot = {
4834
4878
  activate: function(v) {
4835
4879
  if (A.active)
4836
4880
  return this;
4837
- var h = s(v, "onActivate"), N = s(v, "onPostActivate"), k = s(v, "checkCanFocusTrap");
4838
- k || b(), A.active = !0, A.paused = !1, A.nodeFocusedBeforeActivation = I(n), h == null || h();
4881
+ var b = s(v, "onActivate"), N = s(v, "onPostActivate"), z = s(v, "checkCanFocusTrap");
4882
+ z || h(), A.active = !0, A.paused = !1, A.nodeFocusedBeforeActivation = I(n), b == null || b();
4839
4883
  var U = function() {
4840
- k && b(), z(), $(), N == null || N();
4884
+ z && h(), x(), $(), N == null || N();
4841
4885
  };
4842
- return k ? (k(A.containers.concat()).then(U, U), this) : (U(), this);
4886
+ return z ? (z(A.containers.concat()).then(U, U), this) : (U(), this);
4843
4887
  },
4844
4888
  deactivate: function(v) {
4845
4889
  if (!A.active)
4846
4890
  return this;
4847
- var h = Dt({
4891
+ var b = Dt({
4848
4892
  onDeactivate: i.onDeactivate,
4849
4893
  onPostDeactivate: i.onPostDeactivate,
4850
4894
  checkCanReturnFocus: i.checkCanReturnFocus
4851
4895
  }, v);
4852
- clearTimeout(A.delayInitialFocusTimer), A.delayInitialFocusTimer = void 0, Ae(), A.active = !1, A.paused = !1, $(), Ot.deactivateTrap(r, l);
4853
- var N = s(h, "onDeactivate"), k = s(h, "onPostDeactivate"), U = s(h, "checkCanReturnFocus"), q = s(h, "returnFocus", "returnFocusOnDeactivate");
4896
+ clearTimeout(A.delayInitialFocusTimer), A.delayInitialFocusTimer = void 0, Ae(), A.active = !1, A.paused = !1, $(), Lt.deactivateTrap(r, l);
4897
+ var N = s(b, "onDeactivate"), z = s(b, "onPostDeactivate"), U = s(b, "checkCanReturnFocus"), q = s(b, "returnFocus", "returnFocusOnDeactivate");
4854
4898
  N == null || N();
4855
- var L = function() {
4856
- wt(function() {
4857
- q && m(C(A.nodeFocusedBeforeActivation)), k == null || k();
4899
+ var S = function() {
4900
+ Ot(function() {
4901
+ q && m(C(A.nodeFocusedBeforeActivation)), z == null || z();
4858
4902
  });
4859
4903
  };
4860
- return q && U ? (U(C(A.nodeFocusedBeforeActivation)).then(L, L), this) : (L(), this);
4904
+ return q && U ? (U(C(A.nodeFocusedBeforeActivation)).then(S, S), this) : (S(), this);
4861
4905
  },
4862
4906
  pause: function(v) {
4863
4907
  return A.active ? (A.manuallyPaused = !0, this._setPausedState(!0, v)) : this;
@@ -4866,10 +4910,10 @@ var Ot = {
4866
4910
  return A.active ? (A.manuallyPaused = !1, r[r.length - 1] !== this ? this : this._setPausedState(!1, v)) : this;
4867
4911
  },
4868
4912
  updateContainerElements: function(v) {
4869
- var h = [].concat(v).filter(Boolean);
4870
- return A.containers = h.map(function(N) {
4913
+ var b = [].concat(v).filter(Boolean);
4914
+ return A.containers = b.map(function(N) {
4871
4915
  return typeof N == "string" ? n.querySelector(N) : N;
4872
- }), A.active && b(), $(), this;
4916
+ }), A.active && h(), $(), this;
4873
4917
  }
4874
4918
  }, Object.defineProperties(l, {
4875
4919
  _isManuallyPaused: {
@@ -4878,27 +4922,27 @@ var Ot = {
4878
4922
  }
4879
4923
  },
4880
4924
  _setPausedState: {
4881
- value: function(v, h) {
4925
+ value: function(v, b) {
4882
4926
  if (A.paused === v)
4883
4927
  return this;
4884
4928
  if (A.paused = v, v) {
4885
- var N = s(h, "onPause"), k = s(h, "onPostPause");
4886
- N == null || N(), Ae(), $(), k == null || k();
4929
+ var N = s(b, "onPause"), z = s(b, "onPostPause");
4930
+ N == null || N(), Ae(), $(), z == null || z();
4887
4931
  } else {
4888
- var U = s(h, "onUnpause"), q = s(h, "onPostUnpause");
4889
- U == null || U(), b(), z(), $(), q == null || q();
4932
+ var U = s(b, "onUnpause"), q = s(b, "onPostUnpause");
4933
+ U == null || U(), h(), x(), $(), q == null || q();
4890
4934
  }
4891
4935
  return this;
4892
4936
  }
4893
4937
  }
4894
4938
  }), l.updateContainerElements(t), l;
4895
4939
  };
4896
- function cl(e, t) {
4940
+ function fl(e, t) {
4897
4941
  let a = null;
4898
4942
  function n() {
4899
4943
  !e.value || !e.value.querySelector(
4900
4944
  'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
4901
- ) || (a = sl(e.value, {
4945
+ ) || (a = dl(e.value, {
4902
4946
  escapeDeactivates: !0,
4903
4947
  onDeactivate: t,
4904
4948
  returnFocusOnDeactivate: !0,
@@ -4913,18 +4957,18 @@ function cl(e, t) {
4913
4957
  cleanupFocusTrap: r
4914
4958
  };
4915
4959
  }
4916
- const ul = { class: "av-popover-wrapper" }, dl = /* @__PURE__ */ S({
4960
+ const vl = { class: "av-popover-wrapper" }, ml = /* @__PURE__ */ O({
4917
4961
  __name: "AvPopover",
4918
4962
  props: {
4919
4963
  width: { default: "12.5rem" },
4920
4964
  padding: { default: "var(--spacing-md)" }
4921
4965
  },
4922
4966
  setup(e, { expose: t }) {
4923
- re((f) => ({
4967
+ te((f) => ({
4924
4968
  v75959032: f.width,
4925
4969
  v330e9906: f.padding
4926
4970
  }));
4927
- const a = J(null), n = J(null), { showPopover: r, popoverPosition: i, togglePopover: A, closePopover: l } = So(a, n), { initializeFocusTrap: s, cleanupFocusTrap: c } = cl(n, l);
4971
+ const a = J(null), n = J(null), { showPopover: r, popoverPosition: i, togglePopover: A, closePopover: l } = xo(a, n), { initializeFocusTrap: s, cleanupFocusTrap: c } = fl(n, l);
4928
4972
  function d(f) {
4929
4973
  if (!f) {
4930
4974
  a.value = null;
@@ -4934,21 +4978,21 @@ const ul = { class: "av-popover-wrapper" }, dl = /* @__PURE__ */ S({
4934
4978
  a.value = f;
4935
4979
  return;
4936
4980
  }
4937
- const b = f.$el;
4938
- b instanceof HTMLElement ? a.value = b : a.value = null;
4981
+ const h = f.$el;
4982
+ h instanceof HTMLElement ? a.value = h : a.value = null;
4939
4983
  }
4940
4984
  return t({ setTriggerRef: d, triggerRef: a }), ce(r, async (f) => {
4941
4985
  f ? (await Re(), s()) : c();
4942
- }), wa(() => {
4986
+ }), Oa(() => {
4943
4987
  c();
4944
- }), (f, b) => (u(), g("div", ul, [
4988
+ }), (f, h) => (u(), g("div", vl, [
4945
4989
  y("div", {
4946
4990
  ref: d,
4947
4991
  class: "av-popover-trigger-wrapper"
4948
4992
  }, [
4949
4993
  B(f.$slots, "trigger", { toggle: o(A) }, void 0, !0)
4950
4994
  ]),
4951
- (u(), x(zt, { to: "body" }, [
4995
+ (u(), k(zt, { to: "body" }, [
4952
4996
  o(r) ? (u(), g("div", {
4953
4997
  key: 0,
4954
4998
  ref_key: "popoverRef",
@@ -4956,22 +5000,22 @@ const ul = { class: "av-popover-wrapper" }, dl = /* @__PURE__ */ S({
4956
5000
  tabindex: "-1",
4957
5001
  class: "av-popover",
4958
5002
  style: Ve(`top: ${o(i).top}rem; left: ${o(i).left}rem;`),
4959
- onKeydown: b[0] || (b[0] = ot(se(
5003
+ onKeydown: h[0] || (h[0] = ot(se(
4960
5004
  //@ts-ignore
4961
5005
  (...I) => o(l) && o(l)(...I),
4962
5006
  ["prevent"]
4963
5007
  ), ["esc"]))
4964
5008
  }, [
4965
5009
  B(f.$slots, "popover", { close: o(l) }, void 0, !0)
4966
- ], 36)) : O("", !0)
5010
+ ], 36)) : D("", !0)
4967
5011
  ]))
4968
5012
  ]));
4969
5013
  }
4970
- }), ts = /* @__PURE__ */ V(dl, [["__scopeId", "data-v-6a5eaa47"]]), as = {
5014
+ }), rs = /* @__PURE__ */ W(ml, [["__scopeId", "data-v-6a5eaa47"]]), As = {
4971
5015
  name: "DsfrBadge",
4972
5016
  template: '<div class="dsfr-badge" />',
4973
5017
  props: ["label", "type", "small", "ellipsis"]
4974
- }, ns = {
5018
+ }, is = {
4975
5019
  name: "DsfrModal",
4976
5020
  props: ["opened", "title"],
4977
5021
  template: '<div class="dsfr-modal"><slot /><slot name="footer" /></div>',
@@ -4981,81 +5025,82 @@ const ul = { class: "av-popover-wrapper" }, dl = /* @__PURE__ */ S({
4981
5025
  this.$emit("keydown", { key: "Escape" });
4982
5026
  }
4983
5027
  }
4984
- }, rs = {
5028
+ }, os = {
4985
5029
  name: "DsfrNavigation",
4986
5030
  props: {
4987
5031
  navItems: Array
4988
5032
  },
4989
5033
  template: '<nav class="dsfr-navigation-mock"><slot /></nav>'
4990
- }, As = {
5034
+ }, ls = {
4991
5035
  name: "VIcon",
4992
5036
  props: ["name", "size", "color"],
4993
5037
  template: '<div class="v-icon-stub"></div>'
4994
5038
  };
4995
5039
  export {
4996
- Tl as AvAccordion,
4997
- Ql as AvAccordionsGroup,
5040
+ Ll as AvAccordion,
5041
+ Ol as AvAccordionsGroup,
4998
5042
  Ga as AvAlert,
4999
- Pl as AvAutocomplete,
5000
- Bl as AvAutocompleteStub,
5001
- gl as AvBadge,
5002
- ml as AvBadgeStub,
5003
- Ce as AvButton,
5004
- Dl as AvButtonStub,
5005
- bl as AvCard,
5006
- $l as AvDrawer,
5007
- _l as AvDrawerStub,
5008
- wl as AvFileUpload,
5009
- pl as AvHeader,
5043
+ Ul as AvAutocomplete,
5044
+ Vl as AvAutocompleteStub,
5045
+ bl as AvBadge,
5046
+ hl as AvBadgeStub,
5047
+ me as AvButton,
5048
+ wl as AvButtonStub,
5049
+ Wn as AvCancelConfirmButtons,
5050
+ El as AvCard,
5051
+ as as AvDrawer,
5052
+ ts as AvDrawerStub,
5053
+ kl as AvFileUpload,
5054
+ Ql as AvHeader,
5010
5055
  ft as AvHeaderMenuLinks,
5011
5056
  ja as AvIconText,
5012
- fA as AvInput,
5057
+ gA as AvInput,
5013
5058
  Vt as AvList,
5014
5059
  Ut as AvListItem,
5015
- Sl as AvListItemStub,
5016
- Ll as AvListStub,
5060
+ xl as AvListItemStub,
5061
+ zl as AvListStub,
5017
5062
  rn as AvLogo,
5018
- es as AvModal,
5019
- Wl as AvMultiselect,
5020
- ql as AvNavigation,
5021
- Il as AvNotice,
5022
- zl as AvPageSizePicker,
5023
- Yl as AvPagination,
5024
- ts as AvPopover,
5025
- DA as AvRadioButton,
5026
- jl as AvRadioButtonSet,
5027
- Ol as AvRichButton,
5028
- Ul as AvSelect,
5029
- Vl as AvSelectStub,
5030
- uo as AvSideMenu,
5031
- Kl as AvSideNavigation,
5032
- Fl as AvSideNavigationStub,
5033
- Jl as AvStepper,
5034
- Gl as AvStepperStub,
5035
- Xl as AvTab,
5036
- Hl as AvTabs,
5037
- NA as AvTagPicker,
5038
- xl as AvTagPickerStub,
5039
- Ml as AvToaster,
5040
- Zl as AvToggle,
5041
- ae as AvVIcon,
5042
- hl as AvVIconStub,
5063
+ ns as AvModal,
5064
+ Xl as AvMultiselect,
5065
+ Fl as AvNavigation,
5066
+ Cl as AvNotice,
5067
+ Bl as AvPageSizePicker,
5068
+ Kl as AvPagination,
5069
+ rs as AvPopover,
5070
+ wA as AvRadioButton,
5071
+ Wl as AvRadioButtonSet,
5072
+ Sl as AvRichButton,
5073
+ Zl as AvSelect,
5074
+ Hl as AvSelectStub,
5075
+ mo as AvSideMenu,
5076
+ _l as AvSideNavigation,
5077
+ Jl as AvSideNavigationStub,
5078
+ es as AvStepper,
5079
+ $l as AvStepperStub,
5080
+ ql as AvTab,
5081
+ Yl as AvTabs,
5082
+ DA as AvTagPicker,
5083
+ Pl as AvTagPickerStub,
5084
+ Tl as AvToaster,
5085
+ Rl as AvToggle,
5086
+ ne as AvVIcon,
5087
+ yl as AvVIconStub,
5043
5088
  Me as DropdownState,
5044
- as as DsfrBadgeStub,
5045
- ns as DsfrModalStub,
5046
- rs as DsfrNavigationStub,
5047
- Nl as EsupLogo,
5048
- yl as ICONS_DATA_URL,
5049
- R as MDI_ICONS,
5089
+ As as DsfrBadgeStub,
5090
+ is as DsfrModalStub,
5091
+ os as DsfrNavigationStub,
5092
+ Dl as EsupLogo,
5093
+ pl as ICONS_DATA_URL,
5094
+ Y as MDI_ICONS,
5050
5095
  Xt as PageSizes,
5051
- Cl as RI_ICONS,
5052
- As as VIconStub,
5096
+ Ml as RI_ICONS,
5097
+ ls as VIconStub,
5053
5098
  Ba as formatTextToHtml,
5054
- Rl as getPaginationPages,
5055
- El as isValidEmail,
5056
- kl as pageSizeValues,
5057
- ls as registerNavigationLinkKey,
5099
+ Gl as getPaginationPages,
5100
+ Nl as isValidEmail,
5101
+ jl as pageSizeValues,
5102
+ us as registerNavigationLinkKey,
5058
5103
  Xa as removeDuplicates,
5059
5104
  Je as toSentenceCase,
5060
- cl as useFocusTrap
5105
+ fl as useFocusTrap
5061
5106
  };