@konnectio/core 4.3.7 → 4.3.9

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 (112) hide show
  1. package/dist/{ActionField-BsC9Ocw1.js → ActionField-CpOCDefv.js} +32 -32
  2. package/dist/ActionField-CpOCDefv.js.br +0 -0
  3. package/dist/ActionField-CpOCDefv.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-BSayecfH.js → AvailabilitySkeleton-C9mc3ZB2.js} +83 -83
  5. package/dist/AvailabilitySkeleton-C9mc3ZB2.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-C9mc3ZB2.js.gz +0 -0
  7. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DyhwbOIR.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-MOaKYUhP.js} +636 -636
  8. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-MOaKYUhP.js.br +0 -0
  9. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-MOaKYUhP.js.gz +0 -0
  10. package/dist/{CheckoutWindow-Dsu7J2JM.js → CheckoutWindow-hdgJvYdM.js} +250 -250
  11. package/dist/CheckoutWindow-hdgJvYdM.js.br +0 -0
  12. package/dist/CheckoutWindow-hdgJvYdM.js.gz +0 -0
  13. package/dist/{ErrorMessage-wq4rzUJ_.js → ErrorMessage-YkoThqmx.js} +5 -5
  14. package/dist/ErrorMessage-YkoThqmx.js.br +0 -0
  15. package/dist/ErrorMessage-YkoThqmx.js.gz +0 -0
  16. package/dist/EventAvailabilityForm-B9a2hQUw.js +119 -0
  17. package/dist/EventAvailabilityForm-B9a2hQUw.js.br +0 -0
  18. package/dist/EventAvailabilityForm-B9a2hQUw.js.gz +0 -0
  19. package/dist/{Field-o8hQK9VW.js → Field-FIse2yfZ.js} +15 -15
  20. package/dist/Field-FIse2yfZ.js.br +0 -0
  21. package/dist/Field-FIse2yfZ.js.gz +0 -0
  22. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CmIIjeeB.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DteCKqfe.js} +5 -5
  23. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DteCKqfe.js.br +0 -0
  24. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DteCKqfe.js.gz +0 -0
  25. package/dist/{SelectField.vue_vue_type_style_index_0_lang-zDjIIDU3.js → SelectField.vue_vue_type_style_index_0_lang-DoQnqm6S.js} +3672 -3637
  26. package/dist/SelectField.vue_vue_type_style_index_0_lang-DoQnqm6S.js.br +0 -0
  27. package/dist/SelectField.vue_vue_type_style_index_0_lang-DoQnqm6S.js.gz +0 -0
  28. package/dist/TermsOfService-BRQktuy2.js +28 -0
  29. package/dist/TermsOfService-BRQktuy2.js.br +0 -0
  30. package/dist/TermsOfService-BRQktuy2.js.gz +0 -0
  31. package/dist/_-C-gM9gHv.js +5 -0
  32. package/dist/{_.vue_vue_type_style_index_0_lang-JSCio5G8.js → _.vue_vue_type_style_index_0_lang-Dld6EdIi.js} +3 -3
  33. package/dist/_.vue_vue_type_style_index_0_lang-Dld6EdIi.js.br +0 -0
  34. package/dist/_.vue_vue_type_style_index_0_lang-Dld6EdIi.js.gz +0 -0
  35. package/dist/availability.js +33 -33
  36. package/dist/availability.js.br +0 -0
  37. package/dist/availability.js.gz +0 -0
  38. package/dist/cancel-reservation.js +32 -32
  39. package/dist/cancel-reservation.js.br +0 -0
  40. package/dist/cancel-reservation.js.gz +0 -0
  41. package/dist/core.css +1 -1
  42. package/dist/core.css.br +0 -0
  43. package/dist/core.css.gz +0 -0
  44. package/dist/deep-link.js +1 -1
  45. package/dist/deep-link.js.br +0 -0
  46. package/dist/deep-link.js.gz +0 -0
  47. package/dist/event.js +755 -712
  48. package/dist/event.js.br +0 -0
  49. package/dist/event.js.gz +0 -0
  50. package/dist/gift-card-validation.js +48 -48
  51. package/dist/gift-card-validation.js.br +0 -0
  52. package/dist/gift-card-validation.js.gz +0 -0
  53. package/dist/gift-card.js +168 -168
  54. package/dist/gift-card.js.br +0 -0
  55. package/dist/gift-card.js.gz +0 -0
  56. package/dist/{giftCard-CdLzbiLr.js → giftCard-xAmpKnRT.js} +3 -3
  57. package/dist/giftCard-xAmpKnRT.js.br +0 -0
  58. package/dist/giftCard-xAmpKnRT.js.gz +0 -0
  59. package/dist/hotel.js +2314 -2312
  60. package/dist/hotel.js.br +0 -0
  61. package/dist/hotel.js.gz +0 -0
  62. package/dist/{index-Bi5dgk5O.js → index-CB97lqiE.js} +46 -43
  63. package/dist/index-CB97lqiE.js.br +0 -0
  64. package/dist/index-CB97lqiE.js.gz +0 -0
  65. package/dist/{masonry.plugin-CD7BGwYC.js → masonry.plugin-Deuktrut.js} +961 -961
  66. package/dist/masonry.plugin-Deuktrut.js.br +0 -0
  67. package/dist/masonry.plugin-Deuktrut.js.gz +0 -0
  68. package/dist/{mitt-bGMsQrYA.js → mitt-478x9nh_.js} +3345 -3296
  69. package/dist/mitt-478x9nh_.js.br +0 -0
  70. package/dist/mitt-478x9nh_.js.gz +0 -0
  71. package/dist/polyfill.js +1 -1
  72. package/dist/polyfill.js.br +0 -0
  73. package/dist/polyfill.js.gz +0 -0
  74. package/dist/{style-C4ivj8SO.js → style-DpAb9hNM.js} +2 -2
  75. package/dist/style-DpAb9hNM.js.br +0 -0
  76. package/dist/style-DpAb9hNM.js.gz +0 -0
  77. package/package.json +23 -23
  78. package/dist/ActionField-BsC9Ocw1.js.br +0 -5
  79. package/dist/ActionField-BsC9Ocw1.js.gz +0 -0
  80. package/dist/AvailabilitySkeleton-BSayecfH.js.br +0 -0
  81. package/dist/AvailabilitySkeleton-BSayecfH.js.gz +0 -0
  82. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DyhwbOIR.js.br +0 -0
  83. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DyhwbOIR.js.gz +0 -0
  84. package/dist/CheckoutWindow-Dsu7J2JM.js.br +0 -0
  85. package/dist/CheckoutWindow-Dsu7J2JM.js.gz +0 -0
  86. package/dist/ErrorMessage-wq4rzUJ_.js.br +0 -0
  87. package/dist/ErrorMessage-wq4rzUJ_.js.gz +0 -0
  88. package/dist/EventAvailabilityForm-CjiJZ89T.js +0 -119
  89. package/dist/EventAvailabilityForm-CjiJZ89T.js.br +0 -0
  90. package/dist/EventAvailabilityForm-CjiJZ89T.js.gz +0 -0
  91. package/dist/Field-o8hQK9VW.js.br +0 -0
  92. package/dist/Field-o8hQK9VW.js.gz +0 -0
  93. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CmIIjeeB.js.br +0 -0
  94. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CmIIjeeB.js.gz +0 -0
  95. package/dist/SelectField.vue_vue_type_style_index_0_lang-zDjIIDU3.js.br +0 -0
  96. package/dist/SelectField.vue_vue_type_style_index_0_lang-zDjIIDU3.js.gz +0 -0
  97. package/dist/TermsOfService-_5UMkvTm.js +0 -28
  98. package/dist/TermsOfService-_5UMkvTm.js.br +0 -0
  99. package/dist/TermsOfService-_5UMkvTm.js.gz +0 -0
  100. package/dist/_-Dv4fC4hQ.js +0 -5
  101. package/dist/_.vue_vue_type_style_index_0_lang-JSCio5G8.js.br +0 -0
  102. package/dist/_.vue_vue_type_style_index_0_lang-JSCio5G8.js.gz +0 -0
  103. package/dist/giftCard-CdLzbiLr.js.br +0 -0
  104. package/dist/giftCard-CdLzbiLr.js.gz +0 -0
  105. package/dist/index-Bi5dgk5O.js.br +0 -0
  106. package/dist/index-Bi5dgk5O.js.gz +0 -0
  107. package/dist/masonry.plugin-CD7BGwYC.js.br +0 -0
  108. package/dist/masonry.plugin-CD7BGwYC.js.gz +0 -0
  109. package/dist/mitt-bGMsQrYA.js.br +0 -0
  110. package/dist/mitt-bGMsQrYA.js.gz +0 -0
  111. package/dist/style-C4ivj8SO.js.br +0 -0
  112. package/dist/style-C4ivj8SO.js.gz +0 -0
@@ -1,8 +1,8 @@
1
- import { d as defineComponent, F as Fragment, Q as Comment, R as Text, U as h, V as getCurrentInstance, W as resolveComponent, r as ref, c as computed$1, D as watch, o as onMounted, h as createElementBlock, b as openBlock, a as createBlock, i as createCommentVNode, w as withCtx, v as renderList, e as createBaseVNode, j as withModifiers, f as createVNode, g as unref, n as normalizeClass, u as useI18n, s as storeToRefs, X as inject, N as resolveDirective, A as createSlots, E as withDirectives, t as toDisplayString, Y as reactive, Z as onUnmounted, K as normalizeStyle, q as renderSlot, $ as nextTick, G as vShow, x as createTextVNode, a0 as mergeModels, y as useSlots, a1 as useModel, T as Transition, z as isRef, _ as _mitt } from "./mitt-bGMsQrYA.js";
2
- import { I as Icon, _ as _export_sfc, b as useHotelStore, g as useEventStore, u as useAvailabilityStore, f as useUtilityStore, T as TextField, K as convertDescription, B as BookingLayout, r as capitalized, m as daysBetweenDates, p as showPrice, s as showDate, x as InputField, J as BookingHeaderLayout, P as emitter, w as getUserLanguage, y as useApplyGiftCardStore, e as Clickable, z as usePaymentStore } from "./SelectField.vue_vue_type_style_index_0_lang-zDjIIDU3.js";
3
- import { B as Base$1, a as Checkbox, _ as _sfc_main$c } from "./CheckoutWindow-Dsu7J2JM.js";
4
- import { A as ActionField } from "./ActionField-BsC9Ocw1.js";
5
- import { E as Element$1 } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CmIIjeeB.js";
1
+ import { d as defineComponent, F as Fragment, Q as Comment, R as Text, U as h, V as getCurrentInstance, W as resolveComponent, r as ref, c as computed$1, D as watch, o as onMounted, h as createElementBlock, b as openBlock, a as createBlock, i as createCommentVNode, w as withCtx, v as renderList, e as createBaseVNode, j as withModifiers, f as createVNode, g as unref, n as normalizeClass, u as useI18n, s as storeToRefs, X as inject, N as resolveDirective, A as createSlots, E as withDirectives, t as toDisplayString, Y as reactive, Z as onUnmounted, K as normalizeStyle, q as renderSlot, $ as nextTick, G as vShow, x as createTextVNode, a0 as mergeModels, y as useSlots, a1 as useModel, T as Transition, z as isRef, _ as _mitt } from "./mitt-478x9nh_.js";
2
+ import { I as Icon, _ as _export_sfc, b as useHotelStore, g as useEventStore, u as useAvailabilityStore, f as useUtilityStore, T as TextField, K as convertDescription, B as BookingLayout, r as capitalized, m as daysBetweenDates, p as showPrice, s as showDate, x as InputField, J as BookingHeaderLayout, P as emitter, w as getUserLanguage, y as useApplyGiftCardStore, e as Clickable, z as usePaymentStore } from "./SelectField.vue_vue_type_style_index_0_lang-DoQnqm6S.js";
3
+ import { B as Base$1, a as Checkbox, _ as _sfc_main$c } from "./CheckoutWindow-hdgJvYdM.js";
4
+ import { A as ActionField } from "./ActionField-CpOCDefv.js";
5
+ import { E as Element$1 } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DteCKqfe.js";
6
6
  import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-DaMA6jEr.js";
7
7
  /*! *****************************************************************************
8
8
  Copyright (c) Microsoft Corporation.
@@ -326,12 +326,12 @@ function getLegacyAgent(s) {
326
326
  name: "unknown",
327
327
  version: "-1",
328
328
  majorVersion: -1
329
- }, r = findPreset(BROWSER_PRESETS, i), l = r.preset, u = r.version, d = findPreset(OS_PRESETS, i), f = d.preset, _ = d.version, g = findPreset(CHROMIUM_PRESETS, i);
330
- if (e.chromium = !!g.preset, e.chromiumVersion = g.version, !e.chromium) {
329
+ }, 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);
330
+ if (e.chromium = !!_.preset, e.chromiumVersion = _.version, !e.chromium) {
331
331
  var y = findPreset(WEBKIT_PRESETS, i);
332
332
  e.webkit = !!y.preset, e.webkitVersion = y.version;
333
333
  }
334
- return f && (n.name = f.id, n.version = _, n.majorVersion = parseInt(_, 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), {
334
+ 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), {
335
335
  browser: e,
336
336
  os: n,
337
337
  isMobile: t,
@@ -361,13 +361,13 @@ function getClientHintsAgent(s) {
361
361
  var f = findPresetBrand(WEBKIT_PRESETS, t);
362
362
  l.webkit = !!f.brand, l.webkitVersion = f.version || "-1";
363
363
  }
364
- var _ = find$1(OS_PRESETS, function(y) {
364
+ var p = find$1(OS_PRESETS, function(y) {
365
365
  return new RegExp("" + y.test, "g").exec(r);
366
366
  });
367
- u.name = _ ? _.id : "";
367
+ u.name = p ? p.id : "";
368
368
  {
369
- var g = findPresetBrand(BROWSER_PRESETS, t);
370
- l.name = g.brand || l.name, l.version = g.brand && s ? s.uaFullVersion : g.version;
369
+ var _ = findPresetBrand(BROWSER_PRESETS, t);
370
+ l.name = _.brand || l.name, l.version = _.brand && s ? s.uaFullVersion : _.version;
371
371
  }
372
372
  return l.webkit && (u.name = e ? "ios" : "mac"), u.name === "ios" && l.webview && (l.version = "-1"), u.version = convertVersion(u.version), l.version = convertVersion(l.version), u.majorVersion = parseInt(u.version, 10), l.majorVersion = parseInt(l.version, 10), {
373
373
  browser: l,
@@ -761,21 +761,21 @@ var requestAnimationFrame$2 = function(s) {
761
761
  }, i.triggerChange = function(t, e, n, r) {
762
762
  var l = this;
763
763
  r === void 0 && (r = !1);
764
- var u = this.animationManager, d = u.axisManager, f = u.getEventInfo(), _ = this._getRoundPos(t, e), g = _.roundPos, y = _.roundDepa, p = d.moveTo(g, y), m = n?.event || f?.event || null, b = {
765
- pos: p.pos,
766
- delta: p.delta,
767
- bounceRatio: this._getBounceRatio(p.pos),
764
+ var u = this.animationManager, d = u.axisManager, f = u.getEventInfo(), p = this._getRoundPos(t, e), _ = p.roundPos, y = p.roundDepa, v = d.moveTo(_, y), m = n?.event || f?.event || null, b = {
765
+ pos: v.pos,
766
+ delta: v.delta,
767
+ bounceRatio: this._getBounceRatio(v.pos),
768
768
  holding: r,
769
769
  inputEvent: m,
770
770
  isTrusted: !!m,
771
771
  input: n?.input || f?.input || null,
772
- set: m ? this._createUserControll(p.pos) : function() {
772
+ set: m ? this._createUserControll(v.pos) : function() {
773
773
  }
774
774
  // eslint-disable-line @typescript-eslint/no-empty-function
775
775
  }, P = new ComponentEvent$1("change", b);
776
- return this._axes.trigger(P), Object.keys(p.pos).forEach(function(v) {
777
- var E = p.pos[v];
778
- getObserver(l._axes, v, E).current = E;
776
+ return this._axes.trigger(P), Object.keys(v.pos).forEach(function(g) {
777
+ var E = v.pos[g];
778
+ getObserver(l._axes, g, E).current = E;
779
779
  }), m && d.set(b.set().destPos), !P.isCanceled();
780
780
  }, i.triggerAnimationStart = function(t) {
781
781
  var e = this._getRoundPos(t.destPos, t.depaPos), n = e.roundPos, r = e.roundDepa;
@@ -929,22 +929,22 @@ var requestAnimationFrame$2 = function(s) {
929
929
  var e, n = this.prevEvent, r = this._getCenter(t), l = n ? this._getMovement(t) : {
930
930
  x: 0,
931
931
  y: 0
932
- }, u = n ? this._getScale(t) : 1, d = n ? getAngle(r.x - n.center.x, r.y - n.center.y) : 0, f = n ? n.deltaX + l.x : l.x, _ = n ? n.deltaY + l.y : l.y, g = l.x, y = l.y, p = this._latestInterval, m = Date.now(), b = p ? m - p.timestamp : 0, P = n ? n.velocityX : 0, v = n ? n.velocityY : 0;
933
- return (!p || b >= VELOCITY_INTERVAL) && (p && (e = [(f - p.deltaX) / b, (_ - p.deltaY) / b], P = e[0], v = e[1]), this._latestInterval = {
932
+ }, 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, y = l.y, v = this._latestInterval, m = Date.now(), b = v ? m - v.timestamp : 0, P = n ? n.velocityX : 0, g = n ? n.velocityY : 0;
933
+ return (!v || b >= VELOCITY_INTERVAL) && (v && (e = [(f - v.deltaX) / b, (p - v.deltaY) / b], P = e[0], g = e[1]), this._latestInterval = {
934
934
  timestamp: m,
935
935
  deltaX: f,
936
- deltaY: _
936
+ deltaY: p
937
937
  }), {
938
938
  srcEvent: t,
939
939
  scale: u,
940
940
  angle: d,
941
941
  center: r,
942
942
  deltaX: f,
943
- deltaY: _,
944
- offsetX: g,
943
+ deltaY: p,
944
+ offsetX: _,
945
945
  offsetY: y,
946
946
  velocityX: P,
947
- velocityY: v,
947
+ velocityY: g,
948
948
  preventSystemEvent: !0
949
949
  };
950
950
  }, i._getDistance = function(t, e) {
@@ -1173,24 +1173,24 @@ var InputObserver = /* @__PURE__ */ function() {
1173
1173
  var l = e.srcEvent ? e.srcEvent : e;
1174
1174
  if (!l.__childrenAxesAlreadyChanged) {
1175
1175
  var u = this._moveDistance || this._axisManager.get(t.axes), d;
1176
- d = map(u, function(y, p) {
1177
- return y + (n[p] || 0);
1178
- }), this._moveDistance && (this._moveDistance = this._axisManager.map(d, function(y, p) {
1179
- var m = p.circular, b = p.range;
1176
+ d = map(u, function(y, v) {
1177
+ return y + (n[v] || 0);
1178
+ }), this._moveDistance && (this._moveDistance = this._axisManager.map(d, function(y, v) {
1179
+ var m = v.circular, b = v.range;
1180
1180
  return m && (m[0] || m[1]) ? getCirculatedPos(y, b, m) : y;
1181
- })), this._isOutside && this._axisManager.every(u, function(y, p) {
1182
- return !isOutside(y, p.range);
1181
+ })), this._isOutside && this._axisManager.every(u, function(y, v) {
1182
+ return !isOutside(y, v.range);
1183
1183
  }) && (this._isOutside = !1), u = this._atOutside(u), d = this._atOutside(d), (!this.options.nested || !this._isEndofAxis(n, u, d)) && (l.__childrenAxesAlreadyChanged = !0);
1184
1184
  var f = {
1185
1185
  input: t,
1186
1186
  event: e
1187
1187
  };
1188
1188
  if (r) {
1189
- var _ = this._animationManager.getDuration(d, u);
1190
- this._animationManager.animateTo(d, _, f);
1189
+ var p = this._animationManager.getDuration(d, u);
1190
+ this._animationManager.animateTo(d, p, f);
1191
1191
  } else {
1192
- var g = !this._eventManager.triggerChange(d, u, f, !0);
1193
- g && (this._isStopped = !0, this._moveDistance = null, this._animationManager.finish(!1));
1192
+ var _ = !this._eventManager.triggerChange(d, u, f, !0);
1193
+ _ && (this._isStopped = !0, this._moveDistance = null, this._animationManager.finish(!1));
1194
1194
  }
1195
1195
  }
1196
1196
  }
@@ -1200,23 +1200,23 @@ var InputObserver = /* @__PURE__ */ function() {
1200
1200
  l.__childrenAxesAlreadyReleased && (n = n.map(function() {
1201
1201
  return 0;
1202
1202
  }));
1203
- var u = this._axisManager.get(t.axes), d = this._axisManager.get(), f = this._animationManager.getDisplacement(n), _ = toAxis(t.axes, f), g = this._axisManager.get(this._axisManager.map(_, function(v, E, T) {
1204
- return E.circular && (E.circular[0] || E.circular[1]) ? u[T] + v : getInsidePosition(u[T] + v, E.range, E.circular, E.bounce);
1203
+ 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) {
1204
+ return E.circular && (E.circular[0] || E.circular[1]) ? u[T] + g : getInsidePosition(u[T] + g, E.range, E.circular, E.bounce);
1205
1205
  }));
1206
1206
  l.__childrenAxesAlreadyReleased = !0;
1207
- var y = this._animationManager.getDuration(g, u, r);
1208
- y === 0 && (g = __assign$3({}, d));
1209
- var p = {
1207
+ var y = this._animationManager.getDuration(_, u, r);
1208
+ y === 0 && (_ = __assign$3({}, d));
1209
+ var v = {
1210
1210
  depaPos: d,
1211
- destPos: g,
1211
+ destPos: _,
1212
1212
  duration: y,
1213
- delta: this._axisManager.getDelta(d, g),
1213
+ delta: this._axisManager.getDelta(d, _),
1214
1214
  inputEvent: e,
1215
1215
  input: t,
1216
1216
  isTrusted: !0
1217
1217
  };
1218
- --this._eventManager.holdingCount, this._eventManager.triggerRelease(p), this._eventManager.holdingCount === 0 && (this._moveDistance = null);
1219
- var m = this._animationManager.getUserControl(p), b = equal(m.destPos, d), P = {
1218
+ --this._eventManager.holdingCount, this._eventManager.triggerRelease(v), this._eventManager.holdingCount === 0 && (this._moveDistance = null);
1219
+ var m = this._animationManager.getUserControl(v), b = equal(m.destPos, d), P = {
1220
1220
  input: t,
1221
1221
  event: e
1222
1222
  };
@@ -1301,17 +1301,17 @@ var InputObserver = /* @__PURE__ */ function() {
1301
1301
  var r = this;
1302
1302
  this.stopAnimation();
1303
1303
  var l = this._createAnimationParam(t, e, n), u = __assign$3({}, l.depaPos), d = this.eventManager.triggerAnimationStart(l), f = this.getUserControl(l);
1304
- if (!d && this.axisManager.every(f.destPos, function(g, y) {
1305
- return isCircularable(g, y.range, y.circular);
1304
+ if (!d && this.axisManager.every(f.destPos, function(_, y) {
1305
+ return isCircularable(_, y.range, y.circular);
1306
1306
  }) && console.warn("You can't stop the 'animation' event when 'circular' is true."), d && !equal(f.destPos, u)) {
1307
- var _ = n?.event || null;
1307
+ var p = n?.event || null;
1308
1308
  this._animateLoop({
1309
1309
  depaPos: u,
1310
1310
  destPos: f.destPos,
1311
1311
  duration: f.duration,
1312
1312
  delta: this.axisManager.getDelta(u, f.destPos),
1313
- isTrusted: !!_,
1314
- inputEvent: _,
1313
+ isTrusted: !!p,
1314
+ inputEvent: p,
1315
1315
  input: n?.input || null
1316
1316
  }, function() {
1317
1317
  return r.animationEnd();
@@ -1327,8 +1327,8 @@ var InputObserver = /* @__PURE__ */ function() {
1327
1327
  return r[d] !== u;
1328
1328
  });
1329
1329
  return Object.keys(l).length ? (l = this.axisManager.map(l, function(u, d) {
1330
- var f = d.range, _ = d.circular;
1331
- return _ && (_[0] || _[1]) ? u : getInsidePosition(u, f, _);
1330
+ var f = d.range, p = d.circular;
1331
+ return p && (p[0] || p[1]) ? u : getInsidePosition(u, f, p);
1332
1332
  }), equal(l, r) ? this : (e > 0 ? this.animateTo(l, e) : (this.stopAnimation(), this.eventManager.triggerChange(l), this.finish(!1)), this)) : this;
1333
1333
  }, i.setBy = function(t, e) {
1334
1334
  return e === void 0 && (e = 0), this.setTo(map(this.axisManager.get(Object.keys(t)), function(n, r) {
@@ -1358,11 +1358,11 @@ var InputObserver = /* @__PURE__ */ function() {
1358
1358
  return d;
1359
1359
  }), l = this._initState(this._animateParam), u = function() {
1360
1360
  n._raf = null;
1361
- var d = n._animateParam, f = n._getNextState(l), _ = !n.eventManager.triggerChange(f.pos, l.pos);
1361
+ var d = n._animateParam, f = n._getNextState(l), p = !n.eventManager.triggerChange(f.pos, l.pos);
1362
1362
  if (l = f, f.finished) {
1363
1363
  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();
1364
1364
  return;
1365
- } else _ ? n.finish(!1) : n._raf = requestAnimationFrame$2(u);
1365
+ } else p ? n.finish(!1) : n._raf = requestAnimationFrame$2(u);
1366
1366
  };
1367
1367
  u();
1368
1368
  } else
@@ -1371,8 +1371,8 @@ var InputObserver = /* @__PURE__ */ function() {
1371
1371
  var n = this, r = 1e-6, l = map(t, function(u, d) {
1372
1372
  if (u >= e[d] - r && u <= e[d] + r)
1373
1373
  return e[d];
1374
- var f = n._getRoundUnit(u, d), _ = roundNumber(u, f);
1375
- return _;
1374
+ var f = n._getRoundUnit(u, d), p = roundNumber(u, f);
1375
+ return p;
1376
1376
  });
1377
1377
  return l;
1378
1378
  }, i._getRoundUnit = function(t, e) {
@@ -1406,8 +1406,8 @@ var InputObserver = /* @__PURE__ */ function() {
1406
1406
  this._initialEasingPer = this._prevEasingPer, r.delta = this.axisManager.getDelta(f, u), r.destPos = u;
1407
1407
  }
1408
1408
  if (e?.duration) {
1409
- var _ = (l + this._durationOffset) / r.duration;
1410
- this._durationOffset = _ * d - l, r.duration = d;
1409
+ var p = (l + this._durationOffset) / r.duration;
1410
+ this._durationOffset = p * d - l, r.duration = d;
1411
1411
  }
1412
1412
  }
1413
1413
  }, t._initState = function(e) {
@@ -1417,20 +1417,20 @@ var InputObserver = /* @__PURE__ */ function() {
1417
1417
  finished: !1
1418
1418
  };
1419
1419
  }, t._getNextState = function(e) {
1420
- var n = this, r = this._animateParam, l = e.pos, u = r.destPos, d = map(l, function(p, m) {
1421
- return p <= u[m] ? 1 : -1;
1422
- }), f = (/* @__PURE__ */ new Date()).getTime() - r.startTime, _ = (f + this._durationOffset) / r.duration, g = this._easing(_), y = this.axisManager.map(l, function(p, m, b) {
1423
- var P = _ >= 1 ? u[b] : p + r.delta[b] * (g - n._prevEasingPer) / (1 - n._initialEasingPer), v = getCirculatedPos(P, m.range, m.circular);
1424
- if (P !== v) {
1420
+ var n = this, r = this._animateParam, l = e.pos, u = r.destPos, d = map(l, function(v, m) {
1421
+ return v <= u[m] ? 1 : -1;
1422
+ }), f = (/* @__PURE__ */ new Date()).getTime() - r.startTime, p = (f + this._durationOffset) / r.duration, _ = this._easing(p), y = this.axisManager.map(l, function(v, m, b) {
1423
+ var P = p >= 1 ? u[b] : v + r.delta[b] * (_ - n._prevEasingPer) / (1 - n._initialEasingPer), g = getCirculatedPos(P, m.range, m.circular);
1424
+ if (P !== g) {
1425
1425
  var E = d[b] * (m.range[1] - m.range[0]);
1426
1426
  u[b] -= E, l[b] -= E;
1427
1427
  }
1428
- return v;
1428
+ return g;
1429
1429
  });
1430
- return this._prevEasingPer = g, {
1430
+ return this._prevEasingPer = _, {
1431
1431
  pos: y,
1432
- easingPer: g,
1433
- finished: g >= 1
1432
+ easingPer: _,
1433
+ finished: _ >= 1
1434
1434
  };
1435
1435
  }, t._easing = function(e) {
1436
1436
  return e > 1 ? 1 : this._options.easing(e);
@@ -1560,30 +1560,30 @@ var InputObserver = /* @__PURE__ */ function() {
1560
1560
  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;
1561
1561
  }
1562
1562
  }, i._onPanmove = function(t) {
1563
- var e = this, n = this.options, r = n.iOSEdgeSwipeThreshold, l = n.preventClickOnDrag, u = n.releaseOnScroll, d = n.inputKey, f = n.inputButton, _ = n.threshold, g = n.thresholdAngle, y = this._activeEvent, p = y.onEventMove(t, d, f), m = y.getTouches(t, f);
1564
- if (m === 0 || u && p && !p.srcEvent.cancelable) {
1563
+ 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, y = this._activeEvent, v = y.onEventMove(t, d, f), m = y.getTouches(t, f);
1564
+ if (m === 0 || u && v && !v.srcEvent.cancelable) {
1565
1565
  this._onPanend(t);
1566
1566
  return;
1567
1567
  }
1568
- if (!(!p || !this._enabled || m > 1)) {
1569
- var b = getDirectionByAngle(p.angle, g), P = useDirection(DIRECTION_HORIZONTAL, this._direction, b), v = useDirection(DIRECTION_VERTICAL, this._direction, b);
1568
+ if (!(!v || !this._enabled || m > 1)) {
1569
+ var b = getDirectionByAngle(v.angle, _), P = useDirection(DIRECTION_HORIZONTAL, this._direction, b), g = useDirection(DIRECTION_VERTICAL, this._direction, b);
1570
1570
  if (y.prevEvent && IS_IOS_SAFARI) {
1571
- var E = p.center.x < 0;
1571
+ var E = v.center.x < 0;
1572
1572
  if (E) {
1573
1573
  this.release();
1574
1574
  return;
1575
1575
  } else if (this._atRightEdge) {
1576
1576
  clearTimeout(this._rightEdgeTimer);
1577
- var T = p.deltaX < -r;
1577
+ var T = v.deltaX < -r;
1578
1578
  T ? this._atRightEdge = !1 : this._rightEdgeTimer = window.setTimeout(function() {
1579
1579
  return e.release();
1580
1580
  }, 100);
1581
1581
  }
1582
1582
  }
1583
- var O = this._getDistance([p.deltaX, p.deltaY], [P, v]), S = this._getOffset([p.offsetX, p.offsetY], [P, v]), k = S.some(function(R) {
1584
- return R !== 0;
1583
+ var O = this._getDistance([v.deltaX, v.deltaY], [P, g]), S = this._getOffset([v.offsetX, v.offsetY], [P, g]), C = S.some(function(k) {
1584
+ return k !== 0;
1585
1585
  });
1586
- k && (p.srcEvent.cancelable !== !1 && p.srcEvent.preventDefault(), p.srcEvent.stopPropagation()), p.preventSystemEvent = k, k && (this._isOverThreshold || O >= _) && (this._dragged = l, this._isOverThreshold = !0, this._observer.change(this, p, toAxis(this.axes, S))), y.prevEvent = p;
1586
+ 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))), y.prevEvent = v;
1587
1587
  }
1588
1588
  }, i._onPanend = function(t) {
1589
1589
  var e = this.options.inputButton, n = this._activeEvent;
@@ -1835,18 +1835,18 @@ var Loader = /* @__PURE__ */ function(s) {
1835
1835
  var f = n.getLoader(u, {
1836
1836
  prefix: r
1837
1837
  });
1838
- return f.check(), f.on("error", function(_) {
1839
- n.onError(d, _.target);
1840
- }).on("preReady", function(_) {
1841
- var g = n.elementInfos[d];
1842
- g.hasLoading = _.hasLoading, g.isSkip = _.isSkip;
1838
+ return f.check(), f.on("error", function(p) {
1839
+ n.onError(d, p.target);
1840
+ }).on("preReady", function(p) {
1841
+ var _ = n.elementInfos[d];
1842
+ _.hasLoading = p.hasLoading, _.isSkip = p.isSkip;
1843
1843
  var y = n.checkPreReady(d);
1844
1844
  n.onPreReadyElement(d), y && n.onPreReady();
1845
- }).on("ready", function(_) {
1846
- var g = _.withPreReady, y = _.hasLoading, p = _.isSkip, m = n.elementInfos[d];
1847
- m.hasLoading = y, m.isSkip = p;
1848
- var b = g && n.checkPreReady(d), P = n.checkReady(d);
1849
- g && n.onPreReadyElement(d), n.onReadyElement(d), b && n.onPreReady(), P && n.onReady();
1845
+ }).on("ready", function(p) {
1846
+ var _ = p.withPreReady, y = p.hasLoading, v = p.isSkip, m = n.elementInfos[d];
1847
+ m.hasLoading = y, m.isSkip = v;
1848
+ var b = _ && n.checkPreReady(d), P = n.checkReady(d);
1849
+ _ && n.onPreReadyElement(d), n.onReadyElement(d), b && n.onPreReady(), P && n.onReady();
1850
1850
  }), {
1851
1851
  loader: f,
1852
1852
  element: u,
@@ -1883,25 +1883,25 @@ var Loader = /* @__PURE__ */ function(s) {
1883
1883
  var r = this, l = e.tagName.toLowerCase(), u = this.options.loaders, d = n.prefix, f = Object.keys(u);
1884
1884
  if (u[l])
1885
1885
  return new u[l](e, n);
1886
- var _ = new ElementLoader(e, n), g = toArray$1(e.querySelectorAll(f.join(", ")));
1887
- _.setHasLoading(g.some(function(m) {
1886
+ var p = new ElementLoader(e, n), _ = toArray$1(e.querySelectorAll(f.join(", ")));
1887
+ p.setHasLoading(_.some(function(m) {
1888
1888
  return hasLoadingAttribute(m, d);
1889
1889
  }));
1890
- var y = !1, p = this.clone().on("error", function(m) {
1891
- _.onError(m.target);
1890
+ var y = !1, v = this.clone().on("error", function(m) {
1891
+ p.onError(m.target);
1892
1892
  }).on("ready", function() {
1893
- _.onReady(y);
1893
+ p.onReady(y);
1894
1894
  });
1895
- return _.on("requestChildren", function() {
1895
+ return p.on("requestChildren", function() {
1896
1896
  var m = getContentElements(e, f, r.options.prefix);
1897
- p.check(m).on("preReady", function(b) {
1898
- y = b.isReady, y || _.onPreReady();
1897
+ v.check(m).on("preReady", function(b) {
1898
+ y = b.isReady, y || p.onPreReady();
1899
1899
  });
1900
1900
  }).on("reqeustReadyChildren", function() {
1901
- p.check(g);
1901
+ v.check(_);
1902
1902
  }).on("requestDestroy", function() {
1903
- p.destroy();
1904
- }), _;
1903
+ v.destroy();
1904
+ }), p;
1905
1905
  }, t.clone = function() {
1906
1906
  return new i(__assign$2({}, this.options));
1907
1907
  }, t.checkPreReady = function(e) {
@@ -2038,22 +2038,22 @@ function __awaiter$1(s, i, t, e) {
2038
2038
  });
2039
2039
  }
2040
2040
  return new (t || (t = Promise))(function(r, l) {
2041
- function u(_) {
2041
+ function u(p) {
2042
2042
  try {
2043
- f(e.next(_));
2044
- } catch (g) {
2045
- l(g);
2043
+ f(e.next(p));
2044
+ } catch (_) {
2045
+ l(_);
2046
2046
  }
2047
2047
  }
2048
- function d(_) {
2048
+ function d(p) {
2049
2049
  try {
2050
- f(e.throw(_));
2051
- } catch (g) {
2052
- l(g);
2050
+ f(e.throw(p));
2051
+ } catch (_) {
2052
+ l(_);
2053
2053
  }
2054
2054
  }
2055
- function f(_) {
2056
- _.done ? r(_.value) : n(_.value).then(u, d);
2055
+ function f(p) {
2056
+ p.done ? r(p.value) : n(p.value).then(u, d);
2057
2057
  }
2058
2058
  f((e = e.apply(s, [])).next());
2059
2059
  });
@@ -2076,8 +2076,8 @@ function __generator$1(s, i) {
2076
2076
  return this;
2077
2077
  }), l;
2078
2078
  function u(f) {
2079
- return function(_) {
2080
- return d([f, _]);
2079
+ return function(p) {
2080
+ return d([f, p]);
2081
2081
  };
2082
2082
  }
2083
2083
  function d(f) {
@@ -2121,8 +2121,8 @@ function __generator$1(s, i) {
2121
2121
  continue;
2122
2122
  }
2123
2123
  f = i.call(s, t);
2124
- } catch (_) {
2125
- f = [6, _], n = 0;
2124
+ } catch (p) {
2125
+ f = [6, p], n = 0;
2126
2126
  } finally {
2127
2127
  e = r = 0;
2128
2128
  }
@@ -2427,12 +2427,12 @@ var CODE = {
2427
2427
  if (d)
2428
2428
  l = n ? u : u - f;
2429
2429
  else {
2430
- var _ = t ? parseFloat(r.paddingLeft || "0") + parseFloat(r.paddingRight || "0") : parseFloat(r.paddingTop || "0") + parseFloat(r.paddingBottom || "0");
2431
- l = n ? u + _ + f : u + _;
2430
+ var p = t ? parseFloat(r.paddingLeft || "0") + parseFloat(r.paddingRight || "0") : parseFloat(r.paddingTop || "0") + parseFloat(r.paddingBottom || "0");
2431
+ l = n ? u + p + f : u + p;
2432
2432
  }
2433
2433
  } else {
2434
- var g = t ? "Width" : "Height";
2435
- l = n ? i["offset" + g] : i["client" + g];
2434
+ var _ = t ? "Width" : "Height";
2435
+ l = n ? i["offset" + _] : i["client" + _];
2436
2436
  }
2437
2437
  return Math.max(l, 0);
2438
2438
  }, setPrototypeOf = Object.setPrototypeOf || function(s, i) {
@@ -2554,10 +2554,10 @@ var CODE = {
2554
2554
  return y.target === r.element;
2555
2555
  }) && n.length === 1;
2556
2556
  if (f) {
2557
- var _ = {
2557
+ var p = {
2558
2558
  width: r.viewport.width,
2559
2559
  height: r.viewport.height
2560
- }, g = {
2560
+ }, _ = {
2561
2561
  width: getElementSize({
2562
2562
  el: d,
2563
2563
  horizontal: !0,
@@ -2573,7 +2573,7 @@ var CODE = {
2573
2573
  style: getStyle(d)
2574
2574
  })
2575
2575
  };
2576
- if (_.height === g.height && _.width === g.width)
2576
+ if (p.height === _.height && p.width === _.width)
2577
2577
  return;
2578
2578
  }
2579
2579
  l <= 0 ? r.resize() : (e._maxResizeDebounceTimer <= 0 && u > 0 && u >= l && (e._maxResizeDebounceTimer = window.setTimeout(e._doScheduledResize, u)), e._resizeTimer > 0 && (clearTimeout(e._resizeTimer), e._resizeTimer = 0), e._resizeTimer = window.setTimeout(e._doScheduledResize, l));
@@ -2858,15 +2858,15 @@ var State = /* @__PURE__ */ function() {
2858
2858
  var e = t.flicking, n = t.axesEvent, r = t.transitTo, l = n.delta[POSITION_KEY];
2859
2859
  if (l) {
2860
2860
  this._delta += l;
2861
- var u = e.camera, d = u.position, f = n.pos[POSITION_KEY], _ = e.circularEnabled ? circulatePosition(f, u.range.min, u.range.max) : f;
2862
- u.lookAt(_);
2863
- var g = new ComponentEvent$1(EVENTS.MOVE, {
2861
+ var u = e.camera, d = u.position, f = n.pos[POSITION_KEY], p = e.circularEnabled ? circulatePosition(f, u.range.min, u.range.max) : f;
2862
+ u.lookAt(p);
2863
+ var _ = new ComponentEvent$1(EVENTS.MOVE, {
2864
2864
  isTrusted: n.isTrusted,
2865
2865
  holding: this.holding,
2866
2866
  direction: getDirection(0, n.delta[POSITION_KEY]),
2867
2867
  axesEvent: n
2868
2868
  });
2869
- e.trigger(g), g.isCanceled() && (u.lookAt(d), r(STATE_TYPE.DISABLED));
2869
+ e.trigger(_), _.isCanceled() && (u.lookAt(d), r(STATE_TYPE.DISABLED));
2870
2870
  }
2871
2871
  }, s;
2872
2872
  }(), IdleState = /* @__PURE__ */ function(s) {
@@ -2929,18 +2929,18 @@ var State = /* @__PURE__ */ function() {
2929
2929
  }, t.onFinish = function(e) {
2930
2930
  var n, r, l = e.flicking, u = e.transitTo;
2931
2931
  if (u(STATE_TYPE.IDLE), !!this._releaseEvent) {
2932
- var d = this._releaseEvent, f = d.inputEvent.srcEvent, _;
2932
+ var d = this._releaseEvent, f = d.inputEvent.srcEvent, p;
2933
2933
  if (f.type === "touchend") {
2934
- var g = f, y = g.changedTouches[0];
2935
- _ = document.elementFromPoint(y.clientX, y.clientY);
2934
+ var _ = f, y = _.changedTouches[0];
2935
+ p = document.elementFromPoint(y.clientX, y.clientY);
2936
2936
  } else
2937
- _ = f.target;
2938
- var p = l.renderer.panels, m = null;
2937
+ p = f.target;
2938
+ var v = l.renderer.panels, m = null;
2939
2939
  try {
2940
- for (var b = __values(p), P = b.next(); !P.done; P = b.next()) {
2941
- var v = P.value;
2942
- if (v.contains(_)) {
2943
- m = v;
2940
+ for (var b = __values(v), P = b.next(); !P.done; P = b.next()) {
2941
+ var g = P.value;
2942
+ if (g.contains(p)) {
2943
+ m = g;
2944
2944
  break;
2945
2945
  }
2946
2946
  }
@@ -2984,9 +2984,9 @@ var State = /* @__PURE__ */ function() {
2984
2984
  return;
2985
2985
  }
2986
2986
  u(STATE_TYPE.ANIMATING);
2987
- var d = r.control, f = l.destPos[POSITION_KEY], _ = Math.max(l.duration, r.duration);
2987
+ var d = r.control, f = l.destPos[POSITION_KEY], p = Math.max(l.duration, r.duration);
2988
2988
  try {
2989
- d.moveToPosition(f, _, l);
2989
+ d.moveToPosition(f, p, l);
2990
2990
  } catch {
2991
2991
  u(STATE_TYPE.IDLE), l.setTo((n = {}, n[POSITION_KEY] = r.camera.position, n), 0);
2992
2992
  }
@@ -3014,8 +3014,8 @@ var State = /* @__PURE__ */ function() {
3014
3014
  direction: getDirection(f.start, f.end),
3015
3015
  axesEvent: r
3016
3016
  }));
3017
- var _ = this._targetPanel;
3018
- _ && u.setActive(_, u.activePanel, r.isTrusted);
3017
+ var p = this._targetPanel;
3018
+ p && u.setActive(p, u.activePanel, r.isTrusted);
3019
3019
  }, i;
3020
3020
  }(State), DisabledState = /* @__PURE__ */ function(s) {
3021
3021
  __extends$2(i, s);
@@ -3266,10 +3266,10 @@ var State = /* @__PURE__ */ function() {
3266
3266
  r.connect(t.horizontal ? [POSITION_KEY, ""] : ["", POSITION_KEY], this._panInput);
3267
3267
  var l = function(d) {
3268
3268
  var f = EVENT[d];
3269
- r.on(f, function(_) {
3269
+ r.on(f, function(p) {
3270
3270
  n._stateMachine.fire(f, {
3271
3271
  flicking: t,
3272
- axesEvent: _
3272
+ axesEvent: p
3273
3273
  });
3274
3274
  });
3275
3275
  };
@@ -3314,31 +3314,31 @@ var State = /* @__PURE__ */ function() {
3314
3314
  return Promise.reject(new FlickingError(MESSAGE.NOT_ATTACHED_TO_FLICKING, CODE.NOT_ATTACHED_TO_FLICKING));
3315
3315
  var f = u.get([POSITION_KEY])[POSITION_KEY];
3316
3316
  if (f === t) {
3317
- var _ = getFlickingAttached(this._flicking);
3318
- return _.camera.lookAt(t), d.targetPanel && _.control.setActive(d.targetPanel, _.control.activePanel, (l = n?.isTrusted) !== null && l !== void 0 ? l : !1), Promise.resolve();
3317
+ var p = getFlickingAttached(this._flicking);
3318
+ 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();
3319
3319
  }
3320
3320
  this._animatingContext = {
3321
3321
  start: f,
3322
3322
  end: t,
3323
3323
  offset: 0
3324
3324
  };
3325
- var g = function() {
3326
- var y, p, m = function() {
3325
+ var _ = function() {
3326
+ var y, v, m = function() {
3327
3327
  r._animatingContext = {
3328
3328
  start: 0,
3329
3329
  end: 0,
3330
3330
  offset: 0
3331
3331
  };
3332
3332
  };
3333
- u.once(EVENT.FINISH, m), n ? n.setTo((y = {}, y[POSITION_KEY] = t, y), e) : u.setTo((p = {}, p[POSITION_KEY] = t, p), e);
3333
+ u.once(EVENT.FINISH, m), n ? n.setTo((y = {}, y[POSITION_KEY] = t, y), e) : u.setTo((v = {}, v[POSITION_KEY] = t, v), e);
3334
3334
  };
3335
- return new Promise(function(y, p) {
3335
+ return new Promise(function(y, v) {
3336
3336
  var m = function() {
3337
3337
  u.off(EVENT.HOLD, b), y();
3338
3338
  }, b = function() {
3339
- u.off(EVENT.FINISH, m), p(new FlickingError(MESSAGE.ANIMATION_INTERRUPTED, CODE.ANIMATION_INTERRUPTED));
3339
+ u.off(EVENT.FINISH, m), v(new FlickingError(MESSAGE.ANIMATION_INTERRUPTED, CODE.ANIMATION_INTERRUPTED));
3340
3340
  };
3341
- u.once(EVENT.FINISH, m), u.once(EVENT.HOLD, b), g();
3341
+ u.once(EVENT.FINISH, m), u.once(EVENT.HOLD, b), _();
3342
3342
  });
3343
3343
  }, i.updateDirection = function() {
3344
3344
  var t = getFlickingAttached(this._flicking), e = this._axes, n = this._panInput;
@@ -3469,23 +3469,23 @@ var State = /* @__PURE__ */ function() {
3469
3469
  }, i.copy = function(t) {
3470
3470
  this._flicking = t._flicking, this._activePanel = t._activePanel, this._controller = t._controller;
3471
3471
  }, i._triggerIndexChangeEvent = function(t, e, n, r) {
3472
- var l, u = getFlickingAttached(this._flicking), d = t !== this._activePanel ? EVENTS.WILL_CHANGE : EVENTS.WILL_RESTORE, f = u.camera, _ = this._activePanel, g = new ComponentEvent$1(d, {
3472
+ 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, {
3473
3473
  index: t.index,
3474
3474
  panel: t,
3475
3475
  isTrusted: n?.isTrusted || !1,
3476
- direction: r ?? getDirection((l = _?.position) !== null && l !== void 0 ? l : f.position, e)
3476
+ direction: r ?? getDirection((l = p?.position) !== null && l !== void 0 ? l : f.position, e)
3477
3477
  });
3478
- if (this._nextPanel = t, u.trigger(g), g.isCanceled())
3478
+ if (this._nextPanel = t, u.trigger(_), _.isCanceled())
3479
3479
  throw new FlickingError(MESSAGE.STOP_CALLED_BY_USER, CODE.STOP_CALLED_BY_USER);
3480
3480
  }, i._animateToPosition = function(t) {
3481
3481
  var e = t.position, n = t.duration, r = t.newActivePanel, l = t.axesEvent;
3482
3482
  return __awaiter$1(this, void 0, void 0, function() {
3483
- var u, d, f, _ = this;
3484
- return __generator$1(this, function(g) {
3483
+ var u, d, f, p = this;
3484
+ return __generator$1(this, function(_) {
3485
3485
  return u = getFlickingAttached(this._flicking), d = function() {
3486
- return _._controller.animateTo(e, n, l);
3486
+ return p._controller.animateTo(e, n, l);
3487
3487
  }, f = this._controller.state, f.targetPanel = r, n <= 0 ? [2, d()] : [2, d().then(function() {
3488
- return __awaiter$1(_, void 0, void 0, function() {
3488
+ return __awaiter$1(p, void 0, void 0, function() {
3489
3489
  return __generator$1(this, function(y) {
3490
3490
  switch (y.label) {
3491
3491
  case 0:
@@ -3512,11 +3512,11 @@ var State = /* @__PURE__ */ function() {
3512
3512
  if (!r.canReach(t))
3513
3513
  l = u.position, t = u.panel;
3514
3514
  else if (n.circularEnabled) {
3515
- var d = this._controller.position, f = r.rangeDiff, _ = [l, l + f, l - f].filter(function(g) {
3516
- return e === DIRECTION.NONE ? !0 : e === DIRECTION.PREV ? g <= d : g >= d;
3515
+ var d = this._controller.position, f = r.rangeDiff, p = [l, l + f, l - f].filter(function(_) {
3516
+ return e === DIRECTION.NONE ? !0 : e === DIRECTION.PREV ? _ <= d : _ >= d;
3517
3517
  });
3518
- l = _.reduce(function(g, y) {
3519
- return Math.abs(d - y) < Math.abs(d - g) ? y : g;
3518
+ l = p.reduce(function(_, y) {
3519
+ return Math.abs(d - y) < Math.abs(d - _) ? y : _;
3520
3520
  }, 1 / 0);
3521
3521
  }
3522
3522
  return l;
@@ -3587,13 +3587,13 @@ var State = /* @__PURE__ */ function() {
3587
3587
  enumerable: !1,
3588
3588
  configurable: !0
3589
3589
  }), t.moveToPosition = function(e, n, r) {
3590
- var l = getFlickingAttached(this._flicking), u = l.camera, d = u.findActiveAnchor(), f = u.findNearestAnchor(u.position), _ = this._controller.state;
3590
+ var l = getFlickingAttached(this._flicking), u = l.camera, d = u.findActiveAnchor(), f = u.findNearestAnchor(u.position), p = this._controller.state;
3591
3591
  if (!d || !f)
3592
3592
  return Promise.reject(new FlickingError(MESSAGE.POSITION_NOT_REACHABLE(e), CODE.POSITION_NOT_REACHABLE));
3593
- var g = this._calcSnapThreshold(l.threshold, e, d), y = l.animating ? _.delta : e - u.position, p = Math.abs(y), m = r && r.delta[POSITION_KEY] !== 0 ? Math.abs(r.delta[POSITION_KEY]) : p, b;
3594
- if (m >= g && m > 0)
3593
+ var _ = this._calcSnapThreshold(l.threshold, e, d), y = l.animating ? p.delta : e - u.position, v = Math.abs(y), m = r && r.delta[POSITION_KEY] !== 0 ? Math.abs(r.delta[POSITION_KEY]) : v, b;
3594
+ if (m >= _ && m > 0)
3595
3595
  b = this._findSnappedAnchor(e, f);
3596
- else if (p >= l.threshold && p > 0)
3596
+ else if (v >= l.threshold && v > 0)
3597
3597
  b = this._findAdjacentAnchor(e, y, f);
3598
3598
  else
3599
3599
  return this.moveToPanel(f.panel, {
@@ -3607,28 +3607,28 @@ var State = /* @__PURE__ */ function() {
3607
3607
  axesEvent: r
3608
3608
  });
3609
3609
  }, t._findSnappedAnchor = function(e, n) {
3610
- var r = getFlickingAttached(this._flicking), l = r.camera, u = this._count, d = l.position, f = l.clampToReachablePosition(e), _ = l.findAnchorIncludePosition(f);
3611
- if (!n || !_)
3610
+ var r = getFlickingAttached(this._flicking), l = r.camera, u = this._count, d = l.position, f = l.clampToReachablePosition(e), p = l.findAnchorIncludePosition(f);
3611
+ if (!n || !p)
3612
3612
  throw new FlickingError(MESSAGE.POSITION_NOT_REACHABLE(e), CODE.POSITION_NOT_REACHABLE);
3613
3613
  if (!isFinite(u))
3614
- return _;
3615
- var g = r.panelCount, y = l.anchorPoints, p = Math.sign(e - d) * Math.floor(Math.abs(e - d) / l.rangeDiff);
3616
- e > d && _.index < n.index || _.position > n.position && _.index === n.index ? p += 1 : (e < d && _.index > n.index || _.position < n.position && _.index === n.index) && (p -= 1);
3617
- var m = p * g, b = _.index + m;
3614
+ return p;
3615
+ var _ = r.panelCount, y = l.anchorPoints, v = Math.sign(e - d) * Math.floor(Math.abs(e - d) / l.rangeDiff);
3616
+ 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);
3617
+ var m = v * _, b = p.index + m;
3618
3618
  if (Math.abs(b - n.index) <= u) {
3619
- var P = y[_.index];
3619
+ var P = y[p.index];
3620
3620
  return new AnchorPoint({
3621
3621
  index: P.index,
3622
- position: P.position + p * l.rangeDiff,
3622
+ position: P.position + v * l.rangeDiff,
3623
3623
  panel: P.panel
3624
3624
  });
3625
3625
  }
3626
3626
  if (r.circularEnabled) {
3627
- var v = y[circulateIndex(n.index + Math.sign(e - d) * u, g)], E = Math.floor(u / g);
3628
- return e > d && v.index < n.index ? E += 1 : e < d && v.index > n.index && (E -= 1), new AnchorPoint({
3629
- index: v.index,
3630
- position: v.position + E * l.rangeDiff,
3631
- panel: v.panel
3627
+ var g = y[circulateIndex(n.index + Math.sign(e - d) * u, _)], E = Math.floor(u / _);
3628
+ return e > d && g.index < n.index ? E += 1 : e < d && g.index > n.index && (E -= 1), new AnchorPoint({
3629
+ index: g.index,
3630
+ position: g.position + E * l.rangeDiff,
3631
+ panel: g.panel
3632
3632
  });
3633
3633
  } else
3634
3634
  return y[clamp(n.index + Math.sign(e - d) * u, 0, y.length - 1)];
@@ -3639,8 +3639,8 @@ var State = /* @__PURE__ */ function() {
3639
3639
  if (f && f.position !== r.position)
3640
3640
  return f;
3641
3641
  }
3642
- var _ = (l = n > 0 ? d.getNextAnchor(r) : d.getPrevAnchor(r)) !== null && l !== void 0 ? l : r;
3643
- return _;
3642
+ var p = (l = n > 0 ? d.getNextAnchor(r) : d.getPrevAnchor(r)) !== null && l !== void 0 ? l : r;
3643
+ return p;
3644
3644
  }, t._calcSnapThreshold = function(e, n, r) {
3645
3645
  var l = n > r.position, u = r.panel, d = u.size, f = u.alignPosition;
3646
3646
  return Math.max(e, l ? d - f + u.margin.next : f + u.margin.prev);
@@ -3677,11 +3677,11 @@ var State = /* @__PURE__ */ function() {
3677
3677
  var l = getFlickingAttached(this._flicking), u = l.camera, d = u.clampToReachablePosition(e), f = u.findAnchorIncludePosition(d);
3678
3678
  if (!f)
3679
3679
  return Promise.reject(new FlickingError(MESSAGE.POSITION_NOT_REACHABLE(e), CODE.POSITION_NOT_REACHABLE));
3680
- var _ = f.panel;
3681
- return _ !== this._activePanel && this._triggerIndexChangeEvent(_, e, r), this._animateToPosition({
3680
+ var p = f.panel;
3681
+ return p !== this._activePanel && this._triggerIndexChangeEvent(p, e, r), this._animateToPosition({
3682
3682
  position: this._stopAtEdge ? d : e,
3683
3683
  duration: n,
3684
- newActivePanel: _,
3684
+ newActivePanel: p,
3685
3685
  axesEvent: r
3686
3686
  });
3687
3687
  }, i;
@@ -3712,17 +3712,17 @@ var State = /* @__PURE__ */ function() {
3712
3712
  }), t.destroy = function() {
3713
3713
  s.prototype.destroy.call(this), this._resetIndexRange();
3714
3714
  }, t.updateInput = function() {
3715
- var e, n = getFlickingAttached(this._flicking), r = n.camera, l = n.renderer, u = this._controller, d = r.controlParams, f = this._count, _ = u.state.animating ? (e = r.findNearestAnchor(r.position)) === null || e === void 0 ? void 0 : e.panel : this._activePanel;
3716
- if (!_)
3715
+ 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;
3716
+ if (!p)
3717
3717
  return u.update(d), this._resetIndexRange(), this;
3718
- var g = d.range, y = _.position, p = _.index, m = l.panelCount, b = p - f, P = p + f;
3718
+ var _ = d.range, y = p.position, v = p.index, m = l.panelCount, b = v - f, P = v + f;
3719
3719
  b < 0 && (b = n.circularEnabled ? getMinusCompensatedIndex((b + 1) % m - 1, m) : clamp(b, 0, m - 1)), P >= m && (P = n.circularEnabled ? P % m : clamp(P, 0, m - 1));
3720
- var v = l.panels[b], E = l.panels[P], T = Math.max(v.position, g.min), O = Math.min(E.position, g.max);
3720
+ var g = l.panels[b], E = l.panels[P], T = Math.max(g.position, _.min), O = Math.min(E.position, _.max);
3721
3721
  return T > y && (T -= r.rangeDiff), O < y && (O += r.rangeDiff), d.range = {
3722
3722
  min: T,
3723
3723
  max: O
3724
3724
  }, d.circular && (d.position < T && (d.position += r.rangeDiff), d.position > O && (d.position -= r.rangeDiff)), d.circular = !1, u.update(d), this._indexRange = {
3725
- min: v.index,
3725
+ min: g.index,
3726
3726
  max: E.index
3727
3727
  }, this;
3728
3728
  }, t.moveToPanel = function(e, n) {
@@ -3733,13 +3733,13 @@ var State = /* @__PURE__ */ function() {
3733
3733
  });
3734
3734
  });
3735
3735
  }, t.moveToPosition = function(e, n, r) {
3736
- var l, u = getFlickingAttached(this._flicking), d = u.camera, f = (l = this._nextPanel) !== null && l !== void 0 ? l : this._activePanel, _ = this._controller.range, g = this._indexRange, y = d.range, p = this._controller.state, m = clamp(d.clampToReachablePosition(e), _[0], _[1]), b = d.findAnchorIncludePosition(m);
3736
+ 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, y = d.range, v = this._controller.state, m = clamp(d.clampToReachablePosition(e), p[0], p[1]), b = d.findAnchorIncludePosition(m);
3737
3737
  if (!b || !f)
3738
3738
  return Promise.reject(new FlickingError(MESSAGE.POSITION_NOT_REACHABLE(e), CODE.POSITION_NOT_REACHABLE));
3739
- var P = f.position, v = u.animating ? p.delta : e - d.position, E = Math.abs(v) >= u.threshold, T = e > P ? d.getNextAnchor(b) : d.getPrevAnchor(b), O, S, k = d.anchorPoints, R = k[0], A = k[k.length - 1], C = e <= y.min && isBetween(R.panel.index, g.min, g.max), N = e >= y.max && isBetween(A.panel.index, g.min, g.max), w = T && (g.min <= g.max ? isBetween(T.index, g.min, g.max) : T.index >= g.min || T.index <= g.max);
3740
- if (C || N) {
3741
- var x = e < y.min ? R : A;
3742
- S = x.panel, O = x.position;
3739
+ var P = f.position, g = u.animating ? v.delta : e - d.position, E = Math.abs(g) >= u.threshold, T = e > P ? d.getNextAnchor(b) : d.getPrevAnchor(b), O, S, C = d.anchorPoints, k = C[0], A = C[C.length - 1], R = e <= y.min && isBetween(k.panel.index, _.min, _.max), N = e >= y.max && isBetween(A.panel.index, _.min, _.max), w = T && (_.min <= _.max ? isBetween(T.index, _.min, _.max) : T.index >= _.min || T.index <= _.max);
3740
+ if (R || N) {
3741
+ var I = e < y.min ? k : A;
3742
+ S = I.panel, O = I.position;
3743
3743
  } else if (E && b.position !== f.position)
3744
3744
  S = b.panel, O = b.position;
3745
3745
  else if (E && w)
@@ -3833,8 +3833,8 @@ var State = /* @__PURE__ */ function() {
3833
3833
  var e = this._flicking, n = e.renderer, r = n.panels;
3834
3834
  if (r.length <= 0)
3835
3835
  return !1;
3836
- var l = r[0], u = r[r.length - 1], d = l.range.min - l.margin.prev, f = u.range.max + u.margin.next, _ = e.camera.size, g = f - d, y = r.every(function(p) {
3837
- return g - p.size >= _;
3836
+ 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, y = r.every(function(v) {
3837
+ return _ - v.size >= p;
3838
3838
  });
3839
3839
  return y;
3840
3840
  }, t.getRange = function() {
@@ -3862,14 +3862,14 @@ var State = /* @__PURE__ */ function() {
3862
3862
  var n = this._flicking.camera, r = n.anchorPoints;
3863
3863
  if (r.length <= 0) return null;
3864
3864
  for (var l = n.range, u = 1 / 0, d = -1, f = 0; f < r.length; f++) {
3865
- var _ = r[f], g = Math.min(Math.abs(_.position - e), Math.abs(_.position - l.min + l.max - e), Math.abs(e - l.min + l.max - _.position));
3866
- g < u && (u = g, d = f);
3865
+ 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));
3866
+ _ < u && (u = _, d = f);
3867
3867
  }
3868
3868
  return r[d];
3869
3869
  }, t.findAnchorIncludePosition = function(e) {
3870
- var n = this._flicking.camera, r = n.range, l = n.anchorPoints, u = n.rangeDiff, d = l.length, f = circulatePosition(e, r.min, r.max), _ = s.prototype.findAnchorIncludePosition.call(this, f);
3870
+ 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);
3871
3871
  if (d > 0 && (e === r.min || e === r.max)) {
3872
- var g = [_, new AnchorPoint({
3872
+ var _ = [p, new AnchorPoint({
3873
3873
  index: 0,
3874
3874
  position: l[0].position + u,
3875
3875
  panel: l[0].panel
@@ -3877,30 +3877,30 @@ var State = /* @__PURE__ */ function() {
3877
3877
  index: d - 1,
3878
3878
  position: l[d - 1].position - u,
3879
3879
  panel: l[d - 1].panel
3880
- })].filter(function(p) {
3881
- return !!p;
3880
+ })].filter(function(v) {
3881
+ return !!v;
3882
3882
  });
3883
- _ = g.reduce(function(p, m) {
3884
- return p && Math.abs(p.position - e) < Math.abs(m.position - e) ? p : m;
3883
+ p = _.reduce(function(v, m) {
3884
+ return v && Math.abs(v.position - e) < Math.abs(m.position - e) ? v : m;
3885
3885
  }, null);
3886
3886
  }
3887
- if (!_) return null;
3887
+ if (!p) return null;
3888
3888
  if (e < r.min) {
3889
3889
  var y = -Math.floor((r.min - e) / u) - 1;
3890
3890
  return new AnchorPoint({
3891
- index: _.index,
3892
- position: _.position + u * y,
3893
- panel: _.panel
3891
+ index: p.index,
3892
+ position: p.position + u * y,
3893
+ panel: p.panel
3894
3894
  });
3895
3895
  } else if (e > r.max) {
3896
3896
  var y = Math.floor((e - r.max) / u) + 1;
3897
3897
  return new AnchorPoint({
3898
- index: _.index,
3899
- position: _.position + u * y,
3900
- panel: _.panel
3898
+ index: p.index,
3899
+ position: p.position + u * y,
3900
+ panel: p.panel
3901
3901
  });
3902
3902
  }
3903
- return _;
3903
+ return p;
3904
3904
  }, t.getCircularOffset = function() {
3905
3905
  var e = this._flicking, n = e.camera;
3906
3906
  if (!n.circularEnabled) return 0;
@@ -3934,8 +3934,8 @@ var State = /* @__PURE__ */ function() {
3934
3934
  var e = this._flicking, n = e.renderer, r = n.getPanel(0), l = n.getPanel(n.panelCount - 1);
3935
3935
  if (!r || !l)
3936
3936
  return !1;
3937
- var u = e.camera.size, d = r.range.min, f = l.range.max, _ = f - d, g = u < _;
3938
- return g;
3937
+ var u = e.camera.size, d = r.range.min, f = l.range.max, p = f - d, _ = u < p;
3938
+ return _;
3939
3939
  }, t.getRange = function() {
3940
3940
  var e = this._flicking, n = e.renderer, r = e.camera.alignPosition, l = n.getPanel(0), u = n.getPanel(n.panelCount - 1);
3941
3941
  if (!l || !u)
@@ -3943,16 +3943,16 @@ var State = /* @__PURE__ */ function() {
3943
3943
  min: 0,
3944
3944
  max: 0
3945
3945
  };
3946
- var d = e.camera.size, f = l.range.min, _ = u.range.max, g = _ - f, y = d < g, p = f + r, m = _ - d + r;
3946
+ var d = e.camera.size, f = l.range.min, p = u.range.max, _ = p - f, y = d < _, v = f + r, m = p - d + r;
3947
3947
  if (y)
3948
3948
  return {
3949
- min: p,
3949
+ min: v,
3950
3950
  max: m
3951
3951
  };
3952
- var b = e.camera.align, P = typeof b == "object" ? b.camera : b, v = p + parseAlign$1(P, m - p);
3952
+ var b = e.camera.align, P = typeof b == "object" ? b.camera : b, g = v + parseAlign$1(P, m - v);
3953
3953
  return {
3954
- min: v,
3955
- max: v
3954
+ min: g,
3955
+ max: g
3956
3956
  };
3957
3957
  }, t.getAnchors = function() {
3958
3958
  var e = this._flicking, n = e.camera, r = e.renderer.panels;
@@ -3962,28 +3962,28 @@ var State = /* @__PURE__ */ function() {
3962
3962
  return n.canReach(b);
3963
3963
  });
3964
3964
  if (u.length > 0) {
3965
- var d = u[0].position !== l.min, f = u[u.length - 1].position !== l.max, _ = d ? 1 : 0, g = u.map(function(b, P) {
3965
+ var d = u[0].position !== l.min, f = u[u.length - 1].position !== l.max, p = d ? 1 : 0, _ = u.map(function(b, P) {
3966
3966
  return new AnchorPoint({
3967
- index: P + _,
3967
+ index: P + p,
3968
3968
  position: b.position,
3969
3969
  panel: b
3970
3970
  });
3971
3971
  });
3972
- return d && g.splice(0, 0, new AnchorPoint({
3972
+ return d && _.splice(0, 0, new AnchorPoint({
3973
3973
  index: 0,
3974
3974
  position: l.min,
3975
3975
  panel: r[u[0].index - 1]
3976
- })), f && g.push(new AnchorPoint({
3977
- index: g.length,
3976
+ })), f && _.push(new AnchorPoint({
3977
+ index: _.length,
3978
3978
  position: l.max,
3979
3979
  panel: r[u[u.length - 1].index + 1]
3980
- })), g;
3980
+ })), _;
3981
3981
  } else if (l.min !== l.max) {
3982
- var y = this._findNearestPanel(l.min, r), p = y.index === r.length - 1 ? y.prev() : y, m = p.next();
3982
+ var y = this._findNearestPanel(l.min, r), v = y.index === r.length - 1 ? y.prev() : y, m = v.next();
3983
3983
  return [new AnchorPoint({
3984
3984
  index: 0,
3985
3985
  position: l.min,
3986
- panel: p
3986
+ panel: v
3987
3987
  }), new AnchorPoint({
3988
3988
  index: 1,
3989
3989
  position: l.max,
@@ -4011,11 +4011,11 @@ var State = /* @__PURE__ */ function() {
4011
4011
  function s(t, e) {
4012
4012
  var n = this, r = (e === void 0 ? {} : e).align, l = r === void 0 ? ALIGN.CENTER : r;
4013
4013
  this._lookedOffset = 0, this._checkTranslateSupport = function() {
4014
- var u, d, f = ["webkitTransform", "msTransform", "MozTransform", "OTransform", "transform"], _ = document.documentElement.style, g = "";
4014
+ var u, d, f = ["webkitTransform", "msTransform", "MozTransform", "OTransform", "transform"], p = document.documentElement.style, _ = "";
4015
4015
  try {
4016
- for (var y = __values(f), p = y.next(); !p.done; p = y.next()) {
4017
- var m = p.value;
4018
- m in _ && (g = m);
4016
+ for (var y = __values(f), v = y.next(); !v.done; v = y.next()) {
4017
+ var m = v.value;
4018
+ m in p && (_ = m);
4019
4019
  }
4020
4020
  } catch (b) {
4021
4021
  u = {
@@ -4023,14 +4023,14 @@ var State = /* @__PURE__ */ function() {
4023
4023
  };
4024
4024
  } finally {
4025
4025
  try {
4026
- p && !p.done && (d = y.return) && d.call(y);
4026
+ v && !v.done && (d = y.return) && d.call(y);
4027
4027
  } finally {
4028
4028
  if (u) throw u.error;
4029
4029
  }
4030
4030
  }
4031
- if (!g)
4031
+ if (!_)
4032
4032
  throw new FlickingError(MESSAGE.TRANSFORM_NOT_SUPPORTED, CODE.TRANSFORM_NOT_SUPPORTED);
4033
- n._transform = g;
4033
+ n._transform = _;
4034
4034
  }, this._flicking = t, this._resetInternalValues(), this._align = l;
4035
4035
  }
4036
4036
  var i = s.prototype;
@@ -4243,15 +4243,15 @@ var State = /* @__PURE__ */ function() {
4243
4243
  var t = this._flicking, e = this._position + this._offset, n = this.findNearestAnchor(this._position);
4244
4244
  if (!t || !n)
4245
4245
  return NaN;
4246
- var r = n.panel, l = r.position + r.offset, u = t.control.controller.bounce, d = this.range, f = d.min, _ = d.max, g = this.rangeDiff;
4246
+ 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;
4247
4247
  if (e === l)
4248
4248
  return r.index;
4249
4249
  if (e < l) {
4250
- var y = r.prev(), p = y ? y.position + y.offset : f - u[0];
4251
- return p > l && (p -= g), r.index - 1 + getProgress$1(e, p, l);
4250
+ var y = r.prev(), v = y ? y.position + y.offset : f - u[0];
4251
+ return v > l && (v -= _), r.index - 1 + getProgress$1(e, v, l);
4252
4252
  } else {
4253
- var m = r.next(), b = m ? m.position + m.offset : _ + u[1];
4254
- return b < l && (b += g), r.index + getProgress$1(e, l, b);
4253
+ var m = r.next(), b = m ? m.position + m.offset : p + u[1];
4254
+ return b < l && (b += _), r.index + getProgress$1(e, l, b);
4255
4255
  }
4256
4256
  },
4257
4257
  enumerable: !1,
@@ -4414,16 +4414,16 @@ var State = /* @__PURE__ */ function() {
4414
4414
  })), t.next = !0);
4415
4415
  return;
4416
4416
  }
4417
- var r = this._position, l = this.size, u = this._range, d = e.needPanelThreshold, f = r - this._alignPos, _ = f + l, g = n[0], y = n[n.length - 1];
4417
+ var r = this._position, l = this.size, u = this._range, d = e.needPanelThreshold, f = r - this._alignPos, p = f + l, _ = n[0], y = n[n.length - 1];
4418
4418
  if (!t.prev) {
4419
- var p = g.range.min;
4420
- (f <= p + d || r <= u.min + d) && (e.trigger(new ComponentEvent$1(EVENTS.NEED_PANEL, {
4419
+ var v = _.range.min;
4420
+ (f <= v + d || r <= u.min + d) && (e.trigger(new ComponentEvent$1(EVENTS.NEED_PANEL, {
4421
4421
  direction: DIRECTION.PREV
4422
4422
  })), t.prev = !0);
4423
4423
  }
4424
4424
  if (!t.next) {
4425
4425
  var m = y.range.max;
4426
- (_ >= m - d || r >= u.max - d) && (e.trigger(new ComponentEvent$1(EVENTS.NEED_PANEL, {
4426
+ (p >= m - d || r >= u.max - d) && (e.trigger(new ComponentEvent$1(EVENTS.NEED_PANEL, {
4427
4427
  direction: DIRECTION.NEXT
4428
4428
  })), t.next = !0);
4429
4429
  }
@@ -4561,24 +4561,24 @@ var State = /* @__PURE__ */ function() {
4561
4561
  }, i.batchInsertDefer = function() {
4562
4562
  for (var t = this, e = [], n = 0; n < arguments.length; n++)
4563
4563
  e[n] = arguments[n];
4564
- var r = this._panels, l = getFlickingAttached(this._flicking), u = r[0], d = parsePanelAlign(this._align), f = e.reduce(function(_, g) {
4565
- var y, p = getMinusCompensatedIndex(g.index, r.length), m = r.slice(p), b = g.elements.map(function(v, E) {
4566
- return t._createPanel(v, {
4567
- index: p + E,
4564
+ var r = this._panels, l = getFlickingAttached(this._flicking), u = r[0], d = parsePanelAlign(this._align), f = e.reduce(function(p, _) {
4565
+ var y, v = getMinusCompensatedIndex(_.index, r.length), m = r.slice(v), b = _.elements.map(function(g, E) {
4566
+ return t._createPanel(g, {
4567
+ index: v + E,
4568
4568
  align: d,
4569
4569
  flicking: l
4570
4570
  });
4571
4571
  });
4572
- if (r.splice.apply(r, __spread([p, 0], b)), g.hasDOMInElements && t._insertPanelElements(b, (y = m[0]) !== null && y !== void 0 ? y : null), l.panelsPerView > 0) {
4572
+ if (r.splice.apply(r, __spread([v, 0], b)), _.hasDOMInElements && t._insertPanelElements(b, (y = m[0]) !== null && y !== void 0 ? y : null), l.panelsPerView > 0) {
4573
4573
  var P = u || b[0].resize();
4574
4574
  t._updatePanelSizeByGrid(P, b);
4575
4575
  } else
4576
- b.forEach(function(v) {
4577
- return v.resize();
4576
+ b.forEach(function(g) {
4577
+ return g.resize();
4578
4578
  });
4579
- return m.forEach(function(v) {
4580
- v.increaseIndex(b.length), v.updatePosition();
4581
- }), __spread(_, b);
4579
+ return m.forEach(function(g) {
4580
+ g.increaseIndex(b.length), g.updatePosition();
4581
+ }), __spread(p, b);
4582
4582
  }, []);
4583
4583
  return f;
4584
4584
  }, i.batchRemove = function() {
@@ -4589,28 +4589,28 @@ var State = /* @__PURE__ */ function() {
4589
4589
  }, i.batchRemoveDefer = function() {
4590
4590
  for (var t = this, e = [], n = 0; n < arguments.length; n++)
4591
4591
  e[n] = arguments[n];
4592
- var r = this._panels, l = getFlickingAttached(this._flicking), u = l.control, d = u.activePanel, f = e.reduce(function(_, g) {
4593
- var y = g.index, p = g.deleteCount, m = getMinusCompensatedIndex(y, r.length), b = r.slice(m + p), P = r.splice(m, p);
4594
- return P.length <= 0 ? [] : (b.forEach(function(v) {
4595
- v.decreaseIndex(P.length), v.updatePosition();
4596
- }), g.hasDOMInElements && t._removePanelElements(P), P.forEach(function(v) {
4597
- return v.destroy();
4598
- }), includes(P, d) && u.resetActive(), __spread(_, P));
4592
+ var r = this._panels, l = getFlickingAttached(this._flicking), u = l.control, d = u.activePanel, f = e.reduce(function(p, _) {
4593
+ var y = _.index, v = _.deleteCount, m = getMinusCompensatedIndex(y, r.length), b = r.slice(m + v), P = r.splice(m, v);
4594
+ return P.length <= 0 ? [] : (b.forEach(function(g) {
4595
+ g.decreaseIndex(P.length), g.updatePosition();
4596
+ }), _.hasDOMInElements && t._removePanelElements(P), P.forEach(function(g) {
4597
+ return g.destroy();
4598
+ }), includes(P, d) && u.resetActive(), __spread(p, P));
4599
4599
  }, []);
4600
4600
  return f;
4601
4601
  }, i.updateAfterPanelChange = function(t, e) {
4602
4602
  var n, r = getFlickingAttached(this._flicking), l = r.camera, u = r.control, d = this._panels, f = u.activePanel;
4603
- if (this._updateCameraAndControl(), r.autoResize && r.useResizeObserver && (t.forEach(function(g) {
4604
- g.element && r.autoResizer.observe(g.element);
4605
- }), e.forEach(function(g) {
4606
- g.element && r.autoResizer.unobserve(g.element);
4603
+ if (this._updateCameraAndControl(), r.autoResize && r.useResizeObserver && (t.forEach(function(_) {
4604
+ _.element && r.autoResizer.observe(_.element);
4605
+ }), e.forEach(function(_) {
4606
+ _.element && r.autoResizer.unobserve(_.element);
4607
4607
  })), this.render(), !r.animating)
4608
4608
  if (!f || f.removed)
4609
4609
  if (d.length <= 0)
4610
4610
  l.lookAt(0);
4611
4611
  else {
4612
- var _ = (n = f?.index) !== null && n !== void 0 ? n : 0;
4613
- _ > d.length - 1 && (_ = d.length - 1), u.moveToPanel(d[_], {
4612
+ var p = (n = f?.index) !== null && n !== void 0 ? n : 0;
4613
+ p > d.length - 1 && (p = d.length - 1), u.moveToPanel(d[p], {
4614
4614
  duration: 0
4615
4615
  }).catch(function() {
4616
4616
  });
@@ -4641,10 +4641,10 @@ var State = /* @__PURE__ */ function() {
4641
4641
  d.destroy();
4642
4642
  return;
4643
4643
  }
4644
- var _ = t[f.index], g = n.camera, y = n.control, p = y.activePanel ? g.getProgressInPanel(y.activePanel) : 0;
4645
- _.loading = !1, _.resize(), l.slice(_.index + 1).forEach(function(m) {
4644
+ var p = t[f.index], _ = n.camera, y = n.control, v = y.activePanel ? _.getProgressInPanel(y.activePanel) : 0;
4645
+ p.loading = !1, p.resize(), l.slice(p.index + 1).forEach(function(m) {
4646
4646
  return m.updatePosition();
4647
- }), n.initialized && (g.updateRange(), g.updateOffset(), g.updateAnchors(), y.animating || (y.updatePosition(p), y.updateInput()));
4647
+ }), n.initialized && (_.updateRange(), _.updateOffset(), _.updateAnchors(), y.animating || (y.updatePosition(v), y.updateInput()));
4648
4648
  }), d.on("preReady", function(f) {
4649
4649
  e._flicking && e.render(), f.readyCount === f.totalCount && d.destroy();
4650
4650
  }), d.on("ready", function() {
@@ -4673,14 +4673,14 @@ var State = /* @__PURE__ */ function() {
4673
4673
  width: d
4674
4674
  } : {
4675
4675
  height: d
4676
- }, _ = __assign$1({
4676
+ }, p = __assign$1({
4677
4677
  size: d,
4678
4678
  margin: t.margin
4679
4679
  }, !n.horizontal && {
4680
4680
  height: t.height
4681
4681
  });
4682
- n.noPanelStyleOverride || this._strategy.updatePanelSizes(n, f), n.panels.forEach(function(g) {
4683
- return g.resize(_);
4682
+ n.noPanelStyleOverride || this._strategy.updatePanelSizes(n, f), n.panels.forEach(function(_) {
4683
+ return _.resize(p);
4684
4684
  });
4685
4685
  }
4686
4686
  }, i._removeAllChildsFromCamera = function() {
@@ -5105,8 +5105,8 @@ var State = /* @__PURE__ */ function() {
5105
5105
  var t = this._flicking;
5106
5106
  if (!t.circularEnabled)
5107
5107
  return this._toggleDirection = DIRECTION.NONE, this._togglePosition = 0, this._toggled = !1, this;
5108
- 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, _ = this.includeRange(f - u, f, !1), g = this.includeRange(d, d + u, !1);
5109
- return this._toggled = !1, _ ? (this._toggleDirection = DIRECTION.PREV, this._togglePosition = this.range.max + n.min - n.max + r, this.toggle(1 / 0, e.position)) : g ? (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;
5108
+ 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);
5109
+ 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;
5110
5110
  }, i._updateAlignPos = function() {
5111
5111
  this._alignPos = parseAlign$1(this._align, this._size);
5112
5112
  }, i._resetInternalStates = function() {
@@ -5297,10 +5297,10 @@ var State = /* @__PURE__ */ function() {
5297
5297
  }(), Flicking$1 = /* @__PURE__ */ function(s) {
5298
5298
  __extends$2(i, s);
5299
5299
  function i(e, n) {
5300
- var r = n === void 0 ? {} : n, l = r.align, u = l === void 0 ? ALIGN.CENTER : l, d = r.defaultIndex, f = d === void 0 ? 0 : d, _ = r.horizontal, g = _ === void 0 ? !0 : _, y = r.circular, p = y === void 0 ? !1 : y, m = r.circularFallback, b = m === void 0 ? CIRCULAR_FALLBACK.LINEAR : m, P = r.bound, v = P === void 0 ? !1 : P, E = r.adaptive, T = E === void 0 ? !1 : E, O = r.panelsPerView, S = O === void 0 ? -1 : O, k = r.noPanelStyleOverride, R = k === void 0 ? !1 : k, A = r.resizeOnContentsReady, C = A === void 0 ? !1 : A, N = r.nested, w = N === void 0 ? !1 : N, x = r.needPanelThreshold, D = x === void 0 ? 0 : x, L = r.preventEventsBeforeInit, B = L === void 0 ? !0 : L, V = r.deceleration, de = V === void 0 ? 75e-4 : V, M = r.duration, fe = M === void 0 ? 500 : M, z = r.easing, he = z === void 0 ? function(Le) {
5300
+ 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, y = r.circular, v = y === void 0 ? !1 : y, m = r.circularFallback, b = m === void 0 ? CIRCULAR_FALLBACK.LINEAR : m, P = r.bound, g = P === void 0 ? !1 : P, E = r.adaptive, T = E === void 0 ? !1 : E, O = r.panelsPerView, S = O === void 0 ? -1 : O, C = r.noPanelStyleOverride, k = C === void 0 ? !1 : C, A = r.resizeOnContentsReady, R = A === void 0 ? !1 : A, N = r.nested, w = N === void 0 ? !1 : N, I = r.needPanelThreshold, D = I === void 0 ? 0 : I, L = r.preventEventsBeforeInit, B = L === void 0 ? !0 : L, V = r.deceleration, de = V === void 0 ? 75e-4 : V, M = r.duration, fe = M === void 0 ? 500 : M, z = r.easing, he = z === void 0 ? function(Le) {
5301
5301
  return 1 - Math.pow(1 - Le, 3);
5302
- } : z, F = r.inputType, ve = F === void 0 ? ["mouse", "touch"] : F, j = r.moveType, pe = j === void 0 ? "snap" : j, H = r.threshold, ge = H === void 0 ? 40 : H, W = r.dragThreshold, _e = W === void 0 ? 1 : W, U = r.interruptable, me = U === void 0 ? !0 : U, G = r.bounce, Ee = G === void 0 ? "20%" : G, Y = r.iOSEdgeSwipeThreshold, ye = Y === void 0 ? 30 : Y, q = r.preventClickOnDrag, be = q === void 0 ? !0 : q, X = r.preventDefaultOnDrag, Pe = X === void 0 ? !1 : X, K = r.disableOnInit, Te = K === void 0 ? !1 : K, Z = r.changeOnHold, Oe = Z === void 0 ? !1 : Z, Q = r.renderOnlyVisible, Se = Q === void 0 ? !1 : Q, J = r.virtual, ee = J === void 0 ? null : J, te = r.autoInit, Ce = te === void 0 ? !0 : te, ne = r.autoResize, Ie = ne === void 0 ? !0 : ne, ie = r.useResizeObserver, ke = ie === void 0 ? !0 : ie, re = r.resizeDebounce, xe = re === void 0 ? 0 : re, ae = r.observePanelResize, Re = ae === void 0 ? !1 : ae, oe = r.maxResizeDebounce, Ne = oe === void 0 ? 100 : oe, se = r.useFractionalSize, we = se === void 0 ? !1 : se, le = r.externalRenderer, Ae = le === void 0 ? null : le, ue = r.renderExternal, De = ue === void 0 ? null : ue, ce = r.optimizeSizeUpdate, Be = ce === void 0 ? !1 : ce, I = s.call(this) || this;
5303
- return I._initialized = !1, I._plugins = [], I._isResizing = !1, I._align = u, I._defaultIndex = f, I._horizontal = g, I._circular = p, I._circularFallback = b, I._bound = v, I._adaptive = T, I._panelsPerView = S, I._noPanelStyleOverride = R, I._resizeOnContentsReady = C, I._nested = w, I._virtual = ee, I._needPanelThreshold = D, I._preventEventsBeforeInit = B, I._deceleration = de, I._duration = fe, I._easing = he, I._inputType = ve, I._moveType = pe, I._threshold = ge, I._dragThreshold = _e, I._interruptable = me, I._bounce = Ee, I._iOSEdgeSwipeThreshold = ye, I._preventClickOnDrag = be, I._preventDefaultOnDrag = Pe, I._disableOnInit = Te, I._changeOnHold = Oe, I._renderOnlyVisible = Se, I._autoInit = Ce, I._autoResize = Ie, I._useResizeObserver = ke, I._resizeDebounce = xe, I._maxResizeDebounce = Ne, I._observePanelResize = Re, I._useFractionalSize = we, I._externalRenderer = Ae, I._renderExternal = De, I._optimizeSizeUpdate = Be, I._viewport = new Viewport(I, getElement$1(e)), I._autoResizer = new AutoResizer(I), I._renderer = I._createRenderer(), I._camera = I._createCamera(), I._control = I._createControl(), I._virtualManager = new VirtualManager(I, ee), I._autoInit && I.init(), I;
5302
+ } : z, F = r.inputType, ve = F === void 0 ? ["mouse", "touch"] : F, j = r.moveType, ge = j === void 0 ? "snap" : j, H = r.threshold, pe = H === void 0 ? 40 : H, W = r.dragThreshold, _e = W === void 0 ? 1 : W, U = r.interruptable, me = U === void 0 ? !0 : U, G = r.bounce, Ee = G === void 0 ? "20%" : G, Y = r.iOSEdgeSwipeThreshold, ye = Y === void 0 ? 30 : Y, q = r.preventClickOnDrag, be = q === void 0 ? !0 : q, X = r.preventDefaultOnDrag, Pe = X === void 0 ? !1 : X, K = r.disableOnInit, Te = K === void 0 ? !1 : K, Z = r.changeOnHold, Oe = Z === void 0 ? !1 : Z, Q = r.renderOnlyVisible, Se = Q === void 0 ? !1 : Q, J = r.virtual, ee = J === void 0 ? null : J, te = r.autoInit, xe = te === void 0 ? !0 : te, ne = r.autoResize, Ce = ne === void 0 ? !0 : ne, ie = r.useResizeObserver, Ie = ie === void 0 ? !0 : ie, re = r.resizeDebounce, ke = re === void 0 ? 0 : re, ae = r.observePanelResize, Re = ae === void 0 ? !1 : ae, oe = r.maxResizeDebounce, Ne = oe === void 0 ? 100 : oe, se = r.useFractionalSize, we = se === void 0 ? !1 : se, le = r.externalRenderer, Ae = le === void 0 ? null : le, ue = r.renderExternal, De = ue === void 0 ? null : ue, ce = r.optimizeSizeUpdate, Be = ce === void 0 ? !1 : ce, x = s.call(this) || this;
5303
+ return x._initialized = !1, x._plugins = [], x._isResizing = !1, x._align = u, x._defaultIndex = f, x._horizontal = _, x._circular = v, x._circularFallback = b, x._bound = g, x._adaptive = T, x._panelsPerView = S, x._noPanelStyleOverride = k, x._resizeOnContentsReady = R, x._nested = w, x._virtual = ee, x._needPanelThreshold = D, x._preventEventsBeforeInit = B, x._deceleration = de, x._duration = fe, x._easing = he, x._inputType = ve, x._moveType = ge, x._threshold = pe, x._dragThreshold = _e, x._interruptable = me, x._bounce = Ee, x._iOSEdgeSwipeThreshold = ye, x._preventClickOnDrag = be, x._preventDefaultOnDrag = Pe, x._disableOnInit = Te, x._changeOnHold = Oe, x._renderOnlyVisible = Se, x._autoInit = xe, x._autoResize = Ce, x._useResizeObserver = Ie, x._resizeDebounce = ke, x._maxResizeDebounce = Ne, x._observePanelResize = Re, x._useFractionalSize = we, x._externalRenderer = Ae, x._renderExternal = De, x._optimizeSizeUpdate = Be, x._viewport = new Viewport(x, getElement$1(e)), x._autoResizer = new AutoResizer(x), x._renderer = x._createRenderer(), x._camera = x._createCamera(), x._control = x._createControl(), x._virtualManager = new VirtualManager(x, ee), x._autoInit && x.init(), x;
5304
5304
  }
5305
5305
  var t = i.prototype;
5306
5306
  return Object.defineProperty(t, "control", {
@@ -6312,8 +6312,8 @@ var State = /* @__PURE__ */ function() {
6312
6312
  return n.init(), u.init(), r.init(this), l.init(this), f && (this.trigger = function() {
6313
6313
  return e;
6314
6314
  }), 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() {
6315
- e._plugins.forEach(function(_) {
6316
- return _.init(e);
6315
+ e._plugins.forEach(function(p) {
6316
+ return p.init(e);
6317
6317
  }), f && (e.trigger = d), e.trigger(new ComponentEvent$1(EVENTS.READY));
6318
6318
  });
6319
6319
  }, t.destroy = function() {
@@ -6349,7 +6349,7 @@ var State = /* @__PURE__ */ function() {
6349
6349
  }, t.disableInput = function() {
6350
6350
  return this._control.disable(), this;
6351
6351
  }, t.getStatus = function(e) {
6352
- var n, r, l = e === void 0 ? {} : e, u = l.index, d = u === void 0 ? !0 : u, f = l.position, _ = f === void 0 ? !0 : f, g = l.includePanelHTML, y = g === void 0 ? !1 : g, p = l.visiblePanelsOnly, m = p === void 0 ? !1 : p, b = this._camera, P = m ? this.visiblePanels : this.panels, v = {
6352
+ 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, y = _ === void 0 ? !1 : _, v = l.visiblePanelsOnly, m = v === void 0 ? !1 : v, b = this._camera, P = m ? this.visiblePanels : this.panels, g = {
6353
6353
  panels: P.map(function(O) {
6354
6354
  var S = {
6355
6355
  index: O.index
@@ -6357,23 +6357,23 @@ var State = /* @__PURE__ */ function() {
6357
6357
  return y && (S.html = O.element.outerHTML), S;
6358
6358
  })
6359
6359
  };
6360
- if (d && (v.index = this.index), _) {
6360
+ if (d && (g.index = this.index), p) {
6361
6361
  var E = b.findNearestAnchor(b.position);
6362
- E && (v.position = {
6362
+ E && (g.position = {
6363
6363
  panel: E.panel.index,
6364
6364
  progressInPanel: b.getProgressInPanel(E.panel)
6365
6365
  });
6366
6366
  }
6367
6367
  if (m) {
6368
6368
  var T = this.visiblePanels;
6369
- v.visibleOffset = (r = (n = T[0]) === null || n === void 0 ? void 0 : n.index) !== null && r !== void 0 ? r : 0;
6369
+ g.visibleOffset = (r = (n = T[0]) === null || n === void 0 ? void 0 : n.index) !== null && r !== void 0 ? r : 0;
6370
6370
  }
6371
- return v;
6371
+ return g;
6372
6372
  }, t.setStatus = function(e) {
6373
6373
  var n;
6374
6374
  if (!this._initialized)
6375
6375
  throw new FlickingError(MESSAGE.NOT_INITIALIZED, CODE.NOT_INITIALIZED);
6376
- var r = e.index, l = e.position, u = e.visibleOffset, d = e.panels, f = this._renderer, _ = this._control;
6376
+ var r = e.index, l = e.position, u = e.visibleOffset, d = e.panels, f = this._renderer, p = this._control;
6377
6377
  if (!((n = d[0]) === null || n === void 0) && n.html && !this._renderExternal && (f.batchRemove({
6378
6378
  index: 0,
6379
6379
  deleteCount: this.panels.length,
@@ -6385,13 +6385,13 @@ var State = /* @__PURE__ */ function() {
6385
6385
  })),
6386
6386
  hasDOMInElements: !0
6387
6387
  })), r != null) {
6388
- var g = u ? r - u : r;
6389
- this.moveTo(g, 0).catch(function() {
6388
+ var _ = u ? r - u : r;
6389
+ this.moveTo(_, 0).catch(function() {
6390
6390
  });
6391
6391
  }
6392
6392
  if (l && this._moveType === MOVE_TYPE.FREE_SCROLL) {
6393
- var y = l.panel, p = l.progressInPanel, g = u ? y - u : y, m = f.panels[g].range, b = m.min + (m.max - m.min) * p;
6394
- _.moveToPosition(b, 0).catch(function() {
6393
+ var y = l.panel, v = l.progressInPanel, _ = u ? y - u : y, m = f.panels[_].range, b = m.min + (m.max - m.min) * v;
6394
+ p.moveToPosition(b, 0).catch(function() {
6395
6395
  });
6396
6396
  }
6397
6397
  }, t.addPlugins = function() {
@@ -6411,14 +6411,14 @@ var State = /* @__PURE__ */ function() {
6411
6411
  }), this;
6412
6412
  }, t.resize = function() {
6413
6413
  return __awaiter$1(this, void 0, void 0, function() {
6414
- var e, n, r, l, u, d, f, _, g, y, p;
6414
+ var e, n, r, l, u, d, f, p, _, y, v;
6415
6415
  return __generator$1(this, function(m) {
6416
6416
  switch (m.label) {
6417
6417
  case 0:
6418
6418
  return this._isResizing ? [
6419
6419
  2
6420
6420
  /*return*/
6421
- ] : (this._isResizing = !0, e = this._viewport, n = this._renderer, r = this._camera, l = this._control, u = l.activePanel, d = e.width, f = e.height, _ = u ? r.getProgressInPanel(u) : 0, this.trigger(new ComponentEvent$1(EVENTS.BEFORE_RESIZE, {
6421
+ ] : (this._isResizing = !0, 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, {
6422
6422
  width: d,
6423
6423
  height: f,
6424
6424
  element: e.element
@@ -6437,14 +6437,14 @@ var State = /* @__PURE__ */ function() {
6437
6437
  /*return*/
6438
6438
  ];
6439
6439
  case 6:
6440
- return m.sent(), this._initialized ? (l.animating || (l.updatePosition(_), l.updateInput()), g = e.width, y = e.height, p = g !== d || y !== f, this.trigger(new ComponentEvent$1(EVENTS.AFTER_RESIZE, {
6440
+ return m.sent(), this._initialized ? (l.animating || (l.updatePosition(p), l.updateInput()), _ = e.width, y = e.height, v = _ !== d || y !== f, this.trigger(new ComponentEvent$1(EVENTS.AFTER_RESIZE, {
6441
6441
  width: e.width,
6442
6442
  height: e.height,
6443
6443
  prev: {
6444
6444
  width: d,
6445
6445
  height: f
6446
6446
  },
6447
- sizeChanged: p,
6447
+ sizeChanged: v,
6448
6448
  element: e.element
6449
6449
  })), this._isResizing = !1, [
6450
6450
  2
@@ -6569,25 +6569,25 @@ var State = /* @__PURE__ */ function() {
6569
6569
  var e = s.renderer, n = e.panels, r = __spread(i.prevList), l = [], u = [];
6570
6570
  if (i.removed.length > 0) {
6571
6571
  var d = -1, f = -1;
6572
- i.removed.forEach(function(p) {
6573
- d < 0 && (d = p), f >= 0 && p !== f - 1 && (u.push.apply(u, __spread(batchRemove(e, f, d + 1))), d = p), f = p, r.splice(p, 1);
6572
+ i.removed.forEach(function(v) {
6573
+ d < 0 && (d = v), f >= 0 && v !== f - 1 && (u.push.apply(u, __spread(batchRemove(e, f, d + 1))), d = v), f = v, r.splice(v, 1);
6574
6574
  }), u.push.apply(u, __spread(batchRemove(e, f, d + 1)));
6575
6575
  }
6576
- if (i.ordered.forEach(function(p) {
6577
- var m = __read(p, 2), b = m[0], P = m[1], v = n.splice(b, 1)[0];
6578
- n.splice(P, 0, v);
6579
- }), i.ordered.length > 0 && (n.forEach(function(p, m) {
6580
- var b = m - p.index;
6581
- b > 0 ? p.increaseIndex(b) : p.decreaseIndex(-b);
6582
- }), n.sort(function(p, m) {
6583
- return p.index - m.index;
6584
- }), n.forEach(function(p) {
6585
- p.updatePosition();
6576
+ if (i.ordered.forEach(function(v) {
6577
+ var m = __read(v, 2), b = m[0], P = m[1], g = n.splice(b, 1)[0];
6578
+ n.splice(P, 0, g);
6579
+ }), i.ordered.length > 0 && (n.forEach(function(v, m) {
6580
+ var b = m - v.index;
6581
+ b > 0 ? v.increaseIndex(b) : v.decreaseIndex(-b);
6582
+ }), n.sort(function(v, m) {
6583
+ return v.index - m.index;
6584
+ }), n.forEach(function(v) {
6585
+ v.updatePosition();
6586
6586
  })), i.added.length > 0) {
6587
- var _ = -1, g = -1, y = t.slice(r.length);
6588
- i.added.forEach(function(p, m) {
6589
- _ < 0 && (_ = m), g >= 0 && p !== g + 1 ? (l.push.apply(l, __spread(batchInsert(e, i, y, _, m + 1))), _ = -1, g = -1) : g = p;
6590
- }), _ >= 0 && l.push.apply(l, __spread(batchInsert(e, i, y, _)));
6587
+ var p = -1, _ = -1, y = t.slice(r.length);
6588
+ i.added.forEach(function(v, m) {
6589
+ p < 0 && (p = m), _ >= 0 && v !== _ + 1 ? (l.push.apply(l, __spread(batchInsert(e, i, y, p, m + 1))), p = -1, _ = -1) : _ = v;
6590
+ }), p >= 0 && l.push.apply(l, __spread(batchInsert(e, i, y, p)));
6591
6591
  }
6592
6592
  (i.added.length > 0 || i.removed.length > 0) && e.updateAfterPanelChange(l, u);
6593
6593
  }, batchInsert = function(s, i, t, e, n) {
@@ -6656,10 +6656,10 @@ var State = /* @__PURE__ */ function() {
6656
6656
  if (r) {
6657
6657
  var d = r.visiblePanels;
6658
6658
  d.forEach(function(f) {
6659
- var _ = f.outsetProgress, g = f.element, y = l ? g.querySelector(l) : g;
6659
+ var p = f.outsetProgress, _ = f.element, y = l ? _.querySelector(l) : _;
6660
6660
  if (y) {
6661
- var p = Math.min(1, Math.max(0, 1 - Math.abs(_ * u)));
6662
- y.style.opacity = "" + p;
6661
+ var v = Math.min(1, Math.max(0, 1 - Math.abs(p * u)));
6662
+ y.style.opacity = "" + v;
6663
6663
  }
6664
6664
  });
6665
6665
  }
@@ -6739,40 +6739,40 @@ var State = /* @__PURE__ */ function() {
6739
6739
  return e;
6740
6740
  }, Arrow = /* @__PURE__ */ function() {
6741
6741
  function s(t) {
6742
- var e = this, n = t === void 0 ? {} : t, r = n.parentEl, l = r === void 0 ? null : r, u = n.prevElSelector, d = u === void 0 ? ARROW.PREV_SELECTOR : u, f = n.nextElSelector, _ = f === void 0 ? ARROW.NEXT_SELECTOR : f, g = n.disabledClass, y = g === void 0 ? ARROW.DISABLED_CLASS : g, p = n.moveCount, m = p === void 0 ? 1 : p, b = n.moveByViewportSize, P = b === void 0 ? !1 : b;
6743
- this._flicking = null, this._preventInputPropagation = function(v) {
6744
- v.stopPropagation();
6742
+ 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, y = _ === void 0 ? ARROW.DISABLED_CLASS : _, v = n.moveCount, m = v === void 0 ? 1 : v, b = n.moveByViewportSize, P = b === void 0 ? !1 : b;
6743
+ this._flicking = null, this._preventInputPropagation = function(g) {
6744
+ g.stopPropagation();
6745
6745
  }, this._onPrevClick = function() {
6746
- var v = e._flicking, E = v.camera, T = E.anchorPoints;
6747
- if (!(v.animating || T.length <= 0)) {
6746
+ var g = e._flicking, E = g.camera, T = E.anchorPoints;
6747
+ if (!(g.animating || T.length <= 0)) {
6748
6748
  var O = T[0], S = e._moveCount;
6749
6749
  if (e._moveByViewportSize)
6750
- v.control.moveToPosition(E.position - E.size, v.duration).catch(e._onCatch);
6751
- else if (v.circularEnabled) {
6752
- for (var k = v.currentPanel, R = 0; R < S; R++)
6753
- k = k.prev();
6754
- k.focus().catch(e._onCatch);
6755
- } else v.index > O.panel.index ? v.moveTo(Math.max(v.index - S, O.panel.index)).catch(e._onCatch) : E.position > E.range.min && v.moveTo(v.index).catch(e._onCatch);
6750
+ g.control.moveToPosition(E.position - E.size, g.duration).catch(e._onCatch);
6751
+ else if (g.circularEnabled) {
6752
+ for (var C = g.currentPanel, k = 0; k < S; k++)
6753
+ C = C.prev();
6754
+ C.focus().catch(e._onCatch);
6755
+ } 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);
6756
6756
  }
6757
6757
  }, this._onNextClick = function() {
6758
- var v = e._flicking, E = v.camera, T = E.anchorPoints;
6759
- if (!(v.animating || T.length <= 0)) {
6758
+ var g = e._flicking, E = g.camera, T = E.anchorPoints;
6759
+ if (!(g.animating || T.length <= 0)) {
6760
6760
  var O = T[T.length - 1], S = e._moveCount;
6761
6761
  if (e._moveByViewportSize)
6762
- v.control.moveToPosition(E.position + E.size, v.duration).catch(e._onCatch);
6763
- else if (v.circularEnabled) {
6764
- for (var k = v.currentPanel, R = 0; R < S; R++)
6765
- k = k.next();
6766
- k.focus().catch(e._onCatch);
6767
- } else v.index < O.panel.index ? v.moveTo(Math.min(v.index + S, O.panel.index)).catch(e._onCatch) : E.position > E.range.min && v.moveTo(v.index).catch(e._onCatch);
6762
+ g.control.moveToPosition(E.position + E.size, g.duration).catch(e._onCatch);
6763
+ else if (g.circularEnabled) {
6764
+ for (var C = g.currentPanel, k = 0; k < S; k++)
6765
+ C = C.next();
6766
+ C.focus().catch(e._onCatch);
6767
+ } 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);
6768
6768
  }
6769
6769
  }, this._onAnimation = function() {
6770
- var v = e._flicking, E = v.camera, T = v.control.controller;
6771
- v.holding ? e._updateClass(E.position) : e._updateClass(T.animatingContext.end);
6772
- }, this._onCatch = function(v) {
6773
- if (!(v instanceof FlickingError))
6774
- throw v;
6775
- }, this._parentEl = l, this._prevElSelector = d, this._nextElSelector = _, this._disabledClass = y, this._moveCount = m, this._moveByViewportSize = P;
6770
+ var g = e._flicking, E = g.camera, T = g.control.controller;
6771
+ g.holding ? e._updateClass(E.position) : e._updateClass(T.animatingContext.end);
6772
+ }, this._onCatch = function(g) {
6773
+ if (!(g instanceof FlickingError))
6774
+ throw g;
6775
+ }, this._parentEl = l, this._prevElSelector = d, this._nextElSelector = p, this._disabledClass = y, this._moveCount = m, this._moveByViewportSize = P;
6776
6776
  }
6777
6777
  var i = s.prototype;
6778
6778
  return Object.defineProperty(i, "prevEl", {
@@ -6952,31 +6952,31 @@ var Renderer = /* @__PURE__ */ function() {
6952
6952
  }), t.destroy = function() {
6953
6953
  this._bullets = [], this._prevIndex = -1;
6954
6954
  }, t.render = function() {
6955
- var e = this, n = this._flicking, r = this._pagination, l = this._wrapper, u = this._bulletClass, d = this._activeClass, f = r.renderBullet, _ = r.renderActiveBullet, g = r.classPrefix + "-" + PAGINATION.BULLET_WRAPPER_SUFFIX, y = n.camera.anchorPoints;
6956
- addClass(l, g), l.innerHTML = y.map(function(m, b) {
6957
- return _ && m.panel.index === n.index ? _(u, b) : f(u, b);
6955
+ 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, y = n.camera.anchorPoints;
6956
+ addClass(l, _), l.innerHTML = y.map(function(m, b) {
6957
+ return p && m.panel.index === n.index ? p(u, b) : f(u, b);
6958
6958
  }).join(`
6959
6959
  `);
6960
- var p = [].slice.call(l.children);
6961
- p.forEach(function(m, b) {
6960
+ var v = [].slice.call(l.children);
6961
+ v.forEach(function(m, b) {
6962
6962
  var P = y[b];
6963
6963
  P.panel.index === n.index && (addClass(m, d), e._prevIndex = b), e._addBulletEvents(m, b);
6964
- }), this._bullets = p;
6964
+ }), this._bullets = v;
6965
6965
  }, t.update = function(e) {
6966
- var n = this._flicking, r = this._pagination, l = this._wrapper, u = this._bullets, d = this._bulletClass, f = this._activeClass, _ = this._prevIndex, g = n.camera.anchorPoints, y = r.renderBullet, p = r.renderActiveBullet;
6967
- if (!(g.length <= 0)) {
6968
- var m = g[0].panel.index, b = e - m;
6969
- if (_ !== b) {
6970
- if (p) {
6971
- var P = u[_];
6966
+ 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, y = r.renderBullet, v = r.renderActiveBullet;
6967
+ if (!(_.length <= 0)) {
6968
+ var m = _[0].panel.index, b = e - m;
6969
+ if (p !== b) {
6970
+ if (v) {
6971
+ var P = u[p];
6972
6972
  if (P) {
6973
- var v = this._createBulletFromString(y(d, _), _);
6974
- P.parentElement.replaceChild(v, P), u[_] = v;
6973
+ var g = this._createBulletFromString(y(d, p), p);
6974
+ P.parentElement.replaceChild(g, P), u[p] = g;
6975
6975
  }
6976
- var E = u[b], T = this._createBulletFromString(p(d + " " + f, b), b);
6976
+ var E = u[b], T = this._createBulletFromString(v(d + " " + f, b), b);
6977
6977
  l.replaceChild(T, E), u[b] = T;
6978
6978
  } else {
6979
- var E = u[b], P = u[_];
6979
+ var E = u[b], P = u[p];
6980
6980
  P && removeClass(P, f), addClass(E, f);
6981
6981
  }
6982
6982
  this._prevIndex = b;
@@ -6998,8 +6998,8 @@ var Renderer = /* @__PURE__ */ function() {
6998
6998
  }, t.update = function(e) {
6999
6999
  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;
7000
7000
  if (!(d === this._prevIndex && f === this._prevTotal)) {
7001
- var _ = "." + l.classPrefix + "-" + PAGINATION.FRACTION_CURRENT_SUFFIX, g = "." + l.classPrefix + "-" + PAGINATION.FRACTION_TOTAL_SUFFIX, y = r.querySelector(_), p = r.querySelector(g);
7002
- y.innerHTML = l.fractionCurrentFormat(d), p.innerHTML = l.fractionTotalFormat(f), this._prevIndex = d, this._prevTotal = f;
7001
+ var p = "." + l.classPrefix + "-" + PAGINATION.FRACTION_CURRENT_SUFFIX, _ = "." + l.classPrefix + "-" + PAGINATION.FRACTION_TOTAL_SUFFIX, y = r.querySelector(p), v = r.querySelector(_);
7002
+ y.innerHTML = l.fractionCurrentFormat(d), v.innerHTML = l.fractionTotalFormat(f), this._prevIndex = d, this._prevTotal = f;
7003
7003
  }
7004
7004
  }, i;
7005
7005
  }(Renderer), ScrollBulletRenderer = /* @__PURE__ */ function(s) {
@@ -7015,14 +7015,14 @@ var Renderer = /* @__PURE__ */ function() {
7015
7015
  return t.destroy = function() {
7016
7016
  this._bullets = [], this._bulletSize = 0, this._previousIndex = -1, this._sliderIndex = -1;
7017
7017
  }, t.render = function() {
7018
- 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, _ = l.classPrefix + "-" + PAGINATION.BULLET_SUFFIX, g = l.classPrefix + "-" + PAGINATION.SCROLL_SLIDER_SUFFIX, y = l.classPrefix + "-" + PAGINATION.SCROLL_UNINIT_SUFFIX, p = document.createElement("div");
7019
- addClass(p, g), addClass(n, y), addClass(n, f), n.appendChild(p), p.innerHTML = d.map(function(v, E) {
7020
- return u(_, E);
7018
+ 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, y = l.classPrefix + "-" + PAGINATION.SCROLL_UNINIT_SUFFIX, v = document.createElement("div");
7019
+ addClass(v, _), addClass(n, y), addClass(n, f), n.appendChild(v), v.innerHTML = d.map(function(g, E) {
7020
+ return u(p, E);
7021
7021
  }).join(`
7022
7022
  `);
7023
- var m = [].slice.call(p.children);
7024
- if (m.forEach(function(v, E) {
7025
- e._addBulletEvents(v, E);
7023
+ var m = [].slice.call(v.children);
7024
+ if (m.forEach(function(g, E) {
7025
+ e._addBulletEvents(g, E);
7026
7026
  }), !(m.length <= 0)) {
7027
7027
  var b = getComputedStyle(m[0]), P = m[0].clientWidth + parseFloat(b.marginLeft) + parseFloat(b.marginRight);
7028
7028
  n.style.width = P * l.bulletCount + "px", this._bullets = m, this._bulletSize = P, this._previousIndex = -1, this.update(this._flicking.index), window.requestAnimationFrame(function() {
@@ -7030,31 +7030,31 @@ var Renderer = /* @__PURE__ */ function() {
7030
7030
  });
7031
7031
  }
7032
7032
  }, t.update = function(e) {
7033
- var n = this._pagination, r = this._flicking, l = this._bullets, u = this._previousIndex, d = n.renderBullet, f = n.renderActiveBullet, _ = r.camera.anchorPoints, g = _[0].panel.index, y = e - g;
7034
- if (!(_.length <= 0)) {
7035
- var p = n.classPrefix + "-" + PAGINATION.BULLET_SUFFIX, m = n.classPrefix + "-" + PAGINATION.BULLET_ACTIVE_SUFFIX, b = n.classPrefix + "-" + PAGINATION.SCROLL_PREV_SUFFIX, P = n.classPrefix + "-" + PAGINATION.SCROLL_NEXT_SUFFIX, v = function(C) {
7036
- return "" + b + (C > 1 ? C : "");
7037
- }, E = function(C) {
7038
- return "" + P + (C > 1 ? C : "");
7033
+ 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, y = e - _;
7034
+ if (!(p.length <= 0)) {
7035
+ var v = n.classPrefix + "-" + PAGINATION.BULLET_SUFFIX, m = n.classPrefix + "-" + PAGINATION.BULLET_ACTIVE_SUFFIX, b = n.classPrefix + "-" + PAGINATION.SCROLL_PREV_SUFFIX, P = n.classPrefix + "-" + PAGINATION.SCROLL_NEXT_SUFFIX, g = function(R) {
7036
+ return "" + b + (R > 1 ? R : "");
7037
+ }, E = function(R) {
7038
+ return "" + P + (R > 1 ? R : "");
7039
7039
  }, T = new RegExp("^" + b), O = new RegExp("^" + P);
7040
7040
  if (f) {
7041
7041
  var S = l[u];
7042
7042
  if (S) {
7043
- var k = this._createBulletFromString(d(p, u), u);
7044
- S.parentElement.replaceChild(k, S), l[u] = k;
7043
+ var C = this._createBulletFromString(d(v, u), u);
7044
+ S.parentElement.replaceChild(C, S), l[u] = C;
7045
7045
  }
7046
- var R = l[y];
7047
- if (R) {
7048
- var A = this._createBulletFromString(f(p, y), y);
7049
- R.parentElement.replaceChild(A, R), l[y] = A;
7046
+ var k = l[y];
7047
+ if (k) {
7048
+ var A = this._createBulletFromString(f(v, y), y);
7049
+ k.parentElement.replaceChild(A, k), l[y] = A;
7050
7050
  }
7051
7051
  }
7052
- l.forEach(function(C, N) {
7053
- for (var w = N - y, x = C.className.split(" "), D = 0, L = x; D < L.length; D++) {
7052
+ l.forEach(function(R, N) {
7053
+ for (var w = N - y, I = R.className.split(" "), D = 0, L = I; D < L.length; D++) {
7054
7054
  var B = L[D];
7055
- (B === m || T.test(B) || O.test(B)) && removeClass(C, B);
7055
+ (B === m || T.test(B) || O.test(B)) && removeClass(R, B);
7056
7056
  }
7057
- w === 0 ? addClass(C, m) : w > 0 ? addClass(C, E(Math.abs(w))) : addClass(C, v(Math.abs(w)));
7057
+ w === 0 ? addClass(R, m) : w > 0 ? addClass(R, E(Math.abs(w))) : addClass(R, g(Math.abs(w)));
7058
7058
  }), n.scrollOnChange(y, {
7059
7059
  total: l.length,
7060
7060
  prevIndex: u,
@@ -7067,22 +7067,22 @@ var Renderer = /* @__PURE__ */ function() {
7067
7067
  }, i;
7068
7068
  }(Renderer), Pagination = /* @__PURE__ */ function() {
7069
7069
  function s(t) {
7070
- var e = this, n = t === void 0 ? {} : t, r = n.parentEl, l = r === void 0 ? null : r, u = n.selector, d = u === void 0 ? PAGINATION.SELECTOR : u, f = n.type, _ = f === void 0 ? PAGINATION.TYPE.BULLET : f, g = n.classPrefix, y = g === void 0 ? PAGINATION.PREFIX : g, p = n.bulletCount, m = p === void 0 ? 5 : p, b = n.renderBullet, P = b === void 0 ? function(w) {
7070
+ 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, y = _ === void 0 ? PAGINATION.PREFIX : _, v = n.bulletCount, m = v === void 0 ? 5 : v, b = n.renderBullet, P = b === void 0 ? function(w) {
7071
7071
  return '<span class="' + w + '"></span>';
7072
- } : b, v = n.renderActiveBullet, E = v === void 0 ? null : v, T = n.renderFraction, O = T === void 0 ? function(w, x) {
7073
- return '<span class="' + w + '"></span>/<span class="' + x + '"></span>';
7074
- } : T, S = n.fractionCurrentFormat, k = S === void 0 ? function(w) {
7072
+ } : b, g = n.renderActiveBullet, E = g === void 0 ? null : g, T = n.renderFraction, O = T === void 0 ? function(w, I) {
7073
+ return '<span class="' + w + '"></span>/<span class="' + I + '"></span>';
7074
+ } : T, S = n.fractionCurrentFormat, C = S === void 0 ? function(w) {
7075
7075
  return w.toString();
7076
- } : S, R = n.fractionTotalFormat, A = R === void 0 ? function(w) {
7076
+ } : S, k = n.fractionTotalFormat, A = k === void 0 ? function(w) {
7077
7077
  return w.toString();
7078
- } : R, C = n.scrollOnChange, N = C === void 0 ? function(w, x) {
7079
- return x.moveTo(w);
7080
- } : C;
7078
+ } : k, R = n.scrollOnChange, N = R === void 0 ? function(w, I) {
7079
+ return I.moveTo(w);
7080
+ } : R;
7081
7081
  this._flicking = null, this.update = function() {
7082
7082
  e._removeAllChilds(), e._renderer.render();
7083
7083
  }, this._onIndexChange = function(w) {
7084
7084
  e._renderer.update(w.index);
7085
- }, this._parentEl = l, this._selector = d, this._type = _, this._classPrefix = y, this._bulletCount = m, this._renderBullet = P, this._renderActiveBullet = E, this._renderFraction = O, this._fractionCurrentFormat = k, this._fractionTotalFormat = A, this._scrollOnChange = N;
7085
+ }, this._parentEl = l, this._selector = d, this._type = p, this._classPrefix = y, this._bulletCount = m, this._renderBullet = P, this._renderActiveBullet = E, this._renderFraction = O, this._fractionCurrentFormat = C, this._fractionTotalFormat = A, this._scrollOnChange = N;
7086
7086
  }
7087
7087
  var i = s.prototype;
7088
7088
  return Object.defineProperty(i, "parentEl", {
@@ -7265,10 +7265,10 @@ function orderChanged(s, i) {
7265
7265
  var l = n[0], u = n[1];
7266
7266
  if (l === u)
7267
7267
  return [0, 0];
7268
- var d = t[l], f = e[u - 1], _ = d.getIndex();
7268
+ var d = t[l], f = e[u - 1], p = d.getIndex();
7269
7269
  d.disconnect(), f ? d.connect(f, f.next) : d.connect(void 0, t[0]);
7270
- var g = d.getIndex();
7271
- return [_, g];
7270
+ var _ = d.getIndex();
7271
+ return [p, _];
7272
7272
  });
7273
7273
  }
7274
7274
  var Result = /* @__PURE__ */ function() {
@@ -7291,27 +7291,27 @@ var Result = /* @__PURE__ */ function() {
7291
7291
  }), i.caculateOrdered = function() {
7292
7292
  var t = orderChanged(this.changedBeforeAdded, this.fixed), e = this.changed, n = [];
7293
7293
  this.cacheOrdered = t.filter(function(r, l) {
7294
- var u = r[0], d = r[1], f = e[l], _ = f[0], g = f[1];
7294
+ var u = r[0], d = r[1], f = e[l], p = f[0], _ = f[1];
7295
7295
  if (u !== d)
7296
- return n.push([_, g]), !0;
7296
+ return n.push([p, _]), !0;
7297
7297
  }), this.cachePureChanged = n;
7298
7298
  }, s;
7299
7299
  }();
7300
7300
  function diff(s, i, t) {
7301
7301
  var e = SUPPORT_MAP ? Map : t ? HashMap : PolyMap, n = t || function(E) {
7302
7302
  return E;
7303
- }, r = [], l = [], u = [], d = s.map(n), f = i.map(n), _ = new e(), g = new e(), y = [], p = [], m = {}, b = [], P = 0, v = 0;
7303
+ }, r = [], l = [], u = [], d = s.map(n), f = i.map(n), p = new e(), _ = new e(), y = [], v = [], m = {}, b = [], P = 0, g = 0;
7304
7304
  return d.forEach(function(E, T) {
7305
- _.set(E, T);
7305
+ p.set(E, T);
7306
7306
  }), f.forEach(function(E, T) {
7307
- g.set(E, T);
7307
+ _.set(E, T);
7308
7308
  }), d.forEach(function(E, T) {
7309
- var O = g.get(E);
7310
- typeof O > "u" ? (++v, l.push(T)) : m[O] = v;
7311
- }), f.forEach(function(E, T) {
7312
7309
  var O = _.get(E);
7313
- typeof O > "u" ? (r.push(T), ++P) : (u.push([O, T]), v = m[T] || 0, y.push([O - v, T - P]), p.push(T === O), O !== T && b.push([O, T]));
7314
- }), l.reverse(), new Result(s, i, r, l, b, u, y, p);
7310
+ typeof O > "u" ? (++g, l.push(T)) : m[O] = g;
7311
+ }), f.forEach(function(E, T) {
7312
+ var O = p.get(E);
7313
+ typeof O > "u" ? (r.push(T), ++P) : (u.push([O, T]), g = m[T] || 0, y.push([O - g, T - P]), v.push(T === O), O !== T && b.push([O, T]));
7314
+ }), l.reverse(), new Result(s, i, r, l, b, u, y, v);
7315
7315
  }
7316
7316
  var ListDiffer = /* @__PURE__ */ function() {
7317
7317
  function s(t, e) {
@@ -7377,22 +7377,22 @@ function __awaiter(s, i, t, e) {
7377
7377
  });
7378
7378
  }
7379
7379
  return new (t || (t = Promise))(function(r, l) {
7380
- function u(_) {
7380
+ function u(p) {
7381
7381
  try {
7382
- f(e.next(_));
7383
- } catch (g) {
7384
- l(g);
7382
+ f(e.next(p));
7383
+ } catch (_) {
7384
+ l(_);
7385
7385
  }
7386
7386
  }
7387
- function d(_) {
7387
+ function d(p) {
7388
7388
  try {
7389
- f(e.throw(_));
7390
- } catch (g) {
7391
- l(g);
7389
+ f(e.throw(p));
7390
+ } catch (_) {
7391
+ l(_);
7392
7392
  }
7393
7393
  }
7394
- function f(_) {
7395
- _.done ? r(_.value) : n(_.value).then(u, d);
7394
+ function f(p) {
7395
+ p.done ? r(p.value) : n(p.value).then(u, d);
7396
7396
  }
7397
7397
  f((e = e.apply(s, [])).next());
7398
7398
  });
@@ -7415,8 +7415,8 @@ function __generator(s, i) {
7415
7415
  return this;
7416
7416
  }), l;
7417
7417
  function u(f) {
7418
- return function(_) {
7419
- return d([f, _]);
7418
+ return function(p) {
7419
+ return d([f, p]);
7420
7420
  };
7421
7421
  }
7422
7422
  function d(f) {
@@ -7460,8 +7460,8 @@ function __generator(s, i) {
7460
7460
  continue;
7461
7461
  }
7462
7462
  f = i.call(s, t);
7463
- } catch (_) {
7464
- f = [6, _], n = 0;
7463
+ } catch (p) {
7464
+ f = [6, p], n = 0;
7465
7465
  } finally {
7466
7466
  e = r = 0;
7467
7467
  }
@@ -7613,10 +7613,10 @@ var FlickingProps = {
7613
7613
  created: function() {
7614
7614
  var s = this;
7615
7615
  this.vanillaFlicking = null, this.renderEmitter = new Component(), this.diffResult = null, this.getPanels = function() {
7616
- 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, _) {
7616
+ 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) {
7617
7617
  return h(u, {
7618
7618
  key: f.key,
7619
- ref: _.toString()
7619
+ ref: p.toString()
7620
7620
  }, function() {
7621
7621
  return f;
7622
7622
  });
@@ -7628,13 +7628,13 @@ var FlickingProps = {
7628
7628
  } : {
7629
7629
  height: d.size
7630
7630
  } : {};
7631
- return u.map(function(_) {
7631
+ return u.map(function(p) {
7632
7632
  return h("div", {
7633
- key: _,
7634
- ref: _.toString(),
7633
+ key: p,
7634
+ ref: p.toString(),
7635
7635
  class: e,
7636
7636
  style: f,
7637
- "data-element-index": _
7637
+ "data-element-index": p
7638
7638
  });
7639
7639
  });
7640
7640
  }, withFlickingMethods(this, "vanillaFlicking");
@@ -7776,20 +7776,20 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7776
7776
  function f(m) {
7777
7777
  t("update:idx", m);
7778
7778
  }
7779
- const _ = computed$1({
7779
+ const p = computed$1({
7780
7780
  get: () => e.idx,
7781
7781
  set: (m) => f(m)
7782
7782
  });
7783
- function g(m) {
7784
- _.value = m.index;
7783
+ function _(m) {
7784
+ p.value = m.index;
7785
7785
  }
7786
7786
  function y(m) {
7787
7787
  n.value.moveTo(m);
7788
7788
  }
7789
- function p() {
7789
+ function v() {
7790
7790
  t("opened");
7791
7791
  }
7792
- return watch(_, (m) => {
7792
+ return watch(p, (m) => {
7793
7793
  y(m);
7794
7794
  }), onMounted(() => {
7795
7795
  r.value = [
@@ -7812,14 +7812,14 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7812
7812
  },
7813
7813
  class: "konnectio-flicking-gallery",
7814
7814
  plugins: r.value,
7815
- onChanged: g
7815
+ onChanged: _
7816
7816
  }, {
7817
7817
  viewport: withCtx(() => [
7818
7818
  createBaseVNode("div", _hoisted_1$c, [
7819
- m.isListing ? (openBlock(), createElementBlock("div", {
7819
+ s.isListing ? (openBlock(), createElementBlock("div", {
7820
7820
  key: 0,
7821
7821
  class: "konnectio-gallery-image-overlay",
7822
- onClick: withModifiers(p, ["prevent"])
7822
+ onClick: withModifiers(v, ["prevent"])
7823
7823
  })) : createCommentVNode("", !0),
7824
7824
  createBaseVNode("span", _hoisted_2$9, [
7825
7825
  createVNode(Icon, {
@@ -7839,12 +7839,12 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7839
7839
  b[0] || (b[0] = createBaseVNode("div", { class: "flicking-pagination" }, null, -1))
7840
7840
  ]),
7841
7841
  default: withCtx(() => [
7842
- (openBlock(!0), createElementBlock(Fragment, null, renderList(m.gallery, ({ large: P, url: v }, E) => (openBlock(), createElementBlock("div", {
7842
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(s.gallery, ({ large: P, url: g }, E) => (openBlock(), createElementBlock("div", {
7843
7843
  key: E,
7844
7844
  class: "konnectio-flicking-gallery-item"
7845
7845
  }, [
7846
7846
  createBaseVNode("img", {
7847
- src: P || v
7847
+ src: P || g
7848
7848
  }, null, 8, _hoisted_4$7)
7849
7849
  ]))), 128))
7850
7850
  ]),
@@ -7853,10 +7853,10 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7853
7853
  key: 1,
7854
7854
  class: normalizeClass([
7855
7855
  "konnectio-single-image",
7856
- { "has-zoom": m.isListing }
7856
+ { "has-zoom": s.isListing }
7857
7857
  ]),
7858
- src: m.gallery[0].large || m.gallery[0].url,
7859
- onClick: withModifiers(p, ["prevent"])
7858
+ src: s.gallery[0].large || s.gallery[0].url,
7859
+ onClick: withModifiers(v, ["prevent"])
7860
7860
  }, null, 10, _hoisted_5$6)) : createCommentVNode("", !0)
7861
7861
  ]));
7862
7862
  }
@@ -7888,59 +7888,59 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7888
7888
  currentEventDate: l,
7889
7889
  currentEventLocation: u
7890
7890
  } = storeToRefs(useEventStore()), d = useAvailabilityStore(), f = useUtilityStore();
7891
- function _(v) {
7892
- const E = v.getFullYear();
7893
- let T = v.getMonth() + 1, O = v.getDate();
7891
+ function p(g) {
7892
+ const E = g.getFullYear();
7893
+ let T = g.getMonth() + 1, O = g.getDate();
7894
7894
  return O < 10 && (O = "0" + O), T < 10 && (T = "0" + T), `${E}-${T}-${O}`;
7895
7895
  }
7896
- const g = computed$1(() => {
7897
- const v = new URL(window.location.origin + window.location.pathname);
7898
- return n.type !== "event" ? (v.searchParams.set("id", n.listingId.toString()), v.searchParams.set("ci", _(r.currentArrivalDate)), v.searchParams.set("co", _(r.currentDepartureDate)), f.defaultAdultAmount !== r.currentAdults && v.searchParams.set("a", r.currentAdults.toString()), f.defaultChildAmount !== r.currentChildren && v.searchParams.set("c", r.currentChildren.toString()), d.hasHotelLocations && v.searchParams.set("hid", r.currentLocation.toString()), r.guestDiscountId && v.searchParams.set("gid", r.guestDiscountId.toString())) : (v.searchParams.set("d", _(l.value)), v.searchParams.set("eid", n.listingId.toString()), d.hasEventLocations && v.searchParams.set("rid", u.value.toString())), v.href;
7896
+ const _ = computed$1(() => {
7897
+ const g = new URL(window.location.origin + window.location.pathname);
7898
+ return n.type !== "event" ? (g.searchParams.set("id", n.listingId.toString()), g.searchParams.set("ci", p(r.currentArrivalDate)), g.searchParams.set("co", p(r.currentDepartureDate)), f.defaultAdultAmount !== r.currentAdults && g.searchParams.set("a", r.currentAdults.toString()), f.defaultChildAmount !== r.currentChildren && g.searchParams.set("c", r.currentChildren.toString()), d.hasHotelLocations && g.searchParams.set("hid", r.currentLocation.toString()), r.guestDiscountId && g.searchParams.set("gid", r.guestDiscountId.toString())) : (g.searchParams.set("d", p(l.value)), g.searchParams.set("eid", n.listingId.toString()), d.hasEventLocations && g.searchParams.set("rid", u.value.toString())), g.href;
7899
7899
  });
7900
- function y(v) {
7901
- t("update:idx", v);
7900
+ function y(g) {
7901
+ t("update:idx", g);
7902
7902
  }
7903
- const p = computed$1({
7903
+ const v = computed$1({
7904
7904
  get: () => n.idx,
7905
- set: (v) => y(v)
7905
+ set: (g) => y(g)
7906
7906
  }), m = ref("testVueMasonry"), b = inject("redrawVueMasonry");
7907
7907
  function P() {
7908
7908
  b("testVueMasonry");
7909
7909
  }
7910
- return (v, E) => {
7910
+ return (g, E) => {
7911
7911
  const T = resolveDirective("masonry-tile"), O = resolveDirective("masonry");
7912
7912
  return openBlock(), createBlock(Base$1, {
7913
- title: v.title,
7913
+ title: s.title,
7914
7914
  onOpened: P
7915
7915
  }, createSlots({
7916
7916
  default: withCtx(() => [
7917
- v.gallery ? (openBlock(), createElementBlock("div", _hoisted_1$b, [
7917
+ s.gallery ? (openBlock(), createElementBlock("div", _hoisted_1$b, [
7918
7918
  createVNode(Gallery, {
7919
- gallery: v.gallery,
7920
- idx: p.value,
7921
- "onUpdate:idx": E[0] || (E[0] = (S) => p.value = S)
7919
+ gallery: s.gallery,
7920
+ idx: v.value,
7921
+ "onUpdate:idx": E[0] || (E[0] = (S) => v.value = S)
7922
7922
  }, null, 8, ["gallery", "idx"])
7923
7923
  ])) : createCommentVNode("", !0),
7924
7924
  createBaseVNode("div", _hoisted_2$8, [
7925
- v.description ? (openBlock(), createElementBlock("div", {
7925
+ s.description ? (openBlock(), createElementBlock("div", {
7926
7926
  key: 0,
7927
7927
  class: "konnectio-listing-side-panel-description",
7928
- innerHTML: unref(convertDescription)(v.description)
7928
+ innerHTML: unref(convertDescription)(s.description)
7929
7929
  }, null, 8, _hoisted_3$8)) : createCommentVNode("", !0),
7930
- v.facilities && v.facilities.length !== 0 ? (openBlock(), createElementBlock("div", _hoisted_4$6, [
7930
+ s.facilities && s.facilities.length !== 0 ? (openBlock(), createElementBlock("div", _hoisted_4$6, [
7931
7931
  withDirectives((openBlock(), createElementBlock("ul", _hoisted_5$5, [
7932
7932
  withDirectives(createBaseVNode("div", _hoisted_6$5, null, 512), [
7933
7933
  [T]
7934
7934
  ]),
7935
- (openBlock(!0), createElementBlock(Fragment, null, renderList(v.facilities, ({ name: S, subFacilities: k }, R) => withDirectives((openBlock(), createElementBlock("li", {
7936
- key: R,
7935
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(s.facilities, ({ name: S, subFacilities: C }, k) => withDirectives((openBlock(), createElementBlock("li", {
7936
+ key: k,
7937
7937
  class: "konnectio-masonry-facility"
7938
7938
  }, [
7939
7939
  createBaseVNode("h6", null, [
7940
7940
  createBaseVNode("span", null, toDisplayString(S), 1)
7941
7941
  ]),
7942
7942
  createBaseVNode("ul", null, [
7943
- (openBlock(!0), createElementBlock(Fragment, null, renderList(k, ({ name: A }, C) => (openBlock(), createElementBlock("li", { key: C }, [
7943
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(C, ({ name: A }, R) => (openBlock(), createElementBlock("li", { key: R }, [
7944
7944
  createBaseVNode("span", null, toDisplayString(A), 1)
7945
7945
  ]))), 128))
7946
7946
  ])
@@ -7955,17 +7955,17 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7955
7955
  ]),
7956
7956
  _: 2
7957
7957
  }, [
7958
- (v.type === "hotel" || v.type === "event" || v.type === "template") && v.disableDeepLink === !1 ? {
7958
+ (s.type === "hotel" || s.type === "event" || s.type === "template") && s.disableDeepLink === !1 ? {
7959
7959
  name: "footer",
7960
7960
  fn: withCtx(() => [
7961
7961
  createBaseVNode("div", _hoisted_7$5, [
7962
7962
  createVNode(TextField, {
7963
- modelValue: g.value,
7964
- "onUpdate:modelValue": E[1] || (E[1] = (S) => g.value = S),
7963
+ modelValue: _.value,
7964
+ "onUpdate:modelValue": E[1] || (E[1] = (S) => _.value = S),
7965
7965
  icon: "share-nodes",
7966
7966
  "icon-placement": "label",
7967
7967
  "icon-type": "fas",
7968
- label: v.type !== "event" ? unref(e)("hotel.shareThis") : unref(e)("event.shareThis"),
7968
+ label: s.type !== "event" ? unref(e)("hotel.shareThis") : unref(e)("event.shareThis"),
7969
7969
  readonly: "",
7970
7970
  clipboard: ""
7971
7971
  }, null, 8, ["modelValue", "label"])
@@ -8108,8 +8108,8 @@ function initTriggers(s) {
8108
8108
  };
8109
8109
  }
8110
8110
  function resetTriggers(s) {
8111
- 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, _ = t.scrollHeight;
8112
- n.scrollLeft = r, n.scrollTop = l, e.style.width = u + 1 + "px", e.style.height = d + 1 + "px", t.scrollLeft = f, t.scrollTop = _;
8111
+ 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;
8112
+ n.scrollLeft = r, n.scrollTop = l, e.style.width = u + 1 + "px", e.style.height = d + 1 + "px", t.scrollLeft = f, t.scrollTop = p;
8113
8113
  }
8114
8114
  const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = { key: 1 }, _sfc_main$9 = /* @__PURE__ */ defineComponent({
8115
8115
  __name: "TruncateContent",
@@ -8131,31 +8131,31 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8131
8131
  }), f = computed$1(() => {
8132
8132
  if (!d.localExpanded && e.maxHeight)
8133
8133
  return typeof e?.maxHeight == "number" ? `${e?.maxHeight}px` : e?.maxHeight;
8134
- }), _ = () => {
8135
- u.value && (u.value.innerHTML = convertDescription(R.value));
8136
- }, g = () => {
8137
- d.localExpanded || (_(), (m() || k.value) && P());
8134
+ }), p = () => {
8135
+ u.value && (u.value.innerHTML = convertDescription(k.value));
8136
+ }, _ = () => {
8137
+ d.localExpanded || (p(), (m() || C.value) && P());
8138
8138
  }, y = () => {
8139
- e.text && (d.offset = e.text.length, p(), e.autoResize && r.value && (addListener(r.value, g), d.unregisterResizeCallback = () => {
8140
- r.value && removeListener(r.value, g);
8141
- }), g());
8142
- }, p = () => {
8139
+ e.text && (d.offset = e.text.length, v(), e.autoResize && r.value && (addListener(r.value, _), d.unregisterResizeCallback = () => {
8140
+ r.value && removeListener(r.value, _);
8141
+ }), _());
8142
+ }, v = () => {
8143
8143
  d.unregisterResizeCallback?.();
8144
8144
  }, m = () => !e.maxLines && !e.maxHeight || !r.value ? !1 : !!(e.maxLines && b() > e.maxLines || e.maxHeight && r.value.scrollHeight > r.value.offsetHeight), b = () => l.value ? Object.keys(
8145
- Array.prototype.slice.call(l.value.getClientRects()).reduce((x, { top: D, bottom: L }) => {
8145
+ Array.prototype.slice.call(l.value.getClientRects()).reduce((I, { top: D, bottom: L }) => {
8146
8146
  const B = `${D}/${L}`;
8147
- return x[B] || (x[B] = !0), x;
8147
+ return I[B] || (I[B] = !0), I;
8148
8148
  }, {})
8149
- ).length : 0, P = (...x) => {
8150
- const [D = 0, L = d.offset] = x;
8149
+ ).length : 0, P = (...I) => {
8150
+ const [D = 0, L = d.offset] = I;
8151
8151
  if (L - D <= 3) {
8152
8152
  E();
8153
8153
  return;
8154
8154
  }
8155
8155
  const B = Math.floor((L + D) / 2);
8156
- v(B), m() ? P(D, B) : P(B, L);
8157
- }, v = (x) => {
8158
- d.offset = x, _();
8156
+ g(B), m() ? P(D, B) : P(B, L);
8157
+ }, g = (I) => {
8158
+ d.offset = I, p();
8159
8159
  }, E = () => {
8160
8160
  T(), O();
8161
8161
  }, T = () => {
@@ -8164,27 +8164,27 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8164
8164
  }, O = () => {
8165
8165
  for (; m() && b() > 1 && d.offset > 0; )
8166
8166
  S(-1);
8167
- }, S = (x) => {
8168
- v(d.offset + x);
8169
- }, k = computed$1(() => e.text ? d.offset !== e.text.length : !1);
8167
+ }, S = (I) => {
8168
+ g(d.offset + I);
8169
+ }, C = computed$1(() => e.text ? d.offset !== e.text.length : !1);
8170
8170
  watch(
8171
- () => k.value,
8172
- (x) => {
8171
+ () => C.value,
8172
+ (I) => {
8173
8173
  setTimeout(() => {
8174
- n("clamp-change", x);
8174
+ n("clamp-change", I);
8175
8175
  }, 0);
8176
8176
  },
8177
8177
  { immediate: !0 }
8178
8178
  );
8179
- const R = computed$1(() => k.value ? A.value : e.text), A = computed$1(() => {
8179
+ const k = computed$1(() => C.value ? A.value : e.text), A = computed$1(() => {
8180
8180
  if (e.location === "start")
8181
8181
  return e.ellipsis + (e.text.slice(-d.offset) || "").trim();
8182
8182
  if (e.location === "middle") {
8183
- const x = Math.floor(d.offset / 2);
8184
- return (e.text.slice(0, x) || "").trim() + e.ellipsis + (e.text.slice(-x) || "").trim();
8183
+ const I = Math.floor(d.offset / 2);
8184
+ return (e.text.slice(0, I) || "").trim() + e.ellipsis + (e.text.slice(-I) || "").trim();
8185
8185
  }
8186
8186
  return (e.text.slice(0, d.offset) || "").trim() + e.ellipsis;
8187
- }), C = () => {
8187
+ }), R = () => {
8188
8188
  d.localExpanded = !0;
8189
8189
  }, N = () => {
8190
8190
  d.localExpanded = !1;
@@ -8193,19 +8193,19 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8193
8193
  };
8194
8194
  return watch(
8195
8195
  () => e.expanded,
8196
- (x) => {
8197
- d.localExpanded = x;
8196
+ (I) => {
8197
+ d.localExpanded = I;
8198
8198
  }
8199
8199
  ), watch(
8200
8200
  () => d.localExpanded,
8201
- (x) => {
8202
- x ? v(e.text.length) : g(), e.expanded !== x && n("update:expanded", x);
8201
+ (I) => {
8202
+ I ? g(e.text.length) : _(), e.expanded !== I && n("update:expanded", I);
8203
8203
  }
8204
8204
  ), watch(
8205
- () => [e.maxLines, e.maxHeight, e.ellipsis, e.location, k.value].join(),
8205
+ () => [e.maxLines, e.maxHeight, e.ellipsis, e.location, C.value].join(),
8206
8206
  () => {
8207
8207
  nextTick(() => {
8208
- g();
8208
+ _();
8209
8209
  });
8210
8210
  }
8211
8211
  ), watch(
@@ -8216,10 +8216,10 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8216
8216
  });
8217
8217
  }
8218
8218
  ), onUnmounted(() => {
8219
- p();
8219
+ v();
8220
8220
  }), onMounted(() => {
8221
8221
  y();
8222
- }), (x, D) => (openBlock(), createElementBlock("div", {
8222
+ }), (I, D) => (openBlock(), createElementBlock("div", {
8223
8223
  ref_key: "textClampRef",
8224
8224
  ref: r,
8225
8225
  class: "text-clamp",
@@ -8232,26 +8232,26 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8232
8232
  ref_key: "contentRef",
8233
8233
  ref: l
8234
8234
  }, [
8235
- renderSlot(x.$slots, "before", {
8236
- expand: C,
8235
+ renderSlot(I.$slots, "before", {
8236
+ expand: R,
8237
8237
  collapse: N,
8238
8238
  toggle: w,
8239
- clamped: k.value,
8239
+ clamped: C.value,
8240
8240
  expanded: d.localExpanded
8241
8241
  }),
8242
8242
  createBaseVNode("span", {
8243
8243
  ref_key: "textRef",
8244
8244
  ref: u,
8245
- "aria-label": x.text
8245
+ "aria-label": s.text
8246
8246
  }, null, 8, _hoisted_1$a),
8247
- renderSlot(x.$slots, "after", {
8248
- expand: C,
8247
+ renderSlot(I.$slots, "after", {
8248
+ expand: R,
8249
8249
  collapse: N,
8250
8250
  toggle: w,
8251
- clamped: k.value,
8251
+ clamped: C.value,
8252
8252
  expanded: d.localExpanded
8253
8253
  }, () => [
8254
- k.value || d.localExpanded ? (openBlock(), createElementBlock("button", {
8254
+ C.value || d.localExpanded ? (openBlock(), createElementBlock("button", {
8255
8255
  key: 0,
8256
8256
  class: "link",
8257
8257
  onClick: D[0] || (D[0] = withModifiers((L) => w(), ["prevent"]))
@@ -8292,30 +8292,30 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8292
8292
  function f() {
8293
8293
  t.value = !0;
8294
8294
  }
8295
- function _(g) {
8295
+ function p(_) {
8296
8296
  let y = "";
8297
- return g.forEach(({ name: p }) => {
8298
- y += `<li>${p}</li>`;
8297
+ return _.forEach(({ name: v }) => {
8298
+ y += `<li>${v}</li>`;
8299
8299
  }), `<ul>${y}</ul>`;
8300
8300
  }
8301
- return (g, y) => {
8302
- const p = resolveDirective("tooltip");
8301
+ return (_, y) => {
8302
+ const v = resolveDirective("tooltip");
8303
8303
  return openBlock(), createElementBlock("li", {
8304
8304
  class: normalizeClass([
8305
8305
  "konnectio-listing",
8306
- { "no-gallery": !g.gallery || g.gallery.length === 0 },
8307
- { "only-featured": g.gallery && g.gallery.length === 1 }
8306
+ { "no-gallery": !s.gallery || s.gallery.length === 0 },
8307
+ { "only-featured": s.gallery && s.gallery.length === 1 }
8308
8308
  ])
8309
8309
  }, [
8310
- g.gallery ? (openBlock(), createElementBlock("div", {
8310
+ s.gallery ? (openBlock(), createElementBlock("div", {
8311
8311
  key: 0,
8312
8312
  class: normalizeClass([
8313
8313
  "konnectio-listing-featured",
8314
- { "single-image": g.gallery.length === 1 }
8314
+ { "single-image": s.gallery.length === 1 }
8315
8315
  ])
8316
8316
  }, [
8317
8317
  createVNode(Gallery, {
8318
- gallery: g.gallery,
8318
+ gallery: s.gallery,
8319
8319
  idx: e.value,
8320
8320
  "onUpdate:idx": y[0] || (y[0] = (m) => e.value = m),
8321
8321
  "is-listing": !0,
@@ -8332,11 +8332,11 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8332
8332
  ])
8333
8333
  }, [
8334
8334
  createBaseVNode("h3", {
8335
- title: unref(capitalized)(g.name),
8336
- class: normalizeClass({ "no-padding": g.hideInfoButton })
8335
+ title: unref(capitalized)(s.name),
8336
+ class: normalizeClass({ "no-padding": s.hideInfoButton })
8337
8337
  }, [
8338
- createBaseVNode("span", null, toDisplayString(unref(capitalized)(g.name)), 1),
8339
- g.hideInfoButton ? createCommentVNode("", !0) : (openBlock(), createElementBlock("button", {
8338
+ createBaseVNode("span", null, toDisplayString(unref(capitalized)(s.name)), 1),
8339
+ s.hideInfoButton ? createCommentVNode("", !0) : (openBlock(), createElementBlock("button", {
8340
8340
  key: 0,
8341
8341
  class: "konnectio-listing-read-more",
8342
8342
  type: "button",
@@ -8348,39 +8348,39 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8348
8348
  })
8349
8349
  ]))
8350
8350
  ], 10, _hoisted_3$6),
8351
- d.value || g.includesBreakfast || g.fromDate && g.toDate || g.toDate && unref(daysBetweenDates)(/* @__PURE__ */ new Date(), g.toDate) < 180 && !unref(u) ? (openBlock(), createElementBlock("ul", _hoisted_4$5, [
8351
+ d.value || s.includesBreakfast || s.fromDate && s.toDate || s.toDate && unref(daysBetweenDates)(/* @__PURE__ */ new Date(), s.toDate) < 180 && !unref(u) ? (openBlock(), createElementBlock("ul", _hoisted_4$5, [
8352
8352
  d.value ? (openBlock(), createElementBlock("li", _hoisted_5$4, [
8353
- createBaseVNode("span", null, toDisplayString(`${unref(i)("general.pricesFrom")}: ${unref(showPrice)(g.pricesFrom, unref(l))}`), 1)
8353
+ createBaseVNode("span", null, toDisplayString(`${unref(i)("general.pricesFrom")}: ${unref(showPrice)(s.pricesFrom, unref(l))}`), 1)
8354
8354
  ])) : createCommentVNode("", !0),
8355
- g.includesBreakfast ? (openBlock(), createElementBlock("li", _hoisted_6$4, [
8355
+ s.includesBreakfast ? (openBlock(), createElementBlock("li", _hoisted_6$4, [
8356
8356
  createBaseVNode("span", null, toDisplayString(unref(i)("general.breakfastIncluded")), 1),
8357
8357
  createCommentVNode("", !0)
8358
8358
  ])) : createCommentVNode("", !0),
8359
- g.fromDate && g.toDate ? (openBlock(), createElementBlock("li", _hoisted_7$4, [
8360
- createBaseVNode("span", null, toDisplayString(`${unref(showDate)(g.fromDate)} - ${unref(showDate)(g.toDate)}`), 1)
8361
- ])) : g.toDate && unref(daysBetweenDates)(/* @__PURE__ */ new Date(), g.toDate) < 180 && !unref(u) ? (openBlock(), createElementBlock("li", _hoisted_8$3, [
8362
- createBaseVNode("span", null, toDisplayString(`${unref(i)("general.availableUntil")}: ${unref(showDate)(g.toDate)}`), 1)
8359
+ s.fromDate && s.toDate ? (openBlock(), createElementBlock("li", _hoisted_7$4, [
8360
+ createBaseVNode("span", null, toDisplayString(`${unref(showDate)(s.fromDate)} - ${unref(showDate)(s.toDate)}`), 1)
8361
+ ])) : s.toDate && unref(daysBetweenDates)(/* @__PURE__ */ new Date(), s.toDate) < 180 && !unref(u) ? (openBlock(), createElementBlock("li", _hoisted_8$3, [
8362
+ createBaseVNode("span", null, toDisplayString(`${unref(i)("general.availableUntil")}: ${unref(showDate)(s.toDate)}`), 1)
8363
8363
  ])) : createCommentVNode("", !0)
8364
8364
  ])) : createCommentVNode("", !0)
8365
8365
  ], 2),
8366
8366
  createBaseVNode("div", _hoisted_9$2, [
8367
- renderSlot(g.$slots, "description", {}, () => [
8368
- g.description ? (openBlock(), createBlock(_sfc_main$9, {
8367
+ renderSlot(_.$slots, "description", {}, () => [
8368
+ s.description ? (openBlock(), createBlock(_sfc_main$9, {
8369
8369
  key: 0,
8370
- text: g.description
8370
+ text: s.description
8371
8371
  }, null, 8, ["text"])) : createCommentVNode("", !0)
8372
8372
  ])
8373
8373
  ]),
8374
- g.facilities ? (openBlock(), createElementBlock("ul", _hoisted_10$2, [
8375
- (openBlock(!0), createElementBlock(Fragment, null, renderList(g.facilities, ({ icon: m, name: b, subFacilities: P }) => (openBlock(), createElementBlock(Fragment, null, [
8374
+ s.facilities ? (openBlock(), createElementBlock("ul", _hoisted_10$2, [
8375
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(s.facilities, ({ icon: m, name: b, subFacilities: P }) => (openBlock(), createElementBlock(Fragment, null, [
8376
8376
  m ? withDirectives((openBlock(), createElementBlock("li", { key: b }, [
8377
8377
  createVNode(Icon, {
8378
8378
  icon: m,
8379
8379
  color: "header"
8380
8380
  }, null, 8, ["icon"])
8381
8381
  ])), [
8382
- [p, {
8383
- content: _(P),
8382
+ [v, {
8383
+ content: p(P),
8384
8384
  classes: ["tooltip", "konnectio-tooltip"],
8385
8385
  html: !0
8386
8386
  }]
@@ -8389,21 +8389,21 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8389
8389
  ])) : createCommentVNode("", !0)
8390
8390
  ]),
8391
8391
  createBaseVNode("div", _hoisted_11$2, [
8392
- renderSlot(g.$slots, "action")
8392
+ renderSlot(_.$slots, "action")
8393
8393
  ]),
8394
- renderSlot(g.$slots, "default"),
8394
+ renderSlot(_.$slots, "default"),
8395
8395
  createVNode(SidePanel, {
8396
8396
  modelValue: t.value,
8397
8397
  "onUpdate:modelValue": y[2] || (y[2] = (m) => t.value = m),
8398
- "listing-id": g.listingId,
8399
- type: g.type,
8400
- title: g.name,
8401
- description: g.description,
8402
- gallery: g.gallery,
8398
+ "listing-id": s.listingId,
8399
+ type: s.type,
8400
+ title: s.name,
8401
+ description: s.description,
8402
+ gallery: s.gallery,
8403
8403
  idx: e.value,
8404
8404
  "onUpdate:idx": y[3] || (y[3] = (m) => e.value = m),
8405
- facilities: g.facilities,
8406
- "disable-deep-link": g.disableDeepLink
8405
+ facilities: s.facilities,
8406
+ "disable-deep-link": s.disableDeepLink
8407
8407
  }, null, 8, ["modelValue", "listing-id", "type", "title", "description", "gallery", "idx", "facilities", "disable-deep-link"])
8408
8408
  ])
8409
8409
  ], 2);
@@ -8429,18 +8429,18 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8429
8429
  set: (l) => n(l)
8430
8430
  });
8431
8431
  return (l, u) => (openBlock(), createBlock(InputField, {
8432
- label: l.label,
8432
+ label: s.label,
8433
8433
  type: "multi-radio",
8434
- "no-optional-label": l.noOptionalLabel
8434
+ "no-optional-label": s.noOptionalLabel
8435
8435
  }, {
8436
8436
  default: withCtx(() => [
8437
8437
  createBaseVNode("ul", _hoisted_1$8, [
8438
- (openBlock(!0), createElementBlock(Fragment, null, renderList(l.checkboxes, ({ label: d, value: f }, _) => (openBlock(), createElementBlock("li", { key: _ }, [
8438
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(s.checkboxes, ({ label: d, value: f }, p) => (openBlock(), createElementBlock("li", { key: p }, [
8439
8439
  createVNode(Checkbox, {
8440
8440
  modelValue: r.value,
8441
- "onUpdate:modelValue": u[0] || (u[0] = (g) => r.value = g),
8441
+ "onUpdate:modelValue": u[0] || (u[0] = (_) => r.value = _),
8442
8442
  label: d,
8443
- name: l.name,
8443
+ name: s.name,
8444
8444
  type: "radio",
8445
8445
  val: f
8446
8446
  }, null, 8, ["modelValue", "label", "name", "val"])
@@ -8460,11 +8460,11 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8460
8460
  },
8461
8461
  emits: ["reset"],
8462
8462
  setup(s, { emit: i }) {
8463
- const t = i, { headerHeight: e } = storeToRefs(useUtilityStore()), n = s, r = ref(0), l = ref(), u = computed$1(() => n.steps.filter((p) => !p.hidden)), d = computed$1(() => n.steps[r.value].id), f = () => {
8463
+ const t = i, { headerHeight: e } = storeToRefs(useUtilityStore()), n = s, r = ref(0), l = ref(), u = computed$1(() => n.steps.filter((v) => !v.hidden)), d = computed$1(() => n.steps[r.value].id), f = () => {
8464
8464
  if (l.value) {
8465
- const p = e.value;
8466
- if (p && p > 0) {
8467
- const b = l.value.getBoundingClientRect().top + window.scrollY - p;
8465
+ const v = e.value;
8466
+ if (v && v > 0) {
8467
+ const b = l.value.getBoundingClientRect().top + window.scrollY - v;
8468
8468
  window.scrollTo({
8469
8469
  top: b,
8470
8470
  behavior: "smooth"
@@ -8472,10 +8472,10 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8472
8472
  } else
8473
8473
  l.value.scrollIntoView({ behavior: "smooth" });
8474
8474
  }
8475
- }, _ = (p = 1) => {
8476
- r.value = r.value + p, f();
8477
- }, g = (p = 1) => {
8478
- r.value = r.value - p, f();
8475
+ }, p = (v = 1) => {
8476
+ r.value = r.value + v, f();
8477
+ }, _ = (v = 1) => {
8478
+ r.value = r.value - v, f();
8479
8479
  };
8480
8480
  function y() {
8481
8481
  r.value = 0, f();
@@ -8484,7 +8484,7 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8484
8484
  f();
8485
8485
  }), watch(r, () => {
8486
8486
  r.value === 0 && t("reset");
8487
- }), (p, m) => (openBlock(), createElementBlock("div", {
8487
+ }), (v, m) => (openBlock(), createElementBlock("div", {
8488
8488
  id: "konnectio-multi-step-form",
8489
8489
  ref_key: "multiStepForm",
8490
8490
  ref: l
@@ -8493,11 +8493,11 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8493
8493
  createBaseVNode("header", _hoisted_1$7, [
8494
8494
  createBaseVNode("div", _hoisted_2$5, [
8495
8495
  createBaseVNode("div", null, [
8496
- p.title && p.layout !== unref(BookingHeaderLayout).Minimal ? (openBlock(), createElementBlock("h2", _hoisted_3$5, [
8497
- createBaseVNode("span", null, toDisplayString(p.title), 1)
8496
+ s.title && s.layout !== unref(BookingHeaderLayout).Minimal ? (openBlock(), createElementBlock("h2", _hoisted_3$5, [
8497
+ createBaseVNode("span", null, toDisplayString(s.title), 1)
8498
8498
  ])) : createCommentVNode("", !0),
8499
- p.subtitle && p.layout !== unref(BookingHeaderLayout).Minimal ? (openBlock(), createElementBlock("h5", _hoisted_4$4, [
8500
- createBaseVNode("span", null, toDisplayString(p.subtitle), 1)
8499
+ s.subtitle && s.layout !== unref(BookingHeaderLayout).Minimal ? (openBlock(), createElementBlock("h5", _hoisted_4$4, [
8500
+ createBaseVNode("span", null, toDisplayString(s.subtitle), 1)
8501
8501
  ])) : createCommentVNode("", !0),
8502
8502
  createBaseVNode("ul", _hoisted_5$3, [
8503
8503
  (openBlock(!0), createElementBlock(Fragment, null, renderList(u.value, (b, P) => (openBlock(), createElementBlock("li", {
@@ -8517,14 +8517,14 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8517
8517
  ])
8518
8518
  ]),
8519
8519
  createBaseVNode("ul", _hoisted_7$3, [
8520
- (openBlock(!0), createElementBlock(Fragment, null, renderList(p.steps, (b) => (openBlock(), createElementBlock("li", {
8520
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(s.steps, (b) => (openBlock(), createElementBlock("li", {
8521
8521
  key: b.id,
8522
8522
  class: "konnectio-multi-step-form-content-tab"
8523
8523
  }, [
8524
8524
  withDirectives(createBaseVNode("div", null, [
8525
- renderSlot(p.$slots, b.id, {
8526
- next: _,
8527
- prev: g,
8525
+ renderSlot(v.$slots, b.id, {
8526
+ next: p,
8527
+ prev: _,
8528
8528
  reset: y
8529
8529
  }, void 0, !0)
8530
8530
  ], 512), [
@@ -8829,12 +8829,12 @@ const StickySidebar = /* @__PURE__ */ (() => {
8829
8829
  let u = "affix." + r.toLowerCase().replace("viewport-", "") + s;
8830
8830
  t.eventTrigger(this.sidebar, u), r === "STATIC" ? t.removeClass(this.sidebar, this.options.stickyClass) : t.addClass(this.sidebar, this.options.stickyClass);
8831
8831
  for (let f in l.outer) {
8832
- let _ = typeof l.outer[f] == "number" ? "px" : "";
8833
- this.sidebar.style[f] = l.outer[f] + _;
8832
+ let p = typeof l.outer[f] == "number" ? "px" : "";
8833
+ this.sidebar.style[f] = l.outer[f] + p;
8834
8834
  }
8835
8835
  for (let f in l.inner) {
8836
- let _ = typeof l.inner[f] == "number" ? "px" : "";
8837
- this.sidebarInner.style[f] = l.inner[f] + _;
8836
+ let p = typeof l.inner[f] == "number" ? "px" : "";
8837
+ this.sidebarInner.style[f] = l.inner[f] + p;
8838
8838
  }
8839
8839
  let d = "affixed." + r.toLowerCase().replace("viewport-", "") + s;
8840
8840
  t.eventTrigger(this.sidebar, d);
@@ -8916,10 +8916,10 @@ const StickySidebar = /* @__PURE__ */ (() => {
8916
8916
  * @return {String}
8917
8917
  */
8918
8918
  static supportTransform(n) {
8919
- var r = !1, l = n ? "perspective" : "transform", u = l.charAt(0).toUpperCase() + l.slice(1), d = ["Webkit", "Moz", "O", "ms"], f = document.createElement("support"), _ = f.style;
8920
- return (l + " " + d.join(u + " ") + u).split(" ").forEach(function(g, y) {
8921
- if (_[g] !== void 0)
8922
- return r = g, !1;
8919
+ 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;
8920
+ return (l + " " + d.join(u + " ") + u).split(" ").forEach(function(_, y) {
8921
+ if (p[_] !== void 0)
8922
+ return r = _, !1;
8923
8923
  }), r;
8924
8924
  }
8925
8925
  /**
@@ -9118,11 +9118,11 @@ const _hoisted_1$3 = {
9118
9118
  enableStickyHeader: u,
9119
9119
  headerHeight: d
9120
9120
  } = storeToRefs(useUtilityStore()), f = useHotelStore(), {
9121
- amount: _,
9122
- voucher: g,
9121
+ amount: p,
9122
+ voucher: _,
9123
9123
  isLoading: y
9124
- } = storeToRefs(useApplyGiftCardStore()), { apply: p, reset: m } = useApplyGiftCardStore(), b = useSlots(), P = useModel(s, "discountCode"), v = s, E = computed$1(() => v.basePrice - v.weekendFee - v.roomUpgrade), T = ref("discount"), O = computed$1(() => T.value === "discount"), S = computed$1(() => T.value === "gift-card"), k = computed$1(() => !t.value || !e.value), R = computed$1(() => !t.value && !e.value), A = (C) => {
9125
- T.value = C;
9124
+ } = storeToRefs(useApplyGiftCardStore()), { apply: v, reset: m } = useApplyGiftCardStore(), b = useSlots(), P = useModel(s, "discountCode"), g = s, E = computed$1(() => g.basePrice - g.weekendFee - g.roomUpgrade), T = ref("discount"), O = computed$1(() => T.value === "discount"), S = computed$1(() => T.value === "gift-card"), C = computed$1(() => !t.value || !e.value), k = computed$1(() => !t.value && !e.value), A = (R) => {
9125
+ T.value = R;
9126
9126
  };
9127
9127
  return onMounted(() => {
9128
9128
  if (e.value) {
@@ -9130,19 +9130,19 @@ const _hoisted_1$3 = {
9130
9130
  return;
9131
9131
  }
9132
9132
  n.value && A("gift-card");
9133
- }), (C, N) => {
9133
+ }), (R, N) => {
9134
9134
  const w = resolveDirective("sticky");
9135
9135
  return openBlock(), createElementBlock("div", _hoisted_1$3, [
9136
9136
  createBaseVNode("div", {
9137
9137
  id: "konnectio-reservation-layout-content",
9138
9138
  class: normalizeClass([
9139
9139
  { "hide-aside-on-mobile": !unref(b).sidebar },
9140
- { "show-additional": C.notice || C.showGiftCard && k.value }
9140
+ { "show-additional": s.notice || s.showGiftCard && C.value }
9141
9141
  ])
9142
9142
  }, [
9143
9143
  createBaseVNode("div", _hoisted_2$2, [
9144
9144
  createBaseVNode("form", null, [
9145
- renderSlot(C.$slots, "form")
9145
+ renderSlot(R.$slots, "form")
9146
9146
  ])
9147
9147
  ]),
9148
9148
  createBaseVNode("aside", {
@@ -9160,15 +9160,15 @@ const _hoisted_1$3 = {
9160
9160
  default: withCtx(() => [
9161
9161
  unref(b).sidebar ? (openBlock(), createElementBlock("div", _hoisted_3$2, [
9162
9162
  createBaseVNode("div", _hoisted_4$2, [
9163
- renderSlot(C.$slots, "sidebar")
9163
+ renderSlot(R.$slots, "sidebar")
9164
9164
  ]),
9165
- C.notice ? (openBlock(), createElementBlock("div", _hoisted_5$2, [
9165
+ s.notice ? (openBlock(), createElementBlock("div", _hoisted_5$2, [
9166
9166
  createBaseVNode("p", {
9167
- innerHTML: C.notice,
9167
+ innerHTML: s.notice,
9168
9168
  class: "konnectio-wysiwyg"
9169
9169
  }, null, 8, _hoisted_6$2)
9170
9170
  ])) : createCommentVNode("", !0)
9171
- ])) : C.isSidebarLoading ? (openBlock(), createBlock(Sidebar, { key: 2 })) : (openBlock(), createElementBlock("div", _hoisted_7$2, [
9171
+ ])) : s.isSidebarLoading ? (openBlock(), createBlock(Sidebar, { key: 2 })) : (openBlock(), createElementBlock("div", _hoisted_7$2, [
9172
9172
  createBaseVNode("div", _hoisted_8$2, [
9173
9173
  createBaseVNode("ul", _hoisted_9$1, [
9174
9174
  unref(b)["reservation-summary"] ? (openBlock(), createElementBlock("div", _hoisted_10$1, [
@@ -9176,7 +9176,7 @@ const _hoisted_1$3 = {
9176
9176
  createBaseVNode("span", null, toDisplayString(unref(i)("general.reservationSummary")), 1)
9177
9177
  ]),
9178
9178
  createBaseVNode("ul", null, [
9179
- renderSlot(C.$slots, "reservation-summary")
9179
+ renderSlot(R.$slots, "reservation-summary")
9180
9180
  ])
9181
9181
  ])) : createCommentVNode("", !0),
9182
9182
  createBaseVNode("div", _hoisted_11$1, [
@@ -9184,26 +9184,26 @@ const _hoisted_1$3 = {
9184
9184
  createBaseVNode("span", null, toDisplayString(unref(i)("general.priceSummary")), 1)
9185
9185
  ]),
9186
9186
  createBaseVNode("ul", null, [
9187
- renderSlot(C.$slots, "price-summary"),
9187
+ renderSlot(R.$slots, "price-summary"),
9188
9188
  E.value > 0 ? (openBlock(), createElementBlock("li", _hoisted_12$1, [
9189
9189
  createBaseVNode("span", null, toDisplayString(unref(i)("booking.availability.basePrice")), 1),
9190
9190
  createBaseVNode("b", null, toDisplayString(unref(showPrice)(E.value, unref(l))), 1)
9191
9191
  ])) : createCommentVNode("", !0),
9192
- C.weekendFee > 0 ? (openBlock(), createElementBlock("li", _hoisted_13$1, [
9192
+ s.weekendFee > 0 ? (openBlock(), createElementBlock("li", _hoisted_13$1, [
9193
9193
  createBaseVNode("span", null, toDisplayString(unref(i)("general.weekendFee")), 1),
9194
- createBaseVNode("b", null, toDisplayString(unref(showPrice)(C.weekendFee, unref(l))), 1)
9194
+ createBaseVNode("b", null, toDisplayString(unref(showPrice)(s.weekendFee, unref(l))), 1)
9195
9195
  ])) : createCommentVNode("", !0),
9196
- C.roomUpgrade > 0 ? (openBlock(), createElementBlock("li", _hoisted_14$1, [
9196
+ s.roomUpgrade > 0 ? (openBlock(), createElementBlock("li", _hoisted_14$1, [
9197
9197
  createBaseVNode("span", null, toDisplayString(unref(i)("general.roomUpgrade")), 1),
9198
- createBaseVNode("b", null, toDisplayString(unref(showPrice)(C.roomUpgrade, unref(l))), 1)
9198
+ createBaseVNode("b", null, toDisplayString(unref(showPrice)(s.roomUpgrade, unref(l))), 1)
9199
9199
  ])) : createCommentVNode("", !0),
9200
- renderSlot(C.$slots, "expenses"),
9201
- unref(_) !== 0 ? (openBlock(), createElementBlock("li", _hoisted_15$1, [
9200
+ renderSlot(R.$slots, "expenses"),
9201
+ unref(p) !== 0 ? (openBlock(), createElementBlock("li", _hoisted_15$1, [
9202
9202
  createBaseVNode("span", null, [
9203
9203
  createBaseVNode("span", null, toDisplayString(unref(i)("booking.reservation.giftCardDiscount")), 1),
9204
9204
  createBaseVNode("a", {
9205
9205
  class: "resume-item-remove",
9206
- onClick: N[0] || (N[0] = withModifiers((x) => unref(m)(), ["prevent"]))
9206
+ onClick: N[0] || (N[0] = withModifiers((I) => unref(m)(), ["prevent"]))
9207
9207
  }, [
9208
9208
  createVNode(Icon, {
9209
9209
  icon: "times",
@@ -9213,31 +9213,31 @@ const _hoisted_1$3 = {
9213
9213
  ])
9214
9214
  ]),
9215
9215
  createBaseVNode("b", null, [
9216
- createBaseVNode("span", null, toDisplayString(unref(showPrice)(-unref(_), unref(l))), 1)
9216
+ createBaseVNode("span", null, toDisplayString(unref(showPrice)(-unref(p), unref(l))), 1)
9217
9217
  ])
9218
9218
  ])) : createCommentVNode("", !0),
9219
9219
  createBaseVNode("li", null, [
9220
9220
  createBaseVNode("span", null, toDisplayString(unref(i)("booking.reservation.totalPrice")), 1),
9221
9221
  createBaseVNode("b", null, [
9222
- createBaseVNode("u", null, toDisplayString(unref(showPrice)(C.totalPrice, unref(l))), 1)
9222
+ createBaseVNode("u", null, toDisplayString(unref(showPrice)(s.totalPrice, unref(l))), 1)
9223
9223
  ])
9224
9224
  ])
9225
9225
  ])
9226
9226
  ]),
9227
- unref(b).actions && C.showTermsNotice ? renderSlot(C.$slots, "actions", { key: 1 }) : createCommentVNode("", !0),
9228
- renderSlot(C.$slots, "navigation"),
9229
- C.prevCallback !== void 0 ? (openBlock(), createBlock(Clickable, {
9227
+ unref(b).actions && s.showTermsNotice ? renderSlot(R.$slots, "actions", { key: 1 }) : createCommentVNode("", !0),
9228
+ renderSlot(R.$slots, "navigation"),
9229
+ s.prevCallback !== void 0 ? (openBlock(), createBlock(Clickable, {
9230
9230
  key: 2,
9231
9231
  class: "konnectio-abort-reservation",
9232
9232
  label: unref(i)("general.goAStepBack"),
9233
9233
  secondary: "",
9234
- onClickEvent: C.prevCallback
9234
+ onClickEvent: s.prevCallback
9235
9235
  }, null, 8, ["label", "onClickEvent"])) : createCommentVNode("", !0)
9236
9236
  ])
9237
9237
  ]),
9238
- C.showGiftCard && k.value ? (openBlock(), createElementBlock("div", _hoisted_16$1, [
9238
+ s.showGiftCard && C.value ? (openBlock(), createElementBlock("div", _hoisted_16$1, [
9239
9239
  createBaseVNode("div", _hoisted_17$1, [
9240
- R.value ? (openBlock(), createElementBlock("nav", {
9240
+ k.value ? (openBlock(), createElementBlock("nav", {
9241
9241
  key: 0,
9242
9242
  class: normalizeClass([
9243
9243
  "konnectio-reservation-discount-navigation",
@@ -9248,7 +9248,7 @@ const _hoisted_1$3 = {
9248
9248
  createBaseVNode("li", null, [
9249
9249
  createBaseVNode("button", {
9250
9250
  class: normalizeClass({ active: O.value }),
9251
- onClick: N[1] || (N[1] = withModifiers((x) => A("discount"), ["prevent"]))
9251
+ onClick: N[1] || (N[1] = withModifiers((I) => A("discount"), ["prevent"]))
9252
9252
  }, [
9253
9253
  createBaseVNode("span", null, toDisplayString(unref(i)("general.discountCode")), 1)
9254
9254
  ], 2)
@@ -9256,7 +9256,7 @@ const _hoisted_1$3 = {
9256
9256
  createBaseVNode("li", null, [
9257
9257
  createBaseVNode("button", {
9258
9258
  class: normalizeClass({ active: S.value }),
9259
- onClick: N[2] || (N[2] = withModifiers((x) => A("gift-card"), ["prevent"]))
9259
+ onClick: N[2] || (N[2] = withModifiers((I) => A("gift-card"), ["prevent"]))
9260
9260
  }, [
9261
9261
  createBaseVNode("span", null, toDisplayString(unref(i)("booking.reservation.giftCardCode")), 1)
9262
9262
  ], 2)
@@ -9275,25 +9275,25 @@ const _hoisted_1$3 = {
9275
9275
  O.value ? (openBlock(), createBlock(ActionField, {
9276
9276
  key: 0,
9277
9277
  modelValue: P.value,
9278
- "onUpdate:modelValue": N[3] || (N[3] = (x) => P.value = x),
9278
+ "onUpdate:modelValue": N[3] || (N[3] = (I) => P.value = I),
9279
9279
  icon: "tags",
9280
9280
  "button-icon": "paper-plane-top",
9281
9281
  placeholder: unref(i)("general.discountCodePlaceholder"),
9282
9282
  action: "success",
9283
9283
  secondary: !0,
9284
9284
  "is-loading": unref(f).isValidatingDiscountCode,
9285
- onAction: N[4] || (N[4] = (x) => C.validateDiscountCode())
9285
+ onAction: N[4] || (N[4] = (I) => s.validateDiscountCode())
9286
9286
  }, null, 8, ["modelValue", "placeholder", "is-loading"])) : S.value ? (openBlock(), createBlock(ActionField, {
9287
9287
  key: 1,
9288
- modelValue: unref(g),
9289
- "onUpdate:modelValue": N[5] || (N[5] = (x) => isRef(g) ? g.value = x : null),
9288
+ modelValue: unref(_),
9289
+ "onUpdate:modelValue": N[5] || (N[5] = (I) => isRef(_) ? _.value = I : null),
9290
9290
  icon: "gift-card",
9291
9291
  "button-icon": "paper-plane-top",
9292
9292
  placeholder: "XXXXXXXX",
9293
9293
  action: "success",
9294
9294
  secondary: !0,
9295
9295
  "is-loading": unref(y),
9296
- onAction: N[6] || (N[6] = (x) => unref(p)())
9296
+ onAction: N[6] || (N[6] = (I) => unref(v)())
9297
9297
  }, null, 8, ["modelValue", "is-loading"])) : createCommentVNode("", !0)
9298
9298
  ]),
9299
9299
  _: 1
@@ -9301,9 +9301,9 @@ const _hoisted_1$3 = {
9301
9301
  ])
9302
9302
  ])
9303
9303
  ])) : createCommentVNode("", !0),
9304
- C.notice && C.notice !== "<br>" && C.notice !== "<p><br></p>" ? (openBlock(), createElementBlock("div", _hoisted_22$1, [
9304
+ s.notice && s.notice !== "<br>" && s.notice !== "<p><br></p>" ? (openBlock(), createElementBlock("div", _hoisted_22$1, [
9305
9305
  createBaseVNode("p", {
9306
- innerHTML: C.notice,
9306
+ innerHTML: s.notice,
9307
9307
  class: "konnectio-wysiwyg"
9308
9308
  }, null, 8, _hoisted_23)
9309
9309
  ])) : createCommentVNode("", !0)
@@ -9324,25 +9324,25 @@ const _hoisted_1$3 = {
9324
9324
  createBaseVNode("h3", {
9325
9325
  title: unref(i)("booking.reservation.totalPrice")
9326
9326
  }, [
9327
- createBaseVNode("u", null, toDisplayString(unref(showPrice)(C.totalPrice, unref(l))), 1)
9327
+ createBaseVNode("u", null, toDisplayString(unref(showPrice)(s.totalPrice, unref(l))), 1)
9328
9328
  ], 8, _hoisted_30),
9329
9329
  createBaseVNode("div", _hoisted_31, [
9330
- renderSlot(C.$slots, "mobile-under-price")
9330
+ renderSlot(R.$slots, "mobile-under-price")
9331
9331
  ])
9332
9332
  ]),
9333
9333
  unref(b)["mobile-summary"] ? (openBlock(), createElementBlock("div", _hoisted_32, [
9334
- renderSlot(C.$slots, "mobile-summary")
9334
+ renderSlot(R.$slots, "mobile-summary")
9335
9335
  ])) : createCommentVNode("", !0),
9336
9336
  unref(b).navigation ? (openBlock(), createElementBlock("div", _hoisted_33, [
9337
- renderSlot(C.$slots, "navigation"),
9338
- C.prevCallback !== void 0 ? (openBlock(), createBlock(Clickable, {
9337
+ renderSlot(R.$slots, "navigation"),
9338
+ s.prevCallback !== void 0 ? (openBlock(), createBlock(Clickable, {
9339
9339
  key: 0,
9340
9340
  class: "konnectio-abort-reservation",
9341
9341
  label: unref(i)("general.goAStepBack"),
9342
9342
  secondary: "",
9343
- onClickEvent: C.prevCallback
9343
+ onClickEvent: s.prevCallback
9344
9344
  }, null, 8, ["label", "onClickEvent"])) : createCommentVNode("", !0),
9345
- unref(b).actions && C.showTermsNotice ? renderSlot(C.$slots, "actions", { key: 1 }) : createCommentVNode("", !0)
9345
+ unref(b).actions && s.showTermsNotice ? renderSlot(R.$slots, "actions", { key: 1 }) : createCommentVNode("", !0)
9346
9346
  ])) : createCommentVNode("", !0)
9347
9347
  ])
9348
9348
  ])
@@ -9382,10 +9382,10 @@ const _hoisted_1$3 = {
9382
9382
  adults: u,
9383
9383
  children: d,
9384
9384
  offerDate: f,
9385
- totalPrice: _,
9386
- totalVAT: g,
9385
+ totalPrice: p,
9386
+ totalVAT: _,
9387
9387
  subTotalPrice: y
9388
- } = storeToRefs(usePaymentStore()), { currency: p } = storeToRefs(useUtilityStore()), m = useHotelStore();
9388
+ } = storeToRefs(usePaymentStore()), { currency: v } = storeToRefs(useUtilityStore()), m = useHotelStore();
9389
9389
  return (b, P) => (openBlock(), createElementBlock("div", _hoisted_1$2, [
9390
9390
  createBaseVNode("div", _hoisted_2$1, [
9391
9391
  createBaseVNode("h2", _hoisted_3$1, [
@@ -9393,7 +9393,7 @@ const _hoisted_1$3 = {
9393
9393
  ]),
9394
9394
  createBaseVNode("div", {
9395
9395
  id: "konnectio-confirmation-message",
9396
- innerHTML: b.message
9396
+ innerHTML: s.message
9397
9397
  }, null, 8, _hoisted_4$1)
9398
9398
  ]),
9399
9399
  createBaseVNode("div", _hoisted_5$1, [
@@ -9452,22 +9452,22 @@ const _hoisted_1$3 = {
9452
9452
  ]),
9453
9453
  createBaseVNode("tbody", null, [
9454
9454
  (openBlock(!0), createElementBlock(Fragment, null, renderList(unref(e), ({
9455
- productName: v,
9455
+ productName: g,
9456
9456
  quantity: E,
9457
9457
  unitPrice: T,
9458
9458
  totalPrice: O
9459
- }) => (openBlock(), createElementBlock("tr", { key: v }, [
9459
+ }) => (openBlock(), createElementBlock("tr", { key: g }, [
9460
9460
  createBaseVNode("td", null, [
9461
- createBaseVNode("span", null, toDisplayString(v), 1)
9461
+ createBaseVNode("span", null, toDisplayString(g), 1)
9462
9462
  ]),
9463
9463
  createBaseVNode("td", _hoisted_17, [
9464
9464
  createBaseVNode("span", null, toDisplayString(E), 1)
9465
9465
  ]),
9466
9466
  createBaseVNode("td", _hoisted_18, [
9467
- createBaseVNode("span", null, toDisplayString(unref(showPrice)(T, unref(p))), 1)
9467
+ createBaseVNode("span", null, toDisplayString(unref(showPrice)(T, unref(v))), 1)
9468
9468
  ]),
9469
9469
  createBaseVNode("td", null, [
9470
- createBaseVNode("span", null, toDisplayString(unref(showPrice)(O, unref(p))), 1)
9470
+ createBaseVNode("span", null, toDisplayString(unref(showPrice)(O, unref(v))), 1)
9471
9471
  ])
9472
9472
  ]))), 128))
9473
9473
  ])
@@ -9476,15 +9476,15 @@ const _hoisted_1$3 = {
9476
9476
  createBaseVNode("ul", _hoisted_19, [
9477
9477
  unref(y) ? (openBlock(), createElementBlock("li", _hoisted_20, [
9478
9478
  createBaseVNode("span", null, toDisplayString(unref(i)("general.subTotal")), 1),
9479
- createBaseVNode("b", null, toDisplayString(unref(showPrice)(unref(y), unref(p))), 1)
9479
+ createBaseVNode("b", null, toDisplayString(unref(showPrice)(unref(y), unref(v))), 1)
9480
9480
  ])) : createCommentVNode("", !0),
9481
- unref(g) ? (openBlock(), createElementBlock("li", _hoisted_21, [
9481
+ unref(_) ? (openBlock(), createElementBlock("li", _hoisted_21, [
9482
9482
  createBaseVNode("span", null, toDisplayString(unref(i)("general.vat")), 1),
9483
- createBaseVNode("b", null, toDisplayString(unref(showPrice)(unref(g), unref(p))), 1)
9483
+ createBaseVNode("b", null, toDisplayString(unref(showPrice)(unref(_), unref(v))), 1)
9484
9484
  ])) : createCommentVNode("", !0),
9485
- unref(_) ? (openBlock(), createElementBlock("li", _hoisted_22, [
9485
+ unref(p) ? (openBlock(), createElementBlock("li", _hoisted_22, [
9486
9486
  createBaseVNode("span", null, toDisplayString(unref(i)("booking.reservation.totalPrice")), 1),
9487
- createBaseVNode("b", null, toDisplayString(unref(showPrice)(unref(_), unref(p))), 1)
9487
+ createBaseVNode("b", null, toDisplayString(unref(showPrice)(unref(p), unref(v))), 1)
9488
9488
  ])) : createCommentVNode("", !0)
9489
9489
  ])
9490
9490
  ]));
@@ -9572,7 +9572,7 @@ const _hoisted_1$3 = {
9572
9572
  },
9573
9573
  setup(s) {
9574
9574
  return (i, t) => (openBlock(), createElementBlock("div", _hoisted_1, [
9575
- (openBlock(!0), createElementBlock(Fragment, null, renderList(i.amount, (e) => (openBlock(), createBlock(ListingSkeleton, { key: e }))), 128))
9575
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(s.amount, (e) => (openBlock(), createBlock(ListingSkeleton, { key: e }))), 128))
9576
9576
  ]));
9577
9577
  }
9578
9578
  }), Listings = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-dfdb5e6b"]]);
@@ -9805,14 +9805,14 @@ function requireGetSize() {
9805
9805
  (function(i, t) {
9806
9806
  s.exports ? s.exports = t() : i.getSize = t();
9807
9807
  })(window, function() {
9808
- function t(p) {
9809
- var m = parseFloat(p), b = p.indexOf("%") == -1 && !isNaN(m);
9808
+ function t(v) {
9809
+ var m = parseFloat(v), b = v.indexOf("%") == -1 && !isNaN(m);
9810
9810
  return b && m;
9811
9811
  }
9812
9812
  function e() {
9813
9813
  }
9814
- var n = typeof console > "u" ? e : function(p) {
9815
- console.error(p);
9814
+ var n = typeof console > "u" ? e : function(v) {
9815
+ console.error(v);
9816
9816
  }, r = [
9817
9817
  "paddingLeft",
9818
9818
  "paddingRight",
@@ -9828,7 +9828,7 @@ function requireGetSize() {
9828
9828
  "borderBottomWidth"
9829
9829
  ], l = r.length;
9830
9830
  function u() {
9831
- for (var p = {
9831
+ for (var v = {
9832
9832
  width: 0,
9833
9833
  height: 0,
9834
9834
  innerWidth: 0,
@@ -9837,43 +9837,43 @@ function requireGetSize() {
9837
9837
  outerHeight: 0
9838
9838
  }, m = 0; m < l; m++) {
9839
9839
  var b = r[m];
9840
- p[b] = 0;
9840
+ v[b] = 0;
9841
9841
  }
9842
- return p;
9842
+ return v;
9843
9843
  }
9844
- function d(p) {
9845
- var m = getComputedStyle(p);
9844
+ function d(v) {
9845
+ var m = getComputedStyle(v);
9846
9846
  return m || n("Style returned " + m + ". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"), m;
9847
9847
  }
9848
- var f = !1, _;
9849
- function g() {
9848
+ var f = !1, p;
9849
+ function _() {
9850
9850
  if (!f) {
9851
9851
  f = !0;
9852
- var p = document.createElement("div");
9853
- p.style.width = "200px", p.style.padding = "1px 2px 3px 4px", p.style.borderStyle = "solid", p.style.borderWidth = "1px 2px 3px 4px", p.style.boxSizing = "border-box";
9852
+ var v = document.createElement("div");
9853
+ v.style.width = "200px", v.style.padding = "1px 2px 3px 4px", v.style.borderStyle = "solid", v.style.borderWidth = "1px 2px 3px 4px", v.style.boxSizing = "border-box";
9854
9854
  var m = document.body || document.documentElement;
9855
- m.appendChild(p);
9856
- var b = d(p);
9857
- _ = Math.round(t(b.width)) == 200, y.isBoxSizeOuter = _, m.removeChild(p);
9855
+ m.appendChild(v);
9856
+ var b = d(v);
9857
+ p = Math.round(t(b.width)) == 200, y.isBoxSizeOuter = p, m.removeChild(v);
9858
9858
  }
9859
9859
  }
9860
- function y(p) {
9861
- if (g(), typeof p == "string" && (p = document.querySelector(p)), !(!p || typeof p != "object" || !p.nodeType)) {
9862
- var m = d(p);
9860
+ function y(v) {
9861
+ if (_(), typeof v == "string" && (v = document.querySelector(v)), !(!v || typeof v != "object" || !v.nodeType)) {
9862
+ var m = d(v);
9863
9863
  if (m.display == "none")
9864
9864
  return u();
9865
9865
  var b = {};
9866
- b.width = p.offsetWidth, b.height = p.offsetHeight;
9867
- for (var P = b.isBorderBox = m.boxSizing == "border-box", v = 0; v < l; v++) {
9868
- var E = r[v], T = m[E], O = parseFloat(T);
9866
+ b.width = v.offsetWidth, b.height = v.offsetHeight;
9867
+ for (var P = b.isBorderBox = m.boxSizing == "border-box", g = 0; g < l; g++) {
9868
+ var E = r[g], T = m[E], O = parseFloat(T);
9869
9869
  b[E] = isNaN(O) ? 0 : O;
9870
9870
  }
9871
- var S = b.paddingLeft + b.paddingRight, k = b.paddingTop + b.paddingBottom, R = b.marginLeft + b.marginRight, A = b.marginTop + b.marginBottom, C = b.borderLeftWidth + b.borderRightWidth, N = b.borderTopWidth + b.borderBottomWidth, w = P && _, x = t(m.width);
9872
- x !== !1 && (b.width = x + // add padding and border unless it's already including it
9873
- (w ? 0 : S + C));
9871
+ var S = b.paddingLeft + b.paddingRight, C = b.paddingTop + b.paddingBottom, k = b.marginLeft + b.marginRight, A = b.marginTop + b.marginBottom, R = b.borderLeftWidth + b.borderRightWidth, N = b.borderTopWidth + b.borderBottomWidth, w = P && p, I = t(m.width);
9872
+ I !== !1 && (b.width = I + // add padding and border unless it's already including it
9873
+ (w ? 0 : S + R));
9874
9874
  var D = t(m.height);
9875
9875
  return D !== !1 && (b.height = D + // add padding and border unless it's already including it
9876
- (w ? 0 : k + N)), b.innerWidth = b.width - (S + C), b.innerHeight = b.height - (k + N), b.outerWidth = b.width + R, b.outerHeight = b.height + A, b;
9876
+ (w ? 0 : C + N)), b.innerWidth = b.width - (S + R), b.innerHeight = b.height - (C + N), b.outerWidth = b.width + k, b.outerHeight = b.height + A, b;
9877
9877
  }
9878
9878
  }
9879
9879
  return y;
@@ -9947,46 +9947,46 @@ function requireUtils() {
9947
9947
  }, n.filterFindElements = function(u, d) {
9948
9948
  u = n.makeArray(u);
9949
9949
  var f = [];
9950
- return u.forEach(function(_) {
9951
- if (_ instanceof HTMLElement) {
9950
+ return u.forEach(function(p) {
9951
+ if (p instanceof HTMLElement) {
9952
9952
  if (!d) {
9953
- f.push(_);
9953
+ f.push(p);
9954
9954
  return;
9955
9955
  }
9956
- e(_, d) && f.push(_);
9957
- for (var g = _.querySelectorAll(d), y = 0; y < g.length; y++)
9958
- f.push(g[y]);
9956
+ e(p, d) && f.push(p);
9957
+ for (var _ = p.querySelectorAll(d), y = 0; y < _.length; y++)
9958
+ f.push(_[y]);
9959
9959
  }
9960
9960
  }), f;
9961
9961
  }, n.debounceMethod = function(u, d, f) {
9962
9962
  f = f || 100;
9963
- var _ = u.prototype[d], g = d + "Timeout";
9963
+ var p = u.prototype[d], _ = d + "Timeout";
9964
9964
  u.prototype[d] = function() {
9965
- var y = this[g];
9965
+ var y = this[_];
9966
9966
  clearTimeout(y);
9967
- var p = arguments, m = this;
9968
- this[g] = setTimeout(function() {
9969
- _.apply(m, p), delete m[g];
9967
+ var v = arguments, m = this;
9968
+ this[_] = setTimeout(function() {
9969
+ p.apply(m, v), delete m[_];
9970
9970
  }, f);
9971
9971
  };
9972
9972
  }, n.docReady = function(u) {
9973
9973
  var d = document.readyState;
9974
9974
  d == "complete" || d == "interactive" ? setTimeout(u) : document.addEventListener("DOMContentLoaded", u);
9975
9975
  }, n.toDashed = function(u) {
9976
- return u.replace(/(.)([A-Z])/g, function(d, f, _) {
9977
- return f + "-" + _;
9976
+ return u.replace(/(.)([A-Z])/g, function(d, f, p) {
9977
+ return f + "-" + p;
9978
9978
  }).toLowerCase();
9979
9979
  };
9980
9980
  var l = t.console;
9981
9981
  return n.htmlInit = function(u, d) {
9982
9982
  n.docReady(function() {
9983
- var f = n.toDashed(d), _ = "data-" + f, g = document.querySelectorAll("[" + _ + "]"), y = document.querySelectorAll(".js-" + f), p = n.makeArray(g).concat(n.makeArray(y)), m = _ + "-options", b = t.jQuery;
9984
- p.forEach(function(P) {
9985
- var v = P.getAttribute(_) || P.getAttribute(m), E;
9983
+ var f = n.toDashed(d), p = "data-" + f, _ = document.querySelectorAll("[" + p + "]"), y = document.querySelectorAll(".js-" + f), v = n.makeArray(_).concat(n.makeArray(y)), m = p + "-options", b = t.jQuery;
9984
+ v.forEach(function(P) {
9985
+ var g = P.getAttribute(p) || P.getAttribute(m), E;
9986
9986
  try {
9987
- E = v && JSON.parse(v);
9987
+ E = g && JSON.parse(g);
9988
9988
  } catch (O) {
9989
- l && l.error("Error parsing " + _ + " on " + P.className + ": " + O);
9989
+ l && l.error("Error parsing " + p + " on " + P.className + ": " + O);
9990
9990
  return;
9991
9991
  }
9992
9992
  var T = new u(P, E);
@@ -10010,9 +10010,9 @@ function requireItem() {
10010
10010
  ));
10011
10011
  })(window, function(t, e) {
10012
10012
  function n(P) {
10013
- for (var v in P)
10013
+ for (var g in P)
10014
10014
  return !1;
10015
- return v = null, !0;
10015
+ return g = null, !0;
10016
10016
  }
10017
10017
  var r = document.documentElement.style, l = typeof r.transition == "string" ? "transition" : "WebkitTransition", u = typeof r.transform == "string" ? "transform" : "WebkitTransform", d = {
10018
10018
  WebkitTransition: "webkitTransitionEnd",
@@ -10024,14 +10024,14 @@ function requireItem() {
10024
10024
  transitionProperty: l + "Property",
10025
10025
  transitionDelay: l + "Delay"
10026
10026
  };
10027
- function _(P, v) {
10028
- P && (this.element = P, this.layout = v, this.position = {
10027
+ function p(P, g) {
10028
+ P && (this.element = P, this.layout = g, this.position = {
10029
10029
  x: 0,
10030
10030
  y: 0
10031
10031
  }, this._create());
10032
10032
  }
10033
- var g = _.prototype = Object.create(t.prototype);
10034
- g.constructor = _, g._create = function() {
10033
+ var _ = p.prototype = Object.create(t.prototype);
10034
+ _.constructor = p, _._create = function() {
10035
10035
  this._transn = {
10036
10036
  ingProperties: {},
10037
10037
  clean: {},
@@ -10039,121 +10039,121 @@ function requireItem() {
10039
10039
  }, this.css({
10040
10040
  position: "absolute"
10041
10041
  });
10042
- }, g.handleEvent = function(P) {
10043
- var v = "on" + P.type;
10044
- this[v] && this[v](P);
10045
- }, g.getSize = function() {
10042
+ }, _.handleEvent = function(P) {
10043
+ var g = "on" + P.type;
10044
+ this[g] && this[g](P);
10045
+ }, _.getSize = function() {
10046
10046
  this.size = e(this.element);
10047
- }, g.css = function(P) {
10048
- var v = this.element.style;
10047
+ }, _.css = function(P) {
10048
+ var g = this.element.style;
10049
10049
  for (var E in P) {
10050
10050
  var T = f[E] || E;
10051
- v[T] = P[E];
10051
+ g[T] = P[E];
10052
10052
  }
10053
- }, g.getPosition = function() {
10054
- var P = getComputedStyle(this.element), v = this.layout._getOption("originLeft"), E = this.layout._getOption("originTop"), T = P[v ? "left" : "right"], O = P[E ? "top" : "bottom"], S = parseFloat(T), k = parseFloat(O), R = this.layout.size;
10055
- T.indexOf("%") != -1 && (S = S / 100 * R.width), O.indexOf("%") != -1 && (k = k / 100 * R.height), S = isNaN(S) ? 0 : S, k = isNaN(k) ? 0 : k, S -= v ? R.paddingLeft : R.paddingRight, k -= E ? R.paddingTop : R.paddingBottom, this.position.x = S, this.position.y = k;
10056
- }, g.layoutPosition = function() {
10057
- var P = this.layout.size, v = {}, E = this.layout._getOption("originLeft"), T = this.layout._getOption("originTop"), O = E ? "paddingLeft" : "paddingRight", S = E ? "left" : "right", k = E ? "right" : "left", R = this.position.x + P[O];
10058
- v[S] = this.getXValue(R), v[k] = "";
10059
- var A = T ? "paddingTop" : "paddingBottom", C = T ? "top" : "bottom", N = T ? "bottom" : "top", w = this.position.y + P[A];
10060
- v[C] = this.getYValue(w), v[N] = "", this.css(v), this.emitEvent("layout", [this]);
10061
- }, g.getXValue = function(P) {
10062
- var v = this.layout._getOption("horizontal");
10063
- return this.layout.options.percentPosition && !v ? P / this.layout.size.width * 100 + "%" : P + "px";
10064
- }, g.getYValue = function(P) {
10065
- var v = this.layout._getOption("horizontal");
10066
- return this.layout.options.percentPosition && v ? P / this.layout.size.height * 100 + "%" : P + "px";
10067
- }, g._transitionTo = function(P, v) {
10053
+ }, _.getPosition = function() {
10054
+ var P = getComputedStyle(this.element), g = this.layout._getOption("originLeft"), E = this.layout._getOption("originTop"), T = P[g ? "left" : "right"], O = P[E ? "top" : "bottom"], S = parseFloat(T), C = parseFloat(O), k = this.layout.size;
10055
+ T.indexOf("%") != -1 && (S = S / 100 * k.width), O.indexOf("%") != -1 && (C = C / 100 * k.height), S = isNaN(S) ? 0 : S, C = isNaN(C) ? 0 : C, S -= g ? k.paddingLeft : k.paddingRight, C -= E ? k.paddingTop : k.paddingBottom, this.position.x = S, this.position.y = C;
10056
+ }, _.layoutPosition = function() {
10057
+ var P = 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", k = this.position.x + P[O];
10058
+ g[S] = this.getXValue(k), g[C] = "";
10059
+ var A = T ? "paddingTop" : "paddingBottom", R = T ? "top" : "bottom", N = T ? "bottom" : "top", w = this.position.y + P[A];
10060
+ g[R] = this.getYValue(w), g[N] = "", this.css(g), this.emitEvent("layout", [this]);
10061
+ }, _.getXValue = function(P) {
10062
+ var g = this.layout._getOption("horizontal");
10063
+ return this.layout.options.percentPosition && !g ? P / this.layout.size.width * 100 + "%" : P + "px";
10064
+ }, _.getYValue = function(P) {
10065
+ var g = this.layout._getOption("horizontal");
10066
+ return this.layout.options.percentPosition && g ? P / this.layout.size.height * 100 + "%" : P + "px";
10067
+ }, _._transitionTo = function(P, g) {
10068
10068
  this.getPosition();
10069
- var E = this.position.x, T = this.position.y, O = P == this.position.x && v == this.position.y;
10070
- if (this.setPosition(P, v), O && !this.isTransitioning) {
10069
+ var E = this.position.x, T = this.position.y, O = P == this.position.x && g == this.position.y;
10070
+ if (this.setPosition(P, g), O && !this.isTransitioning) {
10071
10071
  this.layoutPosition();
10072
10072
  return;
10073
10073
  }
10074
- var S = P - E, k = v - T, R = {};
10075
- R.transform = this.getTranslate(S, k), this.transition({
10076
- to: R,
10074
+ var S = P - E, C = g - T, k = {};
10075
+ k.transform = this.getTranslate(S, C), this.transition({
10076
+ to: k,
10077
10077
  onTransitionEnd: {
10078
10078
  transform: this.layoutPosition
10079
10079
  },
10080
10080
  isCleaning: !0
10081
10081
  });
10082
- }, g.getTranslate = function(P, v) {
10082
+ }, _.getTranslate = function(P, g) {
10083
10083
  var E = this.layout._getOption("originLeft"), T = this.layout._getOption("originTop");
10084
- return P = E ? P : -P, v = T ? v : -v, "translate3d(" + P + "px, " + v + "px, 0)";
10085
- }, g.goTo = function(P, v) {
10086
- this.setPosition(P, v), this.layoutPosition();
10087
- }, g.moveTo = g._transitionTo, g.setPosition = function(P, v) {
10088
- this.position.x = parseFloat(P), this.position.y = parseFloat(v);
10089
- }, g._nonTransition = function(P) {
10084
+ return P = E ? P : -P, g = T ? g : -g, "translate3d(" + P + "px, " + g + "px, 0)";
10085
+ }, _.goTo = function(P, g) {
10086
+ this.setPosition(P, g), this.layoutPosition();
10087
+ }, _.moveTo = _._transitionTo, _.setPosition = function(P, g) {
10088
+ this.position.x = parseFloat(P), this.position.y = parseFloat(g);
10089
+ }, _._nonTransition = function(P) {
10090
10090
  this.css(P.to), P.isCleaning && this._removeStyles(P.to);
10091
- for (var v in P.onTransitionEnd)
10092
- P.onTransitionEnd[v].call(this);
10093
- }, g.transition = function(P) {
10091
+ for (var g in P.onTransitionEnd)
10092
+ P.onTransitionEnd[g].call(this);
10093
+ }, _.transition = function(P) {
10094
10094
  if (!parseFloat(this.layout.options.transitionDuration)) {
10095
10095
  this._nonTransition(P);
10096
10096
  return;
10097
10097
  }
10098
- var v = this._transn;
10098
+ var g = this._transn;
10099
10099
  for (var E in P.onTransitionEnd)
10100
- v.onEnd[E] = P.onTransitionEnd[E];
10100
+ g.onEnd[E] = P.onTransitionEnd[E];
10101
10101
  for (E in P.to)
10102
- v.ingProperties[E] = !0, P.isCleaning && (v.clean[E] = !0);
10102
+ g.ingProperties[E] = !0, P.isCleaning && (g.clean[E] = !0);
10103
10103
  P.from && (this.css(P.from), this.element.offsetHeight), this.enableTransition(P.to), this.css(P.to), this.isTransitioning = !0;
10104
10104
  };
10105
10105
  function y(P) {
10106
- return P.replace(/([A-Z])/g, function(v) {
10107
- return "-" + v.toLowerCase();
10106
+ return P.replace(/([A-Z])/g, function(g) {
10107
+ return "-" + g.toLowerCase();
10108
10108
  });
10109
10109
  }
10110
- var p = "opacity," + y(u);
10111
- g.enableTransition = function() {
10110
+ var v = "opacity," + y(u);
10111
+ _.enableTransition = function() {
10112
10112
  if (!this.isTransitioning) {
10113
10113
  var P = this.layout.options.transitionDuration;
10114
10114
  P = typeof P == "number" ? P + "ms" : P, this.css({
10115
- transitionProperty: p,
10115
+ transitionProperty: v,
10116
10116
  transitionDuration: P,
10117
10117
  transitionDelay: this.staggerDelay || 0
10118
10118
  }), this.element.addEventListener(d, this, !1);
10119
10119
  }
10120
- }, g.onwebkitTransitionEnd = function(P) {
10120
+ }, _.onwebkitTransitionEnd = function(P) {
10121
10121
  this.ontransitionend(P);
10122
- }, g.onotransitionend = function(P) {
10122
+ }, _.onotransitionend = function(P) {
10123
10123
  this.ontransitionend(P);
10124
10124
  };
10125
10125
  var m = {
10126
10126
  "-webkit-transform": "transform"
10127
10127
  };
10128
- g.ontransitionend = function(P) {
10128
+ _.ontransitionend = function(P) {
10129
10129
  if (P.target === this.element) {
10130
- var v = this._transn, E = m[P.propertyName] || P.propertyName;
10131
- if (delete v.ingProperties[E], n(v.ingProperties) && this.disableTransition(), E in v.clean && (this.element.style[P.propertyName] = "", delete v.clean[E]), E in v.onEnd) {
10132
- var T = v.onEnd[E];
10133
- T.call(this), delete v.onEnd[E];
10130
+ var g = this._transn, E = m[P.propertyName] || P.propertyName;
10131
+ if (delete g.ingProperties[E], n(g.ingProperties) && this.disableTransition(), E in g.clean && (this.element.style[P.propertyName] = "", delete g.clean[E]), E in g.onEnd) {
10132
+ var T = g.onEnd[E];
10133
+ T.call(this), delete g.onEnd[E];
10134
10134
  }
10135
10135
  this.emitEvent("transitionEnd", [this]);
10136
10136
  }
10137
- }, g.disableTransition = function() {
10137
+ }, _.disableTransition = function() {
10138
10138
  this.removeTransitionStyles(), this.element.removeEventListener(d, this, !1), this.isTransitioning = !1;
10139
- }, g._removeStyles = function(P) {
10140
- var v = {};
10139
+ }, _._removeStyles = function(P) {
10140
+ var g = {};
10141
10141
  for (var E in P)
10142
- v[E] = "";
10143
- this.css(v);
10142
+ g[E] = "";
10143
+ this.css(g);
10144
10144
  };
10145
10145
  var b = {
10146
10146
  transitionProperty: "",
10147
10147
  transitionDuration: "",
10148
10148
  transitionDelay: ""
10149
10149
  };
10150
- return g.removeTransitionStyles = function() {
10150
+ return _.removeTransitionStyles = function() {
10151
10151
  this.css(b);
10152
- }, g.stagger = function(P) {
10152
+ }, _.stagger = function(P) {
10153
10153
  P = isNaN(P) ? 0 : P, this.staggerDelay = P + "ms";
10154
- }, g.removeElem = function() {
10154
+ }, _.removeElem = function() {
10155
10155
  this.element.parentNode.removeChild(this.element), this.css({ display: "" }), this.emitEvent("remove", [this]);
10156
- }, g.remove = function() {
10156
+ }, _.remove = function() {
10157
10157
  if (!parseFloat(this.layout.options.transitionDuration)) {
10158
10158
  this.removeElem();
10159
10159
  return;
@@ -10161,36 +10161,36 @@ function requireItem() {
10161
10161
  this.once("transitionEnd", function() {
10162
10162
  this.removeElem();
10163
10163
  }), this.hide();
10164
- }, g.reveal = function() {
10164
+ }, _.reveal = function() {
10165
10165
  delete this.isHidden, this.css({ display: "" });
10166
- var P = this.layout.options, v = {}, E = this.getHideRevealTransitionEndProperty("visibleStyle");
10167
- v[E] = this.onRevealTransitionEnd, this.transition({
10166
+ var P = this.layout.options, g = {}, E = this.getHideRevealTransitionEndProperty("visibleStyle");
10167
+ g[E] = this.onRevealTransitionEnd, this.transition({
10168
10168
  from: P.hiddenStyle,
10169
10169
  to: P.visibleStyle,
10170
10170
  isCleaning: !0,
10171
- onTransitionEnd: v
10171
+ onTransitionEnd: g
10172
10172
  });
10173
- }, g.onRevealTransitionEnd = function() {
10173
+ }, _.onRevealTransitionEnd = function() {
10174
10174
  this.isHidden || this.emitEvent("reveal");
10175
- }, g.getHideRevealTransitionEndProperty = function(P) {
10176
- var v = this.layout.options[P];
10177
- if (v.opacity)
10175
+ }, _.getHideRevealTransitionEndProperty = function(P) {
10176
+ var g = this.layout.options[P];
10177
+ if (g.opacity)
10178
10178
  return "opacity";
10179
- for (var E in v)
10179
+ for (var E in g)
10180
10180
  return E;
10181
- }, g.hide = function() {
10181
+ }, _.hide = function() {
10182
10182
  this.isHidden = !0, this.css({ display: "" });
10183
- var P = this.layout.options, v = {}, E = this.getHideRevealTransitionEndProperty("hiddenStyle");
10184
- v[E] = this.onHideTransitionEnd, this.transition({
10183
+ var P = this.layout.options, g = {}, E = this.getHideRevealTransitionEndProperty("hiddenStyle");
10184
+ g[E] = this.onHideTransitionEnd, this.transition({
10185
10185
  from: P.visibleStyle,
10186
10186
  to: P.hiddenStyle,
10187
10187
  // keep hidden stuff hidden
10188
10188
  isCleaning: !0,
10189
- onTransitionEnd: v
10189
+ onTransitionEnd: g
10190
10190
  });
10191
- }, g.onHideTransitionEnd = function() {
10191
+ }, _.onHideTransitionEnd = function() {
10192
10192
  this.isHidden && (this.css({ display: "none" }), this.emitEvent("hide"));
10193
- }, g.destroy = function() {
10193
+ }, _.destroy = function() {
10194
10194
  this.css({
10195
10195
  position: "",
10196
10196
  left: "",
@@ -10200,7 +10200,7 @@ function requireItem() {
10200
10200
  transition: "",
10201
10201
  transform: ""
10202
10202
  });
10203
- }, _;
10203
+ }, p;
10204
10204
  });
10205
10205
  }(item)), item.exports;
10206
10206
  }
@@ -10228,16 +10228,16 @@ function requireOutlayer() {
10228
10228
  );
10229
10229
  })(window, function(t, e, n, r, l) {
10230
10230
  var u = t.console, d = t.jQuery, f = function() {
10231
- }, _ = 0, g = {};
10232
- function y(v, E) {
10233
- var T = r.getQueryElement(v);
10231
+ }, p = 0, _ = {};
10232
+ function y(g, E) {
10233
+ var T = r.getQueryElement(g);
10234
10234
  if (!T) {
10235
- u && u.error("Bad element for " + this.constructor.namespace + ": " + (T || v));
10235
+ u && u.error("Bad element for " + this.constructor.namespace + ": " + (T || g));
10236
10236
  return;
10237
10237
  }
10238
10238
  this.element = T, d && (this.$element = d(this.element)), this.options = r.extend({}, this.constructor.defaults), this.option(E);
10239
- var O = ++_;
10240
- this.element.outlayerGUID = O, g[O] = this, this._create();
10239
+ var O = ++p;
10240
+ this.element.outlayerGUID = O, _[O] = this, this._create();
10241
10241
  var S = this._getOption("initLayout");
10242
10242
  S && this.layout();
10243
10243
  }
@@ -10261,12 +10261,12 @@ function requireOutlayer() {
10261
10261
  transform: "scale(1)"
10262
10262
  }
10263
10263
  };
10264
- var p = y.prototype;
10265
- r.extend(p, e.prototype), p.option = function(v) {
10266
- r.extend(this.options, v);
10267
- }, p._getOption = function(v) {
10268
- var E = this.constructor.compatOptions[v];
10269
- return E && this.options[E] !== void 0 ? this.options[E] : this.options[v];
10264
+ var v = y.prototype;
10265
+ r.extend(v, e.prototype), v.option = function(g) {
10266
+ r.extend(this.options, g);
10267
+ }, v._getOption = function(g) {
10268
+ var E = this.constructor.compatOptions[g];
10269
+ return E && this.options[E] !== void 0 ? this.options[E] : this.options[g];
10270
10270
  }, y.compatOptions = {
10271
10271
  // currentName: oldName
10272
10272
  initLayout: "isInitLayout",
@@ -10276,228 +10276,228 @@ function requireOutlayer() {
10276
10276
  originTop: "isOriginTop",
10277
10277
  resize: "isResizeBound",
10278
10278
  resizeContainer: "isResizingContainer"
10279
- }, p._create = function() {
10279
+ }, v._create = function() {
10280
10280
  this.reloadItems(), this.stamps = [], this.stamp(this.options.stamp), r.extend(this.element.style, this.options.containerStyle);
10281
- var v = this._getOption("resize");
10282
- v && this.bindResize();
10283
- }, p.reloadItems = function() {
10281
+ var g = this._getOption("resize");
10282
+ g && this.bindResize();
10283
+ }, v.reloadItems = function() {
10284
10284
  this.items = this._itemize(this.element.children);
10285
- }, p._itemize = function(v) {
10286
- for (var E = this._filterFindItemElements(v), T = this.constructor.Item, O = [], S = 0; S < E.length; S++) {
10287
- var k = E[S], R = new T(k, this);
10288
- O.push(R);
10285
+ }, v._itemize = function(g) {
10286
+ for (var E = this._filterFindItemElements(g), T = this.constructor.Item, O = [], S = 0; S < E.length; S++) {
10287
+ var C = E[S], k = new T(C, this);
10288
+ O.push(k);
10289
10289
  }
10290
10290
  return O;
10291
- }, p._filterFindItemElements = function(v) {
10292
- return r.filterFindElements(v, this.options.itemSelector);
10293
- }, p.getItemElements = function() {
10294
- return this.items.map(function(v) {
10295
- return v.element;
10291
+ }, v._filterFindItemElements = function(g) {
10292
+ return r.filterFindElements(g, this.options.itemSelector);
10293
+ }, v.getItemElements = function() {
10294
+ return this.items.map(function(g) {
10295
+ return g.element;
10296
10296
  });
10297
- }, p.layout = function() {
10297
+ }, v.layout = function() {
10298
10298
  this._resetLayout(), this._manageStamps();
10299
- var v = this._getOption("layoutInstant"), E = v !== void 0 ? v : !this._isLayoutInited;
10299
+ var g = this._getOption("layoutInstant"), E = g !== void 0 ? g : !this._isLayoutInited;
10300
10300
  this.layoutItems(this.items, E), this._isLayoutInited = !0;
10301
- }, p._init = p.layout, p._resetLayout = function() {
10301
+ }, v._init = v.layout, v._resetLayout = function() {
10302
10302
  this.getSize();
10303
- }, p.getSize = function() {
10303
+ }, v.getSize = function() {
10304
10304
  this.size = n(this.element);
10305
- }, p._getMeasurement = function(v, E) {
10306
- var T = this.options[v], O;
10307
- T ? (typeof T == "string" ? O = this.element.querySelector(T) : T instanceof HTMLElement && (O = T), this[v] = O ? n(O)[E] : T) : this[v] = 0;
10308
- }, p.layoutItems = function(v, E) {
10309
- v = this._getItemsForLayout(v), this._layoutItems(v, E), this._postLayout();
10310
- }, p._getItemsForLayout = function(v) {
10311
- return v.filter(function(E) {
10305
+ }, v._getMeasurement = function(g, E) {
10306
+ var T = this.options[g], O;
10307
+ T ? (typeof T == "string" ? O = this.element.querySelector(T) : T instanceof HTMLElement && (O = T), this[g] = O ? n(O)[E] : T) : this[g] = 0;
10308
+ }, v.layoutItems = function(g, E) {
10309
+ g = this._getItemsForLayout(g), this._layoutItems(g, E), this._postLayout();
10310
+ }, v._getItemsForLayout = function(g) {
10311
+ return g.filter(function(E) {
10312
10312
  return !E.isIgnored;
10313
10313
  });
10314
- }, p._layoutItems = function(v, E) {
10315
- if (this._emitCompleteOnItems("layout", v), !(!v || !v.length)) {
10314
+ }, v._layoutItems = function(g, E) {
10315
+ if (this._emitCompleteOnItems("layout", g), !(!g || !g.length)) {
10316
10316
  var T = [];
10317
- v.forEach(function(O) {
10317
+ g.forEach(function(O) {
10318
10318
  var S = this._getItemLayoutPosition(O);
10319
10319
  S.item = O, S.isInstant = E || O.isLayoutInstant, T.push(S);
10320
10320
  }, this), this._processLayoutQueue(T);
10321
10321
  }
10322
- }, p._getItemLayoutPosition = function() {
10322
+ }, v._getItemLayoutPosition = function() {
10323
10323
  return {
10324
10324
  x: 0,
10325
10325
  y: 0
10326
10326
  };
10327
- }, p._processLayoutQueue = function(v) {
10328
- this.updateStagger(), v.forEach(function(E, T) {
10327
+ }, v._processLayoutQueue = function(g) {
10328
+ this.updateStagger(), g.forEach(function(E, T) {
10329
10329
  this._positionItem(E.item, E.x, E.y, E.isInstant, T);
10330
10330
  }, this);
10331
- }, p.updateStagger = function() {
10332
- var v = this.options.stagger;
10333
- if (v == null) {
10331
+ }, v.updateStagger = function() {
10332
+ var g = this.options.stagger;
10333
+ if (g == null) {
10334
10334
  this.stagger = 0;
10335
10335
  return;
10336
10336
  }
10337
- return this.stagger = P(v), this.stagger;
10338
- }, p._positionItem = function(v, E, T, O, S) {
10339
- O ? v.goTo(E, T) : (v.stagger(S * this.stagger), v.moveTo(E, T));
10340
- }, p._postLayout = function() {
10337
+ return this.stagger = P(g), this.stagger;
10338
+ }, v._positionItem = function(g, E, T, O, S) {
10339
+ O ? g.goTo(E, T) : (g.stagger(S * this.stagger), g.moveTo(E, T));
10340
+ }, v._postLayout = function() {
10341
10341
  this.resizeContainer();
10342
- }, p.resizeContainer = function() {
10343
- var v = this._getOption("resizeContainer");
10344
- if (v) {
10342
+ }, v.resizeContainer = function() {
10343
+ var g = this._getOption("resizeContainer");
10344
+ if (g) {
10345
10345
  var E = this._getContainerSize();
10346
10346
  E && (this._setContainerMeasure(E.width, !0), this._setContainerMeasure(E.height, !1));
10347
10347
  }
10348
- }, p._getContainerSize = f, p._setContainerMeasure = function(v, E) {
10349
- if (v !== void 0) {
10348
+ }, v._getContainerSize = f, v._setContainerMeasure = function(g, E) {
10349
+ if (g !== void 0) {
10350
10350
  var T = this.size;
10351
- T.isBorderBox && (v += E ? T.paddingLeft + T.paddingRight + T.borderLeftWidth + T.borderRightWidth : T.paddingBottom + T.paddingTop + T.borderTopWidth + T.borderBottomWidth), v = Math.max(v, 0), this.element.style[E ? "width" : "height"] = v + "px";
10351
+ 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";
10352
10352
  }
10353
- }, p._emitCompleteOnItems = function(v, E) {
10353
+ }, v._emitCompleteOnItems = function(g, E) {
10354
10354
  var T = this;
10355
10355
  function O() {
10356
- T.dispatchEvent(v + "Complete", null, [E]);
10356
+ T.dispatchEvent(g + "Complete", null, [E]);
10357
10357
  }
10358
10358
  var S = E.length;
10359
10359
  if (!E || !S) {
10360
10360
  O();
10361
10361
  return;
10362
10362
  }
10363
- var k = 0;
10364
- function R() {
10365
- k++, k == S && O();
10363
+ var C = 0;
10364
+ function k() {
10365
+ C++, C == S && O();
10366
10366
  }
10367
10367
  E.forEach(function(A) {
10368
- A.once(v, R);
10368
+ A.once(g, k);
10369
10369
  });
10370
- }, p.dispatchEvent = function(v, E, T) {
10370
+ }, v.dispatchEvent = function(g, E, T) {
10371
10371
  var O = E ? [E].concat(T) : T;
10372
- if (this.emitEvent(v, O), d)
10372
+ if (this.emitEvent(g, O), d)
10373
10373
  if (this.$element = this.$element || d(this.element), E) {
10374
10374
  var S = d.Event(E);
10375
- S.type = v, this.$element.trigger(S, T);
10375
+ S.type = g, this.$element.trigger(S, T);
10376
10376
  } else
10377
- this.$element.trigger(v, T);
10378
- }, p.ignore = function(v) {
10379
- var E = this.getItem(v);
10377
+ this.$element.trigger(g, T);
10378
+ }, v.ignore = function(g) {
10379
+ var E = this.getItem(g);
10380
10380
  E && (E.isIgnored = !0);
10381
- }, p.unignore = function(v) {
10382
- var E = this.getItem(v);
10381
+ }, v.unignore = function(g) {
10382
+ var E = this.getItem(g);
10383
10383
  E && delete E.isIgnored;
10384
- }, p.stamp = function(v) {
10385
- v = this._find(v), v && (this.stamps = this.stamps.concat(v), v.forEach(this.ignore, this));
10386
- }, p.unstamp = function(v) {
10387
- v = this._find(v), v && v.forEach(function(E) {
10384
+ }, v.stamp = function(g) {
10385
+ g = this._find(g), g && (this.stamps = this.stamps.concat(g), g.forEach(this.ignore, this));
10386
+ }, v.unstamp = function(g) {
10387
+ g = this._find(g), g && g.forEach(function(E) {
10388
10388
  r.removeFrom(this.stamps, E), this.unignore(E);
10389
10389
  }, this);
10390
- }, p._find = function(v) {
10391
- if (v)
10392
- return typeof v == "string" && (v = this.element.querySelectorAll(v)), v = r.makeArray(v), v;
10393
- }, p._manageStamps = function() {
10390
+ }, v._find = function(g) {
10391
+ if (g)
10392
+ return typeof g == "string" && (g = this.element.querySelectorAll(g)), g = r.makeArray(g), g;
10393
+ }, v._manageStamps = function() {
10394
10394
  !this.stamps || !this.stamps.length || (this._getBoundingRect(), this.stamps.forEach(this._manageStamp, this));
10395
- }, p._getBoundingRect = function() {
10396
- var v = this.element.getBoundingClientRect(), E = this.size;
10395
+ }, v._getBoundingRect = function() {
10396
+ var g = this.element.getBoundingClientRect(), E = this.size;
10397
10397
  this._boundingRect = {
10398
- left: v.left + E.paddingLeft + E.borderLeftWidth,
10399
- top: v.top + E.paddingTop + E.borderTopWidth,
10400
- right: v.right - (E.paddingRight + E.borderRightWidth),
10401
- bottom: v.bottom - (E.paddingBottom + E.borderBottomWidth)
10398
+ left: g.left + E.paddingLeft + E.borderLeftWidth,
10399
+ top: g.top + E.paddingTop + E.borderTopWidth,
10400
+ right: g.right - (E.paddingRight + E.borderRightWidth),
10401
+ bottom: g.bottom - (E.paddingBottom + E.borderBottomWidth)
10402
10402
  };
10403
- }, p._manageStamp = f, p._getElementOffset = function(v) {
10404
- var E = v.getBoundingClientRect(), T = this._boundingRect, O = n(v), S = {
10403
+ }, v._manageStamp = f, v._getElementOffset = function(g) {
10404
+ var E = g.getBoundingClientRect(), T = this._boundingRect, O = n(g), S = {
10405
10405
  left: E.left - T.left - O.marginLeft,
10406
10406
  top: E.top - T.top - O.marginTop,
10407
10407
  right: T.right - E.right - O.marginRight,
10408
10408
  bottom: T.bottom - E.bottom - O.marginBottom
10409
10409
  };
10410
10410
  return S;
10411
- }, p.handleEvent = r.handleEvent, p.bindResize = function() {
10411
+ }, v.handleEvent = r.handleEvent, v.bindResize = function() {
10412
10412
  t.addEventListener("resize", this), this.isResizeBound = !0;
10413
- }, p.unbindResize = function() {
10413
+ }, v.unbindResize = function() {
10414
10414
  t.removeEventListener("resize", this), this.isResizeBound = !1;
10415
- }, p.onresize = function() {
10415
+ }, v.onresize = function() {
10416
10416
  this.resize();
10417
- }, r.debounceMethod(y, "onresize", 100), p.resize = function() {
10417
+ }, r.debounceMethod(y, "onresize", 100), v.resize = function() {
10418
10418
  !this.isResizeBound || !this.needsResizeLayout() || this.layout();
10419
- }, p.needsResizeLayout = function() {
10420
- var v = n(this.element), E = this.size && v;
10421
- return E && v.innerWidth !== this.size.innerWidth;
10422
- }, p.addItems = function(v) {
10423
- var E = this._itemize(v);
10419
+ }, v.needsResizeLayout = function() {
10420
+ var g = n(this.element), E = this.size && g;
10421
+ return E && g.innerWidth !== this.size.innerWidth;
10422
+ }, v.addItems = function(g) {
10423
+ var E = this._itemize(g);
10424
10424
  return E.length && (this.items = this.items.concat(E)), E;
10425
- }, p.appended = function(v) {
10426
- var E = this.addItems(v);
10425
+ }, v.appended = function(g) {
10426
+ var E = this.addItems(g);
10427
10427
  E.length && (this.layoutItems(E, !0), this.reveal(E));
10428
- }, p.prepended = function(v) {
10429
- var E = this._itemize(v);
10428
+ }, v.prepended = function(g) {
10429
+ var E = this._itemize(g);
10430
10430
  if (E.length) {
10431
10431
  var T = this.items.slice(0);
10432
10432
  this.items = E.concat(T), this._resetLayout(), this._manageStamps(), this.layoutItems(E, !0), this.reveal(E), this.layoutItems(T);
10433
10433
  }
10434
- }, p.reveal = function(v) {
10435
- if (this._emitCompleteOnItems("reveal", v), !(!v || !v.length)) {
10434
+ }, v.reveal = function(g) {
10435
+ if (this._emitCompleteOnItems("reveal", g), !(!g || !g.length)) {
10436
10436
  var E = this.updateStagger();
10437
- v.forEach(function(T, O) {
10437
+ g.forEach(function(T, O) {
10438
10438
  T.stagger(O * E), T.reveal();
10439
10439
  });
10440
10440
  }
10441
- }, p.hide = function(v) {
10442
- if (this._emitCompleteOnItems("hide", v), !(!v || !v.length)) {
10441
+ }, v.hide = function(g) {
10442
+ if (this._emitCompleteOnItems("hide", g), !(!g || !g.length)) {
10443
10443
  var E = this.updateStagger();
10444
- v.forEach(function(T, O) {
10444
+ g.forEach(function(T, O) {
10445
10445
  T.stagger(O * E), T.hide();
10446
10446
  });
10447
10447
  }
10448
- }, p.revealItemElements = function(v) {
10449
- var E = this.getItems(v);
10448
+ }, v.revealItemElements = function(g) {
10449
+ var E = this.getItems(g);
10450
10450
  this.reveal(E);
10451
- }, p.hideItemElements = function(v) {
10452
- var E = this.getItems(v);
10451
+ }, v.hideItemElements = function(g) {
10452
+ var E = this.getItems(g);
10453
10453
  this.hide(E);
10454
- }, p.getItem = function(v) {
10454
+ }, v.getItem = function(g) {
10455
10455
  for (var E = 0; E < this.items.length; E++) {
10456
10456
  var T = this.items[E];
10457
- if (T.element == v)
10457
+ if (T.element == g)
10458
10458
  return T;
10459
10459
  }
10460
- }, p.getItems = function(v) {
10461
- v = r.makeArray(v);
10460
+ }, v.getItems = function(g) {
10461
+ g = r.makeArray(g);
10462
10462
  var E = [];
10463
- return v.forEach(function(T) {
10463
+ return g.forEach(function(T) {
10464
10464
  var O = this.getItem(T);
10465
10465
  O && E.push(O);
10466
10466
  }, this), E;
10467
- }, p.remove = function(v) {
10468
- var E = this.getItems(v);
10467
+ }, v.remove = function(g) {
10468
+ var E = this.getItems(g);
10469
10469
  this._emitCompleteOnItems("remove", E), !(!E || !E.length) && E.forEach(function(T) {
10470
10470
  T.remove(), r.removeFrom(this.items, T);
10471
10471
  }, this);
10472
- }, p.destroy = function() {
10473
- var v = this.element.style;
10474
- v.height = "", v.position = "", v.width = "", this.items.forEach(function(T) {
10472
+ }, v.destroy = function() {
10473
+ var g = this.element.style;
10474
+ g.height = "", g.position = "", g.width = "", this.items.forEach(function(T) {
10475
10475
  T.destroy();
10476
10476
  }), this.unbindResize();
10477
10477
  var E = this.element.outlayerGUID;
10478
- delete g[E], delete this.element.outlayerGUID, d && d.removeData(this.element, this.constructor.namespace);
10479
- }, y.data = function(v) {
10480
- v = r.getQueryElement(v);
10481
- var E = v && v.outlayerGUID;
10482
- return E && g[E];
10483
- }, y.create = function(v, E) {
10478
+ delete _[E], delete this.element.outlayerGUID, d && d.removeData(this.element, this.constructor.namespace);
10479
+ }, y.data = function(g) {
10480
+ g = r.getQueryElement(g);
10481
+ var E = g && g.outlayerGUID;
10482
+ return E && _[E];
10483
+ }, y.create = function(g, E) {
10484
10484
  var T = m(y);
10485
- return T.defaults = r.extend({}, y.defaults), r.extend(T.defaults, E), T.compatOptions = r.extend({}, y.compatOptions), T.namespace = v, T.data = y.data, T.Item = m(l), r.htmlInit(T, v), d && d.bridget && d.bridget(v, T), T;
10485
+ return T.defaults = r.extend({}, y.defaults), r.extend(T.defaults, E), T.compatOptions = r.extend({}, y.compatOptions), T.namespace = g, T.data = y.data, T.Item = m(l), r.htmlInit(T, g), d && d.bridget && d.bridget(g, T), T;
10486
10486
  };
10487
- function m(v) {
10487
+ function m(g) {
10488
10488
  function E() {
10489
- v.apply(this, arguments);
10489
+ g.apply(this, arguments);
10490
10490
  }
10491
- return E.prototype = Object.create(v.prototype), E.prototype.constructor = E, E;
10491
+ return E.prototype = Object.create(g.prototype), E.prototype.constructor = E, E;
10492
10492
  }
10493
10493
  var b = {
10494
10494
  ms: 1,
10495
10495
  s: 1e3
10496
10496
  };
10497
- function P(v) {
10498
- if (typeof v == "number")
10499
- return v;
10500
- var E = v.match(/(^\d*\.?\d*)(\w*)/), T = E && E[1], O = E && E[2];
10497
+ function P(g) {
10498
+ if (typeof g == "number")
10499
+ return g;
10500
+ var E = g.match(/(^\d*\.?\d*)(\w*)/), T = E && E[1], O = E && E[2];
10501
10501
  if (!T.length)
10502
10502
  return 0;
10503
10503
  T = parseFloat(T);
@@ -10541,8 +10541,8 @@ function requireMasonry() {
10541
10541
  this.columnWidth = u && e(u).outerWidth || // if first elem has no width, default to size of container
10542
10542
  this.containerWidth;
10543
10543
  }
10544
- var d = this.columnWidth += this.gutter, f = this.containerWidth + this.gutter, _ = f / d, g = d - f % d, y = g && g < 1 ? "round" : "floor";
10545
- _ = Math[y](_), this.cols = Math.max(_, 1);
10544
+ var d = this.columnWidth += this.gutter, f = this.containerWidth + this.gutter, p = f / d, _ = d - f % d, y = _ && _ < 1 ? "round" : "floor";
10545
+ p = Math[y](p), this.cols = Math.max(p, 1);
10546
10546
  }, r.getContainerWidth = function() {
10547
10547
  var l = this._getOption("fitWidth"), u = l ? this.element.parentNode : this.element, d = e(u);
10548
10548
  this.containerWidth = d && d.innerWidth;
@@ -10550,11 +10550,11 @@ function requireMasonry() {
10550
10550
  l.getSize();
10551
10551
  var u = l.size.outerWidth % this.columnWidth, d = u && u < 1 ? "round" : "ceil", f = Math[d](l.size.outerWidth / this.columnWidth);
10552
10552
  f = Math.min(f, this.cols);
10553
- for (var _ = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", g = this[_](f, l), y = {
10554
- x: this.columnWidth * g.col,
10555
- y: g.y
10556
- }, p = g.y + l.size.outerHeight, m = f + g.col, b = g.col; b < m; b++)
10557
- this.colYs[b] = p;
10553
+ for (var p = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", _ = this[p](f, l), y = {
10554
+ x: this.columnWidth * _.col,
10555
+ y: _.y
10556
+ }, v = _.y + l.size.outerHeight, m = f + _.col, b = _.col; b < m; b++)
10557
+ this.colYs[b] = v;
10558
10558
  return y;
10559
10559
  }, r._getTopColPosition = function(l) {
10560
10560
  var u = this._getTopColGroup(l), d = Math.min.apply(Math, u);
@@ -10576,17 +10576,17 @@ function requireMasonry() {
10576
10576
  }, r._getHorizontalColPosition = function(l, u) {
10577
10577
  var d = this.horizontalColIndex % this.cols, f = l > 1 && d + l > this.cols;
10578
10578
  d = f ? 0 : d;
10579
- var _ = u.size.outerWidth && u.size.outerHeight;
10580
- return this.horizontalColIndex = _ ? d + l : this.horizontalColIndex, {
10579
+ var p = u.size.outerWidth && u.size.outerHeight;
10580
+ return this.horizontalColIndex = p ? d + l : this.horizontalColIndex, {
10581
10581
  col: d,
10582
10582
  y: this._getColGroupY(d, l)
10583
10583
  };
10584
10584
  }, r._manageStamp = function(l) {
10585
- var u = e(l), d = this._getElementOffset(l), f = this._getOption("originLeft"), _ = f ? d.left : d.right, g = _ + u.outerWidth, y = Math.floor(_ / this.columnWidth);
10585
+ var u = e(l), d = this._getElementOffset(l), f = this._getOption("originLeft"), p = f ? d.left : d.right, _ = p + u.outerWidth, y = Math.floor(p / this.columnWidth);
10586
10586
  y = Math.max(0, y);
10587
- var p = Math.floor(g / this.columnWidth);
10588
- p -= g % this.columnWidth ? 0 : 1, p = Math.min(this.cols - 1, p);
10589
- for (var m = this._getOption("originTop"), b = (m ? d.top : d.bottom) + u.outerHeight, P = y; P <= p; P++)
10587
+ var v = Math.floor(_ / this.columnWidth);
10588
+ v -= _ % this.columnWidth ? 0 : 1, v = Math.min(this.cols - 1, v);
10589
+ for (var m = this._getOption("originTop"), b = (m ? d.top : d.bottom) + u.outerHeight, P = y; P <= v; P++)
10590
10590
  this.colYs[P] = Math.max(b, this.colYs[P]);
10591
10591
  }, r._getContainerSize = function() {
10592
10592
  this.maxY = Math.max.apply(Math, this.colYs);
@@ -10629,40 +10629,40 @@ function requireImagesloaded() {
10629
10629
  // -------------------------- factory -------------------------- //
10630
10630
  function(t, e) {
10631
10631
  var n = t.jQuery, r = t.console;
10632
- function l(p, m) {
10632
+ function l(v, m) {
10633
10633
  for (var b in m)
10634
- p[b] = m[b];
10635
- return p;
10634
+ v[b] = m[b];
10635
+ return v;
10636
10636
  }
10637
10637
  var u = Array.prototype.slice;
10638
- function d(p) {
10639
- if (Array.isArray(p))
10640
- return p;
10641
- var m = typeof p == "object" && typeof p.length == "number";
10642
- return m ? u.call(p) : [p];
10638
+ function d(v) {
10639
+ if (Array.isArray(v))
10640
+ return v;
10641
+ var m = typeof v == "object" && typeof v.length == "number";
10642
+ return m ? u.call(v) : [v];
10643
10643
  }
10644
- function f(p, m, b) {
10644
+ function f(v, m, b) {
10645
10645
  if (!(this instanceof f))
10646
- return new f(p, m, b);
10647
- var P = p;
10648
- if (typeof p == "string" && (P = document.querySelectorAll(p)), !P) {
10649
- r.error("Bad element for imagesLoaded " + (P || p));
10646
+ return new f(v, m, b);
10647
+ var P = v;
10648
+ if (typeof v == "string" && (P = document.querySelectorAll(v)), !P) {
10649
+ r.error("Bad element for imagesLoaded " + (P || v));
10650
10650
  return;
10651
10651
  }
10652
10652
  this.elements = d(P), this.options = l({}, this.options), typeof m == "function" ? b = m : l(this.options, m), b && this.on("always", b), this.getImages(), n && (this.jqDeferred = new n.Deferred()), setTimeout(this.check.bind(this));
10653
10653
  }
10654
10654
  f.prototype = Object.create(e.prototype), f.prototype.options = {}, f.prototype.getImages = function() {
10655
10655
  this.images = [], this.elements.forEach(this.addElementImages, this);
10656
- }, f.prototype.addElementImages = function(p) {
10657
- p.nodeName == "IMG" && this.addImage(p), this.options.background === !0 && this.addElementBackgroundImages(p);
10658
- var m = p.nodeType;
10659
- if (!(!m || !_[m])) {
10660
- for (var b = p.querySelectorAll("img"), P = 0; P < b.length; P++) {
10661
- var v = b[P];
10662
- this.addImage(v);
10656
+ }, f.prototype.addElementImages = function(v) {
10657
+ v.nodeName == "IMG" && this.addImage(v), this.options.background === !0 && this.addElementBackgroundImages(v);
10658
+ var m = v.nodeType;
10659
+ if (!(!m || !p[m])) {
10660
+ for (var b = v.querySelectorAll("img"), P = 0; P < b.length; P++) {
10661
+ var g = b[P];
10662
+ this.addImage(g);
10663
10663
  }
10664
10664
  if (typeof this.options.background == "string") {
10665
- var E = p.querySelectorAll(this.options.background);
10665
+ var E = v.querySelectorAll(this.options.background);
10666
10666
  for (P = 0; P < E.length; P++) {
10667
10667
  var T = E[P];
10668
10668
  this.addElementBackgroundImages(T);
@@ -10670,84 +10670,84 @@ function requireImagesloaded() {
10670
10670
  }
10671
10671
  }
10672
10672
  };
10673
- var _ = {
10673
+ var p = {
10674
10674
  1: !0,
10675
10675
  9: !0,
10676
10676
  11: !0
10677
10677
  };
10678
- f.prototype.addElementBackgroundImages = function(p) {
10679
- var m = getComputedStyle(p);
10678
+ f.prototype.addElementBackgroundImages = function(v) {
10679
+ var m = getComputedStyle(v);
10680
10680
  if (m)
10681
10681
  for (var b = /url\((['"])?(.*?)\1\)/gi, P = b.exec(m.backgroundImage); P !== null; ) {
10682
- var v = P && P[2];
10683
- v && this.addBackground(v, p), P = b.exec(m.backgroundImage);
10682
+ var g = P && P[2];
10683
+ g && this.addBackground(g, v), P = b.exec(m.backgroundImage);
10684
10684
  }
10685
- }, f.prototype.addImage = function(p) {
10686
- var m = new g(p);
10685
+ }, f.prototype.addImage = function(v) {
10686
+ var m = new _(v);
10687
10687
  this.images.push(m);
10688
- }, f.prototype.addBackground = function(p, m) {
10689
- var b = new y(p, m);
10688
+ }, f.prototype.addBackground = function(v, m) {
10689
+ var b = new y(v, m);
10690
10690
  this.images.push(b);
10691
10691
  }, f.prototype.check = function() {
10692
- var p = this;
10692
+ var v = this;
10693
10693
  if (this.progressedCount = 0, this.hasAnyBroken = !1, !this.images.length) {
10694
10694
  this.complete();
10695
10695
  return;
10696
10696
  }
10697
- function m(b, P, v) {
10697
+ function m(b, P, g) {
10698
10698
  setTimeout(function() {
10699
- p.progress(b, P, v);
10699
+ v.progress(b, P, g);
10700
10700
  });
10701
10701
  }
10702
10702
  this.images.forEach(function(b) {
10703
10703
  b.once("progress", m), b.check();
10704
10704
  });
10705
- }, f.prototype.progress = function(p, m, b) {
10706
- this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !p.isLoaded, this.emitEvent("progress", [this, p, m]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, p), this.progressedCount == this.images.length && this.complete(), this.options.debug && r && r.log("progress: " + b, p, m);
10705
+ }, f.prototype.progress = function(v, m, b) {
10706
+ this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !v.isLoaded, this.emitEvent("progress", [this, v, m]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, v), this.progressedCount == this.images.length && this.complete(), this.options.debug && r && r.log("progress: " + b, v, m);
10707
10707
  }, f.prototype.complete = function() {
10708
- var p = this.hasAnyBroken ? "fail" : "done";
10709
- if (this.isComplete = !0, this.emitEvent(p, [this]), this.emitEvent("always", [this]), this.jqDeferred) {
10708
+ var v = this.hasAnyBroken ? "fail" : "done";
10709
+ if (this.isComplete = !0, this.emitEvent(v, [this]), this.emitEvent("always", [this]), this.jqDeferred) {
10710
10710
  var m = this.hasAnyBroken ? "reject" : "resolve";
10711
10711
  this.jqDeferred[m](this);
10712
10712
  }
10713
10713
  };
10714
- function g(p) {
10715
- this.img = p;
10714
+ function _(v) {
10715
+ this.img = v;
10716
10716
  }
10717
- g.prototype = Object.create(e.prototype), g.prototype.check = function() {
10718
- var p = this.getIsImageComplete();
10719
- if (p) {
10717
+ _.prototype = Object.create(e.prototype), _.prototype.check = function() {
10718
+ var v = this.getIsImageComplete();
10719
+ if (v) {
10720
10720
  this.confirm(this.img.naturalWidth !== 0, "naturalWidth");
10721
10721
  return;
10722
10722
  }
10723
10723
  this.proxyImage = new Image(), this.proxyImage.addEventListener("load", this), this.proxyImage.addEventListener("error", this), this.img.addEventListener("load", this), this.img.addEventListener("error", this), this.proxyImage.src = this.img.src;
10724
- }, g.prototype.getIsImageComplete = function() {
10724
+ }, _.prototype.getIsImageComplete = function() {
10725
10725
  return this.img.complete && this.img.naturalWidth;
10726
- }, g.prototype.confirm = function(p, m) {
10727
- this.isLoaded = p, this.emitEvent("progress", [this, this.img, m]);
10728
- }, g.prototype.handleEvent = function(p) {
10729
- var m = "on" + p.type;
10730
- this[m] && this[m](p);
10731
- }, g.prototype.onload = function() {
10726
+ }, _.prototype.confirm = function(v, m) {
10727
+ this.isLoaded = v, this.emitEvent("progress", [this, this.img, m]);
10728
+ }, _.prototype.handleEvent = function(v) {
10729
+ var m = "on" + v.type;
10730
+ this[m] && this[m](v);
10731
+ }, _.prototype.onload = function() {
10732
10732
  this.confirm(!0, "onload"), this.unbindEvents();
10733
- }, g.prototype.onerror = function() {
10733
+ }, _.prototype.onerror = function() {
10734
10734
  this.confirm(!1, "onerror"), this.unbindEvents();
10735
- }, g.prototype.unbindEvents = function() {
10735
+ }, _.prototype.unbindEvents = function() {
10736
10736
  this.proxyImage.removeEventListener("load", this), this.proxyImage.removeEventListener("error", this), this.img.removeEventListener("load", this), this.img.removeEventListener("error", this);
10737
10737
  };
10738
- function y(p, m) {
10739
- this.url = p, this.element = m, this.img = new Image();
10738
+ function y(v, m) {
10739
+ this.url = v, this.element = m, this.img = new Image();
10740
10740
  }
10741
- return y.prototype = Object.create(g.prototype), y.prototype.check = function() {
10741
+ return y.prototype = Object.create(_.prototype), y.prototype.check = function() {
10742
10742
  this.img.addEventListener("load", this), this.img.addEventListener("error", this), this.img.src = this.url;
10743
- var p = this.getIsImageComplete();
10744
- p && (this.confirm(this.img.naturalWidth !== 0, "naturalWidth"), this.unbindEvents());
10743
+ var v = this.getIsImageComplete();
10744
+ v && (this.confirm(this.img.naturalWidth !== 0, "naturalWidth"), this.unbindEvents());
10745
10745
  }, y.prototype.unbindEvents = function() {
10746
10746
  this.img.removeEventListener("load", this), this.img.removeEventListener("error", this);
10747
- }, y.prototype.confirm = function(p, m) {
10748
- this.isLoaded = p, this.emitEvent("progress", [this, this.element, m]);
10749
- }, f.makeJQueryPlugin = function(p) {
10750
- p = p || t.jQuery, p && (n = p, n.fn.imagesLoaded = function(m, b) {
10747
+ }, y.prototype.confirm = function(v, m) {
10748
+ this.isLoaded = v, this.emitEvent("progress", [this, this.element, m]);
10749
+ }, f.makeJQueryPlugin = function(v) {
10750
+ v = v || t.jQuery, v && (n = v, n.fn.imagesLoaded = function(m, b) {
10751
10751
  var P = new f(this, m, b);
10752
10752
  return P.jqDeferred.promise(n(this));
10753
10753
  });
@@ -10787,22 +10787,22 @@ VueMasonryPlugin.install = function(s, i) {
10787
10787
  mounted: function(r, l) {
10788
10788
  if (!Masonry)
10789
10789
  throw new Error("Masonry plugin is not defined. Please check it's connected and parsed correctly.");
10790
- const u = collectOptions(r.attributes), d = new Masonry(r, u), f = l.value || e, _ = u.destroyDelay ? parseInt(u.destroyDelay, 10) : void 0, g = function() {
10790
+ const u = collectOptions(r.attributes), d = new Masonry(r, u), f = l.value || e, p = u.destroyDelay ? parseInt(u.destroyDelay, 10) : void 0, _ = function() {
10791
10791
  d.reloadItems(), d.layout();
10792
10792
  };
10793
10793
  nextTick(() => {
10794
- g();
10794
+ _();
10795
10795
  });
10796
10796
  const y = function(m) {
10797
- g();
10798
- }, p = function(m) {
10799
- t.off(`${EVENT_ADD}__${f}`, y), t.off(`${EVENT_REMOVE}__${f}`, y), t.off(`${EVENT_IMAGE_LOADED}__${f}`, y), t.off(`${EVENT_DESTROY}__${f}`, p);
10800
- const b = _ && !Number.isNaN(_) ? _ : 0;
10797
+ _();
10798
+ }, v = function(m) {
10799
+ t.off(`${EVENT_ADD}__${f}`, y), t.off(`${EVENT_REMOVE}__${f}`, y), t.off(`${EVENT_IMAGE_LOADED}__${f}`, y), t.off(`${EVENT_DESTROY}__${f}`, v);
10800
+ const b = p && !Number.isNaN(p) ? p : 0;
10801
10801
  setTimeout(function() {
10802
10802
  d.destroy();
10803
10803
  }, b);
10804
10804
  };
10805
- t.on(`${EVENT_ADD}__${f}`, y), t.on(`${EVENT_REMOVE}__${f}`, y), t.on(`${EVENT_IMAGE_LOADED}__${f}`, y), t.on(`${EVENT_DESTROY}__${f}`, p);
10805
+ t.on(`${EVENT_ADD}__${f}`, y), t.on(`${EVENT_REMOVE}__${f}`, y), t.on(`${EVENT_IMAGE_LOADED}__${f}`, y), t.on(`${EVENT_DESTROY}__${f}`, v);
10806
10806
  },
10807
10807
  unbind: function(r, l) {
10808
10808
  const u = l.value || e;
@@ -10847,4 +10847,4 @@ export {
10847
10847
  StickyPlugin as a,
10848
10848
  ListingSkeleton as b
10849
10849
  };
10850
- //# sourceMappingURL=masonry.plugin-CD7BGwYC.js.map
10850
+ //# sourceMappingURL=masonry.plugin-Deuktrut.js.map