@konnectio/core 4.0.119 → 4.1.0

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-yaTIHJvx.js → ActionField-Cpmt5Zg9.js} +3 -3
  2. package/dist/ActionField-Cpmt5Zg9.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-CV6IiFig.js → AvailabilitySkeleton-Vu5_xmgg.js} +6 -6
  4. package/dist/AvailabilitySkeleton-Vu5_xmgg.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-BZQdYoAp.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Csznyq5Z.js} +3 -3
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Csznyq5Z.js.br +0 -0
  7. package/dist/{CheckoutWindow-BLhGzw4p.js → CheckoutWindow-BzNZHnDo.js} +3 -3
  8. package/dist/CheckoutWindow-BzNZHnDo.js.br +0 -0
  9. package/dist/{ErrorMessage-CMNpag_d.js → ErrorMessage-Do6glE2a.js} +3 -3
  10. package/dist/ErrorMessage-Do6glE2a.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-5IKyXHH5.js → EventAvailabilityForm-Ctf4T1Y9.js} +4 -4
  12. package/dist/EventAvailabilityForm-Ctf4T1Y9.js.br +0 -0
  13. package/dist/{Field-CvoF7Glc.js → Field-3qj4q_Da.js} +4 -4
  14. package/dist/Field-3qj4q_Da.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-AECoPKDc.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CSJEkKWu.js} +6 -6
  16. package/dist/{SelectField.vue_vue_type_style_index_0_lang-B52OcB6R.js → SelectField.vue_vue_type_style_index_0_lang-CAOBBtwX.js} +6572 -6477
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-CAOBBtwX.js.br +0 -0
  18. package/dist/{TermsOfService-D_TOJHKs.js → TermsOfService-CxZCC2bU.js} +4 -4
  19. package/dist/_-CDHtcbcg.js +5 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-Iq1FI_VA.js → _.vue_vue_type_style_index_0_lang-d3sS0itn.js} +3 -3
  21. package/dist/availability.js +6 -6
  22. package/dist/availability.js.br +0 -0
  23. package/dist/cancel-reservation.js +28 -27
  24. package/dist/cancel-reservation.js.br +0 -0
  25. package/dist/deep-link.js +1 -1
  26. package/dist/deep-link.js.br +0 -0
  27. package/dist/event.js +384 -390
  28. package/dist/event.js.br +0 -0
  29. package/dist/gift-card-validation.js +9 -9
  30. package/dist/gift-card-validation.js.br +0 -0
  31. package/dist/gift-card.js +10 -10
  32. package/dist/gift-card.js.br +0 -0
  33. package/dist/{giftCard-DvqomDap.js → giftCard-C0XVvEDP.js} +3 -3
  34. package/dist/giftCard-C0XVvEDP.js.br +0 -0
  35. package/dist/hotel.js +1007 -982
  36. package/dist/hotel.js.br +0 -0
  37. package/dist/{masonry.plugin-rZZcRBGq.js → masonry.plugin-Djhh4bxD.js} +589 -555
  38. package/dist/masonry.plugin-Djhh4bxD.js.br +0 -0
  39. package/dist/{mitt-HQsLmGCg.js → mitt-Dv_UvJqG.js} +4532 -4443
  40. package/dist/mitt-Dv_UvJqG.js.br +0 -0
  41. package/dist/polyfill.js +1 -1
  42. package/dist/polyfill.js.br +0 -0
  43. package/dist/{style-Cc6LpDdk.js → style-DL_k5gwT.js} +2 -2
  44. package/dist/style-DL_k5gwT.js.br +0 -0
  45. package/dist/style.css +1 -1
  46. package/dist/style.css.br +0 -0
  47. package/package.json +24 -24
  48. package/dist/ActionField-yaTIHJvx.js.br +0 -0
  49. package/dist/AvailabilitySkeleton-CV6IiFig.js.br +0 -0
  50. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-BZQdYoAp.js.br +0 -0
  51. package/dist/CheckoutWindow-BLhGzw4p.js.br +0 -0
  52. package/dist/ErrorMessage-CMNpag_d.js.br +0 -0
  53. package/dist/EventAvailabilityForm-5IKyXHH5.js.br +0 -0
  54. package/dist/Field-CvoF7Glc.js.br +0 -0
  55. package/dist/SelectField.vue_vue_type_style_index_0_lang-B52OcB6R.js.br +0 -0
  56. package/dist/_-4AAzKjzk.js +0 -5
  57. package/dist/giftCard-DvqomDap.js.br +0 -0
  58. package/dist/masonry.plugin-rZZcRBGq.js.br +0 -0
  59. package/dist/mitt-HQsLmGCg.js.br +0 -0
  60. package/dist/style-Cc6LpDdk.js.br +0 -0
@@ -1,8 +1,8 @@
1
- import { d as defineComponent, P as resolveComponent, Q as h, R as Comment, U as Text, F as Fragment, V 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, O as inject, K as resolveDirective, W as reactive, X as onUnmounted, v as renderSlot, Y as normalizeStyle, M as nextTick, H as vShow, x as createTextVNode, Z as mergeModels, y as useSlots, _ as useModel, T as Transition, B as isRef, q as mitt } from "./mitt-HQsLmGCg.js";
2
- import { I as Icon, _ as _export_sfc, b as useHotelStore, f as useEventStore, T as TextField, K 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, y as useApplyGiftCardStore, d as Clickable, z as usePaymentStore } from "./SelectField.vue_vue_type_style_index_0_lang-B52OcB6R.js";
3
- import { B as Base$1, C as Checkbox, _ as _sfc_main$c } from "./CheckoutWindow-BLhGzw4p.js";
4
- import { A as ActionField } from "./ActionField-yaTIHJvx.js";
5
- import { E as Element$1 } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-AECoPKDc.js";
1
+ import { d as defineComponent, P as resolveComponent, Q as h, R as Comment, U as Text, F as Fragment, V 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, O as inject, K as resolveDirective, W as reactive, X as onUnmounted, v as renderSlot, Y as normalizeStyle, M as nextTick, H as vShow, x as createTextVNode, Z as mergeModels, y as useSlots, _ as useModel, T as Transition, B as isRef, q as mitt } from "./mitt-Dv_UvJqG.js";
2
+ import { I as Icon, _ as _export_sfc, b as useHotelStore, f as useEventStore, T as TextField, K 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, y as useApplyGiftCardStore, d as Clickable, z as usePaymentStore } from "./SelectField.vue_vue_type_style_index_0_lang-CAOBBtwX.js";
3
+ import { B as Base$1, C as Checkbox, _ as _sfc_main$c } from "./CheckoutWindow-BzNZHnDo.js";
4
+ import { A as ActionField } from "./ActionField-Cpmt5Zg9.js";
5
+ import { E as Element$1 } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CSJEkKWu.js";
6
6
  import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./_commonjsHelpers-DaMA6jEr.js";
7
7
  /*! *****************************************************************************
8
8
  Copyright (c) Microsoft Corporation.
@@ -143,7 +143,7 @@ var isUndefined = function(s) {
143
143
  if (d) {
144
144
  var f = 0;
145
145
  try {
146
- for (var g = __values$1(d), _ = g.next(); !_.done; _ = g.next()) {
146
+ for (var p = __values$1(d), _ = p.next(); !_.done; _ = p.next()) {
147
147
  var b = _.value;
148
148
  if (b === e) {
149
149
  d.splice(f, 1), d.length <= 0 && delete this._eventHandler[t];
@@ -157,7 +157,7 @@ var isUndefined = function(s) {
157
157
  };
158
158
  } finally {
159
159
  try {
160
- _ && !_.done && (r = g.return) && r.call(g);
160
+ _ && !_.done && (r = p.return) && r.call(p);
161
161
  } finally {
162
162
  if (n) throw n.error;
163
163
  }
@@ -343,12 +343,12 @@ function getLegacyAgent(s) {
343
343
  name: "unknown",
344
344
  version: "-1",
345
345
  majorVersion: -1
346
- }, r = findPreset(BROWSER_PRESETS, i), l = r.preset, u = r.version, d = findPreset(OS_PRESETS, i), f = d.preset, g = d.version, _ = findPreset(CHROMIUM_PRESETS, i);
346
+ }, r = findPreset(BROWSER_PRESETS, i), l = r.preset, u = r.version, d = findPreset(OS_PRESETS, i), f = d.preset, p = d.version, _ = findPreset(CHROMIUM_PRESETS, i);
347
347
  if (e.chromium = !!_.preset, e.chromiumVersion = _.version, !e.chromium) {
348
348
  var b = findPreset(WEBKIT_PRESETS, i);
349
349
  e.webkit = !!b.preset, e.webkitVersion = b.version;
350
350
  }
351
- return f && (n.name = f.id, n.version = g, n.majorVersion = parseInt(g, 10)), l && (e.name = l.id, e.version = u, e.webview && n.name === "ios" && e.name !== "safari" && (e.webview = !1)), e.majorVersion = parseInt(e.version, 10), {
351
+ return f && (n.name = f.id, n.version = p, n.majorVersion = parseInt(p, 10)), l && (e.name = l.id, e.version = u, e.webview && n.name === "ios" && e.name !== "safari" && (e.webview = !1)), e.majorVersion = parseInt(e.version, 10), {
352
352
  browser: e,
353
353
  os: n,
354
354
  isMobile: t,
@@ -378,10 +378,10 @@ function getClientHintsAgent(s) {
378
378
  var f = findPresetBrand(WEBKIT_PRESETS, t);
379
379
  l.webkit = !!f.brand, l.webkitVersion = f.version;
380
380
  }
381
- var g = find$1(OS_PRESETS, function(b) {
381
+ var p = find$1(OS_PRESETS, function(b) {
382
382
  return new RegExp("" + b.test, "g").exec(r);
383
383
  });
384
- u.name = g ? g.id : "";
384
+ u.name = p ? p.id : "";
385
385
  {
386
386
  var _ = findPresetBrand(BROWSER_PRESETS, t);
387
387
  l.name = _.brand || l.name, l.version = _.brand && s ? s.uaFullVersion : _.version;
@@ -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(), g = this._getRoundPos(t, e), _ = g.roundPos, b = g.roundDepa, v = d.moveTo(_, b), m = n?.event || f?.event || null, P = {
781
+ var u = this.animationManager, d = u.axisManager, f = u.getEventInfo(), p = this._getRoundPos(t, e), _ = p.roundPos, b = p.roundDepa, v = d.moveTo(_, b), m = n?.event || f?.event || null, P = {
782
782
  pos: v.pos,
783
783
  delta: v.delta,
784
784
  bounceRatio: this._getBounceRatio(v.pos),
@@ -790,9 +790,9 @@ var requestAnimationFrame$2 = function(s) {
790
790
  }
791
791
  // eslint-disable-line @typescript-eslint/no-empty-function
792
792
  }, y = new ComponentEvent$1("change", P);
793
- return this._axes.trigger(y), Object.keys(v.pos).forEach(function(p) {
794
- var E = v.pos[p];
795
- getObserver(l._axes, p, E).current = E;
793
+ return this._axes.trigger(y), Object.keys(v.pos).forEach(function(g) {
794
+ var E = v.pos[g];
795
+ getObserver(l._axes, g, E).current = E;
796
796
  }), m && d.set(P.set().destPos), !y.isCanceled();
797
797
  }, i.triggerAnimationStart = function(t) {
798
798
  var e = this._getRoundPos(t.destPos, t.depaPos), n = e.roundPos, r = e.roundDepa;
@@ -946,22 +946,22 @@ 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, g = n ? n.deltaY + l.y : l.y, _ = l.x, b = l.y, v = this._latestInterval, m = Date.now(), P = v ? m - v.timestamp : 0, y = n ? n.velocityX : 0, p = n ? n.velocityY : 0;
950
- return (!v || P >= VELOCITY_INTERVAL) && (v && (e = [(f - v.deltaX) / P, (g - v.deltaY) / P], y = 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, p = n ? n.deltaY + l.y : l.y, _ = l.x, b = l.y, v = this._latestInterval, m = Date.now(), P = v ? m - v.timestamp : 0, y = n ? n.velocityX : 0, g = n ? n.velocityY : 0;
950
+ return (!v || P >= VELOCITY_INTERVAL) && (v && (e = [(f - v.deltaX) / P, (p - v.deltaY) / P], y = e[0], g = e[1]), this._latestInterval = {
951
951
  timestamp: m,
952
952
  deltaX: f,
953
- deltaY: g
953
+ deltaY: p
954
954
  }), {
955
955
  srcEvent: t,
956
956
  scale: u,
957
957
  angle: d,
958
958
  center: r,
959
959
  deltaX: f,
960
- deltaY: g,
960
+ deltaY: p,
961
961
  offsetX: _,
962
962
  offsetY: b,
963
963
  velocityX: y,
964
- velocityY: p,
964
+ velocityY: g,
965
965
  preventSystemEvent: !0
966
966
  };
967
967
  }, i._getDistance = function(t, e) {
@@ -1203,8 +1203,8 @@ var InputObserver = /* @__PURE__ */ function() {
1203
1203
  event: e
1204
1204
  };
1205
1205
  if (r) {
1206
- var g = this._animationManager.getDuration(d, u);
1207
- this._animationManager.animateTo(d, g, f);
1206
+ var p = this._animationManager.getDuration(d, u);
1207
+ this._animationManager.animateTo(d, p, f);
1208
1208
  } else {
1209
1209
  var _ = !this._eventManager.triggerChange(d, u, f, !0);
1210
1210
  _ && (this._isStopped = !0, this._moveDistance = null, this._animationManager.finish(!1));
@@ -1217,8 +1217,8 @@ var InputObserver = /* @__PURE__ */ function() {
1217
1217
  l.__childrenAxesAlreadyReleased && (n = n.map(function() {
1218
1218
  return 0;
1219
1219
  }));
1220
- var u = this._axisManager.get(t.axes), d = this._axisManager.get(), f = this._animationManager.getDisplacement(n), g = toAxis(t.axes, f), _ = this._axisManager.get(this._axisManager.map(g, function(p, E, T) {
1221
- return E.circular && (E.circular[0] || E.circular[1]) ? u[T] + p : getInsidePosition(u[T] + p, E.range, E.circular, E.bounce);
1220
+ var u = this._axisManager.get(t.axes), d = this._axisManager.get(), f = this._animationManager.getDisplacement(n), p = toAxis(t.axes, f), _ = this._axisManager.get(this._axisManager.map(p, function(g, E, T) {
1221
+ return E.circular && (E.circular[0] || E.circular[1]) ? u[T] + g : getInsidePosition(u[T] + g, E.range, E.circular, E.bounce);
1222
1222
  }));
1223
1223
  l.__childrenAxesAlreadyReleased = !0;
1224
1224
  var b = this._animationManager.getDuration(_, u, r);
@@ -1321,14 +1321,14 @@ var InputObserver = /* @__PURE__ */ function() {
1321
1321
  if (!d && this.axisManager.every(f.destPos, function(_, b) {
1322
1322
  return isCircularable(_, b.range, b.circular);
1323
1323
  }) && console.warn("You can't stop the 'animation' event when 'circular' is true."), d && !equal(f.destPos, u)) {
1324
- var g = n?.event || null;
1324
+ var p = n?.event || null;
1325
1325
  this._animateLoop({
1326
1326
  depaPos: u,
1327
1327
  destPos: f.destPos,
1328
1328
  duration: f.duration,
1329
1329
  delta: this.axisManager.getDelta(u, f.destPos),
1330
- isTrusted: !!g,
1331
- inputEvent: g,
1330
+ isTrusted: !!p,
1331
+ inputEvent: p,
1332
1332
  input: n?.input || null
1333
1333
  }, function() {
1334
1334
  return r.animationEnd();
@@ -1344,8 +1344,8 @@ var InputObserver = /* @__PURE__ */ function() {
1344
1344
  return r[d] !== u;
1345
1345
  });
1346
1346
  return Object.keys(l).length ? (l = this.axisManager.map(l, function(u, d) {
1347
- var f = d.range, g = d.circular;
1348
- return g && (g[0] || g[1]) ? u : getInsidePosition(u, f, g);
1347
+ var f = d.range, p = d.circular;
1348
+ return p && (p[0] || p[1]) ? u : getInsidePosition(u, f, p);
1349
1349
  }), equal(l, r) ? this : (e > 0 ? this.animateTo(l, e) : (this.stopAnimation(), this.eventManager.triggerChange(l), this.finish(!1)), this)) : this;
1350
1350
  }, i.setBy = function(t, e) {
1351
1351
  return e === void 0 && (e = 0), this.setTo(map(this.axisManager.get(Object.keys(t)), function(n, r) {
@@ -1375,11 +1375,11 @@ var InputObserver = /* @__PURE__ */ function() {
1375
1375
  return d;
1376
1376
  }), l = this._initState(this._animateParam), u = function() {
1377
1377
  n._raf = null;
1378
- var d = n._animateParam, f = n._getNextState(l), g = !n.eventManager.triggerChange(f.pos, l.pos);
1378
+ var d = n._animateParam, f = n._getNextState(l), p = !n.eventManager.triggerChange(f.pos, l.pos);
1379
1379
  if (l = f, f.finished) {
1380
1380
  d.destPos = n._getFinalPos(d.destPos, r), equal(d.destPos, n.axisManager.get(Object.keys(d.destPos))) || n.eventManager.triggerChange(d.destPos, f.pos), e();
1381
1381
  return;
1382
- } else g ? n.finish(!1) : n._raf = requestAnimationFrame$2(u);
1382
+ } else p ? n.finish(!1) : n._raf = requestAnimationFrame$2(u);
1383
1383
  };
1384
1384
  u();
1385
1385
  } else
@@ -1388,8 +1388,8 @@ var InputObserver = /* @__PURE__ */ function() {
1388
1388
  var n = this, r = 1e-6, l = map(t, function(u, d) {
1389
1389
  if (u >= e[d] - r && u <= e[d] + r)
1390
1390
  return e[d];
1391
- var f = n._getRoundUnit(u, d), g = roundNumber(u, f);
1392
- return g;
1391
+ var f = n._getRoundUnit(u, d), p = roundNumber(u, f);
1392
+ return p;
1393
1393
  });
1394
1394
  return l;
1395
1395
  }, i._getRoundUnit = function(t, e) {
@@ -1423,8 +1423,8 @@ var InputObserver = /* @__PURE__ */ function() {
1423
1423
  this._initialEasingPer = this._prevEasingPer, r.delta = this.axisManager.getDelta(f, u), r.destPos = u;
1424
1424
  }
1425
1425
  if (e?.duration) {
1426
- var g = (l + this._durationOffset) / r.duration;
1427
- this._durationOffset = g * d - l, r.duration = d;
1426
+ var p = (l + this._durationOffset) / r.duration;
1427
+ this._durationOffset = p * d - l, r.duration = d;
1428
1428
  }
1429
1429
  }
1430
1430
  }, t._initState = function(e) {
@@ -1436,13 +1436,13 @@ 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, g = (f + this._durationOffset) / r.duration, _ = this._easing(g), b = this.axisManager.map(l, function(v, m, P) {
1440
- var y = g >= 1 ? u[P] : v + r.delta[P] * (_ - n._prevEasingPer) / (1 - n._initialEasingPer), p = getCirculatedPos(y, m.range, m.circular);
1441
- if (y !== p) {
1439
+ }), f = (/* @__PURE__ */ new Date()).getTime() - r.startTime, p = (f + this._durationOffset) / r.duration, _ = this._easing(p), b = this.axisManager.map(l, function(v, m, P) {
1440
+ var y = p >= 1 ? u[P] : v + r.delta[P] * (_ - n._prevEasingPer) / (1 - n._initialEasingPer), g = getCirculatedPos(y, m.range, m.circular);
1441
+ if (y !== g) {
1442
1442
  var E = d[P] * (m.range[1] - m.range[0]);
1443
1443
  u[P] -= E, l[P] -= E;
1444
1444
  }
1445
- return p;
1445
+ return g;
1446
1446
  });
1447
1447
  return this._prevEasingPer = _, {
1448
1448
  pos: b,
@@ -1577,13 +1577,13 @@ var InputObserver = /* @__PURE__ */ function() {
1577
1577
  this._dragged = !1, this._isOverThreshold = !1, this._observer.hold(this, d), this._atRightEdge = IS_IOS_SAFARI && d.center.x > window.innerWidth - f, this._attachWindowEvent(u), l && d.srcEvent.type !== "touchstart" && d.srcEvent.preventDefault(), u.prevEvent = d;
1578
1578
  }
1579
1579
  }, i._onPanmove = function(t) {
1580
- var e = this, n = this.options, r = n.iOSEdgeSwipeThreshold, l = n.preventClickOnDrag, u = n.releaseOnScroll, d = n.inputKey, f = n.inputButton, g = n.threshold, _ = n.thresholdAngle, b = this._activeEvent, v = b.onEventMove(t, d, f), m = b.getTouches(t, f);
1580
+ var e = this, n = this.options, r = n.iOSEdgeSwipeThreshold, l = n.preventClickOnDrag, u = n.releaseOnScroll, d = n.inputKey, f = n.inputButton, p = n.threshold, _ = n.thresholdAngle, b = this._activeEvent, v = b.onEventMove(t, d, f), m = b.getTouches(t, f);
1581
1581
  if (m === 0 || u && v && !v.srcEvent.cancelable) {
1582
1582
  this._onPanend(t);
1583
1583
  return;
1584
1584
  }
1585
1585
  if (!(!v || !this._enabled || m > 1)) {
1586
- var P = getDirectionByAngle(v.angle, _), y = useDirection(DIRECTION_HORIZONTAL, this._direction, P), p = useDirection(DIRECTION_VERTICAL, this._direction, P);
1586
+ var P = getDirectionByAngle(v.angle, _), y = useDirection(DIRECTION_HORIZONTAL, this._direction, P), g = useDirection(DIRECTION_VERTICAL, this._direction, P);
1587
1587
  if (b.prevEvent && IS_IOS_SAFARI) {
1588
1588
  var E = v.center.x < 0;
1589
1589
  if (E) {
@@ -1597,10 +1597,10 @@ var InputObserver = /* @__PURE__ */ function() {
1597
1597
  }, 100);
1598
1598
  }
1599
1599
  }
1600
- var O = this._getDistance([v.deltaX, v.deltaY], [y, p]), S = this._getOffset([v.offsetX, v.offsetY], [y, p]), C = S.some(function(x) {
1600
+ var O = this._getDistance([v.deltaX, v.deltaY], [y, g]), S = this._getOffset([v.offsetX, v.offsetY], [y, g]), C = S.some(function(x) {
1601
1601
  return x !== 0;
1602
1602
  });
1603
- C && (v.srcEvent.cancelable !== !1 && v.srcEvent.preventDefault(), v.srcEvent.stopPropagation()), v.preventSystemEvent = C, C && (this._isOverThreshold || O >= g) && (this._dragged = l, this._isOverThreshold = !0, this._observer.change(this, v, toAxis(this.axes, S))), b.prevEvent = v;
1603
+ C && (v.srcEvent.cancelable !== !1 && v.srcEvent.preventDefault(), v.srcEvent.stopPropagation()), v.preventSystemEvent = C, C && (this._isOverThreshold || O >= p) && (this._dragged = l, this._isOverThreshold = !0, this._observer.change(this, v, toAxis(this.axes, S))), b.prevEvent = v;
1604
1604
  }
1605
1605
  }, i._onPanend = function(t) {
1606
1606
  var e = this.options.inputButton, n = this._activeEvent;
@@ -1852,15 +1852,15 @@ var Loader = /* @__PURE__ */ function(s) {
1852
1852
  var f = n.getLoader(u, {
1853
1853
  prefix: r
1854
1854
  });
1855
- return f.check(), f.on("error", function(g) {
1856
- n.onError(d, g.target);
1857
- }).on("preReady", function(g) {
1855
+ return f.check(), f.on("error", function(p) {
1856
+ n.onError(d, p.target);
1857
+ }).on("preReady", function(p) {
1858
1858
  var _ = n.elementInfos[d];
1859
- _.hasLoading = g.hasLoading, _.isSkip = g.isSkip;
1859
+ _.hasLoading = p.hasLoading, _.isSkip = p.isSkip;
1860
1860
  var b = n.checkPreReady(d);
1861
1861
  n.onPreReadyElement(d), b && n.onPreReady();
1862
- }).on("ready", function(g) {
1863
- var _ = g.withPreReady, b = g.hasLoading, v = g.isSkip, m = n.elementInfos[d];
1862
+ }).on("ready", function(p) {
1863
+ var _ = p.withPreReady, b = p.hasLoading, v = p.isSkip, m = n.elementInfos[d];
1864
1864
  m.hasLoading = b, m.isSkip = v;
1865
1865
  var P = _ && n.checkPreReady(d), y = n.checkReady(d);
1866
1866
  _ && n.onPreReadyElement(d), n.onReadyElement(d), P && n.onPreReady(), y && n.onReady();
@@ -1900,25 +1900,25 @@ var Loader = /* @__PURE__ */ function(s) {
1900
1900
  var r = this, l = e.tagName.toLowerCase(), u = this.options.loaders, d = n.prefix, f = Object.keys(u);
1901
1901
  if (u[l])
1902
1902
  return new u[l](e, n);
1903
- var g = new ElementLoader(e, n), _ = toArray$1(e.querySelectorAll(f.join(", ")));
1904
- g.setHasLoading(_.some(function(m) {
1903
+ var p = new ElementLoader(e, n), _ = toArray$1(e.querySelectorAll(f.join(", ")));
1904
+ p.setHasLoading(_.some(function(m) {
1905
1905
  return hasLoadingAttribute(m, d);
1906
1906
  }));
1907
1907
  var b = !1, v = this.clone().on("error", function(m) {
1908
- g.onError(m.target);
1908
+ p.onError(m.target);
1909
1909
  }).on("ready", function() {
1910
- g.onReady(b);
1910
+ p.onReady(b);
1911
1911
  });
1912
- return g.on("requestChildren", function() {
1912
+ return p.on("requestChildren", function() {
1913
1913
  var m = getContentElements(e, f, r.options.prefix);
1914
1914
  v.check(m).on("preReady", function(P) {
1915
- b = P.isReady, b || g.onPreReady();
1915
+ b = P.isReady, b || p.onPreReady();
1916
1916
  });
1917
1917
  }).on("reqeustReadyChildren", function() {
1918
1918
  v.check(_);
1919
1919
  }).on("requestDestroy", function() {
1920
1920
  v.destroy();
1921
- }), g;
1921
+ }), p;
1922
1922
  }, t.clone = function() {
1923
1923
  return new i(__assign$2({}, this.options));
1924
1924
  }, t.checkPreReady = function(e) {
@@ -2055,22 +2055,22 @@ function __awaiter$1(s, i, t, e) {
2055
2055
  });
2056
2056
  }
2057
2057
  return new (t || (t = Promise))(function(r, l) {
2058
- function u(g) {
2058
+ function u(p) {
2059
2059
  try {
2060
- f(e.next(g));
2060
+ f(e.next(p));
2061
2061
  } catch (_) {
2062
2062
  l(_);
2063
2063
  }
2064
2064
  }
2065
- function d(g) {
2065
+ function d(p) {
2066
2066
  try {
2067
- f(e.throw(g));
2067
+ f(e.throw(p));
2068
2068
  } catch (_) {
2069
2069
  l(_);
2070
2070
  }
2071
2071
  }
2072
- function f(g) {
2073
- g.done ? r(g.value) : n(g.value).then(u, d);
2072
+ function f(p) {
2073
+ p.done ? r(p.value) : n(p.value).then(u, d);
2074
2074
  }
2075
2075
  f((e = e.apply(s, [])).next());
2076
2076
  });
@@ -2093,8 +2093,8 @@ function __generator$1(s, i) {
2093
2093
  return this;
2094
2094
  }), l;
2095
2095
  function u(f) {
2096
- return function(g) {
2097
- return d([f, g]);
2096
+ return function(p) {
2097
+ return d([f, p]);
2098
2098
  };
2099
2099
  }
2100
2100
  function d(f) {
@@ -2138,8 +2138,8 @@ function __generator$1(s, i) {
2138
2138
  continue;
2139
2139
  }
2140
2140
  f = i.call(s, t);
2141
- } catch (g) {
2142
- f = [6, g], n = 0;
2141
+ } catch (p) {
2142
+ f = [6, p], n = 0;
2143
2143
  } finally {
2144
2144
  e = r = 0;
2145
2145
  }
@@ -2264,6 +2264,8 @@ var CODE = {
2264
2264
  FREE_SCROLL: "freeScroll",
2265
2265
  STRICT: "strict"
2266
2266
  }, CLASS = {
2267
+ VIEWPORT: "flicking-viewport",
2268
+ CAMERA: "flicking-camera",
2267
2269
  VERTICAL: "vertical",
2268
2270
  HIDDEN: "flicking-hidden",
2269
2271
  DEFAULT_VIRTUAL: "flicking-panel"
@@ -2432,7 +2434,7 @@ var CODE = {
2432
2434
  return window.getComputedStyle(s) || s.currentStyle;
2433
2435
  }, setSize = function(s, i) {
2434
2436
  var t = i.width, e = i.height;
2435
- t != null && (isString(t) ? s.style.width = t : s.style.width = t + "px"), e != null && (isString(e) ? s.style.height = e : s.style.height = e + "px");
2437
+ s && (t != null && (isString(t) ? s.style.width = t : s.style.width = t + "px"), e != null && (isString(e) ? s.style.height = e : s.style.height = e + "px"));
2436
2438
  }, isBetween = function(s, i, t) {
2437
2439
  return s >= i && s <= t;
2438
2440
  }, circulateIndex = function(s, i) {
@@ -2448,8 +2450,8 @@ var CODE = {
2448
2450
  if (d)
2449
2451
  l = n ? u : u - f;
2450
2452
  else {
2451
- var g = t ? parseFloat(r.paddingLeft || "0") + parseFloat(r.paddingRight || "0") : parseFloat(r.paddingTop || "0") + parseFloat(r.paddingBottom || "0");
2452
- l = n ? u + g + f : u + g;
2453
+ var p = t ? parseFloat(r.paddingLeft || "0") + parseFloat(r.paddingRight || "0") : parseFloat(r.paddingTop || "0") + parseFloat(r.paddingBottom || "0");
2454
+ l = n ? u + p + f : u + p;
2453
2455
  }
2454
2456
  } else {
2455
2457
  var _ = t ? "Width" : "Height";
@@ -2836,8 +2838,8 @@ var State = /* @__PURE__ */ function() {
2836
2838
  var e = t.flicking, n = t.axesEvent, r = t.transitTo, l = n.delta[POSITION_KEY];
2837
2839
  if (l) {
2838
2840
  this._delta += l;
2839
- var u = e.camera, d = u.position, f = n.pos[POSITION_KEY], g = e.circularEnabled ? circulatePosition(f, u.range.min, u.range.max) : f;
2840
- u.lookAt(g);
2841
+ var u = e.camera, d = u.position, f = n.pos[POSITION_KEY], p = e.circularEnabled ? circulatePosition(f, u.range.min, u.range.max) : f;
2842
+ u.lookAt(p);
2841
2843
  var _ = new ComponentEvent$1(EVENTS.MOVE, {
2842
2844
  isTrusted: n.isTrusted,
2843
2845
  holding: this.holding,
@@ -2883,13 +2885,16 @@ var State = /* @__PURE__ */ function() {
2883
2885
  }
2884
2886
  var t = i.prototype;
2885
2887
  return t.onChange = function(e) {
2886
- var n = e.flicking, r = e.axesEvent, l = e.transitTo, u = r.inputEvent, d = n.horizontal ? u.offsetX : u.offsetY, f = new ComponentEvent$1(EVENTS.MOVE_START, {
2887
- isTrusted: r.isTrusted,
2888
- holding: this.holding,
2889
- direction: getDirection(0, -d),
2890
- axesEvent: r
2891
- });
2892
- n.trigger(f), f.isCanceled() ? l(STATE_TYPE.DISABLED) : l(STATE_TYPE.DRAGGING).onChange(e);
2888
+ var n = e.flicking, r = e.axesEvent, l = e.transitTo, u = r.inputEvent;
2889
+ if (u) {
2890
+ var d = n.horizontal ? u.offsetX : u.offsetY, f = new ComponentEvent$1(EVENTS.MOVE_START, {
2891
+ isTrusted: r.isTrusted,
2892
+ holding: this.holding,
2893
+ direction: getDirection(0, -d),
2894
+ axesEvent: r
2895
+ });
2896
+ n.trigger(f), f.isCanceled() ? l(STATE_TYPE.DISABLED) : l(STATE_TYPE.DRAGGING).onChange(e);
2897
+ }
2893
2898
  }, t.onRelease = function(e) {
2894
2899
  var n = e.flicking, r = e.axesEvent, l = e.transitTo;
2895
2900
  if (n.trigger(new ComponentEvent$1(EVENTS.HOLD_END, {
@@ -2904,18 +2909,18 @@ var State = /* @__PURE__ */ function() {
2904
2909
  }, t.onFinish = function(e) {
2905
2910
  var n, r, l = e.flicking, u = e.transitTo;
2906
2911
  if (u(STATE_TYPE.IDLE), !!this._releaseEvent) {
2907
- var d = this._releaseEvent, f = d.inputEvent.srcEvent, g;
2912
+ var d = this._releaseEvent, f = d.inputEvent.srcEvent, p;
2908
2913
  if (f.type === "touchend") {
2909
2914
  var _ = f, b = _.changedTouches[0];
2910
- g = document.elementFromPoint(b.clientX, b.clientY);
2915
+ p = document.elementFromPoint(b.clientX, b.clientY);
2911
2916
  } else
2912
- g = f.target;
2917
+ p = f.target;
2913
2918
  var v = l.renderer.panels, m = null;
2914
2919
  try {
2915
2920
  for (var P = __values(v), y = P.next(); !y.done; y = P.next()) {
2916
- var p = y.value;
2917
- if (p.contains(g)) {
2918
- m = p;
2921
+ var g = y.value;
2922
+ if (g.contains(p)) {
2923
+ m = g;
2919
2924
  break;
2920
2925
  }
2921
2926
  }
@@ -2959,9 +2964,9 @@ var State = /* @__PURE__ */ function() {
2959
2964
  return;
2960
2965
  }
2961
2966
  u(STATE_TYPE.ANIMATING);
2962
- var d = r.control, f = l.destPos[POSITION_KEY], g = Math.max(l.duration, r.duration);
2967
+ var d = r.control, f = l.destPos[POSITION_KEY], p = Math.max(l.duration, r.duration);
2963
2968
  try {
2964
- d.moveToPosition(f, g, l);
2969
+ d.moveToPosition(f, p, l);
2965
2970
  } catch {
2966
2971
  u(STATE_TYPE.IDLE), l.setTo((n = {}, n[POSITION_KEY] = r.camera.position, n), 0);
2967
2972
  }
@@ -2989,8 +2994,8 @@ var State = /* @__PURE__ */ function() {
2989
2994
  direction: getDirection(f.start, f.end),
2990
2995
  axesEvent: r
2991
2996
  }));
2992
- var g = this._targetPanel;
2993
- g && u.setActive(g, u.activePanel, r.isTrusted);
2997
+ var p = this._targetPanel;
2998
+ p && u.setActive(p, u.activePanel, r.isTrusted);
2994
2999
  }, i;
2995
3000
  }(State), DisabledState = /* @__PURE__ */ function(s) {
2996
3001
  __extends$2(i, s);
@@ -3231,7 +3236,7 @@ var State = /* @__PURE__ */ function() {
3231
3236
  easing: t.easing
3232
3237
  }), this._panInput = new PanInput(t.viewport.element, {
3233
3238
  inputType: t.inputType,
3234
- threshold: 1,
3239
+ threshold: t.dragThreshold,
3235
3240
  iOSEdgeSwipeThreshold: t.iOSEdgeSwipeThreshold,
3236
3241
  preventDefaultOnDrag: t.preventDefaultOnDrag,
3237
3242
  scale: t.horizontal ? [t.camera.panelOrder === ORDER.RTL ? 1 : -1, 0] : [0, -1],
@@ -3241,10 +3246,10 @@ var State = /* @__PURE__ */ function() {
3241
3246
  r.connect(t.horizontal ? [POSITION_KEY, ""] : ["", POSITION_KEY], this._panInput);
3242
3247
  var l = function(d) {
3243
3248
  var f = EVENT[d];
3244
- r.on(f, function(g) {
3249
+ r.on(f, function(p) {
3245
3250
  n._stateMachine.fire(f, {
3246
3251
  flicking: t,
3247
- axesEvent: g
3252
+ axesEvent: p
3248
3253
  });
3249
3254
  });
3250
3255
  };
@@ -3289,8 +3294,8 @@ var State = /* @__PURE__ */ function() {
3289
3294
  return Promise.reject(new FlickingError(MESSAGE.NOT_ATTACHED_TO_FLICKING, CODE.NOT_ATTACHED_TO_FLICKING));
3290
3295
  var f = u.get([POSITION_KEY])[POSITION_KEY];
3291
3296
  if (f === t) {
3292
- var g = getFlickingAttached(this._flicking);
3293
- return g.camera.lookAt(t), d.targetPanel && g.control.setActive(d.targetPanel, g.control.activePanel, (l = n?.isTrusted) !== null && l !== void 0 ? l : !1), Promise.resolve();
3297
+ var p = getFlickingAttached(this._flicking);
3298
+ return p.camera.lookAt(t), d.targetPanel && p.control.setActive(d.targetPanel, p.control.activePanel, (l = n?.isTrusted) !== null && l !== void 0 ? l : !1), Promise.resolve();
3294
3299
  }
3295
3300
  this._animatingContext = {
3296
3301
  start: f,
@@ -3444,23 +3449,23 @@ var State = /* @__PURE__ */ function() {
3444
3449
  }, i.copy = function(t) {
3445
3450
  this._flicking = t._flicking, this._activePanel = t._activePanel, this._controller = t._controller;
3446
3451
  }, i._triggerIndexChangeEvent = function(t, e, n, r) {
3447
- var l, u = getFlickingAttached(this._flicking), d = t !== this._activePanel ? EVENTS.WILL_CHANGE : EVENTS.WILL_RESTORE, f = u.camera, g = this._activePanel, _ = new ComponentEvent$1(d, {
3452
+ var l, u = getFlickingAttached(this._flicking), d = t !== this._activePanel ? EVENTS.WILL_CHANGE : EVENTS.WILL_RESTORE, f = u.camera, p = this._activePanel, _ = new ComponentEvent$1(d, {
3448
3453
  index: t.index,
3449
3454
  panel: t,
3450
3455
  isTrusted: n?.isTrusted || !1,
3451
- direction: r ?? getDirection((l = g?.position) !== null && l !== void 0 ? l : f.position, e)
3456
+ direction: r ?? getDirection((l = p?.position) !== null && l !== void 0 ? l : f.position, e)
3452
3457
  });
3453
3458
  if (this._nextPanel = t, u.trigger(_), _.isCanceled())
3454
3459
  throw new FlickingError(MESSAGE.STOP_CALLED_BY_USER, CODE.STOP_CALLED_BY_USER);
3455
3460
  }, i._animateToPosition = function(t) {
3456
3461
  var e = t.position, n = t.duration, r = t.newActivePanel, l = t.axesEvent;
3457
3462
  return __awaiter$1(this, void 0, void 0, function() {
3458
- var u, d, f, g = this;
3463
+ var u, d, f, p = this;
3459
3464
  return __generator$1(this, function(_) {
3460
3465
  return u = getFlickingAttached(this._flicking), d = function() {
3461
- return g._controller.animateTo(e, n, l);
3466
+ return p._controller.animateTo(e, n, l);
3462
3467
  }, f = this._controller.state, f.targetPanel = r, n <= 0 ? [2, d()] : [2, d().then(function() {
3463
- return __awaiter$1(g, void 0, void 0, function() {
3468
+ return __awaiter$1(p, void 0, void 0, function() {
3464
3469
  return __generator$1(this, function(b) {
3465
3470
  switch (b.label) {
3466
3471
  case 0:
@@ -3487,10 +3492,10 @@ var State = /* @__PURE__ */ function() {
3487
3492
  if (!r.canReach(t))
3488
3493
  l = u.position, t = u.panel;
3489
3494
  else if (n.circularEnabled) {
3490
- var d = this._controller.position, f = r.rangeDiff, g = [l, l + f, l - f].filter(function(_) {
3495
+ var d = this._controller.position, f = r.rangeDiff, p = [l, l + f, l - f].filter(function(_) {
3491
3496
  return e === DIRECTION.NONE ? !0 : e === DIRECTION.PREV ? _ <= d : _ >= d;
3492
3497
  });
3493
- l = g.reduce(function(_, b) {
3498
+ l = p.reduce(function(_, b) {
3494
3499
  return Math.abs(d - b) < Math.abs(d - _) ? b : _;
3495
3500
  }, 1 / 0);
3496
3501
  }
@@ -3562,10 +3567,10 @@ var State = /* @__PURE__ */ function() {
3562
3567
  enumerable: !1,
3563
3568
  configurable: !0
3564
3569
  }), t.moveToPosition = function(e, n, r) {
3565
- var l = getFlickingAttached(this._flicking), u = l.camera, d = u.findActiveAnchor(), f = u.findNearestAnchor(u.position), g = this._controller.state;
3570
+ var l = getFlickingAttached(this._flicking), u = l.camera, d = u.findActiveAnchor(), f = u.findNearestAnchor(u.position), p = this._controller.state;
3566
3571
  if (!d || !f)
3567
3572
  return Promise.reject(new FlickingError(MESSAGE.POSITION_NOT_REACHABLE(e), CODE.POSITION_NOT_REACHABLE));
3568
- var _ = this._calcSnapThreshold(l.threshold, e, d), b = l.animating ? g.delta : e - u.position, v = Math.abs(b), m = r && r.delta[POSITION_KEY] !== 0 ? Math.abs(r.delta[POSITION_KEY]) : v, P;
3573
+ var _ = this._calcSnapThreshold(l.threshold, e, d), b = l.animating ? p.delta : e - u.position, v = Math.abs(b), m = r && r.delta[POSITION_KEY] !== 0 ? Math.abs(r.delta[POSITION_KEY]) : v, P;
3569
3574
  if (m >= _ && m > 0)
3570
3575
  P = this._findSnappedAnchor(e, f);
3571
3576
  else if (v >= l.threshold && v > 0)
@@ -3582,16 +3587,16 @@ var State = /* @__PURE__ */ function() {
3582
3587
  axesEvent: r
3583
3588
  });
3584
3589
  }, t._findSnappedAnchor = function(e, n) {
3585
- var r = getFlickingAttached(this._flicking), l = r.camera, u = this._count, d = l.position, f = l.clampToReachablePosition(e), g = l.findAnchorIncludePosition(f);
3586
- if (!n || !g)
3590
+ var r = getFlickingAttached(this._flicking), l = r.camera, u = this._count, d = l.position, f = l.clampToReachablePosition(e), p = l.findAnchorIncludePosition(f);
3591
+ if (!n || !p)
3587
3592
  throw new FlickingError(MESSAGE.POSITION_NOT_REACHABLE(e), CODE.POSITION_NOT_REACHABLE);
3588
3593
  if (!isFinite(u))
3589
- return g;
3594
+ return p;
3590
3595
  var _ = r.panelCount, b = l.anchorPoints, v = Math.sign(e - d) * Math.floor(Math.abs(e - d) / l.rangeDiff);
3591
- e > d && g.index < n.index || g.position > n.position && g.index === n.index ? v += 1 : (e < d && g.index > n.index || g.position < n.position && g.index === n.index) && (v -= 1);
3592
- var m = v * _, P = g.index + m;
3596
+ e > d && p.index < n.index || p.position > n.position && p.index === n.index ? v += 1 : (e < d && p.index > n.index || p.position < n.position && p.index === n.index) && (v -= 1);
3597
+ var m = v * _, P = p.index + m;
3593
3598
  if (Math.abs(P - n.index) <= u) {
3594
- var y = b[g.index];
3599
+ var y = b[p.index];
3595
3600
  return new AnchorPoint({
3596
3601
  index: y.index,
3597
3602
  position: y.position + v * l.rangeDiff,
@@ -3599,11 +3604,11 @@ var State = /* @__PURE__ */ function() {
3599
3604
  });
3600
3605
  }
3601
3606
  if (r.circularEnabled) {
3602
- var p = b[circulateIndex(n.index + Math.sign(e - d) * u, _)], E = Math.floor(u / _);
3603
- return e > d && p.index < n.index ? E += 1 : e < d && p.index > n.index && (E -= 1), new AnchorPoint({
3604
- index: p.index,
3605
- position: p.position + E * l.rangeDiff,
3606
- panel: p.panel
3607
+ var g = b[circulateIndex(n.index + Math.sign(e - d) * u, _)], E = Math.floor(u / _);
3608
+ return e > d && g.index < n.index ? E += 1 : e < d && g.index > n.index && (E -= 1), new AnchorPoint({
3609
+ index: g.index,
3610
+ position: g.position + E * l.rangeDiff,
3611
+ panel: g.panel
3607
3612
  });
3608
3613
  } else
3609
3614
  return b[clamp(n.index + Math.sign(e - d) * u, 0, b.length - 1)];
@@ -3614,8 +3619,8 @@ var State = /* @__PURE__ */ function() {
3614
3619
  if (f && f.position !== r.position)
3615
3620
  return f;
3616
3621
  }
3617
- var g = (l = n > 0 ? d.getNextAnchor(r) : d.getPrevAnchor(r)) !== null && l !== void 0 ? l : r;
3618
- return g;
3622
+ var p = (l = n > 0 ? d.getNextAnchor(r) : d.getPrevAnchor(r)) !== null && l !== void 0 ? l : r;
3623
+ return p;
3619
3624
  }, t._calcSnapThreshold = function(e, n, r) {
3620
3625
  var l = n > r.position, u = r.panel, d = u.size, f = u.alignPosition;
3621
3626
  return Math.max(e, l ? d - f + u.margin.next : f + u.margin.prev);
@@ -3652,11 +3657,11 @@ var State = /* @__PURE__ */ function() {
3652
3657
  var l = getFlickingAttached(this._flicking), u = l.camera, d = u.clampToReachablePosition(e), f = u.findAnchorIncludePosition(d);
3653
3658
  if (!f)
3654
3659
  return Promise.reject(new FlickingError(MESSAGE.POSITION_NOT_REACHABLE(e), CODE.POSITION_NOT_REACHABLE));
3655
- var g = f.panel;
3656
- return g !== this._activePanel && this._triggerIndexChangeEvent(g, e, r), this._animateToPosition({
3660
+ var p = f.panel;
3661
+ return p !== this._activePanel && this._triggerIndexChangeEvent(p, e, r), this._animateToPosition({
3657
3662
  position: this._stopAtEdge ? d : e,
3658
3663
  duration: n,
3659
- newActivePanel: g,
3664
+ newActivePanel: p,
3660
3665
  axesEvent: r
3661
3666
  });
3662
3667
  }, i;
@@ -3687,17 +3692,17 @@ var State = /* @__PURE__ */ function() {
3687
3692
  }), t.destroy = function() {
3688
3693
  s.prototype.destroy.call(this), this._resetIndexRange();
3689
3694
  }, t.updateInput = function() {
3690
- var e, n = getFlickingAttached(this._flicking), r = n.camera, l = n.renderer, u = this._controller, d = r.controlParams, f = this._count, g = u.state.animating ? (e = r.findNearestAnchor(r.position)) === null || e === void 0 ? void 0 : e.panel : this._activePanel;
3691
- if (!g)
3695
+ var e, n = getFlickingAttached(this._flicking), r = n.camera, l = n.renderer, u = this._controller, d = r.controlParams, f = this._count, p = u.state.animating ? (e = r.findNearestAnchor(r.position)) === null || e === void 0 ? void 0 : e.panel : this._activePanel;
3696
+ if (!p)
3692
3697
  return u.update(d), this._resetIndexRange(), this;
3693
- var _ = d.range, b = g.position, v = g.index, m = l.panelCount, P = v - f, y = v + f;
3698
+ var _ = d.range, b = p.position, v = p.index, m = l.panelCount, P = v - f, y = v + f;
3694
3699
  P < 0 && (P = n.circularEnabled ? getMinusCompensatedIndex((P + 1) % m - 1, m) : clamp(P, 0, m - 1)), y >= m && (y = n.circularEnabled ? y % m : clamp(y, 0, m - 1));
3695
- var p = l.panels[P], E = l.panels[y], T = Math.max(p.position, _.min), O = Math.min(E.position, _.max);
3700
+ var g = l.panels[P], E = l.panels[y], T = Math.max(g.position, _.min), O = Math.min(E.position, _.max);
3696
3701
  return T > b && (T -= r.rangeDiff), O < b && (O += r.rangeDiff), d.range = {
3697
3702
  min: T,
3698
3703
  max: O
3699
3704
  }, d.circular && (d.position < T && (d.position += r.rangeDiff), d.position > O && (d.position -= r.rangeDiff)), d.circular = !1, u.update(d), this._indexRange = {
3700
- min: p.index,
3705
+ min: g.index,
3701
3706
  max: E.index
3702
3707
  }, this;
3703
3708
  }, t.moveToPanel = function(e, n) {
@@ -3708,10 +3713,10 @@ var State = /* @__PURE__ */ function() {
3708
3713
  });
3709
3714
  });
3710
3715
  }, t.moveToPosition = function(e, n, r) {
3711
- var l, u = getFlickingAttached(this._flicking), d = u.camera, f = (l = this._nextPanel) !== null && l !== void 0 ? l : this._activePanel, g = this._controller.range, _ = this._indexRange, b = d.range, v = this._controller.state, m = clamp(d.clampToReachablePosition(e), g[0], g[1]), P = d.findAnchorIncludePosition(m);
3716
+ var l, u = getFlickingAttached(this._flicking), d = u.camera, f = (l = this._nextPanel) !== null && l !== void 0 ? l : this._activePanel, p = this._controller.range, _ = this._indexRange, b = d.range, v = this._controller.state, m = clamp(d.clampToReachablePosition(e), p[0], p[1]), P = d.findAnchorIncludePosition(m);
3712
3717
  if (!P || !f)
3713
3718
  return Promise.reject(new FlickingError(MESSAGE.POSITION_NOT_REACHABLE(e), CODE.POSITION_NOT_REACHABLE));
3714
- var y = f.position, p = u.animating ? v.delta : e - d.position, E = Math.abs(p) >= u.threshold, T = e > y ? d.getNextAnchor(P) : d.getPrevAnchor(P), O, S, C = d.anchorPoints, x = C[0], I = C[C.length - 1], R = e <= b.min && isBetween(x.panel.index, _.min, _.max), w = e >= b.max && isBetween(I.panel.index, _.min, _.max), A = T && (_.min <= _.max ? isBetween(T.index, _.min, _.max) : T.index >= _.min || T.index <= _.max);
3719
+ var y = f.position, g = u.animating ? v.delta : e - d.position, E = Math.abs(g) >= u.threshold, T = e > y ? d.getNextAnchor(P) : d.getPrevAnchor(P), O, S, C = d.anchorPoints, x = C[0], I = C[C.length - 1], R = e <= b.min && isBetween(x.panel.index, _.min, _.max), w = e >= b.max && isBetween(I.panel.index, _.min, _.max), A = T && (_.min <= _.max ? isBetween(T.index, _.min, _.max) : T.index >= _.min || T.index <= _.max);
3715
3720
  if (R || w) {
3716
3721
  var N = e < b.min ? x : I;
3717
3722
  S = N.panel, O = N.position;
@@ -3808,8 +3813,8 @@ var State = /* @__PURE__ */ function() {
3808
3813
  var e = this._flicking, n = e.renderer, r = n.panels;
3809
3814
  if (r.length <= 0)
3810
3815
  return !1;
3811
- var l = r[0], u = r[r.length - 1], d = l.range.min - l.margin.prev, f = u.range.max + u.margin.next, g = e.camera.size, _ = f - d, b = r.every(function(v) {
3812
- return _ - v.size >= g;
3816
+ var l = r[0], u = r[r.length - 1], d = l.range.min - l.margin.prev, f = u.range.max + u.margin.next, p = e.camera.size, _ = f - d, b = r.every(function(v) {
3817
+ return _ - v.size >= p;
3813
3818
  });
3814
3819
  return b;
3815
3820
  }, t.getRange = function() {
@@ -3837,14 +3842,14 @@ var State = /* @__PURE__ */ function() {
3837
3842
  var n = this._flicking.camera, r = n.anchorPoints;
3838
3843
  if (r.length <= 0) return null;
3839
3844
  for (var l = n.range, u = 1 / 0, d = -1, f = 0; f < r.length; f++) {
3840
- var g = r[f], _ = Math.min(Math.abs(g.position - e), Math.abs(g.position - l.min + l.max - e), Math.abs(e - l.min + l.max - g.position));
3845
+ var p = r[f], _ = Math.min(Math.abs(p.position - e), Math.abs(p.position - l.min + l.max - e), Math.abs(e - l.min + l.max - p.position));
3841
3846
  _ < u && (u = _, d = f);
3842
3847
  }
3843
3848
  return r[d];
3844
3849
  }, t.findAnchorIncludePosition = function(e) {
3845
- var n = this._flicking.camera, r = n.range, l = n.anchorPoints, u = n.rangeDiff, d = l.length, f = circulatePosition(e, r.min, r.max), g = s.prototype.findAnchorIncludePosition.call(this, f);
3850
+ var n = this._flicking.camera, r = n.range, l = n.anchorPoints, u = n.rangeDiff, d = l.length, f = circulatePosition(e, r.min, r.max), p = s.prototype.findAnchorIncludePosition.call(this, f);
3846
3851
  if (d > 0 && (e === r.min || e === r.max)) {
3847
- var _ = [g, new AnchorPoint({
3852
+ var _ = [p, new AnchorPoint({
3848
3853
  index: 0,
3849
3854
  position: l[0].position + u,
3850
3855
  panel: l[0].panel
@@ -3855,27 +3860,27 @@ var State = /* @__PURE__ */ function() {
3855
3860
  })].filter(function(v) {
3856
3861
  return !!v;
3857
3862
  });
3858
- g = _.reduce(function(v, m) {
3863
+ p = _.reduce(function(v, m) {
3859
3864
  return v && Math.abs(v.position - e) < Math.abs(m.position - e) ? v : m;
3860
3865
  }, null);
3861
3866
  }
3862
- if (!g) return null;
3867
+ if (!p) return null;
3863
3868
  if (e < r.min) {
3864
3869
  var b = -Math.floor((r.min - e) / u) - 1;
3865
3870
  return new AnchorPoint({
3866
- index: g.index,
3867
- position: g.position + u * b,
3868
- panel: g.panel
3871
+ index: p.index,
3872
+ position: p.position + u * b,
3873
+ panel: p.panel
3869
3874
  });
3870
3875
  } else if (e > r.max) {
3871
3876
  var b = Math.floor((e - r.max) / u) + 1;
3872
3877
  return new AnchorPoint({
3873
- index: g.index,
3874
- position: g.position + u * b,
3875
- panel: g.panel
3878
+ index: p.index,
3879
+ position: p.position + u * b,
3880
+ panel: p.panel
3876
3881
  });
3877
3882
  }
3878
- return g;
3883
+ return p;
3879
3884
  }, t.getCircularOffset = function() {
3880
3885
  var e = this._flicking, n = e.camera;
3881
3886
  if (!n.circularEnabled) return 0;
@@ -3909,7 +3914,7 @@ var State = /* @__PURE__ */ function() {
3909
3914
  var e = this._flicking, n = e.renderer, r = n.getPanel(0), l = n.getPanel(n.panelCount - 1);
3910
3915
  if (!r || !l)
3911
3916
  return !1;
3912
- var u = e.camera.size, d = r.range.min, f = l.range.max, g = f - d, _ = u < g;
3917
+ var u = e.camera.size, d = r.range.min, f = l.range.max, p = f - d, _ = u < p;
3913
3918
  return _;
3914
3919
  }, t.getRange = function() {
3915
3920
  var e = this._flicking, n = e.renderer, r = e.camera.alignPosition, l = n.getPanel(0), u = n.getPanel(n.panelCount - 1);
@@ -3918,16 +3923,16 @@ var State = /* @__PURE__ */ function() {
3918
3923
  min: 0,
3919
3924
  max: 0
3920
3925
  };
3921
- var d = e.camera.size, f = l.range.min, g = u.range.max, _ = g - f, b = d < _, v = f + r, m = g - d + r;
3926
+ var d = e.camera.size, f = l.range.min, p = u.range.max, _ = p - f, b = d < _, v = f + r, m = p - d + r;
3922
3927
  if (b)
3923
3928
  return {
3924
3929
  min: v,
3925
3930
  max: m
3926
3931
  };
3927
- var P = e.camera.align, y = typeof P == "object" ? P.camera : P, p = v + parseAlign$1(y, m - v);
3932
+ var P = e.camera.align, y = typeof P == "object" ? P.camera : P, g = v + parseAlign$1(y, m - v);
3928
3933
  return {
3929
- min: p,
3930
- max: p
3934
+ min: g,
3935
+ max: g
3931
3936
  };
3932
3937
  }, t.getAnchors = function() {
3933
3938
  var e = this._flicking, n = e.camera, r = e.renderer.panels;
@@ -3937,9 +3942,9 @@ var State = /* @__PURE__ */ function() {
3937
3942
  return n.canReach(P);
3938
3943
  });
3939
3944
  if (u.length > 0) {
3940
- var d = u[0].position !== l.min, f = u[u.length - 1].position !== l.max, g = d ? 1 : 0, _ = u.map(function(P, y) {
3945
+ var d = u[0].position !== l.min, f = u[u.length - 1].position !== l.max, p = d ? 1 : 0, _ = u.map(function(P, y) {
3941
3946
  return new AnchorPoint({
3942
- index: y + g,
3947
+ index: y + p,
3943
3948
  position: P.position,
3944
3949
  panel: P
3945
3950
  });
@@ -3985,12 +3990,12 @@ var State = /* @__PURE__ */ function() {
3985
3990
  }(CameraMode), Camera = /* @__PURE__ */ function() {
3986
3991
  function s(t, e) {
3987
3992
  var n = this, r = (e === void 0 ? {} : e).align, l = r === void 0 ? ALIGN.CENTER : r;
3988
- this._checkTranslateSupport = function() {
3989
- var u, d, f = ["webkitTransform", "msTransform", "MozTransform", "OTransform", "transform"], g = document.documentElement.style, _ = "";
3993
+ this._lookedOffset = 0, this._checkTranslateSupport = function() {
3994
+ var u, d, f = ["webkitTransform", "msTransform", "MozTransform", "OTransform", "transform"], p = document.documentElement.style, _ = "";
3990
3995
  try {
3991
3996
  for (var b = __values(f), v = b.next(); !v.done; v = b.next()) {
3992
3997
  var m = v.value;
3993
- m in g && (_ = m);
3998
+ m in p && (_ = m);
3994
3999
  }
3995
4000
  } catch (P) {
3996
4001
  u = {
@@ -4218,14 +4223,14 @@ var State = /* @__PURE__ */ function() {
4218
4223
  var t = this._flicking, e = this._position + this._offset, n = this.findNearestAnchor(this._position);
4219
4224
  if (!t || !n)
4220
4225
  return NaN;
4221
- var r = n.panel, l = r.position + r.offset, u = t.control.controller.bounce, d = this.range, f = d.min, g = d.max, _ = this.rangeDiff;
4226
+ var r = n.panel, l = r.position + r.offset, u = t.control.controller.bounce, d = this.range, f = d.min, p = d.max, _ = this.rangeDiff;
4222
4227
  if (e === l)
4223
4228
  return r.index;
4224
4229
  if (e < l) {
4225
4230
  var b = r.prev(), v = b ? b.position + b.offset : f - u[0];
4226
4231
  return v > l && (v -= _), r.index - 1 + getProgress(e, v, l);
4227
4232
  } else {
4228
- var m = r.next(), P = m ? m.position + m.offset : g + u[1];
4233
+ var m = r.next(), P = m ? m.position + m.offset : p + u[1];
4229
4234
  return P < l && (P += _), r.index + getProgress(e, l, P);
4230
4235
  }
4231
4236
  },
@@ -4265,12 +4270,12 @@ var State = /* @__PURE__ */ function() {
4265
4270
  }, i.destroy = function() {
4266
4271
  return this._resetInternalValues(), this;
4267
4272
  }, i.lookAt = function(t) {
4268
- var e = this, n = getFlickingAttached(this._flicking), r = this._position;
4273
+ var e = this, n = this._offset, r = this._lookedOffset !== n, l = getFlickingAttached(this._flicking), u = this._position;
4269
4274
  this._position = t;
4270
- var l = this._togglePanels(r, t);
4271
- this._refreshVisiblePanels(), this._checkNeedPanel(), this._checkReachEnd(r, t), l ? n.renderer.render().then(function() {
4272
- e.updateOffset();
4273
- }) : this.applyTransform();
4275
+ var d = this._togglePanels(u, t);
4276
+ this._refreshVisiblePanels(), this._checkNeedPanel(), this._checkReachEnd(u, t), d ? l.renderer.render().then(function() {
4277
+ e.updateOffset(), e._lookedOffset = e._offset;
4278
+ }) : r ? (this.updateOffset(), this._lookedOffset = this._offset) : this.applyTransform();
4274
4279
  }, i.getPrevAnchor = function(t) {
4275
4280
  if (!this._circularEnabled || t.index !== 0)
4276
4281
  return this._anchors[t.index - 1] || null;
@@ -4319,10 +4324,15 @@ var State = /* @__PURE__ */ function() {
4319
4324
  }, i.updateAnchors = function() {
4320
4325
  return this._anchors = this._mode.getAnchors(), this;
4321
4326
  }, i.updateAdaptiveHeight = function() {
4322
- var t = getFlickingAttached(this._flicking), e = t.control.activePanel;
4323
- !t.horizontal || !t.adaptive || !e || t.viewport.setSize({
4324
- height: e.height
4325
- });
4327
+ var t = getFlickingAttached(this._flicking), e = t.control.activePanel, n = t.visiblePanels, r = __spread(n);
4328
+ if (e && r.push(e), !(!t.horizontal || !t.adaptive || !r.length)) {
4329
+ var l = Math.max.apply(Math, __spread(r.map(function(u) {
4330
+ return u.height;
4331
+ })));
4332
+ t.viewport.setSize({
4333
+ height: l
4334
+ });
4335
+ }
4326
4336
  }, i.updateOffset = function() {
4327
4337
  var t = getFlickingAttached(this._flicking), e = this._position, n = t.panels.filter(function(r) {
4328
4338
  return !r.rendered;
@@ -4348,7 +4358,7 @@ var State = /* @__PURE__ */ function() {
4348
4358
  var r = this._position - this._alignPos - this._offset + this._circularOffset;
4349
4359
  return t.style[this._transform] = e.horizontal ? "translate(" + (this._panelOrder === ORDER.RTL ? r : -r) + "px)" : "translate(0, " + -r + "px)", this;
4350
4360
  }, i._resetInternalValues = function() {
4351
- this._position = 0, this._alignPos = 0, this._offset = 0, this._circularOffset = 0, this._circularEnabled = !1, this._range = {
4361
+ this._position = 0, this._lookedOffset = 0, this._alignPos = 0, this._offset = 0, this._circularOffset = 0, this._circularEnabled = !1, this._range = {
4352
4362
  min: 0,
4353
4363
  max: 0
4354
4364
  }, this._visiblePanels = [], this._anchors = [], this._needPanelTriggered = {
@@ -4384,7 +4394,7 @@ var State = /* @__PURE__ */ function() {
4384
4394
  })), t.next = !0);
4385
4395
  return;
4386
4396
  }
4387
- var r = this._position, l = this.size, u = this._range, d = e.needPanelThreshold, f = r - this._alignPos, g = f + l, _ = n[0], b = n[n.length - 1];
4397
+ var r = this._position, l = this.size, u = this._range, d = e.needPanelThreshold, f = r - this._alignPos, p = f + l, _ = n[0], b = n[n.length - 1];
4388
4398
  if (!t.prev) {
4389
4399
  var v = _.range.min;
4390
4400
  (f <= v + d || r <= u.min + d) && (e.trigger(new ComponentEvent$1(EVENTS.NEED_PANEL, {
@@ -4393,7 +4403,7 @@ var State = /* @__PURE__ */ function() {
4393
4403
  }
4394
4404
  if (!t.next) {
4395
4405
  var m = b.range.max;
4396
- (g >= m - d || r >= u.max - d) && (e.trigger(new ComponentEvent$1(EVENTS.NEED_PANEL, {
4406
+ (p >= m - d || r >= u.max - d) && (e.trigger(new ComponentEvent$1(EVENTS.NEED_PANEL, {
4397
4407
  direction: DIRECTION.NEXT
4398
4408
  })), t.next = !0);
4399
4409
  }
@@ -4531,9 +4541,9 @@ var State = /* @__PURE__ */ function() {
4531
4541
  }, i.batchInsertDefer = function() {
4532
4542
  for (var t = this, e = [], n = 0; n < arguments.length; n++)
4533
4543
  e[n] = arguments[n];
4534
- var r = this._panels, l = getFlickingAttached(this._flicking), u = r[0], d = parsePanelAlign(this._align), f = e.reduce(function(g, _) {
4535
- var b, v = getMinusCompensatedIndex(_.index, r.length), m = r.slice(v), P = _.elements.map(function(p, E) {
4536
- return t._createPanel(p, {
4544
+ var r = this._panels, l = getFlickingAttached(this._flicking), u = r[0], d = parsePanelAlign(this._align), f = e.reduce(function(p, _) {
4545
+ var b, v = getMinusCompensatedIndex(_.index, r.length), m = r.slice(v), P = _.elements.map(function(g, E) {
4546
+ return t._createPanel(g, {
4537
4547
  index: v + E,
4538
4548
  align: d,
4539
4549
  flicking: l
@@ -4543,12 +4553,12 @@ var State = /* @__PURE__ */ function() {
4543
4553
  var y = u || P[0].resize();
4544
4554
  t._updatePanelSizeByGrid(y, P);
4545
4555
  } else
4546
- P.forEach(function(p) {
4547
- return p.resize();
4556
+ P.forEach(function(g) {
4557
+ return g.resize();
4548
4558
  });
4549
- return m.forEach(function(p) {
4550
- p.increaseIndex(P.length), p.updatePosition();
4551
- }), __spread(g, P);
4559
+ return m.forEach(function(g) {
4560
+ g.increaseIndex(P.length), g.updatePosition();
4561
+ }), __spread(p, P);
4552
4562
  }, []);
4553
4563
  return f;
4554
4564
  }, i.batchRemove = function() {
@@ -4559,13 +4569,13 @@ var State = /* @__PURE__ */ function() {
4559
4569
  }, i.batchRemoveDefer = function() {
4560
4570
  for (var t = this, e = [], n = 0; n < arguments.length; n++)
4561
4571
  e[n] = arguments[n];
4562
- var r = this._panels, l = getFlickingAttached(this._flicking), u = l.control, d = u.activePanel, f = e.reduce(function(g, _) {
4572
+ var r = this._panels, l = getFlickingAttached(this._flicking), u = l.control, d = u.activePanel, f = e.reduce(function(p, _) {
4563
4573
  var b = _.index, v = _.deleteCount, m = getMinusCompensatedIndex(b, r.length), P = r.slice(m + v), y = r.splice(m, v);
4564
- return y.length <= 0 ? [] : (P.forEach(function(p) {
4565
- p.decreaseIndex(y.length), p.updatePosition();
4566
- }), _.hasDOMInElements && t._removePanelElements(y), y.forEach(function(p) {
4567
- return p.destroy();
4568
- }), includes(y, d) && u.resetActive(), __spread(g, y));
4574
+ return y.length <= 0 ? [] : (P.forEach(function(g) {
4575
+ g.decreaseIndex(y.length), g.updatePosition();
4576
+ }), _.hasDOMInElements && t._removePanelElements(y), y.forEach(function(g) {
4577
+ return g.destroy();
4578
+ }), includes(y, d) && u.resetActive(), __spread(p, y));
4569
4579
  }, []);
4570
4580
  return f;
4571
4581
  }, i.updateAfterPanelChange = function(t, e) {
@@ -4575,8 +4585,8 @@ var State = /* @__PURE__ */ function() {
4575
4585
  if (d.length <= 0)
4576
4586
  l.lookAt(0);
4577
4587
  else {
4578
- var g = (n = f?.index) !== null && n !== void 0 ? n : 0;
4579
- g > d.length - 1 && (g = d.length - 1), u.moveToPanel(d[g], {
4588
+ var p = (n = f?.index) !== null && n !== void 0 ? n : 0;
4589
+ p > d.length - 1 && (p = d.length - 1), u.moveToPanel(d[p], {
4580
4590
  duration: 0
4581
4591
  }).catch(function() {
4582
4592
  });
@@ -4607,8 +4617,8 @@ var State = /* @__PURE__ */ function() {
4607
4617
  d.destroy();
4608
4618
  return;
4609
4619
  }
4610
- var g = t[f.index], _ = n.camera, b = n.control, v = b.activePanel ? _.getProgressInPanel(b.activePanel) : 0;
4611
- g.loading = !1, g.resize(), l.slice(g.index + 1).forEach(function(m) {
4620
+ var p = t[f.index], _ = n.camera, b = n.control, v = b.activePanel ? _.getProgressInPanel(b.activePanel) : 0;
4621
+ p.loading = !1, p.resize(), l.slice(p.index + 1).forEach(function(m) {
4612
4622
  return m.updatePosition();
4613
4623
  }), n.initialized && (_.updateRange(), _.updateOffset(), _.updateAnchors(), b.animating || (b.updatePosition(v), b.updateInput()));
4614
4624
  }), d.on("preReady", function(f) {
@@ -4639,14 +4649,14 @@ var State = /* @__PURE__ */ function() {
4639
4649
  width: d
4640
4650
  } : {
4641
4651
  height: d
4642
- }, g = __assign$1({
4652
+ }, p = __assign$1({
4643
4653
  size: d,
4644
4654
  margin: t.margin
4645
4655
  }, !n.horizontal && {
4646
4656
  height: t.height
4647
4657
  });
4648
4658
  n.noPanelStyleOverride || this._strategy.updatePanelSizes(n, f), n.panels.forEach(function(_) {
4649
- return _.resize(g);
4659
+ return _.resize(p);
4650
4660
  });
4651
4661
  }
4652
4662
  }, i._removeAllChildsFromCamera = function() {
@@ -4998,6 +5008,8 @@ var State = /* @__PURE__ */ function() {
4998
5008
  this._rendered = !1, this._elProvider.hide(this._flicking);
4999
5009
  }, i.resize = function(t) {
5000
5010
  var e, n = this.element, r = this._flicking, l = r.horizontal, u = r.useFractionalSize;
5011
+ if (!n)
5012
+ return this;
5001
5013
  if (t)
5002
5014
  this._size = t.size, this._margin = __assign$1({}, t.margin), this._height = (e = t.height) !== null && e !== void 0 ? e : getElementSize({
5003
5015
  el: n,
@@ -5069,8 +5081,8 @@ var State = /* @__PURE__ */ function() {
5069
5081
  var t = this._flicking;
5070
5082
  if (!t.circularEnabled)
5071
5083
  return this._toggleDirection = DIRECTION.NONE, this._togglePosition = 0, this._toggled = !1, this;
5072
- var e = t.camera, n = e.range, r = e.alignPosition, l = e.visibleRange, u = l.max - l.min, d = n.min - r, f = n.max - r + u, g = this.includeRange(f - u, f, !1), _ = this.includeRange(d, d + u, !1);
5073
- return this._toggled = !1, g ? (this._toggleDirection = DIRECTION.PREV, this._togglePosition = this.range.max + n.min - n.max + r, this.toggle(1 / 0, e.position)) : _ ? (this._toggleDirection = DIRECTION.NEXT, this._togglePosition = this.range.min + n.max - u + r, this.toggle(-1 / 0, e.position)) : (this._toggleDirection = DIRECTION.NONE, this._togglePosition = 0), this;
5084
+ var e = t.camera, n = e.range, r = e.alignPosition, l = e.visibleRange, u = l.max - l.min, d = n.min - r, f = n.max - r + u, p = this.includeRange(f - u, f, !1), _ = this.includeRange(d, d + u, !1);
5085
+ return this._toggled = !1, p ? (this._toggleDirection = DIRECTION.PREV, this._togglePosition = this.range.max + n.min - n.max + r, this.toggle(1 / 0, e.position)) : _ ? (this._toggleDirection = DIRECTION.NEXT, this._togglePosition = this.range.min + n.max - u + r, this.toggle(-1 / 0, e.position)) : (this._toggleDirection = DIRECTION.NONE, this._togglePosition = 0), this;
5074
5086
  }, i._updateAlignPos = function() {
5075
5087
  this._alignPos = parseAlign$1(this._align, this._size);
5076
5088
  }, i._resetInternalStates = function() {
@@ -5261,10 +5273,10 @@ var State = /* @__PURE__ */ function() {
5261
5273
  }(), Flicking$1 = /* @__PURE__ */ function(s) {
5262
5274
  __extends$2(i, s);
5263
5275
  function i(e, n) {
5264
- 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, g = r.horizontal, _ = g === void 0 ? !0 : g, b = r.circular, v = b === void 0 ? !1 : b, m = r.circularFallback, P = m === void 0 ? CIRCULAR_FALLBACK.LINEAR : m, y = r.bound, p = y === void 0 ? !1 : y, 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, le = V === void 0 ? 75e-4 : V, M = r.duration, ue = M === void 0 ? 500 : M, z = r.easing, ce = z === void 0 ? function(Re) {
5265
- return 1 - Math.pow(1 - Re, 3);
5266
- } : z, F = r.inputType, de = F === void 0 ? ["mouse", "touch"] : F, j = r.moveType, fe = j === void 0 ? "snap" : j, H = r.threshold, he = H === void 0 ? 40 : H, W = r.interruptable, ve = W === void 0 ? !0 : W, U = r.bounce, ge = U === void 0 ? "20%" : U, G = r.iOSEdgeSwipeThreshold, pe = G === void 0 ? 30 : G, Y = r.preventClickOnDrag, _e = Y === void 0 ? !0 : Y, q = r.preventDefaultOnDrag, me = q === void 0 ? !1 : q, X = r.disableOnInit, Ee = X === void 0 ? !1 : X, K = r.changeOnHold, ye = K === void 0 ? !1 : K, Z = r.renderOnlyVisible, be = Z === void 0 ? !1 : Z, Q = r.virtual, J = Q === void 0 ? null : Q, ee = r.autoInit, Pe = ee === void 0 ? !0 : ee, te = r.autoResize, Te = te === void 0 ? !0 : te, ne = r.useResizeObserver, Oe = ne === void 0 ? !0 : ne, ie = r.resizeDebounce, Se = ie === void 0 ? 0 : ie, re = r.maxResizeDebounce, Ce = re === void 0 ? 100 : re, ae = r.useFractionalSize, Ie = ae === void 0 ? !1 : ae, oe = r.externalRenderer, ke = oe === void 0 ? null : oe, se = r.renderExternal, xe = se === void 0 ? null : se, k = s.call(this) || this;
5267
- return k._initialized = !1, k._plugins = [], k._align = u, k._defaultIndex = f, k._horizontal = _, 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 = J, k._needPanelThreshold = D, k._preventEventsBeforeInit = B, k._deceleration = le, k._duration = ue, k._easing = ce, k._inputType = de, k._moveType = fe, k._threshold = he, k._interruptable = ve, k._bounce = ge, k._iOSEdgeSwipeThreshold = pe, k._preventClickOnDrag = _e, k._preventDefaultOnDrag = me, k._disableOnInit = Ee, k._changeOnHold = ye, k._renderOnlyVisible = be, k._autoInit = Pe, k._autoResize = Te, k._useResizeObserver = Oe, k._resizeDebounce = Se, k._maxResizeDebounce = Ce, k._useFractionalSize = Ie, k._externalRenderer = ke, k._renderExternal = xe, 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, J), k._autoInit && k.init(), k;
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, p = r.horizontal, _ = p === void 0 ? !0 : p, b = r.circular, v = b === void 0 ? !1 : b, m = r.circularFallback, P = m === void 0 ? CIRCULAR_FALLBACK.LINEAR : m, y = r.bound, g = y === void 0 ? !1 : y, 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
+ return 1 - Math.pow(1 - Ae, 3);
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 = _, k._circular = v, k._circularFallback = P, k._bound = g, 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;
5268
5280
  }
5269
5281
  var t = i.prototype;
5270
5282
  return Object.defineProperty(t, "control", {
@@ -5532,7 +5544,7 @@ var State = /* @__PURE__ */ function() {
5532
5544
  }), Object.defineProperty(t, "defaultIndex", {
5533
5545
  /**
5534
5546
  * Index of the panel to move when Flicking's {@link Flicking#init init()} is called. A zero-based integer
5535
- * @ko Flicking의 {@link Flicking#init init()}이 호출될 때 이동할 디폴트 패널의 인덱스로, 0부터 시작하는 정수입니다
5547
+ * @ko Flicking의 {@link Flicking#init init()}이 호출될 때 이동할 디폴트 패널의 인덱스로, 0부터 시작하는 정수입니다.
5536
5548
  * @type {number}
5537
5549
  * @default 0
5538
5550
  * @see {@link https://naver.github.io/egjs-flicking/Options#defaultindex defaultIndex ( Options )}
@@ -5858,7 +5870,7 @@ var State = /* @__PURE__ */ function() {
5858
5870
  }), Object.defineProperty(t, "threshold", {
5859
5871
  /**
5860
5872
  * Movement threshold to change panel (unit: px). It should be dragged above the threshold to change the current panel.
5861
- * @ko 패널 변경을 위한 이동 임계값 (단위: px). 주어진 값 이상으로 스크롤해야만 패널 변경이 가능하다.
5873
+ * @ko 패널 변경을 위한 이동 임계값 (단위: px). 주어진 값 이상으로 스크롤해야만 패널 변경이 가능합니다.
5862
5874
  * @type {number}
5863
5875
  * @default 40
5864
5876
  * @see {@link https://naver.github.io/egjs-flicking/Options#threshold Threshold ( Options )}
@@ -5871,6 +5883,24 @@ var State = /* @__PURE__ */ function() {
5871
5883
  },
5872
5884
  enumerable: !1,
5873
5885
  configurable: !0
5886
+ }), Object.defineProperty(t, "dragThreshold", {
5887
+ /**
5888
+ * Minimal distance of user input before recognizing (unit: px). It should be dragged above the dragThreshold to move the panel.
5889
+ * @ko 사용자의 입력을 인식하기 위한 최소한의 거리 (단위: px). 주어진 값 이상으로 스크롤해야만 패널이 움직입니다.
5890
+ * @type {number}
5891
+ * @default 1
5892
+ * @see {@link https://naver.github.io/egjs-flicking/Options#dragThreshold dragThreshold ( Options )}
5893
+ */
5894
+ get: function() {
5895
+ return this._dragThreshold;
5896
+ },
5897
+ set: function(e) {
5898
+ this._dragThreshold = e;
5899
+ var n = this._control.controller.panInput;
5900
+ n && (n.options.threshold = e);
5901
+ },
5902
+ enumerable: !1,
5903
+ configurable: !0
5874
5904
  }), Object.defineProperty(t, "interruptable", {
5875
5905
  /**
5876
5906
  * Set animation to be interruptable by click/touch.
@@ -6206,8 +6236,8 @@ var State = /* @__PURE__ */ function() {
6206
6236
  return n.init(), u.init(), r.init(this), l.init(this), f && (this.trigger = function() {
6207
6237
  return e;
6208
6238
  }), this._initialResize(), this._moveToInitialPanel(), this._autoResize && this._autoResizer.enable(), this._preventClickOnDrag && l.controller.addPreventClickHandler(), this._disableOnInit && this.disableInput(), r.checkPanelContentsReady(r.panels), this._initialized = !0, r.render().then(function() {
6209
- e._plugins.forEach(function(g) {
6210
- return g.init(e);
6239
+ e._plugins.forEach(function(p) {
6240
+ return p.init(e);
6211
6241
  }), f && (e.trigger = d), e.trigger(new ComponentEvent$1(EVENTS.READY));
6212
6242
  });
6213
6243
  }, t.destroy = function() {
@@ -6243,7 +6273,7 @@ var State = /* @__PURE__ */ function() {
6243
6273
  }, t.disableInput = function() {
6244
6274
  return this._control.disable(), this;
6245
6275
  }, t.getStatus = function(e) {
6246
- var n, r, l = e === void 0 ? {} : e, u = l.index, d = u === void 0 ? !0 : u, f = l.position, g = f === void 0 ? !0 : f, _ = l.includePanelHTML, b = _ === void 0 ? !1 : _, v = l.visiblePanelsOnly, m = v === void 0 ? !1 : v, P = this._camera, y = m ? this.visiblePanels : this.panels, p = {
6276
+ var n, r, l = e === void 0 ? {} : e, u = l.index, d = u === void 0 ? !0 : u, f = l.position, p = f === void 0 ? !0 : f, _ = l.includePanelHTML, b = _ === void 0 ? !1 : _, v = l.visiblePanelsOnly, m = v === void 0 ? !1 : v, P = this._camera, y = m ? this.visiblePanels : this.panels, g = {
6247
6277
  panels: y.map(function(O) {
6248
6278
  var S = {
6249
6279
  index: O.index
@@ -6251,23 +6281,23 @@ var State = /* @__PURE__ */ function() {
6251
6281
  return b && (S.html = O.element.outerHTML), S;
6252
6282
  })
6253
6283
  };
6254
- if (d && (p.index = this.index), g) {
6284
+ if (d && (g.index = this.index), p) {
6255
6285
  var E = P.findNearestAnchor(P.position);
6256
- E && (p.position = {
6286
+ E && (g.position = {
6257
6287
  panel: E.panel.index,
6258
6288
  progressInPanel: P.getProgressInPanel(E.panel)
6259
6289
  });
6260
6290
  }
6261
6291
  if (m) {
6262
6292
  var T = this.visiblePanels;
6263
- p.visibleOffset = (r = (n = T[0]) === null || n === void 0 ? void 0 : n.index) !== null && r !== void 0 ? r : 0;
6293
+ g.visibleOffset = (r = (n = T[0]) === null || n === void 0 ? void 0 : n.index) !== null && r !== void 0 ? r : 0;
6264
6294
  }
6265
- return p;
6295
+ return g;
6266
6296
  }, t.setStatus = function(e) {
6267
6297
  var n;
6268
6298
  if (!this._initialized)
6269
6299
  throw new FlickingError(MESSAGE.NOT_INITIALIZED, CODE.NOT_INITIALIZED);
6270
- var r = e.index, l = e.position, u = e.visibleOffset, d = e.panels, f = this._renderer, g = this._control;
6300
+ var r = e.index, l = e.position, u = e.visibleOffset, d = e.panels, f = this._renderer, p = this._control;
6271
6301
  if (!((n = d[0]) === null || n === void 0) && n.html && !this._renderExternal && (f.batchRemove({
6272
6302
  index: 0,
6273
6303
  deleteCount: this.panels.length,
@@ -6285,7 +6315,7 @@ var State = /* @__PURE__ */ function() {
6285
6315
  }
6286
6316
  if (l && this._moveType === MOVE_TYPE.FREE_SCROLL) {
6287
6317
  var b = l.panel, v = l.progressInPanel, _ = u ? b - u : b, m = f.panels[_].range, P = m.min + (m.max - m.min) * v;
6288
- g.moveToPosition(P, 0).catch(function() {
6318
+ p.moveToPosition(P, 0).catch(function() {
6289
6319
  });
6290
6320
  }
6291
6321
  }, t.addPlugins = function() {
@@ -6305,11 +6335,11 @@ var State = /* @__PURE__ */ function() {
6305
6335
  }), this;
6306
6336
  }, t.resize = function() {
6307
6337
  return __awaiter$1(this, void 0, void 0, function() {
6308
- var e, n, r, l, u, d, f, g, _, b, v;
6338
+ var e, n, r, l, u, d, f, p, _, b, v;
6309
6339
  return __generator$1(this, function(m) {
6310
6340
  switch (m.label) {
6311
6341
  case 0:
6312
- return e = this._viewport, n = this._renderer, r = this._camera, l = this._control, u = l.activePanel, d = e.width, f = e.height, g = u ? r.getProgressInPanel(u) : 0, this.trigger(new ComponentEvent$1(EVENTS.BEFORE_RESIZE, {
6342
+ return e = this._viewport, n = this._renderer, r = this._camera, l = this._control, u = l.activePanel, d = e.width, f = e.height, p = u ? r.getProgressInPanel(u) : 0, this.trigger(new ComponentEvent$1(EVENTS.BEFORE_RESIZE, {
6313
6343
  width: d,
6314
6344
  height: f,
6315
6345
  element: e.element
@@ -6320,7 +6350,7 @@ var State = /* @__PURE__ */ function() {
6320
6350
  /*return*/
6321
6351
  ];
6322
6352
  case 2:
6323
- return m.sent(), this._initialized ? (l.animating || (l.updatePosition(g), l.updateInput()), _ = e.width, b = e.height, v = _ !== d || b !== f, this.trigger(new ComponentEvent$1(EVENTS.AFTER_RESIZE, {
6353
+ return m.sent(), this._initialized ? (l.animating || (l.updatePosition(p), l.updateInput()), _ = e.width, b = e.height, v = _ !== d || b !== f, this.trigger(new ComponentEvent$1(EVENTS.AFTER_RESIZE, {
6324
6354
  width: e.width,
6325
6355
  height: e.height,
6326
6356
  prev: {
@@ -6396,7 +6426,7 @@ var State = /* @__PURE__ */ function() {
6396
6426
  }, t._moveToInitialPanel = function() {
6397
6427
  var e = this._renderer, n = this._control, r = this._camera, l = e.getPanel(this._defaultIndex) || e.getPanel(0);
6398
6428
  if (l) {
6399
- var u = r.findNearestAnchor(l.position), d = u && l.index !== u.panel.index ? u.panel : l;
6429
+ var u = r.findNearestAnchor(l.position), d = u && l.position !== u.panel.position && l.index !== u.panel.index ? u.panel : l;
6400
6430
  if (n.setActive(d, null, !1), !u)
6401
6431
  throw new FlickingError(MESSAGE.POSITION_NOT_REACHABLE(d.position), CODE.POSITION_NOT_REACHABLE);
6402
6432
  var f = d.position;
@@ -6420,7 +6450,7 @@ var State = /* @__PURE__ */ function() {
6420
6450
  sizeChanged: f,
6421
6451
  element: e.element
6422
6452
  }));
6423
- }, i.VERSION = "4.11.4", i;
6453
+ }, i.VERSION = "4.12.0", i;
6424
6454
  }(Component), withFlickingMethods = function(s, i) {
6425
6455
  [Component.prototype, Flicking$1.prototype].forEach(function(t) {
6426
6456
  Object.getOwnPropertyNames(t).filter(function(e) {
@@ -6457,8 +6487,8 @@ var State = /* @__PURE__ */ function() {
6457
6487
  }), u.push.apply(u, __spread(batchRemove(e, f, d + 1)));
6458
6488
  }
6459
6489
  if (i.ordered.forEach(function(v) {
6460
- var m = __read(v, 2), P = m[0], y = m[1], p = n.splice(P, 1)[0];
6461
- n.splice(y, 0, p);
6490
+ var m = __read(v, 2), P = m[0], y = m[1], g = n.splice(P, 1)[0];
6491
+ n.splice(y, 0, g);
6462
6492
  }), i.ordered.length > 0 && (n.forEach(function(v, m) {
6463
6493
  var P = m - v.index;
6464
6494
  P > 0 ? v.increaseIndex(P) : v.decreaseIndex(-P);
@@ -6467,10 +6497,10 @@ var State = /* @__PURE__ */ function() {
6467
6497
  }), n.forEach(function(v) {
6468
6498
  v.updatePosition();
6469
6499
  })), i.added.length > 0) {
6470
- var g = -1, _ = -1, b = t.slice(r.length);
6500
+ var p = -1, _ = -1, b = t.slice(r.length);
6471
6501
  i.added.forEach(function(v, m) {
6472
- g < 0 && (g = m), _ >= 0 && v !== _ + 1 ? (l.push.apply(l, __spread(batchInsert(e, i, b, g, m + 1))), g = -1, _ = -1) : _ = v;
6473
- }), g >= 0 && l.push.apply(l, __spread(batchInsert(e, i, b, g)));
6502
+ p < 0 && (p = m), _ >= 0 && v !== _ + 1 ? (l.push.apply(l, __spread(batchInsert(e, i, b, p, m + 1))), p = -1, _ = -1) : _ = v;
6503
+ }), p >= 0 && l.push.apply(l, __spread(batchInsert(e, i, b, p)));
6474
6504
  }
6475
6505
  (i.added.length > 0 || i.removed.length > 0) && e.updateAfterPanelChange(l, u);
6476
6506
  }, batchInsert = function(s, i, t, e, n) {
@@ -6539,9 +6569,9 @@ var State = /* @__PURE__ */ function() {
6539
6569
  if (r) {
6540
6570
  var d = r.visiblePanels;
6541
6571
  d.forEach(function(f) {
6542
- var g = f.outsetProgress, _ = f.element, b = l ? _.querySelector(l) : _;
6572
+ var p = f.outsetProgress, _ = f.element, b = l ? _.querySelector(l) : _;
6543
6573
  if (b) {
6544
- var v = Math.min(1, Math.max(0, 1 - Math.abs(g * u)));
6574
+ var v = Math.min(1, Math.max(0, 1 - Math.abs(p * u)));
6545
6575
  b.style.opacity = "" + v;
6546
6576
  }
6547
6577
  });
@@ -6622,40 +6652,40 @@ var State = /* @__PURE__ */ function() {
6622
6652
  return e;
6623
6653
  }, Arrow = /* @__PURE__ */ function() {
6624
6654
  function s(t) {
6625
- 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, g = f === void 0 ? ARROW.NEXT_SELECTOR : f, _ = n.disabledClass, b = _ === void 0 ? ARROW.DISABLED_CLASS : _, v = n.moveCount, m = v === void 0 ? 1 : v, P = n.moveByViewportSize, y = P === void 0 ? !1 : P;
6626
- this._flicking = null, this._preventInputPropagation = function(p) {
6627
- p.stopPropagation();
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, p = f === void 0 ? ARROW.NEXT_SELECTOR : f, _ = n.disabledClass, b = _ === void 0 ? ARROW.DISABLED_CLASS : _, v = n.moveCount, m = v === void 0 ? 1 : v, P = n.moveByViewportSize, y = P === void 0 ? !1 : P;
6656
+ this._flicking = null, this._preventInputPropagation = function(g) {
6657
+ g.stopPropagation();
6628
6658
  }, this._onPrevClick = function() {
6629
- var p = e._flicking, E = p.camera, T = E.anchorPoints;
6630
- if (!(p.animating || T.length <= 0)) {
6659
+ var g = e._flicking, E = g.camera, T = E.anchorPoints;
6660
+ if (!(g.animating || T.length <= 0)) {
6631
6661
  var O = T[0], S = e._moveCount;
6632
6662
  if (e._moveByViewportSize)
6633
- p.control.moveToPosition(E.position - E.size, p.duration).catch(e._onCatch);
6634
- else if (p.circularEnabled) {
6635
- for (var C = p.currentPanel, x = 0; x < S; x++)
6663
+ g.control.moveToPosition(E.position - E.size, g.duration).catch(e._onCatch);
6664
+ else if (g.circularEnabled) {
6665
+ for (var C = g.currentPanel, x = 0; x < S; x++)
6636
6666
  C = C.prev();
6637
6667
  C.focus().catch(e._onCatch);
6638
- } else p.index > O.panel.index ? p.moveTo(Math.max(p.index - S, O.panel.index)).catch(e._onCatch) : E.position > E.range.min && p.moveTo(p.index).catch(e._onCatch);
6668
+ } else g.index > O.panel.index ? g.moveTo(Math.max(g.index - S, O.panel.index)).catch(e._onCatch) : E.position > E.range.min && g.moveTo(g.index).catch(e._onCatch);
6639
6669
  }
6640
6670
  }, this._onNextClick = function() {
6641
- var p = e._flicking, E = p.camera, T = E.anchorPoints;
6642
- if (!(p.animating || T.length <= 0)) {
6671
+ var g = e._flicking, E = g.camera, T = E.anchorPoints;
6672
+ if (!(g.animating || T.length <= 0)) {
6643
6673
  var O = T[T.length - 1], S = e._moveCount;
6644
6674
  if (e._moveByViewportSize)
6645
- p.control.moveToPosition(E.position + E.size, p.duration).catch(e._onCatch);
6646
- else if (p.circularEnabled) {
6647
- for (var C = p.currentPanel, x = 0; x < S; x++)
6675
+ g.control.moveToPosition(E.position + E.size, g.duration).catch(e._onCatch);
6676
+ else if (g.circularEnabled) {
6677
+ for (var C = g.currentPanel, x = 0; x < S; x++)
6648
6678
  C = C.next();
6649
6679
  C.focus().catch(e._onCatch);
6650
- } else p.index < O.panel.index ? p.moveTo(Math.min(p.index + S, O.panel.index)).catch(e._onCatch) : E.position > E.range.min && p.moveTo(p.index).catch(e._onCatch);
6680
+ } else g.index < O.panel.index ? g.moveTo(Math.min(g.index + S, O.panel.index)).catch(e._onCatch) : E.position > E.range.min && g.moveTo(g.index).catch(e._onCatch);
6651
6681
  }
6652
6682
  }, this._onAnimation = function() {
6653
- var p = e._flicking, E = p.camera, T = p.control.controller;
6654
- p.holding ? e._updateClass(E.position) : e._updateClass(T.animatingContext.end);
6655
- }, this._onCatch = function(p) {
6656
- if (!(p instanceof FlickingError))
6657
- throw p;
6658
- }, this._parentEl = l, this._prevElSelector = d, this._nextElSelector = g, this._disabledClass = b, this._moveCount = m, this._moveByViewportSize = y;
6683
+ var g = e._flicking, E = g.camera, T = g.control.controller;
6684
+ g.holding ? e._updateClass(E.position) : e._updateClass(T.animatingContext.end);
6685
+ }, this._onCatch = function(g) {
6686
+ if (!(g instanceof FlickingError))
6687
+ throw g;
6688
+ }, this._parentEl = l, this._prevElSelector = d, this._nextElSelector = p, this._disabledClass = b, this._moveCount = m, this._moveByViewportSize = y;
6659
6689
  }
6660
6690
  var i = s.prototype;
6661
6691
  return Object.defineProperty(i, "prevEl", {
@@ -6835,9 +6865,9 @@ var Renderer = /* @__PURE__ */ function() {
6835
6865
  }), t.destroy = function() {
6836
6866
  this._bullets = [], this._prevIndex = -1;
6837
6867
  }, t.render = function() {
6838
- var e = this, n = this._flicking, r = this._pagination, l = this._wrapper, u = this._bulletClass, d = this._activeClass, f = r.renderBullet, g = r.renderActiveBullet, _ = r.classPrefix + "-" + PAGINATION.BULLET_WRAPPER_SUFFIX, b = n.camera.anchorPoints;
6868
+ var e = this, n = this._flicking, r = this._pagination, l = this._wrapper, u = this._bulletClass, d = this._activeClass, f = r.renderBullet, p = r.renderActiveBullet, _ = r.classPrefix + "-" + PAGINATION.BULLET_WRAPPER_SUFFIX, b = n.camera.anchorPoints;
6839
6869
  addClass(l, _), l.innerHTML = b.map(function(m, P) {
6840
- return g && m.panel.index === n.index ? g(u, P) : f(u, P);
6870
+ return p && m.panel.index === n.index ? p(u, P) : f(u, P);
6841
6871
  }).join(`
6842
6872
  `);
6843
6873
  var v = [].slice.call(l.children);
@@ -6846,20 +6876,20 @@ var Renderer = /* @__PURE__ */ function() {
6846
6876
  y.panel.index === n.index && (addClass(m, d), e._prevIndex = P), e._addBulletEvents(m, P);
6847
6877
  }), this._bullets = v;
6848
6878
  }, t.update = function(e) {
6849
- var n = this._flicking, r = this._pagination, l = this._wrapper, u = this._bullets, d = this._bulletClass, f = this._activeClass, g = this._prevIndex, _ = n.camera.anchorPoints, b = r.renderBullet, v = r.renderActiveBullet;
6879
+ var n = this._flicking, r = this._pagination, l = this._wrapper, u = this._bullets, d = this._bulletClass, f = this._activeClass, p = this._prevIndex, _ = n.camera.anchorPoints, b = r.renderBullet, v = r.renderActiveBullet;
6850
6880
  if (!(_.length <= 0)) {
6851
6881
  var m = _[0].panel.index, P = e - m;
6852
- if (g !== P) {
6882
+ if (p !== P) {
6853
6883
  if (v) {
6854
- var y = u[g];
6884
+ var y = u[p];
6855
6885
  if (y) {
6856
- var p = this._createBulletFromString(b(d, g), g);
6857
- y.parentElement.replaceChild(p, y), u[g] = p;
6886
+ var g = this._createBulletFromString(b(d, p), p);
6887
+ y.parentElement.replaceChild(g, y), u[p] = g;
6858
6888
  }
6859
6889
  var E = u[P], T = this._createBulletFromString(v(d + " " + f, P), P);
6860
6890
  l.replaceChild(T, E), u[P] = T;
6861
6891
  } else {
6862
- var E = u[P], y = u[g];
6892
+ var E = u[P], y = u[p];
6863
6893
  y && removeClass(y, f), addClass(E, f);
6864
6894
  }
6865
6895
  this._prevIndex = P;
@@ -6881,7 +6911,7 @@ var Renderer = /* @__PURE__ */ function() {
6881
6911
  }, t.update = function(e) {
6882
6912
  var n = this._flicking, r = this._wrapper, l = this._pagination, u = n.camera.anchorPoints, d = u.length > 0 ? e - u[0].panel.index + 1 : 0, f = u.length;
6883
6913
  if (!(d === this._prevIndex && f === this._prevTotal)) {
6884
- var g = "." + l.classPrefix + "-" + PAGINATION.FRACTION_CURRENT_SUFFIX, _ = "." + l.classPrefix + "-" + PAGINATION.FRACTION_TOTAL_SUFFIX, b = r.querySelector(g), v = r.querySelector(_);
6914
+ var p = "." + l.classPrefix + "-" + PAGINATION.FRACTION_CURRENT_SUFFIX, _ = "." + l.classPrefix + "-" + PAGINATION.FRACTION_TOTAL_SUFFIX, b = r.querySelector(p), v = r.querySelector(_);
6885
6915
  b.innerHTML = l.fractionCurrentFormat(d), v.innerHTML = l.fractionTotalFormat(f), this._prevIndex = d, this._prevTotal = f;
6886
6916
  }
6887
6917
  }, i;
@@ -6898,14 +6928,14 @@ var Renderer = /* @__PURE__ */ function() {
6898
6928
  return t.destroy = function() {
6899
6929
  this._bullets = [], this._bulletSize = 0, this._previousIndex = -1, this._sliderIndex = -1;
6900
6930
  }, t.render = function() {
6901
- var e = this, n = this._wrapper, r = this._flicking, l = this._pagination, u = l.renderBullet, d = r.camera.anchorPoints, f = l.classPrefix + "-" + PAGINATION.SCROLL_WRAPPER_SUFFIX, g = l.classPrefix + "-" + PAGINATION.BULLET_SUFFIX, _ = l.classPrefix + "-" + PAGINATION.SCROLL_SLIDER_SUFFIX, b = l.classPrefix + "-" + PAGINATION.SCROLL_UNINIT_SUFFIX, v = document.createElement("div");
6902
- addClass(v, _), addClass(n, b), addClass(n, f), n.appendChild(v), v.innerHTML = d.map(function(p, E) {
6903
- return u(g, E);
6931
+ var e = this, n = this._wrapper, r = this._flicking, l = this._pagination, u = l.renderBullet, d = r.camera.anchorPoints, f = l.classPrefix + "-" + PAGINATION.SCROLL_WRAPPER_SUFFIX, p = l.classPrefix + "-" + PAGINATION.BULLET_SUFFIX, _ = l.classPrefix + "-" + PAGINATION.SCROLL_SLIDER_SUFFIX, b = l.classPrefix + "-" + PAGINATION.SCROLL_UNINIT_SUFFIX, v = document.createElement("div");
6932
+ addClass(v, _), addClass(n, b), addClass(n, f), n.appendChild(v), v.innerHTML = d.map(function(g, E) {
6933
+ return u(p, E);
6904
6934
  }).join(`
6905
6935
  `);
6906
6936
  var m = [].slice.call(v.children);
6907
- if (m.forEach(function(p, E) {
6908
- e._addBulletEvents(p, E);
6937
+ if (m.forEach(function(g, E) {
6938
+ e._addBulletEvents(g, E);
6909
6939
  }), !(m.length <= 0)) {
6910
6940
  var P = getComputedStyle(m[0]), y = m[0].clientWidth + parseFloat(P.marginLeft) + parseFloat(P.marginRight);
6911
6941
  n.style.width = y * l.bulletCount + "px", this._bullets = m, this._bulletSize = y, this._previousIndex = -1, this.update(this._flicking.index), window.requestAnimationFrame(function() {
@@ -6913,9 +6943,9 @@ var Renderer = /* @__PURE__ */ function() {
6913
6943
  });
6914
6944
  }
6915
6945
  }, t.update = function(e) {
6916
- var n = this._pagination, r = this._flicking, l = this._bullets, u = this._previousIndex, d = n.renderBullet, f = n.renderActiveBullet, g = r.camera.anchorPoints, _ = g[0].panel.index, b = e - _;
6917
- if (!(g.length <= 0)) {
6918
- var v = n.classPrefix + "-" + PAGINATION.BULLET_SUFFIX, m = n.classPrefix + "-" + PAGINATION.BULLET_ACTIVE_SUFFIX, P = n.classPrefix + "-" + PAGINATION.SCROLL_PREV_SUFFIX, y = n.classPrefix + "-" + PAGINATION.SCROLL_NEXT_SUFFIX, p = function(R) {
6946
+ var n = this._pagination, r = this._flicking, l = this._bullets, u = this._previousIndex, d = n.renderBullet, f = n.renderActiveBullet, p = r.camera.anchorPoints, _ = p[0].panel.index, b = e - _;
6947
+ if (!(p.length <= 0)) {
6948
+ var v = n.classPrefix + "-" + PAGINATION.BULLET_SUFFIX, m = n.classPrefix + "-" + PAGINATION.BULLET_ACTIVE_SUFFIX, P = n.classPrefix + "-" + PAGINATION.SCROLL_PREV_SUFFIX, y = n.classPrefix + "-" + PAGINATION.SCROLL_NEXT_SUFFIX, g = function(R) {
6919
6949
  return "" + P + (R > 1 ? R : "");
6920
6950
  }, E = function(R) {
6921
6951
  return "" + y + (R > 1 ? R : "");
@@ -6937,7 +6967,7 @@ var Renderer = /* @__PURE__ */ function() {
6937
6967
  var B = L[D];
6938
6968
  (B === m || T.test(B) || O.test(B)) && removeClass(R, B);
6939
6969
  }
6940
- A === 0 ? addClass(R, m) : A > 0 ? addClass(R, E(Math.abs(A))) : addClass(R, p(Math.abs(A)));
6970
+ A === 0 ? addClass(R, m) : A > 0 ? addClass(R, E(Math.abs(A))) : addClass(R, g(Math.abs(A)));
6941
6971
  }), n.scrollOnChange(b, {
6942
6972
  total: l.length,
6943
6973
  prevIndex: u,
@@ -6950,9 +6980,9 @@ var Renderer = /* @__PURE__ */ function() {
6950
6980
  }, i;
6951
6981
  }(Renderer), Pagination = /* @__PURE__ */ function() {
6952
6982
  function s(t) {
6953
- 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, g = f === void 0 ? PAGINATION.TYPE.BULLET : f, _ = n.classPrefix, b = _ === void 0 ? PAGINATION.PREFIX : _, v = n.bulletCount, m = v === void 0 ? 5 : v, P = n.renderBullet, y = 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, p = f === void 0 ? PAGINATION.TYPE.BULLET : f, _ = n.classPrefix, b = _ === void 0 ? PAGINATION.PREFIX : _, v = n.bulletCount, m = v === void 0 ? 5 : v, P = n.renderBullet, y = P === void 0 ? function(A) {
6954
6984
  return '<span class="' + A + '"></span>';
6955
- } : P, p = n.renderActiveBullet, E = p === void 0 ? null : p, T = n.renderFraction, O = T === void 0 ? function(A, N) {
6985
+ } : P, g = n.renderActiveBullet, E = g === void 0 ? null : g, T = n.renderFraction, O = T === void 0 ? function(A, N) {
6956
6986
  return '<span class="' + A + '"></span>/<span class="' + N + '"></span>';
6957
6987
  } : T, S = n.fractionCurrentFormat, C = S === void 0 ? function(A) {
6958
6988
  return A.toString();
@@ -6965,7 +6995,7 @@ var Renderer = /* @__PURE__ */ function() {
6965
6995
  e._removeAllChilds(), e._renderer.render();
6966
6996
  }, this._onIndexChange = function(A) {
6967
6997
  e._renderer.update(A.index);
6968
- }, this._parentEl = l, this._selector = d, this._type = g, this._classPrefix = b, this._bulletCount = m, this._renderBullet = y, this._renderActiveBullet = E, this._renderFraction = O, this._fractionCurrentFormat = C, this._fractionTotalFormat = I, this._scrollOnChange = w;
6998
+ }, this._parentEl = l, this._selector = d, this._type = p, this._classPrefix = b, this._bulletCount = m, this._renderBullet = y, this._renderActiveBullet = E, this._renderFraction = O, this._fractionCurrentFormat = C, this._fractionTotalFormat = I, this._scrollOnChange = w;
6969
6999
  }
6970
7000
  var i = s.prototype;
6971
7001
  return Object.defineProperty(i, "parentEl", {
@@ -7148,10 +7178,10 @@ function orderChanged(s, i) {
7148
7178
  var l = n[0], u = n[1];
7149
7179
  if (l === u)
7150
7180
  return [0, 0];
7151
- var d = t[l], f = e[u - 1], g = d.getIndex();
7181
+ var d = t[l], f = e[u - 1], p = d.getIndex();
7152
7182
  d.disconnect(), f ? d.connect(f, f.next) : d.connect(void 0, t[0]);
7153
7183
  var _ = d.getIndex();
7154
- return [g, _];
7184
+ return [p, _];
7155
7185
  });
7156
7186
  }
7157
7187
  var Result = /* @__PURE__ */ function() {
@@ -7174,26 +7204,26 @@ var Result = /* @__PURE__ */ function() {
7174
7204
  }), i.caculateOrdered = function() {
7175
7205
  var t = orderChanged(this.changedBeforeAdded, this.fixed), e = this.changed, n = [];
7176
7206
  this.cacheOrdered = t.filter(function(r, l) {
7177
- var u = r[0], d = r[1], f = e[l], g = f[0], _ = f[1];
7207
+ var u = r[0], d = r[1], f = e[l], p = f[0], _ = f[1];
7178
7208
  if (u !== d)
7179
- return n.push([g, _]), !0;
7209
+ return n.push([p, _]), !0;
7180
7210
  }), this.cachePureChanged = n;
7181
7211
  }, s;
7182
7212
  }();
7183
7213
  function diff(s, i, t) {
7184
7214
  var e = SUPPORT_MAP ? Map : t ? HashMap : PolyMap, n = t || function(E) {
7185
7215
  return E;
7186
- }, r = [], l = [], u = [], d = s.map(n), f = i.map(n), g = new e(), _ = new e(), b = [], v = [], m = {}, P = [], y = 0, p = 0;
7216
+ }, r = [], l = [], u = [], d = s.map(n), f = i.map(n), p = new e(), _ = new e(), b = [], v = [], m = {}, P = [], y = 0, g = 0;
7187
7217
  return d.forEach(function(E, T) {
7188
- g.set(E, T);
7218
+ p.set(E, T);
7189
7219
  }), f.forEach(function(E, T) {
7190
7220
  _.set(E, T);
7191
7221
  }), d.forEach(function(E, T) {
7192
7222
  var O = _.get(E);
7193
- typeof O > "u" ? (++p, l.push(T)) : m[O] = p;
7223
+ typeof O > "u" ? (++g, l.push(T)) : m[O] = g;
7194
7224
  }), f.forEach(function(E, T) {
7195
- var O = g.get(E);
7196
- typeof O > "u" ? (r.push(T), ++y) : (u.push([O, T]), p = m[T] || 0, b.push([O - p, T - y]), v.push(T === O), O !== T && P.push([O, T]));
7225
+ var O = p.get(E);
7226
+ typeof O > "u" ? (r.push(T), ++y) : (u.push([O, T]), g = m[T] || 0, b.push([O - g, T - y]), v.push(T === O), O !== T && P.push([O, T]));
7197
7227
  }), l.reverse(), new Result(s, i, r, l, P, u, b, v);
7198
7228
  }
7199
7229
  var ListDiffer = /* @__PURE__ */ function() {
@@ -7260,22 +7290,22 @@ function __awaiter(s, i, t, e) {
7260
7290
  });
7261
7291
  }
7262
7292
  return new (t || (t = Promise))(function(r, l) {
7263
- function u(g) {
7293
+ function u(p) {
7264
7294
  try {
7265
- f(e.next(g));
7295
+ f(e.next(p));
7266
7296
  } catch (_) {
7267
7297
  l(_);
7268
7298
  }
7269
7299
  }
7270
- function d(g) {
7300
+ function d(p) {
7271
7301
  try {
7272
- f(e.throw(g));
7302
+ f(e.throw(p));
7273
7303
  } catch (_) {
7274
7304
  l(_);
7275
7305
  }
7276
7306
  }
7277
- function f(g) {
7278
- g.done ? r(g.value) : n(g.value).then(u, d);
7307
+ function f(p) {
7308
+ p.done ? r(p.value) : n(p.value).then(u, d);
7279
7309
  }
7280
7310
  f((e = e.apply(s, [])).next());
7281
7311
  });
@@ -7298,8 +7328,8 @@ function __generator(s, i) {
7298
7328
  return this;
7299
7329
  }), l;
7300
7330
  function u(f) {
7301
- return function(g) {
7302
- return d([f, g]);
7331
+ return function(p) {
7332
+ return d([f, p]);
7303
7333
  };
7304
7334
  }
7305
7335
  function d(f) {
@@ -7343,8 +7373,8 @@ function __generator(s, i) {
7343
7373
  continue;
7344
7374
  }
7345
7375
  f = i.call(s, t);
7346
- } catch (g) {
7347
- f = [6, g], n = 0;
7376
+ } catch (p) {
7377
+ f = [6, p], n = 0;
7348
7378
  } finally {
7349
7379
  e = r = 0;
7350
7380
  }
@@ -7496,10 +7526,10 @@ var FlickingProps = {
7496
7526
  created: function() {
7497
7527
  var s = this;
7498
7528
  this.vanillaFlicking = null, this.renderEmitter = new Component(), this.diffResult = null, this.getPanels = function() {
7499
- var i = getCurrentInstance(), t = i?.ctx, e = s.vanillaFlicking, n = s.getSlots(), r = t?.diffResult, l = r ? getRenderingPanels(e, r) : n, u = resolveComponent("Panel"), d = l.map(function(f, g) {
7529
+ var i = getCurrentInstance(), t = i?.ctx, e = s.vanillaFlicking, n = s.getSlots(), r = t?.diffResult, l = r ? getRenderingPanels(e, r) : n, u = resolveComponent("Panel"), d = l.map(function(f, p) {
7500
7530
  return h(u, {
7501
7531
  key: f.key,
7502
- ref: g.toString()
7532
+ ref: p.toString()
7503
7533
  }, function() {
7504
7534
  return f;
7505
7535
  });
@@ -7511,13 +7541,13 @@ var FlickingProps = {
7511
7541
  } : {
7512
7542
  height: d.size
7513
7543
  } : {};
7514
- return u.map(function(g) {
7544
+ return u.map(function(p) {
7515
7545
  return h("div", {
7516
- key: g,
7517
- ref: g.toString(),
7546
+ key: p,
7547
+ ref: p.toString(),
7518
7548
  class: e,
7519
7549
  style: f,
7520
- "data-element-index": g
7550
+ "data-element-index": p
7521
7551
  });
7522
7552
  });
7523
7553
  }, withFlickingMethods(this, "vanillaFlicking");
@@ -7548,7 +7578,8 @@ var FlickingProps = {
7548
7578
  this.fillKeys();
7549
7579
  },
7550
7580
  beforeUpdate: function() {
7551
- this.fillKeys(), this.diffResult = this.slotDiffer.update(this.getSlots());
7581
+ var s;
7582
+ this.fillKeys(), this.diffResult = (s = this.slotDiffer) === null || s === void 0 ? void 0 : s.update(this.getSlots());
7552
7583
  },
7553
7584
  updated: function() {
7554
7585
  var s = this.vanillaFlicking, i = this.diffResult;
@@ -7658,12 +7689,12 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7658
7689
  function f(m) {
7659
7690
  t("update:idx", m);
7660
7691
  }
7661
- const g = computed$1({
7692
+ const p = computed$1({
7662
7693
  get: () => e.idx,
7663
7694
  set: (m) => f(m)
7664
7695
  });
7665
7696
  function _(m) {
7666
- g.value = m.index;
7697
+ p.value = m.index;
7667
7698
  }
7668
7699
  function b(m) {
7669
7700
  n.value.moveTo(m);
@@ -7671,7 +7702,7 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7671
7702
  function v() {
7672
7703
  t("opened");
7673
7704
  }
7674
- return watch(g, (m) => {
7705
+ return watch(p, (m) => {
7675
7706
  b(m);
7676
7707
  }), onMounted(() => {
7677
7708
  r.value = [
@@ -7721,12 +7752,12 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7721
7752
  P[0] || (P[0] = createBaseVNode("div", { class: "flicking-pagination" }, null, -1))
7722
7753
  ]),
7723
7754
  default: withCtx(() => [
7724
- (openBlock(!0), createElementBlock(Fragment, null, renderList(m.gallery, ({ large: y, url: p }, E) => (openBlock(), createElementBlock("div", {
7755
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(m.gallery, ({ large: y, url: g }, E) => (openBlock(), createElementBlock("div", {
7725
7756
  key: E,
7726
7757
  class: "konnectio-flicking-gallery-item"
7727
7758
  }, [
7728
7759
  createBaseVNode("img", {
7729
- src: y || p
7760
+ src: y || g
7730
7761
  }, null, 8, _hoisted_4$6)
7731
7762
  ]))), 128))
7732
7763
  ]),
@@ -7755,13 +7786,14 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7755
7786
  }, _hoisted_6$5 = { class: "grid-sizer" }, _hoisted_7$4 = { class: "konnectio-listing-side-panel-share" }, _sfc_main$a = /* @__PURE__ */ defineComponent({
7756
7787
  __name: "ListingInfo",
7757
7788
  props: {
7789
+ idx: {},
7758
7790
  title: {},
7759
7791
  type: {},
7760
7792
  description: {},
7761
7793
  listingId: {},
7762
7794
  facilities: {},
7763
7795
  gallery: {},
7764
- idx: {}
7796
+ disableDeepLink: { type: Boolean, default: !1 }
7765
7797
  },
7766
7798
  emits: ["update:idx"],
7767
7799
  setup(s, { emit: i }) {
@@ -7772,7 +7804,7 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7772
7804
  currentDepartureDate: d,
7773
7805
  currentLocation: f
7774
7806
  } = storeToRefs(useHotelStore()), {
7775
- currentEventDate: g,
7807
+ currentEventDate: p,
7776
7808
  currentEventLocation: _
7777
7809
  } = storeToRefs(useEventStore());
7778
7810
  function b(O) {
@@ -7780,14 +7812,14 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7780
7812
  let C = O.getMonth() + 1, x = O.getDate();
7781
7813
  return x < 10 && (x = "0" + x), C < 10 && (C = "0" + C), `${S}-${C}-${x}`;
7782
7814
  }
7783
- const v = computed$1(() => n.type !== "event" ? `${window.location.origin + window.location.pathname}?a=${r.value}&c=${l.value}&ci=${b(u.value)}&co=${b(d.value)}&hid=${f.value}&id=${n.listingId}` : ""), m = computed$1(() => n.type === "event" ? `${window.location.origin + window.location.pathname}?d=${b(g.value)}&rid=${_.value}&eid=${n.listingId}` : "");
7815
+ const v = computed$1(() => n.type !== "event" ? `${window.location.origin + window.location.pathname}?a=${r.value}&c=${l.value}&ci=${b(u.value)}&co=${b(d.value)}&hid=${f.value}&id=${n.listingId}` : ""), m = computed$1(() => n.type === "event" ? `${window.location.origin + window.location.pathname}?d=${b(p.value)}&rid=${_.value}&eid=${n.listingId}` : "");
7784
7816
  function P(O) {
7785
7817
  t("update:idx", O);
7786
7818
  }
7787
7819
  const y = computed$1({
7788
7820
  get: () => n.idx,
7789
7821
  set: (O) => P(O)
7790
- }), p = ref("testVueMasonry"), E = inject("redrawVueMasonry");
7822
+ }), g = ref("testVueMasonry"), E = inject("redrawVueMasonry");
7791
7823
  function T() {
7792
7824
  E("testVueMasonry");
7793
7825
  }
@@ -7832,14 +7864,14 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7832
7864
  [C]
7833
7865
  ])), 128))
7834
7866
  ])), [
7835
- [x, p.value]
7867
+ [x, g.value]
7836
7868
  ])
7837
7869
  ])) : createCommentVNode("", !0)
7838
7870
  ])
7839
7871
  ]),
7840
7872
  _: 2
7841
7873
  }, [
7842
- O.type === "hotel" || O.type === "event" || O.type === "template" ? {
7874
+ (O.type === "hotel" || O.type === "event" || O.type === "template") && O.disableDeepLink === !1 ? {
7843
7875
  name: "footer",
7844
7876
  fn: withCtx(() => [
7845
7877
  createBaseVNode("div", _hoisted_7$4, [
@@ -7871,7 +7903,7 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7871
7903
  ]), 1032, ["title"]);
7872
7904
  };
7873
7905
  }
7874
- }), SidePanel = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-f74ff40c"]]);
7906
+ }), SidePanel = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-ff830b74"]]);
7875
7907
  var raf = null;
7876
7908
  function requestAnimationFrame$1(s) {
7877
7909
  return raf || (raf = (window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || function(i) {
@@ -8003,8 +8035,8 @@ function initTriggers(s) {
8003
8035
  };
8004
8036
  }
8005
8037
  function resetTriggers(s) {
8006
- var i = s.__resize_triggers__, t = i.expand, e = i.expandChild, n = i.contract, r = n.scrollWidth, l = n.scrollHeight, u = t.offsetWidth, d = t.offsetHeight, f = t.scrollWidth, g = t.scrollHeight;
8007
- n.scrollLeft = r, n.scrollTop = l, e.style.width = u + 1 + "px", e.style.height = d + 1 + "px", t.scrollLeft = f, t.scrollTop = g;
8038
+ var i = s.__resize_triggers__, t = i.expand, e = i.expandChild, n = i.contract, r = n.scrollWidth, l = n.scrollHeight, u = t.offsetWidth, d = t.offsetHeight, f = t.scrollWidth, p = t.scrollHeight;
8039
+ n.scrollLeft = r, n.scrollTop = l, e.style.width = u + 1 + "px", e.style.height = d + 1 + "px", t.scrollLeft = f, t.scrollTop = p;
8008
8040
  }
8009
8041
  const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$6 = { key: 1 }, _sfc_main$9 = /* @__PURE__ */ defineComponent({
8010
8042
  __name: "TruncateContent",
@@ -8026,10 +8058,10 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$6 = {
8026
8058
  }), f = computed$1(() => {
8027
8059
  if (!d.localExpanded && e.maxHeight)
8028
8060
  return typeof e?.maxHeight == "number" ? `${e?.maxHeight}px` : e?.maxHeight;
8029
- }), g = () => {
8061
+ }), p = () => {
8030
8062
  u.value && (u.value.innerHTML = convertDescription(x.value));
8031
8063
  }, _ = () => {
8032
- d.localExpanded || (g(), (m() || C.value) && y());
8064
+ d.localExpanded || (p(), (m() || C.value) && y());
8033
8065
  }, b = () => {
8034
8066
  e.text && (d.offset = e.text.length, v(), e.autoResize && r.value && (addListener(r.value, _), d.unregisterResizeCallback = () => {
8035
8067
  r.value && removeListener(r.value, _);
@@ -8048,9 +8080,9 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$6 = {
8048
8080
  return;
8049
8081
  }
8050
8082
  const B = Math.floor((L + D) / 2);
8051
- p(B), m() ? y(D, B) : y(B, L);
8052
- }, p = (N) => {
8053
- d.offset = N, g();
8083
+ g(B), m() ? y(D, B) : y(B, L);
8084
+ }, g = (N) => {
8085
+ d.offset = N, p();
8054
8086
  }, E = () => {
8055
8087
  T(), O();
8056
8088
  }, T = () => {
@@ -8060,7 +8092,7 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$6 = {
8060
8092
  for (; m() && P() > 1 && d.offset > 0; )
8061
8093
  S(-1);
8062
8094
  }, S = (N) => {
8063
- p(d.offset + N);
8095
+ g(d.offset + N);
8064
8096
  }, C = computed$1(() => e.text ? d.offset !== e.text.length : !1);
8065
8097
  watch(
8066
8098
  () => C.value,
@@ -8094,7 +8126,7 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$6 = {
8094
8126
  ), watch(
8095
8127
  () => d.localExpanded,
8096
8128
  (N) => {
8097
- N ? p(e.text.length) : _(), e.expanded !== N && n("update:expanded", N);
8129
+ N ? g(e.text.length) : _(), e.expanded !== N && n("update:expanded", N);
8098
8130
  }
8099
8131
  ), watch(
8100
8132
  () => [e.maxLines, e.maxHeight, e.ellipsis, e.location, C.value].join(),
@@ -8179,37 +8211,38 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$6 = {
8179
8211
  facilities: {},
8180
8212
  hideInfoButton: { type: Boolean, default: !1 },
8181
8213
  toDate: {},
8182
- fromDate: {}
8214
+ fromDate: {},
8215
+ disableDeepLink: { type: Boolean, default: !1 }
8183
8216
  },
8184
8217
  setup(s) {
8185
8218
  const { t: i } = useI18n(), t = ref(!1), e = ref(0), n = s, { disablePricesFrom: r, currency: l } = useUtilityStore(), u = ref(!r && !!n.pricesFrom);
8186
8219
  function d() {
8187
8220
  t.value = !0;
8188
8221
  }
8189
- function f(g) {
8222
+ function f(p) {
8190
8223
  let _ = "";
8191
- return g.forEach(({ name: b }) => {
8224
+ return p.forEach(({ name: b }) => {
8192
8225
  _ += `<li>${b}</li>`;
8193
8226
  }), `<ul>${_}</ul>`;
8194
8227
  }
8195
- return (g, _) => {
8228
+ return (p, _) => {
8196
8229
  const b = resolveDirective("tooltip");
8197
8230
  return openBlock(), createElementBlock("li", {
8198
8231
  class: normalizeClass([
8199
8232
  "konnectio-listing",
8200
- { "no-gallery": !g.gallery || g.gallery.length === 0 },
8201
- { "only-featured": g.gallery && g.gallery.length === 1 }
8233
+ { "no-gallery": !p.gallery || p.gallery.length === 0 },
8234
+ { "only-featured": p.gallery && p.gallery.length === 1 }
8202
8235
  ])
8203
8236
  }, [
8204
- g.gallery ? (openBlock(), createElementBlock("div", {
8237
+ p.gallery ? (openBlock(), createElementBlock("div", {
8205
8238
  key: 0,
8206
8239
  class: normalizeClass([
8207
8240
  "konnectio-listing-featured",
8208
- { "single-image": g.gallery.length === 1 }
8241
+ { "single-image": p.gallery.length === 1 }
8209
8242
  ])
8210
8243
  }, [
8211
8244
  createVNode(Gallery, {
8212
- gallery: g.gallery,
8245
+ gallery: p.gallery,
8213
8246
  idx: e.value,
8214
8247
  "onUpdate:idx": _[0] || (_[0] = (v) => e.value = v),
8215
8248
  "is-listing": !0,
@@ -8226,11 +8259,11 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$6 = {
8226
8259
  ])
8227
8260
  }, [
8228
8261
  createBaseVNode("h3", {
8229
- title: unref(capitalized)(g.name),
8230
- class: normalizeClass({ "no-padding": g.hideInfoButton })
8262
+ title: unref(capitalized)(p.name),
8263
+ class: normalizeClass({ "no-padding": p.hideInfoButton })
8231
8264
  }, [
8232
- createBaseVNode("span", null, toDisplayString(unref(capitalized)(g.name)), 1),
8233
- g.hideInfoButton ? createCommentVNode("", !0) : (openBlock(), createElementBlock("button", {
8265
+ createBaseVNode("span", null, toDisplayString(unref(capitalized)(p.name)), 1),
8266
+ p.hideInfoButton ? createCommentVNode("", !0) : (openBlock(), createElementBlock("button", {
8234
8267
  key: 0,
8235
8268
  class: "konnectio-listing-read-more",
8236
8269
  type: "button",
@@ -8242,31 +8275,31 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$6 = {
8242
8275
  })
8243
8276
  ]))
8244
8277
  ], 10, _hoisted_3$5),
8245
- u.value || g.includesBreakfast || g.fromDate && g.toDate || g.toDate && unref(daysBetweenDates)(/* @__PURE__ */ new Date(), g.toDate) < 180 ? (openBlock(), createElementBlock("ul", _hoisted_4$4, [
8278
+ u.value || p.includesBreakfast || p.fromDate && p.toDate || p.toDate && unref(daysBetweenDates)(/* @__PURE__ */ new Date(), p.toDate) < 180 ? (openBlock(), createElementBlock("ul", _hoisted_4$4, [
8246
8279
  u.value ? (openBlock(), createElementBlock("li", _hoisted_5$4, [
8247
- createBaseVNode("span", null, toDisplayString(`${unref(i)("general.pricesFrom")}: ${unref(showPrice)(g.pricesFrom, unref(l))}`), 1)
8280
+ createBaseVNode("span", null, toDisplayString(`${unref(i)("general.pricesFrom")}: ${unref(showPrice)(p.pricesFrom, unref(l))}`), 1)
8248
8281
  ])) : createCommentVNode("", !0),
8249
- g.includesBreakfast ? (openBlock(), createElementBlock("li", _hoisted_6$4, [
8282
+ p.includesBreakfast ? (openBlock(), createElementBlock("li", _hoisted_6$4, [
8250
8283
  createBaseVNode("span", null, toDisplayString(unref(i)("general.breakfastIncluded")), 1),
8251
8284
  createCommentVNode("", !0)
8252
8285
  ])) : createCommentVNode("", !0),
8253
- g.fromDate && g.toDate ? (openBlock(), createElementBlock("li", _hoisted_7$3, [
8254
- createBaseVNode("span", null, toDisplayString(`${unref(showDate)(g.fromDate)} - ${unref(showDate)(g.toDate)}`), 1)
8255
- ])) : g.toDate && unref(daysBetweenDates)(/* @__PURE__ */ new Date(), g.toDate) < 180 ? (openBlock(), createElementBlock("li", _hoisted_8$3, [
8256
- createBaseVNode("span", null, toDisplayString(`${unref(i)("general.availableUntil")}: ${unref(showDate)(g.toDate)}`), 1)
8286
+ p.fromDate && p.toDate ? (openBlock(), createElementBlock("li", _hoisted_7$3, [
8287
+ createBaseVNode("span", null, toDisplayString(`${unref(showDate)(p.fromDate)} - ${unref(showDate)(p.toDate)}`), 1)
8288
+ ])) : p.toDate && unref(daysBetweenDates)(/* @__PURE__ */ new Date(), p.toDate) < 180 ? (openBlock(), createElementBlock("li", _hoisted_8$3, [
8289
+ createBaseVNode("span", null, toDisplayString(`${unref(i)("general.availableUntil")}: ${unref(showDate)(p.toDate)}`), 1)
8257
8290
  ])) : createCommentVNode("", !0)
8258
8291
  ])) : createCommentVNode("", !0)
8259
8292
  ], 2),
8260
8293
  createBaseVNode("div", _hoisted_9$2, [
8261
- renderSlot(g.$slots, "description", {}, () => [
8262
- g.description ? (openBlock(), createBlock(_sfc_main$9, {
8294
+ renderSlot(p.$slots, "description", {}, () => [
8295
+ p.description ? (openBlock(), createBlock(_sfc_main$9, {
8263
8296
  key: 0,
8264
- text: g.description
8297
+ text: p.description
8265
8298
  }, null, 8, ["text"])) : createCommentVNode("", !0)
8266
8299
  ])
8267
8300
  ]),
8268
- g.facilities ? (openBlock(), createElementBlock("ul", _hoisted_10$2, [
8269
- (openBlock(!0), createElementBlock(Fragment, null, renderList(g.facilities, ({ icon: v, name: m, subFacilities: P }) => (openBlock(), createElementBlock(Fragment, null, [
8301
+ p.facilities ? (openBlock(), createElementBlock("ul", _hoisted_10$2, [
8302
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(p.facilities, ({ icon: v, name: m, subFacilities: P }) => (openBlock(), createElementBlock(Fragment, null, [
8270
8303
  v ? withDirectives((openBlock(), createElementBlock("li", { key: m }, [
8271
8304
  createVNode(Icon, {
8272
8305
  icon: v,
@@ -8283,26 +8316,27 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$6 = {
8283
8316
  ])) : createCommentVNode("", !0)
8284
8317
  ]),
8285
8318
  createBaseVNode("div", _hoisted_11$2, [
8286
- renderSlot(g.$slots, "action")
8319
+ renderSlot(p.$slots, "action")
8287
8320
  ]),
8288
- renderSlot(g.$slots, "default"),
8321
+ renderSlot(p.$slots, "default"),
8289
8322
  createVNode(SidePanel, {
8290
8323
  modelValue: t.value,
8291
8324
  "onUpdate:modelValue": _[2] || (_[2] = (v) => t.value = v),
8292
- "listing-id": g.listingId,
8293
- type: g.type,
8294
- title: g.name,
8295
- description: g.description,
8296
- gallery: g.gallery,
8325
+ "listing-id": p.listingId,
8326
+ type: p.type,
8327
+ title: p.name,
8328
+ description: p.description,
8329
+ gallery: p.gallery,
8297
8330
  idx: e.value,
8298
8331
  "onUpdate:idx": _[3] || (_[3] = (v) => e.value = v),
8299
- facilities: g.facilities
8300
- }, null, 8, ["modelValue", "listing-id", "type", "title", "description", "gallery", "idx", "facilities"])
8332
+ facilities: p.facilities,
8333
+ "disable-deep-link": p.disableDeepLink
8334
+ }, null, 8, ["modelValue", "listing-id", "type", "title", "description", "gallery", "idx", "facilities", "disable-deep-link"])
8301
8335
  ])
8302
8336
  ], 2);
8303
8337
  };
8304
8338
  }
8305
- }), Base = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-87d36a46"]]), _hoisted_1$8 = { class: "konnectio-radio-checkboxes" }, _sfc_main$7 = /* @__PURE__ */ defineComponent({
8339
+ }), Base = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-491c76e8"]]), _hoisted_1$8 = { class: "konnectio-radio-checkboxes" }, _sfc_main$7 = /* @__PURE__ */ defineComponent({
8306
8340
  __name: "CheckboxField",
8307
8341
  props: {
8308
8342
  modelValue: {},
@@ -8326,7 +8360,7 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$6 = {
8326
8360
  }, {
8327
8361
  default: withCtx(() => [
8328
8362
  createBaseVNode("ul", _hoisted_1$8, [
8329
- (openBlock(!0), createElementBlock(Fragment, null, renderList(l.checkboxes, ({ label: d, value: f }, g) => (openBlock(), createElementBlock("li", { key: g }, [
8363
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(l.checkboxes, ({ label: d, value: f }, p) => (openBlock(), createElementBlock("li", { key: p }, [
8330
8364
  createVNode(Checkbox, {
8331
8365
  modelValue: r.value,
8332
8366
  "onUpdate:modelValue": u[0] || (u[0] = (_) => r.value = _),
@@ -8351,8 +8385,8 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$6 = {
8351
8385
  },
8352
8386
  emits: ["reset"],
8353
8387
  setup(s, { emit: i }) {
8354
- 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), g = () => {
8355
- if (u.value !== void 0) {
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), p = () => {
8389
+ if (u.value) {
8356
8390
  const m = n.value;
8357
8391
  if (m && m > 0) {
8358
8392
  const y = u.value.getBoundingClientRect().top + window.scrollY - m;
@@ -8364,15 +8398,15 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$6 = {
8364
8398
  u.value.scrollIntoView({ behavior: "smooth" });
8365
8399
  }
8366
8400
  }, _ = (m = 1) => {
8367
- l.value = l.value + m, g();
8401
+ l.value = l.value + m, p();
8368
8402
  }, b = (m = 1) => {
8369
- l.value = l.value - m, g();
8403
+ l.value = l.value - m, p();
8370
8404
  };
8371
8405
  function v() {
8372
- l.value = 0, g();
8406
+ l.value = 0, p();
8373
8407
  }
8374
8408
  return t.on("scrollToTop", () => {
8375
- g();
8409
+ p();
8376
8410
  }), watch(l, () => {
8377
8411
  l.value === 0 && e("reset");
8378
8412
  }), (m, P) => (openBlock(), createElementBlock("div", {
@@ -8391,9 +8425,9 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$6 = {
8391
8425
  createBaseVNode("span", null, toDisplayString(m.subtitle), 1)
8392
8426
  ])) : createCommentVNode("", !0),
8393
8427
  createBaseVNode("ul", _hoisted_5$3, [
8394
- (openBlock(!0), createElementBlock(Fragment, null, renderList(d.value, (y, p) => (openBlock(), createElementBlock("li", {
8428
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(d.value, (y, g) => (openBlock(), createElementBlock("li", {
8395
8429
  key: y.id,
8396
- class: normalizeClass({ "is-active": l.value >= p })
8430
+ class: normalizeClass({ "is-active": l.value >= g })
8397
8431
  }, [
8398
8432
  y.icon ? (openBlock(), createBlock(Icon, {
8399
8433
  key: 0,
@@ -8425,7 +8459,7 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$6 = {
8425
8459
  ])
8426
8460
  ], 512));
8427
8461
  }
8428
- }), MultiStepForm = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-e0915bdc"]]), 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"], _sfc_main$5 = /* @__PURE__ */ defineComponent({
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"], _sfc_main$5 = /* @__PURE__ */ defineComponent({
8429
8463
  __name: "PoweredByKonnectio",
8430
8464
  setup(s) {
8431
8465
  return (i, t) => (openBlock(), createElementBlock("div", _hoisted_1$6, [
@@ -8702,12 +8736,12 @@ const StickySidebar = /* @__PURE__ */ (() => {
8702
8736
  let u = "affix." + r.toLowerCase().replace("viewport-", "") + s;
8703
8737
  t.eventTrigger(this.sidebar, u), r === "STATIC" ? t.removeClass(this.sidebar, this.options.stickyClass) : t.addClass(this.sidebar, this.options.stickyClass);
8704
8738
  for (let f in l.outer) {
8705
- let g = typeof l.outer[f] == "number" ? "px" : "";
8706
- this.sidebar.style[f] = l.outer[f] + g;
8739
+ let p = typeof l.outer[f] == "number" ? "px" : "";
8740
+ this.sidebar.style[f] = l.outer[f] + p;
8707
8741
  }
8708
8742
  for (let f in l.inner) {
8709
- let g = typeof l.inner[f] == "number" ? "px" : "";
8710
- this.sidebarInner.style[f] = l.inner[f] + g;
8743
+ let p = typeof l.inner[f] == "number" ? "px" : "";
8744
+ this.sidebarInner.style[f] = l.inner[f] + p;
8711
8745
  }
8712
8746
  let d = "affixed." + r.toLowerCase().replace("viewport-", "") + s;
8713
8747
  t.eventTrigger(this.sidebar, d);
@@ -8785,9 +8819,9 @@ const StickySidebar = /* @__PURE__ */ (() => {
8785
8819
  * @return {String}
8786
8820
  */
8787
8821
  static supportTransform(n) {
8788
- var r = !1, l = n ? "perspective" : "transform", u = l.charAt(0).toUpperCase() + l.slice(1), d = ["Webkit", "Moz", "O", "ms"], f = document.createElement("support"), g = f.style;
8822
+ var r = !1, l = n ? "perspective" : "transform", u = l.charAt(0).toUpperCase() + l.slice(1), d = ["Webkit", "Moz", "O", "ms"], f = document.createElement("support"), p = f.style;
8789
8823
  return (l + " " + d.join(u + " ") + u).split(" ").forEach(function(_, b) {
8790
- if (g[_] !== void 0)
8824
+ if (p[_] !== void 0)
8791
8825
  return r = _, !1;
8792
8826
  }), r;
8793
8827
  }
@@ -8987,9 +9021,9 @@ const _hoisted_1$3 = {
8987
9021
  headerHeight: u
8988
9022
  } = storeToRefs(useUtilityStore()), { isValidatingDiscountCode: d } = storeToRefs(useHotelStore()), {
8989
9023
  amount: f,
8990
- voucher: g,
9024
+ voucher: p,
8991
9025
  isLoading: _
8992
- } = storeToRefs(useApplyGiftCardStore()), { apply: b, reset: v } = useApplyGiftCardStore(), m = useSlots(), P = useModel(s, "discountCode"), y = s, p = computed$1(() => y.basePrice - y.weekendFee - y.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;
9026
+ } = storeToRefs(useApplyGiftCardStore()), { apply: b, reset: v } = useApplyGiftCardStore(), m = useSlots(), P = useModel(s, "discountCode"), y = s, g = computed$1(() => y.basePrice - y.weekendFee - y.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;
8993
9027
  return onMounted(() => {
8994
9028
  e.value && x("gift-card");
8995
9029
  }), (I, R) => {
@@ -9046,9 +9080,9 @@ const _hoisted_1$3 = {
9046
9080
  ]),
9047
9081
  createBaseVNode("ul", null, [
9048
9082
  renderSlot(I.$slots, "price-summary"),
9049
- p.value > 0 ? (openBlock(), createElementBlock("li", _hoisted_10$1, [
9083
+ g.value > 0 ? (openBlock(), createElementBlock("li", _hoisted_10$1, [
9050
9084
  createBaseVNode("span", null, toDisplayString(unref(i)("booking.availability.basePrice")), 1),
9051
- createBaseVNode("b", null, toDisplayString(unref(showPrice)(p.value, unref(r))), 1)
9085
+ createBaseVNode("b", null, toDisplayString(unref(showPrice)(g.value, unref(r))), 1)
9052
9086
  ])) : createCommentVNode("", !0),
9053
9087
  I.weekendFee > 0 ? (openBlock(), createElementBlock("li", _hoisted_11$1, [
9054
9088
  createBaseVNode("span", null, toDisplayString(unref(i)("general.weekendFee")), 1),
@@ -9139,8 +9173,8 @@ const _hoisted_1$3 = {
9139
9173
  onAction: R[4] || (R[4] = (A) => I.validateDiscountCode())
9140
9174
  }, null, 8, ["modelValue", "placeholder", "is-loading"])) : O.value ? (openBlock(), createBlock(ActionField, {
9141
9175
  key: 1,
9142
- modelValue: unref(g),
9143
- "onUpdate:modelValue": R[5] || (R[5] = (A) => isRef(g) ? g.value = A : null),
9176
+ modelValue: unref(p),
9177
+ "onUpdate:modelValue": R[5] || (R[5] = (A) => isRef(p) ? p.value = A : null),
9144
9178
  icon: "gift-card",
9145
9179
  "button-icon": "paper-plane-top",
9146
9180
  placeholder: "XXXXXXXX",
@@ -9236,11 +9270,11 @@ const _hoisted_1$3 = {
9236
9270
  adults: u,
9237
9271
  children: d,
9238
9272
  offerDate: f,
9239
- totalPrice: g,
9273
+ totalPrice: p,
9240
9274
  totalVAT: _,
9241
9275
  subTotalPrice: b
9242
9276
  } = storeToRefs(usePaymentStore()), { currency: v } = storeToRefs(useUtilityStore()), { currentArrivalDate: m, currentDepartureDate: P } = storeToRefs(useHotelStore());
9243
- return (y, p) => (openBlock(), createElementBlock("div", _hoisted_1$2, [
9277
+ return (y, g) => (openBlock(), createElementBlock("div", _hoisted_1$2, [
9244
9278
  createBaseVNode("div", _hoisted_2$1, [
9245
9279
  createBaseVNode("h2", _hoisted_3$1, [
9246
9280
  createBaseVNode("span", null, toDisplayString(unref(i)("general.thankYou")), 1)
@@ -9325,9 +9359,9 @@ const _hoisted_1$3 = {
9325
9359
  createBaseVNode("span", null, toDisplayString(unref(i)("general.vat")), 1),
9326
9360
  createBaseVNode("b", null, toDisplayString(unref(showPrice)(unref(_), unref(v))), 1)
9327
9361
  ])) : createCommentVNode("", !0),
9328
- unref(g) ? (openBlock(), createElementBlock("li", _hoisted_17, [
9362
+ unref(p) ? (openBlock(), createElementBlock("li", _hoisted_17, [
9329
9363
  createBaseVNode("span", null, toDisplayString(unref(i)("booking.reservation.totalPrice")), 1),
9330
- createBaseVNode("b", null, toDisplayString(unref(showPrice)(unref(g), unref(v))), 1)
9364
+ createBaseVNode("b", null, toDisplayString(unref(showPrice)(unref(p), unref(v))), 1)
9331
9365
  ])) : createCommentVNode("", !0)
9332
9366
  ])
9333
9367
  ]));
@@ -9688,7 +9722,7 @@ function requireGetSize() {
9688
9722
  var m = getComputedStyle(v);
9689
9723
  return m || n("Style returned " + m + ". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"), m;
9690
9724
  }
9691
- var f = !1, g;
9725
+ var f = !1, p;
9692
9726
  function _() {
9693
9727
  if (!f) {
9694
9728
  f = !0;
@@ -9697,7 +9731,7 @@ function requireGetSize() {
9697
9731
  var m = document.body || document.documentElement;
9698
9732
  m.appendChild(v);
9699
9733
  var P = d(v);
9700
- g = Math.round(t(P.width)) == 200, b.isBoxSizeOuter = g, m.removeChild(v);
9734
+ p = Math.round(t(P.width)) == 200, b.isBoxSizeOuter = p, m.removeChild(v);
9701
9735
  }
9702
9736
  }
9703
9737
  function b(v) {
@@ -9707,11 +9741,11 @@ function requireGetSize() {
9707
9741
  return u();
9708
9742
  var P = {};
9709
9743
  P.width = v.offsetWidth, P.height = v.offsetHeight;
9710
- for (var y = P.isBorderBox = m.boxSizing == "border-box", p = 0; p < l; p++) {
9711
- var E = r[p], T = m[E], O = parseFloat(T);
9744
+ for (var y = P.isBorderBox = m.boxSizing == "border-box", g = 0; g < l; g++) {
9745
+ var E = r[g], T = m[E], O = parseFloat(T);
9712
9746
  P[E] = isNaN(O) ? 0 : O;
9713
9747
  }
9714
- 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 = y && g, N = t(m.width);
9748
+ 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 = y && p, N = t(m.width);
9715
9749
  N !== !1 && (P.width = N + // add padding and border unless it's already including it
9716
9750
  (A ? 0 : S + R));
9717
9751
  var D = t(m.height);
@@ -9790,46 +9824,46 @@ function requireUtils() {
9790
9824
  }, n.filterFindElements = function(u, d) {
9791
9825
  u = n.makeArray(u);
9792
9826
  var f = [];
9793
- return u.forEach(function(g) {
9794
- if (g instanceof HTMLElement) {
9827
+ return u.forEach(function(p) {
9828
+ if (p instanceof HTMLElement) {
9795
9829
  if (!d) {
9796
- f.push(g);
9830
+ f.push(p);
9797
9831
  return;
9798
9832
  }
9799
- e(g, d) && f.push(g);
9800
- for (var _ = g.querySelectorAll(d), b = 0; b < _.length; b++)
9833
+ e(p, d) && f.push(p);
9834
+ for (var _ = p.querySelectorAll(d), b = 0; b < _.length; b++)
9801
9835
  f.push(_[b]);
9802
9836
  }
9803
9837
  }), f;
9804
9838
  }, n.debounceMethod = function(u, d, f) {
9805
9839
  f = f || 100;
9806
- var g = u.prototype[d], _ = d + "Timeout";
9840
+ var p = u.prototype[d], _ = d + "Timeout";
9807
9841
  u.prototype[d] = function() {
9808
9842
  var b = this[_];
9809
9843
  clearTimeout(b);
9810
9844
  var v = arguments, m = this;
9811
9845
  this[_] = setTimeout(function() {
9812
- g.apply(m, v), delete m[_];
9846
+ p.apply(m, v), delete m[_];
9813
9847
  }, f);
9814
9848
  };
9815
9849
  }, n.docReady = function(u) {
9816
9850
  var d = document.readyState;
9817
9851
  d == "complete" || d == "interactive" ? setTimeout(u) : document.addEventListener("DOMContentLoaded", u);
9818
9852
  }, n.toDashed = function(u) {
9819
- return u.replace(/(.)([A-Z])/g, function(d, f, g) {
9820
- return f + "-" + g;
9853
+ return u.replace(/(.)([A-Z])/g, function(d, f, p) {
9854
+ return f + "-" + p;
9821
9855
  }).toLowerCase();
9822
9856
  };
9823
9857
  var l = t.console;
9824
9858
  return n.htmlInit = function(u, d) {
9825
9859
  n.docReady(function() {
9826
- var f = n.toDashed(d), g = "data-" + f, _ = document.querySelectorAll("[" + g + "]"), b = document.querySelectorAll(".js-" + f), v = n.makeArray(_).concat(n.makeArray(b)), m = g + "-options", P = t.jQuery;
9860
+ var f = n.toDashed(d), p = "data-" + f, _ = document.querySelectorAll("[" + p + "]"), b = document.querySelectorAll(".js-" + f), v = n.makeArray(_).concat(n.makeArray(b)), m = p + "-options", P = t.jQuery;
9827
9861
  v.forEach(function(y) {
9828
- var p = y.getAttribute(g) || y.getAttribute(m), E;
9862
+ var g = y.getAttribute(p) || y.getAttribute(m), E;
9829
9863
  try {
9830
- E = p && JSON.parse(p);
9864
+ E = g && JSON.parse(g);
9831
9865
  } catch (O) {
9832
- l && l.error("Error parsing " + g + " on " + y.className + ": " + O);
9866
+ l && l.error("Error parsing " + p + " on " + y.className + ": " + O);
9833
9867
  return;
9834
9868
  }
9835
9869
  var T = new u(y, E);
@@ -9853,9 +9887,9 @@ function requireItem() {
9853
9887
  ));
9854
9888
  })(window, function(t, e) {
9855
9889
  function n(y) {
9856
- for (var p in y)
9890
+ for (var g in y)
9857
9891
  return !1;
9858
- return p = null, !0;
9892
+ return g = null, !0;
9859
9893
  }
9860
9894
  var r = document.documentElement.style, l = typeof r.transition == "string" ? "transition" : "WebkitTransition", u = typeof r.transform == "string" ? "transform" : "WebkitTransform", d = {
9861
9895
  WebkitTransition: "webkitTransitionEnd",
@@ -9867,14 +9901,14 @@ function requireItem() {
9867
9901
  transitionProperty: l + "Property",
9868
9902
  transitionDelay: l + "Delay"
9869
9903
  };
9870
- function g(y, p) {
9871
- y && (this.element = y, this.layout = p, this.position = {
9904
+ function p(y, g) {
9905
+ y && (this.element = y, this.layout = g, this.position = {
9872
9906
  x: 0,
9873
9907
  y: 0
9874
9908
  }, this._create());
9875
9909
  }
9876
- var _ = g.prototype = Object.create(t.prototype);
9877
- _.constructor = g, _._create = function() {
9910
+ var _ = p.prototype = Object.create(t.prototype);
9911
+ _.constructor = p, _._create = function() {
9878
9912
  this._transn = {
9879
9913
  ingProperties: {},
9880
9914
  clean: {},
@@ -9883,38 +9917,38 @@ function requireItem() {
9883
9917
  position: "absolute"
9884
9918
  });
9885
9919
  }, _.handleEvent = function(y) {
9886
- var p = "on" + y.type;
9887
- this[p] && this[p](y);
9920
+ var g = "on" + y.type;
9921
+ this[g] && this[g](y);
9888
9922
  }, _.getSize = function() {
9889
9923
  this.size = e(this.element);
9890
9924
  }, _.css = function(y) {
9891
- var p = this.element.style;
9925
+ var g = this.element.style;
9892
9926
  for (var E in y) {
9893
9927
  var T = f[E] || E;
9894
- p[T] = y[E];
9928
+ g[T] = y[E];
9895
9929
  }
9896
9930
  }, _.getPosition = function() {
9897
- var y = getComputedStyle(this.element), p = this.layout._getOption("originLeft"), E = this.layout._getOption("originTop"), T = y[p ? "left" : "right"], O = y[E ? "top" : "bottom"], S = parseFloat(T), C = parseFloat(O), x = this.layout.size;
9898
- 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;
9931
+ var y = getComputedStyle(this.element), g = this.layout._getOption("originLeft"), E = this.layout._getOption("originTop"), T = y[g ? "left" : "right"], O = y[E ? "top" : "bottom"], S = parseFloat(T), C = parseFloat(O), x = this.layout.size;
9932
+ 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 -= g ? x.paddingLeft : x.paddingRight, C -= E ? x.paddingTop : x.paddingBottom, this.position.x = S, this.position.y = C;
9899
9933
  }, _.layoutPosition = function() {
9900
- var y = 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 + y[O];
9901
- p[S] = this.getXValue(x), p[C] = "";
9934
+ var y = this.layout.size, g = {}, 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 + y[O];
9935
+ g[S] = this.getXValue(x), g[C] = "";
9902
9936
  var I = T ? "paddingTop" : "paddingBottom", R = T ? "top" : "bottom", w = T ? "bottom" : "top", A = this.position.y + y[I];
9903
- p[R] = this.getYValue(A), p[w] = "", this.css(p), this.emitEvent("layout", [this]);
9937
+ g[R] = this.getYValue(A), g[w] = "", this.css(g), this.emitEvent("layout", [this]);
9904
9938
  }, _.getXValue = function(y) {
9905
- var p = this.layout._getOption("horizontal");
9906
- return this.layout.options.percentPosition && !p ? y / this.layout.size.width * 100 + "%" : y + "px";
9939
+ var g = this.layout._getOption("horizontal");
9940
+ return this.layout.options.percentPosition && !g ? y / this.layout.size.width * 100 + "%" : y + "px";
9907
9941
  }, _.getYValue = function(y) {
9908
- var p = this.layout._getOption("horizontal");
9909
- return this.layout.options.percentPosition && p ? y / this.layout.size.height * 100 + "%" : y + "px";
9910
- }, _._transitionTo = function(y, p) {
9942
+ var g = this.layout._getOption("horizontal");
9943
+ return this.layout.options.percentPosition && g ? y / this.layout.size.height * 100 + "%" : y + "px";
9944
+ }, _._transitionTo = function(y, g) {
9911
9945
  this.getPosition();
9912
- var E = this.position.x, T = this.position.y, O = y == this.position.x && p == this.position.y;
9913
- if (this.setPosition(y, p), O && !this.isTransitioning) {
9946
+ var E = this.position.x, T = this.position.y, O = y == this.position.x && g == this.position.y;
9947
+ if (this.setPosition(y, g), O && !this.isTransitioning) {
9914
9948
  this.layoutPosition();
9915
9949
  return;
9916
9950
  }
9917
- var S = y - E, C = p - T, x = {};
9951
+ var S = y - E, C = g - T, x = {};
9918
9952
  x.transform = this.getTranslate(S, C), this.transition({
9919
9953
  to: x,
9920
9954
  onTransitionEnd: {
@@ -9922,32 +9956,32 @@ function requireItem() {
9922
9956
  },
9923
9957
  isCleaning: !0
9924
9958
  });
9925
- }, _.getTranslate = function(y, p) {
9959
+ }, _.getTranslate = function(y, g) {
9926
9960
  var E = this.layout._getOption("originLeft"), T = this.layout._getOption("originTop");
9927
- return y = E ? y : -y, p = T ? p : -p, "translate3d(" + y + "px, " + p + "px, 0)";
9928
- }, _.goTo = function(y, p) {
9929
- this.setPosition(y, p), this.layoutPosition();
9930
- }, _.moveTo = _._transitionTo, _.setPosition = function(y, p) {
9931
- this.position.x = parseFloat(y), this.position.y = parseFloat(p);
9961
+ return y = E ? y : -y, g = T ? g : -g, "translate3d(" + y + "px, " + g + "px, 0)";
9962
+ }, _.goTo = function(y, g) {
9963
+ this.setPosition(y, g), this.layoutPosition();
9964
+ }, _.moveTo = _._transitionTo, _.setPosition = function(y, g) {
9965
+ this.position.x = parseFloat(y), this.position.y = parseFloat(g);
9932
9966
  }, _._nonTransition = function(y) {
9933
9967
  this.css(y.to), y.isCleaning && this._removeStyles(y.to);
9934
- for (var p in y.onTransitionEnd)
9935
- y.onTransitionEnd[p].call(this);
9968
+ for (var g in y.onTransitionEnd)
9969
+ y.onTransitionEnd[g].call(this);
9936
9970
  }, _.transition = function(y) {
9937
9971
  if (!parseFloat(this.layout.options.transitionDuration)) {
9938
9972
  this._nonTransition(y);
9939
9973
  return;
9940
9974
  }
9941
- var p = this._transn;
9975
+ var g = this._transn;
9942
9976
  for (var E in y.onTransitionEnd)
9943
- p.onEnd[E] = y.onTransitionEnd[E];
9977
+ g.onEnd[E] = y.onTransitionEnd[E];
9944
9978
  for (E in y.to)
9945
- p.ingProperties[E] = !0, y.isCleaning && (p.clean[E] = !0);
9979
+ g.ingProperties[E] = !0, y.isCleaning && (g.clean[E] = !0);
9946
9980
  y.from && (this.css(y.from), this.element.offsetHeight), this.enableTransition(y.to), this.css(y.to), this.isTransitioning = !0;
9947
9981
  };
9948
9982
  function b(y) {
9949
- return y.replace(/([A-Z])/g, function(p) {
9950
- return "-" + p.toLowerCase();
9983
+ return y.replace(/([A-Z])/g, function(g) {
9984
+ return "-" + g.toLowerCase();
9951
9985
  });
9952
9986
  }
9953
9987
  var v = "opacity," + b(u);
@@ -9970,20 +10004,20 @@ function requireItem() {
9970
10004
  };
9971
10005
  _.ontransitionend = function(y) {
9972
10006
  if (y.target === this.element) {
9973
- var p = this._transn, E = m[y.propertyName] || y.propertyName;
9974
- if (delete p.ingProperties[E], n(p.ingProperties) && this.disableTransition(), E in p.clean && (this.element.style[y.propertyName] = "", delete p.clean[E]), E in p.onEnd) {
9975
- var T = p.onEnd[E];
9976
- T.call(this), delete p.onEnd[E];
10007
+ var g = this._transn, E = m[y.propertyName] || y.propertyName;
10008
+ if (delete g.ingProperties[E], n(g.ingProperties) && this.disableTransition(), E in g.clean && (this.element.style[y.propertyName] = "", delete g.clean[E]), E in g.onEnd) {
10009
+ var T = g.onEnd[E];
10010
+ T.call(this), delete g.onEnd[E];
9977
10011
  }
9978
10012
  this.emitEvent("transitionEnd", [this]);
9979
10013
  }
9980
10014
  }, _.disableTransition = function() {
9981
10015
  this.removeTransitionStyles(), this.element.removeEventListener(d, this, !1), this.isTransitioning = !1;
9982
10016
  }, _._removeStyles = function(y) {
9983
- var p = {};
10017
+ var g = {};
9984
10018
  for (var E in y)
9985
- p[E] = "";
9986
- this.css(p);
10019
+ g[E] = "";
10020
+ this.css(g);
9987
10021
  };
9988
10022
  var P = {
9989
10023
  transitionProperty: "",
@@ -10006,30 +10040,30 @@ function requireItem() {
10006
10040
  }), this.hide();
10007
10041
  }, _.reveal = function() {
10008
10042
  delete this.isHidden, this.css({ display: "" });
10009
- var y = this.layout.options, p = {}, E = this.getHideRevealTransitionEndProperty("visibleStyle");
10010
- p[E] = this.onRevealTransitionEnd, this.transition({
10043
+ var y = this.layout.options, g = {}, E = this.getHideRevealTransitionEndProperty("visibleStyle");
10044
+ g[E] = this.onRevealTransitionEnd, this.transition({
10011
10045
  from: y.hiddenStyle,
10012
10046
  to: y.visibleStyle,
10013
10047
  isCleaning: !0,
10014
- onTransitionEnd: p
10048
+ onTransitionEnd: g
10015
10049
  });
10016
10050
  }, _.onRevealTransitionEnd = function() {
10017
10051
  this.isHidden || this.emitEvent("reveal");
10018
10052
  }, _.getHideRevealTransitionEndProperty = function(y) {
10019
- var p = this.layout.options[y];
10020
- if (p.opacity)
10053
+ var g = this.layout.options[y];
10054
+ if (g.opacity)
10021
10055
  return "opacity";
10022
- for (var E in p)
10056
+ for (var E in g)
10023
10057
  return E;
10024
10058
  }, _.hide = function() {
10025
10059
  this.isHidden = !0, this.css({ display: "" });
10026
- var y = this.layout.options, p = {}, E = this.getHideRevealTransitionEndProperty("hiddenStyle");
10027
- p[E] = this.onHideTransitionEnd, this.transition({
10060
+ var y = this.layout.options, g = {}, E = this.getHideRevealTransitionEndProperty("hiddenStyle");
10061
+ g[E] = this.onHideTransitionEnd, this.transition({
10028
10062
  from: y.visibleStyle,
10029
10063
  to: y.hiddenStyle,
10030
10064
  // keep hidden stuff hidden
10031
10065
  isCleaning: !0,
10032
- onTransitionEnd: p
10066
+ onTransitionEnd: g
10033
10067
  });
10034
10068
  }, _.onHideTransitionEnd = function() {
10035
10069
  this.isHidden && (this.css({ display: "none" }), this.emitEvent("hide"));
@@ -10043,7 +10077,7 @@ function requireItem() {
10043
10077
  transition: "",
10044
10078
  transform: ""
10045
10079
  });
10046
- }, g;
10080
+ }, p;
10047
10081
  });
10048
10082
  }(item)), item.exports;
10049
10083
  }
@@ -10071,15 +10105,15 @@ function requireOutlayer() {
10071
10105
  );
10072
10106
  })(window, function(t, e, n, r, l) {
10073
10107
  var u = t.console, d = t.jQuery, f = function() {
10074
- }, g = 0, _ = {};
10075
- function b(p, E) {
10076
- var T = r.getQueryElement(p);
10108
+ }, p = 0, _ = {};
10109
+ function b(g, E) {
10110
+ var T = r.getQueryElement(g);
10077
10111
  if (!T) {
10078
- u && u.error("Bad element for " + this.constructor.namespace + ": " + (T || p));
10112
+ u && u.error("Bad element for " + this.constructor.namespace + ": " + (T || g));
10079
10113
  return;
10080
10114
  }
10081
10115
  this.element = T, d && (this.$element = d(this.element)), this.options = r.extend({}, this.constructor.defaults), this.option(E);
10082
- var O = ++g;
10116
+ var O = ++p;
10083
10117
  this.element.outlayerGUID = O, _[O] = this, this._create();
10084
10118
  var S = this._getOption("initLayout");
10085
10119
  S && this.layout();
@@ -10105,11 +10139,11 @@ function requireOutlayer() {
10105
10139
  }
10106
10140
  };
10107
10141
  var v = b.prototype;
10108
- r.extend(v, e.prototype), v.option = function(p) {
10109
- r.extend(this.options, p);
10110
- }, v._getOption = function(p) {
10111
- var E = this.constructor.compatOptions[p];
10112
- return E && this.options[E] !== void 0 ? this.options[E] : this.options[p];
10142
+ r.extend(v, e.prototype), v.option = function(g) {
10143
+ r.extend(this.options, g);
10144
+ }, v._getOption = function(g) {
10145
+ var E = this.constructor.compatOptions[g];
10146
+ return E && this.options[E] !== void 0 ? this.options[E] : this.options[g];
10113
10147
  }, b.compatOptions = {
10114
10148
  // currentName: oldName
10115
10149
  initLayout: "isInitLayout",
@@ -10121,43 +10155,43 @@ function requireOutlayer() {
10121
10155
  resizeContainer: "isResizingContainer"
10122
10156
  }, v._create = function() {
10123
10157
  this.reloadItems(), this.stamps = [], this.stamp(this.options.stamp), r.extend(this.element.style, this.options.containerStyle);
10124
- var p = this._getOption("resize");
10125
- p && this.bindResize();
10158
+ var g = this._getOption("resize");
10159
+ g && this.bindResize();
10126
10160
  }, v.reloadItems = function() {
10127
10161
  this.items = this._itemize(this.element.children);
10128
- }, v._itemize = function(p) {
10129
- for (var E = this._filterFindItemElements(p), T = this.constructor.Item, O = [], S = 0; S < E.length; S++) {
10162
+ }, v._itemize = function(g) {
10163
+ for (var E = this._filterFindItemElements(g), T = this.constructor.Item, O = [], S = 0; S < E.length; S++) {
10130
10164
  var C = E[S], x = new T(C, this);
10131
10165
  O.push(x);
10132
10166
  }
10133
10167
  return O;
10134
- }, v._filterFindItemElements = function(p) {
10135
- return r.filterFindElements(p, this.options.itemSelector);
10168
+ }, v._filterFindItemElements = function(g) {
10169
+ return r.filterFindElements(g, this.options.itemSelector);
10136
10170
  }, v.getItemElements = function() {
10137
- return this.items.map(function(p) {
10138
- return p.element;
10171
+ return this.items.map(function(g) {
10172
+ return g.element;
10139
10173
  });
10140
10174
  }, v.layout = function() {
10141
10175
  this._resetLayout(), this._manageStamps();
10142
- var p = this._getOption("layoutInstant"), E = p !== void 0 ? p : !this._isLayoutInited;
10176
+ var g = this._getOption("layoutInstant"), E = g !== void 0 ? g : !this._isLayoutInited;
10143
10177
  this.layoutItems(this.items, E), this._isLayoutInited = !0;
10144
10178
  }, v._init = v.layout, v._resetLayout = function() {
10145
10179
  this.getSize();
10146
10180
  }, v.getSize = function() {
10147
10181
  this.size = n(this.element);
10148
- }, v._getMeasurement = function(p, E) {
10149
- var T = this.options[p], O;
10150
- T ? (typeof T == "string" ? O = this.element.querySelector(T) : T instanceof HTMLElement && (O = T), this[p] = O ? n(O)[E] : T) : this[p] = 0;
10151
- }, v.layoutItems = function(p, E) {
10152
- p = this._getItemsForLayout(p), this._layoutItems(p, E), this._postLayout();
10153
- }, v._getItemsForLayout = function(p) {
10154
- return p.filter(function(E) {
10182
+ }, v._getMeasurement = function(g, E) {
10183
+ var T = this.options[g], O;
10184
+ T ? (typeof T == "string" ? O = this.element.querySelector(T) : T instanceof HTMLElement && (O = T), this[g] = O ? n(O)[E] : T) : this[g] = 0;
10185
+ }, v.layoutItems = function(g, E) {
10186
+ g = this._getItemsForLayout(g), this._layoutItems(g, E), this._postLayout();
10187
+ }, v._getItemsForLayout = function(g) {
10188
+ return g.filter(function(E) {
10155
10189
  return !E.isIgnored;
10156
10190
  });
10157
- }, v._layoutItems = function(p, E) {
10158
- if (this._emitCompleteOnItems("layout", p), !(!p || !p.length)) {
10191
+ }, v._layoutItems = function(g, E) {
10192
+ if (this._emitCompleteOnItems("layout", g), !(!g || !g.length)) {
10159
10193
  var T = [];
10160
- p.forEach(function(O) {
10194
+ g.forEach(function(O) {
10161
10195
  var S = this._getItemLayoutPosition(O);
10162
10196
  S.item = O, S.isInstant = E || O.isLayoutInstant, T.push(S);
10163
10197
  }, this), this._processLayoutQueue(T);
@@ -10167,36 +10201,36 @@ function requireOutlayer() {
10167
10201
  x: 0,
10168
10202
  y: 0
10169
10203
  };
10170
- }, v._processLayoutQueue = function(p) {
10171
- this.updateStagger(), p.forEach(function(E, T) {
10204
+ }, v._processLayoutQueue = function(g) {
10205
+ this.updateStagger(), g.forEach(function(E, T) {
10172
10206
  this._positionItem(E.item, E.x, E.y, E.isInstant, T);
10173
10207
  }, this);
10174
10208
  }, v.updateStagger = function() {
10175
- var p = this.options.stagger;
10176
- if (p == null) {
10209
+ var g = this.options.stagger;
10210
+ if (g == null) {
10177
10211
  this.stagger = 0;
10178
10212
  return;
10179
10213
  }
10180
- return this.stagger = y(p), this.stagger;
10181
- }, v._positionItem = function(p, E, T, O, S) {
10182
- O ? p.goTo(E, T) : (p.stagger(S * this.stagger), p.moveTo(E, T));
10214
+ return this.stagger = y(g), this.stagger;
10215
+ }, v._positionItem = function(g, E, T, O, S) {
10216
+ O ? g.goTo(E, T) : (g.stagger(S * this.stagger), g.moveTo(E, T));
10183
10217
  }, v._postLayout = function() {
10184
10218
  this.resizeContainer();
10185
10219
  }, v.resizeContainer = function() {
10186
- var p = this._getOption("resizeContainer");
10187
- if (p) {
10220
+ var g = this._getOption("resizeContainer");
10221
+ if (g) {
10188
10222
  var E = this._getContainerSize();
10189
10223
  E && (this._setContainerMeasure(E.width, !0), this._setContainerMeasure(E.height, !1));
10190
10224
  }
10191
- }, v._getContainerSize = f, v._setContainerMeasure = function(p, E) {
10192
- if (p !== void 0) {
10225
+ }, v._getContainerSize = f, v._setContainerMeasure = function(g, E) {
10226
+ if (g !== void 0) {
10193
10227
  var T = this.size;
10194
- T.isBorderBox && (p += E ? T.paddingLeft + T.paddingRight + T.borderLeftWidth + T.borderRightWidth : T.paddingBottom + T.paddingTop + T.borderTopWidth + T.borderBottomWidth), p = Math.max(p, 0), this.element.style[E ? "width" : "height"] = p + "px";
10228
+ T.isBorderBox && (g += E ? T.paddingLeft + T.paddingRight + T.borderLeftWidth + T.borderRightWidth : T.paddingBottom + T.paddingTop + T.borderTopWidth + T.borderBottomWidth), g = Math.max(g, 0), this.element.style[E ? "width" : "height"] = g + "px";
10195
10229
  }
10196
- }, v._emitCompleteOnItems = function(p, E) {
10230
+ }, v._emitCompleteOnItems = function(g, E) {
10197
10231
  var T = this;
10198
10232
  function O() {
10199
- T.dispatchEvent(p + "Complete", null, [E]);
10233
+ T.dispatchEvent(g + "Complete", null, [E]);
10200
10234
  }
10201
10235
  var S = E.length;
10202
10236
  if (!E || !S) {
@@ -10208,43 +10242,43 @@ function requireOutlayer() {
10208
10242
  C++, C == S && O();
10209
10243
  }
10210
10244
  E.forEach(function(I) {
10211
- I.once(p, x);
10245
+ I.once(g, x);
10212
10246
  });
10213
- }, v.dispatchEvent = function(p, E, T) {
10247
+ }, v.dispatchEvent = function(g, E, T) {
10214
10248
  var O = E ? [E].concat(T) : T;
10215
- if (this.emitEvent(p, O), d)
10249
+ if (this.emitEvent(g, O), d)
10216
10250
  if (this.$element = this.$element || d(this.element), E) {
10217
10251
  var S = d.Event(E);
10218
- S.type = p, this.$element.trigger(S, T);
10252
+ S.type = g, this.$element.trigger(S, T);
10219
10253
  } else
10220
- this.$element.trigger(p, T);
10221
- }, v.ignore = function(p) {
10222
- var E = this.getItem(p);
10254
+ this.$element.trigger(g, T);
10255
+ }, v.ignore = function(g) {
10256
+ var E = this.getItem(g);
10223
10257
  E && (E.isIgnored = !0);
10224
- }, v.unignore = function(p) {
10225
- var E = this.getItem(p);
10258
+ }, v.unignore = function(g) {
10259
+ var E = this.getItem(g);
10226
10260
  E && delete E.isIgnored;
10227
- }, v.stamp = function(p) {
10228
- p = this._find(p), p && (this.stamps = this.stamps.concat(p), p.forEach(this.ignore, this));
10229
- }, v.unstamp = function(p) {
10230
- p = this._find(p), p && p.forEach(function(E) {
10261
+ }, v.stamp = function(g) {
10262
+ g = this._find(g), g && (this.stamps = this.stamps.concat(g), g.forEach(this.ignore, this));
10263
+ }, v.unstamp = function(g) {
10264
+ g = this._find(g), g && g.forEach(function(E) {
10231
10265
  r.removeFrom(this.stamps, E), this.unignore(E);
10232
10266
  }, this);
10233
- }, v._find = function(p) {
10234
- if (p)
10235
- return typeof p == "string" && (p = this.element.querySelectorAll(p)), p = r.makeArray(p), p;
10267
+ }, v._find = function(g) {
10268
+ if (g)
10269
+ return typeof g == "string" && (g = this.element.querySelectorAll(g)), g = r.makeArray(g), g;
10236
10270
  }, v._manageStamps = function() {
10237
10271
  !this.stamps || !this.stamps.length || (this._getBoundingRect(), this.stamps.forEach(this._manageStamp, this));
10238
10272
  }, v._getBoundingRect = function() {
10239
- var p = this.element.getBoundingClientRect(), E = this.size;
10273
+ var g = this.element.getBoundingClientRect(), E = this.size;
10240
10274
  this._boundingRect = {
10241
- left: p.left + E.paddingLeft + E.borderLeftWidth,
10242
- top: p.top + E.paddingTop + E.borderTopWidth,
10243
- right: p.right - (E.paddingRight + E.borderRightWidth),
10244
- bottom: p.bottom - (E.paddingBottom + E.borderBottomWidth)
10275
+ left: g.left + E.paddingLeft + E.borderLeftWidth,
10276
+ top: g.top + E.paddingTop + E.borderTopWidth,
10277
+ right: g.right - (E.paddingRight + E.borderRightWidth),
10278
+ bottom: g.bottom - (E.paddingBottom + E.borderBottomWidth)
10245
10279
  };
10246
- }, v._manageStamp = f, v._getElementOffset = function(p) {
10247
- var E = p.getBoundingClientRect(), T = this._boundingRect, O = n(p), S = {
10280
+ }, v._manageStamp = f, v._getElementOffset = function(g) {
10281
+ var E = g.getBoundingClientRect(), T = this._boundingRect, O = n(g), S = {
10248
10282
  left: E.left - T.left - O.marginLeft,
10249
10283
  top: E.top - T.top - O.marginTop,
10250
10284
  right: T.right - E.right - O.marginRight,
@@ -10260,87 +10294,87 @@ function requireOutlayer() {
10260
10294
  }, r.debounceMethod(b, "onresize", 100), v.resize = function() {
10261
10295
  !this.isResizeBound || !this.needsResizeLayout() || this.layout();
10262
10296
  }, v.needsResizeLayout = function() {
10263
- var p = n(this.element), E = this.size && p;
10264
- return E && p.innerWidth !== this.size.innerWidth;
10265
- }, v.addItems = function(p) {
10266
- var E = this._itemize(p);
10297
+ var g = n(this.element), E = this.size && g;
10298
+ return E && g.innerWidth !== this.size.innerWidth;
10299
+ }, v.addItems = function(g) {
10300
+ var E = this._itemize(g);
10267
10301
  return E.length && (this.items = this.items.concat(E)), E;
10268
- }, v.appended = function(p) {
10269
- var E = this.addItems(p);
10302
+ }, v.appended = function(g) {
10303
+ var E = this.addItems(g);
10270
10304
  E.length && (this.layoutItems(E, !0), this.reveal(E));
10271
- }, v.prepended = function(p) {
10272
- var E = this._itemize(p);
10305
+ }, v.prepended = function(g) {
10306
+ var E = this._itemize(g);
10273
10307
  if (E.length) {
10274
10308
  var T = this.items.slice(0);
10275
10309
  this.items = E.concat(T), this._resetLayout(), this._manageStamps(), this.layoutItems(E, !0), this.reveal(E), this.layoutItems(T);
10276
10310
  }
10277
- }, v.reveal = function(p) {
10278
- if (this._emitCompleteOnItems("reveal", p), !(!p || !p.length)) {
10311
+ }, v.reveal = function(g) {
10312
+ if (this._emitCompleteOnItems("reveal", g), !(!g || !g.length)) {
10279
10313
  var E = this.updateStagger();
10280
- p.forEach(function(T, O) {
10314
+ g.forEach(function(T, O) {
10281
10315
  T.stagger(O * E), T.reveal();
10282
10316
  });
10283
10317
  }
10284
- }, v.hide = function(p) {
10285
- if (this._emitCompleteOnItems("hide", p), !(!p || !p.length)) {
10318
+ }, v.hide = function(g) {
10319
+ if (this._emitCompleteOnItems("hide", g), !(!g || !g.length)) {
10286
10320
  var E = this.updateStagger();
10287
- p.forEach(function(T, O) {
10321
+ g.forEach(function(T, O) {
10288
10322
  T.stagger(O * E), T.hide();
10289
10323
  });
10290
10324
  }
10291
- }, v.revealItemElements = function(p) {
10292
- var E = this.getItems(p);
10325
+ }, v.revealItemElements = function(g) {
10326
+ var E = this.getItems(g);
10293
10327
  this.reveal(E);
10294
- }, v.hideItemElements = function(p) {
10295
- var E = this.getItems(p);
10328
+ }, v.hideItemElements = function(g) {
10329
+ var E = this.getItems(g);
10296
10330
  this.hide(E);
10297
- }, v.getItem = function(p) {
10331
+ }, v.getItem = function(g) {
10298
10332
  for (var E = 0; E < this.items.length; E++) {
10299
10333
  var T = this.items[E];
10300
- if (T.element == p)
10334
+ if (T.element == g)
10301
10335
  return T;
10302
10336
  }
10303
- }, v.getItems = function(p) {
10304
- p = r.makeArray(p);
10337
+ }, v.getItems = function(g) {
10338
+ g = r.makeArray(g);
10305
10339
  var E = [];
10306
- return p.forEach(function(T) {
10340
+ return g.forEach(function(T) {
10307
10341
  var O = this.getItem(T);
10308
10342
  O && E.push(O);
10309
10343
  }, this), E;
10310
- }, v.remove = function(p) {
10311
- var E = this.getItems(p);
10344
+ }, v.remove = function(g) {
10345
+ var E = this.getItems(g);
10312
10346
  this._emitCompleteOnItems("remove", E), !(!E || !E.length) && E.forEach(function(T) {
10313
10347
  T.remove(), r.removeFrom(this.items, T);
10314
10348
  }, this);
10315
10349
  }, v.destroy = function() {
10316
- var p = this.element.style;
10317
- p.height = "", p.position = "", p.width = "", this.items.forEach(function(T) {
10350
+ var g = this.element.style;
10351
+ g.height = "", g.position = "", g.width = "", this.items.forEach(function(T) {
10318
10352
  T.destroy();
10319
10353
  }), this.unbindResize();
10320
10354
  var E = this.element.outlayerGUID;
10321
10355
  delete _[E], delete this.element.outlayerGUID, d && d.removeData(this.element, this.constructor.namespace);
10322
- }, b.data = function(p) {
10323
- p = r.getQueryElement(p);
10324
- var E = p && p.outlayerGUID;
10356
+ }, b.data = function(g) {
10357
+ g = r.getQueryElement(g);
10358
+ var E = g && g.outlayerGUID;
10325
10359
  return E && _[E];
10326
- }, b.create = function(p, E) {
10360
+ }, b.create = function(g, E) {
10327
10361
  var T = m(b);
10328
- return T.defaults = r.extend({}, b.defaults), r.extend(T.defaults, E), T.compatOptions = r.extend({}, b.compatOptions), T.namespace = p, T.data = b.data, T.Item = m(l), r.htmlInit(T, p), d && d.bridget && d.bridget(p, T), T;
10362
+ return T.defaults = r.extend({}, b.defaults), r.extend(T.defaults, E), T.compatOptions = r.extend({}, b.compatOptions), T.namespace = g, T.data = b.data, T.Item = m(l), r.htmlInit(T, g), d && d.bridget && d.bridget(g, T), T;
10329
10363
  };
10330
- function m(p) {
10364
+ function m(g) {
10331
10365
  function E() {
10332
- p.apply(this, arguments);
10366
+ g.apply(this, arguments);
10333
10367
  }
10334
- return E.prototype = Object.create(p.prototype), E.prototype.constructor = E, E;
10368
+ return E.prototype = Object.create(g.prototype), E.prototype.constructor = E, E;
10335
10369
  }
10336
10370
  var P = {
10337
10371
  ms: 1,
10338
10372
  s: 1e3
10339
10373
  };
10340
- function y(p) {
10341
- if (typeof p == "number")
10342
- return p;
10343
- var E = p.match(/(^\d*\.?\d*)(\w*)/), T = E && E[1], O = E && E[2];
10374
+ function y(g) {
10375
+ if (typeof g == "number")
10376
+ return g;
10377
+ var E = g.match(/(^\d*\.?\d*)(\w*)/), T = E && E[1], O = E && E[2];
10344
10378
  if (!T.length)
10345
10379
  return 0;
10346
10380
  T = parseFloat(T);
@@ -10382,8 +10416,8 @@ function requireOutlayer() {
10382
10416
  this.columnWidth = u && e(u).outerWidth || // if first elem has no width, default to size of container
10383
10417
  this.containerWidth;
10384
10418
  }
10385
- var d = this.columnWidth += this.gutter, f = this.containerWidth + this.gutter, g = f / d, _ = d - f % d, b = _ && _ < 1 ? "round" : "floor";
10386
- g = Math[b](g), this.cols = Math.max(g, 1);
10419
+ var d = this.columnWidth += this.gutter, f = this.containerWidth + this.gutter, p = f / d, _ = d - f % d, b = _ && _ < 1 ? "round" : "floor";
10420
+ p = Math[b](p), this.cols = Math.max(p, 1);
10387
10421
  }, r.getContainerWidth = function() {
10388
10422
  var l = this._getOption("fitWidth"), u = l ? this.element.parentNode : this.element, d = e(u);
10389
10423
  this.containerWidth = d && d.innerWidth;
@@ -10391,7 +10425,7 @@ function requireOutlayer() {
10391
10425
  l.getSize();
10392
10426
  var u = l.size.outerWidth % this.columnWidth, d = u && u < 1 ? "round" : "ceil", f = Math[d](l.size.outerWidth / this.columnWidth);
10393
10427
  f = Math.min(f, this.cols);
10394
- for (var g = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", _ = this[g](f, l), b = {
10428
+ for (var p = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", _ = this[p](f, l), b = {
10395
10429
  x: this.columnWidth * _.col,
10396
10430
  y: _.y
10397
10431
  }, v = _.y + l.size.outerHeight, m = f + _.col, P = _.col; P < m; P++)
@@ -10417,13 +10451,13 @@ function requireOutlayer() {
10417
10451
  }, r._getHorizontalColPosition = function(l, u) {
10418
10452
  var d = this.horizontalColIndex % this.cols, f = l > 1 && d + l > this.cols;
10419
10453
  d = f ? 0 : d;
10420
- var g = u.size.outerWidth && u.size.outerHeight;
10421
- return this.horizontalColIndex = g ? d + l : this.horizontalColIndex, {
10454
+ var p = u.size.outerWidth && u.size.outerHeight;
10455
+ return this.horizontalColIndex = p ? d + l : this.horizontalColIndex, {
10422
10456
  col: d,
10423
10457
  y: this._getColGroupY(d, l)
10424
10458
  };
10425
10459
  }, r._manageStamp = function(l) {
10426
- var u = e(l), d = this._getElementOffset(l), f = this._getOption("originLeft"), g = f ? d.left : d.right, _ = g + u.outerWidth, b = Math.floor(g / this.columnWidth);
10460
+ var u = e(l), d = this._getElementOffset(l), f = this._getOption("originLeft"), p = f ? d.left : d.right, _ = p + u.outerWidth, b = Math.floor(p / this.columnWidth);
10427
10461
  b = Math.max(0, b);
10428
10462
  var v = Math.floor(_ / this.columnWidth);
10429
10463
  v -= _ % this.columnWidth ? 0 : 1, v = Math.min(this.cols - 1, v);
@@ -10494,10 +10528,10 @@ var imagesloaded = { exports: {} };
10494
10528
  }, f.prototype.addElementImages = function(v) {
10495
10529
  v.nodeName == "IMG" && this.addImage(v), this.options.background === !0 && this.addElementBackgroundImages(v);
10496
10530
  var m = v.nodeType;
10497
- if (!(!m || !g[m])) {
10531
+ if (!(!m || !p[m])) {
10498
10532
  for (var P = v.querySelectorAll("img"), y = 0; y < P.length; y++) {
10499
- var p = P[y];
10500
- this.addImage(p);
10533
+ var g = P[y];
10534
+ this.addImage(g);
10501
10535
  }
10502
10536
  if (typeof this.options.background == "string") {
10503
10537
  var E = v.querySelectorAll(this.options.background);
@@ -10508,7 +10542,7 @@ var imagesloaded = { exports: {} };
10508
10542
  }
10509
10543
  }
10510
10544
  };
10511
- var g = {
10545
+ var p = {
10512
10546
  1: !0,
10513
10547
  9: !0,
10514
10548
  11: !0
@@ -10517,8 +10551,8 @@ var imagesloaded = { exports: {} };
10517
10551
  var m = getComputedStyle(v);
10518
10552
  if (m)
10519
10553
  for (var P = /url\((['"])?(.*?)\1\)/gi, y = P.exec(m.backgroundImage); y !== null; ) {
10520
- var p = y && y[2];
10521
- p && this.addBackground(p, v), y = P.exec(m.backgroundImage);
10554
+ var g = y && y[2];
10555
+ g && this.addBackground(g, v), y = P.exec(m.backgroundImage);
10522
10556
  }
10523
10557
  }, f.prototype.addImage = function(v) {
10524
10558
  var m = new _(v);
@@ -10532,9 +10566,9 @@ var imagesloaded = { exports: {} };
10532
10566
  this.complete();
10533
10567
  return;
10534
10568
  }
10535
- function m(P, y, p) {
10569
+ function m(P, y, g) {
10536
10570
  setTimeout(function() {
10537
- v.progress(P, y, p);
10571
+ v.progress(P, y, g);
10538
10572
  });
10539
10573
  }
10540
10574
  this.images.forEach(function(P) {
@@ -10624,7 +10658,7 @@ VueMasonryPlugin.install = function(s, i) {
10624
10658
  mounted: function(r, l) {
10625
10659
  if (!Masonry)
10626
10660
  throw new Error("Masonry plugin is not defined. Please check it's connected and parsed correctly.");
10627
- const u = collectOptions(r.attributes), d = new Masonry(r, u), f = l.value || e, g = u.destroyDelay ? parseInt(u.destroyDelay, 10) : void 0, _ = function() {
10661
+ const u = collectOptions(r.attributes), d = new Masonry(r, u), f = l.value || e, p = u.destroyDelay ? parseInt(u.destroyDelay, 10) : void 0, _ = function() {
10628
10662
  d.reloadItems(), d.layout();
10629
10663
  };
10630
10664
  nextTick(() => {
@@ -10634,7 +10668,7 @@ VueMasonryPlugin.install = function(s, i) {
10634
10668
  _();
10635
10669
  }, v = function(m) {
10636
10670
  t.off(`${EVENT_ADD}__${f}`, b), t.off(`${EVENT_REMOVE}__${f}`, b), t.off(`${EVENT_IMAGE_LOADED}__${f}`, b), t.off(`${EVENT_DESTROY}__${f}`, v);
10637
- const P = g && !Number.isNaN(g) ? g : 0;
10671
+ const P = p && !Number.isNaN(p) ? p : 0;
10638
10672
  setTimeout(function() {
10639
10673
  d.destroy();
10640
10674
  }, P);
@@ -10684,4 +10718,4 @@ export {
10684
10718
  StickyPlugin as a,
10685
10719
  ListingSkeleton as b
10686
10720
  };
10687
- //# sourceMappingURL=masonry.plugin-rZZcRBGq.js.map
10721
+ //# sourceMappingURL=masonry.plugin-Djhh4bxD.js.map