@cling-se/widget 0.21.3 → 0.22.0

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 +16 -0
  2. package/dist/{AddClientCallout-CodlIQwE.js → AddClientCallout-CxbvK6ZG.js} +7 -7
  3. package/dist/{AnswerModal-J1UhMHpo.js → AnswerModal-vTetGwVn.js} +935 -651
  4. package/dist/{AttachmentItem-B0_8bPKy.js → AttachmentItem-DSHNRIq_.js} +9 -9
  5. package/dist/{BaseUpload-DuqbaH9l.js → BaseUpload-CWaM_bb7.js} +2 -2
  6. package/dist/{BlockMedia-Dy_--7Vj.js → BlockMedia-B1T85G4R.js} +9 -9
  7. package/dist/{CCallout-CmuwGNSi.js → CCallout-BieMmWa4.js} +5 -5
  8. package/dist/{CCurrencyDropdown-B8g2vrhq.js → CCurrencyDropdown-DKWtCUE_.js} +3 -3
  9. package/dist/{CDropdownItem-CM3Ir-XA.js → CDropdownItem-pNNH9fV3.js} +13 -13
  10. package/dist/{CFormField.vue_vue_type_script_setup_true_lang-C1P9Y9Tg.js → CFormField.vue_vue_type_script_setup_true_lang-B57OaS--.js} +14 -14
  11. package/dist/{CPhoneFormat-C0kGNp6W.js → CPhoneFormat-CyrQRGmd.js} +1 -1
  12. package/dist/{CPhoneInput-BUgER0Oa.js → CPhoneInput-BQHgpUCY.js} +5 -5
  13. package/dist/{CPriceInput-BQF9nkwR.js → CPriceInput-DnFN-I6p.js} +2 -2
  14. package/dist/{CSelect-H8jAu9Ae.js → CSelect-DB4-JxH8.js} +5 -5
  15. package/dist/{CSkeleton-C0XDwN9S.js → CSkeleton-DpRDxR6D.js} +7 -7
  16. package/dist/{ClientAutocomplete-BoNP8_4h.js → ClientAutocomplete-BjwvkuJ-.js} +19 -19
  17. package/dist/{ClientModal-DWFXbAOk.js → ClientModal-oBN2VSio.js} +138 -130
  18. package/dist/{ColorPicker-Bdwc47q6.js → ColorPicker-B5rSvXLV.js} +21 -21
  19. package/dist/{CompanyModal-CD6ojsz7.js → CompanyModal-QrsUL6Et.js} +13 -13
  20. package/dist/{ContentWrapper-Do4aBTL8.js → ContentWrapper-Yx-KMsfH.js} +22 -22
  21. package/dist/{CoverBlockSettings-4MmtvSy8.js → CoverBlockSettings-C8giTiEZ.js} +19 -19
  22. package/dist/{DocAnswer-CjwxDT6u.js → DocAnswer-Djyhwfrp.js} +2 -2
  23. package/dist/{DocDetails-BxIsdfgP.js → DocDetails-Dv6noPvB.js} +100 -94
  24. package/dist/{DocForm-CS9PFRi-.js → DocForm-BFHchJ6w.js} +24 -24
  25. package/dist/{DocFormSend-wzBPrCIU.js → DocFormSend-K2rbjklj.js} +2 -2
  26. package/dist/{DocLinks-DExm1cq-.js → DocLinks-DpUl89XR.js} +2 -2
  27. package/dist/{DocModalBase-CTtPx1oT.js → DocModalBase-BlTZ8CY3.js} +1 -1
  28. package/dist/{DocPrint-BlnW2EcE.js → DocPrint-Bmfl4Abk.js} +9 -9
  29. package/dist/{DocReceipt-CDyPZK5d.js → DocReceipt-3wi5YXqR.js} +111 -81
  30. package/dist/{DocSendReminder-yIYfJPSd.js → DocSendReminder-CHqgC_wM.js} +1 -1
  31. package/dist/{DocTextEditor-i_xyQACD.js → DocTextEditor-BGzwRwjt.js} +8 -8
  32. package/dist/{DocTimeline-p1JDm9-T.js → DocTimeline-BG7ldFgR.js} +12 -12
  33. package/dist/{DocumentClient-D_DZDXb4.js → DocumentClient-CLCAh4lI.js} +5 -5
  34. package/dist/{DocumentLayout-Q5yx_Q6I.js → DocumentLayout-DHSEYClM.js} +32 -32
  35. package/dist/{DocumentLogotype-BTLs13IJ.js → DocumentLogotype-0jH2-sr7.js} +8 -8
  36. package/dist/{DocumentVoided-DQ_dMdFP.js → DocumentVoided-BAS8mATO.js} +1 -1
  37. package/dist/{EmbedInput-DaMyfqJY.js → EmbedInput-DnSz1tbL.js} +18 -18
  38. package/dist/{EmbedSettings-Bc1eYQT0.js → EmbedSettings-BQ1kKupC.js} +5 -5
  39. package/dist/{ErrorCallout-DlQuu1rj.js → ErrorCallout-XMtdcNvE.js} +4 -4
  40. package/dist/{FilePreviewModal-BU9Sbe30.js → FilePreviewModal-Bv28RVrN.js} +20 -20
  41. package/dist/{Flag-CO6k_SbL.js → Flag-CcF7qtHi.js} +1 -1
  42. package/dist/{HeaderSettings-Dc7tbdZd.js → HeaderSettings-SKEJyM9y.js} +20 -20
  43. package/dist/{ImageSelectModal-d2IEg740.js → ImageSelectModal-BNXs_Rfh.js} +3 -3
  44. package/dist/{ImageUploadWrapper-B6hVAJaZ.js → ImageUploadWrapper-BmlB0qHZ.js} +23 -23
  45. package/dist/{Index-B2xKlEgp.js → Index-B1mvOHsr.js} +5 -5
  46. package/dist/{Index-CXEmMsr7.js → Index-B4EqZ9op.js} +8 -8
  47. package/dist/{Index-BJFdGM64.js → Index-B8soD6pI.js} +2 -2
  48. package/dist/{Index-C51ttD-V.js → Index-BDW4tvrc.js} +2 -2
  49. package/dist/{Index-m4JD2kLy.js → Index-BLC_eYvf.js} +2 -2
  50. package/dist/{Index-C7lZs4w7.js → Index-BNetDL7G.js} +4 -4
  51. package/dist/{Index-Br1Beh1t.js → Index-BRIv1n05.js} +4 -4
  52. package/dist/{Index-vj_4fW0L.js → Index-BS-ERsZ7.js} +28 -28
  53. package/dist/{Index-hTFQZ8P4.js → Index-BS1J5b8c.js} +3 -3
  54. package/dist/{Index-CIhXv9Vl.js → Index-B_R1p7cp.js} +1 -1
  55. package/dist/{Index-OOuia-Qn.js → Index-BbEj20KG.js} +13 -13
  56. package/dist/{Index-CRyXpadf.js → Index-Bd3gjqXz.js} +6 -6
  57. package/dist/{Index-FOlkhY4l.js → Index-Bxi4pinD.js} +3 -3
  58. package/dist/{Index-C8Vaj5ox.js → Index-Bz6vrP4D.js} +4 -4
  59. package/dist/{Index-CgUYpoRx.js → Index-C2Jql1QC.js} +16 -16
  60. package/dist/{Index-lrMaEM_k.js → Index-C6r2p8Qd.js} +7 -7
  61. package/dist/{Index-CpSQ5aXa.js → Index-C9k2n-HK.js} +4 -4
  62. package/dist/{Index--oU_6qkg.js → Index-CDdxLKdQ.js} +4 -4
  63. package/dist/{Index-BDxHSXUe.js → Index-CQSkYi57.js} +6 -6
  64. package/dist/{Index-BFFBTLqx.js → Index-CVoJGfTj.js} +5 -5
  65. package/dist/{Index-xaM6i_Ur.js → Index-CYjEFdMF.js} +2 -2
  66. package/dist/{Index-DqyAAbPV.js → Index-Ca6-XJ1q.js} +23 -23
  67. package/dist/{Index-Cyg7Cxb6.js → Index-CfpNMWEI.js} +5 -5
  68. package/dist/{Index-DmCgJ6-P.js → Index-Coef67Wb.js} +8 -8
  69. package/dist/{Index-CTR16GFI.js → Index-DRadSzmh.js} +11 -11
  70. package/dist/{Index-BlwNDGUd.js → Index-DU19comM.js} +14 -14
  71. package/dist/{Index-nspOYYbJ.js → Index-DquGwrE6.js} +11 -11
  72. package/dist/{Index-zwGVqaGe.js → Index-Dz3beMLO.js} +5 -5
  73. package/dist/{Index-DQ67Jdhz.js → Index-GmMgg4ZI.js} +10 -10
  74. package/dist/{Index-Bmv9uPyM.js → Index-LNHTL5EH.js} +1 -1
  75. package/dist/Index-Ra_-tX11.js +106 -0
  76. package/dist/Index-aOBMRrRj.js +4 -0
  77. package/dist/{Index-CP9Mwo6E.js → Index-ec9osPpw.js} +4 -4
  78. package/dist/{Index-4N9vyKBQ.js → Index-mcDMCki9.js} +30 -30
  79. package/dist/{Index.vue_vue_type_script_lang-C5astrcb.js → Index.vue_vue_type_script_lang-DOtAXSQl.js} +2 -2
  80. package/dist/{InputToggleRow-BBWZeA_f.js → InputToggleRow-DH7USYPf.js} +9 -9
  81. package/dist/{ManualPopover-DTwmTCPu.js → ManualPopover-JDRhdC8G.js} +3 -3
  82. package/dist/{MediaWrapper-Y0DGv4f8.js → MediaWrapper-DdbmCwGw.js} +3 -3
  83. package/dist/{NotBindingText-FUapTBAD.js → NotBindingText-CwV-MkgL.js} +2 -2
  84. package/dist/{PackageGroup-ChiyEDwB.js → PackageGroup-CH-8hyAF.js} +10 -10
  85. package/dist/{PdfTerms-CuQguFsD.js → PdfTerms-BBeN_k6I.js} +4 -4
  86. package/dist/{PdfViewer-Brnjp6OZ.js → PdfViewer-Du_M79jv.js} +27 -27
  87. package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-D5CY66LQ.js → PlainHtml.vue_vue_type_script_setup_true_lang-BKJdTPrg.js} +1 -1
  88. package/dist/{PriceHeader-DpCLCW93.js → PriceHeader-Be2QwWzs.js} +25 -25
  89. package/dist/{SearchApi-iBG9y8ZN.js → SearchApi-dNunyqch.js} +1 -1
  90. package/dist/{SendForm-CTd08c8d.js → SendForm-BIIwVZwY.js} +143 -130
  91. package/dist/{Setup-C2kYjDKF.js → Setup-DBbHXz4_.js} +1 -1
  92. package/dist/{SmartList-BBq3BgJi.js → SmartList-C2JUKK2W.js} +1 -1
  93. package/dist/{Sortable.vue_vue_type_script_setup_true_lang-DyiB_0J-.js → Sortable.vue_vue_type_script_setup_true_lang-CzrvSsIg.js} +35 -35
  94. package/dist/{TermsSettings-Dj6sTbrm.js → TermsSettings-BZBWd3c9.js} +11 -11
  95. package/dist/{ThemeColorRow-BiwW-diz.js → ThemeColorRow-7KF7icN8.js} +5 -5
  96. package/dist/{ToggleBinding-JP15-Wvc.js → ToggleBinding-w8lNunzO.js} +4 -4
  97. package/dist/{UploadModal-zYfzZsGt.js → UploadModal-BRdimOyC.js} +2 -2
  98. package/dist/{VideoPlayerInput-zU6Kw9cw.js → VideoPlayerInput-BHmr7HvX.js} +6 -6
  99. package/dist/{VideoPlayerSettings-D7cfFYht.js → VideoPlayerSettings-fI8gpjks.js} +6 -6
  100. package/dist/{VideoSelectModal-CjOlhyNV.js → VideoSelectModal-Beq5yE0M.js} +9 -9
  101. package/dist/{focusDrawerMixin-C0aQjH6-.js → focusDrawerMixin-vhY6JO7g.js} +1 -1
  102. package/dist/{formDrawerState-CyABAApS.js → formDrawerState-ChHVYfc3.js} +1 -1
  103. package/dist/{fortnoxTheme-DQVyPRLl.js → fortnoxTheme-BGyYnb8i.js} +1 -1
  104. package/dist/{helpers-H5tqC2mD.js → helpers-Dw4CluFv.js} +1 -1
  105. package/dist/{index-EUYwyBFe.js → index-BUPqyA87.js} +6 -6
  106. package/dist/{index-77ik5EB2.js → index-BcnDsk0Z.js} +1 -1
  107. package/dist/{index-JV3eF8nv.js → index-C-tsPusW.js} +7 -7
  108. package/dist/{index-Ze_XZYbW.js → index-CPfrJsi9.js} +13 -13
  109. package/dist/{index-z_Lljo35.js → index-DJYVhEQt.js} +22 -22
  110. package/dist/{index-Cp5KfNdY.js → index-DihGX5od.js} +30 -30
  111. package/dist/{index-6-kWjuuL.js → index-syUJ22zc.js} +25 -28
  112. package/dist/index.es.js +3 -3
  113. package/dist/index.umd.js +140 -138
  114. package/dist/{main-BN-1fMb8.js → main-BBhJGb7I.js} +4908 -4635
  115. package/dist/{mapFormMixin-CM1I_eW_.js → mapFormMixin-CCKubywa.js} +2 -2
  116. package/dist/omit-Cdd54eFA.js +56 -0
  117. package/dist/{publicSenderState-BbL_iSL_.js → publicSenderState-LkIY-kEl.js} +1 -1
  118. package/dist/{splitpanes--dOqXPIb.js → splitpanes-nCfEUpmu.js} +1 -1
  119. package/dist/{template-BwkDoewU.js → template-B-Ds8x_U.js} +1 -1
  120. package/dist/{tippy.esm-BDnfKmn9.js → tippy.esm-DdYqbHFh.js} +66 -66
  121. package/dist/{useTermsModal-CmEHVDST.js → useTermsModal-Z_pZQ4H2.js} +4 -4
  122. package/dist/{utils-BVo-Ajwa.js → utils-C3tvmZHk.js} +1 -1
  123. package/dist/validation-CWxbj-wT.js +40 -0
  124. package/dist/widget.css +1 -1
  125. package/package.json +1 -1
  126. package/dist/Index-C7fJuk6X.js +0 -4
  127. package/dist/Index-M2_bF0WP.js +0 -87
  128. package/dist/omit-D9nqAztq.js +0 -56
  129. package/dist/validation-BJw9_38H.js +0 -40
@@ -1,5 +1,5 @@
1
- import { aE as r, aD as d, i as m, bv as w, bw as g, bx as y, by as x, bz as v, bA as k, af as h } from "./main-BN-1fMb8.js";
2
- import { t as V, c as b, a as H, g as I, b as M } from "./template-BwkDoewU.js";
1
+ import { aF as r, aE as d, i as m, bw as w, bx as g, by as y, bz as x, bA as v, bB as k, ag as h } from "./main-BBhJGb7I.js";
2
+ import { t as V, c as b, a as H, g as I, b as M } from "./template-B-Ds8x_U.js";
3
3
  const T = (e) => {
4
4
  const t = Array(2).fill().map(() => r());
5
5
  return [
@@ -0,0 +1,56 @@
1
+ import { aW as A, aX as P, aY as y, aZ as S, a_ as p, a$ as x, b0 as D, b1 as G, b2 as I, b3 as M, aL as N } from "./main-BBhJGb7I.js";
2
+ var f, q;
3
+ function T() {
4
+ if (q) return f;
5
+ q = 1;
6
+ var r = A();
7
+ function t(e) {
8
+ return r(e) ? void 0 : e;
9
+ }
10
+ return f = t, f;
11
+ }
12
+ var _, O;
13
+ function j() {
14
+ if (O) return _;
15
+ O = 1;
16
+ var r = P();
17
+ function t(e) {
18
+ var a = e == null ? 0 : e.length;
19
+ return a ? r(e, 1) : [];
20
+ }
21
+ return _ = t, _;
22
+ }
23
+ var v, b;
24
+ function K() {
25
+ if (b) return v;
26
+ b = 1;
27
+ var r = j(), t = S(), e = y();
28
+ function a(i) {
29
+ return e(t(i, void 0, r), i + "");
30
+ }
31
+ return v = a, v;
32
+ }
33
+ var c, C;
34
+ function U() {
35
+ if (C) return c;
36
+ C = 1;
37
+ var r = M(), t = p(), e = x(), a = D(), i = G(), R = T(), g = K(), F = I(), L = 1, d = 2, E = 4, h = g(function(u, s) {
38
+ var n = {};
39
+ if (u == null)
40
+ return n;
41
+ var o = !1;
42
+ s = r(s, function(l) {
43
+ return l = a(l, u), o || (o = l.length > 1), l;
44
+ }), i(u, F(u), n), o && (n = t(n, L | d | E, R));
45
+ for (var m = s.length; m--; )
46
+ e(n, s[m]);
47
+ return n;
48
+ });
49
+ return c = h, c;
50
+ }
51
+ var Y = U();
52
+ const B = /* @__PURE__ */ N(Y);
53
+ export {
54
+ B as o,
55
+ K as r
56
+ };
@@ -1,4 +1,4 @@
1
- import { r as c, a6 as a } from "./main-BN-1fMb8.js";
1
+ import { r as c, a7 as a } from "./main-BBhJGb7I.js";
2
2
  const e = JSON.parse(a.getItem("publicSender")), s = c({
3
3
  company: {
4
4
  name: "",
@@ -1,4 +1,4 @@
1
- import { ak as m, d as u, o as c, T as z, W as x } from "./main-BN-1fMb8.js";
1
+ import { al as m, d as u, o as c, U as z, X as x } from "./main-BBhJGb7I.js";
2
2
  const M = {
3
3
  name: "splitpanes",
4
4
  emits: ["ready", "resize", "resized", "pane-click", "pane-maximize", "pane-add", "pane-remove", "splitter-click"],
@@ -1,4 +1,4 @@
1
- import { aD as C, i as _, aE as v, af as H, aF as x } from "./main-BN-1fMb8.js";
1
+ import { aE as C, i as _, aF as v, ag as H, aG as x } from "./main-BBhJGb7I.js";
2
2
  const G = (e) => [
3
3
  {
4
4
  itemId: "embed",
@@ -1,8 +1,8 @@
1
- import { F as Tr } from "./DocumentLayout-Q5yx_Q6I.js";
2
- import { _ as Ar, l as Cr, b as xe, a4 as Dr, d as I, o as P, j as _, u as kr, e as It, t as pe, F as Le, n as st, x as _r, R as ve, f as ce, w as Re, W as Lr, an as Rr, c as Sr, q as Pr } from "./main-BN-1fMb8.js";
3
- import { b as Ir, a as Mr } from "./CDropdownItem-CM3Ir-XA.js";
4
- import { C as jr } from "./ColorPicker-Bdwc47q6.js";
5
- import { C as Br } from "./CCurrencyDropdown-B8g2vrhq.js";
1
+ import { F as Tr } from "./DocumentLayout-DHSEYClM.js";
2
+ import { _ as Ar, n as Cr, b as xe, a5 as Dr, d as I, o as P, j as _, v as kr, e as It, t as pe, F as Le, q as st, y as _r, T as ve, f as ce, w as Se, X as Lr, ao as Sr, c as Rr, s as Pr } from "./main-BBhJGb7I.js";
3
+ import { b as Ir, a as Mr } from "./CDropdownItem-pNNH9fV3.js";
4
+ import { C as jr } from "./ColorPicker-B5rSvXLV.js";
5
+ import { C as Br } from "./CCurrencyDropdown-DKWtCUE_.js";
6
6
  const Vr = {
7
7
  components: {
8
8
  ColorPicker: jr,
@@ -163,7 +163,7 @@ function cn(e, t, r, n, i, s) {
163
163
  expanded: "",
164
164
  style: { width: "100%" }
165
165
  }, {
166
- trigger: Re(() => [
166
+ trigger: Se(() => [
167
167
  _("div", Zr, [
168
168
  _("div", {
169
169
  style: Lr([{ "background-color": l.props.value }, { height: "20px", width: "26px", margin: "0px 3px", "border-radius": "3px", "box-shadow": "inset 0 0 2px rgba(0, 0, 0, 0.3)" }])
@@ -173,7 +173,7 @@ function cn(e, t, r, n, i, s) {
173
173
  key: 0,
174
174
  class: "plain-button",
175
175
  style: { position: "absolute", width: "24px", right: "2px", display: "grid", "place-items": "center", top: "2px", bottom: "2px", "border-radius": "4px" },
176
- onClick: Rr((f) => l.onInput(""), ["prevent", "stop"])
176
+ onClick: Sr((f) => l.onInput(""), ["prevent", "stop"])
177
177
  }, [
178
178
  ce(p, {
179
179
  type: "reset",
@@ -183,7 +183,7 @@ function cn(e, t, r, n, i, s) {
183
183
  ], 8, tn)) : It("", !0)
184
184
  ])
185
185
  ]),
186
- default: Re(() => [
186
+ default: Se(() => [
187
187
  ce(c, ve({ ref_for: !0 }, l.props, {
188
188
  style: { "box-shadow": "none" },
189
189
  "model-value": l.props.value,
@@ -201,7 +201,7 @@ function cn(e, t, r, n, i, s) {
201
201
  class: "font-input-wrapper",
202
202
  "onUpdate:modelValue": (f) => l.onInput && l.onInput(f)
203
203
  }), {
204
- default: Re(({ selectedFamily: f }) => [
204
+ default: Se(({ selectedFamily: f }) => [
205
205
  _("button", rn, [
206
206
  _("span", nn, pe(f), 1)
207
207
  ])
@@ -217,7 +217,7 @@ function cn(e, t, r, n, i, s) {
217
217
  class: "currency-input-wrapper",
218
218
  "onUpdate:modelValue": (f) => l.onInput && l.onInput(f)
219
219
  }), {
220
- default: Re(({ selectedValue: f }) => [
220
+ default: Se(({ selectedValue: f }) => [
221
221
  _("button", on, [
222
222
  _("span", an, pe(f), 1)
223
223
  ])
@@ -242,14 +242,14 @@ function cn(e, t, r, n, i, s) {
242
242
  "menu-styling": { width: l.props.width },
243
243
  style: { width: "100%" }
244
244
  }, {
245
- trigger: Re(() => [
245
+ trigger: Se(() => [
246
246
  _("div", sn, [
247
247
  _("div", un, pe(l.props.value), 1)
248
248
  ])
249
249
  ]),
250
- default: Re(() => [
250
+ default: Se(() => [
251
251
  _("div", null, [
252
- (P(!0), I(Le, null, st(l.props.popup.inputs, (f, g) => (P(), Sr(O, {
252
+ (P(!0), I(Le, null, st(l.props.popup.inputs, (f, g) => (P(), Rr(O, {
253
253
  key: g,
254
254
  inputs: f.inputs,
255
255
  label: f.label
@@ -277,10 +277,10 @@ const ln = /* @__PURE__ */ Ar(Vr, [["render", cn], ["__scopeId", "data-v-8c904ab
277
277
  __proto__: null,
278
278
  default: ln
279
279
  }, Symbol.toStringTag, { value: "Module" }));
280
- var H = "top", K = "bottom", G = "right", U = "left", At = "auto", Ye = [H, K, G, U], Se = "start", qe = "end", dn = "clippingParents", er = "viewport", He = "popper", vn = "reference", Mt = /* @__PURE__ */ Ye.reduce(function(e, t) {
281
- return e.concat([t + "-" + Se, t + "-" + qe]);
280
+ var H = "top", K = "bottom", G = "right", U = "left", At = "auto", Ye = [H, K, G, U], Re = "start", qe = "end", dn = "clippingParents", er = "viewport", He = "popper", vn = "reference", Mt = /* @__PURE__ */ Ye.reduce(function(e, t) {
281
+ return e.concat([t + "-" + Re, t + "-" + qe]);
282
282
  }, []), tr = /* @__PURE__ */ [].concat(Ye, [At]).reduce(function(e, t) {
283
- return e.concat([t, t + "-" + Se, t + "-" + qe]);
283
+ return e.concat([t, t + "-" + Re, t + "-" + qe]);
284
284
  }, []), mn = "beforeRead", hn = "read", gn = "afterRead", yn = "beforeMain", bn = "main", wn = "afterMain", xn = "beforeWrite", On = "write", En = "afterWrite", Tn = [mn, hn, gn, yn, bn, wn, xn, On, En];
285
285
  function oe(e) {
286
286
  return e ? (e.nodeName || "").toLowerCase() : null;
@@ -482,14 +482,14 @@ var Ln = function(t, r) {
482
482
  placement: r.placement
483
483
  })) : t, ar(typeof t != "number" ? t : sr(t, Ye));
484
484
  };
485
- function Rn(e) {
485
+ function Sn(e) {
486
486
  var t, r = e.state, n = e.name, i = e.options, s = r.elements.arrow, p = r.modifiersData.popperOffsets, c = ne(r.placement), u = kt(c), v = [U, G].indexOf(c) >= 0, d = v ? "height" : "width";
487
487
  if (!(!s || !p)) {
488
488
  var x = Ln(i.padding, r), O = Dt(s), y = u === "y" ? H : U, l = u === "y" ? K : G, b = r.rects.reference[d] + r.rects.reference[u] - p[u] - r.rects.popper[d], f = p[u] - r.rects.reference[u], g = Ke(s), E = g ? u === "y" ? g.clientHeight || 0 : g.clientWidth || 0 : 0, T = b / 2 - f / 2, o = x[y], A = E - O[d] - x[l], h = E / 2 - O[d] / 2 + T, k = Ue(o, h, A), j = u;
489
489
  r.modifiersData[n] = (t = {}, t[j] = k, t.centerOffset = k - h, t);
490
490
  }
491
491
  }
492
- function Sn(e) {
492
+ function Rn(e) {
493
493
  var t = e.state, r = e.options, n = r.element, i = n === void 0 ? "[data-popper-arrow]" : n;
494
494
  i != null && (typeof i == "string" && (i = t.elements.popper.querySelector(i), !i) || or(t.elements.popper, i) && (t.elements.arrow = i));
495
495
  }
@@ -497,8 +497,8 @@ const Pn = {
497
497
  name: "arrow",
498
498
  enabled: !0,
499
499
  phase: "main",
500
- fn: Rn,
501
- effect: Sn,
500
+ fn: Sn,
501
+ effect: Rn,
502
502
  requires: ["popperOffsets"],
503
503
  requiresIfExists: ["preventOverflow"]
504
504
  };
@@ -540,23 +540,23 @@ function Bt(e) {
540
540
  }
541
541
  if (i === U || (i === H || i === K) && s === qe) {
542
542
  T = G;
543
- var R = x && h === A && A.visualViewport ? A.visualViewport.width : (
543
+ var S = x && h === A && A.visualViewport ? A.visualViewport.width : (
544
544
  // $FlowFixMe[prop-missing]
545
545
  h[j]
546
546
  );
547
- y -= R - n.width, y *= u ? 1 : -1;
547
+ y -= S - n.width, y *= u ? 1 : -1;
548
548
  }
549
549
  }
550
550
  var B = Object.assign({
551
551
  position: c
552
- }, v && In), S = d === !0 ? Mn({
552
+ }, v && In), R = d === !0 ? Mn({
553
553
  x: y,
554
554
  y: b
555
555
  }) : {
556
556
  x: y,
557
557
  y: b
558
558
  };
559
- if (y = S.x, b = S.y, u) {
559
+ if (y = R.x, b = R.y, u) {
560
560
  var L;
561
561
  return Object.assign({}, B, (L = {}, L[o] = E ? "0" : "", L[T] = g ? "0" : "", L.transform = (A.devicePixelRatio || 1) <= 1 ? "translate(" + y + "px, " + b + "px)" : "translate3d(" + y + "px, " + b + "px, 0)", L));
562
562
  }
@@ -667,17 +667,17 @@ function Un(e) {
667
667
  y: u
668
668
  };
669
669
  }
670
- function Rt(e) {
670
+ function St(e) {
671
671
  var t = le(e), r = t.overflow, n = t.overflowX, i = t.overflowY;
672
672
  return /auto|scroll|overlay|hidden/.test(r + i + n);
673
673
  }
674
674
  function ur(e) {
675
- return ["html", "body", "#document"].indexOf(oe(e)) >= 0 ? e.ownerDocument.body : Y(e) && Rt(e) ? e : ur(dt(e));
675
+ return ["html", "body", "#document"].indexOf(oe(e)) >= 0 ? e.ownerDocument.body : Y(e) && St(e) ? e : ur(dt(e));
676
676
  }
677
677
  function We(e, t) {
678
678
  var r;
679
679
  t === void 0 && (t = []);
680
- var n = ur(e), i = n === ((r = e.ownerDocument) == null ? void 0 : r.body), s = J(n), p = i ? [s].concat(s.visualViewport || [], Rt(n) ? n : []) : n, c = t.concat(p);
680
+ var n = ur(e), i = n === ((r = e.ownerDocument) == null ? void 0 : r.body), s = J(n), p = i ? [s].concat(s.visualViewport || [], St(n) ? n : []) : n, c = t.concat(p);
681
681
  return i ? c : (
682
682
  // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
683
683
  c.concat(We(dt(p)))
@@ -748,7 +748,7 @@ function pr(e) {
748
748
  if (v != null) {
749
749
  var d = v === "y" ? "height" : "width";
750
750
  switch (s) {
751
- case Se:
751
+ case Re:
752
752
  u[v] = u[v] - (t[d] / 2 - r[d] / 2);
753
753
  break;
754
754
  case qe:
@@ -764,20 +764,20 @@ function Xe(e, t) {
764
764
  reference: h,
765
765
  element: T,
766
766
  placement: i
767
- }), j = Ot(Object.assign({}, T, k)), M = O === He ? j : h, R = {
767
+ }), j = Ot(Object.assign({}, T, k)), M = O === He ? j : h, S = {
768
768
  top: A.top - M.top + g.top,
769
769
  bottom: M.bottom - A.bottom + g.bottom,
770
770
  left: A.left - M.left + g.left,
771
771
  right: M.right - A.right + g.right
772
772
  }, B = e.modifiersData.offset;
773
773
  if (O === He && B) {
774
- var S = B[i];
775
- Object.keys(R).forEach(function(L) {
774
+ var R = B[i];
775
+ Object.keys(S).forEach(function(L) {
776
776
  var W = [G, K].indexOf(L) >= 0 ? 1 : -1, z = [H, K].indexOf(L) >= 0 ? "y" : "x";
777
- R[L] += S[z] * W;
777
+ S[L] += R[z] * W;
778
778
  });
779
779
  }
780
- return R;
780
+ return S;
781
781
  }
782
782
  function Xn(e, t) {
783
783
  t === void 0 && (t = {});
@@ -817,8 +817,8 @@ function Kn(e) {
817
817
  flipVariations: l,
818
818
  allowedAutoPlacements: b
819
819
  }) : Q);
820
- }, []), A = t.rects.reference, h = t.rects.popper, k = /* @__PURE__ */ new Map(), j = !0, M = o[0], R = 0; R < o.length; R++) {
821
- var B = o[R], S = ne(B), L = Me(B) === Se, W = [H, K].indexOf(S) >= 0, z = W ? "width" : "height", $ = Xe(t, {
820
+ }, []), A = t.rects.reference, h = t.rects.popper, k = /* @__PURE__ */ new Map(), j = !0, M = o[0], S = 0; S < o.length; S++) {
821
+ var B = o[S], R = ne(B), L = Me(B) === Re, W = [H, K].indexOf(R) >= 0, z = W ? "width" : "height", $ = Xe(t, {
822
822
  placement: B,
823
823
  boundary: d,
824
824
  rootBoundary: x,
@@ -827,7 +827,7 @@ function Kn(e) {
827
827
  }), N = W ? L ? G : U : L ? K : H;
828
828
  A[z] > h[z] && (N = ct(N));
829
829
  var V = ct(N), Z = [];
830
- if (s && Z.push($[S] <= 0), c && Z.push($[N] <= 0, $[V] <= 0), Z.every(function(ie) {
830
+ if (s && Z.push($[R] <= 0), c && Z.push($[N] <= 0, $[V] <= 0), Z.every(function(ie) {
831
831
  return ie;
832
832
  })) {
833
833
  M = B, j = !1;
@@ -953,29 +953,29 @@ function io(e) {
953
953
  altBoundary: d
954
954
  }), g = ne(t.placement), E = Me(t.placement), T = !E, o = kt(g), A = oo(o), h = t.modifiersData.popperOffsets, k = t.rects.reference, j = t.rects.popper, M = typeof b == "function" ? b(Object.assign({}, t.rects, {
955
955
  placement: t.placement
956
- })) : b, R = typeof M == "number" ? {
956
+ })) : b, S = typeof M == "number" ? {
957
957
  mainAxis: M,
958
958
  altAxis: M
959
959
  } : Object.assign({
960
960
  mainAxis: 0,
961
961
  altAxis: 0
962
- }, M), B = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, S = {
962
+ }, M), B = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, R = {
963
963
  x: 0,
964
964
  y: 0
965
965
  };
966
966
  if (h) {
967
967
  if (s) {
968
- var L, W = o === "y" ? H : U, z = o === "y" ? K : G, $ = o === "y" ? "height" : "width", N = h[o], V = N + f[W], Z = N - f[z], ee = y ? -j[$] / 2 : 0, ge = E === Se ? k[$] : j[$], te = E === Se ? -j[$] : -k[$], ye = t.elements.arrow, ie = y && ye ? Dt(ye) : {
968
+ var L, W = o === "y" ? H : U, z = o === "y" ? K : G, $ = o === "y" ? "height" : "width", N = h[o], V = N + f[W], Z = N - f[z], ee = y ? -j[$] / 2 : 0, ge = E === Re ? k[$] : j[$], te = E === Re ? -j[$] : -k[$], ye = t.elements.arrow, ie = y && ye ? Dt(ye) : {
969
969
  width: 0,
970
970
  height: 0
971
- }, Q = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : ir(), ae = Q[W], Ae = Q[z], se = Ue(0, k[$], ie[$]), Ce = T ? k[$] / 2 - ee - se - ae - R.mainAxis : ge - se - ae - R.mainAxis, fe = T ? -k[$] / 2 + ee + se + Ae + R.mainAxis : te + se + Ae + R.mainAxis, De = t.elements.arrow && Ke(t.elements.arrow), Ge = De ? o === "y" ? De.clientTop || 0 : De.clientLeft || 0 : 0, Be = (L = B == null ? void 0 : B[o]) != null ? L : 0, Je = N + Ce - Be - Ge, Qe = N + fe - Be, Ve = Ue(y ? lt(V, Je) : V, N, y ? Ee(Z, Qe) : Z);
972
- h[o] = Ve, S[o] = Ve - N;
971
+ }, Q = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : ir(), ae = Q[W], Ae = Q[z], se = Ue(0, k[$], ie[$]), Ce = T ? k[$] / 2 - ee - se - ae - S.mainAxis : ge - se - ae - S.mainAxis, fe = T ? -k[$] / 2 + ee + se + Ae + S.mainAxis : te + se + Ae + S.mainAxis, De = t.elements.arrow && Ke(t.elements.arrow), Ge = De ? o === "y" ? De.clientTop || 0 : De.clientLeft || 0 : 0, Be = (L = B == null ? void 0 : B[o]) != null ? L : 0, Je = N + Ce - Be - Ge, Qe = N + fe - Be, Ve = Ue(y ? lt(V, Je) : V, N, y ? Ee(Z, Qe) : Z);
972
+ h[o] = Ve, R[o] = Ve - N;
973
973
  }
974
974
  if (c) {
975
- var $e, Ze = o === "x" ? H : U, et = o === "x" ? K : G, ue = h[A], de = A === "y" ? "height" : "width", Ne = ue + f[Ze], be = ue - f[et], Fe = [H, U].indexOf(g) !== -1, tt = ($e = B == null ? void 0 : B[A]) != null ? $e : 0, rt = Fe ? Ne : ue - k[de] - j[de] - tt + R.altAxis, nt = Fe ? ue + k[de] + j[de] - tt - R.altAxis : be, ot = y && Fe ? _n(rt, ue, nt) : Ue(y ? rt : Ne, ue, y ? nt : be);
976
- h[A] = ot, S[A] = ot - ue;
975
+ var $e, Ze = o === "x" ? H : U, et = o === "x" ? K : G, ue = h[A], de = A === "y" ? "height" : "width", Ne = ue + f[Ze], be = ue - f[et], Fe = [H, U].indexOf(g) !== -1, tt = ($e = B == null ? void 0 : B[A]) != null ? $e : 0, rt = Fe ? Ne : ue - k[de] - j[de] - tt + S.altAxis, nt = Fe ? ue + k[de] + j[de] - tt - S.altAxis : be, ot = y && Fe ? _n(rt, ue, nt) : Ue(y ? rt : Ne, ue, y ? nt : be);
976
+ h[A] = ot, R[A] = ot - ue;
977
977
  }
978
- t.modifiersData[n] = S;
978
+ t.modifiersData[n] = R;
979
979
  }
980
980
  }
981
981
  const ao = {
@@ -1008,7 +1008,7 @@ function co(e, t, r) {
1008
1008
  y: 0
1009
1009
  };
1010
1010
  return (n || !n && !r) && ((oe(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
1011
- Rt(s)) && (c = uo(t)), Y(t) ? (u = Ie(t, !0), u.x += t.clientLeft, u.y += t.clientTop) : s && (u.x = Lt(s))), {
1011
+ St(s)) && (c = uo(t)), Y(t) ? (u = Ie(t, !0), u.x += t.clientLeft, u.y += t.clientTop) : s && (u.x = Lt(s))), {
1012
1012
  x: p.left + c.scrollLeft - u.x,
1013
1013
  y: p.top + c.scrollTop - u.y,
1014
1014
  width: p.width,
@@ -1117,8 +1117,8 @@ function ho(e) {
1117
1117
  d.rects = {
1118
1118
  reference: co(E, Ke(T), d.options.strategy === "fixed"),
1119
1119
  popper: Dt(T)
1120
- }, d.reset = !1, d.placement = d.options.placement, d.orderedModifiers.forEach(function(R) {
1121
- return d.modifiersData[R.name] = Object.assign({}, R.data);
1120
+ }, d.reset = !1, d.placement = d.options.placement, d.orderedModifiers.forEach(function(S) {
1121
+ return d.modifiersData[S.name] = Object.assign({}, S.data);
1122
1122
  });
1123
1123
  for (var o = 0; o < d.orderedModifiers.length; o++) {
1124
1124
  if (d.reset === !0) {
@@ -1190,7 +1190,7 @@ function gt(e, t, r) {
1190
1190
  }
1191
1191
  return e;
1192
1192
  }
1193
- function St(e, t) {
1193
+ function Rt(e, t) {
1194
1194
  var r = {}.toString.call(e);
1195
1195
  return r.indexOf("[object") === 0 && r.indexOf(t + "]") > -1;
1196
1196
  }
@@ -1243,14 +1243,14 @@ function ze() {
1243
1243
  }
1244
1244
  function vt(e) {
1245
1245
  return ["Element", "Fragment"].some(function(t) {
1246
- return St(e, t);
1246
+ return Rt(e, t);
1247
1247
  });
1248
1248
  }
1249
1249
  function Ao(e) {
1250
- return St(e, "NodeList");
1250
+ return Rt(e, "NodeList");
1251
1251
  }
1252
1252
  function Co(e) {
1253
- return St(e, "MouseEvent");
1253
+ return Rt(e, "MouseEvent");
1254
1254
  }
1255
1255
  function Do(e) {
1256
1256
  return !!(e && e._tippy && e._tippy.reference === e);
@@ -1300,14 +1300,14 @@ function Yt(e, t) {
1300
1300
  var re = {
1301
1301
  isTouch: !1
1302
1302
  }, Kt = 0;
1303
- function Ro() {
1303
+ function So() {
1304
1304
  re.isTouch || (re.isTouch = !0, window.performance && document.addEventListener("mousemove", mr));
1305
1305
  }
1306
1306
  function mr() {
1307
1307
  var e = performance.now();
1308
1308
  e - Kt < 20 && (re.isTouch = !1, document.removeEventListener("mousemove", mr)), Kt = e;
1309
1309
  }
1310
- function So() {
1310
+ function Ro() {
1311
1311
  var e = document.activeElement;
1312
1312
  if (Do(e)) {
1313
1313
  var t = e._tippy;
@@ -1315,7 +1315,7 @@ function So() {
1315
1315
  }
1316
1316
  }
1317
1317
  function Po() {
1318
- document.addEventListener("touchstart", Ro, me), window.addEventListener("blur", So);
1318
+ document.addEventListener("touchstart", So, me), window.addEventListener("blur", Ro);
1319
1319
  }
1320
1320
  var Io = typeof window < "u" && typeof document < "u", Mo = Io ? (
1321
1321
  // @ts-ignore
@@ -1517,14 +1517,14 @@ function Uo(e, t) {
1517
1517
  }), h.addEventListener("mouseleave", function() {
1518
1518
  o.props.interactive && o.props.trigger.indexOf("mouseenter") >= 0 && W().addEventListener("mousemove", l);
1519
1519
  }), o;
1520
- function R() {
1520
+ function S() {
1521
1521
  var a = o.props.touch;
1522
1522
  return Array.isArray(a) ? a : [a, 0];
1523
1523
  }
1524
1524
  function B() {
1525
- return R()[0] === "hold";
1525
+ return S()[0] === "hold";
1526
1526
  }
1527
- function S() {
1527
+ function R() {
1528
1528
  var a;
1529
1529
  return !!((a = o.props.render) != null && a.$$tippy);
1530
1530
  }
@@ -1707,7 +1707,7 @@ function Uo(e, t) {
1707
1707
  }
1708
1708
  function Ze() {
1709
1709
  et();
1710
- var a = o.props, m = a.popperOptions, w = a.placement, D = a.offset, C = a.getReferenceClientRect, F = a.moveTransition, X = S() ? Tt(h).arrow : null, ke = C ? {
1710
+ var a = o.props, m = a.popperOptions, w = a.placement, D = a.offset, C = a.getReferenceClientRect, F = a.moveTransition, X = R() ? Tt(h).arrow : null, ke = C ? {
1711
1711
  getBoundingClientRect: C,
1712
1712
  contextElement: C.contextElement || L()
1713
1713
  } : e, Pt = {
@@ -1717,7 +1717,7 @@ function Uo(e, t) {
1717
1717
  requires: ["computeStyles"],
1718
1718
  fn: function(it) {
1719
1719
  var _e = it.state;
1720
- if (S()) {
1720
+ if (R()) {
1721
1721
  var Er = z(), ht = Er.box;
1722
1722
  ["placement", "reference-hidden", "escaped"].forEach(function(at) {
1723
1723
  at === "placement" ? ht.setAttribute("data-placement", _e.placement) : _e.attributes.popper["data-popper-" + at] ? ht.setAttribute("data-" + at, "") : ht.removeAttribute("data-" + at);
@@ -1750,7 +1750,7 @@ function Uo(e, t) {
1750
1750
  adaptive: !F
1751
1751
  }
1752
1752
  }, Pt];
1753
- S() && X && we.push({
1753
+ R() && X && we.push({
1754
1754
  name: "arrow",
1755
1755
  options: {
1756
1756
  element: X,
@@ -1774,7 +1774,7 @@ function Uo(e, t) {
1774
1774
  }
1775
1775
  function Ne(a) {
1776
1776
  o.clearDelayTimeouts(), a && V("onTrigger", [o, a]), Q();
1777
- var m = $(!0), w = R(), D = w[0], C = w[1];
1777
+ var m = $(!0), w = S(), D = w[0], C = w[1];
1778
1778
  re.isTouch && D === "hold" && C && (m = C), m ? n = setTimeout(function() {
1779
1779
  o.show();
1780
1780
  }, m) : o.show();
@@ -1823,18 +1823,18 @@ function Uo(e, t) {
1823
1823
  function yr() {
1824
1824
  var a = o.state.isVisible, m = o.state.isDestroyed, w = !o.state.isEnabled, D = re.isTouch && !o.props.touch, C = gt(o.props.duration, 0, q.duration);
1825
1825
  if (!(a || m || w || D) && !L().hasAttribute("disabled") && (V("onShow", [o], !1), o.props.onShow(o) !== !1)) {
1826
- if (o.state.isVisible = !0, S() && (h.style.visibility = "visible"), N(), Q(), o.state.isMounted || (h.style.transition = "none"), S()) {
1826
+ if (o.state.isVisible = !0, R() && (h.style.visibility = "visible"), N(), Q(), o.state.isMounted || (h.style.transition = "none"), R()) {
1827
1827
  var F = z(), X = F.box, ke = F.content;
1828
1828
  yt([X, ke], 0);
1829
1829
  }
1830
1830
  O = function() {
1831
1831
  var we;
1832
1832
  if (!(!o.state.isVisible || v)) {
1833
- if (v = !0, h.offsetHeight, h.style.transition = o.props.moveTransition, S() && o.props.animation) {
1833
+ if (v = !0, h.offsetHeight, h.style.transition = o.props.moveTransition, R() && o.props.animation) {
1834
1834
  var mt = z(), it = mt.box, _e = mt.content;
1835
1835
  yt([it, _e], C), Xt([it, _e], "visible");
1836
1836
  }
1837
- Z(), ee(), zt(wt, o), (we = o.popperInstance) == null || we.forceUpdate(), V("onMount", [o]), o.props.animation && S() && se(C, function() {
1837
+ Z(), ee(), zt(wt, o), (we = o.popperInstance) == null || we.forceUpdate(), V("onMount", [o]), o.props.animation && R() && se(C, function() {
1838
1838
  o.state.isShown = !0, V("onShown", [o]);
1839
1839
  });
1840
1840
  }
@@ -1844,11 +1844,11 @@ function Uo(e, t) {
1844
1844
  function br() {
1845
1845
  var a = !o.state.isVisible, m = o.state.isDestroyed, w = !o.state.isEnabled, D = gt(o.props.duration, 1, q.duration);
1846
1846
  if (!(a || m || w) && (V("onHide", [o], !1), o.props.onHide(o) !== !1)) {
1847
- if (o.state.isVisible = !1, o.state.isShown = !1, v = !1, p = !1, S() && (h.style.visibility = "hidden"), ge(), ae(), N(!0), S()) {
1847
+ if (o.state.isVisible = !1, o.state.isShown = !1, v = !1, p = !1, R() && (h.style.visibility = "hidden"), ge(), ae(), N(!0), R()) {
1848
1848
  var C = z(), F = C.box, X = C.content;
1849
1849
  o.props.animation && (yt([F, X], D), Xt([F, X], "hidden"));
1850
1850
  }
1851
- Z(), ee(), o.props.animation ? S() && Ae(D, o.unmount) : o.unmount();
1851
+ Z(), ee(), o.props.animation ? R() && Ae(D, o.unmount) : o.unmount();
1852
1852
  }
1853
1853
  }
1854
1854
  function wr(a) {
@@ -1,7 +1,7 @@
1
- import { _, b as m, d as f, o as h, j as i, f as c, w as u, aJ as v } from "./main-BN-1fMb8.js";
2
- import { m as M } from "./mapFormMixin-CM1I_eW_.js";
3
- import { D as w } from "./DocModalBase-CTtPx1oT.js";
4
- import { _ as x } from "./DocumentLayout-Q5yx_Q6I.js";
1
+ import { _, b as m, d as f, o as h, j as i, f as c, w as u, aK as v } from "./main-BBhJGb7I.js";
2
+ import { m as M } from "./mapFormMixin-CCKubywa.js";
3
+ import { D as w } from "./DocModalBase-BlTZ8CY3.js";
4
+ import { _ as x } from "./DocumentLayout-DHSEYClM.js";
5
5
  const C = {
6
6
  name: "TermsModal",
7
7
  components: {
@@ -1,4 +1,4 @@
1
- import { a5 as d, i as m } from "./main-BN-1fMb8.js";
1
+ import { a6 as d, i as m } from "./main-BBhJGb7I.js";
2
2
  const s = {
3
3
  youtube: {
4
4
  reg: /^(?:https?:\/\/)?(?:(?:www|m)\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))((?:\w|-){11})(?:\S+)?$/,
@@ -0,0 +1,40 @@
1
+ import { k as c, R as u, l as d, p as m } from "./main-BBhJGb7I.js";
2
+ import { g as f, s as v } from "./dom-DOcGU3-g.js";
3
+ import { u as p } from "./index-CPfrJsi9.js";
4
+ const y = Symbol(
5
+ "validateDocument"
6
+ );
7
+ function N() {
8
+ const i = p(), l = c(u, document.body);
9
+ function o() {
10
+ return i.value.$validate();
11
+ }
12
+ function e({
13
+ selector: t = '[data-type="error-callout"]',
14
+ offset: s = 0
15
+ } = {}) {
16
+ try {
17
+ const { el: a } = f(l), r = a.querySelector(t);
18
+ r && v(r, { offset: s, behavior: "smooth" });
19
+ } catch (a) {
20
+ d(a);
21
+ }
22
+ }
23
+ async function n() {
24
+ const t = await o();
25
+ return t || e({ offset: 120 }), t;
26
+ }
27
+ return m(y, {
28
+ isValid: n,
29
+ validate: o,
30
+ scrollToInvalidInput: e
31
+ }), {
32
+ isValid: n,
33
+ validate: o,
34
+ scrollToInvalidInput: e
35
+ };
36
+ }
37
+ export {
38
+ N as u,
39
+ y as v
40
+ };