@konnectio/core 4.0.56-rc17 → 4.0.56-rc18

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 (37) hide show
  1. package/dist/{ActionField-FHpkuvKb.js → ActionField-X-usNS7I.js} +1 -1
  2. package/dist/ActionField-X-usNS7I.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-5cdinrJb.js → AvailabilitySkeleton-vU176Zv8.js} +3 -3
  4. package/dist/AvailabilitySkeleton-vU176Zv8.js.br +0 -0
  5. package/dist/{CheckoutWindow-2QBoV8Ux.js → CheckoutWindow-t0cFFcrT.js} +1 -1
  6. package/dist/CheckoutWindow-t0cFFcrT.js.br +0 -0
  7. package/dist/{DateField.vue_vue_type_style_index_0_lang-8jh4ShrP.js → DateField.vue_vue_type_style_index_0_lang-Ey9s8JwX.js} +1 -1
  8. package/dist/DateField.vue_vue_type_style_index_0_lang-Ey9s8JwX.js.br +0 -0
  9. package/dist/{Field-XgLyezkE.js → Field-X-mFGgJr.js} +1 -1
  10. package/dist/Field-X-mFGgJr.js.br +0 -0
  11. package/dist/{ThankYou-qlEQeAKd.js → ThankYou-AbcMni9a.js} +3 -3
  12. package/dist/ThankYou-AbcMni9a.js.br +0 -0
  13. package/dist/{_-488L5zGs.js → _-Ja0sPEa-.js} +16 -16
  14. package/dist/_-Ja0sPEa-.js.br +0 -0
  15. package/dist/availability.js +5 -5
  16. package/dist/availability.js.br +0 -0
  17. package/dist/{event-TnRfky1i.js → event-RzMwJOH1.js} +43 -43
  18. package/dist/event-RzMwJOH1.js.br +0 -0
  19. package/dist/event.js +6 -6
  20. package/dist/event.js.br +0 -0
  21. package/dist/gift-card-validation.js +3 -3
  22. package/dist/gift-card-validation.js.br +0 -0
  23. package/dist/gift-card.js +5 -5
  24. package/dist/gift-card.js.br +0 -0
  25. package/dist/hotel.js +7 -7
  26. package/dist/hotel.js.br +0 -0
  27. package/dist/polyfill.js +96 -96
  28. package/dist/polyfill.js.br +0 -0
  29. package/package.json +1 -1
  30. package/dist/ActionField-FHpkuvKb.js.br +0 -0
  31. package/dist/AvailabilitySkeleton-5cdinrJb.js.br +0 -0
  32. package/dist/CheckoutWindow-2QBoV8Ux.js.br +0 -0
  33. package/dist/DateField.vue_vue_type_style_index_0_lang-8jh4ShrP.js.br +0 -0
  34. package/dist/Field-XgLyezkE.js.br +0 -0
  35. package/dist/ThankYou-qlEQeAKd.js.br +0 -0
  36. package/dist/_-488L5zGs.js.br +0 -0
  37. package/dist/event-TnRfky1i.js.br +0 -0
@@ -1,4 +1,4 @@
1
- import { k as c, l as V, f as m, o as d, m as i, w as v, n as q, _ as g, p as t, q as k, T as B, t as I, C, I as F, v as A } from "./_-488L5zGs.js";
1
+ import { k as c, l as V, f as m, o as d, m as i, w as v, n as q, _ as g, p as t, q as k, T as B, t as I, C, I as F, v as A } from "./_-Ja0sPEa-.js";
2
2
  const L = { class: "fresh-booking-action-field" }, T = /* @__PURE__ */ c({
3
3
  __name: "ActionField",
4
4
  props: {
Binary file
@@ -1,6 +1,6 @@
1
- import { k as N, B as Q, s as A, D as B, F, c as W, r as X, f as m, G as R, H as Y, o as t, x as s, n as D, p as e, t as i, J as y, _ as Z, y as v, K as C, m as w, T as H, q as I, C as z, A as x, L as ee, h as ae, v as O, z as E } from "./_-488L5zGs.js";
2
- import { _ as le } from "./DateField.vue_vue_type_style_index_0_lang-8jh4ShrP.js";
3
- import { F as p } from "./Field-XgLyezkE.js";
1
+ import { k as N, B as Q, s as A, D as B, F, c as W, r as X, f as m, G as R, H as Y, o as t, x as s, n as D, p as e, t as i, J as y, _ as Z, y as v, K as C, m as w, T as H, q as I, C as z, A as x, L as ee, h as ae, v as O, z as E } from "./_-Ja0sPEa-.js";
2
+ import { _ as le } from "./DateField.vue_vue_type_style_index_0_lang-Ey9s8JwX.js";
3
+ import { F as p } from "./Field-X-mFGgJr.js";
4
4
  const te = {
5
5
  key: 0,
6
6
  class: "konnectio-availability-location"
@@ -1,4 +1,4 @@
1
- import { k as b, l as k, r as V, H as $, o as p, m as B, w as A, n as s, t as C, p as i, T as P, I, v, ai as T, A as h, aj as w, ak as N, x as g, P as u, y as S, B as _, $ as f, s as G, c as F, al as j, a5 as E, a6 as H } from "./_-488L5zGs.js";
1
+ import { k as b, l as k, r as V, H as $, o as p, m as B, w as A, n as s, t as C, p as i, T as P, I, v, ai as T, A as h, aj as w, ak as N, x as g, P as u, y as S, B as _, $ as f, s as G, c as F, al as j, a5 as E, a6 as H } from "./_-Ja0sPEa-.js";
2
2
  const O = { class: "fresh-booking-phone-input" }, U = /* @__PURE__ */ b({
3
3
  __name: "PhoneField",
4
4
  props: {
@@ -1,4 +1,4 @@
1
- import { aH as ca, r as J, k as ze, am as Ft, aK as Ma, H as Ze, as as Ot, f as B, aI as an, G as Nt, o as $, x as F, t as et, M as Xe, Y as Ne, w as ye, ax as Ue, aw as Be, ac as ne, p as m, ai as Ke, J as An, ad as Zt, y as L, aE as Vr, A as De, ay as Fr, aL as $n, ak as ce, n as se, m as ke, L as Pe, K as be, aj as it, P as Le, aM as nn, $ as Dt, aN as Br, ag as ka, ah as Da, aO as Hr, aP as Wr, l as qr, h as zr, I as jr } from "./_-488L5zGs.js";
1
+ import { aH as ca, r as J, k as ze, am as Ft, aK as Ma, H as Ze, as as Ot, f as B, aI as an, G as Nt, o as $, x as F, t as et, M as Xe, Y as Ne, w as ye, ax as Ue, aw as Be, ac as ne, p as m, ai as Ke, J as An, ad as Zt, y as L, aE as Vr, A as De, ay as Fr, aL as $n, ak as ce, n as se, m as ke, L as Pe, K as be, aj as it, P as Le, aM as nn, $ as Dt, aN as Br, ag as ka, ah as Da, aO as Hr, aP as Wr, l as qr, h as zr, I as jr } from "./_-Ja0sPEa-.js";
2
2
  function oe(t) {
3
3
  const e = Object.prototype.toString.call(t);
4
4
  return t instanceof Date || typeof t == "object" && e === "[object Date]" ? new t.constructor(+t) : typeof t == "number" || e === "[object Number]" || typeof t == "string" || e === "[object String]" ? new Date(t) : /* @__PURE__ */ new Date(NaN);
@@ -1,4 +1,4 @@
1
- import { k as l, o as a, x as t, m as n, y as i, t as s, z as o, A as r, v as d } from "./_-488L5zGs.js";
1
+ import { k as l, o as a, x as t, m as n, y as i, t as s, z as o, A as r, v as d } from "./_-Ja0sPEa-.js";
2
2
  const p = {
3
3
  key: 0,
4
4
  class: "skeleton-field-label"
Binary file
@@ -1,6 +1,6 @@
1
- import { a5 as gn, a6 as _n, k as ne, as as qt, o as P, m as ce, au as za, av as Ge, x as O, n as _, K as ve, ac as Z, y as L, aj as He, A as se, ak as $a, w as te, t as V, ai as Zr, aw as Fa, ax as Ba, r as H, a8 as Ha, ay as pt, P as T, az as ja, aA as Va, aB as Wa, H as ut, aC as Ua, aD as Ga, G as Ee, f as re, ag as Ie, ah as Kt, ad as Hn, aE as Xa, N as Be, p as b, v as Ce, Y as Me, aF as Ya, aG as jn, aq as Jr, aH as qa, aI as Ka, X as lr, B as ct, c as mn, L as je, W as _e, ar as Ze, s as Ae, F as Zt, aJ as Za, z as Se, a as ur, am as Ja, J as cr, u as Qa, a2 as es } from "./_-488L5zGs.js";
2
- import { A as dr } from "./ActionField-FHpkuvKb.js";
3
- import { _ as ts } from "./CheckoutWindow-2QBoV8Ux.js";
1
+ import { a5 as gn, a6 as _n, k as ne, as as qt, o as P, m as ce, au as za, av as Ge, x as O, n as _, K as ve, ac as Z, y as L, aj as He, A as se, ak as $a, w as te, t as V, ai as Zr, aw as Fa, ax as Ba, r as H, a8 as Ha, ay as pt, P as T, az as ja, aA as Va, aB as Wa, H as ut, aC as Ua, aD as Ga, G as Ee, f as re, ag as Ie, ah as Kt, ad as Hn, aE as Xa, N as Be, p as b, v as Ce, Y as Me, aF as Ya, aG as jn, aq as Jr, aH as qa, aI as Ka, X as lr, B as ct, c as mn, L as je, W as _e, ar as Ze, s as Ae, F as Zt, aJ as Za, z as Se, a as ur, am as Ja, J as cr, u as Qa, a2 as es } from "./_-Ja0sPEa-.js";
2
+ import { A as dr } from "./ActionField-X-usNS7I.js";
3
+ import { _ as ts } from "./CheckoutWindow-t0cFFcrT.js";
4
4
  const ns = ["top", "right", "bottom", "left"], fr = ["start", "end"], hr = /* @__PURE__ */ ns.reduce((i, r) => i.concat(r, r + "-" + fr[0], r + "-" + fr[1]), []), Ct = Math.min, $e = Math.max, is = {
5
5
  left: "right",
6
6
  right: "left",
Binary file
@@ -15297,7 +15297,7 @@ var XT = function() {
15297
15297
  const cw = wi("applyGiftCard", () => {
15298
15298
  const { display: e } = Is(), { bearerToken: t } = to(co()), n = Ae(0), r = Ae(""), i = Ae(""), o = Ae(""), a = Ae(!1), s = Ae(!1);
15299
15299
  async function l() {
15300
- r.value !== "" ? (s.value = !0, await ui.get("https://stage.hotel-service.konnectio.dk/api/gift-card/validate", {
15300
+ r.value !== "" ? (s.value = !0, await ui.get("https://production.hotel-service.konnectio.dk/api/gift-card/validate", {
15301
15301
  params: {
15302
15302
  giftcardCode: r.value,
15303
15303
  lang: _i()
@@ -15305,7 +15305,7 @@ const cw = wi("applyGiftCard", () => {
15305
15305
  headers: {
15306
15306
  Authorization: t.value,
15307
15307
  Accept: "application/json",
15308
- "Fresh-Booking-Ver": "4.0.56-rc17"
15308
+ "Fresh-Booking-Ver": "4.0.56-rc18"
15309
15309
  }
15310
15310
  }).then((d) => {
15311
15311
  const {
@@ -15576,14 +15576,14 @@ const cw = wi("applyGiftCard", () => {
15576
15576
  }
15577
15577
  async function Pt() {
15578
15578
  try {
15579
- const Te = (await ui.get("https://stage.hotel-service.konnectio.dk/api/hotel/metadata", {
15579
+ const Te = (await ui.get("https://production.hotel-service.konnectio.dk/api/hotel/metadata", {
15580
15580
  params: {
15581
15581
  language: _i()
15582
15582
  },
15583
15583
  headers: {
15584
15584
  Authorization: y.value,
15585
15585
  Accept: "application/json",
15586
- "Fresh-Booking-Ver": "4.0.56-rc17"
15586
+ "Fresh-Booking-Ver": "4.0.56-rc18"
15587
15587
  }
15588
15588
  })).data;
15589
15589
  p.value = Te;
@@ -15599,7 +15599,7 @@ const cw = wi("applyGiftCard", () => {
15599
15599
  let Te = f.value;
15600
15600
  isNaN(Te) && (Te = null);
15601
15601
  try {
15602
- const Pe = await ui.get("https://stage.hotel-service.konnectio.dk/api/hotel/availability", {
15602
+ const Pe = await ui.get("https://production.hotel-service.konnectio.dk/api/hotel/availability", {
15603
15603
  params: {
15604
15604
  fromDate: s.value,
15605
15605
  toDate: l.value,
@@ -15611,7 +15611,7 @@ const cw = wi("applyGiftCard", () => {
15611
15611
  headers: {
15612
15612
  Authorization: y.value,
15613
15613
  Accept: "application/json",
15614
- "Konnectio-Ver": "4.0.56-rc17"
15614
+ "Konnectio-Ver": "4.0.56-rc18"
15615
15615
  }
15616
15616
  });
15617
15617
  Pe.status !== 200 ? i({
@@ -15695,11 +15695,11 @@ const cw = wi("applyGiftCard", () => {
15695
15695
  }
15696
15696
  const ut = Ae(), jn = Ae(!1);
15697
15697
  async function Ni() {
15698
- jn.value = !0, ui.post("https://stage.hotel-service.konnectio.dk/api/hotel/validate-discount-code", Fn(), {
15698
+ jn.value = !0, ui.post("https://production.hotel-service.konnectio.dk/api/hotel/validate-discount-code", Fn(), {
15699
15699
  headers: {
15700
15700
  Authorization: y.value,
15701
15701
  Accept: "application/json",
15702
- "Konnectio-Ver": "4.0.56-rc17"
15702
+ "Konnectio-Ver": "4.0.56-rc18"
15703
15703
  }
15704
15704
  }).then((Te) => {
15705
15705
  jn.value = !1;
@@ -15723,11 +15723,11 @@ const cw = wi("applyGiftCard", () => {
15723
15723
  ut.value = void 0, X.value = "", F.value = "";
15724
15724
  }
15725
15725
  async function br(Te) {
15726
- P.value = 3, A.value = !0, await ui.post("https://stage.hotel-service.konnectio.dk/api/hotel/create-reservation", Fn(!0), {
15726
+ P.value = 3, A.value = !0, await ui.post("https://production.hotel-service.konnectio.dk/api/hotel/create-reservation", Fn(!0), {
15727
15727
  headers: {
15728
15728
  Authorization: y.value,
15729
15729
  Accept: "application/json",
15730
- "Konnectio-Ver": "4.0.56-rc17"
15730
+ "Konnectio-Ver": "4.0.56-rc18"
15731
15731
  }
15732
15732
  }).then((Pe) => {
15733
15733
  L.value = !1, A.value = !1, t.pay({
@@ -16139,10 +16139,10 @@ const gw = wi("recaptcha", () => {
16139
16139
  if (e.isRecaptchaEnabled) {
16140
16140
  const a = await t.value.execute(i);
16141
16141
  if (o)
16142
- (await ui.post("https://stage.hotel-service.konnectio.dk/api/utility/verify-recaptcha", { token: a }, {
16142
+ (await ui.post("https://production.hotel-service.konnectio.dk/api/utility/verify-recaptcha", { token: a }, {
16143
16143
  headers: {
16144
16144
  Authorization: e.bearerToken,
16145
- "Konnectio-Core-Ver": "4.0.56-rc17"
16145
+ "Konnectio-Core-Ver": "4.0.56-rc18"
16146
16146
  }
16147
16147
  })).data.success === !0 && o();
16148
16148
  else
@@ -16168,14 +16168,14 @@ const gw = wi("recaptcha", () => {
16168
16168
  async function $(U = "none") {
16169
16169
  try {
16170
16170
  if (U !== "none") {
16171
- const q = (await ui.get(`https://stage.hotel-service.konnectio.dk/api/${U}/metadata`, {
16171
+ const q = (await ui.get(`https://production.hotel-service.konnectio.dk/api/${U}/metadata`, {
16172
16172
  params: {
16173
16173
  language: _i()
16174
16174
  },
16175
16175
  headers: {
16176
16176
  Authorization: G.value,
16177
16177
  Accept: "application/json",
16178
- "Fresh-Booking-Ver": "4.0.56-rc17"
16178
+ "Fresh-Booking-Ver": "4.0.56-rc18"
16179
16179
  }
16180
16180
  })).data;
16181
16181
  a.value = q, q.hotelId && (isNaN(o.value) ? o.value = q.hotelId : o.value !== q.hotelId && (r(), o.value = q.hotelId), isNaN(n.value) && q.hotelId && (n.value = q.hotelId));
@@ -16188,11 +16188,11 @@ const gw = wi("recaptcha", () => {
16188
16188
  }
16189
16189
  }
16190
16190
  async function Z() {
16191
- await ui.get("https://stage.hotel-service.konnectio.dk/api/utility/get-settings-and-translations", {
16191
+ await ui.get("https://production.hotel-service.konnectio.dk/api/utility/get-settings-and-translations", {
16192
16192
  headers: {
16193
16193
  Authorization: G.value,
16194
16194
  Accept: "application/json",
16195
- "Fresh-Booking-Ver": "4.0.56-rc17"
16195
+ "Fresh-Booking-Ver": "4.0.56-rc18"
16196
16196
  }
16197
16197
  }).then((U) => {
16198
16198
  const { settings: q, translations: te } = U.data;
Binary file
@@ -1,9 +1,9 @@
1
- import { k as K, r as c, c as p, o as S, x as G, ac as L, L as U, s as O, B as n, f as Y, m as w, w as D, t as M, p as h, J as N, n as A, C as T, h as H, v as a, P as e, a5 as j, a6 as x, H as u, ab as d, A as s, K as y, y as t, ad as W, a3 as r, a4 as b, a7 as Z, a8 as V, a9 as v } from "./_-488L5zGs.js";
2
- import { H as P, A as f } from "./AvailabilitySkeleton-5cdinrJb.js";
3
- import { u as q } from "./event-TnRfky1i.js";
4
- import { _ as X } from "./DateField.vue_vue_type_style_index_0_lang-8jh4ShrP.js";
1
+ import { k as K, r as c, c as p, o as S, x as G, ac as L, L as U, s as O, B as n, f as Y, m as w, w as D, t as M, p as h, J as N, n as A, C as T, h as H, v as a, P as e, a5 as j, a6 as x, H as u, ab as d, A as s, K as y, y as t, ad as W, a3 as r, a4 as b, a7 as Z, a8 as V, a9 as v } from "./_-Ja0sPEa-.js";
2
+ import { H as P, A as f } from "./AvailabilitySkeleton-vU176Zv8.js";
3
+ import { u as q } from "./event-RzMwJOH1.js";
4
+ import { _ as X } from "./DateField.vue_vue_type_style_index_0_lang-Ey9s8JwX.js";
5
5
  import "./_commonjsHelpers-f3sTPFkQ.js";
6
- import "./Field-XgLyezkE.js";
6
+ import "./Field-X-mFGgJr.js";
7
7
  const z = /* @__PURE__ */ K({
8
8
  __name: "_",
9
9
  props: {
Binary file
@@ -1,10 +1,10 @@
1
- import { d as Ge, u as Ve, s as oe, a as Le, b as Ue, c as _e, r as s, E as v, e as U, f as a, O as le, S as _, g as qe, h as F, i as C, j as D } from "./_-488L5zGs.js";
1
+ import { d as Ge, u as Ve, s as oe, a as Le, b as Ue, c as _e, r, E as v, e as U, f as a, O as le, S as _, g as qe, h as F, i as C, j as D } from "./_-Ja0sPEa-.js";
2
2
  const xe = Ge("event", () => {
3
- const se = Ve(), { voucher: re } = oe(Le()), { display: h } = Ue(), { bearerToken: I } = oe(_e()), p = s({}), y = s({}), t = s(void 0), l = s(!0), i = s(v.InitialState), q = s(/* @__PURE__ */ new Date()), N = s(NaN), T = s(1), S = s(NaN), K = s(NaN), E = s(""), $ = U("konnectio_name", "", void 0, { serializer: _.string }), O = U("konnectio_phone", "", void 0, { serializer: _.string }), R = U("konnectio_email", "", void 0, { serializer: _.string }), x = s(""), P = s({}), g = s({}), z = s("");
3
+ const re = Ve(), { voucher: se } = oe(Le()), { display: h } = Ue(), { bearerToken: I } = oe(_e()), p = r({}), y = r({}), t = r(void 0), l = r(!0), i = r(v.InitialState), q = r(/* @__PURE__ */ new Date()), N = r(NaN), T = r(1), S = r(NaN), K = r(NaN), E = r(""), $ = U("konnectio_name", "", void 0, { serializer: _.string }), O = U("konnectio_phone", "", void 0, { serializer: _.string }), R = U("konnectio_email", "", void 0, { serializer: _.string }), x = r(""), P = r({}), m = r({}), z = r("");
4
4
  function o(e) {
5
5
  return e.templateID !== void 0;
6
6
  }
7
- const ue = a(() => p.value.currency), ie = a(() => p.value.maxNumberPerBooking), ve = a(() => p.value.title), ce = a(() => p.value.subtitle), de = a(() => p.value.slideshow), A = a(() => q.value.toISOString()), pe = a(() => o(t.value)), M = a(() => o(t.value) ? t.value.numberOfDays : T.value), ge = a(() => o(t.value) ? t.value.packageCount : 0), me = a(() => o(t.value) ? t.value.fromDate : ""), b = a(() => y.value.events.find((e) => e.id === S.value)), fe = a(() => b.value ? b.value.length : void 0), j = a(() => o(t.value) ? t.value.templateID : 0), he = a(() => y.value.events), ye = a(() => y.value.templates), be = a(() => y.value.events.length > 0), ke = a(() => y.value.templates.length > 0), Q = a(() => b.value && b.value.eventRateType ? b.value.eventRateType : le.None), B = a(() => {
7
+ const ue = a(() => p.value.currency), ie = a(() => p.value.maxNumberPerBooking), ve = a(() => p.value.title), ce = a(() => p.value.subtitle), de = a(() => p.value.slideshow), A = a(() => q.value.toISOString()), pe = a(() => o(t.value)), M = a(() => o(t.value) ? t.value.numberOfDays : T.value), me = a(() => o(t.value) ? t.value.packageCount : 0), ge = a(() => o(t.value) ? t.value.fromDate : ""), b = a(() => y.value.events.find((e) => e.id === S.value)), fe = a(() => b.value ? b.value.length : void 0), j = a(() => o(t.value) ? t.value.templateID : 0), he = a(() => y.value.events), ye = a(() => y.value.templates), be = a(() => y.value.events.length > 0), ke = a(() => y.value.templates.length > 0), Q = a(() => b.value && b.value.eventRateType ? b.value.eventRateType : le.None), B = a(() => {
8
8
  if (!o(t.value))
9
9
  return t.value;
10
10
  }), H = a(() => {
@@ -20,42 +20,42 @@ const xe = Ge("event", () => {
20
20
  if (o(t.value))
21
21
  return t.value.templateCounts;
22
22
  }), De = a(() => (e) => p.value.eventImages.filter((n) => n.eventID === e));
23
- function G(e, n, r) {
23
+ function G(e, n, s) {
24
24
  let c = 0;
25
25
  if (o(t.value)) {
26
- const u = t.value.templateCounts[r];
26
+ const u = t.value.templateCounts[s];
27
27
  if (u) {
28
- const k = u.addons, m = P.value[`${n}.${e}.${r}`] || 0;
29
- if (m > 0) {
30
- const f = k?.find((w) => w.addonID === e), d = typeof m == "boolean" ? 1 : m;
28
+ const k = u.addons, g = P.value[`${n}.${e}.${s}`] || 0;
29
+ if (g > 0) {
30
+ const f = k?.find((w) => w.addonID === e), d = typeof g == "boolean" ? 1 : g;
31
31
  c += qe(f?.price, f?.quantityStrategy, M.value, u.adultPerRoom) * d;
32
32
  }
33
33
  }
34
34
  } else {
35
- const u = g.value[e] || 0;
35
+ const u = m.value[e] || 0;
36
36
  if (u > 0) {
37
- const k = b.value?.products?.find((m) => m.productID === e);
37
+ const k = b.value?.products?.find((g) => g.productID === e);
38
38
  k && (c += k.price * u);
39
39
  }
40
40
  }
41
41
  return c;
42
42
  }
43
43
  function V(e, n) {
44
- let r = 0;
44
+ let s = 0;
45
45
  if (o(t.value))
46
46
  for (const c in P.value) {
47
47
  const u = c.split(".");
48
- parseInt(u[0]) === e && parseInt(u[2]) === n && (r += G(parseInt(u[1]), e, n));
48
+ parseInt(u[0]) === e && parseInt(u[2]) === n && (s += G(parseInt(u[1]), e, n));
49
49
  }
50
50
  else
51
- for (const c in g.value)
52
- r += G(parseInt(c)) * T.value;
53
- return r;
51
+ for (const c in m.value)
52
+ s += G(parseInt(c)) * T.value;
53
+ return s;
54
54
  }
55
55
  const W = a(() => o(t.value) && t.value.totalPrice || 0), Ie = a(() => {
56
56
  if (o(t.value))
57
57
  return t.value.templateCounts === void 0 ? NaN : t.value.templateCounts.flatMap((e) => e.roomGroupID).reduce(
58
- (e, n, r) => e + V(n, r),
58
+ (e, n, s) => e + V(n, s),
59
59
  W.value
60
60
  ) || 0;
61
61
  {
@@ -63,25 +63,25 @@ const xe = Ge("event", () => {
63
63
  return e += H.value, e;
64
64
  }
65
65
  }), Se = a(() => o(t.value) && t.value.templateCounts !== void 0 && t.value.templateCounts.flatMap((e) => e.weekendFee).reduce((e, n) => e + n, 0) || 0), Pe = a(() => o(t.value) && t.value.templateCounts !== void 0 && t.value.templateCounts.flatMap((e) => e.roomUpgrade).reduce((e, n) => e + n, 0) || 0), Ae = a(() => {
66
- const e = g.value;
66
+ const e = m.value;
67
67
  let n = 0;
68
- for (const r in e)
69
- n += Number.isNaN(e[r]) ? 0 : e[r];
68
+ for (const s in e)
69
+ n += Number.isNaN(e[s]) ? 0 : e[s];
70
70
  return n > 0;
71
- }), X = a(() => o(t.value) ? !1 : Object.keys(g.value).length > 0), we = a(() => !!($.value !== "" && R.value !== "" && O.value.length >= 5 && (!X.value || Ae.value) && (!(!o(t.value) && Q.value !== le.FullDayEvent) || E.value !== "")));
71
+ }), X = a(() => o(t.value) ? !1 : Object.keys(m.value).length > 0), we = a(() => !!($.value !== "" && R.value !== "" && O.value.length >= 5 && (!X.value || Ae.value) && (!(!o(t.value) && Q.value !== le.FullDayEvent) || E.value !== "")));
72
72
  function Ce(e) {
73
73
  return i.value === v.ReservationState && S.value === e && l.value;
74
74
  }
75
75
  const Ee = a(() => !(i.value === v.InitialState && l.value)), Fe = a(() => !(i.value === v.AvailabilityState && l.value)), Ne = a(() => t.value !== void 0), Te = a(() => i.value === v.PaymentState && l.value);
76
76
  async function Y() {
77
77
  try {
78
- const e = (await C.get("https://stage.hotel-service.konnectio.dk/api/event/metadata", {
78
+ const e = (await C.get("https://production.hotel-service.konnectio.dk/api/event/metadata", {
79
79
  params: {
80
80
  language: F()
81
81
  },
82
82
  headers: {
83
83
  Authorization: I.value,
84
- "Fresh-Booking-Ver": "4.0.56-rc17"
84
+ "Fresh-Booking-Ver": "4.0.56-rc18"
85
85
  }
86
86
  })).data;
87
87
  p.value = e, Z();
@@ -95,14 +95,14 @@ const xe = Ge("event", () => {
95
95
  async function Z() {
96
96
  i.value = v.AvailabilityState, l.value = !0;
97
97
  try {
98
- const e = (await C.get("https://stage.hotel-service.konnectio.dk/api/event/restaurant-events", {
98
+ const e = (await C.get("https://production.hotel-service.konnectio.dk/api/event/restaurant-events", {
99
99
  params: {
100
100
  language: F(),
101
101
  date: A.value
102
102
  },
103
103
  headers: {
104
104
  Authorization: I.value,
105
- "Fresh-Booking-Ver": "4.0.56-rc17"
105
+ "Fresh-Booking-Ver": "4.0.56-rc18"
106
106
  }
107
107
  })).data;
108
108
  y.value = e, l.value = !1;
@@ -116,7 +116,7 @@ const xe = Ge("event", () => {
116
116
  async function $e(e) {
117
117
  i.value = v.ReservationState, l.value = !0;
118
118
  try {
119
- const n = (await C.get("https://stage.hotel-service.konnectio.dk/api/v3/event/get-availability", {
119
+ const n = (await C.get("https://production.hotel-service.konnectio.dk/api/v3/event/get-availability", {
120
120
  params: {
121
121
  language: F(),
122
122
  date: A.value,
@@ -125,7 +125,7 @@ const xe = Ge("event", () => {
125
125
  },
126
126
  headers: {
127
127
  Authorization: I.value,
128
- "Fresh-Booking-Ver": "4.0.56-rc17"
128
+ "Fresh-Booking-Ver": "4.0.56-rc18"
129
129
  }
130
130
  })).data;
131
131
  n.templateCounts.length === 0 ? h({
@@ -142,7 +142,7 @@ const xe = Ge("event", () => {
142
142
  async function Oe(e) {
143
143
  i.value = v.ReservationState, l.value = !0;
144
144
  try {
145
- const n = (await C.get("https://stage.hotel-service.konnectio.dk/api/v3/event/get-table-availability", {
145
+ const n = (await C.get("https://production.hotel-service.konnectio.dk/api/v3/event/get-table-availability", {
146
146
  params: {
147
147
  language: F(),
148
148
  date: A.value,
@@ -152,7 +152,7 @@ const xe = Ge("event", () => {
152
152
  },
153
153
  headers: {
154
154
  Authorization: I.value,
155
- "Fresh-Booking-Ver": "4.0.56-rc17"
155
+ "Fresh-Booking-Ver": "4.0.56-rc18"
156
156
  }
157
157
  })).data;
158
158
  t.value = n, l.value = !1, e();
@@ -165,7 +165,7 @@ const xe = Ge("event", () => {
165
165
  }
166
166
  async function Re() {
167
167
  try {
168
- const e = (await C.get("https://stage.hotel-service.konnectio.dk/api/v3/event/validate-discount-code", {
168
+ const e = (await C.get("https://production.hotel-service.konnectio.dk/api/v3/event/validate-discount-code", {
169
169
  params: {
170
170
  language: F(),
171
171
  date: A.value,
@@ -173,7 +173,7 @@ const xe = Ge("event", () => {
173
173
  },
174
174
  headers: {
175
175
  Authorization: I.value,
176
- "Fresh-Booking-Ver": "4.0.56-rc17"
176
+ "Fresh-Booking-Ver": "4.0.56-rc18"
177
177
  }
178
178
  })).data;
179
179
  console.log(e);
@@ -192,7 +192,7 @@ const xe = Ge("event", () => {
192
192
  type: "warning"
193
193
  });
194
194
  };
195
- let r, c, u;
195
+ let s, c, u;
196
196
  const k = [];
197
197
  if (o(t.value))
198
198
  J.value?.forEach((d, w) => {
@@ -212,22 +212,22 @@ const xe = Ge("event", () => {
212
212
  roomGroupID: d.roomGroupID,
213
213
  addons: ee
214
214
  });
215
- }), r = {
215
+ }), s = {
216
216
  templateID: j.value,
217
217
  numberOfDays: T.value,
218
218
  templateCounts: k
219
219
  };
220
220
  else {
221
221
  c = [], u = E.value;
222
- for (const d in g.value) {
223
- const w = g.value[parseInt(d)];
222
+ for (const d in m.value) {
223
+ const w = m.value[parseInt(d)];
224
224
  w > 0 && c.push({
225
225
  id: parseInt(d),
226
226
  quantity: w
227
227
  });
228
228
  }
229
229
  }
230
- let m = "https://stage.hotel-service.konnectio.dk/api/v3/event/template-book";
230
+ let g = "https://production.hotel-service.konnectio.dk/api/v3/event/template-book";
231
231
  const f = {
232
232
  date: A.value,
233
233
  name: $.value,
@@ -237,24 +237,24 @@ const xe = Ge("event", () => {
237
237
  numberOfPeople: N.value,
238
238
  days: M.value,
239
239
  discountCode: z.value,
240
- giftCardCode: re.value,
240
+ giftCardCode: se.value,
241
241
  checkoutUrl: window.location.origin,
242
242
  privacyUrl: window.location.origin
243
243
  };
244
- o(t.value) ? f.templateGroup = r : (f.time = u, f.eventId = S.value, f.products = c, m = "https://stage.hotel-service.konnectio.dk/api/v3/event/event-book"), await C.post(m, f, {
244
+ o(t.value) ? f.templateGroup = s : (f.time = u, f.eventId = S.value, f.products = c, g = "https://production.hotel-service.konnectio.dk/api/v3/event/event-book"), await C.post(g, f, {
245
245
  headers: {
246
246
  Authorization: I.value,
247
- "Fresh-Booking-Ver": "4.0.56-rc17"
247
+ "Fresh-Booking-Ver": "4.0.56-rc18"
248
248
  }
249
249
  }).then((d) => {
250
- l.value = !1, se.pay({
250
+ l.value = !1, re.pay({
251
251
  callback: e,
252
252
  response: d.data
253
253
  });
254
254
  }).catch(() => n());
255
255
  }
256
256
  function Me(e) {
257
- P.value = {}, g.value = {}, E.value = "", e();
257
+ P.value = {}, m.value = {}, E.value = "", e();
258
258
  }
259
259
  function Be() {
260
260
  Y();
@@ -273,7 +273,7 @@ const xe = Ge("event", () => {
273
273
  tableGroupId: K,
274
274
  arrivalTime: E,
275
275
  addons: P,
276
- products: g,
276
+ products: m,
277
277
  discountCode: z,
278
278
  name: $,
279
279
  phone: O,
@@ -287,8 +287,8 @@ const xe = Ge("event", () => {
287
287
  slideshow: de,
288
288
  date: A,
289
289
  numberOfTotalDays: M,
290
- numberOfRooms: ge,
291
- fromDate: me,
290
+ numberOfRooms: me,
291
+ fromDate: ge,
292
292
  getEventData: b,
293
293
  length: fe,
294
294
  templateId: j,
Binary file
package/dist/event.js CHANGED
@@ -1,9 +1,9 @@
1
- import { k as ge, B as he, b as Ie, s as Q, c as fe, r as Ze, f as je, o as a, m as y, M as He, w as k, n as l, t as r, N as V, P as n, p as e, Q as Qe, R as ie, x as i, U as re, y as d, V as We, W as U, X as Ye, v as ke, H as Ge, G as Je, J as F, K as C, Y as R, Z as ue, O as de, q as x, T as me, $ as ce, a0 as Ke, a1 as ee, a2 as pe, a3 as Xe, a4 as xe, a5 as el, a6 as ll, a7 as nl, a8 as tl, a9 as al, aa as ol } from "./_-488L5zGs.js";
2
- import { B as sl, M as il, R as rl, T as ul, G as dl } from "./ThankYou-qlEQeAKd.js";
3
- import { u as W } from "./event-TnRfky1i.js";
4
- import { A as ml } from "./ActionField-FHpkuvKb.js";
5
- import { P as cl, C as ve, a as pl } from "./CheckoutWindow-2QBoV8Ux.js";
6
- import { _ as vl } from "./DateField.vue_vue_type_style_index_0_lang-8jh4ShrP.js";
1
+ import { k as ge, B as he, b as Ie, s as Q, c as fe, r as Ze, f as je, o as a, m as y, M as He, w as k, n as l, t as r, N as V, P as n, p as e, Q as Qe, R as ie, x as i, U as re, y as d, V as We, W as U, X as Ye, v as ke, H as Ge, G as Je, J as F, K as C, Y as R, Z as ue, O as de, q as x, T as me, $ as ce, a0 as Ke, a1 as ee, a2 as pe, a3 as Xe, a4 as xe, a5 as el, a6 as ll, a7 as nl, a8 as tl, a9 as al, aa as ol } from "./_-Ja0sPEa-.js";
2
+ import { B as sl, M as il, R as rl, T as ul, G as dl } from "./ThankYou-AbcMni9a.js";
3
+ import { u as W } from "./event-RzMwJOH1.js";
4
+ import { A as ml } from "./ActionField-X-usNS7I.js";
5
+ import { P as cl, C as ve, a as pl } from "./CheckoutWindow-t0cFFcrT.js";
6
+ import { _ as vl } from "./DateField.vue_vue_type_style_index_0_lang-Ey9s8JwX.js";
7
7
  import "./_commonjsHelpers-f3sTPFkQ.js";
8
8
  const bl = { class: "fresh-booking-event-listing-information" }, gl = { key: 0 }, hl = { key: 1 }, fl = /* @__PURE__ */ ge({
9
9
  __name: "Event",
package/dist/event.js.br CHANGED
Binary file
@@ -1,6 +1,6 @@
1
- import { k as w, o as h, x as X, n as t, t as o, z as _, v as S, B, s as y, a as V, c as E, m as A, w as m, ab as G, P as c, p as e, J as x, N as k, W as N, a2 as T, y as $, L as I, a3 as z, a4 as D, a7 as M, a8 as P, a9 as U } from "./_-488L5zGs.js";
2
- import { A as F } from "./ActionField-FHpkuvKb.js";
3
- import { F as L } from "./Field-XgLyezkE.js";
1
+ import { k as w, o as h, x as X, n as t, t as o, z as _, v as S, B, s as y, a as V, c as E, m as A, w as m, ab as G, P as c, p as e, J as x, N as k, W as N, a2 as T, y as $, L as I, a3 as z, a4 as D, a7 as M, a8 as P, a9 as U } from "./_-Ja0sPEa-.js";
2
+ import { A as F } from "./ActionField-X-usNS7I.js";
3
+ import { F as L } from "./Field-X-mFGgJr.js";
4
4
  import "./_commonjsHelpers-f3sTPFkQ.js";
5
5
  const H = { class: "gift-card-validation-skeleton" }, O = { class: "gift-card-validation-skeleton-form" }, j = { class: "gift-card-validation-skeleton-text" }, R = { class: "gift-card-validation-skeleton-input" }, Z = /* @__PURE__ */ w({
6
6
  __name: "GiftCardValidationSkeleton",
Binary file
package/dist/gift-card.js CHANGED
@@ -1,6 +1,6 @@
1
- import { d as de, u as ue, s as J, c as ne, r as k, ae as U, e as Z, f as C, j as ee, S as Y, i as ce, h as pe, af as me, k as Q, B as ie, b as fe, o as c, m as q, w as B, n as s, x as g, t as i, p as e, C as G, y as _, A as se, I as ve, z as ge, v as re, G as he, H as be, ab as ye, P as ae, ag as j, ah as W, K as ke, Y as Ce, J as T, _ as _e, Z as le, T as H, q as Ve, a3 as we, a4 as Fe, a7 as Pe, a8 as Te, a9 as Se, aa as $e } from "./_-488L5zGs.js";
2
- import { a as Ue, C as Ae, P as Ee, _ as Re } from "./CheckoutWindow-2QBoV8Ux.js";
3
- import { F as x } from "./Field-XgLyezkE.js";
1
+ import { d as de, u as ue, s as J, c as ne, r as k, ae as U, e as Z, f as C, j as ee, S as Y, i as ce, h as pe, af as me, k as Q, B as ie, b as fe, o as c, m as q, w as B, n as s, x as g, t as i, p as e, C as G, y as _, A as se, I as ve, z as ge, v as re, G as he, H as be, ab as ye, P as ae, ag as j, ah as W, K as ke, Y as Ce, J as T, _ as _e, Z as le, T as H, q as Ve, a3 as we, a4 as Fe, a7 as Pe, a8 as Te, a9 as Se, aa as $e } from "./_-Ja0sPEa-.js";
2
+ import { a as Ue, C as Ae, P as Ee, _ as Re } from "./CheckoutWindow-t0cFFcrT.js";
3
+ import { F as x } from "./Field-X-mFGgJr.js";
4
4
  import "./_commonjsHelpers-f3sTPFkQ.js";
5
5
  const te = de("giftCard", () => {
6
6
  const { pay: S } = ue(), { bearerToken: m, metaData: V, currencyId: t } = J(ne()), r = k(U.InitialState), h = Z("konnectio_name", "", void 0, { serializer: Y.string }), d = Z("konnectio_email", "", void 0, { serializer: Y.string }), f = Z("konnectio_phone", "", void 0, { serializer: Y.string }), o = k(""), v = k(1), p = k(!0), L = k(""), y = k({
@@ -36,7 +36,7 @@ const te = de("giftCard", () => {
36
36
  return a;
37
37
  }), D = C(() => !(!h.value || !d.value || !(f.value.length >= 5) || !o.value || A.value === void 0)), O = C(() => !(r.value === U.InitialState && b.value)), K = C(() => !!(r.value === U.WaitingForResponse && b.value));
38
38
  async function I() {
39
- r.value = U.WaitingForResponse, b.value = !0, await ce.post("https://stage.hotel-service.konnectio.dk/api/gift-card/create", {
39
+ r.value = U.WaitingForResponse, b.value = !0, await ce.post("https://production.hotel-service.konnectio.dk/api/gift-card/create", {
40
40
  termsOfserviceURL: window.location.origin,
41
41
  checkoutUrl: window.location.origin,
42
42
  currencyID: t.value,
@@ -57,7 +57,7 @@ const te = de("giftCard", () => {
57
57
  headers: {
58
58
  Authorization: m.value,
59
59
  Accept: "application/json",
60
- "Fresh-Booking-Ver": "4.0.56-rc17"
60
+ "Fresh-Booking-Ver": "4.0.56-rc18"
61
61
  }
62
62
  }).then((a) => {
63
63
  r.value = U.ReadyToPay, b.value = !1, S({
Binary file
package/dist/hotel.js CHANGED
@@ -1,11 +1,11 @@
1
- import { k as j, B as re, am as ao, s as Q, c as me, D as gt, F as se, o as E, m as R, M as lo, p as s, w as x, ac as Pe, n as y, P as V, a2 as ne, R as Ze, an as uo, x as I, Y as z, K as B, y as P, $ as Fe, ao as ue, t as C, N as K, W as ie, f as q, _ as Ce, a5 as vt, a6 as yt, v as J, r as ce, ap as bt, H as Ge, G as _e, q as kt, C as le, aq as co, X as po, A as Ee, I as _t, l as et, T as oe, z as Y, ar as ho, a4 as fo, ab as mo, a0 as go, L as tt, J as N, a3 as vo, as as Et, at as yo, a7 as bo, a8 as ko, a9 as _o, aa as Eo } from "./_-488L5zGs.js";
2
- import { R as To, B as je, a as Co, S as Io, M as $o, T as So, G as Vo } from "./ThankYou-qlEQeAKd.js";
3
- import { A as Lo, H as Po } from "./AvailabilitySkeleton-5cdinrJb.js";
4
- import { _ as wo } from "./DateField.vue_vue_type_style_index_0_lang-8jh4ShrP.js";
5
- import { C as Ne, P as xo, a as Oo } from "./CheckoutWindow-2QBoV8Ux.js";
1
+ import { k as j, B as re, am as ao, s as Q, c as me, D as gt, F as se, o as E, m as R, M as lo, p as s, w as x, ac as Pe, n as y, P as V, a2 as ne, R as Ze, an as uo, x as I, Y as z, K as B, y as P, $ as Fe, ao as ue, t as C, N as K, W as ie, f as q, _ as Ce, a5 as vt, a6 as yt, v as J, r as ce, ap as bt, H as Ge, G as _e, q as kt, C as le, aq as co, X as po, A as Ee, I as _t, l as et, T as oe, z as Y, ar as ho, a4 as fo, ab as mo, a0 as go, L as tt, J as N, a3 as vo, as as Et, at as yo, a7 as bo, a8 as ko, a9 as _o, aa as Eo } from "./_-Ja0sPEa-.js";
2
+ import { R as To, B as je, a as Co, S as Io, M as $o, T as So, G as Vo } from "./ThankYou-AbcMni9a.js";
3
+ import { A as Lo, H as Po } from "./AvailabilitySkeleton-vU176Zv8.js";
4
+ import { _ as wo } from "./DateField.vue_vue_type_style_index_0_lang-Ey9s8JwX.js";
5
+ import { C as Ne, P as xo, a as Oo } from "./CheckoutWindow-t0cFFcrT.js";
6
6
  import { c as Tt, g as Ct } from "./_commonjsHelpers-f3sTPFkQ.js";
7
- import "./ActionField-FHpkuvKb.js";
8
- import "./Field-XgLyezkE.js";
7
+ import "./ActionField-X-usNS7I.js";
8
+ import "./Field-X-mFGgJr.js";
9
9
  const Ao = { key: 0 }, Ho = { key: 1 }, we = /* @__PURE__ */ j({
10
10
  __name: "HotelReservationForm",
11
11
  props: {
package/dist/hotel.js.br CHANGED
Binary file
package/dist/polyfill.js CHANGED
@@ -3545,29 +3545,29 @@ WV && HV && zV(Yg, "dotAll", {
3545
3545
  }
3546
3546
  }
3547
3547
  });
3548
- var jt = x, rv = y, XV = C, JV = Wf, QV = Zo, ZV = va, r7 = Vr, e7 = or.get, t7 = qf, a7 = eb, n7 = ZV("native-string-replace", String.prototype.replace), to = RegExp.prototype.exec, fc = to, i7 = rv("".charAt), o7 = rv("".indexOf), v7 = rv("".replace), Es = rv("".slice), lc = function() {
3548
+ var jt = x, rv = y, XV = C, JV = Wf, QV = Zo, ZV = va, rW = Vr, eW = or.get, tW = qf, aW = eb, nW = ZV("native-string-replace", String.prototype.replace), to = RegExp.prototype.exec, fc = to, iW = rv("".charAt), oW = rv("".indexOf), vW = rv("".replace), Es = rv("".slice), lc = function() {
3549
3549
  var r = /a/, e = /b*/g;
3550
3550
  return jt(to, r, "a"), jt(to, e, "a"), r.lastIndex !== 0 || e.lastIndex !== 0;
3551
- }(), ob = QV.BROKEN_CARET, $c = /()??/.exec("")[1] !== void 0, s7 = lc || $c || ob || t7 || a7;
3552
- s7 && (fc = function(e) {
3553
- var t = this, a = e7(t), n = XV(e), i = a.raw, o, v, s, u, c, f, $;
3551
+ }(), ob = QV.BROKEN_CARET, $c = /()??/.exec("")[1] !== void 0, sW = lc || $c || ob || tW || aW;
3552
+ sW && (fc = function(e) {
3553
+ var t = this, a = eW(t), n = XV(e), i = a.raw, o, v, s, u, c, f, $;
3554
3554
  if (i)
3555
3555
  return i.lastIndex = t.lastIndex, o = jt(fc, i, n), t.lastIndex = i.lastIndex, o;
3556
3556
  var d = a.groups, m = ob && t.sticky, E = jt(JV, t), b = t.source, O = 0, I = n;
3557
- if (m && (E = v7(E, "y", ""), o7(E, "g") === -1 && (E += "g"), I = Es(n, t.lastIndex), t.lastIndex > 0 && (!t.multiline || t.multiline && i7(n, t.lastIndex - 1) !== `
3558
- `) && (b = "(?: " + b + ")", I = " " + I, O++), v = new RegExp("^(?:" + b + ")", E)), $c && (v = new RegExp("^" + b + "$(?!\\s)", E)), lc && (s = t.lastIndex), u = jt(to, m ? v : t, I), m ? u ? (u.input = Es(u.input, O), u[0] = Es(u[0], O), u.index = t.lastIndex, t.lastIndex += u[0].length) : t.lastIndex = 0 : lc && u && (t.lastIndex = t.global ? u.index + u[0].length : s), $c && u && u.length > 1 && jt(n7, u[0], v, function() {
3557
+ if (m && (E = vW(E, "y", ""), oW(E, "g") === -1 && (E += "g"), I = Es(n, t.lastIndex), t.lastIndex > 0 && (!t.multiline || t.multiline && iW(n, t.lastIndex - 1) !== `
3558
+ `) && (b = "(?: " + b + ")", I = " " + I, O++), v = new RegExp("^(?:" + b + ")", E)), $c && (v = new RegExp("^" + b + "$(?!\\s)", E)), lc && (s = t.lastIndex), u = jt(to, m ? v : t, I), m ? u ? (u.input = Es(u.input, O), u[0] = Es(u[0], O), u.index = t.lastIndex, t.lastIndex += u[0].length) : t.lastIndex = 0 : lc && u && (t.lastIndex = t.global ? u.index + u[0].length : s), $c && u && u.length > 1 && jt(nW, u[0], v, function() {
3559
3559
  for (c = 1; c < arguments.length - 2; c++)
3560
3560
  arguments[c] === void 0 && (u[c] = void 0);
3561
3561
  }), u && d)
3562
- for (u.groups = f = r7(null), c = 0; c < d.length; c++)
3562
+ for (u.groups = f = rW(null), c = 0; c < d.length; c++)
3563
3563
  $ = d[c], f[$[0]] = u[$[1]];
3564
3564
  return u;
3565
3565
  });
3566
- var Xf = fc, u7 = l, Xg = Xf;
3567
- u7({ target: "RegExp", proto: !0, forced: /./.exec !== Xg }, {
3566
+ var Xf = fc, uW = l, Xg = Xf;
3567
+ uW({ target: "RegExp", proto: !0, forced: /./.exec !== Xg }, {
3568
3568
  exec: Xg
3569
3569
  });
3570
- var c7 = T, f7 = A, l7 = lr, $7 = Wf, d7 = p, vb = c7.RegExp, sb = vb.prototype, h7 = f7 && d7(function() {
3570
+ var cW = T, fW = A, lW = lr, $W = Wf, dW = p, vb = cW.RegExp, sb = vb.prototype, hW = fW && dW(function() {
3571
3571
  var r = !0;
3572
3572
  try {
3573
3573
  vb(".", "d");
@@ -3591,62 +3591,62 @@ var c7 = T, f7 = A, l7 = lr, $7 = Wf, d7 = p, vb = c7.RegExp, sb = vb.prototype,
3591
3591
  var v = Object.getOwnPropertyDescriptor(sb, "flags").get.call(e);
3592
3592
  return v !== a || t !== a;
3593
3593
  });
3594
- h7 && l7(sb, "flags", {
3594
+ hW && lW(sb, "flags", {
3595
3595
  configurable: !0,
3596
- get: $7
3596
+ get: $W
3597
3597
  });
3598
- var g7 = A, p7 = Zo.MISSED_STICKY, y7 = Sr, S7 = lr, m7 = or.get, Jg = RegExp.prototype, E7 = TypeError;
3599
- g7 && p7 && S7(Jg, "sticky", {
3598
+ var gW = A, pW = Zo.MISSED_STICKY, yW = Sr, SW = lr, mW = or.get, Jg = RegExp.prototype, EW = TypeError;
3599
+ gW && pW && SW(Jg, "sticky", {
3600
3600
  configurable: !0,
3601
3601
  get: function() {
3602
3602
  if (this !== Jg) {
3603
- if (y7(this) === "RegExp")
3604
- return !!m7(this).sticky;
3605
- throw new E7("Incompatible receiver, RegExp required");
3603
+ if (yW(this) === "RegExp")
3604
+ return !!mW(this).sticky;
3605
+ throw new EW("Incompatible receiver, RegExp required");
3606
3606
  }
3607
3607
  }
3608
3608
  });
3609
- var b7 = l, Qg = x, O7 = j, Zg = N, I7 = C, T7 = function() {
3609
+ var bW = l, Qg = x, OW = j, Zg = N, IW = C, TW = function() {
3610
3610
  var r = !1, e = /[ac]/;
3611
3611
  return e.exec = function() {
3612
3612
  return r = !0, /./.exec.apply(this, arguments);
3613
3613
  }, e.test("abc") === !0 && r;
3614
- }(), R7 = /./.test;
3615
- b7({ target: "RegExp", proto: !0, forced: !T7 }, {
3614
+ }(), RW = /./.test;
3615
+ bW({ target: "RegExp", proto: !0, forced: !TW }, {
3616
3616
  test: function(r) {
3617
- var e = Zg(this), t = I7(r), a = e.exec;
3618
- if (!O7(a))
3619
- return Qg(R7, e, t);
3617
+ var e = Zg(this), t = IW(r), a = e.exec;
3618
+ if (!OW(a))
3619
+ return Qg(RW, e, t);
3620
3620
  var n = Qg(a, e, t);
3621
3621
  return n === null ? !1 : (Zg(n), !0);
3622
3622
  }
3623
3623
  });
3624
- var A7 = ua.PROPER, w7 = X, P7 = N, rp = C, C7 = p, x7 = Pn, Jf = "toString", ub = RegExp.prototype, cb = ub[Jf], _7 = C7(function() {
3624
+ var AW = ua.PROPER, wW = X, PW = N, rp = C, CW = p, xW = Pn, Jf = "toString", ub = RegExp.prototype, cb = ub[Jf], _W = CW(function() {
3625
3625
  return cb.call({ source: "a", flags: "b" }) !== "/a/b";
3626
- }), N7 = A7 && cb.name !== Jf;
3627
- (_7 || N7) && w7(ub, Jf, function() {
3628
- var e = P7(this), t = rp(e.source), a = rp(x7(e));
3626
+ }), NW = AW && cb.name !== Jf;
3627
+ (_W || NW) && wW(ub, Jf, function() {
3628
+ var e = PW(this), t = rp(e.source), a = rp(xW(e));
3629
3629
  return "/" + t + "/" + a;
3630
3630
  }, { unsafe: !0 });
3631
- var M7 = ko, F7 = YE;
3632
- M7("Set", function(r) {
3631
+ var MW = ko, FW = YE;
3632
+ MW("Set", function(r) {
3633
3633
  return function() {
3634
3634
  return r(this, arguments.length ? arguments[0] : void 0);
3635
3635
  };
3636
- }, F7);
3637
- var L7 = l, D7 = y, j7 = J, B7 = rr, U7 = C, k7 = p, G7 = D7("".charAt), V7 = k7(function() {
3636
+ }, FW);
3637
+ var LW = l, DW = y, jW = J, BW = rr, UW = C, kW = p, GW = DW("".charAt), VW = kW(function() {
3638
3638
  return "𠮷".at(-2) !== "\uD842";
3639
3639
  });
3640
- L7({ target: "String", proto: !0, forced: V7 }, {
3640
+ LW({ target: "String", proto: !0, forced: VW }, {
3641
3641
  at: function(e) {
3642
- var t = U7(j7(this)), a = t.length, n = B7(e), i = n >= 0 ? n : a + n;
3643
- return i < 0 || i >= a ? void 0 : G7(t, i);
3642
+ var t = UW(jW(this)), a = t.length, n = BW(e), i = n >= 0 ? n : a + n;
3643
+ return i < 0 || i >= a ? void 0 : GW(t, i);
3644
3644
  }
3645
3645
  });
3646
- var Qf = y, W7 = rr, H7 = C, K7 = J, z7 = Qf("".charAt), ep = Qf("".charCodeAt), q7 = Qf("".slice), tp = function(r) {
3646
+ var Qf = y, WW = rr, HW = C, KW = J, zW = Qf("".charAt), ep = Qf("".charCodeAt), qW = Qf("".slice), tp = function(r) {
3647
3647
  return function(e, t) {
3648
- var a = H7(K7(e)), n = W7(t), i = a.length, o, v;
3649
- return n < 0 || n >= i ? r ? "" : void 0 : (o = ep(a, n), o < 55296 || o > 56319 || n + 1 === i || (v = ep(a, n + 1)) < 56320 || v > 57343 ? r ? z7(a, n) : o : r ? q7(a, n, n + 2) : (o - 55296 << 10) + (v - 56320) + 65536);
3648
+ var a = HW(KW(e)), n = WW(t), i = a.length, o, v;
3649
+ return n < 0 || n >= i ? r ? "" : void 0 : (o = ep(a, n), o < 55296 || o > 56319 || n + 1 === i || (v = ep(a, n + 1)) < 56320 || v > 57343 ? r ? zW(a, n) : o : r ? qW(a, n, n + 2) : (o - 55296 << 10) + (v - 56320) + 65536);
3650
3650
  };
3651
3651
  }, ev = {
3652
3652
  // `String.prototype.codePointAt` method
@@ -3655,65 +3655,65 @@ var Qf = y, W7 = rr, H7 = C, K7 = J, z7 = Qf("".charAt), ep = Qf("".charCodeAt),
3655
3655
  // `String.prototype.at` method
3656
3656
  // https://github.com/mathiasbynens/String.prototype.at
3657
3657
  charAt: tp(!0)
3658
- }, Y7 = l, X7 = ev.codeAt;
3659
- Y7({ target: "String", proto: !0 }, {
3658
+ }, YW = l, XW = ev.codeAt;
3659
+ YW({ target: "String", proto: !0 }, {
3660
3660
  codePointAt: function(e) {
3661
- return X7(this, e);
3661
+ return XW(this, e);
3662
3662
  }
3663
3663
  });
3664
- var J7 = Qo, Q7 = TypeError, Zf = function(r) {
3665
- if (J7(r))
3666
- throw new Q7("The method doesn't accept regular expressions");
3664
+ var JW = Qo, QW = TypeError, Zf = function(r) {
3665
+ if (JW(r))
3666
+ throw new QW("The method doesn't accept regular expressions");
3667
3667
  return r;
3668
- }, Z7 = D, rW = Z7("match"), rl = function(r) {
3668
+ }, ZW = D, r7 = ZW("match"), rl = function(r) {
3669
3669
  var e = /./;
3670
3670
  try {
3671
3671
  "/./"[r](e);
3672
3672
  } catch {
3673
3673
  try {
3674
- return e[rW] = !1, "/./"[r](e);
3674
+ return e[r7] = !1, "/./"[r](e);
3675
3675
  } catch {
3676
3676
  }
3677
3677
  }
3678
3678
  return !1;
3679
- }, eW = l, tW = ht, aW = hr.f, nW = Nr, ap = C, iW = Zf, oW = J, vW = rl, sW = tW("".slice), uW = Math.min, fb = vW("endsWith"), cW = !fb && !!function() {
3680
- var r = aW(String.prototype, "endsWith");
3679
+ }, e7 = l, t7 = ht, a7 = hr.f, n7 = Nr, ap = C, i7 = Zf, o7 = J, v7 = rl, s7 = t7("".slice), u7 = Math.min, fb = v7("endsWith"), c7 = !fb && !!function() {
3680
+ var r = a7(String.prototype, "endsWith");
3681
3681
  return r && !r.writable;
3682
3682
  }();
3683
- eW({ target: "String", proto: !0, forced: !cW && !fb }, {
3683
+ e7({ target: "String", proto: !0, forced: !c7 && !fb }, {
3684
3684
  endsWith: function(e) {
3685
- var t = ap(oW(this));
3686
- iW(e);
3687
- var a = arguments.length > 1 ? arguments[1] : void 0, n = t.length, i = a === void 0 ? n : uW(nW(a), n), o = ap(e);
3688
- return sW(t, i - o.length, i) === o;
3685
+ var t = ap(o7(this));
3686
+ i7(e);
3687
+ var a = arguments.length > 1 ? arguments[1] : void 0, n = t.length, i = a === void 0 ? n : u7(n7(a), n), o = ap(e);
3688
+ return s7(t, i - o.length, i) === o;
3689
3689
  }
3690
3690
  });
3691
- var fW = l, lW = y, $W = we, dW = RangeError, np = String.fromCharCode, ip = String.fromCodePoint, hW = lW([].join), gW = !!ip && ip.length !== 1;
3692
- fW({ target: "String", stat: !0, arity: 1, forced: gW }, {
3691
+ var f7 = l, l7 = y, $7 = we, d7 = RangeError, np = String.fromCharCode, ip = String.fromCodePoint, h7 = l7([].join), g7 = !!ip && ip.length !== 1;
3692
+ f7({ target: "String", stat: !0, arity: 1, forced: g7 }, {
3693
3693
  // eslint-disable-next-line no-unused-vars -- required for `.length`
3694
3694
  fromCodePoint: function(e) {
3695
3695
  for (var t = [], a = arguments.length, n = 0, i; a > n; ) {
3696
- if (i = +arguments[n++], $W(i, 1114111) !== i)
3697
- throw new dW(i + " is not a valid code point");
3696
+ if (i = +arguments[n++], $7(i, 1114111) !== i)
3697
+ throw new d7(i + " is not a valid code point");
3698
3698
  t[n] = i < 65536 ? np(i) : np(((i -= 65536) >> 10) + 55296, i % 1024 + 56320);
3699
3699
  }
3700
- return hW(t, "");
3700
+ return h7(t, "");
3701
3701
  }
3702
3702
  });
3703
- var pW = l, yW = y, SW = Zf, mW = J, op = C, EW = rl, bW = yW("".indexOf);
3704
- pW({ target: "String", proto: !0, forced: !EW("includes") }, {
3703
+ var p7 = l, y7 = y, S7 = Zf, m7 = J, op = C, E7 = rl, b7 = y7("".indexOf);
3704
+ p7({ target: "String", proto: !0, forced: !E7("includes") }, {
3705
3705
  includes: function(e) {
3706
- return !!~bW(
3707
- op(mW(this)),
3708
- op(SW(e)),
3706
+ return !!~b7(
3707
+ op(m7(this)),
3708
+ op(S7(e)),
3709
3709
  arguments.length > 1 ? arguments[1] : void 0
3710
3710
  );
3711
3711
  }
3712
3712
  });
3713
- var OW = l, IW = y, TW = J, RW = C, vp = IW("".charCodeAt);
3714
- OW({ target: "String", proto: !0 }, {
3713
+ var O7 = l, I7 = y, T7 = J, R7 = C, vp = I7("".charCodeAt);
3714
+ O7({ target: "String", proto: !0 }, {
3715
3715
  isWellFormed: function() {
3716
- for (var e = RW(TW(this)), t = e.length, a = 0; a < t; a++) {
3716
+ for (var e = R7(T7(this)), t = e.length, a = 0; a < t; a++) {
3717
3717
  var n = vp(e, a);
3718
3718
  if ((n & 63488) === 55296 && (n >= 56320 || ++a >= t || (vp(e, a) & 64512) !== 56320))
3719
3719
  return !1;
@@ -3721,18 +3721,18 @@ OW({ target: "String", proto: !0 }, {
3721
3721
  return !0;
3722
3722
  }
3723
3723
  });
3724
- var AW = ev.charAt, wW = C, lb = or, PW = vf, sp = On, $b = "String Iterator", CW = lb.set, xW = lb.getterFor($b);
3725
- PW(String, "String", function(r) {
3726
- CW(this, {
3724
+ var A7 = ev.charAt, w7 = C, lb = or, P7 = vf, sp = On, $b = "String Iterator", C7 = lb.set, x7 = lb.getterFor($b);
3725
+ P7(String, "String", function(r) {
3726
+ C7(this, {
3727
3727
  type: $b,
3728
- string: wW(r),
3728
+ string: w7(r),
3729
3729
  index: 0
3730
3730
  });
3731
3731
  }, function() {
3732
- var e = xW(this), t = e.string, a = e.index, n;
3733
- return a >= t.length ? sp(void 0, !0) : (n = AW(t, a), e.index += n.length, sp(n, !1));
3732
+ var e = x7(this), t = e.string, a = e.index, n;
3733
+ return a >= t.length ? sp(void 0, !0) : (n = A7(t, a), e.index += n.length, sp(n, !1));
3734
3734
  });
3735
- var up = x, cp = X, _W = Xf, fp = p, db = D, NW = mr, MW = db("species"), bs = RegExp.prototype, tv = function(r, e, t, a) {
3735
+ var up = x, cp = X, _7 = Xf, fp = p, db = D, N7 = mr, M7 = db("species"), bs = RegExp.prototype, tv = function(r, e, t, a) {
3736
3736
  var n = db(r), i = !fp(function() {
3737
3737
  var u = {};
3738
3738
  return u[n] = function() {
@@ -3740,7 +3740,7 @@ var up = x, cp = X, _W = Xf, fp = p, db = D, NW = mr, MW = db("species"), bs = R
3740
3740
  }, ""[r](u) !== 7;
3741
3741
  }), o = i && !fp(function() {
3742
3742
  var u = !1, c = /a/;
3743
- return r === "split" && (c = {}, c.constructor = {}, c.constructor[MW] = function() {
3743
+ return r === "split" && (c = {}, c.constructor = {}, c.constructor[M7] = function() {
3744
3744
  return c;
3745
3745
  }, c.flags = "", c[n] = /./[n]), c.exec = function() {
3746
3746
  return u = !0, null;
@@ -3749,35 +3749,35 @@ var up = x, cp = X, _W = Xf, fp = p, db = D, NW = mr, MW = db("species"), bs = R
3749
3749
  if (!i || !o || t) {
3750
3750
  var v = /./[n], s = e(n, ""[r], function(u, c, f, $, d) {
3751
3751
  var m = c.exec;
3752
- return m === _W || m === bs.exec ? i && !d ? { done: !0, value: up(v, c, f, $) } : { done: !0, value: up(u, f, c, $) } : { done: !1 };
3752
+ return m === _7 || m === bs.exec ? i && !d ? { done: !0, value: up(v, c, f, $) } : { done: !0, value: up(u, f, c, $) } : { done: !1 };
3753
3753
  });
3754
3754
  cp(String.prototype, r, s[0]), cp(bs, n, s[1]);
3755
3755
  }
3756
- a && NW(bs[n], "sham", !0);
3757
- }, FW = ev.charAt, av = function(r, e, t) {
3758
- return e + (t ? FW(r, e).length : 1);
3759
- }, lp = x, LW = N, DW = j, jW = Sr, BW = Xf, UW = TypeError, xn = function(r, e) {
3756
+ a && N7(bs[n], "sham", !0);
3757
+ }, F7 = ev.charAt, av = function(r, e, t) {
3758
+ return e + (t ? F7(r, e).length : 1);
3759
+ }, lp = x, L7 = N, D7 = j, j7 = Sr, B7 = Xf, U7 = TypeError, xn = function(r, e) {
3760
3760
  var t = r.exec;
3761
- if (DW(t)) {
3761
+ if (D7(t)) {
3762
3762
  var a = lp(t, r, e);
3763
- return a !== null && LW(a), a;
3763
+ return a !== null && L7(a), a;
3764
3764
  }
3765
- if (jW(r) === "RegExp")
3766
- return lp(BW, r, e);
3767
- throw new UW("RegExp#exec called on incompatible receiver");
3768
- }, kW = x, GW = tv, VW = N, WW = Rr, HW = Nr, Os = C, KW = J, zW = Re, qW = av, $p = xn;
3769
- GW("match", function(r, e, t) {
3765
+ if (j7(r) === "RegExp")
3766
+ return lp(B7, r, e);
3767
+ throw new U7("RegExp#exec called on incompatible receiver");
3768
+ }, k7 = x, G7 = tv, V7 = N, W7 = Rr, H7 = Nr, Os = C, K7 = J, z7 = Re, q7 = av, $p = xn;
3769
+ G7("match", function(r, e, t) {
3770
3770
  return [
3771
3771
  // `String.prototype.match` method
3772
3772
  // https://tc39.es/ecma262/#sec-string.prototype.match
3773
3773
  function(n) {
3774
- var i = KW(this), o = WW(n) ? void 0 : zW(n, r);
3775
- return o ? kW(o, n, i) : new RegExp(n)[r](Os(i));
3774
+ var i = K7(this), o = W7(n) ? void 0 : z7(n, r);
3775
+ return o ? k7(o, n, i) : new RegExp(n)[r](Os(i));
3776
3776
  },
3777
3777
  // `RegExp.prototype[@@match]` method
3778
3778
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@match
3779
3779
  function(a) {
3780
- var n = VW(this), i = Os(a), o = t(e, n, i);
3780
+ var n = V7(this), i = Os(a), o = t(e, n, i);
3781
3781
  if (o.done)
3782
3782
  return o.value;
3783
3783
  if (!n.global)
@@ -3786,15 +3786,15 @@ GW("match", function(r, e, t) {
3786
3786
  n.lastIndex = 0;
3787
3787
  for (var s = [], u = 0, c; (c = $p(n, i)) !== null; ) {
3788
3788
  var f = Os(c[0]);
3789
- s[u] = f, f === "" && (n.lastIndex = qW(i, HW(n.lastIndex), v)), u++;
3789
+ s[u] = f, f === "" && (n.lastIndex = q7(i, H7(n.lastIndex), v)), u++;
3790
3790
  }
3791
3791
  return u === 0 ? null : s;
3792
3792
  }
3793
3793
  ];
3794
3794
  });
3795
- var YW = l, XW = x, hb = ht, JW = of, oi = On, dp = J, gb = Nr, rn = C, QW = N, ZW = Rr, rH = Sr, eH = Qo, pb = Pn, tH = Re, aH = X, nH = p, iH = D, oH = da, vH = av, sH = xn, yb = or, uH = yo, ao = iH("matchAll"), Sb = "RegExp String", mb = Sb + " Iterator", cH = yb.set, fH = yb.getterFor(mb), hp = RegExp.prototype, lH = TypeError, dc = hb("".indexOf), no = hb("".matchAll), Is = !!no && !nH(function() {
3795
+ var Y7 = l, X7 = x, hb = ht, J7 = of, oi = On, dp = J, gb = Nr, rn = C, Q7 = N, Z7 = Rr, rH = Sr, eH = Qo, pb = Pn, tH = Re, aH = X, nH = p, iH = D, oH = da, vH = av, sH = xn, yb = or, uH = yo, ao = iH("matchAll"), Sb = "RegExp String", mb = Sb + " Iterator", cH = yb.set, fH = yb.getterFor(mb), hp = RegExp.prototype, lH = TypeError, dc = hb("".indexOf), no = hb("".matchAll), Is = !!no && !nH(function() {
3796
3796
  no("a", /./);
3797
- }), $H = JW(function(e, t, a, n) {
3797
+ }), $H = J7(function(e, t, a, n) {
3798
3798
  cH(this, {
3799
3799
  type: mb,
3800
3800
  regexp: e,
@@ -3810,13 +3810,13 @@ var YW = l, XW = x, hb = ht, JW = of, oi = On, dp = J, gb = Nr, rn = C, QW = N,
3810
3810
  var t = e.regexp, a = e.string, n = sH(t, a);
3811
3811
  return n === null ? (e.done = !0, oi(void 0, !0)) : e.global ? (rn(n[0]) === "" && (t.lastIndex = vH(a, gb(t.lastIndex), e.unicode)), oi(n, !1)) : (e.done = !0, oi(n, !1));
3812
3812
  }), Eb = function(r) {
3813
- var e = QW(this), t = rn(r), a = oH(e, RegExp), n = rn(pb(e)), i, o, v;
3813
+ var e = Q7(this), t = rn(r), a = oH(e, RegExp), n = rn(pb(e)), i, o, v;
3814
3814
  return i = new a(a === RegExp ? e.source : e, n), o = !!~dc(n, "g"), v = !!~dc(n, "u"), i.lastIndex = gb(e.lastIndex), new $H(i, t, o, v);
3815
3815
  };
3816
- YW({ target: "String", proto: !0, forced: Is }, {
3816
+ Y7({ target: "String", proto: !0, forced: Is }, {
3817
3817
  matchAll: function(e) {
3818
3818
  var t = dp(this), a, n, i, o;
3819
- if (ZW(e)) {
3819
+ if (Z7(e)) {
3820
3820
  if (Is)
3821
3821
  return no(t, e);
3822
3822
  } else {
@@ -3825,7 +3825,7 @@ YW({ target: "String", proto: !0, forced: Is }, {
3825
3825
  if (Is)
3826
3826
  return no(t, e);
3827
3827
  if (i = tH(e, ao), i === void 0 && uH && rH(e) === "RegExp" && (i = Eb), i)
3828
- return XW(i, e, t);
3828
+ return X7(i, e, t);
3829
3829
  }
3830
3830
  return n = rn(t), o = new RegExp(e, "g"), o[ao](n);
3831
3831
  }
@@ -6735,4 +6735,4 @@ var Ier = { exports: {} };
6735
6735
  tr = new ResizeObserver(I), dr = new MutationObserver(ir), z();
6736
6736
  }
6737
6737
  })()();
6738
- console.log("Konnectio production release: 4.0.56-rc17");
6738
+ console.log("Konnectio production release: 4.0.56-rc18");
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konnectio/core",
3
- "version": "4.0.56-rc17",
3
+ "version": "4.0.56-rc18",
4
4
  "author": "Konnectio <info@freshcase.dk> (https://konnectio.dk)",
5
5
  "homepage": "https://konnectio.dk",
6
6
  "description": "Konnectio Core Frontend Integration.",
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file