@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.
- package/CHANGELOG.md +19 -0
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +10 -8
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +2 -3
- package/dist/index.cjs.js +96 -101
- package/dist/index.js +14483 -16495
- package/dist/index.umd.js +89 -94
- 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/TagPoint.js +1 -1
- 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 +275 -281
- 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 +10 -8
- 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,216 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent as j, init as A, safe_not_equal as B, append_styles as E, empty as F, insert as b, transition_in as u, transition_out as c, check_outros as D, detach as $, create_component as L, space as T, element as v, attr as g, set_style as C, toggle_class as w, mount_component as M, append as h, group_outros as N, destroy_component as R } from "../../../../vendor/svelte/internal/index.js";
|
|
2
|
-
import G from "../../Common/Line/Straight.js";
|
|
3
|
-
import P from "../../Common/Text/MText.js";
|
|
4
|
-
import "../../../../vendor/svelte/transition/index.js";
|
|
5
|
-
import "../../../../vendor/svelte/easing/index.js";
|
|
6
|
-
import "../../../../shared-utils/uuid.js";
|
|
7
|
-
import "../../../utils/px2rem.js";
|
|
8
|
-
function H(t) {
|
|
9
|
-
E(t, "svelte-1oxrkr1", ".plane__container.svelte-1oxrkr1.svelte-1oxrkr1{position:absolute;left:50%;transform:translate(-50%, -100%);width:-moz-max-content;width:max-content}.plane__wrapper.svelte-1oxrkr1.svelte-1oxrkr1{transition:transform 500ms linear, opacity 200ms linear;padding:0.625rem;background-color:rgba(0, 0, 0, 0.5);border:0.03125rem solid rgba(255, 255, 255, 0.3);border-radius:0.25rem}.unfolded.svelte-1oxrkr1 .plane__wrapper.svelte-1oxrkr1{transition-delay:200ms, 500ms;opacity:1}.folded.svelte-1oxrkr1 .plane__wrapper.svelte-1oxrkr1{opacity:0}.plane.svelte-1oxrkr1.svelte-1oxrkr1{max-width:11.75rem}.title.svelte-1oxrkr1.svelte-1oxrkr1{white-space:pre-wrap;font-weight:bold;font-size:0.75rem;line-height:1.125rem}.description.svelte-1oxrkr1.svelte-1oxrkr1{margin-top:0.25rem;white-space:pre-wrap;font-size:0.6875rem;line-height:1rem}");
|
|
10
|
-
}
|
|
11
|
-
function S(t) {
|
|
12
|
-
var _, k;
|
|
13
|
-
let o, a, e, n, r, d, s, f, m;
|
|
14
|
-
o = new G({
|
|
15
|
-
props: {
|
|
16
|
-
unfolded: (
|
|
17
|
-
/*unfolded*/
|
|
18
|
-
t[1]
|
|
19
|
-
),
|
|
20
|
-
direction: "vertical",
|
|
21
|
-
length: 15,
|
|
22
|
-
duration: 500,
|
|
23
|
-
inDelay: 200,
|
|
24
|
-
useLinearColor: !0
|
|
25
|
-
}
|
|
26
|
-
}), s = new P({
|
|
27
|
-
props: {
|
|
28
|
-
text: (
|
|
29
|
-
/*title*/
|
|
30
|
-
t[4]
|
|
31
|
-
),
|
|
32
|
-
edit: (
|
|
33
|
-
/*tag*/
|
|
34
|
-
(_ = t[0].data.edit) == null ? void 0 : _.title
|
|
35
|
-
),
|
|
36
|
-
maxLine: (
|
|
37
|
-
/*titleMaxRows*/
|
|
38
|
-
t[2]
|
|
39
|
-
)
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
let l = (
|
|
43
|
-
/*tag*/
|
|
44
|
-
(t[0].data.description || /*tag*/
|
|
45
|
-
((k = t[0].data.edit) == null ? void 0 : k.description)) && q(t)
|
|
46
|
-
);
|
|
47
|
-
return {
|
|
48
|
-
c() {
|
|
49
|
-
L(o.$$.fragment), a = T(), e = v("div"), n = v("div"), r = v("div"), d = v("div"), L(s.$$.fragment), f = T(), l && l.c(), g(d, "class", "title svelte-1oxrkr1"), g(r, "class", "plane svelte-1oxrkr1"), g(n, "class", "plane__wrapper svelte-1oxrkr1"), C(
|
|
50
|
-
n,
|
|
51
|
-
"transform",
|
|
52
|
-
/*unfolded*/
|
|
53
|
-
t[1] ? "translateY(-15px)" : "translateY(0)"
|
|
54
|
-
), g(e, "class", "plane__container svelte-1oxrkr1"), w(
|
|
55
|
-
e,
|
|
56
|
-
"unfolded",
|
|
57
|
-
/*unfolded*/
|
|
58
|
-
t[1]
|
|
59
|
-
), w(
|
|
60
|
-
e,
|
|
61
|
-
"folded",
|
|
62
|
-
/*folded*/
|
|
63
|
-
t[5]
|
|
64
|
-
);
|
|
65
|
-
},
|
|
66
|
-
m(i, p) {
|
|
67
|
-
M(o, i, p), b(i, a, p), b(i, e, p), h(e, n), h(n, r), h(r, d), M(s, d, null), h(r, f), l && l.m(r, null), m = !0;
|
|
68
|
-
},
|
|
69
|
-
p(i, p) {
|
|
70
|
-
var y, z;
|
|
71
|
-
const Y = {};
|
|
72
|
-
p & /*unfolded*/
|
|
73
|
-
2 && (Y.unfolded = /*unfolded*/
|
|
74
|
-
i[1]), o.$set(Y);
|
|
75
|
-
const x = {};
|
|
76
|
-
p & /*title*/
|
|
77
|
-
16 && (x.text = /*title*/
|
|
78
|
-
i[4]), p & /*tag*/
|
|
79
|
-
1 && (x.edit = /*tag*/
|
|
80
|
-
(y = i[0].data.edit) == null ? void 0 : y.title), p & /*titleMaxRows*/
|
|
81
|
-
4 && (x.maxLine = /*titleMaxRows*/
|
|
82
|
-
i[2]), s.$set(x), /*tag*/
|
|
83
|
-
i[0].data.description || /*tag*/
|
|
84
|
-
(z = i[0].data.edit) != null && z.description ? l ? (l.p(i, p), p & /*tag*/
|
|
85
|
-
1 && u(l, 1)) : (l = q(i), l.c(), u(l, 1), l.m(r, null)) : l && (N(), c(l, 1, 1, () => {
|
|
86
|
-
l = null;
|
|
87
|
-
}), D()), p & /*unfolded*/
|
|
88
|
-
2 && C(
|
|
89
|
-
n,
|
|
90
|
-
"transform",
|
|
91
|
-
/*unfolded*/
|
|
92
|
-
i[1] ? "translateY(-15px)" : "translateY(0)"
|
|
93
|
-
), (!m || p & /*unfolded*/
|
|
94
|
-
2) && w(
|
|
95
|
-
e,
|
|
96
|
-
"unfolded",
|
|
97
|
-
/*unfolded*/
|
|
98
|
-
i[1]
|
|
99
|
-
), (!m || p & /*folded*/
|
|
100
|
-
32) && w(
|
|
101
|
-
e,
|
|
102
|
-
"folded",
|
|
103
|
-
/*folded*/
|
|
104
|
-
i[5]
|
|
105
|
-
);
|
|
106
|
-
},
|
|
107
|
-
i(i) {
|
|
108
|
-
m || (u(o.$$.fragment, i), u(s.$$.fragment, i), u(l), m = !0);
|
|
109
|
-
},
|
|
110
|
-
o(i) {
|
|
111
|
-
c(o.$$.fragment, i), c(s.$$.fragment, i), c(l), m = !1;
|
|
112
|
-
},
|
|
113
|
-
d(i) {
|
|
114
|
-
R(o, i), i && $(a), i && $(e), R(s), l && l.d();
|
|
115
|
-
}
|
|
116
|
-
};
|
|
117
|
-
}
|
|
118
|
-
function q(t) {
|
|
119
|
-
var n;
|
|
120
|
-
let o, a, e;
|
|
121
|
-
return a = new P({
|
|
122
|
-
props: {
|
|
123
|
-
text: (
|
|
124
|
-
/*tag*/
|
|
125
|
-
t[0].data.description
|
|
126
|
-
),
|
|
127
|
-
edit: (
|
|
128
|
-
/*tag*/
|
|
129
|
-
(n = t[0].data.edit) == null ? void 0 : n.description
|
|
130
|
-
),
|
|
131
|
-
maxLine: (
|
|
132
|
-
/*descriptionMaxRows*/
|
|
133
|
-
t[3]
|
|
134
|
-
)
|
|
135
|
-
}
|
|
136
|
-
}), {
|
|
137
|
-
c() {
|
|
138
|
-
o = v("div"), L(a.$$.fragment), g(o, "class", "description svelte-1oxrkr1");
|
|
139
|
-
},
|
|
140
|
-
m(r, d) {
|
|
141
|
-
b(r, o, d), M(a, o, null), e = !0;
|
|
142
|
-
},
|
|
143
|
-
p(r, d) {
|
|
144
|
-
var f;
|
|
145
|
-
const s = {};
|
|
146
|
-
d & /*tag*/
|
|
147
|
-
1 && (s.text = /*tag*/
|
|
148
|
-
r[0].data.description), d & /*tag*/
|
|
149
|
-
1 && (s.edit = /*tag*/
|
|
150
|
-
(f = r[0].data.edit) == null ? void 0 : f.description), d & /*descriptionMaxRows*/
|
|
151
|
-
8 && (s.maxLine = /*descriptionMaxRows*/
|
|
152
|
-
r[3]), a.$set(s);
|
|
153
|
-
},
|
|
154
|
-
i(r) {
|
|
155
|
-
e || (u(a.$$.fragment, r), e = !0);
|
|
156
|
-
},
|
|
157
|
-
o(r) {
|
|
158
|
-
c(a.$$.fragment, r), e = !1;
|
|
159
|
-
},
|
|
160
|
-
d(r) {
|
|
161
|
-
r && $(o), R(a);
|
|
162
|
-
}
|
|
163
|
-
};
|
|
164
|
-
}
|
|
165
|
-
function I(t) {
|
|
166
|
-
let o, a, e = (
|
|
167
|
-
/*tag*/
|
|
168
|
-
t[0].state && S(t)
|
|
169
|
-
);
|
|
170
|
-
return {
|
|
171
|
-
c() {
|
|
172
|
-
e && e.c(), o = F();
|
|
173
|
-
},
|
|
174
|
-
m(n, r) {
|
|
175
|
-
e && e.m(n, r), b(n, o, r), a = !0;
|
|
176
|
-
},
|
|
177
|
-
p(n, [r]) {
|
|
178
|
-
/*tag*/
|
|
179
|
-
n[0].state ? e ? (e.p(n, r), r & /*tag*/
|
|
180
|
-
1 && u(e, 1)) : (e = S(n), e.c(), u(e, 1), e.m(o.parentNode, o)) : e && (N(), c(e, 1, 1, () => {
|
|
181
|
-
e = null;
|
|
182
|
-
}), D());
|
|
183
|
-
},
|
|
184
|
-
i(n) {
|
|
185
|
-
a || (u(e), a = !0);
|
|
186
|
-
},
|
|
187
|
-
o(n) {
|
|
188
|
-
c(e), a = !1;
|
|
189
|
-
},
|
|
190
|
-
d(n) {
|
|
191
|
-
e && e.d(n), n && $(o);
|
|
192
|
-
}
|
|
193
|
-
};
|
|
194
|
-
}
|
|
195
|
-
function J(t, o, a) {
|
|
196
|
-
let e, n, r, d, s, { tag: f } = o;
|
|
197
|
-
return t.$$set = (m) => {
|
|
198
|
-
"tag" in m && a(0, f = m.tag);
|
|
199
|
-
}, t.$$.update = () => {
|
|
200
|
-
var m, l, _, k, i;
|
|
201
|
-
t.$$.dirty & /*tag*/
|
|
202
|
-
1 && a(1, e = !!((m = f.state) != null && m.unfolded)), t.$$.dirty & /*unfolded*/
|
|
203
|
-
2 && a(5, n = !e), t.$$.dirty & /*tag*/
|
|
204
|
-
1 && a(4, r = (_ = (l = f.data.title) != null ? l : f.data.text) != null ? _ : ""), t.$$.dirty & /*tag*/
|
|
205
|
-
1 && a(3, d = (k = f.data.descriptionMaxRows) != null ? k : null), t.$$.dirty & /*tag*/
|
|
206
|
-
1 && a(2, s = (i = f.data.titleMaxRows) != null ? i : null);
|
|
207
|
-
}, [f, e, s, d, r, n];
|
|
208
|
-
}
|
|
209
|
-
class Z extends j {
|
|
210
|
-
constructor(o) {
|
|
211
|
-
super(), A(this, o, J, I, B, { tag: 0 }, H);
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
export {
|
|
215
|
-
Z as default
|
|
216
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SvelteComponentTyped as default } from 'svelte/internal';
|
|
@@ -1,219 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent as R, init as S, safe_not_equal as W, append_styles as C, empty as q, insert as v, transition_in as c, transition_out as b, check_outros as F, detach as y, create_component as T, space as U, element as I, attr as L, mount_component as k, action_destroyer as N, listen as D, destroy_component as $, run_all as O, group_outros as j } from "../../../../vendor/svelte/internal/index.js";
|
|
2
|
-
import A from "../../Common/Line/Straight.js";
|
|
3
|
-
import B from "../../Common/Shadow.js";
|
|
4
|
-
import E from "../../Common/Text/FlyMText.js";
|
|
5
|
-
import { svelteResizeObserver as G } from "../../../../shared-utils/svelte/resizeObserver.js";
|
|
6
|
-
import "../../../../vendor/svelte/transition/index.js";
|
|
7
|
-
import "../../../../vendor/svelte/easing/index.js";
|
|
8
|
-
import "../../../../shared-utils/uuid.js";
|
|
9
|
-
import "../../Common/Text/FlyText.js";
|
|
10
|
-
import "../../../../vendor/animejs/lib/anime.es.js";
|
|
11
|
-
import "../../../../shared-utils/isNil.js";
|
|
12
|
-
import "three";
|
|
13
|
-
import "../../../utils/search.js";
|
|
14
|
-
import "../../../utils/constants.js";
|
|
15
|
-
import "../../Common/Arrow.js";
|
|
16
|
-
import "../../../Assets/Icon.js";
|
|
17
|
-
import "../../../utils/doUtil.js";
|
|
18
|
-
import "../../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
19
|
-
function H(n) {
|
|
20
|
-
C(n, "svelte-5hip41", ".content.svelte-5hip41{--height:62.4375rem;width:-moz-max-content;width:max-content;height:var(--height);padding:calc(var(--height) - 1.125rem) 0.25rem 0 1rem;position:absolute;left:0;bottom:0;overflow:hidden;box-sizing:border-box;font-size:0;pointer-events:none;white-space:nowrap;font-weight:600}");
|
|
21
|
-
}
|
|
22
|
-
function M(n) {
|
|
23
|
-
var u, w;
|
|
24
|
-
let l, r, e, o, i, m, a, p, g;
|
|
25
|
-
return l = new B({
|
|
26
|
-
props: {
|
|
27
|
-
visible: (
|
|
28
|
-
/*unfolded*/
|
|
29
|
-
n[2]
|
|
30
|
-
),
|
|
31
|
-
left: (
|
|
32
|
-
/*contentWidth*/
|
|
33
|
-
n[3] / 2 + "px"
|
|
34
|
-
),
|
|
35
|
-
bottom: 12,
|
|
36
|
-
width: 2,
|
|
37
|
-
blurRadius: 120,
|
|
38
|
-
spreadRadius: 60
|
|
39
|
-
}
|
|
40
|
-
}), e = new A({
|
|
41
|
-
props: {
|
|
42
|
-
unfolded: (
|
|
43
|
-
/*unfolded*/
|
|
44
|
-
n[2]
|
|
45
|
-
),
|
|
46
|
-
length: (
|
|
47
|
-
/*contentWidth*/
|
|
48
|
-
n[3]
|
|
49
|
-
),
|
|
50
|
-
outDelay: (
|
|
51
|
-
/*foldTextDelay*/
|
|
52
|
-
n[4] + 40 * Math.min(
|
|
53
|
-
/*textItems*/
|
|
54
|
-
(w = (u = n[6][0]) == null ? void 0 : u.content.length) != null ? w : 10,
|
|
55
|
-
15
|
|
56
|
-
)
|
|
57
|
-
),
|
|
58
|
-
useLinearColor: !0
|
|
59
|
-
}
|
|
60
|
-
}), m = new E({
|
|
61
|
-
props: {
|
|
62
|
-
visible: (
|
|
63
|
-
/*unfolded*/
|
|
64
|
-
n[2]
|
|
65
|
-
),
|
|
66
|
-
textUnfolded: (
|
|
67
|
-
/*textUnfolded*/
|
|
68
|
-
n[1]
|
|
69
|
-
),
|
|
70
|
-
content: (
|
|
71
|
-
/*content*/
|
|
72
|
-
n[5]
|
|
73
|
-
)
|
|
74
|
-
}
|
|
75
|
-
}), {
|
|
76
|
-
c() {
|
|
77
|
-
T(l.$$.fragment), r = U(), T(e.$$.fragment), o = U(), i = I("div"), T(m.$$.fragment), L(i, "class", "content svelte-5hip41");
|
|
78
|
-
},
|
|
79
|
-
m(t, f) {
|
|
80
|
-
k(l, t, f), v(t, r, f), k(e, t, f), v(t, o, f), v(t, i, f), k(m, i, null), a = !0, p || (g = [
|
|
81
|
-
N(G.call(null, i)),
|
|
82
|
-
D(
|
|
83
|
-
i,
|
|
84
|
-
"clientWidth",
|
|
85
|
-
/*clientWidth_handler*/
|
|
86
|
-
n[10]
|
|
87
|
-
),
|
|
88
|
-
D(
|
|
89
|
-
i,
|
|
90
|
-
"click",
|
|
91
|
-
/*toggleTextUnfolded*/
|
|
92
|
-
n[7]
|
|
93
|
-
)
|
|
94
|
-
], p = !0);
|
|
95
|
-
},
|
|
96
|
-
p(t, f) {
|
|
97
|
-
var _, z;
|
|
98
|
-
const s = {};
|
|
99
|
-
f & /*unfolded*/
|
|
100
|
-
4 && (s.visible = /*unfolded*/
|
|
101
|
-
t[2]), f & /*contentWidth*/
|
|
102
|
-
8 && (s.left = /*contentWidth*/
|
|
103
|
-
t[3] / 2 + "px"), l.$set(s);
|
|
104
|
-
const d = {};
|
|
105
|
-
f & /*unfolded*/
|
|
106
|
-
4 && (d.unfolded = /*unfolded*/
|
|
107
|
-
t[2]), f & /*contentWidth*/
|
|
108
|
-
8 && (d.length = /*contentWidth*/
|
|
109
|
-
t[3]), f & /*foldTextDelay*/
|
|
110
|
-
16 && (d.outDelay = /*foldTextDelay*/
|
|
111
|
-
t[4] + 40 * Math.min(
|
|
112
|
-
/*textItems*/
|
|
113
|
-
(z = (_ = t[6][0]) == null ? void 0 : _.content.length) != null ? z : 10,
|
|
114
|
-
15
|
|
115
|
-
)), e.$set(d);
|
|
116
|
-
const h = {};
|
|
117
|
-
f & /*unfolded*/
|
|
118
|
-
4 && (h.visible = /*unfolded*/
|
|
119
|
-
t[2]), f & /*textUnfolded*/
|
|
120
|
-
2 && (h.textUnfolded = /*textUnfolded*/
|
|
121
|
-
t[1]), f & /*content*/
|
|
122
|
-
32 && (h.content = /*content*/
|
|
123
|
-
t[5]), m.$set(h);
|
|
124
|
-
},
|
|
125
|
-
i(t) {
|
|
126
|
-
a || (c(l.$$.fragment, t), c(e.$$.fragment, t), c(m.$$.fragment, t), a = !0);
|
|
127
|
-
},
|
|
128
|
-
o(t) {
|
|
129
|
-
b(l.$$.fragment, t), b(e.$$.fragment, t), b(m.$$.fragment, t), a = !1;
|
|
130
|
-
},
|
|
131
|
-
d(t) {
|
|
132
|
-
$(l, t), t && y(r), $(e, t), t && y(o), t && y(i), $(m), p = !1, O(g);
|
|
133
|
-
}
|
|
134
|
-
};
|
|
135
|
-
}
|
|
136
|
-
function J(n) {
|
|
137
|
-
let l, r, e = (
|
|
138
|
-
/*tag*/
|
|
139
|
-
n[0].state && M(n)
|
|
140
|
-
);
|
|
141
|
-
return {
|
|
142
|
-
c() {
|
|
143
|
-
e && e.c(), l = q();
|
|
144
|
-
},
|
|
145
|
-
m(o, i) {
|
|
146
|
-
e && e.m(o, i), v(o, l, i), r = !0;
|
|
147
|
-
},
|
|
148
|
-
p(o, [i]) {
|
|
149
|
-
/*tag*/
|
|
150
|
-
o[0].state ? e ? (e.p(o, i), i & /*tag*/
|
|
151
|
-
1 && c(e, 1)) : (e = M(o), e.c(), c(e, 1), e.m(l.parentNode, l)) : e && (j(), b(e, 1, 1, () => {
|
|
152
|
-
e = null;
|
|
153
|
-
}), F());
|
|
154
|
-
},
|
|
155
|
-
i(o) {
|
|
156
|
-
r || (c(e), r = !0);
|
|
157
|
-
},
|
|
158
|
-
o(o) {
|
|
159
|
-
b(e), r = !1;
|
|
160
|
-
},
|
|
161
|
-
d(o) {
|
|
162
|
-
e && e.d(o), o && y(l);
|
|
163
|
-
}
|
|
164
|
-
};
|
|
165
|
-
}
|
|
166
|
-
function K(n, l, r) {
|
|
167
|
-
let e, o, i, m, a, { tag: p } = l, g, u = !1, w = [];
|
|
168
|
-
function t() {
|
|
169
|
-
r(1, u = !u);
|
|
170
|
-
}
|
|
171
|
-
const f = (s) => {
|
|
172
|
-
r(3, g = s.detail);
|
|
173
|
-
};
|
|
174
|
-
return n.$$set = (s) => {
|
|
175
|
-
"tag" in s && r(0, p = s.tag);
|
|
176
|
-
}, n.$$.update = () => {
|
|
177
|
-
var s, d, h, _;
|
|
178
|
-
n.$$.dirty & /*tag*/
|
|
179
|
-
1 && r(2, e = !!((s = p.state) != null && s.unfolded)), n.$$.dirty & /*tag*/
|
|
180
|
-
1 && r(9, o = (h = (d = p.data.title) != null ? d : p.data.text) != null ? h : ""), n.$$.dirty & /*tag*/
|
|
181
|
-
1 && r(8, i = (_ = p.data.description) != null ? _ : ""), n.$$.dirty & /*title, description*/
|
|
182
|
-
768 && r(5, m = (() => {
|
|
183
|
-
if (o && i)
|
|
184
|
-
return o + `
|
|
185
|
-
` + i;
|
|
186
|
-
if (o)
|
|
187
|
-
return o;
|
|
188
|
-
if (i)
|
|
189
|
-
return i;
|
|
190
|
-
})()), n.$$.dirty & /*unfolded*/
|
|
191
|
-
4 && (e || setTimeout(
|
|
192
|
-
() => {
|
|
193
|
-
r(1, u = !1);
|
|
194
|
-
},
|
|
195
|
-
20
|
|
196
|
-
)), n.$$.dirty & /*textUnfolded*/
|
|
197
|
-
2 && r(4, a = u ? 450 : 0);
|
|
198
|
-
}, [
|
|
199
|
-
p,
|
|
200
|
-
u,
|
|
201
|
-
e,
|
|
202
|
-
g,
|
|
203
|
-
a,
|
|
204
|
-
m,
|
|
205
|
-
w,
|
|
206
|
-
t,
|
|
207
|
-
i,
|
|
208
|
-
o,
|
|
209
|
-
f
|
|
210
|
-
];
|
|
211
|
-
}
|
|
212
|
-
class ut extends R {
|
|
213
|
-
constructor(l) {
|
|
214
|
-
super(), S(this, l, K, J, W, { tag: 0 }, H);
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
export {
|
|
218
|
-
ut as default
|
|
219
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SvelteComponentTyped as default } from 'svelte/internal';
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent as d, init as $, safe_not_equal as k, empty as b, insert as x, transition_out as f, check_outros as T, transition_in as m, detach as y, group_outros as h, create_component as s, mount_component as _, destroy_component as g } from "../../../../vendor/svelte/internal/index.js";
|
|
2
|
-
import w from "./TextTag.js";
|
|
3
|
-
import q from "./TextPlaneTag.js";
|
|
4
|
-
import "../../Common/Line/Straight.js";
|
|
5
|
-
import "../../../../vendor/svelte/transition/index.js";
|
|
6
|
-
import "../../../../vendor/svelte/easing/index.js";
|
|
7
|
-
import "../../../../shared-utils/uuid.js";
|
|
8
|
-
import "../../Common/Shadow.js";
|
|
9
|
-
import "../../Common/Text/FlyMText.js";
|
|
10
|
-
import "../../Common/Text/FlyText.js";
|
|
11
|
-
import "../../../../vendor/animejs/lib/anime.es.js";
|
|
12
|
-
import "../../../../shared-utils/isNil.js";
|
|
13
|
-
import "three";
|
|
14
|
-
import "../../../utils/search.js";
|
|
15
|
-
import "../../../utils/constants.js";
|
|
16
|
-
import "../../Common/Arrow.js";
|
|
17
|
-
import "../../../Assets/Icon.js";
|
|
18
|
-
import "../../../utils/doUtil.js";
|
|
19
|
-
import "../../../../shared-utils/svelte/resizeObserver.js";
|
|
20
|
-
import "../../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
21
|
-
import "../../Common/Text/MText.js";
|
|
22
|
-
import "../../../utils/px2rem.js";
|
|
23
|
-
function v(a) {
|
|
24
|
-
let t, r;
|
|
25
|
-
return t = new q({ props: { tag: (
|
|
26
|
-
/*tag*/
|
|
27
|
-
a[0]
|
|
28
|
-
) } }), {
|
|
29
|
-
c() {
|
|
30
|
-
s(t.$$.fragment);
|
|
31
|
-
},
|
|
32
|
-
m(e, o) {
|
|
33
|
-
_(t, e, o), r = !0;
|
|
34
|
-
},
|
|
35
|
-
p(e, o) {
|
|
36
|
-
const i = {};
|
|
37
|
-
o & /*tag*/
|
|
38
|
-
1 && (i.tag = /*tag*/
|
|
39
|
-
e[0]), t.$set(i);
|
|
40
|
-
},
|
|
41
|
-
i(e) {
|
|
42
|
-
r || (m(t.$$.fragment, e), r = !0);
|
|
43
|
-
},
|
|
44
|
-
o(e) {
|
|
45
|
-
f(t.$$.fragment, e), r = !1;
|
|
46
|
-
},
|
|
47
|
-
d(e) {
|
|
48
|
-
g(t, e);
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
function C(a) {
|
|
53
|
-
let t, r;
|
|
54
|
-
return t = new w({ props: { tag: (
|
|
55
|
-
/*tag*/
|
|
56
|
-
a[0]
|
|
57
|
-
) } }), {
|
|
58
|
-
c() {
|
|
59
|
-
s(t.$$.fragment);
|
|
60
|
-
},
|
|
61
|
-
m(e, o) {
|
|
62
|
-
_(t, e, o), r = !0;
|
|
63
|
-
},
|
|
64
|
-
p(e, o) {
|
|
65
|
-
const i = {};
|
|
66
|
-
o & /*tag*/
|
|
67
|
-
1 && (i.tag = /*tag*/
|
|
68
|
-
e[0]), t.$set(i);
|
|
69
|
-
},
|
|
70
|
-
i(e) {
|
|
71
|
-
r || (m(t.$$.fragment, e), r = !0);
|
|
72
|
-
},
|
|
73
|
-
o(e) {
|
|
74
|
-
f(t.$$.fragment, e), r = !1;
|
|
75
|
-
},
|
|
76
|
-
d(e) {
|
|
77
|
-
g(t, e);
|
|
78
|
-
}
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
function N(a) {
|
|
82
|
-
let t, r, e, o;
|
|
83
|
-
const i = [C, v], p = [];
|
|
84
|
-
function u(n, c) {
|
|
85
|
-
return (
|
|
86
|
-
/*appearance*/
|
|
87
|
-
n[1] === "line" ? 0 : (
|
|
88
|
-
/*appearance*/
|
|
89
|
-
n[1] === "plane" ? 1 : -1
|
|
90
|
-
)
|
|
91
|
-
);
|
|
92
|
-
}
|
|
93
|
-
return ~(t = u(a)) && (r = p[t] = i[t](a)), {
|
|
94
|
-
c() {
|
|
95
|
-
r && r.c(), e = b();
|
|
96
|
-
},
|
|
97
|
-
m(n, c) {
|
|
98
|
-
~t && p[t].m(n, c), x(n, e, c), o = !0;
|
|
99
|
-
},
|
|
100
|
-
p(n, [c]) {
|
|
101
|
-
let l = t;
|
|
102
|
-
t = u(n), t === l ? ~t && p[t].p(n, c) : (r && (h(), f(p[l], 1, 1, () => {
|
|
103
|
-
p[l] = null;
|
|
104
|
-
}), T()), ~t ? (r = p[t], r ? r.p(n, c) : (r = p[t] = i[t](n), r.c()), m(r, 1), r.m(e.parentNode, e)) : r = null);
|
|
105
|
-
},
|
|
106
|
-
i(n) {
|
|
107
|
-
o || (m(r), o = !0);
|
|
108
|
-
},
|
|
109
|
-
o(n) {
|
|
110
|
-
f(r), o = !1;
|
|
111
|
-
},
|
|
112
|
-
d(n) {
|
|
113
|
-
~t && p[t].d(n), n && y(e);
|
|
114
|
-
}
|
|
115
|
-
};
|
|
116
|
-
}
|
|
117
|
-
function P(a, t, r) {
|
|
118
|
-
let e, { tag: o } = t;
|
|
119
|
-
return a.$$set = (i) => {
|
|
120
|
-
"tag" in i && r(0, o = i.tag);
|
|
121
|
-
}, a.$$.update = () => {
|
|
122
|
-
var i;
|
|
123
|
-
a.$$.dirty & /*tag*/
|
|
124
|
-
1 && r(1, e = (i = o.data.appearance) != null ? i : "line");
|
|
125
|
-
}, [o, e];
|
|
126
|
-
}
|
|
127
|
-
class Y extends d {
|
|
128
|
-
constructor(t) {
|
|
129
|
-
super(), $(this, t, P, N, k, { tag: 0 });
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
export {
|
|
133
|
-
Y as default
|
|
134
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SvelteComponentTyped as default } from 'svelte/internal';
|