@cling-se/widget 0.9.30 → 0.9.32

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 (119) hide show
  1. package/dist/{AddClientCallout-e63b3bc8.js → AddClientCallout-57195414.js} +5 -5
  2. package/dist/{AnswerModal-0fc36a99.js → AnswerModal-84115064.js} +47 -47
  3. package/dist/{AttachmentItem-7fcfe642.js → AttachmentItem-d5059568.js} +3 -3
  4. package/dist/{BaseDatePicker-3618f643.js → BaseDatePicker-0f2bbfe0.js} +2 -2
  5. package/dist/{BaseInput-1e53b776.js → BaseInput-09fa078c.js} +1 -1
  6. package/dist/{BaseUpload-2eea6112.js → BaseUpload-7ac7f0de.js} +2 -2
  7. package/dist/{BlockMedia-4f30336b.js → BlockMedia-35572b5a.js} +1 -1
  8. package/dist/{CCallout-3ea46d33.js → CCallout-f4a3000f.js} +2 -2
  9. package/dist/{CDropdownItem-301e3273.js → CDropdownItem-648b13e8.js} +1 -1
  10. package/dist/{CField-25e8b388.js → CField-c179740e.js} +1 -1
  11. package/dist/{CPhoneFormat-0eb4f8c1.js → CPhoneFormat-06cd312e.js} +1 -1
  12. package/dist/{CSlider.vue_vue_type_style_index_0_lang-8b316fae.js → CSlider.vue_vue_type_style_index_0_lang-545e8e1a.js} +1 -1
  13. package/dist/{ClientAutocomplete-35cada3c.js → ClientAutocomplete-1aacab81.js} +2 -2
  14. package/dist/{ClientModal-c11543c6.js → ClientModal-62cfe454.js} +5 -5
  15. package/dist/{ColorPicker-5ca79d5e.js → ColorPicker-c9eadd63.js} +1 -1
  16. package/dist/{CompanyModal-648fce86.js → CompanyModal-1140af13.js} +3 -3
  17. package/dist/{ContentWrapper-70c4494a.js → ContentWrapper-5d7221c8.js} +13 -13
  18. package/dist/{CoverBlockSettings-cfdb6528.js → CoverBlockSettings-668eec29.js} +9 -9
  19. package/dist/{DocAnswer-b03f11d8.js → DocAnswer-978f1b34.js} +4 -4
  20. package/dist/{DocDetails-ffbd78f5.js → DocDetails-02ab49b6.js} +4 -4
  21. package/dist/{DocForm-0216b4bf.js → DocForm-25924bbc.js} +29 -29
  22. package/dist/{DocFormSend-8d6e051b.js → DocFormSend-666669ea.js} +19 -18
  23. package/dist/{DocLinks-8520a61d.js → DocLinks-1b3d8aa7.js} +2 -2
  24. package/dist/{DocModalBase-a61f7c10.js → DocModalBase-ed5f21ca.js} +1 -1
  25. package/dist/{DocPrint-3e8970bc.js → DocPrint-c8e7792f.js} +1 -1
  26. package/dist/{DocReceipt-5da67daf.js → DocReceipt-68bb30bd.js} +1 -1
  27. package/dist/{DocSendReminder-b2e096d4.js → DocSendReminder-1bb53aa6.js} +1 -1
  28. package/dist/{DocTextEditor-1c8197e2.js → DocTextEditor-baf911e4.js} +8 -8
  29. package/dist/{DocTimeline-1804ebb6.js → DocTimeline-e80b7d30.js} +1 -1
  30. package/dist/{DocumentClient-a0592efe.js → DocumentClient-e5674987.js} +7 -7
  31. package/dist/{DocumentLayout-dd904f22.js → DocumentLayout-bdb661ca.js} +340 -331
  32. package/dist/{DocumentLogotype-59b1549a.js → DocumentLogotype-b47e5d3b.js} +3 -3
  33. package/dist/{DocumentVoided-f6b8e4ff.js → DocumentVoided-4689a48a.js} +1 -1
  34. package/dist/{EmbedInput-c1393639.js → EmbedInput-4e9f9fdc.js} +2 -2
  35. package/dist/{EmbedSettings-f7451a3d.js → EmbedSettings-8e8e772e.js} +3 -3
  36. package/dist/{ErrorCallout-2973d65d.js → ErrorCallout-b48cecf9.js} +1 -1
  37. package/dist/{FilePreviewModal-e8e3d042.js → FilePreviewModal-5ae3179e.js} +5 -5
  38. package/dist/{Flag-c17cf658.js → Flag-f21c517c.js} +1 -1
  39. package/dist/{HeaderSettings-eb0a98b4.js → HeaderSettings-dadaba45.js} +15 -15
  40. package/dist/{ImageSelectModal-cab96401.js → ImageSelectModal-3079deaf.js} +8 -8
  41. package/dist/{ImageUploadWrapper-38e2afa8.js → ImageUploadWrapper-92389319.js} +2 -2
  42. package/dist/{Index-0bfac160.js → Index-0d9fc410.js} +6 -6
  43. package/dist/{Index-a280b4b2.js → Index-16e2d1e5.js} +4 -4
  44. package/dist/{Index-d01e898b.js → Index-18ee40ea.js} +41 -26
  45. package/dist/{Index-bc62c1f2.js → Index-1a6f1fe8.js} +9 -9
  46. package/dist/{Index-28ec6148.js → Index-21715b96.js} +2 -2
  47. package/dist/{Index-921eb9ba.js → Index-25240fbd.js} +2 -2
  48. package/dist/{Index-1d85df60.js → Index-3855ca38.js} +7 -7
  49. package/dist/{Index-d7bf1266.js → Index-3a7288be.js} +17 -17
  50. package/dist/{Index-a2dba1ec.js → Index-469db7d7.js} +4 -4
  51. package/dist/{Index-e0c5772a.js → Index-48e502c3.js} +4 -4
  52. package/dist/{Index-bf74adf8.js → Index-672648c7.js} +50 -23
  53. package/dist/{Index-0e100224.js → Index-6d2a08a5.js} +6 -6
  54. package/dist/{Index-e1f464ef.js → Index-83509fc5.js} +1 -1
  55. package/dist/{Index-fcef00d7.js → Index-85996f2f.js} +2 -2
  56. package/dist/{Index-ce33b807.js → Index-85b558a8.js} +6 -6
  57. package/dist/{Index-0f08ced2.js → Index-88aa3f7e.js} +4 -4
  58. package/dist/{Index-8cc33cc7.js → Index-93d6b687.js} +2 -2
  59. package/dist/{Index-a3b1e7de.js → Index-9794be3d.js} +5 -5
  60. package/dist/{Index-d9abc609.js → Index-a7d30625.js} +4 -4
  61. package/dist/{Index-f4b486da.js → Index-a9cfa68b.js} +5 -5
  62. package/dist/{Index-19f50205.js → Index-aa9388ac.js} +4 -4
  63. package/dist/{Index-d256a1d6.js → Index-aac9dd15.js} +9 -9
  64. package/dist/{Index-714600fc.js → Index-ad7770f7.js} +4 -4
  65. package/dist/{Index-9c28cb53.js → Index-adabe428.js} +2 -2
  66. package/dist/{Index-d364dae0.js → Index-b9535d28.js} +14 -14
  67. package/dist/{Index-d2afa240.js → Index-c3f4a4b8.js} +3 -3
  68. package/dist/{Index-c9b85813.js → Index-c4184a33.js} +2 -2
  69. package/dist/{Index-da40e434.js → Index-c704e669.js} +10 -10
  70. package/dist/{Index-5c3cb151.js → Index-d0cf8cd4.js} +2 -2
  71. package/dist/{Index-30c1d44e.js → Index-da28cb69.js} +4 -4
  72. package/dist/{Index-4e60e980.js → Index-e6b7d574.js} +23 -23
  73. package/dist/{Index-07da4308.js → Index-ea0c9b42.js} +1 -1
  74. package/dist/{Index-6bb8e424.js → Index-ed57f450.js} +6 -6
  75. package/dist/{Index-46e59685.js → Index-ef0a8d46.js} +2 -2
  76. package/dist/{InputToggleRow-e28f45a0.js → InputToggleRow-67d34fe0.js} +1 -1
  77. package/dist/{IsPremiumPreStep-e1d54d22.js → IsPremiumPreStep-f1c4e0f9.js} +77 -75
  78. package/dist/{ManualPopover-64b4c430.js → ManualPopover-4641e4de.js} +1 -1
  79. package/dist/{MediaWrapper-240bb3b2.js → MediaWrapper-3dbdd7b2.js} +3 -3
  80. package/dist/{NotBindingText-2148a45c.js → NotBindingText-3c7f4d55.js} +2 -2
  81. package/dist/{PackageGroup-92ec85c9.js → PackageGroup-c935a59b.js} +14 -14
  82. package/dist/{PdfTerms-cf3e0ff3.js → PdfTerms-6afcf887.js} +15 -14
  83. package/dist/PdfViewer-f6d4d126.js +251 -0
  84. package/dist/{PlainHtml-98d14d49.js → PlainHtml-41dde027.js} +1 -1
  85. package/dist/{PriceHeader-2f97908c.js → PriceHeader-84ad2639.js} +13 -13
  86. package/dist/{SearchApi-3f0ee279.js → SearchApi-a8d58e7b.js} +2 -2
  87. package/dist/{Setup-6ca34742.js → Setup-86baa232.js} +1 -1
  88. package/dist/{TermsSettings-244144ce.js → TermsSettings-158e2ba7.js} +7 -7
  89. package/dist/{ThemeColorRow-8297bac6.js → ThemeColorRow-af9f1f9f.js} +3 -3
  90. package/dist/{ToggleBinding-801b881c.js → ToggleBinding-d80c5b56.js} +3 -3
  91. package/dist/{UploadModal-143d3385.js → UploadModal-64705993.js} +3 -3
  92. package/dist/{VideoPlayerInput-7cbe00d0.js → VideoPlayerInput-f001a306.js} +3 -3
  93. package/dist/{VideoPlayerSettings-055bfb63.js → VideoPlayerSettings-be3a2a08.js} +4 -4
  94. package/dist/{VideoSelectModal-82769419.js → VideoSelectModal-325ca974.js} +8 -8
  95. package/dist/{answerDocumentMixin-0eb824aa.js → answerDocumentMixin-7b4bd6d8.js} +3 -3
  96. package/dist/{debounce-35659385.js → debounce-2da37622.js} +8 -8
  97. package/dist/{focusDrawerMixin-57a74f04.js → focusDrawerMixin-2593f43c.js} +1 -1
  98. package/dist/{formComponentsInstall-53f4342a.js → formComponentsInstall-05dc0275.js} +12 -12
  99. package/dist/{formDrawerState-c089ffac.js → formDrawerState-1279a667.js} +1 -1
  100. package/dist/{formValidationMixin-08f0a439.js → formValidationMixin-b354db95.js} +1 -1
  101. package/dist/{index-317dfeee.js → index-05ff66b4.js} +13 -13
  102. package/dist/{index-497ae925.js → index-20e88d5e.js} +3 -3
  103. package/dist/{index-a37004d7.js → index-88e32902.js} +1 -1
  104. package/dist/{index-736d30ee.js → index-aa52e2dc.js} +5 -5
  105. package/dist/{index-e88b85e7.js → index-b9ea34e7.js} +1 -1
  106. package/dist/{index-17a2bb54.js → index-c30544b6.js} +1 -1
  107. package/dist/index.es.js +3 -3
  108. package/dist/index.umd.js +97 -95
  109. package/dist/{main-40ffafe1.js → main-5fada315.js} +50 -75
  110. package/dist/{mapFormMixin-5472d70c.js → mapFormMixin-881590dc.js} +1 -1
  111. package/dist/{publicSenderState-7ee4c697.js → publicSenderState-b7a68e31.js} +1 -1
  112. package/dist/style.css +2 -2
  113. package/dist/{throttle-4a418273.js → throttle-14a46b90.js} +2 -2
  114. package/dist/{tinycolor-2370293d.js → tinycolor-bcf90a67.js} +1 -1
  115. package/dist/{tippy.esm-f79d2d2e.js → tippy.esm-ece926d8.js} +5 -5
  116. package/dist/{utils-c72c79a9.js → utils-482054e4.js} +1 -1
  117. package/dist/{vuedraggable.umd-8bca15d0.js → vuedraggable.umd-0883a75f.js} +1 -1
  118. package/package.json +1 -1
  119. package/dist/PdfViewer-f2af7ba4.js +0 -245
@@ -1,7 +1,7 @@
1
- import { c as h, a9 as L, aE as F, b as C, aF as M, aG as Z, aH as K, aI as Y, aJ as W, V as B, aK as X, aL as Q, n as d, v as P, F as J, X as y, aM as ee, g as m, aN as _, o as k, aO as te, aP as ne, aQ as ae, aR as H, p as re, h as D, I as E, aS as U, L as ie, aT as se, au as oe } from "./main-40ffafe1.js";
2
- import { m as v, a as T, b as le } from "./vuex.esm-4a0fff7c.js";
1
+ import { aE as B, b as C, aF as M, aG as Z, aH as K, aI as Y, aJ as W, V as F, aK as X, a9 as L, aL as Q, n as d, w as P, c as h, G as J, l as y, aM as ee, g as m, aN as _, q as k, aO as te, aP as ne, aQ as ae, aR as H, p as re, h as D, I as E, aS as U, M as ie, aT as se, au as oe } from "./main-5fada315.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 "./index-e88b85e7.js";
4
+ import "./index-b9ea34e7.js";
5
5
  import { g as ce } from "./dom-962579a6.js";
6
6
  import { v as b } from "./index-805c56e4.js";
7
7
  const x = {
@@ -1250,27 +1250,18 @@ const x = {
1250
1250
  callingCode: "+263",
1251
1251
  currency: "USD"
1252
1252
  }
1253
- }, ue = (n) => {
1254
- if (document.getElementById("stripe-js"))
1255
- return n();
1256
- const e = "js.stripe.com/v3/", t = document.createElement("script"), a = document.getElementsByTagName("script")[0];
1257
- 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
- }, de = () => ue(() => {
1259
- window.$stripe = Stripe(h.stripe.publishableKey, { locale: L.lang || "en" });
1260
- });
1261
- de();
1262
- const me = (n) => L.te(`errors:${n}`) && L.t(`errors:${n}`), pe = "stripe", {
1253
+ }, ue = (n) => L.te(`errors:${n}`) && L.t(`errors:${n}`), de = "stripe", {
1263
1254
  LOAD_PRICES: A,
1264
- RESET_STRIPE_FORM: ge,
1265
- SET_STRIPE_FORM_VALUE: he,
1255
+ RESET_STRIPE_FORM: me,
1256
+ SET_STRIPE_FORM_VALUE: pe,
1266
1257
  SET_FORM_PROMOTION: V,
1267
- SUBMIT_PROMOTION_CODE: fe,
1258
+ SUBMIT_PROMOTION_CODE: ge,
1268
1259
  SUBMIT_PAYMENT_METHOD: O,
1269
- SUBMIT_FORM_PLAN: ye,
1270
- REMOVE_SUBSCRIPTION_ITEM: Ce,
1260
+ SUBMIT_FORM_PLAN: he,
1261
+ REMOVE_SUBSCRIPTION_ITEM: fe,
1271
1262
  CONFIRM_PAYMENT: N,
1272
1263
  SUBMIT_FORM_PAYMENT: w,
1273
- SUBMIT_FORM_PRODUCTS: ve
1264
+ SUBMIT_FORM_PRODUCTS: ye
1274
1265
  } = Q, z = {
1275
1266
  // The term "plan" refers to a _price_ connected to a _product_ with metadata.accountType
1276
1267
  plan: { accountType: "pro", interval: "month", quantity: 1 },
@@ -1297,7 +1288,7 @@ const me = (n) => L.te(`errors:${n}`) && L.t(`errors:${n}`), pe = "stripe", {
1297
1288
  base: { month: null, year: null },
1298
1289
  pro: { month: null, year: null }
1299
1290
  },
1300
- form: F(z)
1291
+ form: B(z)
1301
1292
  },
1302
1293
  getters: {
1303
1294
  isPosting: ({ isPosting: n }) => n,
@@ -1457,17 +1448,17 @@ const me = (n) => L.te(`errors:${n}`) && L.t(`errors:${n}`), pe = "stripe", {
1457
1448
  n("setPrices", { data: e }), n("setActivePriceMap");
1458
1449
  } catch (e) {
1459
1450
  this.handleError(e, {
1460
- action: `${pe}/${A}`,
1451
+ action: `${de}/${A}`,
1461
1452
  actionPayload: null
1462
1453
  });
1463
1454
  } finally {
1464
1455
  n("setFetching", !1);
1465
1456
  }
1466
1457
  },
1467
- async [ge]({ commit: n }) {
1468
- n("setForm", F(z));
1458
+ async [me]({ commit: n }) {
1459
+ n("setForm", B(z));
1469
1460
  },
1470
- async [he]({ commit: n }, { key: e, value: t }) {
1461
+ async [pe]({ commit: n }, { key: e, value: t }) {
1471
1462
  n("setFormValue", { key: e, value: t });
1472
1463
  },
1473
1464
  [V]({ commit: n, getters: e }, { promotionDetails: t, code: a = null } = {}) {
@@ -1476,7 +1467,7 @@ const me = (n) => L.te(`errors:${n}`) && L.t(`errors:${n}`), pe = "stripe", {
1476
1467
  const { appliesToStripeProductIds: r } = t, { stripeProductId: i } = e.formPlan || {};
1477
1468
  return Array.isArray(r) && !r.includes(i) ? !1 : (n("setFormValue", { key: "promotion", value: { ...t, code: a } }), !0);
1478
1469
  },
1479
- async [fe]({ commit: n, getters: e, dispatch: t }, a) {
1470
+ async [ge]({ commit: n, getters: e, dispatch: t }, a) {
1480
1471
  try {
1481
1472
  if (e.isPosting || !a)
1482
1473
  return !1;
@@ -1525,17 +1516,17 @@ const me = (n) => L.te(`errors:${n}`) && L.t(`errors:${n}`), pe = "stripe", {
1525
1516
  r && (g = await t(O, { cardElement: r }));
1526
1517
  const S = { ...l, items: s };
1527
1518
  g && (S.paymentMethod = g), o && o.code && (S.promotionCode = o.code), p && (S.dealSource = p);
1528
- const { data: j = {} } = await M.product(S, { removeUnusedItems: i }), { clientSecrets: $ } = j, R = g && g.id ? g.id : c && c.paymentMethodId;
1529
- return $ && $.length && R ? await t(N, { clientSecrets: $, paymentMethodId: R }) : !0;
1519
+ const { data: j = {} } = await M.product(S, { removeUnusedItems: i }), { clientSecrets: T } = j, R = g && g.id ? g.id : c && c.paymentMethodId;
1520
+ return T && T.length && R ? await t(N, { clientSecrets: T, paymentMethodId: R }) : !0;
1530
1521
  } catch (s) {
1531
1522
  this.handleError(s);
1532
- const l = (s.errorCode ? me(s.errorCode) : "") || s.message;
1523
+ const l = (s.errorCode ? ue(s.errorCode) : "") || s.message;
1533
1524
  return n("setFormValue", { key: "error", value: l || "Submit Form Payment Error" }), !1;
1534
1525
  } finally {
1535
1526
  n("setPosting", !1);
1536
1527
  }
1537
1528
  },
1538
- async [ye]({ commit: n, dispatch: e, getters: t }, { cardElement: a } = {}) {
1529
+ async [he]({ commit: n, dispatch: e, getters: t }, { cardElement: a } = {}) {
1539
1530
  try {
1540
1531
  const { formPlan: r, formProducts: i, products: s, subscriptionItems: l } = t;
1541
1532
  if (!r)
@@ -1550,7 +1541,7 @@ const me = (n) => L.te(`errors:${n}`) && L.t(`errors:${n}`), pe = "stripe", {
1550
1541
  return this.handleError(r), n("setFormValue", { key: "error", value: r.message || "Submit Plan Error" }), !1;
1551
1542
  }
1552
1543
  },
1553
- async [ve]({ commit: n, dispatch: e, getters: t }, { cardElement: a, removeUnusedItems: r = !0 } = {}) {
1544
+ async [ye]({ commit: n, dispatch: e, getters: t }, { cardElement: a, removeUnusedItems: r = !0 } = {}) {
1554
1545
  try {
1555
1546
  const { formProducts: i } = t, s = [...i];
1556
1547
  return s.length ? await e(w, { form: { items: s }, stripe: { cardElement: a }, removeUnusedItems: r }) : !1;
@@ -1593,7 +1584,7 @@ const me = (n) => L.te(`errors:${n}`) && L.t(`errors:${n}`), pe = "stripe", {
1593
1584
  * @param {String} obj.stripePriceStripeId priceId to remove
1594
1585
  * @returns {Promise<Boolean>} Resolves with true if successful, otherwise false
1595
1586
  */
1596
- async [Ce]({ commit: n, dispatch: e, getters: t }, { stripePriceStripeId: a }) {
1587
+ async [fe]({ commit: n, dispatch: e, getters: t }, { stripePriceStripeId: a }) {
1597
1588
  try {
1598
1589
  if (!a)
1599
1590
  throw new Error("Missing parameter stripePriceStripeId");
@@ -1631,15 +1622,15 @@ const me = (n) => L.te(`errors:${n}`) && L.t(`errors:${n}`), pe = "stripe", {
1631
1622
  }),
1632
1623
  // --- Form ---
1633
1624
  setForm: (n, e) => {
1634
- B.set(n, "form", e);
1625
+ F.set(n, "form", e);
1635
1626
  },
1636
1627
  setFormValue: (n, { key: e, value: t }) => {
1637
1628
  const { root: a, prop: r } = X(n, `form.${e}`);
1638
- B.set(a, r, t);
1629
+ F.set(a, r, t);
1639
1630
  }
1640
1631
  }
1641
1632
  };
1642
- const _e = {
1633
+ const Ce = {
1643
1634
  props: {
1644
1635
  colors: {
1645
1636
  type: Array,
@@ -1747,24 +1738,24 @@ const _e = {
1747
1738
  }
1748
1739
  }
1749
1740
  };
1750
- var be = function() {
1741
+ var ve = function() {
1751
1742
  var e = this;
1752
1743
  return e._self._c, e._m(0);
1753
- }, Pe = [function() {
1744
+ }, _e = [function() {
1754
1745
  var n = this, e = n._self._c;
1755
1746
  return e("div", [e("canvas", { attrs: { id: "fireworks" } })]);
1756
- }], Se = /* @__PURE__ */ d(
1747
+ }], be = /* @__PURE__ */ d(
1748
+ Ce,
1749
+ ve,
1757
1750
  _e,
1758
- be,
1759
- Pe,
1760
1751
  !1,
1761
1752
  null,
1762
1753
  "ebe417f7",
1763
1754
  null,
1764
1755
  null
1765
1756
  );
1766
- const ke = Se.exports;
1767
- const xe = {
1757
+ const Pe = be.exports;
1758
+ const Se = {
1768
1759
  name: "PremiumStripeSelect",
1769
1760
  i18nOptions: {
1770
1761
  namespaces: "premiumStripeSelect",
@@ -1843,7 +1834,7 @@ const xe = {
1843
1834
  }
1844
1835
  }
1845
1836
  };
1846
- var we = function() {
1837
+ var ke = function() {
1847
1838
  var e = this, t = e._self._c;
1848
1839
  return t("div", { staticClass: "flex flex-col items-center w-full animating", staticStyle: { "padding-top": "30px" } }, [t("div", { staticClass: "flex flex-col items-center w-full text-center anim-block", staticStyle: { "margin-bottom": "50px" } }, [t("div", { staticStyle: { "font-size": "22px", "font-weight": "600", "margin-bottom": "20px", "max-width": "20ch" }, domProps: { innerHTML: e._s(e.$t("title", { brand: e.$t("_common:brand.name") })) } }), t("div", { staticStyle: { position: "relative" } }, [t("div", { staticClass: "tgl-btn-group" }, e._l(["month", "year"], function(a) {
1849
1840
  return t("div", { key: a, staticClass: "tgl-btn", class: {
@@ -1862,18 +1853,18 @@ var we = function() {
1862
1853
  }), 0), t("CButton", { staticClass: "anim-block sticky-btn", attrs: { disabled: e.currentAccountType === e.plan && e.currentInterval === e.interval || e.plan === "free", type: "secondary", "icon-right": "arrow-right" }, on: { click: function(a) {
1863
1854
  return e.$emit("next");
1864
1855
  } } }, [e._v(e._s(e.$t("continueButton")))])], 1);
1865
- }, Te = [], $e = /* @__PURE__ */ d(
1856
+ }, xe = [], we = /* @__PURE__ */ d(
1857
+ Se,
1858
+ ke,
1866
1859
  xe,
1867
- we,
1868
- Te,
1869
1860
  !1,
1870
1861
  null,
1871
1862
  "8640a593",
1872
1863
  null,
1873
1864
  null
1874
1865
  );
1875
- const Me = $e.exports;
1876
- const Ee = {
1866
+ const $e = we.exports;
1867
+ const Te = {
1877
1868
  props: {
1878
1869
  defaultOpen: {
1879
1870
  type: Boolean,
@@ -1936,22 +1927,22 @@ const Ee = {
1936
1927
  }
1937
1928
  }
1938
1929
  };
1939
- var Ie = function() {
1930
+ var Me = function() {
1940
1931
  var e = this, t = e._self._c;
1941
1932
  return t("div", [t("div", { on: { click: function(a) {
1942
1933
  e.expanded = !e.expanded;
1943
1934
  } } }, [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);
1944
- }, Le = [], De = /* @__PURE__ */ d(
1935
+ }, Ee = [], Ie = /* @__PURE__ */ d(
1936
+ Te,
1937
+ Me,
1945
1938
  Ee,
1946
- Ie,
1947
- Le,
1948
1939
  !1,
1949
1940
  null,
1950
1941
  null,
1951
1942
  null,
1952
1943
  null
1953
1944
  );
1954
- const Re = De.exports, Fe = {
1945
+ const Le = Ie.exports, De = {
1955
1946
  amex: {
1956
1947
  name: "American Express",
1957
1948
  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>'
@@ -1991,7 +1982,16 @@ const Re = De.exports, Fe = {
1991
1982
  logo: i
1992
1983
  };
1993
1984
  }
1994
- }, Be = {
1985
+ }, Re = (n) => {
1986
+ if (document.getElementById("stripe-js"))
1987
+ return n();
1988
+ const e = "js.stripe.com/v3/", t = document.createElement("script"), a = document.getElementsByTagName("script")[0];
1989
+ return t.src = `https://${e}`, t.id = "stripe-js", n && t.addEventListener("load", (r) => n(null, r), !1), a.parentNode.insertBefore(t, a), !0;
1990
+ }, Be = (n) => Re(() => {
1991
+ window.$stripe = Stripe(h.stripe.publishableKey, {
1992
+ locale: L.lang || "en"
1993
+ }), typeof n == "function" && n();
1994
+ }), Fe = {
1995
1995
  data() {
1996
1996
  return {
1997
1997
  stripeCardElementId: null,
@@ -2009,8 +2009,10 @@ const Re = De.exports, Fe = {
2009
2009
  };
2010
2010
  },
2011
2011
  created() {
2012
- this.$nextTick(() => {
2013
- this.elements = this.stripe.elements(), this.stripeCardElementId && this.configureStripeCard(this.stripeCardElementId);
2012
+ Be(() => {
2013
+ this.stripe = window.$stripe, this.$nextTick(() => {
2014
+ this.elements = this.stripe.elements(), this.stripeCardElementId && this.configureStripeCard(this.stripeCardElementId);
2015
+ });
2014
2016
  });
2015
2017
  },
2016
2018
  destroyed() {
@@ -2284,10 +2286,10 @@ const He = {
2284
2286
  },
2285
2287
  name: "PremiumStripeForm",
2286
2288
  components: {
2287
- CAccordion: Re,
2289
+ CAccordion: Le,
2288
2290
  CCheckbox: J
2289
2291
  },
2290
- mixins: [Be],
2292
+ mixins: [Fe],
2291
2293
  props: {
2292
2294
  formPlan: {
2293
2295
  type: Object,
@@ -2313,7 +2315,7 @@ const He = {
2313
2315
  data() {
2314
2316
  return {
2315
2317
  regions: x,
2316
- cardBrands: Fe,
2318
+ cardBrands: De,
2317
2319
  stripeCardElementId: "#card-element",
2318
2320
  promoInputVisible: !1,
2319
2321
  inputPromotionCode: "",
@@ -2461,7 +2463,7 @@ const He = {
2461
2463
  this.companyRegion === "SE" && !this.formCustomer.region && this.$emit("input", { key: "customer.region", value: this.companyRegion }), this.routePromo && this.verifyPromotionCode(this.routePromo);
2462
2464
  },
2463
2465
  methods: {
2464
- ...T({
2466
+ ...$({
2465
2467
  usePromotionCode: m.SUBMIT_PROMOTION_CODE,
2466
2468
  setPromotion: m.SET_FORM_PROMOTION,
2467
2469
  submitPlan: m.SUBMIT_FORM_PLAN
@@ -2545,7 +2547,7 @@ var Ue = function() {
2545
2547
  e.consent = a;
2546
2548
  }, expression: "consent" } }, [t("div", { class: [
2547
2549
  e.$v.consent.$invalid && e.$v.consent.$dirty ? "has-text-danger" : "has-text-grey-dark"
2548
- ] }, [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": "0.5em", padding: "calc(1 * var(--rem))" }, domProps: { textContent: e._s(e.$t("faq.title")) } }), e._l(6, function(a) {
2550
+ ] }, [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(), e.formError ? t("div", { staticClass: "c-flex-row c-align-middle" }, [t("BaseIcon", { attrs: { type: "warning", size: "14", stroke: "hsl(360, 100%, 60%)" } }), t("div", { staticStyle: { "margin-left": "0.5em" }, domProps: { textContent: e._s(e.formError) } })], 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": "0.5em", padding: "calc(1 * var(--rem))" }, domProps: { textContent: e._s(e.$t("faq.title")) } }), e._l(6, function(a) {
2549
2551
  return t("CAccordion", { key: a, attrs: { "default-open": null }, scopedSlots: e._u([{ key: "trigger", fn: function({ expanded: r }) {
2550
2552
  return t("div", { staticClass: "list-button" }, [t("span", { domProps: { textContent: e._s(
2551
2553
  e.$t(`faq.items.${a - 1}.title`, {
@@ -2564,7 +2566,7 @@ var Ue = function() {
2564
2566
  Ae,
2565
2567
  !1,
2566
2568
  null,
2567
- "4ba7e094",
2569
+ "cd48dce4",
2568
2570
  null,
2569
2571
  null
2570
2572
  );
@@ -2747,8 +2749,8 @@ const Oe = Ve.exports, Ne = {
2747
2749
  }
2748
2750
  },
2749
2751
  components: {
2750
- Confetti: ke,
2751
- PremiumStripeSelect: Me,
2752
+ Confetti: Pe,
2753
+ PremiumStripeSelect: $e,
2752
2754
  PremiumStripeForm: Oe
2753
2755
  },
2754
2756
  props: {
@@ -2866,7 +2868,7 @@ const Oe = Ve.exports, Ne = {
2866
2868
  this.isOfferta && te(Ne), this.resetStripeForm(), await this.loadPrices(), await this.suggestQuantity(), await this.handlePossibleDeal(), this.isEdit = !!this.subscriptions.length;
2867
2869
  },
2868
2870
  methods: {
2869
- ...T({
2871
+ ...$({
2870
2872
  loadPrices: m.LOAD_PRICES,
2871
2873
  resetStripeForm: m.RESET_STRIPE_FORM,
2872
2874
  setFormValue: m.SET_STRIPE_FORM_VALUE,
@@ -3380,7 +3382,7 @@ const yt = ft.exports, Ct = {
3380
3382
  this.checkFreeDocVoucher();
3381
3383
  },
3382
3384
  methods: {
3383
- ...T({
3385
+ ...$({
3384
3386
  loadCurrentCompany: m.DO_LOAD_CURRENT_COMPANY
3385
3387
  }),
3386
3388
  async checkFreeDocVoucher() {
@@ -3471,8 +3473,8 @@ var kt = function() {
3471
3473
  null,
3472
3474
  null
3473
3475
  );
3474
- const Tt = wt.exports;
3475
- const $t = {
3476
+ const $t = wt.exports;
3477
+ const Tt = {
3476
3478
  i18nOptions: {
3477
3479
  namespaces: "licenses",
3478
3480
  messages: {
@@ -3521,7 +3523,7 @@ const $t = {
3521
3523
  this.initLicense();
3522
3524
  },
3523
3525
  methods: {
3524
- ...T({
3526
+ ...$({
3525
3527
  loadCurrentCompany: m.DO_LOAD_CURRENT_COMPANY,
3526
3528
  loadPrices: m.LOAD_PRICES,
3527
3529
  resetStripeForm: m.RESET_STRIPE_FORM,
@@ -3568,7 +3570,7 @@ var Mt = function() {
3568
3570
  var e = this, t = e._self._c;
3569
3571
  return t("PremiumRestrictedBase", { attrs: { title: e.$t("title"), "sub-title": e.$t("subTitle"), "on-upgrade": e.onUpgrade, "action-function": e.doUpgrade } }, [t("template", { slot: "actionText" }, [e._v(" " + e._s(e.$t("actionText")) + " ")]), e.extraPrice && e.extraPrice.amount && e.extraPrice.currency && e.extraPrice.interval ? t("div", { staticClass: "flex justify-between w-full", staticStyle: { "background-color": "hsl(var(--gray-color-100) / 1)", padding: "0.5em 1em", "border-radius": "0.5em" }, attrs: { slot: "content" }, slot: "content" }, [t("div", { staticStyle: { "text-align": "left" } }, [t("div", { staticStyle: { "font-weight": "500" }, domProps: { textContent: e._s(e.$t("productTitle")) } }), t("div", { staticStyle: { opacity: "0.75", "font-size": "13px" }, domProps: { textContent: e._s(e.$t("productCost")) } })]), t("div", { staticStyle: { "text-align": "right" } }, [t("div", [e._v(" +" + e._s(e.priceFormat(e.extraPrice.amount, { currency: e.extraPrice.currency })) + " ")]), t("div", { staticStyle: { "font-size": "13px", opacity: "0.7" } }, [e._v(" per " + e._s(e.$t(`_common:${e.extraPrice.interval}`)) + " ")])])]) : e._e()], 2);
3570
3572
  }, Et = [], It = /* @__PURE__ */ d(
3571
- $t,
3573
+ Tt,
3572
3574
  Mt,
3573
3575
  Et,
3574
3576
  !1,
@@ -3608,17 +3610,17 @@ const Dt = {
3608
3610
  var Rt = function() {
3609
3611
  var e = this, t = e._self._c;
3610
3612
  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);
3611
- }, Ft = [], Bt = /* @__PURE__ */ d(
3613
+ }, Bt = [], Ft = /* @__PURE__ */ d(
3612
3614
  Dt,
3613
3615
  Rt,
3614
- Ft,
3616
+ Bt,
3615
3617
  !1,
3616
3618
  null,
3617
3619
  null,
3618
3620
  null,
3619
3621
  null
3620
3622
  );
3621
- const Ht = Bt.exports, Ut = {
3623
+ const Ht = Ft.exports, Ut = {
3622
3624
  i18nOptions: {
3623
3625
  namespaces: "stats",
3624
3626
  messages: {
@@ -3831,7 +3833,7 @@ const cn = ln.exports, I = {
3831
3833
  winProfile: mt,
3832
3834
  templates: yt,
3833
3835
  documents: Pt,
3834
- personalMessage: Tt,
3836
+ personalMessage: $t,
3835
3837
  licenses: Lt,
3836
3838
  inviteCreators: Ht,
3837
3839
  stats: Nt,
@@ -3894,7 +3896,7 @@ export {
3894
3896
  Ze as P,
3895
3897
  Qe as a,
3896
3898
  G as b,
3897
- Re as c,
3899
+ Le as c,
3898
3900
  x as r,
3899
- Be as s
3901
+ Fe as s
3900
3902
  };
@@ -1,4 +1,4 @@
1
- import { n as s } from "./main-40ffafe1.js";
1
+ import { n as s } from "./main-5fada315.js";
2
2
  const r = {
3
3
  name: "ManualPopover",
4
4
  data() {
@@ -1,6 +1,6 @@
1
- import { B as n } from "./BlockMedia-4f30336b.js";
2
- import { m as a } from "./mapFormMixin-5472d70c.js";
3
- import { n as m } from "./main-40ffafe1.js";
1
+ import { B as n } from "./BlockMedia-35572b5a.js";
2
+ import { m as a } from "./mapFormMixin-881590dc.js";
3
+ import { n as m } from "./main-5fada315.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-98d14d49.js";
2
- import { n as e } from "./main-40ffafe1.js";
1
+ import { P as t } from "./PlainHtml-41dde027.js";
2
+ import { n as e } from "./main-5fada315.js";
3
3
  const r = {
4
4
  name: "NotBindingText",
5
5
  i18nOptions: {
@@ -1,17 +1,17 @@
1
- import { t as m } from "./tinycolor-2370293d.js";
2
- import { ak as v, al as y, v as g, n as p, am as f, y as k, b as u, X as w, c as P } from "./main-40ffafe1.js";
3
- import { E as b } from "./ErrorCallout-2973d65d.js";
4
- import { m as _ } from "./mapFormMixin-5472d70c.js";
5
- import { T as x } from "./DocTextEditor-1c8197e2.js";
6
- import "./tippy.esm-f79d2d2e.js";
7
- import "./ColorPicker-5ca79d5e.js";
8
- import "./DocumentLayout-dd904f22.js";
9
- import "./debounce-35659385.js";
10
- import "./CDropdownItem-301e3273.js";
11
- import "./CSlider.vue_vue_type_style_index_0_lang-8b316fae.js";
1
+ import { t as m } from "./tinycolor-bcf90a67.js";
2
+ import { ak as v, al as y, w as g, n as p, am as f, z as k, b as u, l as w, c as P } from "./main-5fada315.js";
3
+ import { E as b } from "./ErrorCallout-b48cecf9.js";
4
+ import { m as _ } from "./mapFormMixin-881590dc.js";
5
+ import { T as x } from "./DocTextEditor-baf911e4.js";
6
+ import "./tippy.esm-ece926d8.js";
7
+ import "./ColorPicker-c9eadd63.js";
8
+ import "./DocumentLayout-bdb661ca.js";
9
+ import "./debounce-2da37622.js";
10
+ import "./CDropdownItem-648b13e8.js";
11
+ import "./CSlider.vue_vue_type_style_index_0_lang-545e8e1a.js";
12
12
  import "./dom-962579a6.js";
13
13
  import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
14
- import "./ManualPopover-64b4c430.js";
14
+ import "./ManualPopover-4641e4de.js";
15
15
  import "./color-71c20583.js";
16
16
  const $ = {
17
17
  name: "ArticleItem",
@@ -335,7 +335,7 @@ var M = function() {
335
335
  ...e.workPackage.isSelected && {
336
336
  boxShadow: `0 0 0 2px ${e.headingColor}`
337
337
  }
338
- } }, [t("div", { staticClass: "top-container" }, [e.workPackage.data.name ? t("div", { staticStyle: { "font-weight": "800", "font-size": "calc(calc(1 * var(--rem)) + 4px)", "margin-bottom": "calc(0.5 * var(--rem))" } }, [e._v(" " + e._s(e.workPackage.data.name) + " ")]) : e._e(), t("div", [t("TextEditor", { staticStyle: { "margin-bottom": "1em" }, attrs: { value: e.description } })], 1)]), t("Animation", [t("ArticleList", { directives: [{ name: "show", rawName: "v-show", value: e.showDetails && e.workPackage.articles.length, expression: "showDetails && workPackage.articles.length" }], staticClass: "articles-container", attrs: { _document: e._document, articles: e.workPackage.articles, "show-prices-inc-vat": e.showPricesIncVat, "use-vat": e.useVat, "vat-type": e.vatType, parent: "packageGroup" }, on: { "toggle-show-vat": function(r) {
338
+ } }, [t("div", { staticClass: "top-container" }, [e.workPackage.data.name ? t("div", { staticStyle: { "font-weight": "800", "font-size": "calc(calc(1 * var(--rem)) + 4px)", "margin-bottom": "calc(0.5 * var(--rem))" } }, [e._v(" " + e._s(e.workPackage.data.name) + " ")]) : e._e(), t("div", [e.description ? t("TextEditor", { staticStyle: { "margin-bottom": "1em" }, attrs: { value: e.description } }) : e._e()], 1)]), t("Animation", [t("ArticleList", { directives: [{ name: "show", rawName: "v-show", value: e.showDetails && e.workPackage.articles.length, expression: "showDetails && workPackage.articles.length" }], staticClass: "articles-container", attrs: { _document: e._document, articles: e.workPackage.articles, "show-prices-inc-vat": e.showPricesIncVat, "use-vat": e.useVat, "vat-type": e.vatType, parent: "packageGroup" }, on: { "toggle-show-vat": function(r) {
339
339
  return e.$emit("toggle-show-vat", r);
340
340
  } } })], 1), e.type !== "single" && (e.workPackage.toggable || e.isPreview) && (e.prices.total || e.prices.type === "openAcc") ? t("div", { staticClass: "flex justify-end w-full", staticStyle: { "margin-top": "calc(3 * var(--rem))" } }, [t("div", { staticStyle: { padding: "calc(0.75 * var(--rem)) calc(1 * var(--rem))", "text-align": "right" } }, [e.prices.helpers.discount ? t("div", { staticClass: "price-total", staticStyle: { color: "red", "text-decoration": "line-through", "font-size": "16px", "font-weight": "600" } }, [e._v(" " + e._s(e.priceFormat(e.showPricesIncVat ? e.totalBeforeDiscount : e.prices.subTotal + e.prices.helpers.discount)) + " ")]) : e._e(), e.prices.type === "openAcc" ? [t("div", { staticStyle: { "line-height": "1.2", "font-size": "13px" } }, [e._v(" " + e._s(e._document.$t("price.pricing")) + " ")]), t("div", { staticClass: "price-total", staticStyle: { padding: "2px 0 3px 0" } }, [e._v(" " + e._s(e._document.$t("price.openAccPrice")) + " ")])] : [t("div", { staticClass: "price-total" }, [e.type === "checkbox" ? t("span", { staticClass: "primary-text-color", staticStyle: { "font-weight": "900" } }, [e._v("+")]) : e._e(), e._v(" " + e._s(e.priceFormat(e.showPricesIncVat ? e.prices.total : e.prices.subTotal)) + " ")]), e.useVat ? t("div", { staticStyle: { "line-height": "1.2", "font-size": "13px", padding: "2px 0 3px 0" } }, [e._v(" " + e._s(e._document.$t("price.price").capitalize()) + " " + e._s(e._document.$t(`vat.${e.showPricesIncVat ? "incVat" : "exVat"}`, { thing: e._document.$t(`vat.${e.vatType}`) })) + " ")]) : e._e()]], 2)]) : e._e(), e.showToggle ? t("div", { staticClass: "flex items-center justify-end w-full", staticStyle: { "background-color": "hsl(215, 10%, 95%)" } }, [e.isPdf ? e._e() : [t("CButton", { staticClass: "package-button", attrs: { pattern: "tertiary", type: "text", icon: e.showDetails ? "arrow-up" : "arrow-down", "icon-props": { size: 20 } }, on: { click: function(r) {
341
341
  e.showDetails = !e.showDetails;
@@ -359,7 +359,7 @@ var M = function() {
359
359
  W,
360
360
  !1,
361
361
  null,
362
- "afeabbda",
362
+ "6dcf4b42",
363
363
  null,
364
364
  null
365
365
  );
@@ -1,10 +1,10 @@
1
- import { V as s } from "./PdfViewer-f2af7ba4.js";
2
- import { n as t } from "./main-40ffafe1.js";
1
+ import { V as t } from "./PdfViewer-f6d4d126.js";
2
+ import { n as s } from "./main-5fada315.js";
3
3
  import "./dom-962579a6.js";
4
- import "./DocumentLayout-dd904f22.js";
5
- import "./debounce-35659385.js";
6
- import "./CDropdownItem-301e3273.js";
7
- const n = {
4
+ import "./DocumentLayout-bdb661ca.js";
5
+ import "./debounce-2da37622.js";
6
+ import "./CDropdownItem-648b13e8.js";
7
+ const o = {
8
8
  name: "PdfTerms",
9
9
  functional: !0,
10
10
  render(r, e) {
@@ -17,26 +17,27 @@ const n = {
17
17
  domProps: {
18
18
  innerHTML: e.props.text
19
19
  }
20
- })]) : e.props.file ? r("div", [r(s, {
20
+ })]) : e.props.file ? r("div", [r(t, {
21
21
  attrs: {
22
- src: e.props.file.url
22
+ src: e.props.file.url,
23
+ docFilePath: "data.terms.file.url"
23
24
  },
24
25
  class: "pdf-container"
25
26
  })]) : r("div");
26
27
  }
27
28
  };
28
- const o = null, l = null;
29
- var a = /* @__PURE__ */ t(
30
- n,
29
+ const n = null, l = null;
30
+ var a = /* @__PURE__ */ s(
31
31
  o,
32
+ n,
32
33
  l,
33
34
  !1,
34
35
  null,
35
- "aff627b1",
36
+ "d1cc4fe9",
36
37
  null,
37
38
  null
38
39
  );
39
- const u = a.exports;
40
+ const _ = a.exports;
40
41
  export {
41
- u as default
42
+ _ as default
42
43
  };