@realsee/dnalogel 3.78.1-alpha.1 → 3.79.0-alpha.0
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/CHANGELOG.md +15 -1
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +6 -0
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +2 -3
- package/dist/index.cjs.js +97 -102
- package/dist/index.js +14564 -16573
- package/dist/index.umd.js +90 -95
- package/libs/CruisePlugin/Move.js +14 -27
- package/libs/CruisePlugin/Work.js +61 -74
- package/libs/CruisePlugin/index.js +18 -31
- package/libs/GuideLinePlugin/Controller.js +18 -31
- package/libs/GuideLinePlugin/GuideLineItem.js +16 -29
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +51 -48
- package/libs/GuideLinePlugin/GuideLineModeItem.js +16 -27
- package/libs/GuideLinePlugin/index.js +18 -31
- package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +87 -77
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +189 -135
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopup.js +460 -432
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +38 -126
- package/libs/PanoTagPlugin/Components/Tag/index.js +292 -393
- package/libs/PanoTagPlugin/Components/TagContainer.js +125 -135
- package/libs/PanoTagPlugin/Components/TagItem.js +318 -321
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +61 -74
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +95 -108
- package/libs/PanoTagPlugin/controller/index.js +41 -54
- package/libs/PanoTagPlugin/index.js +23 -36
- package/libs/PanoTagPlugin/tag.config.js +31 -1
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +6 -0
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +2 -3
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +169 -182
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/url/replace-static-prefix.js +12 -7
- package/libs/vendor/svelte/internal/index.js +235 -225
- package/package.json +2 -2
- package/dist/PanoTagPlugin/Components/Common/Arrow.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Common/Line/Polyline.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Common/Line/Straight.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Common/Text/FlyMText.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Common/Text/FlyText.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Tag/ImageTextTag.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Tag/TextTag/TextTag.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Tag/TextTag/index.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/utils/constants.d.ts +0 -3
- package/dist/PanoTagPlugin/utils/doUtil.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +0 -198
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +0 -258
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +0 -358
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +0 -259
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +0 -216
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +0 -219
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +0 -134
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.svelte.d.ts +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import
|
|
1
|
+
import { SvelteComponent as Pe, init as ye, safe_not_equal as Ee, append_styles as Me, space as ue, empty as De, insert as O, transition_in as b, transition_out as P, check_outros as B, detach as V, getContext as pe, component_subscribe as Ie, onMount as Se, element as x, attr as _, toggle_class as H, set_style as j, append as we, group_outros as G, create_component as $, mount_component as ee, destroy_component as te, binding_callbacks as Y, noop as U, bind as He, add_flush_callback as Ue } from "../../vendor/svelte/internal/index.js";
|
|
2
|
+
import Le from "./Tag/index.js";
|
|
3
3
|
import "three";
|
|
4
|
-
import { noTypecheck as
|
|
5
|
-
import
|
|
4
|
+
import { noTypecheck as le } from "../utils/noTypecheck.js";
|
|
5
|
+
import ze from "./Common/TagPoint.js";
|
|
6
6
|
import "../../shared-utils/tag.js";
|
|
7
|
-
import { isModelLike as
|
|
7
|
+
import { isModelLike as Ae } from "../../shared-utils/five/mode.js";
|
|
8
8
|
import "../../vendor/hammerjs/hammer.js";
|
|
9
9
|
import "../../shared-utils/three/PointSelector/index.js";
|
|
10
10
|
import "../../shared-utils/three/CSS3DRenderer/index.js";
|
|
@@ -17,63 +17,15 @@ import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
17
17
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
18
18
|
import "../../vendor/earcut/src/earcut.js";
|
|
19
19
|
import "../../shared-utils/five/FivePuppet.js";
|
|
20
|
-
import
|
|
21
|
-
import "./Tag/
|
|
22
|
-
import "
|
|
23
|
-
import "
|
|
20
|
+
import Re from "./Common/TagPopover/index.js";
|
|
21
|
+
import "./Tag/MarketingTag.js";
|
|
22
|
+
import "../../shared-utils/isNil.js";
|
|
23
|
+
import "../utils/px2rem.js";
|
|
24
|
+
import "./Common/Shadow.js";
|
|
24
25
|
import "../../vendor/svelte/transition/index.js";
|
|
25
26
|
import "../../vendor/svelte/easing/index.js";
|
|
26
|
-
import "../../shared-utils/uuid.js";
|
|
27
|
-
import "./Common/Shadow.js";
|
|
28
|
-
import "./Common/Text/FlyMText.js";
|
|
29
|
-
import "./Common/Text/FlyText.js";
|
|
30
|
-
import "../../vendor/animejs/lib/anime.es.js";
|
|
31
|
-
import "../../shared-utils/isNil.js";
|
|
32
|
-
import "../utils/search.js";
|
|
33
|
-
import "../utils/constants.js";
|
|
34
|
-
import "./Common/Arrow.js";
|
|
35
|
-
import "../Assets/Icon.js";
|
|
36
|
-
import "../utils/doUtil.js";
|
|
37
27
|
import "../../shared-utils/svelte/resizeObserver.js";
|
|
38
28
|
import "../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
39
|
-
import "./Tag/TextTag/TextPlaneTag.js";
|
|
40
|
-
import "./Common/Text/MText.js";
|
|
41
|
-
import "../utils/px2rem.js";
|
|
42
|
-
import "./Tag/ImageTextTag.js";
|
|
43
|
-
import "./Common/Line/Polyline.js";
|
|
44
|
-
import "./Common/Media.js";
|
|
45
|
-
import "../../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
|
|
46
|
-
import "../../vendor/svelte-carousel/src/components/Dots/Dots.js";
|
|
47
|
-
import "../../vendor/svelte-carousel/src/components/Dot/Dot.js";
|
|
48
|
-
import "../../vendor/svelte-carousel/src/components/Arrow/Arrow.js";
|
|
49
|
-
import "../../vendor/svelte-carousel/src/direction.js";
|
|
50
|
-
import "../../vendor/svelte-carousel/src/components/Progress/Progress.js";
|
|
51
|
-
import "../../vendor/svelte-carousel/src/actions/swipeable/swipeable.js";
|
|
52
|
-
import "../../vendor/svelte-carousel/src/actions/swipeable/event.js";
|
|
53
|
-
import "../../vendor/svelte-carousel/src/utils/event.js";
|
|
54
|
-
import "../../vendor/svelte-carousel/src/units.js";
|
|
55
|
-
import "../../vendor/svelte-carousel/src/actions/hoverable/hoverable.js";
|
|
56
|
-
import "../../vendor/svelte-carousel/src/actions/hoverable/event.js";
|
|
57
|
-
import "../../vendor/svelte-carousel/src/actions/tappable/tappable.js";
|
|
58
|
-
import "../../vendor/svelte-carousel/src/utils/math.js";
|
|
59
|
-
import "../../vendor/svelte-carousel/src/actions/tappable/event.js";
|
|
60
|
-
import "../../vendor/svelte-carousel/src/utils/page.js";
|
|
61
|
-
import "../../vendor/svelte-carousel/src/utils/clones.js";
|
|
62
|
-
import "../../vendor/svelte-carousel/src/utils/object.js";
|
|
63
|
-
import "../../vendor/svelte-carousel/src/components/Carousel/createCarousel.js";
|
|
64
|
-
import "../../vendor/easy-reactive/src/simply-reactive.js";
|
|
65
|
-
import "../../vendor/lodash.get/index.js";
|
|
66
|
-
import "../../_commonjsHelpers.js";
|
|
67
|
-
import "../../vendor/lodash.clonedeep/index.js";
|
|
68
|
-
import "../../vendor/easy-reactive/src/utils/subscription.js";
|
|
69
|
-
import "../../vendor/easy-reactive/src/utils/object.js";
|
|
70
|
-
import "../../vendor/lodash.isequal/index.js";
|
|
71
|
-
import "../../vendor/easy-reactive/src/utils/watcher.js";
|
|
72
|
-
import "../../vendor/svelte-carousel/src/utils/lazy.js";
|
|
73
|
-
import "../../vendor/svelte-carousel/src/utils/ProgressManager.js";
|
|
74
|
-
import "../../vendor/svelte-carousel/src/utils/interval.js";
|
|
75
|
-
import "./Common/MediaItem.js";
|
|
76
|
-
import "./Tag/MarketingTag.js";
|
|
77
29
|
import "./Tag/Assets/marketingIcon.js";
|
|
78
30
|
import "../../shared-utils/positionToVector3.js";
|
|
79
31
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
@@ -122,19 +74,53 @@ import "../../shared-utils/five/getPosition.js";
|
|
|
122
74
|
import "../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
123
75
|
import "../../shared-utils/three/PointSelector/utils/contents.js";
|
|
124
76
|
import "../../Sculpt/utils/three/rayOnLine.js";
|
|
77
|
+
import "../../vendor/animejs/lib/anime.es.js";
|
|
125
78
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
126
79
|
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
127
80
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
128
81
|
import "@realsee/five";
|
|
129
82
|
import "./Tag/AudioTag/index.js";
|
|
130
|
-
import "./Tag/AudioTag/
|
|
83
|
+
import "./Tag/AudioTag/AudioPlaneTag.js";
|
|
84
|
+
import "./Common/Icon/audioIcon.js";
|
|
85
|
+
import "./Common/Text/MText.js";
|
|
131
86
|
import "./Common/Audio.js";
|
|
132
87
|
import "../utils/audio/SharedAudio.js";
|
|
133
88
|
import "../../shared-utils/audio.js";
|
|
134
89
|
import "../utils/audio/AudioDiagnostics.js";
|
|
135
|
-
import "./Common/Icon/audioIcon.js";
|
|
136
|
-
import "./Tag/AudioTag/AudioPlaneTag.js";
|
|
137
90
|
import "./Tag/MediaPlane.js";
|
|
91
|
+
import "./Common/Media.js";
|
|
92
|
+
import "../../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
|
|
93
|
+
import "../../vendor/svelte-carousel/src/components/Dots/Dots.js";
|
|
94
|
+
import "../../vendor/svelte-carousel/src/components/Dot/Dot.js";
|
|
95
|
+
import "../../vendor/svelte-carousel/src/components/Arrow/Arrow.js";
|
|
96
|
+
import "../../vendor/svelte-carousel/src/direction.js";
|
|
97
|
+
import "../../vendor/svelte-carousel/src/components/Progress/Progress.js";
|
|
98
|
+
import "../../vendor/svelte-carousel/src/actions/swipeable/swipeable.js";
|
|
99
|
+
import "../../vendor/svelte-carousel/src/actions/swipeable/event.js";
|
|
100
|
+
import "../../vendor/svelte-carousel/src/utils/event.js";
|
|
101
|
+
import "../../vendor/svelte-carousel/src/units.js";
|
|
102
|
+
import "../../vendor/svelte-carousel/src/actions/hoverable/hoverable.js";
|
|
103
|
+
import "../../vendor/svelte-carousel/src/actions/hoverable/event.js";
|
|
104
|
+
import "../../vendor/svelte-carousel/src/actions/tappable/tappable.js";
|
|
105
|
+
import "../../vendor/svelte-carousel/src/utils/math.js";
|
|
106
|
+
import "../../vendor/svelte-carousel/src/actions/tappable/event.js";
|
|
107
|
+
import "../../vendor/svelte-carousel/src/utils/page.js";
|
|
108
|
+
import "../../vendor/svelte-carousel/src/utils/clones.js";
|
|
109
|
+
import "../../vendor/svelte-carousel/src/utils/object.js";
|
|
110
|
+
import "../../vendor/svelte-carousel/src/components/Carousel/createCarousel.js";
|
|
111
|
+
import "../../vendor/easy-reactive/src/simply-reactive.js";
|
|
112
|
+
import "../../vendor/lodash.get/index.js";
|
|
113
|
+
import "../../_commonjsHelpers.js";
|
|
114
|
+
import "../../vendor/lodash.clonedeep/index.js";
|
|
115
|
+
import "../../vendor/easy-reactive/src/utils/subscription.js";
|
|
116
|
+
import "../../vendor/easy-reactive/src/utils/object.js";
|
|
117
|
+
import "../../vendor/lodash.isequal/index.js";
|
|
118
|
+
import "../../vendor/easy-reactive/src/utils/watcher.js";
|
|
119
|
+
import "../../vendor/svelte-carousel/src/utils/lazy.js";
|
|
120
|
+
import "../../vendor/svelte-carousel/src/utils/ProgressManager.js";
|
|
121
|
+
import "../../vendor/svelte-carousel/src/utils/interval.js";
|
|
122
|
+
import "./Common/MediaItem.js";
|
|
123
|
+
import "../Assets/Icon.js";
|
|
138
124
|
import "./Tag/LinkTag.js";
|
|
139
125
|
import "./Common/Icon/Icon.js";
|
|
140
126
|
import "../utils/getImageInfo.js";
|
|
@@ -170,6 +156,7 @@ import "../../shared-utils/url/defaultUrls.js";
|
|
|
170
156
|
import "../../shared-utils/vectorToCoordinate.js";
|
|
171
157
|
import "../../shared-utils/formatRad.js";
|
|
172
158
|
import "../../shared-utils/five/lookPoint.js";
|
|
159
|
+
import "../../shared-utils/uuid.js";
|
|
173
160
|
import "../utils/tagPosition.js";
|
|
174
161
|
import "../utils/checkRange.js";
|
|
175
162
|
import "../../shared-utils/url/getUrl.js";
|
|
@@ -189,157 +176,157 @@ import "./Common/AudioPlayer.js";
|
|
|
189
176
|
import "./Common/TagPopover/TagPopoverToolBar.js";
|
|
190
177
|
import "./Common/TagPopover/ArrowRightIcon.js";
|
|
191
178
|
import "./Common/TagPopover/ShareIcon.js";
|
|
192
|
-
function
|
|
193
|
-
|
|
179
|
+
function Ze(o) {
|
|
180
|
+
Me(o, "svelte-2g2g8a", ".tag.svelte-2g2g8a{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto;will-change:opacity;transition:opacity 0.2s linear}.tag.enableZIndex.svelte-2g2g8a{position:absolute}.tag.hide.svelte-2g2g8a{opacity:0;pointer-events:none}.tag.hide.svelte-2g2g8a *{pointer-events:none !important}.tag.unClickable.svelte-2g2g8a{pointer-events:none !important}.tag.unClickable.svelte-2g2g8a *{pointer-events:none !important}");
|
|
194
181
|
}
|
|
195
|
-
function
|
|
196
|
-
let
|
|
197
|
-
const
|
|
198
|
-
function
|
|
182
|
+
function me(o) {
|
|
183
|
+
let t, i, a, l, r, n, u, m, g, d;
|
|
184
|
+
const L = [Oe, Ne], v = [];
|
|
185
|
+
function z(f, s) {
|
|
199
186
|
return (
|
|
200
187
|
/*havePoint*/
|
|
201
188
|
f[10] ? 0 : 1
|
|
202
189
|
);
|
|
203
190
|
}
|
|
204
|
-
i =
|
|
205
|
-
const
|
|
206
|
-
function
|
|
191
|
+
i = z(o), a = v[i] = L[i](o);
|
|
192
|
+
const D = [qe, Ve], e = [];
|
|
193
|
+
function A(f, s) {
|
|
207
194
|
return (
|
|
208
195
|
/*haveContent*/
|
|
209
196
|
f[25] ? 0 : 1
|
|
210
197
|
);
|
|
211
198
|
}
|
|
212
|
-
return r =
|
|
199
|
+
return r = A(o), n = e[r] = D[r](o), {
|
|
213
200
|
c() {
|
|
214
|
-
|
|
215
|
-
|
|
201
|
+
t = x("div"), a.c(), l = ue(), n.c(), _(t, "class", "tag svelte-2g2g8a"), _(
|
|
202
|
+
t,
|
|
216
203
|
"data-tag-id",
|
|
217
204
|
/*id*/
|
|
218
205
|
o[23]
|
|
219
|
-
),
|
|
220
|
-
|
|
206
|
+
), _(
|
|
207
|
+
t,
|
|
221
208
|
"data-tag-unfolded",
|
|
222
209
|
/*unfolded*/
|
|
223
210
|
o[8]
|
|
224
|
-
),
|
|
225
|
-
o[0].contentType),
|
|
226
|
-
o[0].isPopoverConfigEnabled()),
|
|
211
|
+
), _(t, "data-content-type", u = /*tag*/
|
|
212
|
+
o[0].contentType), _(t, "data-popover-enabled", m = /*tag*/
|
|
213
|
+
o[0].isPopoverConfigEnabled()), _(t, "id", g = `tag-${/*id*/
|
|
227
214
|
o[23]}`), H(
|
|
228
|
-
|
|
215
|
+
t,
|
|
229
216
|
"unClickable",
|
|
230
217
|
/*tag*/
|
|
231
218
|
o[0].config.clickable === !1
|
|
232
219
|
), H(
|
|
233
|
-
|
|
220
|
+
t,
|
|
234
221
|
"hide",
|
|
235
222
|
/*hide*/
|
|
236
223
|
o[21]
|
|
237
224
|
), H(
|
|
238
|
-
|
|
225
|
+
t,
|
|
239
226
|
"enableZIndex",
|
|
240
227
|
/*zIndex*/
|
|
241
228
|
o[18]
|
|
242
|
-
),
|
|
243
|
-
|
|
229
|
+
), j(
|
|
230
|
+
t,
|
|
244
231
|
"z-index",
|
|
245
232
|
/*zIndex*/
|
|
246
233
|
o[18]
|
|
247
|
-
),
|
|
234
|
+
), j(t, "transform", `translate3d(${/*left*/
|
|
248
235
|
o[20]}, ${/*top*/
|
|
249
236
|
o[19]}, 0) scale(${/*screenPosition*/
|
|
250
237
|
o[9].scale})`);
|
|
251
238
|
},
|
|
252
239
|
m(f, s) {
|
|
253
|
-
|
|
240
|
+
O(f, t, s), v[i].m(t, null), we(t, l), e[r].m(t, null), o[39](t), d = !0;
|
|
254
241
|
},
|
|
255
242
|
p(f, s) {
|
|
256
243
|
let S = i;
|
|
257
|
-
i =
|
|
258
|
-
|
|
259
|
-
}),
|
|
244
|
+
i = z(f), i === S ? v[i].p(f, s) : (G(), P(v[S], 1, 1, () => {
|
|
245
|
+
v[S] = null;
|
|
246
|
+
}), B(), a = v[i], a ? a.p(f, s) : (a = v[i] = L[i](f), a.c()), b(a, 1), a.m(t, l));
|
|
260
247
|
let w = r;
|
|
261
|
-
r =
|
|
262
|
-
|
|
263
|
-
}),
|
|
264
|
-
8388608) &&
|
|
265
|
-
|
|
248
|
+
r = A(f), r === w ? e[r].p(f, s) : (G(), P(e[w], 1, 1, () => {
|
|
249
|
+
e[w] = null;
|
|
250
|
+
}), B(), n = e[r], n ? n.p(f, s) : (n = e[r] = D[r](f), n.c()), b(n, 1), n.m(t, null)), (!d || s[0] & /*id*/
|
|
251
|
+
8388608) && _(
|
|
252
|
+
t,
|
|
266
253
|
"data-tag-id",
|
|
267
254
|
/*id*/
|
|
268
255
|
f[23]
|
|
269
256
|
), (!d || s[0] & /*unfolded*/
|
|
270
|
-
256) &&
|
|
271
|
-
|
|
257
|
+
256) && _(
|
|
258
|
+
t,
|
|
272
259
|
"data-tag-unfolded",
|
|
273
260
|
/*unfolded*/
|
|
274
261
|
f[8]
|
|
275
262
|
), (!d || s[0] & /*tag*/
|
|
276
263
|
1 && u !== (u = /*tag*/
|
|
277
|
-
f[0].contentType)) &&
|
|
278
|
-
1 &&
|
|
279
|
-
f[0].isPopoverConfigEnabled())) &&
|
|
264
|
+
f[0].contentType)) && _(t, "data-content-type", u), (!d || s[0] & /*tag*/
|
|
265
|
+
1 && m !== (m = /*tag*/
|
|
266
|
+
f[0].isPopoverConfigEnabled())) && _(t, "data-popover-enabled", m), (!d || s[0] & /*id*/
|
|
280
267
|
8388608 && g !== (g = `tag-${/*id*/
|
|
281
|
-
f[23]}`)) &&
|
|
268
|
+
f[23]}`)) && _(t, "id", g), (!d || s[0] & /*tag*/
|
|
282
269
|
1) && H(
|
|
283
|
-
|
|
270
|
+
t,
|
|
284
271
|
"unClickable",
|
|
285
272
|
/*tag*/
|
|
286
273
|
f[0].config.clickable === !1
|
|
287
274
|
), (!d || s[0] & /*hide*/
|
|
288
275
|
2097152) && H(
|
|
289
|
-
|
|
276
|
+
t,
|
|
290
277
|
"hide",
|
|
291
278
|
/*hide*/
|
|
292
279
|
f[21]
|
|
293
280
|
), (!d || s[0] & /*zIndex*/
|
|
294
281
|
262144) && H(
|
|
295
|
-
|
|
282
|
+
t,
|
|
296
283
|
"enableZIndex",
|
|
297
284
|
/*zIndex*/
|
|
298
285
|
f[18]
|
|
299
286
|
), s[0] & /*zIndex*/
|
|
300
|
-
262144 &&
|
|
301
|
-
|
|
287
|
+
262144 && j(
|
|
288
|
+
t,
|
|
302
289
|
"z-index",
|
|
303
290
|
/*zIndex*/
|
|
304
291
|
f[18]
|
|
305
292
|
), s[0] & /*left, top, screenPosition*/
|
|
306
|
-
1573376 &&
|
|
293
|
+
1573376 && j(t, "transform", `translate3d(${/*left*/
|
|
307
294
|
f[20]}, ${/*top*/
|
|
308
295
|
f[19]}, 0) scale(${/*screenPosition*/
|
|
309
296
|
f[9].scale})`);
|
|
310
297
|
},
|
|
311
298
|
i(f) {
|
|
312
|
-
d || (
|
|
299
|
+
d || (b(a), b(n), d = !0);
|
|
313
300
|
},
|
|
314
301
|
o(f) {
|
|
315
|
-
|
|
302
|
+
P(a), P(n), d = !1;
|
|
316
303
|
},
|
|
317
304
|
d(f) {
|
|
318
|
-
f &&
|
|
305
|
+
f && V(t), v[i].d(), e[r].d(), o[39](null);
|
|
319
306
|
}
|
|
320
307
|
};
|
|
321
308
|
}
|
|
322
|
-
function
|
|
323
|
-
let
|
|
309
|
+
function Ne(o) {
|
|
310
|
+
let t;
|
|
324
311
|
return {
|
|
325
312
|
c() {
|
|
326
|
-
|
|
313
|
+
t = x("div"), _(t, "data-info", "tag point is disable");
|
|
327
314
|
},
|
|
328
315
|
m(i, a) {
|
|
329
|
-
|
|
316
|
+
O(i, t, a);
|
|
330
317
|
},
|
|
331
|
-
p:
|
|
332
|
-
i:
|
|
333
|
-
o:
|
|
318
|
+
p: U,
|
|
319
|
+
i: U,
|
|
320
|
+
o: U,
|
|
334
321
|
d(i) {
|
|
335
|
-
i &&
|
|
322
|
+
i && V(t);
|
|
336
323
|
}
|
|
337
324
|
};
|
|
338
325
|
}
|
|
339
|
-
function
|
|
340
|
-
let
|
|
341
|
-
function
|
|
342
|
-
o[
|
|
326
|
+
function Oe(o) {
|
|
327
|
+
let t, i, a;
|
|
328
|
+
function l(n) {
|
|
329
|
+
o[37](n);
|
|
343
330
|
}
|
|
344
331
|
let r = {
|
|
345
332
|
tag: (
|
|
@@ -348,93 +335,93 @@ function Ae(o) {
|
|
|
348
335
|
),
|
|
349
336
|
handleMouseEnter: (
|
|
350
337
|
/*handleMouseEnter*/
|
|
351
|
-
o[
|
|
338
|
+
o[31]
|
|
352
339
|
),
|
|
353
340
|
handleMouseLeave: (
|
|
354
341
|
/*handleMouseLeave*/
|
|
355
|
-
o[
|
|
342
|
+
o[32]
|
|
356
343
|
),
|
|
357
344
|
handleTagPointClick: (
|
|
358
345
|
/*handleTagPointClick*/
|
|
359
|
-
o[
|
|
346
|
+
o[33]
|
|
360
347
|
)
|
|
361
348
|
};
|
|
362
349
|
return (
|
|
363
350
|
/*tagPointClickHelper*/
|
|
364
351
|
o[12] !== void 0 && (r.tagPointClickHelper = /*tagPointClickHelper*/
|
|
365
|
-
o[12]),
|
|
352
|
+
o[12]), t = new ze({ props: r }), Y.push(() => He(t, "tagPointClickHelper", l)), o[38](t), t.$on(
|
|
366
353
|
"audioInstanceReady",
|
|
367
354
|
/*audioEventHandlers*/
|
|
368
|
-
o[
|
|
369
|
-
),
|
|
355
|
+
o[28].audioInstanceReady
|
|
356
|
+
), t.$on(
|
|
370
357
|
"audioPlay",
|
|
371
358
|
/*audioEventHandlers*/
|
|
372
|
-
o[
|
|
373
|
-
),
|
|
359
|
+
o[28].audioPlay
|
|
360
|
+
), t.$on(
|
|
374
361
|
"audioPause",
|
|
375
362
|
/*audioEventHandlers*/
|
|
376
|
-
o[
|
|
377
|
-
),
|
|
363
|
+
o[28].audioPause
|
|
364
|
+
), t.$on(
|
|
378
365
|
"audioTimeUpdate",
|
|
379
366
|
/*audioEventHandlers*/
|
|
380
|
-
o[
|
|
381
|
-
),
|
|
367
|
+
o[28].audioTimeUpdate
|
|
368
|
+
), t.$on(
|
|
382
369
|
"audioDuration",
|
|
383
370
|
/*audioEventHandlers*/
|
|
384
|
-
o[
|
|
371
|
+
o[28].audioDuration
|
|
385
372
|
), {
|
|
386
373
|
c() {
|
|
387
|
-
|
|
374
|
+
$(t.$$.fragment);
|
|
388
375
|
},
|
|
389
376
|
m(n, u) {
|
|
390
|
-
|
|
377
|
+
ee(t, n, u), a = !0;
|
|
391
378
|
},
|
|
392
379
|
p(n, u) {
|
|
393
|
-
const
|
|
380
|
+
const m = {};
|
|
394
381
|
u[0] & /*tag*/
|
|
395
|
-
1 && (
|
|
382
|
+
1 && (m.tag = /*tag*/
|
|
396
383
|
n[0]), !i && u[0] & /*tagPointClickHelper*/
|
|
397
|
-
4096 && (i = !0,
|
|
398
|
-
n[12],
|
|
384
|
+
4096 && (i = !0, m.tagPointClickHelper = /*tagPointClickHelper*/
|
|
385
|
+
n[12], Ue(() => i = !1)), t.$set(m);
|
|
399
386
|
},
|
|
400
387
|
i(n) {
|
|
401
|
-
a || (
|
|
388
|
+
a || (b(t.$$.fragment, n), a = !0);
|
|
402
389
|
},
|
|
403
390
|
o(n) {
|
|
404
|
-
|
|
391
|
+
P(t.$$.fragment, n), a = !1;
|
|
405
392
|
},
|
|
406
393
|
d(n) {
|
|
407
|
-
o[
|
|
394
|
+
o[38](null), te(t, n);
|
|
408
395
|
}
|
|
409
396
|
}
|
|
410
397
|
);
|
|
411
398
|
}
|
|
412
|
-
function
|
|
413
|
-
let
|
|
399
|
+
function Ve(o) {
|
|
400
|
+
let t;
|
|
414
401
|
return {
|
|
415
402
|
c() {
|
|
416
|
-
|
|
403
|
+
t = x("div"), _(t, "data-info", "tag content is disable");
|
|
417
404
|
},
|
|
418
405
|
m(i, a) {
|
|
419
|
-
|
|
406
|
+
O(i, t, a);
|
|
420
407
|
},
|
|
421
|
-
p:
|
|
422
|
-
i:
|
|
423
|
-
o:
|
|
408
|
+
p: U,
|
|
409
|
+
i: U,
|
|
410
|
+
o: U,
|
|
424
411
|
d(i) {
|
|
425
|
-
i &&
|
|
412
|
+
i && V(t);
|
|
426
413
|
}
|
|
427
414
|
};
|
|
428
415
|
}
|
|
429
|
-
function
|
|
430
|
-
let
|
|
431
|
-
return
|
|
416
|
+
function qe(o) {
|
|
417
|
+
let t, i;
|
|
418
|
+
return t = new Le({
|
|
432
419
|
props: {
|
|
433
420
|
mediaStore: (
|
|
434
421
|
/*mediaStore*/
|
|
435
422
|
o[1]
|
|
436
423
|
),
|
|
437
|
-
tag:
|
|
424
|
+
tag: le(
|
|
438
425
|
/*tag*/
|
|
439
426
|
o[0]
|
|
440
427
|
),
|
|
@@ -461,44 +448,44 @@ function Ze(o) {
|
|
|
461
448
|
}
|
|
462
449
|
}), {
|
|
463
450
|
c() {
|
|
464
|
-
|
|
451
|
+
$(t.$$.fragment);
|
|
465
452
|
},
|
|
466
|
-
m(a,
|
|
467
|
-
|
|
453
|
+
m(a, l) {
|
|
454
|
+
ee(t, a, l), i = !0;
|
|
468
455
|
},
|
|
469
|
-
p(a,
|
|
456
|
+
p(a, l) {
|
|
470
457
|
const r = {};
|
|
471
|
-
|
|
458
|
+
l[0] & /*mediaStore*/
|
|
472
459
|
2 && (r.mediaStore = /*mediaStore*/
|
|
473
|
-
a[1]),
|
|
474
|
-
1 && (r.tag =
|
|
460
|
+
a[1]), l[0] & /*tag*/
|
|
461
|
+
1 && (r.tag = le(
|
|
475
462
|
/*tag*/
|
|
476
463
|
a[0]
|
|
477
|
-
)),
|
|
464
|
+
)), l[0] & /*state*/
|
|
478
465
|
16 && (r.state = /*state*/
|
|
479
|
-
a[4]),
|
|
466
|
+
a[4]), l[0] & /*temporaryState*/
|
|
480
467
|
32 && (r.temporaryState = /*temporaryState*/
|
|
481
|
-
a[5]),
|
|
468
|
+
a[5]), l[0] & /*rendererMap*/
|
|
482
469
|
4 && (r.rendererMap = /*rendererMap*/
|
|
483
|
-
a[2]),
|
|
470
|
+
a[2]), l[0] & /*contentTypeMap*/
|
|
484
471
|
8 && (r.contentTypeMap = /*contentTypeMap*/
|
|
485
|
-
a[3]),
|
|
472
|
+
a[3]), t.$set(r);
|
|
486
473
|
},
|
|
487
474
|
i(a) {
|
|
488
|
-
i || (
|
|
475
|
+
i || (b(t.$$.fragment, a), i = !0);
|
|
489
476
|
},
|
|
490
477
|
o(a) {
|
|
491
|
-
|
|
478
|
+
P(t.$$.fragment, a), i = !1;
|
|
492
479
|
},
|
|
493
480
|
d(a) {
|
|
494
|
-
|
|
481
|
+
te(t, a);
|
|
495
482
|
}
|
|
496
483
|
};
|
|
497
484
|
}
|
|
498
|
-
function
|
|
485
|
+
function fe(o) {
|
|
499
486
|
var a;
|
|
500
|
-
let
|
|
501
|
-
return
|
|
487
|
+
let t, i;
|
|
488
|
+
return t = new Re({
|
|
502
489
|
props: {
|
|
503
490
|
tag: (
|
|
504
491
|
/*tag*/
|
|
@@ -527,7 +514,7 @@ function ae(o) {
|
|
|
527
514
|
visible: !0,
|
|
528
515
|
closePopover: (
|
|
529
516
|
/*closePopover*/
|
|
530
|
-
o[
|
|
517
|
+
o[34]
|
|
531
518
|
),
|
|
532
519
|
audioInstance: (
|
|
533
520
|
/*audioInstance*/
|
|
@@ -546,266 +533,276 @@ function ae(o) {
|
|
|
546
533
|
o[17]
|
|
547
534
|
)
|
|
548
535
|
}
|
|
549
|
-
}),
|
|
536
|
+
}), t.$on(
|
|
550
537
|
"mouseenter",
|
|
551
538
|
/*handlePopoverMouseEnter*/
|
|
552
|
-
o[
|
|
553
|
-
),
|
|
539
|
+
o[29]
|
|
540
|
+
), t.$on(
|
|
554
541
|
"mouseleave",
|
|
555
542
|
/*handlePopoverMouseLeave*/
|
|
556
|
-
o[
|
|
557
|
-
),
|
|
543
|
+
o[30]
|
|
544
|
+
), t.$on(
|
|
558
545
|
"close",
|
|
559
546
|
/*closePopover*/
|
|
560
|
-
o[
|
|
547
|
+
o[34]
|
|
561
548
|
), {
|
|
562
549
|
c() {
|
|
563
|
-
|
|
550
|
+
$(t.$$.fragment);
|
|
564
551
|
},
|
|
565
|
-
m(
|
|
566
|
-
|
|
552
|
+
m(l, r) {
|
|
553
|
+
ee(t, l, r), i = !0;
|
|
567
554
|
},
|
|
568
|
-
p(
|
|
555
|
+
p(l, r) {
|
|
569
556
|
var u;
|
|
570
557
|
const n = {};
|
|
571
558
|
r[0] & /*tag*/
|
|
572
559
|
1 && (n.tag = /*tag*/
|
|
573
|
-
|
|
560
|
+
l[0]), r[0] & /*tag*/
|
|
574
561
|
1 && (n.config = /*tag*/
|
|
575
|
-
|
|
562
|
+
l[0].config.popoverConfig), r[0] & /*tag*/
|
|
576
563
|
1 && (n.theme = /*tag*/
|
|
577
|
-
(u =
|
|
564
|
+
(u = l[0].config.popoverConfig) == null ? void 0 : u.theme), r[0] & /*wrapperElement*/
|
|
578
565
|
64 && (n.wrapperElement = /*wrapperElement*/
|
|
579
|
-
|
|
566
|
+
l[6]), r[0] & /*tagPointClickHelper*/
|
|
580
567
|
4096 && (n.triggerElement = /*tagPointClickHelper*/
|
|
581
|
-
|
|
568
|
+
l[12]), r[0] & /*popoverContainer*/
|
|
582
569
|
128 && (n.popoverContainer = /*popoverContainer*/
|
|
583
|
-
|
|
570
|
+
l[7]), r[0] & /*audioInstance*/
|
|
584
571
|
16384 && (n.audioInstance = /*audioInstance*/
|
|
585
|
-
|
|
572
|
+
l[14]), r[0] & /*audioPlaying*/
|
|
586
573
|
32768 && (n.audioPlaying = /*audioPlaying*/
|
|
587
|
-
|
|
574
|
+
l[15]), r[0] & /*audioCurrentTime*/
|
|
588
575
|
65536 && (n.audioCurrentTime = /*audioCurrentTime*/
|
|
589
|
-
|
|
576
|
+
l[16]), r[0] & /*audioDuration*/
|
|
590
577
|
131072 && (n.audioDuration = /*audioDuration*/
|
|
591
|
-
|
|
578
|
+
l[17]), t.$set(n);
|
|
592
579
|
},
|
|
593
|
-
i(
|
|
594
|
-
i || (
|
|
580
|
+
i(l) {
|
|
581
|
+
i || (b(t.$$.fragment, l), i = !0);
|
|
595
582
|
},
|
|
596
|
-
o(
|
|
597
|
-
|
|
583
|
+
o(l) {
|
|
584
|
+
P(t.$$.fragment, l), i = !1;
|
|
598
585
|
},
|
|
599
|
-
d(
|
|
600
|
-
|
|
586
|
+
d(l) {
|
|
587
|
+
te(t, l);
|
|
601
588
|
}
|
|
602
589
|
};
|
|
603
590
|
}
|
|
604
|
-
function
|
|
591
|
+
function Fe(o) {
|
|
605
592
|
var u;
|
|
606
|
-
let
|
|
593
|
+
let t, i = (
|
|
607
594
|
/*tag*/
|
|
608
595
|
o[0].isPopoverConfigEnabled() && /*hasPopoverContent*/
|
|
609
596
|
o[24] && /*isHovering*/
|
|
610
597
|
(o[11] || /*tag*/
|
|
611
598
|
((u = o[0].config.popoverConfig) == null ? void 0 : u.debug))
|
|
612
|
-
), a,
|
|
599
|
+
), a, l, r = (
|
|
613
600
|
/*screenPosition*/
|
|
614
601
|
o[9] && (!/*disable*/
|
|
615
602
|
o[22] || /*isHovering*/
|
|
616
|
-
o[11]) &&
|
|
617
|
-
), n = i &&
|
|
603
|
+
o[11]) && me(o)
|
|
604
|
+
), n = i && fe(o);
|
|
618
605
|
return {
|
|
619
606
|
c() {
|
|
620
|
-
r && r.c(),
|
|
607
|
+
r && r.c(), t = ue(), n && n.c(), a = De();
|
|
621
608
|
},
|
|
622
|
-
m(
|
|
623
|
-
r && r.m(
|
|
609
|
+
m(m, g) {
|
|
610
|
+
r && r.m(m, g), O(m, t, g), n && n.m(m, g), O(m, a, g), l = !0;
|
|
624
611
|
},
|
|
625
|
-
p(
|
|
612
|
+
p(m, g) {
|
|
626
613
|
var d;
|
|
627
614
|
/*screenPosition*/
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
4196864 &&
|
|
615
|
+
m[9] && (!/*disable*/
|
|
616
|
+
m[22] || /*isHovering*/
|
|
617
|
+
m[11]) ? r ? (r.p(m, g), g[0] & /*screenPosition, disable, isHovering*/
|
|
618
|
+
4196864 && b(r, 1)) : (r = me(m), r.c(), b(r, 1), r.m(t.parentNode, t)) : r && (G(), P(r, 1, 1, () => {
|
|
632
619
|
r = null;
|
|
633
|
-
}),
|
|
620
|
+
}), B()), g[0] & /*tag, hasPopoverContent, isHovering*/
|
|
634
621
|
16779265 && (i = /*tag*/
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
(
|
|
638
|
-
((d =
|
|
639
|
-
16779265 &&
|
|
622
|
+
m[0].isPopoverConfigEnabled() && /*hasPopoverContent*/
|
|
623
|
+
m[24] && /*isHovering*/
|
|
624
|
+
(m[11] || /*tag*/
|
|
625
|
+
((d = m[0].config.popoverConfig) == null ? void 0 : d.debug))), i ? n ? (n.p(m, g), g[0] & /*tag, hasPopoverContent, isHovering*/
|
|
626
|
+
16779265 && b(n, 1)) : (n = fe(m), n.c(), b(n, 1), n.m(a.parentNode, a)) : n && (G(), P(n, 1, 1, () => {
|
|
640
627
|
n = null;
|
|
641
|
-
}),
|
|
628
|
+
}), B());
|
|
642
629
|
},
|
|
643
|
-
i(
|
|
644
|
-
|
|
630
|
+
i(m) {
|
|
631
|
+
l || (b(r), b(n), l = !0);
|
|
645
632
|
},
|
|
646
|
-
o(
|
|
647
|
-
|
|
633
|
+
o(m) {
|
|
634
|
+
P(r), P(n), l = !1;
|
|
648
635
|
},
|
|
649
|
-
d(
|
|
650
|
-
r && r.d(
|
|
636
|
+
d(m) {
|
|
637
|
+
r && r.d(m), m && V(t), n && n.d(m), m && V(a);
|
|
651
638
|
}
|
|
652
639
|
};
|
|
653
640
|
}
|
|
654
|
-
function
|
|
655
|
-
let a,
|
|
656
|
-
const
|
|
657
|
-
|
|
658
|
-
|
|
641
|
+
function je(o, t, i) {
|
|
642
|
+
let a, l, r, n, u, m, g, d, L, v, z, D, { tag: e } = t, { mediaStore: A } = t, { rendererMap: f = /* @__PURE__ */ new Map() } = t, { contentTypeMap: s = /* @__PURE__ */ new Map() } = t, { state: S } = t, { temporaryState: w } = t, { wrapperElement: oe = null } = t, { popoverContainer: ie = null } = t;
|
|
643
|
+
const se = pe("hooks"), R = pe("pinnedTagId");
|
|
644
|
+
Ie(o, R, (p) => i(36, D = p));
|
|
645
|
+
let c = !1, E = !1, M, y, J = null, K = !1, Q = !1, W = null, X = null, q = !1, re = 0, ne = 0;
|
|
646
|
+
const de = {
|
|
659
647
|
audioInstanceReady: (p) => {
|
|
660
|
-
i(14,
|
|
648
|
+
i(14, X = p.detail), i(15, q = !X.paused);
|
|
661
649
|
},
|
|
662
650
|
audioPlay: () => {
|
|
663
|
-
i(15,
|
|
651
|
+
i(15, q = !0);
|
|
664
652
|
},
|
|
665
653
|
audioPause: () => {
|
|
666
|
-
i(15,
|
|
654
|
+
i(15, q = !1);
|
|
667
655
|
},
|
|
668
656
|
audioTimeUpdate: (p) => {
|
|
669
|
-
i(16,
|
|
657
|
+
i(16, re = p.detail);
|
|
670
658
|
},
|
|
671
659
|
audioDuration: (p) => {
|
|
672
|
-
i(17,
|
|
660
|
+
i(17, ne = p.detail);
|
|
673
661
|
}
|
|
674
662
|
};
|
|
675
|
-
let
|
|
676
|
-
const
|
|
677
|
-
if (
|
|
678
|
-
|
|
663
|
+
let I = !1;
|
|
664
|
+
const F = (p) => {
|
|
665
|
+
if (y && clearTimeout(y), p === !0 && !I) {
|
|
666
|
+
I = !0, i(11, c = !0);
|
|
679
667
|
return;
|
|
680
668
|
}
|
|
681
|
-
|
|
669
|
+
y = setTimeout(
|
|
682
670
|
() => {
|
|
683
|
-
var
|
|
684
|
-
!
|
|
671
|
+
var T;
|
|
672
|
+
!K && !Q && !((T = e.config.popoverConfig) != null && T.debug) && !E && (I = !1, i(11, c = !1));
|
|
685
673
|
},
|
|
686
674
|
300
|
|
687
675
|
);
|
|
688
|
-
},
|
|
689
|
-
|
|
690
|
-
},
|
|
691
|
-
|
|
692
|
-
},
|
|
693
|
-
var
|
|
676
|
+
}, ge = () => {
|
|
677
|
+
K = !0, y && clearTimeout(y);
|
|
678
|
+
}, ce = () => {
|
|
679
|
+
K = !1, F(!1);
|
|
680
|
+
}, _e = (p) => {
|
|
681
|
+
var k, C, h, Z, N, ae;
|
|
694
682
|
if (p.pointerType !== "mouse")
|
|
695
683
|
return;
|
|
696
|
-
|
|
697
|
-
const
|
|
698
|
-
if (
|
|
699
|
-
if (
|
|
684
|
+
Q = !0;
|
|
685
|
+
const T = (C = (k = e.currentConfig) == null ? void 0 : k.popoverConfig) == null ? void 0 : C.trigger;
|
|
686
|
+
if (e.isPopoverConfigEnabled() && e.isHoverEnabled() && T === "hover") {
|
|
687
|
+
if (y && clearTimeout(y), M !== void 0)
|
|
700
688
|
return;
|
|
701
|
-
((
|
|
689
|
+
((Z = (h = e.currentConfig) == null ? void 0 : h.popoverConfig) == null ? void 0 : Z.triggerDelay) > 0 ? M = setTimeout(
|
|
702
690
|
() => {
|
|
703
|
-
|
|
691
|
+
F(!0), e.hooks.emit("hover", { event: p, tag: e }), M = void 0;
|
|
704
692
|
},
|
|
705
|
-
(
|
|
706
|
-
) : (
|
|
693
|
+
(ae = (N = e.currentConfig) == null ? void 0 : N.popoverConfig) == null ? void 0 : ae.triggerDelay
|
|
694
|
+
) : (F(!0), e.hooks.emit("hover", { event: p, tag: e }));
|
|
707
695
|
}
|
|
708
|
-
},
|
|
709
|
-
var
|
|
696
|
+
}, be = (p) => {
|
|
697
|
+
var k, C;
|
|
710
698
|
if (p.pointerType !== "mouse")
|
|
711
699
|
return;
|
|
712
|
-
|
|
713
|
-
const
|
|
714
|
-
|
|
715
|
-
},
|
|
716
|
-
var
|
|
717
|
-
const
|
|
718
|
-
|
|
700
|
+
Q = !1;
|
|
701
|
+
const T = (C = (k = e.currentConfig) == null ? void 0 : k.popoverConfig) == null ? void 0 : C.trigger;
|
|
702
|
+
e.isHoverEnabled() && e.isPopoverConfigEnabled() && T === "hover" && (M !== void 0 && (clearTimeout(M), M = void 0), F(!1));
|
|
703
|
+
}, Te = (p) => {
|
|
704
|
+
var C, h;
|
|
705
|
+
const T = e.contentType === "Audio" && e.data.appearance === "plane", k = (h = (C = e.currentConfig) == null ? void 0 : C.popoverConfig) == null ? void 0 : h.trigger;
|
|
706
|
+
if (e.isPopoverConfigEnabled() && e.isHoverEnabled() && k === "hover" && !T) {
|
|
707
|
+
c && E ? (i(35, E = !1), I = !1, i(11, c = !1), R.set(null)) : (i(35, E = !0), R.set(e.id), c || (i(11, c = !0), I = !0, e.hooks.emit("hover", { event: p, tag: e })));
|
|
708
|
+
return;
|
|
709
|
+
}
|
|
710
|
+
e.isPopoverConfigEnabled() && e.isHoverEnabled() && k === "click" && (T ? c || (i(11, c = !0), e.hooks.emit("hover", { event: p, tag: e })) : (i(11, c = !c), c && e.hooks.emit("hover", { event: p, tag: e })));
|
|
719
711
|
};
|
|
720
|
-
function
|
|
721
|
-
|
|
712
|
+
function ve() {
|
|
713
|
+
i(35, E = !1), I = !1, i(11, c = !1), R.set(null);
|
|
722
714
|
}
|
|
723
|
-
|
|
724
|
-
M && clearTimeout(M),
|
|
715
|
+
Se(() => () => {
|
|
716
|
+
M && clearTimeout(M), y && clearTimeout(y);
|
|
725
717
|
});
|
|
726
|
-
function
|
|
727
|
-
|
|
718
|
+
function ke(p) {
|
|
719
|
+
J = p, i(12, J);
|
|
728
720
|
}
|
|
729
|
-
function
|
|
730
|
-
|
|
731
|
-
|
|
721
|
+
function Ce(p) {
|
|
722
|
+
Y[p ? "unshift" : "push"](() => {
|
|
723
|
+
W = p, i(13, W);
|
|
732
724
|
});
|
|
733
725
|
}
|
|
734
|
-
function
|
|
735
|
-
|
|
736
|
-
|
|
726
|
+
function he(p) {
|
|
727
|
+
Y[p ? "unshift" : "push"](() => {
|
|
728
|
+
e.dom = p, i(0, e);
|
|
737
729
|
});
|
|
738
730
|
}
|
|
739
731
|
return o.$$set = (p) => {
|
|
740
|
-
"tag" in p && i(0,
|
|
732
|
+
"tag" in p && i(0, e = p.tag), "mediaStore" in p && i(1, A = p.mediaStore), "rendererMap" in p && i(2, f = p.rendererMap), "contentTypeMap" in p && i(3, s = p.contentTypeMap), "state" in p && i(4, S = p.state), "temporaryState" in p && i(5, w = p.temporaryState), "wrapperElement" in p && i(6, oe = p.wrapperElement), "popoverContainer" in p && i(7, ie = p.popoverContainer);
|
|
741
733
|
}, o.$$.update = () => {
|
|
742
|
-
var p,
|
|
734
|
+
var p, T, k, C;
|
|
743
735
|
o.$$.dirty[0] & /*tag, rendererMap*/
|
|
744
736
|
5 && i(10, a = (() => {
|
|
745
|
-
var
|
|
746
|
-
return ((
|
|
737
|
+
var h, Z, N;
|
|
738
|
+
return ((Z = (h = e.style) == null ? void 0 : h.point) == null ? void 0 : Z.enabled) === !1 || ((N = f.get(e.contentType)) == null ? void 0 : N.usePoint) === !1 || e.contentType === "Sticker" || e.contentType === "Link" || e.contentType === "VRLink" || e.contentType === "PanoLink" ? !1 : e.contentType === "Panorama" ? !0 : e.contentType === "Audio" && e.data.appearance === "plane" ? e.isPopoverConfigEnabled() : !(e.stickType && e.stickType !== "2DPoint" && e.stickType !== "3DPoint");
|
|
747
739
|
})()), o.$$.dirty[0] & /*tag, havePoint*/
|
|
748
|
-
1025 && i(25,
|
|
740
|
+
1025 && i(25, l = (() => !(e.isPopoverConfigEnabled() && e.contentType === "Panorama" || e.isPopoverConfigEnabled() && e.contentType === "ImageText" || e.isPopoverConfigEnabled() && e.contentType === "Image" || e.isPopoverConfigEnabled() && e.contentType === "Video" || e.isPopoverConfigEnabled() && e.contentType === "Text" || e.isPopoverConfigEnabled() && e.contentType === "Audio" || e.stickType && e.stickType !== "2DPoint" && e.stickType !== "3DPoint" || e.entryFromModel && Ae(e.five.state.mode) && a))()), o.$$.dirty[0] & /*tag*/
|
|
749
741
|
1 && i(24, r = (() => {
|
|
750
|
-
var
|
|
751
|
-
return
|
|
742
|
+
var h;
|
|
743
|
+
return e.contentType === "Marketing" ? !!(e.data.title || e.data.name || e.data.description || e.data.tooltip || (h = e.data.price) != null && h.value || e.data.brandTags && e.data.brandTags.length > 0 || e.data.tags && e.data.tags.length > 0 || e.data.imageUrl || e.data.mediaUrl || e.data.mediaData && e.data.mediaData.length > 0) : !!(e.data.title || e.data.name || e.data.text || e.data.description || e.data.tooltip || e.data.imageUrl || e.data.mediaUrl || e.data.audioUrl || e.data.mediaData && e.data.mediaData.length > 0);
|
|
752
744
|
})()), o.$$.dirty[0] & /*tag*/
|
|
753
|
-
1 && i(23, n =
|
|
754
|
-
1 && i(9, u =
|
|
755
|
-
1 && i(22,
|
|
756
|
-
513 && i(21, g = !((p =
|
|
757
|
-
1 && i(8, d = ((
|
|
758
|
-
512 && i(20,
|
|
759
|
-
512 && i(19,
|
|
760
|
-
257 && i(18,
|
|
745
|
+
1 && i(23, n = e.id), o.$$.dirty[0] & /*tag*/
|
|
746
|
+
1 && i(9, u = e.screenPosition), o.$$.dirty[0] & /*tag*/
|
|
747
|
+
1 && i(22, m = e.enabled === !1 || !e.state), o.$$.dirty[0] & /*tag, screenPosition*/
|
|
748
|
+
513 && i(21, g = !((p = e.state) != null && p.visible) || ((T = e.temporaryState) == null ? void 0 : T.visible) === !1 || !u), o.$$.dirty[0] & /*tag*/
|
|
749
|
+
1 && i(8, d = ((k = e.state) == null ? void 0 : k.unfolded) && !e.isPopoverConfigEnabled()), o.$$.dirty[0] & /*screenPosition*/
|
|
750
|
+
512 && i(20, L = (u == null ? void 0 : u.leftPx) + "px"), o.$$.dirty[0] & /*screenPosition*/
|
|
751
|
+
512 && i(19, v = (u == null ? void 0 : u.topPx) + "px"), o.$$.dirty[0] & /*unfolded, tag*/
|
|
752
|
+
257 && i(18, z = d ? ((C = e.zIndex) != null ? C : 0) + (d ? 1e6 : 0) : void 0), o.$$.dirty[0] & /*tag*/
|
|
753
|
+
1 | o.$$.dirty[1] & /*$pinnedTagId, isPinned*/
|
|
754
|
+
48 && D !== null && D !== e.id && E && (i(35, E = !1), I = !1, i(11, c = !1));
|
|
761
755
|
}, [
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
D,
|
|
756
|
+
e,
|
|
757
|
+
A,
|
|
765
758
|
f,
|
|
766
759
|
s,
|
|
767
760
|
S,
|
|
768
761
|
w,
|
|
769
|
-
|
|
762
|
+
oe,
|
|
763
|
+
ie,
|
|
770
764
|
d,
|
|
771
765
|
u,
|
|
772
766
|
a,
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
767
|
+
c,
|
|
768
|
+
J,
|
|
769
|
+
W,
|
|
770
|
+
X,
|
|
771
|
+
q,
|
|
772
|
+
re,
|
|
773
|
+
ne,
|
|
774
|
+
z,
|
|
775
|
+
v,
|
|
780
776
|
L,
|
|
781
|
-
b,
|
|
782
|
-
U,
|
|
783
777
|
g,
|
|
784
|
-
|
|
778
|
+
m,
|
|
785
779
|
n,
|
|
786
780
|
r,
|
|
787
|
-
|
|
788
|
-
me,
|
|
789
|
-
le,
|
|
790
|
-
fe,
|
|
791
|
-
ue,
|
|
781
|
+
l,
|
|
792
782
|
se,
|
|
783
|
+
R,
|
|
793
784
|
de,
|
|
794
785
|
ge,
|
|
795
786
|
ce,
|
|
796
787
|
_e,
|
|
797
788
|
be,
|
|
798
|
-
|
|
789
|
+
Te,
|
|
790
|
+
ve,
|
|
791
|
+
E,
|
|
792
|
+
D,
|
|
793
|
+
ke,
|
|
794
|
+
Ce,
|
|
795
|
+
he
|
|
799
796
|
];
|
|
800
797
|
}
|
|
801
|
-
class
|
|
802
|
-
constructor(
|
|
803
|
-
super(),
|
|
798
|
+
class pr extends Pe {
|
|
799
|
+
constructor(t) {
|
|
800
|
+
super(), ye(
|
|
804
801
|
this,
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
802
|
+
t,
|
|
803
|
+
je,
|
|
804
|
+
Fe,
|
|
805
|
+
Ee,
|
|
809
806
|
{
|
|
810
807
|
tag: 0,
|
|
811
808
|
mediaStore: 1,
|
|
@@ -816,11 +813,11 @@ class _r extends ke {
|
|
|
816
813
|
wrapperElement: 6,
|
|
817
814
|
popoverContainer: 7
|
|
818
815
|
},
|
|
819
|
-
|
|
816
|
+
Ze,
|
|
820
817
|
[-1, -1]
|
|
821
818
|
);
|
|
822
819
|
}
|
|
823
820
|
}
|
|
824
821
|
export {
|
|
825
|
-
|
|
822
|
+
pr as default
|
|
826
823
|
};
|