@konnectio/core 4.1.41 → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/dist/{ActionField-DFgoL4uS.js → ActionField-Cei5VUkT.js} +2 -2
  2. package/dist/ActionField-Cei5VUkT.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-jV4pIjHP.js → AvailabilitySkeleton-BAgiQvYR.js} +5 -5
  4. package/dist/AvailabilitySkeleton-BAgiQvYR.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-lguqCRL2.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CZHXl0PQ.js} +2 -2
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CZHXl0PQ.js.br +0 -0
  7. package/dist/{CheckoutWindow-BrfOJGlQ.js → CheckoutWindow-DmfjZCEl.js} +2 -2
  8. package/dist/CheckoutWindow-DmfjZCEl.js.br +0 -0
  9. package/dist/{ErrorMessage-B5VWTOuv.js → ErrorMessage-CoskusRs.js} +2 -2
  10. package/dist/ErrorMessage-CoskusRs.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-Yy80m8TZ.js → EventAvailabilityForm-BWu9C9SD.js} +3 -3
  12. package/dist/EventAvailabilityForm-BWu9C9SD.js.br +0 -0
  13. package/dist/{Field-D8kPYGuj.js → Field-Bhrt8_SZ.js} +3 -3
  14. package/dist/Field-Bhrt8_SZ.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-8GIwhaEb.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DyIhtXFf.js} +2 -2
  16. package/dist/{SelectField.vue_vue_type_style_index_0_lang-4HfRyX18.js → SelectField.vue_vue_type_style_index_0_lang-BNBhMRxK.js} +2415 -2396
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-BNBhMRxK.js.br +0 -0
  18. package/dist/{TermsOfService-BFdbzkBw.js → TermsOfService-DibOjEFL.js} +3 -3
  19. package/dist/_-BsBWeVw0.js +5 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-CSdgMT9z.js → _.vue_vue_type_style_index_0_lang-BrtUPaN9.js} +2 -2
  21. package/dist/availability.js +5 -5
  22. package/dist/availability.js.br +0 -0
  23. package/dist/cancel-reservation.js +3 -3
  24. package/dist/cancel-reservation.js.br +0 -0
  25. package/dist/core.css +1 -1
  26. package/dist/core.css.br +0 -0
  27. package/dist/event.js +7 -7
  28. package/dist/event.js.br +0 -0
  29. package/dist/gift-card-validation.js +7 -7
  30. package/dist/gift-card-validation.js.br +0 -0
  31. package/dist/gift-card.js +8 -8
  32. package/dist/gift-card.js.br +0 -0
  33. package/dist/{giftCard-IP6AiihB.js → giftCard-yaW_7V8M.js} +2 -2
  34. package/dist/giftCard-yaW_7V8M.js.br +0 -0
  35. package/dist/hotel.js +1446 -1445
  36. package/dist/hotel.js.br +0 -0
  37. package/dist/{masonry.plugin-HXszJPJo.js → masonry.plugin-DlwFce-7.js} +249 -139
  38. package/dist/masonry.plugin-DlwFce-7.js.br +0 -0
  39. package/dist/polyfill.js +1 -1
  40. package/dist/polyfill.js.br +0 -0
  41. package/package.json +15 -15
  42. package/dist/ActionField-DFgoL4uS.js.br +0 -0
  43. package/dist/AvailabilitySkeleton-jV4pIjHP.js.br +0 -0
  44. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-lguqCRL2.js.br +0 -0
  45. package/dist/CheckoutWindow-BrfOJGlQ.js.br +0 -0
  46. package/dist/ErrorMessage-B5VWTOuv.js.br +0 -0
  47. package/dist/EventAvailabilityForm-Yy80m8TZ.js.br +0 -0
  48. package/dist/Field-D8kPYGuj.js.br +0 -0
  49. package/dist/SelectField.vue_vue_type_style_index_0_lang-4HfRyX18.js.br +0 -0
  50. package/dist/_-jN4E88tW.js +0 -5
  51. package/dist/giftCard-IP6AiihB.js.br +0 -0
  52. package/dist/masonry.plugin-HXszJPJo.js.br +0 -0
@@ -1,8 +1,8 @@
1
1
  import { d as defineComponent, F as Fragment, U as Comment, V as Text, W as h, X as getCurrentInstance, Y 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, Z as inject, N as resolveDirective, A as createSlots, E as withDirectives, t as toDisplayString, $ as reactive, a0 as onUnmounted, K as normalizeStyle, q as renderSlot, Q as nextTick, G as vShow, x as createTextVNode, a1 as mergeModels, y as useSlots, a2 as useModel, T as Transition, z as isRef, _ as _mitt } from "./mitt-CgrYtI2g.js";
2
- import { I as Icon, _ as _export_sfc, b as useHotelStore, g as useEventStore, u as useAvailabilityStore, f as useUtilityStore, T as TextField, M as convertDescription, B as BookingLayout, q as capitalized, k as daysBetweenDates, o as showPrice, s as showDate, x as InputField, K 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-4HfRyX18.js";
3
- import { B as Base$1, a as Checkbox, _ as _sfc_main$c } from "./CheckoutWindow-BrfOJGlQ.js";
4
- import { A as ActionField } from "./ActionField-DFgoL4uS.js";
5
- import { E as Element$1 } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-8GIwhaEb.js";
2
+ import { I as Icon, _ as _export_sfc, b as useHotelStore, g as useEventStore, u as useAvailabilityStore, f as useUtilityStore, T as TextField, M as convertDescription, B as BookingLayout, q as capitalized, k as daysBetweenDates, o as showPrice, s as showDate, x as InputField, K 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-BNBhMRxK.js";
3
+ import { B as Base$1, a as Checkbox, _ as _sfc_main$c } from "./CheckoutWindow-DmfjZCEl.js";
4
+ import { A as ActionField } from "./ActionField-Cei5VUkT.js";
5
+ import { E as Element$1 } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DyIhtXFf.js";
6
6
  import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-DaMA6jEr.js";
7
7
  /*! *****************************************************************************
8
8
  Copyright (c) Microsoft Corporation.
@@ -1580,10 +1580,10 @@ var InputObserver = /* @__PURE__ */ function() {
1580
1580
  }, 100);
1581
1581
  }
1582
1582
  }
1583
- var O = this._getDistance([g.deltaX, g.deltaY], [P, v]), S = this._getOffset([g.offsetX, g.offsetY], [P, v]), I = S.some(function(x) {
1583
+ var O = this._getDistance([g.deltaX, g.deltaY], [P, v]), S = this._getOffset([g.offsetX, g.offsetY], [P, v]), k = S.some(function(x) {
1584
1584
  return x !== 0;
1585
1585
  });
1586
- I && (g.srcEvent.cancelable !== !1 && g.srcEvent.preventDefault(), g.srcEvent.stopPropagation()), g.preventSystemEvent = I, I && (this._isOverThreshold || O >= _) && (this._dragged = l, this._isOverThreshold = !0, this._observer.change(this, g, toAxis(this.axes, S))), y.prevEvent = g;
1586
+ k && (g.srcEvent.cancelable !== !1 && g.srcEvent.preventDefault(), g.srcEvent.stopPropagation()), g.preventSystemEvent = k, k && (this._isOverThreshold || O >= _) && (this._dragged = l, this._isOverThreshold = !0, this._observer.change(this, g, toAxis(this.axes, S))), y.prevEvent = g;
1587
1587
  }
1588
1588
  }, i._onPanend = function(t) {
1589
1589
  var e = this.options.inputButton, n = this._activeEvent;
@@ -2408,7 +2408,7 @@ var CODE = {
2408
2408
  }, getProgress = function(s, i, t) {
2409
2409
  return (s - i) / (t - i);
2410
2410
  }, getStyle = function(s) {
2411
- return window.getComputedStyle(s) || s.currentStyle;
2411
+ return s ? window.getComputedStyle(s) || s.currentStyle : {};
2412
2412
  }, setSize = function(s, i) {
2413
2413
  var t = i.width, e = i.height;
2414
2414
  s && (t != null && (isString(t) ? s.style.width = t : s.style.width = t + "px"), e != null && (isString(e) ? s.style.height = e : s.style.height = e + "px"));
@@ -2547,19 +2547,46 @@ var CODE = {
2547
2547
  }(), AutoResizer = /* @__PURE__ */ function() {
2548
2548
  function s(t) {
2549
2549
  var e = this;
2550
- this._onResize = function() {
2551
- var n = e._flicking, r = n.resizeDebounce, l = n.maxResizeDebounce;
2552
- r <= 0 ? n.resize() : (e._maxResizeDebounceTimer <= 0 && l > 0 && l >= r && (e._maxResizeDebounceTimer = window.setTimeout(e._doScheduledResize, l)), e._resizeTimer > 0 && (clearTimeout(e._resizeTimer), e._resizeTimer = 0), e._resizeTimer = window.setTimeout(e._doScheduledResize, r));
2550
+ this._onResizeWrapper = function() {
2551
+ e._onResize([]);
2552
+ }, this._onResize = function(n) {
2553
+ var r = e._flicking, l = r.resizeDebounce, u = r.maxResizeDebounce, d = r.element, f = n.find(function(y) {
2554
+ return y.target === r.element;
2555
+ }) && n.length === 1;
2556
+ if (f) {
2557
+ var _ = {
2558
+ width: r.viewport.width,
2559
+ height: r.viewport.height
2560
+ }, p = {
2561
+ width: getElementSize({
2562
+ el: d,
2563
+ horizontal: !0,
2564
+ useFractionalSize: e._flicking.useFractionalSize,
2565
+ useOffset: !1,
2566
+ style: getStyle(d)
2567
+ }),
2568
+ height: getElementSize({
2569
+ el: d,
2570
+ horizontal: !1,
2571
+ useFractionalSize: e._flicking.useFractionalSize,
2572
+ useOffset: !1,
2573
+ style: getStyle(d)
2574
+ })
2575
+ };
2576
+ if (_.height === p.height && _.width === p.width)
2577
+ return;
2578
+ }
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));
2553
2580
  }, this._doScheduledResize = function() {
2554
2581
  clearTimeout(e._resizeTimer), clearTimeout(e._maxResizeDebounceTimer), e._maxResizeDebounceTimer = -1, e._resizeTimer = -1, e._flicking.resize();
2555
2582
  }, this._skipFirstResize = /* @__PURE__ */ function() {
2556
2583
  var n = !0;
2557
- return function() {
2584
+ return function(r) {
2558
2585
  if (n) {
2559
2586
  n = !1;
2560
2587
  return;
2561
2588
  }
2562
- e._onResize();
2589
+ e._onResize(r);
2563
2590
  };
2564
2591
  }(), this._flicking = t, this._enabled = !1, this._resizeObserver = null, this._resizeTimer = -1, this._maxResizeDebounceTimer = -1;
2565
2592
  }
@@ -2574,14 +2601,30 @@ var CODE = {
2574
2601
  var t = this._flicking, e = t.viewport;
2575
2602
  if (this._enabled && this.disable(), t.useResizeObserver && window.ResizeObserver) {
2576
2603
  var n = e.width !== 0 || e.height !== 0, r = n ? new ResizeObserver(this._skipFirstResize) : new ResizeObserver(this._onResize);
2577
- r.observe(t.viewport.element), this._resizeObserver = r;
2604
+ this._resizeObserver = r, this.observe(t.viewport.element), t.observePanelResize && this.observePanels();
2578
2605
  } else
2579
- window.addEventListener("resize", this._onResize);
2606
+ window.addEventListener("resize", this._onResizeWrapper);
2580
2607
  return this._enabled = !0, this;
2608
+ }, i.observePanels = function() {
2609
+ var t = this;
2610
+ return this._flicking.panels.forEach(function(e) {
2611
+ t.observe(e.element);
2612
+ }), this;
2613
+ }, i.unobservePanels = function() {
2614
+ var t = this;
2615
+ return this._flicking.panels.forEach(function(e) {
2616
+ t.unobserve(e.element);
2617
+ }), this;
2618
+ }, i.observe = function(t) {
2619
+ var e = this._resizeObserver;
2620
+ return e ? (e.observe(t), this) : this;
2621
+ }, i.unobserve = function(t) {
2622
+ var e = this._resizeObserver;
2623
+ return e ? (e.unobserve(t), this._flicking.observePanelResize && this.unobservePanels(), this) : this;
2581
2624
  }, i.disable = function() {
2582
2625
  if (!this._enabled) return this;
2583
2626
  var t = this._resizeObserver;
2584
- return t ? (t.disconnect(), this._resizeObserver = null) : window.removeEventListener("resize", this._onResize), this._enabled = !1, this;
2627
+ return t ? (t.disconnect(), this._resizeObserver = null) : window.removeEventListener("resize", this._onResizeWrapper), this._enabled = !1, this;
2585
2628
  }, s;
2586
2629
  }(), VanillaElementProvider = /* @__PURE__ */ function() {
2587
2630
  function s(t) {
@@ -3693,17 +3736,17 @@ var State = /* @__PURE__ */ function() {
3693
3736
  var l, u = getFlickingAttached(this._flicking), d = u.camera, f = (l = this._nextPanel) !== null && l !== void 0 ? l : this._activePanel, _ = this._controller.range, p = this._indexRange, y = d.range, g = this._controller.state, m = clamp(d.clampToReachablePosition(e), _[0], _[1]), b = d.findAnchorIncludePosition(m);
3694
3737
  if (!b || !f)
3695
3738
  return Promise.reject(new FlickingError(MESSAGE.POSITION_NOT_REACHABLE(e), CODE.POSITION_NOT_REACHABLE));
3696
- var P = f.position, v = u.animating ? g.delta : e - d.position, E = Math.abs(v) >= u.threshold, T = e > P ? d.getNextAnchor(b) : d.getPrevAnchor(b), O, S, I = d.anchorPoints, x = I[0], C = I[I.length - 1], R = e <= y.min && isBetween(x.panel.index, p.min, p.max), D = e >= y.max && isBetween(C.panel.index, p.min, p.max), A = T && (p.min <= p.max ? isBetween(T.index, p.min, p.max) : T.index >= p.min || T.index <= p.max);
3739
+ var P = f.position, v = u.animating ? g.delta : e - d.position, E = Math.abs(v) >= u.threshold, T = e > P ? d.getNextAnchor(b) : d.getPrevAnchor(b), O, S, k = d.anchorPoints, x = k[0], I = k[k.length - 1], R = e <= y.min && isBetween(x.panel.index, p.min, p.max), D = e >= y.max && isBetween(I.panel.index, p.min, p.max), w = T && (p.min <= p.max ? isBetween(T.index, p.min, p.max) : T.index >= p.min || T.index <= p.max);
3697
3740
  if (R || D) {
3698
- var N = e < y.min ? x : C;
3741
+ var N = e < y.min ? x : I;
3699
3742
  S = N.panel, O = N.position;
3700
3743
  } else if (E && b.position !== f.position)
3701
3744
  S = b.panel, O = b.position;
3702
- else if (E && A)
3745
+ else if (E && w)
3703
3746
  S = T.panel, O = T.position;
3704
3747
  else {
3705
- var w = d.findNearestAnchor(d.position);
3706
- return w ? this.moveToPanel(w.panel, {
3748
+ var A = d.findNearestAnchor(d.position);
3749
+ return A ? this.moveToPanel(A.panel, {
3707
3750
  duration: n,
3708
3751
  axesEvent: r
3709
3752
  }) : Promise.reject(new FlickingError(MESSAGE.POSITION_NOT_REACHABLE(e), CODE.POSITION_NOT_REACHABLE));
@@ -4557,7 +4600,11 @@ var State = /* @__PURE__ */ function() {
4557
4600
  return f;
4558
4601
  }, i.updateAfterPanelChange = function(t, e) {
4559
4602
  var n, r = getFlickingAttached(this._flicking), l = r.camera, u = r.control, d = this._panels, f = u.activePanel;
4560
- if (this._updateCameraAndControl(), this.render(), !r.animating)
4603
+ if (this._updateCameraAndControl(), r.autoResize && r.useResizeObserver && (t.forEach(function(p) {
4604
+ p.element && r.autoResizer.observe(p.element);
4605
+ }), e.forEach(function(p) {
4606
+ p.element && r.autoResizer.unobserve(p.element);
4607
+ })), this.render(), !r.animating)
4561
4608
  if (!f || f.removed)
4562
4609
  if (d.length <= 0)
4563
4610
  l.lookAt(0);
@@ -5250,10 +5297,10 @@ var State = /* @__PURE__ */ function() {
5250
5297
  }(), Flicking$1 = /* @__PURE__ */ function(s) {
5251
5298
  __extends$2(i, s);
5252
5299
  function i(e, n) {
5253
- 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, p = _ === void 0 ? !0 : _, y = r.circular, g = 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, I = r.noPanelStyleOverride, x = I === void 0 ? !1 : I, C = r.resizeOnContentsReady, R = C === void 0 ? !1 : C, D = r.nested, A = D === void 0 ? !1 : D, N = r.needPanelThreshold, w = N === void 0 ? 0 : N, L = r.preventEventsBeforeInit, B = L === void 0 ? !0 : L, V = r.deceleration, ue = V === void 0 ? 75e-4 : V, M = r.duration, ce = M === void 0 ? 500 : M, z = r.easing, de = z === void 0 ? function(Ae) {
5254
- return 1 - Math.pow(1 - Ae, 3);
5255
- } : z, F = r.inputType, fe = F === void 0 ? ["mouse", "touch"] : F, j = r.moveType, he = j === void 0 ? "snap" : j, H = r.threshold, ve = H === void 0 ? 40 : H, W = r.dragThreshold, ge = W === void 0 ? 1 : W, U = r.interruptable, pe = U === void 0 ? !0 : U, G = r.bounce, _e = G === void 0 ? "20%" : G, Y = r.iOSEdgeSwipeThreshold, me = Y === void 0 ? 30 : Y, q = r.preventClickOnDrag, Ee = q === void 0 ? !0 : q, X = r.preventDefaultOnDrag, ye = X === void 0 ? !1 : X, K = r.disableOnInit, be = K === void 0 ? !1 : K, Z = r.changeOnHold, Pe = Z === void 0 ? !1 : Z, Q = r.renderOnlyVisible, Te = Q === void 0 ? !1 : Q, J = r.virtual, ee = J === void 0 ? null : J, te = r.autoInit, Oe = te === void 0 ? !0 : te, ne = r.autoResize, Se = ne === void 0 ? !0 : ne, ie = r.useResizeObserver, Ce = ie === void 0 ? !0 : ie, re = r.resizeDebounce, Ie = re === void 0 ? 0 : re, ae = r.maxResizeDebounce, ke = ae === void 0 ? 100 : ae, oe = r.useFractionalSize, xe = oe === void 0 ? !1 : oe, se = r.externalRenderer, Re = se === void 0 ? null : se, le = r.renderExternal, Ne = le === void 0 ? null : le, k = s.call(this) || this;
5256
- return k._initialized = !1, k._plugins = [], k._align = u, k._defaultIndex = f, k._horizontal = p, k._circular = g, k._circularFallback = b, k._bound = v, k._adaptive = T, k._panelsPerView = S, k._noPanelStyleOverride = x, k._resizeOnContentsReady = R, k._nested = A, k._virtual = ee, k._needPanelThreshold = w, k._preventEventsBeforeInit = B, k._deceleration = ue, k._duration = ce, k._easing = de, k._inputType = fe, k._moveType = he, k._threshold = ve, k._dragThreshold = ge, k._interruptable = pe, k._bounce = _e, k._iOSEdgeSwipeThreshold = me, k._preventClickOnDrag = Ee, k._preventDefaultOnDrag = ye, k._disableOnInit = be, k._changeOnHold = Pe, k._renderOnlyVisible = Te, k._autoInit = Oe, k._autoResize = Se, k._useResizeObserver = Ce, k._resizeDebounce = Ie, k._maxResizeDebounce = ke, k._useFractionalSize = xe, k._externalRenderer = Re, k._renderExternal = Ne, k._viewport = new Viewport(k, getElement$1(e)), k._autoResizer = new AutoResizer(k), k._renderer = k._createRenderer(), k._camera = k._createCamera(), k._control = k._createControl(), k._virtualManager = new VirtualManager(k, ee), k._autoInit && k.init(), k;
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, p = _ === void 0 ? !0 : _, y = r.circular, g = 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, x = k === void 0 ? !1 : k, I = r.resizeOnContentsReady, R = I === void 0 ? !1 : I, D = r.nested, w = D === void 0 ? !1 : D, N = r.needPanelThreshold, A = N === void 0 ? 0 : N, 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
+ return 1 - Math.pow(1 - Le, 3);
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, 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, C = s.call(this) || this;
5303
+ return C._initialized = !1, C._plugins = [], C._isResizing = !1, C._align = u, C._defaultIndex = f, C._horizontal = p, C._circular = g, C._circularFallback = b, C._bound = v, C._adaptive = T, C._panelsPerView = S, C._noPanelStyleOverride = x, C._resizeOnContentsReady = R, C._nested = w, C._virtual = ee, C._needPanelThreshold = A, C._preventEventsBeforeInit = B, C._deceleration = de, C._duration = fe, C._easing = he, C._inputType = ve, C._moveType = ge, C._threshold = pe, C._dragThreshold = _e, C._interruptable = me, C._bounce = Ee, C._iOSEdgeSwipeThreshold = ye, C._preventClickOnDrag = be, C._preventDefaultOnDrag = Pe, C._disableOnInit = Te, C._changeOnHold = Oe, C._renderOnlyVisible = Se, C._autoInit = Ce, C._autoResize = Ie, C._useResizeObserver = ke, C._resizeDebounce = xe, C._maxResizeDebounce = Ne, C._observePanelResize = Re, C._useFractionalSize = we, C._externalRenderer = Ae, C._renderExternal = De, C._optimizeSizeUpdate = Be, C._viewport = new Viewport(C, getElement$1(e)), C._autoResizer = new AutoResizer(C), C._renderer = C._createRenderer(), C._camera = C._createCamera(), C._control = C._createControl(), C._virtualManager = new VirtualManager(C, ee), C._autoInit && C.init(), C;
5257
5304
  }
5258
5305
  var t = i.prototype;
5259
5306
  return Object.defineProperty(t, "control", {
@@ -5319,6 +5366,18 @@ var State = /* @__PURE__ */ function() {
5319
5366
  },
5320
5367
  enumerable: !1,
5321
5368
  configurable: !0
5369
+ }), Object.defineProperty(t, "autoResizer", {
5370
+ /**
5371
+ * {@link AutoResizer} instance of the Flicking
5372
+ * @ko 현재 Flicking에 활성화된 {@link AutoResizer} 인스턴스
5373
+ * @internal
5374
+ * @readonly
5375
+ */
5376
+ get: function() {
5377
+ return this._autoResizer;
5378
+ },
5379
+ enumerable: !1,
5380
+ configurable: !0
5322
5381
  }), Object.defineProperty(t, "initialized", {
5323
5382
  // Internal States
5324
5383
  /**
@@ -6110,7 +6169,7 @@ var State = /* @__PURE__ */ function() {
6110
6169
  },
6111
6170
  // OTHERS
6112
6171
  set: function(e) {
6113
- this._autoResize = e, e ? this._autoResizer.enable() : this._autoResizer.disable();
6172
+ this._autoResize = e, this._initialized && (e ? this._autoResizer.enable() : this._autoResizer.disable());
6114
6173
  },
6115
6174
  enumerable: !1,
6116
6175
  configurable: !0
@@ -6126,7 +6185,24 @@ var State = /* @__PURE__ */ function() {
6126
6185
  return this._useResizeObserver;
6127
6186
  },
6128
6187
  set: function(e) {
6129
- this._useResizeObserver = e, this._autoResize && this._autoResizer.enable();
6188
+ this._useResizeObserver = e, this._initialized && this._autoResize && this._autoResizer.enable();
6189
+ },
6190
+ enumerable: !1,
6191
+ configurable: !0
6192
+ }), Object.defineProperty(t, "observePanelResize", {
6193
+ /**
6194
+ * Whether to use {@link https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver ResizeObserver} to observe the size of the panel element
6195
+ * This is only available when `useResizeObserver` is enabled.
6196
+ * This option garantees that the resize event is triggered when the size of the panel element is changed.
6197
+ * @ko 이 옵션을 활성화할 경우, {@link https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver ResizeObserver}를 사용하여 패널 엘리먼트의 크기를 추적합니다.
6198
+ * 이 옵션은 `useResizeObserver` 옵션이 활성화된 경우에만 사용할 수 있습니다.
6199
+ * 이 옵션은 패널 엘리먼트의 크기가 변경될 경우 resize 이벤트가 발생하도록 보장합니다.
6200
+ */
6201
+ get: function() {
6202
+ return this._observePanelResize;
6203
+ },
6204
+ set: function(e) {
6205
+ this._observePanelResize = e, this._initialized && this._autoResize && (e ? this._autoResizer.observePanels() : this._autoResizer.unobservePanels());
6130
6206
  },
6131
6207
  enumerable: !1,
6132
6208
  configurable: !0
@@ -6206,6 +6282,29 @@ var State = /* @__PURE__ */ function() {
6206
6282
  },
6207
6283
  enumerable: !1,
6208
6284
  configurable: !0
6285
+ }), Object.defineProperty(t, "optimizeSizeUpdate", {
6286
+ /**
6287
+ * This option works only when autoResize is set to true.
6288
+ * By default, autoResize listens to changes in both the viewport's width and height, updating all panel sizes accordingly.
6289
+ * When optimizeSizeUpdate is enabled, the update behavior is optimized based on the flicking direction:
6290
+ * If direction is "horizontal", only changes in width will trigger panel size updates.
6291
+ * If direction is "vertical", only changes in height will do so.
6292
+ * This option is useful when panel heights vary and unwanted flickering occurs due to frequent size recalculations during flicking. Enabling optimizeSizeUpdate prevents unnecessary updates and helps maintain visual stability.
6293
+ * @ko optimizeSizeUpdate는 autoResize가 true일 때만 동작합니다.
6294
+ * 기본적으로 autoResize는 뷰포트의 width와 height 변화를 모두 감지하여 패널들의 사이즈를 업데이트합니다.
6295
+ * 이 옵션을 활성화하면 플리킹 방향에 따라 필요한 차원(horizontal → width, vertical → height)에 대해서만 사이즈를 업데이트합니다.
6296
+ * 내부 패널의 높이가 서로 다를 때, 플리킹 중 과도한 리사이징으로 인한 깜빡임 현상을 줄이는 데 유용합니다.
6297
+ * @type {boolean}
6298
+ * @default false
6299
+ */
6300
+ get: function() {
6301
+ return this._optimizeSizeUpdate;
6302
+ },
6303
+ set: function(e) {
6304
+ this._optimizeSizeUpdate = e;
6305
+ },
6306
+ enumerable: !1,
6307
+ configurable: !0
6209
6308
  }), t.init = function() {
6210
6309
  var e = this;
6211
6310
  if (this._initialized) return Promise.resolve();
@@ -6316,17 +6415,28 @@ var State = /* @__PURE__ */ function() {
6316
6415
  return __generator$1(this, function(m) {
6317
6416
  switch (m.label) {
6318
6417
  case 0:
6319
- return 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, {
6418
+ return this._isResizing ? [
6419
+ 2
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, {
6320
6422
  width: d,
6321
6423
  height: f,
6322
6424
  element: e.element
6323
- })), e.resize(), [4, n.forceRenderAllPanels()];
6425
+ })), e.resize(), this._optimizeSizeUpdate ? this.horizontal && e.width !== d || !this.horizontal && e.height !== f ? [4, n.forceRenderAllPanels()] : [3, 2] : [3, 3]);
6324
6426
  case 1:
6325
- return m.sent(), this._initialized ? (n.updatePanelSize(), r.updateAlignPos(), r.updateRange(), r.updateAnchors(), r.updateAdaptiveHeight(), r.updatePanelOrder(), r.updateOffset(), [4, n.render()]) : [
6427
+ m.sent(), m.label = 2;
6428
+ case 2:
6429
+ return [3, 5];
6430
+ case 3:
6431
+ return [4, n.forceRenderAllPanels()];
6432
+ case 4:
6433
+ m.sent(), m.label = 5;
6434
+ case 5:
6435
+ return this._initialized ? (n.updatePanelSize(), r.updateAlignPos(), r.updateRange(), r.updateAnchors(), r.updateAdaptiveHeight(), r.updatePanelOrder(), r.updateOffset(), [4, n.render()]) : [
6326
6436
  2
6327
6437
  /*return*/
6328
6438
  ];
6329
- case 2:
6439
+ case 6:
6330
6440
  return m.sent(), this._initialized ? (l.animating || (l.updatePosition(_), l.updateInput()), p = e.width, y = e.height, g = p !== d || y !== f, this.trigger(new ComponentEvent$1(EVENTS.AFTER_RESIZE, {
6331
6441
  width: e.width,
6332
6442
  height: e.height,
@@ -6336,7 +6446,7 @@ var State = /* @__PURE__ */ function() {
6336
6446
  },
6337
6447
  sizeChanged: g,
6338
6448
  element: e.element
6339
- })), [
6449
+ })), this._isResizing = !1, [
6340
6450
  2
6341
6451
  /*return*/
6342
6452
  ]) : [
@@ -6427,7 +6537,7 @@ var State = /* @__PURE__ */ function() {
6427
6537
  sizeChanged: f,
6428
6538
  element: e.element
6429
6539
  }));
6430
- }, i.VERSION = "4.12.0", i;
6540
+ }, i.VERSION = "4.13.1", i;
6431
6541
  }(Component), withFlickingMethods = function(s, i) {
6432
6542
  [Component.prototype, Flicking$1.prototype].forEach(function(t) {
6433
6543
  Object.getOwnPropertyNames(t).filter(function(e) {
@@ -6639,9 +6749,9 @@ var State = /* @__PURE__ */ function() {
6639
6749
  if (e._moveByViewportSize)
6640
6750
  v.control.moveToPosition(E.position - E.size, v.duration).catch(e._onCatch);
6641
6751
  else if (v.circularEnabled) {
6642
- for (var I = v.currentPanel, x = 0; x < S; x++)
6643
- I = I.prev();
6644
- I.focus().catch(e._onCatch);
6752
+ for (var k = v.currentPanel, x = 0; x < S; x++)
6753
+ k = k.prev();
6754
+ k.focus().catch(e._onCatch);
6645
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);
6646
6756
  }
6647
6757
  }, this._onNextClick = function() {
@@ -6651,9 +6761,9 @@ var State = /* @__PURE__ */ function() {
6651
6761
  if (e._moveByViewportSize)
6652
6762
  v.control.moveToPosition(E.position + E.size, v.duration).catch(e._onCatch);
6653
6763
  else if (v.circularEnabled) {
6654
- for (var I = v.currentPanel, x = 0; x < S; x++)
6655
- I = I.next();
6656
- I.focus().catch(e._onCatch);
6764
+ for (var k = v.currentPanel, x = 0; x < S; x++)
6765
+ k = k.next();
6766
+ k.focus().catch(e._onCatch);
6657
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);
6658
6768
  }
6659
6769
  }, this._onAnimation = function() {
@@ -6930,21 +7040,21 @@ var Renderer = /* @__PURE__ */ function() {
6930
7040
  if (f) {
6931
7041
  var S = l[u];
6932
7042
  if (S) {
6933
- var I = this._createBulletFromString(d(g, u), u);
6934
- S.parentElement.replaceChild(I, S), l[u] = I;
7043
+ var k = this._createBulletFromString(d(g, u), u);
7044
+ S.parentElement.replaceChild(k, S), l[u] = k;
6935
7045
  }
6936
7046
  var x = l[y];
6937
7047
  if (x) {
6938
- var C = this._createBulletFromString(f(g, y), y);
6939
- x.parentElement.replaceChild(C, x), l[y] = C;
7048
+ var I = this._createBulletFromString(f(g, y), y);
7049
+ x.parentElement.replaceChild(I, x), l[y] = I;
6940
7050
  }
6941
7051
  }
6942
7052
  l.forEach(function(R, D) {
6943
- for (var A = D - y, N = R.className.split(" "), w = 0, L = N; w < L.length; w++) {
6944
- var B = L[w];
7053
+ for (var w = D - y, N = R.className.split(" "), A = 0, L = N; A < L.length; A++) {
7054
+ var B = L[A];
6945
7055
  (B === m || T.test(B) || O.test(B)) && removeClass(R, B);
6946
7056
  }
6947
- A === 0 ? addClass(R, m) : A > 0 ? addClass(R, E(Math.abs(A))) : addClass(R, v(Math.abs(A)));
7057
+ w === 0 ? addClass(R, m) : w > 0 ? addClass(R, E(Math.abs(w))) : addClass(R, v(Math.abs(w)));
6948
7058
  }), n.scrollOnChange(y, {
6949
7059
  total: l.length,
6950
7060
  prevIndex: u,
@@ -6957,22 +7067,22 @@ var Renderer = /* @__PURE__ */ function() {
6957
7067
  }, i;
6958
7068
  }(Renderer), Pagination = /* @__PURE__ */ function() {
6959
7069
  function s(t) {
6960
- 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, p = n.classPrefix, y = p === void 0 ? PAGINATION.PREFIX : p, g = n.bulletCount, m = g === void 0 ? 5 : g, b = n.renderBullet, P = b === void 0 ? function(A) {
6961
- return '<span class="' + A + '"></span>';
6962
- } : b, v = n.renderActiveBullet, E = v === void 0 ? null : v, T = n.renderFraction, O = T === void 0 ? function(A, N) {
6963
- return '<span class="' + A + '"></span>/<span class="' + N + '"></span>';
6964
- } : T, S = n.fractionCurrentFormat, I = S === void 0 ? function(A) {
6965
- return A.toString();
6966
- } : S, x = n.fractionTotalFormat, C = x === void 0 ? function(A) {
6967
- return A.toString();
6968
- } : x, R = n.scrollOnChange, D = R === void 0 ? function(A, N) {
6969
- return N.moveTo(A);
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, p = n.classPrefix, y = p === void 0 ? PAGINATION.PREFIX : p, g = n.bulletCount, m = g === void 0 ? 5 : g, b = n.renderBullet, P = b === void 0 ? function(w) {
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, N) {
7073
+ return '<span class="' + w + '"></span>/<span class="' + N + '"></span>';
7074
+ } : T, S = n.fractionCurrentFormat, k = S === void 0 ? function(w) {
7075
+ return w.toString();
7076
+ } : S, x = n.fractionTotalFormat, I = x === void 0 ? function(w) {
7077
+ return w.toString();
7078
+ } : x, R = n.scrollOnChange, D = R === void 0 ? function(w, N) {
7079
+ return N.moveTo(w);
6970
7080
  } : R;
6971
7081
  this._flicking = null, this.update = function() {
6972
7082
  e._removeAllChilds(), e._renderer.render();
6973
- }, this._onIndexChange = function(A) {
6974
- e._renderer.update(A.index);
6975
- }, 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 = I, this._fractionTotalFormat = C, this._scrollOnChange = D;
7083
+ }, this._onIndexChange = function(w) {
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 = I, this._scrollOnChange = D;
6976
7086
  }
6977
7087
  var i = s.prototype;
6978
7088
  return Object.defineProperty(i, "parentEl", {
@@ -7822,7 +7932,7 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7822
7932
  withDirectives(createBaseVNode("div", _hoisted_6$5, null, 512), [
7823
7933
  [T]
7824
7934
  ]),
7825
- (openBlock(!0), createElementBlock(Fragment, null, renderList(v.facilities, ({ name: S, subFacilities: I }, x) => withDirectives((openBlock(), createElementBlock("li", {
7935
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(v.facilities, ({ name: S, subFacilities: k }, x) => withDirectives((openBlock(), createElementBlock("li", {
7826
7936
  key: x,
7827
7937
  class: "konnectio-masonry-facility"
7828
7938
  }, [
@@ -7830,8 +7940,8 @@ const _hoisted_1$c = { class: "konnectio-gallery-arrow-container" }, _hoisted_2$
7830
7940
  createBaseVNode("span", null, toDisplayString(S), 1)
7831
7941
  ]),
7832
7942
  createBaseVNode("ul", null, [
7833
- (openBlock(!0), createElementBlock(Fragment, null, renderList(I, ({ name: C }, R) => (openBlock(), createElementBlock("li", { key: R }, [
7834
- createBaseVNode("span", null, toDisplayString(C), 1)
7943
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(k, ({ name: I }, R) => (openBlock(), createElementBlock("li", { key: R }, [
7944
+ createBaseVNode("span", null, toDisplayString(I), 1)
7835
7945
  ]))), 128))
7836
7946
  ])
7837
7947
  ])), [
@@ -8024,7 +8134,7 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8024
8134
  }), _ = () => {
8025
8135
  u.value && (u.value.innerHTML = convertDescription(x.value));
8026
8136
  }, p = () => {
8027
- d.localExpanded || (_(), (m() || I.value) && P());
8137
+ d.localExpanded || (_(), (m() || k.value) && P());
8028
8138
  }, y = () => {
8029
8139
  e.text && (d.offset = e.text.length, g(), e.autoResize && r.value && (addListener(r.value, p), d.unregisterResizeCallback = () => {
8030
8140
  r.value && removeListener(r.value, p);
@@ -8032,18 +8142,18 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8032
8142
  }, g = () => {
8033
8143
  d.unregisterResizeCallback?.();
8034
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(
8035
- Array.prototype.slice.call(l.value.getClientRects()).reduce((N, { top: w, bottom: L }) => {
8036
- const B = `${w}/${L}`;
8145
+ Array.prototype.slice.call(l.value.getClientRects()).reduce((N, { top: A, bottom: L }) => {
8146
+ const B = `${A}/${L}`;
8037
8147
  return N[B] || (N[B] = !0), N;
8038
8148
  }, {})
8039
8149
  ).length : 0, P = (...N) => {
8040
- const [w = 0, L = d.offset] = N;
8041
- if (L - w <= 3) {
8150
+ const [A = 0, L = d.offset] = N;
8151
+ if (L - A <= 3) {
8042
8152
  E();
8043
8153
  return;
8044
8154
  }
8045
- const B = Math.floor((L + w) / 2);
8046
- v(B), m() ? P(w, B) : P(B, L);
8155
+ const B = Math.floor((L + A) / 2);
8156
+ v(B), m() ? P(A, B) : P(B, L);
8047
8157
  }, v = (N) => {
8048
8158
  d.offset = N, _();
8049
8159
  }, E = () => {
@@ -8056,9 +8166,9 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8056
8166
  S(-1);
8057
8167
  }, S = (N) => {
8058
8168
  v(d.offset + N);
8059
- }, I = computed$1(() => e.text ? d.offset !== e.text.length : !1);
8169
+ }, k = computed$1(() => e.text ? d.offset !== e.text.length : !1);
8060
8170
  watch(
8061
- () => I.value,
8171
+ () => k.value,
8062
8172
  (N) => {
8063
8173
  setTimeout(() => {
8064
8174
  n("clamp-change", N);
@@ -8066,7 +8176,7 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8066
8176
  },
8067
8177
  { immediate: !0 }
8068
8178
  );
8069
- const x = computed$1(() => I.value ? C.value : e.text), C = computed$1(() => {
8179
+ const x = computed$1(() => k.value ? I.value : e.text), I = computed$1(() => {
8070
8180
  if (e.location === "start")
8071
8181
  return e.ellipsis + (e.text.slice(-d.offset) || "").trim();
8072
8182
  if (e.location === "middle") {
@@ -8078,7 +8188,7 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8078
8188
  d.localExpanded = !0;
8079
8189
  }, D = () => {
8080
8190
  d.localExpanded = !1;
8081
- }, A = () => {
8191
+ }, w = () => {
8082
8192
  d.localExpanded = !d.localExpanded;
8083
8193
  };
8084
8194
  return watch(
@@ -8092,7 +8202,7 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8092
8202
  N ? v(e.text.length) : p(), e.expanded !== N && n("update:expanded", N);
8093
8203
  }
8094
8204
  ), watch(
8095
- () => [e.maxLines, e.maxHeight, e.ellipsis, e.location, I.value].join(),
8205
+ () => [e.maxLines, e.maxHeight, e.ellipsis, e.location, k.value].join(),
8096
8206
  () => {
8097
8207
  nextTick(() => {
8098
8208
  p();
@@ -8109,7 +8219,7 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8109
8219
  g();
8110
8220
  }), onMounted(() => {
8111
8221
  y();
8112
- }), (N, w) => (openBlock(), createElementBlock("div", {
8222
+ }), (N, A) => (openBlock(), createElementBlock("div", {
8113
8223
  ref_key: "textClampRef",
8114
8224
  ref: r,
8115
8225
  class: "text-clamp",
@@ -8125,8 +8235,8 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8125
8235
  renderSlot(N.$slots, "before", {
8126
8236
  expand: R,
8127
8237
  collapse: D,
8128
- toggle: A,
8129
- clamped: I.value,
8238
+ toggle: w,
8239
+ clamped: k.value,
8130
8240
  expanded: d.localExpanded
8131
8241
  }),
8132
8242
  createBaseVNode("span", {
@@ -8137,14 +8247,14 @@ const _hoisted_1$a = ["aria-label"], _hoisted_2$7 = { key: 0 }, _hoisted_3$7 = {
8137
8247
  renderSlot(N.$slots, "after", {
8138
8248
  expand: R,
8139
8249
  collapse: D,
8140
- toggle: A,
8141
- clamped: I.value,
8250
+ toggle: w,
8251
+ clamped: k.value,
8142
8252
  expanded: d.localExpanded
8143
8253
  }, () => [
8144
- I.value || d.localExpanded ? (openBlock(), createElementBlock("button", {
8254
+ k.value || d.localExpanded ? (openBlock(), createElementBlock("button", {
8145
8255
  key: 0,
8146
8256
  class: "link",
8147
- onClick: w[0] || (w[0] = withModifiers((L) => A(), ["prevent"]))
8257
+ onClick: A[0] || (A[0] = withModifiers((L) => w(), ["prevent"]))
8148
8258
  }, [
8149
8259
  d.localExpanded ? (openBlock(), createElementBlock("span", _hoisted_3$7, toDisplayString(unref(t)("general.readLess")), 1)) : (openBlock(), createElementBlock("span", _hoisted_2$7, toDisplayString(unref(t)("general.readMore")), 1))
8150
8260
  ])) : createCommentVNode("", !0)
@@ -9013,24 +9123,24 @@ const _hoisted_1$3 = {
9013
9123
  amount: f,
9014
9124
  voucher: _,
9015
9125
  isLoading: p
9016
- } = storeToRefs(useApplyGiftCardStore()), { apply: y, reset: g } = useApplyGiftCardStore(), m = useSlots(), b = useModel(s, "discountCode"), P = s, v = computed$1(() => P.basePrice - P.weekendFee - P.roomUpgrade), E = ref("discount"), T = computed$1(() => E.value === "discount"), O = computed$1(() => E.value === "gift-card"), S = computed$1(() => !t.value || !e.value), I = computed$1(() => !t.value && !e.value), x = (C) => {
9017
- E.value = C;
9126
+ } = storeToRefs(useApplyGiftCardStore()), { apply: y, reset: g } = useApplyGiftCardStore(), m = useSlots(), b = useModel(s, "discountCode"), P = s, v = computed$1(() => P.basePrice - P.weekendFee - P.roomUpgrade), E = ref("discount"), T = computed$1(() => E.value === "discount"), O = computed$1(() => E.value === "gift-card"), S = computed$1(() => !t.value || !e.value), k = computed$1(() => !t.value && !e.value), x = (I) => {
9127
+ E.value = I;
9018
9128
  };
9019
9129
  return onMounted(() => {
9020
9130
  e.value && x("gift-card");
9021
- }), (C, R) => {
9131
+ }), (I, R) => {
9022
9132
  const D = resolveDirective("sticky");
9023
9133
  return openBlock(), createElementBlock("div", _hoisted_1$3, [
9024
9134
  createBaseVNode("div", {
9025
9135
  id: "konnectio-reservation-layout-content",
9026
9136
  class: normalizeClass([
9027
9137
  { "hide-aside-on-mobile": !unref(m).sidebar },
9028
- { "show-additional": C.notice || C.showGiftCard && S.value }
9138
+ { "show-additional": I.notice || I.showGiftCard && S.value }
9029
9139
  ])
9030
9140
  }, [
9031
9141
  createBaseVNode("div", _hoisted_2$2, [
9032
9142
  createBaseVNode("form", null, [
9033
- renderSlot(C.$slots, "form")
9143
+ renderSlot(I.$slots, "form")
9034
9144
  ])
9035
9145
  ]),
9036
9146
  createBaseVNode("aside", {
@@ -9048,15 +9158,15 @@ const _hoisted_1$3 = {
9048
9158
  default: withCtx(() => [
9049
9159
  unref(m).sidebar ? (openBlock(), createElementBlock("div", _hoisted_3$2, [
9050
9160
  createBaseVNode("div", _hoisted_4$2, [
9051
- renderSlot(C.$slots, "sidebar")
9161
+ renderSlot(I.$slots, "sidebar")
9052
9162
  ]),
9053
- C.notice ? (openBlock(), createElementBlock("div", _hoisted_5$2, [
9163
+ I.notice ? (openBlock(), createElementBlock("div", _hoisted_5$2, [
9054
9164
  createBaseVNode("p", {
9055
- innerHTML: C.notice,
9165
+ innerHTML: I.notice,
9056
9166
  class: "konnectio-wysiwyg"
9057
9167
  }, null, 8, _hoisted_6$2)
9058
9168
  ])) : createCommentVNode("", !0)
9059
- ])) : C.isSidebarLoading ? (openBlock(), createBlock(Sidebar, { key: 2 })) : (openBlock(), createElementBlock("div", _hoisted_7$2, [
9169
+ ])) : I.isSidebarLoading ? (openBlock(), createBlock(Sidebar, { key: 2 })) : (openBlock(), createElementBlock("div", _hoisted_7$2, [
9060
9170
  createBaseVNode("div", _hoisted_8$2, [
9061
9171
  createBaseVNode("ul", _hoisted_9$1, [
9062
9172
  unref(m)["reservation-summary"] ? (openBlock(), createElementBlock("div", _hoisted_10$1, [
@@ -9064,7 +9174,7 @@ const _hoisted_1$3 = {
9064
9174
  createBaseVNode("span", null, toDisplayString(unref(i)("general.reservationSummary")), 1)
9065
9175
  ]),
9066
9176
  createBaseVNode("ul", null, [
9067
- renderSlot(C.$slots, "reservation-summary")
9177
+ renderSlot(I.$slots, "reservation-summary")
9068
9178
  ])
9069
9179
  ])) : createCommentVNode("", !0),
9070
9180
  createBaseVNode("div", _hoisted_11$1, [
@@ -9072,26 +9182,26 @@ const _hoisted_1$3 = {
9072
9182
  createBaseVNode("span", null, toDisplayString(unref(i)("general.priceSummary")), 1)
9073
9183
  ]),
9074
9184
  createBaseVNode("ul", null, [
9075
- renderSlot(C.$slots, "price-summary"),
9185
+ renderSlot(I.$slots, "price-summary"),
9076
9186
  v.value > 0 ? (openBlock(), createElementBlock("li", _hoisted_12$1, [
9077
9187
  createBaseVNode("span", null, toDisplayString(unref(i)("booking.availability.basePrice")), 1),
9078
9188
  createBaseVNode("b", null, toDisplayString(unref(showPrice)(v.value, unref(r))), 1)
9079
9189
  ])) : createCommentVNode("", !0),
9080
- C.weekendFee > 0 ? (openBlock(), createElementBlock("li", _hoisted_13$1, [
9190
+ I.weekendFee > 0 ? (openBlock(), createElementBlock("li", _hoisted_13$1, [
9081
9191
  createBaseVNode("span", null, toDisplayString(unref(i)("general.weekendFee")), 1),
9082
- createBaseVNode("b", null, toDisplayString(unref(showPrice)(C.weekendFee, unref(r))), 1)
9192
+ createBaseVNode("b", null, toDisplayString(unref(showPrice)(I.weekendFee, unref(r))), 1)
9083
9193
  ])) : createCommentVNode("", !0),
9084
- C.roomUpgrade > 0 ? (openBlock(), createElementBlock("li", _hoisted_14$1, [
9194
+ I.roomUpgrade > 0 ? (openBlock(), createElementBlock("li", _hoisted_14$1, [
9085
9195
  createBaseVNode("span", null, toDisplayString(unref(i)("general.roomUpgrade")), 1),
9086
- createBaseVNode("b", null, toDisplayString(unref(showPrice)(C.roomUpgrade, unref(r))), 1)
9196
+ createBaseVNode("b", null, toDisplayString(unref(showPrice)(I.roomUpgrade, unref(r))), 1)
9087
9197
  ])) : createCommentVNode("", !0),
9088
- renderSlot(C.$slots, "expenses"),
9198
+ renderSlot(I.$slots, "expenses"),
9089
9199
  unref(f) !== 0 ? (openBlock(), createElementBlock("li", _hoisted_15$1, [
9090
9200
  createBaseVNode("span", null, [
9091
9201
  createBaseVNode("span", null, toDisplayString(unref(i)("booking.reservation.giftCardDiscount")), 1),
9092
9202
  createBaseVNode("a", {
9093
9203
  class: "resume-item-remove",
9094
- onClick: R[0] || (R[0] = withModifiers((A) => unref(g)(), ["prevent"]))
9204
+ onClick: R[0] || (R[0] = withModifiers((w) => unref(g)(), ["prevent"]))
9095
9205
  }, [
9096
9206
  createVNode(Icon, {
9097
9207
  icon: "times",
@@ -9107,30 +9217,30 @@ const _hoisted_1$3 = {
9107
9217
  createBaseVNode("li", null, [
9108
9218
  createBaseVNode("span", null, toDisplayString(unref(i)("booking.reservation.totalPrice")), 1),
9109
9219
  createBaseVNode("b", null, [
9110
- createBaseVNode("u", null, toDisplayString(unref(showPrice)(C.totalPrice, unref(r))), 1)
9220
+ createBaseVNode("u", null, toDisplayString(unref(showPrice)(I.totalPrice, unref(r))), 1)
9111
9221
  ])
9112
9222
  ])
9113
9223
  ])
9114
9224
  ]),
9115
- unref(m).actions && C.showTermsNotice ? renderSlot(C.$slots, "actions", { key: 1 }) : createCommentVNode("", !0),
9116
- renderSlot(C.$slots, "navigation"),
9117
- C.prevCallback !== void 0 ? (openBlock(), createBlock(Clickable, {
9225
+ unref(m).actions && I.showTermsNotice ? renderSlot(I.$slots, "actions", { key: 1 }) : createCommentVNode("", !0),
9226
+ renderSlot(I.$slots, "navigation"),
9227
+ I.prevCallback !== void 0 ? (openBlock(), createBlock(Clickable, {
9118
9228
  key: 2,
9119
9229
  class: "konnectio-abort-reservation",
9120
9230
  label: unref(i)("general.goAStepBack"),
9121
9231
  secondary: "",
9122
- onClickEvent: C.prevCallback
9232
+ onClickEvent: I.prevCallback
9123
9233
  }, null, 8, ["label", "onClickEvent"])) : createCommentVNode("", !0)
9124
9234
  ])
9125
9235
  ]),
9126
- C.showGiftCard && S.value ? (openBlock(), createElementBlock("div", _hoisted_16$1, [
9236
+ I.showGiftCard && S.value ? (openBlock(), createElementBlock("div", _hoisted_16$1, [
9127
9237
  createBaseVNode("div", _hoisted_17$1, [
9128
- I.value ? (openBlock(), createElementBlock("nav", _hoisted_18$1, [
9238
+ k.value ? (openBlock(), createElementBlock("nav", _hoisted_18$1, [
9129
9239
  createBaseVNode("ul", null, [
9130
9240
  createBaseVNode("li", null, [
9131
9241
  createBaseVNode("button", {
9132
9242
  class: normalizeClass({ active: T.value }),
9133
- onClick: R[1] || (R[1] = withModifiers((A) => x("discount"), ["prevent"]))
9243
+ onClick: R[1] || (R[1] = withModifiers((w) => x("discount"), ["prevent"]))
9134
9244
  }, [
9135
9245
  createBaseVNode("span", null, toDisplayString(unref(i)("general.discountCode")), 1)
9136
9246
  ], 2)
@@ -9138,7 +9248,7 @@ const _hoisted_1$3 = {
9138
9248
  createBaseVNode("li", null, [
9139
9249
  createBaseVNode("button", {
9140
9250
  class: normalizeClass({ active: O.value }),
9141
- onClick: R[2] || (R[2] = withModifiers((A) => x("gift-card"), ["prevent"]))
9251
+ onClick: R[2] || (R[2] = withModifiers((w) => x("gift-card"), ["prevent"]))
9142
9252
  }, [
9143
9253
  createBaseVNode("span", null, toDisplayString(unref(i)("booking.reservation.giftCardCode")), 1)
9144
9254
  ], 2)
@@ -9157,25 +9267,25 @@ const _hoisted_1$3 = {
9157
9267
  T.value ? (openBlock(), createBlock(ActionField, {
9158
9268
  key: 0,
9159
9269
  modelValue: b.value,
9160
- "onUpdate:modelValue": R[3] || (R[3] = (A) => b.value = A),
9270
+ "onUpdate:modelValue": R[3] || (R[3] = (w) => b.value = w),
9161
9271
  icon: "tags",
9162
9272
  "button-icon": "paper-plane-top",
9163
9273
  placeholder: unref(i)("general.discountCodePlaceholder"),
9164
9274
  action: "success",
9165
9275
  secondary: !0,
9166
9276
  "is-loading": unref(d).isValidatingDiscountCode,
9167
- onAction: R[4] || (R[4] = (A) => C.validateDiscountCode())
9277
+ onAction: R[4] || (R[4] = (w) => I.validateDiscountCode())
9168
9278
  }, null, 8, ["modelValue", "placeholder", "is-loading"])) : O.value ? (openBlock(), createBlock(ActionField, {
9169
9279
  key: 1,
9170
9280
  modelValue: unref(_),
9171
- "onUpdate:modelValue": R[5] || (R[5] = (A) => isRef(_) ? _.value = A : null),
9281
+ "onUpdate:modelValue": R[5] || (R[5] = (w) => isRef(_) ? _.value = w : null),
9172
9282
  icon: "gift-card",
9173
9283
  "button-icon": "paper-plane-top",
9174
9284
  placeholder: "XXXXXXXX",
9175
9285
  action: "success",
9176
9286
  secondary: !0,
9177
9287
  "is-loading": unref(p),
9178
- onAction: R[6] || (R[6] = (A) => unref(y)())
9288
+ onAction: R[6] || (R[6] = (w) => unref(y)())
9179
9289
  }, null, 8, ["modelValue", "is-loading"])) : createCommentVNode("", !0)
9180
9290
  ]),
9181
9291
  _: 1
@@ -9183,9 +9293,9 @@ const _hoisted_1$3 = {
9183
9293
  ])
9184
9294
  ])
9185
9295
  ])) : createCommentVNode("", !0),
9186
- C.notice && C.notice === "<br>" ? (openBlock(), createElementBlock("div", _hoisted_23, [
9296
+ I.notice && I.notice === "<br>" ? (openBlock(), createElementBlock("div", _hoisted_23, [
9187
9297
  createBaseVNode("p", {
9188
- innerHTML: C.notice,
9298
+ innerHTML: I.notice,
9189
9299
  class: "konnectio-wysiwyg"
9190
9300
  }, null, 8, _hoisted_24)
9191
9301
  ])) : createCommentVNode("", !0)
@@ -9206,25 +9316,25 @@ const _hoisted_1$3 = {
9206
9316
  createBaseVNode("h3", {
9207
9317
  title: unref(i)("booking.reservation.totalPrice")
9208
9318
  }, [
9209
- createBaseVNode("u", null, toDisplayString(unref(showPrice)(C.totalPrice, unref(r))), 1)
9319
+ createBaseVNode("u", null, toDisplayString(unref(showPrice)(I.totalPrice, unref(r))), 1)
9210
9320
  ], 8, _hoisted_31),
9211
9321
  createBaseVNode("div", _hoisted_32, [
9212
- renderSlot(C.$slots, "mobile-under-price")
9322
+ renderSlot(I.$slots, "mobile-under-price")
9213
9323
  ])
9214
9324
  ]),
9215
9325
  unref(m)["mobile-summary"] ? (openBlock(), createElementBlock("div", _hoisted_33, [
9216
- renderSlot(C.$slots, "mobile-summary")
9326
+ renderSlot(I.$slots, "mobile-summary")
9217
9327
  ])) : createCommentVNode("", !0),
9218
9328
  unref(m).navigation ? (openBlock(), createElementBlock("div", _hoisted_34, [
9219
- renderSlot(C.$slots, "navigation"),
9220
- C.prevCallback !== void 0 ? (openBlock(), createBlock(Clickable, {
9329
+ renderSlot(I.$slots, "navigation"),
9330
+ I.prevCallback !== void 0 ? (openBlock(), createBlock(Clickable, {
9221
9331
  key: 0,
9222
9332
  class: "konnectio-abort-reservation",
9223
9333
  label: unref(i)("general.goAStepBack"),
9224
9334
  secondary: "",
9225
- onClickEvent: C.prevCallback
9335
+ onClickEvent: I.prevCallback
9226
9336
  }, null, 8, ["label", "onClickEvent"])) : createCommentVNode("", !0),
9227
- unref(m).actions && C.showTermsNotice ? renderSlot(C.$slots, "actions", { key: 1 }) : createCommentVNode("", !0)
9337
+ unref(m).actions && I.showTermsNotice ? renderSlot(I.$slots, "actions", { key: 1 }) : createCommentVNode("", !0)
9228
9338
  ])) : createCommentVNode("", !0)
9229
9339
  ])
9230
9340
  ])
@@ -9750,12 +9860,12 @@ function requireGetSize() {
9750
9860
  var E = r[v], T = m[E], O = parseFloat(T);
9751
9861
  b[E] = isNaN(O) ? 0 : O;
9752
9862
  }
9753
- var S = b.paddingLeft + b.paddingRight, I = b.paddingTop + b.paddingBottom, x = b.marginLeft + b.marginRight, C = b.marginTop + b.marginBottom, R = b.borderLeftWidth + b.borderRightWidth, D = b.borderTopWidth + b.borderBottomWidth, A = P && _, N = t(m.width);
9863
+ var S = b.paddingLeft + b.paddingRight, k = b.paddingTop + b.paddingBottom, x = b.marginLeft + b.marginRight, I = b.marginTop + b.marginBottom, R = b.borderLeftWidth + b.borderRightWidth, D = b.borderTopWidth + b.borderBottomWidth, w = P && _, N = t(m.width);
9754
9864
  N !== !1 && (b.width = N + // add padding and border unless it's already including it
9755
- (A ? 0 : S + R));
9756
- var w = t(m.height);
9757
- return w !== !1 && (b.height = w + // add padding and border unless it's already including it
9758
- (A ? 0 : I + D)), b.innerWidth = b.width - (S + R), b.innerHeight = b.height - (I + D), b.outerWidth = b.width + x, b.outerHeight = b.height + C, b;
9865
+ (w ? 0 : S + R));
9866
+ var A = t(m.height);
9867
+ return A !== !1 && (b.height = A + // add padding and border unless it's already including it
9868
+ (w ? 0 : k + D)), b.innerWidth = b.width - (S + R), b.innerHeight = b.height - (k + D), b.outerWidth = b.width + x, b.outerHeight = b.height + I, b;
9759
9869
  }
9760
9870
  }
9761
9871
  return y;
@@ -9933,13 +10043,13 @@ function requireItem() {
9933
10043
  v[T] = P[E];
9934
10044
  }
9935
10045
  }, p.getPosition = function() {
9936
- 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), I = parseFloat(O), x = this.layout.size;
9937
- T.indexOf("%") != -1 && (S = S / 100 * x.width), O.indexOf("%") != -1 && (I = I / 100 * x.height), S = isNaN(S) ? 0 : S, I = isNaN(I) ? 0 : I, S -= v ? x.paddingLeft : x.paddingRight, I -= E ? x.paddingTop : x.paddingBottom, this.position.x = S, this.position.y = I;
10046
+ 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), x = this.layout.size;
10047
+ T.indexOf("%") != -1 && (S = S / 100 * x.width), O.indexOf("%") != -1 && (k = k / 100 * x.height), S = isNaN(S) ? 0 : S, k = isNaN(k) ? 0 : k, S -= v ? x.paddingLeft : x.paddingRight, k -= E ? x.paddingTop : x.paddingBottom, this.position.x = S, this.position.y = k;
9938
10048
  }, p.layoutPosition = function() {
9939
- var P = this.layout.size, v = {}, E = this.layout._getOption("originLeft"), T = this.layout._getOption("originTop"), O = E ? "paddingLeft" : "paddingRight", S = E ? "left" : "right", I = E ? "right" : "left", x = this.position.x + P[O];
9940
- v[S] = this.getXValue(x), v[I] = "";
9941
- var C = T ? "paddingTop" : "paddingBottom", R = T ? "top" : "bottom", D = T ? "bottom" : "top", A = this.position.y + P[C];
9942
- v[R] = this.getYValue(A), v[D] = "", this.css(v), this.emitEvent("layout", [this]);
10049
+ 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", x = this.position.x + P[O];
10050
+ v[S] = this.getXValue(x), v[k] = "";
10051
+ var I = T ? "paddingTop" : "paddingBottom", R = T ? "top" : "bottom", D = T ? "bottom" : "top", w = this.position.y + P[I];
10052
+ v[R] = this.getYValue(w), v[D] = "", this.css(v), this.emitEvent("layout", [this]);
9943
10053
  }, p.getXValue = function(P) {
9944
10054
  var v = this.layout._getOption("horizontal");
9945
10055
  return this.layout.options.percentPosition && !v ? P / this.layout.size.width * 100 + "%" : P + "px";
@@ -9953,8 +10063,8 @@ function requireItem() {
9953
10063
  this.layoutPosition();
9954
10064
  return;
9955
10065
  }
9956
- var S = P - E, I = v - T, x = {};
9957
- x.transform = this.getTranslate(S, I), this.transition({
10066
+ var S = P - E, k = v - T, x = {};
10067
+ x.transform = this.getTranslate(S, k), this.transition({
9958
10068
  to: x,
9959
10069
  onTransitionEnd: {
9960
10070
  transform: this.layoutPosition
@@ -10166,7 +10276,7 @@ function requireOutlayer() {
10166
10276
  this.items = this._itemize(this.element.children);
10167
10277
  }, g._itemize = function(v) {
10168
10278
  for (var E = this._filterFindItemElements(v), T = this.constructor.Item, O = [], S = 0; S < E.length; S++) {
10169
- var I = E[S], x = new T(I, this);
10279
+ var k = E[S], x = new T(k, this);
10170
10280
  O.push(x);
10171
10281
  }
10172
10282
  return O;
@@ -10242,12 +10352,12 @@ function requireOutlayer() {
10242
10352
  O();
10243
10353
  return;
10244
10354
  }
10245
- var I = 0;
10355
+ var k = 0;
10246
10356
  function x() {
10247
- I++, I == S && O();
10357
+ k++, k == S && O();
10248
10358
  }
10249
- E.forEach(function(C) {
10250
- C.once(v, x);
10359
+ E.forEach(function(I) {
10360
+ I.once(v, x);
10251
10361
  });
10252
10362
  }, g.dispatchEvent = function(v, E, T) {
10253
10363
  var O = E ? [E].concat(T) : T;
@@ -10729,4 +10839,4 @@ export {
10729
10839
  StickyPlugin as a,
10730
10840
  ListingSkeleton as b
10731
10841
  };
10732
- //# sourceMappingURL=masonry.plugin-HXszJPJo.js.map
10842
+ //# sourceMappingURL=masonry.plugin-DlwFce-7.js.map