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