@qispace/vue3-player 0.2.7 → 0.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  var jt = Object.defineProperty;
2
2
  var Pt = (l, a, e) => a in l ? jt(l, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[a] = e;
3
3
  var re = (l, a, e) => (Pt(l, typeof a != "symbol" ? a + "" : a, e), e);
4
- import { defineComponent as j, ref as p, computed as O, openBlock as m, createElementBlock as A, watch as H, onMounted as ye, onBeforeUnmount as Ye, withDirectives as pe, createElementVNode as d, normalizeStyle as ue, vShow as ge, createVNode as b, Fragment as ie, renderList as ve, createCommentVNode as $, inject as Ge, resolveComponent as T, withCtx as _, toDisplayString as G, unref as V, createTextVNode as ee, normalizeClass as he, createBlock as E, renderSlot as se, provide as Qe, reactive as st, watchEffect as xe, resolveDynamicComponent as xt, normalizeProps as tt, guardReactiveProps as nt, mergeProps as Se, nextTick as ke, Transition as Ee, createSlots as Wt, pushScopeId as rt, popScopeId as it, vModelText as Nt, createStaticVNode as At, onBeforeUpdate as Gt, toRefs as Oe } from "vue";
4
+ import { defineComponent as j, ref as p, computed as O, openBlock as m, createElementBlock as A, watch as H, onMounted as ye, onBeforeUnmount as Ye, withDirectives as pe, createElementVNode as d, normalizeStyle as ie, vShow as ge, createVNode as b, Fragment as ue, renderList as ve, createCommentVNode as $, inject as Ge, resolveComponent as V, withCtx as _, toDisplayString as G, unref as T, createTextVNode as ee, normalizeClass as he, createBlock as E, renderSlot as se, provide as Qe, reactive as st, watchEffect as xe, resolveDynamicComponent as xt, normalizeProps as tt, guardReactiveProps as nt, mergeProps as Se, nextTick as ke, Transition as Ee, createSlots as Wt, pushScopeId as rt, popScopeId as it, vModelText as Nt, createStaticVNode as At, onBeforeUpdate as Gt, toRefs as Oe } from "vue";
5
5
  import mt from "axios";
6
6
  import * as Qt from "@qispace/player-core";
7
7
  import * as He from "three";
@@ -76,10 +76,10 @@ const qt = /* @__PURE__ */ j({
76
76
  },
77
77
  emits: ["selectUnit", "goToUnit", "hoverOver", "hoverOut", "pos"],
78
78
  setup(l, { emit: a }) {
79
- const e = l, t = a, n = p({ x: 0, y: 0, width: 0, height: 0 }), o = p(0), i = p(0), s = p(), v = p(), u = p(), r = p(), h = p(-1), k = p(!1), f = p(), c = p(), g = p({}), S = p("auto"), I = p(new Ce()), y = p({}), R = p(), F = p(), Y = p(), D = p(), C = p(), W = O(() => Y.value.isHoverEnabled), L = O(() => ce(
79
+ const e = l, t = a, n = p({ x: 0, y: 0, width: 0, height: 0 }), o = p(0), i = p(0), s = p(), v = p(), u = p(), r = p(), g = p(-1), k = p(!1), h = p(), c = p(), f = p({}), S = p("auto"), I = p(new Ce()), y = p({}), R = p(), F = p(), Y = p(), D = p(), C = p(), W = O(() => Y.value.isHoverEnabled), L = O(() => ce(
80
80
  e.cdnFileResolver,
81
81
  `/scenedata${e.viewModel.currentScene}.png`
82
- )), Z = O(() => L.value in g.value ? g.value[L.value] : null), w = O(() => h.value < 0 ? !1 : e.sceneData.find((N) => N.index === h.value) || !1), M = O(() => ({
82
+ )), Z = O(() => L.value in f.value ? f.value[L.value] : null), w = O(() => g.value < 0 ? !1 : e.sceneData.find((N) => N.index === g.value) || !1), M = O(() => ({
83
83
  width: o.value + "px",
84
84
  height: i.value + "px",
85
85
  cursor: S.value
@@ -87,9 +87,9 @@ const qt = /* @__PURE__ */ j({
87
87
  H(
88
88
  L,
89
89
  () => {
90
- g.value[L.value] || I.value.loadImageData(L.value).then((z) => {
91
- g.value = {
92
- ...g.value,
90
+ f.value[L.value] || I.value.loadImageData(L.value).then((z) => {
91
+ f.value = {
92
+ ...f.value,
93
93
  [L.value]: z
94
94
  };
95
95
  });
@@ -132,8 +132,8 @@ const qt = /* @__PURE__ */ j({
132
132
  }, window.addEventListener("resize", F.value), De();
133
133
  }), Ye(() => {
134
134
  window.removeEventListener("resize", F.value);
135
- for (const z in g.value)
136
- URL.revokeObjectURL(g.value[z]);
135
+ for (const z in f.value)
136
+ URL.revokeObjectURL(f.value[z]);
137
137
  });
138
138
  function Q() {
139
139
  s.value = D.value.getContext("2d", { willReadFrequently: !0 }), v.value = new Image(), v.value.onload = () => {
@@ -142,7 +142,7 @@ const qt = /* @__PURE__ */ j({
142
142
  }
143
143
  function oe(z) {
144
144
  const N = J(z.offsetX, z.offsetY);
145
- k.value = N >= 0, h.value = N, n.value = {
145
+ k.value = N >= 0, g.value = N, n.value = {
146
146
  x: z.offsetX,
147
147
  y: z.offsetY,
148
148
  width: o.value,
@@ -181,7 +181,7 @@ const qt = /* @__PURE__ */ j({
181
181
  }
182
182
  }
183
183
  function J(z, N) {
184
- f.value = z, c.value = N;
184
+ h.value = z, c.value = N;
185
185
  const ae = D.value.offsetWidth / D.value.width, $e = D.value.offsetHeight / D.value.height, Ue = (z / ae).toFixed(), Be = (N / $e).toFixed(), Ve = Number(Be) * (D.value.width * 4) + Number(Ue) * 4, ct = r.value.data[Ve];
186
186
  return r.value.data[Ve + 3] > 0 ? ct : -1;
187
187
  }
@@ -192,7 +192,7 @@ const qt = /* @__PURE__ */ j({
192
192
  if (ae) {
193
193
  const $e = me(N.index);
194
194
  let Ue = "idle";
195
- !w.value && e.selectedUnitId && $e === e.selectedUnitId ? Ue = "selected" : w.value && h.value === N.index && (Ue = "hover");
195
+ !w.value && e.selectedUnitId && $e === e.selectedUnitId ? Ue = "selected" : w.value && g.value === N.index && (Ue = "hover");
196
196
  const Be = e.colorCallback(N.unitId, Ue);
197
197
  if (Be)
198
198
  for (let Ve = 0; Ve < ae.length; Ve++)
@@ -262,7 +262,7 @@ const qt = /* @__PURE__ */ j({
262
262
  id: "canvas-mask",
263
263
  ref_key: "canvas",
264
264
  ref: D,
265
- style: ue(M.value),
265
+ style: ie(M.value),
266
266
  onClick: P
267
267
  }, null, 4), [
268
268
  [ge, !z.viewModel.isRotating]
@@ -286,7 +286,7 @@ const qt = /* @__PURE__ */ j({
286
286
  },
287
287
  emits: ["selectUnit", "goToUnit", "hoverOver", "hoverOut", "pos"],
288
288
  setup(l, { emit: a }) {
289
- const e = l, t = a, n = p({ x: 0, y: 0, width: 0, height: 0 }), o = p(-1), i = p({}), s = p(null), v = p(new Ce()), u = p(), r = p(), h = O(() => r.value.isHoverEnabled);
289
+ const e = l, t = a, n = p({ x: 0, y: 0, width: 0, height: 0 }), o = p(-1), i = p({}), s = p(null), v = p(new Ce()), u = p(), r = p(), g = O(() => r.value.isHoverEnabled);
290
290
  H(
291
291
  () => e.viewModel.currentScene,
292
292
  () => {
@@ -303,7 +303,7 @@ const qt = /* @__PURE__ */ j({
303
303
  t("pos", n.value);
304
304
  }), H(o, (F, Y) => {
305
305
  if (F >= 0) {
306
- const D = f(F);
306
+ const D = h(F);
307
307
  t("hoverOver", {
308
308
  hoverUnit: D,
309
309
  closeHandler: () => {
@@ -311,7 +311,7 @@ const qt = /* @__PURE__ */ j({
311
311
  }
312
312
  });
313
313
  } else {
314
- const D = f(Y);
314
+ const D = h(Y);
315
315
  t("hoverOut", {
316
316
  hoverUnit: D,
317
317
  closeHandler: () => {
@@ -347,24 +347,24 @@ const qt = /* @__PURE__ */ j({
347
347
  height: u.value.offsetHeight
348
348
  };
349
349
  }
350
- function f(F) {
350
+ function h(F) {
351
351
  var Y;
352
352
  return (Y = e.sceneData.find(
353
353
  (D) => D.index === (typeof F == "string" ? parseInt(F) : F)
354
354
  )) == null ? void 0 : Y.unitId;
355
355
  }
356
356
  function c(F) {
357
- h.value && (o.value = F);
357
+ g.value && (o.value = F);
358
358
  }
359
- function g(F) {
360
- h.value && (o.value = -1);
359
+ function f(F) {
360
+ g.value && (o.value = -1);
361
361
  }
362
362
  function S(F) {
363
- const Y = f(F);
364
- t("selectUnit", Y), h.value && Y && e.canGoToUnitCallback(Y) ? t("goToUnit", Y) : o.value = F;
363
+ const Y = h(F);
364
+ t("selectUnit", Y), g.value && Y && e.canGoToUnitCallback(Y) ? t("goToUnit", Y) : o.value = F;
365
365
  }
366
366
  function I(F) {
367
- const Y = f(F);
367
+ const Y = h(F);
368
368
  let D = "idle";
369
369
  o.value < 0 && e.selectedUnitId && Y === e.selectedUnitId ? D = "selected" : o.value >= 0 && o.value === F && (D = "hover");
370
370
  const C = e.colorCallback(Y, D);
@@ -401,7 +401,7 @@ const qt = /* @__PURE__ */ j({
401
401
  }, [
402
402
  pe(d("div", {
403
403
  class: "svg-container",
404
- style: ue({
404
+ style: ie({
405
405
  opacity: !s.value || !s.value.svgObjects ? 0 : 1
406
406
  })
407
407
  }, [
@@ -409,12 +409,12 @@ const qt = /* @__PURE__ */ j({
409
409
  key: 0,
410
410
  viewBox: s.value.viewBox
411
411
  }, [
412
- (m(!0), A(ie, null, ve(s.value.svgObjects, ({ index: D, svg: C }) => (m(), A("g", {
412
+ (m(!0), A(ue, null, ve(s.value.svgObjects, ({ index: D, svg: C }) => (m(), A("g", {
413
413
  key: D,
414
414
  innerHTML: C,
415
- style: ue(I(D)),
415
+ style: ie(I(D)),
416
416
  onMouseenter: (W) => c(D),
417
- onMouseleave: (W) => g(),
417
+ onMouseleave: (W) => f(),
418
418
  onClick: (W) => S(D)
419
419
  }, null, 44, Kt))), 128))
420
420
  ], 8, Xt)) : $("", !0)
@@ -452,15 +452,15 @@ const qt = /* @__PURE__ */ j({
452
452
  u.keyCode === 37 ? e.prevUnitId && i("prevUnit") : u.keyCode === 39 && e.nextUnitId && i("nextUnit");
453
453
  }
454
454
  return (u, r) => {
455
- const h = T("v-btn");
455
+ const g = V("v-btn");
456
456
  return m(), A("div", null, [
457
- b(h, {
457
+ b(g, {
458
458
  elevation: "1",
459
459
  icon: "mdi-rotate-right",
460
460
  class: "black darken-1",
461
461
  onClick: r[0] || (r[0] = (k) => u.viewModel.rotateClockwise())
462
462
  }),
463
- b(h, {
463
+ b(g, {
464
464
  elevation: "1",
465
465
  plain: "",
466
466
  icon: "mdi-chevron-left",
@@ -468,7 +468,7 @@ const qt = /* @__PURE__ */ j({
468
468
  disabled: !o.value,
469
469
  onClick: r[1] || (r[1] = (k) => i("prevUnit"))
470
470
  }, null, 8, ["disabled"]),
471
- b(h, {
471
+ b(g, {
472
472
  color: "darken-2",
473
473
  elevation: "1",
474
474
  rounded: "",
@@ -477,12 +477,12 @@ const qt = /* @__PURE__ */ j({
477
477
  onClick: r[2] || (r[2] = (k) => i("goToUnit", t.value))
478
478
  }, {
479
479
  default: _(() => [
480
- t.value && u.canGoToUnitCallback(t.value) ? (m(), A("span", nn, G(V(s).getLabel("seeApartment")) + "  ", 1)) : $("", !0),
480
+ t.value && u.canGoToUnitCallback(t.value) ? (m(), A("span", nn, G(T(s).getLabel("seeApartment")) + "  ", 1)) : $("", !0),
481
481
  d("span", an, G(t.value ? e.unitRenderer(t.value) : "-"), 1)
482
482
  ]),
483
483
  _: 1
484
484
  }, 8, ["disabled"]),
485
- b(h, {
485
+ b(g, {
486
486
  elevation: "1",
487
487
  plain: "",
488
488
  icon: "mdi-chevron-right",
@@ -490,7 +490,7 @@ const qt = /* @__PURE__ */ j({
490
490
  disabled: !n.value,
491
491
  onClick: r[3] || (r[3] = (k) => i("nextUnit"))
492
492
  }, null, 8, ["disabled"]),
493
- b(h, {
493
+ b(g, {
494
494
  elevation: "1",
495
495
  plain: "",
496
496
  icon: "mdi-rotate-left",
@@ -608,7 +608,7 @@ const rn = {
608
608
  },
609
609
  emits: ["loaded", "error", "progress"],
610
610
  setup(l, { emit: a }) {
611
- const e = l, t = a, n = f(), o = p(
611
+ const e = l, t = a, n = h(), o = p(
612
612
  new pt(n.length).onLoadFinished(() => t("loaded")).onLoadProgress((I) => t("progress", I)).onLoadError(() => t("error"))
613
613
  ), i = p(
614
614
  new sn(e.cardinalFrames, kt)
@@ -616,14 +616,14 @@ const rn = {
616
616
  H(
617
617
  () => e.viewModel.currentScene,
618
618
  (I, y) => {
619
- const R = S(y, I), F = g(y, I);
619
+ const R = S(y, I), F = f(y, I);
620
620
  r(y, R, F);
621
621
  }
622
622
  ), ye(() => {
623
623
  k();
624
624
  });
625
625
  function r(I, y, R) {
626
- e.viewModel.isRotating || (e.viewModel.isRotating = !0, h(
626
+ e.viewModel.isRotating || (e.viewModel.isRotating = !0, g(
627
627
  i.value.start(
628
628
  y,
629
629
  I % Ke,
@@ -631,11 +631,11 @@ const rn = {
631
631
  )
632
632
  ));
633
633
  }
634
- function h(I) {
634
+ function g(I) {
635
635
  setTimeout(() => {
636
636
  s.value[I.frameIndex].show = !1;
637
637
  const y = I.nextFrame();
638
- s.value[y.frameIndex].show = !0, y.atEnd ? k() : window.requestAnimationFrame(() => h(y));
638
+ s.value[y.frameIndex].show = !0, y.atEnd ? k() : window.requestAnimationFrame(() => g(y));
639
639
  }, 1e3 / gn);
640
640
  }
641
641
  function k() {
@@ -644,7 +644,7 @@ const rn = {
644
644
  );
645
645
  I in s.value && (s.value[I].show = !0), e.viewModel.isRotating = !1;
646
646
  }
647
- function f() {
647
+ function h() {
648
648
  const I = [];
649
649
  for (let y = 0; y < kt; y++) {
650
650
  const { sourceSet: R, defaultPath: F } = c(y);
@@ -677,7 +677,7 @@ const rn = {
677
677
  );
678
678
  return { sourceSet: F, defaultPath: Y };
679
679
  }
680
- function g(I, y) {
680
+ function f(I, y) {
681
681
  const R = Ke / 2, F = Math.abs(I - y);
682
682
  return F > R ? Ke - F : F;
683
683
  }
@@ -688,7 +688,7 @@ const rn = {
688
688
  return F && I < y || !F && I > y ? 1 : -1;
689
689
  }
690
690
  return (I, y) => {
691
- const R = T("v-icon");
691
+ const R = V("v-icon");
692
692
  return m(), A("div", null, [
693
693
  o.value.isError ? (m(), A("div", rn, [
694
694
  b(R, { "x-large": "" }, {
@@ -698,7 +698,7 @@ const rn = {
698
698
  _: 1
699
699
  })
700
700
  ])) : v.value ? (m(), A("div", mn, [
701
- (m(!0), A(ie, null, ve(s.value, (F) => (m(), A("picture", {
701
+ (m(!0), A(ue, null, ve(s.value, (F) => (m(), A("picture", {
702
702
  key: F.index,
703
703
  alt: F.index,
704
704
  class: he({ "frame-image": !0, show: F.show })
@@ -743,7 +743,7 @@ const rn = {
743
743
  return e.pos.x <= e.pos.width / 2 ? (o = "-100%", s = "-8px") : (o = "0%", s = "8px"), e.pos.y <= e.pos.height / 2 ? (i = "-100%", v = "-8px") : (i = "0%", v = "8px"), `translate(${o}, ${i}) translate(${s}, ${v})`;
744
744
  });
745
745
  return (o, i) => {
746
- const s = T("v-dialog"), v = T("v-fade-transition");
746
+ const s = V("v-dialog"), v = V("v-fade-transition");
747
747
  return m(), E(v, {
748
748
  origin: `top left ${o.pos.x} ${o.pos.y}`
749
749
  }, {
@@ -751,7 +751,7 @@ const rn = {
751
751
  o.isHoverable ? (m(), A("div", {
752
752
  key: 0,
753
753
  class: "floating-card",
754
- style: ue({
754
+ style: ie({
755
755
  left: `${o.pos.x}px`,
756
756
  top: `${o.pos.y}px`,
757
757
  pointerEvents: "none",
@@ -791,7 +791,7 @@ const rn = {
791
791
  a({
792
792
  adjustZoom: oe
793
793
  });
794
- const o = p(100), i = p(0), s = p(0), v = p(!1), u = p(!1), r = p(void 0), h = p(!1), k = p(), f = O(() => `translateX(${i.value}px) translateY(${s.value}px) scale(${c.value})`), c = O(() => o.value / 100), g = O(() => t.maxScale * 100);
794
+ const o = p(100), i = p(0), s = p(0), v = p(!1), u = p(!1), r = p(void 0), g = p(!1), k = p(), h = O(() => `translateX(${i.value}px) translateY(${s.value}px) scale(${c.value})`), c = O(() => o.value / 100), f = O(() => t.maxScale * 100);
795
795
  H(
796
796
  [c, i, s],
797
797
  () => {
@@ -866,7 +866,7 @@ const rn = {
866
866
  oe(-B.deltaY / 10, J, ne), B.preventDefault();
867
867
  }
868
868
  function Y(B) {
869
- v.value = !0, h.value = !1, r.value = B;
869
+ v.value = !0, g.value = !1, r.value = B;
870
870
  }
871
871
  function D(B) {
872
872
  if (v.value) {
@@ -874,14 +874,14 @@ const rn = {
874
874
  x: J - fe,
875
875
  y: ne - me
876
876
  };
877
- q(de.x), Q(de.y), h.value = !0, r.value = B;
877
+ q(de.x), Q(de.y), g.value = !0, r.value = B;
878
878
  }
879
879
  }
880
880
  function C(B) {
881
- v.value && h.value && t.consumeMouseUpWhenMoved && (B.preventDefault(), B.stopImmediatePropagation());
881
+ v.value && g.value && t.consumeMouseUpWhenMoved && (B.preventDefault(), B.stopImmediatePropagation());
882
882
  }
883
883
  function W(B) {
884
- v.value && (h.value && t.consumeMouseClickWhenMoved && (B.preventDefault(), B.stopImmediatePropagation()), v.value = !1);
884
+ v.value && (g.value && t.consumeMouseClickWhenMoved && (B.preventDefault(), B.stopImmediatePropagation()), v.value = !1);
885
885
  }
886
886
  function L(B) {
887
887
  v.value = B.touches.length === 1, u.value = B.touches.length === 2, r.value = B;
@@ -931,7 +931,7 @@ const rn = {
931
931
  }
932
932
  function oe(B, J, ne) {
933
933
  const fe = J !== void 0 ? J : k.value.clientWidth / 2, me = ne !== void 0 ? ne : k.value.clientHeight / 2, de = k.value.clientWidth, we = k.value.clientHeight, Me = de * c.value, Te = we * c.value;
934
- o.value = Math.min(Math.max(100, o.value + B), g.value);
934
+ o.value = Math.min(Math.max(100, o.value + B), f.value);
935
935
  const De = de * c.value, Ae = we * c.value, be = De - Me, _e = Ae - Te;
936
936
  i.value -= fe / de * be, s.value -= me / we * _e, q(0), Q(0);
937
937
  }
@@ -940,9 +940,9 @@ const rn = {
940
940
  scale: c.value,
941
941
  x: i.value,
942
942
  y: s.value,
943
- current: Math.min(Math.max(100, o.value), g.value),
943
+ current: Math.min(Math.max(100, o.value), f.value),
944
944
  min: 100,
945
- max: g.value,
945
+ max: f.value,
946
946
  resolve: (B, J) => {
947
947
  const ne = k.value.clientWidth, fe = k.value.clientHeight, me = i.value / -c.value, de = s.value / -c.value, we = me + ne / c.value, Me = de + fe / c.value, Te = B / ne * (we - me) + me, De = J / fe * (Me - de) + de;
948
948
  return { x: Te, y: De };
@@ -953,10 +953,10 @@ const rn = {
953
953
  ref_key: "box",
954
954
  ref: k,
955
955
  class: "zoom-box-container",
956
- style: ue({ position: t.position })
956
+ style: ie({ position: t.position })
957
957
  }, [
958
958
  d("div", {
959
- style: ue({ "transform-origin": "top left", transform: f.value }),
959
+ style: ie({ "transform-origin": "top left", transform: h.value }),
960
960
  class: "zoom-box"
961
961
  }, [
962
962
  se(B.$slots, "default", {}, void 0, !0)
@@ -1198,7 +1198,7 @@ const Sn = { key: 0 }, Dn = { class: "interactive-viewer" }, xn = { class: "fill
1198
1198
  Le,
1199
1199
  t.i18nConfig ? new Fe(t.i18nConfig) : new Fe()
1200
1200
  );
1201
- const o = st({ isReady: !1, isError: !1 }), i = p(), s = p(), v = p(), u = p(), r = p({ x: 0, y: 0, width: 0, height: 0 }), h = p(), k = p(), f = p(), c = O(() => f.value.isHoverEnabled), g = O(() => t.useSvg ? tn : Jt), S = O(() => t.selectedUnitId), I = O(() => t.nextUnitId), y = O(() => t.prevUnitId);
1201
+ const o = st({ isReady: !1, isError: !1 }), i = p(), s = p(), v = p(), u = p(), r = p({ x: 0, y: 0, width: 0, height: 0 }), g = p(), k = p(), h = p(), c = O(() => h.value.isHoverEnabled), f = O(() => t.useSvg ? tn : Jt), S = O(() => t.selectedUnitId), I = O(() => t.nextUnitId), y = O(() => t.prevUnitId);
1202
1202
  xe(() => {
1203
1203
  if (S.value && u.value) {
1204
1204
  const D = i.value[S.value];
@@ -1241,13 +1241,13 @@ const Sn = { key: 0 }, Dn = { class: "interactive-viewer" }, xn = { class: "fill
1241
1241
  r.value = D;
1242
1242
  }
1243
1243
  function F(D) {
1244
- k.value = D.hoverUnit, h.value = D.closeHandler, n("hoverOverUnit", D.hoverUnit);
1244
+ k.value = D.hoverUnit, g.value = D.closeHandler, n("hoverOverUnit", D.hoverUnit);
1245
1245
  }
1246
1246
  function Y(D) {
1247
- k.value = null, h.value = D.closeHandler, n("hoverOutUnit", D.hoverUnit);
1247
+ k.value = null, g.value = D.closeHandler, n("hoverOutUnit", D.hoverUnit);
1248
1248
  }
1249
1249
  return (D, C) => {
1250
- const W = T("v-progress-linear");
1250
+ const W = V("v-progress-linear");
1251
1251
  return u.value ? (m(), A("div", Sn, [
1252
1252
  d("div", Dn, [
1253
1253
  d("div", xn, [
@@ -1266,7 +1266,7 @@ const Sn = { key: 0 }, Dn = { class: "interactive-viewer" }, xn = { class: "fill
1266
1266
  onError: C[2] || (C[2] = (L) => o.isError = !0)
1267
1267
  }, null, 8, ["cdn-file-resolver", "view-model", "cardinal-frames", "build"]),
1268
1268
  o.isReady ? (m(), A("div", An, [
1269
- (m(), E(xt(g.value), {
1269
+ (m(), E(xt(f.value), {
1270
1270
  "cdn-file-resolver": t.cdnFileResolver,
1271
1271
  "view-model": u.value,
1272
1272
  "selected-unit-id": S.value,
@@ -1293,7 +1293,7 @@ const Sn = { key: 0 }, Dn = { class: "interactive-viewer" }, xn = { class: "fill
1293
1293
  key: 0,
1294
1294
  "is-hoverable": c.value,
1295
1295
  pos: r.value,
1296
- onOutside: h.value
1296
+ onOutside: g.value
1297
1297
  }, {
1298
1298
  default: _(() => [
1299
1299
  se(D.$slots, "default", {
@@ -1302,7 +1302,7 @@ const Sn = { key: 0 }, Dn = { class: "interactive-viewer" }, xn = { class: "fill
1302
1302
  goToUnit: () => D.canGoToUnitCallback(k.value) && n("goToUnit", k.value),
1303
1303
  pos: r.value,
1304
1304
  isHoverable: c.value,
1305
- close: h.value
1305
+ close: g.value
1306
1306
  }, void 0, !0)
1307
1307
  ]),
1308
1308
  _: 3
@@ -1330,7 +1330,7 @@ const Sn = { key: 0 }, Dn = { class: "interactive-viewer" }, xn = { class: "fill
1330
1330
  ]),
1331
1331
  b(Re, {
1332
1332
  ref_key: "hoverProbe",
1333
- ref: f
1333
+ ref: h
1334
1334
  }, null, 512)
1335
1335
  ])) : $("", !0);
1336
1336
  };
@@ -1361,7 +1361,7 @@ const Sn = { key: 0 }, Dn = { class: "interactive-viewer" }, xn = { class: "fill
1361
1361
  },
1362
1362
  setup(l) {
1363
1363
  const a = l;
1364
- return (e, t) => (m(!0), A(ie, null, ve(a.dayData.timeSamples, (n) => (m(), E(Bn, {
1364
+ return (e, t) => (m(!0), A(ue, null, ve(a.dayData.timeSamples, (n) => (m(), E(Bn, {
1365
1365
  "time-sample-data": n,
1366
1366
  "cdn-file-resolver": a.cdnFileResolver,
1367
1367
  "current-time": e.currentTime
@@ -1376,7 +1376,7 @@ const Sn = { key: 0 }, Dn = { class: "interactive-viewer" }, xn = { class: "fill
1376
1376
  },
1377
1377
  setup(l) {
1378
1378
  const a = l;
1379
- return (e, t) => (m(!0), A(ie, null, ve(a.cameraData.sunsimDayOfYear, (n) => (m(), E($n, {
1379
+ return (e, t) => (m(!0), A(ue, null, ve(a.cameraData.sunsimDayOfYear, (n) => (m(), E($n, {
1380
1380
  "day-data": n,
1381
1381
  "cdn-file-resolver": a.cdnFileResolver,
1382
1382
  "current-time": a.currentTime
@@ -1454,7 +1454,7 @@ const jn = /* @__PURE__ */ j({
1454
1454
  )
1455
1455
  );
1456
1456
  }), (i, s) => {
1457
- const v = T("v-select");
1457
+ const v = V("v-select");
1458
1458
  return m(), E(v, {
1459
1459
  modelValue: n.value,
1460
1460
  "onUpdate:modelValue": s[0] || (s[0] = (u) => n.value = u),
@@ -1499,7 +1499,7 @@ const jn = /* @__PURE__ */ j({
1499
1499
  });
1500
1500
  }
1501
1501
  return (i, s) => {
1502
- const v = T("v-list-item"), u = T("v-select");
1502
+ const v = V("v-list-item"), u = V("v-select");
1503
1503
  return m(), E(u, {
1504
1504
  modelValue: n.value,
1505
1505
  "onUpdate:modelValue": s[0] || (s[0] = (r) => n.value = r),
@@ -1550,8 +1550,8 @@ const jn = /* @__PURE__ */ j({
1550
1550
  );
1551
1551
  });
1552
1552
  function i(v) {
1553
- const u = v * 60, r = Math.floor(u / 60), h = u % 60;
1554
- return `${r.toString().padStart(2, "0")}:${h.toString().padStart(2, "0")}`;
1553
+ const u = v * 60, r = Math.floor(u / 60), g = u % 60;
1554
+ return `${r.toString().padStart(2, "0")}:${g.toString().padStart(2, "0")}`;
1555
1555
  }
1556
1556
  function s() {
1557
1557
  o.value ? (clearInterval(o.value), o.value = void 0) : (e.dayData.timeSamples.findIndex(
@@ -1564,8 +1564,8 @@ const jn = /* @__PURE__ */ j({
1564
1564
  }, 200));
1565
1565
  }
1566
1566
  return (v, u) => {
1567
- const r = T("v-icon"), h = T("v-btn"), k = T("v-slider"), f = T("v-field");
1568
- return m(), E(f, { variant: "solo" }, {
1567
+ const r = V("v-icon"), g = V("v-btn"), k = V("v-slider"), h = V("v-field");
1568
+ return m(), E(h, { variant: "solo" }, {
1569
1569
  default: _(() => [
1570
1570
  v.dayData.startTime === v.dayData.endTime ? (m(), A("div", Wn, [
1571
1571
  b(r, {
@@ -1590,7 +1590,7 @@ const jn = /* @__PURE__ */ j({
1590
1590
  "hide-details": ""
1591
1591
  }, {
1592
1592
  prepend: _(() => [
1593
- b(h, {
1593
+ b(g, {
1594
1594
  icon: o.value ? "mdi-stop" : "mdi-play",
1595
1595
  size: "x-small",
1596
1596
  variant: "flat",
@@ -1645,60 +1645,60 @@ const jn = /* @__PURE__ */ j({
1645
1645
  const v = O(() => o.value ? !1 : t.apartmentChooserData.loopable ? !0 : i.value !== t.apartmentChooserData.scenes[0]), u = O(() => o.value ? !1 : t.apartmentChooserData.loopable ? !0 : i.value !== t.apartmentChooserData.scenes[t.apartmentChooserData.scenes.length - 1]);
1646
1646
  function r() {
1647
1647
  const c = i.value;
1648
- let g = t.apartmentChooserData.scenes.findIndex((I) => I === c) + 1;
1649
- g >= t.apartmentChooserData.scenes.length && (g = 0);
1650
- const S = t.apartmentChooserData.scenes[g];
1651
- t.apartmentChooserData.loopable && c > S, f(c, S);
1648
+ let f = t.apartmentChooserData.scenes.findIndex((I) => I === c) + 1;
1649
+ f >= t.apartmentChooserData.scenes.length && (f = 0);
1650
+ const S = t.apartmentChooserData.scenes[f];
1651
+ t.apartmentChooserData.loopable && c > S, h(c, S);
1652
1652
  }
1653
- async function h() {
1653
+ async function g() {
1654
1654
  const c = i.value;
1655
- let g = t.apartmentChooserData.scenes.findIndex((I) => I === c) - 1;
1656
- g < 0 && (g = t.apartmentChooserData.scenes.length - 1);
1657
- const S = t.apartmentChooserData.scenes[g];
1658
- t.apartmentChooserData.loopable && c < S, f(c, S);
1655
+ let f = t.apartmentChooserData.scenes.findIndex((I) => I === c) - 1;
1656
+ f < 0 && (f = t.apartmentChooserData.scenes.length - 1);
1657
+ const S = t.apartmentChooserData.scenes[f];
1658
+ t.apartmentChooserData.loopable && c < S, h(c, S);
1659
1659
  }
1660
1660
  function k(c) {
1661
- const g = i.value;
1661
+ const f = i.value;
1662
1662
  if (t.apartmentChooserData.loopable)
1663
- if (c < g) {
1664
- let S = g - c, I = g - (t.apartmentChooserData.cameras.length + c);
1665
- return Math.abs(S) > Math.abs(I) ? f(g, c) : f(g, t.apartmentChooserData.cameras.length + c);
1663
+ if (c < f) {
1664
+ let S = f - c, I = f - (t.apartmentChooserData.cameras.length + c);
1665
+ return Math.abs(S) > Math.abs(I) ? h(f, c) : h(f, t.apartmentChooserData.cameras.length + c);
1666
1666
  } else {
1667
- let S = g - c, I = t.apartmentChooserData.cameras.length + g - c;
1668
- return Math.abs(S) > Math.abs(I) ? f(g, c) : f(t.apartmentChooserData.cameras.length + g, c);
1667
+ let S = f - c, I = t.apartmentChooserData.cameras.length + f - c;
1668
+ return Math.abs(S) > Math.abs(I) ? h(f, c) : h(t.apartmentChooserData.cameras.length + f, c);
1669
1669
  }
1670
1670
  else
1671
- return f(g, c);
1671
+ return h(f, c);
1672
1672
  }
1673
- function f(c, g) {
1673
+ function h(c, f) {
1674
1674
  return new Promise((S) => {
1675
- o.value = !0, n("onRotateStart", { from: c, to: g });
1675
+ o.value = !0, n("onRotateStart", { from: c, to: f });
1676
1676
  let I, y = c;
1677
1677
  I = setInterval(() => {
1678
- y < g ? (y++, i.value = Math.abs(
1678
+ y < f ? (y++, i.value = Math.abs(
1679
1679
  y % t.apartmentChooserData.cameras.length
1680
- )) : y > g ? (y--, i.value = Math.abs(
1680
+ )) : y > f ? (y--, i.value = Math.abs(
1681
1681
  y % t.apartmentChooserData.cameras.length
1682
- )) : (clearInterval(I), n("onRotateFinish", { from: c, to: g }), o.value = !1, S());
1682
+ )) : (clearInterval(I), n("onRotateFinish", { from: c, to: f }), o.value = !1, S());
1683
1683
  }, 50);
1684
1684
  });
1685
1685
  }
1686
- return (c, g) => {
1687
- const S = T("v-btn"), I = T("v-chip");
1688
- return m(), A(ie, null, [
1686
+ return (c, f) => {
1687
+ const S = V("v-btn"), I = V("v-chip");
1688
+ return m(), A(ue, null, [
1689
1689
  b(S, {
1690
1690
  class: "mx-2",
1691
1691
  icon: "mdi-restore",
1692
1692
  size: "small",
1693
1693
  disabled: !v.value,
1694
- onClick: h
1694
+ onClick: g
1695
1695
  }, null, 8, ["disabled"]),
1696
1696
  c.renderDisplay && s.value ? (m(), E(I, {
1697
1697
  key: 0,
1698
1698
  variant: "flat",
1699
1699
  color: "white",
1700
1700
  size: "large",
1701
- onClick: g[0] || (g[0] = (y) => n("onDisplayClick", s.value))
1701
+ onClick: f[0] || (f[0] = (y) => n("onDisplayClick", s.value))
1702
1702
  }, {
1703
1703
  default: _(() => [
1704
1704
  ee(G(c.renderDisplay(s.value)), 1)
@@ -1733,14 +1733,14 @@ const jn = /* @__PURE__ */ j({
1733
1733
  }
1734
1734
  ), xe(() => {
1735
1735
  for (const r in s) {
1736
- const { element: h, state: k } = s[r], { r: f, g: c, b: g, a: S, s: I } = e.colorCallback(r, k) || {
1736
+ const { element: g, state: k } = s[r], { r: h, g: c, b: f, a: S, s: I } = e.colorCallback(r, k) || {
1737
1737
  r: 0,
1738
1738
  g: 0,
1739
1739
  b: 0,
1740
1740
  a: 0,
1741
1741
  s: 0
1742
1742
  };
1743
- h.style.fill = `rgba(${f}, ${c}, ${g}, ${S / 255})`, h.style.stroke = `rgb(${f}, ${c}, ${g})`, h.style.strokeWidth = I.toString();
1743
+ g.style.fill = `rgba(${h}, ${c}, ${f}, ${S / 255})`, g.style.stroke = `rgb(${h}, ${c}, ${f})`, g.style.strokeWidth = I.toString();
1744
1744
  }
1745
1745
  }), H(i, () => {
1746
1746
  for (const r in s)
@@ -1757,8 +1757,8 @@ const jn = /* @__PURE__ */ j({
1757
1757
  );
1758
1758
  function v() {
1759
1759
  ke(() => {
1760
- var h;
1761
- const r = (h = o.value) == null ? void 0 : h.firstChild;
1760
+ var g;
1761
+ const r = (g = o.value) == null ? void 0 : g.firstChild;
1762
1762
  if (r) {
1763
1763
  if (!r.hasAttribute("viewBox")) {
1764
1764
  const k = `0 0 ${r.getAttribute(
@@ -1778,29 +1778,29 @@ const jn = /* @__PURE__ */ j({
1778
1778
  }
1779
1779
  function u() {
1780
1780
  ke(() => {
1781
- var h;
1782
- const r = (h = o.value) == null ? void 0 : h.firstChild;
1781
+ var g;
1782
+ const r = (g = o.value) == null ? void 0 : g.firstChild;
1783
1783
  r && (t("updateSvgContainer", r), v(), r.querySelectorAll(
1784
1784
  "[data-apartment-id]"
1785
- ).forEach((f) => {
1786
- f.style.strokeWidth = "0", f.style.stroke = "rgba(255,255,255,0)", f.style.fill = "rgba(255,255,255,0)", f.querySelectorAll("path").forEach((g) => {
1787
- g.style.stroke = "inherit", g.style.fill = "inherit";
1785
+ ).forEach((h) => {
1786
+ h.style.strokeWidth = "0", h.style.stroke = "rgba(255,255,255,0)", h.style.fill = "rgba(255,255,255,0)", h.querySelectorAll("path").forEach((f) => {
1787
+ f.style.stroke = "inherit", f.style.fill = "inherit";
1788
1788
  });
1789
- const c = f.getAttribute("data-apartment-id");
1789
+ const c = h.getAttribute("data-apartment-id");
1790
1790
  s[c] = {
1791
- element: f,
1791
+ element: h,
1792
1792
  state: i.value === c ? "selected" : "idle"
1793
- }, f.addEventListener("mouseover", () => {
1793
+ }, h.addEventListener("mouseover", () => {
1794
1794
  s[c].state === "idle" && (s[c].state = "hover"), t("onHoverOver", c);
1795
- }), f.addEventListener("mouseout", () => {
1795
+ }), h.addEventListener("mouseout", () => {
1796
1796
  s[c].state === "hover" && (s[c].state = "idle"), t("onHoverOut", c);
1797
- }), f.addEventListener("click", () => {
1797
+ }), h.addEventListener("click", () => {
1798
1798
  t("onClick", c);
1799
1799
  });
1800
1800
  }));
1801
1801
  });
1802
1802
  }
1803
- return (r, h) => (m(), E(Ee, null, {
1803
+ return (r, g) => (m(), E(Ee, null, {
1804
1804
  default: _(() => [
1805
1805
  (m(), A("div", {
1806
1806
  ref_key: "svgContainer",
@@ -1825,10 +1825,10 @@ const jn = /* @__PURE__ */ j({
1825
1825
  transition: " transform 0.5s ease-in"
1826
1826
  }));
1827
1827
  return (t, n) => {
1828
- const o = T("v-img");
1828
+ const o = V("v-img");
1829
1829
  return m(), E(o, {
1830
- src: V(ea),
1831
- style: ue(e.value)
1830
+ src: T(ea),
1831
+ style: ie(e.value)
1832
1832
  }, null, 8, ["src", "style"]);
1833
1833
  };
1834
1834
  }
@@ -2085,7 +2085,7 @@ const ra = {
2085
2085
  setup(l, { emit: a }) {
2086
2086
  const e = l, t = a, n = p(), o = p(), i = p(), s = p(
2087
2087
  null
2088
- ), v = p(4), u = p(), r = p(!1), h = p(!1), k = p(), f = p(), c = O(() => f.value.isHoverEnabled), g = p({ x: 0, y: 0, width: 0, height: 0 }), S = p(), I = p(), y = p(
2088
+ ), v = p(4), u = p(), r = p(!1), g = p(!1), k = p(), h = p(), c = O(() => h.value.isHoverEnabled), f = p({ x: 0, y: 0, width: 0, height: 0 }), S = p(), I = p(), y = p(
2089
2089
  e.apartmentChooserData
2090
2090
  ), R = p(!1);
2091
2091
  ye(() => {
@@ -2211,19 +2211,19 @@ const ra = {
2211
2211
  ne = ne.parentElement;
2212
2212
  if (fe) {
2213
2213
  const me = P.currentTarget;
2214
- g.value = {
2214
+ f.value = {
2215
2215
  x: B,
2216
2216
  y: J,
2217
2217
  width: me.clientWidth,
2218
2218
  height: me.clientHeight
2219
2219
  };
2220
2220
  } else
2221
- g.value = void 0;
2222
- t("onMouseMove", P, g.value);
2221
+ f.value = void 0;
2222
+ t("onMouseMove", P, f.value);
2223
2223
  }
2224
2224
  return (P, B) => {
2225
- const J = T("v-skeleton-loader");
2226
- return m(), A(ie, null, [
2225
+ const J = V("v-skeleton-loader");
2226
+ return m(), A(ue, null, [
2227
2227
  b(J, {
2228
2228
  type: "image",
2229
2229
  class: "w-100 h-100 position-relative",
@@ -2244,7 +2244,7 @@ const ra = {
2244
2244
  key: 0,
2245
2245
  "apartment-chooser-data": y.value,
2246
2246
  "current-camera": n.value,
2247
- disabled: h.value,
2247
+ disabled: g.value,
2248
2248
  onOnCameraChange: C
2249
2249
  }, null, 8, ["apartment-chooser-data", "current-camera", "disabled"])) : $("", !0)
2250
2250
  ]),
@@ -2253,7 +2253,7 @@ const ra = {
2253
2253
  key: 0,
2254
2254
  "camera-data": n.value,
2255
2255
  "current-day": o.value,
2256
- disabled: h.value,
2256
+ disabled: g.value,
2257
2257
  onOnDayChange: Z
2258
2258
  }, null, 8, ["camera-data", "current-day", "disabled"])) : $("", !0)
2259
2259
  ]),
@@ -2262,7 +2262,7 @@ const ra = {
2262
2262
  key: 0,
2263
2263
  "day-data": o.value,
2264
2264
  "current-time": i.value,
2265
- disabled: h.value,
2265
+ disabled: g.value,
2266
2266
  onOnTimeChange: w
2267
2267
  }, null, 8, ["day-data", "current-time", "disabled"])) : $("", !0)
2268
2268
  ])
@@ -2278,8 +2278,8 @@ const ra = {
2278
2278
  "render-display": e.renderDisplay,
2279
2279
  onOnDisplayClick: M,
2280
2280
  onOnSceneChange: W,
2281
- onOnRotateStart: B[0] || (B[0] = (ne) => h.value = !0),
2282
- onOnRotateFinish: B[1] || (B[1] = (ne) => h.value = !1)
2281
+ onOnRotateStart: B[0] || (B[0] = (ne) => g.value = !0),
2282
+ onOnRotateFinish: B[1] || (B[1] = (ne) => g.value = !1)
2283
2283
  }, null, 8, ["apartment-chooser-data", "current-scene", "selected-id", "render-display"])) : $("", !0)
2284
2284
  ]),
2285
2285
  d("div", va, [
@@ -2290,13 +2290,13 @@ const ra = {
2290
2290
  ]),
2291
2291
  b(qe, { position: "relative" }, {
2292
2292
  default: _(() => [
2293
- (m(!0), A(ie, null, ve(F.value, (ne) => (m(), E(Rn, {
2293
+ (m(!0), A(ue, null, ve(F.value, (ne) => (m(), E(Rn, {
2294
2294
  key: ne.overlayFilename,
2295
2295
  "camera-data": ne,
2296
2296
  "cdn-file-resolver": e.cdnFileResolver,
2297
2297
  "current-time": i.value
2298
2298
  }, null, 8, ["camera-data", "cdn-file-resolver", "current-time"]))), 128)),
2299
- (m(!0), A(ie, null, ve(Y.value, (ne) => (m(), E(Yn, {
2299
+ (m(!0), A(ue, null, ve(Y.value, (ne) => (m(), E(Yn, {
2300
2300
  "transition-data": ne,
2301
2301
  "cdn-file-resolver": e.cdnFileResolver,
2302
2302
  "current-transition": s.value
@@ -2322,10 +2322,10 @@ const ra = {
2322
2322
  ]),
2323
2323
  _: 1
2324
2324
  }),
2325
- P.$slots.popup && g.value && u.value ? (m(), E(Ze, {
2325
+ P.$slots.popup && f.value && u.value ? (m(), E(Ze, {
2326
2326
  key: 0,
2327
2327
  "is-hoverable": c.value,
2328
- pos: g.value
2328
+ pos: f.value
2329
2329
  }, {
2330
2330
  default: _(() => [
2331
2331
  d("div", pa, [
@@ -2343,7 +2343,7 @@ const ra = {
2343
2343
  }, 8, ["loading"]),
2344
2344
  b(Re, {
2345
2345
  ref_key: "hoverProbe",
2346
- ref: f
2346
+ ref: h
2347
2347
  }, null, 512)
2348
2348
  ], 64);
2349
2349
  };
@@ -2368,8 +2368,8 @@ const ra = {
2368
2368
  });
2369
2369
  }
2370
2370
  const s = O(() => {
2371
- const r = Math.floor(n.value / 2).toString().padStart(2, "0"), h = n.value % 2 === 0 ? "00" : "30";
2372
- return `${r}:${h}`;
2371
+ const r = Math.floor(n.value / 2).toString().padStart(2, "0"), g = n.value % 2 === 0 ? "00" : "30";
2372
+ return `${r}:${g}`;
2373
2373
  }), v = O(() => e.dateSelector.dates.map(i)), u = O({
2374
2374
  get() {
2375
2375
  return i(e.dateSelector.selectedDate);
@@ -2389,8 +2389,8 @@ const ra = {
2389
2389
  }
2390
2390
  ), xe(() => {
2391
2391
  o.value = i(e.dateSelector.selectedDate);
2392
- }), (r, h) => {
2393
- const k = T("v-icon"), f = T("v-select"), c = T("v-progress-linear"), g = T("v-slider");
2392
+ }), (r, g) => {
2393
+ const k = V("v-icon"), h = V("v-select"), c = V("v-progress-linear"), f = V("v-slider");
2394
2394
  return m(), A("div", ha, [
2395
2395
  d("div", ga, [
2396
2396
  b(k, {
@@ -2398,10 +2398,10 @@ const ra = {
2398
2398
  class: "mr-2",
2399
2399
  icon: "mdi-calendar-blank-outline"
2400
2400
  }),
2401
- r.dateSelector.hasMultipleDates ? (m(), E(f, {
2401
+ r.dateSelector.hasMultipleDates ? (m(), E(h, {
2402
2402
  key: 0,
2403
2403
  modelValue: o.value,
2404
- "onUpdate:modelValue": h[0] || (h[0] = (S) => o.value = S),
2404
+ "onUpdate:modelValue": g[0] || (g[0] = (S) => o.value = S),
2405
2405
  items: v.value,
2406
2406
  density: "compact",
2407
2407
  variant: "underlined",
@@ -2428,10 +2428,10 @@ const ra = {
2428
2428
  height: "6",
2429
2429
  color: "grey lighten-1",
2430
2430
  class: "mr-2"
2431
- })) : (m(), E(g, {
2431
+ })) : (m(), E(f, {
2432
2432
  key: 1,
2433
2433
  modelValue: n.value,
2434
- "onUpdate:modelValue": h[1] || (h[1] = (S) => n.value = S),
2434
+ "onUpdate:modelValue": g[1] || (g[1] = (S) => n.value = S),
2435
2435
  min: 0,
2436
2436
  max: 47,
2437
2437
  step: 1,
@@ -2464,8 +2464,8 @@ const ra = {
2464
2464
  ), ye(() => {
2465
2465
  v(e.imageUrls), new ResizeObserver((u) => {
2466
2466
  window.requestAnimationFrame(() => {
2467
- const r = u[0].contentRect.width, h = u[0].contentRect.height;
2468
- t("resize", { width: r, height: h });
2467
+ const r = u[0].contentRect.width, g = u[0].contentRect.height;
2468
+ t("resize", { width: r, height: g });
2469
2469
  });
2470
2470
  }).observe(i.value);
2471
2471
  });
@@ -2488,11 +2488,11 @@ const ra = {
2488
2488
  onLoad: s
2489
2489
  }, null, 544),
2490
2490
  n.value === "preloaded" || n.value === "loaded" ? pe((m(), A("div", ka, [
2491
- (m(!0), A(ie, null, ve(u.imageUrls, (h, k) => (m(), A("img", {
2491
+ (m(!0), A(ue, null, ve(u.imageUrls, (g, k) => (m(), A("img", {
2492
2492
  key: k,
2493
2493
  class: he({ "image-instance": !0, active: k === u.activeIndex }),
2494
- src: h,
2495
- onLoad: r[0] || (r[0] = (f) => o.value.partLoaded())
2494
+ src: g,
2495
+ onLoad: r[0] || (r[0] = (h) => o.value.partLoaded())
2496
2496
  }, null, 42, wa))), 128))
2497
2497
  ], 512)), [
2498
2498
  [ge, n.value === "loaded"]
@@ -2532,7 +2532,7 @@ const ra = {
2532
2532
  height: 0
2533
2533
  }), i = p({ x: 0, y: 0, width: 0, height: 0 }), s = p(), v = p(
2534
2534
  (/* @__PURE__ */ new Date()).getHours() * 2 + ((/* @__PURE__ */ new Date()).getMinutes() < 30 ? 0 : 1)
2535
- ), u = p(!1), r = p(new Ce()), h = p(), k = p("0 0 0 0"), f = p(), c = p(), g = p(We.empty()), S = p(Ne.empty()), I = p(), y = O(() => I.value.isHoverEnabled);
2535
+ ), u = p(!1), r = p(new Ce()), g = p(), k = p("0 0 0 0"), h = p(), c = p(), f = p(We.empty()), S = p(Ne.empty()), I = p(), y = O(() => I.value.isHoverEnabled);
2536
2536
  H(s, (w, M) => {
2537
2537
  w ? t("hoverOverBuilding", w) : t("hoverOutBuilding", M);
2538
2538
  }), xe(() => {
@@ -2549,7 +2549,7 @@ const ra = {
2549
2549
  e.buildingChooserData
2550
2550
  );
2551
2551
  if (M) {
2552
- S.value = new Ne(M.mapImage), g.value = new We(M.buildingIds), f.value = new ut(M.backgrounds), c.value = {
2552
+ S.value = new Ne(M.mapImage), f.value = new We(M.buildingIds), h.value = new ut(M.backgrounds), c.value = {
2553
2553
  buildingOverlays: M.buildingOverlays,
2554
2554
  viewLongitude: M.viewLongitude
2555
2555
  };
@@ -2562,7 +2562,7 @@ const ra = {
2562
2562
  svg: J.innerHTML
2563
2563
  });
2564
2564
  });
2565
- h.value = q;
2565
+ g.value = q;
2566
2566
  } else
2567
2567
  u.value = !0;
2568
2568
  });
@@ -2635,7 +2635,7 @@ const ra = {
2635
2635
  s.value = w, y.value && s.value && e.canGoToBuildingCallback(s.value) && t("goToBuilding", s.value);
2636
2636
  }
2637
2637
  return (w, M) => {
2638
- const q = T("v-icon");
2638
+ const q = V("v-icon");
2639
2639
  return u.value ? (m(), A("div", Sa, [
2640
2640
  b(q, { "x-large": "" }, {
2641
2641
  default: _(() => [
@@ -2645,7 +2645,7 @@ const ra = {
2645
2645
  })
2646
2646
  ])) : c.value ? (m(), A("div", {
2647
2647
  key: 1,
2648
- style: ue(`height: ${o.value.height}px; position: relative`),
2648
+ style: ie(`height: ${o.value.height}px; position: relative`),
2649
2649
  class: "image-container"
2650
2650
  }, [
2651
2651
  b(qe, {
@@ -2655,22 +2655,22 @@ const ra = {
2655
2655
  default: _(() => [
2656
2656
  d("div", Da, [
2657
2657
  b(Tt, {
2658
- "image-urls": f.value.imageUrls,
2658
+ "image-urls": h.value.imageUrls,
2659
2659
  "active-index": v.value,
2660
2660
  onResize: R,
2661
2661
  onPreloaded: M[0] || (M[0] = (Q) => n.value.preloaded = !0),
2662
2662
  onReady: M[1] || (M[1] = (Q) => n.value.ready = !0),
2663
2663
  onReset: F
2664
2664
  }, null, 8, ["image-urls", "active-index"]),
2665
- h.value ? pe((m(), A("div", xa, [
2665
+ g.value ? pe((m(), A("div", xa, [
2666
2666
  d("div", Aa, [
2667
2667
  (m(), A("svg", { viewBox: k.value }, [
2668
- (m(!0), A(ie, null, ve(h.value, ({ id: Q, svg: oe }, P) => (m(), A("g", {
2668
+ (m(!0), A(ue, null, ve(g.value, ({ id: Q, svg: oe }, P) => (m(), A("g", {
2669
2669
  key: P,
2670
2670
  innerHTML: oe,
2671
2671
  "data-building-id": Q,
2672
2672
  class: he(Y(Q)),
2673
- style: ue(D(Q)),
2673
+ style: ie(D(Q)),
2674
2674
  onMouseover: (B) => C(B, Q),
2675
2675
  onMouseout: (B) => W(B, Q),
2676
2676
  onMousemove: (B) => L(B),
@@ -2700,7 +2700,7 @@ const ra = {
2700
2700
  b(Mt, {
2701
2701
  modelValue: v.value,
2702
2702
  "onUpdate:modelValue": M[2] || (M[2] = (Q) => v.value = Q),
2703
- "date-selector": f.value,
2703
+ "date-selector": h.value,
2704
2704
  "is-loading": !n.value.ready
2705
2705
  }, null, 8, ["modelValue", "date-selector", "is-loading"])
2706
2706
  ], 512), [
@@ -2746,8 +2746,8 @@ const ra = {
2746
2746
  const t = p(!1), n = p(), o = p(new Ce()), i = p(), s = p(), v = p([]), u = p();
2747
2747
  H(
2748
2748
  () => e.color,
2749
- (f, c) => {
2750
- (f.r !== c.r || f.g !== c.g || f.b !== c.b || f.a !== c.a) && h();
2749
+ (h, c) => {
2750
+ (h.r !== c.r || h.g !== c.g || h.b !== c.b || h.a !== c.a) && g();
2751
2751
  }
2752
2752
  ), ye(async () => {
2753
2753
  n.value = await o.value.loadImage(e.imageUrl), r();
@@ -2755,29 +2755,29 @@ const ra = {
2755
2755
  function r() {
2756
2756
  if (!n.value || !u.value)
2757
2757
  return;
2758
- const { width: f, height: c } = e.dimensions;
2759
- if (!(f === 0 || c === 0)) {
2758
+ const { width: h, height: c } = e.dimensions;
2759
+ if (!(h === 0 || c === 0)) {
2760
2760
  i.value = u.value.getContext("2d", {
2761
2761
  willReadFrequently: !0
2762
- }), i.value.drawImage(n.value, 0, 0, f, c), s.value = i.value.getImageData(0, 0, f, c);
2763
- for (let g = 3; g < s.value.data.length; g += 4)
2764
- s.value.data[g] !== 0 && v.value.push(g);
2765
- h(), t.value = !0;
2762
+ }), i.value.drawImage(n.value, 0, 0, h, c), s.value = i.value.getImageData(0, 0, h, c);
2763
+ for (let f = 3; f < s.value.data.length; f += 4)
2764
+ s.value.data[f] !== 0 && v.value.push(f);
2765
+ g(), t.value = !0;
2766
2766
  }
2767
2767
  }
2768
- function h() {
2768
+ function g() {
2769
2769
  i.value && s.value && (k(), i.value.putImageData(s.value, 0, 0));
2770
2770
  }
2771
2771
  function k() {
2772
2772
  if (e.color)
2773
- for (let f = 0; f < v.value.length; f++)
2774
- s.value.data[v.value[f] - 3] = e.color.r, s.value.data[v.value[f] - 2] = e.color.g, s.value.data[v.value[f] - 1] = e.color.b, s.value.data[v.value[f]] = e.color.a;
2773
+ for (let h = 0; h < v.value.length; h++)
2774
+ s.value.data[v.value[h] - 3] = e.color.r, s.value.data[v.value[h] - 2] = e.color.g, s.value.data[v.value[h] - 1] = e.color.b, s.value.data[v.value[h]] = e.color.a;
2775
2775
  }
2776
- return (f, c) => (m(), A("canvas", Se({
2776
+ return (h, c) => (m(), A("canvas", Se({
2777
2777
  ref_key: "canvas",
2778
2778
  ref: u,
2779
2779
  class: "overlay"
2780
- }, f.dimensions), null, 16));
2780
+ }, h.dimensions), null, 16));
2781
2781
  }
2782
2782
  }), Oa = /* @__PURE__ */ K(Ea, [["__scopeId", "data-v-9e4cdd0e"]]), Ba = {
2783
2783
  key: 0,
@@ -2810,13 +2810,13 @@ const ra = {
2810
2810
  }), i = p({
2811
2811
  width: 0,
2812
2812
  height: 0
2813
- }), s = p({ x: 0, y: 0, width: 0, height: 0 }), v = p(), u = p(We.empty()), r = p(Ne.empty()), h = p(), k = p(
2813
+ }), s = p({ x: 0, y: 0, width: 0, height: 0 }), v = p(), u = p(We.empty()), r = p(Ne.empty()), g = p(), k = p(
2814
2814
  (/* @__PURE__ */ new Date()).getHours() * 2 + ((/* @__PURE__ */ new Date()).getMinutes() < 30 ? 0 : 1)
2815
- ), f = p(
2815
+ ), h = p(
2816
2816
  (w, M) => ({ x: w, y: M })
2817
- ), c = p(!1), g = p(), S = p(), I = p(), y = O(() => {
2817
+ ), c = p(!1), f = p(), S = p(), I = p(), y = O(() => {
2818
2818
  var w;
2819
- return (w = g.value) == null ? void 0 : w.isHoverEnabled;
2819
+ return (w = f.value) == null ? void 0 : w.isHoverEnabled;
2820
2820
  });
2821
2821
  xe(() => {
2822
2822
  if (e.buildingChooserTimeOfDay) {
@@ -2825,7 +2825,7 @@ const ra = {
2825
2825
  ), Q = parseInt(q);
2826
2826
  k.value = parseInt(M) * 2 + (Q < 15 ? 0 : Q > 45 ? 2 : 1);
2827
2827
  }
2828
- }), H(h, (w, M) => {
2828
+ }), H(g, (w, M) => {
2829
2829
  w ? t("hoverOverBuilding", w) : t("hoverOutBuilding", M);
2830
2830
  }), ye(async () => {
2831
2831
  const M = await new Lt(
@@ -2845,7 +2845,7 @@ const ra = {
2845
2845
  o.value = { preloaded: !1, ready: !1 };
2846
2846
  }
2847
2847
  function Y(w) {
2848
- const { layerX: M, layerY: q } = w, { x: Q, y: oe } = f.value(M, q);
2848
+ const { layerX: M, layerY: q } = w, { x: Q, y: oe } = h.value(M, q);
2849
2849
  return u.value.getBuildingId(
2850
2850
  r.value,
2851
2851
  Q,
@@ -2859,7 +2859,7 @@ const ra = {
2859
2859
  }
2860
2860
  function C(w) {
2861
2861
  const { layerX: M, layerY: q } = w;
2862
- y.value && (h.value = Y(w), h.value !== void 0 && (s.value = {
2862
+ y.value && (g.value = Y(w), g.value !== void 0 && (s.value = {
2863
2863
  x: M,
2864
2864
  y: q,
2865
2865
  width: i.value.width,
@@ -2867,19 +2867,19 @@ const ra = {
2867
2867
  }));
2868
2868
  }
2869
2869
  function W(w) {
2870
- h.value = Y(w), y.value && h.value && t("goToBuilding", h.value);
2870
+ g.value = Y(w), y.value && g.value && t("goToBuilding", g.value);
2871
2871
  }
2872
2872
  function L(w) {
2873
2873
  return e.colorCallback(
2874
2874
  w,
2875
- w === h.value ? "hover" : "idle"
2875
+ w === g.value ? "hover" : "idle"
2876
2876
  );
2877
2877
  }
2878
2878
  function Z({ resolve: w }) {
2879
- f.value = w;
2879
+ h.value = w;
2880
2880
  }
2881
2881
  return (w, M) => {
2882
- const q = T("v-icon");
2882
+ const q = V("v-icon");
2883
2883
  return c.value ? (m(), A("div", Ba, [
2884
2884
  b(q, { "x-large": "" }, {
2885
2885
  default: _(() => [
@@ -2889,7 +2889,7 @@ const ra = {
2889
2889
  })
2890
2890
  ])) : v.value ? (m(), A("div", {
2891
2891
  key: 1,
2892
- style: ue(`cursor: ${h.value ? "pointer" : "auto"};height: ${i.value.height}px; position: relative`),
2892
+ style: ie(`cursor: ${g.value ? "pointer" : "auto"};height: ${i.value.height}px; position: relative`),
2893
2893
  class: "image-container"
2894
2894
  }, [
2895
2895
  b(qe, {
@@ -2908,7 +2908,7 @@ const ra = {
2908
2908
  onReset: F
2909
2909
  }, null, 8, ["image-urls", "active-index"]),
2910
2910
  pe(d("div", null, [
2911
- (m(!0), A(ie, null, ve(v.value.buildingOverlays, (Q) => (m(), E(Oa, {
2911
+ (m(!0), A(ue, null, ve(v.value.buildingOverlays, (Q) => (m(), E(Oa, {
2912
2912
  ref_for: !0,
2913
2913
  ref_key: "overlays",
2914
2914
  ref: I,
@@ -2924,7 +2924,7 @@ const ra = {
2924
2924
  d("canvas", Se(i.value, {
2925
2925
  ref_key: "canvas",
2926
2926
  ref: S,
2927
- class: { hover: !!h.value },
2927
+ class: { hover: !!g.value },
2928
2928
  onClick: W,
2929
2929
  onMousemove: C
2930
2930
  }), null, 16),
@@ -2952,27 +2952,27 @@ const ra = {
2952
2952
  ], 512), [
2953
2953
  [ge, o.value.preloaded]
2954
2954
  ]),
2955
- w.showCards && h.value ? (m(), E(Ze, {
2955
+ w.showCards && g.value ? (m(), E(Ze, {
2956
2956
  key: 0,
2957
2957
  "is-hoverable": y.value,
2958
2958
  pos: s.value,
2959
- onOutside: M[3] || (M[3] = () => h.value = void 0)
2959
+ onOutside: M[3] || (M[3] = () => g.value = void 0)
2960
2960
  }, {
2961
2961
  default: _(() => [
2962
2962
  se(w.$slots, "default", {
2963
- building: h.value,
2964
- canGoToBuilding: w.canGoToBuildingCallback(h.value),
2965
- goToBuilding: () => w.canGoToBuildingCallback(h.value) && t("goToBuilding", h.value),
2963
+ building: g.value,
2964
+ canGoToBuilding: w.canGoToBuildingCallback(g.value),
2965
+ goToBuilding: () => w.canGoToBuildingCallback(g.value) && t("goToBuilding", g.value),
2966
2966
  pos: s.value,
2967
2967
  isHoverable: y.value,
2968
- close: () => h.value = void 0
2968
+ close: () => g.value = void 0
2969
2969
  }, void 0, !0)
2970
2970
  ]),
2971
2971
  _: 3
2972
2972
  }, 8, ["is-hoverable", "pos"])) : $("", !0),
2973
2973
  b(Re, {
2974
2974
  ref_key: "hoverProbe",
2975
- ref: g
2975
+ ref: f
2976
2976
  }, null, 512)
2977
2977
  ], 4)) : $("", !0);
2978
2978
  };
@@ -3046,7 +3046,7 @@ const ra = {
3046
3046
  },
3047
3047
  setup(l) {
3048
3048
  const a = l;
3049
- return (e, t) => (m(!0), A(ie, null, ve(a.dayData.timeSamples, (n) => (m(), E(Pa, {
3049
+ return (e, t) => (m(!0), A(ue, null, ve(a.dayData.timeSamples, (n) => (m(), E(Pa, {
3050
3050
  "time-sample-data": n,
3051
3051
  "cdn-file-resolver": a.cdnFileResolver,
3052
3052
  "current-time": e.currentTime
@@ -3061,7 +3061,7 @@ const ra = {
3061
3061
  },
3062
3062
  setup(l) {
3063
3063
  const a = l;
3064
- return (e, t) => (m(!0), A(ie, null, ve(a.cameraData.sunsimDayOfYear, (n) => (m(), E(Wa, {
3064
+ return (e, t) => (m(!0), A(ue, null, ve(a.cameraData.sunsimDayOfYear, (n) => (m(), E(Wa, {
3065
3065
  "day-data": n,
3066
3066
  "cdn-file-resolver": a.cdnFileResolver,
3067
3067
  "current-time": a.currentTime
@@ -3086,7 +3086,7 @@ const ra = {
3086
3086
  )
3087
3087
  );
3088
3088
  }), (o, i) => {
3089
- const s = T("v-select");
3089
+ const s = V("v-select");
3090
3090
  return m(), E(s, {
3091
3091
  modelValue: n.value,
3092
3092
  "onUpdate:modelValue": i[0] || (i[0] = (v) => n.value = v),
@@ -3129,7 +3129,7 @@ const ra = {
3129
3129
  });
3130
3130
  }
3131
3131
  return (i, s) => {
3132
- const v = T("v-list-item"), u = T("v-select");
3132
+ const v = V("v-list-item"), u = V("v-select");
3133
3133
  return m(), E(u, {
3134
3134
  modelValue: n.value,
3135
3135
  "onUpdate:modelValue": s[0] || (s[0] = (r) => n.value = r),
@@ -3178,8 +3178,8 @@ const ra = {
3178
3178
  );
3179
3179
  });
3180
3180
  function i(v) {
3181
- const u = v * 60, r = Math.floor(u / 60), h = u % 60;
3182
- return `${r.toString().padStart(2, "0")}:${h.toString().padStart(2, "0")}`;
3181
+ const u = v * 60, r = Math.floor(u / 60), g = u % 60;
3182
+ return `${r.toString().padStart(2, "0")}:${g.toString().padStart(2, "0")}`;
3183
3183
  }
3184
3184
  function s() {
3185
3185
  o.value ? (clearInterval(o.value), o.value = void 0) : (e.dayData.timeSamples.findIndex(
@@ -3192,8 +3192,8 @@ const ra = {
3192
3192
  }, 200));
3193
3193
  }
3194
3194
  return (v, u) => {
3195
- const r = T("v-icon"), h = T("v-btn"), k = T("v-slider"), f = T("v-field");
3196
- return m(), E(f, { variant: "solo" }, {
3195
+ const r = V("v-icon"), g = V("v-btn"), k = V("v-slider"), h = V("v-field");
3196
+ return m(), E(h, { variant: "solo" }, {
3197
3197
  default: _(() => [
3198
3198
  v.dayData.startTime === v.dayData.endTime ? (m(), A("div", Za, [
3199
3199
  b(r, {
@@ -3217,7 +3217,7 @@ const ra = {
3217
3217
  "hide-details": ""
3218
3218
  }, {
3219
3219
  prepend: _(() => [
3220
- b(h, {
3220
+ b(g, {
3221
3221
  icon: o.value ? "mdi-stop" : "mdi-play",
3222
3222
  size: "x-small",
3223
3223
  variant: "flat",
@@ -3260,14 +3260,14 @@ const ra = {
3260
3260
  const e = l, t = a, n = p(), o = p(), i = p(e.selectedId), s = st({});
3261
3261
  xe(() => {
3262
3262
  for (const r in s) {
3263
- const { element: h, state: k } = s[r], { r: f, g: c, b: g, a: S, s: I } = e.colorCallback(r, k) || {
3263
+ const { element: g, state: k } = s[r], { r: h, g: c, b: f, a: S, s: I } = e.colorCallback(r, k) || {
3264
3264
  r: 0,
3265
3265
  g: 0,
3266
3266
  b: 0,
3267
3267
  a: 0,
3268
3268
  s: 0
3269
3269
  };
3270
- h.style.fill = `rgba(${f}, ${c}, ${g}, ${S / 255})`, h.style.stroke = `rgb(${f}, ${c}, ${g})`, h.style.strokeWidth = I.toString();
3270
+ g.style.fill = `rgba(${h}, ${c}, ${f}, ${S / 255})`, g.style.stroke = `rgb(${h}, ${c}, ${f})`, g.style.strokeWidth = I.toString();
3271
3271
  }
3272
3272
  }), H(
3273
3273
  () => e.selectedId,
@@ -3289,8 +3289,8 @@ const ra = {
3289
3289
  );
3290
3290
  function v() {
3291
3291
  ke(() => {
3292
- var h;
3293
- const r = (h = o.value) == null ? void 0 : h.firstChild;
3292
+ var g;
3293
+ const r = (g = o.value) == null ? void 0 : g.firstChild;
3294
3294
  if (!r.hasAttribute("viewBox")) {
3295
3295
  const k = `0 0 ${r.getAttribute(
3296
3296
  "width"
@@ -3305,27 +3305,27 @@ const ra = {
3305
3305
  }
3306
3306
  function u() {
3307
3307
  ke(() => {
3308
- var h;
3309
- const r = (h = o.value) == null ? void 0 : h.firstChild;
3310
- r && (t("updateSvgContainer", r), v(), r.querySelectorAll("[data-building-id]").forEach((f) => {
3311
- f.style.strokeWidth = "0", f.style.stroke = "rgba(255,255,255,0)", f.style.fill = "rgba(255,255,255,0)", f.querySelectorAll("path").forEach((g) => {
3312
- g.style.stroke = "inherit", g.style.fill = "inherit";
3308
+ var g;
3309
+ const r = (g = o.value) == null ? void 0 : g.firstChild;
3310
+ r && (t("updateSvgContainer", r), v(), r.querySelectorAll("[data-building-id]").forEach((h) => {
3311
+ h.style.strokeWidth = "0", h.style.stroke = "rgba(255,255,255,0)", h.style.fill = "rgba(255,255,255,0)", h.querySelectorAll("path").forEach((f) => {
3312
+ f.style.stroke = "inherit", f.style.fill = "inherit";
3313
3313
  });
3314
- const c = f.getAttribute("data-building-id");
3314
+ const c = h.getAttribute("data-building-id");
3315
3315
  s[c] = {
3316
- element: f,
3316
+ element: h,
3317
3317
  state: i.value === c ? "selected" : "idle"
3318
- }, f.addEventListener("mouseover", () => {
3318
+ }, h.addEventListener("mouseover", () => {
3319
3319
  s[c].state === "idle" && (s[c].state = "hover"), t("onHoverOver", c);
3320
- }), f.addEventListener("mouseout", () => {
3320
+ }), h.addEventListener("mouseout", () => {
3321
3321
  s[c].state === "hover" && (s[c].state = "idle"), t("onHoverOut", c);
3322
- }), f.addEventListener("click", () => {
3322
+ }), h.addEventListener("click", () => {
3323
3323
  t("onClick", c);
3324
3324
  });
3325
3325
  }));
3326
3326
  });
3327
3327
  }
3328
- return (r, h) => (m(), E(Ee, null, {
3328
+ return (r, g) => (m(), E(Ee, null, {
3329
3329
  default: _(() => [
3330
3330
  (m(), A("div", {
3331
3331
  ref_key: "svgContainer",
@@ -3411,17 +3411,17 @@ const oo = {
3411
3411
  },
3412
3412
  emits: ["onClick", "onHoverOver", "onHoverOut", "onMouseMove", "onInitialize", "onError"],
3413
3413
  setup(l, { emit: a }) {
3414
- const e = l, t = a, n = p(), o = p(), i = p(), s = p(), v = p(!1), u = p(), r = O(() => u.value.isHoverEnabled), h = p({ x: 0, y: 0, width: 0, height: 0 }), k = p(), f = p(), c = p(
3414
+ const e = l, t = a, n = p(), o = p(), i = p(), s = p(), v = p(!1), u = p(), r = O(() => u.value.isHoverEnabled), g = p({ x: 0, y: 0, width: 0, height: 0 }), k = p(), h = p(), c = p(
3415
3415
  e.buildingChooserData
3416
- ), g = p(!1);
3416
+ ), f = p(!1);
3417
3417
  ye(() => v.value = !0), H(v, (C) => {
3418
3418
  C && t("onInitialize");
3419
3419
  }), H(
3420
- () => f.value,
3420
+ () => h.value,
3421
3421
  () => {
3422
- f.value && new ResizeObserver(([W]) => {
3423
- g.value = W.contentRect.width < e.mobileBreakpoint;
3424
- }).observe(f.value);
3422
+ h.value && new ResizeObserver(([W]) => {
3423
+ f.value = W.contentRect.width < e.mobileBreakpoint;
3424
+ }).observe(h.value);
3425
3425
  }
3426
3426
  );
3427
3427
  const S = async () => {
@@ -3506,19 +3506,19 @@ const oo = {
3506
3506
  Z = Z.parentElement;
3507
3507
  if (w) {
3508
3508
  const M = C.currentTarget;
3509
- h.value = {
3509
+ g.value = {
3510
3510
  x: W,
3511
3511
  y: L,
3512
3512
  width: M.clientWidth,
3513
3513
  height: M.clientHeight
3514
3514
  };
3515
3515
  } else
3516
- h.value = void 0;
3517
- t("onMouseMove", C, h.value);
3516
+ g.value = void 0;
3517
+ t("onMouseMove", C, g.value);
3518
3518
  }
3519
3519
  return (C, W) => {
3520
- const L = T("v-skeleton-loader");
3521
- return m(), A(ie, null, [
3520
+ const L = V("v-skeleton-loader");
3521
+ return m(), A(ue, null, [
3522
3522
  b(L, {
3523
3523
  type: "image",
3524
3524
  class: "w-100 h-100 position-relative",
@@ -3529,8 +3529,8 @@ const oo = {
3529
3529
  default: _(() => [
3530
3530
  d("div", {
3531
3531
  ref_key: "container",
3532
- ref: f,
3533
- class: he({ mobile: g.value }),
3532
+ ref: h,
3533
+ class: he({ mobile: f.value }),
3534
3534
  onMousemove: D
3535
3535
  }, [
3536
3536
  d("div", oo, [
@@ -3566,7 +3566,7 @@ const oo = {
3566
3566
  ]),
3567
3567
  b(qe, { position: "relative" }, {
3568
3568
  default: _(() => [
3569
- (m(!0), A(ie, null, ve(c.value.cameras, (Z) => (m(), E(Na, {
3569
+ (m(!0), A(ue, null, ve(c.value.cameras, (Z) => (m(), E(Na, {
3570
3570
  key: Z.overlayFilename,
3571
3571
  "camera-data": Z,
3572
3572
  "cdn-file-resolver": e.cdnFileResolver,
@@ -3591,10 +3591,10 @@ const oo = {
3591
3591
  ]),
3592
3592
  _: 1
3593
3593
  }),
3594
- C.$slots.popup && h.value && s.value ? (m(), E(Ze, {
3594
+ C.$slots.popup && g.value && s.value ? (m(), E(Ze, {
3595
3595
  key: 0,
3596
3596
  "is-hoverable": r.value,
3597
- pos: h.value
3597
+ pos: g.value
3598
3598
  }, {
3599
3599
  default: _(() => [
3600
3600
  d("div", co, [
@@ -3713,13 +3713,13 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
3713
3713
  n("newFovCallback", c), v.value = c;
3714
3714
  },
3715
3715
  newRotation: (c) => {
3716
- const g = c + 0;
3717
- n("newRotationCallback", g), s.value = g;
3716
+ const f = c + 0;
3717
+ n("newRotationCallback", f), s.value = f;
3718
3718
  }
3719
3719
  };
3720
3720
  if (!_o)
3721
3721
  return;
3722
- const f = await new e.Main(
3722
+ const h = await new e.Main(
3723
3723
  ce(
3724
3724
  t.cdnFileResolver,
3725
3725
  `/${t.interiorId}/${t.apartmentId}`
@@ -3729,10 +3729,10 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
3729
3729
  void 0,
3730
3730
  t.currentCameraId
3731
3731
  );
3732
- f && (f.handleWindowResize(), window.addEventListener(
3732
+ h && (h.handleWindowResize(), window.addEventListener(
3733
3733
  "resize",
3734
- f.handleWindowResize.bind(f)
3735
- ), f.animate(), o.value = e.Main.getPlayerAPI(), o.value && o.value.setLookSensitivity(t.mouseSensitivity));
3734
+ h.handleWindowResize.bind(h)
3735
+ ), h.animate(), o.value = e.Main.getPlayerAPI(), o.value && o.value.setLookSensitivity(t.mouseSensitivity));
3736
3736
  }), Ye(() => {
3737
3737
  o.value && o.value.destroy();
3738
3738
  }), (u, r) => (m(), A("div", bo, [
@@ -3768,7 +3768,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
3768
3768
  d("div", Mo, [
3769
3769
  d("canvas", {
3770
3770
  id: "qpc",
3771
- style: ue(u.showStaticImage ? "visibility:hidden" : "visibility:visible")
3771
+ style: ie(u.showStaticImage ? "visibility:hidden" : "visibility:visible")
3772
3772
  }, null, 4)
3773
3773
  ])
3774
3774
  ])
@@ -3794,9 +3794,9 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
3794
3794
  const r = e.level + 1;
3795
3795
  r >= o.value.length ? t("level", o.value[0]) : t("level", o.value[r]);
3796
3796
  }
3797
- return (r, h) => {
3798
- const k = T("v-btn"), f = T("v-tooltip");
3799
- return m(), E(f, {
3797
+ return (r, g) => {
3798
+ const k = V("v-btn"), h = V("v-tooltip");
3799
+ return m(), E(h, {
3800
3800
  right: "",
3801
3801
  attach: ""
3802
3802
  }, {
@@ -3829,7 +3829,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
3829
3829
  }, 1040)
3830
3830
  ]),
3831
3831
  default: _(() => [
3832
- d("span", $o, G(V(n).getLabel(i.value)) + " " + G(V(n).getLabel("floor")), 1)
3832
+ d("span", $o, G(T(n).getLabel(i.value)) + " " + G(T(n).getLabel("floor")), 1)
3833
3833
  ]),
3834
3834
  _: 1
3835
3835
  });
@@ -3846,9 +3846,9 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
3846
3846
  setup(l, { emit: a }) {
3847
3847
  const e = l, t = a, n = Ge(Le);
3848
3848
  return (o, i) => {
3849
- const s = T("v-icon"), v = T("v-btn"), u = T("v-img"), r = T("v-list-item-title"), h = T("v-list-item"), k = T("v-list"), f = T("v-menu");
3849
+ const s = V("v-icon"), v = V("v-btn"), u = V("v-img"), r = V("v-list-item-title"), g = V("v-list-item"), k = V("v-list"), h = V("v-menu");
3850
3850
  return m(), A("div", null, [
3851
- b(f, {
3851
+ b(h, {
3852
3852
  transition: "slide-x-reverse-transition",
3853
3853
  location: "top end",
3854
3854
  origin: "end bottom",
@@ -3864,7 +3864,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
3864
3864
  ]),
3865
3865
  _: 1
3866
3866
  }),
3867
- d("span", Ho, G(V(n).getLabel("interior")), 1)
3867
+ d("span", Ho, G(T(n).getLabel("interior")), 1)
3868
3868
  ]),
3869
3869
  _: 2
3870
3870
  }, 1040)
@@ -3872,11 +3872,11 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
3872
3872
  default: _(() => [
3873
3873
  b(k, { class: "interior-selector-list" }, {
3874
3874
  default: _(() => [
3875
- (m(!0), A(ie, null, ve(e.availableArchetypes, (c, g) => (m(), E(h, {
3875
+ (m(!0), A(ue, null, ve(e.availableArchetypes, (c, f) => (m(), E(g, {
3876
3876
  density: "compact",
3877
- key: `at-menuitem-${g}`,
3877
+ key: `at-menuitem-${f}`,
3878
3878
  onClick: (S) => t("selectInterior", c.archetypeID),
3879
- active: g === o.selectedIndex,
3879
+ active: f === o.selectedIndex,
3880
3880
  class: "interior-selector-list-item"
3881
3881
  }, {
3882
3882
  prepend: _(() => [
@@ -3890,7 +3890,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
3890
3890
  default: _(() => [
3891
3891
  b(r, { class: "text-caption py-2 px-4" }, {
3892
3892
  default: _(() => [
3893
- ee(G(V(n).get(c.title)), 1)
3893
+ ee(G(T(n).get(c.title)), 1)
3894
3894
  ]),
3895
3895
  _: 2
3896
3896
  }, 1024)
@@ -3919,15 +3919,15 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
3919
3919
  transform: `rotate(${-a.rotation + 180}deg)`
3920
3920
  }));
3921
3921
  return (o, i) => {
3922
- const s = T("v-img");
3922
+ const s = V("v-img");
3923
3923
  return m(), A("div", {
3924
- style: ue(t.value),
3924
+ style: ie(t.value),
3925
3925
  class: "compass-wrapper"
3926
3926
  }, [
3927
3927
  b(s, {
3928
3928
  class: "compass-needle",
3929
3929
  src: e.value,
3930
- style: ue(n.value)
3930
+ style: ie(n.value)
3931
3931
  }, null, 8, ["src", "style"])
3932
3932
  ], 4);
3933
3933
  };
@@ -3944,11 +3944,11 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
3944
3944
  return ("0" + n).slice(-2);
3945
3945
  }
3946
3946
  return (n, o) => {
3947
- const i = T("v-img");
3947
+ const i = V("v-img");
3948
3948
  return m(), A("div", Go, [
3949
3949
  d("div", Qo, [
3950
3950
  b(i, {
3951
- src: V(No),
3951
+ src: T(No),
3952
3952
  "aspect-ratio": "1"
3953
3953
  }, null, 8, ["src"])
3954
3954
  ]),
@@ -3981,15 +3981,15 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
3981
3981
  return e.showStaticImage || (i = "slideShow"), i;
3982
3982
  });
3983
3983
  return (i, s) => {
3984
- const v = T("v-icon"), u = T("v-btn"), r = T("v-tooltip");
3984
+ const v = V("v-icon"), u = V("v-btn"), r = V("v-tooltip");
3985
3985
  return m(), E(r, { location: "top" }, {
3986
- activator: _(({ props: h }) => [
3986
+ activator: _(({ props: g }) => [
3987
3987
  b(u, Se({
3988
3988
  density: "comfortable",
3989
3989
  elevation: "1",
3990
3990
  icon: "",
3991
3991
  onClick: s[0] || (s[0] = (k) => t("toggle"))
3992
- }, h), {
3992
+ }, g), {
3993
3993
  default: _(() => [
3994
3994
  o.value === "virtualTour" ? (m(), A("svg", Xo, nl)) : (m(), E(v, { key: 1 }, {
3995
3995
  default: _(() => [
@@ -4002,7 +4002,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
4002
4002
  }, 1040)
4003
4003
  ]),
4004
4004
  default: _(() => [
4005
- d("span", null, G(V(n).getLabel(o.value)), 1)
4005
+ d("span", null, G(T(n).getLabel(o.value)), 1)
4006
4006
  ]),
4007
4007
  _: 1
4008
4008
  });
@@ -4549,7 +4549,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
4549
4549
  e("closeTutorial", n.value);
4550
4550
  }
4551
4551
  return (v, u) => {
4552
- const r = T("v-icon"), h = T("v-card-title"), k = T("v-btn"), f = T("v-divider"), c = T("v-card-text"), g = T("v-card-actions"), S = T("v-card"), I = T("v-expand-transition"), y = T("v-checkbox");
4552
+ const r = V("v-icon"), g = V("v-card-title"), k = V("v-btn"), h = V("v-divider"), c = V("v-card-text"), f = V("v-card-actions"), S = V("v-card"), I = V("v-expand-transition"), y = V("v-checkbox");
4553
4553
  return m(), E(Ee, { name: "fade-transition" }, {
4554
4554
  default: _(() => [
4555
4555
  b(S, {
@@ -4557,7 +4557,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
4557
4557
  elevation: "16"
4558
4558
  }, {
4559
4559
  default: _(() => [
4560
- b(h, { class: "text-capitalize" }, {
4560
+ b(g, { class: "text-capitalize" }, {
4561
4561
  default: _(() => [
4562
4562
  b(r, { size: "x-small" }, {
4563
4563
  default: _(() => [
@@ -4565,13 +4565,13 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
4565
4565
  ]),
4566
4566
  _: 1
4567
4567
  }),
4568
- ee(" " + G(V(t).getLabel("disclaimer")), 1)
4568
+ ee(" " + G(T(t).getLabel("disclaimer")), 1)
4569
4569
  ]),
4570
4570
  _: 1
4571
4571
  }),
4572
4572
  b(c, { class: "pb-0" }, {
4573
4573
  default: _(() => [
4574
- d("p", null, G(V(t).getLabel("disclaimerTextShort")), 1),
4574
+ d("p", null, G(T(t).getLabel("disclaimerTextShort")), 1),
4575
4575
  b(k, {
4576
4576
  variant: "tonal",
4577
4577
  size: "small",
@@ -4579,7 +4579,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
4579
4579
  class: "text-capitalize mt-2"
4580
4580
  }, {
4581
4581
  default: _(() => [
4582
- ee(G(V(t).getLabel("learnMore")) + " ", 1),
4582
+ ee(G(T(t).getLabel("learnMore")) + " ", 1),
4583
4583
  b(r, null, {
4584
4584
  default: _(() => [
4585
4585
  ee("mdi-chevron-right")
@@ -4589,42 +4589,42 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
4589
4589
  ]),
4590
4590
  _: 1
4591
4591
  }),
4592
- b(f, { class: "my-3" }),
4592
+ b(h, { class: "my-3" }),
4593
4593
  i.value ? $("", !0) : (m(), A("div", ll, [
4594
4594
  d("div", sl, [
4595
4595
  d("div", rl, [
4596
4596
  il,
4597
- d("div", ul, G(V(t).getLabel("clickAndDragToLookAround")), 1)
4597
+ d("div", ul, G(T(t).getLabel("clickAndDragToLookAround")), 1)
4598
4598
  ]),
4599
4599
  d("div", cl, [
4600
4600
  dl,
4601
- d("div", vl, G(V(t).getLabel("clickOnTheCirclesToMoveAround")), 1)
4601
+ d("div", vl, G(T(t).getLabel("clickOnTheCirclesToMoveAround")), 1)
4602
4602
  ]),
4603
4603
  d("div", ml, [
4604
4604
  pl,
4605
- d("div", fl, G(V(t).getLabel("useTheMouseWheelToZoom")), 1)
4605
+ d("div", fl, G(T(t).getLabel("useTheMouseWheelToZoom")), 1)
4606
4606
  ]),
4607
4607
  d("div", hl, [
4608
4608
  gl,
4609
- d("div", yl, G(V(t).getLabel("youCanAlsoUseTheArrowKeysToMoveAround")), 1)
4609
+ d("div", yl, G(T(t).getLabel("youCanAlsoUseTheArrowKeysToMoveAround")), 1)
4610
4610
  ])
4611
4611
  ])
4612
4612
  ])),
4613
4613
  i.value ? (m(), A("div", _l, [
4614
4614
  d("div", bl, [
4615
4615
  Cl,
4616
- d("div", kl, G(V(t).getLabel("tapAndDragToLookAround")), 1)
4616
+ d("div", kl, G(T(t).getLabel("tapAndDragToLookAround")), 1)
4617
4617
  ]),
4618
4618
  d("div", wl, [
4619
4619
  Il,
4620
- d("div", Sl, G(V(t).getLabel("tapOnTheCirclesToMoveAround")), 1)
4620
+ d("div", Sl, G(T(t).getLabel("tapOnTheCirclesToMoveAround")), 1)
4621
4621
  ]),
4622
4622
  d("div", Dl, [
4623
4623
  xl,
4624
- d("div", Al, G(V(t).getLabel("useTwoFingersToZoom")), 1)
4624
+ d("div", Al, G(T(t).getLabel("useTwoFingersToZoom")), 1)
4625
4625
  ])
4626
4626
  ])) : $("", !0),
4627
- b(f, { class: "my-1" })
4627
+ b(h, { class: "my-1" })
4628
4628
  ]),
4629
4629
  _: 1
4630
4630
  }),
@@ -4646,13 +4646,13 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
4646
4646
  ]),
4647
4647
  _: 1
4648
4648
  }),
4649
- ee(" " + G(V(t).getLabel("disclaimer")), 1)
4649
+ ee(" " + G(T(t).getLabel("disclaimer")), 1)
4650
4650
  ]),
4651
- d("p", Ll, G(V(t).getLabel("disclaimerText")), 1)
4651
+ d("p", Ll, G(T(t).getLabel("disclaimerText")), 1)
4652
4652
  ]),
4653
4653
  _: 1
4654
4654
  }),
4655
- b(g, null, {
4655
+ b(f, null, {
4656
4656
  default: _(() => [
4657
4657
  b(k, {
4658
4658
  variant: "tonal",
@@ -4667,7 +4667,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
4667
4667
  ]),
4668
4668
  _: 1
4669
4669
  }),
4670
- ee(" " + G(V(t).getLabel("back")), 1)
4670
+ ee(" " + G(T(t).getLabel("back")), 1)
4671
4671
  ]),
4672
4672
  _: 1
4673
4673
  })
@@ -4688,12 +4688,12 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
4688
4688
  "hide-details": ""
4689
4689
  }, {
4690
4690
  label: _(() => [
4691
- d("span", Tl, G(V(t).getLabel("dontShowAgain")), 1)
4691
+ d("span", Tl, G(T(t).getLabel("dontShowAgain")), 1)
4692
4692
  ]),
4693
4693
  _: 1
4694
4694
  }, 8, ["modelValue"])
4695
4695
  ]),
4696
- b(g, null, {
4696
+ b(f, null, {
4697
4697
  default: _(() => [
4698
4698
  b(k, {
4699
4699
  variant: "tonal",
@@ -4701,7 +4701,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
4701
4701
  block: ""
4702
4702
  }, {
4703
4703
  default: _(() => [
4704
- ee(G(V(t).getLabel("iUnderstand")), 1)
4704
+ ee(G(T(t).getLabel("iUnderstand")), 1)
4705
4705
  ]),
4706
4706
  _: 1
4707
4707
  })
@@ -4734,7 +4734,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
4734
4734
  emits: ["updateSettings", "saveSettings"],
4735
4735
  setup(l, { emit: a }) {
4736
4736
  const e = l, t = a, n = p(
4737
- f(e.initialSettings)
4737
+ h(e.initialSettings)
4738
4738
  );
4739
4739
  H(
4740
4740
  n,
@@ -4745,8 +4745,8 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
4745
4745
  );
4746
4746
  const o = O(() => {
4747
4747
  let c = {};
4748
- for (const [g, S] of Object.entries(n.value))
4749
- g === "whitePoint" ? c[g] = r(S.value) : c[g] = S.value;
4748
+ for (const [f, S] of Object.entries(n.value))
4749
+ f === "whitePoint" ? c[f] = r(S.value) : c[f] = S.value;
4750
4750
  return c;
4751
4751
  });
4752
4752
  function i() {
@@ -4757,28 +4757,28 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
4757
4757
  c.href = URL.createObjectURL(
4758
4758
  new Blob([JSON.stringify(o.value, null, 2)])
4759
4759
  );
4760
- const g = `player-settings-${Date.now()}.json`;
4761
- c.download = g, c.style.display = "none", document.body.appendChild(c), c.click(), document.body.removeChild(c);
4760
+ const f = `player-settings-${Date.now()}.json`;
4761
+ c.download = f, c.style.display = "none", document.body.appendChild(c), c.click(), document.body.removeChild(c);
4762
4762
  }
4763
4763
  function v() {
4764
4764
  t("saveSettings", o.value);
4765
4765
  }
4766
4766
  function u() {
4767
- n.value = f(), t("updateSettings", o.value);
4767
+ n.value = h(), t("updateSettings", o.value);
4768
4768
  }
4769
4769
  function r(c) {
4770
- const g = parseInt(c.substr(1, 2), 16) / 255, S = parseInt(c.substr(3, 2), 16) / 255, I = parseInt(c.substr(5, 2), 16) / 255;
4771
- return [g, S, I];
4770
+ const f = parseInt(c.substr(1, 2), 16) / 255, S = parseInt(c.substr(3, 2), 16) / 255, I = parseInt(c.substr(5, 2), 16) / 255;
4771
+ return [f, S, I];
4772
4772
  }
4773
- function h(c) {
4774
- var g = c.toString(16);
4775
- return g.length == 1 ? "0" + g : g;
4773
+ function g(c) {
4774
+ var f = c.toString(16);
4775
+ return f.length == 1 ? "0" + f : f;
4776
4776
  }
4777
- function k([c, g, S]) {
4778
- return "#" + h(parseInt((c * 255).toString())) + h(parseInt((g * 255).toString())) + h(parseInt((S * 255).toString()));
4777
+ function k([c, f, S]) {
4778
+ return "#" + g(parseInt((c * 255).toString())) + g(parseInt((f * 255).toString())) + g(parseInt((S * 255).toString()));
4779
4779
  }
4780
- function f(c = {}) {
4781
- const g = [
4780
+ function h(c = {}) {
4781
+ const f = [
4782
4782
  "Cool 5",
4783
4783
  "Cool 10",
4784
4784
  "Cool 15",
@@ -4865,7 +4865,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
4865
4865
  lut: {
4866
4866
  label: "Lut",
4867
4867
  type: "lut",
4868
- items: g.map((I) => ({
4868
+ items: f.map((I) => ({
4869
4869
  text: I,
4870
4870
  value: `https://cdn.visuado.com/luts/${I}.png`
4871
4871
  })),
@@ -4873,12 +4873,12 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
4873
4873
  }
4874
4874
  };
4875
4875
  }
4876
- return (c, g) => {
4877
- const S = T("v-text-field"), I = T("v-slider"), y = T("v-checkbox"), R = T("v-btn"), F = T("v-select"), Y = T("v-icon");
4876
+ return (c, f) => {
4877
+ const S = V("v-text-field"), I = V("v-slider"), y = V("v-checkbox"), R = V("v-btn"), F = V("v-select"), Y = V("v-icon");
4878
4878
  return m(), A("div", Bl, [
4879
4879
  d("form", $l, [
4880
4880
  d("div", Rl, [
4881
- (m(!0), A(ie, null, ve(n.value, (D, C, W) => (m(), A("div", {
4881
+ (m(!0), A(ue, null, ve(n.value, (D, C, W) => (m(), A("div", {
4882
4882
  key: W,
4883
4883
  "d-block": ""
4884
4884
  }, [
@@ -5010,7 +5010,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
5010
5010
  ]),
5011
5011
  d("div", Jl, [
5012
5012
  b(R, {
5013
- onClick: g[0] || (g[0] = (D) => u())
5013
+ onClick: f[0] || (f[0] = (D) => u())
5014
5014
  }, {
5015
5015
  default: _(() => [
5016
5016
  ee("Reset")
@@ -5019,7 +5019,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
5019
5019
  }),
5020
5020
  b(R, {
5021
5021
  class: "ml-2",
5022
- onClick: g[1] || (g[1] = (D) => s())
5022
+ onClick: f[1] || (f[1] = (D) => s())
5023
5023
  }, {
5024
5024
  default: _(() => [
5025
5025
  ee(" Download Json "),
@@ -5034,7 +5034,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
5034
5034
  }),
5035
5035
  b(R, {
5036
5036
  class: "ml-2",
5037
- onClick: g[2] || (g[2] = (D) => v())
5037
+ onClick: f[2] || (f[2] = (D) => v())
5038
5038
  }, {
5039
5039
  default: _(() => [
5040
5040
  ee(" Save Settings "),
@@ -5067,27 +5067,27 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
5067
5067
  const s = document.getElementById(i.id + "Header");
5068
5068
  if (!s)
5069
5069
  return;
5070
- let v = 0, u = 0, r = 0, h = 0;
5070
+ let v = 0, u = 0, r = 0, g = 0;
5071
5071
  s.addEventListener("touchstart", k, { passive: !1 }), s.addEventListener("touchend", c, { passive: !1 }), s.addEventListener("mousedown", k, { passive: !1 }), s.addEventListener("mouseup", c, { passive: !1 });
5072
- function k(g) {
5073
- g = g || window.event, g.preventDefault();
5074
- let S = g;
5075
- g.type === "touchstart" && (S = g.touches[0]), r = S.clientX, h = S.clientY, document.addEventListener("mouseup", c, { passive: !1 }), document.addEventListener("touchend", c, { passive: !1 }), document.addEventListener("mousemove", f, { passive: !1 }), document.addEventListener("touchmove", f, { passive: !1 });
5072
+ function k(f) {
5073
+ f = f || window.event, f.preventDefault();
5074
+ let S = f;
5075
+ f.type === "touchstart" && (S = f.touches[0]), r = S.clientX, g = S.clientY, document.addEventListener("mouseup", c, { passive: !1 }), document.addEventListener("touchend", c, { passive: !1 }), document.addEventListener("mousemove", h, { passive: !1 }), document.addEventListener("touchmove", h, { passive: !1 });
5076
5076
  }
5077
- function f(g) {
5078
- g = g || window.event, g.preventDefault();
5079
- let S = g;
5080
- g.type === "touchmove" && (S = g.touches[0]), v = r - S.clientX, u = h - S.clientY, r = S.clientX, h = S.clientY, i.style.top = i.offsetTop - u + "px", i.style.left = i.offsetLeft - v + "px";
5077
+ function h(f) {
5078
+ f = f || window.event, f.preventDefault();
5079
+ let S = f;
5080
+ f.type === "touchmove" && (S = f.touches[0]), v = r - S.clientX, u = g - S.clientY, r = S.clientX, g = S.clientY, i.style.top = i.offsetTop - u + "px", i.style.left = i.offsetLeft - v + "px";
5081
5081
  }
5082
5082
  function c() {
5083
- document.removeEventListener("mouseup", c, !1), document.removeEventListener("mousemove", f, !1), document.removeEventListener("touchend", c, !1), document.removeEventListener("touchmove", f, !1);
5083
+ document.removeEventListener("mouseup", c, !1), document.removeEventListener("mousemove", h, !1), document.removeEventListener("touchend", c, !1), document.removeEventListener("touchmove", h, !1);
5084
5084
  }
5085
5085
  }
5086
5086
  function o() {
5087
5087
  t.value === "big" ? t.value = "small" : t.value = "big";
5088
5088
  }
5089
5089
  return (i, s) => {
5090
- const v = T("v-btn");
5090
+ const v = V("v-btn");
5091
5091
  return m(), A("div", {
5092
5092
  id: "moveableDiv",
5093
5093
  class: he(["big d-flex justify-space-between flex-column align-center sizer", t.value])
@@ -5153,11 +5153,11 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
5153
5153
  transformAngle: {}
5154
5154
  },
5155
5155
  setup(l) {
5156
- const a = l, e = p(512), t = p(384), n = p(new He.Vector3()), o = p(new He.Object3D()), i = p({}), s = p(1), v = p(), u = O(() => a.allCameras), r = O(() => a.allCameras.find((C) => C.id === a.currentCamera)), h = O(() => a.rotation), k = O(() => new He.Vector3(
5156
+ const a = l, e = p(512), t = p(384), n = p(new He.Vector3()), o = p(new He.Object3D()), i = p({}), s = p(1), v = p(), u = O(() => a.allCameras), r = O(() => a.allCameras.find((C) => C.id === a.currentCamera)), g = O(() => a.rotation), k = O(() => new He.Vector3(
5157
5157
  a.storey.position.x,
5158
5158
  a.storey.position.y,
5159
5159
  a.storey.position.z
5160
- )), f = O(() => parseFloat(r.value.floor_vertical_position)), c = O(() => u.value.map((C) => {
5160
+ )), h = O(() => parseFloat(r.value.floor_vertical_position)), c = O(() => u.value.map((C) => {
5161
5161
  const W = C.uposition.split(","), L = new He.Vector3(
5162
5162
  Number(W[0]) - k.value.x,
5163
5163
  0,
@@ -5167,7 +5167,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
5167
5167
  ...C,
5168
5168
  ...F(n.value, L)
5169
5169
  };
5170
- })), g = O(() => `background-image: url(${a.backgroundImage});`), S = O(() => {
5170
+ })), f = O(() => `background-image: url(${a.backgroundImage});`), S = O(() => {
5171
5171
  let C = s.value > 1 ? 1 : s.value;
5172
5172
  return C < 0.8 && (C = 0.4), `scale: ${C > 1 ? 1 : C}; transform: rotate(${a.transformAngle}deg);`;
5173
5173
  });
@@ -5204,7 +5204,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
5204
5204
  };
5205
5205
  }
5206
5206
  function Y() {
5207
- const C = a.storey.position.y - f.value;
5207
+ const C = a.storey.position.y - h.value;
5208
5208
  t.value = 2 * (C * Math.tan(I(a.storey.fovY / 2))), e.value = 512 / 384 * t.value;
5209
5209
  const W = t.value / 2, L = e.value / 2, Z = new He.Vector3(L * -1, 0, W * -1);
5210
5210
  n.value = Z;
@@ -5220,29 +5220,29 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
5220
5220
  d("div", ms, [
5221
5221
  d("div", {
5222
5222
  class: "web-minimap",
5223
- style: ue(S.value)
5223
+ style: ie(S.value)
5224
5224
  }, [
5225
5225
  d("div", {
5226
5226
  class: "minimap-background-image",
5227
- style: ue(g.value)
5227
+ style: ie(f.value)
5228
5228
  }, null, 4),
5229
5229
  d("div", {
5230
5230
  class: "center-pivot",
5231
- style: ue(i.value)
5231
+ style: ie(i.value)
5232
5232
  }, [
5233
- (m(!0), A(ie, null, ve(c.value, (L) => (m(), A("div", {
5233
+ (m(!0), A(ue, null, ve(c.value, (L) => (m(), A("div", {
5234
5234
  key: L.id
5235
5235
  }, [
5236
5236
  r.value.floorLevel === L.floorLevel ? (m(), A("div", {
5237
5237
  key: 0,
5238
5238
  class: "single-camera-marker",
5239
- style: ue(R(L))
5239
+ style: ie(R(L))
5240
5240
  }, null, 4)) : $("", !0),
5241
5241
  r.value.id === L.id && a.rotation !== null ? (m(), E(ds, {
5242
5242
  key: 1,
5243
5243
  class: "rotation-marker-component",
5244
- rotation: h.value,
5245
- style: ue({ ...R(L) })
5244
+ rotation: g.value,
5245
+ style: ie({ ...R(L) })
5246
5246
  }, null, 8, ["rotation", "style"])) : $("", !0)
5247
5247
  ]))), 128))
5248
5248
  ], 4)
@@ -5261,7 +5261,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
5261
5261
  const a = l, e = O(() => a.rotation + a.transformAngle - 90);
5262
5262
  return (t, n) => (m(), A("div", {
5263
5263
  class: "minimap-compass",
5264
- style: ue({ scale: t.scale })
5264
+ style: ie({ scale: t.scale })
5265
5265
  }, [
5266
5266
  b(Je, {
5267
5267
  class: "north-indicator",
@@ -5282,7 +5282,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
5282
5282
  },
5283
5283
  emits: ["setBackgroundImage"],
5284
5284
  setup(l, { emit: a }) {
5285
- const e = l, t = a, n = p((/* @__PURE__ */ new Date()).getHours()), o = p(!0), i = p(!0), s = p(""), v = p(/* @__PURE__ */ new Map()), u = O(() => e.minimapJson.storeys[e.level]), r = O(() => `${Math.floor(n.value).toString().padStart(2, "0")}:00`), h = O(() => {
5285
+ const e = l, t = a, n = p((/* @__PURE__ */ new Date()).getHours()), o = p(!0), i = p(!0), s = p(""), v = p(/* @__PURE__ */ new Map()), u = O(() => e.minimapJson.storeys[e.level]), r = O(() => `${Math.floor(n.value).toString().padStart(2, "0")}:00`), g = O(() => {
5286
5286
  if (u.value.sunsimFilesTimeStamps[n.value]) {
5287
5287
  const I = u.value.sunsimFilesTimeStamps[n.value].split(" ");
5288
5288
  return `${I[0]} ${I[1]}`;
@@ -5293,7 +5293,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
5293
5293
  s.value = await c(
5294
5294
  u.value.sunsimFiles[n.value]
5295
5295
  ), i.value = !1;
5296
- const I = await f(e.minimapJson.storeys);
5296
+ const I = await h(e.minimapJson.storeys);
5297
5297
  v.value = I, o.value = !1, t("setBackgroundImage", k(e.level, n.value));
5298
5298
  }), H(n, () => {
5299
5299
  const I = k(e.level, n.value);
@@ -5308,7 +5308,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
5308
5308
  function k(I, y) {
5309
5309
  return v.value.get(`sunsim${I}_${y}`) ? v.value.get(`sunsim${I}_${y}`) : "";
5310
5310
  }
5311
- async function f(I) {
5311
+ async function h(I) {
5312
5312
  let y = /* @__PURE__ */ new Map();
5313
5313
  for (let R = 0; R < I.length; R++) {
5314
5314
  const F = I[R].sunsimFiles;
@@ -5331,9 +5331,9 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
5331
5331
  `/${e.apartmentJson.type}/${e.apartmentJson.id}/minimap/${I}`
5332
5332
  )
5333
5333
  )).blob(), F = await S(R);
5334
- return g(F);
5334
+ return f(F);
5335
5335
  }
5336
- function g(I) {
5336
+ function f(I) {
5337
5337
  return "data:image/jpeg;base64," + I;
5338
5338
  }
5339
5339
  async function S(I) {
@@ -5346,7 +5346,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
5346
5346
  });
5347
5347
  }
5348
5348
  return (I, y) => {
5349
- const R = T("v-progress-linear"), F = T("v-icon"), Y = T("v-slider");
5349
+ const R = V("v-progress-linear"), F = V("v-icon"), Y = V("v-slider");
5350
5350
  return m(), A("div", ys, [
5351
5351
  d("div", _s, [
5352
5352
  d("div", bs, [
@@ -5380,7 +5380,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
5380
5380
  _: 1
5381
5381
  }, 8, ["modelValue"]))
5382
5382
  ]),
5383
- o.value ? $("", !0) : (m(), A("div", Cs, G(h.value) + " " + G(r.value), 1))
5383
+ o.value ? $("", !0) : (m(), A("div", Cs, G(g.value) + " " + G(r.value), 1))
5384
5384
  ])
5385
5385
  ]);
5386
5386
  };
@@ -5415,8 +5415,8 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
5415
5415
  function u() {
5416
5416
  o.value = o.value + 90;
5417
5417
  }
5418
- return (r, h) => (m(), E(ls, {
5419
- onClose: h[0] || (h[0] = (k) => t("close")),
5418
+ return (r, g) => (m(), E(ls, {
5419
+ onClose: g[0] || (g[0] = (k) => t("close")),
5420
5420
  onTransform: u
5421
5421
  }, {
5422
5422
  body: _(() => [
@@ -5487,7 +5487,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
5487
5487
  r(), t("goto", u);
5488
5488
  }
5489
5489
  return (u, r) => {
5490
- const h = T("v-btn"), k = T("v-img"), f = T("v-card"), c = T("v-slide-group-item"), g = T("v-slide-group");
5490
+ const g = V("v-btn"), k = V("v-img"), h = V("v-card"), c = V("v-slide-group-item"), f = V("v-slide-group");
5491
5491
  return m(), A("div", {
5492
5492
  class: he({
5493
5493
  mobileWaypointWrapper: i.value,
@@ -5495,7 +5495,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
5495
5495
  " waypoint-carousel": !0
5496
5496
  })
5497
5497
  }, [
5498
- b(g, {
5498
+ b(f, {
5499
5499
  modelValue: o.value,
5500
5500
  "onUpdate:modelValue": r[2] || (r[2] = (S) => o.value = S),
5501
5501
  class: he({ mobileWaypoint: i.value }),
@@ -5506,7 +5506,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
5506
5506
  mandatory: ""
5507
5507
  }, {
5508
5508
  prev: _(() => [
5509
- b(h, {
5509
+ b(g, {
5510
5510
  class: he(["carousel-button", { mobile: i.value }]),
5511
5511
  icon: "mdi-chevron-left",
5512
5512
  varient: "tonal",
@@ -5515,7 +5515,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
5515
5515
  }, null, 8, ["class"])
5516
5516
  ]),
5517
5517
  next: _(() => [
5518
- b(h, {
5518
+ b(g, {
5519
5519
  class: he(["carousel-button", { mobile: i.value }]),
5520
5520
  icon: "mdi-chevron-right",
5521
5521
  varient: "tonal",
@@ -5524,11 +5524,11 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
5524
5524
  }, null, 8, ["class"])
5525
5525
  ]),
5526
5526
  default: _(() => [
5527
- (m(!0), A(ie, null, ve(u.thumbnails, (S) => (m(), E(c, {
5527
+ (m(!0), A(ue, null, ve(u.thumbnails, (S) => (m(), E(c, {
5528
5528
  key: S.id
5529
5529
  }, {
5530
5530
  default: _(({ toggle: I, selectedClass: y }) => [
5531
- b(f, {
5531
+ b(h, {
5532
5532
  class: he([
5533
5533
  i.value ? "ma-0" : "ma-1",
5534
5534
  y,
@@ -5589,9 +5589,9 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
5589
5589
  navigator.clipboard.writeText(location.href);
5590
5590
  }
5591
5591
  return (v, u) => {
5592
- const r = T("v-btn"), h = T("v-tooltip"), k = T("v-toolbar-title"), f = T("v-spacer"), c = T("v-toolbar"), g = T("v-card-text"), S = T("v-card"), I = T("v-dialog");
5592
+ const r = V("v-btn"), g = V("v-tooltip"), k = V("v-toolbar-title"), h = V("v-spacer"), c = V("v-toolbar"), f = V("v-card-text"), S = V("v-card"), I = V("v-dialog");
5593
5593
  return m(), A("div", null, [
5594
- b(h, {
5594
+ b(g, {
5595
5595
  elevation: "2",
5596
5596
  top: "",
5597
5597
  attach: ""
@@ -5605,7 +5605,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
5605
5605
  }, y), null, 16)
5606
5606
  ]),
5607
5607
  default: _(() => [
5608
- d("span", null, G(V(a).getLabel("share")), 1)
5608
+ d("span", null, G(T(a).getLabel("share")), 1)
5609
5609
  ]),
5610
5610
  _: 1
5611
5611
  }),
@@ -5627,18 +5627,18 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
5627
5627
  }),
5628
5628
  b(k, null, {
5629
5629
  default: _(() => [
5630
- ee(G(V(a).getLabel("share")), 1)
5630
+ ee(G(T(a).getLabel("share")), 1)
5631
5631
  ]),
5632
5632
  _: 1
5633
5633
  }),
5634
- b(f)
5634
+ b(h)
5635
5635
  ]),
5636
5636
  _: 1
5637
5637
  }),
5638
- b(g, { class: "mt-5" }, {
5638
+ b(f, { class: "mt-5" }, {
5639
5639
  default: _(() => [
5640
5640
  d("p", As, [
5641
- b(h, { location: "top" }, {
5641
+ b(g, { location: "top" }, {
5642
5642
  activator: _(({ props: y }) => [
5643
5643
  b(r, Se({
5644
5644
  depressed: "",
@@ -5648,11 +5648,11 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
5648
5648
  }, y, { onClick: n }), null, 16)
5649
5649
  ]),
5650
5650
  default: _(() => [
5651
- d("span", null, G(V(a).getLabel("shareToFacebook")), 1)
5651
+ d("span", null, G(T(a).getLabel("shareToFacebook")), 1)
5652
5652
  ]),
5653
5653
  _: 1
5654
5654
  }),
5655
- b(h, { location: "top" }, {
5655
+ b(g, { location: "top" }, {
5656
5656
  activator: _(({ props: y }) => [
5657
5657
  b(r, Se({
5658
5658
  depressed: "",
@@ -5662,11 +5662,11 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
5662
5662
  }, y, { onClick: i }), null, 16)
5663
5663
  ]),
5664
5664
  default: _(() => [
5665
- d("span", null, G(V(a).getLabel("shareToLinkedin")), 1)
5665
+ d("span", null, G(T(a).getLabel("shareToLinkedin")), 1)
5666
5666
  ]),
5667
5667
  _: 1
5668
5668
  }),
5669
- b(h, { location: "top" }, {
5669
+ b(g, { location: "top" }, {
5670
5670
  activator: _(({ props: y }) => [
5671
5671
  b(r, Se({
5672
5672
  depressed: "",
@@ -5676,11 +5676,11 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
5676
5676
  }, y, { onClick: o }), null, 16)
5677
5677
  ]),
5678
5678
  default: _(() => [
5679
- d("span", null, G(V(a).getLabel("shareToTwitter")), 1)
5679
+ d("span", null, G(T(a).getLabel("shareToTwitter")), 1)
5680
5680
  ]),
5681
5681
  _: 1
5682
5682
  }),
5683
- b(h, { location: "top" }, {
5683
+ b(g, { location: "top" }, {
5684
5684
  activator: _(({ props: y }) => [
5685
5685
  b(r, Se({
5686
5686
  depressed: "",
@@ -5692,11 +5692,11 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
5692
5692
  }, y), null, 16, ["href"])
5693
5693
  ]),
5694
5694
  default: _(() => [
5695
- d("span", null, G(V(a).getLabel("shareViaEmail")), 1)
5695
+ d("span", null, G(T(a).getLabel("shareViaEmail")), 1)
5696
5696
  ]),
5697
5697
  _: 1
5698
5698
  }),
5699
- b(h, { location: "top" }, {
5699
+ b(g, { location: "top" }, {
5700
5700
  activator: _(({ props: y }) => [
5701
5701
  b(r, Se({
5702
5702
  depressed: "",
@@ -5707,11 +5707,11 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
5707
5707
  }, y), null, 16)
5708
5708
  ]),
5709
5709
  default: _(() => [
5710
- d("span", null, G(V(a).getLabel("copyLink")), 1)
5710
+ d("span", null, G(T(a).getLabel("copyLink")), 1)
5711
5711
  ]),
5712
5712
  _: 1
5713
5713
  }),
5714
- b(f)
5714
+ b(h)
5715
5715
  ])
5716
5716
  ]),
5717
5717
  _: 1
@@ -5736,7 +5736,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
5736
5736
  return (t, n) => (m(), A("div", Ls, [
5737
5737
  d("div", {
5738
5738
  class: he(["img-div", [t.aspectRatio]]),
5739
- style: ue(e.value)
5739
+ style: ie(e.value)
5740
5740
  }, null, 6)
5741
5741
  ]));
5742
5742
  }
@@ -5752,7 +5752,7 @@ const bo = { id: "player-wrapper" }, Co = { id: "player-sizer" }, ko = {
5752
5752
  setup(l, { emit: a }) {
5753
5753
  const e = a;
5754
5754
  return (t, n) => {
5755
- const o = T("v-btn");
5755
+ const o = V("v-btn");
5756
5756
  return m(), A("div", Vs, [
5757
5757
  b(o, {
5758
5758
  density: "comfortable",
@@ -5870,7 +5870,7 @@ const Es = {
5870
5870
  takeSnapshot: dt,
5871
5871
  setCurrentCamera: U
5872
5872
  });
5873
- const o = p(!1), i = p(!1), s = p(!1), v = p(), u = p(), r = p(), h = p(), k = p(), f = p(0), c = p(), g = p(), S = p(), I = p(0), y = p(0), R = p(0), F = p(!1), Y = p(!1), D = p(!1), C = p(
5873
+ const o = p(!1), i = p(!1), s = p(!1), v = p(), u = p(), r = p(), g = p(), k = p(), h = p(0), c = p(), f = p(), S = p(), I = p(0), y = p(0), R = p(0), F = p(!1), Y = p(!1), D = p(!1), C = p(
5874
5874
  new Ot(document, "player-wrapper")
5875
5875
  ), W = O(() => {
5876
5876
  if (u.value) {
@@ -5905,7 +5905,7 @@ const Es = {
5905
5905
  imageUrl: at(
5906
5906
  `/${c.value}/${t.apartmentId}/images/1600/${x.id}.jpg`
5907
5907
  )
5908
- })) : []), M = O(() => !w.value || !w.value[f.value] ? "" : w.value[f.value].imageUrl), q = O(() => {
5908
+ })) : []), M = O(() => !w.value || !w.value[h.value] ? "" : w.value[h.value].imageUrl), q = O(() => {
5909
5909
  let x = [];
5910
5910
  return v.value && (x = v.value.archetypes), t.validInteriorIds.length ? x.filter(
5911
5911
  (X) => t.validInteriorIds.includes(X.archetypeID)
@@ -5913,11 +5913,11 @@ const Es = {
5913
5913
  }), Q = O(() => r.value ? q.value.map((x) => ({
5914
5914
  ...x,
5915
5915
  url: at(
5916
- `/${x.archetypeID}/${t.apartmentId}/thumbs/200/${w.value[f.value].id}.jpg`
5916
+ `/${x.archetypeID}/${t.apartmentId}/thumbs/200/${w.value[h.value].id}.jpg`
5917
5917
  )
5918
5918
  })) : []), oe = O(() => {
5919
- if (h.value && h.value.storeys && L.value in h.value.storeys)
5920
- return h.value.storeys[L.value];
5919
+ if (g.value && g.value.storeys && L.value in g.value.storeys)
5920
+ return g.value.storeys[L.value];
5921
5921
  }), P = O(() => u.value && u.value.timeInHours), B = O(() => {
5922
5922
  if (u.value && u.value.timeInHours && t.showTimeOfDay)
5923
5923
  return Rt(u.value.timeInHours);
@@ -5949,14 +5949,14 @@ const Es = {
5949
5949
  if (u.value = await Me(
5950
5950
  c.value,
5951
5951
  t.apartmentId
5952
- ), u.value && (g.value = u.value.cameras.find(() => !0).id), r.value = await Te(
5952
+ ), u.value && (f.value = u.value.cameras.find(() => !0).id), r.value = await Te(
5953
5953
  c.value,
5954
5954
  t.apartmentId
5955
5955
  ), r.value) {
5956
5956
  let x = t.defaultWaypointIndex !== null ? t.defaultWaypointIndex : 0;
5957
- f.value = x, g.value = r.value.cameras[x].id, S.value = r.value.cameras[x].id;
5957
+ h.value = x, f.value = r.value.cameras[x].id, S.value = r.value.cameras[x].id;
5958
5958
  }
5959
- t.showMiniMap && (h.value = await De(
5959
+ t.showMiniMap && (g.value = await De(
5960
5960
  c.value,
5961
5961
  t.apartmentId
5962
5962
  ));
@@ -6043,19 +6043,19 @@ const Es = {
6043
6043
  }
6044
6044
  }
6045
6045
  function Ae() {
6046
- let x = f.value + 1;
6047
- x >= w.value.length && (x = 0), f.value = x, U(w.value[f.value].id);
6046
+ let x = h.value + 1;
6047
+ x >= w.value.length && (x = 0), h.value = x, U(w.value[h.value].id);
6048
6048
  }
6049
6049
  function be() {
6050
- let x = f.value - 1;
6051
- x < 0 && (x = w.value.length - 1), f.value = x, U(w.value[f.value].id);
6050
+ let x = h.value - 1;
6051
+ x < 0 && (x = w.value.length - 1), h.value = x, U(w.value[h.value].id);
6052
6052
  }
6053
6053
  function _e(x, X = !0) {
6054
6054
  let le = w.value.findIndex((Ie) => Ie.id === x);
6055
- le != -1 && (f.value = le, X && U(x));
6055
+ le != -1 && (h.value = le, X && U(x));
6056
6056
  }
6057
6057
  function U(x) {
6058
- g.value = x;
6058
+ f.value = x;
6059
6059
  }
6060
6060
  function te(x) {
6061
6061
  c.value = x, n("onInteriorUpdate", x), n("onCameraUpdate", S.value, u.value);
@@ -6135,32 +6135,32 @@ const Es = {
6135
6135
  );
6136
6136
  });
6137
6137
  return (x, X) => {
6138
- const le = T("v-btn");
6138
+ const le = V("v-btn");
6139
6139
  return m(), A("div", {
6140
6140
  class: he(["virtual-tour-wrapper", [Ct.value]])
6141
6141
  }, [
6142
6142
  s.value ? (m(), A("div", Es, "Error loading the player!!")) : $("", !0),
6143
6143
  d("div", Os, [
6144
- !C.value.isActive && h.value && S.value && oe.value && c.value && Y.value ? (m(), E(wt, {
6144
+ !C.value.isActive && g.value && S.value && oe.value && c.value && Y.value ? (m(), E(wt, {
6145
6145
  key: 0,
6146
6146
  "cdn-file-resolver": x.cdnFileResolver,
6147
6147
  "apartment-json": u.value,
6148
6148
  level: L.value,
6149
- "minimap-json": h.value,
6149
+ "minimap-json": g.value,
6150
6150
  rotation: I.value,
6151
6151
  "current-camera": S.value,
6152
6152
  onClose: X[0] || (X[0] = (Ie) => Y.value = !1)
6153
6153
  }, null, 8, ["cdn-file-resolver", "apartment-json", "level", "minimap-json", "rotation", "current-camera"])) : $("", !0),
6154
- c.value && g.value ? (m(), A("div", {
6154
+ c.value && f.value ? (m(), A("div", {
6155
6155
  key: 1,
6156
6156
  class: he(["v-player", [Ct.value]])
6157
6157
  }, [
6158
6158
  b(Vo, {
6159
6159
  "cdn-file-resolver": x.cdnFileResolver,
6160
- style: ue({ zIndex: F.value ? 1 : 2 }),
6160
+ style: ie({ zIndex: F.value ? 1 : 2 }),
6161
6161
  "show-static-image": F.value,
6162
6162
  "is-full-screen": C.value.isActive,
6163
- "current-camera-id": g.value,
6163
+ "current-camera-id": f.value,
6164
6164
  "mouse-sensitivity": x.mouseSensitivity,
6165
6165
  "interior-id": c.value,
6166
6166
  "apartment-id": t.apartmentId,
@@ -6197,7 +6197,7 @@ const Es = {
6197
6197
  }, null, 512), [
6198
6198
  [ge, D.value]
6199
6199
  ]),
6200
- h.value && g.value && oe.value ? pe((m(), E(le, {
6200
+ g.value && f.value && oe.value ? pe((m(), E(le, {
6201
6201
  key: 1,
6202
6202
  density: "comfortable",
6203
6203
  elevation: "3",
@@ -6236,8 +6236,8 @@ const Es = {
6236
6236
  hours: B.value.hours,
6237
6237
  minutes: B.value.minutes,
6238
6238
  class: "time-of-day",
6239
- style: ue({
6240
- cursor: h.value && S.value && oe.value ? "pointer" : "default"
6239
+ style: ie({
6240
+ cursor: g.value && S.value && oe.value ? "pointer" : "default"
6241
6241
  })
6242
6242
  }, null, 8, ["hours", "minutes", "style"])) : $("", !0)
6243
6243
  ])
@@ -6261,11 +6261,11 @@ const Es = {
6261
6261
  key: 0,
6262
6262
  onCloseTutorial: X[5] || (X[5] = (Ie) => Ut(Ie))
6263
6263
  })) : $("", !0),
6264
- C.value.isActive && h.value && S.value && oe.value && Y.value ? (m(), E(wt, {
6264
+ C.value.isActive && g.value && S.value && oe.value && Y.value ? (m(), E(wt, {
6265
6265
  key: 1,
6266
6266
  "cdn-file-resolver": x.cdnFileResolver,
6267
6267
  "apartment-json": u.value,
6268
- "minimap-json": h.value,
6268
+ "minimap-json": g.value,
6269
6269
  rotation: I.value,
6270
6270
  "current-camera": S.value,
6271
6271
  level: L.value,
@@ -6318,7 +6318,7 @@ const Es = {
6318
6318
  key: 0,
6319
6319
  class: he([C.value.isActive ? "full-screen" : ""]),
6320
6320
  thumbnails: w.value,
6321
- active: f.value,
6321
+ active: h.value,
6322
6322
  onNext: Ae,
6323
6323
  onPrevious: be,
6324
6324
  onGoto: _e
@@ -6342,7 +6342,7 @@ const Es = {
6342
6342
  key: 0,
6343
6343
  class: "waypoint-carousel below-player",
6344
6344
  thumbnails: w.value,
6345
- active: f.value,
6345
+ active: h.value,
6346
6346
  onNext: Ae,
6347
6347
  onPrevious: be,
6348
6348
  onGoto: _e
@@ -6442,8 +6442,8 @@ const Es = {
6442
6442
  const e = p(0), t = p(
6443
6443
  new Ot(document, "player-wrapper")
6444
6444
  ), n = O(() => a.images.map(
6445
- (r, h) => ({
6446
- id: `image-${h}`,
6445
+ (r, g) => ({
6446
+ id: `image-${g}`,
6447
6447
  thumbnailUrl: r
6448
6448
  })
6449
6449
  )), o = O(() => n.value[e.value]);
@@ -6461,14 +6461,14 @@ const Es = {
6461
6461
  let r = e.value - 1;
6462
6462
  r < 0 && (r = n.value.length - 1), e.value = r;
6463
6463
  }
6464
- function u(r, h = !0) {
6464
+ function u(r, g = !0) {
6465
6465
  let k = n.value.findIndex(
6466
- (f) => f.id === r
6466
+ (h) => h.id === r
6467
6467
  );
6468
6468
  k != -1 && (e.value = k);
6469
6469
  }
6470
- return (r, h) => {
6471
- const k = T("v-img"), f = T("v-btn");
6470
+ return (r, g) => {
6471
+ const k = V("v-img"), h = V("v-btn");
6472
6472
  return m(), A("div", lr, [
6473
6473
  d("div", sr, [
6474
6474
  d("div", null, [
@@ -6488,7 +6488,7 @@ const Es = {
6488
6488
  "center-left": _(() => [
6489
6489
  b(Ee, { name: "slide-x-transition" }, {
6490
6490
  default: _(() => [
6491
- n.value.length > 1 ? (m(), E(f, {
6491
+ n.value.length > 1 ? (m(), E(h, {
6492
6492
  key: 0,
6493
6493
  density: "comfortable",
6494
6494
  elevation: "3",
@@ -6503,7 +6503,7 @@ const Es = {
6503
6503
  "center-right": _(() => [
6504
6504
  b(Ee, { name: "slide-x-reverse-transition" }, {
6505
6505
  default: _(() => [
6506
- n.value.length > 1 ? (m(), E(f, {
6506
+ n.value.length > 1 ? (m(), E(h, {
6507
6507
  key: 0,
6508
6508
  density: "comfortable",
6509
6509
  elevation: "3",
@@ -6568,7 +6568,7 @@ const Es = {
6568
6568
  src: o.value,
6569
6569
  width: "100%"
6570
6570
  }, null, 8, dr)), [
6571
- [ge, V(n) && V(e) === V(n)]
6571
+ [ge, T(n) && T(e) === T(n)]
6572
6572
  ]);
6573
6573
  }
6574
6574
  }), mr = /* @__PURE__ */ K(vr, [["__scopeId", "data-v-9630cdc0"]]), pr = /* @__PURE__ */ j({
@@ -6581,11 +6581,11 @@ const Es = {
6581
6581
  },
6582
6582
  setup(l) {
6583
6583
  const a = l, { dayData: e, cdnFileResolver: t, currentTime: n } = Oe(a);
6584
- return (o, i) => (m(!0), A(ie, null, ve(V(e).timeSamples, (s) => (m(), E(mr, {
6584
+ return (o, i) => (m(!0), A(ue, null, ve(T(e).timeSamples, (s) => (m(), E(mr, {
6585
6585
  key: s.filename,
6586
6586
  "time-sample-data": s,
6587
- "cdn-file-resolver": V(t),
6588
- "current-time": V(n)
6587
+ "cdn-file-resolver": T(t),
6588
+ "current-time": T(n)
6589
6589
  }, null, 8, ["time-sample-data", "cdn-file-resolver", "current-time"]))), 128));
6590
6590
  }
6591
6591
  }), fr = ["src"], hr = /* @__PURE__ */ j({
@@ -6602,18 +6602,18 @@ const Es = {
6602
6602
  t.value,
6603
6603
  n.value.defaultFilename
6604
6604
  ));
6605
- return (s, v) => V(e).sunsimDayOfYear ? (m(!0), A(ie, { key: 0 }, ve(V(e).sunsimDayOfYear, (u) => (m(), E(pr, {
6605
+ return (s, v) => T(e).sunsimDayOfYear ? (m(!0), A(ue, { key: 0 }, ve(T(e).sunsimDayOfYear, (u) => (m(), E(pr, {
6606
6606
  key: u.dayOfYear,
6607
6607
  "day-data": u,
6608
- "cdn-file-resolver": V(t),
6608
+ "cdn-file-resolver": T(t),
6609
6609
  "current-day": s.currentDay,
6610
- "current-time": V(o)
6610
+ "current-time": T(o)
6611
6611
  }, null, 8, ["day-data", "cdn-file-resolver", "current-day", "current-time"]))), 128)) : pe((m(), A("img", {
6612
6612
  key: i.value,
6613
6613
  src: i.value,
6614
6614
  width: "100%"
6615
6615
  }, null, 8, fr)), [
6616
- [ge, V(n) === V(e)]
6616
+ [ge, T(n) === T(e)]
6617
6617
  ]);
6618
6618
  }
6619
6619
  }), gr = ["src"], yr = /* @__PURE__ */ j({
@@ -6630,7 +6630,7 @@ const Es = {
6630
6630
  src: o.value,
6631
6631
  class: "position-absolute top-left w-100 h-100"
6632
6632
  }, null, 8, gr)), [
6633
- [ge, V(e) === V(n)]
6633
+ [ge, T(e) === T(n)]
6634
6634
  ]);
6635
6635
  }
6636
6636
  }), _r = /* @__PURE__ */ K(yr, [["__scopeId", "data-v-a7a18237"]]);
@@ -6666,8 +6666,8 @@ const br = {
6666
6666
  )
6667
6667
  );
6668
6668
  }), (u, r) => {
6669
- const h = T("v-btn"), k = T("v-field"), f = T("v-list-item-title"), c = T("v-list-item"), g = T("v-list"), S = T("v-menu");
6670
- return V(n).sunsimDayOfYear.length > 0 ? (m(), A("div", br, [
6669
+ const g = V("v-btn"), k = V("v-field"), h = V("v-list-item-title"), c = V("v-list-item"), f = V("v-list"), S = V("v-menu");
6670
+ return T(n).sunsimDayOfYear.length > 0 ? (m(), A("div", br, [
6671
6671
  b(S, null, {
6672
6672
  activator: _(({ props: I }) => [
6673
6673
  b(k, {
@@ -6676,18 +6676,18 @@ const br = {
6676
6676
  flat: ""
6677
6677
  }, {
6678
6678
  default: _(() => [
6679
- b(h, Se({
6679
+ b(g, Se({
6680
6680
  variant: "text",
6681
6681
  rounded: "",
6682
6682
  flat: "",
6683
- readonly: V(n).sunsimDayOfYear.length === 1,
6683
+ readonly: T(n).sunsimDayOfYear.length === 1,
6684
6684
  "prepend-icon": "mdi-calendar-blank",
6685
- "append-icon": V(n).sunsimDayOfYear.length > 1 ? "mdi-menu-down" : void 0,
6686
- disabled: V(i),
6687
- size: V(t) ? "small" : void 0
6685
+ "append-icon": T(n).sunsimDayOfYear.length > 1 ? "mdi-menu-down" : void 0,
6686
+ disabled: T(i),
6687
+ size: T(t) ? "small" : void 0
6688
6688
  }, I), {
6689
6689
  default: _(() => [
6690
- ee(G(V(It)(v.value)), 1)
6690
+ ee(G(T(It)(v.value)), 1)
6691
6691
  ]),
6692
6692
  _: 2
6693
6693
  }, 1040, ["readonly", "append-icon", "disabled", "size"])
@@ -6696,17 +6696,17 @@ const br = {
6696
6696
  }, 1024)
6697
6697
  ]),
6698
6698
  default: _(() => [
6699
- b(g, null, {
6699
+ b(f, null, {
6700
6700
  default: _(() => [
6701
- (m(!0), A(ie, null, ve(V(n).sunsimDayOfYear, (I, y) => (m(), E(c, {
6701
+ (m(!0), A(ue, null, ve(T(n).sunsimDayOfYear, (I, y) => (m(), E(c, {
6702
6702
  key: y,
6703
6703
  value: y,
6704
6704
  onClick: (R) => v.value = I.dayOfYear
6705
6705
  }, {
6706
6706
  default: _(() => [
6707
- b(f, null, {
6707
+ b(h, null, {
6708
6708
  default: _(() => [
6709
- ee(G(V(It)(I.dayOfYear)), 1)
6709
+ ee(G(T(It)(I.dayOfYear)), 1)
6710
6710
  ]),
6711
6711
  _: 2
6712
6712
  }, 1024)
@@ -6722,7 +6722,7 @@ const br = {
6722
6722
  ])) : $("", !0);
6723
6723
  };
6724
6724
  }
6725
- }), kr = /* @__PURE__ */ K(Cr, [["__scopeId", "data-v-4002f1e1"]]), wr = ["onClick"], Ir = {
6725
+ }), kr = /* @__PURE__ */ K(Cr, [["__scopeId", "data-v-a04625cf"]]), wr = ["onClick"], Ir = {
6726
6726
  key: 1,
6727
6727
  class: "icon-wrapper"
6728
6728
  }, Sr = /* @__PURE__ */ j({
@@ -6746,37 +6746,37 @@ const br = {
6746
6746
  H(v, () => {
6747
6747
  u(
6748
6748
  "onCameraChange",
6749
- n.value.find((h) => h === v.value)
6749
+ n.value.find((g) => g === v.value)
6750
6750
  );
6751
6751
  });
6752
- function r(h) {
6753
- s.value || (v.value = h);
6752
+ function r(g) {
6753
+ s.value || (v.value = g);
6754
6754
  }
6755
- return (h, k) => {
6756
- const f = T("v-chip"), c = T("v-icon");
6755
+ return (g, k) => {
6756
+ const h = V("v-chip"), c = V("v-icon");
6757
6757
  return m(), A("div", {
6758
6758
  class: he({
6759
6759
  "d-flex": !0,
6760
- "justify-center": !V(t),
6761
- "align-end": !V(t),
6762
- "justify-end": V(t),
6763
- mobile: V(t),
6764
- disabled: V(s),
6765
- enabled: !V(s)
6760
+ "justify-center": !T(t),
6761
+ "align-end": !T(t),
6762
+ "justify-end": T(t),
6763
+ mobile: T(t),
6764
+ disabled: T(s),
6765
+ enabled: !T(s)
6766
6766
  })
6767
6767
  }, [
6768
- (m(!0), A(ie, null, ve(V(n), (g, S) => (m(), A("div", {
6768
+ (m(!0), A(ue, null, ve(T(n), (f, S) => (m(), A("div", {
6769
6769
  key: S,
6770
6770
  class: "still-camera",
6771
- style: ue({
6772
- backgroundImage: `url(${V(ce)(
6773
- V(i),
6774
- g.defaultFilename
6771
+ style: ie({
6772
+ backgroundImage: `url(${T(ce)(
6773
+ T(i),
6774
+ f.defaultFilename
6775
6775
  )})`
6776
6776
  }),
6777
- onClick: (I) => r(g)
6777
+ onClick: (I) => r(f)
6778
6778
  }, [
6779
- !V(t) && g.cameraName ? (m(), E(f, {
6779
+ !T(t) && f.cameraName ? (m(), E(h, {
6780
6780
  key: 0,
6781
6781
  variant: "flat",
6782
6782
  size: "small",
@@ -6784,11 +6784,11 @@ const br = {
6784
6784
  color: "white"
6785
6785
  }, {
6786
6786
  default: _(() => [
6787
- ee(G(g.cameraName), 1)
6787
+ ee(G(f.cameraName), 1)
6788
6788
  ]),
6789
6789
  _: 2
6790
6790
  }, 1024)) : $("", !0),
6791
- g.sunsimDayOfYear && g.sunsimDayOfYear.length > 1 ? (m(), A("div", Ir, [
6791
+ f.sunsimDayOfYear && f.sunsimDayOfYear.length > 1 ? (m(), A("div", Ir, [
6792
6792
  b(c, {
6793
6793
  size: "x-small",
6794
6794
  color: "warning",
@@ -6830,22 +6830,25 @@ const xr = { class: "small" }, Ar = { class: "small" }, Fr = /* @__PURE__ */ j({
6830
6830
  )
6831
6831
  );
6832
6832
  }), (u, r) => {
6833
- const h = T("v-icon"), k = T("v-slider"), f = T("v-field");
6833
+ const g = V("v-icon"), k = V("v-slider"), h = V("v-field");
6834
6834
  return m(), A("div", {
6835
- class: he({ "d-inline-block": !0, mobile: V(t) }),
6836
- style: { flex: "1", "vertical-align": "top" }
6835
+ class: he({ "d-inline-block": !0, mobile: T(t) }),
6836
+ style: ie({
6837
+ flex: T(t) && T(n).timeSamples.length > 1 ? 1 : void 0,
6838
+ verticalAlign: "top"
6839
+ })
6837
6840
  }, [
6838
- b(f, {
6839
- style: ue(
6840
- V(n).timeSamples.length > 1 ? {
6841
- width: V(t) ? "100%" : "300px",
6842
- height: V(t) ? "28px" : "36px"
6841
+ b(h, {
6842
+ style: ie(
6843
+ T(n).timeSamples.length > 1 ? {
6844
+ width: T(t) ? "100%" : "300px",
6845
+ height: T(t) ? "28px" : "36px"
6843
6846
  } : {
6844
- height: V(t) ? "28px" : "36px",
6847
+ height: T(t) ? "28px" : "36px",
6845
6848
  paddingLeft: "12px",
6846
6849
  paddingRight: "12px",
6847
- paddingTop: V(t) ? "5px" : "9px",
6848
- paddingBottom: V(t) ? "5px" : "9px"
6850
+ paddingTop: T(t) ? "5px" : "9px",
6851
+ paddingBottom: T(t) ? "5px" : "9px"
6849
6852
  }
6850
6853
  ),
6851
6854
  variant: "solo-filled",
@@ -6853,22 +6856,22 @@ const xr = { class: "small" }, Ar = { class: "small" }, Fr = /* @__PURE__ */ j({
6853
6856
  flat: ""
6854
6857
  }, {
6855
6858
  default: _(() => [
6856
- V(n).timeSamples.length > 1 ? (m(), E(k, {
6859
+ T(n).timeSamples.length > 1 ? (m(), E(k, {
6857
6860
  key: 0,
6858
6861
  class: "pa-1 pr-2",
6859
6862
  modelValue: v.value,
6860
6863
  "onUpdate:modelValue": r[0] || (r[0] = (c) => v.value = c),
6861
- min: V(n).startTime,
6862
- max: V(n).endTime,
6863
- step: V(n).interval,
6864
- disabled: !!V(i),
6864
+ min: T(n).startTime,
6865
+ max: T(n).endTime,
6866
+ step: T(n).interval,
6867
+ disabled: !!T(i),
6865
6868
  density: "compact",
6866
6869
  "thumb-size": "16",
6867
6870
  "thumb-color": "white",
6868
6871
  "hide-details": ""
6869
6872
  }, {
6870
6873
  prepend: _(() => [
6871
- b(h, {
6874
+ b(g, {
6872
6875
  style: { "vertical-align": "baseline", "font-size": "20px" },
6873
6876
  class: "mr-2 icon",
6874
6877
  color: "warning"
@@ -6878,11 +6881,11 @@ const xr = { class: "small" }, Ar = { class: "small" }, Fr = /* @__PURE__ */ j({
6878
6881
  ]),
6879
6882
  _: 1
6880
6883
  }),
6881
- d("span", xr, G(V(St)(v.value)), 1)
6884
+ d("span", xr, G(T(St)(v.value)), 1)
6882
6885
  ]),
6883
6886
  _: 1
6884
- }, 8, ["modelValue", "min", "max", "step", "disabled"])) : (m(), A(ie, { key: 1 }, [
6885
- b(h, {
6887
+ }, 8, ["modelValue", "min", "max", "step", "disabled"])) : (m(), A(ue, { key: 1 }, [
6888
+ b(g, {
6886
6889
  style: { "vertical-align": "baseline", "font-size": "20px", "margin-top": "-1px", opacity: "0.6" },
6887
6890
  class: "mr-2 icon",
6888
6891
  color: "warning"
@@ -6892,15 +6895,15 @@ const xr = { class: "small" }, Ar = { class: "small" }, Fr = /* @__PURE__ */ j({
6892
6895
  ]),
6893
6896
  _: 1
6894
6897
  }),
6895
- d("span", Ar, G(V(St)(v.value)), 1)
6898
+ d("span", Ar, G(T(St)(v.value)), 1)
6896
6899
  ], 64))
6897
6900
  ]),
6898
6901
  _: 1
6899
6902
  }, 8, ["style"])
6900
- ], 2);
6903
+ ], 6);
6901
6904
  };
6902
6905
  }
6903
- }), Lr = /* @__PURE__ */ K(Fr, [["__scopeId", "data-v-3e7bf49c"]]), Mr = {
6906
+ }), Lr = /* @__PURE__ */ K(Fr, [["__scopeId", "data-v-75ca9b95"]]), Mr = {
6904
6907
  class: "d-inline-block",
6905
6908
  style: { "vertical-align": "top" }
6906
6909
  }, Tr = /* @__PURE__ */ d("hr", { style: { "border-top": "1px solid #999" } }, null, -1), Vr = /* @__PURE__ */ j({
@@ -6915,23 +6918,23 @@ const xr = { class: "small" }, Ar = { class: "small" }, Fr = /* @__PURE__ */ j({
6915
6918
  setup(l, { emit: a }) {
6916
6919
  const e = l, { isMobileSized: t, canZoomIn: n, canZoomOut: o, disabled: i } = Oe(e), s = a;
6917
6920
  return (v, u) => {
6918
- const r = T("v-btn");
6921
+ const r = V("v-btn");
6919
6922
  return m(), A("div", Mr, [
6920
6923
  b(r, {
6921
- disabled: V(i) || !V(n),
6922
- size: V(t) ? "x-small" : "small",
6924
+ disabled: T(i) || !T(n),
6925
+ size: T(t) ? "x-small" : "small",
6923
6926
  flat: "",
6924
6927
  icon: "mdi-plus",
6925
- onClick: u[0] || (u[0] = (h) => s("onZoomIn")),
6928
+ onClick: u[0] || (u[0] = (g) => s("onZoomIn")),
6926
6929
  style: { "border-bottom-left-radius": "0", "border-bottom-right-radius": "0" }
6927
6930
  }, null, 8, ["disabled", "size"]),
6928
6931
  Tr,
6929
6932
  b(r, {
6930
- disabled: V(i) || !V(o),
6931
- size: V(t) ? "x-small" : "small",
6933
+ disabled: T(i) || !T(o),
6934
+ size: T(t) ? "x-small" : "small",
6932
6935
  flat: "",
6933
6936
  icon: "mdi-minus",
6934
- onClick: u[1] || (u[1] = (h) => s("onZoomOut")),
6937
+ onClick: u[1] || (u[1] = (g) => s("onZoomOut")),
6935
6938
  style: { "border-top-left-radius": "0", "border-top-right-radius": "0" }
6936
6939
  }, null, 8, ["disabled", "size"])
6937
6940
  ]);
@@ -6949,8 +6952,8 @@ const xr = { class: "small" }, Ar = { class: "small" }, Fr = /* @__PURE__ */ j({
6949
6952
  setup(l, { emit: a }) {
6950
6953
  const e = l, { cdnFileResolver: t, colorCallback: n, currentCamera: o, selectedId: i } = Oe(e), s = a, v = p(), u = p(), r = st({});
6951
6954
  xe(() => {
6952
- for (const f in r) {
6953
- const { element: c, state: g } = r[f], { r: S, g: I, b: y, a: R, s: F } = n.value(f, g) || {
6955
+ for (const h in r) {
6956
+ const { element: c, state: f } = r[h], { r: S, g: I, b: y, a: R, s: F } = n.value(h, f) || {
6954
6957
  r: 0,
6955
6958
  g: 0,
6956
6959
  b: 0,
@@ -6960,8 +6963,8 @@ const xr = { class: "small" }, Ar = { class: "small" }, Fr = /* @__PURE__ */ j({
6960
6963
  c.style.fill = `rgba(${S}, ${I}, ${y}, ${R / 255})`, c.style.stroke = `rgb(${S}, ${I}, ${y})`, c.style.strokeWidth = F.toString();
6961
6964
  }
6962
6965
  }), H(i, () => {
6963
- for (const f in r)
6964
- r[f].state === "selected" && f !== i.value ? r[f].state = "idle" : r[f].state !== "selected" && f === i.value && (r[f].state = "selected");
6966
+ for (const h in r)
6967
+ r[h].state === "selected" && h !== i.value ? r[h].state = "idle" : r[h].state !== "selected" && h === i.value && (r[h].state = "selected");
6965
6968
  }), xe(async () => {
6966
6969
  v.value = await Ce.loadText(
6967
6970
  ce(t.value, o.value.overlayFilename)
@@ -6969,24 +6972,24 @@ const xr = { class: "small" }, Ar = { class: "small" }, Fr = /* @__PURE__ */ j({
6969
6972
  }), H(
6970
6973
  () => u.value,
6971
6974
  () => {
6972
- u.value && new ResizeObserver(h).observe(u.value);
6975
+ u.value && new ResizeObserver(g).observe(u.value);
6973
6976
  }
6974
6977
  );
6975
- function h() {
6978
+ function g() {
6976
6979
  ke(() => {
6977
6980
  var c;
6978
- const f = (c = u.value) == null ? void 0 : c.firstChild;
6979
- if (f) {
6980
- if (!f.hasAttribute("viewBox")) {
6981
- const g = `0 0 ${f.getAttribute(
6981
+ const h = (c = u.value) == null ? void 0 : c.firstChild;
6982
+ if (h) {
6983
+ if (!h.hasAttribute("viewBox")) {
6984
+ const f = `0 0 ${h.getAttribute(
6982
6985
  "width"
6983
- )} ${f.getAttribute("height")}`;
6984
- f.setAttribute("viewBox", g);
6986
+ )} ${h.getAttribute("height")}`;
6987
+ h.setAttribute("viewBox", f);
6985
6988
  }
6986
- f.setAttribute(
6989
+ h.setAttribute(
6987
6990
  "width",
6988
6991
  u.value.offsetWidth.toString()
6989
- ), f.setAttribute(
6992
+ ), h.setAttribute(
6990
6993
  "height",
6991
6994
  u.value.offsetHeight.toString()
6992
6995
  );
@@ -6996,11 +6999,11 @@ const xr = { class: "small" }, Ar = { class: "small" }, Fr = /* @__PURE__ */ j({
6996
6999
  function k() {
6997
7000
  ke(() => {
6998
7001
  var c;
6999
- const f = (c = u.value) == null ? void 0 : c.firstChild;
7000
- if (f) {
7001
- s("updateSvgContainer", f), h();
7002
- let g, S = "data-structure-id";
7003
- g = f.querySelectorAll(`[${S}]`), g.length === 0 && (S = "data-apartment-id", g = f.querySelectorAll(`[${S}]`), g.length === 0 && (S = "data-building-id", g = f.querySelectorAll(`[${S}]`))), g.forEach((I) => {
7002
+ const h = (c = u.value) == null ? void 0 : c.firstChild;
7003
+ if (h) {
7004
+ s("updateSvgContainer", h), g();
7005
+ let f, S = "data-structure-id";
7006
+ f = h.querySelectorAll(`[${S}]`), f.length === 0 && (S = "data-apartment-id", f = h.querySelectorAll(`[${S}]`), f.length === 0 && (S = "data-building-id", f = h.querySelectorAll(`[${S}]`))), f.forEach((I) => {
7004
7007
  I.style.strokeWidth = "0", I.style.stroke = "rgba(255,255,255,0)", I.style.fill = "rgba(255,255,255,0)", I.querySelectorAll("path").forEach((R) => {
7005
7008
  R.style.stroke = "inherit", R.style.fill = "inherit";
7006
7009
  });
@@ -7019,12 +7022,12 @@ const xr = { class: "small" }, Ar = { class: "small" }, Fr = /* @__PURE__ */ j({
7019
7022
  }
7020
7023
  });
7021
7024
  }
7022
- return (f, c) => (m(), E(Ee, null, {
7025
+ return (h, c) => (m(), E(Ee, null, {
7023
7026
  default: _(() => [
7024
7027
  (m(), A("div", {
7025
7028
  ref_key: "svgContainer",
7026
7029
  ref: u,
7027
- key: V(o).overlayFilename,
7030
+ key: T(o).overlayFilename,
7028
7031
  class: "w-100 h-100 position-absolute top-left",
7029
7032
  style: { "z-index": "5" },
7030
7033
  innerHTML: v.value
@@ -7271,8 +7274,8 @@ function zr(l) {
7271
7274
  u = o[v].filename, r = {
7272
7275
  cameraName: `Camera ${s + 1}`,
7273
7276
  cameraPosition: void 0,
7274
- cameraRotation: l.sceneCameras && (t = l.sceneCameras.find((h) => h.scene === s)) != null && t.cameraRotation ? Dt(
7275
- (n = l.sceneCameras.find((h) => h.scene === s)) == null ? void 0 : n.cameraRotation
7277
+ cameraRotation: l.sceneCameras && (t = l.sceneCameras.find((g) => g.scene === s)) != null && t.cameraRotation ? Dt(
7278
+ (n = l.sceneCameras.find((g) => g.scene === s)) == null ? void 0 : n.cameraRotation
7276
7279
  ) : void 0,
7277
7280
  cameraFov: 0,
7278
7281
  overlayFilename: `/scenedata${i[s]}V5Overlay.svg`,
@@ -7327,7 +7330,7 @@ function Dt({ x: l, y: a, z: e }) {
7327
7330
  };
7328
7331
  }
7329
7332
  const jr = ["innerHTML"], Pr = { style: { "z-index": "7" } }, Wr = {
7330
- key: 2,
7333
+ key: 3,
7331
7334
  class: "render-version"
7332
7335
  }, Nr = /* @__PURE__ */ j({
7333
7336
  __name: "VStructureChooser",
@@ -7356,14 +7359,14 @@ const jr = ["innerHTML"], Pr = { style: { "z-index": "7" } }, Wr = {
7356
7359
  selectedId: v,
7357
7360
  defaultCamera: u,
7358
7361
  defaultDay: r,
7359
- defaultTime: h,
7362
+ defaultTime: g,
7360
7363
  mobileBreakpoint: k
7361
- } = Oe(e), f = a;
7364
+ } = Oe(e), h = a;
7362
7365
  Qe(
7363
7366
  Le,
7364
7367
  i.value ? new Fe(i.value) : new Fe()
7365
7368
  );
7366
- const c = p(), g = p(), S = p(), I = p(null), y = p(4), R = p(), F = p(!1), Y = p(!1), D = p(), C = O(() => D.value.isHoverEnabled), W = p({ x: 0, y: 0, width: 0, height: 0 }), L = p(), Z = p(), w = p(), M = p(!1), q = p(), Q = p({
7369
+ const c = p(), f = p(), S = p(), I = p(null), y = p(4), R = p(), F = p(!1), Y = p(!1), D = p(), C = O(() => D.value.isHoverEnabled), W = p({ x: 0, y: 0, width: 0, height: 0 }), L = p(), Z = p(), w = p(), M = p(!1), q = p(), Q = p({
7367
7370
  current: 100,
7368
7371
  min: 100,
7369
7372
  max: 1e3
@@ -7376,14 +7379,14 @@ const jr = ["innerHTML"], Pr = { style: { "z-index": "7" } }, Wr = {
7376
7379
  try {
7377
7380
  w.value = zr(U);
7378
7381
  } catch (te) {
7379
- f("onError", te);
7382
+ h("onError", te);
7380
7383
  }
7381
7384
  },
7382
7385
  {
7383
7386
  immediate: !0
7384
7387
  }
7385
7388
  ), H(F, (U) => {
7386
- U && f("onInitialize");
7389
+ U && h("onInitialize");
7387
7390
  }), H(
7388
7391
  () => Z.value,
7389
7392
  () => {
@@ -7410,19 +7413,19 @@ const jr = ["innerHTML"], Pr = { style: { "z-index": "7" } }, Wr = {
7410
7413
  ), H(
7411
7414
  [w, n, r],
7412
7415
  () => {
7413
- w.value && n.value && c.value && c.value.sunsimDayOfYear && c.value.sunsimDayOfYear.length > 0 && (r.value ? g.value = c.value.sunsimDayOfYear.find(
7416
+ w.value && n.value && c.value && c.value.sunsimDayOfYear && c.value.sunsimDayOfYear.length > 0 && (r.value ? f.value = c.value.sunsimDayOfYear.find(
7414
7417
  (U) => U.dayOfYear === r.value
7415
- ) || c.value.sunsimDayOfYear[0] : g.value = c.value.sunsimDayOfYear[0]);
7418
+ ) || c.value.sunsimDayOfYear[0] : f.value = c.value.sunsimDayOfYear[0]);
7416
7419
  },
7417
7420
  { immediate: !0 }
7418
7421
  ), H(
7419
- [w, n, h],
7422
+ [w, n, g],
7420
7423
  () => {
7421
- w.value && n.value && g.value && g.value.timeSamples && g.value.timeSamples.length > 0 && (h.value ? S.value = g.value.timeSamples.find(
7422
- (U) => U.timeInHours === h.value
7423
- ) || g.value.timeSamples[0] : S.value = g.value.timeSamples.find(
7424
- (U) => U.timeInHours === g.value.defaultHour
7425
- ) || g.value.timeSamples[0]);
7424
+ w.value && n.value && f.value && f.value.timeSamples && f.value.timeSamples.length > 0 && (g.value ? S.value = f.value.timeSamples.find(
7425
+ (U) => U.timeInHours === g.value
7426
+ ) || f.value.timeSamples[0] : S.value = f.value.timeSamples.find(
7427
+ (U) => U.timeInHours === f.value.defaultHour
7428
+ ) || f.value.timeSamples[0]);
7426
7429
  },
7427
7430
  { immediate: !0 }
7428
7431
  );
@@ -7439,7 +7442,7 @@ const jr = ["innerHTML"], Pr = { style: { "z-index": "7" } }, Wr = {
7439
7442
  }), I.value = null);
7440
7443
  }
7441
7444
  function ne(U) {
7442
- const te = g.value;
7445
+ const te = f.value;
7443
7446
  c.value = U, y.value = w.value.cameras.findIndex(
7444
7447
  (z) => z === c.value
7445
7448
  ), ke(() => {
@@ -7452,13 +7455,13 @@ const jr = ["innerHTML"], Pr = { style: { "z-index": "7" } }, Wr = {
7452
7455
  }
7453
7456
  function fe(U) {
7454
7457
  const te = S.value;
7455
- g.value = U, ke(() => {
7458
+ f.value = U, ke(() => {
7456
7459
  me(
7457
- g.value.timeSamples.find(
7460
+ f.value.timeSamples.find(
7458
7461
  (z) => z.timeInHours === te.timeInHours
7459
- ) || g.value.timeSamples.find(
7460
- (z) => z.timeInHours === g.value.defaultHour
7461
- ) || g.value.timeSamples[0]
7462
+ ) || f.value.timeSamples.find(
7463
+ (z) => z.timeInHours === f.value.defaultHour
7464
+ ) || f.value.timeSamples[0]
7462
7465
  );
7463
7466
  });
7464
7467
  }
@@ -7466,7 +7469,7 @@ const jr = ["innerHTML"], Pr = { style: { "z-index": "7" } }, Wr = {
7466
7469
  S.value = U;
7467
7470
  }
7468
7471
  function de(U) {
7469
- f("onClick", U, () => {
7472
+ h("onClick", U, () => {
7470
7473
  const te = w.value.stillCameraData.find(
7471
7474
  (z) => z.id === U
7472
7475
  );
@@ -7474,10 +7477,10 @@ const jr = ["innerHTML"], Pr = { style: { "z-index": "7" } }, Wr = {
7474
7477
  });
7475
7478
  }
7476
7479
  function we(U) {
7477
- f("onHoverOver", U), R.value = U;
7480
+ h("onHoverOver", U), R.value = U;
7478
7481
  }
7479
7482
  function Me(U) {
7480
- f("onHoverOut", U), R.value = void 0;
7483
+ h("onHoverOut", U), R.value = void 0;
7481
7484
  }
7482
7485
  function Te(U) {
7483
7486
  const { layerX: te, layerY: z } = U;
@@ -7498,7 +7501,7 @@ const jr = ["innerHTML"], Pr = { style: { "z-index": "7" } }, Wr = {
7498
7501
  };
7499
7502
  } else
7500
7503
  W.value = void 0;
7501
- f("onMouseMove", U, W.value);
7504
+ h("onMouseMove", U, W.value);
7502
7505
  }
7503
7506
  function De({
7504
7507
  min: U,
@@ -7537,8 +7540,8 @@ const jr = ["innerHTML"], Pr = { style: { "z-index": "7" } }, Wr = {
7537
7540
  });
7538
7541
  }
7539
7542
  return (U, te) => {
7540
- const z = T("v-skeleton-loader");
7541
- return m(), A(ie, null, [
7543
+ const z = V("v-skeleton-loader");
7544
+ return m(), A(ue, null, [
7542
7545
  b(z, {
7543
7546
  type: "image",
7544
7547
  class: "w-100 h-100 position-relative",
@@ -7556,7 +7559,7 @@ const jr = ["innerHTML"], Pr = { style: { "z-index": "7" } }, Wr = {
7556
7559
  }, [
7557
7560
  d("div", {
7558
7561
  class: "persistent actions-bar top-right pa-1",
7559
- style: ue({
7562
+ style: ie({
7560
7563
  zIndex: 7,
7561
7564
  top: M.value && oe.value.length > 1 ? "51px" : 0
7562
7565
  })
@@ -7564,7 +7567,7 @@ const jr = ["innerHTML"], Pr = { style: { "z-index": "7" } }, Wr = {
7564
7567
  c.value.cameraRotation ? (m(), E(Je, {
7565
7568
  key: 0,
7566
7569
  class: "mb-1",
7567
- style: ue({
7570
+ style: ie({
7568
7571
  zIndex: 7,
7569
7572
  width: M.value ? 32 : 40,
7570
7573
  height: M.value ? 32 : 40
@@ -7593,7 +7596,7 @@ const jr = ["innerHTML"], Pr = { style: { "z-index": "7" } }, Wr = {
7593
7596
  "still-cameras": oe.value,
7594
7597
  "current-camera": c.value,
7595
7598
  disabled: Y.value,
7596
- "cdn-file-resolver": V(n),
7599
+ "cdn-file-resolver": T(n),
7597
7600
  onOnCameraChange: B
7598
7601
  }, null, 8, ["is-mobile-sized", "still-cameras", "current-camera", "disabled", "cdn-file-resolver"])
7599
7602
  ], 2)) : $("", !0),
@@ -7604,32 +7607,32 @@ const jr = ["innerHTML"], Pr = { style: { "z-index": "7" } }, Wr = {
7604
7607
  onUpdate: De
7605
7608
  }, {
7606
7609
  default: _(() => [
7607
- (m(!0), A(ie, null, ve(oe.value, (N, ae) => (m(), E(hr, {
7610
+ (m(!0), A(ue, null, ve(oe.value, (N, ae) => (m(), E(hr, {
7608
7611
  key: `camera${ae}`,
7609
7612
  "camera-data": N,
7610
- "cdn-file-resolver": V(n),
7613
+ "cdn-file-resolver": T(n),
7611
7614
  "current-camera": c.value,
7612
- "current-day": g.value,
7615
+ "current-day": f.value,
7613
7616
  "current-time": S.value
7614
7617
  }, null, 8, ["camera-data", "cdn-file-resolver", "current-camera", "current-day", "current-time"]))), 128)),
7615
- (m(!0), A(ie, null, ve(P.value, (N, ae) => (m(), E(_r, {
7618
+ (m(!0), A(ue, null, ve(P.value, (N, ae) => (m(), E(_r, {
7616
7619
  key: `transition${ae}`,
7617
7620
  "transition-data": N,
7618
- "cdn-file-resolver": V(n),
7621
+ "cdn-file-resolver": T(n),
7619
7622
  "current-transition": I.value
7620
7623
  }, null, 8, ["transition-data", "cdn-file-resolver", "current-transition"]))), 128)),
7621
- V(s) ? (m(), A("div", {
7624
+ T(s) ? (m(), A("div", {
7622
7625
  key: 0,
7623
7626
  class: "w-100 h-100 position-absolute top-left",
7624
7627
  style: { "z-index": "6", "pointer-events": "none" },
7625
- innerHTML: V(s)
7628
+ innerHTML: T(s)
7626
7629
  }, null, 8, jr)) : $("", !0),
7627
7630
  c.value.overlayFilename ? pe((m(), E(Br, {
7628
7631
  key: 1,
7629
- "cdn-file-resolver": V(n),
7630
- "color-callback": V(o),
7632
+ "cdn-file-resolver": T(n),
7633
+ "color-callback": T(o),
7631
7634
  "current-camera": c.value,
7632
- "selected-id": V(v),
7635
+ "selected-id": T(v),
7633
7636
  onOnClick: de,
7634
7637
  onOnHoverOver: we,
7635
7638
  onOnHoverOut: Me,
@@ -7640,7 +7643,8 @@ const jr = ["innerHTML"], Pr = { style: { "z-index": "7" } }, Wr = {
7640
7643
  ]),
7641
7644
  _: 1
7642
7645
  }, 512),
7643
- d("div", {
7646
+ f.value.timeSamples && f.value.timeSamples.length > 0 || c.value.sunsimDayOfYear && c.value.sunsimDayOfYear.length > 0 ? (m(), A("div", {
7647
+ key: 1,
7644
7648
  class: he({
7645
7649
  "actions-bar top-left pa-1 d-flex": !0,
7646
7650
  "px-0": M.value
@@ -7651,20 +7655,20 @@ const jr = ["innerHTML"], Pr = { style: { "z-index": "7" } }, Wr = {
7651
7655
  class: "pr-1",
7652
7656
  "is-mobile-sized": M.value,
7653
7657
  "current-camera": c.value,
7654
- "current-day": g.value,
7658
+ "current-day": f.value,
7655
7659
  disabled: Y.value,
7656
7660
  onOnDayChange: fe
7657
7661
  }, null, 8, ["is-mobile-sized", "current-camera", "current-day", "disabled"]),
7658
7662
  b(Lr, {
7659
7663
  "is-mobile-sized": M.value,
7660
- "current-day": g.value,
7664
+ "current-day": f.value,
7661
7665
  "current-time": S.value,
7662
7666
  disabled: Y.value,
7663
7667
  onOnTimeChange: me
7664
7668
  }, null, 8, ["is-mobile-sized", "current-day", "current-time", "disabled"])
7665
- ], 2),
7669
+ ], 2)) : $("", !0),
7666
7670
  U.$slots.popup && W.value && R.value ? (m(), E(Ze, {
7667
- key: 1,
7671
+ key: 2,
7668
7672
  "is-hoverable": C.value,
7669
7673
  pos: W.value
7670
7674
  }, {
@@ -7690,7 +7694,7 @@ const jr = ["innerHTML"], Pr = { style: { "z-index": "7" } }, Wr = {
7690
7694
  ], 64);
7691
7695
  };
7692
7696
  }
7693
- }), Gr = /* @__PURE__ */ K(Nr, [["__scopeId", "data-v-17ef8fd2"]]), Kr = {
7697
+ }), Gr = /* @__PURE__ */ K(Nr, [["__scopeId", "data-v-09e20b12"]]), Kr = {
7694
7698
  install: function(a) {
7695
7699
  a.component("VApartmentChooser", Vn), a.component("VBuildingChooser", Ya), a.component("VVirtualTour", Ws), a.component("VManualSlideShow", cr), a.component("VStructureChooser", Gr);
7696
7700
  }