@qispace/vue3-player 0.3.20 → 0.3.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var xa = Object.defineProperty;
|
|
2
2
|
var Da = (l, a, e) => a in l ? xa(l, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[a] = e;
|
|
3
3
|
var pe = (l, a, e) => (Da(l, typeof a != "symbol" ? a + "" : a, e), e);
|
|
4
|
-
import { defineComponent as j, ref as v, computed as B, openBlock as
|
|
4
|
+
import { defineComponent as j, ref as v, computed as B, openBlock as d, createElementBlock as x, watch as H, onMounted as Ie, onBeforeUnmount as We, withDirectives as we, createElementVNode as u, normalizeStyle as fe, vShow as ke, createVNode as C, Fragment as ve, renderList as ye, createCommentVNode as $, inject as Ne, resolveComponent as T, withCtx as _, toDisplayString as Q, unref as D, createTextVNode as te, normalizeClass as ge, createBlock as V, renderSlot as ne, provide as Ke, reactive as gt, watchEffect as Ve, resolveDynamicComponent as Gt, normalizeProps as it, guardReactiveProps as rt, mergeProps as Me, nextTick as De, Transition as Te, createSlots as Aa, toRefs as $e, pushScopeId as yt, popScopeId as _t, vModelText as Fa, createStaticVNode as Qt, onBeforeUpdate as La, withModifiers as Ma } from "vue";
|
|
5
5
|
import pt from "axios";
|
|
6
6
|
import * as Oa from "@qispace/player-core";
|
|
7
7
|
import { Vector3 as ot, Object3D as Ea, MathUtils as Ta } from "three";
|
|
@@ -54,7 +54,7 @@ const Va = /* @__PURE__ */ j({
|
|
|
54
54
|
const e = v(), n = B(() => window.getComputedStyle(e.value).display === "none");
|
|
55
55
|
return a({
|
|
56
56
|
isHoverEnabled: n
|
|
57
|
-
}), (t, o) => (
|
|
57
|
+
}), (t, o) => (d(), x("div", {
|
|
58
58
|
ref_key: "hoverCheck",
|
|
59
59
|
ref: e,
|
|
60
60
|
class: "hover-check"
|
|
@@ -82,7 +82,7 @@ const $a = /* @__PURE__ */ j({
|
|
|
82
82
|
},
|
|
83
83
|
emits: ["selectUnit", "goToUnit", "hoverOver", "hoverOut", "pos"],
|
|
84
84
|
setup(l, { emit: a }) {
|
|
85
|
-
const e = l, n = a, t = v({ x: 0, y: 0, width: 0, height: 0 }), o = v(0), i = v(0), s = v(),
|
|
85
|
+
const e = l, n = a, t = v({ x: 0, y: 0, width: 0, height: 0 }), o = v(0), i = v(0), s = v(), m = v(), p = v(), r = v(), f = v(-1), k = v(!1), g = v(), c = v(), h = v({}), S = v("auto"), b = v(new Fe()), y = v({}), Y = v(), E = v(), P = v(), I = v(), M = v(), q = B(() => P.value.isHoverEnabled), R = B(() => he(
|
|
86
86
|
e.cdnFileResolver,
|
|
87
87
|
`/scenedata${e.viewModel.currentScene}.png`
|
|
88
88
|
)), K = B(() => R.value in h.value ? h.value[R.value] : null), w = B(() => f.value < 0 ? !1 : e.sceneData.find((L) => L.index === f.value) || !1), A = B(() => ({
|
|
@@ -131,20 +131,20 @@ const $a = /* @__PURE__ */ j({
|
|
|
131
131
|
}), H(t, () => {
|
|
132
132
|
n("pos", t.value);
|
|
133
133
|
}), Ie(() => {
|
|
134
|
-
|
|
134
|
+
E.value = () => {
|
|
135
135
|
clearTimeout(Y.value), Ae(), Y.value = setTimeout(() => {
|
|
136
136
|
Ae();
|
|
137
137
|
}, 50);
|
|
138
|
-
}, window.addEventListener("resize",
|
|
138
|
+
}, window.addEventListener("resize", E.value), Ae();
|
|
139
139
|
}), We(() => {
|
|
140
|
-
window.removeEventListener("resize",
|
|
140
|
+
window.removeEventListener("resize", E.value);
|
|
141
141
|
for (const G in h.value)
|
|
142
142
|
URL.revokeObjectURL(h.value[G]);
|
|
143
143
|
});
|
|
144
144
|
function N() {
|
|
145
|
-
s.value = I.value.getContext("2d", { willReadFrequently: !0 }),
|
|
145
|
+
s.value = I.value.getContext("2d", { willReadFrequently: !0 }), m.value = new Image(), m.value.onload = () => {
|
|
146
146
|
Ue(), I.value.addEventListener("mousemove", Ce(ue, 50));
|
|
147
|
-
},
|
|
147
|
+
}, m.value.src = K.value;
|
|
148
148
|
}
|
|
149
149
|
function ue(G) {
|
|
150
150
|
const L = J(G.offsetX, G.offsetY);
|
|
@@ -160,19 +160,19 @@ const $a = /* @__PURE__ */ j({
|
|
|
160
160
|
L < 0 || q && _e(L);
|
|
161
161
|
}
|
|
162
162
|
function O() {
|
|
163
|
-
if (
|
|
164
|
-
I.value.width =
|
|
165
|
-
|
|
163
|
+
if (m.value && m.value.width) {
|
|
164
|
+
I.value.width = m.value.width, I.value.height = m.value.height, s.value.drawImage(
|
|
165
|
+
m.value,
|
|
166
166
|
0,
|
|
167
167
|
0,
|
|
168
|
-
|
|
169
|
-
|
|
168
|
+
m.value.width,
|
|
169
|
+
m.value.height
|
|
170
170
|
), r.value = s.value.getImageData(
|
|
171
171
|
0,
|
|
172
172
|
0,
|
|
173
173
|
I.value.width,
|
|
174
174
|
I.value.height
|
|
175
|
-
),
|
|
175
|
+
), p.value = s.value.getImageData(
|
|
176
176
|
0,
|
|
177
177
|
0,
|
|
178
178
|
I.value.width,
|
|
@@ -187,7 +187,7 @@ const $a = /* @__PURE__ */ j({
|
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
189
|
function J(G, L) {
|
|
190
|
-
g.value = G,
|
|
190
|
+
g.value = G, c.value = L;
|
|
191
191
|
const Z = I.value.offsetWidth / I.value.width, me = I.value.offsetHeight / I.value.height, re = (G / Z).toFixed(), ce = (L / me).toFixed(), de = Number(ce) * (I.value.width * 4) + Number(re) * 4, ze = r.value.data[de];
|
|
192
192
|
return r.value.data[de + 3] > 0 ? ze : -1;
|
|
193
193
|
}
|
|
@@ -202,7 +202,7 @@ const $a = /* @__PURE__ */ j({
|
|
|
202
202
|
const ce = e.colorCallback(L.unitId, re);
|
|
203
203
|
if (ce)
|
|
204
204
|
for (let de = 0; de < Z.length; de++)
|
|
205
|
-
|
|
205
|
+
p.value.data[Z[de]] = ce.r, p.value.data[Z[de] + 1] = ce.g, p.value.data[Z[de] + 2] = ce.b, p.value.data[Z[de] + 3] = ce.a;
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
208
|
});
|
|
@@ -233,9 +233,9 @@ const $a = /* @__PURE__ */ j({
|
|
|
233
233
|
n("selectUnit", G), G && e.canGoToUnitCallback(G) && n("goToUnit", G);
|
|
234
234
|
}
|
|
235
235
|
function Le(G = 0) {
|
|
236
|
-
if (!
|
|
236
|
+
if (!p.value)
|
|
237
237
|
return;
|
|
238
|
-
const L =
|
|
238
|
+
const L = p.value.data;
|
|
239
239
|
for (let Z = 3; Z < L.length; Z += 4)
|
|
240
240
|
L[Z] = G;
|
|
241
241
|
}
|
|
@@ -248,7 +248,7 @@ const $a = /* @__PURE__ */ j({
|
|
|
248
248
|
O(), be();
|
|
249
249
|
}
|
|
250
250
|
function be() {
|
|
251
|
-
Le(), X(), s.value &&
|
|
251
|
+
Le(), X(), s.value && p.value && s.value.putImageData(p.value, 0, 0);
|
|
252
252
|
}
|
|
253
253
|
function xe() {
|
|
254
254
|
k.value = !1;
|
|
@@ -259,7 +259,7 @@ const $a = /* @__PURE__ */ j({
|
|
|
259
259
|
Oe.value && (Oe.value = !1, G.apply(this, Z), setTimeout(() => Oe.value = !0, L));
|
|
260
260
|
};
|
|
261
261
|
}
|
|
262
|
-
return (G, L) => (
|
|
262
|
+
return (G, L) => (d(), x("div", {
|
|
263
263
|
ref_key: "container",
|
|
264
264
|
ref: M,
|
|
265
265
|
id: "canvas"
|
|
@@ -292,7 +292,7 @@ const $a = /* @__PURE__ */ j({
|
|
|
292
292
|
},
|
|
293
293
|
emits: ["selectUnit", "goToUnit", "hoverOver", "hoverOut", "pos"],
|
|
294
294
|
setup(l, { emit: a }) {
|
|
295
|
-
const e = l, n = a, t = v({ x: 0, y: 0, width: 0, height: 0 }), o = v(-1), i = v({}), s = v(null),
|
|
295
|
+
const e = l, n = a, t = v({ x: 0, y: 0, width: 0, height: 0 }), o = v(-1), i = v({}), s = v(null), m = v(new Fe()), p = v(), r = v(), f = B(() => r.value.isHoverEnabled);
|
|
296
296
|
H(
|
|
297
297
|
() => e.viewModel.currentScene,
|
|
298
298
|
() => {
|
|
@@ -307,9 +307,9 @@ const $a = /* @__PURE__ */ j({
|
|
|
307
307
|
{ immediate: !0 }
|
|
308
308
|
), H(t, () => {
|
|
309
309
|
n("pos", t.value);
|
|
310
|
-
}), H(o, (
|
|
311
|
-
if (
|
|
312
|
-
const I = g(
|
|
310
|
+
}), H(o, (E, P) => {
|
|
311
|
+
if (E >= 0) {
|
|
312
|
+
const I = g(E);
|
|
313
313
|
n("hoverOver", {
|
|
314
314
|
hoverUnit: I,
|
|
315
315
|
closeHandler: () => {
|
|
@@ -326,13 +326,13 @@ const $a = /* @__PURE__ */ j({
|
|
|
326
326
|
});
|
|
327
327
|
}
|
|
328
328
|
}), Ie(() => {
|
|
329
|
-
for (let
|
|
330
|
-
const P = he(e.cdnFileResolver, `/scenedata${
|
|
329
|
+
for (let E = 1; E <= 4; E++) {
|
|
330
|
+
const P = he(e.cdnFileResolver, `/scenedata${E}.svg`), I = {
|
|
331
331
|
markup: "",
|
|
332
332
|
viewBox: "",
|
|
333
333
|
svgObjects: []
|
|
334
334
|
};
|
|
335
|
-
|
|
335
|
+
m.value.loadJson(P).then((M) => {
|
|
336
336
|
I.markup = M;
|
|
337
337
|
const R = new DOMParser().parseFromString(M, "image/svg+xml").getElementsByTagName("svg")[0];
|
|
338
338
|
I.viewBox = R.getAttribute("viewBox"), I.svgObjects = Array.from(
|
|
@@ -340,39 +340,39 @@ const $a = /* @__PURE__ */ j({
|
|
|
340
340
|
).map((K) => ({
|
|
341
341
|
index: parseInt(K.getAttribute("data-index")),
|
|
342
342
|
svg: K.innerHTML
|
|
343
|
-
})), i.value = { ...i.value, [
|
|
343
|
+
})), i.value = { ...i.value, [E]: I };
|
|
344
344
|
});
|
|
345
345
|
}
|
|
346
|
-
|
|
346
|
+
p.value.addEventListener("mousemove", Y(k, 50));
|
|
347
347
|
});
|
|
348
|
-
function k(
|
|
348
|
+
function k(E) {
|
|
349
349
|
t.value = {
|
|
350
|
-
x:
|
|
351
|
-
y:
|
|
352
|
-
width:
|
|
353
|
-
height:
|
|
350
|
+
x: E.offsetX,
|
|
351
|
+
y: E.offsetY,
|
|
352
|
+
width: p.value.offsetWidth,
|
|
353
|
+
height: p.value.offsetHeight
|
|
354
354
|
};
|
|
355
355
|
}
|
|
356
|
-
function g(
|
|
356
|
+
function g(E) {
|
|
357
357
|
var P;
|
|
358
358
|
return (P = e.sceneData.find(
|
|
359
|
-
(I) => I.index === (typeof
|
|
359
|
+
(I) => I.index === (typeof E == "string" ? parseInt(E) : E)
|
|
360
360
|
)) == null ? void 0 : P.unitId;
|
|
361
361
|
}
|
|
362
|
-
function
|
|
363
|
-
f.value && (o.value =
|
|
362
|
+
function c(E) {
|
|
363
|
+
f.value && (o.value = E);
|
|
364
364
|
}
|
|
365
|
-
function h(
|
|
365
|
+
function h(E) {
|
|
366
366
|
f.value && (o.value = -1);
|
|
367
367
|
}
|
|
368
|
-
function S(
|
|
369
|
-
const P = g(
|
|
370
|
-
n("selectUnit", P), f.value && P && e.canGoToUnitCallback(P) ? n("goToUnit", P) : o.value =
|
|
368
|
+
function S(E) {
|
|
369
|
+
const P = g(E);
|
|
370
|
+
n("selectUnit", P), f.value && P && e.canGoToUnitCallback(P) ? n("goToUnit", P) : o.value = E;
|
|
371
371
|
}
|
|
372
|
-
function b(
|
|
373
|
-
const P = g(
|
|
372
|
+
function b(E) {
|
|
373
|
+
const P = g(E);
|
|
374
374
|
let I = "idle";
|
|
375
|
-
o.value < 0 && e.selectedUnitId && P === e.selectedUnitId ? I = "selected" : o.value >= 0 && o.value ===
|
|
375
|
+
o.value < 0 && e.selectedUnitId && P === e.selectedUnitId ? I = "selected" : o.value >= 0 && o.value === E && (I = "hover");
|
|
376
376
|
const M = e.colorCallback(P, I);
|
|
377
377
|
if (M) {
|
|
378
378
|
const { r: q, g: R, b: K, a: w, s: A } = M;
|
|
@@ -395,15 +395,15 @@ const $a = /* @__PURE__ */ j({
|
|
|
395
395
|
};
|
|
396
396
|
}
|
|
397
397
|
const y = v(!1);
|
|
398
|
-
function Y(
|
|
398
|
+
function Y(E, P) {
|
|
399
399
|
return y.value = !0, function(...I) {
|
|
400
|
-
y.value && (y.value = !1,
|
|
400
|
+
y.value && (y.value = !1, E.apply(this, I), setTimeout(() => y.value = !0, P));
|
|
401
401
|
};
|
|
402
402
|
}
|
|
403
|
-
return (
|
|
403
|
+
return (E, P) => (d(), x("div", {
|
|
404
404
|
id: "container",
|
|
405
405
|
ref_key: "container",
|
|
406
|
-
ref:
|
|
406
|
+
ref: p
|
|
407
407
|
}, [
|
|
408
408
|
we(u("div", {
|
|
409
409
|
class: "svg-container",
|
|
@@ -411,21 +411,21 @@ const $a = /* @__PURE__ */ j({
|
|
|
411
411
|
opacity: !s.value || !s.value.svgObjects ? 0 : 1
|
|
412
412
|
})
|
|
413
413
|
}, [
|
|
414
|
-
s.value && s.value.svgObjects ? (
|
|
414
|
+
s.value && s.value.svgObjects ? (d(), x("svg", {
|
|
415
415
|
key: 0,
|
|
416
416
|
viewBox: s.value.viewBox
|
|
417
417
|
}, [
|
|
418
|
-
(
|
|
418
|
+
(d(!0), x(ve, null, ye(s.value.svgObjects, ({ index: I, svg: M }) => (d(), x("g", {
|
|
419
419
|
key: I,
|
|
420
420
|
innerHTML: M,
|
|
421
421
|
style: fe(b(I)),
|
|
422
|
-
onMouseenter: (q) =>
|
|
422
|
+
onMouseenter: (q) => c(I),
|
|
423
423
|
onMouseleave: (q) => h(),
|
|
424
424
|
onClick: (q) => S(I)
|
|
425
425
|
}, null, 44, Ua))), 128))
|
|
426
426
|
], 8, Ra)) : $("", !0)
|
|
427
427
|
], 4), [
|
|
428
|
-
[ke, !
|
|
428
|
+
[ke, !E.viewModel.isRotating]
|
|
429
429
|
]),
|
|
430
430
|
C(Ye, {
|
|
431
431
|
ref_key: "hoverProbe",
|
|
@@ -450,21 +450,21 @@ const $a = /* @__PURE__ */ j({
|
|
|
450
450
|
setup(l, { emit: a }) {
|
|
451
451
|
const e = l, n = B(() => e.selectedUnitId), t = B(() => e.nextUnitId), o = B(() => e.prevUnitId), i = a, s = Ne(Be);
|
|
452
452
|
Ie(() => {
|
|
453
|
-
window.addEventListener("keydown",
|
|
453
|
+
window.addEventListener("keydown", m);
|
|
454
454
|
}), We(() => {
|
|
455
|
-
window.removeEventListener("keydown",
|
|
455
|
+
window.removeEventListener("keydown", m);
|
|
456
456
|
});
|
|
457
|
-
function p
|
|
458
|
-
|
|
457
|
+
function m(p) {
|
|
458
|
+
p.keyCode === 37 ? e.prevUnitId && i("prevUnit") : p.keyCode === 39 && e.nextUnitId && i("nextUnit");
|
|
459
459
|
}
|
|
460
|
-
return (
|
|
461
|
-
const f =
|
|
462
|
-
return
|
|
460
|
+
return (p, r) => {
|
|
461
|
+
const f = T("v-btn");
|
|
462
|
+
return d(), x("div", null, [
|
|
463
463
|
C(f, {
|
|
464
464
|
elevation: "1",
|
|
465
465
|
icon: "mdi-rotate-right",
|
|
466
466
|
class: "black darken-1",
|
|
467
|
-
onClick: r[0] || (r[0] = (k) =>
|
|
467
|
+
onClick: r[0] || (r[0] = (k) => p.viewModel.rotateClockwise())
|
|
468
468
|
}),
|
|
469
469
|
C(f, {
|
|
470
470
|
elevation: "1",
|
|
@@ -479,11 +479,11 @@ const $a = /* @__PURE__ */ j({
|
|
|
479
479
|
elevation: "1",
|
|
480
480
|
rounded: "",
|
|
481
481
|
plain: "",
|
|
482
|
-
disabled: !n.value || !
|
|
482
|
+
disabled: !n.value || !p.canGoToUnitCallback(n.value),
|
|
483
483
|
onClick: r[2] || (r[2] = (k) => i("goToUnit", n.value))
|
|
484
484
|
}, {
|
|
485
485
|
default: _(() => [
|
|
486
|
-
n.value &&
|
|
486
|
+
n.value && p.canGoToUnitCallback(n.value) ? (d(), x("span", za, Q(D(s).getLabel("seeApartment")) + " ", 1)) : $("", !0),
|
|
487
487
|
u("span", Pa, Q(n.value ? e.unitRenderer(n.value) : "-"), 1)
|
|
488
488
|
]),
|
|
489
489
|
_: 1
|
|
@@ -501,7 +501,7 @@ const $a = /* @__PURE__ */ j({
|
|
|
501
501
|
plain: "",
|
|
502
502
|
icon: "mdi-rotate-left",
|
|
503
503
|
class: "black darken-1",
|
|
504
|
-
onClick: r[4] || (r[4] = (k) =>
|
|
504
|
+
onClick: r[4] || (r[4] = (k) => p.viewModel.rotateCounterClockwise())
|
|
505
505
|
})
|
|
506
506
|
]);
|
|
507
507
|
};
|
|
@@ -618,12 +618,12 @@ const Ga = {
|
|
|
618
618
|
new It(t.length).onLoadFinished(() => n("loaded")).onLoadProgress((b) => n("progress", b)).onLoadError(() => n("error"))
|
|
619
619
|
), i = v(
|
|
620
620
|
new Na(e.cardinalFrames, Yt)
|
|
621
|
-
), s = v(t),
|
|
621
|
+
), s = v(t), m = v(!1), p = B(() => s.value.find((b) => b.show));
|
|
622
622
|
H(
|
|
623
623
|
() => e.viewModel.currentScene,
|
|
624
624
|
(b, y) => {
|
|
625
|
-
const Y = S(y, b),
|
|
626
|
-
r(y, Y,
|
|
625
|
+
const Y = S(y, b), E = h(y, b);
|
|
626
|
+
r(y, Y, E);
|
|
627
627
|
}
|
|
628
628
|
), Ie(() => {
|
|
629
629
|
k();
|
|
@@ -653,18 +653,18 @@ const Ga = {
|
|
|
653
653
|
function g() {
|
|
654
654
|
const b = [];
|
|
655
655
|
for (let y = 0; y < Yt; y++) {
|
|
656
|
-
const { sourceSet: Y, defaultPath:
|
|
656
|
+
const { sourceSet: Y, defaultPath: E } = c(y);
|
|
657
657
|
b.push({
|
|
658
658
|
index: y,
|
|
659
659
|
sourceSet: Y,
|
|
660
|
-
defaultPath:
|
|
660
|
+
defaultPath: E,
|
|
661
661
|
show: !1
|
|
662
662
|
});
|
|
663
663
|
}
|
|
664
664
|
return b;
|
|
665
665
|
}
|
|
666
|
-
function
|
|
667
|
-
const y = ("0000" + (b + 1)).slice(-4), Y = e.build ? `?v=${e.build}` : "",
|
|
666
|
+
function c(b) {
|
|
667
|
+
const y = ("0000" + (b + 1)).slice(-4), Y = e.build ? `?v=${e.build}` : "", E = [
|
|
668
668
|
`${he(
|
|
669
669
|
e.cdnFileResolver,
|
|
670
670
|
`/480/${y}.jpg${Y}`
|
|
@@ -681,55 +681,55 @@ const Ga = {
|
|
|
681
681
|
e.cdnFileResolver,
|
|
682
682
|
`/480/${y}.jpg${Y}`
|
|
683
683
|
);
|
|
684
|
-
return { sourceSet:
|
|
684
|
+
return { sourceSet: E, defaultPath: P };
|
|
685
685
|
}
|
|
686
686
|
function h(b, y) {
|
|
687
|
-
const Y = lt / 2,
|
|
688
|
-
return
|
|
687
|
+
const Y = lt / 2, E = Math.abs(b - y);
|
|
688
|
+
return E > Y ? lt - E : E;
|
|
689
689
|
}
|
|
690
690
|
function S(b, y) {
|
|
691
691
|
if (b === y)
|
|
692
692
|
return 0;
|
|
693
|
-
const
|
|
694
|
-
return
|
|
693
|
+
const E = Math.abs(b - y) < lt / 2;
|
|
694
|
+
return E && b < y || !E && b > y ? 1 : -1;
|
|
695
695
|
}
|
|
696
696
|
return (b, y) => {
|
|
697
|
-
const Y =
|
|
698
|
-
return
|
|
699
|
-
o.value.isError ? (
|
|
697
|
+
const Y = T("v-icon");
|
|
698
|
+
return d(), x("div", null, [
|
|
699
|
+
o.value.isError ? (d(), x("div", Ga, [
|
|
700
700
|
C(Y, { "x-large": "" }, {
|
|
701
701
|
default: _(() => [
|
|
702
702
|
te("mdi-alert-circle-outline")
|
|
703
703
|
]),
|
|
704
704
|
_: 1
|
|
705
705
|
})
|
|
706
|
-
])) :
|
|
707
|
-
(
|
|
708
|
-
key:
|
|
709
|
-
alt:
|
|
710
|
-
class: ge({ "frame-image": !0, show:
|
|
706
|
+
])) : m.value ? (d(), x("div", Xa, [
|
|
707
|
+
(d(!0), x(ve, null, ye(s.value, (E) => (d(), x("picture", {
|
|
708
|
+
key: E.index,
|
|
709
|
+
alt: E.index,
|
|
710
|
+
class: ge({ "frame-image": !0, show: E.show })
|
|
711
711
|
}, [
|
|
712
712
|
u("source", {
|
|
713
|
-
srcset:
|
|
713
|
+
srcset: E.sourceSet,
|
|
714
714
|
type: "image/jpeg"
|
|
715
715
|
}, null, 8, en),
|
|
716
716
|
u("img", {
|
|
717
|
-
src:
|
|
717
|
+
src: E.defaultPath,
|
|
718
718
|
alt: "Building image",
|
|
719
719
|
onLoad: y[2] || (y[2] = (P) => o.value.partLoaded()),
|
|
720
720
|
onError: y[3] || (y[3] = (P) => o.value.errorDetected())
|
|
721
721
|
}, null, 40, tn)
|
|
722
722
|
], 10, Ka))), 128))
|
|
723
|
-
])) : (
|
|
724
|
-
|
|
723
|
+
])) : (d(), x("div", Qa, [
|
|
724
|
+
p.value ? (d(), x("picture", Za, [
|
|
725
725
|
u("source", {
|
|
726
|
-
srcset:
|
|
726
|
+
srcset: p.value.sourceSet,
|
|
727
727
|
type: "image/jpeg"
|
|
728
728
|
}, null, 8, qa),
|
|
729
729
|
u("img", {
|
|
730
|
-
src:
|
|
731
|
-
onLoad: y[0] || (y[0] = (
|
|
732
|
-
onError: y[1] || (y[1] = (
|
|
730
|
+
src: p.value.defaultPath,
|
|
731
|
+
onLoad: y[0] || (y[0] = (E) => m.value = !0),
|
|
732
|
+
onError: y[1] || (y[1] = (E) => o.value.errorDetected())
|
|
733
733
|
}, null, 40, Ja)
|
|
734
734
|
])) : $("", !0)
|
|
735
735
|
]))
|
|
@@ -745,16 +745,16 @@ const Ga = {
|
|
|
745
745
|
emits: ["outside"],
|
|
746
746
|
setup(l, { emit: a }) {
|
|
747
747
|
const e = l, n = a, t = B(() => {
|
|
748
|
-
let o, i, s,
|
|
749
|
-
return e.pos.x <= e.pos.width / 2 ? (o = "-100%", s = "-8px") : (o = "0%", s = "8px"), e.pos.y <= e.pos.height / 2 ? (i = "-100%",
|
|
748
|
+
let o, i, s, m;
|
|
749
|
+
return e.pos.x <= e.pos.width / 2 ? (o = "-100%", s = "-8px") : (o = "0%", s = "8px"), e.pos.y <= e.pos.height / 2 ? (i = "-100%", m = "-8px") : (i = "0%", m = "8px"), `translate(${o}, ${i}) translate(${s}, ${m})`;
|
|
750
750
|
});
|
|
751
751
|
return (o, i) => {
|
|
752
|
-
const s =
|
|
753
|
-
return
|
|
752
|
+
const s = T("v-dialog"), m = T("v-fade-transition");
|
|
753
|
+
return d(), V(m, {
|
|
754
754
|
origin: `top left ${o.pos.x} ${o.pos.y}`
|
|
755
755
|
}, {
|
|
756
756
|
default: _(() => [
|
|
757
|
-
o.isHoverable ? (
|
|
757
|
+
o.isHoverable ? (d(), x("div", {
|
|
758
758
|
key: 0,
|
|
759
759
|
class: "floating-card",
|
|
760
760
|
style: fe({
|
|
@@ -765,11 +765,11 @@ const Ga = {
|
|
|
765
765
|
})
|
|
766
766
|
}, [
|
|
767
767
|
ne(o.$slots, "default", { isHoverable: o.isHoverable }, void 0, !0)
|
|
768
|
-
], 4)) : (
|
|
768
|
+
], 4)) : (d(), V(s, {
|
|
769
769
|
key: 1,
|
|
770
770
|
value: !0,
|
|
771
771
|
width: "auto",
|
|
772
|
-
"onClick:outside": i[0] || (i[0] = (
|
|
772
|
+
"onClick:outside": i[0] || (i[0] = (p) => n("outside", p))
|
|
773
773
|
}, {
|
|
774
774
|
default: _(() => [
|
|
775
775
|
ne(o.$slots, "default", { isHoverable: o.isHoverable }, void 0, !0)
|
|
@@ -797,9 +797,9 @@ const Ga = {
|
|
|
797
797
|
a({
|
|
798
798
|
adjustZoom: ue
|
|
799
799
|
});
|
|
800
|
-
const o = v(100), i = v(0), s = v(0),
|
|
800
|
+
const o = v(100), i = v(0), s = v(0), m = v(!1), p = v(!1), r = v(void 0), f = v(!1), k = v(), g = B(() => `translateX(${i.value}px) translateY(${s.value}px) scale(${c.value})`), c = B(() => o.value / 100), h = B(() => n.maxScale * 100);
|
|
801
801
|
H(
|
|
802
|
-
[
|
|
802
|
+
[c, i, s],
|
|
803
803
|
() => {
|
|
804
804
|
z();
|
|
805
805
|
},
|
|
@@ -820,7 +820,7 @@ const Ga = {
|
|
|
820
820
|
n.desktop && y(), n.mobile && Y();
|
|
821
821
|
});
|
|
822
822
|
function S() {
|
|
823
|
-
k.value.addEventListener("wheel",
|
|
823
|
+
k.value.addEventListener("wheel", E, {
|
|
824
824
|
capture: !0
|
|
825
825
|
}), k.value.addEventListener("mousedown", P, {
|
|
826
826
|
capture: !0
|
|
@@ -844,7 +844,7 @@ const Ga = {
|
|
|
844
844
|
});
|
|
845
845
|
}
|
|
846
846
|
function y() {
|
|
847
|
-
k.value.removeEventListener("wheel",
|
|
847
|
+
k.value.removeEventListener("wheel", E, {
|
|
848
848
|
capture: !0
|
|
849
849
|
}), k.value.removeEventListener("mousedown", P, {
|
|
850
850
|
capture: !0
|
|
@@ -867,15 +867,15 @@ const Ga = {
|
|
|
867
867
|
capture: !0
|
|
868
868
|
});
|
|
869
869
|
}
|
|
870
|
-
function
|
|
870
|
+
function E(O) {
|
|
871
871
|
const { x: J, y: X } = A(O);
|
|
872
872
|
ue(-O.deltaY / 10, J, X), O.preventDefault();
|
|
873
873
|
}
|
|
874
874
|
function P(O) {
|
|
875
|
-
|
|
875
|
+
m.value = !0, f.value = !1, r.value = O;
|
|
876
876
|
}
|
|
877
877
|
function I(O) {
|
|
878
|
-
if (
|
|
878
|
+
if (m.value) {
|
|
879
879
|
const { x: J, y: X } = A(O), { x: se, y: oe } = A(r.value), le = {
|
|
880
880
|
x: J - se,
|
|
881
881
|
y: X - oe
|
|
@@ -884,16 +884,16 @@ const Ga = {
|
|
|
884
884
|
}
|
|
885
885
|
}
|
|
886
886
|
function M(O) {
|
|
887
|
-
|
|
887
|
+
m.value && f.value && n.consumeMouseUpWhenMoved && (O.preventDefault(), O.stopImmediatePropagation());
|
|
888
888
|
}
|
|
889
889
|
function q(O) {
|
|
890
|
-
|
|
890
|
+
m.value && (f.value && n.consumeMouseClickWhenMoved && (O.preventDefault(), O.stopImmediatePropagation()), m.value = !1);
|
|
891
891
|
}
|
|
892
892
|
function R(O) {
|
|
893
|
-
|
|
893
|
+
m.value = O.touches.length === 1, p.value = O.touches.length === 2, r.value = O;
|
|
894
894
|
}
|
|
895
895
|
function K(O) {
|
|
896
|
-
if (
|
|
896
|
+
if (m.value) {
|
|
897
897
|
const { x: J, y: X } = A(O.touches[0]), { x: se, y: oe } = A(
|
|
898
898
|
r.value.touches[0]
|
|
899
899
|
), le = {
|
|
@@ -901,7 +901,7 @@ const Ga = {
|
|
|
901
901
|
y: X - oe
|
|
902
902
|
};
|
|
903
903
|
W(le.x), N(le.y);
|
|
904
|
-
} else if (
|
|
904
|
+
} else if (p.value && O.touches.length === 2) {
|
|
905
905
|
const { x: J, y: X } = A(O.touches[0]), { x: se, y: oe } = A(
|
|
906
906
|
r.value.touches[0]
|
|
907
907
|
), { x: le, y: _e } = A(O.touches[1]), { x: ie, y: Le } = A(
|
|
@@ -912,7 +912,7 @@ const Ga = {
|
|
|
912
912
|
r.value = O;
|
|
913
913
|
}
|
|
914
914
|
function w() {
|
|
915
|
-
|
|
915
|
+
m.value = !1, p.value = !1;
|
|
916
916
|
}
|
|
917
917
|
function A(O) {
|
|
918
918
|
const { left: J, top: X } = k.value.getBoundingClientRect();
|
|
@@ -922,40 +922,40 @@ const Ga = {
|
|
|
922
922
|
};
|
|
923
923
|
}
|
|
924
924
|
function W(O) {
|
|
925
|
-
const J = k.value.clientWidth, X = J *
|
|
925
|
+
const J = k.value.clientWidth, X = J * c.value;
|
|
926
926
|
i.value = Math.max(
|
|
927
927
|
Math.min(0, i.value + O),
|
|
928
928
|
-(X - J)
|
|
929
929
|
);
|
|
930
930
|
}
|
|
931
931
|
function N(O) {
|
|
932
|
-
const J = k.value.clientHeight, X = J *
|
|
932
|
+
const J = k.value.clientHeight, X = J * c.value;
|
|
933
933
|
s.value = Math.max(
|
|
934
934
|
Math.min(0, s.value + O),
|
|
935
935
|
-(X - J)
|
|
936
936
|
);
|
|
937
937
|
}
|
|
938
938
|
function ue(O, J, X) {
|
|
939
|
-
const se = J !== void 0 ? J : k.value.clientWidth / 2, oe = X !== void 0 ? X : k.value.clientHeight / 2, le = k.value.clientWidth, _e = k.value.clientHeight, ie = le *
|
|
939
|
+
const se = J !== void 0 ? J : k.value.clientWidth / 2, oe = X !== void 0 ? X : k.value.clientHeight / 2, le = k.value.clientWidth, _e = k.value.clientHeight, ie = le * c.value, Le = _e * c.value;
|
|
940
940
|
o.value = Math.min(Math.max(100, o.value + O), h.value);
|
|
941
|
-
const Ae = le *
|
|
941
|
+
const Ae = le * c.value, Ue = _e * c.value, be = Ae - ie, xe = Ue - Le;
|
|
942
942
|
i.value -= se / le * be, s.value -= oe / _e * xe, W(0), N(0);
|
|
943
943
|
}
|
|
944
944
|
function z() {
|
|
945
945
|
t("update", {
|
|
946
|
-
scale:
|
|
946
|
+
scale: c.value,
|
|
947
947
|
x: i.value,
|
|
948
948
|
y: s.value,
|
|
949
949
|
current: Math.min(Math.max(100, o.value), h.value),
|
|
950
950
|
min: 100,
|
|
951
951
|
max: h.value,
|
|
952
952
|
resolve: (O, J) => {
|
|
953
|
-
const X = k.value.clientWidth, se = k.value.clientHeight, oe = i.value / -
|
|
953
|
+
const X = k.value.clientWidth, se = k.value.clientHeight, oe = i.value / -c.value, le = s.value / -c.value, _e = oe + X / c.value, ie = le + se / c.value, Le = O / X * (_e - oe) + oe, Ae = J / se * (ie - le) + le;
|
|
954
954
|
return { x: Le, y: Ae };
|
|
955
955
|
}
|
|
956
956
|
});
|
|
957
957
|
}
|
|
958
|
-
return (O, J) => (
|
|
958
|
+
return (O, J) => (d(), x("div", {
|
|
959
959
|
ref_key: "box",
|
|
960
960
|
ref: k,
|
|
961
961
|
class: "zoom-box-container",
|
|
@@ -1054,15 +1054,15 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
|
|
|
1054
1054
|
Be,
|
|
1055
1055
|
n.i18nConfig ? new Re(n.i18nConfig) : new Re()
|
|
1056
1056
|
);
|
|
1057
|
-
const o = gt({ isReady: !1, isError: !1 }), i = v(), s = v(),
|
|
1057
|
+
const o = gt({ isReady: !1, isError: !1 }), i = v(), s = v(), m = v(), p = v(), r = v({ x: 0, y: 0, width: 0, height: 0 }), f = v(), k = v(), g = v(), c = B(() => g.value.isHoverEnabled), h = B(() => n.useSvg ? Ya : Ba), S = B(() => n.selectedUnitId), b = B(() => n.nextUnitId), y = B(() => n.prevUnitId);
|
|
1058
1058
|
Ve(() => {
|
|
1059
|
-
if (S.value &&
|
|
1059
|
+
if (S.value && p.value) {
|
|
1060
1060
|
const I = i.value[S.value];
|
|
1061
|
-
I && (
|
|
1061
|
+
I && (p.value.currentScene = I);
|
|
1062
1062
|
}
|
|
1063
1063
|
}), Ie(async () => {
|
|
1064
1064
|
const I = n.apartmentChooserData && n.apartmentChooserData.startScene !== void 0 ? n.apartmentChooserData.startScene : hn;
|
|
1065
|
-
|
|
1065
|
+
m.value = n.apartmentChooserData && n.apartmentChooserData.scenes !== void 0 ? n.apartmentChooserData.scenes : e, s.value = n.apartmentChooserData && n.apartmentChooserData.sceneData !== void 0 ? n.apartmentChooserData.sceneData.map((R) => ({
|
|
1066
1066
|
unitId: R.apartmentID,
|
|
1067
1067
|
index: R.index
|
|
1068
1068
|
})) : [], i.value = n.apartmentChooserData && n.apartmentChooserData.sceneData !== void 0 ? n.apartmentChooserData.sceneData.map((R) => {
|
|
@@ -1082,11 +1082,11 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
|
|
|
1082
1082
|
return ue < z ? -1 : ue > z ? 1 : 0;
|
|
1083
1083
|
}), R;
|
|
1084
1084
|
}, q = (R) => {
|
|
1085
|
-
|
|
1085
|
+
p.value = new un(R);
|
|
1086
1086
|
};
|
|
1087
1087
|
t("initialized", {
|
|
1088
1088
|
scene: I,
|
|
1089
|
-
scenes:
|
|
1089
|
+
scenes: m.value,
|
|
1090
1090
|
sceneData: s.value,
|
|
1091
1091
|
scenesByApartment: i.value,
|
|
1092
1092
|
unitsSceneSort: M,
|
|
@@ -1096,15 +1096,15 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
|
|
|
1096
1096
|
function Y(I) {
|
|
1097
1097
|
r.value = I;
|
|
1098
1098
|
}
|
|
1099
|
-
function
|
|
1099
|
+
function E(I) {
|
|
1100
1100
|
k.value = I.hoverUnit, f.value = I.closeHandler, t("hoverOverUnit", I.hoverUnit);
|
|
1101
1101
|
}
|
|
1102
1102
|
function P(I) {
|
|
1103
1103
|
k.value = null, f.value = I.closeHandler, t("hoverOutUnit", I.hoverUnit);
|
|
1104
1104
|
}
|
|
1105
1105
|
return (I, M) => {
|
|
1106
|
-
const q =
|
|
1107
|
-
return
|
|
1106
|
+
const q = T("v-progress-linear");
|
|
1107
|
+
return p.value ? (d(), x("div", cn, [
|
|
1108
1108
|
u("div", dn, [
|
|
1109
1109
|
u("div", vn, [
|
|
1110
1110
|
C(tt, {
|
|
@@ -1114,17 +1114,17 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
|
|
|
1114
1114
|
default: _(() => [
|
|
1115
1115
|
C(on, {
|
|
1116
1116
|
"cdn-file-resolver": I.cdnFileResolver,
|
|
1117
|
-
"view-model":
|
|
1118
|
-
"cardinal-frames":
|
|
1117
|
+
"view-model": p.value,
|
|
1118
|
+
"cardinal-frames": m.value,
|
|
1119
1119
|
build: I.build,
|
|
1120
1120
|
onProgress: M[0] || (M[0] = (R) => o.progress = R),
|
|
1121
1121
|
onLoaded: M[1] || (M[1] = (R) => o.isReady = !0),
|
|
1122
1122
|
onError: M[2] || (M[2] = (R) => o.isError = !0)
|
|
1123
1123
|
}, null, 8, ["cdn-file-resolver", "view-model", "cardinal-frames", "build"]),
|
|
1124
|
-
o.isReady ? (
|
|
1125
|
-
(
|
|
1124
|
+
o.isReady ? (d(), x("div", mn, [
|
|
1125
|
+
(d(), V(Gt(h.value), {
|
|
1126
1126
|
"cdn-file-resolver": n.cdnFileResolver,
|
|
1127
|
-
"view-model":
|
|
1127
|
+
"view-model": p.value,
|
|
1128
1128
|
"selected-unit-id": S.value,
|
|
1129
1129
|
"scene-data": s.value,
|
|
1130
1130
|
"color-callback": n.colorCallback,
|
|
@@ -1132,7 +1132,7 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
|
|
|
1132
1132
|
"draw-observer": n.drawObserver,
|
|
1133
1133
|
onSelectUnit: M[3] || (M[3] = (R) => t("selectUnit", R)),
|
|
1134
1134
|
onGoToUnit: M[4] || (M[4] = (R) => t("goToUnit", R)),
|
|
1135
|
-
onHoverOver:
|
|
1135
|
+
onHoverOver: E,
|
|
1136
1136
|
onHoverOut: P,
|
|
1137
1137
|
onPos: Y
|
|
1138
1138
|
}, {
|
|
@@ -1145,9 +1145,9 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
|
|
|
1145
1145
|
]),
|
|
1146
1146
|
_: 3
|
|
1147
1147
|
}, 8, ["desktop", "mobile"]),
|
|
1148
|
-
k.value && I.showCards ? (
|
|
1148
|
+
k.value && I.showCards ? (d(), V(et, {
|
|
1149
1149
|
key: 0,
|
|
1150
|
-
"is-hoverable":
|
|
1150
|
+
"is-hoverable": c.value,
|
|
1151
1151
|
pos: r.value,
|
|
1152
1152
|
onOutside: f.value
|
|
1153
1153
|
}, {
|
|
@@ -1157,25 +1157,25 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
|
|
|
1157
1157
|
canGoToUnit: I.canGoToUnitCallback(k.value),
|
|
1158
1158
|
goToUnit: () => I.canGoToUnitCallback(k.value) && t("goToUnit", k.value),
|
|
1159
1159
|
pos: r.value,
|
|
1160
|
-
isHoverable:
|
|
1160
|
+
isHoverable: c.value,
|
|
1161
1161
|
close: f.value
|
|
1162
1162
|
}, void 0, !0)
|
|
1163
1163
|
]),
|
|
1164
1164
|
_: 3
|
|
1165
1165
|
}, 8, ["is-hoverable", "pos", "onOutside"])) : $("", !0),
|
|
1166
|
-
o.isReady ? (
|
|
1166
|
+
o.isReady ? (d(), x("div", pn, [
|
|
1167
1167
|
C(Wa, {
|
|
1168
1168
|
"can-go-to-unit-callback": n.canGoToUnitCallback,
|
|
1169
1169
|
"unit-renderer": n.unitRenderer,
|
|
1170
1170
|
"selected-unit-id": S.value,
|
|
1171
1171
|
"prev-unit-id": y.value,
|
|
1172
1172
|
"next-unit-id": b.value,
|
|
1173
|
-
"view-model":
|
|
1173
|
+
"view-model": p.value,
|
|
1174
1174
|
onGoToUnit: M[5] || (M[5] = (R) => t("goToUnit", R)),
|
|
1175
1175
|
onPrevUnit: M[6] || (M[6] = (R) => t("navUnit", y.value)),
|
|
1176
1176
|
onNextUnit: M[7] || (M[7] = (R) => t("navUnit", b.value))
|
|
1177
1177
|
}, null, 8, ["can-go-to-unit-callback", "unit-renderer", "selected-unit-id", "prev-unit-id", "next-unit-id", "view-model"])
|
|
1178
|
-
])) : o.isError ? $("", !0) : (
|
|
1178
|
+
])) : o.isError ? $("", !0) : (d(), x("div", fn, [
|
|
1179
1179
|
C(q, {
|
|
1180
1180
|
indeterminate: !o.progress,
|
|
1181
1181
|
modelValue: o.progress,
|
|
@@ -1200,7 +1200,7 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
|
|
|
1200
1200
|
},
|
|
1201
1201
|
setup(l) {
|
|
1202
1202
|
const a = l, e = B(() => he(a.cdnFileResolver, a.timeSampleData.filename));
|
|
1203
|
-
return (n, t) => we((
|
|
1203
|
+
return (n, t) => we((d(), x("img", {
|
|
1204
1204
|
key: e.value,
|
|
1205
1205
|
src: e.value,
|
|
1206
1206
|
width: "100%"
|
|
@@ -1217,7 +1217,7 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
|
|
|
1217
1217
|
},
|
|
1218
1218
|
setup(l) {
|
|
1219
1219
|
const a = l;
|
|
1220
|
-
return (e, n) => (
|
|
1220
|
+
return (e, n) => (d(!0), x(ve, null, ye(a.dayData.timeSamples, (t) => (d(), V(Cn, {
|
|
1221
1221
|
"time-sample-data": t,
|
|
1222
1222
|
"cdn-file-resolver": a.cdnFileResolver,
|
|
1223
1223
|
"current-time": e.currentTime
|
|
@@ -1232,7 +1232,7 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
|
|
|
1232
1232
|
},
|
|
1233
1233
|
setup(l) {
|
|
1234
1234
|
const a = l;
|
|
1235
|
-
return (e, n) => (
|
|
1235
|
+
return (e, n) => (d(!0), x(ve, null, ye(a.cameraData.sunsimDayOfYear, (t) => (d(), V(wn, {
|
|
1236
1236
|
"day-data": t,
|
|
1237
1237
|
"cdn-file-resolver": a.cdnFileResolver,
|
|
1238
1238
|
"current-time": a.currentTime
|
|
@@ -1248,7 +1248,7 @@ const cn = { key: 0 }, dn = { class: "interactive-viewer" }, vn = { class: "fill
|
|
|
1248
1248
|
emits: ["goToBuilding", "hoverOverBuilding", "hoverOutBuilding"],
|
|
1249
1249
|
setup(l, { emit: a }) {
|
|
1250
1250
|
const e = l, n = B(() => he(e.cdnFileResolver, e.transitionData.filename));
|
|
1251
|
-
return (t, o) => we((
|
|
1251
|
+
return (t, o) => we((d(), x("img", {
|
|
1252
1252
|
key: n.value,
|
|
1253
1253
|
src: n.value,
|
|
1254
1254
|
class: "position-absolute top-left w-100 h-100"
|
|
@@ -1310,10 +1310,10 @@ const An = /* @__PURE__ */ j({
|
|
|
1310
1310
|
)
|
|
1311
1311
|
);
|
|
1312
1312
|
}), (i, s) => {
|
|
1313
|
-
const
|
|
1314
|
-
return
|
|
1313
|
+
const m = T("v-select");
|
|
1314
|
+
return d(), V(m, {
|
|
1315
1315
|
modelValue: t.value,
|
|
1316
|
-
"onUpdate:modelValue": s[0] || (s[0] = (
|
|
1316
|
+
"onUpdate:modelValue": s[0] || (s[0] = (p) => t.value = p),
|
|
1317
1317
|
items: o.value,
|
|
1318
1318
|
disabled: !!e.disabled,
|
|
1319
1319
|
"item-title": "cameraName",
|
|
@@ -1355,8 +1355,8 @@ const An = /* @__PURE__ */ j({
|
|
|
1355
1355
|
});
|
|
1356
1356
|
}
|
|
1357
1357
|
return (i, s) => {
|
|
1358
|
-
const
|
|
1359
|
-
return
|
|
1358
|
+
const m = T("v-list-item"), p = T("v-select");
|
|
1359
|
+
return d(), V(p, {
|
|
1360
1360
|
modelValue: t.value,
|
|
1361
1361
|
"onUpdate:modelValue": s[0] || (s[0] = (r) => t.value = r),
|
|
1362
1362
|
items: e.cameraData.sunsimDayOfYear,
|
|
@@ -1368,7 +1368,7 @@ const An = /* @__PURE__ */ j({
|
|
|
1368
1368
|
"hide-details": ""
|
|
1369
1369
|
}, {
|
|
1370
1370
|
item: _(({ props: r }) => [
|
|
1371
|
-
C(
|
|
1371
|
+
C(m, Me(r, {
|
|
1372
1372
|
title: o(r.title)
|
|
1373
1373
|
}), null, 16, ["title"])
|
|
1374
1374
|
]),
|
|
@@ -1401,29 +1401,29 @@ const An = /* @__PURE__ */ j({
|
|
|
1401
1401
|
n(
|
|
1402
1402
|
"onTimeChange",
|
|
1403
1403
|
e.dayData.timeSamples.find(
|
|
1404
|
-
(
|
|
1404
|
+
(m) => m.timeInHours === t.value
|
|
1405
1405
|
)
|
|
1406
1406
|
);
|
|
1407
1407
|
});
|
|
1408
|
-
function i(
|
|
1409
|
-
const
|
|
1408
|
+
function i(m) {
|
|
1409
|
+
const p = m * 60, r = Math.floor(p / 60), f = p % 60;
|
|
1410
1410
|
return `${r.toString().padStart(2, "0")}:${f.toString().padStart(2, "0")}`;
|
|
1411
1411
|
}
|
|
1412
1412
|
function s() {
|
|
1413
1413
|
o.value ? (clearInterval(o.value), o.value = void 0) : (e.dayData.timeSamples.findIndex(
|
|
1414
|
-
(
|
|
1414
|
+
(p) => p.timeInHours === t.value
|
|
1415
1415
|
) === e.dayData.timeSamples.length - 1 && (t.value = e.dayData.timeSamples[0].timeInHours), o.value = setInterval(() => {
|
|
1416
|
-
const
|
|
1416
|
+
const p = e.dayData.timeSamples.findIndex(
|
|
1417
1417
|
(r) => r.timeInHours === t.value
|
|
1418
1418
|
);
|
|
1419
|
-
|
|
1419
|
+
p < e.dayData.timeSamples.length - 1 ? t.value = e.dayData.timeSamples[p + 1].timeInHours : (clearInterval(o.value), o.value = void 0);
|
|
1420
1420
|
}, 200));
|
|
1421
1421
|
}
|
|
1422
|
-
return (
|
|
1423
|
-
const r =
|
|
1424
|
-
return
|
|
1422
|
+
return (m, p) => {
|
|
1423
|
+
const r = T("v-icon"), f = T("v-btn"), k = T("v-slider"), g = T("v-field");
|
|
1424
|
+
return d(), V(g, { variant: "solo" }, {
|
|
1425
1425
|
default: _(() => [
|
|
1426
|
-
|
|
1426
|
+
m.dayData.startTime === m.dayData.endTime ? (d(), x("div", Ln, [
|
|
1427
1427
|
C(r, {
|
|
1428
1428
|
style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
|
|
1429
1429
|
class: "py-2 ml-2 mr-2 icon"
|
|
@@ -1434,14 +1434,14 @@ const An = /* @__PURE__ */ j({
|
|
|
1434
1434
|
_: 1
|
|
1435
1435
|
}),
|
|
1436
1436
|
te(" " + Q(i(t.value)), 1)
|
|
1437
|
-
])) : (
|
|
1437
|
+
])) : (d(), V(k, {
|
|
1438
1438
|
key: 1,
|
|
1439
1439
|
class: "pa-1",
|
|
1440
1440
|
modelValue: t.value,
|
|
1441
|
-
"onUpdate:modelValue":
|
|
1442
|
-
min:
|
|
1443
|
-
max:
|
|
1444
|
-
step:
|
|
1441
|
+
"onUpdate:modelValue": p[0] || (p[0] = (c) => t.value = c),
|
|
1442
|
+
min: m.dayData.startTime,
|
|
1443
|
+
max: m.dayData.endTime,
|
|
1444
|
+
step: m.dayData.interval,
|
|
1445
1445
|
disabled: !!e.disabled,
|
|
1446
1446
|
"hide-details": ""
|
|
1447
1447
|
}, {
|
|
@@ -1453,10 +1453,10 @@ const An = /* @__PURE__ */ j({
|
|
|
1453
1453
|
onClick: s
|
|
1454
1454
|
}, null, 8, ["icon"]),
|
|
1455
1455
|
te(" "),
|
|
1456
|
-
u("span", Mn, Q(i(
|
|
1456
|
+
u("span", Mn, Q(i(m.dayData.startTime)), 1)
|
|
1457
1457
|
]),
|
|
1458
1458
|
append: _(() => [
|
|
1459
|
-
u("span", On, Q(i(
|
|
1459
|
+
u("span", On, Q(i(m.dayData.endTime)), 1),
|
|
1460
1460
|
te(" "),
|
|
1461
1461
|
C(r, {
|
|
1462
1462
|
style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
|
|
@@ -1498,58 +1498,58 @@ const An = /* @__PURE__ */ j({
|
|
|
1498
1498
|
}), Ve(() => {
|
|
1499
1499
|
t("onSceneChange", i.value);
|
|
1500
1500
|
});
|
|
1501
|
-
const
|
|
1501
|
+
const m = B(() => o.value ? !1 : n.apartmentChooserData.loopable ? !0 : i.value !== n.apartmentChooserData.scenes[0]), p = B(() => o.value ? !1 : n.apartmentChooserData.loopable ? !0 : i.value !== n.apartmentChooserData.scenes[n.apartmentChooserData.scenes.length - 1]);
|
|
1502
1502
|
function r() {
|
|
1503
|
-
const
|
|
1504
|
-
let h = n.apartmentChooserData.scenes.findIndex((b) => b ===
|
|
1503
|
+
const c = i.value;
|
|
1504
|
+
let h = n.apartmentChooserData.scenes.findIndex((b) => b === c) + 1;
|
|
1505
1505
|
h >= n.apartmentChooserData.scenes.length && (h = 0);
|
|
1506
1506
|
const S = n.apartmentChooserData.scenes[h];
|
|
1507
|
-
n.apartmentChooserData.loopable &&
|
|
1507
|
+
n.apartmentChooserData.loopable && c > S, g(c, S);
|
|
1508
1508
|
}
|
|
1509
1509
|
async function f() {
|
|
1510
|
-
const
|
|
1511
|
-
let h = n.apartmentChooserData.scenes.findIndex((b) => b ===
|
|
1510
|
+
const c = i.value;
|
|
1511
|
+
let h = n.apartmentChooserData.scenes.findIndex((b) => b === c) - 1;
|
|
1512
1512
|
h < 0 && (h = n.apartmentChooserData.scenes.length - 1);
|
|
1513
1513
|
const S = n.apartmentChooserData.scenes[h];
|
|
1514
|
-
n.apartmentChooserData.loopable &&
|
|
1514
|
+
n.apartmentChooserData.loopable && c < S, g(c, S);
|
|
1515
1515
|
}
|
|
1516
|
-
function k(
|
|
1516
|
+
function k(c) {
|
|
1517
1517
|
const h = i.value;
|
|
1518
1518
|
if (n.apartmentChooserData.loopable)
|
|
1519
|
-
if (
|
|
1520
|
-
let S = h -
|
|
1521
|
-
return Math.abs(S) > Math.abs(b) ? g(h,
|
|
1519
|
+
if (c < h) {
|
|
1520
|
+
let S = h - c, b = h - (n.apartmentChooserData.cameras.length + c);
|
|
1521
|
+
return Math.abs(S) > Math.abs(b) ? g(h, c) : g(h, n.apartmentChooserData.cameras.length + c);
|
|
1522
1522
|
} else {
|
|
1523
|
-
let S = h -
|
|
1524
|
-
return Math.abs(S) > Math.abs(b) ? g(h,
|
|
1523
|
+
let S = h - c, b = n.apartmentChooserData.cameras.length + h - c;
|
|
1524
|
+
return Math.abs(S) > Math.abs(b) ? g(h, c) : g(n.apartmentChooserData.cameras.length + h, c);
|
|
1525
1525
|
}
|
|
1526
1526
|
else
|
|
1527
|
-
return g(h,
|
|
1527
|
+
return g(h, c);
|
|
1528
1528
|
}
|
|
1529
|
-
function g(
|
|
1529
|
+
function g(c, h) {
|
|
1530
1530
|
return new Promise((S) => {
|
|
1531
|
-
o.value = !0, t("onRotateStart", { from:
|
|
1532
|
-
let b, y =
|
|
1531
|
+
o.value = !0, t("onRotateStart", { from: c, to: h });
|
|
1532
|
+
let b, y = c;
|
|
1533
1533
|
b = setInterval(() => {
|
|
1534
1534
|
y < h ? (y++, i.value = Math.abs(
|
|
1535
1535
|
y % n.apartmentChooserData.cameras.length
|
|
1536
1536
|
)) : y > h ? (y--, i.value = Math.abs(
|
|
1537
1537
|
y % n.apartmentChooserData.cameras.length
|
|
1538
|
-
)) : (clearInterval(b), t("onRotateFinish", { from:
|
|
1538
|
+
)) : (clearInterval(b), t("onRotateFinish", { from: c, to: h }), o.value = !1, S());
|
|
1539
1539
|
}, 50);
|
|
1540
1540
|
});
|
|
1541
1541
|
}
|
|
1542
|
-
return (
|
|
1543
|
-
const S =
|
|
1544
|
-
return
|
|
1542
|
+
return (c, h) => {
|
|
1543
|
+
const S = T("v-btn"), b = T("v-chip");
|
|
1544
|
+
return d(), x(ve, null, [
|
|
1545
1545
|
C(S, {
|
|
1546
1546
|
class: "mx-2",
|
|
1547
1547
|
icon: "mdi-restore",
|
|
1548
1548
|
size: "small",
|
|
1549
|
-
disabled: !
|
|
1549
|
+
disabled: !m.value,
|
|
1550
1550
|
onClick: f
|
|
1551
1551
|
}, null, 8, ["disabled"]),
|
|
1552
|
-
|
|
1552
|
+
c.renderDisplay && s.value ? (d(), V(b, {
|
|
1553
1553
|
key: 0,
|
|
1554
1554
|
variant: "flat",
|
|
1555
1555
|
color: "white",
|
|
@@ -1557,7 +1557,7 @@ const An = /* @__PURE__ */ j({
|
|
|
1557
1557
|
onClick: h[0] || (h[0] = (y) => t("onDisplayClick", s.value))
|
|
1558
1558
|
}, {
|
|
1559
1559
|
default: _(() => [
|
|
1560
|
-
te(Q(
|
|
1560
|
+
te(Q(c.renderDisplay(s.value)), 1)
|
|
1561
1561
|
]),
|
|
1562
1562
|
_: 1
|
|
1563
1563
|
})) : $("", !0),
|
|
@@ -1565,7 +1565,7 @@ const An = /* @__PURE__ */ j({
|
|
|
1565
1565
|
class: "mx-2",
|
|
1566
1566
|
icon: "mdi-reload",
|
|
1567
1567
|
size: "small",
|
|
1568
|
-
disabled: !
|
|
1568
|
+
disabled: !p.value,
|
|
1569
1569
|
onClick: r
|
|
1570
1570
|
}, null, 8, ["disabled"])
|
|
1571
1571
|
], 64);
|
|
@@ -1589,14 +1589,14 @@ const An = /* @__PURE__ */ j({
|
|
|
1589
1589
|
}
|
|
1590
1590
|
), Ve(() => {
|
|
1591
1591
|
for (const r in s) {
|
|
1592
|
-
const { element: f, state: k } = s[r], { r: g, g:
|
|
1592
|
+
const { element: f, state: k } = s[r], { r: g, g: c, b: h, a: S, s: b } = e.colorCallback(r, k) || {
|
|
1593
1593
|
r: 0,
|
|
1594
1594
|
g: 0,
|
|
1595
1595
|
b: 0,
|
|
1596
1596
|
a: 0,
|
|
1597
1597
|
s: 0
|
|
1598
1598
|
};
|
|
1599
|
-
f.style.fill = `rgba(${g}, ${
|
|
1599
|
+
f.style.fill = `rgba(${g}, ${c}, ${h}, ${S / 255})`, f.style.stroke = `rgb(${g}, ${c}, ${h})`, f.style.strokeWidth = b.toString();
|
|
1600
1600
|
}
|
|
1601
1601
|
}), H(i, () => {
|
|
1602
1602
|
for (const r in s)
|
|
@@ -1604,14 +1604,14 @@ const An = /* @__PURE__ */ j({
|
|
|
1604
1604
|
}), Ve(async () => {
|
|
1605
1605
|
t.value = await Fe.loadText(
|
|
1606
1606
|
he(e.cdnFileResolver, e.currentCamera.overlayFilename)
|
|
1607
|
-
),
|
|
1607
|
+
), p();
|
|
1608
1608
|
}), H(
|
|
1609
1609
|
() => o.value,
|
|
1610
1610
|
() => {
|
|
1611
|
-
o.value && new ResizeObserver(
|
|
1611
|
+
o.value && new ResizeObserver(m).observe(o.value);
|
|
1612
1612
|
}
|
|
1613
1613
|
);
|
|
1614
|
-
function
|
|
1614
|
+
function m() {
|
|
1615
1615
|
De(() => {
|
|
1616
1616
|
var f;
|
|
1617
1617
|
const r = (f = o.value) == null ? void 0 : f.firstChild;
|
|
@@ -1632,33 +1632,33 @@ const An = /* @__PURE__ */ j({
|
|
|
1632
1632
|
}
|
|
1633
1633
|
});
|
|
1634
1634
|
}
|
|
1635
|
-
function
|
|
1635
|
+
function p() {
|
|
1636
1636
|
De(() => {
|
|
1637
1637
|
var f;
|
|
1638
1638
|
const r = (f = o.value) == null ? void 0 : f.firstChild;
|
|
1639
|
-
r && (n("updateSvgContainer", r),
|
|
1639
|
+
r && (n("updateSvgContainer", r), m(), r.querySelectorAll(
|
|
1640
1640
|
"[data-apartment-id]"
|
|
1641
1641
|
).forEach((g) => {
|
|
1642
1642
|
g.style.strokeWidth = "0", g.style.stroke = "rgba(255,255,255,0)", g.style.fill = "rgba(255,255,255,0)", g.querySelectorAll("path").forEach((h) => {
|
|
1643
1643
|
h.style.stroke = "inherit", h.style.fill = "inherit";
|
|
1644
1644
|
});
|
|
1645
|
-
const
|
|
1646
|
-
s[
|
|
1645
|
+
const c = g.getAttribute("data-apartment-id");
|
|
1646
|
+
s[c] = {
|
|
1647
1647
|
element: g,
|
|
1648
|
-
state: i.value ===
|
|
1648
|
+
state: i.value === c ? "selected" : "idle"
|
|
1649
1649
|
}, g.addEventListener("mouseover", () => {
|
|
1650
|
-
s[
|
|
1650
|
+
s[c].state === "idle" && (s[c].state = "hover"), n("onHoverOver", c);
|
|
1651
1651
|
}), g.addEventListener("mouseout", () => {
|
|
1652
|
-
s[
|
|
1652
|
+
s[c].state === "hover" && (s[c].state = "idle"), n("onHoverOut", c);
|
|
1653
1653
|
}), g.addEventListener("click", () => {
|
|
1654
|
-
n("onClick",
|
|
1654
|
+
n("onClick", c);
|
|
1655
1655
|
});
|
|
1656
1656
|
}));
|
|
1657
1657
|
});
|
|
1658
1658
|
}
|
|
1659
|
-
return (r, f) => (
|
|
1659
|
+
return (r, f) => (d(), V(Te, null, {
|
|
1660
1660
|
default: _(() => [
|
|
1661
|
-
(
|
|
1661
|
+
(d(), x("div", {
|
|
1662
1662
|
ref_key: "svgContainer",
|
|
1663
1663
|
ref: o,
|
|
1664
1664
|
key: r.currentCamera.overlayFilename,
|
|
@@ -1681,9 +1681,9 @@ const An = /* @__PURE__ */ j({
|
|
|
1681
1681
|
transition: " transform 0.5s ease-in"
|
|
1682
1682
|
}));
|
|
1683
1683
|
return (n, t) => {
|
|
1684
|
-
const o =
|
|
1685
|
-
return
|
|
1686
|
-
src:
|
|
1684
|
+
const o = T("v-img");
|
|
1685
|
+
return d(), V(o, {
|
|
1686
|
+
src: D(Un),
|
|
1687
1687
|
style: fe(e.value)
|
|
1688
1688
|
}, null, 8, ["src", "style"]);
|
|
1689
1689
|
};
|
|
@@ -1863,15 +1863,15 @@ function Wn(l) {
|
|
|
1863
1863
|
})
|
|
1864
1864
|
), e = "1280", n = [4, 1, 2, 3], t = [];
|
|
1865
1865
|
for (let s = 1; s <= 64; s++) {
|
|
1866
|
-
const
|
|
1867
|
-
t.push(
|
|
1866
|
+
const m = s.toString().padStart(4, "0") + ".jpg";
|
|
1867
|
+
t.push(m);
|
|
1868
1868
|
}
|
|
1869
1869
|
const o = t.map((s) => ({
|
|
1870
1870
|
filename: `/${e}/${s}`
|
|
1871
1871
|
}));
|
|
1872
1872
|
for (let s = 0; s < l.scenes.length; s++) {
|
|
1873
|
-
let
|
|
1874
|
-
|
|
1873
|
+
let m = l.scenes[s], p, r;
|
|
1874
|
+
p = o[m], r = {
|
|
1875
1875
|
cameraName: `Kamera ${s + 1}`,
|
|
1876
1876
|
cameraPosition: {
|
|
1877
1877
|
x: 0,
|
|
@@ -1891,12 +1891,12 @@ function Wn(l) {
|
|
|
1891
1891
|
timeSamples: [
|
|
1892
1892
|
{
|
|
1893
1893
|
timeInHours: 14,
|
|
1894
|
-
filename:
|
|
1894
|
+
filename: p.filename
|
|
1895
1895
|
}
|
|
1896
1896
|
]
|
|
1897
1897
|
}
|
|
1898
1898
|
]
|
|
1899
|
-
}, xt(o[
|
|
1899
|
+
}, xt(o[m]) && (o[m] = r);
|
|
1900
1900
|
}
|
|
1901
1901
|
return {
|
|
1902
1902
|
version: "5.0",
|
|
@@ -1941,7 +1941,7 @@ const Nn = {
|
|
|
1941
1941
|
setup(l, { emit: a }) {
|
|
1942
1942
|
const e = l, n = a, t = v(), o = v(), i = v(), s = v(
|
|
1943
1943
|
null
|
|
1944
|
-
),
|
|
1944
|
+
), m = v(4), p = v(), r = v(!1), f = v(!1), k = v(), g = v(), c = B(() => g.value.isHoverEnabled), h = v({ x: 0, y: 0, width: 0, height: 0 }), S = v(), b = v(), y = v(
|
|
1945
1945
|
e.apartmentChooserData
|
|
1946
1946
|
), Y = v(!1);
|
|
1947
1947
|
Ie(() => {
|
|
@@ -1956,7 +1956,7 @@ const Nn = {
|
|
|
1956
1956
|
}).observe(b.value);
|
|
1957
1957
|
}
|
|
1958
1958
|
);
|
|
1959
|
-
const
|
|
1959
|
+
const E = B(
|
|
1960
1960
|
() => y.value ? y.value.cameras.filter(Lt) : []
|
|
1961
1961
|
), P = B(
|
|
1962
1962
|
() => y.value ? y.value.cameras.filter(xt) : []
|
|
@@ -1977,11 +1977,11 @@ const Nn = {
|
|
|
1977
1977
|
() => e.defaultCamera
|
|
1978
1978
|
],
|
|
1979
1979
|
async () => {
|
|
1980
|
-
e.cdnFileResolver && (y.value || (y.value = await I()), e.defaultCamera ? t.value =
|
|
1980
|
+
e.cdnFileResolver && (y.value || (y.value = await I()), e.defaultCamera ? t.value = E.value.find(
|
|
1981
1981
|
(z) => z.cameraName === e.defaultCamera
|
|
1982
|
-
) ||
|
|
1982
|
+
) || E.value[0] : t.value = E.value[0], m.value = y.value.cameras.findIndex(
|
|
1983
1983
|
(z) => z === t.value
|
|
1984
|
-
),
|
|
1984
|
+
), m.value = Math.max(0, m.value));
|
|
1985
1985
|
},
|
|
1986
1986
|
{ immediate: !0 }
|
|
1987
1987
|
), H(
|
|
@@ -2009,15 +2009,15 @@ const Nn = {
|
|
|
2009
2009
|
);
|
|
2010
2010
|
}
|
|
2011
2011
|
function q(z) {
|
|
2012
|
-
|
|
2012
|
+
m.value = z, xt(y.value.cameras[m.value]) ? s.value = y.value.cameras[m.value] : (De(() => {
|
|
2013
2013
|
R(
|
|
2014
|
-
y.value.cameras[
|
|
2014
|
+
y.value.cameras[m.value]
|
|
2015
2015
|
);
|
|
2016
2016
|
}), s.value = null);
|
|
2017
2017
|
}
|
|
2018
2018
|
function R(z) {
|
|
2019
2019
|
const O = o.value;
|
|
2020
|
-
t.value = z,
|
|
2020
|
+
t.value = z, m.value = y.value.cameras.findIndex(
|
|
2021
2021
|
(J) => J === t.value
|
|
2022
2022
|
), De(() => {
|
|
2023
2023
|
K(
|
|
@@ -2051,10 +2051,10 @@ const Nn = {
|
|
|
2051
2051
|
});
|
|
2052
2052
|
}
|
|
2053
2053
|
function W(z) {
|
|
2054
|
-
n("onHoverOver", z),
|
|
2054
|
+
n("onHoverOver", z), p.value = z;
|
|
2055
2055
|
}
|
|
2056
2056
|
function N(z) {
|
|
2057
|
-
n("onHoverOut", z),
|
|
2057
|
+
n("onHoverOut", z), p.value = void 0;
|
|
2058
2058
|
}
|
|
2059
2059
|
function ue(z) {
|
|
2060
2060
|
const { layerX: O, layerY: J } = z;
|
|
@@ -2078,8 +2078,8 @@ const Nn = {
|
|
|
2078
2078
|
n("onMouseMove", z, h.value);
|
|
2079
2079
|
}
|
|
2080
2080
|
return (z, O) => {
|
|
2081
|
-
const J =
|
|
2082
|
-
return
|
|
2081
|
+
const J = T("v-skeleton-loader");
|
|
2082
|
+
return d(), x(ve, null, [
|
|
2083
2083
|
C(J, {
|
|
2084
2084
|
type: "image",
|
|
2085
2085
|
class: "w-100 h-100 position-relative",
|
|
@@ -2096,7 +2096,7 @@ const Nn = {
|
|
|
2096
2096
|
}, [
|
|
2097
2097
|
u("div", Nn, [
|
|
2098
2098
|
u("div", Gn, [
|
|
2099
|
-
y.value.cameras.length > 1 ? (
|
|
2099
|
+
y.value.cameras.length > 1 ? (d(), V(An, {
|
|
2100
2100
|
key: 0,
|
|
2101
2101
|
"apartment-chooser-data": y.value,
|
|
2102
2102
|
"current-camera": t.value,
|
|
@@ -2105,7 +2105,7 @@ const Nn = {
|
|
|
2105
2105
|
}, null, 8, ["apartment-chooser-data", "current-camera", "disabled"])) : $("", !0)
|
|
2106
2106
|
]),
|
|
2107
2107
|
u("div", Qn, [
|
|
2108
|
-
t.value.sunsimDayOfYear.length > 1 ? (
|
|
2108
|
+
t.value.sunsimDayOfYear.length > 1 ? (d(), V(Fn, {
|
|
2109
2109
|
key: 0,
|
|
2110
2110
|
"camera-data": t.value,
|
|
2111
2111
|
"current-day": o.value,
|
|
@@ -2114,7 +2114,7 @@ const Nn = {
|
|
|
2114
2114
|
}, null, 8, ["camera-data", "current-day", "disabled"])) : $("", !0)
|
|
2115
2115
|
]),
|
|
2116
2116
|
u("div", Zn, [
|
|
2117
|
-
o.value.timeSamples.length > 1 ? (
|
|
2117
|
+
o.value.timeSamples.length > 1 ? (d(), V(Tn, {
|
|
2118
2118
|
key: 0,
|
|
2119
2119
|
"day-data": o.value,
|
|
2120
2120
|
"current-time": i.value,
|
|
@@ -2124,12 +2124,12 @@ const Nn = {
|
|
|
2124
2124
|
])
|
|
2125
2125
|
]),
|
|
2126
2126
|
u("div", qn, [
|
|
2127
|
-
y.value.cameras.length > 1 ? (
|
|
2127
|
+
y.value.cameras.length > 1 ? (d(), V(Vn, {
|
|
2128
2128
|
key: 0,
|
|
2129
2129
|
ref_key: "rotator",
|
|
2130
2130
|
ref: k,
|
|
2131
2131
|
"apartment-chooser-data": y.value,
|
|
2132
|
-
"current-scene":
|
|
2132
|
+
"current-scene": m.value,
|
|
2133
2133
|
"selected-id": z.selectedId,
|
|
2134
2134
|
"render-display": e.renderDisplay,
|
|
2135
2135
|
onOnDisplayClick: A,
|
|
@@ -2139,25 +2139,25 @@ const Nn = {
|
|
|
2139
2139
|
}, null, 8, ["apartment-chooser-data", "current-scene", "selected-id", "render-display"])) : $("", !0)
|
|
2140
2140
|
]),
|
|
2141
2141
|
u("div", Jn, [
|
|
2142
|
-
t.value.cameraRotation ? (
|
|
2142
|
+
t.value.cameraRotation ? (d(), V(at, {
|
|
2143
2143
|
key: 0,
|
|
2144
2144
|
longitude: t.value.cameraRotation.y + 270
|
|
2145
2145
|
}, null, 8, ["longitude"])) : $("", !0)
|
|
2146
2146
|
]),
|
|
2147
2147
|
C(tt, { position: "relative" }, {
|
|
2148
2148
|
default: _(() => [
|
|
2149
|
-
(
|
|
2149
|
+
(d(!0), x(ve, null, ye(E.value, (X) => (d(), V(kn, {
|
|
2150
2150
|
key: X.overlayFilename,
|
|
2151
2151
|
"camera-data": X,
|
|
2152
2152
|
"cdn-file-resolver": e.cdnFileResolver,
|
|
2153
2153
|
"current-time": i.value
|
|
2154
2154
|
}, null, 8, ["camera-data", "cdn-file-resolver", "current-time"]))), 128)),
|
|
2155
|
-
(
|
|
2155
|
+
(d(!0), x(ve, null, ye(P.value, (X) => (d(), V(xn, {
|
|
2156
2156
|
"transition-data": X,
|
|
2157
2157
|
"cdn-file-resolver": e.cdnFileResolver,
|
|
2158
2158
|
"current-transition": s.value
|
|
2159
2159
|
}, null, 8, ["transition-data", "cdn-file-resolver", "current-transition"]))), 256)),
|
|
2160
|
-
e.customOverlayContent ? (
|
|
2160
|
+
e.customOverlayContent ? (d(), x("div", {
|
|
2161
2161
|
key: 0,
|
|
2162
2162
|
class: "w-100 h-100 position-absolute top-left",
|
|
2163
2163
|
style: { "z-index": "6", "pointer-events": "none" },
|
|
@@ -2178,14 +2178,14 @@ const Nn = {
|
|
|
2178
2178
|
]),
|
|
2179
2179
|
_: 1
|
|
2180
2180
|
}),
|
|
2181
|
-
z.$slots.popup && h.value &&
|
|
2181
|
+
z.$slots.popup && h.value && p.value ? (d(), V(et, {
|
|
2182
2182
|
key: 0,
|
|
2183
|
-
"is-hoverable":
|
|
2183
|
+
"is-hoverable": c.value,
|
|
2184
2184
|
pos: h.value
|
|
2185
2185
|
}, {
|
|
2186
2186
|
default: _(() => [
|
|
2187
2187
|
u("div", Kn, [
|
|
2188
|
-
ne(z.$slots, "popup", it(rt({ hoverId:
|
|
2188
|
+
ne(z.$slots, "popup", it(rt({ hoverId: p.value, hoverable: c.value })), void 0, !0)
|
|
2189
2189
|
])
|
|
2190
2190
|
]),
|
|
2191
2191
|
_: 3
|
|
@@ -2204,7 +2204,7 @@ const Nn = {
|
|
|
2204
2204
|
], 64);
|
|
2205
2205
|
};
|
|
2206
2206
|
}
|
|
2207
|
-
}),
|
|
2207
|
+
}), ou = /* @__PURE__ */ ee(eo, [["__scopeId", "data-v-0310f66a"]]), to = { class: "sunsim-bar-wrapper" }, ao = { class: "sunsim-date d-flex align-center pl-5 pr-5" }, no = {
|
|
2208
2208
|
key: 1,
|
|
2209
2209
|
class: "text-center text-body-1"
|
|
2210
2210
|
}, oo = { class: "sunsim-wrapper d-flex align-center px-3" }, lo = { class: "sunsim-time-label text-body-1 font-weight-normal ml-2" }, so = /* @__PURE__ */ j({
|
|
@@ -2226,18 +2226,18 @@ const Nn = {
|
|
|
2226
2226
|
const s = B(() => {
|
|
2227
2227
|
const r = Math.floor(t.value / 2).toString().padStart(2, "0"), f = t.value % 2 === 0 ? "00" : "30";
|
|
2228
2228
|
return `${r}:${f}`;
|
|
2229
|
-
}),
|
|
2229
|
+
}), m = B(() => e.dateSelector.dates.map(i)), p = B({
|
|
2230
2230
|
get() {
|
|
2231
2231
|
return i(e.dateSelector.selectedDate);
|
|
2232
2232
|
},
|
|
2233
2233
|
set(r) {
|
|
2234
|
-
e.dateSelector.selectIndex(
|
|
2234
|
+
e.dateSelector.selectIndex(m.value.indexOf(r));
|
|
2235
2235
|
}
|
|
2236
2236
|
});
|
|
2237
2237
|
return H(t, (r) => {
|
|
2238
2238
|
n("update:modelValue", r);
|
|
2239
2239
|
}), H(o, (r) => {
|
|
2240
|
-
e.dateSelector.selectIndex(
|
|
2240
|
+
e.dateSelector.selectIndex(m.value.indexOf(r));
|
|
2241
2241
|
}), H(
|
|
2242
2242
|
() => e.modelValue,
|
|
2243
2243
|
(r) => {
|
|
@@ -2246,24 +2246,24 @@ const Nn = {
|
|
|
2246
2246
|
), Ve(() => {
|
|
2247
2247
|
o.value = i(e.dateSelector.selectedDate);
|
|
2248
2248
|
}), (r, f) => {
|
|
2249
|
-
const k =
|
|
2250
|
-
return
|
|
2249
|
+
const k = T("v-icon"), g = T("v-select"), c = T("v-progress-linear"), h = T("v-slider");
|
|
2250
|
+
return d(), x("div", to, [
|
|
2251
2251
|
u("div", ao, [
|
|
2252
2252
|
C(k, {
|
|
2253
2253
|
color: "black",
|
|
2254
2254
|
class: "mr-2",
|
|
2255
2255
|
icon: "mdi-calendar-blank-outline"
|
|
2256
2256
|
}),
|
|
2257
|
-
r.dateSelector.hasMultipleDates ? (
|
|
2257
|
+
r.dateSelector.hasMultipleDates ? (d(), V(g, {
|
|
2258
2258
|
key: 0,
|
|
2259
2259
|
modelValue: o.value,
|
|
2260
2260
|
"onUpdate:modelValue": f[0] || (f[0] = (S) => o.value = S),
|
|
2261
|
-
items:
|
|
2261
|
+
items: m.value,
|
|
2262
2262
|
density: "compact",
|
|
2263
2263
|
variant: "underlined",
|
|
2264
2264
|
"hide-details": "",
|
|
2265
2265
|
class: "day-selector"
|
|
2266
|
-
}, null, 8, ["modelValue", "items"])) : (
|
|
2266
|
+
}, null, 8, ["modelValue", "items"])) : (d(), x("span", no, Q(p.value), 1))
|
|
2267
2267
|
]),
|
|
2268
2268
|
u("div", oo, [
|
|
2269
2269
|
u("span", lo, Q(s.value), 1),
|
|
@@ -2276,7 +2276,7 @@ const Nn = {
|
|
|
2276
2276
|
]),
|
|
2277
2277
|
_: 1
|
|
2278
2278
|
}),
|
|
2279
|
-
r.isLoading ? (
|
|
2279
|
+
r.isLoading ? (d(), V(c, {
|
|
2280
2280
|
key: 0,
|
|
2281
2281
|
style: { left: 0, transform: "none" },
|
|
2282
2282
|
indeterminate: "",
|
|
@@ -2284,7 +2284,7 @@ const Nn = {
|
|
|
2284
2284
|
height: "6",
|
|
2285
2285
|
color: "grey lighten-1",
|
|
2286
2286
|
class: "mr-2"
|
|
2287
|
-
})) : (
|
|
2287
|
+
})) : (d(), V(h, {
|
|
2288
2288
|
key: 1,
|
|
2289
2289
|
modelValue: t.value,
|
|
2290
2290
|
"onUpdate:modelValue": f[1] || (f[1] = (S) => t.value = S),
|
|
@@ -2314,13 +2314,13 @@ const Nn = {
|
|
|
2314
2314
|
const e = l, n = a, t = v("init"), o = v(new It(0)), i = v();
|
|
2315
2315
|
H(
|
|
2316
2316
|
() => e.imageUrls,
|
|
2317
|
-
(
|
|
2318
|
-
n("reset"), p
|
|
2317
|
+
(p) => {
|
|
2318
|
+
n("reset"), m(p);
|
|
2319
2319
|
}
|
|
2320
2320
|
), Ie(() => {
|
|
2321
|
-
|
|
2321
|
+
m(e.imageUrls), new ResizeObserver((p) => {
|
|
2322
2322
|
window.requestAnimationFrame(() => {
|
|
2323
|
-
const r =
|
|
2323
|
+
const r = p[0].contentRect.width, f = p[0].contentRect.height;
|
|
2324
2324
|
n("resize", { width: r, height: f });
|
|
2325
2325
|
});
|
|
2326
2326
|
}).observe(i.value);
|
|
@@ -2328,14 +2328,14 @@ const Nn = {
|
|
|
2328
2328
|
function s() {
|
|
2329
2329
|
t.value = "preloaded", n("preloaded");
|
|
2330
2330
|
}
|
|
2331
|
-
function p
|
|
2332
|
-
t.value = "init", i.value.src =
|
|
2331
|
+
function m(p) {
|
|
2332
|
+
t.value = "init", i.value.src = p[0], o.value = new It(p.length).onLoadFinished(
|
|
2333
2333
|
() => {
|
|
2334
2334
|
t.value = "loaded", n("ready");
|
|
2335
2335
|
}
|
|
2336
2336
|
);
|
|
2337
2337
|
}
|
|
2338
|
-
return (
|
|
2338
|
+
return (p, r) => (d(), x("div", null, [
|
|
2339
2339
|
u("img", {
|
|
2340
2340
|
ref_key: "baseImage",
|
|
2341
2341
|
ref: i,
|
|
@@ -2343,10 +2343,10 @@ const Nn = {
|
|
|
2343
2343
|
style: { opacity: 1, borderRadius: 50 },
|
|
2344
2344
|
onLoad: s
|
|
2345
2345
|
}, null, 544),
|
|
2346
|
-
t.value === "preloaded" || t.value === "loaded" ? we((
|
|
2347
|
-
(
|
|
2346
|
+
t.value === "preloaded" || t.value === "loaded" ? we((d(), x("div", io, [
|
|
2347
|
+
(d(!0), x(ve, null, ye(p.imageUrls, (f, k) => (d(), x("img", {
|
|
2348
2348
|
key: k,
|
|
2349
|
-
class: ge({ "image-instance": !0, active: k ===
|
|
2349
|
+
class: ge({ "image-instance": !0, active: k === p.activeIndex }),
|
|
2350
2350
|
src: f,
|
|
2351
2351
|
onLoad: r[0] || (r[0] = (g) => o.value.partLoaded())
|
|
2352
2352
|
}, null, 42, ro))), 128))
|
|
@@ -2386,9 +2386,9 @@ const Nn = {
|
|
|
2386
2386
|
}), o = v({
|
|
2387
2387
|
width: 0,
|
|
2388
2388
|
height: 0
|
|
2389
|
-
}), i = v({ x: 0, y: 0, width: 0, height: 0 }), s = v(),
|
|
2389
|
+
}), i = v({ x: 0, y: 0, width: 0, height: 0 }), s = v(), m = v(
|
|
2390
2390
|
(/* @__PURE__ */ new Date()).getHours() * 2 + ((/* @__PURE__ */ new Date()).getMinutes() < 30 ? 0 : 1)
|
|
2391
|
-
),
|
|
2391
|
+
), p = v(!1), r = v(new Fe()), f = v(), k = v("0 0 0 0"), g = v(), c = v(), h = v(Je.empty()), S = v(Xe.empty()), b = v(), y = B(() => b.value.isHoverEnabled);
|
|
2392
2392
|
H(s, (w, A) => {
|
|
2393
2393
|
w ? n("hoverOverBuilding", w) : n("hoverOutBuilding", A);
|
|
2394
2394
|
}), Ve(() => {
|
|
@@ -2396,7 +2396,7 @@ const Nn = {
|
|
|
2396
2396
|
const [w, A, W] = /^(\d\d):(\d\d)$/.exec(
|
|
2397
2397
|
e.buildingChooserTimeOfDay
|
|
2398
2398
|
), N = parseInt(W);
|
|
2399
|
-
|
|
2399
|
+
m.value = parseInt(A) * 2 + (N < 15 ? 0 : N > 45 ? 2 : 1);
|
|
2400
2400
|
}
|
|
2401
2401
|
}), Ie(async () => {
|
|
2402
2402
|
const A = await new qt(
|
|
@@ -2405,7 +2405,7 @@ const Nn = {
|
|
|
2405
2405
|
e.buildingChooserData
|
|
2406
2406
|
);
|
|
2407
2407
|
if (A) {
|
|
2408
|
-
S.value = new Xe(A.mapImage), h.value = new Je(A.buildingIds), g.value = new bt(A.backgrounds),
|
|
2408
|
+
S.value = new Xe(A.mapImage), h.value = new Je(A.buildingIds), g.value = new bt(A.backgrounds), c.value = {
|
|
2409
2409
|
buildingOverlays: A.buildingOverlays,
|
|
2410
2410
|
viewLongitude: A.viewLongitude
|
|
2411
2411
|
};
|
|
@@ -2420,12 +2420,12 @@ const Nn = {
|
|
|
2420
2420
|
});
|
|
2421
2421
|
f.value = W;
|
|
2422
2422
|
} else
|
|
2423
|
-
|
|
2423
|
+
p.value = !0;
|
|
2424
2424
|
});
|
|
2425
2425
|
function Y({ width: w, height: A }) {
|
|
2426
2426
|
o.value.width = w, o.value.height = A;
|
|
2427
2427
|
}
|
|
2428
|
-
function
|
|
2428
|
+
function E() {
|
|
2429
2429
|
t.value = { preloaded: !1, ready: !1 };
|
|
2430
2430
|
}
|
|
2431
2431
|
function P(w) {
|
|
@@ -2491,15 +2491,15 @@ const Nn = {
|
|
|
2491
2491
|
s.value = w, y.value && s.value && e.canGoToBuildingCallback(s.value) && n("goToBuilding", s.value);
|
|
2492
2492
|
}
|
|
2493
2493
|
return (w, A) => {
|
|
2494
|
-
const W =
|
|
2495
|
-
return
|
|
2494
|
+
const W = T("v-icon");
|
|
2495
|
+
return p.value ? (d(), x("div", co, [
|
|
2496
2496
|
C(W, { "x-large": "" }, {
|
|
2497
2497
|
default: _(() => [
|
|
2498
2498
|
te("mdi-alert-circle-outline")
|
|
2499
2499
|
]),
|
|
2500
2500
|
_: 1
|
|
2501
2501
|
})
|
|
2502
|
-
])) :
|
|
2502
|
+
])) : c.value ? (d(), x("div", {
|
|
2503
2503
|
key: 1,
|
|
2504
2504
|
style: fe(`height: ${o.value.height}px; position: relative`),
|
|
2505
2505
|
class: "image-container"
|
|
@@ -2512,16 +2512,16 @@ const Nn = {
|
|
|
2512
2512
|
u("div", vo, [
|
|
2513
2513
|
C(Xt, {
|
|
2514
2514
|
"image-urls": g.value.imageUrls,
|
|
2515
|
-
"active-index":
|
|
2515
|
+
"active-index": m.value,
|
|
2516
2516
|
onResize: Y,
|
|
2517
2517
|
onPreloaded: A[0] || (A[0] = (N) => t.value.preloaded = !0),
|
|
2518
2518
|
onReady: A[1] || (A[1] = (N) => t.value.ready = !0),
|
|
2519
|
-
onReset:
|
|
2519
|
+
onReset: E
|
|
2520
2520
|
}, null, 8, ["image-urls", "active-index"]),
|
|
2521
|
-
f.value ? we((
|
|
2521
|
+
f.value ? we((d(), x("div", mo, [
|
|
2522
2522
|
u("div", po, [
|
|
2523
|
-
(
|
|
2524
|
-
(
|
|
2523
|
+
(d(), x("svg", { viewBox: k.value }, [
|
|
2524
|
+
(d(!0), x(ve, null, ye(f.value, ({ id: N, svg: ue }, z) => (d(), x("g", {
|
|
2525
2525
|
key: z,
|
|
2526
2526
|
innerHTML: ue,
|
|
2527
2527
|
"data-building-id": N,
|
|
@@ -2548,21 +2548,21 @@ const Nn = {
|
|
|
2548
2548
|
_: 1
|
|
2549
2549
|
}, 8, ["desktop", "mobile"]),
|
|
2550
2550
|
we(u("div", null, [
|
|
2551
|
-
|
|
2551
|
+
c.value.viewLongitude ? (d(), V(at, {
|
|
2552
2552
|
key: 0,
|
|
2553
2553
|
class: "north-indicator",
|
|
2554
|
-
longitude:
|
|
2554
|
+
longitude: c.value.viewLongitude
|
|
2555
2555
|
}, null, 8, ["longitude"])) : $("", !0),
|
|
2556
2556
|
C(Jt, {
|
|
2557
|
-
modelValue:
|
|
2558
|
-
"onUpdate:modelValue": A[2] || (A[2] = (N) =>
|
|
2557
|
+
modelValue: m.value,
|
|
2558
|
+
"onUpdate:modelValue": A[2] || (A[2] = (N) => m.value = N),
|
|
2559
2559
|
"date-selector": g.value,
|
|
2560
2560
|
"is-loading": !t.value.ready
|
|
2561
2561
|
}, null, 8, ["modelValue", "date-selector", "is-loading"])
|
|
2562
2562
|
], 512), [
|
|
2563
2563
|
[ke, t.value.preloaded]
|
|
2564
2564
|
]),
|
|
2565
|
-
w.showCards && s.value ? (
|
|
2565
|
+
w.showCards && s.value ? (d(), V(et, {
|
|
2566
2566
|
key: 0,
|
|
2567
2567
|
"is-hoverable": y.value,
|
|
2568
2568
|
pos: i.value,
|
|
@@ -2599,25 +2599,25 @@ const Nn = {
|
|
|
2599
2599
|
a({
|
|
2600
2600
|
setupDraw: r
|
|
2601
2601
|
});
|
|
2602
|
-
const n = v(!1), t = v(), o = v(new Fe()), i = v(), s = v(),
|
|
2602
|
+
const n = v(!1), t = v(), o = v(new Fe()), i = v(), s = v(), m = v([]), p = v();
|
|
2603
2603
|
H(
|
|
2604
2604
|
() => e.color,
|
|
2605
|
-
(g,
|
|
2606
|
-
(g.r !==
|
|
2605
|
+
(g, c) => {
|
|
2606
|
+
(g.r !== c.r || g.g !== c.g || g.b !== c.b || g.a !== c.a) && f();
|
|
2607
2607
|
}
|
|
2608
2608
|
), Ie(async () => {
|
|
2609
2609
|
t.value = await o.value.loadImage(e.imageUrl), r();
|
|
2610
2610
|
});
|
|
2611
2611
|
function r() {
|
|
2612
|
-
if (!t.value || !
|
|
2612
|
+
if (!t.value || !p.value)
|
|
2613
2613
|
return;
|
|
2614
|
-
const { width: g, height:
|
|
2615
|
-
if (!(g === 0 ||
|
|
2616
|
-
i.value =
|
|
2614
|
+
const { width: g, height: c } = e.dimensions;
|
|
2615
|
+
if (!(g === 0 || c === 0)) {
|
|
2616
|
+
i.value = p.value.getContext("2d", {
|
|
2617
2617
|
willReadFrequently: !0
|
|
2618
|
-
}), i.value.drawImage(t.value, 0, 0, g,
|
|
2618
|
+
}), i.value.drawImage(t.value, 0, 0, g, c), s.value = i.value.getImageData(0, 0, g, c);
|
|
2619
2619
|
for (let h = 3; h < s.value.data.length; h += 4)
|
|
2620
|
-
s.value.data[h] !== 0 &&
|
|
2620
|
+
s.value.data[h] !== 0 && m.value.push(h);
|
|
2621
2621
|
f(), n.value = !0;
|
|
2622
2622
|
}
|
|
2623
2623
|
}
|
|
@@ -2626,12 +2626,12 @@ const Nn = {
|
|
|
2626
2626
|
}
|
|
2627
2627
|
function k() {
|
|
2628
2628
|
if (e.color)
|
|
2629
|
-
for (let g = 0; g <
|
|
2630
|
-
s.value.data[
|
|
2629
|
+
for (let g = 0; g < m.value.length; g++)
|
|
2630
|
+
s.value.data[m.value[g] - 3] = e.color.r, s.value.data[m.value[g] - 2] = e.color.g, s.value.data[m.value[g] - 1] = e.color.b, s.value.data[m.value[g]] = e.color.a;
|
|
2631
2631
|
}
|
|
2632
|
-
return (g,
|
|
2632
|
+
return (g, c) => (d(), x("canvas", Me({
|
|
2633
2633
|
ref_key: "canvas",
|
|
2634
|
-
ref:
|
|
2634
|
+
ref: p,
|
|
2635
2635
|
class: "overlay"
|
|
2636
2636
|
}, g.dimensions), null, 16));
|
|
2637
2637
|
}
|
|
@@ -2666,11 +2666,11 @@ const Nn = {
|
|
|
2666
2666
|
}), i = v({
|
|
2667
2667
|
width: 0,
|
|
2668
2668
|
height: 0
|
|
2669
|
-
}), s = v({ x: 0, y: 0, width: 0, height: 0 }),
|
|
2669
|
+
}), s = v({ x: 0, y: 0, width: 0, height: 0 }), m = v(), p = v(Je.empty()), r = v(Xe.empty()), f = v(), k = v(
|
|
2670
2670
|
(/* @__PURE__ */ new Date()).getHours() * 2 + ((/* @__PURE__ */ new Date()).getMinutes() < 30 ? 0 : 1)
|
|
2671
2671
|
), g = v(
|
|
2672
2672
|
(w, A) => ({ x: w, y: A })
|
|
2673
|
-
),
|
|
2673
|
+
), c = v(!1), h = v(), S = v(), b = v(), y = B(() => {
|
|
2674
2674
|
var w;
|
|
2675
2675
|
return (w = h.value) == null ? void 0 : w.isHoverEnabled;
|
|
2676
2676
|
});
|
|
@@ -2689,20 +2689,20 @@ const Nn = {
|
|
|
2689
2689
|
).loadBuildingChooser(
|
|
2690
2690
|
e.buildingChooserData
|
|
2691
2691
|
);
|
|
2692
|
-
A ? (r.value = new Xe(A.mapImage),
|
|
2692
|
+
A ? (r.value = new Xe(A.mapImage), p.value = new Je(A.buildingIds), t.value = new bt(A.backgrounds), m.value = {
|
|
2693
2693
|
buildingOverlays: A.buildingOverlays,
|
|
2694
2694
|
viewLongitude: A.viewLongitude
|
|
2695
|
-
}, I()) :
|
|
2695
|
+
}, I()) : c.value = !0;
|
|
2696
2696
|
});
|
|
2697
2697
|
function Y({ width: w, height: A }) {
|
|
2698
2698
|
i.value.width = w, i.value.height = A, De(I);
|
|
2699
2699
|
}
|
|
2700
|
-
function
|
|
2700
|
+
function E() {
|
|
2701
2701
|
o.value = { preloaded: !1, ready: !1 };
|
|
2702
2702
|
}
|
|
2703
2703
|
function P(w) {
|
|
2704
2704
|
const { layerX: A, layerY: W } = w, { x: N, y: ue } = g.value(A, W);
|
|
2705
|
-
return
|
|
2705
|
+
return p.value.getBuildingId(
|
|
2706
2706
|
r.value,
|
|
2707
2707
|
N,
|
|
2708
2708
|
ue
|
|
@@ -2735,15 +2735,15 @@ const Nn = {
|
|
|
2735
2735
|
g.value = w;
|
|
2736
2736
|
}
|
|
2737
2737
|
return (w, A) => {
|
|
2738
|
-
const W =
|
|
2739
|
-
return
|
|
2738
|
+
const W = T("v-icon");
|
|
2739
|
+
return c.value ? (d(), x("div", wo, [
|
|
2740
2740
|
C(W, { "x-large": "" }, {
|
|
2741
2741
|
default: _(() => [
|
|
2742
2742
|
te("mdi-alert-circle-outline")
|
|
2743
2743
|
]),
|
|
2744
2744
|
_: 1
|
|
2745
2745
|
})
|
|
2746
|
-
])) :
|
|
2746
|
+
])) : m.value ? (d(), x("div", {
|
|
2747
2747
|
key: 1,
|
|
2748
2748
|
style: fe(`cursor: ${f.value ? "pointer" : "auto"};height: ${i.value.height}px; position: relative`),
|
|
2749
2749
|
class: "image-container"
|
|
@@ -2761,10 +2761,10 @@ const Nn = {
|
|
|
2761
2761
|
onResize: Y,
|
|
2762
2762
|
onPreloaded: A[0] || (A[0] = (N) => o.value.preloaded = !0),
|
|
2763
2763
|
onReady: A[1] || (A[1] = (N) => o.value.ready = !0),
|
|
2764
|
-
onReset:
|
|
2764
|
+
onReset: E
|
|
2765
2765
|
}, null, 8, ["image-urls", "active-index"]),
|
|
2766
2766
|
we(u("div", null, [
|
|
2767
|
-
(
|
|
2767
|
+
(d(!0), x(ve, null, ye(m.value.buildingOverlays, (N) => (d(), V(Co, {
|
|
2768
2768
|
ref_for: !0,
|
|
2769
2769
|
ref_key: "overlays",
|
|
2770
2770
|
ref: b,
|
|
@@ -2794,10 +2794,10 @@ const Nn = {
|
|
|
2794
2794
|
_: 1
|
|
2795
2795
|
}, 8, ["desktop", "mobile"]),
|
|
2796
2796
|
we(u("div", null, [
|
|
2797
|
-
|
|
2797
|
+
m.value.viewLongitude ? (d(), V(at, {
|
|
2798
2798
|
key: 0,
|
|
2799
2799
|
class: "north-indicator",
|
|
2800
|
-
longitude:
|
|
2800
|
+
longitude: m.value.viewLongitude
|
|
2801
2801
|
}, null, 8, ["longitude"])) : $("", !0),
|
|
2802
2802
|
C(Jt, {
|
|
2803
2803
|
modelValue: k.value,
|
|
@@ -2808,7 +2808,7 @@ const Nn = {
|
|
|
2808
2808
|
], 512), [
|
|
2809
2809
|
[ke, o.value.preloaded]
|
|
2810
2810
|
]),
|
|
2811
|
-
w.showCards && f.value ? (
|
|
2811
|
+
w.showCards && f.value ? (d(), V(et, {
|
|
2812
2812
|
key: 0,
|
|
2813
2813
|
"is-hoverable": y.value,
|
|
2814
2814
|
pos: s.value,
|
|
@@ -2853,7 +2853,7 @@ const Nn = {
|
|
|
2853
2853
|
const e = l, n = a, t = B(
|
|
2854
2854
|
() => e.useSvg ? _o : xo
|
|
2855
2855
|
);
|
|
2856
|
-
return (o, i) => (
|
|
2856
|
+
return (o, i) => (d(), V(Gt(t.value), {
|
|
2857
2857
|
"i18n-config": e.i18nConfig,
|
|
2858
2858
|
"show-cards": e.showCards,
|
|
2859
2859
|
"color-callback": e.colorCallback,
|
|
@@ -2870,8 +2870,8 @@ const Nn = {
|
|
|
2870
2870
|
}, Aa({ _: 2 }, [
|
|
2871
2871
|
ye(Object.keys(o.$slots), (s) => ({
|
|
2872
2872
|
name: s,
|
|
2873
|
-
fn: _((
|
|
2874
|
-
ne(o.$slots, s, it(rt(
|
|
2873
|
+
fn: _((m) => [
|
|
2874
|
+
ne(o.$slots, s, it(rt(m)))
|
|
2875
2875
|
])
|
|
2876
2876
|
}))
|
|
2877
2877
|
]), 1064, ["i18n-config", "show-cards", "color-callback", "cdn-file-resolver", "interactive-desktop", "interactive-mobile", "building-chooser-time-of-day", "can-go-to-building-callback", "custom-overlay-content", "building-chooser-data"]));
|
|
@@ -2885,7 +2885,7 @@ const Nn = {
|
|
|
2885
2885
|
},
|
|
2886
2886
|
setup(l) {
|
|
2887
2887
|
const a = l, e = B(() => he(a.cdnFileResolver, a.timeSampleData.filename));
|
|
2888
|
-
return (n, t) => we((
|
|
2888
|
+
return (n, t) => we((d(), x("img", {
|
|
2889
2889
|
key: e.value,
|
|
2890
2890
|
src: e.value,
|
|
2891
2891
|
width: "100%"
|
|
@@ -2902,7 +2902,7 @@ const Nn = {
|
|
|
2902
2902
|
},
|
|
2903
2903
|
setup(l) {
|
|
2904
2904
|
const a = l;
|
|
2905
|
-
return (e, n) => (
|
|
2905
|
+
return (e, n) => (d(!0), x(ve, null, ye(a.dayData.timeSamples, (t) => (d(), V(Lo, {
|
|
2906
2906
|
"time-sample-data": t,
|
|
2907
2907
|
"cdn-file-resolver": a.cdnFileResolver,
|
|
2908
2908
|
"current-time": e.currentTime
|
|
@@ -2917,7 +2917,7 @@ const Nn = {
|
|
|
2917
2917
|
},
|
|
2918
2918
|
setup(l) {
|
|
2919
2919
|
const a = l;
|
|
2920
|
-
return (e, n) => (
|
|
2920
|
+
return (e, n) => (d(!0), x(ve, null, ye(a.cameraData.sunsimDayOfYear, (t) => (d(), V(Mo, {
|
|
2921
2921
|
"day-data": t,
|
|
2922
2922
|
"cdn-file-resolver": a.cdnFileResolver,
|
|
2923
2923
|
"current-time": a.currentTime
|
|
@@ -2942,10 +2942,10 @@ const Nn = {
|
|
|
2942
2942
|
)
|
|
2943
2943
|
);
|
|
2944
2944
|
}), (o, i) => {
|
|
2945
|
-
const s =
|
|
2946
|
-
return
|
|
2945
|
+
const s = T("v-select");
|
|
2946
|
+
return d(), V(s, {
|
|
2947
2947
|
modelValue: t.value,
|
|
2948
|
-
"onUpdate:modelValue": i[0] || (i[0] = (
|
|
2948
|
+
"onUpdate:modelValue": i[0] || (i[0] = (m) => t.value = m),
|
|
2949
2949
|
items: e.buildingChooserData.cameras,
|
|
2950
2950
|
"item-title": "cameraName",
|
|
2951
2951
|
"item-value": "overlayFilename",
|
|
@@ -2985,8 +2985,8 @@ const Nn = {
|
|
|
2985
2985
|
});
|
|
2986
2986
|
}
|
|
2987
2987
|
return (i, s) => {
|
|
2988
|
-
const
|
|
2989
|
-
return
|
|
2988
|
+
const m = T("v-list-item"), p = T("v-select");
|
|
2989
|
+
return d(), V(p, {
|
|
2990
2990
|
modelValue: t.value,
|
|
2991
2991
|
"onUpdate:modelValue": s[0] || (s[0] = (r) => t.value = r),
|
|
2992
2992
|
items: e.cameraData.sunsimDayOfYear,
|
|
@@ -2997,7 +2997,7 @@ const Nn = {
|
|
|
2997
2997
|
"hide-details": ""
|
|
2998
2998
|
}, {
|
|
2999
2999
|
item: _(({ props: r }) => [
|
|
3000
|
-
C(
|
|
3000
|
+
C(m, Me(r, {
|
|
3001
3001
|
title: o(r.title)
|
|
3002
3002
|
}), null, 16, ["title"])
|
|
3003
3003
|
]),
|
|
@@ -3029,29 +3029,29 @@ const Nn = {
|
|
|
3029
3029
|
n(
|
|
3030
3030
|
"onTimeChange",
|
|
3031
3031
|
e.dayData.timeSamples.find(
|
|
3032
|
-
(
|
|
3032
|
+
(m) => m.timeInHours === t.value
|
|
3033
3033
|
)
|
|
3034
3034
|
);
|
|
3035
3035
|
});
|
|
3036
|
-
function i(
|
|
3037
|
-
const
|
|
3036
|
+
function i(m) {
|
|
3037
|
+
const p = m * 60, r = Math.floor(p / 60), f = p % 60;
|
|
3038
3038
|
return `${r.toString().padStart(2, "0")}:${f.toString().padStart(2, "0")}`;
|
|
3039
3039
|
}
|
|
3040
3040
|
function s() {
|
|
3041
3041
|
o.value ? (clearInterval(o.value), o.value = void 0) : (e.dayData.timeSamples.findIndex(
|
|
3042
|
-
(
|
|
3042
|
+
(p) => p.timeInHours === t.value
|
|
3043
3043
|
) === e.dayData.timeSamples.length - 1 && (t.value = e.dayData.timeSamples[0].timeInHours), o.value = setInterval(() => {
|
|
3044
|
-
const
|
|
3044
|
+
const p = e.dayData.timeSamples.findIndex(
|
|
3045
3045
|
(r) => r.timeInHours === t.value
|
|
3046
3046
|
);
|
|
3047
|
-
|
|
3047
|
+
p < e.dayData.timeSamples.length - 1 ? t.value = e.dayData.timeSamples[p + 1].timeInHours : (clearInterval(o.value), o.value = void 0);
|
|
3048
3048
|
}, 200));
|
|
3049
3049
|
}
|
|
3050
|
-
return (
|
|
3051
|
-
const r =
|
|
3052
|
-
return
|
|
3050
|
+
return (m, p) => {
|
|
3051
|
+
const r = T("v-icon"), f = T("v-btn"), k = T("v-slider"), g = T("v-field");
|
|
3052
|
+
return d(), V(g, { variant: "solo" }, {
|
|
3053
3053
|
default: _(() => [
|
|
3054
|
-
|
|
3054
|
+
m.dayData.startTime === m.dayData.endTime ? (d(), x("div", Vo, [
|
|
3055
3055
|
C(r, {
|
|
3056
3056
|
style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
|
|
3057
3057
|
class: "py-2 ml-2 mr-2 icon"
|
|
@@ -3062,14 +3062,14 @@ const Nn = {
|
|
|
3062
3062
|
_: 1
|
|
3063
3063
|
}),
|
|
3064
3064
|
te(" " + Q(i(t.value)), 1)
|
|
3065
|
-
])) : (
|
|
3065
|
+
])) : (d(), V(k, {
|
|
3066
3066
|
key: 1,
|
|
3067
3067
|
class: "pa-1",
|
|
3068
3068
|
modelValue: t.value,
|
|
3069
|
-
"onUpdate:modelValue":
|
|
3070
|
-
min:
|
|
3071
|
-
max:
|
|
3072
|
-
step:
|
|
3069
|
+
"onUpdate:modelValue": p[0] || (p[0] = (c) => t.value = c),
|
|
3070
|
+
min: m.dayData.startTime,
|
|
3071
|
+
max: m.dayData.endTime,
|
|
3072
|
+
step: m.dayData.interval,
|
|
3073
3073
|
"hide-details": ""
|
|
3074
3074
|
}, {
|
|
3075
3075
|
prepend: _(() => [
|
|
@@ -3080,10 +3080,10 @@ const Nn = {
|
|
|
3080
3080
|
onClick: s
|
|
3081
3081
|
}, null, 8, ["icon"]),
|
|
3082
3082
|
te(" "),
|
|
3083
|
-
u("span", $o, Q(i(
|
|
3083
|
+
u("span", $o, Q(i(m.dayData.startTime)), 1)
|
|
3084
3084
|
]),
|
|
3085
3085
|
append: _(() => [
|
|
3086
|
-
u("span", Bo, Q(i(
|
|
3086
|
+
u("span", Bo, Q(i(m.dayData.endTime)), 1),
|
|
3087
3087
|
te(" "),
|
|
3088
3088
|
C(r, {
|
|
3089
3089
|
style: { color: "#ffab02", "vertical-align": "baseline", "font-size": "20px" },
|
|
@@ -3116,14 +3116,14 @@ const Nn = {
|
|
|
3116
3116
|
const e = l, n = a, t = v(), o = v(), i = v(e.selectedId), s = gt({});
|
|
3117
3117
|
Ve(() => {
|
|
3118
3118
|
for (const r in s) {
|
|
3119
|
-
const { element: f, state: k } = s[r], { r: g, g:
|
|
3119
|
+
const { element: f, state: k } = s[r], { r: g, g: c, b: h, a: S, s: b } = e.colorCallback(r, k) || {
|
|
3120
3120
|
r: 0,
|
|
3121
3121
|
g: 0,
|
|
3122
3122
|
b: 0,
|
|
3123
3123
|
a: 0,
|
|
3124
3124
|
s: 0
|
|
3125
3125
|
};
|
|
3126
|
-
f.style.fill = `rgba(${g}, ${
|
|
3126
|
+
f.style.fill = `rgba(${g}, ${c}, ${h}, ${S / 255})`, f.style.stroke = `rgb(${g}, ${c}, ${h})`, f.style.strokeWidth = b.toString();
|
|
3127
3127
|
}
|
|
3128
3128
|
}), H(
|
|
3129
3129
|
() => e.selectedId,
|
|
@@ -3136,14 +3136,14 @@ const Nn = {
|
|
|
3136
3136
|
}), Ve(async () => {
|
|
3137
3137
|
t.value = await Fe.loadText(
|
|
3138
3138
|
he(e.cdnFileResolver, e.currentCamera.overlayFilename)
|
|
3139
|
-
),
|
|
3139
|
+
), p();
|
|
3140
3140
|
}), H(
|
|
3141
3141
|
() => o.value,
|
|
3142
3142
|
() => {
|
|
3143
|
-
o.value && new ResizeObserver(
|
|
3143
|
+
o.value && new ResizeObserver(m).observe(o.value);
|
|
3144
3144
|
}
|
|
3145
3145
|
);
|
|
3146
|
-
function
|
|
3146
|
+
function m() {
|
|
3147
3147
|
De(() => {
|
|
3148
3148
|
var f;
|
|
3149
3149
|
const r = (f = o.value) == null ? void 0 : f.firstChild;
|
|
@@ -3159,31 +3159,31 @@ const Nn = {
|
|
|
3159
3159
|
);
|
|
3160
3160
|
});
|
|
3161
3161
|
}
|
|
3162
|
-
function
|
|
3162
|
+
function p() {
|
|
3163
3163
|
De(() => {
|
|
3164
3164
|
var f;
|
|
3165
3165
|
const r = (f = o.value) == null ? void 0 : f.firstChild;
|
|
3166
|
-
r && (n("updateSvgContainer", r),
|
|
3166
|
+
r && (n("updateSvgContainer", r), m(), r.querySelectorAll("[data-building-id]").forEach((g) => {
|
|
3167
3167
|
g.style.strokeWidth = "0", g.style.stroke = "rgba(255,255,255,0)", g.style.fill = "rgba(255,255,255,0)", g.querySelectorAll("path").forEach((h) => {
|
|
3168
3168
|
h.style.stroke = "inherit", h.style.fill = "inherit";
|
|
3169
3169
|
});
|
|
3170
|
-
const
|
|
3171
|
-
s[
|
|
3170
|
+
const c = g.getAttribute("data-building-id");
|
|
3171
|
+
s[c] = {
|
|
3172
3172
|
element: g,
|
|
3173
|
-
state: i.value ===
|
|
3173
|
+
state: i.value === c ? "selected" : "idle"
|
|
3174
3174
|
}, g.addEventListener("mouseover", () => {
|
|
3175
|
-
s[
|
|
3175
|
+
s[c].state === "idle" && (s[c].state = "hover"), n("onHoverOver", c);
|
|
3176
3176
|
}), g.addEventListener("mouseout", () => {
|
|
3177
|
-
s[
|
|
3177
|
+
s[c].state === "hover" && (s[c].state = "idle"), n("onHoverOut", c);
|
|
3178
3178
|
}), g.addEventListener("click", () => {
|
|
3179
|
-
n("onClick",
|
|
3179
|
+
n("onClick", c);
|
|
3180
3180
|
});
|
|
3181
3181
|
}));
|
|
3182
3182
|
});
|
|
3183
3183
|
}
|
|
3184
|
-
return (r, f) => (
|
|
3184
|
+
return (r, f) => (d(), V(Te, null, {
|
|
3185
3185
|
default: _(() => [
|
|
3186
|
-
(
|
|
3186
|
+
(d(), x("div", {
|
|
3187
3187
|
ref_key: "svgContainer",
|
|
3188
3188
|
ref: o,
|
|
3189
3189
|
key: r.currentCamera.overlayFilename,
|
|
@@ -3267,10 +3267,10 @@ const jo = {
|
|
|
3267
3267
|
},
|
|
3268
3268
|
emits: ["onClick", "onHoverOver", "onHoverOut", "onMouseMove", "onInitialize", "onError"],
|
|
3269
3269
|
setup(l, { emit: a }) {
|
|
3270
|
-
const e = l, n = a, t = v(), o = v(), i = v(), s = v(),
|
|
3270
|
+
const e = l, n = a, t = v(), o = v(), i = v(), s = v(), m = v(!1), p = v(), r = B(() => p.value.isHoverEnabled), f = v({ x: 0, y: 0, width: 0, height: 0 }), k = v(), g = v(), c = v(
|
|
3271
3271
|
e.buildingChooserData
|
|
3272
3272
|
), h = v(!1);
|
|
3273
|
-
Ie(() =>
|
|
3273
|
+
Ie(() => m.value = !0), H(m, (M) => {
|
|
3274
3274
|
M && n("onInitialize");
|
|
3275
3275
|
}), H(
|
|
3276
3276
|
() => g.value,
|
|
@@ -3290,29 +3290,29 @@ const jo = {
|
|
|
3290
3290
|
he(e.cdnFileResolver, "/buildingChooser.json")
|
|
3291
3291
|
), parseInt(q.version) === 5 ? q : (M = Po(q), M);
|
|
3292
3292
|
} catch (M) {
|
|
3293
|
-
|
|
3293
|
+
m.value = !1, n("onError", M);
|
|
3294
3294
|
}
|
|
3295
3295
|
};
|
|
3296
3296
|
H(
|
|
3297
|
-
[
|
|
3297
|
+
[c, () => e.cdnFileResolver, () => e.defaultCamera],
|
|
3298
3298
|
async () => {
|
|
3299
|
-
e.cdnFileResolver && (
|
|
3299
|
+
e.cdnFileResolver && (c.value || (c.value = await S()), e.defaultCamera ? t.value = c.value.cameras.find(
|
|
3300
3300
|
(M) => M.cameraName === e.defaultCamera
|
|
3301
|
-
) ||
|
|
3301
|
+
) || c.value.cameras[0] : t.value = c.value.cameras[0]);
|
|
3302
3302
|
},
|
|
3303
3303
|
{ immediate: !0 }
|
|
3304
3304
|
), H(
|
|
3305
|
-
[
|
|
3305
|
+
[c, () => e.cdnFileResolver, () => e.defaultDay],
|
|
3306
3306
|
() => {
|
|
3307
|
-
|
|
3307
|
+
c.value && e.cdnFileResolver && (e.defaultDay ? o.value = t.value.sunsimDayOfYear.find(
|
|
3308
3308
|
(M) => M.dayOfYear === e.defaultDay
|
|
3309
3309
|
) || t.value.sunsimDayOfYear[0] : o.value = t.value.sunsimDayOfYear[0]);
|
|
3310
3310
|
},
|
|
3311
3311
|
{ immediate: !0 }
|
|
3312
3312
|
), H(
|
|
3313
|
-
[
|
|
3313
|
+
[c, () => e.cdnFileResolver, () => e.defaultTime],
|
|
3314
3314
|
() => {
|
|
3315
|
-
|
|
3315
|
+
c.value && e.cdnFileResolver && (e.defaultTime ? i.value = o.value.timeSamples.find(
|
|
3316
3316
|
(M) => M.timeInHours === e.defaultTime
|
|
3317
3317
|
) || o.value.timeSamples[0] : i.value = o.value.timeSamples.find(
|
|
3318
3318
|
(M) => M.timeInHours === o.value.defaultHour
|
|
@@ -3345,7 +3345,7 @@ const jo = {
|
|
|
3345
3345
|
function Y(M) {
|
|
3346
3346
|
i.value = M;
|
|
3347
3347
|
}
|
|
3348
|
-
function
|
|
3348
|
+
function E(M) {
|
|
3349
3349
|
n("onHoverOver", M), s.value = M;
|
|
3350
3350
|
}
|
|
3351
3351
|
function P(M) {
|
|
@@ -3373,12 +3373,12 @@ const jo = {
|
|
|
3373
3373
|
n("onMouseMove", M, f.value);
|
|
3374
3374
|
}
|
|
3375
3375
|
return (M, q) => {
|
|
3376
|
-
const R =
|
|
3377
|
-
return
|
|
3376
|
+
const R = T("v-skeleton-loader");
|
|
3377
|
+
return d(), x(ve, null, [
|
|
3378
3378
|
C(R, {
|
|
3379
3379
|
type: "image",
|
|
3380
3380
|
class: "w-100 h-100 position-relative",
|
|
3381
|
-
loading: !
|
|
3381
|
+
loading: !m.value || !c.value
|
|
3382
3382
|
}, {
|
|
3383
3383
|
default: _(() => [
|
|
3384
3384
|
C(Te, { class: "w-100 h-100" }, {
|
|
@@ -3390,15 +3390,15 @@ const jo = {
|
|
|
3390
3390
|
onMousemove: I
|
|
3391
3391
|
}, [
|
|
3392
3392
|
u("div", jo, [
|
|
3393
|
-
|
|
3393
|
+
c.value.cameras.length > 1 ? (d(), x("div", Wo, [
|
|
3394
3394
|
C(Eo, {
|
|
3395
|
-
"building-chooser-data":
|
|
3395
|
+
"building-chooser-data": c.value,
|
|
3396
3396
|
"current-camera": t.value,
|
|
3397
3397
|
onOnCameraChange: b
|
|
3398
3398
|
}, null, 8, ["building-chooser-data", "current-camera"])
|
|
3399
3399
|
])) : $("", !0),
|
|
3400
3400
|
u("div", No, [
|
|
3401
|
-
t.value.sunsimDayOfYear.length > 1 ? (
|
|
3401
|
+
t.value.sunsimDayOfYear.length > 1 ? (d(), V(To, {
|
|
3402
3402
|
key: 0,
|
|
3403
3403
|
"camera-data": t.value,
|
|
3404
3404
|
"current-day": o.value,
|
|
@@ -3406,7 +3406,7 @@ const jo = {
|
|
|
3406
3406
|
}, null, 8, ["camera-data", "current-day"])) : $("", !0)
|
|
3407
3407
|
]),
|
|
3408
3408
|
u("div", Go, [
|
|
3409
|
-
o.value.timeSamples.length > 1 ? (
|
|
3409
|
+
o.value.timeSamples.length > 1 ? (d(), V(Uo, {
|
|
3410
3410
|
key: 0,
|
|
3411
3411
|
"day-data": o.value,
|
|
3412
3412
|
"current-time": i.value,
|
|
@@ -3415,20 +3415,20 @@ const jo = {
|
|
|
3415
3415
|
])
|
|
3416
3416
|
]),
|
|
3417
3417
|
u("div", Qo, [
|
|
3418
|
-
t.value.cameraRotation ? (
|
|
3418
|
+
t.value.cameraRotation ? (d(), V(at, {
|
|
3419
3419
|
key: 0,
|
|
3420
3420
|
longitude: t.value.cameraRotation.y + 270
|
|
3421
3421
|
}, null, 8, ["longitude"])) : $("", !0)
|
|
3422
3422
|
]),
|
|
3423
3423
|
C(tt, { position: "relative" }, {
|
|
3424
3424
|
default: _(() => [
|
|
3425
|
-
(
|
|
3425
|
+
(d(!0), x(ve, null, ye(c.value.cameras, (K) => (d(), V(Oo, {
|
|
3426
3426
|
key: K.overlayFilename,
|
|
3427
3427
|
"camera-data": K,
|
|
3428
3428
|
"cdn-file-resolver": e.cdnFileResolver,
|
|
3429
3429
|
"current-time": i.value
|
|
3430
3430
|
}, null, 8, ["camera-data", "cdn-file-resolver", "current-time"]))), 128)),
|
|
3431
|
-
e.customOverlayContent ? (
|
|
3431
|
+
e.customOverlayContent ? (d(), x("div", {
|
|
3432
3432
|
key: 0,
|
|
3433
3433
|
class: "w-100 h-100 position-absolute top-left",
|
|
3434
3434
|
style: { "z-index": "5", "pointer-events": "none" },
|
|
@@ -3440,14 +3440,14 @@ const jo = {
|
|
|
3440
3440
|
"current-camera": t.value,
|
|
3441
3441
|
"selected-id": e.selectedId,
|
|
3442
3442
|
onOnClick: q[0] || (q[0] = (K) => n("onClick", K)),
|
|
3443
|
-
onOnHoverOver:
|
|
3443
|
+
onOnHoverOver: E,
|
|
3444
3444
|
onOnHoverOut: P,
|
|
3445
3445
|
onUpdateSvgContainer: q[1] || (q[1] = (K) => k.value = K)
|
|
3446
3446
|
}, null, 8, ["cdn-file-resolver", "color-callback", "current-camera", "selected-id"])
|
|
3447
3447
|
]),
|
|
3448
3448
|
_: 1
|
|
3449
3449
|
}),
|
|
3450
|
-
M.$slots.popup && f.value && s.value ? (
|
|
3450
|
+
M.$slots.popup && f.value && s.value ? (d(), V(et, {
|
|
3451
3451
|
key: 0,
|
|
3452
3452
|
"is-hoverable": r.value,
|
|
3453
3453
|
pos: f.value
|
|
@@ -3468,12 +3468,12 @@ const jo = {
|
|
|
3468
3468
|
}, 8, ["loading"]),
|
|
3469
3469
|
C(Ye, {
|
|
3470
3470
|
ref_key: "hoverProbe",
|
|
3471
|
-
ref:
|
|
3471
|
+
ref: p
|
|
3472
3472
|
}, null, 512)
|
|
3473
3473
|
], 64);
|
|
3474
3474
|
};
|
|
3475
3475
|
}
|
|
3476
|
-
}),
|
|
3476
|
+
}), lu = /* @__PURE__ */ ee(Jo, [["__scopeId", "data-v-47df87bc"]]);
|
|
3477
3477
|
var nt = {};
|
|
3478
3478
|
Object.defineProperty(nt, "__esModule", {
|
|
3479
3479
|
value: !0
|
|
@@ -3531,9 +3531,9 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
3531
3531
|
interiorId: o,
|
|
3532
3532
|
apartmentId: i,
|
|
3533
3533
|
currentCameraId: s,
|
|
3534
|
-
showStaticImage:
|
|
3535
|
-
mouseSensitivity:
|
|
3536
|
-
} = $e(n), r = a, f = v(), k = v(s.value), g = v(0),
|
|
3534
|
+
showStaticImage: m,
|
|
3535
|
+
mouseSensitivity: p
|
|
3536
|
+
} = $e(n), r = a, f = v(), k = v(s.value), g = v(0), c = v(0);
|
|
3537
3537
|
H(s, () => {
|
|
3538
3538
|
k.value = s.value;
|
|
3539
3539
|
}), H([o, i], async () => {
|
|
@@ -3568,7 +3568,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
3568
3568
|
});
|
|
3569
3569
|
async function h() {
|
|
3570
3570
|
S();
|
|
3571
|
-
const
|
|
3571
|
+
const E = {
|
|
3572
3572
|
initialized: () => {
|
|
3573
3573
|
f.value = e.Main.getPlayerAPI();
|
|
3574
3574
|
const I = f.value.getCurrentCamera();
|
|
@@ -3578,7 +3578,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
3578
3578
|
r("newFloorCallback", I.floorLevel), r("sunsimCallback", I.sunsimDayOfYear), f.value && f.value.resetMarkerBehaviour(0), k.value = I.id;
|
|
3579
3579
|
},
|
|
3580
3580
|
newFOV: (I) => {
|
|
3581
|
-
r("newFovCallback", I),
|
|
3581
|
+
r("newFovCallback", I), c.value = I;
|
|
3582
3582
|
},
|
|
3583
3583
|
newRotation: (I) => {
|
|
3584
3584
|
const M = I + 0;
|
|
@@ -3593,21 +3593,21 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
3593
3593
|
`/${o.value}/${i.value}${I}`
|
|
3594
3594
|
),
|
|
3595
3595
|
"qpc",
|
|
3596
|
-
|
|
3596
|
+
E,
|
|
3597
3597
|
void 0,
|
|
3598
3598
|
k.value
|
|
3599
3599
|
);
|
|
3600
3600
|
P && (P.handleWindowResize(), window.addEventListener(
|
|
3601
3601
|
"resize",
|
|
3602
3602
|
P.handleWindowResize.bind(P)
|
|
3603
|
-
), P.animate(), f.value = e.Main.getPlayerAPI(), f.value && f.value.setLookSensitivity(
|
|
3603
|
+
), P.animate(), f.value = e.Main.getPlayerAPI(), f.value && f.value.setLookSensitivity(p.value));
|
|
3604
3604
|
}
|
|
3605
3605
|
async function S() {
|
|
3606
3606
|
f.value && (await f.value.destroy(), f.value = void 0);
|
|
3607
3607
|
}
|
|
3608
3608
|
return We(() => {
|
|
3609
3609
|
S();
|
|
3610
|
-
}), (b, y) => (
|
|
3610
|
+
}), (b, y) => (d(), x("div", ll, [
|
|
3611
3611
|
u("div", sl, [
|
|
3612
3612
|
ne(b.$slots, "slideshow-image", {}, void 0, !0),
|
|
3613
3613
|
u("div", il, [
|
|
@@ -3640,7 +3640,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
3640
3640
|
u("div", hl, [
|
|
3641
3641
|
u("canvas", {
|
|
3642
3642
|
id: "qpc",
|
|
3643
|
-
style: fe(
|
|
3643
|
+
style: fe(D(m) ? "visibility:hidden" : "visibility:visible")
|
|
3644
3644
|
}, null, 4)
|
|
3645
3645
|
])
|
|
3646
3646
|
])
|
|
@@ -3661,30 +3661,30 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
3661
3661
|
const e = l, n = a, t = Ne(Be), o = B(() => {
|
|
3662
3662
|
const r = e.floorLevels;
|
|
3663
3663
|
return r.sort(), r;
|
|
3664
|
-
}), i = B(() => o.value.indexOf(e.level) + 1 <= o.value.length / 2 ? "lower" : "upper"), s = B(() => i.value === "lower"),
|
|
3665
|
-
function
|
|
3664
|
+
}), i = B(() => o.value.indexOf(e.level) + 1 <= o.value.length / 2 ? "lower" : "upper"), s = B(() => i.value === "lower"), m = B(() => i.value === "upper");
|
|
3665
|
+
function p() {
|
|
3666
3666
|
const r = e.level + 1;
|
|
3667
3667
|
r >= o.value.length ? n("level", o.value[0]) : n("level", o.value[r]);
|
|
3668
3668
|
}
|
|
3669
3669
|
return (r, f) => {
|
|
3670
|
-
const k =
|
|
3671
|
-
return
|
|
3670
|
+
const k = T("v-btn"), g = T("v-tooltip");
|
|
3671
|
+
return d(), V(g, {
|
|
3672
3672
|
right: "",
|
|
3673
3673
|
attach: ""
|
|
3674
3674
|
}, {
|
|
3675
|
-
activator: _(({ props:
|
|
3675
|
+
activator: _(({ props: c }) => [
|
|
3676
3676
|
C(k, Me({
|
|
3677
3677
|
style: { cursor: "pointer" },
|
|
3678
3678
|
density: "comfortable",
|
|
3679
3679
|
elevation: "1",
|
|
3680
3680
|
icon: ""
|
|
3681
|
-
},
|
|
3681
|
+
}, c, { onClick: p }), {
|
|
3682
3682
|
default: _(() => [
|
|
3683
|
-
(
|
|
3683
|
+
(d(), x("svg", _l, [
|
|
3684
3684
|
u("path", {
|
|
3685
3685
|
d: "M8.98034 10.3472L1.54055 5.8855L8.98034 1.42384L16.4201 5.8855L8.98034 10.3472Z",
|
|
3686
3686
|
fill: "white",
|
|
3687
|
-
stroke:
|
|
3687
|
+
stroke: m.value ? "black" : "#999999",
|
|
3688
3688
|
"stroke-width": "1.5",
|
|
3689
3689
|
"stroke-linejoin": "round"
|
|
3690
3690
|
}, null, 8, bl),
|
|
@@ -3701,7 +3701,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
3701
3701
|
}, 1040)
|
|
3702
3702
|
]),
|
|
3703
3703
|
default: _(() => [
|
|
3704
|
-
u("span", wl, Q(
|
|
3704
|
+
u("span", wl, Q(D(t).getLabel(i.value)) + " " + Q(D(t).getLabel("floor")), 1)
|
|
3705
3705
|
]),
|
|
3706
3706
|
_: 1
|
|
3707
3707
|
});
|
|
@@ -3718,8 +3718,8 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
3718
3718
|
setup(l, { emit: a }) {
|
|
3719
3719
|
const e = l, n = a, t = Ne(Be);
|
|
3720
3720
|
return (o, i) => {
|
|
3721
|
-
const s =
|
|
3722
|
-
return
|
|
3721
|
+
const s = T("v-icon"), m = T("v-btn"), p = T("v-img"), r = T("v-menu");
|
|
3722
|
+
return d(), x("div", null, [
|
|
3723
3723
|
C(r, {
|
|
3724
3724
|
transition: "slide-x-reverse-transition",
|
|
3725
3725
|
location: "top end",
|
|
@@ -3728,7 +3728,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
3728
3728
|
attach: ""
|
|
3729
3729
|
}, {
|
|
3730
3730
|
activator: _(({ props: f }) => [
|
|
3731
|
-
C(
|
|
3731
|
+
C(m, Me({ rounded: "" }, f, { class: "text-capitalize" }), {
|
|
3732
3732
|
default: _(() => [
|
|
3733
3733
|
C(s, null, {
|
|
3734
3734
|
default: _(() => [
|
|
@@ -3736,14 +3736,14 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
3736
3736
|
]),
|
|
3737
3737
|
_: 1
|
|
3738
3738
|
}),
|
|
3739
|
-
u("span", Il, Q(
|
|
3739
|
+
u("span", Il, Q(D(t).getLabel("interior")), 1)
|
|
3740
3740
|
]),
|
|
3741
3741
|
_: 2
|
|
3742
3742
|
}, 1040)
|
|
3743
3743
|
]),
|
|
3744
3744
|
default: _(() => [
|
|
3745
3745
|
u("div", xl, [
|
|
3746
|
-
(
|
|
3746
|
+
(d(!0), x(ve, null, ye(e.availableArchetypes, (f, k) => (d(), x("div", {
|
|
3747
3747
|
key: `at-menuitem-${k}`,
|
|
3748
3748
|
onClick: (g) => n("selectInterior", f.archetypeID),
|
|
3749
3749
|
class: ge(["interior-selector-list-item", {
|
|
@@ -3752,7 +3752,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
3752
3752
|
}, [
|
|
3753
3753
|
u("div", Al, [
|
|
3754
3754
|
u("div", Fl, [
|
|
3755
|
-
C(
|
|
3755
|
+
C(p, {
|
|
3756
3756
|
width: "100",
|
|
3757
3757
|
"max-width": "100",
|
|
3758
3758
|
height: "66",
|
|
@@ -3760,7 +3760,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
3760
3760
|
class: "pa-0 ma-0"
|
|
3761
3761
|
}, null, 8, ["src"])
|
|
3762
3762
|
]),
|
|
3763
|
-
u("div", Ll, Q(
|
|
3763
|
+
u("div", Ll, Q(D(t).get(f.title)), 1)
|
|
3764
3764
|
])
|
|
3765
3765
|
], 10, Dl))), 128))
|
|
3766
3766
|
])
|
|
@@ -3783,8 +3783,8 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
3783
3783
|
transform: `rotate(${-a.rotation + 180}deg)`
|
|
3784
3784
|
}));
|
|
3785
3785
|
return (o, i) => {
|
|
3786
|
-
const s =
|
|
3787
|
-
return
|
|
3786
|
+
const s = T("v-img");
|
|
3787
|
+
return d(), x("div", {
|
|
3788
3788
|
style: fe(n.value),
|
|
3789
3789
|
class: "compass-wrapper"
|
|
3790
3790
|
}, [
|
|
@@ -3808,11 +3808,11 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
3808
3808
|
return ("0" + t).slice(-2);
|
|
3809
3809
|
}
|
|
3810
3810
|
return (t, o) => {
|
|
3811
|
-
const i =
|
|
3812
|
-
return
|
|
3811
|
+
const i = T("v-img");
|
|
3812
|
+
return d(), x("div", Bl, [
|
|
3813
3813
|
u("div", Rl, [
|
|
3814
3814
|
C(i, {
|
|
3815
|
-
src:
|
|
3815
|
+
src: D($l),
|
|
3816
3816
|
"aspect-ratio": "1"
|
|
3817
3817
|
}, null, 8, ["src"])
|
|
3818
3818
|
]),
|
|
@@ -3845,17 +3845,17 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
3845
3845
|
return e.showStaticImage || (i = "slideShow"), i;
|
|
3846
3846
|
});
|
|
3847
3847
|
return (i, s) => {
|
|
3848
|
-
const
|
|
3849
|
-
return
|
|
3848
|
+
const m = T("v-icon"), p = T("v-btn"), r = T("v-tooltip");
|
|
3849
|
+
return d(), V(r, { location: "top" }, {
|
|
3850
3850
|
activator: _(({ props: f }) => [
|
|
3851
|
-
C(
|
|
3851
|
+
C(p, Me({
|
|
3852
3852
|
density: "comfortable",
|
|
3853
3853
|
elevation: "1",
|
|
3854
3854
|
icon: "",
|
|
3855
3855
|
onClick: s[0] || (s[0] = (k) => n("toggle"))
|
|
3856
3856
|
}, f), {
|
|
3857
3857
|
default: _(() => [
|
|
3858
|
-
o.value === "virtualTour" ? (
|
|
3858
|
+
o.value === "virtualTour" ? (d(), x("svg", zl, Nl)) : (d(), V(m, { key: 1 }, {
|
|
3859
3859
|
default: _(() => [
|
|
3860
3860
|
te("mdi-image-multiple")
|
|
3861
3861
|
]),
|
|
@@ -3866,7 +3866,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
3866
3866
|
}, 1040)
|
|
3867
3867
|
]),
|
|
3868
3868
|
default: _(() => [
|
|
3869
|
-
u("span", null, Q(
|
|
3869
|
+
u("span", null, Q(D(t).getLabel(o.value)), 1)
|
|
3870
3870
|
]),
|
|
3871
3871
|
_: 1
|
|
3872
3872
|
});
|
|
@@ -4408,13 +4408,13 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4408
4408
|
/iPod/i,
|
|
4409
4409
|
/BlackBerry/i,
|
|
4410
4410
|
/Windows Phone/i
|
|
4411
|
-
].some((
|
|
4411
|
+
].some((p) => navigator.userAgent.match(p)));
|
|
4412
4412
|
function s() {
|
|
4413
4413
|
e("closeTutorial", t.value);
|
|
4414
4414
|
}
|
|
4415
|
-
return (
|
|
4416
|
-
const r =
|
|
4417
|
-
return
|
|
4415
|
+
return (m, p) => {
|
|
4416
|
+
const r = T("v-icon"), f = T("v-card-title"), k = T("v-btn"), g = T("v-divider"), c = T("v-card-text"), h = T("v-card-actions"), S = T("v-card"), b = T("v-expand-transition"), y = T("v-checkbox");
|
|
4417
|
+
return d(), V(Te, { name: "fade-transition" }, {
|
|
4418
4418
|
default: _(() => [
|
|
4419
4419
|
C(S, {
|
|
4420
4420
|
class: "mx-auto",
|
|
@@ -4429,21 +4429,21 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4429
4429
|
]),
|
|
4430
4430
|
_: 1
|
|
4431
4431
|
}),
|
|
4432
|
-
te(" " + Q(
|
|
4432
|
+
te(" " + Q(D(n).getLabel("disclaimer")), 1)
|
|
4433
4433
|
]),
|
|
4434
4434
|
_: 1
|
|
4435
4435
|
}),
|
|
4436
|
-
C(
|
|
4436
|
+
C(c, { class: "pb-0" }, {
|
|
4437
4437
|
default: _(() => [
|
|
4438
|
-
u("p", null, Q(
|
|
4438
|
+
u("p", null, Q(D(n).getLabel("disclaimerTextShort")), 1),
|
|
4439
4439
|
C(k, {
|
|
4440
4440
|
variant: "tonal",
|
|
4441
4441
|
size: "small",
|
|
4442
|
-
onClick:
|
|
4442
|
+
onClick: p[0] || (p[0] = (Y) => o.value = !0),
|
|
4443
4443
|
class: "text-capitalize mt-2"
|
|
4444
4444
|
}, {
|
|
4445
4445
|
default: _(() => [
|
|
4446
|
-
te(Q(
|
|
4446
|
+
te(Q(D(n).getLabel("learnMore")) + " ", 1),
|
|
4447
4447
|
C(r, null, {
|
|
4448
4448
|
default: _(() => [
|
|
4449
4449
|
te("mdi-chevron-right")
|
|
@@ -4454,38 +4454,38 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4454
4454
|
_: 1
|
|
4455
4455
|
}),
|
|
4456
4456
|
C(g, { class: "my-3" }),
|
|
4457
|
-
i.value ? $("", !0) : (
|
|
4457
|
+
i.value ? $("", !0) : (d(), x("div", Zl, [
|
|
4458
4458
|
u("div", ql, [
|
|
4459
4459
|
u("div", Jl, [
|
|
4460
4460
|
Xl,
|
|
4461
|
-
u("div", Kl, Q(
|
|
4461
|
+
u("div", Kl, Q(D(n).getLabel("clickAndDragToLookAround")), 1)
|
|
4462
4462
|
]),
|
|
4463
4463
|
u("div", es, [
|
|
4464
4464
|
ts,
|
|
4465
|
-
u("div", as, Q(
|
|
4465
|
+
u("div", as, Q(D(n).getLabel("clickOnTheCirclesToMoveAround")), 1)
|
|
4466
4466
|
]),
|
|
4467
4467
|
u("div", ns, [
|
|
4468
4468
|
os,
|
|
4469
|
-
u("div", ls, Q(
|
|
4469
|
+
u("div", ls, Q(D(n).getLabel("useTheMouseWheelToZoom")), 1)
|
|
4470
4470
|
]),
|
|
4471
4471
|
u("div", ss, [
|
|
4472
4472
|
is,
|
|
4473
|
-
u("div", rs, Q(
|
|
4473
|
+
u("div", rs, Q(D(n).getLabel("youCanAlsoUseTheArrowKeysToMoveAround")), 1)
|
|
4474
4474
|
])
|
|
4475
4475
|
])
|
|
4476
4476
|
])),
|
|
4477
|
-
i.value ? (
|
|
4477
|
+
i.value ? (d(), x("div", us, [
|
|
4478
4478
|
u("div", cs, [
|
|
4479
4479
|
ds,
|
|
4480
|
-
u("div", vs, Q(
|
|
4480
|
+
u("div", vs, Q(D(n).getLabel("tapAndDragToLookAround")), 1)
|
|
4481
4481
|
]),
|
|
4482
4482
|
u("div", ms, [
|
|
4483
4483
|
ps,
|
|
4484
|
-
u("div", fs, Q(
|
|
4484
|
+
u("div", fs, Q(D(n).getLabel("tapOnTheCirclesToMoveAround")), 1)
|
|
4485
4485
|
]),
|
|
4486
4486
|
u("div", hs, [
|
|
4487
4487
|
gs,
|
|
4488
|
-
u("div", ys, Q(
|
|
4488
|
+
u("div", ys, Q(D(n).getLabel("useTwoFingersToZoom")), 1)
|
|
4489
4489
|
])
|
|
4490
4490
|
])) : $("", !0),
|
|
4491
4491
|
C(g, { class: "my-1" })
|
|
@@ -4494,14 +4494,14 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4494
4494
|
}),
|
|
4495
4495
|
C(b, null, {
|
|
4496
4496
|
default: _(() => [
|
|
4497
|
-
o.value ? (
|
|
4497
|
+
o.value ? (d(), V(S, {
|
|
4498
4498
|
key: 0,
|
|
4499
4499
|
class: "position-absolute w-100 bg-white",
|
|
4500
4500
|
height: "100%",
|
|
4501
4501
|
style: { bottom: "0" }
|
|
4502
4502
|
}, {
|
|
4503
4503
|
default: _(() => [
|
|
4504
|
-
C(
|
|
4504
|
+
C(c, { class: "pb-0" }, {
|
|
4505
4505
|
default: _(() => [
|
|
4506
4506
|
u("p", _s, [
|
|
4507
4507
|
C(r, null, {
|
|
@@ -4510,9 +4510,9 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4510
4510
|
]),
|
|
4511
4511
|
_: 1
|
|
4512
4512
|
}),
|
|
4513
|
-
te(" " + Q(
|
|
4513
|
+
te(" " + Q(D(n).getLabel("disclaimer")), 1)
|
|
4514
4514
|
]),
|
|
4515
|
-
u("p", bs, Q(
|
|
4515
|
+
u("p", bs, Q(D(n).getLabel("disclaimerText")), 1)
|
|
4516
4516
|
]),
|
|
4517
4517
|
_: 1
|
|
4518
4518
|
}),
|
|
@@ -4521,7 +4521,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4521
4521
|
C(k, {
|
|
4522
4522
|
variant: "tonal",
|
|
4523
4523
|
size: "small",
|
|
4524
|
-
onClick:
|
|
4524
|
+
onClick: p[1] || (p[1] = (Y) => o.value = !1),
|
|
4525
4525
|
class: "text-capitalize"
|
|
4526
4526
|
}, {
|
|
4527
4527
|
default: _(() => [
|
|
@@ -4531,7 +4531,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4531
4531
|
]),
|
|
4532
4532
|
_: 1
|
|
4533
4533
|
}),
|
|
4534
|
-
te(" " + Q(
|
|
4534
|
+
te(" " + Q(D(n).getLabel("back")), 1)
|
|
4535
4535
|
]),
|
|
4536
4536
|
_: 1
|
|
4537
4537
|
})
|
|
@@ -4548,11 +4548,11 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4548
4548
|
C(y, {
|
|
4549
4549
|
density: "compact",
|
|
4550
4550
|
modelValue: t.value,
|
|
4551
|
-
"onUpdate:modelValue":
|
|
4551
|
+
"onUpdate:modelValue": p[2] || (p[2] = (Y) => t.value = Y),
|
|
4552
4552
|
"hide-details": ""
|
|
4553
4553
|
}, {
|
|
4554
4554
|
label: _(() => [
|
|
4555
|
-
u("span", ws, Q(
|
|
4555
|
+
u("span", ws, Q(D(n).getLabel("dontShowAgain")), 1)
|
|
4556
4556
|
]),
|
|
4557
4557
|
_: 1
|
|
4558
4558
|
}, 8, ["modelValue"])
|
|
@@ -4561,11 +4561,11 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4561
4561
|
default: _(() => [
|
|
4562
4562
|
C(k, {
|
|
4563
4563
|
variant: "tonal",
|
|
4564
|
-
onClick:
|
|
4564
|
+
onClick: p[3] || (p[3] = (Y) => s()),
|
|
4565
4565
|
block: ""
|
|
4566
4566
|
}, {
|
|
4567
4567
|
default: _(() => [
|
|
4568
|
-
te(Q(
|
|
4568
|
+
te(Q(D(n).getLabel("iUnderstand")), 1)
|
|
4569
4569
|
]),
|
|
4570
4570
|
_: 1
|
|
4571
4571
|
})
|
|
@@ -4608,40 +4608,40 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4608
4608
|
{ deep: !0 }
|
|
4609
4609
|
);
|
|
4610
4610
|
const o = B(() => {
|
|
4611
|
-
let
|
|
4611
|
+
let c = {};
|
|
4612
4612
|
for (const [h, S] of Object.entries(t.value))
|
|
4613
|
-
h === "whitePoint" ?
|
|
4614
|
-
return
|
|
4613
|
+
h === "whitePoint" ? c[h] = r(S.value) : c[h] = S.value;
|
|
4614
|
+
return c;
|
|
4615
4615
|
});
|
|
4616
4616
|
function i() {
|
|
4617
4617
|
n("updateSettings", o.value);
|
|
4618
4618
|
}
|
|
4619
4619
|
function s() {
|
|
4620
|
-
const
|
|
4621
|
-
|
|
4620
|
+
const c = document.createElement("a");
|
|
4621
|
+
c.href = URL.createObjectURL(
|
|
4622
4622
|
new Blob([JSON.stringify(o.value, null, 2)])
|
|
4623
4623
|
);
|
|
4624
4624
|
const h = `player-settings-${Date.now()}.json`;
|
|
4625
|
-
|
|
4625
|
+
c.download = h, c.style.display = "none", document.body.appendChild(c), c.click(), document.body.removeChild(c);
|
|
4626
4626
|
}
|
|
4627
|
-
function
|
|
4627
|
+
function m() {
|
|
4628
4628
|
n("saveSettings", o.value);
|
|
4629
4629
|
}
|
|
4630
|
-
function
|
|
4630
|
+
function p() {
|
|
4631
4631
|
t.value = g(), n("updateSettings", o.value);
|
|
4632
4632
|
}
|
|
4633
|
-
function r(
|
|
4634
|
-
const h = parseInt(
|
|
4633
|
+
function r(c) {
|
|
4634
|
+
const h = parseInt(c.substr(1, 2), 16) / 255, S = parseInt(c.substr(3, 2), 16) / 255, b = parseInt(c.substr(5, 2), 16) / 255;
|
|
4635
4635
|
return [h, S, b];
|
|
4636
4636
|
}
|
|
4637
|
-
function f(
|
|
4638
|
-
var h =
|
|
4637
|
+
function f(c) {
|
|
4638
|
+
var h = c.toString(16);
|
|
4639
4639
|
return h.length == 1 ? "0" + h : h;
|
|
4640
4640
|
}
|
|
4641
|
-
function k([
|
|
4642
|
-
return "#" + f(parseInt((
|
|
4641
|
+
function k([c, h, S]) {
|
|
4642
|
+
return "#" + f(parseInt((c * 255).toString())) + f(parseInt((h * 255).toString())) + f(parseInt((S * 255).toString()));
|
|
4643
4643
|
}
|
|
4644
|
-
function g(
|
|
4644
|
+
function g(c = {}) {
|
|
4645
4645
|
const h = [
|
|
4646
4646
|
"Cool 5",
|
|
4647
4647
|
"Cool 10",
|
|
@@ -4665,7 +4665,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4665
4665
|
TRANSITION_MOVEMENT_SCALE: 1.3,
|
|
4666
4666
|
whitePoint: [1, 1, 1],
|
|
4667
4667
|
lut: "",
|
|
4668
|
-
...
|
|
4668
|
+
...c
|
|
4669
4669
|
};
|
|
4670
4670
|
return {
|
|
4671
4671
|
exposureFovScale: {
|
|
@@ -4737,16 +4737,16 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4737
4737
|
}
|
|
4738
4738
|
};
|
|
4739
4739
|
}
|
|
4740
|
-
return (
|
|
4741
|
-
const S =
|
|
4742
|
-
return
|
|
4740
|
+
return (c, h) => {
|
|
4741
|
+
const S = T("v-text-field"), b = T("v-slider"), y = T("v-checkbox"), Y = T("v-btn"), E = T("v-select"), P = T("v-icon");
|
|
4742
|
+
return d(), x("div", xs, [
|
|
4743
4743
|
u("form", Ds, [
|
|
4744
4744
|
u("div", As, [
|
|
4745
|
-
(
|
|
4745
|
+
(d(!0), x(ve, null, ye(t.value, (I, M, q) => (d(), x("div", {
|
|
4746
4746
|
key: q,
|
|
4747
4747
|
"d-block": ""
|
|
4748
4748
|
}, [
|
|
4749
|
-
I.type === "slider" ? (
|
|
4749
|
+
I.type === "slider" ? (d(), V(b, {
|
|
4750
4750
|
key: 0,
|
|
4751
4751
|
modelValue: t.value[M].value,
|
|
4752
4752
|
"onUpdate:modelValue": (R) => t.value[M].value = R,
|
|
@@ -4777,7 +4777,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4777
4777
|
]),
|
|
4778
4778
|
_: 2
|
|
4779
4779
|
}, 1032, ["modelValue", "onUpdate:modelValue", "max", "min", "step"])) : $("", !0),
|
|
4780
|
-
I.type === "boolean" ? (
|
|
4780
|
+
I.type === "boolean" ? (d(), V(y, {
|
|
4781
4781
|
key: 1,
|
|
4782
4782
|
modelValue: t.value[M].value,
|
|
4783
4783
|
"onUpdate:modelValue": (R) => t.value[M].value = R,
|
|
@@ -4791,7 +4791,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4791
4791
|
]),
|
|
4792
4792
|
_: 2
|
|
4793
4793
|
}, 1032, ["modelValue", "onUpdate:modelValue"])) : $("", !0),
|
|
4794
|
-
I.type === "color" ? (
|
|
4794
|
+
I.type === "color" ? (d(), x("div", {
|
|
4795
4795
|
key: 2,
|
|
4796
4796
|
class: "d-flex",
|
|
4797
4797
|
max: I.max,
|
|
@@ -4822,7 +4822,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4822
4822
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
4823
4823
|
])
|
|
4824
4824
|
], 8, Ms)) : $("", !0),
|
|
4825
|
-
I.type === "lut" ? (
|
|
4825
|
+
I.type === "lut" ? (d(), x("div", Vs, [
|
|
4826
4826
|
u("div", $s, [
|
|
4827
4827
|
u("div", Bs, Q(I.label), 1),
|
|
4828
4828
|
u("div", null, [
|
|
@@ -4841,7 +4841,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4841
4841
|
u("div", null, [
|
|
4842
4842
|
u("div", Rs, [
|
|
4843
4843
|
u("div", null, [
|
|
4844
|
-
C(
|
|
4844
|
+
C(E, {
|
|
4845
4845
|
modelValue: t.value[M].value,
|
|
4846
4846
|
"onUpdate:modelValue": (R) => t.value[M].value = R,
|
|
4847
4847
|
items: I.items,
|
|
@@ -4874,7 +4874,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4874
4874
|
]),
|
|
4875
4875
|
u("div", Ys, [
|
|
4876
4876
|
C(Y, {
|
|
4877
|
-
onClick: h[0] || (h[0] = (I) =>
|
|
4877
|
+
onClick: h[0] || (h[0] = (I) => p())
|
|
4878
4878
|
}, {
|
|
4879
4879
|
default: _(() => [
|
|
4880
4880
|
te("Reset")
|
|
@@ -4898,7 +4898,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4898
4898
|
}),
|
|
4899
4899
|
C(Y, {
|
|
4900
4900
|
class: "ml-2",
|
|
4901
|
-
onClick: h[2] || (h[2] = (I) =>
|
|
4901
|
+
onClick: h[2] || (h[2] = (I) => m())
|
|
4902
4902
|
}, {
|
|
4903
4903
|
default: _(() => [
|
|
4904
4904
|
te(" Save Settings "),
|
|
@@ -4934,31 +4934,31 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4934
4934
|
});
|
|
4935
4935
|
const t = (i) => {
|
|
4936
4936
|
new ResizeObserver(() => {
|
|
4937
|
-
const
|
|
4938
|
-
|
|
4937
|
+
const m = document.getElementById("moveableBody");
|
|
4938
|
+
m && (e.value = m.clientWidth, n.value = m.clientHeight);
|
|
4939
4939
|
}).observe(i);
|
|
4940
4940
|
}, o = (i) => {
|
|
4941
4941
|
const s = document.getElementsByClassName("anchor");
|
|
4942
4942
|
for (let h = 0; h < s.length; h++) {
|
|
4943
4943
|
const S = s[h];
|
|
4944
|
-
S.addEventListener("touchstart", k, { passive: !1 }), S.addEventListener("touchend",
|
|
4944
|
+
S.addEventListener("touchstart", k, { passive: !1 }), S.addEventListener("touchend", c, { passive: !1 }), S.addEventListener("mousedown", k, { passive: !1 }), S.addEventListener("mouseup", c, { passive: !1 });
|
|
4945
4945
|
}
|
|
4946
|
-
let
|
|
4946
|
+
let m = 0, p = 0, r = 0, f = 0;
|
|
4947
4947
|
function k(h) {
|
|
4948
4948
|
h = h || window.event, h.preventDefault();
|
|
4949
4949
|
let S = h;
|
|
4950
|
-
h.type === "touchstart" && (S = h.touches[0]), r = S.clientX, f = S.clientY, document.addEventListener("mouseup",
|
|
4950
|
+
h.type === "touchstart" && (S = h.touches[0]), r = S.clientX, f = S.clientY, document.addEventListener("mouseup", c, { passive: !1 }), document.addEventListener("touchend", c, { passive: !1 }), document.addEventListener("mousemove", g, { passive: !1 }), document.addEventListener("touchmove", g, { passive: !1 });
|
|
4951
4951
|
}
|
|
4952
4952
|
function g(h) {
|
|
4953
4953
|
h = h || window.event, h.preventDefault();
|
|
4954
4954
|
let S = h;
|
|
4955
|
-
h.type === "touchmove" && (S = h.touches[0]),
|
|
4955
|
+
h.type === "touchmove" && (S = h.touches[0]), m = r - S.clientX, p = f - S.clientY, r = S.clientX, f = S.clientY, i.style.top = i.offsetTop - p + "px", i.style.left = i.offsetLeft - m + "px";
|
|
4956
4956
|
}
|
|
4957
|
-
function
|
|
4958
|
-
document.removeEventListener("mouseup",
|
|
4957
|
+
function c() {
|
|
4958
|
+
document.removeEventListener("mouseup", c, !1), document.removeEventListener("mousemove", g, !1), document.removeEventListener("touchend", c, !1), document.removeEventListener("touchmove", g, !1);
|
|
4959
4959
|
}
|
|
4960
4960
|
};
|
|
4961
|
-
return (i, s) => (
|
|
4961
|
+
return (i, s) => (d(), x("div", {
|
|
4962
4962
|
id: "moveableDiv",
|
|
4963
4963
|
class: ge([i.size, "sizer rounded"])
|
|
4964
4964
|
}, [
|
|
@@ -4991,7 +4991,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
4991
4991
|
rotation: {}
|
|
4992
4992
|
},
|
|
4993
4993
|
setup(l) {
|
|
4994
|
-
return (a, e) => (
|
|
4994
|
+
return (a, e) => (d(), x("svg", Js, [
|
|
4995
4995
|
Xs,
|
|
4996
4996
|
u("g", {
|
|
4997
4997
|
"transform-origin": "20 20",
|
|
@@ -5012,15 +5012,15 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
5012
5012
|
containerHeight: {}
|
|
5013
5013
|
},
|
|
5014
5014
|
setup(l) {
|
|
5015
|
-
const a = l, e = v(512), n = v(384), t = v(512), o = v(384), i = v(new ot()), s = v(new Ea()),
|
|
5015
|
+
const a = l, e = v(512), n = v(384), t = v(512), o = v(384), i = v(new ot()), s = v(new Ea()), m = v({}), p = v(1), r = v(), f = e.value / e.value, k = B(() => {
|
|
5016
5016
|
const w = a.containerWidth / a.containerHeight;
|
|
5017
5017
|
let A;
|
|
5018
5018
|
return w > f ? A = a.containerHeight / n.value : A = a.containerWidth / e.value, A;
|
|
5019
|
-
}), g = B(() => a.allCameras),
|
|
5019
|
+
}), g = B(() => a.allCameras), c = B(() => a.allCameras.find((w) => w.id === a.currentCamera)), h = B(() => a.rotation), S = B(() => new ot(
|
|
5020
5020
|
a.storey.position.x,
|
|
5021
5021
|
a.storey.position.y,
|
|
5022
5022
|
a.storey.position.z
|
|
5023
|
-
)), b = B(() => parseFloat(
|
|
5023
|
+
)), b = B(() => parseFloat(c.value.floor_vertical_position)), y = B(() => g.value.map((w) => {
|
|
5024
5024
|
const A = w.uposition.split(","), W = new ot(
|
|
5025
5025
|
Number(A[0]) - S.value.x,
|
|
5026
5026
|
0,
|
|
@@ -5032,7 +5032,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
5032
5032
|
};
|
|
5033
5033
|
})), Y = B(() => ({
|
|
5034
5034
|
backgroundImage: `url(${a.backgroundImage})`
|
|
5035
|
-
})),
|
|
5035
|
+
})), E = B(() => ({
|
|
5036
5036
|
transform: `scale(${k.value * 0.9}) rotate(${a.transformAngle}deg)`
|
|
5037
5037
|
}));
|
|
5038
5038
|
Ie(() => {
|
|
@@ -5048,7 +5048,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
5048
5048
|
return Ta.degToRad(w);
|
|
5049
5049
|
}
|
|
5050
5050
|
function I() {
|
|
5051
|
-
s.value.rotation.x = 180, s.value.rotation.y = a.storey.rotation.y * -1,
|
|
5051
|
+
s.value.rotation.x = 180, s.value.rotation.y = a.storey.rotation.y * -1, m.value = {
|
|
5052
5052
|
transform: `rotateZ(${s.value.rotation.y}deg) rotateX(${s.value.rotation.x}deg)`
|
|
5053
5053
|
};
|
|
5054
5054
|
}
|
|
@@ -5078,13 +5078,13 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
5078
5078
|
if (!w)
|
|
5079
5079
|
return;
|
|
5080
5080
|
const A = w.offsetHeight / 384 * 0.8, W = w.offsetWidth / 512 * 0.8;
|
|
5081
|
-
w.offsetHeight > w.offsetWidth ?
|
|
5081
|
+
w.offsetHeight > w.offsetWidth ? p.value = W * 0.5 : p.value = A * 0.9;
|
|
5082
5082
|
}
|
|
5083
|
-
return (w, A) => (
|
|
5083
|
+
return (w, A) => (d(), x("div", ni, [
|
|
5084
5084
|
u("div", oi, [
|
|
5085
5085
|
u("div", {
|
|
5086
5086
|
class: "web-minimap",
|
|
5087
|
-
style: fe(
|
|
5087
|
+
style: fe(E.value)
|
|
5088
5088
|
}, [
|
|
5089
5089
|
u("div", {
|
|
5090
5090
|
class: "minimap-background-image",
|
|
@@ -5092,17 +5092,17 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
5092
5092
|
}, null, 4),
|
|
5093
5093
|
u("div", {
|
|
5094
5094
|
class: "center-pivot",
|
|
5095
|
-
style: fe(
|
|
5095
|
+
style: fe(m.value)
|
|
5096
5096
|
}, [
|
|
5097
|
-
(
|
|
5097
|
+
(d(!0), x(ve, null, ye(y.value, (W) => (d(), x("div", {
|
|
5098
5098
|
key: W.id
|
|
5099
5099
|
}, [
|
|
5100
|
-
|
|
5100
|
+
c.value.floorLevel === W.floorLevel ? (d(), x("div", {
|
|
5101
5101
|
key: 0,
|
|
5102
5102
|
class: "single-camera-marker",
|
|
5103
5103
|
style: fe(M(W))
|
|
5104
5104
|
}, null, 4)) : $("", !0),
|
|
5105
|
-
|
|
5105
|
+
c.value.id === W.id && a.rotation !== null ? (d(), V(ai, {
|
|
5106
5106
|
key: 1,
|
|
5107
5107
|
class: "rotation-marker-component",
|
|
5108
5108
|
rotation: h.value,
|
|
@@ -5123,7 +5123,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
5123
5123
|
},
|
|
5124
5124
|
setup(l) {
|
|
5125
5125
|
const a = l, e = B(() => a.rotation + a.transformAngle - 90);
|
|
5126
|
-
return (n, t) => (
|
|
5126
|
+
return (n, t) => (d(), x("div", {
|
|
5127
5127
|
class: "minimap-compass elevation-5",
|
|
5128
5128
|
style: fe({ scale: n.scale })
|
|
5129
5129
|
}, [
|
|
@@ -5146,19 +5146,19 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
5146
5146
|
},
|
|
5147
5147
|
emits: ["setBackgroundImage"],
|
|
5148
5148
|
setup(l, { emit: a }) {
|
|
5149
|
-
const e = l, n = a, t = v((/* @__PURE__ */ new Date()).getHours()), o = v(!0), i = v(!0), s = v(""),
|
|
5150
|
-
if (
|
|
5151
|
-
const b =
|
|
5149
|
+
const e = l, n = a, t = v((/* @__PURE__ */ new Date()).getHours()), o = v(!0), i = v(!0), s = v(""), m = v(/* @__PURE__ */ new Map()), p = B(() => e.minimapJson.storeys[e.level]), r = B(() => `${Math.floor(t.value).toString().padStart(2, "0")}:00`), f = B(() => {
|
|
5150
|
+
if (p.value.sunsimFilesTimeStamps[t.value]) {
|
|
5151
|
+
const b = p.value.sunsimFilesTimeStamps[t.value].split(" ");
|
|
5152
5152
|
return `${b[0]} ${b[1]}`;
|
|
5153
5153
|
}
|
|
5154
5154
|
return "";
|
|
5155
5155
|
});
|
|
5156
5156
|
Ie(async () => {
|
|
5157
|
-
s.value = await
|
|
5158
|
-
|
|
5157
|
+
s.value = await c(
|
|
5158
|
+
p.value.sunsimFiles[t.value]
|
|
5159
5159
|
), n("setBackgroundImage", s.value), i.value = !1;
|
|
5160
5160
|
const b = await g(e.minimapJson.storeys);
|
|
5161
|
-
|
|
5161
|
+
m.value = b, o.value = !1, n("setBackgroundImage", k(e.level, t.value));
|
|
5162
5162
|
}), H(t, () => {
|
|
5163
5163
|
const b = k(e.level, t.value);
|
|
5164
5164
|
n("setBackgroundImage", b);
|
|
@@ -5170,16 +5170,16 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
5170
5170
|
{ immediate: !0 }
|
|
5171
5171
|
);
|
|
5172
5172
|
function k(b, y) {
|
|
5173
|
-
return
|
|
5173
|
+
return m.value.get(`sunsim${b}_${y}`) ? m.value.get(`sunsim${b}_${y}`) : "";
|
|
5174
5174
|
}
|
|
5175
5175
|
async function g(b) {
|
|
5176
5176
|
let y = /* @__PURE__ */ new Map();
|
|
5177
5177
|
for (let Y = 0; Y < b.length; Y++) {
|
|
5178
|
-
const
|
|
5179
|
-
for (let P = 0; P <
|
|
5180
|
-
const I =
|
|
5178
|
+
const E = b[Y].sunsimFiles;
|
|
5179
|
+
for (let P = 0; P < E.length; P++) {
|
|
5180
|
+
const I = E[P];
|
|
5181
5181
|
try {
|
|
5182
|
-
const M = I, q = I.split("."), R = await
|
|
5182
|
+
const M = I, q = I.split("."), R = await c(M);
|
|
5183
5183
|
y.set(q[0], R);
|
|
5184
5184
|
} catch {
|
|
5185
5185
|
continue;
|
|
@@ -5188,40 +5188,40 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
5188
5188
|
}
|
|
5189
5189
|
return y;
|
|
5190
5190
|
}
|
|
5191
|
-
async function
|
|
5191
|
+
async function c(b) {
|
|
5192
5192
|
const Y = await (await fetch(
|
|
5193
5193
|
he(
|
|
5194
5194
|
e.cdnFileResolver,
|
|
5195
5195
|
`/${e.apartmentJson.type}/${e.apartmentJson.id}/minimap/${b}`
|
|
5196
5196
|
)
|
|
5197
|
-
)).blob(),
|
|
5198
|
-
return h(
|
|
5197
|
+
)).blob(), E = await S(Y);
|
|
5198
|
+
return h(E);
|
|
5199
5199
|
}
|
|
5200
5200
|
function h(b) {
|
|
5201
5201
|
return "data:image/jpeg;base64," + b;
|
|
5202
5202
|
}
|
|
5203
5203
|
async function S(b) {
|
|
5204
5204
|
return new Promise((y, Y) => {
|
|
5205
|
-
const
|
|
5206
|
-
|
|
5207
|
-
const P =
|
|
5205
|
+
const E = new FileReader();
|
|
5206
|
+
E.onload = () => {
|
|
5207
|
+
const P = E.result.split(",")[1];
|
|
5208
5208
|
y(P);
|
|
5209
|
-
},
|
|
5209
|
+
}, E.onerror = Y, E.readAsDataURL(b);
|
|
5210
5210
|
});
|
|
5211
5211
|
}
|
|
5212
5212
|
return (b, y) => {
|
|
5213
|
-
const Y =
|
|
5214
|
-
return
|
|
5213
|
+
const Y = T("v-progress-linear"), E = T("v-icon"), P = T("v-slider");
|
|
5214
|
+
return d(), x("div", ui, [
|
|
5215
5215
|
u("div", ci, [
|
|
5216
5216
|
u("div", di, [
|
|
5217
|
-
o.value ? (
|
|
5217
|
+
o.value ? (d(), V(Y, {
|
|
5218
5218
|
key: 0,
|
|
5219
5219
|
indeterminate: "",
|
|
5220
5220
|
rounded: "",
|
|
5221
5221
|
height: "6",
|
|
5222
5222
|
color: "grey lighten-1",
|
|
5223
5223
|
class: "mr-2"
|
|
5224
|
-
})) : (
|
|
5224
|
+
})) : (d(), V(P, {
|
|
5225
5225
|
key: 1,
|
|
5226
5226
|
modelValue: t.value,
|
|
5227
5227
|
"onUpdate:modelValue": y[0] || (y[0] = (I) => t.value = I),
|
|
@@ -5236,7 +5236,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
5236
5236
|
}, {
|
|
5237
5237
|
prepend: _(() => [
|
|
5238
5238
|
u("div", vi, [
|
|
5239
|
-
C(
|
|
5239
|
+
C(E, { color: "#ffab02" }, {
|
|
5240
5240
|
default: _(() => [
|
|
5241
5241
|
te("mdi-white-balance-sunny")
|
|
5242
5242
|
]),
|
|
@@ -5251,7 +5251,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
5251
5251
|
_: 1
|
|
5252
5252
|
}, 8, ["modelValue"]))
|
|
5253
5253
|
]),
|
|
5254
|
-
o.value ? $("", !0) : (
|
|
5254
|
+
o.value ? $("", !0) : (d(), x("div", mi))
|
|
5255
5255
|
])
|
|
5256
5256
|
]);
|
|
5257
5257
|
};
|
|
@@ -5278,11 +5278,11 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
5278
5278
|
},
|
|
5279
5279
|
{ immediate: !0, once: !0 }
|
|
5280
5280
|
);
|
|
5281
|
-
const
|
|
5281
|
+
const m = B(() => {
|
|
5282
5282
|
let h = 1;
|
|
5283
5283
|
return i.value !== 0 && (Math.abs(i.value) % 180 === 0 ? h = 1 : h = -1), k.value === "small" && (h = 0.6), h;
|
|
5284
5284
|
});
|
|
5285
|
-
function
|
|
5285
|
+
function p(h) {
|
|
5286
5286
|
o.value = h;
|
|
5287
5287
|
}
|
|
5288
5288
|
const r = ["big", "bigger", "small"];
|
|
@@ -5294,12 +5294,12 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
5294
5294
|
function g() {
|
|
5295
5295
|
i.value = i.value + 90;
|
|
5296
5296
|
}
|
|
5297
|
-
const
|
|
5297
|
+
const c = () => {
|
|
5298
5298
|
t("close");
|
|
5299
5299
|
};
|
|
5300
5300
|
return (h, S) => {
|
|
5301
|
-
const b =
|
|
5302
|
-
return
|
|
5301
|
+
const b = T("v-btn");
|
|
5302
|
+
return d(), V(qs, {
|
|
5303
5303
|
ref_key: "minimapMoveable",
|
|
5304
5304
|
ref: e,
|
|
5305
5305
|
size: k.value
|
|
@@ -5309,7 +5309,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
5309
5309
|
C(b, {
|
|
5310
5310
|
icon: "mdi-window-close",
|
|
5311
5311
|
size: "x-small",
|
|
5312
|
-
onClick:
|
|
5312
|
+
onClick: c
|
|
5313
5313
|
})
|
|
5314
5314
|
])
|
|
5315
5315
|
]),
|
|
@@ -5336,7 +5336,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
5336
5336
|
]),
|
|
5337
5337
|
body: _(() => [
|
|
5338
5338
|
C(ri, {
|
|
5339
|
-
scale:
|
|
5339
|
+
scale: m.value,
|
|
5340
5340
|
rotation: s.value.rotation.y,
|
|
5341
5341
|
"transform-angle": i.value
|
|
5342
5342
|
}, null, 8, ["scale", "rotation", "transform-angle"]),
|
|
@@ -5359,7 +5359,7 @@ const ll = { id: "player-wrapper" }, sl = { id: "player-sizer" }, il = {
|
|
|
5359
5359
|
"minimap-json": n.minimapJson,
|
|
5360
5360
|
"apartment-json": n.apartmentJson,
|
|
5361
5361
|
level: n.level,
|
|
5362
|
-
onSetBackgroundImage:
|
|
5362
|
+
onSetBackgroundImage: p
|
|
5363
5363
|
}, null, 8, ["cdn-file-resolver", "minimap-json", "apartment-json", "level"])
|
|
5364
5364
|
]),
|
|
5365
5365
|
_: 1
|
|
@@ -5389,14 +5389,14 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5389
5389
|
i(
|
|
5390
5390
|
"onTimeChange",
|
|
5391
5391
|
n.value.timeSamples.find(
|
|
5392
|
-
(
|
|
5392
|
+
(m) => m.timeInHours === s.value
|
|
5393
5393
|
)
|
|
5394
5394
|
);
|
|
5395
5395
|
},
|
|
5396
5396
|
{ immediate: !0 }
|
|
5397
|
-
), (
|
|
5398
|
-
const r =
|
|
5399
|
-
return
|
|
5397
|
+
), (m, p) => {
|
|
5398
|
+
const r = T("v-icon"), f = T("v-slider"), k = T("v-field"), g = T("v-btn");
|
|
5399
|
+
return d(), x("div", Ci, [
|
|
5400
5400
|
u("div", wi, [
|
|
5401
5401
|
C(k, {
|
|
5402
5402
|
class: "ss-slider-field",
|
|
@@ -5406,15 +5406,15 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5406
5406
|
flat: ""
|
|
5407
5407
|
}, {
|
|
5408
5408
|
default: _(() => [
|
|
5409
|
-
|
|
5409
|
+
D(n).timeSamples.length > 1 ? (d(), V(f, {
|
|
5410
5410
|
key: 0,
|
|
5411
5411
|
class: "pa-2 pr-2",
|
|
5412
5412
|
modelValue: s.value,
|
|
5413
|
-
"onUpdate:modelValue":
|
|
5414
|
-
min:
|
|
5415
|
-
max:
|
|
5416
|
-
step:
|
|
5417
|
-
disabled: !!
|
|
5413
|
+
"onUpdate:modelValue": p[0] || (p[0] = (c) => s.value = c),
|
|
5414
|
+
min: D(n).startTime,
|
|
5415
|
+
max: D(n).endTime,
|
|
5416
|
+
step: D(n).interval,
|
|
5417
|
+
disabled: !!D(o),
|
|
5418
5418
|
density: "compact",
|
|
5419
5419
|
"thumb-size": "16",
|
|
5420
5420
|
"thumb-color": "white",
|
|
@@ -5431,10 +5431,10 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5431
5431
|
]),
|
|
5432
5432
|
_: 1
|
|
5433
5433
|
}),
|
|
5434
|
-
u("span", ki, Q(
|
|
5434
|
+
u("span", ki, Q(D(ft)(s.value)), 1)
|
|
5435
5435
|
]),
|
|
5436
5436
|
_: 1
|
|
5437
|
-
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (
|
|
5437
|
+
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (d(), x(ve, { key: 1 }, [
|
|
5438
5438
|
C(r, {
|
|
5439
5439
|
style: { "vertical-align": "baseline", "font-size": "20px", "margin-top": "-1px", opacity: "0.6" },
|
|
5440
5440
|
class: "mr-2 icon",
|
|
@@ -5445,7 +5445,7 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5445
5445
|
]),
|
|
5446
5446
|
_: 1
|
|
5447
5447
|
}),
|
|
5448
|
-
u("span", Si, Q(
|
|
5448
|
+
u("span", Si, Q(D(ft)(s.value)), 1)
|
|
5449
5449
|
], 64))
|
|
5450
5450
|
]),
|
|
5451
5451
|
_: 1
|
|
@@ -5456,7 +5456,7 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5456
5456
|
size: "small",
|
|
5457
5457
|
class: "sun-study-toggle text-capitalize rounded-xl",
|
|
5458
5458
|
icon: "mdi-close",
|
|
5459
|
-
onClick:
|
|
5459
|
+
onClick: p[1] || (p[1] = (c) => i("toggleSunStudy"))
|
|
5460
5460
|
})
|
|
5461
5461
|
])
|
|
5462
5462
|
]);
|
|
@@ -5472,8 +5472,8 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5472
5472
|
setup(l, { emit: a }) {
|
|
5473
5473
|
const e = a, n = Ne(Be);
|
|
5474
5474
|
return (t, o) => {
|
|
5475
|
-
const i =
|
|
5476
|
-
return !t.displaySunsim && t.showUI ? (
|
|
5475
|
+
const i = T("v-btn");
|
|
5476
|
+
return !t.displaySunsim && t.showUI ? (d(), V(i, {
|
|
5477
5477
|
key: 0,
|
|
5478
5478
|
size: "small",
|
|
5479
5479
|
varient: "tonal",
|
|
@@ -5482,7 +5482,7 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5482
5482
|
onClick: o[0] || (o[0] = (s) => e("toggleSunStudy"))
|
|
5483
5483
|
}, {
|
|
5484
5484
|
default: _(() => [
|
|
5485
|
-
te(Q(
|
|
5485
|
+
te(Q(D(n).getLabel("openSunStudy")), 1)
|
|
5486
5486
|
]),
|
|
5487
5487
|
_: 1
|
|
5488
5488
|
})) : $("", !0);
|
|
@@ -5499,11 +5499,11 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5499
5499
|
window.navigator.userAgent
|
|
5500
5500
|
));
|
|
5501
5501
|
return (t, o) => {
|
|
5502
|
-
const i =
|
|
5503
|
-
return
|
|
5502
|
+
const i = T("v-icon"), s = T("v-btn");
|
|
5503
|
+
return d(), V(s, {
|
|
5504
5504
|
size: "x-small",
|
|
5505
5505
|
class: ge(["autoplay-btn", { mobile: n.value, "mt-1": n.value, "mx-1": n.value }]),
|
|
5506
|
-
onClick: o[0] || (o[0] = (
|
|
5506
|
+
onClick: o[0] || (o[0] = (m) => e("toggleAutoPlay"))
|
|
5507
5507
|
}, {
|
|
5508
5508
|
default: _(() => [
|
|
5509
5509
|
C(i, {
|
|
@@ -5532,8 +5532,8 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5532
5532
|
get() {
|
|
5533
5533
|
return e.active;
|
|
5534
5534
|
},
|
|
5535
|
-
set(
|
|
5536
|
-
t.value =
|
|
5535
|
+
set(p) {
|
|
5536
|
+
t.value = p;
|
|
5537
5537
|
}
|
|
5538
5538
|
}), i = B(() => /Android|webOS|iPhone|iPad|BlackBerry|Windows Phone|Opera Mini|IEMobile|Mobile/i.test(
|
|
5539
5539
|
window.navigator.userAgent
|
|
@@ -5543,31 +5543,31 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5543
5543
|
}), We(() => {
|
|
5544
5544
|
window.removeEventListener("keydown", s);
|
|
5545
5545
|
});
|
|
5546
|
-
function s(
|
|
5547
|
-
switch (
|
|
5548
|
-
case
|
|
5546
|
+
function s(p) {
|
|
5547
|
+
switch (p.keyCode) {
|
|
5548
|
+
case p.keyCode === Fi:
|
|
5549
5549
|
n("previous");
|
|
5550
5550
|
break;
|
|
5551
|
-
case
|
|
5551
|
+
case p.keyCode === Li:
|
|
5552
5552
|
n("next");
|
|
5553
5553
|
break;
|
|
5554
5554
|
default:
|
|
5555
5555
|
return;
|
|
5556
5556
|
}
|
|
5557
5557
|
}
|
|
5558
|
-
function p
|
|
5559
|
-
r(), n("goto",
|
|
5558
|
+
function m(p, r) {
|
|
5559
|
+
r(), n("goto", p);
|
|
5560
5560
|
}
|
|
5561
|
-
return (
|
|
5562
|
-
const f =
|
|
5563
|
-
return
|
|
5561
|
+
return (p, r) => {
|
|
5562
|
+
const f = T("v-btn"), k = T("v-img"), g = T("v-icon"), c = T("v-card"), h = T("v-slide-group-item"), S = T("v-slide-group");
|
|
5563
|
+
return d(), x("div", {
|
|
5564
5564
|
class: ge(["d-flex align-center justify-center", {
|
|
5565
5565
|
mobileWaypointWrapper: i.value,
|
|
5566
5566
|
desktopWaypointWrapper: !i.value,
|
|
5567
5567
|
" waypoint-carousel": !0
|
|
5568
5568
|
}])
|
|
5569
5569
|
}, [
|
|
5570
|
-
ne(
|
|
5570
|
+
ne(p.$slots, "before", {}, void 0, !0),
|
|
5571
5571
|
C(S, {
|
|
5572
5572
|
modelValue: o.value,
|
|
5573
5573
|
"onUpdate:modelValue": r[2] || (r[2] = (b) => o.value = b),
|
|
@@ -5579,7 +5579,7 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5579
5579
|
mandatory: ""
|
|
5580
5580
|
}, {
|
|
5581
5581
|
prev: _(() => [
|
|
5582
|
-
i.value ? $("", !0) : (
|
|
5582
|
+
i.value ? $("", !0) : (d(), V(f, {
|
|
5583
5583
|
key: 0,
|
|
5584
5584
|
class: ge(["carousel-button", { mobile: i.value }]),
|
|
5585
5585
|
icon: "mdi-chevron-left",
|
|
@@ -5589,7 +5589,7 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5589
5589
|
}, null, 8, ["class"]))
|
|
5590
5590
|
]),
|
|
5591
5591
|
next: _(() => [
|
|
5592
|
-
i.value ? $("", !0) : (
|
|
5592
|
+
i.value ? $("", !0) : (d(), V(f, {
|
|
5593
5593
|
key: 0,
|
|
5594
5594
|
class: ge(["carousel-button", { mobile: i.value }]),
|
|
5595
5595
|
icon: "mdi-chevron-right",
|
|
@@ -5599,11 +5599,11 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5599
5599
|
}, null, 8, ["class"]))
|
|
5600
5600
|
]),
|
|
5601
5601
|
default: _(() => [
|
|
5602
|
-
(
|
|
5602
|
+
(d(!0), x(ve, null, ye(p.thumbnails, (b) => (d(), V(h, {
|
|
5603
5603
|
key: b.id
|
|
5604
5604
|
}, {
|
|
5605
5605
|
default: _(({ toggle: y, selectedClass: Y }) => [
|
|
5606
|
-
C(
|
|
5606
|
+
C(c, {
|
|
5607
5607
|
class: ge(["position-relative", [
|
|
5608
5608
|
i.value ? "ma-0" : "ma-1",
|
|
5609
5609
|
Y,
|
|
@@ -5612,7 +5612,7 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5612
5612
|
align: "center",
|
|
5613
5613
|
justify: "center",
|
|
5614
5614
|
style: { overflow: "hidden" },
|
|
5615
|
-
onClick: (
|
|
5615
|
+
onClick: (E) => m(b.id, y)
|
|
5616
5616
|
}, {
|
|
5617
5617
|
default: _(() => [
|
|
5618
5618
|
C(k, {
|
|
@@ -5620,7 +5620,7 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5620
5620
|
"aspect-ratio": 1,
|
|
5621
5621
|
src: b.thumbnailUrl
|
|
5622
5622
|
}, null, 8, ["src"]),
|
|
5623
|
-
e.cameraHasSunStudy(b.id) ? (
|
|
5623
|
+
e.cameraHasSunStudy(b.id) ? (d(), x("div", Ai, [
|
|
5624
5624
|
C(g, {
|
|
5625
5625
|
class: "sun-icon",
|
|
5626
5626
|
icon: "mdi-white-balance-sunny"
|
|
@@ -5635,7 +5635,7 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5635
5635
|
]),
|
|
5636
5636
|
_: 1
|
|
5637
5637
|
}, 8, ["modelValue", "class", "show-arrows"]),
|
|
5638
|
-
ne(
|
|
5638
|
+
ne(p.$slots, "after", {}, void 0, !0)
|
|
5639
5639
|
], 2);
|
|
5640
5640
|
};
|
|
5641
5641
|
}
|
|
@@ -5670,9 +5670,9 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5670
5670
|
function s() {
|
|
5671
5671
|
navigator.clipboard.writeText(location.href);
|
|
5672
5672
|
}
|
|
5673
|
-
return (
|
|
5674
|
-
const r =
|
|
5675
|
-
return
|
|
5673
|
+
return (m, p) => {
|
|
5674
|
+
const r = T("v-btn"), f = T("v-tooltip"), k = T("v-toolbar-title"), g = T("v-spacer"), c = T("v-toolbar"), h = T("v-card-text"), S = T("v-card"), b = T("v-dialog");
|
|
5675
|
+
return d(), x("div", null, [
|
|
5676
5676
|
C(f, {
|
|
5677
5677
|
elevation: "2",
|
|
5678
5678
|
top: "",
|
|
@@ -5683,11 +5683,11 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5683
5683
|
density: "comfortable",
|
|
5684
5684
|
elevation: "1",
|
|
5685
5685
|
icon: "mdi-share-variant",
|
|
5686
|
-
onClick:
|
|
5686
|
+
onClick: p[0] || (p[0] = (Y) => e.value = !e.value)
|
|
5687
5687
|
}, y), null, 16)
|
|
5688
5688
|
]),
|
|
5689
5689
|
default: _(() => [
|
|
5690
|
-
u("span", null, Q(
|
|
5690
|
+
u("span", null, Q(D(a).getLabel("share")), 1)
|
|
5691
5691
|
]),
|
|
5692
5692
|
_: 1
|
|
5693
5693
|
}),
|
|
@@ -5695,21 +5695,21 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5695
5695
|
id: "share-box",
|
|
5696
5696
|
width: "400",
|
|
5697
5697
|
modelValue: e.value,
|
|
5698
|
-
"onUpdate:modelValue":
|
|
5698
|
+
"onUpdate:modelValue": p[2] || (p[2] = (y) => e.value = y)
|
|
5699
5699
|
}, {
|
|
5700
5700
|
default: _(() => [
|
|
5701
5701
|
C(S, null, {
|
|
5702
5702
|
default: _(() => [
|
|
5703
|
-
C(
|
|
5703
|
+
C(c, { elevation: "0" }, {
|
|
5704
5704
|
default: _(() => [
|
|
5705
5705
|
C(r, {
|
|
5706
5706
|
size: "x-small",
|
|
5707
5707
|
icon: "mdi-close",
|
|
5708
|
-
onClick:
|
|
5708
|
+
onClick: p[1] || (p[1] = (y) => e.value = !1)
|
|
5709
5709
|
}),
|
|
5710
5710
|
C(k, null, {
|
|
5711
5711
|
default: _(() => [
|
|
5712
|
-
te(Q(
|
|
5712
|
+
te(Q(D(a).getLabel("share")), 1)
|
|
5713
5713
|
]),
|
|
5714
5714
|
_: 1
|
|
5715
5715
|
}),
|
|
@@ -5730,7 +5730,7 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5730
5730
|
}, y, { onClick: t }), null, 16)
|
|
5731
5731
|
]),
|
|
5732
5732
|
default: _(() => [
|
|
5733
|
-
u("span", null, Q(
|
|
5733
|
+
u("span", null, Q(D(a).getLabel("shareToFacebook")), 1)
|
|
5734
5734
|
]),
|
|
5735
5735
|
_: 1
|
|
5736
5736
|
}),
|
|
@@ -5744,7 +5744,7 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5744
5744
|
}, y, { onClick: i }), null, 16)
|
|
5745
5745
|
]),
|
|
5746
5746
|
default: _(() => [
|
|
5747
|
-
u("span", null, Q(
|
|
5747
|
+
u("span", null, Q(D(a).getLabel("shareToLinkedin")), 1)
|
|
5748
5748
|
]),
|
|
5749
5749
|
_: 1
|
|
5750
5750
|
}),
|
|
@@ -5758,7 +5758,7 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5758
5758
|
}, y, { onClick: o }), null, 16)
|
|
5759
5759
|
]),
|
|
5760
5760
|
default: _(() => [
|
|
5761
|
-
u("span", null, Q(
|
|
5761
|
+
u("span", null, Q(D(a).getLabel("shareToTwitter")), 1)
|
|
5762
5762
|
]),
|
|
5763
5763
|
_: 1
|
|
5764
5764
|
}),
|
|
@@ -5774,7 +5774,7 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5774
5774
|
}, y), null, 16, ["href"])
|
|
5775
5775
|
]),
|
|
5776
5776
|
default: _(() => [
|
|
5777
|
-
u("span", null, Q(
|
|
5777
|
+
u("span", null, Q(D(a).getLabel("shareViaEmail")), 1)
|
|
5778
5778
|
]),
|
|
5779
5779
|
_: 1
|
|
5780
5780
|
}),
|
|
@@ -5789,7 +5789,7 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5789
5789
|
}, y), null, 16)
|
|
5790
5790
|
]),
|
|
5791
5791
|
default: _(() => [
|
|
5792
|
-
u("span", null, Q(
|
|
5792
|
+
u("span", null, Q(D(a).getLabel("copyLink")), 1)
|
|
5793
5793
|
]),
|
|
5794
5794
|
_: 1
|
|
5795
5795
|
}),
|
|
@@ -5815,7 +5815,7 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5815
5815
|
},
|
|
5816
5816
|
setup(l) {
|
|
5817
5817
|
const a = l, e = B(() => ({ "background-image": `url("${encodeURI(a.image)}")` }));
|
|
5818
|
-
return (n, t) => (
|
|
5818
|
+
return (n, t) => (d(), x("div", Ti, [
|
|
5819
5819
|
u("div", {
|
|
5820
5820
|
class: ge(["img-div", [n.aspectRatio]]),
|
|
5821
5821
|
style: fe(e.value)
|
|
@@ -5834,8 +5834,8 @@ const Ci = { class: "d-flex align-center" }, wi = { class: "d-block mr-1" }, ki
|
|
|
5834
5834
|
setup(l, { emit: a }) {
|
|
5835
5835
|
const e = a;
|
|
5836
5836
|
return (n, t) => {
|
|
5837
|
-
const o =
|
|
5838
|
-
return
|
|
5837
|
+
const o = T("v-btn");
|
|
5838
|
+
return d(), x("div", Bi, [
|
|
5839
5839
|
C(o, {
|
|
5840
5840
|
density: "comfortable",
|
|
5841
5841
|
elevation: "3",
|
|
@@ -5955,20 +5955,20 @@ const Ri = {
|
|
|
5955
5955
|
apartmentId: o,
|
|
5956
5956
|
defaultInteriorId: i,
|
|
5957
5957
|
validInteriorIds: s,
|
|
5958
|
-
displayViewModeSwitch:
|
|
5958
|
+
displayViewModeSwitch: m,
|
|
5959
5959
|
// websiteUrl,
|
|
5960
|
-
i18nConfig:
|
|
5960
|
+
i18nConfig: p,
|
|
5961
5961
|
showCarousel: r,
|
|
5962
5962
|
showTimeOfDay: f,
|
|
5963
5963
|
showCompass: k,
|
|
5964
5964
|
showFullScreen: g,
|
|
5965
|
-
showSnapshot:
|
|
5965
|
+
showSnapshot: c,
|
|
5966
5966
|
showShare: h,
|
|
5967
5967
|
showInteriorOptions: S,
|
|
5968
5968
|
showMiniMap: b,
|
|
5969
5969
|
showFloorLevel: y,
|
|
5970
5970
|
defaultWaypointIndex: Y,
|
|
5971
|
-
defaultViewMode:
|
|
5971
|
+
defaultViewMode: E,
|
|
5972
5972
|
mouseSensitivity: P,
|
|
5973
5973
|
// isInIframe,
|
|
5974
5974
|
adminMode: I,
|
|
@@ -6041,7 +6041,7 @@ const Ri = {
|
|
|
6041
6041
|
});
|
|
6042
6042
|
Ke(
|
|
6043
6043
|
Be,
|
|
6044
|
-
|
|
6044
|
+
p.value ? new Re(p.value) : new Re()
|
|
6045
6045
|
);
|
|
6046
6046
|
const Pe = B(() => /Android|webOS|iPhone|iPad|BlackBerry|Windows Phone|Opera Mini|IEMobile|Mobile/i.test(
|
|
6047
6047
|
window.navigator.userAgent
|
|
@@ -6067,9 +6067,9 @@ const Ri = {
|
|
|
6067
6067
|
},
|
|
6068
6068
|
{ immediate: !0 }
|
|
6069
6069
|
), H(
|
|
6070
|
-
|
|
6070
|
+
E,
|
|
6071
6071
|
() => {
|
|
6072
|
-
|
|
6072
|
+
E.value === "virtualTour" && (be.value = !1), E.value === "slideShow" && (be.value = !0, G.value = !0);
|
|
6073
6073
|
},
|
|
6074
6074
|
{ immediate: !0 }
|
|
6075
6075
|
), H(Ce, () => {
|
|
@@ -6299,15 +6299,15 @@ const Ri = {
|
|
|
6299
6299
|
}, 5e3);
|
|
6300
6300
|
};
|
|
6301
6301
|
return (F, U) => {
|
|
6302
|
-
const ae =
|
|
6303
|
-
return
|
|
6302
|
+
const ae = T("v-btn");
|
|
6303
|
+
return d(), x("div", {
|
|
6304
6304
|
class: ge(["virtual-tour-wrapper", [Tt.value]])
|
|
6305
6305
|
}, [
|
|
6306
|
-
ue.value ? (
|
|
6306
|
+
ue.value ? (d(), x("div", Ri, "Error loading the player!!")) : $("", !0),
|
|
6307
6307
|
u("div", Ui, [
|
|
6308
|
-
!L.value.isActive && X.value && ie.value && ut.value && le.value && xe.value ? (
|
|
6308
|
+
!L.value.isActive && X.value && ie.value && ut.value && le.value && xe.value ? (d(), V(zt, {
|
|
6309
6309
|
key: 0,
|
|
6310
|
-
"cdn-file-resolver":
|
|
6310
|
+
"cdn-file-resolver": D(t),
|
|
6311
6311
|
"apartment-json": O.value,
|
|
6312
6312
|
level: re.value,
|
|
6313
6313
|
"minimap-json": X.value,
|
|
@@ -6315,20 +6315,20 @@ const Ri = {
|
|
|
6315
6315
|
"current-camera": ie.value,
|
|
6316
6316
|
onClose: U[0] || (U[0] = (Se) => xe.value = !1)
|
|
6317
6317
|
}, null, 8, ["cdn-file-resolver", "apartment-json", "level", "minimap-json", "rotation", "current-camera"])) : $("", !0),
|
|
6318
|
-
le.value && _e.value ? (
|
|
6318
|
+
le.value && _e.value ? (d(), x("div", {
|
|
6319
6319
|
key: 1,
|
|
6320
6320
|
class: ge(["v-player", [Tt.value]])
|
|
6321
6321
|
}, [
|
|
6322
6322
|
C(yl, {
|
|
6323
6323
|
ref_key: "vPlayerInstance",
|
|
6324
6324
|
ref: Z,
|
|
6325
|
-
"cdn-file-resolver":
|
|
6325
|
+
"cdn-file-resolver": D(t),
|
|
6326
6326
|
style: fe({ zIndex: be.value ? 1 : 2 }),
|
|
6327
6327
|
"show-static-image": be.value,
|
|
6328
6328
|
"current-camera-id": _e.value,
|
|
6329
|
-
"mouse-sensitivity":
|
|
6329
|
+
"mouse-sensitivity": D(P),
|
|
6330
6330
|
"interior-id": le.value,
|
|
6331
|
-
"apartment-id":
|
|
6331
|
+
"apartment-id": D(o),
|
|
6332
6332
|
onNewCameraCallback: pa,
|
|
6333
6333
|
onNewRotationCallback: ha,
|
|
6334
6334
|
onNewFloorCallback: Bt,
|
|
@@ -6338,13 +6338,13 @@ const Ri = {
|
|
|
6338
6338
|
onPlayerApiCallback: _a
|
|
6339
6339
|
}, {
|
|
6340
6340
|
"slideshow-image": _(() => [
|
|
6341
|
-
be.value ? (
|
|
6341
|
+
be.value ? (d(), V($i, {
|
|
6342
6342
|
key: 0,
|
|
6343
6343
|
image: ze.value
|
|
6344
6344
|
}, null, 8, ["image"])) : $("", !0)
|
|
6345
6345
|
]),
|
|
6346
6346
|
"top-left": _(() => [
|
|
6347
|
-
|
|
6347
|
+
D(I) ? (d(), V(ae, {
|
|
6348
6348
|
key: 0,
|
|
6349
6349
|
density: "comfortable",
|
|
6350
6350
|
icon: "mdi-cog-outline",
|
|
@@ -6361,7 +6361,7 @@ const Ri = {
|
|
|
6361
6361
|
}, null, 512), [
|
|
6362
6362
|
[ke, G.value]
|
|
6363
6363
|
]),
|
|
6364
|
-
X.value && _e.value && ut.value ? we((
|
|
6364
|
+
X.value && _e.value && ut.value ? we((d(), V(ae, {
|
|
6365
6365
|
key: 1,
|
|
6366
6366
|
density: "comfortable",
|
|
6367
6367
|
elevation: "3",
|
|
@@ -6371,15 +6371,15 @@ const Ri = {
|
|
|
6371
6371
|
}, null, 512)), [
|
|
6372
6372
|
[ke, G.value]
|
|
6373
6373
|
]) : $("", !0),
|
|
6374
|
-
G.value &&
|
|
6374
|
+
G.value && D(y) && me.value.length > 1 ? (d(), V(Sl, {
|
|
6375
6375
|
key: 2,
|
|
6376
6376
|
level: Ae.value,
|
|
6377
6377
|
"floor-levels": me.value,
|
|
6378
6378
|
onLevel: Bt
|
|
6379
6379
|
}, null, 8, ["level", "floor-levels"])) : $("", !0),
|
|
6380
|
-
|
|
6380
|
+
D(I) && N.value ? (d(), x("div", Hi, [
|
|
6381
6381
|
C(Ps, {
|
|
6382
|
-
"initial-settings":
|
|
6382
|
+
"initial-settings": D(M),
|
|
6383
6383
|
onUpdateSettings: wa,
|
|
6384
6384
|
onSaveSettings: ka
|
|
6385
6385
|
}, null, 8, ["initial-settings"])
|
|
@@ -6387,7 +6387,7 @@ const Ri = {
|
|
|
6387
6387
|
]),
|
|
6388
6388
|
"top-center": _(() => []),
|
|
6389
6389
|
"top-right": _(() => [
|
|
6390
|
-
O.value &&
|
|
6390
|
+
O.value && D(k) ? we((d(), x("div", Yi, [
|
|
6391
6391
|
C(Vl, { rotation: Le.value }, null, 8, ["rotation"])
|
|
6392
6392
|
], 512)), [
|
|
6393
6393
|
[ke, G.value]
|
|
@@ -6395,7 +6395,7 @@ const Ri = {
|
|
|
6395
6395
|
u("div", {
|
|
6396
6396
|
onClick: U[4] || (U[4] = (Se) => xe.value = !xe.value)
|
|
6397
6397
|
}, [
|
|
6398
|
-
G.value && O.value && aa.value &&
|
|
6398
|
+
G.value && O.value && aa.value && D(f) ? (d(), V(Yl, {
|
|
6399
6399
|
key: 0,
|
|
6400
6400
|
hours: Et.value.hours,
|
|
6401
6401
|
minutes: Et.value.minutes,
|
|
@@ -6409,7 +6409,7 @@ const Ri = {
|
|
|
6409
6409
|
"center-left": _(() => [
|
|
6410
6410
|
C(Te, { name: "slide-x-transition" }, {
|
|
6411
6411
|
default: _(() => [
|
|
6412
|
-
be.value ? (
|
|
6412
|
+
be.value ? (d(), V(ae, {
|
|
6413
6413
|
key: 0,
|
|
6414
6414
|
density: "comfortable",
|
|
6415
6415
|
elevation: "3",
|
|
@@ -6421,13 +6421,13 @@ const Ri = {
|
|
|
6421
6421
|
})
|
|
6422
6422
|
]),
|
|
6423
6423
|
"center-center": _(() => [
|
|
6424
|
-
W.value ? (
|
|
6424
|
+
W.value ? (d(), V(Ss, {
|
|
6425
6425
|
key: 0,
|
|
6426
6426
|
onCloseTutorial: U[5] || (U[5] = (Se) => oa(Se))
|
|
6427
6427
|
})) : $("", !0),
|
|
6428
|
-
L.value.isActive && X.value && ie.value && ut.value && xe.value ? (
|
|
6428
|
+
L.value.isActive && X.value && ie.value && ut.value && xe.value ? (d(), V(zt, {
|
|
6429
6429
|
key: 1,
|
|
6430
|
-
"cdn-file-resolver":
|
|
6430
|
+
"cdn-file-resolver": D(t),
|
|
6431
6431
|
"apartment-json": O.value,
|
|
6432
6432
|
"minimap-json": X.value,
|
|
6433
6433
|
rotation: Le.value,
|
|
@@ -6439,7 +6439,7 @@ const Ri = {
|
|
|
6439
6439
|
"center-right": _(() => [
|
|
6440
6440
|
C(Te, { name: "slide-x-reverse-transition" }, {
|
|
6441
6441
|
default: _(() => [
|
|
6442
|
-
be.value ? (
|
|
6442
|
+
be.value ? (d(), V(ae, {
|
|
6443
6443
|
key: 0,
|
|
6444
6444
|
density: "comfortable",
|
|
6445
6445
|
elevation: "3",
|
|
@@ -6451,13 +6451,13 @@ const Ri = {
|
|
|
6451
6451
|
})
|
|
6452
6452
|
]),
|
|
6453
6453
|
"bottom-left": _(() => [
|
|
6454
|
-
|
|
6454
|
+
D(g) ? (d(), V(ea, {
|
|
6455
6455
|
key: 0,
|
|
6456
6456
|
"is-full-screen": L.value.isActive,
|
|
6457
6457
|
class: "btn-fullscreen",
|
|
6458
6458
|
onToggleFullscreen: ba
|
|
6459
6459
|
}, null, 8, ["is-full-screen"])) : $("", !0),
|
|
6460
|
-
|
|
6460
|
+
D(c) ? (d(), x("div", zi, [
|
|
6461
6461
|
C(ae, {
|
|
6462
6462
|
density: "comfortable",
|
|
6463
6463
|
elevation: "3",
|
|
@@ -6466,13 +6466,13 @@ const Ri = {
|
|
|
6466
6466
|
})
|
|
6467
6467
|
])) : $("", !0),
|
|
6468
6468
|
u("div", Pi, [
|
|
6469
|
-
|
|
6469
|
+
D(m) && G.value ? (d(), V(Ql, {
|
|
6470
6470
|
key: 0,
|
|
6471
6471
|
"show-static-image": be.value,
|
|
6472
6472
|
onToggle: Ca
|
|
6473
6473
|
}, null, 8, ["show-static-image"])) : $("", !0)
|
|
6474
6474
|
]),
|
|
6475
|
-
G.value &&
|
|
6475
|
+
G.value && D(h) && !L.value.isActive ? (d(), x("div", ji, [
|
|
6476
6476
|
C(Kt)
|
|
6477
6477
|
])) : $("", !0)
|
|
6478
6478
|
]),
|
|
@@ -6485,7 +6485,7 @@ const Ri = {
|
|
|
6485
6485
|
"mb-2": !Pe.value
|
|
6486
6486
|
}])
|
|
6487
6487
|
}, [
|
|
6488
|
-
!He.value && je.value(ie.value) ? (
|
|
6488
|
+
!He.value && je.value(ie.value) ? (d(), V(xi, {
|
|
6489
6489
|
key: 0,
|
|
6490
6490
|
class: "ml-2",
|
|
6491
6491
|
displaySunsim: Ce.value,
|
|
@@ -6493,7 +6493,7 @@ const Ri = {
|
|
|
6493
6493
|
onToggleSunStudy: U[7] || (U[7] = (Se) => Ce.value = !Ce.value)
|
|
6494
6494
|
}, null, 8, ["displaySunsim", "showUI"])) : $("", !0)
|
|
6495
6495
|
], 2),
|
|
6496
|
-
!Pe.value && !He.value && _e.value && Ce.value && je.value(ie.value) && Qe(ie.value)[0] && Oe.value ? (
|
|
6496
|
+
!Pe.value && !He.value && _e.value && Ce.value && je.value(ie.value) && Qe(ie.value)[0] && Oe.value ? (d(), V(Pt, {
|
|
6497
6497
|
key: 0,
|
|
6498
6498
|
class: "sunsim-slider-desktop",
|
|
6499
6499
|
"current-day": je.value(ie.value) ? Qe(ie.value)[0] : void 0,
|
|
@@ -6501,7 +6501,7 @@ const Ri = {
|
|
|
6501
6501
|
onOnTimeChange: $t,
|
|
6502
6502
|
onToggleSunStudy: U[8] || (U[8] = (Se) => Ce.value = !Ce.value)
|
|
6503
6503
|
}, null, 8, ["current-day", "current-time"])) : $("", !0),
|
|
6504
|
-
!Pe.value && G.value &&
|
|
6504
|
+
!Pe.value && G.value && D(r) ? (d(), V(ht, {
|
|
6505
6505
|
key: 1,
|
|
6506
6506
|
class: ge([L.value.isActive ? "full-screen" : ""]),
|
|
6507
6507
|
thumbnails: de.value,
|
|
@@ -6512,7 +6512,7 @@ const Ri = {
|
|
|
6512
6512
|
onGoto: kt
|
|
6513
6513
|
}, {
|
|
6514
6514
|
before: _(() => [
|
|
6515
|
-
F.enableAutoplay && G.value && !Pe.value ? (
|
|
6515
|
+
F.enableAutoplay && G.value && !Pe.value ? (d(), V(jt, {
|
|
6516
6516
|
key: 0,
|
|
6517
6517
|
autoplayStatus: He.value,
|
|
6518
6518
|
onToggleAutoPlay: U[9] || (U[9] = (Se) => Ht())
|
|
@@ -6527,9 +6527,9 @@ const Ri = {
|
|
|
6527
6527
|
]),
|
|
6528
6528
|
"bottom-right": _(() => [
|
|
6529
6529
|
u("div", Wi, [
|
|
6530
|
-
G.value &&
|
|
6530
|
+
G.value && D(S) && Ot.value ? (d(), V(Ol, {
|
|
6531
6531
|
key: 0,
|
|
6532
|
-
"cdn-file-resolver":
|
|
6532
|
+
"cdn-file-resolver": D(t),
|
|
6533
6533
|
"available-archetypes": Ot.value,
|
|
6534
6534
|
"selected-index": ce.value,
|
|
6535
6535
|
onSelectInterior: Vt
|
|
@@ -6540,7 +6540,7 @@ const Ri = {
|
|
|
6540
6540
|
}, 8, ["cdn-file-resolver", "style", "show-static-image", "current-camera-id", "mouse-sensitivity", "interior-id", "apartment-id"]),
|
|
6541
6541
|
C(Te, null, {
|
|
6542
6542
|
default: _(() => [
|
|
6543
|
-
|
|
6543
|
+
D(r) && J.value && Pe.value && G.value ? (d(), V(ht, {
|
|
6544
6544
|
key: 0,
|
|
6545
6545
|
class: "waypoint-carousel below-player",
|
|
6546
6546
|
thumbnails: de.value,
|
|
@@ -6551,7 +6551,7 @@ const Ri = {
|
|
|
6551
6551
|
onGoto: kt
|
|
6552
6552
|
}, {
|
|
6553
6553
|
before: _(() => [
|
|
6554
|
-
F.enableAutoplay && G.value ? (
|
|
6554
|
+
F.enableAutoplay && G.value ? (d(), V(jt, {
|
|
6555
6555
|
key: 0,
|
|
6556
6556
|
autoplayStatus: He.value,
|
|
6557
6557
|
onToggleAutoPlay: U[10] || (U[10] = (Se) => Ht())
|
|
@@ -6562,8 +6562,8 @@ const Ri = {
|
|
|
6562
6562
|
]),
|
|
6563
6563
|
_: 1
|
|
6564
6564
|
}),
|
|
6565
|
-
Pe.value ? (
|
|
6566
|
-
!He.value && _e.value && Ce.value && je.value(ie.value) && Qe(ie.value)[0] && Oe.value ? (
|
|
6565
|
+
Pe.value ? (d(), x("div", Ni, [
|
|
6566
|
+
!He.value && _e.value && Ce.value && je.value(ie.value) && Qe(ie.value)[0] && Oe.value ? (d(), V(Pt, {
|
|
6567
6567
|
key: 0,
|
|
6568
6568
|
class: "mt-1",
|
|
6569
6569
|
"current-day": je.value(ie.value) ? Qe(ie.value)[0] : void 0,
|
|
@@ -6573,7 +6573,7 @@ const Ri = {
|
|
|
6573
6573
|
}, null, 8, ["current-day", "current-time"])) : $("", !0)
|
|
6574
6574
|
])) : $("", !0)
|
|
6575
6575
|
], 2)) : $("", !0),
|
|
6576
|
-
|
|
6576
|
+
D(K) && D(w) ? (d(), x("div", Gi, " version: " + Q(D(K)), 1)) : $("", !0)
|
|
6577
6577
|
])
|
|
6578
6578
|
], 2);
|
|
6579
6579
|
};
|
|
@@ -6612,7 +6612,7 @@ const Ri = {
|
|
|
6612
6612
|
},
|
|
6613
6613
|
emits: ["newSizeCallback"],
|
|
6614
6614
|
setup(l, { emit: a }) {
|
|
6615
|
-
return (e, n) => (
|
|
6615
|
+
return (e, n) => (d(), x("div", qi, [
|
|
6616
6616
|
u("div", Ji, [
|
|
6617
6617
|
ne(e.$slots, "slideshow-image", {}, void 0, !0),
|
|
6618
6618
|
u("div", Xi, [
|
|
@@ -6682,19 +6682,19 @@ const Ri = {
|
|
|
6682
6682
|
let r = e.value + 1;
|
|
6683
6683
|
r >= t.value.length && (r = 0), e.value = r;
|
|
6684
6684
|
}
|
|
6685
|
-
function
|
|
6685
|
+
function m() {
|
|
6686
6686
|
let r = e.value - 1;
|
|
6687
6687
|
r < 0 && (r = t.value.length - 1), e.value = r;
|
|
6688
6688
|
}
|
|
6689
|
-
function
|
|
6689
|
+
function p(r, f = !0) {
|
|
6690
6690
|
let k = t.value.findIndex(
|
|
6691
6691
|
(g) => g.id === r
|
|
6692
6692
|
);
|
|
6693
6693
|
k != -1 && (e.value = k);
|
|
6694
6694
|
}
|
|
6695
6695
|
return (r, f) => {
|
|
6696
|
-
const k =
|
|
6697
|
-
return
|
|
6696
|
+
const k = T("v-img"), g = T("v-btn");
|
|
6697
|
+
return d(), x("div", ur, [
|
|
6698
6698
|
u("div", cr, [
|
|
6699
6699
|
u("div", null, [
|
|
6700
6700
|
C(rr, {
|
|
@@ -6713,12 +6713,12 @@ const Ri = {
|
|
|
6713
6713
|
"center-left": _(() => [
|
|
6714
6714
|
C(Te, { name: "slide-x-transition" }, {
|
|
6715
6715
|
default: _(() => [
|
|
6716
|
-
t.value.length > 1 ? (
|
|
6716
|
+
t.value.length > 1 ? (d(), V(g, {
|
|
6717
6717
|
key: 0,
|
|
6718
6718
|
density: "comfortable",
|
|
6719
6719
|
elevation: "3",
|
|
6720
6720
|
icon: "mdi-chevron-left",
|
|
6721
|
-
onClick:
|
|
6721
|
+
onClick: m
|
|
6722
6722
|
})) : $("", !0)
|
|
6723
6723
|
]),
|
|
6724
6724
|
_: 1
|
|
@@ -6728,7 +6728,7 @@ const Ri = {
|
|
|
6728
6728
|
"center-right": _(() => [
|
|
6729
6729
|
C(Te, { name: "slide-x-reverse-transition" }, {
|
|
6730
6730
|
default: _(() => [
|
|
6731
|
-
t.value.length > 1 ? (
|
|
6731
|
+
t.value.length > 1 ? (d(), V(g, {
|
|
6732
6732
|
key: 0,
|
|
6733
6733
|
density: "comfortable",
|
|
6734
6734
|
elevation: "3",
|
|
@@ -6740,39 +6740,39 @@ const Ri = {
|
|
|
6740
6740
|
})
|
|
6741
6741
|
]),
|
|
6742
6742
|
"bottom-left": _(() => [
|
|
6743
|
-
r.showFullScreen ? (
|
|
6743
|
+
r.showFullScreen ? (d(), V(ea, {
|
|
6744
6744
|
key: 0,
|
|
6745
6745
|
"is-full-screen": n.value.isActive,
|
|
6746
6746
|
class: "btn-fullscreen",
|
|
6747
6747
|
onToggleFullscreen: i
|
|
6748
6748
|
}, null, 8, ["is-full-screen"])) : $("", !0),
|
|
6749
|
-
r.showShare ? (
|
|
6749
|
+
r.showShare ? (d(), x("div", vr, [
|
|
6750
6750
|
C(Kt)
|
|
6751
6751
|
])) : $("", !0)
|
|
6752
6752
|
]),
|
|
6753
6753
|
"bottom-center": _(() => [
|
|
6754
6754
|
u("div", null, [
|
|
6755
|
-
n.value.isActive && t.value.length > 1 ? (
|
|
6755
|
+
n.value.isActive && t.value.length > 1 ? (d(), V(ht, {
|
|
6756
6756
|
key: 0,
|
|
6757
6757
|
class: ge([n.value.isActive ? "full-screen" : ""]),
|
|
6758
6758
|
thumbnails: t.value,
|
|
6759
6759
|
active: e.value,
|
|
6760
6760
|
onNext: s,
|
|
6761
|
-
onPrevious:
|
|
6762
|
-
onGoto:
|
|
6761
|
+
onPrevious: m,
|
|
6762
|
+
onGoto: p
|
|
6763
6763
|
}, null, 8, ["class", "thumbnails", "active"])) : $("", !0)
|
|
6764
6764
|
])
|
|
6765
6765
|
]),
|
|
6766
6766
|
"bottom-right": _(() => []),
|
|
6767
6767
|
_: 1
|
|
6768
6768
|
}, 8, ["is-full-screen"]),
|
|
6769
|
-
t.value.length > 1 ? (
|
|
6769
|
+
t.value.length > 1 ? (d(), V(ht, {
|
|
6770
6770
|
key: 0,
|
|
6771
6771
|
thumbnails: t.value,
|
|
6772
6772
|
active: e.value,
|
|
6773
6773
|
onNext: s,
|
|
6774
|
-
onPrevious:
|
|
6775
|
-
onGoto:
|
|
6774
|
+
onPrevious: m,
|
|
6775
|
+
onGoto: p
|
|
6776
6776
|
}, null, 8, ["thumbnails", "active"])) : $("", !0)
|
|
6777
6777
|
])
|
|
6778
6778
|
])
|
|
@@ -6788,12 +6788,12 @@ const Ri = {
|
|
|
6788
6788
|
},
|
|
6789
6789
|
setup(l) {
|
|
6790
6790
|
const a = l, { timeSampleData: e, cdnFileResolver: n, currentTime: t } = $e(a), o = B(() => he(n.value, e.value.filename));
|
|
6791
|
-
return (i, s) => we((
|
|
6791
|
+
return (i, s) => we((d(), x("img", {
|
|
6792
6792
|
key: o.value,
|
|
6793
6793
|
src: o.value,
|
|
6794
6794
|
width: "100%"
|
|
6795
6795
|
}, null, 8, fr)), [
|
|
6796
|
-
[ke,
|
|
6796
|
+
[ke, D(t) && D(e) === D(t)]
|
|
6797
6797
|
]);
|
|
6798
6798
|
}
|
|
6799
6799
|
}), gr = /* @__PURE__ */ ee(hr, [["__scopeId", "data-v-a12a9cdb"]]), yr = /* @__PURE__ */ j({
|
|
@@ -6806,11 +6806,11 @@ const Ri = {
|
|
|
6806
6806
|
},
|
|
6807
6807
|
setup(l) {
|
|
6808
6808
|
const a = l, { dayData: e, cdnFileResolver: n, currentTime: t } = $e(a);
|
|
6809
|
-
return (o, i) => (
|
|
6809
|
+
return (o, i) => (d(!0), x(ve, null, ye(D(e).timeSamples, (s) => (d(), V(gr, {
|
|
6810
6810
|
key: s.filename,
|
|
6811
6811
|
"time-sample-data": s,
|
|
6812
|
-
"cdn-file-resolver":
|
|
6813
|
-
"current-time":
|
|
6812
|
+
"cdn-file-resolver": D(n),
|
|
6813
|
+
"current-time": D(t)
|
|
6814
6814
|
}, null, 8, ["time-sample-data", "cdn-file-resolver", "current-time"]))), 128));
|
|
6815
6815
|
}
|
|
6816
6816
|
}), _r = ["src"], br = /* @__PURE__ */ j({
|
|
@@ -6827,18 +6827,18 @@ const Ri = {
|
|
|
6827
6827
|
n.value,
|
|
6828
6828
|
t.value.defaultFilename
|
|
6829
6829
|
));
|
|
6830
|
-
return (s,
|
|
6831
|
-
key:
|
|
6832
|
-
"day-data":
|
|
6833
|
-
"cdn-file-resolver":
|
|
6830
|
+
return (s, m) => D(e).sunsimDayOfYear ? (d(!0), x(ve, { key: 0 }, ye(D(e).sunsimDayOfYear, (p) => (d(), V(yr, {
|
|
6831
|
+
key: p.dayOfYear,
|
|
6832
|
+
"day-data": p,
|
|
6833
|
+
"cdn-file-resolver": D(n),
|
|
6834
6834
|
"current-day": s.currentDay,
|
|
6835
|
-
"current-time":
|
|
6836
|
-
}, null, 8, ["day-data", "cdn-file-resolver", "current-day", "current-time"]))), 128)) : we((
|
|
6835
|
+
"current-time": D(o)
|
|
6836
|
+
}, null, 8, ["day-data", "cdn-file-resolver", "current-day", "current-time"]))), 128)) : we((d(), x("img", {
|
|
6837
6837
|
key: i.value,
|
|
6838
6838
|
src: i.value,
|
|
6839
6839
|
width: "100%"
|
|
6840
6840
|
}, null, 8, _r)), [
|
|
6841
|
-
[ke,
|
|
6841
|
+
[ke, D(t) === D(e)]
|
|
6842
6842
|
]);
|
|
6843
6843
|
}
|
|
6844
6844
|
}), Cr = ["src"], wr = /* @__PURE__ */ j({
|
|
@@ -6850,12 +6850,12 @@ const Ri = {
|
|
|
6850
6850
|
},
|
|
6851
6851
|
setup(l) {
|
|
6852
6852
|
const a = l, { transitionData: e, cdnFileResolver: n, currentTransition: t } = $e(a), o = B(() => he(n.value, e.value.filename));
|
|
6853
|
-
return (i, s) => we((
|
|
6853
|
+
return (i, s) => we((d(), x("img", {
|
|
6854
6854
|
key: o.value,
|
|
6855
6855
|
src: o.value,
|
|
6856
6856
|
class: "position-absolute top-left w-100 h-100"
|
|
6857
6857
|
}, null, 8, Cr)), [
|
|
6858
|
-
[ke,
|
|
6858
|
+
[ke, D(e) === D(t)]
|
|
6859
6859
|
]);
|
|
6860
6860
|
}
|
|
6861
6861
|
}), kr = /* @__PURE__ */ ee(wr, [["__scopeId", "data-v-ea8553ab"]]);
|
|
@@ -6880,19 +6880,19 @@ const Sr = {
|
|
|
6880
6880
|
},
|
|
6881
6881
|
emits: ["onDayChange"],
|
|
6882
6882
|
setup(l, { emit: a }) {
|
|
6883
|
-
const e = l, { isMobileSized: n, currentCamera: t, currentDay: o, disabled: i } = $e(e), s = a,
|
|
6883
|
+
const e = l, { isMobileSized: n, currentCamera: t, currentDay: o, disabled: i } = $e(e), s = a, m = v(o.value.dayOfYear);
|
|
6884
6884
|
return H(o, () => {
|
|
6885
|
-
|
|
6886
|
-
}), H(
|
|
6885
|
+
m.value = o.value.dayOfYear;
|
|
6886
|
+
}), H(m, () => {
|
|
6887
6887
|
s(
|
|
6888
6888
|
"onDayChange",
|
|
6889
6889
|
t.value.sunsimDayOfYear.find(
|
|
6890
|
-
(
|
|
6890
|
+
(p) => p.dayOfYear === m.value
|
|
6891
6891
|
)
|
|
6892
6892
|
);
|
|
6893
|
-
}), (
|
|
6894
|
-
const f =
|
|
6895
|
-
return
|
|
6893
|
+
}), (p, r) => {
|
|
6894
|
+
const f = T("v-btn"), k = T("v-field"), g = T("v-list-item-title"), c = T("v-list-item"), h = T("v-list"), S = T("v-menu");
|
|
6895
|
+
return D(t).sunsimDayOfYear && D(t).sunsimDayOfYear.length > 0 ? (d(), x("div", Sr, [
|
|
6896
6896
|
C(S, null, {
|
|
6897
6897
|
activator: _(({ props: b }) => [
|
|
6898
6898
|
C(k, {
|
|
@@ -6905,14 +6905,14 @@ const Sr = {
|
|
|
6905
6905
|
variant: "text",
|
|
6906
6906
|
rounded: "",
|
|
6907
6907
|
flat: "",
|
|
6908
|
-
readonly:
|
|
6908
|
+
readonly: D(t).sunsimDayOfYear.length === 1,
|
|
6909
6909
|
"prepend-icon": "mdi-calendar-blank",
|
|
6910
|
-
"append-icon":
|
|
6911
|
-
disabled:
|
|
6912
|
-
size:
|
|
6910
|
+
"append-icon": D(t).sunsimDayOfYear.length > 1 ? "mdi-menu-down" : void 0,
|
|
6911
|
+
disabled: D(i),
|
|
6912
|
+
size: D(n) ? "small" : void 0
|
|
6913
6913
|
}, b), {
|
|
6914
6914
|
default: _(() => [
|
|
6915
|
-
te(Q(
|
|
6915
|
+
te(Q(D(Wt)(m.value)), 1)
|
|
6916
6916
|
]),
|
|
6917
6917
|
_: 2
|
|
6918
6918
|
}, 1040, ["readonly", "append-icon", "disabled", "size"])
|
|
@@ -6923,15 +6923,15 @@ const Sr = {
|
|
|
6923
6923
|
default: _(() => [
|
|
6924
6924
|
C(h, null, {
|
|
6925
6925
|
default: _(() => [
|
|
6926
|
-
(
|
|
6926
|
+
(d(!0), x(ve, null, ye(D(t).sunsimDayOfYear, (b, y) => (d(), V(c, {
|
|
6927
6927
|
key: y,
|
|
6928
6928
|
value: y,
|
|
6929
|
-
onClick: (Y) =>
|
|
6929
|
+
onClick: (Y) => m.value = b.dayOfYear
|
|
6930
6930
|
}, {
|
|
6931
6931
|
default: _(() => [
|
|
6932
6932
|
C(g, null, {
|
|
6933
6933
|
default: _(() => [
|
|
6934
|
-
te(Q(
|
|
6934
|
+
te(Q(D(Wt)(b.dayOfYear)), 1)
|
|
6935
6935
|
]),
|
|
6936
6936
|
_: 2
|
|
6937
6937
|
}, 1024)
|
|
@@ -6947,10 +6947,13 @@ const Sr = {
|
|
|
6947
6947
|
])) : $("", !0);
|
|
6948
6948
|
};
|
|
6949
6949
|
}
|
|
6950
|
-
}), xr = /* @__PURE__ */ ee(Ir, [["__scopeId", "data-v-743f5faf"]]), Dr = ["onClick"],
|
|
6950
|
+
}), xr = /* @__PURE__ */ ee(Ir, [["__scopeId", "data-v-743f5faf"]]), Dr = { class: "still-camera-thumbnails-wrapper d-flex justify-center" }, Ar = ["onClick"], Fr = {
|
|
6951
|
+
key: 0,
|
|
6952
|
+
class: "camera-name text-caption text-capitalize"
|
|
6953
|
+
}, Lr = {
|
|
6951
6954
|
key: 1,
|
|
6952
6955
|
class: "icon-wrapper"
|
|
6953
|
-
},
|
|
6956
|
+
}, Mr = /* @__PURE__ */ j({
|
|
6954
6957
|
__name: "VStructureChooserUiCameraThumbnails",
|
|
6955
6958
|
props: {
|
|
6956
6959
|
isMobileSized: { type: Boolean },
|
|
@@ -6967,69 +6970,65 @@ const Sr = {
|
|
|
6967
6970
|
currentCamera: o,
|
|
6968
6971
|
cdnFileResolver: i,
|
|
6969
6972
|
disabled: s
|
|
6970
|
-
} = $e(e),
|
|
6971
|
-
H(
|
|
6972
|
-
|
|
6973
|
+
} = $e(e), m = v(o.value), p = a;
|
|
6974
|
+
H(m, () => {
|
|
6975
|
+
p(
|
|
6973
6976
|
"onCameraChange",
|
|
6974
|
-
t.value.find((f) => f ===
|
|
6977
|
+
t.value.find((f) => f === m.value)
|
|
6975
6978
|
);
|
|
6976
6979
|
});
|
|
6977
6980
|
function r(f) {
|
|
6978
|
-
s.value || (
|
|
6981
|
+
s.value || (m.value = f);
|
|
6979
6982
|
}
|
|
6980
6983
|
return (f, k) => {
|
|
6981
|
-
const g =
|
|
6982
|
-
return
|
|
6984
|
+
const g = T("v-icon");
|
|
6985
|
+
return d(), x("div", {
|
|
6983
6986
|
class: ge({
|
|
6984
6987
|
"d-flex": !0,
|
|
6985
|
-
"justify-center": !
|
|
6986
|
-
"align-end": !
|
|
6987
|
-
"justify-end":
|
|
6988
|
-
mobile:
|
|
6989
|
-
disabled:
|
|
6990
|
-
enabled: !
|
|
6988
|
+
"justify-center": !D(n),
|
|
6989
|
+
"align-end": !D(n),
|
|
6990
|
+
"justify-end": D(n),
|
|
6991
|
+
mobile: D(n),
|
|
6992
|
+
disabled: D(s),
|
|
6993
|
+
enabled: !D(s)
|
|
6991
6994
|
})
|
|
6992
6995
|
}, [
|
|
6993
|
-
(
|
|
6994
|
-
|
|
6995
|
-
|
|
6996
|
-
|
|
6997
|
-
|
|
6998
|
-
|
|
6999
|
-
|
|
7000
|
-
|
|
7001
|
-
|
|
7002
|
-
|
|
7003
|
-
|
|
7004
|
-
|
|
7005
|
-
|
|
7006
|
-
|
|
7007
|
-
|
|
7008
|
-
|
|
7009
|
-
|
|
7010
|
-
|
|
7011
|
-
|
|
7012
|
-
|
|
7013
|
-
|
|
7014
|
-
|
|
7015
|
-
|
|
7016
|
-
|
|
7017
|
-
|
|
7018
|
-
|
|
7019
|
-
|
|
7020
|
-
|
|
7021
|
-
|
|
7022
|
-
|
|
7023
|
-
|
|
7024
|
-
|
|
7025
|
-
_: 1
|
|
7026
|
-
})
|
|
7027
|
-
])) : $("", !0)
|
|
7028
|
-
], 12, Dr))), 128))
|
|
6996
|
+
u("div", Dr, [
|
|
6997
|
+
(d(!0), x(ve, null, ye(D(t), (c, h) => (d(), x("div", {
|
|
6998
|
+
key: h,
|
|
6999
|
+
class: ge(["still-camera-image d-flex flex-column flex-reverse align-center elevation-2", {
|
|
7000
|
+
"active-camera": c === m.value
|
|
7001
|
+
}]),
|
|
7002
|
+
onClick: (S) => r(c)
|
|
7003
|
+
}, [
|
|
7004
|
+
c.cameraName ? (d(), x("div", Fr, Q(c.cameraName), 1)) : $("", !0),
|
|
7005
|
+
u("div", {
|
|
7006
|
+
class: "camera-thumbnail-image",
|
|
7007
|
+
style: fe({
|
|
7008
|
+
backgroundImage: `url(${D(he)(
|
|
7009
|
+
D(i),
|
|
7010
|
+
c.defaultFilename
|
|
7011
|
+
)})`
|
|
7012
|
+
})
|
|
7013
|
+
}, null, 4),
|
|
7014
|
+
c.sunsimDayOfYear && c.sunsimDayOfYear.length > 1 ? (d(), x("div", Lr, [
|
|
7015
|
+
C(g, {
|
|
7016
|
+
size: "x-small",
|
|
7017
|
+
color: "warning",
|
|
7018
|
+
style: { opacity: "0.6" }
|
|
7019
|
+
}, {
|
|
7020
|
+
default: _(() => [
|
|
7021
|
+
te(" mdi-white-balance-sunny ")
|
|
7022
|
+
]),
|
|
7023
|
+
_: 1
|
|
7024
|
+
})
|
|
7025
|
+
])) : $("", !0)
|
|
7026
|
+
], 10, Ar))), 128))
|
|
7027
|
+
])
|
|
7029
7028
|
], 2);
|
|
7030
7029
|
};
|
|
7031
7030
|
}
|
|
7032
|
-
}),
|
|
7031
|
+
}), Or = /* @__PURE__ */ ee(Mr, [["__scopeId", "data-v-a94daee8"]]), Er = { class: "small" }, Tr = { class: "small" }, Vr = /* @__PURE__ */ j({
|
|
7033
7032
|
__name: "VStructureChooserUiTimeSampleSlider",
|
|
7034
7033
|
props: {
|
|
7035
7034
|
isMobileSized: { type: Boolean },
|
|
@@ -7039,36 +7038,36 @@ const Sr = {
|
|
|
7039
7038
|
},
|
|
7040
7039
|
emits: ["onTimeChange"],
|
|
7041
7040
|
setup(l, { emit: a }) {
|
|
7042
|
-
const e = l, { isMobileSized: n, currentDay: t, currentTime: o, disabled: i } = $e(e), s = a,
|
|
7041
|
+
const e = l, { isMobileSized: n, currentDay: t, currentTime: o, disabled: i } = $e(e), s = a, m = v(o.value.timeInHours);
|
|
7043
7042
|
return H(o, () => {
|
|
7044
|
-
|
|
7045
|
-
}), H(
|
|
7043
|
+
m.value = o.value.timeInHours;
|
|
7044
|
+
}), H(m, () => {
|
|
7046
7045
|
s(
|
|
7047
7046
|
"onTimeChange",
|
|
7048
7047
|
t.value.timeSamples.find(
|
|
7049
|
-
(
|
|
7048
|
+
(p) => p.timeInHours === m.value
|
|
7050
7049
|
)
|
|
7051
7050
|
);
|
|
7052
|
-
}), (
|
|
7053
|
-
const f =
|
|
7054
|
-
return
|
|
7055
|
-
class: ge({ "d-inline-block": !0, mobile:
|
|
7051
|
+
}), (p, r) => {
|
|
7052
|
+
const f = T("v-icon"), k = T("v-slider"), g = T("v-field");
|
|
7053
|
+
return d(), x("div", {
|
|
7054
|
+
class: ge({ "d-inline-block": !0, mobile: D(n) }),
|
|
7056
7055
|
style: fe({
|
|
7057
|
-
flex:
|
|
7056
|
+
flex: D(n) && D(t).timeSamples.length > 1 ? 1 : void 0,
|
|
7058
7057
|
verticalAlign: "top"
|
|
7059
7058
|
})
|
|
7060
7059
|
}, [
|
|
7061
7060
|
C(g, {
|
|
7062
7061
|
style: fe(
|
|
7063
|
-
|
|
7064
|
-
width:
|
|
7065
|
-
height:
|
|
7062
|
+
D(t).timeSamples.length > 1 ? {
|
|
7063
|
+
width: D(n) ? "100%" : "300px",
|
|
7064
|
+
height: D(n) ? "28px" : "36px"
|
|
7066
7065
|
} : {
|
|
7067
|
-
height:
|
|
7066
|
+
height: D(n) ? "28px" : "36px",
|
|
7068
7067
|
paddingLeft: "12px",
|
|
7069
7068
|
paddingRight: "12px",
|
|
7070
|
-
paddingTop:
|
|
7071
|
-
paddingBottom:
|
|
7069
|
+
paddingTop: D(n) ? "5px" : "9px",
|
|
7070
|
+
paddingBottom: D(n) ? "5px" : "9px"
|
|
7072
7071
|
}
|
|
7073
7072
|
),
|
|
7074
7073
|
variant: "solo-filled",
|
|
@@ -7076,15 +7075,15 @@ const Sr = {
|
|
|
7076
7075
|
flat: ""
|
|
7077
7076
|
}, {
|
|
7078
7077
|
default: _(() => [
|
|
7079
|
-
|
|
7078
|
+
D(t).timeSamples.length > 1 ? (d(), V(k, {
|
|
7080
7079
|
key: 0,
|
|
7081
7080
|
class: "pa-2 pr-2",
|
|
7082
|
-
modelValue:
|
|
7083
|
-
"onUpdate:modelValue": r[0] || (r[0] = (
|
|
7084
|
-
min:
|
|
7085
|
-
max:
|
|
7086
|
-
step:
|
|
7087
|
-
disabled: !!
|
|
7081
|
+
modelValue: m.value,
|
|
7082
|
+
"onUpdate:modelValue": r[0] || (r[0] = (c) => m.value = c),
|
|
7083
|
+
min: D(t).startTime,
|
|
7084
|
+
max: D(t).endTime,
|
|
7085
|
+
step: D(t).interval,
|
|
7086
|
+
disabled: !!D(i),
|
|
7088
7087
|
density: "compact",
|
|
7089
7088
|
"thumb-size": "16",
|
|
7090
7089
|
"thumb-color": "white",
|
|
@@ -7101,10 +7100,10 @@ const Sr = {
|
|
|
7101
7100
|
]),
|
|
7102
7101
|
_: 1
|
|
7103
7102
|
}),
|
|
7104
|
-
u("span",
|
|
7103
|
+
u("span", Er, Q(D(ft)(m.value)), 1)
|
|
7105
7104
|
]),
|
|
7106
7105
|
_: 1
|
|
7107
|
-
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (
|
|
7106
|
+
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (d(), x(ve, { key: 1 }, [
|
|
7108
7107
|
C(f, {
|
|
7109
7108
|
style: { "vertical-align": "baseline", "font-size": "20px", "margin-top": "-1px", opacity: "0.6" },
|
|
7110
7109
|
class: "mr-2 icon",
|
|
@@ -7115,7 +7114,7 @@ const Sr = {
|
|
|
7115
7114
|
]),
|
|
7116
7115
|
_: 1
|
|
7117
7116
|
}),
|
|
7118
|
-
u("span",
|
|
7117
|
+
u("span", Tr, Q(D(ft)(m.value)), 1)
|
|
7119
7118
|
], 64))
|
|
7120
7119
|
]),
|
|
7121
7120
|
_: 1
|
|
@@ -7123,10 +7122,10 @@ const Sr = {
|
|
|
7123
7122
|
], 6);
|
|
7124
7123
|
};
|
|
7125
7124
|
}
|
|
7126
|
-
}),
|
|
7125
|
+
}), $r = /* @__PURE__ */ ee(Vr, [["__scopeId", "data-v-4d44890b"]]), Br = {
|
|
7127
7126
|
class: "d-inline-block",
|
|
7128
7127
|
style: { "vertical-align": "top" }
|
|
7129
|
-
},
|
|
7128
|
+
}, Rr = /* @__PURE__ */ u("hr", { style: { "border-top": "1px solid #999" } }, null, -1), Ur = /* @__PURE__ */ j({
|
|
7130
7129
|
__name: "VStructureChooserUiZoomButtons",
|
|
7131
7130
|
props: {
|
|
7132
7131
|
isMobileSized: { type: Boolean },
|
|
@@ -7137,30 +7136,30 @@ const Sr = {
|
|
|
7137
7136
|
emits: ["onZoomIn", "onZoomOut"],
|
|
7138
7137
|
setup(l, { emit: a }) {
|
|
7139
7138
|
const e = l, { isMobileSized: n, canZoomIn: t, canZoomOut: o, disabled: i } = $e(e), s = a;
|
|
7140
|
-
return (
|
|
7141
|
-
const r =
|
|
7142
|
-
return
|
|
7139
|
+
return (m, p) => {
|
|
7140
|
+
const r = T("v-btn");
|
|
7141
|
+
return d(), x("div", Br, [
|
|
7143
7142
|
C(r, {
|
|
7144
|
-
disabled:
|
|
7145
|
-
size:
|
|
7143
|
+
disabled: D(i) || !D(t),
|
|
7144
|
+
size: D(n) ? "x-small" : "small",
|
|
7146
7145
|
flat: "",
|
|
7147
7146
|
icon: "mdi-plus",
|
|
7148
|
-
onClick:
|
|
7147
|
+
onClick: p[0] || (p[0] = (f) => s("onZoomIn")),
|
|
7149
7148
|
style: { "border-bottom-left-radius": "0", "border-bottom-right-radius": "0" }
|
|
7150
7149
|
}, null, 8, ["disabled", "size"]),
|
|
7151
|
-
|
|
7150
|
+
Rr,
|
|
7152
7151
|
C(r, {
|
|
7153
|
-
disabled:
|
|
7154
|
-
size:
|
|
7152
|
+
disabled: D(i) || !D(o),
|
|
7153
|
+
size: D(n) ? "x-small" : "small",
|
|
7155
7154
|
flat: "",
|
|
7156
7155
|
icon: "mdi-minus",
|
|
7157
|
-
onClick:
|
|
7156
|
+
onClick: p[1] || (p[1] = (f) => s("onZoomOut")),
|
|
7158
7157
|
style: { "border-top-left-radius": "0", "border-top-right-radius": "0" }
|
|
7159
7158
|
}, null, 8, ["disabled", "size"])
|
|
7160
7159
|
]);
|
|
7161
7160
|
};
|
|
7162
7161
|
}
|
|
7163
|
-
}),
|
|
7162
|
+
}), Hr = ["innerHTML"], Yr = /* @__PURE__ */ j({
|
|
7164
7163
|
__name: "VStructureChooserOverlay",
|
|
7165
7164
|
props: {
|
|
7166
7165
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -7170,39 +7169,39 @@ const Sr = {
|
|
|
7170
7169
|
},
|
|
7171
7170
|
emits: ["onClick", "onHoverOver", "onHoverOut", "updateSvgContainer", "onError"],
|
|
7172
7171
|
setup(l, { emit: a }) {
|
|
7173
|
-
const e = l, { cdnFileResolver: n, colorCallback: t, currentCamera: o, selectedId: i } = $e(e), s = a,
|
|
7172
|
+
const e = l, { cdnFileResolver: n, colorCallback: t, currentCamera: o, selectedId: i } = $e(e), s = a, m = v(), p = v(), r = gt({});
|
|
7174
7173
|
Ve(() => {
|
|
7175
7174
|
for (const g in r) {
|
|
7176
|
-
const { element:
|
|
7175
|
+
const { element: c, state: h } = r[g], { r: S, g: b, b: y, a: Y, s: E } = t.value(g, h) || {
|
|
7177
7176
|
r: 0,
|
|
7178
7177
|
g: 0,
|
|
7179
7178
|
b: 0,
|
|
7180
7179
|
a: 0,
|
|
7181
7180
|
s: 0
|
|
7182
7181
|
};
|
|
7183
|
-
|
|
7182
|
+
c.style.fill = `rgba(${S}, ${b}, ${y}, ${Y / 255})`, c.style.stroke = `rgb(${S}, ${b}, ${y})`, c.style.strokeWidth = E.toString();
|
|
7184
7183
|
}
|
|
7185
7184
|
}), H(i, () => {
|
|
7186
7185
|
for (const g in r)
|
|
7187
7186
|
r[g].state === "selected" && g !== i.value ? r[g].state = "idle" : r[g].state !== "selected" && g === i.value && (r[g].state = "selected");
|
|
7188
7187
|
}), Ve(async () => {
|
|
7189
7188
|
try {
|
|
7190
|
-
|
|
7189
|
+
m.value = await Fe.loadText(
|
|
7191
7190
|
he(n.value, o.value.overlayFilename)
|
|
7192
7191
|
), k();
|
|
7193
7192
|
} catch (g) {
|
|
7194
7193
|
s("onError", g);
|
|
7195
7194
|
}
|
|
7196
7195
|
}), H(
|
|
7197
|
-
() =>
|
|
7196
|
+
() => p.value,
|
|
7198
7197
|
() => {
|
|
7199
|
-
|
|
7198
|
+
p.value && new ResizeObserver(f).observe(p.value);
|
|
7200
7199
|
}
|
|
7201
7200
|
);
|
|
7202
7201
|
function f() {
|
|
7203
7202
|
De(() => {
|
|
7204
|
-
var
|
|
7205
|
-
const g = (
|
|
7203
|
+
var c;
|
|
7204
|
+
const g = (c = p.value) == null ? void 0 : c.firstChild;
|
|
7206
7205
|
if (g) {
|
|
7207
7206
|
if (!g.hasAttribute("viewBox")) {
|
|
7208
7207
|
const h = `0 0 ${g.getAttribute(
|
|
@@ -7212,18 +7211,18 @@ const Sr = {
|
|
|
7212
7211
|
}
|
|
7213
7212
|
g.setAttribute(
|
|
7214
7213
|
"width",
|
|
7215
|
-
|
|
7214
|
+
p.value.offsetWidth.toString()
|
|
7216
7215
|
), g.setAttribute(
|
|
7217
7216
|
"height",
|
|
7218
|
-
|
|
7217
|
+
p.value.offsetHeight.toString()
|
|
7219
7218
|
);
|
|
7220
7219
|
}
|
|
7221
7220
|
});
|
|
7222
7221
|
}
|
|
7223
7222
|
function k() {
|
|
7224
7223
|
De(() => {
|
|
7225
|
-
var
|
|
7226
|
-
const g = (
|
|
7224
|
+
var c;
|
|
7225
|
+
const g = (c = p.value) == null ? void 0 : c.firstChild;
|
|
7227
7226
|
if (g) {
|
|
7228
7227
|
s("updateSvgContainer", g), f();
|
|
7229
7228
|
let h, S = "data-structure-id";
|
|
@@ -7246,22 +7245,22 @@ const Sr = {
|
|
|
7246
7245
|
}
|
|
7247
7246
|
});
|
|
7248
7247
|
}
|
|
7249
|
-
return (g,
|
|
7248
|
+
return (g, c) => (d(), V(Te, null, {
|
|
7250
7249
|
default: _(() => [
|
|
7251
|
-
(
|
|
7250
|
+
(d(), x("div", {
|
|
7252
7251
|
ref_key: "svgContainer",
|
|
7253
|
-
ref:
|
|
7254
|
-
key:
|
|
7252
|
+
ref: p,
|
|
7253
|
+
key: D(o).overlayFilename,
|
|
7255
7254
|
class: "w-100 h-100 position-absolute top-left",
|
|
7256
7255
|
style: { "z-index": "5" },
|
|
7257
|
-
innerHTML:
|
|
7258
|
-
}, null, 8,
|
|
7256
|
+
innerHTML: m.value
|
|
7257
|
+
}, null, 8, Hr))
|
|
7259
7258
|
]),
|
|
7260
7259
|
_: 1
|
|
7261
7260
|
}));
|
|
7262
7261
|
}
|
|
7263
|
-
}),
|
|
7264
|
-
function
|
|
7262
|
+
}), zr = /* @__PURE__ */ ee(Yr, [["__scopeId", "data-v-45a214c3"]]);
|
|
7263
|
+
function Pr(l) {
|
|
7265
7264
|
if (!l)
|
|
7266
7265
|
return !1;
|
|
7267
7266
|
const a = [
|
|
@@ -7279,16 +7278,16 @@ function Yr(l) {
|
|
|
7279
7278
|
return !1;
|
|
7280
7279
|
return !0;
|
|
7281
7280
|
}
|
|
7282
|
-
function
|
|
7281
|
+
function jr(l) {
|
|
7283
7282
|
return !("filename" in l) && "defaultFilename" in l;
|
|
7284
7283
|
}
|
|
7285
7284
|
function Dt(l) {
|
|
7286
7285
|
return "filename" in l;
|
|
7287
7286
|
}
|
|
7288
|
-
function
|
|
7287
|
+
function Wr(l) {
|
|
7289
7288
|
return l ? "version" in l : !1;
|
|
7290
7289
|
}
|
|
7291
|
-
function
|
|
7290
|
+
function Nr(l) {
|
|
7292
7291
|
if (!l)
|
|
7293
7292
|
return !1;
|
|
7294
7293
|
const a = [
|
|
@@ -7304,7 +7303,7 @@ function jr(l) {
|
|
|
7304
7303
|
return !1;
|
|
7305
7304
|
return !0;
|
|
7306
7305
|
}
|
|
7307
|
-
function
|
|
7306
|
+
function Gr(l) {
|
|
7308
7307
|
if (!l)
|
|
7309
7308
|
return !1;
|
|
7310
7309
|
const a = ["version", "latitude", "longitude", "buildings", "cameras"];
|
|
@@ -7316,11 +7315,11 @@ function Wr(l) {
|
|
|
7316
7315
|
function qe(l) {
|
|
7317
7316
|
return l.startsWith("/") ? l : `/${l}`;
|
|
7318
7317
|
}
|
|
7319
|
-
function
|
|
7318
|
+
function Qr(l) {
|
|
7320
7319
|
var a, e, n, t;
|
|
7321
|
-
if (
|
|
7320
|
+
if (Pr(l))
|
|
7322
7321
|
return l;
|
|
7323
|
-
if (
|
|
7322
|
+
if (Gr(l)) {
|
|
7324
7323
|
if (!l.buildings)
|
|
7325
7324
|
throw new Error(
|
|
7326
7325
|
"cannot convert BuildingChooserDataV5 to StructureChooser: key 'buildings' is missing"
|
|
@@ -7360,21 +7359,21 @@ function Nr(l) {
|
|
|
7360
7359
|
"cannot convert BuildingChooserDataV5 to StructureChooser: key 'cameras.sunsimDayOfYear' is missing"
|
|
7361
7360
|
);
|
|
7362
7361
|
const i = { ...o };
|
|
7363
|
-
return i.sunsimDayOfYear && i.sunsimDayOfYear.forEach((
|
|
7364
|
-
|
|
7365
|
-
|
|
7362
|
+
return i.sunsimDayOfYear && i.sunsimDayOfYear.forEach((m) => {
|
|
7363
|
+
m.timeSamples && m.timeSamples.forEach((p) => {
|
|
7364
|
+
p.filename = qe(p.filename);
|
|
7366
7365
|
});
|
|
7367
7366
|
}), {
|
|
7368
7367
|
...i,
|
|
7369
7368
|
defaultFilename: i.sunsimDayOfYear[0] ? qe(
|
|
7370
7369
|
((s = i.sunsimDayOfYear[0].timeSamples.find(
|
|
7371
|
-
(
|
|
7370
|
+
(m) => m.timeInHours === i.sunsimDayOfYear[0].defaultHour
|
|
7372
7371
|
)) == null ? void 0 : s.filename) || i.sunsimDayOfYear[0].timeSamples[0].filename
|
|
7373
7372
|
) : void 0
|
|
7374
7373
|
};
|
|
7375
7374
|
})
|
|
7376
7375
|
};
|
|
7377
|
-
} else if (
|
|
7376
|
+
} else if (Nr(l)) {
|
|
7378
7377
|
if (!l.days && !l.timeSamples)
|
|
7379
7378
|
throw new Error(
|
|
7380
7379
|
"cannot convert BuildingChooserDataLegacy to StructureChooser: 'days' and 'timeSamples' are empty"
|
|
@@ -7412,9 +7411,9 @@ function Nr(l) {
|
|
|
7412
7411
|
endTime: 23.5,
|
|
7413
7412
|
interval: 0.5,
|
|
7414
7413
|
defaultHour: 14,
|
|
7415
|
-
timeSamples: i.timeSamples.map(({ timeInHours: s, filename:
|
|
7414
|
+
timeSamples: i.timeSamples.map(({ timeInHours: s, filename: m }) => ({
|
|
7416
7415
|
timeInHours: s,
|
|
7417
|
-
filename: qe(
|
|
7416
|
+
filename: qe(m)
|
|
7418
7417
|
}))
|
|
7419
7418
|
}))
|
|
7420
7419
|
}
|
|
@@ -7465,15 +7464,15 @@ function Nr(l) {
|
|
|
7465
7464
|
"cannot convert ApartmentChooserDataV5 to StructureChooser: key 'cameras.sunsimDayOfYear' is missing"
|
|
7466
7465
|
);
|
|
7467
7466
|
const s = { ...o };
|
|
7468
|
-
return s.sunsimDayOfYear && s.sunsimDayOfYear.forEach((
|
|
7469
|
-
|
|
7470
|
-
|
|
7467
|
+
return s.sunsimDayOfYear && s.sunsimDayOfYear.forEach((m) => {
|
|
7468
|
+
m.timeSamples && m.timeSamples.forEach((p) => {
|
|
7469
|
+
p.filename = qe(p.filename);
|
|
7471
7470
|
});
|
|
7472
7471
|
}), {
|
|
7473
7472
|
...s,
|
|
7474
7473
|
defaultFilename: s.sunsimDayOfYear[0] ? qe(
|
|
7475
7474
|
((i = s.sunsimDayOfYear[0].timeSamples.find(
|
|
7476
|
-
(
|
|
7475
|
+
(m) => m.timeInHours === s.sunsimDayOfYear[0].defaultHour
|
|
7477
7476
|
)) == null ? void 0 : i.filename) || s.sunsimDayOfYear[0].timeSamples[0].filename
|
|
7478
7477
|
) : void 0
|
|
7479
7478
|
};
|
|
@@ -7481,7 +7480,7 @@ function Nr(l) {
|
|
|
7481
7480
|
return o;
|
|
7482
7481
|
})
|
|
7483
7482
|
};
|
|
7484
|
-
if (
|
|
7483
|
+
if (Wr(l)) {
|
|
7485
7484
|
if (!l.sceneData)
|
|
7486
7485
|
throw new Error(
|
|
7487
7486
|
"cannot convert ApartmentChooserDataLegacy to StructureChooser: key 'sceneData' is missing"
|
|
@@ -7494,8 +7493,8 @@ function Nr(l) {
|
|
|
7494
7493
|
filename: `/1280/${(s + 1).toString().padStart(4, "0") + ".jpg"}`
|
|
7495
7494
|
})), i = [4, 1, 2, 3];
|
|
7496
7495
|
for (let s = 0; s < l.scenes.length; s++) {
|
|
7497
|
-
let
|
|
7498
|
-
|
|
7496
|
+
let m = l.scenes[s], p, r;
|
|
7497
|
+
p = o[m].filename, r = {
|
|
7499
7498
|
cameraName: `Camera ${s + 1}`,
|
|
7500
7499
|
cameraPosition: void 0,
|
|
7501
7500
|
cameraRotation: l.sceneCameras && (n = l.sceneCameras.find((f) => f.scene === s)) != null && n.cameraRotation ? Nt(
|
|
@@ -7503,7 +7502,7 @@ function Nr(l) {
|
|
|
7503
7502
|
) : void 0,
|
|
7504
7503
|
cameraFov: 0,
|
|
7505
7504
|
overlayFilename: `/scenedata${i[s]}V5Overlay.svg`,
|
|
7506
|
-
defaultFilename:
|
|
7505
|
+
defaultFilename: p,
|
|
7507
7506
|
sunsimDayOfYear: void 0
|
|
7508
7507
|
// sunsimDayOfYear: [
|
|
7509
7508
|
// {
|
|
@@ -7520,7 +7519,7 @@ function Nr(l) {
|
|
|
7520
7519
|
// ],
|
|
7521
7520
|
// },
|
|
7522
7521
|
// ],
|
|
7523
|
-
}, Dt(o[
|
|
7522
|
+
}, Dt(o[m]) && (o[m] = r);
|
|
7524
7523
|
}
|
|
7525
7524
|
return {
|
|
7526
7525
|
version: "5.0",
|
|
@@ -7534,8 +7533,8 @@ function Nr(l) {
|
|
|
7534
7533
|
type: "unit"
|
|
7535
7534
|
})),
|
|
7536
7535
|
stillCameraIndices: l.scenes,
|
|
7537
|
-
stillCameraData: l.sceneData.map(({ apartmentID: s, bestScene:
|
|
7538
|
-
bestIndex: i.findIndex((
|
|
7536
|
+
stillCameraData: l.sceneData.map(({ apartmentID: s, bestScene: m }) => ({
|
|
7537
|
+
bestIndex: i.findIndex((p) => p === m) in l.scenes ? l.scenes[i.findIndex((p) => p === m)] : null,
|
|
7539
7538
|
id: s
|
|
7540
7539
|
})).filter(({ bestIndex: s }) => s !== null),
|
|
7541
7540
|
loopable: !0,
|
|
@@ -7553,10 +7552,10 @@ function Nt({ x: l, y: a, z: e }) {
|
|
|
7553
7552
|
w: 0
|
|
7554
7553
|
};
|
|
7555
7554
|
}
|
|
7556
|
-
const
|
|
7555
|
+
const Zr = ["innerHTML"], qr = { style: { "z-index": "7" } }, Jr = {
|
|
7557
7556
|
key: 4,
|
|
7558
7557
|
class: "render-version"
|
|
7559
|
-
},
|
|
7558
|
+
}, Xr = /* @__PURE__ */ j({
|
|
7560
7559
|
__name: "VStructureChooser",
|
|
7561
7560
|
props: {
|
|
7562
7561
|
structureChooserData: {},
|
|
@@ -7581,8 +7580,8 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7581
7580
|
colorCallback: o,
|
|
7582
7581
|
i18nConfig: i,
|
|
7583
7582
|
customOverlayContent: s,
|
|
7584
|
-
selectedId:
|
|
7585
|
-
defaultCamera:
|
|
7583
|
+
selectedId: m,
|
|
7584
|
+
defaultCamera: p,
|
|
7586
7585
|
defaultDay: r,
|
|
7587
7586
|
defaultTime: f,
|
|
7588
7587
|
mobileBreakpoint: k
|
|
@@ -7591,18 +7590,18 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7591
7590
|
Be,
|
|
7592
7591
|
i.value ? new Re(i.value) : new Re()
|
|
7593
7592
|
);
|
|
7594
|
-
const
|
|
7593
|
+
const c = v(), h = v(), S = v(), b = v(null), y = v(4), Y = v(), E = v(!1), P = v(!1), I = v(), M = B(() => I.value.isHoverEnabled), q = v({ x: 0, y: 0, width: 0, height: 0 }), R = v(), K = v(), w = v(), A = v(!1), W = v(), N = v({
|
|
7595
7594
|
current: 100,
|
|
7596
7595
|
min: 100,
|
|
7597
7596
|
max: 1e3
|
|
7598
7597
|
}), ue = v(!1);
|
|
7599
7598
|
Ie(() => {
|
|
7600
|
-
|
|
7599
|
+
E.value = !0, ue.value = !1;
|
|
7601
7600
|
}), H(
|
|
7602
7601
|
n,
|
|
7603
7602
|
(L) => {
|
|
7604
7603
|
try {
|
|
7605
|
-
ue.value = !1, w.value =
|
|
7604
|
+
ue.value = !1, w.value = Qr(L);
|
|
7606
7605
|
} catch (Z) {
|
|
7607
7606
|
ue.value = !0, g("onError", Z);
|
|
7608
7607
|
}
|
|
@@ -7610,7 +7609,7 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7610
7609
|
{
|
|
7611
7610
|
immediate: !0
|
|
7612
7611
|
}
|
|
7613
|
-
), H(
|
|
7612
|
+
), H(E, (L) => {
|
|
7614
7613
|
L && g("onInitialize");
|
|
7615
7614
|
}), H(
|
|
7616
7615
|
() => K.value,
|
|
@@ -7621,26 +7620,26 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7621
7620
|
}
|
|
7622
7621
|
);
|
|
7623
7622
|
const z = B(
|
|
7624
|
-
() => w.value ? w.value.cameras.filter(
|
|
7623
|
+
() => w.value ? w.value.cameras.filter(jr) : []
|
|
7625
7624
|
), O = B(
|
|
7626
7625
|
() => w.value ? w.value.cameras.filter(Dt) : []
|
|
7627
7626
|
);
|
|
7628
7627
|
H(
|
|
7629
|
-
[w, t,
|
|
7628
|
+
[w, t, p],
|
|
7630
7629
|
async () => {
|
|
7631
|
-
t.value && z.value.length > 0 && (
|
|
7632
|
-
(L) => L.cameraName ===
|
|
7633
|
-
) || z.value[0] :
|
|
7634
|
-
(L) => L ===
|
|
7630
|
+
t.value && z.value.length > 0 && (p.value ? c.value = z.value.find(
|
|
7631
|
+
(L) => L.cameraName === p.value
|
|
7632
|
+
) || z.value[0] : c.value = z.value[0], y.value = w.value.cameras.findIndex(
|
|
7633
|
+
(L) => L === c.value
|
|
7635
7634
|
), y.value = Math.max(0, y.value));
|
|
7636
7635
|
},
|
|
7637
7636
|
{ immediate: !0 }
|
|
7638
7637
|
), H(
|
|
7639
7638
|
[w, t, r],
|
|
7640
7639
|
() => {
|
|
7641
|
-
w.value && t.value &&
|
|
7640
|
+
w.value && t.value && c.value && c.value.sunsimDayOfYear && c.value.sunsimDayOfYear.length > 0 && (r.value ? h.value = c.value.sunsimDayOfYear.find(
|
|
7642
7641
|
(L) => L.dayOfYear === r.value
|
|
7643
|
-
) ||
|
|
7642
|
+
) || c.value.sunsimDayOfYear[0] : h.value = c.value.sunsimDayOfYear[0]);
|
|
7644
7643
|
},
|
|
7645
7644
|
{ immediate: !0 }
|
|
7646
7645
|
), H(
|
|
@@ -7655,7 +7654,7 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7655
7654
|
{ immediate: !0 }
|
|
7656
7655
|
);
|
|
7657
7656
|
function J(L) {
|
|
7658
|
-
|
|
7657
|
+
c.value !== L && Oe(
|
|
7659
7658
|
w.value.cameras.findIndex((Z) => Z === L)
|
|
7660
7659
|
);
|
|
7661
7660
|
}
|
|
@@ -7668,13 +7667,13 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7668
7667
|
}
|
|
7669
7668
|
function se(L) {
|
|
7670
7669
|
const Z = h.value;
|
|
7671
|
-
|
|
7672
|
-
(me) => me ===
|
|
7670
|
+
c.value = L, y.value = w.value.cameras.findIndex(
|
|
7671
|
+
(me) => me === c.value
|
|
7673
7672
|
), De(() => {
|
|
7674
|
-
|
|
7675
|
-
|
|
7673
|
+
c.value.sunsimDayOfYear && c.value.sunsimDayOfYear.length > 0 && oe(
|
|
7674
|
+
c.value.sunsimDayOfYear.find(
|
|
7676
7675
|
(me) => me.dayOfYear === Z.dayOfYear
|
|
7677
|
-
) ||
|
|
7676
|
+
) || c.value.sunsimDayOfYear[0]
|
|
7678
7677
|
);
|
|
7679
7678
|
});
|
|
7680
7679
|
}
|
|
@@ -7773,12 +7772,12 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7773
7772
|
ue.value = !0, g("onError", L);
|
|
7774
7773
|
}
|
|
7775
7774
|
return (L, Z) => {
|
|
7776
|
-
const me =
|
|
7777
|
-
return
|
|
7775
|
+
const me = T("v-skeleton-loader");
|
|
7776
|
+
return d(), x(ve, null, [
|
|
7778
7777
|
C(me, {
|
|
7779
7778
|
type: "image",
|
|
7780
7779
|
class: "w-100 h-100 position-relative",
|
|
7781
|
-
loading: !
|
|
7780
|
+
loading: !E.value || !w.value
|
|
7782
7781
|
}, {
|
|
7783
7782
|
default: _(() => [
|
|
7784
7783
|
C(Te, { class: "w-100 h-100" }, {
|
|
@@ -7790,7 +7789,7 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7790
7789
|
style: { "min-height": "104px" },
|
|
7791
7790
|
onMousemove: Ae
|
|
7792
7791
|
}, [
|
|
7793
|
-
L.showUi ? (
|
|
7792
|
+
L.showUi ? (d(), x("div", {
|
|
7794
7793
|
key: 0,
|
|
7795
7794
|
class: "persistent actions-bar top-right pa-2",
|
|
7796
7795
|
style: fe({
|
|
@@ -7798,7 +7797,7 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7798
7797
|
top: A.value && z.value.length > 1 ? "60px" : 0
|
|
7799
7798
|
})
|
|
7800
7799
|
}, [
|
|
7801
|
-
|
|
7800
|
+
c.value.cameraRotation ? (d(), V(at, {
|
|
7802
7801
|
key: 0,
|
|
7803
7802
|
class: "mb-2",
|
|
7804
7803
|
style: fe({
|
|
@@ -7806,9 +7805,9 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7806
7805
|
width: A.value ? 32 : 40,
|
|
7807
7806
|
height: A.value ? 32 : 40
|
|
7808
7807
|
}),
|
|
7809
|
-
longitude:
|
|
7808
|
+
longitude: c.value.cameraRotation.y + 270
|
|
7810
7809
|
}, null, 8, ["style", "longitude"])) : $("", !0),
|
|
7811
|
-
C(
|
|
7810
|
+
C(Ur, {
|
|
7812
7811
|
"is-mobile-sized": A.value,
|
|
7813
7812
|
"can-zoom-out": N.value.min < N.value.current,
|
|
7814
7813
|
"can-zoom-in": N.value.max > N.value.current,
|
|
@@ -7817,20 +7816,20 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7817
7816
|
onOnZoomOut: Z[1] || (Z[1] = (re) => be(!1))
|
|
7818
7817
|
}, null, 8, ["is-mobile-sized", "can-zoom-out", "can-zoom-in", "disabled"])
|
|
7819
7818
|
], 4)) : $("", !0),
|
|
7820
|
-
L.showUi && z.value.length > 1 ? (
|
|
7819
|
+
L.showUi && z.value.length > 1 ? (d(), x("div", {
|
|
7821
7820
|
key: 1,
|
|
7822
|
-
class: ge({
|
|
7823
|
-
"actions-bar bottom-
|
|
7821
|
+
class: ge([{
|
|
7822
|
+
"actions-bar bottom-center pb-2": !0,
|
|
7824
7823
|
"px-0": A.value
|
|
7825
|
-
}),
|
|
7824
|
+
}, "still-cameras-wrapper"]),
|
|
7826
7825
|
style: { "z-index": "7" }
|
|
7827
7826
|
}, [
|
|
7828
|
-
C(
|
|
7827
|
+
C(Or, {
|
|
7829
7828
|
"is-mobile-sized": A.value,
|
|
7830
7829
|
"still-cameras": z.value,
|
|
7831
|
-
"current-camera":
|
|
7830
|
+
"current-camera": c.value,
|
|
7832
7831
|
disabled: P.value,
|
|
7833
|
-
"cdn-file-resolver":
|
|
7832
|
+
"cdn-file-resolver": D(t),
|
|
7834
7833
|
onOnCameraChange: J
|
|
7835
7834
|
}, null, 8, ["is-mobile-sized", "still-cameras", "current-camera", "disabled", "cdn-file-resolver"])
|
|
7836
7835
|
], 2)) : $("", !0),
|
|
@@ -7841,32 +7840,32 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7841
7840
|
onUpdate: Ue
|
|
7842
7841
|
}, {
|
|
7843
7842
|
default: _(() => [
|
|
7844
|
-
(
|
|
7843
|
+
(d(!0), x(ve, null, ye(z.value, (re, ce) => (d(), V(br, {
|
|
7845
7844
|
key: `camera${ce}`,
|
|
7846
7845
|
"camera-data": re,
|
|
7847
|
-
"cdn-file-resolver":
|
|
7848
|
-
"current-camera":
|
|
7846
|
+
"cdn-file-resolver": D(t),
|
|
7847
|
+
"current-camera": c.value,
|
|
7849
7848
|
"current-day": h.value,
|
|
7850
7849
|
"current-time": S.value
|
|
7851
7850
|
}, null, 8, ["camera-data", "cdn-file-resolver", "current-camera", "current-day", "current-time"]))), 128)),
|
|
7852
|
-
(
|
|
7851
|
+
(d(!0), x(ve, null, ye(O.value, (re, ce) => (d(), V(kr, {
|
|
7853
7852
|
key: `transition${ce}`,
|
|
7854
7853
|
"transition-data": re,
|
|
7855
|
-
"cdn-file-resolver":
|
|
7854
|
+
"cdn-file-resolver": D(t),
|
|
7856
7855
|
"current-transition": b.value
|
|
7857
7856
|
}, null, 8, ["transition-data", "cdn-file-resolver", "current-transition"]))), 128)),
|
|
7858
|
-
|
|
7857
|
+
D(s) ? (d(), x("div", {
|
|
7859
7858
|
key: 0,
|
|
7860
7859
|
class: "w-100 h-100 position-absolute top-left",
|
|
7861
7860
|
style: { "z-index": "6", "pointer-events": "none" },
|
|
7862
|
-
innerHTML:
|
|
7863
|
-
}, null, 8,
|
|
7864
|
-
|
|
7861
|
+
innerHTML: D(s)
|
|
7862
|
+
}, null, 8, Zr)) : $("", !0),
|
|
7863
|
+
c.value.overlayFilename && !ue.value ? we((d(), V(zr, {
|
|
7865
7864
|
key: 1,
|
|
7866
|
-
"cdn-file-resolver":
|
|
7867
|
-
"color-callback":
|
|
7868
|
-
"current-camera":
|
|
7869
|
-
"selected-id":
|
|
7865
|
+
"cdn-file-resolver": D(t),
|
|
7866
|
+
"color-callback": D(o),
|
|
7867
|
+
"current-camera": c.value,
|
|
7868
|
+
"selected-id": D(m),
|
|
7870
7869
|
onOnClick: _e,
|
|
7871
7870
|
onOnHoverOver: ie,
|
|
7872
7871
|
onOnHoverOut: Le,
|
|
@@ -7878,7 +7877,7 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7878
7877
|
]),
|
|
7879
7878
|
_: 1
|
|
7880
7879
|
}, 512),
|
|
7881
|
-
L.showUi && (h.value && h.value.timeSamples && h.value.timeSamples.length >
|
|
7880
|
+
L.showUi && (h.value && h.value.timeSamples && h.value.timeSamples.length > 1 || c.value.sunsimDayOfYear && c.value.sunsimDayOfYear.length > 1) ? (d(), x("div", {
|
|
7882
7881
|
key: 2,
|
|
7883
7882
|
class: ge({
|
|
7884
7883
|
"actions-bar top-left pa-2 d-flex": !0,
|
|
@@ -7889,12 +7888,12 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7889
7888
|
C(xr, {
|
|
7890
7889
|
class: "pr-2",
|
|
7891
7890
|
"is-mobile-sized": A.value,
|
|
7892
|
-
"current-camera":
|
|
7891
|
+
"current-camera": c.value,
|
|
7893
7892
|
"current-day": h.value,
|
|
7894
7893
|
disabled: P.value,
|
|
7895
7894
|
onOnDayChange: oe
|
|
7896
7895
|
}, null, 8, ["is-mobile-sized", "current-camera", "current-day", "disabled"]),
|
|
7897
|
-
C(
|
|
7896
|
+
C($r, {
|
|
7898
7897
|
"is-mobile-sized": A.value,
|
|
7899
7898
|
"current-day": h.value,
|
|
7900
7899
|
"current-time": S.value,
|
|
@@ -7902,19 +7901,19 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7902
7901
|
onOnTimeChange: le
|
|
7903
7902
|
}, null, 8, ["is-mobile-sized", "current-day", "current-time", "disabled"])
|
|
7904
7903
|
], 2)) : $("", !0),
|
|
7905
|
-
L.$slots.popup && q.value && Y.value ? (
|
|
7904
|
+
L.$slots.popup && q.value && Y.value ? (d(), V(et, {
|
|
7906
7905
|
key: 3,
|
|
7907
7906
|
"is-hoverable": M.value,
|
|
7908
7907
|
pos: q.value
|
|
7909
7908
|
}, {
|
|
7910
7909
|
default: _(() => [
|
|
7911
|
-
u("div",
|
|
7910
|
+
u("div", qr, [
|
|
7912
7911
|
ne(L.$slots, "popup", it(rt({ hoverId: Y.value, hoverable: M.value })), void 0, !0)
|
|
7913
7912
|
])
|
|
7914
7913
|
]),
|
|
7915
7914
|
_: 3
|
|
7916
7915
|
}, 8, ["is-hoverable", "pos"])) : $("", !0),
|
|
7917
|
-
L.version && L.showVersion ? (
|
|
7916
|
+
L.version && L.showVersion ? (d(), x("div", Jr, " version: " + Q(L.version), 1)) : $("", !0)
|
|
7918
7917
|
], 34)
|
|
7919
7918
|
]),
|
|
7920
7919
|
_: 3
|
|
@@ -7929,26 +7928,26 @@ const Gr = ["innerHTML"], Qr = { style: { "z-index": "7" } }, Zr = {
|
|
|
7929
7928
|
], 64);
|
|
7930
7929
|
};
|
|
7931
7930
|
}
|
|
7932
|
-
}),
|
|
7931
|
+
}), Kr = /* @__PURE__ */ ee(Xr, [["__scopeId", "data-v-e0afd5e3"]]), su = {
|
|
7933
7932
|
install: function(a) {
|
|
7934
|
-
a.component("VApartmentChooser", yn), a.component("VBuildingChooser", Do), a.component("VVirtualTour", Zi), a.component("VManualSlideShow", pr), a.component("VStructureChooser",
|
|
7933
|
+
a.component("VApartmentChooser", yn), a.component("VBuildingChooser", Do), a.component("VVirtualTour", Zi), a.component("VManualSlideShow", pr), a.component("VStructureChooser", Kr);
|
|
7935
7934
|
}
|
|
7936
7935
|
};
|
|
7937
7936
|
export {
|
|
7938
7937
|
Fe as ResourceLoader,
|
|
7939
7938
|
yn as VApartmentChooser,
|
|
7940
|
-
|
|
7939
|
+
ou as VApartmentChooserV5,
|
|
7941
7940
|
Do as VBuildingChooser,
|
|
7942
|
-
|
|
7941
|
+
lu as VBuildingChooserV5,
|
|
7943
7942
|
et as VFloatingCard,
|
|
7944
7943
|
Ye as VHoverProbe,
|
|
7945
7944
|
pr as VManualSlideShow,
|
|
7946
7945
|
at as VNorthDirection,
|
|
7947
|
-
|
|
7946
|
+
Kr as VStructureChooser,
|
|
7948
7947
|
Zi as VVirtualTour,
|
|
7949
7948
|
tt as VZoomBox,
|
|
7950
7949
|
Wn as convertApartmentChooserDataLegacyToV5,
|
|
7951
7950
|
Po as convertBuildingChooserDataLegacyToV5,
|
|
7952
|
-
|
|
7953
|
-
|
|
7951
|
+
Qr as convertStructureChooserDataLegacyToV5,
|
|
7952
|
+
su as default
|
|
7954
7953
|
};
|