@qispace/vue3-player 0.3.39 → 0.3.41

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 Ba = Object.defineProperty;
2
2
  var Ra = (s, t, e) => t in s ? Ba(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e;
3
3
  var pe = (s, t, e) => (Ra(s, typeof t != "symbol" ? t + "" : t, e), e);
4
- import { defineComponent as W, ref as d, computed as $, openBlock as v, createElementBlock as D, watch as U, onMounted as Ie, onBeforeUnmount as Qe, withDirectives as Ce, createElementVNode as u, normalizeStyle as ce, vShow as ke, createVNode as C, Fragment as me, renderList as _e, createCommentVNode as R, inject as Ze, resolveComponent as E, withCtx as b, toDisplayString as Z, unref as A, createTextVNode as ae, normalizeClass as ge, createBlock as V, renderSlot as ne, provide as at, reactive as bt, watchEffect as Ve, resolveDynamicComponent as Jt, normalizeProps as dt, guardReactiveProps as vt, mergeProps as Oe, nextTick as Ae, Transition as Ee, createSlots as Ua, toRefs as Te, pushScopeId as Ct, popScopeId as wt, vModelText as Ha, createStaticVNode as Xt, onBeforeUpdate as Ya, withModifiers as za } from "vue";
4
+ import { defineComponent as W, ref as d, computed as $, openBlock as v, createElementBlock as D, watch as U, onMounted as xe, onBeforeUnmount as Qe, withDirectives as Ce, createElementVNode as u, normalizeStyle as de, vShow as Se, createVNode as C, Fragment as me, renderList as _e, createCommentVNode as R, inject as Ze, resolveComponent as E, withCtx as b, toDisplayString as Z, unref as A, createTextVNode as ae, normalizeClass as ge, createBlock as V, renderSlot as ne, provide as at, reactive as bt, watchEffect as Ve, resolveDynamicComponent as Jt, normalizeProps as dt, guardReactiveProps as vt, mergeProps as Oe, nextTick as ke, Transition as Ee, createSlots as Ua, toRefs as Te, pushScopeId as Ct, popScopeId as wt, vModelText as Ha, createStaticVNode as Xt, onBeforeUpdate as Ya, withModifiers as za } from "vue";
5
5
  import gt from "axios";
6
6
  import * as ja from "@qispace/player-core";
7
7
  import { Vector3 as it, Object3D as Pa, MathUtils as Wa } from "three";
@@ -123,14 +123,14 @@ const Ga = /* @__PURE__ */ W({
123
123
  }), U(Y, () => {
124
124
  w.value ? n("hoverOver", {
125
125
  hoverUnit: x.value ? x.value.unitId : !1,
126
- closeHandler: () => xe()
126
+ closeHandler: () => De()
127
127
  }) : n("hoverOut", {
128
128
  hoverUnit: x.value ? x.value.unitId : !1,
129
- closeHandler: () => xe()
129
+ closeHandler: () => De()
130
130
  });
131
131
  }), U(a, () => {
132
132
  n("pos", a.value);
133
- }), Ie(() => {
133
+ }), xe(() => {
134
134
  M.value = () => {
135
135
  clearTimeout(T.value), Le(), T.value = setTimeout(() => {
136
136
  Le();
@@ -143,10 +143,10 @@ const Ga = /* @__PURE__ */ W({
143
143
  });
144
144
  function G() {
145
145
  l.value = I.value.getContext("2d", { willReadFrequently: !0 }), m.value = new Image(), m.value.onload = () => {
146
- ze(), I.value.addEventListener("mousemove", De(de, 50));
146
+ ze(), I.value.addEventListener("mousemove", Ae(ce, 50));
147
147
  }, m.value.src = te.value;
148
148
  }
149
- function de(N) {
149
+ function ce(N) {
150
150
  const K = J(N.offsetX, N.offsetY);
151
151
  w.value = K >= 0, f.value = K, a.value = {
152
152
  x: N.offsetX,
@@ -250,11 +250,11 @@ const Ga = /* @__PURE__ */ W({
250
250
  function we() {
251
251
  Fe(), q(), l.value && p.value && l.value.putImageData(p.value, 0, 0);
252
252
  }
253
- function xe() {
253
+ function De() {
254
254
  w.value = !1;
255
255
  }
256
256
  const Be = d(!1);
257
- function De(N, K) {
257
+ function Ae(N, K) {
258
258
  return Be.value = !0, function(...ve) {
259
259
  Be.value && (Be.value = !1, N.apply(this, ve), setTimeout(() => Be.value = !0, K));
260
260
  };
@@ -268,10 +268,10 @@ const Ga = /* @__PURE__ */ W({
268
268
  id: "canvas-mask",
269
269
  ref_key: "canvas",
270
270
  ref: I,
271
- style: ce(S.value),
271
+ style: de(S.value),
272
272
  onClick: j
273
273
  }, null, 4), [
274
- [ke, !N.viewModel.isRotating]
274
+ [Se, !N.viewModel.isRotating]
275
275
  ]),
276
276
  C(We, {
277
277
  ref_key: "hoverProbe",
@@ -325,7 +325,7 @@ const Ga = /* @__PURE__ */ W({
325
325
  }
326
326
  });
327
327
  }
328
- }), Ie(() => {
328
+ }), xe(() => {
329
329
  for (let M = 1; M <= 4; M++) {
330
330
  const P = ue(e.cdnFileResolver, `/scenedata${M}.svg`), I = {
331
331
  markup: "",
@@ -407,7 +407,7 @@ const Ga = /* @__PURE__ */ W({
407
407
  }, [
408
408
  Ce(u("div", {
409
409
  class: "svg-container",
410
- style: ce({
410
+ style: de({
411
411
  opacity: !l.value || !l.value.svgObjects ? 0 : 1
412
412
  })
413
413
  }, [
@@ -418,14 +418,14 @@ const Ga = /* @__PURE__ */ W({
418
418
  (v(!0), D(me, null, _e(l.value.svgObjects, ({ index: I, svg: L }) => (v(), D("g", {
419
419
  key: I,
420
420
  innerHTML: L,
421
- style: ce(y(I)),
421
+ style: de(y(I)),
422
422
  onMouseenter: (X) => c(I),
423
423
  onMouseleave: (X) => h(),
424
424
  onClick: (X) => _(I)
425
425
  }, null, 44, qa))), 128))
426
426
  ], 8, Za)) : R("", !0)
427
427
  ], 4), [
428
- [ke, !M.viewModel.isRotating]
428
+ [Se, !M.viewModel.isRotating]
429
429
  ]),
430
430
  C(We, {
431
431
  ref_key: "hoverProbe",
@@ -449,7 +449,7 @@ const Ga = /* @__PURE__ */ W({
449
449
  emits: ["prevUnit", "nextUnit", "goToUnit"],
450
450
  setup(s, { emit: t }) {
451
451
  const e = s, n = $(() => e.selectedUnitId), a = $(() => e.nextUnitId), o = $(() => e.prevUnitId), r = t, l = Ze($e);
452
- Ie(() => {
452
+ xe(() => {
453
453
  window.addEventListener("keydown", m);
454
454
  }), Qe(() => {
455
455
  window.removeEventListener("keydown", m);
@@ -625,7 +625,7 @@ const on = {
625
625
  const T = _(g, y), M = h(g, y);
626
626
  i(g, T, M);
627
627
  }
628
- ), Ie(() => {
628
+ ), xe(() => {
629
629
  w();
630
630
  });
631
631
  function i(y, g, T) {
@@ -757,7 +757,7 @@ const on = {
757
757
  o.isHoverable ? (v(), D("div", {
758
758
  key: 0,
759
759
  class: "floating-card",
760
- style: ce({
760
+ style: de({
761
761
  left: `${o.pos.x}px`,
762
762
  top: `${o.pos.y}px`,
763
763
  pointerEvents: "none",
@@ -795,7 +795,7 @@ const on = {
795
795
  setup(s, { expose: t, emit: e }) {
796
796
  const n = s, a = e;
797
797
  t({
798
- adjustZoom: de
798
+ adjustZoom: ce
799
799
  });
800
800
  const o = d(100), r = d(0), l = d(0), m = d(!1), p = d(!1), i = d(void 0), f = d(!1), w = d(), k = $(() => `translateX(${r.value}px) translateY(${l.value}px) scale(${c.value})`), c = $(() => o.value / 100), h = $(() => n.maxScale * 100);
801
801
  U(
@@ -814,7 +814,7 @@ const on = {
814
814
  () => {
815
815
  n.mobile ? y() : T();
816
816
  }
817
- ), Ie(() => {
817
+ ), xe(() => {
818
818
  n.desktop && _(), n.mobile && y();
819
819
  }), Qe(() => {
820
820
  n.desktop && g(), n.mobile && T();
@@ -869,7 +869,7 @@ const on = {
869
869
  }
870
870
  function M(O) {
871
871
  const { x: J, y: q } = S(O);
872
- de(-O.deltaY / 10, J, q), O.preventDefault();
872
+ ce(-O.deltaY / 10, J, q), O.preventDefault();
873
873
  }
874
874
  function P(O) {
875
875
  m.value = !0, f.value = !1, i.value = O;
@@ -906,8 +906,8 @@ const on = {
906
906
  i.value.touches[0]
907
907
  ), { x: se, y: be } = S(O.touches[1]), { x: ie, y: Fe } = S(
908
908
  i.value.touches[1]
909
- ), Le = Math.hypot(oe - ie, re - Fe), ze = Math.hypot(J - se, q - be), we = (se + J) / 2, xe = (be + q) / 2;
910
- de(ze - Le, we, xe);
909
+ ), Le = Math.hypot(oe - ie, re - Fe), ze = Math.hypot(J - se, q - be), we = (se + J) / 2, De = (be + q) / 2;
910
+ ce(ze - Le, we, De);
911
911
  }
912
912
  i.value = O;
913
913
  }
@@ -935,11 +935,11 @@ const on = {
935
935
  -(q - J)
936
936
  );
937
937
  }
938
- function de(O, J, q) {
938
+ function ce(O, J, q) {
939
939
  const oe = J !== void 0 ? J : w.value.clientWidth / 2, re = q !== void 0 ? q : w.value.clientHeight / 2, se = w.value.clientWidth, be = w.value.clientHeight, ie = se * c.value, Fe = be * c.value;
940
940
  o.value = Math.min(Math.max(100, o.value + O), h.value);
941
- const Le = se * c.value, ze = be * c.value, we = Le - ie, xe = ze - Fe;
942
- r.value -= oe / se * we, l.value -= re / be * xe, Y(0), G(0);
941
+ const Le = se * c.value, ze = be * c.value, we = Le - ie, De = ze - Fe;
942
+ r.value -= oe / se * we, l.value -= re / be * De, Y(0), G(0);
943
943
  }
944
944
  function j() {
945
945
  a("update", {
@@ -959,10 +959,10 @@ const on = {
959
959
  ref_key: "box",
960
960
  ref: w,
961
961
  class: "zoom-box-container",
962
- style: ce({ position: n.position })
962
+ style: de({ position: n.position })
963
963
  }, [
964
964
  u("div", {
965
- style: ce({ "transform-origin": "top left", transform: k.value }),
965
+ style: de({ "transform-origin": "top left", transform: k.value }),
966
966
  class: "zoom-box"
967
967
  }, [
968
968
  ne(O.$slots, "default", {}, void 0, !0)
@@ -1060,7 +1060,7 @@ const Cn = { key: 0 }, wn = { class: "interactive-viewer" }, kn = { class: "fill
1060
1060
  const I = r.value[_.value];
1061
1061
  I && (p.value.currentScene = I);
1062
1062
  }
1063
- }), Ie(async () => {
1063
+ }), xe(async () => {
1064
1064
  const I = n.apartmentChooserData && n.apartmentChooserData.startScene !== void 0 ? n.apartmentChooserData.startScene : Dn;
1065
1065
  m.value = n.apartmentChooserData && n.apartmentChooserData.scenes !== void 0 ? n.apartmentChooserData.scenes : e, l.value = n.apartmentChooserData && n.apartmentChooserData.sceneData !== void 0 ? n.apartmentChooserData.sceneData.map((B) => ({
1066
1066
  unitId: B.apartmentID,
@@ -1074,12 +1074,12 @@ const Cn = { key: 0 }, wn = { class: "interactive-viewer" }, kn = { class: "fill
1074
1074
  for (let Y = 0; Y < Ot; Y++)
1075
1075
  S.push(x), x = Kt(x);
1076
1076
  return B.sort((Y, G) => {
1077
- const de = S.findIndex(
1077
+ const ce = S.findIndex(
1078
1078
  (O) => O === r.value[Y[te]]
1079
1079
  ), j = S.findIndex(
1080
1080
  (O) => O === r.value[G[te]]
1081
1081
  );
1082
- return de < j ? -1 : de > j ? 1 : 0;
1082
+ return ce < j ? -1 : ce > j ? 1 : 0;
1083
1083
  }), B;
1084
1084
  }, X = (B) => {
1085
1085
  p.value = new bn(B);
@@ -1205,7 +1205,7 @@ const Cn = { key: 0 }, wn = { class: "interactive-viewer" }, kn = { class: "fill
1205
1205
  src: e.value,
1206
1206
  width: "100%"
1207
1207
  }, null, 8, Ln)), [
1208
- [ke, n.timeSampleData === n.currentTime]
1208
+ [Se, n.timeSampleData === n.currentTime]
1209
1209
  ]);
1210
1210
  }
1211
1211
  }), On = /* @__PURE__ */ ee(Mn, [["__scopeId", "data-v-dbbdc1e0"]]), Tn = /* @__PURE__ */ W({
@@ -1253,7 +1253,7 @@ const Cn = { key: 0 }, wn = { class: "interactive-viewer" }, kn = { class: "fill
1253
1253
  src: n.value,
1254
1254
  class: "position-absolute top-left w-100 h-100"
1255
1255
  }, null, 8, Vn)), [
1256
- [ke, a.transitionData === a.currentTransition]
1256
+ [Se, a.transitionData === a.currentTransition]
1257
1257
  ]);
1258
1258
  }
1259
1259
  }), Bn = /* @__PURE__ */ ee($n, [["__scopeId", "data-v-ecb88391"]]);
@@ -1612,7 +1612,7 @@ const Un = /* @__PURE__ */ W({
1612
1612
  }
1613
1613
  );
1614
1614
  function m() {
1615
- Ae(() => {
1615
+ ke(() => {
1616
1616
  var f;
1617
1617
  const i = (f = o.value) == null ? void 0 : f.firstChild;
1618
1618
  if (i) {
@@ -1633,7 +1633,7 @@ const Un = /* @__PURE__ */ W({
1633
1633
  });
1634
1634
  }
1635
1635
  function p() {
1636
- Ae(() => {
1636
+ ke(() => {
1637
1637
  var f;
1638
1638
  const i = (f = o.value) == null ? void 0 : f.firstChild;
1639
1639
  i && (n("updateSvgContainer", i), m(), i.querySelectorAll(
@@ -1684,7 +1684,7 @@ const Un = /* @__PURE__ */ W({
1684
1684
  const o = E("v-img");
1685
1685
  return v(), V(o, {
1686
1686
  src: A(qn),
1687
- style: ce(e.value)
1687
+ style: de(e.value)
1688
1688
  }, null, 8, ["src", "style"]);
1689
1689
  };
1690
1690
  }
@@ -1944,7 +1944,7 @@ const no = {
1944
1944
  ), m = d(4), p = d(), i = d(!1), f = d(!1), w = d(), k = d(), c = $(() => k.value.isHoverEnabled), h = d({ x: 0, y: 0, width: 0, height: 0 }), _ = d(), y = d(), g = d(
1945
1945
  e.apartmentChooserData
1946
1946
  ), T = d(!1);
1947
- Ie(() => {
1947
+ xe(() => {
1948
1948
  i.value = !0;
1949
1949
  }), U(i, (j) => {
1950
1950
  j && n("onInitialize");
@@ -2009,7 +2009,7 @@ const no = {
2009
2009
  );
2010
2010
  }
2011
2011
  function X(j) {
2012
- m.value = j, Ft(g.value.cameras[m.value]) ? l.value = g.value.cameras[m.value] : (Ae(() => {
2012
+ m.value = j, Ft(g.value.cameras[m.value]) ? l.value = g.value.cameras[m.value] : (ke(() => {
2013
2013
  B(
2014
2014
  g.value.cameras[m.value]
2015
2015
  );
@@ -2019,7 +2019,7 @@ const no = {
2019
2019
  const O = o.value;
2020
2020
  a.value = j, m.value = g.value.cameras.findIndex(
2021
2021
  (J) => J === a.value
2022
- ), Ae(() => {
2022
+ ), ke(() => {
2023
2023
  te(
2024
2024
  a.value.sunsimDayOfYear.find(
2025
2025
  (J) => J.dayOfYear === O.dayOfYear
@@ -2029,7 +2029,7 @@ const no = {
2029
2029
  }
2030
2030
  function te(j) {
2031
2031
  const O = r.value;
2032
- o.value = j, Ae(() => {
2032
+ o.value = j, ke(() => {
2033
2033
  x(
2034
2034
  o.value.timeSamples.find(
2035
2035
  (J) => J.timeInHours === O.timeInHours
@@ -2056,7 +2056,7 @@ const no = {
2056
2056
  function G(j) {
2057
2057
  n("onHoverOut", j), p.value = void 0;
2058
2058
  }
2059
- function de(j) {
2059
+ function ce(j) {
2060
2060
  const { layerX: O, layerY: J } = j;
2061
2061
  let q = j.target, oe = !1;
2062
2062
  for (; q; )
@@ -2092,7 +2092,7 @@ const no = {
2092
2092
  ref_key: "container",
2093
2093
  ref: y,
2094
2094
  class: ge({ mobile: T.value }),
2095
- onMousemove: de
2095
+ onMousemove: ce
2096
2096
  }, [
2097
2097
  u("div", no, [
2098
2098
  u("div", oo, [
@@ -2173,7 +2173,7 @@ const no = {
2173
2173
  onOnHoverOut: G,
2174
2174
  onUpdateSvgContainer: O[2] || (O[2] = (q) => _.value = q)
2175
2175
  }, null, 8, ["cdn-file-resolver", "color-callback", "current-camera", "selected-id"]), [
2176
- [ke, l.value === null]
2176
+ [Se, l.value === null]
2177
2177
  ])
2178
2178
  ]),
2179
2179
  _: 1
@@ -2317,7 +2317,7 @@ const no = {
2317
2317
  (p) => {
2318
2318
  n("reset"), m(p);
2319
2319
  }
2320
- ), Ie(() => {
2320
+ ), xe(() => {
2321
2321
  m(e.imageUrls), new ResizeObserver((p) => {
2322
2322
  window.requestAnimationFrame(() => {
2323
2323
  const i = p[0].contentRect.width, f = p[0].contentRect.height;
@@ -2351,7 +2351,7 @@ const no = {
2351
2351
  onLoad: i[0] || (i[0] = (k) => o.value.partLoaded())
2352
2352
  }, null, 42, bo))), 128))
2353
2353
  ], 512)), [
2354
- [ke, a.value === "loaded"]
2354
+ [Se, a.value === "loaded"]
2355
2355
  ]) : R("", !0)
2356
2356
  ]));
2357
2357
  }
@@ -2398,7 +2398,7 @@ const no = {
2398
2398
  ), G = parseInt(Y);
2399
2399
  m.value = parseInt(S) * 2 + (G < 15 ? 0 : G > 45 ? 2 : 1);
2400
2400
  }
2401
- }), Ie(async () => {
2401
+ }), xe(async () => {
2402
2402
  const S = await new ea(
2403
2403
  e.cdnFileResolver
2404
2404
  ).loadBuildingChooser(
@@ -2410,8 +2410,8 @@ const no = {
2410
2410
  viewLongitude: S.viewLongitude
2411
2411
  };
2412
2412
  const Y = [];
2413
- for (let { id: G, url: de } of S.buildingOverlays)
2414
- i.value.loadJson(de.replace(".png", ".svg")).then((j) => {
2413
+ for (let { id: G, url: ce } of S.buildingOverlays)
2414
+ i.value.loadJson(ce.replace(".png", ".svg")).then((j) => {
2415
2415
  const J = new DOMParser().parseFromString(j, "image/svg+xml").getElementsByTagName("svg")[0];
2416
2416
  w.value = J.getAttribute("viewBox"), Y.push({
2417
2417
  id: G,
@@ -2441,12 +2441,12 @@ const no = {
2441
2441
  x === l.value ? "hover" : "idle"
2442
2442
  );
2443
2443
  if (S) {
2444
- const { r: Y, g: G, b: de, a: j, s: O } = S;
2444
+ const { r: Y, g: G, b: ce, a: j, s: O } = S;
2445
2445
  return {
2446
2446
  strokeWidth: O !== void 0 ? O : 2,
2447
- stroke: `rgb(${Y}, ${G}, ${de})`,
2447
+ stroke: `rgb(${Y}, ${G}, ${ce})`,
2448
2448
  strokeOpacity: 1,
2449
- fill: `rgb(${Y}, ${G}, ${de})`,
2449
+ fill: `rgb(${Y}, ${G}, ${ce})`,
2450
2450
  fillOpacity: j / 255,
2451
2451
  cursor: `${e.canGoToBuildingCallback(x) ? "cursor" : "default"} !important`
2452
2452
  };
@@ -2501,7 +2501,7 @@ const no = {
2501
2501
  })
2502
2502
  ])) : c.value ? (v(), D("div", {
2503
2503
  key: 1,
2504
- style: ce(`height: ${o.value.height}px; position: relative`),
2504
+ style: de(`height: ${o.value.height}px; position: relative`),
2505
2505
  class: "image-container"
2506
2506
  }, [
2507
2507
  C(ot, {
@@ -2521,12 +2521,12 @@ const no = {
2521
2521
  f.value ? Ce((v(), D("div", So, [
2522
2522
  u("div", Io, [
2523
2523
  (v(), D("svg", { viewBox: w.value }, [
2524
- (v(!0), D(me, null, _e(f.value, ({ id: G, svg: de }, j) => (v(), D("g", {
2524
+ (v(!0), D(me, null, _e(f.value, ({ id: G, svg: ce }, j) => (v(), D("g", {
2525
2525
  key: j,
2526
- innerHTML: de,
2526
+ innerHTML: ce,
2527
2527
  "data-building-id": G,
2528
2528
  class: ge(P(G)),
2529
- style: ce(I(G)),
2529
+ style: de(I(G)),
2530
2530
  onMouseover: (O) => L(O, G),
2531
2531
  onMouseout: (O) => X(O, G),
2532
2532
  onMousemove: (O) => B(O),
@@ -2535,13 +2535,13 @@ const no = {
2535
2535
  ], 8, xo))
2536
2536
  ])
2537
2537
  ], 512)), [
2538
- [ke, a.value.preloaded]
2538
+ [Se, a.value.preloaded]
2539
2539
  ]) : R("", !0),
2540
2540
  Ce(u("div", {
2541
2541
  class: "custom-overlay-layer",
2542
2542
  innerHTML: x.customOverlayContent
2543
2543
  }, null, 8, Ao), [
2544
- [ke, a.value.preloaded]
2544
+ [Se, a.value.preloaded]
2545
2545
  ])
2546
2546
  ])
2547
2547
  ]),
@@ -2560,7 +2560,7 @@ const no = {
2560
2560
  "is-loading": !a.value.ready
2561
2561
  }, null, 8, ["modelValue", "date-selector", "is-loading"])
2562
2562
  ], 512), [
2563
- [ke, a.value.preloaded]
2563
+ [Se, a.value.preloaded]
2564
2564
  ]),
2565
2565
  x.showCards && l.value ? (v(), V(nt, {
2566
2566
  key: 0,
@@ -2605,7 +2605,7 @@ const no = {
2605
2605
  (k, c) => {
2606
2606
  (k.r !== c.r || k.g !== c.g || k.b !== c.b || k.a !== c.a) && f();
2607
2607
  }
2608
- ), Ie(async () => {
2608
+ ), xe(async () => {
2609
2609
  a.value = await o.value.loadImage(e.imageUrl), i();
2610
2610
  });
2611
2611
  function i() {
@@ -2683,7 +2683,7 @@ const no = {
2683
2683
  }
2684
2684
  }), U(f, (x, S) => {
2685
2685
  x ? n("hoverOverBuilding", x) : n("hoverOutBuilding", S);
2686
- }), Ie(async () => {
2686
+ }), xe(async () => {
2687
2687
  const S = await new ea(
2688
2688
  e.cdnFileResolver
2689
2689
  ).loadBuildingChooser(
@@ -2695,17 +2695,17 @@ const no = {
2695
2695
  }, I()) : c.value = !0;
2696
2696
  });
2697
2697
  function T({ width: x, height: S }) {
2698
- r.value.width = x, r.value.height = S, Ae(I);
2698
+ r.value.width = x, r.value.height = S, ke(I);
2699
2699
  }
2700
2700
  function M() {
2701
2701
  o.value = { preloaded: !1, ready: !1 };
2702
2702
  }
2703
2703
  function P(x) {
2704
- const { layerX: S, layerY: Y } = x, { x: G, y: de } = k.value(S, Y);
2704
+ const { layerX: S, layerY: Y } = x, { x: G, y: ce } = k.value(S, Y);
2705
2705
  return p.value.getBuildingId(
2706
2706
  i.value,
2707
2707
  G,
2708
- de
2708
+ ce
2709
2709
  );
2710
2710
  }
2711
2711
  function I() {
@@ -2745,7 +2745,7 @@ const no = {
2745
2745
  })
2746
2746
  ])) : m.value ? (v(), D("div", {
2747
2747
  key: 1,
2748
- style: ce(`cursor: ${f.value ? "pointer" : "auto"};height: ${r.value.height}px; position: relative`),
2748
+ style: de(`cursor: ${f.value ? "pointer" : "auto"};height: ${r.value.height}px; position: relative`),
2749
2749
  class: "image-container"
2750
2750
  }, [
2751
2751
  C(ot, {
@@ -2774,7 +2774,7 @@ const no = {
2774
2774
  color: B(G.id)
2775
2775
  }, null, 8, ["image-url", "dimensions", "color"]))), 128))
2776
2776
  ], 512), [
2777
- [ke, o.value.preloaded]
2777
+ [Se, o.value.preloaded]
2778
2778
  ])
2779
2779
  ]),
2780
2780
  u("canvas", Oe(r.value, {
@@ -2788,7 +2788,7 @@ const no = {
2788
2788
  class: "custom-overlay-layer",
2789
2789
  innerHTML: x.customOverlayContent
2790
2790
  }, null, 8, Vo), [
2791
- [ke, o.value.preloaded]
2791
+ [Se, o.value.preloaded]
2792
2792
  ])
2793
2793
  ]),
2794
2794
  _: 1
@@ -2806,7 +2806,7 @@ const no = {
2806
2806
  "is-loading": !o.value.ready
2807
2807
  }, null, 8, ["modelValue", "date-selector", "is-loading"])
2808
2808
  ], 512), [
2809
- [ke, o.value.preloaded]
2809
+ [Se, o.value.preloaded]
2810
2810
  ]),
2811
2811
  x.showCards && f.value ? (v(), V(nt, {
2812
2812
  key: 0,
@@ -2890,7 +2890,7 @@ const no = {
2890
2890
  src: e.value,
2891
2891
  width: "100%"
2892
2892
  }, null, 8, Uo)), [
2893
- [ke, n.timeSampleData === n.currentTime]
2893
+ [Se, n.timeSampleData === n.currentTime]
2894
2894
  ]);
2895
2895
  }
2896
2896
  }), Yo = /* @__PURE__ */ ee(Ho, [["__scopeId", "data-v-9866b8c2"]]), zo = /* @__PURE__ */ W({
@@ -3144,7 +3144,7 @@ const no = {
3144
3144
  }
3145
3145
  );
3146
3146
  function m() {
3147
- Ae(() => {
3147
+ ke(() => {
3148
3148
  var f;
3149
3149
  const i = (f = o.value) == null ? void 0 : f.firstChild;
3150
3150
  if (!i.hasAttribute("viewBox")) {
@@ -3160,7 +3160,7 @@ const no = {
3160
3160
  });
3161
3161
  }
3162
3162
  function p() {
3163
- Ae(() => {
3163
+ ke(() => {
3164
3164
  var f;
3165
3165
  const i = (f = o.value) == null ? void 0 : f.firstChild;
3166
3166
  i && (n("updateSvgContainer", i), m(), i.querySelectorAll("[data-building-id]").forEach((k) => {
@@ -3270,7 +3270,7 @@ const tl = {
3270
3270
  const e = s, n = t, a = d(), o = d(), r = d(), l = d(), m = d(!1), p = d(), i = $(() => p.value.isHoverEnabled), f = d({ x: 0, y: 0, width: 0, height: 0 }), w = d(), k = d(), c = d(
3271
3271
  e.buildingChooserData
3272
3272
  ), h = d(!1);
3273
- Ie(() => m.value = !0), U(m, (L) => {
3273
+ xe(() => m.value = !0), U(m, (L) => {
3274
3274
  L && n("onInitialize");
3275
3275
  }), U(
3276
3276
  () => k.value,
@@ -3322,7 +3322,7 @@ const tl = {
3322
3322
  );
3323
3323
  function y(L) {
3324
3324
  const X = o.value;
3325
- a.value = L, Ae(() => {
3325
+ a.value = L, ke(() => {
3326
3326
  g(
3327
3327
  a.value.sunsimDayOfYear.find(
3328
3328
  (B) => B.dayOfYear === X.dayOfYear
@@ -3332,7 +3332,7 @@ const tl = {
3332
3332
  }
3333
3333
  function g(L) {
3334
3334
  const X = r.value;
3335
- o.value = L, Ae(() => {
3335
+ o.value = L, ke(() => {
3336
3336
  T(
3337
3337
  o.value.timeSamples.find(
3338
3338
  (B) => B.timeInHours === X.timeInHours
@@ -3554,7 +3554,7 @@ const hl = { id: "player-wrapper" }, gl = { id: "player-sizer" }, yl = {
3554
3554
  ), U(
3555
3555
  [a],
3556
3556
  async () => {
3557
- await _(), Ae(async () => {
3557
+ await _(), ke(async () => {
3558
3558
  await h();
3559
3559
  });
3560
3560
  },
@@ -3640,7 +3640,7 @@ const hl = { id: "player-wrapper" }, gl = { id: "player-sizer" }, yl = {
3640
3640
  u("div", Dl, [
3641
3641
  u("canvas", {
3642
3642
  id: "qpc",
3643
- style: ce(A(m) ? "visibility:hidden" : "visibility:visible")
3643
+ style: de(A(m) ? "visibility:hidden" : "visibility:visible")
3644
3644
  }, null, 4)
3645
3645
  ])
3646
3646
  ])
@@ -3785,13 +3785,13 @@ const hl = { id: "player-wrapper" }, gl = { id: "player-sizer" }, yl = {
3785
3785
  return (o, r) => {
3786
3786
  const l = E("v-img");
3787
3787
  return v(), D("div", {
3788
- style: ce(n.value),
3788
+ style: de(n.value),
3789
3789
  class: "compass-wrapper"
3790
3790
  }, [
3791
3791
  C(l, {
3792
3792
  class: "compass-needle",
3793
3793
  src: e.value,
3794
- style: ce(a.value)
3794
+ style: de(a.value)
3795
3795
  }, null, 8, ["src", "style"])
3796
3796
  ], 4);
3797
3797
  };
@@ -4929,7 +4929,7 @@ const hl = { id: "player-wrapper" }, gl = { id: "player-sizer" }, yl = {
4929
4929
  t({
4930
4930
  bodyWidth: e,
4931
4931
  bodyHeight: n
4932
- }), Ie(() => {
4932
+ }), xe(() => {
4933
4933
  o(document.getElementById("moveableDiv")), a(document.querySelector("#moveableDiv"));
4934
4934
  });
4935
4935
  const a = (r) => {
@@ -5037,7 +5037,7 @@ const hl = { id: "player-wrapper" }, gl = { id: "player-sizer" }, yl = {
5037
5037
  })), M = $(() => ({
5038
5038
  transform: `scale(${t.fit ? 1 : w.value * 0.75}) rotate(${t.transformAngle}deg)`
5039
5039
  }));
5040
- Ie(() => {
5040
+ xe(() => {
5041
5041
  B(), I(), te();
5042
5042
  const x = document.getElementById("moveableDiv");
5043
5043
  x && (i.value = new ResizeObserver(te).observe(x));
@@ -5086,15 +5086,15 @@ const hl = { id: "player-wrapper" }, gl = { id: "player-sizer" }, yl = {
5086
5086
  u("div", fr, [
5087
5087
  u("div", {
5088
5088
  class: "web-minimap",
5089
- style: ce(M.value)
5089
+ style: de(M.value)
5090
5090
  }, [
5091
5091
  u("div", {
5092
5092
  class: "minimap-background-image",
5093
- style: ce(T.value)
5093
+ style: de(T.value)
5094
5094
  }, null, 4),
5095
5095
  u("div", {
5096
5096
  class: "center-pivot",
5097
- style: ce(m.value)
5097
+ style: de(m.value)
5098
5098
  }, [
5099
5099
  (v(!0), D(me, null, _e(g.value, (Y) => (v(), D("div", {
5100
5100
  key: Y.id
@@ -5102,13 +5102,13 @@ const hl = { id: "player-wrapper" }, gl = { id: "player-sizer" }, yl = {
5102
5102
  c.value.floorLevel === Y.floorLevel ? (v(), D("div", {
5103
5103
  key: 0,
5104
5104
  class: "single-camera-marker",
5105
- style: ce(L(Y))
5105
+ style: de(L(Y))
5106
5106
  }, null, 4)) : R("", !0),
5107
5107
  ne(x.$slots, "default", {
5108
5108
  id: Y.id,
5109
5109
  camera: Y,
5110
5110
  active: c.value.id === Y.id,
5111
- style: ce({
5111
+ style: de({
5112
5112
  ...L(Y),
5113
5113
  position: "absolute",
5114
5114
  zIndex: "3"
@@ -5118,7 +5118,7 @@ const hl = { id: "player-wrapper" }, gl = { id: "player-sizer" }, yl = {
5118
5118
  key: 0,
5119
5119
  class: "rotation-marker-component-base rotation-marker-component",
5120
5120
  rotation: h.value,
5121
- style: ce({ ...L(Y) })
5121
+ style: de({ ...L(Y) })
5122
5122
  }, null, 8, ["rotation", "style"])) : R("", !0)
5123
5123
  ], !0)
5124
5124
  ]))), 128))
@@ -5138,7 +5138,7 @@ const hl = { id: "player-wrapper" }, gl = { id: "player-sizer" }, yl = {
5138
5138
  const t = s, e = $(() => t.rotation + t.transformAngle - 90);
5139
5139
  return (n, a) => (v(), D("div", {
5140
5140
  class: "minimap-compass elevation-5",
5141
- style: ce({ scale: n.scale })
5141
+ style: de({ scale: n.scale })
5142
5142
  }, [
5143
5143
  C(lt, {
5144
5144
  class: "north-indicator",
@@ -5166,7 +5166,7 @@ const hl = { id: "player-wrapper" }, gl = { id: "player-sizer" }, yl = {
5166
5166
  }
5167
5167
  return "";
5168
5168
  });
5169
- Ie(async () => {
5169
+ xe(async () => {
5170
5170
  l.value = await c(
5171
5171
  p.value.sunsimFiles[a.value]
5172
5172
  ), n("setBackgroundImage", l.value), r.value = !1;
@@ -5551,7 +5551,7 @@ const Fr = { class: "d-flex align-center" }, Lr = { class: "d-block mr-1" }, Mr
5551
5551
  }), r = $(() => /Android|webOS|iPhone|iPad|BlackBerry|Windows Phone|Opera Mini|IEMobile|Mobile/i.test(
5552
5552
  window.navigator.userAgent
5553
5553
  ));
5554
- Ie(() => {
5554
+ xe(() => {
5555
5555
  window.addEventListener("keydown", l);
5556
5556
  }), Qe(() => {
5557
5557
  window.removeEventListener("keydown", l);
@@ -5831,7 +5831,7 @@ const Fr = { class: "d-flex align-center" }, Lr = { class: "d-block mr-1" }, Mr
5831
5831
  return (n, a) => (v(), D("div", zr, [
5832
5832
  u("div", {
5833
5833
  class: ge(["img-div", [n.aspectRatio]]),
5834
- style: ce(e.value)
5834
+ style: de(e.value)
5835
5835
  }, null, 6)
5836
5836
  ]));
5837
5837
  }
@@ -6003,7 +6003,7 @@ const Nr = {
6003
6003
  screenToWorld: La,
6004
6004
  clearCurrentMarkerLayer: Aa
6005
6005
  });
6006
- const Y = d(!1), G = d(!1), de = d(!1), j = d(), O = d(), J = d(), q = d(), oe = d(), re = d(0), se = d(), be = d(), ie = d(), Fe = d(0), Le = d(0), ze = d(0), we = d(!1), xe = d(!1), Be = d(), De = d(!1), N = d(!1), K = d(
6006
+ const Y = d(!1), G = d(!1), ce = d(!1), j = d(), O = d(), J = d(), q = d(), oe = d(), re = d(0), se = d(), be = d(), ie = d(), Fe = d(0), Le = d(0), ze = d(0), we = d(!1), De = d(!1), Be = d(), Ae = d(!1), N = d(!1), K = d(
6007
6007
  new ia(document, "player-wrapper")
6008
6008
  ), ve = d(), je = $(() => {
6009
6009
  if (O.value) {
@@ -6022,10 +6022,10 @@ const Nr = {
6022
6022
  );
6023
6023
  let le = [...new Set(z)];
6024
6024
  le = le.sort();
6025
- const Se = le.findIndex(
6025
+ const Ie = le.findIndex(
6026
6026
  (Xe) => Xe === Le.value
6027
6027
  );
6028
- Se !== -1 && (F = Se);
6028
+ Ie !== -1 && (F = Ie);
6029
6029
  }
6030
6030
  return F;
6031
6031
  }), H = $(() => he.value.findIndex(
@@ -6082,7 +6082,7 @@ const Nr = {
6082
6082
  try {
6083
6083
  be.value = void 0, await va(), pa(), await ma(), K.value.setup(), fa();
6084
6084
  } catch (F) {
6085
- de.value = !0, S("onError", F);
6085
+ ce.value = !0, S("onError", F);
6086
6086
  }
6087
6087
  },
6088
6088
  { immediate: !0 }
@@ -6092,8 +6092,8 @@ const Nr = {
6092
6092
  M.value === "virtualTour" && (we.value = !1), M.value === "slideShow" && (we.value = !0, N.value = !0);
6093
6093
  },
6094
6094
  { immediate: !0 }
6095
- ), U(De, () => {
6096
- if (De.value) {
6095
+ ), U(Ae, () => {
6096
+ if (Ae.value) {
6097
6097
  N.value = !1;
6098
6098
  const F = Je(ie.value);
6099
6099
  Be.value = F[0].timeSamples.find(
@@ -6101,13 +6101,13 @@ const Nr = {
6101
6101
  );
6102
6102
  } else
6103
6103
  N.value = !0, oe.value.unloadSunSim();
6104
- }), Ie(async () => {
6104
+ }), xe(async () => {
6105
6105
  try {
6106
6106
  ua.value ? (Y.value = !1, N.value = !0) : setTimeout(() => {
6107
6107
  Y.value = !0;
6108
6108
  }, 1e3);
6109
6109
  } catch (F) {
6110
- de.value = !0, S("onError", F);
6110
+ ce.value = !0, S("onError", F);
6111
6111
  }
6112
6112
  }), Qe(() => {
6113
6113
  document.removeEventListener("wheel", St);
@@ -6244,11 +6244,11 @@ const Nr = {
6244
6244
  F < 0 && (F = Q.value.length - 1), re.value = F, pt(Q.value[re.value].id);
6245
6245
  }
6246
6246
  function xt(F, z = !0) {
6247
- let le = Q.value.findIndex((Se) => Se.id === F);
6247
+ let le = Q.value.findIndex((Ie) => Ie.id === F);
6248
6248
  le != -1 && (re.value = le, z && pt(F));
6249
6249
  }
6250
6250
  function pt(F) {
6251
- De.value = !1, be.value = F;
6251
+ Ae.value = !1, be.value = F;
6252
6252
  }
6253
6253
  function Ut(F) {
6254
6254
  se.value = F, Ca(), S("onInteriorUpdate", F), S("onCameraUpdate", ie.value, O.value);
@@ -6311,7 +6311,7 @@ const Nr = {
6311
6311
  we.value = !we.value;
6312
6312
  }
6313
6313
  async function zt() {
6314
- const F = 180 / Math.PI, z = await oe.value.takePhoto(), le = oe.value.getRotationEuler(), Se = oe.value.getCurrentCamera(), Xe = new to(z, Se), $a = [
6314
+ const F = 180 / Math.PI, z = await oe.value.takePhoto(), le = oe.value.getRotationEuler(), Ie = oe.value.getCurrentCamera(), Xe = new to(z, Ie), $a = [
6315
6315
  le.x * -F,
6316
6316
  le.y * -F,
6317
6317
  le.z * F
@@ -6357,9 +6357,9 @@ const Nr = {
6357
6357
  return v(), D("div", {
6358
6358
  class: ge(["virtual-tour-wrapper", [Vt.value]])
6359
6359
  }, [
6360
- de.value ? (v(), D("div", Nr, "Error loading the player!!")) : R("", !0),
6360
+ ce.value ? (v(), D("div", Nr, "Error loading the player!!")) : R("", !0),
6361
6361
  u("div", Gr, [
6362
- !K.value.isActive && q.value && ie.value && Ye.value && se.value && xe.value ? (v(), V(Nt, {
6362
+ !K.value.isActive && q.value && ie.value && Ye.value && se.value && De.value ? (v(), V(Nt, {
6363
6363
  key: 0,
6364
6364
  "cdn-file-resolver": A(a),
6365
6365
  "apartment-json": O.value,
@@ -6367,7 +6367,7 @@ const Nr = {
6367
6367
  "minimap-json": q.value,
6368
6368
  rotation: Fe.value,
6369
6369
  "current-camera": ie.value,
6370
- onClose: z[0] || (z[0] = (Se) => xe.value = !1)
6370
+ onClose: z[0] || (z[0] = (Ie) => De.value = !1)
6371
6371
  }, null, 8, ["cdn-file-resolver", "apartment-json", "level", "minimap-json", "rotation", "current-camera"])) : R("", !0),
6372
6372
  se.value && be.value ? (v(), D("div", {
6373
6373
  key: 1,
@@ -6377,7 +6377,7 @@ const Nr = {
6377
6377
  ref_key: "vPlayerInstance",
6378
6378
  ref: ve,
6379
6379
  "cdn-file-resolver": A(a),
6380
- style: ce({ zIndex: we.value ? 1 : 2 }),
6380
+ style: de({ zIndex: we.value ? 1 : 2 }),
6381
6381
  "show-static-image": we.value,
6382
6382
  "current-camera-id": be.value,
6383
6383
  "mouse-sensitivity": A(P),
@@ -6404,16 +6404,16 @@ const Nr = {
6404
6404
  icon: "mdi-cog-outline",
6405
6405
  elevation: "3",
6406
6406
  class: "mr-2",
6407
- onClick: z[1] || (z[1] = (Se) => G.value = !G.value)
6407
+ onClick: z[1] || (z[1] = (Ie) => G.value = !G.value)
6408
6408
  })) : R("", !0),
6409
6409
  Ce(C(le, {
6410
6410
  density: "comfortable",
6411
6411
  icon: "mdi-alert-outline",
6412
6412
  elevation: "3",
6413
6413
  class: "mr-2",
6414
- onClick: z[2] || (z[2] = (Se) => Y.value = !Y.value)
6414
+ onClick: z[2] || (z[2] = (Ie) => Y.value = !Y.value)
6415
6415
  }, null, 512), [
6416
- [ke, N.value]
6416
+ [Se, N.value]
6417
6417
  ]),
6418
6418
  q.value && be.value && Ye.value ? Ce((v(), V(le, {
6419
6419
  key: 1,
@@ -6421,9 +6421,9 @@ const Nr = {
6421
6421
  elevation: "3",
6422
6422
  icon: "mdi-floor-plan",
6423
6423
  class: "mr-2",
6424
- onClick: z[3] || (z[3] = (Se) => xe.value = !xe.value)
6424
+ onClick: z[3] || (z[3] = (Ie) => De.value = !De.value)
6425
6425
  }, null, 512)), [
6426
- [ke, N.value]
6426
+ [Se, N.value]
6427
6427
  ]) : R("", !0),
6428
6428
  N.value && A(g) && je.value.length > 1 ? (v(), V(Vl, {
6429
6429
  key: 2,
@@ -6444,17 +6444,17 @@ const Nr = {
6444
6444
  O.value && A(w) ? Ce((v(), D("div", Zr, [
6445
6445
  C(Nl, { rotation: Fe.value }, null, 8, ["rotation"])
6446
6446
  ], 512)), [
6447
- [ke, N.value]
6447
+ [Se, N.value]
6448
6448
  ]) : R("", !0),
6449
6449
  u("div", {
6450
- onClick: z[4] || (z[4] = (Se) => xe.value = !xe.value)
6450
+ onClick: z[4] || (z[4] = (Ie) => De.value = !De.value)
6451
6451
  }, [
6452
6452
  N.value && O.value && rt.value && A(f) ? (v(), V(Xl, {
6453
6453
  key: 0,
6454
6454
  hours: Ue.value.hours,
6455
6455
  minutes: Ue.value.minutes,
6456
6456
  class: "time-of-day",
6457
- style: ce({
6457
+ style: de({
6458
6458
  cursor: q.value && ie.value && Ye.value ? "pointer" : "default"
6459
6459
  })
6460
6460
  }, null, 8, ["hours", "minutes", "style"])) : R("", !0)
@@ -6477,9 +6477,9 @@ const Nr = {
6477
6477
  "center-center": b(() => [
6478
6478
  Y.value ? (v(), V(Vs, {
6479
6479
  key: 0,
6480
- onCloseTutorial: z[5] || (z[5] = (Se) => ca(Se))
6480
+ onCloseTutorial: z[5] || (z[5] = (Ie) => ca(Ie))
6481
6481
  })) : R("", !0),
6482
- K.value.isActive && q.value && ie.value && Ye.value && xe.value ? (v(), V(Nt, {
6482
+ K.value.isActive && q.value && ie.value && Ye.value && De.value ? (v(), V(Nt, {
6483
6483
  key: 1,
6484
6484
  "cdn-file-resolver": A(a),
6485
6485
  "apartment-json": O.value,
@@ -6487,7 +6487,7 @@ const Nr = {
6487
6487
  rotation: Fe.value,
6488
6488
  "current-camera": ie.value,
6489
6489
  level: Re.value,
6490
- onClose: z[6] || (z[6] = (Se) => xe.value = !1)
6490
+ onClose: z[6] || (z[6] = (Ie) => De.value = !1)
6491
6491
  }, null, 8, ["cdn-file-resolver", "apartment-json", "minimap-json", "rotation", "current-camera", "level"])) : R("", !0)
6492
6492
  ]),
6493
6493
  "center-right": b(() => [
@@ -6542,18 +6542,18 @@ const Nr = {
6542
6542
  !Pe.value && Ge.value(ie.value) ? (v(), V(Er, {
6543
6543
  key: 0,
6544
6544
  class: "ml-2",
6545
- displaySunsim: De.value,
6545
+ displaySunsim: Ae.value,
6546
6546
  showUI: N.value,
6547
- onToggleSunStudy: z[7] || (z[7] = (Se) => De.value = !De.value)
6547
+ onToggleSunStudy: z[7] || (z[7] = (Ie) => Ae.value = !Ae.value)
6548
6548
  }, null, 8, ["displaySunsim", "showUI"])) : R("", !0)
6549
6549
  ], 2),
6550
- !Ne.value && !Pe.value && be.value && De.value && Ge.value(ie.value) && Je(ie.value)[0] && Be.value ? (v(), V(Gt, {
6550
+ !Ne.value && !Pe.value && be.value && Ae.value && Ge.value(ie.value) && Je(ie.value)[0] && Be.value ? (v(), V(Gt, {
6551
6551
  key: 0,
6552
6552
  class: "sunsim-slider-desktop",
6553
6553
  "current-day": Ge.value(ie.value) ? Je(ie.value)[0] : void 0,
6554
6554
  "current-time": Be.value,
6555
6555
  onOnTimeChange: Ht,
6556
- onToggleSunStudy: z[8] || (z[8] = (Se) => De.value = !De.value)
6556
+ onToggleSunStudy: z[8] || (z[8] = (Ie) => Ae.value = !Ae.value)
6557
6557
  }, null, 8, ["current-day", "current-time"])) : R("", !0),
6558
6558
  !Ne.value && N.value && A(i) ? (v(), V(_t, {
6559
6559
  key: 1,
@@ -6569,7 +6569,7 @@ const Nr = {
6569
6569
  F.enableAutoplay && N.value && !Ne.value ? (v(), V(Qt, {
6570
6570
  key: 0,
6571
6571
  autoplayStatus: Pe.value,
6572
- onToggleAutoPlay: z[9] || (z[9] = (Se) => Pt())
6572
+ onToggleAutoPlay: z[9] || (z[9] = (Ie) => Pt())
6573
6573
  }, null, 8, ["autoplayStatus"])) : R("", !0)
6574
6574
  ]),
6575
6575
  _: 1
@@ -6608,7 +6608,7 @@ const Nr = {
6608
6608
  F.enableAutoplay && N.value ? (v(), V(Qt, {
6609
6609
  key: 0,
6610
6610
  autoplayStatus: Pe.value,
6611
- onToggleAutoPlay: z[10] || (z[10] = (Se) => Pt())
6611
+ onToggleAutoPlay: z[10] || (z[10] = (Ie) => Pt())
6612
6612
  }, null, 8, ["autoplayStatus"])) : R("", !0)
6613
6613
  ]),
6614
6614
  _: 1
@@ -6617,13 +6617,13 @@ const Nr = {
6617
6617
  _: 1
6618
6618
  }),
6619
6619
  Ne.value ? (v(), D("div", ei, [
6620
- !Pe.value && be.value && De.value && Ge.value(ie.value) && Je(ie.value)[0] && Be.value ? (v(), V(Gt, {
6620
+ !Pe.value && be.value && Ae.value && Ge.value(ie.value) && Je(ie.value)[0] && Be.value ? (v(), V(Gt, {
6621
6621
  key: 0,
6622
6622
  class: "mt-1",
6623
6623
  "current-day": Ge.value(ie.value) ? Je(ie.value)[0] : void 0,
6624
6624
  "current-time": Be.value,
6625
6625
  onOnTimeChange: Ht,
6626
- onToggleSunStudy: z[11] || (z[11] = (Se) => De.value = !De.value)
6626
+ onToggleSunStudy: z[11] || (z[11] = (Ie) => Ae.value = !Ae.value)
6627
6627
  }, null, 8, ["current-day", "current-time"])) : R("", !0)
6628
6628
  ])) : R("", !0)
6629
6629
  ], 2)) : R("", !0),
@@ -6726,7 +6726,7 @@ const Nr = {
6726
6726
  thumbnailUrl: i
6727
6727
  })
6728
6728
  )), o = $(() => a.value[e.value]);
6729
- Ie(() => {
6729
+ xe(() => {
6730
6730
  n.value.setup();
6731
6731
  });
6732
6732
  function r() {
@@ -6899,7 +6899,7 @@ const Nr = {
6899
6899
  default: b(() => [
6900
6900
  u("div", null, [
6901
6901
  u("div", {
6902
- style: ce({ ...w.value, position: "relative" }),
6902
+ style: de({ ...w.value, position: "relative" }),
6903
6903
  ref_key: "fitContainer",
6904
6904
  ref: p
6905
6905
  }, [
@@ -6925,7 +6925,7 @@ const Nr = {
6925
6925
  id: T,
6926
6926
  camera: M,
6927
6927
  active: P,
6928
- style: ce(I)
6928
+ style: de(I)
6929
6929
  }, void 0, !0)
6930
6930
  ]),
6931
6931
  _: 3
@@ -6959,7 +6959,7 @@ const Nr = {
6959
6959
  src: o.value,
6960
6960
  width: "100%"
6961
6961
  }, null, 8, Si)), [
6962
- [ke, A(a) && A(e) === A(a)]
6962
+ [Se, A(a) && A(e) === A(a)]
6963
6963
  ]);
6964
6964
  }
6965
6965
  }), xi = /* @__PURE__ */ ee(Ii, [["__scopeId", "data-v-a12a9cdb"]]), Di = /* @__PURE__ */ W({
@@ -7004,7 +7004,7 @@ const Nr = {
7004
7004
  src: r.value,
7005
7005
  width: "100%"
7006
7006
  }, null, 8, Ai)), [
7007
- [ke, A(a) === A(e)]
7007
+ [Se, A(a) === A(e)]
7008
7008
  ]);
7009
7009
  }
7010
7010
  }), Li = ["src"], Mi = /* @__PURE__ */ W({
@@ -7021,7 +7021,7 @@ const Nr = {
7021
7021
  src: o.value,
7022
7022
  class: "position-absolute top-left w-100 h-100"
7023
7023
  }, null, 8, Li)), [
7024
- [ke, A(e) === A(a)]
7024
+ [Se, A(e) === A(a)]
7025
7025
  ]);
7026
7026
  }
7027
7027
  }), Oi = /* @__PURE__ */ ee(Mi, [["__scopeId", "data-v-ea8553ab"]]);
@@ -7170,7 +7170,7 @@ const Ti = {
7170
7170
  c.cameraName ? (v(), D("div", Ri, Z(c.cameraName), 1)) : R("", !0),
7171
7171
  u("div", {
7172
7172
  class: "camera-thumbnail-image",
7173
- style: ce({
7173
+ style: de({
7174
7174
  backgroundImage: `url(${A(ue)(
7175
7175
  A(r),
7176
7176
  c.defaultFilename
@@ -7218,13 +7218,13 @@ const Ti = {
7218
7218
  const f = E("v-icon"), w = E("v-slider"), k = E("v-field");
7219
7219
  return v(), D("div", {
7220
7220
  class: ge({ "d-inline-block": !0, mobile: A(n) }),
7221
- style: ce({
7221
+ style: de({
7222
7222
  flex: A(n) && A(a).timeSamples.length > 1 ? 1 : void 0,
7223
7223
  verticalAlign: "top"
7224
7224
  })
7225
7225
  }, [
7226
7226
  C(k, {
7227
- style: ce(
7227
+ style: de(
7228
7228
  A(a).timeSamples.length > 1 ? {
7229
7229
  width: A(n) ? "100%" : "300px",
7230
7230
  height: A(n) ? "28px" : "36px"
@@ -7368,7 +7368,7 @@ const Ti = {
7368
7368
  }
7369
7369
  );
7370
7370
  function w() {
7371
- Ae(() => {
7371
+ ke(() => {
7372
7372
  var h;
7373
7373
  const c = (h = i.value) == null ? void 0 : h.firstChild;
7374
7374
  if (c) {
@@ -7396,7 +7396,7 @@ const Ti = {
7396
7396
  { immediate: !0, deep: !0 }
7397
7397
  );
7398
7398
  function k() {
7399
- Ae(() => {
7399
+ ke(() => {
7400
7400
  var h;
7401
7401
  const c = (h = i.value) == null ? void 0 : h.firstChild;
7402
7402
  if (c) {
@@ -7431,7 +7431,7 @@ const Ti = {
7431
7431
  style: { "z-index": "5" },
7432
7432
  innerHTML: p.value
7433
7433
  }, null, 8, Zi)), [
7434
- [ke, m.value]
7434
+ [Se, m.value]
7435
7435
  ])
7436
7436
  ]),
7437
7437
  _: 1
@@ -7769,7 +7769,7 @@ const ou = ["innerHTML"], lu = { style: { "z-index": "7" } }, su = {
7769
7769
  $e,
7770
7770
  l.value ? new He(l.value) : new He()
7771
7771
  );
7772
- const h = d(), _ = d(), y = d(), g = d(null), T = d(4), M = d(), P = d(!1), I = d(!1), L = d(), X = $(() => L.value.isHoverEnabled), B = d({ x: 0, y: 0, width: 0, height: 0 }), te = d(), x = d(), S = d(), Y = d(!1), G = d(), de = d({
7772
+ const h = d(), _ = d(), y = d(), g = d(null), T = d(4), M = d(), P = d(!1), I = d(!1), L = d(), X = $(() => L.value.isHoverEnabled), B = d({ x: 0, y: 0, width: 0, height: 0 }), te = d(), x = d(), S = d(), Y = d(!1), G = d(), ce = d({
7773
7773
  current: 100,
7774
7774
  min: 100,
7775
7775
  max: 1e3
@@ -7780,7 +7780,8 @@ const ou = ["innerHTML"], lu = { style: { "z-index": "7" } }, su = {
7780
7780
  currentDay: _.value,
7781
7781
  currentTime: y.value,
7782
7782
  currentTransition: g.value,
7783
- currentScene: T.value
7783
+ currentScene: T.value,
7784
+ currentZoom: ce.value.current
7784
7785
  }),
7785
7786
  setState: ({
7786
7787
  currentCamera: H,
@@ -7789,9 +7790,19 @@ const ou = ["innerHTML"], lu = { style: { "z-index": "7" } }, su = {
7789
7790
  currentTransition: he,
7790
7791
  currentScene: ye
7791
7792
  }) => {
7792
- h.value = H, _.value = Q, y.value = fe, g.value = he, T.value = ye;
7793
+ ke(() => {
7794
+ h.value = H, ke(() => {
7795
+ _.value = Q, ke(() => {
7796
+ y.value = fe, ke(() => {
7797
+ g.value = he, ke(() => {
7798
+ T.value = ye;
7799
+ });
7800
+ });
7801
+ });
7802
+ });
7803
+ });
7793
7804
  }
7794
- }), Ie(() => {
7805
+ }), xe(() => {
7795
7806
  P.value = !0, j.value = !1;
7796
7807
  }), U(
7797
7808
  a,
@@ -7866,7 +7877,7 @@ const ou = ["innerHTML"], lu = { style: { "z-index": "7" } }, su = {
7866
7877
  );
7867
7878
  }
7868
7879
  function se(H) {
7869
- T.value = H, Lt(S.value.cameras[T.value]) ? g.value = S.value.cameras[T.value] : (Ae(() => {
7880
+ T.value = H, Lt(S.value.cameras[T.value]) ? g.value = S.value.cameras[T.value] : (ke(() => {
7870
7881
  be(
7871
7882
  S.value.cameras[T.value]
7872
7883
  );
@@ -7876,7 +7887,7 @@ const ou = ["innerHTML"], lu = { style: { "z-index": "7" } }, su = {
7876
7887
  const Q = _.value;
7877
7888
  h.value = H, T.value = S.value.cameras.findIndex(
7878
7889
  (fe) => fe === h.value
7879
- ), Ae(() => {
7890
+ ), ke(() => {
7880
7891
  h.value.sunsimDayOfYear && h.value.sunsimDayOfYear.length > 0 && ie(
7881
7892
  h.value.sunsimDayOfYear.find(
7882
7893
  (fe) => fe.dayOfYear === Q.dayOfYear
@@ -7886,7 +7897,7 @@ const ou = ["innerHTML"], lu = { style: { "z-index": "7" } }, su = {
7886
7897
  }
7887
7898
  function ie(H) {
7888
7899
  const Q = y.value;
7889
- _.value = H, Ae(() => {
7900
+ _.value = H, ke(() => {
7890
7901
  Fe(
7891
7902
  _.value.timeSamples.find(
7892
7903
  (fe) => fe.timeInHours === Q.timeInHours
@@ -7913,7 +7924,7 @@ const ou = ["innerHTML"], lu = { style: { "z-index": "7" } }, su = {
7913
7924
  function we(H) {
7914
7925
  c("onHoverOut", H), M.value = void 0;
7915
7926
  }
7916
- function xe(H) {
7927
+ function De(H) {
7917
7928
  const { layerX: Q, layerY: fe } = H;
7918
7929
  let he = H.target, ye = !1;
7919
7930
  for (; he; )
@@ -7939,9 +7950,9 @@ const ou = ["innerHTML"], lu = { style: { "z-index": "7" } }, su = {
7939
7950
  max: Q,
7940
7951
  current: fe
7941
7952
  }) {
7942
- de.value = { min: H, max: Q, current: fe };
7953
+ ce.value = { min: H, max: Q, current: fe };
7943
7954
  }
7944
- function De(H) {
7955
+ function Ae(H) {
7945
7956
  G.value.adjustZoom(H ? 10 : -10);
7946
7957
  }
7947
7958
  function N(H) {
@@ -7995,12 +8006,12 @@ const ou = ["innerHTML"], lu = { style: { "z-index": "7" } }, su = {
7995
8006
  ref: x,
7996
8007
  class: ge({ mobile: Y.value }),
7997
8008
  style: { "min-height": "104px" },
7998
- onMousemove: xe
8009
+ onMousemove: De
7999
8010
  }, [
8000
8011
  H.showUi ? (v(), D("div", {
8001
8012
  key: 0,
8002
8013
  class: "persistent actions-bar top-right pa-2",
8003
- style: ce({
8014
+ style: de({
8004
8015
  zIndex: 7,
8005
8016
  top: Y.value && q.value.length > 1 ? "60px" : 0
8006
8017
  })
@@ -8008,7 +8019,7 @@ const ou = ["innerHTML"], lu = { style: { "z-index": "7" } }, su = {
8008
8019
  h.value.cameraRotation ? (v(), V(lt, {
8009
8020
  key: 0,
8010
8021
  class: "mb-2",
8011
- style: ce({
8022
+ style: de({
8012
8023
  zIndex: 7,
8013
8024
  width: Y.value ? 32 : 40,
8014
8025
  height: Y.value ? 32 : 40
@@ -8017,11 +8028,11 @@ const ou = ["innerHTML"], lu = { style: { "z-index": "7" } }, su = {
8017
8028
  }, null, 8, ["style", "longitude"])) : R("", !0),
8018
8029
  C(Qi, {
8019
8030
  "is-mobile-sized": Y.value,
8020
- "can-zoom-out": de.value.min < de.value.current,
8021
- "can-zoom-in": de.value.max > de.value.current,
8031
+ "can-zoom-out": ce.value.min < ce.value.current,
8032
+ "can-zoom-in": ce.value.max > ce.value.current,
8022
8033
  disabled: I.value,
8023
- onOnZoomIn: Q[0] || (Q[0] = (he) => De(!0)),
8024
- onOnZoomOut: Q[1] || (Q[1] = (he) => De(!1))
8034
+ onOnZoomIn: Q[0] || (Q[0] = (he) => Ae(!0)),
8035
+ onOnZoomOut: Q[1] || (Q[1] = (he) => Ae(!1))
8025
8036
  }, null, 8, ["is-mobile-sized", "can-zoom-out", "can-zoom-in", "disabled"])
8026
8037
  ], 4)) : R("", !0),
8027
8038
  H.showUi && q.value.length > 1 ? (v(), D("div", {
@@ -8081,7 +8092,7 @@ const ou = ["innerHTML"], lu = { style: { "z-index": "7" } }, su = {
8081
8092
  onUpdateSvgContainer: Q[2] || (Q[2] = (he) => te.value = he),
8082
8093
  onOnError: je
8083
8094
  }, null, 8, ["cdn-file-resolver", "color-callback", "current-camera", "selected-id", "activeStructureIds"])), [
8084
- [ke, g.value === null]
8095
+ [Se, g.value === null]
8085
8096
  ]) : R("", !0),
8086
8097
  ne(H.$slots, "default", {}, void 0, !0)
8087
8098
  ]),
@@ -8138,7 +8149,7 @@ const ou = ["innerHTML"], lu = { style: { "z-index": "7" } }, su = {
8138
8149
  ], 64);
8139
8150
  };
8140
8151
  }
8141
- }), iu = /* @__PURE__ */ ee(ru, [["__scopeId", "data-v-23534b19"]]), hu = {
8152
+ }), iu = /* @__PURE__ */ ee(ru, [["__scopeId", "data-v-f8812888"]]), hu = {
8142
8153
  install: function(t) {
8143
8154
  t.component("VApartmentChooser", Fn), t.component("VBuildingChooser", Ro), t.component("VVirtualTour", ni), t.component("VManualSlideShow", wi), t.component("VStructureChooser", iu);
8144
8155
  }