@qispace/vue3-player 0.4.20 → 0.4.21

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 Cn = Object.defineProperty;
2
2
  var Sn = (t, l, n) => l in t ? Cn(t, l, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[l] = n;
3
3
  var Ue = (t, l, n) => (Sn(t, typeof l != "symbol" ? l + "" : l, n), n);
4
- import { defineComponent as J, computed as D, resolveComponent as E, openBlock as u, createBlock as T, withCtx as v, createElementBlock as L, normalizeStyle as ae, renderSlot as K, ref as _, unref as m, watch as j, onMounted as Re, onBeforeUnmount as ot, createElementVNode as e, toRefs as Ce, nextTick as $e, inject as Ie, createVNode as y, mergeProps as Ee, toDisplayString as P, createTextVNode as le, Fragment as xe, renderList as Me, normalizeClass as me, pushScopeId as vt, popScopeId as mt, Transition as Ve, createCommentVNode as V, withDirectives as tt, vModelText as An, createStaticVNode as Yt, onBeforeUpdate as xn, withModifiers as In, provide as nt, vShow as rt, reactive as Ln, watchEffect as Ft, normalizeProps as En, guardReactiveProps as Mn } from "vue";
4
+ import { defineComponent as J, computed as D, resolveComponent as E, openBlock as u, createBlock as T, withCtx as v, createElementBlock as L, normalizeStyle as ae, renderSlot as K, ref as _, unref as m, watch as j, onMounted as Re, onBeforeUnmount as ot, createElementVNode as e, toRefs as Ce, nextTick as $e, inject as Ie, createVNode as y, mergeProps as Ee, toDisplayString as W, createTextVNode as le, Fragment as xe, renderList as Me, normalizeClass as me, pushScopeId as vt, popScopeId as mt, Transition as Ve, createCommentVNode as V, withDirectives as tt, vModelText as An, createStaticVNode as Yt, onBeforeUpdate as xn, withModifiers as In, provide as nt, vShow as rt, reactive as Ln, watchEffect as Ft, normalizeProps as En, guardReactiveProps as Mn } from "vue";
5
5
  import ut from "axios";
6
6
  import * as Fn from "@qispace/player-core";
7
7
  import { Vector3 as Ke, Object3D as Vn, MathUtils as Dn } from "three";
@@ -101,7 +101,7 @@ const Bn = /* @__PURE__ */ J({
101
101
  l({
102
102
  adjustZoom: se
103
103
  });
104
- const o = _(100), s = _(0), r = _(0), p = _(!1), h = _(!1), g = _(void 0), w = _(!1), k = _(), F = D(() => `translateX(${s.value}px) translateY(${r.value}px) scale(${C.value})`), C = D(() => o.value / 100), d = D(() => a.maxScale * 100);
104
+ const o = _(100), s = _(0), r = _(0), p = _(!1), h = _(!1), g = _(void 0), k = _(!1), w = _(), F = D(() => `translateX(${s.value}px) translateY(${r.value}px) scale(${C.value})`), C = D(() => o.value / 100), d = D(() => a.maxScale * 100);
105
105
  j(
106
106
  [C, s, r],
107
107
  () => {
@@ -124,11 +124,11 @@ const Bn = /* @__PURE__ */ J({
124
124
  a.desktop && I(), a.mobile && A();
125
125
  });
126
126
  function f() {
127
- k.value.addEventListener("wheel", R, {
127
+ w.value.addEventListener("wheel", R, {
128
128
  capture: !0
129
- }), k.value.addEventListener("mousedown", X, {
129
+ }), w.value.addEventListener("mousedown", X, {
130
130
  capture: !0
131
- }), k.value.addEventListener("mousemove", $, {
131
+ }), w.value.addEventListener("mousemove", $, {
132
132
  capture: !0
133
133
  }), window.addEventListener("mouseup", te, {
134
134
  capture: !0
@@ -137,9 +137,9 @@ const Bn = /* @__PURE__ */ J({
137
137
  });
138
138
  }
139
139
  function S() {
140
- k.value.addEventListener("touchstart", Y, {
140
+ w.value.addEventListener("touchstart", Y, {
141
141
  capture: !0
142
- }), k.value.addEventListener("touchmove", Se, {
142
+ }), w.value.addEventListener("touchmove", Se, {
143
143
  capture: !0
144
144
  }), window.addEventListener("touchend", ye, {
145
145
  capture: !0
@@ -148,11 +148,11 @@ const Bn = /* @__PURE__ */ J({
148
148
  });
149
149
  }
150
150
  function I() {
151
- k.value.removeEventListener("wheel", R, {
151
+ w.value.removeEventListener("wheel", R, {
152
152
  capture: !0
153
- }), k.value.removeEventListener("mousedown", X, {
153
+ }), w.value.removeEventListener("mousedown", X, {
154
154
  capture: !0
155
- }), k.value.removeEventListener("mousemove", $, {
155
+ }), w.value.removeEventListener("mousemove", $, {
156
156
  capture: !0
157
157
  }), window.removeEventListener("mouseup", te, {
158
158
  capture: !0
@@ -161,9 +161,9 @@ const Bn = /* @__PURE__ */ J({
161
161
  });
162
162
  }
163
163
  function A() {
164
- k.value.removeEventListener("touchstart", Y, {
164
+ w.value.removeEventListener("touchstart", Y, {
165
165
  capture: !0
166
- }), k.value.removeEventListener("touchmove", Se, {
166
+ }), w.value.removeEventListener("touchmove", Se, {
167
167
  capture: !0
168
168
  }), window.removeEventListener("touchend", ye, {
169
169
  capture: !0
@@ -176,7 +176,7 @@ const Bn = /* @__PURE__ */ J({
176
176
  se(-M.deltaY / 10, q, Q), M.preventDefault();
177
177
  }
178
178
  function X(M) {
179
- p.value = !0, w.value = !1, g.value = M;
179
+ p.value = !0, k.value = !1, g.value = M;
180
180
  }
181
181
  function $(M) {
182
182
  if (p.value) {
@@ -184,14 +184,14 @@ const Bn = /* @__PURE__ */ J({
184
184
  x: q - U,
185
185
  y: Q - oe
186
186
  };
187
- re(Z.x), N(Z.y), w.value = !0, g.value = M;
187
+ re(Z.x), N(Z.y), k.value = !0, g.value = M;
188
188
  }
189
189
  }
190
190
  function te(M) {
191
- p.value && w.value && a.consumeMouseUpWhenMoved && (M.preventDefault(), M.stopImmediatePropagation());
191
+ p.value && k.value && a.consumeMouseUpWhenMoved && (M.preventDefault(), M.stopImmediatePropagation());
192
192
  }
193
193
  function de(M) {
194
- p.value && (w.value && a.consumeMouseClickWhenMoved && (M.preventDefault(), M.stopImmediatePropagation()), p.value = !1);
194
+ p.value && (k.value && a.consumeMouseClickWhenMoved && (M.preventDefault(), M.stopImmediatePropagation()), p.value = !1);
195
195
  }
196
196
  function Y(M) {
197
197
  p.value = M.touches.length === 1, h.value = M.touches.length === 2, g.value = M;
@@ -208,9 +208,9 @@ const Bn = /* @__PURE__ */ J({
208
208
  } else if (h.value && M.touches.length === 2) {
209
209
  const { x: q, y: Q } = O(M.touches[0]), { x: U, y: oe } = O(
210
210
  g.value.touches[0]
211
- ), { x: Z, y: ie } = O(M.touches[1]), { x: W, y: pe } = O(
211
+ ), { x: Z, y: ie } = O(M.touches[1]), { x: P, y: pe } = O(
212
212
  g.value.touches[1]
213
- ), he = Math.hypot(U - W, oe - pe), ve = Math.hypot(q - Z, Q - ie), be = (Z + q) / 2, we = (ie + Q) / 2;
213
+ ), he = Math.hypot(U - P, oe - pe), ve = Math.hypot(q - Z, Q - ie), be = (Z + q) / 2, we = (ie + Q) / 2;
214
214
  se(ve - he, be, we);
215
215
  }
216
216
  g.value = M;
@@ -219,30 +219,30 @@ const Bn = /* @__PURE__ */ J({
219
219
  p.value = !1, h.value = !1;
220
220
  }
221
221
  function O(M) {
222
- const { left: q, top: Q } = k.value.getBoundingClientRect();
222
+ const { left: q, top: Q } = w.value.getBoundingClientRect();
223
223
  return {
224
224
  x: M.clientX - q,
225
225
  y: M.clientY - Q
226
226
  };
227
227
  }
228
228
  function re(M) {
229
- const q = k.value.clientWidth, Q = q * C.value;
229
+ const q = w.value.clientWidth, Q = q * C.value;
230
230
  s.value = Math.max(
231
231
  Math.min(0, s.value + M),
232
232
  -(Q - q)
233
233
  );
234
234
  }
235
235
  function N(M) {
236
- const q = k.value.clientHeight, Q = q * C.value;
236
+ const q = w.value.clientHeight, Q = q * C.value;
237
237
  r.value = Math.max(
238
238
  Math.min(0, r.value + M),
239
239
  -(Q - q)
240
240
  );
241
241
  }
242
242
  function se(M, q, Q) {
243
- const U = q !== void 0 ? q : k.value.clientWidth / 2, oe = Q !== void 0 ? Q : k.value.clientHeight / 2, Z = k.value.clientWidth, ie = k.value.clientHeight, W = Z * C.value, pe = ie * C.value;
243
+ const U = q !== void 0 ? q : w.value.clientWidth / 2, oe = Q !== void 0 ? Q : w.value.clientHeight / 2, Z = w.value.clientWidth, ie = w.value.clientHeight, P = Z * C.value, pe = ie * C.value;
244
244
  o.value = Math.min(Math.max(100, o.value + M), d.value);
245
- const he = Z * C.value, ve = ie * C.value, be = he - W, we = ve - pe;
245
+ const he = Z * C.value, ve = ie * C.value, be = he - P, we = ve - pe;
246
246
  s.value -= U / Z * be, r.value -= oe / ie * we, re(0), N(0);
247
247
  }
248
248
  function H() {
@@ -254,14 +254,14 @@ const Bn = /* @__PURE__ */ J({
254
254
  min: 100,
255
255
  max: d.value,
256
256
  resolve: (M, q) => {
257
- const Q = k.value.clientWidth, U = k.value.clientHeight, oe = s.value / -C.value, Z = r.value / -C.value, ie = oe + Q / C.value, W = Z + U / C.value, pe = M / Q * (ie - oe) + oe, he = q / U * (W - Z) + Z;
257
+ const Q = w.value.clientWidth, U = w.value.clientHeight, oe = s.value / -C.value, Z = r.value / -C.value, ie = oe + Q / C.value, P = Z + U / C.value, pe = M / Q * (ie - oe) + oe, he = q / U * (P - Z) + Z;
258
258
  return { x: pe, y: he };
259
259
  }
260
260
  });
261
261
  }
262
262
  return (M, q) => (u(), L("div", {
263
263
  ref_key: "box",
264
- ref: k,
264
+ ref: w,
265
265
  class: "zoom-box-container",
266
266
  style: ae({ position: a.position })
267
267
  }, [
@@ -282,10 +282,10 @@ var Un = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? fun
282
282
  return typeof t;
283
283
  } : function(t) {
284
284
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
285
- }, zn = typeof window < "u" && typeof window.document < "u", jn = typeof process < "u" && process.versions != null && process.versions.node != null, Wn = (typeof self > "u" ? "undefined" : Un(self)) === "object" && self.constructor && self.constructor.name === "DedicatedWorkerGlobalScope", Pn = typeof window < "u" && window.name === "nodejs" || typeof navigator < "u" && (navigator.userAgent.includes("Node.js") || navigator.userAgent.includes("jsdom")), Nn = typeof Deno < "u" && typeof Deno.version < "u" && typeof Deno.version.deno < "u", Qn = qe.isBrowser = zn;
286
- qe.isWebWorker = Wn;
285
+ }, zn = typeof window < "u" && typeof window.document < "u", jn = typeof process < "u" && process.versions != null && process.versions.node != null, Pn = (typeof self > "u" ? "undefined" : Un(self)) === "object" && self.constructor && self.constructor.name === "DedicatedWorkerGlobalScope", Wn = typeof window < "u" && window.name === "nodejs" || typeof navigator < "u" && (navigator.userAgent.includes("Node.js") || navigator.userAgent.includes("jsdom")), Nn = typeof Deno < "u" && typeof Deno.version < "u" && typeof Deno.version.deno < "u", Qn = qe.isBrowser = zn;
286
+ qe.isWebWorker = Pn;
287
287
  qe.isNode = jn;
288
- qe.isJsDom = Pn;
288
+ qe.isJsDom = Wn;
289
289
  qe.isDeno = Nn;
290
290
  function _e(t, l) {
291
291
  return typeof t == "string" ? `${t}${l}` : t(l);
@@ -332,7 +332,7 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
332
332
  const a = Fn.PlayerV2;
333
333
  l({
334
334
  updateFrontendMarkers: (A) => {
335
- k.value && f.value ? k.value.updateFrontendMarkers(A) : console.warn(
335
+ w.value && f.value ? w.value.updateFrontendMarkers(A) : console.warn(
336
336
  "Player API not initialized or not available. Cannot update frontend markers."
337
337
  );
338
338
  }
@@ -344,22 +344,22 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
344
344
  currentCameraId: p,
345
345
  showStaticImage: h,
346
346
  mouseSensitivity: g
347
- } = Ce(i), w = n, k = _(), F = _(p.value), C = _(0), d = _(0), f = _(!1);
347
+ } = Ce(i), k = n, w = _(), F = _(p.value), C = _(0), d = _(0), f = _(!1);
348
348
  j(p, () => {
349
349
  F.value = p.value;
350
350
  }), j([s, r], async () => {
351
- k.value && await k.value.loadInterior(
351
+ w.value && (w.value.updateSettings({ ACTIVE_TONEMAPPER: "AgXTonemap" }), await w.value.loadInterior(
352
352
  (A) => _e(
353
353
  o.value,
354
354
  `/${s.value}/${r.value}${A}`
355
355
  ),
356
356
  F.value,
357
357
  !1
358
- );
358
+ ));
359
359
  }), j(
360
360
  F,
361
361
  () => {
362
- k.value && k.value.goToCamera(F.value, !0), w("newCameraCallback", F.value);
362
+ w.value && (w.value.updateSettings({ ACTIVE_TONEMAPPER: "AgXTonemap" }), w.value.goToCamera(F.value, !0)), k("newCameraCallback", F.value);
363
363
  },
364
364
  { immediate: !0 }
365
365
  ), j(
@@ -370,33 +370,33 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
370
370
  });
371
371
  },
372
372
  { immediate: !0, deep: !0 }
373
- ), j(k, () => {
374
- if (k.value) {
375
- w("playerApiCallback", k.value);
376
- const A = k.value.getCurrentCamera();
377
- A && (F.value = A.id, w("sunsimCallback", A.sunsimDayOfYear));
373
+ ), j(w, () => {
374
+ if (w.value) {
375
+ k("playerApiCallback", w.value);
376
+ const A = w.value.getCurrentCamera();
377
+ A && (F.value = A.id, k("sunsimCallback", A.sunsimDayOfYear));
378
378
  }
379
379
  });
380
380
  async function S() {
381
381
  I();
382
382
  const te = {
383
383
  initialized: () => {
384
- k.value = a.Main.getPlayerAPI();
385
- const Y = k.value.getCurrentCamera();
384
+ w.value = a.Main.getPlayerAPI();
385
+ const Y = w.value.getCurrentCamera();
386
386
  Y && (F.value = Y.id), f.value = !0;
387
387
  },
388
388
  newCamera: (Y) => {
389
- w("newFloorCallback", Y.floorLevel), w("sunsimCallback", Y.sunsimDayOfYear), k.value && k.value.resetMarkerBehaviour(0), F.value = Y.id;
389
+ k("newFloorCallback", Y.floorLevel), k("sunsimCallback", Y.sunsimDayOfYear), w.value && w.value.resetMarkerBehaviour(0), F.value = Y.id;
390
390
  },
391
391
  newFOV: (Y) => {
392
- w("newFovCallback", Y), d.value = Y;
392
+ k("newFovCallback", Y), d.value = Y;
393
393
  },
394
394
  newRotation: (Y) => {
395
395
  const Se = Y + 0;
396
- w("newRotationCallback", Se), C.value = Se;
396
+ k("newRotationCallback", Se), C.value = Se;
397
397
  },
398
398
  onFrontendMarkersUpdate: (Y) => {
399
- w("frontendMarkersUpdate", Y);
399
+ k("frontendMarkersUpdate", Y);
400
400
  }
401
401
  };
402
402
  if (!Qn)
@@ -414,10 +414,10 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
414
414
  de && (de.handleWindowResize(), window.addEventListener(
415
415
  "resize",
416
416
  de.handleWindowResize.bind(de)
417
- ), de.animate(), k.value = a.Main.getPlayerAPI(), k.value && k.value.setLookSensitivity(g.value));
417
+ ), de.animate(), w.value = a.Main.getPlayerAPI(), w.value && w.value.setLookSensitivity(g.value));
418
418
  }
419
419
  async function I() {
420
- k.value && (await k.value.destroy(), k.value = void 0);
420
+ w.value && (w.value.updateSettings({ ACTIVE_TONEMAPPER: "AgXTonemap" }), await w.value.destroy(), w.value = void 0);
421
421
  }
422
422
  return ot(() => {
423
423
  I();
@@ -460,7 +460,7 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
460
460
  ])
461
461
  ]));
462
462
  }
463
- }), io = /* @__PURE__ */ ne(so, [["__scopeId", "data-v-9d31b948"]]), De = Symbol(), ro = {
463
+ }), io = /* @__PURE__ */ ne(so, [["__scopeId", "data-v-78638f36"]]), De = Symbol(), ro = {
464
464
  style: { width: "24px", height: "24px" },
465
465
  viewBox: "0 0 18 16",
466
466
  xmlns: "http://www.w3.org/2000/svg"
@@ -480,14 +480,14 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
480
480
  const g = n.level + 1;
481
481
  g >= o.value.length ? a("level", o.value[0]) : a("level", o.value[g]);
482
482
  }
483
- return (g, w) => {
484
- const k = E("v-btn"), F = E("v-tooltip");
483
+ return (g, k) => {
484
+ const w = E("v-btn"), F = E("v-tooltip");
485
485
  return u(), T(F, {
486
486
  right: "",
487
487
  attach: ""
488
488
  }, {
489
489
  activator: v(({ props: C }) => [
490
- y(k, Ee({
490
+ y(w, Ee({
491
491
  style: { cursor: "pointer" },
492
492
  density: "comfortable",
493
493
  elevation: "1",
@@ -515,7 +515,7 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
515
515
  }, 1040)
516
516
  ]),
517
517
  default: v(() => [
518
- e("span", vo, P(m(i).getLabel(s.value)) + " " + P(m(i).getLabel("floor")), 1)
518
+ e("span", vo, W(m(i).getLabel(s.value)) + " " + W(m(i).getLabel("floor")), 1)
519
519
  ]),
520
520
  _: 1
521
521
  });
@@ -541,8 +541,8 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
541
541
  elevation: "0",
542
542
  attach: ""
543
543
  }, {
544
- activator: v(({ props: w }) => [
545
- y(p, Ee({ rounded: "" }, w, { class: "text-capitalize" }), {
544
+ activator: v(({ props: k }) => [
545
+ y(p, Ee({ rounded: "" }, k, { class: "text-capitalize" }), {
546
546
  default: v(() => [
547
547
  y(r, null, {
548
548
  default: v(() => [
@@ -550,18 +550,18 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
550
550
  ]),
551
551
  _: 1
552
552
  }),
553
- e("span", fo, P(m(i).getLabel("interior")), 1)
553
+ e("span", fo, W(m(i).getLabel("interior")), 1)
554
554
  ]),
555
555
  _: 2
556
556
  }, 1040)
557
557
  ]),
558
558
  default: v(() => [
559
559
  e("div", ho, [
560
- (u(!0), L(xe, null, Me(n.availableArchetypes, (w, k) => (u(), L("div", {
561
- key: `at-menuitem-${k}`,
562
- onClick: (F) => a("selectInterior", w.archetypeID),
560
+ (u(!0), L(xe, null, Me(n.availableArchetypes, (k, w) => (u(), L("div", {
561
+ key: `at-menuitem-${w}`,
562
+ onClick: (F) => a("selectInterior", k.archetypeID),
563
563
  class: me(["interior-selector-list-item", {
564
- active: k === o.selectedIndex
564
+ active: w === o.selectedIndex
565
565
  }])
566
566
  }, [
567
567
  e("div", yo, [
@@ -570,11 +570,11 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
570
570
  width: "100",
571
571
  "max-width": "100",
572
572
  height: "66",
573
- src: w.url,
573
+ src: k.url,
574
574
  class: "pa-0 ma-0"
575
575
  }, null, 8, ["src"])
576
576
  ]),
577
- e("div", bo, P(m(i).get(w.title)), 1)
577
+ e("div", bo, W(m(i).get(k.title)), 1)
578
578
  ])
579
579
  ], 10, go))), 128))
580
580
  ])
@@ -630,7 +630,7 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
630
630
  "aspect-ratio": "1"
631
631
  }, null, 8, ["src"])
632
632
  ]),
633
- e("div", Eo, P(n.value), 1)
633
+ e("div", Eo, W(n.value), 1)
634
634
  ]);
635
635
  };
636
636
  }
@@ -661,13 +661,13 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
661
661
  return (s, r) => {
662
662
  const p = E("v-icon"), h = E("v-btn"), g = E("v-tooltip");
663
663
  return u(), T(g, { location: "top" }, {
664
- activator: v(({ props: w }) => [
664
+ activator: v(({ props: k }) => [
665
665
  y(h, Ee({
666
666
  density: "comfortable",
667
667
  elevation: "1",
668
668
  icon: "",
669
- onClick: r[0] || (r[0] = (k) => a("toggle"))
670
- }, w), {
669
+ onClick: r[0] || (r[0] = (w) => a("toggle"))
670
+ }, k), {
671
671
  default: v(() => [
672
672
  o.value === "virtualTour" ? (u(), L("svg", Vo, Oo)) : (u(), T(p, { key: 1 }, {
673
673
  default: v(() => [
@@ -680,7 +680,7 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
680
680
  }, 1040)
681
681
  ]),
682
682
  default: v(() => [
683
- e("span", null, P(m(i).getLabel(o.value)), 1)
683
+ e("span", null, W(m(i).getLabel(o.value)), 1)
684
684
  ]),
685
685
  _: 1
686
686
  });
@@ -736,7 +736,7 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
736
736
  "stroke-width": "1.5"
737
737
  })
738
738
  ])
739
- ], -1)), jo = { class: "text-div text-center text mt-2" }, Wo = { class: "box col d-flex flex-column align-bottom justify-center" }, Po = /* @__PURE__ */ ze(() => /* @__PURE__ */ e("div", { class: "tutorial-icon justify-center" }, [
739
+ ], -1)), jo = { class: "text-div text-center text mt-2" }, Po = { class: "box col d-flex flex-column align-bottom justify-center" }, Wo = /* @__PURE__ */ ze(() => /* @__PURE__ */ e("div", { class: "tutorial-icon justify-center" }, [
740
740
  /* @__PURE__ */ e("svg", {
741
741
  width: "50",
742
742
  height: "32.5",
@@ -1227,7 +1227,7 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
1227
1227
  n("closeTutorial", i.value);
1228
1228
  }
1229
1229
  return (p, h) => {
1230
- const g = E("v-icon"), w = E("v-card-title"), k = E("v-btn"), F = E("v-divider"), C = E("v-card-text"), d = E("v-card-actions"), f = E("v-card"), S = E("v-expand-transition"), I = E("v-checkbox");
1230
+ const g = E("v-icon"), k = E("v-card-title"), w = E("v-btn"), F = E("v-divider"), C = E("v-card-text"), d = E("v-card-actions"), f = E("v-card"), S = E("v-expand-transition"), I = E("v-checkbox");
1231
1231
  return u(), T(Ve, { name: "fade-transition" }, {
1232
1232
  default: v(() => [
1233
1233
  y(f, {
@@ -1235,7 +1235,7 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
1235
1235
  elevation: "16"
1236
1236
  }, {
1237
1237
  default: v(() => [
1238
- y(w, { class: "text-capitalize" }, {
1238
+ y(k, { class: "text-capitalize" }, {
1239
1239
  default: v(() => [
1240
1240
  y(g, { size: "x-small" }, {
1241
1241
  default: v(() => [
@@ -1243,21 +1243,21 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
1243
1243
  ]),
1244
1244
  _: 1
1245
1245
  }),
1246
- le(" " + P(m(a).getLabel("disclaimer")), 1)
1246
+ le(" " + W(m(a).getLabel("disclaimer")), 1)
1247
1247
  ]),
1248
1248
  _: 1
1249
1249
  }),
1250
1250
  y(C, { class: "pb-0" }, {
1251
1251
  default: v(() => [
1252
- e("p", null, P(m(a).getLabel("disclaimerTextShort")), 1),
1253
- y(k, {
1252
+ e("p", null, W(m(a).getLabel("disclaimerTextShort")), 1),
1253
+ y(w, {
1254
1254
  variant: "tonal",
1255
1255
  size: "small",
1256
1256
  onClick: h[0] || (h[0] = (A) => o.value = !0),
1257
1257
  class: "text-capitalize mt-2"
1258
1258
  }, {
1259
1259
  default: v(() => [
1260
- le(P(m(a).getLabel("learnMore")) + " ", 1),
1260
+ le(W(m(a).getLabel("learnMore")) + " ", 1),
1261
1261
  y(g, null, {
1262
1262
  default: v(() => [
1263
1263
  le("mdi-chevron-right")
@@ -1272,34 +1272,34 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
1272
1272
  e("div", Ho, [
1273
1273
  e("div", Uo, [
1274
1274
  zo,
1275
- e("div", jo, P(m(a).getLabel("clickAndDragToLookAround")), 1)
1275
+ e("div", jo, W(m(a).getLabel("clickAndDragToLookAround")), 1)
1276
1276
  ]),
1277
- e("div", Wo, [
1278
- Po,
1279
- e("div", No, P(m(a).getLabel("clickOnTheCirclesToMoveAround")), 1)
1277
+ e("div", Po, [
1278
+ Wo,
1279
+ e("div", No, W(m(a).getLabel("clickOnTheCirclesToMoveAround")), 1)
1280
1280
  ]),
1281
1281
  e("div", Qo, [
1282
1282
  Zo,
1283
- e("div", qo, P(m(a).getLabel("useTheMouseWheelToZoom")), 1)
1283
+ e("div", qo, W(m(a).getLabel("useTheMouseWheelToZoom")), 1)
1284
1284
  ]),
1285
1285
  e("div", Jo, [
1286
1286
  Xo,
1287
- e("div", Go, P(m(a).getLabel("youCanAlsoUseTheArrowKeysToMoveAround")), 1)
1287
+ e("div", Go, W(m(a).getLabel("youCanAlsoUseTheArrowKeysToMoveAround")), 1)
1288
1288
  ])
1289
1289
  ])
1290
1290
  ])),
1291
1291
  s.value ? (u(), L("div", Ko, [
1292
1292
  e("div", ea, [
1293
1293
  ta,
1294
- e("div", na, P(m(a).getLabel("tapAndDragToLookAround")), 1)
1294
+ e("div", na, W(m(a).getLabel("tapAndDragToLookAround")), 1)
1295
1295
  ]),
1296
1296
  e("div", oa, [
1297
1297
  aa,
1298
- e("div", la, P(m(a).getLabel("tapOnTheCirclesToMoveAround")), 1)
1298
+ e("div", la, W(m(a).getLabel("tapOnTheCirclesToMoveAround")), 1)
1299
1299
  ]),
1300
1300
  e("div", sa, [
1301
1301
  ia,
1302
- e("div", ra, P(m(a).getLabel("useTwoFingersToZoom")), 1)
1302
+ e("div", ra, W(m(a).getLabel("useTwoFingersToZoom")), 1)
1303
1303
  ])
1304
1304
  ])) : V("", !0),
1305
1305
  y(F, { class: "my-1" })
@@ -1324,15 +1324,15 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
1324
1324
  ]),
1325
1325
  _: 1
1326
1326
  }),
1327
- le(" " + P(m(a).getLabel("disclaimer")), 1)
1327
+ le(" " + W(m(a).getLabel("disclaimer")), 1)
1328
1328
  ]),
1329
- e("p", ca, P(m(a).getLabel("disclaimerText")), 1)
1329
+ e("p", ca, W(m(a).getLabel("disclaimerText")), 1)
1330
1330
  ]),
1331
1331
  _: 1
1332
1332
  }),
1333
1333
  y(d, null, {
1334
1334
  default: v(() => [
1335
- y(k, {
1335
+ y(w, {
1336
1336
  variant: "tonal",
1337
1337
  size: "small",
1338
1338
  onClick: h[1] || (h[1] = (A) => o.value = !1),
@@ -1345,7 +1345,7 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
1345
1345
  ]),
1346
1346
  _: 1
1347
1347
  }),
1348
- le(" " + P(m(a).getLabel("back")), 1)
1348
+ le(" " + W(m(a).getLabel("back")), 1)
1349
1349
  ]),
1350
1350
  _: 1
1351
1351
  })
@@ -1366,20 +1366,20 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
1366
1366
  "hide-details": ""
1367
1367
  }, {
1368
1368
  label: v(() => [
1369
- e("span", va, P(m(a).getLabel("dontShowAgain")), 1)
1369
+ e("span", va, W(m(a).getLabel("dontShowAgain")), 1)
1370
1370
  ]),
1371
1371
  _: 1
1372
1372
  }, 8, ["modelValue"])
1373
1373
  ]),
1374
1374
  y(d, null, {
1375
1375
  default: v(() => [
1376
- y(k, {
1376
+ y(w, {
1377
1377
  variant: "tonal",
1378
1378
  onClick: h[3] || (h[3] = (A) => r()),
1379
1379
  block: ""
1380
1380
  }, {
1381
1381
  default: v(() => [
1382
- le(P(m(a).getLabel("iUnderstand")), 1)
1382
+ le(W(m(a).getLabel("iUnderstand")), 1)
1383
1383
  ]),
1384
1384
  _: 1
1385
1385
  })
@@ -1448,12 +1448,12 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
1448
1448
  const d = parseInt(C.substr(1, 2), 16) / 255, f = parseInt(C.substr(3, 2), 16) / 255, S = parseInt(C.substr(5, 2), 16) / 255;
1449
1449
  return [d, f, S];
1450
1450
  }
1451
- function w(C) {
1451
+ function k(C) {
1452
1452
  var d = C.toString(16);
1453
1453
  return d.length == 1 ? "0" + d : d;
1454
1454
  }
1455
- function k([C, d, f]) {
1456
- return "#" + w(parseInt((C * 255).toString())) + w(parseInt((d * 255).toString())) + w(parseInt((f * 255).toString()));
1455
+ function w([C, d, f]) {
1456
+ return "#" + k(parseInt((C * 255).toString())) + k(parseInt((d * 255).toString())) + k(parseInt((f * 255).toString()));
1457
1457
  }
1458
1458
  function F(C = {}) {
1459
1459
  const d = [
@@ -1538,7 +1538,7 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
1538
1538
  whitePoint: {
1539
1539
  label: "White Point",
1540
1540
  type: "color",
1541
- value: k(f.whitePoint)
1541
+ value: w(f.whitePoint)
1542
1542
  },
1543
1543
  lut: {
1544
1544
  label: "Lut",
@@ -1570,7 +1570,7 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
1570
1570
  step: $.step
1571
1571
  }, {
1572
1572
  prepend: v(() => [
1573
- e("div", _a, P($.label), 1)
1573
+ e("div", _a, W($.label), 1)
1574
1574
  ]),
1575
1575
  append: v(() => [
1576
1576
  e("div", null, [
@@ -1598,10 +1598,10 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
1598
1598
  onChange: s
1599
1599
  }, {
1600
1600
  prepend: v(() => [
1601
- e("div", ba, P($.label), 1)
1601
+ e("div", ba, W($.label), 1)
1602
1602
  ]),
1603
1603
  append: v(() => [
1604
- e("div", null, P($.value), 1)
1604
+ e("div", null, W($.value), 1)
1605
1605
  ]),
1606
1606
  _: 2
1607
1607
  }, 1032, ["modelValue", "onUpdate:modelValue"])) : V("", !0),
@@ -1612,7 +1612,7 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
1612
1612
  min: $.min,
1613
1613
  step: $.step
1614
1614
  }, [
1615
- e("div", ka, P($.label), 1),
1615
+ e("div", ka, W($.label), 1),
1616
1616
  e("div", Ca, [
1617
1617
  tt(e("input", {
1618
1618
  "onUpdate:modelValue": (Y) => i.value[te].value = Y,
@@ -1638,7 +1638,7 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
1638
1638
  ], 8, wa)) : V("", !0),
1639
1639
  $.type === "lut" ? (u(), L("div", Aa, [
1640
1640
  e("div", xa, [
1641
- e("div", Ia, P($.label), 1),
1641
+ e("div", Ia, W($.label), 1),
1642
1642
  e("div", null, [
1643
1643
  y(A, {
1644
1644
  class: "ml-2",
@@ -1755,18 +1755,18 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
1755
1755
  const r = document.getElementsByClassName("anchor");
1756
1756
  for (let d = 0; d < r.length; d++) {
1757
1757
  const f = r[d];
1758
- f.addEventListener("touchstart", k, { passive: !1 }), f.addEventListener("touchend", C, { passive: !1 }), f.addEventListener("mousedown", k, { passive: !1 }), f.addEventListener("mouseup", C, { passive: !1 });
1758
+ f.addEventListener("touchstart", w, { passive: !1 }), f.addEventListener("touchend", C, { passive: !1 }), f.addEventListener("mousedown", w, { passive: !1 }), f.addEventListener("mouseup", C, { passive: !1 });
1759
1759
  }
1760
- let p = 0, h = 0, g = 0, w = 0;
1761
- function k(d) {
1760
+ let p = 0, h = 0, g = 0, k = 0;
1761
+ function w(d) {
1762
1762
  d = d || window.event, d.preventDefault();
1763
1763
  let f = d;
1764
- d.type === "touchstart" && (f = d.touches[0]), g = f.clientX, w = f.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 });
1764
+ d.type === "touchstart" && (f = d.touches[0]), g = f.clientX, k = f.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 });
1765
1765
  }
1766
1766
  function F(d) {
1767
1767
  d = d || window.event, d.preventDefault();
1768
1768
  let f = d;
1769
- d.type === "touchmove" && (f = d.touches[0]), p = g - f.clientX, h = w - f.clientY, g = f.clientX, w = f.clientY, s.style.top = s.offsetTop - h + "px", s.style.left = s.offsetLeft - p + "px";
1769
+ d.type === "touchmove" && (f = d.touches[0]), p = g - f.clientX, h = k - f.clientY, g = f.clientX, k = f.clientY, s.style.top = s.offsetTop - h + "px", s.style.left = s.offsetLeft - p + "px";
1770
1770
  }
1771
1771
  function C() {
1772
1772
  document.removeEventListener("mouseup", C, !1), document.removeEventListener("mousemove", F, !1), document.removeEventListener("touchend", C, !1), document.removeEventListener("touchmove", F, !1);
@@ -1797,8 +1797,8 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
1797
1797
  class: "rotation-marker-svg",
1798
1798
  viewBox: "0 0 40 40",
1799
1799
  xmlns: "http://www.w3.org/2000/svg"
1800
- }, za = /* @__PURE__ */ Yt('<defs><radialGradient id="Gradient" cx="0" cy="0" r="0.9" fx="0" fy="0"><stop offset="0%" class="stop1"></stop><stop offset="60%" class="stop2"></stop><stop offset="90%" class="stop3"></stop></radialGradient><linearGradient id="LineGradient" gradientTransform="rotate(90)"><stop offset="0%" class="stop1"></stop><stop offset="75%" class="stop2"></stop><stop offset="100%" class="stop3"></stop></linearGradient></defs>', 1), ja = ["transform"], Wa = /* @__PURE__ */ Yt('<rect id="field-of-view-gradient" x="20" y="20" width="38" height="38" transform="rotate(0)" transform-origin="20 20" fill="url(#Gradient)"></rect><rect class="field-of-view-border" x="20" y="20" width="1" height="25" fill="url(#LineGradient)" transform="rotate(0)" transform-origin="20 20"></rect><rect class="field-of-view-border" x="19" y="19" width="1" height="25" fill="url(#LineGradient)" transform="rotate(-90)" transform-origin="20 20"></rect><circle cx="20" cy="20" r="5" fill="white"></circle><circle cx="20" cy="20" r="3" fill="red"></circle>', 5), Pa = [
1801
- Wa
1800
+ }, za = /* @__PURE__ */ Yt('<defs><radialGradient id="Gradient" cx="0" cy="0" r="0.9" fx="0" fy="0"><stop offset="0%" class="stop1"></stop><stop offset="60%" class="stop2"></stop><stop offset="90%" class="stop3"></stop></radialGradient><linearGradient id="LineGradient" gradientTransform="rotate(90)"><stop offset="0%" class="stop1"></stop><stop offset="75%" class="stop2"></stop><stop offset="100%" class="stop3"></stop></linearGradient></defs>', 1), ja = ["transform"], Pa = /* @__PURE__ */ Yt('<rect id="field-of-view-gradient" x="20" y="20" width="38" height="38" transform="rotate(0)" transform-origin="20 20" fill="url(#Gradient)"></rect><rect class="field-of-view-border" x="20" y="20" width="1" height="25" fill="url(#LineGradient)" transform="rotate(0)" transform-origin="20 20"></rect><rect class="field-of-view-border" x="19" y="19" width="1" height="25" fill="url(#LineGradient)" transform="rotate(-90)" transform-origin="20 20"></rect><circle cx="20" cy="20" r="5" fill="white"></circle><circle cx="20" cy="20" r="3" fill="red"></circle>', 5), Wa = [
1801
+ Pa
1802
1802
  ], Na = /* @__PURE__ */ J({
1803
1803
  __name: "VRotationMarker",
1804
1804
  props: {
@@ -1810,7 +1810,7 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
1810
1810
  e("g", {
1811
1811
  "transform-origin": "20 20",
1812
1812
  transform: `rotate(${45 + l.rotation})`
1813
- }, Pa, 8, ja)
1813
+ }, Wa, 8, ja)
1814
1814
  ]));
1815
1815
  }
1816
1816
  }), Qa = { class: "minimap-wrapper" }, Za = { class: "minimap-container" }, qa = ["id"], Ja = /* @__PURE__ */ J({
@@ -1828,7 +1828,7 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
1828
1828
  },
1829
1829
  emits: ["goToCamera"],
1830
1830
  setup(t, { emit: l }) {
1831
- const n = t, a = l, i = _(512), o = _(384), s = _(512), r = _(384), p = _(new Ke()), h = _(new Vn()), g = _({}), w = _(1), k = _(), F = i.value / i.value, C = D(() => {
1831
+ const n = t, a = l, i = _(512), o = _(384), s = _(512), r = _(384), p = _(new Ke()), h = _(new Vn()), g = _({}), k = _(1), w = _(), F = i.value / i.value, C = D(() => {
1832
1832
  const N = n.containerWidth / n.containerHeight;
1833
1833
  let se;
1834
1834
  return N > F ? se = n.containerHeight / o.value : se = n.containerWidth / i.value, se;
@@ -1855,11 +1855,11 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
1855
1855
  Re(() => {
1856
1856
  ye(), de(), O();
1857
1857
  const N = document.getElementById("moveableDiv");
1858
- N && (k.value = new ResizeObserver(O).observe(N));
1858
+ N && (w.value = new ResizeObserver(O).observe(N));
1859
1859
  }), xn(() => {
1860
1860
  ye(), de();
1861
1861
  }), ot(() => {
1862
- k.value && k.value.unobserve(document.getElementById("moveableDiv"));
1862
+ w.value && w.value.unobserve(document.getElementById("moveableDiv"));
1863
1863
  });
1864
1864
  function te(N) {
1865
1865
  return Dn.degToRad(N);
@@ -1895,21 +1895,21 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
1895
1895
  if (!N)
1896
1896
  return;
1897
1897
  const se = N.offsetHeight / 384 * 0.8, H = N.offsetWidth / 512 * 0.8;
1898
- N.offsetHeight > N.offsetWidth ? w.value = H * 0.5 : w.value = se * 0.9;
1898
+ N.offsetHeight > N.offsetWidth ? k.value = H * 0.5 : k.value = se * 0.9;
1899
1899
  }
1900
1900
  function re(N) {
1901
1901
  const H = N.currentTarget.getBoundingClientRect(), M = N.clientX - H.left, q = N.clientY - H.top, Q = document.querySelectorAll(".single-camera-marker");
1902
1902
  let U = null, oe = 1 / 0;
1903
1903
  if (Q.forEach((Z) => {
1904
- const ie = Z, W = ie.getBoundingClientRect(), pe = W.left + W.width / 2 - H.left, he = W.top + W.height / 2 - H.top, ve = Math.sqrt(
1904
+ const ie = Z, P = ie.getBoundingClientRect(), pe = P.left + P.width / 2 - H.left, he = P.top + P.height / 2 - H.top, ve = Math.sqrt(
1905
1905
  (M - pe) ** 2 + (q - he) ** 2
1906
1906
  );
1907
1907
  ve < oe && (oe = ve, U = ie);
1908
1908
  }), U) {
1909
- const Z = U.getBoundingClientRect(), ie = Z.left + Z.width / 2, W = Z.top + Z.height / 2;
1909
+ const Z = U.getBoundingClientRect(), ie = Z.left + Z.width / 2, P = Z.top + Z.height / 2;
1910
1910
  for (let he = 0; he < 3; he++) {
1911
1911
  const ve = document.createElement("div");
1912
- ve.className = "ripple-effect", ve.style.position = "fixed", ve.style.left = `${ie}px`, ve.style.top = `${W}px`, ve.style.pointerEvents = "none", ve.style.animationDelay = `${he * 0.5}s`, document.body.appendChild(ve), setTimeout(() => {
1912
+ ve.className = "ripple-effect", ve.style.position = "fixed", ve.style.left = `${ie}px`, ve.style.top = `${P}px`, ve.style.pointerEvents = "none", ve.style.animationDelay = `${he * 0.5}s`, document.body.appendChild(ve), setTimeout(() => {
1913
1913
  ve.remove();
1914
1914
  }, 500 + he * 500);
1915
1915
  }
@@ -1996,7 +1996,7 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
1996
1996
  },
1997
1997
  emits: ["setBackgroundImage"],
1998
1998
  setup(t, { emit: l }) {
1999
- const n = t, a = l, i = _((/* @__PURE__ */ new Date()).getHours()), o = _(!0), s = _(!0), r = _(""), p = _(/* @__PURE__ */ new Map()), h = D(() => n.minimapJson.storeys[n.level]), g = D(() => `${Math.floor(i.value).toString().padStart(2, "0")}:00`), w = D(() => {
1999
+ const n = t, a = l, i = _((/* @__PURE__ */ new Date()).getHours()), o = _(!0), s = _(!0), r = _(""), p = _(/* @__PURE__ */ new Map()), h = D(() => n.minimapJson.storeys[n.level]), g = D(() => `${Math.floor(i.value).toString().padStart(2, "0")}:00`), k = D(() => {
2000
2000
  if (h.value.sunsimFilesTimeStamps[i.value]) {
2001
2001
  const S = h.value.sunsimFilesTimeStamps[i.value].split(" ");
2002
2002
  return `${S[0]} ${S[1]}`;
@@ -2008,18 +2008,18 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
2008
2008
  h.value.sunsimFiles[i.value]
2009
2009
  ), a("setBackgroundImage", r.value), s.value = !1;
2010
2010
  const S = await F(n.minimapJson.storeys);
2011
- p.value = S, o.value = !1, a("setBackgroundImage", k(n.level, i.value));
2011
+ p.value = S, o.value = !1, a("setBackgroundImage", w(n.level, i.value));
2012
2012
  }), j(i, () => {
2013
- const S = k(n.level, i.value);
2013
+ const S = w(n.level, i.value);
2014
2014
  a("setBackgroundImage", S);
2015
2015
  }), j(
2016
2016
  () => n.level,
2017
2017
  () => {
2018
- a("setBackgroundImage", k(n.level, i.value));
2018
+ a("setBackgroundImage", w(n.level, i.value));
2019
2019
  },
2020
2020
  { immediate: !0 }
2021
2021
  );
2022
- function k(S, I) {
2022
+ function w(S, I) {
2023
2023
  return p.value.get(`sunsim${S}_${I}`) ? p.value.get(`sunsim${S}_${I}`) : "";
2024
2024
  }
2025
2025
  async function F(S) {
@@ -2092,11 +2092,11 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
2092
2092
  ]),
2093
2093
  _: 1
2094
2094
  }),
2095
- e("span", null, P(w.value), 1)
2095
+ e("span", null, W(k.value), 1)
2096
2096
  ])
2097
2097
  ]),
2098
2098
  "thumb-label": v(() => [
2099
- le(P(g.value), 1)
2099
+ le(W(g.value), 1)
2100
2100
  ]),
2101
2101
  _: 1
2102
2102
  }, 8, ["modelValue"]))
@@ -2140,10 +2140,10 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
2140
2140
  function g(S) {
2141
2141
  o.value = S;
2142
2142
  }
2143
- const w = ["big", "bigger", "small"];
2144
- function k() {
2145
- const I = (w.indexOf(F.value) + 1) % w.length;
2146
- F.value = w[I];
2143
+ const k = ["big", "bigger", "small"];
2144
+ function w() {
2145
+ const I = (k.indexOf(F.value) + 1) % k.length;
2146
+ F.value = k[I];
2147
2147
  }
2148
2148
  const F = _("big");
2149
2149
  function C() {
@@ -2184,7 +2184,7 @@ const Zn = { id: "player-wrapper" }, qn = { id: "player-sizer" }, Jn = {
2184
2184
  class: "resize-icon ml-1",
2185
2185
  icon: "mdi-image-size-select-small",
2186
2186
  size: "x-small",
2187
- onClick: k,
2187
+ onClick: w,
2188
2188
  title: "Resize"
2189
2189
  })
2190
2190
  ])
@@ -2255,10 +2255,10 @@ const cl = { class: "d-flex align-center" }, dl = { class: "d-block mr-1" }, vl
2255
2255
  },
2256
2256
  { immediate: !0 }
2257
2257
  ), (p, h) => {
2258
- const g = E("v-icon"), w = E("v-slider"), k = E("v-field"), F = E("v-btn");
2258
+ const g = E("v-icon"), k = E("v-slider"), w = E("v-field"), F = E("v-btn");
2259
2259
  return u(), L("div", cl, [
2260
2260
  e("div", dl, [
2261
- y(k, {
2261
+ y(w, {
2262
2262
  class: "ss-slider-field",
2263
2263
  style: {},
2264
2264
  variant: "solo-filled",
@@ -2266,7 +2266,7 @@ const cl = { class: "d-flex align-center" }, dl = { class: "d-block mr-1" }, vl
2266
2266
  flat: ""
2267
2267
  }, {
2268
2268
  default: v(() => [
2269
- m(a).timeSamples.length > 1 ? (u(), T(w, {
2269
+ m(a).timeSamples.length > 1 ? (u(), T(k, {
2270
2270
  key: 0,
2271
2271
  class: "pa-2 pr-2",
2272
2272
  modelValue: r.value,
@@ -2291,7 +2291,7 @@ const cl = { class: "d-flex align-center" }, dl = { class: "d-block mr-1" }, vl
2291
2291
  ]),
2292
2292
  _: 1
2293
2293
  }),
2294
- e("span", vl, P(m(ct)(r.value)), 1)
2294
+ e("span", vl, W(m(ct)(r.value)), 1)
2295
2295
  ]),
2296
2296
  _: 1
2297
2297
  }, 8, ["modelValue", "min", "max", "step", "disabled"])) : (u(), L(xe, { key: 1 }, [
@@ -2305,7 +2305,7 @@ const cl = { class: "d-flex align-center" }, dl = { class: "d-block mr-1" }, vl
2305
2305
  ]),
2306
2306
  _: 1
2307
2307
  }),
2308
- e("span", ml, P(m(ct)(r.value)), 1)
2308
+ e("span", ml, W(m(ct)(r.value)), 1)
2309
2309
  ], 64))
2310
2310
  ]),
2311
2311
  _: 1
@@ -2342,7 +2342,7 @@ const cl = { class: "d-flex align-center" }, dl = { class: "d-block mr-1" }, vl
2342
2342
  onClick: o[0] || (o[0] = (r) => n("toggleSunStudy"))
2343
2343
  }, {
2344
2344
  default: v(() => [
2345
- le(P(m(a).getLabel("openSunStudy")), 1)
2345
+ le(W(m(a).getLabel("openSunStudy")), 1)
2346
2346
  ]),
2347
2347
  _: 1
2348
2348
  })) : V("", !0);
@@ -2419,7 +2419,7 @@ const cl = { class: "d-flex align-center" }, dl = { class: "d-block mr-1" }, vl
2419
2419
  g(), a("goto", h);
2420
2420
  }
2421
2421
  return (h, g) => {
2422
- const w = E("v-btn"), k = E("v-img"), F = E("v-icon"), C = E("v-card"), d = E("v-slide-group-item"), f = E("v-slide-group");
2422
+ const k = E("v-btn"), w = E("v-img"), F = E("v-icon"), C = E("v-card"), d = E("v-slide-group-item"), f = E("v-slide-group");
2423
2423
  return u(), L("div", {
2424
2424
  class: me(["d-flex align-center justify-center", {
2425
2425
  mobileWaypointWrapper: s.value,
@@ -2439,7 +2439,7 @@ const cl = { class: "d-flex align-center" }, dl = { class: "d-block mr-1" }, vl
2439
2439
  mandatory: ""
2440
2440
  }, {
2441
2441
  prev: v(() => [
2442
- s.value ? V("", !0) : (u(), T(w, {
2442
+ s.value ? V("", !0) : (u(), T(k, {
2443
2443
  key: 0,
2444
2444
  class: me(["carousel-button", { mobile: s.value }]),
2445
2445
  icon: "mdi-chevron-left",
@@ -2449,7 +2449,7 @@ const cl = { class: "d-flex align-center" }, dl = { class: "d-block mr-1" }, vl
2449
2449
  }, null, 8, ["class"]))
2450
2450
  ]),
2451
2451
  next: v(() => [
2452
- s.value ? V("", !0) : (u(), T(w, {
2452
+ s.value ? V("", !0) : (u(), T(k, {
2453
2453
  key: 0,
2454
2454
  class: me(["carousel-button", { mobile: s.value }]),
2455
2455
  icon: "mdi-chevron-right",
@@ -2475,7 +2475,7 @@ const cl = { class: "d-flex align-center" }, dl = { class: "d-block mr-1" }, vl
2475
2475
  onClick: (R) => p(S.id, I)
2476
2476
  }, {
2477
2477
  default: v(() => [
2478
- y(k, {
2478
+ y(w, {
2479
2479
  cover: "",
2480
2480
  "aspect-ratio": 1,
2481
2481
  src: S.thumbnailUrl
@@ -2531,9 +2531,9 @@ const cl = { class: "d-flex align-center" }, dl = { class: "d-block mr-1" }, vl
2531
2531
  navigator.clipboard.writeText(location.href);
2532
2532
  }
2533
2533
  return (p, h) => {
2534
- const g = E("v-btn"), w = E("v-tooltip"), k = E("v-toolbar-title"), F = E("v-spacer"), C = E("v-toolbar"), d = E("v-card-text"), f = E("v-card"), S = E("v-dialog");
2534
+ const g = E("v-btn"), k = E("v-tooltip"), w = E("v-toolbar-title"), F = E("v-spacer"), C = E("v-toolbar"), d = E("v-card-text"), f = E("v-card"), S = E("v-dialog");
2535
2535
  return u(), L("div", null, [
2536
- y(w, {
2536
+ y(k, {
2537
2537
  elevation: "2",
2538
2538
  top: "",
2539
2539
  attach: ""
@@ -2547,7 +2547,7 @@ const cl = { class: "d-flex align-center" }, dl = { class: "d-block mr-1" }, vl
2547
2547
  }, I), null, 16)
2548
2548
  ]),
2549
2549
  default: v(() => [
2550
- e("span", null, P(m(l).getLabel("share")), 1)
2550
+ e("span", null, W(m(l).getLabel("share")), 1)
2551
2551
  ]),
2552
2552
  _: 1
2553
2553
  }),
@@ -2567,9 +2567,9 @@ const cl = { class: "d-flex align-center" }, dl = { class: "d-block mr-1" }, vl
2567
2567
  icon: "mdi-close",
2568
2568
  onClick: h[1] || (h[1] = (I) => n.value = !1)
2569
2569
  }),
2570
- y(k, null, {
2570
+ y(w, null, {
2571
2571
  default: v(() => [
2572
- le(P(m(l).getLabel("share")), 1)
2572
+ le(W(m(l).getLabel("share")), 1)
2573
2573
  ]),
2574
2574
  _: 1
2575
2575
  }),
@@ -2580,7 +2580,7 @@ const cl = { class: "d-flex align-center" }, dl = { class: "d-block mr-1" }, vl
2580
2580
  y(d, { class: "mt-5" }, {
2581
2581
  default: v(() => [
2582
2582
  e("p", wl, [
2583
- y(w, { location: "top" }, {
2583
+ y(k, { location: "top" }, {
2584
2584
  activator: v(({ props: I }) => [
2585
2585
  y(g, Ee({
2586
2586
  depressed: "",
@@ -2590,11 +2590,11 @@ const cl = { class: "d-flex align-center" }, dl = { class: "d-block mr-1" }, vl
2590
2590
  }, I, { onClick: i }), null, 16)
2591
2591
  ]),
2592
2592
  default: v(() => [
2593
- e("span", null, P(m(l).getLabel("shareToFacebook")), 1)
2593
+ e("span", null, W(m(l).getLabel("shareToFacebook")), 1)
2594
2594
  ]),
2595
2595
  _: 1
2596
2596
  }),
2597
- y(w, { location: "top" }, {
2597
+ y(k, { location: "top" }, {
2598
2598
  activator: v(({ props: I }) => [
2599
2599
  y(g, Ee({
2600
2600
  depressed: "",
@@ -2604,11 +2604,11 @@ const cl = { class: "d-flex align-center" }, dl = { class: "d-block mr-1" }, vl
2604
2604
  }, I, { onClick: s }), null, 16)
2605
2605
  ]),
2606
2606
  default: v(() => [
2607
- e("span", null, P(m(l).getLabel("shareToLinkedin")), 1)
2607
+ e("span", null, W(m(l).getLabel("shareToLinkedin")), 1)
2608
2608
  ]),
2609
2609
  _: 1
2610
2610
  }),
2611
- y(w, { location: "top" }, {
2611
+ y(k, { location: "top" }, {
2612
2612
  activator: v(({ props: I }) => [
2613
2613
  y(g, Ee({
2614
2614
  depressed: "",
@@ -2618,11 +2618,11 @@ const cl = { class: "d-flex align-center" }, dl = { class: "d-block mr-1" }, vl
2618
2618
  }, I, { onClick: o }), null, 16)
2619
2619
  ]),
2620
2620
  default: v(() => [
2621
- e("span", null, P(m(l).getLabel("shareToTwitter")), 1)
2621
+ e("span", null, W(m(l).getLabel("shareToTwitter")), 1)
2622
2622
  ]),
2623
2623
  _: 1
2624
2624
  }),
2625
- y(w, { location: "top" }, {
2625
+ y(k, { location: "top" }, {
2626
2626
  activator: v(({ props: I }) => [
2627
2627
  y(g, Ee({
2628
2628
  depressed: "",
@@ -2634,11 +2634,11 @@ const cl = { class: "d-flex align-center" }, dl = { class: "d-block mr-1" }, vl
2634
2634
  }, I), null, 16, ["href"])
2635
2635
  ]),
2636
2636
  default: v(() => [
2637
- e("span", null, P(m(l).getLabel("shareViaEmail")), 1)
2637
+ e("span", null, W(m(l).getLabel("shareViaEmail")), 1)
2638
2638
  ]),
2639
2639
  _: 1
2640
2640
  }),
2641
- y(w, { location: "top" }, {
2641
+ y(k, { location: "top" }, {
2642
2642
  activator: v(({ props: I }) => [
2643
2643
  y(g, Ee({
2644
2644
  depressed: "",
@@ -2649,7 +2649,7 @@ const cl = { class: "d-flex align-center" }, dl = { class: "d-block mr-1" }, vl
2649
2649
  }, I), null, 16)
2650
2650
  ]),
2651
2651
  default: v(() => [
2652
- e("span", null, P(m(l).getLabel("copyLink")), 1)
2652
+ e("span", null, W(m(l).getLabel("copyLink")), 1)
2653
2653
  ]),
2654
2654
  _: 1
2655
2655
  }),
@@ -2667,7 +2667,7 @@ const cl = { class: "d-flex align-center" }, dl = { class: "d-block mr-1" }, vl
2667
2667
  ]);
2668
2668
  };
2669
2669
  }
2670
- }), Wt = /* @__PURE__ */ ne(kl, [["__scopeId", "data-v-bb7d0a99"]]), Cl = { class: "static-image-wrapper" }, Sl = /* @__PURE__ */ J({
2670
+ }), Pt = /* @__PURE__ */ ne(kl, [["__scopeId", "data-v-bb7d0a99"]]), Cl = { class: "static-image-wrapper" }, Sl = /* @__PURE__ */ J({
2671
2671
  __name: "VSingleImage",
2672
2672
  props: {
2673
2673
  image: {},
@@ -2685,7 +2685,7 @@ const cl = { class: "d-flex align-center" }, dl = { class: "d-block mr-1" }, vl
2685
2685
  }), Al = /* @__PURE__ */ ne(Sl, [["__scopeId", "data-v-31489804"]]), xl = {
2686
2686
  id: "btn-fullscreen",
2687
2687
  class: "btn-placeholder mr-2"
2688
- }, Pt = /* @__PURE__ */ J({
2688
+ }, Wt = /* @__PURE__ */ J({
2689
2689
  __name: "VFullScreenButton",
2690
2690
  props: {
2691
2691
  isFullScreen: { type: Boolean }
@@ -2888,8 +2888,8 @@ const El = {
2888
2888
  // websiteUrl,
2889
2889
  i18nConfig: h,
2890
2890
  showCarousel: g,
2891
- showTimeOfDay: w,
2892
- showCompass: k,
2891
+ showTimeOfDay: k,
2892
+ showCompass: w,
2893
2893
  showFullScreen: F,
2894
2894
  showSnapshot: C,
2895
2895
  showShare: d,
@@ -2906,7 +2906,7 @@ const El = {
2906
2906
  dynamicMarkers: Y,
2907
2907
  version: Se,
2908
2908
  showVersion: ye
2909
- } = Ce(a), O = n, re = _(!1), N = _(!1), se = _(!1), H = _(), M = _(), q = _(), Q = _(), U = _(), oe = _(0), Z = _(), ie = _(), W = _(), pe = _(0), he = _(0), ve = _(0), be = _(!1), we = _(!1), Be = _(), ke = _(!1), ce = _(!1), Te = _({
2909
+ } = Ce(a), O = n, re = _(!1), N = _(!1), se = _(!1), H = _(), M = _(), q = _(), Q = _(), U = _(), oe = _(0), Z = _(), ie = _(), P = _(), pe = _(0), he = _(0), ve = _(0), be = _(!1), we = _(!1), Be = _(), ke = _(!1), ce = _(!1), Te = _({
2910
2910
  startTime: 0,
2911
2911
  startX: 0,
2912
2912
  startY: 0
@@ -2940,12 +2940,12 @@ const El = {
2940
2940
  let c = 0;
2941
2941
  if (M.value) {
2942
2942
  const x = M.value.cameras.map(
2943
- (Pe) => Pe.floorLevel
2943
+ (We) => We.floorLevel
2944
2944
  );
2945
2945
  let z = [...new Set(x)];
2946
2946
  z = z.sort();
2947
2947
  const fe = z.findIndex(
2948
- (Pe) => Pe === he.value
2948
+ (We) => We === he.value
2949
2949
  );
2950
2950
  fe !== -1 && (c = fe);
2951
2951
  }
@@ -2978,7 +2978,7 @@ const El = {
2978
2978
  if (Q.value && Q.value.storeys && Ye.value in Q.value.storeys)
2979
2979
  return Q.value.storeys[Ye.value];
2980
2980
  }), ee = D(() => M.value && M.value.timeInHours), ue = D(() => {
2981
- if (M.value && M.value.timeInHours && w.value)
2981
+ if (M.value && M.value.timeInHours && k.value)
2982
2982
  return wn(M.value.timeInHours);
2983
2983
  });
2984
2984
  nt(
@@ -3017,7 +3017,7 @@ const El = {
3017
3017
  ), j(ke, () => {
3018
3018
  if (ke.value) {
3019
3019
  ce.value = !1;
3020
- const c = We(W.value);
3020
+ const c = Pe(P.value);
3021
3021
  Be.value = c[0].timeSamples.find(
3022
3022
  (x) => x.timeInHours === c[0].defaultHour
3023
3023
  );
@@ -3057,7 +3057,7 @@ const El = {
3057
3057
  o.value
3058
3058
  ), q.value) {
3059
3059
  const x = A.value !== null ? A.value : 0;
3060
- oe.value = x, ie.value = q.value.cameras[x].id, W.value = q.value.cameras[x].id;
3060
+ oe.value = x, ie.value = q.value.cameras[x].id, P.value = q.value.cameras[x].id;
3061
3061
  }
3062
3062
  S.value && (Q.value = await St(
3063
3063
  Z.value,
@@ -3187,7 +3187,7 @@ const El = {
3187
3187
  ke.value = !1, ie.value = c;
3188
3188
  }
3189
3189
  function At(c) {
3190
- Z.value = c, on(), O("onInteriorUpdate", c), O("onCameraUpdate", W.value, M.value);
3190
+ Z.value = c, on(), O("onInteriorUpdate", c), O("onCameraUpdate", P.value, M.value);
3191
3191
  }
3192
3192
  async function on() {
3193
3193
  M.value = await kt(
@@ -3202,12 +3202,12 @@ const El = {
3202
3202
  ));
3203
3203
  }
3204
3204
  function an(c) {
3205
- W.value = c, W.value && (yt(W.value, !1), O("onCameraUpdate", W.value, M.value));
3205
+ P.value = c, P.value && (yt(P.value, !1), O("onCameraUpdate", P.value, M.value));
3206
3206
  }
3207
3207
  const He = D(() => (c) => {
3208
- const x = We(c);
3208
+ const x = Pe(c);
3209
3209
  return !x || !x[0] || !x[0].timeSamples ? !1 : x[0].timeSamples.length > 1;
3210
- }), We = (c) => {
3210
+ }), Pe = (c) => {
3211
3211
  const x = M.value.cameras.find((z) => z.id === c);
3212
3212
  return x == null ? void 0 : x.sunsimDayOfYear;
3213
3213
  };
@@ -3257,12 +3257,12 @@ const El = {
3257
3257
  be.value = !be.value;
3258
3258
  }
3259
3259
  async function Lt() {
3260
- const c = 180 / Math.PI, x = await U.value.takePhoto(), z = U.value.getRotationEuler(), fe = U.value.getCurrentCamera(), Pe = new Tt(x, fe), kn = [
3260
+ const c = 180 / Math.PI, x = await U.value.takePhoto(), z = U.value.getRotationEuler(), fe = U.value.getCurrentCamera(), We = new Tt(x, fe), kn = [
3261
3261
  z.x * -c,
3262
3262
  z.y * -c,
3263
3263
  z.z * c
3264
3264
  ];
3265
- return O("onSnapshot", Pe, kn), Pe;
3265
+ return O("onSnapshot", We, kn), We;
3266
3266
  }
3267
3267
  async function yn() {
3268
3268
  console.log("Here onVisuadoCreateButtonClicked");
@@ -3310,14 +3310,14 @@ const El = {
3310
3310
  }, [
3311
3311
  se.value ? (u(), L("div", Fl, "Error loading the player!!")) : V("", !0),
3312
3312
  e("div", Vl, [
3313
- !Fe.value.isActive && Q.value && W.value && B.value && Z.value && we.value ? (u(), T(Vt, {
3313
+ !Fe.value.isActive && Q.value && P.value && B.value && Z.value && we.value ? (u(), T(Vt, {
3314
3314
  key: 0,
3315
3315
  "cdn-file-resolver": m(i),
3316
3316
  "apartment-json": M.value,
3317
3317
  level: Ye.value,
3318
3318
  "minimap-json": Q.value,
3319
3319
  rotation: pe.value,
3320
- "current-camera": W.value,
3320
+ "current-camera": P.value,
3321
3321
  onGoToCamera: je,
3322
3322
  onClose: x[0] || (x[0] = (fe) => we.value = !1)
3323
3323
  }, null, 8, ["cdn-file-resolver", "apartment-json", "level", "minimap-json", "rotation", "current-camera"])) : V("", !0),
@@ -3394,7 +3394,7 @@ const El = {
3394
3394
  ]),
3395
3395
  "top-center": v(() => []),
3396
3396
  "top-right": v(() => [
3397
- M.value && m(k) ? tt((u(), L("div", Bl, [
3397
+ M.value && m(w) ? tt((u(), L("div", Bl, [
3398
3398
  y(Ao, { rotation: pe.value }, null, 8, ["rotation"])
3399
3399
  ], 512)), [
3400
3400
  [rt, ce.value]
@@ -3402,13 +3402,13 @@ const El = {
3402
3402
  e("div", {
3403
3403
  onClick: x[4] || (x[4] = (fe) => we.value = !we.value)
3404
3404
  }, [
3405
- ce.value && M.value && ee.value && m(w) ? (u(), T(Fo, {
3405
+ ce.value && M.value && ee.value && m(k) ? (u(), T(Fo, {
3406
3406
  key: 0,
3407
3407
  hours: ue.value.hours,
3408
3408
  minutes: ue.value.minutes,
3409
3409
  class: "time-of-day",
3410
3410
  style: ae({
3411
- cursor: Q.value && W.value && B.value ? "pointer" : "default"
3411
+ cursor: Q.value && P.value && B.value ? "pointer" : "default"
3412
3412
  })
3413
3413
  }, null, 8, ["hours", "minutes", "style"])) : V("", !0)
3414
3414
  ])
@@ -3432,13 +3432,13 @@ const El = {
3432
3432
  key: 0,
3433
3433
  onCloseTutorial: x[5] || (x[5] = (fe) => Le(fe))
3434
3434
  })) : V("", !0),
3435
- Fe.value.isActive && Q.value && W.value && B.value && we.value ? (u(), T(Vt, {
3435
+ Fe.value.isActive && Q.value && P.value && B.value && we.value ? (u(), T(Vt, {
3436
3436
  key: 1,
3437
3437
  "cdn-file-resolver": m(i),
3438
3438
  "apartment-json": M.value,
3439
3439
  "minimap-json": Q.value,
3440
3440
  rotation: pe.value,
3441
- "current-camera": W.value,
3441
+ "current-camera": P.value,
3442
3442
  level: Ye.value,
3443
3443
  onClose: x[6] || (x[6] = (fe) => we.value = !1),
3444
3444
  onGoToCamera: je
@@ -3459,7 +3459,7 @@ const El = {
3459
3459
  })
3460
3460
  ]),
3461
3461
  "bottom-left": v(() => [
3462
- m(F) ? (u(), T(Pt, {
3462
+ m(F) ? (u(), T(Wt, {
3463
3463
  key: 0,
3464
3464
  "is-full-screen": Fe.value.isActive,
3465
3465
  class: "btn-fullscreen",
@@ -3481,7 +3481,7 @@ const El = {
3481
3481
  }, null, 8, ["show-static-image"])) : V("", !0)
3482
3482
  ]),
3483
3483
  ce.value && m(d) && !Fe.value.isActive ? (u(), L("div", $l, [
3484
- y(Wt)
3484
+ y(Pt)
3485
3485
  ])) : V("", !0),
3486
3486
  ce.value && c.showVisuadoCreateButton ? (u(), L("div", Rl, [
3487
3487
  y(Ml, { onOnSnapshot: yn })
@@ -3496,7 +3496,7 @@ const El = {
3496
3496
  "mb-2": !G.value
3497
3497
  }])
3498
3498
  }, [
3499
- !Oe.value && He.value(W.value) ? (u(), T(fl, {
3499
+ !Oe.value && He.value(P.value) ? (u(), T(fl, {
3500
3500
  key: 0,
3501
3501
  class: "ml-2",
3502
3502
  displaySunsim: ke.value,
@@ -3504,10 +3504,10 @@ const El = {
3504
3504
  onToggleSunStudy: x[7] || (x[7] = (fe) => ke.value = !ke.value)
3505
3505
  }, null, 8, ["displaySunsim", "showUI"])) : V("", !0)
3506
3506
  ], 2),
3507
- !G.value && !Oe.value && ie.value && ke.value && He.value(W.value) && We(W.value)[0] && Be.value ? (u(), T(Dt, {
3507
+ !G.value && !Oe.value && ie.value && ke.value && He.value(P.value) && Pe(P.value)[0] && Be.value ? (u(), T(Dt, {
3508
3508
  key: 0,
3509
3509
  class: "sunsim-slider-desktop",
3510
- "current-day": He.value(W.value) ? We(W.value)[0] : void 0,
3510
+ "current-day": He.value(P.value) ? Pe(P.value)[0] : void 0,
3511
3511
  "current-time": Be.value,
3512
3512
  onOnTimeChange: xt,
3513
3513
  onToggleSunStudy: x[8] || (x[8] = (fe) => ke.value = !ke.value)
@@ -3574,22 +3574,22 @@ const El = {
3574
3574
  _: 1
3575
3575
  }),
3576
3576
  G.value ? (u(), L("div", Hl, [
3577
- !Oe.value && ie.value && ke.value && He.value(W.value) && We(W.value)[0] && Be.value ? (u(), T(Dt, {
3577
+ !Oe.value && ie.value && ke.value && He.value(P.value) && Pe(P.value)[0] && Be.value ? (u(), T(Dt, {
3578
3578
  key: 0,
3579
3579
  class: "mt-1",
3580
- "current-day": He.value(W.value) ? We(W.value)[0] : void 0,
3580
+ "current-day": He.value(P.value) ? Pe(P.value)[0] : void 0,
3581
3581
  "current-time": Be.value,
3582
3582
  onOnTimeChange: xt,
3583
3583
  onToggleSunStudy: x[11] || (x[11] = (fe) => ke.value = !ke.value)
3584
3584
  }, null, 8, ["current-day", "current-time"])) : V("", !0)
3585
3585
  ])) : V("", !0)
3586
3586
  ], 2)) : V("", !0),
3587
- m(Se) && m(ye) ? (u(), L("div", Ul, " version: " + P(m(Se)), 1)) : V("", !0)
3587
+ m(Se) && m(ye) ? (u(), L("div", Ul, " version: " + W(m(Se)), 1)) : V("", !0)
3588
3588
  ])
3589
3589
  ], 2);
3590
3590
  };
3591
3591
  }
3592
- }), jl = /* @__PURE__ */ ne(zl, [["__scopeId", "data-v-3cc488e5"]]), Wl = { id: "player-wrapper" }, Pl = { id: "player-sizer" }, Nl = {
3592
+ }), jl = /* @__PURE__ */ ne(zl, [["__scopeId", "data-v-3cc488e5"]]), Pl = { id: "player-wrapper" }, Wl = { id: "player-sizer" }, Nl = {
3593
3593
  class: "player-control",
3594
3594
  id: "controls-top-left"
3595
3595
  }, Ql = {
@@ -3623,8 +3623,8 @@ const El = {
3623
3623
  },
3624
3624
  emits: ["newSizeCallback"],
3625
3625
  setup(t, { emit: l }) {
3626
- return (n, a) => (u(), L("div", Wl, [
3627
- e("div", Pl, [
3626
+ return (n, a) => (u(), L("div", Pl, [
3627
+ e("div", Wl, [
3628
3628
  K(n.$slots, "slideshow-image", {}, void 0, !0),
3629
3629
  e("div", Nl, [
3630
3630
  K(n.$slots, "top-left", {}, void 0, !0)
@@ -3678,8 +3678,8 @@ const El = {
3678
3678
  const n = _(0), a = _(
3679
3679
  new Nt(document, "player-wrapper")
3680
3680
  ), i = D(() => l.images.map(
3681
- (g, w) => ({
3682
- id: `image-${w}`,
3681
+ (g, k) => ({
3682
+ id: `image-${k}`,
3683
3683
  thumbnailUrl: g
3684
3684
  })
3685
3685
  )), o = D(() => i.value[n.value]);
@@ -3697,14 +3697,14 @@ const El = {
3697
3697
  let g = n.value - 1;
3698
3698
  g < 0 && (g = i.value.length - 1), n.value = g;
3699
3699
  }
3700
- function h(g, w = !0) {
3701
- let k = i.value.findIndex(
3700
+ function h(g, k = !0) {
3701
+ let w = i.value.findIndex(
3702
3702
  (F) => F.id === g
3703
3703
  );
3704
- k != -1 && (n.value = k);
3704
+ w != -1 && (n.value = w);
3705
3705
  }
3706
- return (g, w) => {
3707
- const k = E("v-img"), F = E("v-btn");
3706
+ return (g, k) => {
3707
+ const w = E("v-img"), F = E("v-btn");
3708
3708
  return u(), L("div", os, [
3709
3709
  e("div", as, [
3710
3710
  e("div", null, [
@@ -3713,7 +3713,7 @@ const El = {
3713
3713
  }, {
3714
3714
  "slideshow-image": v(() => [
3715
3715
  e("div", ls, [
3716
- y(k, {
3716
+ y(w, {
3717
3717
  src: o.value.thumbnailUrl
3718
3718
  }, null, 8, ["src"])
3719
3719
  ])
@@ -3751,14 +3751,14 @@ const El = {
3751
3751
  })
3752
3752
  ]),
3753
3753
  "bottom-left": v(() => [
3754
- g.showFullScreen ? (u(), T(Pt, {
3754
+ g.showFullScreen ? (u(), T(Wt, {
3755
3755
  key: 0,
3756
3756
  "is-full-screen": a.value.isActive,
3757
3757
  class: "btn-fullscreen",
3758
3758
  onToggleFullscreen: s
3759
3759
  }, null, 8, ["is-full-screen"])) : V("", !0),
3760
3760
  g.showShare ? (u(), L("div", ss, [
3761
- y(Wt)
3761
+ y(Pt)
3762
3762
  ])) : V("", !0)
3763
3763
  ]),
3764
3764
  "bottom-center": v(() => [
@@ -3803,7 +3803,7 @@ const El = {
3803
3803
  },
3804
3804
  emits: ["apartmentJsonLoaded", "minimapJsonLoaded", "cameraSet"],
3805
3805
  setup(t, { emit: l }) {
3806
- const a = Ce(t), i = l, o = _(), s = _(), r = _(), p = _(0), h = _(), g = _(1), w = D(() => a.currentCamera.value ? a.currentCamera.value : o.value ? o.value.cameras[0].id : null), k = D(() => ({
3806
+ const a = Ce(t), i = l, o = _(), s = _(), r = _(), p = _(0), h = _(), g = _(1), k = D(() => a.currentCamera.value ? a.currentCamera.value : o.value ? o.value.cameras[0].id : null), w = D(() => ({
3807
3807
  transformOrigin: "top left",
3808
3808
  transform: `scale(${g.value})`
3809
3809
  }));
@@ -3812,8 +3812,8 @@ const El = {
3812
3812
  const I = S.target.parentElement, A = I.parentElement;
3813
3813
  g.value = A.clientWidth / 512, I.style.height = `${S.contentRect.height * g.value}px`;
3814
3814
  }).observe(h.value);
3815
- }), j(w, () => {
3816
- i("cameraSet", w.value);
3815
+ }), j(k, () => {
3816
+ i("cameraSet", k.value);
3817
3817
  });
3818
3818
  const F = D(() => {
3819
3819
  const S = _e(a.cdnFileResolver.value, "").replace(
@@ -3856,7 +3856,7 @@ const El = {
3856
3856
  default: v(() => [
3857
3857
  e("div", null, [
3858
3858
  e("div", {
3859
- style: ae({ ...k.value, position: "relative" }),
3859
+ style: ae({ ...w.value, position: "relative" }),
3860
3860
  ref_key: "fitContainer",
3861
3861
  ref: h
3862
3862
  }, [
@@ -3871,7 +3871,7 @@ const El = {
3871
3871
  "all-cameras": o.value.cameras,
3872
3872
  "background-image": r.value,
3873
3873
  rotation: f.rotation || 0,
3874
- "current-camera": w.value,
3874
+ "current-camera": k.value,
3875
3875
  storey: C.value,
3876
3876
  containerWidth: 512,
3877
3877
  containerHeight: 384,
@@ -3964,9 +3964,9 @@ const El = {
3964
3964
  });
3965
3965
  });
3966
3966
  const h = D(() => _e(a.value, n.value.defaultFilename));
3967
- return (g, w) => m(n).sunsimDayOfYear ? (u(!0), L(xe, { key: 0 }, Me(m(n).sunsimDayOfYear, (k, F) => (u(), T(ms, {
3967
+ return (g, k) => m(n).sunsimDayOfYear ? (u(!0), L(xe, { key: 0 }, Me(m(n).sunsimDayOfYear, (w, F) => (u(), T(ms, {
3968
3968
  key: F,
3969
- "day-data": k,
3969
+ "day-data": w,
3970
3970
  "cdn-file-resolver": m(a),
3971
3971
  "current-day": g.currentDay,
3972
3972
  "current-time": m(o)
@@ -4037,17 +4037,17 @@ const bs = {
4037
4037
  )
4038
4038
  );
4039
4039
  }), (h, g) => {
4040
- const w = E("v-btn"), k = E("v-field"), F = E("v-list-item-title"), C = E("v-list-item"), d = E("v-list"), f = E("v-menu");
4040
+ const k = E("v-btn"), w = E("v-field"), F = E("v-list-item-title"), C = E("v-list-item"), d = E("v-list"), f = E("v-menu");
4041
4041
  return m(i).sunsimDayOfYear && m(i).sunsimDayOfYear.length > 0 ? (u(), L("div", bs, [
4042
4042
  y(f, null, {
4043
4043
  activator: v(({ props: S }) => [
4044
- y(k, {
4044
+ y(w, {
4045
4045
  variant: "solo-filled",
4046
4046
  rounded: "",
4047
4047
  flat: ""
4048
4048
  }, {
4049
4049
  default: v(() => [
4050
- y(w, Ee({
4050
+ y(k, Ee({
4051
4051
  variant: "text",
4052
4052
  rounded: "",
4053
4053
  flat: "",
@@ -4058,7 +4058,7 @@ const bs = {
4058
4058
  size: m(a) ? "small" : void 0
4059
4059
  }, S), {
4060
4060
  default: v(() => [
4061
- le(P(m(Ot)(p.value)), 1)
4061
+ le(W(m(Ot)(p.value)), 1)
4062
4062
  ]),
4063
4063
  _: 2
4064
4064
  }, 1040, ["readonly", "append-icon", "disabled", "size"])
@@ -4077,7 +4077,7 @@ const bs = {
4077
4077
  default: v(() => [
4078
4078
  y(F, null, {
4079
4079
  default: v(() => [
4080
- le(P(m(Ot)(S.dayOfYear)), 1)
4080
+ le(W(m(Ot)(S.dayOfYear)), 1)
4081
4081
  ]),
4082
4082
  _: 2
4083
4083
  }, 1024)
@@ -4126,13 +4126,13 @@ const bs = {
4126
4126
  ), j(p, () => {
4127
4127
  h(
4128
4128
  "onCameraChange",
4129
- i.value.find((w) => w === p.value)
4129
+ i.value.find((k) => k === p.value)
4130
4130
  );
4131
4131
  });
4132
- function g(w) {
4133
- r.value || (p.value = w);
4132
+ function g(k) {
4133
+ r.value || (p.value = k);
4134
4134
  }
4135
- return (w, k) => {
4135
+ return (k, w) => {
4136
4136
  const F = E("v-icon");
4137
4137
  return u(), L("div", {
4138
4138
  class: me({
@@ -4153,7 +4153,7 @@ const bs = {
4153
4153
  }]),
4154
4154
  onClick: (f) => g(C)
4155
4155
  }, [
4156
- C.cameraName ? (u(), L("div", As, P(C.cameraName), 1)) : V("", !0),
4156
+ C.cameraName ? (u(), L("div", As, W(C.cameraName), 1)) : V("", !0),
4157
4157
  e("div", {
4158
4158
  class: "camera-thumbnail-image",
4159
4159
  style: ae({
@@ -4201,7 +4201,7 @@ const bs = {
4201
4201
  )
4202
4202
  );
4203
4203
  }), (h, g) => {
4204
- const w = E("v-icon"), k = E("v-slider"), F = E("v-field");
4204
+ const k = E("v-icon"), w = E("v-slider"), F = E("v-field");
4205
4205
  return u(), L("div", {
4206
4206
  class: me({ "d-inline-block": !0, mobile: m(a) }),
4207
4207
  style: ae({
@@ -4227,7 +4227,7 @@ const bs = {
4227
4227
  flat: ""
4228
4228
  }, {
4229
4229
  default: v(() => [
4230
- m(i).timeSamples.length > 1 ? (u(), T(k, {
4230
+ m(i).timeSamples.length > 1 ? (u(), T(w, {
4231
4231
  key: 0,
4232
4232
  class: "pa-2 pr-2",
4233
4233
  modelValue: p.value,
@@ -4242,7 +4242,7 @@ const bs = {
4242
4242
  "hide-details": ""
4243
4243
  }, {
4244
4244
  prepend: v(() => [
4245
- y(w, {
4245
+ y(k, {
4246
4246
  style: { "vertical-align": "baseline", "font-size": "20px" },
4247
4247
  class: "mr-2 icon",
4248
4248
  color: "warning"
@@ -4252,11 +4252,11 @@ const bs = {
4252
4252
  ]),
4253
4253
  _: 1
4254
4254
  }),
4255
- e("span", Es, P(m(ct)(p.value)), 1)
4255
+ e("span", Es, W(m(ct)(p.value)), 1)
4256
4256
  ]),
4257
4257
  _: 1
4258
4258
  }, 8, ["modelValue", "min", "max", "step", "disabled"])) : (u(), L(xe, { key: 1 }, [
4259
- y(w, {
4259
+ y(k, {
4260
4260
  style: { "vertical-align": "baseline", "font-size": "20px", "margin-top": "-1px", opacity: "0.6" },
4261
4261
  class: "mr-2 icon",
4262
4262
  color: "warning"
@@ -4266,7 +4266,7 @@ const bs = {
4266
4266
  ]),
4267
4267
  _: 1
4268
4268
  }),
4269
- e("span", Ms, P(m(ct)(p.value)), 1)
4269
+ e("span", Ms, W(m(ct)(p.value)), 1)
4270
4270
  ], 64))
4271
4271
  ]),
4272
4272
  _: 1
@@ -4296,7 +4296,7 @@ const bs = {
4296
4296
  size: m(a) ? "x-small" : "small",
4297
4297
  flat: "",
4298
4298
  icon: "mdi-plus",
4299
- onClick: h[0] || (h[0] = (w) => r("onZoomIn")),
4299
+ onClick: h[0] || (h[0] = (k) => r("onZoomIn")),
4300
4300
  style: { "border-bottom-left-radius": "0", "border-bottom-right-radius": "0" }
4301
4301
  }, null, 8, ["disabled", "size"]),
4302
4302
  Bs,
@@ -4305,7 +4305,7 @@ const bs = {
4305
4305
  size: m(a) ? "x-small" : "small",
4306
4306
  flat: "",
4307
4307
  icon: "mdi-minus",
4308
- onClick: h[1] || (h[1] = (w) => r("onZoomOut")),
4308
+ onClick: h[1] || (h[1] = (k) => r("onZoomOut")),
4309
4309
  style: { "border-top-left-radius": "0", "border-top-right-radius": "0" }
4310
4310
  }, null, 8, ["disabled", "size"])
4311
4311
  ]);
@@ -4366,13 +4366,13 @@ const Os = ["innerHTML"], $s = /* @__PURE__ */ J({
4366
4366
  },
4367
4367
  emits: ["onClick", "onHoverOver", "onHoverOut", "updateSvgContainer", "onError", "onBoundingBoxesUpdate"],
4368
4368
  setup(t, { emit: l }) {
4369
- const n = t, { cdnFileResolver: a, colorCallback: i, currentCamera: o, selectedId: s } = Ce(n), r = l, p = _(!0), h = _({}), g = _(), w = Ln({}), k = D(() => _e(
4369
+ const n = t, { cdnFileResolver: a, colorCallback: i, currentCamera: o, selectedId: s } = Ce(n), r = l, p = _(!0), h = _({}), g = _(), k = Ln({}), w = D(() => _e(
4370
4370
  a.value,
4371
4371
  o.value.overlayFilename
4372
4372
  ));
4373
4373
  Ft(() => {
4374
- for (const d in w) {
4375
- const { element: f, state: S } = w[d], { r: I, g: A, b: R, a: X, s: $ } = i.value(d, S) || {
4374
+ for (const d in k) {
4375
+ const { element: f, state: S } = k[d], { r: I, g: A, b: R, a: X, s: $ } = i.value(d, S) || {
4376
4376
  r: 0,
4377
4377
  g: 0,
4378
4378
  b: 0,
@@ -4382,11 +4382,11 @@ const Os = ["innerHTML"], $s = /* @__PURE__ */ J({
4382
4382
  f.style.fill = `rgba(${I}, ${A}, ${R}, ${X / 255})`, f.style.stroke = `rgb(${I}, ${A}, ${R})`, f.style.strokeWidth = $.toString(), f.style.cursor = "pointer";
4383
4383
  }
4384
4384
  }), j(s, () => {
4385
- for (const d in w)
4386
- w[d].state === "selected" && d !== s.value ? w[d].state = "idle" : w[d].state !== "selected" && d === s.value && (w[d].state = "selected");
4385
+ for (const d in k)
4386
+ k[d].state === "selected" && d !== s.value ? k[d].state = "idle" : k[d].state !== "selected" && d === s.value && (k[d].state = "selected");
4387
4387
  }), Ft(async () => {
4388
4388
  try {
4389
- p.value = !1, h.value[k.value] || (h.value[k.value] = await Qe.loadText(k.value)), C();
4389
+ p.value = !1, h.value[w.value] || (h.value[w.value] = await Qe.loadText(w.value)), C();
4390
4390
  } catch (d) {
4391
4391
  r("onError", d);
4392
4392
  } finally {
@@ -4441,20 +4441,20 @@ const Os = ["innerHTML"], $s = /* @__PURE__ */ J({
4441
4441
  $.style.stroke = "inherit", $.style.fill = "inherit";
4442
4442
  });
4443
4443
  const X = R.getAttribute(I);
4444
- w[X] = {
4444
+ k[X] = {
4445
4445
  element: R,
4446
4446
  state: s.value === X ? "selected" : "idle",
4447
4447
  boundingBox: R.getBoundingClientRect().toJSON()
4448
4448
  }, n.activeStructureIds && !n.activeStructureIds.includes(X) && (R.style.display = "none"), R.addEventListener("mouseover", () => {
4449
- w[X].state === "idle" && (w[X].state = "hover"), r("onHoverOver", X);
4449
+ k[X].state === "idle" && (k[X].state = "hover"), r("onHoverOver", X);
4450
4450
  }), R.addEventListener("mouseout", () => {
4451
- w[X].state === "hover" && (w[X].state = "idle"), r("onHoverOut", X);
4451
+ k[X].state === "hover" && (k[X].state = "idle"), r("onHoverOut", X);
4452
4452
  }), R.addEventListener("click", () => {
4453
4453
  r("onClick", X);
4454
4454
  });
4455
4455
  }), r(
4456
4456
  "onBoundingBoxesUpdate",
4457
- Object.entries(w).map(([A, R]) => ({
4457
+ Object.entries(k).map(([A, R]) => ({
4458
4458
  id: A,
4459
4459
  boundingBox: R.boundingBox
4460
4460
  }))
@@ -4471,7 +4471,7 @@ const Os = ["innerHTML"], $s = /* @__PURE__ */ J({
4471
4471
  visibility: p.value ? "visible" : "hidden"
4472
4472
  }, { "z-index": "5" }]),
4473
4473
  class: "w-100 h-100 position-absolute top-left structure-chooser-overlay-svg",
4474
- innerHTML: h.value[k.value]
4474
+ innerHTML: h.value[w.value]
4475
4475
  }, null, 12, Os)
4476
4476
  ]),
4477
4477
  _: 1
@@ -4535,10 +4535,10 @@ function js(t) {
4535
4535
  function Ne(t) {
4536
4536
  return t.startsWith("/") ? t : `/${t}`;
4537
4537
  }
4538
- function Ws(t) {
4538
+ function Ps(t) {
4539
4539
  return t ? "version" in t : !1;
4540
4540
  }
4541
- function Ps(t) {
4541
+ function Ws(t) {
4542
4542
  if (!t)
4543
4543
  return !1;
4544
4544
  const l = [
@@ -4614,7 +4614,7 @@ function Ns(t) {
4614
4614
  }
4615
4615
  )
4616
4616
  };
4617
- } else if (Ps(t)) {
4617
+ } else if (Ws(t)) {
4618
4618
  if (!t.days && !t.timeSamples)
4619
4619
  throw new Error(
4620
4620
  "cannot convert BuildingChooserDataLegacy to StructureChooser: 'days' and 'timeSamples' are empty"
@@ -4721,7 +4721,7 @@ function Ns(t) {
4721
4721
  }
4722
4722
  )
4723
4723
  };
4724
- if (Ws(t)) {
4724
+ if (Ps(t)) {
4725
4725
  if (!t.sceneData)
4726
4726
  throw new Error(
4727
4727
  "cannot convert ApartmentChooserDataLegacy to StructureChooser: key 'sceneData' is missing"
@@ -4738,8 +4738,8 @@ function Ns(t) {
4738
4738
  h = o[p].filename, g = {
4739
4739
  cameraName: `Camera ${r + 1}`,
4740
4740
  cameraPosition: void 0,
4741
- cameraRotation: t.sceneCameras && (a = t.sceneCameras.find((w) => w.scene === r)) != null && a.cameraRotation ? $t(
4742
- (i = t.sceneCameras.find((w) => w.scene === r)) == null ? void 0 : i.cameraRotation
4741
+ cameraRotation: t.sceneCameras && (a = t.sceneCameras.find((k) => k.scene === r)) != null && a.cameraRotation ? $t(
4742
+ (i = t.sceneCameras.find((k) => k.scene === r)) == null ? void 0 : i.cameraRotation
4743
4743
  ) : void 0,
4744
4744
  cameraFov: 0,
4745
4745
  overlayFilename: `/scenedata${s[r]}V5Overlay.svg`,
@@ -4828,8 +4828,8 @@ const Qs = {
4828
4828
  customOverlayContent: p,
4829
4829
  selectedId: h,
4830
4830
  defaultCamera: g,
4831
- defaultDay: w,
4832
- defaultTime: k,
4831
+ defaultDay: k,
4832
+ defaultTime: w,
4833
4833
  mobileBreakpoint: F
4834
4834
  } = Ce(a), C = n, d = _(), f = _(), S = _(), I = _(null), A = _(4), R = _(), X = _(!1), $ = _(!1), te = _(), de = D(() => te.value.isHoverEnabled), Y = _({ x: 0, y: 0, width: 0, height: 0 }), Se = _(), ye = _(), O = _(), re = _(!1), N = _(1), se = _(0), H = _([]), M = _(), q = _({
4835
4835
  current: 100,
@@ -4850,7 +4850,7 @@ const Qs = {
4850
4850
  });
4851
4851
  }), l({
4852
4852
  getState: () => ({
4853
- currentCameraIndex: d.value ? W.value.findIndex((b) => b === d.value) : null,
4853
+ currentCameraIndex: d.value ? P.value.findIndex((b) => b === d.value) : null,
4854
4854
  currentDayIndex: f.value ? d.value.sunsimDayOfYear.findIndex(
4855
4855
  (b) => b === f.value
4856
4856
  ) : null,
@@ -4867,7 +4867,7 @@ const Qs = {
4867
4867
  currentTransitionIndex: ue,
4868
4868
  currentScene: G
4869
4869
  }) => {
4870
- typeof b == "number" && (d.value = W.value[b]), typeof B == "number" && (f.value = d.value.sunsimDayOfYear[B]), typeof ee == "number" && (S.value = f.value.timeSamples[ee]), typeof ue == "number" && (I.value = pe.value[ue]), typeof G == "number" && (A.value = G);
4870
+ typeof b == "number" && (d.value = P.value[b]), typeof B == "number" && (f.value = d.value.sunsimDayOfYear[B]), typeof ee == "number" && (S.value = f.value.timeSamples[ee]), typeof ue == "number" && (I.value = pe.value[ue]), typeof G == "number" && (A.value = G);
4871
4871
  },
4872
4872
  resolveCoordinates: (b, B) => U.value ? U.value(b, B) : { x: 0, y: 0 }
4873
4873
  }), Re(() => {
@@ -4919,7 +4919,7 @@ const Qs = {
4919
4919
  }).observe(ye.value);
4920
4920
  }
4921
4921
  );
4922
- const W = D(
4922
+ const P = D(
4923
4923
  () => O.value ? O.value.cameras.filter(Hs) : []
4924
4924
  ), pe = D(
4925
4925
  () => O.value ? O.value.cameras.filter(bt) : []
@@ -4933,26 +4933,26 @@ const Qs = {
4933
4933
  ), j(
4934
4934
  [O, o, g],
4935
4935
  async () => {
4936
- o.value && W.value.length > 0 && (g.value ? d.value = W.value.find(
4936
+ o.value && P.value.length > 0 && (g.value ? d.value = P.value.find(
4937
4937
  (b) => b.cameraName === g.value
4938
- ) || W.value[0] : d.value = W.value[0], A.value = O.value.cameras.findIndex(
4938
+ ) || P.value[0] : d.value = P.value[0], A.value = O.value.cameras.findIndex(
4939
4939
  (b) => b === d.value
4940
4940
  ), A.value = Math.max(0, A.value));
4941
4941
  },
4942
4942
  { immediate: !0 }
4943
4943
  ), j(
4944
- [O, o, w],
4944
+ [O, o, k],
4945
4945
  () => {
4946
- O.value && o.value && d.value && d.value.sunsimDayOfYear && d.value.sunsimDayOfYear.length > 0 && (w.value ? f.value = d.value.sunsimDayOfYear.find(
4947
- (b) => b.dayOfYear === w.value
4946
+ O.value && o.value && d.value && d.value.sunsimDayOfYear && d.value.sunsimDayOfYear.length > 0 && (k.value ? f.value = d.value.sunsimDayOfYear.find(
4947
+ (b) => b.dayOfYear === k.value
4948
4948
  ) || d.value.sunsimDayOfYear[0] : f.value = d.value.sunsimDayOfYear[0]);
4949
4949
  },
4950
4950
  { immediate: !0 }
4951
4951
  ), j(
4952
- [O, o, k],
4952
+ [O, o, w],
4953
4953
  () => {
4954
- O.value && o.value && f.value && f.value.timeSamples && f.value.timeSamples.length > 0 && (k.value ? S.value = f.value.timeSamples.find(
4955
- (b) => b.timeInHours === k.value
4954
+ O.value && o.value && f.value && f.value.timeSamples && f.value.timeSamples.length > 0 && (w.value ? S.value = f.value.timeSamples.find(
4955
+ (b) => b.timeInHours === w.value
4956
4956
  ) || f.value.timeSamples[0] : S.value = f.value.timeSamples.find(
4957
4957
  (b) => b.timeInHours === f.value.defaultHour
4958
4958
  ) || f.value.timeSamples[0]);
@@ -5120,7 +5120,7 @@ const Qs = {
5120
5120
  class: "persistent actions-bar top-right pa-2",
5121
5121
  style: ae({
5122
5122
  zIndex: 7,
5123
- top: re.value && W.value.length > 1 ? "60px" : 0
5123
+ top: re.value && P.value.length > 1 ? "60px" : 0
5124
5124
  })
5125
5125
  }, [
5126
5126
  d.value.cameraRotation ? (u(), T(Ht, {
@@ -5142,7 +5142,7 @@ const Qs = {
5142
5142
  onOnZoomOut: B[1] || (B[1] = (G) => Je(!1))
5143
5143
  }, null, 8, ["is-mobile-sized", "can-zoom-out", "can-zoom-in", "disabled"])
5144
5144
  ], 4)) : V("", !0),
5145
- b.showUi && W.value.length > 1 ? (u(), L("div", {
5145
+ b.showUi && P.value.length > 1 ? (u(), L("div", {
5146
5146
  key: 1,
5147
5147
  class: me([{
5148
5148
  "actions-bar bottom-center pb-2": !0,
@@ -5152,7 +5152,7 @@ const Qs = {
5152
5152
  }, [
5153
5153
  y(Ls, {
5154
5154
  "is-mobile-sized": re.value,
5155
- "still-cameras": W.value,
5155
+ "still-cameras": P.value,
5156
5156
  "current-camera": d.value,
5157
5157
  disabled: $.value,
5158
5158
  "cdn-file-resolver": m(o),
@@ -5170,7 +5170,7 @@ const Qs = {
5170
5170
  class: "w-100 position-relative",
5171
5171
  style: ae({ height: `${se.value}px` })
5172
5172
  }, [
5173
- (u(!0), L(xe, null, Me(W.value, (G, Ae) => (u(), T(hs, {
5173
+ (u(!0), L(xe, null, Me(P.value, (G, Ae) => (u(), T(hs, {
5174
5174
  key: `camera${Ae}`,
5175
5175
  "camera-data": G,
5176
5176
  "cdn-file-resolver": m(o),
@@ -5247,7 +5247,7 @@ const Qs = {
5247
5247
  ]),
5248
5248
  _: 3
5249
5249
  }, 8, ["is-hoverable", "pos"])) : V("", !0),
5250
- b.version && b.showVersion ? (u(), L("div", Js, " version: " + P(b.version), 1)) : V("", !0)
5250
+ b.version && b.showVersion ? (u(), L("div", Js, " version: " + W(b.version), 1)) : V("", !0)
5251
5251
  ], 34)
5252
5252
  ]),
5253
5253
  _: 3