@realsee/dnalogel 2.1.0-alpha.21 → 2.1.0-alpha.22
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/dist/index.es.js +12944 -17266
- package/dist/index.js +6027 -5946
- package/docs/assets/search.js +1 -1
- package/docs/classes/CruisePluginController.html +1 -1
- package/docs/classes/Magnifier.html +1 -1
- package/docs/classes/ModelRoomLabelController.html +1 -1
- package/docs/classes/Object3DHelperController.html +1 -1
- package/docs/classes/PaintBrush.html +1 -1
- package/docs/classes/PanoTagPluginController.html +3 -3
- package/docs/enums/CameraMovementEffect.html +1 -1
- package/docs/enums/ContentType.html +1 -1
- package/docs/enums/DIRECTION.html +1 -1
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +1 -1
- package/docs/enums/DimensionType.html +1 -1
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +1 -1
- package/docs/enums/LinkType.html +1 -1
- package/docs/enums/PaintBrushTypeEnum.html +1 -1
- package/docs/enums/PointType.html +1 -1
- package/docs/enums/Rotation.html +1 -1
- package/docs/index.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +1 -1
- package/docs/interfaces/CSS3DRenderPluginState.html +1 -1
- package/docs/interfaces/CameraMovementPluginExportType.html +1 -1
- package/docs/interfaces/ContentTypeMap.html +23 -0
- package/docs/interfaces/FloorplanBounding.html +1 -1
- package/docs/interfaces/FloorplanData.html +1 -1
- package/docs/interfaces/FloorplanEntrance.html +1 -1
- package/docs/interfaces/FloorplanExtraObject.html +1 -1
- package/docs/interfaces/FloorplanExtraObject3D.html +1 -1
- package/docs/interfaces/FloorplanFloorData.html +1 -1
- package/docs/interfaces/FloorplanImagePosition.html +1 -1
- package/docs/interfaces/FloorplanObserver.html +1 -1
- package/docs/interfaces/FloorplanOutlineItem.html +1 -1
- package/docs/interfaces/FloorplanPosition.html +1 -1
- package/docs/interfaces/FloorplanRoomItem.html +1 -1
- package/docs/interfaces/FloorplanRoomLabelItem.html +1 -1
- package/docs/interfaces/FloorplanServerBounding.html +1 -1
- package/docs/interfaces/FloorplanServerComputedData.html +1 -1
- package/docs/interfaces/FloorplanServerData.html +1 -1
- package/docs/interfaces/FloorplanServerDoorItem.html +1 -1
- package/docs/interfaces/FloorplanServerDoorPosition.html +1 -1
- package/docs/interfaces/FloorplanServerEntrance.html +1 -1
- package/docs/interfaces/FloorplanServerFloorData.html +1 -1
- package/docs/interfaces/FloorplanServerImagePosition.html +1 -1
- package/docs/interfaces/FloorplanServerObserver.html +1 -1
- package/docs/interfaces/FloorplanServerOutlineItem.html +1 -1
- package/docs/interfaces/FloorplanServerPosition.html +1 -1
- package/docs/interfaces/FloorplanServerRoomItem.html +1 -1
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +1 -1
- package/docs/interfaces/ItemLabelPluginData.html +1 -1
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +1 -1
- package/docs/interfaces/ItemLabelPluginParametersType.html +1 -1
- package/docs/interfaces/LineJson.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginData.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +1 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +1 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginData.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +1 -1
- package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginData.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginExportType.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +1 -1
- package/docs/interfaces/ModelViewPluginExportType.html +1 -1
- package/docs/interfaces/Object3DHelperState.html +1 -1
- package/docs/interfaces/OpenParameter.html +1 -1
- package/docs/interfaces/PaintBrushAction.html +1 -1
- package/docs/interfaces/PaintBrushConfigs.html +1 -1
- package/docs/interfaces/PaintBrushState.html +1 -1
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +1 -1
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +1 -1
- package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
- package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
- package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginExportType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginOptions.html +1 -1
- package/docs/interfaces/PanoRulerProPluginParameterType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginState.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +1 -1
- package/docs/interfaces/Point.html +1 -1
- package/docs/interfaces/PointJson.html +1 -1
- package/docs/interfaces/Room.html +1 -1
- package/docs/interfaces/RoomInfo.html +1 -1
- package/docs/interfaces/RoomLabel.html +1 -1
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +1 -1
- package/docs/interfaces/TagConfig.html +1 -1
- package/docs/interfaces/Tags.html +1 -1
- package/docs/modules.html +3 -3
- package/libs/PanoTagPlugin/Assets/Icon.d.ts +2 -1
- package/libs/PanoTagPlugin/Assets/Icon.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/Media.js +558 -548
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +107 -57
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +85 -79
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +65 -69
- package/libs/PanoTagPlugin/Components/PointTag.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +42 -42
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +91 -93
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +54 -58
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +43 -40
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +56 -56
- package/libs/PanoTagPlugin/Components/Tag/index.js +1 -1
- package/libs/PanoTagPlugin/Components/TagWrapper.js +1 -1
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +1 -0
- package/libs/PanoTagPlugin/controller/TagComputer.js +1 -1
- package/libs/PanoTagPlugin/controller/index.js +24 -30
- package/libs/PanoTagPlugin/index.js +2 -2
- package/libs/PanoTagPlugin/tag.config.js +1 -2
- package/libs/PanoTagPlugin/typings/tag.d.ts +1 -1
- package/libs/PanoTagPlugin/utils/doUtil.d.ts +1 -0
- package/libs/PanoTagPlugin/utils/doUtil.js +12 -0
- package/libs/{TagComputer.5bd7014b.js → TagComputer.0920083a.js} +108 -90
- package/libs/index.js +2 -2
- package/package.json +1 -3
- package/dist/index.cjs.js +0 -556
- package/dist/index.umd.js +0 -556
- package/libs/PanoTagPlugin/utils/nullishCoalescing.d.ts +0 -2
- package/libs/PanoTagPlugin/utils/nullishCoalescing.js +0 -7
|
@@ -1,33 +1,32 @@
|
|
|
1
|
-
import { S as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import A from "./
|
|
5
|
-
import B from "./DefaultPoint.js";
|
|
1
|
+
import { S as C, i as N, s as L, a as j, r as k, c as _, f as c, t as p, d as g, g as y, h as v, e as q, o as I, b as M, j as h, m as U, k as w } from "../../../../index.164f1850.js";
|
|
2
|
+
import { ContentType as b } from "../../../typings/tag.js";
|
|
3
|
+
import z from "./CustomPoint.js";
|
|
4
|
+
import A from "./DefaultPoint.js";
|
|
6
5
|
import "../Shadow.js";
|
|
7
6
|
import "../../../../index.dca207cb.js";
|
|
8
7
|
import "../../../../index.6a0eead1.js";
|
|
9
|
-
function
|
|
8
|
+
function B(i) {
|
|
10
9
|
j(i, "svelte-r4i9gl", ".point-click-helper.svelte-r4i9gl{width:2.5rem;height:2.5rem;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}");
|
|
11
10
|
}
|
|
12
|
-
function
|
|
13
|
-
let o,
|
|
11
|
+
function $(i) {
|
|
12
|
+
let o, l, e = i[0].contentType !== b.Link && D(i);
|
|
14
13
|
return {
|
|
15
14
|
c() {
|
|
16
|
-
e && e.c(), o =
|
|
15
|
+
e && e.c(), o = k();
|
|
17
16
|
},
|
|
18
|
-
m(t,
|
|
19
|
-
e && e.m(t,
|
|
17
|
+
m(t, n) {
|
|
18
|
+
e && e.m(t, n), _(t, o, n), l = !0;
|
|
20
19
|
},
|
|
21
|
-
p(t,
|
|
22
|
-
t[0].contentType !==
|
|
20
|
+
p(t, n) {
|
|
21
|
+
t[0].contentType !== b.Link ? e ? (e.p(t, n), n & 1 && c(e, 1)) : (e = D(t), e.c(), c(e, 1), e.m(o.parentNode, o)) : e && (v(), p(e, 1, 1, () => {
|
|
23
22
|
e = null;
|
|
24
23
|
}), g());
|
|
25
24
|
},
|
|
26
25
|
i(t) {
|
|
27
|
-
|
|
26
|
+
l || (c(e), l = !0);
|
|
28
27
|
},
|
|
29
28
|
o(t) {
|
|
30
|
-
p(e),
|
|
29
|
+
p(e), l = !1;
|
|
31
30
|
},
|
|
32
31
|
d(t) {
|
|
33
32
|
e && e.d(t), t && y(o);
|
|
@@ -35,39 +34,39 @@ function T(i) {
|
|
|
35
34
|
};
|
|
36
35
|
}
|
|
37
36
|
function D(i) {
|
|
38
|
-
let o,
|
|
39
|
-
const f = [
|
|
40
|
-
function d(r,
|
|
41
|
-
var m,
|
|
42
|
-
return ((
|
|
37
|
+
let o, l, e, t, n, a;
|
|
38
|
+
const f = [F, E], s = [];
|
|
39
|
+
function d(r, u) {
|
|
40
|
+
var m, S, P, T;
|
|
41
|
+
return ((S = (m = r[0].style) == null ? void 0 : m.point) == null ? void 0 : S.style) === "CustomIcon" && ((T = (P = r[0].style) == null ? void 0 : P.point) == null ? void 0 : T.iconUrl) ? 0 : 1;
|
|
43
42
|
}
|
|
44
43
|
return e = d(i), t = s[e] = f[e](i), {
|
|
45
44
|
c() {
|
|
46
|
-
o = q("div"),
|
|
45
|
+
o = q("div"), l = I(), t.c(), n = k(), M(o, "class", "point-click-helper svelte-r4i9gl");
|
|
47
46
|
},
|
|
48
|
-
m(r,
|
|
49
|
-
_(r, o,
|
|
47
|
+
m(r, u) {
|
|
48
|
+
_(r, o, u), _(r, l, u), s[e].m(r, u), _(r, n, u), a = !0;
|
|
50
49
|
},
|
|
51
|
-
p(r,
|
|
50
|
+
p(r, u) {
|
|
52
51
|
let m = e;
|
|
53
|
-
e = d(r), e === m ? s[e].p(r,
|
|
52
|
+
e = d(r), e === m ? s[e].p(r, u) : (v(), p(s[m], 1, 1, () => {
|
|
54
53
|
s[m] = null;
|
|
55
|
-
}), g(), t = s[e], t ? t.p(r,
|
|
54
|
+
}), g(), t = s[e], t ? t.p(r, u) : (t = s[e] = f[e](r), t.c()), c(t, 1), t.m(n.parentNode, n));
|
|
56
55
|
},
|
|
57
56
|
i(r) {
|
|
58
|
-
|
|
57
|
+
a || (c(t), a = !0);
|
|
59
58
|
},
|
|
60
59
|
o(r) {
|
|
61
|
-
p(t),
|
|
60
|
+
p(t), a = !1;
|
|
62
61
|
},
|
|
63
62
|
d(r) {
|
|
64
|
-
r && y(o), r && y(
|
|
63
|
+
r && y(o), r && y(l), s[e].d(r), r && y(n);
|
|
65
64
|
}
|
|
66
65
|
};
|
|
67
66
|
}
|
|
68
|
-
function
|
|
69
|
-
let o,
|
|
70
|
-
return o = new
|
|
67
|
+
function E(i) {
|
|
68
|
+
let o, l;
|
|
69
|
+
return o = new A({
|
|
71
70
|
props: {
|
|
72
71
|
unfolded: i[0].state.unfolded,
|
|
73
72
|
foldDelay: i[1]
|
|
@@ -77,26 +76,26 @@ function F(i) {
|
|
|
77
76
|
h(o.$$.fragment);
|
|
78
77
|
},
|
|
79
78
|
m(e, t) {
|
|
80
|
-
|
|
79
|
+
U(o, e, t), l = !0;
|
|
81
80
|
},
|
|
82
81
|
p(e, t) {
|
|
83
|
-
const
|
|
84
|
-
t & 1 && (
|
|
82
|
+
const n = {};
|
|
83
|
+
t & 1 && (n.unfolded = e[0].state.unfolded), t & 2 && (n.foldDelay = e[1]), o.$set(n);
|
|
85
84
|
},
|
|
86
85
|
i(e) {
|
|
87
|
-
|
|
86
|
+
l || (c(o.$$.fragment, e), l = !0);
|
|
88
87
|
},
|
|
89
88
|
o(e) {
|
|
90
|
-
p(o.$$.fragment, e),
|
|
89
|
+
p(o.$$.fragment, e), l = !1;
|
|
91
90
|
},
|
|
92
91
|
d(e) {
|
|
93
|
-
|
|
92
|
+
w(o, e);
|
|
94
93
|
}
|
|
95
94
|
};
|
|
96
95
|
}
|
|
97
|
-
function
|
|
98
|
-
let o,
|
|
99
|
-
return o = new
|
|
96
|
+
function F(i) {
|
|
97
|
+
let o, l;
|
|
98
|
+
return o = new z({
|
|
100
99
|
props: {
|
|
101
100
|
iconUrl: i[0].style.point.iconUrl,
|
|
102
101
|
unfolded: i[0].state.unfolded,
|
|
@@ -107,68 +106,65 @@ function G(i) {
|
|
|
107
106
|
h(o.$$.fragment);
|
|
108
107
|
},
|
|
109
108
|
m(e, t) {
|
|
110
|
-
|
|
109
|
+
U(o, e, t), l = !0;
|
|
111
110
|
},
|
|
112
111
|
p(e, t) {
|
|
113
|
-
const
|
|
114
|
-
t & 1 && (
|
|
112
|
+
const n = {};
|
|
113
|
+
t & 1 && (n.iconUrl = e[0].style.point.iconUrl), t & 1 && (n.unfolded = e[0].state.unfolded), t & 2 && (n.foldDelay = e[1]), o.$set(n);
|
|
115
114
|
},
|
|
116
115
|
i(e) {
|
|
117
|
-
|
|
116
|
+
l || (c(o.$$.fragment, e), l = !0);
|
|
118
117
|
},
|
|
119
118
|
o(e) {
|
|
120
|
-
p(o.$$.fragment, e),
|
|
119
|
+
p(o.$$.fragment, e), l = !1;
|
|
121
120
|
},
|
|
122
121
|
d(e) {
|
|
123
|
-
|
|
122
|
+
w(o, e);
|
|
124
123
|
}
|
|
125
124
|
};
|
|
126
125
|
}
|
|
127
|
-
function
|
|
128
|
-
var t,
|
|
129
|
-
let o,
|
|
126
|
+
function G(i) {
|
|
127
|
+
var t, n, a;
|
|
128
|
+
let o, l, e = ((t = i[0].pointTagStyle) == null ? void 0 : t.leftPercent) && ((n = i[0].pointTagStyle) == null ? void 0 : n.topPercent) && i[0].enabled !== !1 && i[0].state && ((a = i[0].temporaryState) == null ? void 0 : a.visible) !== !1 && $(i);
|
|
130
129
|
return {
|
|
131
130
|
c() {
|
|
132
|
-
e && e.c(), o =
|
|
131
|
+
e && e.c(), o = k();
|
|
133
132
|
},
|
|
134
133
|
m(f, s) {
|
|
135
|
-
e && e.m(f, s), _(f, o, s),
|
|
134
|
+
e && e.m(f, s), _(f, o, s), l = !0;
|
|
136
135
|
},
|
|
137
136
|
p(f, [s]) {
|
|
138
|
-
var d, r,
|
|
139
|
-
((d = f[0].pointTagStyle) == null ? void 0 : d.leftPercent) && ((r = f[0].pointTagStyle) == null ? void 0 : r.topPercent) && f[0].enabled !== !1 && f[0].state && ((
|
|
137
|
+
var d, r, u;
|
|
138
|
+
((d = f[0].pointTagStyle) == null ? void 0 : d.leftPercent) && ((r = f[0].pointTagStyle) == null ? void 0 : r.topPercent) && f[0].enabled !== !1 && f[0].state && ((u = f[0].temporaryState) == null ? void 0 : u.visible) !== !1 ? e ? (e.p(f, s), s & 1 && c(e, 1)) : (e = $(f), e.c(), c(e, 1), e.m(o.parentNode, o)) : e && (v(), p(e, 1, 1, () => {
|
|
140
139
|
e = null;
|
|
141
140
|
}), g());
|
|
142
141
|
},
|
|
143
142
|
i(f) {
|
|
144
|
-
|
|
143
|
+
l || (c(e), l = !0);
|
|
145
144
|
},
|
|
146
145
|
o(f) {
|
|
147
|
-
p(e),
|
|
146
|
+
p(e), l = !1;
|
|
148
147
|
},
|
|
149
148
|
d(f) {
|
|
150
149
|
e && e.d(f), f && y(o);
|
|
151
150
|
}
|
|
152
151
|
};
|
|
153
152
|
}
|
|
154
|
-
function
|
|
153
|
+
function H(i, o, l) {
|
|
155
154
|
let e;
|
|
156
|
-
var t;
|
|
157
|
-
let { tag:
|
|
158
|
-
return i.$$set = (
|
|
159
|
-
"tag" in
|
|
155
|
+
var t, n;
|
|
156
|
+
let { tag: a } = o;
|
|
157
|
+
return i.$$set = (f) => {
|
|
158
|
+
"tag" in f && l(0, a = f.tag);
|
|
160
159
|
}, i.$$.update = () => {
|
|
161
|
-
i.$$.dirty &
|
|
162
|
-
|
|
163
|
-
l.contentType === k.Marketing ? 600 : void 0
|
|
164
|
-
));
|
|
165
|
-
}, [l, e, t];
|
|
160
|
+
i.$$.dirty & 13 && l(1, e = l(3, n = l(2, t = a.style) === null || t === void 0 ? void 0 : t.foldedPointDelay) !== null && n !== void 0 ? n : a.contentType === b.Marketing ? 600 : void 0);
|
|
161
|
+
}, [a, e, t, n];
|
|
166
162
|
}
|
|
167
|
-
class
|
|
163
|
+
class X extends C {
|
|
168
164
|
constructor(o) {
|
|
169
|
-
super(), N(this, o,
|
|
165
|
+
super(), N(this, o, H, G, L, { tag: 0 }, B);
|
|
170
166
|
}
|
|
171
167
|
}
|
|
172
168
|
export {
|
|
173
|
-
|
|
169
|
+
X as default
|
|
174
170
|
};
|
|
@@ -17,7 +17,7 @@ import "../utils/search.js";
|
|
|
17
17
|
import "../utils/constants.js";
|
|
18
18
|
import "./Common/Arrow.js";
|
|
19
19
|
import "../Assets/Icon.js";
|
|
20
|
-
import "../utils/
|
|
20
|
+
import "../utils/doUtil.js";
|
|
21
21
|
import "./Tag/ImageTextTag.js";
|
|
22
22
|
import "./Common/Line/Polyline.js";
|
|
23
23
|
import "./Common/Media.js";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { S as
|
|
2
|
-
import
|
|
1
|
+
import { S as O, i as P, s as Q, a as V, r as X, c as H, f as _, t as b, d as Y, g as J, e as w, j as $, o as q, b as z, q as y, z as Z, I as F, m as D, p, A as x, K as ee, k as M, h as te } from "../../../index.164f1850.js";
|
|
2
|
+
import ie from "../../../shared-utils/uuid.js";
|
|
3
3
|
import "../Common/Text.js";
|
|
4
4
|
import "three";
|
|
5
5
|
import "../../utils/constants.js";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import U from "../../utils/nullishCoalescing.js";
|
|
6
|
+
import oe from "../Common/Shadow.js";
|
|
7
|
+
import ne from "../Common/Audio.js";
|
|
8
|
+
import se from "../Common/Line/Straight.js";
|
|
9
|
+
import le from "../Common/MultiLineText.js";
|
|
11
10
|
import "../../../shared-utils/isNil.js";
|
|
12
11
|
import "../../utils/search.js";
|
|
13
12
|
import "../../../index.dca207cb.js";
|
|
14
13
|
import "../../../index.6a0eead1.js";
|
|
15
14
|
import "../Common/Arrow.js";
|
|
16
15
|
import "../../Assets/Icon.js";
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
import "../../utils/doUtil.js";
|
|
17
|
+
function re(e) {
|
|
18
|
+
V(e, "svelte-4r8s18", ".audio-tag.svelte-4r8s18.svelte-4r8s18{position:absolute;left:0;top:0;width:0;height:0;overflow:visible}.line.svelte-4r8s18.svelte-4r8s18{display:flex;position:absolute;top:0;left:0;width:10.125rem;height:0.0625rem;transform:translate3d(0, -50%, 0.625rem)}.content.svelte-4r8s18.svelte-4r8s18{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-4r8s18.svelte-4r8s18{position:relative;width:100%;height:100%}.audio-icon.svelte-4r8s18.svelte-4r8s18{vertical-align:top;display:inline-block;width:1rem;height:1rem;margin-right:0.25rem;margin-top:0.0625rem}.unfolded.svelte-4r8s18 .audio-icon.svelte-4r8s18{pointer-events:auto}");
|
|
19
19
|
}
|
|
20
|
-
function
|
|
21
|
-
var W, j;
|
|
22
|
-
let o, n, i, s, l, h, f, a, m, d, k, g, u, v, S,
|
|
23
|
-
return n = new
|
|
20
|
+
function G(e) {
|
|
21
|
+
var R, W, j, K;
|
|
22
|
+
let o, n, i, s, l, h, f, a, m, d, k, g, u, v, S, U, C;
|
|
23
|
+
return n = new oe({
|
|
24
24
|
props: {
|
|
25
25
|
visible: e[6],
|
|
26
26
|
left: e[3] / 2 + "px",
|
|
@@ -29,22 +29,22 @@ function B(e) {
|
|
|
29
29
|
blurRadius: 120,
|
|
30
30
|
spreadRadius: 60
|
|
31
31
|
}
|
|
32
|
-
}), l = new
|
|
32
|
+
}), l = new se({
|
|
33
33
|
props: {
|
|
34
34
|
unfolded: e[6],
|
|
35
35
|
duration: 1e3,
|
|
36
|
-
outDelay: e[5] + 20 * Math.min(
|
|
36
|
+
outDelay: e[5] + 20 * Math.min((W = (R = e[4][0]) == null ? void 0 : R.content.length) != null ? W : 10, 15)
|
|
37
37
|
}
|
|
38
|
-
}), d = new
|
|
38
|
+
}), d = new ne({
|
|
39
39
|
props: {
|
|
40
40
|
unfolded: e[6],
|
|
41
41
|
mediaStore: e[0],
|
|
42
42
|
url: e[1].data.audioUrl,
|
|
43
43
|
duration: 1e3,
|
|
44
|
-
outDelay: 20 * Math.min(
|
|
44
|
+
outDelay: 20 * Math.min((K = (j = e[4][0]) == null ? void 0 : j.content.length) != null ? K : 10, 15),
|
|
45
45
|
hooksInfo: { tag: e[1] }
|
|
46
46
|
}
|
|
47
|
-
}), u = new
|
|
47
|
+
}), u = new le({
|
|
48
48
|
props: {
|
|
49
49
|
visible: e[6],
|
|
50
50
|
textUnfolded: e[2],
|
|
@@ -52,59 +52,59 @@ function B(e) {
|
|
|
52
52
|
}
|
|
53
53
|
}), {
|
|
54
54
|
c() {
|
|
55
|
-
o = w("div"), $(n.$$.fragment), i = q(), s = w("div"), $(l.$$.fragment), h = q(), f = w("div"), a = w("div"), m = w("div"), $(d.$$.fragment), k = q(), g = w("div"), $(u.$$.fragment), z(s, "class", "line svelte-4r8s18"), y(s, "width", e[3] + "px"), z(m, "class", "audio-icon svelte-4r8s18"), y(g, "display", "inline-block"), z(a, "class", "wrapper svelte-4r8s18"), z(f, "class", "content svelte-4r8s18"),
|
|
55
|
+
o = w("div"), $(n.$$.fragment), i = q(), s = w("div"), $(l.$$.fragment), h = q(), f = w("div"), a = w("div"), m = w("div"), $(d.$$.fragment), k = q(), g = w("div"), $(u.$$.fragment), z(s, "class", "line svelte-4r8s18"), y(s, "width", e[3] + "px"), z(m, "class", "audio-icon svelte-4r8s18"), y(g, "display", "inline-block"), z(a, "class", "wrapper svelte-4r8s18"), z(f, "class", "content svelte-4r8s18"), Z(() => e[10].call(f)), z(o, "class", "audio-tag svelte-4r8s18"), F(o, "unfolded", e[6]);
|
|
56
56
|
},
|
|
57
57
|
m(t, r) {
|
|
58
|
-
|
|
58
|
+
H(t, o, r), D(n, o, null), p(o, i), p(o, s), D(l, s, null), p(o, h), p(o, f), p(f, a), p(a, m), D(d, m, null), p(a, k), p(a, g), D(u, g, null), v = x(f, e[10].bind(f)), S = !0, U || (C = ee(g, "click", e[7]), U = !0);
|
|
59
59
|
},
|
|
60
60
|
p(t, r) {
|
|
61
|
-
var
|
|
62
|
-
const
|
|
63
|
-
r & 64 && (
|
|
61
|
+
var L, N, B, E;
|
|
62
|
+
const A = {};
|
|
63
|
+
r & 64 && (A.visible = t[6]), r & 8 && (A.left = t[3] / 2 + "px"), n.$set(A);
|
|
64
64
|
const T = {};
|
|
65
|
-
r & 64 && (T.unfolded = t[6]), r & 48 && (T.outDelay = t[5] + 20 * Math.min(
|
|
66
|
-
const
|
|
67
|
-
r & 64 && (
|
|
65
|
+
r & 64 && (T.unfolded = t[6]), r & 48 && (T.outDelay = t[5] + 20 * Math.min((N = (L = t[4][0]) == null ? void 0 : L.content.length) != null ? N : 10, 15)), l.$set(T), r & 8 && y(s, "width", t[3] + "px");
|
|
66
|
+
const c = {};
|
|
67
|
+
r & 64 && (c.unfolded = t[6]), r & 1 && (c.mediaStore = t[0]), r & 2 && (c.url = t[1].data.audioUrl), r & 16 && (c.outDelay = 20 * Math.min((E = (B = t[4][0]) == null ? void 0 : B.content.length) != null ? E : 10, 15)), r & 2 && (c.hooksInfo = { tag: t[1] }), d.$set(c);
|
|
68
68
|
const I = {};
|
|
69
|
-
r & 64 && (I.visible = t[6]), r & 4 && (I.textUnfolded = t[2]), r & 16 && (I.textItems = t[4]), u.$set(I), (!S || r & 64) &&
|
|
69
|
+
r & 64 && (I.visible = t[6]), r & 4 && (I.textUnfolded = t[2]), r & 16 && (I.textItems = t[4]), u.$set(I), (!S || r & 64) && F(o, "unfolded", t[6]);
|
|
70
70
|
},
|
|
71
71
|
i(t) {
|
|
72
|
-
S || (
|
|
72
|
+
S || (_(n.$$.fragment, t), _(l.$$.fragment, t), _(d.$$.fragment, t), _(u.$$.fragment, t), S = !0);
|
|
73
73
|
},
|
|
74
74
|
o(t) {
|
|
75
75
|
b(n.$$.fragment, t), b(l.$$.fragment, t), b(d.$$.fragment, t), b(u.$$.fragment, t), S = !1;
|
|
76
76
|
},
|
|
77
77
|
d(t) {
|
|
78
|
-
t &&
|
|
78
|
+
t && J(o), M(n), M(l), M(d), M(u), v(), U = !1, C();
|
|
79
79
|
}
|
|
80
80
|
};
|
|
81
81
|
}
|
|
82
|
-
function
|
|
83
|
-
let o, n, i = e[1].state &&
|
|
82
|
+
function ae(e) {
|
|
83
|
+
let o, n, i = e[1].state && G(e);
|
|
84
84
|
return {
|
|
85
85
|
c() {
|
|
86
|
-
i && i.c(), o =
|
|
86
|
+
i && i.c(), o = X();
|
|
87
87
|
},
|
|
88
88
|
m(s, l) {
|
|
89
|
-
i && i.m(s, l),
|
|
89
|
+
i && i.m(s, l), H(s, o, l), n = !0;
|
|
90
90
|
},
|
|
91
91
|
p(s, [l]) {
|
|
92
|
-
s[1].state ? i ? (i.p(s, l), l & 2 &&
|
|
92
|
+
s[1].state ? i ? (i.p(s, l), l & 2 && _(i, 1)) : (i = G(s), i.c(), _(i, 1), i.m(o.parentNode, o)) : i && (te(), b(i, 1, 1, () => {
|
|
93
93
|
i = null;
|
|
94
|
-
}),
|
|
94
|
+
}), Y());
|
|
95
95
|
},
|
|
96
96
|
i(s) {
|
|
97
|
-
n || (
|
|
97
|
+
n || (_(i), n = !0);
|
|
98
98
|
},
|
|
99
99
|
o(s) {
|
|
100
100
|
b(i), n = !1;
|
|
101
101
|
},
|
|
102
102
|
d(s) {
|
|
103
|
-
i && i.d(s), s &&
|
|
103
|
+
i && i.d(s), s && J(o);
|
|
104
104
|
}
|
|
105
105
|
};
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function de(e, o, n) {
|
|
108
108
|
let i, s, l;
|
|
109
109
|
var h;
|
|
110
110
|
let { mediaStore: f } = o, { tag: a } = o, m = !1, d, k = [];
|
|
@@ -117,7 +117,7 @@ function le(e, o, n) {
|
|
|
117
117
|
return e.$$set = (v) => {
|
|
118
118
|
"mediaStore" in v && n(0, f = v.mediaStore), "tag" in v && n(1, a = v.tag);
|
|
119
119
|
}, e.$$.update = () => {
|
|
120
|
-
e.$$.dirty & 258 && n(6, i = !!(!(n(8, h = a.state) === null || h === void 0) && h.unfolded)), e.$$.dirty & 2 && n(9, s = a.data.text), e.$$.dirty & 512 && n(4, k = [{ id:
|
|
120
|
+
e.$$.dirty & 258 && n(6, i = !!(!(n(8, h = a.state) === null || h === void 0) && h.unfolded)), e.$$.dirty & 2 && n(9, s = a.data.text), e.$$.dirty & 512 && n(4, k = [{ id: ie(), content: s }]), e.$$.dirty & 4 && n(5, l = m ? 450 : 0);
|
|
121
121
|
}, [
|
|
122
122
|
f,
|
|
123
123
|
a,
|
|
@@ -132,11 +132,11 @@ function le(e, o, n) {
|
|
|
132
132
|
u
|
|
133
133
|
];
|
|
134
134
|
}
|
|
135
|
-
class
|
|
135
|
+
class De extends O {
|
|
136
136
|
constructor(o) {
|
|
137
|
-
super(),
|
|
137
|
+
super(), P(this, o, de, ae, Q, { mediaStore: 0, tag: 1 }, re);
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
export {
|
|
141
|
-
|
|
141
|
+
De as default
|
|
142
142
|
};
|