@qispace/vue3-player 0.3.24 → 0.3.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  var xa = Object.defineProperty;
2
2
  var Da = (l, a, e) => a in l ? xa(l, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[a] = e;
3
3
  var pe = (l, a, e) => (Da(l, typeof a != "symbol" ? a + "" : a, e), e);
4
- import { defineComponent as j, ref as v, computed as B, openBlock as d, createElementBlock as x, watch as H, onMounted as Ie, onBeforeUnmount as Ne, withDirectives as we, createElementVNode as u, normalizeStyle as fe, vShow as ke, createVNode as C, Fragment as me, renderList as ye, createCommentVNode as $, inject as Ge, resolveComponent as E, withCtx as _, toDisplayString as Q, unref as D, createTextVNode as te, normalizeClass as ge, createBlock as T, renderSlot as le, provide as et, reactive as yt, watchEffect as Te, resolveDynamicComponent as Gt, normalizeProps as rt, guardReactiveProps as ut, mergeProps as Me, nextTick as De, Transition as Ee, createSlots as Aa, toRefs as Ve, pushScopeId as _t, popScopeId as bt, vModelText as Fa, createStaticVNode as Qt, onBeforeUpdate as La, withModifiers as Ma } from "vue";
4
+ import { defineComponent as j, ref as v, computed as B, openBlock as d, createElementBlock as x, watch as H, onMounted as Ie, onBeforeUnmount as Ne, withDirectives as we, createElementVNode as u, normalizeStyle as fe, vShow as ke, createVNode as C, Fragment as me, renderList as ye, createCommentVNode as $, inject as Ge, resolveComponent as E, withCtx as b, toDisplayString as Q, unref as D, createTextVNode as te, normalizeClass as ge, createBlock as T, renderSlot as le, provide as et, reactive as yt, watchEffect as Te, resolveDynamicComponent as Gt, normalizeProps as rt, guardReactiveProps as ut, mergeProps as Me, nextTick as De, Transition as Ee, createSlots as Aa, toRefs as Ve, pushScopeId as _t, popScopeId as bt, vModelText as Fa, createStaticVNode as Qt, onBeforeUpdate as La, withModifiers as Ma } from "vue";
5
5
  import ft from "axios";
6
6
  import * as Oa from "@qispace/player-core";
7
7
  import { Vector3 as lt, Object3D as Ea, MathUtils as Ta } from "three";
@@ -82,7 +82,7 @@ const $a = /* @__PURE__ */ j({
82
82
  },
83
83
  emits: ["selectUnit", "goToUnit", "hoverOver", "hoverOut", "pos"],
84
84
  setup(l, { emit: a }) {
85
- const e = l, n = a, t = v({ x: 0, y: 0, width: 0, height: 0 }), o = v(0), i = v(0), s = v(), m = v(), p = v(), r = v(), f = v(-1), k = v(!1), g = v(), c = v(), h = v({}), S = v("auto"), b = v(new Fe()), y = v({}), Y = v(), O = v(), P = v(), I = v(), L = v(), Z = B(() => P.value.isHoverEnabled), R = B(() => he(
85
+ const e = l, n = a, t = v({ x: 0, y: 0, width: 0, height: 0 }), o = v(0), i = v(0), s = v(), m = v(), p = v(), r = v(), f = v(-1), k = v(!1), g = v(), c = v(), h = v({}), S = v("auto"), _ = v(new Fe()), y = v({}), Y = v(), O = v(), P = v(), I = v(), L = v(), Z = B(() => P.value.isHoverEnabled), R = B(() => he(
86
86
  e.cdnFileResolver,
87
87
  `/scenedata${e.viewModel.currentScene}.png`
88
88
  )), X = B(() => R.value in h.value ? h.value[R.value] : null), w = B(() => f.value < 0 ? !1 : e.sceneData.find((K) => K.index === f.value) || !1), A = B(() => ({
@@ -93,7 +93,7 @@ const $a = /* @__PURE__ */ j({
93
93
  H(
94
94
  R,
95
95
  () => {
96
- h.value[R.value] || b.value.loadImageData(R.value).then((G) => {
96
+ h.value[R.value] || _.value.loadImageData(R.value).then((G) => {
97
97
  h.value = {
98
98
  ...h.value,
99
99
  [R.value]: G
@@ -369,7 +369,7 @@ const $a = /* @__PURE__ */ j({
369
369
  const P = g(O);
370
370
  n("selectUnit", P), f.value && P && e.canGoToUnitCallback(P) ? n("goToUnit", P) : o.value = O;
371
371
  }
372
- function b(O) {
372
+ function _(O) {
373
373
  const P = g(O);
374
374
  let I = "idle";
375
375
  o.value < 0 && e.selectedUnitId && P === e.selectedUnitId ? I = "selected" : o.value >= 0 && o.value === O && (I = "hover");
@@ -418,7 +418,7 @@ const $a = /* @__PURE__ */ j({
418
418
  (d(!0), x(me, null, ye(s.value.svgObjects, ({ index: I, svg: L }) => (d(), x("g", {
419
419
  key: I,
420
420
  innerHTML: L,
421
- style: fe(b(I)),
421
+ style: fe(_(I)),
422
422
  onMouseenter: (Z) => c(I),
423
423
  onMouseleave: (Z) => h(),
424
424
  onClick: (Z) => S(I)
@@ -482,7 +482,7 @@ const $a = /* @__PURE__ */ j({
482
482
  disabled: !n.value || !p.canGoToUnitCallback(n.value),
483
483
  onClick: r[2] || (r[2] = (k) => i("goToUnit", n.value))
484
484
  }, {
485
- default: _(() => [
485
+ default: b(() => [
486
486
  n.value && p.canGoToUnitCallback(n.value) ? (d(), x("span", za, Q(D(s).getLabel("seeApartment")) + "  ", 1)) : $("", !0),
487
487
  u("span", Pa, Q(n.value ? e.unitRenderer(n.value) : "-"), 1)
488
488
  ]),
@@ -615,56 +615,56 @@ const Ga = {
615
615
  emits: ["loaded", "error", "progress"],
616
616
  setup(l, { emit: a }) {
617
617
  const e = l, n = a, t = g(), o = v(
618
- new xt(t.length).onLoadFinished(() => n("loaded")).onLoadProgress((b) => n("progress", b)).onLoadError(() => n("error"))
618
+ new xt(t.length).onLoadFinished(() => n("loaded")).onLoadProgress((_) => n("progress", _)).onLoadError(() => n("error"))
619
619
  ), i = v(
620
620
  new Na(e.cardinalFrames, Yt)
621
- ), s = v(t), m = v(!1), p = B(() => s.value.find((b) => b.show));
621
+ ), s = v(t), m = v(!1), p = B(() => s.value.find((_) => _.show));
622
622
  H(
623
623
  () => e.viewModel.currentScene,
624
- (b, y) => {
625
- const Y = S(y, b), O = h(y, b);
624
+ (_, y) => {
625
+ const Y = S(y, _), O = h(y, _);
626
626
  r(y, Y, O);
627
627
  }
628
628
  ), Ie(() => {
629
629
  k();
630
630
  });
631
- function r(b, y, Y) {
631
+ function r(_, y, Y) {
632
632
  e.viewModel.isRotating || (e.viewModel.isRotating = !0, f(
633
633
  i.value.start(
634
634
  y,
635
- b % st,
635
+ _ % st,
636
636
  Y
637
637
  )
638
638
  ));
639
639
  }
640
- function f(b) {
640
+ function f(_) {
641
641
  setTimeout(() => {
642
- s.value[b.frameIndex].show = !1;
643
- const y = b.nextFrame();
642
+ s.value[_.frameIndex].show = !1;
643
+ const y = _.nextFrame();
644
644
  s.value[y.frameIndex].show = !0, y.atEnd ? k() : window.requestAnimationFrame(() => f(y));
645
645
  }, 1e3 / an);
646
646
  }
647
647
  function k() {
648
- const b = i.value.startFrameIndexForScene(
648
+ const _ = i.value.startFrameIndexForScene(
649
649
  e.viewModel.currentScene % st
650
650
  );
651
- b in s.value && (s.value[b].show = !0), e.viewModel.isRotating = !1;
651
+ _ in s.value && (s.value[_].show = !0), e.viewModel.isRotating = !1;
652
652
  }
653
653
  function g() {
654
- const b = [];
654
+ const _ = [];
655
655
  for (let y = 0; y < Yt; y++) {
656
656
  const { sourceSet: Y, defaultPath: O } = c(y);
657
- b.push({
657
+ _.push({
658
658
  index: y,
659
659
  sourceSet: Y,
660
660
  defaultPath: O,
661
661
  show: !1
662
662
  });
663
663
  }
664
- return b;
664
+ return _;
665
665
  }
666
- function c(b) {
667
- const y = ("0000" + (b + 1)).slice(-4), Y = e.build ? `?v=${e.build}` : "", O = [
666
+ function c(_) {
667
+ const y = ("0000" + (_ + 1)).slice(-4), Y = e.build ? `?v=${e.build}` : "", O = [
668
668
  `${he(
669
669
  e.cdnFileResolver,
670
670
  `/480/${y}.jpg${Y}`
@@ -683,22 +683,22 @@ const Ga = {
683
683
  );
684
684
  return { sourceSet: O, defaultPath: P };
685
685
  }
686
- function h(b, y) {
687
- const Y = st / 2, O = Math.abs(b - y);
686
+ function h(_, y) {
687
+ const Y = st / 2, O = Math.abs(_ - y);
688
688
  return O > Y ? st - O : O;
689
689
  }
690
- function S(b, y) {
691
- if (b === y)
690
+ function S(_, y) {
691
+ if (_ === y)
692
692
  return 0;
693
- const O = Math.abs(b - y) < st / 2;
694
- return O && b < y || !O && b > y ? 1 : -1;
693
+ const O = Math.abs(_ - y) < st / 2;
694
+ return O && _ < y || !O && _ > y ? 1 : -1;
695
695
  }
696
- return (b, y) => {
696
+ return (_, y) => {
697
697
  const Y = E("v-icon");
698
698
  return d(), x("div", null, [
699
699
  o.value.isError ? (d(), x("div", Ga, [
700
700
  C(Y, { "x-large": "" }, {
701
- default: _(() => [
701
+ default: b(() => [
702
702
  te("mdi-alert-circle-outline")
703
703
  ]),
704
704
  _: 1
@@ -753,7 +753,7 @@ const Ga = {
753
753
  return d(), T(m, {
754
754
  origin: `top left ${o.pos.x} ${o.pos.y}`
755
755
  }, {
756
- default: _(() => [
756
+ default: b(() => [
757
757
  o.isHoverable ? (d(), x("div", {
758
758
  key: 0,
759
759
  class: "floating-card",
@@ -771,7 +771,7 @@ const Ga = {
771
771
  width: "auto",
772
772
  "onClick:outside": i[0] || (i[0] = (p) => n("outside", p))
773
773
  }, {
774
- default: _(() => [
774
+ default: b(() => [
775
775
  le(o.$slots, "default", { isHoverable: o.isHoverable }, void 0, !0)
776
776
  ]),
777
777
  _: 3
@@ -812,10 +812,10 @@ const Ga = {
812
812
  ), H(
813
813
  () => n.mobile,
814
814
  () => {
815
- n.mobile ? b() : Y();
815
+ n.mobile ? _() : Y();
816
816
  }
817
817
  ), Ie(() => {
818
- n.desktop && S(), n.mobile && b();
818
+ n.desktop && S(), n.mobile && _();
819
819
  }), Ne(() => {
820
820
  n.desktop && y(), n.mobile && Y();
821
821
  });
@@ -832,7 +832,7 @@ const Ga = {
832
832
  capture: !0
833
833
  });
834
834
  }
835
- function b() {
835
+ function _() {
836
836
  k.value.addEventListener("touchstart", R, {
837
837
  capture: !0
838
838
  }), k.value.addEventListener("touchmove", X, {
@@ -1054,7 +1054,7 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
1054
1054
  $e,
1055
1055
  n.i18nConfig ? new Re(n.i18nConfig) : new Re()
1056
1056
  );
1057
- const o = yt({ isReady: !1, isError: !1 }), i = v(), s = v(), m = v(), p = v(), r = v({ x: 0, y: 0, width: 0, height: 0 }), f = v(), k = v(), g = v(), c = B(() => g.value.isHoverEnabled), h = B(() => n.useSvg ? Ya : Ba), S = B(() => n.selectedUnitId), b = B(() => n.nextUnitId), y = B(() => n.prevUnitId);
1057
+ const o = yt({ isReady: !1, isError: !1 }), i = v(), s = v(), m = v(), p = v(), r = v({ x: 0, y: 0, width: 0, height: 0 }), f = v(), k = v(), g = v(), c = B(() => g.value.isHoverEnabled), h = B(() => n.useSvg ? Ya : Ba), S = B(() => n.selectedUnitId), _ = B(() => n.nextUnitId), y = B(() => n.prevUnitId);
1058
1058
  Te(() => {
1059
1059
  if (S.value && p.value) {
1060
1060
  const I = i.value[S.value];
@@ -1111,7 +1111,7 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
1111
1111
  desktop: o.isReady && I.interactiveDesktop,
1112
1112
  mobile: o.isReady && I.interactiveMobile
1113
1113
  }, {
1114
- default: _(() => [
1114
+ default: b(() => [
1115
1115
  C(on, {
1116
1116
  "cdn-file-resolver": I.cdnFileResolver,
1117
1117
  "view-model": p.value,
@@ -1136,7 +1136,7 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
1136
1136
  onHoverOut: P,
1137
1137
  onPos: Y
1138
1138
  }, {
1139
- default: _((R) => [
1139
+ default: b((R) => [
1140
1140
  le(I.$slots, "default", rt(ut(R)), void 0, !0)
1141
1141
  ]),
1142
1142
  _: 3
@@ -1151,7 +1151,7 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
1151
1151
  pos: r.value,
1152
1152
  onOutside: f.value
1153
1153
  }, {
1154
- default: _(() => [
1154
+ default: b(() => [
1155
1155
  le(I.$slots, "default", {
1156
1156
  unit: k.value,
1157
1157
  canGoToUnit: I.canGoToUnitCallback(k.value),
@@ -1169,11 +1169,11 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
1169
1169
  "unit-renderer": n.unitRenderer,
1170
1170
  "selected-unit-id": S.value,
1171
1171
  "prev-unit-id": y.value,
1172
- "next-unit-id": b.value,
1172
+ "next-unit-id": _.value,
1173
1173
  "view-model": p.value,
1174
1174
  onGoToUnit: L[5] || (L[5] = (R) => t("goToUnit", R)),
1175
1175
  onPrevUnit: L[6] || (L[6] = (R) => t("navUnit", y.value)),
1176
- onNextUnit: L[7] || (L[7] = (R) => t("navUnit", b.value))
1176
+ onNextUnit: L[7] || (L[7] = (R) => t("navUnit", _.value))
1177
1177
  }, null, 8, ["can-go-to-unit-callback", "unit-renderer", "selected-unit-id", "prev-unit-id", "next-unit-id", "view-model"])
1178
1178
  ])) : o.isError ? $("", !0) : (d(), x("div", fn, [
1179
1179
  C(Z, {
@@ -1367,12 +1367,12 @@ const An = /* @__PURE__ */ j({
1367
1367
  density: "compact",
1368
1368
  "hide-details": ""
1369
1369
  }, {
1370
- item: _(({ props: r }) => [
1370
+ item: b(({ props: r }) => [
1371
1371
  C(m, Me(r, {
1372
1372
  title: o(r.title)
1373
1373
  }), null, 16, ["title"])
1374
1374
  ]),
1375
- selection: _(({ item: r }) => [
1375
+ selection: b(({ item: r }) => [
1376
1376
  te(Q(o(r.title)), 1)
1377
1377
  ]),
1378
1378
  _: 1
@@ -1422,13 +1422,13 @@ const An = /* @__PURE__ */ j({
1422
1422
  return (m, p) => {
1423
1423
  const r = E("v-icon"), f = E("v-btn"), k = E("v-slider"), g = E("v-field");
1424
1424
  return d(), T(g, { variant: "solo" }, {
1425
- default: _(() => [
1425
+ default: b(() => [
1426
1426
  m.dayData.startTime === m.dayData.endTime ? (d(), x("div", Ln, [
1427
1427
  C(r, {
1428
1428
  style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
1429
1429
  class: "py-2 ml-2 mr-2 icon"
1430
1430
  }, {
1431
- default: _(() => [
1431
+ default: b(() => [
1432
1432
  te(" mdi-white-balance-sunny ")
1433
1433
  ]),
1434
1434
  _: 1
@@ -1445,7 +1445,7 @@ const An = /* @__PURE__ */ j({
1445
1445
  disabled: !!e.disabled,
1446
1446
  "hide-details": ""
1447
1447
  }, {
1448
- prepend: _(() => [
1448
+ prepend: b(() => [
1449
1449
  C(f, {
1450
1450
  icon: o.value ? "mdi-stop" : "mdi-play",
1451
1451
  size: "x-small",
@@ -1455,14 +1455,14 @@ const An = /* @__PURE__ */ j({
1455
1455
  te("   "),
1456
1456
  u("span", Mn, Q(i(m.dayData.startTime)), 1)
1457
1457
  ]),
1458
- append: _(() => [
1458
+ append: b(() => [
1459
1459
  u("span", On, Q(i(m.dayData.endTime)), 1),
1460
1460
  te("   "),
1461
1461
  C(r, {
1462
1462
  style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
1463
1463
  class: "ml-2 mr-2 icon"
1464
1464
  }, {
1465
- default: _(() => [
1465
+ default: b(() => [
1466
1466
  te(" mdi-white-balance-sunny ")
1467
1467
  ]),
1468
1468
  _: 1
@@ -1501,14 +1501,14 @@ const An = /* @__PURE__ */ j({
1501
1501
  const m = B(() => o.value ? !1 : n.apartmentChooserData.loopable ? !0 : i.value !== n.apartmentChooserData.scenes[0]), p = B(() => o.value ? !1 : n.apartmentChooserData.loopable ? !0 : i.value !== n.apartmentChooserData.scenes[n.apartmentChooserData.scenes.length - 1]);
1502
1502
  function r() {
1503
1503
  const c = i.value;
1504
- let h = n.apartmentChooserData.scenes.findIndex((b) => b === c) + 1;
1504
+ let h = n.apartmentChooserData.scenes.findIndex((_) => _ === c) + 1;
1505
1505
  h >= n.apartmentChooserData.scenes.length && (h = 0);
1506
1506
  const S = n.apartmentChooserData.scenes[h];
1507
1507
  n.apartmentChooserData.loopable && c > S, g(c, S);
1508
1508
  }
1509
1509
  async function f() {
1510
1510
  const c = i.value;
1511
- let h = n.apartmentChooserData.scenes.findIndex((b) => b === c) - 1;
1511
+ let h = n.apartmentChooserData.scenes.findIndex((_) => _ === c) - 1;
1512
1512
  h < 0 && (h = n.apartmentChooserData.scenes.length - 1);
1513
1513
  const S = n.apartmentChooserData.scenes[h];
1514
1514
  n.apartmentChooserData.loopable && c < S, g(c, S);
@@ -1517,11 +1517,11 @@ const An = /* @__PURE__ */ j({
1517
1517
  const h = i.value;
1518
1518
  if (n.apartmentChooserData.loopable)
1519
1519
  if (c < h) {
1520
- let S = h - c, b = h - (n.apartmentChooserData.cameras.length + c);
1521
- return Math.abs(S) > Math.abs(b) ? g(h, c) : g(h, n.apartmentChooserData.cameras.length + c);
1520
+ let S = h - c, _ = h - (n.apartmentChooserData.cameras.length + c);
1521
+ return Math.abs(S) > Math.abs(_) ? g(h, c) : g(h, n.apartmentChooserData.cameras.length + c);
1522
1522
  } else {
1523
- let S = h - c, b = n.apartmentChooserData.cameras.length + h - c;
1524
- return Math.abs(S) > Math.abs(b) ? g(h, c) : g(n.apartmentChooserData.cameras.length + h, c);
1523
+ let S = h - c, _ = n.apartmentChooserData.cameras.length + h - c;
1524
+ return Math.abs(S) > Math.abs(_) ? g(h, c) : g(n.apartmentChooserData.cameras.length + h, c);
1525
1525
  }
1526
1526
  else
1527
1527
  return g(h, c);
@@ -1529,18 +1529,18 @@ const An = /* @__PURE__ */ j({
1529
1529
  function g(c, h) {
1530
1530
  return new Promise((S) => {
1531
1531
  o.value = !0, t("onRotateStart", { from: c, to: h });
1532
- let b, y = c;
1533
- b = setInterval(() => {
1532
+ let _, y = c;
1533
+ _ = setInterval(() => {
1534
1534
  y < h ? (y++, i.value = Math.abs(
1535
1535
  y % n.apartmentChooserData.cameras.length
1536
1536
  )) : y > h ? (y--, i.value = Math.abs(
1537
1537
  y % n.apartmentChooserData.cameras.length
1538
- )) : (clearInterval(b), t("onRotateFinish", { from: c, to: h }), o.value = !1, S());
1538
+ )) : (clearInterval(_), t("onRotateFinish", { from: c, to: h }), o.value = !1, S());
1539
1539
  }, 50);
1540
1540
  });
1541
1541
  }
1542
1542
  return (c, h) => {
1543
- const S = E("v-btn"), b = E("v-chip");
1543
+ const S = E("v-btn"), _ = E("v-chip");
1544
1544
  return d(), x(me, null, [
1545
1545
  C(S, {
1546
1546
  class: "mx-2",
@@ -1549,14 +1549,14 @@ const An = /* @__PURE__ */ j({
1549
1549
  disabled: !m.value,
1550
1550
  onClick: f
1551
1551
  }, null, 8, ["disabled"]),
1552
- c.renderDisplay && s.value ? (d(), T(b, {
1552
+ c.renderDisplay && s.value ? (d(), T(_, {
1553
1553
  key: 0,
1554
1554
  variant: "flat",
1555
1555
  color: "white",
1556
1556
  size: "large",
1557
1557
  onClick: h[0] || (h[0] = (y) => t("onDisplayClick", s.value))
1558
1558
  }, {
1559
- default: _(() => [
1559
+ default: b(() => [
1560
1560
  te(Q(c.renderDisplay(s.value)), 1)
1561
1561
  ]),
1562
1562
  _: 1
@@ -1589,14 +1589,14 @@ const An = /* @__PURE__ */ j({
1589
1589
  }
1590
1590
  ), Te(() => {
1591
1591
  for (const r in s) {
1592
- const { element: f, state: k } = s[r], { r: g, g: c, b: h, a: S, s: b } = e.colorCallback(r, k) || {
1592
+ const { element: f, state: k } = s[r], { r: g, g: c, b: h, a: S, s: _ } = e.colorCallback(r, k) || {
1593
1593
  r: 0,
1594
1594
  g: 0,
1595
1595
  b: 0,
1596
1596
  a: 0,
1597
1597
  s: 0
1598
1598
  };
1599
- f.style.fill = `rgba(${g}, ${c}, ${h}, ${S / 255})`, f.style.stroke = `rgb(${g}, ${c}, ${h})`, f.style.strokeWidth = b.toString();
1599
+ f.style.fill = `rgba(${g}, ${c}, ${h}, ${S / 255})`, f.style.stroke = `rgb(${g}, ${c}, ${h})`, f.style.strokeWidth = _.toString();
1600
1600
  }
1601
1601
  }), H(i, () => {
1602
1602
  for (const r in s)
@@ -1657,7 +1657,7 @@ const An = /* @__PURE__ */ j({
1657
1657
  });
1658
1658
  }
1659
1659
  return (r, f) => (d(), T(Ee, null, {
1660
- default: _(() => [
1660
+ default: b(() => [
1661
1661
  (d(), x("div", {
1662
1662
  ref_key: "svgContainer",
1663
1663
  ref: o,
@@ -1941,7 +1941,7 @@ const Nn = {
1941
1941
  setup(l, { emit: a }) {
1942
1942
  const e = l, n = a, t = v(), o = v(), i = v(), s = v(
1943
1943
  null
1944
- ), m = v(4), p = v(), r = v(!1), f = v(!1), k = v(), g = v(), c = B(() => g.value.isHoverEnabled), h = v({ x: 0, y: 0, width: 0, height: 0 }), S = v(), b = v(), y = v(
1944
+ ), m = v(4), p = v(), r = v(!1), f = v(!1), k = v(), g = v(), c = B(() => g.value.isHoverEnabled), h = v({ x: 0, y: 0, width: 0, height: 0 }), S = v(), _ = v(), y = v(
1945
1945
  e.apartmentChooserData
1946
1946
  ), Y = v(!1);
1947
1947
  Ie(() => {
@@ -1949,11 +1949,11 @@ const Nn = {
1949
1949
  }), H(r, (z) => {
1950
1950
  z && n("onInitialize");
1951
1951
  }), H(
1952
- () => b.value,
1952
+ () => _.value,
1953
1953
  () => {
1954
- b.value && new ResizeObserver(([M]) => {
1954
+ _.value && new ResizeObserver(([M]) => {
1955
1955
  Y.value = M.contentRect.width < e.mobileBreakpoint;
1956
- }).observe(b.value);
1956
+ }).observe(_.value);
1957
1957
  }
1958
1958
  );
1959
1959
  const O = B(
@@ -2085,12 +2085,12 @@ const Nn = {
2085
2085
  class: "w-100 h-100 position-relative",
2086
2086
  loading: !r.value || !y.value
2087
2087
  }, {
2088
- default: _(() => [
2088
+ default: b(() => [
2089
2089
  C(Ee, { class: "w-100 h-100" }, {
2090
- default: _(() => [
2090
+ default: b(() => [
2091
2091
  u("div", {
2092
2092
  ref_key: "container",
2093
- ref: b,
2093
+ ref: _,
2094
2094
  class: ge({ mobile: Y.value }),
2095
2095
  onMousemove: ve
2096
2096
  }, [
@@ -2145,7 +2145,7 @@ const Nn = {
2145
2145
  }, null, 8, ["longitude"])) : $("", !0)
2146
2146
  ]),
2147
2147
  C(at, { position: "relative" }, {
2148
- default: _(() => [
2148
+ default: b(() => [
2149
2149
  (d(!0), x(me, null, ye(O.value, (J) => (d(), T(kn, {
2150
2150
  key: J.overlayFilename,
2151
2151
  "camera-data": J,
@@ -2183,7 +2183,7 @@ const Nn = {
2183
2183
  "is-hoverable": c.value,
2184
2184
  pos: h.value
2185
2185
  }, {
2186
- default: _(() => [
2186
+ default: b(() => [
2187
2187
  u("div", Kn, [
2188
2188
  le(z.$slots, "popup", rt(ut({ hoverId: p.value, hoverable: c.value })), void 0, !0)
2189
2189
  ])
@@ -2271,7 +2271,7 @@ const Nn = {
2271
2271
  medium: "",
2272
2272
  class: "ml-2 mr-2 icon"
2273
2273
  }, {
2274
- default: _(() => [
2274
+ default: b(() => [
2275
2275
  te("mdi-white-balance-sunny")
2276
2276
  ]),
2277
2277
  _: 1
@@ -2388,7 +2388,7 @@ const Nn = {
2388
2388
  height: 0
2389
2389
  }), i = v({ x: 0, y: 0, width: 0, height: 0 }), s = v(), m = v(
2390
2390
  (/* @__PURE__ */ new Date()).getHours() * 2 + ((/* @__PURE__ */ new Date()).getMinutes() < 30 ? 0 : 1)
2391
- ), p = v(!1), r = v(new Fe()), f = v(), k = v("0 0 0 0"), g = v(), c = v(), h = v(Xe.empty()), S = v(Ke.empty()), b = v(), y = B(() => b.value.isHoverEnabled);
2391
+ ), p = v(!1), r = v(new Fe()), f = v(), k = v("0 0 0 0"), g = v(), c = v(), h = v(Xe.empty()), S = v(Ke.empty()), _ = v(), y = B(() => _.value.isHoverEnabled);
2392
2392
  H(s, (w, A) => {
2393
2393
  w ? n("hoverOverBuilding", w) : n("hoverOutBuilding", A);
2394
2394
  }), Te(() => {
@@ -2494,7 +2494,7 @@ const Nn = {
2494
2494
  const W = E("v-icon");
2495
2495
  return p.value ? (d(), x("div", co, [
2496
2496
  C(W, { "x-large": "" }, {
2497
- default: _(() => [
2497
+ default: b(() => [
2498
2498
  te("mdi-alert-circle-outline")
2499
2499
  ]),
2500
2500
  _: 1
@@ -2508,7 +2508,7 @@ const Nn = {
2508
2508
  desktop: w.interactiveDesktop,
2509
2509
  mobile: w.interactiveMobile
2510
2510
  }, {
2511
- default: _(() => [
2511
+ default: b(() => [
2512
2512
  u("div", vo, [
2513
2513
  C(Xt, {
2514
2514
  "image-urls": g.value.imageUrls,
@@ -2568,7 +2568,7 @@ const Nn = {
2568
2568
  pos: i.value,
2569
2569
  onOutside: A[3] || (A[3] = () => s.value = void 0)
2570
2570
  }, {
2571
- default: _(() => [
2571
+ default: b(() => [
2572
2572
  le(w.$slots, "default", {
2573
2573
  building: s.value,
2574
2574
  canGoToBuilding: w.canGoToBuildingCallback(s.value),
@@ -2582,7 +2582,7 @@ const Nn = {
2582
2582
  }, 8, ["is-hoverable", "pos"])) : $("", !0),
2583
2583
  C(ze, {
2584
2584
  ref_key: "hoverProbe",
2585
- ref: b
2585
+ ref: _
2586
2586
  }, null, 512)
2587
2587
  ], 4)) : $("", !0);
2588
2588
  };
@@ -2670,7 +2670,7 @@ const Nn = {
2670
2670
  (/* @__PURE__ */ new Date()).getHours() * 2 + ((/* @__PURE__ */ new Date()).getMinutes() < 30 ? 0 : 1)
2671
2671
  ), g = v(
2672
2672
  (w, A) => ({ x: w, y: A })
2673
- ), c = v(!1), h = v(), S = v(), b = v(), y = B(() => {
2673
+ ), c = v(!1), h = v(), S = v(), _ = v(), y = B(() => {
2674
2674
  var w;
2675
2675
  return (w = h.value) == null ? void 0 : w.isHoverEnabled;
2676
2676
  });
@@ -2709,8 +2709,8 @@ const Nn = {
2709
2709
  );
2710
2710
  }
2711
2711
  function I() {
2712
- if (S.value && (r.value.update(S.value), b.value))
2713
- for (const w of b.value)
2712
+ if (S.value && (r.value.update(S.value), _.value))
2713
+ for (const w of _.value)
2714
2714
  w.setupDraw();
2715
2715
  }
2716
2716
  function L(w) {
@@ -2738,7 +2738,7 @@ const Nn = {
2738
2738
  const W = E("v-icon");
2739
2739
  return c.value ? (d(), x("div", wo, [
2740
2740
  C(W, { "x-large": "" }, {
2741
- default: _(() => [
2741
+ default: b(() => [
2742
2742
  te("mdi-alert-circle-outline")
2743
2743
  ]),
2744
2744
  _: 1
@@ -2753,7 +2753,7 @@ const Nn = {
2753
2753
  mobile: w.interactiveMobile,
2754
2754
  onUpdate: X
2755
2755
  }, {
2756
- default: _(() => [
2756
+ default: b(() => [
2757
2757
  u("div", ko, [
2758
2758
  C(Xt, {
2759
2759
  "image-urls": t.value.imageUrls,
@@ -2767,7 +2767,7 @@ const Nn = {
2767
2767
  (d(!0), x(me, null, ye(m.value.buildingOverlays, (N) => (d(), T(Co, {
2768
2768
  ref_for: !0,
2769
2769
  ref_key: "overlays",
2770
- ref: b,
2770
+ ref: _,
2771
2771
  key: N.id,
2772
2772
  "image-url": N.url,
2773
2773
  dimensions: i.value,
@@ -2814,7 +2814,7 @@ const Nn = {
2814
2814
  pos: s.value,
2815
2815
  onOutside: A[3] || (A[3] = () => f.value = void 0)
2816
2816
  }, {
2817
- default: _(() => [
2817
+ default: b(() => [
2818
2818
  le(w.$slots, "default", {
2819
2819
  building: f.value,
2820
2820
  canGoToBuilding: w.canGoToBuildingCallback(f.value),
@@ -2870,7 +2870,7 @@ const Nn = {
2870
2870
  }, Aa({ _: 2 }, [
2871
2871
  ye(Object.keys(o.$slots), (s) => ({
2872
2872
  name: s,
2873
- fn: _((m) => [
2873
+ fn: b((m) => [
2874
2874
  le(o.$slots, s, rt(ut(m)))
2875
2875
  ])
2876
2876
  }))
@@ -2996,12 +2996,12 @@ const Nn = {
2996
2996
  density: "compact",
2997
2997
  "hide-details": ""
2998
2998
  }, {
2999
- item: _(({ props: r }) => [
2999
+ item: b(({ props: r }) => [
3000
3000
  C(m, Me(r, {
3001
3001
  title: o(r.title)
3002
3002
  }), null, 16, ["title"])
3003
3003
  ]),
3004
- selection: _(({ item: r }) => [
3004
+ selection: b(({ item: r }) => [
3005
3005
  te(Q(o(r.title)), 1)
3006
3006
  ]),
3007
3007
  _: 1
@@ -3050,13 +3050,13 @@ const Nn = {
3050
3050
  return (m, p) => {
3051
3051
  const r = E("v-icon"), f = E("v-btn"), k = E("v-slider"), g = E("v-field");
3052
3052
  return d(), T(g, { variant: "solo" }, {
3053
- default: _(() => [
3053
+ default: b(() => [
3054
3054
  m.dayData.startTime === m.dayData.endTime ? (d(), x("div", Vo, [
3055
3055
  C(r, {
3056
3056
  style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
3057
3057
  class: "py-2 ml-2 mr-2 icon"
3058
3058
  }, {
3059
- default: _(() => [
3059
+ default: b(() => [
3060
3060
  te(" mdi-white-balance-sunny ")
3061
3061
  ]),
3062
3062
  _: 1
@@ -3072,7 +3072,7 @@ const Nn = {
3072
3072
  step: m.dayData.interval,
3073
3073
  "hide-details": ""
3074
3074
  }, {
3075
- prepend: _(() => [
3075
+ prepend: b(() => [
3076
3076
  C(f, {
3077
3077
  icon: o.value ? "mdi-stop" : "mdi-play",
3078
3078
  size: "x-small",
@@ -3082,14 +3082,14 @@ const Nn = {
3082
3082
  te("   "),
3083
3083
  u("span", $o, Q(i(m.dayData.startTime)), 1)
3084
3084
  ]),
3085
- append: _(() => [
3085
+ append: b(() => [
3086
3086
  u("span", Bo, Q(i(m.dayData.endTime)), 1),
3087
3087
  te("   "),
3088
3088
  C(r, {
3089
3089
  style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
3090
3090
  class: "ml-2 mr-2 icon"
3091
3091
  }, {
3092
- default: _(() => [
3092
+ default: b(() => [
3093
3093
  te(" mdi-white-balance-sunny ")
3094
3094
  ]),
3095
3095
  _: 1
@@ -3116,14 +3116,14 @@ const Nn = {
3116
3116
  const e = l, n = a, t = v(), o = v(), i = v(e.selectedId), s = yt({});
3117
3117
  Te(() => {
3118
3118
  for (const r in s) {
3119
- const { element: f, state: k } = s[r], { r: g, g: c, b: h, a: S, s: b } = e.colorCallback(r, k) || {
3119
+ const { element: f, state: k } = s[r], { r: g, g: c, b: h, a: S, s: _ } = e.colorCallback(r, k) || {
3120
3120
  r: 0,
3121
3121
  g: 0,
3122
3122
  b: 0,
3123
3123
  a: 0,
3124
3124
  s: 0
3125
3125
  };
3126
- f.style.fill = `rgba(${g}, ${c}, ${h}, ${S / 255})`, f.style.stroke = `rgb(${g}, ${c}, ${h})`, f.style.strokeWidth = b.toString();
3126
+ f.style.fill = `rgba(${g}, ${c}, ${h}, ${S / 255})`, f.style.stroke = `rgb(${g}, ${c}, ${h})`, f.style.strokeWidth = _.toString();
3127
3127
  }
3128
3128
  }), H(
3129
3129
  () => e.selectedId,
@@ -3182,7 +3182,7 @@ const Nn = {
3182
3182
  });
3183
3183
  }
3184
3184
  return (r, f) => (d(), T(Ee, null, {
3185
- default: _(() => [
3185
+ default: b(() => [
3186
3186
  (d(), x("div", {
3187
3187
  ref_key: "svgContainer",
3188
3188
  ref: o,
@@ -3320,7 +3320,7 @@ const jo = {
3320
3320
  },
3321
3321
  { immediate: !0 }
3322
3322
  );
3323
- function b(L) {
3323
+ function _(L) {
3324
3324
  const Z = o.value;
3325
3325
  t.value = L, De(() => {
3326
3326
  y(
@@ -3380,9 +3380,9 @@ const jo = {
3380
3380
  class: "w-100 h-100 position-relative",
3381
3381
  loading: !m.value || !c.value
3382
3382
  }, {
3383
- default: _(() => [
3383
+ default: b(() => [
3384
3384
  C(Ee, { class: "w-100 h-100" }, {
3385
- default: _(() => [
3385
+ default: b(() => [
3386
3386
  u("div", {
3387
3387
  ref_key: "container",
3388
3388
  ref: g,
@@ -3394,7 +3394,7 @@ const jo = {
3394
3394
  C(Eo, {
3395
3395
  "building-chooser-data": c.value,
3396
3396
  "current-camera": t.value,
3397
- onOnCameraChange: b
3397
+ onOnCameraChange: _
3398
3398
  }, null, 8, ["building-chooser-data", "current-camera"])
3399
3399
  ])) : $("", !0),
3400
3400
  u("div", No, [
@@ -3421,7 +3421,7 @@ const jo = {
3421
3421
  }, null, 8, ["longitude"])) : $("", !0)
3422
3422
  ]),
3423
3423
  C(at, { position: "relative" }, {
3424
- default: _(() => [
3424
+ default: b(() => [
3425
3425
  (d(!0), x(me, null, ye(c.value.cameras, (X) => (d(), T(Oo, {
3426
3426
  key: X.overlayFilename,
3427
3427
  "camera-data": X,
@@ -3452,7 +3452,7 @@ const jo = {
3452
3452
  "is-hoverable": r.value,
3453
3453
  pos: f.value
3454
3454
  }, {
3455
- default: _(() => [
3455
+ default: b(() => [
3456
3456
  u("div", qo, [
3457
3457
  le(L.$slots, "popup", rt(ut({ hoverId: s.value, hoverable: r.value })), void 0, !0)
3458
3458
  ])
@@ -3538,9 +3538,9 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
3538
3538
  k.value = s.value;
3539
3539
  }), H([o, i], async () => {
3540
3540
  f.value && await f.value.loadInterior(
3541
- (b) => he(
3541
+ (_) => he(
3542
3542
  t.value,
3543
- `/${o.value}/${i.value}${b}`
3543
+ `/${o.value}/${i.value}${_}`
3544
3544
  ),
3545
3545
  k.value,
3546
3546
  !1
@@ -3562,8 +3562,8 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
3562
3562
  ), H(f, () => {
3563
3563
  if (f.value) {
3564
3564
  r("playerApiCallback", f.value);
3565
- const b = f.value.getCurrentCamera();
3566
- b && (k.value = b.id, r("sunsimCallback", b.sunsimDayOfYear));
3565
+ const _ = f.value.getCurrentCamera();
3566
+ _ && (k.value = _.id, r("sunsimCallback", _.sunsimDayOfYear));
3567
3567
  }
3568
3568
  });
3569
3569
  async function h() {
@@ -3607,35 +3607,35 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
3607
3607
  }
3608
3608
  return Ne(() => {
3609
3609
  S();
3610
- }), (b, y) => (d(), x("div", ll, [
3610
+ }), (_, y) => (d(), x("div", ll, [
3611
3611
  u("div", sl, [
3612
- le(b.$slots, "slideshow-image", {}, void 0, !0),
3612
+ le(_.$slots, "slideshow-image", {}, void 0, !0),
3613
3613
  u("div", il, [
3614
- le(b.$slots, "top-left", {}, void 0, !0)
3614
+ le(_.$slots, "top-left", {}, void 0, !0)
3615
3615
  ]),
3616
3616
  u("div", rl, [
3617
- le(b.$slots, "top-center", {}, void 0, !0)
3617
+ le(_.$slots, "top-center", {}, void 0, !0)
3618
3618
  ]),
3619
3619
  u("div", ul, [
3620
- le(b.$slots, "top-right", {}, void 0, !0)
3620
+ le(_.$slots, "top-right", {}, void 0, !0)
3621
3621
  ]),
3622
3622
  u("div", cl, [
3623
- le(b.$slots, "center-left", {}, void 0, !0)
3623
+ le(_.$slots, "center-left", {}, void 0, !0)
3624
3624
  ]),
3625
3625
  u("div", dl, [
3626
- le(b.$slots, "center-center", {}, void 0, !0)
3626
+ le(_.$slots, "center-center", {}, void 0, !0)
3627
3627
  ]),
3628
3628
  u("div", vl, [
3629
- le(b.$slots, "center-right", {}, void 0, !0)
3629
+ le(_.$slots, "center-right", {}, void 0, !0)
3630
3630
  ]),
3631
3631
  u("div", ml, [
3632
- le(b.$slots, "bottom-left", {}, void 0, !0)
3632
+ le(_.$slots, "bottom-left", {}, void 0, !0)
3633
3633
  ]),
3634
3634
  u("div", pl, [
3635
- le(b.$slots, "bottom-center", {}, void 0, !0)
3635
+ le(_.$slots, "bottom-center", {}, void 0, !0)
3636
3636
  ]),
3637
3637
  u("div", fl, [
3638
- le(b.$slots, "bottom-right", {}, void 0, !0)
3638
+ le(_.$slots, "bottom-right", {}, void 0, !0)
3639
3639
  ]),
3640
3640
  u("div", hl, [
3641
3641
  u("canvas", {
@@ -3672,14 +3672,14 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
3672
3672
  right: "",
3673
3673
  attach: ""
3674
3674
  }, {
3675
- activator: _(({ props: c }) => [
3675
+ activator: b(({ props: c }) => [
3676
3676
  C(k, Me({
3677
3677
  style: { cursor: "pointer" },
3678
3678
  density: "comfortable",
3679
3679
  elevation: "1",
3680
3680
  icon: ""
3681
3681
  }, c, { onClick: p }), {
3682
- default: _(() => [
3682
+ default: b(() => [
3683
3683
  (d(), x("svg", _l, [
3684
3684
  u("path", {
3685
3685
  d: "M8.98034 10.3472L1.54055 5.8855L8.98034 1.42384L16.4201 5.8855L8.98034 10.3472Z",
@@ -3700,7 +3700,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
3700
3700
  _: 2
3701
3701
  }, 1040)
3702
3702
  ]),
3703
- default: _(() => [
3703
+ default: b(() => [
3704
3704
  u("span", wl, Q(D(t).getLabel(i.value)) + " " + Q(D(t).getLabel("floor")), 1)
3705
3705
  ]),
3706
3706
  _: 1
@@ -3727,11 +3727,11 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
3727
3727
  elevation: "0",
3728
3728
  attach: ""
3729
3729
  }, {
3730
- activator: _(({ props: f }) => [
3730
+ activator: b(({ props: f }) => [
3731
3731
  C(m, Me({ rounded: "" }, f, { class: "text-capitalize" }), {
3732
- default: _(() => [
3732
+ default: b(() => [
3733
3733
  C(s, null, {
3734
- default: _(() => [
3734
+ default: b(() => [
3735
3735
  te("mdi-palette-outline")
3736
3736
  ]),
3737
3737
  _: 1
@@ -3741,7 +3741,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
3741
3741
  _: 2
3742
3742
  }, 1040)
3743
3743
  ]),
3744
- default: _(() => [
3744
+ default: b(() => [
3745
3745
  u("div", xl, [
3746
3746
  (d(!0), x(me, null, ye(e.availableArchetypes, (f, k) => (d(), x("div", {
3747
3747
  key: `at-menuitem-${k}`,
@@ -3847,16 +3847,16 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
3847
3847
  return (i, s) => {
3848
3848
  const m = E("v-icon"), p = E("v-btn"), r = E("v-tooltip");
3849
3849
  return d(), T(r, { location: "top" }, {
3850
- activator: _(({ props: f }) => [
3850
+ activator: b(({ props: f }) => [
3851
3851
  C(p, Me({
3852
3852
  density: "comfortable",
3853
3853
  elevation: "1",
3854
3854
  icon: "",
3855
3855
  onClick: s[0] || (s[0] = (k) => n("toggle"))
3856
3856
  }, f), {
3857
- default: _(() => [
3857
+ default: b(() => [
3858
3858
  o.value === "virtualTour" ? (d(), x("svg", zl, Nl)) : (d(), T(m, { key: 1 }, {
3859
- default: _(() => [
3859
+ default: b(() => [
3860
3860
  te("mdi-image-multiple")
3861
3861
  ]),
3862
3862
  _: 1
@@ -3865,7 +3865,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
3865
3865
  _: 2
3866
3866
  }, 1040)
3867
3867
  ]),
3868
- default: _(() => [
3868
+ default: b(() => [
3869
3869
  u("span", null, Q(D(t).getLabel(o.value)), 1)
3870
3870
  ]),
3871
3871
  _: 1
@@ -4413,18 +4413,18 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
4413
4413
  e("closeTutorial", t.value);
4414
4414
  }
4415
4415
  return (m, p) => {
4416
- const r = E("v-icon"), f = E("v-card-title"), k = E("v-btn"), g = E("v-divider"), c = E("v-card-text"), h = E("v-card-actions"), S = E("v-card"), b = E("v-expand-transition"), y = E("v-checkbox");
4416
+ const r = E("v-icon"), f = E("v-card-title"), k = E("v-btn"), g = E("v-divider"), c = E("v-card-text"), h = E("v-card-actions"), S = E("v-card"), _ = E("v-expand-transition"), y = E("v-checkbox");
4417
4417
  return d(), T(Ee, { name: "fade-transition" }, {
4418
- default: _(() => [
4418
+ default: b(() => [
4419
4419
  C(S, {
4420
4420
  class: "mx-auto",
4421
4421
  elevation: "16"
4422
4422
  }, {
4423
- default: _(() => [
4423
+ default: b(() => [
4424
4424
  C(f, { class: "text-capitalize" }, {
4425
- default: _(() => [
4425
+ default: b(() => [
4426
4426
  C(r, { size: "x-small" }, {
4427
- default: _(() => [
4427
+ default: b(() => [
4428
4428
  te("mdi-alert-outline")
4429
4429
  ]),
4430
4430
  _: 1
@@ -4434,7 +4434,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
4434
4434
  _: 1
4435
4435
  }),
4436
4436
  C(c, { class: "pb-0" }, {
4437
- default: _(() => [
4437
+ default: b(() => [
4438
4438
  u("p", null, Q(D(n).getLabel("disclaimerTextShort")), 1),
4439
4439
  C(k, {
4440
4440
  variant: "tonal",
@@ -4442,10 +4442,10 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
4442
4442
  onClick: p[0] || (p[0] = (Y) => o.value = !0),
4443
4443
  class: "text-capitalize mt-2"
4444
4444
  }, {
4445
- default: _(() => [
4445
+ default: b(() => [
4446
4446
  te(Q(D(n).getLabel("learnMore")) + " ", 1),
4447
4447
  C(r, null, {
4448
- default: _(() => [
4448
+ default: b(() => [
4449
4449
  te("mdi-chevron-right")
4450
4450
  ]),
4451
4451
  _: 1
@@ -4492,20 +4492,20 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
4492
4492
  ]),
4493
4493
  _: 1
4494
4494
  }),
4495
- C(b, null, {
4496
- default: _(() => [
4495
+ C(_, null, {
4496
+ default: b(() => [
4497
4497
  o.value ? (d(), T(S, {
4498
4498
  key: 0,
4499
4499
  class: "position-absolute w-100 bg-white",
4500
4500
  height: "100%",
4501
4501
  style: { bottom: "0" }
4502
4502
  }, {
4503
- default: _(() => [
4503
+ default: b(() => [
4504
4504
  C(c, { class: "pb-0" }, {
4505
- default: _(() => [
4505
+ default: b(() => [
4506
4506
  u("p", _s, [
4507
4507
  C(r, null, {
4508
- default: _(() => [
4508
+ default: b(() => [
4509
4509
  te("mdi-alert-outline")
4510
4510
  ]),
4511
4511
  _: 1
@@ -4517,16 +4517,16 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
4517
4517
  _: 1
4518
4518
  }),
4519
4519
  C(h, null, {
4520
- default: _(() => [
4520
+ default: b(() => [
4521
4521
  C(k, {
4522
4522
  variant: "tonal",
4523
4523
  size: "small",
4524
4524
  onClick: p[1] || (p[1] = (Y) => o.value = !1),
4525
4525
  class: "text-capitalize"
4526
4526
  }, {
4527
- default: _(() => [
4527
+ default: b(() => [
4528
4528
  C(r, null, {
4529
- default: _(() => [
4529
+ default: b(() => [
4530
4530
  te("mdi-chevron-left")
4531
4531
  ]),
4532
4532
  _: 1
@@ -4551,20 +4551,20 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
4551
4551
  "onUpdate:modelValue": p[2] || (p[2] = (Y) => t.value = Y),
4552
4552
  "hide-details": ""
4553
4553
  }, {
4554
- label: _(() => [
4554
+ label: b(() => [
4555
4555
  u("span", ws, Q(D(n).getLabel("dontShowAgain")), 1)
4556
4556
  ]),
4557
4557
  _: 1
4558
4558
  }, 8, ["modelValue"])
4559
4559
  ]),
4560
4560
  C(h, null, {
4561
- default: _(() => [
4561
+ default: b(() => [
4562
4562
  C(k, {
4563
4563
  variant: "tonal",
4564
4564
  onClick: p[3] || (p[3] = (Y) => s()),
4565
4565
  block: ""
4566
4566
  }, {
4567
- default: _(() => [
4567
+ default: b(() => [
4568
4568
  te(Q(D(n).getLabel("iUnderstand")), 1)
4569
4569
  ]),
4570
4570
  _: 1
@@ -4631,8 +4631,8 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
4631
4631
  t.value = g(), n("updateSettings", o.value);
4632
4632
  }
4633
4633
  function r(c) {
4634
- const h = parseInt(c.substr(1, 2), 16) / 255, S = parseInt(c.substr(3, 2), 16) / 255, b = parseInt(c.substr(5, 2), 16) / 255;
4635
- return [h, S, b];
4634
+ const h = parseInt(c.substr(1, 2), 16) / 255, S = parseInt(c.substr(3, 2), 16) / 255, _ = parseInt(c.substr(5, 2), 16) / 255;
4635
+ return [h, S, _];
4636
4636
  }
4637
4637
  function f(c) {
4638
4638
  var h = c.toString(16);
@@ -4729,16 +4729,16 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
4729
4729
  lut: {
4730
4730
  label: "Lut",
4731
4731
  type: "lut",
4732
- items: h.map((b) => ({
4733
- text: b,
4734
- value: `https://cdn.visuado.com/luts/${b}.png`
4732
+ items: h.map((_) => ({
4733
+ text: _,
4734
+ value: `https://cdn.visuado.com/luts/${_}.png`
4735
4735
  })),
4736
4736
  value: S.lut
4737
4737
  }
4738
4738
  };
4739
4739
  }
4740
4740
  return (c, h) => {
4741
- const S = E("v-text-field"), b = E("v-slider"), y = E("v-checkbox"), Y = E("v-btn"), O = E("v-select"), P = E("v-icon");
4741
+ const S = E("v-text-field"), _ = E("v-slider"), y = E("v-checkbox"), Y = E("v-btn"), O = E("v-select"), P = E("v-icon");
4742
4742
  return d(), x("div", xs, [
4743
4743
  u("form", Ds, [
4744
4744
  u("div", As, [
@@ -4746,7 +4746,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
4746
4746
  key: Z,
4747
4747
  "d-block": ""
4748
4748
  }, [
4749
- I.type === "slider" ? (d(), T(b, {
4749
+ I.type === "slider" ? (d(), T(_, {
4750
4750
  key: 0,
4751
4751
  modelValue: t.value[L].value,
4752
4752
  "onUpdate:modelValue": (R) => t.value[L].value = R,
@@ -4755,10 +4755,10 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
4755
4755
  min: I.min,
4756
4756
  step: I.step
4757
4757
  }, {
4758
- prepend: _(() => [
4758
+ prepend: b(() => [
4759
4759
  u("div", Fs, Q(I.label), 1)
4760
4760
  ]),
4761
- append: _(() => [
4761
+ append: b(() => [
4762
4762
  u("div", null, [
4763
4763
  C(S, {
4764
4764
  modelValue: t.value[L].value,
@@ -4783,10 +4783,10 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
4783
4783
  "onUpdate:modelValue": (R) => t.value[L].value = R,
4784
4784
  onChange: i
4785
4785
  }, {
4786
- prepend: _(() => [
4786
+ prepend: b(() => [
4787
4787
  u("div", Ls, Q(I.label), 1)
4788
4788
  ]),
4789
- append: _(() => [
4789
+ append: b(() => [
4790
4790
  u("div", null, Q(I.value), 1)
4791
4791
  ]),
4792
4792
  _: 2
@@ -4831,7 +4831,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
4831
4831
  "x-small": "",
4832
4832
  onClick: (R) => t.value[L].value = null
4833
4833
  }, {
4834
- default: _(() => [
4834
+ default: b(() => [
4835
4835
  te(" Clear Lut ")
4836
4836
  ]),
4837
4837
  _: 2
@@ -4876,7 +4876,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
4876
4876
  C(Y, {
4877
4877
  onClick: h[0] || (h[0] = (I) => p())
4878
4878
  }, {
4879
- default: _(() => [
4879
+ default: b(() => [
4880
4880
  te("Reset")
4881
4881
  ]),
4882
4882
  _: 1
@@ -4885,10 +4885,10 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
4885
4885
  class: "ml-2",
4886
4886
  onClick: h[1] || (h[1] = (I) => s())
4887
4887
  }, {
4888
- default: _(() => [
4888
+ default: b(() => [
4889
4889
  te(" Download Json "),
4890
4890
  C(P, { color: "black darken-1" }, {
4891
- default: _(() => [
4891
+ default: b(() => [
4892
4892
  te("mdi-download")
4893
4893
  ]),
4894
4894
  _: 1
@@ -4900,10 +4900,10 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
4900
4900
  class: "ml-2",
4901
4901
  onClick: h[2] || (h[2] = (I) => m())
4902
4902
  }, {
4903
- default: _(() => [
4903
+ default: b(() => [
4904
4904
  te(" Save Settings "),
4905
4905
  C(P, { color: "black darken-1" }, {
4906
- default: _(() => [
4906
+ default: b(() => [
4907
4907
  te("mdi-save")
4908
4908
  ]),
4909
4909
  _: 1
@@ -5020,7 +5020,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
5020
5020
  a.storey.position.x,
5021
5021
  a.storey.position.y,
5022
5022
  a.storey.position.z
5023
- )), b = B(() => parseFloat(c.value.floor_vertical_position)), y = B(() => g.value.map((w) => {
5023
+ )), _ = B(() => parseFloat(c.value.floor_vertical_position)), y = B(() => g.value.map((w) => {
5024
5024
  const A = w.uposition.split(","), W = new lt(
5025
5025
  Number(A[0]) - S.value.x,
5026
5026
  0,
@@ -5031,9 +5031,10 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
5031
5031
  ...Z(i.value, W)
5032
5032
  };
5033
5033
  })), Y = B(() => ({
5034
- backgroundImage: `url(${a.backgroundImage})`
5034
+ backgroundImage: `url(${a.backgroundImage})`,
5035
+ backgroundSize: "contain"
5035
5036
  })), O = B(() => ({
5036
- transform: `scale(${k.value * 0.9}) rotate(${a.transformAngle}deg)`
5037
+ transform: `scale(${k.value * 0.75}) rotate(${a.transformAngle}deg)`
5037
5038
  }));
5038
5039
  Ie(() => {
5039
5040
  R(), I(), X();
@@ -5068,7 +5069,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
5068
5069
  };
5069
5070
  }
5070
5071
  function R() {
5071
- const w = a.storey.position.y - b.value;
5072
+ const w = a.storey.position.y - _.value;
5072
5073
  o.value = 2 * (w * Math.tan(P(a.storey.fovY / 2))), t.value = 512 / 384 * o.value;
5073
5074
  const A = o.value / 2, W = t.value / 2, N = new lt(W * -1, 0, A * -1);
5074
5075
  i.value = N;
@@ -5114,7 +5115,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
5114
5115
  ])
5115
5116
  ]));
5116
5117
  }
5117
- }), si = /* @__PURE__ */ ee(li, [["__scopeId", "data-v-bbc633f6"]]), ii = /* @__PURE__ */ j({
5118
+ }), si = /* @__PURE__ */ ee(li, [["__scopeId", "data-v-ae25ff2b"]]), ii = /* @__PURE__ */ j({
5118
5119
  __name: "VMiniMapCompass",
5119
5120
  props: {
5120
5121
  scale: {},
@@ -5148,8 +5149,8 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
5148
5149
  setup(l, { emit: a }) {
5149
5150
  const e = l, n = a, t = v((/* @__PURE__ */ new Date()).getHours()), o = v(!0), i = v(!0), s = v(""), m = v(/* @__PURE__ */ new Map()), p = B(() => e.minimapJson.storeys[e.level]), r = B(() => `${Math.floor(t.value).toString().padStart(2, "0")}:00`), f = B(() => {
5150
5151
  if (p.value.sunsimFilesTimeStamps[t.value]) {
5151
- const b = p.value.sunsimFilesTimeStamps[t.value].split(" ");
5152
- return `${b[0]} ${b[1]}`;
5152
+ const _ = p.value.sunsimFilesTimeStamps[t.value].split(" ");
5153
+ return `${_[0]} ${_[1]}`;
5153
5154
  }
5154
5155
  return "";
5155
5156
  });
@@ -5157,11 +5158,11 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
5157
5158
  s.value = await c(
5158
5159
  p.value.sunsimFiles[t.value]
5159
5160
  ), n("setBackgroundImage", s.value), i.value = !1;
5160
- const b = await g(e.minimapJson.storeys);
5161
- m.value = b, o.value = !1, n("setBackgroundImage", k(e.level, t.value));
5161
+ const _ = await g(e.minimapJson.storeys);
5162
+ m.value = _, o.value = !1, n("setBackgroundImage", k(e.level, t.value));
5162
5163
  }), H(t, () => {
5163
- const b = k(e.level, t.value);
5164
- n("setBackgroundImage", b);
5164
+ const _ = k(e.level, t.value);
5165
+ n("setBackgroundImage", _);
5165
5166
  }), H(
5166
5167
  () => e.level,
5167
5168
  () => {
@@ -5169,13 +5170,13 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
5169
5170
  },
5170
5171
  { immediate: !0 }
5171
5172
  );
5172
- function k(b, y) {
5173
- return m.value.get(`sunsim${b}_${y}`) ? m.value.get(`sunsim${b}_${y}`) : "";
5173
+ function k(_, y) {
5174
+ return m.value.get(`sunsim${_}_${y}`) ? m.value.get(`sunsim${_}_${y}`) : "";
5174
5175
  }
5175
- async function g(b) {
5176
+ async function g(_) {
5176
5177
  let y = /* @__PURE__ */ new Map();
5177
- for (let Y = 0; Y < b.length; Y++) {
5178
- const O = b[Y].sunsimFiles;
5178
+ for (let Y = 0; Y < _.length; Y++) {
5179
+ const O = _[Y].sunsimFiles;
5179
5180
  for (let P = 0; P < O.length; P++) {
5180
5181
  const I = O[P];
5181
5182
  try {
@@ -5188,28 +5189,28 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
5188
5189
  }
5189
5190
  return y;
5190
5191
  }
5191
- async function c(b) {
5192
+ async function c(_) {
5192
5193
  const Y = await (await fetch(
5193
5194
  he(
5194
5195
  e.cdnFileResolver,
5195
- `/${e.apartmentJson.type}/${e.apartmentJson.id}/minimap/${b}`
5196
+ `/${e.apartmentJson.type}/${e.apartmentJson.id}/minimap/${_}`
5196
5197
  )
5197
5198
  )).blob(), O = await S(Y);
5198
5199
  return h(O);
5199
5200
  }
5200
- function h(b) {
5201
- return "data:image/jpeg;base64," + b;
5201
+ function h(_) {
5202
+ return "data:image/jpeg;base64," + _;
5202
5203
  }
5203
- async function S(b) {
5204
+ async function S(_) {
5204
5205
  return new Promise((y, Y) => {
5205
5206
  const O = new FileReader();
5206
5207
  O.onload = () => {
5207
5208
  const P = O.result.split(",")[1];
5208
5209
  y(P);
5209
- }, O.onerror = Y, O.readAsDataURL(b);
5210
+ }, O.onerror = Y, O.readAsDataURL(_);
5210
5211
  });
5211
5212
  }
5212
- return (b, y) => {
5213
+ return (_, y) => {
5213
5214
  const Y = E("v-progress-linear"), O = E("v-icon"), P = E("v-slider");
5214
5215
  return d(), x("div", ui, [
5215
5216
  u("div", ci, [
@@ -5234,10 +5235,10 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
5234
5235
  "hide-details": !0,
5235
5236
  "thumb-label": "always"
5236
5237
  }, {
5237
- prepend: _(() => [
5238
+ prepend: b(() => [
5238
5239
  u("div", vi, [
5239
5240
  C(O, { color: "#ffab02" }, {
5240
- default: _(() => [
5241
+ default: b(() => [
5241
5242
  te("mdi-white-balance-sunny")
5242
5243
  ]),
5243
5244
  _: 1
@@ -5245,7 +5246,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
5245
5246
  u("span", null, Q(f.value), 1)
5246
5247
  ])
5247
5248
  ]),
5248
- "thumb-label": _(() => [
5249
+ "thumb-label": b(() => [
5249
5250
  te(Q(r.value), 1)
5250
5251
  ]),
5251
5252
  _: 1
@@ -5298,31 +5299,31 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
5298
5299
  t("close");
5299
5300
  };
5300
5301
  return (h, S) => {
5301
- const b = E("v-btn");
5302
+ const _ = E("v-btn");
5302
5303
  return d(), T(qs, {
5303
5304
  ref_key: "minimapMoveable",
5304
5305
  ref: e,
5305
5306
  size: k.value
5306
5307
  }, {
5307
- "top-left": _(() => [
5308
+ "top-left": b(() => [
5308
5309
  u("div", gi, [
5309
- C(b, {
5310
+ C(_, {
5310
5311
  icon: "mdi-window-close",
5311
5312
  size: "x-small",
5312
5313
  onClick: c
5313
5314
  })
5314
5315
  ])
5315
5316
  ]),
5316
- "top-right": _(() => [
5317
+ "top-right": b(() => [
5317
5318
  u("div", yi, [
5318
- C(b, {
5319
+ C(_, {
5319
5320
  class: "rotate-icon",
5320
5321
  size: "x-small",
5321
5322
  icon: "mdi mdi-rotate-right",
5322
5323
  onClick: Ma(g, ["stop"]),
5323
5324
  title: "Rotate"
5324
5325
  }),
5325
- C(b, {
5326
+ C(_, {
5326
5327
  class: "resize-icon ml-1",
5327
5328
  icon: "mdi-image-size-select-small",
5328
5329
  size: "x-small",
@@ -5331,10 +5332,10 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
5331
5332
  })
5332
5333
  ])
5333
5334
  ]),
5334
- header: _(() => [
5335
+ header: b(() => [
5335
5336
  _i
5336
5337
  ]),
5337
- body: _(() => [
5338
+ body: b(() => [
5338
5339
  C(ri, {
5339
5340
  scale: m.value,
5340
5341
  rotation: s.value.rotation.y,
@@ -5353,7 +5354,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
5353
5354
  }, null, 8, ["transform-angle", "all-cameras", "background-image", "rotation", "current-camera", "storey", "containerWidth", "containerHeight"])
5354
5355
  ])
5355
5356
  ]),
5356
- footer: _(() => [
5357
+ footer: b(() => [
5357
5358
  C(fi, {
5358
5359
  "cdn-file-resolver": n.cdnFileResolver,
5359
5360
  "minimap-json": n.minimapJson,
@@ -5405,7 +5406,7 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
5405
5406
  rounded: "",
5406
5407
  flat: ""
5407
5408
  }, {
5408
- default: _(() => [
5409
+ default: b(() => [
5409
5410
  D(n).timeSamples.length > 1 ? (d(), T(f, {
5410
5411
  key: 0,
5411
5412
  class: "pa-2 pr-2",
@@ -5420,13 +5421,13 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
5420
5421
  "thumb-color": "white",
5421
5422
  "hide-details": ""
5422
5423
  }, {
5423
- prepend: _(() => [
5424
+ prepend: b(() => [
5424
5425
  C(r, {
5425
5426
  style: { "vertical-align": "baseline", "font-size": "20px" },
5426
5427
  class: "mr-2 icon",
5427
5428
  color: "warning"
5428
5429
  }, {
5429
- default: _(() => [
5430
+ default: b(() => [
5430
5431
  te(" mdi-white-balance-sunny ")
5431
5432
  ]),
5432
5433
  _: 1
@@ -5440,7 +5441,7 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
5440
5441
  class: "mr-2 icon",
5441
5442
  color: "warning"
5442
5443
  }, {
5443
- default: _(() => [
5444
+ default: b(() => [
5444
5445
  te(" mdi-white-balance-sunny ")
5445
5446
  ]),
5446
5447
  _: 1
@@ -5481,7 +5482,7 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
5481
5482
  class: "sun-study-toggle text-capitalize rounded-xl",
5482
5483
  onClick: o[0] || (o[0] = (s) => e("toggleSunStudy"))
5483
5484
  }, {
5484
- default: _(() => [
5485
+ default: b(() => [
5485
5486
  te(Q(D(n).getLabel("openSunStudy")), 1)
5486
5487
  ]),
5487
5488
  _: 1
@@ -5505,7 +5506,7 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
5505
5506
  class: ge(["autoplay-btn", { mobile: n.value, "mt-1": n.value, "mx-1": n.value }]),
5506
5507
  onClick: o[0] || (o[0] = (m) => e("toggleAutoPlay"))
5507
5508
  }, {
5508
- default: _(() => [
5509
+ default: b(() => [
5509
5510
  C(i, {
5510
5511
  icon: t.autoplayStatus ? "mdi-pause" : "mdi-play",
5511
5512
  size: "x-large",
@@ -5570,7 +5571,7 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
5570
5571
  le(p.$slots, "before", {}, void 0, !0),
5571
5572
  C(S, {
5572
5573
  modelValue: o.value,
5573
- "onUpdate:modelValue": r[2] || (r[2] = (b) => o.value = b),
5574
+ "onUpdate:modelValue": r[2] || (r[2] = (_) => o.value = _),
5574
5575
  class: ge({ mobileWaypoint: i.value }),
5575
5576
  "active-class": "active-apt",
5576
5577
  "selected-class": "active-apt",
@@ -5578,31 +5579,31 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
5578
5579
  "center-active": "",
5579
5580
  mandatory: ""
5580
5581
  }, {
5581
- prev: _(() => [
5582
+ prev: b(() => [
5582
5583
  i.value ? $("", !0) : (d(), T(f, {
5583
5584
  key: 0,
5584
5585
  class: ge(["carousel-button", { mobile: i.value }]),
5585
5586
  icon: "mdi-chevron-left",
5586
5587
  varient: "tonal",
5587
5588
  size: "small",
5588
- onClick: r[0] || (r[0] = (b) => n("previous"))
5589
+ onClick: r[0] || (r[0] = (_) => n("previous"))
5589
5590
  }, null, 8, ["class"]))
5590
5591
  ]),
5591
- next: _(() => [
5592
+ next: b(() => [
5592
5593
  i.value ? $("", !0) : (d(), T(f, {
5593
5594
  key: 0,
5594
5595
  class: ge(["carousel-button", { mobile: i.value }]),
5595
5596
  icon: "mdi-chevron-right",
5596
5597
  varient: "tonal",
5597
5598
  size: "small",
5598
- onClick: r[1] || (r[1] = (b) => n("next"))
5599
+ onClick: r[1] || (r[1] = (_) => n("next"))
5599
5600
  }, null, 8, ["class"]))
5600
5601
  ]),
5601
- default: _(() => [
5602
- (d(!0), x(me, null, ye(p.thumbnails, (b) => (d(), T(h, {
5603
- key: b.id
5602
+ default: b(() => [
5603
+ (d(!0), x(me, null, ye(p.thumbnails, (_) => (d(), T(h, {
5604
+ key: _.id
5604
5605
  }, {
5605
- default: _(({ toggle: y, selectedClass: Y }) => [
5606
+ default: b(({ toggle: y, selectedClass: Y }) => [
5606
5607
  C(c, {
5607
5608
  class: ge(["position-relative", [
5608
5609
  i.value ? "ma-0" : "ma-1",
@@ -5612,15 +5613,15 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
5612
5613
  align: "center",
5613
5614
  justify: "center",
5614
5615
  style: { overflow: "hidden" },
5615
- onClick: (O) => m(b.id, y)
5616
+ onClick: (O) => m(_.id, y)
5616
5617
  }, {
5617
- default: _(() => [
5618
+ default: b(() => [
5618
5619
  C(k, {
5619
5620
  cover: "",
5620
5621
  "aspect-ratio": 1,
5621
- src: b.thumbnailUrl
5622
+ src: _.thumbnailUrl
5622
5623
  }, null, 8, ["src"]),
5623
- e.cameraHasSunStudy(b.id) ? (d(), x("div", Ai, [
5624
+ e.cameraHasSunStudy(_.id) ? (d(), x("div", Ai, [
5624
5625
  C(g, {
5625
5626
  class: "sun-icon",
5626
5627
  icon: "mdi-white-balance-sunny"
@@ -5671,14 +5672,14 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
5671
5672
  navigator.clipboard.writeText(location.href);
5672
5673
  }
5673
5674
  return (m, p) => {
5674
- const r = E("v-btn"), f = E("v-tooltip"), k = E("v-toolbar-title"), g = E("v-spacer"), c = E("v-toolbar"), h = E("v-card-text"), S = E("v-card"), b = E("v-dialog");
5675
+ const r = E("v-btn"), f = E("v-tooltip"), k = E("v-toolbar-title"), g = E("v-spacer"), c = E("v-toolbar"), h = E("v-card-text"), S = E("v-card"), _ = E("v-dialog");
5675
5676
  return d(), x("div", null, [
5676
5677
  C(f, {
5677
5678
  elevation: "2",
5678
5679
  top: "",
5679
5680
  attach: ""
5680
5681
  }, {
5681
- activator: _(({ props: y }) => [
5682
+ activator: b(({ props: y }) => [
5682
5683
  C(r, Me({
5683
5684
  density: "comfortable",
5684
5685
  elevation: "1",
@@ -5686,29 +5687,29 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
5686
5687
  onClick: p[0] || (p[0] = (Y) => e.value = !e.value)
5687
5688
  }, y), null, 16)
5688
5689
  ]),
5689
- default: _(() => [
5690
+ default: b(() => [
5690
5691
  u("span", null, Q(D(a).getLabel("share")), 1)
5691
5692
  ]),
5692
5693
  _: 1
5693
5694
  }),
5694
- C(b, {
5695
+ C(_, {
5695
5696
  id: "share-box",
5696
5697
  width: "400",
5697
5698
  modelValue: e.value,
5698
5699
  "onUpdate:modelValue": p[2] || (p[2] = (y) => e.value = y)
5699
5700
  }, {
5700
- default: _(() => [
5701
+ default: b(() => [
5701
5702
  C(S, null, {
5702
- default: _(() => [
5703
+ default: b(() => [
5703
5704
  C(c, { elevation: "0" }, {
5704
- default: _(() => [
5705
+ default: b(() => [
5705
5706
  C(r, {
5706
5707
  size: "x-small",
5707
5708
  icon: "mdi-close",
5708
5709
  onClick: p[1] || (p[1] = (y) => e.value = !1)
5709
5710
  }),
5710
5711
  C(k, null, {
5711
- default: _(() => [
5712
+ default: b(() => [
5712
5713
  te(Q(D(a).getLabel("share")), 1)
5713
5714
  ]),
5714
5715
  _: 1
@@ -5718,10 +5719,10 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
5718
5719
  _: 1
5719
5720
  }),
5720
5721
  C(h, { class: "mt-5" }, {
5721
- default: _(() => [
5722
+ default: b(() => [
5722
5723
  u("p", Oi, [
5723
5724
  C(f, { location: "top" }, {
5724
- activator: _(({ props: y }) => [
5725
+ activator: b(({ props: y }) => [
5725
5726
  C(r, Me({
5726
5727
  depressed: "",
5727
5728
  fab: "",
@@ -5729,13 +5730,13 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
5729
5730
  icon: "mdi-facebook"
5730
5731
  }, y, { onClick: t }), null, 16)
5731
5732
  ]),
5732
- default: _(() => [
5733
+ default: b(() => [
5733
5734
  u("span", null, Q(D(a).getLabel("shareToFacebook")), 1)
5734
5735
  ]),
5735
5736
  _: 1
5736
5737
  }),
5737
5738
  C(f, { location: "top" }, {
5738
- activator: _(({ props: y }) => [
5739
+ activator: b(({ props: y }) => [
5739
5740
  C(r, Me({
5740
5741
  depressed: "",
5741
5742
  fab: "",
@@ -5743,13 +5744,13 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
5743
5744
  icon: "mdi-linkedin"
5744
5745
  }, y, { onClick: i }), null, 16)
5745
5746
  ]),
5746
- default: _(() => [
5747
+ default: b(() => [
5747
5748
  u("span", null, Q(D(a).getLabel("shareToLinkedin")), 1)
5748
5749
  ]),
5749
5750
  _: 1
5750
5751
  }),
5751
5752
  C(f, { location: "top" }, {
5752
- activator: _(({ props: y }) => [
5753
+ activator: b(({ props: y }) => [
5753
5754
  C(r, Me({
5754
5755
  depressed: "",
5755
5756
  fab: "",
@@ -5757,13 +5758,13 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
5757
5758
  icon: "mdi-twitter"
5758
5759
  }, y, { onClick: o }), null, 16)
5759
5760
  ]),
5760
- default: _(() => [
5761
+ default: b(() => [
5761
5762
  u("span", null, Q(D(a).getLabel("shareToTwitter")), 1)
5762
5763
  ]),
5763
5764
  _: 1
5764
5765
  }),
5765
5766
  C(f, { location: "top" }, {
5766
- activator: _(({ props: y }) => [
5767
+ activator: b(({ props: y }) => [
5767
5768
  C(r, Me({
5768
5769
  depressed: "",
5769
5770
  fab: "",
@@ -5773,13 +5774,13 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
5773
5774
  href: `mailto:?body=${n.value}`
5774
5775
  }, y), null, 16, ["href"])
5775
5776
  ]),
5776
- default: _(() => [
5777
+ default: b(() => [
5777
5778
  u("span", null, Q(D(a).getLabel("shareViaEmail")), 1)
5778
5779
  ]),
5779
5780
  _: 1
5780
5781
  }),
5781
5782
  C(f, { location: "top" }, {
5782
- activator: _(({ props: y }) => [
5783
+ activator: b(({ props: y }) => [
5783
5784
  C(r, Me({
5784
5785
  depressed: "",
5785
5786
  fab: "",
@@ -5788,7 +5789,7 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
5788
5789
  onClick: s
5789
5790
  }, y), null, 16)
5790
5791
  ]),
5791
- default: _(() => [
5792
+ default: b(() => [
5792
5793
  u("span", null, Q(D(a).getLabel("copyLink")), 1)
5793
5794
  ]),
5794
5795
  _: 1
@@ -5965,7 +5966,7 @@ const Ri = {
5965
5966
  showSnapshot: c,
5966
5967
  showShare: h,
5967
5968
  showInteriorOptions: S,
5968
- showMiniMap: b,
5969
+ showMiniMap: _,
5969
5970
  showFloorLevel: y,
5970
5971
  defaultWaypointIndex: Y,
5971
5972
  defaultViewMode: O,
@@ -6117,7 +6118,7 @@ const Ri = {
6117
6118
  const U = Y.value !== null ? Y.value : 0;
6118
6119
  se.value = U, _e.value = q.value.cameras[U].id, ue.value = q.value.cameras[U].id;
6119
6120
  }
6120
- b.value && (J.value = await ma(
6121
+ _.value && (J.value = await ma(
6121
6122
  ie.value,
6122
6123
  o.value
6123
6124
  ));
@@ -6337,13 +6338,13 @@ const Ri = {
6337
6338
  onSunsimCallback: fa,
6338
6339
  onPlayerApiCallback: _a
6339
6340
  }, {
6340
- "slideshow-image": _(() => [
6341
+ "slideshow-image": b(() => [
6341
6342
  be.value ? (d(), T($i, {
6342
6343
  key: 0,
6343
6344
  image: Ue.value
6344
6345
  }, null, 8, ["image"])) : $("", !0)
6345
6346
  ]),
6346
- "top-left": _(() => [
6347
+ "top-left": b(() => [
6347
6348
  D(I) ? (d(), T(oe, {
6348
6349
  key: 0,
6349
6350
  density: "comfortable",
@@ -6385,8 +6386,8 @@ const Ri = {
6385
6386
  }, null, 8, ["initial-settings"])
6386
6387
  ])) : $("", !0)
6387
6388
  ]),
6388
- "top-center": _(() => []),
6389
- "top-right": _(() => [
6389
+ "top-center": b(() => []),
6390
+ "top-right": b(() => [
6390
6391
  M.value && D(k) ? we((d(), x("div", Yi, [
6391
6392
  C(Vl, { rotation: Le.value }, null, 8, ["rotation"])
6392
6393
  ], 512)), [
@@ -6406,9 +6407,9 @@ const Ri = {
6406
6407
  }, null, 8, ["hours", "minutes", "style"])) : $("", !0)
6407
6408
  ])
6408
6409
  ]),
6409
- "center-left": _(() => [
6410
+ "center-left": b(() => [
6410
6411
  C(Ee, { name: "slide-x-transition" }, {
6411
- default: _(() => [
6412
+ default: b(() => [
6412
6413
  be.value ? (d(), T(oe, {
6413
6414
  key: 0,
6414
6415
  density: "comfortable",
@@ -6420,7 +6421,7 @@ const Ri = {
6420
6421
  _: 1
6421
6422
  })
6422
6423
  ]),
6423
- "center-center": _(() => [
6424
+ "center-center": b(() => [
6424
6425
  W.value ? (d(), T(Ss, {
6425
6426
  key: 0,
6426
6427
  onCloseTutorial: U[5] || (U[5] = (Se) => oa(Se))
@@ -6436,9 +6437,9 @@ const Ri = {
6436
6437
  onClose: U[6] || (U[6] = (Se) => xe.value = !1)
6437
6438
  }, null, 8, ["cdn-file-resolver", "apartment-json", "minimap-json", "rotation", "current-camera", "level"])) : $("", !0)
6438
6439
  ]),
6439
- "center-right": _(() => [
6440
+ "center-right": b(() => [
6440
6441
  C(Ee, { name: "slide-x-reverse-transition" }, {
6441
- default: _(() => [
6442
+ default: b(() => [
6442
6443
  be.value ? (d(), T(oe, {
6443
6444
  key: 0,
6444
6445
  density: "comfortable",
@@ -6450,7 +6451,7 @@ const Ri = {
6450
6451
  _: 1
6451
6452
  })
6452
6453
  ]),
6453
- "bottom-left": _(() => [
6454
+ "bottom-left": b(() => [
6454
6455
  D(g) ? (d(), T(ea, {
6455
6456
  key: 0,
6456
6457
  "is-full-screen": K.value.isActive,
@@ -6476,9 +6477,9 @@ const Ri = {
6476
6477
  C(Kt)
6477
6478
  ])) : $("", !0)
6478
6479
  ]),
6479
- "bottom-center": _(() => [
6480
+ "bottom-center": b(() => [
6480
6481
  C(Ee, null, {
6481
- default: _(() => [
6482
+ default: b(() => [
6482
6483
  u("div", null, [
6483
6484
  u("div", {
6484
6485
  class: ge(["d-flex justify-center", {
@@ -6511,7 +6512,7 @@ const Ri = {
6511
6512
  onPrevious: kt,
6512
6513
  onGoto: St
6513
6514
  }, {
6514
- before: _(() => [
6515
+ before: b(() => [
6515
6516
  F.enableAutoplay && G.value && !je.value ? (d(), T(jt, {
6516
6517
  key: 0,
6517
6518
  autoplayStatus: Ye.value,
@@ -6525,7 +6526,7 @@ const Ri = {
6525
6526
  _: 1
6526
6527
  })
6527
6528
  ]),
6528
- "bottom-right": _(() => [
6529
+ "bottom-right": b(() => [
6529
6530
  u("div", Wi, [
6530
6531
  G.value && D(S) && Be.value ? (d(), T(Ol, {
6531
6532
  key: 0,
@@ -6539,7 +6540,7 @@ const Ri = {
6539
6540
  _: 1
6540
6541
  }, 8, ["cdn-file-resolver", "style", "show-static-image", "current-camera-id", "mouse-sensitivity", "interior-id", "apartment-id"]),
6541
6542
  C(Ee, null, {
6542
- default: _(() => [
6543
+ default: b(() => [
6543
6544
  D(r) && q.value && je.value && G.value ? (d(), T(gt, {
6544
6545
  key: 0,
6545
6546
  class: "waypoint-carousel below-player",
@@ -6550,7 +6551,7 @@ const Ri = {
6550
6551
  onPrevious: kt,
6551
6552
  onGoto: St
6552
6553
  }, {
6553
- before: _(() => [
6554
+ before: b(() => [
6554
6555
  F.enableAutoplay && G.value ? (d(), T(jt, {
6555
6556
  key: 0,
6556
6557
  autoplayStatus: Ye.value,
@@ -6700,19 +6701,19 @@ const Ri = {
6700
6701
  C(rr, {
6701
6702
  "is-full-screen": n.value.isActive
6702
6703
  }, {
6703
- "slideshow-image": _(() => [
6704
+ "slideshow-image": b(() => [
6704
6705
  u("div", dr, [
6705
6706
  C(k, {
6706
6707
  src: o.value.thumbnailUrl
6707
6708
  }, null, 8, ["src"])
6708
6709
  ])
6709
6710
  ]),
6710
- "top-left": _(() => []),
6711
- "top-center": _(() => []),
6712
- "top-right": _(() => []),
6713
- "center-left": _(() => [
6711
+ "top-left": b(() => []),
6712
+ "top-center": b(() => []),
6713
+ "top-right": b(() => []),
6714
+ "center-left": b(() => [
6714
6715
  C(Ee, { name: "slide-x-transition" }, {
6715
- default: _(() => [
6716
+ default: b(() => [
6716
6717
  t.value.length > 1 ? (d(), T(g, {
6717
6718
  key: 0,
6718
6719
  density: "comfortable",
@@ -6724,10 +6725,10 @@ const Ri = {
6724
6725
  _: 1
6725
6726
  })
6726
6727
  ]),
6727
- "center-center": _(() => []),
6728
- "center-right": _(() => [
6728
+ "center-center": b(() => []),
6729
+ "center-right": b(() => [
6729
6730
  C(Ee, { name: "slide-x-reverse-transition" }, {
6730
- default: _(() => [
6731
+ default: b(() => [
6731
6732
  t.value.length > 1 ? (d(), T(g, {
6732
6733
  key: 0,
6733
6734
  density: "comfortable",
@@ -6739,7 +6740,7 @@ const Ri = {
6739
6740
  _: 1
6740
6741
  })
6741
6742
  ]),
6742
- "bottom-left": _(() => [
6743
+ "bottom-left": b(() => [
6743
6744
  r.showFullScreen ? (d(), T(ea, {
6744
6745
  key: 0,
6745
6746
  "is-full-screen": n.value.isActive,
@@ -6750,7 +6751,7 @@ const Ri = {
6750
6751
  C(Kt)
6751
6752
  ])) : $("", !0)
6752
6753
  ]),
6753
- "bottom-center": _(() => [
6754
+ "bottom-center": b(() => [
6754
6755
  u("div", null, [
6755
6756
  n.value.isActive && t.value.length > 1 ? (d(), T(gt, {
6756
6757
  key: 0,
@@ -6763,7 +6764,7 @@ const Ri = {
6763
6764
  }, null, 8, ["class", "thumbnails", "active"])) : $("", !0)
6764
6765
  ])
6765
6766
  ]),
6766
- "bottom-right": _(() => []),
6767
+ "bottom-right": b(() => []),
6767
6768
  _: 1
6768
6769
  }, 8, ["is-full-screen"]),
6769
6770
  t.value.length > 1 ? (d(), T(gt, {
@@ -6894,13 +6895,13 @@ const Sr = {
6894
6895
  const f = E("v-btn"), k = E("v-field"), g = E("v-list-item-title"), c = E("v-list-item"), h = E("v-list"), S = E("v-menu");
6895
6896
  return D(t).sunsimDayOfYear && D(t).sunsimDayOfYear.length > 0 ? (d(), x("div", Sr, [
6896
6897
  C(S, null, {
6897
- activator: _(({ props: b }) => [
6898
+ activator: b(({ props: _ }) => [
6898
6899
  C(k, {
6899
6900
  variant: "solo-filled",
6900
6901
  rounded: "",
6901
6902
  flat: ""
6902
6903
  }, {
6903
- default: _(() => [
6904
+ default: b(() => [
6904
6905
  C(f, Me({
6905
6906
  variant: "text",
6906
6907
  rounded: "",
@@ -6910,8 +6911,8 @@ const Sr = {
6910
6911
  "append-icon": D(t).sunsimDayOfYear.length > 1 ? "mdi-menu-down" : void 0,
6911
6912
  disabled: D(i),
6912
6913
  size: D(n) ? "small" : void 0
6913
- }, b), {
6914
- default: _(() => [
6914
+ }, _), {
6915
+ default: b(() => [
6915
6916
  te(Q(D(Wt)(m.value)), 1)
6916
6917
  ]),
6917
6918
  _: 2
@@ -6920,18 +6921,18 @@ const Sr = {
6920
6921
  _: 2
6921
6922
  }, 1024)
6922
6923
  ]),
6923
- default: _(() => [
6924
+ default: b(() => [
6924
6925
  C(h, null, {
6925
- default: _(() => [
6926
- (d(!0), x(me, null, ye(D(t).sunsimDayOfYear, (b, y) => (d(), T(c, {
6926
+ default: b(() => [
6927
+ (d(!0), x(me, null, ye(D(t).sunsimDayOfYear, (_, y) => (d(), T(c, {
6927
6928
  key: y,
6928
6929
  value: y,
6929
- onClick: (Y) => m.value = b.dayOfYear
6930
+ onClick: (Y) => m.value = _.dayOfYear
6930
6931
  }, {
6931
- default: _(() => [
6932
+ default: b(() => [
6932
6933
  C(g, null, {
6933
- default: _(() => [
6934
- te(Q(D(Wt)(b.dayOfYear)), 1)
6934
+ default: b(() => [
6935
+ te(Q(D(Wt)(_.dayOfYear)), 1)
6935
6936
  ]),
6936
6937
  _: 2
6937
6938
  }, 1024)
@@ -7017,7 +7018,7 @@ const Sr = {
7017
7018
  color: "warning",
7018
7019
  style: { opacity: "0.6" }
7019
7020
  }, {
7020
- default: _(() => [
7021
+ default: b(() => [
7021
7022
  te(" mdi-white-balance-sunny ")
7022
7023
  ]),
7023
7024
  _: 1
@@ -7074,7 +7075,7 @@ const Sr = {
7074
7075
  rounded: "",
7075
7076
  flat: ""
7076
7077
  }, {
7077
- default: _(() => [
7078
+ default: b(() => [
7078
7079
  D(t).timeSamples.length > 1 ? (d(), T(k, {
7079
7080
  key: 0,
7080
7081
  class: "pa-2 pr-2",
@@ -7089,13 +7090,13 @@ const Sr = {
7089
7090
  "thumb-color": "white",
7090
7091
  "hide-details": ""
7091
7092
  }, {
7092
- prepend: _(() => [
7093
+ prepend: b(() => [
7093
7094
  C(f, {
7094
7095
  style: { "vertical-align": "baseline", "font-size": "20px" },
7095
7096
  class: "mr-2 icon",
7096
7097
  color: "warning"
7097
7098
  }, {
7098
- default: _(() => [
7099
+ default: b(() => [
7099
7100
  te(" mdi-white-balance-sunny ")
7100
7101
  ]),
7101
7102
  _: 1
@@ -7109,7 +7110,7 @@ const Sr = {
7109
7110
  class: "mr-2 icon",
7110
7111
  color: "warning"
7111
7112
  }, {
7112
- default: _(() => [
7113
+ default: b(() => [
7113
7114
  te(" mdi-white-balance-sunny ")
7114
7115
  ]),
7115
7116
  _: 1
@@ -7162,6 +7163,7 @@ const Sr = {
7162
7163
  }), Hr = ["innerHTML"], Yr = /* @__PURE__ */ j({
7163
7164
  __name: "VStructureChooserOverlay",
7164
7165
  props: {
7166
+ activeStructureIds: {},
7165
7167
  cdnFileResolver: { type: [String, Function] },
7166
7168
  colorCallback: { type: Function },
7167
7169
  currentCamera: {},
@@ -7172,18 +7174,18 @@ const Sr = {
7172
7174
  const e = l, { cdnFileResolver: n, colorCallback: t, currentCamera: o, selectedId: i } = Ve(e), s = a, m = v(), p = v(), r = yt({});
7173
7175
  Te(() => {
7174
7176
  for (const g in r) {
7175
- const { element: c, state: h } = r[g], { r: S, g: b, b: y, a: Y, s: O } = t.value(g, h) || {
7177
+ const { element: c, state: h } = r[g], { r: S, g: _, b: y, a: Y, s: O } = t.value(g, h) || {
7176
7178
  r: 0,
7177
7179
  g: 0,
7178
7180
  b: 0,
7179
7181
  a: 0,
7180
7182
  s: 0
7181
7183
  };
7182
- c.style.fill = `rgba(${S}, ${b}, ${y}, ${Y / 255})`, c.style.stroke = `rgb(${S}, ${b}, ${y})`, c.style.strokeWidth = O.toString();
7184
+ c.style.fill = `rgba(${S}, ${_}, ${y}, ${Y / 255})`, c.style.stroke = `rgb(${S}, ${_}, ${y})`, c.style.strokeWidth = O.toString(), c.style.cursor = "pointer";
7183
7185
  }
7184
7186
  }), H(i, () => {
7185
7187
  for (const g in r)
7186
- r[g].state === "selected" && g !== i.value ? r[g].state = "idle" : r[g].state !== "selected" && g === i.value && (r[g].state = "selected");
7188
+ r[g].state === "selected" && g !== i.value ? r[g].state = "idle" : r[g].state !== "selected" && g === i.value && (r[g].state = "selected", console.log(g));
7187
7189
  }), Te(async () => {
7188
7190
  try {
7189
7191
  m.value = await Fe.loadText(
@@ -7226,19 +7228,19 @@ const Sr = {
7226
7228
  if (g) {
7227
7229
  s("updateSvgContainer", g), f();
7228
7230
  let h, S = "data-structure-id";
7229
- h = g.querySelectorAll(`[${S}]`), h.length === 0 && (S = "data-apartment-id", h = g.querySelectorAll(`[${S}]`), h.length === 0 && (S = "data-building-id", h = g.querySelectorAll(`[${S}]`))), h.forEach((b) => {
7230
- b.style.strokeWidth = "0", b.style.stroke = "rgba(255,255,255,0)", b.style.fill = "rgba(255,255,255,0)", b.querySelectorAll("path").forEach((Y) => {
7231
+ h = g.querySelectorAll(`[${S}]`), h.length === 0 && (S = "data-apartment-id", h = g.querySelectorAll(`[${S}]`), h.length === 0 && (S = "data-building-id", h = g.querySelectorAll(`[${S}]`))), h.forEach((_) => {
7232
+ _.style.strokeWidth = "0", _.style.stroke = "rgba(255,255,255,0)", _.style.fill = "rgba(255,255,255,0)", _.querySelectorAll("path").forEach((Y) => {
7231
7233
  Y.style.stroke = "inherit", Y.style.fill = "inherit";
7232
7234
  });
7233
- const y = b.getAttribute(S);
7235
+ const y = _.getAttribute(S);
7234
7236
  r[y] = {
7235
- element: b,
7237
+ element: _,
7236
7238
  state: i.value === y ? "selected" : "idle"
7237
- }, b.addEventListener("mouseover", () => {
7239
+ }, e.activeStructureIds && !e.activeStructureIds.includes(y) && (_.style.display = "none"), _.addEventListener("mouseover", () => {
7238
7240
  r[y].state === "idle" && (r[y].state = "hover"), s("onHoverOver", y);
7239
- }), b.addEventListener("mouseout", () => {
7241
+ }), _.addEventListener("mouseout", () => {
7240
7242
  r[y].state === "hover" && (r[y].state = "idle"), s("onHoverOut", y);
7241
- }), b.addEventListener("click", () => {
7243
+ }), _.addEventListener("click", () => {
7242
7244
  s("onClick", y);
7243
7245
  });
7244
7246
  });
@@ -7246,12 +7248,12 @@ const Sr = {
7246
7248
  });
7247
7249
  }
7248
7250
  return (g, c) => (d(), T(Ee, null, {
7249
- default: _(() => [
7251
+ default: b(() => [
7250
7252
  (d(), x("div", {
7251
7253
  ref_key: "svgContainer",
7252
7254
  ref: p,
7253
7255
  key: D(o).overlayFilename,
7254
- class: "w-100 h-100 position-absolute top-left",
7256
+ class: "w-100 h-100 position-absolute top-left structure-chooser-overlay-svg",
7255
7257
  style: { "z-index": "5" },
7256
7258
  innerHTML: m.value
7257
7259
  }, null, 8, Hr))
@@ -7259,7 +7261,7 @@ const Sr = {
7259
7261
  _: 1
7260
7262
  }));
7261
7263
  }
7262
- }), zr = /* @__PURE__ */ ee(Yr, [["__scopeId", "data-v-45a214c3"]]);
7264
+ }), zr = /* @__PURE__ */ ee(Yr, [["__scopeId", "data-v-84796dea"]]);
7263
7265
  function Pr(l) {
7264
7266
  if (!l)
7265
7267
  return !1;
@@ -7570,7 +7572,8 @@ const Zr = ["innerHTML"], qr = { style: { "z-index": "7" } }, Jr = {
7570
7572
  mobileBreakpoint: { default: 600 },
7571
7573
  version: {},
7572
7574
  showVersion: { type: Boolean, default: !0 },
7573
- showUi: { type: Boolean, default: !0 }
7575
+ showUi: { type: Boolean, default: !0 },
7576
+ activeStructureIds: {}
7574
7577
  },
7575
7578
  emits: ["onClick", "onHoverOver", "onHoverOut", "onMouseMove", "onInitialize", "onError"],
7576
7579
  setup(l, { emit: a }) {
@@ -7590,7 +7593,7 @@ const Zr = ["innerHTML"], qr = { style: { "z-index": "7" } }, Jr = {
7590
7593
  $e,
7591
7594
  i.value ? new Re(i.value) : new Re()
7592
7595
  );
7593
- const c = v(), h = v(), S = v(), b = v(null), y = v(4), Y = v(), O = v(!1), P = v(!1), I = v(), L = B(() => I.value.isHoverEnabled), Z = v({ x: 0, y: 0, width: 0, height: 0 }), R = v(), X = v(), w = v(), A = v(!1), W = v(), N = v({
7596
+ const c = v(), h = v(), S = v(), _ = v(null), y = v(4), Y = v(), O = v(!1), P = v(!1), I = v(), L = B(() => I.value.isHoverEnabled), Z = v({ x: 0, y: 0, width: 0, height: 0 }), R = v(), X = v(), w = v(), A = v(!1), W = v(), N = v({
7594
7597
  current: 100,
7595
7598
  min: 100,
7596
7599
  max: 1e3
@@ -7659,11 +7662,11 @@ const Zr = ["innerHTML"], qr = { style: { "z-index": "7" } }, Jr = {
7659
7662
  );
7660
7663
  }
7661
7664
  function J(V) {
7662
- y.value = V, At(w.value.cameras[y.value]) ? b.value = w.value.cameras[y.value] : (De(() => {
7665
+ y.value = V, At(w.value.cameras[y.value]) ? _.value = w.value.cameras[y.value] : (De(() => {
7663
7666
  re(
7664
7667
  w.value.cameras[y.value]
7665
7668
  );
7666
- }), b.value = null);
7669
+ }), _.value = null);
7667
7670
  }
7668
7671
  function re(V) {
7669
7672
  const ae = h.value;
@@ -7780,9 +7783,9 @@ const Zr = ["innerHTML"], qr = { style: { "z-index": "7" } }, Jr = {
7780
7783
  class: "w-100 h-100 position-relative",
7781
7784
  loading: !O.value || !w.value
7782
7785
  }, {
7783
- default: _(() => [
7786
+ default: b(() => [
7784
7787
  C(Ee, { class: "w-100 h-100" }, {
7785
- default: _(() => [
7788
+ default: b(() => [
7786
7789
  u("div", {
7787
7790
  ref_key: "container",
7788
7791
  ref: X,
@@ -7840,7 +7843,7 @@ const Zr = ["innerHTML"], qr = { style: { "z-index": "7" } }, Jr = {
7840
7843
  position: "relative",
7841
7844
  onUpdate: He
7842
7845
  }, {
7843
- default: _(() => [
7846
+ default: b(() => [
7844
7847
  (d(!0), x(me, null, ye(z.value, (de, ne) => (d(), T(br, {
7845
7848
  key: `camera${ne}`,
7846
7849
  "camera-data": de,
@@ -7853,7 +7856,7 @@ const Zr = ["innerHTML"], qr = { style: { "z-index": "7" } }, Jr = {
7853
7856
  key: `transition${ne}`,
7854
7857
  "transition-data": de,
7855
7858
  "cdn-file-resolver": D(t),
7856
- "current-transition": b.value
7859
+ "current-transition": _.value
7857
7860
  }, null, 8, ["transition-data", "cdn-file-resolver", "current-transition"]))), 128)),
7858
7861
  D(s) ? (d(), x("div", {
7859
7862
  key: 0,
@@ -7867,13 +7870,14 @@ const Zr = ["innerHTML"], qr = { style: { "z-index": "7" } }, Jr = {
7867
7870
  "color-callback": D(o),
7868
7871
  "current-camera": c.value,
7869
7872
  "selected-id": D(m),
7873
+ activeStructureIds: V.activeStructureIds ? V.activeStructureIds : void 0,
7870
7874
  onOnClick: _e,
7871
7875
  onOnHoverOver: ue,
7872
7876
  onOnHoverOut: Le,
7873
7877
  onUpdateSvgContainer: ae[2] || (ae[2] = (de) => R.value = de),
7874
7878
  onOnError: G
7875
- }, null, 8, ["cdn-file-resolver", "color-callback", "current-camera", "selected-id"])), [
7876
- [ke, b.value === null]
7879
+ }, null, 8, ["cdn-file-resolver", "color-callback", "current-camera", "selected-id", "activeStructureIds"])), [
7880
+ [ke, _.value === null]
7877
7881
  ]) : $("", !0)
7878
7882
  ]),
7879
7883
  _: 1
@@ -7907,7 +7911,7 @@ const Zr = ["innerHTML"], qr = { style: { "z-index": "7" } }, Jr = {
7907
7911
  "is-hoverable": L.value,
7908
7912
  pos: Z.value
7909
7913
  }, {
7910
- default: _(() => [
7914
+ default: b(() => [
7911
7915
  u("div", qr, [
7912
7916
  le(V.$slots, "popup", rt(ut({ hoverId: Y.value, hoverable: L.value })), void 0, !0)
7913
7917
  ])
@@ -7929,7 +7933,7 @@ const Zr = ["innerHTML"], qr = { style: { "z-index": "7" } }, Jr = {
7929
7933
  ], 64);
7930
7934
  };
7931
7935
  }
7932
- }), Kr = /* @__PURE__ */ ee(Xr, [["__scopeId", "data-v-b6ee829a"]]), su = {
7936
+ }), Kr = /* @__PURE__ */ ee(Xr, [["__scopeId", "data-v-f751f6b1"]]), su = {
7933
7937
  install: function(a) {
7934
7938
  a.component("VApartmentChooser", yn), a.component("VBuildingChooser", Do), a.component("VVirtualTour", Zi), a.component("VManualSlideShow", pr), a.component("VStructureChooser", Kr);
7935
7939
  }