@konnectio/core 4.0.56-rc40 → 4.0.56-rc41

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 (53) hide show
  1. package/dist/{ActionField-CD5wWyTP.js → ActionField-B7yd3wqo.js} +2 -2
  2. package/dist/ActionField-B7yd3wqo.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-D9lVJ7Y4.js → AvailabilitySkeleton-BFkO-iFk.js} +4 -4
  4. package/dist/AvailabilitySkeleton-BFkO-iFk.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Cb15NqtR.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CvsxXVBB.js} +2 -2
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CvsxXVBB.js.br +0 -0
  7. package/dist/{CheckoutWindow-POqLB9M4.js → CheckoutWindow-DXpTb3IM.js} +2 -2
  8. package/dist/CheckoutWindow-DXpTb3IM.js.br +0 -0
  9. package/dist/{ErrorMessage-DACtGUvq.js → ErrorMessage-DURaj0JK.js} +2 -2
  10. package/dist/ErrorMessage-DURaj0JK.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-Dx4hfkc1.js → EventAvailabilityForm-EdvNJO4b.js} +3 -3
  12. package/dist/EventAvailabilityForm-EdvNJO4b.js.br +0 -0
  13. package/dist/{Field-Nqc4wuqz.js → Field-C31DtxD3.js} +2 -2
  14. package/dist/Field-C31DtxD3.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bi1FLGK9.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DCFBIwBo.js} +21 -19
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DCFBIwBo.js.br +0 -0
  17. package/dist/{TermsOfService-D3ujvGpJ.js → TermsOfService-RMTyUzQE.js} +3 -3
  18. package/dist/TermsOfService-RMTyUzQE.js.br +0 -0
  19. package/dist/{_-BeIBHN5G.js → _-C4rdBIG5.js} +2 -2
  20. package/dist/{_.vue_vue_type_style_index_0_lang-CfxcWxuU.js → _.vue_vue_type_style_index_0_lang-DxTbCVt9.js} +17 -18
  21. package/dist/_.vue_vue_type_style_index_0_lang-DxTbCVt9.js.br +0 -0
  22. package/dist/availability.js +5 -5
  23. package/dist/availability.js.br +0 -0
  24. package/dist/event.js +6 -6
  25. package/dist/event.js.br +0 -0
  26. package/dist/gift-card-validation.js +6 -6
  27. package/dist/gift-card-validation.js.br +0 -0
  28. package/dist/gift-card.js +9 -9
  29. package/dist/gift-card.js.br +0 -0
  30. package/dist/{giftCard-BEp1vsXy.js → giftCard-CTOcXgxl.js} +5 -5
  31. package/dist/giftCard-CTOcXgxl.js.br +0 -0
  32. package/dist/hotel.js +170 -170
  33. package/dist/hotel.js.br +0 -0
  34. package/dist/{masonry.plugin-CnRH1tRE.js → masonry.plugin-w0LZcwZT.js} +6 -6
  35. package/dist/masonry.plugin-w0LZcwZT.js.br +0 -0
  36. package/dist/navigation.js +3 -3
  37. package/dist/polyfill.js +3 -3
  38. package/dist/polyfill.js.br +0 -0
  39. package/dist/style.css +1 -1
  40. package/dist/style.css.br +0 -0
  41. package/package.json +3 -3
  42. package/dist/ActionField-CD5wWyTP.js.br +0 -0
  43. package/dist/AvailabilitySkeleton-D9lVJ7Y4.js.br +0 -0
  44. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Cb15NqtR.js.br +0 -0
  45. package/dist/CheckoutWindow-POqLB9M4.js.br +0 -0
  46. package/dist/ErrorMessage-DACtGUvq.js.br +0 -0
  47. package/dist/EventAvailabilityForm-Dx4hfkc1.js.br +0 -0
  48. package/dist/Field-Nqc4wuqz.js.br +0 -0
  49. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bi1FLGK9.js.br +0 -0
  50. package/dist/TermsOfService-D3ujvGpJ.js.br +0 -0
  51. package/dist/_.vue_vue_type_style_index_0_lang-CfxcWxuU.js.br +0 -0
  52. package/dist/giftCard-BEp1vsXy.js.br +0 -0
  53. package/dist/masonry.plugin-CnRH1tRE.js.br +0 -0
package/dist/hotel.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { d as z, r as Y, o as c, b as D, w as V, v as Me, g as i, t as g, u as o, y as xe, z as Je, f as v, a as h, A as F, F as R, e as _, D as Fe, x as U, i as Ve, c as j, p as nt, j as at, h as Ge, q as Te, n as $e, S as Ot, N as Nt, K as jt, O as qt, k as Gt } from "./_commonjsHelpers-BpcYSDvQ.js";
2
- import { h as X, s as J, b as ve, z as de, D as ne, A as W, R as Oe, J as Wt, U as ue, B as ae, F as Kt, _ as ie, k as we, V as it, l as st, C as re, j as rt, K as dt, m as ut, r as Ye, T as le, I as zt, W as xt, n as Jt, P as Yt, o as Zt, p as Qt, q as Xt, H as eo, t as to } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bi1FLGK9.js";
3
- import { R as oo, B as Pe, L as lo, S as no, M as ao, a as Re, C as io, T as so, V as ro, G as uo } from "./masonry.plugin-CnRH1tRE.js";
4
- import { A as co, H as po } from "./AvailabilitySkeleton-D9lVJ7Y4.js";
5
- import { S as fo } from "./TermsOfService-D3ujvGpJ.js";
6
- import { a as Ne, B as mo, P as ho, C as vo } from "./CheckoutWindow-POqLB9M4.js";
7
- import { _ as ct } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Cb15NqtR.js";
2
+ import { h as X, s as J, b as ve, z as ue, D as ne, A as W, R as Oe, J as Wt, U as de, B as ae, F as Kt, _ as ie, k as we, V as it, l as st, C as re, j as rt, K as ut, m as dt, r as Ye, T as le, I as zt, W as xt, n as Jt, P as Yt, o as Zt, p as Qt, q as Xt, H as eo, t as to } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DCFBIwBo.js";
3
+ import { R as oo, B as Pe, L as lo, S as no, M as ao, a as Re, C as io, T as so, V as ro, G as uo } from "./masonry.plugin-w0LZcwZT.js";
4
+ import { A as co, H as po } from "./AvailabilitySkeleton-BFkO-iFk.js";
5
+ import { S as fo } from "./TermsOfService-RMTyUzQE.js";
6
+ import { a as Ne, B as mo, P as ho, C as vo } from "./CheckoutWindow-DXpTb3IM.js";
7
+ import { _ as ct } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CvsxXVBB.js";
8
8
  import "./navigation.js";
9
9
  (function() {
10
10
  try {
11
11
  var l = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new Error().stack;
12
- t && (l._sentryDebugIds = l._sentryDebugIds || {}, l._sentryDebugIds[t] = "dfd2ddd8-53e8-4c87-9548-d0cf02b32af2", l._sentryDebugIdIdentifier = "sentry-dbid-dfd2ddd8-53e8-4c87-9548-d0cf02b32af2");
12
+ t && (l._sentryDebugIds = l._sentryDebugIds || {}, l._sentryDebugIds[t] = "14b63ae9-9ba7-4c61-bfe5-86966101be73", l._sentryDebugIdIdentifier = "sentry-dbid-14b63ae9-9ba7-4c61-bfe5-86966101be73");
13
13
  } catch {
14
14
  }
15
15
  })();
@@ -28,10 +28,10 @@ const bo = { key: 0 }, ko = { key: 1 }, _o = { class: "konnectio-reservation-act
28
28
  arrivalDefault: s,
29
29
  departureDefault: p,
30
30
  disableNewsletterSignup: f,
31
- currency: u
31
+ currency: d
32
32
  } = J(ve()), {
33
33
  arrivalTime: r,
34
- departureTime: d,
34
+ departureTime: u,
35
35
  roomDisplay: m,
36
36
  templateID: k,
37
37
  totalPrice: P,
@@ -46,7 +46,7 @@ const bo = { key: 0 }, ko = { key: 1 }, _o = { class: "konnectio-reservation-act
46
46
  termsOfService: G,
47
47
  discountCode: N,
48
48
  acceptTerms: x
49
- } = J(de()), { removeRoom: B, validateDiscountCode: ce } = de(), se = Y(!1);
49
+ } = J(ue()), { removeRoom: B, validateDiscountCode: ce } = ue(), se = Y(!1);
50
50
  function ye(Z) {
51
51
  return Z.reduce((E, { totalPrice: pe }) => E + pe, 0);
52
52
  }
@@ -81,7 +81,7 @@ const bo = { key: 0 }, ko = { key: 1 }, _o = { class: "konnectio-reservation-act
81
81
  i("li", null, [
82
82
  i("span", null, g(o(t)("booking.reservation.departure")), 1),
83
83
  i("b", null, [
84
- i("span", null, g(o(e) ? o(ne)(o(H)) : `${o(ne)(o(H))}, ${o(a) ? o(p) : o(d)}`), 1),
84
+ i("span", null, g(o(e) ? o(ne)(o(H)) : `${o(ne)(o(H))}, ${o(a) ? o(p) : o(u)}`), 1),
85
85
  xe(i("span", go, [
86
86
  v(W, {
87
87
  icon: "exclamation-triangle",
@@ -117,7 +117,7 @@ const bo = { key: 0 }, ko = { key: 1 }, _o = { class: "konnectio-reservation-act
117
117
  i("li", null, [
118
118
  i("span", null, [
119
119
  i("span", null, [
120
- Fe(g(o(ue)(ge.name)) + " ( ", 1),
120
+ Fe(g(o(de)(ge.name)) + " ( ", 1),
121
121
  v(W, {
122
122
  icon: "male",
123
123
  type: "fas",
@@ -136,29 +136,29 @@ const bo = { key: 0 }, ko = { key: 1 }, _o = { class: "konnectio-reservation-act
136
136
  ])
137
137
  ]),
138
138
  i("b", null, [
139
- i("span", null, g(o(ae)(ee.totalPrice, o(u))), 1),
139
+ i("span", null, g(o(ae)(ee.totalPrice, o(d))), 1),
140
140
  _("", !0)
141
141
  ])
142
142
  ]),
143
143
  ye(ee.roomAddons) > 0 ? (c(), h("li", bo, [
144
144
  i("span", null, g(o(t)("general.addons")), 1),
145
- i("b", null, g(o(ae)(ye(ee.roomAddons), o(u))), 1)
145
+ i("b", null, g(o(ae)(ye(ee.roomAddons), o(d))), 1)
146
146
  ])) : _("", !0)
147
147
  ]))), 128))
148
148
  ]))), 128))
149
149
  ]))), 128)) : _("", !0),
150
150
  o(A) && o(I) ? (c(), h("div", ko, [
151
151
  i("h6", null, [
152
- i("span", null, g(o(ue)(o(I).name)), 1)
152
+ i("span", null, g(o(de)(o(I).name)), 1)
153
153
  ]),
154
154
  i("div", null, [
155
155
  i("ul", null, [
156
156
  i("li", null, [
157
157
  i("span", null, [
158
- i("span", null, g(o(ue)(o(A).title)), 1)
158
+ i("span", null, g(o(de)(o(A).title)), 1)
159
159
  ]),
160
160
  i("b", null, [
161
- i("span", null, g(o(ae)(o(A).extraPrice, o(u))), 1)
161
+ i("span", null, g(o(ae)(o(A).extraPrice, o(d))), 1)
162
162
  ])
163
163
  ])
164
164
  ])
@@ -214,7 +214,7 @@ const bo = { key: 0 }, ko = { key: 1 }, _o = { class: "konnectio-reservation-act
214
214
  _: 3
215
215
  }, 8, ["discount-code", "validate-discount-code", "total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
216
216
  }
217
- }), Le = /* @__PURE__ */ ie(Vo, [["__scopeId", "data-v-13d34ae8"]]), To = (l) => (nt("data-v-69fe83d8"), l = l(), at(), l), $o = { class: "konnectio-room-config-option" }, Co = { key: 0 }, wo = { class: "konnectio-selected-room-config" }, Po = { class: "konnectio-selected-room-config-people" }, Do = { key: 0 }, Ho = { class: "konnectio-selected-room-config-price" }, So = /* @__PURE__ */ To(() => /* @__PURE__ */ i("span", null, null, -1)), Ao = /* @__PURE__ */ z({
217
+ }), Le = /* @__PURE__ */ ie(Vo, [["__scopeId", "data-v-c7f1b61f"]]), To = (l) => (nt("data-v-69fe83d8"), l = l(), at(), l), $o = { class: "konnectio-room-config-option" }, Co = { key: 0 }, wo = { class: "konnectio-selected-room-config" }, Po = { class: "konnectio-selected-room-config-people" }, Do = { key: 0 }, Ho = { class: "konnectio-selected-room-config-price" }, So = /* @__PURE__ */ To(() => /* @__PURE__ */ i("span", null, null, -1)), Ao = /* @__PURE__ */ z({
218
218
  __name: "RoomConfigField",
219
219
  props: {
220
220
  modelValue: {},
@@ -226,27 +226,27 @@ const bo = { key: 0 }, ko = { key: 1 }, _o = { class: "konnectio-reservation-act
226
226
  emits: ["update:modelValue"],
227
227
  setup(l, { emit: t }) {
228
228
  const { t: e } = X(), { currency: n } = J(ve()), a = t, s = l;
229
- function p(u) {
230
- a("update:modelValue", u);
229
+ function p(d) {
230
+ a("update:modelValue", d);
231
231
  }
232
232
  const f = j({
233
233
  get: () => s.modelValue,
234
- set: (u) => p(u)
234
+ set: (d) => p(d)
235
235
  });
236
- return (u, r) => (c(), D(we, {
236
+ return (d, r) => (c(), D(we, {
237
237
  modelValue: f.value,
238
- "onUpdate:modelValue": r[0] || (r[0] = (d) => f.value = d),
239
- label: u.label,
238
+ "onUpdate:modelValue": r[0] || (r[0] = (u) => f.value = u),
239
+ label: d.label,
240
240
  placeholder: "Select guest configuration",
241
241
  labelKey: "label",
242
242
  valueKey: "value",
243
243
  "icon-placement": "label",
244
- options: u.options,
245
- readonly: u.readonly,
246
- required: u.required,
244
+ options: d.options,
245
+ readonly: d.readonly,
246
+ required: d.required,
247
247
  searchable: !1
248
248
  }, {
249
- option: V(({ data: d }) => [
249
+ option: V(({ data: u }) => [
250
250
  i("span", $o, [
251
251
  i("div", null, [
252
252
  v(W, {
@@ -254,34 +254,34 @@ const bo = { key: 0 }, ko = { key: 1 }, _o = { class: "konnectio-reservation-act
254
254
  type: "fas",
255
255
  color: "font"
256
256
  }),
257
- i("span", null, g(`${d.adults}`), 1),
258
- d.children > 0 ? (c(), h("span", Co, [
257
+ i("span", null, g(`${u.adults}`), 1),
258
+ u.children > 0 ? (c(), h("span", Co, [
259
259
  v(W, {
260
260
  icon: "child",
261
261
  type: "fas",
262
262
  color: "font"
263
263
  }),
264
- i("span", null, g(`${d.children}`), 1)
264
+ i("span", null, g(`${u.children}`), 1)
265
265
  ])) : _("", !0)
266
266
  ]),
267
- i("span", null, g(`(${o(ae)(d.price, o(n))})`), 1)
267
+ i("span", null, g(`(${o(ae)(u.price, o(n))})`), 1)
268
268
  ])
269
269
  ]),
270
- "selected-option": V(({ data: d }) => [
270
+ "selected-option": V(({ data: u }) => [
271
271
  i("div", wo, [
272
272
  i("div", Po, [
273
273
  i("div", null, [
274
274
  _("", !0),
275
- i("span", null, g(`${d.adults} ${d.adults === 1 ? o(e)("general.adult") : o(e)("general.adults")}`), 1)
275
+ i("span", null, g(`${u.adults} ${u.adults === 1 ? o(e)("general.adult") : o(e)("general.adults")}`), 1)
276
276
  ]),
277
- d.children > 0 ? (c(), h("div", Do, [
277
+ u.children > 0 ? (c(), h("div", Do, [
278
278
  _("", !0),
279
- i("span", null, g(`& ${d.children} ${d.children === 1 ? o(e)("general.child") : o(e)("general.children")}`), 1)
279
+ i("span", null, g(`& ${u.children} ${u.children === 1 ? o(e)("general.child") : o(e)("general.children")}`), 1)
280
280
  ])) : _("", !0)
281
281
  ]),
282
282
  i("div", Ho, [
283
283
  So,
284
- Fe(" " + g(`(${o(ae)(d.price, o(n))})`), 1)
284
+ Fe(" " + g(`(${o(ae)(u.price, o(n))})`), 1)
285
285
  ])
286
286
  ])
287
287
  ]),
@@ -307,7 +307,7 @@ const Lo = /* @__PURE__ */ z({
307
307
  const s = j(() => e.room.rates.map((b) => ({
308
308
  label: b.name,
309
309
  value: b.id
310
- }))), { hideAvailableRoomAmount: p } = J(ve()), { roomSelect: f } = J(de()), { addToCart: u, removeFromCart: r } = it(), d = (b, C) => e.room.rates.find((H) => H.id === b)?.occupantRates.find((H) => H.index === C), m = j(() => e.room.rates.every((b) => b.isBreakfastIncluded === !0)), k = (b, C) => d(b, C) ? d(b, C)?.rooms : null, P = (b) => e.room.rates.length > 0 ? e.room.rates.find((C) => C.id === b)?.occupantRates.map((C) => ({
310
+ }))), { hideAvailableRoomAmount: p } = J(ve()), { roomSelect: f } = J(ue()), { addToCart: d, removeFromCart: r } = it(), u = (b, C) => e.room.rates.find((H) => H.id === b)?.occupantRates.find((H) => H.index === C), m = j(() => e.room.rates.every((b) => b.isBreakfastIncluded === !0)), k = (b, C) => u(b, C) ? u(b, C)?.rooms : null, P = (b) => e.room.rates.length > 0 ? e.room.rates.find((C) => C.id === b)?.occupantRates.map((C) => ({
311
311
  value: C.index,
312
312
  price: C.totalPrice,
313
313
  adults: C.adultsCount,
@@ -339,7 +339,7 @@ const Lo = /* @__PURE__ */ z({
339
339
  C.length > 0 && b.forEach((H, O) => {
340
340
  H.config.forEach((L, G) => {
341
341
  const N = L.units, x = C[O].config[G].units;
342
- N !== x && (N > x ? (n.value[O].config[G].addons.push({}), u({
342
+ N !== x && (N > x ? (n.value[O].config[G].addons.push({}), d({
343
343
  id: e.room.id,
344
344
  name: e.room.title,
345
345
  value: e.room.rates[O].rackRate
@@ -433,23 +433,23 @@ const Lo = /* @__PURE__ */ z({
433
433
  callback: { type: Function }
434
434
  },
435
435
  setup(l) {
436
- const { t } = X(), { templateID: e, roomGroupID: n } = J(de()), { currency: a } = J(ve()), { clearRoomSelection: s } = de(), p = l, f = Y(!0), u = j(() => {
437
- function d(m, k) {
436
+ const { t } = X(), { templateID: e, roomGroupID: n } = J(ue()), { currency: a } = J(ve()), { clearRoomSelection: s } = ue(), p = l, f = Y(!0), d = j(() => {
437
+ function u(m, k) {
438
438
  return f.value === !0 ? m.extraPrice > k.extraPrice ? -1 : 1 : m.extraPrice > k.extraPrice ? 1 : -1;
439
439
  }
440
- return p.roomGroups?.slice().sort(d);
440
+ return p.roomGroups?.slice().sort(u);
441
441
  });
442
- function r(d) {
443
- e.value = p.templateId, n.value = d, s(), p.callback(2);
442
+ function r(u) {
443
+ e.value = p.templateId, n.value = u, s(), p.callback(2);
444
444
  }
445
- return (d, m) => (c(), D(mo, {
446
- title: d.title,
445
+ return (u, m) => (c(), D(mo, {
446
+ title: u.title,
447
447
  subtitle: o(t)("booking.availability.selectATemplateRoom")
448
448
  }, {
449
449
  default: V(() => [
450
450
  i("div", Fo, [
451
451
  i("div", Oo, [
452
- (c(!0), h(R, null, F(u.value, ({
452
+ (c(!0), h(R, null, F(d.value, ({
453
453
  id: k,
454
454
  title: P,
455
455
  description: T,
@@ -496,7 +496,7 @@ const Lo = /* @__PURE__ */ z({
496
496
  },
497
497
  setup(l) {
498
498
  const { t } = X(), e = l, n = j(() => e.roomGroups.reduce(
499
- (u, r) => u < r.extraPrice ? u : r.extraPrice,
499
+ (d, r) => d < r.extraPrice ? d : r.extraPrice,
500
500
  1 / 0
501
501
  )), a = j(() => {
502
502
  if (e.image)
@@ -510,23 +510,23 @@ const Lo = /* @__PURE__ */ z({
510
510
  function p() {
511
511
  s.value = !0;
512
512
  }
513
- function f(u) {
514
- e.callback(u), s.value = !1;
513
+ function f(d) {
514
+ e.callback(d), s.value = !1;
515
515
  }
516
- return (u, r) => (c(), D(Pe, {
517
- "listing-id": u.id,
518
- name: u.name,
519
- description: u.description,
516
+ return (d, r) => (c(), D(Pe, {
517
+ "listing-id": d.id,
518
+ name: d.name,
519
+ description: d.description,
520
520
  gallery: a.value,
521
- layout: o(dt).Template,
521
+ layout: o(ut).Template,
522
522
  "includes-breakfast": !1,
523
523
  "hide-info-button": !1,
524
524
  "prices-from": n.value
525
525
  }, {
526
526
  description: V(() => [
527
- u.description ? (c(), h("p", {
527
+ d.description ? (c(), h("p", {
528
528
  key: 0,
529
- innerHTML: o(rt)(u.description)
529
+ innerHTML: o(rt)(d.description)
530
530
  }, null, 8, jo)) : _("", !0)
531
531
  ]),
532
532
  action: V(() => [
@@ -541,10 +541,10 @@ const Lo = /* @__PURE__ */ z({
541
541
  default: V(() => [
542
542
  v(pt, {
543
543
  modelValue: s.value,
544
- "onUpdate:modelValue": r[0] || (r[0] = (d) => s.value = d),
545
- title: u.name,
546
- "template-id": u.id,
547
- roomGroups: u.roomGroups,
544
+ "onUpdate:modelValue": r[0] || (r[0] = (u) => s.value = u),
545
+ title: d.name,
546
+ "template-id": d.id,
547
+ roomGroups: d.roomGroups,
548
548
  callback: f
549
549
  }, null, 8, ["modelValue", "title", "template-id", "roomGroups"])
550
550
  ]),
@@ -565,35 +565,35 @@ const Lo = /* @__PURE__ */ z({
565
565
  callback: { type: Function }
566
566
  },
567
567
  setup(l) {
568
- const { t } = X(), { updateDates: e } = ut(), n = l, a = Y([]), s = j(() => Oe(n.fromDate, n.toDate) === 1), p = j(() => [{
568
+ const { t } = X(), { updateDates: e } = dt(), n = l, a = Y([]), s = j(() => Oe(n.fromDate, n.toDate) === 1), p = j(() => [{
569
569
  large: n.image.url,
570
570
  medium: n.image.url,
571
571
  thumb: n.image.url,
572
572
  url: n.image.url
573
573
  }]), f = Y(!1);
574
- function u(d) {
575
- n.callback(d), f.value = !1;
574
+ function d(u) {
575
+ n.callback(u), f.value = !1;
576
576
  }
577
577
  function r() {
578
578
  e(a.value[0], a.value[1]);
579
579
  }
580
580
  return Ge(() => {
581
581
  s.value && (a.value = [new Date(n.fromDate), new Date(n.toDate)]);
582
- }), (d, m) => (c(), D(Pe, {
583
- "listing-id": d.id,
584
- name: d.name,
585
- description: d.description,
582
+ }), (u, m) => (c(), D(Pe, {
583
+ "listing-id": u.id,
584
+ name: u.name,
585
+ description: u.description,
586
586
  gallery: p.value,
587
- layout: o(dt).Template,
587
+ layout: o(ut).Template,
588
588
  "includes-breakfast": !1,
589
589
  "hide-info-button": !1,
590
- "to-date": d.toDate,
591
- "from-date": d.fromDate
590
+ "to-date": u.toDate,
591
+ "from-date": u.fromDate
592
592
  }, {
593
593
  description: V(() => [
594
- d.description ? (c(), h("p", {
594
+ u.description ? (c(), h("p", {
595
595
  key: 0,
596
- innerHTML: o(rt)(d.description)
596
+ innerHTML: o(rt)(u.description)
597
597
  }, null, 8, Wo)) : _("", !0)
598
598
  ]),
599
599
  action: V(() => [
@@ -606,9 +606,9 @@ const Lo = /* @__PURE__ */ z({
606
606
  "icon-type": "fas",
607
607
  "icon-placement": "label",
608
608
  "min-range": 1,
609
- "start-date": new Date(d.fromDate),
610
- "min-date": new Date(d.fromDate),
611
- "max-date": new Date(d.toDate),
609
+ "start-date": new Date(u.fromDate),
610
+ "min-date": new Date(u.fromDate),
611
+ "max-date": new Date(u.toDate),
612
612
  readonly: s.value,
613
613
  range: ""
614
614
  }, null, 8, ["modelValue", "label", "placeholder", "start-date", "min-date", "max-date", "readonly"]),
@@ -624,10 +624,10 @@ const Lo = /* @__PURE__ */ z({
624
624
  v(pt, {
625
625
  modelValue: f.value,
626
626
  "onUpdate:modelValue": m[1] || (m[1] = (k) => f.value = k),
627
- title: d.name,
628
- "template-id": d.id,
629
- roomGroups: d.roomGroups,
630
- callback: u
627
+ title: u.name,
628
+ "template-id": u.id,
629
+ roomGroups: u.roomGroups,
630
+ callback: d
631
631
  }, null, 8, ["modelValue", "title", "template-id", "roomGroups"])
632
632
  ]),
633
633
  _: 1
@@ -667,7 +667,7 @@ const Lo = /* @__PURE__ */ z({
667
667
  a(p);
668
668
  }), (p, f) => (c(), D(ct, {
669
669
  modelValue: s.value,
670
- "onUpdate:modelValue": f[0] || (f[0] = (u) => s.value = u),
670
+ "onUpdate:modelValue": f[0] || (f[0] = (d) => s.value = d),
671
671
  type: "time",
672
672
  label: p.label,
673
673
  id: p.id,
@@ -700,9 +700,9 @@ const Lo = /* @__PURE__ */ z({
700
700
  get: () => a.modelValue,
701
701
  set: (f) => s(f)
702
702
  });
703
- return (f, u) => (c(), D(we, {
703
+ return (f, d) => (c(), D(we, {
704
704
  modelValue: p.value,
705
- "onUpdate:modelValue": u[0] || (u[0] = (r) => p.value = r),
705
+ "onUpdate:modelValue": d[0] || (d[0] = (r) => p.value = r),
706
706
  label: f.label,
707
707
  placeholder: o(e)("booking.reservation.countryPlaceholder"),
708
708
  labelKey: "name",
@@ -756,10 +756,10 @@ const Lo = /* @__PURE__ */ z({
756
756
  Te(p, (r) => {
757
757
  n("update:title", r);
758
758
  });
759
- const { t: u } = X();
759
+ const { t: d } = X();
760
760
  return Ge(() => {
761
761
  e.modelValue && (s.value = e.modelValue), e.title && (p.value = e.title);
762
- }), (r, d) => (c(), D(zt, {
762
+ }), (r, u) => (c(), D(zt, {
763
763
  label: r.label,
764
764
  id: o(a),
765
765
  required: r.required,
@@ -777,30 +777,30 @@ const Lo = /* @__PURE__ */ z({
777
777
  r.excludeTitle ? _("", !0) : (c(), D(we, {
778
778
  key: 0,
779
779
  modelValue: p.value,
780
- "onUpdate:modelValue": d[0] || (d[0] = (m) => p.value = m),
780
+ "onUpdate:modelValue": u[0] || (u[0] = (m) => p.value = m),
781
781
  id: o(Ye)(),
782
782
  icon: r.icon,
783
783
  "icon-color": r.iconColor,
784
784
  "icon-type": r.iconType,
785
785
  options: [
786
786
  {
787
- label: o(u)("booking.reservation.noNameTitle"),
787
+ label: o(d)("booking.reservation.noNameTitle"),
788
788
  value: 1
789
789
  },
790
790
  {
791
- label: o(u)("booking.reservation.nameTitleMr"),
791
+ label: o(d)("booking.reservation.nameTitleMr"),
792
792
  value: 2
793
793
  },
794
794
  {
795
- label: o(u)("booking.reservation.nameTitleMs"),
795
+ label: o(d)("booking.reservation.nameTitleMs"),
796
796
  value: 3
797
797
  },
798
798
  {
799
- label: o(u)("booking.reservation.nameTitleMrs"),
799
+ label: o(d)("booking.reservation.nameTitleMrs"),
800
800
  value: 4
801
801
  },
802
802
  {
803
- label: o(u)("booking.reservation.nameTitleDr"),
803
+ label: o(d)("booking.reservation.nameTitleDr"),
804
804
  value: 5
805
805
  }
806
806
  ],
@@ -811,7 +811,7 @@ const Lo = /* @__PURE__ */ z({
811
811
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
812
812
  v(le, {
813
813
  modelValue: s.value,
814
- "onUpdate:modelValue": d[1] || (d[1] = (m) => s.value = m),
814
+ "onUpdate:modelValue": u[1] || (u[1] = (m) => s.value = m),
815
815
  type: "text",
816
816
  name: "name",
817
817
  autocomplete: "name",
@@ -823,7 +823,7 @@ const Lo = /* @__PURE__ */ z({
823
823
  required: r.required,
824
824
  readonly: r.readonly,
825
825
  limit: r.limit,
826
- onInput: d[2] || (d[2] = (m) => f()),
826
+ onInput: u[2] || (u[2] = (m) => f()),
827
827
  "input-style": r.inputStyle
828
828
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "placeholder", "required", "readonly", "limit", "input-style"])
829
829
  ], 2)
@@ -845,7 +845,7 @@ const Lo = /* @__PURE__ */ z({
845
845
  ]));
846
846
  }
847
847
  }), nl = /* @__PURE__ */ ie(ll, [["__scopeId", "data-v-1bb21da4"]]), al = (l) => (nt("data-v-83572747"), l = l(), at(), l), il = { id: "booking-availability-container" }, sl = { id: "booking-availability-controls" };
848
- const rl = { key: 1 }, dl = { key: 0 }, ul = {
848
+ const rl = { key: 1 }, ul = { key: 0 }, dl = {
849
849
  key: 0,
850
850
  id: "booking-availability-packages"
851
851
  }, cl = {
@@ -888,15 +888,15 @@ const Dl = { class: "konnectio-event-addons-price" }, Hl = { key: 1 }, Sl = /* @
888
888
  styling: {}
889
889
  },
890
890
  setup(l) {
891
- const t = Nt(() => import("./_-BeIBHN5G.js")), { t: e } = X(), {
891
+ const t = Nt(() => import("./_-C4rdBIG5.js")), { t: e } = X(), {
892
892
  templateID: n,
893
893
  countries: a,
894
894
  areListingsLoading: s,
895
895
  isPaymentLoading: p,
896
896
  isReservationFormFilled: f,
897
- travelingFor: u,
897
+ travelingFor: d,
898
898
  arrivalTime: r,
899
- departureTime: d,
899
+ departureTime: u,
900
900
  name: m,
901
901
  nameTitle: k,
902
902
  email: P,
@@ -914,10 +914,10 @@ const Dl = { class: "konnectio-event-addons-price" }, Hl = { key: 1 }, Sl = /* @
914
914
  availabilityData: B,
915
915
  selectionHasNoAddons: ce,
916
916
  isAvailabilityDataAvailable: se
917
- } = J(de()), {
917
+ } = J(ue()), {
918
918
  arrivalDate: ye,
919
919
  departureDate: Z
920
- } = J(ut()), {
920
+ } = J(dt()), {
921
921
  currency: q,
922
922
  arrivalEarliest: E,
923
923
  arrivalLatest: pe,
@@ -940,7 +940,7 @@ const Dl = { class: "konnectio-event-addons-price" }, Hl = { key: 1 }, Sl = /* @
940
940
  createReservation: Ct,
941
941
  fetchMetaData: wt,
942
942
  fetchAvailabilityData: Pt
943
- } = de(), Dt = Y(!0), Ht = j(() => {
943
+ } = ue(), Dt = Y(!0), Ht = j(() => {
944
944
  const w = [
945
945
  {
946
946
  label: e("booking.reservation.business"),
@@ -981,7 +981,7 @@ const Dl = { class: "konnectio-event-addons-price" }, Hl = { key: 1 }, Sl = /* @
981
981
  He.value && Vt(), ce.value ? w(2) : w();
982
982
  }
983
983
  function Rt() {
984
- r.value === "" && (r.value = ee.value), d.value === "" && (d.value = Se.value);
984
+ r.value === "" && (r.value = ee.value), u.value === "" && (u.value = Se.value);
985
985
  }
986
986
  function Lt() {
987
987
  console.log("Hotel sus"), Pt(), Rt();
@@ -1009,8 +1009,8 @@ const Dl = { class: "konnectio-event-addons-price" }, Hl = { key: 1 }, Sl = /* @
1009
1009
  ]),
1010
1010
  _("", !0),
1011
1011
  !o(s) && o(se) ? (c(), h("div", rl, [
1012
- o(B).roomGroups.length > 0 || o(B).templates.length > 0 || o(B).specialTemplates.length > 0 ? (c(), h("div", dl, [
1013
- o(B).templates.length > 0 && w.onlyShow !== "rooms" ? (c(), h("div", ul, [
1012
+ o(B).roomGroups.length > 0 || o(B).templates.length > 0 || o(B).specialTemplates.length > 0 ? (c(), h("div", ul, [
1013
+ o(B).templates.length > 0 && w.onlyShow !== "rooms" ? (c(), h("div", dl, [
1014
1014
  w.onlyShow !== "packages" ? (c(), h("h2", cl, [
1015
1015
  v(W, {
1016
1016
  icon: "box",
@@ -1163,7 +1163,7 @@ const Dl = { class: "konnectio-event-addons-price" }, Hl = { key: 1 }, Sl = /* @
1163
1163
  key: te.ratePlanID
1164
1164
  }, [
1165
1165
  i("h4", null, [
1166
- i("span", null, g(o(ue)(y.title)), 1)
1166
+ i("span", null, g(o(de)(y.title)), 1)
1167
1167
  ]),
1168
1168
  (c(!0), h(R, null, F(te.rooms, (M, fe) => (c(), h("table", {
1169
1169
  key: fe,
@@ -1172,7 +1172,7 @@ const Dl = { class: "konnectio-event-addons-price" }, Hl = { key: 1 }, Sl = /* @
1172
1172
  i("thead", null, [
1173
1173
  i("tr", null, [
1174
1174
  i("th", null, [
1175
- i("span", null, g(o(ue)(te.name)), 1)
1175
+ i("span", null, g(o(de)(te.name)), 1)
1176
1176
  ]),
1177
1177
  _("", !0),
1178
1178
  i("th", Dl, [
@@ -1203,7 +1203,7 @@ const Dl = { class: "konnectio-event-addons-price" }, Hl = { key: 1 }, Sl = /* @
1203
1203
  price: Ft
1204
1204
  }) => (c(), h("tr", { key: he }, [
1205
1205
  i("td", null, [
1206
- i("b", null, g(o(ue)(Ut)), 1),
1206
+ i("b", null, g(o(de)(Ut)), 1),
1207
1207
  Sl,
1208
1208
  i("span", null, g(o(ae)(Ft, o(q))) + " " + g(o(Yt)(me)), 1)
1209
1209
  ]),
@@ -1276,8 +1276,8 @@ const Dl = { class: "konnectio-event-addons-price" }, Hl = { key: 1 }, Sl = /* @
1276
1276
  ])),
1277
1277
  o(Ie) ? _("", !0) : (c(), h("li", Ml, [
1278
1278
  v(Ze, {
1279
- modelValue: o(d),
1280
- "onUpdate:modelValue": $[2] || ($[2] = (y) => U(d) ? d.value = y : null),
1279
+ modelValue: o(u),
1280
+ "onUpdate:modelValue": $[2] || ($[2] = (y) => U(u) ? u.value = y : null),
1281
1281
  label: o(e)("booking.reservation.departureTime"),
1282
1282
  icon: "hourglass-end",
1283
1283
  "hour-range": It.value,
@@ -1391,8 +1391,8 @@ const Dl = { class: "konnectio-event-addons-price" }, Hl = { key: 1 }, Sl = /* @
1391
1391
  }, null, 8, ["modelValue", "label", "placeholder"]),
1392
1392
  o(gt) ? _("", !0) : (c(), D(io, {
1393
1393
  key: 2,
1394
- modelValue: o(u),
1395
- "onUpdate:modelValue": $[14] || ($[14] = (y) => U(u) ? u.value = y : null),
1394
+ modelValue: o(d),
1395
+ "onUpdate:modelValue": $[14] || ($[14] = (y) => U(d) ? d.value = y : null),
1396
1396
  label: `${o(e)("booking.reservation.purposeOfStay")} (${o(e)("booking.reservation.optional")})`,
1397
1397
  name: "travelingFor",
1398
1398
  checkboxes: Ht.value
@@ -1684,7 +1684,7 @@ function _e(l, t, e) {
1684
1684
  return l;
1685
1685
  function n(p) {
1686
1686
  let f;
1687
- return ["s", "pageTitle"].includes(p) ? f = t.pageTitle : p.includes(".") ? f = p.split(".").reduce((u, r) => u && u[r] || void 0, t) : f = t[p], typeof f < "u" ? (f || "").replace(/"/g, '\\"') : !1;
1687
+ return ["s", "pageTitle"].includes(p) ? f = t.pageTitle : p.includes(".") ? f = p.split(".").reduce((d, r) => d && d[r] || void 0, t) : f = t[p], typeof f < "u" ? (f || "").replace(/"/g, '\\"') : !1;
1688
1688
  }
1689
1689
  let a = l;
1690
1690
  try {
@@ -1693,7 +1693,7 @@ function _e(l, t, e) {
1693
1693
  }
1694
1694
  return (a.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((p) => {
1695
1695
  const f = n(p.slice(1));
1696
- typeof f == "string" && (l = l.replace(new RegExp(`\\${p}(\\W|$)`, "g"), (u, r) => `${f}${r}`).trim());
1696
+ typeof f == "string" && (l = l.replace(new RegExp(`\\${p}(\\W|$)`, "g"), (d, r) => `${f}${r}`).trim());
1697
1697
  }), l.includes(oe) && (l.endsWith(oe) && (l = l.slice(0, -oe.length).trim()), l.startsWith(oe) && (l = l.slice(oe.length).trim()), l = l.replace(new RegExp(`\\${oe}\\s*\\${oe}`, "g"), oe), l = _e(l, { separator: e }, e)), l;
1698
1698
  }
1699
1699
  async function tn(l, t = {}) {
@@ -1703,9 +1703,9 @@ async function tn(l, t = {}) {
1703
1703
  const n = { shouldRender: !0, tags: [] };
1704
1704
  if (await l.hooks.callHook("dom:beforeRender", n), !n.shouldRender)
1705
1705
  return;
1706
- const a = (await l.resolveTags()).map((d) => ({
1707
- tag: d,
1708
- id: ke.includes(d.tag) ? Qe(d) : d.tag,
1706
+ const a = (await l.resolveTags()).map((u) => ({
1707
+ tag: u,
1708
+ id: ke.includes(u.tag) ? Qe(u) : u.tag,
1709
1709
  shouldRender: !0
1710
1710
  }));
1711
1711
  let s = l._dom;
@@ -1713,8 +1713,8 @@ async function tn(l, t = {}) {
1713
1713
  s = {
1714
1714
  elMap: { htmlAttrs: e.documentElement, bodyAttrs: e.body }
1715
1715
  };
1716
- for (const d of ["body", "head"]) {
1717
- const m = e[d]?.children, k = [];
1716
+ for (const u of ["body", "head"]) {
1717
+ const m = e[u]?.children, k = [];
1718
1718
  for (const P of [...m].filter((T) => ke.includes(T.tagName.toLowerCase()))) {
1719
1719
  const T = {
1720
1720
  tag: P.tagName.toLowerCase(),
@@ -1731,16 +1731,16 @@ async function tn(l, t = {}) {
1731
1731
  }
1732
1732
  }
1733
1733
  s.pendingSideEffects = { ...s.sideEffects || {} }, s.sideEffects = {};
1734
- function p(d, m, k) {
1735
- const P = `${d}:${m}`;
1734
+ function p(u, m, k) {
1735
+ const P = `${u}:${m}`;
1736
1736
  s.sideEffects[P] = k, delete s.pendingSideEffects[P];
1737
1737
  }
1738
- function f({ id: d, $el: m, tag: k }) {
1738
+ function f({ id: u, $el: m, tag: k }) {
1739
1739
  const P = k.tag.endsWith("Attrs");
1740
- s.elMap[d] = m, P || (["textContent", "innerHTML"].forEach((T) => {
1740
+ s.elMap[u] = m, P || (["textContent", "innerHTML"].forEach((T) => {
1741
1741
  k[T] && k[T] !== m[T] && (m[T] = k[T]);
1742
- }), p(d, "el", () => {
1743
- s.elMap[d]?.remove(), delete s.elMap[d];
1742
+ }), p(u, "el", () => {
1743
+ s.elMap[u]?.remove(), delete s.elMap[u];
1744
1744
  }));
1745
1745
  for (const [T, A] of Object.entries(k._eventHandlers || {}))
1746
1746
  m.getAttribute(`data-${T}`) !== "" && ((k.tag === "bodyAttrs" ? e.defaultView : m).addEventListener(T.replace("on", ""), A.bind(m)), m.setAttribute(`data-${T}`, ""));
@@ -1748,40 +1748,40 @@ async function tn(l, t = {}) {
1748
1748
  const I = `attr:${T}`;
1749
1749
  if (T === "class")
1750
1750
  for (const b of (A || "").split(" ").filter(Boolean))
1751
- P && p(d, `${I}:${b}`, () => m.classList.remove(b)), !m.classList.contains(b) && m.classList.add(b);
1751
+ P && p(u, `${I}:${b}`, () => m.classList.remove(b)), !m.classList.contains(b) && m.classList.add(b);
1752
1752
  else if (T === "style")
1753
1753
  for (const b of (A || "").split(";").filter(Boolean)) {
1754
1754
  const [C, ...H] = b.split(":").map((O) => O.trim());
1755
- p(d, `${I}:${b}:${C}`, () => {
1755
+ p(u, `${I}:${b}:${C}`, () => {
1756
1756
  m.style.removeProperty(C);
1757
1757
  }), m.style.setProperty(C, H.join(":"));
1758
1758
  }
1759
1759
  else
1760
- m.getAttribute(T) !== A && m.setAttribute(T, A === !0 ? "" : String(A)), P && p(d, I, () => m.removeAttribute(T));
1760
+ m.getAttribute(T) !== A && m.setAttribute(T, A === !0 ? "" : String(A)), P && p(u, I, () => m.removeAttribute(T));
1761
1761
  });
1762
1762
  }
1763
- const u = [], r = {
1763
+ const d = [], r = {
1764
1764
  bodyClose: void 0,
1765
1765
  bodyOpen: void 0,
1766
1766
  head: void 0
1767
1767
  };
1768
- for (const d of a) {
1769
- const { tag: m, shouldRender: k, id: P } = d;
1768
+ for (const u of a) {
1769
+ const { tag: m, shouldRender: k, id: P } = u;
1770
1770
  if (k) {
1771
1771
  if (m.tag === "title") {
1772
1772
  e.title = m.textContent;
1773
1773
  continue;
1774
1774
  }
1775
- d.$el = d.$el || s.elMap[P], d.$el ? f(d) : ke.includes(m.tag) && u.push(d);
1775
+ u.$el = u.$el || s.elMap[P], u.$el ? f(u) : ke.includes(m.tag) && d.push(u);
1776
1776
  }
1777
1777
  }
1778
- for (const d of u) {
1779
- const m = d.tag.tagPosition || "head";
1780
- d.$el = e.createElement(d.tag.tag), f(d), r[m] = r[m] || e.createDocumentFragment(), r[m].appendChild(d.$el);
1778
+ for (const u of d) {
1779
+ const m = u.tag.tagPosition || "head";
1780
+ u.$el = e.createElement(u.tag.tag), f(u), r[m] = r[m] || e.createDocumentFragment(), r[m].appendChild(u.$el);
1781
1781
  }
1782
- for (const d of a)
1783
- await l.hooks.callHook("dom:renderTag", d, e, p);
1784
- r.head && e.head.appendChild(r.head), r.bodyOpen && e.body.insertBefore(r.bodyOpen, e.body.firstChild), r.bodyClose && e.body.appendChild(r.bodyClose), Object.values(s.pendingSideEffects).forEach((d) => d()), l._dom = s, l.dirty = !1, await l.hooks.callHook("dom:rendered", { renders: a });
1782
+ for (const u of a)
1783
+ await l.hooks.callHook("dom:renderTag", u, e, p);
1784
+ r.head && e.head.appendChild(r.head), r.bodyOpen && e.body.insertBefore(r.bodyOpen, e.body.firstChild), r.bodyClose && e.body.appendChild(r.bodyClose), Object.values(s.pendingSideEffects).forEach((u) => u()), l._dom = s, l.dirty = !1, await l.hooks.callHook("dom:rendered", { renders: a });
1785
1785
  }
1786
1786
  async function on(l, t = {}) {
1787
1787
  const e = t.delayFn || ((n) => setTimeout(n, 10));
@@ -1819,11 +1819,11 @@ const nn = ["templateParams", "htmlAttrs", "bodyAttrs"], an = {
1819
1819
  if (s) {
1820
1820
  let f = n?.tagDuplicateStrategy;
1821
1821
  if (!f && nn.includes(n.tag) && (f = "merge"), f === "merge") {
1822
- const u = s.props;
1822
+ const d = s.props;
1823
1823
  ["class", "style"].forEach((r) => {
1824
- u[r] && (n.props[r] ? (r === "style" && !u[r].endsWith(";") && (u[r] += ";"), n.props[r] = `${u[r]} ${n.props[r]}`) : n.props[r] = u[r]);
1824
+ d[r] && (n.props[r] ? (r === "style" && !d[r].endsWith(";") && (d[r] += ";"), n.props[r] = `${d[r]} ${n.props[r]}`) : n.props[r] = d[r]);
1825
1825
  }), t[a].props = {
1826
- ...u,
1826
+ ...d,
1827
1827
  ...n.props
1828
1828
  };
1829
1829
  return;
@@ -1861,7 +1861,7 @@ const nn = ["templateParams", "htmlAttrs", "bodyAttrs"], an = {
1861
1861
  });
1862
1862
  }
1863
1863
  }
1864
- }, rn = ["script", "link", "bodyAttrs"], dn = (l) => ({
1864
+ }, rn = ["script", "link", "bodyAttrs"], un = (l) => ({
1865
1865
  hooks: {
1866
1866
  "tags:resolve": function(t) {
1867
1867
  for (const e of t.tags.filter((n) => rn.includes(n.tag)))
@@ -1876,10 +1876,10 @@ const nn = ["templateParams", "htmlAttrs", "bodyAttrs"], an = {
1876
1876
  }
1877
1877
  }
1878
1878
  }
1879
- }), un = ["link", "style", "script", "noscript"], cn = {
1879
+ }), dn = ["link", "style", "script", "noscript"], cn = {
1880
1880
  hooks: {
1881
1881
  "tag:normalise": ({ tag: l }) => {
1882
- l.key && un.includes(l.tag) && (l.props["data-hid"] = l._h = We(l.key));
1882
+ l.key && dn.includes(l.tag) && (l.props["data-hid"] = l._h = We(l.key));
1883
1883
  }
1884
1884
  }
1885
1885
  }, pn = {
@@ -1905,9 +1905,9 @@ const nn = ["templateParams", "htmlAttrs", "bodyAttrs"], an = {
1905
1905
  "tags:resolve": (t) => {
1906
1906
  const { tags: e } = t, n = e.find((f) => f.tag === "title")?.textContent, a = e.findIndex((f) => f.tag === "templateParams"), s = a !== -1 ? e[a].props : {}, p = s.separator || "|";
1907
1907
  delete s.separator, s.pageTitle = _e(s.pageTitle || n || "", s, p);
1908
- for (const f of e.filter((u) => u.processTemplateParams !== !1)) {
1909
- const u = fn[f.tag];
1910
- u && typeof f.props[u] == "string" ? f.props[u] = _e(f.props[u], s, p) : (f.processTemplateParams === !0 || ["titleTemplate", "title"].includes(f.tag)) && ["innerHTML", "textContent"].forEach((r) => {
1908
+ for (const f of e.filter((d) => d.processTemplateParams !== !1)) {
1909
+ const d = fn[f.tag];
1910
+ d && typeof f.props[d] == "string" ? f.props[d] = _e(f.props[d], s, p) : (f.processTemplateParams === !0 || ["titleTemplate", "title"].includes(f.tag)) && ["innerHTML", "textContent"].forEach((r) => {
1911
1911
  typeof f[r] == "string" && (f[r] = _e(f[r], s, p));
1912
1912
  });
1913
1913
  }
@@ -1966,53 +1966,53 @@ function gn(l = {}) {
1966
1966
  headEntries() {
1967
1967
  return s;
1968
1968
  },
1969
- use(u) {
1970
- const r = typeof u == "function" ? u(f) : u;
1971
- (!r.key || !p.some((d) => d.key === r.key)) && (p.push(r), lt(r.mode, e) && t.addHooks(r.hooks || {}));
1969
+ use(d) {
1970
+ const r = typeof d == "function" ? d(f) : d;
1971
+ (!r.key || !p.some((u) => u.key === r.key)) && (p.push(r), lt(r.mode, e) && t.addHooks(r.hooks || {}));
1972
1972
  },
1973
- push(u, r) {
1973
+ push(d, r) {
1974
1974
  delete r?.head;
1975
- const d = {
1975
+ const u = {
1976
1976
  _i: a++,
1977
- input: u,
1977
+ input: d,
1978
1978
  ...r
1979
1979
  };
1980
- return lt(d.mode, e) && (s.push(d), n()), {
1980
+ return lt(u.mode, e) && (s.push(u), n()), {
1981
1981
  dispose() {
1982
- s = s.filter((m) => m._i !== d._i), t.callHook("entries:updated", f), n();
1982
+ s = s.filter((m) => m._i !== u._i), t.callHook("entries:updated", f), n();
1983
1983
  },
1984
1984
  // a patch is the same as creating a new entry, just a nice DX
1985
1985
  patch(m) {
1986
- s = s.map((k) => (k._i === d._i && (k.input = d.input = m), k)), n();
1986
+ s = s.map((k) => (k._i === u._i && (k.input = u.input = m), k)), n();
1987
1987
  }
1988
1988
  };
1989
1989
  },
1990
1990
  async resolveTags() {
1991
- const u = { tags: [], entries: [...s] };
1992
- await t.callHook("entries:resolve", u);
1993
- for (const r of u.entries) {
1994
- const d = r.resolvedInput || r.input;
1995
- if (r.resolvedInput = await (r.transform ? r.transform(d) : d), r.resolvedInput)
1991
+ const d = { tags: [], entries: [...s] };
1992
+ await t.callHook("entries:resolve", d);
1993
+ for (const r of d.entries) {
1994
+ const u = r.resolvedInput || r.input;
1995
+ if (r.resolvedInput = await (r.transform ? r.transform(u) : u), r.resolvedInput)
1996
1996
  for (const m of await Xl(r)) {
1997
1997
  const k = { tag: m, entry: r, resolvedOptions: f.resolvedOptions };
1998
- await t.callHook("tag:normalise", k), u.tags.push(k.tag);
1998
+ await t.callHook("tag:normalise", k), d.tags.push(k.tag);
1999
1999
  }
2000
2000
  }
2001
- return await t.callHook("tags:beforeResolve", u), await t.callHook("tags:resolve", u), await t.callHook("tags:afterResolve", u), u.tags;
2001
+ return await t.callHook("tags:beforeResolve", d), await t.callHook("tags:resolve", d), await t.callHook("tags:afterResolve", d), d.tags;
2002
2002
  },
2003
2003
  ssr: e
2004
2004
  };
2005
2005
  return [
2006
2006
  an,
2007
2007
  sn,
2008
- dn,
2008
+ un,
2009
2009
  cn,
2010
2010
  pn,
2011
2011
  mn,
2012
2012
  hn,
2013
2013
  vn,
2014
2014
  ...l?.plugins || []
2015
- ].forEach((u) => f.use(u)), f.hooks.callHook("init", f), f;
2015
+ ].forEach((d) => f.use(d)), f.hooks.callHook("init", f), f;
2016
2016
  }
2017
2017
  const bn = qt.startsWith("3");
2018
2018
  function kn(l) {
@@ -2058,16 +2058,16 @@ class Dn extends HTMLElement {
2058
2058
  connectedCallback() {
2059
2059
  const t = typeof be == "function" ? be.options : be;
2060
2060
  let e = Array.isArray(t.props) ? t.props : Object.keys(t.props || {});
2061
- const n = (u) => u.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (r, d) => (d ? "-" : "") + r.toLowerCase()), a = (u) => u.replace(/-./g, (r) => r[1].toUpperCase()), s = {};
2061
+ const n = (d) => d.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (r, u) => (u ? "-" : "") + r.toLowerCase()), a = (d) => d.replace(/-./g, (r) => r[1].toUpperCase()), s = {};
2062
2062
  e = e.map(n);
2063
2063
  const p = {};
2064
- for (const u of this.attributes) {
2065
- const d = u.name.split(".");
2066
- d.length > 1 && (p[d[0]] || (p[d[0]] = {}), p[d[0]][a(d[1])] = u.value);
2064
+ for (const d of this.attributes) {
2065
+ const u = d.name.split(".");
2066
+ u.length > 1 && (p[u[0]] || (p[u[0]] = {}), p[u[0]][a(u[1])] = d.value);
2067
2067
  }
2068
- for (const u of e) {
2069
- let r = this.attributes.getNamedItem(u)?.value;
2070
- p.hasOwnProperty(u) && (r = p[u]), s[u] = r;
2068
+ for (const d of e) {
2069
+ let r = this.attributes.getNamedItem(d)?.value;
2070
+ p.hasOwnProperty(d) && (r = p[d]), s[d] = r;
2071
2071
  }
2072
2072
  this.vueApp = Gt(be, s), Qt(this.vueApp), this.vueApp.provide("emitter", Pn), this.vueApp.use(wn), this.vueApp.use(Cn), this.vueApp.use(ro), this.vueApp.use(Xt), this.vueApp.use(uo), this.vueApp.use(eo, { bootstrap: !0 });
2073
2073
  const f = document.createElement("div");