@realsee/dnalogel 3.78.1-alpha.0 → 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.
Files changed (61) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +10 -8
  3. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +2 -3
  4. package/dist/index.cjs.js +96 -101
  5. package/dist/index.js +14483 -16495
  6. package/dist/index.umd.js +89 -94
  7. package/libs/CruisePlugin/Move.js +14 -27
  8. package/libs/CruisePlugin/Work.js +61 -74
  9. package/libs/CruisePlugin/index.js +18 -31
  10. package/libs/GuideLinePlugin/Controller.js +18 -31
  11. package/libs/GuideLinePlugin/GuideLineItem.js +16 -29
  12. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +51 -48
  13. package/libs/GuideLinePlugin/GuideLineModeItem.js +16 -27
  14. package/libs/GuideLinePlugin/index.js +18 -31
  15. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +1 -1
  16. package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +87 -77
  17. package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +189 -135
  18. package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopup.js +460 -432
  19. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +38 -126
  20. package/libs/PanoTagPlugin/Components/Tag/index.js +292 -393
  21. package/libs/PanoTagPlugin/Components/TagContainer.js +125 -135
  22. package/libs/PanoTagPlugin/Components/TagItem.js +275 -281
  23. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +61 -74
  24. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +95 -108
  25. package/libs/PanoTagPlugin/controller/index.js +41 -54
  26. package/libs/PanoTagPlugin/index.js +23 -36
  27. package/libs/PanoTagPlugin/tag.config.js +31 -1
  28. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +10 -8
  29. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +2 -3
  30. package/libs/base/BasePlugin.js +1 -1
  31. package/libs/index.js +169 -182
  32. package/libs/shared-utils/logger.js +1 -1
  33. package/libs/shared-utils/url/replace-static-prefix.js +12 -7
  34. package/libs/vendor/svelte/internal/index.js +235 -225
  35. package/package.json +2 -2
  36. package/dist/PanoTagPlugin/Components/Common/Arrow.svelte.d.ts +0 -1
  37. package/dist/PanoTagPlugin/Components/Common/Line/Polyline.svelte.d.ts +0 -1
  38. package/dist/PanoTagPlugin/Components/Common/Line/Straight.svelte.d.ts +0 -1
  39. package/dist/PanoTagPlugin/Components/Common/Text/FlyMText.svelte.d.ts +0 -1
  40. package/dist/PanoTagPlugin/Components/Common/Text/FlyText.svelte.d.ts +0 -1
  41. package/dist/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.svelte.d.ts +0 -1
  42. package/dist/PanoTagPlugin/Components/Tag/ImageTextTag.svelte.d.ts +0 -1
  43. package/dist/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.svelte.d.ts +0 -1
  44. package/dist/PanoTagPlugin/Components/Tag/TextTag/TextTag.svelte.d.ts +0 -1
  45. package/dist/PanoTagPlugin/Components/Tag/TextTag/index.svelte.d.ts +0 -1
  46. package/dist/PanoTagPlugin/utils/constants.d.ts +0 -3
  47. package/dist/PanoTagPlugin/utils/doUtil.d.ts +0 -1
  48. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +0 -198
  49. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.svelte.d.ts +0 -1
  50. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +0 -258
  51. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.svelte.d.ts +0 -1
  52. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +0 -358
  53. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.svelte.d.ts +0 -1
  54. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +0 -259
  55. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.svelte.d.ts +0 -1
  56. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +0 -216
  57. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.svelte.d.ts +0 -1
  58. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +0 -219
  59. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.svelte.d.ts +0 -1
  60. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +0 -134
  61. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.svelte.d.ts +0 -1
@@ -1,358 +0,0 @@
1
- import { SvelteComponent as J, init as K, safe_not_equal as P, append_styles as Q, empty as V, insert as D, transition_in as h, transition_out as c, check_outros as E, detach as S, element as b, create_component as k, space as C, attr as w, set_style as X, toggle_class as q, mount_component as y, append as v, listen as F, action_destroyer as Y, group_outros as G, destroy_component as R, run_all as Z, add_render_callback as x, create_in_transition as ee, create_out_transition as te, bubble as ie } from "../../../../vendor/svelte/internal/index.js";
2
- import { cubicInOut as L } from "../../../../vendor/svelte/easing/index.js";
3
- import { fade as N } from "../../../../vendor/svelte/transition/index.js";
4
- import ne from "../../Common/Audio.js";
5
- import oe from "../../Common/Line/Straight.js";
6
- import H from "../../Common/Shadow.js";
7
- import re from "../../Common/Text/FlyMText.js";
8
- import le from "../../Common/Icon/audioIcon.js";
9
- import { svelteResizeObserver as ae } from "../../../../shared-utils/svelte/resizeObserver.js";
10
- import "../../../utils/audio/SharedAudio.js";
11
- import "../../../../shared-utils/audio.js";
12
- import "../../../utils/audio/AudioDiagnostics.js";
13
- import "../../../../shared-utils/uuid.js";
14
- import "../../Common/Text/FlyText.js";
15
- import "../../../../vendor/animejs/lib/anime.es.js";
16
- import "../../../../shared-utils/isNil.js";
17
- import "three";
18
- import "../../../utils/search.js";
19
- import "../../../utils/constants.js";
20
- import "../../Common/Arrow.js";
21
- import "../../../Assets/Icon.js";
22
- import "../../../utils/doUtil.js";
23
- import "../../../utils/px2rem.js";
24
- import "../../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
25
- function se(e) {
26
- Q(e, "svelte-1s6gk4a", ".audio-tag.svelte-1s6gk4a{position:absolute;left:0;top:0;width:0;height:0;overflow:visible}.audio-icon__wrapper.svelte-1s6gk4a{position:relative;vertical-align:top;width:100%;height:100%}.content.svelte-1s6gk4a{width:-moz-max-content;width:max-content;height:3.375rem;padding:2.25rem 0.25rem 0 1rem;position:absolute;left:0;bottom:0.125rem;overflow:hidden;box-sizing:border-box;font-size:0;white-space:nowrap;font-weight:600}.wrapper.svelte-1s6gk4a{position:relative;width:100%;height:100%}.audio-icon.svelte-1s6gk4a{pointer-events:none;vertical-align:top;display:inline-block;width:1rem;height:1rem;margin-right:0.25rem;margin-top:0.0625rem}.audio.svelte-1s6gk4a{position:relative;width:100%;height:100%}");
27
- }
28
- function j(e) {
29
- var g, z;
30
- let i, n, o, t, a, f, d, l, s, p, _, $, U, I;
31
- n = new H({
32
- props: {
33
- visible: (
34
- /*unfolded*/
35
- e[6]
36
- ),
37
- left: (
38
- /*contentWidth*/
39
- e[3] / 2 + "px"
40
- ),
41
- bottom: 12,
42
- width: 2,
43
- blurRadius: 120,
44
- spreadRadius: 60
45
- }
46
- });
47
- let u = (
48
- /*unfolded*/
49
- e[6] && B(e)
50
- );
51
- return s = new re({
52
- props: {
53
- visible: (
54
- /*unfolded*/
55
- e[6]
56
- ),
57
- textUnfolded: (
58
- /*textUnfolded*/
59
- e[1]
60
- ),
61
- content: (
62
- /*content*/
63
- e[5]
64
- )
65
- }
66
- }), _ = new oe({
67
- props: {
68
- unfolded: (
69
- /*unfolded*/
70
- e[6]
71
- ),
72
- length: (
73
- /*contentWidth*/
74
- e[3]
75
- ),
76
- outDelay: (
77
- /*foldTextDelay*/
78
- e[4] + 20 * Math.min(
79
- /*content*/
80
- (z = (g = e[5]) == null ? void 0 : g.length) != null ? z : 10,
81
- 15
82
- )
83
- ),
84
- useLinearColor: !0
85
- }
86
- }), {
87
- c() {
88
- i = b("div"), k(n.$$.fragment), o = C(), t = b("div"), a = b("div"), f = b("div"), u && u.c(), d = C(), l = b("div"), k(s.$$.fragment), p = C(), k(_.$$.fragment), w(f, "class", "audio-icon svelte-1s6gk4a"), X(l, "display", "inline-block"), w(a, "class", "wrapper svelte-1s6gk4a"), w(t, "class", "content svelte-1s6gk4a"), w(i, "class", "audio-tag svelte-1s6gk4a"), q(
89
- i,
90
- "unfolded",
91
- /*unfolded*/
92
- e[6]
93
- );
94
- },
95
- m(r, m) {
96
- D(r, i, m), y(n, i, null), v(i, o), v(i, t), v(t, a), v(a, f), u && u.m(f, null), v(a, d), v(a, l), y(s, l, null), v(i, p), y(_, i, null), $ = !0, U || (I = [
97
- F(
98
- l,
99
- "click",
100
- /*clickContent*/
101
- e[7]
102
- ),
103
- Y(ae.call(null, l)),
104
- F(
105
- l,
106
- "clientWidth",
107
- /*clientWidth_handler*/
108
- e[12]
109
- )
110
- ], U = !0);
111
- },
112
- p(r, m) {
113
- var W, O;
114
- const T = {};
115
- m & /*unfolded*/
116
- 64 && (T.visible = /*unfolded*/
117
- r[6]), m & /*contentWidth*/
118
- 8 && (T.left = /*contentWidth*/
119
- r[3] / 2 + "px"), n.$set(T), /*unfolded*/
120
- r[6] ? u ? (u.p(r, m), m & /*unfolded*/
121
- 64 && h(u, 1)) : (u = B(r), u.c(), h(u, 1), u.m(f, null)) : u && (G(), c(u, 1, 1, () => {
122
- u = null;
123
- }), E());
124
- const M = {};
125
- m & /*unfolded*/
126
- 64 && (M.visible = /*unfolded*/
127
- r[6]), m & /*textUnfolded*/
128
- 2 && (M.textUnfolded = /*textUnfolded*/
129
- r[1]), m & /*content*/
130
- 32 && (M.content = /*content*/
131
- r[5]), s.$set(M);
132
- const A = {};
133
- m & /*unfolded*/
134
- 64 && (A.unfolded = /*unfolded*/
135
- r[6]), m & /*contentWidth*/
136
- 8 && (A.length = /*contentWidth*/
137
- r[3]), m & /*foldTextDelay, content*/
138
- 48 && (A.outDelay = /*foldTextDelay*/
139
- r[4] + 20 * Math.min(
140
- /*content*/
141
- (O = (W = r[5]) == null ? void 0 : W.length) != null ? O : 10,
142
- 15
143
- )), _.$set(A), (!$ || m & /*unfolded*/
144
- 64) && q(
145
- i,
146
- "unfolded",
147
- /*unfolded*/
148
- r[6]
149
- );
150
- },
151
- i(r) {
152
- $ || (h(n.$$.fragment, r), h(u), h(s.$$.fragment, r), h(_.$$.fragment, r), $ = !0);
153
- },
154
- o(r) {
155
- c(n.$$.fragment, r), c(u), c(s.$$.fragment, r), c(_.$$.fragment, r), $ = !1;
156
- },
157
- d(r) {
158
- r && S(i), R(n), u && u.d(), R(s), R(_), U = !1, Z(I);
159
- }
160
- };
161
- }
162
- function B(e) {
163
- let i, n, o, t, a, f, d;
164
- return n = new H({
165
- props: {
166
- center: !0,
167
- blurRadius: 15,
168
- spreadRadius: 6
169
- }
170
- }), t = new ne({
171
- props: {
172
- enable: (
173
- /*unfolded*/
174
- e[6]
175
- ),
176
- url: (
177
- /*tag*/
178
- e[0].data.audioUrl
179
- ),
180
- hooksInfo: { tag: (
181
- /*tag*/
182
- e[0]
183
- ) },
184
- $$slots: { default: [fe] },
185
- $$scope: { ctx: e }
186
- }
187
- }), t.$on(
188
- "play",
189
- /*play_handler*/
190
- e[8]
191
- ), t.$on(
192
- "pause",
193
- /*pause_handler*/
194
- e[9]
195
- ), t.$on(
196
- "error",
197
- /*error_handler*/
198
- e[10]
199
- ), t.$on(
200
- "audioRef",
201
- /*audioRef_handler*/
202
- e[11]
203
- ), {
204
- c() {
205
- i = b("div"), k(n.$$.fragment), o = C(), k(t.$$.fragment), w(i, "class", "audio svelte-1s6gk4a");
206
- },
207
- m(l, s) {
208
- D(l, i, s), y(n, i, null), v(i, o), y(t, i, null), d = !0;
209
- },
210
- p(l, s) {
211
- e = l;
212
- const p = {};
213
- s & /*unfolded*/
214
- 64 && (p.enable = /*unfolded*/
215
- e[6]), s & /*tag*/
216
- 1 && (p.url = /*tag*/
217
- e[0].data.audioUrl), s & /*tag*/
218
- 1 && (p.hooksInfo = { tag: (
219
- /*tag*/
220
- e[0]
221
- ) }), s & /*$$scope, playing*/
222
- 8196 && (p.$$scope = { dirty: s, ctx: e }), t.$set(p);
223
- },
224
- i(l) {
225
- d || (h(n.$$.fragment, l), h(t.$$.fragment, l), l && x(() => {
226
- d && (f && f.end(1), a = ee(i, N, {
227
- duration: 1e3,
228
- delay: 0,
229
- easing: L
230
- }), a.start());
231
- }), d = !0);
232
- },
233
- o(l) {
234
- var s, p;
235
- c(n.$$.fragment, l), c(t.$$.fragment, l), a && a.invalidate(), l && (f = te(i, N, {
236
- duration: 1e3,
237
- delay: 20 * Math.min(
238
- /*content*/
239
- (p = (s = e[5]) == null ? void 0 : s.length) != null ? p : 10,
240
- 15
241
- ),
242
- easing: L
243
- })), d = !1;
244
- },
245
- d(l) {
246
- l && S(i), R(n), R(t), l && f && f.end();
247
- }
248
- };
249
- }
250
- function fe(e) {
251
- let i, n, o;
252
- return n = new le({ props: { playing: (
253
- /*playing*/
254
- e[2]
255
- ) } }), {
256
- c() {
257
- i = b("div"), k(n.$$.fragment), w(i, "class", "audio-icon__wrapper svelte-1s6gk4a");
258
- },
259
- m(t, a) {
260
- D(t, i, a), y(n, i, null), o = !0;
261
- },
262
- p(t, a) {
263
- const f = {};
264
- a & /*playing*/
265
- 4 && (f.playing = /*playing*/
266
- t[2]), n.$set(f);
267
- },
268
- i(t) {
269
- o || (h(n.$$.fragment, t), o = !0);
270
- },
271
- o(t) {
272
- c(n.$$.fragment, t), o = !1;
273
- },
274
- d(t) {
275
- t && S(i), R(n);
276
- }
277
- };
278
- }
279
- function ue(e) {
280
- let i, n, o = (
281
- /*tag*/
282
- e[0].state && j(e)
283
- );
284
- return {
285
- c() {
286
- o && o.c(), i = V();
287
- },
288
- m(t, a) {
289
- o && o.m(t, a), D(t, i, a), n = !0;
290
- },
291
- p(t, [a]) {
292
- /*tag*/
293
- t[0].state ? o ? (o.p(t, a), a & /*tag*/
294
- 1 && h(o, 1)) : (o = j(t), o.c(), h(o, 1), o.m(i.parentNode, i)) : o && (G(), c(o, 1, 1, () => {
295
- o = null;
296
- }), E());
297
- },
298
- i(t) {
299
- n || (h(o), n = !0);
300
- },
301
- o(t) {
302
- c(o), n = !1;
303
- },
304
- d(t) {
305
- o && o.d(t), t && S(i);
306
- }
307
- };
308
- }
309
- function de(e, i, n) {
310
- let o, t, a, { tag: f } = i, d = !1, l = !1, s;
311
- function p() {
312
- n(1, d = !d);
313
- }
314
- const _ = () => {
315
- n(2, l = !0);
316
- }, $ = () => {
317
- n(2, l = !1);
318
- }, U = () => {
319
- n(2, l = !1);
320
- };
321
- function I(g) {
322
- ie.call(this, e, g);
323
- }
324
- const u = (g) => {
325
- n(3, s = g.detail);
326
- };
327
- return e.$$set = (g) => {
328
- "tag" in g && n(0, f = g.tag);
329
- }, e.$$.update = () => {
330
- var g, z, r;
331
- e.$$.dirty & /*tag*/
332
- 1 && n(6, o = !!((g = f.state) != null && g.unfolded)), e.$$.dirty & /*tag*/
333
- 1 && n(5, t = (r = (z = f.data.title) != null ? z : f.data.text) != null ? r : ""), e.$$.dirty & /*textUnfolded*/
334
- 2 && n(4, a = d ? 450 : 0);
335
- }, [
336
- f,
337
- d,
338
- l,
339
- s,
340
- a,
341
- t,
342
- o,
343
- p,
344
- _,
345
- $,
346
- U,
347
- I,
348
- u
349
- ];
350
- }
351
- class qe extends J {
352
- constructor(i) {
353
- super(), K(this, i, de, ue, P, { tag: 0 }, se);
354
- }
355
- }
356
- export {
357
- qe as default
358
- };
@@ -1 +0,0 @@
1
- export { SvelteComponentTyped as default } from 'svelte/internal';
@@ -1,259 +0,0 @@
1
- import { SvelteComponent as T, init as R, safe_not_equal as q, append_styles as z, empty as S, insert as c, transition_in as u, transition_out as _, check_outros as k, detach as $, create_component as b, space as v, element as h, attr as j, mount_component as g, group_outros as y, destroy_component as w } from "../../../vendor/svelte/internal/index.js";
2
- import B from "../Common/Text/FlyText.js";
3
- import F from "../Common/Line/Polyline.js";
4
- import H from "../Common/Media.js";
5
- import M from "../Common/Shadow.js";
6
- import "../../../vendor/animejs/lib/anime.es.js";
7
- import "../../../shared-utils/uuid.js";
8
- import "../../../shared-utils/isNil.js";
9
- import "three";
10
- import "../../utils/search.js";
11
- import "../../utils/constants.js";
12
- import "../../../vendor/svelte/transition/index.js";
13
- import "../../../vendor/svelte/easing/index.js";
14
- import "../../../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
15
- import "../../../vendor/svelte-carousel/src/components/Dots/Dots.js";
16
- import "../../../vendor/svelte-carousel/src/components/Dot/Dot.js";
17
- import "../../../vendor/svelte-carousel/src/components/Arrow/Arrow.js";
18
- import "../../../vendor/svelte-carousel/src/direction.js";
19
- import "../../../vendor/svelte-carousel/src/components/Progress/Progress.js";
20
- import "../../../vendor/svelte-carousel/src/actions/swipeable/swipeable.js";
21
- import "../../../vendor/svelte-carousel/src/actions/swipeable/event.js";
22
- import "../../../vendor/svelte-carousel/src/utils/event.js";
23
- import "../../../vendor/svelte-carousel/src/units.js";
24
- import "../../../vendor/svelte-carousel/src/actions/hoverable/hoverable.js";
25
- import "../../../vendor/svelte-carousel/src/actions/hoverable/event.js";
26
- import "../../../vendor/svelte-carousel/src/actions/tappable/tappable.js";
27
- import "../../../vendor/svelte-carousel/src/utils/math.js";
28
- import "../../../vendor/svelte-carousel/src/actions/tappable/event.js";
29
- import "../../../vendor/svelte-carousel/src/utils/page.js";
30
- import "../../../vendor/svelte-carousel/src/utils/clones.js";
31
- import "../../../vendor/svelte-carousel/src/utils/object.js";
32
- import "../../../vendor/svelte-carousel/src/components/Carousel/createCarousel.js";
33
- import "../../../vendor/easy-reactive/src/simply-reactive.js";
34
- import "../../../vendor/lodash.get/index.js";
35
- import "../../../_commonjsHelpers.js";
36
- import "../../../vendor/lodash.clonedeep/index.js";
37
- import "../../../vendor/easy-reactive/src/utils/subscription.js";
38
- import "../../../vendor/easy-reactive/src/utils/object.js";
39
- import "../../../vendor/lodash.isequal/index.js";
40
- import "../../../vendor/easy-reactive/src/utils/watcher.js";
41
- import "../../../vendor/svelte-carousel/src/utils/lazy.js";
42
- import "../../../vendor/svelte-carousel/src/utils/ProgressManager.js";
43
- import "../../../vendor/svelte-carousel/src/utils/interval.js";
44
- import "../Common/MediaItem.js";
45
- import "../../Assets/Icon.js";
46
- function V(l) {
47
- z(l, "svelte-1f7m1lj", ".line.svelte-1f7m1lj{position:absolute;width:6.5625rem;height:1.3125rem;transform:translateY(-100%)}.text.svelte-1f7m1lj{position:absolute;width:6.25rem;left:1rem;bottom:0.0625rem;font-weight:600}.media-wrapper.svelte-1f7m1lj{position:absolute;left:0.875rem;top:-5.3125rem;width:5.625rem;height:3.75rem;font-weight:600}");
48
- }
49
- function I(l) {
50
- let r, o, t, e, m, a, s, d;
51
- r = new M({
52
- props: {
53
- visible: (
54
- /*unfolded*/
55
- l[3]
56
- ),
57
- left: 61,
58
- bottom: 57,
59
- width: 2,
60
- blurRadius: 150,
61
- spreadRadius: 75
62
- }
63
- }), e = new F({
64
- props: {
65
- unfolded: (
66
- /*unfolded*/
67
- l[3]
68
- ),
69
- outDelay: 400
70
- }
71
- });
72
- let f = (
73
- /*content*/
74
- l[2] && N(l)
75
- ), n = (
76
- /*mediaData*/
77
- l[1] && P(l)
78
- );
79
- return {
80
- c() {
81
- b(r.$$.fragment), o = v(), t = h("div"), b(e.$$.fragment), m = v(), f && f.c(), a = v(), n && n.c(), s = S(), j(t, "class", "line svelte-1f7m1lj");
82
- },
83
- m(i, p) {
84
- g(r, i, p), c(i, o, p), c(i, t, p), g(e, t, null), c(i, m, p), f && f.m(i, p), c(i, a, p), n && n.m(i, p), c(i, s, p), d = !0;
85
- },
86
- p(i, p) {
87
- const D = {};
88
- p & /*unfolded*/
89
- 8 && (D.visible = /*unfolded*/
90
- i[3]), r.$set(D);
91
- const C = {};
92
- p & /*unfolded*/
93
- 8 && (C.unfolded = /*unfolded*/
94
- i[3]), e.$set(C), /*content*/
95
- i[2] ? f ? (f.p(i, p), p & /*content*/
96
- 4 && u(f, 1)) : (f = N(i), f.c(), u(f, 1), f.m(a.parentNode, a)) : f && (y(), _(f, 1, 1, () => {
97
- f = null;
98
- }), k()), /*mediaData*/
99
- i[1] ? n ? (n.p(i, p), p & /*mediaData*/
100
- 2 && u(n, 1)) : (n = P(i), n.c(), u(n, 1), n.m(s.parentNode, s)) : n && (y(), _(n, 1, 1, () => {
101
- n = null;
102
- }), k());
103
- },
104
- i(i) {
105
- d || (u(r.$$.fragment, i), u(e.$$.fragment, i), u(f), u(n), d = !0);
106
- },
107
- o(i) {
108
- _(r.$$.fragment, i), _(e.$$.fragment, i), _(f), _(n), d = !1;
109
- },
110
- d(i) {
111
- w(r, i), i && $(o), i && $(t), w(e), i && $(m), f && f.d(i), i && $(a), n && n.d(i), i && $(s);
112
- }
113
- };
114
- }
115
- function N(l) {
116
- let r, o, t;
117
- return o = new B({
118
- props: {
119
- unfolded: (
120
- /*unfolded*/
121
- l[3]
122
- ),
123
- content: (
124
- /*content*/
125
- l[2]
126
- ),
127
- inDelay: 500
128
- }
129
- }), {
130
- c() {
131
- r = h("div"), b(o.$$.fragment), j(r, "class", "text svelte-1f7m1lj");
132
- },
133
- m(e, m) {
134
- c(e, r, m), g(o, r, null), t = !0;
135
- },
136
- p(e, m) {
137
- const a = {};
138
- m & /*unfolded*/
139
- 8 && (a.unfolded = /*unfolded*/
140
- e[3]), m & /*content*/
141
- 4 && (a.content = /*content*/
142
- e[2]), o.$set(a);
143
- },
144
- i(e) {
145
- t || (u(o.$$.fragment, e), t = !0);
146
- },
147
- o(e) {
148
- _(o.$$.fragment, e), t = !1;
149
- },
150
- d(e) {
151
- e && $(r), w(o);
152
- }
153
- };
154
- }
155
- function P(l) {
156
- let r, o, t;
157
- return o = new H({
158
- props: {
159
- autoplayConfig: { autoplayCarousel: !1 },
160
- unfolded: (
161
- /*unfolded*/
162
- l[3]
163
- ),
164
- mediaData: (
165
- /*mediaData*/
166
- l[1]
167
- ),
168
- tag: (
169
- /*tag*/
170
- l[0]
171
- ),
172
- enableCarousel: !1,
173
- mediaItemConfig: {
174
- canPlay: !1,
175
- playButtonSizeIfNeed: "small",
176
- disableVideoIfHavePoster: !0
177
- },
178
- inDelay: 500,
179
- duration: 500
180
- }
181
- }), {
182
- c() {
183
- r = h("div"), b(o.$$.fragment), j(r, "class", "media-wrapper svelte-1f7m1lj");
184
- },
185
- m(e, m) {
186
- c(e, r, m), g(o, r, null), t = !0;
187
- },
188
- p(e, m) {
189
- const a = {};
190
- m & /*unfolded*/
191
- 8 && (a.unfolded = /*unfolded*/
192
- e[3]), m & /*mediaData*/
193
- 2 && (a.mediaData = /*mediaData*/
194
- e[1]), m & /*tag*/
195
- 1 && (a.tag = /*tag*/
196
- e[0]), o.$set(a);
197
- },
198
- i(e) {
199
- t || (u(o.$$.fragment, e), t = !0);
200
- },
201
- o(e) {
202
- _(o.$$.fragment, e), t = !1;
203
- },
204
- d(e) {
205
- e && $(r), w(o);
206
- }
207
- };
208
- }
209
- function Y(l) {
210
- let r, o, t = (
211
- /*tag*/
212
- l[0].state && I(l)
213
- );
214
- return {
215
- c() {
216
- t && t.c(), r = S();
217
- },
218
- m(e, m) {
219
- t && t.m(e, m), c(e, r, m), o = !0;
220
- },
221
- p(e, [m]) {
222
- /*tag*/
223
- e[0].state ? t ? (t.p(e, m), m & /*tag*/
224
- 1 && u(t, 1)) : (t = I(e), t.c(), u(t, 1), t.m(r.parentNode, r)) : t && (y(), _(t, 1, 1, () => {
225
- t = null;
226
- }), k());
227
- },
228
- i(e) {
229
- o || (u(t), o = !0);
230
- },
231
- o(e) {
232
- _(t), o = !1;
233
- },
234
- d(e) {
235
- t && t.d(e), e && $(r);
236
- }
237
- };
238
- }
239
- function A(l, r, o) {
240
- let t, e, m, a, { tag: s } = r;
241
- return l.$$set = (d) => {
242
- "tag" in d && o(0, s = d.tag);
243
- }, l.$$.update = () => {
244
- var d, f, n;
245
- l.$$.dirty & /*tag*/
246
- 1 && o(3, t = s.state ? s.state.unfolded : !1), l.$$.dirty & /*tag*/
247
- 1 && o(4, e = (f = (d = s.data.title) != null ? d : s.data.text) != null ? f : ""), l.$$.dirty & /*title*/
248
- 16 && o(2, m = ((n = e.length) != null ? n : 0) > 7 ? e.substring(0, 6) + "..." : e), l.$$.dirty & /*tag*/
249
- 1 && o(1, a = s.data.mediaData);
250
- }, [s, a, m, t, e];
251
- }
252
- class qe extends T {
253
- constructor(r) {
254
- super(), R(this, r, A, Y, q, { tag: 0 }, V);
255
- }
256
- }
257
- export {
258
- qe as default
259
- };
@@ -1 +0,0 @@
1
- export { SvelteComponentTyped as default } from 'svelte/internal';