@qispace/vue3-player 0.1.2 → 0.1.6

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,13 +1,13 @@
1
- var Dt = Object.defineProperty;
2
- var Rt = (u, t, e) => t in u ? Dt(u, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : u[t] = e;
3
- var J = (u, t, e) => (Rt(u, typeof t != "symbol" ? t + "" : t, e), e);
4
- import { defineComponent as Q, ref as r, computed as V, openBlock as h, createElementBlock as F, watch as Z, onMounted as ce, onBeforeUnmount as Oe, withDirectives as de, createElementVNode as o, normalizeStyle as re, vShow as me, createVNode as y, Fragment as Ce, renderList as _e, createCommentVNode as H, inject as pe, resolveComponent as T, withCtx as M, toDisplayString as z, unref as oe, createTextVNode as se, normalizeClass as ye, createBlock as N, renderSlot as ie, provide as De, watchEffect as qe, resolveDynamicComponent as mt, normalizeProps as pt, guardReactiveProps as ht, mergeProps as be, nextTick as Tt, createSlots as Ot, Transition as ze, pushScopeId as ot, popScopeId as nt, vModelText as $t, createStaticVNode as ft, onBeforeUpdate as Ht } from "vue";
5
- import gt from "axios";
6
- import * as jt from "@qispace/player-core";
1
+ var St = Object.defineProperty;
2
+ var Et = (u, t, e) => t in u ? St(u, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : u[t] = e;
3
+ var ee = (u, t, e) => (Et(u, typeof t != "symbol" ? t + "" : t, e), e);
4
+ import { defineComponent as Q, ref as r, computed as V, openBlock as p, createElementBlock as F, watch as Z, onMounted as ce, onBeforeUnmount as Oe, withDirectives as de, createElementVNode as o, normalizeStyle as re, vShow as me, createVNode as y, Fragment as Ce, renderList as _e, createCommentVNode as H, inject as pe, resolveComponent as T, withCtx as I, toDisplayString as q, unref as oe, createTextVNode as se, normalizeClass as ye, createBlock as N, renderSlot as ie, provide as De, watchEffect as ze, resolveDynamicComponent as dt, normalizeProps as vt, guardReactiveProps as mt, mergeProps as be, nextTick as Ft, createSlots as xt, Transition as qe, pushScopeId as Je, popScopeId as et, vModelText as Bt, createStaticVNode as pt, onBeforeUpdate as Vt } from "vue";
5
+ import ht from "axios";
6
+ import * as Ut from "@qispace/player-core";
7
7
  import * as xe from "three";
8
8
  class $e {
9
9
  async loadJson(t) {
10
- return (await gt.get(t)).data;
10
+ return (await ht.get(t)).data;
11
11
  }
12
12
  async loadImage(t) {
13
13
  return new Promise((e, l) => {
@@ -27,13 +27,13 @@ class $e {
27
27
  }
28
28
  }
29
29
  }
30
- const Pt = /* @__PURE__ */ Q({
30
+ const Dt = /* @__PURE__ */ Q({
31
31
  __name: "VHoverProbe",
32
32
  setup(u, { expose: t }) {
33
33
  const e = r(), l = V(() => window.getComputedStyle(e.value).display === "none");
34
34
  return t({
35
35
  isHoverEnabled: l
36
- }), (a, n) => (h(), F("div", {
36
+ }), (a, n) => (p(), F("div", {
37
37
  ref_key: "hoverCheck",
38
38
  ref: e,
39
39
  class: "hover-check"
@@ -44,7 +44,7 @@ const Pt = /* @__PURE__ */ Q({
44
44
  for (const [l, a] of t)
45
45
  e[l] = a;
46
46
  return e;
47
- }, He = /* @__PURE__ */ te(Pt, [["__scopeId", "data-v-eb9b348d"]]), Nt = /* @__PURE__ */ Q({
47
+ }, We = /* @__PURE__ */ te(Dt, [["__scopeId", "data-v-eb9b348d"]]), Rt = /* @__PURE__ */ Q({
48
48
  __name: "VApartmentChooserRaster",
49
49
  props: {
50
50
  cdnFileResolver: {},
@@ -58,18 +58,18 @@ const Pt = /* @__PURE__ */ Q({
58
58
  },
59
59
  emits: ["selectUnit", "goToUnit", "hoverOver", "hoverOut", "pos"],
60
60
  setup(u, { emit: t }) {
61
- const e = u, l = t, a = r({ x: 0, y: 0, width: 0, height: 0 }), n = r(null), s = r(0), i = r(0), k = r(null), p = r(null), v = r(null), m = r(null), I = r(-1), _ = r(!1), L = r(null), C = r(null), E = r({}), D = r("auto"), g = r(null), A = r(void 0), R = r(new $e()), c = r({}), f = r(), b = r(), B = r(), U = V(() => f.value.isHoverEnabled), $ = V(() => e.cdnFileResolver(`/scenedata${e.viewModel.currentScene}.png`)), q = V(() => $.value in E.value ? E.value[$.value] : null), ee = V(() => {
62
- if (I.value < 0)
61
+ const e = u, l = t, a = r({ x: 0, y: 0, width: 0, height: 0 }), n = r(null), s = r(0), i = r(0), k = r(null), h = r(null), v = r(null), m = r(null), M = r(-1), L = r(!1), A = r(null), _ = r(null), E = r({}), D = r("auto"), g = r(null), C = r(void 0), R = r(new $e()), c = r({}), f = r(), b = r(), B = r(), U = V(() => f.value.isHoverEnabled), $ = V(() => e.cdnFileResolver(`/scenedata${e.viewModel.currentScene}.png`)), z = V(() => $.value in E.value ? E.value[$.value] : null), J = V(() => {
62
+ if (M.value < 0)
63
63
  return !1;
64
64
  const j = e.sceneData.find(
65
- (P) => P.index === I.value
65
+ (P) => P.index === M.value
66
66
  );
67
67
  return j ? e.unitCallback ? e.unitCallback(j.apartmentId) : j.apartmentId : !1;
68
68
  }), w = V(() => ({
69
69
  width: s.value + "px",
70
70
  height: i.value + "px",
71
71
  cursor: D.value
72
- })), x = V(() => `hover-${_.value ? "over" : "out"}-${ee.value ? typeof ee.value == "object" && "unitId" in ee.value ? ee.value.unitId : ee.value : ""}`);
72
+ })), x = V(() => `hover-${L.value ? "over" : "out"}-${J.value ? typeof J.value == "object" && "unitId" in J.value ? J.value.unitId : J.value : ""}`);
73
73
  Z(
74
74
  $,
75
75
  () => {
@@ -81,8 +81,8 @@ const Pt = /* @__PURE__ */ Q({
81
81
  });
82
82
  },
83
83
  { immediate: !0 }
84
- ), Z(q, () => {
85
- q.value && W();
84
+ ), Z(z, () => {
85
+ z.value && W();
86
86
  }), Z(
87
87
  () => e.viewModel.currentScene,
88
88
  () => {
@@ -98,37 +98,37 @@ const Pt = /* @__PURE__ */ Q({
98
98
  () => {
99
99
  Ve();
100
100
  }
101
- ), Z(ee, () => {
102
- Ve(), ee.value ? D.value = "pointer" : D.value = "auto";
101
+ ), Z(J, () => {
102
+ Ve(), J.value ? D.value = "pointer" : D.value = "auto";
103
103
  }), Z(x, () => {
104
- _.value ? l("hoverOver", {
105
- hoverApartment: ee.value,
104
+ L.value ? l("hoverOver", {
105
+ hoverApartment: J.value,
106
106
  closeHandler: () => Ge()
107
107
  }) : l("hoverOut", {
108
- hoverApartment: ee.value,
108
+ hoverApartment: J.value,
109
109
  closeHandler: () => Ge()
110
110
  });
111
111
  }), Z(a, () => {
112
112
  l("pos", a.value);
113
113
  }), ce(() => {
114
- A.value = () => {
114
+ C.value = () => {
115
115
  clearTimeout(g.value), Me(), g.value = setTimeout(() => {
116
116
  Me();
117
117
  }, 50);
118
- }, window.addEventListener("resize", A.value), Me();
118
+ }, window.addEventListener("resize", C.value), Me();
119
119
  }), Oe(() => {
120
- window.removeEventListener("resize", A.value);
120
+ window.removeEventListener("resize", C.value);
121
121
  for (const j in E.value)
122
122
  URL.revokeObjectURL(E.value[j]);
123
123
  });
124
124
  function W() {
125
- n.value = b, k.value = n.value.getContext("2d", { willReadFrequently: !0 }), p.value = new Image(), p.value.onload = () => {
126
- Pe(), n.value.addEventListener("mousemove", Ne(S, 50));
127
- }, p.value.src = q.value;
125
+ n.value = b, k.value = n.value.getContext("2d", { willReadFrequently: !0 }), h.value = new Image(), h.value.onload = () => {
126
+ je(), n.value.addEventListener("mousemove", Pe(S, 50));
127
+ }, h.value.src = z.value;
128
128
  }
129
129
  function S(j) {
130
130
  const P = K(j.offsetX, j.offsetY);
131
- _.value = P >= 0, I.value = P, a.value = {
131
+ L.value = P >= 0, M.value = P, a.value = {
132
132
  x: j.offsetX,
133
133
  y: j.offsetY,
134
134
  width: s.value,
@@ -140,13 +140,13 @@ const Pt = /* @__PURE__ */ Q({
140
140
  P < 0 || U && fe(P);
141
141
  }
142
142
  function X() {
143
- if (p.value && p.value.width) {
144
- n.value.width = p.value.width, n.value.height = p.value.height, k.value.drawImage(
145
- p.value,
143
+ if (h.value && h.value.width) {
144
+ n.value.width = h.value.width, n.value.height = h.value.height, k.value.drawImage(
145
+ h.value,
146
146
  0,
147
147
  0,
148
- p.value.width,
149
- p.value.height
148
+ h.value.width,
149
+ h.value.height
150
150
  ), m.value = k.value.getImageData(
151
151
  0,
152
152
  0,
@@ -167,7 +167,7 @@ const Pt = /* @__PURE__ */ Q({
167
167
  }
168
168
  }
169
169
  function K(j, P) {
170
- L.value = j, C.value = P;
170
+ A.value = j, _.value = P;
171
171
  const le = n.value.offsetWidth / n.value.width, Se = n.value.offsetHeight / n.value.height, Ee = (j / le).toFixed(), Fe = (P / Se).toFixed(), we = Number(Fe) * (n.value.width * 4) + Number(Ee) * 4, ke = m.value.data[we];
172
172
  return m.value.data[we + 3] > 0 ? ke : -1;
173
173
  }
@@ -176,7 +176,7 @@ const Pt = /* @__PURE__ */ Q({
176
176
  if (P.index >= 0) {
177
177
  const le = ue(P.index), Se = ve(P.index);
178
178
  let Ee = "idle";
179
- !ee.value && e.selectedUnitId && Se === e.selectedUnitId ? Ee = "selected" : ee.value && I.value === P.index && (Ee = "hover");
179
+ !J.value && e.selectedUnitId && Se === e.selectedUnitId ? Ee = "selected" : J.value && M.value === P.index && (Ee = "hover");
180
180
  const Fe = e.unitCallback ? e.unitCallback(Se) : Se;
181
181
  if (Fe) {
182
182
  const we = e.colorCallback(Fe, Ee);
@@ -225,22 +225,22 @@ const Pt = /* @__PURE__ */ Q({
225
225
  return !1;
226
226
  s.value = B.value.offsetWidth, i.value = B.value.offsetHeight;
227
227
  }
228
- function Pe() {
228
+ function je() {
229
229
  X(), Ve();
230
230
  }
231
231
  function Ve() {
232
232
  Ie(), ne(), k.value && v.value && k.value.putImageData(v.value, 0, 0);
233
233
  }
234
234
  function Ge() {
235
- _.value = !1;
235
+ L.value = !1;
236
236
  }
237
237
  const Ae = r(!1);
238
- function Ne(j, P) {
238
+ function Pe(j, P) {
239
239
  return Ae.value = !0, function(...le) {
240
240
  Ae.value && (Ae.value = !1, j.apply(this, le), setTimeout(() => Ae.value = !0, P));
241
241
  };
242
242
  }
243
- return (j, P) => (h(), F("div", {
243
+ return (j, P) => (p(), F("div", {
244
244
  ref_key: "$el",
245
245
  ref: B,
246
246
  id: "canvas"
@@ -254,13 +254,13 @@ const Pt = /* @__PURE__ */ Q({
254
254
  }, null, 4), [
255
255
  [me, !j.viewModel.isRotating]
256
256
  ]),
257
- y(He, {
257
+ y(We, {
258
258
  ref_key: "hoverProbe",
259
259
  ref: f
260
260
  }, null, 512)
261
261
  ], 512));
262
262
  }
263
- }), wt = /* @__PURE__ */ te(Nt, [["__scopeId", "data-v-dbb7046f"]]), Yt = ["viewBox"], Wt = ["innerHTML", "onMouseenter", "onMouseleave", "onClick"], Gt = /* @__PURE__ */ Q({
263
+ }), Tt = /* @__PURE__ */ te(Rt, [["__scopeId", "data-v-dbb7046f"]]), Ot = ["viewBox"], $t = ["innerHTML", "onMouseenter", "onMouseleave", "onClick"], Ht = /* @__PURE__ */ Q({
264
264
  __name: "VApartmentChooserSvg",
265
265
  props: {
266
266
  cdnFileResolver: {},
@@ -274,7 +274,7 @@ const Pt = /* @__PURE__ */ Q({
274
274
  },
275
275
  emits: ["selectUnit", "goToUnit", "hoverOver", "hoverOut", "pos"],
276
276
  setup(u, { emit: t }) {
277
- const e = u, l = t, a = r({ x: 0, y: 0, width: 0, height: 0 }), n = r(-1), s = r({}), i = r(null), k = r(new $e()), p = r(), v = r(), m = V(() => v.value.isHoverEnabled);
277
+ const e = u, l = t, a = r({ x: 0, y: 0, width: 0, height: 0 }), n = r(-1), s = r({}), i = r(null), k = r(new $e()), h = r(), v = r(), m = V(() => v.value.isHoverEnabled);
278
278
  Z(
279
279
  () => e.viewModel.currentScene,
280
280
  () => {
@@ -291,7 +291,7 @@ const Pt = /* @__PURE__ */ Q({
291
291
  l("pos", a.value);
292
292
  }), Z(n, (c, f) => {
293
293
  if (c >= 0) {
294
- const b = L(c);
294
+ const b = A(c);
295
295
  l("hoverOver", {
296
296
  hoverApartment: b,
297
297
  closeHandler: () => {
@@ -299,7 +299,7 @@ const Pt = /* @__PURE__ */ Q({
299
299
  }
300
300
  });
301
301
  } else {
302
- const b = L(f);
302
+ const b = A(f);
303
303
  l("hoverOut", {
304
304
  hoverApartment: b,
305
305
  closeHandler: () => {
@@ -315,52 +315,52 @@ const Pt = /* @__PURE__ */ Q({
315
315
  const $ = new DOMParser().parseFromString(B, "image/svg+xml").getElementsByTagName("svg")[0];
316
316
  b.viewBox = $.getAttribute("viewBox"), b.svgObjects = Array.from(
317
317
  $.querySelectorAll("*[data-index]")
318
- ).map((q) => ({
319
- index: parseInt(q.getAttribute("data-index")),
320
- svg: q.innerHTML
318
+ ).map((z) => ({
319
+ index: parseInt(z.getAttribute("data-index")),
320
+ svg: z.innerHTML
321
321
  })), s.value = { ...s.value, [c]: b };
322
322
  });
323
323
  }
324
- p.value.addEventListener("mousemove", R(I, 50));
324
+ h.value.addEventListener("mousemove", R(M, 50));
325
325
  });
326
- function I(c) {
326
+ function M(c) {
327
327
  a.value = {
328
328
  x: c.offsetX,
329
329
  y: c.offsetY,
330
- width: p.value.offsetWidth,
331
- height: p.value.offsetHeight
330
+ width: h.value.offsetWidth,
331
+ height: h.value.offsetHeight
332
332
  };
333
333
  }
334
- function _(c) {
334
+ function L(c) {
335
335
  var f;
336
336
  return (f = e.sceneData.find((b) => b.index === parseInt(c))) == null ? void 0 : f.apartmentId;
337
337
  }
338
- function L(c) {
339
- const f = _(c);
338
+ function A(c) {
339
+ const f = L(c);
340
340
  return e.unitCallback ? e.unitCallback(f) : f;
341
341
  }
342
- function C(c) {
342
+ function _(c) {
343
343
  m.value && (n.value = c);
344
344
  }
345
345
  function E(c) {
346
346
  m.value && (n.value = -1);
347
347
  }
348
348
  function D(c) {
349
- const f = L(c);
349
+ const f = A(c);
350
350
  l("selectUnit", f), m.value && f && e.canGoToUnitCallback(f) ? l("goToUnit", f) : n.value = c;
351
351
  }
352
352
  function g(c) {
353
- const f = _(c), b = L(c);
353
+ const f = L(c), b = A(c);
354
354
  let B = "idle";
355
355
  n.value < 0 && e.selectedUnitId && f === e.selectedUnitId ? B = "selected" : n.value >= 0 && n.value === c && (B = "hover");
356
356
  const U = e.colorCallback(b, B);
357
357
  if (U) {
358
- const { r: $, g: q, b: ee, a: w, s: x } = U;
358
+ const { r: $, g: z, b: J, a: w, s: x } = U;
359
359
  return {
360
360
  strokeWidth: x !== void 0 ? x : 2,
361
- stroke: `rgb(${$}, ${q}, ${ee})`,
361
+ stroke: `rgb(${$}, ${z}, ${J})`,
362
362
  strokeOpacity: 1,
363
- fill: `rgb(${$}, ${q}, ${ee})`,
363
+ fill: `rgb(${$}, ${z}, ${J})`,
364
364
  fillOpacity: w / 255,
365
365
  cursor: `${e.canGoToUnitCallback(b) ? "cursor" : "default"} !important`
366
366
  };
@@ -374,16 +374,16 @@ const Pt = /* @__PURE__ */ Q({
374
374
  cursor: "default !important"
375
375
  };
376
376
  }
377
- const A = r(!1);
377
+ const C = r(!1);
378
378
  function R(c, f) {
379
- return A.value = !0, function(...b) {
380
- A.value && (A.value = !1, c.apply(this, b), setTimeout(() => A.value = !0, f));
379
+ return C.value = !0, function(...b) {
380
+ C.value && (C.value = !1, c.apply(this, b), setTimeout(() => C.value = !0, f));
381
381
  };
382
382
  }
383
- return (c, f) => (h(), F("div", {
383
+ return (c, f) => (p(), F("div", {
384
384
  id: "container",
385
385
  ref_key: "container",
386
- ref: p
386
+ ref: h
387
387
  }, [
388
388
  de(o("div", {
389
389
  class: "svg-container",
@@ -391,32 +391,32 @@ const Pt = /* @__PURE__ */ Q({
391
391
  opacity: !i.value || !i.value.svgObjects ? 0 : 1
392
392
  })
393
393
  }, [
394
- i.value && i.value.svgObjects ? (h(), F("svg", {
394
+ i.value && i.value.svgObjects ? (p(), F("svg", {
395
395
  key: 0,
396
396
  viewBox: i.value.viewBox
397
397
  }, [
398
- (h(!0), F(Ce, null, _e(i.value.svgObjects, ({ index: b, svg: B }) => (h(), F("g", {
398
+ (p(!0), F(Ce, null, _e(i.value.svgObjects, ({ index: b, svg: B }) => (p(), F("g", {
399
399
  key: b,
400
400
  innerHTML: B,
401
401
  style: re(g(b)),
402
- onMouseenter: (U) => C(b),
402
+ onMouseenter: (U) => _(b),
403
403
  onMouseleave: (U) => E(),
404
404
  onClick: (U) => D(b)
405
- }, null, 44, Wt))), 128))
406
- ], 8, Yt)) : H("", !0)
405
+ }, null, 44, $t))), 128))
406
+ ], 8, Ot)) : H("", !0)
407
407
  ], 4), [
408
408
  [me, !c.viewModel.isRotating]
409
409
  ]),
410
- y(He, {
410
+ y(We, {
411
411
  ref_key: "hoverProbe",
412
412
  ref: v
413
413
  }, null, 512)
414
414
  ], 512));
415
415
  }
416
- }), kt = /* @__PURE__ */ te(Gt, [["__scopeId", "data-v-3e771deb"]]), Qt = {
416
+ }), jt = /* @__PURE__ */ te(Ht, [["__scopeId", "data-v-3e771deb"]]), Pt = {
417
417
  key: 0,
418
418
  class: "d-none d-md-flex"
419
- }, zt = /* @__PURE__ */ Q({
419
+ }, Nt = /* @__PURE__ */ Q({
420
420
  __name: "VApartmentChooserNavigation",
421
421
  props: {
422
422
  canGoToUnitCallback: { type: Function, default: () => !0 },
@@ -438,12 +438,12 @@ const Pt = /* @__PURE__ */ Q({
438
438
  }
439
439
  return (s, i) => {
440
440
  const k = T("v-btn");
441
- return h(), F("div", null, [
441
+ return p(), F("div", null, [
442
442
  y(k, {
443
443
  elevation: "1",
444
444
  icon: "mdi-rotate-right",
445
445
  class: "black darken-1",
446
- onClick: i[0] || (i[0] = (p) => s.viewModel.rotateClockwise())
446
+ onClick: i[0] || (i[0] = (h) => s.viewModel.rotateClockwise())
447
447
  }),
448
448
  y(k, {
449
449
  elevation: "1",
@@ -451,7 +451,7 @@ const Pt = /* @__PURE__ */ Q({
451
451
  icon: "mdi-chevron-left",
452
452
  class: "mr-sm-4 ml-sm-8 mr-3 ml-3 black darken-1",
453
453
  disabled: !s.prevUnit,
454
- onClick: i[1] || (i[1] = (p) => l("prevUnit"))
454
+ onClick: i[1] || (i[1] = (h) => l("prevUnit"))
455
455
  }, null, 8, ["disabled"]),
456
456
  y(k, {
457
457
  color: "success darken-2",
@@ -459,11 +459,11 @@ const Pt = /* @__PURE__ */ Q({
459
459
  rounded: "",
460
460
  plain: "",
461
461
  disabled: !s.selectedUnit || !s.canGoToUnitCallback(s.selectedUnit),
462
- onClick: i[2] || (i[2] = (p) => l("goToUnit", s.selectedUnit))
462
+ onClick: i[2] || (i[2] = (h) => l("goToUnit", s.selectedUnit))
463
463
  }, {
464
- default: M(() => [
465
- s.selectedUnit && s.canGoToUnitCallback(s.selectedUnit) ? (h(), F("span", Qt, z(oe(a).getLabel("see-apartment")) + "  ", 1)) : H("", !0),
466
- o("span", null, z(s.selectedUnit && "title" in s.selectedUnit ? s.selectedUnit.title : "-"), 1)
464
+ default: I(() => [
465
+ s.selectedUnit && s.canGoToUnitCallback(s.selectedUnit) ? (p(), F("span", Pt, q(oe(a).getLabel("see-apartment")) + "  ", 1)) : H("", !0),
466
+ o("span", null, q(s.selectedUnit && "title" in s.selectedUnit ? s.selectedUnit.title : "-"), 1)
467
467
  ]),
468
468
  _: 1
469
469
  }, 8, ["disabled"]),
@@ -473,27 +473,27 @@ const Pt = /* @__PURE__ */ Q({
473
473
  icon: "mdi-chevron-right",
474
474
  class: "mr-sm-8 ml-sm-4 mr-3 ml-3 black darken-1",
475
475
  disabled: !s.nextUnit,
476
- onClick: i[3] || (i[3] = (p) => l("nextUnit"))
476
+ onClick: i[3] || (i[3] = (h) => l("nextUnit"))
477
477
  }, null, 8, ["disabled"]),
478
478
  y(k, {
479
479
  elevation: "1",
480
480
  plain: "",
481
481
  icon: "mdi-rotate-left",
482
482
  class: "black darken-1",
483
- onClick: i[4] || (i[4] = (p) => s.viewModel.rotateCounterClockwise())
483
+ onClick: i[4] || (i[4] = (h) => s.viewModel.rotateCounterClockwise())
484
484
  })
485
485
  ]);
486
486
  };
487
487
  }
488
- }), bt = /* @__PURE__ */ te(zt, [["__scopeId", "data-v-02d5a12e"]]);
489
- class tt {
488
+ }), Yt = /* @__PURE__ */ te(Nt, [["__scopeId", "data-v-02d5a12e"]]);
489
+ class Ke {
490
490
  constructor(t) {
491
- J(this, "_numParts");
492
- J(this, "_loadedCount");
493
- J(this, "_isError");
494
- J(this, "_finishedAction");
495
- J(this, "_errorAction");
496
- J(this, "_loadProgressAction");
491
+ ee(this, "_numParts");
492
+ ee(this, "_loadedCount");
493
+ ee(this, "_isError");
494
+ ee(this, "_finishedAction");
495
+ ee(this, "_errorAction");
496
+ ee(this, "_loadProgressAction");
497
497
  this._numParts = t, this._loadedCount = 0, this._isError = !1, this._finishedAction = () => {
498
498
  }, this._errorAction = () => {
499
499
  }, this._loadProgressAction = () => {
@@ -524,12 +524,12 @@ class tt {
524
524
  return Math.round(this._loadedCount * 100 / this._numParts);
525
525
  }
526
526
  }
527
- class at {
527
+ class tt {
528
528
  constructor(t, e, l, a) {
529
- J(this, "_rotator");
530
- J(this, "_direction");
531
- J(this, "_frameIndex");
532
- J(this, "_sceneCount");
529
+ ee(this, "_rotator");
530
+ ee(this, "_direction");
531
+ ee(this, "_frameIndex");
532
+ ee(this, "_sceneCount");
533
533
  this._rotator = t, this._direction = e, this._frameIndex = l, this._sceneCount = a;
534
534
  }
535
535
  get atEnd() {
@@ -542,7 +542,7 @@ class at {
542
542
  const t = this._rotator.clampFrameIndex(
543
543
  this._frameIndex + this._direction
544
544
  ), e = this._rotator.isCardinalFrame(t) ? this._sceneCount - 1 : this._sceneCount;
545
- return new at(
545
+ return new tt(
546
546
  this._rotator,
547
547
  this._direction,
548
548
  t,
@@ -550,15 +550,15 @@ class at {
550
550
  );
551
551
  }
552
552
  }
553
- class qt {
553
+ class Wt {
554
554
  constructor(t, e) {
555
- J(this, "_cardinalFrames");
556
- J(this, "_totalFrameCount");
555
+ ee(this, "_cardinalFrames");
556
+ ee(this, "_totalFrameCount");
557
557
  this._cardinalFrames = t, this._totalFrameCount = e;
558
558
  }
559
559
  start(t, e, l) {
560
560
  const a = this.startFrameIndexForScene(e);
561
- return new at(this, t, a, l);
561
+ return new tt(this, t, a, l);
562
562
  }
563
563
  isCardinalFrame(t) {
564
564
  return this._cardinalFrames.includes(t);
@@ -570,20 +570,20 @@ class qt {
570
570
  return this._cardinalFrames[t];
571
571
  }
572
572
  }
573
- const Zt = {
573
+ const Gt = {
574
574
  key: 0,
575
575
  class: "fill-parent d-flex justify-center align-center blue-grey lighten-5"
576
- }, Xt = {
576
+ }, Qt = {
577
577
  key: 1,
578
578
  class: "frame-container"
579
- }, Kt = {
579
+ }, qt = {
580
580
  key: 0,
581
581
  class: "frame-image"
582
- }, Jt = ["srcset", "type"], eo = ["src"], to = {
582
+ }, zt = ["srcset", "type"], Zt = ["src"], Xt = {
583
583
  key: 2,
584
584
  id: "image-stack",
585
585
  class: "frame-container"
586
- }, oo = ["alt"], no = ["srcset"], ao = ["src"], ct = 64, Ye = 4, lo = 120, io = /* @__PURE__ */ Q({
586
+ }, Kt = ["alt"], Jt = ["srcset"], eo = ["src"], rt = 64, Ne = 4, to = 120, oo = /* @__PURE__ */ Q({
587
587
  __name: "VApartmentChooserRotator",
588
588
  props: {
589
589
  viewModel: {},
@@ -593,26 +593,26 @@ const Zt = {
593
593
  },
594
594
  emits: ["loaded", "error", "progress"],
595
595
  setup(u, { emit: t }) {
596
- const e = u, l = t, a = _(), n = r(
597
- new tt(a.length).onLoadFinished(() => l("loaded")).onLoadProgress((D) => l("progress", D)).onLoadError(() => l("error"))
596
+ const e = u, l = t, a = L(), n = r(
597
+ new Ke(a.length).onLoadFinished(() => l("loaded")).onLoadProgress((D) => l("progress", D)).onLoadError(() => l("error"))
598
598
  ), s = r(
599
- new qt(e.cardinalFrames, ct)
600
- ), i = r(a), k = r(!1), p = V(() => i.value.find((D) => D.show));
599
+ new Wt(e.cardinalFrames, rt)
600
+ ), i = r(a), k = r(!1), h = V(() => i.value.find((D) => D.show));
601
601
  Z(
602
602
  () => e.viewModel.currentScene,
603
603
  (D, g) => {
604
- const A = E(g, D), R = C(g, D);
605
- v(g, A, R);
604
+ const C = E(g, D), R = _(g, D);
605
+ v(g, C, R);
606
606
  }
607
607
  ), ce(() => {
608
- I();
608
+ M();
609
609
  });
610
- function v(D, g, A) {
610
+ function v(D, g, C) {
611
611
  e.viewModel.isRotating || (e.viewModel.isRotating = !0, m(
612
612
  s.value.start(
613
613
  g,
614
- D % Ye,
615
- A
614
+ D % Ne,
615
+ C
616
616
  )
617
617
  ));
618
618
  }
@@ -620,60 +620,60 @@ const Zt = {
620
620
  setTimeout(() => {
621
621
  i.value[D.frameIndex].show = !1;
622
622
  const g = D.nextFrame();
623
- i.value[g.frameIndex].show = !0, g.atEnd ? I() : window.requestAnimationFrame(() => m(g));
624
- }, 1e3 / lo);
623
+ i.value[g.frameIndex].show = !0, g.atEnd ? M() : window.requestAnimationFrame(() => m(g));
624
+ }, 1e3 / to);
625
625
  }
626
- function I() {
626
+ function M() {
627
627
  const D = s.value.startFrameIndexForScene(
628
- e.viewModel.currentScene % Ye
628
+ e.viewModel.currentScene % Ne
629
629
  );
630
630
  D in i.value && (i.value[D].show = !0), e.viewModel.isRotating = !1;
631
631
  }
632
- function _() {
632
+ function L() {
633
633
  const D = [];
634
- for (let g = 0; g < ct; g++) {
635
- const { sourceSet: A, defaultPath: R } = L(g);
634
+ for (let g = 0; g < rt; g++) {
635
+ const { sourceSet: C, defaultPath: R } = A(g);
636
636
  D.push({
637
637
  index: g,
638
- sourceSet: A,
638
+ sourceSet: C,
639
639
  defaultPath: R,
640
640
  show: !1
641
641
  });
642
642
  }
643
643
  return D;
644
644
  }
645
- function L(D) {
646
- const g = ("0000" + (D + 1)).slice(-4), A = e.build ? `?v=${e.build}` : "", R = [
647
- `${e.cdnFileResolver(`/480/${g}.jpg${A}`)} 480w`,
648
- `${e.cdnFileResolver(`/960/${g}.jpg${A}`)} 960w`,
649
- `${e.cdnFileResolver(`/1280/${g}.jpg${A}`)} 1280w`
645
+ function A(D) {
646
+ const g = ("0000" + (D + 1)).slice(-4), C = e.build ? `?v=${e.build}` : "", R = [
647
+ `${e.cdnFileResolver(`/480/${g}.jpg${C}`)} 480w`,
648
+ `${e.cdnFileResolver(`/960/${g}.jpg${C}`)} 960w`,
649
+ `${e.cdnFileResolver(`/1280/${g}.jpg${C}`)} 1280w`
650
650
  ].join(","), c = e.cdnFileResolver(
651
- `/480/${g}.jpg${A}`
651
+ `/480/${g}.jpg${C}`
652
652
  );
653
653
  return { sourceSet: R, defaultPath: c };
654
654
  }
655
- function C(D, g) {
656
- const A = Ye / 2, R = Math.abs(D - g);
657
- return R > A ? Ye - R : R;
655
+ function _(D, g) {
656
+ const C = Ne / 2, R = Math.abs(D - g);
657
+ return R > C ? Ne - R : R;
658
658
  }
659
659
  function E(D, g) {
660
660
  if (D === g)
661
661
  return 0;
662
- const R = Math.abs(D - g) < Ye / 2;
662
+ const R = Math.abs(D - g) < Ne / 2;
663
663
  return R && D < g || !R && D > g ? 1 : -1;
664
664
  }
665
665
  return (D, g) => {
666
- const A = T("v-icon");
667
- return h(), F("div", null, [
668
- n.value.isError ? (h(), F("div", Zt, [
669
- y(A, { "x-large": "" }, {
670
- default: M(() => [
666
+ const C = T("v-icon");
667
+ return p(), F("div", null, [
668
+ n.value.isError ? (p(), F("div", Gt, [
669
+ y(C, { "x-large": "" }, {
670
+ default: I(() => [
671
671
  se("mdi-alert-circle-outline")
672
672
  ]),
673
673
  _: 1
674
674
  })
675
- ])) : k.value ? (h(), F("div", to, [
676
- (h(!0), F(Ce, null, _e(i.value, (R) => (h(), F("picture", {
675
+ ])) : k.value ? (p(), F("div", Xt, [
676
+ (p(!0), F(Ce, null, _e(i.value, (R) => (p(), F("picture", {
677
677
  key: R.index,
678
678
  alt: R.index,
679
679
  class: ye({ "frame-image": !0, show: R.show })
@@ -681,31 +681,31 @@ const Zt = {
681
681
  o("source", {
682
682
  srcset: R.sourceSet,
683
683
  type: "image/jpeg"
684
- }, null, 8, no),
684
+ }, null, 8, Jt),
685
685
  o("img", {
686
686
  src: R.defaultPath,
687
687
  alt: "Building image",
688
688
  onLoad: g[2] || (g[2] = (c) => n.value.partLoaded()),
689
689
  onError: g[3] || (g[3] = (c) => n.value.errorDetected())
690
- }, null, 40, ao)
691
- ], 10, oo))), 128))
692
- ])) : (h(), F("div", Xt, [
693
- p.value ? (h(), F("picture", Kt, [
690
+ }, null, 40, eo)
691
+ ], 10, Kt))), 128))
692
+ ])) : (p(), F("div", Qt, [
693
+ h.value ? (p(), F("picture", qt, [
694
694
  o("source", {
695
- srcset: p.value.sourceSet,
696
- type: p.value.type
697
- }, null, 8, Jt),
695
+ srcset: h.value.sourceSet,
696
+ type: h.value.type
697
+ }, null, 8, zt),
698
698
  o("img", {
699
- src: p.value.defaultPath,
699
+ src: h.value.defaultPath,
700
700
  onLoad: g[0] || (g[0] = (R) => k.value = !0),
701
701
  onError: g[1] || (g[1] = (R) => n.value.errorDetected())
702
- }, null, 40, eo)
702
+ }, null, 40, Zt)
703
703
  ])) : H("", !0)
704
704
  ]))
705
705
  ]);
706
706
  };
707
707
  }
708
- }), yt = /* @__PURE__ */ te(io, [["__scopeId", "data-v-8e71d825"]]), so = /* @__PURE__ */ Q({
708
+ }), no = /* @__PURE__ */ te(oo, [["__scopeId", "data-v-8e71d825"]]), ao = /* @__PURE__ */ Q({
709
709
  __name: "VFloatingCard",
710
710
  props: {
711
711
  pos: {},
@@ -719,23 +719,23 @@ const Zt = {
719
719
  });
720
720
  return (n, s) => {
721
721
  const i = T("v-dialog"), k = T("v-fade-transition");
722
- return h(), N(k, {
722
+ return p(), N(k, {
723
723
  origin: a.value.replace("-", " ") + " " + n.pos.x + " " + n.pos.y
724
724
  }, {
725
- default: M(() => [
726
- n.isHoverable ? (h(), F("div", {
725
+ default: I(() => [
726
+ n.isHoverable ? (p(), F("div", {
727
727
  key: 0,
728
728
  class: ye(["floating-card", a.value]),
729
729
  style: re({ left: `${n.pos.x}px`, top: `${n.pos.y}px`, pointerEvents: "none" })
730
730
  }, [
731
731
  ie(n.$slots, "default", { isHoverable: n.isHoverable }, void 0, !0)
732
- ], 6)) : (h(), N(i, {
732
+ ], 6)) : (p(), N(i, {
733
733
  key: 1,
734
734
  value: !0,
735
735
  width: "auto",
736
- "onClick:outside": s[0] || (s[0] = (p) => l("outside", p))
736
+ "onClick:outside": s[0] || (s[0] = (h) => l("outside", h))
737
737
  }, {
738
- default: M(() => [
738
+ default: I(() => [
739
739
  ie(n.$slots, "default", { isHoverable: n.isHoverable }, void 0, !0)
740
740
  ]),
741
741
  _: 3
@@ -745,7 +745,7 @@ const Zt = {
745
745
  }, 8, ["origin"]);
746
746
  };
747
747
  }
748
- }), Ze = /* @__PURE__ */ te(so, [["__scopeId", "data-v-0695e74f"]]), ro = /* @__PURE__ */ Q({
748
+ }), ot = /* @__PURE__ */ te(ao, [["__scopeId", "data-v-0695e74f"]]), lo = /* @__PURE__ */ Q({
749
749
  __name: "VZoomBox",
750
750
  props: {
751
751
  desktop: { type: Boolean, default: !0 },
@@ -756,13 +756,13 @@ const Zt = {
756
756
  },
757
757
  emits: ["update"],
758
758
  setup(u, { emit: t }) {
759
- const e = u, l = t, a = r(100), n = r(0), s = r(0), i = r(!1), k = r(!1), p = r(void 0), v = r(!1), m = r(), I = V(() => `translateX(${n.value}px) translateY(${s.value}px) scale(${_.value})`), _ = V(() => a.value / 100), L = V(() => e.maxScale * 100);
760
- Z([_, n, s], () => {
759
+ const e = u, l = t, a = r(100), n = r(0), s = r(0), i = r(!1), k = r(!1), h = r(void 0), v = r(!1), m = r(), M = V(() => `translateX(${n.value}px) translateY(${s.value}px) scale(${L.value})`), L = V(() => a.value / 100), A = V(() => e.maxScale * 100);
760
+ Z([L, n, s], () => {
761
761
  W();
762
762
  }), Z(
763
763
  () => e.desktop,
764
764
  () => {
765
- e.desktop ? C() : D();
765
+ e.desktop ? _() : D();
766
766
  }
767
767
  ), Z(
768
768
  () => e.mobile,
@@ -770,12 +770,12 @@ const Zt = {
770
770
  e.mobile ? E() : g();
771
771
  }
772
772
  ), ce(() => {
773
- e.desktop && C(), e.mobile && E();
773
+ e.desktop && _(), e.mobile && E();
774
774
  }), Oe(() => {
775
775
  e.desktop && D(), e.mobile && g();
776
776
  });
777
- function C() {
778
- m.value.addEventListener("wheel", A, {
777
+ function _() {
778
+ m.value.addEventListener("wheel", C, {
779
779
  capture: !0
780
780
  }), m.value.addEventListener("mousedown", R, {
781
781
  capture: !0
@@ -799,7 +799,7 @@ const Zt = {
799
799
  });
800
800
  }
801
801
  function D() {
802
- m.value.removeEventListener("wheel", A, {
802
+ m.value.removeEventListener("wheel", C, {
803
803
  capture: !0
804
804
  }), m.value.removeEventListener("mousedown", R, {
805
805
  capture: !0
@@ -822,20 +822,20 @@ const Zt = {
822
822
  capture: !0
823
823
  });
824
824
  }
825
- function A(S) {
826
- const { x: Y, y: X } = q(S);
825
+ function C(S) {
826
+ const { x: Y, y: X } = z(S);
827
827
  x(-S.deltaY / 10, Y, X), S.preventDefault();
828
828
  }
829
829
  function R(S) {
830
- i.value = !0, v.value = !1, p.value = S;
830
+ i.value = !0, v.value = !1, h.value = S;
831
831
  }
832
832
  function c(S) {
833
833
  if (i.value) {
834
- const { x: Y, y: X } = q(S), { x: K, y: ne } = q(p.value), ue = {
834
+ const { x: Y, y: X } = z(S), { x: K, y: ne } = z(h.value), ue = {
835
835
  x: Y - K,
836
836
  y: X - ne
837
837
  };
838
- ee(ue.x), w(ue.y), v.value = !0, p.value = S;
838
+ J(ue.x), w(ue.y), v.value = !0, h.value = S;
839
839
  }
840
840
  }
841
841
  function f(S) {
@@ -845,87 +845,87 @@ const Zt = {
845
845
  i.value && (v.value && e.consumeMouseClickWhenMoved && (S.preventDefault(), S.stopImmediatePropagation()), i.value = !1);
846
846
  }
847
847
  function B(S) {
848
- i.value = S.touches.length === 1, k.value = S.touches.length === 2, p.value = S;
848
+ i.value = S.touches.length === 1, k.value = S.touches.length === 2, h.value = S;
849
849
  }
850
850
  function U(S) {
851
851
  if (i.value) {
852
- const { x: Y, y: X } = q(S.touches[0]), { x: K, y: ne } = q(p.value.touches[0]), ue = {
852
+ const { x: Y, y: X } = z(S.touches[0]), { x: K, y: ne } = z(h.value.touches[0]), ue = {
853
853
  x: Y - K,
854
854
  y: X - ne
855
855
  };
856
- ee(ue.x), w(ue.y);
856
+ J(ue.x), w(ue.y);
857
857
  } else if (k.value && S.touches.length === 2) {
858
- const { x: Y, y: X } = q(S.touches[0]), { x: K, y: ne } = q(p.value.touches[0]), { x: ue, y: ve } = q(S.touches[1]), { x: he, y: fe } = q(p.value.touches[1]), ge = Math.hypot(K - he, ne - fe), Ie = Math.hypot(Y - ue, X - ve), Me = (ue + Y) / 2, Pe = (ve + X) / 2;
859
- x(Ie - ge, Me, Pe);
858
+ const { x: Y, y: X } = z(S.touches[0]), { x: K, y: ne } = z(h.value.touches[0]), { x: ue, y: ve } = z(S.touches[1]), { x: he, y: fe } = z(h.value.touches[1]), ge = Math.hypot(K - he, ne - fe), Ie = Math.hypot(Y - ue, X - ve), Me = (ue + Y) / 2, je = (ve + X) / 2;
859
+ x(Ie - ge, Me, je);
860
860
  }
861
- p.value = S;
861
+ h.value = S;
862
862
  }
863
863
  function $() {
864
864
  i.value = !1, k.value = !1;
865
865
  }
866
- function q(S) {
866
+ function z(S) {
867
867
  const { left: Y, top: X } = m.value.getBoundingClientRect();
868
868
  return {
869
869
  x: S.clientX - Y,
870
870
  y: S.clientY - X
871
871
  };
872
872
  }
873
- function ee(S) {
874
- const Y = m.value.clientWidth, X = Y * _.value;
873
+ function J(S) {
874
+ const Y = m.value.clientWidth, X = Y * L.value;
875
875
  n.value = Math.max(
876
876
  Math.min(0, n.value + S),
877
877
  -(X - Y)
878
878
  );
879
879
  }
880
880
  function w(S) {
881
- const Y = m.value.clientHeight, X = Y * _.value;
881
+ const Y = m.value.clientHeight, X = Y * L.value;
882
882
  s.value = Math.max(
883
883
  Math.min(0, s.value + S),
884
884
  -(X - Y)
885
885
  );
886
886
  }
887
887
  function x(S, Y, X) {
888
- const K = m.value.clientWidth, ne = m.value.clientHeight, ue = K * _.value, ve = ne * _.value;
889
- a.value = Math.min(Math.max(100, a.value + S), L.value);
890
- const he = K * _.value, fe = ne * _.value, ge = he - ue, Ie = fe - ve;
891
- n.value -= Y / K * ge, s.value -= X / ne * Ie, ee(0), w(0);
888
+ const K = m.value.clientWidth, ne = m.value.clientHeight, ue = K * L.value, ve = ne * L.value;
889
+ a.value = Math.min(Math.max(100, a.value + S), A.value);
890
+ const he = K * L.value, fe = ne * L.value, ge = he - ue, Ie = fe - ve;
891
+ n.value -= Y / K * ge, s.value -= X / ne * Ie, J(0), w(0);
892
892
  }
893
893
  function W() {
894
894
  l("update", {
895
- scale: _.value,
895
+ scale: L.value,
896
896
  x: n.value,
897
897
  y: s.value,
898
898
  resolve: (S, Y) => {
899
- const X = m.value.clientWidth, K = m.value.clientHeight, ne = n.value / -_.value, ue = s.value / -_.value, ve = ne + X / _.value, he = ue + K / _.value, fe = S / X * (ve - ne) + ne, ge = Y / K * (he - ue) + ue;
899
+ const X = m.value.clientWidth, K = m.value.clientHeight, ne = n.value / -L.value, ue = s.value / -L.value, ve = ne + X / L.value, he = ue + K / L.value, fe = S / X * (ve - ne) + ne, ge = Y / K * (he - ue) + ue;
900
900
  return { x: fe, y: ge };
901
901
  }
902
902
  });
903
903
  }
904
- return (S, Y) => (h(), F("div", {
904
+ return (S, Y) => (p(), F("div", {
905
905
  ref_key: "box",
906
906
  ref: m,
907
907
  class: "zoom-box-container"
908
908
  }, [
909
909
  o("div", {
910
- style: re({ "transform-origin": "top left", transform: I.value }),
910
+ style: re({ "transform-origin": "top left", transform: M.value }),
911
911
  class: "zoom-box"
912
912
  }, [
913
913
  ie(S.$slots, "default", {}, void 0, !0)
914
914
  ], 4)
915
915
  ], 512));
916
916
  }
917
- }), Xe = /* @__PURE__ */ te(ro, [["__scopeId", "data-v-52f62ef2"]]), lt = 4;
918
- function _t(u) {
919
- return u < lt ? u + 1 : 1;
917
+ }), nt = /* @__PURE__ */ te(lo, [["__scopeId", "data-v-52f62ef2"]]), at = 4;
918
+ function ft(u) {
919
+ return u < at ? u + 1 : 1;
920
920
  }
921
- function uo(u) {
922
- return u > 1 ? u - 1 : lt;
921
+ function io(u) {
922
+ return u > 1 ? u - 1 : at;
923
923
  }
924
- class co {
924
+ class so {
925
925
  constructor(t) {
926
- J(this, "_state");
927
- J(this, "_navigator");
928
- J(this, "_sceneModel");
926
+ ee(this, "_state");
927
+ ee(this, "_navigator");
928
+ ee(this, "_sceneModel");
929
929
  this._state = {
930
930
  isRotating: !1,
931
931
  currentScene: t
@@ -954,16 +954,16 @@ class co {
954
954
  }
955
955
  rotateCounterClockwise() {
956
956
  this.unlessRotatingDo(() => {
957
- this.currentScene = _t(this.currentScene);
957
+ this.currentScene = ft(this.currentScene);
958
958
  });
959
959
  }
960
960
  rotateClockwise() {
961
961
  this.unlessRotatingDo(() => {
962
- this.currentScene = uo(this.currentScene);
962
+ this.currentScene = io(this.currentScene);
963
963
  });
964
964
  }
965
965
  }
966
- const vo = {
966
+ const ro = {
967
967
  // virtual tour default labels
968
968
  interior: "Interiør",
969
969
  "see-a-selection-of-the-options-in-the-project": "Se et utvalg av tilvalgsmulighetene i prosjektet.",
@@ -1020,9 +1020,9 @@ const vo = {
1020
1020
  };
1021
1021
  class Le {
1022
1022
  constructor(t = null, e = null) {
1023
- J(this, "_labels");
1024
- J(this, "_language");
1025
- this._labels = { ...vo, ...t || {} }, this._language = e || "en";
1023
+ ee(this, "_labels");
1024
+ ee(this, "_language");
1025
+ this._labels = { ...ro, ...t || {} }, this._language = e || "en";
1026
1026
  }
1027
1027
  getLabel(t) {
1028
1028
  return t in this._labels ? this.get(this._labels[t]) : t;
@@ -1038,10 +1038,10 @@ class Le {
1038
1038
  return "";
1039
1039
  }
1040
1040
  }
1041
- const mo = { key: 0 }, po = { class: "interactive-viewer" }, ho = { class: "fill-parent" }, fo = { key: 0 }, go = {
1041
+ const uo = { key: 0 }, co = { class: "interactive-viewer" }, vo = { class: "fill-parent" }, mo = { key: 0 }, po = {
1042
1042
  key: 1,
1043
1043
  class: "navigation"
1044
- }, wo = { key: 2 }, ko = 4, bo = /* @__PURE__ */ Q({
1044
+ }, ho = { key: 2 }, fo = 4, go = /* @__PURE__ */ Q({
1045
1045
  __name: "VApartmentChooser",
1046
1046
  props: {
1047
1047
  i18n: {},
@@ -1068,11 +1068,11 @@ const mo = { key: 0 }, po = { class: "interactive-viewer" }, ho = { class: "fill
1068
1068
  "i18n",
1069
1069
  l.i18n ? new Le(l.i18n.labels, l.i18n.language) : new Le()
1070
1070
  );
1071
- const n = r({ isReady: !1, isError: !1, progress: void 0 }), s = r(null), i = r(null), k = r(null), p = r(void 0), v = r(new $e()), m = r({ x: 0, y: 0, width: 0, height: 0 }), I = r(void 0), _ = r(void 0), L = r(null), C = V(() => L.value.isHoverEnabled), E = V(() => l.unitCallback ? l.unitCallback(l.selectedUnitId) : l.selectedUnitId), D = V(() => l.useSvg ? kt : wt);
1072
- qe(() => {
1073
- if (l.selectedUnitId && p.value) {
1071
+ const n = r({ isReady: !1, isError: !1, progress: void 0 }), s = r(null), i = r(null), k = r(null), h = r(void 0), v = r(new $e()), m = r({ x: 0, y: 0, width: 0, height: 0 }), M = r(void 0), L = r(void 0), A = r(null), _ = V(() => A.value.isHoverEnabled), E = V(() => l.unitCallback ? l.unitCallback(l.selectedUnitId) : l.selectedUnitId), D = V(() => l.useSvg ? jt : Tt);
1072
+ ze(() => {
1073
+ if (l.selectedUnitId && h.value) {
1074
1074
  const c = s.value[l.selectedUnitId];
1075
- c && (p.value.currentScene = c);
1075
+ c && (h.value.currentScene = c);
1076
1076
  }
1077
1077
  }), ce(async () => {
1078
1078
  let c = null;
@@ -1083,7 +1083,7 @@ const mo = { key: 0 }, po = { class: "interactive-viewer" }, ho = { class: "fill
1083
1083
  } catch {
1084
1084
  console.info("apartmentChooser.json not found");
1085
1085
  }
1086
- const f = c && c.startScene !== void 0 ? c.startScene : ko;
1086
+ const f = c && c.startScene !== void 0 ? c.startScene : fo;
1087
1087
  k.value = c && c.scenes !== void 0 ? c.scenes : e, i.value = c && c.sceneData !== void 0 ? c.sceneData.map((U) => ({
1088
1088
  apartmentId: U.apartmentID,
1089
1089
  index: U.index
@@ -1092,19 +1092,19 @@ const mo = { key: 0 }, po = { class: "interactive-viewer" }, ho = { class: "fill
1092
1092
  return { unitId: U.apartmentID, scene: $ };
1093
1093
  }).reduce((U, $) => ({ ...U, [$.unitId]: $.scene }), {}) : l.buildingScenesByApartmentResolver ? await l.buildingScenesByApartmentResolver() : [];
1094
1094
  const b = (U, $ = "unitId") => {
1095
- let q = f, ee = [];
1096
- for (let w = 0; w < lt; w++)
1097
- ee.push(q), q = _t(q);
1095
+ let z = f, J = [];
1096
+ for (let w = 0; w < at; w++)
1097
+ J.push(z), z = ft(z);
1098
1098
  return U.sort((w, x) => {
1099
- const W = ee.findIndex(
1099
+ const W = J.findIndex(
1100
1100
  (Y) => Y === s.value[w[$]]
1101
- ), S = ee.findIndex(
1101
+ ), S = J.findIndex(
1102
1102
  (Y) => Y === s.value[x[$]]
1103
1103
  );
1104
1104
  return W < S ? -1 : W > S ? 1 : 0;
1105
1105
  }), U;
1106
1106
  }, B = (U) => {
1107
- p.value = new co(U);
1107
+ h.value = new so(U);
1108
1108
  };
1109
1109
  a("initialized", {
1110
1110
  scene: f,
@@ -1118,35 +1118,35 @@ const mo = { key: 0 }, po = { class: "interactive-viewer" }, ho = { class: "fill
1118
1118
  function g(c) {
1119
1119
  m.value = c;
1120
1120
  }
1121
- function A(c) {
1122
- _.value = c.hoverApartment, I.value = c.closeHandler, a("hoverOverUnit", c.hoverApartment);
1121
+ function C(c) {
1122
+ L.value = c.hoverApartment, M.value = c.closeHandler, a("hoverOverUnit", c.hoverApartment);
1123
1123
  }
1124
1124
  function R(c) {
1125
- _.value = null, I.value = c.closeHandler, a("hoverOutUnit", c.hoverApartment);
1125
+ L.value = null, M.value = c.closeHandler, a("hoverOutUnit", c.hoverApartment);
1126
1126
  }
1127
1127
  return (c, f) => {
1128
1128
  const b = T("v-progress-linear");
1129
- return p.value ? (h(), F("div", mo, [
1130
- o("div", po, [
1131
- o("div", ho, [
1132
- y(Xe, {
1129
+ return h.value ? (p(), F("div", uo, [
1130
+ o("div", co, [
1131
+ o("div", vo, [
1132
+ y(nt, {
1133
1133
  desktop: n.value.isReady && c.interactiveDesktop,
1134
1134
  mobile: n.value.isReady && c.interactiveMobile
1135
1135
  }, {
1136
- default: M(() => [
1137
- y(yt, {
1136
+ default: I(() => [
1137
+ y(no, {
1138
1138
  "cdn-file-resolver": c.cdnFileResolver,
1139
- "view-model": p.value,
1139
+ "view-model": h.value,
1140
1140
  "cardinal-frames": k.value,
1141
1141
  build: c.build,
1142
1142
  onProgress: f[0] || (f[0] = (B) => n.value.progress = B),
1143
1143
  onLoaded: f[1] || (f[1] = (B) => n.value.isReady = !0),
1144
1144
  onError: f[2] || (f[2] = (B) => n.value.isError = !0)
1145
1145
  }, null, 8, ["cdn-file-resolver", "view-model", "cardinal-frames", "build"]),
1146
- n.value.isReady ? (h(), F("div", fo, [
1147
- (h(), N(mt(D.value), {
1146
+ n.value.isReady ? (p(), F("div", mo, [
1147
+ (p(), N(dt(D.value), {
1148
1148
  "cdn-file-resolver": c.cdnFileResolver,
1149
- "view-model": p.value,
1149
+ "view-model": h.value,
1150
1150
  "selected-unit-id": c.selectedUnitId,
1151
1151
  "scene-data": i.value,
1152
1152
  "color-callback": c.colorCallback,
@@ -1155,12 +1155,12 @@ const mo = { key: 0 }, po = { class: "interactive-viewer" }, ho = { class: "fill
1155
1155
  "draw-observer": c.drawObserver,
1156
1156
  onSelectUnit: f[3] || (f[3] = (B) => a("selectUnit", B)),
1157
1157
  onGoToUnit: f[4] || (f[4] = (B) => a("goToUnit", B)),
1158
- onHoverOver: A,
1158
+ onHoverOver: C,
1159
1159
  onHoverOut: R,
1160
1160
  onPos: g
1161
1161
  }, {
1162
- default: M((B) => [
1163
- ie(c.$slots, "default", pt(ht(B)), void 0, !0)
1162
+ default: I((B) => [
1163
+ ie(c.$slots, "default", vt(mt(B)), void 0, !0)
1164
1164
  ]),
1165
1165
  _: 3
1166
1166
  }, 40, ["cdn-file-resolver", "view-model", "selected-unit-id", "scene-data", "color-callback", "unit-callback", "can-go-to-unit-callback", "draw-observer"]))
@@ -1168,36 +1168,36 @@ const mo = { key: 0 }, po = { class: "interactive-viewer" }, ho = { class: "fill
1168
1168
  ]),
1169
1169
  _: 3
1170
1170
  }, 8, ["desktop", "mobile"]),
1171
- _.value && c.showCards ? (h(), N(Ze, {
1171
+ L.value && c.showCards ? (p(), N(ot, {
1172
1172
  key: 0,
1173
- "is-hoverable": C.value,
1173
+ "is-hoverable": _.value,
1174
1174
  pos: m.value,
1175
- onOutside: I.value
1175
+ onOutside: M.value
1176
1176
  }, {
1177
- default: M(() => [
1177
+ default: I(() => [
1178
1178
  ie(c.$slots, "default", {
1179
- unit: _.value,
1180
- canGoToUnit: c.canGoToUnitCallback(_.value),
1181
- goToUnit: () => c.canGoToUnitCallback(_.value) && a("goToUnit", _.value),
1179
+ unit: L.value,
1180
+ canGoToUnit: c.canGoToUnitCallback(L.value),
1181
+ goToUnit: () => c.canGoToUnitCallback(L.value) && a("goToUnit", L.value),
1182
1182
  pos: m.value,
1183
- isHoverable: C.value,
1184
- close: I.value
1183
+ isHoverable: _.value,
1184
+ close: M.value
1185
1185
  }, void 0, !0)
1186
1186
  ]),
1187
1187
  _: 3
1188
1188
  }, 8, ["is-hoverable", "pos", "onOutside"])) : H("", !0),
1189
- n.value.isReady ? (h(), F("div", go, [
1190
- y(bt, {
1189
+ n.value.isReady ? (p(), F("div", po, [
1190
+ y(Yt, {
1191
1191
  "can-go-to-unit-callback": c.canGoToUnitCallback,
1192
1192
  "selected-unit": E.value,
1193
1193
  "prev-unit": c.prevUnit,
1194
1194
  "next-unit": c.nextUnit,
1195
- "view-model": p.value,
1195
+ "view-model": h.value,
1196
1196
  onGoToUnit: f[5] || (f[5] = (B) => a("goToUnit", B)),
1197
1197
  onPrevUnit: f[6] || (f[6] = (B) => a("navUnit", c.prevUnit)),
1198
1198
  onNextUnit: f[7] || (f[7] = (B) => a("navUnit", c.nextUnit))
1199
1199
  }, null, 8, ["can-go-to-unit-callback", "selected-unit", "prev-unit", "next-unit", "view-model"])
1200
- ])) : n.value.isError ? H("", !0) : (h(), F("div", wo, [
1200
+ ])) : n.value.isError ? H("", !0) : (p(), F("div", ho, [
1201
1201
  y(b, {
1202
1202
  indeterminate: !n.value.progress,
1203
1203
  value: n.value.progress
@@ -1205,14 +1205,14 @@ const mo = { key: 0 }, po = { class: "interactive-viewer" }, ho = { class: "fill
1205
1205
  ]))
1206
1206
  ])
1207
1207
  ]),
1208
- y(He, {
1208
+ y(We, {
1209
1209
  ref_key: "hoverProbe",
1210
- ref: L
1210
+ ref: A
1211
1211
  }, null, 512)
1212
1212
  ])) : H("", !0);
1213
1213
  };
1214
1214
  }
1215
- }), yo = /* @__PURE__ */ te(bo, [["__scopeId", "data-v-52c91082"]]), _o = "data:image/png;base64,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", Ke = /* @__PURE__ */ Q({
1215
+ }), wo = /* @__PURE__ */ te(go, [["__scopeId", "data-v-52c91082"]]), ko = "data:image/png;base64,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", lt = /* @__PURE__ */ Q({
1216
1216
  __name: "VNorthDirection",
1217
1217
  props: {
1218
1218
  longitude: {}
@@ -1224,16 +1224,16 @@ const mo = { key: 0 }, po = { class: "interactive-viewer" }, ho = { class: "fill
1224
1224
  }));
1225
1225
  return (l, a) => {
1226
1226
  const n = T("v-img");
1227
- return h(), N(n, {
1228
- src: oe(_o),
1227
+ return p(), N(n, {
1228
+ src: oe(ko),
1229
1229
  style: re(e.value)
1230
1230
  }, null, 8, ["src", "style"]);
1231
1231
  };
1232
1232
  }
1233
- }), Co = { class: "sunsim-bar-wrapper" }, Ao = { class: "sunsim-date d-flex align-center pl-5 pr-5" }, Lo = {
1233
+ }), bo = { class: "sunsim-bar-wrapper" }, yo = { class: "sunsim-date d-flex align-center pl-5 pr-5" }, _o = {
1234
1234
  key: 1,
1235
1235
  class: "text-center text-body-1"
1236
- }, Io = { class: "sunsim-wrapper d-flex align-center px-3" }, Mo = { class: "sunsim-time-label text-body-1 font-weight-normal ml-2" }, So = /* @__PURE__ */ Q({
1236
+ }, Co = { class: "sunsim-wrapper d-flex align-center px-3" }, Ao = { class: "sunsim-time-label text-body-1 font-weight-normal ml-2" }, Lo = /* @__PURE__ */ Q({
1237
1237
  __name: "VBuildingChooserSunSimControl",
1238
1238
  props: {
1239
1239
  modelValue: {},
@@ -1252,7 +1252,7 @@ const mo = { key: 0 }, po = { class: "interactive-viewer" }, ho = { class: "fill
1252
1252
  const i = V(() => {
1253
1253
  const v = Math.floor(a.value / 2).toString().padStart(2, "0"), m = a.value % 2 === 0 ? "00" : "30";
1254
1254
  return `${v}:${m}`;
1255
- }), k = V(() => e.dateSelector.dates.map(s)), p = V({
1255
+ }), k = V(() => e.dateSelector.dates.map(s)), h = V({
1256
1256
  get() {
1257
1257
  return s(e.dateSelector.selectedDate);
1258
1258
  },
@@ -1269,18 +1269,18 @@ const mo = { key: 0 }, po = { class: "interactive-viewer" }, ho = { class: "fill
1269
1269
  (v) => {
1270
1270
  a.value = Math.floor(v);
1271
1271
  }
1272
- ), qe(() => {
1272
+ ), ze(() => {
1273
1273
  n.value = s(e.dateSelector.selectedDate);
1274
1274
  }), (v, m) => {
1275
- const I = T("v-icon"), _ = T("v-select"), L = T("v-progress-linear"), C = T("v-slider");
1276
- return h(), F("div", Co, [
1277
- o("div", Ao, [
1278
- y(I, {
1275
+ const M = T("v-icon"), L = T("v-select"), A = T("v-progress-linear"), _ = T("v-slider");
1276
+ return p(), F("div", bo, [
1277
+ o("div", yo, [
1278
+ y(M, {
1279
1279
  color: "black",
1280
1280
  class: "mr-2",
1281
1281
  icon: "mdi-calendar-blank-outline"
1282
1282
  }),
1283
- v.dateSelector.hasMultipleDates ? (h(), N(_, {
1283
+ v.dateSelector.hasMultipleDates ? (p(), N(L, {
1284
1284
  key: 0,
1285
1285
  modelValue: n.value,
1286
1286
  "onUpdate:modelValue": m[0] || (m[0] = (E) => n.value = E),
@@ -1289,27 +1289,27 @@ const mo = { key: 0 }, po = { class: "interactive-viewer" }, ho = { class: "fill
1289
1289
  variant: "underlined",
1290
1290
  "hide-details": "",
1291
1291
  class: "day-selector"
1292
- }, null, 8, ["modelValue", "items"])) : (h(), F("span", Lo, z(p.value), 1))
1292
+ }, null, 8, ["modelValue", "items"])) : (p(), F("span", _o, q(h.value), 1))
1293
1293
  ]),
1294
- o("div", Io, [
1295
- o("span", Mo, z(i.value), 1),
1296
- y(I, {
1294
+ o("div", Co, [
1295
+ o("span", Ao, q(i.value), 1),
1296
+ y(M, {
1297
1297
  medium: "",
1298
1298
  class: "ml-2 mr-2 icon"
1299
1299
  }, {
1300
- default: M(() => [
1300
+ default: I(() => [
1301
1301
  se("mdi-white-balance-sunny")
1302
1302
  ]),
1303
1303
  _: 1
1304
1304
  }),
1305
- v.isLoading ? (h(), N(L, {
1305
+ v.isLoading ? (p(), N(A, {
1306
1306
  key: 0,
1307
1307
  indeterminate: "",
1308
1308
  rounded: "",
1309
1309
  height: "6",
1310
1310
  color: "grey lighten-1",
1311
1311
  class: "mr-2"
1312
- })) : (h(), N(C, {
1312
+ })) : (p(), N(_, {
1313
1313
  key: 1,
1314
1314
  modelValue: a.value,
1315
1315
  "onUpdate:modelValue": m[1] || (m[1] = (E) => a.value = E),
@@ -1328,7 +1328,7 @@ const mo = { key: 0 }, po = { class: "interactive-viewer" }, ho = { class: "fill
1328
1328
  ]);
1329
1329
  };
1330
1330
  }
1331
- }), it = /* @__PURE__ */ te(So, [["__scopeId", "data-v-0d8001a3"]]), Eo = { key: 0 }, Fo = ["src"], xo = /* @__PURE__ */ Q({
1331
+ }), gt = /* @__PURE__ */ te(Lo, [["__scopeId", "data-v-0d8001a3"]]), Io = { key: 0 }, Mo = ["src"], So = /* @__PURE__ */ Q({
1332
1332
  __name: "VBuildingChooserSceneImageStack",
1333
1333
  props: {
1334
1334
  imageUrls: {},
@@ -1336,16 +1336,16 @@ const mo = { key: 0 }, po = { class: "interactive-viewer" }, ho = { class: "fill
1336
1336
  },
1337
1337
  emits: ["resize", "ready", "preloaded", "reset"],
1338
1338
  setup(u, { emit: t }) {
1339
- const e = u, l = t, a = r("init"), n = r(new tt(0)), s = r();
1339
+ const e = u, l = t, a = r("init"), n = r(new Ke(0)), s = r();
1340
1340
  Z(
1341
1341
  () => e.imageUrls,
1342
- (p) => {
1343
- l("reset"), k(p);
1342
+ (h) => {
1343
+ l("reset"), k(h);
1344
1344
  }
1345
1345
  ), ce(() => {
1346
- k(e.imageUrls), new ResizeObserver((p) => {
1346
+ k(e.imageUrls), new ResizeObserver((h) => {
1347
1347
  window.requestAnimationFrame(() => {
1348
- const v = p[0].contentRect.width, m = p[0].contentRect.height;
1348
+ const v = h[0].contentRect.width, m = h[0].contentRect.height;
1349
1349
  l("resize", { width: v, height: m });
1350
1350
  });
1351
1351
  }).observe(s.value);
@@ -1353,14 +1353,14 @@ const mo = { key: 0 }, po = { class: "interactive-viewer" }, ho = { class: "fill
1353
1353
  function i() {
1354
1354
  a.value = "preloaded", l("preloaded");
1355
1355
  }
1356
- function k(p) {
1357
- a.value = "init", s.value.src = p[0], n.value = new tt(p.length).onLoadFinished(
1356
+ function k(h) {
1357
+ a.value = "init", s.value.src = h[0], n.value = new Ke(h.length).onLoadFinished(
1358
1358
  () => {
1359
1359
  a.value = "loaded", l("ready");
1360
1360
  }
1361
1361
  );
1362
1362
  }
1363
- return (p, v) => (h(), F("div", null, [
1363
+ return (h, v) => (p(), F("div", null, [
1364
1364
  o("img", {
1365
1365
  ref_key: "baseImage",
1366
1366
  ref: s,
@@ -1368,31 +1368,31 @@ const mo = { key: 0 }, po = { class: "interactive-viewer" }, ho = { class: "fill
1368
1368
  style: { opacity: 1, borderRadius: 50 },
1369
1369
  onLoad: i
1370
1370
  }, null, 544),
1371
- a.value === "preloaded" || a.value === "loaded" ? de((h(), F("div", Eo, [
1372
- (h(!0), F(Ce, null, _e(p.imageUrls, (m, I) => (h(), F("img", {
1373
- key: I,
1374
- class: ye({ "image-instance": !0, active: I === p.activeIndex }),
1371
+ a.value === "preloaded" || a.value === "loaded" ? de((p(), F("div", Io, [
1372
+ (p(!0), F(Ce, null, _e(h.imageUrls, (m, M) => (p(), F("img", {
1373
+ key: M,
1374
+ class: ye({ "image-instance": !0, active: M === h.activeIndex }),
1375
1375
  src: m,
1376
- onLoad: v[0] || (v[0] = (_) => n.value.partLoaded())
1377
- }, null, 42, Fo))), 128)),
1376
+ onLoad: v[0] || (v[0] = (L) => n.value.partLoaded())
1377
+ }, null, 42, Mo))), 128)),
1378
1378
  se(" Here ")
1379
1379
  ], 512)), [
1380
1380
  [me, a.value === "loaded"]
1381
1381
  ]) : H("", !0)
1382
1382
  ]));
1383
1383
  }
1384
- }), st = /* @__PURE__ */ te(xo, [["__scopeId", "data-v-1dc6128e"]]), Bo = "buildingChooser.json", Vo = 180;
1385
- class Ct {
1384
+ }), wt = /* @__PURE__ */ te(So, [["__scopeId", "data-v-1dc6128e"]]), Eo = "buildingChooser.json", Fo = 180;
1385
+ class kt {
1386
1386
  constructor(t) {
1387
- J(this, "_cdnFileResolver");
1388
- J(this, "_resourceLoader");
1387
+ ee(this, "_cdnFileResolver");
1388
+ ee(this, "_resourceLoader");
1389
1389
  this._cdnFileResolver = t, this._resourceLoader = new $e();
1390
1390
  }
1391
1391
  constructFileUrl(t) {
1392
1392
  return this._cdnFileResolver ? this._cdnFileResolver(`/${t}`) : null;
1393
1393
  }
1394
1394
  loadConfigFile() {
1395
- const t = this.constructFileUrl(Bo);
1395
+ const t = this.constructFileUrl(Eo);
1396
1396
  return t ? this._resourceLoader.loadJson(t) : null;
1397
1397
  }
1398
1398
  loadBuildingMapImage(t) {
@@ -1411,7 +1411,7 @@ class Ct {
1411
1411
  }
1412
1412
  getBackgroundImageData(t) {
1413
1413
  return "days" in t ? this.processMultipleDays(t.days) : [this.processTimeSamples(
1414
- Vo,
1414
+ Fo,
1415
1415
  t.timeSamples
1416
1416
  )];
1417
1417
  }
@@ -1456,7 +1456,7 @@ class Ct {
1456
1456
  }
1457
1457
  class Re {
1458
1458
  constructor(t) {
1459
- J(this, "_buildingIds");
1459
+ ee(this, "_buildingIds");
1460
1460
  this._buildingIds = t;
1461
1461
  }
1462
1462
  static empty() {
@@ -1475,8 +1475,8 @@ class Re {
1475
1475
  }
1476
1476
  class Te {
1477
1477
  constructor(t) {
1478
- J(this, "_mapImage");
1479
- J(this, "_context");
1478
+ ee(this, "_mapImage");
1479
+ ee(this, "_context");
1480
1480
  this._mapImage = t, this._context = null;
1481
1481
  }
1482
1482
  static empty() {
@@ -1493,15 +1493,15 @@ class Te {
1493
1493
  }
1494
1494
  }
1495
1495
  }
1496
- const Uo = /* @__PURE__ */ new Date(0);
1497
- class Je {
1496
+ const xo = /* @__PURE__ */ new Date(0);
1497
+ class Ze {
1498
1498
  constructor(t) {
1499
- J(this, "_imagesByDay");
1500
- J(this, "_state");
1499
+ ee(this, "_imagesByDay");
1500
+ ee(this, "_state");
1501
1501
  this._imagesByDay = t, this._state = { selectedIndex: 0 };
1502
1502
  }
1503
1503
  static empty() {
1504
- return new Je([{ referenceDate: Uo, urls: [] }]);
1504
+ return new Ze([{ referenceDate: xo, urls: [] }]);
1505
1505
  }
1506
1506
  selectIndex(t) {
1507
1507
  t < this._imagesByDay.length && (this._state.selectedIndex = t);
@@ -1522,11 +1522,11 @@ class Je {
1522
1522
  return this._imagesByDay[this.selectedIndex].urls;
1523
1523
  }
1524
1524
  }
1525
- const Do = {
1525
+ const Bo = {
1526
1526
  key: 0,
1527
1527
  style: { height: "50vh" },
1528
1528
  class: "d-flex justify-center align-center blue-grey lighten-5"
1529
- }, Ro = { class: "image-instances" }, To = { key: 0 }, Oo = { class: "svg-container" }, $o = ["viewBox"], Ho = ["innerHTML", "data-building-id", "onMouseover", "onMouseout", "onMousemove", "onClick"], jo = ["innerHTML"], Po = /* @__PURE__ */ Q({
1529
+ }, Vo = { class: "image-instances" }, Uo = { key: 0 }, Do = { class: "svg-container" }, Ro = ["viewBox"], To = ["innerHTML", "data-building-id", "onMouseover", "onMouseout", "onMousemove", "onClick"], Oo = ["innerHTML"], $o = /* @__PURE__ */ Q({
1530
1530
  __name: "VBuildingChooserSvg",
1531
1531
  props: {
1532
1532
  showCards: { type: Boolean, default: !0 },
@@ -1549,13 +1549,13 @@ const Do = {
1549
1549
  );
1550
1550
  const a = r({ preloaded: !1, ready: !1 }), n = r({ width: 0, height: 0 }), s = r({ x: 0, y: 0, width: 0, height: 0 }), i = r(), k = r(
1551
1551
  (/* @__PURE__ */ new Date()).getHours() * 2 + ((/* @__PURE__ */ new Date()).getMinutes() < 30 ? 0 : 1)
1552
- ), p = r(!1), v = r(new $e()), m = r(), I = r("0 0 0 0"), _ = r({}), L = r(), C = r(Re.empty()), E = r(Te.empty()), D = r(), g = V(() => {
1552
+ ), h = r(!1), v = r(new $e()), m = r(), M = r("0 0 0 0"), L = r({}), A = r(), _ = r(Re.empty()), E = r(Te.empty()), D = r(), g = V(() => {
1553
1553
  var w;
1554
1554
  return (w = D.value) == null ? void 0 : w.isHoverEnabled;
1555
- }), A = V(() => f(i.value));
1555
+ }), C = V(() => f(i.value));
1556
1556
  Z(i, (w, x) => {
1557
1557
  w ? l("hoverOverBuilding", f(w)) : l("hoverOutBuilding", f(x));
1558
- }), qe(() => {
1558
+ }), ze(() => {
1559
1559
  if (e.buildingChooserTimeOfDay) {
1560
1560
  const [w, x, W] = /^(\d\d):(\d\d)$/.exec(
1561
1561
  e.buildingChooserTimeOfDay
@@ -1563,11 +1563,11 @@ const Do = {
1563
1563
  k.value = parseInt(x) * 2 + (S < 15 ? 0 : S > 45 ? 2 : 1);
1564
1564
  }
1565
1565
  }), ce(async () => {
1566
- const x = await new Ct(
1566
+ const x = await new kt(
1567
1567
  e.cdnFileResolver
1568
1568
  ).loadBuildingChooser();
1569
1569
  if (x) {
1570
- E.value = new Te(x.mapImage), C.value = new Re(x.buildingIds), _.value = new Je(x.backgrounds), L.value = {
1570
+ E.value = new Te(x.mapImage), _.value = new Re(x.buildingIds), L.value = new Ze(x.backgrounds), A.value = {
1571
1571
  buildingOverlays: x.buildingOverlays,
1572
1572
  sceneLongitude: x.viewLongitude
1573
1573
  };
@@ -1575,14 +1575,14 @@ const Do = {
1575
1575
  for (let { id: S, url: Y } of x.buildingOverlays)
1576
1576
  v.value.loadJson(Y.replace(".png", ".svg")).then((X) => {
1577
1577
  const ne = new DOMParser().parseFromString(X, "image/svg+xml").getElementsByTagName("svg")[0];
1578
- I.value = ne.getAttribute("viewBox"), W.push({
1578
+ M.value = ne.getAttribute("viewBox"), W.push({
1579
1579
  id: S,
1580
1580
  svg: ne.innerHTML
1581
1581
  });
1582
1582
  });
1583
1583
  m.value = W;
1584
1584
  } else
1585
- p.value = !0;
1585
+ h.value = !0;
1586
1586
  });
1587
1587
  function R({ width: w, height: x }) {
1588
1588
  n.value.width = w, n.value.height = x;
@@ -1641,7 +1641,7 @@ const Do = {
1641
1641
  height: n.value.height
1642
1642
  }, i.value = void 0, l("hoverOutBuilding", f(x)));
1643
1643
  }
1644
- function q(w, x) {
1644
+ function z(w, x) {
1645
1645
  g.value && (s.value = {
1646
1646
  x: w.layerX,
1647
1647
  y: w.layerY,
@@ -1649,41 +1649,41 @@ const Do = {
1649
1649
  height: n.value.height
1650
1650
  });
1651
1651
  }
1652
- function ee(w) {
1653
- i.value = w, g.value && A.value && e.canGoToBuildingCallback(A.value) && l("goToBuilding", A.value);
1652
+ function J(w) {
1653
+ i.value = w, g.value && C.value && e.canGoToBuildingCallback(C.value) && l("goToBuilding", C.value);
1654
1654
  }
1655
1655
  return (w, x) => {
1656
1656
  const W = T("v-icon");
1657
- return p.value ? (h(), F("div", Do, [
1657
+ return h.value ? (p(), F("div", Bo, [
1658
1658
  y(W, { "x-large": "" }, {
1659
- default: M(() => [
1659
+ default: I(() => [
1660
1660
  se("mdi-alert-circle-outline")
1661
1661
  ]),
1662
1662
  _: 1
1663
1663
  })
1664
- ])) : L.value ? (h(), F("div", {
1664
+ ])) : A.value ? (p(), F("div", {
1665
1665
  key: 1,
1666
1666
  style: re(`height: ${n.value.height}px; position: relative`),
1667
1667
  class: "image-container"
1668
1668
  }, [
1669
- y(Xe, {
1669
+ y(nt, {
1670
1670
  desktop: w.interactiveDesktop,
1671
1671
  mobile: w.interactiveMobile
1672
1672
  }, {
1673
- default: M(() => [
1674
- o("div", Ro, [
1675
- y(st, {
1676
- "image-urls": _.value.imageUrls,
1673
+ default: I(() => [
1674
+ o("div", Vo, [
1675
+ y(wt, {
1676
+ "image-urls": L.value.imageUrls,
1677
1677
  "active-index": k.value,
1678
1678
  onResize: R,
1679
1679
  onPreloaded: x[0] || (x[0] = (S) => a.value.preloaded = !0),
1680
1680
  onReady: x[1] || (x[1] = (S) => a.value.ready = !0),
1681
1681
  onReset: c
1682
1682
  }, null, 8, ["image-urls", "active-index"]),
1683
- m.value ? de((h(), F("div", To, [
1684
- o("div", Oo, [
1685
- (h(), F("svg", { viewBox: I.value }, [
1686
- (h(!0), F(Ce, null, _e(m.value, ({ id: S, svg: Y }, X) => (h(), F("g", {
1683
+ m.value ? de((p(), F("div", Uo, [
1684
+ o("div", Do, [
1685
+ (p(), F("svg", { viewBox: M.value }, [
1686
+ (p(!0), F(Ce, null, _e(m.value, ({ id: S, svg: Y }, X) => (p(), F("g", {
1687
1687
  key: X,
1688
1688
  innerHTML: Y,
1689
1689
  "data-building-id": S,
@@ -1691,10 +1691,10 @@ const Do = {
1691
1691
  style: re(B(S)),
1692
1692
  onMouseover: (K) => U(K, S),
1693
1693
  onMouseout: (K) => $(K, S),
1694
- onMousemove: (K) => q(K),
1695
- onClick: (K) => ee(S)
1696
- }, null, 46, Ho))), 128))
1697
- ], 8, $o))
1694
+ onMousemove: (K) => z(K),
1695
+ onClick: (K) => J(S)
1696
+ }, null, 46, To))), 128))
1697
+ ], 8, Ro))
1698
1698
  ])
1699
1699
  ], 512)), [
1700
1700
  [me, a.value.preloaded]
@@ -1702,7 +1702,7 @@ const Do = {
1702
1702
  de(o("div", {
1703
1703
  class: "custom-overlay-layer",
1704
1704
  innerHTML: w.customOverlayContent
1705
- }, null, 8, jo), [
1705
+ }, null, 8, Oo), [
1706
1706
  [me, a.value.preloaded]
1707
1707
  ])
1708
1708
  ])
@@ -1710,31 +1710,31 @@ const Do = {
1710
1710
  _: 1
1711
1711
  }, 8, ["desktop", "mobile"]),
1712
1712
  de(o("div", null, [
1713
- L.value.sceneLongitude ? (h(), N(Ke, {
1713
+ A.value.sceneLongitude ? (p(), N(lt, {
1714
1714
  key: 0,
1715
1715
  class: "north-indicator",
1716
- longitude: L.value.sceneLongitude
1716
+ longitude: A.value.sceneLongitude
1717
1717
  }, null, 8, ["longitude"])) : H("", !0),
1718
- y(it, {
1718
+ y(gt, {
1719
1719
  modelValue: k.value,
1720
1720
  "onUpdate:modelValue": x[2] || (x[2] = (S) => k.value = S),
1721
- "date-selector": _.value,
1721
+ "date-selector": L.value,
1722
1722
  "is-loading": !a.value.ready
1723
1723
  }, null, 8, ["modelValue", "date-selector", "is-loading"])
1724
1724
  ], 512), [
1725
1725
  [me, a.value.preloaded]
1726
1726
  ]),
1727
- w.showCards && A.value ? (h(), N(Ze, {
1727
+ w.showCards && C.value ? (p(), N(ot, {
1728
1728
  key: 0,
1729
1729
  "is-hoverable": g.value,
1730
1730
  pos: s.value,
1731
1731
  onOutside: x[3] || (x[3] = () => i.value = void 0)
1732
1732
  }, {
1733
- default: M(() => [
1733
+ default: I(() => [
1734
1734
  ie(w.$slots, "default", {
1735
- building: A.value,
1736
- canGoToBuilding: w.canGoToBuildingCallback(A.value),
1737
- goToBuilding: () => w.canGoToBuildingCallback(A.value) && l("goToBuilding", A.value),
1735
+ building: C.value,
1736
+ canGoToBuilding: w.canGoToBuildingCallback(C.value),
1737
+ goToBuilding: () => w.canGoToBuildingCallback(C.value) && l("goToBuilding", C.value),
1738
1738
  pos: s.value,
1739
1739
  isHoverable: g.value,
1740
1740
  close: () => i.value = void 0
@@ -1742,14 +1742,14 @@ const Do = {
1742
1742
  ]),
1743
1743
  _: 3
1744
1744
  }, 8, ["is-hoverable", "pos"])) : H("", !0),
1745
- y(He, {
1745
+ y(We, {
1746
1746
  ref_key: "hoverProbe",
1747
1747
  ref: D
1748
1748
  }, null, 512)
1749
1749
  ], 4)) : H("", !0);
1750
1750
  };
1751
1751
  }
1752
- }), At = /* @__PURE__ */ te(Po, [["__scopeId", "data-v-6103fad2"]]), No = /* @__PURE__ */ Q({
1752
+ }), Ho = /* @__PURE__ */ te($o, [["__scopeId", "data-v-6103fad2"]]), jo = /* @__PURE__ */ Q({
1753
1753
  __name: "VBuildingChooserRasterOverlay",
1754
1754
  props: {
1755
1755
  imageUrl: {},
@@ -1760,22 +1760,22 @@ const Do = {
1760
1760
  const t = u, e = r(!1), l = r(void 0), a = r(new $e()), n = r(void 0), s = r(void 0), i = r([]), k = r();
1761
1761
  Z(
1762
1762
  () => t.color,
1763
- (I, _) => {
1764
- (I.r !== _.r || I.g !== _.g || I.b !== _.b || I.a !== _.a) && v();
1763
+ (M, L) => {
1764
+ (M.r !== L.r || M.g !== L.g || M.b !== L.b || M.a !== L.a) && v();
1765
1765
  }
1766
1766
  ), ce(async () => {
1767
- l.value = await a.value.loadImage(t.imageUrl), p();
1767
+ l.value = await a.value.loadImage(t.imageUrl), h();
1768
1768
  });
1769
- function p() {
1769
+ function h() {
1770
1770
  if (!l.value || !k.value)
1771
1771
  return;
1772
- const { width: I, height: _ } = t.dimensions;
1773
- if (!(I === 0 || _ === 0)) {
1772
+ const { width: M, height: L } = t.dimensions;
1773
+ if (!(M === 0 || L === 0)) {
1774
1774
  n.value = k.value.getContext("2d", {
1775
1775
  willReadFrequently: !0
1776
- }), n.value.drawImage(l.value, 0, 0, I, _), s.value = n.value.getImageData(0, 0, I, _);
1777
- for (let L = 3; L < s.value.data.length; L += 4)
1778
- s.value.data[L] !== 0 && i.value.push(L);
1776
+ }), n.value.drawImage(l.value, 0, 0, M, L), s.value = n.value.getImageData(0, 0, M, L);
1777
+ for (let A = 3; A < s.value.data.length; A += 4)
1778
+ s.value.data[A] !== 0 && i.value.push(A);
1779
1779
  v(), e.value = !0;
1780
1780
  }
1781
1781
  }
@@ -1784,20 +1784,20 @@ const Do = {
1784
1784
  }
1785
1785
  function m() {
1786
1786
  if (t.color)
1787
- for (let I = 0; I < i.value.length; I++)
1788
- s.value.data[i.value[I] - 3] = t.color.r, s.value.data[i.value[I] - 2] = t.color.g, s.value.data[i.value[I] - 1] = t.color.b, s.value.data[i.value[I]] = t.color.a;
1787
+ for (let M = 0; M < i.value.length; M++)
1788
+ s.value.data[i.value[M] - 3] = t.color.r, s.value.data[i.value[M] - 2] = t.color.g, s.value.data[i.value[M] - 1] = t.color.b, s.value.data[i.value[M]] = t.color.a;
1789
1789
  }
1790
- return (I, _) => (h(), F("canvas", be({
1790
+ return (M, L) => (p(), F("canvas", be({
1791
1791
  ref_key: "canvas",
1792
1792
  ref: k,
1793
1793
  class: "overlay"
1794
- }, I.dimensions), null, 16));
1794
+ }, M.dimensions), null, 16));
1795
1795
  }
1796
- }), Lt = /* @__PURE__ */ te(No, [["__scopeId", "data-v-b6fc0f96"]]), Yo = {
1796
+ }), Po = /* @__PURE__ */ te(jo, [["__scopeId", "data-v-b6fc0f96"]]), No = {
1797
1797
  key: 0,
1798
1798
  style: { height: "50vh" },
1799
1799
  class: "d-flex justify-center align-center blue-grey lighten-5"
1800
- }, Wo = { class: "image-instances" }, Go = ["innerHTML"], Qo = /* @__PURE__ */ Q({
1800
+ }, Yo = { class: "image-instances" }, Wo = ["innerHTML"], Go = /* @__PURE__ */ Q({
1801
1801
  __name: "VBuildingChooserRaster",
1802
1802
  props: {
1803
1803
  showCards: { type: Boolean, default: !0 },
@@ -1818,34 +1818,34 @@ const Do = {
1818
1818
  "i18n",
1819
1819
  e.i18n ? new Le(e.i18n.labels, e.i18n.language) : new Le()
1820
1820
  );
1821
- const a = r({}), n = r({ preloaded: !1, ready: !1 }), s = r({ width: 0, height: 0 }), i = r({ x: 0, y: 0, width: 0, height: 0 }), k = r(void 0), p = r(Re.empty()), v = r(Te.empty()), m = r(void 0), I = r(
1821
+ const a = r({}), n = r({ preloaded: !1, ready: !1 }), s = r({ width: 0, height: 0 }), i = r({ x: 0, y: 0, width: 0, height: 0 }), k = r(void 0), h = r(Re.empty()), v = r(Te.empty()), m = r(void 0), M = r(
1822
1822
  (/* @__PURE__ */ new Date()).getHours() * 2 + ((/* @__PURE__ */ new Date()).getMinutes() < 30 ? 0 : 1)
1823
- ), _ = r((w, x) => ({ x: w, y: x })), L = r(!1), C = r(), E = r(), D = r(), g = V(() => {
1823
+ ), L = r((w, x) => ({ x: w, y: x })), A = r(!1), _ = r(), E = r(), D = r(), g = V(() => {
1824
1824
  var w;
1825
- return (w = C.value) == null ? void 0 : w.isHoverEnabled;
1826
- }), A = V(
1825
+ return (w = _.value) == null ? void 0 : w.isHoverEnabled;
1826
+ }), C = V(
1827
1827
  () => f(m.value)
1828
1828
  );
1829
- qe(() => {
1829
+ ze(() => {
1830
1830
  if (e.buildingChooserTimeOfDay) {
1831
1831
  const [w, x, W] = /^(\d\d):(\d\d)$/.exec(
1832
1832
  e.buildingChooserTimeOfDay
1833
1833
  ), S = parseInt(W);
1834
- I.value = parseInt(x) * 2 + (S < 15 ? 0 : S > 45 ? 2 : 1);
1834
+ M.value = parseInt(x) * 2 + (S < 15 ? 0 : S > 45 ? 2 : 1);
1835
1835
  }
1836
1836
  }), Z(m, (w, x) => {
1837
1837
  w ? l("hoverOverBuilding", f(w)) : l("hoverOutBuilding", f(x));
1838
1838
  }), ce(async () => {
1839
- const x = await new Ct(
1839
+ const x = await new kt(
1840
1840
  e.cdnFileResolver
1841
1841
  ).loadBuildingChooser();
1842
- x ? (v.value = new Te(x.mapImage), p.value = new Re(x.buildingIds), a.value = new Je(x.backgrounds), k.value = {
1842
+ x ? (v.value = new Te(x.mapImage), h.value = new Re(x.buildingIds), a.value = new Ze(x.backgrounds), k.value = {
1843
1843
  buildingOverlays: x.buildingOverlays,
1844
1844
  sceneLongitude: x.viewLongitude
1845
- }, B()) : L.value = !0;
1845
+ }, B()) : A.value = !0;
1846
1846
  });
1847
1847
  function R({ width: w, height: x }) {
1848
- s.value.width = w, s.value.height = x, Tt(B);
1848
+ s.value.width = w, s.value.height = x, Ft(B);
1849
1849
  }
1850
1850
  function c() {
1851
1851
  n.value = { preloaded: !1, ready: !1 };
@@ -1854,8 +1854,8 @@ const Do = {
1854
1854
  return e.buildingCallback ? e.buildingCallback(w) : w;
1855
1855
  }
1856
1856
  function b(w) {
1857
- const { x, y: W } = _.value(w.layerX, w.layerY);
1858
- return p.value.getBuildingId(v.value, x, W);
1857
+ const { x, y: W } = L.value(w.layerX, w.layerY);
1858
+ return h.value.getBuildingId(v.value, x, W);
1859
1859
  }
1860
1860
  function B() {
1861
1861
  if (E.value && (v.value.update(E.value), D.value))
@@ -1871,55 +1871,55 @@ const Do = {
1871
1871
  }));
1872
1872
  }
1873
1873
  function $(w) {
1874
- m.value = b(w), g.value && A.value && l("goToBuilding", A.value);
1874
+ m.value = b(w), g.value && C.value && l("goToBuilding", C.value);
1875
1875
  }
1876
- function q(w) {
1876
+ function z(w) {
1877
1877
  return e.colorCallback(
1878
1878
  f(w),
1879
1879
  w === m.value ? "hover" : "idle"
1880
1880
  );
1881
1881
  }
1882
- function ee({ resolve: w }) {
1883
- _.value = w;
1882
+ function J({ resolve: w }) {
1883
+ L.value = w;
1884
1884
  }
1885
1885
  return (w, x) => {
1886
1886
  const W = T("v-icon");
1887
- return L.value ? (h(), F("div", Yo, [
1887
+ return A.value ? (p(), F("div", No, [
1888
1888
  y(W, { "x-large": "" }, {
1889
- default: M(() => [
1889
+ default: I(() => [
1890
1890
  se("mdi-alert-circle-outline")
1891
1891
  ]),
1892
1892
  _: 1
1893
1893
  })
1894
- ])) : k.value ? (h(), F("div", {
1894
+ ])) : k.value ? (p(), F("div", {
1895
1895
  key: 1,
1896
1896
  style: re(`cursor: ${m.value ? "pointer" : "auto"};height: ${s.value.height}px; position: relative`),
1897
1897
  class: "image-container"
1898
1898
  }, [
1899
- y(Xe, {
1899
+ y(nt, {
1900
1900
  desktop: w.interactiveDesktop,
1901
1901
  mobile: w.interactiveMobile,
1902
- onUpdate: ee
1902
+ onUpdate: J
1903
1903
  }, {
1904
- default: M(() => [
1905
- o("div", Wo, [
1906
- y(st, {
1904
+ default: I(() => [
1905
+ o("div", Yo, [
1906
+ y(wt, {
1907
1907
  "image-urls": a.value.imageUrls,
1908
- "active-index": I.value,
1908
+ "active-index": M.value,
1909
1909
  onResize: R,
1910
1910
  onPreloaded: x[0] || (x[0] = (S) => n.value.preloaded = !0),
1911
1911
  onReady: x[1] || (x[1] = (S) => n.value.ready = !0),
1912
1912
  onReset: c
1913
1913
  }, null, 8, ["image-urls", "active-index"]),
1914
1914
  de(o("div", null, [
1915
- (h(!0), F(Ce, null, _e(k.value.buildingOverlays, (S) => (h(), N(Lt, {
1915
+ (p(!0), F(Ce, null, _e(k.value.buildingOverlays, (S) => (p(), N(Po, {
1916
1916
  ref_for: !0,
1917
1917
  ref_key: "overlays",
1918
1918
  ref: D,
1919
1919
  key: S.id,
1920
1920
  "image-url": S.url,
1921
1921
  dimensions: s.value,
1922
- color: q(S.id)
1922
+ color: z(S.id)
1923
1923
  }, null, 8, ["image-url", "dimensions", "color"]))), 128))
1924
1924
  ], 512), [
1925
1925
  [me, n.value.preloaded]
@@ -1935,38 +1935,38 @@ const Do = {
1935
1935
  de(o("div", {
1936
1936
  class: "custom-overlay-layer",
1937
1937
  innerHTML: w.customOverlayContent
1938
- }, null, 8, Go), [
1938
+ }, null, 8, Wo), [
1939
1939
  [me, n.value.preloaded]
1940
1940
  ])
1941
1941
  ]),
1942
1942
  _: 1
1943
1943
  }, 8, ["desktop", "mobile"]),
1944
1944
  de(o("div", null, [
1945
- k.value.sceneLongitude ? (h(), N(Ke, {
1945
+ k.value.sceneLongitude ? (p(), N(lt, {
1946
1946
  key: 0,
1947
1947
  class: "north-indicator",
1948
1948
  longitude: k.value.sceneLongitude
1949
1949
  }, null, 8, ["longitude"])) : H("", !0),
1950
- y(it, {
1951
- modelValue: I.value,
1952
- "onUpdate:modelValue": x[2] || (x[2] = (S) => I.value = S),
1950
+ y(gt, {
1951
+ modelValue: M.value,
1952
+ "onUpdate:modelValue": x[2] || (x[2] = (S) => M.value = S),
1953
1953
  "date-selector": a.value,
1954
1954
  "is-loading": !n.value.ready
1955
1955
  }, null, 8, ["modelValue", "date-selector", "is-loading"])
1956
1956
  ], 512), [
1957
1957
  [me, n.value.preloaded]
1958
1958
  ]),
1959
- w.showCards && A.value ? (h(), N(Ze, {
1959
+ w.showCards && C.value ? (p(), N(ot, {
1960
1960
  key: 0,
1961
1961
  "is-hoverable": g.value,
1962
1962
  pos: i.value,
1963
1963
  onOutside: x[3] || (x[3] = () => m.value = void 0)
1964
1964
  }, {
1965
- default: M(() => [
1965
+ default: I(() => [
1966
1966
  ie(w.$slots, "default", {
1967
- building: A.value,
1968
- canGoToBuilding: w.canGoToBuildingCallback(A.value),
1969
- goToBuilding: () => w.canGoToBuildingCallback(A.value) && l("goToBuilding", A.value),
1967
+ building: C.value,
1968
+ canGoToBuilding: w.canGoToBuildingCallback(C.value),
1969
+ goToBuilding: () => w.canGoToBuildingCallback(C.value) && l("goToBuilding", C.value),
1970
1970
  pos: i.value,
1971
1971
  isHoverable: g.value,
1972
1972
  close: () => m.value = void 0
@@ -1974,14 +1974,14 @@ const Do = {
1974
1974
  ]),
1975
1975
  _: 3
1976
1976
  }, 8, ["is-hoverable", "pos"])) : H("", !0),
1977
- y(He, {
1977
+ y(We, {
1978
1978
  ref_key: "hoverProbe",
1979
- ref: C
1979
+ ref: _
1980
1980
  }, null, 512)
1981
1981
  ], 4)) : H("", !0);
1982
1982
  };
1983
1983
  }
1984
- }), It = /* @__PURE__ */ te(Qo, [["__scopeId", "data-v-96bbdc16"]]), zo = /* @__PURE__ */ Q({
1984
+ }), Qo = /* @__PURE__ */ te(Go, [["__scopeId", "data-v-96bbdc16"]]), qo = /* @__PURE__ */ Q({
1985
1985
  __name: "VBuildingChooser",
1986
1986
  props: {
1987
1987
  showCards: { type: Boolean, default: !0 },
@@ -1999,9 +1999,9 @@ const Do = {
1999
1999
  emits: ["goToBuilding", "hoverOverBuilding", "hoverOutBuilding"],
2000
2000
  setup(u, { emit: t }) {
2001
2001
  const e = u, l = t, a = V(
2002
- () => e.useSvg ? At : It
2002
+ () => e.useSvg ? Ho : Qo
2003
2003
  );
2004
- return (n, s) => (h(), N(mt(a.value), {
2004
+ return (n, s) => (p(), N(dt(a.value), {
2005
2005
  "show-cards": n.showCards,
2006
2006
  "color-callback": n.colorCallback,
2007
2007
  "building-callback": n.buildingCallback,
@@ -2015,29 +2015,29 @@ const Do = {
2015
2015
  onGoToBuilding: s[0] || (s[0] = (i) => l("goToBuilding", i)),
2016
2016
  onHoverOverBuilding: s[1] || (s[1] = (i) => l("hoverOverBuilding", i)),
2017
2017
  onHoverOutBuilding: s[2] || (s[2] = (i) => l("hoverOutBuilding", i))
2018
- }, Ot({ _: 2 }, [
2018
+ }, xt({ _: 2 }, [
2019
2019
  _e(Object.keys(n.$slots), (i) => ({
2020
2020
  name: i,
2021
- fn: M((k) => [
2022
- ie(n.$slots, i, pt(ht(k)))
2021
+ fn: I((k) => [
2022
+ ie(n.$slots, i, vt(mt(k)))
2023
2023
  ])
2024
2024
  }))
2025
2025
  ]), 1064, ["show-cards", "color-callback", "building-callback", "cdn-file-resolver", "i18n", "interactive-desktop", "interactive-mobile", "building-chooser-time-of-day", "can-go-to-building-callback", "custom-overlay-content"]));
2026
2026
  }
2027
2027
  });
2028
- var je = {};
2029
- Object.defineProperty(je, "__esModule", {
2028
+ var He = {};
2029
+ Object.defineProperty(He, "__esModule", {
2030
2030
  value: !0
2031
2031
  });
2032
- var qo = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(u) {
2032
+ var zo = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(u) {
2033
2033
  return typeof u;
2034
2034
  } : function(u) {
2035
2035
  return u && typeof Symbol == "function" && u.constructor === Symbol && u !== Symbol.prototype ? "symbol" : typeof u;
2036
- }, Zo = typeof window < "u" && typeof window.document < "u", Xo = typeof process < "u" && process.versions != null && process.versions.node != null, Ko = (typeof self > "u" ? "undefined" : qo(self)) === "object" && self.constructor && self.constructor.name === "DedicatedWorkerGlobalScope", Jo = typeof window < "u" && window.name === "nodejs" || typeof navigator < "u" && (navigator.userAgent.includes("Node.js") || navigator.userAgent.includes("jsdom")), en = typeof Deno < "u" && typeof Deno.version < "u" && typeof Deno.version.deno < "u", tn = je.isBrowser = Zo;
2037
- je.isWebWorker = Ko;
2038
- je.isNode = Xo;
2039
- je.isJsDom = Jo;
2040
- je.isDeno = en;
2036
+ }, Zo = typeof window < "u" && typeof window.document < "u", Xo = typeof process < "u" && process.versions != null && process.versions.node != null, Ko = (typeof self > "u" ? "undefined" : zo(self)) === "object" && self.constructor && self.constructor.name === "DedicatedWorkerGlobalScope", Jo = typeof window < "u" && window.name === "nodejs" || typeof navigator < "u" && (navigator.userAgent.includes("Node.js") || navigator.userAgent.includes("jsdom")), en = typeof Deno < "u" && typeof Deno.version < "u" && typeof Deno.version.deno < "u", tn = He.isBrowser = Zo;
2037
+ He.isWebWorker = Ko;
2038
+ He.isNode = Xo;
2039
+ He.isJsDom = Jo;
2040
+ He.isDeno = en;
2041
2041
  const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
2042
2042
  class: "player-control",
2043
2043
  id: "controls-top-left"
@@ -2078,16 +2078,16 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
2078
2078
  },
2079
2079
  emits: ["newCameraCallback", "newRotationCallback", "newFloorCallback", "newFovCallback", "playerApiCallback", "newSizeCallback"],
2080
2080
  setup(u, { emit: t }) {
2081
- const e = jt.PlayerV2, l = u, a = t, n = r(void 0), s = r(void 0), i = r(0), k = r(0);
2081
+ const e = Ut.PlayerV2, l = u, a = t, n = r(void 0), s = r(void 0), i = r(0), k = r(0);
2082
2082
  Z(
2083
2083
  () => l.rootUrl,
2084
2084
  async (v) => {
2085
- n.value && (await n.value.loadInterior(v, s.value, !1), p());
2085
+ n.value && await n.value.loadInterior(v, s.value, !1);
2086
2086
  }
2087
2087
  ), Z(
2088
2088
  () => l.fileLoader,
2089
2089
  async () => {
2090
- n.value && (await n.value.loadInterior(l.rootUrl, void 0, !1), p());
2090
+ n.value && await n.value.loadInterior(l.rootUrl, void 0, !1);
2091
2091
  },
2092
2092
  { deep: !0 }
2093
2093
  ), Z(
@@ -2100,49 +2100,44 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
2100
2100
  const m = n.value.getCurrentCamera();
2101
2101
  m && (s.value = m.id);
2102
2102
  }), ce(async () => {
2103
- window.addEventListener("resize", p), p();
2104
- const _ = {
2103
+ window.addEventListener("resize", h);
2104
+ const L = {
2105
2105
  initialized: () => {
2106
2106
  n.value = e.Main.getPlayerAPI();
2107
- const C = n.value.getCurrentCamera();
2108
- C && (s.value = C.id), a("newCameraCallback", s.value);
2107
+ const _ = n.value.getCurrentCamera();
2108
+ _ && (s.value = _.id), a("newCameraCallback", s.value);
2109
2109
  },
2110
- newCamera: (C) => {
2111
- a("newCameraCallback", C.id), a("newFloorCallback", C.floorLevel), n.value && n.value.resetMarkerBehaviour(0), s.value = C.id;
2110
+ newCamera: (_) => {
2111
+ a("newCameraCallback", _.id), a("newFloorCallback", _.floorLevel), n.value && n.value.resetMarkerBehaviour(0), s.value = _.id;
2112
2112
  },
2113
- newFOV: (C) => {
2114
- a("newFovCallback", C), k.value = C;
2113
+ newFOV: (_) => {
2114
+ a("newFovCallback", _), k.value = _;
2115
2115
  },
2116
- newRotation: (C) => {
2117
- const E = C + 0;
2116
+ newRotation: (_) => {
2117
+ const E = _ + 0;
2118
2118
  a("newRotationCallback", E), i.value = E;
2119
2119
  }
2120
2120
  };
2121
2121
  if (!tn)
2122
2122
  return;
2123
- const L = await new e.Main(
2123
+ const A = await new e.Main(
2124
2124
  l.rootUrl,
2125
2125
  "qpc",
2126
- _,
2126
+ L,
2127
2127
  void 0,
2128
2128
  l.currentCameraId,
2129
2129
  l.fileLoader
2130
2130
  );
2131
- L && (L.handleWindowResize(), window.addEventListener(
2131
+ A && (A.handleWindowResize(), window.addEventListener(
2132
2132
  "resize",
2133
- L.handleWindowResize.bind(L)
2134
- ), L.animate(), n.value = e.Main.getPlayerAPI(), n.value && n.value.setLookSensitivity(l.mouseSensitivity));
2133
+ A.handleWindowResize.bind(A)
2134
+ ), A.animate(), n.value = e.Main.getPlayerAPI(), n.value && n.value.setLookSensitivity(l.mouseSensitivity));
2135
2135
  }), Oe(() => {
2136
2136
  n.value && n.value.destroy();
2137
2137
  });
2138
- function p() {
2139
- let v = 1.7777777777777777, m = document.querySelector("#player-sizer");
2140
- if (!m)
2141
- return;
2142
- let I = m.offsetWidth, _ = I * (1 / v);
2143
- (window.innerWidth <= 600 || I <= 600) && (_ = window.innerHeight * 0.75, l.isInIframe && (_ = screen.height * 0.65), I = _ * (1 / v)), m.style.height = _ + "px", m.style.width = I + "px", a("newSizeCallback", I, _);
2138
+ function h() {
2144
2139
  }
2145
- return (v, m) => (h(), F("div", on, [
2140
+ return (v, m) => (p(), F("div", on, [
2146
2141
  o("div", nn, [
2147
2142
  ie(v.$slots, "slideshow-image", {}, void 0, !0),
2148
2143
  o("div", an, [
@@ -2181,7 +2176,7 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
2181
2176
  ])
2182
2177
  ]));
2183
2178
  }
2184
- }), fn = /* @__PURE__ */ te(hn, [["__scopeId", "data-v-2374a426"]]), gn = { class: "waypoint-carousel" }, wn = 37, kn = 39, bn = /* @__PURE__ */ Q({
2179
+ }), fn = /* @__PURE__ */ te(hn, [["__scopeId", "data-v-54e6a7ef"]]), gn = { class: "waypoint-carousel" }, wn = 37, kn = 39, bn = /* @__PURE__ */ Q({
2185
2180
  __name: "VWaypointCarousel",
2186
2181
  props: {
2187
2182
  thumbnails: {},
@@ -2193,8 +2188,8 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
2193
2188
  get() {
2194
2189
  return e.active;
2195
2190
  },
2196
- set(p) {
2197
- a.value = p;
2191
+ set(h) {
2192
+ a.value = h;
2198
2193
  }
2199
2194
  }), s = V(() => /Android|webOS|iPhone|iPad|BlackBerry|Windows Phone|Opera Mini|IEMobile|Mobile/i.test(
2200
2195
  window.navigator.userAgent
@@ -2204,24 +2199,24 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
2204
2199
  }), Oe(() => {
2205
2200
  window.removeEventListener("keydown", i);
2206
2201
  });
2207
- function i(p) {
2208
- switch (p.keyCode) {
2209
- case p.keyCode === wn:
2202
+ function i(h) {
2203
+ switch (h.keyCode) {
2204
+ case h.keyCode === wn:
2210
2205
  l("previous");
2211
2206
  break;
2212
- case p.keyCode === kn:
2207
+ case h.keyCode === kn:
2213
2208
  l("next");
2214
2209
  break;
2215
2210
  default:
2216
2211
  return;
2217
2212
  }
2218
2213
  }
2219
- function k(p, v) {
2220
- v(), l("goto", p);
2214
+ function k(h, v) {
2215
+ v(), l("goto", h);
2221
2216
  }
2222
- return (p, v) => {
2223
- const m = T("v-icon"), I = T("v-btn"), _ = T("v-hover"), L = T("v-img"), C = T("v-card"), E = T("v-slide-group-item"), D = T("v-slide-group");
2224
- return h(), F("div", gn, [
2217
+ return (h, v) => {
2218
+ const m = T("v-icon"), M = T("v-btn"), L = T("v-hover"), A = T("v-img"), _ = T("v-card"), E = T("v-slide-group-item"), D = T("v-slide-group");
2219
+ return p(), F("div", gn, [
2225
2220
  y(D, {
2226
2221
  modelValue: n.value,
2227
2222
  "onUpdate:modelValue": v[2] || (v[2] = (g) => n.value = g),
@@ -2231,20 +2226,20 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
2231
2226
  "center-active": "",
2232
2227
  mandatory: ""
2233
2228
  }, {
2234
- prev: M(() => [
2235
- y(_, null, {
2236
- default: M(({ isHovering: g }) => [
2237
- y(I, {
2229
+ prev: I(() => [
2230
+ y(L, null, {
2231
+ default: I(({ isHovering: g }) => [
2232
+ y(M, {
2238
2233
  elevation: "0",
2239
2234
  class: ye(["carousel-button", { mobile: s.value }]),
2240
- onClick: v[0] || (v[0] = (A) => l("previous"))
2235
+ onClick: v[0] || (v[0] = (C) => l("previous"))
2241
2236
  }, {
2242
- default: M(() => [
2237
+ default: I(() => [
2243
2238
  y(m, {
2244
2239
  color: g ? "#999" : "#d2d2d2",
2245
2240
  "x-large": ""
2246
2241
  }, {
2247
- default: M(() => [
2242
+ default: I(() => [
2248
2243
  se(" mdi-chevron-left ")
2249
2244
  ]),
2250
2245
  _: 2
@@ -2256,20 +2251,20 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
2256
2251
  _: 1
2257
2252
  })
2258
2253
  ]),
2259
- next: M(() => [
2260
- y(_, null, {
2261
- default: M(({ isHovering: g }) => [
2262
- y(I, {
2254
+ next: I(() => [
2255
+ y(L, null, {
2256
+ default: I(({ isHovering: g }) => [
2257
+ y(M, {
2263
2258
  elevation: "0",
2264
2259
  class: ye(["carousel-button", { mobile: s.value }]),
2265
- onClick: v[1] || (v[1] = (A) => l("next"))
2260
+ onClick: v[1] || (v[1] = (C) => l("next"))
2266
2261
  }, {
2267
- default: M(() => [
2262
+ default: I(() => [
2268
2263
  y(m, {
2269
2264
  color: g ? "#999" : "#d2d2d2",
2270
2265
  "x-large": ""
2271
2266
  }, {
2272
- default: M(() => [
2267
+ default: I(() => [
2273
2268
  se(" mdi-chevron-right ")
2274
2269
  ]),
2275
2270
  _: 2
@@ -2281,12 +2276,12 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
2281
2276
  _: 1
2282
2277
  })
2283
2278
  ]),
2284
- default: M(() => [
2285
- (h(!0), F(Ce, null, _e(p.thumbnails, (g) => (h(), N(E, {
2279
+ default: I(() => [
2280
+ (p(!0), F(Ce, null, _e(h.thumbnails, (g) => (p(), N(E, {
2286
2281
  key: g.id
2287
2282
  }, {
2288
- default: M(({ toggle: A, selectedClass: R }) => [
2289
- y(C, {
2283
+ default: I(({ toggle: C, selectedClass: R }) => [
2284
+ y(_, {
2290
2285
  class: ye(["ma-2", R]),
2291
2286
  align: "center",
2292
2287
  justify: "center",
@@ -2294,12 +2289,13 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
2294
2289
  width: s.value ? 80 : 160,
2295
2290
  elevation: "0",
2296
2291
  style: { overflow: "hidden" },
2297
- onClick: (c) => k(g.id, A)
2292
+ onClick: (c) => k(g.id, C)
2298
2293
  }, {
2299
- default: M(() => [
2300
- y(L, {
2294
+ default: I(() => [
2295
+ y(A, {
2301
2296
  "max-height": "100",
2302
2297
  "max-width": "160",
2298
+ cover: "",
2303
2299
  src: g.thumbnailUrl
2304
2300
  }, null, 8, ["src"])
2305
2301
  ]),
@@ -2314,7 +2310,7 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
2314
2310
  ]);
2315
2311
  };
2316
2312
  }
2317
- }), dt = /* @__PURE__ */ te(bn, [["__scopeId", "data-v-f8f5088a"]]), yn = {
2313
+ }), ut = /* @__PURE__ */ te(bn, [["__scopeId", "data-v-ad2125d1"]]), yn = {
2318
2314
  style: { width: "24px", height: "24px" },
2319
2315
  viewBox: "0 0 18 16",
2320
2316
  xmlns: "http://www.w3.org/2000/svg"
@@ -2330,25 +2326,25 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
2330
2326
  const v = e.floorLevels;
2331
2327
  return v.sort(), v;
2332
2328
  }), s = V(() => n.value.indexOf(e.level) + 1 <= n.value.length / 2 ? "Lower" : "Upper"), i = V(() => s.value === "Lower"), k = V(() => s.value === "Upper");
2333
- function p() {
2329
+ function h() {
2334
2330
  const v = e.level + 1;
2335
2331
  v >= n.value.length ? l("level", n.value[0]) : l("level", n.value[v]);
2336
2332
  }
2337
2333
  return (v, m) => {
2338
- const I = T("v-btn"), _ = T("v-tooltip");
2339
- return h(), N(_, {
2334
+ const M = T("v-btn"), L = T("v-tooltip");
2335
+ return p(), N(L, {
2340
2336
  right: "",
2341
2337
  attach: ""
2342
2338
  }, {
2343
- activator: M(({ props: L }) => [
2344
- y(I, be({
2339
+ activator: I(({ props: A }) => [
2340
+ y(M, be({
2345
2341
  style: { cursor: "pointer" },
2346
2342
  density: "comfortable",
2347
2343
  elevation: "1",
2348
2344
  icon: ""
2349
- }, L, { onClick: p }), {
2350
- default: M(() => [
2351
- (h(), F("svg", yn, [
2345
+ }, A, { onClick: h }), {
2346
+ default: I(() => [
2347
+ (p(), F("svg", yn, [
2352
2348
  o("path", {
2353
2349
  d: "M8.98034 10.3472L1.54055 5.8855L8.98034 1.42384L16.4201 5.8855L8.98034 10.3472Z",
2354
2350
  fill: "white",
@@ -2368,8 +2364,8 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
2368
2364
  _: 2
2369
2365
  }, 1040)
2370
2366
  ]),
2371
- default: M(() => [
2372
- o("span", An, z(oe(a).getLabel(s.value)) + " " + z(oe(a).getLabel("floor")), 1)
2367
+ default: I(() => [
2368
+ o("span", An, q(oe(a).getLabel(s.value)) + " " + q(oe(a).getLabel("floor")), 1)
2373
2369
  ]),
2374
2370
  _: 1
2375
2371
  });
@@ -2406,24 +2402,24 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
2406
2402
  function i() {
2407
2403
  navigator.clipboard.writeText(location.href);
2408
2404
  }
2409
- return (k, p) => {
2410
- const v = T("v-btn"), m = T("v-tooltip"), I = T("v-toolbar-title"), _ = T("v-spacer"), L = T("v-toolbar"), C = T("v-card-text"), E = T("v-card"), D = T("v-dialog");
2411
- return h(), F("div", null, [
2405
+ return (k, h) => {
2406
+ const v = T("v-btn"), m = T("v-tooltip"), M = T("v-toolbar-title"), L = T("v-spacer"), A = T("v-toolbar"), _ = T("v-card-text"), E = T("v-card"), D = T("v-dialog");
2407
+ return p(), F("div", null, [
2412
2408
  y(m, {
2413
2409
  elevation: "2",
2414
2410
  top: "",
2415
2411
  attach: ""
2416
2412
  }, {
2417
- activator: M(({ props: g }) => [
2413
+ activator: I(({ props: g }) => [
2418
2414
  y(v, be({
2419
2415
  density: "comfortable",
2420
2416
  elevation: "1",
2421
2417
  icon: "mdi-share-variant",
2422
- onClick: p[0] || (p[0] = (A) => e.value = !e.value)
2418
+ onClick: h[0] || (h[0] = (C) => e.value = !e.value)
2423
2419
  }, g), null, 16)
2424
2420
  ]),
2425
- default: M(() => [
2426
- o("span", null, z(oe(t).getLabel("share")), 1)
2421
+ default: I(() => [
2422
+ o("span", null, q(oe(t).getLabel("share")), 1)
2427
2423
  ]),
2428
2424
  _: 1
2429
2425
  }),
@@ -2431,33 +2427,33 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
2431
2427
  id: "share-box",
2432
2428
  width: "400",
2433
2429
  modelValue: e.value,
2434
- "onUpdate:modelValue": p[2] || (p[2] = (g) => e.value = g)
2430
+ "onUpdate:modelValue": h[2] || (h[2] = (g) => e.value = g)
2435
2431
  }, {
2436
- default: M(() => [
2432
+ default: I(() => [
2437
2433
  y(E, null, {
2438
- default: M(() => [
2439
- y(L, { elevation: "0" }, {
2440
- default: M(() => [
2434
+ default: I(() => [
2435
+ y(A, { elevation: "0" }, {
2436
+ default: I(() => [
2441
2437
  y(v, {
2442
2438
  size: "x-small",
2443
2439
  icon: "mdi-close",
2444
- onClick: p[1] || (p[1] = (g) => e.value = !1)
2440
+ onClick: h[1] || (h[1] = (g) => e.value = !1)
2445
2441
  }),
2446
- y(I, null, {
2447
- default: M(() => [
2448
- se(z(oe(t).getLabel("share")), 1)
2442
+ y(M, null, {
2443
+ default: I(() => [
2444
+ se(q(oe(t).getLabel("share")), 1)
2449
2445
  ]),
2450
2446
  _: 1
2451
2447
  }),
2452
- y(_)
2448
+ y(L)
2453
2449
  ]),
2454
2450
  _: 1
2455
2451
  }),
2456
- y(C, { class: "mt-5" }, {
2457
- default: M(() => [
2452
+ y(_, { class: "mt-5" }, {
2453
+ default: I(() => [
2458
2454
  o("p", Mn, [
2459
2455
  y(m, { location: "top" }, {
2460
- activator: M(({ props: g }) => [
2456
+ activator: I(({ props: g }) => [
2461
2457
  y(v, be({
2462
2458
  depressed: "",
2463
2459
  fab: "",
@@ -2465,13 +2461,13 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
2465
2461
  icon: "mdi-facebook"
2466
2462
  }, g, { onClick: a }), null, 16)
2467
2463
  ]),
2468
- default: M(() => [
2469
- o("span", null, z(oe(t).getLabel("share-to-facebook")), 1)
2464
+ default: I(() => [
2465
+ o("span", null, q(oe(t).getLabel("share-to-facebook")), 1)
2470
2466
  ]),
2471
2467
  _: 1
2472
2468
  }),
2473
2469
  y(m, { location: "top" }, {
2474
- activator: M(({ props: g }) => [
2470
+ activator: I(({ props: g }) => [
2475
2471
  y(v, be({
2476
2472
  depressed: "",
2477
2473
  fab: "",
@@ -2479,13 +2475,13 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
2479
2475
  icon: "mdi-linkedin"
2480
2476
  }, g, { onClick: s }), null, 16)
2481
2477
  ]),
2482
- default: M(() => [
2483
- o("span", null, z(oe(t).getLabel("share-to-linkedin")), 1)
2478
+ default: I(() => [
2479
+ o("span", null, q(oe(t).getLabel("share-to-linkedin")), 1)
2484
2480
  ]),
2485
2481
  _: 1
2486
2482
  }),
2487
2483
  y(m, { location: "top" }, {
2488
- activator: M(({ props: g }) => [
2484
+ activator: I(({ props: g }) => [
2489
2485
  y(v, be({
2490
2486
  depressed: "",
2491
2487
  fab: "",
@@ -2493,13 +2489,13 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
2493
2489
  icon: "mdi-twitter"
2494
2490
  }, g, { onClick: n }), null, 16)
2495
2491
  ]),
2496
- default: M(() => [
2497
- o("span", null, z(oe(t).getLabel("share-to-twitter")), 1)
2492
+ default: I(() => [
2493
+ o("span", null, q(oe(t).getLabel("share-to-twitter")), 1)
2498
2494
  ]),
2499
2495
  _: 1
2500
2496
  }),
2501
2497
  y(m, { location: "top" }, {
2502
- activator: M(({ props: g }) => [
2498
+ activator: I(({ props: g }) => [
2503
2499
  y(v, be({
2504
2500
  depressed: "",
2505
2501
  fab: "",
@@ -2509,13 +2505,13 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
2509
2505
  href: `mailto:?body=${l.value}`
2510
2506
  }, g), null, 16, ["href"])
2511
2507
  ]),
2512
- default: M(() => [
2513
- o("span", null, z(oe(t).getLabel("share-via-email")), 1)
2508
+ default: I(() => [
2509
+ o("span", null, q(oe(t).getLabel("share-via-email")), 1)
2514
2510
  ]),
2515
2511
  _: 1
2516
2512
  }),
2517
2513
  y(m, { location: "top" }, {
2518
- activator: M(({ props: g }) => [
2514
+ activator: I(({ props: g }) => [
2519
2515
  y(v, be({
2520
2516
  depressed: "",
2521
2517
  fab: "",
@@ -2524,12 +2520,12 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
2524
2520
  onClick: i
2525
2521
  }, g), null, 16)
2526
2522
  ]),
2527
- default: M(() => [
2528
- o("span", null, z(oe(t).getLabel("copy-link")), 1)
2523
+ default: I(() => [
2524
+ o("span", null, q(oe(t).getLabel("copy-link")), 1)
2529
2525
  ]),
2530
2526
  _: 1
2531
2527
  }),
2532
- y(_)
2528
+ y(L)
2533
2529
  ])
2534
2530
  ]),
2535
2531
  _: 1
@@ -2557,47 +2553,47 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
2557
2553
  return a && (k = `${n.getURL(i)}`), k;
2558
2554
  }
2559
2555
  return (i, k) => {
2560
- const p = T("v-btn"), v = T("v-img"), m = T("v-list-item-title"), I = T("v-list-item"), _ = T("v-list"), L = T("v-menu");
2561
- return h(), F("div", null, [
2562
- y(L, {
2556
+ const h = T("v-btn"), v = T("v-img"), m = T("v-list-item-title"), M = T("v-list-item"), L = T("v-list"), A = T("v-menu");
2557
+ return p(), F("div", null, [
2558
+ y(A, {
2563
2559
  transition: "slide-x-reverse-transition",
2564
2560
  location: "top end",
2565
2561
  origin: "end bottom",
2566
2562
  elevation: "0"
2567
2563
  }, {
2568
- activator: M(({ props: C }) => [
2569
- y(p, be({
2564
+ activator: I(({ props: _ }) => [
2565
+ y(h, be({
2570
2566
  "prepend-icon": "mdi-palette-outline",
2571
2567
  rounded: ""
2572
- }, C), {
2573
- default: M(() => [
2574
- se(z(oe(l).getLabel("interior")), 1)
2568
+ }, _), {
2569
+ default: I(() => [
2570
+ se(q(oe(l).getLabel("interior")), 1)
2575
2571
  ]),
2576
2572
  _: 2
2577
2573
  }, 1040)
2578
2574
  ]),
2579
- default: M(() => [
2580
- y(_, { class: "interior-selector-list" }, {
2581
- default: M(() => [
2582
- (h(!0), F(Ce, null, _e(i.availableArchetypes, (C, E) => (h(), N(I, {
2575
+ default: I(() => [
2576
+ y(L, { class: "interior-selector-list" }, {
2577
+ default: I(() => [
2578
+ (p(!0), F(Ce, null, _e(i.availableArchetypes, (_, E) => (p(), N(M, {
2583
2579
  density: "compact",
2584
2580
  key: `at-menuitem-${E}`,
2585
- onClick: (D) => e("selectInterior", C.archetypeID),
2581
+ onClick: (D) => e("selectInterior", _.archetypeID),
2586
2582
  active: E === i.selectedIndex,
2587
2583
  class: "interior-selector-list-item"
2588
2584
  }, {
2589
- prepend: M(() => [
2585
+ prepend: I(() => [
2590
2586
  y(v, {
2591
2587
  width: "100",
2592
2588
  "max-width": "100",
2593
2589
  height: "66",
2594
- src: s(C.url)
2590
+ src: s(_.url)
2595
2591
  }, null, 8, ["src"])
2596
2592
  ]),
2597
- default: M(() => [
2593
+ default: I(() => [
2598
2594
  y(m, { class: "text-caption py-2 px-4" }, {
2599
- default: M(() => [
2600
- se(z(oe(l).get(C.title)), 1)
2595
+ default: I(() => [
2596
+ se(q(oe(l).get(_.title)), 1)
2601
2597
  ]),
2602
2598
  _: 2
2603
2599
  }, 1024)
@@ -2627,7 +2623,7 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
2627
2623
  }));
2628
2624
  return (n, s) => {
2629
2625
  const i = T("v-img");
2630
- return h(), F("div", {
2626
+ return p(), F("div", {
2631
2627
  style: re(l.value)
2632
2628
  }, [
2633
2629
  y(i, {
@@ -2646,7 +2642,7 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
2646
2642
  },
2647
2643
  setup(u) {
2648
2644
  const t = u, e = V(() => ({ "background-image": `url("${encodeURI(t.image)}")` }));
2649
- return (l, a) => (h(), F("div", Dn, [
2645
+ return (l, a) => (p(), F("div", Dn, [
2650
2646
  o("div", {
2651
2647
  class: ye(["img-div", [l.aspectRatio]]),
2652
2648
  style: re(e.value)
@@ -2666,14 +2662,14 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
2666
2662
  }
2667
2663
  return (a, n) => {
2668
2664
  const s = T("v-img");
2669
- return h(), F("div", $n, [
2665
+ return p(), F("div", $n, [
2670
2666
  o("div", Hn, [
2671
2667
  y(s, {
2672
2668
  src: oe(On),
2673
2669
  "aspect-ratio": "1"
2674
2670
  }, null, 8, ["src"])
2675
2671
  ]),
2676
- o("div", jn, z(e.value), 1)
2672
+ o("div", jn, q(e.value), 1)
2677
2673
  ]);
2678
2674
  };
2679
2675
  }
@@ -2690,7 +2686,7 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
2690
2686
  const e = t;
2691
2687
  return (l, a) => {
2692
2688
  const n = T("v-btn");
2693
- return h(), F("div", Yn, [
2689
+ return p(), F("div", Yn, [
2694
2690
  y(n, {
2695
2691
  density: "comfortable",
2696
2692
  elevation: "3",
@@ -2713,15 +2709,15 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
2713
2709
  });
2714
2710
  return (s, i) => {
2715
2711
  const k = T("v-btn");
2716
- return h(), N(k, {
2712
+ return p(), N(k, {
2717
2713
  color: "darken-2",
2718
2714
  elevation: "1",
2719
2715
  rounded: "",
2720
2716
  plain: "",
2721
- onClick: i[0] || (i[0] = (p) => l("toggle"))
2717
+ onClick: i[0] || (i[0] = (h) => l("toggle"))
2722
2718
  }, {
2723
- default: M(() => [
2724
- se(z(oe(a).getLabel(n.value)), 1)
2719
+ default: I(() => [
2720
+ se(q(oe(a).getLabel(n.value)), 1)
2725
2721
  ]),
2726
2722
  _: 1
2727
2723
  });
@@ -2730,24 +2726,24 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
2730
2726
  }), Qn = {
2731
2727
  key: 0,
2732
2728
  class: "text-white disclaimer caption"
2733
- }, zn = /* @__PURE__ */ Q({
2729
+ }, qn = /* @__PURE__ */ Q({
2734
2730
  __name: "VDisclaimer",
2735
2731
  setup(u) {
2736
2732
  const t = pe("i18n"), e = r(!0);
2737
- return (l, a) => (h(), N(ze, { name: "fade-transition" }, {
2738
- default: M(() => [
2739
- e.value ? (h(), F("div", Qn, [
2740
- se(z(oe(t).getLabel("all-illustrations-are-indicative-deviations-may-occur")) + " ", 1),
2733
+ return (l, a) => (p(), N(qe, { name: "fade-transition" }, {
2734
+ default: I(() => [
2735
+ e.value ? (p(), F("div", Qn, [
2736
+ se(q(oe(t).getLabel("all-illustrations-are-indicative-deviations-may-occur")) + " ", 1),
2741
2737
  o("span", {
2742
2738
  onClick: a[0] || (a[0] = (n) => e.value = !1),
2743
2739
  class: "link-text text-decoration-underline"
2744
- }, z(oe(t).getLabel("i-understand")), 1)
2740
+ }, q(oe(t).getLabel("i-understand")), 1)
2745
2741
  ])) : H("", !0)
2746
2742
  ]),
2747
2743
  _: 1
2748
2744
  }));
2749
2745
  }
2750
- }), qn = /* @__PURE__ */ te(zn, [["__scopeId", "data-v-28008b18"]]), Be = (u) => (ot("data-v-53c0bb27"), u = u(), nt(), u), Zn = {
2746
+ }), zn = /* @__PURE__ */ te(qn, [["__scopeId", "data-v-28008b18"]]), Be = (u) => (Je("data-v-53c0bb27"), u = u(), et(), u), Zn = {
2751
2747
  key: 0,
2752
2748
  class: "tutorial"
2753
2749
  }, Xn = {
@@ -3289,72 +3285,72 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
3289
3285
  /iPod/i,
3290
3286
  /BlackBerry/i,
3291
3287
  /Windows Phone/i
3292
- ].some((I) => navigator.userAgent.match(I))), k = V(() => {
3288
+ ].some((M) => navigator.userAgent.match(M))), k = V(() => {
3293
3289
  const m = localStorage.getItem(
3294
3290
  `${e.project}-dont-show-tutorial`
3295
3291
  );
3296
3292
  return m && l("closeTutorial"), m;
3297
3293
  });
3298
- function p() {
3294
+ function h() {
3299
3295
  s.value && v(), n.value = !1, l("closeTutorial");
3300
3296
  }
3301
3297
  function v() {
3302
3298
  localStorage.setItem(`${e.project}-dont-show-tutorial`, "true");
3303
3299
  }
3304
- return (m, I) => {
3305
- const _ = T("v-checkbox"), L = T("v-btn");
3306
- return h(), N(ze, { name: "fade-transition" }, {
3307
- default: M(() => [
3308
- n.value && !k.value ? (h(), F("div", Zn, [
3309
- i.value ? H("", !0) : (h(), F("div", Xn, [
3300
+ return (m, M) => {
3301
+ const L = T("v-checkbox"), A = T("v-btn");
3302
+ return p(), N(qe, { name: "fade-transition" }, {
3303
+ default: I(() => [
3304
+ n.value && !k.value ? (p(), F("div", Zn, [
3305
+ i.value ? H("", !0) : (p(), F("div", Xn, [
3310
3306
  o("div", Kn, [
3311
3307
  o("div", Jn, [
3312
3308
  ea,
3313
- o("div", ta, z(oe(a).getLabel("click-and-drag-to-look-around")), 1)
3309
+ o("div", ta, q(oe(a).getLabel("click-and-drag-to-look-around")), 1)
3314
3310
  ]),
3315
3311
  o("div", oa, [
3316
3312
  na,
3317
- o("div", aa, z(oe(a).getLabel("click-on-the-circles-to-move-around")), 1)
3313
+ o("div", aa, q(oe(a).getLabel("click-on-the-circles-to-move-around")), 1)
3318
3314
  ]),
3319
3315
  o("div", la, [
3320
3316
  ia,
3321
- o("div", sa, z(oe(a).getLabel("use-the-mouse-wheel-to-zoom")), 1)
3317
+ o("div", sa, q(oe(a).getLabel("use-the-mouse-wheel-to-zoom")), 1)
3322
3318
  ])
3323
3319
  ]),
3324
3320
  o("div", ra, [
3325
3321
  o("div", ua, [
3326
3322
  ca,
3327
- o("div", da, z(oe(a).getLabel("you-can-also-use-the-arrow-keys-to-move-around")), 1)
3323
+ o("div", da, q(oe(a).getLabel("you-can-also-use-the-arrow-keys-to-move-around")), 1)
3328
3324
  ])
3329
3325
  ])
3330
3326
  ])),
3331
- i.value ? (h(), F("div", va, [
3327
+ i.value ? (p(), F("div", va, [
3332
3328
  o("div", ma, [
3333
3329
  pa,
3334
- o("div", ha, z(oe(a).getLabel("tap-and-drag-to-look-around")), 1)
3330
+ o("div", ha, q(oe(a).getLabel("tap-and-drag-to-look-around")), 1)
3335
3331
  ]),
3336
3332
  o("div", fa, [
3337
3333
  ga,
3338
- o("div", wa, z(oe(a).getLabel("tap-on-the-circles-to-move-around")), 1)
3334
+ o("div", wa, q(oe(a).getLabel("tap-on-the-circles-to-move-around")), 1)
3339
3335
  ]),
3340
3336
  o("div", ka, [
3341
3337
  ba,
3342
- o("div", ya, z(oe(a).getLabel("use-two-fingers-to-zoom")), 1)
3338
+ o("div", ya, q(oe(a).getLabel("use-two-fingers-to-zoom")), 1)
3343
3339
  ])
3344
3340
  ])) : H("", !0),
3345
3341
  o("div", _a, [
3346
- y(_, {
3342
+ y(L, {
3347
3343
  modelValue: s.value,
3348
- "onUpdate:modelValue": I[0] || (I[0] = (C) => s.value = C),
3344
+ "onUpdate:modelValue": M[0] || (M[0] = (_) => s.value = _),
3349
3345
  label: oe(a).getLabel("dont-show-again")
3350
3346
  }, null, 8, ["modelValue", "label"]),
3351
- y(L, {
3347
+ y(A, {
3352
3348
  small: "",
3353
3349
  outlined: "",
3354
3350
  class: "mt-5",
3355
- onClick: I[1] || (I[1] = (C) => p())
3351
+ onClick: M[1] || (M[1] = (_) => h())
3356
3352
  }, {
3357
- default: M(() => [
3353
+ default: I(() => [
3358
3354
  se("Ok")
3359
3355
  ]),
3360
3356
  _: 1
@@ -3366,7 +3362,7 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
3366
3362
  });
3367
3363
  };
3368
3364
  }
3369
- }), Aa = /* @__PURE__ */ te(Ca, [["__scopeId", "data-v-53c0bb27"]]), La = (u) => (ot("data-v-a28b3f8d"), u = u(), nt(), u), Ia = { class: "player-settings-ui" }, Ma = { id: "settings-ui-form" }, Sa = { class: "form-inputs" }, Ea = { class: "setting-label" }, Fa = { class: "setting-label" }, xa = ["max", "min", "step"], Ba = { class: "setting-label" }, Va = { class: "flex-grow-1 flex-shrink-0" }, Ua = ["onUpdate:modelValue"], Da = {
3365
+ }), Aa = /* @__PURE__ */ te(Ca, [["__scopeId", "data-v-53c0bb27"]]), La = (u) => (Je("data-v-a28b3f8d"), u = u(), et(), u), Ia = { class: "player-settings-ui" }, Ma = { id: "settings-ui-form" }, Sa = { class: "form-inputs" }, Ea = { class: "setting-label" }, Fa = { class: "setting-label" }, xa = ["max", "min", "step"], Ba = { class: "setting-label" }, Va = { class: "flex-grow-1 flex-shrink-0" }, Ua = ["onUpdate:modelValue"], Da = {
3370
3366
  key: 3,
3371
3367
  "d-block": "",
3372
3368
  class: "mt-3"
@@ -3384,7 +3380,7 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
3384
3380
  },
3385
3381
  emits: ["updateSettings", "saveSettings"],
3386
3382
  setup(u, { emit: t }) {
3387
- const e = u, l = t, a = r(_(e.initialSettings));
3383
+ const e = u, l = t, a = r(L(e.initialSettings));
3388
3384
  Z(
3389
3385
  a,
3390
3386
  () => {
@@ -3393,41 +3389,41 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
3393
3389
  { deep: !0 }
3394
3390
  );
3395
3391
  const n = V(() => {
3396
- let L = {};
3397
- for (const [C, E] of Object.entries(a.value))
3398
- C === "whitePoint" ? L[C] = v(E.value) : L[C] = E.value;
3399
- return L;
3392
+ let A = {};
3393
+ for (const [_, E] of Object.entries(a.value))
3394
+ _ === "whitePoint" ? A[_] = v(E.value) : A[_] = E.value;
3395
+ return A;
3400
3396
  });
3401
3397
  function s() {
3402
3398
  l("updateSettings", n.value);
3403
3399
  }
3404
3400
  function i() {
3405
- const L = document.createElement("a");
3406
- L.href = URL.createObjectURL(
3401
+ const A = document.createElement("a");
3402
+ A.href = URL.createObjectURL(
3407
3403
  new Blob([JSON.stringify(n.value, null, 2)])
3408
3404
  );
3409
- const C = `player-settings-${e.projectSlug}-${Date.now()}.json`;
3410
- L.download = C, L.style.display = "none", document.body.appendChild(L), L.click(), document.body.removeChild(L);
3405
+ const _ = `player-settings-${e.projectSlug}-${Date.now()}.json`;
3406
+ A.download = _, A.style.display = "none", document.body.appendChild(A), A.click(), document.body.removeChild(A);
3411
3407
  }
3412
3408
  function k() {
3413
3409
  l("saveSettings", n.value);
3414
3410
  }
3415
- function p() {
3416
- a.value = _(), l("updateSettings", n.value);
3411
+ function h() {
3412
+ a.value = L(), l("updateSettings", n.value);
3417
3413
  }
3418
- function v(L) {
3419
- const C = parseInt(L.substr(1, 2), 16) / 255, E = parseInt(L.substr(3, 2), 16) / 255, D = parseInt(L.substr(5, 2), 16) / 255;
3420
- return [C, E, D];
3414
+ function v(A) {
3415
+ const _ = parseInt(A.substr(1, 2), 16) / 255, E = parseInt(A.substr(3, 2), 16) / 255, D = parseInt(A.substr(5, 2), 16) / 255;
3416
+ return [_, E, D];
3421
3417
  }
3422
- function m(L) {
3423
- var C = L.toString(16);
3424
- return C.length == 1 ? "0" + C : C;
3418
+ function m(A) {
3419
+ var _ = A.toString(16);
3420
+ return _.length == 1 ? "0" + _ : _;
3425
3421
  }
3426
- function I([L, C, E]) {
3427
- return "#" + m(parseInt((L * 255).toString())) + m(parseInt((C * 255).toString())) + m(parseInt((E * 255).toString()));
3422
+ function M([A, _, E]) {
3423
+ return "#" + m(parseInt((A * 255).toString())) + m(parseInt((_ * 255).toString())) + m(parseInt((E * 255).toString()));
3428
3424
  }
3429
- function _(L = {}) {
3430
- const C = [
3425
+ function L(A = {}) {
3426
+ const _ = [
3431
3427
  "Cool 5",
3432
3428
  "Cool 10",
3433
3429
  "Cool 15",
@@ -3450,7 +3446,7 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
3450
3446
  TRANSITION_MOVEMENT_SCALE: 1.3,
3451
3447
  whitePoint: [1, 1, 1],
3452
3448
  lut: "",
3453
- ...L
3449
+ ...A
3454
3450
  };
3455
3451
  return {
3456
3452
  exposureFovScale: {
@@ -3512,12 +3508,12 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
3512
3508
  min: null,
3513
3509
  max: null,
3514
3510
  step: null,
3515
- value: I(E.whitePoint)
3511
+ value: M(E.whitePoint)
3516
3512
  },
3517
3513
  lut: {
3518
3514
  label: "Lut",
3519
3515
  type: "lut",
3520
- items: C.map((D) => ({
3516
+ items: _.map((D) => ({
3521
3517
  text: D,
3522
3518
  value: `https://cdn.visuado.com/luts/${D}.png`
3523
3519
  })),
@@ -3525,16 +3521,16 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
3525
3521
  }
3526
3522
  };
3527
3523
  }
3528
- return (L, C) => {
3529
- const E = T("v-text-field"), D = T("v-slider"), g = T("v-checkbox"), A = T("v-btn"), R = T("v-select"), c = T("v-icon");
3530
- return h(), F("div", Ia, [
3524
+ return (A, _) => {
3525
+ const E = T("v-text-field"), D = T("v-slider"), g = T("v-checkbox"), C = T("v-btn"), R = T("v-select"), c = T("v-icon");
3526
+ return p(), F("div", Ia, [
3531
3527
  o("form", Ma, [
3532
3528
  o("div", Sa, [
3533
- (h(!0), F(Ce, null, _e(a.value, (f, b, B) => (h(), F("div", {
3529
+ (p(!0), F(Ce, null, _e(a.value, (f, b, B) => (p(), F("div", {
3534
3530
  key: B,
3535
3531
  "d-block": ""
3536
3532
  }, [
3537
- f.type === "slider" ? (h(), N(D, {
3533
+ f.type === "slider" ? (p(), N(D, {
3538
3534
  key: 0,
3539
3535
  modelValue: a.value[b].value,
3540
3536
  "onUpdate:modelValue": (U) => a.value[b].value = U,
@@ -3543,10 +3539,10 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
3543
3539
  min: f.min,
3544
3540
  step: f.step
3545
3541
  }, {
3546
- prepend: M(() => [
3547
- o("div", Ea, z(f.label), 1)
3542
+ prepend: I(() => [
3543
+ o("div", Ea, q(f.label), 1)
3548
3544
  ]),
3549
- append: M(() => [
3545
+ append: I(() => [
3550
3546
  o("div", null, [
3551
3547
  y(E, {
3552
3548
  modelValue: a.value[b].value,
@@ -3565,35 +3561,35 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
3565
3561
  ]),
3566
3562
  _: 2
3567
3563
  }, 1032, ["modelValue", "onUpdate:modelValue", "max", "min", "step"])) : H("", !0),
3568
- f.type === "boolean" ? (h(), N(g, {
3564
+ f.type === "boolean" ? (p(), N(g, {
3569
3565
  key: 1,
3570
3566
  modelValue: a.value[b].value,
3571
3567
  "onUpdate:modelValue": (U) => a.value[b].value = U,
3572
3568
  onChange: s
3573
3569
  }, {
3574
- prepend: M(() => [
3575
- o("div", Fa, z(f.label), 1)
3570
+ prepend: I(() => [
3571
+ o("div", Fa, q(f.label), 1)
3576
3572
  ]),
3577
- append: M(() => [
3578
- o("div", null, z(f.value), 1)
3573
+ append: I(() => [
3574
+ o("div", null, q(f.value), 1)
3579
3575
  ]),
3580
3576
  _: 2
3581
3577
  }, 1032, ["modelValue", "onUpdate:modelValue"])) : H("", !0),
3582
- f.type === "color" ? (h(), F("div", {
3578
+ f.type === "color" ? (p(), F("div", {
3583
3579
  key: 2,
3584
3580
  class: "d-flex",
3585
3581
  max: f.max,
3586
3582
  min: f.min,
3587
3583
  step: f.step
3588
3584
  }, [
3589
- o("div", Ba, z(f.label), 1),
3585
+ o("div", Ba, q(f.label), 1),
3590
3586
  o("div", Va, [
3591
3587
  de(o("input", {
3592
3588
  "onUpdate:modelValue": (U) => a.value[b].value = U,
3593
3589
  type: "color",
3594
3590
  onChange: s
3595
3591
  }, null, 40, Ua), [
3596
- [$t, a.value[b].value]
3592
+ [Bt, a.value[b].value]
3597
3593
  ])
3598
3594
  ]),
3599
3595
  o("div", null, [
@@ -3610,16 +3606,16 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
3610
3606
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
3611
3607
  ])
3612
3608
  ], 8, xa)) : H("", !0),
3613
- f.type === "lut" ? (h(), F("div", Da, [
3609
+ f.type === "lut" ? (p(), F("div", Da, [
3614
3610
  o("div", Ra, [
3615
- o("div", Ta, z(f.label), 1),
3611
+ o("div", Ta, q(f.label), 1),
3616
3612
  o("div", null, [
3617
- y(A, {
3613
+ y(C, {
3618
3614
  class: "ml-2",
3619
3615
  "x-small": "",
3620
3616
  onClick: (U) => a.value[b].value = null
3621
3617
  }, {
3622
- default: M(() => [
3618
+ default: I(() => [
3623
3619
  se(" Clear Lut ")
3624
3620
  ]),
3625
3621
  _: 2
@@ -3661,22 +3657,22 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
3661
3657
  ]))), 128))
3662
3658
  ]),
3663
3659
  o("div", ja, [
3664
- y(A, {
3665
- onClick: C[0] || (C[0] = (f) => p())
3660
+ y(C, {
3661
+ onClick: _[0] || (_[0] = (f) => h())
3666
3662
  }, {
3667
- default: M(() => [
3663
+ default: I(() => [
3668
3664
  se("Reset")
3669
3665
  ]),
3670
3666
  _: 1
3671
3667
  }),
3672
- y(A, {
3668
+ y(C, {
3673
3669
  class: "ml-2",
3674
- onClick: C[1] || (C[1] = (f) => i())
3670
+ onClick: _[1] || (_[1] = (f) => i())
3675
3671
  }, {
3676
- default: M(() => [
3672
+ default: I(() => [
3677
3673
  se(" Download Json "),
3678
3674
  y(c, { color: "black darken-1" }, {
3679
- default: M(() => [
3675
+ default: I(() => [
3680
3676
  se("mdi-download")
3681
3677
  ]),
3682
3678
  _: 1
@@ -3684,14 +3680,14 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
3684
3680
  ]),
3685
3681
  _: 1
3686
3682
  }),
3687
- y(A, {
3683
+ y(C, {
3688
3684
  class: "ml-2",
3689
- onClick: C[2] || (C[2] = (f) => k())
3685
+ onClick: _[2] || (_[2] = (f) => k())
3690
3686
  }, {
3691
- default: M(() => [
3687
+ default: I(() => [
3692
3688
  se(" Save Settings "),
3693
3689
  y(c, { color: "black darken-1" }, {
3694
- default: M(() => [
3690
+ default: I(() => [
3695
3691
  se("mdi-save")
3696
3692
  ]),
3697
3693
  _: 1
@@ -3708,20 +3704,20 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
3708
3704
  class: "rotation-marker-svg",
3709
3705
  viewBox: "0 0 40 40",
3710
3706
  xmlns: "http://www.w3.org/2000/svg"
3711
- }, Wa = /* @__PURE__ */ ft('<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), Ga = ["transform"], Qa = /* @__PURE__ */ ft('<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), za = [
3707
+ }, Wa = /* @__PURE__ */ pt('<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), Ga = ["transform"], Qa = /* @__PURE__ */ pt('<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), qa = [
3712
3708
  Qa
3713
- ], qa = /* @__PURE__ */ Q({
3709
+ ], za = /* @__PURE__ */ Q({
3714
3710
  __name: "VRotationMarker",
3715
3711
  props: {
3716
3712
  rotation: {}
3717
3713
  },
3718
3714
  setup(u) {
3719
- return (t, e) => (h(), F("svg", Ya, [
3715
+ return (t, e) => (p(), F("svg", Ya, [
3720
3716
  Wa,
3721
3717
  o("g", {
3722
3718
  "transform-origin": "20 20",
3723
3719
  transform: `rotate(${45 + t.rotation})`
3724
- }, za, 8, Ga)
3720
+ }, qa, 8, Ga)
3725
3721
  ]));
3726
3722
  }
3727
3723
  }), Za = { class: "minimap-wrapper d-flex align-stretch justify-space-between" }, Xa = { class: "minimap-container" }, Ka = /* @__PURE__ */ Q({
@@ -3735,21 +3731,21 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
3735
3731
  transformAngle: {}
3736
3732
  },
3737
3733
  setup(u) {
3738
- const t = u, e = r(512), l = r(384), a = r(new xe.Vector3()), n = r(new xe.Object3D()), s = r({}), i = r(1), k = r(), p = V(() => t.allCameras), v = V(() => t.allCameras.find((b) => b.id === t.currentCamera)), m = V(() => t.rotation), I = V(() => new xe.Vector3(
3734
+ const t = u, e = r(512), l = r(384), a = r(new xe.Vector3()), n = r(new xe.Object3D()), s = r({}), i = r(1), k = r(), h = V(() => t.allCameras), v = V(() => t.allCameras.find((b) => b.id === t.currentCamera)), m = V(() => t.rotation), M = V(() => new xe.Vector3(
3739
3735
  t.minimapCamera.position.x,
3740
3736
  t.minimapCamera.position.y,
3741
3737
  t.minimapCamera.position.z
3742
- )), _ = V(() => parseFloat(v.value.floor_vertical_position)), L = V(() => p.value.map((b) => {
3738
+ )), L = V(() => parseFloat(v.value.floor_vertical_position)), A = V(() => h.value.map((b) => {
3743
3739
  const B = b.uposition.split(","), U = new xe.Vector3(
3744
- B[0] - I.value.x,
3740
+ B[0] - M.value.x,
3745
3741
  0,
3746
- B[2] - I.value.z
3742
+ B[2] - M.value.z
3747
3743
  );
3748
3744
  return {
3749
3745
  ...b,
3750
3746
  ...R(a.value, U)
3751
3747
  };
3752
- })), C = V(() => `background-image: url(${t.backgroundImage});`), E = V(() => {
3748
+ })), _ = V(() => `background-image: url(${t.backgroundImage});`), E = V(() => {
3753
3749
  let b = i.value > 1 ? 1 : i.value;
3754
3750
  return b < 0.8 && (b = 0.4), `scale: ${b > 1 ? 1 : b}; transform: rotate(${t.transformAngle}deg);`;
3755
3751
  });
@@ -3757,7 +3753,7 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
3757
3753
  c(), g(), f();
3758
3754
  const b = document.getElementById("moveableDiv");
3759
3755
  b && (k.value = new ResizeObserver(f).observe(b));
3760
- }), Ht(() => {
3756
+ }), Vt(() => {
3761
3757
  c(), g();
3762
3758
  }), Oe(() => {
3763
3759
  k.value && k.value.unobserve(document.getElementById("moveableDiv"));
@@ -3770,7 +3766,7 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
3770
3766
  transform: `rotateZ(${n.value.rotation.y}deg) rotateX(${n.value.rotation.x}deg)`
3771
3767
  };
3772
3768
  }
3773
- function A(b) {
3769
+ function C(b) {
3774
3770
  return {
3775
3771
  top: `${Math.abs(b.top)}%`,
3776
3772
  left: `${Math.abs(b.left)}%`
@@ -3786,7 +3782,7 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
3786
3782
  };
3787
3783
  }
3788
3784
  function c() {
3789
- const b = t.minimapCamera.position.y - _.value;
3785
+ const b = t.minimapCamera.position.y - L.value;
3790
3786
  l.value = 2 * (b * Math.tan(D(t.minimapCamera.fovY / 2))), e.value = 512 / 384 * l.value;
3791
3787
  const B = l.value / 2, U = e.value / 2, $ = new xe.Vector3(U * -1, 0, B * -1);
3792
3788
  a.value = $;
@@ -3798,7 +3794,7 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
3798
3794
  const B = b.offsetHeight / 384 * 0.8, U = b.offsetWidth / 512 * 0.8;
3799
3795
  b.offsetHeight > b.offsetWidth ? i.value = U * 0.5 : i.value = B * 0.9;
3800
3796
  }
3801
- return (b, B) => (h(), F("div", Za, [
3797
+ return (b, B) => (p(), F("div", Za, [
3802
3798
  o("div", Xa, [
3803
3799
  o("div", {
3804
3800
  class: "web-minimap",
@@ -3806,25 +3802,25 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
3806
3802
  }, [
3807
3803
  o("div", {
3808
3804
  class: "minimap-background-image",
3809
- style: re(C.value)
3805
+ style: re(_.value)
3810
3806
  }, null, 4),
3811
3807
  o("div", {
3812
3808
  class: "center-pivot",
3813
3809
  style: re(s.value)
3814
3810
  }, [
3815
- (h(!0), F(Ce, null, _e(L.value, (U) => (h(), F("div", {
3811
+ (p(!0), F(Ce, null, _e(A.value, (U) => (p(), F("div", {
3816
3812
  key: U.id
3817
3813
  }, [
3818
- v.value.floorLevel === U.floorLevel ? (h(), F("div", {
3814
+ v.value.floorLevel === U.floorLevel ? (p(), F("div", {
3819
3815
  key: 0,
3820
3816
  class: "single-camera-marker",
3821
- style: re(A(U))
3817
+ style: re(C(U))
3822
3818
  }, null, 4)) : H("", !0),
3823
- v.value.id === U.id ? (h(), N(qa, {
3819
+ v.value.id === U.id ? (p(), N(za, {
3824
3820
  key: 1,
3825
3821
  class: "rotation-marker-component",
3826
3822
  rotation: m.value,
3827
- style: re({ ...A(U) })
3823
+ style: re({ ...C(U) })
3828
3824
  }, null, 8, ["rotation", "style"])) : H("", !0)
3829
3825
  ]))), 128))
3830
3826
  ], 4)
@@ -3832,7 +3828,7 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
3832
3828
  ])
3833
3829
  ]));
3834
3830
  }
3835
- }), Ja = /* @__PURE__ */ te(Ka, [["__scopeId", "data-v-503cace2"]]), el = (u) => (ot("data-v-06db6e63"), u = u(), nt(), u), tl = /* @__PURE__ */ el(() => /* @__PURE__ */ o("div", { id: "filler-div" }, null, -1)), ol = {
3831
+ }), Ja = /* @__PURE__ */ te(Ka, [["__scopeId", "data-v-503cace2"]]), el = (u) => (Je("data-v-06db6e63"), u = u(), et(), u), tl = /* @__PURE__ */ el(() => /* @__PURE__ */ o("div", { id: "filler-div" }, null, -1)), ol = {
3836
3832
  class: "moveable-body",
3837
3833
  id: "moveableDivHeader"
3838
3834
  }, nl = { class: "moveable-footer" }, al = /* @__PURE__ */ Q({
@@ -3847,20 +3843,20 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
3847
3843
  const i = document.getElementById(s.id + "Header");
3848
3844
  if (!i)
3849
3845
  return;
3850
- let k = 0, p = 0, v = 0, m = 0;
3851
- i.addEventListener("touchstart", I, { passive: !1 }), i.addEventListener("touchend", L, { passive: !1 }), i.addEventListener("mousedown", I, { passive: !1 }), i.addEventListener("mouseup", L, { passive: !1 });
3852
- function I(C) {
3853
- C = C || window.event, C.preventDefault();
3854
- let E = C;
3855
- C.type === "touchstart" && (E = C.touches[0]), v = E.clientX, m = E.clientY, document.addEventListener("mouseup", L, { passive: !1 }), document.addEventListener("touchend", L, { passive: !1 }), document.addEventListener("mousemove", _, { passive: !1 }), document.addEventListener("touchmove", _, { passive: !1 });
3846
+ let k = 0, h = 0, v = 0, m = 0;
3847
+ i.addEventListener("touchstart", M, { passive: !1 }), i.addEventListener("touchend", A, { passive: !1 }), i.addEventListener("mousedown", M, { passive: !1 }), i.addEventListener("mouseup", A, { passive: !1 });
3848
+ function M(_) {
3849
+ _ = _ || window.event, _.preventDefault();
3850
+ let E = _;
3851
+ _.type === "touchstart" && (E = _.touches[0]), v = E.clientX, m = E.clientY, document.addEventListener("mouseup", A, { passive: !1 }), document.addEventListener("touchend", A, { passive: !1 }), document.addEventListener("mousemove", L, { passive: !1 }), document.addEventListener("touchmove", L, { passive: !1 });
3856
3852
  }
3857
- function _(C) {
3858
- C = C || window.event, C.preventDefault();
3859
- let E = C;
3860
- C.type === "touchmove" && (E = C.touches[0]), k = v - E.clientX, p = m - E.clientY, v = E.clientX, m = E.clientY, s.style.top = s.offsetTop - p + "px", s.style.left = s.offsetLeft - k + "px";
3853
+ function L(_) {
3854
+ _ = _ || window.event, _.preventDefault();
3855
+ let E = _;
3856
+ _.type === "touchmove" && (E = _.touches[0]), k = v - E.clientX, h = m - E.clientY, v = E.clientX, m = E.clientY, s.style.top = s.offsetTop - h + "px", s.style.left = s.offsetLeft - k + "px";
3861
3857
  }
3862
- function L() {
3863
- document.removeEventListener("mouseup", L, !1), document.removeEventListener("mousemove", _, !1), document.removeEventListener("touchend", L, !1), document.removeEventListener("touchmove", _, !1);
3858
+ function A() {
3859
+ document.removeEventListener("mouseup", A, !1), document.removeEventListener("mousemove", L, !1), document.removeEventListener("touchend", A, !1), document.removeEventListener("touchmove", L, !1);
3864
3860
  }
3865
3861
  }
3866
3862
  function n() {
@@ -3868,7 +3864,7 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
3868
3864
  }
3869
3865
  return (s, i) => {
3870
3866
  const k = T("v-btn");
3871
- return h(), F("div", {
3867
+ return p(), F("div", {
3872
3868
  id: "moveableDiv",
3873
3869
  class: ye(["big d-flex justify-space-between flex-column align-center sizer", l.value])
3874
3870
  }, [
@@ -3876,7 +3872,7 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
3876
3872
  class: "close-icon",
3877
3873
  icon: "mdi-window-close",
3878
3874
  size: "x-small",
3879
- onClick: i[0] || (i[0] = (p) => e("close"))
3875
+ onClick: i[0] || (i[0] = (h) => e("close"))
3880
3876
  }),
3881
3877
  y(k, {
3882
3878
  class: "resize-icon",
@@ -3889,7 +3885,7 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
3889
3885
  class: "rotate-icon",
3890
3886
  size: "x-small",
3891
3887
  icon: "mdi mdi-rotate-right",
3892
- onClick: i[1] || (i[1] = (p) => e("transform")),
3888
+ onClick: i[1] || (i[1] = (h) => e("transform")),
3893
3889
  title: "Rotate"
3894
3890
  }),
3895
3891
  tl,
@@ -3911,11 +3907,11 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
3911
3907
  },
3912
3908
  setup(u) {
3913
3909
  const t = u, e = V(() => t.minimapCamera.rotation ? t.minimapCamera.rotation.y + t.transformAngle - 90 : 0);
3914
- return (l, a) => (h(), F("div", {
3910
+ return (l, a) => (p(), F("div", {
3915
3911
  class: "minimap-compass",
3916
3912
  style: re({ scale: l.scale })
3917
3913
  }, [
3918
- y(Ke, {
3914
+ y(lt, {
3919
3915
  class: "north-indicator",
3920
3916
  longitude: e.value
3921
3917
  }, null, 8, ["longitude"])
@@ -3933,10 +3929,10 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
3933
3929
  },
3934
3930
  emits: ["setBackgroundImage"],
3935
3931
  setup(u, { emit: t }) {
3936
- const e = u, l = t, a = r((/* @__PURE__ */ new Date()).getHours()), n = r(!0), s = r(!0), i = r(""), k = r(/* @__PURE__ */ new Map()), p = pe("localMode"), v = pe("fileLoader"), m = V(() => e.minimapJSON[e.level]), I = V(() => `${Math.floor(a.value).toString().padStart(2, "0")}:00`), _ = V(() => {
3932
+ const e = u, l = t, a = r((/* @__PURE__ */ new Date()).getHours()), n = r(!0), s = r(!0), i = r(""), k = r(/* @__PURE__ */ new Map()), h = pe("localMode"), v = pe("fileLoader"), m = V(() => e.minimapJSON[e.level]), M = V(() => `${Math.floor(a.value).toString().padStart(2, "0")}:00`), L = V(() => {
3937
3933
  if (m.value.sunsimFilesTimeStamps[a.value]) {
3938
- const A = m.value.sunsimFilesTimeStamps[a.value].split(" ");
3939
- return `${A[0]} ${A[1]}`;
3934
+ const C = m.value.sunsimFilesTimeStamps[a.value].split(" ");
3935
+ return `${C[0]} ${C[1]}`;
3940
3936
  }
3941
3937
  return "";
3942
3938
  });
@@ -3944,30 +3940,30 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
3944
3940
  i.value = await E(
3945
3941
  m.value.sunsimFiles[a.value]
3946
3942
  ), s.value = !1;
3947
- const A = await C(e.minimapJSON);
3948
- k.value = A, n.value = !1, l("setBackgroundImage", L(e.level, a.value));
3943
+ const C = await _(e.minimapJSON);
3944
+ k.value = C, n.value = !1, l("setBackgroundImage", A(e.level, a.value));
3949
3945
  }), Z(a, () => {
3950
- const A = L(e.level, a.value);
3951
- l("setBackgroundImage", A);
3946
+ const C = A(e.level, a.value);
3947
+ l("setBackgroundImage", C);
3952
3948
  }), Z(
3953
3949
  () => e.level,
3954
3950
  () => {
3955
- l("setBackgroundImage", L(e.level, a.value));
3951
+ l("setBackgroundImage", A(e.level, a.value));
3956
3952
  },
3957
3953
  { immediate: !0 }
3958
3954
  );
3959
- function L(A, R) {
3960
- return k.value.get(`sunsim${A}_${R}`) ? k.value.get(`sunsim${A}_${R}`) : "";
3955
+ function A(C, R) {
3956
+ return k.value.get(`sunsim${C}_${R}`) ? k.value.get(`sunsim${C}_${R}`) : "";
3961
3957
  }
3962
- async function C(A) {
3958
+ async function _(C) {
3963
3959
  let R = /* @__PURE__ */ new Map();
3964
- for (let c = 0; c < A.length; c++) {
3965
- const f = A[c].sunsimFiles;
3960
+ for (let c = 0; c < C.length; c++) {
3961
+ const f = C[c].sunsimFiles;
3966
3962
  for (let b = 0; b < f.length; b++) {
3967
3963
  const B = f[b];
3968
3964
  try {
3969
- const U = B, $ = B.split("."), q = await E(e.root + U);
3970
- R.set($[0], q);
3965
+ const U = B, $ = B.split("."), z = await E(e.root + U);
3966
+ R.set($[0], z);
3971
3967
  } catch {
3972
3968
  continue;
3973
3969
  }
@@ -3975,37 +3971,37 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
3975
3971
  }
3976
3972
  return R;
3977
3973
  }
3978
- async function E(A) {
3979
- let R = A;
3980
- p && (R = `${v.getURL(A)}`);
3974
+ async function E(C) {
3975
+ let R = C;
3976
+ h && (R = `${v.getURL(C)}`);
3981
3977
  const f = await (await fetch(R)).blob(), b = await g(f);
3982
3978
  return D(b);
3983
3979
  }
3984
- function D(A) {
3985
- return "data:image/jpeg;base64," + A;
3980
+ function D(C) {
3981
+ return "data:image/jpeg;base64," + C;
3986
3982
  }
3987
- async function g(A) {
3983
+ async function g(C) {
3988
3984
  return new Promise((R, c) => {
3989
3985
  const f = new FileReader();
3990
3986
  f.onload = () => {
3991
3987
  const b = f.result.split(",")[1];
3992
3988
  R(b);
3993
- }, f.onerror = c, f.readAsDataURL(A);
3989
+ }, f.onerror = c, f.readAsDataURL(C);
3994
3990
  });
3995
3991
  }
3996
- return (A, R) => {
3992
+ return (C, R) => {
3997
3993
  const c = T("v-progress-linear"), f = T("v-icon"), b = T("v-slider");
3998
- return h(), F("div", rl, [
3994
+ return p(), F("div", rl, [
3999
3995
  o("div", ul, [
4000
3996
  o("div", cl, [
4001
- n.value ? (h(), N(c, {
3997
+ n.value ? (p(), N(c, {
4002
3998
  key: 0,
4003
3999
  indeterminate: "",
4004
4000
  rounded: "",
4005
4001
  height: "6",
4006
4002
  color: "grey lighten-1",
4007
4003
  class: "mr-2"
4008
- })) : (h(), N(b, {
4004
+ })) : (p(), N(b, {
4009
4005
  key: 1,
4010
4006
  modelValue: a.value,
4011
4007
  "onUpdate:modelValue": R[0] || (R[0] = (B) => a.value = B),
@@ -4017,9 +4013,9 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
4017
4013
  "thumb-color": "#373737",
4018
4014
  "hide-details": !0
4019
4015
  }, {
4020
- prepend: M(() => [
4016
+ prepend: I(() => [
4021
4017
  y(f, { color: "#ffab02" }, {
4022
- default: M(() => [
4018
+ default: I(() => [
4023
4019
  se("mdi-white-balance-sunny")
4024
4020
  ]),
4025
4021
  _: 1
@@ -4028,7 +4024,7 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
4028
4024
  _: 1
4029
4025
  }, 8, ["modelValue"]))
4030
4026
  ]),
4031
- n.value ? H("", !0) : (h(), F("div", dl, z(_.value) + " " + z(I.value), 1))
4027
+ n.value ? H("", !0) : (p(), F("div", dl, q(L.value) + " " + q(M.value), 1))
4032
4028
  ])
4033
4029
  ]);
4034
4030
  };
@@ -4057,11 +4053,11 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
4057
4053
  function s() {
4058
4054
  l.value = l.value + 90;
4059
4055
  }
4060
- return (i, k) => (h(), N(ll, {
4061
- onClose: k[0] || (k[0] = (p) => e("close")),
4056
+ return (i, k) => (p(), N(ll, {
4057
+ onClose: k[0] || (k[0] = (h) => e("close")),
4062
4058
  onTransform: s
4063
4059
  }, {
4064
- body: M(() => [
4060
+ body: I(() => [
4065
4061
  y(sl, {
4066
4062
  scale: a.value,
4067
4063
  minimapCamera: i.minimapCamera,
@@ -4078,7 +4074,7 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
4078
4074
  }, null, 8, ["transformAngle", "allCameras", "backgroundImage", "rotation", "currentCamera", "minimapCamera"])
4079
4075
  ])
4080
4076
  ]),
4081
- footer: M(() => [
4077
+ footer: I(() => [
4082
4078
  y(ml, {
4083
4079
  minimapJSON: i.minimapJSON,
4084
4080
  root: `${i.rootUrl}/minimap/`,
@@ -4089,12 +4085,12 @@ const on = { id: "player-wrapper" }, nn = { id: "player-sizer" }, an = {
4089
4085
  _: 1
4090
4086
  }));
4091
4087
  }
4092
- }), vt = /* @__PURE__ */ te(pl, [["__scopeId", "data-v-b903220b"]]);
4088
+ }), ct = /* @__PURE__ */ te(pl, [["__scopeId", "data-v-b903220b"]]);
4093
4089
  class hl {
4094
4090
  constructor(t, e) {
4095
- J(this, "_doc");
4096
- J(this, "_elemId");
4097
- J(this, "_state");
4091
+ ee(this, "_doc");
4092
+ ee(this, "_elemId");
4093
+ ee(this, "_state");
4098
4094
  this._doc = t, this._elemId = e, this._state = { isActive: !1 };
4099
4095
  }
4100
4096
  get isActive() {
@@ -4130,19 +4126,19 @@ class hl {
4130
4126
  this._state.isActive = t;
4131
4127
  }
4132
4128
  }
4133
- function We(u) {
4129
+ function Ye(u) {
4134
4130
  return ("0" + u).slice(-2);
4135
4131
  }
4136
4132
  function fl() {
4137
4133
  const u = /* @__PURE__ */ new Date();
4138
4134
  return [
4139
4135
  u.getFullYear().toString(),
4140
- We(u.getMonth() + 1),
4141
- We(u.getDate()),
4136
+ Ye(u.getMonth() + 1),
4137
+ Ye(u.getDate()),
4142
4138
  " ",
4143
- We(u.getHours()),
4144
- We(u.getMinutes()),
4145
- We(u.getSeconds())
4139
+ Ye(u.getHours()),
4140
+ Ye(u.getMinutes()),
4141
+ Ye(u.getSeconds())
4146
4142
  ].join("");
4147
4143
  }
4148
4144
  function gl() {
@@ -4151,7 +4147,7 @@ function gl() {
4151
4147
  class wl {
4152
4148
  // private cameraParams: any
4153
4149
  constructor(t, e) {
4154
- J(this, "data");
4150
+ ee(this, "data");
4155
4151
  this.data = t;
4156
4152
  }
4157
4153
  download(t = null) {
@@ -4163,7 +4159,10 @@ class wl {
4163
4159
  const kl = { class: "virtual-tour-wrapper" }, bl = {
4164
4160
  key: 0,
4165
4161
  class: "player-error"
4166
- }, yl = { class: "player-and-components-wrapper" }, _l = { key: 1 }, Cl = {
4162
+ }, yl = { class: "player-and-components-wrapper" }, _l = {
4163
+ key: 1,
4164
+ class: "v-player"
4165
+ }, Cl = {
4167
4166
  key: 3,
4168
4167
  class: "settings-panel"
4169
4168
  }, Al = {
@@ -4215,10 +4214,10 @@ const kl = { class: "virtual-tour-wrapper" }, bl = {
4215
4214
  },
4216
4215
  emits: ["onSnapshot", "saveSettings", "onInteriorUpdate", "onCameraUpdate"],
4217
4216
  setup(u, { emit: t }) {
4218
- const e = u, l = t, a = r(!1), n = r(!1), s = r(), i = r(), k = r(), p = r(), v = r(), m = r(0), I = r(), _ = r(), L = r(), C = r(0), E = r(0), D = r(0), g = r(!1), A = r(!1), R = r(), c = r(!1), f = r(new hl(document, "player-wrapper")), b = V(() => !!e.fileLoader), B = V(() => {
4217
+ const e = u, l = t, a = r(!1), n = r(!1), s = r(), i = r(), k = r(), h = r(), v = r(), m = r(0), M = r(), L = r(), A = r(), _ = r(0), E = r(0), D = r(0), g = r(!1), C = r(!1), R = r(), c = r(!1), f = r(new hl(document, "player-wrapper")), b = V(() => !!e.fileLoader), B = V(() => {
4219
4218
  let d = `${e.cdnRoot}/${e.projectSlug}`;
4220
- return e.fileLoader && (d = ""), Vt(d);
4221
- }), U = V(() => `${B.value}/${$.value}/${e.apartmentId}`), $ = V(() => I.value), q = V(() => i.value ? i.value.cameras : []), ee = V(() => {
4219
+ return e.fileLoader && (d = ""), It(d);
4220
+ }), U = V(() => `${B.value}/${$.value}/${e.apartmentId}`), $ = V(() => M.value), z = V(() => i.value ? i.value.cameras : []), J = V(() => {
4222
4221
  if (i.value) {
4223
4222
  const d = i.value.cameras.map(
4224
4223
  (G) => G.floorLevel
@@ -4242,13 +4241,13 @@ const kl = { class: "virtual-tour-wrapper" }, bl = {
4242
4241
  }
4243
4242
  return d;
4244
4243
  }), x = V(() => Y.value.findIndex(
4245
- (d) => d.archetypeID === I.value
4244
+ (d) => d.archetypeID === M.value
4246
4245
  )), W = V(() => k.value ? k.value.cameras.map((d) => ({
4247
4246
  ...d,
4248
- thumbnailUrl: et(
4247
+ thumbnailUrl: Xe(
4249
4248
  `${B.value}/${$.value}/${e.apartmentId}/thumbs/200/${d.id}.jpg`
4250
4249
  ),
4251
- imageUrl: et(
4250
+ imageUrl: Xe(
4252
4251
  `${B.value}/${$.value}/${e.apartmentId}/images/1600/${d.id}.jpg`
4253
4252
  )
4254
4253
  })) : []), S = V(() => !W.value || !W.value[m.value] ? "" : W.value[m.value].imageUrl), Y = V(() => {
@@ -4260,11 +4259,11 @@ const kl = { class: "virtual-tour-wrapper" }, bl = {
4260
4259
  ...d,
4261
4260
  url: `${B.value}/${d.archetypeID}/${e.apartmentId}/thumbs/200/${W.value[m.value].id}.jpg`
4262
4261
  })) : []), K = V(() => {
4263
- if (p.value)
4264
- return p.value.storeys[w.value];
4262
+ if (h.value)
4263
+ return h.value.storeys[w.value];
4265
4264
  }), ne = V(() => i.value && i.value.timeInHours), ue = V(() => {
4266
4265
  if (i.value && i.value.timeInHours && e.showTimeOfDay)
4267
- return Bt(i.value.timeInHours);
4266
+ return Lt(i.value.timeInHours);
4268
4267
  }), ve = V(() => R.value ? R.value : `${B.value}/${$.value}/${e.apartmentId}/minimap/sunsim0_13.jpg`);
4269
4268
  De(
4270
4269
  "i18n",
@@ -4277,7 +4276,7 @@ const kl = { class: "virtual-tour-wrapper" }, bl = {
4277
4276
  d === "virtualTour" && (g.value = !1), d === "slideShow" && (g.value = !0, c.value = !0);
4278
4277
  },
4279
4278
  { immediate: !0 }
4280
- ), Z(p, (d) => {
4279
+ ), Z(h, (d) => {
4281
4280
  if (d.storeys[w.value]) {
4282
4281
  const O = d.storeys[w.value].defaultSunsimFile;
4283
4282
  R.value = `${B.value}/${$.value}/${e.apartmentId}/minimap/${O}`;
@@ -4293,19 +4292,19 @@ const kl = { class: "virtual-tour-wrapper" }, bl = {
4293
4292
  s.value = await Me(B.value);
4294
4293
  }
4295
4294
  async function fe() {
4296
- if (i.value = await Pe(
4295
+ if (i.value = await je(
4297
4296
  B.value,
4298
4297
  $.value,
4299
4298
  e.apartmentId
4300
- ), i.value && (_.value = i.value.cameras.find(() => !0).id), k.value = await Ve(
4299
+ ), i.value && (L.value = i.value.cameras.find(() => !0).id), k.value = await Ve(
4301
4300
  B.value,
4302
4301
  $.value,
4303
4302
  e.apartmentId
4304
4303
  ), k.value) {
4305
4304
  let d = e.defaultWaypointIndex !== null ? e.defaultWaypointIndex : 0;
4306
- m.value = d, _.value = k.value.cameras[d].id, L.value = k.value.cameras[d].id;
4305
+ m.value = d, L.value = k.value.cameras[d].id, A.value = k.value.cameras[d].id;
4307
4306
  }
4308
- e.showMiniMap && (p.value = await Ge(
4307
+ e.showMiniMap && (h.value = await Ge(
4309
4308
  B.value,
4310
4309
  $.value,
4311
4310
  e.apartmentId
@@ -4313,7 +4312,7 @@ const kl = { class: "virtual-tour-wrapper" }, bl = {
4313
4312
  }
4314
4313
  function ge() {
4315
4314
  let d = e.defaultInteriorId;
4316
- d || (d = s.value.defaultArchetypeID), e.validInteriorIds.length && !e.validInteriorIds.includes(d) && (d = e.validInteriorIds[0]), d || (d = s.value.archetypes[0].archetypeID), I.value = d;
4315
+ d || (d = s.value.defaultArchetypeID), e.validInteriorIds.length && !e.validInteriorIds.includes(d) && (d = e.validInteriorIds[0]), d || (d = s.value.archetypes[0].archetypeID), M.value = d;
4317
4316
  }
4318
4317
  function Ie() {
4319
4318
  const d = document.getElementById("main-canvas");
@@ -4352,7 +4351,7 @@ const kl = { class: "virtual-tour-wrapper" }, bl = {
4352
4351
  return;
4353
4352
  }
4354
4353
  }
4355
- async function Pe(d, O, G) {
4354
+ async function je(d, O, G) {
4356
4355
  try {
4357
4356
  return await Qe(
4358
4357
  `${d}/${O}/${G}/apartment.json`
@@ -4396,7 +4395,7 @@ const kl = { class: "virtual-tour-wrapper" }, bl = {
4396
4395
  let d = m.value + 1;
4397
4396
  d >= W.value.length && (d = 0), m.value = d, P(W.value[m.value].id);
4398
4397
  }
4399
- function Ne() {
4398
+ function Pe() {
4400
4399
  let d = m.value - 1;
4401
4400
  d < 0 && (d = W.value.length - 1), m.value = d, P(W.value[m.value].id);
4402
4401
  }
@@ -4405,16 +4404,16 @@ const kl = { class: "virtual-tour-wrapper" }, bl = {
4405
4404
  G != -1 && (m.value = G, O && P(d));
4406
4405
  }
4407
4406
  function P(d) {
4408
- _.value = d;
4407
+ L.value = d;
4409
4408
  }
4410
4409
  function le(d) {
4411
- I.value = d, l("onInteriorUpdate", d), l("onCameraUpdate", L.value, i.value);
4410
+ M.value = d, l("onInteriorUpdate", d), l("onCameraUpdate", A.value, i.value);
4412
4411
  }
4413
4412
  function Se(d) {
4414
- j(d, !1), L.value = d, l("onCameraUpdate", d, i.value);
4413
+ j(d, !1), A.value = d, l("onCameraUpdate", d, i.value);
4415
4414
  }
4416
4415
  function Ee(d) {
4417
- C.value = d;
4416
+ _.value = d;
4418
4417
  }
4419
4418
  function Fe(d) {
4420
4419
  E.value = d;
@@ -4424,72 +4423,72 @@ const kl = { class: "virtual-tour-wrapper" }, bl = {
4424
4423
  }
4425
4424
  function ke(d, O) {
4426
4425
  }
4427
- function rt(d) {
4426
+ function it(d) {
4428
4427
  v.value = d, e.playerSettings && v.value.updateSettings(e.playerSettings);
4429
4428
  }
4430
- function Mt() {
4429
+ function bt() {
4431
4430
  f.value.toggle(), window.scrollTo({ top: 150, behavior: "smooth" });
4432
4431
  }
4433
- function St() {
4432
+ function yt() {
4434
4433
  g.value = !g.value;
4435
4434
  }
4436
- function ut(d) {
4435
+ function st(d) {
4437
4436
  R.value = d;
4438
4437
  }
4439
- async function Et() {
4440
- const d = 180 / Math.PI, O = await v.value.takePhoto(), G = v.value.getRotationEuler(), ae = v.value.getCurrentCamera(), Ue = new wl(O, ae), Ut = [
4438
+ async function _t() {
4439
+ const d = 180 / Math.PI, O = await v.value.takePhoto(), G = v.value.getRotationEuler(), ae = v.value.getCurrentCamera(), Ue = new wl(O, ae), Mt = [
4441
4440
  G.x * d,
4442
4441
  G.y * d,
4443
4442
  G.z * d
4444
4443
  ];
4445
- return l("onSnapshot", Ue, Ut), Ue;
4444
+ return l("onSnapshot", Ue, Mt), Ue;
4446
4445
  }
4447
- function et(d) {
4446
+ function Xe(d) {
4448
4447
  let O = d;
4449
4448
  return b.value ? O = `${e.fileLoader.getURL(d)}` : e.adminMode && (O = O + `?v=${Date.now()}`), O;
4450
4449
  }
4451
4450
  async function Qe(d) {
4452
- const O = et(d);
4451
+ const O = Xe(d);
4453
4452
  try {
4454
- return (await gt.get(O)).data;
4453
+ return (await ht.get(O)).data;
4455
4454
  } catch (G) {
4456
4455
  throw new Error(G);
4457
4456
  }
4458
4457
  }
4459
- function Ft(d) {
4458
+ function Ct(d) {
4460
4459
  v.value.updateSettings(d);
4461
4460
  }
4462
- function xt(d) {
4461
+ function At(d) {
4463
4462
  l("saveSettings", d);
4464
4463
  }
4465
- function Bt(d) {
4464
+ function Lt(d) {
4466
4465
  if (d === void 0)
4467
4466
  return null;
4468
4467
  const O = Math.floor(d), G = Math.floor((O - d) * 60);
4469
4468
  return { hours: O, minutes: G };
4470
4469
  }
4471
- function Vt(d) {
4470
+ function It(d) {
4472
4471
  return d.replace(/\/$/, "");
4473
4472
  }
4474
4473
  return (d, O) => {
4475
4474
  const G = T("v-btn");
4476
- return h(), F("div", kl, [
4477
- n.value ? (h(), F("div", bl, "Error loading the player!!")) : H("", !0),
4475
+ return p(), F("div", kl, [
4476
+ n.value ? (p(), F("div", bl, "Error loading the player!!")) : H("", !0),
4478
4477
  o("div", yl, [
4479
- !f.value.isActive && p.value && L.value && K.value && A.value ? (h(), N(vt, {
4478
+ !f.value.isActive && h.value && A.value && K.value && C.value ? (p(), N(ct, {
4480
4479
  key: 0,
4481
- allCameras: q.value,
4480
+ allCameras: z.value,
4482
4481
  rootUrl: U.value,
4483
4482
  level: w.value,
4484
4483
  backgroundImage: ve.value,
4485
- minimapJSON: p.value.storeys,
4486
- rotation: C.value,
4487
- currentCamera: L.value,
4484
+ minimapJSON: h.value.storeys,
4485
+ rotation: _.value,
4486
+ currentCamera: A.value,
4488
4487
  minimapCamera: K.value,
4489
- onClose: O[0] || (O[0] = (ae) => A.value = !1),
4490
- onSetBackgroundImage: ut
4488
+ onClose: O[0] || (O[0] = (ae) => C.value = !1),
4489
+ onSetBackgroundImage: st
4491
4490
  }, null, 8, ["allCameras", "rootUrl", "level", "backgroundImage", "minimapJSON", "rotation", "currentCamera", "minimapCamera"])) : H("", !0),
4492
- $.value && _.value ? (h(), F("div", _l, [
4491
+ $.value && L.value ? (p(), F("div", _l, [
4493
4492
  y(fn, {
4494
4493
  ref: "player",
4495
4494
  "file-loader": d.fileLoader,
@@ -4497,7 +4496,7 @@ const kl = { class: "virtual-tour-wrapper" }, bl = {
4497
4496
  showStaticImage: g.value,
4498
4497
  isFullScreen: f.value.isActive,
4499
4498
  rootUrl: U.value,
4500
- currentCameraId: _.value,
4499
+ currentCameraId: L.value,
4501
4500
  "mouse-sensitivity": d.mouseSensitivity,
4502
4501
  "is-in-iframe": d.isInIframe,
4503
4502
  onNewCameraCallback: Se,
@@ -4505,16 +4504,16 @@ const kl = { class: "virtual-tour-wrapper" }, bl = {
4505
4504
  onNewFloorCallback: Fe,
4506
4505
  onNewFovCallback: we,
4507
4506
  onNewSizeCallback: ke,
4508
- onPlayerApiCallback: rt
4507
+ onPlayerApiCallback: it
4509
4508
  }, {
4510
- "slideshow-image": M(() => [
4511
- g.value ? (h(), N(Tn, {
4509
+ "slideshow-image": I(() => [
4510
+ g.value ? (p(), N(Tn, {
4512
4511
  key: 0,
4513
4512
  image: S.value
4514
4513
  }, null, 8, ["image"])) : H("", !0)
4515
4514
  ]),
4516
- "top-left": M(() => [
4517
- d.adminMode ? de((h(), N(G, {
4515
+ "top-left": I(() => [
4516
+ d.adminMode ? de((p(), N(G, {
4518
4517
  key: 0,
4519
4518
  density: "comfortable",
4520
4519
  icon: "mdi-cog-outline",
@@ -4524,86 +4523,86 @@ const kl = { class: "virtual-tour-wrapper" }, bl = {
4524
4523
  }, null, 512)), [
4525
4524
  [me, c.value]
4526
4525
  ]) : H("", !0),
4527
- p.value && _.value && K.value ? de((h(), N(G, {
4526
+ h.value && L.value && K.value ? de((p(), N(G, {
4528
4527
  key: 1,
4529
4528
  density: "comfortable",
4530
4529
  elevation: "3",
4531
4530
  icon: "mdi-floor-plan",
4532
4531
  class: "mr-2",
4533
- onClick: O[2] || (O[2] = (ae) => A.value = !A.value)
4532
+ onClick: O[2] || (O[2] = (ae) => C.value = !C.value)
4534
4533
  }, null, 512)), [
4535
4534
  [me, c.value]
4536
4535
  ]) : H("", !0),
4537
- c.value && d.showFloorLevel && ee.value.length > 1 ? (h(), N(In, {
4536
+ c.value && d.showFloorLevel && J.value.length > 1 ? (p(), N(In, {
4538
4537
  key: 2,
4539
4538
  level: E.value,
4540
- "floor-levels": ee.value,
4539
+ "floor-levels": J.value,
4541
4540
  onLevel: Fe
4542
4541
  }, null, 8, ["level", "floor-levels"])) : H("", !0),
4543
- c.value && d.adminMode && a.value ? (h(), F("div", Cl, [
4542
+ c.value && d.adminMode && a.value ? (p(), F("div", Cl, [
4544
4543
  y(Na, {
4545
4544
  "project-slug": d.projectSlug,
4546
4545
  initialSettings: d.playerSettings,
4547
- onUpdateSettings: Ft,
4548
- onSaveSettings: xt
4546
+ onUpdateSettings: Ct,
4547
+ onSaveSettings: At
4549
4548
  }, null, 8, ["project-slug", "initialSettings"])
4550
4549
  ])) : H("", !0)
4551
4550
  ]),
4552
- "top-center": M(() => [
4553
- c.value ? (h(), N(qn, {
4551
+ "top-center": I(() => [
4552
+ c.value ? (p(), N(zn, {
4554
4553
  key: 0,
4555
4554
  "return-url": d.websiteUrl
4556
4555
  }, null, 8, ["return-url"])) : H("", !0)
4557
4556
  ]),
4558
- "top-right": M(() => [
4559
- i.value && d.showCompass ? de((h(), F("div", Al, [
4560
- y(Un, { rotation: C.value }, null, 8, ["rotation"])
4557
+ "top-right": I(() => [
4558
+ i.value && d.showCompass ? de((p(), F("div", Al, [
4559
+ y(Un, { rotation: _.value }, null, 8, ["rotation"])
4561
4560
  ], 512)), [
4562
4561
  [me, c.value]
4563
4562
  ]) : H("", !0),
4564
- c.value && i.value && ne.value && d.showTimeOfDay ? (h(), N(Nn, {
4563
+ c.value && i.value && ne.value && d.showTimeOfDay ? (p(), N(Nn, {
4565
4564
  key: 1,
4566
4565
  hours: ue.value.hours,
4567
4566
  minutes: ue.value.minutes
4568
4567
  }, null, 8, ["hours", "minutes"])) : H("", !0)
4569
4568
  ]),
4570
- "center-left": M(() => [
4571
- y(ze, { name: "slide-x-transition" }, {
4572
- default: M(() => [
4573
- g.value ? (h(), N(G, {
4569
+ "center-left": I(() => [
4570
+ y(qe, { name: "slide-x-transition" }, {
4571
+ default: I(() => [
4572
+ g.value ? (p(), N(G, {
4574
4573
  key: 0,
4575
4574
  density: "comfortable",
4576
4575
  elevation: "3",
4577
4576
  icon: "mdi-chevron-left",
4578
- onClick: Ne
4577
+ onClick: Pe
4579
4578
  })) : H("", !0)
4580
4579
  ]),
4581
4580
  _: 1
4582
4581
  })
4583
4582
  ]),
4584
- "center-center": M(() => [
4583
+ "center-center": I(() => [
4585
4584
  y(Aa, {
4586
4585
  project: B.value,
4587
4586
  onCloseTutorial: O[3] || (O[3] = (ae) => c.value = !0)
4588
4587
  }, null, 8, ["project"]),
4589
- f.value.isActive && p.value && L.value && K.value && A.value ? (h(), N(vt, {
4588
+ f.value.isActive && h.value && A.value && K.value && C.value ? (p(), N(ct, {
4590
4589
  key: 0,
4591
- allCameras: q.value,
4590
+ allCameras: z.value,
4592
4591
  rootUrl: U.value,
4593
- minimapJSON: p.value.storeys,
4592
+ minimapJSON: h.value.storeys,
4594
4593
  backgroundImage: ve.value,
4595
- rotation: C.value,
4596
- currentCamera: L.value,
4594
+ rotation: _.value,
4595
+ currentCamera: A.value,
4597
4596
  minimapCamera: K.value,
4598
4597
  level: w.value,
4599
- onClose: O[4] || (O[4] = (ae) => A.value = !1),
4600
- onSetBackgroundImage: ut
4598
+ onClose: O[4] || (O[4] = (ae) => C.value = !1),
4599
+ onSetBackgroundImage: st
4601
4600
  }, null, 8, ["allCameras", "rootUrl", "minimapJSON", "backgroundImage", "rotation", "currentCamera", "minimapCamera", "level"])) : H("", !0)
4602
4601
  ]),
4603
- "center-right": M(() => [
4604
- y(ze, { name: "slide-x-reverse-transition" }, {
4605
- default: M(() => [
4606
- g.value ? (h(), N(G, {
4602
+ "center-right": I(() => [
4603
+ y(qe, { name: "slide-x-reverse-transition" }, {
4604
+ default: I(() => [
4605
+ g.value ? (p(), N(G, {
4607
4606
  key: 0,
4608
4607
  density: "comfortable",
4609
4608
  elevation: "3",
@@ -4614,45 +4613,45 @@ const kl = { class: "virtual-tour-wrapper" }, bl = {
4614
4613
  _: 1
4615
4614
  })
4616
4615
  ]),
4617
- "bottom-left": M(() => [
4618
- c.value && d.showFullScreen ? (h(), N(Wn, {
4616
+ "bottom-left": I(() => [
4617
+ c.value && d.showFullScreen ? (p(), N(Wn, {
4619
4618
  key: 0,
4620
4619
  isFullScreen: f.value.isActive,
4621
4620
  class: "btn-fullscreen",
4622
- onToggleFullscreen: Mt
4621
+ onToggleFullscreen: bt
4623
4622
  }, null, 8, ["isFullScreen"])) : H("", !0),
4624
- c.value && d.showSnapshot ? (h(), F("div", Ll, [
4623
+ c.value && d.showSnapshot ? (p(), F("div", Ll, [
4625
4624
  y(G, {
4626
4625
  density: "comfortable",
4627
4626
  elevation: "3",
4628
4627
  icon: "mdi-camera",
4629
- onClick: Et
4628
+ onClick: _t
4630
4629
  })
4631
4630
  ])) : H("", !0),
4632
- c.value && d.showShare && !f.value.isActive ? (h(), F("div", Il, [
4631
+ c.value && d.showShare && !f.value.isActive ? (p(), F("div", Il, [
4633
4632
  y(En)
4634
4633
  ])) : H("", !0)
4635
4634
  ]),
4636
- "bottom-center": M(() => [
4637
- c.value && d.showCarousel ? (h(), F("div", Ml, [
4638
- d.displayViewModeSwitch ? (h(), N(Gn, {
4635
+ "bottom-center": I(() => [
4636
+ c.value && d.showCarousel ? (p(), F("div", Ml, [
4637
+ d.displayViewModeSwitch ? (p(), N(Gn, {
4639
4638
  key: 0,
4640
4639
  "show-static-image": g.value,
4641
- onToggle: St
4640
+ onToggle: yt
4642
4641
  }, null, 8, ["show-static-image"])) : H("", !0),
4643
- c.value && f.value.isActive ? (h(), N(dt, {
4642
+ c.value && f.value.isActive ? (p(), N(ut, {
4644
4643
  key: 1,
4645
4644
  class: ye([f.value.isActive ? "full-screen" : ""]),
4646
4645
  thumbnails: W.value,
4647
4646
  active: m.value,
4648
4647
  onNext: Ae,
4649
- onPrevious: Ne,
4648
+ onPrevious: Pe,
4650
4649
  onGoto: j
4651
4650
  }, null, 8, ["class", "thumbnails", "active"])) : H("", !0)
4652
4651
  ])) : H("", !0)
4653
4652
  ]),
4654
- "bottom-right": M(() => [
4655
- c.value && d.showInteriorOptions && X.value ? (h(), N(xn, {
4653
+ "bottom-right": I(() => [
4654
+ c.value && d.showInteriorOptions && X.value ? (p(), N(xn, {
4656
4655
  key: 0,
4657
4656
  availableArchetypes: X.value,
4658
4657
  selectedIndex: x.value,
@@ -4661,12 +4660,13 @@ const kl = { class: "virtual-tour-wrapper" }, bl = {
4661
4660
  ]),
4662
4661
  _: 1
4663
4662
  }, 8, ["file-loader", "style", "showStaticImage", "isFullScreen", "rootUrl", "currentCameraId", "mouse-sensitivity", "is-in-iframe"]),
4664
- d.showCarousel && k.value ? (h(), N(dt, {
4663
+ d.showCarousel && k.value ? (p(), N(ut, {
4665
4664
  key: 0,
4665
+ class: "waypoint-carousel below-player",
4666
4666
  thumbnails: W.value,
4667
4667
  active: m.value,
4668
4668
  onNext: Ae,
4669
- onPrevious: Ne,
4669
+ onPrevious: Pe,
4670
4670
  onGoto: j
4671
4671
  }, null, 8, ["thumbnails", "active"])) : H("", !0)
4672
4672
  ])) : H("", !0)
@@ -4674,71 +4674,14 @@ const kl = { class: "virtual-tour-wrapper" }, bl = {
4674
4674
  ]);
4675
4675
  };
4676
4676
  }
4677
- }), El = /* @__PURE__ */ te(Sl, [["__scopeId", "data-v-8e6a405e"]]), Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4678
- __proto__: null,
4679
- VApartmentChooser: yo,
4680
- VApartmentChooserNavigation: bt,
4681
- VApartmentChooserRaster: wt,
4682
- VApartmentChooserRotator: yt,
4683
- VApartmentChooserSvg: kt,
4684
- VBuildingChooser: zo,
4685
- VBuildingChooserRaster: It,
4686
- VBuildingChooserRasterOverlay: Lt,
4687
- VBuildingChooserSceneImageStack: st,
4688
- VBuildingChooserSunSimControl: it,
4689
- VBuildingChooserSvg: At,
4690
- VFloatingCard: Ze,
4691
- VHoverProbe: He,
4692
- VNorthDirection: Ke,
4693
- VVirtualTour: El,
4694
- VZoomBox: Xe
4695
- }, Symbol.toStringTag, { value: "Module" }));
4696
- class Ul {
4697
- constructor(t) {
4698
- J(this, "_data");
4699
- this._data = t;
4700
- }
4701
- getPixel(t, e) {
4702
- const l = this._data[t][e];
4703
- if (l !== " ") {
4704
- const a = Number.parseInt(l);
4705
- return [a, a, a, 255];
4706
- } else
4707
- return [0, 0, 0, 0];
4677
+ }), El = /* @__PURE__ */ te(Sl, [["__scopeId", "data-v-64da223f"]]), Vl = {
4678
+ install: function(t) {
4679
+ t.component("VApartmentChooser", wo), t.component("VBuildingChooser", qo), t.component("VVirtualTour", El);
4708
4680
  }
4709
- }
4710
- const Dl = function(t) {
4711
- Object.entries(Fl).forEach(([e, l]) => {
4712
- t.component(e, l);
4713
- });
4714
4681
  };
4715
4682
  export {
4716
- tt as BatchLoadTracker,
4717
- Re as BuildingMap,
4718
- Ct as BuildingPickerResourceProvider,
4719
- co as BuildingViewerModel,
4720
- Te as CanvasRaster,
4721
- Je as DayOfYearSelector,
4722
- Le as I18N,
4723
- $e as ResourceLoader,
4724
- at as RotationStep,
4725
- Ul as SampleRaster,
4726
- qt as SceneRotator,
4727
- yo as VApartmentChooser,
4728
- bt as VApartmentChooserNavigation,
4729
- wt as VApartmentChooserRaster,
4730
- yt as VApartmentChooserRotator,
4731
- kt as VApartmentChooserSvg,
4732
- zo as VBuildingChooser,
4733
- It as VBuildingChooserRaster,
4734
- Lt as VBuildingChooserRasterOverlay,
4735
- st as VBuildingChooserSceneImageStack,
4736
- it as VBuildingChooserSunSimControl,
4737
- At as VBuildingChooserSvg,
4738
- Ze as VFloatingCard,
4739
- He as VHoverProbe,
4740
- Ke as VNorthDirection,
4683
+ wo as VApartmentChooser,
4684
+ qo as VBuildingChooser,
4741
4685
  El as VVirtualTour,
4742
- Xe as VZoomBox,
4743
- Dl as default
4686
+ Vl as default
4744
4687
  };