@realsee/dnalogel 3.80.1-alpha.1 → 3.80.3
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 +8 -0
- package/dist/index.cjs.js +60 -60
- package/dist/index.js +6410 -6390
- package/dist/index.umd.js +61 -61
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +325 -305
- package/libs/Sculpt/Objects/Base/index.js +38 -38
- package/libs/base/BasePlugin.js +5 -5
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
1
|
+
import { SvelteComponent as ue, init as we, safe_not_equal as _e, append_styles as ye, add_render_callback as Te, element as h, create_component as de, space as I, text as E, attr as v, set_style as C, null_to_empty as Z, toggle_class as j, insert as U, mount_component as ge, append as d, listen as be, set_data as D, transition_in as Y, transition_out as B, check_outros as Me, detach as z, destroy_component as he, src_url_equal as X, action_destroyer as Pe, destroy_each as x, run_all as Ce, group_outros as Ue, noop as ke } from "../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import "../../../shared-utils/tag.js";
|
|
3
3
|
import "three";
|
|
4
4
|
import "../../../vendor/hammerjs/hammer.js";
|
|
@@ -6,7 +6,7 @@ import "../../../shared-utils/three/PointSelector/index.js";
|
|
|
6
6
|
import "../../../shared-utils/three/CSS3DRenderer/index.js";
|
|
7
7
|
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
8
8
|
import "@realsee/five/line";
|
|
9
|
-
import { notNil as
|
|
9
|
+
import { notNil as $ } from "../../../shared-utils/isNil.js";
|
|
10
10
|
import "../../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
11
11
|
import "../../../shared-utils/three/core/Sphere.js";
|
|
12
12
|
import "../../../shared-utils/three/blink.js";
|
|
@@ -14,11 +14,11 @@ import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
14
14
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
15
15
|
import "../../../vendor/earcut/src/earcut.js";
|
|
16
16
|
import "../../../shared-utils/five/FivePuppet.js";
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import { svelteResizeObserver as
|
|
20
|
-
import { MARKETING_MORE_ICON as
|
|
21
|
-
import
|
|
17
|
+
import ee from "../../utils/px2rem.js";
|
|
18
|
+
import ze from "../Common/Shadow.js";
|
|
19
|
+
import { svelteResizeObserver as Ie } from "../../../shared-utils/svelte/resizeObserver.js";
|
|
20
|
+
import { MARKETING_MORE_ICON as Se, MARKETING_LIGHT_MORE_ICON as Ee } from "./Assets/marketingIcon.js";
|
|
21
|
+
import De from "../Common/MediaItem.js";
|
|
22
22
|
import "../../../shared-utils/positionToVector3.js";
|
|
23
23
|
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
24
24
|
import "../../../shared-utils/five/getFiveModel.js";
|
|
@@ -75,161 +75,161 @@ import "../../../vendor/svelte/transition/index.js";
|
|
|
75
75
|
import "../../../vendor/svelte/easing/index.js";
|
|
76
76
|
import "../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
77
77
|
import "../../Assets/Icon.js";
|
|
78
|
-
function
|
|
79
|
-
|
|
78
|
+
function Le(i) {
|
|
79
|
+
ye(i, "svelte-biv7k0", '@charset "UTF-8";.svelte-biv7k0.svelte-biv7k0{box-sizing:border-box}.marketing.svelte-biv7k0.svelte-biv7k0{transform:translateY(-100%)}.marketing.svelte-biv7k0 .line.svelte-biv7k0{position:absolute;height:1.875rem;width:0.0625rem;left:50%;transform:translateX(-50%);background-color:white;bottom:0;transform-origin:bottom;transition:all 500ms}.marketing.svelte-biv7k0 .content.svelte-biv7k0{position:relative;min-width:7.5rem;width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;border-radius:0.375rem;top:-1.875rem;left:-1rem;transition-property:opacity, transform;transition-duration:500ms}.marketing.svelte-biv7k0 .content .headerImage.svelte-biv7k0{width:100%;position:absolute;left:0;top:0;transform:translateY(-100%);border-top-left-radius:0.375rem;border-top-right-radius:0.375rem}.marketing.svelte-biv7k0 .content .content-wrapper.svelte-biv7k0{width:100%;padding:1.25rem}.title-wrapper.svelte-biv7k0.svelte-biv7k0{position:relative;width:100%}.title-wrapper.svelte-biv7k0 .title.svelte-biv7k0{border-radius:0.25rem;width:100%}.title-wrapper.svelte-biv7k0 .title .text.svelte-biv7k0{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:normal;word-break:break-word;overflow-wrap:break-word;hyphens:auto;-webkit-hyphens:auto;letter-spacing:0;font-size:1rem;font-weight:600;line-height:1.375rem}.price-wrapper.svelte-biv7k0.svelte-biv7k0{box-sizing:border-box;width:100%;margin-top:0.5rem;display:flex;justify-content:space-between;align-items:center}.price-wrapper.svelte-biv7k0 .price-section.svelte-biv7k0{flex-shrink:0;overflow:hidden;white-space:nowrap}.price-wrapper.svelte-biv7k0 .price-section .value.svelte-biv7k0{font-size:1.25rem;font-weight:700;line-height:1.5rem;font-family:DINAlternate-Bold TG-TYPE, PingFangSC, Segoe UI, Rototo, sans-serif;letter-spacing:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.price-wrapper.svelte-biv7k0 .price-section .unit.svelte-biv7k0{font-size:1.25rem;font-weight:700;line-height:1.5rem;font-family:DINAlternate-Bold TG-TYPE, PingFangSC, Segoe UI, Rototo, sans-serif !important;letter-spacing:0}.price-wrapper.svelte-biv7k0 .action-section.svelte-biv7k0{display:flex;align-items:center;height:1.125rem}.price-wrapper.svelte-biv7k0 .action-section .highlight-text.svelte-biv7k0{font-size:0.75rem;line-height:1.125rem;font-weight:400;letter-spacing:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:8.75rem}.tags-wrapper.svelte-biv7k0.svelte-biv7k0{position:relative;overflow:hidden;margin-top:0.3125rem}.tags-wrapper.svelte-biv7k0 .tags.svelte-biv7k0{position:relative;display:inline-flex;max-width:100%;flex-wrap:wrap}.tags-wrapper.svelte-biv7k0 .tags .tag.svelte-biv7k0{display:block;text-align:center;flex-shrink:0;flex-grow:0;font-size:0.75rem;font-weight:400;height:1.125rem;line-height:1.125rem;margin-right:0.25rem;margin-bottom:0.25rem;padding:0 0.25rem;border-radius:0.125rem;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box}.media-wrapper.svelte-biv7k0.svelte-biv7k0{margin-top:0.375rem;width:100%;aspect-ratio:16/9;border-radius:0.25rem;overflow:hidden}.description.svelte-biv7k0.svelte-biv7k0{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4;width:100%;overflow:hidden;text-overflow:ellipsis;word-break:break-word;overflow-wrap:break-word;hyphens:auto;-webkit-hyphens:auto;white-space:normal;margin-top:0.25rem;font-size:0.875rem;font-weight:400;line-height:1.25rem;letter-spacing:0}.more-share-wrapper.svelte-biv7k0.svelte-biv7k0{margin-top:0.75rem;display:block;width:100%;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between}.more-share-wrapper.svelte-biv7k0 .more-text.svelte-biv7k0{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:center;height:1.25rem;font-size:0.875rem;font-weight:500;line-height:1.25rem;letter-spacing:0}.more-share-wrapper.svelte-biv7k0 .more-text .more-icon.svelte-biv7k0{margin-left:0.125rem;width:0.875rem;height:0.875rem}.marketing.light.svelte-biv7k0 .content.svelte-biv7k0{background-color:white}.marketing.light.svelte-biv7k0 .content .title-wrapper .title .text.svelte-biv7k0{color:rgba(0, 0, 0, 0.8)}.marketing.light.svelte-biv7k0 .content .tags-wrapper .tags .primary-tag.svelte-biv7k0{background:rgba(234, 208, 154, 0.5);color:#946700}.marketing.light.svelte-biv7k0 .content .tags-wrapper .tags .secondary-tag.svelte-biv7k0{background:rgba(0, 0, 0, 0.06);color:rgba(0, 0, 0, 0.5)}.marketing.light.svelte-biv7k0 .content .description.svelte-biv7k0{color:#000}.marketing.light.svelte-biv7k0 .content .price-wrapper.svelte-biv7k0{color:#ae7900}.marketing.light.svelte-biv7k0 .content .more-share-wrapper .more-text.svelte-biv7k0{font-family:PingFangSC-Medium;color:rgba(0, 0, 0, 0.8509803922)}.marketing.dark.svelte-biv7k0 .content.svelte-biv7k0{background-color:rgba(0, 0, 0, 0.75)}.marketing.dark.svelte-biv7k0 .content .title-wrapper .title .text.svelte-biv7k0{color:white}.marketing.dark.svelte-biv7k0 .content .tags-wrapper .tags .primary-tag.svelte-biv7k0{background:rgba(234, 208, 154, 0.5);color:white}.marketing.dark.svelte-biv7k0 .content .tags-wrapper .tags .secondary-tag.svelte-biv7k0{background:rgba(255, 255, 255, 0.15);color:rgba(255, 255, 255, 0.85)}.marketing.dark.svelte-biv7k0 .content .description.svelte-biv7k0{color:#fff}.marketing.dark.svelte-biv7k0 .content .price-wrapper.svelte-biv7k0{color:#ead09a;fill:#ead09a}.marketing.dark.svelte-biv7k0 .content .more-share-wrapper .more-text.svelte-biv7k0{font-family:PingFangSC-Medium;color:#fff}.marketing.unfolded.svelte-biv7k0 .line.svelte-biv7k0{transform:translateX(-50%) scale(1, 1);transition-timing-function:ease-out}.marketing.folded.svelte-biv7k0 .line.svelte-biv7k0{transform:translateX(-50%) scale(1, 0);transition-timing-function:ease-in}.marketing.unfolded.svelte-biv7k0 .content.svelte-biv7k0{opacity:1;transform:translateY(0);transition-timing-function:ease-out}.marketing.folded.svelte-biv7k0 .content.svelte-biv7k0{opacity:0;transform:translateY(0.425rem);transition-timing-function:ease-in}.tag.svelte-biv7k0.svelte-biv7k0,.text.svelte-biv7k0.svelte-biv7k0{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}');
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function te(i, e, t) {
|
|
82
82
|
const l = i.slice();
|
|
83
83
|
return l[0] = e[t], l;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function ie(i, e, t) {
|
|
86
86
|
const l = i.slice();
|
|
87
87
|
return l[0] = e[t], l;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function re(i) {
|
|
90
90
|
let e, t;
|
|
91
91
|
return {
|
|
92
92
|
c() {
|
|
93
|
-
e = h("img"), v(e, "class", "headerImage svelte-biv7k0"),
|
|
94
|
-
i[
|
|
93
|
+
e = h("img"), v(e, "class", "headerImage svelte-biv7k0"), X(e.src, t = /*data*/
|
|
94
|
+
i[2].headerPictureUrl) || v(e, "src", t), v(e, "alt", "");
|
|
95
95
|
},
|
|
96
96
|
m(l, r) {
|
|
97
|
-
|
|
97
|
+
U(l, e, r);
|
|
98
98
|
},
|
|
99
99
|
p(l, r) {
|
|
100
|
-
r & /*data*/
|
|
101
|
-
|
|
102
|
-
l[
|
|
100
|
+
r[0] & /*data*/
|
|
101
|
+
4 && !X(e.src, t = /*data*/
|
|
102
|
+
l[2].headerPictureUrl) && v(e, "src", t);
|
|
103
103
|
},
|
|
104
104
|
d(l) {
|
|
105
|
-
l &&
|
|
105
|
+
l && z(e);
|
|
106
106
|
}
|
|
107
107
|
};
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function le(i) {
|
|
110
110
|
let e, t, l, r, n, o = (
|
|
111
111
|
/*primaryTags*/
|
|
112
|
-
i[
|
|
113
|
-
),
|
|
112
|
+
i[5] || []
|
|
113
|
+
), a = [];
|
|
114
114
|
for (let f = 0; f < o.length; f += 1)
|
|
115
|
-
|
|
116
|
-
let
|
|
115
|
+
a[f] = oe(ie(i, o, f));
|
|
116
|
+
let s = (
|
|
117
117
|
/*secondaryTags*/
|
|
118
|
-
i[
|
|
119
|
-
),
|
|
120
|
-
for (let f = 0; f <
|
|
121
|
-
|
|
118
|
+
i[4] || []
|
|
119
|
+
), g = [];
|
|
120
|
+
for (let f = 0; f < s.length; f += 1)
|
|
121
|
+
g[f] = ne(te(i, s, f));
|
|
122
122
|
return {
|
|
123
123
|
c() {
|
|
124
124
|
e = h("div"), t = h("div");
|
|
125
|
-
for (let f = 0; f <
|
|
126
|
-
|
|
125
|
+
for (let f = 0; f < a.length; f += 1)
|
|
126
|
+
a[f].c();
|
|
127
127
|
l = I();
|
|
128
|
-
for (let f = 0; f <
|
|
129
|
-
|
|
128
|
+
for (let f = 0; f < g.length; f += 1)
|
|
129
|
+
g[f].c();
|
|
130
130
|
v(t, "class", "tags svelte-biv7k0"), v(e, "class", "tags-wrapper svelte-biv7k0");
|
|
131
131
|
},
|
|
132
132
|
m(f, T) {
|
|
133
|
-
|
|
134
|
-
for (let
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
for (let
|
|
138
|
-
|
|
133
|
+
U(f, e, T), d(e, t);
|
|
134
|
+
for (let p = 0; p < a.length; p += 1)
|
|
135
|
+
a[p] && a[p].m(t, null);
|
|
136
|
+
d(t, l);
|
|
137
|
+
for (let p = 0; p < g.length; p += 1)
|
|
138
|
+
g[p] && g[p].m(t, null);
|
|
139
139
|
r || (n = [
|
|
140
|
-
|
|
141
|
-
|
|
140
|
+
Pe(Ie.call(null, t)),
|
|
141
|
+
be(
|
|
142
142
|
t,
|
|
143
143
|
"clientHeight",
|
|
144
144
|
/*clientHeight_handler*/
|
|
145
|
-
i[
|
|
145
|
+
i[26]
|
|
146
146
|
)
|
|
147
147
|
], r = !0);
|
|
148
148
|
},
|
|
149
149
|
p(f, T) {
|
|
150
|
-
if (T & /*
|
|
151
|
-
|
|
150
|
+
if (T[0] & /*primaryTags*/
|
|
151
|
+
32) {
|
|
152
152
|
o = /*primaryTags*/
|
|
153
|
-
f[
|
|
154
|
-
let
|
|
155
|
-
for (
|
|
156
|
-
const
|
|
157
|
-
|
|
153
|
+
f[5] || [];
|
|
154
|
+
let p;
|
|
155
|
+
for (p = 0; p < o.length; p += 1) {
|
|
156
|
+
const M = ie(f, o, p);
|
|
157
|
+
a[p] ? a[p].p(M, T) : (a[p] = oe(M), a[p].c(), a[p].m(t, l));
|
|
158
158
|
}
|
|
159
|
-
for (;
|
|
160
|
-
|
|
161
|
-
|
|
159
|
+
for (; p < a.length; p += 1)
|
|
160
|
+
a[p].d(1);
|
|
161
|
+
a.length = o.length;
|
|
162
162
|
}
|
|
163
|
-
if (T & /*
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
f[
|
|
167
|
-
let
|
|
168
|
-
for (
|
|
169
|
-
const
|
|
170
|
-
|
|
163
|
+
if (T[0] & /*secondaryTags*/
|
|
164
|
+
16) {
|
|
165
|
+
s = /*secondaryTags*/
|
|
166
|
+
f[4] || [];
|
|
167
|
+
let p;
|
|
168
|
+
for (p = 0; p < s.length; p += 1) {
|
|
169
|
+
const M = te(f, s, p);
|
|
170
|
+
g[p] ? g[p].p(M, T) : (g[p] = ne(M), g[p].c(), g[p].m(t, null));
|
|
171
171
|
}
|
|
172
|
-
for (;
|
|
173
|
-
|
|
174
|
-
|
|
172
|
+
for (; p < g.length; p += 1)
|
|
173
|
+
g[p].d(1);
|
|
174
|
+
g.length = s.length;
|
|
175
175
|
}
|
|
176
176
|
},
|
|
177
177
|
d(f) {
|
|
178
|
-
f &&
|
|
178
|
+
f && z(e), x(a, f), x(g, f), r = !1, Ce(n);
|
|
179
179
|
}
|
|
180
180
|
};
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function oe(i) {
|
|
183
183
|
let e, t = (
|
|
184
184
|
/*tag*/
|
|
185
185
|
i[0] + ""
|
|
186
186
|
), l;
|
|
187
187
|
return {
|
|
188
188
|
c() {
|
|
189
|
-
e = h("div"), l =
|
|
189
|
+
e = h("div"), l = E(t), v(e, "class", "tag primary-tag svelte-biv7k0"), C(e, "min-width", q);
|
|
190
190
|
},
|
|
191
191
|
m(r, n) {
|
|
192
|
-
|
|
192
|
+
U(r, e, n), d(e, l);
|
|
193
193
|
},
|
|
194
194
|
p(r, n) {
|
|
195
|
-
n & /*primaryTags*/
|
|
196
|
-
|
|
195
|
+
n[0] & /*primaryTags*/
|
|
196
|
+
32 && t !== (t = /*tag*/
|
|
197
197
|
r[0] + "") && D(l, t);
|
|
198
198
|
},
|
|
199
199
|
d(r) {
|
|
200
|
-
r &&
|
|
200
|
+
r && z(e);
|
|
201
201
|
}
|
|
202
202
|
};
|
|
203
203
|
}
|
|
204
|
-
function
|
|
204
|
+
function ne(i) {
|
|
205
205
|
let e, t = (
|
|
206
206
|
/*tag*/
|
|
207
207
|
i[0] + ""
|
|
208
208
|
), l;
|
|
209
209
|
return {
|
|
210
210
|
c() {
|
|
211
|
-
e = h("div"), l =
|
|
211
|
+
e = h("div"), l = E(t), v(e, "class", "tag secondary-tag svelte-biv7k0"), C(e, "min-width", q);
|
|
212
212
|
},
|
|
213
213
|
m(r, n) {
|
|
214
|
-
|
|
214
|
+
U(r, e, n), d(e, l);
|
|
215
215
|
},
|
|
216
216
|
p(r, n) {
|
|
217
|
-
n & /*secondaryTags*/
|
|
218
|
-
|
|
217
|
+
n[0] & /*secondaryTags*/
|
|
218
|
+
16 && t !== (t = /*tag*/
|
|
219
219
|
r[0] + "") && D(l, t);
|
|
220
220
|
},
|
|
221
221
|
d(r) {
|
|
222
|
-
r &&
|
|
222
|
+
r && z(e);
|
|
223
223
|
}
|
|
224
224
|
};
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function ae(i) {
|
|
227
227
|
let e, t, l;
|
|
228
|
-
return t = new
|
|
228
|
+
return t = new De({
|
|
229
229
|
props: {
|
|
230
230
|
media: (
|
|
231
231
|
/*mediaData*/
|
|
232
|
-
i[
|
|
232
|
+
i[16][0]
|
|
233
233
|
),
|
|
234
234
|
tag: (
|
|
235
235
|
/*tag*/
|
|
@@ -239,219 +239,222 @@ function te(i) {
|
|
|
239
239
|
}
|
|
240
240
|
}), {
|
|
241
241
|
c() {
|
|
242
|
-
e = h("div"),
|
|
242
|
+
e = h("div"), de(t.$$.fragment), v(e, "class", "media-wrapper svelte-biv7k0");
|
|
243
243
|
},
|
|
244
244
|
m(r, n) {
|
|
245
|
-
|
|
245
|
+
U(r, e, n), ge(t, e, null), l = !0;
|
|
246
246
|
},
|
|
247
247
|
p(r, n) {
|
|
248
248
|
const o = {};
|
|
249
|
-
n & /*mediaData*/
|
|
250
|
-
|
|
251
|
-
r[
|
|
249
|
+
n[0] & /*mediaData*/
|
|
250
|
+
65536 && (o.media = /*mediaData*/
|
|
251
|
+
r[16][0]), n[0] & /*tag*/
|
|
252
252
|
1 && (o.tag = /*tag*/
|
|
253
253
|
r[0]), t.$set(o);
|
|
254
254
|
},
|
|
255
255
|
i(r) {
|
|
256
|
-
l || (
|
|
256
|
+
l || (Y(t.$$.fragment, r), l = !0);
|
|
257
257
|
},
|
|
258
258
|
o(r) {
|
|
259
|
-
|
|
259
|
+
B(t.$$.fragment, r), l = !1;
|
|
260
260
|
},
|
|
261
261
|
d(r) {
|
|
262
|
-
r &&
|
|
262
|
+
r && z(e), he(t);
|
|
263
263
|
}
|
|
264
264
|
};
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function se(i) {
|
|
267
267
|
let e, t = (
|
|
268
268
|
/*data*/
|
|
269
|
-
i[
|
|
269
|
+
i[2].description + ""
|
|
270
270
|
), l;
|
|
271
271
|
return {
|
|
272
272
|
c() {
|
|
273
|
-
e = h("div"), l =
|
|
273
|
+
e = h("div"), l = E(t), v(e, "class", "description svelte-biv7k0");
|
|
274
274
|
},
|
|
275
275
|
m(r, n) {
|
|
276
|
-
|
|
276
|
+
U(r, e, n), d(e, l);
|
|
277
277
|
},
|
|
278
278
|
p(r, n) {
|
|
279
|
-
n & /*data*/
|
|
280
|
-
|
|
281
|
-
r[
|
|
279
|
+
n[0] & /*data*/
|
|
280
|
+
4 && t !== (t = /*data*/
|
|
281
|
+
r[2].description + "") && D(l, t);
|
|
282
282
|
},
|
|
283
283
|
d(r) {
|
|
284
|
-
r &&
|
|
284
|
+
r && z(e);
|
|
285
285
|
}
|
|
286
286
|
};
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function pe(i) {
|
|
289
289
|
let e, t, l, r = (
|
|
290
290
|
/*havePrice*/
|
|
291
|
-
i[
|
|
291
|
+
i[3] && me(i)
|
|
292
292
|
), n = !/*havePrice*/
|
|
293
|
-
i[
|
|
294
|
-
i[
|
|
293
|
+
i[3] && /*data*/
|
|
294
|
+
i[2].highlightText && ve(i);
|
|
295
295
|
return {
|
|
296
296
|
c() {
|
|
297
297
|
e = h("div"), r && r.c(), t = I(), l = h("div"), n && n.c(), v(l, "class", "action-section svelte-biv7k0"), v(e, "class", "price-wrapper svelte-biv7k0");
|
|
298
298
|
},
|
|
299
|
-
m(o,
|
|
300
|
-
|
|
299
|
+
m(o, a) {
|
|
300
|
+
U(o, e, a), r && r.m(e, null), d(e, t), d(e, l), n && n.m(l, null);
|
|
301
301
|
},
|
|
302
|
-
p(o,
|
|
302
|
+
p(o, a) {
|
|
303
303
|
/*havePrice*/
|
|
304
|
-
o[
|
|
305
|
-
o[
|
|
306
|
-
o[
|
|
304
|
+
o[3] ? r ? r.p(o, a) : (r = me(o), r.c(), r.m(e, t)) : r && (r.d(1), r = null), !/*havePrice*/
|
|
305
|
+
o[3] && /*data*/
|
|
306
|
+
o[2].highlightText ? n ? n.p(o, a) : (n = ve(o), n.c(), n.m(l, null)) : n && (n.d(1), n = null);
|
|
307
307
|
},
|
|
308
308
|
d(o) {
|
|
309
|
-
o &&
|
|
309
|
+
o && z(e), r && r.d(), n && n.d();
|
|
310
310
|
}
|
|
311
311
|
};
|
|
312
312
|
}
|
|
313
|
-
function
|
|
313
|
+
function me(i) {
|
|
314
314
|
let e, t, l = (
|
|
315
315
|
/*data*/
|
|
316
|
-
i[
|
|
316
|
+
i[2].price.value + ""
|
|
317
317
|
), r, n, o = (
|
|
318
318
|
/*data*/
|
|
319
|
-
i[
|
|
319
|
+
i[2].price.unit && fe(i)
|
|
320
320
|
);
|
|
321
321
|
return {
|
|
322
322
|
c() {
|
|
323
|
-
e = h("div"), t = h("span"), r =
|
|
323
|
+
e = h("div"), t = h("span"), r = E(l), n = I(), o && o.c(), v(t, "class", "value svelte-biv7k0"), v(e, "class", "price-section svelte-biv7k0");
|
|
324
324
|
},
|
|
325
|
-
m(
|
|
326
|
-
|
|
325
|
+
m(a, s) {
|
|
326
|
+
U(a, e, s), d(e, t), d(t, r), d(e, n), o && o.m(e, null);
|
|
327
327
|
},
|
|
328
|
-
p(
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
328
|
+
p(a, s) {
|
|
329
|
+
s[0] & /*data*/
|
|
330
|
+
4 && l !== (l = /*data*/
|
|
331
|
+
a[2].price.value + "") && D(r, l), /*data*/
|
|
332
|
+
a[2].price.unit ? o ? o.p(a, s) : (o = fe(a), o.c(), o.m(e, null)) : o && (o.d(1), o = null);
|
|
333
333
|
},
|
|
334
|
-
d(
|
|
335
|
-
|
|
334
|
+
d(a) {
|
|
335
|
+
a && z(e), o && o.d();
|
|
336
336
|
}
|
|
337
337
|
};
|
|
338
338
|
}
|
|
339
|
-
function
|
|
339
|
+
function fe(i) {
|
|
340
340
|
let e, t = (
|
|
341
341
|
/*data*/
|
|
342
|
-
i[
|
|
342
|
+
i[2].price.unit + ""
|
|
343
343
|
), l;
|
|
344
344
|
return {
|
|
345
345
|
c() {
|
|
346
|
-
e = h("span"), l =
|
|
346
|
+
e = h("span"), l = E(t), v(e, "class", "unit svelte-biv7k0");
|
|
347
347
|
},
|
|
348
348
|
m(r, n) {
|
|
349
|
-
|
|
349
|
+
U(r, e, n), d(e, l);
|
|
350
350
|
},
|
|
351
351
|
p(r, n) {
|
|
352
|
-
n & /*data*/
|
|
353
|
-
|
|
354
|
-
r[
|
|
352
|
+
n[0] & /*data*/
|
|
353
|
+
4 && t !== (t = /*data*/
|
|
354
|
+
r[2].price.unit + "") && D(l, t);
|
|
355
355
|
},
|
|
356
356
|
d(r) {
|
|
357
|
-
r &&
|
|
357
|
+
r && z(e);
|
|
358
358
|
}
|
|
359
359
|
};
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function ve(i) {
|
|
362
362
|
let e, t = (
|
|
363
363
|
/*data*/
|
|
364
|
-
i[
|
|
364
|
+
i[2].highlightText + ""
|
|
365
365
|
), l;
|
|
366
366
|
return {
|
|
367
367
|
c() {
|
|
368
|
-
e = h("span"), l =
|
|
368
|
+
e = h("span"), l = E(t), v(e, "class", "highlight-text svelte-biv7k0");
|
|
369
369
|
},
|
|
370
370
|
m(r, n) {
|
|
371
|
-
|
|
371
|
+
U(r, e, n), d(e, l);
|
|
372
372
|
},
|
|
373
373
|
p(r, n) {
|
|
374
|
-
n & /*data*/
|
|
375
|
-
|
|
376
|
-
r[
|
|
374
|
+
n[0] & /*data*/
|
|
375
|
+
4 && t !== (t = /*data*/
|
|
376
|
+
r[2].highlightText + "") && D(l, t);
|
|
377
377
|
},
|
|
378
378
|
d(r) {
|
|
379
|
-
r &&
|
|
379
|
+
r && z(e);
|
|
380
380
|
}
|
|
381
381
|
};
|
|
382
382
|
}
|
|
383
|
-
function
|
|
383
|
+
function ce(i) {
|
|
384
384
|
let e, t, l, r;
|
|
385
|
-
function n(
|
|
385
|
+
function n(s, g) {
|
|
386
386
|
return (
|
|
387
387
|
/*isLight*/
|
|
388
|
-
|
|
388
|
+
s[17] ? Re : Ne
|
|
389
389
|
);
|
|
390
390
|
}
|
|
391
|
-
let o = n(i),
|
|
391
|
+
let o = n(i), a = o(i);
|
|
392
392
|
return {
|
|
393
393
|
c() {
|
|
394
|
-
e = h("div"), t = h("div"), l =
|
|
394
|
+
e = h("div"), t = h("div"), l = E(
|
|
395
395
|
/*viewMoreText*/
|
|
396
|
-
i[
|
|
397
|
-
), r = I(),
|
|
396
|
+
i[9]
|
|
397
|
+
), r = I(), a.c(), v(t, "class", "more-text svelte-biv7k0"), v(e, "class", "more-share-wrapper svelte-biv7k0");
|
|
398
398
|
},
|
|
399
|
-
m(
|
|
400
|
-
|
|
399
|
+
m(s, g) {
|
|
400
|
+
U(s, e, g), d(e, t), d(t, l), d(t, r), a.m(t, null);
|
|
401
401
|
},
|
|
402
|
-
p(
|
|
403
|
-
|
|
404
|
-
|
|
402
|
+
p(s, g) {
|
|
403
|
+
g[0] & /*viewMoreText*/
|
|
404
|
+
512 && D(
|
|
405
405
|
l,
|
|
406
406
|
/*viewMoreText*/
|
|
407
|
-
|
|
408
|
-
), o === (o = n(
|
|
407
|
+
s[9]
|
|
408
|
+
), o === (o = n(s)) && a ? a.p(s, g) : (a.d(1), a = o(s), a && (a.c(), a.m(t, null)));
|
|
409
409
|
},
|
|
410
|
-
d(
|
|
411
|
-
|
|
410
|
+
d(s) {
|
|
411
|
+
s && z(e), a.d();
|
|
412
412
|
}
|
|
413
413
|
};
|
|
414
414
|
}
|
|
415
|
-
function
|
|
415
|
+
function Ne(i) {
|
|
416
416
|
let e, t;
|
|
417
417
|
return {
|
|
418
418
|
c() {
|
|
419
|
-
e = h("img"), v(e, "class", "more-icon svelte-biv7k0"),
|
|
419
|
+
e = h("img"), v(e, "class", "more-icon svelte-biv7k0"), X(e.src, t = Se) || v(e, "src", t), v(e, "alt", "查看更多");
|
|
420
420
|
},
|
|
421
421
|
m(l, r) {
|
|
422
|
-
|
|
422
|
+
U(l, e, r);
|
|
423
423
|
},
|
|
424
|
-
p:
|
|
424
|
+
p: ke,
|
|
425
425
|
d(l) {
|
|
426
|
-
l &&
|
|
426
|
+
l && z(e);
|
|
427
427
|
}
|
|
428
428
|
};
|
|
429
429
|
}
|
|
430
|
-
function
|
|
430
|
+
function Re(i) {
|
|
431
431
|
let e, t;
|
|
432
432
|
return {
|
|
433
433
|
c() {
|
|
434
|
-
e = h("img"), v(e, "class", "more-icon svelte-biv7k0"),
|
|
434
|
+
e = h("img"), v(e, "class", "more-icon svelte-biv7k0"), X(e.src, t = Ee) || v(e, "src", t), v(e, "alt", "查看更多");
|
|
435
435
|
},
|
|
436
436
|
m(l, r) {
|
|
437
|
-
|
|
437
|
+
U(l, e, r);
|
|
438
438
|
},
|
|
439
|
-
p:
|
|
439
|
+
p: ke,
|
|
440
440
|
d(l) {
|
|
441
|
-
l &&
|
|
441
|
+
l && z(e);
|
|
442
442
|
}
|
|
443
443
|
};
|
|
444
444
|
}
|
|
445
|
-
function
|
|
446
|
-
let e, t, l, r, n, o,
|
|
445
|
+
function We(i) {
|
|
446
|
+
let e, t, l, r, n, o, a, s, g, f, T, p = (
|
|
447
447
|
/*data*/
|
|
448
|
-
i[
|
|
449
|
-
),
|
|
450
|
-
|
|
448
|
+
i[2].title + ""
|
|
449
|
+
), M, R, L, W, A, F, N, S, H, P;
|
|
450
|
+
Te(
|
|
451
|
+
/*onwindowresize*/
|
|
452
|
+
i[25]
|
|
453
|
+
), t = new ze({
|
|
451
454
|
props: {
|
|
452
455
|
visible: (
|
|
453
456
|
/*unfolded*/
|
|
454
|
-
i[
|
|
457
|
+
i[8]
|
|
455
458
|
),
|
|
456
459
|
outDelay: 500,
|
|
457
460
|
left: 61,
|
|
@@ -462,237 +465,254 @@ function Re(i) {
|
|
|
462
465
|
});
|
|
463
466
|
let u = (
|
|
464
467
|
/*data*/
|
|
465
|
-
i[
|
|
466
|
-
),
|
|
468
|
+
i[2].headerPictureUrl && re(i)
|
|
469
|
+
), k = (
|
|
467
470
|
/*hasTags*/
|
|
468
|
-
i[
|
|
469
|
-
),
|
|
471
|
+
i[11] && le(i)
|
|
472
|
+
), b = (
|
|
470
473
|
/*showMedia*/
|
|
471
|
-
i[
|
|
472
|
-
i[
|
|
473
|
-
i[
|
|
474
|
-
),
|
|
474
|
+
i[15] && /*mediaData*/
|
|
475
|
+
i[16] && /*mediaData*/
|
|
476
|
+
i[16].length > 0 && ae(i)
|
|
477
|
+
), w = (
|
|
475
478
|
/*data*/
|
|
476
|
-
i[
|
|
477
|
-
),
|
|
479
|
+
i[2].description && se(i)
|
|
480
|
+
), _ = (
|
|
478
481
|
/*havePrice*/
|
|
479
|
-
(i[
|
|
480
|
-
i[
|
|
481
|
-
),
|
|
482
|
+
(i[3] || /*data*/
|
|
483
|
+
i[2].highlightText) && pe(i)
|
|
484
|
+
), y = (
|
|
482
485
|
/*hasMore*/
|
|
483
|
-
i[
|
|
486
|
+
i[10] && ce(i)
|
|
484
487
|
);
|
|
485
488
|
return {
|
|
486
489
|
c() {
|
|
487
|
-
e = h("div"),
|
|
490
|
+
e = h("div"), de(t.$$.fragment), l = I(), r = h("div"), n = I(), o = h("div"), u && u.c(), a = I(), s = h("div"), g = h("div"), f = h("div"), T = h("div"), M = E(p), R = I(), k && k.c(), L = I(), b && b.c(), W = I(), w && w.c(), A = I(), _ && _.c(), F = I(), y && y.c(), v(r, "class", "line svelte-biv7k0"), C(
|
|
488
491
|
r,
|
|
489
492
|
"transition-delay",
|
|
490
493
|
/*unfolded*/
|
|
491
|
-
i[
|
|
494
|
+
i[8] ? (
|
|
492
495
|
/*lineDelayUnfolded*/
|
|
493
|
-
i[
|
|
496
|
+
i[14] + "ms"
|
|
494
497
|
) : (
|
|
495
498
|
/*lineDelayFolded*/
|
|
496
|
-
i[
|
|
499
|
+
i[13] + "ms"
|
|
497
500
|
)
|
|
498
|
-
), v(T, "class", "text svelte-biv7k0"), v(f, "class", "title svelte-biv7k0"), v(
|
|
499
|
-
|
|
501
|
+
), v(T, "class", "text svelte-biv7k0"), v(f, "class", "title svelte-biv7k0"), v(g, "class", "title-wrapper svelte-biv7k0"), v(s, "class", "content-wrapper svelte-biv7k0"), C(
|
|
502
|
+
s,
|
|
500
503
|
"padding-top",
|
|
501
504
|
/*data*/
|
|
502
|
-
i[
|
|
503
|
-
), v(o, "class", "content svelte-biv7k0"),
|
|
505
|
+
i[2].headerPictureUrl ? "10px" : "20px"
|
|
506
|
+
), v(o, "class", "content svelte-biv7k0"), C(o, "max-width", ee(
|
|
504
507
|
/*maxWidth*/
|
|
505
|
-
i[
|
|
506
|
-
)),
|
|
508
|
+
i[6]
|
|
509
|
+
)), C(
|
|
507
510
|
o,
|
|
508
511
|
"transition-delay",
|
|
509
512
|
/*unfolded*/
|
|
510
|
-
i[
|
|
513
|
+
i[8] ? (
|
|
511
514
|
/*contentDelayUnfolded*/
|
|
512
|
-
i[
|
|
515
|
+
i[12] + "ms"
|
|
513
516
|
) : "0ms"
|
|
514
|
-
),
|
|
517
|
+
), C(
|
|
515
518
|
o,
|
|
516
519
|
"border-top-left-radius",
|
|
517
520
|
/*data*/
|
|
518
|
-
i[
|
|
519
|
-
),
|
|
521
|
+
i[2].headerPictureUrl ? "0px" : "6px"
|
|
522
|
+
), C(
|
|
520
523
|
o,
|
|
521
524
|
"border-top-right-radius",
|
|
522
525
|
/*data*/
|
|
523
|
-
i[
|
|
524
|
-
), v(e, "class",
|
|
525
|
-
i[
|
|
526
|
+
i[2].headerPictureUrl ? "0px" : "6px"
|
|
527
|
+
), v(e, "class", N = Z(`marketing ${/*theme*/
|
|
528
|
+
i[7]}`) + " svelte-biv7k0"), j(
|
|
526
529
|
e,
|
|
527
530
|
"unfolded",
|
|
528
531
|
/*unfolded*/
|
|
529
|
-
i[
|
|
530
|
-
),
|
|
532
|
+
i[8]
|
|
533
|
+
), j(
|
|
531
534
|
e,
|
|
532
535
|
"folded",
|
|
533
536
|
/*folded*/
|
|
534
|
-
i[
|
|
537
|
+
i[18]
|
|
535
538
|
);
|
|
536
539
|
},
|
|
537
|
-
m(
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
540
|
+
m(m, c) {
|
|
541
|
+
U(m, e, c), ge(t, e, null), d(e, l), d(e, r), d(e, n), d(e, o), u && u.m(o, null), d(o, a), d(o, s), d(s, g), d(g, f), d(f, T), d(T, M), d(s, R), k && k.m(s, null), d(s, L), b && b.m(s, null), d(s, W), w && w.m(s, null), d(s, A), _ && _.m(s, null), d(s, F), y && y.m(s, null), S = !0, H || (P = be(
|
|
542
|
+
window,
|
|
543
|
+
"resize",
|
|
544
|
+
/*onwindowresize*/
|
|
545
|
+
i[25]
|
|
546
|
+
), H = !0);
|
|
547
|
+
},
|
|
548
|
+
p(m, c) {
|
|
549
|
+
const O = {};
|
|
550
|
+
c[0] & /*unfolded*/
|
|
551
|
+
256 && (O.visible = /*unfolded*/
|
|
552
|
+
m[8]), t.$set(O), c[0] & /*unfolded, lineDelayUnfolded, lineDelayFolded*/
|
|
553
|
+
24832 && C(
|
|
546
554
|
r,
|
|
547
555
|
"transition-delay",
|
|
548
556
|
/*unfolded*/
|
|
549
|
-
|
|
557
|
+
m[8] ? (
|
|
550
558
|
/*lineDelayUnfolded*/
|
|
551
|
-
|
|
559
|
+
m[14] + "ms"
|
|
552
560
|
) : (
|
|
553
561
|
/*lineDelayFolded*/
|
|
554
|
-
|
|
562
|
+
m[13] + "ms"
|
|
555
563
|
)
|
|
556
564
|
), /*data*/
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
}),
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
565
|
+
m[2].headerPictureUrl ? u ? u.p(m, c) : (u = re(m), u.c(), u.m(o, a)) : u && (u.d(1), u = null), (!S || c[0] & /*data*/
|
|
566
|
+
4) && p !== (p = /*data*/
|
|
567
|
+
m[2].title + "") && D(M, p), /*hasTags*/
|
|
568
|
+
m[11] ? k ? k.p(m, c) : (k = le(m), k.c(), k.m(s, L)) : k && (k.d(1), k = null), /*showMedia*/
|
|
569
|
+
m[15] && /*mediaData*/
|
|
570
|
+
m[16] && /*mediaData*/
|
|
571
|
+
m[16].length > 0 ? b ? (b.p(m, c), c[0] & /*showMedia, mediaData*/
|
|
572
|
+
98304 && Y(b, 1)) : (b = ae(m), b.c(), Y(b, 1), b.m(s, W)) : b && (Ue(), B(b, 1, 1, () => {
|
|
573
|
+
b = null;
|
|
574
|
+
}), Me()), /*data*/
|
|
575
|
+
m[2].description ? w ? w.p(m, c) : (w = se(m), w.c(), w.m(s, A)) : w && (w.d(1), w = null), /*havePrice*/
|
|
576
|
+
m[3] || /*data*/
|
|
577
|
+
m[2].highlightText ? _ ? _.p(m, c) : (_ = pe(m), _.c(), _.m(s, F)) : _ && (_.d(1), _ = null), /*hasMore*/
|
|
578
|
+
m[10] ? y ? y.p(m, c) : (y = ce(m), y.c(), y.m(s, null)) : y && (y.d(1), y = null), c[0] & /*data*/
|
|
579
|
+
4 && C(
|
|
580
|
+
s,
|
|
573
581
|
"padding-top",
|
|
574
582
|
/*data*/
|
|
575
|
-
|
|
576
|
-
),
|
|
577
|
-
|
|
583
|
+
m[2].headerPictureUrl ? "10px" : "20px"
|
|
584
|
+
), c[0] & /*maxWidth*/
|
|
585
|
+
64 && C(o, "max-width", ee(
|
|
586
|
+
/*maxWidth*/
|
|
587
|
+
m[6]
|
|
588
|
+
)), c[0] & /*unfolded, contentDelayUnfolded*/
|
|
589
|
+
4352 && C(
|
|
578
590
|
o,
|
|
579
591
|
"transition-delay",
|
|
580
592
|
/*unfolded*/
|
|
581
|
-
|
|
593
|
+
m[8] ? (
|
|
582
594
|
/*contentDelayUnfolded*/
|
|
583
|
-
|
|
595
|
+
m[12] + "ms"
|
|
584
596
|
) : "0ms"
|
|
585
|
-
),
|
|
586
|
-
|
|
597
|
+
), c[0] & /*data*/
|
|
598
|
+
4 && C(
|
|
587
599
|
o,
|
|
588
600
|
"border-top-left-radius",
|
|
589
601
|
/*data*/
|
|
590
|
-
|
|
591
|
-
),
|
|
592
|
-
|
|
602
|
+
m[2].headerPictureUrl ? "0px" : "6px"
|
|
603
|
+
), c[0] & /*data*/
|
|
604
|
+
4 && C(
|
|
593
605
|
o,
|
|
594
606
|
"border-top-right-radius",
|
|
595
607
|
/*data*/
|
|
596
|
-
|
|
597
|
-
), (!
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
608
|
+
m[2].headerPictureUrl ? "0px" : "6px"
|
|
609
|
+
), (!S || c[0] & /*theme*/
|
|
610
|
+
128 && N !== (N = Z(`marketing ${/*theme*/
|
|
611
|
+
m[7]}`) + " svelte-biv7k0")) && v(e, "class", N), (!S || c[0] & /*theme, unfolded*/
|
|
612
|
+
384) && j(
|
|
601
613
|
e,
|
|
602
614
|
"unfolded",
|
|
603
615
|
/*unfolded*/
|
|
604
|
-
|
|
605
|
-
), (!
|
|
606
|
-
|
|
616
|
+
m[8]
|
|
617
|
+
), (!S || c[0] & /*theme, folded*/
|
|
618
|
+
262272) && j(
|
|
607
619
|
e,
|
|
608
620
|
"folded",
|
|
609
621
|
/*folded*/
|
|
610
|
-
|
|
622
|
+
m[18]
|
|
611
623
|
);
|
|
612
624
|
},
|
|
613
|
-
i(
|
|
614
|
-
|
|
625
|
+
i(m) {
|
|
626
|
+
S || (Y(t.$$.fragment, m), Y(b), S = !0);
|
|
615
627
|
},
|
|
616
|
-
o(
|
|
617
|
-
|
|
628
|
+
o(m) {
|
|
629
|
+
B(t.$$.fragment, m), B(b), S = !1;
|
|
618
630
|
},
|
|
619
|
-
d(
|
|
620
|
-
|
|
631
|
+
d(m) {
|
|
632
|
+
m && z(e), he(t), u && u.d(), k && k.d(), b && b.d(), w && w.d(), _ && _.d(), y && y.d(), H = !1, P();
|
|
621
633
|
}
|
|
622
634
|
};
|
|
623
635
|
}
|
|
624
|
-
const
|
|
625
|
-
function
|
|
626
|
-
let l, r, n, o,
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
if (typeof a == "number")
|
|
630
|
-
return a;
|
|
631
|
-
if (a === !0)
|
|
632
|
-
return 280;
|
|
633
|
-
})(), g = 0, _ = !1;
|
|
634
|
-
function y(a) {
|
|
635
|
-
Math.abs(u - a) > 5 && (t(19, u = a), setTimeout(
|
|
636
|
+
const Ae = 499, Fe = 238, He = 280, q = 40;
|
|
637
|
+
function Oe(i, e, t) {
|
|
638
|
+
let l, r, n, o, a, s, g, f, T, p, M, R, L, W, A, F, N, S, H, { tag: P } = e, u = 0, k, b = 0, w = !1;
|
|
639
|
+
function _(c) {
|
|
640
|
+
Math.abs(k - c) > 5 && (t(20, k = c), setTimeout(
|
|
636
641
|
() => {
|
|
637
|
-
t(
|
|
642
|
+
t(22, w = !1);
|
|
638
643
|
},
|
|
639
644
|
100
|
|
640
645
|
));
|
|
641
646
|
}
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
647
|
+
function y() {
|
|
648
|
+
t(1, u = window.innerWidth);
|
|
649
|
+
}
|
|
650
|
+
const m = (c) => _(c.detail);
|
|
651
|
+
return i.$$set = (c) => {
|
|
652
|
+
"tag" in c && t(0, P = c.tag);
|
|
645
653
|
}, i.$$.update = () => {
|
|
646
|
-
var
|
|
647
|
-
i.$$.dirty & /*tag*/
|
|
648
|
-
1 && t(
|
|
649
|
-
|
|
650
|
-
1 && t(
|
|
651
|
-
|
|
652
|
-
1 && t(
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
1 && t(
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
k,
|
|
654
|
+
var c, O, K, J, Q;
|
|
655
|
+
i.$$.dirty[0] & /*tag*/
|
|
656
|
+
1 && t(8, l = (O = (c = P.state) == null ? void 0 : c.unfolded) != null ? O : !1), i.$$.dirty[0] & /*unfolded*/
|
|
657
|
+
256 && t(18, r = !l), i.$$.dirty[0] & /*tag*/
|
|
658
|
+
1 && t(2, n = P.data), i.$$.dirty[0] & /*data*/
|
|
659
|
+
4 && t(3, o = $((K = n.price) == null ? void 0 : K.value) && ((J = n.price) == null ? void 0 : J.value) !== ""), i.$$.dirty[0] & /*tag*/
|
|
660
|
+
1 && t(7, a = P.data.theme || "light"), i.$$.dirty[0] & /*theme*/
|
|
661
|
+
128 && t(17, s = a === "light"), i.$$.dirty[0] & /*data*/
|
|
662
|
+
4 && t(16, g = n.mediaData), i.$$.dirty[0] & /*tag*/
|
|
663
|
+
1 && t(15, f = ((Q = P.config.popoverConfig) == null ? void 0 : Q.showMedia) === !0), i.$$.dirty[0] & /*windowWidth*/
|
|
664
|
+
2 && t(24, T = u > 0 && u <= Ae), i.$$.dirty[0] & /*tag, isSmallScreen*/
|
|
665
|
+
16777217 && t(6, p = (() => {
|
|
666
|
+
var V;
|
|
667
|
+
const G = (V = P.data.limitWidth) != null ? V : !0;
|
|
668
|
+
if (typeof G == "number")
|
|
669
|
+
return G;
|
|
670
|
+
if (G === !0)
|
|
671
|
+
return T ? Fe : He;
|
|
672
|
+
})()), i.$$.dirty[0] & /*tagsCalculated, maxWidth, tagsOffsetHeight, maxTagsLength*/
|
|
673
|
+
7340096 && (!w || p && p > 0) && (t(21, b = Math.max(1, Math.floor(((p || 172) - 20) / q))), k !== void 0 && k > 40 && t(21, b = Math.max(1, b - 1)), t(22, w = !0)), i.$$.dirty[0] & /*data, maxTagsLength*/
|
|
674
|
+
2097156 && t(5, M = (n.brandTags || []).filter(Boolean).slice(0, b)), i.$$.dirty[0] & /*maxTagsLength, primaryTags*/
|
|
675
|
+
2097184 && t(23, R = Math.max(0, b - M.length)), i.$$.dirty[0] & /*data, secondaryTagsLimit*/
|
|
676
|
+
8388612 && t(4, L = (n.tags || []).filter(Boolean).slice(0, R)), i.$$.dirty[0] & /*primaryTags, secondaryTags*/
|
|
677
|
+
48 && t(11, N = M.length > 0 || L.length > 0), i.$$.dirty[0] & /*havePrice, data*/
|
|
678
|
+
12 && (o || n.highlightText), i.$$.dirty[0] & /*tag*/
|
|
679
|
+
1 && t(10, S = P.config.popoverConfig.toolbar.showMore), i.$$.dirty[0] & /*tag*/
|
|
680
|
+
1 && t(9, H = (() => $(P.config.popoverConfig.viewMoreText) && P.config.popoverConfig.viewMoreText.trim() !== "" ? P.config.popoverConfig.viewMoreText : "查看更多")());
|
|
681
|
+
}, t(14, W = 400), t(13, A = 180 + 500 - 500 - 40), t(12, F = 400 + 180), [
|
|
682
|
+
P,
|
|
683
|
+
u,
|
|
666
684
|
n,
|
|
667
685
|
o,
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
686
|
+
L,
|
|
687
|
+
M,
|
|
688
|
+
p,
|
|
689
|
+
a,
|
|
671
690
|
l,
|
|
691
|
+
H,
|
|
672
692
|
S,
|
|
673
|
-
O,
|
|
674
|
-
E,
|
|
675
693
|
N,
|
|
676
694
|
F,
|
|
695
|
+
A,
|
|
677
696
|
W,
|
|
678
697
|
f,
|
|
679
|
-
|
|
680
|
-
|
|
698
|
+
g,
|
|
699
|
+
s,
|
|
681
700
|
r,
|
|
701
|
+
_,
|
|
702
|
+
k,
|
|
703
|
+
b,
|
|
682
704
|
w,
|
|
705
|
+
R,
|
|
706
|
+
T,
|
|
683
707
|
y,
|
|
684
|
-
|
|
685
|
-
g,
|
|
686
|
-
_,
|
|
687
|
-
m,
|
|
688
|
-
M
|
|
708
|
+
m
|
|
689
709
|
];
|
|
690
710
|
}
|
|
691
|
-
class
|
|
711
|
+
class mi extends ue {
|
|
692
712
|
constructor(e) {
|
|
693
|
-
super(),
|
|
713
|
+
super(), we(this, e, Oe, We, _e, { tag: 0 }, Le, [-1, -1]);
|
|
694
714
|
}
|
|
695
715
|
}
|
|
696
716
|
export {
|
|
697
|
-
|
|
717
|
+
mi as default
|
|
698
718
|
};
|