@qispace/vue3-player 0.4.0 → 0.4.2
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.
- package/dist/vue-components/src/components/virtualTour/VVirtualTour.vue.d.ts +7 -0
- package/dist/vue-components/src/components/virtualTour/VVisuadoCreateButton.vue.d.ts +6 -0
- package/dist/vue-components/style.css +1 -1
- package/dist/vue-components/vue3-player.js +1141 -1109
- package/dist/vue-components/vue3-player.umd.cjs +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var Ue = (t, n, o) => (
|
|
4
|
-
import { defineComponent as W, computed as
|
|
1
|
+
var bn = Object.defineProperty;
|
|
2
|
+
var wn = (t, n, o) => n in t ? bn(t, n, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[n] = o;
|
|
3
|
+
var Ue = (t, n, o) => (wn(t, typeof n != "symbol" ? n + "" : n, o), o);
|
|
4
|
+
import { defineComponent as W, computed as F, resolveComponent as I, openBlock as u, createBlock as T, withCtx as m, createElementBlock as L, normalizeStyle as ne, renderSlot as K, ref as b, unref as p, watch as Y, onMounted as Re, onBeforeUnmount as et, createElementVNode as e, toRefs as _e, nextTick as $e, inject as Se, createVNode as g, mergeProps as Ie, toDisplayString as H, createTextVNode as ae, Fragment as we, renderList as Ee, normalizeClass as ce, pushScopeId as mt, popScopeId as pt, Transition as Fe, createCommentVNode as M, withDirectives as Ke, vModelText as kn, createStaticVNode as Ht, onBeforeUpdate as Cn, withModifiers as Sn, provide as Xe, vShow as ut, reactive as An, watchEffect as Ft, normalizeProps as xn, guardReactiveProps as Ln } from "vue";
|
|
5
5
|
import ct from "axios";
|
|
6
|
-
import * as
|
|
7
|
-
import { Vector3 as Je, Object3D as
|
|
8
|
-
const
|
|
6
|
+
import * as In from "@qispace/player-core";
|
|
7
|
+
import { Vector3 as Je, Object3D as En, MathUtils as Mn } from "three";
|
|
8
|
+
const Fn = /* @__PURE__ */ W({
|
|
9
9
|
__name: "VFloatingCard",
|
|
10
10
|
props: {
|
|
11
11
|
pos: {},
|
|
@@ -13,17 +13,17 @@ const En = /* @__PURE__ */ W({
|
|
|
13
13
|
},
|
|
14
14
|
emits: ["outside"],
|
|
15
15
|
setup(t, { emit: n }) {
|
|
16
|
-
const o = t, l = n, i =
|
|
16
|
+
const o = t, l = n, i = F(() => {
|
|
17
17
|
let a, s, r, h;
|
|
18
18
|
return o.pos.x <= o.pos.width / 2 ? (a = "-100%", r = "-8px") : (a = "0%", r = "8px"), o.pos.y <= o.pos.height / 2 ? (s = "-100%", h = "-8px") : (s = "0%", h = "8px"), `translate(${a}, ${s}) translate(${r}, ${h})`;
|
|
19
19
|
});
|
|
20
20
|
return (a, s) => {
|
|
21
|
-
const r =
|
|
21
|
+
const r = I("v-dialog"), h = I("v-fade-transition");
|
|
22
22
|
return u(), T(h, {
|
|
23
23
|
origin: `top left ${a.pos.x} ${a.pos.y}`
|
|
24
24
|
}, {
|
|
25
|
-
default:
|
|
26
|
-
a.isHoverable ? (u(),
|
|
25
|
+
default: m(() => [
|
|
26
|
+
a.isHoverable ? (u(), L("div", {
|
|
27
27
|
key: 0,
|
|
28
28
|
class: "floating-card",
|
|
29
29
|
style: ne({
|
|
@@ -38,9 +38,9 @@ const En = /* @__PURE__ */ W({
|
|
|
38
38
|
key: 1,
|
|
39
39
|
value: !0,
|
|
40
40
|
width: "auto",
|
|
41
|
-
"onClick:outside": s[0] || (s[0] = (
|
|
41
|
+
"onClick:outside": s[0] || (s[0] = (y) => l("outside", y))
|
|
42
42
|
}, {
|
|
43
|
-
default:
|
|
43
|
+
default: m(() => [
|
|
44
44
|
K(a.$slots, "default", { isHoverable: a.isHoverable }, void 0, !0)
|
|
45
45
|
]),
|
|
46
46
|
_: 3
|
|
@@ -55,37 +55,37 @@ const En = /* @__PURE__ */ W({
|
|
|
55
55
|
for (const [l, i] of n)
|
|
56
56
|
o[l] = i;
|
|
57
57
|
return o;
|
|
58
|
-
},
|
|
58
|
+
}, Vn = /* @__PURE__ */ X(Fn, [["__scopeId", "data-v-7d5e6067"]]), Dn = /* @__PURE__ */ W({
|
|
59
59
|
__name: "VHoverProbe",
|
|
60
60
|
setup(t, { expose: n }) {
|
|
61
|
-
const o = b(), l =
|
|
61
|
+
const o = b(), l = F(() => window.getComputedStyle(o.value).display === "none");
|
|
62
62
|
return n({
|
|
63
63
|
isHoverEnabled: l
|
|
64
|
-
}), (i, a) => (u(),
|
|
64
|
+
}), (i, a) => (u(), L("div", {
|
|
65
65
|
ref_key: "hoverCheck",
|
|
66
66
|
ref: o,
|
|
67
67
|
class: "hover-check"
|
|
68
68
|
}, null, 512));
|
|
69
69
|
}
|
|
70
|
-
}),
|
|
70
|
+
}), Bn = /* @__PURE__ */ X(Dn, [["__scopeId", "data-v-eb9b348d"]]), Tn = "data:image/png;base64,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", Yt = /* @__PURE__ */ W({
|
|
71
71
|
__name: "VNorthDirection",
|
|
72
72
|
props: {
|
|
73
73
|
longitude: {}
|
|
74
74
|
},
|
|
75
75
|
setup(t) {
|
|
76
|
-
const n = t, o =
|
|
76
|
+
const n = t, o = F(() => ({
|
|
77
77
|
transform: `rotate(${90 - (n.longitude || 0)}deg)`,
|
|
78
78
|
transition: " transform 0.5s ease-in"
|
|
79
79
|
}));
|
|
80
80
|
return (l, i) => {
|
|
81
|
-
const a =
|
|
81
|
+
const a = I("v-img");
|
|
82
82
|
return u(), T(a, {
|
|
83
|
-
src: p(
|
|
83
|
+
src: p(Tn),
|
|
84
84
|
style: ne(o.value)
|
|
85
85
|
}, null, 8, ["src", "style"]);
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
|
-
}),
|
|
88
|
+
}), On = /* @__PURE__ */ W({
|
|
89
89
|
__name: "VZoomBox",
|
|
90
90
|
props: {
|
|
91
91
|
desktop: { type: Boolean, default: !0 },
|
|
@@ -101,7 +101,7 @@ const En = /* @__PURE__ */ W({
|
|
|
101
101
|
n({
|
|
102
102
|
adjustZoom: ke
|
|
103
103
|
});
|
|
104
|
-
const a = b(100), s = b(0), r = b(0), h = b(!1),
|
|
104
|
+
const a = b(100), s = b(0), r = b(0), h = b(!1), y = b(!1), f = b(void 0), _ = b(!1), S = b(), O = F(() => `translateX(${s.value}px) translateY(${r.value}px) scale(${C.value})`), C = F(() => a.value / 100), c = F(() => l.maxScale * 100);
|
|
105
105
|
Y(
|
|
106
106
|
[C, s, r],
|
|
107
107
|
() => {
|
|
@@ -128,7 +128,7 @@ const En = /* @__PURE__ */ W({
|
|
|
128
128
|
capture: !0
|
|
129
129
|
}), S.value.addEventListener("mousedown", q, {
|
|
130
130
|
capture: !0
|
|
131
|
-
}), S.value.addEventListener("mousemove",
|
|
131
|
+
}), S.value.addEventListener("mousemove", V, {
|
|
132
132
|
capture: !0
|
|
133
133
|
}), window.addEventListener("mouseup", J, {
|
|
134
134
|
capture: !0
|
|
@@ -152,7 +152,7 @@ const En = /* @__PURE__ */ W({
|
|
|
152
152
|
capture: !0
|
|
153
153
|
}), S.value.removeEventListener("mousedown", q, {
|
|
154
154
|
capture: !0
|
|
155
|
-
}), S.value.removeEventListener("mousemove",
|
|
155
|
+
}), S.value.removeEventListener("mousemove", V, {
|
|
156
156
|
capture: !0
|
|
157
157
|
}), window.removeEventListener("mouseup", J, {
|
|
158
158
|
capture: !0
|
|
@@ -171,79 +171,79 @@ const En = /* @__PURE__ */ W({
|
|
|
171
171
|
capture: !0
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
|
-
function R(
|
|
175
|
-
const { x:
|
|
176
|
-
ke(-
|
|
174
|
+
function R(B) {
|
|
175
|
+
const { x: Q, y: P } = D(B);
|
|
176
|
+
ke(-B.deltaY / 10, Q, P), B.preventDefault();
|
|
177
177
|
}
|
|
178
|
-
function q(
|
|
179
|
-
h.value = !0, _.value = !1, f.value =
|
|
178
|
+
function q(B) {
|
|
179
|
+
h.value = !0, _.value = !1, f.value = B;
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function V(B) {
|
|
182
182
|
if (h.value) {
|
|
183
|
-
const { x:
|
|
184
|
-
x:
|
|
185
|
-
y:
|
|
183
|
+
const { x: Q, y: P } = D(B), { x: N, y: le } = D(f.value), G = {
|
|
184
|
+
x: Q - N,
|
|
185
|
+
y: P - le
|
|
186
186
|
};
|
|
187
|
-
z(G.x), ve(G.y), _.value = !0, f.value =
|
|
187
|
+
z(G.x), ve(G.y), _.value = !0, f.value = B;
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
function J(
|
|
191
|
-
h.value && _.value && l.consumeMouseUpWhenMoved && (
|
|
190
|
+
function J(B) {
|
|
191
|
+
h.value && _.value && l.consumeMouseUpWhenMoved && (B.preventDefault(), B.stopImmediatePropagation());
|
|
192
192
|
}
|
|
193
|
-
function be(
|
|
194
|
-
h.value && (_.value && l.consumeMouseClickWhenMoved && (
|
|
193
|
+
function be(B) {
|
|
194
|
+
h.value && (_.value && l.consumeMouseClickWhenMoved && (B.preventDefault(), B.stopImmediatePropagation()), h.value = !1);
|
|
195
195
|
}
|
|
196
|
-
function ee(
|
|
197
|
-
h.value =
|
|
196
|
+
function ee(B) {
|
|
197
|
+
h.value = B.touches.length === 1, y.value = B.touches.length === 2, f.value = B;
|
|
198
198
|
}
|
|
199
|
-
function Ae(
|
|
199
|
+
function Ae(B) {
|
|
200
200
|
if (h.value) {
|
|
201
|
-
const { x:
|
|
201
|
+
const { x: Q, y: P } = D(B.touches[0]), { x: N, y: le } = D(
|
|
202
202
|
f.value.touches[0]
|
|
203
203
|
), G = {
|
|
204
|
-
x:
|
|
205
|
-
y:
|
|
204
|
+
x: Q - N,
|
|
205
|
+
y: P - le
|
|
206
206
|
};
|
|
207
207
|
z(G.x), ve(G.y);
|
|
208
|
-
} else if (
|
|
209
|
-
const { x:
|
|
208
|
+
} else if (y.value && B.touches.length === 2) {
|
|
209
|
+
const { x: Q, y: P } = D(B.touches[0]), { x: N, y: le } = D(
|
|
210
210
|
f.value.touches[0]
|
|
211
|
-
), { x: G, y: re } = B
|
|
211
|
+
), { x: G, y: re } = D(B.touches[1]), { x: Z, y: he } = D(
|
|
212
212
|
f.value.touches[1]
|
|
213
|
-
), xe = Math.hypot(
|
|
213
|
+
), xe = Math.hypot(N - Z, le - he), De = Math.hypot(Q - G, P - re), pe = (G + Q) / 2, fe = (re + P) / 2;
|
|
214
214
|
ke(De - xe, pe, fe);
|
|
215
215
|
}
|
|
216
|
-
f.value =
|
|
216
|
+
f.value = B;
|
|
217
217
|
}
|
|
218
218
|
function U() {
|
|
219
|
-
h.value = !1,
|
|
219
|
+
h.value = !1, y.value = !1;
|
|
220
220
|
}
|
|
221
|
-
function B
|
|
222
|
-
const { left:
|
|
221
|
+
function D(B) {
|
|
222
|
+
const { left: Q, top: P } = S.value.getBoundingClientRect();
|
|
223
223
|
return {
|
|
224
|
-
x:
|
|
225
|
-
y:
|
|
224
|
+
x: B.clientX - Q,
|
|
225
|
+
y: B.clientY - P
|
|
226
226
|
};
|
|
227
227
|
}
|
|
228
|
-
function z(
|
|
229
|
-
const
|
|
228
|
+
function z(B) {
|
|
229
|
+
const Q = S.value.clientWidth, P = Q * C.value;
|
|
230
230
|
s.value = Math.max(
|
|
231
|
-
Math.min(0, s.value +
|
|
232
|
-
-(
|
|
231
|
+
Math.min(0, s.value + B),
|
|
232
|
+
-(P - Q)
|
|
233
233
|
);
|
|
234
234
|
}
|
|
235
|
-
function ve(
|
|
236
|
-
const
|
|
235
|
+
function ve(B) {
|
|
236
|
+
const Q = S.value.clientHeight, P = Q * C.value;
|
|
237
237
|
r.value = Math.max(
|
|
238
|
-
Math.min(0, r.value +
|
|
239
|
-
-(
|
|
238
|
+
Math.min(0, r.value + B),
|
|
239
|
+
-(P - Q)
|
|
240
240
|
);
|
|
241
241
|
}
|
|
242
|
-
function ke(
|
|
243
|
-
const
|
|
244
|
-
a.value = Math.min(Math.max(100, a.value +
|
|
245
|
-
const xe = G * C.value, De = re * C.value, pe = xe -
|
|
246
|
-
s.value -=
|
|
242
|
+
function ke(B, Q, P) {
|
|
243
|
+
const N = Q !== void 0 ? Q : S.value.clientWidth / 2, le = P !== void 0 ? P : S.value.clientHeight / 2, G = S.value.clientWidth, re = S.value.clientHeight, Z = G * C.value, he = re * C.value;
|
|
244
|
+
a.value = Math.min(Math.max(100, a.value + B), c.value);
|
|
245
|
+
const xe = G * C.value, De = re * C.value, pe = xe - Z, fe = De - he;
|
|
246
|
+
s.value -= N / G * pe, r.value -= le / re * fe, z(0), ve(0);
|
|
247
247
|
}
|
|
248
248
|
function ie() {
|
|
249
249
|
i("update", {
|
|
@@ -253,13 +253,13 @@ const En = /* @__PURE__ */ W({
|
|
|
253
253
|
current: Math.min(Math.max(100, a.value), c.value),
|
|
254
254
|
min: 100,
|
|
255
255
|
max: c.value,
|
|
256
|
-
resolve: (
|
|
257
|
-
const
|
|
256
|
+
resolve: (B, Q) => {
|
|
257
|
+
const P = S.value.clientWidth, N = S.value.clientHeight, le = s.value / -C.value, G = r.value / -C.value, re = le + P / C.value, Z = G + N / C.value, he = B / P * (re - le) + le, xe = Q / N * (Z - G) + G;
|
|
258
258
|
return { x: he, y: xe };
|
|
259
259
|
}
|
|
260
260
|
});
|
|
261
261
|
}
|
|
262
|
-
return (
|
|
262
|
+
return (B, Q) => (u(), L("div", {
|
|
263
263
|
ref_key: "box",
|
|
264
264
|
ref: S,
|
|
265
265
|
class: "zoom-box-container",
|
|
@@ -269,55 +269,55 @@ const En = /* @__PURE__ */ W({
|
|
|
269
269
|
style: ne({ "transform-origin": "top left", transform: O.value }),
|
|
270
270
|
class: "zoom-box"
|
|
271
271
|
}, [
|
|
272
|
-
K(
|
|
272
|
+
K(B.$slots, "default", {}, void 0, !0)
|
|
273
273
|
], 4)
|
|
274
274
|
], 4));
|
|
275
275
|
}
|
|
276
|
-
}),
|
|
276
|
+
}), $n = /* @__PURE__ */ X(On, [["__scopeId", "data-v-3e334a46"]]);
|
|
277
277
|
var Ze = {};
|
|
278
278
|
Object.defineProperty(Ze, "__esModule", {
|
|
279
279
|
value: !0
|
|
280
280
|
});
|
|
281
|
-
var
|
|
281
|
+
var Rn = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
282
282
|
return typeof t;
|
|
283
283
|
} : function(t) {
|
|
284
284
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
285
|
-
},
|
|
286
|
-
Ze.isWebWorker =
|
|
287
|
-
Ze.isNode =
|
|
288
|
-
Ze.isJsDom =
|
|
289
|
-
Ze.isDeno =
|
|
285
|
+
}, Hn = typeof window < "u" && typeof window.document < "u", Yn = typeof process < "u" && process.versions != null && process.versions.node != null, Un = (typeof self > "u" ? "undefined" : Rn(self)) === "object" && self.constructor && self.constructor.name === "DedicatedWorkerGlobalScope", zn = typeof window < "u" && window.name === "nodejs" || typeof navigator < "u" && (navigator.userAgent.includes("Node.js") || navigator.userAgent.includes("jsdom")), jn = typeof Deno < "u" && typeof Deno.version < "u" && typeof Deno.version.deno < "u", Wn = Ze.isBrowser = Hn;
|
|
286
|
+
Ze.isWebWorker = Un;
|
|
287
|
+
Ze.isNode = Yn;
|
|
288
|
+
Ze.isJsDom = zn;
|
|
289
|
+
Ze.isDeno = jn;
|
|
290
290
|
function me(t, n) {
|
|
291
291
|
return typeof t == "string" ? `${t}${n}` : t(n);
|
|
292
292
|
}
|
|
293
|
-
const
|
|
293
|
+
const Pn = { id: "player-wrapper" }, Qn = { id: "player-sizer" }, Nn = {
|
|
294
294
|
class: "player-control",
|
|
295
295
|
id: "controls-top-left"
|
|
296
|
-
},
|
|
296
|
+
}, Zn = {
|
|
297
297
|
class: "player-control",
|
|
298
298
|
id: "controls-top-center"
|
|
299
|
-
},
|
|
299
|
+
}, qn = {
|
|
300
300
|
class: "player-control",
|
|
301
301
|
id: "controls-top-right"
|
|
302
|
-
},
|
|
302
|
+
}, Jn = {
|
|
303
303
|
class: "player-control",
|
|
304
304
|
id: "controls-center-left"
|
|
305
|
-
},
|
|
305
|
+
}, Gn = {
|
|
306
306
|
class: "player-control",
|
|
307
307
|
id: "controls-center-center"
|
|
308
|
-
},
|
|
308
|
+
}, Kn = {
|
|
309
309
|
class: "player-control",
|
|
310
310
|
id: "controls-center-right"
|
|
311
|
-
},
|
|
311
|
+
}, Xn = {
|
|
312
312
|
class: "player-control",
|
|
313
313
|
id: "controls-bottom-left"
|
|
314
|
-
},
|
|
314
|
+
}, eo = {
|
|
315
315
|
class: "player-control",
|
|
316
316
|
id: "controls-bottom-center"
|
|
317
|
-
},
|
|
317
|
+
}, to = {
|
|
318
318
|
class: "player-control",
|
|
319
319
|
id: "controls-bottom-right"
|
|
320
|
-
},
|
|
320
|
+
}, no = { id: "main-canvas" }, oo = /* @__PURE__ */ W({
|
|
321
321
|
__name: "VPlayer",
|
|
322
322
|
props: {
|
|
323
323
|
cdnFileResolver: {},
|
|
@@ -329,13 +329,13 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
329
329
|
},
|
|
330
330
|
emits: ["newCameraCallback", "newRotationCallback", "newFloorCallback", "newFovCallback", "sunsimCallback", "playerApiCallback", "newSizeCallback"],
|
|
331
331
|
setup(t, { emit: n }) {
|
|
332
|
-
const o =
|
|
332
|
+
const o = In.PlayerV2, l = t, {
|
|
333
333
|
cdnFileResolver: i,
|
|
334
334
|
interiorId: a,
|
|
335
335
|
apartmentId: s,
|
|
336
336
|
currentCameraId: r,
|
|
337
337
|
showStaticImage: h,
|
|
338
|
-
mouseSensitivity:
|
|
338
|
+
mouseSensitivity: y
|
|
339
339
|
} = _e(l), f = n, _ = b(), S = b(r.value), O = b(0), C = b(0);
|
|
340
340
|
Y(r, () => {
|
|
341
341
|
S.value = r.value;
|
|
@@ -374,26 +374,26 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
374
374
|
const R = {
|
|
375
375
|
initialized: () => {
|
|
376
376
|
_.value = o.Main.getPlayerAPI();
|
|
377
|
-
const
|
|
378
|
-
|
|
377
|
+
const V = _.value.getCurrentCamera();
|
|
378
|
+
V && (S.value = V.id);
|
|
379
379
|
},
|
|
380
|
-
newCamera: (
|
|
381
|
-
f("newFloorCallback",
|
|
380
|
+
newCamera: (V) => {
|
|
381
|
+
f("newFloorCallback", V.floorLevel), f("sunsimCallback", V.sunsimDayOfYear), _.value && _.value.resetMarkerBehaviour(0), S.value = V.id;
|
|
382
382
|
},
|
|
383
|
-
newFOV: (
|
|
384
|
-
f("newFovCallback",
|
|
383
|
+
newFOV: (V) => {
|
|
384
|
+
f("newFovCallback", V), C.value = V;
|
|
385
385
|
},
|
|
386
|
-
newRotation: (
|
|
387
|
-
const J =
|
|
386
|
+
newRotation: (V) => {
|
|
387
|
+
const J = V + 0;
|
|
388
388
|
f("newRotationCallback", J), O.value = J;
|
|
389
389
|
}
|
|
390
390
|
};
|
|
391
|
-
if (!
|
|
391
|
+
if (!Wn)
|
|
392
392
|
return;
|
|
393
393
|
const q = await new o.Main(
|
|
394
|
-
(
|
|
394
|
+
(V) => me(
|
|
395
395
|
i.value,
|
|
396
|
-
`/${a.value}/${s.value}${
|
|
396
|
+
`/${a.value}/${s.value}${V}`
|
|
397
397
|
),
|
|
398
398
|
"qpc",
|
|
399
399
|
R,
|
|
@@ -403,44 +403,44 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
403
403
|
q && (q.handleWindowResize(), window.addEventListener(
|
|
404
404
|
"resize",
|
|
405
405
|
q.handleWindowResize.bind(q)
|
|
406
|
-
), q.animate(), _.value = o.Main.getPlayerAPI(), _.value && _.value.setLookSensitivity(
|
|
406
|
+
), q.animate(), _.value = o.Main.getPlayerAPI(), _.value && _.value.setLookSensitivity(y.value));
|
|
407
407
|
}
|
|
408
408
|
async function d() {
|
|
409
409
|
_.value && (await _.value.destroy(), _.value = void 0);
|
|
410
410
|
}
|
|
411
411
|
return et(() => {
|
|
412
412
|
d();
|
|
413
|
-
}), (w, x) => (u(),
|
|
414
|
-
e("div",
|
|
413
|
+
}), (w, x) => (u(), L("div", Pn, [
|
|
414
|
+
e("div", Qn, [
|
|
415
415
|
K(w.$slots, "slideshow-image", {}, void 0, !0),
|
|
416
|
-
e("div",
|
|
416
|
+
e("div", Nn, [
|
|
417
417
|
K(w.$slots, "top-left", {}, void 0, !0)
|
|
418
418
|
]),
|
|
419
|
-
e("div",
|
|
419
|
+
e("div", Zn, [
|
|
420
420
|
K(w.$slots, "top-center", {}, void 0, !0)
|
|
421
421
|
]),
|
|
422
|
-
e("div",
|
|
422
|
+
e("div", qn, [
|
|
423
423
|
K(w.$slots, "top-right", {}, void 0, !0)
|
|
424
424
|
]),
|
|
425
|
-
e("div",
|
|
425
|
+
e("div", Jn, [
|
|
426
426
|
K(w.$slots, "center-left", {}, void 0, !0)
|
|
427
427
|
]),
|
|
428
|
-
e("div",
|
|
428
|
+
e("div", Gn, [
|
|
429
429
|
K(w.$slots, "center-center", {}, void 0, !0)
|
|
430
430
|
]),
|
|
431
|
-
e("div",
|
|
431
|
+
e("div", Kn, [
|
|
432
432
|
K(w.$slots, "center-right", {}, void 0, !0)
|
|
433
433
|
]),
|
|
434
|
-
e("div",
|
|
434
|
+
e("div", Xn, [
|
|
435
435
|
K(w.$slots, "bottom-left", {}, void 0, !0)
|
|
436
436
|
]),
|
|
437
|
-
e("div",
|
|
437
|
+
e("div", eo, [
|
|
438
438
|
K(w.$slots, "bottom-center", {}, void 0, !0)
|
|
439
439
|
]),
|
|
440
|
-
e("div",
|
|
440
|
+
e("div", to, [
|
|
441
441
|
K(w.$slots, "bottom-right", {}, void 0, !0)
|
|
442
442
|
]),
|
|
443
|
-
e("div",
|
|
443
|
+
e("div", no, [
|
|
444
444
|
e("canvas", {
|
|
445
445
|
id: "qpc",
|
|
446
446
|
style: ne(p(h) ? "visibility:hidden" : "visibility:visible")
|
|
@@ -449,11 +449,11 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
449
449
|
])
|
|
450
450
|
]));
|
|
451
451
|
}
|
|
452
|
-
}),
|
|
452
|
+
}), ao = /* @__PURE__ */ X(oo, [["__scopeId", "data-v-4e601038"]]), Ve = Symbol(), lo = {
|
|
453
453
|
style: { width: "24px", height: "24px" },
|
|
454
454
|
viewBox: "0 0 18 16",
|
|
455
455
|
xmlns: "http://www.w3.org/2000/svg"
|
|
456
|
-
},
|
|
456
|
+
}, so = ["stroke"], io = ["stroke"], ro = { class: "floor-level-label" }, uo = /* @__PURE__ */ W({
|
|
457
457
|
__name: "VFloorLevel",
|
|
458
458
|
props: {
|
|
459
459
|
level: { default: 0 },
|
|
@@ -461,56 +461,56 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
461
461
|
},
|
|
462
462
|
emits: ["level"],
|
|
463
463
|
setup(t, { emit: n }) {
|
|
464
|
-
const o = t, l = n, i = Se(Ve), a =
|
|
464
|
+
const o = t, l = n, i = Se(Ve), a = F(() => {
|
|
465
465
|
const f = o.floorLevels;
|
|
466
466
|
return f.sort(), f;
|
|
467
|
-
}), s =
|
|
468
|
-
function
|
|
467
|
+
}), s = F(() => a.value.indexOf(o.level) + 1 <= a.value.length / 2 ? "lower" : "upper"), r = F(() => s.value === "lower"), h = F(() => s.value === "upper");
|
|
468
|
+
function y() {
|
|
469
469
|
const f = o.level + 1;
|
|
470
470
|
f >= a.value.length ? l("level", a.value[0]) : l("level", a.value[f]);
|
|
471
471
|
}
|
|
472
472
|
return (f, _) => {
|
|
473
|
-
const S =
|
|
473
|
+
const S = I("v-btn"), O = I("v-tooltip");
|
|
474
474
|
return u(), T(O, {
|
|
475
475
|
right: "",
|
|
476
476
|
attach: ""
|
|
477
477
|
}, {
|
|
478
|
-
activator:
|
|
479
|
-
|
|
478
|
+
activator: m(({ props: C }) => [
|
|
479
|
+
g(S, Ie({
|
|
480
480
|
style: { cursor: "pointer" },
|
|
481
481
|
density: "comfortable",
|
|
482
482
|
elevation: "1",
|
|
483
483
|
icon: ""
|
|
484
|
-
}, C, { onClick:
|
|
485
|
-
default:
|
|
486
|
-
(u(),
|
|
484
|
+
}, C, { onClick: y }), {
|
|
485
|
+
default: m(() => [
|
|
486
|
+
(u(), L("svg", lo, [
|
|
487
487
|
e("path", {
|
|
488
488
|
d: "M8.98034 10.3472L1.54055 5.8855L8.98034 1.42384L16.4201 5.8855L8.98034 10.3472Z",
|
|
489
489
|
fill: "white",
|
|
490
490
|
stroke: h.value ? "black" : "#999999",
|
|
491
491
|
"stroke-width": "1.5",
|
|
492
492
|
"stroke-linejoin": "round"
|
|
493
|
-
}, null, 8,
|
|
493
|
+
}, null, 8, so),
|
|
494
494
|
e("path", {
|
|
495
495
|
d: "M8.98034 14.7993L1.54055 10.3376L8.98034 5.87599L16.4201 10.3376L8.98034 14.7993Z",
|
|
496
496
|
fill: "white",
|
|
497
497
|
stroke: r.value ? "black" : "#999999",
|
|
498
498
|
"stroke-width": "1.5",
|
|
499
499
|
"stroke-linejoin": "round"
|
|
500
|
-
}, null, 8,
|
|
500
|
+
}, null, 8, io)
|
|
501
501
|
]))
|
|
502
502
|
]),
|
|
503
503
|
_: 2
|
|
504
504
|
}, 1040)
|
|
505
505
|
]),
|
|
506
|
-
default:
|
|
507
|
-
e("span",
|
|
506
|
+
default: m(() => [
|
|
507
|
+
e("span", ro, H(p(i).getLabel(s.value)) + " " + H(p(i).getLabel("floor")), 1)
|
|
508
508
|
]),
|
|
509
509
|
_: 1
|
|
510
510
|
});
|
|
511
511
|
};
|
|
512
512
|
}
|
|
513
|
-
}),
|
|
513
|
+
}), co = /* @__PURE__ */ X(uo, [["__scopeId", "data-v-4c45966e"]]), vo = { class: "d-none d-md-inline" }, mo = { class: "interior-selector-list" }, po = ["onClick"], fo = { class: "d-flex align-center justify-left pa-0 ma-0" }, ho = { class: "pa-0 ma-0" }, go = { class: "text-caption ma-2 no-wrap" }, yo = /* @__PURE__ */ W({
|
|
514
514
|
__name: "VInteriorSelector",
|
|
515
515
|
props: {
|
|
516
516
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -521,41 +521,41 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
521
521
|
setup(t, { emit: n }) {
|
|
522
522
|
const o = t, l = n, i = Se(Ve);
|
|
523
523
|
return (a, s) => {
|
|
524
|
-
const r =
|
|
525
|
-
return u(),
|
|
526
|
-
|
|
524
|
+
const r = I("v-icon"), h = I("v-btn"), y = I("v-img"), f = I("v-menu");
|
|
525
|
+
return u(), L("div", null, [
|
|
526
|
+
g(f, {
|
|
527
527
|
transition: "slide-x-reverse-transition",
|
|
528
528
|
location: "top end",
|
|
529
529
|
origin: "end bottom",
|
|
530
530
|
elevation: "0",
|
|
531
531
|
attach: ""
|
|
532
532
|
}, {
|
|
533
|
-
activator:
|
|
534
|
-
|
|
535
|
-
default:
|
|
536
|
-
|
|
537
|
-
default:
|
|
533
|
+
activator: m(({ props: _ }) => [
|
|
534
|
+
g(h, Ie({ rounded: "" }, _, { class: "text-capitalize" }), {
|
|
535
|
+
default: m(() => [
|
|
536
|
+
g(r, null, {
|
|
537
|
+
default: m(() => [
|
|
538
538
|
ae("mdi-palette-outline")
|
|
539
539
|
]),
|
|
540
540
|
_: 1
|
|
541
541
|
}),
|
|
542
|
-
e("span",
|
|
542
|
+
e("span", vo, H(p(i).getLabel("interior")), 1)
|
|
543
543
|
]),
|
|
544
544
|
_: 2
|
|
545
545
|
}, 1040)
|
|
546
546
|
]),
|
|
547
|
-
default:
|
|
548
|
-
e("div",
|
|
549
|
-
(u(!0),
|
|
547
|
+
default: m(() => [
|
|
548
|
+
e("div", mo, [
|
|
549
|
+
(u(!0), L(we, null, Ee(o.availableArchetypes, (_, S) => (u(), L("div", {
|
|
550
550
|
key: `at-menuitem-${S}`,
|
|
551
551
|
onClick: (O) => l("selectInterior", _.archetypeID),
|
|
552
552
|
class: ce(["interior-selector-list-item", {
|
|
553
553
|
active: S === a.selectedIndex
|
|
554
554
|
}])
|
|
555
555
|
}, [
|
|
556
|
-
e("div",
|
|
557
|
-
e("div",
|
|
558
|
-
y
|
|
556
|
+
e("div", fo, [
|
|
557
|
+
e("div", ho, [
|
|
558
|
+
g(y, {
|
|
559
559
|
width: "100",
|
|
560
560
|
"max-width": "100",
|
|
561
561
|
height: "66",
|
|
@@ -563,9 +563,9 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
563
563
|
class: "pa-0 ma-0"
|
|
564
564
|
}, null, 8, ["src"])
|
|
565
565
|
]),
|
|
566
|
-
e("div",
|
|
566
|
+
e("div", go, H(p(i).get(_.title)), 1)
|
|
567
567
|
])
|
|
568
|
-
], 10,
|
|
568
|
+
], 10, po))), 128))
|
|
569
569
|
])
|
|
570
570
|
]),
|
|
571
571
|
_: 1
|
|
@@ -573,25 +573,25 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
573
573
|
]);
|
|
574
574
|
};
|
|
575
575
|
}
|
|
576
|
-
}),
|
|
576
|
+
}), _o = /* @__PURE__ */ X(yo, [["__scopeId", "data-v-eece0130"]]), bo = "data:image/png;base64,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", wo = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAYAAACPZlfNAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAMdSURBVHgB7dxBTttQEMbxsU32idouujM7FhjlBqQnaG5AbkBvUPUEpTegN8gR6AlAgQU70lWlQkUUscR+fVZrRKlL7CTQN6P/T0IJwYkUDfNhvzdEBAAAAAAAAAAAAAAAAAAAAAD+i+t+v3+5vT0Qg2IxqHBuP47jXTHIZMHEuYETeScGmSvYZb9fFiv1d7sWY9FcwWLn9u7ux/FbMcZeJPo4vLsrMhJjTBXsXhxWzMWiqYLdj8NKlCR7YoipgjnnhjUPDv11WVeMMFOwqywb+Zu6wnQlz81ck5kp2GNnhLmha7JIDCgjLy+K60cOmSVxvNk7OZmJciY6LM/z4YJDukVRmDj5sBGJcbywGLUnJAqpj0Qfh6mPw4smx/pY7GmPRfUd5uNw0PRYC7GoPxIbxGHFQiyqjsQ2cVjRHouqO8xHXOvVeP+cfVFMeySOpCV3bzVfI7WRuEwcVlxRvHl1dnYkCqntsFWiTfO8h+ZIXPqMT/PGpsqC1WxUtpVq3dhUWbC6jcrWr6F03kNnJK7hTE9rLKor2BrisKJy3kNdwdYRh3evpTAW9UXiGi98y1jUNu+hqmBXWTZcUxxWure3t31RRFXBoieIMG1jcGqWphrMbSxL1byHmg5rMLexrPIXQc3Jh5qCPekZnXMjUUJFJK6yMt+Ulo1NFR3WZm5jWVrmPXREYou5jWVpmfcIPhKfIw4rGmIx+A57jjisaIjF4AsWRVG7nWXnjhK/fJWUEefcuN1Tw4/FoCOxaRz6N3Hi22M8v7n5tDmd/hFp37a20qTTGcRR9F4aLGslSZL2jo+/SqA2JGALxthmviMO/RsY905Pv/zroNfn51N/c1h+XWfZbl7ug0VR2Um1i75Fno/8zQcJVNAd9mNn5+KvxV4feT4mx/P5/PPDbmrje5aN/N+DPV+8wYMfTV9OJpsSqGALVn78kI/D49/fzqKiOKiLvFWVkbnR6exHv7ouLR8LeQwu2IL57vroIy9NRA4ei7x1qiLTF2/6YjIJNhbxwEWamvkndgAAAAAAAAAAAAAAAAAAAAAAAAAAAABYxU+ILzGcMmFd0QAAAABJRU5ErkJggg==", ko = /* @__PURE__ */ W({
|
|
577
577
|
__name: "VCompass",
|
|
578
578
|
props: {
|
|
579
579
|
rotation: {}
|
|
580
580
|
},
|
|
581
581
|
setup(t) {
|
|
582
|
-
const n = t, o = b(
|
|
583
|
-
backgroundImage: `url(${
|
|
582
|
+
const n = t, o = b(wo), l = b({
|
|
583
|
+
backgroundImage: `url(${bo})`,
|
|
584
584
|
backgroundSize: "contain"
|
|
585
|
-
}), i =
|
|
585
|
+
}), i = F(() => ({
|
|
586
586
|
transform: `rotate(${-n.rotation + 180}deg)`
|
|
587
587
|
}));
|
|
588
588
|
return (a, s) => {
|
|
589
|
-
const r =
|
|
590
|
-
return u(),
|
|
589
|
+
const r = I("v-img");
|
|
590
|
+
return u(), L("div", {
|
|
591
591
|
style: ne(l.value),
|
|
592
592
|
class: "compass-wrapper"
|
|
593
593
|
}, [
|
|
594
|
-
|
|
594
|
+
g(r, {
|
|
595
595
|
class: "compass-needle",
|
|
596
596
|
src: o.value,
|
|
597
597
|
style: ne(i.value)
|
|
@@ -599,67 +599,67 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
599
599
|
], 4);
|
|
600
600
|
};
|
|
601
601
|
}
|
|
602
|
-
}),
|
|
602
|
+
}), Co = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADyHTlpAAAAllBMVEUAAAD/rwD/rwD/qgP/qwL/qAL/qwP/qwH/rAL/rAL/qwL/qQD/qwL/qwD/qQD/qwL/pQD/qgH/nwD/pwD/qQL/rAL/qwD/qwT/rAP/qwL/rAL/rAD/rAL/qgD/qwL/qQP/rAP/rAH/qgH/qwL/qwD/qgL/rwD/qgD/qwH/qgD/qgL/rAD/qgD/qgD/qwH/rAP/qgX/qwA+O5E+AAAAMnRSTlMAECBg/3C/v5Dff4+PT1/PMN8QII9vf0CfgO9vnzDvUF+vr3BA3zA/z2+fX59g71AwcDsf6p0AAAFGSURBVHicvdRtT8MgEABgaM9hu1aHXV/cpm6zWt829f//OYEK9qC3NDF6HxYCTw5GuWPsd8GjqTIGOJtIZwDi/ymnKPflOSTub6cAcwdnkHk5AQY2v3Dzl2phga1EFkl5hScLbZc+LbUs/FltK5OpLpsmrS0NpbLLSu3Er1dgIsn0cdabEdlHlICL5IZSRq5gELcn7DCnsfQL24AX5PeNfAlAHSEOaYrFXaNiqwa7kO7V9L1dt9u25kX58cBY7dbZYz/MKdr2o06nrZ6klNX4AYRdf8aHzkL6QtxAG9KculjhS0nJMO0rSVmF5ZyWnn2jFC+36vcgLTzq+3lPRx6XrjjTqQ7iqJxY6+KLydp0ZWhrVHWE0JoqHq1NSHBxF0h+1Mh6LUMM5LC/Kht8h+5nG9zeTtbt37Ti3XT6+d29pkTXTZVEfAEKARRF2iiwhQAAAB10RVh0U29mdHdhcmUAQGx1bmFwYWludC9wbmctY29kZWP1QxkeAAAAAElFTkSuQmCC", So = { class: "d-flex flex-column align-center justify-center clock-face" }, Ao = { class: "clock-icon" }, xo = { class: "clock-value grey--text text--darken-3" }, Lo = /* @__PURE__ */ W({
|
|
603
603
|
__name: "VTimeOfDay",
|
|
604
604
|
props: {
|
|
605
605
|
hours: { default: 0 },
|
|
606
606
|
minutes: { default: 0 }
|
|
607
607
|
},
|
|
608
608
|
setup(t) {
|
|
609
|
-
const n = t, o =
|
|
609
|
+
const n = t, o = F(() => [l(n.hours), ":", l(n.minutes)].join(""));
|
|
610
610
|
function l(i) {
|
|
611
611
|
return ("0" + i).slice(-2);
|
|
612
612
|
}
|
|
613
613
|
return (i, a) => {
|
|
614
|
-
const s =
|
|
615
|
-
return u(),
|
|
616
|
-
e("div",
|
|
617
|
-
|
|
618
|
-
src: p(
|
|
614
|
+
const s = I("v-img");
|
|
615
|
+
return u(), L("div", So, [
|
|
616
|
+
e("div", Ao, [
|
|
617
|
+
g(s, {
|
|
618
|
+
src: p(Co),
|
|
619
619
|
"aspect-ratio": "1"
|
|
620
620
|
}, null, 8, ["src"])
|
|
621
621
|
]),
|
|
622
|
-
e("div",
|
|
622
|
+
e("div", xo, H(o.value), 1)
|
|
623
623
|
]);
|
|
624
624
|
};
|
|
625
625
|
}
|
|
626
|
-
}),
|
|
626
|
+
}), Io = /* @__PURE__ */ X(Lo, [["__scopeId", "data-v-874b2271"]]), wt = (t) => (mt("data-v-86d91cc1"), t = t(), pt(), t), Eo = {
|
|
627
627
|
key: 0,
|
|
628
628
|
width: "24",
|
|
629
629
|
height: "24",
|
|
630
630
|
viewBox: "0 0 24 24",
|
|
631
631
|
xmlns: "http://www.w3.org/2000/svg"
|
|
632
|
-
},
|
|
632
|
+
}, Mo = /* @__PURE__ */ wt(() => /* @__PURE__ */ e("path", {
|
|
633
633
|
d: "M5.38544 13C3.30939 13.9424 2 15.3211 2 16.8571C2 19.6975 6.47715 22 12 22C17.5228 22 22 19.6975 22 16.8571C22 15.3211 20.6906 13.9424 18.6146 13",
|
|
634
634
|
class: "fill-grey"
|
|
635
|
-
}, null, -1)),
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
],
|
|
635
|
+
}, null, -1)), Fo = /* @__PURE__ */ wt(() => /* @__PURE__ */ e("path", { d: "M8 9C8 7.89543 8.89543 7 10 7H14C15.1046 7 16 7.89543 16 9V12.875C16 13.4273 15.5523 13.875 15 13.875H14V17C14 17.5523 13.5523 18 13 18H11C10.4477 18 10 17.5523 10 17V13.875H9C8.44772 13.875 8 13.4273 8 12.875V9Z" }, null, -1)), Vo = /* @__PURE__ */ wt(() => /* @__PURE__ */ e("path", { d: "M15 4C15 5.65685 13.6569 7 12 7C10.3431 7 9 5.65685 9 4C9 2.34315 10.3431 1 12 1C13.6569 1 15 2.34315 15 4Z" }, null, -1)), Do = [
|
|
636
|
+
Mo,
|
|
637
|
+
Fo,
|
|
638
|
+
Vo
|
|
639
|
+
], Bo = /* @__PURE__ */ W({
|
|
640
640
|
__name: "VViewModeToggle",
|
|
641
641
|
props: {
|
|
642
642
|
showStaticImage: { type: Boolean }
|
|
643
643
|
},
|
|
644
644
|
emits: ["toggle"],
|
|
645
645
|
setup(t, { emit: n }) {
|
|
646
|
-
const o = t, l = n, i = Se(Ve), a =
|
|
646
|
+
const o = t, l = n, i = Se(Ve), a = F(() => {
|
|
647
647
|
let s = "virtualTour";
|
|
648
648
|
return o.showStaticImage || (s = "slideShow"), s;
|
|
649
649
|
});
|
|
650
650
|
return (s, r) => {
|
|
651
|
-
const h =
|
|
651
|
+
const h = I("v-icon"), y = I("v-btn"), f = I("v-tooltip");
|
|
652
652
|
return u(), T(f, { location: "top" }, {
|
|
653
|
-
activator:
|
|
654
|
-
y
|
|
653
|
+
activator: m(({ props: _ }) => [
|
|
654
|
+
g(y, Ie({
|
|
655
655
|
density: "comfortable",
|
|
656
656
|
elevation: "1",
|
|
657
657
|
icon: "",
|
|
658
658
|
onClick: r[0] || (r[0] = (S) => l("toggle"))
|
|
659
659
|
}, _), {
|
|
660
|
-
default:
|
|
661
|
-
a.value === "virtualTour" ? (u(),
|
|
662
|
-
default:
|
|
660
|
+
default: m(() => [
|
|
661
|
+
a.value === "virtualTour" ? (u(), L("svg", Eo, Do)) : (u(), T(h, { key: 1 }, {
|
|
662
|
+
default: m(() => [
|
|
663
663
|
ae("mdi-image-multiple")
|
|
664
664
|
]),
|
|
665
665
|
_: 1
|
|
@@ -668,17 +668,17 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
668
668
|
_: 2
|
|
669
669
|
}, 1040)
|
|
670
670
|
]),
|
|
671
|
-
default:
|
|
671
|
+
default: m(() => [
|
|
672
672
|
e("span", null, H(p(i).getLabel(a.value)), 1)
|
|
673
673
|
]),
|
|
674
674
|
_: 1
|
|
675
675
|
});
|
|
676
676
|
};
|
|
677
677
|
}
|
|
678
|
-
}),
|
|
678
|
+
}), To = /* @__PURE__ */ X(Bo, [["__scopeId", "data-v-86d91cc1"]]), ze = (t) => (mt("data-v-627f8ee6"), t = t(), pt(), t), Oo = {
|
|
679
679
|
key: 0,
|
|
680
680
|
class: "desktop-content"
|
|
681
|
-
},
|
|
681
|
+
}, $o = { class: "d-flex align-center justify-center" }, Ro = { class: "box col d-flex flex-column align-bottom justify-center" }, Ho = /* @__PURE__ */ ze(() => /* @__PURE__ */ e("div", { class: "tutorial-icon justify-center" }, [
|
|
682
682
|
/* @__PURE__ */ e("svg", {
|
|
683
683
|
width: "50",
|
|
684
684
|
height: "32.5",
|
|
@@ -725,7 +725,7 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
725
725
|
"stroke-width": "1.5"
|
|
726
726
|
})
|
|
727
727
|
])
|
|
728
|
-
], -1)),
|
|
728
|
+
], -1)), Yo = { class: "text-div text-center text mt-2" }, Uo = { class: "box col d-flex flex-column align-bottom justify-center" }, zo = /* @__PURE__ */ ze(() => /* @__PURE__ */ e("div", { class: "tutorial-icon justify-center" }, [
|
|
729
729
|
/* @__PURE__ */ e("svg", {
|
|
730
730
|
width: "50",
|
|
731
731
|
height: "32.5",
|
|
@@ -855,7 +855,7 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
855
855
|
"stroke-linecap": "round"
|
|
856
856
|
})
|
|
857
857
|
])
|
|
858
|
-
], -1)),
|
|
858
|
+
], -1)), jo = { class: "text-div text-center text mt-2" }, Wo = { class: "box col d-flex flex-column align-bottom justify-center" }, Po = /* @__PURE__ */ ze(() => /* @__PURE__ */ e("div", { class: "tutorial-icon justify-center" }, [
|
|
859
859
|
/* @__PURE__ */ e("svg", {
|
|
860
860
|
width: "50",
|
|
861
861
|
height: "32.5",
|
|
@@ -926,7 +926,7 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
926
926
|
"stroke-linejoin": "round"
|
|
927
927
|
})
|
|
928
928
|
])
|
|
929
|
-
], -1)),
|
|
929
|
+
], -1)), Qo = { class: "text-div text-center text mt-2" }, No = { class: "box col d-flex flex-column align-bottom justify-center" }, Zo = /* @__PURE__ */ ze(() => /* @__PURE__ */ e("div", { class: "tutorial-icon justify-center" }, [
|
|
930
930
|
/* @__PURE__ */ e("svg", {
|
|
931
931
|
width: "50",
|
|
932
932
|
height: "32.5",
|
|
@@ -994,10 +994,10 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
994
994
|
fill: "#FF3E3E"
|
|
995
995
|
})
|
|
996
996
|
])
|
|
997
|
-
], -1)),
|
|
997
|
+
], -1)), qo = { class: "text-div text-center text mt-2" }, Jo = {
|
|
998
998
|
key: 1,
|
|
999
999
|
class: "d-flex tablet-mobile-content"
|
|
1000
|
-
},
|
|
1000
|
+
}, Go = { class: "box col my-1" }, Ko = /* @__PURE__ */ ze(() => /* @__PURE__ */ e("div", { class: "tutorial-icon justify-center" }, [
|
|
1001
1001
|
/* @__PURE__ */ e("svg", {
|
|
1002
1002
|
width: "50.5",
|
|
1003
1003
|
height: "32.5",
|
|
@@ -1031,7 +1031,7 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
1031
1031
|
"stroke-linejoin": "round"
|
|
1032
1032
|
})
|
|
1033
1033
|
])
|
|
1034
|
-
], -1)),
|
|
1034
|
+
], -1)), Xo = { class: "text text-col text-center" }, ea = { class: "box col my-1" }, ta = /* @__PURE__ */ ze(() => /* @__PURE__ */ e("div", { class: "tutorial-icon justify-center" }, [
|
|
1035
1035
|
/* @__PURE__ */ e("svg", {
|
|
1036
1036
|
width: "49.5",
|
|
1037
1037
|
height: "32.5",
|
|
@@ -1165,7 +1165,7 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
1165
1165
|
"stroke-linejoin": "round"
|
|
1166
1166
|
})
|
|
1167
1167
|
])
|
|
1168
|
-
], -1)),
|
|
1168
|
+
], -1)), na = { class: "text text-col text-center" }, oa = { class: "box col my-1" }, aa = /* @__PURE__ */ ze(() => /* @__PURE__ */ e("div", { class: "tutorial-icon justify-center" }, [
|
|
1169
1169
|
/* @__PURE__ */ e("svg", {
|
|
1170
1170
|
width: "49.5",
|
|
1171
1171
|
height: "32.5",
|
|
@@ -1199,11 +1199,11 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
1199
1199
|
"stroke-linejoin": "round"
|
|
1200
1200
|
})
|
|
1201
1201
|
])
|
|
1202
|
-
], -1)),
|
|
1202
|
+
], -1)), la = { class: "text text-col text-center" }, sa = { class: "text-h6 text-capitalize" }, ia = { class: "mt-2" }, ra = { class: "d-flex justify-center align-center checkbox-container" }, ua = { class: "text-caption" }, ca = /* @__PURE__ */ W({
|
|
1203
1203
|
__name: "VTutorial",
|
|
1204
1204
|
emits: ["closeTutorial"],
|
|
1205
1205
|
setup(t, { emit: n }) {
|
|
1206
|
-
const o = n, l = Se(Ve), i = b(!1), a = b(!1), s =
|
|
1206
|
+
const o = n, l = Se(Ve), i = b(!1), a = b(!1), s = F(() => [
|
|
1207
1207
|
/Android/i,
|
|
1208
1208
|
/webOS/i,
|
|
1209
1209
|
/iPhone/i,
|
|
@@ -1211,23 +1211,23 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
1211
1211
|
/iPod/i,
|
|
1212
1212
|
/BlackBerry/i,
|
|
1213
1213
|
/Windows Phone/i
|
|
1214
|
-
].some((
|
|
1214
|
+
].some((y) => navigator.userAgent.match(y)));
|
|
1215
1215
|
function r() {
|
|
1216
1216
|
o("closeTutorial", i.value);
|
|
1217
1217
|
}
|
|
1218
|
-
return (h,
|
|
1219
|
-
const f =
|
|
1218
|
+
return (h, y) => {
|
|
1219
|
+
const f = I("v-icon"), _ = I("v-card-title"), S = I("v-btn"), O = I("v-divider"), C = I("v-card-text"), c = I("v-card-actions"), d = I("v-card"), w = I("v-expand-transition"), x = I("v-checkbox");
|
|
1220
1220
|
return u(), T(Fe, { name: "fade-transition" }, {
|
|
1221
|
-
default:
|
|
1222
|
-
|
|
1221
|
+
default: m(() => [
|
|
1222
|
+
g(d, {
|
|
1223
1223
|
class: "mx-auto",
|
|
1224
1224
|
elevation: "16"
|
|
1225
1225
|
}, {
|
|
1226
|
-
default:
|
|
1227
|
-
|
|
1228
|
-
default:
|
|
1229
|
-
|
|
1230
|
-
default:
|
|
1226
|
+
default: m(() => [
|
|
1227
|
+
g(_, { class: "text-capitalize" }, {
|
|
1228
|
+
default: m(() => [
|
|
1229
|
+
g(f, { size: "x-small" }, {
|
|
1230
|
+
default: m(() => [
|
|
1231
1231
|
ae("mdi-alert-outline")
|
|
1232
1232
|
]),
|
|
1233
1233
|
_: 1
|
|
@@ -1236,19 +1236,19 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
1236
1236
|
]),
|
|
1237
1237
|
_: 1
|
|
1238
1238
|
}),
|
|
1239
|
-
|
|
1240
|
-
default:
|
|
1239
|
+
g(C, { class: "pb-0" }, {
|
|
1240
|
+
default: m(() => [
|
|
1241
1241
|
e("p", null, H(p(l).getLabel("disclaimerTextShort")), 1),
|
|
1242
|
-
|
|
1242
|
+
g(S, {
|
|
1243
1243
|
variant: "tonal",
|
|
1244
1244
|
size: "small",
|
|
1245
|
-
onClick:
|
|
1245
|
+
onClick: y[0] || (y[0] = (E) => a.value = !0),
|
|
1246
1246
|
class: "text-capitalize mt-2"
|
|
1247
1247
|
}, {
|
|
1248
|
-
default:
|
|
1248
|
+
default: m(() => [
|
|
1249
1249
|
ae(H(p(l).getLabel("learnMore")) + " ", 1),
|
|
1250
|
-
|
|
1251
|
-
default:
|
|
1250
|
+
g(f, null, {
|
|
1251
|
+
default: m(() => [
|
|
1252
1252
|
ae("mdi-chevron-right")
|
|
1253
1253
|
]),
|
|
1254
1254
|
_: 1
|
|
@@ -1256,80 +1256,80 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
1256
1256
|
]),
|
|
1257
1257
|
_: 1
|
|
1258
1258
|
}),
|
|
1259
|
-
|
|
1260
|
-
s.value ?
|
|
1261
|
-
e("div",
|
|
1262
|
-
e("div",
|
|
1263
|
-
|
|
1264
|
-
e("div",
|
|
1259
|
+
g(O, { class: "my-3" }),
|
|
1260
|
+
s.value ? M("", !0) : (u(), L("div", Oo, [
|
|
1261
|
+
e("div", $o, [
|
|
1262
|
+
e("div", Ro, [
|
|
1263
|
+
Ho,
|
|
1264
|
+
e("div", Yo, H(p(l).getLabel("clickAndDragToLookAround")), 1)
|
|
1265
1265
|
]),
|
|
1266
|
-
e("div",
|
|
1267
|
-
|
|
1268
|
-
e("div",
|
|
1266
|
+
e("div", Uo, [
|
|
1267
|
+
zo,
|
|
1268
|
+
e("div", jo, H(p(l).getLabel("clickOnTheCirclesToMoveAround")), 1)
|
|
1269
1269
|
]),
|
|
1270
|
-
e("div",
|
|
1271
|
-
|
|
1272
|
-
e("div",
|
|
1270
|
+
e("div", Wo, [
|
|
1271
|
+
Po,
|
|
1272
|
+
e("div", Qo, H(p(l).getLabel("useTheMouseWheelToZoom")), 1)
|
|
1273
1273
|
]),
|
|
1274
|
-
e("div",
|
|
1275
|
-
|
|
1276
|
-
e("div",
|
|
1274
|
+
e("div", No, [
|
|
1275
|
+
Zo,
|
|
1276
|
+
e("div", qo, H(p(l).getLabel("youCanAlsoUseTheArrowKeysToMoveAround")), 1)
|
|
1277
1277
|
])
|
|
1278
1278
|
])
|
|
1279
1279
|
])),
|
|
1280
|
-
s.value ? (u(),
|
|
1281
|
-
e("div",
|
|
1282
|
-
|
|
1283
|
-
e("div",
|
|
1280
|
+
s.value ? (u(), L("div", Jo, [
|
|
1281
|
+
e("div", Go, [
|
|
1282
|
+
Ko,
|
|
1283
|
+
e("div", Xo, H(p(l).getLabel("tapAndDragToLookAround")), 1)
|
|
1284
1284
|
]),
|
|
1285
|
-
e("div",
|
|
1286
|
-
|
|
1287
|
-
e("div",
|
|
1285
|
+
e("div", ea, [
|
|
1286
|
+
ta,
|
|
1287
|
+
e("div", na, H(p(l).getLabel("tapOnTheCirclesToMoveAround")), 1)
|
|
1288
1288
|
]),
|
|
1289
|
-
e("div",
|
|
1290
|
-
|
|
1291
|
-
e("div",
|
|
1289
|
+
e("div", oa, [
|
|
1290
|
+
aa,
|
|
1291
|
+
e("div", la, H(p(l).getLabel("useTwoFingersToZoom")), 1)
|
|
1292
1292
|
])
|
|
1293
|
-
])) :
|
|
1294
|
-
|
|
1293
|
+
])) : M("", !0),
|
|
1294
|
+
g(O, { class: "my-1" })
|
|
1295
1295
|
]),
|
|
1296
1296
|
_: 1
|
|
1297
1297
|
}),
|
|
1298
|
-
|
|
1299
|
-
default:
|
|
1298
|
+
g(w, null, {
|
|
1299
|
+
default: m(() => [
|
|
1300
1300
|
a.value ? (u(), T(d, {
|
|
1301
1301
|
key: 0,
|
|
1302
1302
|
class: "position-absolute w-100 bg-white",
|
|
1303
1303
|
height: "100%",
|
|
1304
1304
|
style: { bottom: "0" }
|
|
1305
1305
|
}, {
|
|
1306
|
-
default:
|
|
1307
|
-
|
|
1308
|
-
default:
|
|
1309
|
-
e("p",
|
|
1310
|
-
|
|
1311
|
-
default:
|
|
1306
|
+
default: m(() => [
|
|
1307
|
+
g(C, { class: "pb-0" }, {
|
|
1308
|
+
default: m(() => [
|
|
1309
|
+
e("p", sa, [
|
|
1310
|
+
g(f, null, {
|
|
1311
|
+
default: m(() => [
|
|
1312
1312
|
ae("mdi-alert-outline")
|
|
1313
1313
|
]),
|
|
1314
1314
|
_: 1
|
|
1315
1315
|
}),
|
|
1316
1316
|
ae(" " + H(p(l).getLabel("disclaimer")), 1)
|
|
1317
1317
|
]),
|
|
1318
|
-
e("p",
|
|
1318
|
+
e("p", ia, H(p(l).getLabel("disclaimerText")), 1)
|
|
1319
1319
|
]),
|
|
1320
1320
|
_: 1
|
|
1321
1321
|
}),
|
|
1322
|
-
|
|
1323
|
-
default:
|
|
1324
|
-
|
|
1322
|
+
g(c, null, {
|
|
1323
|
+
default: m(() => [
|
|
1324
|
+
g(S, {
|
|
1325
1325
|
variant: "tonal",
|
|
1326
1326
|
size: "small",
|
|
1327
|
-
onClick:
|
|
1327
|
+
onClick: y[1] || (y[1] = (E) => a.value = !1),
|
|
1328
1328
|
class: "text-capitalize"
|
|
1329
1329
|
}, {
|
|
1330
|
-
default:
|
|
1331
|
-
|
|
1332
|
-
default:
|
|
1330
|
+
default: m(() => [
|
|
1331
|
+
g(f, null, {
|
|
1332
|
+
default: m(() => [
|
|
1333
1333
|
ae("mdi-chevron-left")
|
|
1334
1334
|
]),
|
|
1335
1335
|
_: 1
|
|
@@ -1343,31 +1343,31 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
1343
1343
|
})
|
|
1344
1344
|
]),
|
|
1345
1345
|
_: 1
|
|
1346
|
-
})) :
|
|
1346
|
+
})) : M("", !0)
|
|
1347
1347
|
]),
|
|
1348
1348
|
_: 1
|
|
1349
1349
|
}),
|
|
1350
|
-
e("div",
|
|
1351
|
-
|
|
1350
|
+
e("div", ra, [
|
|
1351
|
+
g(x, {
|
|
1352
1352
|
density: "compact",
|
|
1353
1353
|
modelValue: i.value,
|
|
1354
|
-
"onUpdate:modelValue":
|
|
1354
|
+
"onUpdate:modelValue": y[2] || (y[2] = (E) => i.value = E),
|
|
1355
1355
|
"hide-details": ""
|
|
1356
1356
|
}, {
|
|
1357
|
-
label:
|
|
1358
|
-
e("span",
|
|
1357
|
+
label: m(() => [
|
|
1358
|
+
e("span", ua, H(p(l).getLabel("dontShowAgain")), 1)
|
|
1359
1359
|
]),
|
|
1360
1360
|
_: 1
|
|
1361
1361
|
}, 8, ["modelValue"])
|
|
1362
1362
|
]),
|
|
1363
|
-
|
|
1364
|
-
default:
|
|
1365
|
-
|
|
1363
|
+
g(c, null, {
|
|
1364
|
+
default: m(() => [
|
|
1365
|
+
g(S, {
|
|
1366
1366
|
variant: "tonal",
|
|
1367
|
-
onClick:
|
|
1367
|
+
onClick: y[3] || (y[3] = (E) => r()),
|
|
1368
1368
|
block: ""
|
|
1369
1369
|
}, {
|
|
1370
|
-
default:
|
|
1370
|
+
default: m(() => [
|
|
1371
1371
|
ae(H(p(l).getLabel("iUnderstand")), 1)
|
|
1372
1372
|
]),
|
|
1373
1373
|
_: 1
|
|
@@ -1383,17 +1383,17 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
1383
1383
|
});
|
|
1384
1384
|
};
|
|
1385
1385
|
}
|
|
1386
|
-
}),
|
|
1386
|
+
}), da = /* @__PURE__ */ X(ca, [["__scopeId", "data-v-627f8ee6"]]), va = (t) => (mt("data-v-bd4f66c3"), t = t(), pt(), t), ma = { class: "player-settings-ui" }, pa = { id: "settings-ui-form" }, fa = { class: "form-inputs" }, ha = { class: "setting-label" }, ga = { class: "setting-label" }, ya = ["max", "min", "step"], _a = { class: "setting-label" }, ba = { class: "flex-grow-1 flex-shrink-0" }, wa = ["onUpdate:modelValue"], ka = {
|
|
1387
1387
|
key: 3,
|
|
1388
1388
|
"d-block": "",
|
|
1389
1389
|
class: "mt-3"
|
|
1390
|
-
},
|
|
1390
|
+
}, Ca = { class: "d-flex justify-space-between" }, Sa = { class: "setting-label" }, Aa = {
|
|
1391
1391
|
class: "mt-5 d-block",
|
|
1392
1392
|
style: { width: "300px" }
|
|
1393
|
-
},
|
|
1393
|
+
}, xa = /* @__PURE__ */ va(() => /* @__PURE__ */ e("div", { class: "setting-label" }, "Enter Lut URL:", -1)), La = {
|
|
1394
1394
|
class: "d-block",
|
|
1395
1395
|
style: { width: "300px" }
|
|
1396
|
-
},
|
|
1396
|
+
}, Ia = { class: "form-buttons" }, Ea = /* @__PURE__ */ W({
|
|
1397
1397
|
__name: "VPlayerSettingsUi",
|
|
1398
1398
|
props: {
|
|
1399
1399
|
initialSettings: {}
|
|
@@ -1410,7 +1410,7 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
1410
1410
|
},
|
|
1411
1411
|
{ deep: !0 }
|
|
1412
1412
|
);
|
|
1413
|
-
const a =
|
|
1413
|
+
const a = F(() => {
|
|
1414
1414
|
let C = {};
|
|
1415
1415
|
for (const [c, d] of Object.entries(i.value))
|
|
1416
1416
|
c === "whitePoint" ? C[c] = f(d.value) : C[c] = d.value;
|
|
@@ -1430,7 +1430,7 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
1430
1430
|
function h() {
|
|
1431
1431
|
l("saveSettings", a.value);
|
|
1432
1432
|
}
|
|
1433
|
-
function
|
|
1433
|
+
function y() {
|
|
1434
1434
|
i.value = O(), l("updateSettings", a.value);
|
|
1435
1435
|
}
|
|
1436
1436
|
function f(C) {
|
|
@@ -1541,78 +1541,78 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
1541
1541
|
};
|
|
1542
1542
|
}
|
|
1543
1543
|
return (C, c) => {
|
|
1544
|
-
const d =
|
|
1545
|
-
return u(),
|
|
1546
|
-
e("form",
|
|
1547
|
-
e("div",
|
|
1548
|
-
(u(!0),
|
|
1544
|
+
const d = I("v-text-field"), w = I("v-slider"), x = I("v-checkbox"), E = I("v-btn"), R = I("v-select"), q = I("v-icon");
|
|
1545
|
+
return u(), L("div", ma, [
|
|
1546
|
+
e("form", pa, [
|
|
1547
|
+
e("div", fa, [
|
|
1548
|
+
(u(!0), L(we, null, Ee(i.value, (V, J, be) => (u(), L("div", {
|
|
1549
1549
|
key: be,
|
|
1550
1550
|
"d-block": ""
|
|
1551
1551
|
}, [
|
|
1552
|
-
|
|
1552
|
+
V.type === "slider" ? (u(), T(w, {
|
|
1553
1553
|
key: 0,
|
|
1554
1554
|
modelValue: i.value[J].value,
|
|
1555
1555
|
"onUpdate:modelValue": (ee) => i.value[J].value = ee,
|
|
1556
1556
|
onChange: s,
|
|
1557
|
-
max:
|
|
1558
|
-
min:
|
|
1559
|
-
step:
|
|
1557
|
+
max: V.max,
|
|
1558
|
+
min: V.min,
|
|
1559
|
+
step: V.step
|
|
1560
1560
|
}, {
|
|
1561
|
-
prepend:
|
|
1562
|
-
e("div",
|
|
1561
|
+
prepend: m(() => [
|
|
1562
|
+
e("div", ha, H(V.label), 1)
|
|
1563
1563
|
]),
|
|
1564
|
-
append:
|
|
1564
|
+
append: m(() => [
|
|
1565
1565
|
e("div", null, [
|
|
1566
|
-
|
|
1566
|
+
g(d, {
|
|
1567
1567
|
modelValue: i.value[J].value,
|
|
1568
1568
|
"onUpdate:modelValue": (ee) => i.value[J].value = ee,
|
|
1569
1569
|
"hide-details": "",
|
|
1570
1570
|
dense: "",
|
|
1571
1571
|
outlined: "",
|
|
1572
1572
|
type: "number",
|
|
1573
|
-
max:
|
|
1574
|
-
min:
|
|
1575
|
-
step:
|
|
1573
|
+
max: V.max,
|
|
1574
|
+
min: V.min,
|
|
1575
|
+
step: V.step,
|
|
1576
1576
|
style: { width: "90px" },
|
|
1577
1577
|
onChange: s
|
|
1578
1578
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "max", "min", "step"])
|
|
1579
1579
|
])
|
|
1580
1580
|
]),
|
|
1581
1581
|
_: 2
|
|
1582
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "max", "min", "step"])) :
|
|
1583
|
-
|
|
1582
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "max", "min", "step"])) : M("", !0),
|
|
1583
|
+
V.type === "boolean" ? (u(), T(x, {
|
|
1584
1584
|
key: 1,
|
|
1585
1585
|
modelValue: i.value[J].value,
|
|
1586
1586
|
"onUpdate:modelValue": (ee) => i.value[J].value = ee,
|
|
1587
1587
|
onChange: s
|
|
1588
1588
|
}, {
|
|
1589
|
-
prepend:
|
|
1590
|
-
e("div",
|
|
1589
|
+
prepend: m(() => [
|
|
1590
|
+
e("div", ga, H(V.label), 1)
|
|
1591
1591
|
]),
|
|
1592
|
-
append:
|
|
1593
|
-
e("div", null, H(
|
|
1592
|
+
append: m(() => [
|
|
1593
|
+
e("div", null, H(V.value), 1)
|
|
1594
1594
|
]),
|
|
1595
1595
|
_: 2
|
|
1596
|
-
}, 1032, ["modelValue", "onUpdate:modelValue"])) :
|
|
1597
|
-
|
|
1596
|
+
}, 1032, ["modelValue", "onUpdate:modelValue"])) : M("", !0),
|
|
1597
|
+
V.type === "color" ? (u(), L("div", {
|
|
1598
1598
|
key: 2,
|
|
1599
1599
|
class: "d-flex",
|
|
1600
|
-
max:
|
|
1601
|
-
min:
|
|
1602
|
-
step:
|
|
1600
|
+
max: V.max,
|
|
1601
|
+
min: V.min,
|
|
1602
|
+
step: V.step
|
|
1603
1603
|
}, [
|
|
1604
|
-
e("div",
|
|
1605
|
-
e("div",
|
|
1604
|
+
e("div", _a, H(V.label), 1),
|
|
1605
|
+
e("div", ba, [
|
|
1606
1606
|
Ke(e("input", {
|
|
1607
1607
|
"onUpdate:modelValue": (ee) => i.value[J].value = ee,
|
|
1608
1608
|
type: "color",
|
|
1609
1609
|
onChange: s
|
|
1610
|
-
}, null, 40,
|
|
1611
|
-
[
|
|
1610
|
+
}, null, 40, wa), [
|
|
1611
|
+
[kn, i.value[J].value]
|
|
1612
1612
|
])
|
|
1613
1613
|
]),
|
|
1614
1614
|
e("div", null, [
|
|
1615
|
-
|
|
1615
|
+
g(d, {
|
|
1616
1616
|
modelValue: i.value[J].value,
|
|
1617
1617
|
"onUpdate:modelValue": (ee) => i.value[J].value = ee,
|
|
1618
1618
|
"hide-details": "",
|
|
@@ -1624,17 +1624,17 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
1624
1624
|
onChange: s
|
|
1625
1625
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
1626
1626
|
])
|
|
1627
|
-
], 8,
|
|
1628
|
-
|
|
1629
|
-
e("div",
|
|
1630
|
-
e("div",
|
|
1627
|
+
], 8, ya)) : M("", !0),
|
|
1628
|
+
V.type === "lut" ? (u(), L("div", ka, [
|
|
1629
|
+
e("div", Ca, [
|
|
1630
|
+
e("div", Sa, H(V.label), 1),
|
|
1631
1631
|
e("div", null, [
|
|
1632
|
-
|
|
1632
|
+
g(E, {
|
|
1633
1633
|
class: "ml-2",
|
|
1634
1634
|
"x-small": "",
|
|
1635
1635
|
onClick: (ee) => i.value[J].value = null
|
|
1636
1636
|
}, {
|
|
1637
|
-
default:
|
|
1637
|
+
default: m(() => [
|
|
1638
1638
|
ae(" Clear Lut ")
|
|
1639
1639
|
]),
|
|
1640
1640
|
_: 2
|
|
@@ -1642,12 +1642,12 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
1642
1642
|
])
|
|
1643
1643
|
]),
|
|
1644
1644
|
e("div", null, [
|
|
1645
|
-
e("div",
|
|
1645
|
+
e("div", Aa, [
|
|
1646
1646
|
e("div", null, [
|
|
1647
|
-
|
|
1647
|
+
g(R, {
|
|
1648
1648
|
modelValue: i.value[J].value,
|
|
1649
1649
|
"onUpdate:modelValue": (ee) => i.value[J].value = ee,
|
|
1650
|
-
items:
|
|
1650
|
+
items: V.items,
|
|
1651
1651
|
"item-title": "title",
|
|
1652
1652
|
"item-value": "value",
|
|
1653
1653
|
dense: "",
|
|
@@ -1657,10 +1657,10 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
1657
1657
|
])
|
|
1658
1658
|
]),
|
|
1659
1659
|
e("div", null, [
|
|
1660
|
-
|
|
1661
|
-
e("div",
|
|
1660
|
+
xa,
|
|
1661
|
+
e("div", La, [
|
|
1662
1662
|
e("div", null, [
|
|
1663
|
-
|
|
1663
|
+
g(d, {
|
|
1664
1664
|
modelValue: i.value[J].value,
|
|
1665
1665
|
"onUpdate:modelValue": (ee) => i.value[J].value = ee,
|
|
1666
1666
|
"hide-details": "",
|
|
@@ -1672,26 +1672,26 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
1672
1672
|
])
|
|
1673
1673
|
])
|
|
1674
1674
|
])
|
|
1675
|
-
])) :
|
|
1675
|
+
])) : M("", !0)
|
|
1676
1676
|
]))), 128))
|
|
1677
1677
|
]),
|
|
1678
|
-
e("div",
|
|
1679
|
-
|
|
1680
|
-
onClick: c[0] || (c[0] = (
|
|
1678
|
+
e("div", Ia, [
|
|
1679
|
+
g(E, {
|
|
1680
|
+
onClick: c[0] || (c[0] = (V) => y())
|
|
1681
1681
|
}, {
|
|
1682
|
-
default:
|
|
1682
|
+
default: m(() => [
|
|
1683
1683
|
ae("Reset")
|
|
1684
1684
|
]),
|
|
1685
1685
|
_: 1
|
|
1686
1686
|
}),
|
|
1687
|
-
|
|
1687
|
+
g(E, {
|
|
1688
1688
|
class: "ml-2",
|
|
1689
|
-
onClick: c[1] || (c[1] = (
|
|
1689
|
+
onClick: c[1] || (c[1] = (V) => r())
|
|
1690
1690
|
}, {
|
|
1691
|
-
default:
|
|
1691
|
+
default: m(() => [
|
|
1692
1692
|
ae(" Download Json "),
|
|
1693
|
-
|
|
1694
|
-
default:
|
|
1693
|
+
g(q, { color: "black darken-1" }, {
|
|
1694
|
+
default: m(() => [
|
|
1695
1695
|
ae("mdi-download")
|
|
1696
1696
|
]),
|
|
1697
1697
|
_: 1
|
|
@@ -1699,14 +1699,14 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
1699
1699
|
]),
|
|
1700
1700
|
_: 1
|
|
1701
1701
|
}),
|
|
1702
|
-
|
|
1702
|
+
g(E, {
|
|
1703
1703
|
class: "ml-2",
|
|
1704
|
-
onClick: c[2] || (c[2] = (
|
|
1704
|
+
onClick: c[2] || (c[2] = (V) => h())
|
|
1705
1705
|
}, {
|
|
1706
|
-
default:
|
|
1706
|
+
default: m(() => [
|
|
1707
1707
|
ae(" Save Settings "),
|
|
1708
|
-
|
|
1709
|
-
default:
|
|
1708
|
+
g(q, { color: "black darken-1" }, {
|
|
1709
|
+
default: m(() => [
|
|
1710
1710
|
ae("mdi-save")
|
|
1711
1711
|
]),
|
|
1712
1712
|
_: 1
|
|
@@ -1719,10 +1719,10 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
1719
1719
|
]);
|
|
1720
1720
|
};
|
|
1721
1721
|
}
|
|
1722
|
-
}),
|
|
1722
|
+
}), Ma = /* @__PURE__ */ X(Ea, [["__scopeId", "data-v-bd4f66c3"]]), Fa = { class: "top-left" }, Va = { class: "top-right" }, Da = { class: "header-slot anchor elevation-5" }, Ba = {
|
|
1723
1723
|
id: "moveableBody",
|
|
1724
1724
|
class: "body-slot moveable-body anchor d-flex justify-center align-center position-relative"
|
|
1725
|
-
},
|
|
1725
|
+
}, Ta = { class: "moveable-footer elevation-5" }, Oa = /* @__PURE__ */ W({
|
|
1726
1726
|
__name: "VMoveable",
|
|
1727
1727
|
props: {
|
|
1728
1728
|
size: {}
|
|
@@ -1746,7 +1746,7 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
1746
1746
|
const d = r[c];
|
|
1747
1747
|
d.addEventListener("touchstart", S, { passive: !1 }), d.addEventListener("touchend", C, { passive: !1 }), d.addEventListener("mousedown", S, { passive: !1 }), d.addEventListener("mouseup", C, { passive: !1 });
|
|
1748
1748
|
}
|
|
1749
|
-
let h = 0,
|
|
1749
|
+
let h = 0, y = 0, f = 0, _ = 0;
|
|
1750
1750
|
function S(c) {
|
|
1751
1751
|
c = c || window.event, c.preventDefault();
|
|
1752
1752
|
let d = c;
|
|
@@ -1755,54 +1755,54 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
1755
1755
|
function O(c) {
|
|
1756
1756
|
c = c || window.event, c.preventDefault();
|
|
1757
1757
|
let d = c;
|
|
1758
|
-
c.type === "touchmove" && (d = c.touches[0]), h = f - d.clientX,
|
|
1758
|
+
c.type === "touchmove" && (d = c.touches[0]), h = f - d.clientX, y = _ - d.clientY, f = d.clientX, _ = d.clientY, s.style.top = s.offsetTop - y + "px", s.style.left = s.offsetLeft - h + "px";
|
|
1759
1759
|
}
|
|
1760
1760
|
function C() {
|
|
1761
1761
|
document.removeEventListener("mouseup", C, !1), document.removeEventListener("mousemove", O, !1), document.removeEventListener("touchend", C, !1), document.removeEventListener("touchmove", O, !1);
|
|
1762
1762
|
}
|
|
1763
1763
|
};
|
|
1764
|
-
return (s, r) => (u(),
|
|
1764
|
+
return (s, r) => (u(), L("div", {
|
|
1765
1765
|
id: "moveableDiv",
|
|
1766
1766
|
class: ce([s.size, "sizer rounded"])
|
|
1767
1767
|
}, [
|
|
1768
|
-
e("div",
|
|
1768
|
+
e("div", Fa, [
|
|
1769
1769
|
K(s.$slots, "top-left", {}, void 0, !0)
|
|
1770
1770
|
]),
|
|
1771
|
-
e("div",
|
|
1771
|
+
e("div", Va, [
|
|
1772
1772
|
K(s.$slots, "top-right", {}, void 0, !0)
|
|
1773
1773
|
]),
|
|
1774
|
-
e("div",
|
|
1774
|
+
e("div", Da, [
|
|
1775
1775
|
K(s.$slots, "header", {}, void 0, !0)
|
|
1776
1776
|
]),
|
|
1777
|
-
e("div",
|
|
1777
|
+
e("div", Ba, [
|
|
1778
1778
|
K(s.$slots, "body", {}, void 0, !0)
|
|
1779
1779
|
]),
|
|
1780
|
-
e("div",
|
|
1780
|
+
e("div", Ta, [
|
|
1781
1781
|
K(s.$slots, "footer", {}, void 0, !0)
|
|
1782
1782
|
])
|
|
1783
1783
|
], 2));
|
|
1784
1784
|
}
|
|
1785
|
-
}),
|
|
1785
|
+
}), $a = /* @__PURE__ */ X(Oa, [["__scopeId", "data-v-1a87ee81"]]), Ra = {
|
|
1786
1786
|
class: "rotation-marker-svg",
|
|
1787
1787
|
viewBox: "0 0 40 40",
|
|
1788
1788
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1789
|
-
},
|
|
1790
|
-
|
|
1791
|
-
],
|
|
1789
|
+
}, Ha = /* @__PURE__ */ Ht('<defs><radialGradient id="Gradient" cx="0" cy="0" r="0.9" fx="0" fy="0"><stop offset="0%" class="stop1"></stop><stop offset="60%" class="stop2"></stop><stop offset="90%" class="stop3"></stop></radialGradient><linearGradient id="LineGradient" gradientTransform="rotate(90)"><stop offset="0%" class="stop1"></stop><stop offset="75%" class="stop2"></stop><stop offset="100%" class="stop3"></stop></linearGradient></defs>', 1), Ya = ["transform"], Ua = /* @__PURE__ */ Ht('<rect id="field-of-view-gradient" x="20" y="20" width="38" height="38" transform="rotate(0)" transform-origin="20 20" fill="url(#Gradient)"></rect><rect class="field-of-view-border" x="20" y="20" width="1" height="25" fill="url(#LineGradient)" transform="rotate(0)" transform-origin="20 20"></rect><rect class="field-of-view-border" x="19" y="19" width="1" height="25" fill="url(#LineGradient)" transform="rotate(-90)" transform-origin="20 20"></rect><circle cx="20" cy="20" r="5" fill="white"></circle><circle cx="20" cy="20" r="3" fill="red"></circle>', 5), za = [
|
|
1790
|
+
Ua
|
|
1791
|
+
], ja = /* @__PURE__ */ W({
|
|
1792
1792
|
__name: "VRotationMarker",
|
|
1793
1793
|
props: {
|
|
1794
1794
|
rotation: {}
|
|
1795
1795
|
},
|
|
1796
1796
|
setup(t) {
|
|
1797
|
-
return (n, o) => (u(),
|
|
1798
|
-
|
|
1797
|
+
return (n, o) => (u(), L("svg", Ra, [
|
|
1798
|
+
Ha,
|
|
1799
1799
|
e("g", {
|
|
1800
1800
|
"transform-origin": "20 20",
|
|
1801
1801
|
transform: `rotate(${45 + n.rotation})`
|
|
1802
|
-
},
|
|
1802
|
+
}, za, 8, Ya)
|
|
1803
1803
|
]));
|
|
1804
1804
|
}
|
|
1805
|
-
}),
|
|
1805
|
+
}), Wa = { class: "minimap-wrapper" }, Pa = { class: "minimap-container" }, Qa = /* @__PURE__ */ W({
|
|
1806
1806
|
__name: "VMiniMapMap",
|
|
1807
1807
|
props: {
|
|
1808
1808
|
backgroundImage: {},
|
|
@@ -1816,43 +1816,43 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
1816
1816
|
fit: { type: Boolean }
|
|
1817
1817
|
},
|
|
1818
1818
|
setup(t) {
|
|
1819
|
-
const n = t, o = b(512), l = b(384), i = b(512), a = b(384), s = b(new Je()), r = b(new
|
|
1819
|
+
const n = t, o = b(512), l = b(384), i = b(512), a = b(384), s = b(new Je()), r = b(new En()), h = b({}), y = b(1), f = b(), _ = o.value / o.value, S = F(() => {
|
|
1820
1820
|
const U = n.containerWidth / n.containerHeight;
|
|
1821
|
-
let
|
|
1822
|
-
return U > _ ?
|
|
1823
|
-
}), O =
|
|
1821
|
+
let D;
|
|
1822
|
+
return U > _ ? D = n.containerHeight / l.value : D = n.containerWidth / o.value, D;
|
|
1823
|
+
}), O = F(() => n.allCameras), C = F(() => n.allCameras.find((U) => U.id === n.currentCamera)), c = F(() => n.rotation), d = F(() => new Je(
|
|
1824
1824
|
n.storey.position.x,
|
|
1825
1825
|
n.storey.position.y,
|
|
1826
1826
|
n.storey.position.z
|
|
1827
|
-
)), w =
|
|
1828
|
-
const
|
|
1829
|
-
Number(
|
|
1827
|
+
)), w = F(() => parseFloat(C.value.floor_vertical_position)), x = F(() => O.value.map((U) => {
|
|
1828
|
+
const D = U.uposition.split(","), z = new Je(
|
|
1829
|
+
Number(D[0]) - d.value.x,
|
|
1830
1830
|
0,
|
|
1831
|
-
Number(
|
|
1831
|
+
Number(D[2]) - d.value.z
|
|
1832
1832
|
);
|
|
1833
1833
|
return {
|
|
1834
1834
|
...U,
|
|
1835
1835
|
...be(s.value, z)
|
|
1836
1836
|
};
|
|
1837
|
-
})), E =
|
|
1837
|
+
})), E = F(() => ({
|
|
1838
1838
|
backgroundImage: `url(${n.backgroundImage})`,
|
|
1839
1839
|
backgroundSize: "contain"
|
|
1840
|
-
})), R =
|
|
1840
|
+
})), R = F(() => ({
|
|
1841
1841
|
transform: `scale(${n.fit ? 1 : S.value * 0.75}) rotate(${n.transformAngle}deg)`
|
|
1842
1842
|
}));
|
|
1843
1843
|
Re(() => {
|
|
1844
|
-
ee(),
|
|
1844
|
+
ee(), V(), Ae();
|
|
1845
1845
|
const U = document.getElementById("moveableDiv");
|
|
1846
1846
|
U && (f.value = new ResizeObserver(Ae).observe(U));
|
|
1847
|
-
}),
|
|
1848
|
-
ee(),
|
|
1847
|
+
}), Cn(() => {
|
|
1848
|
+
ee(), V();
|
|
1849
1849
|
}), et(() => {
|
|
1850
1850
|
f.value && f.value.unobserve(document.getElementById("moveableDiv"));
|
|
1851
1851
|
});
|
|
1852
1852
|
function q(U) {
|
|
1853
|
-
return
|
|
1853
|
+
return Mn.degToRad(U);
|
|
1854
1854
|
}
|
|
1855
|
-
function
|
|
1855
|
+
function V() {
|
|
1856
1856
|
r.value.rotation.x = 180, r.value.rotation.y = n.storey.rotation.y * -1, h.value = {
|
|
1857
1857
|
transform: `rotateZ(${r.value.rotation.y}deg) rotateX(${r.value.rotation.x}deg)`
|
|
1858
1858
|
};
|
|
@@ -1863,9 +1863,9 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
1863
1863
|
left: `${Math.abs(U.left)}%`
|
|
1864
1864
|
};
|
|
1865
1865
|
}
|
|
1866
|
-
function be(U,
|
|
1866
|
+
function be(U, D) {
|
|
1867
1867
|
var z = new Je();
|
|
1868
|
-
const ve = z.subVectors(U,
|
|
1868
|
+
const ve = z.subVectors(U, D);
|
|
1869
1869
|
return {
|
|
1870
1870
|
relativePosition: ve,
|
|
1871
1871
|
left: ve.x / i.value * 100,
|
|
@@ -1875,18 +1875,18 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
1875
1875
|
function ee() {
|
|
1876
1876
|
const U = n.storey.position.y - w.value;
|
|
1877
1877
|
a.value = 2 * (U * Math.tan(q(n.storey.fovY / 2))), i.value = 512 / 384 * a.value;
|
|
1878
|
-
const
|
|
1878
|
+
const D = a.value / 2, z = i.value / 2, ve = new Je(z * -1, 0, D * -1);
|
|
1879
1879
|
s.value = ve;
|
|
1880
1880
|
}
|
|
1881
1881
|
function Ae() {
|
|
1882
1882
|
const U = document.getElementById("moveableDiv");
|
|
1883
1883
|
if (!U)
|
|
1884
1884
|
return;
|
|
1885
|
-
const
|
|
1886
|
-
U.offsetHeight > U.offsetWidth ?
|
|
1885
|
+
const D = U.offsetHeight / 384 * 0.8, z = U.offsetWidth / 512 * 0.8;
|
|
1886
|
+
U.offsetHeight > U.offsetWidth ? y.value = z * 0.5 : y.value = D * 0.9;
|
|
1887
1887
|
}
|
|
1888
|
-
return (U,
|
|
1889
|
-
e("div",
|
|
1888
|
+
return (U, D) => (u(), L("div", Wa, [
|
|
1889
|
+
e("div", Pa, [
|
|
1890
1890
|
e("div", {
|
|
1891
1891
|
class: "web-minimap",
|
|
1892
1892
|
style: ne(R.value)
|
|
@@ -1899,14 +1899,14 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
1899
1899
|
class: "center-pivot",
|
|
1900
1900
|
style: ne(h.value)
|
|
1901
1901
|
}, [
|
|
1902
|
-
(u(!0),
|
|
1902
|
+
(u(!0), L(we, null, Ee(x.value, (z) => (u(), L("div", {
|
|
1903
1903
|
key: z.id
|
|
1904
1904
|
}, [
|
|
1905
|
-
C.value.floorLevel === z.floorLevel ? (u(),
|
|
1905
|
+
C.value.floorLevel === z.floorLevel ? (u(), L("div", {
|
|
1906
1906
|
key: 0,
|
|
1907
1907
|
class: "single-camera-marker",
|
|
1908
1908
|
style: ne(J(z))
|
|
1909
|
-
}, null, 4)) :
|
|
1909
|
+
}, null, 4)) : M("", !0),
|
|
1910
1910
|
K(U.$slots, "default", {
|
|
1911
1911
|
id: z.id,
|
|
1912
1912
|
camera: z,
|
|
@@ -1917,12 +1917,12 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
1917
1917
|
zIndex: "3"
|
|
1918
1918
|
})
|
|
1919
1919
|
}, () => [
|
|
1920
|
-
C.value.id === z.id && n.rotation !== null ? (u(), T(
|
|
1920
|
+
C.value.id === z.id && n.rotation !== null ? (u(), T(ja, {
|
|
1921
1921
|
key: 0,
|
|
1922
1922
|
class: "rotation-marker-component-base rotation-marker-component",
|
|
1923
1923
|
rotation: c.value,
|
|
1924
1924
|
style: ne({ ...J(z) })
|
|
1925
|
-
}, null, 8, ["rotation", "style"])) :
|
|
1925
|
+
}, null, 8, ["rotation", "style"])) : M("", !0)
|
|
1926
1926
|
], !0)
|
|
1927
1927
|
]))), 128))
|
|
1928
1928
|
], 4)
|
|
@@ -1930,7 +1930,7 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
1930
1930
|
])
|
|
1931
1931
|
]));
|
|
1932
1932
|
}
|
|
1933
|
-
}),
|
|
1933
|
+
}), Ut = /* @__PURE__ */ X(Qa, [["__scopeId", "data-v-5cdee9d5"]]), Na = /* @__PURE__ */ W({
|
|
1934
1934
|
__name: "VMiniMapCompass",
|
|
1935
1935
|
props: {
|
|
1936
1936
|
scale: {},
|
|
@@ -1938,21 +1938,21 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
1938
1938
|
transformAngle: {}
|
|
1939
1939
|
},
|
|
1940
1940
|
setup(t) {
|
|
1941
|
-
const n = t, o =
|
|
1942
|
-
return (l, i) => (u(),
|
|
1941
|
+
const n = t, o = F(() => n.rotation + n.transformAngle - 90);
|
|
1942
|
+
return (l, i) => (u(), L("div", {
|
|
1943
1943
|
class: "minimap-compass elevation-5",
|
|
1944
1944
|
style: ne({ scale: l.scale })
|
|
1945
1945
|
}, [
|
|
1946
|
-
|
|
1946
|
+
g(Yt, {
|
|
1947
1947
|
class: "north-indicator",
|
|
1948
1948
|
longitude: o.value
|
|
1949
1949
|
}, null, 8, ["longitude"])
|
|
1950
1950
|
], 4));
|
|
1951
1951
|
}
|
|
1952
|
-
}),
|
|
1952
|
+
}), zt = /* @__PURE__ */ X(Na, [["__scopeId", "data-v-d047dca8"]]), Za = { class: "ss-wrapper" }, qa = { class: "slider" }, Ja = { class: "minimap-sun-slider" }, Ga = { class: "d-flex flex-column align-center justify-center" }, Ka = {
|
|
1953
1953
|
key: 0,
|
|
1954
1954
|
class: "time-label"
|
|
1955
|
-
},
|
|
1955
|
+
}, Xa = /* @__PURE__ */ W({
|
|
1956
1956
|
__name: "VSunSimulationSlider",
|
|
1957
1957
|
props: {
|
|
1958
1958
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -1962,16 +1962,16 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
1962
1962
|
},
|
|
1963
1963
|
emits: ["setBackgroundImage"],
|
|
1964
1964
|
setup(t, { emit: n }) {
|
|
1965
|
-
const o = t, l = n, i = b((/* @__PURE__ */ new Date()).getHours()), a = b(!0), s = b(!0), r = b(""), h = b(/* @__PURE__ */ new Map()),
|
|
1966
|
-
if (
|
|
1967
|
-
const w =
|
|
1965
|
+
const o = t, l = n, i = b((/* @__PURE__ */ new Date()).getHours()), a = b(!0), s = b(!0), r = b(""), h = b(/* @__PURE__ */ new Map()), y = F(() => o.minimapJson.storeys[o.level]), f = F(() => `${Math.floor(i.value).toString().padStart(2, "0")}:00`), _ = F(() => {
|
|
1966
|
+
if (y.value.sunsimFilesTimeStamps[i.value]) {
|
|
1967
|
+
const w = y.value.sunsimFilesTimeStamps[i.value].split(" ");
|
|
1968
1968
|
return `${w[0]} ${w[1]}`;
|
|
1969
1969
|
}
|
|
1970
1970
|
return "";
|
|
1971
1971
|
});
|
|
1972
1972
|
Re(async () => {
|
|
1973
1973
|
r.value = await C(
|
|
1974
|
-
|
|
1974
|
+
y.value.sunsimFiles[i.value]
|
|
1975
1975
|
), l("setBackgroundImage", r.value), s.value = !1;
|
|
1976
1976
|
const w = await O(o.minimapJson.storeys);
|
|
1977
1977
|
h.value = w, a.value = !1, l("setBackgroundImage", S(o.level, i.value));
|
|
@@ -1993,9 +1993,9 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
1993
1993
|
for (let E = 0; E < w.length; E++) {
|
|
1994
1994
|
const R = w[E].sunsimFiles;
|
|
1995
1995
|
for (let q = 0; q < R.length; q++) {
|
|
1996
|
-
const
|
|
1996
|
+
const V = R[q];
|
|
1997
1997
|
try {
|
|
1998
|
-
const J =
|
|
1998
|
+
const J = V, be = V.split("."), ee = await C(J);
|
|
1999
1999
|
x.set(be[0], ee);
|
|
2000
2000
|
} catch {
|
|
2001
2001
|
continue;
|
|
@@ -2026,10 +2026,10 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
2026
2026
|
});
|
|
2027
2027
|
}
|
|
2028
2028
|
return (w, x) => {
|
|
2029
|
-
const E =
|
|
2030
|
-
return u(),
|
|
2031
|
-
e("div",
|
|
2032
|
-
e("div",
|
|
2029
|
+
const E = I("v-progress-linear"), R = I("v-icon"), q = I("v-slider");
|
|
2030
|
+
return u(), L("div", Za, [
|
|
2031
|
+
e("div", qa, [
|
|
2032
|
+
e("div", Ja, [
|
|
2033
2033
|
a.value ? (u(), T(E, {
|
|
2034
2034
|
key: 0,
|
|
2035
2035
|
indeterminate: "",
|
|
@@ -2040,7 +2040,7 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
2040
2040
|
})) : (u(), T(q, {
|
|
2041
2041
|
key: 1,
|
|
2042
2042
|
modelValue: i.value,
|
|
2043
|
-
"onUpdate:modelValue": x[0] || (x[0] = (
|
|
2043
|
+
"onUpdate:modelValue": x[0] || (x[0] = (V) => i.value = V),
|
|
2044
2044
|
min: 0,
|
|
2045
2045
|
max: 23,
|
|
2046
2046
|
step: 1,
|
|
@@ -2050,10 +2050,10 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
2050
2050
|
"hide-details": !0,
|
|
2051
2051
|
"thumb-label": "always"
|
|
2052
2052
|
}, {
|
|
2053
|
-
prepend:
|
|
2054
|
-
e("div",
|
|
2055
|
-
|
|
2056
|
-
default:
|
|
2053
|
+
prepend: m(() => [
|
|
2054
|
+
e("div", Ga, [
|
|
2055
|
+
g(R, { color: "#ffab02" }, {
|
|
2056
|
+
default: m(() => [
|
|
2057
2057
|
ae("mdi-white-balance-sunny")
|
|
2058
2058
|
]),
|
|
2059
2059
|
_: 1
|
|
@@ -2061,20 +2061,20 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
2061
2061
|
e("span", null, H(_.value), 1)
|
|
2062
2062
|
])
|
|
2063
2063
|
]),
|
|
2064
|
-
"thumb-label":
|
|
2064
|
+
"thumb-label": m(() => [
|
|
2065
2065
|
ae(H(f.value), 1)
|
|
2066
2066
|
]),
|
|
2067
2067
|
_: 1
|
|
2068
2068
|
}, 8, ["modelValue"]))
|
|
2069
2069
|
]),
|
|
2070
|
-
a.value ?
|
|
2070
|
+
a.value ? M("", !0) : (u(), L("div", Ka))
|
|
2071
2071
|
])
|
|
2072
2072
|
]);
|
|
2073
2073
|
};
|
|
2074
2074
|
}
|
|
2075
|
-
}),
|
|
2075
|
+
}), jt = /* @__PURE__ */ X(Xa, [["__scopeId", "data-v-52f122f2"]]), el = (t) => (mt("data-v-578a7915"), t = t(), pt(), t), tl = { class: "left" }, nl = { class: "right" }, ol = /* @__PURE__ */ el(() => /* @__PURE__ */ e("div", { class: "d-flex justify-space-between pa-1" }, [
|
|
2076
2076
|
/* @__PURE__ */ e("div", { class: "center" }, " ")
|
|
2077
|
-
], -1)),
|
|
2077
|
+
], -1)), al = /* @__PURE__ */ W({
|
|
2078
2078
|
__name: "VMiniMap",
|
|
2079
2079
|
props: {
|
|
2080
2080
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -2086,7 +2086,7 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
2086
2086
|
},
|
|
2087
2087
|
emits: ["close"],
|
|
2088
2088
|
setup(t, { emit: n }) {
|
|
2089
|
-
const o = b(null), l = t, i = n, a = b(), s = b(0), r =
|
|
2089
|
+
const o = b(null), l = t, i = n, a = b(), s = b(0), r = F(() => l.minimapJson.storeys[l.level]), h = b(0);
|
|
2090
2090
|
Y(
|
|
2091
2091
|
() => l.apartmentJson,
|
|
2092
2092
|
() => {
|
|
@@ -2099,7 +2099,7 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
2099
2099
|
},
|
|
2100
2100
|
{ immediate: !0, once: !0 }
|
|
2101
2101
|
);
|
|
2102
|
-
const
|
|
2102
|
+
const y = F(() => {
|
|
2103
2103
|
let d = 1;
|
|
2104
2104
|
return s.value !== 0 && (Math.abs(s.value) % 180 === 0 ? d = 1 : d = -1), O.value === "small" && (d = 0.6), d;
|
|
2105
2105
|
});
|
|
@@ -2119,31 +2119,31 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
2119
2119
|
i("close");
|
|
2120
2120
|
};
|
|
2121
2121
|
return (d, w) => {
|
|
2122
|
-
const x =
|
|
2123
|
-
return u(), T(
|
|
2122
|
+
const x = I("v-btn");
|
|
2123
|
+
return u(), T($a, {
|
|
2124
2124
|
ref_key: "minimapMoveable",
|
|
2125
2125
|
ref: o,
|
|
2126
2126
|
size: O.value
|
|
2127
2127
|
}, {
|
|
2128
|
-
"top-left":
|
|
2129
|
-
e("div",
|
|
2130
|
-
|
|
2128
|
+
"top-left": m(() => [
|
|
2129
|
+
e("div", tl, [
|
|
2130
|
+
g(x, {
|
|
2131
2131
|
icon: "mdi-window-close",
|
|
2132
2132
|
size: "x-small",
|
|
2133
2133
|
onClick: c
|
|
2134
2134
|
})
|
|
2135
2135
|
])
|
|
2136
2136
|
]),
|
|
2137
|
-
"top-right":
|
|
2138
|
-
e("div",
|
|
2139
|
-
|
|
2137
|
+
"top-right": m(() => [
|
|
2138
|
+
e("div", nl, [
|
|
2139
|
+
g(x, {
|
|
2140
2140
|
class: "rotate-icon",
|
|
2141
2141
|
size: "x-small",
|
|
2142
2142
|
icon: "mdi mdi-rotate-right",
|
|
2143
|
-
onClick:
|
|
2143
|
+
onClick: Sn(C, ["stop"]),
|
|
2144
2144
|
title: "Rotate"
|
|
2145
2145
|
}),
|
|
2146
|
-
|
|
2146
|
+
g(x, {
|
|
2147
2147
|
class: "resize-icon ml-1",
|
|
2148
2148
|
icon: "mdi-image-size-select-small",
|
|
2149
2149
|
size: "x-small",
|
|
@@ -2152,17 +2152,17 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
2152
2152
|
})
|
|
2153
2153
|
])
|
|
2154
2154
|
]),
|
|
2155
|
-
header:
|
|
2156
|
-
|
|
2155
|
+
header: m(() => [
|
|
2156
|
+
ol
|
|
2157
2157
|
]),
|
|
2158
|
-
body:
|
|
2159
|
-
|
|
2160
|
-
scale:
|
|
2158
|
+
body: m(() => [
|
|
2159
|
+
g(zt, {
|
|
2160
|
+
scale: y.value,
|
|
2161
2161
|
rotation: r.value.rotation.y,
|
|
2162
2162
|
"transform-angle": s.value
|
|
2163
2163
|
}, null, 8, ["scale", "rotation", "transform-angle"]),
|
|
2164
2164
|
e("div", null, [
|
|
2165
|
-
|
|
2165
|
+
g(Ut, {
|
|
2166
2166
|
"transform-angle": s.value,
|
|
2167
2167
|
"all-cameras": d.apartmentJson.cameras,
|
|
2168
2168
|
"background-image": a.value,
|
|
@@ -2174,8 +2174,8 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
2174
2174
|
}, null, 8, ["transform-angle", "all-cameras", "background-image", "rotation", "current-camera", "storey", "containerWidth", "containerHeight"])
|
|
2175
2175
|
])
|
|
2176
2176
|
]),
|
|
2177
|
-
footer:
|
|
2178
|
-
(u(), T(
|
|
2177
|
+
footer: m(() => [
|
|
2178
|
+
(u(), T(jt, {
|
|
2179
2179
|
key: h.value,
|
|
2180
2180
|
"cdn-file-resolver": l.cdnFileResolver,
|
|
2181
2181
|
"minimap-json": l.minimapJson,
|
|
@@ -2188,12 +2188,12 @@ const jn = { id: "player-wrapper" }, Wn = { id: "player-sizer" }, Pn = {
|
|
|
2188
2188
|
}, 8, ["size"]);
|
|
2189
2189
|
};
|
|
2190
2190
|
}
|
|
2191
|
-
}), Vt = /* @__PURE__ */ X(
|
|
2191
|
+
}), Vt = /* @__PURE__ */ X(al, [["__scopeId", "data-v-578a7915"]]);
|
|
2192
2192
|
function dt(t) {
|
|
2193
2193
|
const n = t * 60, o = Math.floor(n / 60), l = n % 60;
|
|
2194
2194
|
return `${o.toString().padStart(2, "0")}:${l.toString().padStart(2, "0")}`;
|
|
2195
2195
|
}
|
|
2196
|
-
const
|
|
2196
|
+
const ll = { class: "d-flex align-center" }, sl = { class: "d-block mr-1" }, il = { class: "small" }, rl = { class: "small" }, ul = /* @__PURE__ */ W({
|
|
2197
2197
|
__name: "VSunsimSlider",
|
|
2198
2198
|
props: {
|
|
2199
2199
|
currentDay: {},
|
|
@@ -2216,23 +2216,23 @@ const ol = { class: "d-flex align-center" }, al = { class: "d-block mr-1" }, ll
|
|
|
2216
2216
|
);
|
|
2217
2217
|
},
|
|
2218
2218
|
{ immediate: !0 }
|
|
2219
|
-
), (h,
|
|
2220
|
-
const f =
|
|
2221
|
-
return u(),
|
|
2222
|
-
e("div",
|
|
2223
|
-
|
|
2219
|
+
), (h, y) => {
|
|
2220
|
+
const f = I("v-icon"), _ = I("v-slider"), S = I("v-field"), O = I("v-btn");
|
|
2221
|
+
return u(), L("div", ll, [
|
|
2222
|
+
e("div", sl, [
|
|
2223
|
+
g(S, {
|
|
2224
2224
|
class: "ss-slider-field",
|
|
2225
2225
|
style: {},
|
|
2226
2226
|
variant: "solo-filled",
|
|
2227
2227
|
rounded: "",
|
|
2228
2228
|
flat: ""
|
|
2229
2229
|
}, {
|
|
2230
|
-
default:
|
|
2230
|
+
default: m(() => [
|
|
2231
2231
|
p(l).timeSamples.length > 1 ? (u(), T(_, {
|
|
2232
2232
|
key: 0,
|
|
2233
2233
|
class: "pa-2 pr-2",
|
|
2234
2234
|
modelValue: r.value,
|
|
2235
|
-
"onUpdate:modelValue":
|
|
2235
|
+
"onUpdate:modelValue": y[0] || (y[0] = (C) => r.value = C),
|
|
2236
2236
|
min: p(l).startTime,
|
|
2237
2237
|
max: p(l).endTime,
|
|
2238
2238
|
step: p(l).interval,
|
|
@@ -2242,49 +2242,49 @@ const ol = { class: "d-flex align-center" }, al = { class: "d-block mr-1" }, ll
|
|
|
2242
2242
|
"thumb-color": "white",
|
|
2243
2243
|
"hide-details": ""
|
|
2244
2244
|
}, {
|
|
2245
|
-
prepend:
|
|
2246
|
-
|
|
2245
|
+
prepend: m(() => [
|
|
2246
|
+
g(f, {
|
|
2247
2247
|
style: { "vertical-align": "baseline", "font-size": "20px" },
|
|
2248
2248
|
class: "mr-2 icon",
|
|
2249
2249
|
color: "warning"
|
|
2250
2250
|
}, {
|
|
2251
|
-
default:
|
|
2251
|
+
default: m(() => [
|
|
2252
2252
|
ae(" mdi-white-balance-sunny ")
|
|
2253
2253
|
]),
|
|
2254
2254
|
_: 1
|
|
2255
2255
|
}),
|
|
2256
|
-
e("span",
|
|
2256
|
+
e("span", il, H(p(dt)(r.value)), 1)
|
|
2257
2257
|
]),
|
|
2258
2258
|
_: 1
|
|
2259
|
-
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (u(),
|
|
2260
|
-
|
|
2259
|
+
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (u(), L(we, { key: 1 }, [
|
|
2260
|
+
g(f, {
|
|
2261
2261
|
style: { "vertical-align": "baseline", "font-size": "20px", "margin-top": "-1px", opacity: "0.6" },
|
|
2262
2262
|
class: "mr-2 icon",
|
|
2263
2263
|
color: "warning"
|
|
2264
2264
|
}, {
|
|
2265
|
-
default:
|
|
2265
|
+
default: m(() => [
|
|
2266
2266
|
ae(" mdi-white-balance-sunny ")
|
|
2267
2267
|
]),
|
|
2268
2268
|
_: 1
|
|
2269
2269
|
}),
|
|
2270
|
-
e("span",
|
|
2270
|
+
e("span", rl, H(p(dt)(r.value)), 1)
|
|
2271
2271
|
], 64))
|
|
2272
2272
|
]),
|
|
2273
2273
|
_: 1
|
|
2274
2274
|
})
|
|
2275
2275
|
]),
|
|
2276
2276
|
e("div", null, [
|
|
2277
|
-
|
|
2277
|
+
g(O, {
|
|
2278
2278
|
size: "small",
|
|
2279
2279
|
class: "sun-study-toggle text-capitalize rounded-xl",
|
|
2280
2280
|
icon: "mdi-close",
|
|
2281
|
-
onClick:
|
|
2281
|
+
onClick: y[1] || (y[1] = (C) => s("toggleSunStudy"))
|
|
2282
2282
|
})
|
|
2283
2283
|
])
|
|
2284
2284
|
]);
|
|
2285
2285
|
};
|
|
2286
2286
|
}
|
|
2287
|
-
}), Dt = /* @__PURE__ */ X(
|
|
2287
|
+
}), Dt = /* @__PURE__ */ X(ul, [["__scopeId", "data-v-c06c753d"]]), cl = /* @__PURE__ */ W({
|
|
2288
2288
|
__name: "VSunStudyToggle",
|
|
2289
2289
|
props: {
|
|
2290
2290
|
displaySunsim: { type: Boolean },
|
|
@@ -2294,7 +2294,7 @@ const ol = { class: "d-flex align-center" }, al = { class: "d-block mr-1" }, ll
|
|
|
2294
2294
|
setup(t, { emit: n }) {
|
|
2295
2295
|
const o = n, l = Se(Ve);
|
|
2296
2296
|
return (i, a) => {
|
|
2297
|
-
const s =
|
|
2297
|
+
const s = I("v-btn");
|
|
2298
2298
|
return !i.displaySunsim && i.showUI ? (u(), T(s, {
|
|
2299
2299
|
key: 0,
|
|
2300
2300
|
size: "small",
|
|
@@ -2303,32 +2303,32 @@ const ol = { class: "d-flex align-center" }, al = { class: "d-block mr-1" }, ll
|
|
|
2303
2303
|
class: "sun-study-toggle text-capitalize rounded-xl",
|
|
2304
2304
|
onClick: a[0] || (a[0] = (r) => o("toggleSunStudy"))
|
|
2305
2305
|
}, {
|
|
2306
|
-
default:
|
|
2306
|
+
default: m(() => [
|
|
2307
2307
|
ae(H(p(l).getLabel("openSunStudy")), 1)
|
|
2308
2308
|
]),
|
|
2309
2309
|
_: 1
|
|
2310
|
-
})) :
|
|
2310
|
+
})) : M("", !0);
|
|
2311
2311
|
};
|
|
2312
2312
|
}
|
|
2313
|
-
}),
|
|
2313
|
+
}), dl = /* @__PURE__ */ W({
|
|
2314
2314
|
__name: "VAutoplay",
|
|
2315
2315
|
props: {
|
|
2316
2316
|
autoplayStatus: { type: Boolean }
|
|
2317
2317
|
},
|
|
2318
2318
|
emits: ["toggleAutoPlay"],
|
|
2319
2319
|
setup(t, { emit: n }) {
|
|
2320
|
-
const o = n, l =
|
|
2320
|
+
const o = n, l = F(() => /Android|webOS|iPhone|iPad|BlackBerry|Windows Phone|Opera Mini|IEMobile|Mobile/i.test(
|
|
2321
2321
|
window.navigator.userAgent
|
|
2322
2322
|
));
|
|
2323
2323
|
return (i, a) => {
|
|
2324
|
-
const s =
|
|
2324
|
+
const s = I("v-icon"), r = I("v-btn");
|
|
2325
2325
|
return u(), T(r, {
|
|
2326
2326
|
size: "x-small",
|
|
2327
2327
|
class: ce(["autoplay-btn", { mobile: l.value, "mt-1": l.value, "mx-1": l.value }]),
|
|
2328
2328
|
onClick: a[0] || (a[0] = (h) => o("toggleAutoPlay"))
|
|
2329
2329
|
}, {
|
|
2330
|
-
default:
|
|
2331
|
-
|
|
2330
|
+
default: m(() => [
|
|
2331
|
+
g(s, {
|
|
2332
2332
|
icon: i.autoplayStatus ? "mdi-pause" : "mdi-play",
|
|
2333
2333
|
size: "x-large",
|
|
2334
2334
|
class: "pa-0 ma-0"
|
|
@@ -2338,10 +2338,10 @@ const ol = { class: "d-flex align-center" }, al = { class: "d-block mr-1" }, ll
|
|
|
2338
2338
|
}, 8, ["class"]);
|
|
2339
2339
|
};
|
|
2340
2340
|
}
|
|
2341
|
-
}), Bt = /* @__PURE__ */ X(
|
|
2341
|
+
}), Bt = /* @__PURE__ */ X(dl, [["__scopeId", "data-v-7fd2b4f3"]]), vl = {
|
|
2342
2342
|
key: 0,
|
|
2343
2343
|
class: "sun-icon-wrapper"
|
|
2344
|
-
},
|
|
2344
|
+
}, ml = 37, pl = 39, fl = /* @__PURE__ */ W({
|
|
2345
2345
|
__name: "VWaypointCarousel",
|
|
2346
2346
|
props: {
|
|
2347
2347
|
thumbnails: {},
|
|
@@ -2350,14 +2350,14 @@ const ol = { class: "d-flex align-center" }, al = { class: "d-block mr-1" }, ll
|
|
|
2350
2350
|
},
|
|
2351
2351
|
emits: ["previous", "next", "goto"],
|
|
2352
2352
|
setup(t, { emit: n }) {
|
|
2353
|
-
const o = t, l = n, i = b(0), a =
|
|
2353
|
+
const o = t, l = n, i = b(0), a = F({
|
|
2354
2354
|
get() {
|
|
2355
2355
|
return o.active;
|
|
2356
2356
|
},
|
|
2357
|
-
set(
|
|
2358
|
-
i.value =
|
|
2357
|
+
set(y) {
|
|
2358
|
+
i.value = y;
|
|
2359
2359
|
}
|
|
2360
|
-
}), s =
|
|
2360
|
+
}), s = F(() => /Android|webOS|iPhone|iPad|BlackBerry|Windows Phone|Opera Mini|IEMobile|Mobile/i.test(
|
|
2361
2361
|
window.navigator.userAgent
|
|
2362
2362
|
));
|
|
2363
2363
|
Re(() => {
|
|
@@ -2365,32 +2365,32 @@ const ol = { class: "d-flex align-center" }, al = { class: "d-block mr-1" }, ll
|
|
|
2365
2365
|
}), et(() => {
|
|
2366
2366
|
window.removeEventListener("keydown", r);
|
|
2367
2367
|
});
|
|
2368
|
-
function r(
|
|
2369
|
-
switch (
|
|
2370
|
-
case
|
|
2368
|
+
function r(y) {
|
|
2369
|
+
switch (y.keyCode) {
|
|
2370
|
+
case y.keyCode === ml:
|
|
2371
2371
|
l("previous");
|
|
2372
2372
|
break;
|
|
2373
|
-
case
|
|
2373
|
+
case y.keyCode === pl:
|
|
2374
2374
|
l("next");
|
|
2375
2375
|
break;
|
|
2376
2376
|
default:
|
|
2377
2377
|
return;
|
|
2378
2378
|
}
|
|
2379
2379
|
}
|
|
2380
|
-
function h(
|
|
2381
|
-
f(), l("goto",
|
|
2380
|
+
function h(y, f) {
|
|
2381
|
+
f(), l("goto", y);
|
|
2382
2382
|
}
|
|
2383
|
-
return (
|
|
2384
|
-
const _ =
|
|
2385
|
-
return u(),
|
|
2383
|
+
return (y, f) => {
|
|
2384
|
+
const _ = I("v-btn"), S = I("v-img"), O = I("v-icon"), C = I("v-card"), c = I("v-slide-group-item"), d = I("v-slide-group");
|
|
2385
|
+
return u(), L("div", {
|
|
2386
2386
|
class: ce(["d-flex align-center justify-center", {
|
|
2387
2387
|
mobileWaypointWrapper: s.value,
|
|
2388
2388
|
desktopWaypointWrapper: !s.value,
|
|
2389
2389
|
" waypoint-carousel": !0
|
|
2390
2390
|
}])
|
|
2391
2391
|
}, [
|
|
2392
|
-
K(
|
|
2393
|
-
|
|
2392
|
+
K(y.$slots, "before", {}, void 0, !0),
|
|
2393
|
+
g(d, {
|
|
2394
2394
|
modelValue: a.value,
|
|
2395
2395
|
"onUpdate:modelValue": f[2] || (f[2] = (w) => a.value = w),
|
|
2396
2396
|
class: ce({ mobileWaypoint: s.value }),
|
|
@@ -2400,8 +2400,8 @@ const ol = { class: "d-flex align-center" }, al = { class: "d-block mr-1" }, ll
|
|
|
2400
2400
|
"center-active": "",
|
|
2401
2401
|
mandatory: ""
|
|
2402
2402
|
}, {
|
|
2403
|
-
prev:
|
|
2404
|
-
s.value ?
|
|
2403
|
+
prev: m(() => [
|
|
2404
|
+
s.value ? M("", !0) : (u(), T(_, {
|
|
2405
2405
|
key: 0,
|
|
2406
2406
|
class: ce(["carousel-button", { mobile: s.value }]),
|
|
2407
2407
|
icon: "mdi-chevron-left",
|
|
@@ -2410,8 +2410,8 @@ const ol = { class: "d-flex align-center" }, al = { class: "d-block mr-1" }, ll
|
|
|
2410
2410
|
onClick: f[0] || (f[0] = (w) => l("previous"))
|
|
2411
2411
|
}, null, 8, ["class"]))
|
|
2412
2412
|
]),
|
|
2413
|
-
next:
|
|
2414
|
-
s.value ?
|
|
2413
|
+
next: m(() => [
|
|
2414
|
+
s.value ? M("", !0) : (u(), T(_, {
|
|
2415
2415
|
key: 0,
|
|
2416
2416
|
class: ce(["carousel-button", { mobile: s.value }]),
|
|
2417
2417
|
icon: "mdi-chevron-right",
|
|
@@ -2420,12 +2420,12 @@ const ol = { class: "d-flex align-center" }, al = { class: "d-block mr-1" }, ll
|
|
|
2420
2420
|
onClick: f[1] || (f[1] = (w) => l("next"))
|
|
2421
2421
|
}, null, 8, ["class"]))
|
|
2422
2422
|
]),
|
|
2423
|
-
default:
|
|
2424
|
-
(u(!0),
|
|
2423
|
+
default: m(() => [
|
|
2424
|
+
(u(!0), L(we, null, Ee(y.thumbnails, (w) => (u(), T(c, {
|
|
2425
2425
|
key: w.id
|
|
2426
2426
|
}, {
|
|
2427
|
-
default:
|
|
2428
|
-
|
|
2427
|
+
default: m(({ toggle: x, selectedClass: E }) => [
|
|
2428
|
+
g(C, {
|
|
2429
2429
|
class: ce(["position-relative", [
|
|
2430
2430
|
s.value ? "ma-0" : "ma-1",
|
|
2431
2431
|
E,
|
|
@@ -2436,18 +2436,18 @@ const ol = { class: "d-flex align-center" }, al = { class: "d-block mr-1" }, ll
|
|
|
2436
2436
|
style: { overflow: "hidden" },
|
|
2437
2437
|
onClick: (R) => h(w.id, x)
|
|
2438
2438
|
}, {
|
|
2439
|
-
default:
|
|
2440
|
-
|
|
2439
|
+
default: m(() => [
|
|
2440
|
+
g(S, {
|
|
2441
2441
|
cover: "",
|
|
2442
2442
|
"aspect-ratio": 1,
|
|
2443
2443
|
src: w.thumbnailUrl
|
|
2444
2444
|
}, null, 8, ["src"]),
|
|
2445
|
-
o.cameraHasSunStudy(w.id) ? (u(),
|
|
2446
|
-
|
|
2445
|
+
o.cameraHasSunStudy(w.id) ? (u(), L("div", vl, [
|
|
2446
|
+
g(O, {
|
|
2447
2447
|
class: "sun-icon",
|
|
2448
2448
|
icon: "mdi-white-balance-sunny"
|
|
2449
2449
|
})
|
|
2450
|
-
])) :
|
|
2450
|
+
])) : M("", !0)
|
|
2451
2451
|
]),
|
|
2452
2452
|
_: 2
|
|
2453
2453
|
}, 1032, ["class", "onClick"])
|
|
@@ -2457,14 +2457,14 @@ const ol = { class: "d-flex align-center" }, al = { class: "d-block mr-1" }, ll
|
|
|
2457
2457
|
]),
|
|
2458
2458
|
_: 1
|
|
2459
2459
|
}, 8, ["modelValue", "class", "show-arrows"]),
|
|
2460
|
-
K(
|
|
2460
|
+
K(y.$slots, "after", {}, void 0, !0)
|
|
2461
2461
|
], 2);
|
|
2462
2462
|
};
|
|
2463
2463
|
}
|
|
2464
|
-
}), vt = /* @__PURE__ */ X(
|
|
2464
|
+
}), vt = /* @__PURE__ */ X(fl, [["__scopeId", "data-v-9cc758dc"]]), hl = {
|
|
2465
2465
|
id: "share-btns-wrapper",
|
|
2466
2466
|
class: "text-center"
|
|
2467
|
-
},
|
|
2467
|
+
}, gl = /* @__PURE__ */ W({
|
|
2468
2468
|
__name: "VSocialShare",
|
|
2469
2469
|
setup(t) {
|
|
2470
2470
|
const n = Se(Ve), o = b(!1), l = b(location.href);
|
|
@@ -2492,101 +2492,101 @@ const ol = { class: "d-flex align-center" }, al = { class: "d-block mr-1" }, ll
|
|
|
2492
2492
|
function r() {
|
|
2493
2493
|
navigator.clipboard.writeText(location.href);
|
|
2494
2494
|
}
|
|
2495
|
-
return (h,
|
|
2496
|
-
const f =
|
|
2497
|
-
return u(),
|
|
2498
|
-
|
|
2495
|
+
return (h, y) => {
|
|
2496
|
+
const f = I("v-btn"), _ = I("v-tooltip"), S = I("v-toolbar-title"), O = I("v-spacer"), C = I("v-toolbar"), c = I("v-card-text"), d = I("v-card"), w = I("v-dialog");
|
|
2497
|
+
return u(), L("div", null, [
|
|
2498
|
+
g(_, {
|
|
2499
2499
|
elevation: "2",
|
|
2500
2500
|
top: "",
|
|
2501
2501
|
attach: ""
|
|
2502
2502
|
}, {
|
|
2503
|
-
activator:
|
|
2504
|
-
|
|
2503
|
+
activator: m(({ props: x }) => [
|
|
2504
|
+
g(f, Ie({
|
|
2505
2505
|
density: "comfortable",
|
|
2506
2506
|
elevation: "1",
|
|
2507
2507
|
icon: "mdi-share-variant",
|
|
2508
|
-
onClick:
|
|
2508
|
+
onClick: y[0] || (y[0] = (E) => o.value = !o.value)
|
|
2509
2509
|
}, x), null, 16)
|
|
2510
2510
|
]),
|
|
2511
|
-
default:
|
|
2511
|
+
default: m(() => [
|
|
2512
2512
|
e("span", null, H(p(n).getLabel("share")), 1)
|
|
2513
2513
|
]),
|
|
2514
2514
|
_: 1
|
|
2515
2515
|
}),
|
|
2516
|
-
|
|
2516
|
+
g(w, {
|
|
2517
2517
|
id: "share-box",
|
|
2518
2518
|
width: "400",
|
|
2519
2519
|
modelValue: o.value,
|
|
2520
|
-
"onUpdate:modelValue":
|
|
2520
|
+
"onUpdate:modelValue": y[2] || (y[2] = (x) => o.value = x)
|
|
2521
2521
|
}, {
|
|
2522
|
-
default:
|
|
2523
|
-
|
|
2524
|
-
default:
|
|
2525
|
-
|
|
2526
|
-
default:
|
|
2527
|
-
|
|
2522
|
+
default: m(() => [
|
|
2523
|
+
g(d, null, {
|
|
2524
|
+
default: m(() => [
|
|
2525
|
+
g(C, { elevation: "0" }, {
|
|
2526
|
+
default: m(() => [
|
|
2527
|
+
g(f, {
|
|
2528
2528
|
size: "x-small",
|
|
2529
2529
|
icon: "mdi-close",
|
|
2530
|
-
onClick:
|
|
2530
|
+
onClick: y[1] || (y[1] = (x) => o.value = !1)
|
|
2531
2531
|
}),
|
|
2532
|
-
|
|
2533
|
-
default:
|
|
2532
|
+
g(S, null, {
|
|
2533
|
+
default: m(() => [
|
|
2534
2534
|
ae(H(p(n).getLabel("share")), 1)
|
|
2535
2535
|
]),
|
|
2536
2536
|
_: 1
|
|
2537
2537
|
}),
|
|
2538
|
-
|
|
2538
|
+
g(O)
|
|
2539
2539
|
]),
|
|
2540
2540
|
_: 1
|
|
2541
2541
|
}),
|
|
2542
|
-
|
|
2543
|
-
default:
|
|
2544
|
-
e("p",
|
|
2545
|
-
|
|
2546
|
-
activator:
|
|
2547
|
-
|
|
2542
|
+
g(c, { class: "mt-5" }, {
|
|
2543
|
+
default: m(() => [
|
|
2544
|
+
e("p", hl, [
|
|
2545
|
+
g(_, { location: "top" }, {
|
|
2546
|
+
activator: m(({ props: x }) => [
|
|
2547
|
+
g(f, Ie({
|
|
2548
2548
|
depressed: "",
|
|
2549
2549
|
fab: "",
|
|
2550
2550
|
light: "",
|
|
2551
2551
|
icon: "mdi-facebook"
|
|
2552
2552
|
}, x, { onClick: i }), null, 16)
|
|
2553
2553
|
]),
|
|
2554
|
-
default:
|
|
2554
|
+
default: m(() => [
|
|
2555
2555
|
e("span", null, H(p(n).getLabel("shareToFacebook")), 1)
|
|
2556
2556
|
]),
|
|
2557
2557
|
_: 1
|
|
2558
2558
|
}),
|
|
2559
|
-
|
|
2560
|
-
activator:
|
|
2561
|
-
|
|
2559
|
+
g(_, { location: "top" }, {
|
|
2560
|
+
activator: m(({ props: x }) => [
|
|
2561
|
+
g(f, Ie({
|
|
2562
2562
|
depressed: "",
|
|
2563
2563
|
fab: "",
|
|
2564
2564
|
light: "",
|
|
2565
2565
|
icon: "mdi-linkedin"
|
|
2566
2566
|
}, x, { onClick: s }), null, 16)
|
|
2567
2567
|
]),
|
|
2568
|
-
default:
|
|
2568
|
+
default: m(() => [
|
|
2569
2569
|
e("span", null, H(p(n).getLabel("shareToLinkedin")), 1)
|
|
2570
2570
|
]),
|
|
2571
2571
|
_: 1
|
|
2572
2572
|
}),
|
|
2573
|
-
|
|
2574
|
-
activator:
|
|
2575
|
-
|
|
2573
|
+
g(_, { location: "top" }, {
|
|
2574
|
+
activator: m(({ props: x }) => [
|
|
2575
|
+
g(f, Ie({
|
|
2576
2576
|
depressed: "",
|
|
2577
2577
|
fab: "",
|
|
2578
2578
|
light: "",
|
|
2579
2579
|
icon: "mdi-twitter"
|
|
2580
2580
|
}, x, { onClick: a }), null, 16)
|
|
2581
2581
|
]),
|
|
2582
|
-
default:
|
|
2582
|
+
default: m(() => [
|
|
2583
2583
|
e("span", null, H(p(n).getLabel("shareToTwitter")), 1)
|
|
2584
2584
|
]),
|
|
2585
2585
|
_: 1
|
|
2586
2586
|
}),
|
|
2587
|
-
|
|
2588
|
-
activator:
|
|
2589
|
-
|
|
2587
|
+
g(_, { location: "top" }, {
|
|
2588
|
+
activator: m(({ props: x }) => [
|
|
2589
|
+
g(f, Ie({
|
|
2590
2590
|
depressed: "",
|
|
2591
2591
|
fab: "",
|
|
2592
2592
|
light: "",
|
|
@@ -2595,14 +2595,14 @@ const ol = { class: "d-flex align-center" }, al = { class: "d-block mr-1" }, ll
|
|
|
2595
2595
|
href: `mailto:?body=${l.value}`
|
|
2596
2596
|
}, x), null, 16, ["href"])
|
|
2597
2597
|
]),
|
|
2598
|
-
default:
|
|
2598
|
+
default: m(() => [
|
|
2599
2599
|
e("span", null, H(p(n).getLabel("shareViaEmail")), 1)
|
|
2600
2600
|
]),
|
|
2601
2601
|
_: 1
|
|
2602
2602
|
}),
|
|
2603
|
-
|
|
2604
|
-
activator:
|
|
2605
|
-
|
|
2603
|
+
g(_, { location: "top" }, {
|
|
2604
|
+
activator: m(({ props: x }) => [
|
|
2605
|
+
g(f, Ie({
|
|
2606
2606
|
depressed: "",
|
|
2607
2607
|
fab: "",
|
|
2608
2608
|
light: "",
|
|
@@ -2610,12 +2610,12 @@ const ol = { class: "d-flex align-center" }, al = { class: "d-block mr-1" }, ll
|
|
|
2610
2610
|
onClick: r
|
|
2611
2611
|
}, x), null, 16)
|
|
2612
2612
|
]),
|
|
2613
|
-
default:
|
|
2613
|
+
default: m(() => [
|
|
2614
2614
|
e("span", null, H(p(n).getLabel("copyLink")), 1)
|
|
2615
2615
|
]),
|
|
2616
2616
|
_: 1
|
|
2617
2617
|
}),
|
|
2618
|
-
|
|
2618
|
+
g(O)
|
|
2619
2619
|
])
|
|
2620
2620
|
]),
|
|
2621
2621
|
_: 1
|
|
@@ -2629,25 +2629,25 @@ const ol = { class: "d-flex align-center" }, al = { class: "d-block mr-1" }, ll
|
|
|
2629
2629
|
]);
|
|
2630
2630
|
};
|
|
2631
2631
|
}
|
|
2632
|
-
}),
|
|
2632
|
+
}), Wt = /* @__PURE__ */ X(gl, [["__scopeId", "data-v-bb7d0a99"]]), yl = { class: "static-image-wrapper" }, _l = /* @__PURE__ */ W({
|
|
2633
2633
|
__name: "VSingleImage",
|
|
2634
2634
|
props: {
|
|
2635
2635
|
image: {},
|
|
2636
2636
|
aspectRatio: { default: "wide" }
|
|
2637
2637
|
},
|
|
2638
2638
|
setup(t) {
|
|
2639
|
-
const n = t, o =
|
|
2640
|
-
return (l, i) => (u(),
|
|
2639
|
+
const n = t, o = F(() => ({ "background-image": `url("${encodeURI(n.image)}")` }));
|
|
2640
|
+
return (l, i) => (u(), L("div", yl, [
|
|
2641
2641
|
e("div", {
|
|
2642
2642
|
class: ce(["img-div", [l.aspectRatio]]),
|
|
2643
2643
|
style: ne(o.value)
|
|
2644
2644
|
}, null, 6)
|
|
2645
2645
|
]));
|
|
2646
2646
|
}
|
|
2647
|
-
}),
|
|
2647
|
+
}), bl = /* @__PURE__ */ X(_l, [["__scopeId", "data-v-31489804"]]), wl = {
|
|
2648
2648
|
id: "btn-fullscreen",
|
|
2649
2649
|
class: "btn-placeholder mr-2"
|
|
2650
|
-
},
|
|
2650
|
+
}, Pt = /* @__PURE__ */ W({
|
|
2651
2651
|
__name: "VFullScreenButton",
|
|
2652
2652
|
props: {
|
|
2653
2653
|
isFullScreen: { type: Boolean }
|
|
@@ -2656,9 +2656,9 @@ const ol = { class: "d-flex align-center" }, al = { class: "d-block mr-1" }, ll
|
|
|
2656
2656
|
setup(t, { emit: n }) {
|
|
2657
2657
|
const o = n;
|
|
2658
2658
|
return (l, i) => {
|
|
2659
|
-
const a =
|
|
2660
|
-
return u(),
|
|
2661
|
-
|
|
2659
|
+
const a = I("v-btn");
|
|
2660
|
+
return u(), L("div", wl, [
|
|
2661
|
+
g(a, {
|
|
2662
2662
|
density: "comfortable",
|
|
2663
2663
|
elevation: "3",
|
|
2664
2664
|
icon: l.isFullScreen ? "mdi-fullscreen-exit" : "mdi-fullscreen",
|
|
@@ -2683,7 +2683,7 @@ class Ne {
|
|
|
2683
2683
|
return typeof n == "string" ? n : typeof n == "object" && this._language in n && n[this._language] ? n[this._language] : "";
|
|
2684
2684
|
}
|
|
2685
2685
|
}
|
|
2686
|
-
class
|
|
2686
|
+
class Qt {
|
|
2687
2687
|
constructor(n, o) {
|
|
2688
2688
|
Ue(this, "_doc");
|
|
2689
2689
|
Ue(this, "_elemId");
|
|
@@ -2726,7 +2726,7 @@ class Pt {
|
|
|
2726
2726
|
function Ge(t) {
|
|
2727
2727
|
return ("0" + t).slice(-2);
|
|
2728
2728
|
}
|
|
2729
|
-
function
|
|
2729
|
+
function kl() {
|
|
2730
2730
|
const t = /* @__PURE__ */ new Date();
|
|
2731
2731
|
return [
|
|
2732
2732
|
t.getFullYear().toString(),
|
|
@@ -2738,43 +2738,66 @@ function bl() {
|
|
|
2738
2738
|
Ge(t.getSeconds())
|
|
2739
2739
|
].join("");
|
|
2740
2740
|
}
|
|
2741
|
-
function
|
|
2742
|
-
return "Visuado-Snapshot-" +
|
|
2741
|
+
function Cl() {
|
|
2742
|
+
return "Visuado-Snapshot-" + kl();
|
|
2743
2743
|
}
|
|
2744
|
-
class
|
|
2744
|
+
class Tt {
|
|
2745
2745
|
// private cameraParams: any
|
|
2746
2746
|
constructor(n, o) {
|
|
2747
2747
|
Ue(this, "data");
|
|
2748
2748
|
this.data = n;
|
|
2749
2749
|
}
|
|
2750
2750
|
download(n = null) {
|
|
2751
|
-
n = n ||
|
|
2751
|
+
n = n || Cl();
|
|
2752
2752
|
const o = document.createElement("a");
|
|
2753
2753
|
typeof o.download == "string" ? (document.body.appendChild(o), o.download = n, o.href = this.data, o.click(), document.body.removeChild(o)) : location.replace(this.data);
|
|
2754
2754
|
}
|
|
2755
2755
|
}
|
|
2756
|
-
const
|
|
2756
|
+
const Sl = {
|
|
2757
|
+
id: "btn-magic",
|
|
2758
|
+
class: "btn-placeholder mr-2"
|
|
2759
|
+
}, Al = /* @__PURE__ */ W({
|
|
2760
|
+
__name: "VVisuadoCreateButton",
|
|
2761
|
+
emits: ["onSnapshot"],
|
|
2762
|
+
setup(t, { emit: n }) {
|
|
2763
|
+
const o = n;
|
|
2764
|
+
return (l, i) => {
|
|
2765
|
+
const a = I("v-btn");
|
|
2766
|
+
return u(), L("div", Sl, [
|
|
2767
|
+
g(a, {
|
|
2768
|
+
density: "comfortable",
|
|
2769
|
+
elevation: "3",
|
|
2770
|
+
icon: "mdi-creation",
|
|
2771
|
+
onClick: i[0] || (i[0] = (s) => o("onSnapshot"))
|
|
2772
|
+
})
|
|
2773
|
+
]);
|
|
2774
|
+
};
|
|
2775
|
+
}
|
|
2776
|
+
}), xl = {
|
|
2757
2777
|
key: 0,
|
|
2758
2778
|
class: "player-error"
|
|
2759
|
-
},
|
|
2779
|
+
}, Ll = { class: "player-and-components-wrapper" }, Il = {
|
|
2760
2780
|
key: 3,
|
|
2761
2781
|
class: "settings-panel"
|
|
2762
|
-
},
|
|
2782
|
+
}, El = {
|
|
2763
2783
|
key: 0,
|
|
2764
2784
|
class: "compass-wrapper"
|
|
2765
|
-
},
|
|
2785
|
+
}, Ml = {
|
|
2766
2786
|
key: 1,
|
|
2767
2787
|
class: "btn-placeholder mr-2"
|
|
2768
|
-
},
|
|
2788
|
+
}, Fl = { class: "btn-placeholder mr-2" }, Vl = {
|
|
2769
2789
|
key: 2,
|
|
2770
2790
|
class: "btn-placeholder mr-2"
|
|
2771
|
-
},
|
|
2791
|
+
}, Dl = {
|
|
2792
|
+
key: 3,
|
|
2793
|
+
class: "btn-placeholder mr-2"
|
|
2794
|
+
}, Bl = { class: "d-flex flex-column align-end" }, Tl = {
|
|
2772
2795
|
key: 0,
|
|
2773
2796
|
class: "d-flex align-center flex-column sun-study mt-2"
|
|
2774
|
-
},
|
|
2797
|
+
}, Ol = {
|
|
2775
2798
|
key: 2,
|
|
2776
2799
|
class: "render-version"
|
|
2777
|
-
},
|
|
2800
|
+
}, $l = /* @__PURE__ */ W({
|
|
2778
2801
|
__name: "VVirtualTour",
|
|
2779
2802
|
props: {
|
|
2780
2803
|
cdnFileResolver: {},
|
|
@@ -2813,9 +2836,10 @@ const Cl = {
|
|
|
2813
2836
|
dynamicMarkers: { default: null },
|
|
2814
2837
|
version: {},
|
|
2815
2838
|
showVersion: { type: Boolean, default: !0 },
|
|
2816
|
-
enableAutoplay: { type: Boolean, default: !1 }
|
|
2839
|
+
enableAutoplay: { type: Boolean, default: !1 },
|
|
2840
|
+
showVisuadoCreateButton: { type: Boolean, default: !1 }
|
|
2817
2841
|
},
|
|
2818
|
-
emits: ["onSnapshot", "saveSettings", "onInteriorUpdate", "onCameraUpdate", "onSunsimUpdate", "onError"],
|
|
2842
|
+
emits: ["onSnapshot", "onVisuadoCreateButtonClicked", "saveSettings", "onInteriorUpdate", "onCameraUpdate", "onSunsimUpdate", "onError"],
|
|
2819
2843
|
setup(t, { expose: n, emit: o }) {
|
|
2820
2844
|
const l = t, {
|
|
2821
2845
|
cdnFileResolver: i,
|
|
@@ -2824,7 +2848,7 @@ const Cl = {
|
|
|
2824
2848
|
validInteriorIds: r,
|
|
2825
2849
|
displayViewModeSwitch: h,
|
|
2826
2850
|
// websiteUrl,
|
|
2827
|
-
i18nConfig:
|
|
2851
|
+
i18nConfig: y,
|
|
2828
2852
|
showCarousel: f,
|
|
2829
2853
|
showTimeOfDay: _,
|
|
2830
2854
|
showCompass: S,
|
|
@@ -2838,94 +2862,94 @@ const Cl = {
|
|
|
2838
2862
|
defaultViewMode: R,
|
|
2839
2863
|
mouseSensitivity: q,
|
|
2840
2864
|
// isInIframe,
|
|
2841
|
-
adminMode:
|
|
2865
|
+
adminMode: V,
|
|
2842
2866
|
playerSettings: J,
|
|
2843
2867
|
hasMarkersJson: be,
|
|
2844
2868
|
dynamicMarkers: ee,
|
|
2845
2869
|
version: Ae,
|
|
2846
2870
|
showVersion: U
|
|
2847
|
-
} = _e(l),
|
|
2871
|
+
} = _e(l), D = o;
|
|
2848
2872
|
n({
|
|
2849
2873
|
updateSelectedInterior: At,
|
|
2850
2874
|
takeSnapshot: It,
|
|
2851
2875
|
setCurrentCamera: st,
|
|
2852
|
-
getCurrentRotation:
|
|
2853
|
-
setCurrentRotation:
|
|
2854
|
-
getCurrentFov:
|
|
2855
|
-
setCurrentFov:
|
|
2856
|
-
loadDynamicMarkers:
|
|
2857
|
-
screenToWorld:
|
|
2858
|
-
clearCurrentMarkerLayer:
|
|
2876
|
+
getCurrentRotation: Kt,
|
|
2877
|
+
setCurrentRotation: Xt,
|
|
2878
|
+
getCurrentFov: en,
|
|
2879
|
+
setCurrentFov: tn,
|
|
2880
|
+
loadDynamicMarkers: dn,
|
|
2881
|
+
screenToWorld: vn,
|
|
2882
|
+
clearCurrentMarkerLayer: cn
|
|
2859
2883
|
});
|
|
2860
|
-
const z = b(!1), ve = b(!1), ke = b(!1), ie = b(),
|
|
2861
|
-
new
|
|
2862
|
-
), ft = b(), tt =
|
|
2863
|
-
if (
|
|
2864
|
-
const
|
|
2865
|
-
(
|
|
2884
|
+
const z = b(!1), ve = b(!1), ke = b(!1), ie = b(), B = b(), Q = b(), P = b(), N = b(), le = b(0), G = b(), re = b(), Z = b(), he = b(0), xe = b(0), De = b(0), pe = b(!1), fe = b(!1), Be = b(), ge = b(!1), ue = b(!1), Me = b(
|
|
2885
|
+
new Qt(document, "player-wrapper")
|
|
2886
|
+
), ft = b(), tt = F(() => {
|
|
2887
|
+
if (B.value) {
|
|
2888
|
+
const v = B.value.cameras.map(
|
|
2889
|
+
(j) => j.floorLevel
|
|
2866
2890
|
);
|
|
2867
|
-
let A = [...new Set(
|
|
2891
|
+
let A = [...new Set(v)];
|
|
2868
2892
|
return A = A.sort(), A;
|
|
2869
2893
|
} else
|
|
2870
2894
|
return [];
|
|
2871
|
-
}), He =
|
|
2872
|
-
let
|
|
2873
|
-
if (
|
|
2874
|
-
const A =
|
|
2895
|
+
}), He = F(() => {
|
|
2896
|
+
let v = 0;
|
|
2897
|
+
if (B.value) {
|
|
2898
|
+
const A = B.value.cameras.map(
|
|
2875
2899
|
(We) => We.floorLevel
|
|
2876
2900
|
);
|
|
2877
|
-
let
|
|
2878
|
-
|
|
2879
|
-
const de =
|
|
2901
|
+
let j = [...new Set(A)];
|
|
2902
|
+
j = j.sort();
|
|
2903
|
+
const de = j.findIndex(
|
|
2880
2904
|
(We) => We === xe.value
|
|
2881
2905
|
);
|
|
2882
|
-
de !== -1 && (
|
|
2906
|
+
de !== -1 && (v = de);
|
|
2883
2907
|
}
|
|
2884
|
-
return
|
|
2885
|
-
}), nt =
|
|
2886
|
-
(
|
|
2887
|
-
)), ye =
|
|
2888
|
-
...
|
|
2908
|
+
return v;
|
|
2909
|
+
}), nt = F(() => ot.value.findIndex(
|
|
2910
|
+
(v) => v.archetypeID === G.value
|
|
2911
|
+
)), ye = F(() => Q.value ? Q.value.cameras.map((v) => ({
|
|
2912
|
+
...v,
|
|
2889
2913
|
thumbnailUrl: it(
|
|
2890
|
-
`/${G.value}/${a.value}/thumbs/200/${
|
|
2914
|
+
`/${G.value}/${a.value}/thumbs/200/${v.id}.jpg`
|
|
2891
2915
|
),
|
|
2892
2916
|
imageUrl: it(
|
|
2893
|
-
`/${G.value}/${a.value}/images/1600/${
|
|
2917
|
+
`/${G.value}/${a.value}/images/1600/${v.id}.jpg`
|
|
2894
2918
|
)
|
|
2895
|
-
})) : []), Te =
|
|
2896
|
-
let
|
|
2897
|
-
return ie.value && (
|
|
2919
|
+
})) : []), Te = F(() => !ye.value || !ye.value[le.value] ? "" : ye.value[le.value].imageUrl), ot = F(() => {
|
|
2920
|
+
let v = [];
|
|
2921
|
+
return ie.value && (v = ie.value.archetypes), r.value.length ? v.filter(
|
|
2898
2922
|
(A) => r.value.includes(A.archetypeID)
|
|
2899
|
-
) :
|
|
2900
|
-
}), at =
|
|
2901
|
-
var
|
|
2902
|
-
const A = (
|
|
2923
|
+
) : v;
|
|
2924
|
+
}), at = F(() => Q.value ? ot.value.map((v) => {
|
|
2925
|
+
var j;
|
|
2926
|
+
const A = (j = ye.value[le.value]) == null ? void 0 : j.id;
|
|
2903
2927
|
return {
|
|
2904
|
-
...
|
|
2928
|
+
...v,
|
|
2905
2929
|
url: it(
|
|
2906
|
-
`/${
|
|
2930
|
+
`/${v.archetypeID}/${a.value}/thumbs/200/${A}.jpg`
|
|
2907
2931
|
)
|
|
2908
2932
|
};
|
|
2909
|
-
}) : []), k =
|
|
2910
|
-
if (
|
|
2911
|
-
return
|
|
2912
|
-
}), $ =
|
|
2913
|
-
if (
|
|
2914
|
-
return
|
|
2933
|
+
}) : []), k = F(() => {
|
|
2934
|
+
if (P.value && P.value.storeys && He.value in P.value.storeys)
|
|
2935
|
+
return P.value.storeys[He.value];
|
|
2936
|
+
}), $ = F(() => B.value && B.value.timeInHours), te = F(() => {
|
|
2937
|
+
if (B.value && B.value.timeInHours && _.value)
|
|
2938
|
+
return yn(B.value.timeInHours);
|
|
2915
2939
|
});
|
|
2916
2940
|
Xe(
|
|
2917
2941
|
Ve,
|
|
2918
|
-
|
|
2942
|
+
y.value ? new Ne(y.value) : new Ne()
|
|
2919
2943
|
);
|
|
2920
|
-
const se =
|
|
2944
|
+
const se = F(() => /Android|webOS|iPhone|iPad|BlackBerry|Windows Phone|Opera Mini|IEMobile|Mobile/i.test(
|
|
2921
2945
|
window.navigator.userAgent
|
|
2922
|
-
)), oe =
|
|
2923
|
-
const
|
|
2946
|
+
)), oe = F(() => se.value ? "platform-mobile" : "platform-desktop"), Ce = F(() => {
|
|
2947
|
+
const v = me(
|
|
2924
2948
|
i.value,
|
|
2925
2949
|
"/config.json"
|
|
2926
2950
|
);
|
|
2927
2951
|
return localStorage.getItem(
|
|
2928
|
-
`${
|
|
2952
|
+
`${v}-dont-show-tutorial`
|
|
2929
2953
|
);
|
|
2930
2954
|
});
|
|
2931
2955
|
Y(s, () => {
|
|
@@ -2934,9 +2958,9 @@ const Cl = {
|
|
|
2934
2958
|
[i, a],
|
|
2935
2959
|
async () => {
|
|
2936
2960
|
try {
|
|
2937
|
-
re.value = void 0, await
|
|
2938
|
-
} catch (
|
|
2939
|
-
ke.value = !0,
|
|
2961
|
+
re.value = void 0, await Nt(), qt(), await Zt(), Me.value.setup(), Jt();
|
|
2962
|
+
} catch (v) {
|
|
2963
|
+
ke.value = !0, D("onError", v);
|
|
2940
2964
|
}
|
|
2941
2965
|
},
|
|
2942
2966
|
{ immediate: !0 }
|
|
@@ -2949,64 +2973,64 @@ const Cl = {
|
|
|
2949
2973
|
), Y(ge, () => {
|
|
2950
2974
|
if (ge.value) {
|
|
2951
2975
|
ue.value = !1;
|
|
2952
|
-
const
|
|
2953
|
-
Be.value =
|
|
2954
|
-
(A) => A.timeInHours ===
|
|
2976
|
+
const v = je(Z.value);
|
|
2977
|
+
Be.value = v[0].timeSamples.find(
|
|
2978
|
+
(A) => A.timeInHours === v[0].defaultHour
|
|
2955
2979
|
);
|
|
2956
2980
|
} else
|
|
2957
|
-
ue.value = !0,
|
|
2981
|
+
ue.value = !0, N.value.unloadSunSim();
|
|
2958
2982
|
}), Re(async () => {
|
|
2959
2983
|
try {
|
|
2960
2984
|
Ce.value ? (z.value = !1, ue.value = !0) : setTimeout(() => {
|
|
2961
2985
|
z.value = !0;
|
|
2962
2986
|
}, 1e3);
|
|
2963
|
-
} catch (
|
|
2964
|
-
ke.value = !0,
|
|
2987
|
+
} catch (v) {
|
|
2988
|
+
ke.value = !0, D("onError", v);
|
|
2965
2989
|
}
|
|
2966
2990
|
}), et(() => {
|
|
2967
2991
|
document.removeEventListener("wheel", ht);
|
|
2968
2992
|
});
|
|
2969
|
-
function qe(
|
|
2970
|
-
ue.value = !0, z.value = !1,
|
|
2993
|
+
function qe(v = !1) {
|
|
2994
|
+
ue.value = !0, z.value = !1, v && Le();
|
|
2971
2995
|
}
|
|
2972
2996
|
function Le() {
|
|
2973
|
-
const
|
|
2997
|
+
const v = me(
|
|
2974
2998
|
i.value,
|
|
2975
2999
|
"/config.json"
|
|
2976
3000
|
);
|
|
2977
|
-
localStorage.setItem(`${
|
|
2978
|
-
}
|
|
2979
|
-
async function Qt() {
|
|
2980
|
-
ie.value = await Jt();
|
|
3001
|
+
localStorage.setItem(`${v}-dont-show-tutorial`, "true");
|
|
2981
3002
|
}
|
|
2982
3003
|
async function Nt() {
|
|
2983
|
-
|
|
2984
|
-
|
|
3004
|
+
ie.value = await Gt();
|
|
3005
|
+
}
|
|
3006
|
+
async function Zt() {
|
|
3007
|
+
var v;
|
|
3008
|
+
if (B.value = await kt(
|
|
2985
3009
|
G.value,
|
|
2986
3010
|
a.value
|
|
2987
|
-
),
|
|
3011
|
+
), B.value && (re.value = (v = B.value.cameras[0]) == null ? void 0 : v.id), Q.value = await Ct(
|
|
2988
3012
|
G.value,
|
|
2989
3013
|
a.value
|
|
2990
|
-
),
|
|
3014
|
+
), Q.value) {
|
|
2991
3015
|
const A = E.value !== null ? E.value : 0;
|
|
2992
|
-
le.value = A, re.value =
|
|
3016
|
+
le.value = A, re.value = Q.value.cameras[A].id, Z.value = Q.value.cameras[A].id;
|
|
2993
3017
|
}
|
|
2994
|
-
w.value && (
|
|
3018
|
+
w.value && (P.value = await St(
|
|
2995
3019
|
G.value,
|
|
2996
3020
|
a.value
|
|
2997
3021
|
));
|
|
2998
3022
|
}
|
|
2999
|
-
function Zt() {
|
|
3000
|
-
let m = s.value;
|
|
3001
|
-
m || (m = ie.value.defaultArchetypeID), r.value.length || !r.value.includes(m) ? m = r.value[0] : console.warn("illegal interior id", m, r), m || (m = ie.value.archetypes[0].archetypeID), G.value = m;
|
|
3002
|
-
}
|
|
3003
3023
|
function qt() {
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3024
|
+
let v = s.value;
|
|
3025
|
+
v || (v = ie.value.defaultArchetypeID), r.value && r.value.length > 0 && !r.value.includes(v) ? v = r.value[0] : console.warn("illegal interior id", v, r), v || (v = ie.value.archetypes[0].archetypeID), G.value = v;
|
|
3026
|
+
}
|
|
3027
|
+
function Jt() {
|
|
3028
|
+
const v = document.getElementById("main-canvas");
|
|
3029
|
+
v.addEventListener("touchmove", A, { passive: !1 });
|
|
3030
|
+
function A(j) {
|
|
3031
|
+
j.preventDefault(), window.scrollBy(0, 0);
|
|
3008
3032
|
}
|
|
3009
|
-
|
|
3033
|
+
v.addEventListener(
|
|
3010
3034
|
"mouseenter",
|
|
3011
3035
|
() => {
|
|
3012
3036
|
document.addEventListener("wheel", ht, {
|
|
@@ -3014,7 +3038,7 @@ const Cl = {
|
|
|
3014
3038
|
});
|
|
3015
3039
|
},
|
|
3016
3040
|
{ passive: !1 }
|
|
3017
|
-
),
|
|
3041
|
+
), v.addEventListener(
|
|
3018
3042
|
"mouseleave",
|
|
3019
3043
|
() => {
|
|
3020
3044
|
document.removeEventListener("wheel", ht);
|
|
@@ -3022,212 +3046,217 @@ const Cl = {
|
|
|
3022
3046
|
{ passive: !1 }
|
|
3023
3047
|
);
|
|
3024
3048
|
}
|
|
3025
|
-
function ht(
|
|
3026
|
-
|
|
3049
|
+
function ht(v) {
|
|
3050
|
+
v.preventDefault(), window.scrollBy(0, 0);
|
|
3027
3051
|
}
|
|
3028
|
-
async function
|
|
3052
|
+
async function Gt() {
|
|
3029
3053
|
try {
|
|
3030
3054
|
return await rt("/config.json");
|
|
3031
|
-
} catch (
|
|
3055
|
+
} catch (v) {
|
|
3032
3056
|
console.error(
|
|
3033
3057
|
"Error loading config.json - ",
|
|
3034
3058
|
me(i.value, "/config.json"),
|
|
3035
|
-
|
|
3059
|
+
v
|
|
3036
3060
|
);
|
|
3037
3061
|
return;
|
|
3038
3062
|
}
|
|
3039
3063
|
}
|
|
3040
|
-
async function kt(
|
|
3064
|
+
async function kt(v, A) {
|
|
3041
3065
|
try {
|
|
3042
3066
|
return await rt(
|
|
3043
|
-
`/${
|
|
3067
|
+
`/${v}/${A}/apartment.json`
|
|
3044
3068
|
);
|
|
3045
|
-
} catch (
|
|
3069
|
+
} catch (j) {
|
|
3046
3070
|
console.error(
|
|
3047
3071
|
"Error loading apartment.json - ",
|
|
3048
|
-
`/${
|
|
3049
|
-
|
|
3072
|
+
`/${v}/${A}/apartment.json`,
|
|
3073
|
+
j
|
|
3050
3074
|
);
|
|
3051
3075
|
return;
|
|
3052
3076
|
}
|
|
3053
3077
|
}
|
|
3054
|
-
async function Ct(
|
|
3078
|
+
async function Ct(v, A) {
|
|
3055
3079
|
try {
|
|
3056
3080
|
return await rt(
|
|
3057
|
-
`/${
|
|
3081
|
+
`/${v}/${A}/thumbs.json`
|
|
3058
3082
|
);
|
|
3059
3083
|
} catch {
|
|
3060
3084
|
console.error(
|
|
3061
3085
|
"Error loading thumbs.json - ",
|
|
3062
|
-
`/${
|
|
3086
|
+
`/${v}/${A}/thumbs.json`
|
|
3063
3087
|
);
|
|
3064
3088
|
return;
|
|
3065
3089
|
}
|
|
3066
3090
|
}
|
|
3067
|
-
async function St(
|
|
3091
|
+
async function St(v, A) {
|
|
3068
3092
|
try {
|
|
3069
3093
|
return await rt(
|
|
3070
|
-
`/${
|
|
3094
|
+
`/${v}/${A}/minimap/minimap.json`
|
|
3071
3095
|
);
|
|
3072
3096
|
} catch {
|
|
3073
3097
|
console.error(
|
|
3074
3098
|
"Error loading minimap.json - ",
|
|
3075
|
-
`/${
|
|
3099
|
+
`/${v}/${A}/minimap/minimap.json`
|
|
3076
3100
|
);
|
|
3077
3101
|
return;
|
|
3078
3102
|
}
|
|
3079
3103
|
}
|
|
3080
|
-
function
|
|
3081
|
-
return
|
|
3104
|
+
function Kt() {
|
|
3105
|
+
return N.value.getCameraRotation();
|
|
3082
3106
|
}
|
|
3083
|
-
function
|
|
3084
|
-
return
|
|
3107
|
+
function Xt(v) {
|
|
3108
|
+
return N.value.setCameraRotation(v);
|
|
3085
3109
|
}
|
|
3086
|
-
function
|
|
3087
|
-
return
|
|
3110
|
+
function en() {
|
|
3111
|
+
return N.value.getCameraFov();
|
|
3088
3112
|
}
|
|
3089
|
-
function
|
|
3090
|
-
return
|
|
3113
|
+
function tn(v) {
|
|
3114
|
+
return N.value.setCameraFov(v);
|
|
3091
3115
|
}
|
|
3092
3116
|
function lt() {
|
|
3093
|
-
let
|
|
3094
|
-
|
|
3117
|
+
let v = le.value + 1;
|
|
3118
|
+
v >= ye.value.length && (v = 0), le.value = v, st(ye.value[le.value].id);
|
|
3095
3119
|
}
|
|
3096
3120
|
function gt() {
|
|
3097
|
-
let
|
|
3098
|
-
|
|
3121
|
+
let v = le.value - 1;
|
|
3122
|
+
v < 0 && (v = ye.value.length - 1), le.value = v, st(ye.value[le.value].id);
|
|
3099
3123
|
}
|
|
3100
|
-
function yt(
|
|
3101
|
-
let
|
|
3102
|
-
|
|
3124
|
+
function yt(v, A = !0) {
|
|
3125
|
+
let j = ye.value.findIndex((de) => de.id === v);
|
|
3126
|
+
j != -1 && (le.value = j, A && st(v));
|
|
3103
3127
|
}
|
|
3104
|
-
function st(
|
|
3105
|
-
ge.value = !1, re.value =
|
|
3128
|
+
function st(v) {
|
|
3129
|
+
ge.value = !1, re.value = v;
|
|
3106
3130
|
}
|
|
3107
|
-
function At(
|
|
3108
|
-
G.value =
|
|
3131
|
+
function At(v) {
|
|
3132
|
+
G.value = v, nn(), D("onInteriorUpdate", v), D("onCameraUpdate", Z.value, B.value);
|
|
3109
3133
|
}
|
|
3110
|
-
async function
|
|
3111
|
-
|
|
3134
|
+
async function nn() {
|
|
3135
|
+
B.value = await kt(
|
|
3112
3136
|
G.value,
|
|
3113
3137
|
a.value
|
|
3114
|
-
),
|
|
3138
|
+
), Q.value = await Ct(
|
|
3115
3139
|
G.value,
|
|
3116
3140
|
a.value
|
|
3117
|
-
), w.value && (
|
|
3141
|
+
), w.value && (P.value = await St(
|
|
3118
3142
|
G.value,
|
|
3119
3143
|
a.value
|
|
3120
3144
|
));
|
|
3121
3145
|
}
|
|
3122
|
-
function
|
|
3123
|
-
|
|
3146
|
+
function on(v) {
|
|
3147
|
+
Z.value = v, Z.value && (yt(Z.value, !1), D("onCameraUpdate", Z.value, B.value));
|
|
3124
3148
|
}
|
|
3125
|
-
const Ye =
|
|
3126
|
-
const A = je(
|
|
3149
|
+
const Ye = F(() => (v) => {
|
|
3150
|
+
const A = je(v);
|
|
3127
3151
|
return !A || !A[0] || !A[0].timeSamples ? !1 : A[0].timeSamples.length > 1;
|
|
3128
|
-
}), je = (
|
|
3129
|
-
const A =
|
|
3152
|
+
}), je = (v) => {
|
|
3153
|
+
const A = B.value.cameras.find((j) => j.id === v);
|
|
3130
3154
|
return A == null ? void 0 : A.sunsimDayOfYear;
|
|
3131
3155
|
};
|
|
3132
|
-
function
|
|
3133
|
-
|
|
3156
|
+
function an(v) {
|
|
3157
|
+
D("onSunsimUpdate", v);
|
|
3134
3158
|
}
|
|
3135
|
-
function xt(
|
|
3136
|
-
|
|
3159
|
+
function xt(v) {
|
|
3160
|
+
N.value.loadSunSim(v.timeInHours);
|
|
3137
3161
|
}
|
|
3138
|
-
function
|
|
3139
|
-
he.value =
|
|
3162
|
+
function ln(v) {
|
|
3163
|
+
he.value = v;
|
|
3140
3164
|
}
|
|
3141
|
-
function Lt(
|
|
3142
|
-
xe.value =
|
|
3165
|
+
function Lt(v) {
|
|
3166
|
+
xe.value = v;
|
|
3143
3167
|
}
|
|
3144
|
-
function
|
|
3145
|
-
De.value =
|
|
3168
|
+
function sn(v) {
|
|
3169
|
+
De.value = v;
|
|
3146
3170
|
}
|
|
3147
|
-
function
|
|
3171
|
+
function rn(v, A) {
|
|
3148
3172
|
}
|
|
3149
|
-
function
|
|
3150
|
-
|
|
3173
|
+
function un(v) {
|
|
3174
|
+
N.value = v, N.value && (J.value && N.value.updateSettings(J.value), be.value ? N.value.loadMarkersJson() : ee.value && N.value.loadDynamicMarkers(ee.value));
|
|
3151
3175
|
}
|
|
3152
|
-
function
|
|
3153
|
-
|
|
3176
|
+
function cn() {
|
|
3177
|
+
N.value.clearCurrentMarkerLayer();
|
|
3154
3178
|
}
|
|
3155
|
-
function
|
|
3156
|
-
|
|
3179
|
+
function dn(v) {
|
|
3180
|
+
N.value.loadDynamicMarkers(v);
|
|
3157
3181
|
}
|
|
3158
|
-
function
|
|
3159
|
-
return
|
|
3182
|
+
function vn(v) {
|
|
3183
|
+
return N.value.screenToWorld(v);
|
|
3160
3184
|
}
|
|
3161
|
-
function
|
|
3185
|
+
function mn() {
|
|
3162
3186
|
Me.value.toggle(), window.scrollTo({ top: 150, behavior: "smooth" });
|
|
3163
3187
|
}
|
|
3164
|
-
function
|
|
3188
|
+
function pn() {
|
|
3165
3189
|
pe.value = !pe.value;
|
|
3166
3190
|
}
|
|
3167
3191
|
async function It() {
|
|
3168
|
-
const
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3192
|
+
const v = 180 / Math.PI, A = await N.value.takePhoto(), j = N.value.getRotationEuler(), de = N.value.getCurrentCamera(), We = new Tt(A, de), _n = [
|
|
3193
|
+
j.x * -v,
|
|
3194
|
+
j.y * -v,
|
|
3195
|
+
j.z * v
|
|
3172
3196
|
];
|
|
3173
|
-
return
|
|
3197
|
+
return D("onSnapshot", We, _n), We;
|
|
3198
|
+
}
|
|
3199
|
+
async function fn() {
|
|
3200
|
+
console.log("Here onVisuadoCreateButtonClicked");
|
|
3201
|
+
const v = await N.value.takePhoto(), A = N.value.getCurrentCamera(), j = new Tt(v, A);
|
|
3202
|
+
D("onVisuadoCreateButtonClicked", j);
|
|
3174
3203
|
}
|
|
3175
|
-
function it(
|
|
3176
|
-
let A = me(i.value,
|
|
3177
|
-
return A &&
|
|
3204
|
+
function it(v) {
|
|
3205
|
+
let A = me(i.value, v);
|
|
3206
|
+
return A && V.value && !A.startsWith("blob:") && (A = A + `?v=${Date.now()}`), A;
|
|
3178
3207
|
}
|
|
3179
|
-
async function rt(
|
|
3180
|
-
const A = it(
|
|
3208
|
+
async function rt(v) {
|
|
3209
|
+
const A = it(v);
|
|
3181
3210
|
try {
|
|
3182
3211
|
return (await ct.get(A)).data;
|
|
3183
|
-
} catch (
|
|
3184
|
-
throw new Error(
|
|
3212
|
+
} catch (j) {
|
|
3213
|
+
throw new Error(j);
|
|
3185
3214
|
}
|
|
3186
3215
|
}
|
|
3187
|
-
function
|
|
3188
|
-
|
|
3216
|
+
function hn(v) {
|
|
3217
|
+
N.value.updateSettings(v);
|
|
3189
3218
|
}
|
|
3190
|
-
function
|
|
3191
|
-
|
|
3219
|
+
function gn(v) {
|
|
3220
|
+
D("saveSettings", v);
|
|
3192
3221
|
}
|
|
3193
|
-
function
|
|
3194
|
-
if (
|
|
3222
|
+
function yn(v) {
|
|
3223
|
+
if (v === void 0)
|
|
3195
3224
|
return null;
|
|
3196
|
-
const A = Math.floor(
|
|
3197
|
-
return { hours: A, minutes:
|
|
3225
|
+
const A = Math.floor(v), j = Math.floor((A - v) * 60);
|
|
3226
|
+
return { hours: A, minutes: j };
|
|
3198
3227
|
}
|
|
3199
3228
|
const Oe = b(!1), Et = b(null), _t = b(1);
|
|
3200
3229
|
function Mt() {
|
|
3201
3230
|
if (Oe.value) {
|
|
3202
|
-
clearInterval(Et.value), Oe.value = !1,
|
|
3231
|
+
clearInterval(Et.value), Oe.value = !1, N.value.toggleAutoRotate();
|
|
3203
3232
|
return;
|
|
3204
3233
|
}
|
|
3205
|
-
Oe.value = !0,
|
|
3206
|
-
_t.value = 1 * _t.value,
|
|
3234
|
+
Oe.value = !0, N.value.toggleAutoRotate(), Et.value = setInterval(() => {
|
|
3235
|
+
_t.value = 1 * _t.value, N.value.setAutoRotateSpeed(_t.value), lt();
|
|
3207
3236
|
}, 5e3);
|
|
3208
3237
|
}
|
|
3209
|
-
return (
|
|
3210
|
-
const
|
|
3211
|
-
return u(),
|
|
3238
|
+
return (v, A) => {
|
|
3239
|
+
const j = I("v-btn");
|
|
3240
|
+
return u(), L("div", {
|
|
3212
3241
|
class: ce(["virtual-tour-wrapper", [oe.value]])
|
|
3213
3242
|
}, [
|
|
3214
|
-
ke.value ? (u(),
|
|
3215
|
-
e("div",
|
|
3216
|
-
!Me.value.isActive &&
|
|
3243
|
+
ke.value ? (u(), L("div", xl, "Error loading the player!!")) : M("", !0),
|
|
3244
|
+
e("div", Ll, [
|
|
3245
|
+
!Me.value.isActive && P.value && Z.value && k.value && G.value && fe.value ? (u(), T(Vt, {
|
|
3217
3246
|
key: 0,
|
|
3218
3247
|
"cdn-file-resolver": p(i),
|
|
3219
|
-
"apartment-json":
|
|
3248
|
+
"apartment-json": B.value,
|
|
3220
3249
|
level: He.value,
|
|
3221
|
-
"minimap-json":
|
|
3250
|
+
"minimap-json": P.value,
|
|
3222
3251
|
rotation: he.value,
|
|
3223
|
-
"current-camera":
|
|
3252
|
+
"current-camera": Z.value,
|
|
3224
3253
|
onClose: A[0] || (A[0] = (de) => fe.value = !1)
|
|
3225
|
-
}, null, 8, ["cdn-file-resolver", "apartment-json", "level", "minimap-json", "rotation", "current-camera"])) :
|
|
3226
|
-
G.value && re.value ? (u(),
|
|
3254
|
+
}, null, 8, ["cdn-file-resolver", "apartment-json", "level", "minimap-json", "rotation", "current-camera"])) : M("", !0),
|
|
3255
|
+
G.value && re.value ? (u(), L("div", {
|
|
3227
3256
|
key: 1,
|
|
3228
3257
|
class: ce(["v-player", [oe.value]])
|
|
3229
3258
|
}, [
|
|
3230
|
-
|
|
3259
|
+
g(ao, {
|
|
3231
3260
|
ref_key: "vPlayerInstance",
|
|
3232
3261
|
ref: ft,
|
|
3233
3262
|
"cdn-file-resolver": p(i),
|
|
@@ -3237,30 +3266,30 @@ const Cl = {
|
|
|
3237
3266
|
"mouse-sensitivity": p(q),
|
|
3238
3267
|
"interior-id": G.value,
|
|
3239
3268
|
"apartment-id": p(a),
|
|
3240
|
-
onNewCameraCallback:
|
|
3241
|
-
onNewRotationCallback:
|
|
3269
|
+
onNewCameraCallback: on,
|
|
3270
|
+
onNewRotationCallback: ln,
|
|
3242
3271
|
onNewFloorCallback: Lt,
|
|
3243
|
-
onNewFovCallback:
|
|
3244
|
-
onNewSizeCallback:
|
|
3245
|
-
onSunsimCallback:
|
|
3246
|
-
onPlayerApiCallback:
|
|
3272
|
+
onNewFovCallback: sn,
|
|
3273
|
+
onNewSizeCallback: rn,
|
|
3274
|
+
onSunsimCallback: an,
|
|
3275
|
+
onPlayerApiCallback: un
|
|
3247
3276
|
}, {
|
|
3248
|
-
"slideshow-image":
|
|
3249
|
-
pe.value ? (u(), T(
|
|
3277
|
+
"slideshow-image": m(() => [
|
|
3278
|
+
pe.value ? (u(), T(bl, {
|
|
3250
3279
|
key: 0,
|
|
3251
3280
|
image: Te.value
|
|
3252
|
-
}, null, 8, ["image"])) :
|
|
3281
|
+
}, null, 8, ["image"])) : M("", !0)
|
|
3253
3282
|
]),
|
|
3254
|
-
"top-left":
|
|
3255
|
-
p(
|
|
3283
|
+
"top-left": m(() => [
|
|
3284
|
+
p(V) ? (u(), T(j, {
|
|
3256
3285
|
key: 0,
|
|
3257
3286
|
density: "comfortable",
|
|
3258
3287
|
icon: "mdi-cog-outline",
|
|
3259
3288
|
elevation: "3",
|
|
3260
3289
|
class: "mr-2",
|
|
3261
3290
|
onClick: A[1] || (A[1] = (de) => ve.value = !ve.value)
|
|
3262
|
-
})) :
|
|
3263
|
-
Ke(
|
|
3291
|
+
})) : M("", !0),
|
|
3292
|
+
Ke(g(j, {
|
|
3264
3293
|
density: "comfortable",
|
|
3265
3294
|
icon: "mdi-alert-outline",
|
|
3266
3295
|
elevation: "3",
|
|
@@ -3269,7 +3298,7 @@ const Cl = {
|
|
|
3269
3298
|
}, null, 512), [
|
|
3270
3299
|
[ut, ue.value]
|
|
3271
3300
|
]),
|
|
3272
|
-
|
|
3301
|
+
P.value && re.value && k.value ? Ke((u(), T(j, {
|
|
3273
3302
|
key: 1,
|
|
3274
3303
|
density: "comfortable",
|
|
3275
3304
|
elevation: "3",
|
|
@@ -3278,137 +3307,140 @@ const Cl = {
|
|
|
3278
3307
|
onClick: A[3] || (A[3] = (de) => fe.value = !fe.value)
|
|
3279
3308
|
}, null, 512)), [
|
|
3280
3309
|
[ut, ue.value]
|
|
3281
|
-
]) :
|
|
3282
|
-
ue.value && p(x) && tt.value.length > 1 ? (u(), T(
|
|
3310
|
+
]) : M("", !0),
|
|
3311
|
+
ue.value && p(x) && tt.value.length > 1 ? (u(), T(co, {
|
|
3283
3312
|
key: 2,
|
|
3284
3313
|
level: xe.value,
|
|
3285
3314
|
"floor-levels": tt.value,
|
|
3286
3315
|
onLevel: Lt
|
|
3287
|
-
}, null, 8, ["level", "floor-levels"])) :
|
|
3288
|
-
p(
|
|
3289
|
-
|
|
3316
|
+
}, null, 8, ["level", "floor-levels"])) : M("", !0),
|
|
3317
|
+
p(V) && ve.value ? (u(), L("div", Il, [
|
|
3318
|
+
g(Ma, {
|
|
3290
3319
|
"initial-settings": p(J),
|
|
3291
|
-
onUpdateSettings:
|
|
3292
|
-
onSaveSettings:
|
|
3320
|
+
onUpdateSettings: hn,
|
|
3321
|
+
onSaveSettings: gn
|
|
3293
3322
|
}, null, 8, ["initial-settings"])
|
|
3294
|
-
])) :
|
|
3323
|
+
])) : M("", !0)
|
|
3295
3324
|
]),
|
|
3296
|
-
"top-center":
|
|
3297
|
-
"top-right":
|
|
3298
|
-
|
|
3299
|
-
|
|
3325
|
+
"top-center": m(() => []),
|
|
3326
|
+
"top-right": m(() => [
|
|
3327
|
+
B.value && p(S) ? Ke((u(), L("div", El, [
|
|
3328
|
+
g(ko, { rotation: he.value }, null, 8, ["rotation"])
|
|
3300
3329
|
], 512)), [
|
|
3301
3330
|
[ut, ue.value]
|
|
3302
|
-
]) :
|
|
3331
|
+
]) : M("", !0),
|
|
3303
3332
|
e("div", {
|
|
3304
3333
|
onClick: A[4] || (A[4] = (de) => fe.value = !fe.value)
|
|
3305
3334
|
}, [
|
|
3306
|
-
ue.value &&
|
|
3335
|
+
ue.value && B.value && $.value && p(_) ? (u(), T(Io, {
|
|
3307
3336
|
key: 0,
|
|
3308
3337
|
hours: te.value.hours,
|
|
3309
3338
|
minutes: te.value.minutes,
|
|
3310
3339
|
class: "time-of-day",
|
|
3311
3340
|
style: ne({
|
|
3312
|
-
cursor:
|
|
3341
|
+
cursor: P.value && Z.value && k.value ? "pointer" : "default"
|
|
3313
3342
|
})
|
|
3314
|
-
}, null, 8, ["hours", "minutes", "style"])) :
|
|
3343
|
+
}, null, 8, ["hours", "minutes", "style"])) : M("", !0)
|
|
3315
3344
|
])
|
|
3316
3345
|
]),
|
|
3317
|
-
"center-left":
|
|
3318
|
-
|
|
3319
|
-
default:
|
|
3320
|
-
pe.value ? (u(), T(
|
|
3346
|
+
"center-left": m(() => [
|
|
3347
|
+
g(Fe, { name: "slide-x-transition" }, {
|
|
3348
|
+
default: m(() => [
|
|
3349
|
+
pe.value ? (u(), T(j, {
|
|
3321
3350
|
key: 0,
|
|
3322
3351
|
density: "comfortable",
|
|
3323
3352
|
elevation: "3",
|
|
3324
3353
|
icon: "mdi-chevron-left",
|
|
3325
3354
|
onClick: gt
|
|
3326
|
-
})) :
|
|
3355
|
+
})) : M("", !0)
|
|
3327
3356
|
]),
|
|
3328
3357
|
_: 1
|
|
3329
3358
|
})
|
|
3330
3359
|
]),
|
|
3331
|
-
"center-center":
|
|
3332
|
-
z.value ? (u(), T(
|
|
3360
|
+
"center-center": m(() => [
|
|
3361
|
+
z.value ? (u(), T(da, {
|
|
3333
3362
|
key: 0,
|
|
3334
3363
|
onCloseTutorial: A[5] || (A[5] = (de) => qe(de))
|
|
3335
|
-
})) :
|
|
3336
|
-
Me.value.isActive &&
|
|
3364
|
+
})) : M("", !0),
|
|
3365
|
+
Me.value.isActive && P.value && Z.value && k.value && fe.value ? (u(), T(Vt, {
|
|
3337
3366
|
key: 1,
|
|
3338
3367
|
"cdn-file-resolver": p(i),
|
|
3339
|
-
"apartment-json":
|
|
3340
|
-
"minimap-json":
|
|
3368
|
+
"apartment-json": B.value,
|
|
3369
|
+
"minimap-json": P.value,
|
|
3341
3370
|
rotation: he.value,
|
|
3342
|
-
"current-camera":
|
|
3371
|
+
"current-camera": Z.value,
|
|
3343
3372
|
level: He.value,
|
|
3344
3373
|
onClose: A[6] || (A[6] = (de) => fe.value = !1)
|
|
3345
|
-
}, null, 8, ["cdn-file-resolver", "apartment-json", "minimap-json", "rotation", "current-camera", "level"])) :
|
|
3374
|
+
}, null, 8, ["cdn-file-resolver", "apartment-json", "minimap-json", "rotation", "current-camera", "level"])) : M("", !0)
|
|
3346
3375
|
]),
|
|
3347
|
-
"center-right":
|
|
3348
|
-
|
|
3349
|
-
default:
|
|
3350
|
-
pe.value ? (u(), T(
|
|
3376
|
+
"center-right": m(() => [
|
|
3377
|
+
g(Fe, { name: "slide-x-reverse-transition" }, {
|
|
3378
|
+
default: m(() => [
|
|
3379
|
+
pe.value ? (u(), T(j, {
|
|
3351
3380
|
key: 0,
|
|
3352
3381
|
density: "comfortable",
|
|
3353
3382
|
elevation: "3",
|
|
3354
3383
|
icon: "mdi-chevron-right",
|
|
3355
3384
|
onClick: lt
|
|
3356
|
-
})) :
|
|
3385
|
+
})) : M("", !0)
|
|
3357
3386
|
]),
|
|
3358
3387
|
_: 1
|
|
3359
3388
|
})
|
|
3360
3389
|
]),
|
|
3361
|
-
"bottom-left":
|
|
3362
|
-
p(O) ? (u(), T(
|
|
3390
|
+
"bottom-left": m(() => [
|
|
3391
|
+
p(O) ? (u(), T(Pt, {
|
|
3363
3392
|
key: 0,
|
|
3364
3393
|
"is-full-screen": Me.value.isActive,
|
|
3365
3394
|
class: "btn-fullscreen",
|
|
3366
|
-
onToggleFullscreen:
|
|
3367
|
-
}, null, 8, ["is-full-screen"])) :
|
|
3368
|
-
p(C) ? (u(),
|
|
3369
|
-
|
|
3395
|
+
onToggleFullscreen: mn
|
|
3396
|
+
}, null, 8, ["is-full-screen"])) : M("", !0),
|
|
3397
|
+
p(C) ? (u(), L("div", Ml, [
|
|
3398
|
+
g(j, {
|
|
3370
3399
|
density: "comfortable",
|
|
3371
3400
|
elevation: "3",
|
|
3372
3401
|
icon: "mdi-camera",
|
|
3373
3402
|
onClick: It
|
|
3374
3403
|
})
|
|
3375
|
-
])) :
|
|
3376
|
-
e("div",
|
|
3377
|
-
p(h) && ue.value ? (u(), T(
|
|
3404
|
+
])) : M("", !0),
|
|
3405
|
+
e("div", Fl, [
|
|
3406
|
+
p(h) && ue.value ? (u(), T(To, {
|
|
3378
3407
|
key: 0,
|
|
3379
3408
|
"show-static-image": pe.value,
|
|
3380
|
-
onToggle:
|
|
3381
|
-
}, null, 8, ["show-static-image"])) :
|
|
3409
|
+
onToggle: pn
|
|
3410
|
+
}, null, 8, ["show-static-image"])) : M("", !0)
|
|
3382
3411
|
]),
|
|
3383
|
-
ue.value && p(c) && !Me.value.isActive ? (u(),
|
|
3384
|
-
|
|
3385
|
-
])) :
|
|
3412
|
+
ue.value && p(c) && !Me.value.isActive ? (u(), L("div", Vl, [
|
|
3413
|
+
g(Wt)
|
|
3414
|
+
])) : M("", !0),
|
|
3415
|
+
ue.value && v.showVisuadoCreateButton ? (u(), L("div", Dl, [
|
|
3416
|
+
g(Al, { onOnSnapshot: fn })
|
|
3417
|
+
])) : M("", !0)
|
|
3386
3418
|
]),
|
|
3387
|
-
"bottom-center":
|
|
3388
|
-
|
|
3389
|
-
default:
|
|
3419
|
+
"bottom-center": m(() => [
|
|
3420
|
+
g(Fe, null, {
|
|
3421
|
+
default: m(() => [
|
|
3390
3422
|
e("div", null, [
|
|
3391
3423
|
e("div", {
|
|
3392
3424
|
class: ce(["d-flex justify-center", {
|
|
3393
3425
|
"mb-2": !se.value
|
|
3394
3426
|
}])
|
|
3395
3427
|
}, [
|
|
3396
|
-
!Oe.value && Ye.value(
|
|
3428
|
+
!Oe.value && Ye.value(Z.value) ? (u(), T(cl, {
|
|
3397
3429
|
key: 0,
|
|
3398
3430
|
class: "ml-2",
|
|
3399
3431
|
displaySunsim: ge.value,
|
|
3400
3432
|
showUI: ue.value,
|
|
3401
3433
|
onToggleSunStudy: A[7] || (A[7] = (de) => ge.value = !ge.value)
|
|
3402
|
-
}, null, 8, ["displaySunsim", "showUI"])) :
|
|
3434
|
+
}, null, 8, ["displaySunsim", "showUI"])) : M("", !0)
|
|
3403
3435
|
], 2),
|
|
3404
|
-
!se.value && !Oe.value && re.value && ge.value && Ye.value(
|
|
3436
|
+
!se.value && !Oe.value && re.value && ge.value && Ye.value(Z.value) && je(Z.value)[0] && Be.value ? (u(), T(Dt, {
|
|
3405
3437
|
key: 0,
|
|
3406
3438
|
class: "sunsim-slider-desktop",
|
|
3407
|
-
"current-day": Ye.value(
|
|
3439
|
+
"current-day": Ye.value(Z.value) ? je(Z.value)[0] : void 0,
|
|
3408
3440
|
"current-time": Be.value,
|
|
3409
3441
|
onOnTimeChange: xt,
|
|
3410
3442
|
onToggleSunStudy: A[8] || (A[8] = (de) => ge.value = !ge.value)
|
|
3411
|
-
}, null, 8, ["current-day", "current-time"])) :
|
|
3443
|
+
}, null, 8, ["current-day", "current-time"])) : M("", !0),
|
|
3412
3444
|
!se.value && ue.value && p(f) ? (u(), T(vt, {
|
|
3413
3445
|
key: 1,
|
|
3414
3446
|
class: ce([Me.value.isActive ? "full-screen" : ""]),
|
|
@@ -3419,36 +3451,36 @@ const Cl = {
|
|
|
3419
3451
|
onPrevious: gt,
|
|
3420
3452
|
onGoto: yt
|
|
3421
3453
|
}, {
|
|
3422
|
-
before:
|
|
3423
|
-
|
|
3454
|
+
before: m(() => [
|
|
3455
|
+
v.enableAutoplay && ue.value && !se.value ? (u(), T(Bt, {
|
|
3424
3456
|
key: 0,
|
|
3425
3457
|
autoplayStatus: Oe.value,
|
|
3426
3458
|
onToggleAutoPlay: A[9] || (A[9] = (de) => Mt())
|
|
3427
|
-
}, null, 8, ["autoplayStatus"])) :
|
|
3459
|
+
}, null, 8, ["autoplayStatus"])) : M("", !0)
|
|
3428
3460
|
]),
|
|
3429
3461
|
_: 1
|
|
3430
|
-
}, 8, ["class", "thumbnails", "active", "cameraHasSunStudy"])) :
|
|
3462
|
+
}, 8, ["class", "thumbnails", "active", "cameraHasSunStudy"])) : M("", !0)
|
|
3431
3463
|
])
|
|
3432
3464
|
]),
|
|
3433
3465
|
_: 1
|
|
3434
3466
|
})
|
|
3435
3467
|
]),
|
|
3436
|
-
"bottom-right":
|
|
3437
|
-
e("div",
|
|
3438
|
-
ue.value && p(d) && at.value ? (u(), T(
|
|
3468
|
+
"bottom-right": m(() => [
|
|
3469
|
+
e("div", Bl, [
|
|
3470
|
+
ue.value && p(d) && at.value ? (u(), T(_o, {
|
|
3439
3471
|
key: 0,
|
|
3440
3472
|
"cdn-file-resolver": p(i),
|
|
3441
3473
|
"available-archetypes": at.value,
|
|
3442
3474
|
"selected-index": nt.value,
|
|
3443
3475
|
onSelectInterior: At
|
|
3444
|
-
}, null, 8, ["cdn-file-resolver", "available-archetypes", "selected-index"])) :
|
|
3476
|
+
}, null, 8, ["cdn-file-resolver", "available-archetypes", "selected-index"])) : M("", !0)
|
|
3445
3477
|
])
|
|
3446
3478
|
]),
|
|
3447
3479
|
_: 1
|
|
3448
3480
|
}, 8, ["cdn-file-resolver", "style", "show-static-image", "current-camera-id", "mouse-sensitivity", "interior-id", "apartment-id"]),
|
|
3449
|
-
|
|
3450
|
-
default:
|
|
3451
|
-
p(f) &&
|
|
3481
|
+
g(Fe, null, {
|
|
3482
|
+
default: m(() => [
|
|
3483
|
+
p(f) && Q.value && se.value && ue.value ? (u(), T(vt, {
|
|
3452
3484
|
key: 0,
|
|
3453
3485
|
class: "waypoint-carousel below-player",
|
|
3454
3486
|
thumbnails: ye.value,
|
|
@@ -3458,105 +3490,105 @@ const Cl = {
|
|
|
3458
3490
|
onPrevious: gt,
|
|
3459
3491
|
onGoto: yt
|
|
3460
3492
|
}, {
|
|
3461
|
-
before:
|
|
3462
|
-
|
|
3493
|
+
before: m(() => [
|
|
3494
|
+
v.enableAutoplay && ue.value ? (u(), T(Bt, {
|
|
3463
3495
|
key: 0,
|
|
3464
3496
|
autoplayStatus: Oe.value,
|
|
3465
3497
|
onToggleAutoPlay: A[10] || (A[10] = (de) => Mt())
|
|
3466
|
-
}, null, 8, ["autoplayStatus"])) :
|
|
3498
|
+
}, null, 8, ["autoplayStatus"])) : M("", !0)
|
|
3467
3499
|
]),
|
|
3468
3500
|
_: 1
|
|
3469
|
-
}, 8, ["thumbnails", "active", "cameraHasSunStudy"])) :
|
|
3501
|
+
}, 8, ["thumbnails", "active", "cameraHasSunStudy"])) : M("", !0)
|
|
3470
3502
|
]),
|
|
3471
3503
|
_: 1
|
|
3472
3504
|
}),
|
|
3473
|
-
se.value ? (u(),
|
|
3474
|
-
!Oe.value && re.value && ge.value && Ye.value(
|
|
3505
|
+
se.value ? (u(), L("div", Tl, [
|
|
3506
|
+
!Oe.value && re.value && ge.value && Ye.value(Z.value) && je(Z.value)[0] && Be.value ? (u(), T(Dt, {
|
|
3475
3507
|
key: 0,
|
|
3476
3508
|
class: "mt-1",
|
|
3477
|
-
"current-day": Ye.value(
|
|
3509
|
+
"current-day": Ye.value(Z.value) ? je(Z.value)[0] : void 0,
|
|
3478
3510
|
"current-time": Be.value,
|
|
3479
3511
|
onOnTimeChange: xt,
|
|
3480
3512
|
onToggleSunStudy: A[11] || (A[11] = (de) => ge.value = !ge.value)
|
|
3481
|
-
}, null, 8, ["current-day", "current-time"])) :
|
|
3482
|
-
])) :
|
|
3483
|
-
], 2)) :
|
|
3484
|
-
p(Ae) && p(U) ? (u(),
|
|
3513
|
+
}, null, 8, ["current-day", "current-time"])) : M("", !0)
|
|
3514
|
+
])) : M("", !0)
|
|
3515
|
+
], 2)) : M("", !0),
|
|
3516
|
+
p(Ae) && p(U) ? (u(), L("div", Ol, " version: " + H(p(Ae)), 1)) : M("", !0)
|
|
3485
3517
|
])
|
|
3486
3518
|
], 2);
|
|
3487
3519
|
};
|
|
3488
3520
|
}
|
|
3489
|
-
}),
|
|
3521
|
+
}), Rl = /* @__PURE__ */ X($l, [["__scopeId", "data-v-8375f5bf"]]), Hl = { id: "player-wrapper" }, Yl = { id: "player-sizer" }, Ul = {
|
|
3490
3522
|
class: "player-control",
|
|
3491
3523
|
id: "controls-top-left"
|
|
3492
|
-
},
|
|
3524
|
+
}, zl = {
|
|
3493
3525
|
class: "player-control",
|
|
3494
3526
|
id: "controls-top-center"
|
|
3495
|
-
},
|
|
3527
|
+
}, jl = {
|
|
3496
3528
|
class: "player-control",
|
|
3497
3529
|
id: "controls-top-right"
|
|
3498
|
-
},
|
|
3530
|
+
}, Wl = {
|
|
3499
3531
|
class: "player-control",
|
|
3500
3532
|
id: "controls-center-left"
|
|
3501
|
-
},
|
|
3533
|
+
}, Pl = {
|
|
3502
3534
|
class: "player-control",
|
|
3503
3535
|
id: "controls-center-center"
|
|
3504
|
-
},
|
|
3536
|
+
}, Ql = {
|
|
3505
3537
|
class: "player-control",
|
|
3506
3538
|
id: "controls-center-right"
|
|
3507
|
-
},
|
|
3539
|
+
}, Nl = {
|
|
3508
3540
|
class: "player-control",
|
|
3509
3541
|
id: "controls-bottom-left"
|
|
3510
|
-
},
|
|
3542
|
+
}, Zl = {
|
|
3511
3543
|
class: "player-control",
|
|
3512
3544
|
id: "controls-bottom-center"
|
|
3513
|
-
},
|
|
3545
|
+
}, ql = {
|
|
3514
3546
|
class: "player-control",
|
|
3515
3547
|
id: "controls-bottom-right"
|
|
3516
|
-
},
|
|
3548
|
+
}, Jl = /* @__PURE__ */ W({
|
|
3517
3549
|
__name: "VManualSlideShowPlayer",
|
|
3518
3550
|
props: {
|
|
3519
3551
|
isFullScreen: { type: Boolean }
|
|
3520
3552
|
},
|
|
3521
3553
|
emits: ["newSizeCallback"],
|
|
3522
3554
|
setup(t, { emit: n }) {
|
|
3523
|
-
return (o, l) => (u(),
|
|
3524
|
-
e("div",
|
|
3555
|
+
return (o, l) => (u(), L("div", Hl, [
|
|
3556
|
+
e("div", Yl, [
|
|
3525
3557
|
K(o.$slots, "slideshow-image", {}, void 0, !0),
|
|
3526
|
-
e("div",
|
|
3558
|
+
e("div", Ul, [
|
|
3527
3559
|
K(o.$slots, "top-left", {}, void 0, !0)
|
|
3528
3560
|
]),
|
|
3529
|
-
e("div",
|
|
3561
|
+
e("div", zl, [
|
|
3530
3562
|
K(o.$slots, "top-center", {}, void 0, !0)
|
|
3531
3563
|
]),
|
|
3532
|
-
e("div",
|
|
3564
|
+
e("div", jl, [
|
|
3533
3565
|
K(o.$slots, "top-right", {}, void 0, !0)
|
|
3534
3566
|
]),
|
|
3535
|
-
e("div",
|
|
3567
|
+
e("div", Wl, [
|
|
3536
3568
|
K(o.$slots, "center-left", {}, void 0, !0)
|
|
3537
3569
|
]),
|
|
3538
|
-
e("div",
|
|
3570
|
+
e("div", Pl, [
|
|
3539
3571
|
K(o.$slots, "center-center", {}, void 0, !0)
|
|
3540
3572
|
]),
|
|
3541
|
-
e("div",
|
|
3573
|
+
e("div", Ql, [
|
|
3542
3574
|
K(o.$slots, "center-right", {}, void 0, !0)
|
|
3543
3575
|
]),
|
|
3544
|
-
e("div",
|
|
3576
|
+
e("div", Nl, [
|
|
3545
3577
|
K(o.$slots, "bottom-left", {}, void 0, !0)
|
|
3546
3578
|
]),
|
|
3547
|
-
e("div",
|
|
3579
|
+
e("div", Zl, [
|
|
3548
3580
|
K(o.$slots, "bottom-center", {}, void 0, !0)
|
|
3549
3581
|
]),
|
|
3550
|
-
e("div",
|
|
3582
|
+
e("div", ql, [
|
|
3551
3583
|
K(o.$slots, "bottom-right", {}, void 0, !0)
|
|
3552
3584
|
])
|
|
3553
3585
|
])
|
|
3554
3586
|
]));
|
|
3555
3587
|
}
|
|
3556
|
-
}),
|
|
3588
|
+
}), Gl = /* @__PURE__ */ X(Jl, [["__scopeId", "data-v-5fdd1e05"]]), Kl = { class: "virtual-tour-wrapper" }, Xl = { class: "player-and-components-wrapper" }, es = { class: "mss-image" }, ts = {
|
|
3557
3589
|
key: 1,
|
|
3558
3590
|
class: "btn-placeholder"
|
|
3559
|
-
},
|
|
3591
|
+
}, ns = /* @__PURE__ */ W({
|
|
3560
3592
|
__name: "VManualSlideShow",
|
|
3561
3593
|
props: {
|
|
3562
3594
|
images: {},
|
|
@@ -3573,13 +3605,13 @@ const Cl = {
|
|
|
3573
3605
|
n.i18nConfig ? new Ne(n.i18nConfig) : new Ne()
|
|
3574
3606
|
);
|
|
3575
3607
|
const o = b(0), l = b(
|
|
3576
|
-
new
|
|
3577
|
-
), i =
|
|
3608
|
+
new Qt(document, "player-wrapper")
|
|
3609
|
+
), i = F(() => n.images.map(
|
|
3578
3610
|
(f, _) => ({
|
|
3579
3611
|
id: `image-${_}`,
|
|
3580
3612
|
thumbnailUrl: f
|
|
3581
3613
|
})
|
|
3582
|
-
)), a =
|
|
3614
|
+
)), a = F(() => i.value[o.value]);
|
|
3583
3615
|
Re(() => {
|
|
3584
3616
|
l.value.setup();
|
|
3585
3617
|
});
|
|
@@ -3594,71 +3626,71 @@ const Cl = {
|
|
|
3594
3626
|
let f = o.value - 1;
|
|
3595
3627
|
f < 0 && (f = i.value.length - 1), o.value = f;
|
|
3596
3628
|
}
|
|
3597
|
-
function
|
|
3629
|
+
function y(f, _ = !0) {
|
|
3598
3630
|
let S = i.value.findIndex(
|
|
3599
3631
|
(O) => O.id === f
|
|
3600
3632
|
);
|
|
3601
3633
|
S != -1 && (o.value = S);
|
|
3602
3634
|
}
|
|
3603
3635
|
return (f, _) => {
|
|
3604
|
-
const S =
|
|
3605
|
-
return u(),
|
|
3606
|
-
e("div",
|
|
3636
|
+
const S = I("v-img"), O = I("v-btn");
|
|
3637
|
+
return u(), L("div", Kl, [
|
|
3638
|
+
e("div", Xl, [
|
|
3607
3639
|
e("div", null, [
|
|
3608
|
-
|
|
3640
|
+
g(Gl, {
|
|
3609
3641
|
"is-full-screen": l.value.isActive
|
|
3610
3642
|
}, {
|
|
3611
|
-
"slideshow-image":
|
|
3612
|
-
e("div",
|
|
3613
|
-
|
|
3643
|
+
"slideshow-image": m(() => [
|
|
3644
|
+
e("div", es, [
|
|
3645
|
+
g(S, {
|
|
3614
3646
|
src: a.value.thumbnailUrl
|
|
3615
3647
|
}, null, 8, ["src"])
|
|
3616
3648
|
])
|
|
3617
3649
|
]),
|
|
3618
|
-
"top-left":
|
|
3619
|
-
"top-center":
|
|
3620
|
-
"top-right":
|
|
3621
|
-
"center-left":
|
|
3622
|
-
|
|
3623
|
-
default:
|
|
3650
|
+
"top-left": m(() => []),
|
|
3651
|
+
"top-center": m(() => []),
|
|
3652
|
+
"top-right": m(() => []),
|
|
3653
|
+
"center-left": m(() => [
|
|
3654
|
+
g(Fe, { name: "slide-x-transition" }, {
|
|
3655
|
+
default: m(() => [
|
|
3624
3656
|
i.value.length > 1 ? (u(), T(O, {
|
|
3625
3657
|
key: 0,
|
|
3626
3658
|
density: "comfortable",
|
|
3627
3659
|
elevation: "3",
|
|
3628
3660
|
icon: "mdi-chevron-left",
|
|
3629
3661
|
onClick: h
|
|
3630
|
-
})) :
|
|
3662
|
+
})) : M("", !0)
|
|
3631
3663
|
]),
|
|
3632
3664
|
_: 1
|
|
3633
3665
|
})
|
|
3634
3666
|
]),
|
|
3635
|
-
"center-center":
|
|
3636
|
-
"center-right":
|
|
3637
|
-
|
|
3638
|
-
default:
|
|
3667
|
+
"center-center": m(() => []),
|
|
3668
|
+
"center-right": m(() => [
|
|
3669
|
+
g(Fe, { name: "slide-x-reverse-transition" }, {
|
|
3670
|
+
default: m(() => [
|
|
3639
3671
|
i.value.length > 1 ? (u(), T(O, {
|
|
3640
3672
|
key: 0,
|
|
3641
3673
|
density: "comfortable",
|
|
3642
3674
|
elevation: "3",
|
|
3643
3675
|
icon: "mdi-chevron-right",
|
|
3644
3676
|
onClick: r
|
|
3645
|
-
})) :
|
|
3677
|
+
})) : M("", !0)
|
|
3646
3678
|
]),
|
|
3647
3679
|
_: 1
|
|
3648
3680
|
})
|
|
3649
3681
|
]),
|
|
3650
|
-
"bottom-left":
|
|
3651
|
-
f.showFullScreen ? (u(), T(
|
|
3682
|
+
"bottom-left": m(() => [
|
|
3683
|
+
f.showFullScreen ? (u(), T(Pt, {
|
|
3652
3684
|
key: 0,
|
|
3653
3685
|
"is-full-screen": l.value.isActive,
|
|
3654
3686
|
class: "btn-fullscreen",
|
|
3655
3687
|
onToggleFullscreen: s
|
|
3656
|
-
}, null, 8, ["is-full-screen"])) :
|
|
3657
|
-
f.showShare ? (u(),
|
|
3658
|
-
|
|
3659
|
-
])) :
|
|
3688
|
+
}, null, 8, ["is-full-screen"])) : M("", !0),
|
|
3689
|
+
f.showShare ? (u(), L("div", ts, [
|
|
3690
|
+
g(Wt)
|
|
3691
|
+
])) : M("", !0)
|
|
3660
3692
|
]),
|
|
3661
|
-
"bottom-center":
|
|
3693
|
+
"bottom-center": m(() => [
|
|
3662
3694
|
e("div", null, [
|
|
3663
3695
|
l.value.isActive && i.value.length > 1 ? (u(), T(vt, {
|
|
3664
3696
|
key: 0,
|
|
@@ -3667,11 +3699,11 @@ const Cl = {
|
|
|
3667
3699
|
active: o.value,
|
|
3668
3700
|
onNext: r,
|
|
3669
3701
|
onPrevious: h,
|
|
3670
|
-
onGoto:
|
|
3671
|
-
}, null, 8, ["class", "thumbnails", "active"])) :
|
|
3702
|
+
onGoto: y
|
|
3703
|
+
}, null, 8, ["class", "thumbnails", "active"])) : M("", !0)
|
|
3672
3704
|
])
|
|
3673
3705
|
]),
|
|
3674
|
-
"bottom-right":
|
|
3706
|
+
"bottom-right": m(() => []),
|
|
3675
3707
|
_: 1
|
|
3676
3708
|
}, 8, ["is-full-screen"]),
|
|
3677
3709
|
i.value.length > 1 ? (u(), T(vt, {
|
|
@@ -3680,14 +3712,14 @@ const Cl = {
|
|
|
3680
3712
|
active: o.value,
|
|
3681
3713
|
onNext: r,
|
|
3682
3714
|
onPrevious: h,
|
|
3683
|
-
onGoto:
|
|
3684
|
-
}, null, 8, ["thumbnails", "active"])) :
|
|
3715
|
+
onGoto: y
|
|
3716
|
+
}, null, 8, ["thumbnails", "active"])) : M("", !0)
|
|
3685
3717
|
])
|
|
3686
3718
|
])
|
|
3687
3719
|
]);
|
|
3688
3720
|
};
|
|
3689
3721
|
}
|
|
3690
|
-
}),
|
|
3722
|
+
}), os = /* @__PURE__ */ X(ns, [["__scopeId", "data-v-373ac320"]]), as = /* @__PURE__ */ W({
|
|
3691
3723
|
__name: "VMiniMap",
|
|
3692
3724
|
props: {
|
|
3693
3725
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -3700,25 +3732,25 @@ const Cl = {
|
|
|
3700
3732
|
},
|
|
3701
3733
|
emits: ["apartmentJsonLoaded", "minimapJsonLoaded", "cameraSet"],
|
|
3702
3734
|
setup(t, { emit: n }) {
|
|
3703
|
-
const l = _e(t), i = n, a = b(), s = b(), r = b(), h = b(0),
|
|
3735
|
+
const l = _e(t), i = n, a = b(), s = b(), r = b(), h = b(0), y = b(), f = b(1), _ = F(() => l.currentCamera.value ? l.currentCamera.value : a.value ? a.value.cameras[0].id : null), S = F(() => ({
|
|
3704
3736
|
transformOrigin: "top left",
|
|
3705
3737
|
transform: `scale(${f.value})`
|
|
3706
3738
|
}));
|
|
3707
|
-
Y(
|
|
3708
|
-
|
|
3739
|
+
Y(y, () => {
|
|
3740
|
+
y.value && new ResizeObserver(([w]) => {
|
|
3709
3741
|
const x = w.target.parentElement, E = x.parentElement;
|
|
3710
3742
|
f.value = E.clientWidth / 512, x.style.height = `${w.contentRect.height * f.value}px`;
|
|
3711
|
-
}).observe(
|
|
3743
|
+
}).observe(y.value);
|
|
3712
3744
|
}), Y(_, () => {
|
|
3713
3745
|
i("cameraSet", _.value);
|
|
3714
3746
|
});
|
|
3715
|
-
const O =
|
|
3747
|
+
const O = F(() => {
|
|
3716
3748
|
const w = me(l.cdnFileResolver.value, "").replace(
|
|
3717
3749
|
`/${a.value.type}/${a.value.id}`,
|
|
3718
3750
|
""
|
|
3719
3751
|
);
|
|
3720
3752
|
return (x) => `${w}${x}`;
|
|
3721
|
-
}), C =
|
|
3753
|
+
}), C = F(() => {
|
|
3722
3754
|
var d;
|
|
3723
3755
|
return (d = s.value) == null ? void 0 : d.storeys[l.level.value || 0];
|
|
3724
3756
|
});
|
|
@@ -3746,24 +3778,24 @@ const Cl = {
|
|
|
3746
3778
|
r.value = d;
|
|
3747
3779
|
}
|
|
3748
3780
|
return (d, w) => {
|
|
3749
|
-
const x =
|
|
3781
|
+
const x = I("v-skeleton-loader");
|
|
3750
3782
|
return u(), T(x, {
|
|
3751
3783
|
loading: !a.value || !s.value
|
|
3752
3784
|
}, {
|
|
3753
|
-
default:
|
|
3785
|
+
default: m(() => [
|
|
3754
3786
|
e("div", null, [
|
|
3755
3787
|
e("div", {
|
|
3756
3788
|
style: ne({ ...S.value, position: "relative" }),
|
|
3757
3789
|
ref_key: "fitContainer",
|
|
3758
|
-
ref:
|
|
3790
|
+
ref: y
|
|
3759
3791
|
}, [
|
|
3760
|
-
d.hideCompass !== !0 ? (u(), T(
|
|
3792
|
+
d.hideCompass !== !0 ? (u(), T(zt, {
|
|
3761
3793
|
key: 0,
|
|
3762
3794
|
scale: d.compassScale || 1,
|
|
3763
3795
|
rotation: C.value.rotation.y,
|
|
3764
3796
|
"transform-angle": h.value
|
|
3765
|
-
}, null, 8, ["scale", "rotation", "transform-angle"])) :
|
|
3766
|
-
|
|
3797
|
+
}, null, 8, ["scale", "rotation", "transform-angle"])) : M("", !0),
|
|
3798
|
+
g(Ut, {
|
|
3767
3799
|
"transform-angle": h.value,
|
|
3768
3800
|
"all-cameras": a.value.cameras,
|
|
3769
3801
|
"background-image": r.value,
|
|
@@ -3774,24 +3806,24 @@ const Cl = {
|
|
|
3774
3806
|
containerHeight: 384,
|
|
3775
3807
|
fit: ""
|
|
3776
3808
|
}, {
|
|
3777
|
-
default:
|
|
3809
|
+
default: m(({ id: E, camera: R, active: q, style: V }) => [
|
|
3778
3810
|
K(d.$slots, "default", {
|
|
3779
3811
|
id: E,
|
|
3780
3812
|
camera: R,
|
|
3781
3813
|
active: q,
|
|
3782
|
-
style: ne(
|
|
3814
|
+
style: ne(V)
|
|
3783
3815
|
}, void 0, !0)
|
|
3784
3816
|
]),
|
|
3785
3817
|
_: 3
|
|
3786
3818
|
}, 8, ["transform-angle", "all-cameras", "background-image", "rotation", "current-camera", "storey"]),
|
|
3787
|
-
d.hideSlider !== !0 ? (u(), T(
|
|
3819
|
+
d.hideSlider !== !0 ? (u(), T(jt, {
|
|
3788
3820
|
key: 1,
|
|
3789
3821
|
"cdn-file-resolver": O.value,
|
|
3790
3822
|
"minimap-json": s.value,
|
|
3791
3823
|
"apartment-json": a.value,
|
|
3792
3824
|
level: d.level || 0,
|
|
3793
3825
|
onSetBackgroundImage: c
|
|
3794
|
-
}, null, 8, ["cdn-file-resolver", "minimap-json", "apartment-json", "level"])) :
|
|
3826
|
+
}, null, 8, ["cdn-file-resolver", "minimap-json", "apartment-json", "level"])) : M("", !0)
|
|
3795
3827
|
], 4)
|
|
3796
3828
|
])
|
|
3797
3829
|
]),
|
|
@@ -3799,7 +3831,7 @@ const Cl = {
|
|
|
3799
3831
|
}, 8, ["loading"]);
|
|
3800
3832
|
};
|
|
3801
3833
|
}
|
|
3802
|
-
}),
|
|
3834
|
+
}), Gs = /* @__PURE__ */ X(as, [["__scopeId", "data-v-8077dfb5"]]), ls = ["src"], ss = /* @__PURE__ */ W({
|
|
3803
3835
|
__name: "VStructureChooserCameraDayTimeSample",
|
|
3804
3836
|
props: {
|
|
3805
3837
|
timeSampleData: {},
|
|
@@ -3815,17 +3847,17 @@ const Cl = {
|
|
|
3815
3847
|
r(a.value);
|
|
3816
3848
|
});
|
|
3817
3849
|
});
|
|
3818
|
-
const h =
|
|
3819
|
-
return (
|
|
3850
|
+
const h = F(() => me(l.value, o.value.filename));
|
|
3851
|
+
return (y, f) => (u(), L("img", {
|
|
3820
3852
|
ref_key: "image",
|
|
3821
3853
|
ref: a,
|
|
3822
3854
|
style: ne({
|
|
3823
3855
|
visibility: p(i) && p(o) === p(i) ? "visible" : "hidden"
|
|
3824
3856
|
}),
|
|
3825
3857
|
src: h.value
|
|
3826
|
-
}, null, 12,
|
|
3858
|
+
}, null, 12, ls));
|
|
3827
3859
|
}
|
|
3828
|
-
}),
|
|
3860
|
+
}), is = /* @__PURE__ */ X(ss, [["__scopeId", "data-v-c4a08195"]]), rs = /* @__PURE__ */ W({
|
|
3829
3861
|
__name: "VStructureChooserCameraDay",
|
|
3830
3862
|
props: {
|
|
3831
3863
|
dayData: {},
|
|
@@ -3835,14 +3867,14 @@ const Cl = {
|
|
|
3835
3867
|
},
|
|
3836
3868
|
setup(t) {
|
|
3837
3869
|
const n = t, { dayData: o, cdnFileResolver: l, currentTime: i } = _e(n);
|
|
3838
|
-
return (a, s) => (u(!0),
|
|
3870
|
+
return (a, s) => (u(!0), L(we, null, Ee(p(o).timeSamples, (r, h) => (u(), T(is, {
|
|
3839
3871
|
key: h,
|
|
3840
3872
|
"time-sample-data": r,
|
|
3841
3873
|
"cdn-file-resolver": p(l),
|
|
3842
3874
|
"current-time": p(i)
|
|
3843
3875
|
}, null, 8, ["time-sample-data", "cdn-file-resolver", "current-time"]))), 128));
|
|
3844
3876
|
}
|
|
3845
|
-
}),
|
|
3877
|
+
}), us = ["src"], cs = /* @__PURE__ */ W({
|
|
3846
3878
|
__name: "VStructureChooserCamera",
|
|
3847
3879
|
props: {
|
|
3848
3880
|
cameraData: {},
|
|
@@ -3860,22 +3892,22 @@ const Cl = {
|
|
|
3860
3892
|
h(s.value);
|
|
3861
3893
|
});
|
|
3862
3894
|
});
|
|
3863
|
-
const
|
|
3864
|
-
return (f, _) => p(o).sunsimDayOfYear ? (u(!0),
|
|
3895
|
+
const y = F(() => me(l.value, o.value.defaultFilename));
|
|
3896
|
+
return (f, _) => p(o).sunsimDayOfYear ? (u(!0), L(we, { key: 0 }, Ee(p(o).sunsimDayOfYear, (S, O) => (u(), T(rs, {
|
|
3865
3897
|
key: O,
|
|
3866
3898
|
"day-data": S,
|
|
3867
3899
|
"cdn-file-resolver": p(l),
|
|
3868
3900
|
"current-day": f.currentDay,
|
|
3869
3901
|
"current-time": p(a)
|
|
3870
|
-
}, null, 8, ["day-data", "cdn-file-resolver", "current-day", "current-time"]))), 128)) : (u(),
|
|
3902
|
+
}, null, 8, ["day-data", "cdn-file-resolver", "current-day", "current-time"]))), 128)) : (u(), L("img", {
|
|
3871
3903
|
key: 1,
|
|
3872
3904
|
ref_key: "image",
|
|
3873
3905
|
ref: s,
|
|
3874
3906
|
style: ne({ visibility: p(i) === p(o) ? "visible" : "hidden" }),
|
|
3875
|
-
src:
|
|
3876
|
-
}, null, 12,
|
|
3907
|
+
src: y.value
|
|
3908
|
+
}, null, 12, us));
|
|
3877
3909
|
}
|
|
3878
|
-
}),
|
|
3910
|
+
}), ds = /* @__PURE__ */ X(cs, [["__scopeId", "data-v-da694d37"]]), vs = ["src"], ms = /* @__PURE__ */ W({
|
|
3879
3911
|
__name: "VStructureChooserTransition",
|
|
3880
3912
|
props: {
|
|
3881
3913
|
transitionData: {},
|
|
@@ -3891,29 +3923,29 @@ const Cl = {
|
|
|
3891
3923
|
r(a.value);
|
|
3892
3924
|
});
|
|
3893
3925
|
});
|
|
3894
|
-
const h =
|
|
3895
|
-
return (
|
|
3926
|
+
const h = F(() => me(l.value, o.value.filename));
|
|
3927
|
+
return (y, f) => (u(), L("img", {
|
|
3896
3928
|
ref_key: "image",
|
|
3897
3929
|
ref: a,
|
|
3898
3930
|
style: ne({
|
|
3899
3931
|
visibility: p(o) === p(i) ? "visible" : "hidden"
|
|
3900
3932
|
}),
|
|
3901
3933
|
src: h.value
|
|
3902
|
-
}, null, 12,
|
|
3934
|
+
}, null, 12, vs));
|
|
3903
3935
|
}
|
|
3904
|
-
}),
|
|
3905
|
-
function
|
|
3936
|
+
}), ps = /* @__PURE__ */ X(ms, [["__scopeId", "data-v-d592c198"]]);
|
|
3937
|
+
function Ot(t) {
|
|
3906
3938
|
const n = /* @__PURE__ */ new Date(0);
|
|
3907
3939
|
return n.setUTCDate(t), n.toLocaleString("en-no", {
|
|
3908
3940
|
month: "short",
|
|
3909
3941
|
day: "numeric"
|
|
3910
3942
|
});
|
|
3911
3943
|
}
|
|
3912
|
-
const
|
|
3944
|
+
const fs = {
|
|
3913
3945
|
key: 0,
|
|
3914
3946
|
class: "d-inline-block",
|
|
3915
3947
|
style: { "vertical-align": "top" }
|
|
3916
|
-
},
|
|
3948
|
+
}, hs = /* @__PURE__ */ W({
|
|
3917
3949
|
__name: "VStructureChooserUiDayButton",
|
|
3918
3950
|
props: {
|
|
3919
3951
|
isMobileSized: { type: Boolean },
|
|
@@ -3930,21 +3962,21 @@ const ds = {
|
|
|
3930
3962
|
r(
|
|
3931
3963
|
"onDayChange",
|
|
3932
3964
|
i.value.sunsimDayOfYear.find(
|
|
3933
|
-
(
|
|
3965
|
+
(y) => y.dayOfYear === h.value
|
|
3934
3966
|
)
|
|
3935
3967
|
);
|
|
3936
|
-
}), (
|
|
3937
|
-
const _ =
|
|
3938
|
-
return p(i).sunsimDayOfYear && p(i).sunsimDayOfYear.length > 0 ? (u(),
|
|
3939
|
-
|
|
3940
|
-
activator:
|
|
3941
|
-
|
|
3968
|
+
}), (y, f) => {
|
|
3969
|
+
const _ = I("v-btn"), S = I("v-field"), O = I("v-list-item-title"), C = I("v-list-item"), c = I("v-list"), d = I("v-menu");
|
|
3970
|
+
return p(i).sunsimDayOfYear && p(i).sunsimDayOfYear.length > 0 ? (u(), L("div", fs, [
|
|
3971
|
+
g(d, null, {
|
|
3972
|
+
activator: m(({ props: w }) => [
|
|
3973
|
+
g(S, {
|
|
3942
3974
|
variant: "solo-filled",
|
|
3943
3975
|
rounded: "",
|
|
3944
3976
|
flat: ""
|
|
3945
3977
|
}, {
|
|
3946
|
-
default:
|
|
3947
|
-
|
|
3978
|
+
default: m(() => [
|
|
3979
|
+
g(_, Ie({
|
|
3948
3980
|
variant: "text",
|
|
3949
3981
|
rounded: "",
|
|
3950
3982
|
flat: "",
|
|
@@ -3954,8 +3986,8 @@ const ds = {
|
|
|
3954
3986
|
disabled: p(s),
|
|
3955
3987
|
size: p(l) ? "small" : void 0
|
|
3956
3988
|
}, w), {
|
|
3957
|
-
default:
|
|
3958
|
-
ae(H(p(
|
|
3989
|
+
default: m(() => [
|
|
3990
|
+
ae(H(p(Ot)(h.value)), 1)
|
|
3959
3991
|
]),
|
|
3960
3992
|
_: 2
|
|
3961
3993
|
}, 1040, ["readonly", "append-icon", "disabled", "size"])
|
|
@@ -3963,18 +3995,18 @@ const ds = {
|
|
|
3963
3995
|
_: 2
|
|
3964
3996
|
}, 1024)
|
|
3965
3997
|
]),
|
|
3966
|
-
default:
|
|
3967
|
-
|
|
3968
|
-
default:
|
|
3969
|
-
(u(!0),
|
|
3998
|
+
default: m(() => [
|
|
3999
|
+
g(c, null, {
|
|
4000
|
+
default: m(() => [
|
|
4001
|
+
(u(!0), L(we, null, Ee(p(i).sunsimDayOfYear, (w, x) => (u(), T(C, {
|
|
3970
4002
|
key: x,
|
|
3971
4003
|
value: x,
|
|
3972
4004
|
onClick: (E) => h.value = w.dayOfYear
|
|
3973
4005
|
}, {
|
|
3974
|
-
default:
|
|
3975
|
-
|
|
3976
|
-
default:
|
|
3977
|
-
ae(H(p(
|
|
4006
|
+
default: m(() => [
|
|
4007
|
+
g(O, null, {
|
|
4008
|
+
default: m(() => [
|
|
4009
|
+
ae(H(p(Ot)(w.dayOfYear)), 1)
|
|
3978
4010
|
]),
|
|
3979
4011
|
_: 2
|
|
3980
4012
|
}, 1024)
|
|
@@ -3987,16 +4019,16 @@ const ds = {
|
|
|
3987
4019
|
]),
|
|
3988
4020
|
_: 1
|
|
3989
4021
|
})
|
|
3990
|
-
])) :
|
|
4022
|
+
])) : M("", !0);
|
|
3991
4023
|
};
|
|
3992
4024
|
}
|
|
3993
|
-
}),
|
|
4025
|
+
}), gs = /* @__PURE__ */ X(hs, [["__scopeId", "data-v-743f5faf"]]), ys = { class: "still-camera-thumbnails-wrapper d-flex justify-center" }, _s = ["onClick"], bs = {
|
|
3994
4026
|
key: 0,
|
|
3995
4027
|
class: "camera-name text-caption text-capitalize"
|
|
3996
|
-
},
|
|
4028
|
+
}, ws = {
|
|
3997
4029
|
key: 1,
|
|
3998
4030
|
class: "icon-wrapper"
|
|
3999
|
-
},
|
|
4031
|
+
}, ks = /* @__PURE__ */ W({
|
|
4000
4032
|
__name: "VStructureChooserUiCameraThumbnails",
|
|
4001
4033
|
props: {
|
|
4002
4034
|
isMobileSized: { type: Boolean },
|
|
@@ -4013,7 +4045,7 @@ const ds = {
|
|
|
4013
4045
|
currentCamera: a,
|
|
4014
4046
|
cdnFileResolver: s,
|
|
4015
4047
|
disabled: r
|
|
4016
|
-
} = _e(o), h = b(a.value),
|
|
4048
|
+
} = _e(o), h = b(a.value), y = n;
|
|
4017
4049
|
Y(
|
|
4018
4050
|
a,
|
|
4019
4051
|
() => {
|
|
@@ -4021,7 +4053,7 @@ const ds = {
|
|
|
4021
4053
|
},
|
|
4022
4054
|
{ immediate: !0 }
|
|
4023
4055
|
), Y(h, () => {
|
|
4024
|
-
|
|
4056
|
+
y(
|
|
4025
4057
|
"onCameraChange",
|
|
4026
4058
|
i.value.find((_) => _ === h.value)
|
|
4027
4059
|
);
|
|
@@ -4030,8 +4062,8 @@ const ds = {
|
|
|
4030
4062
|
r.value || (h.value = _);
|
|
4031
4063
|
}
|
|
4032
4064
|
return (_, S) => {
|
|
4033
|
-
const O =
|
|
4034
|
-
return u(),
|
|
4065
|
+
const O = I("v-icon");
|
|
4066
|
+
return u(), L("div", {
|
|
4035
4067
|
class: ce({
|
|
4036
4068
|
"d-flex": !0,
|
|
4037
4069
|
"justify-center": !p(l),
|
|
@@ -4042,15 +4074,15 @@ const ds = {
|
|
|
4042
4074
|
enabled: !p(r)
|
|
4043
4075
|
})
|
|
4044
4076
|
}, [
|
|
4045
|
-
e("div",
|
|
4046
|
-
(u(!0),
|
|
4077
|
+
e("div", ys, [
|
|
4078
|
+
(u(!0), L(we, null, Ee(p(i), (C, c) => (u(), L("div", {
|
|
4047
4079
|
key: c,
|
|
4048
4080
|
class: ce(["still-camera-image d-flex flex-column flex-reverse align-center elevation-2", {
|
|
4049
4081
|
"active-camera": C === h.value
|
|
4050
4082
|
}]),
|
|
4051
4083
|
onClick: (d) => f(C)
|
|
4052
4084
|
}, [
|
|
4053
|
-
C.cameraName ? (u(),
|
|
4085
|
+
C.cameraName ? (u(), L("div", bs, H(C.cameraName), 1)) : M("", !0),
|
|
4054
4086
|
e("div", {
|
|
4055
4087
|
class: "camera-thumbnail-image",
|
|
4056
4088
|
style: ne({
|
|
@@ -4060,24 +4092,24 @@ const ds = {
|
|
|
4060
4092
|
)})`
|
|
4061
4093
|
})
|
|
4062
4094
|
}, null, 4),
|
|
4063
|
-
C.sunsimDayOfYear && C.sunsimDayOfYear.length > 1 ? (u(),
|
|
4064
|
-
|
|
4095
|
+
C.sunsimDayOfYear && C.sunsimDayOfYear.length > 1 ? (u(), L("div", ws, [
|
|
4096
|
+
g(O, {
|
|
4065
4097
|
size: "x-small",
|
|
4066
4098
|
color: "warning",
|
|
4067
4099
|
style: { opacity: "0.6" }
|
|
4068
4100
|
}, {
|
|
4069
|
-
default:
|
|
4101
|
+
default: m(() => [
|
|
4070
4102
|
ae(" mdi-white-balance-sunny ")
|
|
4071
4103
|
]),
|
|
4072
4104
|
_: 1
|
|
4073
4105
|
})
|
|
4074
|
-
])) :
|
|
4075
|
-
], 10,
|
|
4106
|
+
])) : M("", !0)
|
|
4107
|
+
], 10, _s))), 128))
|
|
4076
4108
|
])
|
|
4077
4109
|
], 2);
|
|
4078
4110
|
};
|
|
4079
4111
|
}
|
|
4080
|
-
}),
|
|
4112
|
+
}), Cs = /* @__PURE__ */ X(ks, [["__scopeId", "data-v-d14ee377"]]), Ss = { class: "small" }, As = { class: "small" }, xs = /* @__PURE__ */ W({
|
|
4081
4113
|
__name: "VStructureChooserUiTimeSampleSlider",
|
|
4082
4114
|
props: {
|
|
4083
4115
|
isMobileSized: { type: Boolean },
|
|
@@ -4094,19 +4126,19 @@ const ds = {
|
|
|
4094
4126
|
r(
|
|
4095
4127
|
"onTimeChange",
|
|
4096
4128
|
i.value.timeSamples.find(
|
|
4097
|
-
(
|
|
4129
|
+
(y) => y.timeInHours === h.value
|
|
4098
4130
|
)
|
|
4099
4131
|
);
|
|
4100
|
-
}), (
|
|
4101
|
-
const _ =
|
|
4102
|
-
return u(),
|
|
4132
|
+
}), (y, f) => {
|
|
4133
|
+
const _ = I("v-icon"), S = I("v-slider"), O = I("v-field");
|
|
4134
|
+
return u(), L("div", {
|
|
4103
4135
|
class: ce({ "d-inline-block": !0, mobile: p(l) }),
|
|
4104
4136
|
style: ne({
|
|
4105
4137
|
flex: p(l) && p(i).timeSamples.length > 1 ? 1 : void 0,
|
|
4106
4138
|
verticalAlign: "top"
|
|
4107
4139
|
})
|
|
4108
4140
|
}, [
|
|
4109
|
-
|
|
4141
|
+
g(O, {
|
|
4110
4142
|
style: ne(
|
|
4111
4143
|
p(i).timeSamples.length > 1 ? {
|
|
4112
4144
|
width: p(l) ? "100%" : "300px",
|
|
@@ -4123,7 +4155,7 @@ const ds = {
|
|
|
4123
4155
|
rounded: "",
|
|
4124
4156
|
flat: ""
|
|
4125
4157
|
}, {
|
|
4126
|
-
default:
|
|
4158
|
+
default: m(() => [
|
|
4127
4159
|
p(i).timeSamples.length > 1 ? (u(), T(S, {
|
|
4128
4160
|
key: 0,
|
|
4129
4161
|
class: "pa-2 pr-2",
|
|
@@ -4138,32 +4170,32 @@ const ds = {
|
|
|
4138
4170
|
"thumb-color": "white",
|
|
4139
4171
|
"hide-details": ""
|
|
4140
4172
|
}, {
|
|
4141
|
-
prepend:
|
|
4142
|
-
|
|
4173
|
+
prepend: m(() => [
|
|
4174
|
+
g(_, {
|
|
4143
4175
|
style: { "vertical-align": "baseline", "font-size": "20px" },
|
|
4144
4176
|
class: "mr-2 icon",
|
|
4145
4177
|
color: "warning"
|
|
4146
4178
|
}, {
|
|
4147
|
-
default:
|
|
4179
|
+
default: m(() => [
|
|
4148
4180
|
ae(" mdi-white-balance-sunny ")
|
|
4149
4181
|
]),
|
|
4150
4182
|
_: 1
|
|
4151
4183
|
}),
|
|
4152
|
-
e("span",
|
|
4184
|
+
e("span", Ss, H(p(dt)(h.value)), 1)
|
|
4153
4185
|
]),
|
|
4154
4186
|
_: 1
|
|
4155
|
-
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (u(),
|
|
4156
|
-
|
|
4187
|
+
}, 8, ["modelValue", "min", "max", "step", "disabled"])) : (u(), L(we, { key: 1 }, [
|
|
4188
|
+
g(_, {
|
|
4157
4189
|
style: { "vertical-align": "baseline", "font-size": "20px", "margin-top": "-1px", opacity: "0.6" },
|
|
4158
4190
|
class: "mr-2 icon",
|
|
4159
4191
|
color: "warning"
|
|
4160
4192
|
}, {
|
|
4161
|
-
default:
|
|
4193
|
+
default: m(() => [
|
|
4162
4194
|
ae(" mdi-white-balance-sunny ")
|
|
4163
4195
|
]),
|
|
4164
4196
|
_: 1
|
|
4165
4197
|
}),
|
|
4166
|
-
e("span",
|
|
4198
|
+
e("span", As, H(p(dt)(h.value)), 1)
|
|
4167
4199
|
], 64))
|
|
4168
4200
|
]),
|
|
4169
4201
|
_: 1
|
|
@@ -4171,10 +4203,10 @@ const ds = {
|
|
|
4171
4203
|
], 6);
|
|
4172
4204
|
};
|
|
4173
4205
|
}
|
|
4174
|
-
}),
|
|
4206
|
+
}), Ls = /* @__PURE__ */ X(xs, [["__scopeId", "data-v-4d44890b"]]), Is = {
|
|
4175
4207
|
class: "d-inline-block",
|
|
4176
4208
|
style: { "vertical-align": "top" }
|
|
4177
|
-
},
|
|
4209
|
+
}, Es = /* @__PURE__ */ e("hr", { style: { "border-top": "1px solid #999" } }, null, -1), Ms = /* @__PURE__ */ W({
|
|
4178
4210
|
__name: "VStructureChooserUiZoomButtons",
|
|
4179
4211
|
props: {
|
|
4180
4212
|
isMobileSized: { type: Boolean },
|
|
@@ -4185,24 +4217,24 @@ const ds = {
|
|
|
4185
4217
|
emits: ["onZoomIn", "onZoomOut"],
|
|
4186
4218
|
setup(t, { emit: n }) {
|
|
4187
4219
|
const o = t, { isMobileSized: l, canZoomIn: i, canZoomOut: a, disabled: s } = _e(o), r = n;
|
|
4188
|
-
return (h,
|
|
4189
|
-
const f =
|
|
4190
|
-
return u(),
|
|
4191
|
-
|
|
4220
|
+
return (h, y) => {
|
|
4221
|
+
const f = I("v-btn");
|
|
4222
|
+
return u(), L("div", Is, [
|
|
4223
|
+
g(f, {
|
|
4192
4224
|
disabled: p(s) || !p(i),
|
|
4193
4225
|
size: p(l) ? "x-small" : "small",
|
|
4194
4226
|
flat: "",
|
|
4195
4227
|
icon: "mdi-plus",
|
|
4196
|
-
onClick:
|
|
4228
|
+
onClick: y[0] || (y[0] = (_) => r("onZoomIn")),
|
|
4197
4229
|
style: { "border-bottom-left-radius": "0", "border-bottom-right-radius": "0" }
|
|
4198
4230
|
}, null, 8, ["disabled", "size"]),
|
|
4199
|
-
|
|
4200
|
-
|
|
4231
|
+
Es,
|
|
4232
|
+
g(f, {
|
|
4201
4233
|
disabled: p(s) || !p(a),
|
|
4202
4234
|
size: p(l) ? "x-small" : "small",
|
|
4203
4235
|
flat: "",
|
|
4204
4236
|
icon: "mdi-minus",
|
|
4205
|
-
onClick:
|
|
4237
|
+
onClick: y[1] || (y[1] = (_) => r("onZoomOut")),
|
|
4206
4238
|
style: { "border-top-left-radius": "0", "border-top-right-radius": "0" }
|
|
4207
4239
|
}, null, 8, ["disabled", "size"])
|
|
4208
4240
|
]);
|
|
@@ -4252,7 +4284,7 @@ class Qe {
|
|
|
4252
4284
|
}
|
|
4253
4285
|
}
|
|
4254
4286
|
}
|
|
4255
|
-
const
|
|
4287
|
+
const Fs = ["innerHTML"], Vs = /* @__PURE__ */ W({
|
|
4256
4288
|
__name: "VStructureChooserOverlay",
|
|
4257
4289
|
props: {
|
|
4258
4290
|
cdnFileResolver: { type: [String, Function] },
|
|
@@ -4263,27 +4295,27 @@ const Ls = ["innerHTML"], Is = /* @__PURE__ */ W({
|
|
|
4263
4295
|
},
|
|
4264
4296
|
emits: ["onClick", "onHoverOver", "onHoverOut", "updateSvgContainer", "onError"],
|
|
4265
4297
|
setup(t, { emit: n }) {
|
|
4266
|
-
const o = t, { cdnFileResolver: l, colorCallback: i, currentCamera: a, selectedId: s } = _e(o), r = n, h = b(!0),
|
|
4298
|
+
const o = t, { cdnFileResolver: l, colorCallback: i, currentCamera: a, selectedId: s } = _e(o), r = n, h = b(!0), y = b({}), f = b(), _ = An({}), S = F(() => me(
|
|
4267
4299
|
l.value,
|
|
4268
4300
|
a.value.overlayFilename
|
|
4269
4301
|
));
|
|
4270
4302
|
Ft(() => {
|
|
4271
4303
|
for (const c in _) {
|
|
4272
|
-
const { element: d, state: w } = _[c], { r: x, g: E, b: R, a: q, s:
|
|
4304
|
+
const { element: d, state: w } = _[c], { r: x, g: E, b: R, a: q, s: V } = i.value(c, w) || {
|
|
4273
4305
|
r: 0,
|
|
4274
4306
|
g: 0,
|
|
4275
4307
|
b: 0,
|
|
4276
4308
|
a: 0,
|
|
4277
4309
|
s: 0
|
|
4278
4310
|
};
|
|
4279
|
-
d.style.fill = `rgba(${x}, ${E}, ${R}, ${q / 255})`, d.style.stroke = `rgb(${x}, ${E}, ${R})`, d.style.strokeWidth =
|
|
4311
|
+
d.style.fill = `rgba(${x}, ${E}, ${R}, ${q / 255})`, d.style.stroke = `rgb(${x}, ${E}, ${R})`, d.style.strokeWidth = V.toString(), d.style.cursor = "pointer";
|
|
4280
4312
|
}
|
|
4281
4313
|
}), Y(s, () => {
|
|
4282
4314
|
for (const c in _)
|
|
4283
4315
|
_[c].state === "selected" && c !== s.value ? _[c].state = "idle" : _[c].state !== "selected" && c === s.value && (_[c].state = "selected");
|
|
4284
4316
|
}), Ft(async () => {
|
|
4285
4317
|
try {
|
|
4286
|
-
h.value = !1,
|
|
4318
|
+
h.value = !1, y.value[S.value] || (y.value[S.value] = await Qe.loadText(S.value)), C();
|
|
4287
4319
|
} catch (c) {
|
|
4288
4320
|
r("onError", c);
|
|
4289
4321
|
} finally {
|
|
@@ -4350,7 +4382,7 @@ const Ls = ["innerHTML"], Is = /* @__PURE__ */ W({
|
|
|
4350
4382
|
});
|
|
4351
4383
|
}
|
|
4352
4384
|
return (c, d) => (u(), T(Fe, null, {
|
|
4353
|
-
default:
|
|
4385
|
+
default: m(() => [
|
|
4354
4386
|
e("div", {
|
|
4355
4387
|
ref_key: "svgContainer",
|
|
4356
4388
|
ref: f,
|
|
@@ -4358,14 +4390,14 @@ const Ls = ["innerHTML"], Is = /* @__PURE__ */ W({
|
|
|
4358
4390
|
visibility: h.value ? "visible" : "hidden"
|
|
4359
4391
|
}, { "z-index": "5" }]),
|
|
4360
4392
|
class: "w-100 h-100 position-absolute top-left structure-chooser-overlay-svg",
|
|
4361
|
-
innerHTML:
|
|
4362
|
-
}, null, 12,
|
|
4393
|
+
innerHTML: y.value[S.value]
|
|
4394
|
+
}, null, 12, Fs)
|
|
4363
4395
|
]),
|
|
4364
4396
|
_: 1
|
|
4365
4397
|
}));
|
|
4366
4398
|
}
|
|
4367
|
-
}),
|
|
4368
|
-
function
|
|
4399
|
+
}), Ds = /* @__PURE__ */ X(Vs, [["__scopeId", "data-v-982e604a"]]);
|
|
4400
|
+
function Bs(t) {
|
|
4369
4401
|
if (!t)
|
|
4370
4402
|
return !1;
|
|
4371
4403
|
const n = [
|
|
@@ -4383,13 +4415,13 @@ function Ms(t) {
|
|
|
4383
4415
|
return !1;
|
|
4384
4416
|
return !0;
|
|
4385
4417
|
}
|
|
4386
|
-
function
|
|
4418
|
+
function Ts(t) {
|
|
4387
4419
|
return !("filename" in t) && "defaultFilename" in t;
|
|
4388
4420
|
}
|
|
4389
4421
|
function bt(t) {
|
|
4390
4422
|
return "filename" in t;
|
|
4391
4423
|
}
|
|
4392
|
-
function
|
|
4424
|
+
function Os(t) {
|
|
4393
4425
|
if (!t)
|
|
4394
4426
|
return !1;
|
|
4395
4427
|
const n = ["version", "latitude", "longitude", "buildings", "cameras"];
|
|
@@ -4398,7 +4430,7 @@ function Vs(t) {
|
|
|
4398
4430
|
return !1;
|
|
4399
4431
|
return !0;
|
|
4400
4432
|
}
|
|
4401
|
-
function
|
|
4433
|
+
function $s(t) {
|
|
4402
4434
|
if (!t)
|
|
4403
4435
|
return !1;
|
|
4404
4436
|
const n = [
|
|
@@ -4416,16 +4448,16 @@ function Ds(t) {
|
|
|
4416
4448
|
return !1;
|
|
4417
4449
|
return !0;
|
|
4418
4450
|
}
|
|
4419
|
-
function
|
|
4451
|
+
function Rs(t) {
|
|
4420
4452
|
return !("filename" in t);
|
|
4421
4453
|
}
|
|
4422
4454
|
function Pe(t) {
|
|
4423
4455
|
return t.startsWith("/") ? t : `/${t}`;
|
|
4424
4456
|
}
|
|
4425
|
-
function
|
|
4457
|
+
function Hs(t) {
|
|
4426
4458
|
return t ? "version" in t : !1;
|
|
4427
4459
|
}
|
|
4428
|
-
function
|
|
4460
|
+
function Ys(t) {
|
|
4429
4461
|
if (!t)
|
|
4430
4462
|
return !1;
|
|
4431
4463
|
const n = [
|
|
@@ -4441,11 +4473,11 @@ function Os(t) {
|
|
|
4441
4473
|
return !1;
|
|
4442
4474
|
return !0;
|
|
4443
4475
|
}
|
|
4444
|
-
function
|
|
4476
|
+
function Us(t) {
|
|
4445
4477
|
var n, o, l, i;
|
|
4446
|
-
if (
|
|
4478
|
+
if (Bs(t))
|
|
4447
4479
|
return t;
|
|
4448
|
-
if (
|
|
4480
|
+
if (Os(t)) {
|
|
4449
4481
|
if (!t.buildings)
|
|
4450
4482
|
throw new Error(
|
|
4451
4483
|
"cannot convert BuildingChooserDataV5 to StructureChooser: key 'buildings' is missing"
|
|
@@ -4487,8 +4519,8 @@ function $s(t) {
|
|
|
4487
4519
|
);
|
|
4488
4520
|
const s = { ...a };
|
|
4489
4521
|
return s.sunsimDayOfYear && s.sunsimDayOfYear.forEach((h) => {
|
|
4490
|
-
h.timeSamples && h.timeSamples.forEach((
|
|
4491
|
-
|
|
4522
|
+
h.timeSamples && h.timeSamples.forEach((y) => {
|
|
4523
|
+
y.filename = Pe(y.filename);
|
|
4492
4524
|
});
|
|
4493
4525
|
}), {
|
|
4494
4526
|
...s,
|
|
@@ -4501,7 +4533,7 @@ function $s(t) {
|
|
|
4501
4533
|
}
|
|
4502
4534
|
)
|
|
4503
4535
|
};
|
|
4504
|
-
} else if (
|
|
4536
|
+
} else if (Ys(t)) {
|
|
4505
4537
|
if (!t.days && !t.timeSamples)
|
|
4506
4538
|
throw new Error(
|
|
4507
4539
|
"cannot convert BuildingChooserDataLegacy to StructureChooser: 'days' and 'timeSamples' are empty"
|
|
@@ -4525,7 +4557,7 @@ function $s(t) {
|
|
|
4525
4557
|
{
|
|
4526
4558
|
cameraName: "",
|
|
4527
4559
|
cameraPosition: t.cameraPosition,
|
|
4528
|
-
cameraRotation:
|
|
4560
|
+
cameraRotation: $t(
|
|
4529
4561
|
t.cameraRotation.normalized || t.cameraRotation
|
|
4530
4562
|
),
|
|
4531
4563
|
cameraFov: t.cameraFov,
|
|
@@ -4546,7 +4578,7 @@ function $s(t) {
|
|
|
4546
4578
|
]
|
|
4547
4579
|
};
|
|
4548
4580
|
} else {
|
|
4549
|
-
if (
|
|
4581
|
+
if ($s(t))
|
|
4550
4582
|
return {
|
|
4551
4583
|
version: "5.0",
|
|
4552
4584
|
latitude: t.latitude,
|
|
@@ -4571,7 +4603,7 @@ function $s(t) {
|
|
|
4571
4603
|
cameras: t.cameras.map(
|
|
4572
4604
|
(a) => {
|
|
4573
4605
|
var s;
|
|
4574
|
-
if (
|
|
4606
|
+
if (Rs(a)) {
|
|
4575
4607
|
if (a.sunsimDayOfYear) {
|
|
4576
4608
|
if (a.sunsimDayOfYear.length === 0)
|
|
4577
4609
|
throw new Error(
|
|
@@ -4592,8 +4624,8 @@ function $s(t) {
|
|
|
4592
4624
|
);
|
|
4593
4625
|
const r = { ...a };
|
|
4594
4626
|
return r.sunsimDayOfYear && r.sunsimDayOfYear.forEach((h) => {
|
|
4595
|
-
h.timeSamples && h.timeSamples.forEach((
|
|
4596
|
-
|
|
4627
|
+
h.timeSamples && h.timeSamples.forEach((y) => {
|
|
4628
|
+
y.filename = Pe(y.filename);
|
|
4597
4629
|
});
|
|
4598
4630
|
}), {
|
|
4599
4631
|
...r,
|
|
@@ -4608,7 +4640,7 @@ function $s(t) {
|
|
|
4608
4640
|
}
|
|
4609
4641
|
)
|
|
4610
4642
|
};
|
|
4611
|
-
if (
|
|
4643
|
+
if (Hs(t)) {
|
|
4612
4644
|
if (!t.sceneData)
|
|
4613
4645
|
throw new Error(
|
|
4614
4646
|
"cannot convert ApartmentChooserDataLegacy to StructureChooser: key 'sceneData' is missing"
|
|
@@ -4621,16 +4653,16 @@ function $s(t) {
|
|
|
4621
4653
|
filename: `/1280/${(r + 1).toString().padStart(4, "0") + ".jpg"}`
|
|
4622
4654
|
})), s = [4, 1, 2, 3];
|
|
4623
4655
|
for (let r = 0; r < t.scenes.length; r++) {
|
|
4624
|
-
let h = t.scenes[r],
|
|
4625
|
-
|
|
4656
|
+
let h = t.scenes[r], y, f;
|
|
4657
|
+
y = a[h].filename, f = {
|
|
4626
4658
|
cameraName: `Camera ${r + 1}`,
|
|
4627
4659
|
cameraPosition: void 0,
|
|
4628
|
-
cameraRotation: t.sceneCameras && (l = t.sceneCameras.find((_) => _.scene === r)) != null && l.cameraRotation ?
|
|
4660
|
+
cameraRotation: t.sceneCameras && (l = t.sceneCameras.find((_) => _.scene === r)) != null && l.cameraRotation ? $t(
|
|
4629
4661
|
(i = t.sceneCameras.find((_) => _.scene === r)) == null ? void 0 : i.cameraRotation
|
|
4630
4662
|
) : void 0,
|
|
4631
4663
|
cameraFov: 0,
|
|
4632
4664
|
overlayFilename: `/scenedata${s[r]}V5Overlay.svg`,
|
|
4633
|
-
defaultFilename:
|
|
4665
|
+
defaultFilename: y,
|
|
4634
4666
|
sunsimDayOfYear: void 0
|
|
4635
4667
|
// sunsimDayOfYear: [
|
|
4636
4668
|
// {
|
|
@@ -4662,7 +4694,7 @@ function $s(t) {
|
|
|
4662
4694
|
})),
|
|
4663
4695
|
stillCameraIndices: t.scenes,
|
|
4664
4696
|
stillCameraData: t.sceneData.map(({ apartmentID: r, bestScene: h }) => ({
|
|
4665
|
-
bestIndex: s.findIndex((
|
|
4697
|
+
bestIndex: s.findIndex((y) => y === h) in t.scenes ? t.scenes[s.findIndex((y) => y === h)] : null,
|
|
4666
4698
|
id: r
|
|
4667
4699
|
})).filter(({ bestIndex: r }) => r !== null),
|
|
4668
4700
|
loopable: !0,
|
|
@@ -4672,7 +4704,7 @@ function $s(t) {
|
|
|
4672
4704
|
throw new Error("cannot convert data, no conversion source type found");
|
|
4673
4705
|
}
|
|
4674
4706
|
}
|
|
4675
|
-
function
|
|
4707
|
+
function $t({ x: t, y: n, z: o }) {
|
|
4676
4708
|
return {
|
|
4677
4709
|
x: t,
|
|
4678
4710
|
y: n,
|
|
@@ -4680,14 +4712,14 @@ function Ot({ x: t, y: n, z: o }) {
|
|
|
4680
4712
|
w: 0
|
|
4681
4713
|
};
|
|
4682
4714
|
}
|
|
4683
|
-
const
|
|
4715
|
+
const zs = {
|
|
4684
4716
|
key: 0,
|
|
4685
4717
|
class: "position-absolute w-100 h-100 bg-grey-lighten-2 justify-center align-center d-flex",
|
|
4686
4718
|
style: { "z-index": "10" }
|
|
4687
|
-
},
|
|
4719
|
+
}, js = ["innerHTML"], Ws = { style: { "z-index": "7" } }, Ps = {
|
|
4688
4720
|
key: 4,
|
|
4689
4721
|
class: "render-version"
|
|
4690
|
-
},
|
|
4722
|
+
}, Qs = /* @__PURE__ */ W({
|
|
4691
4723
|
__name: "VStructureChooser",
|
|
4692
4724
|
props: {
|
|
4693
4725
|
structureChooserData: {},
|
|
@@ -4713,16 +4745,16 @@ const Rs = {
|
|
|
4713
4745
|
colorCallback: s,
|
|
4714
4746
|
i18nConfig: r,
|
|
4715
4747
|
customOverlayContent: h,
|
|
4716
|
-
selectedId:
|
|
4748
|
+
selectedId: y,
|
|
4717
4749
|
defaultCamera: f,
|
|
4718
4750
|
defaultDay: _,
|
|
4719
4751
|
defaultTime: S,
|
|
4720
4752
|
mobileBreakpoint: O
|
|
4721
|
-
} = _e(l), C = o, c = b(), d = b(), w = b(), x = b(null), E = b(4), R = b(), q = b(!1),
|
|
4753
|
+
} = _e(l), C = o, c = b(), d = b(), w = b(), x = b(null), E = b(4), R = b(), q = b(!1), V = b(!1), J = b(), be = F(() => J.value.isHoverEnabled), ee = b({ x: 0, y: 0, width: 0, height: 0 }), Ae = b(), U = b(), D = b(), z = b(!1), ve = b(1), ke = b(0), ie = b([]), B = b(), Q = b({
|
|
4722
4754
|
current: 100,
|
|
4723
4755
|
min: 100,
|
|
4724
4756
|
max: 1e3
|
|
4725
|
-
}),
|
|
4757
|
+
}), P = b(!1), N = b();
|
|
4726
4758
|
Xe(
|
|
4727
4759
|
Ve,
|
|
4728
4760
|
r.value ? new Ne(r.value) : new Ne()
|
|
@@ -4737,7 +4769,7 @@ const Rs = {
|
|
|
4737
4769
|
});
|
|
4738
4770
|
}), n({
|
|
4739
4771
|
getState: () => ({
|
|
4740
|
-
currentCameraIndex: c.value ?
|
|
4772
|
+
currentCameraIndex: c.value ? Z.value.findIndex((k) => k === c.value) : null,
|
|
4741
4773
|
currentDayIndex: d.value ? c.value.sunsimDayOfYear.findIndex(
|
|
4742
4774
|
(k) => k === d.value
|
|
4743
4775
|
) : null,
|
|
@@ -4754,11 +4786,11 @@ const Rs = {
|
|
|
4754
4786
|
currentTransitionIndex: se,
|
|
4755
4787
|
currentScene: oe
|
|
4756
4788
|
}) => {
|
|
4757
|
-
typeof k == "number" && (c.value =
|
|
4789
|
+
typeof k == "number" && (c.value = Z.value[k]), typeof $ == "number" && (d.value = c.value.sunsimDayOfYear[$]), typeof te == "number" && (w.value = d.value.timeSamples[te]), typeof se == "number" && (x.value = he.value[se]), typeof oe == "number" && (E.value = oe);
|
|
4758
4790
|
},
|
|
4759
|
-
resolveCoordinates: (k, $) =>
|
|
4791
|
+
resolveCoordinates: (k, $) => N.value ? N.value(k, $) : { x: 0, y: 0 }
|
|
4760
4792
|
}), Re(() => {
|
|
4761
|
-
q.value = !0,
|
|
4793
|
+
q.value = !0, P.value = !1;
|
|
4762
4794
|
}), Y(U, () => {
|
|
4763
4795
|
U.value && new ResizeObserver(([]) => {
|
|
4764
4796
|
const $ = ie.value.find((te) => te.loaded);
|
|
@@ -4770,16 +4802,16 @@ const Rs = {
|
|
|
4770
4802
|
k && (ve.value = k.image.naturalWidth / k.image.naturalHeight, ke.value = k.image.width / ve.value);
|
|
4771
4803
|
}
|
|
4772
4804
|
});
|
|
4773
|
-
const le =
|
|
4805
|
+
const le = F(() => ie.value.every((k) => k.loaded)), G = F(() => Math.round(
|
|
4774
4806
|
ie.value.filter((k) => k.loaded).length / ie.value.length * 100
|
|
4775
4807
|
));
|
|
4776
4808
|
Y(
|
|
4777
4809
|
i,
|
|
4778
4810
|
(k) => {
|
|
4779
4811
|
try {
|
|
4780
|
-
|
|
4812
|
+
P.value = !1, D.value = Us(k);
|
|
4781
4813
|
} catch ($) {
|
|
4782
|
-
|
|
4814
|
+
P.value = !0, C("onError", $);
|
|
4783
4815
|
}
|
|
4784
4816
|
},
|
|
4785
4817
|
{
|
|
@@ -4806,39 +4838,39 @@ const Rs = {
|
|
|
4806
4838
|
}).observe(U.value);
|
|
4807
4839
|
}
|
|
4808
4840
|
);
|
|
4809
|
-
const
|
|
4810
|
-
() =>
|
|
4811
|
-
), he =
|
|
4812
|
-
() =>
|
|
4841
|
+
const Z = F(
|
|
4842
|
+
() => D.value ? D.value.cameras.filter(Ts) : []
|
|
4843
|
+
), he = F(
|
|
4844
|
+
() => D.value ? D.value.cameras.filter(bt) : []
|
|
4813
4845
|
);
|
|
4814
4846
|
Y(
|
|
4815
|
-
[
|
|
4847
|
+
[D, a],
|
|
4816
4848
|
() => {
|
|
4817
|
-
|
|
4849
|
+
D.value && a.value && (ie.value = []);
|
|
4818
4850
|
},
|
|
4819
4851
|
{ immediate: !0 }
|
|
4820
4852
|
), Y(
|
|
4821
|
-
[
|
|
4853
|
+
[D, a, f],
|
|
4822
4854
|
async () => {
|
|
4823
|
-
a.value &&
|
|
4855
|
+
a.value && Z.value.length > 0 && (f.value ? c.value = Z.value.find(
|
|
4824
4856
|
(k) => k.cameraName === f.value
|
|
4825
|
-
) ||
|
|
4857
|
+
) || Z.value[0] : c.value = Z.value[0], E.value = D.value.cameras.findIndex(
|
|
4826
4858
|
(k) => k === c.value
|
|
4827
4859
|
), E.value = Math.max(0, E.value));
|
|
4828
4860
|
},
|
|
4829
4861
|
{ immediate: !0 }
|
|
4830
4862
|
), Y(
|
|
4831
|
-
[
|
|
4863
|
+
[D, a, _],
|
|
4832
4864
|
() => {
|
|
4833
|
-
|
|
4865
|
+
D.value && a.value && c.value && c.value.sunsimDayOfYear && c.value.sunsimDayOfYear.length > 0 && (_.value ? d.value = c.value.sunsimDayOfYear.find(
|
|
4834
4866
|
(k) => k.dayOfYear === _.value
|
|
4835
4867
|
) || c.value.sunsimDayOfYear[0] : d.value = c.value.sunsimDayOfYear[0]);
|
|
4836
4868
|
},
|
|
4837
4869
|
{ immediate: !0 }
|
|
4838
4870
|
), Y(
|
|
4839
|
-
[
|
|
4871
|
+
[D, a, S],
|
|
4840
4872
|
() => {
|
|
4841
|
-
|
|
4873
|
+
D.value && a.value && d.value && d.value.timeSamples && d.value.timeSamples.length > 0 && (S.value ? w.value = d.value.timeSamples.find(
|
|
4842
4874
|
(k) => k.timeInHours === S.value
|
|
4843
4875
|
) || d.value.timeSamples[0] : w.value = d.value.timeSamples.find(
|
|
4844
4876
|
(k) => k.timeInHours === d.value.defaultHour
|
|
@@ -4848,19 +4880,19 @@ const Rs = {
|
|
|
4848
4880
|
);
|
|
4849
4881
|
function xe(k) {
|
|
4850
4882
|
c.value !== k && ye(
|
|
4851
|
-
|
|
4883
|
+
D.value.cameras.findIndex(($) => $ === k)
|
|
4852
4884
|
);
|
|
4853
4885
|
}
|
|
4854
4886
|
function De(k) {
|
|
4855
|
-
E.value = k, bt(
|
|
4887
|
+
E.value = k, bt(D.value.cameras[E.value]) ? x.value = D.value.cameras[E.value] : ($e(() => {
|
|
4856
4888
|
pe(
|
|
4857
|
-
|
|
4889
|
+
D.value.cameras[E.value]
|
|
4858
4890
|
);
|
|
4859
4891
|
}), x.value = null);
|
|
4860
4892
|
}
|
|
4861
4893
|
function pe(k) {
|
|
4862
4894
|
const $ = d.value;
|
|
4863
|
-
c.value = k, E.value =
|
|
4895
|
+
c.value = k, E.value = D.value.cameras.findIndex(
|
|
4864
4896
|
(te) => te === c.value
|
|
4865
4897
|
), $e(() => {
|
|
4866
4898
|
c.value.sunsimDayOfYear && c.value.sunsimDayOfYear.length > 0 && fe(
|
|
@@ -4887,7 +4919,7 @@ const Rs = {
|
|
|
4887
4919
|
}
|
|
4888
4920
|
function ge(k) {
|
|
4889
4921
|
C("onClick", k, () => {
|
|
4890
|
-
const $ =
|
|
4922
|
+
const $ = D.value.stillCameraData.find(
|
|
4891
4923
|
(te) => te.id === k
|
|
4892
4924
|
);
|
|
4893
4925
|
$ && ye($.bestIndex);
|
|
@@ -4926,64 +4958,64 @@ const Rs = {
|
|
|
4926
4958
|
current: te,
|
|
4927
4959
|
resolve: se
|
|
4928
4960
|
}) {
|
|
4929
|
-
|
|
4961
|
+
N.value = se, Q.value = { min: k, max: $, current: te };
|
|
4930
4962
|
}
|
|
4931
4963
|
function He(k) {
|
|
4932
|
-
|
|
4964
|
+
B.value.adjustZoom(k ? 10 : -10);
|
|
4933
4965
|
}
|
|
4934
4966
|
function nt(k) {
|
|
4935
|
-
return
|
|
4967
|
+
return D.value.stillCameraIndices.findIndex(
|
|
4936
4968
|
($) => $ === k
|
|
4937
4969
|
);
|
|
4938
4970
|
}
|
|
4939
4971
|
async function ye(k) {
|
|
4940
4972
|
const $ = E.value;
|
|
4941
|
-
if (
|
|
4942
|
-
const te =
|
|
4973
|
+
if (D.value.loopable) {
|
|
4974
|
+
const te = D.value.stillCameraIndices.length, se = nt($), oe = nt(k);
|
|
4943
4975
|
let Ce = 0, qe = 0, Le = se;
|
|
4944
4976
|
for (; Le++, Le >= te && (Le = 0), Le !== oe; )
|
|
4945
4977
|
Ce++;
|
|
4946
4978
|
for (Le = se; Le--, Le < 0 && (Le += te), Le !== oe; )
|
|
4947
4979
|
qe++;
|
|
4948
|
-
Ce === qe ? Te($, k) : Ce < qe ? se < oe ? Te($, k) : Te($, k +
|
|
4980
|
+
Ce === qe ? Te($, k) : Ce < qe ? se < oe ? Te($, k) : Te($, k + D.value.cameras.length) : se >= oe ? Te($, k) : Te($ + D.value.cameras.length, k);
|
|
4949
4981
|
} else
|
|
4950
4982
|
Te($, k);
|
|
4951
4983
|
}
|
|
4952
4984
|
function Te(k, $) {
|
|
4953
4985
|
return new Promise((te) => {
|
|
4954
|
-
|
|
4986
|
+
V.value = !0;
|
|
4955
4987
|
let se, oe = k;
|
|
4956
4988
|
se = setInterval(() => {
|
|
4957
4989
|
oe < $ ? (oe++, E.value = Math.abs(
|
|
4958
|
-
oe %
|
|
4990
|
+
oe % D.value.cameras.length
|
|
4959
4991
|
), De(E.value)) : oe > $ ? (oe--, E.value = Math.abs(
|
|
4960
|
-
oe %
|
|
4961
|
-
), De(E.value)) : (clearInterval(se),
|
|
4992
|
+
oe % D.value.cameras.length
|
|
4993
|
+
), De(E.value)) : (clearInterval(se), V.value = !1, te());
|
|
4962
4994
|
}, 12);
|
|
4963
4995
|
});
|
|
4964
4996
|
}
|
|
4965
4997
|
function ot(k) {
|
|
4966
|
-
|
|
4998
|
+
P.value = !0, C("onError", k);
|
|
4967
4999
|
}
|
|
4968
5000
|
const at = (k) => k * (180 / Math.PI);
|
|
4969
5001
|
return (k, $) => {
|
|
4970
|
-
const te =
|
|
4971
|
-
return u(),
|
|
4972
|
-
|
|
5002
|
+
const te = I("v-progress-circular"), se = I("v-skeleton-loader");
|
|
5003
|
+
return u(), L(we, null, [
|
|
5004
|
+
g(se, {
|
|
4973
5005
|
type: "image",
|
|
4974
5006
|
class: "w-100 h-100 position-relative",
|
|
4975
|
-
loading: !q.value || !
|
|
5007
|
+
loading: !q.value || !D.value
|
|
4976
5008
|
}, {
|
|
4977
|
-
default:
|
|
4978
|
-
le.value ?
|
|
4979
|
-
|
|
5009
|
+
default: m(() => [
|
|
5010
|
+
le.value ? M("", !0) : (u(), L("div", zs, [
|
|
5011
|
+
g(te, {
|
|
4980
5012
|
"model-value": G.value,
|
|
4981
5013
|
size: 128,
|
|
4982
5014
|
width: 12
|
|
4983
5015
|
}, null, 8, ["model-value"])
|
|
4984
5016
|
])),
|
|
4985
|
-
|
|
4986
|
-
default:
|
|
5017
|
+
g(Fe, { class: "w-100 h-100" }, {
|
|
5018
|
+
default: m(() => [
|
|
4987
5019
|
e("div", {
|
|
4988
5020
|
ref_key: "container",
|
|
4989
5021
|
ref: U,
|
|
@@ -4991,15 +5023,15 @@ const Rs = {
|
|
|
4991
5023
|
style: { "min-height": "160px" },
|
|
4992
5024
|
onMousemove: ft
|
|
4993
5025
|
}, [
|
|
4994
|
-
k.showUi ? (u(),
|
|
5026
|
+
k.showUi ? (u(), L("div", {
|
|
4995
5027
|
key: 0,
|
|
4996
5028
|
class: "persistent actions-bar top-right pa-2",
|
|
4997
5029
|
style: ne({
|
|
4998
5030
|
zIndex: 7,
|
|
4999
|
-
top: z.value &&
|
|
5031
|
+
top: z.value && Z.value.length > 1 ? "60px" : 0
|
|
5000
5032
|
})
|
|
5001
5033
|
}, [
|
|
5002
|
-
c.value.cameraRotation ? (u(), T(
|
|
5034
|
+
c.value.cameraRotation ? (u(), T(Yt, {
|
|
5003
5035
|
key: 0,
|
|
5004
5036
|
class: "mb-2",
|
|
5005
5037
|
style: ne({
|
|
@@ -5008,17 +5040,17 @@ const Rs = {
|
|
|
5008
5040
|
height: z.value ? 32 : 40
|
|
5009
5041
|
}),
|
|
5010
5042
|
longitude: at(c.value.cameraRotation.y) + 270
|
|
5011
|
-
}, null, 8, ["style", "longitude"])) :
|
|
5012
|
-
|
|
5043
|
+
}, null, 8, ["style", "longitude"])) : M("", !0),
|
|
5044
|
+
g(Ms, {
|
|
5013
5045
|
"is-mobile-sized": z.value,
|
|
5014
|
-
"can-zoom-out":
|
|
5015
|
-
"can-zoom-in":
|
|
5016
|
-
disabled:
|
|
5046
|
+
"can-zoom-out": Q.value.min < Q.value.current,
|
|
5047
|
+
"can-zoom-in": Q.value.max > Q.value.current,
|
|
5048
|
+
disabled: V.value,
|
|
5017
5049
|
onOnZoomIn: $[0] || ($[0] = (oe) => He(!0)),
|
|
5018
5050
|
onOnZoomOut: $[1] || ($[1] = (oe) => He(!1))
|
|
5019
5051
|
}, null, 8, ["is-mobile-sized", "can-zoom-out", "can-zoom-in", "disabled"])
|
|
5020
|
-
], 4)) :
|
|
5021
|
-
k.showUi &&
|
|
5052
|
+
], 4)) : M("", !0),
|
|
5053
|
+
k.showUi && Z.value.length > 1 ? (u(), L("div", {
|
|
5022
5054
|
key: 1,
|
|
5023
5055
|
class: ce([{
|
|
5024
5056
|
"actions-bar bottom-center pb-2": !0,
|
|
@@ -5026,27 +5058,27 @@ const Rs = {
|
|
|
5026
5058
|
}, "still-cameras-wrapper"]),
|
|
5027
5059
|
style: { "z-index": "7" }
|
|
5028
5060
|
}, [
|
|
5029
|
-
|
|
5061
|
+
g(Cs, {
|
|
5030
5062
|
"is-mobile-sized": z.value,
|
|
5031
|
-
"still-cameras":
|
|
5063
|
+
"still-cameras": Z.value,
|
|
5032
5064
|
"current-camera": c.value,
|
|
5033
|
-
disabled:
|
|
5065
|
+
disabled: V.value,
|
|
5034
5066
|
"cdn-file-resolver": p(a),
|
|
5035
5067
|
onOnCameraChange: xe
|
|
5036
5068
|
}, null, 8, ["is-mobile-sized", "still-cameras", "current-camera", "disabled", "cdn-file-resolver"])
|
|
5037
|
-
], 2)) :
|
|
5038
|
-
|
|
5069
|
+
], 2)) : M("", !0),
|
|
5070
|
+
g($n, {
|
|
5039
5071
|
ref_key: "zoomBox",
|
|
5040
|
-
ref:
|
|
5072
|
+
ref: B,
|
|
5041
5073
|
position: "relative",
|
|
5042
5074
|
onUpdate: tt
|
|
5043
5075
|
}, {
|
|
5044
|
-
default:
|
|
5076
|
+
default: m(() => [
|
|
5045
5077
|
e("div", {
|
|
5046
5078
|
class: "w-100 position-relative",
|
|
5047
5079
|
style: ne({ height: `${ke.value}px` })
|
|
5048
5080
|
}, [
|
|
5049
|
-
(u(!0),
|
|
5081
|
+
(u(!0), L(we, null, Ee(Z.value, (oe, Ce) => (u(), T(ds, {
|
|
5050
5082
|
key: `camera${Ce}`,
|
|
5051
5083
|
"camera-data": oe,
|
|
5052
5084
|
"cdn-file-resolver": p(a),
|
|
@@ -5054,24 +5086,24 @@ const Rs = {
|
|
|
5054
5086
|
"current-day": d.value,
|
|
5055
5087
|
"current-time": w.value
|
|
5056
5088
|
}, null, 8, ["camera-data", "cdn-file-resolver", "current-camera", "current-day", "current-time"]))), 128)),
|
|
5057
|
-
(u(!0),
|
|
5089
|
+
(u(!0), L(we, null, Ee(he.value, (oe, Ce) => (u(), T(ps, {
|
|
5058
5090
|
key: `transition${Ce}`,
|
|
5059
5091
|
"transition-data": oe,
|
|
5060
5092
|
"cdn-file-resolver": p(a),
|
|
5061
5093
|
"current-transition": x.value
|
|
5062
5094
|
}, null, 8, ["transition-data", "cdn-file-resolver", "current-transition"]))), 128)),
|
|
5063
|
-
p(h) ? (u(),
|
|
5095
|
+
p(h) ? (u(), L("div", {
|
|
5064
5096
|
key: 0,
|
|
5065
5097
|
class: "w-100 h-100 position-absolute top-left",
|
|
5066
5098
|
style: { "z-index": "6", "pointer-events": "none" },
|
|
5067
5099
|
innerHTML: p(h)
|
|
5068
|
-
}, null, 8,
|
|
5069
|
-
c.value.overlayFilename && !
|
|
5100
|
+
}, null, 8, js)) : M("", !0),
|
|
5101
|
+
c.value.overlayFilename && !P.value ? Ke((u(), T(Ds, {
|
|
5070
5102
|
key: 1,
|
|
5071
5103
|
"cdn-file-resolver": p(a),
|
|
5072
5104
|
"color-callback": p(s),
|
|
5073
5105
|
"current-camera": c.value,
|
|
5074
|
-
"selected-id": p(
|
|
5106
|
+
"selected-id": p(y),
|
|
5075
5107
|
activeStructureIds: re.value,
|
|
5076
5108
|
onOnClick: ge,
|
|
5077
5109
|
onOnHoverOver: ue,
|
|
@@ -5080,13 +5112,13 @@ const Rs = {
|
|
|
5080
5112
|
onOnError: ot
|
|
5081
5113
|
}, null, 8, ["cdn-file-resolver", "color-callback", "current-camera", "selected-id", "activeStructureIds"])), [
|
|
5082
5114
|
[ut, x.value === null]
|
|
5083
|
-
]) :
|
|
5115
|
+
]) : M("", !0),
|
|
5084
5116
|
K(k.$slots, "default", {}, void 0, !0)
|
|
5085
5117
|
], 4)
|
|
5086
5118
|
]),
|
|
5087
5119
|
_: 3
|
|
5088
5120
|
}, 512),
|
|
5089
|
-
k.showUi && (d.value && d.value.timeSamples && d.value.timeSamples.length > 1 || c.value.sunsimDayOfYear && c.value.sunsimDayOfYear.length > 1) ? (u(),
|
|
5121
|
+
k.showUi && (d.value && d.value.timeSamples && d.value.timeSamples.length > 1 || c.value.sunsimDayOfYear && c.value.sunsimDayOfYear.length > 1) ? (u(), L("div", {
|
|
5090
5122
|
key: 2,
|
|
5091
5123
|
class: ce({
|
|
5092
5124
|
"actions-bar top-left pa-2 d-flex": !0,
|
|
@@ -5094,35 +5126,35 @@ const Rs = {
|
|
|
5094
5126
|
}),
|
|
5095
5127
|
style: { "z-index": "7" }
|
|
5096
5128
|
}, [
|
|
5097
|
-
|
|
5129
|
+
g(gs, {
|
|
5098
5130
|
class: "pr-2",
|
|
5099
5131
|
"is-mobile-sized": z.value,
|
|
5100
5132
|
"current-camera": c.value,
|
|
5101
5133
|
"current-day": d.value,
|
|
5102
|
-
disabled:
|
|
5134
|
+
disabled: V.value,
|
|
5103
5135
|
onOnDayChange: fe
|
|
5104
5136
|
}, null, 8, ["is-mobile-sized", "current-camera", "current-day", "disabled"]),
|
|
5105
|
-
|
|
5137
|
+
g(Ls, {
|
|
5106
5138
|
"is-mobile-sized": z.value,
|
|
5107
5139
|
"current-day": d.value,
|
|
5108
5140
|
"current-time": w.value,
|
|
5109
|
-
disabled:
|
|
5141
|
+
disabled: V.value,
|
|
5110
5142
|
onOnTimeChange: Be
|
|
5111
5143
|
}, null, 8, ["is-mobile-sized", "current-day", "current-time", "disabled"])
|
|
5112
|
-
], 2)) :
|
|
5113
|
-
k.$slots.popup && ee.value && R.value ? (u(), T(
|
|
5144
|
+
], 2)) : M("", !0),
|
|
5145
|
+
k.$slots.popup && ee.value && R.value ? (u(), T(Vn, {
|
|
5114
5146
|
key: 3,
|
|
5115
5147
|
"is-hoverable": be.value,
|
|
5116
5148
|
pos: ee.value
|
|
5117
5149
|
}, {
|
|
5118
|
-
default:
|
|
5119
|
-
e("div",
|
|
5120
|
-
K(k.$slots, "popup",
|
|
5150
|
+
default: m(() => [
|
|
5151
|
+
e("div", Ws, [
|
|
5152
|
+
K(k.$slots, "popup", xn(Ln({ hoverId: R.value, hoverable: be.value })), void 0, !0)
|
|
5121
5153
|
])
|
|
5122
5154
|
]),
|
|
5123
5155
|
_: 3
|
|
5124
|
-
}, 8, ["is-hoverable", "pos"])) :
|
|
5125
|
-
k.version && k.showVersion ? (u(),
|
|
5156
|
+
}, 8, ["is-hoverable", "pos"])) : M("", !0),
|
|
5157
|
+
k.version && k.showVersion ? (u(), L("div", Ps, " version: " + H(k.version), 1)) : M("", !0)
|
|
5126
5158
|
], 34)
|
|
5127
5159
|
]),
|
|
5128
5160
|
_: 3
|
|
@@ -5130,28 +5162,28 @@ const Rs = {
|
|
|
5130
5162
|
]),
|
|
5131
5163
|
_: 3
|
|
5132
5164
|
}, 8, ["loading"]),
|
|
5133
|
-
|
|
5165
|
+
g(Bn, {
|
|
5134
5166
|
ref_key: "hoverProbe",
|
|
5135
5167
|
ref: J
|
|
5136
5168
|
}, null, 512)
|
|
5137
5169
|
], 64);
|
|
5138
5170
|
};
|
|
5139
5171
|
}
|
|
5140
|
-
}),
|
|
5172
|
+
}), Rt = /* @__PURE__ */ X(Qs, [["__scopeId", "data-v-363cfacb"]]), Ks = {
|
|
5141
5173
|
install: function(n) {
|
|
5142
|
-
n.component("VStructureChooser",
|
|
5174
|
+
n.component("VStructureChooser", Rt), n.component("VVirtualTour", Rl), n.component("VManualSlideShow", os), n.component("VStructureChooser", Rt);
|
|
5143
5175
|
}
|
|
5144
5176
|
};
|
|
5145
5177
|
export {
|
|
5146
5178
|
Qe as ResourceLoader,
|
|
5147
|
-
|
|
5148
|
-
|
|
5149
|
-
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
|
|
5179
|
+
Vn as VFloatingCard,
|
|
5180
|
+
Bn as VHoverProbe,
|
|
5181
|
+
os as VManualSlideShow,
|
|
5182
|
+
Gs as VMiniMap,
|
|
5183
|
+
Yt as VNorthDirection,
|
|
5184
|
+
Rt as VStructureChooser,
|
|
5185
|
+
Rl as VVirtualTour,
|
|
5186
|
+
$n as VZoomBox,
|
|
5187
|
+
Us as convertStructureChooserDataLegacyToV5,
|
|
5188
|
+
Ks as default
|
|
5157
5189
|
};
|