@quicktvui/quicktvui3 0.0.45 → 0.0.46

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.
Files changed (3) hide show
  1. package/dist/index.css +262 -262
  2. package/dist/index.js +1 -1
  3. package/package.json +24 -24
package/dist/index.css CHANGED
@@ -1,410 +1,410 @@
1
1
  /* ----------------Button---------------------- */
2
- .quick-button--default[data-v-46a594e4] {
3
- flex-direction: row;
4
- width: 280px;
5
- height: 80px;
6
- justify-content: center;
7
- align-items: center;
8
- background-color: rgba(240, 240, 242, 0.08);
9
- border-radius: 4px;
2
+ .quick-button--default[data-v-46a594e4] {
3
+ flex-direction: row;
4
+ width: 280px;
5
+ height: 80px;
6
+ justify-content: center;
7
+ align-items: center;
8
+ background-color: rgba(240, 240, 242, 0.08);
9
+ border-radius: 4px;
10
10
  focus-background-color: #F0F0F2;
11
11
  }
12
- .quick-button--large[data-v-46a594e4] {
13
- width: 380px;
12
+ .quick-button--large[data-v-46a594e4] {
13
+ width: 380px;
14
14
  height: 80px;
15
15
  }
16
- .quick-button--medium[data-v-46a594e4] {
17
- width: 280px;
16
+ .quick-button--medium[data-v-46a594e4] {
17
+ width: 280px;
18
18
  height: 80px;
19
19
  }
20
- .quick-button--small[data-v-46a594e4] {
21
- width: 200px;
20
+ .quick-button--small[data-v-46a594e4] {
21
+ width: 200px;
22
22
  height: 64px;
23
23
  }
24
- .quick-button--mini[data-v-46a594e4] {
25
- width: 160px;
24
+ .quick-button--mini[data-v-46a594e4] {
25
+ width: 160px;
26
26
  height: 64px;
27
- }
28
-
27
+ }
28
+
29
29
  /* -----------------Text--------------------- */
30
- .quick-button-text--default[data-v-46a594e4] {
31
- font-size: 32px;
32
- color: rgba(255, 255, 255, 0.7);
33
- text-align: center;
34
- text-align-vertical: center;
35
- focus-color: rgba(0, 0, 0, 0.9);
36
- margin-right: 8px;
30
+ .quick-button-text--default[data-v-46a594e4] {
31
+ font-size: 32px;
32
+ color: rgba(255, 255, 255, 0.7);
33
+ text-align: center;
34
+ text-align-vertical: center;
35
+ focus-color: rgba(0, 0, 0, 0.9);
36
+ margin-right: 8px;
37
37
  margin-left: 8px;
38
38
  }
39
- .quick-button-text--large[data-v-46a594e4] {
40
- font-size: 32px;
41
- color: rgba(255, 255, 255, 0.7);
42
- text-align: center;
43
- text-align-vertical: center;
44
- focus-color: rgba(0, 0, 0, 0.9);
45
- margin-right: 12px;
39
+ .quick-button-text--large[data-v-46a594e4] {
40
+ font-size: 32px;
41
+ color: rgba(255, 255, 255, 0.7);
42
+ text-align: center;
43
+ text-align-vertical: center;
44
+ focus-color: rgba(0, 0, 0, 0.9);
45
+ margin-right: 12px;
46
46
  margin-left: 12px;
47
47
  }
48
- .quick-button-text--medium[data-v-46a594e4] {
49
- font-size: 32px;
50
- color: rgba(255, 255, 255, 0.7);
51
- text-align: center;
52
- text-align-vertical: center;
53
- focus-color: rgba(0, 0, 0, 0.9);
54
- margin-right: 8px;
48
+ .quick-button-text--medium[data-v-46a594e4] {
49
+ font-size: 32px;
50
+ color: rgba(255, 255, 255, 0.7);
51
+ text-align: center;
52
+ text-align-vertical: center;
53
+ focus-color: rgba(0, 0, 0, 0.9);
54
+ margin-right: 8px;
55
55
  margin-left: 8px;
56
56
  }
57
- .quick-button-text--small[data-v-46a594e4] {
58
- font-size: 32px;
59
- color: rgba(255, 255, 255, 0.7);
60
- text-align: center;
61
- text-align-vertical: center;
62
- focus-color: rgba(0, 0, 0, 0.9);
63
- margin-right: 8px;
57
+ .quick-button-text--small[data-v-46a594e4] {
58
+ font-size: 32px;
59
+ color: rgba(255, 255, 255, 0.7);
60
+ text-align: center;
61
+ text-align-vertical: center;
62
+ focus-color: rgba(0, 0, 0, 0.9);
63
+ margin-right: 8px;
64
64
  margin-left: 8px;
65
65
  }
66
- .quick-button-text--mini[data-v-46a594e4] {
67
- font-size: 32px;
68
- color: rgba(255, 255, 255, 0.7);
69
- text-align: center;
70
- text-align-vertical: center;
71
- focus-color: rgba(0, 0, 0, 0.9);
72
- margin-right: 5px;
66
+ .quick-button-text--mini[data-v-46a594e4] {
67
+ font-size: 32px;
68
+ color: rgba(255, 255, 255, 0.7);
69
+ text-align: center;
70
+ text-align-vertical: center;
71
+ focus-color: rgba(0, 0, 0, 0.9);
72
+ margin-right: 5px;
73
73
  margin-left: 5px;
74
- }
75
-
74
+ }
75
+
76
76
  /* -------------------------------------- */
77
- .is-disabled-button[data-v-46a594e4] {
78
- background-color: rgba(240, 240, 242, 0.04);
77
+ .is-disabled-button[data-v-46a594e4] {
78
+ background-color: rgba(240, 240, 242, 0.04);
79
79
  focus-background-color: #F0F0F2;
80
80
  }
81
- .is-disabled-text[data-v-46a594e4] {
82
- color: rgba(255, 255, 255, 0.2);
81
+ .is-disabled-text[data-v-46a594e4] {
82
+ color: rgba(255, 255, 255, 0.2);
83
83
  focus-color: rgba(0, 0, 0, 0.2);
84
84
  }
85
- .is-square-text[data-v-46a594e4] {
85
+ .is-square-text[data-v-46a594e4] {
86
86
  font-size: 28px;
87
- }
88
-
87
+ }
88
+
89
89
  /* -------------------------------------- */
90
- .is-circle[data-v-46a594e4] {
90
+ .is-circle[data-v-46a594e4] {
91
91
  border-radius: 50%;
92
92
  }
93
- .is-round[data-v-46a594e4] {
93
+ .is-round[data-v-46a594e4] {
94
94
  border-radius: 100px;
95
95
  }
96
- .is-square[data-v-46a594e4] {
97
- width: 173px;
98
- height: 173px;
96
+ .is-square[data-v-46a594e4] {
97
+ width: 173px;
98
+ height: 173px;
99
99
  flex-direction: column;
100
- }
101
-
100
+ }
101
+
102
102
  /* ---------------Gradient----------------------- */
103
- .button-gradient-background-css[data-v-46a594e4] {
104
- background-color: transparent;
105
- position: absolute;
106
- left: 0;
107
- right: 0;
108
- top: 0;
103
+ .button-gradient-background-css[data-v-46a594e4] {
104
+ background-color: transparent;
105
+ position: absolute;
106
+ left: 0;
107
+ right: 0;
108
+ top: 0;
109
109
  bottom: 0;
110
- }
111
-
110
+ }
111
+
112
112
  /* ----------------ICON---PARENT------------------- */
113
- .quick-button-icon-parent[data-v-46a594e4] {
114
- width: 40px;
115
- height: 40px;
116
- background-color: transparent;
117
- display: flex;
118
- align-items: center;
113
+ .quick-button-icon-parent[data-v-46a594e4] {
114
+ width: 40px;
115
+ height: 40px;
116
+ background-color: transparent;
117
+ display: flex;
118
+ align-items: center;
119
119
  justify-content: center;
120
120
  }
121
- .quick-button-icon-parent--large[data-v-46a594e4] {
122
- width: 40px;
123
- height: 40px;
124
- margin-right: 12px;
121
+ .quick-button-icon-parent--large[data-v-46a594e4] {
122
+ width: 40px;
123
+ height: 40px;
124
+ margin-right: 12px;
125
125
  margin-left: 12px;
126
126
  }
127
- .quick-button-icon-parent--medium[data-v-46a594e4] {
128
- width: 40px;
129
- height: 40px;
130
- margin-right: 8px;
127
+ .quick-button-icon-parent--medium[data-v-46a594e4] {
128
+ width: 40px;
129
+ height: 40px;
130
+ margin-right: 8px;
131
131
  margin-left: 8px;
132
132
  }
133
- .quick-button-icon-parent--small[data-v-46a594e4] {
134
- width: 32px;
135
- height: 32px;
136
- margin-right: 8px;
133
+ .quick-button-icon-parent--small[data-v-46a594e4] {
134
+ width: 32px;
135
+ height: 32px;
136
+ margin-right: 8px;
137
137
  margin-left: 8px;
138
138
  }
139
- .quick-button-icon-parent--mini[data-v-46a594e4] {
140
- width: 30px;
141
- height: 30px;
142
- margin-right: 5px;
139
+ .quick-button-icon-parent--mini[data-v-46a594e4] {
140
+ width: 30px;
141
+ height: 30px;
142
+ margin-right: 5px;
143
143
  margin-left: 5px;
144
- }
145
-
144
+ }
145
+
146
146
  /* ----------------ICON---------------------- */
147
- .quick-button-icon[data-v-46a594e4] {
148
- width: 40px;
149
- height: 40px;
147
+ .quick-button-icon[data-v-46a594e4] {
148
+ width: 40px;
149
+ height: 40px;
150
150
  position: absolute;
151
151
  }
152
- .quick-button-icon--large[data-v-46a594e4] {
153
- width: 40px;
152
+ .quick-button-icon--large[data-v-46a594e4] {
153
+ width: 40px;
154
154
  height: 40px;
155
155
  }
156
- .quick-button-icon--medium[data-v-46a594e4] {
157
- width: 40px;
156
+ .quick-button-icon--medium[data-v-46a594e4] {
157
+ width: 40px;
158
158
  height: 40px;
159
159
  }
160
- .quick-button-icon--small[data-v-46a594e4] {
161
- width: 32px;
160
+ .quick-button-icon--small[data-v-46a594e4] {
161
+ width: 32px;
162
162
  height: 32px;
163
163
  }
164
- .quick-button-icon--mini[data-v-46a594e4] {
165
- width: 30px;
164
+ .quick-button-icon--mini[data-v-46a594e4] {
165
+ width: 30px;
166
166
  height: 30px;
167
167
  }
168
- .is-square-icon[data-v-46a594e4] {
169
- width: 64px;
170
- height: 64px;
171
- margin-bottom: 16px;
168
+ .is-square-icon[data-v-46a594e4] {
169
+ width: 64px;
170
+ height: 64px;
171
+ margin-bottom: 16px;
172
172
  margin-right: 0;
173
- }
173
+ }
174
174
 
175
175
 
176
- .absoluteFocusTitleRoot[data-v-703673b8] {
177
- position: absolute;
178
- z-index: 999;
176
+ .absoluteFocusTitleRoot[data-v-703673b8] {
177
+ position: absolute;
178
+ z-index: 999;
179
179
  background-color: transparent;
180
180
  }
181
- .absoluteFocusMainBgRoot[data-v-703673b8] {
182
- border-bottom-left-radius: 8px;
183
- border-bottom-right-radius: 8px;
181
+ .absoluteFocusMainBgRoot[data-v-703673b8] {
182
+ border-bottom-left-radius: 8px;
183
+ border-bottom-right-radius: 8px;
184
184
  background-color: white;
185
- }
185
+ }
186
186
 
187
187
 
188
- .cornerRoot[data-v-4b767ea2] {
188
+ .cornerRoot[data-v-4b767ea2] {
189
189
  flex-direction: row-reverse;
190
- }
190
+ }
191
191
 
192
192
 
193
- .qt-ui-poster-root-css[data-v-3c4765e9] {
194
- position: absolute;
195
- background-color: transparent;
196
- focus-scale: 1.1;
193
+ .qt-ui-poster-root-css[data-v-3c4765e9] {
194
+ position: absolute;
195
+ background-color: transparent;
196
+ focus-scale: 1.1;
197
197
  overflow: hidden;
198
198
  }
199
- .qt-ui-poster-img-css[data-v-3c4765e9] {
200
- background-color: rgba(255, 255, 255, 0.1);
201
- z-index: 1;
202
- position: absolute;
203
- focus-border-color: white;
204
- focus-border-style: solid;
199
+ .qt-ui-poster-img-css[data-v-3c4765e9] {
200
+ background-color: rgba(255, 255, 255, 0.1);
201
+ z-index: 1;
202
+ position: absolute;
203
+ focus-border-color: white;
204
+ focus-border-style: solid;
205
205
  border-radius: 8px;
206
206
  }
207
- .qt-ui-poster-title-css[data-v-3c4765e9] {
208
- padding-left: 16px;
209
- padding-top: 15px;
207
+ .qt-ui-poster-title-css[data-v-3c4765e9] {
208
+ padding-left: 16px;
209
+ padding-top: 15px;
210
210
  background-color: transparent;
211
211
  }
212
- .qt-ui-ripple-img-css[data-v-3c4765e9] {
213
- width: 60px;
214
- height: 60px;
215
- background-color: transparent;
216
- position: absolute;
217
- z-index: 1001;
218
- right: 20px;
212
+ .qt-ui-ripple-img-css[data-v-3c4765e9] {
213
+ width: 60px;
214
+ height: 60px;
215
+ background-color: transparent;
216
+ position: absolute;
217
+ z-index: 1001;
218
+ right: 20px;
219
219
  bottom: 20px;
220
220
  }
221
- .qt-ui-ripple-view-css[data-v-3c4765e9] {
222
- width: 100px;
223
- height: 100px;
224
- z-index: 1000;
225
- background-color: transparent;
221
+ .qt-ui-ripple-view-css[data-v-3c4765e9] {
222
+ width: 100px;
223
+ height: 100px;
224
+ z-index: 1000;
225
+ background-color: transparent;
226
226
  position: absolute;
227
227
  }
228
- .qt-ui-poster-ripple-view-root-css[data-v-3c4765e9] {
229
- width: 100px;
230
- height: 100px;
231
- right: 0;
232
- bottom: 0;
233
- margin-right: -12px;
234
- z-index: 1000;
235
- background-color: transparent;
228
+ .qt-ui-poster-ripple-view-root-css[data-v-3c4765e9] {
229
+ width: 100px;
230
+ height: 100px;
231
+ right: 0;
232
+ bottom: 0;
233
+ margin-right: -12px;
234
+ z-index: 1000;
235
+ background-color: transparent;
236
236
  position: absolute;
237
- }
238
-
237
+ }
239
238
 
240
239
 
241
- .qt-ui-nav-bar-root-horizontal {
242
- height: 72px;
240
+
241
+ .qt-ui-nav-bar-root-horizontal {
242
+ height: 72px;
243
243
  background-color: transparent;
244
244
  }
245
- .qt-ui-nav-bar-root-vertical {
245
+ .qt-ui-nav-bar-root-vertical {
246
246
  background-color: transparent;
247
247
  }
248
- .qt-ui-nav-bar-item-css {
249
- padding-left: 40px;
250
- padding-right: 40px;
251
- height: 70px;
252
- justify-content: center;
253
- flex-direction: column;
254
- display: flex;
255
- align-items: center;
256
- border-radius: 35px;
248
+ .qt-ui-nav-bar-item-css {
249
+ padding-left: 40px;
250
+ padding-right: 40px;
251
+ height: 70px;
252
+ justify-content: center;
253
+ flex-direction: column;
254
+ display: flex;
255
+ align-items: center;
256
+ border-radius: 35px;
257
257
  background-color: transparent;
258
258
  }
259
- .qt-ui-nav-bar-item-text-css {
260
- height: 60px;
261
- color: rgba(255, 255, 255, 0.5);
262
- focus-color: black;
263
- background-color: transparent;
264
- select-color: white;
259
+ .qt-ui-nav-bar-item-text-css {
260
+ height: 60px;
261
+ color: rgba(255, 255, 255, 0.5);
262
+ focus-color: black;
263
+ background-color: transparent;
264
+ select-color: white;
265
265
  align-self: center;
266
- }
267
-
266
+ }
267
+
268
268
 
269
269
 
270
- .qt-ui-waterfall-card-item[data-v-599898aa] {
270
+ .qt-ui-waterfall-card-item[data-v-599898aa] {
271
271
  background-color: transparent;
272
- }
272
+ }
273
273
 
274
274
 
275
- .standard-section-css[data-v-227e921e] {
276
- display: flex;
277
- background-color: transparent;
278
- flex-direction: column;
279
- align-items: flex-start;
275
+ .standard-section-css[data-v-227e921e] {
276
+ display: flex;
277
+ background-color: transparent;
278
+ flex-direction: column;
279
+ align-items: flex-start;
280
280
  justify-content: flex-start;
281
281
  }
282
- .standard-section-title-text-css[data-v-227e921e] {
283
- width: 1920px;
284
- height: 60px;
285
- color: #ffffff;
282
+ .standard-section-title-text-css[data-v-227e921e] {
283
+ width: 1920px;
284
+ height: 60px;
285
+ color: #ffffff;
286
286
  background-color: transparent;
287
- }
287
+ }
288
288
 
289
289
 
290
- .qt-ui-section-tab-list-root[data-v-88e60816] {
291
- background-color: transparent;
290
+ .qt-ui-section-tab-list-root[data-v-88e60816] {
291
+ background-color: transparent;
292
292
  margin-left: 0px;
293
293
  }
294
- .qt-ui-section-tab-list-item-text[data-v-88e60816] {
295
- focusColor: #000000;
296
- selectColor: #ff0000;
294
+ .qt-ui-section-tab-list-item-text[data-v-88e60816] {
295
+ focusColor: #000000;
296
+ selectColor: #ff0000;
297
297
  color: #ffffff80;
298
298
  }
299
- .qt-ui-section-tab-list-item[data-v-88e60816] {
300
- border-radius: 99px;
301
- padding-top: 5px;
302
- padding-bottom: 8px;
303
- background-color: transparent;
299
+ .qt-ui-section-tab-list-item[data-v-88e60816] {
300
+ border-radius: 99px;
301
+ padding-top: 5px;
302
+ padding-bottom: 8px;
303
+ background-color: transparent;
304
304
  focus-background-color: #F5F5F5;
305
305
  }
306
306
  .tab-list-section-root-css[data-v-88e60816] {
307
307
  }
308
308
  .tab-list-section-list-css[data-v-88e60816] {
309
309
  }
310
- .tab-list-section-title-text-css[data-v-88e60816] {
311
- width: 1920px;
312
- height: 60px;
313
- color: #ffffff;
310
+ .tab-list-section-title-text-css[data-v-88e60816] {
311
+ width: 1920px;
312
+ height: 60px;
313
+ color: #ffffff;
314
314
  background-color: transparent;
315
- }
316
-
315
+ }
317
316
 
318
317
 
319
- .loading-section-css[data-v-48609f24] {
320
- width: 1920px;
321
- height: 1080px;
318
+
319
+ .loading-section-css[data-v-48609f24] {
320
+ width: 1920px;
321
+ height: 1080px;
322
322
  background-color: transparent;
323
323
  }
324
- .loading-section-loading-css[data-v-48609f24] {
325
- width: 100px;
326
- height: 100px;
327
- align-self: center;
324
+ .loading-section-loading-css[data-v-48609f24] {
325
+ width: 100px;
326
+ height: 100px;
327
+ align-self: center;
328
328
  margin-top: 550px
329
- }
330
-
329
+ }
330
+
331
331
 
332
332
 
333
- .qt-waterfall-end-section-css[data-v-70b82c43] {
334
- background-color: transparent;
335
- align-items: center;
336
- display: flex;
337
- flex-direction: column;
333
+ .qt-waterfall-end-section-css[data-v-70b82c43] {
334
+ background-color: transparent;
335
+ align-items: center;
336
+ display: flex;
337
+ flex-direction: column;
338
338
  justify-content: center;
339
339
  }
340
- .qt-waterfall-end-section-text-css[data-v-70b82c43] {
341
- width: 500px;
342
- height: 50px;
343
- color: rgba(255, 255, 255, .5);
344
- align-self: center;
340
+ .qt-waterfall-end-section-text-css[data-v-70b82c43] {
341
+ width: 500px;
342
+ height: 50px;
343
+ color: rgba(255, 255, 255, .5);
344
+ align-self: center;
345
345
  background-color: transparent;
346
- }
346
+ }
347
347
 
348
348
 
349
- .section-title-css[data-v-20428d40] {
350
- width: 1920px;
351
- height: 60px;
352
- display: flex;
353
- flex-direction: column;
349
+ .section-title-css[data-v-20428d40] {
350
+ width: 1920px;
351
+ height: 60px;
352
+ display: flex;
353
+ flex-direction: column;
354
354
  background-color: transparent;
355
355
  }
356
- .section-title-text-css[data-v-20428d40] {
357
- position: absolute;
358
- width: 1920px;
359
- height: 60px;
360
- margin-left: 90px;
356
+ .section-title-text-css[data-v-20428d40] {
357
+ position: absolute;
358
+ width: 1920px;
359
+ height: 60px;
360
+ margin-left: 90px;
361
361
  color: #ffffff;
362
- }
363
-
362
+ }
363
+
364
364
 
365
365
 
366
- .qt-ui-waterfall-blank-section[data-v-eeab4d88] {
366
+ .qt-ui-waterfall-blank-section[data-v-eeab4d88] {
367
367
  background-color: transparent;
368
- }
368
+ }
369
369
 
370
370
 
371
- .qt-ui-waterfall-card-section-css[data-v-43a44788] {
371
+ .qt-ui-waterfall-card-section-css[data-v-43a44788] {
372
372
  background-color: transparent;
373
373
  }
374
- .qt-ui-waterfall-card-section[data-v-43a44788] {
374
+ .qt-ui-waterfall-card-section[data-v-43a44788] {
375
375
  background-color: transparent;
376
376
  }
377
- .qt-ui-waterfall-card-section-title-css[data-v-43a44788] {
378
- width: 1920px;
379
- height: 60px;
380
- color: #ffffff;
377
+ .qt-ui-waterfall-card-section-title-css[data-v-43a44788] {
378
+ width: 1920px;
379
+ height: 60px;
380
+ color: #ffffff;
381
381
  background-color: transparent;
382
- }
383
-
382
+ }
383
+
384
384
 
385
385
 
386
- .qt-ui-waterfall-vue-section[data-v-f8447724] {
386
+ .qt-ui-waterfall-vue-section[data-v-f8447724] {
387
387
  background-color: transparent;
388
- }
388
+ }
389
389
 
390
390
 
391
- .qt-waterfall-root-css[data-v-2e65df68] {
391
+ .qt-waterfall-root-css[data-v-2e65df68] {
392
392
  background-color: transparent;
393
- }
394
-
393
+ }
395
394
 
396
395
 
397
- .tabs-root-css {
396
+
397
+ .tabs-root-css {
398
398
  background-color: transparent;
399
- }
400
-
401
-
399
+ }
400
+
401
+
402
402
 
403
403
 
404
404
  .content_list_view[data-v-cbd7c454]{width: 1920px;height: 200px;background-color: transparent;}
405
405
  .clv_item[data-v-cbd7c454]{width: 316px;height: 178px;background-color: transparent;border-radius: 8px;}
406
406
  .coverV[data-v-cbd7c454]{width: 316px;height: 178px;background-color: rgba(255,255,255,0.1);border-radius: 8px;}
407
- .clv_item_text_box[data-v-cbd7c454]{width: 316px;height: 60px;background-color: rgba(255,255,255,0.1);
407
+ .clv_item_text_box[data-v-cbd7c454]{width: 316px;height: 60px;background-color: rgba(255,255,255,0.1);
408
408
  position: absolute;left: 0;top: 118px;flex-direction: row;justify-content: flex-start;align-items: center;}
409
409
  .titMask[data-v-cbd7c454]{position: absolute;width: 316px;height: 60px;top: 0;left: 0;}
410
410
  .icon[data-v-cbd7c454]{width: 28px;height: 30px;background-color: rgba(255,255,255,0.1);margin-left: 16px;}
@@ -415,4 +415,4 @@
415
415
  .nav_item_text[data-v-cbd7c454]{width: 168px;height: 80px;position: absolute;border-radius: 40px;background-color: transparent;}
416
416
  .text[data-v-cbd7c454]{width: 168px;height: 80px;color: #fff;position: absolute;}
417
417
  .text_selected[data-v-cbd7c454]{width: 168px;height: 80px;color:#0D71FF;position: absolute;}
418
- .line[data-v-cbd7c454]{background-color:#0D71FF; width: 34px;height: 6px;position: absolute;left: 67px;top: 74px;}
418
+ .line[data-v-cbd7c454]{background-color:#0D71FF; width: 34px;height: 6px;position: absolute;left: 67px;top: 74px;}
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{Native as e}from"@extscreen/es3-vue";import{defineComponent as t,ref as n,resolveComponent as o,openBlock as a,createElementBlock as l,normalizeStyle as i,normalizeClass as s,createCommentVNode as c,withDirectives as r,vShow as u,createBlock as d,toDisplayString as f,renderSlot as p,watchEffect as g,onBeforeUnmount as m,withCtx as h,Fragment as v,createVNode as b,createElementVNode as _,pushScopeId as y,popScopeId as T,reactive as S,watch as I,h as x}from"vue";import{useESToast as E,useES as F,useESLog as P,ESLogLevel as C}from"@extscreen/es3-core";var L=t({name:"qt-button",props:{size:{type:String,default:"default"},itemType:{type:Number,default:2e4},focusBorder:{type:Boolean,default:!1},focusScale:{type:Number,default:1.08},focusable:{type:Boolean,default:!0},enableFlexStyle:{type:Boolean,default:!1},icon:{type:String,default:null},focusIcon:{type:String,default:null},text:{type:String,default:""},gradientFocusBackground:{type:Object,default:()=>{}},gradientSelectedBackground:{type:Object,default:()=>null},gradientBackground:{type:Object,default:()=>null},disabled:Boolean,circle:Boolean,round:Boolean,square:Boolean,buttonStyle:Object,textStyle:Object,iconStyle:Object,focusIconStyle:Object,iconParentStyle:Object},emits:["focus","click"],setup(t,o){const a=n(),l=n(!1);return{focused:l,requestFocus:function(){e.callUIFunction(a.value,"requestFocus",[])},requestFocusDirectly:function(){e.callUIFunction(a.value,"requestFocusDirectly",[])},onFocus:function(e){l.value=e.isFocused,o.emit("focus",e.isFocused)},onClick:function(e){o.emit("click")}}}});const k=["focusable","enableFocusBorder","focusScale"],D=["gradientBackground"],N=["gradientBackground"],w=["gradientBackground"],O=["src"],A=["src"];function B(e,t,n=!0){let o=e.length;n?e.map(((e,n)=>{n!==o-1&&(e.decoration={bottom:t})})):e.map(((e,n)=>{n!==o-1&&(e.decoration={right:t})}))}L.render=function(e,t,n,g,m,h){const v=o("text-view");return a(),l("div",{ref:"buttonRef",clipChildren:!1,focusable:e.focusable,enableFocusBorder:e.focusBorder,focusScale:e.focusScale,onClick:t[0]||(t[0]=(...t)=>e.onClick&&e.onClick(...t)),name:"textButton",eventClick:"",eventFocus:"",onFocus:t[1]||(t[1]=(...t)=>e.onFocus&&e.onFocus(...t)),style:i(e.buttonStyle),class:s(["quick-button--default",e.size?"quick-button--"+e.size:"",{"is-disabled-button":e.disabled,"is-circle":e.circle,"is-round":e.round,"is-square":e.square}])},[c(" gradient "),e.gradientFocusBackground?(a(),l("div",{key:0,class:"button-gradient-background-css",gradientBackground:e.gradientFocusBackground,focusable:!1,showOnState:"focused"},null,8,D)):c("v-if",!0),e.gradientSelectedBackground?(a(),l("div",{key:1,class:"button-gradient-background-css",gradientBackground:e.gradientSelectedBackground,focusable:!1,showOnState:"selected"},null,8,N)):c("v-if",!0),e.gradientBackground?(a(),l("div",{key:2,class:"button-gradient-background-css",gradientBackground:e.gradientBackground,focusable:!1,showOnState:"normal"},null,8,w)):c("v-if",!0),c(" -----------------------------icon--------------------------------- "),!e.icon&&!e.focusIcon||e.$slots.default?c("v-if",!0):(a(),l("div",{key:3,duplicateParentState:!0,style:i(e.iconParentStyle),flexStyle:"${iconParentStyle}",class:s(["quick-button-icon-parent",e.size?"quick-button-icon--parent"+e.size:""])},[e.icon&&!e.$slots.default?r((a(),l("img",{key:0,style:i(e.iconStyle),flexStyle:"${iconStyle}",duplicateParentState:!0,class:s(["quick-button-icon",e.size?"quick-button-icon--"+e.size:"",{"is-square-icon":e.square}]),focusable:!1,src:e.enableFlexStyle?"${"+e.icon+"}":e.icon,showOnState:"normal"},null,14,O)),[[u,!e.focused]]):c("v-if",!0),e.focusIcon&&!e.$slots.default?r((a(),l("img",{key:1,style:i(e.focusIconStyle?e.focusIconStyle:e.iconStyle),flexStyle:"${iconStyle}",class:s(["quick-button-icon",e.size?"quick-button-icon--"+e.size:"",{"is-square-icon":e.square}]),focusable:!1,duplicateParentState:!0,src:e.enableFlexStyle?"${"+e.focusIcon+"}":e.focusIcon,showOnState:"focused"},null,14,A)),[[u,e.focused]]):c("v-if",!0)],6)),c(" ------------------------------------------------------------------- "),c(" text "),e.enableFlexStyle?(a(),d(v,{key:4,style:i(e.textStyle),duplicateParentState:"",class:s([e.size?"quick-button-text--"+e.size:"",{"is-disabled-text":e.disabled,"is-square-text":e.square}]),focusable:!1,text:"${"+e.text+"}",autoWidth:"",autoHeight:""},null,8,["style","class","text"])):e.text&&!e.$slots.default?(a(),l("span",{key:5,style:i(e.textStyle),duplicateParentState:"",class:s([e.size?"quick-button-text--"+e.size:"",{"is-disabled-text":e.disabled,"is-square-text":e.square}]),focusable:!1},f(e.text),7)):c("v-if",!0),p(e.$slots,"default")],46,k)},L.__scopeId="data-v-46a594e4",L.__file="src/button/index.vue";const R=e=>e.map(V),$=e=>{const t=Object.keys(e),n={};return t.forEach((t=>{n[t]=V(e[t])})),n};function V(e){return e?"object"!=typeof e?e:Array.isArray(e)?R(e):$(e):e}var U=t({name:"qt-grid-view",props:{loadMore:{type:Function,default:function(){return[1,1]}},openPage:{type:Boolean,default:!1},spanCount:{type:Number,default:0},pageSize:{type:Number},preloadNo:{type:Number,default:0},defaultFocus:{type:Number,default:-1},areaWidth:{type:Number,default:1200},blockFocusDirections:{type:Array,default:()=>[]}},emits:["item-click","scroll","item-unbind","scroll-state-changed","item-bind","item-focused"],setup(e,t){E(),F();const o=n();let a=n(2.5),l=[],i=[],s=[],c=[],r="",u=-1,d=!1,f=-1,p=-1,h=-1,v=-1;g((()=>{e.openPage&&(u=1,d=!1,e.loadMore(u))}));const b=t=>{0==l.length&&(l=V(t),i=t,a.value<2.2?(_(),e.openPage&&e.pageSize&&c.length>=e.pageSize/e.spanCount?o.value.setListData(c.concat([{type:1002,decoration:{top:15,left:30}}])):o.value.setListData(c)):e.openPage&&e.pageSize&&l.length>=e.pageSize?o.value.setListData(l.concat([{type:1002,decoration:{top:15,left:30}}])):o.value.setListData(l),e.defaultFocus>-1&&(h&&clearTimeout(h),h=setTimeout((()=>{T(e.defaultFocus),S(e.defaultFocus)}),800)));let n={get(t,n,i){if("__ob__"!=n&&"symbol"!=typeof n&&"map"!=n&&"length"!=n&&"constructor"!=n&&"_isVue"!=n&&"valueOf"!=n&&"toString"!=n&&"observeArray"!=n&&"dep"!=n&&"notify"!=n&&"subs"!=n&&"slice"!=n)if(s.push(n),-1!=s.indexOf("push"))r="push";else{if(-1!=s.indexOf("splice"))return r="splice",function(...e){if(t.splice(...e),a.value<2.2)if(_(),1==e.length||2==e.length)o.value.setListData(c);else if(0==e[1])o.value.setListData(c);else{let t=-1,n=0,a=0;for(let o=0;o<c.length;o++){const l=c[o];if("1003"==l.type)t++,e[0]==t&&(n=o),e[0]+e[1]-1==t&&(a=o);else for(let i=0;i<l.list.length;i++)l.list[i],t++,e[0]==t&&(n=o),e[0]+e[1]-1==t&&(a=o)}o.value.updateItemList(n,a-n+1,c.slice(n,a+1))}else 1==e.length?o.value.deleteItem(Number(e[0]),l.length-e[0]):2==e.length?o.value.deleteItem(Number(e[0]),e[1]):e.length>2&&(0==e[1]?a.value>2.29&&x(e[0],e.slice(2)):o.value.updateItemList(e[0],e[1],e.slice(2)));return l.splice(e[0],...e.slice(1)),r="",s=[],Reflect.get(t,n,i)};if(-1!=s.indexOf("pop"))return r="pop",function(){return t.pop(),a.value<2.2?(c[c.length-1].list.length<1&&c.pop(),c[c.length-1].list.pop(),o.value.updateItem(Number(c.length-1),c[c.length-1])):o.value.deleteItem(Number(l.length-1),1),l.pop(),r="",s=[],Reflect.get(t,n,i)};if(-1!=s.indexOf("forEach"))return r="forEach",function(u){return t.forEach((e=>{u(e)})),l=[],l=V(t),a.value<2.2?(_(),e.openPage&&e.pageSize&&c.length>=e.pageSize&&!d?o.value.setListData(c.concat([{type:1002,decoration:{top:15,left:30}}])):o.value.setListData(c)):e.openPage&&e.pageSize&&l.length>=e.pageSize&&!d?o.value.setListData(l.concat([{type:1002,decoration:{top:15,left:30}}])):o.value.setListData(l),r="",s=[],Reflect.get(t,n,i)};if(-1!=s.indexOf("concat"))return r="concat",function(f){if("[object Array]"===Object.prototype.toString.call(f))if(t=t.concat(f),l=l.concat(f),a.value<2.2){v&&clearTimeout(v);let t=c.length,n=c.slice(c.length-1)[0];_();let a=c.slice(t);e.openPage&&!d?e.pageSize||2!=u?0==a.length||"1003"!=n.type&&n.list.length<e.spanCount?(a=c.slice(t-1),v=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),2)}),300)):v=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):v=setTimeout((()=>{o.value.addListData(a.concat([{type:1002,decoration:{top:15,left:30}}]))}),300):o.value.setListData(c)}else v=e.openPage&&!d?e.pageSize||2!=u?setTimeout((()=>{o.value.addListDataWithParams(f.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):setTimeout((()=>{o.value.addListData(f.concat([{type:1002,decoration:{top:15,left:30}}]))}),300):setTimeout((()=>{o.value.addListData(f)}),300);else console.log("concat:参数类型必须为数组");return r="",s=[],Reflect.get(t,n,i)};r=""}const f=Reflect.get(t,n,i);return y(f)&&"__ob__"!=n&&"dep"!=n&&"subs"!=n?b(f):(-1==s.indexOf("push")&&(s=[]),f)},set(t,n,f,p){const g=t[n],m=Reflect.set(t,n,f,p);if((!y(g)&&g!==f||y(g))&&"push"!=r)if(s.push(n),l[s[0]]=i[s[0]],a.value<2.2){let e=s[0],t=-1;for(let n=0;n<c.length;n++){const a=c[n];if("1003"==a.type)t++,t==e&&(c[n]=l[s[0]],o.value.updateItem(Number(n),c[n]));else for(let i=0;i<a.list.length;i++)if(a.list[i],t++,t==e){c[n].list[i]=l[s[0]];let e=c[n].list[i];e.decoration&&(e.decoration.top&&(e.decoration.top=0),e.decoration.bottom&&(e.decoration.bottom=0)),o.value.updateItem(Number(n),c[n])}}}else o.value.updateItem(Number(s[0]),i[s[0]]);if(n&&"push"==r&&g!==f)s.push(n),l.push(f);else{if("push"==r&&s.length>1)if(a.value<2.2){v&&clearTimeout(v);let t=c.length,n=c.slice(c.length-1)[0];_();let a=c.slice(t);e.openPage&&!d?e.pageSize||2!=u?0==a.length||"1003"!=n.type&&n.list.length<e.spanCount?(a=c.slice(t-1),v=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),2)}),300)):v=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):v=setTimeout((()=>{o.value.addListData(a.concat([{type:1002,decoration:{top:15,left:30}}]))}),300):o.value.setListData(c)}else{let t=l.slice(s[1]);v&&clearTimeout(v),v=e.openPage&&!d?e.pageSize||2!=u?setTimeout((()=>{o.value.addListDataWithParams(t.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):setTimeout((()=>{o.value.addListData(t.concat([{type:1002,decoration:{top:15,left:30}}]))}),300):setTimeout((()=>{o.value.addListData(t)}),300)}r="",s=[]}return m}};return new Proxy(t,n)},_=()=>{let t=V(l);c=[];let n=0,o=[];for(let e=0;e<t.length;e++){let n=t[e];if("1003"==n.type)o.push(n);else if(n.decoration.top&&(n.toCompatibleSaveTopVal=n.decoration.top,n.decoration.top=0),n.decoration.bottom&&(n.toCompatibleSaveBottompVal=n.decoration.bottom,n.decoration.bottom=0),o[o.length-1]&&1==o[o.length-1].type)o[o.length-1].list.push(n);else{let e={type:1,list:[]};e.list.push(n),o.push(e)}}for(let t=0;t<o.length;t++){const a=o[t];if("1003"==a.type)c.push(a);else for(let t=0;t<a.list.length;t+=e.spanCount){const o=a.list[t];let l={top:-1,bottom:-1};o.decoration&&(l.top=o.toCompatibleSaveTopVal?o.toCompatibleSaveTopVal:0,l.bottom=o.toCompatibleSaveBottompVal?o.toCompatibleSaveBottompVal:0);const i={type:1,decoration:l,name:"name"+n,list:a.list.slice(t,t+e.spanCount)};n++,c.push(i)}}},y=e=>null!==e&&"object"==typeof e,T=e=>{if(a.value<2.2){let t=-1;for(let n=0;n<c.length;n++){const a=c[n];if("1003"==a.type)t++,t==e&&o.value.scrollToPosition(n);else for(let l=0;l<a.list.length;l++)a.list[l],t++,t==e&&o.value.scrollToPosition(n)}}else o.value.scrollToPosition(e)},S=e=>{if(a.value<2.2){let t=-1,n=0,a=0;for(let o=0;o<c.length;o++){const l=c[o];if("1003"==l.type)t++;else for(let i=0;i<l.list.length;i++)l.list[i],t++,e==t&&(n=o,a=i)}o.value.dispatchItemFunction(n,"tv_list_inner","requestChildFocus",[a])}else o.value.requestFocus(e)},I=(e,t)=>{if(a.value<2.2){let t=-1,n=0,a=0;for(let o=0;o<c.length;o++){const l=c[o];if("1003"==l.type)t++;else for(let i=0;i<l.list.length;i++)l.list[i],t++,e==t&&(n=o,a=i)}o.value.dispatchItemFunction(n,"tv_list_inner","setSelectChildPosition",[a])}else o.value.setSelectPosition(e,t)},x=(e,t)=>{o.value.addItem(e,t)},P=()=>{o.value.destroy()};return m((()=>{l=[],c=[],i.length=0,d=!1,s=[],u=1,d=!1,r="",P(),f&&clearTimeout(f),v&&clearTimeout(v),p&&clearTimeout(p),h&&clearTimeout(h)})),{tv_list:o,apkVersion:a,init:b,onItemClick:e=>{if(a.value<2.2){let t=-1,n=e.position,o=e.parentPosition;for(let a=0;a<e.parentPosition+1;a++){const l=c[a];if("1003"==l.type)t++;else for(let i=0;i<l.list.length;i++)t++,n==i&&o==a&&(e.position=t)}}t.emit("item-click",e)},onItemBind:n=>{a.value<2.2?d||n.position!=c.length-1-e.preloadNo/e.spanCount||(u++,e.loadMore(u)):d||n.position!=l.length-1-e.preloadNo||(u++,e.loadMore(u)),t.emit("item-bind",n)},onItemFocused:e=>{if(a.value<2.2){let t=-1,n=e.position,o=e.parentPosition;for(let a=0;a<e.parentPosition+1;a++){const l=c[a];if("1003"==l.type)t++;else for(let i=0;i<l.list.length;i++)t++,n==i&&o==a&&(e.position=t)}}t.emit("item-focused",e)},onItemUnbind:e=>{t.emit("item-unbind",e)},onScroll:e=>{t.emit("scroll",e)},onScrollStateChanged:e=>{t.emit("scroll-state-changed",e)},stopPage:t=>{p&&clearTimeout(p),p=setTimeout((()=>{a.value<2.2?e.pageSize?e.pageSize/e.spanCount<=c.length&&o.value.deleteItem(c.length,1):u>2&&o.value.deleteItem(c.length,1):e.pageSize?e.pageSize<=l.length&&o.value.deleteItem(l.length,1):u>2&&o.value.deleteItem(l.length,1)}),400),d=!0},scrollToTop:()=>{o.value.scrollToTop()},clearFocus:()=>{o.value.clearFocus()},blockRootFocus:()=>{o.value.blockRootFocus()},unBlockRootFocus:()=>{o.value.unBlockRootFocus()},setDisplay:e=>{o.value.setDisplay(e)},scrollToPosition:T,scrollToIndex:(e,t,n)=>{if(a.value<2.2){let a=-1;for(let l=0;l<c.length;l++){const i=c[l];if("1003"==i.type)a++,a==e&&o.value.scrollToIndex(0,l,t,n);else for(let s=0;s<i.list.length;s++)i.list[s],a++,a==e&&o.value.scrollToIndex(0,l,t,n)}}else o.value.scrollToIndex(0,e,t,n)},setItemFocused:S,scrollToFocused:e=>{T(e),S(e)},setItemSelected:I,scrollToSelected:(e,t)=>{T(e),I(e,t)},updateItemProps:(e,t,n)=>{o.value.updateItemProps(e,t,n)},setInitPosition:e=>{o.value.setInitPosition(e)},setListData:e=>{f&&clearTimeout(f),f=setTimeout((()=>{o.value.setListData(e)}),100)},insertItem:x,clearPostTask:()=>{o.value.clearPostTask()},destroy:P}}});function z(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}U.render=function(e,t,n,s,c,r){const u=o("tv-list");return a(),d(u,{class:"tv_list",ref:"tv_list",name:"tv_list",spanCount:e.apkVersion<2.2?"":e.spanCount,onItemBind:e.onItemBind,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onItemUnbind:e.onItemUnbind,onScroll:e.onScroll,onScrollStateChanged:e.onScrollStateChanged,onSetListData:e.setListData,blockFocusDirections:e.blockFocusDirections},{default:h((()=>[e.apkVersion<2.2?(a(),l(v,{key:0},[p(e.$slots,"header"),b(u,{class:"tv_list_inner",ref:"${name}",list:"${list}",name:"tv_list_inner",type:"1",clipChildren:!1,focusable:!1,horizontal:"",style:i({width:e.areaWidth+"px"}),endHintEnabled:!1,blockFocusDirections:e.blockFocusDirections},{default:h((()=>[p(e.$slots,"default")])),_:3},8,["style","blockFocusDirections"]),p(e.$slots,"loading")],64)):(a(),l(v,{key:1},[p(e.$slots,"header"),p(e.$slots,"default"),p(e.$slots,"loading")],64))])),_:3},8,["spanCount","onItemBind","onItemClick","onItemFocused","onItemUnbind","onScroll","onScrollStateChanged","onSetListData","blockFocusDirections"])},U.__file="src/grid-view/index.vue";const W="production"!==process.env.NODE_ENV?Object.freeze({}):{};"production"===process.env.NODE_ENV||Object.freeze([]);const q=()=>{},M=/^on[^a-z]/,G=e=>M.test(e),Q=Object.assign,j=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Y=Object.prototype.hasOwnProperty,H=(e,t)=>Y.call(e,t),K=Array.isArray,X=e=>"[object Map]"===le(e),J=e=>"[object Set]"===le(e),Z=e=>"function"==typeof e,ee=e=>"string"==typeof e,te=e=>"symbol"==typeof e,ne=e=>null!==e&&"object"==typeof e,oe=e=>ne(e)&&Z(e.then)&&Z(e.catch),ae=Object.prototype.toString,le=e=>ae.call(e),ie=e=>le(e).slice(8,-1),se=e=>"[object Object]"===le(e),ce=e=>ee(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,re=(e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))})((e=>e.charAt(0).toUpperCase()+e.slice(1))),ue=(e,t)=>!Object.is(e,t),de=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})};let fe;const pe=()=>fe||(fe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function ge(e){if(K(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],a=ee(o)?be(o):ge(o);if(a)for(const e in a)t[e]=a[e]}return t}return ee(e)||ne(e)?e:void 0}const me=/;(?![^(]*\))/g,he=/:([^]+)/,ve=/\/\*[^]*?\*\//g;function be(e){const t={};return e.replace(ve,"").split(me).forEach((e=>{if(e){const n=e.split(he);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function _e(e){let t="";if(ee(e))t=e;else if(K(e))for(let n=0;n<e.length;n++){const o=_e(e[n]);o&&(t+=o+" ")}else if(ne(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function ye(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let Te;const Se=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Ie=e=>(e.w&Pe)>0,xe=e=>(e.n&Pe)>0,Ee=new WeakMap;let Fe=0,Pe=1;const Ce=30;let Le;const ke=Symbol("production"!==process.env.NODE_ENV?"iterate":""),De=Symbol("production"!==process.env.NODE_ENV?"Map key iterate":"");class Ne{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,function(e,t=Te){t&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();let e=Le,t=Oe;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=Le,Le=this,Oe=!0,Pe=1<<++Fe,Fe<=Ce?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Pe})(this):we(this),this.fn()}finally{Fe<=Ce&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const a=t[o];Ie(a)&&!xe(a)?a.delete(e):t[n++]=a,a.w&=~Pe,a.n&=~Pe}t.length=n}})(this),Pe=1<<--Fe,Le=this.parent,Oe=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Le===this?this.deferStop=!0:this.active&&(we(this),this.onStop&&this.onStop(),this.active=!1)}}function we(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Oe=!0;const Ae=[];function Be(){Ae.push(Oe),Oe=!1}function Re(){const e=Ae.pop();Oe=void 0===e||e}function $e(e,t,n){if(Oe&&Le){let o=Ee.get(e);o||Ee.set(e,o=new Map);let a=o.get(n);a||o.set(n,a=Se());!function(e,t){let n=!1;Fe<=Ce?xe(e)||(e.n|=Pe,n=!Ie(e)):n=!e.has(Le);n&&(e.add(Le),Le.deps.push(e),"production"!==process.env.NODE_ENV&&Le.onTrack&&Le.onTrack(Q({effect:Le},t)))}(a,"production"!==process.env.NODE_ENV?{effect:Le,target:e,type:t,key:n}:void 0)}}function Ve(e,t,n,o,a,l){const i=Ee.get(e);if(!i)return;let s=[];if("clear"===t)s=[...i.values()];else if("length"===n&&K(e)){const e=Number(o);i.forEach(((t,n)=>{("length"===n||n>=e)&&s.push(t)}))}else switch(void 0!==n&&s.push(i.get(n)),t){case"add":K(e)?ce(n)&&s.push(i.get("length")):(s.push(i.get(ke)),X(e)&&s.push(i.get(De)));break;case"delete":K(e)||(s.push(i.get(ke)),X(e)&&s.push(i.get(De)));break;case"set":X(e)&&s.push(i.get(ke))}const c="production"!==process.env.NODE_ENV?{target:e,type:t,key:n,newValue:o,oldValue:a,oldTarget:l}:void 0;if(1===s.length)s[0]&&("production"!==process.env.NODE_ENV?Ue(s[0],c):Ue(s[0]));else{const e=[];for(const t of s)t&&e.push(...t);"production"!==process.env.NODE_ENV?Ue(Se(e),c):Ue(Se(e))}}function Ue(e,t){const n=K(e)?e:[...e];for(const e of n)e.computed&&ze(e,t);for(const e of n)e.computed||ze(e,t)}function ze(e,t){(e!==Le||e.allowRecurse)&&("production"!==process.env.NODE_ENV&&e.onTrigger&&e.onTrigger(Q({effect:e},t)),e.scheduler?e.scheduler():e.run())}const We=z("__proto__,__v_isRef,__isVue"),qe=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(te)),Me=Ke(),Ge=Ke(!0),Qe=Ke(!0,!0),je=Ye();function Ye(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=At(this);for(let e=0,t=this.length;e<t;e++)$e(n,"get",e+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(At)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){Be();const n=At(this)[t].apply(this,e);return Re(),n}})),e}function He(e){const t=At(this);return $e(t,"has",e),t.hasOwnProperty(e)}function Ke(e=!1,t=!1){return function(n,o,a){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_isShallow"===o)return t;if("__v_raw"===o&&a===(e?t?Ft:Et:t?xt:It).get(n))return n;const l=K(n);if(!e){if(l&&H(je,o))return Reflect.get(je,o,a);if("hasOwnProperty"===o)return He}const i=Reflect.get(n,o,a);return(te(o)?qe.has(o):We(o))?i:(e||$e(n,"get",o),t?i:$t(i)?l&&ce(o)?i:i.value:ne(i)?e?Ct(i):Pt(i):i)}}function Xe(e=!1){return function(t,n,o,a){let l=t[n];if(Nt(l)&&$t(l)&&!$t(o))return!1;if(!e&&(wt(o)||Nt(o)||(l=At(l),o=At(o)),!K(t)&&$t(l)&&!$t(o)))return l.value=o,!0;const i=K(t)&&ce(n)?Number(n)<t.length:H(t,n),s=Reflect.set(t,n,o,a);return t===At(a)&&(i?ue(o,l)&&Ve(t,"set",n,o,l):Ve(t,"add",n,o)),s}}const Je={get:Me,set:Xe(),deleteProperty:function(e,t){const n=H(e,t),o=e[t],a=Reflect.deleteProperty(e,t);return a&&n&&Ve(e,"delete",t,void 0,o),a},has:function(e,t){const n=Reflect.has(e,t);return te(t)&&qe.has(t)||$e(e,"has",t),n},ownKeys:function(e){return $e(e,"iterate",K(e)?"length":ke),Reflect.ownKeys(e)}},Ze={get:Ge,set:(e,t)=>("production"!==process.env.NODE_ENV&&ye(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0),deleteProperty:(e,t)=>("production"!==process.env.NODE_ENV&&ye(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0)},et=Q({},Ze,{get:Qe}),tt=e=>e,nt=e=>Reflect.getPrototypeOf(e);function ot(e,t,n=!1,o=!1){const a=At(e=e.__v_raw),l=At(t);n||(t!==l&&$e(a,"get",t),$e(a,"get",l));const{has:i}=nt(a),s=o?tt:n?Rt:Bt;return i.call(a,t)?s(e.get(t)):i.call(a,l)?s(e.get(l)):void(e!==a&&e.get(t))}function at(e,t=!1){const n=this.__v_raw,o=At(n),a=At(e);return t||(e!==a&&$e(o,"has",e),$e(o,"has",a)),e===a?n.has(e):n.has(e)||n.has(a)}function lt(e,t=!1){return e=e.__v_raw,!t&&$e(At(e),"iterate",ke),Reflect.get(e,"size",e)}function it(e){e=At(e);const t=At(this);return nt(t).has.call(t,e)||(t.add(e),Ve(t,"add",e,e)),this}function st(e,t){t=At(t);const n=At(this),{has:o,get:a}=nt(n);let l=o.call(n,e);l?"production"!==process.env.NODE_ENV&&St(n,o,e):(e=At(e),l=o.call(n,e));const i=a.call(n,e);return n.set(e,t),l?ue(t,i)&&Ve(n,"set",e,t,i):Ve(n,"add",e,t),this}function ct(e){const t=At(this),{has:n,get:o}=nt(t);let a=n.call(t,e);a?"production"!==process.env.NODE_ENV&&St(t,n,e):(e=At(e),a=n.call(t,e));const l=o?o.call(t,e):void 0,i=t.delete(e);return a&&Ve(t,"delete",e,void 0,l),i}function rt(){const e=At(this),t=0!==e.size,n="production"!==process.env.NODE_ENV?X(e)?new Map(e):new Set(e):void 0,o=e.clear();return t&&Ve(e,"clear",void 0,void 0,n),o}function ut(e,t){return function(n,o){const a=this,l=a.__v_raw,i=At(l),s=t?tt:e?Rt:Bt;return!e&&$e(i,"iterate",ke),l.forEach(((e,t)=>n.call(o,s(e),s(t),a)))}}function dt(e,t,n){return function(...o){const a=this.__v_raw,l=At(a),i=X(l),s="entries"===e||e===Symbol.iterator&&i,c="keys"===e&&i,r=a[e](...o),u=n?tt:t?Rt:Bt;return!t&&$e(l,"iterate",c?De:ke),{next(){const{value:e,done:t}=r.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function ft(e){return function(...t){if("production"!==process.env.NODE_ENV){const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${re(e)} operation ${n}failed: target is readonly.`,At(this))}return"delete"!==e&&this}}function pt(){const e={get(e){return ot(this,e)},get size(){return lt(this)},has:at,add:it,set:st,delete:ct,clear:rt,forEach:ut(!1,!1)},t={get(e){return ot(this,e,!1,!0)},get size(){return lt(this)},has:at,add:it,set:st,delete:ct,clear:rt,forEach:ut(!1,!0)},n={get(e){return ot(this,e,!0)},get size(){return lt(this,!0)},has(e){return at.call(this,e,!0)},add:ft("add"),set:ft("set"),delete:ft("delete"),clear:ft("clear"),forEach:ut(!0,!1)},o={get(e){return ot(this,e,!0,!0)},get size(){return lt(this,!0)},has(e){return at.call(this,e,!0)},add:ft("add"),set:ft("set"),delete:ft("delete"),clear:ft("clear"),forEach:ut(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((a=>{e[a]=dt(a,!1,!1),n[a]=dt(a,!0,!1),t[a]=dt(a,!1,!0),o[a]=dt(a,!0,!0)})),[e,n,t,o]}const[gt,mt,ht,vt]=pt();function bt(e,t){const n=t?e?vt:ht:e?mt:gt;return(t,o,a)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(H(n,o)&&o in t?n:t,o,a)}const _t={get:bt(!1,!1)},yt={get:bt(!0,!1)},Tt={get:bt(!0,!0)};function St(e,t,n){const o=At(n);if(o!==n&&t.call(e,o)){const t=ie(e);console.warn(`Reactive ${t} contains both the raw and reactive versions of the same object${"Map"===t?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const It=new WeakMap,xt=new WeakMap,Et=new WeakMap,Ft=new WeakMap;function Pt(e){return Nt(e)?e:kt(e,!1,Je,_t,It)}function Ct(e){return kt(e,!0,Ze,yt,Et)}function Lt(e){return kt(e,!0,et,Tt,Ft)}function kt(e,t,n,o,a){if(!ne(e))return"production"!==process.env.NODE_ENV&&console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const l=a.get(e);if(l)return l;const i=(s=e).__v_skip||!Object.isExtensible(s)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(ie(s));var s;if(0===i)return e;const c=new Proxy(e,2===i?o:n);return a.set(e,c),c}function Dt(e){return Nt(e)?Dt(e.__v_raw):!(!e||!e.__v_isReactive)}function Nt(e){return!(!e||!e.__v_isReadonly)}function wt(e){return!(!e||!e.__v_isShallow)}function Ot(e){return Dt(e)||Nt(e)}function At(e){const t=e&&e.__v_raw;return t?At(t):e}const Bt=e=>ne(e)?Pt(e):e,Rt=e=>ne(e)?Ct(e):e;function $t(e){return!(!e||!0!==e.__v_isRef)}const Vt={get:(e,t,n)=>{return $t(o=Reflect.get(e,t,n))?o.value:o;var o},set:(e,t,n,o)=>{const a=e[t];return $t(a)&&!$t(n)?(a.value=n,!0):Reflect.set(e,t,n,o)}};const Ut=[];function zt(e,...t){if("production"===process.env.NODE_ENV)return;Be();const n=Ut.length?Ut[Ut.length-1].component:null,o=n&&n.appContext.config.warnHandler,a=function(){let e=Ut[Ut.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)Gt(o,n,11,[e+t.join(""),n&&n.proxy,a.map((({vnode:e})=>`at <${co(n,e.type)}>`)).join("\n"),a]);else{const n=[`[Vue warn]: ${e}`,...t];a.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=!!e.component&&null==e.component.parent,a=` at <${co(e.component,e.type,o)}`,l=">"+n;return e.props?[a,...Wt(e.props),l]:[a+l]}(e))})),t}(a)),console.warn(...n)}Re()}function Wt(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...qt(n,e[n]))})),n.length>3&&t.push(" ..."),t}function qt(e,t,n){return ee(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:$t(t)?(t=qt(e,At(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):Z(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=At(t),n?t:[`${e}=`,t])}const Mt={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"};function Gt(e,t,n,o){let a;try{a=o?e(...o):e()}catch(e){jt(e,t,n)}return a}function Qt(e,t,n,o){if(Z(e)){const a=Gt(e,t,n,o);return a&&oe(a)&&a.catch((e=>{jt(e,t,n)})),a}const a=[];for(let l=0;l<e.length;l++)a.push(Qt(e[l],t,n,o));return a}function jt(e,t,n,o=!0){const a=t?t.vnode:null;if(t){let o=t.parent;const a=t.proxy,l="production"!==process.env.NODE_ENV?Mt[n]:n;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,a,l))return;o=o.parent}const i=t.appContext.config.errorHandler;if(i)return void Gt(i,null,10,[e,a,l])}!function(e,t,n,o=!0){if("production"!==process.env.NODE_ENV){const l=Mt[t];if(n&&(a=n,Ut.push(a)),zt("Unhandled error"+(l?` during execution of ${l}`:"")),n&&Ut.pop(),o)throw e;console.error(e)}else console.error(e);var a}(e,n,a,o)}let Yt=!1,Ht=!1;const Kt=[];let Xt=0;const Jt=[];let Zt=null,en=0;const tn=Promise.resolve();let nn=null;const on=100;function an(e){const t=nn||tn;return e?t.then(this?e.bind(this):e):t}function ln(e){Kt.length&&Kt.includes(e,Yt&&e.allowRecurse?Xt+1:Xt)||(null==e.id?Kt.push(e):Kt.splice(function(e){let t=Xt+1,n=Kt.length;for(;t<n;){const o=t+n>>>1;rn(Kt[o])<e?t=o+1:n=o}return t}(e.id),0,e),sn())}function sn(){Yt||Ht||(Ht=!0,nn=tn.then(dn))}function cn(e){K(e)?Jt.push(...e):Zt&&Zt.includes(e,e.allowRecurse?en+1:en)||Jt.push(e),sn()}const rn=e=>null==e.id?1/0:e.id,un=(e,t)=>{const n=rn(e)-rn(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function dn(e){Ht=!1,Yt=!0,"production"!==process.env.NODE_ENV&&(e=e||new Map),Kt.sort(un);const t="production"!==process.env.NODE_ENV?t=>fn(e,t):q;try{for(Xt=0;Xt<Kt.length;Xt++){const e=Kt[Xt];if(e&&!1!==e.active){if("production"!==process.env.NODE_ENV&&t(e))continue;Gt(e,null,14)}}}finally{Xt=0,Kt.length=0,function(e){if(Jt.length){const t=[...new Set(Jt)];if(Jt.length=0,Zt)return void Zt.push(...t);for(Zt=t,"production"!==process.env.NODE_ENV&&(e=e||new Map),Zt.sort(((e,t)=>rn(e)-rn(t))),en=0;en<Zt.length;en++)"production"!==process.env.NODE_ENV&&fn(e,Zt[en])||Zt[en]();Zt=null,en=0}}(e),Yt=!1,nn=null,(Kt.length||Jt.length)&&dn(e)}}function fn(e,t){if(e.has(t)){const n=e.get(t);if(n>on){const e=t.ownerInstance,n=e&&so(e.type);return zt(`Maximum recursive updates exceeded${n?` in component <${n}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`),!0}e.set(t,n+1)}else e.set(t,1)}const pn=new Set;"production"!==process.env.NODE_ENV&&(pe().__VUE_HMR_RUNTIME__={createRecord:vn((function(e,t){if(gn.has(e))return!1;return gn.set(e,{initialDef:mn(t),instances:new Set}),!0})),rerender:vn((function(e,t){const n=gn.get(e);if(!n)return;n.initialDef.render=t,[...n.instances].forEach((e=>{t&&(e.render=t,mn(e.type).render=t),e.renderCache=[],e.update()}))})),reload:vn((function(e,t){const n=gn.get(e);if(!n)return;t=mn(t),hn(n.initialDef,t);const o=[...n.instances];for(const e of o){const o=mn(e.type);pn.has(o)||(o!==n.initialDef&&hn(o,t),pn.add(o)),e.appContext.propsCache.delete(e.type),e.appContext.emitsCache.delete(e.type),e.appContext.optionsCache.delete(e.type),e.ceReload?(pn.add(o),e.ceReload(t.styles),pn.delete(o)):e.parent?ln(e.parent.update):e.appContext.reload?e.appContext.reload():"undefined"!=typeof window?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}cn((()=>{for(const e of o)pn.delete(mn(e.type))}))}))});const gn=new Map;function mn(e){return ro(e)?e.__vccOpts:e}function hn(e,t){Q(e,t);for(const n in e)"__file"===n||n in t||delete e[n]}function vn(e){return(t,n)=>{try{return e(t,n)}catch(e){console.error(e),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let bn=null,_n=null;const yn={};function Tn(e,t,{immediate:n,deep:o,flush:a,onTrack:l,onTrigger:i}=W){var s;"production"===process.env.NODE_ENV||t||(void 0!==n&&zt('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==o&&zt('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const c=e=>{zt("Invalid watch source: ",e,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},r=Te===(null==(s=to)?void 0:s.scope)?to:null;let u,d,f=!1,p=!1;if($t(e)?(u=()=>e.value,f=wt(e)):Dt(e)?(u=()=>e,o=!0):K(e)?(p=!0,f=e.some((e=>Dt(e)||wt(e))),u=()=>e.map((e=>$t(e)?e.value:Dt(e)?In(e):Z(e)?Gt(e,r,2):void("production"!==process.env.NODE_ENV&&c(e))))):Z(e)?u=t?()=>Gt(e,r,2):()=>{if(!r||!r.isUnmounted)return d&&d(),Qt(e,r,3,[g])}:(u=q,"production"!==process.env.NODE_ENV&&c(e)),t&&o){const e=u;u=()=>In(e())}let g=e=>{d=b.onStop=()=>{Gt(e,r,4)}},m=p?new Array(e.length).fill(yn):yn;const h=()=>{if(b.active)if(t){const e=b.run();(o||f||(p?e.some(((e,t)=>ue(e,m[t]))):ue(e,m)))&&(d&&d(),Qt(t,r,3,[e,m===yn?void 0:p&&m[0]===yn?[]:m,g]),m=e)}else b.run()};let v;h.allowRecurse=!!t,"sync"===a?v=h:"post"===a?v=()=>Vn(h,r&&r.suspense):(h.pre=!0,r&&(h.id=r.uid),v=()=>ln(h));const b=new Ne(u,v);"production"!==process.env.NODE_ENV&&(b.onTrack=l,b.onTrigger=i),t?n?h():m=b.run():"post"===a?Vn(b.run.bind(b),r&&r.suspense):b.run();return()=>{b.stop(),r&&r.scope&&j(r.scope.effects,b)}}function Sn(e,t,n){const o=this.proxy,a=ee(e)?e.includes(".")?function(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}(o,e):()=>o[e]:e.bind(o,o);let l;Z(t)?l=t:(l=t.handler,n=t);const i=to;oo(this);const s=Tn(a,l.bind(o),n);return i?oo(i):ao(),s}function In(e,t){if(!ne(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),$t(e))In(e.value,t);else if(K(e))for(let n=0;n<e.length;n++)In(e[n],t);else if(J(e)||X(e))e.forEach((e=>{In(e,t)}));else if(se(e))for(const n in e)In(e[n],t);return e}function xn(e,t){return Z(e)?(()=>Q({name:e.name},t,{setup:e}))():e}const En=Symbol.for("v-ndc"),Fn=e=>e?4&e.vnode.shapeFlag?function(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((n=e.exposed,de(n,"__v_skip",!0),Dt(t=n)?t:new Proxy(t,Vt)),{get:(t,n)=>n in t?t[n]:n in Pn?Pn[n](e):void 0,has:(e,t)=>t in e||t in Pn}));var t;var n}(e)||e.proxy:Fn(e.parent):null,Pn=Q(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>"production"!==process.env.NODE_ENV?Lt(e.props):e.props,$attrs:e=>"production"!==process.env.NODE_ENV?Lt(e.attrs):e.attrs,$slots:e=>"production"!==process.env.NODE_ENV?Lt(e.slots):e.slots,$refs:e=>"production"!==process.env.NODE_ENV?Lt(e.refs):e.refs,$parent:e=>Fn(e.parent),$root:e=>Fn(e.root),$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?function(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:a,optionsCache:l,config:{optionMergeStrategies:i}}=e.appContext,s=l.get(t);let c;s?c=s:a.length||n||o?(c={},a.length&&a.forEach((e=>Nn(c,e,i,!0))),Nn(c,t,i)):c=t;ne(t)&&l.set(t,c);return c}(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>ln(e.update)),$nextTick:e=>e.n||(e.n=an.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?Sn.bind(e):q}),Cn=(e,t)=>e!==W&&!e.__isScriptSetup&&H(e,t),Ln={get({_:e},t){const{ctx:n,setupState:o,data:a,props:l,accessCache:i,type:s,appContext:c}=e;if("production"!==process.env.NODE_ENV&&"__isVue"===t)return!0;let r;if("$"!==t[0]){const s=i[t];if(void 0!==s)switch(s){case 1:return o[t];case 2:return a[t];case 4:return n[t];case 3:return l[t]}else{if(Cn(o,t))return i[t]=1,o[t];if(a!==W&&H(a,t))return i[t]=2,a[t];if((r=e.propsOptions[0])&&H(r,t))return i[t]=3,l[t];if(n!==W&&H(n,t))return i[t]=4,n[t];__VUE_OPTIONS_API__&&!Dn||(i[t]=0)}}const u=Pn[t];let d,f;return u?("$attrs"===t?($e(e,"get",t),process.env.NODE_ENV):"production"!==process.env.NODE_ENV&&"$slots"===t&&$e(e,"get",t),u(e)):(d=s.__cssModules)&&(d=d[t])?d:n!==W&&H(n,t)?(i[t]=4,n[t]):(f=c.config.globalProperties,H(f,t)?f[t]:void("production"===process.env.NODE_ENV||!bn||ee(t)&&0===t.indexOf("__v")||(a!==W&&(e=>"_"===e||"$"===e)(t[0])&&H(a,t)?zt(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===bn&&zt(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))))},set({_:e},t,n){const{data:o,setupState:a,ctx:l}=e;return Cn(a,t)?(a[t]=n,!0):"production"!==process.env.NODE_ENV&&a.__isScriptSetup&&H(a,t)?(zt(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):o!==W&&H(o,t)?(o[t]=n,!0):H(e.props,t)?("production"!==process.env.NODE_ENV&&zt(`Attempting to mutate prop "${t}". Props are readonly.`),!1):"$"===t[0]&&t.slice(1)in e?("production"!==process.env.NODE_ENV&&zt(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):("production"!==process.env.NODE_ENV&&t in e.appContext.config.globalProperties?Object.defineProperty(l,t,{enumerable:!0,configurable:!0,value:n}):l[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:a,propsOptions:l}},i){let s;return!!n[i]||e!==W&&H(e,i)||Cn(t,i)||(s=l[0])&&H(s,i)||H(o,i)||H(Pn,i)||H(a.config.globalProperties,i)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:H(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function kn(e){return K(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}"production"!==process.env.NODE_ENV&&(Ln.ownKeys=e=>(zt("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));let Dn=!0;function Nn(e,t,n,o=!1){const{mixins:a,extends:l}=t;l&&Nn(e,l,n,!0),a&&a.forEach((t=>Nn(e,t,n,!0)));for(const a in t)if(o&&"expose"===a)"production"!==process.env.NODE_ENV&&zt('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const o=wn[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const wn={data:On,props:$n,emits:$n,methods:Rn,computed:Rn,beforeCreate:Bn,created:Bn,beforeMount:Bn,mounted:Bn,beforeUpdate:Bn,updated:Bn,beforeDestroy:Bn,beforeUnmount:Bn,destroyed:Bn,unmounted:Bn,activated:Bn,deactivated:Bn,errorCaptured:Bn,serverPrefetch:Bn,components:Rn,directives:Rn,watch:function(e,t){if(!e)return t;if(!t)return e;const n=Q(Object.create(null),e);for(const o in t)n[o]=Bn(e[o],t[o]);return n},provide:On,inject:function(e,t){return Rn(An(e),An(t))}};function On(e,t){return t?e?function(){return Q(Z(e)?e.call(this,this):e,Z(t)?t.call(this,this):t)}:t:e}function An(e){if(K(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Bn(e,t){return e?[...new Set([].concat(e,t))]:t}function Rn(e,t){return e?Q(Object.create(null),e,t):t}function $n(e,t){return e?K(e)&&K(t)?[...new Set([...e,...t])]:Q(Object.create(null),kn(e),kn(null!=t?t:{})):t}const Vn=function(e,t){t&&t.pendingBranch?K(e)?t.effects.push(...e):t.effects.push(e):cn(e)},Un=Symbol.for("v-fgt"),zn=Symbol.for("v-txt"),Wn=Symbol.for("v-cmt");let qn=null;const Mn="__vInternal",Gn=({key:e})=>null!=e?e:null,Qn=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?ee(e)||$t(e)||Z(e)?{i:bn,r:e,k:t,f:!!n}:e:null);const jn="production"!==process.env.NODE_ENV?(...e)=>Yn(...e):Yn;function Yn(e,t=null,n=null,o=0,a=null,l=!1){if(e&&e!==En||("production"===process.env.NODE_ENV||e||zt(`Invalid vnode type when creating vnode: ${e}.`),e=Wn),(i=e)&&!0===i.__v_isVNode){const o=Hn(e,t,!0);return n&&Jn(o,n),!l&&qn&&(6&o.shapeFlag?qn[qn.indexOf(e)]=o:qn.push(o)),o.patchFlag|=-2,o}var i;if(ro(e)&&(e=e.__vccOpts),t){t=function(e){return e?Ot(e)||Mn in e?Q({},e):e:null}(t);let{class:e,style:n}=t;e&&!ee(e)&&(t.class=_e(e)),ne(n)&&(Ot(n)&&!K(n)&&(n=Q({},n)),t.style=ge(n))}const s=ee(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:ne(e)?4:Z(e)?2:0;return"production"!==process.env.NODE_ENV&&4&s&&Ot(e)&&zt("Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.","\nComponent that was made reactive: ",e=At(e)),function(e,t=null,n=null,o=0,a=null,l=(e===Un?0:1),i=!1,s=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Gn(t),ref:t&&Qn(t),scopeId:_n,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:o,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:bn};return s?(Jn(c,n),128&l&&e.normalize(c)):n&&(c.shapeFlag|=ee(n)?8:16),"production"!==process.env.NODE_ENV&&c.key!=c.key&&zt("VNode created with invalid key (NaN). VNode type:",c.type),!i&&qn&&(c.patchFlag>0||6&l)&&32!==c.patchFlag&&qn.push(c),c}(e,t,n,o,a,s,l,!0)}function Hn(e,t,n=!1){const{props:o,ref:a,patchFlag:l,children:i}=e,s=t?function(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=_e([t.class,o.class]));else if("style"===e)t.style=ge([t.style,o.style]);else if(G(e)){const n=t[e],a=o[e];!a||n===a||K(n)&&n.includes(a)||(t[e]=n?[].concat(n,a):a)}else""!==e&&(t[e]=o[e])}return t}(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&Gn(s),ref:t&&t.ref?n&&a?K(a)?a.concat(Qn(t)):[a,Qn(t)]:Qn(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:"production"!==process.env.NODE_ENV&&-1===l&&K(i)?i.map(Kn):i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Un?-1===l?16:16|l:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Hn(e.ssContent),ssFallback:e.ssFallback&&Hn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Kn(e){const t=Hn(e);return K(e.children)&&(t.children=e.children.map(Kn)),t}function Xn(e=" ",t=0){return jn(zn,null,e,t)}function Jn(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(K(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),Jn(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Mn in t?3===o&&bn&&(1===bn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=bn}}else Z(t)?(t={default:t,_ctx:bn},n=32):(t=String(t),64&o?(n=16,t=[Xn(t)]):n=8);e.children=t,e.shapeFlag|=n}let Zn,eo,to=null,no="__VUE_INSTANCE_SETTERS__";(eo=pe()[no])||(eo=pe()[no]=[]),eo.push((e=>to=e)),Zn=e=>{eo.length>1?eo.forEach((t=>t(e))):eo[0](e)};const oo=e=>{Zn(e),e.scope.on()},ao=()=>{to&&to.scope.off(),Zn(null)};const lo=/(?:^|[-_])(\w)/g,io=e=>e.replace(lo,(e=>e.toUpperCase())).replace(/[-_]/g,"");function so(e,t=!0){return Z(e)?e.displayName||e.name:e.name||t&&e.__name}function co(e,t,n=!1){let o=so(t);if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?io(o):n?"App":"Anonymous"}function ro(e){return Z(e)&&"__vccOpts"in e}var uo=xn({name:"qt-poster-focus-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const fo={class:"absoluteFocusTitleRoot",delayLoad:"400",flexStyle:"${titleFocusStyle}",autoHeight:"",focusable:!1},po={class:"absoluteFocusMainBgRoot",duplicateParentState:!0,focusable:!1,showIf:"${title.enable}"};uo.render=function(e,t,n,i,s,r){const u=o("text-view");return a(),l("div",fo,[c(" 浮动标题"),b(u,{duplicateParentState:!0,focusable:!1,fontSize:26,ellipsizeMode:2,lines:1,paddingRect:[16,18,0,0],gradientBackground:"${floatTitle.background}",style:{height:"64px",color:"#ffffff"},flexStyle:"${floatTitle.style}",text:"${floatTitle}",showIf:"${floatTitle.enable}",gravity:"left",postDelay:"250"}),_("div",po,[c(" 主标题 "),b(u,{duplicateParentState:!0,focusable:!1,fontSize:30,ellipsizeMode:2,autoHeight:"",maxLines:2,gravity:"left",paddingRect:[16,8,12,8],style:{"background-color":"transparent",color:"#000000"},flexStyle:"${title.style}",text:"${title.text}"}),c(" 副标题 "),b(u,{duplicateParentState:!0,focusable:!1,fontSize:24,ellipsizeMode:2,lines:1,autoHeight:"",gravity:"left|top",paddingRect:[16,0,0,16],style:{color:"rgba(0,0,0,.4)","background-color":"transparent"},flexStyle:"${subTitle.style}",text:"${subTitle.text}",visibility:"${subTitle}"})])])},uo.__scopeId="data-v-703673b8",uo.__file="src/poster/qt-poster-focus-title.vue";var go=xn({name:"qt-poster-corner-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const mo={class:"cornerRoot",focusable:!1};go.render=function(e,t,n,i,s,c){const r=o("text-view");return a(),l("div",mo,[b(r,{duplicateParentState:!0,focusable:!1,textSize:e.fontSize,ellipsizeMode:2,lines:1,typeface:"bold",gravity:"center",postDelay:"350",style:{color:"white",padding:"4px 8px",height:"36px"},gradientBackground:"${corner.background}",autoWidth:"",text:"${corner.text}",showIf:"${corner.enable}"},null,8,["textSize"])])},go.__scopeId="data-v-4b767ea2",go.__file="src/poster/qt-poster-corner-title.vue";var ho=xn({name:"qt-poster",components:{"qt-poster-corner-title":go,"qt-poster-focus-title":uo},props:{requestFirstFocus:{type:Boolean,default:!1},loadDelay:{type:Number,default:500},type:{type:Number,default:10001},templateKeyMap:{type:Object,default:()=>null},isFocusable:{type:Boolean,default:!0},enableFocusBorder:{type:Boolean,default:!0}},setup:(e,t)=>({mainTextShowOnState:["normal","selected"]})});const vo=["enableFocusBorder"],bo=["showOnState"],_o={flexStyle:"${floatTitle.style}",class:"qt-ui-poster-title-css",gradientBackground:{colors:["#e5000000","#00000000"],cornerRadii4:[0,0,8,8],orientation:4},duplicateParentState:!0,delayLoad:"500",focusable:!1,showIf:"${floatTitle.enable}"},yo={flexStyle:"${ripple.style}",class:"qt-ui-poster-ripple-view-root-css",showOnState:"focused",focusable:!1,clipChildren:!1},To=(e=>(y("data-v-3c4765e9"),e=e(),T(),e))((()=>_("img",{src:"${ripple.src}",class:"qt-ui-ripple-img-css",focusable:!1,duplicateParentState:!0,showIf:"${true}",delayLoad:"800"},null,-1)));ho.render=function(e,t,n,l,i,s){const r=o("qt-poster-focus-title"),u=o("text-view"),f=o("ripple-view"),g=o("qt-poster-corner-title"),m=o("item-frame");return a(),d(m,{type:e.type,layout:"${layout}",flexStyle:"${style}",focusable:e.isFocusable,eventClick:"",eventFocus:"",name:"poster",class:"qt-ui-poster-root-css",itemShowShimmer:"${shimmer.enable}",hideShadow:"${shadow.enable}",shimmerSize:"${size}"},{default:h((()=>[c("封面"),_("img",{class:"qt-ui-poster-img-css",duplicateParentState:!0,postDelay:"300",focusable:!1,enableFocusBorder:e.enableFocusBorder,flexStyle:"${image.style}",src:"${image.src}"},null,8,vo),c(" 焦点选中时的标题 "),b(r,{focusable:!1,showOnState:"focused"}),_("div",{style:{"flex-direction":"column","background-color":"transparent","z-index":"999"},duplicateParentState:!0,focusable:!1,flexStyle:"${titleStyle}",showOnState:e.mainTextShowOnState},[c(" 浮动标题 "),_("div",_o,[b(u,{duplicateParentState:!0,focusable:!1,textSize:26,ellipsizeMode:2,enablePostTask:"",postDelay:"200",lines:1,gravity:"left",style:{"z-index":"999",height:"50px"},flexStyle:"${floatTitle.style}",text:"${floatTitle.text}"})]),c(" 主标题"),b(u,{duplicateParentState:!0,focusable:!1,textSize:30,ellipsizeMode:2,lines:1,delayLoad:"400",postDelay:"200",gravity:"left",paddingRect:[16,8,0,0],gradientBackground:"${title.background}",style:{"z-index":"999",height:"60px"},flexStyle:"${title.style}",text:"${title.text}",showIf:"${title.enable}"})],8,bo),_("div",yo,[b(f,{class:"qt-ui-ripple-view-css",delayLoad:"800",focusable:!1,duplicateParentState:!0,color:"#FF4E46",isShowRipple:"${ripple.enable}",rippleVisible:"invisible"}),To]),b(g,{focusable:!1,delayLoad:"600",flexStyle:"${corner.style}",style:{"z-index":"1000",position:"absolute"}}),p(e.$slots,"default")])),_:3},8,["type","focusable"])},ho.__scopeId="data-v-3c4765e9",ho.__file="src/poster/index.vue";var So=t({name:"qt-nav-bar",props:{textKey:{type:String,default:"text"},itemGap:{type:Number,default:0},horizontal:{type:Boolean,default:!0},initSelect:{type:Number,default:0},className:{type:String,default:"list_view"},size:{type:String,default:"medium"},navs:{type:Array,default:()=>[]}},setup(e,t){const o=n();let a=n("#f5f5f5"),l=S({normal:"#80ffffff",focused:"#000000",selected:"#F5F5F5"}),i=-1,s=-1;I((()=>e.navs),(e=>{e.length>0&&c(e)}));const c=t=>{t||(t=[]),t.forEach(((t,n)=>{0!==e.itemGap&&(e.horizontal?t.decoration={right:e.itemGap}:t.decoration={bottom:e.itemGap}),t.type||(t.type=2e4)})),o.value?.setListData(t),clearTimeout(s);let n=e.initSelect;n>-1&&(o.value?.scrollToPosition(n),s=setTimeout((()=>{o.value?.setItemSelected(n,!0),r(n)}),300))},r=e=>{clearTimeout(i),i=setTimeout((()=>{t.emit("tab-select",{position:e})}),300)};return{navList:o,focusColor:a,textColor:l,bgPadding:[10,10],onTabChange:e=>{!0===e.hasFocus&&(t.emit("tab-focus",e),r(e.position))},scrollToPosition:e=>{o.value?.scrollToPosition(e)},scrollToTop:()=>{o.value?.scrollToTop()},init:e=>{c(e.data)}}}});const Io=["stateTextColor","sateBackgroundPadding"],xo=["stateTextColor","sateBackgroundPadding"];var Eo,Fo;So.render=function(e,t,n,l,c,r){const u=o("text-view"),f=o("qt-list-view");return e.horizontal?(a(),d(f,{key:0,class:s([e.className,"qt-ui-nav-bar-root-horizontal"]),ref:"navList",clipChildren:!1,clipPadding:!1,horizontal:"",onItemFocused:e.onTabChange},{default:h((()=>[_("div",{class:"qt-ui-nav-bar-item-css",type:2e4,autoWidth:"",focusable:!0,eventFocus:"",flexStyle:"${style}",clipChildren:!1,style:i({focusBackgroundColor:e.focusColor}),stateTextColor:e.textColor,sateBackgroundPadding:e.bgPadding},[b(u,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,Io),p(e.$slots,"default")])),_:3},8,["class","onItemFocused"])):(a(),d(f,{key:1,class:s([e.className,"qt-ui-nav-bar-root-vertical"]),ref:"navList",clipChildren:!1,clipPadding:!1,onItemFocused:e.onTabChange},{default:h((()=>[_("div",{class:"qt-ui-nav-bar-item-css",type:2e4,flexStyle:"${style}",eventFocus:"",autoWidth:"",focusable:!0,stateTextColor:e.textColor,style:i({focusBackgroundColor:e.focusColor}),sateBackgroundPadding:e.bgPadding,clipChildren:!1},[b(u,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,xo),p(e.$slots,"default")])),_:3},8,["class","onItemFocused"]))},So.__file="src/nav-bar/index.vue",function(e){e[e.QT_WATERFALL_SECTION_TYPE_LOADING=-1]="QT_WATERFALL_SECTION_TYPE_LOADING",e[e.QT_WATERFALL_SECTION_TYPE_TITLE=1e3]="QT_WATERFALL_SECTION_TYPE_TITLE",e[e.QT_WATERFALL_SECTION_TYPE_FLEX=1002]="QT_WATERFALL_SECTION_TYPE_FLEX",e[e.QT_WATERFALL_SECTION_TYPE_LIST=1003]="QT_WATERFALL_SECTION_TYPE_LIST",e[e.QT_WATERFALL_SECTION_TYPE_TAB=1003]="QT_WATERFALL_SECTION_TYPE_TAB",e[e.QT_WATERFALL_SECTION_TYPE_INDEPENDENT_ITEM=1004]="QT_WATERFALL_SECTION_TYPE_INDEPENDENT_ITEM",e[e.QT_WATERFALL_SECTION_TYPE_TAB_LIST=1005]="QT_WATERFALL_SECTION_TYPE_TAB_LIST",e[e.QT_WATERFALL_SECTION_TYPE_CARD=1006]="QT_WATERFALL_SECTION_TYPE_CARD",e[e.QT_WATERFALL_SECTION_TYPE_VUE=1007]="QT_WATERFALL_SECTION_TYPE_VUE",e[e.QT_WATERFALL_SECTION_TYPE_END=-1001]="QT_WATERFALL_SECTION_TYPE_END",e[e.QT_WATERFALL_SECTION_TYPE_BLANK=-1e3]="QT_WATERFALL_SECTION_TYPE_BLANK"}(Eo||(Eo={})),function(e){e[e.QT_WATERFALL_ITEM_TYPE_STANDARD_ITEM=10001]="QT_WATERFALL_ITEM_TYPE_STANDARD_ITEM",e[e.QT_WATERFALL_ITEM_TYPE_TAB=10002]="QT_WATERFALL_ITEM_TYPE_TAB",e[e.QT_WATERFALL_ITEM_TYPE_CARD=10003]="QT_WATERFALL_ITEM_TYPE_CARD"}(Fo||(Fo={}));var Po=xn({name:"card-item",setup:()=>({})});Po.render=function(e,t,n,l,i,s){const c=o("es-card-container");return a(),d(c,{clipChildren:!1,clipPadding:!1,autoRecycle:!0,focusable:!0,disablePlaceholderFocus:"",layout:"${layout}",flexStyle:"${style}",cardId:"${cardId}",type:10003,class:"qt-ui-waterfall-card-item"})},Po.__scopeId="data-v-599898aa",Po.__file="src/waterfall/item/card-item.vue";var Co=xn({name:"standard-section",components:{"card-item":Po},props:{enablePlaceholder:{type:Boolean,default:!0},plateData:{type:String,default:""},useDiff:{type:Boolean,default:!0},cachePool:{type:Object,default:{}},sectionType:{type:Number,default:Eo.QT_WATERFALL_SECTION_TYPE_FLEX},standItemType:{type:Number,default:Fo.QT_WATERFALL_ITEM_TYPE_STANDARD_ITEM},currentPageIndex:{type:Number,default:-1}}});const Lo=["type"];Co.render=function(e,t,n,i,s,r){const u=o("text-view"),d=o("qt-poster"),f=o("card-item"),g=o("tv-flex");return a(),l("div",{class:"standard-section-css",blockFocusDirections:["left","right"],clipChildren:!1,type:e.sectionType,focusable:!1,keyName:"_id",flexStyle:"${style}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[b(u,{class:"standard-section-title-text-css",delayLoad:"200",postDelay:"300",flexStyle:"${titleStyle}",focusable:!1,textSize:50,text:"${title}"}),b(g,{class:"standard-section-css",name:"QUICKTVUI_WARTERFALL_LIST",blockFocusDirections:["left","right"],clipChildren:!1,bringFocusChildToFront:!0,cachePool:e.cachePool,useDiff:e.useDiff,keyName:"_id",enablePlaceholder:e.enablePlaceholder,focusScrollTarget:"${focusScrollTarget==true}",list:"${itemList}"},{default:h((()=>[c(" poster "),b(d,{"load-delay":500,type:e.standItemType},null,8,["type"]),c(" card "),b(f),p(e.$slots,"default")])),_:3},8,["cachePool","useDiff","enablePlaceholder"])],8,Lo)},Co.__scopeId="data-v-227e921e",Co.__file="src/waterfall/section/flex-section.vue";const ko="tab-list-section";var Do=xn({name:"tabs-list-section",props:{enablePlaceholder:{type:Boolean,default:!0},isSwitchBgScroll:{type:Boolean,default:!1},standItemType:{type:Number,default:10001},tabItemType:{type:Number,default:10002},sectionType:{type:Number,default:Eo.QT_WATERFALL_SECTION_TYPE_LIST},fetchPendingData:{type:Function,default:null},arrangeType:{type:String,default:"TB"}},setup(e,t){const n=P();return{blockDirections:["left","right"],onItemBind:function(e){n.isLoggable(C.DEBUG)&&n.d(ko,"----------onItemBind--------------\x3e>>",e)},onItemClick:function(e){n.isLoggable(C.DEBUG)&&n.d(ko,"----------onItemClick--------------\x3e>>",e)},onItemRecycled:function(e){n.isLoggable(C.DEBUG)&&n.d(ko,"----------onItemRecycled--------------\x3e>>",e)},onItemFocused:function(e){n.isLoggable(C.DEBUG)&&n.d(ko,"----------onItemFocused--------------\x3e>>",e)}}}});const No={class:"qt-ui-section-tab-list-root",focusable:!1,flexStyle:"${style}",blockFocusDirections:["right"],clipChildren:!1,useAdvancedFocusSearch:!0,bringFocusChildToFront:!0},wo=["type"];Do.render=function(e,t,n,l,i,s){const c=o("text-view"),r=o("qt-poster"),u=o("tv-list"),f=o("tv-item");return a(),d(f,{type:e.sectionType,clipPadding:!1,clipChildren:!1,ref:"listSection",class:"tab-list-section-root-css",onItemClick:e.onItemClick,onItemBind:e.onItemBind,onItemUnbind:e.onItemRecycled,onItemFocused:e.onItemFocused},{default:h((()=>[_("div",No,[b(c,{class:"tab-list-section-title-text-css",delayLoad:"200",postDelay:"300",flexStyle:"${titleStyle}",focusable:!1,textSize:50,text:"${title}"}),b(u,{list:"${itemList}",horizontal:"",clipChildren:!1,focusable:!1,class:"tab-list-section-list-css",name:"QUICKTVUI_WARTERFALL_LIST",resetOnDetach:!0,enableKeepFocus:"${enableKeepFocus==true}",endHintEnabled:"${enableEndHit}",onScrollEnable:!1,setSelectChildPosition:0,enablePlaceholder:e.enablePlaceholder,cachePoolName:"HorizontalList",blockFocusDirections:e.blockDirections},{default:h((()=>[b(r,{type:e.standItemType},null,8,["type"]),_("div",{type:e.tabItemType,class:"qt-ui-section-tab-list-item",clipChildren:!1,flexStyle:"${style}",style:{"padding-left":"24px","padding-right":"23px","justify-content":"center",height:"50px"},autoWidth:"",name:"QUICKTVUI_TAB_2",focusable:!0,eventClick:"",eventFocus:""},[b(c,{class:"qt-ui-section-tab-list-item-text",autoWidth:"",flexStyle:"${textStyle}",gravity:"center",fontSize:36,lines:1,focusable:!1,duplicateParentState:!0,style:{height:"50px"},text:"${text}"})],8,wo),p(e.$slots,"default")])),_:3},8,["enablePlaceholder","blockFocusDirections"])])])),_:3},8,["type","onItemClick","onItemBind","onItemUnbind","onItemFocused"])},Do.__scopeId="data-v-88e60816",Do.__file="src/waterfall/section/tabs-list-section.vue";var Oo=xn({name:"loading-section"});const Ao={focusable:!1,type:-1,class:"loading-section-css"};Oo.render=function(e,t,n,i,s,c){const r=o("qt-loading-view");return a(),l("div",Ao,[b(r,{class:"loading-section-loading-css"})])},Oo.__scopeId="data-v-48609f24",Oo.__file="src/waterfall/section/loading-section.vue";var Bo=xn({name:"end-section",setup:()=>({})});const Ro={type:-1001,focusable:!1,flexStyle:"${style}",class:"qt-waterfall-end-section-css"};Bo.render=function(e,t,n,i,s,c){const r=o("text-view");return a(),l("div",Ro,[b(r,{focusable:!1,gravity:"center",flexStyle:"${titleStyle}",class:"qt-waterfall-end-section-text-css",fontSize:28,text:"${title}"})])},Bo.__scopeId="data-v-70b82c43",Bo.__file="src/waterfall/section/end-section.vue";var $o=xn({props:{plateTitleLeftMargin:{type:Number,default:0},type:{type:Number,default:Eo.QT_WATERFALL_SECTION_TYPE_TITLE}},setup:(e,t)=>({})});const Vo=["type"];$o.render=function(e,t,n,s,c,r){const u=o("text-view");return a(),l("div",{class:"section-title-css",blockFocusDirections:["left","right"],clipChildren:!1,type:e.type,focusable:!1,bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[b(u,{class:"section-title-text-css",delayLoad:"200",postDelay:"300",style:i({marginLeft:e.plateTitleLeftMargin+"px"}),focusable:!1,textSize:50,text:"${title}"},null,8,["style"])],8,Vo)},$o.__scopeId="data-v-20428d40",$o.__file="src/waterfall/section/section-title.vue";var Uo=xn({name:"blank-section",setup:()=>({})});const zo={focusable:!1,type:-1e3,flexStyle:"${style}",class:"qt-ui-waterfall-blank-section"};Uo.render=function(e,t,n,o,i,s){return a(),l("div",zo)},Uo.__scopeId="data-v-eeab4d88",Uo.__file="src/waterfall/section/blank-section.vue";var Wo=xn({name:"card-section",setup:()=>({})});const qo={type:1006,class:"qt-ui-waterfall-card-section-css",clipChildren:!1,clipPadding:!1,keyName:"_id",flexStyle:"${style}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0};Wo.render=function(e,t,n,i,s,c){const r=o("text-view"),u=o("es-card-container");return a(),l("div",qo,[b(r,{class:"qt-ui-waterfall-card-section-title-css",delayLoad:"200",postDelay:"300",flexStyle:"${titleStyle}",focusable:!1,textSize:50,text:"${title}"}),b(u,{cardId:"${cardId}",clipChildren:!1,clipPadding:!1,autoRecycle:!0,focusable:!0,flexStyle:"${cardStyle}",class:"qt-ui-waterfall-card-section"})])},Wo.__scopeId="data-v-43a44788",Wo.__file="src/waterfall/section/card-section.vue";var Mo=xn({name:"vue-section",setup:(e,t)=>({onSectionBind:function(){}})});function Go(e,t){const n=[];if(t&&t.length>0)for(let o=0;o<t.length;o++){let a=Qo(e,t[o]);n.push(a)}return n}function Qo(e,t){let n=0;return t.itemList.length>0&&(n=function(e,t){const n=t.itemList,o=t.style?.spacing??0,a=t.titleStyle,l=a?.height??0,i=a?.marginTop??0,s=a?.marginBottom??0,c=a?.paddingTop??0,r=a?.paddingBottom??0;let u=0,d=0,f=0,p=0;for(let t=0;t<n.length;t++){const a=n[t],l=a.decoration,i=l?.left??0,s=l?.top??0,c=l?.right??0,r=l?.bottom??0;let g=a?.style.width??0,m=a?.style.height??0;u+g+c>=e&&(d+=f+o,f=0,u=0),a.layout||(a.layout=[0,0,g,m]),a.layout[0]=u+i,a.layout[1]=d+s,a.layout[1]+m+r>p&&(p=a.layout[1]+m+r),m+s+r>f&&(f=m+s+r),u+=g+o+i+c}return p+l+i+s+c+r}(e.width,t),t.style.height=n),t}function jo(){let e=[];function t(e){return e.itemList.length}function n(n,o){console.log("----1--------getRangeSectionListItemCount-----------------\x3e>>>");const a=e.length;if(n<0||n>=a)return 0;console.log("----2--------getRangeSectionListItemCount-----------------\x3e>>>");let l=n+o;n+o>a&&(l=a),console.log("----3--------getRangeSectionListItemCount-----------------\x3e>>>");let i=0;for(let o=n;o<l;o++){i+=t(e[o])}return i}function o(){console.log("--------dumpWaterfallData---------\x3e>>>",e)}return{init:function(){},getSectionList:function(){return e},addSectionList:function(a){const l=e.length,i=n(0,l),s=function(e){if(e.length<=0)return 0;let n=0;for(let o=0;o<e.length;o++){n+=t(e[o])}return n}(a);return e.push(...a),o(),{sectionIndex:l,sectionCount:a.length,itemIndex:i,itemCount:s}},deleteSection:function(t,a){const l=n(0,t-1),i=n(t,a);return e.splice(t,a),o(),{sectionIndex:t,sectionCount:a,itemIndex:l,itemCount:i}},updateSection:function(a,l){const i=n(0,a-1),s=t(l);return e.splice(a,1,l),o(),{sectionIndex:a,sectionCount:1,itemIndex:i,itemCount:s}},getSection:function(t){if(!(t<0||t>=e.length||0==e.length))return e[t]},addItemList:function(t,n){const a=e.length;if(t<0||t>=a||n.length<=0)return{sectionIndex:-1,sectionCount:0,itemIndex:-1,itemCount:0};const l=e[t],i=l.itemList.length;return l.itemList.push(...n),o(),{sectionIndex:t,sectionCount:1,itemIndex:i,itemCount:n.length}},deleteItem:function(t,n,a){return e[t].itemList.splice(n,a),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:a}},updateItem:function(t,n,a){return e[t].itemList.splice(n,1,a),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:1}},updateItemList:function(t,n,a,l){return e[t].itemList.splice(n,a,...l),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:a}},getItem:function(t,n){const o=e[t];if(o&&o.itemList.length>0&&n>=0&&n<o.itemList.length){return o.itemList[n]}},destroy:function(){e=[]}}}Mo.render=function(e,t,n,l,i,s){const c=o("tv-item");return a(),d(c,{class:"qt-ui-waterfall-vue-section",type:1007,blockFocusDirections:["left","right"],clipChildren:!1,flexStyle:"${style}",singleton:"",onItemBind:e.onSectionBind},{default:h((()=>[p(e.$slots,"default")])),_:3},8,["onItemBind"])},Mo.__scopeId="data-v-f8447724",Mo.__file="src/waterfall/section/vue-section.vue";const Yo="qt-waterfall";var Ho,Ko=xn({name:"qt-waterfall",emits:["onScroll","onScrollStateChanged","onItemClick","onItemFocused","onSectionBind","onSectionAttached"],props:{enablePlaceholder:{type:Boolean,default:!0},prevLoadNumber:{type:Number,default:3},backTop:{type:Function,default:()=>{}},isLoadMore:{type:Boolean,default:!0},headBlank:{type:Number,default:90}},setup(e,t){const o=P(),a={name:"tvList"+Date.now(),size:{20008:10}},l=n();let i;const s=jo();return{waterfallRef:l,init:function(e){i=e},getSectionList:function(){return s.getSectionList()},setSectionList:function(e){if(!i)return;o.isLoggable(C.DEBUG)&&o.d(Yo,"-------1---setSectionList--------------\x3e>>"),s.destroy();const t=s.addSectionList(e);o.isLoggable(C.DEBUG)&&o.d(Yo,"-------2---setSectionList--------------\x3e>>",t);const n=Go(i,e);o.isLoggable(C.DEBUG)&&o.d(Yo,"----------setSectionList-----最终数据---------\x3e>>",n),l.value?.setListData(n)},addSectionList:function(e){if(!i)return;s.addSectionList(e);const t=Go(i,e);o.isLoggable(C.DEBUG)&&o.d(Yo,"----------addSectionList-----最终数据---------\x3e>>",t),l.value?.addListData(t)},deleteSection:function(e,t){const n=s.deleteSection(e,t);o.isLoggable(C.DEBUG)&&o.d(Yo,"----------deleteSection-----最终数据---------\x3e>>",n),l.value?.deleteItem(e,t)},updateSection:function(e,t){s.updateSection(e,t);const n=Qo(i,t);o.isLoggable(C.DEBUG)&&o.d(Yo,"----------updateSection-----最终数据---------\x3e>>sectionIndex:"+e+"updateSection:"+n),l.value?.updateItem(e,n)},updateSectionList:function(e,t,n){const o=[];for(let t=0;t<n.length;t++){const a=n[t];s.updateSection(e+t,a);const l=Qo(i,a);l&&o.push(l)}l.value?.updateItemList(e,t,o)},getSection:function(e){return s.getSection(e)},addItemList:function(e,t){s.addItemList(e,t);const n=s.getSection(e);if(n){const t=Qo(i,n);l.value?.updateItem(e,t)}},deleteItem:function(e,t,n){s.deleteItem(e,t,n);const o=s.getSection(e);if(o){const t=Qo(i,o);l.value?.updateItem(e,t)}},updateItem:function(e,t,n){s.updateItem(e,t,n);const o=s.getSection(e);if(o){const t=Qo(i,o);l.value?.updateItem(e,t)}},updateItemList:function(e,t,n,o){s.updateItemList(e,t,n,o);const a=s.getSection(e);if(a){const t=Qo(i,a);l.value?.updateItem(e,t)}},getItem:function(e,t){return s.getItem(e,t)},cachePool:a,flexCachePool:{name:"tvFlex",size:{1:50}},onScroll:function(e){e.stopPropagation();let n=e.offsetY,o=e.offsetX;t.emit("onScroll",o,n)},onItemClick:function(e){o.isLoggable(C.DEBUG)&&o.d(Yo,"----------onItemClick--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" "),t.emit("onItemClick",e.parentPosition,e.position,e.item)},onItemFocused:function(e){o.isLoggable(C.DEBUG)&&o.d(Yo,"----------onItemFocused--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" isFocused:"+e.isFocused+" "),t.emit("onItemFocused",e.parentPosition,e.position,e.isFocused,e.item)},onSectionBind:function(e){if(e){o.isLoggable(C.DEBUG)&&o.d(Yo,"----------onSectionBind--------------\x3e>>",e);let n=e.pageIndex??0;t.emit("onSectionBind",n,e.position)}},onSectionAttached:function(e){if(e){o.isLoggable(C.DEBUG)&&o.d(Yo,"----------onSectionAttached--------------\x3e>>",e);let n=e.pageIndex??0;t.emit("onSectionAttached",n,e.position)}},onScrollStateChanged:function(e){let n=e.offsetY,o=e.offsetX,a=e.newState;t.emit("onScrollStateChanged",o,n,a)},resumePostTask:function(){l.value?.pausePostTask()},pausePostTask:function(){l.value?.pausePostTask()},clearPostTask:function(){l.value?.clearPostTask()},destroy:function(){l.value?.destroy()}}},components:{"flex-section":Co,"tabs-list-section":Do,"section-title":$o,"loading-section":Oo,"end-section":Bo,"blank-section":Uo,"card-section":Wo,"vue-section":Mo}});function Xo(){const e=new Map,t=new Map;function n(n){const o={index:n,state:Ho.QT_TAB_PAGE_STATE_IDLE};e.set(n,o),t.set(n,[])}function o(e){return e.itemList.length}function a(e,t,n){const a=e.length;if(t<0||t>=a)return 0;let l=t+n;t+n>a&&(l=a),console.log("----3--------getRangeSectionListItemCount-----------------\x3e>>>");let i=0;for(let n=t;n<l;n++){i+=o(e[n])}return i}function l(){console.log("--------dumpTabWaterfallData---------\x3e>>>",t)}return{initTab:function(e){const t=e.itemList;for(let e=0;e<t.length;e++)n(e)},getTabPageData:function(t){return e.get(t)},setTabPageData:function(t,n){e.set(t,n)},getSectionList:function(e){return t.get(e)??[]},addSectionList:function(n,i){const s=t.get(n)??[],c=s.length,r=a(s,0,c),u=function(e){if(e.length<=0)return 0;let t=0;for(let n=0;n<e.length;n++){t+=o(e[n])}return t}(i);s.push(...i);const d=e.get(n);return d&&(d.state=Ho.QT_TAB_PAGE_STATE_IDLE),l(),{pageIndex:n,sectionIndex:c,sectionCount:i.length,itemIndex:r,itemCount:u}},deleteSection:function(e,n,o){const i=t.get(e)??[],s=a(i,0,n-1),c=a(i,n,o);return i.splice(n,o),l(),{pageIndex:e,sectionIndex:n,sectionCount:o,itemIndex:s,itemCount:c}},updateSection:function(e,n,i){const s=t.get(e)??[],c=a(s,0,n-1),r=o(i);return s.splice(n,1,i),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:c,itemCount:r}},updateSectionList:function(e,n){return t.set(e,n),l(),{pageIndex:e,sectionIndex:0,sectionCount:n.length,itemIndex:-1,itemCount:-1}},getSection:function(e,n){const o=t.get(e)??[];if(!(n<0||n>=o.length||0==o.length))return o[n]},addItemList:function(e,n,o){const a=t.get(e)??[],i=a.length;if(n<0||n>=i||o.length<=0)return{pageIndex:e,sectionIndex:-1,sectionCount:0,itemIndex:-1,itemCount:0};const s=a[n],c=s.itemList.length;return s.itemList.push(...o),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:c,itemCount:o.length}},deleteItem:function(e,n,o,a){return(t.get(e)??[])[n].itemList.splice(o,a),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:a}},updateItem:function(e,n,o,a){return(t.get(e)??[])[n].itemList.splice(o,1,a),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:1}},updateItemList:function(e,n,o,a,i){return(t.get(e)??[])[n].itemList.splice(o,a,...i),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:a}},getItem:function(e,n,o){const a=(t.get(e)??[])[n];if(a&&a.itemList.length>0&&o>=0&&o<a.itemList.length){return a.itemList[o]}},destroy:function(){t.clear()}}}Ko.render=function(e,t,n,l,i,s){const r=o("flex-section"),u=o("tabs-list-section"),f=o("loading-section"),g=o("end-section"),m=o("blank-section"),v=o("card-section"),_=o("vue-section"),y=o("tv-list");return a(),d(y,{ref:"waterfallRef",class:"qt-waterfall-root-css",clipChildren:!1,clipPadding:!1,listenBoundEvent:!0,negativeKeyTime:"30",postContentDelay:"500",onScroll:e.onScroll,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onItemBind:e.onSectionBind,onItemAttached:e.onSectionAttached,focusMemory:!1,cachePool:e.cachePool,preload:1,checkScrollOffsetOnStateChanged:!0,makeChildVisibleType:"center",scrollThresholdVertical:50,scrollEventThrottle:16,enableSelectOnFocus:!1,advancedFocusSearchSpan:"1",scrollYLesserReferenceValue:30,scrollYGreaterReferenceValue:30,shakePreCheckNumber:"4",blockFocusDirections:["down"],onScrollStateChanged:e.onScrollStateChanged},{default:h((()=>[c(" 普通版块"),b(r,{"cache-pool":e.flexCachePool,enablePlaceholder:e.enablePlaceholder},{default:h((()=>[p(e.$slots,"item")])),_:3},8,["cache-pool","enablePlaceholder"]),c("一行滚动 多级tab"),b(u,{enablePlaceholder:e.enablePlaceholder},{default:h((()=>[p(e.$slots,"list-item")])),_:3},8,["enablePlaceholder"]),c(" loading"),b(f),c(" end "),b(g),c(" blank "),b(m),c(" card "),b(v),c(" vue "),b(_,null,{default:h((()=>[p(e.$slots,"vue-section")])),_:3}),p(e.$slots,"section")])),_:3},8,["onScroll","onItemClick","onItemFocused","onItemBind","onItemAttached","cachePool","onScrollStateChanged"])},Ko.__scopeId="data-v-2e65df68",Ko.__file="src/waterfall/index.vue",function(e){e[e.QT_TAB_PAGE_STATE_IDLE=0]="QT_TAB_PAGE_STATE_IDLE",e[e.QT_TAB_PAGE_STATE_BUSY=1]="QT_TAB_PAGE_STATE_BUSY",e[e.QT_TAB_PAGE_STATE_COMPLETE=2]="QT_TAB_PAGE_STATE_COMPLETE",e[e.QT_TAB_PAGE_STATE_ERROR=3]="QT_TAB_PAGE_STATE_ERROR"}(Ho||(Ho={}));const Jo="qt-tab";var Zo=xn({name:"qt-tab",emits:["onTabPageLoadData","onTabPageChanged","onTabEvent","onTabPageItemClick","onTabPageItemFocused","onTabPageSectionAttached","onTabPageScroll","onTabPageScrollStateChanged","onTabMoveToTopStart","onTabMoveToTopEnd","onTabMoveToBottomStart","onTabMoveToBottomEnd","onTabChanged","onTabPageScrollToEnd","onTabPageScrollToStart"],props:{preloadNumber:{type:Number,default:3},tabNavBarClass:{type:String,default:""},tabClass:{type:String,default:""},tabsDataStrategy:{type:String,default:"overTime"},tabContentClass:{type:String,default:""},horizontal:{type:Boolean,default:!0},pageTransform:{type:Boolean,default:!0},hideOnSingleTab:{type:Boolean,default:!0},floatNavBar:{type:Boolean,default:!0},contentNextFocus:{type:Object,default:()=>({up:"tabList",left:"tabList"})},triggerTask:{type:Array,default:()=>[]},blockViewPager:{type:Array,default:()=>[]},blockViewPagerVertical:{type:Array,default:()=>[]}},setup(e,t){const o=n(),a=n(!0),l=n(300),i=n(500),s=n(1),c=n(!0),r=P(),u=n(),d=Xo();let f,p=-1;function g(e,t){const n=d.getTabPageData(e);n&&(n.state=t,d.setTabPageData(e,n))}function m(n,o,a){let l=d.getTabPageData(n);if(l&&l.state===Ho.QT_TAB_PAGE_STATE_IDLE){a>=d.getSectionList(n).length-e.preloadNumber-1&&(r.isLoggable(C.DEBUG)&&r.d(Jo,"----------loadPageData----加载数加载据--\x3e>>> pageIndex:"+n+" sectionIndex:"+a),t.emit("onTabPageLoadData",n,o),g(n,Ho.QT_TAB_PAGE_STATE_BUSY))}else r.isLoggable(C.DEBUG)&&r.d(Jo,"----------loadPageData--状态不对--\x3e>>>",n)}return{tabs:o,ifTabs:a,navBarRef:u,initTab:function(e){let t={defaultIndex:e.defaultIndex,focusIndex:e.defaultFocusIndex,data:e.itemList};d.initTab(e),o.value?.setTabsData(t)},initWaterfall:function(e){f=e},setTagPageSate:g,setTabPageData:function(e,t){r.isLoggable(C.DEBUG)&&r.d(Jo,"----------loadPageData----setTabPageData--\x3e>>>pageIndex:"+e),d.addSectionList(e,t.data);const n={data:Go(f,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};r.isLoggable(C.DEBUG)&&r.d(Jo,"------设置数据----setTabPageData------\x3e>>> pageIndex:"+e+" data:",n),o.value?.setPageData(e,n)},addPageData:function(e,t,n=0){r.isLoggable(C.DEBUG)&&r.d(Jo,"----------loadPageData----addPageData--\x3e>>>pageIndex:"+e),d.addSectionList(e,t.data);const a={data:Go(f,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};r.isLoggable(C.DEBUG)&&r.d(Jo,"----设置数据------addPageData------\x3e>>> pageIndex:"+e+" data:",a," deleteCount:"+n),o.value?.addPageData(e,a,n)},updatePageData:function(e,t){d.updateSectionList(e,t.data);const n={data:Go(f,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};o.value?.updatePageData(e,n)},updatePageSection:function(e,t,n){d.updateSection(e,t,n);const a=Qo(f,n);o.value?.updateRootNode(e,t,a)},getPageSection:function(e,t){return d.getSection(e,t)},getPageSectionList:function(e){return d.getSectionList(e)},deletePageSection:function(e,t,n){d.deleteSection(e,t,n),o.value?.invokeContentFunction(e,"deleteItemRange",[t,n])},addPageItemList:function(e,t,n){d.addItemList(e,t,n);const a=d.getSection(e,t);if(a){const n=Qo(f,a);o.value?.updateRootNode(e,t,n)}},getPageItem:function(e,t,n){return d.getItem(e,t,n)},updatePageItem:function(e,t,n,a){d.updateItem(e,t,n,a),o.value?.updateChildNode(e,t,n,a)},deletePageItem:function(e,t,n,a){d.deleteItem(e,t,n,a);const l=d.getSection(e,t);if(l){const n=Qo(f,l);o.value?.updateRootNode(e,t,n)}},blockRootFocus:function(){o.value?.blockRootFocus()},unBlockRootFocus:function(){o.value?.unBlockRootFocus()},focusBackToTop:function(){o.value?.focusBackToTop()},requestNodeFocus:function(e){o.value?.requestNodeFocus(e)},reloadAll:function(e=!0){o.value?.reloadAll(e)},reloadPage:function(e){o.value?.reloadPage(e)},setCurrentPage:function(e){o.value?.setCurrentPage(e)},requestTabFocus:function(e){o.value?.requestTabFocus(e)},invokeContentFunction:function(e,t,n){o.value?.invokeContentFunction(e,t,n)},invokeContentFunctionDirect:function(e,t){o.value?.invokeContentFunctionDirect(e,t)},contentScrollToFocus:function(e){o.value?.contentScrollToFocus(e)},getRootNodeViewState:function(e,t,n){o.value?.getRootNodeViewState(e,t,n)},getChildNodeViewState:function(e,t,n,a,l){o.value?.getChildNodeViewState(e,t,n,a,l)},dispatchUIFunctionOnChildNode:function(e,t,n,a,l){o.value?.dispatchUIFunctionOnChildNode(e,t,n,a,l)},updateItemMatched:function(e="id",t,n){o.value?.updateItemMatched(e,t,n)},updateRootNode:function(e,t,n){o.value?.updateRootNode(e,t,n)},updateChildNode:function(e,t,n,a){o.value?.updateChildNode(e,t,n,a)},destroy:function(){o.value?.destroy()},pageSwitchDelay:l,pageResumeDelay:i,rootOpacity:s,isTabHorizontal:c,onTabPageLoadData:function(e){const t=e.pageIndex,n=e.useDiff;r.isLoggable(C.DEBUG)&&r.d(Jo,"----------loadPageData----android--\x3e>>>pageIndex:"+t),m(t,n,0)},onTabPageChanged:function(e){const n=e.pageIndex;p=n;const o=e.data;r.isLoggable(C.DEBUG)&&r.d(Jo,"----------onTabPageChanged------\x3e>>> pageIndex:"+n+" data:",o),t.emit("onTabPageChanged",n,o)},onTabEvent:function(e){const n=e.params,o=e.eventName,a=e.params.itemPosition;switch(r.isLoggable(C.DEBUG)&&r.d(Jo,"----------onTabEvent------\x3e>>> eventName:"+o+" tabIndex:"+a+" params:"+n),t.emit("onTabEvent",a,o,n),o){case"onMoveToTopStart":t.emit("onTabMoveToTopStart",a,o,n);break;case"onMoveToTopEnd":t.emit("onTabMoveToTopEnd",a,o,n);break;case"onMoveToBottomStart":t.emit("onTabMoveToBottomStart",a,o,n);break;case"onMoveToBottomEnd":t.emit("onTabMoveToBottomEnd",a,o,n);break;case"onTabChanged":t.emit("onTabChanged",a,o,n)}},onWaterfallItemClick:function(e,n,o){r.isLoggable(C.DEBUG)&&r.d(Jo,"-----------onWaterfallItemClick---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+n+" item:",o),t.emit("onTabPageItemClick",p,e,n,o)},onWaterfallItemFocused:function(e,n,o,a){r.isLoggable(C.DEBUG)&&r.d(Jo,"-----------onWaterfallItemFocused---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+n+" isFocused:"+o+" item:",a),t.emit("onTabPageItemFocused",p,e,n,o,a)},onWaterfallSectionBind:function(e,t){r.isLoggable(C.DEBUG)&&r.d(Jo,"-----------onWaterfallSectionBind---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),e===p&&(r.isLoggable(C.DEBUG)&&r.d(Jo,"----------loadPageData----bind--\x3e>>>pageIndex:"+e),m(e,!1,t))},onWaterfallSectionAttached:function(e,n){r.isLoggable(C.DEBUG)&&r.d(Jo,"-----------onWaterfallSectionAttached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+n),t.emit("onTabPageSectionAttached",e,n)},onWaterfallScroll:function(e,n){r.isLoggable(C.DEBUG)&&r.d(Jo,"----------onWaterfallScroll----\x3e>>> offsetX:"+e+" scrollY:"+n),t.emit("onTabPageScroll",e,n)},onWaterfallScrollStateChanged:function(e,n,o){r.isLoggable(C.DEBUG)&&r.d(Jo,"----------onWaterfallScrollStateChanged----\x3e>>> offsetX:"+e+" scrollY:"+n+" newState:"+o),t.emit("onTabPageScrollStateChanged",e,n,o)},onTabPageScrollToStart:function(e){const n=e.pageIndex;t.emit("onTabPageScrollToStart",n),r.isLoggable(C.DEBUG)&&r.d(Jo,"----------onTabPageScrollToStart------\x3e>>> pageIndex:"+n)},onTabPageScrollToEnd:function(e){const n=e.pageIndex;t.emit("onTabPageScrollToEnd",n),r.isLoggable(C.DEBUG)&&r.d(Jo,"----------onTabPageScrollToEnd------\x3e>>> pageIndex:"+n)}}}});Zo.render=function(e,t,n,l,i,r){const u=o("qt-nav-bar"),f=o("qt-waterfall"),g=o("recycler-view-pager"),m=o("tabs");return e.ifTabs?(a(),d(m,{key:0,ref:"tabs",class:s(["tabs-root-css",e.tabClass]),dataStrategy:e.tabsDataStrategy,hideOnSingleTab:this.hideOnSingleTab,pageSwitchDelay:e.pageSwitchDelay,resumeTaskDelay:e.pageResumeDelay,suspension:this.floatNavBar,clipChildren:!1,outOfDateTime:3e5,blockFocusDirections:["down"],onScrollToStart:e.onTabPageScrollToStart,onScrollToEnd:e.onTabPageScrollToEnd,onLoadPage:e.onTabPageLoadData,onPageChanged:e.onTabPageChanged,onTabEvent:e.onTabEvent},{default:h((()=>[b(u,{ref:"navBarRef",name:"tabList",focusable:!1,class:s(e.tabNavBarClass),"text-key":"text",clipChldren:!1,horizontal:e.isTabHorizontal},{default:h((()=>[p(e.$slots,"tab-item")])),_:3},8,["class","horizontal"]),b(g,{nextFocusName:e.contentNextFocus,ref:"viewPager",class:s(e.tabContentClass),name:"content",loadingItemType:-1,clipChldren:!1,opacity:e.rootOpacity,focusable:!1,enableTransform:e.pageTransform,triggerTask:e.triggerTask,direction:e.isTabHorizontal?"horizontal":"vertical",blockFocusDirections:e.isTabHorizontal?e.blockViewPager:e.blockViewPagerVertical},{default:h((()=>[b(f,{onOnScrollStateChanged:e.onWaterfallScrollStateChanged,onOnScroll:e.onWaterfallScroll,onOnSectionBind:e.onWaterfallSectionBind,onOnSectionAttached:e.onWaterfallSectionAttached,onOnItemFocused:e.onWaterfallItemFocused,onOnItemClick:e.onWaterfallItemClick},{item:h((()=>[p(e.$slots,"waterfall-item")])),section:h((()=>[p(e.$slots,"waterfall-section")])),_:3},8,["onOnScrollStateChanged","onOnScroll","onOnSectionBind","onOnSectionAttached","onOnItemFocused","onOnItemClick"])])),_:3},8,["nextFocusName","class","opacity","enableTransform","triggerTask","direction","blockFocusDirections"])])),_:3},8,["dataStrategy","hideOnSingleTab","pageSwitchDelay","resumeTaskDelay","suspension","class","onScrollToStart","onScrollToEnd","onLoadPage","onPageChanged","onTabEvent"])):c("v-if",!0)},Zo.__file="src/tab/index.vue";var ea=xn({name:"qt-classified-list-view",props:{className:{type:String,default:"content_list_view"},classNavName:{type:String,default:"nav_list_view"},currentFocusIndex:{type:Number,default:0}},emits:["item-click","item-focused"],setup(e,t){const o=n(),a=n();let l=[],i=-1,s=-1;let c=-1;let r=-1;return{content_list_view:o,nav_list_view:a,init:t=>{t.forEach(((e,t)=>{e.mask||(e.mask="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/mask.png"),e.icon||(e.icon="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/playing.png");let n=!1;for(let t=0;t<l.length;t++){const o=l[t];e.categoryname==o.categoryname&&(e.navIndex=t,n=!0)}n||(e.navIndex||(e.navIndex=l.length),l.push({type:e.type,decoration:{left:50},categoryname:e.categoryname,startIndex:t}))})),an((()=>{o.value?.setListData(t),a.value?.setListData(l),setTimeout((()=>{i=e.currentFocusIndex,s=t[e.currentFocusIndex].navIndex,o.value?.scrollToFocused(i),a.value?.scrollToSelected(s,!0)}),300)}))},onItemBind:()=>{},onSItemClick:e=>{t.emit("item-click",e)},onFItemClick:e=>{t.emit("item-click",e)},scrollToIndex:(e,t=!0,n=802)=>{o.value?.scrollToIndex(e,t,n)},scrollToFocused:e=>{o.value?.scrollToFocused(e)},setItemFocused:e=>{o.value?.setItemFocused(e)},scrollToSelected:(e,t=!0)=>{o.value?.scrollToSelected(e,t)},setItemSelected:(e,t=!0)=>{o.value?.setItemSelected(e,!0)},onSItemFocused:e=>{clearTimeout(c),c=setTimeout((()=>{e.hasFocus?(s!=e.item.navIndex&&(s=e.item.navIndex,a.value?.scrollToSelected(e.item.navIndex,!0)),t.emit("item-focused",e)):(i=e.position,s=e.item.navIndex,a.value?.scrollToFocused(e.item.navIndex))}),300)},onFItemFocused:e=>{clearTimeout(r),r=setTimeout((()=>{e.hasFocus&&s!=e.position&&(e.position,o.value?.scrollToIndex(e.item.startIndex,!0,802),o.value?.setItemSelected(e.item.startIndex,!0))}),400)}}}});const ta=e=>(y("data-v-cbd7c454"),e=e(),T(),e),na={focusable:!1,clipChildren:!1},oa={type:10001,name:"clv_item",class:"clv_item",focusable:!0,enableFocusBorder:!0,clipChildren:!1,eventClick:"",eventFocus:"",focusScale:1},aa=ta((()=>_("img",{class:"coverV",src:"${coverV}",focusable:!1,postDelay:"300"},null,-1))),la={duplicateParentState:!0,showOnState:["focused"],focusable:!1,class:"clv_item_text_box"},ia=ta((()=>_("img",{src:"${mask}",class:"titMask",focusable:"false",postDelay:"300",duplicateParentState:!0},null,-1))),sa=ta((()=>_("img",{class:"icon",src:"${icon}",focusable:!1,postDelay:"300"},null,-1))),ca={type:10001,name:"nav_item",class:"nav_item",focusable:!0,enableFocusBorder:!1,focusScale:"1",eventClick:"",eventFocus:"",clipChildren:!1},ra=ta((()=>_("div",{class:"line",focusable:!1,showOnState:"selected",duplicateParentState:!0},null,-1))),ua=ta((()=>_("div",{duplicateParentState:!0,class:"nav_item_text_focused",showOnState:"focused",focusable:!1,gradientBackground:{colors:["#FF2F7CEB","#FF1163D8"],cornerRadius:40}},null,-1))),da={class:"nav_item_text",focusable:!1,duplicateParentState:!0};var fa,pa,ga;ea.render=function(e,t,n,i,r,u){const d=o("text-view"),f=o("qt-list-view");return a(),l("div",na,[c(" listview second nav "),b(f,{class:s(e.className),ref:"content_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onSItemClick,horizontal:"",blockFocusDirections:["left","right"],onItemFocused:e.onSItemFocused},{default:h((()=>[_("div",oa,[aa,_("div",la,[ia,sa,b(d,{focusable:!1,ellipsizeMode:2,fontSize:30,gravity:"centerVertical",lines:1,maxLines:1,class:"clv_item_text",text:"${assetTitle}",paddingRect:[14,0,0,0]})])]),p(e.$slots,"item")])),_:3},8,["class","onItemClick","onItemFocused"]),c(" listview first nav "),b(f,{class:s(e.classNavName),ref:"nav_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onFItemClick,horizontal:"",blockFocusDirections:["left","right"],onItemFocused:e.onFItemFocused},{default:h((()=>[_("div",ca,[ra,ua,_("div",da,[b(d,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text_selected",text:"${categoryname}",showOnState:["selected"]}),b(d,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,maxLines:1,class:"text",text:"${categoryname}",showOnState:"focused"}),b(d,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text",text:"${categoryname}",showOnState:["normal"]})])]),p(e.$slots,"navItem")])),_:3},8,["class","onItemClick","onItemFocused"])])},ea.__scopeId="data-v-cbd7c454",ea.__file="src/classified-list-view/index.vue",function(e){e.QT_DIRECTION_UP="up",e.QT_DIRECTION_DOWN="down",e.QT_DIRECTION_RIGHT="right",e.QT_DIRECTION_LEFT="left"}(fa||(fa={})),function(e){e[e.SCROLL_STATE_IDLE=0]="SCROLL_STATE_IDLE",e[e.SCROLL_STATE_DRAGGING=1]="SCROLL_STATE_DRAGGING",e[e.SCROLL_STATE_SETTLING=2]="SCROLL_STATE_SETTLING"}(pa||(pa={})),function(e){e[e.QT_NAV_BAR_ITEM_TYPE_TEXT=2e4]="QT_NAV_BAR_ITEM_TYPE_TEXT"}(ga||(ga={}));const ma=[L,U,ho,So,Ko,Zo,ea],ha=o=>{o.component("qt-loading-view",{setup(e,t){const o=n();return()=>x("LoadingViewComponent",{ref:o})}}),function(o){const a=t({props:{loadMore:{type:Function,default:function(){return[1,1]}},openPage:{type:Boolean,default:!1},preloadNo:{type:Number,default:0},defaultFocus:{type:Number,default:-1}},emits:["item-click","scroll","item-focused","item-attached","item-detached","item-bind","item-unbind","load-more","scroll-state-changed","focus-search-failed","scrollYGreaterReference","scrollYLesserReference"],setup(t,o){const a=n();F();let l=[],i=[],s=[],c="",r=-1,u=!1,d=-1,f=-1,p=-1,h=-1;g((()=>{t.openPage&&(r=1,u=!1,t.loadMore(r))}));const v=e=>{0==l.length&&(l=V(e),b(l,-1),i=e,t.openPage?T(l.concat([{type:1002,decoration:{top:18,bottom:18,right:30,left:30}}])):T(l),t.defaultFocus>-1&&(p&&clearTimeout(p),p=setTimeout((()=>{N(t.defaultFocus)}),500)));let n={get(e,n,o){if("__ob__"!=n&&"symbol"!=typeof n&&"map"!=n&&"length"!=n&&"constructor"!=n&&"_isVue"!=n&&"valueOf"!=n&&"toString"!=n&&"observeArray"!=n&&"dep"!=n&&"notify"!=n&&"subs"!=n&&"slice"!=n)if(s.push(n),-1!=s.indexOf("push"))c="push";else{if(-1!=s.indexOf("splice"))return c="splice",function(...t){return e.splice(...t),-1!=s.indexOf("list")?(l[s[0]].list.splice(...t),P(Number(s[0]),l[s[0]])):1==t.length?E(Number(t[0]),l.length-t[0]+1):2==t.length?E(Number(t[0]),t[1]):t.length>2&&(0==t[1]?L(t[0],t.slice(2)):C(t[0],t[1],t.slice(2))),l.splice(t[0],...t.slice(1)),c="",s=[],Reflect.get(e,n,o)};if(-1!=s.indexOf("pop"))return c="pop",function(){return e.pop(),-1!=s.lastIndexOf("list")?(l[s[0]].list.pop(),P(Number(s[0]),l[s[0]])):(E(Number(l.length-1),1),l.pop()),c="",s=[],Reflect.get(e,n,o)};if(-1!=s.indexOf("forEach"))return c="forEach",function(a){return e.forEach((e=>{a(e)})),l=[],l=V(e),t.openPage?T(l.concat([{type:1002,decoration:{top:15,left:30}}])):T(l),c="",s=[],Reflect.get(e,n,o)};if(-1!=s.indexOf("concat"))return c="concat",function(a){return e=e.concat(a),-1!=s.lastIndexOf("list")?(l[s[0]].list=l[s[0]].list.concat(a),P(Number(s[0]),l[s[0]])):(l=l.concat(a),t.openPage&&!u?setTimeout((()=>{I(a.concat([{type:"1002",decoration:{bottom:18,right:30,left:30}}]),1)}),300):S(a)),c="",s=[],Reflect.get(e,n,o)};c=""}const a=Reflect.get(e,n,o);return _(a)&&"__ob__"!=n&&"dep"!=n&&"subs"!=n?v(a):(-1==s.indexOf("push")&&(s=[]),a)},set(e,n,o,a){const r=e[n];y(e,n);const d=Reflect.set(e,n,o,a);if((!_(r)&&r!==o||_(r))&&"push"!=c)if(s.push(n),-1!=s.lastIndexOf("list")){let e=s.lastIndexOf("list"),t=s.lastIndexOf("list")+2,n={};for(let e=0;e<t;e++){let t=s[e];n=n?n[t]:i[t]}n.name="name"+s[e-1]+s[e+1],P(Number(s[0]),i[s[0]]),l[s[0]].list[s[e+1]]=i[s[0]].list[s[e+1]],l[s[0]].list[s[e+1]].name="name"+s[e-1]+s[e+1]}else l[s[0]]=i[s[0]],l[s[0]].name="name"+s[0],P(Number(s[0]),i[s[0]]);if(n&&"push"==c&&r!==o)-1!=s.lastIndexOf("list")?(s.push(n),l[s[0]].list.push(o)):(s.push(n),l.push(o));else{if("push"==c)if(-1!=s.lastIndexOf("list"))P(Number(s[0]),l[s[0]]);else{let e=l.slice(s[1]);h&&clearTimeout(h),h=t.openPage&&!u?setTimeout((()=>{I(e.concat([{type:1002,decoration:{bottom:18,right:30,left:30}}]),1)}),300):setTimeout((()=>{S(e)}),300)}c="",s=[]}return d}};return new Proxy(e,n)},b=(e,t)=>{for(let n=0;n<e.length;n++){const o=e[n];o.name=t>=0?"name"+t+n:"name"+n,o.list&&o.list.length>0&&b(o.list,n)}},_=e=>null!==e&&"object"==typeof e,y=(e,t)=>{Object.hasOwnProperty.call(e,t)},T=t=>{d&&clearTimeout(d),d=setTimeout((()=>{e.callUIFunction(a.value,"setListData",t)}),100)},S=t=>{e.callUIFunction(a.value,"addListData",t)},I=(t,n)=>{e.callUIFunction(a.value,"addListDataWithParams",[t,n])},E=(t,n)=>{e.callUIFunction(a.value,"deleteItemRange",[t,n])},P=(t,n)=>{e.callUIFunction(a.value,"updateItem",[t,n])},C=(t,n,o)=>{e.callUIFunction(a.value,"updateItemRange",[t,n,o])},L=(t,n)=>{e.callUIFunction(a.value,"insertItemRange",[t,n])},k=(t,n)=>{e.callUIFunction(a.value,"setSelectChildPosition",[t,n])},D=t=>{e.callUIFunction(a.value,"scrollToPosition",[t])},N=t=>{e.callUIFunction(a.value,"requestChildFocus",[t])};return m((()=>{l=[],i.length=0,s=[],u=!1,r=1,c="",d&&clearTimeout(d),p&&clearTimeout(p),h&&clearTimeout(h),f&&clearTimeout(f)})),o.expose({viewRef:a,init:v,undataItemName:b,hasChanged:(e,t)=>e!==t&&(e==e||t==t),scrollToIndex:(t,n,o)=>{e.callUIFunction(a.value,"scrollToPositionWithOffset",[t,o,n])},updateItem:P,updateItemList:C,hasFocus:t=>{e.callUIFunction(a.value,"hasFocus",(e=>{t(e)}))},updateItemProps:(t,n,o)=>{e.callUIFunction(a.value,"updateItemProps",[n,t,o,!0])},setListData:T,insertItem:L,addListData:S,addListDataWithParams:I,dispatchItemFunction:(t,n,o,l)=>{e.callUIFunction(a.value,"dispatchItemFunction",[t,n,o,l])},deleteItem:E,setBlockFocusDirectionsOnFail:t=>{e.callUIFunction(a.value,"setBlockFocusDirectionsOnFail",[t])},setListDataWithParams:(t,n)=>{e.callUIFunction(a.value,"setListDataWithParams",[t,n])},prepareForRecycle:()=>{e.callUIFunction(a.value,"prepareForRecycle",[])},setDisplay:t=>{e.callUIFunction(a.value,"setDisplay",[t])},scrollToTop:()=>{e.callUIFunction(a.value,"scrollToTop",[])},changeDisplayState:(t,n)=>{e.callUIFunction(a.value,"changeDisplayState",[t,n])},notifySaveInstance:()=>{e.callUIFunction(a.value,"notifySaveInstance",[])},notifyRestoreInstance:()=>{e.callUIFunction(a.value,"notifyRestoreInstance",[])},pausePostTask:()=>{e.callUIFunction(a.value,"pausePostTask",[])},resumePostTask:()=>{e.callUIFunction(a.value,"resumePostTask",[])},getScrollOffset:t=>{e.callUIFunction(a.value,"getScrollOffset",[],t)},scrollToPosition:D,scrollToFocused:e=>{D(e),N(e)},scrollToSelected:(e,t)=>{D(e),k(e,t)},scrollToPositionOffset:(t,n,o,l,i)=>{e.callUIFunction(a.value,"scrollToPositionWithOffset",[n,l,o])},destroy:()=>{e.callUIFunction(a.value,"destroy",[])},setInitPosition:t=>{e.callUIFunction(a.value,"setInitPosition",[t])},setItemFocused:N,clearPostTask:()=>{e.callUIFunction(a.value,"clearAllPostTask",[])},clearFocus:()=>{e.callUIFunction(a.value,"clearFocus",[])},setItemSelected:k,blockRootFocus:()=>{e.callUIFunction(a.value,"blockRootFocus",[])},unBlockRootFocus:()=>{e.callUIFunction(a.value,"unBlockRootFocus",[])},setBackgroundColor:t=>{e.callUIFunction(a.value,"setBackgroundColor",[t])},stopPage:()=>{f&&clearTimeout(f),f=setTimeout((()=>{E(l.length,1)}),400),u=!0}}),()=>{const e=o.slots.default&&o.slots.default();return x("FastListView",{ref:a,onItemClick:e=>{o.emit("item-click",e)},onScroll:e=>{o.emit("scroll",e)},onItemFocused:e=>{o.emit("item-focused",e)},onAttachedToWindow:e=>{o.emit("item-attached",e)},onDetachedFromWindow:e=>{o.emit("item-detached",e)},onBindItem:e=>{e.position==l.length-1-t.preloadNo&&(r++,t.loadMore(r)),o.emit("item-bind",e)},onUnbindItem:e=>{o.emit("item-unbind",e)},onLoadMore:e=>{o.emit("load-more",e)},onScrollStateChanged:e=>{o.emit("scroll-state-changed",e)},onFocusSearchFailed:e=>{o.emit("focus-search-failed",e)},onScrollYGreaterReference:e=>{o.emit("scrollYGreaterReference",e)},onScrollYLesserReference:e=>{o.emit("scrollYLesserReference",e)}},e)}}});o.component("qt-list-view",a)}(o),function(o){const a=t({emits:["item-focused","item-attached","item-detached","item-bind","item-unbind"],setup(t,o){const a=n();return o.expose({viewRef:a,updateItem:(t,n)=>{e.callUIFunction(a.value,"updateItem",[t,n])},dispatchItemFunction:(t,n,o,l)=>{e.callUIFunction(a.value,"dispatchItemFunction",[t,n,o,l])},updateItemProps:(t,n,o)=>{e.callUIFunction(a.value,"updateItemProps",[n,t,o,!0])},batch:t=>{e.callUIFunction(a.value,"batch",[t])}}),()=>{const e=o.slots.default&&o.slots.default();return x("FastListView",{ref:a,onBindItem:e=>{o.emit("item-bind",e)},onItemFocused:e=>{o.emit("item-focused",e)},onAttachedToWindow:e=>{o.emit("item-attached",e)},onDetachedFromWindow:e=>{o.emit("item-detached",e)},onItemRecycled:e=>{o.emit("item-unbind",e)}},e)}}});o.component("qt-list-item",a)}(o);for(let e in ma)o.component(ma[e].name,ma[e])};export{fa as QTDirections,ga as QTNavBarItemType,pa as QTScrollState,Ho as QTTabPageState,Fo as QTWaterfallItemType,Eo as QTWaterfallSectionType,ha as QuickTVUI,B as arrangeChildren4ListView};
1
+ import{Native as e}from"@extscreen/es3-vue";import{defineComponent as t,ref as n,resolveComponent as o,openBlock as a,createElementBlock as l,normalizeStyle as i,normalizeClass as s,createCommentVNode as c,createBlock as r,toDisplayString as u,renderSlot as d,watchEffect as f,onBeforeUnmount as p,withCtx as g,Fragment as m,createVNode as h,createElementVNode as v,pushScopeId as b,popScopeId as _,reactive as y,watch as T,h as S}from"vue";import{useESToast as I,useES as x,useESLog as E,ESLogLevel as F}from"@extscreen/es3-core";var P=t({name:"qt-button",props:{size:{type:String,default:"default"},itemType:{type:Number,default:2e4},focusBorder:{type:Boolean,default:!1},focusScale:{type:Number,default:1.08},focusable:{type:Boolean,default:!0},enableFlexStyle:{type:Boolean,default:!1},icon:{type:String,default:null},focusIcon:{type:String,default:null},text:{type:String,default:""},gradientFocusBackground:{type:Object,default:()=>{}},gradientSelectedBackground:{type:Object,default:()=>null},gradientBackground:{type:Object,default:()=>null},disabled:Boolean,circle:Boolean,round:Boolean,square:Boolean,buttonStyle:Object,textStyle:Object,iconStyle:Object,focusIconStyle:Object,iconParentStyle:Object},emits:["focus","click"],setup(t,o){const a=n(),l=n(!1);return{focused:l,requestFocus:function(){e.callUIFunction(a.value,"requestFocus",[])},requestFocusDirectly:function(){e.callUIFunction(a.value,"requestFocusDirectly",[])},onFocus:function(e){console.log("--------XXXXXXXXXXXXXXXXX--------------\x3e>>",l.value),l.value=e.isFocused,o.emit("focus",e.isFocused)},onClick:function(e){o.emit("click")}}}});const C=["focusable","enableFocusBorder","focusScale"],L=["gradientBackground"],k=["gradientBackground"],D=["gradientBackground"],N=["src"],w=["src"];function O(e,t,n=!0){let o=e.length;n?e.map(((e,n)=>{n!==o-1&&(e.decoration={bottom:t})})):e.map(((e,n)=>{n!==o-1&&(e.decoration={right:t})}))}P.render=function(e,t,n,f,p,g){const m=o("text-view");return a(),l("div",{ref:"buttonRef",clipChildren:!1,focusable:e.focusable,enableFocusBorder:e.focusBorder,focusScale:e.focusScale,onClick:t[0]||(t[0]=(...t)=>e.onClick&&e.onClick(...t)),name:"textButton",eventClick:"",eventFocus:"",onFocus:t[1]||(t[1]=(...t)=>e.onFocus&&e.onFocus(...t)),style:i(e.buttonStyle),class:s(["quick-button--default",e.size?"quick-button--"+e.size:"",{"is-disabled-button":e.disabled,"is-circle":e.circle,"is-round":e.round,"is-square":e.square}])},[c(" gradient "),e.gradientFocusBackground?(a(),l("div",{key:0,class:"button-gradient-background-css",gradientBackground:e.gradientFocusBackground,focusable:!1,showOnState:"focused"},null,8,L)):c("v-if",!0),e.gradientSelectedBackground?(a(),l("div",{key:1,class:"button-gradient-background-css",gradientBackground:e.gradientSelectedBackground,focusable:!1,showOnState:"selected"},null,8,k)):c("v-if",!0),e.gradientBackground?(a(),l("div",{key:2,class:"button-gradient-background-css",gradientBackground:e.gradientBackground,focusable:!1,showOnState:"normal"},null,8,D)):c("v-if",!0),c(" -----------------------------icon--------------------------------- "),!e.icon&&!e.focusIcon||e.$slots.default?c("v-if",!0):(a(),l("div",{key:3,duplicateParentState:!0,style:i(e.iconParentStyle),flexStyle:"${iconParentStyle}",class:s(["quick-button-icon-parent",e.size?"quick-button-icon--parent"+e.size:""])},[e.icon&&!e.$slots.default?(a(),l("img",{key:0,style:i(e.iconStyle),flexStyle:"${iconStyle}",duplicateParentState:!0,class:s(["quick-button-icon",e.size?"quick-button-icon--"+e.size:"",{"is-square-icon":e.square}]),focusable:!1,src:e.enableFlexStyle?"${"+e.icon+"}":e.icon,showOnState:"normal"},null,14,N)):c("v-if",!0),e.focusIcon&&!e.$slots.default?(a(),l("img",{key:1,style:i(e.focusIconStyle?e.focusIconStyle:e.iconStyle),flexStyle:"${iconStyle}",class:s(["quick-button-icon",e.size?"quick-button-icon--"+e.size:"",{"is-square-icon":e.square}]),focusable:!1,duplicateParentState:!0,src:e.enableFlexStyle?"${"+e.focusIcon+"}":e.focusIcon,showOnState:"focused"},null,14,w)):c("v-if",!0)],6)),c(" ------------------------------------------------------------------- "),c(" text "),e.enableFlexStyle?(a(),r(m,{key:4,style:i(e.textStyle),duplicateParentState:"",class:s([e.size?"quick-button-text--"+e.size:"",{"is-disabled-text":e.disabled,"is-square-text":e.square}]),focusable:!1,text:"${"+e.text+"}",autoWidth:"",autoHeight:""},null,8,["style","class","text"])):e.text&&!e.$slots.default?(a(),l("span",{key:5,style:i(e.textStyle),duplicateParentState:"",class:s([e.size?"quick-button-text--"+e.size:"",{"is-disabled-text":e.disabled,"is-square-text":e.square}]),focusable:!1},u(e.text),7)):c("v-if",!0),d(e.$slots,"default")],46,C)},P.__scopeId="data-v-46a594e4",P.__file="src/button/index.vue";const A=e=>e.map(R),B=e=>{const t=Object.keys(e),n={};return t.forEach((t=>{n[t]=R(e[t])})),n};function R(e){return e?"object"!=typeof e?e:Array.isArray(e)?A(e):B(e):e}var $=t({name:"qt-grid-view",props:{loadMore:{type:Function,default:function(){return[1,1]}},openPage:{type:Boolean,default:!1},spanCount:{type:Number,default:0},pageSize:{type:Number},preloadNo:{type:Number,default:0},defaultFocus:{type:Number,default:-1},areaWidth:{type:Number,default:1200},blockFocusDirections:{type:Array,default:()=>[]}},emits:["item-click","scroll","item-unbind","scroll-state-changed","item-bind","item-focused"],setup(e,t){I(),x();const o=n();let a=n(2.5),l=[],i=[],s=[],c=[],r="",u=-1,d=!1,g=-1,m=-1,h=-1,v=-1;f((()=>{e.openPage&&(u=1,d=!1,e.loadMore(u))}));const b=t=>{0==l.length&&(l=R(t),i=t,a.value<2.2?(_(),e.openPage&&e.pageSize&&c.length>=e.pageSize/e.spanCount?o.value.setListData(c.concat([{type:1002,decoration:{top:15,left:30}}])):o.value.setListData(c)):e.openPage&&e.pageSize&&l.length>=e.pageSize?o.value.setListData(l.concat([{type:1002,decoration:{top:15,left:30}}])):o.value.setListData(l),e.defaultFocus>-1&&(h&&clearTimeout(h),h=setTimeout((()=>{T(e.defaultFocus),S(e.defaultFocus)}),800)));let n={get(t,n,i){if("__ob__"!=n&&"symbol"!=typeof n&&"map"!=n&&"length"!=n&&"constructor"!=n&&"_isVue"!=n&&"valueOf"!=n&&"toString"!=n&&"observeArray"!=n&&"dep"!=n&&"notify"!=n&&"subs"!=n&&"slice"!=n)if(s.push(n),-1!=s.indexOf("push"))r="push";else{if(-1!=s.indexOf("splice"))return r="splice",function(...e){if(t.splice(...e),a.value<2.2)if(_(),1==e.length||2==e.length)o.value.setListData(c);else if(0==e[1])o.value.setListData(c);else{let t=-1,n=0,a=0;for(let o=0;o<c.length;o++){const l=c[o];if("1003"==l.type)t++,e[0]==t&&(n=o),e[0]+e[1]-1==t&&(a=o);else for(let i=0;i<l.list.length;i++)l.list[i],t++,e[0]==t&&(n=o),e[0]+e[1]-1==t&&(a=o)}o.value.updateItemList(n,a-n+1,c.slice(n,a+1))}else 1==e.length?o.value.deleteItem(Number(e[0]),l.length-e[0]):2==e.length?o.value.deleteItem(Number(e[0]),e[1]):e.length>2&&(0==e[1]?a.value>2.29&&F(e[0],e.slice(2)):o.value.updateItemList(e[0],e[1],e.slice(2)));return l.splice(e[0],...e.slice(1)),r="",s=[],Reflect.get(t,n,i)};if(-1!=s.indexOf("pop"))return r="pop",function(){return t.pop(),a.value<2.2?(c[c.length-1].list.length<1&&c.pop(),c[c.length-1].list.pop(),o.value.updateItem(Number(c.length-1),c[c.length-1])):o.value.deleteItem(Number(l.length-1),1),l.pop(),r="",s=[],Reflect.get(t,n,i)};if(-1!=s.indexOf("forEach"))return r="forEach",function(u){return t.forEach((e=>{u(e)})),l=[],l=R(t),a.value<2.2?(_(),e.openPage&&e.pageSize&&c.length>=e.pageSize&&!d?o.value.setListData(c.concat([{type:1002,decoration:{top:15,left:30}}])):o.value.setListData(c)):e.openPage&&e.pageSize&&l.length>=e.pageSize&&!d?o.value.setListData(l.concat([{type:1002,decoration:{top:15,left:30}}])):o.value.setListData(l),r="",s=[],Reflect.get(t,n,i)};if(-1!=s.indexOf("concat"))return r="concat",function(f){if("[object Array]"===Object.prototype.toString.call(f))if(t=t.concat(f),l=l.concat(f),a.value<2.2){v&&clearTimeout(v);let t=c.length,n=c.slice(c.length-1)[0];_();let a=c.slice(t);e.openPage&&!d?e.pageSize||2!=u?0==a.length||"1003"!=n.type&&n.list.length<e.spanCount?(a=c.slice(t-1),v=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),2)}),300)):v=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):v=setTimeout((()=>{o.value.addListData(a.concat([{type:1002,decoration:{top:15,left:30}}]))}),300):o.value.setListData(c)}else v=e.openPage&&!d?e.pageSize||2!=u?setTimeout((()=>{o.value.addListDataWithParams(f.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):setTimeout((()=>{o.value.addListData(f.concat([{type:1002,decoration:{top:15,left:30}}]))}),300):setTimeout((()=>{o.value.addListData(f)}),300);else console.log("concat:参数类型必须为数组");return r="",s=[],Reflect.get(t,n,i)};r=""}const f=Reflect.get(t,n,i);return y(f)&&"__ob__"!=n&&"dep"!=n&&"subs"!=n?b(f):(-1==s.indexOf("push")&&(s=[]),f)},set(t,n,f,p){const g=t[n],m=Reflect.set(t,n,f,p);if((!y(g)&&g!==f||y(g))&&"push"!=r)if(s.push(n),l[s[0]]=i[s[0]],a.value<2.2){let e=s[0],t=-1;for(let n=0;n<c.length;n++){const a=c[n];if("1003"==a.type)t++,t==e&&(c[n]=l[s[0]],o.value.updateItem(Number(n),c[n]));else for(let i=0;i<a.list.length;i++)if(a.list[i],t++,t==e){c[n].list[i]=l[s[0]];let e=c[n].list[i];e.decoration&&(e.decoration.top&&(e.decoration.top=0),e.decoration.bottom&&(e.decoration.bottom=0)),o.value.updateItem(Number(n),c[n])}}}else o.value.updateItem(Number(s[0]),i[s[0]]);if(n&&"push"==r&&g!==f)s.push(n),l.push(f);else{if("push"==r&&s.length>1)if(a.value<2.2){v&&clearTimeout(v);let t=c.length,n=c.slice(c.length-1)[0];_();let a=c.slice(t);e.openPage&&!d?e.pageSize||2!=u?0==a.length||"1003"!=n.type&&n.list.length<e.spanCount?(a=c.slice(t-1),v=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),2)}),300)):v=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):v=setTimeout((()=>{o.value.addListData(a.concat([{type:1002,decoration:{top:15,left:30}}]))}),300):o.value.setListData(c)}else{let t=l.slice(s[1]);v&&clearTimeout(v),v=e.openPage&&!d?e.pageSize||2!=u?setTimeout((()=>{o.value.addListDataWithParams(t.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):setTimeout((()=>{o.value.addListData(t.concat([{type:1002,decoration:{top:15,left:30}}]))}),300):setTimeout((()=>{o.value.addListData(t)}),300)}r="",s=[]}return m}};return new Proxy(t,n)},_=()=>{let t=R(l);c=[];let n=0,o=[];for(let e=0;e<t.length;e++){let n=t[e];if("1003"==n.type)o.push(n);else if(n.decoration.top&&(n.toCompatibleSaveTopVal=n.decoration.top,n.decoration.top=0),n.decoration.bottom&&(n.toCompatibleSaveBottompVal=n.decoration.bottom,n.decoration.bottom=0),o[o.length-1]&&1==o[o.length-1].type)o[o.length-1].list.push(n);else{let e={type:1,list:[]};e.list.push(n),o.push(e)}}for(let t=0;t<o.length;t++){const a=o[t];if("1003"==a.type)c.push(a);else for(let t=0;t<a.list.length;t+=e.spanCount){const o=a.list[t];let l={top:-1,bottom:-1};o.decoration&&(l.top=o.toCompatibleSaveTopVal?o.toCompatibleSaveTopVal:0,l.bottom=o.toCompatibleSaveBottompVal?o.toCompatibleSaveBottompVal:0);const i={type:1,decoration:l,name:"name"+n,list:a.list.slice(t,t+e.spanCount)};n++,c.push(i)}}},y=e=>null!==e&&"object"==typeof e,T=e=>{if(a.value<2.2){let t=-1;for(let n=0;n<c.length;n++){const a=c[n];if("1003"==a.type)t++,t==e&&o.value.scrollToPosition(n);else for(let l=0;l<a.list.length;l++)a.list[l],t++,t==e&&o.value.scrollToPosition(n)}}else o.value.scrollToPosition(e)},S=e=>{if(a.value<2.2){let t=-1,n=0,a=0;for(let o=0;o<c.length;o++){const l=c[o];if("1003"==l.type)t++;else for(let i=0;i<l.list.length;i++)l.list[i],t++,e==t&&(n=o,a=i)}o.value.dispatchItemFunction(n,"tv_list_inner","requestChildFocus",[a])}else o.value.requestFocus(e)},E=(e,t)=>{if(a.value<2.2){let t=-1,n=0,a=0;for(let o=0;o<c.length;o++){const l=c[o];if("1003"==l.type)t++;else for(let i=0;i<l.list.length;i++)l.list[i],t++,e==t&&(n=o,a=i)}o.value.dispatchItemFunction(n,"tv_list_inner","setSelectChildPosition",[a])}else o.value.setSelectPosition(e,t)},F=(e,t)=>{o.value.addItem(e,t)},P=()=>{o.value.destroy()};return p((()=>{l=[],c=[],i.length=0,d=!1,s=[],u=1,d=!1,r="",P(),g&&clearTimeout(g),v&&clearTimeout(v),m&&clearTimeout(m),h&&clearTimeout(h)})),{tv_list:o,apkVersion:a,init:b,onItemClick:e=>{if(a.value<2.2){let t=-1,n=e.position,o=e.parentPosition;for(let a=0;a<e.parentPosition+1;a++){const l=c[a];if("1003"==l.type)t++;else for(let i=0;i<l.list.length;i++)t++,n==i&&o==a&&(e.position=t)}}t.emit("item-click",e)},onItemBind:n=>{a.value<2.2?d||n.position!=c.length-1-e.preloadNo/e.spanCount||(u++,e.loadMore(u)):d||n.position!=l.length-1-e.preloadNo||(u++,e.loadMore(u)),t.emit("item-bind",n)},onItemFocused:e=>{if(a.value<2.2){let t=-1,n=e.position,o=e.parentPosition;for(let a=0;a<e.parentPosition+1;a++){const l=c[a];if("1003"==l.type)t++;else for(let i=0;i<l.list.length;i++)t++,n==i&&o==a&&(e.position=t)}}t.emit("item-focused",e)},onItemUnbind:e=>{t.emit("item-unbind",e)},onScroll:e=>{t.emit("scroll",e)},onScrollStateChanged:e=>{t.emit("scroll-state-changed",e)},stopPage:t=>{m&&clearTimeout(m),m=setTimeout((()=>{a.value<2.2?e.pageSize?e.pageSize/e.spanCount<=c.length&&o.value.deleteItem(c.length,1):u>2&&o.value.deleteItem(c.length,1):e.pageSize?e.pageSize<=l.length&&o.value.deleteItem(l.length,1):u>2&&o.value.deleteItem(l.length,1)}),400),d=!0},scrollToTop:()=>{o.value.scrollToTop()},clearFocus:()=>{o.value.clearFocus()},blockRootFocus:()=>{o.value.blockRootFocus()},unBlockRootFocus:()=>{o.value.unBlockRootFocus()},setDisplay:e=>{o.value.setDisplay(e)},scrollToPosition:T,scrollToIndex:(e,t,n)=>{if(a.value<2.2){let a=-1;for(let l=0;l<c.length;l++){const i=c[l];if("1003"==i.type)a++,a==e&&o.value.scrollToIndex(0,l,t,n);else for(let s=0;s<i.list.length;s++)i.list[s],a++,a==e&&o.value.scrollToIndex(0,l,t,n)}}else o.value.scrollToIndex(0,e,t,n)},setItemFocused:S,scrollToFocused:e=>{T(e),S(e)},setItemSelected:E,scrollToSelected:(e,t)=>{T(e),E(e,t)},updateItemProps:(e,t,n)=>{o.value.updateItemProps(e,t,n)},setInitPosition:e=>{o.value.setInitPosition(e)},setListData:e=>{g&&clearTimeout(g),g=setTimeout((()=>{o.value.setListData(e)}),100)},insertItem:F,clearPostTask:()=>{o.value.clearPostTask()},destroy:P}}});function V(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}$.render=function(e,t,n,s,c,u){const f=o("tv-list");return a(),r(f,{class:"tv_list",ref:"tv_list",name:"tv_list",spanCount:e.apkVersion<2.2?"":e.spanCount,onItemBind:e.onItemBind,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onItemUnbind:e.onItemUnbind,onScroll:e.onScroll,onScrollStateChanged:e.onScrollStateChanged,onSetListData:e.setListData,blockFocusDirections:e.blockFocusDirections},{default:g((()=>[e.apkVersion<2.2?(a(),l(m,{key:0},[d(e.$slots,"header"),h(f,{class:"tv_list_inner",ref:"${name}",list:"${list}",name:"tv_list_inner",type:"1",clipChildren:!1,focusable:!1,horizontal:"",style:i({width:e.areaWidth+"px"}),endHintEnabled:!1,blockFocusDirections:e.blockFocusDirections},{default:g((()=>[d(e.$slots,"default")])),_:3},8,["style","blockFocusDirections"]),d(e.$slots,"loading")],64)):(a(),l(m,{key:1},[d(e.$slots,"header"),d(e.$slots,"default"),d(e.$slots,"loading")],64))])),_:3},8,["spanCount","onItemBind","onItemClick","onItemFocused","onItemUnbind","onScroll","onScrollStateChanged","onSetListData","blockFocusDirections"])},$.__file="src/grid-view/index.vue";const U="production"!==process.env.NODE_ENV?Object.freeze({}):{};"production"===process.env.NODE_ENV||Object.freeze([]);const z=()=>{},W=/^on[^a-z]/,q=e=>W.test(e),M=Object.assign,G=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Q=Object.prototype.hasOwnProperty,j=(e,t)=>Q.call(e,t),Y=Array.isArray,X=e=>"[object Map]"===oe(e),H=e=>"[object Set]"===oe(e),K=e=>"function"==typeof e,J=e=>"string"==typeof e,Z=e=>"symbol"==typeof e,ee=e=>null!==e&&"object"==typeof e,te=e=>ee(e)&&K(e.then)&&K(e.catch),ne=Object.prototype.toString,oe=e=>ne.call(e),ae=e=>oe(e).slice(8,-1),le=e=>"[object Object]"===oe(e),ie=e=>J(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,se=(e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))})((e=>e.charAt(0).toUpperCase()+e.slice(1))),ce=(e,t)=>!Object.is(e,t),re=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})};let ue;const de=()=>ue||(ue="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function fe(e){if(Y(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],a=J(o)?he(o):fe(o);if(a)for(const e in a)t[e]=a[e]}return t}return J(e)||ee(e)?e:void 0}const pe=/;(?![^(]*\))/g,ge=/:([^]+)/,me=/\/\*[^]*?\*\//g;function he(e){const t={};return e.replace(me,"").split(pe).forEach((e=>{if(e){const n=e.split(ge);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function ve(e){let t="";if(J(e))t=e;else if(Y(e))for(let n=0;n<e.length;n++){const o=ve(e[n]);o&&(t+=o+" ")}else if(ee(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function be(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let _e;const ye=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Te=e=>(e.w&Ee)>0,Se=e=>(e.n&Ee)>0,Ie=new WeakMap;let xe=0,Ee=1;const Fe=30;let Pe;const Ce=Symbol("production"!==process.env.NODE_ENV?"iterate":""),Le=Symbol("production"!==process.env.NODE_ENV?"Map key iterate":"");class ke{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,function(e,t=_e){t&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();let e=Pe,t=Ne;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=Pe,Pe=this,Ne=!0,Ee=1<<++xe,xe<=Fe?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Ee})(this):De(this),this.fn()}finally{xe<=Fe&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const a=t[o];Te(a)&&!Se(a)?a.delete(e):t[n++]=a,a.w&=~Ee,a.n&=~Ee}t.length=n}})(this),Ee=1<<--xe,Pe=this.parent,Ne=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Pe===this?this.deferStop=!0:this.active&&(De(this),this.onStop&&this.onStop(),this.active=!1)}}function De(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Ne=!0;const we=[];function Oe(){we.push(Ne),Ne=!1}function Ae(){const e=we.pop();Ne=void 0===e||e}function Be(e,t,n){if(Ne&&Pe){let o=Ie.get(e);o||Ie.set(e,o=new Map);let a=o.get(n);a||o.set(n,a=ye());!function(e,t){let n=!1;xe<=Fe?Se(e)||(e.n|=Ee,n=!Te(e)):n=!e.has(Pe);n&&(e.add(Pe),Pe.deps.push(e),"production"!==process.env.NODE_ENV&&Pe.onTrack&&Pe.onTrack(M({effect:Pe},t)))}(a,"production"!==process.env.NODE_ENV?{effect:Pe,target:e,type:t,key:n}:void 0)}}function Re(e,t,n,o,a,l){const i=Ie.get(e);if(!i)return;let s=[];if("clear"===t)s=[...i.values()];else if("length"===n&&Y(e)){const e=Number(o);i.forEach(((t,n)=>{("length"===n||n>=e)&&s.push(t)}))}else switch(void 0!==n&&s.push(i.get(n)),t){case"add":Y(e)?ie(n)&&s.push(i.get("length")):(s.push(i.get(Ce)),X(e)&&s.push(i.get(Le)));break;case"delete":Y(e)||(s.push(i.get(Ce)),X(e)&&s.push(i.get(Le)));break;case"set":X(e)&&s.push(i.get(Ce))}const c="production"!==process.env.NODE_ENV?{target:e,type:t,key:n,newValue:o,oldValue:a,oldTarget:l}:void 0;if(1===s.length)s[0]&&("production"!==process.env.NODE_ENV?$e(s[0],c):$e(s[0]));else{const e=[];for(const t of s)t&&e.push(...t);"production"!==process.env.NODE_ENV?$e(ye(e),c):$e(ye(e))}}function $e(e,t){const n=Y(e)?e:[...e];for(const e of n)e.computed&&Ve(e,t);for(const e of n)e.computed||Ve(e,t)}function Ve(e,t){(e!==Pe||e.allowRecurse)&&("production"!==process.env.NODE_ENV&&e.onTrigger&&e.onTrigger(M({effect:e},t)),e.scheduler?e.scheduler():e.run())}const Ue=V("__proto__,__v_isRef,__isVue"),ze=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(Z)),We=Ye(),qe=Ye(!0),Me=Ye(!0,!0),Ge=Qe();function Qe(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=wt(this);for(let e=0,t=this.length;e<t;e++)Be(n,"get",e+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(wt)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){Oe();const n=wt(this)[t].apply(this,e);return Ae(),n}})),e}function je(e){const t=wt(this);return Be(t,"has",e),t.hasOwnProperty(e)}function Ye(e=!1,t=!1){return function(n,o,a){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_isShallow"===o)return t;if("__v_raw"===o&&a===(e?t?xt:It:t?St:Tt).get(n))return n;const l=Y(n);if(!e){if(l&&j(Ge,o))return Reflect.get(Ge,o,a);if("hasOwnProperty"===o)return je}const i=Reflect.get(n,o,a);return(Z(o)?ze.has(o):Ue(o))?i:(e||Be(n,"get",o),t?i:Bt(i)?l&&ie(o)?i:i.value:ee(i)?e?Ft(i):Et(i):i)}}function Xe(e=!1){return function(t,n,o,a){let l=t[n];if(kt(l)&&Bt(l)&&!Bt(o))return!1;if(!e&&(Dt(o)||kt(o)||(l=wt(l),o=wt(o)),!Y(t)&&Bt(l)&&!Bt(o)))return l.value=o,!0;const i=Y(t)&&ie(n)?Number(n)<t.length:j(t,n),s=Reflect.set(t,n,o,a);return t===wt(a)&&(i?ce(o,l)&&Re(t,"set",n,o,l):Re(t,"add",n,o)),s}}const He={get:We,set:Xe(),deleteProperty:function(e,t){const n=j(e,t),o=e[t],a=Reflect.deleteProperty(e,t);return a&&n&&Re(e,"delete",t,void 0,o),a},has:function(e,t){const n=Reflect.has(e,t);return Z(t)&&ze.has(t)||Be(e,"has",t),n},ownKeys:function(e){return Be(e,"iterate",Y(e)?"length":Ce),Reflect.ownKeys(e)}},Ke={get:qe,set:(e,t)=>("production"!==process.env.NODE_ENV&&be(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0),deleteProperty:(e,t)=>("production"!==process.env.NODE_ENV&&be(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0)},Je=M({},Ke,{get:Me}),Ze=e=>e,et=e=>Reflect.getPrototypeOf(e);function tt(e,t,n=!1,o=!1){const a=wt(e=e.__v_raw),l=wt(t);n||(t!==l&&Be(a,"get",t),Be(a,"get",l));const{has:i}=et(a),s=o?Ze:n?At:Ot;return i.call(a,t)?s(e.get(t)):i.call(a,l)?s(e.get(l)):void(e!==a&&e.get(t))}function nt(e,t=!1){const n=this.__v_raw,o=wt(n),a=wt(e);return t||(e!==a&&Be(o,"has",e),Be(o,"has",a)),e===a?n.has(e):n.has(e)||n.has(a)}function ot(e,t=!1){return e=e.__v_raw,!t&&Be(wt(e),"iterate",Ce),Reflect.get(e,"size",e)}function at(e){e=wt(e);const t=wt(this);return et(t).has.call(t,e)||(t.add(e),Re(t,"add",e,e)),this}function lt(e,t){t=wt(t);const n=wt(this),{has:o,get:a}=et(n);let l=o.call(n,e);l?"production"!==process.env.NODE_ENV&&yt(n,o,e):(e=wt(e),l=o.call(n,e));const i=a.call(n,e);return n.set(e,t),l?ce(t,i)&&Re(n,"set",e,t,i):Re(n,"add",e,t),this}function it(e){const t=wt(this),{has:n,get:o}=et(t);let a=n.call(t,e);a?"production"!==process.env.NODE_ENV&&yt(t,n,e):(e=wt(e),a=n.call(t,e));const l=o?o.call(t,e):void 0,i=t.delete(e);return a&&Re(t,"delete",e,void 0,l),i}function st(){const e=wt(this),t=0!==e.size,n="production"!==process.env.NODE_ENV?X(e)?new Map(e):new Set(e):void 0,o=e.clear();return t&&Re(e,"clear",void 0,void 0,n),o}function ct(e,t){return function(n,o){const a=this,l=a.__v_raw,i=wt(l),s=t?Ze:e?At:Ot;return!e&&Be(i,"iterate",Ce),l.forEach(((e,t)=>n.call(o,s(e),s(t),a)))}}function rt(e,t,n){return function(...o){const a=this.__v_raw,l=wt(a),i=X(l),s="entries"===e||e===Symbol.iterator&&i,c="keys"===e&&i,r=a[e](...o),u=n?Ze:t?At:Ot;return!t&&Be(l,"iterate",c?Le:Ce),{next(){const{value:e,done:t}=r.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function ut(e){return function(...t){if("production"!==process.env.NODE_ENV){const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${se(e)} operation ${n}failed: target is readonly.`,wt(this))}return"delete"!==e&&this}}function dt(){const e={get(e){return tt(this,e)},get size(){return ot(this)},has:nt,add:at,set:lt,delete:it,clear:st,forEach:ct(!1,!1)},t={get(e){return tt(this,e,!1,!0)},get size(){return ot(this)},has:nt,add:at,set:lt,delete:it,clear:st,forEach:ct(!1,!0)},n={get(e){return tt(this,e,!0)},get size(){return ot(this,!0)},has(e){return nt.call(this,e,!0)},add:ut("add"),set:ut("set"),delete:ut("delete"),clear:ut("clear"),forEach:ct(!0,!1)},o={get(e){return tt(this,e,!0,!0)},get size(){return ot(this,!0)},has(e){return nt.call(this,e,!0)},add:ut("add"),set:ut("set"),delete:ut("delete"),clear:ut("clear"),forEach:ct(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((a=>{e[a]=rt(a,!1,!1),n[a]=rt(a,!0,!1),t[a]=rt(a,!1,!0),o[a]=rt(a,!0,!0)})),[e,n,t,o]}const[ft,pt,gt,mt]=dt();function ht(e,t){const n=t?e?mt:gt:e?pt:ft;return(t,o,a)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(j(n,o)&&o in t?n:t,o,a)}const vt={get:ht(!1,!1)},bt={get:ht(!0,!1)},_t={get:ht(!0,!0)};function yt(e,t,n){const o=wt(n);if(o!==n&&t.call(e,o)){const t=ae(e);console.warn(`Reactive ${t} contains both the raw and reactive versions of the same object${"Map"===t?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Tt=new WeakMap,St=new WeakMap,It=new WeakMap,xt=new WeakMap;function Et(e){return kt(e)?e:Ct(e,!1,He,vt,Tt)}function Ft(e){return Ct(e,!0,Ke,bt,It)}function Pt(e){return Ct(e,!0,Je,_t,xt)}function Ct(e,t,n,o,a){if(!ee(e))return"production"!==process.env.NODE_ENV&&console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const l=a.get(e);if(l)return l;const i=(s=e).__v_skip||!Object.isExtensible(s)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(ae(s));var s;if(0===i)return e;const c=new Proxy(e,2===i?o:n);return a.set(e,c),c}function Lt(e){return kt(e)?Lt(e.__v_raw):!(!e||!e.__v_isReactive)}function kt(e){return!(!e||!e.__v_isReadonly)}function Dt(e){return!(!e||!e.__v_isShallow)}function Nt(e){return Lt(e)||kt(e)}function wt(e){const t=e&&e.__v_raw;return t?wt(t):e}const Ot=e=>ee(e)?Et(e):e,At=e=>ee(e)?Ft(e):e;function Bt(e){return!(!e||!0!==e.__v_isRef)}const Rt={get:(e,t,n)=>{return Bt(o=Reflect.get(e,t,n))?o.value:o;var o},set:(e,t,n,o)=>{const a=e[t];return Bt(a)&&!Bt(n)?(a.value=n,!0):Reflect.set(e,t,n,o)}};const $t=[];function Vt(e,...t){if("production"===process.env.NODE_ENV)return;Oe();const n=$t.length?$t[$t.length-1].component:null,o=n&&n.appContext.config.warnHandler,a=function(){let e=$t[$t.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)qt(o,n,11,[e+t.join(""),n&&n.proxy,a.map((({vnode:e})=>`at <${io(n,e.type)}>`)).join("\n"),a]);else{const n=[`[Vue warn]: ${e}`,...t];a.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=!!e.component&&null==e.component.parent,a=` at <${io(e.component,e.type,o)}`,l=">"+n;return e.props?[a,...Ut(e.props),l]:[a+l]}(e))})),t}(a)),console.warn(...n)}Ae()}function Ut(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...zt(n,e[n]))})),n.length>3&&t.push(" ..."),t}function zt(e,t,n){return J(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:Bt(t)?(t=zt(e,wt(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):K(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=wt(t),n?t:[`${e}=`,t])}const Wt={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"};function qt(e,t,n,o){let a;try{a=o?e(...o):e()}catch(e){Gt(e,t,n)}return a}function Mt(e,t,n,o){if(K(e)){const a=qt(e,t,n,o);return a&&te(a)&&a.catch((e=>{Gt(e,t,n)})),a}const a=[];for(let l=0;l<e.length;l++)a.push(Mt(e[l],t,n,o));return a}function Gt(e,t,n,o=!0){const a=t?t.vnode:null;if(t){let o=t.parent;const a=t.proxy,l="production"!==process.env.NODE_ENV?Wt[n]:n;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,a,l))return;o=o.parent}const i=t.appContext.config.errorHandler;if(i)return void qt(i,null,10,[e,a,l])}!function(e,t,n,o=!0){if("production"!==process.env.NODE_ENV){const l=Wt[t];if(n&&(a=n,$t.push(a)),Vt("Unhandled error"+(l?` during execution of ${l}`:"")),n&&$t.pop(),o)throw e;console.error(e)}else console.error(e);var a}(e,n,a,o)}let Qt=!1,jt=!1;const Yt=[];let Xt=0;const Ht=[];let Kt=null,Jt=0;const Zt=Promise.resolve();let en=null;const tn=100;function nn(e){const t=en||Zt;return e?t.then(this?e.bind(this):e):t}function on(e){Yt.length&&Yt.includes(e,Qt&&e.allowRecurse?Xt+1:Xt)||(null==e.id?Yt.push(e):Yt.splice(function(e){let t=Xt+1,n=Yt.length;for(;t<n;){const o=t+n>>>1;sn(Yt[o])<e?t=o+1:n=o}return t}(e.id),0,e),an())}function an(){Qt||jt||(jt=!0,en=Zt.then(rn))}function ln(e){Y(e)?Ht.push(...e):Kt&&Kt.includes(e,e.allowRecurse?Jt+1:Jt)||Ht.push(e),an()}const sn=e=>null==e.id?1/0:e.id,cn=(e,t)=>{const n=sn(e)-sn(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function rn(e){jt=!1,Qt=!0,"production"!==process.env.NODE_ENV&&(e=e||new Map),Yt.sort(cn);const t="production"!==process.env.NODE_ENV?t=>un(e,t):z;try{for(Xt=0;Xt<Yt.length;Xt++){const e=Yt[Xt];if(e&&!1!==e.active){if("production"!==process.env.NODE_ENV&&t(e))continue;qt(e,null,14)}}}finally{Xt=0,Yt.length=0,function(e){if(Ht.length){const t=[...new Set(Ht)];if(Ht.length=0,Kt)return void Kt.push(...t);for(Kt=t,"production"!==process.env.NODE_ENV&&(e=e||new Map),Kt.sort(((e,t)=>sn(e)-sn(t))),Jt=0;Jt<Kt.length;Jt++)"production"!==process.env.NODE_ENV&&un(e,Kt[Jt])||Kt[Jt]();Kt=null,Jt=0}}(e),Qt=!1,en=null,(Yt.length||Ht.length)&&rn(e)}}function un(e,t){if(e.has(t)){const n=e.get(t);if(n>tn){const e=t.ownerInstance,n=e&&lo(e.type);return Vt(`Maximum recursive updates exceeded${n?` in component <${n}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`),!0}e.set(t,n+1)}else e.set(t,1)}const dn=new Set;"production"!==process.env.NODE_ENV&&(de().__VUE_HMR_RUNTIME__={createRecord:mn((function(e,t){if(fn.has(e))return!1;return fn.set(e,{initialDef:pn(t),instances:new Set}),!0})),rerender:mn((function(e,t){const n=fn.get(e);if(!n)return;n.initialDef.render=t,[...n.instances].forEach((e=>{t&&(e.render=t,pn(e.type).render=t),e.renderCache=[],e.update()}))})),reload:mn((function(e,t){const n=fn.get(e);if(!n)return;t=pn(t),gn(n.initialDef,t);const o=[...n.instances];for(const e of o){const o=pn(e.type);dn.has(o)||(o!==n.initialDef&&gn(o,t),dn.add(o)),e.appContext.propsCache.delete(e.type),e.appContext.emitsCache.delete(e.type),e.appContext.optionsCache.delete(e.type),e.ceReload?(dn.add(o),e.ceReload(t.styles),dn.delete(o)):e.parent?on(e.parent.update):e.appContext.reload?e.appContext.reload():"undefined"!=typeof window?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}ln((()=>{for(const e of o)dn.delete(pn(e.type))}))}))});const fn=new Map;function pn(e){return so(e)?e.__vccOpts:e}function gn(e,t){M(e,t);for(const n in e)"__file"===n||n in t||delete e[n]}function mn(e){return(t,n)=>{try{return e(t,n)}catch(e){console.error(e),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let hn=null,vn=null;const bn={};function _n(e,t,{immediate:n,deep:o,flush:a,onTrack:l,onTrigger:i}=U){var s;"production"===process.env.NODE_ENV||t||(void 0!==n&&Vt('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==o&&Vt('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const c=e=>{Vt("Invalid watch source: ",e,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},r=_e===(null==(s=Zn)?void 0:s.scope)?Zn:null;let u,d,f=!1,p=!1;if(Bt(e)?(u=()=>e.value,f=Dt(e)):Lt(e)?(u=()=>e,o=!0):Y(e)?(p=!0,f=e.some((e=>Lt(e)||Dt(e))),u=()=>e.map((e=>Bt(e)?e.value:Lt(e)?Tn(e):K(e)?qt(e,r,2):void("production"!==process.env.NODE_ENV&&c(e))))):K(e)?u=t?()=>qt(e,r,2):()=>{if(!r||!r.isUnmounted)return d&&d(),Mt(e,r,3,[g])}:(u=z,"production"!==process.env.NODE_ENV&&c(e)),t&&o){const e=u;u=()=>Tn(e())}let g=e=>{d=b.onStop=()=>{qt(e,r,4)}},m=p?new Array(e.length).fill(bn):bn;const h=()=>{if(b.active)if(t){const e=b.run();(o||f||(p?e.some(((e,t)=>ce(e,m[t]))):ce(e,m)))&&(d&&d(),Mt(t,r,3,[e,m===bn?void 0:p&&m[0]===bn?[]:m,g]),m=e)}else b.run()};let v;h.allowRecurse=!!t,"sync"===a?v=h:"post"===a?v=()=>Rn(h,r&&r.suspense):(h.pre=!0,r&&(h.id=r.uid),v=()=>on(h));const b=new ke(u,v);"production"!==process.env.NODE_ENV&&(b.onTrack=l,b.onTrigger=i),t?n?h():m=b.run():"post"===a?Rn(b.run.bind(b),r&&r.suspense):b.run();return()=>{b.stop(),r&&r.scope&&G(r.scope.effects,b)}}function yn(e,t,n){const o=this.proxy,a=J(e)?e.includes(".")?function(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}(o,e):()=>o[e]:e.bind(o,o);let l;K(t)?l=t:(l=t.handler,n=t);const i=Zn;to(this);const s=_n(a,l.bind(o),n);return i?to(i):no(),s}function Tn(e,t){if(!ee(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),Bt(e))Tn(e.value,t);else if(Y(e))for(let n=0;n<e.length;n++)Tn(e[n],t);else if(H(e)||X(e))e.forEach((e=>{Tn(e,t)}));else if(le(e))for(const n in e)Tn(e[n],t);return e}function Sn(e,t){return K(e)?(()=>M({name:e.name},t,{setup:e}))():e}const In=Symbol.for("v-ndc"),xn=e=>e?4&e.vnode.shapeFlag?function(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((n=e.exposed,re(n,"__v_skip",!0),Lt(t=n)?t:new Proxy(t,Rt)),{get:(t,n)=>n in t?t[n]:n in En?En[n](e):void 0,has:(e,t)=>t in e||t in En}));var t;var n}(e)||e.proxy:xn(e.parent):null,En=M(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>"production"!==process.env.NODE_ENV?Pt(e.props):e.props,$attrs:e=>"production"!==process.env.NODE_ENV?Pt(e.attrs):e.attrs,$slots:e=>"production"!==process.env.NODE_ENV?Pt(e.slots):e.slots,$refs:e=>"production"!==process.env.NODE_ENV?Pt(e.refs):e.refs,$parent:e=>xn(e.parent),$root:e=>xn(e.root),$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?function(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:a,optionsCache:l,config:{optionMergeStrategies:i}}=e.appContext,s=l.get(t);let c;s?c=s:a.length||n||o?(c={},a.length&&a.forEach((e=>kn(c,e,i,!0))),kn(c,t,i)):c=t;ee(t)&&l.set(t,c);return c}(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>on(e.update)),$nextTick:e=>e.n||(e.n=nn.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?yn.bind(e):z}),Fn=(e,t)=>e!==U&&!e.__isScriptSetup&&j(e,t),Pn={get({_:e},t){const{ctx:n,setupState:o,data:a,props:l,accessCache:i,type:s,appContext:c}=e;if("production"!==process.env.NODE_ENV&&"__isVue"===t)return!0;let r;if("$"!==t[0]){const s=i[t];if(void 0!==s)switch(s){case 1:return o[t];case 2:return a[t];case 4:return n[t];case 3:return l[t]}else{if(Fn(o,t))return i[t]=1,o[t];if(a!==U&&j(a,t))return i[t]=2,a[t];if((r=e.propsOptions[0])&&j(r,t))return i[t]=3,l[t];if(n!==U&&j(n,t))return i[t]=4,n[t];__VUE_OPTIONS_API__&&!Ln||(i[t]=0)}}const u=En[t];let d,f;return u?("$attrs"===t?(Be(e,"get",t),process.env.NODE_ENV):"production"!==process.env.NODE_ENV&&"$slots"===t&&Be(e,"get",t),u(e)):(d=s.__cssModules)&&(d=d[t])?d:n!==U&&j(n,t)?(i[t]=4,n[t]):(f=c.config.globalProperties,j(f,t)?f[t]:void("production"===process.env.NODE_ENV||!hn||J(t)&&0===t.indexOf("__v")||(a!==U&&(e=>"_"===e||"$"===e)(t[0])&&j(a,t)?Vt(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===hn&&Vt(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))))},set({_:e},t,n){const{data:o,setupState:a,ctx:l}=e;return Fn(a,t)?(a[t]=n,!0):"production"!==process.env.NODE_ENV&&a.__isScriptSetup&&j(a,t)?(Vt(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):o!==U&&j(o,t)?(o[t]=n,!0):j(e.props,t)?("production"!==process.env.NODE_ENV&&Vt(`Attempting to mutate prop "${t}". Props are readonly.`),!1):"$"===t[0]&&t.slice(1)in e?("production"!==process.env.NODE_ENV&&Vt(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):("production"!==process.env.NODE_ENV&&t in e.appContext.config.globalProperties?Object.defineProperty(l,t,{enumerable:!0,configurable:!0,value:n}):l[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:a,propsOptions:l}},i){let s;return!!n[i]||e!==U&&j(e,i)||Fn(t,i)||(s=l[0])&&j(s,i)||j(o,i)||j(En,i)||j(a.config.globalProperties,i)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:j(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Cn(e){return Y(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}"production"!==process.env.NODE_ENV&&(Pn.ownKeys=e=>(Vt("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));let Ln=!0;function kn(e,t,n,o=!1){const{mixins:a,extends:l}=t;l&&kn(e,l,n,!0),a&&a.forEach((t=>kn(e,t,n,!0)));for(const a in t)if(o&&"expose"===a)"production"!==process.env.NODE_ENV&&Vt('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const o=Dn[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const Dn={data:Nn,props:Bn,emits:Bn,methods:An,computed:An,beforeCreate:On,created:On,beforeMount:On,mounted:On,beforeUpdate:On,updated:On,beforeDestroy:On,beforeUnmount:On,destroyed:On,unmounted:On,activated:On,deactivated:On,errorCaptured:On,serverPrefetch:On,components:An,directives:An,watch:function(e,t){if(!e)return t;if(!t)return e;const n=M(Object.create(null),e);for(const o in t)n[o]=On(e[o],t[o]);return n},provide:Nn,inject:function(e,t){return An(wn(e),wn(t))}};function Nn(e,t){return t?e?function(){return M(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function wn(e){if(Y(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function On(e,t){return e?[...new Set([].concat(e,t))]:t}function An(e,t){return e?M(Object.create(null),e,t):t}function Bn(e,t){return e?Y(e)&&Y(t)?[...new Set([...e,...t])]:M(Object.create(null),Cn(e),Cn(null!=t?t:{})):t}const Rn=function(e,t){t&&t.pendingBranch?Y(e)?t.effects.push(...e):t.effects.push(e):ln(e)},$n=Symbol.for("v-fgt"),Vn=Symbol.for("v-txt"),Un=Symbol.for("v-cmt");let zn=null;const Wn="__vInternal",qn=({key:e})=>null!=e?e:null,Mn=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?J(e)||Bt(e)||K(e)?{i:hn,r:e,k:t,f:!!n}:e:null);const Gn="production"!==process.env.NODE_ENV?(...e)=>Qn(...e):Qn;function Qn(e,t=null,n=null,o=0,a=null,l=!1){if(e&&e!==In||("production"===process.env.NODE_ENV||e||Vt(`Invalid vnode type when creating vnode: ${e}.`),e=Un),(i=e)&&!0===i.__v_isVNode){const o=jn(e,t,!0);return n&&Hn(o,n),!l&&zn&&(6&o.shapeFlag?zn[zn.indexOf(e)]=o:zn.push(o)),o.patchFlag|=-2,o}var i;if(so(e)&&(e=e.__vccOpts),t){t=function(e){return e?Nt(e)||Wn in e?M({},e):e:null}(t);let{class:e,style:n}=t;e&&!J(e)&&(t.class=ve(e)),ee(n)&&(Nt(n)&&!Y(n)&&(n=M({},n)),t.style=fe(n))}const s=J(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:ee(e)?4:K(e)?2:0;return"production"!==process.env.NODE_ENV&&4&s&&Nt(e)&&Vt("Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.","\nComponent that was made reactive: ",e=wt(e)),function(e,t=null,n=null,o=0,a=null,l=(e===$n?0:1),i=!1,s=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&qn(t),ref:t&&Mn(t),scopeId:vn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:o,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:hn};return s?(Hn(c,n),128&l&&e.normalize(c)):n&&(c.shapeFlag|=J(n)?8:16),"production"!==process.env.NODE_ENV&&c.key!=c.key&&Vt("VNode created with invalid key (NaN). VNode type:",c.type),!i&&zn&&(c.patchFlag>0||6&l)&&32!==c.patchFlag&&zn.push(c),c}(e,t,n,o,a,s,l,!0)}function jn(e,t,n=!1){const{props:o,ref:a,patchFlag:l,children:i}=e,s=t?function(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=ve([t.class,o.class]));else if("style"===e)t.style=fe([t.style,o.style]);else if(q(e)){const n=t[e],a=o[e];!a||n===a||Y(n)&&n.includes(a)||(t[e]=n?[].concat(n,a):a)}else""!==e&&(t[e]=o[e])}return t}(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&qn(s),ref:t&&t.ref?n&&a?Y(a)?a.concat(Mn(t)):[a,Mn(t)]:Mn(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:"production"!==process.env.NODE_ENV&&-1===l&&Y(i)?i.map(Yn):i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==$n?-1===l?16:16|l:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&jn(e.ssContent),ssFallback:e.ssFallback&&jn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Yn(e){const t=jn(e);return Y(e.children)&&(t.children=e.children.map(Yn)),t}function Xn(e=" ",t=0){return Gn(Vn,null,e,t)}function Hn(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(Y(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),Hn(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Wn in t?3===o&&hn&&(1===hn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=hn}}else K(t)?(t={default:t,_ctx:hn},n=32):(t=String(t),64&o?(n=16,t=[Xn(t)]):n=8);e.children=t,e.shapeFlag|=n}let Kn,Jn,Zn=null,eo="__VUE_INSTANCE_SETTERS__";(Jn=de()[eo])||(Jn=de()[eo]=[]),Jn.push((e=>Zn=e)),Kn=e=>{Jn.length>1?Jn.forEach((t=>t(e))):Jn[0](e)};const to=e=>{Kn(e),e.scope.on()},no=()=>{Zn&&Zn.scope.off(),Kn(null)};const oo=/(?:^|[-_])(\w)/g,ao=e=>e.replace(oo,(e=>e.toUpperCase())).replace(/[-_]/g,"");function lo(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function io(e,t,n=!1){let o=lo(t);if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?ao(o):n?"App":"Anonymous"}function so(e){return K(e)&&"__vccOpts"in e}var co=Sn({name:"qt-poster-focus-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const ro={class:"absoluteFocusTitleRoot",delayLoad:"400",flexStyle:"${titleFocusStyle}",autoHeight:"",focusable:!1},uo={class:"absoluteFocusMainBgRoot",duplicateParentState:!0,focusable:!1,showIf:"${title.enable}"};co.render=function(e,t,n,i,s,r){const u=o("text-view");return a(),l("div",ro,[c(" 浮动标题"),h(u,{duplicateParentState:!0,focusable:!1,fontSize:26,ellipsizeMode:2,lines:1,paddingRect:[16,18,0,0],gradientBackground:"${floatTitle.background}",style:{height:"64px",color:"#ffffff"},flexStyle:"${floatTitle.style}",text:"${floatTitle}",showIf:"${floatTitle.enable}",gravity:"left",postDelay:"250"}),v("div",uo,[c(" 主标题 "),h(u,{duplicateParentState:!0,focusable:!1,fontSize:30,ellipsizeMode:2,autoHeight:"",maxLines:2,gravity:"left",paddingRect:[16,8,12,8],style:{"background-color":"transparent",color:"#000000"},flexStyle:"${title.style}",text:"${title.text}"}),c(" 副标题 "),h(u,{duplicateParentState:!0,focusable:!1,fontSize:24,ellipsizeMode:2,lines:1,autoHeight:"",gravity:"left|top",paddingRect:[16,0,0,16],style:{color:"rgba(0,0,0,.4)","background-color":"transparent"},flexStyle:"${subTitle.style}",text:"${subTitle.text}",visibility:"${subTitle}"})])])},co.__scopeId="data-v-703673b8",co.__file="src/poster/qt-poster-focus-title.vue";var fo=Sn({name:"qt-poster-corner-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const po={class:"cornerRoot",focusable:!1};fo.render=function(e,t,n,i,s,c){const r=o("text-view");return a(),l("div",po,[h(r,{duplicateParentState:!0,focusable:!1,textSize:e.fontSize,ellipsizeMode:2,lines:1,typeface:"bold",gravity:"center",postDelay:"350",style:{color:"white",padding:"4px 8px",height:"36px"},gradientBackground:"${corner.background}",autoWidth:"",text:"${corner.text}",showIf:"${corner.enable}"},null,8,["textSize"])])},fo.__scopeId="data-v-4b767ea2",fo.__file="src/poster/qt-poster-corner-title.vue";var go=Sn({name:"qt-poster",components:{"qt-poster-corner-title":fo,"qt-poster-focus-title":co},props:{requestFirstFocus:{type:Boolean,default:!1},loadDelay:{type:Number,default:500},type:{type:Number,default:10001},templateKeyMap:{type:Object,default:()=>null},isFocusable:{type:Boolean,default:!0},enableFocusBorder:{type:Boolean,default:!0}},setup:(e,t)=>({mainTextShowOnState:["normal","selected"]})});const mo=["enableFocusBorder"],ho=["showOnState"],vo={flexStyle:"${floatTitle.style}",class:"qt-ui-poster-title-css",gradientBackground:{colors:["#e5000000","#00000000"],cornerRadii4:[0,0,8,8],orientation:4},duplicateParentState:!0,delayLoad:"500",focusable:!1,showIf:"${floatTitle.enable}"},bo={flexStyle:"${ripple.style}",class:"qt-ui-poster-ripple-view-root-css",showOnState:"focused",focusable:!1,clipChildren:!1},_o=(e=>(b("data-v-3c4765e9"),e=e(),_(),e))((()=>v("img",{src:"${ripple.src}",class:"qt-ui-ripple-img-css",focusable:!1,duplicateParentState:!0,showIf:"${true}",delayLoad:"800"},null,-1)));go.render=function(e,t,n,l,i,s){const u=o("qt-poster-focus-title"),f=o("text-view"),p=o("ripple-view"),m=o("qt-poster-corner-title"),b=o("item-frame");return a(),r(b,{type:e.type,layout:"${layout}",flexStyle:"${style}",focusable:e.isFocusable,eventClick:"",eventFocus:"",name:"poster",class:"qt-ui-poster-root-css",itemShowShimmer:"${shimmer.enable}",hideShadow:"${shadow.enable}",shimmerSize:"${size}"},{default:g((()=>[c("封面"),v("img",{class:"qt-ui-poster-img-css",duplicateParentState:!0,postDelay:"300",focusable:!1,enableFocusBorder:e.enableFocusBorder,flexStyle:"${image.style}",src:"${image.src}"},null,8,mo),c(" 焦点选中时的标题 "),h(u,{focusable:!1,showOnState:"focused"}),v("div",{style:{"flex-direction":"column","background-color":"transparent","z-index":"999"},duplicateParentState:!0,focusable:!1,flexStyle:"${titleStyle}",showOnState:e.mainTextShowOnState},[c(" 浮动标题 "),v("div",vo,[h(f,{duplicateParentState:!0,focusable:!1,textSize:26,ellipsizeMode:2,enablePostTask:"",postDelay:"200",lines:1,gravity:"left",style:{"z-index":"999",height:"50px"},flexStyle:"${floatTitle.style}",text:"${floatTitle.text}"})]),c(" 主标题"),h(f,{duplicateParentState:!0,focusable:!1,textSize:30,ellipsizeMode:2,lines:1,delayLoad:"400",postDelay:"200",gravity:"left",paddingRect:[16,8,0,0],gradientBackground:"${title.background}",style:{"z-index":"999",height:"60px"},flexStyle:"${title.style}",text:"${title.text}",showIf:"${title.enable}"})],8,ho),v("div",bo,[h(p,{class:"qt-ui-ripple-view-css",delayLoad:"800",focusable:!1,duplicateParentState:!0,color:"#FF4E46",isShowRipple:"${ripple.enable}",rippleVisible:"invisible"}),_o]),h(m,{focusable:!1,delayLoad:"600",flexStyle:"${corner.style}",style:{"z-index":"1000",position:"absolute"}}),d(e.$slots,"default")])),_:3},8,["type","focusable"])},go.__scopeId="data-v-3c4765e9",go.__file="src/poster/index.vue";var yo=t({name:"qt-nav-bar",props:{textKey:{type:String,default:"text"},itemGap:{type:Number,default:0},horizontal:{type:Boolean,default:!0},initSelect:{type:Number,default:0},className:{type:String,default:"list_view"},size:{type:String,default:"medium"},navs:{type:Array,default:()=>[]}},setup(e,t){const o=n();let a=n("#f5f5f5"),l=y({normal:"#80ffffff",focused:"#000000",selected:"#F5F5F5"}),i=-1,s=-1;T((()=>e.navs),(e=>{e.length>0&&c(e)}));const c=t=>{t||(t=[]),t.forEach(((t,n)=>{0!==e.itemGap&&(e.horizontal?t.decoration={right:e.itemGap}:t.decoration={bottom:e.itemGap}),t.type||(t.type=2e4)})),o.value?.setListData(t),clearTimeout(s);let n=e.initSelect;n>-1&&(o.value?.scrollToPosition(n),s=setTimeout((()=>{o.value?.setItemSelected(n,!0),r(n)}),300))},r=e=>{clearTimeout(i),i=setTimeout((()=>{t.emit("tab-select",{position:e})}),300)};return{navList:o,focusColor:a,textColor:l,bgPadding:[10,10],onTabChange:e=>{!0===e.hasFocus&&(t.emit("tab-focus",e),r(e.position))},scrollToPosition:e=>{o.value?.scrollToPosition(e)},scrollToTop:()=>{o.value?.scrollToTop()},init:e=>{c(e.data)}}}});const To=["stateTextColor","sateBackgroundPadding"],So=["stateTextColor","sateBackgroundPadding"];var Io,xo;yo.render=function(e,t,n,l,c,u){const f=o("text-view"),p=o("qt-list-view");return e.horizontal?(a(),r(p,{key:0,class:s([e.className,"qt-ui-nav-bar-root-horizontal"]),ref:"navList",clipChildren:!1,clipPadding:!1,horizontal:"",onItemFocused:e.onTabChange},{default:g((()=>[v("div",{class:"qt-ui-nav-bar-item-css",type:2e4,autoWidth:"",focusable:!0,eventFocus:"",flexStyle:"${style}",clipChildren:!1,style:i({focusBackgroundColor:e.focusColor}),stateTextColor:e.textColor,sateBackgroundPadding:e.bgPadding},[h(f,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,To),d(e.$slots,"default")])),_:3},8,["class","onItemFocused"])):(a(),r(p,{key:1,class:s([e.className,"qt-ui-nav-bar-root-vertical"]),ref:"navList",clipChildren:!1,clipPadding:!1,onItemFocused:e.onTabChange},{default:g((()=>[v("div",{class:"qt-ui-nav-bar-item-css",type:2e4,flexStyle:"${style}",eventFocus:"",autoWidth:"",focusable:!0,stateTextColor:e.textColor,style:i({focusBackgroundColor:e.focusColor}),sateBackgroundPadding:e.bgPadding,clipChildren:!1},[h(f,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,So),d(e.$slots,"default")])),_:3},8,["class","onItemFocused"]))},yo.__file="src/nav-bar/index.vue",function(e){e[e.QT_WATERFALL_SECTION_TYPE_LOADING=-1]="QT_WATERFALL_SECTION_TYPE_LOADING",e[e.QT_WATERFALL_SECTION_TYPE_TITLE=1e3]="QT_WATERFALL_SECTION_TYPE_TITLE",e[e.QT_WATERFALL_SECTION_TYPE_FLEX=1002]="QT_WATERFALL_SECTION_TYPE_FLEX",e[e.QT_WATERFALL_SECTION_TYPE_LIST=1003]="QT_WATERFALL_SECTION_TYPE_LIST",e[e.QT_WATERFALL_SECTION_TYPE_TAB=1003]="QT_WATERFALL_SECTION_TYPE_TAB",e[e.QT_WATERFALL_SECTION_TYPE_INDEPENDENT_ITEM=1004]="QT_WATERFALL_SECTION_TYPE_INDEPENDENT_ITEM",e[e.QT_WATERFALL_SECTION_TYPE_TAB_LIST=1005]="QT_WATERFALL_SECTION_TYPE_TAB_LIST",e[e.QT_WATERFALL_SECTION_TYPE_CARD=1006]="QT_WATERFALL_SECTION_TYPE_CARD",e[e.QT_WATERFALL_SECTION_TYPE_VUE=1007]="QT_WATERFALL_SECTION_TYPE_VUE",e[e.QT_WATERFALL_SECTION_TYPE_END=-1001]="QT_WATERFALL_SECTION_TYPE_END",e[e.QT_WATERFALL_SECTION_TYPE_BLANK=-1e3]="QT_WATERFALL_SECTION_TYPE_BLANK"}(Io||(Io={})),function(e){e[e.QT_WATERFALL_ITEM_TYPE_STANDARD_ITEM=10001]="QT_WATERFALL_ITEM_TYPE_STANDARD_ITEM",e[e.QT_WATERFALL_ITEM_TYPE_TAB=10002]="QT_WATERFALL_ITEM_TYPE_TAB",e[e.QT_WATERFALL_ITEM_TYPE_CARD=10003]="QT_WATERFALL_ITEM_TYPE_CARD"}(xo||(xo={}));var Eo=Sn({name:"card-item",setup:()=>({})});Eo.render=function(e,t,n,l,i,s){const c=o("es-card-container");return a(),r(c,{clipChildren:!1,clipPadding:!1,autoRecycle:!0,focusable:!0,disablePlaceholderFocus:"",layout:"${layout}",flexStyle:"${style}",cardId:"${cardId}",type:10003,class:"qt-ui-waterfall-card-item"})},Eo.__scopeId="data-v-599898aa",Eo.__file="src/waterfall/item/card-item.vue";var Fo=Sn({name:"standard-section",components:{"card-item":Eo},props:{enablePlaceholder:{type:Boolean,default:!0},plateData:{type:String,default:""},useDiff:{type:Boolean,default:!0},cachePool:{type:Object,default:{}},sectionType:{type:Number,default:Io.QT_WATERFALL_SECTION_TYPE_FLEX},standItemType:{type:Number,default:xo.QT_WATERFALL_ITEM_TYPE_STANDARD_ITEM},currentPageIndex:{type:Number,default:-1}}});const Po=["type"];Fo.render=function(e,t,n,i,s,r){const u=o("text-view"),f=o("qt-poster"),p=o("card-item"),m=o("tv-flex");return a(),l("div",{class:"standard-section-css",blockFocusDirections:["left","right"],clipChildren:!1,type:e.sectionType,focusable:!1,keyName:"_id",flexStyle:"${style}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[h(u,{class:"standard-section-title-text-css",delayLoad:"200",postDelay:"300",flexStyle:"${titleStyle}",focusable:!1,textSize:50,text:"${title}"}),h(m,{class:"standard-section-css",name:"QUICKTVUI_WARTERFALL_LIST",blockFocusDirections:["left","right"],clipChildren:!1,bringFocusChildToFront:!0,cachePool:e.cachePool,useDiff:e.useDiff,keyName:"_id",enablePlaceholder:e.enablePlaceholder,focusScrollTarget:"${focusScrollTarget==true}",list:"${itemList}"},{default:g((()=>[c(" poster "),h(f,{"load-delay":500,type:e.standItemType},null,8,["type"]),c(" card "),h(p),d(e.$slots,"default")])),_:3},8,["cachePool","useDiff","enablePlaceholder"])],8,Po)},Fo.__scopeId="data-v-227e921e",Fo.__file="src/waterfall/section/flex-section.vue";const Co="tab-list-section";var Lo=Sn({name:"tabs-list-section",props:{enablePlaceholder:{type:Boolean,default:!0},isSwitchBgScroll:{type:Boolean,default:!1},standItemType:{type:Number,default:10001},tabItemType:{type:Number,default:10002},sectionType:{type:Number,default:Io.QT_WATERFALL_SECTION_TYPE_LIST},fetchPendingData:{type:Function,default:null},arrangeType:{type:String,default:"TB"}},setup(e,t){const n=E();return{blockDirections:["left","right"],onItemBind:function(e){n.isLoggable(F.DEBUG)&&n.d(Co,"----------onItemBind--------------\x3e>>",e)},onItemClick:function(e){n.isLoggable(F.DEBUG)&&n.d(Co,"----------onItemClick--------------\x3e>>",e)},onItemRecycled:function(e){n.isLoggable(F.DEBUG)&&n.d(Co,"----------onItemRecycled--------------\x3e>>",e)},onItemFocused:function(e){n.isLoggable(F.DEBUG)&&n.d(Co,"----------onItemFocused--------------\x3e>>",e)}}}});const ko={class:"qt-ui-section-tab-list-root",focusable:!1,flexStyle:"${style}",blockFocusDirections:["right"],clipChildren:!1,useAdvancedFocusSearch:!0,bringFocusChildToFront:!0},Do=["type"];Lo.render=function(e,t,n,l,i,s){const c=o("text-view"),u=o("qt-poster"),f=o("tv-list"),p=o("tv-item");return a(),r(p,{type:e.sectionType,clipPadding:!1,clipChildren:!1,ref:"listSection",class:"tab-list-section-root-css",onItemClick:e.onItemClick,onItemBind:e.onItemBind,onItemUnbind:e.onItemRecycled,onItemFocused:e.onItemFocused},{default:g((()=>[v("div",ko,[h(c,{class:"tab-list-section-title-text-css",delayLoad:"200",postDelay:"300",flexStyle:"${titleStyle}",focusable:!1,textSize:50,text:"${title}"}),h(f,{list:"${itemList}",horizontal:"",clipChildren:!1,focusable:!1,class:"tab-list-section-list-css",name:"QUICKTVUI_WARTERFALL_LIST",resetOnDetach:!0,enableKeepFocus:"${enableKeepFocus==true}",endHintEnabled:"${enableEndHit}",onScrollEnable:!1,setSelectChildPosition:0,enablePlaceholder:e.enablePlaceholder,cachePoolName:"HorizontalList",blockFocusDirections:e.blockDirections},{default:g((()=>[h(u,{type:e.standItemType},null,8,["type"]),v("div",{type:e.tabItemType,class:"qt-ui-section-tab-list-item",clipChildren:!1,flexStyle:"${style}",style:{"padding-left":"24px","padding-right":"23px","justify-content":"center",height:"50px"},autoWidth:"",name:"QUICKTVUI_TAB_2",focusable:!0,eventClick:"",eventFocus:""},[h(c,{class:"qt-ui-section-tab-list-item-text",autoWidth:"",flexStyle:"${textStyle}",gravity:"center",fontSize:36,lines:1,focusable:!1,duplicateParentState:!0,style:{height:"50px"},text:"${text}"})],8,Do),d(e.$slots,"default")])),_:3},8,["enablePlaceholder","blockFocusDirections"])])])),_:3},8,["type","onItemClick","onItemBind","onItemUnbind","onItemFocused"])},Lo.__scopeId="data-v-88e60816",Lo.__file="src/waterfall/section/tabs-list-section.vue";var No=Sn({name:"loading-section"});const wo={focusable:!1,type:-1,class:"loading-section-css"};No.render=function(e,t,n,i,s,c){const r=o("qt-loading-view");return a(),l("div",wo,[h(r,{class:"loading-section-loading-css"})])},No.__scopeId="data-v-48609f24",No.__file="src/waterfall/section/loading-section.vue";var Oo=Sn({name:"end-section",setup:()=>({})});const Ao={type:-1001,focusable:!1,flexStyle:"${style}",class:"qt-waterfall-end-section-css"};Oo.render=function(e,t,n,i,s,c){const r=o("text-view");return a(),l("div",Ao,[h(r,{focusable:!1,gravity:"center",flexStyle:"${titleStyle}",class:"qt-waterfall-end-section-text-css",fontSize:28,text:"${title}"})])},Oo.__scopeId="data-v-70b82c43",Oo.__file="src/waterfall/section/end-section.vue";var Bo=Sn({props:{plateTitleLeftMargin:{type:Number,default:0},type:{type:Number,default:Io.QT_WATERFALL_SECTION_TYPE_TITLE}},setup:(e,t)=>({})});const Ro=["type"];Bo.render=function(e,t,n,s,c,r){const u=o("text-view");return a(),l("div",{class:"section-title-css",blockFocusDirections:["left","right"],clipChildren:!1,type:e.type,focusable:!1,bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[h(u,{class:"section-title-text-css",delayLoad:"200",postDelay:"300",style:i({marginLeft:e.plateTitleLeftMargin+"px"}),focusable:!1,textSize:50,text:"${title}"},null,8,["style"])],8,Ro)},Bo.__scopeId="data-v-20428d40",Bo.__file="src/waterfall/section/section-title.vue";var $o=Sn({name:"blank-section",setup:()=>({})});const Vo={focusable:!1,type:-1e3,flexStyle:"${style}",class:"qt-ui-waterfall-blank-section"};$o.render=function(e,t,n,o,i,s){return a(),l("div",Vo)},$o.__scopeId="data-v-eeab4d88",$o.__file="src/waterfall/section/blank-section.vue";var Uo=Sn({name:"card-section",setup:()=>({})});const zo={type:1006,class:"qt-ui-waterfall-card-section-css",clipChildren:!1,clipPadding:!1,keyName:"_id",flexStyle:"${style}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0};Uo.render=function(e,t,n,i,s,c){const r=o("text-view"),u=o("es-card-container");return a(),l("div",zo,[h(r,{class:"qt-ui-waterfall-card-section-title-css",delayLoad:"200",postDelay:"300",flexStyle:"${titleStyle}",focusable:!1,textSize:50,text:"${title}"}),h(u,{cardId:"${cardId}",clipChildren:!1,clipPadding:!1,autoRecycle:!0,focusable:!0,flexStyle:"${cardStyle}",class:"qt-ui-waterfall-card-section"})])},Uo.__scopeId="data-v-43a44788",Uo.__file="src/waterfall/section/card-section.vue";var Wo=Sn({name:"vue-section",setup:(e,t)=>({onSectionBind:function(){}})});function qo(e,t){const n=[];if(t&&t.length>0)for(let o=0;o<t.length;o++){let a=Mo(e,t[o]);n.push(a)}return n}function Mo(e,t){let n=0;return t.itemList.length>0&&(n=function(e,t){const n=t.itemList,o=t.style?.spacing??0,a=t.titleStyle,l=a?.height??0,i=a?.marginTop??0,s=a?.marginBottom??0,c=a?.paddingTop??0,r=a?.paddingBottom??0;let u=0,d=0,f=0,p=0;for(let t=0;t<n.length;t++){const a=n[t],l=a.decoration,i=l?.left??0,s=l?.top??0,c=l?.right??0,r=l?.bottom??0;let g=a?.style.width??0,m=a?.style.height??0;u+g+c>=e&&(d+=f+o,f=0,u=0),a.layout||(a.layout=[0,0,g,m]),a.layout[0]=u+i,a.layout[1]=d+s,a.layout[1]+m+r>p&&(p=a.layout[1]+m+r),m+s+r>f&&(f=m+s+r),u+=g+o+i+c}return p+l+i+s+c+r}(e.width,t),t.style.height=n),t}function Go(){let e=[];function t(e){return e.itemList.length}function n(n,o){console.log("----1--------getRangeSectionListItemCount-----------------\x3e>>>");const a=e.length;if(n<0||n>=a)return 0;console.log("----2--------getRangeSectionListItemCount-----------------\x3e>>>");let l=n+o;n+o>a&&(l=a),console.log("----3--------getRangeSectionListItemCount-----------------\x3e>>>");let i=0;for(let o=n;o<l;o++){i+=t(e[o])}return i}function o(){console.log("--------dumpWaterfallData---------\x3e>>>",e)}return{init:function(){},getSectionList:function(){return e},addSectionList:function(a){const l=e.length,i=n(0,l),s=function(e){if(e.length<=0)return 0;let n=0;for(let o=0;o<e.length;o++){n+=t(e[o])}return n}(a);return e.push(...a),o(),{sectionIndex:l,sectionCount:a.length,itemIndex:i,itemCount:s}},deleteSection:function(t,a){const l=n(0,t-1),i=n(t,a);return e.splice(t,a),o(),{sectionIndex:t,sectionCount:a,itemIndex:l,itemCount:i}},updateSection:function(a,l){const i=n(0,a-1),s=t(l);return e.splice(a,1,l),o(),{sectionIndex:a,sectionCount:1,itemIndex:i,itemCount:s}},getSection:function(t){if(!(t<0||t>=e.length||0==e.length))return e[t]},addItemList:function(t,n){const a=e.length;if(t<0||t>=a||n.length<=0)return{sectionIndex:-1,sectionCount:0,itemIndex:-1,itemCount:0};const l=e[t],i=l.itemList.length;return l.itemList.push(...n),o(),{sectionIndex:t,sectionCount:1,itemIndex:i,itemCount:n.length}},deleteItem:function(t,n,a){return e[t].itemList.splice(n,a),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:a}},updateItem:function(t,n,a){return e[t].itemList.splice(n,1,a),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:1}},updateItemList:function(t,n,a,l){return e[t].itemList.splice(n,a,...l),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:a}},getItem:function(t,n){const o=e[t];if(o&&o.itemList.length>0&&n>=0&&n<o.itemList.length){return o.itemList[n]}},destroy:function(){e=[]}}}Wo.render=function(e,t,n,l,i,s){const c=o("tv-item");return a(),r(c,{class:"qt-ui-waterfall-vue-section",type:1007,blockFocusDirections:["left","right"],clipChildren:!1,flexStyle:"${style}",singleton:"",onItemBind:e.onSectionBind},{default:g((()=>[d(e.$slots,"default")])),_:3},8,["onItemBind"])},Wo.__scopeId="data-v-f8447724",Wo.__file="src/waterfall/section/vue-section.vue";const Qo="qt-waterfall";var jo,Yo=Sn({name:"qt-waterfall",emits:["onScroll","onScrollStateChanged","onItemClick","onItemFocused","onSectionBind","onSectionAttached"],props:{enablePlaceholder:{type:Boolean,default:!0},prevLoadNumber:{type:Number,default:3},backTop:{type:Function,default:()=>{}},isLoadMore:{type:Boolean,default:!0},headBlank:{type:Number,default:90}},setup(e,t){const o=E(),a={name:"tvList"+Date.now(),size:{20008:10}},l=n();let i;const s=Go();return{waterfallRef:l,init:function(e){i=e},getSectionList:function(){return s.getSectionList()},setSectionList:function(e){if(!i)return;o.isLoggable(F.DEBUG)&&o.d(Qo,"-------1---setSectionList--------------\x3e>>"),s.destroy();const t=s.addSectionList(e);o.isLoggable(F.DEBUG)&&o.d(Qo,"-------2---setSectionList--------------\x3e>>",t);const n=qo(i,e);o.isLoggable(F.DEBUG)&&o.d(Qo,"----------setSectionList-----最终数据---------\x3e>>",n),l.value?.setListData(n)},addSectionList:function(e){if(!i)return;s.addSectionList(e);const t=qo(i,e);o.isLoggable(F.DEBUG)&&o.d(Qo,"----------addSectionList-----最终数据---------\x3e>>",t),l.value?.addListData(t)},deleteSection:function(e,t){const n=s.deleteSection(e,t);o.isLoggable(F.DEBUG)&&o.d(Qo,"----------deleteSection-----最终数据---------\x3e>>",n),l.value?.deleteItem(e,t)},updateSection:function(e,t){s.updateSection(e,t);const n=Mo(i,t);o.isLoggable(F.DEBUG)&&o.d(Qo,"----------updateSection-----最终数据---------\x3e>>sectionIndex:"+e+"updateSection:"+n),l.value?.updateItem(e,n)},updateSectionList:function(e,t,n){const o=[];for(let t=0;t<n.length;t++){const a=n[t];s.updateSection(e+t,a);const l=Mo(i,a);l&&o.push(l)}l.value?.updateItemList(e,t,o)},getSection:function(e){return s.getSection(e)},addItemList:function(e,t){s.addItemList(e,t);const n=s.getSection(e);if(n){const t=Mo(i,n);l.value?.updateItem(e,t)}},deleteItem:function(e,t,n){s.deleteItem(e,t,n);const o=s.getSection(e);if(o){const t=Mo(i,o);l.value?.updateItem(e,t)}},updateItem:function(e,t,n){s.updateItem(e,t,n);const o=s.getSection(e);if(o){const t=Mo(i,o);l.value?.updateItem(e,t)}},updateItemList:function(e,t,n,o){s.updateItemList(e,t,n,o);const a=s.getSection(e);if(a){const t=Mo(i,a);l.value?.updateItem(e,t)}},getItem:function(e,t){return s.getItem(e,t)},cachePool:a,flexCachePool:{name:"tvFlex",size:{1:50}},onScroll:function(e){e.stopPropagation();let n=e.offsetY,o=e.offsetX;t.emit("onScroll",o,n)},onItemClick:function(e){o.isLoggable(F.DEBUG)&&o.d(Qo,"----------onItemClick--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" "),t.emit("onItemClick",e.parentPosition,e.position,e.item)},onItemFocused:function(e){o.isLoggable(F.DEBUG)&&o.d(Qo,"----------onItemFocused--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" isFocused:"+e.isFocused+" "),t.emit("onItemFocused",e.parentPosition,e.position,e.isFocused,e.item)},onSectionBind:function(e){if(e){o.isLoggable(F.DEBUG)&&o.d(Qo,"----------onSectionBind--------------\x3e>>",e);let n=e.pageIndex??0;t.emit("onSectionBind",n,e.position)}},onSectionAttached:function(e){if(e){o.isLoggable(F.DEBUG)&&o.d(Qo,"----------onSectionAttached--------------\x3e>>",e);let n=e.pageIndex??0;t.emit("onSectionAttached",n,e.position)}},onScrollStateChanged:function(e){let n=e.offsetY,o=e.offsetX,a=e.newState;t.emit("onScrollStateChanged",o,n,a)},resumePostTask:function(){l.value?.pausePostTask()},pausePostTask:function(){l.value?.pausePostTask()},clearPostTask:function(){l.value?.clearPostTask()},destroy:function(){l.value?.destroy()}}},components:{"flex-section":Fo,"tabs-list-section":Lo,"section-title":Bo,"loading-section":No,"end-section":Oo,"blank-section":$o,"card-section":Uo,"vue-section":Wo}});function Xo(){const e=new Map,t=new Map;function n(n){const o={index:n,state:jo.QT_TAB_PAGE_STATE_IDLE};e.set(n,o),t.set(n,[])}function o(e){return e.itemList.length}function a(e,t,n){const a=e.length;if(t<0||t>=a)return 0;let l=t+n;t+n>a&&(l=a),console.log("----3--------getRangeSectionListItemCount-----------------\x3e>>>");let i=0;for(let n=t;n<l;n++){i+=o(e[n])}return i}function l(){console.log("--------dumpTabWaterfallData---------\x3e>>>",t)}return{initTab:function(e){const t=e.itemList;for(let e=0;e<t.length;e++)n(e)},getTabPageData:function(t){return e.get(t)},setTabPageData:function(t,n){e.set(t,n)},getSectionList:function(e){return t.get(e)??[]},addSectionList:function(n,i){const s=t.get(n)??[],c=s.length,r=a(s,0,c),u=function(e){if(e.length<=0)return 0;let t=0;for(let n=0;n<e.length;n++){t+=o(e[n])}return t}(i);s.push(...i);const d=e.get(n);return d&&(d.state=jo.QT_TAB_PAGE_STATE_IDLE),l(),{pageIndex:n,sectionIndex:c,sectionCount:i.length,itemIndex:r,itemCount:u}},deleteSection:function(e,n,o){const i=t.get(e)??[],s=a(i,0,n-1),c=a(i,n,o);return i.splice(n,o),l(),{pageIndex:e,sectionIndex:n,sectionCount:o,itemIndex:s,itemCount:c}},updateSection:function(e,n,i){const s=t.get(e)??[],c=a(s,0,n-1),r=o(i);return s.splice(n,1,i),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:c,itemCount:r}},updateSectionList:function(e,n){return t.set(e,n),l(),{pageIndex:e,sectionIndex:0,sectionCount:n.length,itemIndex:-1,itemCount:-1}},getSection:function(e,n){const o=t.get(e)??[];if(!(n<0||n>=o.length||0==o.length))return o[n]},addItemList:function(e,n,o){const a=t.get(e)??[],i=a.length;if(n<0||n>=i||o.length<=0)return{pageIndex:e,sectionIndex:-1,sectionCount:0,itemIndex:-1,itemCount:0};const s=a[n],c=s.itemList.length;return s.itemList.push(...o),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:c,itemCount:o.length}},deleteItem:function(e,n,o,a){return(t.get(e)??[])[n].itemList.splice(o,a),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:a}},updateItem:function(e,n,o,a){return(t.get(e)??[])[n].itemList.splice(o,1,a),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:1}},updateItemList:function(e,n,o,a,i){return(t.get(e)??[])[n].itemList.splice(o,a,...i),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:a}},getItem:function(e,n,o){const a=(t.get(e)??[])[n];if(a&&a.itemList.length>0&&o>=0&&o<a.itemList.length){return a.itemList[o]}},destroy:function(){t.clear()}}}Yo.render=function(e,t,n,l,i,s){const u=o("flex-section"),f=o("tabs-list-section"),p=o("loading-section"),m=o("end-section"),v=o("blank-section"),b=o("card-section"),_=o("vue-section"),y=o("tv-list");return a(),r(y,{ref:"waterfallRef",class:"qt-waterfall-root-css",clipChildren:!1,clipPadding:!1,listenBoundEvent:!0,negativeKeyTime:"30",postContentDelay:"500",onScroll:e.onScroll,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onItemBind:e.onSectionBind,onItemAttached:e.onSectionAttached,focusMemory:!1,cachePool:e.cachePool,preload:1,checkScrollOffsetOnStateChanged:!0,makeChildVisibleType:"center",scrollThresholdVertical:50,scrollEventThrottle:16,enableSelectOnFocus:!1,advancedFocusSearchSpan:"1",scrollYLesserReferenceValue:30,scrollYGreaterReferenceValue:30,shakePreCheckNumber:"4",blockFocusDirections:["down"],onScrollStateChanged:e.onScrollStateChanged},{default:g((()=>[c(" 普通版块"),h(u,{"cache-pool":e.flexCachePool,enablePlaceholder:e.enablePlaceholder},{default:g((()=>[d(e.$slots,"item")])),_:3},8,["cache-pool","enablePlaceholder"]),c("一行滚动 多级tab"),h(f,{enablePlaceholder:e.enablePlaceholder},{default:g((()=>[d(e.$slots,"list-item")])),_:3},8,["enablePlaceholder"]),c(" loading"),h(p),c(" end "),h(m),c(" blank "),h(v),c(" card "),h(b),c(" vue "),h(_,null,{default:g((()=>[d(e.$slots,"vue-section")])),_:3}),d(e.$slots,"section")])),_:3},8,["onScroll","onItemClick","onItemFocused","onItemBind","onItemAttached","cachePool","onScrollStateChanged"])},Yo.__scopeId="data-v-2e65df68",Yo.__file="src/waterfall/index.vue",function(e){e[e.QT_TAB_PAGE_STATE_IDLE=0]="QT_TAB_PAGE_STATE_IDLE",e[e.QT_TAB_PAGE_STATE_BUSY=1]="QT_TAB_PAGE_STATE_BUSY",e[e.QT_TAB_PAGE_STATE_COMPLETE=2]="QT_TAB_PAGE_STATE_COMPLETE",e[e.QT_TAB_PAGE_STATE_ERROR=3]="QT_TAB_PAGE_STATE_ERROR"}(jo||(jo={}));const Ho="qt-tab";var Ko=Sn({name:"qt-tab",emits:["onTabPageLoadData","onTabPageChanged","onTabEvent","onTabPageItemClick","onTabPageItemFocused","onTabPageSectionAttached","onTabPageScroll","onTabPageScrollStateChanged","onTabMoveToTopStart","onTabMoveToTopEnd","onTabMoveToBottomStart","onTabMoveToBottomEnd","onTabChanged","onTabPageScrollToEnd","onTabPageScrollToStart"],props:{preloadNumber:{type:Number,default:3},tabNavBarClass:{type:String,default:""},tabClass:{type:String,default:""},tabsDataStrategy:{type:String,default:"overTime"},tabContentClass:{type:String,default:""},horizontal:{type:Boolean,default:!0},pageTransform:{type:Boolean,default:!0},hideOnSingleTab:{type:Boolean,default:!0},floatNavBar:{type:Boolean,default:!0},contentNextFocus:{type:Object,default:()=>({up:"tabList",left:"tabList"})},triggerTask:{type:Array,default:()=>[]},blockViewPager:{type:Array,default:()=>[]},blockViewPagerVertical:{type:Array,default:()=>[]}},setup(e,t){const o=n(),a=n(!0),l=n(300),i=n(500),s=n(1),c=n(!0),r=E(),u=n(),d=Xo();let f,p=-1;function g(e,t){const n=d.getTabPageData(e);n&&(n.state=t,d.setTabPageData(e,n))}function m(n,o,a){let l=d.getTabPageData(n);if(l&&l.state===jo.QT_TAB_PAGE_STATE_IDLE){a>=d.getSectionList(n).length-e.preloadNumber-1&&(r.isLoggable(F.DEBUG)&&r.d(Ho,"----------loadPageData----加载数加载据--\x3e>>> pageIndex:"+n+" sectionIndex:"+a),t.emit("onTabPageLoadData",n,o),g(n,jo.QT_TAB_PAGE_STATE_BUSY))}else r.isLoggable(F.DEBUG)&&r.d(Ho,"----------loadPageData--状态不对--\x3e>>>",n)}return{tabs:o,ifTabs:a,navBarRef:u,initTab:function(e){let t={defaultIndex:e.defaultIndex,focusIndex:e.defaultFocusIndex,data:e.itemList};d.initTab(e),o.value?.setTabsData(t)},initWaterfall:function(e){f=e},setTagPageSate:g,setTabPageData:function(e,t){r.isLoggable(F.DEBUG)&&r.d(Ho,"----------loadPageData----setTabPageData--\x3e>>>pageIndex:"+e),d.addSectionList(e,t.data);const n={data:qo(f,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};r.isLoggable(F.DEBUG)&&r.d(Ho,"------设置数据----setTabPageData------\x3e>>> pageIndex:"+e+" data:",n),o.value?.setPageData(e,n)},addPageData:function(e,t,n=0){r.isLoggable(F.DEBUG)&&r.d(Ho,"----------loadPageData----addPageData--\x3e>>>pageIndex:"+e),d.addSectionList(e,t.data);const a={data:qo(f,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};r.isLoggable(F.DEBUG)&&r.d(Ho,"----设置数据------addPageData------\x3e>>> pageIndex:"+e+" data:",a," deleteCount:"+n),o.value?.addPageData(e,a,n)},updatePageData:function(e,t){d.updateSectionList(e,t.data);const n={data:qo(f,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};o.value?.updatePageData(e,n)},updatePageSection:function(e,t,n){d.updateSection(e,t,n);const a=Mo(f,n);o.value?.updateRootNode(e,t,a)},getPageSection:function(e,t){return d.getSection(e,t)},getPageSectionList:function(e){return d.getSectionList(e)},deletePageSection:function(e,t,n){d.deleteSection(e,t,n),o.value?.invokeContentFunction(e,"deleteItemRange",[t,n])},addPageItemList:function(e,t,n){d.addItemList(e,t,n);const a=d.getSection(e,t);if(a){const n=Mo(f,a);o.value?.updateRootNode(e,t,n)}},getPageItem:function(e,t,n){return d.getItem(e,t,n)},updatePageItem:function(e,t,n,a){d.updateItem(e,t,n,a),o.value?.updateChildNode(e,t,n,a)},deletePageItem:function(e,t,n,a){d.deleteItem(e,t,n,a);const l=d.getSection(e,t);if(l){const n=Mo(f,l);o.value?.updateRootNode(e,t,n)}},blockRootFocus:function(){o.value?.blockRootFocus()},unBlockRootFocus:function(){o.value?.unBlockRootFocus()},focusBackToTop:function(){o.value?.focusBackToTop()},requestNodeFocus:function(e){o.value?.requestNodeFocus(e)},reloadAll:function(e=!0){o.value?.reloadAll(e)},reloadPage:function(e){o.value?.reloadPage(e)},setCurrentPage:function(e){o.value?.setCurrentPage(e)},requestTabFocus:function(e){o.value?.requestTabFocus(e)},invokeContentFunction:function(e,t,n){o.value?.invokeContentFunction(e,t,n)},invokeContentFunctionDirect:function(e,t){o.value?.invokeContentFunctionDirect(e,t)},contentScrollToFocus:function(e){o.value?.contentScrollToFocus(e)},getRootNodeViewState:function(e,t,n){o.value?.getRootNodeViewState(e,t,n)},getChildNodeViewState:function(e,t,n,a,l){o.value?.getChildNodeViewState(e,t,n,a,l)},dispatchUIFunctionOnChildNode:function(e,t,n,a,l){o.value?.dispatchUIFunctionOnChildNode(e,t,n,a,l)},updateItemMatched:function(e="id",t,n){o.value?.updateItemMatched(e,t,n)},updateRootNode:function(e,t,n){o.value?.updateRootNode(e,t,n)},updateChildNode:function(e,t,n,a){o.value?.updateChildNode(e,t,n,a)},destroy:function(){o.value?.destroy()},pageSwitchDelay:l,pageResumeDelay:i,rootOpacity:s,isTabHorizontal:c,onTabPageLoadData:function(e){const t=e.pageIndex,n=e.useDiff;r.isLoggable(F.DEBUG)&&r.d(Ho,"----------loadPageData----android--\x3e>>>pageIndex:"+t),m(t,n,0)},onTabPageChanged:function(e){const n=e.pageIndex;p=n;const o=e.data;r.isLoggable(F.DEBUG)&&r.d(Ho,"----------onTabPageChanged------\x3e>>> pageIndex:"+n+" data:",o),t.emit("onTabPageChanged",n,o)},onTabEvent:function(e){const n=e.params,o=e.eventName,a=e.params.itemPosition;switch(r.isLoggable(F.DEBUG)&&r.d(Ho,"----------onTabEvent------\x3e>>> eventName:"+o+" tabIndex:"+a+" params:"+n),t.emit("onTabEvent",a,o,n),o){case"onMoveToTopStart":t.emit("onTabMoveToTopStart",a,o,n);break;case"onMoveToTopEnd":t.emit("onTabMoveToTopEnd",a,o,n);break;case"onMoveToBottomStart":t.emit("onTabMoveToBottomStart",a,o,n);break;case"onMoveToBottomEnd":t.emit("onTabMoveToBottomEnd",a,o,n);break;case"onTabChanged":t.emit("onTabChanged",a,o,n)}},onWaterfallItemClick:function(e,n,o){r.isLoggable(F.DEBUG)&&r.d(Ho,"-----------onWaterfallItemClick---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+n+" item:",o),t.emit("onTabPageItemClick",p,e,n,o)},onWaterfallItemFocused:function(e,n,o,a){r.isLoggable(F.DEBUG)&&r.d(Ho,"-----------onWaterfallItemFocused---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+n+" isFocused:"+o+" item:",a),t.emit("onTabPageItemFocused",p,e,n,o,a)},onWaterfallSectionBind:function(e,t){r.isLoggable(F.DEBUG)&&r.d(Ho,"-----------onWaterfallSectionBind---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),e===p&&(r.isLoggable(F.DEBUG)&&r.d(Ho,"----------loadPageData----bind--\x3e>>>pageIndex:"+e),m(e,!1,t))},onWaterfallSectionAttached:function(e,n){r.isLoggable(F.DEBUG)&&r.d(Ho,"-----------onWaterfallSectionAttached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+n),t.emit("onTabPageSectionAttached",e,n)},onWaterfallScroll:function(e,n){r.isLoggable(F.DEBUG)&&r.d(Ho,"----------onWaterfallScroll----\x3e>>> offsetX:"+e+" scrollY:"+n),t.emit("onTabPageScroll",e,n)},onWaterfallScrollStateChanged:function(e,n,o){r.isLoggable(F.DEBUG)&&r.d(Ho,"----------onWaterfallScrollStateChanged----\x3e>>> offsetX:"+e+" scrollY:"+n+" newState:"+o),t.emit("onTabPageScrollStateChanged",e,n,o)},onTabPageScrollToStart:function(e){const n=e.pageIndex;t.emit("onTabPageScrollToStart",n),r.isLoggable(F.DEBUG)&&r.d(Ho,"----------onTabPageScrollToStart------\x3e>>> pageIndex:"+n)},onTabPageScrollToEnd:function(e){const n=e.pageIndex;t.emit("onTabPageScrollToEnd",n),r.isLoggable(F.DEBUG)&&r.d(Ho,"----------onTabPageScrollToEnd------\x3e>>> pageIndex:"+n)}}}});Ko.render=function(e,t,n,l,i,u){const f=o("qt-nav-bar"),p=o("qt-waterfall"),m=o("recycler-view-pager"),v=o("tabs");return e.ifTabs?(a(),r(v,{key:0,ref:"tabs",class:s(["tabs-root-css",e.tabClass]),dataStrategy:e.tabsDataStrategy,hideOnSingleTab:this.hideOnSingleTab,pageSwitchDelay:e.pageSwitchDelay,resumeTaskDelay:e.pageResumeDelay,suspension:this.floatNavBar,clipChildren:!1,outOfDateTime:3e5,blockFocusDirections:["down"],onScrollToStart:e.onTabPageScrollToStart,onScrollToEnd:e.onTabPageScrollToEnd,onLoadPage:e.onTabPageLoadData,onPageChanged:e.onTabPageChanged,onTabEvent:e.onTabEvent},{default:g((()=>[h(f,{ref:"navBarRef",name:"tabList",focusable:!1,class:s(e.tabNavBarClass),"text-key":"text",clipChldren:!1,horizontal:e.isTabHorizontal},{default:g((()=>[d(e.$slots,"tab-item")])),_:3},8,["class","horizontal"]),h(m,{nextFocusName:e.contentNextFocus,ref:"viewPager",class:s(e.tabContentClass),name:"content",loadingItemType:-1,clipChldren:!1,opacity:e.rootOpacity,focusable:!1,enableTransform:e.pageTransform,triggerTask:e.triggerTask,direction:e.isTabHorizontal?"horizontal":"vertical",blockFocusDirections:e.isTabHorizontal?e.blockViewPager:e.blockViewPagerVertical},{default:g((()=>[h(p,{onOnScrollStateChanged:e.onWaterfallScrollStateChanged,onOnScroll:e.onWaterfallScroll,onOnSectionBind:e.onWaterfallSectionBind,onOnSectionAttached:e.onWaterfallSectionAttached,onOnItemFocused:e.onWaterfallItemFocused,onOnItemClick:e.onWaterfallItemClick},{item:g((()=>[d(e.$slots,"waterfall-item")])),section:g((()=>[d(e.$slots,"waterfall-section")])),_:3},8,["onOnScrollStateChanged","onOnScroll","onOnSectionBind","onOnSectionAttached","onOnItemFocused","onOnItemClick"])])),_:3},8,["nextFocusName","class","opacity","enableTransform","triggerTask","direction","blockFocusDirections"])])),_:3},8,["dataStrategy","hideOnSingleTab","pageSwitchDelay","resumeTaskDelay","suspension","class","onScrollToStart","onScrollToEnd","onLoadPage","onPageChanged","onTabEvent"])):c("v-if",!0)},Ko.__file="src/tab/index.vue";var Jo=Sn({name:"qt-classified-list-view",props:{className:{type:String,default:"content_list_view"},classNavName:{type:String,default:"nav_list_view"},currentFocusIndex:{type:Number,default:0}},emits:["item-click","item-focused"],setup(e,t){const o=n(),a=n();let l=[],i=-1,s=-1;let c=-1;let r=-1;return{content_list_view:o,nav_list_view:a,init:t=>{t.forEach(((e,t)=>{e.mask||(e.mask="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/mask.png"),e.icon||(e.icon="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/playing.png");let n=!1;for(let t=0;t<l.length;t++){const o=l[t];e.categoryname==o.categoryname&&(e.navIndex=t,n=!0)}n||(e.navIndex||(e.navIndex=l.length),l.push({type:e.type,decoration:{left:50},categoryname:e.categoryname,startIndex:t}))})),nn((()=>{o.value?.setListData(t),a.value?.setListData(l),setTimeout((()=>{i=e.currentFocusIndex,s=t[e.currentFocusIndex].navIndex,o.value?.scrollToFocused(i),a.value?.scrollToSelected(s,!0)}),300)}))},onItemBind:()=>{},onSItemClick:e=>{t.emit("item-click",e)},onFItemClick:e=>{t.emit("item-click",e)},scrollToIndex:(e,t=!0,n=802)=>{o.value?.scrollToIndex(e,t,n)},scrollToFocused:e=>{o.value?.scrollToFocused(e)},setItemFocused:e=>{o.value?.setItemFocused(e)},scrollToSelected:(e,t=!0)=>{o.value?.scrollToSelected(e,t)},setItemSelected:(e,t=!0)=>{o.value?.setItemSelected(e,!0)},onSItemFocused:e=>{clearTimeout(c),c=setTimeout((()=>{e.hasFocus?(s!=e.item.navIndex&&(s=e.item.navIndex,a.value?.scrollToSelected(e.item.navIndex,!0)),t.emit("item-focused",e)):(i=e.position,s=e.item.navIndex,a.value?.scrollToFocused(e.item.navIndex))}),300)},onFItemFocused:e=>{clearTimeout(r),r=setTimeout((()=>{e.hasFocus&&s!=e.position&&(e.position,o.value?.scrollToIndex(e.item.startIndex,!0,802),o.value?.setItemSelected(e.item.startIndex,!0))}),400)}}}});const Zo=e=>(b("data-v-cbd7c454"),e=e(),_(),e),ea={focusable:!1,clipChildren:!1},ta={type:10001,name:"clv_item",class:"clv_item",focusable:!0,enableFocusBorder:!0,clipChildren:!1,eventClick:"",eventFocus:"",focusScale:1},na=Zo((()=>v("img",{class:"coverV",src:"${coverV}",focusable:!1,postDelay:"300"},null,-1))),oa={duplicateParentState:!0,showOnState:["focused"],focusable:!1,class:"clv_item_text_box"},aa=Zo((()=>v("img",{src:"${mask}",class:"titMask",focusable:"false",postDelay:"300",duplicateParentState:!0},null,-1))),la=Zo((()=>v("img",{class:"icon",src:"${icon}",focusable:!1,postDelay:"300"},null,-1))),ia={type:10001,name:"nav_item",class:"nav_item",focusable:!0,enableFocusBorder:!1,focusScale:"1",eventClick:"",eventFocus:"",clipChildren:!1},sa=Zo((()=>v("div",{class:"line",focusable:!1,showOnState:"selected",duplicateParentState:!0},null,-1))),ca=Zo((()=>v("div",{duplicateParentState:!0,class:"nav_item_text_focused",showOnState:"focused",focusable:!1,gradientBackground:{colors:["#FF2F7CEB","#FF1163D8"],cornerRadius:40}},null,-1))),ra={class:"nav_item_text",focusable:!1,duplicateParentState:!0};var ua,da,fa;Jo.render=function(e,t,n,i,r,u){const f=o("text-view"),p=o("qt-list-view");return a(),l("div",ea,[c(" listview second nav "),h(p,{class:s(e.className),ref:"content_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onSItemClick,horizontal:"",blockFocusDirections:["left","right"],onItemFocused:e.onSItemFocused},{default:g((()=>[v("div",ta,[na,v("div",oa,[aa,la,h(f,{focusable:!1,ellipsizeMode:2,fontSize:30,gravity:"centerVertical",lines:1,maxLines:1,class:"clv_item_text",text:"${assetTitle}",paddingRect:[14,0,0,0]})])]),d(e.$slots,"item")])),_:3},8,["class","onItemClick","onItemFocused"]),c(" listview first nav "),h(p,{class:s(e.classNavName),ref:"nav_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onFItemClick,horizontal:"",blockFocusDirections:["left","right"],onItemFocused:e.onFItemFocused},{default:g((()=>[v("div",ia,[sa,ca,v("div",ra,[h(f,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text_selected",text:"${categoryname}",showOnState:["selected"]}),h(f,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,maxLines:1,class:"text",text:"${categoryname}",showOnState:"focused"}),h(f,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text",text:"${categoryname}",showOnState:["normal"]})])]),d(e.$slots,"navItem")])),_:3},8,["class","onItemClick","onItemFocused"])])},Jo.__scopeId="data-v-cbd7c454",Jo.__file="src/classified-list-view/index.vue",function(e){e.QT_DIRECTION_UP="up",e.QT_DIRECTION_DOWN="down",e.QT_DIRECTION_RIGHT="right",e.QT_DIRECTION_LEFT="left"}(ua||(ua={})),function(e){e[e.SCROLL_STATE_IDLE=0]="SCROLL_STATE_IDLE",e[e.SCROLL_STATE_DRAGGING=1]="SCROLL_STATE_DRAGGING",e[e.SCROLL_STATE_SETTLING=2]="SCROLL_STATE_SETTLING"}(da||(da={})),function(e){e[e.QT_NAV_BAR_ITEM_TYPE_TEXT=2e4]="QT_NAV_BAR_ITEM_TYPE_TEXT"}(fa||(fa={}));const pa=[P,$,go,yo,Yo,Ko,Jo],ga=o=>{o.component("qt-loading-view",{setup(e,t){const o=n();return()=>S("LoadingViewComponent",{ref:o})}}),function(o){const a=t({props:{loadMore:{type:Function,default:function(){return[1,1]}},openPage:{type:Boolean,default:!1},preloadNo:{type:Number,default:0},defaultFocus:{type:Number,default:-1}},emits:["item-click","scroll","item-focused","item-attached","item-detached","item-bind","item-unbind","load-more","scroll-state-changed","focus-search-failed","scrollYGreaterReference","scrollYLesserReference"],setup(t,o){const a=n();x();let l=[],i=[],s=[],c="",r=-1,u=!1,d=-1,g=-1,m=-1,h=-1;f((()=>{t.openPage&&(r=1,u=!1,t.loadMore(r))}));const v=e=>{0==l.length&&(l=R(e),b(l,-1),i=e,t.openPage?T(l.concat([{type:1002,decoration:{top:18,bottom:18,right:30,left:30}}])):T(l),t.defaultFocus>-1&&(m&&clearTimeout(m),m=setTimeout((()=>{N(t.defaultFocus)}),500)));let n={get(e,n,o){if("__ob__"!=n&&"symbol"!=typeof n&&"map"!=n&&"length"!=n&&"constructor"!=n&&"_isVue"!=n&&"valueOf"!=n&&"toString"!=n&&"observeArray"!=n&&"dep"!=n&&"notify"!=n&&"subs"!=n&&"slice"!=n)if(s.push(n),-1!=s.indexOf("push"))c="push";else{if(-1!=s.indexOf("splice"))return c="splice",function(...t){return e.splice(...t),-1!=s.indexOf("list")?(l[s[0]].list.splice(...t),P(Number(s[0]),l[s[0]])):1==t.length?F(Number(t[0]),l.length-t[0]+1):2==t.length?F(Number(t[0]),t[1]):t.length>2&&(0==t[1]?L(t[0],t.slice(2)):C(t[0],t[1],t.slice(2))),l.splice(t[0],...t.slice(1)),c="",s=[],Reflect.get(e,n,o)};if(-1!=s.indexOf("pop"))return c="pop",function(){return e.pop(),-1!=s.lastIndexOf("list")?(l[s[0]].list.pop(),P(Number(s[0]),l[s[0]])):(F(Number(l.length-1),1),l.pop()),c="",s=[],Reflect.get(e,n,o)};if(-1!=s.indexOf("forEach"))return c="forEach",function(a){return e.forEach((e=>{a(e)})),l=[],l=R(e),t.openPage?T(l.concat([{type:1002,decoration:{top:15,left:30}}])):T(l),c="",s=[],Reflect.get(e,n,o)};if(-1!=s.indexOf("concat"))return c="concat",function(a){return e=e.concat(a),-1!=s.lastIndexOf("list")?(l[s[0]].list=l[s[0]].list.concat(a),P(Number(s[0]),l[s[0]])):(l=l.concat(a),t.openPage&&!u?setTimeout((()=>{E(a.concat([{type:"1002",decoration:{bottom:18,right:30,left:30}}]),1)}),300):I(a)),c="",s=[],Reflect.get(e,n,o)};c=""}const a=Reflect.get(e,n,o);return _(a)&&"__ob__"!=n&&"dep"!=n&&"subs"!=n?v(a):(-1==s.indexOf("push")&&(s=[]),a)},set(e,n,o,a){const r=e[n];y(e,n);const d=Reflect.set(e,n,o,a);if((!_(r)&&r!==o||_(r))&&"push"!=c)if(s.push(n),-1!=s.lastIndexOf("list")){let e=s.lastIndexOf("list"),t=s.lastIndexOf("list")+2,n={};for(let e=0;e<t;e++){let t=s[e];n=n?n[t]:i[t]}n.name="name"+s[e-1]+s[e+1],P(Number(s[0]),i[s[0]]),l[s[0]].list[s[e+1]]=i[s[0]].list[s[e+1]],l[s[0]].list[s[e+1]].name="name"+s[e-1]+s[e+1]}else l[s[0]]=i[s[0]],l[s[0]].name="name"+s[0],P(Number(s[0]),i[s[0]]);if(n&&"push"==c&&r!==o)-1!=s.lastIndexOf("list")?(s.push(n),l[s[0]].list.push(o)):(s.push(n),l.push(o));else{if("push"==c)if(-1!=s.lastIndexOf("list"))P(Number(s[0]),l[s[0]]);else{let e=l.slice(s[1]);h&&clearTimeout(h),h=t.openPage&&!u?setTimeout((()=>{E(e.concat([{type:1002,decoration:{bottom:18,right:30,left:30}}]),1)}),300):setTimeout((()=>{I(e)}),300)}c="",s=[]}return d}};return new Proxy(e,n)},b=(e,t)=>{for(let n=0;n<e.length;n++){const o=e[n];o.name=t>=0?"name"+t+n:"name"+n,o.list&&o.list.length>0&&b(o.list,n)}},_=e=>null!==e&&"object"==typeof e,y=(e,t)=>{Object.hasOwnProperty.call(e,t)},T=t=>{d&&clearTimeout(d),d=setTimeout((()=>{e.callUIFunction(a.value,"setListData",t)}),100)},I=t=>{e.callUIFunction(a.value,"addListData",t)},E=(t,n)=>{e.callUIFunction(a.value,"addListDataWithParams",[t,n])},F=(t,n)=>{e.callUIFunction(a.value,"deleteItemRange",[t,n])},P=(t,n)=>{e.callUIFunction(a.value,"updateItem",[t,n])},C=(t,n,o)=>{e.callUIFunction(a.value,"updateItemRange",[t,n,o])},L=(t,n)=>{e.callUIFunction(a.value,"insertItemRange",[t,n])},k=(t,n)=>{e.callUIFunction(a.value,"setSelectChildPosition",[t,n])},D=t=>{e.callUIFunction(a.value,"scrollToPosition",[t])},N=t=>{e.callUIFunction(a.value,"requestChildFocus",[t])};return p((()=>{l=[],i.length=0,s=[],u=!1,r=1,c="",d&&clearTimeout(d),m&&clearTimeout(m),h&&clearTimeout(h),g&&clearTimeout(g)})),o.expose({viewRef:a,init:v,undataItemName:b,hasChanged:(e,t)=>e!==t&&(e==e||t==t),scrollToIndex:(t,n,o)=>{e.callUIFunction(a.value,"scrollToPositionWithOffset",[t,o,n])},updateItem:P,updateItemList:C,hasFocus:t=>{e.callUIFunction(a.value,"hasFocus",(e=>{t(e)}))},updateItemProps:(t,n,o)=>{e.callUIFunction(a.value,"updateItemProps",[n,t,o,!0])},setListData:T,insertItem:L,addListData:I,addListDataWithParams:E,dispatchItemFunction:(t,n,o,l)=>{e.callUIFunction(a.value,"dispatchItemFunction",[t,n,o,l])},deleteItem:F,setBlockFocusDirectionsOnFail:t=>{e.callUIFunction(a.value,"setBlockFocusDirectionsOnFail",[t])},setListDataWithParams:(t,n)=>{e.callUIFunction(a.value,"setListDataWithParams",[t,n])},prepareForRecycle:()=>{e.callUIFunction(a.value,"prepareForRecycle",[])},setDisplay:t=>{e.callUIFunction(a.value,"setDisplay",[t])},scrollToTop:()=>{e.callUIFunction(a.value,"scrollToTop",[])},changeDisplayState:(t,n)=>{e.callUIFunction(a.value,"changeDisplayState",[t,n])},notifySaveInstance:()=>{e.callUIFunction(a.value,"notifySaveInstance",[])},notifyRestoreInstance:()=>{e.callUIFunction(a.value,"notifyRestoreInstance",[])},pausePostTask:()=>{e.callUIFunction(a.value,"pausePostTask",[])},resumePostTask:()=>{e.callUIFunction(a.value,"resumePostTask",[])},getScrollOffset:t=>{e.callUIFunction(a.value,"getScrollOffset",[],t)},scrollToPosition:D,scrollToFocused:e=>{D(e),N(e)},scrollToSelected:(e,t)=>{D(e),k(e,t)},scrollToPositionOffset:(t,n,o,l,i)=>{e.callUIFunction(a.value,"scrollToPositionWithOffset",[n,l,o])},destroy:()=>{e.callUIFunction(a.value,"destroy",[])},setInitPosition:t=>{e.callUIFunction(a.value,"setInitPosition",[t])},setItemFocused:N,clearPostTask:()=>{e.callUIFunction(a.value,"clearAllPostTask",[])},clearFocus:()=>{e.callUIFunction(a.value,"clearFocus",[])},setItemSelected:k,blockRootFocus:()=>{e.callUIFunction(a.value,"blockRootFocus",[])},unBlockRootFocus:()=>{e.callUIFunction(a.value,"unBlockRootFocus",[])},setBackgroundColor:t=>{e.callUIFunction(a.value,"setBackgroundColor",[t])},stopPage:()=>{g&&clearTimeout(g),g=setTimeout((()=>{F(l.length,1)}),400),u=!0}}),()=>{const e=o.slots.default&&o.slots.default();return S("FastListView",{ref:a,onItemClick:e=>{o.emit("item-click",e)},onScroll:e=>{o.emit("scroll",e)},onItemFocused:e=>{o.emit("item-focused",e)},onAttachedToWindow:e=>{o.emit("item-attached",e)},onDetachedFromWindow:e=>{o.emit("item-detached",e)},onBindItem:e=>{e.position==l.length-1-t.preloadNo&&(r++,t.loadMore(r)),o.emit("item-bind",e)},onUnbindItem:e=>{o.emit("item-unbind",e)},onLoadMore:e=>{o.emit("load-more",e)},onScrollStateChanged:e=>{o.emit("scroll-state-changed",e)},onFocusSearchFailed:e=>{o.emit("focus-search-failed",e)},onScrollYGreaterReference:e=>{o.emit("scrollYGreaterReference",e)},onScrollYLesserReference:e=>{o.emit("scrollYLesserReference",e)}},e)}}});o.component("qt-list-view",a)}(o),function(o){const a=t({emits:["item-focused","item-attached","item-detached","item-bind","item-unbind"],setup(t,o){const a=n();return o.expose({viewRef:a,updateItem:(t,n)=>{e.callUIFunction(a.value,"updateItem",[t,n])},dispatchItemFunction:(t,n,o,l)=>{e.callUIFunction(a.value,"dispatchItemFunction",[t,n,o,l])},updateItemProps:(t,n,o)=>{e.callUIFunction(a.value,"updateItemProps",[n,t,o,!0])},batch:t=>{e.callUIFunction(a.value,"batch",[t])}}),()=>{const e=o.slots.default&&o.slots.default();return S("FastListView",{ref:a,onBindItem:e=>{o.emit("item-bind",e)},onItemFocused:e=>{o.emit("item-focused",e)},onAttachedToWindow:e=>{o.emit("item-attached",e)},onDetachedFromWindow:e=>{o.emit("item-detached",e)},onItemRecycled:e=>{o.emit("item-unbind",e)}},e)}}});o.component("qt-list-item",a)}(o);for(let e in pa)o.component(pa[e].name,pa[e])};export{ua as QTDirections,fa as QTNavBarItemType,da as QTScrollState,jo as QTTabPageState,xo as QTWaterfallItemType,Io as QTWaterfallSectionType,ga as QuickTVUI,O as arrangeChildren4ListView};
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
- {
2
- "name": "@quicktvui/quicktvui3",
3
- "version": "0.0.45",
4
- "description": "ExtScreen framework",
5
- "author": "ExtScreen Team",
6
- "homepage": "http://extscreen.com",
7
- "license": "Apache-2.0",
8
- "entry": "dist/index.js",
9
- "main": "dist/index.js",
10
- "module": "dist/index.js",
11
- "types": "dist/src/index.d.ts",
12
- "keywords": [
13
- "native",
14
- "web",
15
- "framework",
16
- "compiler"
17
- ],
18
- "files": [
19
- "dist"
20
- ],
21
- "devDependencies": {
22
- "rollup": "^4.3.0"
23
- }
24
- }
1
+ {
2
+ "name": "@quicktvui/quicktvui3",
3
+ "version": "0.0.46",
4
+ "description": "ExtScreen framework",
5
+ "author": "ExtScreen Team",
6
+ "homepage": "http://extscreen.com",
7
+ "license": "Apache-2.0",
8
+ "entry": "dist/index.js",
9
+ "main": "dist/index.js",
10
+ "module": "dist/index.js",
11
+ "types": "dist/src/index.d.ts",
12
+ "keywords": [
13
+ "native",
14
+ "web",
15
+ "framework",
16
+ "compiler"
17
+ ],
18
+ "files": [
19
+ "dist"
20
+ ],
21
+ "devDependencies": {
22
+ "rollup": "^4.3.0"
23
+ }
24
+ }