@cling-se/widget 0.9.17 → 0.9.19

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 (131) hide show
  1. package/dist/{AddClientCallout-064aede9.js → AddClientCallout-56062c9e.js} +5 -5
  2. package/dist/{AnswerModal-f00b2576.js → AnswerModal-89282157.js} +3 -3
  3. package/dist/{AttachmentItem-614ed2ea.js → AttachmentItem-62102ff9.js} +3 -3
  4. package/dist/{BaseDatePicker-99d99f2b.js → BaseDatePicker-c236b147.js} +1 -1
  5. package/dist/{BaseInput-4ee00e7a.js → BaseInput-a23a8bff.js} +1 -1
  6. package/dist/{BaseUpload-7d9dd124.js → BaseUpload-1eb2faf5.js} +2 -2
  7. package/dist/{BlockMedia-354eff33.js → BlockMedia-a5e9227b.js} +1 -1
  8. package/dist/{CCallout-764d08cd.js → CCallout-e4abad1f.js} +2 -2
  9. package/dist/{CDropdownItem-ef2d7897.js → CDropdownItem-55d36127.js} +2 -1
  10. package/dist/{CField-f8b8481d.js → CField-1825b939.js} +1 -1
  11. package/dist/{CSlider.vue_vue_type_style_index_0_lang-4a1c5561.js → CSlider.vue_vue_type_style_index_0_lang-e3343543.js} +1 -1
  12. package/dist/{ClientAutocomplete-04d85a96.js → ClientAutocomplete-8286e949.js} +2 -2
  13. package/dist/{ClientModal-56731bee.js → ClientModal-368445f8.js} +4 -4
  14. package/dist/{ColorPicker-15579f77.js → ColorPicker-ec8e8175.js} +1 -1
  15. package/dist/{CompanyModal-49b3f20e.js → CompanyModal-ca53bda3.js} +3 -3
  16. package/dist/{ContentWrapper-6315056f.js → ContentWrapper-7cb9d1c6.js} +26 -26
  17. package/dist/{CoverBlockSettings-34313ba7.js → CoverBlockSettings-08f56770.js} +8 -8
  18. package/dist/{DocAnswer-a53c34f6.js → DocAnswer-ced017c1.js} +4 -4
  19. package/dist/{DocForm-bf97c67e.js → DocForm-2db2db45.js} +618 -553
  20. package/dist/{DocFormSend-1247c216.js → DocFormSend-2e9c1718.js} +23 -22
  21. package/dist/{DocLinks-8bbcbd46.js → DocLinks-c4862422.js} +2 -2
  22. package/dist/{DocModalBase-e1dee9d6.js → DocModalBase-2711130a.js} +1 -1
  23. package/dist/{DocPrint-dcb6b719.js → DocPrint-48195954.js} +48 -29
  24. package/dist/{DocReceipt-d03ff3f1.js → DocReceipt-10e465b3.js} +1 -1
  25. package/dist/{DocSendReminder-ecc36aca.js → DocSendReminder-c4e0228f.js} +1 -1
  26. package/dist/{DocTextEditor-f4b51510.js → DocTextEditor-fa8bf4e1.js} +14 -14
  27. package/dist/{DocTimeline-28430a90.js → DocTimeline-445eca6e.js} +1 -1
  28. package/dist/{DocumentClient-ade9af67.js → DocumentClient-9e7c6344.js} +6 -6
  29. package/dist/{DocumentLayout-632a6f98.js → DocumentLayout-48c2d8a7.js} +3 -3
  30. package/dist/{DocumentLogotype-dacee892.js → DocumentLogotype-124c8aa4.js} +3 -3
  31. package/dist/{EmbedInput-a3868460.js → EmbedInput-70967810.js} +2 -2
  32. package/dist/{EmbedSettings-4e3d8c41.js → EmbedSettings-5b7849f2.js} +3 -3
  33. package/dist/{ErrorCallout-d05d6cc2.js → ErrorCallout-aba1259b.js} +1 -1
  34. package/dist/{FilePreviewModal-31b883c3.js → FilePreviewModal-d6641d5a.js} +5 -5
  35. package/dist/{HeaderSettings-131840ed.js → HeaderSettings-927fc995.js} +16 -16
  36. package/dist/{ImageSelectModal-7706f79f.js → ImageSelectModal-b0f47a70.js} +9 -9
  37. package/dist/{ImageUploadWrapper-65d04b72.js → ImageUploadWrapper-d6824c36.js} +2 -2
  38. package/dist/{Index-e9c20129.js → Index-04f97514.js} +7 -7
  39. package/dist/{Index-8c45d1e8.js → Index-0ce48100.js} +4 -4
  40. package/dist/{Index-b7ee6604.js → Index-1176ba23.js} +1 -1
  41. package/dist/{Index-a6deb4ef.js → Index-11df2c1a.js} +3 -3
  42. package/dist/{Index-1ec70336.js → Index-1a3b0017.js} +4 -4
  43. package/dist/{Index-63a45208.js → Index-26266d8f.js} +14 -14
  44. package/dist/{Index-0dbc20a5.js → Index-29e20c7b.js} +9 -9
  45. package/dist/{Index-d4b5163a.js → Index-29f59b0b.js} +4 -4
  46. package/dist/{Index-ca586e17.js → Index-38b6a5b2.js} +14 -14
  47. package/dist/{Index-c5d2a3f3.js → Index-52fae967.js} +2 -2
  48. package/dist/{Index-d3789f66.js → Index-5c3393a7.js} +5 -5
  49. package/dist/{Index-4ecb48f7.js → Index-5d4f7700.js} +4 -4
  50. package/dist/{Index-c217198e.js → Index-5f8f46d7.js} +6 -6
  51. package/dist/{Index-fb7d681c.js → Index-6610cff8.js} +6 -6
  52. package/dist/{Index-eb5ab752.js → Index-723b56fd.js} +2 -2
  53. package/dist/{Index-860706da.js → Index-800624cc.js} +10 -10
  54. package/dist/{Index-6a2c0245.js → Index-86c7faa0.js} +4 -4
  55. package/dist/{Index-c1782811.js → Index-89fde246.js} +2 -2
  56. package/dist/{Index-d54abcde.js → Index-8c47aae3.js} +6 -6
  57. package/dist/{Index-3a278b14.js → Index-8e7dad66.js} +4 -4
  58. package/dist/{Index-d54ff9f5.js → Index-97f8832c.js} +9 -9
  59. package/dist/{Index-51f43342.js → Index-9db9f33d.js} +2 -2
  60. package/dist/{Index-c3cf1a7a.js → Index-b21fc0d5.js} +25 -25
  61. package/dist/{Index-ffb5b6ae.js → Index-b3d8c89b.js} +4 -4
  62. package/dist/{Index-de220060.js → Index-b476e19e.js} +2 -2
  63. package/dist/{Index-5204e965.js → Index-b79b46ed.js} +6 -6
  64. package/dist/{Index-f465338a.js → Index-b93d220a.js} +4 -4
  65. package/dist/{Index-d9dd3c6b.js → Index-c1f81c5d.js} +8 -8
  66. package/dist/{Index-21b9ef50.js → Index-c6475ab6.js} +2 -2
  67. package/dist/{Index-c5a2140d.js → Index-c89d4517.js} +1 -1
  68. package/dist/{Index-9275b550.js → Index-e16918b8.js} +3 -3
  69. package/dist/{Index-17db3981.js → Index-e7cb0094.js} +2 -2
  70. package/dist/{Index-f7e348e2.js → Index-f9e6924b.js} +13 -13
  71. package/dist/{Index-275a26f3.js → Index-fa1cebef.js} +4 -4
  72. package/dist/{InputToggleRow-281e90c1.js → InputToggleRow-e0f2f03d.js} +1 -1
  73. package/dist/{IsPremiumPreStep-b1384bb4.js → IsPremiumPreStep-19c21cf9.js} +67 -59
  74. package/dist/{ManualPopover-d5ea2774.js → ManualPopover-dfa0e9ab.js} +1 -1
  75. package/dist/{MediaWrapper-a0b4ebe8.js → MediaWrapper-0141ada8.js} +3 -3
  76. package/dist/{NotBindingText-67a1409e.js → NotBindingText-0d2714ed.js} +2 -2
  77. package/dist/{PackageGroup-29439e17.js → PackageGroup-47bcb0de.js} +12 -12
  78. package/dist/{PdfTerms-2e6c0285.js → PdfTerms-31e6e4d8.js} +5 -5
  79. package/dist/{PdfViewer-371b5058.js → PdfViewer-05cdae7d.js} +6 -6
  80. package/dist/{PlainHtml-c70dc350.js → PlainHtml-25f86c0e.js} +1 -1
  81. package/dist/{PriceHeader-5ff405b6.js → PriceHeader-2dd6a207.js} +15 -15
  82. package/dist/{SearchApi-b14c893f.js → SearchApi-e4822fb0.js} +2 -2
  83. package/dist/{Setup-4d84f86a.js → Setup-7acab382.js} +1 -1
  84. package/dist/{TermsSettings-7072778d.js → TermsSettings-2e29c7b5.js} +6 -6
  85. package/dist/{ThemeColorRow-37a17ce4.js → ThemeColorRow-fc8942b5.js} +3 -3
  86. package/dist/{ToggleBinding-e04d9dfc.js → ToggleBinding-4eeba32c.js} +3 -3
  87. package/dist/{UploadModal-39f04624.js → UploadModal-4a1b0129.js} +3 -3
  88. package/dist/{VideoPlayerInput-55ab9dd1.js → VideoPlayerInput-627a5cdf.js} +3 -3
  89. package/dist/{VideoPlayerSettings-1d2507e8.js → VideoPlayerSettings-46355f8b.js} +4 -4
  90. package/dist/{VideoSelectModal-c158c88b.js → VideoSelectModal-c9d739eb.js} +8 -8
  91. package/dist/{answerDocumentMixin-5711c3ae.js → answerDocumentMixin-b844a10e.js} +3 -3
  92. package/dist/{cssMode-b85ed111.js → cssMode-5aedeee4.js} +7 -7
  93. package/dist/{dom-d4731032.js → dom-962579a6.js} +7 -6
  94. package/dist/{focusDrawerMixin-5139ff2d.js → focusDrawerMixin-9627614a.js} +1 -1
  95. package/dist/{formComponentsInstall-ea9fe0f1.js → formComponentsInstall-a9269119.js} +12 -12
  96. package/dist/{formDrawerState-872f6c63.js → formDrawerState-876f57b6.js} +1 -1
  97. package/dist/{formValidationMixin-20797066.js → formValidationMixin-ed233af0.js} +2 -2
  98. package/dist/{freemarker2-db773dc4.js → freemarker2-60ee9aee.js} +7 -7
  99. package/dist/{handlebars-f4e59d92.js → handlebars-694dfedf.js} +7 -7
  100. package/dist/{html-60722cac.js → html-a2234a8c.js} +7 -7
  101. package/dist/{htmlMode-699d17ac.js → htmlMode-caaf687c.js} +7 -7
  102. package/dist/{image-c4536036.js → image-a8004950.js} +1 -1
  103. package/dist/{index-b6204795.js → index-7c059780.js} +1 -1
  104. package/dist/{index-1f9bf410.js → index-a0048c9d.js} +9 -9
  105. package/dist/{index-b5312c69.js → index-c504f71f.js} +5 -5
  106. package/dist/index-c9bc377d.js +15 -0
  107. package/dist/{index-a0dcb949.js → index-da2125a0.js} +1 -1
  108. package/dist/{index-01a9890c.js → index-ef7204d4.js} +2 -2
  109. package/dist/index.es.js +3 -3
  110. package/dist/index.umd.js +472 -472
  111. package/dist/{javascript-10d90d6d.js → javascript-f139d6eb.js} +8 -8
  112. package/dist/{jsonMode-7689792e.js → jsonMode-63fc85d2.js} +7 -7
  113. package/dist/{liquid-d3d3f6d5.js → liquid-b7a8bbf7.js} +7 -7
  114. package/dist/{main-9daa18a1.js → main-73b04297.js} +674 -675
  115. package/dist/{mapFormMixin-1236b266.js → mapFormMixin-eca2705b.js} +1 -1
  116. package/dist/{publicSenderState-5036fa9a.js → publicSenderState-aa1142cf.js} +1 -1
  117. package/dist/{python-29472e5e.js → python-d3a01852.js} +7 -7
  118. package/dist/{razor-2dfcf495.js → razor-cdee010d.js} +7 -7
  119. package/dist/{simplebar.min-8422a634.js → simplebar.min-c240d344.js} +1 -1
  120. package/dist/style.css +2 -2
  121. package/dist/{template-282dfd7f.js → template-6d164806.js} +1 -1
  122. package/dist/{throttle-d4af9020.js → throttle-5aa94034.js} +2 -2
  123. package/dist/{tinycolor-e750ced7.js → tinycolor-7e30d091.js} +1 -1
  124. package/dist/{tippy.esm-ae169d52.js → tippy.esm-eb9486e0.js} +5 -5
  125. package/dist/{tsMode-af13fa75.js → tsMode-af4d2070.js} +7 -7
  126. package/dist/{typescript-278dd0a0.js → typescript-b453757b.js} +7 -7
  127. package/dist/{utils-a1170d9a.js → utils-ad6484bb.js} +1 -1
  128. package/dist/{vuedraggable.umd-e860e729.js → vuedraggable.umd-045dd09e.js} +1 -1
  129. package/dist/{xml-2214e1d4.js → xml-3f196cee.js} +7 -7
  130. package/package.json +1 -1
  131. package/dist/index-d9683bc3.js +0 -14
@@ -1,5 +1,5 @@
1
- import { P as e } from "./PlainHtml-c70dc350.js";
2
- import { n } from "./main-9daa18a1.js";
1
+ import { P as e } from "./PlainHtml-25f86c0e.js";
2
+ import { n } from "./main-73b04297.js";
3
3
  const s = {
4
4
  name: "EstimatedWorkStartAndEndAtTextRead",
5
5
  props: {
@@ -1,4 +1,4 @@
1
- import { n, s as l } from "./main-9daa18a1.js";
1
+ import { n, s as l } from "./main-73b04297.js";
2
2
  const d = {
3
3
  name: "MultiGroupPricing",
4
4
  props: {
@@ -1,9 +1,9 @@
1
- import { m as n } from "./mapFormMixin-1236b266.js";
2
- import { n as r } from "./main-9daa18a1.js";
1
+ import { m as n } from "./mapFormMixin-eca2705b.js";
2
+ import { n as r } from "./main-73b04297.js";
3
3
  const s = {
4
4
  name: "WorkAddressText",
5
5
  components: {
6
- Read: () => import("./Index-de220060.js")
6
+ Read: () => import("./Index-b476e19e.js")
7
7
  },
8
8
  mixins: [n(["street", "city", "zip"])]
9
9
  };
@@ -1,5 +1,5 @@
1
- import { m as o } from "./mapFormMixin-1236b266.js";
2
- import { n as l, L as s } from "./main-9daa18a1.js";
1
+ import { m as o } from "./mapFormMixin-eca2705b.js";
2
+ import { n as l, L as s } from "./main-73b04297.js";
3
3
  import { v as a } from "./index-805c56e4.js";
4
4
  const c = (e, t) => e ? s(t.workStartAt || /* @__PURE__ */ new Date(), e) >= 0 : !0, u = {
5
5
  name: "ExtraWorkTimeImpactTextEdit",
@@ -1,16 +1,16 @@
1
- import { n as i, g as o, P as u, b as l, am as d } from "./main-9daa18a1.js";
2
- import { m } from "./mapFormMixin-1236b266.js";
3
- import { w as _ } from "./CDropdownItem-ef2d7897.js";
1
+ import { n as i, g as o, P as u, b as l, am as d } from "./main-73b04297.js";
2
+ import { m } from "./mapFormMixin-eca2705b.js";
3
+ import { w as _ } from "./CDropdownItem-55d36127.js";
4
4
  import { m as g, a as f } from "./vuex.esm-4a0fff7c.js";
5
- import { T as v } from "./DocTextEditor-f4b51510.js";
6
- import { C as h } from "./CCallout-764d08cd.js";
7
- import "./tippy.esm-ae169d52.js";
8
- import "./ColorPicker-15579f77.js";
9
- import "./DocumentLayout-632a6f98.js";
10
- import "./CSlider.vue_vue_type_style_index_0_lang-4a1c5561.js";
11
- import "./dom-d4731032.js";
5
+ import { T as v } from "./DocTextEditor-fa8bf4e1.js";
6
+ import { C as h } from "./CCallout-e4abad1f.js";
7
+ import "./tippy.esm-eb9486e0.js";
8
+ import "./ColorPicker-ec8e8175.js";
9
+ import "./DocumentLayout-48c2d8a7.js";
10
+ import "./CSlider.vue_vue_type_style_index_0_lang-e3343543.js";
11
+ import "./dom-962579a6.js";
12
12
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
13
- import "./ManualPopover-d5ea2774.js";
13
+ import "./ManualPopover-dfa0e9ab.js";
14
14
  import "./color-71c20583.js";
15
15
  const y = {
16
16
  name: "ModalReference",
@@ -277,8 +277,8 @@ const A = {
277
277
  name: "DocPresentationMessage",
278
278
  components: {
279
279
  AvatarContact: F,
280
- IsPremium: () => import("./index-d9683bc3.js").then((s) => s.IsPremium),
281
- IsPremiumPreStep: () => import("./index-d9683bc3.js").then((s) => s.IsPremiumPreStep)
280
+ IsPremium: () => import("./index-c9bc377d.js").then((s) => s.IsPremium),
281
+ IsPremiumPreStep: () => import("./index-c9bc377d.js").then((s) => s.IsPremiumPreStep)
282
282
  },
283
283
  props: {
284
284
  _document: {
@@ -1,7 +1,7 @@
1
- import { m as r } from "./mapFormMixin-1236b266.js";
2
- import { I as n } from "./InputToggleRow-281e90c1.js";
3
- import { B as l } from "./BaseDatePicker-99d99f2b.js";
4
- import { n as s } from "./main-9daa18a1.js";
1
+ import { m as r } from "./mapFormMixin-eca2705b.js";
2
+ import { I as n } from "./InputToggleRow-e0f2f03d.js";
3
+ import { B as l } from "./BaseDatePicker-c236b147.js";
4
+ import { n as s } from "./main-73b04297.js";
5
5
  const c = {
6
6
  i18nOptions: {
7
7
  namespaces: "estimatedTimeStartEnd",
@@ -1,4 +1,4 @@
1
- import { n as s } from "./main-9daa18a1.js";
1
+ import { n as s } from "./main-73b04297.js";
2
2
  const n = {
3
3
  name: "InputCompactRow",
4
4
  props: {
@@ -1,8 +1,9 @@
1
- import { c as h, a4 as L, au as B, b as C, av as M, aw as K, ax as Y, ay as W, az as X, V as H, aA as Q, aB as J, n as d, s as P, D as ee, ae as y, aC as te, g as m, aD as _, aE as ne, aF as ae, aG as re, aH as F, p as ie, h as D, I as E, aI as U, H as se, aJ as oe, ak as le } from "./main-9daa18a1.js";
2
- import { m as v, a as $, b as ce } from "./vuex.esm-4a0fff7c.js";
1
+ import { c as h, a4 as D, au as B, b as C, av as M, aw as Z, ax as K, ay as Y, az as W, V as F, aA as X, aB as Q, n as d, s as P, D as J, ae as y, aC as ee, g as m, aD as _, aE as te, aF as ne, aG as ae, aH as H, p as re, h as L, I as E, aI as U, H as ie, aJ as se, ak as oe } from "./main-73b04297.js";
2
+ import { m as v, a as $, b as le } from "./vuex.esm-4a0fff7c.js";
3
3
  import { a as u } from "./anime.es-e284c852.js";
4
- import { g as k } from "./image-c4536036.js";
5
- import "./index-a0dcb949.js";
4
+ import { g as k } from "./image-a8004950.js";
5
+ import "./index-da2125a0.js";
6
+ import { g as ce } from "./dom-962579a6.js";
6
7
  import { v as b } from "./index-805c56e4.js";
7
8
  const x = {
8
9
  AD: {
@@ -1256,10 +1257,10 @@ const x = {
1256
1257
  const e = "js.stripe.com/v3/", t = document.createElement("script"), a = document.getElementsByTagName("script")[0];
1257
1258
  return t.src = `https://${e}`, t.id = "stripe-js", n && t.addEventListener("load", (r) => n(null, r), !1), a.parentNode.insertBefore(t, a), !0;
1258
1259
  }, de = () => ue(() => {
1259
- window.$stripe = Stripe(h.stripe.publishableKey, { locale: L.lang || "en" });
1260
+ window.$stripe = Stripe(h.stripe.publishableKey, { locale: D.lang || "en" });
1260
1261
  });
1261
1262
  de();
1262
- const me = (n) => L.te(`errors:${n}`) && L.t(`errors:${n}`), pe = "stripe", {
1263
+ const me = (n) => D.te(`errors:${n}`) && D.t(`errors:${n}`), pe = "stripe", {
1263
1264
  LOAD_PRICES: A,
1264
1265
  RESET_STRIPE_FORM: ge,
1265
1266
  SET_STRIPE_FORM_VALUE: he,
@@ -1271,7 +1272,7 @@ const me = (n) => L.te(`errors:${n}`) && L.t(`errors:${n}`), pe = "stripe", {
1271
1272
  CONFIRM_PAYMENT: N,
1272
1273
  SUBMIT_FORM_PAYMENT: w,
1273
1274
  SUBMIT_FORM_PRODUCTS: ve
1274
- } = J, z = {
1275
+ } = Q, z = {
1275
1276
  // The term "plan" refers to a _price_ connected to a _product_ with metadata.accountType
1276
1277
  plan: { accountType: "pro", interval: "month", quantity: 1 },
1277
1278
  customer: { name: "", email: "", region: null },
@@ -1481,7 +1482,7 @@ const me = (n) => L.te(`errors:${n}`) && L.t(`errors:${n}`), pe = "stripe", {
1481
1482
  if (e.isPosting || !a)
1482
1483
  return !1;
1483
1484
  n("setPosting", !0);
1484
- const { data: r } = await K(a);
1485
+ const { data: r } = await Z(a);
1485
1486
  return t(V, { promotionDetails: r, code: a });
1486
1487
  } catch {
1487
1488
  return !1;
@@ -1525,7 +1526,7 @@ const me = (n) => L.te(`errors:${n}`) && L.t(`errors:${n}`), pe = "stripe", {
1525
1526
  r && (g = await t(O, { cardElement: r }));
1526
1527
  const S = { ...l, items: s };
1527
1528
  g && (S.paymentMethod = g), o && o.code && (S.promotionCode = o.code), p && (S.dealSource = p);
1528
- const { data: Z = {} } = await M.product(S, { removeUnusedItems: i }), { clientSecrets: T } = Z, R = g && g.id ? g.id : c && c.paymentMethodId;
1529
+ const { data: j = {} } = await M.product(S, { removeUnusedItems: i }), { clientSecrets: T } = j, R = g && g.id ? g.id : c && c.paymentMethodId;
1529
1530
  return T && T.length && R ? await t(N, { clientSecrets: T, paymentMethodId: R }) : !0;
1530
1531
  } catch (s) {
1531
1532
  this.handleError(s);
@@ -1622,8 +1623,8 @@ const me = (n) => L.te(`errors:${n}`) && L.t(`errors:${n}`), pe = "stripe", {
1622
1623
  setPrices: (n, { data: e = [] }) => {
1623
1624
  if (typeof e != "object")
1624
1625
  throw Error("Data must be a priceItem or array of priceItems!");
1625
- const t = Array.isArray(e) ? e : [e], { ids: a, values: r } = Y(t, { keyId: "stripeId" });
1626
- W(n.prices, r), n.priceIds = X([...a, ...n.priceIds]);
1626
+ const t = Array.isArray(e) ? e : [e], { ids: a, values: r } = K(t, { keyId: "stripeId" });
1627
+ Y(n.prices, r), n.priceIds = W([...a, ...n.priceIds]);
1627
1628
  },
1628
1629
  setActivePriceMap: ({ prices: n, activePriceMap: e }) => Object.keys(n).forEach((t) => {
1629
1630
  const a = n[t], r = C(a, "StripeProduct.metadata.accountType");
@@ -1631,11 +1632,11 @@ const me = (n) => L.te(`errors:${n}`) && L.t(`errors:${n}`), pe = "stripe", {
1631
1632
  }),
1632
1633
  // --- Form ---
1633
1634
  setForm: (n, e) => {
1634
- H.set(n, "form", e);
1635
+ F.set(n, "form", e);
1635
1636
  },
1636
1637
  setFormValue: (n, { key: e, value: t }) => {
1637
- const { root: a, prop: r } = Q(n, `form.${e}`);
1638
- H.set(a, r, t);
1638
+ const { root: a, prop: r } = X(n, `form.${e}`);
1639
+ F.set(a, r, t);
1639
1640
  }
1640
1641
  }
1641
1642
  };
@@ -1767,7 +1768,7 @@ const ke = Se.exports;
1767
1768
  const xe = {
1768
1769
  name: "PremiumStripeSelect",
1769
1770
  i18nOptions: {
1770
- namespaces: "PremiumStripeSelect",
1771
+ namespaces: "premiumStripeSelect",
1771
1772
  messages: {
1772
1773
  en: {
1773
1774
  title: 'Upgrade your plan. <span style="opacity: 0.5;">Get more out of {{brand,capitalize}}.</span>',
@@ -1869,7 +1870,7 @@ var we = function() {
1869
1870
  $e,
1870
1871
  !1,
1871
1872
  null,
1872
- "61cc7791",
1873
+ "8473061a",
1873
1874
  null,
1874
1875
  null
1875
1876
  );
@@ -1942,17 +1943,17 @@ var Ie = function() {
1942
1943
  return t("div", [t("div", { on: { click: function(a) {
1943
1944
  e.expanded = !e.expanded;
1944
1945
  } } }, [e._t("trigger", null, { expanded: e.expanded })], 2), t("transition", { on: { enter: e.onEnter, "after-enter": e.onAfterEnter, "before-leave": e.onBeforeLeave, leave: e.onLeave } }, [e.expanded ? t("div", { ref: "wrapper", staticClass: "c-accordion", style: e.wrapperStyle }, [t("div", { ref: "inner", staticClass: "c-accordion__inner" }, [e._t("default")], 2)]) : e._e()])], 1);
1945
- }, Le = [], De = /* @__PURE__ */ d(
1946
+ }, De = [], Le = /* @__PURE__ */ d(
1946
1947
  Ee,
1947
1948
  Ie,
1948
- Le,
1949
+ De,
1949
1950
  !1,
1950
1951
  null,
1951
1952
  null,
1952
1953
  null,
1953
1954
  null
1954
1955
  );
1955
- const Re = De.exports, Be = {
1956
+ const Re = Le.exports, Be = {
1956
1957
  amex: {
1957
1958
  name: "American Express",
1958
1959
  logo: '<g><rect width="48" height="32" rx="4" fill="white"/><g><path d="M8.88 17.9V26.06H17.14L18 24.84L18.84 26.06H23.89V24.22H24.45C24.9584 24.2244 25.4643 24.1502 25.95 24V26.06H29.38V24.6L30.54 26.06H46.16C46.802 26.0712 47.4338 25.8977 47.98 25.56V29C47.5224 30.7722 45.9203 32.0078 44.09 32H4C1.79086 32 0 30.2091 0 28V15.4H2.28L2.75 14.18H3.87L4.33 15.4H22.67V13.94L23.83 15.4H28.64V14.66C29.3453 15.1621 30.1945 15.4217 31.06 15.4H33.93L34.39 14.18H35.51L36 15.4H40.9V13.82L41.9 15.4H45.28V7.24H41.69V8.9L40.62 7.24H37.48V9.34L36.48 7.24H31.14C30.2366 7.21382 29.3524 7.50384 28.64 8.06V7.24H11L10.4 9L9.8 7.2H5.8V9.3L4.86 7.2H1.6L0 11V4C0 1.79086 1.79086 1.31011e-07 4 1.31011e-07H44.09C45.9278 -0.0169872 47.5406 1.2205 48 3V17.9H18.86L18 19.1L17.16 17.9H8.88Z" fill="#296DB6"/><path fill-rule="evenodd" clip-rule="evenodd" d="M21.32 19.2H24.43V19.16C24.9479 19.1165 25.4595 19.2976 25.8345 19.6574C26.2096 20.0171 26.4119 20.5208 26.39 21.04C26.4028 21.5655 26.1927 22.0718 25.8116 22.4338C25.4306 22.7958 24.9141 22.9797 24.39 22.94H22.69V24.8H21.32V19.2ZM14.71 20.36V19.16H10.18V24.8H14.71V23.6H11.54V22.6H14.65V21.38H11.54V20.38L14.71 20.36ZM18.8 22L21.06 19.2H19.4L18 20.94L16.61 19.16H14.91L17.2 22L15 24.8H16.64L18 23L19.36 24.82H21.08L18.8 22ZM24.31 21.78H22.69V20.36H24.31C24.6911 20.36 25 20.6689 25 21.05C25 21.4311 24.6911 21.74 24.31 21.74V21.78ZM32.17 20.79C32.286 21.7731 31.5831 22.664 30.6 22.78L32.49 24.8H30.78L29.1 22.8H28.48V24.8H27.12V19.22H30.18C31.1631 19.104 32.054 19.8069 32.17 20.79ZM30.06 21.66H28.48V20.36H30.06C30.2378 20.3369 30.4169 20.3918 30.5511 20.5107C30.6853 20.6296 30.7615 20.8007 30.76 20.98C30.7649 21.1604 30.6898 21.3337 30.5547 21.4533C30.4196 21.573 30.2385 21.6267 30.06 21.6V21.66ZM37.36 19.22V20.42L34.19 20.38V21.38H37.28V22.6H34.19V23.6H37.36V24.8H32.81V19.22H37.36ZM41.13 21.42H39.82C39.6175 21.4607 39.4105 21.3753 39.2956 21.2036C39.1808 21.032 39.1808 20.808 39.2956 20.6364C39.4105 20.4647 39.6175 20.3793 39.82 20.42H42.25L42.79 19.22H39.86C39.3615 19.1622 38.8623 19.3225 38.4906 19.6597C38.1189 19.9969 37.9109 20.4782 37.92 20.98C37.8896 21.4469 38.0691 21.903 38.4094 22.2241C38.7498 22.5451 39.2157 22.6976 39.68 22.64H41C41.2025 22.5993 41.4095 22.6847 41.5244 22.8564C41.6392 23.028 41.6392 23.252 41.5244 23.4236C41.4095 23.5953 41.2025 23.6807 41 23.64H38.08V24.84H41C41.5039 24.8812 42.0011 24.7024 42.3634 24.3497C42.7257 23.997 42.9177 23.5049 42.89 23C42.9153 22.5378 42.7326 22.0885 42.392 21.775C42.0514 21.4615 41.5885 21.3166 41.13 21.38V21.42ZM47.46 20.42H45.03L45 20.38C44.7975 20.3393 44.5905 20.4247 44.4756 20.5964C44.3608 20.768 44.3608 20.992 44.4756 21.1636C44.5905 21.3353 44.7975 21.4207 45 21.38H46.36C47.0518 21.3089 47.7118 21.6871 48 22.32V23.66C47.7246 24.4224 46.9666 24.9003 46.16 24.82H43.29V23.62H46.18C46.3825 23.6607 46.5895 23.5753 46.7044 23.4036C46.8192 23.232 46.8192 23.008 46.7044 22.8364C46.5895 22.6647 46.3825 22.5793 46.18 22.62H44.89C44.4257 22.6776 43.9598 22.5251 43.6194 22.2041C43.2791 21.883 43.0996 21.4269 43.13 20.96C43.1209 20.4582 43.3289 19.9769 43.7006 19.6397C44.0723 19.3025 44.5715 19.1422 45.07 19.2H48L47.46 20.42Z" fill="#296DB6"/><path fill-rule="evenodd" clip-rule="evenodd" d="M25.45 10.28C25.4719 11.1815 24.8053 11.9521 23.91 12.06L25.79 14.14H24.09L22.41 12.14H21.79V14.14H20.4V8.5H23.45C23.9596 8.43317 24.473 8.59111 24.8569 8.93278C25.2408 9.27446 25.4573 9.76612 25.45 10.28ZM4.23 8.5H2.45L0 14.14H1.48L2 13H4.63L5.11 14.18H6.65L4.23 8.5ZM2.38 11.86L2.93 10.54L3.29 9.66L3.65 10.54L4.19 11.86H2.38ZM10.6 11.76L11.7 8.5H13.89V14.14H12.57V10.44V9.58L12.31 10.44L11 14.14H9.8L8.52 10.44L8.24 9.58V10.44V14.14H6.91V8.5H9.12L10.24 11.76L10.42 12.38L10.6 11.76ZM19.5 9.7V8.5H15V14.14H19.5V12.94H16.33V11.94H19.42V10.72H16.33V9.72L19.5 9.7ZM23.37 10.94H21.79V9.7H23.37C23.5471 9.68019 23.7243 9.73632 23.8577 9.85449C23.9912 9.97265 24.0683 10.1418 24.07 10.32C24.0749 10.5004 23.9998 10.6737 23.8647 10.7933C23.7296 10.913 23.5485 10.9667 23.37 10.94ZM26.11 14.14V8.5H27.48V14.14H26.11ZM31.11 9.72H32.58V8.5H31C30.2562 8.45299 29.5291 8.7337 29.0099 9.26831C28.4907 9.80292 28.2313 10.5379 28.3 11.28V11.36C28.2164 12.0915 28.4596 12.8226 28.9645 13.3583C29.4694 13.8941 30.1849 14.1801 30.92 14.14H31L31.55 12.94H31.1C30.685 12.9613 30.2819 12.7972 29.9999 12.492C29.7179 12.1868 29.586 11.772 29.64 11.36V11.28C29.5925 10.8712 29.7272 10.4621 30.0085 10.1616C30.2897 9.86113 30.6889 9.69961 31.1 9.72H31.11ZM34.09 8.5H35.89L38.3 14.18H36.76L36.28 13H33.61L33.13 14.14H31.67L34.09 8.5ZM34.05 11.86L34.57 10.54L34.93 9.66L35.27 10.54L35.81 11.86H34.05ZM42.61 11.5V8.5H44V14.14H42.35L40.26 10.96L39.9 10.34V11V14.18H38.56V8.54H40.23L42.23 11.54L42.61 12.18V11.5Z" fill="#296DB6"/></g></g>'
@@ -1992,11 +1993,7 @@ const Re = De.exports, Be = {
1992
1993
  logo: i
1993
1994
  };
1994
1995
  }
1995
- };
1996
- function j(n) {
1997
- return n == null ? null : n.scrollHeight > n.clientHeight ? n : j(n.parentNode);
1998
- }
1999
- const He = {
1996
+ }, Fe = {
2000
1997
  data() {
2001
1998
  return {
2002
1999
  stripeCardElementId: null,
@@ -2018,7 +2015,7 @@ const He = {
2018
2015
  this.elements = this.stripe.elements(), this.stripeCardElementId && this.configureStripeCard(this.stripeCardElementId);
2019
2016
  });
2020
2017
  },
2021
- beforeDestroy() {
2018
+ destroyed() {
2022
2019
  this.unmountCardInput();
2023
2020
  },
2024
2021
  methods: {
@@ -2077,7 +2074,10 @@ const He = {
2077
2074
  e.style.position = "absolute", e.style.top = `${a}px`, e.style.left = `${t}px`;
2078
2075
  },
2079
2076
  copyInputStyle(n) {
2080
- const e = n.cloneNode(!0), t = j(n), a = () => {
2077
+ var i;
2078
+ const e = n.cloneNode(!0);
2079
+ e.style.boxSizing = "border-box", e.style.fontSize = (i = window.getComputedStyle(n)) == null ? void 0 : i.fontSize;
2080
+ const t = ce(n), a = () => {
2081
2081
  this.repositionStripeEl({ original: n, clone: e });
2082
2082
  };
2083
2083
  t.addEventListener("scroll", a, {
@@ -2090,11 +2090,11 @@ const He = {
2090
2090
  const r = Number(
2091
2091
  window.getComputedStyle(n).getPropertyValue("--app-z-index")
2092
2092
  );
2093
- e.style.zIndex = r + 1e3, document.body.appendChild(e);
2093
+ e.style.zIndex = r + 1e4, document.body.appendChild(e);
2094
2094
  }
2095
2095
  }
2096
2096
  };
2097
- const Fe = {
2097
+ const He = {
2098
2098
  i18nOptions: {
2099
2099
  namespaces: "PremiumStripeForm",
2100
2100
  messages: {
@@ -2287,9 +2287,9 @@ const Fe = {
2287
2287
  name: "PremiumStripeForm",
2288
2288
  components: {
2289
2289
  CAccordion: Re,
2290
- CCheckbox: ee
2290
+ CCheckbox: J
2291
2291
  },
2292
- mixins: [He],
2292
+ mixins: [Fe],
2293
2293
  props: {
2294
2294
  formPlan: {
2295
2295
  type: Object,
@@ -2339,7 +2339,8 @@ const Fe = {
2339
2339
  numeric: b.numeric
2340
2340
  },
2341
2341
  consent: {
2342
- required: (e) => b.requiredIf((t) => t.collectConsent) && e
2342
+ required: b.requiredIf((e) => e.collectConsent),
2343
+ sameAs: b.sameAs((e) => e.collectConsent)
2343
2344
  }
2344
2345
  };
2345
2346
  },
@@ -2429,7 +2430,7 @@ const Fe = {
2429
2430
  watch: {
2430
2431
  useExistingCard(n) {
2431
2432
  this.$nextTick(() => {
2432
- n ? this.unmountCardInput() : this.mountCardInput();
2433
+ n || this.mountCardInput();
2433
2434
  });
2434
2435
  }
2435
2436
  },
@@ -2447,7 +2448,7 @@ const Fe = {
2447
2448
  this.useExistingCard = n, this.useExistingCustomer = n, ["name", "region", "email"].forEach((t) => {
2448
2449
  this.customer[t] && this.$emit("input", { key: `customer.${t}`, value: this.customer[t] });
2449
2450
  });
2450
- const { data: e } = await te();
2451
+ const { data: e } = await ee();
2451
2452
  this.setPromotion({ promotionDetails: e });
2452
2453
  }
2453
2454
  this.companyRegion === "SE" && !this.formCustomer.region && this.$emit("input", { key: "customer.region", value: this.companyRegion }), this.routePromo && this.verifyPromotionCode(this.routePromo);
@@ -2530,7 +2531,7 @@ var Ue = function() {
2530
2531
  e.consent = a;
2531
2532
  }, expression: "consent" } }, [t("div", { class: [
2532
2533
  e.$v.consent.$invalid && e.$v.consent.$dirty ? "has-text-danger" : "has-text-grey-dark"
2533
- ] }, [e._v(" " + e._s(e.$t("consent.label", { brand: e.$t("_common:brand.name") })) + " "), t("a", { attrs: { href: e.$t("_common:brand.termsOfService.url"), target: "_blank", rel: "noopener", tabindex: "-1" } }, [e._v(" " + e._s(e.$t("_common:terms.termsAndConditions")) + " ")]), e._v(" " + e._s(e.$t("_common:and")) + " "), t("a", { attrs: { href: e.$t("_common:brand.privacyPolicy.url"), target: "_blank", rel: "noopener", tabindex: "-1" } }, [e._v(" " + e._s(e.$t("_common:terms.privacyPolicy")) + " ")])])])], 1) : e._e(), t("div", { staticClass: "anim-block p-block" }, [t("CButton", { staticStyle: { "margin-top": "calc(1 * var(--rem))" }, attrs: { loading: e.isPosting, type: "secondary", wide: "", size: "medium", "icon-right": "arrow-right" }, on: { click: e.submit } }, [e._v(" " + e._s(e.$t("submitButton", { plan: e.uiPlan.name })) + " ")])], 1)])]), t("modal", { staticClass: "overflow-visible primary", attrs: { adaptive: !0, scrollable: !0, "max-width": 400, height: "auto", width: "90%", classes: "primary overflow-visible", name: "faq" } }, [t("div", { staticStyle: { "background-color": "white", "border-radius": "calc(0.5 * var(--rem))", padding: "calc(1 * var(--rem))" } }, [t("div", { staticStyle: { "font-size": "calc(2 * var(--rem))", "font-weight": "600", "margin-bottom": ".5em", padding: "calc(1 * var(--rem))" }, domProps: { textContent: e._s(e.$t("faq.title")) } }), e._l(6, function(a) {
2534
+ ] }, [e._v(" " + e._s(e.$t("consent.label", { brand: e.$t("_common:brand.name") })) + " "), t("a", { staticClass: "underline", attrs: { href: e.$t("_common:brand.termsOfService.url"), target: "_blank", rel: "noopener", tabindex: "-1" } }, [e._v(" " + e._s(e.$t("_common:terms.termsAndConditions")) + " ")]), e._v(" " + e._s(e.$t("_common:and")) + " "), t("a", { staticClass: "underline", attrs: { href: e.$t("_common:brand.privacyPolicy.url"), target: "_blank", rel: "noopener", tabindex: "-1" } }, [e._v(" " + e._s(e.$t("_common:terms.privacyPolicy")) + " ")])])])], 1) : e._e(), t("div", { staticClass: "anim-block p-block" }, [t("CButton", { staticStyle: { "margin-top": "calc(1 * var(--rem))" }, attrs: { loading: e.isPosting, type: "secondary", wide: "", size: "medium", "icon-right": "arrow-right" }, on: { click: e.submit } }, [e._v(" " + e._s(e.$t("submitButton", { plan: e.uiPlan.name })) + " ")])], 1)])]), t("modal", { staticClass: "overflow-visible primary", attrs: { adaptive: !0, scrollable: !0, "max-width": 400, height: "auto", width: "90%", classes: "primary overflow-visible", name: "faq" } }, [t("div", { staticStyle: { "background-color": "white", "border-radius": "calc(0.5 * var(--rem))", padding: "calc(1 * var(--rem))" } }, [t("div", { staticStyle: { "font-size": "calc(2 * var(--rem))", "font-weight": "600", "margin-bottom": ".5em", padding: "calc(1 * var(--rem))" }, domProps: { textContent: e._s(e.$t("faq.title")) } }), e._l(6, function(a) {
2534
2535
  return t("CAccordion", { key: a, attrs: { "default-open": null }, scopedSlots: e._u([{ key: "trigger", fn: function({ expanded: r }) {
2535
2536
  return t("div", { staticClass: "list-button" }, [t("span", { domProps: { textContent: e._s(e.$t(`faq.items.${a - 1}.title`, { brand: e.$t("_common:brand.name") })) } }), t("BaseIcon", { staticStyle: { transition: "200ms" }, style: { transform: `rotate(${r ? "0deg" : "180deg"})` }, attrs: { type: "chevron-down", size: "15" } })], 1);
2536
2537
  } }], null, !0) }, [t("div", { staticStyle: { "font-size": "14px", opacity: "0.65", padding: "0 calc(.5 * var(--rem)) calc(2 * var(--rem)) calc(.5 * var(--rem))" }, domProps: { textContent: e._s(e.$t(`faq.items.${a - 1}.text`, { brand: e.$t("_common:brand.name") })) } })]);
@@ -2538,12 +2539,12 @@ var Ue = function() {
2538
2539
  return t("div", { key: r, staticStyle: { "font-size": "14px", "margin-bottom": "calc(1 * var(--rem))" } }, [t("span", { staticStyle: { "font-weight": "500", "padding-right": "0.5ch" }, domProps: { textContent: e._s(e.$t(`reasonableUse.${a.type}`) + ":") } }), t("span", { staticStyle: { opacity: "0.75", "padding-right": "0.5ch" }, domProps: { textContent: e._s(e.$t("reasonableUse.quotaIncluded", { count: a.count })) } }), a.cost ? t("span", { staticStyle: { opacity: "0.75" }, domProps: { textContent: e._s(e.$t("reasonableUse.quotaExtra", { cost: a.cost })) } }) : e._e()]);
2539
2540
  }), 0)])])], 1);
2540
2541
  }, Ae = [], Ve = /* @__PURE__ */ d(
2541
- Fe,
2542
+ He,
2542
2543
  Ue,
2543
2544
  Ae,
2544
2545
  !1,
2545
2546
  null,
2546
- "f53b97d8",
2547
+ "4bbf7593",
2547
2548
  null,
2548
2549
  null
2549
2550
  );
@@ -2564,6 +2565,9 @@ const Oe = Ve.exports, Ne = {
2564
2565
  "Skicka offerter till kunder utanför Offerta",
2565
2566
  "Dessutom allt som ingår i Cling Pro"
2566
2567
  ]
2568
+ },
2569
+ premiumStripeSelect: {
2570
+ title: 'Uppgradera ditt konto. <span style="opacity: 0.5;">Få ut mer av offertverktyget.</span>'
2567
2571
  }
2568
2572
  },
2569
2573
  en: {
@@ -2582,6 +2586,9 @@ const Oe = Ve.exports, Ne = {
2582
2586
  "Send proposals to clients outside Offerta",
2583
2587
  "Everything in Cling Pro"
2584
2588
  ]
2589
+ },
2590
+ premiumStripeSelect: {
2591
+ title: 'Upgrade your plan. <span style="opacity: 0.5;">Get more out of Offerta.</span>'
2585
2592
  }
2586
2593
  }
2587
2594
  }, ze = {
@@ -2743,7 +2750,7 @@ const Oe = Ve.exports, Ne = {
2743
2750
  };
2744
2751
  },
2745
2752
  computed: {
2746
- ...ce({
2753
+ ...le({
2747
2754
  forceShowBase: (n) => n.route.query.base,
2748
2755
  routeDeal: (n) => n.route.query.deal
2749
2756
  }),
@@ -2836,7 +2843,7 @@ const Oe = Ve.exports, Ne = {
2836
2843
  this.$store.hasModule("stripe") || this.$store.registerModuleState("stripe", G);
2837
2844
  },
2838
2845
  async created() {
2839
- this.isOfferta && ne(Ne), this.resetStripeForm(), await this.loadPrices(), await this.suggestQuantity(), await this.handlePossibleDeal(), this.isEdit = !!this.subscriptions.length;
2846
+ this.isOfferta && te(Ne), this.resetStripeForm(), await this.loadPrices(), await this.suggestQuantity(), await this.handlePossibleDeal(), this.isEdit = !!this.subscriptions.length;
2840
2847
  },
2841
2848
  methods: {
2842
2849
  ...$({
@@ -2853,7 +2860,7 @@ const Oe = Ve.exports, Ne = {
2853
2860
  this.quantity = this.suggestedQuantity;
2854
2861
  return;
2855
2862
  }
2856
- const { data: n } = await ae();
2863
+ const { data: n } = await ne();
2857
2864
  this.quantity = n;
2858
2865
  },
2859
2866
  onReset() {
@@ -2891,7 +2898,7 @@ const Oe = Ve.exports, Ne = {
2891
2898
  setFromDealToken(n) {
2892
2899
  if (n)
2893
2900
  try {
2894
- const e = re(n);
2901
+ const e = ae(n);
2895
2902
  if (e.accountType && (this.plan = e.accountType), e.accountTypeInterval && (this.interval = e.accountTypeInterval), e.accountQuantity && (this.quantity = e.accountQuantity), e.dealSource && (this.dealSource = e.dealSource), e.items) {
2896
2903
  const t = [];
2897
2904
  Object.keys(e.items).forEach((a) => {
@@ -2947,10 +2954,10 @@ const Ze = je.exports, Ke = {
2947
2954
  stripeCustomDealToken: "settings/stripeCustomDealToken"
2948
2955
  }),
2949
2956
  isPremium() {
2950
- return F.includes(this.subscription.type);
2957
+ return H.includes(this.subscription.type);
2951
2958
  },
2952
2959
  isPremiumLike() {
2953
- return ["trial", ...F].includes(this.subscription.type);
2960
+ return ["trial", ...H].includes(this.subscription.type);
2954
2961
  },
2955
2962
  isProLike() {
2956
2963
  return ["pro", "trial"].includes(this.subscription.type);
@@ -3031,6 +3038,7 @@ const Ze = je.exports, Ke = {
3031
3038
  freeDocumentsLeft: this.subscription.freeDocumentsLeft,
3032
3039
  trialDaysLeft: this.subscription.trialDaysLeft,
3033
3040
  maxProjectManagers: this.subscription.maxProjectManagers,
3041
+ initialFreePremiumDays: this.subscription.initialFreePremiumDays,
3034
3042
  canCreateDocument: this.canCreateDocument,
3035
3043
  canUseTemplate: this.canUseTemplate,
3036
3044
  canCreateTemplate: this.canCreateTemplate,
@@ -3335,9 +3343,9 @@ const yt = ft.exports, Ct = {
3335
3343
  },
3336
3344
  created() {
3337
3345
  try {
3338
- ie("/documentLimitReached", {});
3346
+ re("/documentLimitReached", {});
3339
3347
  } catch (n) {
3340
- D(n, { showMessage: !1 });
3348
+ L(n, { showMessage: !1 });
3341
3349
  }
3342
3350
  },
3343
3351
  async mounted() {
@@ -3364,9 +3372,9 @@ const yt = ft.exports, Ct = {
3364
3372
  async useFreeDocsVoucher() {
3365
3373
  this.isLoading = !0;
3366
3374
  try {
3367
- await U.post({ code: "freeUserDocs" }), E.setItem("voucher-freeUserDocs-company-id", this.account.CompanyId), await this.loadCurrentCompany(), se("success", this.$t("voucherSuccessMessage", { count: this.voucherDocCount })), this.onUpgrade && typeof this.onUpgrade == "function" && this.onUpgrade();
3375
+ await U.post({ code: "freeUserDocs" }), E.setItem("voucher-freeUserDocs-company-id", this.account.CompanyId), await this.loadCurrentCompany(), ie("success", this.$t("voucherSuccessMessage", { count: this.voucherDocCount })), this.onUpgrade && typeof this.onUpgrade == "function" && this.onUpgrade();
3368
3376
  } catch (n) {
3369
- D(n);
3377
+ L(n);
3370
3378
  } finally {
3371
3379
  this.isLoading = !1, this.$emit("close");
3372
3380
  }
@@ -3498,7 +3506,7 @@ const Tt = {
3498
3506
  else
3499
3507
  throw new Error("Cannot upgrade license as current paymentMethod is not valid");
3500
3508
  } catch (t) {
3501
- D(t);
3509
+ L(t);
3502
3510
  }
3503
3511
  e && await n();
3504
3512
  },
@@ -3508,7 +3516,7 @@ const Tt = {
3508
3516
  return await this.loadCurrentCompany(), n;
3509
3517
  },
3510
3518
  async addInvoiceLicense() {
3511
- await oe(), await this.loadCurrentCompany();
3519
+ await se(), await this.loadCurrentCompany();
3512
3520
  }
3513
3521
  }
3514
3522
  };
@@ -3525,8 +3533,8 @@ var Mt = function() {
3525
3533
  null,
3526
3534
  null
3527
3535
  );
3528
- const Lt = It.exports;
3529
- const Dt = {
3536
+ const Dt = It.exports;
3537
+ const Lt = {
3530
3538
  i18nOptions: {
3531
3539
  namespaces: "licenses",
3532
3540
  messages: {
@@ -3556,8 +3564,8 @@ const Dt = {
3556
3564
  var Rt = function() {
3557
3565
  var e = this, t = e._self._c;
3558
3566
  return t("PremiumRestrictedBase", { attrs: { title: e.$t("title"), "sub-title": e.$t("subTitle"), "action-function": e.onUpgrade, plan: "premium" } }, [t("template", { slot: "actionText" }, [e._v(" " + e._s(e.$t("actionText")) + " ")])], 2);
3559
- }, Bt = [], Ht = /* @__PURE__ */ d(
3560
- Dt,
3567
+ }, Bt = [], Ft = /* @__PURE__ */ d(
3568
+ Lt,
3561
3569
  Rt,
3562
3570
  Bt,
3563
3571
  !1,
@@ -3566,7 +3574,7 @@ var Rt = function() {
3566
3574
  null,
3567
3575
  null
3568
3576
  );
3569
- const Ft = Ht.exports, Ut = {
3577
+ const Ht = Ft.exports, Ut = {
3570
3578
  i18nOptions: {
3571
3579
  namespaces: "stats",
3572
3580
  messages: {
@@ -3780,8 +3788,8 @@ const cn = ln.exports, I = {
3780
3788
  templates: yt,
3781
3789
  documents: Pt,
3782
3790
  personalMessage: $t,
3783
- licenses: Lt,
3784
- inviteCreators: Ft,
3791
+ licenses: Dt,
3792
+ inviteCreators: Ht,
3785
3793
  stats: Nt,
3786
3794
  documentBlocks: Zt,
3787
3795
  bankIdAndSms: Qt,
@@ -3798,7 +3806,7 @@ const cn = ln.exports, I = {
3798
3806
  },
3799
3807
  computed: {
3800
3808
  modalName() {
3801
- return I[this.feature] ? I[this.feature] : (le.error("Missing IsPremiumPreStep component name"), null);
3809
+ return I[this.feature] ? I[this.feature] : (oe.error("Missing IsPremiumPreStep component name"), null);
3802
3810
  }
3803
3811
  },
3804
3812
  methods: {
@@ -3835,14 +3843,14 @@ var pn = /* @__PURE__ */ d(
3835
3843
  null,
3836
3844
  null
3837
3845
  );
3838
- const bn = pn.exports;
3846
+ const Pn = pn.exports;
3839
3847
  export {
3840
3848
  at as C,
3841
- bn as I,
3849
+ Pn as I,
3842
3850
  Ze as P,
3843
3851
  Qe as a,
3844
3852
  G as b,
3845
3853
  Re as c,
3846
3854
  x as r,
3847
- He as s
3855
+ Fe as s
3848
3856
  };
@@ -1,4 +1,4 @@
1
- import { n as s } from "./main-9daa18a1.js";
1
+ import { n as s } from "./main-73b04297.js";
2
2
  const r = {
3
3
  name: "ManualPopover",
4
4
  data() {
@@ -1,6 +1,6 @@
1
- import { B as n } from "./BlockMedia-354eff33.js";
2
- import { m as a } from "./mapFormMixin-1236b266.js";
3
- import { n as m } from "./main-9daa18a1.js";
1
+ import { B as n } from "./BlockMedia-a5e9227b.js";
2
+ import { m as a } from "./mapFormMixin-eca2705b.js";
3
+ import { n as m } from "./main-73b04297.js";
4
4
  import "./color-71c20583.js";
5
5
  const o = {
6
6
  name: "MediaWrapper",
@@ -1,5 +1,5 @@
1
- import { P as t } from "./PlainHtml-c70dc350.js";
2
- import { n as e } from "./main-9daa18a1.js";
1
+ import { P as t } from "./PlainHtml-25f86c0e.js";
2
+ import { n as e } from "./main-73b04297.js";
3
3
  const r = {
4
4
  name: "NotBindingText",
5
5
  i18nOptions: {
@@ -1,16 +1,16 @@
1
- import { t as m } from "./tinycolor-e750ced7.js";
2
- import { ab as y, ac as v, s as g, n as p, ad as f, x as k, b as u, ae as w, c as P } from "./main-9daa18a1.js";
3
- import { E as x } from "./ErrorCallout-d05d6cc2.js";
4
- import { m as _ } from "./mapFormMixin-1236b266.js";
5
- import { T as b } from "./DocTextEditor-f4b51510.js";
6
- import "./tippy.esm-ae169d52.js";
7
- import "./ColorPicker-15579f77.js";
8
- import "./DocumentLayout-632a6f98.js";
9
- import "./CDropdownItem-ef2d7897.js";
10
- import "./CSlider.vue_vue_type_style_index_0_lang-4a1c5561.js";
11
- import "./dom-d4731032.js";
1
+ import { t as m } from "./tinycolor-7e30d091.js";
2
+ import { ab as y, ac as v, s as g, n as p, ad as f, x as k, b as u, ae as w, c as P } from "./main-73b04297.js";
3
+ import { E as x } from "./ErrorCallout-aba1259b.js";
4
+ import { m as _ } from "./mapFormMixin-eca2705b.js";
5
+ import { T as b } from "./DocTextEditor-fa8bf4e1.js";
6
+ import "./tippy.esm-eb9486e0.js";
7
+ import "./ColorPicker-ec8e8175.js";
8
+ import "./DocumentLayout-48c2d8a7.js";
9
+ import "./CDropdownItem-55d36127.js";
10
+ import "./CSlider.vue_vue_type_style_index_0_lang-e3343543.js";
11
+ import "./dom-962579a6.js";
12
12
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
13
- import "./ManualPopover-d5ea2774.js";
13
+ import "./ManualPopover-dfa0e9ab.js";
14
14
  import "./color-71c20583.js";
15
15
  const $ = {
16
16
  name: "ArticleItem",
@@ -1,8 +1,8 @@
1
- import { V as s } from "./PdfViewer-371b5058.js";
2
- import { n as t } from "./main-9daa18a1.js";
3
- import "./dom-d4731032.js";
4
- import "./DocumentLayout-632a6f98.js";
5
- import "./CDropdownItem-ef2d7897.js";
1
+ import { V as s } from "./PdfViewer-05cdae7d.js";
2
+ import { n as t } from "./main-73b04297.js";
3
+ import "./dom-962579a6.js";
4
+ import "./DocumentLayout-48c2d8a7.js";
5
+ import "./CDropdownItem-55d36127.js";
6
6
  const n = {
7
7
  name: "PdfTerms",
8
8
  functional: !0,
@@ -1,6 +1,6 @@
1
- import { n as u, M as g } from "./main-9daa18a1.js";
2
- import { e as d } from "./dom-d4731032.js";
3
- import { W as m } from "./DocumentLayout-632a6f98.js";
1
+ import { n as u, M as g } from "./main-73b04297.js";
2
+ import { e as d } from "./dom-962579a6.js";
3
+ import { W as m } from "./DocumentLayout-48c2d8a7.js";
4
4
  let o, l, f, c, p;
5
5
  function w(e) {
6
6
  return typeof e == "object" && e !== null && e.__PDFDocumentLoadingTask === !0;
@@ -105,7 +105,7 @@ const _ = {
105
105
  this.$emit("link-clicked", h);
106
106
  }
107
107
  };
108
- this.pdfLinkService.setDocument(this.pdf), this.pdfLinkService.setViewer(r), this.pdfFindController.setDocument(this.pdf), this.drawScaled(this.scale), this.loading = !1, this.$emit("loading", !1);
108
+ return this.pdfLinkService.setDocument(this.pdf), this.pdfLinkService.setViewer(r), this.pdfFindController.setDocument(this.pdf), this.drawScaled(this.scale);
109
109
  }).catch((i) => {
110
110
  this.$emit("error", i), this.loading = !1, this.$emit("loading", !1);
111
111
  });
@@ -118,8 +118,8 @@ const _ = {
118
118
  var e = this.$refs.container.offsetHeight, t = this.$refs.container.parentElement.parentElement;
119
119
  return t.offsetHeight / e;
120
120
  },
121
- drawScaled(e) {
122
- this.pdfViewer && (e === "page-width" ? (e = this.calculateScale(), this.$emit("update:scale", e)) : e === "page-height" && (e = this.calculateScaleHeight(), this.$emit("update:scale", e)), this.pdfViewer.update({ scale: e, rotation: this.rotate }), this.pdfViewer.draw(), this.text && (this.pdfViewer.textLayer.findController = this.pdfFindController), this.loading = !1, this.$emit("loading", !1));
121
+ async drawScaled(e) {
122
+ this.pdfViewer && (e === "page-width" ? (e = this.calculateScale(), this.$emit("update:scale", e)) : e === "page-height" && (e = this.calculateScaleHeight(), this.$emit("update:scale", e)), this.pdfViewer.update({ scale: e, rotation: this.rotate }), await this.pdfViewer.draw(), this.text && (this.pdfViewer.textLayer.findController = this.pdfFindController), this.loading = !1, this.$emit("loading", !1));
123
123
  },
124
124
  resizeScale() {
125
125
  this.resize && this.drawScaled("page-width");
@@ -1,4 +1,4 @@
1
- import { n as r } from "./main-9daa18a1.js";
1
+ import { n as r } from "./main-73b04297.js";
2
2
  const e = {
3
3
  name: "PlainHtml"
4
4
  };