@qispace/vue3-player 0.0.13 → 0.0.14
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/index.d.ts +2 -5
- package/dist/vue3-player.js +411 -420
- package/dist/vue3-player.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/vue3-player.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { resolveComponent as c, openBlock as l, createBlock as y, normalizeStyle as M, defineComponent as W, createElementBlock as m, createElementVNode as o, createVNode as u, toDisplayString as _, withCtx as h, createTextVNode as L, withDirectives as x, Fragment as U, renderList as D, normalizeClass as E, vShow as B, createCommentVNode as f, renderSlot as A, ref as
|
|
2
|
-
import
|
|
1
|
+
import { resolveComponent as c, openBlock as l, createBlock as y, normalizeStyle as M, defineComponent as W, createElementBlock as m, createElementVNode as o, createVNode as u, toDisplayString as _, withCtx as h, createTextVNode as L, withDirectives as x, Fragment as U, renderList as D, normalizeClass as E, vShow as B, createCommentVNode as f, renderSlot as A, ref as ge, mergeProps as F, resolveDynamicComponent as ve, createSlots as Be, normalizeProps as fe, guardReactiveProps as be, toHandlers as ye, Transition as $, pushScopeId as ee, popScopeId as te, vModelText as Fe, createStaticVNode as we } from "vue";
|
|
2
|
+
import ke from "axios";
|
|
3
3
|
import { PlayerV2 as G } from "@qispace/player-core";
|
|
4
4
|
import * as T from "three";
|
|
5
|
-
const
|
|
5
|
+
const Ee = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAYAAACPZlfNAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA6ySURBVHgB7Z3Nb1TVG8efQstLActbIBAI8wsJBgLxZ+KeaVy5EVgZo4klceOKstCdYdQ/gLLSjQESjEvBjTs7Ju40AQMBIQEvgUAgvLRCWlpax/O9c56b09N7Z87bPTNT+SSHTqftMHO+93nO955Xolf0FH3UwzQajYr4wmVIlP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88h6JPEYeQKAPCIPA+THfF/dK0EBXprd3iQ4gPgTZu3Bg6ijFc4pUGVYIIxkgjAvFqFAAIoHYi88wsjhIVFnKVeJ4Fm5qephcFa9ggClIthMJevCW1kzVXN1hEUMGAtPyYvI9oq1AgIB5HHkDUQDRe8pRF0Nat2ZS2NSKtrZG/j7/nRRz4WvJOdLhoj7rcZ7XD6uBtG+QJfzAjFfpvUaemWAmVQGk74eANi/I/CpQeewSkwOGyxAKlRZjKfyDa6tTsFzReY+dKlL2mlGiDW0po6YC2alRGVeligSgRpiL7IHFG2Qj1bsRBKEydOBXi3sqG6IIxyrHDI9Q7wnVMqK4Ch6SKcrHRvYyLcqzR5hTzGHQswvJoNHv/kS6r1PmoQwSdoWbvuvHK1LLpKsFUhHg4vAd9k85DOA7UuXSTSCpdK5iKTEU44adKTQEr5DE6IEmo2YNel1//6IV2qScEK0KmUHQdVqg5nbyojZmQJaHmLKXb9IpXxOBfKqW3YKRX2kIAAAAASUVORK5CYII=", C = (e, t) => {
|
|
6
6
|
const i = e.__vccOpts || e;
|
|
7
7
|
for (const [r, n] of t)
|
|
8
8
|
i[r] = n;
|
|
9
9
|
return i;
|
|
10
|
-
},
|
|
10
|
+
}, De = {
|
|
11
11
|
name: "QiNorthDirection",
|
|
12
12
|
props: {
|
|
13
13
|
longitude: { type: Number, default: () => 0 }
|
|
14
14
|
},
|
|
15
15
|
data() {
|
|
16
16
|
return {
|
|
17
|
-
compassNeedle:
|
|
17
|
+
compassNeedle: Ee
|
|
18
18
|
};
|
|
19
19
|
},
|
|
20
20
|
computed: {
|
|
@@ -26,21 +26,21 @@ const De = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAYAAACPZlfNAA
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
|
-
function
|
|
29
|
+
function Oe(e, t, i, r, n, s) {
|
|
30
30
|
const a = c("v-img");
|
|
31
31
|
return l(), y(a, {
|
|
32
32
|
src: n.compassNeedle,
|
|
33
33
|
style: M(s.needleRotation)
|
|
34
34
|
}, null, 8, ["src", "style"]);
|
|
35
35
|
}
|
|
36
|
-
const
|
|
36
|
+
const ie = /* @__PURE__ */ C(De, [["render", Oe]]);
|
|
37
37
|
function X(e) {
|
|
38
38
|
return e.toLocaleString("en-no", {
|
|
39
39
|
month: "short",
|
|
40
40
|
day: "numeric"
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
|
-
const
|
|
43
|
+
const Ue = W({
|
|
44
44
|
setup() {
|
|
45
45
|
},
|
|
46
46
|
name: "QiBuildingChooserSunSimControl",
|
|
@@ -91,14 +91,14 @@ const Re = W({
|
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
93
|
methods: {}
|
|
94
|
-
}),
|
|
94
|
+
}), Re = { class: "sunsim-bar-wrapper" }, Te = { class: "sunsim-date d-flex align-center pl-5 pr-5" }, Ve = {
|
|
95
95
|
key: 1,
|
|
96
96
|
class: "text-center text-body-1"
|
|
97
|
-
},
|
|
98
|
-
function
|
|
97
|
+
}, He = { class: "sunsim-wrapper d-flex align-center px-3" }, Ne = { class: "sunsim-time-label text-body-1 font-weight-normal ml-2" };
|
|
98
|
+
function je(e, t, i, r, n, s) {
|
|
99
99
|
const a = c("v-icon"), d = c("v-select"), p = c("v-progress-linear"), v = c("v-slider");
|
|
100
|
-
return l(), m("div",
|
|
101
|
-
o("div",
|
|
100
|
+
return l(), m("div", Re, [
|
|
101
|
+
o("div", Te, [
|
|
102
102
|
u(a, {
|
|
103
103
|
color: "black",
|
|
104
104
|
class: "mr-2",
|
|
@@ -113,10 +113,10 @@ function qe(e, t, i, r, n, s) {
|
|
|
113
113
|
variant: "underlined",
|
|
114
114
|
"hide-details": "",
|
|
115
115
|
class: "day-selector"
|
|
116
|
-
}, null, 8, ["modelValue", "items"])) : (l(), m("span",
|
|
116
|
+
}, null, 8, ["modelValue", "items"])) : (l(), m("span", Ve, _(e.selectedDate), 1))
|
|
117
117
|
]),
|
|
118
|
-
o("div",
|
|
119
|
-
o("span",
|
|
118
|
+
o("div", He, [
|
|
119
|
+
o("span", Ne, _(e.currentValueString), 1),
|
|
120
120
|
u(a, {
|
|
121
121
|
medium: "",
|
|
122
122
|
class: "ml-2 mr-2 icon"
|
|
@@ -151,8 +151,8 @@ function qe(e, t, i, r, n, s) {
|
|
|
151
151
|
])
|
|
152
152
|
]);
|
|
153
153
|
}
|
|
154
|
-
const
|
|
155
|
-
class
|
|
154
|
+
const Ce = /* @__PURE__ */ C(Ue, [["render", je], ["__scopeId", "data-v-1fba3edd"]]);
|
|
155
|
+
class K {
|
|
156
156
|
constructor(t) {
|
|
157
157
|
this._numParts = t, this._loadedCount = 0, this._isError = !1, this._finishedAction = () => {
|
|
158
158
|
}, this._errorAction = () => {
|
|
@@ -184,7 +184,7 @@ class ee {
|
|
|
184
184
|
return Math.round(this._loadedCount * 100 / this._numParts);
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
const
|
|
187
|
+
const qe = W({
|
|
188
188
|
setup() {
|
|
189
189
|
},
|
|
190
190
|
name: "QiBuildingChooserSceneImageStack",
|
|
@@ -197,7 +197,7 @@ const Pe = W({
|
|
|
197
197
|
return {
|
|
198
198
|
state: "init",
|
|
199
199
|
activeStates: ["preloaded", "loaded"],
|
|
200
|
-
loadTracker: new
|
|
200
|
+
loadTracker: new K(0)
|
|
201
201
|
};
|
|
202
202
|
},
|
|
203
203
|
watch: {
|
|
@@ -218,15 +218,15 @@ const Pe = W({
|
|
|
218
218
|
this.state = "preloaded", this.$emit("preloaded");
|
|
219
219
|
},
|
|
220
220
|
loadImages(e) {
|
|
221
|
-
this.state = "init", this.$refs.baseImage.src = e[0], this.loadTracker = new
|
|
221
|
+
this.state = "init", this.$refs.baseImage.src = e[0], this.loadTracker = new K(e.length).onLoadFinished(
|
|
222
222
|
() => {
|
|
223
223
|
this.state = "loaded", this.$emit("ready");
|
|
224
224
|
}
|
|
225
225
|
);
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
|
-
}),
|
|
229
|
-
function
|
|
228
|
+
}), Pe = { key: 0 }, Ye = ["src"];
|
|
229
|
+
function Qe(e, t, i, r, n, s) {
|
|
230
230
|
return l(), m("div", null, [
|
|
231
231
|
o("img", {
|
|
232
232
|
ref: "baseImage",
|
|
@@ -234,20 +234,20 @@ function ze(e, t, i, r, n, s) {
|
|
|
234
234
|
style: { opacity: 1, borderRadius: 50 },
|
|
235
235
|
onLoad: t[0] || (t[0] = (...a) => e.onPreloaded && e.onPreloaded(...a))
|
|
236
236
|
}, null, 544),
|
|
237
|
-
e.state === "preloaded" || e.state === "loaded" ? x((l(), m("div",
|
|
237
|
+
e.state === "preloaded" || e.state === "loaded" ? x((l(), m("div", Pe, [
|
|
238
238
|
(l(!0), m(U, null, D(e.imageUrls, (a, d) => (l(), m("img", {
|
|
239
239
|
key: d,
|
|
240
240
|
class: E({ "image-instance": !0, active: d === e.activeIndex }),
|
|
241
241
|
src: a,
|
|
242
242
|
onLoad: t[1] || (t[1] = (p) => e.loadTracker.partLoaded())
|
|
243
|
-
}, null, 42,
|
|
243
|
+
}, null, 42, Ye))), 128)),
|
|
244
244
|
L(" Here ")
|
|
245
245
|
], 512)), [
|
|
246
246
|
[B, e.state === "loaded"]
|
|
247
247
|
]) : f("", !0)
|
|
248
248
|
]);
|
|
249
249
|
}
|
|
250
|
-
const
|
|
250
|
+
const _e = /* @__PURE__ */ C(qe, [["render", Qe], ["__scopeId", "data-v-fad48118"]]), ze = {
|
|
251
251
|
name: "FloatingCard",
|
|
252
252
|
props: {
|
|
253
253
|
pos: { type: Object, required: !0 },
|
|
@@ -260,7 +260,7 @@ const Ie = /* @__PURE__ */ C(Pe, [["render", ze], ["__scopeId", "data-v-fad48118
|
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
};
|
|
263
|
-
function
|
|
263
|
+
function $e(e, t, i, r, n, s) {
|
|
264
264
|
const a = c("v-dialog"), d = c("v-fade-transition");
|
|
265
265
|
return l(), y(d, {
|
|
266
266
|
origin: s.q.replace("-", " ") + " " + i.pos.x + " " + i.pos.y
|
|
@@ -287,21 +287,21 @@ function We(e, t, i, r, n, s) {
|
|
|
287
287
|
_: 3
|
|
288
288
|
}, 8, ["origin"]);
|
|
289
289
|
}
|
|
290
|
-
const
|
|
290
|
+
const ne = /* @__PURE__ */ C(ze, [["render", $e], ["__scopeId", "data-v-b74de171"]]), We = {
|
|
291
291
|
name: "QiHoverProbe",
|
|
292
292
|
computed: {
|
|
293
293
|
isHoverEnabled() {
|
|
294
294
|
return window.getComputedStyle(this.$refs.hoverCheck).display === "none";
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
|
-
},
|
|
297
|
+
}, Je = {
|
|
298
298
|
ref: "hoverCheck",
|
|
299
299
|
class: "hover-check"
|
|
300
300
|
};
|
|
301
|
-
function
|
|
302
|
-
return l(), m("div",
|
|
301
|
+
function Ge(e, t, i, r, n, s) {
|
|
302
|
+
return l(), m("div", Je, null, 512);
|
|
303
303
|
}
|
|
304
|
-
const Q = /* @__PURE__ */ C(
|
|
304
|
+
const Q = /* @__PURE__ */ C(We, [["render", Ge], ["__scopeId", "data-v-e4729353"]]), Xe = {
|
|
305
305
|
name: "QiZoomBox",
|
|
306
306
|
props: {
|
|
307
307
|
desktop: {
|
|
@@ -508,12 +508,12 @@ const Q = /* @__PURE__ */ C(Je, [["render", Xe], ["__scopeId", "data-v-e4729353"
|
|
|
508
508
|
});
|
|
509
509
|
}
|
|
510
510
|
}
|
|
511
|
-
},
|
|
511
|
+
}, Ze = {
|
|
512
512
|
ref: "box",
|
|
513
513
|
class: "zoom-box-container"
|
|
514
514
|
};
|
|
515
|
-
function
|
|
516
|
-
return l(), m("div",
|
|
515
|
+
function Ke(e, t, i, r, n, s) {
|
|
516
|
+
return l(), m("div", Ze, [
|
|
517
517
|
o("div", {
|
|
518
518
|
style: M({ "transform-origin": "top left", transform: s.transform }),
|
|
519
519
|
class: "zoom-box"
|
|
@@ -522,10 +522,10 @@ function et(e, t, i, r, n, s) {
|
|
|
522
522
|
], 4)
|
|
523
523
|
], 512);
|
|
524
524
|
}
|
|
525
|
-
const
|
|
525
|
+
const se = /* @__PURE__ */ C(Xe, [["render", Ke], ["__scopeId", "data-v-83bfd28a"]]);
|
|
526
526
|
class H {
|
|
527
527
|
async loadJson(t) {
|
|
528
|
-
return (await
|
|
528
|
+
return (await ke.get(t)).data;
|
|
529
529
|
}
|
|
530
530
|
async loadImage(t) {
|
|
531
531
|
return new Promise((i, r) => {
|
|
@@ -545,8 +545,8 @@ class H {
|
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
547
|
}
|
|
548
|
-
const
|
|
549
|
-
class
|
|
548
|
+
const et = "buildingChooser.json", tt = 180;
|
|
549
|
+
class Ie {
|
|
550
550
|
constructor(t) {
|
|
551
551
|
this._cdnFileResolver = t, this._resourceLoader = new H();
|
|
552
552
|
}
|
|
@@ -554,7 +554,7 @@ class Se {
|
|
|
554
554
|
return this._cdnFileResolver ? this._cdnFileResolver(`/${t}`) : null;
|
|
555
555
|
}
|
|
556
556
|
loadConfigFile() {
|
|
557
|
-
const t = this.constructFileUrl(
|
|
557
|
+
const t = this.constructFileUrl(et);
|
|
558
558
|
return t ? this._resourceLoader.loadJson(t) : null;
|
|
559
559
|
}
|
|
560
560
|
loadBuildingMapImage(t) {
|
|
@@ -573,7 +573,7 @@ class Se {
|
|
|
573
573
|
}
|
|
574
574
|
getBackgroundImageData(t) {
|
|
575
575
|
return "days" in t ? this.processMultipleDays(t.days) : [this.processTimeSamples(
|
|
576
|
-
|
|
576
|
+
tt,
|
|
577
577
|
t.timeSamples
|
|
578
578
|
)];
|
|
579
579
|
}
|
|
@@ -652,10 +652,10 @@ class Y {
|
|
|
652
652
|
}
|
|
653
653
|
}
|
|
654
654
|
}
|
|
655
|
-
const
|
|
655
|
+
const it = /* @__PURE__ */ new Date(0);
|
|
656
656
|
class J {
|
|
657
657
|
static empty() {
|
|
658
|
-
return new J([{ referenceDate:
|
|
658
|
+
return new J([{ referenceDate: it, urls: [] }]);
|
|
659
659
|
}
|
|
660
660
|
constructor(t) {
|
|
661
661
|
this._imagesByDay = t, this._state = { selectedIndex: 0 };
|
|
@@ -679,7 +679,7 @@ class J {
|
|
|
679
679
|
return this._imagesByDay[this.selectedIndex].urls;
|
|
680
680
|
}
|
|
681
681
|
}
|
|
682
|
-
const
|
|
682
|
+
const nt = {
|
|
683
683
|
// virtual tour default labels
|
|
684
684
|
interior: "Interiør",
|
|
685
685
|
"see-a-selection-of-the-options-in-the-project": "Se et utvalg av tilvalgsmulighetene i prosjektet.",
|
|
@@ -712,7 +712,7 @@ const st = {
|
|
|
712
712
|
};
|
|
713
713
|
class R {
|
|
714
714
|
constructor(t, i) {
|
|
715
|
-
this._labels = { ...
|
|
715
|
+
this._labels = { ...nt, ...t || {} }, this._language = i || "en";
|
|
716
716
|
}
|
|
717
717
|
getLabel(t) {
|
|
718
718
|
return t in this._labels ? this.get(this._labels[t]) : t;
|
|
@@ -728,18 +728,18 @@ class R {
|
|
|
728
728
|
return "";
|
|
729
729
|
}
|
|
730
730
|
}
|
|
731
|
-
const
|
|
731
|
+
const st = W({
|
|
732
732
|
setup() {
|
|
733
|
-
|
|
733
|
+
ge({});
|
|
734
734
|
},
|
|
735
735
|
name: "QiBuildingChooserSvg",
|
|
736
736
|
components: {
|
|
737
|
-
QiBuildingChooserSunSimControl:
|
|
738
|
-
QiBuildingChooserSceneImageStack:
|
|
739
|
-
QiNorthDirection:
|
|
740
|
-
QiFloatingCard:
|
|
737
|
+
QiBuildingChooserSunSimControl: Ce,
|
|
738
|
+
QiBuildingChooserSceneImageStack: _e,
|
|
739
|
+
QiNorthDirection: ie,
|
|
740
|
+
QiFloatingCard: ne,
|
|
741
741
|
QiHoverProbe: Q,
|
|
742
|
-
QiZoomBox:
|
|
742
|
+
QiZoomBox: se
|
|
743
743
|
},
|
|
744
744
|
emits: ["go-to-building", "hover-over-building", "hover-out-building"],
|
|
745
745
|
provide() {
|
|
@@ -801,7 +801,7 @@ const ot = W({
|
|
|
801
801
|
}
|
|
802
802
|
},
|
|
803
803
|
async mounted() {
|
|
804
|
-
const t = await new
|
|
804
|
+
const t = await new Ie(
|
|
805
805
|
this.cdnFileResolver
|
|
806
806
|
).loadBuildingChooser();
|
|
807
807
|
if (t) {
|
|
@@ -898,14 +898,14 @@ const ot = W({
|
|
|
898
898
|
this.hoverBuildingId = e, this.isHoverable && this.hoverBuilding && this.canGoToBuildingCallback(this.hoverBuilding) && this.$emit("go-to-building", this.hoverBuilding);
|
|
899
899
|
}
|
|
900
900
|
}
|
|
901
|
-
}),
|
|
901
|
+
}), ot = {
|
|
902
902
|
key: 0,
|
|
903
903
|
style: { height: "50vh" },
|
|
904
904
|
class: "d-flex justify-center align-center blue-grey lighten-5"
|
|
905
|
-
},
|
|
906
|
-
function
|
|
905
|
+
}, rt = { class: "image-instances" }, at = { key: 0 }, lt = { class: "svg-container" }, dt = ["viewBox"], ct = ["innerHTML", "data-building-id", "onMouseover", "onMouseout", "onMousemove", "onClick"], ut = ["innerHTML"];
|
|
906
|
+
function ht(e, t, i, r, n, s) {
|
|
907
907
|
const a = c("v-icon"), d = c("qi-building-chooser-scene-image-stack"), p = c("qi-zoom-box"), v = c("qi-north-direction"), w = c("qi-building-chooser-sun-sim-control"), S = c("qi-floating-card"), g = c("qi-hover-probe");
|
|
908
|
-
return e.error ? (l(), m("div",
|
|
908
|
+
return e.error ? (l(), m("div", ot, [
|
|
909
909
|
u(a, { "x-large": "" }, {
|
|
910
910
|
default: h(() => [
|
|
911
911
|
L("mdi-alert-circle-outline")
|
|
@@ -922,7 +922,7 @@ function mt(e, t, i, r, n, s) {
|
|
|
922
922
|
mobile: e.interactiveMobile
|
|
923
923
|
}, {
|
|
924
924
|
default: h(() => [
|
|
925
|
-
o("div",
|
|
925
|
+
o("div", rt, [
|
|
926
926
|
u(d, {
|
|
927
927
|
"image-urls": e.daysOfYear.imageUrls,
|
|
928
928
|
"active-index": e.halfHourMark,
|
|
@@ -931,8 +931,8 @@ function mt(e, t, i, r, n, s) {
|
|
|
931
931
|
onReady: t[1] || (t[1] = (b) => e.sceneState.ready = !0),
|
|
932
932
|
onReset: e.sceneReset
|
|
933
933
|
}, null, 8, ["image-urls", "active-index", "onResize", "onReset"]),
|
|
934
|
-
e.svgObjects ? x((l(), m("div",
|
|
935
|
-
o("div",
|
|
934
|
+
e.svgObjects ? x((l(), m("div", at, [
|
|
935
|
+
o("div", lt, [
|
|
936
936
|
(l(), m("svg", { viewBox: e.svgViewBox }, [
|
|
937
937
|
(l(!0), m(U, null, D(e.svgObjects, ({ id: b, svg: k }, I) => (l(), m("g", {
|
|
938
938
|
key: I,
|
|
@@ -944,8 +944,8 @@ function mt(e, t, i, r, n, s) {
|
|
|
944
944
|
onMouseout: (O) => e.onBuildingMouseOut(O, b),
|
|
945
945
|
onMousemove: (O) => e.onBuildingMouseMove(O, b),
|
|
946
946
|
onClick: (O) => e.onBuildingClick(b)
|
|
947
|
-
}, null, 46,
|
|
948
|
-
], 8,
|
|
947
|
+
}, null, 46, ct))), 128))
|
|
948
|
+
], 8, dt))
|
|
949
949
|
])
|
|
950
950
|
], 512)), [
|
|
951
951
|
[B, e.sceneState.preloaded]
|
|
@@ -953,7 +953,7 @@ function mt(e, t, i, r, n, s) {
|
|
|
953
953
|
x(o("div", {
|
|
954
954
|
class: "custom-overlay-layer",
|
|
955
955
|
innerHTML: e.customOverlayContent
|
|
956
|
-
}, null, 8,
|
|
956
|
+
}, null, 8, ut), [
|
|
957
957
|
[B, e.sceneState.preloaded]
|
|
958
958
|
])
|
|
959
959
|
])
|
|
@@ -996,7 +996,7 @@ function mt(e, t, i, r, n, s) {
|
|
|
996
996
|
u(g, { ref: "hoverProbe" }, null, 512)
|
|
997
997
|
], 4)) : f("", !0);
|
|
998
998
|
}
|
|
999
|
-
const
|
|
999
|
+
const le = /* @__PURE__ */ C(st, [["render", ht], ["__scopeId", "data-v-0a2cec1f"]]), mt = {
|
|
1000
1000
|
name: "QiBuildingChooserRasterOverlay",
|
|
1001
1001
|
props: {
|
|
1002
1002
|
imageUrl: { type: String, required: !0 },
|
|
@@ -1048,25 +1048,25 @@ const de = /* @__PURE__ */ C(ot, [["render", mt], ["__scopeId", "data-v-0a2cec1f
|
|
|
1048
1048
|
}
|
|
1049
1049
|
}
|
|
1050
1050
|
};
|
|
1051
|
-
function
|
|
1051
|
+
function pt(e, t, i, r, n, s) {
|
|
1052
1052
|
return l(), m("canvas", F({
|
|
1053
1053
|
ref: "canvas",
|
|
1054
1054
|
class: "overlay"
|
|
1055
1055
|
}, i.dimensions), null, 16);
|
|
1056
1056
|
}
|
|
1057
|
-
const
|
|
1057
|
+
const gt = /* @__PURE__ */ C(mt, [["render", pt], ["__scopeId", "data-v-9a90fa2f"]]), vt = W({
|
|
1058
1058
|
setup() {
|
|
1059
|
-
|
|
1059
|
+
ge({});
|
|
1060
1060
|
},
|
|
1061
1061
|
name: "QiBuildingChooserRaster",
|
|
1062
1062
|
components: {
|
|
1063
|
-
QiBuildingChooserRasterOverlay:
|
|
1064
|
-
QiBuildingChooserSunSimControl:
|
|
1065
|
-
QiBuildingChooserSceneImageStack:
|
|
1066
|
-
QiNorthDirection:
|
|
1067
|
-
QiFloatingCard:
|
|
1063
|
+
QiBuildingChooserRasterOverlay: gt,
|
|
1064
|
+
QiBuildingChooserSunSimControl: Ce,
|
|
1065
|
+
QiBuildingChooserSceneImageStack: _e,
|
|
1066
|
+
QiNorthDirection: ie,
|
|
1067
|
+
QiFloatingCard: ne,
|
|
1068
1068
|
QiHoverProbe: Q,
|
|
1069
|
-
QiZoomBox:
|
|
1069
|
+
QiZoomBox: se
|
|
1070
1070
|
},
|
|
1071
1071
|
emits: ["go-to-building", "hover-over-building", "hover-out-building"],
|
|
1072
1072
|
provide() {
|
|
@@ -1128,7 +1128,7 @@ const vt = /* @__PURE__ */ C(pt, [["render", gt], ["__scopeId", "data-v-9a90fa2f
|
|
|
1128
1128
|
}
|
|
1129
1129
|
},
|
|
1130
1130
|
async mounted() {
|
|
1131
|
-
const t = await new
|
|
1131
|
+
const t = await new Ie(
|
|
1132
1132
|
this.cdnFileResolver
|
|
1133
1133
|
).loadBuildingChooser();
|
|
1134
1134
|
t ? (this.canvasRaster = new Y(t.mapImage), this.buildingMap = new P(t.buildingIds), this.daysOfYear = new J(t.backgrounds), this.pickerData = {
|
|
@@ -1176,14 +1176,14 @@ const vt = /* @__PURE__ */ C(pt, [["render", gt], ["__scopeId", "data-v-9a90fa2f
|
|
|
1176
1176
|
this.viewResolver = e;
|
|
1177
1177
|
}
|
|
1178
1178
|
}
|
|
1179
|
-
}),
|
|
1179
|
+
}), ft = {
|
|
1180
1180
|
key: 0,
|
|
1181
1181
|
style: { height: "50vh" },
|
|
1182
1182
|
class: "d-flex justify-center align-center blue-grey lighten-5"
|
|
1183
|
-
},
|
|
1184
|
-
function
|
|
1183
|
+
}, bt = { class: "image-instances" }, yt = ["innerHTML"];
|
|
1184
|
+
function wt(e, t, i, r, n, s) {
|
|
1185
1185
|
const a = c("v-icon"), d = c("qi-building-chooser-scene-image-stack"), p = c("qi-building-chooser-raster-overlay"), v = c("qi-zoom-box"), w = c("qi-north-direction"), S = c("qi-building-chooser-sun-sim-control"), g = c("qi-floating-card"), b = c("qi-hover-probe");
|
|
1186
|
-
return e.error ? (l(), m("div",
|
|
1186
|
+
return e.error ? (l(), m("div", ft, [
|
|
1187
1187
|
u(a, { "x-large": "" }, {
|
|
1188
1188
|
default: h(() => [
|
|
1189
1189
|
L("mdi-alert-circle-outline")
|
|
@@ -1201,7 +1201,7 @@ function kt(e, t, i, r, n, s) {
|
|
|
1201
1201
|
onUpdate: e.updateView
|
|
1202
1202
|
}, {
|
|
1203
1203
|
default: h(() => [
|
|
1204
|
-
o("div",
|
|
1204
|
+
o("div", bt, [
|
|
1205
1205
|
u(d, {
|
|
1206
1206
|
"image-urls": e.daysOfYear.imageUrls,
|
|
1207
1207
|
"active-index": e.halfHourMark,
|
|
@@ -1232,7 +1232,7 @@ function kt(e, t, i, r, n, s) {
|
|
|
1232
1232
|
x(o("div", {
|
|
1233
1233
|
class: "custom-overlay-layer",
|
|
1234
1234
|
innerHTML: e.customOverlayContent
|
|
1235
|
-
}, null, 8,
|
|
1235
|
+
}, null, 8, yt), [
|
|
1236
1236
|
[B, e.sceneState.preloaded]
|
|
1237
1237
|
])
|
|
1238
1238
|
]),
|
|
@@ -1274,11 +1274,11 @@ function kt(e, t, i, r, n, s) {
|
|
|
1274
1274
|
u(b, { ref: "hoverProbe" }, null, 512)
|
|
1275
1275
|
], 4)) : f("", !0);
|
|
1276
1276
|
}
|
|
1277
|
-
const
|
|
1277
|
+
const de = /* @__PURE__ */ C(vt, [["render", wt], ["__scopeId", "data-v-08f2ea1e"]]), kt = {
|
|
1278
1278
|
name: "QiBuildingChooser",
|
|
1279
1279
|
components: {
|
|
1280
|
-
QiBuildingChooserSvg:
|
|
1281
|
-
QiBuildingChooserRaster:
|
|
1280
|
+
QiBuildingChooserSvg: le,
|
|
1281
|
+
QiBuildingChooserRaster: de
|
|
1282
1282
|
},
|
|
1283
1283
|
emits: ["go-to-building", "hover-over-building", "hover-out-building"],
|
|
1284
1284
|
props: {
|
|
@@ -1299,12 +1299,12 @@ const ce = /* @__PURE__ */ C(ft, [["render", kt], ["__scopeId", "data-v-08f2ea1e
|
|
|
1299
1299
|
},
|
|
1300
1300
|
computed: {
|
|
1301
1301
|
component() {
|
|
1302
|
-
return this.useSvg ?
|
|
1302
|
+
return this.useSvg ? le : de;
|
|
1303
1303
|
}
|
|
1304
1304
|
}
|
|
1305
1305
|
};
|
|
1306
|
-
function
|
|
1307
|
-
return l(), y(
|
|
1306
|
+
function Ct(e, t, i, r, n, s) {
|
|
1307
|
+
return l(), y(ve(s.component), {
|
|
1308
1308
|
"show-cards": i.showCards,
|
|
1309
1309
|
"color-callback": i.colorCallback,
|
|
1310
1310
|
"building-callback": i.buildingCallback,
|
|
@@ -1318,16 +1318,16 @@ function _t(e, t, i, r, n, s) {
|
|
|
1318
1318
|
onGoToBuilding: t[0] || (t[0] = (a) => e.$emit("go-to-building", a)),
|
|
1319
1319
|
onHoverOverBuilding: t[1] || (t[1] = (a) => e.$emit("hover-over-building", a)),
|
|
1320
1320
|
onHoverOutBuilding: t[2] || (t[2] = (a) => e.$emit("hover-out-building", a))
|
|
1321
|
-
},
|
|
1321
|
+
}, Be({ _: 2 }, [
|
|
1322
1322
|
D(Object.keys(e.$slots), (a) => ({
|
|
1323
1323
|
name: a,
|
|
1324
1324
|
fn: h((d) => [
|
|
1325
|
-
A(e.$slots, a, be(
|
|
1325
|
+
A(e.$slots, a, fe(be(d)))
|
|
1326
1326
|
])
|
|
1327
1327
|
}))
|
|
1328
1328
|
]), 1064, ["show-cards", "color-callback", "building-callback", "cdn-file-resolver", "i18n", "interactive-desktop", "interactive-mobile", "building-chooser-time-of-day", "can-go-to-building-callback", "custom-overlay-content"]);
|
|
1329
1329
|
}
|
|
1330
|
-
const
|
|
1330
|
+
const _t = /* @__PURE__ */ C(kt, [["render", Ct]]), Se = {
|
|
1331
1331
|
methods: {
|
|
1332
1332
|
throttle(e, t) {
|
|
1333
1333
|
let i = !0;
|
|
@@ -1336,10 +1336,10 @@ const It = /* @__PURE__ */ C(Ct, [["render", _t]]), Ae = {
|
|
|
1336
1336
|
};
|
|
1337
1337
|
}
|
|
1338
1338
|
}
|
|
1339
|
-
},
|
|
1339
|
+
}, It = {
|
|
1340
1340
|
name: "QiApartmentChooserRaster",
|
|
1341
1341
|
components: { QiHoverProbe: Q },
|
|
1342
|
-
mixins: [
|
|
1342
|
+
mixins: [Se],
|
|
1343
1343
|
props: {
|
|
1344
1344
|
cdnFileResolver: { type: Function, required: !0 },
|
|
1345
1345
|
viewModel: { type: Object, required: !0 },
|
|
@@ -1597,10 +1597,10 @@ const It = /* @__PURE__ */ C(Ct, [["render", _t]]), Ae = {
|
|
|
1597
1597
|
this.showApartmentCard = !1;
|
|
1598
1598
|
}
|
|
1599
1599
|
}
|
|
1600
|
-
},
|
|
1601
|
-
function
|
|
1600
|
+
}, St = { id: "canvas" };
|
|
1601
|
+
function At(e, t, i, r, n, s) {
|
|
1602
1602
|
const a = c("qi-hover-probe");
|
|
1603
|
-
return l(), m("div",
|
|
1603
|
+
return l(), m("div", St, [
|
|
1604
1604
|
x(o("canvas", {
|
|
1605
1605
|
id: "canvas-mask",
|
|
1606
1606
|
ref: "canvasMask",
|
|
@@ -1612,10 +1612,10 @@ function Lt(e, t, i, r, n, s) {
|
|
|
1612
1612
|
u(a, { ref: "hoverProbe" }, null, 512)
|
|
1613
1613
|
]);
|
|
1614
1614
|
}
|
|
1615
|
-
const
|
|
1615
|
+
const ce = /* @__PURE__ */ C(It, [["render", At], ["__scopeId", "data-v-3bbbc77b"]]), Lt = {
|
|
1616
1616
|
name: "QiApartmentChooserSvg",
|
|
1617
1617
|
components: { QiHoverProbe: Q },
|
|
1618
|
-
mixins: [
|
|
1618
|
+
mixins: [Se],
|
|
1619
1619
|
props: {
|
|
1620
1620
|
cdnFileResolver: { type: Function, required: !0 },
|
|
1621
1621
|
viewModel: { type: Object, required: !0 },
|
|
@@ -1755,13 +1755,13 @@ const ue = /* @__PURE__ */ C(St, [["render", Lt], ["__scopeId", "data-v-3bbbc77b
|
|
|
1755
1755
|
};
|
|
1756
1756
|
}
|
|
1757
1757
|
}
|
|
1758
|
-
},
|
|
1758
|
+
}, Mt = {
|
|
1759
1759
|
id: "container",
|
|
1760
1760
|
ref: "container"
|
|
1761
|
-
},
|
|
1762
|
-
function
|
|
1761
|
+
}, xt = ["viewBox"], Bt = ["innerHTML", "onMouseenter", "onMouseleave", "onClick"];
|
|
1762
|
+
function Ft(e, t, i, r, n, s) {
|
|
1763
1763
|
const a = c("qi-hover-probe");
|
|
1764
|
-
return l(), m("div",
|
|
1764
|
+
return l(), m("div", Mt, [
|
|
1765
1765
|
x(o("div", {
|
|
1766
1766
|
class: "svg-container",
|
|
1767
1767
|
style: M({
|
|
@@ -1779,15 +1779,15 @@ function Et(e, t, i, r, n, s) {
|
|
|
1779
1779
|
onMouseenter: (v) => s.mouseEnter(d),
|
|
1780
1780
|
onMouseleave: (v) => s.mouseLeave(d),
|
|
1781
1781
|
onClick: (v) => s.click(d)
|
|
1782
|
-
}, null, 44,
|
|
1783
|
-
], 8,
|
|
1782
|
+
}, null, 44, Bt))), 128))
|
|
1783
|
+
], 8, xt)) : f("", !0)
|
|
1784
1784
|
], 4), [
|
|
1785
1785
|
[B, !i.viewModel.isRotating]
|
|
1786
1786
|
]),
|
|
1787
1787
|
u(a, { ref: "hoverProbe" }, null, 512)
|
|
1788
1788
|
], 512);
|
|
1789
1789
|
}
|
|
1790
|
-
const
|
|
1790
|
+
const ue = /* @__PURE__ */ C(Lt, [["render", Ft], ["__scopeId", "data-v-82a61864"]]), Et = {
|
|
1791
1791
|
name: "QiApartmentChooserNavigation",
|
|
1792
1792
|
inject: ["i18n"],
|
|
1793
1793
|
props: {
|
|
@@ -1808,11 +1808,11 @@ const he = /* @__PURE__ */ C(Mt, [["render", Et], ["__scopeId", "data-v-82a61864
|
|
|
1808
1808
|
e.keyCode === 37 ? this.prevUnit && this.$emit("prev-unit") : e.keyCode === 39 && this.nextUnit && this.$emit("next-unit");
|
|
1809
1809
|
}
|
|
1810
1810
|
}
|
|
1811
|
-
},
|
|
1811
|
+
}, Dt = {
|
|
1812
1812
|
key: 0,
|
|
1813
1813
|
class: "d-none d-md-flex"
|
|
1814
1814
|
};
|
|
1815
|
-
function
|
|
1815
|
+
function Ot(e, t, i, r, n, s) {
|
|
1816
1816
|
const a = c("v-btn");
|
|
1817
1817
|
return l(), m("div", null, [
|
|
1818
1818
|
u(a, {
|
|
@@ -1838,7 +1838,7 @@ function Ut(e, t, i, r, n, s) {
|
|
|
1838
1838
|
onClick: t[2] || (t[2] = (d) => e.$emit("go-to-unit", i.selectedUnit))
|
|
1839
1839
|
}, {
|
|
1840
1840
|
default: h(() => [
|
|
1841
|
-
i.selectedUnit && i.canGoToUnitCallback(i.selectedUnit) ? (l(), m("span",
|
|
1841
|
+
i.selectedUnit && i.canGoToUnitCallback(i.selectedUnit) ? (l(), m("span", Dt, _(s.i18n.getLabel("see-apartment")) + " ", 1)) : f("", !0),
|
|
1842
1842
|
o("span", null, _(i.selectedUnit && "title" in i.selectedUnit ? i.selectedUnit.title : "-"), 1)
|
|
1843
1843
|
]),
|
|
1844
1844
|
_: 1
|
|
@@ -1860,8 +1860,8 @@ function Ut(e, t, i, r, n, s) {
|
|
|
1860
1860
|
})
|
|
1861
1861
|
]);
|
|
1862
1862
|
}
|
|
1863
|
-
const
|
|
1864
|
-
class
|
|
1863
|
+
const Ut = /* @__PURE__ */ C(Et, [["render", Ot], ["__scopeId", "data-v-129ef905"]]);
|
|
1864
|
+
class oe {
|
|
1865
1865
|
constructor(t, i, r, n) {
|
|
1866
1866
|
this._rotator = t, this._direction = i, this._frameIndex = r, this._sceneCount = n;
|
|
1867
1867
|
}
|
|
@@ -1875,7 +1875,7 @@ class re {
|
|
|
1875
1875
|
const t = this._rotator.clampFrameIndex(
|
|
1876
1876
|
this._frameIndex + this._direction
|
|
1877
1877
|
), i = this._rotator.isCardinalFrame(t) ? this._sceneCount - 1 : this._sceneCount;
|
|
1878
|
-
return new
|
|
1878
|
+
return new oe(
|
|
1879
1879
|
this._rotator,
|
|
1880
1880
|
this._direction,
|
|
1881
1881
|
t,
|
|
@@ -1883,13 +1883,13 @@ class re {
|
|
|
1883
1883
|
);
|
|
1884
1884
|
}
|
|
1885
1885
|
}
|
|
1886
|
-
class
|
|
1886
|
+
class Rt {
|
|
1887
1887
|
constructor(t, i) {
|
|
1888
1888
|
this._cardinalFrames = t, this._totalFrameCount = i;
|
|
1889
1889
|
}
|
|
1890
1890
|
start(t, i, r) {
|
|
1891
1891
|
const n = this.startFrameIndexForScene(i);
|
|
1892
|
-
return new
|
|
1892
|
+
return new oe(this, t, n, r);
|
|
1893
1893
|
}
|
|
1894
1894
|
isCardinalFrame(t) {
|
|
1895
1895
|
return this._cardinalFrames.includes(t);
|
|
@@ -1901,7 +1901,7 @@ class Tt {
|
|
|
1901
1901
|
return this._cardinalFrames[t];
|
|
1902
1902
|
}
|
|
1903
1903
|
}
|
|
1904
|
-
const
|
|
1904
|
+
const he = 64, j = 4, Tt = 120, Vt = {
|
|
1905
1905
|
name: "QiApartmentChooserRotator",
|
|
1906
1906
|
props: {
|
|
1907
1907
|
viewModel: { type: Object, required: !0 },
|
|
@@ -1913,8 +1913,8 @@ const me = 64, j = 4, Vt = 120, Ht = {
|
|
|
1913
1913
|
data() {
|
|
1914
1914
|
const e = this.createFrames();
|
|
1915
1915
|
return {
|
|
1916
|
-
loadTracker: new
|
|
1917
|
-
sceneRotator: new
|
|
1916
|
+
loadTracker: new K(e.length).onLoadFinished(() => this.$emit("loaded")).onLoadProgress((t) => this.$emit("progress", t)).onLoadError(() => this.$emit("error")),
|
|
1917
|
+
sceneRotator: new Rt(this.cardinalFrames, he),
|
|
1918
1918
|
images: e,
|
|
1919
1919
|
isPreloaded: !1
|
|
1920
1920
|
};
|
|
@@ -1948,7 +1948,7 @@ const me = 64, j = 4, Vt = 120, Ht = {
|
|
|
1948
1948
|
this.images[e.frameIndex].show = !1;
|
|
1949
1949
|
const t = e.nextFrame();
|
|
1950
1950
|
this.images[t.frameIndex].show = !0, t.atEnd ? this.rotateComplete() : window.requestAnimationFrame(() => this.rotationStep(t));
|
|
1951
|
-
}, 1e3 /
|
|
1951
|
+
}, 1e3 / Tt);
|
|
1952
1952
|
},
|
|
1953
1953
|
rotateComplete() {
|
|
1954
1954
|
const e = this.sceneRotator.startFrameIndexForScene(
|
|
@@ -1958,7 +1958,7 @@ const me = 64, j = 4, Vt = 120, Ht = {
|
|
|
1958
1958
|
},
|
|
1959
1959
|
createFrames() {
|
|
1960
1960
|
const e = [];
|
|
1961
|
-
for (let t = 0; t <
|
|
1961
|
+
for (let t = 0; t < he; t++) {
|
|
1962
1962
|
const { sourceSet: i, defaultPath: r } = this.frameImageSource(t);
|
|
1963
1963
|
e.push({
|
|
1964
1964
|
index: t,
|
|
@@ -1990,28 +1990,28 @@ const me = 64, j = 4, Vt = 120, Ht = {
|
|
|
1990
1990
|
return r && e < t || !r && e > t ? 1 : -1;
|
|
1991
1991
|
}
|
|
1992
1992
|
}
|
|
1993
|
-
},
|
|
1993
|
+
}, Ht = {
|
|
1994
1994
|
key: 0,
|
|
1995
1995
|
class: "fill-parent d-flex justify-center align-center blue-grey lighten-5"
|
|
1996
|
-
},
|
|
1996
|
+
}, Nt = {
|
|
1997
1997
|
key: 1,
|
|
1998
1998
|
class: "frame-container"
|
|
1999
|
-
},
|
|
1999
|
+
}, jt = { class: "frame-image" }, qt = ["srcset", "type"], Pt = ["src"], Yt = {
|
|
2000
2000
|
key: 2,
|
|
2001
2001
|
id: "image-stack",
|
|
2002
2002
|
class: "frame-container"
|
|
2003
|
-
},
|
|
2004
|
-
function
|
|
2003
|
+
}, Qt = ["alt"], zt = ["srcset"], $t = ["src"];
|
|
2004
|
+
function Wt(e, t, i, r, n, s) {
|
|
2005
2005
|
const a = c("v-icon");
|
|
2006
2006
|
return l(), m("div", null, [
|
|
2007
|
-
n.loadTracker.isError ? (l(), m("div",
|
|
2007
|
+
n.loadTracker.isError ? (l(), m("div", Ht, [
|
|
2008
2008
|
u(a, { "x-large": "" }, {
|
|
2009
2009
|
default: h(() => [
|
|
2010
2010
|
L("mdi-alert-circle-outline")
|
|
2011
2011
|
]),
|
|
2012
2012
|
_: 1
|
|
2013
2013
|
})
|
|
2014
|
-
])) : n.isPreloaded ? (l(), m("div",
|
|
2014
|
+
])) : n.isPreloaded ? (l(), m("div", Yt, [
|
|
2015
2015
|
(l(!0), m(U, null, D(n.images, (d) => (l(), m("picture", {
|
|
2016
2016
|
key: d.index,
|
|
2017
2017
|
alt: d.index,
|
|
@@ -2020,37 +2020,37 @@ function Jt(e, t, i, r, n, s) {
|
|
|
2020
2020
|
o("source", {
|
|
2021
2021
|
srcset: d.sourceSet,
|
|
2022
2022
|
type: "image/jpeg"
|
|
2023
|
-
}, null, 8,
|
|
2023
|
+
}, null, 8, zt),
|
|
2024
2024
|
o("img", {
|
|
2025
2025
|
src: d.defaultPath,
|
|
2026
2026
|
alt: "Building image",
|
|
2027
2027
|
onLoad: t[2] || (t[2] = (p) => n.loadTracker.partLoaded()),
|
|
2028
2028
|
onError: t[3] || (t[3] = (p) => n.loadTracker.errorDetected())
|
|
2029
|
-
}, null, 40,
|
|
2030
|
-
], 10,
|
|
2031
|
-
])) : (l(), m("div",
|
|
2032
|
-
o("picture",
|
|
2029
|
+
}, null, 40, $t)
|
|
2030
|
+
], 10, Qt))), 128))
|
|
2031
|
+
])) : (l(), m("div", Nt, [
|
|
2032
|
+
o("picture", jt, [
|
|
2033
2033
|
o("source", {
|
|
2034
2034
|
srcset: s.activeFrame.sourceSet,
|
|
2035
2035
|
type: s.activeFrame.type
|
|
2036
|
-
}, null, 8,
|
|
2036
|
+
}, null, 8, qt),
|
|
2037
2037
|
o("img", {
|
|
2038
2038
|
src: s.activeFrame.defaultPath,
|
|
2039
2039
|
onLoad: t[0] || (t[0] = (d) => n.isPreloaded = !0),
|
|
2040
2040
|
onError: t[1] || (t[1] = (d) => n.loadTracker.errorDetected())
|
|
2041
|
-
}, null, 40,
|
|
2041
|
+
}, null, 40, Pt)
|
|
2042
2042
|
])
|
|
2043
2043
|
]))
|
|
2044
2044
|
]);
|
|
2045
2045
|
}
|
|
2046
|
-
const
|
|
2047
|
-
function
|
|
2048
|
-
return e <
|
|
2046
|
+
const Jt = /* @__PURE__ */ C(Vt, [["render", Wt], ["__scopeId", "data-v-e6481f8e"]]), re = 4;
|
|
2047
|
+
function Ae(e) {
|
|
2048
|
+
return e < re ? e + 1 : 1;
|
|
2049
2049
|
}
|
|
2050
|
-
function
|
|
2051
|
-
return e > 1 ? e - 1 :
|
|
2050
|
+
function Gt(e) {
|
|
2051
|
+
return e > 1 ? e - 1 : re;
|
|
2052
2052
|
}
|
|
2053
|
-
class
|
|
2053
|
+
class Xt {
|
|
2054
2054
|
constructor(t) {
|
|
2055
2055
|
this._state = {
|
|
2056
2056
|
isRotating: !1,
|
|
@@ -2080,25 +2080,25 @@ class Zt {
|
|
|
2080
2080
|
}
|
|
2081
2081
|
rotateCounterClockwise() {
|
|
2082
2082
|
this.unlessRotatingDo(() => {
|
|
2083
|
-
this.currentScene =
|
|
2083
|
+
this.currentScene = Ae(this.currentScene);
|
|
2084
2084
|
});
|
|
2085
2085
|
}
|
|
2086
2086
|
rotateClockwise() {
|
|
2087
2087
|
this.unlessRotatingDo(() => {
|
|
2088
|
-
this.currentScene =
|
|
2088
|
+
this.currentScene = Gt(this.currentScene);
|
|
2089
2089
|
});
|
|
2090
2090
|
}
|
|
2091
2091
|
}
|
|
2092
|
-
const
|
|
2092
|
+
const Zt = 4, Kt = [0, 16, 32, 48], ei = {
|
|
2093
2093
|
name: "QiApartmentChooser",
|
|
2094
2094
|
components: {
|
|
2095
|
-
QiApartmentChooserRaster:
|
|
2096
|
-
QiApartmentChooserSvg:
|
|
2097
|
-
QiApartmentChooserNavigation:
|
|
2098
|
-
QiApartmentChooserRotator:
|
|
2099
|
-
QiFloatingCard:
|
|
2095
|
+
QiApartmentChooserRaster: ce,
|
|
2096
|
+
QiApartmentChooserSvg: ue,
|
|
2097
|
+
QiApartmentChooserNavigation: Ut,
|
|
2098
|
+
QiApartmentChooserRotator: Jt,
|
|
2099
|
+
QiFloatingCard: ne,
|
|
2100
2100
|
QiHoverProbe: Q,
|
|
2101
|
-
QiZoomBox:
|
|
2101
|
+
QiZoomBox: se
|
|
2102
2102
|
},
|
|
2103
2103
|
provide() {
|
|
2104
2104
|
return {
|
|
@@ -2158,7 +2158,7 @@ const Kt = 4, ei = [0, 16, 32, 48], ti = {
|
|
|
2158
2158
|
return this.unitCallback ? this.unitCallback(this.selectedUnitId) : this.selectedUnitId;
|
|
2159
2159
|
},
|
|
2160
2160
|
overlayComponent() {
|
|
2161
|
-
return this.useSvg ?
|
|
2161
|
+
return this.useSvg ? ue : ce;
|
|
2162
2162
|
}
|
|
2163
2163
|
},
|
|
2164
2164
|
watch: {
|
|
@@ -2181,8 +2181,8 @@ const Kt = 4, ei = [0, 16, 32, 48], ti = {
|
|
|
2181
2181
|
} catch {
|
|
2182
2182
|
console.info("apartmentChooser.json not found");
|
|
2183
2183
|
}
|
|
2184
|
-
const t = e && e.startScene !== void 0 ? e.startScene :
|
|
2185
|
-
this.scenes = e && e.scenes !== void 0 ? e.scenes :
|
|
2184
|
+
const t = e && e.startScene !== void 0 ? e.startScene : Zt;
|
|
2185
|
+
this.scenes = e && e.scenes !== void 0 ? e.scenes : Kt, this.sceneData = e && e.sceneData !== void 0 ? e.sceneData.map((n) => ({
|
|
2186
2186
|
apartmentId: n.apartmentID,
|
|
2187
2187
|
index: n.index
|
|
2188
2188
|
})) : this.buildingSceneDataResolver ? await this.buildingSceneDataResolver() : [], this.scenesByApartment = e && e.sceneData !== void 0 ? e.sceneData.map((n) => {
|
|
@@ -2191,8 +2191,8 @@ const Kt = 4, ei = [0, 16, 32, 48], ti = {
|
|
|
2191
2191
|
}).reduce((n, s) => ({ ...n, [s.unitId]: s.scene }), {}) : this.buildingScenesByApartmentResolver ? await this.buildingScenesByApartmentResolver() : [];
|
|
2192
2192
|
const i = (n, s = "unitId") => {
|
|
2193
2193
|
let a = t, d = [];
|
|
2194
|
-
for (let p = 0; p <
|
|
2195
|
-
d.push(a), a =
|
|
2194
|
+
for (let p = 0; p < re; p++)
|
|
2195
|
+
d.push(a), a = Ae(a);
|
|
2196
2196
|
return n.sort((p, v) => {
|
|
2197
2197
|
const w = d.findIndex(
|
|
2198
2198
|
(g) => g === this.scenesByApartment[p[s]]
|
|
@@ -2202,7 +2202,7 @@ const Kt = 4, ei = [0, 16, 32, 48], ti = {
|
|
|
2202
2202
|
return w < S ? -1 : w > S ? 1 : 0;
|
|
2203
2203
|
}), n;
|
|
2204
2204
|
}, r = (n) => {
|
|
2205
|
-
this.viewModel = new
|
|
2205
|
+
this.viewModel = new Xt(n);
|
|
2206
2206
|
};
|
|
2207
2207
|
this.$emit("initialized", {
|
|
2208
2208
|
scene: t,
|
|
@@ -2224,15 +2224,15 @@ const Kt = 4, ei = [0, 16, 32, 48], ti = {
|
|
|
2224
2224
|
this.hoverApartment = null, this.closeHandler = t, this.$emit("hover-out-unit", e);
|
|
2225
2225
|
}
|
|
2226
2226
|
}
|
|
2227
|
-
},
|
|
2227
|
+
}, ti = { key: 0 }, ii = { class: "interactive-viewer" }, ni = { class: "fill-parent" }, si = { key: 0 }, oi = {
|
|
2228
2228
|
key: 1,
|
|
2229
2229
|
class: "navigation"
|
|
2230
|
-
},
|
|
2231
|
-
function
|
|
2230
|
+
}, ri = { key: 2 };
|
|
2231
|
+
function ai(e, t, i, r, n, s) {
|
|
2232
2232
|
const a = c("qi-apartment-chooser-rotator"), d = c("qi-zoom-box"), p = c("qi-floating-card"), v = c("qi-apartment-chooser-navigation"), w = c("v-progress-linear"), S = c("qi-hover-probe");
|
|
2233
|
-
return n.viewModel ? (l(), m("div",
|
|
2234
|
-
o("div",
|
|
2235
|
-
o("div",
|
|
2233
|
+
return n.viewModel ? (l(), m("div", ti, [
|
|
2234
|
+
o("div", ii, [
|
|
2235
|
+
o("div", ni, [
|
|
2236
2236
|
u(d, {
|
|
2237
2237
|
desktop: n.loadState.isReady && i.interactiveDesktop,
|
|
2238
2238
|
mobile: n.loadState.isReady && i.interactiveMobile
|
|
@@ -2247,8 +2247,8 @@ function li(e, t, i, r, n, s) {
|
|
|
2247
2247
|
onLoaded: t[1] || (t[1] = (g) => n.loadState.isReady = !0),
|
|
2248
2248
|
onError: t[2] || (t[2] = (g) => n.loadState.isError = !0)
|
|
2249
2249
|
}, null, 8, ["cdn-file-resolver", "view-model", "cardinal-frames", "build"]),
|
|
2250
|
-
n.loadState.isReady ? (l(), m("div",
|
|
2251
|
-
(l(), y(
|
|
2250
|
+
n.loadState.isReady ? (l(), m("div", si, [
|
|
2251
|
+
(l(), y(ve(s.overlayComponent), {
|
|
2252
2252
|
"cdn-file-resolver": i.cdnFileResolver,
|
|
2253
2253
|
"view-model": n.viewModel,
|
|
2254
2254
|
"selected-unit-id": i.selectedUnitId,
|
|
@@ -2264,7 +2264,7 @@ function li(e, t, i, r, n, s) {
|
|
|
2264
2264
|
onPos: s.onPos
|
|
2265
2265
|
}, {
|
|
2266
2266
|
default: h((g) => [
|
|
2267
|
-
A(e.$slots, "default", be(
|
|
2267
|
+
A(e.$slots, "default", fe(be(g)), void 0, !0)
|
|
2268
2268
|
]),
|
|
2269
2269
|
_: 3
|
|
2270
2270
|
}, 40, ["cdn-file-resolver", "view-model", "selected-unit-id", "scene-data", "color-callback", "unit-callback", "can-go-to-unit-callback", "draw-observer", "onHoverOver", "onHoverOut", "onPos"]))
|
|
@@ -2290,7 +2290,7 @@ function li(e, t, i, r, n, s) {
|
|
|
2290
2290
|
]),
|
|
2291
2291
|
_: 3
|
|
2292
2292
|
}, 8, ["is-hoverable", "pos", "onOutside"])) : f("", !0),
|
|
2293
|
-
n.loadState.isReady ? (l(), m("div",
|
|
2293
|
+
n.loadState.isReady ? (l(), m("div", oi, [
|
|
2294
2294
|
u(v, {
|
|
2295
2295
|
"can-go-to-unit-callback": i.canGoToUnitCallback,
|
|
2296
2296
|
"selected-unit": s.selectedUnit,
|
|
@@ -2301,7 +2301,7 @@ function li(e, t, i, r, n, s) {
|
|
|
2301
2301
|
onPrevUnit: t[6] || (t[6] = (g) => e.$emit("nav-unit", i.prevUnit)),
|
|
2302
2302
|
onNextUnit: t[7] || (t[7] = (g) => e.$emit("nav-unit", i.nextUnit))
|
|
2303
2303
|
}, null, 8, ["can-go-to-unit-callback", "selected-unit", "prev-unit", "next-unit", "view-model"])
|
|
2304
|
-
])) : n.loadState.isError ? f("", !0) : (l(), m("div",
|
|
2304
|
+
])) : n.loadState.isError ? f("", !0) : (l(), m("div", ri, [
|
|
2305
2305
|
u(w, {
|
|
2306
2306
|
indeterminate: !n.loadState.progress,
|
|
2307
2307
|
value: n.loadState.progress
|
|
@@ -2312,21 +2312,21 @@ function li(e, t, i, r, n, s) {
|
|
|
2312
2312
|
u(S, { ref: "hoverProbe" }, null, 512)
|
|
2313
2313
|
])) : f("", !0);
|
|
2314
2314
|
}
|
|
2315
|
-
const
|
|
2315
|
+
const li = /* @__PURE__ */ C(ei, [["render", ai], ["__scopeId", "data-v-3a1121f3"]]);
|
|
2316
2316
|
var N = {};
|
|
2317
2317
|
Object.defineProperty(N, "__esModule", {
|
|
2318
2318
|
value: !0
|
|
2319
2319
|
});
|
|
2320
|
-
var
|
|
2320
|
+
var di = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
2321
2321
|
return typeof e;
|
|
2322
2322
|
} : function(e) {
|
|
2323
2323
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
2324
|
-
},
|
|
2325
|
-
N.isWebWorker =
|
|
2326
|
-
N.isNode =
|
|
2327
|
-
N.isJsDom =
|
|
2328
|
-
N.isDeno =
|
|
2329
|
-
const
|
|
2324
|
+
}, ci = typeof window < "u" && typeof window.document < "u", ui = typeof process < "u" && process.versions != null && process.versions.node != null, hi = (typeof self > "u" ? "undefined" : di(self)) === "object" && self.constructor && self.constructor.name === "DedicatedWorkerGlobalScope", mi = typeof window < "u" && window.name === "nodejs" || typeof navigator < "u" && (navigator.userAgent.includes("Node.js") || navigator.userAgent.includes("jsdom")), pi = typeof Deno < "u" && typeof Deno.version < "u" && typeof Deno.version.deno < "u", gi = N.isBrowser = ci;
|
|
2325
|
+
N.isWebWorker = hi;
|
|
2326
|
+
N.isNode = ui;
|
|
2327
|
+
N.isJsDom = mi;
|
|
2328
|
+
N.isDeno = pi;
|
|
2329
|
+
const vi = {
|
|
2330
2330
|
name: "Player",
|
|
2331
2331
|
emits: [
|
|
2332
2332
|
"new-camera-callback",
|
|
@@ -2397,7 +2397,7 @@ const fi = {
|
|
|
2397
2397
|
this.$emit("new-rotation-callback", a), this.playerRotation = a;
|
|
2398
2398
|
}
|
|
2399
2399
|
};
|
|
2400
|
-
if (!
|
|
2400
|
+
if (!gi)
|
|
2401
2401
|
return;
|
|
2402
2402
|
const n = await new G.Main(
|
|
2403
2403
|
this.rootUrl,
|
|
@@ -2430,66 +2430,66 @@ const fi = {
|
|
|
2430
2430
|
(window.innerWidth <= 600 || i <= 600) && (r = window.innerHeight * 0.75, this.isInIframe && (r = screen.height * 0.65), i = r * (1 / e)), t.style.height = r + "px", t.style.width = i + "px", this.$emit("new-size-callback", i, r);
|
|
2431
2431
|
}
|
|
2432
2432
|
}
|
|
2433
|
-
},
|
|
2433
|
+
}, fi = { id: "player-wrapper" }, bi = { id: "player-sizer" }, yi = {
|
|
2434
2434
|
class: "player-control",
|
|
2435
2435
|
id: "controls-top-left"
|
|
2436
|
-
},
|
|
2436
|
+
}, wi = {
|
|
2437
2437
|
class: "player-control",
|
|
2438
2438
|
id: "controls-top-center"
|
|
2439
|
-
},
|
|
2439
|
+
}, ki = {
|
|
2440
2440
|
class: "player-control",
|
|
2441
2441
|
id: "controls-top-right"
|
|
2442
|
-
},
|
|
2442
|
+
}, Ci = {
|
|
2443
2443
|
class: "player-control",
|
|
2444
2444
|
id: "controls-center-left"
|
|
2445
|
-
},
|
|
2445
|
+
}, _i = {
|
|
2446
2446
|
class: "player-control",
|
|
2447
2447
|
id: "controls-center-center"
|
|
2448
|
-
},
|
|
2448
|
+
}, Ii = {
|
|
2449
2449
|
class: "player-control",
|
|
2450
2450
|
id: "controls-center-right"
|
|
2451
|
-
},
|
|
2451
|
+
}, Si = {
|
|
2452
2452
|
class: "player-control",
|
|
2453
2453
|
id: "controls-bottom-left"
|
|
2454
|
-
},
|
|
2454
|
+
}, Ai = {
|
|
2455
2455
|
class: "player-control",
|
|
2456
2456
|
id: "controls-bottom-center"
|
|
2457
|
-
},
|
|
2457
|
+
}, Li = {
|
|
2458
2458
|
class: "player-control",
|
|
2459
2459
|
id: "controls-bottom-right"
|
|
2460
|
-
},
|
|
2461
|
-
function
|
|
2462
|
-
return l(), m("div",
|
|
2463
|
-
o("div",
|
|
2460
|
+
}, Mi = { id: "main-canvas" };
|
|
2461
|
+
function xi(e, t, i, r, n, s) {
|
|
2462
|
+
return l(), m("div", fi, [
|
|
2463
|
+
o("div", bi, [
|
|
2464
2464
|
A(e.$slots, "slideshow-image", {}, void 0, !0),
|
|
2465
|
-
o("div",
|
|
2465
|
+
o("div", yi, [
|
|
2466
2466
|
A(e.$slots, "top-left", {}, void 0, !0)
|
|
2467
2467
|
]),
|
|
2468
|
-
o("div",
|
|
2468
|
+
o("div", wi, [
|
|
2469
2469
|
A(e.$slots, "top-center", {}, void 0, !0)
|
|
2470
2470
|
]),
|
|
2471
|
-
o("div",
|
|
2471
|
+
o("div", ki, [
|
|
2472
2472
|
A(e.$slots, "top-right", {}, void 0, !0)
|
|
2473
2473
|
]),
|
|
2474
|
-
o("div",
|
|
2474
|
+
o("div", Ci, [
|
|
2475
2475
|
A(e.$slots, "center-left", {}, void 0, !0)
|
|
2476
2476
|
]),
|
|
2477
|
-
o("div",
|
|
2477
|
+
o("div", _i, [
|
|
2478
2478
|
A(e.$slots, "center-center", {}, void 0, !0)
|
|
2479
2479
|
]),
|
|
2480
|
-
o("div",
|
|
2480
|
+
o("div", Ii, [
|
|
2481
2481
|
A(e.$slots, "center-right", {}, void 0, !0)
|
|
2482
2482
|
]),
|
|
2483
|
-
o("div",
|
|
2483
|
+
o("div", Si, [
|
|
2484
2484
|
A(e.$slots, "bottom-left", {}, void 0, !0)
|
|
2485
2485
|
]),
|
|
2486
|
-
o("div",
|
|
2486
|
+
o("div", Ai, [
|
|
2487
2487
|
A(e.$slots, "bottom-center", {}, void 0, !0)
|
|
2488
2488
|
]),
|
|
2489
|
-
o("div",
|
|
2489
|
+
o("div", Li, [
|
|
2490
2490
|
A(e.$slots, "bottom-right", {}, void 0, !0)
|
|
2491
2491
|
]),
|
|
2492
|
-
o("div",
|
|
2492
|
+
o("div", Mi, [
|
|
2493
2493
|
o("canvas", {
|
|
2494
2494
|
id: "qpc",
|
|
2495
2495
|
style: M(i.showStaticImage ? "visibility:hidden" : "visibility:visible")
|
|
@@ -2498,7 +2498,7 @@ function Bi(e, t, i, r, n, s) {
|
|
|
2498
2498
|
])
|
|
2499
2499
|
]);
|
|
2500
2500
|
}
|
|
2501
|
-
const
|
|
2501
|
+
const Bi = /* @__PURE__ */ C(vi, [["render", xi], ["__scopeId", "data-v-dd836eff"]]), Fi = 37, Ei = 39, Di = {
|
|
2502
2502
|
name: "WaypointCarousel",
|
|
2503
2503
|
props: {
|
|
2504
2504
|
thumbnails: { type: Array, required: !0 },
|
|
@@ -2533,9 +2533,9 @@ const Fi = /* @__PURE__ */ C(fi, [["render", Bi], ["__scopeId", "data-v-dd836eff
|
|
|
2533
2533
|
methods: {
|
|
2534
2534
|
keyNavigate(e) {
|
|
2535
2535
|
switch (e.keyCode) {
|
|
2536
|
-
case e.keyCode ===
|
|
2536
|
+
case e.keyCode === Fi:
|
|
2537
2537
|
this.$emit("previous");
|
|
2538
|
-
case e.keyCode ===
|
|
2538
|
+
case e.keyCode === Ei:
|
|
2539
2539
|
this.$emit("next");
|
|
2540
2540
|
default:
|
|
2541
2541
|
return;
|
|
@@ -2545,10 +2545,10 @@ const Fi = /* @__PURE__ */ C(fi, [["render", Bi], ["__scopeId", "data-v-dd836eff
|
|
|
2545
2545
|
t(), this.$emit("goto", e);
|
|
2546
2546
|
}
|
|
2547
2547
|
}
|
|
2548
|
-
},
|
|
2549
|
-
function
|
|
2548
|
+
}, Oi = { class: "waypoint-carousel" };
|
|
2549
|
+
function Ui(e, t, i, r, n, s) {
|
|
2550
2550
|
const a = c("v-icon"), d = c("v-btn"), p = c("v-hover"), v = c("v-img"), w = c("v-card"), S = c("v-slide-group-item"), g = c("v-slide-group");
|
|
2551
|
-
return l(), m("div",
|
|
2551
|
+
return l(), m("div", Oi, [
|
|
2552
2552
|
u(g, {
|
|
2553
2553
|
modelValue: s.activeIndex,
|
|
2554
2554
|
"onUpdate:modelValue": t[2] || (t[2] = (b) => s.activeIndex = b),
|
|
@@ -2640,7 +2640,7 @@ function Ri(e, t, i, r, n, s) {
|
|
|
2640
2640
|
}, 8, ["modelValue"])
|
|
2641
2641
|
]);
|
|
2642
2642
|
}
|
|
2643
|
-
const
|
|
2643
|
+
const Ri = /* @__PURE__ */ C(Di, [["render", Ui], ["__scopeId", "data-v-f4e6ce2e"]]), Ti = {
|
|
2644
2644
|
name: "FloorLevel",
|
|
2645
2645
|
inject: ["i18n"],
|
|
2646
2646
|
props: {
|
|
@@ -2659,12 +2659,12 @@ const Ti = /* @__PURE__ */ C(Oi, [["render", Ri], ["__scopeId", "data-v-f4e6ce2e
|
|
|
2659
2659
|
return this.lowerOrUpper === "Upper";
|
|
2660
2660
|
}
|
|
2661
2661
|
}
|
|
2662
|
-
},
|
|
2662
|
+
}, Vi = {
|
|
2663
2663
|
style: { width: "24px", height: "24px" },
|
|
2664
2664
|
viewBox: "0 0 18 16",
|
|
2665
2665
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2666
|
-
},
|
|
2667
|
-
function
|
|
2666
|
+
}, Hi = ["stroke"], Ni = ["stroke"], ji = { class: "floor-level-label" };
|
|
2667
|
+
function qi(e, t, i, r, n, s) {
|
|
2668
2668
|
const a = c("v-btn"), d = c("v-tooltip");
|
|
2669
2669
|
return l(), y(d, {
|
|
2670
2670
|
right: "",
|
|
@@ -2675,35 +2675,35 @@ function Pi(e, t, i, r, n, s) {
|
|
|
2675
2675
|
density: "comfortable",
|
|
2676
2676
|
elevation: "1",
|
|
2677
2677
|
icon: ""
|
|
2678
|
-
},
|
|
2678
|
+
}, ye({ ...p })), {
|
|
2679
2679
|
default: h(() => [
|
|
2680
|
-
(l(), m("svg",
|
|
2680
|
+
(l(), m("svg", Vi, [
|
|
2681
2681
|
o("path", {
|
|
2682
2682
|
d: "M8.98034 10.3472L1.54055 5.8855L8.98034 1.42384L16.4201 5.8855L8.98034 10.3472Z",
|
|
2683
2683
|
fill: "white",
|
|
2684
2684
|
stroke: s.upperActive ? "black" : "#999999",
|
|
2685
2685
|
"stroke-width": "1.5",
|
|
2686
2686
|
"stroke-linejoin": "round"
|
|
2687
|
-
}, null, 8,
|
|
2687
|
+
}, null, 8, Hi),
|
|
2688
2688
|
o("path", {
|
|
2689
2689
|
d: "M8.98034 14.7993L1.54055 10.3376L8.98034 5.87599L16.4201 10.3376L8.98034 14.7993Z",
|
|
2690
2690
|
fill: "white",
|
|
2691
2691
|
stroke: s.lowerActive ? "black" : "#999999",
|
|
2692
2692
|
"stroke-width": "1.5",
|
|
2693
2693
|
"stroke-linejoin": "round"
|
|
2694
|
-
}, null, 8,
|
|
2694
|
+
}, null, 8, Ni)
|
|
2695
2695
|
]))
|
|
2696
2696
|
]),
|
|
2697
2697
|
_: 2
|
|
2698
2698
|
}, 1040)
|
|
2699
2699
|
]),
|
|
2700
2700
|
default: h(() => [
|
|
2701
|
-
o("span",
|
|
2701
|
+
o("span", ji, _(s.i18n.getLabel(s.lowerOrUpper)) + " " + _(s.i18n.getLabel("floor")), 1)
|
|
2702
2702
|
]),
|
|
2703
2703
|
_: 1
|
|
2704
2704
|
});
|
|
2705
2705
|
}
|
|
2706
|
-
const
|
|
2706
|
+
const Pi = /* @__PURE__ */ C(Ti, [["render", qi], ["__scopeId", "data-v-56a279a7"]]), Yi = {
|
|
2707
2707
|
name: "QiVirtualTourSocialShare",
|
|
2708
2708
|
inject: ["i18n"],
|
|
2709
2709
|
data() {
|
|
@@ -2738,11 +2738,11 @@ const Yi = /* @__PURE__ */ C(Vi, [["render", Pi], ["__scopeId", "data-v-56a279a7
|
|
|
2738
2738
|
navigator.clipboard.writeText(location.href);
|
|
2739
2739
|
}
|
|
2740
2740
|
}
|
|
2741
|
-
},
|
|
2741
|
+
}, Qi = {
|
|
2742
2742
|
id: "share-btns-wrapper",
|
|
2743
2743
|
class: "text-center"
|
|
2744
2744
|
};
|
|
2745
|
-
function
|
|
2745
|
+
function zi(e, t, i, r, n, s) {
|
|
2746
2746
|
const a = c("v-btn"), d = c("v-tooltip"), p = c("v-toolbar-title"), v = c("v-spacer"), w = c("v-toolbar"), S = c("v-card-text"), g = c("v-card"), b = c("v-dialog");
|
|
2747
2747
|
return l(), m("div", null, [
|
|
2748
2748
|
u(d, {
|
|
@@ -2756,7 +2756,7 @@ function $i(e, t, i, r, n, s) {
|
|
|
2756
2756
|
elevation: "1",
|
|
2757
2757
|
icon: "mdi-share-variant",
|
|
2758
2758
|
onClick: t[0] || (t[0] = (I) => n.showSocialShare = !n.showSocialShare)
|
|
2759
|
-
},
|
|
2759
|
+
}, ye({ ...k })), null, 16)
|
|
2760
2760
|
]),
|
|
2761
2761
|
default: h(() => [
|
|
2762
2762
|
o("span", null, _(s.i18n.getLabel("share")), 1)
|
|
@@ -2791,7 +2791,7 @@ function $i(e, t, i, r, n, s) {
|
|
|
2791
2791
|
}),
|
|
2792
2792
|
u(S, { class: "mt-5" }, {
|
|
2793
2793
|
default: h(() => [
|
|
2794
|
-
o("p",
|
|
2794
|
+
o("p", Qi, [
|
|
2795
2795
|
u(d, { location: "top" }, {
|
|
2796
2796
|
activator: h(({ props: k }) => [
|
|
2797
2797
|
u(a, F({
|
|
@@ -2878,7 +2878,7 @@ function $i(e, t, i, r, n, s) {
|
|
|
2878
2878
|
}, 8, ["modelValue"])
|
|
2879
2879
|
]);
|
|
2880
2880
|
}
|
|
2881
|
-
const
|
|
2881
|
+
const $i = /* @__PURE__ */ C(Yi, [["render", zi], ["__scopeId", "data-v-3560cd03"]]), Wi = {
|
|
2882
2882
|
name: "InteriorSelector",
|
|
2883
2883
|
emits: ["select-interior"],
|
|
2884
2884
|
props: {
|
|
@@ -2893,7 +2893,7 @@ const Wi = /* @__PURE__ */ C(Qi, [["render", $i], ["__scopeId", "data-v-3560cd03
|
|
|
2893
2893
|
}
|
|
2894
2894
|
}
|
|
2895
2895
|
};
|
|
2896
|
-
function
|
|
2896
|
+
function Ji(e, t, i, r, n, s) {
|
|
2897
2897
|
const a = c("v-btn"), d = c("v-img"), p = c("v-list-item-title"), v = c("v-list-item"), w = c("v-list"), S = c("v-menu");
|
|
2898
2898
|
return l(), m("div", null, [
|
|
2899
2899
|
u(S, {
|
|
@@ -2949,14 +2949,14 @@ function Gi(e, t, i, r, n, s) {
|
|
|
2949
2949
|
})
|
|
2950
2950
|
]);
|
|
2951
2951
|
}
|
|
2952
|
-
const
|
|
2952
|
+
const Gi = /* @__PURE__ */ C(Wi, [["render", Ji], ["__scopeId", "data-v-fe12068f"]]), Xi = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAYAAACPZlfNAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAxQSURBVHgB7Z1JbBTHGsc/x5Z58B6EJzZBWDogYUAowSg3kDKOxDVOjiiH55hTTvAOmFPkiXIyHALikAsQc4g4Yl9BigcJbhF2hMQmAcMiEKsdYUFwIJP6d1dNatrdPbV09/TM9E+qTHs8xNP972+p6qqviHKaig5qYiqVisNeRHuftaUhH51h7XfWyjju6OiYoialKQRjwkCIHax9zFqBHztkB0Qr89cLeGVCzlDGyaxgTKQCeeJ8yl/ToESegONMvBJlkEwJxkXqZ22Awt1bWpTJE/BYM7vQ2IG7Y20/axOV7DLJ2v8oAzTMwipeXDrA2n5qvDWpUmbtNGujzOrK1A5UPIsqsjZdiYHXY2OVZx995LbZkZF5v58ZHKz+/g/22Zi4U/HOIfUb7T1KEXaCsKg7rA1TAlb1x88/05+//kop4JB3Dqm7ylQEYye1g7UJdvgDJez+Zr/9liovX1JKOKyNcotzKAUSFwyug71MUkqp+V8PH9KrH3+klHFYu8PPNVESEwx3HLeqYUoZuMa5iQlqAMNJW1sigrEv/AWlaFWCrp4e6li82D1O2TXKOKxN8GsQO7ELxt3CWWpAqg6xFn3zjfc9mFgQrUE4rJ1NwkXGKhj7gkepAS5Q5l9ffUVdn3ziHsMtvrtxgxoIXOQPFCOxCFbx+lYIGvspBl4y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FR3WZm5jWVrmPXREYou5jWVpmfcIPhKfIw4rGmIx+A57jjisaIjF4AsWRVG7nWXnjhK/fJWUEefcuN1Tw4/FoCOxaRz6N3Hi22M8v7n5tDmd/hFp37a20qTTGcRR9F4aLGslSZL2jo+/SqA2JGALxthmviMO/RsY905Pv/zroNfn51N/c1h+XWfZbl7ug0VR2Um1i75Fno/8zQcJVNAd9mNn5+KvxV4feT4mx/P5/PPDbmrje5aN/N+DPV+8wYMfTV9OJpsSqGALVn78kI/D49/fzqKiOKiLvFWVkbnR6exHv7ouLR8LeQwu2IL57vroIy9NRA4ei7x1qiLTF2/6YjIJNhbxwEWamvkndgAAAAAAAAAAAAAAAAAAAAAAAAAAAABYxU+ILzGcMmFd0QAAAABJRU5ErkJggg==", Ki = {
|
|
2953
2953
|
name: "Compass",
|
|
2954
2954
|
props: { rotation: { type: Number, required: !0 } },
|
|
2955
2955
|
data() {
|
|
2956
2956
|
return {
|
|
2957
|
-
needle:
|
|
2957
|
+
needle: Zi,
|
|
2958
2958
|
compassBackground: {
|
|
2959
|
-
backgroundImage: `url(${
|
|
2959
|
+
backgroundImage: `url(${Xi})`,
|
|
2960
2960
|
backgroundSize: "contain"
|
|
2961
2961
|
}
|
|
2962
2962
|
};
|
|
@@ -2969,7 +2969,7 @@ const Xi = /* @__PURE__ */ C(Ji, [["render", Gi], ["__scopeId", "data-v-fe12068f
|
|
|
2969
2969
|
}
|
|
2970
2970
|
}
|
|
2971
2971
|
};
|
|
2972
|
-
function
|
|
2972
|
+
function en(e, t, i, r, n, s) {
|
|
2973
2973
|
const a = c("v-img");
|
|
2974
2974
|
return l(), m("div", {
|
|
2975
2975
|
style: M(n.compassBackground)
|
|
@@ -2981,7 +2981,7 @@ function tn(e, t, i, r, n, s) {
|
|
|
2981
2981
|
}, null, 8, ["src", "style"])
|
|
2982
2982
|
], 4);
|
|
2983
2983
|
}
|
|
2984
|
-
const
|
|
2984
|
+
const tn = /* @__PURE__ */ C(Ki, [["render", en]]), nn = {
|
|
2985
2985
|
name: "StaticImage",
|
|
2986
2986
|
props: {
|
|
2987
2987
|
image: { type: String, required: !0 },
|
|
@@ -2992,48 +2992,48 @@ const nn = /* @__PURE__ */ C(en, [["render", tn]]), sn = {
|
|
|
2992
2992
|
return { "background-image": `url("${encodeURI(this.image)}")` };
|
|
2993
2993
|
}
|
|
2994
2994
|
}
|
|
2995
|
-
},
|
|
2996
|
-
function
|
|
2997
|
-
return l(), m("div",
|
|
2995
|
+
}, sn = { class: "static-image-wrapper" };
|
|
2996
|
+
function on(e, t, i, r, n, s) {
|
|
2997
|
+
return l(), m("div", sn, [
|
|
2998
2998
|
o("div", {
|
|
2999
2999
|
class: E(["img-div", [i.aspectRatio]]),
|
|
3000
3000
|
style: M(s.style)
|
|
3001
3001
|
}, null, 6)
|
|
3002
3002
|
]);
|
|
3003
3003
|
}
|
|
3004
|
-
const
|
|
3005
|
-
function
|
|
3004
|
+
const rn = /* @__PURE__ */ C(nn, [["render", on], ["__scopeId", "data-v-b418cf51"]]), an = "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";
|
|
3005
|
+
function me(e) {
|
|
3006
3006
|
return ("0" + e).slice(-2);
|
|
3007
3007
|
}
|
|
3008
|
-
const
|
|
3008
|
+
const ln = {
|
|
3009
3009
|
name: "TimeOfDay",
|
|
3010
3010
|
props: {
|
|
3011
3011
|
hours: { type: Number, default: 0 },
|
|
3012
3012
|
minutes: { type: Number, default: 0 }
|
|
3013
3013
|
},
|
|
3014
3014
|
data() {
|
|
3015
|
-
return { sunIcon:
|
|
3015
|
+
return { sunIcon: an };
|
|
3016
3016
|
},
|
|
3017
3017
|
computed: {
|
|
3018
3018
|
displayValue() {
|
|
3019
|
-
return [
|
|
3019
|
+
return [me(this.hours), ":", me(this.minutes)].join("");
|
|
3020
3020
|
}
|
|
3021
3021
|
}
|
|
3022
|
-
},
|
|
3023
|
-
function
|
|
3022
|
+
}, dn = { class: "d-flex flex-column align-center justify-center clock-face" }, cn = { class: "clock-icon" }, un = { class: "clock-value grey--text text--darken-3" };
|
|
3023
|
+
function hn(e, t, i, r, n, s) {
|
|
3024
3024
|
const a = c("v-img");
|
|
3025
|
-
return l(), m("div",
|
|
3026
|
-
o("div",
|
|
3025
|
+
return l(), m("div", dn, [
|
|
3026
|
+
o("div", cn, [
|
|
3027
3027
|
u(a, {
|
|
3028
3028
|
src: n.sunIcon,
|
|
3029
3029
|
"aspect-ratio": "1"
|
|
3030
3030
|
}, null, 8, ["src"])
|
|
3031
3031
|
]),
|
|
3032
|
-
o("div",
|
|
3032
|
+
o("div", un, _(s.displayValue), 1)
|
|
3033
3033
|
]);
|
|
3034
3034
|
}
|
|
3035
|
-
const
|
|
3036
|
-
class
|
|
3035
|
+
const mn = /* @__PURE__ */ C(ln, [["render", hn], ["__scopeId", "data-v-e440b0c9"]]);
|
|
3036
|
+
class pn {
|
|
3037
3037
|
constructor(t, i) {
|
|
3038
3038
|
this._doc = t, this._elemId = i, this._state = { isActive: !1 };
|
|
3039
3039
|
}
|
|
@@ -3073,7 +3073,7 @@ class gn {
|
|
|
3073
3073
|
function q(e) {
|
|
3074
3074
|
return ("0" + e).slice(-2);
|
|
3075
3075
|
}
|
|
3076
|
-
function
|
|
3076
|
+
function gn() {
|
|
3077
3077
|
const e = /* @__PURE__ */ new Date();
|
|
3078
3078
|
return [
|
|
3079
3079
|
e.getFullYear().toString(),
|
|
@@ -3085,20 +3085,20 @@ function vn() {
|
|
|
3085
3085
|
q(e.getSeconds())
|
|
3086
3086
|
].join("");
|
|
3087
3087
|
}
|
|
3088
|
-
function
|
|
3089
|
-
return "Visuado-Snapshot-" +
|
|
3088
|
+
function vn() {
|
|
3089
|
+
return "Visuado-Snapshot-" + gn();
|
|
3090
3090
|
}
|
|
3091
|
-
class
|
|
3091
|
+
class fn {
|
|
3092
3092
|
constructor(t, i) {
|
|
3093
3093
|
this.data = t, this.cameraParams = i;
|
|
3094
3094
|
}
|
|
3095
3095
|
download(t = null) {
|
|
3096
|
-
t = t ||
|
|
3096
|
+
t = t || vn();
|
|
3097
3097
|
const i = document.createElement("a");
|
|
3098
3098
|
typeof i.download == "string" ? (document.body.appendChild(i), i.download = t, i.href = this.data, i.click(), document.body.removeChild(i)) : location.replace(uri);
|
|
3099
3099
|
}
|
|
3100
3100
|
}
|
|
3101
|
-
const
|
|
3101
|
+
const bn = {
|
|
3102
3102
|
props: {
|
|
3103
3103
|
isFullScreen: {
|
|
3104
3104
|
type: Boolean,
|
|
@@ -3106,13 +3106,13 @@ const yn = {
|
|
|
3106
3106
|
}
|
|
3107
3107
|
},
|
|
3108
3108
|
emits: ["toggle-fullscreen"]
|
|
3109
|
-
},
|
|
3109
|
+
}, yn = {
|
|
3110
3110
|
id: "btn-fullscreen",
|
|
3111
3111
|
class: "btn-placeholder mr-2"
|
|
3112
3112
|
};
|
|
3113
|
-
function
|
|
3113
|
+
function wn(e, t, i, r, n, s) {
|
|
3114
3114
|
const a = c("v-btn");
|
|
3115
|
-
return l(), m("div",
|
|
3115
|
+
return l(), m("div", yn, [
|
|
3116
3116
|
u(a, {
|
|
3117
3117
|
density: "comfortable",
|
|
3118
3118
|
elevation: "3",
|
|
@@ -3121,7 +3121,7 @@ function kn(e, t, i, r, n, s) {
|
|
|
3121
3121
|
}, null, 8, ["icon"])
|
|
3122
3122
|
]);
|
|
3123
3123
|
}
|
|
3124
|
-
const
|
|
3124
|
+
const kn = /* @__PURE__ */ C(bn, [["render", wn]]), Cn = {
|
|
3125
3125
|
name: "ViewModeToggle",
|
|
3126
3126
|
emits: ["toggle"],
|
|
3127
3127
|
inject: ["i18n"],
|
|
@@ -3135,7 +3135,7 @@ const Cn = /* @__PURE__ */ C(yn, [["render", kn]]), _n = {
|
|
|
3135
3135
|
}
|
|
3136
3136
|
}
|
|
3137
3137
|
};
|
|
3138
|
-
function
|
|
3138
|
+
function _n(e, t, i, r, n, s) {
|
|
3139
3139
|
const a = c("v-btn");
|
|
3140
3140
|
return l(), y(a, {
|
|
3141
3141
|
color: "darken-2",
|
|
@@ -3150,7 +3150,7 @@ function In(e, t, i, r, n, s) {
|
|
|
3150
3150
|
_: 1
|
|
3151
3151
|
});
|
|
3152
3152
|
}
|
|
3153
|
-
const
|
|
3153
|
+
const In = /* @__PURE__ */ C(Cn, [["render", _n]]), Sn = {
|
|
3154
3154
|
name: "Disclaimer",
|
|
3155
3155
|
inject: ["i18n"],
|
|
3156
3156
|
data() {
|
|
@@ -3158,14 +3158,14 @@ const Sn = /* @__PURE__ */ C(_n, [["render", In]]), An = {
|
|
|
3158
3158
|
isVisible: !0
|
|
3159
3159
|
};
|
|
3160
3160
|
}
|
|
3161
|
-
},
|
|
3161
|
+
}, An = {
|
|
3162
3162
|
key: 0,
|
|
3163
3163
|
class: "text-white disclaimer caption"
|
|
3164
3164
|
};
|
|
3165
|
-
function
|
|
3165
|
+
function Ln(e, t, i, r, n, s) {
|
|
3166
3166
|
return l(), y($, { name: "fade-transition" }, {
|
|
3167
3167
|
default: h(() => [
|
|
3168
|
-
n.isVisible ? (l(), m("div",
|
|
3168
|
+
n.isVisible ? (l(), m("div", An, [
|
|
3169
3169
|
L(_(s.i18n.getLabel("all-illustrations-are-indicative-deviations-may-occur")) + " ", 1),
|
|
3170
3170
|
o("span", {
|
|
3171
3171
|
onClick: t[0] || (t[0] = (a) => n.isVisible = !1),
|
|
@@ -3176,7 +3176,7 @@ function Mn(e, t, i, r, n, s) {
|
|
|
3176
3176
|
_: 1
|
|
3177
3177
|
});
|
|
3178
3178
|
}
|
|
3179
|
-
const
|
|
3179
|
+
const Mn = /* @__PURE__ */ C(Sn, [["render", Ln], ["__scopeId", "data-v-6e4f02d6"]]), xn = {
|
|
3180
3180
|
name: "Tutorial",
|
|
3181
3181
|
inject: ["i18n"],
|
|
3182
3182
|
emits: ["closeTutorial"],
|
|
@@ -3219,13 +3219,13 @@ const xn = /* @__PURE__ */ C(An, [["render", Mn], ["__scopeId", "data-v-6e4f02d6
|
|
|
3219
3219
|
localStorage.setItem(`${this.project}-dont-show-tutorial`, !0);
|
|
3220
3220
|
}
|
|
3221
3221
|
}
|
|
3222
|
-
}, V = (e) => (
|
|
3222
|
+
}, V = (e) => (ee("data-v-d87b088a"), e = e(), te(), e), Bn = {
|
|
3223
3223
|
key: 0,
|
|
3224
3224
|
class: "tutorial"
|
|
3225
|
-
},
|
|
3225
|
+
}, Fn = {
|
|
3226
3226
|
key: 0,
|
|
3227
3227
|
class: "desktop-content"
|
|
3228
|
-
},
|
|
3228
|
+
}, En = { class: "d-inline-flex" }, Dn = { class: "box col" }, On = /* @__PURE__ */ V(() => /* @__PURE__ */ o("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
3229
3229
|
/* @__PURE__ */ o("svg", {
|
|
3230
3230
|
width: "100",
|
|
3231
3231
|
height: "65",
|
|
@@ -3272,7 +3272,7 @@ const xn = /* @__PURE__ */ C(An, [["render", Mn], ["__scopeId", "data-v-6e4f02d6
|
|
|
3272
3272
|
"stroke-width": "1.5"
|
|
3273
3273
|
})
|
|
3274
3274
|
])
|
|
3275
|
-
], -1)),
|
|
3275
|
+
], -1)), Un = { class: "text mt-3" }, Rn = { class: "box col" }, Tn = /* @__PURE__ */ V(() => /* @__PURE__ */ o("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
3276
3276
|
/* @__PURE__ */ o("svg", {
|
|
3277
3277
|
width: "100",
|
|
3278
3278
|
height: "65",
|
|
@@ -3402,7 +3402,7 @@ const xn = /* @__PURE__ */ C(An, [["render", Mn], ["__scopeId", "data-v-6e4f02d6
|
|
|
3402
3402
|
"stroke-linecap": "round"
|
|
3403
3403
|
})
|
|
3404
3404
|
])
|
|
3405
|
-
], -1)),
|
|
3405
|
+
], -1)), Vn = { class: "text mt-3" }, Hn = { class: "box col" }, Nn = /* @__PURE__ */ V(() => /* @__PURE__ */ o("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
3406
3406
|
/* @__PURE__ */ o("svg", {
|
|
3407
3407
|
width: "100",
|
|
3408
3408
|
height: "65",
|
|
@@ -3473,7 +3473,7 @@ const xn = /* @__PURE__ */ C(An, [["render", Mn], ["__scopeId", "data-v-6e4f02d6
|
|
|
3473
3473
|
"stroke-linejoin": "round"
|
|
3474
3474
|
})
|
|
3475
3475
|
])
|
|
3476
|
-
], -1)),
|
|
3476
|
+
], -1)), jn = { class: "text mt-3" }, qn = { class: "d-inline-flex space-around" }, Pn = { class: "box col" }, Yn = /* @__PURE__ */ V(() => /* @__PURE__ */ o("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
3477
3477
|
/* @__PURE__ */ o("svg", {
|
|
3478
3478
|
width: "100",
|
|
3479
3479
|
height: "65",
|
|
@@ -3541,10 +3541,10 @@ const xn = /* @__PURE__ */ C(An, [["render", Mn], ["__scopeId", "data-v-6e4f02d6
|
|
|
3541
3541
|
fill: "#FF3E3E"
|
|
3542
3542
|
})
|
|
3543
3543
|
])
|
|
3544
|
-
], -1)),
|
|
3544
|
+
], -1)), Qn = { class: "text mt-3" }, zn = {
|
|
3545
3545
|
key: 1,
|
|
3546
3546
|
class: "d-flex flex-column tablet-mobile-content"
|
|
3547
|
-
},
|
|
3547
|
+
}, $n = { class: "box horizontal mt-3" }, Wn = /* @__PURE__ */ V(() => /* @__PURE__ */ o("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
3548
3548
|
/* @__PURE__ */ o("svg", {
|
|
3549
3549
|
width: "101",
|
|
3550
3550
|
height: "65",
|
|
@@ -3578,7 +3578,7 @@ const xn = /* @__PURE__ */ C(An, [["render", Mn], ["__scopeId", "data-v-6e4f02d6
|
|
|
3578
3578
|
"stroke-linejoin": "round"
|
|
3579
3579
|
})
|
|
3580
3580
|
])
|
|
3581
|
-
], -1)),
|
|
3581
|
+
], -1)), Jn = { class: "text ml-2" }, Gn = { class: "box horizontal mt-3" }, Xn = /* @__PURE__ */ V(() => /* @__PURE__ */ o("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
3582
3582
|
/* @__PURE__ */ o("svg", {
|
|
3583
3583
|
width: "99",
|
|
3584
3584
|
height: "65",
|
|
@@ -3712,7 +3712,7 @@ const xn = /* @__PURE__ */ C(An, [["render", Mn], ["__scopeId", "data-v-6e4f02d6
|
|
|
3712
3712
|
"stroke-linejoin": "round"
|
|
3713
3713
|
})
|
|
3714
3714
|
])
|
|
3715
|
-
], -1)),
|
|
3715
|
+
], -1)), Zn = { class: "text ml-2" }, Kn = { class: "box horizontal mt-3" }, es = /* @__PURE__ */ V(() => /* @__PURE__ */ o("div", { class: "tutorial-icon d-flex align-items-center justify-center" }, [
|
|
3716
3716
|
/* @__PURE__ */ o("svg", {
|
|
3717
3717
|
width: "99",
|
|
3718
3718
|
height: "65",
|
|
@@ -3746,49 +3746,49 @@ const xn = /* @__PURE__ */ C(An, [["render", Mn], ["__scopeId", "data-v-6e4f02d6
|
|
|
3746
3746
|
"stroke-linejoin": "round"
|
|
3747
3747
|
})
|
|
3748
3748
|
])
|
|
3749
|
-
], -1)),
|
|
3750
|
-
function
|
|
3749
|
+
], -1)), ts = { class: "text ml-2" }, is = { class: "d-flex justify-space-between mt-3 mx-3 mb-0 tutorial-buttons" };
|
|
3750
|
+
function ns(e, t, i, r, n, s) {
|
|
3751
3751
|
const a = c("v-checkbox"), d = c("v-btn");
|
|
3752
3752
|
return l(), y($, { name: "fade-transition" }, {
|
|
3753
3753
|
default: h(() => [
|
|
3754
|
-
n.isVisible && !s.tutorialHiddenForEternity ? (l(), m("div",
|
|
3755
|
-
s.isMobile ? f("", !0) : (l(), m("div",
|
|
3756
|
-
o("div",
|
|
3757
|
-
o("div",
|
|
3758
|
-
|
|
3759
|
-
o("div",
|
|
3754
|
+
n.isVisible && !s.tutorialHiddenForEternity ? (l(), m("div", Bn, [
|
|
3755
|
+
s.isMobile ? f("", !0) : (l(), m("div", Fn, [
|
|
3756
|
+
o("div", En, [
|
|
3757
|
+
o("div", Dn, [
|
|
3758
|
+
On,
|
|
3759
|
+
o("div", Un, _(s.i18n.getLabel("click-and-drag-to-look-around")), 1)
|
|
3760
3760
|
]),
|
|
3761
|
-
o("div",
|
|
3762
|
-
|
|
3763
|
-
o("div",
|
|
3761
|
+
o("div", Rn, [
|
|
3762
|
+
Tn,
|
|
3763
|
+
o("div", Vn, _(s.i18n.getLabel("click-on-the-cricles-to-move-around")), 1)
|
|
3764
3764
|
]),
|
|
3765
|
-
o("div",
|
|
3766
|
-
|
|
3767
|
-
o("div",
|
|
3765
|
+
o("div", Hn, [
|
|
3766
|
+
Nn,
|
|
3767
|
+
o("div", jn, _(s.i18n.getLabel("use-the-mouse-wheel-to-zoom")), 1)
|
|
3768
3768
|
])
|
|
3769
3769
|
]),
|
|
3770
|
-
o("div",
|
|
3771
|
-
o("div",
|
|
3772
|
-
|
|
3773
|
-
o("div",
|
|
3770
|
+
o("div", qn, [
|
|
3771
|
+
o("div", Pn, [
|
|
3772
|
+
Yn,
|
|
3773
|
+
o("div", Qn, _(s.i18n.getLabel("you-can-also-use-the-arrow-keys-to-move-around")), 1)
|
|
3774
3774
|
])
|
|
3775
3775
|
])
|
|
3776
3776
|
])),
|
|
3777
|
-
s.isMobile ? (l(), m("div",
|
|
3778
|
-
o("div",
|
|
3779
|
-
|
|
3780
|
-
o("div",
|
|
3777
|
+
s.isMobile ? (l(), m("div", zn, [
|
|
3778
|
+
o("div", $n, [
|
|
3779
|
+
Wn,
|
|
3780
|
+
o("div", Jn, _(s.i18n.getLabel("tap-and-drag-to-look-around")), 1)
|
|
3781
3781
|
]),
|
|
3782
|
-
o("div",
|
|
3783
|
-
|
|
3784
|
-
o("div",
|
|
3782
|
+
o("div", Gn, [
|
|
3783
|
+
Xn,
|
|
3784
|
+
o("div", Zn, _(s.i18n.getLabel("tap-on-the-circles-to-move-around")), 1)
|
|
3785
3785
|
]),
|
|
3786
|
-
o("div",
|
|
3787
|
-
|
|
3788
|
-
o("div",
|
|
3786
|
+
o("div", Kn, [
|
|
3787
|
+
es,
|
|
3788
|
+
o("div", ts, _(s.i18n.getLabel("use-two-fingers-to-zoom")), 1)
|
|
3789
3789
|
])
|
|
3790
3790
|
])) : f("", !0),
|
|
3791
|
-
o("div",
|
|
3791
|
+
o("div", is, [
|
|
3792
3792
|
u(a, {
|
|
3793
3793
|
modelValue: n.dontShow,
|
|
3794
3794
|
"onUpdate:modelValue": t[0] || (t[0] = (p) => n.dontShow = p),
|
|
@@ -3811,8 +3811,8 @@ function ss(e, t, i, r, n, s) {
|
|
|
3811
3811
|
_: 1
|
|
3812
3812
|
});
|
|
3813
3813
|
}
|
|
3814
|
-
const
|
|
3815
|
-
function
|
|
3814
|
+
const ss = /* @__PURE__ */ C(xn, [["render", ns], ["__scopeId", "data-v-d87b088a"]]);
|
|
3815
|
+
function os(e) {
|
|
3816
3816
|
const t = parseInt(e.substr(1, 2), 16) / 255, i = parseInt(e.substr(3, 2), 16) / 255, r = parseInt(e.substr(5, 2), 16) / 255;
|
|
3817
3817
|
return [t, i, r];
|
|
3818
3818
|
}
|
|
@@ -3820,10 +3820,10 @@ function Z(e) {
|
|
|
3820
3820
|
var t = e.toString(16);
|
|
3821
3821
|
return t.length == 1 ? "0" + t : t;
|
|
3822
3822
|
}
|
|
3823
|
-
function
|
|
3823
|
+
function rs([e, t, i]) {
|
|
3824
3824
|
return "#" + Z(parseInt(e * 255)) + Z(parseInt(t * 255)) + Z(parseInt(i * 255));
|
|
3825
3825
|
}
|
|
3826
|
-
function
|
|
3826
|
+
function pe(e) {
|
|
3827
3827
|
const t = [
|
|
3828
3828
|
"Cool 5",
|
|
3829
3829
|
"Cool 10",
|
|
@@ -3909,7 +3909,7 @@ function ge(e) {
|
|
|
3909
3909
|
min: null,
|
|
3910
3910
|
max: null,
|
|
3911
3911
|
step: null,
|
|
3912
|
-
value:
|
|
3912
|
+
value: rs(i.whitePoint)
|
|
3913
3913
|
},
|
|
3914
3914
|
lut: {
|
|
3915
3915
|
label: "Lut",
|
|
@@ -3922,7 +3922,7 @@ function ge(e) {
|
|
|
3922
3922
|
}
|
|
3923
3923
|
};
|
|
3924
3924
|
}
|
|
3925
|
-
const
|
|
3925
|
+
const as = {
|
|
3926
3926
|
name: "SettingsUI",
|
|
3927
3927
|
emits: ["update-settings", "save-settings"],
|
|
3928
3928
|
props: {
|
|
@@ -3932,7 +3932,7 @@ const ls = {
|
|
|
3932
3932
|
},
|
|
3933
3933
|
data() {
|
|
3934
3934
|
return {
|
|
3935
|
-
allSettings:
|
|
3935
|
+
allSettings: pe(this.initialSettings)
|
|
3936
3936
|
};
|
|
3937
3937
|
},
|
|
3938
3938
|
watch: {
|
|
@@ -3947,7 +3947,7 @@ const ls = {
|
|
|
3947
3947
|
settingsToUpdate() {
|
|
3948
3948
|
let e = {};
|
|
3949
3949
|
for (const [t, i] of Object.entries(this.allSettings))
|
|
3950
|
-
t === "whitePoint" ? e[t] =
|
|
3950
|
+
t === "whitePoint" ? e[t] = os(i.value) : e[t] = i.value;
|
|
3951
3951
|
return e;
|
|
3952
3952
|
}
|
|
3953
3953
|
},
|
|
@@ -3967,25 +3967,25 @@ const ls = {
|
|
|
3967
3967
|
this.$emit("save-settings", this.settingsToUpdate);
|
|
3968
3968
|
},
|
|
3969
3969
|
resetForm() {
|
|
3970
|
-
this.allSettings =
|
|
3970
|
+
this.allSettings = pe(), this.$emit("update-settings", this.settingsToUpdate);
|
|
3971
3971
|
}
|
|
3972
3972
|
}
|
|
3973
|
-
},
|
|
3973
|
+
}, ls = (e) => (ee("data-v-c04f3195"), e = e(), te(), e), ds = { class: "player-settings-ui" }, cs = { id: "settings-ui-form" }, us = { class: "form-inputs" }, hs = { class: "setting-label" }, ms = { class: "setting-label" }, ps = ["max", "min", "step"], gs = { class: "setting-label" }, vs = { class: "flex-grow-1 flex-shrink-0" }, fs = ["onUpdate:modelValue"], bs = {
|
|
3974
3974
|
key: 3,
|
|
3975
3975
|
"d-block": "",
|
|
3976
3976
|
class: "mt-3"
|
|
3977
|
-
},
|
|
3977
|
+
}, ys = { class: "d-flex justify-space-between" }, ws = { class: "setting-label" }, ks = {
|
|
3978
3978
|
class: "mt-5 d-block",
|
|
3979
3979
|
style: { width: "300px" }
|
|
3980
|
-
},
|
|
3980
|
+
}, Cs = /* @__PURE__ */ ls(() => /* @__PURE__ */ o("div", { class: "setting-label" }, "Enter Lut URL:", -1)), _s = {
|
|
3981
3981
|
class: "d-block",
|
|
3982
3982
|
style: { width: "300px" }
|
|
3983
|
-
},
|
|
3984
|
-
function
|
|
3983
|
+
}, Is = { class: "form-buttons" };
|
|
3984
|
+
function Ss(e, t, i, r, n, s) {
|
|
3985
3985
|
const a = c("v-text-field"), d = c("v-slider"), p = c("v-checkbox"), v = c("v-btn"), w = c("v-select"), S = c("v-icon");
|
|
3986
|
-
return l(), m("div",
|
|
3987
|
-
o("form",
|
|
3988
|
-
o("div",
|
|
3986
|
+
return l(), m("div", ds, [
|
|
3987
|
+
o("form", cs, [
|
|
3988
|
+
o("div", us, [
|
|
3989
3989
|
(l(!0), m(U, null, D(n.allSettings, (g, b, k) => (l(), m("div", {
|
|
3990
3990
|
key: k,
|
|
3991
3991
|
"d-block": ""
|
|
@@ -4000,7 +4000,7 @@ function As(e, t, i, r, n, s) {
|
|
|
4000
4000
|
step: g.step
|
|
4001
4001
|
}, {
|
|
4002
4002
|
prepend: h(() => [
|
|
4003
|
-
o("div",
|
|
4003
|
+
o("div", hs, _(g.label), 1)
|
|
4004
4004
|
]),
|
|
4005
4005
|
append: h(() => [
|
|
4006
4006
|
o("div", null, [
|
|
@@ -4028,7 +4028,7 @@ function As(e, t, i, r, n, s) {
|
|
|
4028
4028
|
onChange: s.updateSettings
|
|
4029
4029
|
}, {
|
|
4030
4030
|
prepend: h(() => [
|
|
4031
|
-
o("div",
|
|
4031
|
+
o("div", ms, _(g.label), 1)
|
|
4032
4032
|
]),
|
|
4033
4033
|
append: h(() => [
|
|
4034
4034
|
o("div", null, _(g.value), 1)
|
|
@@ -4042,14 +4042,14 @@ function As(e, t, i, r, n, s) {
|
|
|
4042
4042
|
min: g.min,
|
|
4043
4043
|
step: g.step
|
|
4044
4044
|
}, [
|
|
4045
|
-
o("div",
|
|
4046
|
-
o("div",
|
|
4045
|
+
o("div", gs, _(g.label), 1),
|
|
4046
|
+
o("div", vs, [
|
|
4047
4047
|
x(o("input", {
|
|
4048
4048
|
"onUpdate:modelValue": (I) => n.allSettings[b].value = I,
|
|
4049
4049
|
type: "color",
|
|
4050
4050
|
onChange: t[0] || (t[0] = (...I) => s.updateSettings && s.updateSettings(...I))
|
|
4051
|
-
}, null, 40,
|
|
4052
|
-
[
|
|
4051
|
+
}, null, 40, fs), [
|
|
4052
|
+
[Fe, n.allSettings[b].value]
|
|
4053
4053
|
])
|
|
4054
4054
|
]),
|
|
4055
4055
|
o("div", null, [
|
|
@@ -4065,10 +4065,10 @@ function As(e, t, i, r, n, s) {
|
|
|
4065
4065
|
onChange: s.updateSettings
|
|
4066
4066
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
4067
4067
|
])
|
|
4068
|
-
], 8,
|
|
4069
|
-
g.type === "lut" ? (l(), m("div",
|
|
4070
|
-
o("div",
|
|
4071
|
-
o("div",
|
|
4068
|
+
], 8, ps)) : f("", !0),
|
|
4069
|
+
g.type === "lut" ? (l(), m("div", bs, [
|
|
4070
|
+
o("div", ys, [
|
|
4071
|
+
o("div", ws, _(g.label), 1),
|
|
4072
4072
|
o("div", null, [
|
|
4073
4073
|
u(v, {
|
|
4074
4074
|
class: "ml-2",
|
|
@@ -4083,7 +4083,7 @@ function As(e, t, i, r, n, s) {
|
|
|
4083
4083
|
])
|
|
4084
4084
|
]),
|
|
4085
4085
|
o("div", null, [
|
|
4086
|
-
o("div",
|
|
4086
|
+
o("div", ks, [
|
|
4087
4087
|
o("div", null, [
|
|
4088
4088
|
u(w, {
|
|
4089
4089
|
modelValue: n.allSettings[b].value,
|
|
@@ -4098,8 +4098,8 @@ function As(e, t, i, r, n, s) {
|
|
|
4098
4098
|
])
|
|
4099
4099
|
]),
|
|
4100
4100
|
o("div", null, [
|
|
4101
|
-
|
|
4102
|
-
o("div",
|
|
4101
|
+
Cs,
|
|
4102
|
+
o("div", _s, [
|
|
4103
4103
|
o("div", null, [
|
|
4104
4104
|
u(a, {
|
|
4105
4105
|
modelValue: n.allSettings[b].value,
|
|
@@ -4116,7 +4116,7 @@ function As(e, t, i, r, n, s) {
|
|
|
4116
4116
|
])) : f("", !0)
|
|
4117
4117
|
]))), 128))
|
|
4118
4118
|
]),
|
|
4119
|
-
o("div",
|
|
4119
|
+
o("div", Is, [
|
|
4120
4120
|
u(v, {
|
|
4121
4121
|
onClick: t[1] || (t[1] = (g) => s.resetForm())
|
|
4122
4122
|
}, {
|
|
@@ -4159,36 +4159,36 @@ function As(e, t, i, r, n, s) {
|
|
|
4159
4159
|
])
|
|
4160
4160
|
]);
|
|
4161
4161
|
}
|
|
4162
|
-
const
|
|
4162
|
+
const As = /* @__PURE__ */ C(as, [["render", Ss], ["__scopeId", "data-v-c04f3195"]]), Ls = {
|
|
4163
4163
|
props: {
|
|
4164
4164
|
rotation: {
|
|
4165
4165
|
type: Number,
|
|
4166
4166
|
required: !0
|
|
4167
4167
|
}
|
|
4168
4168
|
}
|
|
4169
|
-
},
|
|
4169
|
+
}, Ms = {
|
|
4170
4170
|
class: "rotation-marker-svg",
|
|
4171
4171
|
viewBox: "0 0 40 40",
|
|
4172
4172
|
xmlns: "http://www.w3.org/2000/svg"
|
|
4173
|
-
},
|
|
4174
|
-
|
|
4173
|
+
}, xs = /* @__PURE__ */ we('<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), Bs = ["transform"], Fs = /* @__PURE__ */ we('<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), Es = [
|
|
4174
|
+
Fs
|
|
4175
4175
|
];
|
|
4176
|
-
function
|
|
4177
|
-
return l(), m("svg",
|
|
4178
|
-
|
|
4176
|
+
function Ds(e, t, i, r, n, s) {
|
|
4177
|
+
return l(), m("svg", Ms, [
|
|
4178
|
+
xs,
|
|
4179
4179
|
o("g", {
|
|
4180
4180
|
"transform-origin": "20 20",
|
|
4181
4181
|
transform: `rotate(${45 + i.rotation})`
|
|
4182
|
-
},
|
|
4182
|
+
}, Es, 8, Bs)
|
|
4183
4183
|
]);
|
|
4184
4184
|
}
|
|
4185
|
-
const
|
|
4186
|
-
function
|
|
4185
|
+
const Os = /* @__PURE__ */ C(Ls, [["render", Ds]]);
|
|
4186
|
+
function Us(e) {
|
|
4187
4187
|
return T.MathUtils.degToRad(e);
|
|
4188
4188
|
}
|
|
4189
|
-
const
|
|
4189
|
+
const Rs = {
|
|
4190
4190
|
name: "MiniMapMap",
|
|
4191
|
-
components: { RotationMarkerV2:
|
|
4191
|
+
components: { RotationMarkerV2: Os },
|
|
4192
4192
|
props: {
|
|
4193
4193
|
backgroundImage: {
|
|
4194
4194
|
type: String,
|
|
@@ -4303,7 +4303,7 @@ const Ts = {
|
|
|
4303
4303
|
},
|
|
4304
4304
|
calculateRelativeValues() {
|
|
4305
4305
|
const e = this.minimapCamera.position.y - this.floorVerticalPosition;
|
|
4306
|
-
this.planeHeight = 2 * (e * Math.tan(
|
|
4306
|
+
this.planeHeight = 2 * (e * Math.tan(Us(this.minimapCamera.fovY / 2))), this.planeWidth = 512 / 384 * this.planeHeight;
|
|
4307
4307
|
const t = this.planeHeight / 2, i = this.planeWidth / 2, r = new T.Vector3(
|
|
4308
4308
|
i * -1,
|
|
4309
4309
|
0,
|
|
@@ -4319,11 +4319,11 @@ const Ts = {
|
|
|
4319
4319
|
e.offsetHeight > e.offsetWidth ? this.scale = i * 0.5 : this.scale = t * 0.9;
|
|
4320
4320
|
}
|
|
4321
4321
|
}
|
|
4322
|
-
},
|
|
4323
|
-
function
|
|
4322
|
+
}, Ts = { class: "minimap-wrapper d-flex align-stretch justify-space-between" }, Vs = { class: "minimap-container" };
|
|
4323
|
+
function Hs(e, t, i, r, n, s) {
|
|
4324
4324
|
const a = c("rotation-marker-v2");
|
|
4325
|
-
return l(), m("div",
|
|
4326
|
-
o("div",
|
|
4325
|
+
return l(), m("div", Ts, [
|
|
4326
|
+
o("div", Vs, [
|
|
4327
4327
|
o("div", {
|
|
4328
4328
|
class: "web-minimap",
|
|
4329
4329
|
style: M(s.transformStyle)
|
|
@@ -4356,7 +4356,7 @@ function Ns(e, t, i, r, n, s) {
|
|
|
4356
4356
|
])
|
|
4357
4357
|
]);
|
|
4358
4358
|
}
|
|
4359
|
-
const
|
|
4359
|
+
const Ns = /* @__PURE__ */ C(Rs, [["render", Hs], ["__scopeId", "data-v-341837d7"]]), js = {
|
|
4360
4360
|
name: "Moveable",
|
|
4361
4361
|
emits: ["close"],
|
|
4362
4362
|
data() {
|
|
@@ -4365,7 +4365,7 @@ const js = /* @__PURE__ */ C(Ts, [["render", Ns], ["__scopeId", "data-v-341837d7
|
|
|
4365
4365
|
};
|
|
4366
4366
|
},
|
|
4367
4367
|
mounted() {
|
|
4368
|
-
|
|
4368
|
+
qs(document.getElementById("moveableDiv"));
|
|
4369
4369
|
},
|
|
4370
4370
|
methods: {
|
|
4371
4371
|
toggleSize() {
|
|
@@ -4373,7 +4373,7 @@ const js = /* @__PURE__ */ C(Ts, [["render", Ns], ["__scopeId", "data-v-341837d7
|
|
|
4373
4373
|
}
|
|
4374
4374
|
}
|
|
4375
4375
|
};
|
|
4376
|
-
function
|
|
4376
|
+
function qs(e) {
|
|
4377
4377
|
const t = document.getElementById(e.id + "header");
|
|
4378
4378
|
if (!t)
|
|
4379
4379
|
return;
|
|
@@ -4393,11 +4393,11 @@ function Ps(e) {
|
|
|
4393
4393
|
document.removeEventListener("mouseup", p, !1), document.removeEventListener("mousemove", d, !1), document.removeEventListener("touchend", p, !1), document.removeEventListener("touchmove", d, !1);
|
|
4394
4394
|
}
|
|
4395
4395
|
}
|
|
4396
|
-
const
|
|
4396
|
+
const Ps = (e) => (ee("data-v-243baf73"), e = e(), te(), e), Ys = /* @__PURE__ */ Ps(() => /* @__PURE__ */ o("div", { id: "filler-div" }, null, -1)), Qs = {
|
|
4397
4397
|
class: "moveable-body",
|
|
4398
4398
|
id: "moveableDivheader"
|
|
4399
|
-
},
|
|
4400
|
-
function
|
|
4399
|
+
}, zs = { class: "moveable-footer" };
|
|
4400
|
+
function $s(e, t, i, r, n, s) {
|
|
4401
4401
|
const a = c("v-btn");
|
|
4402
4402
|
return l(), m("div", {
|
|
4403
4403
|
id: "moveableDiv",
|
|
@@ -4423,18 +4423,18 @@ function Ws(e, t, i, r, n, s) {
|
|
|
4423
4423
|
onClick: t[1] || (t[1] = (d) => e.$emit("transform")),
|
|
4424
4424
|
title: "Rotate"
|
|
4425
4425
|
}),
|
|
4426
|
-
|
|
4427
|
-
o("div",
|
|
4426
|
+
Ys,
|
|
4427
|
+
o("div", Qs, [
|
|
4428
4428
|
A(e.$slots, "body", { class: "slot" }, void 0, !0)
|
|
4429
4429
|
]),
|
|
4430
|
-
o("div",
|
|
4430
|
+
o("div", zs, [
|
|
4431
4431
|
A(e.$slots, "footer", {}, void 0, !0)
|
|
4432
4432
|
])
|
|
4433
4433
|
], 2);
|
|
4434
4434
|
}
|
|
4435
|
-
const
|
|
4435
|
+
const Ws = /* @__PURE__ */ C(js, [["render", $s], ["__scopeId", "data-v-243baf73"]]), Js = {
|
|
4436
4436
|
name: "MinimapCompass",
|
|
4437
|
-
components: { QiNorthDirection:
|
|
4437
|
+
components: { QiNorthDirection: ie },
|
|
4438
4438
|
props: {
|
|
4439
4439
|
scale: {
|
|
4440
4440
|
type: Number,
|
|
@@ -4455,7 +4455,7 @@ const Js = /* @__PURE__ */ C(qs, [["render", Ws], ["__scopeId", "data-v-243baf73
|
|
|
4455
4455
|
}
|
|
4456
4456
|
}
|
|
4457
4457
|
};
|
|
4458
|
-
function
|
|
4458
|
+
function Gs(e, t, i, r, n, s) {
|
|
4459
4459
|
const a = c("qi-north-direction");
|
|
4460
4460
|
return l(), m("div", {
|
|
4461
4461
|
class: "minimap-compass",
|
|
@@ -4467,7 +4467,7 @@ function Xs(e, t, i, r, n, s) {
|
|
|
4467
4467
|
}, null, 8, ["longitude"])
|
|
4468
4468
|
], 4);
|
|
4469
4469
|
}
|
|
4470
|
-
const
|
|
4470
|
+
const Xs = /* @__PURE__ */ C(Js, [["render", Gs], ["__scopeId", "data-v-01730a31"]]), Zs = {
|
|
4471
4471
|
name: "SunsimulationSlider",
|
|
4472
4472
|
emits: ["set-background-image"],
|
|
4473
4473
|
props: {
|
|
@@ -4566,15 +4566,15 @@ const Zs = /* @__PURE__ */ C(Gs, [["render", Xs], ["__scopeId", "data-v-01730a31
|
|
|
4566
4566
|
});
|
|
4567
4567
|
}
|
|
4568
4568
|
}
|
|
4569
|
-
},
|
|
4569
|
+
}, Ks = { class: "ss-wrapper" }, eo = { class: "slider" }, to = { class: "minimap-sun-slider" }, io = {
|
|
4570
4570
|
key: 0,
|
|
4571
4571
|
class: "time-label"
|
|
4572
4572
|
};
|
|
4573
|
-
function
|
|
4573
|
+
function no(e, t, i, r, n, s) {
|
|
4574
4574
|
const a = c("v-progress-linear"), d = c("v-icon"), p = c("v-slider");
|
|
4575
|
-
return l(), m("div",
|
|
4576
|
-
o("div",
|
|
4577
|
-
o("div",
|
|
4575
|
+
return l(), m("div", Ks, [
|
|
4576
|
+
o("div", eo, [
|
|
4577
|
+
o("div", to, [
|
|
4578
4578
|
n.imagesPreloading ? (l(), y(a, {
|
|
4579
4579
|
key: 0,
|
|
4580
4580
|
indeterminate: "",
|
|
@@ -4605,12 +4605,12 @@ function so(e, t, i, r, n, s) {
|
|
|
4605
4605
|
_: 1
|
|
4606
4606
|
}, 8, ["modelValue"]))
|
|
4607
4607
|
]),
|
|
4608
|
-
n.imagesPreloading ? f("", !0) : (l(), m("div",
|
|
4608
|
+
n.imagesPreloading ? f("", !0) : (l(), m("div", io, _(s.timeString) + " " + _(s.hourMarkString), 1))
|
|
4609
4609
|
])
|
|
4610
4610
|
]);
|
|
4611
4611
|
}
|
|
4612
|
-
const
|
|
4613
|
-
components: { MiniMapMap:
|
|
4612
|
+
const so = /* @__PURE__ */ C(Zs, [["render", no], ["__scopeId", "data-v-86183299"]]), oo = {
|
|
4613
|
+
components: { MiniMapMap: Ns, Moveable: Ws, MinimapCompass: Xs, SunsimulationSlider: so },
|
|
4614
4614
|
name: "MiniMapV2",
|
|
4615
4615
|
emits: ["close", "set-background-image"],
|
|
4616
4616
|
props: {
|
|
@@ -4667,7 +4667,7 @@ const oo = /* @__PURE__ */ C(Ks, [["render", so], ["__scopeId", "data-v-86183299
|
|
|
4667
4667
|
}
|
|
4668
4668
|
}
|
|
4669
4669
|
};
|
|
4670
|
-
function
|
|
4670
|
+
function ro(e, t, i, r, n, s) {
|
|
4671
4671
|
const a = c("minimap-compass"), d = c("mini-map-map"), p = c("sunsimulation-slider"), v = c("moveable");
|
|
4672
4672
|
return l(), y(v, {
|
|
4673
4673
|
onClose: t[0] || (t[0] = (w) => e.$emit("close")),
|
|
@@ -4701,7 +4701,7 @@ function ao(e, t, i, r, n, s) {
|
|
|
4701
4701
|
_: 1
|
|
4702
4702
|
}, 8, ["onTransform"]);
|
|
4703
4703
|
}
|
|
4704
|
-
const
|
|
4704
|
+
const ao = /* @__PURE__ */ C(oo, [["render", ro], ["__scopeId", "data-v-547d8112"]]), lo = {
|
|
4705
4705
|
temperature: 6500,
|
|
4706
4706
|
targetLuminance: 1,
|
|
4707
4707
|
exposureFovScale: 0.3,
|
|
@@ -4710,7 +4710,7 @@ const lo = /* @__PURE__ */ C(ro, [["render", ao], ["__scopeId", "data-v-547d8112
|
|
|
4710
4710
|
UNREAL_BLOOOM_STRENGTH: 0.3,
|
|
4711
4711
|
TRANSITION_MOVEMENT_SCALE: 1.3,
|
|
4712
4712
|
whitePoint: [1, 1, 1]
|
|
4713
|
-
},
|
|
4713
|
+
}, co = {
|
|
4714
4714
|
name: "VirtualTourV2",
|
|
4715
4715
|
emits: [
|
|
4716
4716
|
"on-snapshot",
|
|
@@ -4719,20 +4719,20 @@ const lo = /* @__PURE__ */ C(ro, [["render", ao], ["__scopeId", "data-v-547d8112
|
|
|
4719
4719
|
"on-camera-update"
|
|
4720
4720
|
],
|
|
4721
4721
|
components: {
|
|
4722
|
-
Player:
|
|
4723
|
-
WaypointCarousel:
|
|
4724
|
-
InteriorSelector:
|
|
4725
|
-
Compass:
|
|
4726
|
-
SingleImage:
|
|
4727
|
-
TimeOfDay:
|
|
4728
|
-
FloorLevel:
|
|
4729
|
-
SocialShare:
|
|
4730
|
-
FullScreenButton:
|
|
4731
|
-
ViewModeToggle:
|
|
4732
|
-
MiniMapV2:
|
|
4733
|
-
Disclaimer:
|
|
4734
|
-
Tutorial:
|
|
4735
|
-
SettingsUI:
|
|
4722
|
+
Player: Bi,
|
|
4723
|
+
WaypointCarousel: Ri,
|
|
4724
|
+
InteriorSelector: Gi,
|
|
4725
|
+
Compass: tn,
|
|
4726
|
+
SingleImage: rn,
|
|
4727
|
+
TimeOfDay: mn,
|
|
4728
|
+
FloorLevel: Pi,
|
|
4729
|
+
SocialShare: $i,
|
|
4730
|
+
FullScreenButton: kn,
|
|
4731
|
+
ViewModeToggle: In,
|
|
4732
|
+
MiniMapV2: ao,
|
|
4733
|
+
Disclaimer: Mn,
|
|
4734
|
+
Tutorial: ss,
|
|
4735
|
+
SettingsUI: As
|
|
4736
4736
|
},
|
|
4737
4737
|
props: {
|
|
4738
4738
|
fileLoader: {
|
|
@@ -4778,7 +4778,7 @@ const lo = /* @__PURE__ */ C(ro, [["render", ao], ["__scopeId", "data-v-547d8112
|
|
|
4778
4778
|
adminMode: { type: Boolean, default: () => !1 },
|
|
4779
4779
|
playerSettings: {
|
|
4780
4780
|
type: Object,
|
|
4781
|
-
default: () =>
|
|
4781
|
+
default: () => lo
|
|
4782
4782
|
}
|
|
4783
4783
|
},
|
|
4784
4784
|
data() {
|
|
@@ -4802,7 +4802,7 @@ const lo = /* @__PURE__ */ C(ro, [["render", ao], ["__scopeId", "data-v-547d8112
|
|
|
4802
4802
|
displayMinimap: !1,
|
|
4803
4803
|
minimapBackgroundImage: void 0,
|
|
4804
4804
|
showUI: !1,
|
|
4805
|
-
fullScreen: new
|
|
4805
|
+
fullScreen: new pn(document, "player-wrapper")
|
|
4806
4806
|
};
|
|
4807
4807
|
},
|
|
4808
4808
|
provide() {
|
|
@@ -4819,7 +4819,7 @@ const lo = /* @__PURE__ */ C(ro, [["render", ao], ["__scopeId", "data-v-547d8112
|
|
|
4819
4819
|
},
|
|
4820
4820
|
projectRoot() {
|
|
4821
4821
|
let e = `${this.cdnRoot}/${this.projectSlug}`;
|
|
4822
|
-
return this.fileLoader && (e = ""),
|
|
4822
|
+
return this.fileLoader && (e = ""), mo(e);
|
|
4823
4823
|
},
|
|
4824
4824
|
rootUrl() {
|
|
4825
4825
|
return `${this.projectRoot}/${this.interiorId}/${this.apartmentId}`;
|
|
@@ -4904,7 +4904,7 @@ const lo = /* @__PURE__ */ C(ro, [["render", ao], ["__scopeId", "data-v-547d8112
|
|
|
4904
4904
|
},
|
|
4905
4905
|
timeOfDay() {
|
|
4906
4906
|
if (this.apartmentJSON && this.apartmentJSON.timeInHours && this.showTimeOfDay)
|
|
4907
|
-
return
|
|
4907
|
+
return uo(this.apartmentJSON.timeInHours);
|
|
4908
4908
|
},
|
|
4909
4909
|
refinedMinimapBackgroundImage() {
|
|
4910
4910
|
return this.minimapBackgroundImage ? this.minimapBackgroundImage : `${this.projectRoot}/${this.interiorId}/${this.apartmentId}/minimap/sunsim0_13.jpg`;
|
|
@@ -5091,7 +5091,7 @@ const lo = /* @__PURE__ */ C(ro, [["render", ao], ["__scopeId", "data-v-547d8112
|
|
|
5091
5091
|
this.minimapBackgroundImage = e;
|
|
5092
5092
|
},
|
|
5093
5093
|
async takeSnapshot() {
|
|
5094
|
-
const e = 180 / Math.PI, t = await this.playerApi.takePhoto(), i = this.playerApi.getRotationEuler(), r = this.playerApi.getCurrentCamera(), n = new
|
|
5094
|
+
const e = 180 / Math.PI, t = await this.playerApi.takePhoto(), i = this.playerApi.getRotationEuler(), r = this.playerApi.getCurrentCamera(), n = new fn(t, r), s = [
|
|
5095
5095
|
i.x * e,
|
|
5096
5096
|
i.y * e,
|
|
5097
5097
|
i.z * e
|
|
@@ -5104,7 +5104,7 @@ const lo = /* @__PURE__ */ C(ro, [["render", ao], ["__scopeId", "data-v-547d8112
|
|
|
5104
5104
|
},
|
|
5105
5105
|
async loadFile(e) {
|
|
5106
5106
|
const t = this.getURL(e);
|
|
5107
|
-
return await
|
|
5107
|
+
return await ho(t);
|
|
5108
5108
|
},
|
|
5109
5109
|
updateSetting(e) {
|
|
5110
5110
|
this.playerApi.updateSettings(e);
|
|
@@ -5114,43 +5114,43 @@ const lo = /* @__PURE__ */ C(ro, [["render", ao], ["__scopeId", "data-v-547d8112
|
|
|
5114
5114
|
}
|
|
5115
5115
|
}
|
|
5116
5116
|
};
|
|
5117
|
-
function
|
|
5117
|
+
function uo(e) {
|
|
5118
5118
|
if (e === void 0)
|
|
5119
5119
|
return null;
|
|
5120
5120
|
const t = Math.floor(e), i = Math.floor((t - e) * 60);
|
|
5121
5121
|
return { hours: t, minutes: i };
|
|
5122
5122
|
}
|
|
5123
|
-
async function
|
|
5123
|
+
async function ho(e) {
|
|
5124
5124
|
try {
|
|
5125
|
-
return (await
|
|
5125
|
+
return (await ke.get(e)).data;
|
|
5126
5126
|
} catch (t) {
|
|
5127
5127
|
throw console.error(t), new Error(t);
|
|
5128
5128
|
}
|
|
5129
5129
|
}
|
|
5130
|
-
function
|
|
5130
|
+
function mo(e) {
|
|
5131
5131
|
return e.replace(/\/$/, "");
|
|
5132
5132
|
}
|
|
5133
|
-
const
|
|
5133
|
+
const po = { class: "virtual-tour-v2-wrapper" }, go = {
|
|
5134
5134
|
key: 0,
|
|
5135
5135
|
class: "player-error"
|
|
5136
|
-
},
|
|
5136
|
+
}, vo = { class: "player-and-components-wrapper" }, fo = { key: 1 }, bo = {
|
|
5137
5137
|
key: 3,
|
|
5138
5138
|
class: "settings-panel"
|
|
5139
|
-
},
|
|
5139
|
+
}, yo = {
|
|
5140
5140
|
key: 0,
|
|
5141
5141
|
class: "compass-wrapper"
|
|
5142
|
-
},
|
|
5142
|
+
}, wo = {
|
|
5143
5143
|
key: 1,
|
|
5144
5144
|
class: "btn-placeholder mr-2"
|
|
5145
|
-
},
|
|
5145
|
+
}, ko = {
|
|
5146
5146
|
key: 2,
|
|
5147
5147
|
class: "btn-placeholder"
|
|
5148
|
-
},
|
|
5149
|
-
function
|
|
5150
|
-
const a = c("mini-map-v-2"), d = c("single-image"), p = c("v-btn"), v = c("floor-level"), w = c("settings-u-i"), S = c("disclaimer"), g = c("compass"), b = c("time-of-day"), k = c("tutorial"), I = c("full-screen-button"), O = c("social-share"),
|
|
5151
|
-
return l(), m("div",
|
|
5152
|
-
n.error ? (l(), m("div",
|
|
5153
|
-
o("div",
|
|
5148
|
+
}, Co = { key: 0 };
|
|
5149
|
+
function _o(e, t, i, r, n, s) {
|
|
5150
|
+
const a = c("mini-map-v-2"), d = c("single-image"), p = c("v-btn"), v = c("floor-level"), w = c("settings-u-i"), S = c("disclaimer"), g = c("compass"), b = c("time-of-day"), k = c("tutorial"), I = c("full-screen-button"), O = c("social-share"), Le = c("view-mode-toggle"), ae = c("waypoint-carousel"), Me = c("interior-selector"), xe = c("player");
|
|
5151
|
+
return l(), m("div", po, [
|
|
5152
|
+
n.error ? (l(), m("div", go, "Error loading the player!!")) : f("", !0),
|
|
5153
|
+
o("div", vo, [
|
|
5154
5154
|
!n.fullScreen.isActive && n.minimapJSON && n.playerCamera && s.minimapCamera && n.displayMinimap ? (l(), y(a, {
|
|
5155
5155
|
key: 0,
|
|
5156
5156
|
allCameras: s.allCameras,
|
|
@@ -5164,8 +5164,8 @@ function Io(e, t, i, r, n, s) {
|
|
|
5164
5164
|
onClose: t[0] || (t[0] = (z) => n.displayMinimap = !1),
|
|
5165
5165
|
onSetBackgroundImage: s.setMinimapBackgroundImage
|
|
5166
5166
|
}, null, 8, ["allCameras", "rootUrl", "level", "backgroundImage", "minimapJSON", "rotation", "currentCamera", "minimapCamera", "onSetBackgroundImage"])) : f("", !0),
|
|
5167
|
-
s.interiorId && n.currentCameraId ? (l(), m("div",
|
|
5168
|
-
u(
|
|
5167
|
+
s.interiorId && n.currentCameraId ? (l(), m("div", fo, [
|
|
5168
|
+
u(xe, {
|
|
5169
5169
|
ref: "player",
|
|
5170
5170
|
"file-loader": i.fileLoader,
|
|
5171
5171
|
style: M({ zIndex: n.showStaticImage ? 1 : 2 }),
|
|
@@ -5214,7 +5214,7 @@ function Io(e, t, i, r, n, s) {
|
|
|
5214
5214
|
level: n.floorLevel,
|
|
5215
5215
|
"floor-levels": s.floorLevels
|
|
5216
5216
|
}, null, 8, ["level", "floor-levels"])) : f("", !0),
|
|
5217
|
-
n.showUI && i.adminMode && n.showSettings ? (l(), m("div",
|
|
5217
|
+
n.showUI && i.adminMode && n.showSettings ? (l(), m("div", bo, [
|
|
5218
5218
|
u(w, {
|
|
5219
5219
|
"project-slug": i.projectSlug,
|
|
5220
5220
|
initialSettings: i.playerSettings,
|
|
@@ -5230,7 +5230,7 @@ function Io(e, t, i, r, n, s) {
|
|
|
5230
5230
|
}, null, 8, ["return-url"])) : f("", !0)
|
|
5231
5231
|
]),
|
|
5232
5232
|
"top-right": h(() => [
|
|
5233
|
-
n.apartmentJSON && i.showCompass ? x((l(), m("div",
|
|
5233
|
+
n.apartmentJSON && i.showCompass ? x((l(), m("div", yo, [
|
|
5234
5234
|
u(g, { rotation: n.rotation }, null, 8, ["rotation"])
|
|
5235
5235
|
], 512)), [
|
|
5236
5236
|
[B, n.showUI]
|
|
@@ -5295,7 +5295,7 @@ function Io(e, t, i, r, n, s) {
|
|
|
5295
5295
|
class: "btn-fullscreen",
|
|
5296
5296
|
onToggleFullscreen: s.toggleFullscreen
|
|
5297
5297
|
}, null, 8, ["isFullScreen", "onToggleFullscreen"])) : f("", !0),
|
|
5298
|
-
n.showUI && i.showSnapshot ? (l(), m("div",
|
|
5298
|
+
n.showUI && i.showSnapshot ? (l(), m("div", wo, [
|
|
5299
5299
|
u(p, {
|
|
5300
5300
|
density: "comfortable",
|
|
5301
5301
|
elevation: "3",
|
|
@@ -5303,18 +5303,18 @@ function Io(e, t, i, r, n, s) {
|
|
|
5303
5303
|
onClick: s.takeSnapshot
|
|
5304
5304
|
}, null, 8, ["onClick"])
|
|
5305
5305
|
])) : f("", !0),
|
|
5306
|
-
n.showUI && i.showShare && !n.fullScreen.isActive ? (l(), m("div",
|
|
5306
|
+
n.showUI && i.showShare && !n.fullScreen.isActive ? (l(), m("div", ko, [
|
|
5307
5307
|
u(O)
|
|
5308
5308
|
])) : f("", !0)
|
|
5309
5309
|
]),
|
|
5310
5310
|
"bottom-center": h(() => [
|
|
5311
|
-
n.showUI && i.showCarousel ? (l(), m("div",
|
|
5312
|
-
i.displayViewModeSwitch ? (l(), y(
|
|
5311
|
+
n.showUI && i.showCarousel ? (l(), m("div", Co, [
|
|
5312
|
+
i.displayViewModeSwitch ? (l(), y(Le, {
|
|
5313
5313
|
key: 0,
|
|
5314
5314
|
"show-static-image": n.showStaticImage,
|
|
5315
5315
|
onToggle: s.toggleViewMode
|
|
5316
5316
|
}, null, 8, ["show-static-image", "onToggle"])) : f("", !0),
|
|
5317
|
-
n.showUI && n.fullScreen.isActive ? (l(), y(
|
|
5317
|
+
n.showUI && n.fullScreen.isActive ? (l(), y(ae, {
|
|
5318
5318
|
key: 1,
|
|
5319
5319
|
class: E([n.fullScreen.isActive ? "full-screen" : ""]),
|
|
5320
5320
|
thumbnails: s.thumbnails,
|
|
@@ -5326,7 +5326,7 @@ function Io(e, t, i, r, n, s) {
|
|
|
5326
5326
|
])) : f("", !0)
|
|
5327
5327
|
]),
|
|
5328
5328
|
"bottom-right": h(() => [
|
|
5329
|
-
n.showUI && i.showInteriorOptions && s.interiorsWithImage ? (l(), y(
|
|
5329
|
+
n.showUI && i.showInteriorOptions && s.interiorsWithImage ? (l(), y(Me, {
|
|
5330
5330
|
key: 0,
|
|
5331
5331
|
availableArchetypes: s.interiorsWithImage,
|
|
5332
5332
|
selectedIndex: s.selectedInteriorIndex,
|
|
@@ -5335,7 +5335,7 @@ function Io(e, t, i, r, n, s) {
|
|
|
5335
5335
|
]),
|
|
5336
5336
|
_: 1
|
|
5337
5337
|
}, 8, ["file-loader", "style", "showStaticImage", "isFullScreen", "rootUrl", "currentCameraId", "mouse-sensitivity", "is-in-iframe", "onNewCameraCallback", "onNewRotationCallback", "onNewFloorCallback", "onNewFovCallback", "onNewSizeCallback", "onPlayerApiCallback"]),
|
|
5338
|
-
i.showCarousel && n.thumbsJSON ? (l(), y(
|
|
5338
|
+
i.showCarousel && n.thumbsJSON ? (l(), y(ae, {
|
|
5339
5339
|
key: 0,
|
|
5340
5340
|
thumbnails: s.thumbnails,
|
|
5341
5341
|
active: n.currentThumbnailIndex,
|
|
@@ -5347,16 +5347,7 @@ function Io(e, t, i, r, n, s) {
|
|
|
5347
5347
|
])
|
|
5348
5348
|
]);
|
|
5349
5349
|
}
|
|
5350
|
-
const
|
|
5351
|
-
install(e) {
|
|
5352
|
-
for (const t in K)
|
|
5353
|
-
if (K.hasOwnProperty(t)) {
|
|
5354
|
-
const i = K[t];
|
|
5355
|
-
e.component(i.name, i);
|
|
5356
|
-
}
|
|
5357
|
-
}
|
|
5358
|
-
};
|
|
5350
|
+
const Io = /* @__PURE__ */ C(co, [["render", _o], ["__scopeId", "data-v-5e036d71"]]), Mo = { QiBuildingChooser: _t, QiApartmentChooser: li, VirtualTourV2: Io };
|
|
5359
5351
|
export {
|
|
5360
|
-
|
|
5361
|
-
xo as default
|
|
5352
|
+
Mo as default
|
|
5362
5353
|
};
|