@qispace/vue3-player 0.1.11 → 0.1.13
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,10 +1,10 @@
|
|
|
1
|
-
var
|
|
2
|
-
var St = (v, t, e) => t in v ?
|
|
1
|
+
var Et = Object.defineProperty;
|
|
2
|
+
var St = (v, t, e) => t in v ? Et(v, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : v[t] = e;
|
|
3
3
|
var ee = (v, t, e) => (St(v, typeof t != "symbol" ? t + "" : t, e), e);
|
|
4
4
|
import { defineComponent as q, ref as r, computed as B, openBlock as p, createElementBlock as F, watch as X, onMounted as ce, onBeforeUnmount as Te, withDirectives as de, createElementVNode as o, normalizeStyle as re, vShow as me, createVNode as b, Fragment as Le, renderList as be, createCommentVNode as $, inject as he, resolveComponent as T, withCtx as M, toDisplayString as z, unref as te, createTextVNode as se, normalizeClass as ye, createBlock as N, renderSlot as ie, provide as Ue, reactive as Ft, watchEffect as qe, resolveDynamicComponent as dt, normalizeProps as vt, guardReactiveProps as mt, mergeProps as ke, nextTick as Bt, createSlots as Ut, Transition as Qe, pushScopeId as Je, popScopeId as et, vModelText as Vt, createStaticVNode as pt, onBeforeUpdate as Dt } from "vue";
|
|
5
5
|
import ht from "axios";
|
|
6
6
|
import * as Tt from "@qispace/player-core";
|
|
7
|
-
import * as
|
|
7
|
+
import * as Ee from "three";
|
|
8
8
|
class Ae {
|
|
9
9
|
static async loadJson(t) {
|
|
10
10
|
return new Ae().loadJson(t);
|
|
@@ -66,7 +66,7 @@ const Rt = /* @__PURE__ */ q({
|
|
|
66
66
|
},
|
|
67
67
|
emits: ["selectUnit", "goToUnit", "hoverOver", "hoverOut", "pos"],
|
|
68
68
|
setup(v, { emit: t }) {
|
|
69
|
-
const e = v, n = t, l = r({ x: 0, y: 0, width: 0, height: 0 }), a = r(0), s = r(0), i = r(), w = r(), h = r(), c = r(), m = r(-1), _ = r(!1),
|
|
69
|
+
const e = v, n = t, l = r({ x: 0, y: 0, width: 0, height: 0 }), a = r(0), s = r(0), i = r(), w = r(), h = r(), c = r(), m = r(-1), _ = r(!1), E = r(), L = r(), k = r({}), S = r("auto"), D = r(new Ae()), f = r({}), I = r(), C = r(), V = r(), u = r(), g = r(), R = B(() => V.value.isHoverEnabled), A = B(() => e.cdnFileResolver(`/scenedata${e.viewModel.currentScene}.png`)), j = B(() => A.value in k.value ? k.value[A.value] : null), Y = B(() => m.value < 0 ? !1 : e.sceneData.find((P) => P.index === m.value) || !1), ue = B(() => ({
|
|
70
70
|
width: a.value + "px",
|
|
71
71
|
height: s.value + "px",
|
|
72
72
|
cursor: S.value
|
|
@@ -136,7 +136,7 @@ const Rt = /* @__PURE__ */ q({
|
|
|
136
136
|
height: s.value
|
|
137
137
|
};
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function x(H) {
|
|
140
140
|
const P = Z(H.offsetX, H.offsetY);
|
|
141
141
|
P < 0 || R && fe(P);
|
|
142
142
|
}
|
|
@@ -168,8 +168,8 @@ const Rt = /* @__PURE__ */ q({
|
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
function Z(H, P) {
|
|
171
|
-
|
|
172
|
-
const oe = u.value.offsetWidth / u.value.width, He = u.value.offsetHeight / u.value.height,
|
|
171
|
+
E.value = H, L.value = P;
|
|
172
|
+
const oe = u.value.offsetWidth / u.value.width, He = u.value.offsetHeight / u.value.height, xe = (H / oe).toFixed(), Ce = (P / He).toFixed(), ve = Number(Ce) * (u.value.width * 4) + Number(xe) * 4, Ze = c.value.data[ve];
|
|
173
173
|
return c.value.data[ve + 3] > 0 ? Ze : -1;
|
|
174
174
|
}
|
|
175
175
|
function K() {
|
|
@@ -178,9 +178,9 @@ const Rt = /* @__PURE__ */ q({
|
|
|
178
178
|
const oe = ne(P.index);
|
|
179
179
|
if (oe) {
|
|
180
180
|
const He = le(P.index);
|
|
181
|
-
let
|
|
182
|
-
!Y.value && e.selectedUnitId && He === e.selectedUnitId ?
|
|
183
|
-
const Ce = e.colorCallback(P.unitId,
|
|
181
|
+
let xe = "idle";
|
|
182
|
+
!Y.value && e.selectedUnitId && He === e.selectedUnitId ? xe = "selected" : Y.value && m.value === P.index && (xe = "hover");
|
|
183
|
+
const Ce = e.colorCallback(P.unitId, xe);
|
|
184
184
|
if (Ce)
|
|
185
185
|
for (let ve = 0; ve < oe.length; ve++)
|
|
186
186
|
h.value.data[oe[ve]] = Ce.r, h.value.data[oe[ve] + 1] = Ce.g, h.value.data[oe[ve] + 2] = Ce.b, h.value.data[oe[ve] + 3] = Ce.a;
|
|
@@ -250,7 +250,7 @@ const Rt = /* @__PURE__ */ q({
|
|
|
250
250
|
ref_key: "canvas",
|
|
251
251
|
ref: u,
|
|
252
252
|
style: re(ue.value),
|
|
253
|
-
onClick:
|
|
253
|
+
onClick: x
|
|
254
254
|
}, null, 4), [
|
|
255
255
|
[me, !H.viewModel.isRotating]
|
|
256
256
|
]),
|
|
@@ -290,7 +290,7 @@ const Rt = /* @__PURE__ */ q({
|
|
|
290
290
|
n("pos", l.value);
|
|
291
291
|
}), X(a, (C, V) => {
|
|
292
292
|
if (C >= 0) {
|
|
293
|
-
const u =
|
|
293
|
+
const u = E(C);
|
|
294
294
|
n("hoverOver", {
|
|
295
295
|
hoverUnit: u,
|
|
296
296
|
closeHandler: () => {
|
|
@@ -298,7 +298,7 @@ const Rt = /* @__PURE__ */ q({
|
|
|
298
298
|
}
|
|
299
299
|
});
|
|
300
300
|
} else {
|
|
301
|
-
const u =
|
|
301
|
+
const u = E(V);
|
|
302
302
|
n("hoverOut", {
|
|
303
303
|
hoverUnit: u,
|
|
304
304
|
closeHandler: () => {
|
|
@@ -334,7 +334,7 @@ const Rt = /* @__PURE__ */ q({
|
|
|
334
334
|
height: h.value.offsetHeight
|
|
335
335
|
};
|
|
336
336
|
}
|
|
337
|
-
function
|
|
337
|
+
function E(C) {
|
|
338
338
|
var V;
|
|
339
339
|
return (V = e.sceneData.find(
|
|
340
340
|
(u) => u.index === (typeof C == "string" ? parseInt(C) : C)
|
|
@@ -347,11 +347,11 @@ const Rt = /* @__PURE__ */ q({
|
|
|
347
347
|
m.value && (a.value = -1);
|
|
348
348
|
}
|
|
349
349
|
function S(C) {
|
|
350
|
-
const V =
|
|
350
|
+
const V = E(C);
|
|
351
351
|
n("selectUnit", V), m.value && V && e.canGoToUnitCallback(V) ? n("goToUnit", V) : a.value = C;
|
|
352
352
|
}
|
|
353
353
|
function D(C) {
|
|
354
|
-
const V =
|
|
354
|
+
const V = E(C);
|
|
355
355
|
let u = "idle";
|
|
356
356
|
a.value < 0 && e.selectedUnitId && V === e.selectedUnitId ? u = "selected" : a.value >= 0 && a.value === C && (u = "hover");
|
|
357
357
|
const g = e.colorCallback(V, u);
|
|
@@ -416,8 +416,8 @@ const Rt = /* @__PURE__ */ q({
|
|
|
416
416
|
}
|
|
417
417
|
}), Nt = /* @__PURE__ */ J(Pt, [["__scopeId", "data-v-7f524ad6"]]), Ye = Symbol(), Yt = {
|
|
418
418
|
key: 0,
|
|
419
|
-
class: "d-none d-md-flex"
|
|
420
|
-
}, Wt = /* @__PURE__ */ q({
|
|
419
|
+
class: "text-success d-none d-md-flex"
|
|
420
|
+
}, Wt = { class: "text-success" }, Gt = /* @__PURE__ */ q({
|
|
421
421
|
__name: "VApartmentChooserNavigation",
|
|
422
422
|
props: {
|
|
423
423
|
canGoToUnitCallback: { type: Function, default: () => !0 },
|
|
@@ -456,7 +456,7 @@ const Rt = /* @__PURE__ */ q({
|
|
|
456
456
|
onClick: c[1] || (c[1] = (_) => s("prevUnit"))
|
|
457
457
|
}, null, 8, ["disabled"]),
|
|
458
458
|
b(m, {
|
|
459
|
-
color: "
|
|
459
|
+
color: "darken-2",
|
|
460
460
|
elevation: "1",
|
|
461
461
|
rounded: "",
|
|
462
462
|
plain: "",
|
|
@@ -465,7 +465,7 @@ const Rt = /* @__PURE__ */ q({
|
|
|
465
465
|
}, {
|
|
466
466
|
default: M(() => [
|
|
467
467
|
n.value && h.canGoToUnitCallback(n.value) ? (p(), F("span", Yt, z(te(i).getLabel("see-apartment")) + " ", 1)) : $("", !0),
|
|
468
|
-
o("span",
|
|
468
|
+
o("span", Wt, z(n.value ? e.unitRenderer(n.value) : "-"), 1)
|
|
469
469
|
]),
|
|
470
470
|
_: 1
|
|
471
471
|
}, 8, ["disabled"]),
|
|
@@ -487,7 +487,7 @@ const Rt = /* @__PURE__ */ q({
|
|
|
487
487
|
]);
|
|
488
488
|
};
|
|
489
489
|
}
|
|
490
|
-
}),
|
|
490
|
+
}), Qt = /* @__PURE__ */ J(Gt, [["__scopeId", "data-v-2c22490f"]]);
|
|
491
491
|
class Ke {
|
|
492
492
|
constructor(t) {
|
|
493
493
|
ee(this, "_numParts");
|
|
@@ -552,7 +552,7 @@ class tt {
|
|
|
552
552
|
);
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
|
-
class
|
|
555
|
+
class qt {
|
|
556
556
|
constructor(t, e) {
|
|
557
557
|
ee(this, "_cardinalFrames");
|
|
558
558
|
ee(this, "_totalFrameCount");
|
|
@@ -572,20 +572,20 @@ class Qt {
|
|
|
572
572
|
return this._cardinalFrames[t];
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
|
-
const
|
|
575
|
+
const zt = {
|
|
576
576
|
key: 0,
|
|
577
577
|
class: "fill-parent d-flex justify-center align-center blue-grey lighten-5"
|
|
578
|
-
},
|
|
578
|
+
}, Zt = {
|
|
579
579
|
key: 1,
|
|
580
580
|
class: "frame-container"
|
|
581
|
-
},
|
|
581
|
+
}, Xt = {
|
|
582
582
|
key: 0,
|
|
583
583
|
class: "frame-image"
|
|
584
|
-
},
|
|
584
|
+
}, Kt = ["srcset"], Jt = ["src"], eo = {
|
|
585
585
|
key: 2,
|
|
586
586
|
id: "image-stack",
|
|
587
587
|
class: "frame-container"
|
|
588
|
-
},
|
|
588
|
+
}, to = ["alt"], oo = ["srcset"], no = ["src"], rt = 64, je = 4, ao = 120, lo = /* @__PURE__ */ q({
|
|
589
589
|
__name: "VApartmentChooserRotator",
|
|
590
590
|
props: {
|
|
591
591
|
viewModel: {},
|
|
@@ -595,10 +595,10 @@ const qt = {
|
|
|
595
595
|
},
|
|
596
596
|
emits: ["loaded", "error", "progress"],
|
|
597
597
|
setup(v, { emit: t }) {
|
|
598
|
-
const e = v, n = t, l =
|
|
598
|
+
const e = v, n = t, l = E(), a = r(
|
|
599
599
|
new Ke(l.length).onLoadFinished(() => n("loaded")).onLoadProgress((D) => n("progress", D)).onLoadError(() => n("error"))
|
|
600
600
|
), s = r(
|
|
601
|
-
new
|
|
601
|
+
new qt(e.cardinalFrames, rt)
|
|
602
602
|
), i = r(l), w = r(!1), h = B(() => i.value.find((D) => D.show));
|
|
603
603
|
X(
|
|
604
604
|
() => e.viewModel.currentScene,
|
|
@@ -623,7 +623,7 @@ const qt = {
|
|
|
623
623
|
i.value[D.frameIndex].show = !1;
|
|
624
624
|
const f = D.nextFrame();
|
|
625
625
|
i.value[f.frameIndex].show = !0, f.atEnd ? _() : window.requestAnimationFrame(() => m(f));
|
|
626
|
-
}, 1e3 /
|
|
626
|
+
}, 1e3 / ao);
|
|
627
627
|
}
|
|
628
628
|
function _() {
|
|
629
629
|
const D = s.value.startFrameIndexForScene(
|
|
@@ -631,7 +631,7 @@ const qt = {
|
|
|
631
631
|
);
|
|
632
632
|
D in i.value && (i.value[D].show = !0), e.viewModel.isRotating = !1;
|
|
633
633
|
}
|
|
634
|
-
function
|
|
634
|
+
function E() {
|
|
635
635
|
const D = [];
|
|
636
636
|
for (let f = 0; f < rt; f++) {
|
|
637
637
|
const { sourceSet: I, defaultPath: C } = L(f);
|
|
@@ -667,14 +667,14 @@ const qt = {
|
|
|
667
667
|
return (D, f) => {
|
|
668
668
|
const I = T("v-icon");
|
|
669
669
|
return p(), F("div", null, [
|
|
670
|
-
a.value.isError ? (p(), F("div",
|
|
670
|
+
a.value.isError ? (p(), F("div", zt, [
|
|
671
671
|
b(I, { "x-large": "" }, {
|
|
672
672
|
default: M(() => [
|
|
673
673
|
se("mdi-alert-circle-outline")
|
|
674
674
|
]),
|
|
675
675
|
_: 1
|
|
676
676
|
})
|
|
677
|
-
])) : w.value ? (p(), F("div",
|
|
677
|
+
])) : w.value ? (p(), F("div", eo, [
|
|
678
678
|
(p(!0), F(Le, null, be(i.value, (C) => (p(), F("picture", {
|
|
679
679
|
key: C.index,
|
|
680
680
|
alt: C.index,
|
|
@@ -683,31 +683,31 @@ const qt = {
|
|
|
683
683
|
o("source", {
|
|
684
684
|
srcset: C.sourceSet,
|
|
685
685
|
type: "image/jpeg"
|
|
686
|
-
}, null, 8,
|
|
686
|
+
}, null, 8, oo),
|
|
687
687
|
o("img", {
|
|
688
688
|
src: C.defaultPath,
|
|
689
689
|
alt: "Building image",
|
|
690
690
|
onLoad: f[2] || (f[2] = (V) => a.value.partLoaded()),
|
|
691
691
|
onError: f[3] || (f[3] = (V) => a.value.errorDetected())
|
|
692
|
-
}, null, 40,
|
|
693
|
-
], 10,
|
|
694
|
-
])) : (p(), F("div",
|
|
695
|
-
h.value ? (p(), F("picture",
|
|
692
|
+
}, null, 40, no)
|
|
693
|
+
], 10, to))), 128))
|
|
694
|
+
])) : (p(), F("div", Zt, [
|
|
695
|
+
h.value ? (p(), F("picture", Xt, [
|
|
696
696
|
o("source", {
|
|
697
697
|
srcset: h.value.sourceSet,
|
|
698
698
|
type: "image/jpeg"
|
|
699
|
-
}, null, 8,
|
|
699
|
+
}, null, 8, Kt),
|
|
700
700
|
o("img", {
|
|
701
701
|
src: h.value.defaultPath,
|
|
702
702
|
onLoad: f[0] || (f[0] = (C) => w.value = !0),
|
|
703
703
|
onError: f[1] || (f[1] = (C) => a.value.errorDetected())
|
|
704
|
-
}, null, 40,
|
|
704
|
+
}, null, 40, Jt)
|
|
705
705
|
])) : $("", !0)
|
|
706
706
|
]))
|
|
707
707
|
]);
|
|
708
708
|
};
|
|
709
709
|
}
|
|
710
|
-
}),
|
|
710
|
+
}), io = /* @__PURE__ */ J(lo, [["__scopeId", "data-v-66e34700"]]), so = /* @__PURE__ */ q({
|
|
711
711
|
__name: "VFloatingCard",
|
|
712
712
|
props: {
|
|
713
713
|
pos: {},
|
|
@@ -747,7 +747,7 @@ const qt = {
|
|
|
747
747
|
}, 8, ["origin"]);
|
|
748
748
|
};
|
|
749
749
|
}
|
|
750
|
-
}), ot = /* @__PURE__ */ J(
|
|
750
|
+
}), ot = /* @__PURE__ */ J(so, [["__scopeId", "data-v-0695e74f"]]), ro = /* @__PURE__ */ q({
|
|
751
751
|
__name: "VZoomBox",
|
|
752
752
|
props: {
|
|
753
753
|
desktop: { type: Boolean, default: !0 },
|
|
@@ -758,8 +758,8 @@ const qt = {
|
|
|
758
758
|
},
|
|
759
759
|
emits: ["update"],
|
|
760
760
|
setup(v, { emit: t }) {
|
|
761
|
-
const e = v, n = t, l = r(100), a = r(0), s = r(0), i = r(!1), w = r(!1), h = r(void 0), c = r(!1), m = r(), _ = B(() => `translateX(${a.value}px) translateY(${s.value}px) scale(${
|
|
762
|
-
X([
|
|
761
|
+
const e = v, n = t, l = r(100), a = r(0), s = r(0), i = r(!1), w = r(!1), h = r(void 0), c = r(!1), m = r(), _ = B(() => `translateX(${a.value}px) translateY(${s.value}px) scale(${E.value})`), E = B(() => l.value / 100), L = B(() => e.maxScale * 100);
|
|
762
|
+
X([E, a, s], () => {
|
|
763
763
|
G();
|
|
764
764
|
}), X(
|
|
765
765
|
() => e.desktop,
|
|
@@ -824,86 +824,86 @@ const qt = {
|
|
|
824
824
|
capture: !0
|
|
825
825
|
});
|
|
826
826
|
}
|
|
827
|
-
function I(
|
|
828
|
-
const { x: W, y: Z } = Y(
|
|
829
|
-
U(-
|
|
827
|
+
function I(x) {
|
|
828
|
+
const { x: W, y: Z } = Y(x);
|
|
829
|
+
U(-x.deltaY / 10, W, Z), x.preventDefault();
|
|
830
830
|
}
|
|
831
|
-
function C(
|
|
832
|
-
i.value = !0, c.value = !1, h.value =
|
|
831
|
+
function C(x) {
|
|
832
|
+
i.value = !0, c.value = !1, h.value = x;
|
|
833
833
|
}
|
|
834
|
-
function V(
|
|
834
|
+
function V(x) {
|
|
835
835
|
if (i.value) {
|
|
836
|
-
const { x: W, y: Z } = Y(
|
|
836
|
+
const { x: W, y: Z } = Y(x), { x: K, y: ne } = Y(h.value), le = {
|
|
837
837
|
x: W - K,
|
|
838
838
|
y: Z - ne
|
|
839
839
|
};
|
|
840
|
-
ue(le.x), y(le.y), c.value = !0, h.value =
|
|
840
|
+
ue(le.x), y(le.y), c.value = !0, h.value = x;
|
|
841
841
|
}
|
|
842
842
|
}
|
|
843
|
-
function u(
|
|
844
|
-
i.value && c.value && e.consumeMouseUpWhenMoved && (
|
|
843
|
+
function u(x) {
|
|
844
|
+
i.value && c.value && e.consumeMouseUpWhenMoved && (x.preventDefault(), x.stopImmediatePropagation());
|
|
845
845
|
}
|
|
846
|
-
function g(
|
|
847
|
-
i.value && (c.value && e.consumeMouseClickWhenMoved && (
|
|
846
|
+
function g(x) {
|
|
847
|
+
i.value && (c.value && e.consumeMouseClickWhenMoved && (x.preventDefault(), x.stopImmediatePropagation()), i.value = !1);
|
|
848
848
|
}
|
|
849
|
-
function R(
|
|
850
|
-
i.value =
|
|
849
|
+
function R(x) {
|
|
850
|
+
i.value = x.touches.length === 1, w.value = x.touches.length === 2, h.value = x;
|
|
851
851
|
}
|
|
852
|
-
function A(
|
|
852
|
+
function A(x) {
|
|
853
853
|
if (i.value) {
|
|
854
|
-
const { x: W, y: Z } = Y(
|
|
854
|
+
const { x: W, y: Z } = Y(x.touches[0]), { x: K, y: ne } = Y(h.value.touches[0]), le = {
|
|
855
855
|
x: W - K,
|
|
856
856
|
y: Z - ne
|
|
857
857
|
};
|
|
858
858
|
ue(le.x), y(le.y);
|
|
859
|
-
} else if (w.value &&
|
|
860
|
-
const { x: W, y: Z } = Y(
|
|
859
|
+
} else if (w.value && x.touches.length === 2) {
|
|
860
|
+
const { x: W, y: Z } = Y(x.touches[0]), { x: K, y: ne } = Y(h.value.touches[0]), { x: le, y: pe } = Y(x.touches[1]), { x: fe, y: ge } = Y(h.value.touches[1]), we = Math.hypot(K - fe, ne - ge), _e = Math.hypot(W - le, Z - pe), Oe = (le + W) / 2, Ie = (pe + Z) / 2;
|
|
861
861
|
U(_e - we, Oe, Ie);
|
|
862
862
|
}
|
|
863
|
-
h.value =
|
|
863
|
+
h.value = x;
|
|
864
864
|
}
|
|
865
865
|
function j() {
|
|
866
866
|
i.value = !1, w.value = !1;
|
|
867
867
|
}
|
|
868
|
-
function Y(
|
|
868
|
+
function Y(x) {
|
|
869
869
|
const { left: W, top: Z } = m.value.getBoundingClientRect();
|
|
870
870
|
return {
|
|
871
|
-
x:
|
|
872
|
-
y:
|
|
871
|
+
x: x.clientX - W,
|
|
872
|
+
y: x.clientY - Z
|
|
873
873
|
};
|
|
874
874
|
}
|
|
875
|
-
function ue(
|
|
876
|
-
const W = m.value.clientWidth, Z = W *
|
|
875
|
+
function ue(x) {
|
|
876
|
+
const W = m.value.clientWidth, Z = W * E.value;
|
|
877
877
|
a.value = Math.max(
|
|
878
|
-
Math.min(0, a.value +
|
|
878
|
+
Math.min(0, a.value + x),
|
|
879
879
|
-(Z - W)
|
|
880
880
|
);
|
|
881
881
|
}
|
|
882
|
-
function y(
|
|
883
|
-
const W = m.value.clientHeight, Z = W *
|
|
882
|
+
function y(x) {
|
|
883
|
+
const W = m.value.clientHeight, Z = W * E.value;
|
|
884
884
|
s.value = Math.max(
|
|
885
|
-
Math.min(0, s.value +
|
|
885
|
+
Math.min(0, s.value + x),
|
|
886
886
|
-(Z - W)
|
|
887
887
|
);
|
|
888
888
|
}
|
|
889
|
-
function U(
|
|
890
|
-
const K = m.value.clientWidth, ne = m.value.clientHeight, le = K *
|
|
891
|
-
l.value = Math.min(Math.max(100, l.value +
|
|
892
|
-
const fe = K *
|
|
889
|
+
function U(x, W, Z) {
|
|
890
|
+
const K = m.value.clientWidth, ne = m.value.clientHeight, le = K * E.value, pe = ne * E.value;
|
|
891
|
+
l.value = Math.min(Math.max(100, l.value + x), L.value);
|
|
892
|
+
const fe = K * E.value, ge = ne * E.value, we = fe - le, _e = ge - pe;
|
|
893
893
|
a.value -= W / K * we, s.value -= Z / ne * _e, ue(0), y(0);
|
|
894
894
|
}
|
|
895
895
|
function G() {
|
|
896
896
|
n("update", {
|
|
897
|
-
scale:
|
|
897
|
+
scale: E.value,
|
|
898
898
|
x: a.value,
|
|
899
899
|
y: s.value,
|
|
900
|
-
resolve: (
|
|
901
|
-
const Z = m.value.clientWidth, K = m.value.clientHeight, ne = a.value / -
|
|
900
|
+
resolve: (x, W) => {
|
|
901
|
+
const Z = m.value.clientWidth, K = m.value.clientHeight, ne = a.value / -E.value, le = s.value / -E.value, pe = ne + Z / E.value, fe = le + K / E.value, ge = x / Z * (pe - ne) + ne, we = W / K * (fe - le) + le;
|
|
902
902
|
return { x: ge, y: we };
|
|
903
903
|
}
|
|
904
904
|
});
|
|
905
905
|
}
|
|
906
|
-
return (
|
|
906
|
+
return (x, W) => (p(), F("div", {
|
|
907
907
|
ref_key: "box",
|
|
908
908
|
ref: m,
|
|
909
909
|
class: "zoom-box-container"
|
|
@@ -912,18 +912,18 @@ const qt = {
|
|
|
912
912
|
style: re({ "transform-origin": "top left", transform: _.value }),
|
|
913
913
|
class: "zoom-box"
|
|
914
914
|
}, [
|
|
915
|
-
ie(
|
|
915
|
+
ie(x.$slots, "default", {}, void 0, !0)
|
|
916
916
|
], 4)
|
|
917
917
|
], 512));
|
|
918
918
|
}
|
|
919
|
-
}), nt = /* @__PURE__ */ J(
|
|
919
|
+
}), nt = /* @__PURE__ */ J(ro, [["__scopeId", "data-v-52f62ef2"]]), at = 4;
|
|
920
920
|
function ft(v) {
|
|
921
921
|
return v < at ? v + 1 : 1;
|
|
922
922
|
}
|
|
923
|
-
function
|
|
923
|
+
function uo(v) {
|
|
924
924
|
return v > 1 ? v - 1 : at;
|
|
925
925
|
}
|
|
926
|
-
class
|
|
926
|
+
class co {
|
|
927
927
|
constructor(t) {
|
|
928
928
|
ee(this, "_state");
|
|
929
929
|
this._state = {
|
|
@@ -953,11 +953,11 @@ class uo {
|
|
|
953
953
|
}
|
|
954
954
|
rotateClockwise() {
|
|
955
955
|
this.unlessRotatingDo(() => {
|
|
956
|
-
this.currentScene =
|
|
956
|
+
this.currentScene = uo(this.currentScene);
|
|
957
957
|
});
|
|
958
958
|
}
|
|
959
959
|
}
|
|
960
|
-
const
|
|
960
|
+
const vo = {
|
|
961
961
|
// virtual tour default labels
|
|
962
962
|
interior: "Interiør",
|
|
963
963
|
seeASelectionOfTheOptionsInTheProject: "Se et utvalg av tilvalgsmulighetene i prosjektet.",
|
|
@@ -1016,7 +1016,7 @@ class Me {
|
|
|
1016
1016
|
constructor({ labels: t, language: e } = { labels: null, language: null }) {
|
|
1017
1017
|
ee(this, "_labels");
|
|
1018
1018
|
ee(this, "_language");
|
|
1019
|
-
this._labels = { ...
|
|
1019
|
+
this._labels = { ...vo, ...t || {} }, this._language = e || "en";
|
|
1020
1020
|
}
|
|
1021
1021
|
getLabel(t) {
|
|
1022
1022
|
return t in this._labels ? this.get(this._labels[t]) : t;
|
|
@@ -1032,10 +1032,10 @@ class Me {
|
|
|
1032
1032
|
return "";
|
|
1033
1033
|
}
|
|
1034
1034
|
}
|
|
1035
|
-
const
|
|
1035
|
+
const mo = { key: 0 }, po = { class: "interactive-viewer" }, ho = { class: "fill-parent" }, fo = { key: 0 }, go = {
|
|
1036
1036
|
key: 1,
|
|
1037
1037
|
class: "navigation"
|
|
1038
|
-
},
|
|
1038
|
+
}, wo = { key: 2 }, ko = 4, yo = /* @__PURE__ */ q({
|
|
1039
1039
|
__name: "VApartmentChooser",
|
|
1040
1040
|
props: {
|
|
1041
1041
|
i18nConfig: {},
|
|
@@ -1061,14 +1061,14 @@ const vo = { key: 0 }, mo = { class: "interactive-viewer" }, po = { class: "fill
|
|
|
1061
1061
|
Ye,
|
|
1062
1062
|
n.i18nConfig ? new Me(n.i18nConfig) : new Me()
|
|
1063
1063
|
);
|
|
1064
|
-
const a = Ft({ isReady: !1, isError: !1 }), s = r(), i = r(), w = r(), h = r(), c = r({ x: 0, y: 0, width: 0, height: 0 }), m = r(), _ = r(),
|
|
1064
|
+
const a = Ft({ isReady: !1, isError: !1 }), s = r(), i = r(), w = r(), h = r(), c = r({ x: 0, y: 0, width: 0, height: 0 }), m = r(), _ = r(), E = r(), L = B(() => E.value.isHoverEnabled), k = B(() => n.useSvg ? Nt : $t), S = B(() => n.selectedUnitId), D = B(() => n.nextUnitId), f = B(() => n.prevUnitId);
|
|
1065
1065
|
qe(() => {
|
|
1066
1066
|
if (S.value && h.value) {
|
|
1067
1067
|
const u = s.value[S.value];
|
|
1068
1068
|
u && (h.value.currentScene = u);
|
|
1069
1069
|
}
|
|
1070
1070
|
}), ce(async () => {
|
|
1071
|
-
const u = n.apartmentChooserData && n.apartmentChooserData.startScene !== void 0 ? n.apartmentChooserData.startScene :
|
|
1071
|
+
const u = n.apartmentChooserData && n.apartmentChooserData.startScene !== void 0 ? n.apartmentChooserData.startScene : ko;
|
|
1072
1072
|
w.value = n.apartmentChooserData && n.apartmentChooserData.scenes !== void 0 ? n.apartmentChooserData.scenes : e, i.value = n.apartmentChooserData && n.apartmentChooserData.sceneData !== void 0 ? n.apartmentChooserData.sceneData.map((A) => ({
|
|
1073
1073
|
unitId: A.apartmentID,
|
|
1074
1074
|
index: A.index
|
|
@@ -1083,13 +1083,13 @@ const vo = { key: 0 }, mo = { class: "interactive-viewer" }, po = { class: "fill
|
|
|
1083
1083
|
return A.sort((y, U) => {
|
|
1084
1084
|
const G = ue.findIndex(
|
|
1085
1085
|
(W) => W === s.value[y[j]]
|
|
1086
|
-
),
|
|
1086
|
+
), x = ue.findIndex(
|
|
1087
1087
|
(W) => W === s.value[U[j]]
|
|
1088
1088
|
);
|
|
1089
|
-
return G <
|
|
1089
|
+
return G < x ? -1 : G > x ? 1 : 0;
|
|
1090
1090
|
}), A;
|
|
1091
1091
|
}, R = (A) => {
|
|
1092
|
-
h.value = new
|
|
1092
|
+
h.value = new co(A);
|
|
1093
1093
|
};
|
|
1094
1094
|
l("initialized", {
|
|
1095
1095
|
scene: u,
|
|
@@ -1111,15 +1111,15 @@ const vo = { key: 0 }, mo = { class: "interactive-viewer" }, po = { class: "fill
|
|
|
1111
1111
|
}
|
|
1112
1112
|
return (u, g) => {
|
|
1113
1113
|
const R = T("v-progress-linear");
|
|
1114
|
-
return h.value ? (p(), F("div",
|
|
1115
|
-
o("div",
|
|
1116
|
-
o("div",
|
|
1114
|
+
return h.value ? (p(), F("div", mo, [
|
|
1115
|
+
o("div", po, [
|
|
1116
|
+
o("div", ho, [
|
|
1117
1117
|
b(nt, {
|
|
1118
1118
|
desktop: a.isReady && u.interactiveDesktop,
|
|
1119
1119
|
mobile: a.isReady && u.interactiveMobile
|
|
1120
1120
|
}, {
|
|
1121
1121
|
default: M(() => [
|
|
1122
|
-
b(
|
|
1122
|
+
b(io, {
|
|
1123
1123
|
"cdn-file-resolver": u.cdnFileResolver,
|
|
1124
1124
|
"view-model": h.value,
|
|
1125
1125
|
"cardinal-frames": w.value,
|
|
@@ -1128,7 +1128,7 @@ const vo = { key: 0 }, mo = { class: "interactive-viewer" }, po = { class: "fill
|
|
|
1128
1128
|
onLoaded: g[1] || (g[1] = (A) => a.isReady = !0),
|
|
1129
1129
|
onError: g[2] || (g[2] = (A) => a.isError = !0)
|
|
1130
1130
|
}, null, 8, ["cdn-file-resolver", "view-model", "cardinal-frames", "build"]),
|
|
1131
|
-
a.isReady ? (p(), F("div",
|
|
1131
|
+
a.isReady ? (p(), F("div", fo, [
|
|
1132
1132
|
(p(), N(dt(k.value), {
|
|
1133
1133
|
"cdn-file-resolver": u.cdnFileResolver,
|
|
1134
1134
|
"view-model": h.value,
|
|
@@ -1170,19 +1170,19 @@ const vo = { key: 0 }, mo = { class: "interactive-viewer" }, po = { class: "fill
|
|
|
1170
1170
|
]),
|
|
1171
1171
|
_: 3
|
|
1172
1172
|
}, 8, ["is-hoverable", "pos", "onOutside"])) : $("", !0),
|
|
1173
|
-
a.isReady ? (p(), F("div",
|
|
1174
|
-
b(
|
|
1173
|
+
a.isReady ? (p(), F("div", go, [
|
|
1174
|
+
b(Qt, {
|
|
1175
1175
|
"can-go-to-unit-callback": u.canGoToUnitCallback,
|
|
1176
1176
|
"unit-renderer": u.unitRenderer,
|
|
1177
|
-
"selected-unit": S.value,
|
|
1178
|
-
"prev-unit": f.value,
|
|
1179
|
-
"next-unit": D.value,
|
|
1177
|
+
"selected-unit-id": S.value,
|
|
1178
|
+
"prev-unit-id": f.value,
|
|
1179
|
+
"next-unit-id": D.value,
|
|
1180
1180
|
"view-model": h.value,
|
|
1181
1181
|
onGoToUnit: g[5] || (g[5] = (A) => l("goToUnit", A)),
|
|
1182
1182
|
onPrevUnit: g[6] || (g[6] = (A) => l("navUnit", f.value)),
|
|
1183
1183
|
onNextUnit: g[7] || (g[7] = (A) => l("navUnit", D.value))
|
|
1184
|
-
}, null, 8, ["can-go-to-unit-callback", "unit-renderer", "selected-unit", "prev-unit", "next-unit", "view-model"])
|
|
1185
|
-
])) : a.isError ? $("", !0) : (p(), F("div",
|
|
1184
|
+
}, null, 8, ["can-go-to-unit-callback", "unit-renderer", "selected-unit-id", "prev-unit-id", "next-unit-id", "view-model"])
|
|
1185
|
+
])) : a.isError ? $("", !0) : (p(), F("div", wo, [
|
|
1186
1186
|
b(R, {
|
|
1187
1187
|
indeterminate: !a.progress,
|
|
1188
1188
|
modelValue: a.progress,
|
|
@@ -1193,12 +1193,12 @@ const vo = { key: 0 }, mo = { class: "interactive-viewer" }, po = { class: "fill
|
|
|
1193
1193
|
]),
|
|
1194
1194
|
b(Ne, {
|
|
1195
1195
|
ref_key: "hoverProbe",
|
|
1196
|
-
ref:
|
|
1196
|
+
ref: E
|
|
1197
1197
|
}, null, 512)
|
|
1198
1198
|
])) : $("", !0);
|
|
1199
1199
|
};
|
|
1200
1200
|
}
|
|
1201
|
-
}),
|
|
1201
|
+
}), bo = /* @__PURE__ */ J(yo, [["__scopeId", "data-v-b0fb223d"]]), _o = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAYAAACPZlfNAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA6ySURBVHgB7Z3Nb1TVG8efQstLActbIBAI8wsJBgLxZ+KeaVy5EVgZo4klceOKstCdYdQ/gLLSjQESjEvBjTs7Ju40AQMBIQEvgUAgvLRCWlpax/O9c56b09N7Z87bPTNT+SSHTqftMHO+93nO955Xolf0FH3UwzQajYr4wmVIlPUFvzohyqQoCR739fVdoh6lJwQTwkCI/4vyhihV+bhCfkC0RH79BV+FkBPU5XStYEKkKjXFOSi/xqBOTQEvCPHq1IV0lWBSpEOijFBxeotFQk0BT/VyCg0O0p0ox0QZb3QvF0X5iLqAjkVYo9kujYpyjDofTaYkopwV5YyIuoQ6QHTBelQonYSawo31glFxRog1KsrTxtLhr0bkVBklwsSHgg0/SfHcXmwSUYZjpMllVDJCrJr4cpGWrligIspf8rOWSmkR1mj2QpympS1UHgmVGG2lCCbEOkxNsUozFXNzczQ7O0vT09M0MzOTlpSbN2nT99+nDx+//z7R7t3p45UrV6ZlxYoVtHr1aurv76cSSUQ5LkQ7T4EJ/q5lWjhBgYEgExMTNDU1Rc+fP0/FymPVgwf02u+/p4+n3n6bXmzYkPt7EA3irV+/ntatW5eKGZCKKD+IuvhCiFajgAQVTLzBMWra9SBApMePH6dCIZJagQpfvnw5rRwczJ4bFKIMCDEgbhaBErweyuTkZPo9BIRwW7ZsCSneCVEnQ0K04xSIIII1mvdWP1Cg9goCPRCRgkjSQWWuXbuWBoUwHCVqBb8Uf/O3fLxj504a2LMn+9n8/HwaoRDq2bNnWToFLODDhw/T19+0aRNt3ryZAjAq2/OjIe7ZvAWTYo1TswfdGbRJqCwUVKwKrnykrqGhIa+rHxGI1+JIAog+iIdIxleACwXl/v37tG3bthDC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3el30ffJQEp984dhmgeM2k3iB9XIjeVx7jRyAc1JF4zMluz3asFIH7zHvdEGPvbZqLkffO52BiZwrb6qtJ6/zKXd5Z0oGOjM5KGirsO+8uo7Ao71ixmzaLRXnU2ZxSqrcQadKDuADowebnWPgM5O9yTutne8vPffYOu9z1L3vOc5HyOPgbY62ojOTIRwqKdYWE0WntXOfYIC9IXF75OQBGC/BZAcxXI7XaemtDrsGmMeHn5chHv4vRBOKGk0g8JHFEKuzR9sDRTScmn6YPFCFUxdboCK5MhGVSEkQD0M6eIyKNYEvBCxIQMFr5q1xK+G09rooR3zFAt6CAflGjuAEcHIwIjosHE85QMXyqg88h6JPEYeQKAPCIPA+THfF/dK0EBXprd3iQ4gPgTZu3Bg6ijFc4pUGVYIIxkgjAvFqFAAIoHYi88wsjhIVFnKVeJ4Fm5qephcFa9ggClIthMJevCW1kzVXN1hEUMGAtPyYvI9oq1AgIB5HHkDUQDRe8pRF0Nat2ZS2NSKtrZG/j7/nRRz4WvJOdLhoj7rcZ7XD6uBtG+QJfzAjFfpvUaemWAmVQGk74eANi/I/CpQeewSkwOGyxAKlRZjKfyDa6tTsFzReY+dKlL2mlGiDW0po6YC2alRGVeligSgRpiL7IHFG2Qj1bsRBKEydOBXi3sqG6IIxyrHDI9Q7wnVMqK4Ch6SKcrHRvYyLcqzR5hTzGHQswvJoNHv/kS6r1PmoQwSdoWbvuvHK1LLpKsFUhHg4vAd9k85DOA7UuXSTSCpdK5iKTEU44adKTQEr5DE6IEmo2YNel1//6IV2qScEK0KmUHQdVqg5nbyojZmQJaHmLKXb9IpXxOBfKqW3YKRX2kIAAAAASUVORK5CYII=", lt = /* @__PURE__ */ q({
|
|
1202
1202
|
__name: "VNorthDirection",
|
|
1203
1203
|
props: {
|
|
1204
1204
|
longitude: {}
|
|
@@ -1211,15 +1211,15 @@ const vo = { key: 0 }, mo = { class: "interactive-viewer" }, po = { class: "fill
|
|
|
1211
1211
|
return (n, l) => {
|
|
1212
1212
|
const a = T("v-img");
|
|
1213
1213
|
return p(), N(a, {
|
|
1214
|
-
src: te(
|
|
1214
|
+
src: te(_o),
|
|
1215
1215
|
style: re(e.value)
|
|
1216
1216
|
}, null, 8, ["src", "style"]);
|
|
1217
1217
|
};
|
|
1218
1218
|
}
|
|
1219
|
-
}),
|
|
1219
|
+
}), Co = { class: "sunsim-bar-wrapper" }, Ao = { class: "sunsim-date d-flex align-center pl-5 pr-5" }, Lo = {
|
|
1220
1220
|
key: 1,
|
|
1221
1221
|
class: "text-center text-body-1"
|
|
1222
|
-
},
|
|
1222
|
+
}, Io = { class: "sunsim-wrapper d-flex align-center px-3" }, Mo = { class: "sunsim-time-label text-body-1 font-weight-normal ml-2" }, xo = /* @__PURE__ */ q({
|
|
1223
1223
|
__name: "VBuildingChooserSunSimControl",
|
|
1224
1224
|
props: {
|
|
1225
1225
|
modelValue: {},
|
|
@@ -1258,15 +1258,15 @@ const vo = { key: 0 }, mo = { class: "interactive-viewer" }, po = { class: "fill
|
|
|
1258
1258
|
), qe(() => {
|
|
1259
1259
|
a.value = s(e.dateSelector.selectedDate);
|
|
1260
1260
|
}), (c, m) => {
|
|
1261
|
-
const _ = T("v-icon"),
|
|
1262
|
-
return p(), F("div",
|
|
1263
|
-
o("div",
|
|
1261
|
+
const _ = T("v-icon"), E = T("v-select"), L = T("v-progress-linear"), k = T("v-slider");
|
|
1262
|
+
return p(), F("div", Co, [
|
|
1263
|
+
o("div", Ao, [
|
|
1264
1264
|
b(_, {
|
|
1265
1265
|
color: "black",
|
|
1266
1266
|
class: "mr-2",
|
|
1267
1267
|
icon: "mdi-calendar-blank-outline"
|
|
1268
1268
|
}),
|
|
1269
|
-
c.dateSelector.hasMultipleDates ? (p(), N(
|
|
1269
|
+
c.dateSelector.hasMultipleDates ? (p(), N(E, {
|
|
1270
1270
|
key: 0,
|
|
1271
1271
|
modelValue: a.value,
|
|
1272
1272
|
"onUpdate:modelValue": m[0] || (m[0] = (S) => a.value = S),
|
|
@@ -1275,10 +1275,10 @@ const vo = { key: 0 }, mo = { class: "interactive-viewer" }, po = { class: "fill
|
|
|
1275
1275
|
variant: "underlined",
|
|
1276
1276
|
"hide-details": "",
|
|
1277
1277
|
class: "day-selector"
|
|
1278
|
-
}, null, 8, ["modelValue", "items"])) : (p(), F("span",
|
|
1278
|
+
}, null, 8, ["modelValue", "items"])) : (p(), F("span", Lo, z(h.value), 1))
|
|
1279
1279
|
]),
|
|
1280
|
-
o("div",
|
|
1281
|
-
o("span",
|
|
1280
|
+
o("div", Io, [
|
|
1281
|
+
o("span", Mo, z(i.value), 1),
|
|
1282
1282
|
b(_, {
|
|
1283
1283
|
medium: "",
|
|
1284
1284
|
class: "ml-2 mr-2 icon"
|
|
@@ -1314,7 +1314,7 @@ const vo = { key: 0 }, mo = { class: "interactive-viewer" }, po = { class: "fill
|
|
|
1314
1314
|
]);
|
|
1315
1315
|
};
|
|
1316
1316
|
}
|
|
1317
|
-
}), gt = /* @__PURE__ */ J(
|
|
1317
|
+
}), gt = /* @__PURE__ */ J(xo, [["__scopeId", "data-v-0d8001a3"]]), Eo = { key: 0 }, So = ["src"], Fo = /* @__PURE__ */ q({
|
|
1318
1318
|
__name: "VBuildingChooserSceneImageStack",
|
|
1319
1319
|
props: {
|
|
1320
1320
|
imageUrls: {},
|
|
@@ -1359,15 +1359,15 @@ const vo = { key: 0 }, mo = { class: "interactive-viewer" }, po = { class: "fill
|
|
|
1359
1359
|
key: _,
|
|
1360
1360
|
class: ye({ "image-instance": !0, active: _ === h.activeIndex }),
|
|
1361
1361
|
src: m,
|
|
1362
|
-
onLoad: c[0] || (c[0] = (
|
|
1363
|
-
}, null, 42,
|
|
1362
|
+
onLoad: c[0] || (c[0] = (E) => a.value.partLoaded())
|
|
1363
|
+
}, null, 42, So))), 128)),
|
|
1364
1364
|
se(" Here ")
|
|
1365
1365
|
], 512)), [
|
|
1366
1366
|
[me, l.value === "loaded"]
|
|
1367
1367
|
]) : $("", !0)
|
|
1368
1368
|
]));
|
|
1369
1369
|
}
|
|
1370
|
-
}), wt = /* @__PURE__ */ J(
|
|
1370
|
+
}), wt = /* @__PURE__ */ J(Fo, [["__scopeId", "data-v-1dc6128e"]]), Bo = "buildingChooser.json", Uo = 180;
|
|
1371
1371
|
class kt {
|
|
1372
1372
|
constructor(t) {
|
|
1373
1373
|
ee(this, "_cdnFileResolver");
|
|
@@ -1378,7 +1378,7 @@ class kt {
|
|
|
1378
1378
|
return this._cdnFileResolver ? this._cdnFileResolver(`/${t}`) : null;
|
|
1379
1379
|
}
|
|
1380
1380
|
loadConfigFile() {
|
|
1381
|
-
const t = this.constructFileUrl(
|
|
1381
|
+
const t = this.constructFileUrl(Bo);
|
|
1382
1382
|
return t ? this._resourceLoader.loadJson(t) : null;
|
|
1383
1383
|
}
|
|
1384
1384
|
loadBuildingMapImage(t) {
|
|
@@ -1397,7 +1397,7 @@ class kt {
|
|
|
1397
1397
|
}
|
|
1398
1398
|
getBackgroundImageData(t) {
|
|
1399
1399
|
return "days" in t ? this.processMultipleDays(t.days) : [this.processTimeSamples(
|
|
1400
|
-
|
|
1400
|
+
Uo,
|
|
1401
1401
|
t.timeSamples
|
|
1402
1402
|
)];
|
|
1403
1403
|
}
|
|
@@ -1479,7 +1479,7 @@ class De {
|
|
|
1479
1479
|
}
|
|
1480
1480
|
}
|
|
1481
1481
|
}
|
|
1482
|
-
const
|
|
1482
|
+
const Vo = /* @__PURE__ */ new Date(0);
|
|
1483
1483
|
class ze {
|
|
1484
1484
|
constructor(t) {
|
|
1485
1485
|
ee(this, "_imagesByDay");
|
|
@@ -1487,7 +1487,7 @@ class ze {
|
|
|
1487
1487
|
this._imagesByDay = t, this._state = { selectedIndex: 0 };
|
|
1488
1488
|
}
|
|
1489
1489
|
static empty() {
|
|
1490
|
-
return new ze([{ referenceDate:
|
|
1490
|
+
return new ze([{ referenceDate: Vo, urls: [] }]);
|
|
1491
1491
|
}
|
|
1492
1492
|
selectIndex(t) {
|
|
1493
1493
|
t < this._imagesByDay.length && (this._state.selectedIndex = t);
|
|
@@ -1508,11 +1508,11 @@ class ze {
|
|
|
1508
1508
|
return this._imagesByDay[this.selectedIndex].urls;
|
|
1509
1509
|
}
|
|
1510
1510
|
}
|
|
1511
|
-
const
|
|
1511
|
+
const Do = {
|
|
1512
1512
|
key: 0,
|
|
1513
1513
|
style: { height: "50vh" },
|
|
1514
1514
|
class: "d-flex justify-center align-center blue-grey lighten-5"
|
|
1515
|
-
},
|
|
1515
|
+
}, To = { class: "image-instances" }, Ro = { key: 0 }, Oo = { class: "svg-container" }, $o = ["viewBox"], Ho = ["innerHTML", "data-building-id", "onMouseover", "onMouseout", "onMousemove", "onClick"], jo = ["innerHTML"], Po = /* @__PURE__ */ q({
|
|
1516
1516
|
__name: "VBuildingChooserSvg",
|
|
1517
1517
|
props: {
|
|
1518
1518
|
showCards: { type: Boolean, default: !0 },
|
|
@@ -1535,7 +1535,7 @@ const Vo = {
|
|
|
1535
1535
|
);
|
|
1536
1536
|
const l = r({ preloaded: !1, ready: !1 }), a = r({ width: 0, height: 0 }), s = r({ x: 0, y: 0, width: 0, height: 0 }), i = r(), w = r(
|
|
1537
1537
|
(/* @__PURE__ */ new Date()).getHours() * 2 + ((/* @__PURE__ */ new Date()).getMinutes() < 30 ? 0 : 1)
|
|
1538
|
-
), h = r(!1), c = r(new Ae()), m = r(), _ = r("0 0 0 0"),
|
|
1538
|
+
), h = r(!1), c = r(new Ae()), m = r(), _ = r("0 0 0 0"), E = r({}), L = r(), k = r(Ve.empty()), S = r(De.empty()), D = r(), f = B(() => {
|
|
1539
1539
|
var y;
|
|
1540
1540
|
return (y = D.value) == null ? void 0 : y.isHoverEnabled;
|
|
1541
1541
|
}), I = B(() => u(i.value));
|
|
@@ -1545,24 +1545,24 @@ const Vo = {
|
|
|
1545
1545
|
if (e.buildingChooserTimeOfDay) {
|
|
1546
1546
|
const [y, U, G] = /^(\d\d):(\d\d)$/.exec(
|
|
1547
1547
|
e.buildingChooserTimeOfDay
|
|
1548
|
-
),
|
|
1549
|
-
w.value = parseInt(U) * 2 + (
|
|
1548
|
+
), x = parseInt(G);
|
|
1549
|
+
w.value = parseInt(U) * 2 + (x < 15 ? 0 : x > 45 ? 2 : 1);
|
|
1550
1550
|
}
|
|
1551
1551
|
}), ce(async () => {
|
|
1552
1552
|
const U = await new kt(
|
|
1553
1553
|
e.cdnFileResolver
|
|
1554
1554
|
).loadBuildingChooser();
|
|
1555
1555
|
if (U) {
|
|
1556
|
-
S.value = new De(U.mapImage), k.value = new Ve(U.buildingIds),
|
|
1556
|
+
S.value = new De(U.mapImage), k.value = new Ve(U.buildingIds), E.value = new ze(U.backgrounds), L.value = {
|
|
1557
1557
|
buildingOverlays: U.buildingOverlays,
|
|
1558
1558
|
sceneLongitude: U.viewLongitude
|
|
1559
1559
|
};
|
|
1560
1560
|
const G = [];
|
|
1561
|
-
for (let { id:
|
|
1561
|
+
for (let { id: x, url: W } of U.buildingOverlays)
|
|
1562
1562
|
c.value.loadJson(W.replace(".png", ".svg")).then((Z) => {
|
|
1563
1563
|
const ne = new DOMParser().parseFromString(Z, "image/svg+xml").getElementsByTagName("svg")[0];
|
|
1564
1564
|
_.value = ne.getAttribute("viewBox"), G.push({
|
|
1565
|
-
id:
|
|
1565
|
+
id: x,
|
|
1566
1566
|
svg: ne.innerHTML
|
|
1567
1567
|
});
|
|
1568
1568
|
});
|
|
@@ -1583,8 +1583,8 @@ const Vo = {
|
|
|
1583
1583
|
const U = u(y), G = e.colorCallback(
|
|
1584
1584
|
U,
|
|
1585
1585
|
y === i.value ? "hover" : "idle"
|
|
1586
|
-
),
|
|
1587
|
-
return y === i.value ?
|
|
1586
|
+
), x = [];
|
|
1587
|
+
return y === i.value ? x.push("hover") : x.push("idle"), G && e.canGoToBuildingCallback(U) ? x.push("clickable") : x.push("restricted"), x.join(" ");
|
|
1588
1588
|
}
|
|
1589
1589
|
function R(y) {
|
|
1590
1590
|
const U = u(y), G = e.colorCallback(
|
|
@@ -1592,12 +1592,12 @@ const Vo = {
|
|
|
1592
1592
|
y === i.value ? "hover" : "idle"
|
|
1593
1593
|
);
|
|
1594
1594
|
if (G) {
|
|
1595
|
-
const { r:
|
|
1595
|
+
const { r: x, g: W, b: Z, a: K, s: ne } = G;
|
|
1596
1596
|
return {
|
|
1597
1597
|
strokeWidth: ne !== void 0 ? ne : 2,
|
|
1598
|
-
stroke: `rgb(${
|
|
1598
|
+
stroke: `rgb(${x}, ${W}, ${Z})`,
|
|
1599
1599
|
strokeOpacity: 1,
|
|
1600
|
-
fill: `rgb(${
|
|
1600
|
+
fill: `rgb(${x}, ${W}, ${Z})`,
|
|
1601
1601
|
fillOpacity: K / 255,
|
|
1602
1602
|
cursor: `${e.canGoToBuildingCallback(U) ? "cursor" : "default"} !important`
|
|
1603
1603
|
};
|
|
@@ -1640,7 +1640,7 @@ const Vo = {
|
|
|
1640
1640
|
}
|
|
1641
1641
|
return (y, U) => {
|
|
1642
1642
|
const G = T("v-icon");
|
|
1643
|
-
return h.value ? (p(), F("div",
|
|
1643
|
+
return h.value ? (p(), F("div", Do, [
|
|
1644
1644
|
b(G, { "x-large": "" }, {
|
|
1645
1645
|
default: M(() => [
|
|
1646
1646
|
se("mdi-alert-circle-outline")
|
|
@@ -1657,30 +1657,30 @@ const Vo = {
|
|
|
1657
1657
|
mobile: y.interactiveMobile
|
|
1658
1658
|
}, {
|
|
1659
1659
|
default: M(() => [
|
|
1660
|
-
o("div",
|
|
1660
|
+
o("div", To, [
|
|
1661
1661
|
b(wt, {
|
|
1662
|
-
"image-urls":
|
|
1662
|
+
"image-urls": E.value.imageUrls,
|
|
1663
1663
|
"active-index": w.value,
|
|
1664
1664
|
onResize: C,
|
|
1665
|
-
onPreloaded: U[0] || (U[0] = (
|
|
1666
|
-
onReady: U[1] || (U[1] = (
|
|
1665
|
+
onPreloaded: U[0] || (U[0] = (x) => l.value.preloaded = !0),
|
|
1666
|
+
onReady: U[1] || (U[1] = (x) => l.value.ready = !0),
|
|
1667
1667
|
onReset: V
|
|
1668
1668
|
}, null, 8, ["image-urls", "active-index"]),
|
|
1669
|
-
m.value ? de((p(), F("div",
|
|
1670
|
-
o("div",
|
|
1669
|
+
m.value ? de((p(), F("div", Ro, [
|
|
1670
|
+
o("div", Oo, [
|
|
1671
1671
|
(p(), F("svg", { viewBox: _.value }, [
|
|
1672
|
-
(p(!0), F(Le, null, be(m.value, ({ id:
|
|
1672
|
+
(p(!0), F(Le, null, be(m.value, ({ id: x, svg: W }, Z) => (p(), F("g", {
|
|
1673
1673
|
key: Z,
|
|
1674
1674
|
innerHTML: W,
|
|
1675
|
-
"data-building-id":
|
|
1676
|
-
class: ye(g(
|
|
1677
|
-
style: re(R(
|
|
1678
|
-
onMouseover: (K) => A(K,
|
|
1679
|
-
onMouseout: (K) => j(K,
|
|
1675
|
+
"data-building-id": x,
|
|
1676
|
+
class: ye(g(x)),
|
|
1677
|
+
style: re(R(x)),
|
|
1678
|
+
onMouseover: (K) => A(K, x),
|
|
1679
|
+
onMouseout: (K) => j(K, x),
|
|
1680
1680
|
onMousemove: (K) => Y(K),
|
|
1681
|
-
onClick: (K) => ue(
|
|
1682
|
-
}, null, 46,
|
|
1683
|
-
], 8,
|
|
1681
|
+
onClick: (K) => ue(x)
|
|
1682
|
+
}, null, 46, Ho))), 128))
|
|
1683
|
+
], 8, $o))
|
|
1684
1684
|
])
|
|
1685
1685
|
], 512)), [
|
|
1686
1686
|
[me, l.value.preloaded]
|
|
@@ -1688,7 +1688,7 @@ const Vo = {
|
|
|
1688
1688
|
de(o("div", {
|
|
1689
1689
|
class: "custom-overlay-layer",
|
|
1690
1690
|
innerHTML: y.customOverlayContent
|
|
1691
|
-
}, null, 8,
|
|
1691
|
+
}, null, 8, jo), [
|
|
1692
1692
|
[me, l.value.preloaded]
|
|
1693
1693
|
])
|
|
1694
1694
|
])
|
|
@@ -1703,8 +1703,8 @@ const Vo = {
|
|
|
1703
1703
|
}, null, 8, ["longitude"])) : $("", !0),
|
|
1704
1704
|
b(gt, {
|
|
1705
1705
|
modelValue: w.value,
|
|
1706
|
-
"onUpdate:modelValue": U[2] || (U[2] = (
|
|
1707
|
-
"date-selector":
|
|
1706
|
+
"onUpdate:modelValue": U[2] || (U[2] = (x) => w.value = x),
|
|
1707
|
+
"date-selector": E.value,
|
|
1708
1708
|
"is-loading": !l.value.ready
|
|
1709
1709
|
}, null, 8, ["modelValue", "date-selector", "is-loading"])
|
|
1710
1710
|
], 512), [
|
|
@@ -1735,7 +1735,7 @@ const Vo = {
|
|
|
1735
1735
|
], 4)) : $("", !0);
|
|
1736
1736
|
};
|
|
1737
1737
|
}
|
|
1738
|
-
}),
|
|
1738
|
+
}), No = /* @__PURE__ */ J(Po, [["__scopeId", "data-v-a0325460"]]), Yo = /* @__PURE__ */ q({
|
|
1739
1739
|
__name: "VBuildingChooserRasterOverlay",
|
|
1740
1740
|
props: {
|
|
1741
1741
|
imageUrl: {},
|
|
@@ -1746,8 +1746,8 @@ const Vo = {
|
|
|
1746
1746
|
const t = v, e = r(!1), n = r(void 0), l = r(new Ae()), a = r(void 0), s = r(void 0), i = r([]), w = r();
|
|
1747
1747
|
X(
|
|
1748
1748
|
() => t.color,
|
|
1749
|
-
(_,
|
|
1750
|
-
(_.r !==
|
|
1749
|
+
(_, E) => {
|
|
1750
|
+
(_.r !== E.r || _.g !== E.g || _.b !== E.b || _.a !== E.a) && c();
|
|
1751
1751
|
}
|
|
1752
1752
|
), ce(async () => {
|
|
1753
1753
|
n.value = await l.value.loadImage(t.imageUrl), h();
|
|
@@ -1755,11 +1755,11 @@ const Vo = {
|
|
|
1755
1755
|
function h() {
|
|
1756
1756
|
if (!n.value || !w.value)
|
|
1757
1757
|
return;
|
|
1758
|
-
const { width: _, height:
|
|
1759
|
-
if (!(_ === 0 ||
|
|
1758
|
+
const { width: _, height: E } = t.dimensions;
|
|
1759
|
+
if (!(_ === 0 || E === 0)) {
|
|
1760
1760
|
a.value = w.value.getContext("2d", {
|
|
1761
1761
|
willReadFrequently: !0
|
|
1762
|
-
}), a.value.drawImage(n.value, 0, 0, _,
|
|
1762
|
+
}), a.value.drawImage(n.value, 0, 0, _, E), s.value = a.value.getImageData(0, 0, _, E);
|
|
1763
1763
|
for (let L = 3; L < s.value.data.length; L += 4)
|
|
1764
1764
|
s.value.data[L] !== 0 && i.value.push(L);
|
|
1765
1765
|
c(), e.value = !0;
|
|
@@ -1773,17 +1773,17 @@ const Vo = {
|
|
|
1773
1773
|
for (let _ = 0; _ < i.value.length; _++)
|
|
1774
1774
|
s.value.data[i.value[_] - 3] = t.color.r, s.value.data[i.value[_] - 2] = t.color.g, s.value.data[i.value[_] - 1] = t.color.b, s.value.data[i.value[_]] = t.color.a;
|
|
1775
1775
|
}
|
|
1776
|
-
return (_,
|
|
1776
|
+
return (_, E) => (p(), F("canvas", ke({
|
|
1777
1777
|
ref_key: "canvas",
|
|
1778
1778
|
ref: w,
|
|
1779
1779
|
class: "overlay"
|
|
1780
1780
|
}, _.dimensions), null, 16));
|
|
1781
1781
|
}
|
|
1782
|
-
}),
|
|
1782
|
+
}), Wo = /* @__PURE__ */ J(Yo, [["__scopeId", "data-v-7f7df838"]]), Go = {
|
|
1783
1783
|
key: 0,
|
|
1784
1784
|
style: { height: "50vh" },
|
|
1785
1785
|
class: "d-flex justify-center align-center blue-grey lighten-5"
|
|
1786
|
-
},
|
|
1786
|
+
}, Qo = { class: "image-instances" }, qo = ["innerHTML"], zo = /* @__PURE__ */ q({
|
|
1787
1787
|
__name: "VBuildingChooserRaster",
|
|
1788
1788
|
props: {
|
|
1789
1789
|
showCards: { type: Boolean, default: !0 },
|
|
@@ -1806,7 +1806,7 @@ const Vo = {
|
|
|
1806
1806
|
);
|
|
1807
1807
|
const l = r({}), a = r({ preloaded: !1, ready: !1 }), s = r({ width: 0, height: 0 }), i = r({ x: 0, y: 0, width: 0, height: 0 }), w = r(void 0), h = r(Ve.empty()), c = r(De.empty()), m = r(void 0), _ = r(
|
|
1808
1808
|
(/* @__PURE__ */ new Date()).getHours() * 2 + ((/* @__PURE__ */ new Date()).getMinutes() < 30 ? 0 : 1)
|
|
1809
|
-
),
|
|
1809
|
+
), E = r((y, U) => ({ x: y, y: U })), L = r(!1), k = r(), S = r(), D = r(), f = B(() => {
|
|
1810
1810
|
var y;
|
|
1811
1811
|
return (y = k.value) == null ? void 0 : y.isHoverEnabled;
|
|
1812
1812
|
}), I = B(
|
|
@@ -1816,8 +1816,8 @@ const Vo = {
|
|
|
1816
1816
|
if (e.buildingChooserTimeOfDay) {
|
|
1817
1817
|
const [y, U, G] = /^(\d\d):(\d\d)$/.exec(
|
|
1818
1818
|
e.buildingChooserTimeOfDay
|
|
1819
|
-
),
|
|
1820
|
-
_.value = parseInt(U) * 2 + (
|
|
1819
|
+
), x = parseInt(G);
|
|
1820
|
+
_.value = parseInt(U) * 2 + (x < 15 ? 0 : x > 45 ? 2 : 1);
|
|
1821
1821
|
}
|
|
1822
1822
|
}), X(m, (y, U) => {
|
|
1823
1823
|
y ? n("hoverOverBuilding", u(y)) : n("hoverOutBuilding", u(U));
|
|
@@ -1840,7 +1840,7 @@ const Vo = {
|
|
|
1840
1840
|
return e.buildingCallback ? e.buildingCallback(y) : y;
|
|
1841
1841
|
}
|
|
1842
1842
|
function g(y) {
|
|
1843
|
-
const { x: U, y: G } =
|
|
1843
|
+
const { x: U, y: G } = E.value(y.layerX, y.layerY);
|
|
1844
1844
|
return h.value.getBuildingId(c.value, U, G);
|
|
1845
1845
|
}
|
|
1846
1846
|
function R() {
|
|
@@ -1866,11 +1866,11 @@ const Vo = {
|
|
|
1866
1866
|
);
|
|
1867
1867
|
}
|
|
1868
1868
|
function ue({ resolve: y }) {
|
|
1869
|
-
|
|
1869
|
+
E.value = y;
|
|
1870
1870
|
}
|
|
1871
1871
|
return (y, U) => {
|
|
1872
1872
|
const G = T("v-icon");
|
|
1873
|
-
return L.value ? (p(), F("div",
|
|
1873
|
+
return L.value ? (p(), F("div", Go, [
|
|
1874
1874
|
b(G, { "x-large": "" }, {
|
|
1875
1875
|
default: M(() => [
|
|
1876
1876
|
se("mdi-alert-circle-outline")
|
|
@@ -1888,24 +1888,24 @@ const Vo = {
|
|
|
1888
1888
|
onUpdate: ue
|
|
1889
1889
|
}, {
|
|
1890
1890
|
default: M(() => [
|
|
1891
|
-
o("div",
|
|
1891
|
+
o("div", Qo, [
|
|
1892
1892
|
b(wt, {
|
|
1893
1893
|
"image-urls": l.value.imageUrls,
|
|
1894
1894
|
"active-index": _.value,
|
|
1895
1895
|
onResize: C,
|
|
1896
|
-
onPreloaded: U[0] || (U[0] = (
|
|
1897
|
-
onReady: U[1] || (U[1] = (
|
|
1896
|
+
onPreloaded: U[0] || (U[0] = (x) => a.value.preloaded = !0),
|
|
1897
|
+
onReady: U[1] || (U[1] = (x) => a.value.ready = !0),
|
|
1898
1898
|
onReset: V
|
|
1899
1899
|
}, null, 8, ["image-urls", "active-index"]),
|
|
1900
1900
|
de(o("div", null, [
|
|
1901
|
-
(p(!0), F(Le, null, be(w.value.buildingOverlays, (
|
|
1901
|
+
(p(!0), F(Le, null, be(w.value.buildingOverlays, (x) => (p(), N(Wo, {
|
|
1902
1902
|
ref_for: !0,
|
|
1903
1903
|
ref_key: "overlays",
|
|
1904
1904
|
ref: D,
|
|
1905
|
-
key:
|
|
1906
|
-
"image-url":
|
|
1905
|
+
key: x.id,
|
|
1906
|
+
"image-url": x.url,
|
|
1907
1907
|
dimensions: s.value,
|
|
1908
|
-
color: Y(
|
|
1908
|
+
color: Y(x.id)
|
|
1909
1909
|
}, null, 8, ["image-url", "dimensions", "color"]))), 128))
|
|
1910
1910
|
], 512), [
|
|
1911
1911
|
[me, a.value.preloaded]
|
|
@@ -1921,7 +1921,7 @@ const Vo = {
|
|
|
1921
1921
|
de(o("div", {
|
|
1922
1922
|
class: "custom-overlay-layer",
|
|
1923
1923
|
innerHTML: y.customOverlayContent
|
|
1924
|
-
}, null, 8,
|
|
1924
|
+
}, null, 8, qo), [
|
|
1925
1925
|
[me, a.value.preloaded]
|
|
1926
1926
|
])
|
|
1927
1927
|
]),
|
|
@@ -1935,7 +1935,7 @@ const Vo = {
|
|
|
1935
1935
|
}, null, 8, ["longitude"])) : $("", !0),
|
|
1936
1936
|
b(gt, {
|
|
1937
1937
|
modelValue: _.value,
|
|
1938
|
-
"onUpdate:modelValue": U[2] || (U[2] = (
|
|
1938
|
+
"onUpdate:modelValue": U[2] || (U[2] = (x) => _.value = x),
|
|
1939
1939
|
"date-selector": l.value,
|
|
1940
1940
|
"is-loading": !a.value.ready
|
|
1941
1941
|
}, null, 8, ["modelValue", "date-selector", "is-loading"])
|
|
@@ -1967,7 +1967,7 @@ const Vo = {
|
|
|
1967
1967
|
], 4)) : $("", !0);
|
|
1968
1968
|
};
|
|
1969
1969
|
}
|
|
1970
|
-
}),
|
|
1970
|
+
}), Zo = /* @__PURE__ */ J(zo, [["__scopeId", "data-v-dab168c1"]]), Xo = /* @__PURE__ */ q({
|
|
1971
1971
|
__name: "VBuildingChooser",
|
|
1972
1972
|
props: {
|
|
1973
1973
|
showCards: { type: Boolean, default: !0 },
|
|
@@ -1985,7 +1985,7 @@ const Vo = {
|
|
|
1985
1985
|
emits: ["goToBuilding", "hoverOverBuilding", "hoverOutBuilding"],
|
|
1986
1986
|
setup(v, { emit: t }) {
|
|
1987
1987
|
const e = v, n = t, l = B(
|
|
1988
|
-
() => e.useSvg ?
|
|
1988
|
+
() => e.useSvg ? No : Zo
|
|
1989
1989
|
);
|
|
1990
1990
|
return (a, s) => (p(), N(dt(l.value), {
|
|
1991
1991
|
"show-cards": a.showCards,
|
|
@@ -2015,43 +2015,43 @@ var Re = {};
|
|
|
2015
2015
|
Object.defineProperty(Re, "__esModule", {
|
|
2016
2016
|
value: !0
|
|
2017
2017
|
});
|
|
2018
|
-
var
|
|
2018
|
+
var Ko = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(v) {
|
|
2019
2019
|
return typeof v;
|
|
2020
2020
|
} : function(v) {
|
|
2021
2021
|
return v && typeof Symbol == "function" && v.constructor === Symbol && v !== Symbol.prototype ? "symbol" : typeof v;
|
|
2022
|
-
},
|
|
2023
|
-
Re.isWebWorker =
|
|
2024
|
-
Re.isNode =
|
|
2025
|
-
Re.isJsDom =
|
|
2026
|
-
Re.isDeno =
|
|
2027
|
-
const
|
|
2022
|
+
}, Jo = typeof window < "u" && typeof window.document < "u", en = typeof process < "u" && process.versions != null && process.versions.node != null, tn = (typeof self > "u" ? "undefined" : Ko(self)) === "object" && self.constructor && self.constructor.name === "DedicatedWorkerGlobalScope", on = typeof window < "u" && window.name === "nodejs" || typeof navigator < "u" && (navigator.userAgent.includes("Node.js") || navigator.userAgent.includes("jsdom")), nn = typeof Deno < "u" && typeof Deno.version < "u" && typeof Deno.version.deno < "u", an = Re.isBrowser = Jo;
|
|
2023
|
+
Re.isWebWorker = tn;
|
|
2024
|
+
Re.isNode = en;
|
|
2025
|
+
Re.isJsDom = on;
|
|
2026
|
+
Re.isDeno = nn;
|
|
2027
|
+
const ln = { id: "player-wrapper" }, sn = { id: "player-sizer" }, rn = {
|
|
2028
2028
|
class: "player-control",
|
|
2029
2029
|
id: "controls-top-left"
|
|
2030
|
-
},
|
|
2030
|
+
}, un = {
|
|
2031
2031
|
class: "player-control",
|
|
2032
2032
|
id: "controls-top-center"
|
|
2033
|
-
},
|
|
2033
|
+
}, cn = {
|
|
2034
2034
|
class: "player-control",
|
|
2035
2035
|
id: "controls-top-right"
|
|
2036
|
-
},
|
|
2036
|
+
}, dn = {
|
|
2037
2037
|
class: "player-control",
|
|
2038
2038
|
id: "controls-center-left"
|
|
2039
|
-
},
|
|
2039
|
+
}, vn = {
|
|
2040
2040
|
class: "player-control",
|
|
2041
2041
|
id: "controls-center-center"
|
|
2042
|
-
},
|
|
2042
|
+
}, mn = {
|
|
2043
2043
|
class: "player-control",
|
|
2044
2044
|
id: "controls-center-right"
|
|
2045
|
-
},
|
|
2045
|
+
}, pn = {
|
|
2046
2046
|
class: "player-control",
|
|
2047
2047
|
id: "controls-bottom-left"
|
|
2048
|
-
},
|
|
2048
|
+
}, hn = {
|
|
2049
2049
|
class: "player-control",
|
|
2050
2050
|
id: "controls-bottom-center"
|
|
2051
|
-
},
|
|
2051
|
+
}, fn = {
|
|
2052
2052
|
class: "player-control",
|
|
2053
2053
|
id: "controls-bottom-right"
|
|
2054
|
-
},
|
|
2054
|
+
}, gn = { id: "main-canvas" }, wn = /* @__PURE__ */ q({
|
|
2055
2055
|
__name: "VPlayer",
|
|
2056
2056
|
props: {
|
|
2057
2057
|
fileLoader: {},
|
|
@@ -2087,7 +2087,7 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
2087
2087
|
m && (s.value = m.id);
|
|
2088
2088
|
}), ce(async () => {
|
|
2089
2089
|
window.addEventListener("resize", h);
|
|
2090
|
-
const
|
|
2090
|
+
const E = {
|
|
2091
2091
|
initialized: () => {
|
|
2092
2092
|
a.value = e.Main.getPlayerAPI();
|
|
2093
2093
|
const k = a.value.getCurrentCamera();
|
|
@@ -2104,12 +2104,12 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
2104
2104
|
l("newRotationCallback", S), i.value = S;
|
|
2105
2105
|
}
|
|
2106
2106
|
};
|
|
2107
|
-
if (!
|
|
2107
|
+
if (!an)
|
|
2108
2108
|
return;
|
|
2109
2109
|
const L = await new e.Main(
|
|
2110
2110
|
n.rootUrl,
|
|
2111
2111
|
"qpc",
|
|
2112
|
-
|
|
2112
|
+
E,
|
|
2113
2113
|
void 0,
|
|
2114
2114
|
n.currentCameraId,
|
|
2115
2115
|
n.fileLoader
|
|
@@ -2123,37 +2123,37 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
2123
2123
|
});
|
|
2124
2124
|
function h() {
|
|
2125
2125
|
}
|
|
2126
|
-
return (c, m) => (p(), F("div",
|
|
2127
|
-
o("div",
|
|
2126
|
+
return (c, m) => (p(), F("div", ln, [
|
|
2127
|
+
o("div", sn, [
|
|
2128
2128
|
ie(c.$slots, "slideshow-image", {}, void 0, !0),
|
|
2129
|
-
o("div",
|
|
2129
|
+
o("div", rn, [
|
|
2130
2130
|
ie(c.$slots, "top-left", {}, void 0, !0)
|
|
2131
2131
|
]),
|
|
2132
|
-
o("div",
|
|
2132
|
+
o("div", un, [
|
|
2133
2133
|
ie(c.$slots, "top-center", {}, void 0, !0)
|
|
2134
2134
|
]),
|
|
2135
|
-
o("div",
|
|
2135
|
+
o("div", cn, [
|
|
2136
2136
|
ie(c.$slots, "top-right", {}, void 0, !0)
|
|
2137
2137
|
]),
|
|
2138
|
-
o("div",
|
|
2138
|
+
o("div", dn, [
|
|
2139
2139
|
ie(c.$slots, "center-left", {}, void 0, !0)
|
|
2140
2140
|
]),
|
|
2141
|
-
o("div",
|
|
2141
|
+
o("div", vn, [
|
|
2142
2142
|
ie(c.$slots, "center-center", {}, void 0, !0)
|
|
2143
2143
|
]),
|
|
2144
|
-
o("div",
|
|
2144
|
+
o("div", mn, [
|
|
2145
2145
|
ie(c.$slots, "center-right", {}, void 0, !0)
|
|
2146
2146
|
]),
|
|
2147
|
-
o("div",
|
|
2147
|
+
o("div", pn, [
|
|
2148
2148
|
ie(c.$slots, "bottom-left", {}, void 0, !0)
|
|
2149
2149
|
]),
|
|
2150
|
-
o("div",
|
|
2150
|
+
o("div", hn, [
|
|
2151
2151
|
ie(c.$slots, "bottom-center", {}, void 0, !0)
|
|
2152
2152
|
]),
|
|
2153
|
-
o("div",
|
|
2153
|
+
o("div", fn, [
|
|
2154
2154
|
ie(c.$slots, "bottom-right", {}, void 0, !0)
|
|
2155
2155
|
]),
|
|
2156
|
-
o("div",
|
|
2156
|
+
o("div", gn, [
|
|
2157
2157
|
o("canvas", {
|
|
2158
2158
|
id: "qpc",
|
|
2159
2159
|
style: re(c.showStaticImage ? "visibility:hidden" : "visibility:visible")
|
|
@@ -2162,7 +2162,7 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
2162
2162
|
])
|
|
2163
2163
|
]));
|
|
2164
2164
|
}
|
|
2165
|
-
}),
|
|
2165
|
+
}), kn = /* @__PURE__ */ J(wn, [["__scopeId", "data-v-54e6a7ef"]]), yn = { class: "waypoint-carousel" }, bn = 37, _n = 39, Cn = /* @__PURE__ */ q({
|
|
2166
2166
|
__name: "VWaypointCarousel",
|
|
2167
2167
|
props: {
|
|
2168
2168
|
thumbnails: {},
|
|
@@ -2187,10 +2187,10 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
2187
2187
|
});
|
|
2188
2188
|
function i(h) {
|
|
2189
2189
|
switch (h.keyCode) {
|
|
2190
|
-
case h.keyCode ===
|
|
2190
|
+
case h.keyCode === bn:
|
|
2191
2191
|
n("previous");
|
|
2192
2192
|
break;
|
|
2193
|
-
case h.keyCode ===
|
|
2193
|
+
case h.keyCode === _n:
|
|
2194
2194
|
n("next");
|
|
2195
2195
|
break;
|
|
2196
2196
|
default:
|
|
@@ -2201,8 +2201,8 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
2201
2201
|
c(), n("goto", h);
|
|
2202
2202
|
}
|
|
2203
2203
|
return (h, c) => {
|
|
2204
|
-
const m = T("v-icon"), _ = T("v-btn"),
|
|
2205
|
-
return p(), F("div",
|
|
2204
|
+
const m = T("v-icon"), _ = T("v-btn"), E = T("v-hover"), L = T("v-img"), k = T("v-card"), S = T("v-slide-group-item"), D = T("v-slide-group");
|
|
2205
|
+
return p(), F("div", yn, [
|
|
2206
2206
|
b(D, {
|
|
2207
2207
|
modelValue: a.value,
|
|
2208
2208
|
"onUpdate:modelValue": c[2] || (c[2] = (f) => a.value = f),
|
|
@@ -2213,7 +2213,7 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
2213
2213
|
mandatory: ""
|
|
2214
2214
|
}, {
|
|
2215
2215
|
prev: M(() => [
|
|
2216
|
-
b(
|
|
2216
|
+
b(E, null, {
|
|
2217
2217
|
default: M(({ isHovering: f }) => [
|
|
2218
2218
|
b(_, {
|
|
2219
2219
|
elevation: "0",
|
|
@@ -2238,7 +2238,7 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
2238
2238
|
})
|
|
2239
2239
|
]),
|
|
2240
2240
|
next: M(() => [
|
|
2241
|
-
b(
|
|
2241
|
+
b(E, null, {
|
|
2242
2242
|
default: M(({ isHovering: f }) => [
|
|
2243
2243
|
b(_, {
|
|
2244
2244
|
elevation: "0",
|
|
@@ -2296,11 +2296,11 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
2296
2296
|
]);
|
|
2297
2297
|
};
|
|
2298
2298
|
}
|
|
2299
|
-
}), ut = /* @__PURE__ */ J(
|
|
2299
|
+
}), ut = /* @__PURE__ */ J(Cn, [["__scopeId", "data-v-ad2125d1"]]), An = {
|
|
2300
2300
|
style: { width: "24px", height: "24px" },
|
|
2301
2301
|
viewBox: "0 0 18 16",
|
|
2302
2302
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2303
|
-
},
|
|
2303
|
+
}, Ln = ["stroke"], In = ["stroke"], Mn = { class: "floor-level-label" }, xn = /* @__PURE__ */ q({
|
|
2304
2304
|
__name: "VFloorLevel",
|
|
2305
2305
|
props: {
|
|
2306
2306
|
level: { default: 0 },
|
|
@@ -2317,8 +2317,8 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
2317
2317
|
c >= a.value.length ? n("level", a.value[0]) : n("level", a.value[c]);
|
|
2318
2318
|
}
|
|
2319
2319
|
return (c, m) => {
|
|
2320
|
-
const _ = T("v-btn"),
|
|
2321
|
-
return p(), N(
|
|
2320
|
+
const _ = T("v-btn"), E = T("v-tooltip");
|
|
2321
|
+
return p(), N(E, {
|
|
2322
2322
|
right: "",
|
|
2323
2323
|
attach: ""
|
|
2324
2324
|
}, {
|
|
@@ -2330,37 +2330,37 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
2330
2330
|
icon: ""
|
|
2331
2331
|
}, L, { onClick: h }), {
|
|
2332
2332
|
default: M(() => [
|
|
2333
|
-
(p(), F("svg",
|
|
2333
|
+
(p(), F("svg", An, [
|
|
2334
2334
|
o("path", {
|
|
2335
2335
|
d: "M8.98034 10.3472L1.54055 5.8855L8.98034 1.42384L16.4201 5.8855L8.98034 10.3472Z",
|
|
2336
2336
|
fill: "white",
|
|
2337
2337
|
stroke: w.value ? "black" : "#999999",
|
|
2338
2338
|
"stroke-width": "1.5",
|
|
2339
2339
|
"stroke-linejoin": "round"
|
|
2340
|
-
}, null, 8,
|
|
2340
|
+
}, null, 8, Ln),
|
|
2341
2341
|
o("path", {
|
|
2342
2342
|
d: "M8.98034 14.7993L1.54055 10.3376L8.98034 5.87599L16.4201 10.3376L8.98034 14.7993Z",
|
|
2343
2343
|
fill: "white",
|
|
2344
2344
|
stroke: i.value ? "black" : "#999999",
|
|
2345
2345
|
"stroke-width": "1.5",
|
|
2346
2346
|
"stroke-linejoin": "round"
|
|
2347
|
-
}, null, 8,
|
|
2347
|
+
}, null, 8, In)
|
|
2348
2348
|
]))
|
|
2349
2349
|
]),
|
|
2350
2350
|
_: 2
|
|
2351
2351
|
}, 1040)
|
|
2352
2352
|
]),
|
|
2353
2353
|
default: M(() => [
|
|
2354
|
-
o("span",
|
|
2354
|
+
o("span", Mn, z(te(l).getLabel(s.value)) + " " + z(te(l).getLabel("floor")), 1)
|
|
2355
2355
|
]),
|
|
2356
2356
|
_: 1
|
|
2357
2357
|
});
|
|
2358
2358
|
};
|
|
2359
2359
|
}
|
|
2360
|
-
}), En = /* @__PURE__ */ J(
|
|
2360
|
+
}), En = /* @__PURE__ */ J(xn, [["__scopeId", "data-v-82187b23"]]), Sn = {
|
|
2361
2361
|
id: "share-btns-wrapper",
|
|
2362
2362
|
class: "text-center"
|
|
2363
|
-
},
|
|
2363
|
+
}, Fn = /* @__PURE__ */ q({
|
|
2364
2364
|
__name: "VSocialShare",
|
|
2365
2365
|
setup(v) {
|
|
2366
2366
|
const t = he("i18n"), e = r(!1), n = r(location.href);
|
|
@@ -2389,7 +2389,7 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
2389
2389
|
navigator.clipboard.writeText(location.href);
|
|
2390
2390
|
}
|
|
2391
2391
|
return (w, h) => {
|
|
2392
|
-
const c = T("v-btn"), m = T("v-tooltip"), _ = T("v-toolbar-title"),
|
|
2392
|
+
const c = T("v-btn"), m = T("v-tooltip"), _ = T("v-toolbar-title"), E = T("v-spacer"), L = T("v-toolbar"), k = T("v-card-text"), S = T("v-card"), D = T("v-dialog");
|
|
2393
2393
|
return p(), F("div", null, [
|
|
2394
2394
|
b(m, {
|
|
2395
2395
|
elevation: "2",
|
|
@@ -2431,13 +2431,13 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
2431
2431
|
]),
|
|
2432
2432
|
_: 1
|
|
2433
2433
|
}),
|
|
2434
|
-
b(
|
|
2434
|
+
b(E)
|
|
2435
2435
|
]),
|
|
2436
2436
|
_: 1
|
|
2437
2437
|
}),
|
|
2438
2438
|
b(k, { class: "mt-5" }, {
|
|
2439
2439
|
default: M(() => [
|
|
2440
|
-
o("p",
|
|
2440
|
+
o("p", Sn, [
|
|
2441
2441
|
b(m, { location: "top" }, {
|
|
2442
2442
|
activator: M(({ props: f }) => [
|
|
2443
2443
|
b(c, ke({
|
|
@@ -2511,7 +2511,7 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
2511
2511
|
]),
|
|
2512
2512
|
_: 1
|
|
2513
2513
|
}),
|
|
2514
|
-
b(
|
|
2514
|
+
b(E)
|
|
2515
2515
|
])
|
|
2516
2516
|
]),
|
|
2517
2517
|
_: 1
|
|
@@ -2525,7 +2525,7 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
2525
2525
|
]);
|
|
2526
2526
|
};
|
|
2527
2527
|
}
|
|
2528
|
-
}),
|
|
2528
|
+
}), Bn = /* @__PURE__ */ J(Fn, [["__scopeId", "data-v-66122fea"]]), Un = /* @__PURE__ */ q({
|
|
2529
2529
|
__name: "VInteriorSelector",
|
|
2530
2530
|
props: {
|
|
2531
2531
|
availableArchetypes: {},
|
|
@@ -2539,7 +2539,7 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
2539
2539
|
return l && (w = `${a.getURL(i)}`), w;
|
|
2540
2540
|
}
|
|
2541
2541
|
return (i, w) => {
|
|
2542
|
-
const h = T("v-btn"), c = T("v-img"), m = T("v-list-item-title"), _ = T("v-list-item"),
|
|
2542
|
+
const h = T("v-btn"), c = T("v-img"), m = T("v-list-item-title"), _ = T("v-list-item"), E = T("v-list"), L = T("v-menu");
|
|
2543
2543
|
return p(), F("div", null, [
|
|
2544
2544
|
b(L, {
|
|
2545
2545
|
transition: "slide-x-reverse-transition",
|
|
@@ -2559,7 +2559,7 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
2559
2559
|
}, 1040)
|
|
2560
2560
|
]),
|
|
2561
2561
|
default: M(() => [
|
|
2562
|
-
b(
|
|
2562
|
+
b(E, { class: "interior-selector-list" }, {
|
|
2563
2563
|
default: M(() => [
|
|
2564
2564
|
(p(!0), F(Le, null, be(i.availableArchetypes, (k, S) => (p(), N(_, {
|
|
2565
2565
|
density: "compact",
|
|
@@ -2595,14 +2595,14 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
2595
2595
|
]);
|
|
2596
2596
|
};
|
|
2597
2597
|
}
|
|
2598
|
-
}),
|
|
2598
|
+
}), Vn = /* @__PURE__ */ J(Un, [["__scopeId", "data-v-cc96ef5c"]]), Dn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAYAAACPZlfNAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAAC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GcMmFd0QAAAABJRU5ErkJggg==", Rn = /* @__PURE__ */ q({
|
|
2599
2599
|
__name: "VCompass",
|
|
2600
2600
|
props: {
|
|
2601
2601
|
rotation: {}
|
|
2602
2602
|
},
|
|
2603
2603
|
setup(v) {
|
|
2604
|
-
const t = v, e = r(
|
|
2605
|
-
backgroundImage: `url(${
|
|
2604
|
+
const t = v, e = r(Tn), n = r({
|
|
2605
|
+
backgroundImage: `url(${Dn})`,
|
|
2606
2606
|
backgroundSize: "contain"
|
|
2607
2607
|
}), l = B(() => ({
|
|
2608
2608
|
transform: `rotate(${-t.rotation + 180}deg)`
|
|
@@ -2620,7 +2620,7 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
2620
2620
|
], 4);
|
|
2621
2621
|
};
|
|
2622
2622
|
}
|
|
2623
|
-
}),
|
|
2623
|
+
}), On = { class: "static-image-wrapper" }, $n = /* @__PURE__ */ q({
|
|
2624
2624
|
__name: "VSingleImage",
|
|
2625
2625
|
props: {
|
|
2626
2626
|
image: {},
|
|
@@ -2628,14 +2628,14 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
2628
2628
|
},
|
|
2629
2629
|
setup(v) {
|
|
2630
2630
|
const t = v, e = B(() => ({ "background-image": `url("${encodeURI(t.image)}")` }));
|
|
2631
|
-
return (n, l) => (p(), F("div",
|
|
2631
|
+
return (n, l) => (p(), F("div", On, [
|
|
2632
2632
|
o("div", {
|
|
2633
2633
|
class: ye(["img-div", [n.aspectRatio]]),
|
|
2634
2634
|
style: re(e.value)
|
|
2635
2635
|
}, null, 6)
|
|
2636
2636
|
]));
|
|
2637
2637
|
}
|
|
2638
|
-
}),
|
|
2638
|
+
}), Hn = /* @__PURE__ */ J($n, [["__scopeId", "data-v-3e99d275"]]), jn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADyHTlpAAAAllBMVEUAAAD/rwD/rwD/qgP/qwL/qAL/qwP/qwH/rAL/rAL/qwL/qQD/qwL/qwD/qQD/qwL/pQD/qgH/nwD/pwD/qQL/rAL/qwD/qwT/rAP/qwL/rAL/rAD/rAL/qgD/qwL/qQP/rAP/rAH/qgH/qwL/qwD/qgL/rwD/qgD/qwH/qgD/qgL/rAD/qgD/qgD/qwH/rAP/qgX/qwA+O5E+AAAAMnRSTlMAECBg/3C/v5Dff4+PT1/PMN8QII9vf0CfgO9vnzDvUF+vr3BA3zA/z2+fX59g71AwcDsf6p0AAAFGSURBVHicvdRtT8MgEABgaM9hu1aHXV/cpm6zWt829f//OYEK9qC3NDF6HxYCTw5GuWPsd8GjqTIGOJtIZwDi/ymnKPflOSTub6cAcwdnkHk5AQY2v3Dzl2phga1EFkl5hScLbZc+LbUs/FltK5OpLpsmrS0NpbLLSu3Er1dgIsn0cdabEdlHlICL5IZSRq5gELcn7DCnsfQL24AX5PeNfAlAHSEOaYrFXaNiqwa7kO7V9L1dt9u25kX58cBY7dbZYz/MKdr2o06nrZ6klNX4AYRdf8aHzkL6QtxAG9KculjhS0nJMO0rSVmF5ZyWnn2jFC+36vcgLTzq+3lPRx6XrjjTqQ7iqJxY6+KLydp0ZWhrVHWE0JoqHq1NSHBxF0h+1Mh6LUMM5LC/Kht8h+5nG9zeTtbt37Ti3XT6+d29pkTXTZVEfAEKARRF2iiwhQAAAB10RVh0U29mdHdhcmUAQGx1bmFwYWludC9wbmctY29kZWP1QxkeAAAAAElFTkSuQmCC", Pn = { class: "d-flex flex-column align-center justify-center clock-face" }, Nn = { class: "clock-icon" }, Yn = { class: "clock-value grey--text text--darken-3" }, Wn = /* @__PURE__ */ q({
|
|
2639
2639
|
__name: "VTimeOfDay",
|
|
2640
2640
|
props: {
|
|
2641
2641
|
hours: { default: 0 },
|
|
@@ -2648,21 +2648,21 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
2648
2648
|
}
|
|
2649
2649
|
return (l, a) => {
|
|
2650
2650
|
const s = T("v-img");
|
|
2651
|
-
return p(), F("div",
|
|
2652
|
-
o("div",
|
|
2651
|
+
return p(), F("div", Pn, [
|
|
2652
|
+
o("div", Nn, [
|
|
2653
2653
|
b(s, {
|
|
2654
|
-
src: te(
|
|
2654
|
+
src: te(jn),
|
|
2655
2655
|
"aspect-ratio": "1"
|
|
2656
2656
|
}, null, 8, ["src"])
|
|
2657
2657
|
]),
|
|
2658
|
-
o("div",
|
|
2658
|
+
o("div", Yn, z(e.value), 1)
|
|
2659
2659
|
]);
|
|
2660
2660
|
};
|
|
2661
2661
|
}
|
|
2662
|
-
}),
|
|
2662
|
+
}), Gn = /* @__PURE__ */ J(Wn, [["__scopeId", "data-v-9a5f102b"]]), Qn = {
|
|
2663
2663
|
id: "btn-fullscreen",
|
|
2664
2664
|
class: "btn-placeholder mr-2"
|
|
2665
|
-
},
|
|
2665
|
+
}, qn = /* @__PURE__ */ q({
|
|
2666
2666
|
__name: "VFullScreenButton",
|
|
2667
2667
|
props: {
|
|
2668
2668
|
isFullScreen: { type: Boolean }
|
|
@@ -2672,7 +2672,7 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
2672
2672
|
const e = t;
|
|
2673
2673
|
return (n, l) => {
|
|
2674
2674
|
const a = T("v-btn");
|
|
2675
|
-
return p(), F("div",
|
|
2675
|
+
return p(), F("div", Qn, [
|
|
2676
2676
|
b(a, {
|
|
2677
2677
|
density: "comfortable",
|
|
2678
2678
|
elevation: "3",
|
|
@@ -2682,7 +2682,7 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
2682
2682
|
]);
|
|
2683
2683
|
};
|
|
2684
2684
|
}
|
|
2685
|
-
}),
|
|
2685
|
+
}), zn = /* @__PURE__ */ q({
|
|
2686
2686
|
__name: "VViewModeToggle",
|
|
2687
2687
|
props: {
|
|
2688
2688
|
showStaticImage: { type: Boolean }
|
|
@@ -2709,16 +2709,16 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
2709
2709
|
});
|
|
2710
2710
|
};
|
|
2711
2711
|
}
|
|
2712
|
-
}),
|
|
2712
|
+
}), Zn = {
|
|
2713
2713
|
key: 0,
|
|
2714
2714
|
class: "text-white disclaimer caption"
|
|
2715
|
-
},
|
|
2715
|
+
}, Xn = /* @__PURE__ */ q({
|
|
2716
2716
|
__name: "VDisclaimer",
|
|
2717
2717
|
setup(v) {
|
|
2718
2718
|
const t = he("i18n"), e = r(!0);
|
|
2719
2719
|
return (n, l) => (p(), N(Qe, { name: "fade-transition" }, {
|
|
2720
2720
|
default: M(() => [
|
|
2721
|
-
e.value ? (p(), F("div",
|
|
2721
|
+
e.value ? (p(), F("div", Zn, [
|
|
2722
2722
|
se(z(te(t).getLabel("all-illustrations-are-indicative-deviations-may-occur")) + " ", 1),
|
|
2723
2723
|
o("span", {
|
|
2724
2724
|
onClick: l[0] || (l[0] = (a) => e.value = !1),
|
|
@@ -2729,13 +2729,13 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
2729
2729
|
_: 1
|
|
2730
2730
|
}));
|
|
2731
2731
|
}
|
|
2732
|
-
}),
|
|
2732
|
+
}), Kn = /* @__PURE__ */ J(Xn, [["__scopeId", "data-v-28008b18"]]), Se = (v) => (Je("data-v-53c0bb27"), v = v(), et(), v), Jn = {
|
|
2733
2733
|
key: 0,
|
|
2734
2734
|
class: "tutorial"
|
|
2735
|
-
},
|
|
2735
|
+
}, ea = {
|
|
2736
2736
|
key: 0,
|
|
2737
2737
|
class: "desktop-content"
|
|
2738
|
-
},
|
|
2738
|
+
}, ta = { class: "d-inline-flex" }, oa = { class: "box col" }, na = /* @__PURE__ */ Se(() => /* @__PURE__ */ o("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
2739
2739
|
/* @__PURE__ */ o("svg", {
|
|
2740
2740
|
width: "100",
|
|
2741
2741
|
height: "65",
|
|
@@ -2782,7 +2782,7 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
2782
2782
|
"stroke-width": "1.5"
|
|
2783
2783
|
})
|
|
2784
2784
|
])
|
|
2785
|
-
], -1)),
|
|
2785
|
+
], -1)), aa = { class: "text mt-3" }, la = { class: "box col" }, ia = /* @__PURE__ */ Se(() => /* @__PURE__ */ o("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
2786
2786
|
/* @__PURE__ */ o("svg", {
|
|
2787
2787
|
width: "100",
|
|
2788
2788
|
height: "65",
|
|
@@ -2912,7 +2912,7 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
2912
2912
|
"stroke-linecap": "round"
|
|
2913
2913
|
})
|
|
2914
2914
|
])
|
|
2915
|
-
], -1)),
|
|
2915
|
+
], -1)), sa = { class: "text mt-3" }, ra = { class: "box col" }, ua = /* @__PURE__ */ Se(() => /* @__PURE__ */ o("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
2916
2916
|
/* @__PURE__ */ o("svg", {
|
|
2917
2917
|
width: "100",
|
|
2918
2918
|
height: "65",
|
|
@@ -2983,7 +2983,7 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
2983
2983
|
"stroke-linejoin": "round"
|
|
2984
2984
|
})
|
|
2985
2985
|
])
|
|
2986
|
-
], -1)),
|
|
2986
|
+
], -1)), ca = { class: "text mt-3" }, da = { class: "d-inline-flex space-around" }, va = { class: "box col" }, ma = /* @__PURE__ */ Se(() => /* @__PURE__ */ o("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
2987
2987
|
/* @__PURE__ */ o("svg", {
|
|
2988
2988
|
width: "100",
|
|
2989
2989
|
height: "65",
|
|
@@ -3051,10 +3051,10 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
3051
3051
|
fill: "#FF3E3E"
|
|
3052
3052
|
})
|
|
3053
3053
|
])
|
|
3054
|
-
], -1)),
|
|
3054
|
+
], -1)), pa = { class: "text mt-3" }, ha = {
|
|
3055
3055
|
key: 1,
|
|
3056
3056
|
class: "d-flex flex-column tablet-mobile-content"
|
|
3057
|
-
},
|
|
3057
|
+
}, fa = { class: "box horizontal mt-3" }, ga = /* @__PURE__ */ Se(() => /* @__PURE__ */ o("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
3058
3058
|
/* @__PURE__ */ o("svg", {
|
|
3059
3059
|
width: "101",
|
|
3060
3060
|
height: "65",
|
|
@@ -3088,7 +3088,7 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
3088
3088
|
"stroke-linejoin": "round"
|
|
3089
3089
|
})
|
|
3090
3090
|
])
|
|
3091
|
-
], -1)),
|
|
3091
|
+
], -1)), wa = { class: "text ml-2" }, ka = { class: "box horizontal mt-3" }, ya = /* @__PURE__ */ Se(() => /* @__PURE__ */ o("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
3092
3092
|
/* @__PURE__ */ o("svg", {
|
|
3093
3093
|
width: "99",
|
|
3094
3094
|
height: "65",
|
|
@@ -3222,7 +3222,7 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
3222
3222
|
"stroke-linejoin": "round"
|
|
3223
3223
|
})
|
|
3224
3224
|
])
|
|
3225
|
-
], -1)),
|
|
3225
|
+
], -1)), ba = { class: "text ml-2" }, _a = { class: "box horizontal mt-3" }, Ca = /* @__PURE__ */ Se(() => /* @__PURE__ */ o("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
3226
3226
|
/* @__PURE__ */ o("svg", {
|
|
3227
3227
|
width: "99",
|
|
3228
3228
|
height: "65",
|
|
@@ -3256,7 +3256,7 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
3256
3256
|
"stroke-linejoin": "round"
|
|
3257
3257
|
})
|
|
3258
3258
|
])
|
|
3259
|
-
], -1)),
|
|
3259
|
+
], -1)), Aa = { class: "text ml-2" }, La = { class: "d-flex justify-space-between mt-3 mx-3 mb-0 tutorial-buttons" }, Ia = /* @__PURE__ */ q({
|
|
3260
3260
|
__name: "VTutorial",
|
|
3261
3261
|
props: {
|
|
3262
3262
|
project: {}
|
|
@@ -3284,48 +3284,48 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
3284
3284
|
localStorage.setItem(`${e.project}-dont-show-tutorial`, "true");
|
|
3285
3285
|
}
|
|
3286
3286
|
return (m, _) => {
|
|
3287
|
-
const
|
|
3287
|
+
const E = T("v-checkbox"), L = T("v-btn");
|
|
3288
3288
|
return p(), N(Qe, { name: "fade-transition" }, {
|
|
3289
3289
|
default: M(() => [
|
|
3290
|
-
a.value && !w.value ? (p(), F("div",
|
|
3291
|
-
i.value ? $("", !0) : (p(), F("div",
|
|
3292
|
-
o("div",
|
|
3293
|
-
o("div",
|
|
3294
|
-
|
|
3295
|
-
o("div",
|
|
3290
|
+
a.value && !w.value ? (p(), F("div", Jn, [
|
|
3291
|
+
i.value ? $("", !0) : (p(), F("div", ea, [
|
|
3292
|
+
o("div", ta, [
|
|
3293
|
+
o("div", oa, [
|
|
3294
|
+
na,
|
|
3295
|
+
o("div", aa, z(te(l).getLabel("click-and-drag-to-look-around")), 1)
|
|
3296
3296
|
]),
|
|
3297
|
-
o("div",
|
|
3298
|
-
|
|
3299
|
-
o("div",
|
|
3297
|
+
o("div", la, [
|
|
3298
|
+
ia,
|
|
3299
|
+
o("div", sa, z(te(l).getLabel("click-on-the-circles-to-move-around")), 1)
|
|
3300
3300
|
]),
|
|
3301
|
-
o("div",
|
|
3302
|
-
|
|
3303
|
-
o("div",
|
|
3301
|
+
o("div", ra, [
|
|
3302
|
+
ua,
|
|
3303
|
+
o("div", ca, z(te(l).getLabel("use-the-mouse-wheel-to-zoom")), 1)
|
|
3304
3304
|
])
|
|
3305
3305
|
]),
|
|
3306
|
-
o("div",
|
|
3307
|
-
o("div",
|
|
3308
|
-
|
|
3309
|
-
o("div",
|
|
3306
|
+
o("div", da, [
|
|
3307
|
+
o("div", va, [
|
|
3308
|
+
ma,
|
|
3309
|
+
o("div", pa, z(te(l).getLabel("you-can-also-use-the-arrow-keys-to-move-around")), 1)
|
|
3310
3310
|
])
|
|
3311
3311
|
])
|
|
3312
3312
|
])),
|
|
3313
|
-
i.value ? (p(), F("div",
|
|
3314
|
-
o("div",
|
|
3315
|
-
|
|
3316
|
-
o("div",
|
|
3313
|
+
i.value ? (p(), F("div", ha, [
|
|
3314
|
+
o("div", fa, [
|
|
3315
|
+
ga,
|
|
3316
|
+
o("div", wa, z(te(l).getLabel("tap-and-drag-to-look-around")), 1)
|
|
3317
3317
|
]),
|
|
3318
|
-
o("div",
|
|
3319
|
-
|
|
3320
|
-
o("div",
|
|
3318
|
+
o("div", ka, [
|
|
3319
|
+
ya,
|
|
3320
|
+
o("div", ba, z(te(l).getLabel("tap-on-the-circles-to-move-around")), 1)
|
|
3321
3321
|
]),
|
|
3322
|
-
o("div",
|
|
3323
|
-
|
|
3324
|
-
o("div",
|
|
3322
|
+
o("div", _a, [
|
|
3323
|
+
Ca,
|
|
3324
|
+
o("div", Aa, z(te(l).getLabel("use-two-fingers-to-zoom")), 1)
|
|
3325
3325
|
])
|
|
3326
3326
|
])) : $("", !0),
|
|
3327
|
-
o("div",
|
|
3328
|
-
b(
|
|
3327
|
+
o("div", La, [
|
|
3328
|
+
b(E, {
|
|
3329
3329
|
modelValue: s.value,
|
|
3330
3330
|
"onUpdate:modelValue": _[0] || (_[0] = (k) => s.value = k),
|
|
3331
3331
|
label: te(l).getLabel("dont-show-again")
|
|
@@ -3348,17 +3348,17 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
3348
3348
|
});
|
|
3349
3349
|
};
|
|
3350
3350
|
}
|
|
3351
|
-
}),
|
|
3351
|
+
}), Ma = /* @__PURE__ */ J(Ia, [["__scopeId", "data-v-53c0bb27"]]), xa = (v) => (Je("data-v-a28b3f8d"), v = v(), et(), v), Ea = { class: "player-settings-ui" }, Sa = { id: "settings-ui-form" }, Fa = { class: "form-inputs" }, Ba = { class: "setting-label" }, Ua = { class: "setting-label" }, Va = ["max", "min", "step"], Da = { class: "setting-label" }, Ta = { class: "flex-grow-1 flex-shrink-0" }, Ra = ["onUpdate:modelValue"], Oa = {
|
|
3352
3352
|
key: 3,
|
|
3353
3353
|
"d-block": "",
|
|
3354
3354
|
class: "mt-3"
|
|
3355
|
-
},
|
|
3355
|
+
}, $a = { class: "d-flex justify-space-between" }, Ha = { class: "setting-label" }, ja = {
|
|
3356
3356
|
class: "mt-5 d-block",
|
|
3357
3357
|
style: { width: "300px" }
|
|
3358
|
-
},
|
|
3358
|
+
}, Pa = /* @__PURE__ */ xa(() => /* @__PURE__ */ o("div", { class: "setting-label" }, "Enter Lut URL:", -1)), Na = {
|
|
3359
3359
|
class: "d-block",
|
|
3360
3360
|
style: { width: "300px" }
|
|
3361
|
-
},
|
|
3361
|
+
}, Ya = { class: "form-buttons" }, Wa = /* @__PURE__ */ q({
|
|
3362
3362
|
__name: "VSettingsUI",
|
|
3363
3363
|
props: {
|
|
3364
3364
|
projectSlug: {},
|
|
@@ -3366,7 +3366,7 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
3366
3366
|
},
|
|
3367
3367
|
emits: ["updateSettings", "saveSettings"],
|
|
3368
3368
|
setup(v, { emit: t }) {
|
|
3369
|
-
const e = v, n = t, l = r(
|
|
3369
|
+
const e = v, n = t, l = r(E(e.initialSettings));
|
|
3370
3370
|
X(
|
|
3371
3371
|
l,
|
|
3372
3372
|
() => {
|
|
@@ -3395,7 +3395,7 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
3395
3395
|
n("saveSettings", a.value);
|
|
3396
3396
|
}
|
|
3397
3397
|
function h() {
|
|
3398
|
-
l.value =
|
|
3398
|
+
l.value = E(), n("updateSettings", a.value);
|
|
3399
3399
|
}
|
|
3400
3400
|
function c(L) {
|
|
3401
3401
|
const k = parseInt(L.substr(1, 2), 16) / 255, S = parseInt(L.substr(3, 2), 16) / 255, D = parseInt(L.substr(5, 2), 16) / 255;
|
|
@@ -3408,7 +3408,7 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
3408
3408
|
function _([L, k, S]) {
|
|
3409
3409
|
return "#" + m(parseInt((L * 255).toString())) + m(parseInt((k * 255).toString())) + m(parseInt((S * 255).toString()));
|
|
3410
3410
|
}
|
|
3411
|
-
function
|
|
3411
|
+
function E(L = {}) {
|
|
3412
3412
|
const k = [
|
|
3413
3413
|
"Cool 5",
|
|
3414
3414
|
"Cool 10",
|
|
@@ -3510,8 +3510,8 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
3510
3510
|
return (L, k) => {
|
|
3511
3511
|
const S = T("v-text-field"), D = T("v-slider"), f = T("v-checkbox"), I = T("v-btn"), C = T("v-select"), V = T("v-icon");
|
|
3512
3512
|
return p(), F("div", Ea, [
|
|
3513
|
-
o("form",
|
|
3514
|
-
o("div",
|
|
3513
|
+
o("form", Sa, [
|
|
3514
|
+
o("div", Fa, [
|
|
3515
3515
|
(p(!0), F(Le, null, be(l.value, (u, g, R) => (p(), F("div", {
|
|
3516
3516
|
key: R,
|
|
3517
3517
|
"d-block": ""
|
|
@@ -3526,7 +3526,7 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
3526
3526
|
step: u.step
|
|
3527
3527
|
}, {
|
|
3528
3528
|
prepend: M(() => [
|
|
3529
|
-
o("div",
|
|
3529
|
+
o("div", Ba, z(u.label), 1)
|
|
3530
3530
|
]),
|
|
3531
3531
|
append: M(() => [
|
|
3532
3532
|
o("div", null, [
|
|
@@ -3554,7 +3554,7 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
3554
3554
|
onChange: s
|
|
3555
3555
|
}, {
|
|
3556
3556
|
prepend: M(() => [
|
|
3557
|
-
o("div",
|
|
3557
|
+
o("div", Ua, z(u.label), 1)
|
|
3558
3558
|
]),
|
|
3559
3559
|
append: M(() => [
|
|
3560
3560
|
o("div", null, z(u.value), 1)
|
|
@@ -3568,13 +3568,13 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
3568
3568
|
min: u.min,
|
|
3569
3569
|
step: u.step
|
|
3570
3570
|
}, [
|
|
3571
|
-
o("div",
|
|
3572
|
-
o("div",
|
|
3571
|
+
o("div", Da, z(u.label), 1),
|
|
3572
|
+
o("div", Ta, [
|
|
3573
3573
|
de(o("input", {
|
|
3574
3574
|
"onUpdate:modelValue": (A) => l.value[g].value = A,
|
|
3575
3575
|
type: "color",
|
|
3576
3576
|
onChange: s
|
|
3577
|
-
}, null, 40,
|
|
3577
|
+
}, null, 40, Ra), [
|
|
3578
3578
|
[Vt, l.value[g].value]
|
|
3579
3579
|
])
|
|
3580
3580
|
]),
|
|
@@ -3591,10 +3591,10 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
3591
3591
|
onChange: s
|
|
3592
3592
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
3593
3593
|
])
|
|
3594
|
-
], 8,
|
|
3595
|
-
u.type === "lut" ? (p(), F("div",
|
|
3596
|
-
o("div",
|
|
3597
|
-
o("div",
|
|
3594
|
+
], 8, Va)) : $("", !0),
|
|
3595
|
+
u.type === "lut" ? (p(), F("div", Oa, [
|
|
3596
|
+
o("div", $a, [
|
|
3597
|
+
o("div", Ha, z(u.label), 1),
|
|
3598
3598
|
o("div", null, [
|
|
3599
3599
|
b(I, {
|
|
3600
3600
|
class: "ml-2",
|
|
@@ -3609,7 +3609,7 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
3609
3609
|
])
|
|
3610
3610
|
]),
|
|
3611
3611
|
o("div", null, [
|
|
3612
|
-
o("div",
|
|
3612
|
+
o("div", ja, [
|
|
3613
3613
|
o("div", null, [
|
|
3614
3614
|
b(C, {
|
|
3615
3615
|
modelValue: l.value[g].value,
|
|
@@ -3624,8 +3624,8 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
3624
3624
|
])
|
|
3625
3625
|
]),
|
|
3626
3626
|
o("div", null, [
|
|
3627
|
-
|
|
3628
|
-
o("div",
|
|
3627
|
+
Pa,
|
|
3628
|
+
o("div", Na, [
|
|
3629
3629
|
o("div", null, [
|
|
3630
3630
|
b(S, {
|
|
3631
3631
|
modelValue: l.value[g].value,
|
|
@@ -3642,7 +3642,7 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
3642
3642
|
])) : $("", !0)
|
|
3643
3643
|
]))), 128))
|
|
3644
3644
|
]),
|
|
3645
|
-
o("div",
|
|
3645
|
+
o("div", Ya, [
|
|
3646
3646
|
b(I, {
|
|
3647
3647
|
onClick: k[0] || (k[0] = (u) => h())
|
|
3648
3648
|
}, {
|
|
@@ -3686,27 +3686,27 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
3686
3686
|
]);
|
|
3687
3687
|
};
|
|
3688
3688
|
}
|
|
3689
|
-
}),
|
|
3689
|
+
}), Ga = /* @__PURE__ */ J(Wa, [["__scopeId", "data-v-a28b3f8d"]]), Qa = {
|
|
3690
3690
|
class: "rotation-marker-svg",
|
|
3691
3691
|
viewBox: "0 0 40 40",
|
|
3692
3692
|
xmlns: "http://www.w3.org/2000/svg"
|
|
3693
|
-
},
|
|
3694
|
-
|
|
3695
|
-
],
|
|
3693
|
+
}, qa = /* @__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), za = ["transform"], Za = /* @__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), Xa = [
|
|
3694
|
+
Za
|
|
3695
|
+
], Ka = /* @__PURE__ */ q({
|
|
3696
3696
|
__name: "VRotationMarker",
|
|
3697
3697
|
props: {
|
|
3698
3698
|
rotation: {}
|
|
3699
3699
|
},
|
|
3700
3700
|
setup(v) {
|
|
3701
|
-
return (t, e) => (p(), F("svg",
|
|
3702
|
-
|
|
3701
|
+
return (t, e) => (p(), F("svg", Qa, [
|
|
3702
|
+
qa,
|
|
3703
3703
|
o("g", {
|
|
3704
3704
|
"transform-origin": "20 20",
|
|
3705
3705
|
transform: `rotate(${45 + t.rotation})`
|
|
3706
|
-
},
|
|
3706
|
+
}, Xa, 8, za)
|
|
3707
3707
|
]));
|
|
3708
3708
|
}
|
|
3709
|
-
}),
|
|
3709
|
+
}), Ja = { class: "minimap-wrapper d-flex align-stretch justify-space-between" }, el = { class: "minimap-container" }, tl = /* @__PURE__ */ q({
|
|
3710
3710
|
__name: "VMiniMapMap",
|
|
3711
3711
|
props: {
|
|
3712
3712
|
backgroundImage: {},
|
|
@@ -3717,12 +3717,12 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
3717
3717
|
transformAngle: {}
|
|
3718
3718
|
},
|
|
3719
3719
|
setup(v) {
|
|
3720
|
-
const t = v, e = r(512), n = r(384), l = r(new
|
|
3720
|
+
const t = v, e = r(512), n = r(384), l = r(new Ee.Vector3()), a = r(new Ee.Object3D()), s = r({}), i = r(1), w = r(), h = B(() => t.allCameras), c = B(() => t.allCameras.find((g) => g.id === t.currentCamera)), m = B(() => t.rotation), _ = B(() => new Ee.Vector3(
|
|
3721
3721
|
t.minimapCamera.position.x,
|
|
3722
3722
|
t.minimapCamera.position.y,
|
|
3723
3723
|
t.minimapCamera.position.z
|
|
3724
|
-
)),
|
|
3725
|
-
const R = g.uposition.split(","), A = new
|
|
3724
|
+
)), E = B(() => parseFloat(c.value.floor_vertical_position)), L = B(() => h.value.map((g) => {
|
|
3725
|
+
const R = g.uposition.split(","), A = new Ee.Vector3(
|
|
3726
3726
|
R[0] - _.value.x,
|
|
3727
3727
|
0,
|
|
3728
3728
|
R[2] - _.value.z
|
|
@@ -3745,7 +3745,7 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
3745
3745
|
w.value && w.value.unobserve(document.getElementById("moveableDiv"));
|
|
3746
3746
|
});
|
|
3747
3747
|
function D(g) {
|
|
3748
|
-
return
|
|
3748
|
+
return Ee.MathUtils.degToRad(g);
|
|
3749
3749
|
}
|
|
3750
3750
|
function f() {
|
|
3751
3751
|
a.value.rotation.x = 180, a.value.rotation.y = t.minimapCamera.rotation.y * -1, s.value = {
|
|
@@ -3759,7 +3759,7 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
3759
3759
|
};
|
|
3760
3760
|
}
|
|
3761
3761
|
function C(g, R) {
|
|
3762
|
-
var A = new
|
|
3762
|
+
var A = new Ee.Vector3();
|
|
3763
3763
|
const j = A.subVectors(g, R);
|
|
3764
3764
|
return {
|
|
3765
3765
|
relativePosition: j,
|
|
@@ -3768,9 +3768,9 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
3768
3768
|
};
|
|
3769
3769
|
}
|
|
3770
3770
|
function V() {
|
|
3771
|
-
const g = t.minimapCamera.position.y -
|
|
3771
|
+
const g = t.minimapCamera.position.y - E.value;
|
|
3772
3772
|
n.value = 2 * (g * Math.tan(D(t.minimapCamera.fovY / 2))), e.value = 512 / 384 * n.value;
|
|
3773
|
-
const R = n.value / 2, A = e.value / 2, j = new
|
|
3773
|
+
const R = n.value / 2, A = e.value / 2, j = new Ee.Vector3(A * -1, 0, R * -1);
|
|
3774
3774
|
l.value = j;
|
|
3775
3775
|
}
|
|
3776
3776
|
function u() {
|
|
@@ -3780,8 +3780,8 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
3780
3780
|
const R = g.offsetHeight / 384 * 0.8, A = g.offsetWidth / 512 * 0.8;
|
|
3781
3781
|
g.offsetHeight > g.offsetWidth ? i.value = A * 0.5 : i.value = R * 0.9;
|
|
3782
3782
|
}
|
|
3783
|
-
return (g, R) => (p(), F("div",
|
|
3784
|
-
o("div",
|
|
3783
|
+
return (g, R) => (p(), F("div", Ja, [
|
|
3784
|
+
o("div", el, [
|
|
3785
3785
|
o("div", {
|
|
3786
3786
|
class: "web-minimap",
|
|
3787
3787
|
style: re(S.value)
|
|
@@ -3802,7 +3802,7 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
3802
3802
|
class: "single-camera-marker",
|
|
3803
3803
|
style: re(I(A))
|
|
3804
3804
|
}, null, 4)) : $("", !0),
|
|
3805
|
-
c.value.id === A.id ? (p(), N(
|
|
3805
|
+
c.value.id === A.id ? (p(), N(Ka, {
|
|
3806
3806
|
key: 1,
|
|
3807
3807
|
class: "rotation-marker-component",
|
|
3808
3808
|
rotation: m.value,
|
|
@@ -3814,10 +3814,10 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
3814
3814
|
])
|
|
3815
3815
|
]));
|
|
3816
3816
|
}
|
|
3817
|
-
}),
|
|
3817
|
+
}), ol = /* @__PURE__ */ J(tl, [["__scopeId", "data-v-503cace2"]]), nl = (v) => (Je("data-v-06db6e63"), v = v(), et(), v), al = /* @__PURE__ */ nl(() => /* @__PURE__ */ o("div", { id: "filler-div" }, null, -1)), ll = {
|
|
3818
3818
|
class: "moveable-body",
|
|
3819
3819
|
id: "moveableDivHeader"
|
|
3820
|
-
},
|
|
3820
|
+
}, il = { class: "moveable-footer" }, sl = /* @__PURE__ */ q({
|
|
3821
3821
|
__name: "VMoveable",
|
|
3822
3822
|
emits: ["close", "transform"],
|
|
3823
3823
|
setup(v, { emit: t }) {
|
|
@@ -3834,15 +3834,15 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
3834
3834
|
function _(k) {
|
|
3835
3835
|
k = k || window.event, k.preventDefault();
|
|
3836
3836
|
let S = k;
|
|
3837
|
-
k.type === "touchstart" && (S = k.touches[0]), c = S.clientX, m = S.clientY, document.addEventListener("mouseup", L, { passive: !1 }), document.addEventListener("touchend", L, { passive: !1 }), document.addEventListener("mousemove",
|
|
3837
|
+
k.type === "touchstart" && (S = k.touches[0]), c = S.clientX, m = S.clientY, document.addEventListener("mouseup", L, { passive: !1 }), document.addEventListener("touchend", L, { passive: !1 }), document.addEventListener("mousemove", E, { passive: !1 }), document.addEventListener("touchmove", E, { passive: !1 });
|
|
3838
3838
|
}
|
|
3839
|
-
function
|
|
3839
|
+
function E(k) {
|
|
3840
3840
|
k = k || window.event, k.preventDefault();
|
|
3841
3841
|
let S = k;
|
|
3842
3842
|
k.type === "touchmove" && (S = k.touches[0]), w = c - S.clientX, h = m - S.clientY, c = S.clientX, m = S.clientY, s.style.top = s.offsetTop - h + "px", s.style.left = s.offsetLeft - w + "px";
|
|
3843
3843
|
}
|
|
3844
3844
|
function L() {
|
|
3845
|
-
document.removeEventListener("mouseup", L, !1), document.removeEventListener("mousemove",
|
|
3845
|
+
document.removeEventListener("mouseup", L, !1), document.removeEventListener("mousemove", E, !1), document.removeEventListener("touchend", L, !1), document.removeEventListener("touchmove", E, !1);
|
|
3846
3846
|
}
|
|
3847
3847
|
}
|
|
3848
3848
|
function a() {
|
|
@@ -3874,17 +3874,17 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
3874
3874
|
onClick: i[1] || (i[1] = (h) => e("transform")),
|
|
3875
3875
|
title: "Rotate"
|
|
3876
3876
|
}),
|
|
3877
|
-
|
|
3878
|
-
o("div",
|
|
3877
|
+
al,
|
|
3878
|
+
o("div", ll, [
|
|
3879
3879
|
ie(s.$slots, "body", { class: "slot" }, void 0, !0)
|
|
3880
3880
|
]),
|
|
3881
|
-
o("div",
|
|
3881
|
+
o("div", il, [
|
|
3882
3882
|
ie(s.$slots, "footer", {}, void 0, !0)
|
|
3883
3883
|
])
|
|
3884
3884
|
], 2);
|
|
3885
3885
|
};
|
|
3886
3886
|
}
|
|
3887
|
-
}),
|
|
3887
|
+
}), rl = /* @__PURE__ */ J(sl, [["__scopeId", "data-v-06db6e63"]]), ul = /* @__PURE__ */ q({
|
|
3888
3888
|
__name: "VMinimapCompass",
|
|
3889
3889
|
props: {
|
|
3890
3890
|
scale: {},
|
|
@@ -3903,10 +3903,10 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
3903
3903
|
}, null, 8, ["longitude"])
|
|
3904
3904
|
], 4));
|
|
3905
3905
|
}
|
|
3906
|
-
}),
|
|
3906
|
+
}), cl = /* @__PURE__ */ J(ul, [["__scopeId", "data-v-cdeea259"]]), dl = { class: "ss-wrapper" }, vl = { class: "slider" }, ml = { class: "minimap-sun-slider" }, pl = {
|
|
3907
3907
|
key: 0,
|
|
3908
3908
|
class: "time-label"
|
|
3909
|
-
},
|
|
3909
|
+
}, hl = /* @__PURE__ */ q({
|
|
3910
3910
|
__name: "VSunSimulationSlider",
|
|
3911
3911
|
props: {
|
|
3912
3912
|
minimapJSON: {},
|
|
@@ -3915,7 +3915,7 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
3915
3915
|
},
|
|
3916
3916
|
emits: ["setBackgroundImage"],
|
|
3917
3917
|
setup(v, { emit: t }) {
|
|
3918
|
-
const e = v, n = t, l = r((/* @__PURE__ */ new Date()).getHours()), a = r(!0), s = r(!0), i = r(""), w = r(/* @__PURE__ */ new Map()), h = he("localMode"), c = he("fileLoader"), m = B(() => e.minimapJSON[e.level]), _ = B(() => `${Math.floor(l.value).toString().padStart(2, "0")}:00`),
|
|
3918
|
+
const e = v, n = t, l = r((/* @__PURE__ */ new Date()).getHours()), a = r(!0), s = r(!0), i = r(""), w = r(/* @__PURE__ */ new Map()), h = he("localMode"), c = he("fileLoader"), m = B(() => e.minimapJSON[e.level]), _ = B(() => `${Math.floor(l.value).toString().padStart(2, "0")}:00`), E = B(() => {
|
|
3919
3919
|
if (m.value.sunsimFilesTimeStamps[l.value]) {
|
|
3920
3920
|
const I = m.value.sunsimFilesTimeStamps[l.value].split(" ");
|
|
3921
3921
|
return `${I[0]} ${I[1]}`;
|
|
@@ -3977,9 +3977,9 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
3977
3977
|
}
|
|
3978
3978
|
return (I, C) => {
|
|
3979
3979
|
const V = T("v-progress-linear"), u = T("v-icon"), g = T("v-slider");
|
|
3980
|
-
return p(), F("div",
|
|
3981
|
-
o("div",
|
|
3982
|
-
o("div",
|
|
3980
|
+
return p(), F("div", dl, [
|
|
3981
|
+
o("div", vl, [
|
|
3982
|
+
o("div", ml, [
|
|
3983
3983
|
a.value ? (p(), N(V, {
|
|
3984
3984
|
key: 0,
|
|
3985
3985
|
indeterminate: "",
|
|
@@ -4010,12 +4010,12 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
4010
4010
|
_: 1
|
|
4011
4011
|
}, 8, ["modelValue"]))
|
|
4012
4012
|
]),
|
|
4013
|
-
a.value ? $("", !0) : (p(), F("div",
|
|
4013
|
+
a.value ? $("", !0) : (p(), F("div", pl, z(E.value) + " " + z(_.value), 1))
|
|
4014
4014
|
])
|
|
4015
4015
|
]);
|
|
4016
4016
|
};
|
|
4017
4017
|
}
|
|
4018
|
-
}),
|
|
4018
|
+
}), fl = /* @__PURE__ */ J(hl, [["__scopeId", "data-v-daf8e1d9"]]), gl = /* @__PURE__ */ q({
|
|
4019
4019
|
__name: "VMiniMap",
|
|
4020
4020
|
props: {
|
|
4021
4021
|
minimapJSON: {},
|
|
@@ -4039,18 +4039,18 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
4039
4039
|
function s() {
|
|
4040
4040
|
n.value = n.value + 90;
|
|
4041
4041
|
}
|
|
4042
|
-
return (i, w) => (p(), N(
|
|
4042
|
+
return (i, w) => (p(), N(rl, {
|
|
4043
4043
|
onClose: w[0] || (w[0] = (h) => e("close")),
|
|
4044
4044
|
onTransform: s
|
|
4045
4045
|
}, {
|
|
4046
4046
|
body: M(() => [
|
|
4047
|
-
b(
|
|
4047
|
+
b(cl, {
|
|
4048
4048
|
scale: l.value,
|
|
4049
4049
|
minimapCamera: i.minimapCamera,
|
|
4050
4050
|
transformAngle: n.value
|
|
4051
4051
|
}, null, 8, ["scale", "minimapCamera", "transformAngle"]),
|
|
4052
4052
|
o("div", null, [
|
|
4053
|
-
b(
|
|
4053
|
+
b(ol, {
|
|
4054
4054
|
transformAngle: n.value,
|
|
4055
4055
|
allCameras: i.allCameras,
|
|
4056
4056
|
backgroundImage: i.backgroundImage,
|
|
@@ -4061,7 +4061,7 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
4061
4061
|
])
|
|
4062
4062
|
]),
|
|
4063
4063
|
footer: M(() => [
|
|
4064
|
-
b(
|
|
4064
|
+
b(fl, {
|
|
4065
4065
|
minimapJSON: i.minimapJSON,
|
|
4066
4066
|
root: `${i.rootUrl}/minimap/`,
|
|
4067
4067
|
level: i.level,
|
|
@@ -4071,8 +4071,8 @@ const an = { id: "player-wrapper" }, ln = { id: "player-sizer" }, sn = {
|
|
|
4071
4071
|
_: 1
|
|
4072
4072
|
}));
|
|
4073
4073
|
}
|
|
4074
|
-
}), ct = /* @__PURE__ */ J(
|
|
4075
|
-
class
|
|
4074
|
+
}), ct = /* @__PURE__ */ J(gl, [["__scopeId", "data-v-b903220b"]]);
|
|
4075
|
+
class wl {
|
|
4076
4076
|
constructor(t, e) {
|
|
4077
4077
|
ee(this, "_doc");
|
|
4078
4078
|
ee(this, "_elemId");
|
|
@@ -4115,7 +4115,7 @@ class gl {
|
|
|
4115
4115
|
function Pe(v) {
|
|
4116
4116
|
return ("0" + v).slice(-2);
|
|
4117
4117
|
}
|
|
4118
|
-
function
|
|
4118
|
+
function kl() {
|
|
4119
4119
|
const v = /* @__PURE__ */ new Date();
|
|
4120
4120
|
return [
|
|
4121
4121
|
v.getFullYear().toString(),
|
|
@@ -4127,40 +4127,40 @@ function wl() {
|
|
|
4127
4127
|
Pe(v.getSeconds())
|
|
4128
4128
|
].join("");
|
|
4129
4129
|
}
|
|
4130
|
-
function
|
|
4131
|
-
return "Visuado-Snapshot-" +
|
|
4130
|
+
function yl() {
|
|
4131
|
+
return "Visuado-Snapshot-" + kl();
|
|
4132
4132
|
}
|
|
4133
|
-
class
|
|
4133
|
+
class bl {
|
|
4134
4134
|
// private cameraParams: any
|
|
4135
4135
|
constructor(t, e) {
|
|
4136
4136
|
ee(this, "data");
|
|
4137
4137
|
this.data = t;
|
|
4138
4138
|
}
|
|
4139
4139
|
download(t = null) {
|
|
4140
|
-
t = t ||
|
|
4140
|
+
t = t || yl();
|
|
4141
4141
|
const e = document.createElement("a");
|
|
4142
4142
|
typeof e.download == "string" ? (document.body.appendChild(e), e.download = t, e.href = this.data, e.click(), document.body.removeChild(e)) : location.replace(this.data);
|
|
4143
4143
|
}
|
|
4144
4144
|
}
|
|
4145
|
-
const
|
|
4145
|
+
const _l = { class: "virtual-tour-wrapper" }, Cl = {
|
|
4146
4146
|
key: 0,
|
|
4147
4147
|
class: "player-error"
|
|
4148
|
-
},
|
|
4148
|
+
}, Al = { class: "player-and-components-wrapper" }, Ll = {
|
|
4149
4149
|
key: 1,
|
|
4150
4150
|
class: "v-player"
|
|
4151
|
-
},
|
|
4151
|
+
}, Il = {
|
|
4152
4152
|
key: 3,
|
|
4153
4153
|
class: "settings-panel"
|
|
4154
|
-
},
|
|
4154
|
+
}, Ml = {
|
|
4155
4155
|
key: 0,
|
|
4156
4156
|
class: "compass-wrapper"
|
|
4157
|
-
},
|
|
4157
|
+
}, xl = {
|
|
4158
4158
|
key: 1,
|
|
4159
4159
|
class: "btn-placeholder mr-2"
|
|
4160
4160
|
}, El = {
|
|
4161
4161
|
key: 2,
|
|
4162
4162
|
class: "btn-placeholder"
|
|
4163
|
-
},
|
|
4163
|
+
}, Sl = { key: 0 }, Fl = /* @__PURE__ */ q({
|
|
4164
4164
|
__name: "VVirtualTour",
|
|
4165
4165
|
props: {
|
|
4166
4166
|
fileLoader: {},
|
|
@@ -4200,7 +4200,7 @@ const bl = { class: "virtual-tour-wrapper" }, _l = {
|
|
|
4200
4200
|
},
|
|
4201
4201
|
emits: ["onSnapshot", "saveSettings", "onInteriorUpdate", "onCameraUpdate"],
|
|
4202
4202
|
setup(v, { emit: t }) {
|
|
4203
|
-
const e = v, n = t, l = r(!1), a = r(!1), s = r(), i = r(), w = r(), h = r(), c = r(), m = r(0), _ = r(),
|
|
4203
|
+
const e = v, n = t, l = r(!1), a = r(!1), s = r(), i = r(), w = r(), h = r(), c = r(), m = r(0), _ = r(), E = r(), L = r(), k = r(0), S = r(0), D = r(0), f = r(!1), I = r(!1), C = r(), V = r(!1), u = r(new wl(document, "player-wrapper")), g = B(() => !!e.fileLoader), R = B(() => {
|
|
4204
4204
|
let d = `${e.cdnRoot}/${e.projectSlug}`;
|
|
4205
4205
|
return e.fileLoader && (d = ""), Mt(d);
|
|
4206
4206
|
}), A = B(() => `${R.value}/${j.value}/${e.apartmentId}`), j = B(() => _.value), Y = B(() => i.value ? i.value.cameras : []), ue = B(() => {
|
|
@@ -4236,7 +4236,7 @@ const bl = { class: "virtual-tour-wrapper" }, _l = {
|
|
|
4236
4236
|
imageUrl: Xe(
|
|
4237
4237
|
`${R.value}/${j.value}/${e.apartmentId}/images/1600/${d.id}.jpg`
|
|
4238
4238
|
)
|
|
4239
|
-
})) : []),
|
|
4239
|
+
})) : []), x = B(() => !G.value || !G.value[m.value] ? "" : G.value[m.value].imageUrl), W = B(() => {
|
|
4240
4240
|
let d = [];
|
|
4241
4241
|
return s.value && (d = s.value.archetypes), e.validInteriorIds.length ? d.filter(
|
|
4242
4242
|
(O) => e.validInteriorIds.includes(O.archetypeID)
|
|
@@ -4282,13 +4282,13 @@ const bl = { class: "virtual-tour-wrapper" }, _l = {
|
|
|
4282
4282
|
R.value,
|
|
4283
4283
|
j.value,
|
|
4284
4284
|
e.apartmentId
|
|
4285
|
-
), i.value && (
|
|
4285
|
+
), i.value && (E.value = i.value.cameras.find(() => !0).id), w.value = await We(
|
|
4286
4286
|
R.value,
|
|
4287
4287
|
j.value,
|
|
4288
4288
|
e.apartmentId
|
|
4289
4289
|
), w.value) {
|
|
4290
4290
|
let d = e.defaultWaypointIndex !== null ? e.defaultWaypointIndex : 0;
|
|
4291
|
-
m.value = d,
|
|
4291
|
+
m.value = d, E.value = w.value.cameras[d].id, L.value = w.value.cameras[d].id;
|
|
4292
4292
|
}
|
|
4293
4293
|
e.showMiniMap && (h.value = await Fe(
|
|
4294
4294
|
R.value,
|
|
@@ -4390,12 +4390,12 @@ const bl = { class: "virtual-tour-wrapper" }, _l = {
|
|
|
4390
4390
|
Q != -1 && (m.value = Q, O && oe(d));
|
|
4391
4391
|
}
|
|
4392
4392
|
function oe(d) {
|
|
4393
|
-
|
|
4393
|
+
E.value = d;
|
|
4394
4394
|
}
|
|
4395
4395
|
function He(d) {
|
|
4396
4396
|
_.value = d, n("onInteriorUpdate", d), n("onCameraUpdate", L.value, i.value);
|
|
4397
4397
|
}
|
|
4398
|
-
function
|
|
4398
|
+
function xe(d) {
|
|
4399
4399
|
P(d, !1), L.value = d, n("onCameraUpdate", d, i.value);
|
|
4400
4400
|
}
|
|
4401
4401
|
function Ce(d) {
|
|
@@ -4422,12 +4422,12 @@ const bl = { class: "virtual-tour-wrapper" }, _l = {
|
|
|
4422
4422
|
C.value = d;
|
|
4423
4423
|
}
|
|
4424
4424
|
async function Ct() {
|
|
4425
|
-
const d = 180 / Math.PI, O = await c.value.takePhoto(), Q = c.value.getRotationEuler(), ae = c.value.getCurrentCamera(), Be = new
|
|
4425
|
+
const d = 180 / Math.PI, O = await c.value.takePhoto(), Q = c.value.getRotationEuler(), ae = c.value.getCurrentCamera(), Be = new bl(O, ae), xt = [
|
|
4426
4426
|
Q.x * d,
|
|
4427
4427
|
Q.y * d,
|
|
4428
4428
|
Q.z * d
|
|
4429
4429
|
];
|
|
4430
|
-
return n("onSnapshot", Be,
|
|
4430
|
+
return n("onSnapshot", Be, xt), Be;
|
|
4431
4431
|
}
|
|
4432
4432
|
function Xe(d) {
|
|
4433
4433
|
let O = d;
|
|
@@ -4458,9 +4458,9 @@ const bl = { class: "virtual-tour-wrapper" }, _l = {
|
|
|
4458
4458
|
}
|
|
4459
4459
|
return (d, O) => {
|
|
4460
4460
|
const Q = T("v-btn");
|
|
4461
|
-
return p(), F("div",
|
|
4462
|
-
a.value ? (p(), F("div",
|
|
4463
|
-
o("div",
|
|
4461
|
+
return p(), F("div", _l, [
|
|
4462
|
+
a.value ? (p(), F("div", Cl, "Error loading the player!!")) : $("", !0),
|
|
4463
|
+
o("div", Al, [
|
|
4464
4464
|
!u.value.isActive && h.value && L.value && K.value && I.value ? (p(), N(ct, {
|
|
4465
4465
|
key: 0,
|
|
4466
4466
|
allCameras: Y.value,
|
|
@@ -4474,18 +4474,18 @@ const bl = { class: "virtual-tour-wrapper" }, _l = {
|
|
|
4474
4474
|
onClose: O[0] || (O[0] = (ae) => I.value = !1),
|
|
4475
4475
|
onSetBackgroundImage: st
|
|
4476
4476
|
}, null, 8, ["allCameras", "rootUrl", "level", "backgroundImage", "minimapJSON", "rotation", "currentCamera", "minimapCamera"])) : $("", !0),
|
|
4477
|
-
j.value &&
|
|
4478
|
-
b(
|
|
4477
|
+
j.value && E.value ? (p(), F("div", Ll, [
|
|
4478
|
+
b(kn, {
|
|
4479
4479
|
ref: "player",
|
|
4480
4480
|
"file-loader": d.fileLoader,
|
|
4481
4481
|
style: re({ zIndex: f.value ? 1 : 2 }),
|
|
4482
4482
|
showStaticImage: f.value,
|
|
4483
4483
|
isFullScreen: u.value.isActive,
|
|
4484
4484
|
rootUrl: A.value,
|
|
4485
|
-
currentCameraId:
|
|
4485
|
+
currentCameraId: E.value,
|
|
4486
4486
|
"mouse-sensitivity": d.mouseSensitivity,
|
|
4487
4487
|
"is-in-iframe": d.isInIframe,
|
|
4488
|
-
onNewCameraCallback:
|
|
4488
|
+
onNewCameraCallback: xe,
|
|
4489
4489
|
onNewRotationCallback: Ce,
|
|
4490
4490
|
onNewFloorCallback: ve,
|
|
4491
4491
|
onNewFovCallback: Ze,
|
|
@@ -4493,9 +4493,9 @@ const bl = { class: "virtual-tour-wrapper" }, _l = {
|
|
|
4493
4493
|
onPlayerApiCallback: yt
|
|
4494
4494
|
}, {
|
|
4495
4495
|
"slideshow-image": M(() => [
|
|
4496
|
-
f.value ? (p(), N(
|
|
4496
|
+
f.value ? (p(), N(Hn, {
|
|
4497
4497
|
key: 0,
|
|
4498
|
-
image:
|
|
4498
|
+
image: x.value
|
|
4499
4499
|
}, null, 8, ["image"])) : $("", !0)
|
|
4500
4500
|
]),
|
|
4501
4501
|
"top-left": M(() => [
|
|
@@ -4509,7 +4509,7 @@ const bl = { class: "virtual-tour-wrapper" }, _l = {
|
|
|
4509
4509
|
}, null, 512)), [
|
|
4510
4510
|
[me, V.value]
|
|
4511
4511
|
]) : $("", !0),
|
|
4512
|
-
h.value &&
|
|
4512
|
+
h.value && E.value && K.value ? de((p(), N(Q, {
|
|
4513
4513
|
key: 1,
|
|
4514
4514
|
density: "comfortable",
|
|
4515
4515
|
elevation: "3",
|
|
@@ -4525,8 +4525,8 @@ const bl = { class: "virtual-tour-wrapper" }, _l = {
|
|
|
4525
4525
|
"floor-levels": ue.value,
|
|
4526
4526
|
onLevel: ve
|
|
4527
4527
|
}, null, 8, ["level", "floor-levels"])) : $("", !0),
|
|
4528
|
-
V.value && d.adminMode && l.value ? (p(), F("div",
|
|
4529
|
-
b(
|
|
4528
|
+
V.value && d.adminMode && l.value ? (p(), F("div", Il, [
|
|
4529
|
+
b(Ga, {
|
|
4530
4530
|
"project-slug": d.projectSlug,
|
|
4531
4531
|
initialSettings: d.playerSettings,
|
|
4532
4532
|
onUpdateSettings: At,
|
|
@@ -4535,18 +4535,18 @@ const bl = { class: "virtual-tour-wrapper" }, _l = {
|
|
|
4535
4535
|
])) : $("", !0)
|
|
4536
4536
|
]),
|
|
4537
4537
|
"top-center": M(() => [
|
|
4538
|
-
V.value ? (p(), N(
|
|
4538
|
+
V.value ? (p(), N(Kn, {
|
|
4539
4539
|
key: 0,
|
|
4540
4540
|
"return-url": d.websiteUrl
|
|
4541
4541
|
}, null, 8, ["return-url"])) : $("", !0)
|
|
4542
4542
|
]),
|
|
4543
4543
|
"top-right": M(() => [
|
|
4544
|
-
i.value && d.showCompass ? de((p(), F("div",
|
|
4545
|
-
b(
|
|
4544
|
+
i.value && d.showCompass ? de((p(), F("div", Ml, [
|
|
4545
|
+
b(Rn, { rotation: k.value }, null, 8, ["rotation"])
|
|
4546
4546
|
], 512)), [
|
|
4547
4547
|
[me, V.value]
|
|
4548
4548
|
]) : $("", !0),
|
|
4549
|
-
V.value && i.value && ne.value && d.showTimeOfDay ? (p(), N(
|
|
4549
|
+
V.value && i.value && ne.value && d.showTimeOfDay ? (p(), N(Gn, {
|
|
4550
4550
|
key: 1,
|
|
4551
4551
|
hours: le.value.hours,
|
|
4552
4552
|
minutes: le.value.minutes
|
|
@@ -4567,7 +4567,7 @@ const bl = { class: "virtual-tour-wrapper" }, _l = {
|
|
|
4567
4567
|
})
|
|
4568
4568
|
]),
|
|
4569
4569
|
"center-center": M(() => [
|
|
4570
|
-
b(
|
|
4570
|
+
b(Ma, {
|
|
4571
4571
|
project: R.value,
|
|
4572
4572
|
onCloseTutorial: O[3] || (O[3] = (ae) => V.value = !0)
|
|
4573
4573
|
}, null, 8, ["project"]),
|
|
@@ -4600,13 +4600,13 @@ const bl = { class: "virtual-tour-wrapper" }, _l = {
|
|
|
4600
4600
|
})
|
|
4601
4601
|
]),
|
|
4602
4602
|
"bottom-left": M(() => [
|
|
4603
|
-
V.value && d.showFullScreen ? (p(), N(
|
|
4603
|
+
V.value && d.showFullScreen ? (p(), N(qn, {
|
|
4604
4604
|
key: 0,
|
|
4605
4605
|
isFullScreen: u.value.isActive,
|
|
4606
4606
|
class: "btn-fullscreen",
|
|
4607
4607
|
onToggleFullscreen: bt
|
|
4608
4608
|
}, null, 8, ["isFullScreen"])) : $("", !0),
|
|
4609
|
-
V.value && d.showSnapshot ? (p(), F("div",
|
|
4609
|
+
V.value && d.showSnapshot ? (p(), F("div", xl, [
|
|
4610
4610
|
b(Q, {
|
|
4611
4611
|
density: "comfortable",
|
|
4612
4612
|
elevation: "3",
|
|
@@ -4615,12 +4615,12 @@ const bl = { class: "virtual-tour-wrapper" }, _l = {
|
|
|
4615
4615
|
})
|
|
4616
4616
|
])) : $("", !0),
|
|
4617
4617
|
V.value && d.showShare && !u.value.isActive ? (p(), F("div", El, [
|
|
4618
|
-
b(
|
|
4618
|
+
b(Bn)
|
|
4619
4619
|
])) : $("", !0)
|
|
4620
4620
|
]),
|
|
4621
4621
|
"bottom-center": M(() => [
|
|
4622
|
-
V.value && d.showCarousel ? (p(), F("div",
|
|
4623
|
-
d.displayViewModeSwitch ? (p(), N(
|
|
4622
|
+
V.value && d.showCarousel ? (p(), F("div", Sl, [
|
|
4623
|
+
d.displayViewModeSwitch ? (p(), N(zn, {
|
|
4624
4624
|
key: 0,
|
|
4625
4625
|
"show-static-image": f.value,
|
|
4626
4626
|
onToggle: _t
|
|
@@ -4637,7 +4637,7 @@ const bl = { class: "virtual-tour-wrapper" }, _l = {
|
|
|
4637
4637
|
])) : $("", !0)
|
|
4638
4638
|
]),
|
|
4639
4639
|
"bottom-right": M(() => [
|
|
4640
|
-
V.value && d.showInteriorOptions && Z.value ? (p(), N(
|
|
4640
|
+
V.value && d.showInteriorOptions && Z.value ? (p(), N(Vn, {
|
|
4641
4641
|
key: 0,
|
|
4642
4642
|
availableArchetypes: Z.value,
|
|
4643
4643
|
selectedIndex: U.value,
|
|
@@ -4660,19 +4660,19 @@ const bl = { class: "virtual-tour-wrapper" }, _l = {
|
|
|
4660
4660
|
]);
|
|
4661
4661
|
};
|
|
4662
4662
|
}
|
|
4663
|
-
}),
|
|
4663
|
+
}), Bl = /* @__PURE__ */ J(Fl, [["__scopeId", "data-v-31936b2f"]]), Tl = {
|
|
4664
4664
|
install: function(t) {
|
|
4665
|
-
t.component("VApartmentChooser",
|
|
4665
|
+
t.component("VApartmentChooser", bo), t.component("VBuildingChooser", Xo), t.component("VVirtualTour", Bl);
|
|
4666
4666
|
}
|
|
4667
4667
|
};
|
|
4668
4668
|
export {
|
|
4669
4669
|
Ae as ResourceLoader,
|
|
4670
|
-
|
|
4671
|
-
|
|
4670
|
+
bo as VApartmentChooser,
|
|
4671
|
+
Xo as VBuildingChooser,
|
|
4672
4672
|
ot as VFloatingCard,
|
|
4673
4673
|
Ne as VHoverProbe,
|
|
4674
4674
|
lt as VNorthDirection,
|
|
4675
|
-
|
|
4675
|
+
Bl as VVirtualTour,
|
|
4676
4676
|
nt as VZoomBox,
|
|
4677
|
-
|
|
4677
|
+
Tl as default
|
|
4678
4678
|
};
|