@konnectio/core 4.1.3 → 4.1.5

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 (60) hide show
  1. package/dist/{ActionField-CRqgWSz1.js → ActionField-ChprjIX4.js} +3 -3
  2. package/dist/ActionField-ChprjIX4.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-DVrVFhw4.js → AvailabilitySkeleton-mvINfZn2.js} +110 -110
  4. package/dist/AvailabilitySkeleton-mvINfZn2.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Bqb9v7l8.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CxfZdZ85.js} +336 -336
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CxfZdZ85.js.br +0 -0
  7. package/dist/{CheckoutWindow-DrZnthDH.js → CheckoutWindow-CLNkZ6L5.js} +185 -185
  8. package/dist/CheckoutWindow-CLNkZ6L5.js.br +0 -0
  9. package/dist/{ErrorMessage-b0lY3zUM.js → ErrorMessage-B2bEzPe8.js} +4 -4
  10. package/dist/ErrorMessage-B2bEzPe8.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-BPkfZcYX.js → EventAvailabilityForm-lyhGlFEw.js} +10 -10
  12. package/dist/EventAvailabilityForm-lyhGlFEw.js.br +0 -0
  13. package/dist/{Field-DnS91ODQ.js → Field-e-9M8dvO.js} +4 -4
  14. package/dist/Field-e-9M8dvO.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CW-XSJQB.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DnfMKN_W.js} +3 -3
  16. package/dist/{SelectField.vue_vue_type_style_index_0_lang-CZYWu7x-.js → SelectField.vue_vue_type_style_index_0_lang-B8pRSFGj.js} +3149 -2797
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-B8pRSFGj.js.br +0 -0
  18. package/dist/{TermsOfService-B2ELKRPq.js → TermsOfService-DjvTX3TY.js} +4 -4
  19. package/dist/_-AlqhOnLa.js +5 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-DKkrP6vk.js → _.vue_vue_type_style_index_0_lang-z6uaEvdu.js} +3 -3
  21. package/dist/availability.js +16 -16
  22. package/dist/availability.js.br +0 -0
  23. package/dist/cancel-reservation.js +14 -14
  24. package/dist/cancel-reservation.js.br +0 -0
  25. package/dist/core.css +1 -1
  26. package/dist/core.css.br +0 -0
  27. package/dist/deep-link.js +13 -13
  28. package/dist/deep-link.js.br +0 -0
  29. package/dist/event.js +447 -445
  30. package/dist/event.js.br +0 -0
  31. package/dist/gift-card-validation.js +24 -24
  32. package/dist/gift-card-validation.js.br +0 -0
  33. package/dist/gift-card.js +56 -56
  34. package/dist/gift-card.js.br +0 -0
  35. package/dist/{giftCard-BsWa3VEY.js → giftCard-DqnhA4rm.js} +26 -26
  36. package/dist/giftCard-DqnhA4rm.js.br +0 -0
  37. package/dist/hotel.js +16 -16
  38. package/dist/hotel.js.br +0 -0
  39. package/dist/{masonry.plugin-By72FzQ9.js → masonry.plugin-DvmJbfT_.js} +306 -304
  40. package/dist/masonry.plugin-DvmJbfT_.js.br +0 -0
  41. package/dist/{mitt-Dh_4vPVI.js → mitt-CFrRmK9k.js} +30 -30
  42. package/dist/mitt-CFrRmK9k.js.br +0 -0
  43. package/dist/polyfill.js +1 -1
  44. package/dist/polyfill.js.br +0 -0
  45. package/dist/{style-CXMzdeVK.js → style-CLWqMWeG.js} +59 -59
  46. package/dist/style-CLWqMWeG.js.br +0 -0
  47. package/package.json +6 -5
  48. package/dist/ActionField-CRqgWSz1.js.br +0 -0
  49. package/dist/AvailabilitySkeleton-DVrVFhw4.js.br +0 -0
  50. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Bqb9v7l8.js.br +0 -0
  51. package/dist/CheckoutWindow-DrZnthDH.js.br +0 -0
  52. package/dist/ErrorMessage-b0lY3zUM.js.br +0 -0
  53. package/dist/EventAvailabilityForm-BPkfZcYX.js.br +0 -0
  54. package/dist/Field-DnS91ODQ.js.br +0 -0
  55. package/dist/SelectField.vue_vue_type_style_index_0_lang-CZYWu7x-.js.br +0 -0
  56. package/dist/_-DkNAaEsV.js +0 -5
  57. package/dist/giftCard-BsWa3VEY.js.br +0 -0
  58. package/dist/masonry.plugin-By72FzQ9.js.br +0 -0
  59. package/dist/mitt-Dh_4vPVI.js.br +0 -0
  60. package/dist/style-CXMzdeVK.js.br +0 -0
@@ -1,8 +1,8 @@
1
- import { d as defineComponent, Y as resolveComponent, O as h, Z as Comment, _ as Text, F as Fragment, $ as getCurrentInstance, r as ref, c as computed$1, E as watch, o as onMounted, a as openBlock, g as createElementBlock, b as createBlock, w as withCtx, e as createBaseVNode, h as withModifiers, j as createCommentVNode, f as createVNode, A as renderList, i as unref, n as normalizeClass, u as useI18n, s as storeToRefs, z as createSlots, G as withDirectives, t as toDisplayString, L as inject, K as resolveDirective, P as reactive, U as onUnmounted, v as renderSlot, a0 as normalizeStyle, N as nextTick, H as vShow, x as createTextVNode, a1 as mergeModels, y as useSlots, a2 as useModel, T as Transition, B as isRef, q as mitt } from "./mitt-Dh_4vPVI.js";
2
- import { I as Icon, _ as _export_sfc, b as useHotelStore, f as useEventStore, T as TextField, M as convertDescription, B as BookingLayout, h as useUtilityStore, q as capitalized, k as daysBetweenDates, o as showPrice, s as showDate, x as InputField, J as BookingHeaderLayout, w as getUserLanguage, y as useApplyGiftCardStore, d as Clickable, z as usePaymentStore } from "./SelectField.vue_vue_type_style_index_0_lang-CZYWu7x-.js";
3
- import { B as Base$1, C as Checkbox, _ as _sfc_main$c } from "./CheckoutWindow-DrZnthDH.js";
4
- import { A as ActionField } from "./ActionField-CRqgWSz1.js";
5
- import { E as Element$1 } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CW-XSJQB.js";
1
+ import { d as defineComponent, X as resolveComponent, N as h, Y as Comment, Z as Text, F as Fragment, $ as getCurrentInstance, r as ref, c as computed$1, D as watch, o as onMounted, a as openBlock, g as createElementBlock, b as createBlock, w as withCtx, e as createBaseVNode, h as withModifiers, j as createCommentVNode, f as createVNode, z as renderList, i as unref, n as normalizeClass, u as useI18n, s as storeToRefs, y as createSlots, E as withDirectives, t as toDisplayString, K as inject, J as resolveDirective, O as reactive, R as onUnmounted, q as renderSlot, a0 as normalizeStyle, M as nextTick, G as vShow, v as createTextVNode, a1 as mergeModels, x as useSlots, a2 as useModel, T as Transition, A as isRef, _ as _mitt } from "./mitt-CFrRmK9k.js";
2
+ import { I as Icon, _ as _export_sfc, b as useHotelStore, f as useEventStore, T as TextField, N as convertDescription, B as BookingLayout, h as useUtilityStore, q as capitalized, k as daysBetweenDates, o as showPrice, s as showDate, x as InputField, J as BookingHeaderLayout, M as emitter, w as getUserLanguage, y as useApplyGiftCardStore, d as Clickable, z as usePaymentStore } from "./SelectField.vue_vue_type_style_index_0_lang-B8pRSFGj.js";
3
+ import { B as Base$1, C as Checkbox, _ as _sfc_main$c } from "./CheckoutWindow-CLNkZ6L5.js";
4
+ import { A as ActionField } from "./ActionField-ChprjIX4.js";
5
+ import { E as Element$1 } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DnfMKN_W.js";
6
6
  import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-DaMA6jEr.js";
7
7
  /*! *****************************************************************************
8
8
  Copyright (c) Microsoft Corporation.
@@ -778,7 +778,7 @@ var requestAnimationFrame$2 = function(s) {
778
778
  }, i.triggerChange = function(t, e, n, r) {
779
779
  var l = this;
780
780
  r === void 0 && (r = !1);
781
- var u = this.animationManager, d = u.axisManager, f = u.getEventInfo(), _ = this._getRoundPos(t, e), g = _.roundPos, y = _.roundDepa, v = d.moveTo(g, y), m = n?.event || f?.event || null, P = {
781
+ var u = this.animationManager, d = u.axisManager, f = u.getEventInfo(), _ = this._getRoundPos(t, e), g = _.roundPos, y = _.roundDepa, v = d.moveTo(g, y), m = n?.event || f?.event || null, b = {
782
782
  pos: v.pos,
783
783
  delta: v.delta,
784
784
  bounceRatio: this._getBounceRatio(v.pos),
@@ -789,11 +789,11 @@ var requestAnimationFrame$2 = function(s) {
789
789
  set: m ? this._createUserControll(v.pos) : function() {
790
790
  }
791
791
  // eslint-disable-line @typescript-eslint/no-empty-function
792
- }, b = new ComponentEvent$1("change", P);
793
- return this._axes.trigger(b), Object.keys(v.pos).forEach(function(p) {
792
+ }, P = new ComponentEvent$1("change", b);
793
+ return this._axes.trigger(P), Object.keys(v.pos).forEach(function(p) {
794
794
  var E = v.pos[p];
795
795
  getObserver(l._axes, p, E).current = E;
796
- }), m && d.set(P.set().destPos), !b.isCanceled();
796
+ }), m && d.set(b.set().destPos), !P.isCanceled();
797
797
  }, i.triggerAnimationStart = function(t) {
798
798
  var e = this._getRoundPos(t.destPos, t.depaPos), n = e.roundPos, r = e.roundDepa;
799
799
  t.destPos = n, t.depaPos = r, t.setTo = this._createUserControll(t.destPos, t.duration);
@@ -946,8 +946,8 @@ var requestAnimationFrame$2 = function(s) {
946
946
  var e, n = this.prevEvent, r = this._getCenter(t), l = n ? this._getMovement(t) : {
947
947
  x: 0,
948
948
  y: 0
949
- }, u = n ? this._getScale(t) : 1, d = n ? getAngle(r.x - n.center.x, r.y - n.center.y) : 0, f = n ? n.deltaX + l.x : l.x, _ = n ? n.deltaY + l.y : l.y, g = l.x, y = l.y, v = this._latestInterval, m = Date.now(), P = v ? m - v.timestamp : 0, b = n ? n.velocityX : 0, p = n ? n.velocityY : 0;
950
- return (!v || P >= VELOCITY_INTERVAL) && (v && (e = [(f - v.deltaX) / P, (_ - v.deltaY) / P], b = e[0], p = e[1]), this._latestInterval = {
949
+ }, u = n ? this._getScale(t) : 1, d = n ? getAngle(r.x - n.center.x, r.y - n.center.y) : 0, f = n ? n.deltaX + l.x : l.x, _ = n ? n.deltaY + l.y : l.y, g = l.x, y = l.y, v = this._latestInterval, m = Date.now(), b = v ? m - v.timestamp : 0, P = n ? n.velocityX : 0, p = n ? n.velocityY : 0;
950
+ return (!v || b >= VELOCITY_INTERVAL) && (v && (e = [(f - v.deltaX) / b, (_ - v.deltaY) / b], P = e[0], p = e[1]), this._latestInterval = {
951
951
  timestamp: m,
952
952
  deltaX: f,
953
953
  deltaY: _
@@ -960,7 +960,7 @@ var requestAnimationFrame$2 = function(s) {
960
960
  deltaY: _,
961
961
  offsetX: g,
962
962
  offsetY: y,
963
- velocityX: b,
963
+ velocityX: P,
964
964
  velocityY: p,
965
965
  preventSystemEvent: !0
966
966
  };
@@ -1193,8 +1193,8 @@ var InputObserver = /* @__PURE__ */ function() {
1193
1193
  d = map(u, function(y, v) {
1194
1194
  return y + (n[v] || 0);
1195
1195
  }), this._moveDistance && (this._moveDistance = this._axisManager.map(d, function(y, v) {
1196
- var m = v.circular, P = v.range;
1197
- return m && (m[0] || m[1]) ? getCirculatedPos(y, P, m) : y;
1196
+ var m = v.circular, b = v.range;
1197
+ return m && (m[0] || m[1]) ? getCirculatedPos(y, b, m) : y;
1198
1198
  })), this._isOutside && this._axisManager.every(u, function(y, v) {
1199
1199
  return !isOutside(y, v.range);
1200
1200
  }) && (this._isOutside = !1), u = this._atOutside(u), d = this._atOutside(d), (!this.options.nested || !this._isEndofAxis(n, u, d)) && (l.__childrenAxesAlreadyChanged = !0);
@@ -1233,11 +1233,11 @@ var InputObserver = /* @__PURE__ */ function() {
1233
1233
  isTrusted: !0
1234
1234
  };
1235
1235
  --this._eventManager.holdingCount, this._eventManager.triggerRelease(v), this._eventManager.holdingCount === 0 && (this._moveDistance = null);
1236
- var m = this._animationManager.getUserControl(v), P = equal(m.destPos, d), b = {
1236
+ var m = this._animationManager.getUserControl(v), b = equal(m.destPos, d), P = {
1237
1237
  input: t,
1238
1238
  event: e
1239
1239
  };
1240
- P || m.duration === 0 ? (P || this._eventManager.triggerChange(m.destPos, d, b, !0), this._interruptManager.setInterrupt(!1), this._axisManager.isOutside() ? this._animationManager.restore(b) : this._eventManager.triggerFinish(!0)) : this._animationManager.animateTo(m.destPos, m.duration, b);
1240
+ b || m.duration === 0 ? (b || this._eventManager.triggerChange(m.destPos, d, P, !0), this._interruptManager.setInterrupt(!1), this._axisManager.isOutside() ? this._animationManager.restore(P) : this._eventManager.triggerFinish(!0)) : this._animationManager.animateTo(m.destPos, m.duration, P);
1241
1241
  }
1242
1242
  }, i._atOutside = function(t) {
1243
1243
  var e = this;
@@ -1436,11 +1436,11 @@ var InputObserver = /* @__PURE__ */ function() {
1436
1436
  }, t._getNextState = function(e) {
1437
1437
  var n = this, r = this._animateParam, l = e.pos, u = r.destPos, d = map(l, function(v, m) {
1438
1438
  return v <= u[m] ? 1 : -1;
1439
- }), f = (/* @__PURE__ */ new Date()).getTime() - r.startTime, _ = (f + this._durationOffset) / r.duration, g = this._easing(_), y = this.axisManager.map(l, function(v, m, P) {
1440
- var b = _ >= 1 ? u[P] : v + r.delta[P] * (g - n._prevEasingPer) / (1 - n._initialEasingPer), p = getCirculatedPos(b, m.range, m.circular);
1441
- if (b !== p) {
1442
- var E = d[P] * (m.range[1] - m.range[0]);
1443
- u[P] -= E, l[P] -= E;
1439
+ }), f = (/* @__PURE__ */ new Date()).getTime() - r.startTime, _ = (f + this._durationOffset) / r.duration, g = this._easing(_), y = this.axisManager.map(l, function(v, m, b) {
1440
+ var P = _ >= 1 ? u[b] : v + r.delta[b] * (g - n._prevEasingPer) / (1 - n._initialEasingPer), p = getCirculatedPos(P, m.range, m.circular);
1441
+ if (P !== p) {
1442
+ var E = d[b] * (m.range[1] - m.range[0]);
1443
+ u[b] -= E, l[b] -= E;
1444
1444
  }
1445
1445
  return p;
1446
1446
  });
@@ -1583,7 +1583,7 @@ var InputObserver = /* @__PURE__ */ function() {
1583
1583
  return;
1584
1584
  }
1585
1585
  if (!(!v || !this._enabled || m > 1)) {
1586
- var P = getDirectionByAngle(v.angle, g), b = useDirection(DIRECTION_HORIZONTAL, this._direction, P), p = useDirection(DIRECTION_VERTICAL, this._direction, P);
1586
+ var b = getDirectionByAngle(v.angle, g), P = useDirection(DIRECTION_HORIZONTAL, this._direction, b), p = useDirection(DIRECTION_VERTICAL, this._direction, b);
1587
1587
  if (y.prevEvent && IS_IOS_SAFARI) {
1588
1588
  var E = v.center.x < 0;
1589
1589
  if (E) {
@@ -1597,7 +1597,7 @@ var InputObserver = /* @__PURE__ */ function() {
1597
1597
  }, 100);
1598
1598
  }
1599
1599
  }
1600
- var O = this._getDistance([v.deltaX, v.deltaY], [b, p]), S = this._getOffset([v.offsetX, v.offsetY], [b, p]), C = S.some(function(x) {
1600
+ var O = this._getDistance([v.deltaX, v.deltaY], [P, p]), S = this._getOffset([v.offsetX, v.offsetY], [P, p]), C = S.some(function(x) {
1601
1601
  return x !== 0;
1602
1602
  });
1603
1603
  C && (v.srcEvent.cancelable !== !1 && v.srcEvent.preventDefault(), v.srcEvent.stopPropagation()), v.preventSystemEvent = C, C && (this._isOverThreshold || O >= _) && (this._dragged = l, this._isOverThreshold = !0, this._observer.change(this, v, toAxis(this.axes, S))), y.prevEvent = v;
@@ -1862,8 +1862,8 @@ var Loader = /* @__PURE__ */ function(s) {
1862
1862
  }).on("ready", function(_) {
1863
1863
  var g = _.withPreReady, y = _.hasLoading, v = _.isSkip, m = n.elementInfos[d];
1864
1864
  m.hasLoading = y, m.isSkip = v;
1865
- var P = g && n.checkPreReady(d), b = n.checkReady(d);
1866
- g && n.onPreReadyElement(d), n.onReadyElement(d), P && n.onPreReady(), b && n.onReady();
1865
+ var b = g && n.checkPreReady(d), P = n.checkReady(d);
1866
+ g && n.onPreReadyElement(d), n.onReadyElement(d), b && n.onPreReady(), P && n.onReady();
1867
1867
  }), {
1868
1868
  loader: f,
1869
1869
  element: u,
@@ -1911,8 +1911,8 @@ var Loader = /* @__PURE__ */ function(s) {
1911
1911
  });
1912
1912
  return _.on("requestChildren", function() {
1913
1913
  var m = getContentElements(e, f, r.options.prefix);
1914
- v.check(m).on("preReady", function(P) {
1915
- y = P.isReady, y || _.onPreReady();
1914
+ v.check(m).on("preReady", function(b) {
1915
+ y = b.isReady, y || _.onPreReady();
1916
1916
  });
1917
1917
  }).on("reqeustReadyChildren", function() {
1918
1918
  v.check(g);
@@ -2917,8 +2917,8 @@ var State = /* @__PURE__ */ function() {
2917
2917
  _ = f.target;
2918
2918
  var v = l.renderer.panels, m = null;
2919
2919
  try {
2920
- for (var P = __values(v), b = P.next(); !b.done; b = P.next()) {
2921
- var p = b.value;
2920
+ for (var b = __values(v), P = b.next(); !P.done; P = b.next()) {
2921
+ var p = P.value;
2922
2922
  if (p.contains(_)) {
2923
2923
  m = p;
2924
2924
  break;
@@ -2930,7 +2930,7 @@ var State = /* @__PURE__ */ function() {
2930
2930
  };
2931
2931
  } finally {
2932
2932
  try {
2933
- b && !b.done && (r = P.return) && r.call(P);
2933
+ P && !P.done && (r = b.return) && r.call(b);
2934
2934
  } finally {
2935
2935
  if (n) throw n.error;
2936
2936
  }
@@ -3314,11 +3314,11 @@ var State = /* @__PURE__ */ function() {
3314
3314
  };
3315
3315
  return new Promise(function(y, v) {
3316
3316
  var m = function() {
3317
- u.off(EVENT.HOLD, P), y();
3318
- }, P = function() {
3317
+ u.off(EVENT.HOLD, b), y();
3318
+ }, b = function() {
3319
3319
  u.off(EVENT.FINISH, m), v(new FlickingError(MESSAGE.ANIMATION_INTERRUPTED, CODE.ANIMATION_INTERRUPTED));
3320
3320
  };
3321
- u.once(EVENT.FINISH, m), u.once(EVENT.HOLD, P), g();
3321
+ u.once(EVENT.FINISH, m), u.once(EVENT.HOLD, b), g();
3322
3322
  });
3323
3323
  }, i.updateDirection = function() {
3324
3324
  var t = getFlickingAttached(this._flicking), e = this._axes, n = this._panInput;
@@ -3570,20 +3570,20 @@ var State = /* @__PURE__ */ function() {
3570
3570
  var l = getFlickingAttached(this._flicking), u = l.camera, d = u.findActiveAnchor(), f = u.findNearestAnchor(u.position), _ = this._controller.state;
3571
3571
  if (!d || !f)
3572
3572
  return Promise.reject(new FlickingError(MESSAGE.POSITION_NOT_REACHABLE(e), CODE.POSITION_NOT_REACHABLE));
3573
- var g = this._calcSnapThreshold(l.threshold, e, d), y = l.animating ? _.delta : e - u.position, v = Math.abs(y), m = r && r.delta[POSITION_KEY] !== 0 ? Math.abs(r.delta[POSITION_KEY]) : v, P;
3573
+ var g = this._calcSnapThreshold(l.threshold, e, d), y = l.animating ? _.delta : e - u.position, v = Math.abs(y), m = r && r.delta[POSITION_KEY] !== 0 ? Math.abs(r.delta[POSITION_KEY]) : v, b;
3574
3574
  if (m >= g && m > 0)
3575
- P = this._findSnappedAnchor(e, f);
3575
+ b = this._findSnappedAnchor(e, f);
3576
3576
  else if (v >= l.threshold && v > 0)
3577
- P = this._findAdjacentAnchor(e, y, f);
3577
+ b = this._findAdjacentAnchor(e, y, f);
3578
3578
  else
3579
3579
  return this.moveToPanel(f.panel, {
3580
3580
  duration: n,
3581
3581
  axesEvent: r
3582
3582
  });
3583
- return this._triggerIndexChangeEvent(P.panel, e, r), this._animateToPosition({
3584
- position: u.clampToReachablePosition(P.position),
3583
+ return this._triggerIndexChangeEvent(b.panel, e, r), this._animateToPosition({
3584
+ position: u.clampToReachablePosition(b.position),
3585
3585
  duration: n,
3586
- newActivePanel: P.panel,
3586
+ newActivePanel: b.panel,
3587
3587
  axesEvent: r
3588
3588
  });
3589
3589
  }, t._findSnappedAnchor = function(e, n) {
@@ -3594,13 +3594,13 @@ var State = /* @__PURE__ */ function() {
3594
3594
  return _;
3595
3595
  var g = r.panelCount, y = l.anchorPoints, v = Math.sign(e - d) * Math.floor(Math.abs(e - d) / l.rangeDiff);
3596
3596
  e > d && _.index < n.index || _.position > n.position && _.index === n.index ? v += 1 : (e < d && _.index > n.index || _.position < n.position && _.index === n.index) && (v -= 1);
3597
- var m = v * g, P = _.index + m;
3598
- if (Math.abs(P - n.index) <= u) {
3599
- var b = y[_.index];
3597
+ var m = v * g, b = _.index + m;
3598
+ if (Math.abs(b - n.index) <= u) {
3599
+ var P = y[_.index];
3600
3600
  return new AnchorPoint({
3601
- index: b.index,
3602
- position: b.position + v * l.rangeDiff,
3603
- panel: b.panel
3601
+ index: P.index,
3602
+ position: P.position + v * l.rangeDiff,
3603
+ panel: P.panel
3604
3604
  });
3605
3605
  }
3606
3606
  if (r.circularEnabled) {
@@ -3695,9 +3695,9 @@ var State = /* @__PURE__ */ function() {
3695
3695
  var e, n = getFlickingAttached(this._flicking), r = n.camera, l = n.renderer, u = this._controller, d = r.controlParams, f = this._count, _ = u.state.animating ? (e = r.findNearestAnchor(r.position)) === null || e === void 0 ? void 0 : e.panel : this._activePanel;
3696
3696
  if (!_)
3697
3697
  return u.update(d), this._resetIndexRange(), this;
3698
- var g = d.range, y = _.position, v = _.index, m = l.panelCount, P = v - f, b = v + f;
3699
- P < 0 && (P = n.circularEnabled ? getMinusCompensatedIndex((P + 1) % m - 1, m) : clamp(P, 0, m - 1)), b >= m && (b = n.circularEnabled ? b % m : clamp(b, 0, m - 1));
3700
- var p = l.panels[P], E = l.panels[b], T = Math.max(p.position, g.min), O = Math.min(E.position, g.max);
3698
+ var g = d.range, y = _.position, v = _.index, m = l.panelCount, b = v - f, P = v + f;
3699
+ b < 0 && (b = n.circularEnabled ? getMinusCompensatedIndex((b + 1) % m - 1, m) : clamp(b, 0, m - 1)), P >= m && (P = n.circularEnabled ? P % m : clamp(P, 0, m - 1));
3700
+ var p = l.panels[b], E = l.panels[P], T = Math.max(p.position, g.min), O = Math.min(E.position, g.max);
3701
3701
  return T > y && (T -= r.rangeDiff), O < y && (O += r.rangeDiff), d.range = {
3702
3702
  min: T,
3703
3703
  max: O
@@ -3713,15 +3713,15 @@ var State = /* @__PURE__ */ function() {
3713
3713
  });
3714
3714
  });
3715
3715
  }, t.moveToPosition = function(e, n, r) {
3716
- var l, u = getFlickingAttached(this._flicking), d = u.camera, f = (l = this._nextPanel) !== null && l !== void 0 ? l : this._activePanel, _ = this._controller.range, g = this._indexRange, y = d.range, v = this._controller.state, m = clamp(d.clampToReachablePosition(e), _[0], _[1]), P = d.findAnchorIncludePosition(m);
3717
- if (!P || !f)
3716
+ var l, u = getFlickingAttached(this._flicking), d = u.camera, f = (l = this._nextPanel) !== null && l !== void 0 ? l : this._activePanel, _ = this._controller.range, g = this._indexRange, y = d.range, v = this._controller.state, m = clamp(d.clampToReachablePosition(e), _[0], _[1]), b = d.findAnchorIncludePosition(m);
3717
+ if (!b || !f)
3718
3718
  return Promise.reject(new FlickingError(MESSAGE.POSITION_NOT_REACHABLE(e), CODE.POSITION_NOT_REACHABLE));
3719
- var b = f.position, p = u.animating ? v.delta : e - d.position, E = Math.abs(p) >= u.threshold, T = e > b ? d.getNextAnchor(P) : d.getPrevAnchor(P), O, S, C = d.anchorPoints, x = C[0], I = C[C.length - 1], R = e <= y.min && isBetween(x.panel.index, g.min, g.max), w = e >= y.max && isBetween(I.panel.index, g.min, g.max), A = T && (g.min <= g.max ? isBetween(T.index, g.min, g.max) : T.index >= g.min || T.index <= g.max);
3719
+ var P = f.position, p = u.animating ? v.delta : e - d.position, E = Math.abs(p) >= u.threshold, T = e > P ? d.getNextAnchor(b) : d.getPrevAnchor(b), O, S, C = d.anchorPoints, x = C[0], I = C[C.length - 1], R = e <= y.min && isBetween(x.panel.index, g.min, g.max), w = e >= y.max && isBetween(I.panel.index, g.min, g.max), A = T && (g.min <= g.max ? isBetween(T.index, g.min, g.max) : T.index >= g.min || T.index <= g.max);
3720
3720
  if (R || w) {
3721
3721
  var N = e < y.min ? x : I;
3722
3722
  S = N.panel, O = N.position;
3723
- } else if (E && P.position !== f.position)
3724
- S = P.panel, O = P.position;
3723
+ } else if (E && b.position !== f.position)
3724
+ S = b.panel, O = b.position;
3725
3725
  else if (E && A)
3726
3726
  S = T.panel, O = T.position;
3727
3727
  else {
@@ -3929,7 +3929,7 @@ var State = /* @__PURE__ */ function() {
3929
3929
  min: v,
3930
3930
  max: m
3931
3931
  };
3932
- var P = e.camera.align, b = typeof P == "object" ? P.camera : P, p = v + parseAlign$1(b, m - v);
3932
+ var b = e.camera.align, P = typeof b == "object" ? b.camera : b, p = v + parseAlign$1(P, m - v);
3933
3933
  return {
3934
3934
  min: p,
3935
3935
  max: p
@@ -3938,15 +3938,15 @@ var State = /* @__PURE__ */ function() {
3938
3938
  var e = this._flicking, n = e.camera, r = e.renderer.panels;
3939
3939
  if (r.length <= 0)
3940
3940
  return [];
3941
- var l = e.camera.range, u = r.filter(function(P) {
3942
- return n.canReach(P);
3941
+ var l = e.camera.range, u = r.filter(function(b) {
3942
+ return n.canReach(b);
3943
3943
  });
3944
3944
  if (u.length > 0) {
3945
- var d = u[0].position !== l.min, f = u[u.length - 1].position !== l.max, _ = d ? 1 : 0, g = u.map(function(P, b) {
3945
+ var d = u[0].position !== l.min, f = u[u.length - 1].position !== l.max, _ = d ? 1 : 0, g = u.map(function(b, P) {
3946
3946
  return new AnchorPoint({
3947
- index: b + _,
3948
- position: P.position,
3949
- panel: P
3947
+ index: P + _,
3948
+ position: b.position,
3949
+ panel: b
3950
3950
  });
3951
3951
  });
3952
3952
  return d && g.splice(0, 0, new AnchorPoint({
@@ -3997,9 +3997,9 @@ var State = /* @__PURE__ */ function() {
3997
3997
  var m = v.value;
3998
3998
  m in _ && (g = m);
3999
3999
  }
4000
- } catch (P) {
4000
+ } catch (b) {
4001
4001
  u = {
4002
- error: P
4002
+ error: b
4003
4003
  };
4004
4004
  } finally {
4005
4005
  try {
@@ -4230,8 +4230,8 @@ var State = /* @__PURE__ */ function() {
4230
4230
  var y = r.prev(), v = y ? y.position + y.offset : f - u[0];
4231
4231
  return v > l && (v -= g), r.index - 1 + getProgress(e, v, l);
4232
4232
  } else {
4233
- var m = r.next(), P = m ? m.position + m.offset : _ + u[1];
4234
- return P < l && (P += g), r.index + getProgress(e, l, P);
4233
+ var m = r.next(), b = m ? m.position + m.offset : _ + u[1];
4234
+ return b < l && (b += g), r.index + getProgress(e, l, b);
4235
4235
  }
4236
4236
  },
4237
4237
  enumerable: !1,
@@ -4542,23 +4542,23 @@ var State = /* @__PURE__ */ function() {
4542
4542
  for (var t = this, e = [], n = 0; n < arguments.length; n++)
4543
4543
  e[n] = arguments[n];
4544
4544
  var r = this._panels, l = getFlickingAttached(this._flicking), u = r[0], d = parsePanelAlign(this._align), f = e.reduce(function(_, g) {
4545
- var y, v = getMinusCompensatedIndex(g.index, r.length), m = r.slice(v), P = g.elements.map(function(p, E) {
4545
+ var y, v = getMinusCompensatedIndex(g.index, r.length), m = r.slice(v), b = g.elements.map(function(p, E) {
4546
4546
  return t._createPanel(p, {
4547
4547
  index: v + E,
4548
4548
  align: d,
4549
4549
  flicking: l
4550
4550
  });
4551
4551
  });
4552
- if (r.splice.apply(r, __spread([v, 0], P)), g.hasDOMInElements && t._insertPanelElements(P, (y = m[0]) !== null && y !== void 0 ? y : null), l.panelsPerView > 0) {
4553
- var b = u || P[0].resize();
4554
- t._updatePanelSizeByGrid(b, P);
4552
+ if (r.splice.apply(r, __spread([v, 0], b)), g.hasDOMInElements && t._insertPanelElements(b, (y = m[0]) !== null && y !== void 0 ? y : null), l.panelsPerView > 0) {
4553
+ var P = u || b[0].resize();
4554
+ t._updatePanelSizeByGrid(P, b);
4555
4555
  } else
4556
- P.forEach(function(p) {
4556
+ b.forEach(function(p) {
4557
4557
  return p.resize();
4558
4558
  });
4559
4559
  return m.forEach(function(p) {
4560
- p.increaseIndex(P.length), p.updatePosition();
4561
- }), __spread(_, P);
4560
+ p.increaseIndex(b.length), p.updatePosition();
4561
+ }), __spread(_, b);
4562
4562
  }, []);
4563
4563
  return f;
4564
4564
  }, i.batchRemove = function() {
@@ -4570,12 +4570,12 @@ var State = /* @__PURE__ */ function() {
4570
4570
  for (var t = this, e = [], n = 0; n < arguments.length; n++)
4571
4571
  e[n] = arguments[n];
4572
4572
  var r = this._panels, l = getFlickingAttached(this._flicking), u = l.control, d = u.activePanel, f = e.reduce(function(_, g) {
4573
- var y = g.index, v = g.deleteCount, m = getMinusCompensatedIndex(y, r.length), P = r.slice(m + v), b = r.splice(m, v);
4574
- return b.length <= 0 ? [] : (P.forEach(function(p) {
4575
- p.decreaseIndex(b.length), p.updatePosition();
4576
- }), g.hasDOMInElements && t._removePanelElements(b), b.forEach(function(p) {
4573
+ var y = g.index, v = g.deleteCount, m = getMinusCompensatedIndex(y, r.length), b = r.slice(m + v), P = r.splice(m, v);
4574
+ return P.length <= 0 ? [] : (b.forEach(function(p) {
4575
+ p.decreaseIndex(P.length), p.updatePosition();
4576
+ }), g.hasDOMInElements && t._removePanelElements(P), P.forEach(function(p) {
4577
4577
  return p.destroy();
4578
- }), includes(b, d) && u.resetActive(), __spread(_, b));
4578
+ }), includes(P, d) && u.resetActive(), __spread(_, P));
4579
4579
  }, []);
4580
4580
  return f;
4581
4581
  }, i.updateAfterPanelChange = function(t, e) {
@@ -5273,10 +5273,10 @@ var State = /* @__PURE__ */ function() {
5273
5273
  }(), Flicking$1 = /* @__PURE__ */ function(s) {
5274
5274
  __extends$2(i, s);
5275
5275
  function i(e, n) {
5276
- var r = n === void 0 ? {} : n, l = r.align, u = l === void 0 ? ALIGN.CENTER : l, d = r.defaultIndex, f = d === void 0 ? 0 : d, _ = r.horizontal, g = _ === void 0 ? !0 : _, y = r.circular, v = y === void 0 ? !1 : y, m = r.circularFallback, P = m === void 0 ? CIRCULAR_FALLBACK.LINEAR : m, b = r.bound, p = b === void 0 ? !1 : b, E = r.adaptive, T = E === void 0 ? !1 : E, O = r.panelsPerView, S = O === void 0 ? -1 : O, C = r.noPanelStyleOverride, x = C === void 0 ? !1 : C, I = r.resizeOnContentsReady, R = I === void 0 ? !1 : I, w = r.nested, A = w === void 0 ? !1 : w, N = r.needPanelThreshold, D = N === void 0 ? 0 : N, L = r.preventEventsBeforeInit, B = L === void 0 ? !0 : L, V = r.deceleration, ue = V === void 0 ? 75e-4 : V, M = r.duration, ce = M === void 0 ? 500 : M, z = r.easing, de = z === void 0 ? function(Ae) {
5276
+ var r = n === void 0 ? {} : n, l = r.align, u = l === void 0 ? ALIGN.CENTER : l, d = r.defaultIndex, f = d === void 0 ? 0 : d, _ = r.horizontal, g = _ === void 0 ? !0 : _, y = r.circular, v = y === void 0 ? !1 : y, m = r.circularFallback, b = m === void 0 ? CIRCULAR_FALLBACK.LINEAR : m, P = r.bound, p = P === void 0 ? !1 : P, E = r.adaptive, T = E === void 0 ? !1 : E, O = r.panelsPerView, S = O === void 0 ? -1 : O, C = r.noPanelStyleOverride, x = C === void 0 ? !1 : C, I = r.resizeOnContentsReady, R = I === void 0 ? !1 : I, w = r.nested, A = w === void 0 ? !1 : w, N = r.needPanelThreshold, D = N === void 0 ? 0 : N, L = r.preventEventsBeforeInit, B = L === void 0 ? !0 : L, V = r.deceleration, ue = V === void 0 ? 75e-4 : V, M = r.duration, ce = M === void 0 ? 500 : M, z = r.easing, de = z === void 0 ? function(Ae) {
5277
5277
  return 1 - Math.pow(1 - Ae, 3);
5278
5278
  } : z, F = r.inputType, fe = F === void 0 ? ["mouse", "touch"] : F, j = r.moveType, he = j === void 0 ? "snap" : j, H = r.threshold, ve = H === void 0 ? 40 : H, W = r.dragThreshold, pe = W === void 0 ? 1 : W, U = r.interruptable, ge = U === void 0 ? !0 : U, G = r.bounce, _e = G === void 0 ? "20%" : G, Y = r.iOSEdgeSwipeThreshold, me = Y === void 0 ? 30 : Y, q = r.preventClickOnDrag, Ee = q === void 0 ? !0 : q, X = r.preventDefaultOnDrag, ye = X === void 0 ? !1 : X, K = r.disableOnInit, be = K === void 0 ? !1 : K, Z = r.changeOnHold, Pe = Z === void 0 ? !1 : Z, Q = r.renderOnlyVisible, Te = Q === void 0 ? !1 : Q, J = r.virtual, ee = J === void 0 ? null : J, te = r.autoInit, Oe = te === void 0 ? !0 : te, ne = r.autoResize, Se = ne === void 0 ? !0 : ne, ie = r.useResizeObserver, Ce = ie === void 0 ? !0 : ie, re = r.resizeDebounce, Ie = re === void 0 ? 0 : re, ae = r.maxResizeDebounce, ke = ae === void 0 ? 100 : ae, oe = r.useFractionalSize, xe = oe === void 0 ? !1 : oe, se = r.externalRenderer, Re = se === void 0 ? null : se, le = r.renderExternal, Ne = le === void 0 ? null : le, k = s.call(this) || this;
5279
- return k._initialized = !1, k._plugins = [], k._align = u, k._defaultIndex = f, k._horizontal = g, k._circular = v, k._circularFallback = P, k._bound = p, k._adaptive = T, k._panelsPerView = S, k._noPanelStyleOverride = x, k._resizeOnContentsReady = R, k._nested = A, k._virtual = ee, k._needPanelThreshold = D, k._preventEventsBeforeInit = B, k._deceleration = ue, k._duration = ce, k._easing = de, k._inputType = fe, k._moveType = he, k._threshold = ve, k._dragThreshold = pe, k._interruptable = ge, k._bounce = _e, k._iOSEdgeSwipeThreshold = me, k._preventClickOnDrag = Ee, k._preventDefaultOnDrag = ye, k._disableOnInit = be, k._changeOnHold = Pe, k._renderOnlyVisible = Te, k._autoInit = Oe, k._autoResize = Se, k._useResizeObserver = Ce, k._resizeDebounce = Ie, k._maxResizeDebounce = ke, k._useFractionalSize = xe, k._externalRenderer = Re, k._renderExternal = Ne, k._viewport = new Viewport(k, getElement$1(e)), k._autoResizer = new AutoResizer(k), k._renderer = k._createRenderer(), k._camera = k._createCamera(), k._control = k._createControl(), k._virtualManager = new VirtualManager(k, ee), k._autoInit && k.init(), k;
5279
+ return k._initialized = !1, k._plugins = [], k._align = u, k._defaultIndex = f, k._horizontal = g, k._circular = v, k._circularFallback = b, k._bound = p, k._adaptive = T, k._panelsPerView = S, k._noPanelStyleOverride = x, k._resizeOnContentsReady = R, k._nested = A, k._virtual = ee, k._needPanelThreshold = D, k._preventEventsBeforeInit = B, k._deceleration = ue, k._duration = ce, k._easing = de, k._inputType = fe, k._moveType = he, k._threshold = ve, k._dragThreshold = pe, k._interruptable = ge, k._bounce = _e, k._iOSEdgeSwipeThreshold = me, k._preventClickOnDrag = Ee, k._preventDefaultOnDrag = ye, k._disableOnInit = be, k._changeOnHold = Pe, k._renderOnlyVisible = Te, k._autoInit = Oe, k._autoResize = Se, k._useResizeObserver = Ce, k._resizeDebounce = Ie, k._maxResizeDebounce = ke, k._useFractionalSize = xe, k._externalRenderer = Re, k._renderExternal = Ne, k._viewport = new Viewport(k, getElement$1(e)), k._autoResizer = new AutoResizer(k), k._renderer = k._createRenderer(), k._camera = k._createCamera(), k._control = k._createControl(), k._virtualManager = new VirtualManager(k, ee), k._autoInit && k.init(), k;
5280
5280
  }
5281
5281
  var t = i.prototype;
5282
5282
  return Object.defineProperty(t, "control", {
@@ -6273,8 +6273,8 @@ var State = /* @__PURE__ */ function() {
6273
6273
  }, t.disableInput = function() {
6274
6274
  return this._control.disable(), this;
6275
6275
  }, t.getStatus = function(e) {
6276
- var n, r, l = e === void 0 ? {} : e, u = l.index, d = u === void 0 ? !0 : u, f = l.position, _ = f === void 0 ? !0 : f, g = l.includePanelHTML, y = g === void 0 ? !1 : g, v = l.visiblePanelsOnly, m = v === void 0 ? !1 : v, P = this._camera, b = m ? this.visiblePanels : this.panels, p = {
6277
- panels: b.map(function(O) {
6276
+ var n, r, l = e === void 0 ? {} : e, u = l.index, d = u === void 0 ? !0 : u, f = l.position, _ = f === void 0 ? !0 : f, g = l.includePanelHTML, y = g === void 0 ? !1 : g, v = l.visiblePanelsOnly, m = v === void 0 ? !1 : v, b = this._camera, P = m ? this.visiblePanels : this.panels, p = {
6277
+ panels: P.map(function(O) {
6278
6278
  var S = {
6279
6279
  index: O.index
6280
6280
  };
@@ -6282,10 +6282,10 @@ var State = /* @__PURE__ */ function() {
6282
6282
  })
6283
6283
  };
6284
6284
  if (d && (p.index = this.index), _) {
6285
- var E = P.findNearestAnchor(P.position);
6285
+ var E = b.findNearestAnchor(b.position);
6286
6286
  E && (p.position = {
6287
6287
  panel: E.panel.index,
6288
- progressInPanel: P.getProgressInPanel(E.panel)
6288
+ progressInPanel: b.getProgressInPanel(E.panel)
6289
6289
  });
6290
6290
  }
6291
6291
  if (m) {
@@ -6304,8 +6304,8 @@ var State = /* @__PURE__ */ function() {
6304
6304
  hasDOMInElements: !0
6305
6305
  }), f.batchInsert({
6306
6306
  index: 0,
6307
- elements: parseElement(d.map(function(b) {
6308
- return b.html;
6307
+ elements: parseElement(d.map(function(P) {
6308
+ return P.html;
6309
6309
  })),
6310
6310
  hasDOMInElements: !0
6311
6311
  })), r != null) {
@@ -6314,8 +6314,8 @@ var State = /* @__PURE__ */ function() {
6314
6314
  });
6315
6315
  }
6316
6316
  if (l && this._moveType === MOVE_TYPE.FREE_SCROLL) {
6317
- var y = l.panel, v = l.progressInPanel, g = u ? y - u : y, m = f.panels[g].range, P = m.min + (m.max - m.min) * v;
6318
- _.moveToPosition(P, 0).catch(function() {
6317
+ var y = l.panel, v = l.progressInPanel, g = u ? y - u : y, m = f.panels[g].range, b = m.min + (m.max - m.min) * v;
6318
+ _.moveToPosition(b, 0).catch(function() {
6319
6319
  });
6320
6320
  }
6321
6321
  }, t.addPlugins = function() {
@@ -6487,11 +6487,11 @@ var State = /* @__PURE__ */ function() {
6487
6487
  }), u.push.apply(u, __spread(batchRemove(e, f, d + 1)));
6488
6488
  }
6489
6489
  if (i.ordered.forEach(function(v) {
6490
- var m = __read(v, 2), P = m[0], b = m[1], p = n.splice(P, 1)[0];
6491
- n.splice(b, 0, p);
6490
+ var m = __read(v, 2), b = m[0], P = m[1], p = n.splice(b, 1)[0];
6491
+ n.splice(P, 0, p);
6492
6492
  }), i.ordered.length > 0 && (n.forEach(function(v, m) {
6493
- var P = m - v.index;
6494
- P > 0 ? v.increaseIndex(P) : v.decreaseIndex(-P);
6493
+ var b = m - v.index;
6494
+ b > 0 ? v.increaseIndex(b) : v.decreaseIndex(-b);
6495
6495
  }), n.sort(function(v, m) {
6496
6496
  return v.index - m.index;
6497
6497
  }), n.forEach(function(v) {
@@ -6652,7 +6652,7 @@ var State = /* @__PURE__ */ function() {
6652
6652
  return e;
6653
6653
  }, Arrow = /* @__PURE__ */ function() {
6654
6654
  function s(t) {
6655
- var e = this, n = t === void 0 ? {} : t, r = n.parentEl, l = r === void 0 ? null : r, u = n.prevElSelector, d = u === void 0 ? ARROW.PREV_SELECTOR : u, f = n.nextElSelector, _ = f === void 0 ? ARROW.NEXT_SELECTOR : f, g = n.disabledClass, y = g === void 0 ? ARROW.DISABLED_CLASS : g, v = n.moveCount, m = v === void 0 ? 1 : v, P = n.moveByViewportSize, b = P === void 0 ? !1 : P;
6655
+ var e = this, n = t === void 0 ? {} : t, r = n.parentEl, l = r === void 0 ? null : r, u = n.prevElSelector, d = u === void 0 ? ARROW.PREV_SELECTOR : u, f = n.nextElSelector, _ = f === void 0 ? ARROW.NEXT_SELECTOR : f, g = n.disabledClass, y = g === void 0 ? ARROW.DISABLED_CLASS : g, v = n.moveCount, m = v === void 0 ? 1 : v, b = n.moveByViewportSize, P = b === void 0 ? !1 : b;
6656
6656
  this._flicking = null, this._preventInputPropagation = function(p) {
6657
6657
  p.stopPropagation();
6658
6658
  }, this._onPrevClick = function() {
@@ -6685,7 +6685,7 @@ var State = /* @__PURE__ */ function() {
6685
6685
  }, this._onCatch = function(p) {
6686
6686
  if (!(p instanceof FlickingError))
6687
6687
  throw p;
6688
- }, this._parentEl = l, this._prevElSelector = d, this._nextElSelector = _, this._disabledClass = y, this._moveCount = m, this._moveByViewportSize = b;
6688
+ }, this._parentEl = l, this._prevElSelector = d, this._nextElSelector = _, this._disabledClass = y, this._moveCount = m, this._moveByViewportSize = P;
6689
6689
  }
6690
6690
  var i = s.prototype;
6691
6691
  return Object.defineProperty(i, "prevEl", {
@@ -6866,33 +6866,33 @@ var Renderer = /* @__PURE__ */ function() {
6866
6866
  this._bullets = [], this._prevIndex = -1;
6867
6867
  }, t.render = function() {
6868
6868
  var e = this, n = this._flicking, r = this._pagination, l = this._wrapper, u = this._bulletClass, d = this._activeClass, f = r.renderBullet, _ = r.renderActiveBullet, g = r.classPrefix + "-" + PAGINATION.BULLET_WRAPPER_SUFFIX, y = n.camera.anchorPoints;
6869
- addClass(l, g), l.innerHTML = y.map(function(m, P) {
6870
- return _ && m.panel.index === n.index ? _(u, P) : f(u, P);
6869
+ addClass(l, g), l.innerHTML = y.map(function(m, b) {
6870
+ return _ && m.panel.index === n.index ? _(u, b) : f(u, b);
6871
6871
  }).join(`
6872
6872
  `);
6873
6873
  var v = [].slice.call(l.children);
6874
- v.forEach(function(m, P) {
6875
- var b = y[P];
6876
- b.panel.index === n.index && (addClass(m, d), e._prevIndex = P), e._addBulletEvents(m, P);
6874
+ v.forEach(function(m, b) {
6875
+ var P = y[b];
6876
+ P.panel.index === n.index && (addClass(m, d), e._prevIndex = b), e._addBulletEvents(m, b);
6877
6877
  }), this._bullets = v;
6878
6878
  }, t.update = function(e) {
6879
6879
  var n = this._flicking, r = this._pagination, l = this._wrapper, u = this._bullets, d = this._bulletClass, f = this._activeClass, _ = this._prevIndex, g = n.camera.anchorPoints, y = r.renderBullet, v = r.renderActiveBullet;
6880
6880
  if (!(g.length <= 0)) {
6881
- var m = g[0].panel.index, P = e - m;
6882
- if (_ !== P) {
6881
+ var m = g[0].panel.index, b = e - m;
6882
+ if (_ !== b) {
6883
6883
  if (v) {
6884
- var b = u[_];
6885
- if (b) {
6884
+ var P = u[_];
6885
+ if (P) {
6886
6886
  var p = this._createBulletFromString(y(d, _), _);
6887
- b.parentElement.replaceChild(p, b), u[_] = p;
6887
+ P.parentElement.replaceChild(p, P), u[_] = p;
6888
6888
  }
6889
- var E = u[P], T = this._createBulletFromString(v(d + " " + f, P), P);
6890
- l.replaceChild(T, E), u[P] = T;
6889
+ var E = u[b], T = this._createBulletFromString(v(d + " " + f, b), b);
6890
+ l.replaceChild(T, E), u[b] = T;
6891
6891
  } else {
6892
- var E = u[P], b = u[_];
6893
- b && removeClass(b, f), addClass(E, f);
6892
+ var E = u[b], P = u[_];
6893
+ P && removeClass(P, f), addClass(E, f);
6894
6894
  }
6895
- this._prevIndex = P;
6895
+ this._prevIndex = b;
6896
6896
  }
6897
6897
  }
6898
6898
  }, i;
@@ -6937,19 +6937,19 @@ var Renderer = /* @__PURE__ */ function() {
6937
6937
  if (m.forEach(function(p, E) {
6938
6938
  e._addBulletEvents(p, E);
6939
6939
  }), !(m.length <= 0)) {
6940
- var P = getComputedStyle(m[0]), b = m[0].clientWidth + parseFloat(P.marginLeft) + parseFloat(P.marginRight);
6941
- n.style.width = b * l.bulletCount + "px", this._bullets = m, this._bulletSize = b, this._previousIndex = -1, this.update(this._flicking.index), window.requestAnimationFrame(function() {
6940
+ var b = getComputedStyle(m[0]), P = m[0].clientWidth + parseFloat(b.marginLeft) + parseFloat(b.marginRight);
6941
+ n.style.width = P * l.bulletCount + "px", this._bullets = m, this._bulletSize = P, this._previousIndex = -1, this.update(this._flicking.index), window.requestAnimationFrame(function() {
6942
6942
  removeClass(n, y);
6943
6943
  });
6944
6944
  }
6945
6945
  }, t.update = function(e) {
6946
6946
  var n = this._pagination, r = this._flicking, l = this._bullets, u = this._previousIndex, d = n.renderBullet, f = n.renderActiveBullet, _ = r.camera.anchorPoints, g = _[0].panel.index, y = e - g;
6947
6947
  if (!(_.length <= 0)) {
6948
- var v = n.classPrefix + "-" + PAGINATION.BULLET_SUFFIX, m = n.classPrefix + "-" + PAGINATION.BULLET_ACTIVE_SUFFIX, P = n.classPrefix + "-" + PAGINATION.SCROLL_PREV_SUFFIX, b = n.classPrefix + "-" + PAGINATION.SCROLL_NEXT_SUFFIX, p = function(R) {
6949
- return "" + P + (R > 1 ? R : "");
6950
- }, E = function(R) {
6948
+ var v = n.classPrefix + "-" + PAGINATION.BULLET_SUFFIX, m = n.classPrefix + "-" + PAGINATION.BULLET_ACTIVE_SUFFIX, b = n.classPrefix + "-" + PAGINATION.SCROLL_PREV_SUFFIX, P = n.classPrefix + "-" + PAGINATION.SCROLL_NEXT_SUFFIX, p = function(R) {
6951
6949
  return "" + b + (R > 1 ? R : "");
6952
- }, T = new RegExp("^" + P), O = new RegExp("^" + b);
6950
+ }, E = function(R) {
6951
+ return "" + P + (R > 1 ? R : "");
6952
+ }, T = new RegExp("^" + b), O = new RegExp("^" + P);
6953
6953
  if (f) {
6954
6954
  var S = l[u];
6955
6955
  if (S) {
@@ -6980,9 +6980,9 @@ var Renderer = /* @__PURE__ */ function() {
6980
6980
  }, i;
6981
6981
  }(Renderer), Pagination = /* @__PURE__ */ function() {
6982
6982
  function s(t) {
6983
- var e = this, n = t === void 0 ? {} : t, r = n.parentEl, l = r === void 0 ? null : r, u = n.selector, d = u === void 0 ? PAGINATION.SELECTOR : u, f = n.type, _ = f === void 0 ? PAGINATION.TYPE.BULLET : f, g = n.classPrefix, y = g === void 0 ? PAGINATION.PREFIX : g, v = n.bulletCount, m = v === void 0 ? 5 : v, P = n.renderBullet, b = P === void 0 ? function(A) {
6983
+ var e = this, n = t === void 0 ? {} : t, r = n.parentEl, l = r === void 0 ? null : r, u = n.selector, d = u === void 0 ? PAGINATION.SELECTOR : u, f = n.type, _ = f === void 0 ? PAGINATION.TYPE.BULLET : f, g = n.classPrefix, y = g === void 0 ? PAGINATION.PREFIX : g, v = n.bulletCount, m = v === void 0 ? 5 : v, b = n.renderBullet, P = b === void 0 ? function(A) {
6984
6984
  return '<span class="' + A + '"></span>';
6985
- } : P, p = n.renderActiveBullet, E = p === void 0 ? null : p, T = n.renderFraction, O = T === void 0 ? function(A, N) {
6985
+ } : b, p = n.renderActiveBullet, E = p === void 0 ? null : p, T = n.renderFraction, O = T === void 0 ? function(A, N) {
6986
6986
  return '<span class="' + A + '"></span>/<span class="' + N + '"></span>';
6987
6987
  } : T, S = n.fractionCurrentFormat, C = S === void 0 ? function(A) {
6988
6988
  return A.toString();
@@ -6995,7 +6995,7 @@ var Renderer = /* @__PURE__ */ function() {
6995
6995
  e._removeAllChilds(), e._renderer.render();
6996
6996
  }, this._onIndexChange = function(A) {
6997
6997
  e._renderer.update(A.index);
6998
- }, this._parentEl = l, this._selector = d, this._type = _, this._classPrefix = y, this._bulletCount = m, this._renderBullet = b, this._renderActiveBullet = E, this._renderFraction = O, this._fractionCurrentFormat = C, this._fractionTotalFormat = I, this._scrollOnChange = w;
6998
+ }, this._parentEl = l, this._selector = d, this._type = _, this._classPrefix = y, this._bulletCount = m, this._renderBullet = P, this._renderActiveBullet = E, this._renderFraction = O, this._fractionCurrentFormat = C, this._fractionTotalFormat = I, this._scrollOnChange = w;
6999
6999
  }
7000
7000
  var i = s.prototype;
7001
7001
  return Object.defineProperty(i, "parentEl", {
@@ -7213,7 +7213,7 @@ var Result = /* @__PURE__ */ function() {
7213
7213
  function diff(s, i, t) {
7214
7214
  var e = SUPPORT_MAP ? Map : t ? HashMap : PolyMap, n = t || function(E) {
7215
7215
  return E;
7216
- }, r = [], l = [], u = [], d = s.map(n), f = i.map(n), _ = new e(), g = new e(), y = [], v = [], m = {}, P = [], b = 0, p = 0;
7216
+ }, r = [], l = [], u = [], d = s.map(n), f = i.map(n), _ = new e(), g = new e(), y = [], v = [], m = {}, b = [], P = 0, p = 0;
7217
7217
  return d.forEach(function(E, T) {
7218
7218
  _.set(E, T);
7219
7219
  }), f.forEach(function(E, T) {
@@ -7223,8 +7223,8 @@ function diff(s, i, t) {
7223
7223
  typeof O > "u" ? (++p, l.push(T)) : m[O] = p;
7224
7224
  }), f.forEach(function(E, T) {
7225
7225
  var O = _.get(E);
7226
- typeof O > "u" ? (r.push(T), ++b) : (u.push([O, T]), p = m[T] || 0, y.push([O - p, T - b]), v.push(T === O), O !== T && P.push([O, T]));
7227
- }), l.reverse(), new Result(s, i, r, l, P, u, y, v);
7226
+ typeof O > "u" ? (r.push(T), ++P) : (u.push([O, T]), p = m[T] || 0, y.push([O - p, T - P]), v.push(T === O), O !== T && b.push([O, T]));
7227
+ }), l.reverse(), new Result(s, i, r, l, b, u, y, v);
7228
7228
  }
7229
7229
  var ListDiffer = /* @__PURE__ */ function() {
7230
7230
  function s(t, e) {
@@ -7710,7 +7710,7 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7710
7710
  new Fade(),
7711
7711
  new Pagination({ type: d.value })
7712
7712
  ];
7713
- }), (m, P) => (openBlock(), createElementBlock("div", null, [
7713
+ }), (m, b) => (openBlock(), createElementBlock("div", null, [
7714
7714
  l.value ? (openBlock(), createBlock(unref(Flicking), {
7715
7715
  key: 0,
7716
7716
  ref_key: "slideshow",
@@ -7749,15 +7749,15 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7749
7749
  })
7750
7750
  ])
7751
7751
  ]),
7752
- P[0] || (P[0] = createBaseVNode("div", { class: "flicking-pagination" }, null, -1))
7752
+ b[0] || (b[0] = createBaseVNode("div", { class: "flicking-pagination" }, null, -1))
7753
7753
  ]),
7754
7754
  default: withCtx(() => [
7755
- (openBlock(!0), createElementBlock(Fragment, null, renderList(m.gallery, ({ large: b, url: p }, E) => (openBlock(), createElementBlock("div", {
7755
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(m.gallery, ({ large: P, url: p }, E) => (openBlock(), createElementBlock("div", {
7756
7756
  key: E,
7757
7757
  class: "konnectio-flicking-gallery-item"
7758
7758
  }, [
7759
7759
  createBaseVNode("img", {
7760
- src: b || p
7760
+ src: P || p
7761
7761
  }, null, 8, _hoisted_4$7)
7762
7762
  ]))), 128))
7763
7763
  ]),
@@ -7773,7 +7773,7 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7773
7773
  }, null, 10, _hoisted_5$6)) : createCommentVNode("", !0)
7774
7774
  ]));
7775
7775
  }
7776
- }), Gallery = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-5207af0c"]]), _hoisted_1$b = { key: 0 }, _hoisted_2$8 = { class: "konnectio-listing-side-panel" }, _hoisted_3$8 = ["innerHTML"], _hoisted_4$6 = {
7776
+ }), Gallery = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-955c6f8c"]]), _hoisted_1$b = { key: 0 }, _hoisted_2$8 = { class: "konnectio-listing-side-panel" }, _hoisted_3$8 = ["innerHTML"], _hoisted_4$6 = {
7777
7777
  key: 1,
7778
7778
  class: "konnectio-listing-side-panel-facilities"
7779
7779
  }, _hoisted_5$5 = {
@@ -7813,12 +7813,12 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7813
7813
  return x < 10 && (x = "0" + x), C < 10 && (C = "0" + C), `${S}-${C}-${x}`;
7814
7814
  }
7815
7815
  const v = computed$1(() => n.type !== "event" ? `${window.location.origin + window.location.pathname}?a=${r.value}&c=${l.value}&ci=${y(u.value)}&co=${y(d.value)}&hid=${f.value}&id=${n.listingId}` : ""), m = computed$1(() => n.type === "event" ? `${window.location.origin + window.location.pathname}?d=${y(_.value)}&rid=${g.value}&eid=${n.listingId}` : "");
7816
- function P(O) {
7816
+ function b(O) {
7817
7817
  t("update:idx", O);
7818
7818
  }
7819
- const b = computed$1({
7819
+ const P = computed$1({
7820
7820
  get: () => n.idx,
7821
- set: (O) => P(O)
7821
+ set: (O) => b(O)
7822
7822
  }), p = ref("testVueMasonry"), E = inject("redrawVueMasonry");
7823
7823
  function T() {
7824
7824
  E("testVueMasonry");
@@ -7833,8 +7833,8 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7833
7833
  O.gallery ? (openBlock(), createElementBlock("div", _hoisted_1$b, [
7834
7834
  createVNode(Gallery, {
7835
7835
  gallery: O.gallery,
7836
- idx: b.value,
7837
- "onUpdate:idx": S[0] || (S[0] = (I) => b.value = I)
7836
+ idx: P.value,
7837
+ "onUpdate:idx": S[0] || (S[0] = (I) => P.value = I)
7838
7838
  }, null, 8, ["gallery", "idx"])
7839
7839
  ])) : createCommentVNode("", !0),
7840
7840
  createBaseVNode("div", _hoisted_2$8, [
@@ -7903,7 +7903,7 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7903
7903
  ]), 1032, ["title"]);
7904
7904
  };
7905
7905
  }
7906
- }), SidePanel = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-ff830b74"]]);
7906
+ }), SidePanel = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-a17ff912"]]);
7907
7907
  var raf = null;
7908
7908
  function requestAnimationFrame$1(s) {
7909
7909
  return raf || (raf = (window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || function(i) {
@@ -8061,35 +8061,35 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8061
8061
  }), _ = () => {
8062
8062
  u.value && (u.value.innerHTML = convertDescription(x.value));
8063
8063
  }, g = () => {
8064
- d.localExpanded || (_(), (m() || C.value) && b());
8064
+ d.localExpanded || (_(), (m() || C.value) && P());
8065
8065
  }, y = () => {
8066
8066
  e.text && (d.offset = e.text.length, v(), e.autoResize && r.value && (addListener(r.value, g), d.unregisterResizeCallback = () => {
8067
8067
  r.value && removeListener(r.value, g);
8068
8068
  }), g());
8069
8069
  }, v = () => {
8070
8070
  d.unregisterResizeCallback?.();
8071
- }, m = () => !e.maxLines && !e.maxHeight || !r.value ? !1 : !!(e.maxLines && P() > e.maxLines || e.maxHeight && r.value.scrollHeight > r.value.offsetHeight), P = () => l.value ? Object.keys(
8071
+ }, m = () => !e.maxLines && !e.maxHeight || !r.value ? !1 : !!(e.maxLines && b() > e.maxLines || e.maxHeight && r.value.scrollHeight > r.value.offsetHeight), b = () => l.value ? Object.keys(
8072
8072
  Array.prototype.slice.call(l.value.getClientRects()).reduce((N, { top: D, bottom: L }) => {
8073
8073
  const B = `${D}/${L}`;
8074
8074
  return N[B] || (N[B] = !0), N;
8075
8075
  }, {})
8076
- ).length : 0, b = (...N) => {
8076
+ ).length : 0, P = (...N) => {
8077
8077
  const [D = 0, L = d.offset] = N;
8078
8078
  if (L - D <= 3) {
8079
8079
  E();
8080
8080
  return;
8081
8081
  }
8082
8082
  const B = Math.floor((L + D) / 2);
8083
- p(B), m() ? b(D, B) : b(B, L);
8083
+ p(B), m() ? P(D, B) : P(B, L);
8084
8084
  }, p = (N) => {
8085
8085
  d.offset = N, _();
8086
8086
  }, E = () => {
8087
8087
  T(), O();
8088
8088
  }, T = () => {
8089
- for (; (!m() || P() < 2) && d.offset < e.text.length; )
8089
+ for (; (!m() || b() < 2) && d.offset < e.text.length; )
8090
8090
  S(1);
8091
8091
  }, O = () => {
8092
- for (; m() && P() > 1 && d.offset > 0; )
8092
+ for (; m() && b() > 1 && d.offset > 0; )
8093
8093
  S(-1);
8094
8094
  }, S = (N) => {
8095
8095
  p(d.offset + N);
@@ -8299,15 +8299,15 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8299
8299
  ])
8300
8300
  ]),
8301
8301
  g.facilities ? (openBlock(), createElementBlock("ul", _hoisted_10$2, [
8302
- (openBlock(!0), createElementBlock(Fragment, null, renderList(g.facilities, ({ icon: m, name: P, subFacilities: b }) => (openBlock(), createElementBlock(Fragment, null, [
8303
- m ? withDirectives((openBlock(), createElementBlock("li", { key: P }, [
8302
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(g.facilities, ({ icon: m, name: b, subFacilities: P }) => (openBlock(), createElementBlock(Fragment, null, [
8303
+ m ? withDirectives((openBlock(), createElementBlock("li", { key: b }, [
8304
8304
  createVNode(Icon, {
8305
8305
  icon: m,
8306
8306
  color: "header"
8307
8307
  }, null, 8, ["icon"])
8308
8308
  ])), [
8309
8309
  [v, {
8310
- content: _(b),
8310
+ content: _(P),
8311
8311
  classes: ["tooltip", "konnectio-tooltip"],
8312
8312
  html: !0
8313
8313
  }]
@@ -8336,7 +8336,7 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8336
8336
  ], 2);
8337
8337
  };
8338
8338
  }
8339
- }), Base = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-72dff61f"]]), _hoisted_1$8 = { class: "konnectio-radio-checkboxes" }, _sfc_main$7 = /* @__PURE__ */ defineComponent({
8339
+ }), Base = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-eefcb8c1"]]), _hoisted_1$8 = { class: "konnectio-radio-checkboxes" }, _sfc_main$7 = /* @__PURE__ */ defineComponent({
8340
8340
  __name: "CheckboxField",
8341
8341
  props: {
8342
8342
  modelValue: {},
@@ -8385,49 +8385,49 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8385
8385
  },
8386
8386
  emits: ["reset"],
8387
8387
  setup(s, { emit: i }) {
8388
- const t = inject("emitter"), e = i, { headerHeight: n } = storeToRefs(useUtilityStore()), r = s, l = ref(0), u = ref(), d = computed$1(() => r.steps.filter((m) => !m.hidden)), f = computed$1(() => r.steps[l.value].id), _ = () => {
8389
- if (u.value) {
8390
- const m = n.value;
8391
- if (m && m > 0) {
8392
- const b = u.value.getBoundingClientRect().top + window.scrollY - m;
8388
+ const t = i, { headerHeight: e } = storeToRefs(useUtilityStore()), n = s, r = ref(0), l = ref(), u = computed$1(() => n.steps.filter((v) => !v.hidden)), d = computed$1(() => n.steps[r.value].id), f = () => {
8389
+ if (l.value) {
8390
+ const v = e.value;
8391
+ if (v && v > 0) {
8392
+ const b = l.value.getBoundingClientRect().top + window.scrollY - v;
8393
8393
  window.scrollTo({
8394
8394
  top: b,
8395
8395
  behavior: "smooth"
8396
8396
  });
8397
8397
  } else
8398
- u.value.scrollIntoView({ behavior: "smooth" });
8398
+ l.value.scrollIntoView({ behavior: "smooth" });
8399
8399
  }
8400
- }, g = (m = 1) => {
8401
- l.value = l.value + m, _();
8402
- }, y = (m = 1) => {
8403
- l.value = l.value - m, _();
8400
+ }, _ = (v = 1) => {
8401
+ r.value = r.value + v, f();
8402
+ }, g = (v = 1) => {
8403
+ r.value = r.value - v, f();
8404
8404
  };
8405
- function v() {
8406
- l.value = 0, _();
8407
- }
8408
- return t.on("scrollToTop", () => {
8409
- _();
8410
- }), watch(l, () => {
8411
- l.value === 0 && e("reset");
8412
- }), (m, P) => (openBlock(), createElementBlock("div", {
8405
+ function y() {
8406
+ r.value = 0, f();
8407
+ }
8408
+ return emitter.on("scrollToTop", () => {
8409
+ f();
8410
+ }), watch(r, () => {
8411
+ r.value === 0 && t("reset");
8412
+ }), (v, m) => (openBlock(), createElementBlock("div", {
8413
8413
  id: "konnectio-multi-step-form",
8414
8414
  ref_key: "multiStepForm",
8415
- ref: u
8415
+ ref: l
8416
8416
  }, [
8417
8417
  createBaseVNode("div", null, [
8418
8418
  createBaseVNode("header", _hoisted_1$7, [
8419
8419
  createBaseVNode("div", _hoisted_2$5, [
8420
8420
  createBaseVNode("div", null, [
8421
- m.title && m.layout !== unref(BookingHeaderLayout).Minimal ? (openBlock(), createElementBlock("h2", _hoisted_3$5, [
8422
- createBaseVNode("span", null, toDisplayString(m.title), 1)
8421
+ v.title && v.layout !== unref(BookingHeaderLayout).Minimal ? (openBlock(), createElementBlock("h2", _hoisted_3$5, [
8422
+ createBaseVNode("span", null, toDisplayString(v.title), 1)
8423
8423
  ])) : createCommentVNode("", !0),
8424
- m.subtitle && m.layout !== unref(BookingHeaderLayout).Minimal ? (openBlock(), createElementBlock("h5", _hoisted_4$4, [
8425
- createBaseVNode("span", null, toDisplayString(m.subtitle), 1)
8424
+ v.subtitle && v.layout !== unref(BookingHeaderLayout).Minimal ? (openBlock(), createElementBlock("h5", _hoisted_4$4, [
8425
+ createBaseVNode("span", null, toDisplayString(v.subtitle), 1)
8426
8426
  ])) : createCommentVNode("", !0),
8427
8427
  createBaseVNode("ul", _hoisted_5$3, [
8428
- (openBlock(!0), createElementBlock(Fragment, null, renderList(d.value, (b, p) => (openBlock(), createElementBlock("li", {
8428
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(u.value, (b, P) => (openBlock(), createElementBlock("li", {
8429
8429
  key: b.id,
8430
- class: normalizeClass({ "is-active": l.value >= p })
8430
+ class: normalizeClass({ "is-active": r.value >= P })
8431
8431
  }, [
8432
8432
  b.icon ? (openBlock(), createBlock(Icon, {
8433
8433
  key: 0,
@@ -8441,25 +8441,25 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8441
8441
  ])
8442
8442
  ]),
8443
8443
  createBaseVNode("ul", _hoisted_6$3, [
8444
- (openBlock(!0), createElementBlock(Fragment, null, renderList(m.steps, (b) => (openBlock(), createElementBlock("li", {
8444
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(v.steps, (b) => (openBlock(), createElementBlock("li", {
8445
8445
  key: b.id,
8446
8446
  class: "konnectio-multi-step-form-content-tab"
8447
8447
  }, [
8448
8448
  withDirectives(createBaseVNode("div", null, [
8449
- renderSlot(m.$slots, b.id, {
8450
- next: g,
8451
- prev: y,
8452
- reset: v
8449
+ renderSlot(v.$slots, b.id, {
8450
+ next: _,
8451
+ prev: g,
8452
+ reset: y
8453
8453
  }, void 0, !0)
8454
8454
  ], 512), [
8455
- [vShow, f.value === b.id]
8455
+ [vShow, d.value === b.id]
8456
8456
  ])
8457
8457
  ]))), 128))
8458
8458
  ])
8459
8459
  ])
8460
8460
  ], 512));
8461
8461
  }
8462
- }), MultiStepForm = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-78c5f36a"]]), Logo = "data:image/svg+xml,%3csvg%20id='b7c97208-3a12-46ef-b848-b5e1b5fc4d6a'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20500%20500'%3e%3ctitle%3ekonnectio-logo-gray%3c/title%3e%3cpolygon%20points='250%20250%20200%20300%20200%20200%20250%20250'%20style='fill:%23999'/%3e%3cpolygon%20points='200%20200%20200%20300%20150%20350%20150%20150%20200%20200'%20style='fill:%23858585'/%3e%3cpolygon%20points='150%20150%20150%20350%20100%20400%20100%20100%20150%20150'%20style='fill:%23707070'/%3e%3cpolygon%20points='100%20100%20100%20400%2050%20450%2050%2050%20100%20100'%20style='fill:%235c5c5c'/%3e%3cpolygon%20points='50%2050%2050%20450%200%20500%200%200%2050%2050'%20style='fill:%23474747'/%3e%3cpolygon%20points='250%20250%200%20500%20200%20500%20250%20450%20300%20500%20500%20500%20250%20250'%20style='fill:%23333'/%3e%3cpolygon%20points='300%200%20250%2050%20200%200%200%200%20250%20250%20500%200%20300%200'%20style='fill:%23adadad'/%3e%3cpath%20d='M250,462.5'%20style='fill:none'/%3e%3cpath%20d='M250,462.5'%20style='fill:none'/%3e%3c/svg%3e", _hoisted_1$6 = { class: "konnectio-brand" }, _hoisted_2$4 = ["src"], _hoisted_3$4 = { class: "konnectio-brand-text" }, _hoisted_4$3 = ["href"], _sfc_main$5 = /* @__PURE__ */ defineComponent({
8462
+ }), MultiStepForm = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-5e441aa5"]]), Logo = "data:image/svg+xml,%3csvg%20id='b7c97208-3a12-46ef-b848-b5e1b5fc4d6a'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20500%20500'%3e%3ctitle%3ekonnectio-logo-gray%3c/title%3e%3cpolygon%20points='250%20250%20200%20300%20200%20200%20250%20250'%20style='fill:%23999'/%3e%3cpolygon%20points='200%20200%20200%20300%20150%20350%20150%20150%20200%20200'%20style='fill:%23858585'/%3e%3cpolygon%20points='150%20150%20150%20350%20100%20400%20100%20100%20150%20150'%20style='fill:%23707070'/%3e%3cpolygon%20points='100%20100%20100%20400%2050%20450%2050%2050%20100%20100'%20style='fill:%235c5c5c'/%3e%3cpolygon%20points='50%2050%2050%20450%200%20500%200%200%2050%2050'%20style='fill:%23474747'/%3e%3cpolygon%20points='250%20250%200%20500%20200%20500%20250%20450%20300%20500%20500%20500%20250%20250'%20style='fill:%23333'/%3e%3cpolygon%20points='300%200%20250%2050%20200%200%200%200%20250%20250%20500%200%20300%200'%20style='fill:%23adadad'/%3e%3cpath%20d='M250,462.5'%20style='fill:none'/%3e%3cpath%20d='M250,462.5'%20style='fill:none'/%3e%3c/svg%3e", _hoisted_1$6 = { class: "konnectio-brand" }, _hoisted_2$4 = ["src"], _hoisted_3$4 = { class: "konnectio-brand-text" }, _hoisted_4$3 = ["href"], _sfc_main$5 = /* @__PURE__ */ defineComponent({
8463
8463
  __name: "PoweredByKonnectio",
8464
8464
  setup(s) {
8465
8465
  const { t: i } = useI18n(), t = computed$1(() => getUserLanguage() === "da" ? "https://konnectio.dk" : "https://konnectio.com");
@@ -9044,7 +9044,9 @@ const _hoisted_1$3 = {
9044
9044
  amount: f,
9045
9045
  voucher: _,
9046
9046
  isLoading: g
9047
- } = storeToRefs(useApplyGiftCardStore()), { apply: y, reset: v } = useApplyGiftCardStore(), m = useSlots(), P = useModel(s, "discountCode"), b = s, p = computed$1(() => b.basePrice - b.weekendFee - b.roomUpgrade), E = ref("discount"), T = computed$1(() => E.value === "discount"), O = computed$1(() => E.value === "gift-card"), S = computed$1(() => !t.value || !e.value), C = computed$1(() => !t.value && !e.value), x = (I) => E.value = I;
9047
+ } = storeToRefs(useApplyGiftCardStore()), { apply: y, reset: v } = useApplyGiftCardStore(), m = useSlots(), b = useModel(s, "discountCode"), P = s, p = computed$1(() => P.basePrice - P.weekendFee - P.roomUpgrade), E = ref("discount"), T = computed$1(() => E.value === "discount"), O = computed$1(() => E.value === "gift-card"), S = computed$1(() => !t.value || !e.value), C = computed$1(() => !t.value && !e.value), x = (I) => {
9048
+ E.value = I;
9049
+ };
9048
9050
  return onMounted(() => {
9049
9051
  e.value && x("gift-card");
9050
9052
  }), (I, R) => {
@@ -9183,8 +9185,8 @@ const _hoisted_1$3 = {
9183
9185
  default: withCtx(() => [
9184
9186
  T.value ? (openBlock(), createBlock(ActionField, {
9185
9187
  key: 0,
9186
- modelValue: P.value,
9187
- "onUpdate:modelValue": R[3] || (R[3] = (A) => P.value = A),
9188
+ modelValue: b.value,
9189
+ "onUpdate:modelValue": R[3] || (R[3] = (A) => b.value = A),
9188
9190
  icon: "tags",
9189
9191
  "button-icon": "paper-plane-top",
9190
9192
  placeholder: unref(i)("general.discountCodePlaceholder"),
@@ -9267,7 +9269,7 @@ const _hoisted_1$3 = {
9267
9269
  ]);
9268
9270
  };
9269
9271
  }
9270
- }), ReservationForm = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-b4c01bb0"]]), _hoisted_1$2 = {
9272
+ }), ReservationForm = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-a9c432c5"]]), _hoisted_1$2 = {
9271
9273
  id: "konnectio-confirmation",
9272
9274
  class: "konnectio-panel"
9273
9275
  }, _hoisted_2$1 = { id: "konnectio-confirmation-introduction" }, _hoisted_3$1 = { id: "konnectio-confirmation-title" }, _hoisted_4$1 = ["innerHTML"], _hoisted_5$1 = { class: "konnectio-order-panel" }, _hoisted_6$1 = { key: 0 }, _hoisted_7$1 = { class: "konnectio-order-panel" }, _hoisted_8$1 = { class: "konnectio-order-lines" }, _hoisted_9 = { key: 0 }, _hoisted_10 = { key: 1 }, _hoisted_11 = { key: 2 }, _hoisted_12 = {
@@ -9294,15 +9296,15 @@ const _hoisted_1$3 = {
9294
9296
  totalPrice: _,
9295
9297
  totalVAT: g,
9296
9298
  subTotalPrice: y
9297
- } = storeToRefs(usePaymentStore()), { currency: v } = storeToRefs(useUtilityStore()), { currentArrivalDate: m, currentDepartureDate: P } = storeToRefs(useHotelStore());
9298
- return (b, p) => (openBlock(), createElementBlock("div", _hoisted_1$2, [
9299
+ } = storeToRefs(usePaymentStore()), { currency: v } = storeToRefs(useUtilityStore()), { currentArrivalDate: m, currentDepartureDate: b } = storeToRefs(useHotelStore());
9300
+ return (P, p) => (openBlock(), createElementBlock("div", _hoisted_1$2, [
9299
9301
  createBaseVNode("div", _hoisted_2$1, [
9300
9302
  createBaseVNode("h2", _hoisted_3$1, [
9301
9303
  createBaseVNode("span", null, toDisplayString(unref(i)("general.thankYou")), 1)
9302
9304
  ]),
9303
9305
  createBaseVNode("div", {
9304
9306
  id: "konnectio-confirmation-message",
9305
- innerHTML: b.message
9307
+ innerHTML: P.message
9306
9308
  }, null, 8, _hoisted_4$1)
9307
9309
  ]),
9308
9310
  createBaseVNode("div", _hoisted_5$1, [
@@ -9318,9 +9320,9 @@ const _hoisted_1$3 = {
9318
9320
  createBaseVNode("span", null, toDisplayString(unref(i)("booking.reservation.detailsTitle")), 1)
9319
9321
  ]),
9320
9322
  createBaseVNode("ul", _hoisted_8$1, [
9321
- unref(m) && unref(P) ? (openBlock(), createElementBlock("li", _hoisted_9, [
9323
+ unref(m) && unref(b) ? (openBlock(), createElementBlock("li", _hoisted_9, [
9322
9324
  createBaseVNode("span", null, toDisplayString(unref(i)("general.date")), 1),
9323
- createBaseVNode("b", null, toDisplayString(unref(i)("general.datePeriod", { arrival: unref(showDate)(unref(m), 0, !0), departure: unref(showDate)(unref(P)) })), 1)
9325
+ createBaseVNode("b", null, toDisplayString(unref(i)("general.datePeriod", { arrival: unref(showDate)(unref(m), 0, !0), departure: unref(showDate)(unref(b)) })), 1)
9324
9326
  ])) : unref(f) ? (openBlock(), createElementBlock("li", _hoisted_10, [
9325
9327
  createBaseVNode("span", null, toDisplayString(unref(i)("general.date")), 1),
9326
9328
  createBaseVNode("b", null, toDisplayString(unref(showDate)(unref(f))), 1)
@@ -9704,8 +9706,8 @@ function requireGetSize() {
9704
9706
  s.exports ? s.exports = t() : i.getSize = t();
9705
9707
  })(window, function() {
9706
9708
  function t(v) {
9707
- var m = parseFloat(v), P = v.indexOf("%") == -1 && !isNaN(m);
9708
- return P && m;
9709
+ var m = parseFloat(v), b = v.indexOf("%") == -1 && !isNaN(m);
9710
+ return b && m;
9709
9711
  }
9710
9712
  function e() {
9711
9713
  }
@@ -9734,8 +9736,8 @@ function requireGetSize() {
9734
9736
  outerWidth: 0,
9735
9737
  outerHeight: 0
9736
9738
  }, m = 0; m < l; m++) {
9737
- var P = r[m];
9738
- v[P] = 0;
9739
+ var b = r[m];
9740
+ v[b] = 0;
9739
9741
  }
9740
9742
  return v;
9741
9743
  }
@@ -9751,8 +9753,8 @@ function requireGetSize() {
9751
9753
  v.style.width = "200px", v.style.padding = "1px 2px 3px 4px", v.style.borderStyle = "solid", v.style.borderWidth = "1px 2px 3px 4px", v.style.boxSizing = "border-box";
9752
9754
  var m = document.body || document.documentElement;
9753
9755
  m.appendChild(v);
9754
- var P = d(v);
9755
- _ = Math.round(t(P.width)) == 200, y.isBoxSizeOuter = _, m.removeChild(v);
9756
+ var b = d(v);
9757
+ _ = Math.round(t(b.width)) == 200, y.isBoxSizeOuter = _, m.removeChild(v);
9756
9758
  }
9757
9759
  }
9758
9760
  function y(v) {
@@ -9760,18 +9762,18 @@ function requireGetSize() {
9760
9762
  var m = d(v);
9761
9763
  if (m.display == "none")
9762
9764
  return u();
9763
- var P = {};
9764
- P.width = v.offsetWidth, P.height = v.offsetHeight;
9765
- for (var b = P.isBorderBox = m.boxSizing == "border-box", p = 0; p < l; p++) {
9765
+ var b = {};
9766
+ b.width = v.offsetWidth, b.height = v.offsetHeight;
9767
+ for (var P = b.isBorderBox = m.boxSizing == "border-box", p = 0; p < l; p++) {
9766
9768
  var E = r[p], T = m[E], O = parseFloat(T);
9767
- P[E] = isNaN(O) ? 0 : O;
9769
+ b[E] = isNaN(O) ? 0 : O;
9768
9770
  }
9769
- var S = P.paddingLeft + P.paddingRight, C = P.paddingTop + P.paddingBottom, x = P.marginLeft + P.marginRight, I = P.marginTop + P.marginBottom, R = P.borderLeftWidth + P.borderRightWidth, w = P.borderTopWidth + P.borderBottomWidth, A = b && _, N = t(m.width);
9770
- N !== !1 && (P.width = N + // add padding and border unless it's already including it
9771
+ var S = b.paddingLeft + b.paddingRight, C = b.paddingTop + b.paddingBottom, x = b.marginLeft + b.marginRight, I = b.marginTop + b.marginBottom, R = b.borderLeftWidth + b.borderRightWidth, w = b.borderTopWidth + b.borderBottomWidth, A = P && _, N = t(m.width);
9772
+ N !== !1 && (b.width = N + // add padding and border unless it's already including it
9771
9773
  (A ? 0 : S + R));
9772
9774
  var D = t(m.height);
9773
- return D !== !1 && (P.height = D + // add padding and border unless it's already including it
9774
- (A ? 0 : C + w)), P.innerWidth = P.width - (S + R), P.innerHeight = P.height - (C + w), P.outerWidth = P.width + x, P.outerHeight = P.height + I, P;
9775
+ return D !== !1 && (b.height = D + // add padding and border unless it's already including it
9776
+ (A ? 0 : C + w)), b.innerWidth = b.width - (S + R), b.innerHeight = b.height - (C + w), b.outerWidth = b.width + x, b.outerHeight = b.height + I, b;
9775
9777
  }
9776
9778
  }
9777
9779
  return y;
@@ -9878,17 +9880,17 @@ function requireUtils() {
9878
9880
  var l = t.console;
9879
9881
  return n.htmlInit = function(u, d) {
9880
9882
  n.docReady(function() {
9881
- var f = n.toDashed(d), _ = "data-" + f, g = document.querySelectorAll("[" + _ + "]"), y = document.querySelectorAll(".js-" + f), v = n.makeArray(g).concat(n.makeArray(y)), m = _ + "-options", P = t.jQuery;
9882
- v.forEach(function(b) {
9883
- var p = b.getAttribute(_) || b.getAttribute(m), E;
9883
+ var f = n.toDashed(d), _ = "data-" + f, g = document.querySelectorAll("[" + _ + "]"), y = document.querySelectorAll(".js-" + f), v = n.makeArray(g).concat(n.makeArray(y)), m = _ + "-options", b = t.jQuery;
9884
+ v.forEach(function(P) {
9885
+ var p = P.getAttribute(_) || P.getAttribute(m), E;
9884
9886
  try {
9885
9887
  E = p && JSON.parse(p);
9886
9888
  } catch (O) {
9887
- l && l.error("Error parsing " + _ + " on " + b.className + ": " + O);
9889
+ l && l.error("Error parsing " + _ + " on " + P.className + ": " + O);
9888
9890
  return;
9889
9891
  }
9890
- var T = new u(b, E);
9891
- P && P.data(b, d, T);
9892
+ var T = new u(P, E);
9893
+ b && b.data(P, d, T);
9892
9894
  });
9893
9895
  });
9894
9896
  }, n;
@@ -9907,8 +9909,8 @@ function requireItem() {
9907
9909
  i.getSize
9908
9910
  ));
9909
9911
  })(window, function(t, e) {
9910
- function n(b) {
9911
- for (var p in b)
9912
+ function n(P) {
9913
+ for (var p in P)
9912
9914
  return !1;
9913
9915
  return p = null, !0;
9914
9916
  }
@@ -9922,8 +9924,8 @@ function requireItem() {
9922
9924
  transitionProperty: l + "Property",
9923
9925
  transitionDelay: l + "Delay"
9924
9926
  };
9925
- function _(b, p) {
9926
- b && (this.element = b, this.layout = p, this.position = {
9927
+ function _(P, p) {
9928
+ P && (this.element = P, this.layout = p, this.position = {
9927
9929
  x: 0,
9928
9930
  y: 0
9929
9931
  }, this._create());
@@ -9937,39 +9939,39 @@ function requireItem() {
9937
9939
  }, this.css({
9938
9940
  position: "absolute"
9939
9941
  });
9940
- }, g.handleEvent = function(b) {
9941
- var p = "on" + b.type;
9942
- this[p] && this[p](b);
9942
+ }, g.handleEvent = function(P) {
9943
+ var p = "on" + P.type;
9944
+ this[p] && this[p](P);
9943
9945
  }, g.getSize = function() {
9944
9946
  this.size = e(this.element);
9945
- }, g.css = function(b) {
9947
+ }, g.css = function(P) {
9946
9948
  var p = this.element.style;
9947
- for (var E in b) {
9949
+ for (var E in P) {
9948
9950
  var T = f[E] || E;
9949
- p[T] = b[E];
9951
+ p[T] = P[E];
9950
9952
  }
9951
9953
  }, g.getPosition = function() {
9952
- var b = getComputedStyle(this.element), p = this.layout._getOption("originLeft"), E = this.layout._getOption("originTop"), T = b[p ? "left" : "right"], O = b[E ? "top" : "bottom"], S = parseFloat(T), C = parseFloat(O), x = this.layout.size;
9954
+ var P = getComputedStyle(this.element), p = this.layout._getOption("originLeft"), E = this.layout._getOption("originTop"), T = P[p ? "left" : "right"], O = P[E ? "top" : "bottom"], S = parseFloat(T), C = parseFloat(O), x = this.layout.size;
9953
9955
  T.indexOf("%") != -1 && (S = S / 100 * x.width), O.indexOf("%") != -1 && (C = C / 100 * x.height), S = isNaN(S) ? 0 : S, C = isNaN(C) ? 0 : C, S -= p ? x.paddingLeft : x.paddingRight, C -= E ? x.paddingTop : x.paddingBottom, this.position.x = S, this.position.y = C;
9954
9956
  }, g.layoutPosition = function() {
9955
- var b = this.layout.size, p = {}, E = this.layout._getOption("originLeft"), T = this.layout._getOption("originTop"), O = E ? "paddingLeft" : "paddingRight", S = E ? "left" : "right", C = E ? "right" : "left", x = this.position.x + b[O];
9957
+ var P = this.layout.size, p = {}, E = this.layout._getOption("originLeft"), T = this.layout._getOption("originTop"), O = E ? "paddingLeft" : "paddingRight", S = E ? "left" : "right", C = E ? "right" : "left", x = this.position.x + P[O];
9956
9958
  p[S] = this.getXValue(x), p[C] = "";
9957
- var I = T ? "paddingTop" : "paddingBottom", R = T ? "top" : "bottom", w = T ? "bottom" : "top", A = this.position.y + b[I];
9959
+ var I = T ? "paddingTop" : "paddingBottom", R = T ? "top" : "bottom", w = T ? "bottom" : "top", A = this.position.y + P[I];
9958
9960
  p[R] = this.getYValue(A), p[w] = "", this.css(p), this.emitEvent("layout", [this]);
9959
- }, g.getXValue = function(b) {
9961
+ }, g.getXValue = function(P) {
9960
9962
  var p = this.layout._getOption("horizontal");
9961
- return this.layout.options.percentPosition && !p ? b / this.layout.size.width * 100 + "%" : b + "px";
9962
- }, g.getYValue = function(b) {
9963
+ return this.layout.options.percentPosition && !p ? P / this.layout.size.width * 100 + "%" : P + "px";
9964
+ }, g.getYValue = function(P) {
9963
9965
  var p = this.layout._getOption("horizontal");
9964
- return this.layout.options.percentPosition && p ? b / this.layout.size.height * 100 + "%" : b + "px";
9965
- }, g._transitionTo = function(b, p) {
9966
+ return this.layout.options.percentPosition && p ? P / this.layout.size.height * 100 + "%" : P + "px";
9967
+ }, g._transitionTo = function(P, p) {
9966
9968
  this.getPosition();
9967
- var E = this.position.x, T = this.position.y, O = b == this.position.x && p == this.position.y;
9968
- if (this.setPosition(b, p), O && !this.isTransitioning) {
9969
+ var E = this.position.x, T = this.position.y, O = P == this.position.x && p == this.position.y;
9970
+ if (this.setPosition(P, p), O && !this.isTransitioning) {
9969
9971
  this.layoutPosition();
9970
9972
  return;
9971
9973
  }
9972
- var S = b - E, C = p - T, x = {};
9974
+ var S = P - E, C = p - T, x = {};
9973
9975
  x.transform = this.getTranslate(S, C), this.transition({
9974
9976
  to: x,
9975
9977
  onTransitionEnd: {
@@ -9977,56 +9979,56 @@ function requireItem() {
9977
9979
  },
9978
9980
  isCleaning: !0
9979
9981
  });
9980
- }, g.getTranslate = function(b, p) {
9982
+ }, g.getTranslate = function(P, p) {
9981
9983
  var E = this.layout._getOption("originLeft"), T = this.layout._getOption("originTop");
9982
- return b = E ? b : -b, p = T ? p : -p, "translate3d(" + b + "px, " + p + "px, 0)";
9983
- }, g.goTo = function(b, p) {
9984
- this.setPosition(b, p), this.layoutPosition();
9985
- }, g.moveTo = g._transitionTo, g.setPosition = function(b, p) {
9986
- this.position.x = parseFloat(b), this.position.y = parseFloat(p);
9987
- }, g._nonTransition = function(b) {
9988
- this.css(b.to), b.isCleaning && this._removeStyles(b.to);
9989
- for (var p in b.onTransitionEnd)
9990
- b.onTransitionEnd[p].call(this);
9991
- }, g.transition = function(b) {
9984
+ return P = E ? P : -P, p = T ? p : -p, "translate3d(" + P + "px, " + p + "px, 0)";
9985
+ }, g.goTo = function(P, p) {
9986
+ this.setPosition(P, p), this.layoutPosition();
9987
+ }, g.moveTo = g._transitionTo, g.setPosition = function(P, p) {
9988
+ this.position.x = parseFloat(P), this.position.y = parseFloat(p);
9989
+ }, g._nonTransition = function(P) {
9990
+ this.css(P.to), P.isCleaning && this._removeStyles(P.to);
9991
+ for (var p in P.onTransitionEnd)
9992
+ P.onTransitionEnd[p].call(this);
9993
+ }, g.transition = function(P) {
9992
9994
  if (!parseFloat(this.layout.options.transitionDuration)) {
9993
- this._nonTransition(b);
9995
+ this._nonTransition(P);
9994
9996
  return;
9995
9997
  }
9996
9998
  var p = this._transn;
9997
- for (var E in b.onTransitionEnd)
9998
- p.onEnd[E] = b.onTransitionEnd[E];
9999
- for (E in b.to)
10000
- p.ingProperties[E] = !0, b.isCleaning && (p.clean[E] = !0);
10001
- b.from && (this.css(b.from), this.element.offsetHeight), this.enableTransition(b.to), this.css(b.to), this.isTransitioning = !0;
9999
+ for (var E in P.onTransitionEnd)
10000
+ p.onEnd[E] = P.onTransitionEnd[E];
10001
+ for (E in P.to)
10002
+ p.ingProperties[E] = !0, P.isCleaning && (p.clean[E] = !0);
10003
+ P.from && (this.css(P.from), this.element.offsetHeight), this.enableTransition(P.to), this.css(P.to), this.isTransitioning = !0;
10002
10004
  };
10003
- function y(b) {
10004
- return b.replace(/([A-Z])/g, function(p) {
10005
+ function y(P) {
10006
+ return P.replace(/([A-Z])/g, function(p) {
10005
10007
  return "-" + p.toLowerCase();
10006
10008
  });
10007
10009
  }
10008
10010
  var v = "opacity," + y(u);
10009
10011
  g.enableTransition = function() {
10010
10012
  if (!this.isTransitioning) {
10011
- var b = this.layout.options.transitionDuration;
10012
- b = typeof b == "number" ? b + "ms" : b, this.css({
10013
+ var P = this.layout.options.transitionDuration;
10014
+ P = typeof P == "number" ? P + "ms" : P, this.css({
10013
10015
  transitionProperty: v,
10014
- transitionDuration: b,
10016
+ transitionDuration: P,
10015
10017
  transitionDelay: this.staggerDelay || 0
10016
10018
  }), this.element.addEventListener(d, this, !1);
10017
10019
  }
10018
- }, g.onwebkitTransitionEnd = function(b) {
10019
- this.ontransitionend(b);
10020
- }, g.onotransitionend = function(b) {
10021
- this.ontransitionend(b);
10020
+ }, g.onwebkitTransitionEnd = function(P) {
10021
+ this.ontransitionend(P);
10022
+ }, g.onotransitionend = function(P) {
10023
+ this.ontransitionend(P);
10022
10024
  };
10023
10025
  var m = {
10024
10026
  "-webkit-transform": "transform"
10025
10027
  };
10026
- g.ontransitionend = function(b) {
10027
- if (b.target === this.element) {
10028
- var p = this._transn, E = m[b.propertyName] || b.propertyName;
10029
- if (delete p.ingProperties[E], n(p.ingProperties) && this.disableTransition(), E in p.clean && (this.element.style[b.propertyName] = "", delete p.clean[E]), E in p.onEnd) {
10028
+ g.ontransitionend = function(P) {
10029
+ if (P.target === this.element) {
10030
+ var p = this._transn, E = m[P.propertyName] || P.propertyName;
10031
+ if (delete p.ingProperties[E], n(p.ingProperties) && this.disableTransition(), E in p.clean && (this.element.style[P.propertyName] = "", delete p.clean[E]), E in p.onEnd) {
10030
10032
  var T = p.onEnd[E];
10031
10033
  T.call(this), delete p.onEnd[E];
10032
10034
  }
@@ -10034,21 +10036,21 @@ function requireItem() {
10034
10036
  }
10035
10037
  }, g.disableTransition = function() {
10036
10038
  this.removeTransitionStyles(), this.element.removeEventListener(d, this, !1), this.isTransitioning = !1;
10037
- }, g._removeStyles = function(b) {
10039
+ }, g._removeStyles = function(P) {
10038
10040
  var p = {};
10039
- for (var E in b)
10041
+ for (var E in P)
10040
10042
  p[E] = "";
10041
10043
  this.css(p);
10042
10044
  };
10043
- var P = {
10045
+ var b = {
10044
10046
  transitionProperty: "",
10045
10047
  transitionDuration: "",
10046
10048
  transitionDelay: ""
10047
10049
  };
10048
10050
  return g.removeTransitionStyles = function() {
10049
- this.css(P);
10050
- }, g.stagger = function(b) {
10051
- b = isNaN(b) ? 0 : b, this.staggerDelay = b + "ms";
10051
+ this.css(b);
10052
+ }, g.stagger = function(P) {
10053
+ P = isNaN(P) ? 0 : P, this.staggerDelay = P + "ms";
10052
10054
  }, g.removeElem = function() {
10053
10055
  this.element.parentNode.removeChild(this.element), this.css({ display: "" }), this.emitEvent("remove", [this]);
10054
10056
  }, g.remove = function() {
@@ -10061,27 +10063,27 @@ function requireItem() {
10061
10063
  }), this.hide();
10062
10064
  }, g.reveal = function() {
10063
10065
  delete this.isHidden, this.css({ display: "" });
10064
- var b = this.layout.options, p = {}, E = this.getHideRevealTransitionEndProperty("visibleStyle");
10066
+ var P = this.layout.options, p = {}, E = this.getHideRevealTransitionEndProperty("visibleStyle");
10065
10067
  p[E] = this.onRevealTransitionEnd, this.transition({
10066
- from: b.hiddenStyle,
10067
- to: b.visibleStyle,
10068
+ from: P.hiddenStyle,
10069
+ to: P.visibleStyle,
10068
10070
  isCleaning: !0,
10069
10071
  onTransitionEnd: p
10070
10072
  });
10071
10073
  }, g.onRevealTransitionEnd = function() {
10072
10074
  this.isHidden || this.emitEvent("reveal");
10073
- }, g.getHideRevealTransitionEndProperty = function(b) {
10074
- var p = this.layout.options[b];
10075
+ }, g.getHideRevealTransitionEndProperty = function(P) {
10076
+ var p = this.layout.options[P];
10075
10077
  if (p.opacity)
10076
10078
  return "opacity";
10077
10079
  for (var E in p)
10078
10080
  return E;
10079
10081
  }, g.hide = function() {
10080
10082
  this.isHidden = !0, this.css({ display: "" });
10081
- var b = this.layout.options, p = {}, E = this.getHideRevealTransitionEndProperty("hiddenStyle");
10083
+ var P = this.layout.options, p = {}, E = this.getHideRevealTransitionEndProperty("hiddenStyle");
10082
10084
  p[E] = this.onHideTransitionEnd, this.transition({
10083
- from: b.visibleStyle,
10084
- to: b.hiddenStyle,
10085
+ from: P.visibleStyle,
10086
+ to: P.hiddenStyle,
10085
10087
  // keep hidden stuff hidden
10086
10088
  isCleaning: !0,
10087
10089
  onTransitionEnd: p
@@ -10232,7 +10234,7 @@ function requireOutlayer() {
10232
10234
  this.stagger = 0;
10233
10235
  return;
10234
10236
  }
10235
- return this.stagger = b(p), this.stagger;
10237
+ return this.stagger = P(p), this.stagger;
10236
10238
  }, v._positionItem = function(p, E, T, O, S) {
10237
10239
  O ? p.goTo(E, T) : (p.stagger(S * this.stagger), p.moveTo(E, T));
10238
10240
  }, v._postLayout = function() {
@@ -10388,18 +10390,18 @@ function requireOutlayer() {
10388
10390
  }
10389
10391
  return E.prototype = Object.create(p.prototype), E.prototype.constructor = E, E;
10390
10392
  }
10391
- var P = {
10393
+ var b = {
10392
10394
  ms: 1,
10393
10395
  s: 1e3
10394
10396
  };
10395
- function b(p) {
10397
+ function P(p) {
10396
10398
  if (typeof p == "number")
10397
10399
  return p;
10398
10400
  var E = p.match(/(^\d*\.?\d*)(\w*)/), T = E && E[1], O = E && E[2];
10399
10401
  if (!T.length)
10400
10402
  return 0;
10401
10403
  T = parseFloat(T);
10402
- var S = P[O] || 1;
10404
+ var S = b[O] || 1;
10403
10405
  return T * S;
10404
10406
  }
10405
10407
  return y.Item = l, y;
@@ -10451,8 +10453,8 @@ function requireMasonry() {
10451
10453
  for (var _ = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", g = this[_](f, l), y = {
10452
10454
  x: this.columnWidth * g.col,
10453
10455
  y: g.y
10454
- }, v = g.y + l.size.outerHeight, m = f + g.col, P = g.col; P < m; P++)
10455
- this.colYs[P] = v;
10456
+ }, v = g.y + l.size.outerHeight, m = f + g.col, b = g.col; b < m; b++)
10457
+ this.colYs[b] = v;
10456
10458
  return y;
10457
10459
  }, r._getTopColPosition = function(l) {
10458
10460
  var u = this._getTopColGroup(l), d = Math.min.apply(Math, u);
@@ -10484,8 +10486,8 @@ function requireMasonry() {
10484
10486
  y = Math.max(0, y);
10485
10487
  var v = Math.floor(g / this.columnWidth);
10486
10488
  v -= g % this.columnWidth ? 0 : 1, v = Math.min(this.cols - 1, v);
10487
- for (var m = this._getOption("originTop"), P = (m ? d.top : d.bottom) + u.outerHeight, b = y; b <= v; b++)
10488
- this.colYs[b] = Math.max(P, this.colYs[b]);
10489
+ for (var m = this._getOption("originTop"), b = (m ? d.top : d.bottom) + u.outerHeight, P = y; P <= v; P++)
10490
+ this.colYs[P] = Math.max(b, this.colYs[P]);
10489
10491
  }, r._getContainerSize = function() {
10490
10492
  this.maxY = Math.max.apply(Math, this.colYs);
10491
10493
  var l = {
@@ -10528,8 +10530,8 @@ function requireImagesloaded() {
10528
10530
  function(t, e) {
10529
10531
  var n = t.jQuery, r = t.console;
10530
10532
  function l(v, m) {
10531
- for (var P in m)
10532
- v[P] = m[P];
10533
+ for (var b in m)
10534
+ v[b] = m[b];
10533
10535
  return v;
10534
10536
  }
10535
10537
  var u = Array.prototype.slice;
@@ -10539,15 +10541,15 @@ function requireImagesloaded() {
10539
10541
  var m = typeof v == "object" && typeof v.length == "number";
10540
10542
  return m ? u.call(v) : [v];
10541
10543
  }
10542
- function f(v, m, P) {
10544
+ function f(v, m, b) {
10543
10545
  if (!(this instanceof f))
10544
- return new f(v, m, P);
10545
- var b = v;
10546
- if (typeof v == "string" && (b = document.querySelectorAll(v)), !b) {
10547
- r.error("Bad element for imagesLoaded " + (b || v));
10546
+ return new f(v, m, b);
10547
+ var P = v;
10548
+ if (typeof v == "string" && (P = document.querySelectorAll(v)), !P) {
10549
+ r.error("Bad element for imagesLoaded " + (P || v));
10548
10550
  return;
10549
10551
  }
10550
- this.elements = d(b), this.options = l({}, this.options), typeof m == "function" ? P = m : l(this.options, m), P && this.on("always", P), this.getImages(), n && (this.jqDeferred = new n.Deferred()), setTimeout(this.check.bind(this));
10552
+ this.elements = d(P), this.options = l({}, this.options), typeof m == "function" ? b = m : l(this.options, m), b && this.on("always", b), this.getImages(), n && (this.jqDeferred = new n.Deferred()), setTimeout(this.check.bind(this));
10551
10553
  }
10552
10554
  f.prototype = Object.create(e.prototype), f.prototype.options = {}, f.prototype.getImages = function() {
10553
10555
  this.images = [], this.elements.forEach(this.addElementImages, this);
@@ -10555,14 +10557,14 @@ function requireImagesloaded() {
10555
10557
  v.nodeName == "IMG" && this.addImage(v), this.options.background === !0 && this.addElementBackgroundImages(v);
10556
10558
  var m = v.nodeType;
10557
10559
  if (!(!m || !_[m])) {
10558
- for (var P = v.querySelectorAll("img"), b = 0; b < P.length; b++) {
10559
- var p = P[b];
10560
+ for (var b = v.querySelectorAll("img"), P = 0; P < b.length; P++) {
10561
+ var p = b[P];
10560
10562
  this.addImage(p);
10561
10563
  }
10562
10564
  if (typeof this.options.background == "string") {
10563
10565
  var E = v.querySelectorAll(this.options.background);
10564
- for (b = 0; b < E.length; b++) {
10565
- var T = E[b];
10566
+ for (P = 0; P < E.length; P++) {
10567
+ var T = E[P];
10566
10568
  this.addElementBackgroundImages(T);
10567
10569
  }
10568
10570
  }
@@ -10576,32 +10578,32 @@ function requireImagesloaded() {
10576
10578
  f.prototype.addElementBackgroundImages = function(v) {
10577
10579
  var m = getComputedStyle(v);
10578
10580
  if (m)
10579
- for (var P = /url\((['"])?(.*?)\1\)/gi, b = P.exec(m.backgroundImage); b !== null; ) {
10580
- var p = b && b[2];
10581
- p && this.addBackground(p, v), b = P.exec(m.backgroundImage);
10581
+ for (var b = /url\((['"])?(.*?)\1\)/gi, P = b.exec(m.backgroundImage); P !== null; ) {
10582
+ var p = P && P[2];
10583
+ p && this.addBackground(p, v), P = b.exec(m.backgroundImage);
10582
10584
  }
10583
10585
  }, f.prototype.addImage = function(v) {
10584
10586
  var m = new g(v);
10585
10587
  this.images.push(m);
10586
10588
  }, f.prototype.addBackground = function(v, m) {
10587
- var P = new y(v, m);
10588
- this.images.push(P);
10589
+ var b = new y(v, m);
10590
+ this.images.push(b);
10589
10591
  }, f.prototype.check = function() {
10590
10592
  var v = this;
10591
10593
  if (this.progressedCount = 0, this.hasAnyBroken = !1, !this.images.length) {
10592
10594
  this.complete();
10593
10595
  return;
10594
10596
  }
10595
- function m(P, b, p) {
10597
+ function m(b, P, p) {
10596
10598
  setTimeout(function() {
10597
- v.progress(P, b, p);
10599
+ v.progress(b, P, p);
10598
10600
  });
10599
10601
  }
10600
- this.images.forEach(function(P) {
10601
- P.once("progress", m), P.check();
10602
+ this.images.forEach(function(b) {
10603
+ b.once("progress", m), b.check();
10602
10604
  });
10603
- }, f.prototype.progress = function(v, m, P) {
10604
- this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !v.isLoaded, this.emitEvent("progress", [this, v, m]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, v), this.progressedCount == this.images.length && this.complete(), this.options.debug && r && r.log("progress: " + P, v, m);
10605
+ }, f.prototype.progress = function(v, m, b) {
10606
+ this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !v.isLoaded, this.emitEvent("progress", [this, v, m]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, v), this.progressedCount == this.images.length && this.complete(), this.options.debug && r && r.log("progress: " + b, v, m);
10605
10607
  }, f.prototype.complete = function() {
10606
10608
  var v = this.hasAnyBroken ? "fail" : "done";
10607
10609
  if (this.isComplete = !0, this.emitEvent(v, [this]), this.emitEvent("always", [this]), this.jqDeferred) {
@@ -10645,9 +10647,9 @@ function requireImagesloaded() {
10645
10647
  }, y.prototype.confirm = function(v, m) {
10646
10648
  this.isLoaded = v, this.emitEvent("progress", [this, this.element, m]);
10647
10649
  }, f.makeJQueryPlugin = function(v) {
10648
- v = v || t.jQuery, v && (n = v, n.fn.imagesLoaded = function(m, P) {
10649
- var b = new f(this, m, P);
10650
- return b.jqDeferred.promise(n(this));
10650
+ v = v || t.jQuery, v && (n = v, n.fn.imagesLoaded = function(m, b) {
10651
+ var P = new f(this, m, b);
10652
+ return P.jqDeferred.promise(n(this));
10651
10653
  });
10652
10654
  }, f.makeJQueryPlugin(), f;
10653
10655
  }
@@ -10679,7 +10681,7 @@ const ImageLoaded = /* @__PURE__ */ getDefaultExportFromCjs(imagesloadedExports)
10679
10681
  }), i;
10680
10682
  }, VueMasonryPlugin = {};
10681
10683
  VueMasonryPlugin.install = function(s, i) {
10682
- const t = mitt(), e = "VueMasonry", n = s;
10684
+ const t = _mitt(), e = "VueMasonry", n = s;
10683
10685
  n.directive("masonry", {
10684
10686
  props: ["transitionDuration", " itemSelector", "destroyDelay"],
10685
10687
  mounted: function(r, l) {
@@ -10695,10 +10697,10 @@ VueMasonryPlugin.install = function(s, i) {
10695
10697
  g();
10696
10698
  }, v = function(m) {
10697
10699
  t.off(`${EVENT_ADD}__${f}`, y), t.off(`${EVENT_REMOVE}__${f}`, y), t.off(`${EVENT_IMAGE_LOADED}__${f}`, y), t.off(`${EVENT_DESTROY}__${f}`, v);
10698
- const P = _ && !Number.isNaN(_) ? _ : 0;
10700
+ const b = _ && !Number.isNaN(_) ? _ : 0;
10699
10701
  setTimeout(function() {
10700
10702
  d.destroy();
10701
- }, P);
10703
+ }, b);
10702
10704
  };
10703
10705
  t.on(`${EVENT_ADD}__${f}`, y), t.on(`${EVENT_REMOVE}__${f}`, y), t.on(`${EVENT_IMAGE_LOADED}__${f}`, y), t.on(`${EVENT_DESTROY}__${f}`, v);
10704
10706
  },
@@ -10745,4 +10747,4 @@ export {
10745
10747
  StickyPlugin as a,
10746
10748
  ListingSkeleton as b
10747
10749
  };
10748
- //# sourceMappingURL=masonry.plugin-By72FzQ9.js.map
10750
+ //# sourceMappingURL=masonry.plugin-DvmJbfT_.js.map