ire-preview 3.2.43 → 3.2.44

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.
package/dist/lib.es.js CHANGED
@@ -113,8 +113,8 @@ function createSetupStore(Be, _e, ke = {}, $e, Ne, Ve) {
113
113
  }
114
114
  const Ue = Ve ? function() {
115
115
  const { state: Ze } = ke, ti = Ze ? Ze() : {};
116
- this.$patch((Je) => {
117
- assign(Je, ti);
116
+ this.$patch((Qe) => {
117
+ assign(Qe, ti);
118
118
  });
119
119
  } : (
120
120
  /* istanbul ignore next */
@@ -128,7 +128,7 @@ function createSetupStore(Be, _e, ke = {}, $e, Ne, Ve) {
128
128
  return Ge[ACTION_NAME] = Ze, Ge;
129
129
  const ti = function() {
130
130
  setActivePinia($e);
131
- const Je = Array.from(arguments), ni = /* @__PURE__ */ new Set(), oi = /* @__PURE__ */ new Set();
131
+ const Qe = Array.from(arguments), ni = /* @__PURE__ */ new Set(), oi = /* @__PURE__ */ new Set();
132
132
  function ri(li) {
133
133
  ni.add(li);
134
134
  }
@@ -136,15 +136,15 @@ function createSetupStore(Be, _e, ke = {}, $e, Ne, Ve) {
136
136
  oi.add(li);
137
137
  }
138
138
  triggerSubscriptions(je, {
139
- args: Je,
139
+ args: Qe,
140
140
  name: ti[ACTION_NAME],
141
- store: Qe,
141
+ store: Je,
142
142
  after: ri,
143
143
  onError: si
144
144
  });
145
145
  let ai;
146
146
  try {
147
- ai = Ge.apply(this && this.$id === Be ? this : Qe, Je);
147
+ ai = Ge.apply(this && this.$id === Be ? this : Je, Qe);
148
148
  } catch (li) {
149
149
  throw triggerSubscriptions(oi, li), li;
150
150
  }
@@ -159,7 +159,7 @@ function createSetupStore(Be, _e, ke = {}, $e, Ne, Ve) {
159
159
  $patch: qe,
160
160
  $reset: Ue,
161
161
  $subscribe(Ge, Ze = {}) {
162
- const ti = addSubscription(ze, Ge, Ze.detached, () => Je()), Je = De.run(() => watch(() => $e.state.value[Be], (ni) => {
162
+ const ti = addSubscription(ze, Ge, Ze.detached, () => Qe()), Qe = De.run(() => watch(() => $e.state.value[Be], (ni) => {
163
163
  (Ze.flush === "sync" ? Ae : Ie) && Ge({
164
164
  storeId: Be,
165
165
  type: MutationType.direct,
@@ -169,8 +169,8 @@ function createSetupStore(Be, _e, ke = {}, $e, Ne, Ve) {
169
169
  return ti;
170
170
  },
171
171
  $dispose: Ye
172
- }, Qe = reactive(Xe);
173
- $e._s.set(Be, Qe);
172
+ }, Je = reactive(Xe);
173
+ $e._s.set(Be, Je);
174
174
  const ei = ($e._a && $e._a.runWithContext || fallbackRunWithContext)(() => $e._e.run(() => (De = effectScope()).run(() => _e({ action: Ke }))));
175
175
  for (const Ge in ei) {
176
176
  const Ze = ei[Ge];
@@ -181,7 +181,7 @@ function createSetupStore(Be, _e, ke = {}, $e, Ne, Ve) {
181
181
  ei[Ge] = ti, Le.actions[Ge] = Ze;
182
182
  }
183
183
  }
184
- return assign(Qe, ei), assign(toRaw(Qe), ei), Object.defineProperty(Qe, "$state", {
184
+ return assign(Je, ei), assign(toRaw(Je), ei), Object.defineProperty(Je, "$state", {
185
185
  get: () => $e.state.value[Be],
186
186
  set: (Ge) => {
187
187
  qe((Ze) => {
@@ -189,13 +189,13 @@ function createSetupStore(Be, _e, ke = {}, $e, Ne, Ve) {
189
189
  });
190
190
  }
191
191
  }), $e._p.forEach((Ge) => {
192
- assign(Qe, De.run(() => Ge({
193
- store: Qe,
192
+ assign(Je, De.run(() => Ge({
193
+ store: Je,
194
194
  app: $e._a,
195
195
  pinia: $e,
196
196
  options: Le
197
197
  })));
198
- }), He && Ve && ke.hydrate && ke.hydrate(Qe.$state, He), Ie = !0, Ae = !0, Qe;
198
+ }), He && Ve && ke.hydrate && ke.hydrate(Je.$state, He), Ie = !0, Ae = !0, Je;
199
199
  }
200
200
  /*! #__NO_SIDE_EFFECTS__ */
201
201
  // @__NO_SIDE_EFFECTS__
@@ -227,10 +227,10 @@ function storeToRefs(Be) {
227
227
  return ke;
228
228
  }
229
229
  const useGlobalStore = /* @__PURE__ */ defineStore("global", () => {
230
- var We, qe, Ue, Ye, Ke, Xe, Qe, ii;
230
+ var We, qe, Ue, Ye, Ke, Xe, Je, ii;
231
231
  const Be = ref(), _e = ref("1"), ke = ref(), $e = ref(), Ne = (ei) => {
232
232
  var Ge, Ze, ti;
233
- return ((ti = (Ze = (Ge = ke.value) == null ? void 0 : Ge.meta) == null ? void 0 : Ze.find((Je) => (Je == null ? void 0 : Je.meta_key) === ei)) == null ? void 0 : ti.meta_value) || "";
233
+ return ((ti = (Ze = (Ge = ke.value) == null ? void 0 : Ge.meta) == null ? void 0 : Ze.find((Qe) => (Qe == null ? void 0 : Qe.meta_key) === ei)) == null ? void 0 : ti.meta_value) || "";
234
234
  }, Ve = ref({
235
235
  PREVIEW_PATH_COLOR: Ne("path_color") || "rgba(255, 255, 255, 0.3)",
236
236
  PREVIEW_PATH_HOVER_COLOR: Ne("path_hover_color") || "rgba(250, 250, 250, 0.54)",
@@ -247,13 +247,13 @@ const useGlobalStore = /* @__PURE__ */ defineStore("global", () => {
247
247
  sold: (Ye = Ve.value) == null ? void 0 : Ye.PREVIEW_SOLD_COLOR,
248
248
  stroke_color: (Ke = Ve.value) == null ? void 0 : Ke.PREVIEW_STROKE_COLOR,
249
249
  primary_color: (Xe = Ve.value) == null ? void 0 : Xe.PREVIEW_PRIMARY_COLOR,
250
- stroke_width: (Qe = Ve.value) == null ? void 0 : Qe.PREVIEW_STROKE_WIDTH,
250
+ stroke_width: (Je = Ve.value) == null ? void 0 : Je.PREVIEW_STROKE_WIDTH,
251
251
  border_radius: (ii = Ve.value) == null ? void 0 : ii.PREVIEW_BORDER_RADIUS
252
252
  }), Le = computed$1(() => {
253
253
  var ei;
254
254
  return (ei = ke.value) == null ? void 0 : ei.flats.map((Ge) => {
255
- var ti, Je;
256
- const Ze = Ge != null && Ge.use_type || !(Ge != null && Ge.type) ? ((Je = (ti = ke.value) == null ? void 0 : ti.types) == null ? void 0 : Je.find((ni) => ni.id === (Ge == null ? void 0 : Ge.type_id))) ?? (Ge == null ? void 0 : Ge.type) : Ge == null ? void 0 : Ge.type;
255
+ var ti, Qe;
256
+ const Ze = Ge != null && Ge.use_type || !(Ge != null && Ge.type) ? ((Qe = (ti = ke.value) == null ? void 0 : ti.types) == null ? void 0 : Qe.find((ni) => ni.id === (Ge == null ? void 0 : Ge.type_id))) ?? (Ge == null ? void 0 : Ge.type) : Ge == null ? void 0 : Ge.type;
257
257
  return { ...Ge, type: Ze };
258
258
  });
259
259
  }), Re = computed$1(() => Ne("open_reserved_flat") === "true"), Ie = computed$1(() => Ne("open_sold_flat") === "true"), Ae = computed$1(() => Ne("price_rounded") === "true"), ze = computed$1(() => {
@@ -279,8 +279,8 @@ const useGlobalStore = /* @__PURE__ */ defineStore("global", () => {
279
279
  return (ei = ke.value) == null ? void 0 : ei.meta;
280
280
  },
281
281
  () => {
282
- const ei = Ne("path_color"), Ge = Ne("path_hover_color"), Ze = Ne("reserved_color"), ti = Ne("sold_color"), Je = Ne("stroke_color"), ni = Ne("primary_color"), oi = Ne("stroke_width"), ri = Ne("border_radius");
283
- ei && (De.path = ei.toString()), Ge && (De.path_hover = Ge.toString()), Ze && (De.reserved = Ze.toString()), ti && (De.sold = ti.toString()), Je && (De.stroke_color = Je.toString()), Je && (De.stroke_color = Je.toString()), ni && (De.primary_color = ni.toString()), De.stroke_width = Number(oi) || 1, De.border_radius = Number(ri) || 0;
282
+ const ei = Ne("path_color"), Ge = Ne("path_hover_color"), Ze = Ne("reserved_color"), ti = Ne("sold_color"), Qe = Ne("stroke_color"), ni = Ne("primary_color"), oi = Ne("stroke_width"), ri = Ne("border_radius");
283
+ ei && (De.path = ei.toString()), Ge && (De.path_hover = Ge.toString()), Ze && (De.reserved = Ze.toString()), ti && (De.sold = ti.toString()), Qe && (De.stroke_color = Qe.toString()), Qe && (De.stroke_color = Qe.toString()), ni && (De.primary_color = ni.toString()), De.stroke_width = Number(oi) || 1, De.border_radius = Number(ri) || 0;
284
284
  },
285
285
  { deep: !0 }
286
286
  ), {
@@ -598,25 +598,25 @@ const tr = (Be) => {
598
598
  }, _hoisted_1$G = {
599
599
  key: 0,
600
600
  class: "irep-tooltip-1 ire-pointer-events-none ire-absolute !ire-bottom-10 !ire-right-10 ire-w-fit ire-select-none ire-rounded-lg ire-border ire-bg-white ire-p-4 ire-text-black"
601
- }, _hoisted_2$n = {
601
+ }, _hoisted_2$m = {
602
602
  key: 0,
603
603
  class: "irep-tooltip-1__floor ire-flex ire-items-center ire-gap-3"
604
- }, _hoisted_3$l = { class: "ire-flex ire-flex-col ire-items-center" }, _hoisted_4$f = { class: "irep-tooltip-1__floor-number !ire-text-2xl" }, _hoisted_5$b = { class: "irep-tooltip-1__floor-text !ire-text-sm ire-uppercase" }, _hoisted_6$9 = {
604
+ }, _hoisted_3$k = { class: "ire-flex ire-flex-col ire-items-center" }, _hoisted_4$f = { class: "irep-tooltip-1__floor-number !ire-text-2xl" }, _hoisted_5$b = { class: "irep-tooltip-1__floor-text !ire-text-sm ire-uppercase" }, _hoisted_6$9 = {
605
605
  key: 0,
606
606
  class: "ire-rounded-lg ire-bg-gray-100 ire-p-6"
607
607
  }, _hoisted_7$7 = {
608
608
  key: 0,
609
609
  class: "irep-tooltip-1__floor-conf !ire-text-2xl"
610
- }, _hoisted_8$5 = { key: 1 }, _hoisted_9$5 = {
610
+ }, _hoisted_8$5 = { key: 1 }, _hoisted_9$4 = {
611
611
  key: 0,
612
612
  class: "irep-tooltip-1__floor-status ire-flex ire-items-center ire-gap-2"
613
- }, _hoisted_10$5 = { class: "irep-tooltip-1__floor-status-value ire-min-w-3 !ire-text-2xl" }, _hoisted_11$4 = { class: "irep-tooltip-1__floor-status-text !ire-text-sm ire-uppercase" }, _hoisted_12$4 = {
613
+ }, _hoisted_10$4 = { class: "irep-tooltip-1__floor-status-value ire-min-w-3 !ire-text-2xl" }, _hoisted_11$4 = { class: "irep-tooltip-1__floor-status-text !ire-text-sm ire-uppercase" }, _hoisted_12$4 = {
614
614
  key: 1,
615
615
  class: "irep-tooltip-1__floor-status ire-flex ire-items-center ire-gap-2"
616
616
  }, _hoisted_13$3 = { class: "irep-tooltip-1__floor-status-value min-w-3 !ire-text-2xl" }, _hoisted_14$2 = { class: "irep-tooltip-1__floor-status-text !ire-text-sm ire-uppercase" }, _hoisted_15$2 = {
617
617
  key: 2,
618
618
  class: "irep-tooltip-1__floor-status ire-flex ire-items-center ire-gap-2"
619
- }, _hoisted_16$2 = { class: "irep-tooltip-1__floor-status-value ire-min-w-3 !ire-text-2xl" }, _hoisted_17$2 = { class: "irep-tooltip-1__floor-status-text !ire-text-sm ire-uppercase" }, _hoisted_18$2 = {
619
+ }, _hoisted_16$2 = { class: "irep-tooltip-1__floor-status-value ire-min-w-3 !ire-text-2xl" }, _hoisted_17$1 = { class: "irep-tooltip-1__floor-status-text !ire-text-sm ire-uppercase" }, _hoisted_18$1 = {
620
620
  key: 1,
621
621
  class: "irep-tooltip-1__block ire-flex ire-items-center ire-gap-3"
622
622
  }, _hoisted_19$1 = { class: "ire-flex ire-flex-col ire-items-center" }, _hoisted_20$1 = { class: "irep-tooltip-1__block-conf text-sm ire-text-gray-700" }, _hoisted_21$1 = { class: "irep-tooltip-1__block-title !text-2xl" }, _hoisted_22$1 = {
@@ -645,18 +645,18 @@ const tr = (Be) => {
645
645
  return ($e, Ne) => (openBlock(), createElementBlock("div", null, [
646
646
  createVNode(Transition, { name: "ire-fade-in-out" }, {
647
647
  default: withCtx(() => {
648
- var Ve, De, Le, Re, Ie, Ae, ze, je, Fe, He, We, qe, Ue, Ye, Ke, Xe, Qe, ii, ei, Ge, Ze, ti, Je, ni, oi;
648
+ var Ve, De, Le, Re, Ie, Ae, ze, je, Fe, He, We, qe, Ue, Ye, Ke, Xe, Je, ii, ei, Ge, Ze, ti, Qe, ni, oi;
649
649
  return [
650
650
  Be.type && Be.hoveredData && Be.type !== "tooltip" ? (openBlock(), createElementBlock("div", _hoisted_1$G, [
651
- Be.type === "floor" ? (openBlock(), createElementBlock("div", _hoisted_2$n, [
652
- createElementVNode("div", _hoisted_3$l, [
651
+ Be.type === "floor" ? (openBlock(), createElementBlock("div", _hoisted_2$m, [
652
+ createElementVNode("div", _hoisted_3$k, [
653
653
  createElementVNode("div", _hoisted_4$f, toDisplayString((Ve = Be.hoveredData) == null ? void 0 : Ve.floor_number), 1),
654
654
  createElementVNode("div", _hoisted_5$b, toDisplayString(unref(tr)("floor")), 1)
655
655
  ]),
656
656
  (De = Be.hoveredData) != null && De.conf || (Re = (Le = Be.hoveredData) == null ? void 0 : Le.flats) != null && Re.length ? (openBlock(), createElementBlock("div", _hoisted_6$9, [
657
657
  ke.value ? (openBlock(), createElementBlock("div", _hoisted_7$7, toDisplayString(ke.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_8$5, [
658
- (Ae = (Ie = Be.hoveredData) == null ? void 0 : Ie.counts) != null && Ae.available ? (openBlock(), createElementBlock("div", _hoisted_9$5, [
659
- createElementVNode("div", _hoisted_10$5, toDisplayString(((je = (ze = Be.hoveredData) == null ? void 0 : ze.counts) == null ? void 0 : je.available) || 0), 1),
658
+ (Ae = (Ie = Be.hoveredData) == null ? void 0 : Ie.counts) != null && Ae.available ? (openBlock(), createElementBlock("div", _hoisted_9$4, [
659
+ createElementVNode("div", _hoisted_10$4, toDisplayString(((je = (ze = Be.hoveredData) == null ? void 0 : ze.counts) == null ? void 0 : je.available) || 0), 1),
660
660
  createElementVNode("div", _hoisted_11$4, toDisplayString(unref(tr)("available")), 1)
661
661
  ])) : createCommentVNode("", !0),
662
662
  (He = (Fe = Be.hoveredData) == null ? void 0 : Fe.counts) != null && He.reserved ? (openBlock(), createElementBlock("div", _hoisted_12$4, [
@@ -665,14 +665,14 @@ const tr = (Be) => {
665
665
  ])) : createCommentVNode("", !0),
666
666
  (Ye = (Ue = Be.hoveredData) == null ? void 0 : Ue.counts) != null && Ye.sold ? (openBlock(), createElementBlock("div", _hoisted_15$2, [
667
667
  createElementVNode("div", _hoisted_16$2, toDisplayString((Xe = (Ke = Be.hoveredData) == null ? void 0 : Ke.counts) == null ? void 0 : Xe.sold), 1),
668
- createElementVNode("div", _hoisted_17$2, toDisplayString(unref(tr)("sold")), 1)
668
+ createElementVNode("div", _hoisted_17$1, toDisplayString(unref(tr)("sold")), 1)
669
669
  ])) : createCommentVNode("", !0)
670
670
  ]))
671
671
  ])) : createCommentVNode("", !0)
672
- ])) : Be.type === "block" ? (openBlock(), createElementBlock("div", _hoisted_18$2, [
672
+ ])) : Be.type === "block" ? (openBlock(), createElementBlock("div", _hoisted_18$1, [
673
673
  createElementVNode("div", _hoisted_19$1, [
674
674
  createElementVNode("span", _hoisted_20$1, toDisplayString(ke.value), 1),
675
- createElementVNode("div", _hoisted_21$1, toDisplayString((Qe = Be.hoveredData) == null ? void 0 : Qe.title), 1)
675
+ createElementVNode("div", _hoisted_21$1, toDisplayString((Je = Be.hoveredData) == null ? void 0 : Je.title), 1)
676
676
  ])
677
677
  ])) : Be.type === "flat" ? (openBlock(), createElementBlock("div", _hoisted_22$1, [
678
678
  createElementVNode("div", _hoisted_23$1, [
@@ -690,7 +690,7 @@ const tr = (Be) => {
690
690
  createElementVNode("span", null, toDisplayString(unref(currencySymbol)()), 1)
691
691
  ]),
692
692
  createElementVNode("div", _hoisted_34$1, [
693
- createTextVNode(toDisplayString(unref(getPrice)((Je = Be.hoveredData) == null ? void 0 : Je.offer_price)) + " ", 1),
693
+ createTextVNode(toDisplayString(unref(getPrice)((Qe = Be.hoveredData) == null ? void 0 : Qe.offer_price)) + " ", 1),
694
694
  createElementVNode("span", null, toDisplayString(unref(currencySymbol)()), 1)
695
695
  ])
696
696
  ])) : (openBlock(), createElementBlock("div", _hoisted_31$1, [
@@ -784,16 +784,16 @@ function _sfc_render$f(Be, _e) {
784
784
  const MoneyBag = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$f]]), _hoisted_1$C = {
785
785
  key: 0,
786
786
  class: "irep-tooltip-2__floor ire-flex ire-flex-col ire-items-center !ire-text-sm"
787
- }, _hoisted_2$m = { class: "ire-flex ire-w-full ire-items-center ire-justify-evenly ire-p-4" }, _hoisted_3$k = { class: "irep-tooltip-2__floor-number ire-text-3xl ire-capitalize" }, _hoisted_4$e = {
787
+ }, _hoisted_2$l = { class: "ire-flex ire-w-full ire-items-center ire-justify-evenly ire-p-4" }, _hoisted_3$j = { class: "irep-tooltip-2__floor-number ire-text-3xl ire-capitalize" }, _hoisted_4$e = {
788
788
  key: 0,
789
789
  class: "irep-tooltip-2__floor-conf ire-text-2xl ire-uppercase"
790
- }, _hoisted_5$a = { key: 1 }, _hoisted_6$8 = { class: "irep-tooltip-2__floor-starting ire-text-sm ire-text-gray-400" }, _hoisted_7$6 = { class: "irep-tooltip-2__floor-price" }, _hoisted_8$4 = { class: "ire-right-[2px] ire-text-gray-200" }, _hoisted_9$4 = { class: "ire-flex ire-items-center ire-justify-between ire-gap-2 ire-bg-gray-800 ire-p-2" }, _hoisted_10$4 = { class: "irep-tooltip-2__floor-status ire-flex ire-gap-1 ire-text-center ire-text-sm" }, _hoisted_11$3 = { class: "irep-tooltip-2__floor-status ire-flex ire-gap-1 ire-text-center ire-text-sm" }, _hoisted_12$3 = { class: "irep-tooltip-2__floor-status ire-flex ire-gap-1 ire-text-center ire-text-sm" }, _hoisted_13$2 = {
790
+ }, _hoisted_5$a = { key: 1 }, _hoisted_6$8 = { class: "irep-tooltip-2__floor-starting ire-text-sm ire-text-gray-400" }, _hoisted_7$6 = { class: "irep-tooltip-2__floor-price" }, _hoisted_8$4 = { class: "ire-right-[2px] ire-text-gray-200" }, _hoisted_9$3 = { class: "ire-flex ire-items-center ire-justify-between ire-gap-2 ire-bg-gray-800 ire-p-2" }, _hoisted_10$3 = { class: "irep-tooltip-2__floor-status ire-flex ire-gap-1 ire-text-center ire-text-sm" }, _hoisted_11$3 = { class: "irep-tooltip-2__floor-status ire-flex ire-gap-1 ire-text-center ire-text-sm" }, _hoisted_12$3 = { class: "irep-tooltip-2__floor-status ire-flex ire-gap-1 ire-text-center ire-text-sm" }, _hoisted_13$2 = {
791
791
  key: 1,
792
792
  class: "irep-tooltip-2__block ire-flex ire-items-center ire-gap-3 ire-p-4 !ire-text-sm"
793
- }, _hoisted_14$1 = { class: "ire-flex ire-w-max ire-flex-col ire-items-center" }, _hoisted_15$1 = { class: "irep-tooltip-2__block-title" }, _hoisted_16$1 = { class: "irep-tooltip-2__block-conf ire-text-gray-300 ire-opacity-80" }, _hoisted_17$1 = {
793
+ }, _hoisted_14$1 = { class: "ire-flex ire-w-max ire-flex-col ire-items-center" }, _hoisted_15$1 = { class: "irep-tooltip-2__block-title" }, _hoisted_16$1 = { class: "irep-tooltip-2__block-conf ire-text-gray-300 ire-opacity-80" }, _hoisted_17 = {
794
794
  key: 2,
795
795
  class: "irep-tooltip-2__flat ire-flex ire-w-full ire-max-w-[300px] ire-flex-col ire-items-center ire-gap-1"
796
- }, _hoisted_18$1 = { class: "ire-flex ire-flex-col ire-items-center ire-gap-4 ire-p-4" }, _hoisted_19 = { class: "irep-tooltip-2__flat-number ire-text-center ire-text-lg ire-capitalize" }, _hoisted_20 = { class: "ire-grid ire-grid-cols-2 ire-gap-x-8 ire-gap-y-2" }, _hoisted_21 = { class: "ire-flex ire-items-center ire-gap-1" }, _hoisted_22 = { class: "ire-flex ire-items-center ire-justify-center" }, _hoisted_23 = {
796
+ }, _hoisted_18 = { class: "ire-flex ire-flex-col ire-items-center ire-gap-4 ire-p-4" }, _hoisted_19 = { class: "irep-tooltip-2__flat-number ire-text-center ire-text-lg ire-capitalize" }, _hoisted_20 = { class: "ire-grid ire-grid-cols-2 ire-gap-x-8 ire-gap-y-2" }, _hoisted_21 = { class: "ire-flex ire-items-center ire-gap-1" }, _hoisted_22 = { class: "ire-flex ire-items-center ire-justify-center" }, _hoisted_23 = {
797
797
  key: 0,
798
798
  class: "irep-tooltip-2__flat-conf ire-uppercase"
799
799
  }, _hoisted_24 = { key: 1 }, _hoisted_25 = { key: 0 }, _hoisted_26 = { class: "ire-text-sm ire-line-through" }, _hoisted_27 = { class: "irep-tooltip-2__flat-price ire-flex ire-gap-1 ire-text-center" }, _hoisted_28 = { class: "ire-right-[2px]" }, _hoisted_29 = {
@@ -821,7 +821,7 @@ const MoneyBag = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_rende
821
821
  return tr((Ve = _e.hoveredData) == null ? void 0 : Ve.conf);
822
822
  });
823
823
  return (Ve, De) => {
824
- var Le, Re, Ie, Ae, ze, je, Fe, He, We, qe, Ue, Ye, Ke, Xe, Qe, ii, ei, Ge, Ze, ti, Je, ni, oi, ri, si, ai, li, di, ci, ui, hi, fi;
824
+ var Le, Re, Ie, Ae, ze, je, Fe, He, We, qe, Ue, Ye, Ke, Xe, Je, ii, ei, Ge, Ze, ti, Qe, ni, oi, ri, si, ai, li, di, ci, ui, hi, fi;
825
825
  return Be.type && Be.hoveredData && Be.type !== "tooltip" ? (openBlock(), createElementBlock("div", {
826
826
  key: 0,
827
827
  class: normalizeClass(["ire-pointer-events-none ire-absolute ire-select-none", {
@@ -838,8 +838,8 @@ const MoneyBag = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_rende
838
838
  class: normalizeClass(["irep-tooltip irep-tooltip-2 ire-flex ire-origin-top ire-items-center ire-justify-center ire-bg-black ire-text-white ire-transition-transform ire-duration-500 ire-ease-in-out", { "": Be.mouseTrack }])
839
839
  }, [
840
840
  Be.type === "floor" ? (openBlock(), createElementBlock("div", _hoisted_1$C, [
841
- createElementVNode("div", _hoisted_2$m, [
842
- createElementVNode("div", _hoisted_3$k, toDisplayString((Le = Be.hoveredData) == null ? void 0 : Le.floor_number), 1),
841
+ createElementVNode("div", _hoisted_2$l, [
842
+ createElementVNode("div", _hoisted_3$j, toDisplayString((Le = Be.hoveredData) == null ? void 0 : Le.floor_number), 1),
843
843
  De[0] || (De[0] = createElementVNode("span", null, "|", -1)),
844
844
  Ne.value ? (openBlock(), createElementBlock("div", _hoisted_4$e, toDisplayString(Ne.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_5$a, [
845
845
  createElementVNode("div", _hoisted_6$8, toDisplayString(unref(tr)("starting from")) + ": ", 1),
@@ -849,8 +849,8 @@ const MoneyBag = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_rende
849
849
  ])
850
850
  ]))
851
851
  ]),
852
- createElementVNode("div", _hoisted_9$4, [
853
- createElementVNode("div", _hoisted_10$4, [
852
+ createElementVNode("div", _hoisted_9$3, [
853
+ createElementVNode("div", _hoisted_10$3, [
854
854
  createElementVNode("span", null, toDisplayString(Ne.value ? 0 : ((ze = (Ae = Be.hoveredData) == null ? void 0 : Ae.counts) == null ? void 0 : ze.available) || 0), 1),
855
855
  createTextVNode(" " + toDisplayString(unref(tr)("available")), 1)
856
856
  ]),
@@ -870,9 +870,9 @@ const MoneyBag = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_rende
870
870
  createElementVNode("div", _hoisted_15$1, toDisplayString((Xe = Be.hoveredData) == null ? void 0 : Xe.title), 1),
871
871
  createElementVNode("span", _hoisted_16$1, toDisplayString(Ne.value), 1)
872
872
  ])
873
- ])) : Be.type === "flat" ? (openBlock(), createElementBlock("div", _hoisted_17$1, [
874
- createElementVNode("div", _hoisted_18$1, [
875
- createElementVNode("div", _hoisted_19, toDisplayString((Qe = Be.hoveredData) == null ? void 0 : Qe.flat_number), 1),
873
+ ])) : Be.type === "flat" ? (openBlock(), createElementBlock("div", _hoisted_17, [
874
+ createElementVNode("div", _hoisted_18, [
875
+ createElementVNode("div", _hoisted_19, toDisplayString((Je = Be.hoveredData) == null ? void 0 : Je.flat_number), 1),
876
876
  createElementVNode("div", _hoisted_20, [
877
877
  createElementVNode("div", _hoisted_21, [
878
878
  createElementVNode("div", _hoisted_22, [
@@ -894,7 +894,7 @@ const MoneyBag = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_rende
894
894
  ])) : createCommentVNode("", !0)
895
895
  ], 64))
896
896
  ]),
897
- unref(getArea)(+((ni = (Je = Be.hoveredData) == null ? void 0 : Je.type) == null ? void 0 : ni.area_m2)) && +unref(getArea)(+((ri = (oi = Be.hoveredData) == null ? void 0 : oi.type) == null ? void 0 : ri.area_m2)) > 0 ? (openBlock(), createElementBlock("div", _hoisted_31, [
897
+ unref(getArea)(+((ni = (Qe = Be.hoveredData) == null ? void 0 : Qe.type) == null ? void 0 : ni.area_m2)) && +unref(getArea)(+((ri = (oi = Be.hoveredData) == null ? void 0 : oi.type) == null ? void 0 : ri.area_m2)) > 0 ? (openBlock(), createElementBlock("div", _hoisted_31, [
898
898
  createElementVNode("div", _hoisted_32, [
899
899
  createVNode(FlatIcon, { class: "ire-size-5 [&_path]:ire-stroke-white" })
900
900
  ]),
@@ -915,16 +915,16 @@ const MoneyBag = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_rende
915
915
  ], 6)) : createCommentVNode("", !0);
916
916
  };
917
917
  }
918
- }), _hoisted_1$B = { class: "irep-tooltip irep-tooltip-3 ire-flex ire-w-fit ire-origin-top ire-items-center ire-justify-center ire-rounded-2xl ire-border ire-bg-white ire-p-4 ire-transition-transform ire-duration-500 ire-ease-in-out" }, _hoisted_2$l = {
918
+ }), _hoisted_1$B = { class: "irep-tooltip irep-tooltip-3 ire-flex ire-w-fit ire-origin-top ire-items-center ire-justify-center ire-rounded-2xl ire-border ire-bg-white ire-p-4 ire-transition-transform ire-duration-500 ire-ease-in-out" }, _hoisted_2$k = {
919
919
  key: 0,
920
920
  class: "irep-tooltip-3__floor ire-flex ire-flex-col ire-items-center ire-gap-3"
921
- }, _hoisted_3$j = { class: "ire-flex ire-flex-col ire-items-center" }, _hoisted_4$d = { class: "irep-tooltip-3__floor-number !ire-text-2xl" }, _hoisted_5$9 = { class: "irep-tooltip-3__floor-text !ire-text-sm ire-uppercase" }, _hoisted_6$7 = {
921
+ }, _hoisted_3$i = { class: "ire-flex ire-flex-col ire-items-center" }, _hoisted_4$d = { class: "irep-tooltip-3__floor-number !ire-text-2xl" }, _hoisted_5$9 = { class: "irep-tooltip-3__floor-text !ire-text-sm ire-uppercase" }, _hoisted_6$7 = {
922
922
  key: 1,
923
923
  class: "irep-tooltip-3__block ire-flex ire-items-center ire-gap-3"
924
- }, _hoisted_7$5 = { class: "ire-flex ire-w-max ire-flex-col ire-items-center" }, _hoisted_8$3 = { class: "irep-tooltip-3__block-title !text-2xl" }, _hoisted_9$3 = {
924
+ }, _hoisted_7$5 = { class: "ire-flex ire-w-max ire-flex-col ire-items-center" }, _hoisted_8$3 = { class: "irep-tooltip-3__block-title !text-2xl" }, _hoisted_9$2 = {
925
925
  key: 2,
926
926
  class: "irep-tooltip-3__flat ire-flex ire-w-full ire-flex-col ire-items-center ire-gap-3"
927
- }, _hoisted_10$3 = { class: "ire-flex ire-flex-col ire-items-center" }, _hoisted_11$2 = { class: "irep-tooltip-3__flat-number ire-max-w-52 ire-text-center !ire-text-2xl ire-capitalize" }, _hoisted_12$2 = { class: "irep-tooltip-3__flat-text !ire-mt-2 ire-text-sm ire-uppercase" }, _sfc_main$F = /* @__PURE__ */ defineComponent({
927
+ }, _hoisted_10$2 = { class: "ire-flex ire-flex-col ire-items-center" }, _hoisted_11$2 = { class: "irep-tooltip-3__flat-number ire-max-w-52 ire-text-center !ire-text-2xl ire-capitalize" }, _hoisted_12$2 = { class: "irep-tooltip-3__flat-text !ire-mt-2 ire-text-sm ire-uppercase" }, _sfc_main$F = /* @__PURE__ */ defineComponent({
928
928
  __name: "Tooltip_3",
929
929
  props: {
930
930
  hoveredData: {},
@@ -942,8 +942,8 @@ const MoneyBag = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_rende
942
942
  })
943
943
  }, [
944
944
  createElementVNode("div", _hoisted_1$B, [
945
- Be.type === "floor" ? (openBlock(), createElementBlock("div", _hoisted_2$l, [
946
- createElementVNode("div", _hoisted_3$j, [
945
+ Be.type === "floor" ? (openBlock(), createElementBlock("div", _hoisted_2$k, [
946
+ createElementVNode("div", _hoisted_3$i, [
947
947
  createElementVNode("div", _hoisted_4$d, toDisplayString((Ve = Be.hoveredData) == null ? void 0 : Ve.floor_number), 1),
948
948
  createElementVNode("div", _hoisted_5$9, toDisplayString(unref(tr)("floor")), 1)
949
949
  ])
@@ -951,8 +951,8 @@ const MoneyBag = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_rende
951
951
  createElementVNode("div", _hoisted_7$5, [
952
952
  createElementVNode("div", _hoisted_8$3, toDisplayString((De = Be.hoveredData) == null ? void 0 : De.title), 1)
953
953
  ])
954
- ])) : Be.type === "flat" ? (openBlock(), createElementBlock("div", _hoisted_9$3, [
955
- createElementVNode("div", _hoisted_10$3, [
954
+ ])) : Be.type === "flat" ? (openBlock(), createElementBlock("div", _hoisted_9$2, [
955
+ createElementVNode("div", _hoisted_10$2, [
956
956
  createElementVNode("div", _hoisted_11$2, toDisplayString((Le = Be.hoveredData) == null ? void 0 : Le.flat_number), 1),
957
957
  createElementVNode("div", _hoisted_12$2, toDisplayString(unref(tr)("apartment")), 1)
958
958
  ])
@@ -1019,7 +1019,7 @@ const MoneyBag = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_rende
1019
1019
  })
1020
1020
  ], 512));
1021
1021
  }
1022
- }), _hoisted_1$z = { class: "ire-relative ire-h-full ire-select-none ire-overflow-hidden" }, _hoisted_2$k = ["src"], _hoisted_3$i = ["innerHTML"], _sfc_main$D = /* @__PURE__ */ defineComponent({
1022
+ }), _hoisted_1$z = { class: "ire-relative ire-h-full ire-select-none ire-overflow-hidden" }, _hoisted_2$j = ["src"], _hoisted_3$h = ["innerHTML"], _sfc_main$D = /* @__PURE__ */ defineComponent({
1023
1023
  __name: "ProjectPreview",
1024
1024
  props: {
1025
1025
  project: {},
@@ -1043,19 +1043,19 @@ const MoneyBag = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_rende
1043
1043
  ((Ue = Re.value) == null ? void 0 : Ue.querySelectorAll("g")).forEach((Ye) => {
1044
1044
  var ii, ei, Ge, Ze, ti;
1045
1045
  const Ke = Ye == null ? void 0 : Ye.getAttribute("id"), Xe = (ei = (ii = $e.project) == null ? void 0 : ii.polygon_data) == null ? void 0 : ei.find(
1046
- (Je) => (Je == null ? void 0 : Je.key) === Ke
1047
- ), Qe = Xe == null ? void 0 : Xe.id;
1046
+ (Qe) => (Qe == null ? void 0 : Qe.key) === Ke
1047
+ ), Je = Xe == null ? void 0 : Xe.id;
1048
1048
  switch (Xe == null ? void 0 : Xe.type) {
1049
1049
  case "block":
1050
- const Je = (Ge = $e.blocks) == null ? void 0 : Ge.find((ri) => ri.id === Qe);
1051
- Ye.setAttribute("conf", (Je == null ? void 0 : Je.conf) || "");
1050
+ const Qe = (Ge = $e.blocks) == null ? void 0 : Ge.find((ri) => ri.id === Je);
1051
+ Ye.setAttribute("conf", (Qe == null ? void 0 : Qe.conf) || "");
1052
1052
  break;
1053
1053
  case "floor":
1054
- const ni = (Ze = $e.floors) == null ? void 0 : Ze.find((ri) => ri.id === Qe);
1054
+ const ni = (Ze = $e.floors) == null ? void 0 : Ze.find((ri) => ri.id === Je);
1055
1055
  Ye.setAttribute("conf", (ni == null ? void 0 : ni.conf) || "");
1056
1056
  break;
1057
1057
  case "flat":
1058
- const oi = (ti = $e.flats) == null ? void 0 : ti.find((ri) => ri.id === Qe);
1058
+ const oi = (ti = $e.flats) == null ? void 0 : ti.find((ri) => ri.id === Je);
1059
1059
  Ye.setAttribute("conf", (oi == null ? void 0 : oi.conf) || "");
1060
1060
  break;
1061
1061
  }
@@ -1073,20 +1073,20 @@ const MoneyBag = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_rende
1073
1073
  ), watch(
1074
1074
  () => Ie.value,
1075
1075
  (qe) => {
1076
- var Ye, Ke, Xe, Qe, ii, ei, Ge;
1076
+ var Ye, Ke, Xe, Je, ii, ei, Ge;
1077
1077
  if (!qe) return;
1078
1078
  Ve.hoverdSvg = qe;
1079
1079
  const Ue = qe.parentElement;
1080
1080
  if (Ue && (Ue == null ? void 0 : Ue.nodeName) === "g") {
1081
1081
  const Ze = Ue == null ? void 0 : Ue.getAttribute("id");
1082
- if (!Ze || (ze.value = ((Ye = $e.project) == null ? void 0 : Ye.polygon_data.find((Je) => (Je == null ? void 0 : Je.key) === Ze)) || null, !ze.value)) return;
1082
+ if (!Ze || (ze.value = ((Ye = $e.project) == null ? void 0 : Ye.polygon_data.find((Qe) => (Qe == null ? void 0 : Qe.key) === Ze)) || null, !ze.value)) return;
1083
1083
  const ti = (Ke = ze.value) == null ? void 0 : Ke.id;
1084
1084
  switch ((Xe = ze.value) == null ? void 0 : Xe.type) {
1085
1085
  case "floor":
1086
- const Je = (Qe = $e.floors) == null ? void 0 : Qe.find(
1086
+ const Qe = (Je = $e.floors) == null ? void 0 : Je.find(
1087
1087
  (si) => si.id === ti
1088
1088
  );
1089
- Ae.value = Je;
1089
+ Ae.value = Qe;
1090
1090
  break;
1091
1091
  case "block":
1092
1092
  const ni = (ii = $e.blocks) == null ? void 0 : ii.find(
@@ -1124,14 +1124,14 @@ const MoneyBag = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_rende
1124
1124
  type: (Ye = ze.value) == null ? void 0 : Ye.type
1125
1125
  }, {
1126
1126
  default: withCtx(() => {
1127
- var Ke, Xe, Qe;
1127
+ var Ke, Xe, Je;
1128
1128
  return [
1129
1129
  createElementVNode("div", _hoisted_1$z, [
1130
1130
  createElementVNode("img", {
1131
- src: (Qe = (Xe = (Ke = Be.project) == null ? void 0 : Ke.project_image) == null ? void 0 : Xe[0]) == null ? void 0 : Qe.url,
1131
+ src: (Je = (Xe = (Ke = Be.project) == null ? void 0 : Ke.project_image) == null ? void 0 : Xe[0]) == null ? void 0 : Je.url,
1132
1132
  alt: "",
1133
1133
  class: "ire-left-0 ire-top-0 ire-h-full ire-w-full"
1134
- }, null, 8, _hoisted_2$k),
1134
+ }, null, 8, _hoisted_2$j),
1135
1135
  (openBlock(), createElementBlock("div", {
1136
1136
  innerHTML: unref(je),
1137
1137
  key: unref(je),
@@ -1139,7 +1139,7 @@ const MoneyBag = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_rende
1139
1139
  ref: Re,
1140
1140
  class: "canvas path-color ire-absolute ire-left-0 ire-top-0 ire-h-full ire-w-full",
1141
1141
  onClick: We
1142
- }, null, 8, _hoisted_3$i))
1142
+ }, null, 8, _hoisted_3$h))
1143
1143
  ])
1144
1144
  ];
1145
1145
  }),
@@ -1147,10 +1147,10 @@ const MoneyBag = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_rende
1147
1147
  }, 8, ["hoverdData", "type"]);
1148
1148
  };
1149
1149
  }
1150
- }), _hoisted_1$y = { class: "irep-select ire-w-full ire-min-w-[150px] ire-max-w-[200px] lg:ire-min-w-[250px]" }, _hoisted_2$j = {
1150
+ }), _hoisted_1$y = { class: "irep-select ire-w-full ire-min-w-[150px] ire-max-w-[200px] lg:ire-min-w-[250px]" }, _hoisted_2$i = {
1151
1151
  key: 0,
1152
1152
  class: "label"
1153
- }, _hoisted_3$h = { class: "ire-relative" }, _hoisted_4$c = ["value", "disabled"], _sfc_main$C = /* @__PURE__ */ defineComponent({
1153
+ }, _hoisted_3$g = { class: "ire-relative" }, _hoisted_4$c = ["value", "disabled"], _sfc_main$C = /* @__PURE__ */ defineComponent({
1154
1154
  __name: "PreviewSelect",
1155
1155
  props: /* @__PURE__ */ mergeModels({
1156
1156
  data: {},
@@ -1167,8 +1167,8 @@ const MoneyBag = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_rende
1167
1167
  setup(Be) {
1168
1168
  const _e = useGlobalStore(), { openReservedFlat: ke, openSoldFlat: $e } = storeToRefs(_e), Ne = useModel(Be, "modelValue");
1169
1169
  return (Ve, De) => (openBlock(), createElementBlock("div", _hoisted_1$y, [
1170
- Be.label ? (openBlock(), createElementBlock("p", _hoisted_2$j, toDisplayString(Be.label), 1)) : createCommentVNode("", !0),
1171
- createElementVNode("div", _hoisted_3$h, [
1170
+ Be.label ? (openBlock(), createElementBlock("p", _hoisted_2$i, toDisplayString(Be.label), 1)) : createCommentVNode("", !0),
1171
+ createElementVNode("div", _hoisted_3$g, [
1172
1172
  withDirectives(createElementVNode("select", {
1173
1173
  "onUpdate:modelValue": De[0] || (De[0] = (Le) => Ne.value = Le),
1174
1174
  class: "no-spinner ire-w-full ire-cursor-pointer ire-appearance-none ire-rounded-md !ire-border-none ire-px-4 ire-py-2 !ire-outline-none !ire-ring-[1px] !ire-ring-gray-200 ire-transition-all focus:!ire-ring-2 focus:!ire-ring-black"
@@ -1202,15 +1202,15 @@ function _sfc_render$e(Be, _e) {
1202
1202
  }, null, -1)
1203
1203
  ])]);
1204
1204
  }
1205
- const ArrowRight = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$e]]), _hoisted_1$w = { class: "back-button ire-group/button ire-flex ire-w-fit ire-cursor-pointer ire-items-center ire-gap-1 ire-rounded-lg ire-border ire-bg-gray-50 ire-px-4 ire-py-1 ire-shadow-sm ire-transition-all hover:ire-bg-black" }, _hoisted_2$i = { class: "back-button-text !ire-text-base ire-text-black group-hover/button:!ire-text-white" }, _sfc_main$A = /* @__PURE__ */ defineComponent({
1205
+ const ArrowRight = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$e]]), _hoisted_1$w = { class: "back-button ire-group/button ire-flex ire-w-fit ire-cursor-pointer ire-items-center ire-gap-1 ire-rounded-lg ire-border ire-bg-gray-50 ire-px-4 ire-py-1 ire-shadow-sm ire-transition-all hover:ire-bg-black" }, _hoisted_2$h = { class: "back-button-text !ire-text-base ire-text-black group-hover/button:!ire-text-white" }, _sfc_main$A = /* @__PURE__ */ defineComponent({
1206
1206
  __name: "BackButton",
1207
1207
  setup(Be) {
1208
1208
  return (_e, ke) => (openBlock(), createElementBlock("div", _hoisted_1$w, [
1209
1209
  createVNode(ArrowRight, { class: "ire-w-6 ire-rotate-180 group-hover/button:[&_path]:ire-fill-white" }),
1210
- createElementVNode("div", _hoisted_2$i, toDisplayString(unref(tr)("back")), 1)
1210
+ createElementVNode("div", _hoisted_2$h, toDisplayString(unref(tr)("back")), 1)
1211
1211
  ]));
1212
1212
  }
1213
- }), _hoisted_1$v = { class: "ire-w-fit ire-bg-white" }, _hoisted_2$h = { class: "ire-relative ire-h-full ire-select-none ire-overflow-hidden" }, _hoisted_3$g = ["src"], _hoisted_4$b = ["innerHTML"], _sfc_main$z = /* @__PURE__ */ defineComponent({
1213
+ }), _hoisted_1$v = { class: "ire-w-fit ire-bg-white" }, _hoisted_2$g = { class: "ire-relative ire-h-full ire-select-none ire-overflow-hidden" }, _hoisted_3$f = ["src"], _hoisted_4$b = ["innerHTML"], _sfc_main$z = /* @__PURE__ */ defineComponent({
1214
1214
  __name: "FloorPreview",
1215
1215
  props: {
1216
1216
  flats: {},
@@ -1227,41 +1227,41 @@ const ArrowRight = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_ren
1227
1227
  return $e.floor.svg;
1228
1228
  }), We = computed$1(() => $e.floors.filter(
1229
1229
  (Xe) => {
1230
- var Qe, ii;
1230
+ var Je, ii;
1231
1231
  return (
1232
1232
  // floorItem.conf !== "reserved" &&
1233
1233
  // floorItem.conf !== "sold" &&
1234
- (Qe = $e.floor) != null && Qe.block_id ? (Xe == null ? void 0 : Xe.block_id) === ((ii = $e.floor) == null ? void 0 : ii.block_id) : !(Xe != null && Xe.block_id)
1234
+ (Je = $e.floor) != null && Je.block_id ? (Xe == null ? void 0 : Xe.block_id) === ((ii = $e.floor) == null ? void 0 : ii.block_id) : !(Xe != null && Xe.block_id)
1235
1235
  );
1236
1236
  }
1237
1237
  ).map((Xe) => {
1238
1238
  var ii, ei;
1239
- const Qe = (ii = $e.blocks) == null ? void 0 : ii.find(
1239
+ const Je = (ii = $e.blocks) == null ? void 0 : ii.find(
1240
1240
  (Ge) => {
1241
1241
  var Ze;
1242
1242
  return (Ge == null ? void 0 : Ge.id) === ((Ze = Xe == null ? void 0 : Xe.block_id) == null ? void 0 : Ze.toString());
1243
1243
  }
1244
1244
  );
1245
1245
  return {
1246
- title: ((ei = Xe == null ? void 0 : Xe.floor_number) == null ? void 0 : ei.toString()) + ` ${tr("floor")} ` + (Qe != null && Qe.id ? ` - ${Qe == null ? void 0 : Qe.title}` : "") + (Xe != null && Xe.conf ? " " + Xe.conf : ""),
1246
+ title: ((ei = Xe == null ? void 0 : Xe.floor_number) == null ? void 0 : ei.toString()) + ` ${tr("floor")} ` + (Je != null && Je.id ? ` - ${Je == null ? void 0 : Je.title}` : "") + (Xe != null && Xe.conf ? " " + Xe.conf : ""),
1247
1247
  value: Xe == null ? void 0 : Xe.id
1248
1248
  };
1249
- }).sort((Xe, Qe) => Xe.title.localeCompare(Qe.title)) || []), qe = (Xe) => {
1250
- const Qe = Xe.target;
1251
- Qe && (Ie.value = Qe);
1249
+ }).sort((Xe, Je) => Xe.title.localeCompare(Je.title)) || []), qe = (Xe) => {
1250
+ const Je = Xe.target;
1251
+ Je && (Ie.value = Je);
1252
1252
  }, Ue = (Xe) => {
1253
1253
  var ii, ei, Ge;
1254
- const Qe = Xe.target;
1255
- (Qe == null ? void 0 : Qe.nodeName) === "path" && (ze.value && "conf" in ze.value && (((ii = ze.value) == null ? void 0 : ii.conf) === "reserved" && !De.value || ((ei = ze.value) == null ? void 0 : ei.conf) === "sold" && !Le.value) || ke("changeComponent", ((Ge = Ae.value) == null ? void 0 : Ge.type) || "", ze.value));
1254
+ const Je = Xe.target;
1255
+ (Je == null ? void 0 : Je.nodeName) === "path" && (ze.value && "conf" in ze.value && (((ii = ze.value) == null ? void 0 : ii.conf) === "reserved" && !De.value || ((ei = ze.value) == null ? void 0 : ei.conf) === "sold" && !Le.value) || ke("changeComponent", ((Ge = Ae.value) == null ? void 0 : Ge.type) || "", ze.value));
1256
1256
  }, Ye = () => {
1257
1257
  var Xe;
1258
1258
  Re.value && ((Xe = Re.value) == null ? void 0 : Xe.querySelectorAll("g")).forEach((ii) => {
1259
- var Ze, ti, Je, ni, oi, ri;
1259
+ var Ze, ti, Qe, ni, oi, ri;
1260
1260
  const ei = ii == null ? void 0 : ii.getAttribute("id"), Ge = (ti = (Ze = $e.floor) == null ? void 0 : Ze.polygon_data) == null ? void 0 : ti.find(
1261
1261
  (si) => (si == null ? void 0 : si.key) === ei
1262
1262
  );
1263
1263
  if ($e.flats)
1264
- if ((Je = $e.floor) != null && Je.conf)
1264
+ if ((Qe = $e.floor) != null && Qe.conf)
1265
1265
  ii.setAttribute("conf", ((ni = $e.floor) == null ? void 0 : ni.conf) || "");
1266
1266
  else {
1267
1267
  const si = (oi = $e.flats) == null ? void 0 : oi.find(
@@ -1277,12 +1277,12 @@ const ArrowRight = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_ren
1277
1277
  return watch(
1278
1278
  () => Ie.value,
1279
1279
  (Xe) => {
1280
- var ii, ei, Ge, Ze, ti, Je, ni;
1280
+ var ii, ei, Ge, Ze, ti, Qe, ni;
1281
1281
  if (!Xe) return;
1282
1282
  Ve.hoverdSvg = Xe;
1283
- const Qe = Xe == null ? void 0 : Xe.parentElement;
1284
- if (Qe && (Qe == null ? void 0 : Qe.nodeName) === "g") {
1285
- const oi = Qe.getAttribute("id");
1283
+ const Je = Xe == null ? void 0 : Xe.parentElement;
1284
+ if (Je && (Je == null ? void 0 : Je.nodeName) === "g") {
1285
+ const oi = Je.getAttribute("id");
1286
1286
  if (!oi || (Ae.value = ((ei = (ii = $e.floor) == null ? void 0 : ii.polygon_data) == null ? void 0 : ei.find((ri) => (ri == null ? void 0 : ri.key) === oi)) || null, !Ae.value)) return;
1287
1287
  if (((Ge = Ae.value) == null ? void 0 : Ge.type) === "flat") {
1288
1288
  const ri = (Ze = $e.flats) == null ? void 0 : Ze.find(
@@ -1295,7 +1295,7 @@ const ArrowRight = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_ren
1295
1295
  conf: ri.conf || ((ti = $e.floor) == null ? void 0 : ti.conf) || ""
1296
1296
  } : null;
1297
1297
  ze.value = si;
1298
- } else if (((Je = Ae.value) == null ? void 0 : Je.type) === "tooltip") {
1298
+ } else if (((Qe = Ae.value) == null ? void 0 : Qe.type) === "tooltip") {
1299
1299
  const ri = (ni = $e.actions) == null ? void 0 : ni.find(
1300
1300
  (si) => {
1301
1301
  var ai;
@@ -1316,8 +1316,8 @@ const ArrowRight = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_ren
1316
1316
  ), watch(
1317
1317
  () => je.value,
1318
1318
  () => {
1319
- var Qe;
1320
- const Xe = (Qe = $e.floors) == null ? void 0 : Qe.find(
1319
+ var Je;
1320
+ const Xe = (Je = $e.floors) == null ? void 0 : Je.find(
1321
1321
  (ii) => (ii == null ? void 0 : ii.id) === (je == null ? void 0 : je.value)
1322
1322
  );
1323
1323
  Xe && ke("changeComponent", "floor", Xe), setTimeout(() => {
@@ -1325,13 +1325,13 @@ const ArrowRight = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_ren
1325
1325
  }, 0);
1326
1326
  }
1327
1327
  ), onMounted(() => {
1328
- var Xe, Qe, ii;
1328
+ var Xe, Je, ii;
1329
1329
  Fe.value = (Xe = $e.blocks) == null ? void 0 : Xe.find(
1330
1330
  (ei) => {
1331
1331
  var Ge, Ze;
1332
1332
  return (ei == null ? void 0 : ei.id) === ((Ze = (Ge = $e.floor) == null ? void 0 : Ge.block_id) == null ? void 0 : Ze.toString());
1333
1333
  }
1334
- ), je.value = (ii = (Qe = We.value) == null ? void 0 : Qe.find(
1334
+ ), je.value = (ii = (Je = We.value) == null ? void 0 : Je.find(
1335
1335
  (ei) => {
1336
1336
  var Ge;
1337
1337
  return (ei == null ? void 0 : ei.value) == ((Ge = $e.floor) == null ? void 0 : Ge.id);
@@ -1339,7 +1339,7 @@ const ArrowRight = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_ren
1339
1339
  )) == null ? void 0 : ii.value, Ye(), document.addEventListener("mousemove", qe);
1340
1340
  }), onUnmounted(() => {
1341
1341
  document.removeEventListener("mousemove", qe);
1342
- }), (Xe, Qe) => {
1342
+ }), (Xe, Je) => {
1343
1343
  var ii;
1344
1344
  return openBlock(), createBlock(_sfc_main$E, {
1345
1345
  hoverdData: ze.value,
@@ -1350,7 +1350,7 @@ const ArrowRight = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_ren
1350
1350
  createElementVNode("div", _hoisted_1$v, [
1351
1351
  createVNode(_sfc_main$C, {
1352
1352
  modelValue: je.value,
1353
- "onUpdate:modelValue": Qe[0] || (Qe[0] = (ei) => je.value = ei),
1353
+ "onUpdate:modelValue": Je[0] || (Je[0] = (ei) => je.value = ei),
1354
1354
  data: We.value
1355
1355
  }, null, 8, ["modelValue", "data"])
1356
1356
  ])
@@ -1358,12 +1358,12 @@ const ArrowRight = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_ren
1358
1358
  default: withCtx(() => {
1359
1359
  var ei, Ge, Ze;
1360
1360
  return [
1361
- createElementVNode("div", _hoisted_2$h, [
1361
+ createElementVNode("div", _hoisted_2$g, [
1362
1362
  createElementVNode("img", {
1363
1363
  src: ((Ze = (Ge = (ei = Be.floor) == null ? void 0 : ei.floor_image) == null ? void 0 : Ge[0]) == null ? void 0 : Ze.url) || "",
1364
1364
  alt: "",
1365
1365
  class: "ire-left-0 ire-top-0 ire-h-full ire-w-full"
1366
- }, null, 8, _hoisted_3$g),
1366
+ }, null, 8, _hoisted_3$f),
1367
1367
  (openBlock(), createElementBlock("div", {
1368
1368
  ref_key: "svgRef",
1369
1369
  ref: Re,
@@ -1382,20 +1382,26 @@ const ArrowRight = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_ren
1382
1382
  }), _hoisted_1$u = {
1383
1383
  key: 0,
1384
1384
  class: "ire-flex ire-h-fit ire-w-fit ire-flex-col ire-items-center"
1385
- }, _hoisted_2$g = { class: "flat-preview-value ire-text-center ire-text-2xl !ire-font-normal ire-text-black" }, _hoisted_3$f = { class: "flat-preview-text ire-py-2 ire-text-sm ire-uppercase ire-text-gray-500" }, _sfc_main$y = /* @__PURE__ */ defineComponent({
1385
+ }, _sfc_main$y = /* @__PURE__ */ defineComponent({
1386
1386
  __name: "FlatPreviewKeyValue",
1387
1387
  props: {
1388
1388
  keyName: {},
1389
- value: {}
1389
+ value: {},
1390
+ keyClass: {},
1391
+ valueClass: {}
1390
1392
  },
1391
1393
  setup(Be) {
1392
1394
  return (_e, ke) => Be.value ? (openBlock(), createElementBlock("div", _hoisted_1$u, [
1393
1395
  renderSlot(_e.$slots, "top"),
1394
- createElementVNode("div", _hoisted_2$g, [
1396
+ createElementVNode("div", {
1397
+ class: normalizeClass(["flat-preview-value ire-text-center ire-text-2xl !ire-font-normal ire-text-black", Be.keyClass])
1398
+ }, [
1395
1399
  createTextVNode(toDisplayString(Be.value) + " ", 1),
1396
1400
  renderSlot(_e.$slots, "sufix")
1397
- ]),
1398
- createElementVNode("div", _hoisted_3$f, toDisplayString(Be.keyName), 1)
1401
+ ], 2),
1402
+ createElementVNode("div", {
1403
+ class: normalizeClass(["flat-preview-text ire-pt-2 ire-text-sm ire-uppercase ire-text-gray-500", Be.valueClass])
1404
+ }, toDisplayString(Be.keyName), 3)
1399
1405
  ])) : createCommentVNode("", !0);
1400
1406
  }
1401
1407
  }), _hoisted_1$t = ["type", "disable"], _hoisted_2$f = {
@@ -1817,8 +1823,8 @@ class I extends g {
1817
1823
  const { content: ke, contentRect: $e } = this, { fitWidth: Ne, fitHeight: Ve, fullWidth: De, fullHeight: Le } = $e;
1818
1824
  let Re = De, Ie = Le;
1819
1825
  if (this.option("zoom") || this.angle !== 0) {
1820
- const Ae = !(ke instanceof HTMLImageElement) && (window.getComputedStyle(ke).maxWidth === "none" || window.getComputedStyle(ke).maxHeight === "none"), ze = Ae ? De : Ne, je = Ae ? Le : Ve, Fe = this.getMatrix(_e), He = new DOMPoint(0, 0).matrixTransform(Fe), We = new DOMPoint(0 + ze, 0).matrixTransform(Fe), qe = new DOMPoint(0 + ze, 0 + je).matrixTransform(Fe), Ue = new DOMPoint(0, 0 + je).matrixTransform(Fe), Ye = Math.abs(qe.x - He.x), Ke = Math.abs(qe.y - He.y), Xe = Math.abs(Ue.x - We.x), Qe = Math.abs(Ue.y - We.y);
1821
- Re = Math.max(Ye, Xe), Ie = Math.max(Ke, Qe);
1826
+ const Ae = !(ke instanceof HTMLImageElement) && (window.getComputedStyle(ke).maxWidth === "none" || window.getComputedStyle(ke).maxHeight === "none"), ze = Ae ? De : Ne, je = Ae ? Le : Ve, Fe = this.getMatrix(_e), He = new DOMPoint(0, 0).matrixTransform(Fe), We = new DOMPoint(0 + ze, 0).matrixTransform(Fe), qe = new DOMPoint(0 + ze, 0 + je).matrixTransform(Fe), Ue = new DOMPoint(0, 0 + je).matrixTransform(Fe), Ye = Math.abs(qe.x - He.x), Ke = Math.abs(qe.y - He.y), Xe = Math.abs(Ue.x - We.x), Je = Math.abs(Ue.y - We.y);
1827
+ Re = Math.max(Ye, Xe), Ie = Math.max(Ke, Je);
1822
1828
  }
1823
1829
  return { contentWidth: Re, contentHeight: Ie };
1824
1830
  }
@@ -1990,7 +1996,7 @@ class I extends g {
1990
1996
  typeof qe != "number" && (qe = He), typeof Ue != "number" && (Ue = We), Ye && (qe = He * (Ue / We)), Ke && (Ue = We / (He / qe));
1991
1997
  let Xe = Ve.parentElement instanceof HTMLPictureElement ? Ve.parentElement : Ve;
1992
1998
  this.option("transformParent") && (Xe = Xe.parentElement || Xe);
1993
- const Qe = Xe.getAttribute("style") || "";
1999
+ const Je = Xe.getAttribute("style") || "";
1994
2000
  Xe.style.setProperty("transform", "none", "important"), De && (Xe.style.width = "", Xe.style.height = ""), Xe.offsetHeight;
1995
2001
  const ii = Ve.getBoundingClientRect();
1996
2002
  let ei = ii.width * $e, Ge = ii.height * $e, Ze = ei, ti = Ge;
@@ -1998,8 +2004,8 @@ class I extends g {
1998
2004
  const li = si / oi, di = ai / ri, ci = Math.min(li, di);
1999
2005
  return { width: oi *= ci, height: ri *= ci };
2000
2006
  })(qe, Ue, ei, Ge) : (ei = Math.min(ei, qe), Ge = Math.min(Ge, Ue));
2001
- let Je = 0.5 * (ti - Ge), ni = 0.5 * (Ze - ei);
2002
- this.contentRect = Object.assign(Object.assign({}, this.contentRect), { top: ii.top - Le.top + Je, bottom: Le.bottom - ii.bottom + Je, left: ii.left - Le.left + ni, right: Le.right - ii.right + ni, fitWidth: ei, fitHeight: Ge, width: ei, height: Ge, fullWidth: qe, fullHeight: Ue }), Xe.style.cssText = Qe, De && (Xe.style.width = `${ei}px`, Xe.style.height = `${Ge}px`), this.setTransform(), _e !== !0 && this.emit("refresh"), this.ignoreBounds || (t(this.targetScale) < t(this.minScale) ? this.zoomTo(this.minScale, { friction: 0 }) : this.targetScale > this.maxScale ? this.zoomTo(this.maxScale, { friction: 0 }) : this.state === m.Init || this.checkBounds().inBounds || this.requestTick()), this.updateControls();
2007
+ let Qe = 0.5 * (ti - Ge), ni = 0.5 * (Ze - ei);
2008
+ this.contentRect = Object.assign(Object.assign({}, this.contentRect), { top: ii.top - Le.top + Qe, bottom: Le.bottom - ii.bottom + Qe, left: ii.left - Le.left + ni, right: Le.right - ii.right + ni, fitWidth: ei, fitHeight: Ge, width: ei, height: Ge, fullWidth: qe, fullHeight: Ue }), Xe.style.cssText = Je, De && (Xe.style.width = `${ei}px`, Xe.style.height = `${Ge}px`), this.setTransform(), _e !== !0 && this.emit("refresh"), this.ignoreBounds || (t(this.targetScale) < t(this.minScale) ? this.zoomTo(this.minScale, { friction: 0 }) : this.targetScale > this.maxScale ? this.zoomTo(this.maxScale, { friction: 0 }) : this.state === m.Init || this.checkBounds().inBounds || this.requestTick()), this.updateControls();
2003
2009
  }
2004
2010
  calculateBounds() {
2005
2011
  const { contentWidth: _e, contentHeight: ke } = this.calculateContentDim(this.target), { targetScale: $e, lockedAxis: Ne } = this, { fitWidth: Ve, fitHeight: De } = this.contentRect;
@@ -2535,8 +2541,8 @@ class Q extends g {
2535
2541
  Xe ? (_e === "top" ? (Xe.style.right = "", Xe.style.left = "") : Xe.style.top = "", Ke.index !== je ? Xe.style[_e] = Fe === 0 ? "" : `${t(Fe, 1e3)}px` : Xe.style[_e] = "", He += Ke.dim + Ke.gap, je++) : Fe += Ke.dim + Ke.gap;
2536
2542
  }
2537
2543
  if (Ne && He && Ve) {
2538
- let Ke = getComputedStyle(Ve), Xe = "padding", Qe = ke ? "Right" : "Bottom", ii = parseFloat(Ke[Xe + (ke ? "Left" : "Top")]);
2539
- We -= ii, De += ii, De += parseFloat(Ke[Xe + Qe]);
2544
+ let Ke = getComputedStyle(Ve), Xe = "padding", Je = ke ? "Right" : "Bottom", ii = parseFloat(Ke[Xe + (ke ? "Left" : "Top")]);
2545
+ We -= ii, De += ii, De += parseFloat(Ke[Xe + Je]);
2540
2546
  for (const ei of Ae) ei.el && (t(ei.pos) < t(De) && t(ei.pos + ei.dim + ei.gap) < t(We) && t(We) > t(Le - De) && (ei.el.style[_e] = `${t(Fe + He, 1e3)}px`), t(ei.pos + ei.gap) >= t(Le - De) && t(ei.pos) > t(We + De) && t(We) < t(De) && (ei.el.style[_e] = `-${t(He, 1e3)}px`));
2541
2547
  }
2542
2548
  let qe, Ue, Ye = [...this.inTransition];
@@ -2964,8 +2970,8 @@ class wt extends _ {
2964
2970
  const { x: ze, y: je, scale: Fe, opacity: He } = Ie;
2965
2971
  if (He) {
2966
2972
  const We = ((qe, Ue, Ye, Ke) => {
2967
- const Xe = Ue - qe, Qe = Ke - Ye;
2968
- return (ii) => Ye + ((ii - qe) / Xe * Qe || 0);
2973
+ const Xe = Ue - qe, Je = Ke - Ye;
2974
+ return (ii) => Ye + ((ii - qe) / Xe * Je || 0);
2969
2975
  })(Le.scale, Fe, 1, 0);
2970
2976
  Le.on("afterTransform", () => {
2971
2977
  De.style.opacity = We(Le.scale) + "";
@@ -3083,8 +3089,8 @@ class wt extends _ {
3083
3089
  const Ue = Ve.container.getBoundingClientRect();
3084
3090
  He += Ue.left, Fe += Ue.top;
3085
3091
  const Ye = -1 * (He + 0.5 * We - (Ae + 0.5 * ze)), Ke = -1 * (Fe + 0.5 * qe - (Ie + 0.5 * je)), Xe = ze / We;
3086
- let Qe = this.option("zoomOpacity") || !1;
3087
- return Qe === "auto" && (Qe = Math.abs(ze / je - We / qe) > 0.1), { x: Ye, y: Ke, scale: Xe, opacity: Qe };
3092
+ let Je = this.option("zoomOpacity") || !1;
3093
+ return Je === "auto" && (Je = Math.abs(ze / je - We / qe) > 0.1), { x: Ye, y: Ke, scale: Xe, opacity: Je };
3088
3094
  }
3089
3095
  attach() {
3090
3096
  const _e = this, ke = _e.instance;
@@ -4629,19 +4635,19 @@ function updateSwiper(Be) {
4629
4635
  virtual: He,
4630
4636
  thumbs: We
4631
4637
  } = _e;
4632
- let qe, Ue, Ye, Ke, Xe, Qe, ii, ei;
4638
+ let qe, Ue, Ye, Ke, Xe, Je, ii, ei;
4633
4639
  Ne.includes("thumbs") && $e.thumbs && $e.thumbs.swiper && !$e.thumbs.swiper.destroyed && Ae.thumbs && (!Ae.thumbs.swiper || Ae.thumbs.swiper.destroyed) && (qe = !0), Ne.includes("controller") && $e.controller && $e.controller.control && Ae.controller && !Ae.controller.control && (Ue = !0), Ne.includes("pagination") && $e.pagination && ($e.pagination.el || Re) && (Ae.pagination || Ae.pagination === !1) && ze && !ze.el && (Ye = !0), Ne.includes("scrollbar") && $e.scrollbar && ($e.scrollbar.el || Le) && (Ae.scrollbar || Ae.scrollbar === !1) && Fe && !Fe.el && (Ke = !0), Ne.includes("navigation") && $e.navigation && ($e.navigation.prevEl || De) && ($e.navigation.nextEl || Ve) && (Ae.navigation || Ae.navigation === !1) && je && !je.prevEl && !je.nextEl && (Xe = !0);
4634
4640
  const Ge = (Ze) => {
4635
4641
  _e[Ze] && (_e[Ze].destroy(), Ze === "navigation" ? (_e.isElement && (_e[Ze].prevEl.remove(), _e[Ze].nextEl.remove()), Ae[Ze].prevEl = void 0, Ae[Ze].nextEl = void 0, _e[Ze].prevEl = void 0, _e[Ze].nextEl = void 0) : (_e.isElement && _e[Ze].el.remove(), Ae[Ze].el = void 0, _e[Ze].el = void 0));
4636
4642
  };
4637
- Ne.includes("loop") && _e.isElement && (Ae.loop && !$e.loop ? Qe = !0 : !Ae.loop && $e.loop ? ii = !0 : ei = !0), Ie.forEach((Ze) => {
4643
+ Ne.includes("loop") && _e.isElement && (Ae.loop && !$e.loop ? Je = !0 : !Ae.loop && $e.loop ? ii = !0 : ei = !0), Ie.forEach((Ze) => {
4638
4644
  if (isObject(Ae[Ze]) && isObject($e[Ze]))
4639
4645
  Object.assign(Ae[Ze], $e[Ze]), (Ze === "navigation" || Ze === "pagination" || Ze === "scrollbar") && "enabled" in $e[Ze] && !$e[Ze].enabled && Ge(Ze);
4640
4646
  else {
4641
4647
  const ti = $e[Ze];
4642
4648
  (ti === !0 || ti === !1) && (Ze === "navigation" || Ze === "pagination" || Ze === "scrollbar") ? ti === !1 && Ge(Ze) : Ae[Ze] = $e[Ze];
4643
4649
  }
4644
- }), Ie.includes("controller") && !Ue && _e.controller && _e.controller.control && Ae.controller && Ae.controller.control && (_e.controller.control = Ae.controller.control), Ne.includes("children") && ke && He && Ae.virtual.enabled ? (He.slides = ke, He.update(!0)) : Ne.includes("virtual") && He && Ae.virtual.enabled && (ke && (He.slides = ke), He.update(!0)), Ne.includes("children") && ke && Ae.loop && (ei = !0), qe && We.init() && We.update(!0), Ue && (_e.controller.control = Ae.controller.control), Ye && (_e.isElement && (!Re || typeof Re == "string") && (Re = document.createElement("div"), Re.classList.add("swiper-pagination"), Re.part.add("pagination"), _e.el.appendChild(Re)), Re && (Ae.pagination.el = Re), ze.init(), ze.render(), ze.update()), Ke && (_e.isElement && (!Le || typeof Le == "string") && (Le = document.createElement("div"), Le.classList.add("swiper-scrollbar"), Le.part.add("scrollbar"), _e.el.appendChild(Le)), Le && (Ae.scrollbar.el = Le), Fe.init(), Fe.updateSize(), Fe.setTranslate()), Xe && (_e.isElement && ((!Ve || typeof Ve == "string") && (Ve = document.createElement("div"), Ve.classList.add("swiper-button-next"), setInnerHTML(Ve, _e.hostEl.constructor.nextButtonSvg), Ve.part.add("button-next"), _e.el.appendChild(Ve)), (!De || typeof De == "string") && (De = document.createElement("div"), De.classList.add("swiper-button-prev"), setInnerHTML(De, _e.hostEl.constructor.prevButtonSvg), De.part.add("button-prev"), _e.el.appendChild(De))), Ve && (Ae.navigation.nextEl = Ve), De && (Ae.navigation.prevEl = De), je.init(), je.update()), Ne.includes("allowSlideNext") && (_e.allowSlideNext = $e.allowSlideNext), Ne.includes("allowSlidePrev") && (_e.allowSlidePrev = $e.allowSlidePrev), Ne.includes("direction") && _e.changeDirection($e.direction, !1), (Qe || ei) && _e.loopDestroy(), (ii || ei) && _e.loopCreate(), _e.update();
4650
+ }), Ie.includes("controller") && !Ue && _e.controller && _e.controller.control && Ae.controller && Ae.controller.control && (_e.controller.control = Ae.controller.control), Ne.includes("children") && ke && He && Ae.virtual.enabled ? (He.slides = ke, He.update(!0)) : Ne.includes("virtual") && He && Ae.virtual.enabled && (ke && (He.slides = ke), He.update(!0)), Ne.includes("children") && ke && Ae.loop && (ei = !0), qe && We.init() && We.update(!0), Ue && (_e.controller.control = Ae.controller.control), Ye && (_e.isElement && (!Re || typeof Re == "string") && (Re = document.createElement("div"), Re.classList.add("swiper-pagination"), Re.part.add("pagination"), _e.el.appendChild(Re)), Re && (Ae.pagination.el = Re), ze.init(), ze.render(), ze.update()), Ke && (_e.isElement && (!Le || typeof Le == "string") && (Le = document.createElement("div"), Le.classList.add("swiper-scrollbar"), Le.part.add("scrollbar"), _e.el.appendChild(Le)), Le && (Ae.scrollbar.el = Le), Fe.init(), Fe.updateSize(), Fe.setTranslate()), Xe && (_e.isElement && ((!Ve || typeof Ve == "string") && (Ve = document.createElement("div"), Ve.classList.add("swiper-button-next"), setInnerHTML(Ve, _e.hostEl.constructor.nextButtonSvg), Ve.part.add("button-next"), _e.el.appendChild(Ve)), (!De || typeof De == "string") && (De = document.createElement("div"), De.classList.add("swiper-button-prev"), setInnerHTML(De, _e.hostEl.constructor.prevButtonSvg), De.part.add("button-prev"), _e.el.appendChild(De))), Ve && (Ae.navigation.nextEl = Ve), De && (Ae.navigation.prevEl = De), je.init(), je.update()), Ne.includes("allowSlideNext") && (_e.allowSlideNext = $e.allowSlideNext), Ne.includes("allowSlidePrev") && (_e.allowSlidePrev = $e.allowSlidePrev), Ne.includes("direction") && _e.changeDirection($e.direction, !1), (Je || ei) && _e.loopDestroy(), (ii || ei) && _e.loopCreate(), _e.update();
4645
4651
  }
4646
4652
  function getParams(Be, _e) {
4647
4653
  Be === void 0 && (Be = {});
@@ -5227,15 +5233,15 @@ const Swiper = {
5227
5233
  passedParams: Xe
5228
5234
  } = getParams(Be);
5229
5235
  getChildren(ke, Fe, He), je.value = Xe, He.value = Fe.value;
5230
- const Qe = () => {
5236
+ const Je = () => {
5231
5237
  getChildren(ke, Fe, He), Re.value = !0;
5232
5238
  };
5233
5239
  Ke.onAny = function(Ge) {
5234
- for (var Ze = arguments.length, ti = new Array(Ze > 1 ? Ze - 1 : 0), Je = 1; Je < Ze; Je++)
5235
- ti[Je - 1] = arguments[Je];
5240
+ for (var Ze = arguments.length, ti = new Array(Ze > 1 ? Ze - 1 : 0), Qe = 1; Qe < Ze; Qe++)
5241
+ ti[Qe - 1] = arguments[Qe];
5236
5242
  $e(Ge, ...ti);
5237
5243
  }, Object.assign(Ke.on, {
5238
- _beforeBreakpoint: Qe,
5244
+ _beforeBreakpoint: Je,
5239
5245
  _containerClasses(Ge, Ze) {
5240
5246
  De.value = Ze;
5241
5247
  }
@@ -5500,12 +5506,12 @@ function Navigation(Be) {
5500
5506
  let Ke = Ue.includes(Ye) || qe.includes(Ye);
5501
5507
  if (_e.isElement && !Ke) {
5502
5508
  const Xe = We.path || We.composedPath && We.composedPath();
5503
- Xe && (Ke = Xe.find((Qe) => qe.includes(Qe) || Ue.includes(Qe)));
5509
+ Xe && (Ke = Xe.find((Je) => qe.includes(Je) || Ue.includes(Je)));
5504
5510
  }
5505
5511
  if (_e.params.navigation.hideOnClick && !Ke) {
5506
5512
  if (_e.pagination && _e.params.pagination && _e.params.pagination.clickable && (_e.pagination.el === Ye || _e.pagination.el.contains(Ye))) return;
5507
5513
  let Xe;
5508
- qe.length ? Xe = qe[0].classList.contains(_e.params.navigation.hiddenClass) : Ue.length && (Xe = Ue[0].classList.contains(_e.params.navigation.hiddenClass)), Ne(Xe === !0 ? "navigationShow" : "navigationHide"), [...qe, ...Ue].filter((Qe) => !!Qe).forEach((Qe) => Qe.classList.toggle(_e.params.navigation.hiddenClass));
5514
+ qe.length ? Xe = qe[0].classList.contains(_e.params.navigation.hiddenClass) : Ue.length && (Xe = Ue[0].classList.contains(_e.params.navigation.hiddenClass)), Ne(Xe === !0 ? "navigationShow" : "navigationHide"), [...qe, ...Ue].filter((Je) => !!Je).forEach((Je) => Je.classList.toggle(_e.params.navigation.hiddenClass));
5509
5515
  }
5510
5516
  });
5511
5517
  const je = () => {
@@ -5563,8 +5569,8 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
5563
5569
  var We;
5564
5570
  return $e("shareable_link") === "true" && ((We = Ne.value) == null ? void 0 : We.is_gold);
5565
5571
  }), je = computed$1(() => {
5566
- var qe, Ue, Ye, Ke, Xe, Qe;
5567
- return (De.value && ((Ue = (qe = _e.flat.type) == null ? void 0 : qe.image_2d) != null && Ue.length) ? (Ye = _e.flat.type) == null ? void 0 : Ye.image_2d : !De.value && ((Xe = (Ke = _e.flat.type) == null ? void 0 : Ke.image_3d) != null && Xe.length) ? (Qe = _e.flat.type) == null ? void 0 : Qe.image_3d : []).slice(0, 6);
5572
+ var qe, Ue, Ye, Ke, Xe, Je;
5573
+ return (De.value && ((Ue = (qe = _e.flat.type) == null ? void 0 : qe.image_2d) != null && Ue.length) ? (Ye = _e.flat.type) == null ? void 0 : Ye.image_2d : !De.value && ((Xe = (Ke = _e.flat.type) == null ? void 0 : Ke.image_3d) != null && Xe.length) ? (Je = _e.flat.type) == null ? void 0 : Je.image_3d : []).slice(0, 6);
5568
5574
  }), Fe = async () => {
5569
5575
  Re.value || !ze.value || (await copyToClipboard(window.location.href), Re.value = !0, setTimeout(() => {
5570
5576
  Re.value = !1;
@@ -5585,7 +5591,7 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
5585
5591
  (Ue = Object.keys(((qe = (We = _e.flat) == null ? void 0 : We.type) == null ? void 0 : qe.image_3d) || {})) != null && Ue.length || (De.value = !0);
5586
5592
  }), (We, qe) => (openBlock(), createBlock(FancyBoxComp, { options: {} }, {
5587
5593
  default: withCtx(() => {
5588
- var Ue, Ye, Ke, Xe, Qe, ii, ei, Ge, Ze;
5594
+ var Ue, Ye, Ke, Xe, Je, ii, ei, Ge, Ze;
5589
5595
  return [
5590
5596
  createElementVNode("div", _hoisted_1$o, [
5591
5597
  qe[2] || (qe[2] = createElementVNode("div", { class: "ire-hidden ire-w-fit ire-p-4 md:ire-block" }, null, -1)),
@@ -5611,20 +5617,20 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
5611
5617
  onSwiper: He
5612
5618
  }, {
5613
5619
  default: withCtx(() => [
5614
- (openBlock(!0), createElementBlock(Fragment, null, renderList(je.value, (Je, ni) => (openBlock(), createBlock(unref(SwiperSlide), {
5615
- key: (Je == null ? void 0 : Je.url) + ni,
5620
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(je.value, (Qe, ni) => (openBlock(), createBlock(unref(SwiperSlide), {
5621
+ key: (Qe == null ? void 0 : Qe.url) + ni,
5616
5622
  class: "ire-flex !ire-w-full ire-justify-center ire-bg-gray-50 ire-text-center"
5617
5623
  }, {
5618
5624
  default: withCtx(() => [
5619
5625
  (openBlock(), createElementBlock("a", {
5620
- key: (Je == null ? void 0 : Je.url) + ni,
5626
+ key: (Qe == null ? void 0 : Qe.url) + ni,
5621
5627
  "data-fancybox": De.value ? "gallery-2d" : "gallery-3d",
5622
- href: Je == null ? void 0 : Je.url,
5628
+ href: Qe == null ? void 0 : Qe.url,
5623
5629
  class: "irep-flat-preview__left-3d ire-flex ire-w-fit ire-items-center ire-justify-center"
5624
5630
  }, [
5625
5631
  (openBlock(), createElementBlock("img", {
5626
- key: (Je == null ? void 0 : Je.url) + ni,
5627
- src: Je == null ? void 0 : Je.url,
5632
+ key: (Qe == null ? void 0 : Qe.url) + ni,
5633
+ src: Qe == null ? void 0 : Qe.url,
5628
5634
  class: "ire-h-full ire-max-h-[450px] ire-w-full ire-object-contain ire-object-center"
5629
5635
  }, null, 8, _hoisted_4$a))
5630
5636
  ], 8, _hoisted_3$e))
@@ -5702,7 +5708,7 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
5702
5708
  ]),
5703
5709
  _: 1
5704
5710
  }, 8, ["title", "variant"])) : createCommentVNode("", !0),
5705
- (Ge = (ei = (ii = (Qe = Be.flat) == null ? void 0 : Qe.type) == null ? void 0 : ii.image_2d) == null ? void 0 : ei[0]) != null && Ge.url ? (openBlock(), createBlock(_sfc_main$x, {
5711
+ (Ge = (ei = (ii = (Je = Be.flat) == null ? void 0 : Je.type) == null ? void 0 : ii.image_2d) == null ? void 0 : ei[0]) != null && Ge.url ? (openBlock(), createBlock(_sfc_main$x, {
5706
5712
  key: 1,
5707
5713
  title: unref(tr)("2d plan"),
5708
5714
  variant: De.value ? "default" : "outline",
@@ -5883,13 +5889,16 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
5883
5889
  }), _hoisted_1$l = { class: "flex ire-relative ire-overflow-hidden lg:ire-w-full" }, _hoisted_2$b = { class: "ire-flex ire-w-full ire-flex-col ire-items-center ire-justify-center ire-gap-4" }, _hoisted_3$b = {
5884
5890
  key: 1,
5885
5891
  class: "flat-preview__type ire-text-center"
5886
- }, _hoisted_4$7 = { class: "flat-preview__type-title !ire-text-lg ire-font-medium ire-text-black" }, _hoisted_5$5 = { class: "flat-preview-text ire-py-2 ire-text-sm ire-uppercase ire-text-gray-500" }, _hoisted_6$4 = { class: "ire-mt-4 ire-flex ire-w-full ire-flex-wrap ire-items-center ire-justify-center ire-gap-9 ire-overflow-y-auto lg:ire-max-h-[350px]" }, _hoisted_7$3 = { class: "flex ire-flex-col ire-items-center ire-justify-center" }, _hoisted_8$1 = {
5892
+ }, _hoisted_4$7 = { class: "flat-preview__type-title !ire-text-lg ire-font-medium ire-text-black" }, _hoisted_5$5 = {
5893
+ key: 0,
5894
+ class: "flat-preview-text ire-pt-2 ire-text-sm ire-uppercase ire-text-gray-500"
5895
+ }, _hoisted_6$4 = { class: "ire-mt-4 ire-flex ire-w-full ire-flex-wrap ire-items-center ire-justify-center ire-gap-9 ire-overflow-y-auto lg:ire-max-h-[350px]" }, _hoisted_7$3 = { class: "flex ire-flex-col ire-items-center ire-justify-center" }, _hoisted_8$1 = {
5887
5896
  key: 0,
5888
5897
  class: "ire-uppercase"
5889
5898
  }, _hoisted_9$1 = {
5890
5899
  key: 1,
5891
5900
  class: "ire-uppercase"
5892
- }, _hoisted_10$1 = { key: 2 }, _hoisted_11$1 = { class: "flat-preview-price-through-value ire-text-base ire-line-through ire-decoration-black/50" }, _hoisted_12$1 = { key: 3 }, _hoisted_13$1 = { class: "ire-py-2 ire-text-sm ire-uppercase ire-text-gray-500" }, _hoisted_14 = { class: "irep-flat-moda-action-buttons ire-flex ire-flex-col ire-text-center sm:ire-flex-row" }, _hoisted_15 = ["href"], _hoisted_16 = {
5901
+ }, _hoisted_10$1 = { key: 2 }, _hoisted_11$1 = { class: "flat-preview-price-through-value ire-text-base ire-line-through ire-decoration-black/50" }, _hoisted_12$1 = { key: 3 }, _hoisted_13$1 = { class: "price-key ire-pt-2 ire-text-sm ire-uppercase ire-text-gray-500" }, _hoisted_14 = { class: "irep-flat-moda-action-buttons ire-flex ire-flex-col ire-text-center sm:ire-flex-row" }, _hoisted_15 = ["href"], _hoisted_16 = {
5893
5902
  key: 1,
5894
5903
  class: "irep-flat-moda-action-buttons__request-callback ire-w-full ire-p-2"
5895
5904
  }, _sfc_main$o = /* @__PURE__ */ defineComponent({
@@ -5901,45 +5910,50 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
5901
5910
  emits: ["changeComponent"],
5902
5911
  setup(Be) {
5903
5912
  const _e = Be, ke = useGlobalStore(), { getMetaValue: $e } = ke, { irePlaginWp: Ne, shortcodeData: Ve } = storeToRefs(ke), De = inject("fromListView"), Le = ref(!1), Re = computed$1(() => {
5904
- var je;
5905
- return $e("shareable_link") === "true" && ((je = Ne.value) == null ? void 0 : je.is_gold);
5913
+ var He;
5914
+ return (He = Ve.value) == null ? void 0 : He.configs.tableContactUrl;
5906
5915
  }), Ie = computed$1(() => {
5907
- var je;
5908
- return !!($e("request_callback") === "true" && ((je = Ne.value) != null && je.is_gold));
5916
+ var He;
5917
+ return $e("shareable_link") === "true" && ((He = Ne.value) == null ? void 0 : He.is_gold);
5909
5918
  }), Ae = computed$1(() => {
5910
- var je, Fe, He, We, qe, Ue;
5911
- return ((He = (Fe = (je = _e.flat) == null ? void 0 : je.type) == null ? void 0 : Fe.image_3d) == null ? void 0 : He.length) || ((Ue = (qe = (We = _e.flat) == null ? void 0 : We.type) == null ? void 0 : qe.image_2d) == null ? void 0 : Ue.length);
5912
- }), ze = () => {
5913
- var He, We, qe, Ue;
5914
- if (!Re.value || De) return;
5915
- const je = (He = Ve.value) == null ? void 0 : He.floors.find(
5916
- (Ye) => {
5917
- var Ke, Xe, Qe;
5918
- return ((Ke = Ye.id) == null ? void 0 : Ke.toString()) === ((Qe = (Xe = _e.flat) == null ? void 0 : Xe.floor_id) == null ? void 0 : Qe.toString());
5919
+ var He;
5920
+ return !!($e("request_callback") === "true" && ((He = Ne.value) != null && He.is_gold));
5921
+ }), ze = computed$1(() => {
5922
+ var He, We, qe, Ue, Ye, Ke;
5923
+ return ((qe = (We = (He = _e.flat) == null ? void 0 : He.type) == null ? void 0 : We.image_3d) == null ? void 0 : qe.length) || ((Ke = (Ye = (Ue = _e.flat) == null ? void 0 : Ue.type) == null ? void 0 : Ye.image_2d) == null ? void 0 : Ke.length);
5924
+ }), je = () => {
5925
+ var qe, Ue, Ye, Ke;
5926
+ if (!Ie.value || De) return;
5927
+ const He = (qe = Ve.value) == null ? void 0 : qe.floors.find(
5928
+ (Xe) => {
5929
+ var Je, ii, ei;
5930
+ return ((Je = Xe.id) == null ? void 0 : Je.toString()) === ((ei = (ii = _e.flat) == null ? void 0 : ii.floor_id) == null ? void 0 : ei.toString());
5919
5931
  }
5920
- ), Fe = {
5921
- flatId: (We = _e.flat) == null ? void 0 : We.id,
5922
- floorId: je == null ? void 0 : je.id,
5923
- projectId: (Ue = (qe = Ve.value) == null ? void 0 : qe.project) == null ? void 0 : Ue.id
5932
+ ), We = {
5933
+ flatId: (Ue = _e.flat) == null ? void 0 : Ue.id,
5934
+ floorId: He == null ? void 0 : He.id,
5935
+ projectId: (Ke = (Ye = Ve.value) == null ? void 0 : Ye.project) == null ? void 0 : Ke.id
5924
5936
  };
5925
- Object.entries(Fe).forEach(([Ye, Ke]) => {
5926
- Ye && Ke && setQuery(Ye, Ke);
5937
+ Object.entries(We).forEach(([Xe, Je]) => {
5938
+ Xe && Je && setQuery(Xe, Je);
5927
5939
  });
5940
+ }, Fe = () => {
5941
+ Ae.value && $e("redirect_to_callback_url") === "true" ? window.open(Re.value, "_blank") : Le.value = !0;
5928
5942
  };
5929
5943
  return onMounted(() => {
5930
- ze();
5944
+ je();
5931
5945
  }), onUnmounted(() => {
5932
- ["flatId", "floorId", "projectId"].forEach((Fe) => {
5933
- setQuery(Fe, "");
5946
+ ["flatId", "floorId", "projectId"].forEach((We) => {
5947
+ setQuery(We, "");
5934
5948
  });
5935
- }), (je, Fe) => {
5936
- var He, We, qe, Ue, Ye, Ke, Xe, Qe, ii, ei, Ge, Ze, ti, Je, ni, oi, ri, si, ai, li, di, ci, ui, hi, fi, pi, mi, vi, bi, yi, _i, wi, xi, Ci, ki, Si, Ei, $i, Bi, Pi, Mi, Ni, Ti;
5949
+ }), (He, We) => {
5950
+ var qe, Ue, Ye, Ke, Xe, Je, ii, ei, Ge, Ze, ti, Qe, ni, oi, ri, si, ai, li, di, ci, ui, hi, fi, pi, mi, gi, bi, yi, _i, wi, xi, Ci, ki, Si, Ei, $i, Bi, Pi, Mi, Ni, Ti, Oi, Vi, Di, Li;
5937
5951
  return openBlock(), createElementBlock("div", {
5938
5952
  class: normalizeClass(["irep-flat-preview ire-grid", {
5939
- "lg:ire-grid-cols-[1.4fr,1fr]": Ae.value
5953
+ "lg:ire-grid-cols-[1.4fr,1fr]": ze.value
5940
5954
  }])
5941
5955
  }, [
5942
- Ae.value && Be.flat ? (openBlock(), createBlock(_sfc_main$r, {
5956
+ ze.value && Be.flat ? (openBlock(), createBlock(_sfc_main$r, {
5943
5957
  key: 0,
5944
5958
  flat: Be.flat,
5945
5959
  class: "ire-relative ire-bg-gray-50"
@@ -5951,39 +5965,49 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
5951
5965
  }])
5952
5966
  }, [
5953
5967
  createElementVNode("div", _hoisted_2$b, [
5954
- (He = Be.flat) != null && He.flat_number ? (openBlock(), createBlock(_sfc_main$y, {
5968
+ (qe = Be.flat) != null && qe.flat_number ? (openBlock(), createBlock(_sfc_main$y, {
5955
5969
  key: 0,
5956
5970
  keyName: unref(tr)("apartment"),
5957
5971
  value: Be.flat.flat_number,
5972
+ keyClass: "flat_type",
5973
+ valueClass: "flat_type_value",
5958
5974
  class: "[&_.flat-preview-value]:ire-min-w-fit [&_.flat-preview-value]:ire-font-semibold"
5959
5975
  }, null, 8, ["keyName", "value"])) : createCommentVNode("", !0),
5960
- (qe = (We = Be.flat) == null ? void 0 : We.type) != null && qe.title || (Ye = (Ue = Be.flat) == null ? void 0 : Ue.type) != null && Ye.teaser ? (openBlock(), createElementBlock("div", _hoisted_3$b, [
5961
- createElementVNode("div", _hoisted_4$7, toDisplayString((Xe = (Ke = Be.flat) == null ? void 0 : Ke.type) == null ? void 0 : Xe.title), 1),
5962
- createElementVNode("div", _hoisted_5$5, toDisplayString((ii = (Qe = Be.flat) == null ? void 0 : Qe.type) == null ? void 0 : ii.teaser), 1)
5976
+ (Ye = (Ue = Be.flat) == null ? void 0 : Ue.type) != null && Ye.title || (Xe = (Ke = Be.flat) == null ? void 0 : Ke.type) != null && Xe.teaser ? (openBlock(), createElementBlock("div", _hoisted_3$b, [
5977
+ createElementVNode("div", _hoisted_4$7, toDisplayString((ii = (Je = Be.flat) == null ? void 0 : Je.type) == null ? void 0 : ii.title), 1),
5978
+ (Ge = (ei = Be.flat) == null ? void 0 : ei.type) != null && Ge.teaser ? (openBlock(), createElementBlock("div", _hoisted_5$5, toDisplayString((ti = (Ze = Be.flat) == null ? void 0 : Ze.type) == null ? void 0 : ti.teaser), 1)) : createCommentVNode("", !0)
5963
5979
  ])) : createCommentVNode("", !0),
5964
5980
  createElementVNode("div", _hoisted_6$4, [
5965
- (ei = Be.flat) != null && ei.block_id ? (openBlock(), createBlock(_sfc_main$y, {
5981
+ (Qe = Be.flat) != null && Qe.block_id ? (openBlock(), createBlock(_sfc_main$y, {
5966
5982
  key: 0,
5967
5983
  keyName: unref(tr)("block"),
5968
- value: ((ti = (Ze = unref(getBlockById)(+((Ge = Be.flat) == null ? void 0 : Ge.block_id))) == null ? void 0 : Ze.title) == null ? void 0 : ti.toString()) || "",
5984
+ value: ((ri = (oi = unref(getBlockById)(+((ni = Be.flat) == null ? void 0 : ni.block_id))) == null ? void 0 : oi.title) == null ? void 0 : ri.toString()) || "",
5985
+ keyClass: "flat_block_key flat_date_key",
5986
+ valueClass: "flat_block_value flat_date_value",
5969
5987
  class: "irep-flat-preview__right-floor-block"
5970
5988
  }, null, 8, ["keyName", "value"])) : createCommentVNode("", !0),
5971
- (Je = Be.flat) != null && Je.floor_id ? (openBlock(), createBlock(_sfc_main$y, {
5989
+ (si = Be.flat) != null && si.floor_id ? (openBlock(), createBlock(_sfc_main$y, {
5972
5990
  key: 1,
5973
5991
  keyName: unref(tr)("floor"),
5974
- value: ((ri = (oi = unref(getFloorById)(+((ni = Be.flat) == null ? void 0 : ni.floor_id))) == null ? void 0 : oi.floor_number) == null ? void 0 : ri.toString()) || "",
5992
+ value: ((di = (li = unref(getFloorById)(+((ai = Be.flat) == null ? void 0 : ai.floor_id))) == null ? void 0 : li.floor_number) == null ? void 0 : di.toString()) || "",
5993
+ keyClass: "flat_floor_name_key flat_date_key",
5994
+ valueClass: "flat_floor_name_value flat_date_value",
5975
5995
  class: "irep-flat-preview__right-floor-number"
5976
5996
  }, null, 8, ["keyName", "value"])) : createCommentVNode("", !0),
5977
- (si = Be.flat) != null && si.floor_id ? (openBlock(), createBlock(_sfc_main$y, {
5997
+ (ci = Be.flat) != null && ci.floor_id ? (openBlock(), createBlock(_sfc_main$y, {
5978
5998
  key: 2,
5979
5999
  keyName: unref(tr)("floor title"),
5980
- value: ((di = (li = unref(getFloorById)(+((ai = Be.flat) == null ? void 0 : ai.floor_id))) == null ? void 0 : li.title) == null ? void 0 : di.toString()) || "",
6000
+ value: ((fi = (hi = unref(getFloorById)(+((ui = Be.flat) == null ? void 0 : ui.floor_id))) == null ? void 0 : hi.title) == null ? void 0 : fi.toString()) || "",
6001
+ keyClass: "flat_floor_key flat_date_key",
6002
+ valueClass: "flat_floor_value flat_date_value",
5981
6003
  class: "irep-flat-preview__right-floor-title"
5982
6004
  }, null, 8, ["keyName", "value"])) : createCommentVNode("", !0),
5983
- (ui = (ci = Be.flat) == null ? void 0 : ci.type) != null && ui.area_m2 ? (openBlock(), createBlock(_sfc_main$y, {
6005
+ (mi = (pi = Be.flat) == null ? void 0 : pi.type) != null && mi.area_m2 ? (openBlock(), createBlock(_sfc_main$y, {
5984
6006
  key: 3,
5985
6007
  keyName: unref(tr)("area"),
5986
- value: unref(getArea)(Number((hi = Be.flat) == null ? void 0 : hi.type.area_m2)),
6008
+ value: unref(getArea)(Number((gi = Be.flat) == null ? void 0 : gi.type.area_m2)),
6009
+ keyClass: "flat_area_key flat_date_key",
6010
+ valueClass: "flat_area_value flat_date_value",
5987
6011
  class: "irep-flat-preview__right-floor-area"
5988
6012
  }, {
5989
6013
  sufix: withCtx(() => [
@@ -5991,42 +6015,46 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
5991
6015
  ]),
5992
6016
  _: 1
5993
6017
  }, 8, ["keyName", "value"])) : createCommentVNode("", !0),
5994
- (pi = (fi = Be.flat) == null ? void 0 : fi.type) != null && pi.rooms_count ? (openBlock(), createBlock(_sfc_main$y, {
6018
+ (yi = (bi = Be.flat) == null ? void 0 : bi.type) != null && yi.rooms_count ? (openBlock(), createBlock(_sfc_main$y, {
5995
6019
  key: 4,
5996
6020
  keyName: unref(tr)("room"),
5997
6021
  value: Be.flat.type.rooms_count,
6022
+ keyClass: "flat_rooms_key flat_date_key",
6023
+ valueClass: "flat_rooms_value flat_date_value",
5998
6024
  class: "irep-flat-preview__right-floor-room"
5999
6025
  }, null, 8, ["keyName", "value"])) : createCommentVNode("", !0),
6000
- (bi = (vi = (mi = Be.flat) == null ? void 0 : mi.type) == null ? void 0 : vi.other) != null && bi.length ? (openBlock(!0), createElementBlock(Fragment, { key: 5 }, renderList(Be.flat.type.other, (gi) => (openBlock(), createBlock(_sfc_main$y, {
6001
- keyName: gi.key,
6002
- value: gi.value
6026
+ (xi = (wi = (_i = Be.flat) == null ? void 0 : _i.type) == null ? void 0 : wi.other) != null && xi.length ? (openBlock(!0), createElementBlock(Fragment, { key: 5 }, renderList(Be.flat.type.other, (vi) => (openBlock(), createBlock(_sfc_main$y, {
6027
+ keyName: vi.key,
6028
+ value: vi.value,
6029
+ keyClass: "flat_date_key",
6030
+ valueClass: "flat_date_value"
6003
6031
  }, null, 8, ["keyName", "value"]))), 256)) : createCommentVNode("", !0)
6004
6032
  ])
6005
6033
  ]),
6006
6034
  createElementVNode("div", _hoisted_7$3, [
6007
6035
  createElementVNode("div", {
6008
- class: normalizeClass(["irep-flat-modal-price-container ire-w-fit ire-rounded-sm ire-bg-[var(--primary-color)] ire-p-2 ire-text-4xl ire-text-white", [`irep-flat-modal--${((yi = Be.flat) == null ? void 0 : yi.conf) || "price"}`]])
6036
+ class: normalizeClass(["irep-flat-modal-price-container ire-w-fit ire-rounded-sm ire-bg-[var(--primary-color)] ire-p-2 ire-text-4xl ire-text-white", [`irep-flat-modal--${((Ci = Be.flat) == null ? void 0 : Ci.conf) || "price"}`]])
6009
6037
  }, [
6010
- (_i = Be.flat) != null && _i.conf ? (openBlock(), createElementBlock("div", _hoisted_8$1, toDisplayString(unref(tr)(Be.flat.conf)), 1)) : (wi = Be.flat) != null && wi.request_price ? (openBlock(), createElementBlock("div", _hoisted_9$1, toDisplayString(unref(tr)("Request Price")), 1)) : (xi = Be.flat) != null && xi.offer_price ? (openBlock(), createElementBlock("div", _hoisted_10$1, [
6038
+ (ki = Be.flat) != null && ki.conf ? (openBlock(), createElementBlock("div", _hoisted_8$1, toDisplayString(unref(tr)(Be.flat.conf)), 1)) : (Si = Be.flat) != null && Si.request_price ? (openBlock(), createElementBlock("div", _hoisted_9$1, toDisplayString(unref(tr)("Request Price")), 1)) : (Ei = Be.flat) != null && Ei.offer_price ? (openBlock(), createElementBlock("div", _hoisted_10$1, [
6011
6039
  createElementVNode("div", _hoisted_11$1, [
6012
- createTextVNode(toDisplayString(unref(getPrice)(Number((Ci = Be.flat) == null ? void 0 : Ci.price))) + " ", 1),
6040
+ createTextVNode(toDisplayString(unref(getPrice)(Number(($i = Be.flat) == null ? void 0 : $i.price))) + " ", 1),
6013
6041
  createElementVNode("span", null, toDisplayString(unref(currencySymbol)()), 1)
6014
6042
  ]),
6015
6043
  createElementVNode("div", null, [
6016
- createTextVNode(toDisplayString(unref(getPrice)(Number((ki = Be.flat) == null ? void 0 : ki.offer_price))) + " ", 1),
6044
+ createTextVNode(toDisplayString(unref(getPrice)(Number((Bi = Be.flat) == null ? void 0 : Bi.offer_price))) + " ", 1),
6017
6045
  createElementVNode("span", null, toDisplayString(unref(currencySymbol)()), 1)
6018
6046
  ])
6019
- ])) : (Si = Be.flat) != null && Si.price ? (openBlock(), createElementBlock("div", _hoisted_12$1, [
6020
- createTextVNode(toDisplayString(unref(getPrice)(Number((Ei = Be.flat) == null ? void 0 : Ei.price))) + " ", 1),
6047
+ ])) : (Pi = Be.flat) != null && Pi.price ? (openBlock(), createElementBlock("div", _hoisted_12$1, [
6048
+ createTextVNode(toDisplayString(unref(getPrice)(Number((Mi = Be.flat) == null ? void 0 : Mi.price))) + " ", 1),
6021
6049
  createElementVNode("span", null, toDisplayString(unref(currencySymbol)()), 1)
6022
6050
  ])) : createCommentVNode("", !0)
6023
6051
  ], 2),
6024
6052
  createElementVNode("div", _hoisted_13$1, toDisplayString(unref(tr)("price")), 1)
6025
6053
  ]),
6026
6054
  createElementVNode("div", _hoisted_14, [
6027
- (Pi = (Bi = ($i = Be.flat) == null ? void 0 : $i.files) == null ? void 0 : Bi[0]) != null && Pi.url ? (openBlock(), createElementBlock("a", {
6055
+ (Oi = (Ti = (Ni = Be.flat) == null ? void 0 : Ni.files) == null ? void 0 : Ti[0]) != null && Oi.url ? (openBlock(), createElementBlock("a", {
6028
6056
  key: 0,
6029
- href: (Ti = (Ni = (Mi = Be.flat) == null ? void 0 : Mi.files) == null ? void 0 : Ni[0]) == null ? void 0 : Ti.url,
6057
+ href: (Li = (Di = (Vi = Be.flat) == null ? void 0 : Vi.files) == null ? void 0 : Di[0]) == null ? void 0 : Li.url,
6030
6058
  target: "_blank",
6031
6059
  class: "irep-flat-moda-action-buttons__download-file ire-w-full ire-p-2 !ire-no-underline hover:!ire-no-underline"
6032
6060
  }, [
@@ -6036,17 +6064,17 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
6036
6064
  class: "ire-w-full"
6037
6065
  }, null, 8, ["title"])
6038
6066
  ], 8, _hoisted_15)) : createCommentVNode("", !0),
6039
- Ie.value ? (openBlock(), createElementBlock("div", _hoisted_16, [
6067
+ Ae.value ? (openBlock(), createElementBlock("div", _hoisted_16, [
6040
6068
  createVNode(_sfc_main$x, {
6041
6069
  title: unref(tr)("request callback"),
6042
6070
  active: "",
6043
6071
  class: "!ire-w-full",
6044
- onClick: Fe[0] || (Fe[0] = (gi) => Le.value = !0)
6072
+ onClick: Fe
6045
6073
  }, null, 8, ["title"])
6046
6074
  ])) : createCommentVNode("", !0)
6047
6075
  ])
6048
6076
  ], 2),
6049
- Ie.value ? (openBlock(), createElementBlock("div", {
6077
+ Ae.value ? (openBlock(), createElementBlock("div", {
6050
6078
  key: 0,
6051
6079
  class: normalizeClass(["ease-in-out-quint ire-mt-4 ire-h-full ire-w-full ire-flex-[1_0_auto] ire-origin-right ire-px-6 ire-py-4 ire-transition-transform ire-duration-300", {
6052
6080
  "!ire-h-0 ire-translate-x-full ire-scale-0": !Le.value,
@@ -6055,7 +6083,7 @@ const Logo = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$a]
6055
6083
  }, [
6056
6084
  createVNode(_sfc_main$p, {
6057
6085
  flat: Be.flat,
6058
- onHideForm: Fe[1] || (Fe[1] = (gi) => Le.value = !1)
6086
+ onHideForm: We[0] || (We[0] = (vi) => Le.value = !1)
6059
6087
  }, null, 8, ["flat"])
6060
6088
  ], 2)) : createCommentVNode("", !0)
6061
6089
  ])
@@ -6175,15 +6203,15 @@ const Close = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$9
6175
6203
  var ii, ei, Ge, Ze;
6176
6204
  const Ke = Ye == null ? void 0 : Ye.getAttribute("id"), Xe = (ei = (ii = $e.block) == null ? void 0 : ii.polygon_data) == null ? void 0 : ei.find(
6177
6205
  (ti) => (ti == null ? void 0 : ti.key) === Ke
6178
- ), Qe = Xe == null ? void 0 : Xe.id;
6206
+ ), Je = Xe == null ? void 0 : Xe.id;
6179
6207
  switch (Xe == null ? void 0 : Xe.type) {
6180
6208
  case "floor":
6181
- const ti = (Ge = $e.floors) == null ? void 0 : Ge.find((ni) => ni.id === Qe);
6209
+ const ti = (Ge = $e.floors) == null ? void 0 : Ge.find((ni) => ni.id === Je);
6182
6210
  Ye.setAttribute("conf", (ti == null ? void 0 : ti.conf) || "");
6183
6211
  break;
6184
6212
  case "flat":
6185
- const Je = (Ze = $e.flats) == null ? void 0 : Ze.find((ni) => ni.id === Qe);
6186
- Ye.setAttribute("conf", (Je == null ? void 0 : Je.conf) || "");
6213
+ const Qe = (Ze = $e.flats) == null ? void 0 : Ze.find((ni) => ni.id === Je);
6214
+ Ye.setAttribute("conf", (Qe == null ? void 0 : Qe.conf) || "");
6187
6215
  break;
6188
6216
  }
6189
6217
  });
@@ -6196,37 +6224,37 @@ const Close = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$9
6196
6224
  ), watch(
6197
6225
  () => Ie.value,
6198
6226
  (qe) => {
6199
- var Ye, Ke, Xe, Qe, ii, ei, Ge, Ze;
6227
+ var Ye, Ke, Xe, Je, ii, ei, Ge, Ze;
6200
6228
  if (!qe) return;
6201
6229
  Ve.hoverdSvg = qe;
6202
6230
  const Ue = qe == null ? void 0 : qe.parentElement;
6203
6231
  if (Ue && (Ue == null ? void 0 : Ue.nodeName) === "g") {
6204
6232
  const ti = Ue == null ? void 0 : Ue.getAttribute("id");
6205
- if (!ti || (Ae.value = ((Ke = (Ye = $e.block) == null ? void 0 : Ye.polygon_data) == null ? void 0 : Ke.find((Je) => (Je == null ? void 0 : Je.key) === ti)) || null, !Ae.value)) return;
6233
+ if (!ti || (Ae.value = ((Ke = (Ye = $e.block) == null ? void 0 : Ye.polygon_data) == null ? void 0 : Ke.find((Qe) => (Qe == null ? void 0 : Qe.key) === ti)) || null, !Ae.value)) return;
6206
6234
  if (((Xe = Ae.value) == null ? void 0 : Xe.type) === "floor") {
6207
- const Je = (Qe = $e.floors) == null ? void 0 : Qe.find(
6235
+ const Qe = (Je = $e.floors) == null ? void 0 : Je.find(
6208
6236
  (ni) => {
6209
6237
  var oi;
6210
6238
  return (ni == null ? void 0 : ni.id) === ((oi = Ae.value) == null ? void 0 : oi.id);
6211
6239
  }
6212
6240
  );
6213
- ze.value = Je;
6241
+ ze.value = Qe;
6214
6242
  } else if (((ii = Ae.value) == null ? void 0 : ii.type) === "flat") {
6215
- const Je = (ei = $e.flats) == null ? void 0 : ei.find(
6243
+ const Qe = (ei = $e.flats) == null ? void 0 : ei.find(
6216
6244
  (ni) => {
6217
6245
  var oi;
6218
6246
  return (ni == null ? void 0 : ni.id) === ((oi = Ae.value) == null ? void 0 : oi.id);
6219
6247
  }
6220
6248
  );
6221
- ze.value = Je;
6249
+ ze.value = Qe;
6222
6250
  } else if (((Ge = Ae.value) == null ? void 0 : Ge.type) === "tooltip") {
6223
- const Je = (Ze = $e.actions) == null ? void 0 : Ze.find(
6251
+ const Qe = (Ze = $e.actions) == null ? void 0 : Ze.find(
6224
6252
  (ni) => {
6225
6253
  var oi;
6226
6254
  return (ni == null ? void 0 : ni.id) === ((oi = Ae.value) == null ? void 0 : oi.id);
6227
6255
  }
6228
6256
  );
6229
- ze.value = Je;
6257
+ ze.value = Qe;
6230
6258
  } else
6231
6259
  ze.value = null;
6232
6260
  } else
@@ -6252,11 +6280,11 @@ const Close = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$9
6252
6280
  ];
6253
6281
  }),
6254
6282
  default: withCtx(() => {
6255
- var Ke, Xe, Qe;
6283
+ var Ke, Xe, Je;
6256
6284
  return [
6257
6285
  createElementVNode("div", _hoisted_2$8, [
6258
6286
  createElementVNode("img", {
6259
- src: ((Qe = (Xe = (Ke = Be.block) == null ? void 0 : Ke.block_image) == null ? void 0 : Xe[0]) == null ? void 0 : Qe.url) || "",
6287
+ src: ((Je = (Xe = (Ke = Be.block) == null ? void 0 : Ke.block_image) == null ? void 0 : Xe[0]) == null ? void 0 : Je.url) || "",
6260
6288
  alt: "",
6261
6289
  class: "ire-left-0 ire-top-0 ire-h-full ire-w-full"
6262
6290
  }, null, 8, _hoisted_3$8),
@@ -6291,8 +6319,8 @@ const Close = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$9
6291
6319
  const Fe = document.querySelector(".irep-tooltip"), He = ((ii = _e.hoverdSvg) == null ? void 0 : ii.nodeName) === "path" ? _e.hoverdSvg : null;
6292
6320
  if (!Ve.value || !Fe || !He)
6293
6321
  return;
6294
- const We = Ve.value.getBoundingClientRect(), qe = He.getBoundingClientRect(), Ue = Fe.getBoundingClientRect(), Ye = We.left + We.width / 2, Ke = We.top + We.height / 2, Xe = qe.left > Ye, Qe = qe.bottom > Ke;
6295
- Le = je.clientX - We.left - (Xe ? Ue.width : -20), Re = je.clientY - We.top - (Qe ? Ue.height : -20), ke.value && ($e.value = Le, Ne.value = Re), Ae(), ke.value = !1;
6322
+ const We = Ve.value.getBoundingClientRect(), qe = He.getBoundingClientRect(), Ue = Fe.getBoundingClientRect(), Ye = We.left + We.width / 2, Ke = We.top + We.height / 2, Xe = qe.left > Ye, Je = qe.bottom > Ke;
6323
+ Le = je.clientX - We.left - (Xe ? Ue.width : -20), Re = je.clientY - We.top - (Je ? Ue.height : -20), ke.value && ($e.value = Le, Ne.value = Re), Ae(), ke.value = !1;
6296
6324
  };
6297
6325
  return onMounted(() => {
6298
6326
  document.addEventListener("mousemove", ze);
@@ -7424,7 +7452,7 @@ const GridIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_rende
7424
7452
  class: "irep-flats-cards-list-wrapper ire-grid ire-grid-cols-1 ire-gap-y-8 md:ire-grid-cols-2 lg:ire-grid-cols-3 md:[&>div:nth-child(2n)]:ire-border-r lg:[&>div:nth-child(2n)]:ire-border-r-0 lg:[&>div:nth-child(3n)]:ire-border-r"
7425
7453
  }, _hoisted_5 = {
7426
7454
  key: 2,
7427
- class: "ire-text-center ire-text-lg ire-font-semibold ire-capitalize ire-text-black"
7455
+ class: "ire-mt-6 ire-text-center ire-text-lg ire-font-semibold ire-capitalize ire-text-black"
7428
7456
  }, _hoisted_6 = {
7429
7457
  key: 3,
7430
7458
  class: "irep-flats-list__pagination ire-mt-8 ire-flex ire-flex-col ire-items-center ire-gap-4"
@@ -7460,7 +7488,7 @@ const GridIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_rende
7460
7488
  var oi, ri, si;
7461
7489
  const ti = (oi = $e.value) == null ? void 0 : oi.floors.find(
7462
7490
  (ai) => ai.id === Ze.floor_id
7463
- ), Je = (ri = $e.value) == null ? void 0 : ri.blocks.find(
7491
+ ), Qe = (ri = $e.value) == null ? void 0 : ri.blocks.find(
7464
7492
  (ai) => ai.id === Ze.block_id
7465
7493
  ), ni = Ze.use_type || !Ze.type ? ((si = qe.value) == null ? void 0 : si.find((ai) => ai.id === Ze.type_id)) ?? Ze.type : Ze.type;
7466
7494
  return {
@@ -7474,19 +7502,19 @@ const GridIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_rende
7474
7502
  price: Ze.conf ? tr(Ze.conf) : Ze.request_price ? tr("Request Price") : `${getPrice(Number((Ze == null ? void 0 : Ze.offer_price) || (Ze == null ? void 0 : Ze.price)))} ${currencySymbol()}`,
7475
7503
  floor_title: ti == null ? void 0 : ti.title,
7476
7504
  floor_number: Number.isFinite(Number(ti == null ? void 0 : ti.floor_number)) ? Number(ti == null ? void 0 : ti.floor_number) : "",
7477
- block_title: Je == null ? void 0 : Je.title
7505
+ block_title: Qe == null ? void 0 : Qe.title
7478
7506
  };
7479
7507
  }).map((Ze) => {
7480
- var Je;
7481
- const ti = (Je = Ze.type) == null ? void 0 : Je.other.reduce(
7508
+ var Qe;
7509
+ const ti = (Qe = Ze.type) == null ? void 0 : Qe.other.reduce(
7482
7510
  (ni, oi) => (ni[oi.key] = oi.value, ni),
7483
7511
  {}
7484
7512
  );
7485
7513
  return { ...Ze, type: { ...Ze.type, other: ti } };
7486
7514
  }).sort((Ze, ti) => {
7487
- const Je = Le.value;
7488
- let ni = Ze[Je], oi = ti[Je];
7489
- Je != null && Je.includes(".") && (ni = getNested(Ze, Je), oi = getNested(ti, Je)), ni == null && (ni = "0"), oi == null && (oi = "0");
7515
+ const Qe = Le.value;
7516
+ let ni = Ze[Qe], oi = ti[Qe];
7517
+ Qe != null && Qe.includes(".") && (ni = getNested(Ze, Qe), oi = getNested(ti, Qe)), ni == null && (ni = "0"), oi == null && (oi = "0");
7490
7518
  const ri = ni.toString(), si = oi.toString();
7491
7519
  return !isNaN(ri) && !isNaN(si) ? Re.value === "desc" ? si - ri : ri - si : Re.value === "desc" ? String(oi).localeCompare(String(ni)) : String(ni).localeCompare(String(oi));
7492
7520
  }) : []), Ye = computed$1(() => {
@@ -7494,7 +7522,7 @@ const GridIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_rende
7494
7522
  return Xe.value ? Math.ceil(((Ge = Ke.value) == null ? void 0 : Ge.length) / Ae.value) : 0;
7495
7523
  }), Ke = computed$1(() => Ue.value ? Ue.value.filter((Ge) => {
7496
7524
  var ui, hi, fi, pi, mi;
7497
- const [Ze, ti] = We.value.priceRange.split("-").map(Number), [Je, ni] = We.value.areaRange.split("-").map(Number), [oi, ri] = We.value.roomRange.split("-").map(Number), si = Ge.price_n >= Ze && Ge.price_n <= ti, ai = ((ui = Ge.type) == null ? void 0 : ui.area_m2_n) >= Je && ((hi = Ge.type) == null ? void 0 : hi.area_m2_n) <= ni, li = (fi = We.value) != null && fi.floor ? Ge.floor_id === We.value.floor : !0, di = +((pi = Ge.type) == null ? void 0 : pi.rooms_count) >= oi && +((mi = Ge.type) == null ? void 0 : mi.rooms_count) <= ri;
7525
+ const [Ze, ti] = We.value.priceRange.split("-").map(Number), [Qe, ni] = We.value.areaRange.split("-").map(Number), [oi, ri] = We.value.roomRange.split("-").map(Number), si = Ge.price_n >= Ze && Ge.price_n <= ti, ai = ((ui = Ge.type) == null ? void 0 : ui.area_m2_n) >= Qe && ((hi = Ge.type) == null ? void 0 : hi.area_m2_n) <= ni, li = (fi = We.value) != null && fi.floor ? Ge.floor_id === We.value.floor : !0, di = +((pi = Ge.type) == null ? void 0 : pi.rooms_count) >= oi && +((mi = Ge.type) == null ? void 0 : mi.rooms_count) <= ri;
7498
7526
  let ci = !0;
7499
7527
  return We.value.config !== "all" && (We.value.config === "available" ? ci = !Ge.conf : We.value.config === "reserved" ? ci = Ge.conf === "reserved" : We.value.config === "sold" && (ci = Ge.conf === "sold")), si && ai && li && di && ci;
7500
7528
  }) : []), Xe = computed$1(() => {
@@ -7502,7 +7530,7 @@ const GridIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_rende
7502
7530
  if (!((ti = $e.value) != null && ti.flats)) return [];
7503
7531
  const Ge = (je.value - 1) * Ae.value, Ze = Ge + Ae.value;
7504
7532
  return Ke.value.slice(Ge, Ze);
7505
- }), Qe = (Ge, Ze = !0) => {
7533
+ }), Je = (Ge, Ze = !0) => {
7506
7534
  je.value = Ge, ze.value, Ze && De(ze.value, 50), setQuery("flats-page", Ge.toString());
7507
7535
  }, ii = (Ge, Ze) => {
7508
7536
  Le.value = Ge, Re.value = Ze;
@@ -7513,7 +7541,7 @@ const GridIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_rende
7513
7541
  return watch(
7514
7542
  () => We.value,
7515
7543
  () => {
7516
- je.value = 1, Qe(1, !1);
7544
+ je.value = 1, Je(1, !1);
7517
7545
  },
7518
7546
  {
7519
7547
  deep: !0
@@ -7534,13 +7562,13 @@ const GridIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_rende
7534
7562
  createElementVNode("div", _hoisted_1, [
7535
7563
  createVNode(_sfc_main$2, {
7536
7564
  "filters-object": We.value,
7537
- "onUpdate:filtersObject": Ze[0] || (Ze[0] = (Je) => We.value = Je)
7565
+ "onUpdate:filtersObject": Ze[0] || (Ze[0] = (Qe) => We.value = Qe)
7538
7566
  }, null, 8, ["filters-object"])
7539
7567
  ]),
7540
7568
  Be.layout === "mixed" ? (openBlock(), createElementBlock("div", _hoisted_2, [
7541
7569
  createElementVNode("button", {
7542
7570
  class: "irep-flats-top__mode-switcher-button ire-group ire-flex ire-cursor-pointer ire-items-center ire-gap-1 ire-bg-transparent ire-capitalize",
7543
- onClick: Ze[1] || (Ze[1] = (Je) => Ie.value = !Ie.value)
7571
+ onClick: Ze[1] || (Ze[1] = (Qe) => Ie.value = !Ie.value)
7544
7572
  }, [
7545
7573
  createElementVNode("div", _hoisted_3, [
7546
7574
  createVNode(Transition, {
@@ -7582,12 +7610,12 @@ const GridIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_rende
7582
7610
  Ie.value ? (openBlock(), createBlock(_sfc_main$3, {
7583
7611
  key: 0,
7584
7612
  flats: Xe.value,
7585
- onSortColumn: Ze[2] || (Ze[2] = (Je, ni) => ii(Je, ni)),
7586
- onOpenFlat: Ze[3] || (Ze[3] = (Je) => ei(Je))
7613
+ onSortColumn: Ze[2] || (Ze[2] = (Qe, ni) => ii(Qe, ni)),
7614
+ onOpenFlat: Ze[3] || (Ze[3] = (Qe) => ei(Qe))
7587
7615
  }, null, 8, ["flats"])) : (openBlock(), createElementBlock("div", _hoisted_4, [
7588
- (openBlock(!0), createElementBlock(Fragment, null, renderList(Xe.value, (Je) => (openBlock(), createBlock(_sfc_main$e, {
7589
- key: Je.id,
7590
- flat: Je,
7616
+ (openBlock(!0), createElementBlock(Fragment, null, renderList(Xe.value, (Qe) => (openBlock(), createBlock(_sfc_main$e, {
7617
+ key: Qe.id,
7618
+ flat: Qe,
7591
7619
  onOpenFlat: Ze[4] || (Ze[4] = (ni) => ei(ni))
7592
7620
  }, null, 8, ["flat"]))), 128))
7593
7621
  ]))
@@ -7598,8 +7626,8 @@ const GridIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_rende
7598
7626
  createVNode(unref(script$1), {
7599
7627
  modelValue: je.value,
7600
7628
  "onUpdate:modelValue": [
7601
- Ze[5] || (Ze[5] = (Je) => je.value = Je),
7602
- Qe
7629
+ Ze[5] || (Ze[5] = (Qe) => je.value = Qe),
7630
+ Je
7603
7631
  ],
7604
7632
  pages: Ye.value,
7605
7633
  "range-size": 1,
@@ -7616,7 +7644,7 @@ const GridIcon = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_rende
7616
7644
  Fe.value && He.value ? (openBlock(), createBlock(_sfc_main$m, {
7617
7645
  key: 0,
7618
7646
  style: normalizeStyle(unref(Ne)),
7619
- onClose: Ze[6] || (Ze[6] = (Je) => Fe.value = !1)
7647
+ onClose: Ze[6] || (Ze[6] = (Qe) => Fe.value = !1)
7620
7648
  }, {
7621
7649
  default: withCtx(() => [
7622
7650
  createVNode(_sfc_main$o, { flat: He.value }, null, 8, ["flat"])