@cling-se/widget 0.21.4 → 0.22.2

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.
Files changed (129) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/{AddClientCallout-BjeE7RY6.js → AddClientCallout-CtfDZ5iE.js} +7 -7
  3. package/dist/{AnswerModal-BLo3hOrK.js → AnswerModal-DER90JgH.js} +935 -651
  4. package/dist/{AttachmentItem-B4T7akns.js → AttachmentItem-CFxoxFwU.js} +9 -9
  5. package/dist/{BaseUpload-B-_Rpir0.js → BaseUpload-D3vsnEbC.js} +2 -2
  6. package/dist/{BlockMedia-szLlyTVn.js → BlockMedia-CrmRCTpi.js} +1 -1
  7. package/dist/{CCallout-wp8bWld3.js → CCallout-B86E6HJd.js} +5 -5
  8. package/dist/{CCurrencyDropdown-CH0M7LFZ.js → CCurrencyDropdown-B2L-Pv3G.js} +3 -3
  9. package/dist/{CDropdownItem-llOP71-u.js → CDropdownItem-BU65rYaX.js} +8 -8
  10. package/dist/{CFormField.vue_vue_type_script_setup_true_lang-B2c0pGnW.js → CFormField.vue_vue_type_script_setup_true_lang-d4-FghaL.js} +13 -13
  11. package/dist/{CPhoneFormat-BqLsCDaG.js → CPhoneFormat-CSys3pPM.js} +1 -1
  12. package/dist/{CPhoneInput-DDnmhr17.js → CPhoneInput-hF_VGitf.js} +5 -5
  13. package/dist/{CPriceInput-eaRaU9Ey.js → CPriceInput-CLM3EzaL.js} +2 -2
  14. package/dist/{CSelect-DDYAe8O9.js → CSelect-DsoRaNYd.js} +5 -5
  15. package/dist/{CSkeleton-BORdEFf8.js → CSkeleton-B0wL3--W.js} +7 -7
  16. package/dist/{ClientAutocomplete-DAwttq8D.js → ClientAutocomplete-qkpa-KG_.js} +16 -16
  17. package/dist/{ClientModal-C3UbUFjz.js → ClientModal-BHUD-VYM.js} +135 -127
  18. package/dist/{ColorPicker-D4Y4g8RF.js → ColorPicker-uVefUdOd.js} +21 -21
  19. package/dist/{CompanyModal-BvzLn9gU.js → CompanyModal-C38jvSZX.js} +66 -67
  20. package/dist/{ContentWrapper-oh1FnZea.js → ContentWrapper-Du0rszAK.js} +15 -15
  21. package/dist/{CoverBlockSettings-CW7PisRO.js → CoverBlockSettings-DqKNt5cM.js} +19 -19
  22. package/dist/{DocAnswer-scOVyvez.js → DocAnswer-Bm6FQnu7.js} +2 -2
  23. package/dist/{DocDetails-BKudQ3RU.js → DocDetails-Cg1EQ2xc.js} +100 -94
  24. package/dist/{DocForm-YI0UG4lv.js → DocForm-DUjeY7qQ.js} +440 -438
  25. package/dist/{DocFormSend-DK7zxycs.js → DocFormSend-B8x93Oo_.js} +2 -2
  26. package/dist/{DocLinks-CPhh8hox.js → DocLinks-bnZCCfQJ.js} +2 -2
  27. package/dist/{DocModalBase-C7vrvkFq.js → DocModalBase-CwuAA5_c.js} +1 -1
  28. package/dist/{DocPrint-tfB_Hw8V.js → DocPrint-DkmwNCYi.js} +9 -9
  29. package/dist/{DocReceipt-DoWB1suw.js → DocReceipt-BzrwYz7z.js} +111 -81
  30. package/dist/{DocSendReminder-DcezTbmh.js → DocSendReminder--ZuTWwRa.js} +1 -1
  31. package/dist/{DocTextEditor-Ci_Wegua.js → DocTextEditor-CblX6a9b.js} +8 -8
  32. package/dist/{DocTimeline-DwZyNRtc.js → DocTimeline-C3cx2eIz.js} +6 -6
  33. package/dist/{DocumentClient-BZPHT4vS.js → DocumentClient-B9yEPQ1U.js} +5 -5
  34. package/dist/{DocumentLayout-DwifYYit.js → DocumentLayout-BMgU3m7Q.js} +32 -32
  35. package/dist/{DocumentLogotype-D6DPT-i9.js → DocumentLogotype-BBA1HLK3.js} +31 -34
  36. package/dist/{DocumentVoided--b4zfli2.js → DocumentVoided-AL_vXoWD.js} +1 -1
  37. package/dist/{EmbedInput-DmAlziaD.js → EmbedInput-BHy9NMjl.js} +18 -18
  38. package/dist/{EmbedSettings-DZuM3vpE.js → EmbedSettings-DwcY0r8D.js} +5 -5
  39. package/dist/{ErrorCallout-DT3qQJOP.js → ErrorCallout-DKV9zW1H.js} +4 -4
  40. package/dist/{FilePreviewModal-BuPbzrFy.js → FilePreviewModal-DEoFvxri.js} +2 -2
  41. package/dist/{Flag-U3wm6frF.js → Flag-BZ7C12iN.js} +1 -1
  42. package/dist/{HeaderSettings-CC5rJ-UY.js → HeaderSettings-Bsj1JZNt.js} +20 -20
  43. package/dist/{ImageSelectModal-BiWCVyYs.js → ImageSelectModal-Dd9le6p5.js} +3 -3
  44. package/dist/{ImageUploadWrapper-CLJwtgVQ.js → ImageUploadWrapper-DY9TKhpB.js} +23 -23
  45. package/dist/{Index-DZzmEObV.js → Index-4ZB096MF.js} +9 -9
  46. package/dist/{Index-B0js1lQ9.js → Index-B1HU3FW8.js} +11 -11
  47. package/dist/{Index-hzFkpPtu.js → Index-B3S-W2Du.js} +26 -26
  48. package/dist/{Index-cb83jmmP.js → Index-B8v_k79U.js} +4 -4
  49. package/dist/{Index-jCDreJV4.js → Index-BPua2gSJ.js} +5 -5
  50. package/dist/{Index-UkLmXQf7.js → Index-BSDQejtT.js} +10 -10
  51. package/dist/{Index-Bh58_V98.js → Index-BW4sv9So.js} +5 -5
  52. package/dist/{Index-gZpXuLSM.js → Index-BWog4DkS.js} +2 -2
  53. package/dist/{Index-DIfpkUtR.js → Index-BZ5ZfAMl.js} +8 -8
  54. package/dist/Index-BfMZgBeX.js +4 -0
  55. package/dist/{Index-BBnlZtoe.js → Index-Bx8Dt9rr.js} +5 -5
  56. package/dist/{Index-BQUdVuCj.js → Index-C9W7656O.js} +8 -8
  57. package/dist/{Index-DwAyOR71.js → Index-CB7F-c3z.js} +3 -3
  58. package/dist/{Index-ZNidoNys.js → Index-CEg8sUf6.js} +2 -2
  59. package/dist/{Index-z6FhBfRg.js → Index-CEm7_7xb.js} +2 -2
  60. package/dist/{Index-011UWI-5.js → Index-CGDHE6Q9.js} +3 -3
  61. package/dist/{Index-Dmd9h-QW.js → Index-CadObAqC.js} +3 -3
  62. package/dist/{Index-C-Y_FGIG.js → Index-Cazuortx.js} +30 -30
  63. package/dist/{Index-BPE5xozF.js → Index-Cfh_uoVu.js} +1 -1
  64. package/dist/{Index-D8T4ZAGK.js → Index-D9S6btwh.js} +4 -4
  65. package/dist/{Index-BOxSyAOT.js → Index-DCeSSD89.js} +4 -4
  66. package/dist/{Index-C8tXlpnc.js → Index-DLzhjgNh.js} +4 -4
  67. package/dist/{Index-BbINQ0SU.js → Index-Da3NMw99.js} +1 -1
  68. package/dist/{Index-06RLiHU7.js → Index-DiQG7Yys.js} +8 -8
  69. package/dist/{Index-DND_3eOV.js → Index-DkuudM32.js} +14 -14
  70. package/dist/{Index-C6eCTYlb.js → Index-DpNsBSK5.js} +7 -7
  71. package/dist/{Index-BNrnEteM.js → Index-DsAM46X9.js} +6 -6
  72. package/dist/{Index-BZ3G8u4L.js → Index-IOHmUaDV.js} +16 -16
  73. package/dist/{Index-HpvIqyQK.js → Index-N95Kg_Bu.js} +4 -4
  74. package/dist/Index-T8YnqXUP.js +106 -0
  75. package/dist/{Index-C9yjlO_o.js → Index-bSfn5DlT.js} +13 -13
  76. package/dist/{Index-AOzEiDJ6.js → Index-hOzI3WwH.js} +2 -2
  77. package/dist/{Index-Lr-w-2nq.js → Index-lxyzCTwv.js} +28 -28
  78. package/dist/{Index-DspgGnIy.js → Index-usMDK34R.js} +6 -6
  79. package/dist/{Index.vue_vue_type_script_lang-FRTEgjSK.js → Index.vue_vue_type_script_lang-CyrjCnmM.js} +2 -2
  80. package/dist/{InputToggleRow-DrAFt_YF.js → InputToggleRow-DX08yhB8.js} +9 -9
  81. package/dist/{ManualPopover-BZr_lfqJ.js → ManualPopover-DjkDQLEk.js} +3 -3
  82. package/dist/{MediaWrapper-CuCltxOM.js → MediaWrapper-BRDS1uEY.js} +3 -3
  83. package/dist/{NotBindingText-D6QNyf03.js → NotBindingText-gttVLkSY.js} +2 -2
  84. package/dist/{PackageGroup-DonphykF.js → PackageGroup-DqCNizOl.js} +10 -10
  85. package/dist/{PdfTerms-BRwmINkR.js → PdfTerms-9EF-oTZV.js} +4 -4
  86. package/dist/{PdfViewer-DpmlfAfl.js → PdfViewer-fgokwyxy.js} +27 -27
  87. package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-BeenXnHV.js → PlainHtml.vue_vue_type_script_setup_true_lang-wz4hWvo8.js} +1 -1
  88. package/dist/{PriceHeader-Cdh8apAZ.js → PriceHeader-DBiTZGL4.js} +25 -25
  89. package/dist/{SearchApi-B2ED3FdK.js → SearchApi-DP2NKS7Z.js} +1 -1
  90. package/dist/{SendForm-Bz1AN65o.js → SendForm-Dx-meiU3.js} +451 -421
  91. package/dist/{Setup-BIa-5REE.js → Setup-KZckFxmn.js} +1 -1
  92. package/dist/{SmartList-C9DXNnNX.js → SmartList-C7tf3UFs.js} +1 -1
  93. package/dist/{Sortable.vue_vue_type_script_setup_true_lang-DPxTkygS.js → Sortable.vue_vue_type_script_setup_true_lang-CKwuc60B.js} +35 -35
  94. package/dist/{TermsSettings-BQC-y2g4.js → TermsSettings-O43bydwI.js} +11 -11
  95. package/dist/{ThemeColorRow-B1L2qfGx.js → ThemeColorRow-BiIviRnJ.js} +5 -5
  96. package/dist/{ToggleBinding-C2ct7wmC.js → ToggleBinding-DNh6J5WO.js} +4 -4
  97. package/dist/{UploadModal-CCy7i-cN.js → UploadModal-BLnwHEtM.js} +2 -2
  98. package/dist/{VideoPlayerInput-BluC_uCy.js → VideoPlayerInput-CDSsWKbt.js} +6 -6
  99. package/dist/{VideoPlayerSettings-DvoFmiks.js → VideoPlayerSettings-9e0rWXBn.js} +6 -6
  100. package/dist/{VideoSelectModal-yfI6keDu.js → VideoSelectModal-DdmGQUJs.js} +9 -9
  101. package/dist/{focusDrawerMixin-BS0v03Pf.js → focusDrawerMixin-Cz1mPbI5.js} +1 -1
  102. package/dist/{formDrawerState-DNNzOR3a.js → formDrawerState-VO67JhNj.js} +1 -1
  103. package/dist/{fortnoxTheme-DbdQ_k4_.js → fortnoxTheme-C6LfSfkU.js} +1 -1
  104. package/dist/{helpers-vOT4bDZk.js → helpers-DdvMGJyI.js} +1 -1
  105. package/dist/{index-aqgR0F9F.js → index--tMYYuEo.js} +30 -30
  106. package/dist/{index-C_k-2pHu.js → index-BtdoM5zU.js} +7 -7
  107. package/dist/{index-BinehglS.js → index-C6t6B42B.js} +26 -25
  108. package/dist/{index-DIxSHthq.js → index-CYrm4Bbf.js} +1 -1
  109. package/dist/{index-DSDwk2v_.js → index-Cn5TO9wL.js} +6 -6
  110. package/dist/{index-Cm9MF5Ro.js → index-DrxPFi0q.js} +22 -22
  111. package/dist/{index-BtZlk67X.js → index-SreRcZHY.js} +13 -13
  112. package/dist/index.es.js +3 -3
  113. package/dist/index.umd.js +151 -149
  114. package/dist/{main-CCA1EgK_.js → main-BI2UvBxx.js} +8359 -8142
  115. package/dist/{mapFormMixin-DarsdTYn.js → mapFormMixin-DmIyfVCN.js} +2 -2
  116. package/dist/omit-FBv_EXqi.js +56 -0
  117. package/dist/{splitpanes-B5GGsG65.js → splitpanes-CpTZw8TJ.js} +1 -1
  118. package/dist/{template-BTmi3cQk.js → template-B4OhhS85.js} +1 -1
  119. package/dist/{tippy.esm-Cc-sUEuY.js → tippy.esm-D5nfFX7g.js} +66 -66
  120. package/dist/{useTermsModal-CdnGQsw8.js → useTermsModal-CvdV0cT0.js} +4 -4
  121. package/dist/{utils-DLVtsRRz.js → utils-Blt-S487.js} +1 -1
  122. package/dist/validation-ZZ0eQUj2.js +40 -0
  123. package/dist/widget.css +1 -1
  124. package/package.json +1 -1
  125. package/dist/Index-1MRJMA0V.js +0 -4
  126. package/dist/Index-DGkk540X.js +0 -87
  127. package/dist/omit-sqUJ46Re.js +0 -56
  128. package/dist/publicSenderState-CSYveOTQ.js +0 -21
  129. package/dist/validation-DGxGtXMe.js +0 -40
@@ -1,20 +1,20 @@
1
- import { m as Rt } from "./mapFormMixin-DarsdTYn.js";
2
- import { _ as Nr, I as Lr, a as Ur } from "./index-BinehglS.js";
3
- import { cm as Wr, cn as Yr, co as Hr, cp as jr, cq as zr, cr as Jr, cs as qr, ct as Se, cu as Da, cv as Kr, cw as Mt, cx as Je, cy as ln, cz as yt, H as A, A as I, bf as Ca, D as Z, cA as xa, cB as _a, cC as We, I as f, a7 as P, c as D, o as h, w, T as O, R as q, f as M, bs as j, bt as z, q as U, t as C, ay as Tt, E as Gr, J as Qr, a3 as Vt, ap as ka, j as _, ai as Nn, an as re, M as Ae, z as Ne, ak as _t, cD as me, cE as Zr, bI as Sa, bL as Xr, cF as Ln, e as F, bh as eo, d as S, W as bn, aL as to, cG as no, cH as Aa, F as W, cI as Ma, G as ao, r as Oa, cJ as ro, cK as oo, cL as lo, p as io, aD as so, bg as uo, b as R, x as Ie, n as fe, _ as Le, a as wn, aq as co, u as ze, v as Ea, k as fo, cM as Un, al as mo, af as Ot, cN as po, cO as Pa, ab as ho, V as vo, a4 as Ba, cl as yo, aU as go } from "./main-CCA1EgK_.js";
4
- import { a as Ia, C as Fa, b as bo } from "./CDropdownItem-llOP71-u.js";
5
- import { E as wo } from "./ErrorCallout-DT3qQJOP.js";
6
- import { C as $o, a as Do } from "./ClientModal-C3UbUFjz.js";
7
- import { u as Ra } from "./index-BtZlk67X.js";
1
+ import { m as Tt } from "./mapFormMixin-DmIyfVCN.js";
2
+ import { _ as Nr, I as Lr, a as Ur } from "./index-C6t6B42B.js";
3
+ import { cn as Wr, co as Yr, cp as Hr, cq as jr, cr as zr, cs as Jr, ct as qr, cu as Ae, cv as Da, cw as Kr, cx as Mt, cy as Je, cz as ln, cA as yt, I as S, B as I, bg as Ca, E as Z, cB as xa, cC as _a, cD as We, J as f, a7 as P, c as D, o as h, w, U as O, T as q, f as M, bt as j, bu as z, s as N, t as C, az as Rt, G as Gr, k as Qr, a4 as Vt, ap as ka, j as x, ai as Nn, an as re, M as Se, A as Ne, ak as _t, cE as me, cF as Zr, bJ as Aa, bM as Xr, cG as Ln, e as F, bi as eo, d as A, X as bn, aM as to, cH as no, cI as Sa, F as W, cJ as Ma, H as ao, r as Oa, cK as ro, cL as oo, cM as lo, p as io, aE as so, bh as uo, b as T, y as Ie, q as fe, _ as Le, a as wn, aq as co, v as ze, x as Ea, l as fo, cN as Un, al as mo, af as Ot, cO as po, cP as Pa, ab as ho, W as vo, a5 as Ba, cm as yo, aV as go } from "./main-BI2UvBxx.js";
4
+ import { a as Ia, C as Fa, b as bo } from "./CDropdownItem-BU65rYaX.js";
5
+ import { E as wo } from "./ErrorCallout-DKV9zW1H.js";
6
+ import { C as $o, a as Do } from "./ClientModal-BHUD-VYM.js";
7
+ import { u as Ta } from "./index-SreRcZHY.js";
8
8
  /* empty css */
9
- import Co from "./AddClientCallout-BjeE7RY6.js";
9
+ import Co from "./AddClientCallout-CtfDZ5iE.js";
10
10
  function qe(e, t) {
11
11
  return e - t * Math.floor(e / t);
12
12
  }
13
- const Ta = 1721426;
13
+ const Ra = 1721426;
14
14
  function Be(e, t, n, a) {
15
15
  t = pt(e, t);
16
16
  let r = t - 1, o = -2;
17
- return n <= 2 ? o = 0 : ke(t) && (o = -1), Ta - 1 + 365 * r + Math.floor(r / 4) - Math.floor(r / 100) + Math.floor(r / 400) + Math.floor((367 * n - 362) / 12 + o + a);
17
+ return n <= 2 ? o = 0 : ke(t) && (o = -1), Ra - 1 + 365 * r + Math.floor(r / 4) - Math.floor(r / 100) + Math.floor(r / 400) + Math.floor((367 * n - 362) / 12 + o + a);
18
18
  }
19
19
  function ke(e) {
20
20
  return e % 4 === 0 && (e % 100 !== 0 || e % 400 === 0);
@@ -61,7 +61,7 @@ const xo = {
61
61
  };
62
62
  class oe {
63
63
  fromJulianDay(t) {
64
- let n = t, a = n - Ta, r = Math.floor(a / 146097), o = qe(a, 146097), l = Math.floor(o / 36524), i = qe(o, 36524), s = Math.floor(i / 1461), d = qe(i, 1461), c = Math.floor(d / 365), u = r * 400 + l * 100 + s * 4 + c + (l !== 4 && c !== 4 ? 1 : 0), [y, v] = Nt(u), g = n - Be(y, v, 1, 1), m = 2;
64
+ let n = t, a = n - Ra, r = Math.floor(a / 146097), o = qe(a, 146097), l = Math.floor(o / 36524), i = qe(o, 36524), s = Math.floor(i / 1461), d = qe(i, 1461), c = Math.floor(d / 365), u = r * 400 + l * 100 + s * 4 + c + (l !== 4 && c !== 4 ? 1 : 0), [y, v] = Nt(u), g = n - Be(y, v, 1, 1), m = 2;
65
65
  n < Be(y, v, 3, 1) ? m = 0 : ke(v) && (m = 1);
66
66
  let p = Math.floor(((g + m) * 12 + 373) / 367), b = n - Be(y, v, p, 1) + 1;
67
67
  return new Y(y, v, p, b);
@@ -208,18 +208,18 @@ function Ke(e, t) {
208
208
  function Wn(e, t) {
209
209
  return e = ct(e), t = ct(t), e.calendar.identifier === t.calendar.identifier && e.era === t.era && e.year === t.year && e.month === t.month;
210
210
  }
211
- function So(e, t) {
211
+ function Ao(e, t) {
212
212
  return Fe(e, $n(t));
213
213
  }
214
214
  function Va(e, t) {
215
215
  let n = e.calendar.toJulianDay(e), a = Math.ceil(n + 1 - Eo(t)) % 7;
216
216
  return a < 0 && (a += 7), a;
217
217
  }
218
- function Ao(e) {
218
+ function So(e) {
219
219
  return we(Date.now(), e);
220
220
  }
221
221
  function $n(e) {
222
- return Io(Ao(e));
222
+ return Io(So(e));
223
223
  }
224
224
  function Na(e, t) {
225
225
  return e.calendar.toJulianDay(e) - t.calendar.toJulianDay(t);
@@ -347,7 +347,7 @@ function Wa(e, t, n = "compatible") {
347
347
  }
348
348
  function we(e, t) {
349
349
  let n = sn(e, t), a = new Date(e + n), r = a.getUTCFullYear(), o = a.getUTCMonth() + 1, l = a.getUTCDate(), i = a.getUTCHours(), s = a.getUTCMinutes(), d = a.getUTCSeconds(), c = a.getUTCMilliseconds();
350
- return new Te(r, o, l, t, n, i, s, d, c);
350
+ return new Re(r, o, l, t, n, i, s, d, c);
351
351
  }
352
352
  function Io(e) {
353
353
  return new Y(e.calendar, e.era, e.year, e.month, e.day);
@@ -361,15 +361,15 @@ function tt(e, t) {
361
361
  function Q(e, t) {
362
362
  if (e.calendar.identifier === t.identifier) return e;
363
363
  let n = t.fromJulianDay(e.calendar.toJulianDay(e)), a = e.copy();
364
- return a.calendar = t, a.era = n.era, a.year = n.year, a.month = n.month, a.day = n.day, Re(a), a;
364
+ return a.calendar = t, a.era = n.era, a.year = n.year, a.month = n.month, a.day = n.day, Te(a), a;
365
365
  }
366
366
  function Fo(e, t, n) {
367
- if (e instanceof Te)
367
+ if (e instanceof Re)
368
368
  return e.timeZone === t ? e : Ya(e, t);
369
369
  let a = be(e, t, n);
370
370
  return we(a, t);
371
371
  }
372
- function Ro(e) {
372
+ function To(e) {
373
373
  let t = et(e) - e.offset;
374
374
  return new Date(t);
375
375
  }
@@ -380,7 +380,7 @@ function Ya(e, t) {
380
380
  const st = 36e5;
381
381
  function Lt(e, t) {
382
382
  let n = e.copy(), a = "hour" in n ? Lo(n, t) : 0;
383
- un(n, t.years || 0), n.calendar.balanceYearMonth && n.calendar.balanceYearMonth(n, e), n.month += t.months || 0, dn(n), Ha(n), n.day += (t.weeks || 0) * 7, n.day += t.days || 0, n.day += a, To(n), n.calendar.balanceDate && n.calendar.balanceDate(n), n.year < 1 && (n.year = 1, n.month = 1, n.day = 1);
383
+ un(n, t.years || 0), n.calendar.balanceYearMonth && n.calendar.balanceYearMonth(n, e), n.month += t.months || 0, dn(n), Ha(n), n.day += (t.weeks || 0) * 7, n.day += t.days || 0, n.day += a, Ro(n), n.calendar.balanceDate && n.calendar.balanceDate(n), n.year < 1 && (n.year = 1, n.month = 1, n.day = 1);
384
384
  let r = n.calendar.getYearsInEra(n);
385
385
  if (n.year > r) {
386
386
  var o, l;
@@ -402,7 +402,7 @@ function dn(e) {
402
402
  for (; e.month > (t = e.calendar.getMonthsInYear(e)); )
403
403
  e.month -= t, un(e, 1);
404
404
  }
405
- function To(e) {
405
+ function Ro(e) {
406
406
  for (; e.day < 1; )
407
407
  e.month--, dn(e), e.day += e.calendar.getDaysInMonth(e);
408
408
  for (; e.day > e.calendar.getDaysInMonth(e); )
@@ -411,7 +411,7 @@ function To(e) {
411
411
  function Ha(e) {
412
412
  e.month = Math.max(1, Math.min(e.calendar.getMonthsInYear(e), e.month)), e.day = Math.max(1, Math.min(e.calendar.getDaysInMonth(e), e.day));
413
413
  }
414
- function Re(e) {
414
+ function Te(e) {
415
415
  e.calendar.constrainDate && e.calendar.constrainDate(e), e.year = Math.max(1, Math.min(e.calendar.getYearsInEra(e), e.year)), Ha(e);
416
416
  }
417
417
  function ja(e) {
@@ -424,7 +424,7 @@ function za(e, t) {
424
424
  }
425
425
  function Dn(e, t) {
426
426
  let n = e.copy();
427
- return t.era != null && (n.era = t.era), t.year != null && (n.year = t.year), t.month != null && (n.month = t.month), t.day != null && (n.day = t.day), Re(n), n;
427
+ return t.era != null && (n.era = t.era), t.year != null && (n.year = t.year), t.month != null && (n.month = t.month), t.day != null && (n.day = t.day), Te(n), n;
428
428
  }
429
429
  function Et(e, t) {
430
430
  let n = e.copy();
@@ -451,7 +451,7 @@ function Cn(e, t, n, a) {
451
451
  case "era": {
452
452
  let i = e.calendar.getEras(), s = i.indexOf(e.era);
453
453
  if (s < 0) throw new Error("Invalid era: " + e.era);
454
- s = $e(s, n, 0, i.length - 1, a == null ? void 0 : a.round), r.era = i[s], Re(r);
454
+ s = $e(s, n, 0, i.length - 1, a == null ? void 0 : a.round), r.era = i[s], Te(r);
455
455
  break;
456
456
  }
457
457
  case "year":
@@ -467,7 +467,7 @@ function Cn(e, t, n, a) {
467
467
  default:
468
468
  throw new Error("Unsupported field " + t);
469
469
  }
470
- return e.calendar.balanceDate && e.calendar.balanceDate(r), Re(r), r;
470
+ return e.calendar.balanceDate && e.calendar.balanceDate(r), Te(r), r;
471
471
  }
472
472
  function Ja(e, t, n, a) {
473
473
  let r = e.copy();
@@ -569,7 +569,7 @@ const Ho = /^(\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d
569
569
  function jo(e, t) {
570
570
  let n = e.match(Ho);
571
571
  if (!n) throw new Error("Invalid ISO 8601 date time string: " + e);
572
- let a = new Te(ye(n[1], 1, 9999), ye(n[2], 1, 12), 1, t, 0, n[4] ? ye(n[4], 0, 23) : 0, n[5] ? ye(n[5], 0, 59) : 0, n[6] ? ye(n[6], 0, 59) : 0, n[7] ? ye(n[7], 0, 1 / 0) * 1e3 : 0);
572
+ let a = new Re(ye(n[1], 1, 9999), ye(n[2], 1, 12), 1, t, 0, n[4] ? ye(n[4], 0, 23) : 0, n[5] ? ye(n[5], 0, 59) : 0, n[6] ? ye(n[6], 0, 59) : 0, n[7] ? ye(n[7], 0, 1 / 0) * 1e3 : 0);
573
573
  a.day = ye(n[3], 0, a.calendar.getDaysInMonth(a));
574
574
  var r;
575
575
  return n[8] && (a.offset = ye(n[8], -23, 23) * 36e5 + ye((r = n[9]) !== null && r !== void 0 ? r : "0", 0, 59) * 6e4), Ya(a, t);
@@ -667,7 +667,7 @@ class Y {
667
667
  value: void 0
668
668
  });
669
669
  let [n, a, r, o, l] = _n(t);
670
- this.calendar = n, this.era = a, this.year = r, this.month = o, this.day = l, Re(this);
670
+ this.calendar = n, this.era = a, this.year = r, this.month = o, this.day = l, Te(this);
671
671
  }
672
672
  }
673
673
  var Zo = /* @__PURE__ */ new WeakMap();
@@ -722,14 +722,14 @@ class nt {
722
722
  value: void 0
723
723
  });
724
724
  let [n, a, r, o, l] = _n(t);
725
- this.calendar = n, this.era = a, this.year = r, this.month = o, this.day = l, this.hour = t.shift() || 0, this.minute = t.shift() || 0, this.second = t.shift() || 0, this.millisecond = t.shift() || 0, Re(this);
725
+ this.calendar = n, this.era = a, this.year = r, this.month = o, this.day = l, this.hour = t.shift() || 0, this.minute = t.shift() || 0, this.second = t.shift() || 0, this.millisecond = t.shift() || 0, Te(this);
726
726
  }
727
727
  }
728
728
  var Xo = /* @__PURE__ */ new WeakMap();
729
- class Te {
729
+ class Re {
730
730
  /** Returns a copy of this date. */
731
731
  copy() {
732
- return this.era ? new Te(this.calendar, this.era, this.year, this.month, this.day, this.timeZone, this.offset, this.hour, this.minute, this.second, this.millisecond) : new Te(this.calendar, this.year, this.month, this.day, this.timeZone, this.offset, this.hour, this.minute, this.second, this.millisecond);
732
+ return this.era ? new Re(this.calendar, this.era, this.year, this.month, this.day, this.timeZone, this.offset, this.hour, this.minute, this.second, this.millisecond) : new Re(this.calendar, this.year, this.month, this.day, this.timeZone, this.offset, this.hour, this.minute, this.second, this.millisecond);
733
733
  }
734
734
  /** Returns a new `ZonedDateTime` with the given duration added to it. */
735
735
  add(t) {
@@ -752,7 +752,7 @@ class Te {
752
752
  }
753
753
  /** Converts the date to a native JavaScript Date object. */
754
754
  toDate() {
755
- return Ro(this);
755
+ return To(this);
756
756
  }
757
757
  /** Converts the date to an ISO 8601 formatted string, including the UTC offset and time zone identifier. */
758
758
  toString() {
@@ -772,7 +772,7 @@ class Te {
772
772
  value: void 0
773
773
  });
774
774
  let [n, a, r, o, l] = _n(t), i = t.shift(), s = t.shift();
775
- this.calendar = n, this.era = a, this.year = r, this.month = o, this.day = l, this.timeZone = i, this.offset = s, this.hour = t.shift() || 0, this.minute = t.shift() || 0, this.second = t.shift() || 0, this.millisecond = t.shift() || 0, Re(this);
775
+ this.calendar = n, this.era = a, this.year = r, this.month = o, this.day = l, this.timeZone = i, this.offset = s, this.hour = t.shift() || 0, this.minute = t.shift() || 0, this.second = t.shift() || 0, this.millisecond = t.shift() || 0, Te(this);
776
776
  }
777
777
  }
778
778
  const Ge = [
@@ -1104,7 +1104,7 @@ class il extends kn {
1104
1104
  }
1105
1105
  const sl = "qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";
1106
1106
  let cn, Qe;
1107
- function St(e) {
1107
+ function At(e) {
1108
1108
  return ll + Qe[e - ae];
1109
1109
  }
1110
1110
  function ut(e, t) {
@@ -1112,7 +1112,7 @@ function ut(e, t) {
1112
1112
  return (cn[n] & a) === 0 ? 29 : 30;
1113
1113
  }
1114
1114
  function ra(e, t) {
1115
- let n = St(e);
1115
+ let n = At(e);
1116
1116
  for (let a = 1; a < t; a++) n += ut(e, a);
1117
1117
  return n;
1118
1118
  }
@@ -1121,12 +1121,12 @@ function oa(e) {
1121
1121
  }
1122
1122
  class ul extends kn {
1123
1123
  fromJulianDay(t) {
1124
- let n = t - Bt, a = St(ae), r = St(Ye);
1124
+ let n = t - Bt, a = At(ae), r = At(Ye);
1125
1125
  if (n < a || n > r) return super.fromJulianDay(t);
1126
1126
  {
1127
1127
  let o = ae - 1, l = 1, i = 1;
1128
1128
  for (; i > 0; ) {
1129
- o++, i = n - St(o) + 1;
1129
+ o++, i = n - At(o) + 1;
1130
1130
  let s = oa(o);
1131
1131
  if (i === s) {
1132
1132
  l = 12;
@@ -1165,16 +1165,16 @@ const la = 347997, er = 1080, tr = 24 * er, dl = 29, cl = 12 * er + 793, fl = dl
1165
1165
  function Pe(e) {
1166
1166
  return qe(e * 7 + 1, 19) < 7;
1167
1167
  }
1168
- function At(e) {
1168
+ function St(e) {
1169
1169
  let t = Math.floor((235 * e - 234) / 19), n = 12084 + 13753 * t, a = t * 29 + Math.floor(n / 25920);
1170
1170
  return qe(3 * (a + 1), 7) < 3 && (a += 1), a;
1171
1171
  }
1172
1172
  function ml(e) {
1173
- let t = At(e - 1), n = At(e);
1174
- return At(e + 1) - n === 356 ? 2 : n - t === 382 ? 1 : 0;
1173
+ let t = St(e - 1), n = St(e);
1174
+ return St(e + 1) - n === 356 ? 2 : n - t === 382 ? 1 : 0;
1175
1175
  }
1176
1176
  function dt(e) {
1177
- return At(e) + ml(e);
1177
+ return St(e) + ml(e);
1178
1178
  }
1179
1179
  function nr(e) {
1180
1180
  return dt(e + 1) - dt(e);
@@ -1242,7 +1242,7 @@ const fn = 1723856, ia = 1824665, mn = 5500;
1242
1242
  function Ft(e, t, n, a) {
1243
1243
  return e + 365 * t + Math.floor(t / 4) + 30 * (n - 1) + a - 1;
1244
1244
  }
1245
- function Sn(e, t) {
1245
+ function An(e, t) {
1246
1246
  let n = Math.floor(4 * (t - e) / 1461), a = 1 + Math.floor((t - Ft(e, n, 1, 1)) / 30), r = t + 1 - Ft(e, n, a, 1);
1247
1247
  return [
1248
1248
  n,
@@ -1256,9 +1256,9 @@ function ar(e) {
1256
1256
  function rr(e, t) {
1257
1257
  return t % 13 !== 0 ? 30 : ar(e) + 5;
1258
1258
  }
1259
- class An {
1259
+ class Sn {
1260
1260
  fromJulianDay(t) {
1261
- let [n, a, r] = Sn(fn, t), o = "AM";
1261
+ let [n, a, r] = An(fn, t), o = "AM";
1262
1262
  return n <= 0 && (o = "AA", n += mn), new Y(this, o, n, a, r);
1263
1263
  }
1264
1264
  toJulianDay(t) {
@@ -1287,9 +1287,9 @@ class An {
1287
1287
  this.identifier = "ethiopic";
1288
1288
  }
1289
1289
  }
1290
- class vl extends An {
1290
+ class vl extends Sn {
1291
1291
  fromJulianDay(t) {
1292
- let [n, a, r] = Sn(fn, t);
1292
+ let [n, a, r] = An(fn, t);
1293
1293
  return n += mn, new Y(this, "AA", n, a, r);
1294
1294
  }
1295
1295
  getEras() {
@@ -1304,9 +1304,9 @@ class vl extends An {
1304
1304
  super(...t), this.identifier = "ethioaa";
1305
1305
  }
1306
1306
  }
1307
- class yl extends An {
1307
+ class yl extends Sn {
1308
1308
  fromJulianDay(t) {
1309
- let [n, a, r] = Sn(ia, t), o = "CE";
1309
+ let [n, a, r] = An(ia, t), o = "CE";
1310
1310
  return n <= 0 && (o = "BCE", n = 1 - n), new Y(this, o, n, a, r);
1311
1311
  }
1312
1312
  toJulianDay(t) {
@@ -1341,7 +1341,7 @@ function gl(e) {
1341
1341
  case "buddhist":
1342
1342
  return new nl();
1343
1343
  case "ethiopic":
1344
- return new An();
1344
+ return new Sn();
1345
1345
  case "ethioaa":
1346
1346
  return new vl();
1347
1347
  case "coptic":
@@ -1476,7 +1476,7 @@ function xl(e) {
1476
1476
  return e instanceof nt;
1477
1477
  }
1478
1478
  function Mn(e) {
1479
- return e instanceof Te;
1479
+ return e instanceof Re;
1480
1480
  }
1481
1481
  function _l(e) {
1482
1482
  return xl(e) || Mn(e);
@@ -1498,7 +1498,7 @@ function kl(e, t, n) {
1498
1498
  const a = Va(e, n);
1499
1499
  return t > a ? e.subtract({ days: a + 7 - t }) : t === a ? e : e.subtract({ days: a - t });
1500
1500
  }
1501
- function Sl(e, t, n) {
1501
+ function Al(e, t, n) {
1502
1502
  const a = Va(e, n), r = t === 0 ? 6 : t - 1;
1503
1503
  return a === r ? e : a > r ? e.add({ days: 7 - a + r }) : e.add({ days: r - a });
1504
1504
  }
@@ -1511,16 +1511,16 @@ function sa(e, t) {
1511
1511
  return n;
1512
1512
  }
1513
1513
  function Xt(e) {
1514
- const { dateObj: t, weekStartsOn: n, fixedWeeks: a, locale: r } = e, o = ft(t), l = Array.from({ length: o }, (p, b) => t.set({ day: b + 1 })), i = ct(t), s = Hn(t), d = kl(i, n, r), c = Sl(s, n, r), u = sa(d.subtract({ days: 1 }), i), y = sa(s, c.add({ days: 1 })), v = u.length + l.length + y.length;
1514
+ const { dateObj: t, weekStartsOn: n, fixedWeeks: a, locale: r } = e, o = ft(t), l = Array.from({ length: o }, (p, b) => t.set({ day: b + 1 })), i = ct(t), s = Hn(t), d = kl(i, n, r), c = Al(s, n, r), u = sa(d.subtract({ days: 1 }), i), y = sa(s, c.add({ days: 1 })), v = u.length + l.length + y.length;
1515
1515
  if (a && v < 42) {
1516
1516
  const p = 42 - v;
1517
1517
  let b = y[y.length - 1];
1518
1518
  b || (b = Hn(t));
1519
- const x = Array.from({ length: p }, ($, E) => {
1519
+ const _ = Array.from({ length: p }, ($, E) => {
1520
1520
  const B = E + 1;
1521
1521
  return b.add({ days: B });
1522
1522
  });
1523
- y.push(...x);
1523
+ y.push(..._);
1524
1524
  }
1525
1525
  const g = u.concat(l, y), m = Cl(g, 7);
1526
1526
  return {
@@ -1590,7 +1590,7 @@ function ht(e) {
1590
1590
  } = ie(e);
1591
1591
  return /auto|scroll|overlay|hidden|clip/.test(t + a + n) && !["inline", "contents"].includes(r);
1592
1592
  }
1593
- function Al(e) {
1593
+ function Sl(e) {
1594
1594
  return ["table", "td", "th"].includes(Ue(e));
1595
1595
  }
1596
1596
  function Wt(e) {
@@ -1680,7 +1680,7 @@ function Bn(e) {
1680
1680
  function Ze(e) {
1681
1681
  const t = Bn(e);
1682
1682
  if (!pe(t))
1683
- return Se(1);
1683
+ return Ae(1);
1684
1684
  const n = t.getBoundingClientRect(), {
1685
1685
  width: a,
1686
1686
  height: r,
@@ -1692,7 +1692,7 @@ function Ze(e) {
1692
1692
  y: i
1693
1693
  };
1694
1694
  }
1695
- const Ol = /* @__PURE__ */ Se(0);
1695
+ const Ol = /* @__PURE__ */ Ae(0);
1696
1696
  function sr(e) {
1697
1697
  const t = X(e);
1698
1698
  return !Pn() || !t.visualViewport ? Ol : {
@@ -1706,15 +1706,15 @@ function El(e, t, n) {
1706
1706
  function Ve(e, t, n, a) {
1707
1707
  t === void 0 && (t = !1), n === void 0 && (n = !1);
1708
1708
  const r = e.getBoundingClientRect(), o = Bn(e);
1709
- let l = Se(1);
1709
+ let l = Ae(1);
1710
1710
  t && (a ? le(a) && (l = Ze(a)) : l = Ze(e));
1711
- const i = El(o, n, a) ? sr(o) : Se(0);
1711
+ const i = El(o, n, a) ? sr(o) : Ae(0);
1712
1712
  let s = (r.left + i.x) / l.x, d = (r.top + i.y) / l.y, c = r.width / l.x, u = r.height / l.y;
1713
1713
  if (o) {
1714
1714
  const y = X(o), v = a && le(a) ? X(a) : a;
1715
1715
  let g = y, m = pn(g);
1716
1716
  for (; m && a && v !== g; ) {
1717
- const p = Ze(m), b = m.getBoundingClientRect(), x = ie(m), $ = b.left + (m.clientLeft + parseFloat(x.paddingLeft)) * p.x, E = b.top + (m.clientTop + parseFloat(x.paddingTop)) * p.y;
1717
+ const p = Ze(m), b = m.getBoundingClientRect(), _ = ie(m), $ = b.left + (m.clientLeft + parseFloat(_.paddingLeft)) * p.x, E = b.top + (m.clientTop + parseFloat(_.paddingTop)) * p.y;
1718
1718
  s *= p.x, d *= p.y, c *= p.x, u *= p.y, s += $, d += E, g = X(m), m = pn(g);
1719
1719
  }
1720
1720
  }
@@ -1738,8 +1738,8 @@ function Pl(e) {
1738
1738
  let s = {
1739
1739
  scrollLeft: 0,
1740
1740
  scrollTop: 0
1741
- }, d = Se(1);
1742
- const c = Se(0), u = pe(a);
1741
+ }, d = Ae(1);
1742
+ const c = Ae(0), u = pe(a);
1743
1743
  if ((u || !u && !o) && ((Ue(a) !== "body" || ht(l)) && (s = Yt(a)), pe(a))) {
1744
1744
  const y = Ve(a);
1745
1745
  d = Ze(a), c.x = y.x + a.clientLeft, c.y = y.y + a.clientTop;
@@ -1784,8 +1784,8 @@ function Fl(e, t) {
1784
1784
  y: s
1785
1785
  };
1786
1786
  }
1787
- function Rl(e, t) {
1788
- const n = Ve(e, !0, t === "fixed"), a = n.top + e.clientTop, r = n.left + e.clientLeft, o = pe(e) ? Ze(e) : Se(1), l = e.clientWidth * o.x, i = e.clientHeight * o.y, s = r * o.x, d = a * o.y;
1787
+ function Tl(e, t) {
1788
+ const n = Ve(e, !0, t === "fixed"), a = n.top + e.clientTop, r = n.left + e.clientLeft, o = pe(e) ? Ze(e) : Ae(1), l = e.clientWidth * o.x, i = e.clientHeight * o.y, s = r * o.x, d = a * o.y;
1789
1789
  return {
1790
1790
  width: l,
1791
1791
  height: i,
@@ -1800,7 +1800,7 @@ function da(e, t, n) {
1800
1800
  else if (t === "document")
1801
1801
  a = Il(he(e));
1802
1802
  else if (le(t))
1803
- a = Rl(t, n);
1803
+ a = Tl(t, n);
1804
1804
  else {
1805
1805
  const r = sr(e);
1806
1806
  a = {
@@ -1815,7 +1815,7 @@ function ur(e, t) {
1815
1815
  const n = Me(e);
1816
1816
  return n === t || !le(n) || at(n) ? !1 : ie(n).position === "fixed" || ur(n, t);
1817
1817
  }
1818
- function Tl(e, t) {
1818
+ function Rl(e, t) {
1819
1819
  const n = t.get(e);
1820
1820
  if (n)
1821
1821
  return n;
@@ -1835,7 +1835,7 @@ function Vl(e) {
1835
1835
  rootBoundary: a,
1836
1836
  strategy: r
1837
1837
  } = e;
1838
- const l = [...n === "clippingAncestors" ? Wt(t) ? [] : Tl(t, this._c) : [].concat(n), a], i = l[0], s = l.reduce((d, c) => {
1838
+ const l = [...n === "clippingAncestors" ? Wt(t) ? [] : Rl(t, this._c) : [].concat(n), a], i = l[0], s = l.reduce((d, c) => {
1839
1839
  const u = da(t, c, r);
1840
1840
  return d.top = Je(u.top, d.top), d.right = ln(u.right, d.right), d.bottom = ln(u.bottom, d.bottom), d.left = Je(u.left, d.left), d;
1841
1841
  }, da(t, i, r));
@@ -1862,7 +1862,7 @@ function Ll(e, t, n) {
1862
1862
  scrollLeft: 0,
1863
1863
  scrollTop: 0
1864
1864
  };
1865
- const s = Se(0);
1865
+ const s = Ae(0);
1866
1866
  if (a || !a && !o)
1867
1867
  if ((Ue(t) !== "body" || ht(r)) && (i = Yt(t)), a) {
1868
1868
  const v = Ve(t, !0, o, t);
@@ -1907,7 +1907,7 @@ function dr(e, t) {
1907
1907
  return n;
1908
1908
  }
1909
1909
  let a = ca(e, t);
1910
- for (; a && Al(a) && en(a); )
1910
+ for (; a && Sl(a) && en(a); )
1911
1911
  a = ca(a, t);
1912
1912
  return a && at(a) && en(a) && !En(a) ? n : a || Ml(e) || n;
1913
1913
  }
@@ -1955,7 +1955,7 @@ function Hl(e, t) {
1955
1955
  } = e.getBoundingClientRect();
1956
1956
  if (i || t(), !u || !y)
1957
1957
  return;
1958
- const v = yt(c), g = yt(r.clientWidth - (d + u)), m = yt(r.clientHeight - (c + y)), p = yt(d), x = {
1958
+ const v = yt(c), g = yt(r.clientWidth - (d + u)), m = yt(r.clientHeight - (c + y)), p = yt(d), _ = {
1959
1959
  rootMargin: -v + "px " + -g + "px " + -m + "px " + -p + "px",
1960
1960
  threshold: Je(0, ln(1, s)) || 1
1961
1961
  };
@@ -1973,12 +1973,12 @@ function Hl(e, t) {
1973
1973
  }
1974
1974
  try {
1975
1975
  n = new IntersectionObserver(E, {
1976
- ...x,
1976
+ ..._,
1977
1977
  // Handle <iframe>s
1978
1978
  root: r.ownerDocument
1979
1979
  });
1980
1980
  } catch {
1981
- n = new IntersectionObserver(E, x);
1981
+ n = new IntersectionObserver(E, _);
1982
1982
  }
1983
1983
  n.observe(e);
1984
1984
  }
@@ -2001,8 +2001,8 @@ function jl(e, t, n, a) {
2001
2001
  const u = d && i ? Hl(d, n) : null;
2002
2002
  let y = -1, v = null;
2003
2003
  l && (v = new ResizeObserver((b) => {
2004
- let [x] = b;
2005
- x && x.target === d && v && (v.unobserve(t), cancelAnimationFrame(y), y = requestAnimationFrame(() => {
2004
+ let [_] = b;
2005
+ _ && _.target === d && v && (v.unobserve(t), cancelAnimationFrame(y), y = requestAnimationFrame(() => {
2006
2006
  var $;
2007
2007
  ($ = v) == null || $.observe(t);
2008
2008
  })), n();
@@ -2015,8 +2015,8 @@ function jl(e, t, n, a) {
2015
2015
  }
2016
2016
  return n(), () => {
2017
2017
  var b;
2018
- c.forEach((x) => {
2019
- r && x.removeEventListener("scroll", n), o && x.removeEventListener("resize", n);
2018
+ c.forEach((_) => {
2019
+ r && _.removeEventListener("scroll", n), o && _.removeEventListener("resize", n);
2020
2020
  }), u == null || u(), (b = v) == null || b.disconnect(), v = null, s && cancelAnimationFrame(g);
2021
2021
  };
2022
2022
  }
@@ -2068,29 +2068,29 @@ function ma(e, t) {
2068
2068
  }
2069
2069
  function ti(e, t, n) {
2070
2070
  n === void 0 && (n = {});
2071
- const a = n.whileElementsMounted, r = A(() => {
2072
- var T;
2073
- return (T = je(n.open)) != null ? T : !0;
2074
- }), o = A(() => je(n.middleware)), l = A(() => {
2075
- var T;
2076
- return (T = je(n.placement)) != null ? T : "bottom";
2077
- }), i = A(() => {
2078
- var T;
2079
- return (T = je(n.strategy)) != null ? T : "absolute";
2080
- }), s = A(() => {
2081
- var T;
2082
- return (T = je(n.transform)) != null ? T : !0;
2083
- }), d = A(() => vn(e.value)), c = A(() => vn(t.value)), u = I(0), y = I(0), v = I(i.value), g = I(l.value), m = Ca({}), p = I(!1), b = A(() => {
2084
- const T = {
2071
+ const a = n.whileElementsMounted, r = S(() => {
2072
+ var R;
2073
+ return (R = je(n.open)) != null ? R : !0;
2074
+ }), o = S(() => je(n.middleware)), l = S(() => {
2075
+ var R;
2076
+ return (R = je(n.placement)) != null ? R : "bottom";
2077
+ }), i = S(() => {
2078
+ var R;
2079
+ return (R = je(n.strategy)) != null ? R : "absolute";
2080
+ }), s = S(() => {
2081
+ var R;
2082
+ return (R = je(n.transform)) != null ? R : !0;
2083
+ }), d = S(() => vn(e.value)), c = S(() => vn(t.value)), u = I(0), y = I(0), v = I(i.value), g = I(l.value), m = Ca({}), p = I(!1), b = S(() => {
2084
+ const R = {
2085
2085
  position: v.value,
2086
2086
  left: "0",
2087
2087
  top: "0"
2088
2088
  };
2089
2089
  if (!c.value)
2090
- return T;
2090
+ return R;
2091
2091
  const J = ma(c.value, u.value), ee = ma(c.value, y.value);
2092
2092
  return s.value ? {
2093
- ...T,
2093
+ ...R,
2094
2094
  transform: "translate(" + J + "px, " + ee + "px)",
2095
2095
  ...cr(c.value) >= 1.5 && {
2096
2096
  willChange: "transform"
@@ -2101,21 +2101,21 @@ function ti(e, t, n) {
2101
2101
  top: ee + "px"
2102
2102
  };
2103
2103
  });
2104
- let x;
2104
+ let _;
2105
2105
  function $() {
2106
2106
  if (d.value == null || c.value == null)
2107
2107
  return;
2108
- const T = r.value;
2108
+ const R = r.value;
2109
2109
  Zl(d.value, c.value, {
2110
2110
  middleware: o.value,
2111
2111
  placement: l.value,
2112
2112
  strategy: i.value
2113
2113
  }).then((J) => {
2114
- u.value = J.x, y.value = J.y, v.value = J.strategy, g.value = J.placement, m.value = J.middlewareData, p.value = T !== !1;
2114
+ u.value = J.x, y.value = J.y, v.value = J.strategy, g.value = J.placement, m.value = J.middlewareData, p.value = R !== !1;
2115
2115
  });
2116
2116
  }
2117
2117
  function E() {
2118
- typeof x == "function" && (x(), x = void 0);
2118
+ typeof _ == "function" && (_(), _ = void 0);
2119
2119
  }
2120
2120
  function B() {
2121
2121
  if (E(), a === void 0) {
@@ -2123,7 +2123,7 @@ function ti(e, t, n) {
2123
2123
  return;
2124
2124
  }
2125
2125
  if (d.value != null && c.value != null) {
2126
- x = a(d.value, c.value, $);
2126
+ _ = a(d.value, c.value, $);
2127
2127
  return;
2128
2128
  }
2129
2129
  }
@@ -2298,7 +2298,7 @@ function Xe(e, t, n, a = {}) {
2298
2298
  } = a, v = Ne(), g = n || (v == null ? void 0 : v.emit) || ((r = v == null ? void 0 : v.$emit) == null ? void 0 : r.bind(v)) || ((l = (o = v == null ? void 0 : v.proxy) == null ? void 0 : o.$emit) == null ? void 0 : l.bind(v == null ? void 0 : v.proxy));
2299
2299
  let m = d;
2300
2300
  t || (t = "modelValue"), m = m || `update:${t.toString()}`;
2301
- const p = ($) => i ? typeof i == "function" ? i($) : vi($) : $, b = () => li(e[t]) ? p(e[t]) : u, x = ($) => {
2301
+ const p = ($) => i ? typeof i == "function" ? i($) : vi($) : $, b = () => li(e[t]) ? p(e[t]) : u, _ = ($) => {
2302
2302
  y ? y($) && g(m, $) : g(m, $);
2303
2303
  };
2304
2304
  if (s) {
@@ -2307,27 +2307,27 @@ function Xe(e, t, n, a = {}) {
2307
2307
  return Z(
2308
2308
  () => e[t],
2309
2309
  (k) => {
2310
- B || (B = !0, E.value = p(k), Ae(() => B = !1));
2310
+ B || (B = !0, E.value = p(k), Se(() => B = !1));
2311
2311
  }
2312
2312
  ), Z(
2313
2313
  E,
2314
2314
  (k) => {
2315
- !B && (k !== e[t] || c) && x(k);
2315
+ !B && (k !== e[t] || c) && _(k);
2316
2316
  },
2317
2317
  { deep: c }
2318
2318
  ), E;
2319
2319
  } else
2320
- return A({
2320
+ return S({
2321
2321
  get() {
2322
2322
  return b();
2323
2323
  },
2324
2324
  set($) {
2325
- x($);
2325
+ _($);
2326
2326
  }
2327
2327
  });
2328
2328
  }
2329
- function Rn(e) {
2330
- return e ? e.flatMap((t) => t.type === W ? Rn(t.children) : [t]) : [];
2329
+ function Tn(e) {
2330
+ return e ? e.flatMap((t) => t.type === W ? Tn(t.children) : [t]) : [];
2331
2331
  }
2332
2332
  function tn(e) {
2333
2333
  if (e === null || typeof e != "object")
@@ -2357,7 +2357,7 @@ function yi(e) {
2357
2357
  t.reduce((n, a) => yn(n, a, ""), {})
2358
2358
  );
2359
2359
  }
2360
- const gi = yi(), [Tn, rc] = rt("ConfigProvider");
2360
+ const gi = yi(), [Rn, ic] = rt("ConfigProvider");
2361
2361
  let bi = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", wi = (e = 21) => {
2362
2362
  let t = "", n = e;
2363
2363
  for (; n--; )
@@ -2365,12 +2365,12 @@ let bi = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", wi
2365
2365
  return t;
2366
2366
  };
2367
2367
  const $i = oi(() => {
2368
- const e = I(/* @__PURE__ */ new Map()), t = I(), n = A(() => {
2368
+ const e = I(/* @__PURE__ */ new Map()), t = I(), n = S(() => {
2369
2369
  for (const l of e.value.values())
2370
2370
  if (l)
2371
2371
  return !0;
2372
2372
  return !1;
2373
- }), a = Tn({
2373
+ }), a = Rn({
2374
2374
  scrollBody: I(!0)
2375
2375
  });
2376
2376
  let r = null;
@@ -2395,7 +2395,7 @@ const $i = oi(() => {
2395
2395
  "touchmove",
2396
2396
  (y) => Ci(y),
2397
2397
  { passive: !1 }
2398
- )), Ae(() => {
2398
+ )), Se(() => {
2399
2399
  document.body.style.pointerEvents = "none", document.body.style.overflow = "hidden";
2400
2400
  });
2401
2401
  }, { immediate: !0, flush: "sync" }), e;
@@ -2403,7 +2403,7 @@ const $i = oi(() => {
2403
2403
  function Di(e) {
2404
2404
  const t = wi(6), n = $i();
2405
2405
  n.value.set(t, e);
2406
- const a = A({
2406
+ const a = S({
2407
2407
  get: () => n.value.get(t) ?? !1,
2408
2408
  set: (r) => n.value.set(t, r)
2409
2409
  });
@@ -2481,7 +2481,7 @@ function xi(e) {
2481
2481
  second: "numeric"
2482
2482
  };
2483
2483
  function g(m, p, b = {}) {
2484
- const x = { ...v, ...b }, $ = c(m, x).find((E) => E.type === p);
2484
+ const _ = { ...v, ...b }, $ = c(m, _).find((E) => E.type === p);
2485
2485
  return $ ? $.value : "";
2486
2486
  }
2487
2487
  return {
@@ -2500,10 +2500,10 @@ function xi(e) {
2500
2500
  };
2501
2501
  }
2502
2502
  function yr(e) {
2503
- const t = Tn({
2503
+ const t = Rn({
2504
2504
  dir: I("ltr")
2505
2505
  });
2506
- return A(() => {
2506
+ return S(() => {
2507
2507
  var n;
2508
2508
  return (e == null ? void 0 : e.value) || ((n = t.dir) == null ? void 0 : n.value) || "ltr";
2509
2509
  });
@@ -2513,7 +2513,7 @@ function _i(e) {
2513
2513
  return n != null && n.length || console.warn(
2514
2514
  `No emitted event found. Please check component: ${t == null ? void 0 : t.type.__name}`
2515
2515
  ), n == null || n.forEach((r) => {
2516
- a[Xr(Sa(r))] = (...o) => e(r, ...o);
2516
+ a[Xr(Aa(r))] = (...o) => e(r, ...o);
2517
2517
  }), a;
2518
2518
  }
2519
2519
  let nn = 0;
@@ -2542,22 +2542,22 @@ function gr(e) {
2542
2542
  const l = (t == null ? void 0 : t.type.props[o]).default;
2543
2543
  return l !== void 0 && (r[o] = l), r;
2544
2544
  }, {}), a = Zr(e);
2545
- return A(() => {
2545
+ return S(() => {
2546
2546
  const r = {}, o = (t == null ? void 0 : t.vnode.props) ?? {};
2547
2547
  return Object.keys(o).forEach((l) => {
2548
- r[Sa(l)] = o[l];
2548
+ r[Aa(l)] = o[l];
2549
2549
  }), Object.keys({ ...n, ...r }).reduce((l, i) => (a.value[i] !== void 0 && (l[i] = a.value[i]), l), {});
2550
2550
  });
2551
2551
  }
2552
2552
  function Ht(e, t) {
2553
2553
  const n = gr(e), a = t ? _i(t) : {};
2554
- return A(() => ({
2554
+ return S(() => ({
2555
2555
  ...n.value,
2556
2556
  ...a
2557
2557
  }));
2558
2558
  }
2559
2559
  function se() {
2560
- const e = Ne(), t = I(), n = A(() => {
2560
+ const e = Ne(), t = I(), n = S(() => {
2561
2561
  var l, i;
2562
2562
  return ["#text", "#comment"].includes((l = t.value) == null ? void 0 : l.$el.nodeName) ? (i = t.value) == null ? void 0 : i.$el.nextElementSibling : ot(t);
2563
2563
  }), a = Object.assign({}, e.exposed), r = {};
@@ -2588,14 +2588,14 @@ function se() {
2588
2588
  }
2589
2589
  return { forwardRef: o, currentRef: t, currentElement: n };
2590
2590
  }
2591
- var Si = function(e) {
2591
+ var Ai = function(e) {
2592
2592
  if (typeof document > "u")
2593
2593
  return null;
2594
2594
  var t = Array.isArray(e) ? e[0] : e;
2595
2595
  return t.ownerDocument.body;
2596
2596
  }, He = /* @__PURE__ */ new WeakMap(), Dt = /* @__PURE__ */ new WeakMap(), Ct = {}, an = 0, br = function(e) {
2597
2597
  return e && (e.host || br(e.parentNode));
2598
- }, Ai = function(e, t) {
2598
+ }, Si = function(e, t) {
2599
2599
  return t.map(function(n) {
2600
2600
  if (e.contains(n))
2601
2601
  return n;
@@ -2605,7 +2605,7 @@ var Si = function(e) {
2605
2605
  return !!n;
2606
2606
  });
2607
2607
  }, Mi = function(e, t, n, a) {
2608
- var r = Ai(t, Array.isArray(e) ? e : [e]);
2608
+ var r = Si(t, Array.isArray(e) ? e : [e]);
2609
2609
  Ct[n] || (Ct[n] = /* @__PURE__ */ new WeakMap());
2610
2610
  var o = Ct[n], l = [], i = /* @__PURE__ */ new Set(), s = new Set(r), d = function(u) {
2611
2611
  !u || i.has(u) || (i.add(u), d(u.parentNode));
@@ -2632,7 +2632,7 @@ var Si = function(e) {
2632
2632
  };
2633
2633
  }, Oi = function(e, t, n) {
2634
2634
  n === void 0 && (n = "data-aria-hidden");
2635
- var a = Array.from(Array.isArray(e) ? e : [e]), r = Si(e);
2635
+ var a = Array.from(Array.isArray(e) ? e : [e]), r = Ai(e);
2636
2636
  return r ? (a.push.apply(a, Array.from(r.querySelectorAll("[aria-live]"))), Mi(a, r, n, "aria-hidden")) : function() {
2637
2637
  return null;
2638
2638
  };
@@ -2641,20 +2641,20 @@ function Ei(e) {
2641
2641
  let t;
2642
2642
  Z(() => ot(e), (n) => {
2643
2643
  n ? t = Oi(n) : t && t();
2644
- }), Aa(() => {
2644
+ }), Sa(() => {
2645
2645
  t && t();
2646
2646
  });
2647
2647
  }
2648
2648
  let Pi = 0;
2649
2649
  function Bi(e, t = "radix") {
2650
- const n = Tn({ useId: void 0 });
2650
+ const n = Rn({ useId: void 0 });
2651
2651
  return Ln ? `${t}-${Ln()}` : n.useId ? `${t}-${n.useId()}` : `${t}-${++Pi}`;
2652
2652
  }
2653
2653
  function Ii(e) {
2654
- const t = I(), n = A(() => {
2654
+ const t = I(), n = S(() => {
2655
2655
  var r;
2656
2656
  return ((r = t.value) == null ? void 0 : r.width) ?? 0;
2657
- }), a = A(() => {
2657
+ }), a = S(() => {
2658
2658
  var r;
2659
2659
  return ((r = t.value) == null ? void 0 : r.height) ?? 0;
2660
2660
  });
@@ -2694,7 +2694,7 @@ function Fi(e, t) {
2694
2694
  }
2695
2695
  };
2696
2696
  }
2697
- function Ri() {
2697
+ function Ti() {
2698
2698
  return {
2699
2699
  ALT: "Alt",
2700
2700
  ARROW_DOWN: "ArrowDown",
@@ -2732,7 +2732,7 @@ function Ri() {
2732
2732
  SPACE_CODE: "Space"
2733
2733
  };
2734
2734
  }
2735
- const Ti = P({
2735
+ const Ri = P({
2736
2736
  name: "PrimitiveSlot",
2737
2737
  inheritAttrs: !1,
2738
2738
  setup(e, { attrs: t, slots: n }) {
@@ -2740,7 +2740,7 @@ const Ti = P({
2740
2740
  var a, r;
2741
2741
  if (!n.default)
2742
2742
  return null;
2743
- const o = Rn(n.default()), l = o.findIndex((c) => c.type !== to);
2743
+ const o = Tn(n.default()), l = o.findIndex((c) => c.type !== to);
2744
2744
  if (l === -1)
2745
2745
  return o;
2746
2746
  const i = o[l];
@@ -2768,11 +2768,11 @@ const Ti = P({
2768
2768
  },
2769
2769
  setup(e, { attrs: t, slots: n }) {
2770
2770
  const a = e.asChild ? "template" : e.as;
2771
- return typeof a == "string" && ["area", "img", "input"].includes(a) ? () => _t(a, t) : a !== "template" ? () => _t(e.as, t, { default: n.default }) : () => _t(Ti, t, { default: n.default });
2771
+ return typeof a == "string" && ["area", "img", "input"].includes(a) ? () => _t(a, t) : a !== "template" ? () => _t(e.as, t, { default: n.default }) : () => _t(Ri, t, { default: n.default });
2772
2772
  }
2773
2773
  });
2774
2774
  function wr() {
2775
- const e = I(), t = A(() => {
2775
+ const e = I(), t = S(() => {
2776
2776
  var n, a;
2777
2777
  return ["#text", "#comment"].includes((n = e.value) == null ? void 0 : n.$el.nodeName) ? (a = e.value) == null ? void 0 : a.$el.nextElementSibling : ot(e);
2778
2778
  });
@@ -2800,27 +2800,27 @@ function Vi(e, t) {
2800
2800
  }), u = (p) => {
2801
2801
  var b;
2802
2802
  if (Oe) {
2803
- const x = new CustomEvent(p, { bubbles: !1, cancelable: !1 });
2804
- (b = t.value) == null || b.dispatchEvent(x);
2803
+ const _ = new CustomEvent(p, { bubbles: !1, cancelable: !1 });
2804
+ (b = t.value) == null || b.dispatchEvent(_);
2805
2805
  }
2806
2806
  };
2807
2807
  Z(
2808
2808
  e,
2809
2809
  async (p, b) => {
2810
- var x;
2810
+ var _;
2811
2811
  const $ = b !== p;
2812
- if (await Ae(), $) {
2812
+ if (await Se(), $) {
2813
2813
  const E = r.value, B = xt(t.value);
2814
- p ? (c("MOUNT"), u("enter"), B === "none" && u("after-enter")) : B === "none" || ((x = a.value) == null ? void 0 : x.display) === "none" ? (c("UNMOUNT"), u("leave"), u("after-leave")) : b && E !== B ? (c("ANIMATION_OUT"), u("leave")) : (c("UNMOUNT"), u("after-leave"));
2814
+ p ? (c("MOUNT"), u("enter"), B === "none" && u("after-enter")) : B === "none" || ((_ = a.value) == null ? void 0 : _.display) === "none" ? (c("UNMOUNT"), u("leave"), u("after-leave")) : b && E !== B ? (c("ANIMATION_OUT"), u("leave")) : (c("UNMOUNT"), u("after-leave"));
2815
2815
  }
2816
2816
  },
2817
2817
  { immediate: !0 }
2818
2818
  );
2819
2819
  const y = (p) => {
2820
- const b = xt(t.value), x = b.includes(
2820
+ const b = xt(t.value), _ = b.includes(
2821
2821
  p.animationName
2822
2822
  ), $ = d.value === "mounted" ? "enter" : "leave";
2823
- if (p.target === t.value && x && (u(`after-${$}`), c("ANIMATION_END"), !o.value)) {
2823
+ if (p.target === t.value && _ && (u(`after-${$}`), c("ANIMATION_END"), !o.value)) {
2824
2824
  const E = t.value.style.animationFillMode;
2825
2825
  t.value.style.animationFillMode = "forwards", i = s == null ? void 0 : s.setTimeout(() => {
2826
2826
  var B;
@@ -2840,10 +2840,10 @@ function Vi(e, t) {
2840
2840
  const p = xt(t.value);
2841
2841
  r.value = d.value === "mounted" ? p : "none";
2842
2842
  });
2843
- return Aa(() => {
2843
+ return Sa(() => {
2844
2844
  g(), m();
2845
2845
  }), {
2846
- isPresent: A(
2846
+ isPresent: S(
2847
2847
  () => ["mounted", "unmountSuspended"].includes(d.value)
2848
2848
  )
2849
2849
  };
@@ -2865,10 +2865,10 @@ const Ni = P({
2865
2865
  slots: {},
2866
2866
  setup(e, { slots: t, expose: n }) {
2867
2867
  var a;
2868
- const { present: r, forceMount: o } = Tt(e), l = I(), { isPresent: i } = Vi(r, l);
2868
+ const { present: r, forceMount: o } = Rt(e), l = I(), { isPresent: i } = Vi(r, l);
2869
2869
  n({ present: i });
2870
2870
  let s = t.default({ present: i });
2871
- s = Rn(s || []);
2871
+ s = Tn(s || []);
2872
2872
  const d = Ne();
2873
2873
  if (s && (s == null ? void 0 : s.length) > 1) {
2874
2874
  const c = (a = d == null ? void 0 : d.parent) != null && a.type.name ? `<${d.parent.type.name} />` : "component";
@@ -2969,7 +2969,7 @@ function Hi(e, t) {
2969
2969
  if (!Oe)
2970
2970
  return;
2971
2971
  const l = async (i) => {
2972
- t != null && t.value && (await Ae(), !(!t.value || $r(t.value, i.target)) && i.target && !r.value && fr(
2972
+ t != null && t.value && (await Se(), !(!t.value || $r(t.value, i.target)) && i.target && !r.value && fr(
2973
2973
  Wi,
2974
2974
  e,
2975
2975
  { originalEvent: i }
@@ -2994,19 +2994,19 @@ const ge = Oa({
2994
2994
  },
2995
2995
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "dismiss"],
2996
2996
  setup(e, { emit: t }) {
2997
- const n = e, a = t, { forwardRef: r, currentElement: o } = se(), l = A(
2997
+ const n = e, a = t, { forwardRef: r, currentElement: o } = se(), l = S(
2998
2998
  () => {
2999
2999
  var g;
3000
3000
  return ((g = o.value) == null ? void 0 : g.ownerDocument) ?? globalThis.document;
3001
3001
  }
3002
- ), i = A(() => ge.layersRoot), s = A(() => o.value ? Array.from(i.value).indexOf(o.value) : -1), d = A(() => ge.layersWithOutsidePointerEventsDisabled.size > 0), c = A(() => {
3002
+ ), i = S(() => ge.layersRoot), s = S(() => o.value ? Array.from(i.value).indexOf(o.value) : -1), d = S(() => ge.layersWithOutsidePointerEventsDisabled.size > 0), c = S(() => {
3003
3003
  const g = Array.from(i.value), [m] = [...ge.layersWithOutsidePointerEventsDisabled].slice(-1), p = g.indexOf(m);
3004
3004
  return s.value >= p;
3005
3005
  }), u = Yi(async (g) => {
3006
3006
  const m = [...ge.branches].some(
3007
3007
  (p) => p == null ? void 0 : p.contains(g.target)
3008
3008
  );
3009
- !c.value || m || (a("pointerDownOutside", g), a("interactOutside", g), await Ae(), g.defaultPrevented || a("dismiss"));
3009
+ !c.value || m || (a("pointerDownOutside", g), a("interactOutside", g), await Se(), g.defaultPrevented || a("dismiss"));
3010
3010
  }, o), y = Hi((g) => {
3011
3011
  [...ge.branches].some(
3012
3012
  (m) => m == null ? void 0 : m.contains(g.target)
@@ -3157,7 +3157,7 @@ const Xi = /* @__PURE__ */ P({
3157
3157
  });
3158
3158
  }), me(async (c) => {
3159
3159
  const u = o.value;
3160
- if (await Ae(), !u)
3160
+ if (await Se(), !u)
3161
3161
  return;
3162
3162
  i.add(s);
3163
3163
  const y = document.activeElement;
@@ -3205,7 +3205,7 @@ function es(e) {
3205
3205
  function t(a) {
3206
3206
  return Array.isArray(e.date.value) ? e.date.value.some((r) => Fe(r, a)) : e.date.value ? Fe(e.date.value, a) : !1;
3207
3207
  }
3208
- const n = A(
3208
+ const n = S(
3209
3209
  () => {
3210
3210
  var a, r, o, l;
3211
3211
  if (Array.isArray(e.date.value)) {
@@ -3243,7 +3243,7 @@ function rs(e, t) {
3243
3243
  return t(e);
3244
3244
  }
3245
3245
  function os(e) {
3246
- const t = xi(e.locale.value), n = A(() => {
3246
+ const t = xi(e.locale.value), n = S(() => {
3247
3247
  const m = {
3248
3248
  calendar: e.placeholder.value.calendar.identifier
3249
3249
  };
@@ -3254,7 +3254,7 @@ function os(e) {
3254
3254
  locale: e.locale.value,
3255
3255
  fixedWeeks: e.fixedWeeks.value,
3256
3256
  numberOfMonths: e.numberOfMonths.value
3257
- })), r = A(() => a.value.map((m) => m.value));
3257
+ })), r = S(() => a.value.map((m) => m.value));
3258
3258
  function o(m) {
3259
3259
  return !r.value.some((p) => Wn(m, p));
3260
3260
  }
@@ -3272,8 +3272,8 @@ function os(e) {
3272
3272
  const $ = b.add({ years: 1 }).set({ day: 1, month: 1 });
3273
3273
  return $t($, e.maxValue.value);
3274
3274
  }
3275
- const x = b.add({ months: 1 }).set({ day: 1 });
3276
- return $t(x, e.maxValue.value);
3275
+ const _ = b.add({ months: 1 }).set({ day: 1 });
3276
+ return $t(_, e.maxValue.value);
3277
3277
  }, i = (m = "month", p) => {
3278
3278
  if (!e.minValue.value || !a.value.length)
3279
3279
  return !1;
@@ -3288,8 +3288,8 @@ function os(e) {
3288
3288
  const $ = b.subtract({ years: 1 }).set({ day: 35, month: 13 });
3289
3289
  return wt($, e.minValue.value);
3290
3290
  }
3291
- const x = b.subtract({ months: 1 }).set({ day: 35 });
3292
- return wt(x, e.minValue.value);
3291
+ const _ = b.subtract({ months: 1 }).set({ day: 35 });
3292
+ return wt(_, e.minValue.value);
3293
3293
  };
3294
3294
  function s(m) {
3295
3295
  var p;
@@ -3298,7 +3298,7 @@ function os(e) {
3298
3298
  const d = (m) => {
3299
3299
  var p;
3300
3300
  return !!((p = e.isDateUnavailable) != null && p.call(e, m));
3301
- }, c = A(() => a.value.length ? a.value[0].rows[0].map((m) => t.dayOfWeek(ce(m), e.weekdayFormat.value)) : []), u = (m = "month", p) => {
3301
+ }, c = S(() => a.value.length ? a.value[0].rows[0].map((m) => t.dayOfWeek(ce(m), e.weekdayFormat.value)) : []), u = (m = "month", p) => {
3302
3302
  const b = a.value[0].value;
3303
3303
  if (p || e.nextPage.value) {
3304
3304
  const E = as(b, p || e.nextPage.value), B = Ee({
@@ -3311,14 +3311,14 @@ function os(e) {
3311
3311
  a.value = B;
3312
3312
  const k = {};
3313
3313
  if (!p) {
3314
- const T = B[0].value.compare(b);
3315
- T >= ft(b) && (k.day = 1), T >= 365 && (k.month = 1);
3314
+ const R = B[0].value.compare(b);
3315
+ R >= ft(b) && (k.day = 1), R >= 365 && (k.month = 1);
3316
3316
  }
3317
3317
  e.placeholder.value = B[0].value.set({ ...k });
3318
3318
  return;
3319
3319
  }
3320
- const x = m === "month" ? b.add({ months: e.pagedNavigation.value ? e.numberOfMonths.value : 1 }) : b.add({ years: 1 }), $ = Ee({
3321
- dateObj: x,
3320
+ const _ = m === "month" ? b.add({ months: e.pagedNavigation.value ? e.numberOfMonths.value : 1 }) : b.add({ years: 1 }), $ = Ee({
3321
+ dateObj: _,
3322
3322
  weekStartsOn: e.weekStartsOn.value,
3323
3323
  locale: e.locale.value,
3324
3324
  fixedWeeks: e.fixedWeeks.value,
@@ -3338,14 +3338,14 @@ function os(e) {
3338
3338
  a.value = B;
3339
3339
  const k = {};
3340
3340
  if (!p) {
3341
- const T = b.compare(B[0].value);
3342
- T >= ft(b) && (k.day = 1), T >= 365 && (k.month = 1);
3341
+ const R = b.compare(B[0].value);
3342
+ R >= ft(b) && (k.day = 1), R >= 365 && (k.month = 1);
3343
3343
  }
3344
3344
  e.placeholder.value = B[0].value.set({ ...k });
3345
3345
  return;
3346
3346
  }
3347
- const x = m === "month" ? b.subtract({ months: e.pagedNavigation.value ? e.numberOfMonths.value : 1 }) : b.subtract({ years: 1 }), $ = Ee({
3348
- dateObj: x,
3347
+ const _ = m === "month" ? b.subtract({ months: e.pagedNavigation.value ? e.numberOfMonths.value : 1 }) : b.subtract({ years: 1 }), $ = Ee({
3348
+ dateObj: _,
3349
3349
  weekStartsOn: e.weekStartsOn.value,
3350
3350
  locale: e.locale.value,
3351
3351
  fixedWeeks: e.fixedWeeks.value,
@@ -3370,16 +3370,16 @@ function os(e) {
3370
3370
  numberOfMonths: e.numberOfMonths.value
3371
3371
  });
3372
3372
  });
3373
- const v = A(() => {
3373
+ const v = S(() => {
3374
3374
  if (!a.value.length)
3375
3375
  return "";
3376
3376
  if (e.locale.value !== t.getLocale() && t.setLocale(e.locale.value), a.value.length === 1) {
3377
3377
  const B = a.value[0].value;
3378
3378
  return `${t.fullMonthAndYear(ce(B), n.value)}`;
3379
3379
  }
3380
- const m = ce(a.value[0].value), p = ce(a.value[a.value.length - 1].value), b = t.fullMonth(m, n.value), x = t.fullMonth(p, n.value), $ = t.fullYear(m, n.value), E = t.fullYear(p, n.value);
3381
- return $ === E ? `${b} - ${x} ${E}` : `${b} ${$} - ${x} ${E}`;
3382
- }), g = A(() => `${e.calendarLabel.value ?? "Event Date"}, ${v.value}`);
3380
+ const m = ce(a.value[0].value), p = ce(a.value[a.value.length - 1].value), b = t.fullMonth(m, n.value), _ = t.fullMonth(p, n.value), $ = t.fullYear(m, n.value), E = t.fullYear(p, n.value);
3381
+ return $ === E ? `${b} - ${_} ${E}` : `${b} ${$} - ${_} ${E}`;
3382
+ }), g = S(() => `${e.calendarLabel.value ?? "Event Date"}, ${v.value}`);
3383
3383
  return {
3384
3384
  isDateDisabled: s,
3385
3385
  isDateUnavailable: d,
@@ -3445,18 +3445,18 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
3445
3445
  numberOfMonths: m,
3446
3446
  preventDeselect: p,
3447
3447
  isDateDisabled: b,
3448
- isDateUnavailable: x,
3448
+ isDateUnavailable: _,
3449
3449
  calendarLabel: $,
3450
3450
  defaultValue: E,
3451
3451
  nextPage: B,
3452
3452
  prevPage: k,
3453
- dir: T
3454
- } = Tt(n), { primitiveElement: J, currentElement: ee } = wr(), N = yr(T), L = Xe(n, "modelValue", a, {
3453
+ dir: R
3454
+ } = Rt(n), { primitiveElement: J, currentElement: ee } = wr(), L = yr(R), U = Xe(n, "modelValue", a, {
3455
3455
  defaultValue: E.value,
3456
3456
  passive: n.modelValue === void 0
3457
3457
  }), G = mr({
3458
3458
  defaultPlaceholder: n.placeholder,
3459
- defaultValue: L.value,
3459
+ defaultValue: U.value,
3460
3460
  locale: n.locale
3461
3461
  }), K = Xe(n, "placeholder", a, {
3462
3462
  defaultValue: n.defaultPlaceholder ?? G.copy(),
@@ -3477,7 +3477,7 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
3477
3477
  nextPage: Br,
3478
3478
  prevPage: Ir,
3479
3479
  formatter: Fr,
3480
- grid: Rr
3480
+ grid: Tr
3481
3481
  } = os({
3482
3482
  locale: r,
3483
3483
  placeholder: K,
@@ -3490,19 +3490,19 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
3490
3490
  weekdayFormat: c,
3491
3491
  pagedNavigation: s,
3492
3492
  isDateDisabled: b.value,
3493
- isDateUnavailable: x.value,
3493
+ isDateUnavailable: _.value,
3494
3494
  calendarLabel: $,
3495
3495
  nextPage: B,
3496
3496
  prevPage: k
3497
3497
  }), {
3498
3498
  isInvalid: Vn,
3499
- isDateSelected: Tr
3499
+ isDateSelected: Rr
3500
3500
  } = es({
3501
- date: L,
3501
+ date: U,
3502
3502
  isDateDisabled: ne,
3503
3503
  isDateUnavailable: it
3504
3504
  });
3505
- Z(L, (V) => {
3505
+ Z(U, (V) => {
3506
3506
  if (Array.isArray(V) && V.length) {
3507
3507
  const ve = V[V.length - 1];
3508
3508
  ve && !Ke(K.value, ve) && te(ve);
@@ -3510,37 +3510,37 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
3510
3510
  });
3511
3511
  function Vr(V) {
3512
3512
  if (y.value) {
3513
- if (!L.value)
3514
- L.value = [V.copy()];
3515
- else if (Array.isArray(L.value)) {
3516
- if (L.value.findIndex((ve) => Fe(ve, V)) === -1)
3517
- L.value = [...L.value, V];
3513
+ if (!U.value)
3514
+ U.value = [V.copy()];
3515
+ else if (Array.isArray(U.value)) {
3516
+ if (U.value.findIndex((ve) => Fe(ve, V)) === -1)
3517
+ U.value = [...U.value, V];
3518
3518
  else if (!p.value) {
3519
- const ve = L.value.filter((zt) => !Fe(zt, V));
3519
+ const ve = U.value.filter((zt) => !Fe(zt, V));
3520
3520
  if (!ve.length) {
3521
- K.value = V.copy(), L.value = void 0;
3521
+ K.value = V.copy(), U.value = void 0;
3522
3522
  return;
3523
3523
  }
3524
- L.value = ve.map((zt) => zt.copy());
3524
+ U.value = ve.map((zt) => zt.copy());
3525
3525
  }
3526
3526
  }
3527
3527
  } else {
3528
- if (!L.value) {
3529
- L.value = V.copy();
3528
+ if (!U.value) {
3529
+ U.value = V.copy();
3530
3530
  return;
3531
3531
  }
3532
- !p.value && Ke(L.value, V) ? (K.value = V.copy(), L.value = void 0) : L.value = V.copy();
3532
+ !p.value && Ke(U.value, V) ? (K.value = V.copy(), U.value = void 0) : U.value = V.copy();
3533
3533
  }
3534
3534
  }
3535
3535
  return Vt(() => {
3536
3536
  i.value && ni(ee.value);
3537
3537
  }), ss({
3538
3538
  isDateUnavailable: it,
3539
- dir: N,
3539
+ dir: L,
3540
3540
  isDateDisabled: ne,
3541
3541
  locale: r,
3542
3542
  formatter: Fr,
3543
- modelValue: L,
3543
+ modelValue: U,
3544
3544
  placeholder: K,
3545
3545
  disabled: o,
3546
3546
  initialFocus: i,
@@ -3555,7 +3555,7 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
3555
3555
  fullCalendarLabel: ue,
3556
3556
  headingValue: Ce,
3557
3557
  isInvalid: Vn,
3558
- isDateSelected: Tr,
3558
+ isDateSelected: Rr,
3559
3559
  isNextButtonDisabled: jt,
3560
3560
  isPrevButtonDisabled: Or,
3561
3561
  isOutsideVisibleView: Pr,
@@ -3574,19 +3574,19 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
3574
3574
  "data-readonly": f(l) ? "" : void 0,
3575
3575
  "data-disabled": f(o) ? "" : void 0,
3576
3576
  "data-invalid": f(Vn) ? "" : void 0,
3577
- dir: f(N)
3577
+ dir: f(L)
3578
3578
  }, {
3579
3579
  default: w(() => [
3580
3580
  O(V.$slots, "default", {
3581
3581
  date: f(K),
3582
- grid: f(Rr),
3582
+ grid: f(Tr),
3583
3583
  weekDays: f(Er),
3584
3584
  weekStartsOn: f(d),
3585
3585
  locale: f(r),
3586
3586
  fixedWeeks: f(u)
3587
3587
  }),
3588
- _("div", ls, [
3589
- _("div", is, C(f(ue)), 1)
3588
+ x("div", ls, [
3589
+ x("div", is, C(f(ue)), 1)
3590
3590
  ])
3591
3591
  ]),
3592
3592
  _: 3
@@ -3622,7 +3622,7 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
3622
3622
  O(a.$slots, "default", {
3623
3623
  headingValue: f(n).headingValue.value
3624
3624
  }, () => [
3625
- U(C(f(n).headingValue.value), 1)
3625
+ N(C(f(n).headingValue.value), 1)
3626
3626
  ])
3627
3627
  ]),
3628
3628
  _: 3
@@ -3635,7 +3635,7 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
3635
3635
  as: { default: "table" }
3636
3636
  },
3637
3637
  setup(e) {
3638
- const t = e, n = lt(), a = A(() => n.disabled.value ? !0 : void 0), r = A(() => n.readonly.value ? !0 : void 0);
3638
+ const t = e, n = lt(), a = S(() => n.disabled.value ? !0 : void 0), r = S(() => n.readonly.value ? !0 : void 0);
3639
3639
  return (o, l) => (h(), D(f(H), q(t, {
3640
3640
  tabindex: "-1",
3641
3641
  role: "grid",
@@ -3700,7 +3700,7 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
3700
3700
  as: { default: "button" }
3701
3701
  },
3702
3702
  setup(e) {
3703
- const t = e, n = A(() => a.disabled.value || a.isNextButtonDisabled(t.step, t.nextPage)), a = lt();
3703
+ const t = e, n = S(() => a.disabled.value || a.isNextButtonDisabled(t.step, t.nextPage)), a = lt();
3704
3704
  return (r, o) => (h(), D(f(H), {
3705
3705
  as: t.as,
3706
3706
  "as-child": t.asChild,
@@ -3713,7 +3713,7 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
3713
3713
  }, {
3714
3714
  default: w(() => [
3715
3715
  O(r.$slots, "default", {}, () => [
3716
- U("Next page")
3716
+ N("Next page")
3717
3717
  ])
3718
3718
  ]),
3719
3719
  _: 3
@@ -3728,7 +3728,7 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
3728
3728
  as: { default: "button" }
3729
3729
  },
3730
3730
  setup(e) {
3731
- const t = e, n = A(() => a.disabled.value || a.isPrevButtonDisabled(t.step, t.prevPage)), a = lt();
3731
+ const t = e, n = S(() => a.disabled.value || a.isPrevButtonDisabled(t.step, t.prevPage)), a = lt();
3732
3732
  return (r, o) => (h(), D(f(H), {
3733
3733
  "aria-label": "Previous page",
3734
3734
  as: t.as,
@@ -3741,7 +3741,7 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
3741
3741
  }, {
3742
3742
  default: w(() => [
3743
3743
  O(r.$slots, "default", {}, () => [
3744
- U("Prev page")
3744
+ N("Prev page")
3745
3745
  ])
3746
3746
  ]),
3747
3747
  _: 3
@@ -3801,19 +3801,19 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
3801
3801
  as: { default: "div" }
3802
3802
  },
3803
3803
  setup(e) {
3804
- const t = e, n = Ri(), a = lt(), { primitiveElement: r, currentElement: o } = wr(), l = A(() => t.day.day.toLocaleString(a.locale.value)), i = A(() => a.formatter.custom(ce(t.day), {
3804
+ const t = e, n = Ti(), a = lt(), { primitiveElement: r, currentElement: o } = wr(), l = S(() => t.day.day.toLocaleString(a.locale.value)), i = S(() => a.formatter.custom(ce(t.day), {
3805
3805
  weekday: "long",
3806
3806
  month: "long",
3807
3807
  day: "numeric",
3808
3808
  year: "numeric"
3809
- })), s = A(() => a.isDateDisabled(t.day)), d = A(
3809
+ })), s = S(() => a.isDateDisabled(t.day)), d = S(
3810
3810
  () => {
3811
3811
  var $;
3812
3812
  return ($ = a.isDateUnavailable) == null ? void 0 : $.call(a, t.day);
3813
3813
  }
3814
- ), c = A(() => So(t.day, De())), u = A(() => !ko(t.day, t.month)), y = A(
3814
+ ), c = S(() => Ao(t.day, De())), u = S(() => !ko(t.day, t.month)), y = S(
3815
3815
  () => a.isOutsideVisibleView(t.day)
3816
- ), v = A(() => !a.disabled.value && Fe(t.day, a.placeholder.value)), g = A(() => a.isDateSelected(t.day)), m = "[data-radix-vue-calendar-cell-trigger]:not([data-disabled]):not([data-outside-month]):not([data-outside-visible-months])";
3816
+ ), v = S(() => !a.disabled.value && Fe(t.day, a.placeholder.value)), g = S(() => a.isDateSelected(t.day)), m = "[data-radix-vue-calendar-cell-trigger]:not([data-disabled]):not([data-outside-month]):not([data-outside-visible-months])";
3817
3817
  function p($) {
3818
3818
  var E;
3819
3819
  a.readonly.value || a.isDateDisabled($) || (E = a.isDateUnavailable) != null && E.call(a, $) || a.onDateChange($);
@@ -3821,11 +3821,11 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
3821
3821
  function b() {
3822
3822
  p(t.day);
3823
3823
  }
3824
- function x($) {
3824
+ function _($) {
3825
3825
  $.preventDefault(), $.stopPropagation();
3826
3826
  const E = a.parentElement.value, B = E ? Array.from(E.querySelectorAll(m)) : [];
3827
3827
  let k = B.indexOf(o.value);
3828
- const T = 7, J = a.dir.value === "rtl" ? -1 : 1;
3828
+ const R = 7, J = a.dir.value === "rtl" ? -1 : 1;
3829
3829
  switch ($.code) {
3830
3830
  case n.ARROW_RIGHT:
3831
3831
  k += J;
@@ -3834,10 +3834,10 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
3834
3834
  k -= J;
3835
3835
  break;
3836
3836
  case n.ARROW_UP:
3837
- k -= T;
3837
+ k -= R;
3838
3838
  break;
3839
3839
  case n.ARROW_DOWN:
3840
- k += T;
3840
+ k += R;
3841
3841
  break;
3842
3842
  case n.ENTER:
3843
3843
  case n.SPACE_CODE:
@@ -3853,7 +3853,7 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
3853
3853
  if (k < 0) {
3854
3854
  if (a.isPrevButtonDisabled("month"))
3855
3855
  return;
3856
- a.prevPage(), Ae(() => {
3856
+ a.prevPage(), Se(() => {
3857
3857
  const ee = E ? Array.from(E.querySelectorAll(m)) : [];
3858
3858
  ee[ee.length - Math.abs(k)].focus();
3859
3859
  });
@@ -3862,7 +3862,7 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
3862
3862
  if (k >= B.length) {
3863
3863
  if (a.isNextButtonDisabled("month"))
3864
3864
  return;
3865
- a.nextPage(), Ae(() => {
3865
+ a.nextPage(), Se(() => {
3866
3866
  (E ? Array.from(E.querySelectorAll(m)) : [])[k - B.length].focus();
3867
3867
  });
3868
3868
  }
@@ -3886,14 +3886,14 @@ const ls = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
3886
3886
  tabindex: v.value ? 0 : u.value || s.value ? void 0 : -1,
3887
3887
  onClick: b,
3888
3888
  onKeydown: [
3889
- Nn(x, ["up", "down", "left", "right", "space", "enter"]),
3889
+ Nn(_, ["up", "down", "left", "right", "space", "enter"]),
3890
3890
  E[0] || (E[0] = Nn(re(() => {
3891
3891
  }, ["prevent"]), ["enter"]))
3892
3892
  ]
3893
3893
  }), {
3894
3894
  default: w(() => [
3895
3895
  O($.$slots, "default", { dayValue: l.value }, () => [
3896
- U(C(l.value), 1)
3896
+ N(C(l.value), 1)
3897
3897
  ])
3898
3898
  ]),
3899
3899
  _: 3
@@ -3964,7 +3964,7 @@ const ks = {
3964
3964
  hideWhenDetached: !1,
3965
3965
  updatePositionStrategy: "optimized",
3966
3966
  prioritizePosition: !1
3967
- }, [Ss, As] = rt("PopperContent"), Ms = /* @__PURE__ */ P({
3967
+ }, [As, Ss] = rt("PopperContent"), Ms = /* @__PURE__ */ P({
3968
3968
  inheritAttrs: !1,
3969
3969
  __name: "PopperContent",
3970
3970
  props: /* @__PURE__ */ ro({
@@ -3987,9 +3987,9 @@ const ks = {
3987
3987
  }),
3988
3988
  emits: ["placed"],
3989
3989
  setup(e, { emit: t }) {
3990
- const n = e, a = t, r = Cr(), { forwardRef: o, currentElement: l } = se(), i = I(), s = I(), { width: d, height: c } = Ii(s), u = A(
3990
+ const n = e, a = t, r = Cr(), { forwardRef: o, currentElement: l } = se(), i = I(), s = I(), { width: d, height: c } = Ii(s), u = S(
3991
3991
  () => n.side + (n.align !== "center" ? `-${n.align}` : "")
3992
- ), y = A(() => typeof n.collisionPadding == "number" ? n.collisionPadding : { top: 0, right: 0, bottom: 0, left: 0, ...n.collisionPadding }), v = A(() => Array.isArray(n.collisionBoundary) ? n.collisionBoundary : [n.collisionBoundary]), g = A(() => ({
3992
+ ), y = S(() => typeof n.collisionPadding == "number" ? n.collisionPadding : { top: 0, right: 0, bottom: 0, left: 0, ...n.collisionPadding }), v = S(() => Array.isArray(n.collisionBoundary) ? n.collisionBoundary : [n.collisionBoundary]), g = S(() => ({
3993
3993
  padding: y.value,
3994
3994
  boundary: v.value.filter(xs),
3995
3995
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
@@ -4013,8 +4013,8 @@ const ks = {
4013
4013
  }),
4014
4014
  ql({
4015
4015
  ...g.value,
4016
- apply: ({ elements: N, rects: L, availableWidth: G, availableHeight: K }) => {
4017
- const { width: te, height: ue } = L.reference, Ce = N.floating.style;
4016
+ apply: ({ elements: L, rects: U, availableWidth: G, availableHeight: K }) => {
4017
+ const { width: te, height: ue } = U.reference, Ce = L.floating.style;
4018
4018
  Ce.setProperty(
4019
4019
  "--radix-popper-available-width",
4020
4020
  `${G}px`
@@ -4036,59 +4036,59 @@ const ks = {
4036
4036
  arrowHeight: c.value
4037
4037
  }),
4038
4038
  n.hideWhenDetached && Kl({ strategy: "referenceHidden", ...g.value })
4039
- ]), { floatingStyles: p, placement: b, isPositioned: x, middlewareData: $ } = ti(
4039
+ ]), { floatingStyles: p, placement: b, isPositioned: _, middlewareData: $ } = ti(
4040
4040
  r.anchor,
4041
4041
  i,
4042
4042
  {
4043
4043
  strategy: "fixed",
4044
4044
  placement: u,
4045
- whileElementsMounted: (...N) => jl(...N, {
4045
+ whileElementsMounted: (...L) => jl(...L, {
4046
4046
  animationFrame: n.updatePositionStrategy === "always"
4047
4047
  }),
4048
4048
  middleware: m
4049
4049
  }
4050
- ), E = A(
4050
+ ), E = S(
4051
4051
  () => gn(b.value)[0]
4052
- ), B = A(
4052
+ ), B = S(
4053
4053
  () => gn(b.value)[1]
4054
4054
  );
4055
4055
  oo(() => {
4056
- x.value && a("placed");
4056
+ _.value && a("placed");
4057
4057
  });
4058
- const k = A(
4058
+ const k = S(
4059
4059
  () => {
4060
- var N;
4061
- return ((N = $.value.arrow) == null ? void 0 : N.centerOffset) !== 0;
4060
+ var L;
4061
+ return ((L = $.value.arrow) == null ? void 0 : L.centerOffset) !== 0;
4062
4062
  }
4063
- ), T = I("");
4063
+ ), R = I("");
4064
4064
  me(() => {
4065
- l.value && (T.value = window.getComputedStyle(l.value).zIndex);
4065
+ l.value && (R.value = window.getComputedStyle(l.value).zIndex);
4066
4066
  });
4067
- const J = A(() => {
4068
- var N;
4069
- return ((N = $.value.arrow) == null ? void 0 : N.x) ?? 0;
4070
- }), ee = A(() => {
4071
- var N;
4072
- return ((N = $.value.arrow) == null ? void 0 : N.y) ?? 0;
4067
+ const J = S(() => {
4068
+ var L;
4069
+ return ((L = $.value.arrow) == null ? void 0 : L.x) ?? 0;
4070
+ }), ee = S(() => {
4071
+ var L;
4072
+ return ((L = $.value.arrow) == null ? void 0 : L.y) ?? 0;
4073
4073
  });
4074
- return As({
4074
+ return Ss({
4075
4075
  placedSide: E,
4076
- onArrowChange: (N) => s.value = N,
4076
+ onArrowChange: (L) => s.value = L,
4077
4077
  arrowX: J,
4078
4078
  arrowY: ee,
4079
4079
  shouldHideArrow: k
4080
- }), (N, L) => {
4080
+ }), (L, U) => {
4081
4081
  var G, K, te;
4082
- return h(), S("div", {
4082
+ return h(), A("div", {
4083
4083
  ref_key: "floatingRef",
4084
4084
  ref: i,
4085
4085
  "data-radix-popper-content-wrapper": "",
4086
4086
  style: bn({
4087
4087
  ...f(p),
4088
- transform: f(x) ? f(p).transform : "translate(0, -200%)",
4088
+ transform: f(_) ? f(p).transform : "translate(0, -200%)",
4089
4089
  // keep off the page when measuring
4090
4090
  minWidth: "max-content",
4091
- zIndex: T.value,
4091
+ zIndex: R.value,
4092
4092
  "--radix-popper-transform-origin": [
4093
4093
  (G = f($).transformOrigin) == null ? void 0 : G.x,
4094
4094
  (K = f($).transformOrigin) == null ? void 0 : K.y
@@ -4102,26 +4102,26 @@ const ks = {
4102
4102
  }
4103
4103
  })
4104
4104
  }, [
4105
- M(f(H), q({ ref: f(o) }, N.$attrs, {
4105
+ M(f(H), q({ ref: f(o) }, L.$attrs, {
4106
4106
  "as-child": n.asChild,
4107
- as: N.as,
4107
+ as: L.as,
4108
4108
  "data-side": E.value,
4109
4109
  "data-align": B.value,
4110
4110
  style: {
4111
4111
  // if the PopperContent hasn't been placed yet (not all measurements done)
4112
4112
  // we prevent animations so that users's animation don't kick in too early referring wrong sides
4113
- animation: f(x) ? void 0 : "none"
4113
+ animation: f(_) ? void 0 : "none"
4114
4114
  }
4115
4115
  }), {
4116
4116
  default: w(() => [
4117
- O(N.$slots, "default")
4117
+ O(L.$slots, "default")
4118
4118
  ]),
4119
4119
  _: 3
4120
4120
  }, 16, ["as-child", "as", "data-side", "data-align", "style"])
4121
4121
  ], 4);
4122
4122
  };
4123
4123
  }
4124
- }), Os = /* @__PURE__ */ _("polygon", { points: "0,0 30,0 15,10" }, null, -1), Es = /* @__PURE__ */ P({
4124
+ }), Os = /* @__PURE__ */ x("polygon", { points: "0,0 30,0 15,10" }, null, -1), Es = /* @__PURE__ */ P({
4125
4125
  __name: "Arrow",
4126
4126
  props: {
4127
4127
  width: { default: 10 },
@@ -4160,10 +4160,10 @@ const ks = {
4160
4160
  as: { default: "svg" }
4161
4161
  },
4162
4162
  setup(e) {
4163
- const { forwardRef: t } = se(), n = Ss(), a = A(() => Ps[n.placedSide.value]);
4163
+ const { forwardRef: t } = se(), n = As(), a = S(() => Ps[n.placedSide.value]);
4164
4164
  return (r, o) => {
4165
4165
  var l, i, s, d;
4166
- return h(), S("span", {
4166
+ return h(), A("span", {
4167
4167
  ref: (c) => {
4168
4168
  f(n).onArrowChange(c);
4169
4169
  },
@@ -4231,13 +4231,13 @@ const ks = {
4231
4231
  return (n, a) => (h(), D(f(cs), j(z(t)), {
4232
4232
  default: w(({ headingValue: r }) => [
4233
4233
  O(n.$slots, "default", { headingValue: r }, () => [
4234
- U(C(r), 1)
4234
+ N(C(r), 1)
4235
4235
  ])
4236
4236
  ]),
4237
4237
  _: 3
4238
4238
  }, 16));
4239
4239
  }
4240
- }), Rs = /* @__PURE__ */ P({
4240
+ }), Ts = /* @__PURE__ */ P({
4241
4241
  __name: "DatePickerGrid",
4242
4242
  props: {
4243
4243
  asChild: { type: Boolean },
@@ -4252,7 +4252,7 @@ const ks = {
4252
4252
  _: 3
4253
4253
  }, 16));
4254
4254
  }
4255
- }), Ts = /* @__PURE__ */ P({
4255
+ }), Rs = /* @__PURE__ */ P({
4256
4256
  __name: "DatePickerCell",
4257
4257
  props: {
4258
4258
  date: {},
@@ -4430,19 +4430,19 @@ const ks = {
4430
4430
  defaultOpen: m,
4431
4431
  modal: p,
4432
4432
  id: b,
4433
- name: x,
4433
+ name: _,
4434
4434
  required: $,
4435
4435
  minValue: E,
4436
4436
  maxValue: B,
4437
4437
  granularity: k,
4438
- hideTimeZone: T,
4438
+ hideTimeZone: R,
4439
4439
  hourCycle: J,
4440
4440
  defaultValue: ee,
4441
- dir: N
4442
- } = Tt(n), L = yr(N), G = Xe(n, "modelValue", a, {
4441
+ dir: L
4442
+ } = Rt(n), U = yr(L), G = Xe(n, "modelValue", a, {
4443
4443
  defaultValue: ee.value,
4444
4444
  passive: n.modelValue === void 0
4445
- }), K = A(() => mr({
4445
+ }), K = S(() => mr({
4446
4446
  defaultPlaceholder: n.placeholder,
4447
4447
  granularity: n.granularity,
4448
4448
  defaultValue: G.value,
@@ -4472,15 +4472,15 @@ const ks = {
4472
4472
  modal: p,
4473
4473
  open: ue,
4474
4474
  id: b,
4475
- name: x,
4475
+ name: _,
4476
4476
  required: $,
4477
4477
  minValue: E,
4478
4478
  maxValue: B,
4479
4479
  granularity: k,
4480
- hideTimeZone: T,
4480
+ hideTimeZone: R,
4481
4481
  hourCycle: J,
4482
4482
  dateFieldRef: Ce,
4483
- dir: L,
4483
+ dir: U,
4484
4484
  onDateChange(ne) {
4485
4485
  !ne || !G.value ? G.value = ne : !y.value && Fe(G.value, ne) ? G.value = void 0 : G.value = ne.copy();
4486
4486
  },
@@ -4626,7 +4626,7 @@ const ks = {
4626
4626
  },
4627
4627
  emits: ["update:open"],
4628
4628
  setup(e, { emit: t }) {
4629
- const n = e, a = t, { modal: r } = Tt(n), o = Xe(n, "open", a, {
4629
+ const n = e, a = t, { modal: r } = Rt(n), o = Xe(n, "open", a, {
4630
4630
  defaultValue: n.defaultOpen,
4631
4631
  passive: n.open === void 0
4632
4632
  }), l = I(), i = I(!1);
@@ -4948,15 +4948,15 @@ const ou = { class: "flex flex-col gap-2" }, lu = { class: "flex flex-col space-
4948
4948
  function i(c) {
4949
4949
  return zo(c);
4950
4950
  }
4951
- const s = A({
4951
+ const s = S({
4952
4952
  get: () => e.modelValue ? i(e.modelValue) : null,
4953
4953
  set: (c) => r("update:modelValue", l(c))
4954
- }), d = A(
4954
+ }), d = S(
4955
4955
  () => s.value ? a.format(s.value.toDate(De())) : e.placeholder
4956
4956
  );
4957
4957
  return (c, u) => {
4958
- const y = R("CIcon");
4959
- return h(), S("div", ou, [
4958
+ const y = T("CIcon");
4959
+ return h(), A("div", ou, [
4960
4960
  M(f(js), q({
4961
4961
  id: "date-field",
4962
4962
  locale: c.locale,
@@ -4973,7 +4973,7 @@ const ou = { class: "flex flex-col gap-2" }, lu = { class: "flex flex-col space-
4973
4973
  }, {
4974
4974
  default: w(() => [
4975
4975
  O(c.$slots, "default", { formattedDate: d.value }, () => [
4976
- U(C(d.value), 1)
4976
+ N(C(d.value), 1)
4977
4977
  ])
4978
4978
  ]),
4979
4979
  _: 3
@@ -5013,8 +5013,8 @@ const ou = { class: "flex flex-col gap-2" }, lu = { class: "flex flex-col space-
5013
5013
  ]),
5014
5014
  _: 1
5015
5015
  }),
5016
- _("div", lu, [
5017
- (h(!0), S(W, null, fe(g, (m) => (h(), D(f(Rs), {
5016
+ x("div", lu, [
5017
+ (h(!0), A(W, null, fe(g, (m) => (h(), D(f(Ts), {
5018
5018
  key: m.value.toString(),
5019
5019
  class: "w-full border-collapse select-none space-y-1"
5020
5020
  }, {
@@ -5023,12 +5023,12 @@ const ou = { class: "flex flex-col gap-2" }, lu = { class: "flex flex-col space-
5023
5023
  default: w(() => [
5024
5024
  M(f(ba), { class: "mb-1 flex w-full justify-between" }, {
5025
5025
  default: w(() => [
5026
- (h(!0), S(W, null, fe(v, (p) => (h(), D(f(Vs), {
5026
+ (h(!0), A(W, null, fe(v, (p) => (h(), D(f(Vs), {
5027
5027
  key: p,
5028
5028
  class: "w-8 rounded-md text-xs"
5029
5029
  }, {
5030
5030
  default: w(() => [
5031
- U(C(p), 1)
5031
+ N(C(p), 1)
5032
5032
  ]),
5033
5033
  _: 2
5034
5034
  }, 1024))), 128))
@@ -5040,18 +5040,18 @@ const ou = { class: "flex flex-col gap-2" }, lu = { class: "flex flex-col space-
5040
5040
  }, 1024),
5041
5041
  M(f(Ws), null, {
5042
5042
  default: w(() => [
5043
- (h(!0), S(W, null, fe(m.rows, (p, b) => (h(), D(f(ba), {
5043
+ (h(!0), A(W, null, fe(m.rows, (p, b) => (h(), D(f(ba), {
5044
5044
  key: `weekDate-${b}`,
5045
5045
  class: "flex w-full"
5046
5046
  }, {
5047
5047
  default: w(() => [
5048
- (h(!0), S(W, null, fe(p, (x) => (h(), D(f(Ts), {
5049
- key: x.toString(),
5050
- date: x
5048
+ (h(!0), A(W, null, fe(p, (_) => (h(), D(f(Rs), {
5049
+ key: _.toString(),
5050
+ date: _
5051
5051
  }, {
5052
5052
  default: w(() => [
5053
5053
  M(f(Ys), {
5054
- day: x,
5054
+ day: _,
5055
5055
  month: m.value,
5056
5056
  class: "data-[selected]:bg-primary-500 hover:border-primary-500 focus:shadow-primary-500 relative flex h-8 w-8 items-center justify-center whitespace-nowrap rounded-[9px] border border-transparent bg-transparent text-sm font-normal text-black outline-none focus:shadow-[0_0_0_2px] data-[unavailable]:pointer-events-none data-[selected]:font-medium data-[disabled]:text-black/30 data-[selected]:text-white data-[unavailable]:text-black/30 data-[unavailable]:line-through [&[data-today]:not([data-selected])]:bg-gray-100 [&[data-today]:not([data-selected])]:text-black"
5057
5057
  }, null, 8, ["day", "month"])
@@ -5081,17 +5081,17 @@ const ou = { class: "flex flex-col gap-2" }, lu = { class: "flex flex-col space-
5081
5081
  };
5082
5082
  }
5083
5083
  });
5084
- function Sr(e, t) {
5084
+ function Ar(e, t) {
5085
5085
  const n = new Date(e.getTime());
5086
5086
  return n.setDate(
5087
5087
  e.getDate() + (7 + t - e.getDay() - 1) % 7 + 1
5088
5088
  ), n.setHours(8, 0, 0, 0), n;
5089
5089
  }
5090
- function Ar(e) {
5090
+ function Sr(e) {
5091
5091
  const t = new Date(e.getTime());
5092
5092
  return t.setDate(t.getDate() + 1), t.setHours(10, 0, 0, 0), t;
5093
5093
  }
5094
- let wa = Ar(/* @__PURE__ */ new Date()), $a = Sr(/* @__PURE__ */ new Date(), 1);
5094
+ let wa = Sr(/* @__PURE__ */ new Date()), $a = Ar(/* @__PURE__ */ new Date(), 1);
5095
5095
  const iu = {
5096
5096
  name: "DocumentSendLater",
5097
5097
  i18nOptions: {
@@ -5140,7 +5140,7 @@ const iu = {
5140
5140
  },
5141
5141
  setup() {
5142
5142
  return {
5143
- v$: Ra()
5143
+ v$: Ta()
5144
5144
  };
5145
5145
  },
5146
5146
  data() {
@@ -5181,7 +5181,7 @@ const iu = {
5181
5181
  }
5182
5182
  },
5183
5183
  created() {
5184
- wa = Ar(/* @__PURE__ */ new Date()), $a = Sr(/* @__PURE__ */ new Date(), 1);
5184
+ wa = Sr(/* @__PURE__ */ new Date()), $a = Ar(/* @__PURE__ */ new Date(), 1);
5185
5185
  },
5186
5186
  methods: {
5187
5187
  setTime(e) {
@@ -5220,43 +5220,43 @@ const iu = {
5220
5220
  class: "error-wrapper"
5221
5221
  };
5222
5222
  function wu(e, t, n, a, r, o) {
5223
- const l = R("CIcon"), i = R("DatePicker"), s = R("CInput"), d = R("CButton"), c = R("Animation");
5224
- return h(), S("div", su, [
5225
- _("div", uu, [
5226
- _("div", du, C(e.$t("title")), 1),
5227
- _("div", cu, [
5228
- (h(!0), S(W, null, fe([
5223
+ const l = T("CIcon"), i = T("DatePicker"), s = T("CInput"), d = T("CButton"), c = T("Animation");
5224
+ return h(), A("div", su, [
5225
+ x("div", uu, [
5226
+ x("div", du, C(e.$t("title")), 1),
5227
+ x("div", cu, [
5228
+ (h(!0), A(W, null, fe([
5229
5229
  [o.tomorrowMorning, "tomorrowMorning"],
5230
5230
  [o.mondayMorning, "mondayMorning"]
5231
- ], (u, y) => (h(), S("div", {
5231
+ ], (u, y) => (h(), A("div", {
5232
5232
  key: y,
5233
5233
  class: "mb-4 flex cursor-pointer select-none items-center justify-between rounded-md border border-gray-200 bg-gray-50 p-4 text-sm hover:border-gray-300 hover:bg-gray-100 active:border-gray-400 active:bg-gray-200",
5234
5234
  onClick: () => o.onSendAt(u[0])
5235
5235
  }, [
5236
- _("div", mu, C(e.$t(u[1])), 1),
5237
- _("div", pu, C(e.$formatDate(u[0], "p, d MMM")), 1)
5236
+ x("div", mu, C(e.$t(u[1])), 1),
5237
+ x("div", pu, C(e.$formatDate(u[0], "p, d MMM")), 1)
5238
5238
  ], 8, fu))), 128))
5239
5239
  ])
5240
5240
  ]),
5241
- _("div", {
5241
+ x("div", {
5242
5242
  class: Ie([r.showCustom ? "" : "cursor-pointer hover:bg-gray-200", "border-t border-gray-200 bg-gray-100 px-8 py-6"]),
5243
5243
  onClick: t[1] || (t[1] = (u) => r.showCustom = !0)
5244
5244
  }, [
5245
- _("div", hu, [
5245
+ x("div", hu, [
5246
5246
  M(l, {
5247
5247
  type: "calendar",
5248
5248
  size: "18",
5249
5249
  class: "text-primary-500 mr-2"
5250
5250
  }),
5251
- _("div", {
5251
+ x("div", {
5252
5252
  class: "font-medium",
5253
5253
  textContent: C(e.$t("custom.title"))
5254
5254
  }, null, 8, vu)
5255
5255
  ]),
5256
5256
  M(c, null, {
5257
5257
  default: w(() => [
5258
- ze(_("div", yu, [
5259
- _("div", gu, [
5258
+ ze(x("div", yu, [
5259
+ x("div", gu, [
5260
5260
  M(i, {
5261
5261
  "model-value": r.sendAt,
5262
5262
  "onUpdate:modelValue": o.setDate
@@ -5267,12 +5267,12 @@ function wu(e, t, n, a, r, o) {
5267
5267
  "onUpdate:modelValue": o.setTime
5268
5268
  }, null, 8, ["model-value", "onUpdate:modelValue"])
5269
5269
  ]),
5270
- a.v$.$invalid ? (h(), S("div", bu, [
5270
+ a.v$.$invalid ? (h(), A("div", bu, [
5271
5271
  M(l, {
5272
5272
  type: "calendar",
5273
5273
  class: "text-primary-500 mr-2"
5274
5274
  }),
5275
- U(" " + C(e.$t("custom.invalid")), 1)
5275
+ N(" " + C(e.$t("custom.invalid")), 1)
5276
5276
  ])) : F("", !0),
5277
5277
  M(d, {
5278
5278
  loading: e.isPostingDocument,
@@ -5282,7 +5282,7 @@ function wu(e, t, n, a, r, o) {
5282
5282
  onClick: t[0] || (t[0] = (u) => o.onSendAt(r.sendAt))
5283
5283
  }, {
5284
5284
  default: w(() => [
5285
- U(C(e.$t("_common:send")) + " " + C(e.$formatDate(r.sendAt, "d MMM - p")), 1)
5285
+ N(C(e.$t("_common:send")) + " " + C(e.$formatDate(r.sendAt, "d MMM - p")), 1)
5286
5286
  ]),
5287
5287
  _: 1
5288
5288
  }, 8, ["loading"])
@@ -5307,6 +5307,8 @@ const $u = /* @__PURE__ */ Le(iu, [["render", wu], ["__scopeId", "data-v-f6f8fb8
5307
5307
  scheduledTooltip: "Schemalägg utskick",
5308
5308
  clientsAreMissingContactInfo: "En eller flera mottagare saknar kontaktuppgifter för sin leveransmetod. Dokumentet kommer inte att kunna skickas till dem.",
5309
5309
  missingDeliveryMethod: "Välj en eller fler leveransmetoder",
5310
+ expiresAtInPastTitle: "Utgångsdatumet har passerat.",
5311
+ expiresAtInPastText: "Mottagarna kanske inte kan signera. Uppdatera datumet innan du skickar.",
5310
5312
  sendButton: "Skicka dokument",
5311
5313
  signMethod: {
5312
5314
  title: "Signeringsmetod",
@@ -5319,6 +5321,10 @@ const $u = /* @__PURE__ */ Le(iu, [["render", wu], ["__scopeId", "data-v-f6f8fb8
5319
5321
  title: "BankId",
5320
5322
  content: "Samma säkerhetsgrad som bankerna har."
5321
5323
  },
5324
+ freja: {
5325
+ title: "Freja eID+",
5326
+ content: "Högsta säkerhetsnivån i Freja."
5327
+ },
5322
5328
  signature: {
5323
5329
  title: "Standard",
5324
5330
  content: "Bevisnivå: IP-adress, tidpunkt och enhet."
@@ -5340,6 +5346,8 @@ const $u = /* @__PURE__ */ Le(iu, [["render", wu], ["__scopeId", "data-v-f6f8fb8
5340
5346
  scheduledTooltip: "Schedule delivery",
5341
5347
  clientsAreMissingContactInfo: "One or more recipients are missing contact info for their delivery method. The document will not be sent to them.",
5342
5348
  missingDeliveryMethod: "Please select one or more delivery methods",
5349
+ expiresAtInPastTitle: "Expiry date has passed.",
5350
+ expiresAtInPastText: "Recipients may not be able to sign. Update the date before sending.",
5343
5351
  sendButton: "Send document",
5344
5352
  signMethod: {
5345
5353
  title: "Signing method",
@@ -5352,6 +5360,10 @@ const $u = /* @__PURE__ */ Le(iu, [["render", wu], ["__scopeId", "data-v-f6f8fb8
5352
5360
  title: "BankID",
5353
5361
  content: "Same level of proof as the banks use."
5354
5362
  },
5363
+ freja: {
5364
+ title: "Freja eID+",
5365
+ content: "Highest security level in Freja."
5366
+ },
5355
5367
  signature: {
5356
5368
  title: "Signature",
5357
5369
  content: "Level of proof: IP address, timestamp and device."
@@ -5440,11 +5452,11 @@ const $u = /* @__PURE__ */ Le(iu, [["render", wu], ["__scopeId", "data-v-f6f8fb8
5440
5452
  }, ku = {
5441
5453
  key: 0,
5442
5454
  style: { "font-size": "12px", "font-weight": "500" }
5443
- }, Su = {
5455
+ }, Au = {
5444
5456
  key: 1,
5445
5457
  class: "text-gray-700",
5446
5458
  style: { "font-size": "13px", "margin-top": "4px" }
5447
- }, Au = {
5459
+ }, Su = {
5448
5460
  key: 2,
5449
5461
  class: "compact-order"
5450
5462
  }, Mu = {
@@ -5459,17 +5471,17 @@ const $u = /* @__PURE__ */ Le(iu, [["render", wu], ["__scopeId", "data-v-f6f8fb8
5459
5471
  }, Fu = {
5460
5472
  key: 1,
5461
5473
  class: "text-gray-500"
5462
- }, Ru = {
5474
+ }, Tu = {
5463
5475
  key: 2,
5464
5476
  class: "text-gray-500"
5465
- }, Tu = { class: "text-xs text-gray-700" }, Vu = { key: 0 }, Nu = { key: 1 }, Lu = {
5477
+ }, Ru = { class: "text-xs text-gray-700" }, Vu = { key: 0 }, Nu = { key: 1 }, Lu = {
5466
5478
  key: 0,
5467
5479
  class: "text-red-500"
5468
5480
  }, Uu = { key: 1 }, Wu = { key: 2 };
5469
5481
  function Yu(e, t, n, a, r, o) {
5470
5482
  var c;
5471
- const l = R("CIcon"), i = R("CButton"), s = R("CPhoneFormat"), d = R("CDropdown");
5472
- return h(), S("div", {
5483
+ const l = T("CIcon"), i = T("CButton"), s = T("CPhoneFormat"), d = T("CDropdown");
5484
+ return h(), A("div", {
5473
5485
  class: Ie([{
5474
5486
  "is-hover": r.isHover,
5475
5487
  "has-controls": n.isOrder
@@ -5479,18 +5491,18 @@ function Yu(e, t, n, a, r, o) {
5479
5491
  onMouseoverPassive: t[8] || (t[8] = (u) => r.isHover = !0),
5480
5492
  onMouseleavePassive: t[9] || (t[9] = (u) => r.isHover = !1)
5481
5493
  }, [
5482
- n.compact ? (h(), S("div", _u, [
5483
- _("div", null, C(n.client.name || n.client.companyName), 1),
5484
- n.client.name && n.client.companyName ? (h(), S("div", ku, C(n.client.companyName), 1)) : F("", !0),
5485
- n.client.documentRole ? (h(), S("div", Su, C(e.$t(`_common:documentRole.${n.client.documentRole}.description`)), 1)) : F("", !0),
5486
- n.isOrder ? (h(), S("div", Au, [
5494
+ n.compact ? (h(), A("div", _u, [
5495
+ x("div", null, C(n.client.name || n.client.companyName), 1),
5496
+ n.client.name && n.client.companyName ? (h(), A("div", ku, C(n.client.companyName), 1)) : F("", !0),
5497
+ n.client.documentRole ? (h(), A("div", Au, C(e.$t(`_common:documentRole.${n.client.documentRole}.description`)), 1)) : F("", !0),
5498
+ n.isOrder ? (h(), A("div", Su, [
5487
5499
  M(l, {
5488
5500
  size: "16",
5489
5501
  type: "chevron-up",
5490
5502
  class: "compact-order-button",
5491
5503
  onClick: t[0] || (t[0] = re((u) => e.$emit("move", -1), ["prevent", "stop"]))
5492
5504
  }),
5493
- _("div", Mu, C(n.client.signOrder), 1),
5505
+ x("div", Mu, C(n.client.signOrder), 1),
5494
5506
  M(l, {
5495
5507
  size: "16",
5496
5508
  type: "chevron-down",
@@ -5498,9 +5510,9 @@ function Yu(e, t, n, a, r, o) {
5498
5510
  onClick: t[1] || (t[1] = re((u) => e.$emit("move", 1), ["prevent", "stop"]))
5499
5511
  })
5500
5512
  ])) : F("", !0)
5501
- ])) : (h(), S(W, { key: 1 }, [
5502
- _("div", Ou, [
5503
- n.isOrder ? (h(), S("div", Eu, [
5513
+ ])) : (h(), A(W, { key: 1 }, [
5514
+ x("div", Ou, [
5515
+ n.isOrder ? (h(), A("div", Eu, [
5504
5516
  M(i, {
5505
5517
  class: "rc-order__button up",
5506
5518
  type: "none",
@@ -5521,7 +5533,7 @@ function Yu(e, t, n, a, r, o) {
5521
5533
  icon: "plus",
5522
5534
  onClick: t[3] || (t[3] = re((u) => e.$emit("move", 1), ["prevent", "stop"]))
5523
5535
  }),
5524
- _("div", Pu, C(n.client.signOrder), 1)
5536
+ x("div", Pu, C(n.client.signOrder), 1)
5525
5537
  ])) : (h(), D(l, {
5526
5538
  key: 1,
5527
5539
  type: n.isSender ? "send" : ["signee", "approver"].includes(n.client.documentRole) ? "pen-tool" : "eye",
@@ -5530,20 +5542,20 @@ function Yu(e, t, n, a, r, o) {
5530
5542
  class: "text-primary-500"
5531
5543
  }, null, 8, ["type"]))
5532
5544
  ]),
5533
- _("div", Bu, [
5534
- n.client.name || n.client.companyName ? (h(), S("div", Iu, C(n.client.name || n.client.companyName), 1)) : n.isSender ? (h(), S("div", Fu, C(e.$t("_common:empty", { thing: e.$t("_common:reference") })), 1)) : (h(), S("div", Ru, C(e.$t("_common:missing", { thing: e.$t("_common:name") })), 1)),
5535
- _("div", Tu, [
5536
- n.isSender ? (h(), S(W, { key: 0 }, [
5537
- n.isSender ? (h(), S("span", Vu, C(e.$t("_common:documentRole.sender.description")), 1)) : F("", !0),
5538
- n.client.documentRole === "signee" ? (h(), S("span", Nu, C(e.$t(`_common:documentRole.${n.client.documentRole}.description`)), 1)) : F("", !0)
5539
- ], 64)) : (h(), S(W, { key: 1 }, [
5540
- ((c = n.client.answerMethod) == null ? void 0 : c.accept) === "inPerson" ? (h(), S("span", Lu, [
5541
- U(C(e.$t("_common:signMethod.title")) + ": ", 1),
5542
- _("span", null, C(e.$t("_common:signMethod.inPerson")), 1)
5545
+ x("div", Bu, [
5546
+ n.client.name || n.client.companyName ? (h(), A("div", Iu, C(n.client.name || n.client.companyName), 1)) : n.isSender ? (h(), A("div", Fu, C(e.$t("_common:empty", { thing: e.$t("_common:reference") })), 1)) : (h(), A("div", Tu, C(e.$t("_common:missing", { thing: e.$t("_common:name") })), 1)),
5547
+ x("div", Ru, [
5548
+ n.isSender ? (h(), A(W, { key: 0 }, [
5549
+ n.isSender ? (h(), A("span", Vu, C(e.$t("_common:documentRole.sender.description")), 1)) : F("", !0),
5550
+ n.client.documentRole === "signee" ? (h(), A("span", Nu, C(e.$t(`_common:documentRole.${n.client.documentRole}.description`)), 1)) : F("", !0)
5551
+ ], 64)) : (h(), A(W, { key: 1 }, [
5552
+ ((c = n.client.answerMethod) == null ? void 0 : c.accept) === "inPerson" ? (h(), A("span", Lu, [
5553
+ N(C(e.$t("_common:signMethod.title")) + ": ", 1),
5554
+ x("span", null, C(e.$t("_common:signMethod.inPerson")), 1)
5543
5555
  ])) : F("", !0),
5544
- n.client.documentRole ? (h(), S("span", Uu, C(e.$t(`_common:documentRole.${n.client.documentRole}.description`)), 1)) : F("", !0),
5545
- n.client.email ? (h(), S("span", Wu, [
5546
- U(C(n.client.email) + " ", 1),
5556
+ n.client.documentRole ? (h(), A("span", Uu, C(e.$t(`_common:documentRole.${n.client.documentRole}.description`)), 1)) : F("", !0),
5557
+ n.client.email ? (h(), A("span", Wu, [
5558
+ N(C(n.client.email) + " ", 1),
5547
5559
  n.client.cellphone ? (h(), D(s, {
5548
5560
  key: 0,
5549
5561
  phone: n.client.cellphone,
@@ -5559,7 +5571,7 @@ function Yu(e, t, n, a, r, o) {
5559
5571
  name: "fade-100"
5560
5572
  }, {
5561
5573
  default: w(() => [
5562
- r.isHover || r.isDropdownOpen ? (h(), S(W, { key: 0 }, [
5574
+ r.isHover || r.isDropdownOpen ? (h(), A(W, { key: 0 }, [
5563
5575
  n.isSender ? (h(), D(d, {
5564
5576
  key: 0,
5565
5577
  ref: "dropdown",
@@ -5628,7 +5640,7 @@ const Mr = /* @__PURE__ */ Le(xu, [["render", Yu], ["__scopeId", "data-v-99cf997
5628
5640
  CDropdownItem: Fa
5629
5641
  },
5630
5642
  mixins: [
5631
- Rt(["senderClient"], {
5643
+ Tt(["senderClient"], {
5632
5644
  useEmit: !1,
5633
5645
  setFnName: "setFormValue"
5634
5646
  })
@@ -5705,7 +5717,7 @@ const Mr = /* @__PURE__ */ Le(xu, [["render", Yu], ["__scopeId", "data-v-99cf997
5705
5717
  calc(1 * var(--rem))`, "font-weight": "500" }
5706
5718
  };
5707
5719
  function Ju(e, t, n, a, r, o) {
5708
- const l = R("CDropdownItem"), i = R("RecipientBlockItem");
5720
+ const l = T("CDropdownItem"), i = T("RecipientBlockItem");
5709
5721
  return r.senderClientData ? (h(), D(i, {
5710
5722
  key: 0,
5711
5723
  client: r.senderClientData,
@@ -5722,28 +5734,29 @@ function Ju(e, t, n, a, r, o) {
5722
5734
  onInput: o.toggleSenderSign
5723
5735
  }, {
5724
5736
  default: w(() => [
5725
- U(C(e.$t("toggle.label")), 1)
5737
+ N(C(e.$t("toggle.label")), 1)
5726
5738
  ]),
5727
5739
  _: 1
5728
5740
  }, 8, ["value", "onInput"]),
5729
- e.senderClient ? (h(), S(W, { key: 1 }, [
5741
+ e.senderClient ? (h(), A(W, { key: 1 }, [
5730
5742
  M(l, { separator: "" }),
5731
- _("div", zu, C(e.$t("_common:signMethod.title")), 1),
5732
- (h(!0), S(W, null, fe([
5743
+ x("div", zu, C(e.$t("_common:signMethod.title")), 1),
5744
+ (h(!0), A(W, null, fe([
5733
5745
  "login",
5734
5746
  "signature",
5735
- ...e.feature("bankId") ? ["bankId"] : []
5747
+ ...e.feature("bankId") ? ["bankId"] : [],
5748
+ ...e.feature("frejaSign") ? ["freja"] : []
5736
5749
  ], (s) => (h(), D(l, {
5737
5750
  key: s,
5738
5751
  "icon-right": o.get(e.senderClient, "answerMethod.accept") === s ? "check" : "",
5739
5752
  onClick: (d) => o.setSenderMethod(s)
5740
5753
  }, {
5741
5754
  default: w(() => [
5742
- U(C(e.$t(`_common:signMethod.${s}`)), 1)
5755
+ N(C(e.$t(`_common:signMethod.${s}`)), 1)
5743
5756
  ]),
5744
5757
  _: 2
5745
5758
  }, 1032, ["icon-right", "onClick"]))), 128))
5746
- ], 64)) : (h(), S("div", ju, C(e.$t("toggle.description")), 1))
5759
+ ], 64)) : (h(), A("div", ju, C(e.$t("toggle.description")), 1))
5747
5760
  ]),
5748
5761
  _: 1
5749
5762
  }, 8, ["client", "right-button"])) : F("", !0);
@@ -5761,7 +5774,7 @@ const qu = /* @__PURE__ */ Le(Hu, [["render", Ju]]), Ku = {
5761
5774
  CSwitch: bo
5762
5775
  },
5763
5776
  mixins: [
5764
- Rt(["clients"], {
5777
+ Tt(["clients"], {
5765
5778
  useEmit: !1,
5766
5779
  setFnName: "setFormValue"
5767
5780
  })
@@ -5863,10 +5876,10 @@ const qu = /* @__PURE__ */ Le(Hu, [["render", Ju]]), Ku = {
5863
5876
  class: "mt-4 flex rounded-lg border border-orange-200 bg-orange-50 p-4 text-sm text-orange-600"
5864
5877
  }, ad = { class: "-mt-px mr-3" }, rd = { class: "font-medium" }, od = { class: "mb-2 opacity-90" };
5865
5878
  function ld(e, t, n, a, r, o) {
5866
- const l = R("SenderBlockItem"), i = R("CIcon"), s = R("CSwitch"), d = R("RecipientBlockItem"), c = R("CButton"), u = R("AddClientCallout"), y = Ba("tooltip");
5867
- return h(), S("div", null, [
5868
- n.compact ? F("", !0) : (h(), S(W, { key: 0 }, [
5869
- _("div", Gu, C(e.$t("_common:from").capitalize()) + ": ", 1),
5879
+ const l = T("SenderBlockItem"), i = T("CIcon"), s = T("CSwitch"), d = T("RecipientBlockItem"), c = T("CButton"), u = T("AddClientCallout"), y = Ba("tooltip");
5880
+ return h(), A("div", null, [
5881
+ n.compact ? F("", !0) : (h(), A(W, { key: 0 }, [
5882
+ x("div", Gu, C(e.$t("_common:from").capitalize()) + ": ", 1),
5870
5883
  M(l, {
5871
5884
  _document: e._document,
5872
5885
  _value: { senderClient: "senderClient" },
@@ -5874,11 +5887,11 @@ function ld(e, t, n, a, r, o) {
5874
5887
  "default-add-sender-client": n.defaultAddSenderClient
5875
5888
  }, null, 8, ["_document", "set-form-value", "default-add-sender-client"])
5876
5889
  ], 64)),
5877
- _("div", {
5890
+ x("div", {
5878
5891
  class: Ie([{ "block-title__line": !n.compact }, "block-title flex pb-0.5 pt-2 text-xs text-gray-500"])
5879
5892
  }, [
5880
- n.compact ? F("", !0) : (h(), S("div", Qu, C(e.$t("_common:to").capitalize()) + ": ", 1)),
5881
- e.clients && e.clients.length ? (h(), S("div", Zu, [
5893
+ n.compact ? F("", !0) : (h(), A("div", Qu, C(e.$t("_common:to").capitalize()) + ": ", 1)),
5894
+ e.clients && e.clients.length ? (h(), A("div", Zu, [
5882
5895
  ze(M(i, {
5883
5896
  type: "info",
5884
5897
  size: "14",
@@ -5886,7 +5899,7 @@ function ld(e, t, n, a, r, o) {
5886
5899
  }, null, 512), [
5887
5900
  [y, e.$t("signOrder.tooltip")]
5888
5901
  ]),
5889
- _("div", Xu, C(e.$t("signOrder.label")), 1),
5902
+ x("div", Xu, C(e.$t("signOrder.label")), 1),
5890
5903
  M(s, {
5891
5904
  "model-value": o.useSignOrder,
5892
5905
  size: "tiny",
@@ -5896,7 +5909,7 @@ function ld(e, t, n, a, r, o) {
5896
5909
  }, null, 8, ["model-value", "onUpdate:modelValue"])
5897
5910
  ])) : F("", !0)
5898
5911
  ], 2),
5899
- e.clients && e.clients.length ? (h(), S(W, { key: 1 }, [
5912
+ e.clients && e.clients.length ? (h(), A(W, { key: 1 }, [
5900
5913
  o.useSignOrder ? (h(), D(yo, {
5901
5914
  key: 0,
5902
5915
  name: "list-move",
@@ -5904,13 +5917,13 @@ function ld(e, t, n, a, r, o) {
5904
5917
  tag: "div"
5905
5918
  }, {
5906
5919
  default: w(() => [
5907
- (h(!0), S(W, null, fe(o.sortedClients, (v, g) => (h(), S(W, {
5920
+ (h(!0), A(W, null, fe(o.sortedClients, (v, g) => (h(), A(W, {
5908
5921
  key: `${g}${v._uniqueId}`
5909
5922
  }, [
5910
- g > 0 && v.signOrder !== o.sortedClients[g - 1].signOrder ? (h(), S("div", ed, t[3] || (t[3] = [
5911
- _("div", { class: "bg-primary-500 h-full w-0.5 rounded-sm" }, null, -1)
5923
+ g > 0 && v.signOrder !== o.sortedClients[g - 1].signOrder ? (h(), A("div", ed, t[3] || (t[3] = [
5924
+ x("div", { class: "bg-primary-500 h-full w-0.5 rounded-sm" }, null, -1)
5912
5925
  ]))) : F("", !0),
5913
- _("div", td, [
5926
+ x("div", td, [
5914
5927
  M(d, {
5915
5928
  client: v,
5916
5929
  "is-order": o.useSignOrder,
@@ -5928,7 +5941,7 @@ function ld(e, t, n, a, r, o) {
5928
5941
  ], 64))), 128))
5929
5942
  ]),
5930
5943
  _: 1
5931
- })) : (h(!0), S(W, { key: 1 }, fe(e.clients, (v, g) => (h(), D(d, {
5944
+ })) : (h(!0), A(W, { key: 1 }, fe(e.clients, (v, g) => (h(), D(d, {
5932
5945
  key: v._uniqueId,
5933
5946
  "is-order": o.useSignOrder,
5934
5947
  compact: n.compact,
@@ -5951,7 +5964,7 @@ function ld(e, t, n, a, r, o) {
5951
5964
  onClick: t[0] || (t[0] = (v) => o.openClientModal(e.clients.length))
5952
5965
  }, {
5953
5966
  default: w(() => [
5954
- U(C(e.$t("addButton")), 1)
5967
+ N(C(e.$t("addButton")), 1)
5955
5968
  ]),
5956
5969
  _: 1
5957
5970
  })) : F("", !0)
@@ -5966,7 +5979,7 @@ function ld(e, t, n, a, r, o) {
5966
5979
  onClick: t[1] || (t[1] = (v) => o.openClientModal(e.clients.length))
5967
5980
  }, {
5968
5981
  default: w(() => [
5969
- U(C(e.$t("addFirstButton")), 1)
5982
+ N(C(e.$t("addFirstButton")), 1)
5970
5983
  ]),
5971
5984
  _: 1
5972
5985
  })) : !n.compact && n.allowEditClients ? (h(), D(u, {
@@ -5976,16 +5989,16 @@ function ld(e, t, n, a, r, o) {
5976
5989
  onSetClient: o.setClient,
5977
5990
  "default-answer-method": e._document.data.defaultAnswerMethod
5978
5991
  }, null, 8, ["onSetClient", "default-answer-method"])) : F("", !0),
5979
- o.warnSameRecipientOrder ? (h(), S("div", nd, [
5980
- _("div", ad, [
5992
+ o.warnSameRecipientOrder ? (h(), A("div", nd, [
5993
+ x("div", ad, [
5981
5994
  M(i, {
5982
5995
  type: "warning",
5983
5996
  size: "16"
5984
5997
  })
5985
5998
  ]),
5986
- _("div", null, [
5987
- _("div", rd, C(e.$t("signOrder.warning.title")), 1),
5988
- _("div", od, C(e.$t("signOrder.warning.text")), 1)
5999
+ x("div", null, [
6000
+ x("div", rd, C(e.$t("signOrder.warning.title")), 1),
6001
+ x("div", od, C(e.$t("signOrder.warning.text")), 1)
5989
6002
  ])
5990
6003
  ])) : F("", !0)
5991
6004
  ]);
@@ -6015,17 +6028,17 @@ const id = /* @__PURE__ */ Le(Ku, [["render", ld], ["__scopeId", "data-v-1557335
6015
6028
  class: "text-xs text-gray-500"
6016
6029
  };
6017
6030
  function hd(e, t, n, a, r, o) {
6018
- const l = R("CIcon"), i = R("CButton");
6019
- return h(), S("div", ud, [
6020
- _("div", dd, C(n.label), 1),
6021
- _("div", cd, [
6022
- n.done ? (h(), S("span", fd, [
6031
+ const l = T("CIcon"), i = T("CButton");
6032
+ return h(), A("div", ud, [
6033
+ x("div", dd, C(n.label), 1),
6034
+ x("div", cd, [
6035
+ n.done ? (h(), A("span", fd, [
6023
6036
  M(l, {
6024
6037
  type: "check",
6025
6038
  size: "18"
6026
6039
  }),
6027
- U(" " + C(e.$t("sent")), 1)
6028
- ])) : (h(), S(W, { key: 1 }, [
6040
+ N(" " + C(e.$t("sent")), 1)
6041
+ ])) : (h(), A(W, { key: 1 }, [
6029
6042
  M(i, {
6030
6043
  icon: "minus",
6031
6044
  size: "small",
@@ -6034,10 +6047,10 @@ function hd(e, t, n, a, r, o) {
6034
6047
  class: "!h-6 !w-6 bg-white",
6035
6048
  onClick: t[0] || (t[0] = (s) => e.$emit("input", Math.max(n.value - 1, 0)))
6036
6049
  }),
6037
- _("div", md, [
6038
- n.value ? (h(), S(W, { key: 0 }, [
6039
- U(C(e.$tc("day", { count: Number(n.value) })), 1)
6040
- ], 64)) : (h(), S("span", pd, C(e.$t("disabled").capitalize()), 1))
6050
+ x("div", md, [
6051
+ n.value ? (h(), A(W, { key: 0 }, [
6052
+ N(C(e.$tc("day", { count: Number(n.value) })), 1)
6053
+ ], 64)) : (h(), A("span", pd, C(e.$t("disabled").capitalize()), 1))
6041
6054
  ]),
6042
6055
  M(i, {
6043
6056
  icon: "plus",
@@ -6074,7 +6087,7 @@ const vd = /* @__PURE__ */ Le(sd, [["render", hd]]), yd = {
6074
6087
  DocumentSendReminderItem: vd
6075
6088
  },
6076
6089
  emits: ["close"],
6077
- mixins: [Rt()],
6090
+ mixins: [Tt()],
6078
6091
  props: {
6079
6092
  setFormValue: {
6080
6093
  type: Function,
@@ -6136,11 +6149,11 @@ const vd = /* @__PURE__ */ Le(sd, [["render", hd]]), yd = {
6136
6149
  style: { "margin-top": "calc(2.5 * var(--rem))" }
6137
6150
  };
6138
6151
  function Dd(e, t, n, a, r, o) {
6139
- const l = R("DocumentSendReminderItem"), i = R("CButton");
6140
- return h(), S("div", gd, [
6141
- _("div", bd, C(e.$t("_common:reminder_other").capitalize()), 1),
6142
- _("div", wd, C(e.$t("description")), 1),
6143
- (h(), S(W, null, fe([
6152
+ const l = T("DocumentSendReminderItem"), i = T("CButton");
6153
+ return h(), A("div", gd, [
6154
+ x("div", bd, C(e.$t("_common:reminder_other").capitalize()), 1),
6155
+ x("div", wd, C(e.$t("description")), 1),
6156
+ (h(), A(W, null, fe([
6144
6157
  { type: "notViewed", fallbackKey: "viewed" },
6145
6158
  { type: "notAnswered", fallbackKey: "reminder" },
6146
6159
  { type: "expires", fallbackKey: "expires" }
@@ -6151,14 +6164,14 @@ function Dd(e, t, n, a, r, o) {
6151
6164
  done: o.reminders[s.type] && o.reminders[s.type].status === "successful",
6152
6165
  onInput: (c) => o.setReminder(o.reminders[s.type] || s.fallbackKey, c)
6153
6166
  }, null, 8, ["label", "value", "done", "onInput"])), 64)),
6154
- _("div", $d, [
6167
+ x("div", $d, [
6155
6168
  M(i, {
6156
6169
  type: "secondary",
6157
6170
  expanded: "",
6158
6171
  onClick: t[0] || (t[0] = (s) => e.$emit("close"))
6159
6172
  }, {
6160
6173
  default: w(() => [
6161
- U(C(e.$t("_common:save")), 1)
6174
+ N(C(e.$t("_common:save")), 1)
6162
6175
  ]),
6163
6176
  _: 1
6164
6177
  })
@@ -6184,7 +6197,7 @@ const Cd = /* @__PURE__ */ Le(yd, [["render", Dd]]), xd = {
6184
6197
  CRadio: Do
6185
6198
  },
6186
6199
  mixins: [
6187
- Rt(
6200
+ Tt(
6188
6201
  ["expiresAt", "clients", "defaultAnswerMethod", "reminders", "name"],
6189
6202
  {
6190
6203
  useEmit: !1,
@@ -6232,7 +6245,7 @@ const Cd = /* @__PURE__ */ Le(yd, [["render", Dd]]), xd = {
6232
6245
  },
6233
6246
  setup() {
6234
6247
  return {
6235
- v$: Ra()
6248
+ v$: Ta()
6236
6249
  };
6237
6250
  },
6238
6251
  data() {
@@ -6281,6 +6294,9 @@ const Cd = /* @__PURE__ */ Le(yd, [["render", Dd]]), xd = {
6281
6294
  ...this.smsActivated ? [this.$t("_common:sms")] : []
6282
6295
  ].join(" & ") : this._document.isDirty("isManualDelivery") && this.clients.length ? this.$t("manualDelivery") : "&nbsp;";
6283
6296
  },
6297
+ isExpiresAtInPast() {
6298
+ return this.expiresAt ? new Date(this.expiresAt) < /* @__PURE__ */ new Date() : !1;
6299
+ },
6284
6300
  clientsAreMissingContactInfo() {
6285
6301
  return this.isManualDelivery ? !1 : this.clients.some(
6286
6302
  (e) => !e.deliveryTypes.some(
@@ -6405,35 +6421,38 @@ const Cd = /* @__PURE__ */ Le(yd, [["render", Dd]]), xd = {
6405
6421
  return !!(this.smsActivated && !t || ((n = this.defaultAnswerMethod) == null ? void 0 : n.accept) === "bankId" && !e);
6406
6422
  }
6407
6423
  }
6408
- }, _d = { class: "@container flex h-full flex-col" }, kd = { class: "@md:px-8 @md:pb-8 @xl:px-16 @xl:pb-16 relative px-4 pb-4 pt-6" }, Sd = { class: "pb-4 text-lg font-bold" }, Ad = {
6424
+ }, _d = { class: "@container flex h-full flex-col" }, kd = { class: "@md:px-8 @md:pb-8 @xl:px-16 @xl:pb-16 relative px-4 pb-4 pt-6" }, Ad = { class: "pb-4 text-lg font-bold" }, Sd = {
6409
6425
  key: 0,
6410
6426
  class: "mb-6"
6411
6427
  }, Md = { class: "pb-0.5 text-xs font-medium text-gray-900" }, Od = { class: "mb-6" }, Ed = {
6412
6428
  key: 1,
6413
6429
  class: "mb-8"
6414
- }, Pd = { class: "block-title pb-0.5 text-xs font-medium text-gray-900" }, Bd = { class: "cb-card-group" }, Id = ["onClick"], Fd = { class: "flex-grow" }, Rd = { class: "cb-card-title flex items-center justify-between" }, Td = {
6430
+ }, Pd = { class: "block-title pb-0.5 text-xs font-medium text-gray-900" }, Bd = { class: "cb-card-group" }, Id = ["onClick"], Fd = { class: "flex-grow" }, Td = { class: "cb-card-title flex items-center justify-between" }, Rd = {
6431
+ key: 2,
6432
+ class: "mb-2 flex items-start gap-2 rounded-md border border-amber-200 bg-amber-50 px-2.5 py-2"
6433
+ }, Vd = { class: "text-xs text-amber-700" }, Nd = { class: "font-semibold" }, Ld = {
6415
6434
  class: "grid items-center gap-2",
6416
6435
  style: { "grid-template-columns": "repeat(auto-fit, minmax(200px, 1fr))" }
6417
- }, Vd = { class: "psuedo-input-label" }, Nd = {
6436
+ }, Ud = { class: "psuedo-input-label" }, Wd = {
6418
6437
  class: "psuedo-input",
6419
6438
  tabindex: "0"
6420
- }, Ld = { class: "psuedo-input-label" }, Ud = ["innerHTML"], Wd = {
6439
+ }, Yd = { class: "psuedo-input-label" }, Hd = ["innerHTML"], jd = {
6421
6440
  key: 0,
6422
6441
  class: "bg-primary-500 ml-2 rounded-full px-1.5 py-1 text-[10px] font-semibold leading-none text-white"
6423
- }, Yd = { class: "psuedo-input-label" }, Hd = { class: "@md:px-8 @xl:px-16 px-4 pb-4" }, jd = { class: "flex" }, zd = ["textContent"], Jd = { class: "flex-auto" };
6424
- function qd(e, t, n, a, r, o) {
6425
- const l = R("CInput"), i = R("RecipientBlock"), s = R("CIcon"), d = R("CRadio"), c = R("ProBadge"), u = R("CButton"), y = R("DatePicker"), v = R("CDropdownItem"), g = R("CDropdown"), m = R("ErrorCallout"), p = R("IsPremiumPreStep"), b = R("IsPremium"), x = Ba("tooltip");
6442
+ }, zd = { class: "psuedo-input-label" }, Jd = { class: "@md:px-8 @xl:px-16 px-4 pb-4" }, qd = { class: "flex" }, Kd = ["textContent"], Gd = { class: "flex-auto" };
6443
+ function Qd(e, t, n, a, r, o) {
6444
+ const l = T("CInput"), i = T("RecipientBlock"), s = T("CIcon"), d = T("CRadio"), c = T("ProBadge"), u = T("CButton"), y = T("DatePicker"), v = T("CDropdownItem"), g = T("CDropdown"), m = T("ErrorCallout"), p = T("IsPremiumPreStep"), b = T("IsPremium"), _ = Ba("tooltip");
6426
6445
  return h(), D(b, null, {
6427
6446
  default: w(({ canUseBankId: $, canUseSms: E }) => [
6428
- _("div", _d, [
6447
+ x("div", _d, [
6429
6448
  (h(), D(ka(n.useScroll ? "Simplebar" : "div"), { class: "main-container" }, {
6430
6449
  default: w(() => {
6431
6450
  var B;
6432
6451
  return [
6433
- _("div", kd, [
6434
- _("div", Sd, C(e.$t("title")), 1),
6435
- n.showName ? (h(), S("div", Ad, [
6436
- _("div", Md, C(e.$t("nameLabel")), 1),
6452
+ x("div", kd, [
6453
+ x("div", Ad, C(e.$t("title")), 1),
6454
+ n.showName ? (h(), A("div", Sd, [
6455
+ x("div", Md, C(e.$t("nameLabel")), 1),
6437
6456
  M(l, {
6438
6457
  modelValue: e.name,
6439
6458
  "onUpdate:modelValue": t[0] || (t[0] = (k) => e.name = k),
@@ -6441,7 +6460,7 @@ function qd(e, t, n, a, r, o) {
6441
6460
  filled: ""
6442
6461
  }, null, 8, ["modelValue", "placeholder"])
6443
6462
  ])) : F("", !0),
6444
- _("div", Od, [
6463
+ x("div", Od, [
6445
6464
  M(i, {
6446
6465
  _value: {
6447
6466
  clients: "clients"
@@ -6455,24 +6474,24 @@ function qd(e, t, n, a, r, o) {
6455
6474
  }, null, 8, ["_document", "set-form-value", "remove-form-value", "default-add-sender-client", "allow-edit-clients", "is-public-form"])
6456
6475
  ]),
6457
6476
  O(e.$slots, "default", {}, void 0, !0),
6458
- e.defaultAnswerMethod && o.signMethods.length > 1 ? (h(), S("div", Ed, [
6459
- _("div", Pd, [
6460
- U(C(e.$t("signMethod.title")) + " ", 1),
6477
+ e.defaultAnswerMethod && o.signMethods.length > 1 ? (h(), A("div", Ed, [
6478
+ x("div", Pd, [
6479
+ N(C(e.$t("signMethod.title")) + " ", 1),
6461
6480
  ze(M(s, {
6462
6481
  type: "info",
6463
6482
  size: "14",
6464
6483
  class: "ml-px text-gray-500"
6465
6484
  }, null, 512), [
6466
- [x, e.$t("signMethod.tooltip")]
6485
+ [_, e.$t("signMethod.tooltip")]
6467
6486
  ])
6468
6487
  ]),
6469
- _("div", Bd, [
6470
- (h(!0), S(W, null, fe(o.signMethods, (k) => (h(), S("div", {
6488
+ x("div", Bd, [
6489
+ (h(!0), A(W, null, fe(o.signMethods, (k) => (h(), A("div", {
6471
6490
  key: k.value,
6472
6491
  class: Ie([{
6473
6492
  checked: e.defaultAnswerMethod.accept === k.value
6474
6493
  }, "cb-card flex border-2 border-transparent hover:border-gray-300/30 hover:bg-gray-200"]),
6475
- onClick: (T) => e.defaultAnswerMethod.accept !== k.value ? o.setAnswerMethod(k.value) : null
6494
+ onClick: (R) => e.defaultAnswerMethod.accept !== k.value ? o.setAnswerMethod(k.value) : null
6476
6495
  }, [
6477
6496
  M(d, {
6478
6497
  "model-value": e.defaultAnswerMethod.accept,
@@ -6481,20 +6500,31 @@ function qd(e, t, n, a, r, o) {
6481
6500
  size: "small",
6482
6501
  class: "sign-radio pointer-events-none mr-3"
6483
6502
  }, null, 8, ["model-value", "native-value"]),
6484
- _("div", Fd, [
6485
- _("div", Rd, [
6486
- U(C(k.title) + " ", 1),
6503
+ x("div", Fd, [
6504
+ x("div", Td, [
6505
+ N(C(k.title) + " ", 1),
6487
6506
  k.value === "bankId" && !$ ? (h(), D(c, { key: 0 })) : F("", !0)
6488
6507
  ]),
6489
- ze(_("div", { class: "cb-card-body" }, C(k.content), 513), [
6508
+ ze(x("div", { class: "cb-card-body" }, C(k.content), 513), [
6490
6509
  [Ea, e.defaultAnswerMethod.accept === k.value]
6491
6510
  ])
6492
6511
  ])
6493
6512
  ], 10, Id))), 128))
6494
6513
  ])
6495
6514
  ])) : F("", !0),
6496
- _("div", Td, [
6497
- _("div", null, [
6515
+ o.isExpiresAtInPast ? (h(), A("div", Rd, [
6516
+ M(s, {
6517
+ type: "warning",
6518
+ size: "14",
6519
+ class: "mt-px shrink-0 text-amber-600"
6520
+ }),
6521
+ x("div", Vd, [
6522
+ x("span", Nd, C(e.$t("expiresAtInPastTitle")), 1),
6523
+ N(" " + C(e.$t("expiresAtInPastText")), 1)
6524
+ ])
6525
+ ])) : F("", !0),
6526
+ x("div", Ld, [
6527
+ x("div", null, [
6498
6528
  M(y, {
6499
6529
  modelValue: e.expiresAt,
6500
6530
  "onUpdate:modelValue": t[2] || (t[2] = (k) => e.expiresAt = k),
@@ -6503,8 +6533,8 @@ function qd(e, t, n, a, r, o) {
6503
6533
  tabindex: "0"
6504
6534
  }, {
6505
6535
  default: w(() => [
6506
- _("div", Vd, C(e.$t("validityPeriod")), 1),
6507
- _("div", null, C(e.expiresAt ? e.$formatDate(e.expiresAt) : e.$t("_common:disabled").capitalize()), 1),
6536
+ x("div", Ud, C(e.$t("validityPeriod")), 1),
6537
+ x("div", null, C(e.expiresAt ? e.$formatDate(e.expiresAt) : e.$t("_common:disabled").capitalize()), 1),
6508
6538
  e.expiresAt ? (h(), D(u, {
6509
6539
  key: 0,
6510
6540
  icon: "x",
@@ -6530,9 +6560,9 @@ function qd(e, t, n, a, r, o) {
6530
6560
  expanded: ""
6531
6561
  }, {
6532
6562
  trigger: w(() => [
6533
- _("div", Nd, [
6534
- _("div", Ld, C(e.$t("sendAs")), 1),
6535
- _("div", { innerHTML: o.sendTypesText }, null, 8, Ud)
6563
+ x("div", Wd, [
6564
+ x("div", Yd, C(e.$t("sendAs")), 1),
6565
+ x("div", { innerHTML: o.sendTypesText }, null, 8, Hd)
6536
6566
  ])
6537
6567
  ]),
6538
6568
  default: w(() => [
@@ -6543,7 +6573,7 @@ function qd(e, t, n, a, r, o) {
6543
6573
  onClick: t[3] || (t[3] = (k) => o.setDeliveryMethod("email", !o.emailActivated))
6544
6574
  }, {
6545
6575
  default: w(() => [
6546
- U(C(e.$t("_common:email").capitalize()), 1)
6576
+ N(C(e.$t("_common:email").capitalize()), 1)
6547
6577
  ]),
6548
6578
  _: 1
6549
6579
  }, 8, ["value"]),
@@ -6555,8 +6585,8 @@ function qd(e, t, n, a, r, o) {
6555
6585
  onClick: t[4] || (t[4] = (k) => o.setDeliveryMethod("sms", !o.smsActivated))
6556
6586
  }, {
6557
6587
  default: w(() => [
6558
- U(C(e.$t("_common:sms")) + " ", 1),
6559
- E ? F("", !0) : (h(), S("div", Wd, " Pro "))
6588
+ N(C(e.$t("_common:sms")) + " ", 1),
6589
+ E ? F("", !0) : (h(), A("div", jd, " Pro "))
6560
6590
  ]),
6561
6591
  _: 2
6562
6592
  }, 1032, ["value"])) : F("", !0),
@@ -6574,14 +6604,14 @@ function qd(e, t, n, a, r, o) {
6574
6604
  ]),
6575
6605
  _: 2
6576
6606
  }, 1032, ["disabled", "mobile-label"]),
6577
- !o.useSignOrder && !o.isManualDelivery ? (h(), S("div", {
6607
+ !o.useSignOrder && !o.isManualDelivery ? (h(), A("div", {
6578
6608
  key: 0,
6579
6609
  class: "psuedo-input relative",
6580
6610
  tabindex: "0",
6581
6611
  onClick: t[7] || (t[7] = (...k) => o.openReminders && o.openReminders(...k))
6582
6612
  }, [
6583
- _("div", Yd, C(e.$t("_common:reminder_other").capitalize()), 1),
6584
- _("div", null, C(o.noOfReminders ? `${o.noOfReminders} ${e.$i18n.lang === "sv" ? e.$t("_common:unitType.unit") : ""}` : e.$t("_common:disabled").capitalize()), 1),
6613
+ x("div", zd, C(e.$t("_common:reminder_other").capitalize()), 1),
6614
+ x("div", null, C(o.noOfReminders ? `${o.noOfReminders} ${e.$i18n.lang === "sv" ? e.$t("_common:unitType.unit") : ""}` : e.$t("_common:disabled").capitalize()), 1),
6585
6615
  o.noOfReminders ? (h(), D(u, {
6586
6616
  key: 0,
6587
6617
  icon: "x",
@@ -6594,7 +6624,7 @@ function qd(e, t, n, a, r, o) {
6594
6624
  ])) : F("", !0)
6595
6625
  ]),
6596
6626
  o.clientsAreMissingContactInfo || (B = a.v$.isManualDelivery) != null && B.$invalid ? (h(), D(m, {
6597
- key: 2,
6627
+ key: 3,
6598
6628
  message: o.clientsAreMissingContactInfo ? e.$t("clientsAreMissingContactInfo") : e.$t("missingDeliveryMethod"),
6599
6629
  size: "small"
6600
6630
  }, null, 8, ["message"])) : F("", !0),
@@ -6604,12 +6634,12 @@ function qd(e, t, n, a, r, o) {
6604
6634
  }),
6605
6635
  _: 2
6606
6636
  }, 1024)),
6607
- _("div", Hd, [
6637
+ x("div", Jd, [
6608
6638
  O(e.$slots, "send-header", {}, void 0, !0),
6609
6639
  O(e.$slots, "send", {}, () => [
6610
6640
  M(p, { feature: "bankIdAndSms" }, {
6611
6641
  default: w(({ onClick: B }) => [
6612
- _("div", jd, [
6642
+ x("div", qd, [
6613
6643
  n.showSave ? ze((h(), D(u, {
6614
6644
  key: 0,
6615
6645
  loading: o.isPosting,
@@ -6620,7 +6650,7 @@ function qd(e, t, n, a, r, o) {
6620
6650
  onClick: t[8] || (t[8] = (k) => o.doSaveDocument({ doSend: !1 }))
6621
6651
  }, null, 8, ["loading"])), [
6622
6652
  [
6623
- x,
6653
+ _,
6624
6654
  e.$t("_common:save", {
6625
6655
  thing: e.$t("_common:document").toLowerCase()
6626
6656
  })
@@ -6636,10 +6666,10 @@ function qd(e, t, n, a, r, o) {
6636
6666
  onClick: o.openSendLater
6637
6667
  }, {
6638
6668
  default: w(() => [
6639
- _("span", {
6669
+ x("span", {
6640
6670
  class: "@md:!block !hidden",
6641
6671
  textContent: C(e.$t("scheduledTooltip"))
6642
- }, null, 8, zd),
6672
+ }, null, 8, Kd),
6643
6673
  M(s, {
6644
6674
  class: "@md:!hidden",
6645
6675
  type: "calendar",
@@ -6648,7 +6678,7 @@ function qd(e, t, n, a, r, o) {
6648
6678
  ]),
6649
6679
  _: 1
6650
6680
  }, 8, ["disabled", "onClick"])) : F("", !0),
6651
- ze((h(), S("div", Jd, [
6681
+ ze((h(), A("div", Gd, [
6652
6682
  M(u, {
6653
6683
  disabled: a.v$.$invalid,
6654
6684
  loading: o.isPosting,
@@ -6663,13 +6693,13 @@ function qd(e, t, n, a, r, o) {
6663
6693
  }) : o.doSendDocument()
6664
6694
  }, {
6665
6695
  default: w(() => [
6666
- U(C(e.$t("sendButton")), 1)
6696
+ N(C(e.$t("sendButton")), 1)
6667
6697
  ]),
6668
6698
  _: 2
6669
6699
  }, 1032, ["disabled", "loading", "onClick"])
6670
6700
  ])), [
6671
6701
  [
6672
- x,
6702
+ _,
6673
6703
  a.v$.$invalid ? {
6674
6704
  content: e.clients.length ? e.$t("missingDeliveryMethod") : e.$t(
6675
6705
  "components:account.documentForm.clients.errorMessage"
@@ -6689,7 +6719,7 @@ function qd(e, t, n, a, r, o) {
6689
6719
  _: 3
6690
6720
  });
6691
6721
  }
6692
- const oc = /* @__PURE__ */ Le(xd, [["render", qd], ["__scopeId", "data-v-301a52af"]]);
6722
+ const sc = /* @__PURE__ */ Le(xd, [["render", Qd], ["__scopeId", "data-v-d4d190d9"]]);
6693
6723
  export {
6694
- oc as S
6724
+ sc as S
6695
6725
  };