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