@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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@realsee/dnalogel",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.79.0-alpha.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./libs/index.js",
|
|
6
6
|
"types": "./libs/index.d.ts",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"postpublish": "cnpm sync @realsee/dnalogel",
|
|
30
30
|
"lint": "eslint . --ext .ts,.tsx,.js,.jsx,.svelte",
|
|
31
31
|
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,svelte,scss,css,md,json}\"",
|
|
32
|
-
"test": "
|
|
32
|
+
"test": "vitest run --config vitest.config.ts"
|
|
33
33
|
},
|
|
34
34
|
"files": [
|
|
35
35
|
"libs",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SvelteComponentTyped as default } from 'svelte/internal';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SvelteComponentTyped as default } from 'svelte/internal';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SvelteComponentTyped as default } from 'svelte/internal';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SvelteComponentTyped as default } from 'svelte/internal';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SvelteComponentTyped as default } from 'svelte/internal';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SvelteComponentTyped as default } from 'svelte/internal';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SvelteComponentTyped as default } from 'svelte/internal';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SvelteComponentTyped as default } from 'svelte/internal';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SvelteComponentTyped as default } from 'svelte/internal';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SvelteComponentTyped as default } from 'svelte/internal';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function doUtil<T = any>(func: () => T, util: (value: T) => boolean, duration?: number, times?: number): Promise<T>;
|
|
@@ -1,198 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent as T, init as C, safe_not_equal as F, append_styles as Y, space as q, empty as A, insert as p, transition_in as u, transition_out as a, check_outros as h, detach as d, element as z, create_component as H, attr as D, set_style as v, mount_component as U, destroy_component as N, group_outros as y, binding_callbacks as B } from "../../../../vendor/svelte/internal/index.js";
|
|
2
|
-
import M from "./FlyText.js";
|
|
3
|
-
import j from "../Arrow.js";
|
|
4
|
-
import G from "../../../utils/doUtil.js";
|
|
5
|
-
import "../../../../vendor/animejs/lib/anime.es.js";
|
|
6
|
-
import "../../../../shared-utils/uuid.js";
|
|
7
|
-
import "../../../../shared-utils/isNil.js";
|
|
8
|
-
import "three";
|
|
9
|
-
import "../../../utils/search.js";
|
|
10
|
-
import "../../../utils/constants.js";
|
|
11
|
-
import "../../../../vendor/svelte/transition/index.js";
|
|
12
|
-
import "../../../../vendor/svelte/easing/index.js";
|
|
13
|
-
import "../../../Assets/Icon.js";
|
|
14
|
-
import "../Shadow.js";
|
|
15
|
-
function I(o) {
|
|
16
|
-
Y(o, "svelte-1fuzm7v", ".text.svelte-1fuzm7v{pointer-events:auto;box-sizing:border-box;display:inline-block;max-width:7.5rem;transition:transform 400ms ease-in-out;font-size:0.75rem;line-height:1.125rem;white-space:initial;cursor:pointer}.arrow.svelte-1fuzm7v{pointer-events:auto;display:inline-block;vertical-align:top;width:0.875rem;height:0.875rem;margin-left:0.125rem;margin-top:0.125rem}");
|
|
17
|
-
}
|
|
18
|
-
function w(o) {
|
|
19
|
-
let r, t, l;
|
|
20
|
-
return t = new M({
|
|
21
|
-
props: {
|
|
22
|
-
unfolded: (
|
|
23
|
-
/*visible*/
|
|
24
|
-
o[0]
|
|
25
|
-
),
|
|
26
|
-
content: (
|
|
27
|
-
/*content*/
|
|
28
|
-
o[1]
|
|
29
|
-
),
|
|
30
|
-
inDelay: 500,
|
|
31
|
-
outDelay: (
|
|
32
|
-
/*foldTextDelay*/
|
|
33
|
-
o[5]
|
|
34
|
-
)
|
|
35
|
-
}
|
|
36
|
-
}), {
|
|
37
|
-
c() {
|
|
38
|
-
r = z("div"), H(t.$$.fragment), D(r, "class", "text svelte-1fuzm7v"), v(
|
|
39
|
-
r,
|
|
40
|
-
"transform",
|
|
41
|
-
/*transform*/
|
|
42
|
-
o[7]
|
|
43
|
-
);
|
|
44
|
-
},
|
|
45
|
-
m(e, i) {
|
|
46
|
-
p(e, r, i), U(t, r, null), o[10](r), l = !0;
|
|
47
|
-
},
|
|
48
|
-
p(e, i) {
|
|
49
|
-
const n = {};
|
|
50
|
-
i & /*visible*/
|
|
51
|
-
1 && (n.unfolded = /*visible*/
|
|
52
|
-
e[0]), i & /*content*/
|
|
53
|
-
2 && (n.content = /*content*/
|
|
54
|
-
e[1]), i & /*foldTextDelay*/
|
|
55
|
-
32 && (n.outDelay = /*foldTextDelay*/
|
|
56
|
-
e[5]), t.$set(n), i & /*transform*/
|
|
57
|
-
128 && v(
|
|
58
|
-
r,
|
|
59
|
-
"transform",
|
|
60
|
-
/*transform*/
|
|
61
|
-
e[7]
|
|
62
|
-
);
|
|
63
|
-
},
|
|
64
|
-
i(e) {
|
|
65
|
-
l || (u(t.$$.fragment, e), l = !0);
|
|
66
|
-
},
|
|
67
|
-
o(e) {
|
|
68
|
-
a(t.$$.fragment, e), l = !1;
|
|
69
|
-
},
|
|
70
|
-
d(e) {
|
|
71
|
-
e && d(r), N(t), o[10](null);
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
function k(o) {
|
|
76
|
-
let r, t, l;
|
|
77
|
-
return t = new j({
|
|
78
|
-
props: {
|
|
79
|
-
direction: (
|
|
80
|
-
/*arrowDirection*/
|
|
81
|
-
o[6]
|
|
82
|
-
),
|
|
83
|
-
visible: (
|
|
84
|
-
/*visible*/
|
|
85
|
-
o[0]
|
|
86
|
-
),
|
|
87
|
-
inDelay: 600,
|
|
88
|
-
duration: 1e3
|
|
89
|
-
}
|
|
90
|
-
}), {
|
|
91
|
-
c() {
|
|
92
|
-
r = z("div"), H(t.$$.fragment), D(r, "class", "arrow svelte-1fuzm7v");
|
|
93
|
-
},
|
|
94
|
-
m(e, i) {
|
|
95
|
-
p(e, r, i), U(t, r, null), l = !0;
|
|
96
|
-
},
|
|
97
|
-
p(e, i) {
|
|
98
|
-
const n = {};
|
|
99
|
-
i & /*arrowDirection*/
|
|
100
|
-
64 && (n.direction = /*arrowDirection*/
|
|
101
|
-
e[6]), i & /*visible*/
|
|
102
|
-
1 && (n.visible = /*visible*/
|
|
103
|
-
e[0]), t.$set(n);
|
|
104
|
-
},
|
|
105
|
-
i(e) {
|
|
106
|
-
l || (u(t.$$.fragment, e), l = !0);
|
|
107
|
-
},
|
|
108
|
-
o(e) {
|
|
109
|
-
a(t.$$.fragment, e), l = !1;
|
|
110
|
-
},
|
|
111
|
-
d(e) {
|
|
112
|
-
e && d(r), N(t);
|
|
113
|
-
}
|
|
114
|
-
};
|
|
115
|
-
}
|
|
116
|
-
function J(o) {
|
|
117
|
-
let r, t, l, e = (
|
|
118
|
-
/*content*/
|
|
119
|
-
o[1] && w(o)
|
|
120
|
-
), i = (
|
|
121
|
-
/*lineHeight*/
|
|
122
|
-
o[3] < /*textHeight*/
|
|
123
|
-
o[4] && k(o)
|
|
124
|
-
);
|
|
125
|
-
return {
|
|
126
|
-
c() {
|
|
127
|
-
e && e.c(), r = q(), i && i.c(), t = A();
|
|
128
|
-
},
|
|
129
|
-
m(n, f) {
|
|
130
|
-
e && e.m(n, f), p(n, r, f), i && i.m(n, f), p(n, t, f), l = !0;
|
|
131
|
-
},
|
|
132
|
-
p(n, [f]) {
|
|
133
|
-
/*content*/
|
|
134
|
-
n[1] ? e ? (e.p(n, f), f & /*content*/
|
|
135
|
-
2 && u(e, 1)) : (e = w(n), e.c(), u(e, 1), e.m(r.parentNode, r)) : e && (y(), a(e, 1, 1, () => {
|
|
136
|
-
e = null;
|
|
137
|
-
}), h()), /*lineHeight*/
|
|
138
|
-
n[3] < /*textHeight*/
|
|
139
|
-
n[4] ? i ? (i.p(n, f), f & /*lineHeight, textHeight*/
|
|
140
|
-
24 && u(i, 1)) : (i = k(n), i.c(), u(i, 1), i.m(t.parentNode, t)) : i && (y(), a(i, 1, 1, () => {
|
|
141
|
-
i = null;
|
|
142
|
-
}), h());
|
|
143
|
-
},
|
|
144
|
-
i(n) {
|
|
145
|
-
l || (u(e), u(i), l = !0);
|
|
146
|
-
},
|
|
147
|
-
o(n) {
|
|
148
|
-
a(e), a(i), l = !1;
|
|
149
|
-
},
|
|
150
|
-
d(n) {
|
|
151
|
-
e && e.d(n), n && d(r), i && i.d(n), n && d(t);
|
|
152
|
-
}
|
|
153
|
-
};
|
|
154
|
-
}
|
|
155
|
-
function K(o, r, t) {
|
|
156
|
-
let l, e, i, { visible: n = !1 } = r, { textUnfolded: f = !1 } = r, { content: _ } = r, m, g = 0, b = 0, c = 0;
|
|
157
|
-
function S(s) {
|
|
158
|
-
B[s ? "unshift" : "push"](() => {
|
|
159
|
-
m = s, t(2, m);
|
|
160
|
-
});
|
|
161
|
-
}
|
|
162
|
-
return o.$$set = (s) => {
|
|
163
|
-
"visible" in s && t(0, n = s.visible), "textUnfolded" in s && t(8, f = s.textUnfolded), "content" in s && t(1, _ = s.content);
|
|
164
|
-
}, o.$$.update = () => {
|
|
165
|
-
if (o.$$.dirty & /*textElement, visible, content*/
|
|
166
|
-
7 && m && n && _) {
|
|
167
|
-
const { lineHeight: s } = getComputedStyle(m);
|
|
168
|
-
t(4, c = m.offsetHeight), G(() => m == null ? void 0 : m.offsetHeight, Boolean).then(() => {
|
|
169
|
-
t(4, c = m.offsetHeight);
|
|
170
|
-
}), t(3, b = Number(s.replace("px", "")));
|
|
171
|
-
}
|
|
172
|
-
o.$$.dirty & /*textUnfolded, lineHeight, textHeight*/
|
|
173
|
-
280 && t(9, g = f ? b - c : 0), o.$$.dirty & /*translateY*/
|
|
174
|
-
512 && t(7, l = `translateY(${g}px)`), o.$$.dirty & /*textUnfolded*/
|
|
175
|
-
256 && t(6, e = f ? "left" : "right"), o.$$.dirty & /*textUnfolded*/
|
|
176
|
-
256 && t(5, i = f ? 450 : 0);
|
|
177
|
-
}, [
|
|
178
|
-
n,
|
|
179
|
-
_,
|
|
180
|
-
m,
|
|
181
|
-
b,
|
|
182
|
-
c,
|
|
183
|
-
i,
|
|
184
|
-
e,
|
|
185
|
-
l,
|
|
186
|
-
f,
|
|
187
|
-
g,
|
|
188
|
-
S
|
|
189
|
-
];
|
|
190
|
-
}
|
|
191
|
-
class ie extends T {
|
|
192
|
-
constructor(r) {
|
|
193
|
-
super(), C(this, r, K, J, F, { visible: 0, textUnfolded: 8, content: 1 }, I);
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
export {
|
|
197
|
-
ie as default
|
|
198
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SvelteComponentTyped as default } from 'svelte/internal';
|
|
@@ -1,258 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent as V, init as W, safe_not_equal as q, append_styles as B, empty as k, insert as m, update_keyed_each as G, noop as F, detach as p, destroy_block as X, binding_callbacks as M, element as I, text as Y, attr as A, append as v, set_data as z } from "../../../../vendor/svelte/internal/index.js";
|
|
2
|
-
import { anime as N } from "../../../../vendor/animejs/lib/anime.es.js";
|
|
3
|
-
import { uuid as w } from "../../../../shared-utils/uuid.js";
|
|
4
|
-
import { notNil as H } from "../../../../shared-utils/isNil.js";
|
|
5
|
-
import "three";
|
|
6
|
-
import { searchFirstValueSmallThanLastValue as K } from "../../../utils/search.js";
|
|
7
|
-
import { RANDON_STRING as y } from "../../../utils/constants.js";
|
|
8
|
-
function Q(o) {
|
|
9
|
-
B(o, "svelte-1b2n9wi", ".text-char.svelte-1b2n9wi{display:inline-block;text-shadow:0.125rem 0rem 0.5rem rgba(0, 0, 0, 0.15)}");
|
|
10
|
-
}
|
|
11
|
-
function R(o, e, i) {
|
|
12
|
-
const l = o.slice();
|
|
13
|
-
return l[19] = e[i].id, l[0] = e[i].content, l[20] = e, l[21] = i, l;
|
|
14
|
-
}
|
|
15
|
-
function Z(o) {
|
|
16
|
-
let e, i = (
|
|
17
|
-
/*content*/
|
|
18
|
-
o[0] + ""
|
|
19
|
-
), l, a = (
|
|
20
|
-
/*index*/
|
|
21
|
-
o[21]
|
|
22
|
-
);
|
|
23
|
-
const _ = () => (
|
|
24
|
-
/*span_binding_1*/
|
|
25
|
-
o[10](e, a)
|
|
26
|
-
), t = () => (
|
|
27
|
-
/*span_binding_1*/
|
|
28
|
-
o[10](null, a)
|
|
29
|
-
);
|
|
30
|
-
return {
|
|
31
|
-
c() {
|
|
32
|
-
e = I("span"), l = Y(i), A(e, "class", "text-char svelte-1b2n9wi");
|
|
33
|
-
},
|
|
34
|
-
m(n, s) {
|
|
35
|
-
m(n, e, s), v(e, l), _();
|
|
36
|
-
},
|
|
37
|
-
p(n, s) {
|
|
38
|
-
o = n, s & /*contentList*/
|
|
39
|
-
4 && i !== (i = /*content*/
|
|
40
|
-
o[0] + "") && z(l, i), a !== /*index*/
|
|
41
|
-
o[21] && (t(), a = /*index*/
|
|
42
|
-
o[21], _());
|
|
43
|
-
},
|
|
44
|
-
d(n) {
|
|
45
|
-
n && p(e), t();
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
function x(o) {
|
|
50
|
-
let e;
|
|
51
|
-
return {
|
|
52
|
-
c() {
|
|
53
|
-
e = I("br");
|
|
54
|
-
},
|
|
55
|
-
m(i, l) {
|
|
56
|
-
m(i, e, l);
|
|
57
|
-
},
|
|
58
|
-
p: F,
|
|
59
|
-
d(i) {
|
|
60
|
-
i && p(e);
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
function $(o) {
|
|
65
|
-
let e, i = (
|
|
66
|
-
/*index*/
|
|
67
|
-
o[21]
|
|
68
|
-
);
|
|
69
|
-
const l = () => (
|
|
70
|
-
/*span_binding*/
|
|
71
|
-
o[9](e, i)
|
|
72
|
-
), a = () => (
|
|
73
|
-
/*span_binding*/
|
|
74
|
-
o[9](null, i)
|
|
75
|
-
);
|
|
76
|
-
return {
|
|
77
|
-
c() {
|
|
78
|
-
e = I("span"), e.textContent = " ", A(e, "class", "text-char svelte-1b2n9wi");
|
|
79
|
-
},
|
|
80
|
-
m(_, t) {
|
|
81
|
-
m(_, e, t), l();
|
|
82
|
-
},
|
|
83
|
-
p(_, t) {
|
|
84
|
-
o = _, i !== /*index*/
|
|
85
|
-
o[21] && (a(), i = /*index*/
|
|
86
|
-
o[21], l());
|
|
87
|
-
},
|
|
88
|
-
d(_) {
|
|
89
|
-
_ && p(e), a();
|
|
90
|
-
}
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
function S(o, e) {
|
|
94
|
-
let i, l;
|
|
95
|
-
function a(n, s) {
|
|
96
|
-
return (
|
|
97
|
-
/*content*/
|
|
98
|
-
n[0] === /*__SpaceFlag__*/
|
|
99
|
-
n[3] ? $ : (
|
|
100
|
-
/*content*/
|
|
101
|
-
n[0] === /*__NewLineFlag__*/
|
|
102
|
-
n[4] ? x : Z
|
|
103
|
-
)
|
|
104
|
-
);
|
|
105
|
-
}
|
|
106
|
-
let _ = a(e), t = _(e);
|
|
107
|
-
return {
|
|
108
|
-
key: o,
|
|
109
|
-
first: null,
|
|
110
|
-
c() {
|
|
111
|
-
i = k(), t.c(), l = k(), this.first = i;
|
|
112
|
-
},
|
|
113
|
-
m(n, s) {
|
|
114
|
-
m(n, i, s), t.m(n, s), m(n, l, s);
|
|
115
|
-
},
|
|
116
|
-
p(n, s) {
|
|
117
|
-
e = n, _ === (_ = a(e)) && t ? t.p(e, s) : (t.d(1), t = _(e), t && (t.c(), t.m(l.parentNode, l)));
|
|
118
|
-
},
|
|
119
|
-
d(n) {
|
|
120
|
-
n && p(i), t.d(n), n && p(l);
|
|
121
|
-
}
|
|
122
|
-
};
|
|
123
|
-
}
|
|
124
|
-
function ee(o) {
|
|
125
|
-
let e = [], i = /* @__PURE__ */ new Map(), l, a = (
|
|
126
|
-
/*contentList*/
|
|
127
|
-
o[2]
|
|
128
|
-
);
|
|
129
|
-
const _ = (t) => (
|
|
130
|
-
/*id*/
|
|
131
|
-
t[19]
|
|
132
|
-
);
|
|
133
|
-
for (let t = 0; t < a.length; t += 1) {
|
|
134
|
-
let n = R(o, a, t), s = _(n);
|
|
135
|
-
i.set(s, e[t] = S(s, n));
|
|
136
|
-
}
|
|
137
|
-
return {
|
|
138
|
-
c() {
|
|
139
|
-
for (let t = 0; t < e.length; t += 1)
|
|
140
|
-
e[t].c();
|
|
141
|
-
l = k();
|
|
142
|
-
},
|
|
143
|
-
m(t, n) {
|
|
144
|
-
for (let s = 0; s < e.length; s += 1)
|
|
145
|
-
e[s] && e[s].m(t, n);
|
|
146
|
-
m(t, l, n);
|
|
147
|
-
},
|
|
148
|
-
p(t, [n]) {
|
|
149
|
-
n & /*spanEleList, contentList, __SpaceFlag__, __NewLineFlag__*/
|
|
150
|
-
30 && (a = /*contentList*/
|
|
151
|
-
t[2], e = G(e, n, _, 1, t, a, i, l.parentNode, X, S, l, R));
|
|
152
|
-
},
|
|
153
|
-
i: F,
|
|
154
|
-
o: F,
|
|
155
|
-
d(t) {
|
|
156
|
-
for (let n = 0; n < e.length; n += 1)
|
|
157
|
-
e[n].d(t);
|
|
158
|
-
t && p(l);
|
|
159
|
-
}
|
|
160
|
-
};
|
|
161
|
-
}
|
|
162
|
-
function te(o, e, i) {
|
|
163
|
-
let l, { inDelay: a = 0 } = e, { outDelay: _ = 0 } = e, { content: t } = e, { unfolded: n } = e, { isFistUnfoldedUpdate: s = !0 } = e;
|
|
164
|
-
const E = `__EMOJI_SPLIT_${y}__`, b = `__EMOJI_${y}__`, j = `__SPACE_${y}__`, D = `__NEW_LINE_${y}__`;
|
|
165
|
-
let U, f, d = [];
|
|
166
|
-
function C(r) {
|
|
167
|
-
const u = [], g = new RegExp(new RegExp("\\p{Regional_Indicator}\\p{Regional_Indicator}|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?(\\u200D\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?)+|\\p{Emoji_Presentation}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)", "gu"));
|
|
168
|
-
return r.slice().replace(g, (c) => `${E}${b}${c}${E}`).split(E).forEach((c) => c.startsWith(b) ? u.push({
|
|
169
|
-
id: w(),
|
|
170
|
-
content: c.slice(b.length)
|
|
171
|
-
}) : u.push(...c.split("").map((h) => h === " " ? j : h === `
|
|
172
|
-
` ? D : h).map((h) => ({ id: w(), content: h })))), u;
|
|
173
|
-
}
|
|
174
|
-
function L() {
|
|
175
|
-
if (!f)
|
|
176
|
-
return;
|
|
177
|
-
const r = !n;
|
|
178
|
-
f.reversed !== r && f.reverse(), f.play();
|
|
179
|
-
}
|
|
180
|
-
function T(r) {
|
|
181
|
-
if (s) {
|
|
182
|
-
i(5, s = !1);
|
|
183
|
-
return;
|
|
184
|
-
}
|
|
185
|
-
clearTimeout(U), U = setTimeout(L, r ? a : _);
|
|
186
|
-
}
|
|
187
|
-
function O(r) {
|
|
188
|
-
const u = function() {
|
|
189
|
-
const g = K((c) => r[c].getBoundingClientRect().x, [Math.min(r.length - 1, 10), Math.min(r.length - 1, 30)]);
|
|
190
|
-
if (g > 0)
|
|
191
|
-
return g;
|
|
192
|
-
}();
|
|
193
|
-
f = N({
|
|
194
|
-
targets: r.slice(0, u).filter(H),
|
|
195
|
-
autoplay: !1,
|
|
196
|
-
duration: 400,
|
|
197
|
-
scale: [0.7, 1],
|
|
198
|
-
rotate: [20, 0],
|
|
199
|
-
opacity: [0, 1],
|
|
200
|
-
translateX: [4, 0],
|
|
201
|
-
translateY: [10, 0],
|
|
202
|
-
delay: N.stagger(50),
|
|
203
|
-
easing: "easeInOutCubic"
|
|
204
|
-
}), n && f.seek(f.duration);
|
|
205
|
-
}
|
|
206
|
-
function P(r, u) {
|
|
207
|
-
M[r ? "unshift" : "push"](() => {
|
|
208
|
-
d[u] = r, i(1, d);
|
|
209
|
-
});
|
|
210
|
-
}
|
|
211
|
-
function J(r, u) {
|
|
212
|
-
M[r ? "unshift" : "push"](() => {
|
|
213
|
-
d[u] = r, i(1, d);
|
|
214
|
-
});
|
|
215
|
-
}
|
|
216
|
-
return o.$$set = (r) => {
|
|
217
|
-
"inDelay" in r && i(6, a = r.inDelay), "outDelay" in r && i(7, _ = r.outDelay), "content" in r && i(0, t = r.content), "unfolded" in r && i(8, n = r.unfolded), "isFistUnfoldedUpdate" in r && i(5, s = r.isFistUnfoldedUpdate);
|
|
218
|
-
}, o.$$.update = () => {
|
|
219
|
-
o.$$.dirty & /*content*/
|
|
220
|
-
1 && i(2, l = C(t)), o.$$.dirty & /*unfolded*/
|
|
221
|
-
256 && T(n), o.$$.dirty & /*spanEleList*/
|
|
222
|
-
2 && O(d.filter((r) => !!r));
|
|
223
|
-
}, [
|
|
224
|
-
t,
|
|
225
|
-
d,
|
|
226
|
-
l,
|
|
227
|
-
j,
|
|
228
|
-
D,
|
|
229
|
-
s,
|
|
230
|
-
a,
|
|
231
|
-
_,
|
|
232
|
-
n,
|
|
233
|
-
P,
|
|
234
|
-
J
|
|
235
|
-
];
|
|
236
|
-
}
|
|
237
|
-
class ae extends V {
|
|
238
|
-
constructor(e) {
|
|
239
|
-
super(), W(
|
|
240
|
-
this,
|
|
241
|
-
e,
|
|
242
|
-
te,
|
|
243
|
-
ee,
|
|
244
|
-
q,
|
|
245
|
-
{
|
|
246
|
-
inDelay: 6,
|
|
247
|
-
outDelay: 7,
|
|
248
|
-
content: 0,
|
|
249
|
-
unfolded: 8,
|
|
250
|
-
isFistUnfoldedUpdate: 5
|
|
251
|
-
},
|
|
252
|
-
Q
|
|
253
|
-
);
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
export {
|
|
257
|
-
ae as default
|
|
258
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SvelteComponentTyped as default } from 'svelte/internal';
|