@reinosoft-ui/core 0.1.66 → 0.1.67

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,4 +1,4 @@
1
- import { defineComponent as Z, ref as w, computed as V, watch as Q, onMounted as ce, createElementBlock as b, openBlock as v, normalizeStyle as Ie, normalizeClass as fe, renderSlot as G, createCommentVNode as F, withDirectives as Re, createElementVNode as x, vShow as ot, mergeProps as ke, mergeModels as ie, useModel as be, withKeys as ye, withModifiers as ve, onUnmounted as Ve, Fragment as ue, unref as E, toDisplayString as P, renderList as pe, nextTick as $e, onBeforeUnmount as Te, createBlock as te, Teleport as Fe, createVNode as j, Transition as Ee, withCtx as ee, useId as Ce, provide as He, createTextVNode as Me, resolveDynamicComponent as Ze, useAttrs as lt, inject as me, h as U, useSlots as rt, resolveComponent as _t, vModelRadio as Tt, vModelDynamic as Et, reactive as Mt, TransitionGroup as Zt, createApp as zt, shallowRef as qt, vModelText as Ge } from "vue";
1
+ import { defineComponent as Z, ref as w, computed as V, watch as Q, onMounted as ce, createElementBlock as b, openBlock as d, normalizeStyle as Ie, normalizeClass as fe, renderSlot as G, createCommentVNode as F, withDirectives as Re, createElementVNode as x, vShow as ot, mergeProps as ke, mergeModels as ie, useModel as be, withKeys as ye, withModifiers as ve, onUnmounted as Ve, Fragment as ue, unref as E, toDisplayString as P, renderList as Ce, nextTick as $e, onBeforeUnmount as Te, createBlock as te, Teleport as Fe, createVNode as j, Transition as Ee, withCtx as ee, useId as he, provide as He, createTextVNode as Me, resolveDynamicComponent as Ze, useAttrs as lt, inject as me, h as U, useSlots as rt, resolveComponent as _t, vModelRadio as Tt, vModelDynamic as Et, reactive as Mt, TransitionGroup as Zt, createApp as zt, shallowRef as qt, vModelText as Ge } from "vue";
2
2
  import { routerKey as Ot } from "vue-router";
3
3
  const Nt = ["aria-busy"], Ft = ["aria-label"], Pt = ["src", "srcset", "sizes", "alt", "aria-hidden", "loading", "decoding"], Kt = /* @__PURE__ */ Z({
4
4
  __name: "Image",
@@ -32,7 +32,7 @@ const Nt = ["aria-busy"], Ft = ["aria-label"], Pt = ["src", "srcset", "sizes", "
32
32
  (u) => {
33
33
  o.value = u, l.value = "loading";
34
34
  }
35
- ), ce(() => i.value?.complete && i.value.naturalWidth > 0 && (l.value = "loaded")), (u, h) => (v(), b("div", {
35
+ ), ce(() => i.value?.complete && i.value.naturalWidth > 0 && (l.value = "loaded")), (u, h) => (d(), b("div", {
36
36
  class: fe(["ui-image", {
37
37
  "is-loading": l.value === "loading",
38
38
  "is-error": l.value === "error",
@@ -87,7 +87,7 @@ const Ut = /* @__PURE__ */ Z({
87
87
  const t = w();
88
88
  return n({
89
89
  el: t
90
- }), (a, o) => (v(), b("button", ke({
90
+ }), (a, o) => (d(), b("button", ke({
91
91
  ref_key: "rootRef",
92
92
  ref: t,
93
93
  type: "button",
@@ -116,7 +116,7 @@ const jt = ["id", "aria-checked", "aria-disabled", "disabled", "onKeydown"], Wt
116
116
  const s = !t.value;
117
117
  t.value = s, a("change", s);
118
118
  };
119
- return (s, r) => (v(), b("button", {
119
+ return (s, r) => (d(), b("button", {
120
120
  id: e.id,
121
121
  role: "switch",
122
122
  type: "button",
@@ -204,14 +204,14 @@ const Lt = (e) => {
204
204
  const r = () => {
205
205
  const f = e;
206
206
  if (!f) return;
207
- const d = window.getSelection();
208
- if (!d || d.rangeCount === 0) return;
209
- const g = d.getRangeAt(0);
207
+ const v = window.getSelection();
208
+ if (!v || v.rangeCount === 0) return;
209
+ const g = v.getRangeAt(0);
210
210
  f.contains(g.commonAncestorContainer) && (t.value = g.cloneRange());
211
211
  }, c = (f) => {
212
- const d = window.getSelection();
213
- if (!d || d.rangeCount === 0 || d.isCollapsed) return !1;
214
- const g = d.getRangeAt(0), B = e;
212
+ const v = window.getSelection();
213
+ if (!v || v.rangeCount === 0 || v.isCollapsed) return !1;
214
+ const g = v.getRangeAt(0), B = e;
215
215
  if (!B) return !1;
216
216
  const K = u(g, B), re = [];
217
217
  if (K.forEach((Y) => {
@@ -230,17 +230,17 @@ const Lt = (e) => {
230
230
  const Y = document.createRange();
231
231
  Y.setStart(re[0], 0);
232
232
  const X = re[re.length - 1];
233
- Y.setEnd(X, X.textContent.length), d.removeAllRanges(), d.addRange(Y), r();
233
+ Y.setEnd(X, X.textContent.length), v.removeAllRanges(), v.addRange(Y), r();
234
234
  }
235
235
  return D(), $(f);
236
- }, u = (f, d) => {
237
- if (!f || !d || !(d instanceof HTMLElement)) return [];
238
- const g = f.commonAncestorContainer, B = d.contains(g) ? d : g.nodeType === 3 ? g.parentNode : g, K = document.createTreeWalker(
236
+ }, u = (f, v) => {
237
+ if (!f || !v || !(v instanceof HTMLElement)) return [];
238
+ const g = f.commonAncestorContainer, B = v.contains(g) ? v : g.nodeType === 3 ? g.parentNode : g, K = document.createTreeWalker(
239
239
  B,
240
240
  NodeFilter.SHOW_TEXT,
241
241
  {
242
242
  acceptNode(X) {
243
- return d.contains(X) && f.intersectsNode(X) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_REJECT;
243
+ return v.contains(X) && f.intersectsNode(X) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_REJECT;
244
244
  }
245
245
  }
246
246
  ), re = [];
@@ -248,36 +248,36 @@ const Lt = (e) => {
248
248
  for (; Y = K.nextNode(); ) re.push(Y);
249
249
  return re;
250
250
  }, h = (f) => {
251
- const d = window.getSelection();
252
- if (!d || d.rangeCount === 0) return !1;
253
- const g = d.getRangeAt(0), B = m(g.startContainer);
251
+ const v = window.getSelection();
252
+ if (!v || v.rangeCount === 0) return !1;
253
+ const g = v.getRangeAt(0), B = m(g.startContainer);
254
254
  if (!B) return !1;
255
255
  const re = B.tagName.toLowerCase() === f.toLowerCase() ? "p" : f.toLowerCase(), Y = document.createElement(re);
256
256
  for (re === "blockquote" && Y.setAttribute("class", "rs-blockquote"), Y.dataset.block = "true"; B.firstChild; ) Y.appendChild(B.firstChild);
257
257
  B.replaceWith(Y);
258
258
  const X = document.createRange();
259
- return X.selectNodeContents(Y), d.removeAllRanges(), d.addRange(X), r(), D(), k(f);
259
+ return X.selectNodeContents(Y), v.removeAllRanges(), v.addRange(X), r(), D(), k(f);
260
260
  }, m = (f) => {
261
- const d = e;
262
- if (!d) return null;
263
- for (; f && f !== d; ) {
261
+ const v = e;
262
+ if (!v) return null;
263
+ for (; f && f !== v; ) {
264
264
  if (f instanceof HTMLElement && f.dataset.block !== void 0) return f;
265
265
  f = f.parentNode;
266
266
  }
267
267
  return null;
268
- }, p = (f, d) => {
268
+ }, p = (f, v) => {
269
269
  const g = e;
270
270
  if (!g) return null;
271
271
  for (; f && f !== g; ) {
272
- if (f instanceof HTMLElement && f.tagName.toLowerCase() === d.toLowerCase()) return f;
272
+ if (f instanceof HTMLElement && f.tagName.toLowerCase() === v.toLowerCase()) return f;
273
273
  f = f.parentNode;
274
274
  }
275
275
  return null;
276
276
  }, C = (f) => {
277
277
  if (f.key !== "Enter" || f.shiftKey) return;
278
- const d = window.getSelection();
279
- if (!d || d.rangeCount === 0) return;
280
- const g = d.getRangeAt(0), B = p(g.startContainer, "li");
278
+ const v = window.getSelection();
279
+ if (!v || v.rangeCount === 0) return;
280
+ const g = v.getRangeAt(0), B = p(g.startContainer, "li");
281
281
  if (!B) return;
282
282
  f.preventDefault(), f.stopPropagation();
283
283
  const K = B.parentElement;
@@ -290,8 +290,8 @@ const Lt = (e) => {
290
290
  const Y = document.createElement("li");
291
291
  Y.innerHTML = "<br>", B.after(Y), M(Y);
292
292
  }, M = (f) => {
293
- const d = document.createRange(), g = window.getSelection();
294
- d.selectNodeContents(f), d.collapse(!0), g?.removeAllRanges(), g?.addRange(d);
293
+ const v = document.createRange(), g = window.getSelection();
294
+ v.selectNodeContents(f), v.collapse(!0), g?.removeAllRanges(), g?.addRange(v);
295
295
  }, D = () => {
296
296
  const f = e;
297
297
  if (!f) return;
@@ -305,9 +305,9 @@ const Lt = (e) => {
305
305
  K && g.replaceWith(K);
306
306
  }), f.normalize();
307
307
  }, $ = (f) => {
308
- const d = t.value;
309
- if (!d) return !1;
310
- let g = d.startContainer;
308
+ const v = t.value;
309
+ if (!v) return !1;
310
+ let g = v.startContainer;
311
311
  g.nodeType === Node.TEXT_NODE && (g = g.parentNode);
312
312
  const B = e;
313
313
  if (!B) return !1;
@@ -317,9 +317,9 @@ const Lt = (e) => {
317
317
  }
318
318
  return !1;
319
319
  }, k = (f) => {
320
- const d = t.value;
321
- if (!d) return !1;
322
- let g = d.startContainer;
320
+ const v = t.value;
321
+ if (!v) return !1;
322
+ let g = v.startContainer;
323
323
  g.nodeType === Node.TEXT_NODE && (g = g.parentNode);
324
324
  const B = e;
325
325
  if (!B) return !1;
@@ -334,12 +334,12 @@ const Lt = (e) => {
334
334
  }, y = () => {
335
335
  const f = e;
336
336
  if (!f || !t.value || !f || !f.contains(t.value.commonAncestorContainer)) return;
337
- const d = window.getSelection();
338
- d && (d.removeAllRanges(), d.addRange(t.value));
337
+ const v = window.getSelection();
338
+ v && (v.removeAllRanges(), v.addRange(t.value));
339
339
  }, T = () => s.value?.focusFirstButton?.(), N = (f) => {
340
- const d = window.getSelection();
341
- if (!d || d.rangeCount === 0) return;
342
- const g = d.getRangeAt(0), B = m(g.startContainer);
340
+ const v = window.getSelection();
341
+ if (!v || v.rangeCount === 0) return;
342
+ const g = v.getRangeAt(0), B = m(g.startContainer);
343
343
  if (!B) return;
344
344
  const K = g.cloneRange();
345
345
  K.selectNodeContents(B), K.setEnd(g.startContainer, g.startOffset);
@@ -358,69 +358,69 @@ const Lt = (e) => {
358
358
  !ze && xe + Xe >= re && (ze = Ye, Pe = re - xe), !Be && xe + Xe >= X && (Be = Ye, Ae = X - xe), xe += Xe;
359
359
  }
360
360
  const De = document.createRange();
361
- ze ? De.setStart(ze, Pe) : De.setStart(le, 0), !se && Be ? De.setEnd(Be, Ae) : De.collapse(!0), d.removeAllRanges(), d.addRange(De), r(), D();
361
+ ze ? De.setStart(ze, Pe) : De.setStart(le, 0), !se && Be ? De.setEnd(Be, Ae) : De.collapse(!0), v.removeAllRanges(), v.addRange(De), r(), D();
362
362
  }, J = (f) => {
363
- const d = e.parentElement?.querySelector("#editor-status");
364
- d && (d.textContent = f, setTimeout(() => d.textContent = "", 2e3));
363
+ const v = e.parentElement?.querySelector("#editor-status");
364
+ v && (v.textContent = f, setTimeout(() => v.textContent = "", 2e3));
365
365
  };
366
366
  e.addEventListener("keydown", C, { capture: !0 });
367
367
  const S = (f) => {
368
- const d = e;
369
- if (!d) return;
368
+ const v = e;
369
+ if (!v) return;
370
370
  const g = document.createRange().createContextualFragment(f);
371
- d.appendChild(g), D(), d.dispatchEvent(new Event("input", { bubbles: !0 }));
371
+ v.appendChild(g), D(), v.dispatchEvent(new Event("input", { bubbles: !0 }));
372
372
  }, _ = (f) => {
373
- const d = window.getSelection();
374
- if (!d || d.rangeCount === 0) {
373
+ const v = window.getSelection();
374
+ if (!v || v.rangeCount === 0) {
375
375
  S(f);
376
376
  return;
377
377
  }
378
- const g = d.getRangeAt(0), B = m(g.startContainer);
378
+ const g = v.getRangeAt(0), B = m(g.startContainer);
379
379
  if (!B) {
380
380
  S(f);
381
381
  return;
382
382
  }
383
383
  B.insertAdjacentHTML("afterend", f), D(), e.dispatchEvent(new Event("input", { bubbles: !0 }));
384
384
  }, R = (f) => {
385
- const d = document.createElement("span");
386
- d.className = "img-resizable", d.style.display = "inline-block", d.style.position = "relative", d.style.width = "100%";
385
+ const v = document.createElement("span");
386
+ v.className = "img-resizable", v.style.display = "inline-block", v.style.position = "relative", v.style.width = "100%";
387
387
  const g = document.createElement("img");
388
388
  g.src = f, g.loading = "lazy";
389
389
  const B = document.createElement("span");
390
- B.className = "resize-handle", d.append(g, B), de(d.outerHTML);
390
+ B.className = "resize-handle", v.append(g, B), de(v.outerHTML);
391
391
  }, I = (f) => {
392
- const d = document.createElement("span");
393
- d.className = "img-resizable", d.style.display = "inline-block", d.style.position = "relative", d.style.width = "100%";
392
+ const v = document.createElement("span");
393
+ v.className = "img-resizable", v.style.display = "inline-block", v.style.position = "relative", v.style.width = "100%";
394
394
  const g = document.createElement("img");
395
395
  g.src = f, g.alt = "", g.loading = "lazy";
396
396
  const B = document.createElement("span");
397
- B.className = "resize-handle", d.append(g, B), _(d.outerHTML);
397
+ B.className = "resize-handle", v.append(g, B), _(v.outerHTML);
398
398
  }, A = (f) => {
399
- const d = f.closest(".img-resizable");
400
- if (!d) return;
401
- const g = d.querySelector(".resize-handle");
402
- if (!g || d.dataset.resizableInitialized === "true") return;
403
- d.dataset.resizableInitialized = "true", d.style.display = "inline-block", d.style.position = "relative", f.style.display = "block", f.style.width = "100%", g.style.display = "none";
399
+ const v = f.closest(".img-resizable");
400
+ if (!v) return;
401
+ const g = v.querySelector(".resize-handle");
402
+ if (!g || v.dataset.resizableInitialized === "true") return;
403
+ v.dataset.resizableInitialized = "true", v.style.display = "inline-block", v.style.position = "relative", f.style.display = "block", f.style.width = "100%", g.style.display = "none";
404
404
  const B = () => {
405
- d.classList.add("active"), g.style.display = "block";
405
+ v.classList.add("active"), g.style.display = "block";
406
406
  }, K = () => {
407
- d.classList.remove("active"), g.style.display = "none";
407
+ v.classList.remove("active"), g.style.display = "none";
408
408
  };
409
409
  f.addEventListener("click", (se) => {
410
- se.stopPropagation(), e.querySelectorAll(".img-resizable.selected").forEach((le) => le.classList.remove("selected")), d.classList.add("selected"), B();
410
+ se.stopPropagation(), e.querySelectorAll(".img-resizable.selected").forEach((le) => le.classList.remove("selected")), v.classList.add("selected"), B();
411
411
  }), document.addEventListener("click", (se) => {
412
412
  const le = se.target;
413
- le.closest(".img-resizable") || e.querySelectorAll(".img-resizable.selected").forEach((ge) => ge.classList.remove("selected")), d.contains(le) || K();
413
+ le.closest(".img-resizable") || e.querySelectorAll(".img-resizable.selected").forEach((ge) => ge.classList.remove("selected")), v.contains(le) || K();
414
414
  });
415
415
  let re = 0, Y = 0;
416
416
  const X = (se) => {
417
- se.preventDefault(), Y = d.offsetWidth, re = se instanceof TouchEvent ? se.touches[0].clientX : se.clientX;
417
+ se.preventDefault(), Y = v.offsetWidth, re = se instanceof TouchEvent ? se.touches[0].clientX : se.clientX;
418
418
  const le = (xe) => {
419
- const Pe = (xe instanceof TouchEvent ? xe.touches[0].clientX : xe.clientX) - re, Be = d.parentElement?.clientWidth || window.innerWidth;
419
+ const Pe = (xe instanceof TouchEvent ? xe.touches[0].clientX : xe.clientX) - re, Be = v.parentElement?.clientWidth || window.innerWidth;
420
420
  let Ae = Y + Pe;
421
421
  Ae > Be && (Ae = Be), Ae < 40 && (Ae = 40);
422
422
  const De = Ae / Be * 100;
423
- d.style.width = De + "%";
423
+ v.style.width = De + "%";
424
424
  }, ge = () => {
425
425
  document.removeEventListener("mousemove", le), document.removeEventListener("mouseup", ge), document.removeEventListener("touchmove", le), document.removeEventListener("touchend", ge);
426
426
  };
@@ -429,19 +429,19 @@ const Lt = (e) => {
429
429
  g.addEventListener("mousedown", X), g.addEventListener("touchstart", X, { passive: !1 });
430
430
  }, q = (f) => {
431
431
  if (f.key !== "Backspace" && f.key !== "Delete") return;
432
- const d = e.querySelector(".img-resizable.selected");
433
- if (!d) return;
432
+ const v = e.querySelector(".img-resizable.selected");
433
+ if (!v) return;
434
434
  f.preventDefault();
435
- const g = d.closest("p[data-block]");
436
- g && (d.remove(), g.replaceChildren(document.createElement("br")), M(g));
435
+ const g = v.closest("p[data-block]");
436
+ g && (v.remove(), g.replaceChildren(document.createElement("br")), M(g));
437
437
  };
438
438
  e.addEventListener("keydown", q, { capture: !0 });
439
439
  const ne = (f) => {
440
- const d = f.match(
440
+ const v = f.match(
441
441
  /(?:youtube\.com\/(?:watch\?v=|shorts\/|embed\/)|youtu\.be\/)([a-zA-Z0-9_-]{11})/
442
442
  );
443
- if (!d) return;
444
- const g = d[1];
443
+ if (!v) return;
444
+ const g = v[1];
445
445
  de(
446
446
  `
447
447
  <iframe
@@ -463,13 +463,13 @@ const Lt = (e) => {
463
463
  );
464
464
  }, oe = (f) => {
465
465
  if (f.key !== "Backspace" && f.key !== "Delete") return;
466
- const d = window.getSelection();
467
- if (!d || d.rangeCount === 0) return;
468
- const g = d.getRangeAt(0), B = m(g.startContainer);
466
+ const v = window.getSelection();
467
+ if (!v || v.rangeCount === 0) return;
468
+ const g = v.getRangeAt(0), B = m(g.startContainer);
469
469
  if (!B) return;
470
470
  const K = B.querySelector("iframe");
471
471
  K && (f.preventDefault(), f.stopPropagation(), K.remove(), B.removeAttribute("style"), B.replaceChildren(document.createElement("br")), M(B));
472
- }, de = (f, d) => {
472
+ }, de = (f, v) => {
473
473
  const g = e;
474
474
  if (!g) return;
475
475
  const B = window.getSelection();
@@ -481,21 +481,21 @@ const Lt = (e) => {
481
481
  const re = K && !K.textContent?.trim() && K.querySelectorAll("img, iframe").length === 0;
482
482
  let Y = null;
483
483
  if (re && K)
484
- d && Object.assign(K.style, d), K.innerHTML = f, Y = document.createElement("p"), Y.dataset.block = "true", Y.replaceChildren(document.createElement("br")), K.after(Y);
484
+ v && Object.assign(K.style, v), K.innerHTML = f, Y = document.createElement("p"), Y.dataset.block = "true", Y.replaceChildren(document.createElement("br")), K.after(Y);
485
485
  else {
486
486
  const X = document.createElement("p");
487
- X.dataset.block = "true", d && Object.assign(X.style, d), X.innerHTML = f;
487
+ X.dataset.block = "true", v && Object.assign(X.style, v), X.innerHTML = f;
488
488
  const se = document.createElement("p");
489
489
  se.dataset.block = "true", se.replaceChildren(document.createElement("br")), K ? (K.after(X), X.after(se)) : g.append(X, se), Y = se;
490
490
  }
491
491
  g.querySelectorAll(".img-resizable img").forEach((X) => A(X)), Y && M(Y), D(), g.dispatchEvent(new Event("input", { bubbles: !0 }));
492
492
  }, O = (f) => {
493
- const d = f.match(/(?:youtube\.com\/(?:watch\?v=|shorts\/|embed\/)|youtu\.be\/)([a-zA-Z0-9_-]{11})/);
494
- return d && typeof d[1] == "string" ? d[1] : null;
493
+ const v = f.match(/(?:youtube\.com\/(?:watch\?v=|shorts\/|embed\/)|youtu\.be\/)([a-zA-Z0-9_-]{11})/);
494
+ return v && typeof v[1] == "string" ? v[1] : null;
495
495
  }, L = async (f) => {
496
- const d = f.clipboardData?.items;
497
- if (d && o) {
498
- for (const se of d)
496
+ const v = f.clipboardData?.items;
497
+ if (v && o) {
498
+ for (const se of v)
499
499
  if (se.type.startsWith("image/")) {
500
500
  f.preventDefault();
501
501
  const le = se.getAsFile();
@@ -530,17 +530,17 @@ const Lt = (e) => {
530
530
  }
531
531
  }, z = (f) => {
532
532
  try {
533
- const d = new URL(f);
534
- return /\.(png|jpe?g|gif|webp|svg|avif)$/i.test(d.pathname);
533
+ const v = new URL(f);
534
+ return /\.(png|jpe?g|gif|webp|svg|avif)$/i.test(v.pathname);
535
535
  } catch {
536
536
  return !1;
537
537
  }
538
- }, ae = (f) => i ? new Promise((d) => {
538
+ }, ae = (f) => i ? new Promise((v) => {
539
539
  const g = new Image();
540
540
  g.onload = () => {
541
541
  const B = g.naturalWidth >= i.width || g.naturalHeight >= i.height;
542
- d(B);
543
- }, g.onerror = () => d(!1), g.src = f;
542
+ v(B);
543
+ }, g.onerror = () => v(!1), g.src = f;
544
544
  }) : Promise.resolve(!0);
545
545
  return e.addEventListener("keydown", oe, { capture: !0 }), e.addEventListener("paste", L), {
546
546
  toggleInline: c,
@@ -667,7 +667,7 @@ const Lt = (e) => {
667
667
  });
668
668
  }), Ve(() => document.removeEventListener("selectionchange", l)), n({
669
669
  getRoot: () => o
670
- }), (m, p) => (v(), b(ue, null, [
670
+ }), (m, p) => (d(), b(ue, null, [
671
671
  x("div", {
672
672
  ref_key: "rootRef",
673
673
  ref: o,
@@ -2175,7 +2175,7 @@ const Lt = (e) => {
2175
2175
  spin: { type: Boolean }
2176
2176
  },
2177
2177
  setup(e) {
2178
- return (n, t) => (v(), b("svg", {
2178
+ return (n, t) => (d(), b("svg", {
2179
2179
  xmlns: "http://www.w3.org/2000/svg",
2180
2180
  class: fe(["icon", { spin: e.spin }]),
2181
2181
  viewBox: E(Je)[e.name].viewBox,
@@ -2185,35 +2185,35 @@ const Lt = (e) => {
2185
2185
  fill: "none",
2186
2186
  "aria-hidden": "true"
2187
2187
  }, [
2188
- (v(!0), b(ue, null, pe(E(Je)[e.name].paths, (a, o) => (v(), b(ue, { key: o }, [
2189
- a.type === "path" ? (v(), b("path", ke({
2188
+ (d(!0), b(ue, null, Ce(E(Je)[e.name].paths, (a, o) => (d(), b(ue, { key: o }, [
2189
+ a.type === "path" ? (d(), b("path", ke({
2190
2190
  key: 0,
2191
2191
  ref_for: !0
2192
2192
  }, a), null, 16)) : F("", !0),
2193
- a.type === "circle" ? (v(), b("circle", ke({
2193
+ a.type === "circle" ? (d(), b("circle", ke({
2194
2194
  key: 1,
2195
2195
  ref_for: !0
2196
2196
  }, a), null, 16)) : F("", !0),
2197
- a.type === "line" ? (v(), b("line", ke({
2197
+ a.type === "line" ? (d(), b("line", ke({
2198
2198
  key: 2,
2199
2199
  ref_for: !0
2200
2200
  }, a), null, 16)) : F("", !0),
2201
- a.type === "polyline" ? (v(), b("polyline", ke({
2201
+ a.type === "polyline" ? (d(), b("polyline", ke({
2202
2202
  key: 3,
2203
2203
  ref_for: !0
2204
2204
  }, a), null, 16)) : F("", !0),
2205
- a.type === "rect" ? (v(), b("rect", ke({
2205
+ a.type === "rect" ? (d(), b("rect", ke({
2206
2206
  key: 4,
2207
2207
  ref_for: !0
2208
2208
  }, a), null, 16)) : F("", !0),
2209
- a.type === "polygon" ? (v(), b("polygon", ke({
2209
+ a.type === "polygon" ? (d(), b("polygon", ke({
2210
2210
  key: 5,
2211
2211
  ref_for: !0
2212
2212
  }, a), null, 16)) : F("", !0)
2213
2213
  ], 64))), 128))
2214
2214
  ], 10, Aa));
2215
2215
  }
2216
- }), he = /* @__PURE__ */ W(Ra, [["__scopeId", "data-v-dd8423eb"]]), Da = ["aria-controls"], Sa = ["aria-pressed", "onMousedown", "aria-label"], _a = { key: 1 }, Qe = 8, Ta = 6, Ea = /* @__PURE__ */ Z({
2216
+ }), pe = /* @__PURE__ */ W(Ra, [["__scopeId", "data-v-dd8423eb"]]), Da = ["aria-controls"], Sa = ["aria-pressed", "onMousedown", "aria-label"], _a = { key: 1 }, Qe = 8, Ta = 6, Ea = /* @__PURE__ */ Z({
2217
2217
  __name: "FloatingToolbar",
2218
2218
  props: {
2219
2219
  editor: {},
@@ -2355,10 +2355,10 @@ const Lt = (e) => {
2355
2355
  c?.(), r?.disconnect(), r = null, cancelAnimationFrame(u), document.removeEventListener("selectionchange", H);
2356
2356
  }), n({
2357
2357
  focusFirstButton: $
2358
- }), (y, T) => (v(), te(Fe, { to: "body" }, [
2358
+ }), (y, T) => (d(), te(Fe, { to: "body" }, [
2359
2359
  j(Ee, { name: "tooltip-fade" }, {
2360
2360
  default: ee(() => [
2361
- o.value ? (v(), b("div", {
2361
+ o.value ? (d(), b("div", {
2362
2362
  key: 0,
2363
2363
  ref_key: "toolbarRef",
2364
2364
  ref: l,
@@ -2371,7 +2371,7 @@ const Lt = (e) => {
2371
2371
  onKeydown: k
2372
2372
  }, [
2373
2373
  T[0] || (T[0] = x("div", { class: "arrow" }, null, -1)),
2374
- (v(!0), b(ue, null, pe(D.value, (N, J) => (v(), b("button", {
2374
+ (d(!0), b(ue, null, Ce(D.value, (N, J) => (d(), b("button", {
2375
2375
  key: N.key ?? J,
2376
2376
  type: "button",
2377
2377
  ref_for: !0,
@@ -2381,11 +2381,11 @@ const Lt = (e) => {
2381
2381
  onMousedown: ve((S) => N.action(t.editor), ["prevent"]),
2382
2382
  "aria-label": N.ariaLabel
2383
2383
  }, [
2384
- N.type === "icon" ? (v(), te(he, {
2384
+ N.type === "icon" ? (d(), te(pe, {
2385
2385
  key: 0,
2386
2386
  name: N.label,
2387
2387
  size: N.size ?? 14
2388
- }, null, 8, ["name", "size"])) : (v(), b("span", _a, P(N.label), 1))
2388
+ }, null, 8, ["name", "size"])) : (d(), b("span", _a, P(N.label), 1))
2389
2389
  ], 42, Sa))), 128))
2390
2390
  ], 44, Da)) : F("", !0)
2391
2391
  ]),
@@ -2409,7 +2409,7 @@ const Lt = (e) => {
2409
2409
  }),
2410
2410
  emits: ["update:modelValue"],
2411
2411
  setup(e, { expose: n }) {
2412
- const t = be(e, "modelValue"), a = e, o = Ce(), i = w(), l = w(null), s = w(null);
2412
+ const t = be(e, "modelValue"), a = e, o = he(), i = w(), l = w(null), s = w(null);
2413
2413
  return Q(
2414
2414
  () => t.value,
2415
2415
  (r) => {
@@ -2428,7 +2428,7 @@ const Lt = (e) => {
2428
2428
  c.addEventListener("input", u), Ve(() => c.removeEventListener("input", u));
2429
2429
  }), He("announce", (r) => l.value?.announce(r)), n({
2430
2430
  editor: l
2431
- }), (r, c) => (v(), b("section", za, [
2431
+ }), (r, c) => (d(), b("section", za, [
2432
2432
  j(s1, {
2433
2433
  ref_key: "contentRef",
2434
2434
  ref: s,
@@ -2492,7 +2492,7 @@ const qa = ["tabindex", "aria-label", "aria-describedby", "aria-busy", "aria-dis
2492
2492
  }),
2493
2493
  emits: /* @__PURE__ */ ie(["select", "upload", "remove"], ["update:modelValue"]),
2494
2494
  setup(e, { emit: n }) {
2495
- const t = be(e, "modelValue"), a = e, o = n, i = w(0), l = w(""), s = w(!1), r = Ce(), c = w(), u = V(() => t.value), h = V(() => a.maxSize === 1 / 0 ? "Unlimited" : S(a.maxSize)), m = V(() => !a.disabled && (a.multiple || t.value.length === 0)), p = V(() => u.value.some((I) => I.status === "uploading")), C = () => m.value && c.value?.click(), M = () => {
2495
+ const t = be(e, "modelValue"), a = e, o = n, i = w(0), l = w(""), s = w(!1), r = he(), c = w(), u = V(() => t.value), h = V(() => a.maxSize === 1 / 0 ? "Unlimited" : S(a.maxSize)), m = V(() => !a.disabled && (a.multiple || t.value.length === 0)), p = V(() => u.value.some((I) => I.status === "uploading")), C = () => m.value && c.value?.click(), M = () => {
2496
2496
  a.disabled || (i.value++, s.value = !0);
2497
2497
  }, D = () => {
2498
2498
  i.value = Math.max(0, i.value - 1), i.value === 0 && (s.value = !1);
@@ -2560,7 +2560,7 @@ const qa = ["tabindex", "aria-label", "aria-describedby", "aria-busy", "aria-dis
2560
2560
  }, R = (I) => {
2561
2561
  I.controller && I.controller.abort(), o("remove", I), t.value = u.value.filter((A) => A.id !== I.id);
2562
2562
  };
2563
- return (I, A) => (v(), b("div", {
2563
+ return (I, A) => (d(), b("div", {
2564
2564
  role: "button",
2565
2565
  class: "ui-upload",
2566
2566
  tabindex: e.disabled ? -1 : 0,
@@ -2593,7 +2593,7 @@ const qa = ["tabindex", "aria-label", "aria-describedby", "aria-busy", "aria-dis
2593
2593
  key: 0,
2594
2594
  dragging: s.value
2595
2595
  }, () => [
2596
- j(he, {
2596
+ j(pe, {
2597
2597
  name: "upload",
2598
2598
  size: 32
2599
2599
  }),
@@ -2610,8 +2610,8 @@ const qa = ["tabindex", "aria-label", "aria-describedby", "aria-busy", "aria-dis
2610
2610
  }),
2611
2611
  x("span", null, "Maximum size: " + P(h.value), 1)
2612
2612
  ], !0) : F("", !0),
2613
- u.value?.length ? (v(), b("ul", Na, [
2614
- (v(!0), b(ue, null, pe(u.value, (q) => (v(), b("li", {
2613
+ u.value?.length ? (d(), b("ul", Na, [
2614
+ (d(!0), b(ue, null, Ce(u.value, (q) => (d(), b("li", {
2615
2615
  key: q.id,
2616
2616
  class: "ui-upload__item"
2617
2617
  }, [
@@ -2625,7 +2625,7 @@ const qa = ["tabindex", "aria-label", "aria-describedby", "aria-busy", "aria-dis
2625
2625
  x("span", Pa, P(q.file.name), 1),
2626
2626
  x("span", Ka, P(S(q.file.size)), 1)
2627
2627
  ]),
2628
- q.status === "uploading" ? (v(), b("div", Ua, [
2628
+ q.status === "uploading" ? (d(), b("div", Ua, [
2629
2629
  x("span", ja, P(q.progress) + "% ", 1),
2630
2630
  x("progress", {
2631
2631
  class: "ui-upload__progress",
@@ -2634,11 +2634,11 @@ const qa = ["tabindex", "aria-label", "aria-describedby", "aria-busy", "aria-dis
2634
2634
  "aria-label": `Upload progress for ${q.file.name}`
2635
2635
  }, null, 8, Wa)
2636
2636
  ])) : F("", !0),
2637
- q.status === "success" ? (v(), b("span", Ya, " Uploaded successful ")) : F("", !0),
2638
- q.status === "error" ? (v(), b("span", Xa, P(q.error || "Upload failed"), 1)) : F("", !0),
2639
- q.status === "canceled" ? (v(), b("span", Ga, " Upload canceled ")) : F("", !0),
2637
+ q.status === "success" ? (d(), b("span", Ya, " Uploaded successful ")) : F("", !0),
2638
+ q.status === "error" ? (d(), b("span", Xa, P(q.error || "Upload failed"), 1)) : F("", !0),
2639
+ q.status === "canceled" ? (d(), b("span", Ga, " Upload canceled ")) : F("", !0),
2640
2640
  x("div", Ja, [
2641
- q.status === "uploading" ? (v(), te(Le, {
2641
+ q.status === "uploading" ? (d(), te(Le, {
2642
2642
  key: 0,
2643
2643
  type: "button",
2644
2644
  class: "btn-danger btn-xs",
@@ -2649,7 +2649,7 @@ const qa = ["tabindex", "aria-label", "aria-describedby", "aria-busy", "aria-dis
2649
2649
  ])]),
2650
2650
  _: 1
2651
2651
  }, 8, ["onClick"])) : F("", !0),
2652
- q.status === "error" || q.status === "canceled" ? (v(), te(Le, {
2652
+ q.status === "error" || q.status === "canceled" ? (d(), te(Le, {
2653
2653
  key: 1,
2654
2654
  type: "button",
2655
2655
  class: "btn-info btn-xs",
@@ -2660,7 +2660,7 @@ const qa = ["tabindex", "aria-label", "aria-describedby", "aria-busy", "aria-dis
2660
2660
  ])]),
2661
2661
  _: 1
2662
2662
  }, 8, ["onClick"])) : F("", !0),
2663
- q.status !== "uploading" ? (v(), te(Le, {
2663
+ q.status !== "uploading" ? (d(), te(Le, {
2664
2664
  key: 2,
2665
2665
  type: "button",
2666
2666
  class: "btn-outline btn-xs",
@@ -2701,7 +2701,7 @@ const a2 = (e) => {
2701
2701
  disabled: { type: Boolean, default: !1 }
2702
2702
  },
2703
2703
  setup(e) {
2704
- const n = e, t = l2 + r2, a = w(!1), o = `tooltip-${Ce()}`, i = w(null), l = w(null), s = w({});
2704
+ const n = e, t = l2 + r2, a = w(!1), o = `tooltip-${he()}`, i = w(null), l = w(null), s = w({});
2705
2705
  let r = null, c = null, u = null;
2706
2706
  const h = () => {
2707
2707
  n.disabled || (r && (clearTimeout(r), r = null), n.delay ? r = window.setTimeout(() => {
@@ -2740,7 +2740,7 @@ const a2 = (e) => {
2740
2740
  await $e(), C(), c = a2(C), u = new ResizeObserver(C), l.value && u.observe(l.value), i.value && u.observe(i.value);
2741
2741
  }), Te(() => {
2742
2742
  c?.(), u?.disconnect();
2743
- }), (M, D) => (v(), b(ue, null, [
2743
+ }), (M, D) => (d(), b(ue, null, [
2744
2744
  x("span", {
2745
2745
  ref_key: "triggerRef",
2746
2746
  ref: i,
@@ -2756,10 +2756,10 @@ const a2 = (e) => {
2756
2756
  }, [
2757
2757
  G(M.$slots, "default", {}, void 0, !0)
2758
2758
  ], 40, n2),
2759
- (v(), te(Fe, { to: "body" }, [
2759
+ (d(), te(Fe, { to: "body" }, [
2760
2760
  j(Ee, { name: "tooltip-fade" }, {
2761
2761
  default: ee(() => [
2762
- a.value ? (v(), b("div", {
2762
+ a.value ? (d(), b("div", {
2763
2763
  key: 0,
2764
2764
  ref_key: "tooltipRef",
2765
2765
  ref: l,
@@ -2812,7 +2812,7 @@ const i2 = {
2812
2812
  ]), s = V(() => t.clickable && t.as !== "button" && t.as !== "a"), r = (u) => {
2813
2813
  t.disabled || !i.value || a("click", u);
2814
2814
  }, c = () => a("remove");
2815
- return (u, h) => (v(), te(Ze(e.as), {
2815
+ return (u, h) => (d(), te(Ze(e.as), {
2816
2816
  ref_key: "rootRef",
2817
2817
  ref: o,
2818
2818
  class: fe(["ui-tag", l.value]),
@@ -2826,20 +2826,20 @@ const i2 = {
2826
2826
  ]
2827
2827
  }, {
2828
2828
  default: ee(() => [
2829
- u.$slots.icon ? (v(), b("span", i2, [
2829
+ u.$slots.icon ? (d(), b("span", i2, [
2830
2830
  G(u.$slots, "icon", {}, void 0, !0)
2831
2831
  ])) : F("", !0),
2832
2832
  x("span", u2, [
2833
2833
  G(u.$slots, "default", {}, void 0, !0)
2834
2834
  ]),
2835
- e.removable ? (v(), b("button", {
2835
+ e.removable ? (d(), b("button", {
2836
2836
  key: 1,
2837
2837
  class: "ui-tag__remove",
2838
2838
  type: "button",
2839
2839
  "aria-label": `Remove ${e.textContent}`,
2840
2840
  onClick: ve(c, ["stop"])
2841
2841
  }, [
2842
- j(he, {
2842
+ j(pe, {
2843
2843
  name: "close",
2844
2844
  size: 32
2845
2845
  })
@@ -2865,7 +2865,7 @@ const i2 = {
2865
2865
  }
2866
2866
  a("click", i);
2867
2867
  };
2868
- return (i, l) => (v(), b("a", {
2868
+ return (i, l) => (d(), b("a", {
2869
2869
  class: "link",
2870
2870
  href: e.disabled ? void 0 : e.href,
2871
2871
  "aria-disabled": e.disabled ? "true" : void 0,
@@ -2932,7 +2932,7 @@ const i2 = {
2932
2932
  hintId: {}
2933
2933
  },
2934
2934
  setup(e) {
2935
- return (n, t) => n.$slots.default ? (v(), b("p", {
2935
+ return (n, t) => n.$slots.default ? (d(), b("p", {
2936
2936
  key: 0,
2937
2937
  id: e.hintId,
2938
2938
  class: "visually-hidden"
@@ -2947,7 +2947,7 @@ const i2 = {
2947
2947
  isRequired: {}
2948
2948
  },
2949
2949
  setup(e) {
2950
- return (n, t) => e.isRequired ? (v(), b("p", {
2950
+ return (n, t) => e.isRequired ? (d(), b("p", {
2951
2951
  key: 0,
2952
2952
  id: `${e.baseId}-required-hint`,
2953
2953
  class: "visually-hidden"
@@ -2961,7 +2961,7 @@ const i2 = {
2961
2961
  errorMessage: {}
2962
2962
  },
2963
2963
  setup(e) {
2964
- return (n, t) => e.invalid && e.errorMessage ? (v(), b("p", {
2964
+ return (n, t) => e.invalid && e.errorMessage ? (d(), b("p", {
2965
2965
  key: 0,
2966
2966
  id: e.errorId,
2967
2967
  class: "error-text",
@@ -2985,7 +2985,7 @@ const i2 = {
2985
2985
  }),
2986
2986
  emits: /* @__PURE__ */ ie(["focus", "blur"], ["update:modelValue"]),
2987
2987
  setup(e, { emit: n }) {
2988
- const t = be(e, "modelValue"), a = e, o = n, i = lt(), l = w(null), s = Ce(), r = `${s}-error`, c = `${s}-hint`, u = Ke(i).value, h = w(!1), m = V(() => t.value !== null && t.value !== void 0 && t.value !== ""), p = V(() => u ? `${c} ${s}-required-hint` : c), C = V(() => a.invalid === !0 && a.errorMessage ? r : void 0), M = V(() => a.type === "password" ? H.value ? "text" : "password" : a.type), D = V(() => {
2988
+ const t = be(e, "modelValue"), a = e, o = n, i = lt(), l = w(null), s = he(), r = `${s}-error`, c = `${s}-hint`, u = Ke(i).value, h = w(!1), m = V(() => t.value !== null && t.value !== void 0 && t.value !== ""), p = V(() => u ? `${c} ${s}-required-hint` : c), C = V(() => a.invalid === !0 && a.errorMessage ? r : void 0), M = V(() => a.type === "password" ? H.value ? "text" : "password" : a.type), D = V(() => {
2989
2989
  const { type: R, ...I } = i;
2990
2990
  return I;
2991
2991
  }), $ = V(() => a.mask ? ht(String(t.value ?? ""), a.mask) : String(t.value ?? "")), k = V(() => Ne(a.mask ?? "").filter((R) => R.type !== "literal").length), H = w(!1), y = () => H.value = !H.value, T = (R) => {
@@ -3019,7 +3019,7 @@ const i2 = {
3019
3019
  }, _ = (R) => {
3020
3020
  h.value = !1, o("blur", R);
3021
3021
  };
3022
- return (R, I) => (v(), b("div", {
3022
+ return (R, I) => (d(), b("div", {
3023
3023
  class: fe(["input-box", { required: E(u), error: e.invalid, filled: m.value, focused: h.value }])
3024
3024
  }, [
3025
3025
  x("label", {
@@ -3057,14 +3057,14 @@ const i2 = {
3057
3057
  invalid: e.invalid,
3058
3058
  errorMessage: e.errorMessage
3059
3059
  }, null, 8, ["invalid", "errorMessage"]),
3060
- e.type === "password" ? (v(), te(Le, ke({ key: 0 }, Object.keys(R.$attrs).includes("disabled") ? { disabled: !0 } : void 0, {
3060
+ e.type === "password" ? (d(), te(Le, ke({ key: 0 }, Object.keys(R.$attrs).includes("disabled") ? { disabled: !0 } : void 0, {
3061
3061
  type: "button",
3062
3062
  class: "btn-icon",
3063
3063
  onClick: y,
3064
3064
  "aria-label": H.value ? "Hide password" : "Show password"
3065
3065
  }), {
3066
3066
  default: ee(() => [
3067
- j(he, {
3067
+ j(pe, {
3068
3068
  name: H.value ? "eyeOff" : "eye"
3069
3069
  }, null, 8, ["name"])
3070
3070
  ]),
@@ -3093,21 +3093,21 @@ const i2 = {
3093
3093
  return Q(
3094
3094
  () => n.src,
3095
3095
  () => n.src && (t.value = "loading")
3096
- ), ce(() => !n.src && (t.value = "error")), (r, c) => (v(), b("div", {
3096
+ ), ce(() => !n.src && (t.value = "error")), (r, c) => (d(), b("div", {
3097
3097
  class: "ui-avatar",
3098
3098
  "data-size": e.size,
3099
3099
  "data-shape": e.shape,
3100
3100
  "aria-label": a.value ? void 0 : i.value,
3101
3101
  "aria-busy": t.value === "loading" || void 0
3102
3102
  }, [
3103
- a.value ? (v(), te(_e, {
3103
+ a.value ? (d(), te(_e, {
3104
3104
  key: 0,
3105
3105
  src: e.src,
3106
3106
  alt: e.alt ?? "",
3107
3107
  class: "ui-avatar__img",
3108
3108
  onLoad: l,
3109
3109
  onError: s
3110
- }, null, 8, ["src", "alt"])) : t.value === "loading" ? (v(), b("div", V2)) : (v(), b("div", B2, [
3110
+ }, null, 8, ["src", "alt"])) : t.value === "loading" ? (d(), b("div", V2)) : (d(), b("div", B2, [
3111
3111
  G(r.$slots, "default", {}, () => [
3112
3112
  Me(P(o.value), 1)
3113
3113
  ], !0)
@@ -3132,7 +3132,7 @@ const i2 = {
3132
3132
  Q(i, (O) => {
3133
3133
  O ? document.addEventListener("mousedown", oe) : document.removeEventListener("mousedown", oe);
3134
3134
  });
3135
- const l = lt(), s = w(!1), r = w(null), c = V(() => a.id ?? Ce()), u = `${c.value}-label`, h = `${c.value}-listbox`, m = `${c.value}-error`, p = `${c.value}-hint`, C = `${c.value}-value`, M = w(null), D = w(null), $ = V(() => t.value !== null && t.value !== void 0 && t.value !== ""), k = V(() => M.value !== null ? `${h}-option-${M.value}` : void 0), H = Ke(l).value, y = V(() => H ? `${p} ${c.value}-required-hint` : p), T = V(() => i.value && k.value ? k.value : void 0), N = V(() => D.value !== null ? a.options[D.value]?.value : "");
3135
+ const l = lt(), s = w(!1), r = w(null), c = V(() => a.id ?? he()), u = `${c.value}-label`, h = `${c.value}-listbox`, m = `${c.value}-error`, p = `${c.value}-hint`, C = `${c.value}-value`, M = w(null), D = w(null), $ = V(() => t.value !== null && t.value !== void 0 && t.value !== ""), k = V(() => M.value !== null ? `${h}-option-${M.value}` : void 0), H = Ke(l).value, y = V(() => H ? `${p} ${c.value}-required-hint` : p), T = V(() => i.value && k.value ? k.value : void 0), N = V(() => D.value !== null ? a.options[D.value]?.value : "");
3136
3136
  Q(
3137
3137
  () => t.value,
3138
3138
  () => de()
@@ -3200,7 +3200,7 @@ const i2 = {
3200
3200
  if (!a.options || a.options.length === 0) return;
3201
3201
  de();
3202
3202
  }
3203
- }), (O, L) => (v(), b("div", {
3203
+ }), (O, L) => (d(), b("div", {
3204
3204
  ref_key: "selectRef",
3205
3205
  ref: r,
3206
3206
  class: fe(["select-box", { required: Object.keys(O.$attrs).includes("required"), error: e.invalid, filled: $.value, focused: s.value }])
@@ -3237,7 +3237,7 @@ const i2 = {
3237
3237
  "aria-atomic": "true",
3238
3238
  innerHTML: N.value
3239
3239
  }, null, 8, D2),
3240
- j(he, {
3240
+ j(pe, {
3241
3241
  name: "directionDown",
3242
3242
  "aria-hidden": "true"
3243
3243
  })
@@ -3249,7 +3249,7 @@ const i2 = {
3249
3249
  role: "listbox",
3250
3250
  class: "options"
3251
3251
  }, [
3252
- (v(!0), b(ue, null, pe(e.options, (z, ae) => (v(), b("li", {
3252
+ (d(!0), b(ue, null, Ce(e.options, (z, ae) => (d(), b("li", {
3253
3253
  id: `${h}-option-${ae}`,
3254
3254
  key: ae,
3255
3255
  role: "option",
@@ -3310,7 +3310,7 @@ const i2 = {
3310
3310
  }),
3311
3311
  emits: /* @__PURE__ */ ie(["change"], ["update:modelValue"]),
3312
3312
  setup(e, { emit: n }) {
3313
- const t = be(e, "modelValue"), a = e, o = n, i = w([]), l = w("next"), s = w(null), r = `gallery-caption-${Ce()}`, c = w(null), u = V(() => t.value), h = V(() => a.images[u.value]), m = (k, H) => {
3313
+ const t = be(e, "modelValue"), a = e, o = n, i = w([]), l = w("next"), s = w(null), r = `gallery-caption-${he()}`, c = w(null), u = V(() => t.value), h = V(() => a.images[u.value]), m = (k, H) => {
3314
3314
  k && (i.value[H] = k);
3315
3315
  }, p = (k) => {
3316
3316
  k !== u.value && (l.value = k > u.value ? "next" : "prev", t.value = k, o("change", k));
@@ -3341,7 +3341,7 @@ const i2 = {
3341
3341
  });
3342
3342
  }), Q(() => a.images, () => {
3343
3343
  i.value = [];
3344
- }), (k, H) => (v(), b("div", {
3344
+ }), (k, H) => (d(), b("div", {
3345
3345
  role: "region",
3346
3346
  class: "rs-gallery",
3347
3347
  "aria-roledescription": "carousel",
@@ -3367,7 +3367,7 @@ const i2 = {
3367
3367
  onAfterEnter: $
3368
3368
  }, {
3369
3369
  default: ee(() => [
3370
- h.value ? (v(), te(_e, {
3370
+ h.value ? (d(), te(_e, {
3371
3371
  key: h.value.src,
3372
3372
  src: h.value.src,
3373
3373
  alt: h.value.alt || "",
@@ -3381,13 +3381,13 @@ const i2 = {
3381
3381
  index: u.value
3382
3382
  }, void 0, !0)
3383
3383
  ], 44, Z2),
3384
- h.value?.title ? (v(), b("p", {
3384
+ h.value?.title ? (d(), b("p", {
3385
3385
  key: 0,
3386
3386
  id: r,
3387
3387
  class: "rs-gallery-caption"
3388
3388
  }, P(h.value.title), 1)) : F("", !0),
3389
- e.showThumbnails ? (v(), b("ul", z2, [
3390
- (v(!0), b(ue, null, pe(e.images, (y, T) => (v(), b("li", {
3389
+ e.showThumbnails ? (d(), b("ul", z2, [
3390
+ (d(!0), b(ue, null, Ce(e.images, (y, T) => (d(), b("li", {
3391
3391
  key: y.src,
3392
3392
  ref_for: !0,
3393
3393
  ref: (N) => m(N, T),
@@ -3423,13 +3423,13 @@ const i2 = {
3423
3423
  },
3424
3424
  emits: ["change"],
3425
3425
  setup(e) {
3426
- return (n, t) => (v(), b("div", {
3426
+ return (n, t) => (d(), b("div", {
3427
3427
  class: "rs-gallery-grid",
3428
3428
  style: Ie({ "--grid-columns": e.columns, "--grid-gap": e.gap }),
3429
3429
  role: "list",
3430
3430
  "aria-label": e.ariaLabel || "Image grid gallery"
3431
3431
  }, [
3432
- (v(!0), b(ue, null, pe(e.images, (a, o) => (v(), b("button", {
3432
+ (d(!0), b(ue, null, Ce(e.images, (a, o) => (d(), b("button", {
3433
3433
  key: a.src,
3434
3434
  type: "button",
3435
3435
  class: "grid-item",
@@ -3461,7 +3461,7 @@ const nt = Z({
3461
3461
  },
3462
3462
  emits: ["update:open", "opened", "closed"],
3463
3463
  setup(e, { emit: n, slots: t }) {
3464
- const a = w(!1), o = w(e.open), i = Ce(), l = `modal-title-${i}`, s = `modal-desc-${i}`;
3464
+ const a = w(!1), o = w(e.open), i = he(), l = `modal-title-${i}`, s = `modal-desc-${i}`;
3465
3465
  Q(() => e.open, (h) => o.value = h), Q(o, (h) => {
3466
3466
  n("update:open", h), n(h ? "opened" : "closed");
3467
3467
  });
@@ -3589,7 +3589,7 @@ const nt = Z({
3589
3589
  "aria-label": "Close modal",
3590
3590
  onClick: e.close
3591
3591
  },
3592
- U(he, { name: "close", size: 32 })
3592
+ U(pe, { name: "close", size: 32 })
3593
3593
  );
3594
3594
  }
3595
3595
  });
@@ -3616,7 +3616,7 @@ const U2 = /* @__PURE__ */ Z({
3616
3616
  const n = w(0), t = w(!1), a = (i) => {
3617
3617
  n.value = i, t.value = !0;
3618
3618
  }, o = () => t.value = !1;
3619
- return (i, l) => (v(), b(ue, null, [
3619
+ return (i, l) => (d(), b(ue, null, [
3620
3620
  j(It, {
3621
3621
  images: e.images,
3622
3622
  onChange: a,
@@ -3680,8 +3680,8 @@ const U2 = /* @__PURE__ */ Z({
3680
3680
  gap: { default: "1rem" }
3681
3681
  },
3682
3682
  setup(e) {
3683
- return (n, t) => (v(), b("div", j2, [
3684
- (v(!0), b(ue, null, pe(e.images, (a) => (v(), b("button", {
3683
+ return (n, t) => (d(), b("div", j2, [
3684
+ (d(!0), b(ue, null, Ce(e.images, (a) => (d(), b("button", {
3685
3685
  key: a.src,
3686
3686
  class: "masonry-item"
3687
3687
  }, [
@@ -3724,8 +3724,8 @@ const U2 = /* @__PURE__ */ Z({
3724
3724
  t.value = l, a("change", l);
3725
3725
  }
3726
3726
  }), i = (l) => o.value = l;
3727
- return (l, s) => (v(), b("section", X2, [
3728
- e.layout === "carousel" ? (v(), te($t, {
3727
+ return (l, s) => (d(), b("section", X2, [
3728
+ e.layout === "carousel" ? (d(), te($t, {
3729
3729
  key: 0,
3730
3730
  modelValue: o.value,
3731
3731
  "onUpdate:modelValue": s[0] || (s[0] = (r) => o.value = r),
@@ -3735,7 +3735,7 @@ const U2 = /* @__PURE__ */ Z({
3735
3735
  transform: e.transform,
3736
3736
  "transform-thumbnails": e.transformThumbnails,
3737
3737
  "show-thumbnails": e.showThumbnails
3738
- }, null, 8, ["modelValue", "images", "loop", "aria-label", "transform", "transform-thumbnails", "show-thumbnails"])) : e.layout === "grid" ? (v(), te(It, {
3738
+ }, null, 8, ["modelValue", "images", "loop", "aria-label", "transform", "transform-thumbnails", "show-thumbnails"])) : e.layout === "grid" ? (d(), te(It, {
3739
3739
  key: 1,
3740
3740
  modelValue: o.value,
3741
3741
  "onUpdate:modelValue": s[1] || (s[1] = (r) => o.value = r),
@@ -3745,14 +3745,14 @@ const U2 = /* @__PURE__ */ Z({
3745
3745
  gap: e.gap,
3746
3746
  transform: e.transform,
3747
3747
  "aria-label": e.ariaLabel
3748
- }, null, 8, ["modelValue", "images", "columns", "gap", "transform", "aria-label"])) : e.layout === "grid-lightbox" ? (v(), te(U2, {
3748
+ }, null, 8, ["modelValue", "images", "columns", "gap", "transform", "aria-label"])) : e.layout === "grid-lightbox" ? (d(), te(U2, {
3749
3749
  key: 2,
3750
3750
  modelValue: o.value,
3751
3751
  "onUpdate:modelValue": s[2] || (s[2] = (r) => o.value = r),
3752
3752
  images: e.images,
3753
3753
  transform: e.transform,
3754
3754
  "aria-label": e.ariaLabel
3755
- }, null, 8, ["modelValue", "images", "transform", "aria-label"])) : e.layout === "masonry" ? (v(), te(Y2, {
3755
+ }, null, 8, ["modelValue", "images", "transform", "aria-label"])) : e.layout === "masonry" ? (d(), te(Y2, {
3756
3756
  key: 3,
3757
3757
  modelValue: o.value,
3758
3758
  "onUpdate:modelValue": s[3] || (s[3] = (r) => o.value = r),
@@ -3789,7 +3789,7 @@ const J2 = ["aria-busy"], Q2 = {
3789
3789
  (s, r) => {
3790
3790
  s !== r && (o.value = s || "", l());
3791
3791
  }
3792
- ), ce(i), Ve(l), (s, r) => (v(), b("div", {
3792
+ ), ce(i), Ve(l), (s, r) => (d(), b("div", {
3793
3793
  class: "spinner-container",
3794
3794
  role: "status",
3795
3795
  "aria-live": "polite",
@@ -3799,7 +3799,7 @@ const J2 = ["aria-busy"], Q2 = {
3799
3799
  class: "spinner",
3800
3800
  "aria-hidden": "true"
3801
3801
  }, null, -1)),
3802
- e.message ? (v(), b("span", Q2, P(o.value), 1)) : F("", !0),
3802
+ e.message ? (d(), b("span", Q2, P(o.value), 1)) : F("", !0),
3803
3803
  x("span", en, P(e.message || "Loading"), 1)
3804
3804
  ], 8, J2));
3805
3805
  }
@@ -3827,7 +3827,7 @@ const J2 = ["aria-busy"], Q2 = {
3827
3827
  }),
3828
3828
  emits: /* @__PURE__ */ ie(["change"], ["update:modelValue"]),
3829
3829
  setup(e, { emit: n }) {
3830
- const t = n, a = be(e, "modelValue"), o = e, i = Ce(), l = V(() => o.id ?? `checkbox-${i}`), s = w(null), r = y2(o).value, c = V(() => o.required ? !0 : void 0), u = V(() => o.triState && a.value === void 0 ? "mixed" : void 0);
3830
+ const t = n, a = be(e, "modelValue"), o = e, i = he(), l = V(() => o.id ?? `checkbox-${i}`), s = w(null), r = y2(o).value, c = V(() => o.required ? !0 : void 0), u = V(() => o.triState && a.value === void 0 ? "mixed" : void 0);
3831
3831
  Q(
3832
3832
  () => a.value,
3833
3833
  (m) => {
@@ -3845,7 +3845,7 @@ const J2 = ["aria-busy"], Q2 = {
3845
3845
  a.value === !1 ? a.value = !0 : a.value === !0 ? a.value = void 0 : a.value = !1, t("change", a.value);
3846
3846
  }
3847
3847
  };
3848
- return (m, p) => (v(), b("label", {
3848
+ return (m, p) => (d(), b("label", {
3849
3849
  class: fe(["checkbox-root", { required: c.value, error: e.invalid }])
3850
3850
  }, [
3851
3851
  x("input", {
@@ -3864,12 +3864,12 @@ const J2 = ["aria-busy"], Q2 = {
3864
3864
  ref: s
3865
3865
  }, null, 40, an),
3866
3866
  x("span", nn, [
3867
- a.value === !0 ? (v(), b("svg", on, [...p[2] || (p[2] = [
3867
+ a.value === !0 ? (d(), b("svg", on, [...p[2] || (p[2] = [
3868
3868
  x("path", {
3869
3869
  d: "M4.86199 11.5948C4.78717 11.5923 4.71366 11.5745 4.64596 11.5426C4.57826 11.5107 4.51779 11.4652 4.46827 11.4091L0.753985 7.69483C0.683167 7.64891 0.623706 7.58751 0.580092 7.51525C0.536478 7.44299 0.509851 7.36177 0.502221 7.27771C0.49459 7.19366 0.506156 7.10897 0.536046 7.03004C0.565935 6.95111 0.613367 6.88 0.674759 6.82208C0.736151 6.76416 0.8099 6.72095 0.890436 6.69571C0.970973 6.67046 1.05619 6.66385 1.13966 6.67635C1.22313 6.68886 1.30266 6.72017 1.37226 6.76792C1.44186 6.81567 1.4997 6.8786 1.54141 6.95197L4.86199 10.2503L12.6397 2.49483C12.7444 2.42694 12.8689 2.39617 12.9932 2.40745C13.1174 2.41873 13.2343 2.47141 13.3251 2.55705C13.4159 2.64268 13.4753 2.75632 13.4938 2.87973C13.5123 3.00315 13.4888 3.1292 13.4271 3.23768L5.2557 11.4091C5.20618 11.4652 5.14571 11.5107 5.07801 11.5426C5.01031 11.5745 4.9368 11.5923 4.86199 11.5948Z",
3870
3870
  fill: "currentColor"
3871
3871
  }, null, -1)
3872
- ])])) : a.value === void 0 ? (v(), b("svg", ln, [...p[3] || (p[3] = [
3872
+ ])])) : a.value === void 0 ? (d(), b("svg", ln, [...p[3] || (p[3] = [
3873
3873
  x("path", {
3874
3874
  d: "M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z",
3875
3875
  fill: "currentColor"
@@ -3897,14 +3897,14 @@ const J2 = ["aria-busy"], Q2 = {
3897
3897
  }),
3898
3898
  emits: /* @__PURE__ */ ie(["focus", "blur"], ["update:modelValue"]),
3899
3899
  setup(e, { emit: n }) {
3900
- const t = be(e, "modelValue"), a = lt(), o = rt(), i = n, l = e, s = w(null), r = w(null), c = Ce(), u = `${c}-error`, h = `${c}-hint`, m = Ke(a).value, p = V(() => m ? `${h} ${c}-required-hint` : h), C = st(l, o, u, p.value).value, M = ($) => {
3900
+ const t = be(e, "modelValue"), a = lt(), o = rt(), i = n, l = e, s = w(null), r = w(null), c = he(), u = `${c}-error`, h = `${c}-hint`, m = Ke(a).value, p = V(() => m ? `${h} ${c}-required-hint` : h), C = st(l, o, u, p.value).value, M = ($) => {
3901
3901
  at(s.value, r.value);
3902
3902
  const k = $.target;
3903
3903
  t.value = l.type === "number" ? Number(k.value) : k.value;
3904
3904
  }, D = V(() => l.invalid === !0 && l.errorMessage ? u : void 0);
3905
3905
  return ce(() => {
3906
3906
  at(s.value, r.value);
3907
- }), ($, k) => (v(), b("div", {
3907
+ }), ($, k) => (d(), b("div", {
3908
3908
  class: fe(["textarea-box", { required: E(m), error: e.invalid }]),
3909
3909
  ref_key: "inputBoxRef",
3910
3910
  ref: r
@@ -3956,8 +3956,8 @@ const J2 = ["aria-busy"], Q2 = {
3956
3956
  let s = 0;
3957
3957
  return t.replace(i, (r, c) => (c > s && l.push({ text: t.slice(s, c), match: !1 }), l.push({ text: r, match: !0 }), s = c + r.length, r)), s < t.length && l.push({ text: t.slice(s), match: !1 }), l;
3958
3958
  };
3959
- return (t, a) => (v(!0), b(ue, null, pe(n(e.text, e.query), (o, i) => (v(), b(ue, { key: i }, [
3960
- o.match ? (v(), b("mark", vn, P(o.text), 1)) : (v(), b("span", fn, P(o.text), 1))
3959
+ return (t, a) => (d(!0), b(ue, null, Ce(n(e.text, e.query), (o, i) => (d(), b(ue, { key: i }, [
3960
+ o.match ? (d(), b("mark", vn, P(o.text), 1)) : (d(), b("span", fn, P(o.text), 1))
3961
3961
  ], 64))), 128));
3962
3962
  }
3963
3963
  }), pn = /* @__PURE__ */ W(mn, [["__scopeId", "data-v-edfa70b3"]]), Cn = [
@@ -4033,9 +4033,9 @@ const J2 = ["aria-busy"], Q2 = {
4033
4033
  );
4034
4034
  }), p;
4035
4035
  };
4036
- return (p, C) => (v(), b("section", hn, [
4036
+ return (p, C) => (d(), b("section", hn, [
4037
4037
  x("ul", gn, [
4038
- (v(!0), b(ue, null, pe(t.rules, (M, D) => (v(), b("li", {
4038
+ (d(!0), b(ue, null, Ce(t.rules, (M, D) => (d(), b("li", {
4039
4039
  key: M.key,
4040
4040
  class: "password-rule",
4041
4041
  "data-rule": M.key,
@@ -4091,13 +4091,13 @@ const Mn = {
4091
4091
  rel: s.external ? "noopener noreferrer" : void 0,
4092
4092
  "aria-label": s.external ? `${s.label} (opens in a new tab)` : void 0
4093
4093
  } : {};
4094
- return (s, r) => (v(), b("nav", Mn, [
4094
+ return (s, r) => (d(), b("nav", Mn, [
4095
4095
  x("ol", Ln, [
4096
- (v(!0), b(ue, null, pe(e.items, (c, u) => (v(), b("li", {
4096
+ (d(!0), b(ue, null, Ce(e.items, (c, u) => (d(), b("li", {
4097
4097
  key: c.to ?? c.href ?? `${c.label}-${u}`,
4098
4098
  class: "ui-breadcrumb__item"
4099
4099
  }, [
4100
- (v(), te(Ze(o(c, u)), ke({ class: "ui-breadcrumb__link" }, { ref_for: !0 }, l(c, u), {
4100
+ (d(), te(Ze(o(c, u)), ke({ class: "ui-breadcrumb__link" }, { ref_for: !0 }, l(c, u), {
4101
4101
  "aria-posinset": u + 1,
4102
4102
  "aria-setsize": e.items.length,
4103
4103
  "aria-current": a(u) ? "page" : void 0,
@@ -4108,7 +4108,7 @@ const Mn = {
4108
4108
  ]),
4109
4109
  _: 2
4110
4110
  }, 1040, ["aria-posinset", "aria-setsize", "aria-current", "tabindex"])),
4111
- a(u) ? F("", !0) : (v(), b("span", xn, [
4111
+ a(u) ? F("", !0) : (d(), b("span", xn, [
4112
4112
  G(s.$slots, "separator", {}, () => [
4113
4113
  Me(P(e.separator), 1)
4114
4114
  ], !0)
@@ -4140,14 +4140,14 @@ const Mn = {
4140
4140
  emits: ["update:modelValue"],
4141
4141
  setup(e) {
4142
4142
  const n = e, t = be(e, "modelValue"), a = V(() => n.invalid ? "true" : void 0), o = V(() => n.required && !n.disabled ? "true" : void 0), i = V(() => n.disabled ? !0 : void 0);
4143
- return (l, s) => (v(), b("fieldset", {
4143
+ return (l, s) => (d(), b("fieldset", {
4144
4144
  class: fe(["radio-group", { "in-column": e.inColumn, btn: e.mode === "button" }]),
4145
4145
  "aria-invalid": a.value,
4146
4146
  "aria-required": o.value,
4147
4147
  disabled: i.value
4148
4148
  }, [
4149
4149
  x("legend", Hn, P(e.name), 1),
4150
- (v(!0), b(ue, null, pe(e.options, (r) => (v(), b("label", {
4150
+ (d(!0), b(ue, null, Ce(e.options, (r) => (d(), b("label", {
4151
4151
  key: r.key,
4152
4152
  class: fe(["radio", { checked: t.value === r.key, disabled: e.disabled || r.disabled }])
4153
4153
  }, [
@@ -4162,12 +4162,19 @@ const Mn = {
4162
4162
  }, null, 8, Vn), [
4163
4163
  [Tt, t.value]
4164
4164
  ]),
4165
- e.mode === "standard" ? (v(), b("span", Bn)) : F("", !0),
4166
- x("span", An, P(r.label), 1)
4165
+ e.mode === "standard" ? (d(), b("span", Bn)) : F("", !0),
4166
+ x("span", An, [
4167
+ r.icon ? (d(), te(pe, {
4168
+ key: 0,
4169
+ name: r.icon,
4170
+ size: 22
4171
+ }, null, 8, ["name"])) : F("", !0),
4172
+ Me(" " + P(r.label), 1)
4173
+ ])
4167
4174
  ], 2))), 128))
4168
4175
  ], 10, In));
4169
4176
  }
4170
- }), Hl = /* @__PURE__ */ W(Rn, [["__scopeId", "data-v-8f76f7f0"]]), Dn = ["for"], Sn = ["id", "type", "aria-expanded", "aria-activedescendant", "aria-required", "aria-invalid", "disabled", "aria-disabled"], _n = ["id", "aria-disabled", "aria-selected", "onClick"], Tn = {
4177
+ }), Hl = /* @__PURE__ */ W(Rn, [["__scopeId", "data-v-4a7c1870"]]), Dn = ["for"], Sn = ["id", "type", "aria-expanded", "aria-activedescendant", "aria-required", "aria-invalid", "disabled", "aria-disabled"], _n = ["id", "aria-disabled", "aria-selected", "onClick"], Tn = {
4171
4178
  class: "option-value",
4172
4179
  "aria-hidden": "true"
4173
4180
  }, En = { class: "option-value sr-only" }, Zn = {
@@ -4209,7 +4216,7 @@ const Mn = {
4209
4216
  }),
4210
4217
  emits: /* @__PURE__ */ ie(["change", "select", "focus", "blur"], ["update:modelValue"]),
4211
4218
  setup(e, { emit: n }) {
4212
- const t = e, a = n, o = be(e, "modelValue"), i = w(null), l = w(""), s = w(!1), r = w([]), c = w(null), u = w(null), h = V(() => t.id ? `${t.id}-search-history` : "search-history"), p = `${Ce()}-list`, C = w(!1), M = V(() => o.value !== null && o.value !== void 0 && o.value !== ""), D = V(() => c.value !== null ? `${p}-option-${c.value}` : void 0), $ = V(() => s.value && D.value ? D.value : void 0), k = V(() => r.value.length > 0), H = V(() => {
4219
+ const t = e, a = n, o = be(e, "modelValue"), i = w(null), l = w(""), s = w(!1), r = w([]), c = w(null), u = w(null), h = V(() => t.id ? `${t.id}-search-history` : "search-history"), p = `${he()}-list`, C = w(!1), M = V(() => o.value !== null && o.value !== void 0 && o.value !== ""), D = V(() => c.value !== null ? `${p}-option-${c.value}` : void 0), $ = V(() => s.value && D.value ? D.value : void 0), k = V(() => r.value.length > 0), H = V(() => {
4213
4220
  if (!t.filterable) return t.options;
4214
4221
  const L = l.value.toLowerCase();
4215
4222
  return t.options.filter((z) => t.getValue(z).toLowerCase().includes(L));
@@ -4312,7 +4319,7 @@ const Mn = {
4312
4319
  for (let L = H.value.length - 1; L >= 0; L--) if (!t.isDisabled(H.value[L])) return L;
4313
4320
  return -1;
4314
4321
  };
4315
- return ce(() => I()), (L, z) => (v(), b("div", {
4322
+ return ce(() => I()), (L, z) => (d(), b("div", {
4316
4323
  class: fe(["autocomplete", { required: E(y), error: e.invalid, "has-icon": Object.keys(L.$slots).includes("icon"), filled: M.value, focused: C.value }]),
4317
4324
  ref_key: "autocompleteRef",
4318
4325
  ref: i
@@ -4349,7 +4356,7 @@ const Mn = {
4349
4356
  role: "listbox",
4350
4357
  class: "options"
4351
4358
  }, [
4352
- H.value.length > 0 ? (v(!0), b(ue, { key: 0 }, pe(H.value, (ae, f) => (v(), b("li", {
4359
+ H.value.length > 0 ? (d(!0), b(ue, { key: 0 }, Ce(H.value, (ae, f) => (d(), b("li", {
4353
4360
  id: `${p}-option-${f}`,
4354
4361
  key: e.getKey(ae),
4355
4362
  role: "option",
@@ -4358,9 +4365,9 @@ const Mn = {
4358
4365
  "aria-selected": f === u.value,
4359
4366
  onMousedown: z[1] || (z[1] = ve(() => {
4360
4367
  }, ["prevent"])),
4361
- onClick: (d) => !t.isDisabled(ae) && J(ae, f)
4368
+ onClick: (v) => !t.isDisabled(ae) && J(ae, f)
4362
4369
  }, [
4363
- t.isDisabled(ae) ? F("", !0) : (v(), te(he, {
4370
+ t.isDisabled(ae) ? F("", !0) : (d(), te(pe, {
4364
4371
  key: 0,
4365
4372
  name: "search",
4366
4373
  size: 22
@@ -4380,25 +4387,25 @@ const Mn = {
4380
4387
  ])
4381
4388
  ], !0),
4382
4389
  x("div", En, P(e.getValue(ae)), 1)
4383
- ], 42, _n))), 128)) : H.value.length === 0 && !e.loading ? (v(), b("li", Zn, [...z[3] || (z[3] = [
4390
+ ], 42, _n))), 128)) : H.value.length === 0 && !e.loading ? (d(), b("li", Zn, [...z[3] || (z[3] = [
4384
4391
  x("div", { class: "option-value" }, "No results found", -1)
4385
- ])])) : (v(), te(Dt, {
4392
+ ])])) : (d(), te(Dt, {
4386
4393
  key: 2,
4387
4394
  "aria-live": "polite",
4388
4395
  role: "status",
4389
4396
  message: "Loading"
4390
4397
  })),
4391
- k.value ? (v(), b("li", zn, [...z[4] || (z[4] = [
4398
+ k.value ? (d(), b("li", zn, [...z[4] || (z[4] = [
4392
4399
  x("div", { class: "option-value" }, " Recents ", -1)
4393
4400
  ])])) : F("", !0),
4394
- (v(!0), b(ue, null, pe(r.value, (ae) => (v(), b("li", {
4401
+ (d(!0), b(ue, null, Ce(r.value, (ae) => (d(), b("li", {
4395
4402
  key: ae,
4396
4403
  role: "presentation",
4397
4404
  "aria-hidden": "true",
4398
4405
  class: "option recent-item",
4399
4406
  onClick: (f) => ne(ae)
4400
4407
  }, [
4401
- j(he, { name: "clock" }),
4408
+ j(pe, { name: "clock" }),
4402
4409
  x("div", On, P(ae), 1)
4403
4410
  ], 8, qn))), 128))
4404
4411
  ], 512), [
@@ -4407,10 +4414,10 @@ const Mn = {
4407
4414
  ]),
4408
4415
  _: 3
4409
4416
  }),
4410
- L.$slots.icon ? (v(), b("span", Nn, [
4417
+ L.$slots.icon ? (d(), b("span", Nn, [
4411
4418
  G(L.$slots, "icon", {}, void 0, !0)
4412
4419
  ])) : F("", !0),
4413
- l.value.length > 0 && !e.disabled ? (v(), te(Le, {
4420
+ l.value.length > 0 && !e.disabled ? (d(), te(Le, {
4414
4421
  key: 1,
4415
4422
  type: "button",
4416
4423
  class: "btn btn-icon",
@@ -4422,7 +4429,7 @@ const Mn = {
4422
4429
  onClick: A
4423
4430
  }, {
4424
4431
  default: ee(() => [
4425
- j(he, {
4432
+ j(pe, {
4426
4433
  class: "clear-search",
4427
4434
  "aria-hidden": "true",
4428
4435
  name: "close",
@@ -4497,7 +4504,7 @@ const Se = (e, n = "info") => {
4497
4504
  const c = () => {
4498
4505
  cancelAnimationFrame(l), a.value = "closing", setTimeout(() => we.toasts = we.toasts.filter((u) => u.id !== n.id), Xn);
4499
4506
  };
4500
- return ce(() => n.variant === "error" && n.focus && t.value?.focus()), Te(() => cancelAnimationFrame(l)), (u, h) => (v(), b("div", {
4507
+ return ce(() => n.variant === "error" && n.focus && t.value?.focus()), Te(() => cancelAnimationFrame(l)), (u, h) => (d(), b("div", {
4501
4508
  ref_key: "rootRef",
4502
4509
  ref: t,
4503
4510
  tabindex: "-1",
@@ -4518,7 +4525,7 @@ const Se = (e, n = "info") => {
4518
4525
  class: "btn-sm"
4519
4526
  }, {
4520
4527
  default: ee(() => [
4521
- j(he, {
4528
+ j(pe, {
4522
4529
  name: "close",
4523
4530
  size: 32
4524
4531
  })
@@ -4526,7 +4533,7 @@ const Se = (e, n = "info") => {
4526
4533
  _: 1
4527
4534
  }, 8, ["aria-label"])
4528
4535
  ]),
4529
- e.duration !== 1 / 0 ? (v(), b("div", Yn, [
4536
+ e.duration !== 1 / 0 ? (d(), b("div", Yn, [
4530
4537
  x("div", {
4531
4538
  class: "bar",
4532
4539
  style: Ie({ width: o.value + "%" })
@@ -4537,11 +4544,11 @@ const Se = (e, n = "info") => {
4537
4544
  }), Jn = /* @__PURE__ */ W(Gn, [["__scopeId", "data-v-f9e75b9d"]]), Qn = { class: "toast-viewport" }, eo = { class: "toast-message" }, to = { key: 0 }, ao = ["id"], no = /* @__PURE__ */ Z({
4538
4545
  __name: "ToastViewport",
4539
4546
  setup(e) {
4540
- return (n, t) => (v(), te(Fe, { to: "body" }, [
4547
+ return (n, t) => (d(), te(Fe, { to: "body" }, [
4541
4548
  x("div", Qn, [
4542
4549
  j(Zt, { name: "toast-stack" }, {
4543
4550
  default: ee(() => [
4544
- (v(!0), b(ue, null, pe(E(we).toasts, (a) => (v(), te(Jn, {
4551
+ (d(!0), b(ue, null, Ce(E(we).toasts, (a) => (d(), te(Jn, {
4545
4552
  key: a.id,
4546
4553
  id: a.id,
4547
4554
  duration: a.duration,
@@ -4550,12 +4557,12 @@ const Se = (e, n = "info") => {
4550
4557
  }, {
4551
4558
  default: ee(() => [
4552
4559
  x("div", eo, [
4553
- a.title ? (v(), b("strong", to, P(a.title), 1)) : F("", !0),
4554
- a.loading ? (v(), te(Dt, {
4560
+ a.title ? (d(), b("strong", to, P(a.title), 1)) : F("", !0),
4561
+ a.loading ? (d(), te(Dt, {
4555
4562
  key: 1,
4556
4563
  message: a.description,
4557
4564
  "aria-hidden": "true"
4558
- }, null, 8, ["message"])) : (v(), b("p", {
4565
+ }, null, 8, ["message"])) : (d(), b("p", {
4559
4566
  key: 2,
4560
4567
  id: `toast-desc-${a.id}`
4561
4568
  }, P(a.description), 9, ao))
@@ -4591,7 +4598,7 @@ const Al = {
4591
4598
  const t = e, a = n, o = w(), i = w();
4592
4599
  He("card:labelId", o), He("card:descriptionId", i);
4593
4600
  const l = V(() => t.clickable && t.as !== "button" && t.as !== "a"), s = () => t.clickable && a("click");
4594
- return (r, c) => (v(), te(Ze(e.as), {
4601
+ return (r, c) => (d(), te(Ze(e.as), {
4595
4602
  class: fe(["rs-card", { clickable: e.clickable }]),
4596
4603
  tabindex: l.value ? 0 : void 0,
4597
4604
  role: l.value ? "button" : void 0,
@@ -4615,8 +4622,8 @@ const Al = {
4615
4622
  as: { default: "div" }
4616
4623
  },
4617
4624
  setup(e) {
4618
- const n = me("card:labelId", void 0), t = `rs-card-label-${Ce()}`;
4619
- return ce(() => n && (n.value = t)), (a, o) => (v(), te(Ze(e.as), {
4625
+ const n = me("card:labelId", void 0), t = `rs-card-label-${he()}`;
4626
+ return ce(() => n && (n.value = t)), (a, o) => (d(), te(Ze(e.as), {
4620
4627
  id: t,
4621
4628
  class: "rs-card-header"
4622
4629
  }, {
@@ -4629,8 +4636,8 @@ const Al = {
4629
4636
  }), Dl = /* @__PURE__ */ W(lo, [["__scopeId", "data-v-570794b4"]]), ro = /* @__PURE__ */ Z({
4630
4637
  __name: "CardBody",
4631
4638
  setup(e) {
4632
- const n = me("card:descriptionId", void 0), t = `rs-card-desc-${Ce()}`;
4633
- return ce(() => n && (n.value = t)), (a, o) => (v(), b("div", {
4639
+ const n = me("card:descriptionId", void 0), t = `rs-card-desc-${he()}`;
4640
+ return ce(() => n && (n.value = t)), (a, o) => (d(), b("div", {
4634
4641
  id: t,
4635
4642
  class: "rs-card-body"
4636
4643
  }, [
@@ -4643,7 +4650,7 @@ const Al = {
4643
4650
  as: { default: "div" }
4644
4651
  },
4645
4652
  setup(e) {
4646
- return (n, t) => (v(), te(Ze(e.as), { class: "rs-card-footer" }, {
4653
+ return (n, t) => (d(), te(Ze(e.as), { class: "rs-card-footer" }, {
4647
4654
  default: ee(() => [
4648
4655
  G(n.$slots, "default", {}, void 0, !0)
4649
4656
  ]),
@@ -4762,7 +4769,7 @@ const Al = {
4762
4769
  }), r.observe(o.value), r.observe(i.value), t.stepsRef.value && r.observe(t.stepsRef.value), t.registerStep(o.value));
4763
4770
  }), Ve(() => {
4764
4771
  r?.disconnect(), t.unregisterStep(o.value), s != null && cancelAnimationFrame(s);
4765
- }), (y, T) => (v(), b("li", {
4772
+ }), (y, T) => (d(), b("li", {
4766
4773
  ref_key: "stepRef",
4767
4774
  ref: o,
4768
4775
  class: fe(["step", `step__${M.value}`]),
@@ -4788,22 +4795,22 @@ const Al = {
4788
4795
  y.$slots.icon ? G(y.$slots, "icon", {
4789
4796
  key: 0,
4790
4797
  status: u.value
4791
- }, void 0, !0) : m.value ? (v(), te(he, {
4798
+ }, void 0, !0) : m.value ? (d(), te(pe, {
4792
4799
  key: 1,
4793
4800
  name: m.value,
4794
4801
  class: "icon"
4795
4802
  }, null, 8, ["name"])) : F("", !0),
4796
- u.value === "completed" ? (v(), b("svg", uo, [...T[0] || (T[0] = [
4803
+ u.value === "completed" ? (d(), b("svg", uo, [...T[0] || (T[0] = [
4797
4804
  x("path", {
4798
4805
  d: "M4.86199 11.5948C4.78717 11.5923 4.71366 11.5745 4.64596 11.5426C4.57826 11.5107 4.51779 11.4652 4.46827 11.4091L0.753985 7.69483C0.683167 7.64891 0.623706 7.58751 0.580092 7.51525C0.536478 7.44299 0.509851 7.36177 0.502221 7.27771C0.49459 7.19366 0.506156 7.10897 0.536046 7.03004C0.565935 6.95111 0.613367 6.88 0.674759 6.82208C0.736151 6.76416 0.8099 6.72095 0.890436 6.69571C0.970973 6.67046 1.05619 6.66385 1.13966 6.67635C1.22313 6.68886 1.30266 6.72017 1.37226 6.76792C1.44186 6.81567 1.4997 6.8786 1.54141 6.95197L4.86199 10.2503L12.6397 2.49483C12.7444 2.42694 12.8689 2.39617 12.9932 2.40745C13.1174 2.41873 13.2343 2.47141 13.3251 2.55705C13.4159 2.64268 13.4753 2.75632 13.4938 2.87973C13.5123 3.00315 13.4888 3.1292 13.4271 3.23768L5.2557 11.4091C5.20618 11.4652 5.14571 11.5107 5.07801 11.5426C5.01031 11.5745 4.9368 11.5923 4.86199 11.5948Z",
4799
4806
  fill: "currentColor"
4800
4807
  }, null, -1)
4801
- ])])) : u.value === "error" ? (v(), b("svg", co, [...T[1] || (T[1] = [
4808
+ ])])) : u.value === "error" ? (d(), b("svg", co, [...T[1] || (T[1] = [
4802
4809
  x("path", {
4803
4810
  d: "M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z",
4804
4811
  fill: "currentColor"
4805
4812
  }, null, -1)
4806
- ])])) : u.value === "active" ? (v(), b("span", vo)) : F("", !0)
4813
+ ])])) : u.value === "active" ? (d(), b("span", vo)) : F("", !0)
4807
4814
  ], 512),
4808
4815
  x("span", {
4809
4816
  id: `step-status-${E(c)}`,
@@ -4823,7 +4830,7 @@ const Al = {
4823
4830
  ]),
4824
4831
  _: 1
4825
4832
  }, 8, ["variant"]),
4826
- y.$slots.default ? (v(), b("span", Co, [
4833
+ y.$slots.default ? (d(), b("span", Co, [
4827
4834
  G(y.$slots, "default", {}, void 0, !0)
4828
4835
  ])) : F("", !0)
4829
4836
  ])
@@ -4862,7 +4869,7 @@ const Al = {
4862
4869
  }),
4863
4870
  emits: ["update:modelValue"],
4864
4871
  setup(e) {
4865
- const n = e, t = w(0), a = rt(), o = be(e, "modelValue"), i = w([]), l = w(null), s = V(() => o.value ?? 0), r = `steps-description-${Ce()}`, c = qt({}), u = Mt({});
4872
+ const n = e, t = w(0), a = rt(), o = be(e, "modelValue"), i = w([]), l = w(null), s = V(() => o.value ?? 0), r = `steps-description-${he()}`, c = qt({}), u = Mt({});
4866
4873
  let h = null;
4867
4874
  const m = V(() => (a.default?.() ?? [])[s.value]?.props?.title ?? ""), p = V(() => Object.entries(u).filter(([, _]) => _ !== "completed").length === 0), C = V(
4868
4875
  () => Object.values(u).includes("error")
@@ -4940,7 +4947,7 @@ const Al = {
4940
4947
  focusFirst: J,
4941
4948
  focusLast: S,
4942
4949
  tagTitles: n.tagTitles
4943
- }), (_, R) => (v(), b(ue, null, [
4950
+ }), (_, R) => (d(), b(ue, null, [
4944
4951
  x("ol", {
4945
4952
  ref_key: "stepsRef",
4946
4953
  ref: l,
@@ -4966,12 +4973,12 @@ const Al = {
4966
4973
  style: Ie(M.value)
4967
4974
  }, null, 12, bo)
4968
4975
  ], 4),
4969
- (v(!0), b(ue, null, pe(_.$slots.default?.(), (I, A) => (v(), te(go, {
4976
+ (d(!0), b(ue, null, Ce(_.$slots.default?.(), (I, A) => (d(), te(go, {
4970
4977
  key: A,
4971
4978
  index: A
4972
4979
  }, {
4973
4980
  default: ee(() => [
4974
- (v(), te(Ze(I)))
4981
+ (d(), te(Ze(I)))
4975
4982
  ]),
4976
4983
  _: 2
4977
4984
  }, 1032, ["index"]))), 128))
@@ -4985,7 +4992,7 @@ const Al = {
4985
4992
  align: { default: "left" }
4986
4993
  },
4987
4994
  setup(e) {
4988
- return He("TimelineContext", e), (t, a) => (v(), b("ol", {
4995
+ return He("TimelineContext", e), (t, a) => (d(), b("ol", {
4989
4996
  role: "list",
4990
4997
  class: "ui-timeline",
4991
4998
  "data-align": e.align
@@ -5006,11 +5013,11 @@ const Al = {
5006
5013
  setup(e) {
5007
5014
  const n = e, t = me("TimelineContext");
5008
5015
  if (!t) throw new Error("TimelineItem must be used within a Timeline component");
5009
- const a = Ce(), o = Ce(), i = V(() => t.align === "alternate" ? (n.index ?? 0) % 2 === 0 ? "ui-timeline-item--left" : "ui-timeline-item--right" : `ui-timeline-item--${t.align}`), l = (c) => {
5016
+ const a = he(), o = he(), i = V(() => t.align === "alternate" ? (n.index ?? 0) % 2 === 0 ? "ui-timeline-item--left" : "ui-timeline-item--right" : `ui-timeline-item--${t.align}`), l = (c) => {
5010
5017
  const u = new Date(c).getDay();
5011
5018
  return u < 10 ? `0${u}` : u;
5012
5019
  }, s = (c) => new Date(c).toLocaleString("default", { month: "short" }), r = (c) => new Date(c).getFullYear();
5013
- return (c, u) => (v(), b("li", {
5020
+ return (c, u) => (d(), b("li", {
5014
5021
  tabindex: "0",
5015
5022
  class: fe([i.value, "ui-timeline-item"]),
5016
5023
  "data-align": E(t).align,
@@ -5022,7 +5029,7 @@ const Al = {
5022
5029
  "aria-hidden": "true"
5023
5030
  }, null, -1)),
5024
5031
  x("div", $o, [
5025
- e.date ? (v(), b("time", {
5032
+ e.date ? (d(), b("time", {
5026
5033
  key: 0,
5027
5034
  class: "ui-timeline-date",
5028
5035
  datetime: e.date
@@ -5037,7 +5044,7 @@ const Al = {
5037
5044
  }, [
5038
5045
  x("div", Ro, [
5039
5046
  G(c.$slots, "title", {}, () => [
5040
- (v(), te(Ze(e.titleAs ?? "h3"), {
5047
+ (d(), te(Ze(e.titleAs ?? "h3"), {
5041
5048
  id: E(a),
5042
5049
  class: "ui-timeline-title"
5043
5050
  }, {
@@ -5048,7 +5055,7 @@ const Al = {
5048
5055
  }, 8, ["id"]))
5049
5056
  ], !0),
5050
5057
  G(c.$slots, "description", {}, () => [
5051
- e.description ? (v(), b("p", {
5058
+ e.description ? (d(), b("p", {
5052
5059
  key: 0,
5053
5060
  id: E(o),
5054
5061
  class: "ui-timeline-description"
@@ -5098,25 +5105,25 @@ const Al = {
5098
5105
  (f) => C.value = f
5099
5106
  );
5100
5107
  const H = V(() => m.value[C.value] ?? void 0), y = V(() => Math.floor(C.value / p.value)), T = V(() => Math.ceil(ne.value / p.value)), N = V(() => Math.max(0, ne.value - p.value)), J = V(() => {
5101
- const f = C.value * (100 / p.value), d = u.value && D.value ? i.value / D.value.clientWidth * 100 : 0;
5108
+ const f = C.value * (100 / p.value), v = u.value && D.value ? i.value / D.value.clientWidth * 100 : 0;
5102
5109
  return {
5103
- transform: `translateX(calc(-${f}% + ${d}%))`,
5110
+ transform: `translateX(calc(-${f}% + ${v}%))`,
5104
5111
  transition: u.value ? "none" : "transform 300ms ease"
5105
5112
  };
5106
5113
  }), S = (f) => {
5107
- let d = f;
5114
+ let v = f;
5108
5115
  if (t.loop) {
5109
5116
  const g = Math.round(f / p.value), B = T.value;
5110
- d = (g % B + B) % B * p.value;
5117
+ v = (g % B + B) % B * p.value;
5111
5118
  } else
5112
- d = Math.min(
5119
+ v = Math.min(
5113
5120
  Math.max(f, 0),
5114
5121
  N.value
5115
5122
  );
5116
- C.value = d, n.value = d;
5123
+ C.value = v, n.value = v;
5117
5124
  }, _ = () => S(C.value + p.value), R = () => S(C.value - p.value), I = (f) => {
5118
5125
  f.key === "ArrowRight" ? _() : f.key === "ArrowLeft" && R();
5119
- }, A = (f) => (m.value.includes(f) || m.value.push(f), m.value.indexOf(f)), q = (f) => m.value = m.value.filter((d) => d !== f), ne = V(() => m.value.length), oe = () => {
5126
+ }, A = (f) => (m.value.includes(f) || m.value.push(f), m.value.indexOf(f)), q = (f) => m.value = m.value.filter((v) => v !== f), ne = V(() => m.value.length), oe = () => {
5120
5127
  !t.autoplay || $ !== null || ($ = window.setInterval(() => {
5121
5128
  c.value || _();
5122
5129
  }, t.autoplayDelay));
@@ -5125,26 +5132,26 @@ const Al = {
5125
5132
  }, O = (f) => {
5126
5133
  if (typeof t.itemsPerView == "number")
5127
5134
  return t.itemsPerView;
5128
- const d = Object.entries(t.itemsPerView).map(([B, K]) => [Number(B), K]).sort((B, K) => B[0] - K[0]);
5129
- let g = d[0]?.[1] ?? 1;
5130
- for (const [B, K] of d) f >= B && (g = K);
5135
+ const v = Object.entries(t.itemsPerView).map(([B, K]) => [Number(B), K]).sort((B, K) => B[0] - K[0]);
5136
+ let g = v[0]?.[1] ?? 1;
5137
+ for (const [B, K] of v) f >= B && (g = K);
5131
5138
  return g;
5132
5139
  }, L = (f) => {
5133
5140
  f.button === 0 && (u.value = !0, o.value = f.clientX, a.value = f.clientX, r.value = f.clientX, i.value = 0, l.value = performance.now(), s.value = 0, h.value = C.value, D.value?.setPointerCapture(f.pointerId), de(), D.value.style.userSelect = "");
5134
5141
  }, z = (f) => {
5135
5142
  if (!u.value) return;
5136
- const d = performance.now(), g = f.clientX - a.value, B = d - l.value;
5137
- B > 0 && (s.value = g / B), a.value = f.clientX, l.value = d, r.value = f.clientX, i.value = r.value - o.value;
5143
+ const v = performance.now(), g = f.clientX - a.value, B = v - l.value;
5144
+ B > 0 && (s.value = g / B), a.value = f.clientX, l.value = v, r.value = f.clientX, i.value = r.value - o.value;
5138
5145
  }, ae = (f) => {
5139
5146
  if (!u.value) return;
5140
5147
  u.value = !1, D.value?.releasePointerCapture(f.pointerId), D.value.style.userSelect = "";
5141
- const d = D.value.clientWidth / p.value, g = i.value / d;
5148
+ const v = D.value.clientWidth / p.value, g = i.value / v;
5142
5149
  Math.abs(s.value) > Oo ? s.value < 0 ? _() : R() : Math.abs(g) > No ? g < 0 ? _() : R() : S(h.value), i.value = 0, s.value = 0, oe();
5143
5150
  };
5144
5151
  return ce(() => {
5145
5152
  oe(), M.value && (k = new ResizeObserver((f) => {
5146
- const d = f[0]?.contentRect.width;
5147
- d !== void 0 && (p.value = O(d));
5153
+ const v = f[0]?.contentRect.width;
5154
+ v !== void 0 && (p.value = O(v));
5148
5155
  }), k.observe(M.value));
5149
5156
  }), Ve(() => {
5150
5157
  de(), k?.disconnect();
@@ -5161,7 +5168,7 @@ const Al = {
5161
5168
  slideCount: ne,
5162
5169
  deltaX: i,
5163
5170
  itemsPerView: t.itemsPerView instanceof Object ? p : w(t.itemsPerView)
5164
- }), (f, d) => (v(), b("div", {
5171
+ }), (f, v) => (d(), b("div", {
5165
5172
  ref_key: "rootRef",
5166
5173
  ref: M,
5167
5174
  role: "region",
@@ -5172,12 +5179,12 @@ const Al = {
5172
5179
  "aria-activedescendant": H.value,
5173
5180
  style: Ie({ "--items-per-view": p.value }),
5174
5181
  onKeydown: I,
5175
- onMouseenter: d[0] || (d[0] = (g) => c.value = !0),
5176
- onMouseleave: d[1] || (d[1] = (g) => c.value = !1),
5177
- onFocusin: d[2] || (d[2] = (g) => c.value = !0),
5178
- onFocusout: d[3] || (d[3] = (g) => c.value = !1)
5182
+ onMouseenter: v[0] || (v[0] = (g) => c.value = !0),
5183
+ onMouseleave: v[1] || (v[1] = (g) => c.value = !1),
5184
+ onFocusin: v[2] || (v[2] = (g) => c.value = !0),
5185
+ onFocusout: v[3] || (v[3] = (g) => c.value = !1)
5179
5186
  }, [
5180
- d[4] || (d[4] = x("span", {
5187
+ v[4] || (v[4] = x("span", {
5181
5188
  id: "carousel-instructions",
5182
5189
  class: "sr-only"
5183
5190
  }, " Use left and right arrow keys to navigate slides ", -1)),
@@ -5202,7 +5209,7 @@ const Al = {
5202
5209
  "aria-label": "Previous slide",
5203
5210
  onClick: R
5204
5211
  }, [
5205
- j(he, { name: "directionDown" })
5212
+ j(pe, { name: "directionDown" })
5206
5213
  ]),
5207
5214
  x("button", {
5208
5215
  type: "button",
@@ -5210,10 +5217,10 @@ const Al = {
5210
5217
  "aria-label": "Next slide",
5211
5218
  onClick: _
5212
5219
  }, [
5213
- j(he, { name: "directionDown" })
5220
+ j(pe, { name: "directionDown" })
5214
5221
  ]),
5215
- e.showIndicators ? (v(), b("div", zo, [
5216
- (v(!0), b(ue, null, pe(T.value, (g, B) => (v(), b("button", {
5222
+ e.showIndicators ? (d(), b("div", zo, [
5223
+ (d(!0), b(ue, null, Ce(T.value, (g, B) => (d(), b("button", {
5217
5224
  role: "tab",
5218
5225
  type: "button",
5219
5226
  key: B,
@@ -5235,8 +5242,8 @@ const Al = {
5235
5242
  setup(e) {
5236
5243
  const n = me("CarouselContext");
5237
5244
  if (!n) throw new Error("CarouselItem must be used inside a Carousel");
5238
- const t = "carousel-item-" + Ce(), a = w(0), o = V(() => Math.abs(n.deltaX.value) > 5), i = V(() => Math.floor(a.value / n.itemsPerView.value) === Math.floor(n.activeIndex.value / n.itemsPerView.value));
5239
- return ce(() => a.value = n.register(t)), Ve(() => n.unregister(t)), (l, s) => (v(), b("div", {
5245
+ const t = "carousel-item-" + he(), a = w(0), o = V(() => Math.abs(n.deltaX.value) > 5), i = V(() => Math.floor(a.value / n.itemsPerView.value) === Math.floor(n.activeIndex.value / n.itemsPerView.value));
5246
+ return ce(() => a.value = n.register(t)), Ve(() => n.unregister(t)), (l, s) => (d(), b("div", {
5240
5247
  role: "group",
5241
5248
  class: "carousel-item",
5242
5249
  id: t,
@@ -5454,7 +5461,7 @@ const Al = {
5454
5461
  __name: "Dropdown",
5455
5462
  setup(e) {
5456
5463
  let n = 0;
5457
- const t = w(!1), a = w(null), o = w({}), i = `dropdown-${Ce()}`, l = `${i}-menu`, s = `${i}-trigger`, r = () => t.value = !0, c = () => {
5464
+ const t = w(!1), a = w(null), o = w({}), i = `dropdown-${he()}`, l = `${i}-menu`, s = `${i}-trigger`, r = () => t.value = !0, c = () => {
5458
5465
  t.value = !1, o.value = {}, n = 0, a.value?.focus({ preventScroll: !0 });
5459
5466
  }, u = () => t.value = !t.value, h = (k) => {
5460
5467
  const H = `dropdown-item-${n++}`;
@@ -5489,7 +5496,7 @@ const Al = {
5489
5496
  triggerRef: a,
5490
5497
  menuId: l,
5491
5498
  triggerId: s
5492
- }), (k, H) => (v(), b("div", Uo, [
5499
+ }), (k, H) => (d(), b("div", Uo, [
5493
5500
  G(k.$slots, "default")
5494
5501
  ]));
5495
5502
  }
@@ -5504,7 +5511,7 @@ const Al = {
5504
5511
  const a = w(), o = (i) => {
5505
5512
  i.key === "ArrowDown" && (i.preventDefault(), t.open(), $e(() => t.focusFirstItem())), i.key === "ArrowUp" && (i.preventDefault(), t.open(), $e(() => t.focusLastItem()));
5506
5513
  };
5507
- return ce(() => t.triggerRef.value = a.value?.el), (i, l) => (v(), te(Le, {
5514
+ return ce(() => t.triggerRef.value = a.value?.el), (i, l) => (d(), te(Le, {
5508
5515
  ref_key: "btn",
5509
5516
  ref: a,
5510
5517
  id: E(t).triggerId,
@@ -5517,7 +5524,7 @@ const Al = {
5517
5524
  }, {
5518
5525
  default: ee(() => [
5519
5526
  G(i.$slots, "default", {}, void 0, !0),
5520
- n.variant === "button" ? (v(), te(he, {
5527
+ n.variant === "button" ? (d(), te(pe, {
5521
5528
  key: 0,
5522
5529
  name: "directionDown"
5523
5530
  })) : F("", !0)
@@ -5563,8 +5570,8 @@ const Al = {
5563
5570
  window.addEventListener("scroll", l, !0), window.addEventListener("resize", l);
5564
5571
  }), Ve(() => {
5565
5572
  window.removeEventListener("scroll", l, !0), window.removeEventListener("resize", l);
5566
- }), (s, r) => (v(), te(Fe, { to: "body" }, [
5567
- E(n).isOpen.value ? (v(), b("div", {
5573
+ }), (s, r) => (d(), te(Fe, { to: "body" }, [
5574
+ E(n).isOpen.value ? (d(), b("div", {
5568
5575
  key: 0,
5569
5576
  role: "menu",
5570
5577
  ref_key: "menuRef",
@@ -5589,7 +5596,7 @@ const Al = {
5589
5596
  const a = w(), o = (i) => {
5590
5597
  i.key === "ArrowDown" && (i.preventDefault(), n.focusNextItem(t)), i.key === "ArrowUp" && (i.preventDefault(), n.focusPrevItem(t)), (i.key === "Enter" || i.key === " ") && (i.preventDefault(), a.value?.click(), n.close());
5591
5598
  };
5592
- return ce(() => t = n.registerItem(a.value)), (i, l) => (v(), b("div", {
5599
+ return ce(() => t = n.registerItem(a.value)), (i, l) => (d(), b("div", {
5593
5600
  ref_key: "itemRef",
5594
5601
  ref: a,
5595
5602
  role: "menuitem",
@@ -5758,7 +5765,7 @@ const Qo = (e, n) => {
5758
5765
  const S = wt(l.value, o.format);
5759
5766
  !S && !r.value ? (l.value = "", t.value = null, r.value = null) : S && (r.value = S, t.value = S, l.value = tt(S, o.format));
5760
5767
  };
5761
- return ce(() => document.addEventListener("mousedown", N)), Te(() => document.removeEventListener("mousedown", N)), (S, _) => (v(), b("div", {
5768
+ return ce(() => document.addEventListener("mousedown", N)), Te(() => document.removeEventListener("mousedown", N)), (S, _) => (d(), b("div", {
5762
5769
  ref_key: "root",
5763
5770
  ref: s,
5764
5771
  class: fe(["dp", { required: Object.keys(S.$attrs).includes("required"), error: e.invalid }])
@@ -5791,7 +5798,7 @@ const Qo = (e, n) => {
5791
5798
  disabled: e.disabled || void 0
5792
5799
  }, {
5793
5800
  default: ee(() => [
5794
- j(he, { name: "calendar" })
5801
+ j(pe, { name: "calendar" })
5795
5802
  ]),
5796
5803
  _: 1
5797
5804
  }, 8, ["disabled"]),
@@ -5799,7 +5806,7 @@ const Qo = (e, n) => {
5799
5806
  id: "time-help",
5800
5807
  class: "sr-only"
5801
5808
  }, "After selecting a date, adjust hours and minutes", -1)),
5802
- i.value ? (v(), b("div", nl, [
5809
+ i.value ? (d(), b("div", nl, [
5803
5810
  x("header", ol, [
5804
5811
  x("button", {
5805
5812
  type: "button",
@@ -5818,13 +5825,13 @@ const Qo = (e, n) => {
5818
5825
  }, "›")
5819
5826
  ]),
5820
5827
  x("div", rl, [
5821
- (v(!0), b(ue, null, pe(E(u), (R) => (v(), b("span", {
5828
+ (d(!0), b(ue, null, Ce(E(u), (R) => (d(), b("span", {
5822
5829
  class: "week-day__name",
5823
5830
  key: R
5824
5831
  }, P(R), 1))), 128))
5825
5832
  ]),
5826
5833
  x("div", sl, [
5827
- (v(!0), b(ue, null, pe(E(m), (R, I) => (v(), b("button", {
5834
+ (d(!0), b(ue, null, Ce(E(m), (R, I) => (d(), b("button", {
5828
5835
  key: I,
5829
5836
  type: "button",
5830
5837
  role: "gridcell",
@@ -5874,7 +5881,7 @@ const Qo = (e, n) => {
5874
5881
  }),
5875
5882
  emits: ["update:modelValue"],
5876
5883
  setup(e) {
5877
- const n = be(e, "modelValue"), t = e, a = Ce(), o = w(!1), i = w(null), l = V(() => t.format.includes("HH")), s = V(() => t.format.includes("mm")), r = V(() => t.format.includes("ss")), c = w(n.value ?? null), u = w(n.value?.getHours() ?? (l.value ? 0 : void 0)), h = w(n.value?.getMinutes() ?? (s.value ? 0 : void 0)), m = w(n.value?.getSeconds() ?? (r.value ? 0 : void 0));
5884
+ const n = be(e, "modelValue"), t = e, a = he(), o = w(!1), i = w(null), l = V(() => t.format.includes("HH")), s = V(() => t.format.includes("mm")), r = V(() => t.format.includes("ss")), c = w(n.value ?? null), u = w(n.value?.getHours() ?? (l.value ? 0 : void 0)), h = w(n.value?.getMinutes() ?? (s.value ? 0 : void 0)), m = w(n.value?.getSeconds() ?? (r.value ? 0 : void 0));
5878
5885
  Q(n, ($) => {
5879
5886
  if ($) {
5880
5887
  const k = new Date($);
@@ -5909,7 +5916,7 @@ const Qo = (e, n) => {
5909
5916
  document.addEventListener("mousedown", p);
5910
5917
  }), Te(() => {
5911
5918
  document.removeEventListener("mousedown", p);
5912
- }), ($, k) => (v(), b("div", {
5919
+ }), ($, k) => (d(), b("div", {
5913
5920
  class: "dtp",
5914
5921
  ref_key: "root",
5915
5922
  ref: i
@@ -5928,8 +5935,8 @@ const Qo = (e, n) => {
5928
5935
  placeholder: e.placeholder
5929
5936
  }), {
5930
5937
  time: ee(() => [
5931
- o.value ? (v(), b("div", dl, [
5932
- l.value ? Re((v(), b("input", {
5938
+ o.value ? (d(), b("div", dl, [
5939
+ l.value ? Re((d(), b("input", {
5933
5940
  key: 0,
5934
5941
  id: `hour_${E(a)}`,
5935
5942
  type: "number",
@@ -5949,8 +5956,8 @@ const Qo = (e, n) => {
5949
5956
  { number: !0 }
5950
5957
  ]
5951
5958
  ]) : F("", !0),
5952
- l.value && s.value ? (v(), b("span", fl, ":")) : F("", !0),
5953
- s.value ? Re((v(), b("input", {
5959
+ l.value && s.value ? (d(), b("span", fl, ":")) : F("", !0),
5960
+ s.value ? Re((d(), b("input", {
5954
5961
  key: 2,
5955
5962
  id: `minute_${E(a)}`,
5956
5963
  type: "number",
@@ -5970,8 +5977,8 @@ const Qo = (e, n) => {
5970
5977
  { number: !0 }
5971
5978
  ]
5972
5979
  ]) : F("", !0),
5973
- (l.value || s.value) && r.value ? (v(), b("span", pl, ":")) : F("", !0),
5974
- r.value ? Re((v(), b("input", {
5980
+ (l.value || s.value) && r.value ? (d(), b("span", pl, ":")) : F("", !0),
5981
+ r.value ? Re((d(), b("input", {
5975
5982
  key: 4,
5976
5983
  id: `second_${E(a)}`,
5977
5984
  type: "number",
@@ -6117,7 +6124,7 @@ const Qo = (e, n) => {
6117
6124
  r.header
6118
6125
  ),
6119
6126
  r.sortable ? U(
6120
- he,
6127
+ pe,
6121
6128
  {
6122
6129
  name: e.sort?.key === r.key ? e.sort.direction === "asc" ? "sortAsc" : "sortDesc" : "sort",
6123
6130
  size: 16
@@ -6315,7 +6322,7 @@ const Qo = (e, n) => {
6315
6322
  U(
6316
6323
  "span",
6317
6324
  { class: "rs-accordion-trigger__icon", "aria-hidden": "true" },
6318
- U(he, { name: "directionDown" })
6325
+ U(pe, { name: "directionDown" })
6319
6326
  )
6320
6327
  ]
6321
6328
  );
@@ -6371,7 +6378,7 @@ export {
6371
6378
  jl as DropdownTrigger,
6372
6379
  mt as Editor,
6373
6380
  pn as Highlight,
6374
- he as Icon,
6381
+ pe as Icon,
6375
6382
  _e as Image,
6376
6383
  gt as ImageGallery,
6377
6384
  kl as Input,