@cling-se/widget 0.13.5 → 0.14.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 (125) hide show
  1. package/dist/{AddClientCallout-P8T0R-6B.js → AddClientCallout-BP2ip0A4.js} +3 -3
  2. package/dist/{AnswerModal-BF-ZUpQ9.js → AnswerModal-C8i3ldB_.js} +4 -4
  3. package/dist/{AttachmentItem-DEC6rjGE.js → AttachmentItem-BrvrAMae.js} +2 -2
  4. package/dist/{BaseDatePicker-2uhuySby.js → BaseDatePicker-BSkAllLg.js} +556 -556
  5. package/dist/{BaseUpload-D1OS-EZ-.js → BaseUpload-J2v3G0-q.js} +14 -14
  6. package/dist/{BlockMedia-BFBeRtJx.js → BlockMedia-CAgKbN_k.js} +21 -17
  7. package/dist/{CCallout-CsQMsFZO.js → CCallout-D5Nk5DgN.js} +2 -2
  8. package/dist/CCurrencyDropdown-CGYQfYSD.js +246 -0
  9. package/dist/{CDropdownItem-BeK9wNHJ.js → CDropdownItem-DGES8E6l.js} +7 -5
  10. package/dist/{CField-TsZhnNrK.js → CFormField-CE4rV3cr.js} +66 -39
  11. package/dist/{CPhoneFormat-DPYhElZw.js → CPhoneFormat-DXPrTit9.js} +1 -1
  12. package/dist/CPriceInput-CYsf1n6T.js +112 -0
  13. package/dist/CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js +1 -0
  14. package/dist/{ClientAutocomplete-Ch2Z-VNr.js → ClientAutocomplete-DPgOfPg1.js} +2 -2
  15. package/dist/{ClientModal-rdb9TsyH.js → ClientModal-Dznh8Vvn.js} +44 -36
  16. package/dist/{ColorPicker-2gfbU60o.js → ColorPicker-CWQEE8VR.js} +1 -1
  17. package/dist/{CompanyModal-CNeySxNi.js → CompanyModal-CeZ3GgLu.js} +4 -4
  18. package/dist/{ContentWrapper-D27J_sCS.js → ContentWrapper-DW7VHTdA.js} +8 -8
  19. package/dist/{CoverBlockSettings-BfdJKrsq.js → CoverBlockSettings-DNSdXFgF.js} +5 -5
  20. package/dist/{DocAnswer-CyHASkhm.js → DocAnswer-CPttkKAJ.js} +2 -2
  21. package/dist/{DocDetails-8bM9dBxm.js → DocDetails-BCwWW_kM.js} +7 -7
  22. package/dist/{DocForm-CumvOHwl.js → DocForm-BPjC08Ic.js} +41 -39
  23. package/dist/{DocFormSend-CdoZy_Q2.js → DocFormSend-BaC8IJCu.js} +2 -2
  24. package/dist/{DocLinks-BJPADuvd.js → DocLinks-DN-S8MY_.js} +2 -2
  25. package/dist/{DocModalBase-Cd3zXvH_.js → DocModalBase-bFJp0T2Y.js} +1 -1
  26. package/dist/{DocPrint-Be4l2pra.js → DocPrint-Ci7Jyh-C.js} +20 -19
  27. package/dist/{DocReceipt-DmFjo26V.js → DocReceipt-BYlXr6eS.js} +6 -6
  28. package/dist/{DocSendReminder-CVxh_c7u.js → DocSendReminder-DFx4934a.js} +1 -1
  29. package/dist/{DocTextEditor-2jhWmmN2.js → DocTextEditor-idQMnlIF.js} +1086 -1057
  30. package/dist/{DocTimeline-Dvn690cI.js → DocTimeline-ZmGSVRUB.js} +1 -1
  31. package/dist/{DocumentClient-D3ESmMk1.js → DocumentClient-DTRlyvLO.js} +5 -5
  32. package/dist/{DocumentLayout-0-y6ChW3.js → DocumentLayout-BJAyNjNa.js} +9 -5
  33. package/dist/{DocumentLogotype-CHWEVOFb.js → DocumentLogotype-pDJRc6Hj.js} +3 -3
  34. package/dist/{DocumentVoided-CoJ6YorU.js → DocumentVoided-DfKewfe4.js} +1 -1
  35. package/dist/{EmbedInput-CGQJdLBd.js → EmbedInput-7hLNsnEV.js} +2 -2
  36. package/dist/{EmbedSettings-DRfM7EkF.js → EmbedSettings-CpL24RhA.js} +2 -2
  37. package/dist/{ErrorCallout-pRwrsMwI.js → ErrorCallout-CdJCe67q.js} +1 -1
  38. package/dist/{FilePreviewModal-4hJnwqeM.js → FilePreviewModal-B7qT3I7F.js} +2 -2
  39. package/dist/{Flag-CH9jX9p6.js → Flag-DwW19zju.js} +1 -1
  40. package/dist/{HeaderSettings-DESkxus6.js → HeaderSettings-C8SuuAwv.js} +7 -7
  41. package/dist/{ImageSelectModal-BczBg7pO.js → ImageSelectModal-CAOh3YHc.js} +3 -3
  42. package/dist/{ImageUploadWrapper-B7F5UzSa.js → ImageUploadWrapper-21yldsj9.js} +2 -2
  43. package/dist/{Index-Dj7XQrCX.js → Index-B0BgYtWI.js} +5 -5
  44. package/dist/{Index-DLX_14JW.js → Index-BC1AhlQ9.js} +6 -6
  45. package/dist/{Index-B77mpvaJ.js → Index-BZi6r2UN.js} +8 -8
  46. package/dist/{Index-CPXWFvtI.js → Index-BsD09y_2.js} +6 -6
  47. package/dist/{Index-DpZ0FVkb.js → Index-Bu9SdKLP.js} +1 -1
  48. package/dist/{Index-DRdhlnQI.js → Index-BvsqZh2A.js} +4 -4
  49. package/dist/{Index-Cb7AYMdp.js → Index-Bz4qd9uO.js} +5 -5
  50. package/dist/{Index-BkDT09xK.js → Index-C--GiPc1.js} +5 -5
  51. package/dist/{Index-D_21EWlr.js → Index-CC7qF0br.js} +4 -4
  52. package/dist/{Index-CgugegyD.js → Index-CGxOvTF4.js} +590 -694
  53. package/dist/{Index-C8Eykyfr.js → Index-CI7_ktvb.js} +5 -5
  54. package/dist/{Index-D_XxQTHL.js → Index-COJZmxkX.js} +4 -4
  55. package/dist/{Index-BztAYqwZ.js → Index-CObEQ6G-.js} +3 -3
  56. package/dist/{Index-Lwrlj4Uo.js → Index-CP2bsXd-.js} +11 -13
  57. package/dist/{Index-DM8XS-Lc.js → Index-CSvZBLnp.js} +3 -3
  58. package/dist/{Index-xVss9bbv.js → Index-Ci-hGBbC.js} +4 -4
  59. package/dist/{Index-CUYcsakk.js → Index-Ckzq1cEJ.js} +22 -18
  60. package/dist/{Index-euXfMzGE.js → Index-CoIh5y2F.js} +4 -4
  61. package/dist/{Index-Cs1C7d8_.js → Index-Couda8BX.js} +2 -2
  62. package/dist/{Index-BSApSN3a.js → Index-CvXt3dm6.js} +24 -24
  63. package/dist/{Index-CwOwQrDd.js → Index-D95MNzAZ.js} +4 -4
  64. package/dist/{Index-CRjdza18.js → Index-DB5EG4EI.js} +32 -30
  65. package/dist/{Index-COFOq65C.js → Index-DDvRihXA.js} +3 -3
  66. package/dist/{Index-BOIBgNgp.js → Index-DIAntwBs.js} +2 -2
  67. package/dist/{Index-BCBBrdDY.js → Index-DUdJNcDT.js} +4 -4
  68. package/dist/{Index-DAuSARq4.js → Index-DfANvO5d.js} +5 -5
  69. package/dist/{Index-DLwJlsSV.js → Index-Ds1Jv5Mr.js} +6 -6
  70. package/dist/{Index-CBRWEkz3.js → Index-FIWsRGmh.js} +12 -7
  71. package/dist/{Index-DXovv3-e.js → Index-M3b7S4YX.js} +4 -4
  72. package/dist/{Index-McJQllNy.js → Index-NoN1_539.js} +7 -7
  73. package/dist/{Index-BBWCdaFx.js → Index-UGFm4yxI.js} +14 -32
  74. package/dist/{Index-Dk7qSZaZ.js → Index-aCBe0dXx.js} +2 -2
  75. package/dist/{Index-BSizncA1.js → Index-kJFtpJEP.js} +2 -2
  76. package/dist/{Index-DxT6UrU3.js → Index-rQKoLISX.js} +2 -2
  77. package/dist/{InputToggleRow-BjSD0lth.js → InputToggleRow-Ct8rvqAF.js} +1 -1
  78. package/dist/{ManualPopover-CIouE65j.js → ManualPopover-B0vp9ydC.js} +1 -1
  79. package/dist/{MediaWrapper-DK2fsQP7.js → MediaWrapper-hmofOPLv.js} +3 -3
  80. package/dist/{NotBindingText-D1IUYEiC.js → NotBindingText-COpJPwHe.js} +2 -2
  81. package/dist/{PackageGroup-BImsltc7.js → PackageGroup-BdtslJL-.js} +5 -5
  82. package/dist/{PdfTerms-BzBvvuT6.js → PdfTerms-EDStBDhn.js} +2 -2
  83. package/dist/PdfViewer-D1_Roqu2.js +374 -0
  84. package/dist/{PlainHtml-J_nR1ibV.js → PlainHtml-C3JPvt4o.js} +1 -1
  85. package/dist/{PriceHeader-BZeaKOTy.js → PriceHeader-BdfozyN8.js} +7 -7
  86. package/dist/{SearchApi-Du-Lqo7R.js → SearchApi-CQtYh98a.js} +2 -2
  87. package/dist/{Setup-CtSIo_xU.js → Setup-DHHMT6xu.js} +1 -1
  88. package/dist/{CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-B85IuuQS.js → SmartList-BXeRj5NC.js} +1 -1
  89. package/dist/{TermsSettings-DDHrUB_S.js → TermsSettings-D1tDAu-r.js} +3 -3
  90. package/dist/{ThemeColorRow-BiRPYyj_.js → ThemeColorRow-HUN-QPY_.js} +3 -3
  91. package/dist/{ToggleBinding-Cvd9I0Dw.js → ToggleBinding-CRoVM6Nw.js} +3 -3
  92. package/dist/{UploadModal-ByJeM98S.js → UploadModal-BD3pIiPT.js} +2 -2
  93. package/dist/{VideoPlayerInput-C1PiFaBo.js → VideoPlayerInput-QFJfPoCf.js} +3 -3
  94. package/dist/{VideoPlayerSettings-C9vt7Twd.js → VideoPlayerSettings-CGq--niu.js} +2 -2
  95. package/dist/{VideoSelectModal-cEDZv03c.js → VideoSelectModal-B61rBqdH.js} +3 -3
  96. package/dist/{answerDocumentMixin-QbMot2bf.js → answerDocumentMixin-DiONfM1s.js} +3 -3
  97. package/dist/{debounce-CaZBFRFZ.js → debounce-BIchuVwa.js} +11 -11
  98. package/dist/dom-CJxkno7i.js +91 -0
  99. package/dist/{focusDrawerMixin-D-mqPE02.js → focusDrawerMixin-CzvgKsOZ.js} +1 -1
  100. package/dist/{formComponentsInstall-BdhIOhq5.js → formComponentsInstall-EQLbqYqI.js} +201 -231
  101. package/dist/{formDrawerState-CcDRv2mi.js → formDrawerState-CiKGHdNH.js} +1 -1
  102. package/dist/{formValidationMixin-sp3Q6-ER.js → formValidationMixin-5BVcxu38.js} +2 -2
  103. package/dist/{index-CJTuXpCD.js → index-BYTRIZIz.js} +1 -1
  104. package/dist/{index-DEWMCZz4.js → index-Be__C37A.js} +1 -1
  105. package/dist/{index-DuCwf2mg.js → index-CUydiL8B.js} +16 -16
  106. package/dist/{index-BjZuADtN.js → index-DH6SCEKQ.js} +13 -13
  107. package/dist/{index-BWmMho6V.js → index-gtVGRKIX.js} +9 -9
  108. package/dist/{index-BABEaO8N.js → index-tNIrTnCx.js} +35 -35
  109. package/dist/index.es.js +3 -3
  110. package/dist/index.umd.js +134 -142
  111. package/dist/{main-DQ6SH_E_.js → main-Bp2qcma0.js} +4209 -4198
  112. package/dist/{mapFormMixin-2SoyKxW2.js → mapFormMixin-Ce3_WIKw.js} +1 -1
  113. package/dist/omit-21u5fFMx.js +31 -0
  114. package/dist/{publicSenderState-CKGe1ejF.js → publicSenderState-BcN9kJJr.js} +1 -1
  115. package/dist/style.css +2 -2
  116. package/dist/{throttle-BeZ_TpQb.js → throttle-CfPxqhW_.js} +2 -2
  117. package/dist/{tinycolor-C3JU9Hqu.js → tinycolor-DNK6zGoq.js} +1 -1
  118. package/dist/tippy.esm-B5TcTBWX.js +1799 -0
  119. package/dist/{utils-D2JfcR6v.js → utils-GzwJPAEe.js} +1 -1
  120. package/dist/{omit-BjdTqooP.js → vuedraggable.umd-2pmrPYml.js} +497 -525
  121. package/package.json +1 -1
  122. package/dist/BaseInput-BtgFVDxx.js +0 -364
  123. package/dist/PdfViewer-Dq0Mc-WC.js +0 -247
  124. package/dist/dom-CPYqHOIw.js +0 -69
  125. package/dist/tippy.esm-DowQrfWM.js +0 -2039
@@ -1,9 +1,9 @@
1
- import { m as c } from "./mapFormMixin-2SoyKxW2.js";
2
- import { B as l } from "./BlockMedia-BFBeRtJx.js";
3
- import { b as r, u as d, n, Z as m } from "./main-DQ6SH_E_.js";
4
- import { t as u } from "./tinycolor-C3JU9Hqu.js";
5
- import { s as p } from "./dom-CPYqHOIw.js";
6
- import { T as y } from "./DocTextEditor-2jhWmmN2.js";
1
+ import { m as c } from "./mapFormMixin-Ce3_WIKw.js";
2
+ import { B as l } from "./BlockMedia-CAgKbN_k.js";
3
+ import { b as r, w as d, n, ab as m } from "./main-Bp2qcma0.js";
4
+ import { t as u } from "./tinycolor-DNK6zGoq.js";
5
+ import { s as p } from "./dom-CJxkno7i.js";
6
+ import { T as y } from "./DocTextEditor-idQMnlIF.js";
7
7
  import { i as h } from "./i18nMessages-Chz_lxGG.js";
8
8
  const _ = {
9
9
  name: "SummaryBottom",
@@ -138,7 +138,7 @@ const S = f.exports, x = {
138
138
  },
139
139
  components: {
140
140
  TextEditor: y,
141
- DocumentLogotype: () => import("./DocumentLogotype-CHWEVOFb.js")
141
+ DocumentLogotype: () => import("./DocumentLogotype-pDJRc6Hj.js")
142
142
  },
143
143
  mixins: [c([])],
144
144
  inject: ["parentSize"],
@@ -1,5 +1,5 @@
1
- import { g as u, p as h, i as f, j as d, n as m } from "./main-DQ6SH_E_.js";
2
- import { d as p } from "./debounce-CaZBFRFZ.js";
1
+ import { g as u, p as h, i as f, j as d, n as m } from "./main-Bp2qcma0.js";
2
+ import { d as p } from "./debounce-BIchuVwa.js";
3
3
  import { m as y, a as g } from "./vuex.esm-DKGl8mcw.js";
4
4
  const A = {
5
5
  name: "SearchApi",
@@ -1,4 +1,4 @@
1
- import { n as s, c as o, e as c } from "./main-DQ6SH_E_.js";
1
+ import { n as s, c as o, e as c } from "./main-Bp2qcma0.js";
2
2
  const i = {
3
3
  name: "Setup",
4
4
  props: {
@@ -1,4 +1,4 @@
1
- import { n as s, ak as r } from "./main-DQ6SH_E_.js";
1
+ import { n as s, s as r } from "./main-Bp2qcma0.js";
2
2
  const o = {
3
3
  name: "SmartList",
4
4
  props: {
@@ -1,6 +1,6 @@
1
- import { i as m, B as o, n as v } from "./main-DQ6SH_E_.js";
2
- import { m as c } from "./mapFormMixin-2SoyKxW2.js";
3
- import g from "./Index-DAuSARq4.js";
1
+ import { i as m, F as o, n as v } from "./main-Bp2qcma0.js";
2
+ import { m as c } from "./mapFormMixin-Ce3_WIKw.js";
3
+ import g from "./Index-DfANvO5d.js";
4
4
  const p = {
5
5
  i18nOptions: {
6
6
  namespaces: "terms",
@@ -1,7 +1,7 @@
1
- import { C as n } from "./ColorPicker-2gfbU60o.js";
2
- import { M as s } from "./ManualPopover-CIouE65j.js";
1
+ import { C as n } from "./ColorPicker-CWQEE8VR.js";
2
+ import { M as s } from "./ManualPopover-B0vp9ydC.js";
3
3
  import { h as a } from "./color-TdtKxwVa.js";
4
- import { n as l } from "./main-DQ6SH_E_.js";
4
+ import { n as l } from "./main-Bp2qcma0.js";
5
5
  const i = {
6
6
  name: "ThemeColorRow",
7
7
  components: {
@@ -1,6 +1,6 @@
1
- import { m as i } from "./mapFormMixin-2SoyKxW2.js";
2
- import { I as t } from "./InputToggleRow-BjSD0lth.js";
3
- import { n as s } from "./main-DQ6SH_E_.js";
1
+ import { m as i } from "./mapFormMixin-Ce3_WIKw.js";
2
+ import { I as t } from "./InputToggleRow-Ct8rvqAF.js";
3
+ import { n as s } from "./main-Bp2qcma0.js";
4
4
  const a = {
5
5
  name: "ToggleBinding",
6
6
  i18nOptions: {
@@ -1,5 +1,5 @@
1
- import { i as l, h as o, D as c, n as d } from "./main-DQ6SH_E_.js";
2
- import m from "./Index-Dk7qSZaZ.js";
1
+ import { i as l, h as o, G as c, n as d } from "./main-Bp2qcma0.js";
2
+ import m from "./Index-aCBe0dXx.js";
3
3
  import { m as p } from "./vuex.esm-DKGl8mcw.js";
4
4
  const u = {
5
5
  i18nOptions: {
@@ -1,6 +1,6 @@
1
- import { d as a } from "./debounce-CaZBFRFZ.js";
2
- import { v as l } from "./utils-D2JfcR6v.js";
3
- import { n as r } from "./main-DQ6SH_E_.js";
1
+ import { d as a } from "./debounce-BIchuVwa.js";
2
+ import { v as l } from "./utils-GzwJPAEe.js";
3
+ import { n as r } from "./main-Bp2qcma0.js";
4
4
  const n = {
5
5
  name: "VideoPlayerInput",
6
6
  i18nOptions: {
@@ -1,5 +1,5 @@
1
- import n from "./VideoPlayerInput-C1PiFaBo.js";
2
- import { n as s } from "./main-DQ6SH_E_.js";
1
+ import n from "./VideoPlayerInput-QFJfPoCf.js";
2
+ import { n as s } from "./main-Bp2qcma0.js";
3
3
  const l = {
4
4
  i18nOptions: {
5
5
  namespaces: "components",
@@ -1,6 +1,6 @@
1
- import v from "./VideoPlayerInput-C1PiFaBo.js";
2
- import { B as f, a as g } from "./index-BjZuADtN.js";
3
- import { c as x, n as y, o as _ } from "./main-DQ6SH_E_.js";
1
+ import v from "./VideoPlayerInput-QFJfPoCf.js";
2
+ import { B as f, a as g } from "./index-DH6SCEKQ.js";
3
+ import { c as x, n as y, o as _ } from "./main-Bp2qcma0.js";
4
4
  const V = x.pexels.id, w = {
5
5
  name: "VideoSelectModal",
6
6
  i18nOptions: {
@@ -1,5 +1,5 @@
1
- import { w as a } from "./CDropdownItem-BeK9wNHJ.js";
2
- import { b as r } from "./main-DQ6SH_E_.js";
1
+ import { w as a } from "./CDropdownItem-DGES8E6l.js";
2
+ import { b as r } from "./main-Bp2qcma0.js";
3
3
  const m = ({ documentKey: s = "document" } = {}) => ({
4
4
  mixins: [a],
5
5
  inject: {
@@ -23,7 +23,7 @@ const m = ({ documentKey: s = "document" } = {}) => ({
23
23
  const e = r(this, s);
24
24
  if (!e || e.isPreview || !(t === "decline" ? !0 : this.isValid()))
25
25
  return;
26
- const o = this.mq === "sm" ? "100%" : "auto", n = () => import("./AnswerModal-BF-ZUpQ9.js");
26
+ const o = this.mq === "sm" ? "100%" : "auto", n = () => import("./AnswerModal-C8i3ldB_.js");
27
27
  this.$modal.show(
28
28
  n,
29
29
  {
@@ -1,4 +1,4 @@
1
- import { _ as C, l as k, U as j, k as A } from "./main-DQ6SH_E_.js";
1
+ import { a7 as C, l as k, a8 as j, k as A } from "./main-Bp2qcma0.js";
2
2
  var L = C, M = function() {
3
3
  return L.Date.now();
4
4
  }, B = M, F = /\s/;
@@ -7,25 +7,25 @@ function R(e) {
7
7
  ;
8
8
  return r;
9
9
  }
10
- var D = R, U = D, H = /^\s+/;
11
- function P(e) {
12
- return e && e.slice(0, U(e) + 1).replace(H, "");
10
+ var D = R, H = D, P = /^\s+/;
11
+ function U(e) {
12
+ return e && e.slice(0, H(e) + 1).replace(P, "");
13
13
  }
14
- var X = P, q = X, p = k, w = j, y = NaN, z = /^[-+]0x[0-9a-f]+$/i, G = /^0b[01]+$/i, J = /^0o[0-7]+$/i, K = parseInt;
14
+ var X = U, q = X, y = k, w = j, _ = NaN, z = /^[-+]0x[0-9a-f]+$/i, G = /^0b[01]+$/i, J = /^0o[0-7]+$/i, K = parseInt;
15
15
  function Q(e) {
16
16
  if (typeof e == "number")
17
17
  return e;
18
18
  if (w(e))
19
- return y;
20
- if (p(e)) {
19
+ return _;
20
+ if (y(e)) {
21
21
  var r = typeof e.valueOf == "function" ? e.valueOf() : e;
22
- e = p(r) ? r + "" : r;
22
+ e = y(r) ? r + "" : r;
23
23
  }
24
24
  if (typeof e != "string")
25
25
  return e === 0 ? e : +e;
26
26
  e = q(e);
27
27
  var i = G.test(e);
28
- return i || J.test(e) ? K(e.slice(2), i ? 2 : 8) : z.test(e) ? y : +e;
28
+ return i || J.test(e) ? K(e.slice(2), i ? 2 : 8) : z.test(e) ? _ : +e;
29
29
  }
30
30
  var V = Q, Y = k, T = B, $ = V, Z = "Expected a function", ee = Math.max, ne = Math.min;
31
31
  function re(e, r, i) {
@@ -41,8 +41,8 @@ function re(e, r, i) {
41
41
  return d = n, t = setTimeout(v, r), I ? g(n) : s;
42
42
  }
43
43
  function S(n) {
44
- var a = n - f, m = n - d, _ = r - a;
45
- return c ? ne(_, l - m) : _;
44
+ var a = n - f, m = n - d, p = r - a;
45
+ return c ? ne(p, l - m) : p;
46
46
  }
47
47
  function h(n) {
48
48
  var a = n - f, m = n - d;
@@ -0,0 +1,91 @@
1
+ const s = {}, a = {};
2
+ function u(t) {
3
+ if (a[t])
4
+ return;
5
+ if (s[t])
6
+ return s[t];
7
+ let o;
8
+ const n = new Promise((e, r) => {
9
+ o = window.setTimeout(() => {
10
+ s[t] = null, r(new Error(`Failed to load ${t} in 20s`));
11
+ }, 2e4), import(
12
+ /* @vite-ignore */
13
+ t
14
+ ).then(() => {
15
+ o && window.clearTimeout(o), a[t] = !0, s[t] = null, e();
16
+ }).catch((c) => {
17
+ o && window.clearTimeout(o), s[t] = null, r(c);
18
+ });
19
+ });
20
+ return s[t] = n, n;
21
+ }
22
+ function p(t) {
23
+ if (t.endsWith(".mjs"))
24
+ return u(t);
25
+ if (a[t])
26
+ return;
27
+ if (s[t])
28
+ return s[t];
29
+ const o = new Promise((n, e) => {
30
+ const r = document.createElement("script"), c = window.setTimeout(() => {
31
+ s[t] = null, e(new Error(`Failed to load ${t} in 20s`));
32
+ }, 2e4);
33
+ r.onload = (f) => {
34
+ c && window.clearTimeout(c), a[t] = !0, s[t] = null, n();
35
+ }, r.onerror = (f) => {
36
+ c && window.clearTimeout(c), s[t] = null, e(f);
37
+ }, r.src = t, document.body.appendChild(r);
38
+ });
39
+ return s[t] = o, o;
40
+ }
41
+ function h(t) {
42
+ const o = t.getBoundingClientRect(), n = window.innerHeight || document.documentElement.clientHeight, e = window.innerWidth || document.documentElement.clientWidth, r = o.top <= n && o.top + o.height >= 0, c = o.left <= e && o.left + o.width >= 0;
43
+ return r && c;
44
+ }
45
+ const m = (t) => {
46
+ const o = /(auto|scroll)/, n = (i, l) => i.parentNode === null ? l : n(i.parentNode, l.concat([i])), e = (i, l) => getComputedStyle(i, null).getPropertyValue(l), r = (i) => e(i, "overflow") + e(i, "overflow-y") + e(i, "overflow-x"), c = (i) => o.test(r(i));
47
+ return ((i) => {
48
+ if (!(i instanceof HTMLElement || i instanceof SVGElement))
49
+ return null;
50
+ const l = n(i.parentNode, []);
51
+ for (let d = 0; d < l.length; d += 1)
52
+ if (c(l[d]))
53
+ return l[d];
54
+ return document.scrollingElement || document.documentElement;
55
+ })(t);
56
+ }, w = (t) => {
57
+ let o = 0;
58
+ for (; t; )
59
+ o += t.offsetTop, t = t.offsetParent;
60
+ return o;
61
+ };
62
+ function g(t, o) {
63
+ let n = t;
64
+ typeof n == "string" && (n = document.querySelector(n));
65
+ const e = {
66
+ offset: 0,
67
+ behavior: "smooth",
68
+ body: m(n),
69
+ // custom option used for choosing parent scroll element
70
+ ...o
71
+ }, r = w(n);
72
+ HTMLElement.prototype.scrollTo ? e.body.scrollTo({
73
+ behavior: e.behavior,
74
+ top: r - e.offset
75
+ }) : e.body.scrollTop = r - e.offset;
76
+ }
77
+ const T = (t) => {
78
+ var e;
79
+ const o = (e = t == null ? void 0 : t.getRootNode) == null ? void 0 : e.call(t), n = (o == null ? void 0 : o.toString()) === "[object ShadowRoot]";
80
+ return {
81
+ isShadow: n,
82
+ el: n ? o : document
83
+ };
84
+ };
85
+ export {
86
+ m as a,
87
+ p as e,
88
+ T as g,
89
+ h as i,
90
+ g as s
91
+ };
@@ -1,4 +1,4 @@
1
- import { s as o } from "./formDrawerState-CcDRv2mi.js";
1
+ import { s as o } from "./formDrawerState-CiKGHdNH.js";
2
2
  const t = {
3
3
  inject: {
4
4
  sectionTopNode: {