-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path8.js
3865 lines (3865 loc) · 253 KB
/
8.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
(self.__LOADABLE_LOADED_CHUNKS__ = self.__LOADABLE_LOADED_CHUNKS__ || []).push([[7587], {
24136: function (t, e, a) {
var r = a(47865), o = r, s = function () {
return this ? this : "undefined" != typeof window ? window : void 0 !== s ? s : "undefined" != typeof self ? self : Function("return this")()
}.call(null), i = a(64925);
o.object.extend(proto, i);
var n = a(56523);
o.object.extend(proto, n), o.exportSymbol("proto.webcast.data.RoomChannelInfo", null, s), o.exportSymbol("proto.webcast.data.RtcExtInfo", null, s), proto.webcast.data.RoomChannelInfo = function (t) {
r.Message.initialize(this, t, 0, -1, proto.webcast.data.RoomChannelInfo.repeatedFields_, null)
}, o.inherits(proto.webcast.data.RoomChannelInfo, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.RoomChannelInfo.displayName = "proto.webcast.data.RoomChannelInfo"), proto.webcast.data.RtcExtInfo = function (t) {
r.Message.initialize(this, t, 0, -1, null, null)
}, o.inherits(proto.webcast.data.RtcExtInfo, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.RtcExtInfo.displayName = "proto.webcast.data.RtcExtInfo"), proto.webcast.data.RoomChannelInfo.repeatedFields_ = [5], r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.RoomChannelInfo.prototype.toObject = function (t) {
return proto.webcast.data.RoomChannelInfo.toObject(t, this)
}, proto.webcast.data.RoomChannelInfo.toObject = function (t, e) {
var a, o = {
channelId: r.Message.getFieldWithDefault(e, 1, "0"),
token: r.Message.getFieldWithDefault(e, 2, ""),
isOwner: r.Message.getBooleanFieldWithDefault(e, 3, !1),
memberCount: r.Message.getFieldWithDefault(e, 4, "0"),
topUserList: r.Message.toObjectList(e.getTopUserList(), i.User.toObject, t),
channelName: r.Message.getFieldWithDefault(e, 6, ""),
roomChannelMode: r.Message.getFieldWithDefault(e, 7, 0),
needApprovalUser: (a = e.getNeedApprovalUser()) && i.User.toObject(t, a),
owner: (a = e.getOwner()) && i.User.toObject(t, a),
maxMemberCount: r.Message.getFieldWithDefault(e, 10, "0"),
rtcExtInfo: (a = e.getRtcExtInfo()) && proto.webcast.data.RtcExtInfo.toObject(t, a)
};
return t && (o.$jspbMessageInstance = e), o
}), proto.webcast.data.RoomChannelInfo.deserializeBinary = function (t) {
var e = new r.BinaryReader(t), a = new proto.webcast.data.RoomChannelInfo;
return proto.webcast.data.RoomChannelInfo.deserializeBinaryFromReader(a, e)
}, proto.webcast.data.RoomChannelInfo.deserializeBinaryFromReader = function (t, e) {
for (; e.nextField() && !e.isEndGroup();) {
switch (e.getFieldNumber()) {
case 1:
var a = e.readInt64String();
t.setChannelId(a);
break;
case 2:
a = e.readString();
t.setToken(a);
break;
case 3:
a = e.readBool();
t.setIsOwner(a);
break;
case 4:
a = e.readInt64String();
t.setMemberCount(a);
break;
case 5:
a = new i.User;
e.readMessage(a, i.User.deserializeBinaryFromReader), t.addTopUser(a);
break;
case 6:
a = e.readString();
t.setChannelName(a);
break;
case 7:
a = e.readInt32();
t.setRoomChannelMode(a);
break;
case 8:
a = new i.User;
e.readMessage(a, i.User.deserializeBinaryFromReader), t.setNeedApprovalUser(a);
break;
case 9:
a = new i.User;
e.readMessage(a, i.User.deserializeBinaryFromReader), t.setOwner(a);
break;
case 10:
a = e.readInt64String();
t.setMaxMemberCount(a);
break;
case 200:
a = new proto.webcast.data.RtcExtInfo;
e.readMessage(a, proto.webcast.data.RtcExtInfo.deserializeBinaryFromReader), t.setRtcExtInfo(a);
break;
default:
e.skipField()
}
}
return t
}, proto.webcast.data.RoomChannelInfo.prototype.serializeBinary = function () {
var t = new r.BinaryWriter;
return proto.webcast.data.RoomChannelInfo.serializeBinaryToWriter(this, t), t.getResultBuffer()
}, proto.webcast.data.RoomChannelInfo.serializeBinaryToWriter = function (t, e) {
var a = undefined;
a = t.getChannelId(), 0 !== parseInt(a, 10) && e.writeInt64String(1, a), (a = t.getToken()).length > 0 && e.writeString(2, a), (a = t.getIsOwner()) && e.writeBool(3, a), a = t.getMemberCount(), 0 !== parseInt(a, 10) && e.writeInt64String(4, a), (a = t.getTopUserList()).length > 0 && e.writeRepeatedMessage(5, a, i.User.serializeBinaryToWriter), (a = t.getChannelName()).length > 0 && e.writeString(6, a), 0 !== (a = t.getRoomChannelMode()) && e.writeInt32(7, a), null != (a = t.getNeedApprovalUser()) && e.writeMessage(8, a, i.User.serializeBinaryToWriter), null != (a = t.getOwner()) && e.writeMessage(9, a, i.User.serializeBinaryToWriter), a = t.getMaxMemberCount(), 0 !== parseInt(a, 10) && e.writeInt64String(10, a), null != (a = t.getRtcExtInfo()) && e.writeMessage(200, a, proto.webcast.data.RtcExtInfo.serializeBinaryToWriter)
}, proto.webcast.data.RoomChannelInfo.prototype.getChannelId = function () {
return r.Message.getFieldWithDefault(this, 1, "0")
}, proto.webcast.data.RoomChannelInfo.prototype.setChannelId = function (t) {
return r.Message.setProto3StringIntField(this, 1, t)
}, proto.webcast.data.RoomChannelInfo.prototype.getToken = function () {
return r.Message.getFieldWithDefault(this, 2, "")
}, proto.webcast.data.RoomChannelInfo.prototype.setToken = function (t) {
return r.Message.setProto3StringField(this, 2, t)
}, proto.webcast.data.RoomChannelInfo.prototype.getIsOwner = function () {
return r.Message.getBooleanFieldWithDefault(this, 3, !1)
}, proto.webcast.data.RoomChannelInfo.prototype.setIsOwner = function (t) {
return r.Message.setProto3BooleanField(this, 3, t)
}, proto.webcast.data.RoomChannelInfo.prototype.getMemberCount = function () {
return r.Message.getFieldWithDefault(this, 4, "0")
}, proto.webcast.data.RoomChannelInfo.prototype.setMemberCount = function (t) {
return r.Message.setProto3StringIntField(this, 4, t)
}, proto.webcast.data.RoomChannelInfo.prototype.getTopUserList = function () {
return r.Message.getRepeatedWrapperField(this, i.User, 5)
}, proto.webcast.data.RoomChannelInfo.prototype.setTopUserList = function (t) {
return r.Message.setRepeatedWrapperField(this, 5, t)
}, proto.webcast.data.RoomChannelInfo.prototype.addTopUser = function (t, e) {
return r.Message.addToRepeatedWrapperField(this, 5, t, proto.webcast.data.User, e)
}, proto.webcast.data.RoomChannelInfo.prototype.clearTopUserList = function () {
return this.setTopUserList([])
}, proto.webcast.data.RoomChannelInfo.prototype.getChannelName = function () {
return r.Message.getFieldWithDefault(this, 6, "")
}, proto.webcast.data.RoomChannelInfo.prototype.setChannelName = function (t) {
return r.Message.setProto3StringField(this, 6, t)
}, proto.webcast.data.RoomChannelInfo.prototype.getRoomChannelMode = function () {
return r.Message.getFieldWithDefault(this, 7, 0)
}, proto.webcast.data.RoomChannelInfo.prototype.setRoomChannelMode = function (t) {
return r.Message.setProto3IntField(this, 7, t)
}, proto.webcast.data.RoomChannelInfo.prototype.getNeedApprovalUser = function () {
return r.Message.getWrapperField(this, i.User, 8)
}, proto.webcast.data.RoomChannelInfo.prototype.setNeedApprovalUser = function (t) {
return r.Message.setWrapperField(this, 8, t)
}, proto.webcast.data.RoomChannelInfo.prototype.clearNeedApprovalUser = function () {
return this.setNeedApprovalUser(undefined)
}, proto.webcast.data.RoomChannelInfo.prototype.hasNeedApprovalUser = function () {
return null != r.Message.getField(this, 8)
}, proto.webcast.data.RoomChannelInfo.prototype.getOwner = function () {
return r.Message.getWrapperField(this, i.User, 9)
}, proto.webcast.data.RoomChannelInfo.prototype.setOwner = function (t) {
return r.Message.setWrapperField(this, 9, t)
}, proto.webcast.data.RoomChannelInfo.prototype.clearOwner = function () {
return this.setOwner(undefined)
}, proto.webcast.data.RoomChannelInfo.prototype.hasOwner = function () {
return null != r.Message.getField(this, 9)
}, proto.webcast.data.RoomChannelInfo.prototype.getMaxMemberCount = function () {
return r.Message.getFieldWithDefault(this, 10, "0")
}, proto.webcast.data.RoomChannelInfo.prototype.setMaxMemberCount = function (t) {
return r.Message.setProto3StringIntField(this, 10, t)
}, proto.webcast.data.RoomChannelInfo.prototype.getRtcExtInfo = function () {
return r.Message.getWrapperField(this, proto.webcast.data.RtcExtInfo, 200)
}, proto.webcast.data.RoomChannelInfo.prototype.setRtcExtInfo = function (t) {
return r.Message.setWrapperField(this, 200, t)
}, proto.webcast.data.RoomChannelInfo.prototype.clearRtcExtInfo = function () {
return this.setRtcExtInfo(undefined)
}, proto.webcast.data.RoomChannelInfo.prototype.hasRtcExtInfo = function () {
return null != r.Message.getField(this, 200)
}, r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.RtcExtInfo.prototype.toObject = function (t) {
return proto.webcast.data.RtcExtInfo.toObject(t, this)
}, proto.webcast.data.RtcExtInfo.toObject = function (t, e) {
var a = {
linkMicIdStr: r.Message.getFieldWithDefault(e, 1, ""),
rtcExtInfo: r.Message.getFieldWithDefault(e, 2, ""),
liveCoreExrInfo: r.Message.getFieldWithDefault(e, 3, ""),
rtcStrategy: r.Message.getFieldWithDefault(e, 4, ""),
publicStreamId: r.Message.getFieldWithDefault(e, 5, "")
};
return t && (a.$jspbMessageInstance = e), a
}), proto.webcast.data.RtcExtInfo.deserializeBinary = function (t) {
var e = new r.BinaryReader(t), a = new proto.webcast.data.RtcExtInfo;
return proto.webcast.data.RtcExtInfo.deserializeBinaryFromReader(a, e)
}, proto.webcast.data.RtcExtInfo.deserializeBinaryFromReader = function (t, e) {
for (; e.nextField() && !e.isEndGroup();) {
switch (e.getFieldNumber()) {
case 1:
var a = e.readString();
t.setLinkMicIdStr(a);
break;
case 2:
a = e.readString();
t.setRtcExtInfo(a);
break;
case 3:
a = e.readString();
t.setLiveCoreExrInfo(a);
break;
case 4:
a = e.readString();
t.setRtcStrategy(a);
break;
case 5:
a = e.readString();
t.setPublicStreamId(a);
break;
default:
e.skipField()
}
}
return t
}, proto.webcast.data.RtcExtInfo.prototype.serializeBinary = function () {
var t = new r.BinaryWriter;
return proto.webcast.data.RtcExtInfo.serializeBinaryToWriter(this, t), t.getResultBuffer()
}, proto.webcast.data.RtcExtInfo.serializeBinaryToWriter = function (t, e) {
var a = undefined;
(a = t.getLinkMicIdStr()).length > 0 && e.writeString(1, a), (a = t.getRtcExtInfo()).length > 0 && e.writeString(2, a), (a = t.getLiveCoreExrInfo()).length > 0 && e.writeString(3, a), (a = t.getRtcStrategy()).length > 0 && e.writeString(4, a), (a = t.getPublicStreamId()).length > 0 && e.writeString(5, a)
}, proto.webcast.data.RtcExtInfo.prototype.getLinkMicIdStr = function () {
return r.Message.getFieldWithDefault(this, 1, "")
}, proto.webcast.data.RtcExtInfo.prototype.setLinkMicIdStr = function (t) {
return r.Message.setProto3StringField(this, 1, t)
}, proto.webcast.data.RtcExtInfo.prototype.getRtcExtInfo = function () {
return r.Message.getFieldWithDefault(this, 2, "")
}, proto.webcast.data.RtcExtInfo.prototype.setRtcExtInfo = function (t) {
return r.Message.setProto3StringField(this, 2, t)
}, proto.webcast.data.RtcExtInfo.prototype.getLiveCoreExrInfo = function () {
return r.Message.getFieldWithDefault(this, 3, "")
}, proto.webcast.data.RtcExtInfo.prototype.setLiveCoreExrInfo = function (t) {
return r.Message.setProto3StringField(this, 3, t)
}, proto.webcast.data.RtcExtInfo.prototype.getRtcStrategy = function () {
return r.Message.getFieldWithDefault(this, 4, "")
}, proto.webcast.data.RtcExtInfo.prototype.setRtcStrategy = function (t) {
return r.Message.setProto3StringField(this, 4, t)
}, proto.webcast.data.RtcExtInfo.prototype.getPublicStreamId = function () {
return r.Message.getFieldWithDefault(this, 5, "")
}, proto.webcast.data.RtcExtInfo.prototype.setPublicStreamId = function (t) {
return r.Message.setProto3StringField(this, 5, t)
}, o.object.extend(e, proto.webcast.data)
}, 70203: function (t, e, a) {
var r = a(47865), o = function () {
return this ? this : "undefined" != typeof window ? window : void 0 !== o ? o : "undefined" != typeof self ? self : Function("return this")()
}.call(null);
r.exportSymbol("proto.webcast.data.LoadStrategy", null, o), r.exportSymbol("proto.webcast.data.ToolBarComponentEventType", null, o), r.exportSymbol("proto.webcast.data.ToolBarComponentGroup", null, o), r.exportSymbol("proto.webcast.data.ToolBarComponentOperationType", null, o), r.exportSymbol("proto.webcast.data.ToolBarComponentType", null, o), proto.webcast.data.ToolBarComponentGroup = {
PUBLICSLOT: 0,
SHARESLOT: 1,
IMSLOT: 2,
EASTEREGGSLOT: 3,
VRSLOT: 4,
MORESLOT: 5,
COMMERCESLOT: 6,
LINKMICSLOT: 7,
GIFTSLOT: 8,
LIUYANSLOT: 9,
CHANNELSLOT: 10
}, proto.webcast.data.ToolBarComponentType = {
TUNKOWN: 0,
CART: 1,
LIVEITEM: 2,
MICROAPP: 3,
WELFAREPROJECT: 4,
GAMEPROMOTION: 5,
MINIGAME: 6,
LIFEGROUPON: 7,
PAIDLIVETICKET: 8,
LITTLEGAME: 9,
SHARECOMPONENT: 20,
IMCOMPONENT: 21,
EASTEREGG: 22,
VR: 23,
MORECOMPONENT: 24,
EXCHANGECOUPON: 25,
LINKMICCOMPONENT: 26,
LIUYANCOMPONENT: 27,
GIFTCOMPONENT: 28,
SPEEDYGIFT: 29,
INCOMEEXCHANGE: 30,
ROOMCHANNEL: 31
}, proto.webcast.data.ToolBarComponentEventType = {
NOOP: 0,
UP: 1,
DOWN: 2,
HASPERMISSION: 3,
NOPERMISSION: 4,
UPDATEDATA: 5
}, proto.webcast.data.ToolBarComponentOperationType = {
TOENTRACE: 0,
TOMORE: 1,
NOACTION: 3
}, proto.webcast.data.LoadStrategy = {
LOADSTRATEGYUNKNOWN: 0,
REQUEST: 1,
ROOMDATA: 2,
REQUESTWITHROOMDATA: 3
}, r.object.extend(e, proto.webcast.data)
}, 34725: function (t, e, a) {
var r = a(47865), o = r, s = function () {
return this ? this : "undefined" != typeof window ? window : void 0 !== s ? s : "undefined" != typeof self ? self : Function("return this")()
}.call(null), i = a(56523);
o.object.extend(proto, i);
var n = a(64925);
o.object.extend(proto, n);
var l = a(8411);
o.object.extend(proto, l), o.exportSymbol("proto.webcast.data.BarrageConfigure", null, s), o.exportSymbol("proto.webcast.data.BusinessConfigure", null, s), o.exportSymbol("proto.webcast.data.CollectionItem", null, s), o.exportSymbol("proto.webcast.data.CollectionItem.CollectionSource", null, s), o.exportSymbol("proto.webcast.data.CollectionItem.CollectionTag", null, s), o.exportSymbol("proto.webcast.data.CollectionItem.CollectionType", null, s), o.exportSymbol("proto.webcast.data.CollectionItem.ReflowTagType", null, s), o.exportSymbol("proto.webcast.data.EpisodePremierePlay", null, s), o.exportSymbol("proto.webcast.data.EpisodePremierePlayType", null, s), o.exportSymbol("proto.webcast.data.EpisodePreviewBottom", null, s), o.exportSymbol("proto.webcast.data.EpisodePreviewImage", null, s), o.exportSymbol("proto.webcast.data.EpisodePreviewType", null, s), o.exportSymbol("proto.webcast.data.MultiCameraBasicInfo", null, s), o.exportSymbol("proto.webcast.data.ResourceConfigure", null, s), o.exportSymbol("proto.webcast.data.ScreenBarConfigure", null, s), o.exportSymbol("proto.webcast.data.ShareInfo", null, s), o.exportSymbol("proto.webcast.data.SharePosterInfo", null, s), o.exportSymbol("proto.webcast.data.SharePosterInfo.PosterData", null, s), o.exportSymbol("proto.webcast.data.VSBar", null, s), o.exportSymbol("proto.webcast.data.VSGiftPannel", null, s), o.exportSymbol("proto.webcast.data.VSItemBar", null, s), o.exportSymbol("proto.webcast.data.VSItemComment", null, s), o.exportSymbol("proto.webcast.data.VSPannelIcon", null, s), o.exportSymbol("proto.webcast.data.VSWatermark", null, s), o.exportSymbol("proto.webcast.data.VSWatermarkIcon", null, s), o.exportSymbol("proto.webcast.data.VsEpisodeHighLight", null, s), proto.webcast.data.VsEpisodeHighLight = function (t) {
r.Message.initialize(this, t, 0, -1, null, null)
}, o.inherits(proto.webcast.data.VsEpisodeHighLight, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.VsEpisodeHighLight.displayName = "proto.webcast.data.VsEpisodeHighLight"), proto.webcast.data.EpisodePremierePlay = function (t) {
r.Message.initialize(this, t, 0, -1, proto.webcast.data.EpisodePremierePlay.repeatedFields_, null)
}, o.inherits(proto.webcast.data.EpisodePremierePlay, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.EpisodePremierePlay.displayName = "proto.webcast.data.EpisodePremierePlay"), proto.webcast.data.VSWatermark = function (t) {
r.Message.initialize(this, t, 0, -1, proto.webcast.data.VSWatermark.repeatedFields_, null)
}, o.inherits(proto.webcast.data.VSWatermark, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.VSWatermark.displayName = "proto.webcast.data.VSWatermark"), proto.webcast.data.VSWatermarkIcon = function (t) {
r.Message.initialize(this, t, 0, -1, null, null)
}, o.inherits(proto.webcast.data.VSWatermarkIcon, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.VSWatermarkIcon.displayName = "proto.webcast.data.VSWatermarkIcon"), proto.webcast.data.VSBar = function (t) {
r.Message.initialize(this, t, 0, -1, null, null)
}, o.inherits(proto.webcast.data.VSBar, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.VSBar.displayName = "proto.webcast.data.VSBar"), proto.webcast.data.VSItemComment = function (t) {
r.Message.initialize(this, t, 0, -1, null, null)
}, o.inherits(proto.webcast.data.VSItemComment, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.VSItemComment.displayName = "proto.webcast.data.VSItemComment"), proto.webcast.data.VSItemBar = function (t) {
r.Message.initialize(this, t, 0, -1, null, null)
}, o.inherits(proto.webcast.data.VSItemBar, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.VSItemBar.displayName = "proto.webcast.data.VSItemBar"), proto.webcast.data.EpisodePreviewImage = function (t) {
r.Message.initialize(this, t, 0, -1, null, null)
}, o.inherits(proto.webcast.data.EpisodePreviewImage, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.EpisodePreviewImage.displayName = "proto.webcast.data.EpisodePreviewImage"), proto.webcast.data.VSGiftPannel = function (t) {
r.Message.initialize(this, t, 0, -1, proto.webcast.data.VSGiftPannel.repeatedFields_, null)
}, o.inherits(proto.webcast.data.VSGiftPannel, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.VSGiftPannel.displayName = "proto.webcast.data.VSGiftPannel"), proto.webcast.data.EpisodePreviewBottom = function (t) {
r.Message.initialize(this, t, 0, -1, null, null)
}, o.inherits(proto.webcast.data.EpisodePreviewBottom, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.EpisodePreviewBottom.displayName = "proto.webcast.data.EpisodePreviewBottom"), proto.webcast.data.VSPannelIcon = function (t) {
r.Message.initialize(this, t, 0, -1, null, null)
}, o.inherits(proto.webcast.data.VSPannelIcon, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.VSPannelIcon.displayName = "proto.webcast.data.VSPannelIcon"), proto.webcast.data.MultiCameraBasicInfo = function (t) {
r.Message.initialize(this, t, 0, -1, null, null)
}, o.inherits(proto.webcast.data.MultiCameraBasicInfo, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.MultiCameraBasicInfo.displayName = "proto.webcast.data.MultiCameraBasicInfo"), proto.webcast.data.CollectionItem = function (t) {
r.Message.initialize(this, t, 0, -1, proto.webcast.data.CollectionItem.repeatedFields_, null)
}, o.inherits(proto.webcast.data.CollectionItem, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.CollectionItem.displayName = "proto.webcast.data.CollectionItem"), proto.webcast.data.ShareInfo = function (t) {
r.Message.initialize(this, t, 0, -1, proto.webcast.data.ShareInfo.repeatedFields_, null)
}, o.inherits(proto.webcast.data.ShareInfo, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.ShareInfo.displayName = "proto.webcast.data.ShareInfo"), proto.webcast.data.SharePosterInfo = function (t) {
r.Message.initialize(this, t, 0, -1, null, null)
}, o.inherits(proto.webcast.data.SharePosterInfo, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.SharePosterInfo.displayName = "proto.webcast.data.SharePosterInfo"), proto.webcast.data.SharePosterInfo.PosterData = function (t) {
r.Message.initialize(this, t, 0, -1, proto.webcast.data.SharePosterInfo.PosterData.repeatedFields_, null)
}, o.inherits(proto.webcast.data.SharePosterInfo.PosterData, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.SharePosterInfo.PosterData.displayName = "proto.webcast.data.SharePosterInfo.PosterData"), proto.webcast.data.BusinessConfigure = function (t) {
r.Message.initialize(this, t, 0, -1, null, null)
}, o.inherits(proto.webcast.data.BusinessConfigure, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.BusinessConfigure.displayName = "proto.webcast.data.BusinessConfigure"), proto.webcast.data.ResourceConfigure = function (t) {
r.Message.initialize(this, t, 0, -1, null, null)
}, o.inherits(proto.webcast.data.ResourceConfigure, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.ResourceConfigure.displayName = "proto.webcast.data.ResourceConfigure"), proto.webcast.data.BarrageConfigure = function (t) {
r.Message.initialize(this, t, 0, -1, null, null)
}, o.inherits(proto.webcast.data.BarrageConfigure, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.BarrageConfigure.displayName = "proto.webcast.data.BarrageConfigure"), proto.webcast.data.ScreenBarConfigure = function (t) {
r.Message.initialize(this, t, 0, -1, null, null)
}, o.inherits(proto.webcast.data.ScreenBarConfigure, r.Message), o.DEBUG && !COMPILED && (proto.webcast.data.ScreenBarConfigure.displayName = "proto.webcast.data.ScreenBarConfigure"), r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.VsEpisodeHighLight.prototype.toObject = function (t) {
return proto.webcast.data.VsEpisodeHighLight.toObject(t, this)
}, proto.webcast.data.VsEpisodeHighLight.toObject = function (t, e) {
var a, o = {
location: r.Message.getFieldWithDefault(e, 1, "0"),
description: r.Message.getFieldWithDefault(e, 2, ""),
image: (a = e.getImage()) && l.Image.toObject(t, a)
};
return t && (o.$jspbMessageInstance = e), o
}), proto.webcast.data.VsEpisodeHighLight.deserializeBinary = function (t) {
var e = new r.BinaryReader(t), a = new proto.webcast.data.VsEpisodeHighLight;
return proto.webcast.data.VsEpisodeHighLight.deserializeBinaryFromReader(a, e)
}, proto.webcast.data.VsEpisodeHighLight.deserializeBinaryFromReader = function (t, e) {
for (; e.nextField() && !e.isEndGroup();) {
switch (e.getFieldNumber()) {
case 1:
var a = e.readInt64String();
t.setLocation(a);
break;
case 2:
a = e.readString();
t.setDescription(a);
break;
case 3:
a = new l.Image;
e.readMessage(a, l.Image.deserializeBinaryFromReader), t.setImage(a);
break;
default:
e.skipField()
}
}
return t
}, proto.webcast.data.VsEpisodeHighLight.prototype.serializeBinary = function () {
var t = new r.BinaryWriter;
return proto.webcast.data.VsEpisodeHighLight.serializeBinaryToWriter(this, t), t.getResultBuffer()
}, proto.webcast.data.VsEpisodeHighLight.serializeBinaryToWriter = function (t, e) {
var a = undefined;
a = t.getLocation(), 0 !== parseInt(a, 10) && e.writeInt64String(1, a), (a = t.getDescription()).length > 0 && e.writeString(2, a), null != (a = t.getImage()) && e.writeMessage(3, a, l.Image.serializeBinaryToWriter)
}, proto.webcast.data.VsEpisodeHighLight.prototype.getLocation = function () {
return r.Message.getFieldWithDefault(this, 1, "0")
}, proto.webcast.data.VsEpisodeHighLight.prototype.setLocation = function (t) {
return r.Message.setProto3StringIntField(this, 1, t)
}, proto.webcast.data.VsEpisodeHighLight.prototype.getDescription = function () {
return r.Message.getFieldWithDefault(this, 2, "")
}, proto.webcast.data.VsEpisodeHighLight.prototype.setDescription = function (t) {
return r.Message.setProto3StringField(this, 2, t)
}, proto.webcast.data.VsEpisodeHighLight.prototype.getImage = function () {
return r.Message.getWrapperField(this, l.Image, 3)
}, proto.webcast.data.VsEpisodeHighLight.prototype.setImage = function (t) {
return r.Message.setWrapperField(this, 3, t)
}, proto.webcast.data.VsEpisodeHighLight.prototype.clearImage = function () {
return this.setImage(undefined)
}, proto.webcast.data.VsEpisodeHighLight.prototype.hasImage = function () {
return null != r.Message.getField(this, 3)
}, proto.webcast.data.EpisodePremierePlay.repeatedFields_ = [1],r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.EpisodePremierePlay.prototype.toObject = function (t) {
return proto.webcast.data.EpisodePremierePlay.toObject(t, this)
}, proto.webcast.data.EpisodePremierePlay.toObject = function (t, e) {
var a = {
highlightsList: r.Message.toObjectList(e.getHighlightsList(), proto.webcast.data.VsEpisodeHighLight.toObject, t),
playType: r.Message.getFieldWithDefault(e, 2, 0),
startTime: r.Message.getFieldWithDefault(e, 3, "0")
};
return t && (a.$jspbMessageInstance = e), a
}),proto.webcast.data.EpisodePremierePlay.deserializeBinary = function (t) {
var e = new r.BinaryReader(t), a = new proto.webcast.data.EpisodePremierePlay;
return proto.webcast.data.EpisodePremierePlay.deserializeBinaryFromReader(a, e)
},proto.webcast.data.EpisodePremierePlay.deserializeBinaryFromReader = function (t, e) {
for (; e.nextField() && !e.isEndGroup();) {
switch (e.getFieldNumber()) {
case 1:
var a = new proto.webcast.data.VsEpisodeHighLight;
e.readMessage(a, proto.webcast.data.VsEpisodeHighLight.deserializeBinaryFromReader), t.addHighlights(a);
break;
case 2:
a = e.readEnum();
t.setPlayType(a);
break;
case 3:
a = e.readInt64String();
t.setStartTime(a);
break;
default:
e.skipField()
}
}
return t
},proto.webcast.data.EpisodePremierePlay.prototype.serializeBinary = function () {
var t = new r.BinaryWriter;
return proto.webcast.data.EpisodePremierePlay.serializeBinaryToWriter(this, t), t.getResultBuffer()
},proto.webcast.data.EpisodePremierePlay.serializeBinaryToWriter = function (t, e) {
var a = undefined;
(a = t.getHighlightsList()).length > 0 && e.writeRepeatedMessage(1, a, proto.webcast.data.VsEpisodeHighLight.serializeBinaryToWriter), 0 !== (a = t.getPlayType()) && e.writeEnum(2, a), a = t.getStartTime(), 0 !== parseInt(a, 10) && e.writeInt64String(3, a)
},proto.webcast.data.EpisodePremierePlay.prototype.getHighlightsList = function () {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.VsEpisodeHighLight, 1)
},proto.webcast.data.EpisodePremierePlay.prototype.setHighlightsList = function (t) {
return r.Message.setRepeatedWrapperField(this, 1, t)
},proto.webcast.data.EpisodePremierePlay.prototype.addHighlights = function (t, e) {
return r.Message.addToRepeatedWrapperField(this, 1, t, proto.webcast.data.VsEpisodeHighLight, e)
},proto.webcast.data.EpisodePremierePlay.prototype.clearHighlightsList = function () {
return this.setHighlightsList([])
},proto.webcast.data.EpisodePremierePlay.prototype.getPlayType = function () {
return r.Message.getFieldWithDefault(this, 2, 0)
},proto.webcast.data.EpisodePremierePlay.prototype.setPlayType = function (t) {
return r.Message.setProto3EnumField(this, 2, t)
},proto.webcast.data.EpisodePremierePlay.prototype.getStartTime = function () {
return r.Message.getFieldWithDefault(this, 3, "0")
},proto.webcast.data.EpisodePremierePlay.prototype.setStartTime = function (t) {
return r.Message.setProto3StringIntField(this, 3, t)
},proto.webcast.data.VSWatermark.repeatedFields_ = [4],r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.VSWatermark.prototype.toObject = function (t) {
return proto.webcast.data.VSWatermark.toObject(t, this)
}, proto.webcast.data.VSWatermark.toObject = function (t, e) {
var a = {
position: r.Message.getFieldWithDefault(e, 1, "0"),
landscapeDis: r.Message.getFieldWithDefault(e, 2, "0"),
verticalDis: r.Message.getFieldWithDefault(e, 3, "0"),
watermarkIconList: r.Message.toObjectList(e.getWatermarkIconList(), proto.webcast.data.VSWatermarkIcon.toObject, t)
};
return t && (a.$jspbMessageInstance = e), a
}),proto.webcast.data.VSWatermark.deserializeBinary = function (t) {
var e = new r.BinaryReader(t), a = new proto.webcast.data.VSWatermark;
return proto.webcast.data.VSWatermark.deserializeBinaryFromReader(a, e)
},proto.webcast.data.VSWatermark.deserializeBinaryFromReader = function (t, e) {
for (; e.nextField() && !e.isEndGroup();) {
switch (e.getFieldNumber()) {
case 1:
var a = e.readInt64String();
t.setPosition(a);
break;
case 2:
a = e.readInt64String();
t.setLandscapeDis(a);
break;
case 3:
a = e.readInt64String();
t.setVerticalDis(a);
break;
case 4:
a = new proto.webcast.data.VSWatermarkIcon;
e.readMessage(a, proto.webcast.data.VSWatermarkIcon.deserializeBinaryFromReader), t.addWatermarkIcon(a);
break;
default:
e.skipField()
}
}
return t
},proto.webcast.data.VSWatermark.prototype.serializeBinary = function () {
var t = new r.BinaryWriter;
return proto.webcast.data.VSWatermark.serializeBinaryToWriter(this, t), t.getResultBuffer()
},proto.webcast.data.VSWatermark.serializeBinaryToWriter = function (t, e) {
var a = undefined;
a = t.getPosition(), 0 !== parseInt(a, 10) && e.writeInt64String(1, a), a = t.getLandscapeDis(), 0 !== parseInt(a, 10) && e.writeInt64String(2, a), a = t.getVerticalDis(), 0 !== parseInt(a, 10) && e.writeInt64String(3, a), (a = t.getWatermarkIconList()).length > 0 && e.writeRepeatedMessage(4, a, proto.webcast.data.VSWatermarkIcon.serializeBinaryToWriter)
},proto.webcast.data.VSWatermark.prototype.getPosition = function () {
return r.Message.getFieldWithDefault(this, 1, "0")
},proto.webcast.data.VSWatermark.prototype.setPosition = function (t) {
return r.Message.setProto3StringIntField(this, 1, t)
},proto.webcast.data.VSWatermark.prototype.getLandscapeDis = function () {
return r.Message.getFieldWithDefault(this, 2, "0")
},proto.webcast.data.VSWatermark.prototype.setLandscapeDis = function (t) {
return r.Message.setProto3StringIntField(this, 2, t)
},proto.webcast.data.VSWatermark.prototype.getVerticalDis = function () {
return r.Message.getFieldWithDefault(this, 3, "0")
},proto.webcast.data.VSWatermark.prototype.setVerticalDis = function (t) {
return r.Message.setProto3StringIntField(this, 3, t)
},proto.webcast.data.VSWatermark.prototype.getWatermarkIconList = function () {
return r.Message.getRepeatedWrapperField(this, proto.webcast.data.VSWatermarkIcon, 4)
},proto.webcast.data.VSWatermark.prototype.setWatermarkIconList = function (t) {
return r.Message.setRepeatedWrapperField(this, 4, t)
},proto.webcast.data.VSWatermark.prototype.addWatermarkIcon = function (t, e) {
return r.Message.addToRepeatedWrapperField(this, 4, t, proto.webcast.data.VSWatermarkIcon, e)
},proto.webcast.data.VSWatermark.prototype.clearWatermarkIconList = function () {
return this.setWatermarkIconList([])
},r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.VSWatermarkIcon.prototype.toObject = function (t) {
return proto.webcast.data.VSWatermarkIcon.toObject(t, this)
}, proto.webcast.data.VSWatermarkIcon.toObject = function (t, e) {
var a, o = {
icon: (a = e.getIcon()) && l.Image.toObject(t, a),
iconWidth: r.Message.getFieldWithDefault(e, 2, "0"),
iconType: r.Message.getFieldWithDefault(e, 3, "0"),
landscapeDis: r.Message.getFieldWithDefault(e, 4, "0"),
verticalDis: r.Message.getFieldWithDefault(e, 5, "0")
};
return t && (o.$jspbMessageInstance = e), o
}),proto.webcast.data.VSWatermarkIcon.deserializeBinary = function (t) {
var e = new r.BinaryReader(t), a = new proto.webcast.data.VSWatermarkIcon;
return proto.webcast.data.VSWatermarkIcon.deserializeBinaryFromReader(a, e)
},proto.webcast.data.VSWatermarkIcon.deserializeBinaryFromReader = function (t, e) {
for (; e.nextField() && !e.isEndGroup();) {
switch (e.getFieldNumber()) {
case 1:
var a = new l.Image;
e.readMessage(a, l.Image.deserializeBinaryFromReader), t.setIcon(a);
break;
case 2:
a = e.readInt64String();
t.setIconWidth(a);
break;
case 3:
a = e.readInt64String();
t.setIconType(a);
break;
case 4:
a = e.readInt64String();
t.setLandscapeDis(a);
break;
case 5:
a = e.readInt64String();
t.setVerticalDis(a);
break;
default:
e.skipField()
}
}
return t
},proto.webcast.data.VSWatermarkIcon.prototype.serializeBinary = function () {
var t = new r.BinaryWriter;
return proto.webcast.data.VSWatermarkIcon.serializeBinaryToWriter(this, t), t.getResultBuffer()
},proto.webcast.data.VSWatermarkIcon.serializeBinaryToWriter = function (t, e) {
var a = undefined;
null != (a = t.getIcon()) && e.writeMessage(1, a, l.Image.serializeBinaryToWriter), a = t.getIconWidth(), 0 !== parseInt(a, 10) && e.writeInt64String(2, a), a = t.getIconType(), 0 !== parseInt(a, 10) && e.writeInt64String(3, a), a = t.getLandscapeDis(), 0 !== parseInt(a, 10) && e.writeInt64String(4, a), a = t.getVerticalDis(), 0 !== parseInt(a, 10) && e.writeInt64String(5, a)
},proto.webcast.data.VSWatermarkIcon.prototype.getIcon = function () {
return r.Message.getWrapperField(this, l.Image, 1)
},proto.webcast.data.VSWatermarkIcon.prototype.setIcon = function (t) {
return r.Message.setWrapperField(this, 1, t)
},proto.webcast.data.VSWatermarkIcon.prototype.clearIcon = function () {
return this.setIcon(undefined)
},proto.webcast.data.VSWatermarkIcon.prototype.hasIcon = function () {
return null != r.Message.getField(this, 1)
},proto.webcast.data.VSWatermarkIcon.prototype.getIconWidth = function () {
return r.Message.getFieldWithDefault(this, 2, "0")
},proto.webcast.data.VSWatermarkIcon.prototype.setIconWidth = function (t) {
return r.Message.setProto3StringIntField(this, 2, t)
},proto.webcast.data.VSWatermarkIcon.prototype.getIconType = function () {
return r.Message.getFieldWithDefault(this, 3, "0")
},proto.webcast.data.VSWatermarkIcon.prototype.setIconType = function (t) {
return r.Message.setProto3StringIntField(this, 3, t)
},proto.webcast.data.VSWatermarkIcon.prototype.getLandscapeDis = function () {
return r.Message.getFieldWithDefault(this, 4, "0")
},proto.webcast.data.VSWatermarkIcon.prototype.setLandscapeDis = function (t) {
return r.Message.setProto3StringIntField(this, 4, t)
},proto.webcast.data.VSWatermarkIcon.prototype.getVerticalDis = function () {
return r.Message.getFieldWithDefault(this, 5, "0")
},proto.webcast.data.VSWatermarkIcon.prototype.setVerticalDis = function (t) {
return r.Message.setProto3StringIntField(this, 5, t)
},r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.VSBar.prototype.toObject = function (t) {
return proto.webcast.data.VSBar.toObject(t, this)
}, proto.webcast.data.VSBar.toObject = function (t, e) {
var a, r = {
itemComment: (a = e.getItemComment()) && proto.webcast.data.VSItemBar.toObject(t, a),
itemBar: (a = e.getItemBar()) && proto.webcast.data.VSItemBar.toObject(t, a)
};
return t && (r.$jspbMessageInstance = e), r
}),proto.webcast.data.VSBar.deserializeBinary = function (t) {
var e = new r.BinaryReader(t), a = new proto.webcast.data.VSBar;
return proto.webcast.data.VSBar.deserializeBinaryFromReader(a, e)
},proto.webcast.data.VSBar.deserializeBinaryFromReader = function (t, e) {
for (; e.nextField() && !e.isEndGroup();) {
switch (e.getFieldNumber()) {
case 1:
var a = new proto.webcast.data.VSItemBar;
e.readMessage(a, proto.webcast.data.VSItemBar.deserializeBinaryFromReader), t.setItemComment(a);
break;
case 2:
a = new proto.webcast.data.VSItemBar;
e.readMessage(a, proto.webcast.data.VSItemBar.deserializeBinaryFromReader), t.setItemBar(a);
break;
default:
e.skipField()
}
}
return t
},proto.webcast.data.VSBar.prototype.serializeBinary = function () {
var t = new r.BinaryWriter;
return proto.webcast.data.VSBar.serializeBinaryToWriter(this, t), t.getResultBuffer()
},proto.webcast.data.VSBar.serializeBinaryToWriter = function (t, e) {
var a = undefined;
null != (a = t.getItemComment()) && e.writeMessage(1, a, proto.webcast.data.VSItemBar.serializeBinaryToWriter), null != (a = t.getItemBar()) && e.writeMessage(2, a, proto.webcast.data.VSItemBar.serializeBinaryToWriter)
},proto.webcast.data.VSBar.prototype.getItemComment = function () {
return r.Message.getWrapperField(this, proto.webcast.data.VSItemBar, 1)
},proto.webcast.data.VSBar.prototype.setItemComment = function (t) {
return r.Message.setWrapperField(this, 1, t)
},proto.webcast.data.VSBar.prototype.clearItemComment = function () {
return this.setItemComment(undefined)
},proto.webcast.data.VSBar.prototype.hasItemComment = function () {
return null != r.Message.getField(this, 1)
},proto.webcast.data.VSBar.prototype.getItemBar = function () {
return r.Message.getWrapperField(this, proto.webcast.data.VSItemBar, 2)
},proto.webcast.data.VSBar.prototype.setItemBar = function (t) {
return r.Message.setWrapperField(this, 2, t)
},proto.webcast.data.VSBar.prototype.clearItemBar = function () {
return this.setItemBar(undefined)
},proto.webcast.data.VSBar.prototype.hasItemBar = function () {
return null != r.Message.getField(this, 2)
},r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.VSItemComment.prototype.toObject = function (t) {
return proto.webcast.data.VSItemComment.toObject(t, this)
}, proto.webcast.data.VSItemComment.toObject = function (t, e) {
var a, r = {
itemCommentIconDark: (a = e.getItemCommentIconDark()) && l.Image.toObject(t, a),
itemCommentIconLight: (a = e.getItemCommentIconLight()) && l.Image.toObject(t, a)
};
return t && (r.$jspbMessageInstance = e), r
}),proto.webcast.data.VSItemComment.deserializeBinary = function (t) {
var e = new r.BinaryReader(t), a = new proto.webcast.data.VSItemComment;
return proto.webcast.data.VSItemComment.deserializeBinaryFromReader(a, e)
},proto.webcast.data.VSItemComment.deserializeBinaryFromReader = function (t, e) {
for (; e.nextField() && !e.isEndGroup();) {
switch (e.getFieldNumber()) {
case 1:
var a = new l.Image;
e.readMessage(a, l.Image.deserializeBinaryFromReader), t.setItemCommentIconDark(a);
break;
case 2:
a = new l.Image;
e.readMessage(a, l.Image.deserializeBinaryFromReader), t.setItemCommentIconLight(a);
break;
default:
e.skipField()
}
}
return t
},proto.webcast.data.VSItemComment.prototype.serializeBinary = function () {
var t = new r.BinaryWriter;
return proto.webcast.data.VSItemComment.serializeBinaryToWriter(this, t), t.getResultBuffer()
},proto.webcast.data.VSItemComment.serializeBinaryToWriter = function (t, e) {
var a = undefined;
null != (a = t.getItemCommentIconDark()) && e.writeMessage(1, a, l.Image.serializeBinaryToWriter), null != (a = t.getItemCommentIconLight()) && e.writeMessage(2, a, l.Image.serializeBinaryToWriter)
},proto.webcast.data.VSItemComment.prototype.getItemCommentIconDark = function () {
return r.Message.getWrapperField(this, l.Image, 1)
},proto.webcast.data.VSItemComment.prototype.setItemCommentIconDark = function (t) {
return r.Message.setWrapperField(this, 1, t)
},proto.webcast.data.VSItemComment.prototype.clearItemCommentIconDark = function () {
return this.setItemCommentIconDark(undefined)
},proto.webcast.data.VSItemComment.prototype.hasItemCommentIconDark = function () {
return null != r.Message.getField(this, 1)
},proto.webcast.data.VSItemComment.prototype.getItemCommentIconLight = function () {
return r.Message.getWrapperField(this, l.Image, 2)
},proto.webcast.data.VSItemComment.prototype.setItemCommentIconLight = function (t) {
return r.Message.setWrapperField(this, 2, t)
},proto.webcast.data.VSItemComment.prototype.clearItemCommentIconLight = function () {
return this.setItemCommentIconLight(undefined)
},proto.webcast.data.VSItemComment.prototype.hasItemCommentIconLight = function () {
return null != r.Message.getField(this, 2)
},r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.VSItemBar.prototype.toObject = function (t) {
return proto.webcast.data.VSItemBar.toObject(t, this)
}, proto.webcast.data.VSItemBar.toObject = function (t, e) {
var a, o = {
iconDark: (a = e.getIconDark()) && l.Image.toObject(t, a),
iconLight: (a = e.getIconLight()) && l.Image.toObject(t, a),
title: r.Message.getFieldWithDefault(e, 3, ""),
seperator: r.Message.getFieldWithDefault(e, 4, ""),
detail: r.Message.getFieldWithDefault(e, 5, ""),
watchInfoPv: r.Message.getFieldWithDefault(e, 6, "0"),
watchInfoHeat: r.Message.getFieldWithDefault(e, 7, ""),
collectionId: r.Message.getFieldWithDefault(e, 8, "0"),
tabId: r.Message.getFieldWithDefault(e, 9, 0),
contentType: r.Message.getFieldWithDefault(e, 10, "")
};
return t && (o.$jspbMessageInstance = e), o
}),proto.webcast.data.VSItemBar.deserializeBinary = function (t) {
var e = new r.BinaryReader(t), a = new proto.webcast.data.VSItemBar;
return proto.webcast.data.VSItemBar.deserializeBinaryFromReader(a, e)
},proto.webcast.data.VSItemBar.deserializeBinaryFromReader = function (t, e) {
for (; e.nextField() && !e.isEndGroup();) {
switch (e.getFieldNumber()) {
case 1:
var a = new l.Image;
e.readMessage(a, l.Image.deserializeBinaryFromReader), t.setIconDark(a);
break;
case 2:
a = new l.Image;
e.readMessage(a, l.Image.deserializeBinaryFromReader), t.setIconLight(a);
break;
case 3:
a = e.readString();
t.setTitle(a);
break;
case 4:
a = e.readString();
t.setSeperator(a);
break;
case 5:
a = e.readString();
t.setDetail(a);
break;
case 6:
a = e.readInt64String();
t.setWatchInfoPv(a);
break;
case 7:
a = e.readString();
t.setWatchInfoHeat(a);
break;
case 8:
a = e.readInt64String();
t.setCollectionId(a);
break;
case 9:
a = e.readInt32();
t.setTabId(a);
break;
case 10:
a = e.readString();
t.setContentType(a);
break;
default:
e.skipField()
}
}
return t
},proto.webcast.data.VSItemBar.prototype.serializeBinary = function () {
var t = new r.BinaryWriter;
return proto.webcast.data.VSItemBar.serializeBinaryToWriter(this, t), t.getResultBuffer()
},proto.webcast.data.VSItemBar.serializeBinaryToWriter = function (t, e) {
var a = undefined;
null != (a = t.getIconDark()) && e.writeMessage(1, a, l.Image.serializeBinaryToWriter), null != (a = t.getIconLight()) && e.writeMessage(2, a, l.Image.serializeBinaryToWriter), (a = t.getTitle()).length > 0 && e.writeString(3, a), (a = t.getSeperator()).length > 0 && e.writeString(4, a), (a = t.getDetail()).length > 0 && e.writeString(5, a), a = t.getWatchInfoPv(), 0 !== parseInt(a, 10) && e.writeInt64String(6, a), (a = t.getWatchInfoHeat()).length > 0 && e.writeString(7, a), a = t.getCollectionId(), 0 !== parseInt(a, 10) && e.writeInt64String(8, a), 0 !== (a = t.getTabId()) && e.writeInt32(9, a), (a = t.getContentType()).length > 0 && e.writeString(10, a)
},proto.webcast.data.VSItemBar.prototype.getIconDark = function () {
return r.Message.getWrapperField(this, l.Image, 1)
},proto.webcast.data.VSItemBar.prototype.setIconDark = function (t) {
return r.Message.setWrapperField(this, 1, t)
},proto.webcast.data.VSItemBar.prototype.clearIconDark = function () {
return this.setIconDark(undefined)
},proto.webcast.data.VSItemBar.prototype.hasIconDark = function () {
return null != r.Message.getField(this, 1)
},proto.webcast.data.VSItemBar.prototype.getIconLight = function () {
return r.Message.getWrapperField(this, l.Image, 2)
},proto.webcast.data.VSItemBar.prototype.setIconLight = function (t) {
return r.Message.setWrapperField(this, 2, t)
},proto.webcast.data.VSItemBar.prototype.clearIconLight = function () {
return this.setIconLight(undefined)
},proto.webcast.data.VSItemBar.prototype.hasIconLight = function () {
return null != r.Message.getField(this, 2)
},proto.webcast.data.VSItemBar.prototype.getTitle = function () {
return r.Message.getFieldWithDefault(this, 3, "")
},proto.webcast.data.VSItemBar.prototype.setTitle = function (t) {
return r.Message.setProto3StringField(this, 3, t)
},proto.webcast.data.VSItemBar.prototype.getSeperator = function () {
return r.Message.getFieldWithDefault(this, 4, "")
},proto.webcast.data.VSItemBar.prototype.setSeperator = function (t) {
return r.Message.setProto3StringField(this, 4, t)
},proto.webcast.data.VSItemBar.prototype.getDetail = function () {
return r.Message.getFieldWithDefault(this, 5, "")
},proto.webcast.data.VSItemBar.prototype.setDetail = function (t) {
return r.Message.setProto3StringField(this, 5, t)
},proto.webcast.data.VSItemBar.prototype.getWatchInfoPv = function () {
return r.Message.getFieldWithDefault(this, 6, "0")
},proto.webcast.data.VSItemBar.prototype.setWatchInfoPv = function (t) {
return r.Message.setProto3StringIntField(this, 6, t)
},proto.webcast.data.VSItemBar.prototype.getWatchInfoHeat = function () {
return r.Message.getFieldWithDefault(this, 7, "")
},proto.webcast.data.VSItemBar.prototype.setWatchInfoHeat = function (t) {
return r.Message.setProto3StringField(this, 7, t)
},proto.webcast.data.VSItemBar.prototype.getCollectionId = function () {
return r.Message.getFieldWithDefault(this, 8, "0")
},proto.webcast.data.VSItemBar.prototype.setCollectionId = function (t) {
return r.Message.setProto3StringIntField(this, 8, t)
},proto.webcast.data.VSItemBar.prototype.getTabId = function () {
return r.Message.getFieldWithDefault(this, 9, 0)
},proto.webcast.data.VSItemBar.prototype.setTabId = function (t) {
return r.Message.setProto3IntField(this, 9, t)
},proto.webcast.data.VSItemBar.prototype.getContentType = function () {
return r.Message.getFieldWithDefault(this, 10, "")
},proto.webcast.data.VSItemBar.prototype.setContentType = function (t) {
return r.Message.setProto3StringField(this, 10, t)
},r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.EpisodePreviewImage.prototype.toObject = function (t) {
return proto.webcast.data.EpisodePreviewImage.toObject(t, this)
}, proto.webcast.data.EpisodePreviewImage.toObject = function (t, e) {
var a, o = {
previewUriUp: (a = e.getPreviewUriUp()) && l.Image.toObject(t, a),
previewUriDown: (a = e.getPreviewUriDown()) && l.Image.toObject(t, a),
previewType: r.Message.getFieldWithDefault(e, 3, 0),
previewWordUp: r.Message.getFieldWithDefault(e, 4, ""),
previewWordDown: r.Message.getFieldWithDefault(e, 5, "")
};
return t && (o.$jspbMessageInstance = e), o
}),proto.webcast.data.EpisodePreviewImage.deserializeBinary = function (t) {
var e = new r.BinaryReader(t), a = new proto.webcast.data.EpisodePreviewImage;
return proto.webcast.data.EpisodePreviewImage.deserializeBinaryFromReader(a, e)
},proto.webcast.data.EpisodePreviewImage.deserializeBinaryFromReader = function (t, e) {
for (; e.nextField() && !e.isEndGroup();) {
switch (e.getFieldNumber()) {
case 1:
var a = new l.Image;
e.readMessage(a, l.Image.deserializeBinaryFromReader), t.setPreviewUriUp(a);
break;
case 2:
a = new l.Image;
e.readMessage(a, l.Image.deserializeBinaryFromReader), t.setPreviewUriDown(a);
break;
case 3:
a = e.readEnum();
t.setPreviewType(a);
break;
case 4:
a = e.readString();
t.setPreviewWordUp(a);
break;
case 5:
a = e.readString();
t.setPreviewWordDown(a);
break;
default:
e.skipField()
}
}
return t
},proto.webcast.data.EpisodePreviewImage.prototype.serializeBinary = function () {
var t = new r.BinaryWriter;
return proto.webcast.data.EpisodePreviewImage.serializeBinaryToWriter(this, t), t.getResultBuffer()
},proto.webcast.data.EpisodePreviewImage.serializeBinaryToWriter = function (t, e) {
var a = undefined;
null != (a = t.getPreviewUriUp()) && e.writeMessage(1, a, l.Image.serializeBinaryToWriter), null != (a = t.getPreviewUriDown()) && e.writeMessage(2, a, l.Image.serializeBinaryToWriter), 0 !== (a = t.getPreviewType()) && e.writeEnum(3, a), (a = t.getPreviewWordUp()).length > 0 && e.writeString(4, a), (a = t.getPreviewWordDown()).length > 0 && e.writeString(5, a)
},proto.webcast.data.EpisodePreviewImage.prototype.getPreviewUriUp = function () {
return r.Message.getWrapperField(this, l.Image, 1)
},proto.webcast.data.EpisodePreviewImage.prototype.setPreviewUriUp = function (t) {
return r.Message.setWrapperField(this, 1, t)
},proto.webcast.data.EpisodePreviewImage.prototype.clearPreviewUriUp = function () {
return this.setPreviewUriUp(undefined)
},proto.webcast.data.EpisodePreviewImage.prototype.hasPreviewUriUp = function () {
return null != r.Message.getField(this, 1)
},proto.webcast.data.EpisodePreviewImage.prototype.getPreviewUriDown = function () {
return r.Message.getWrapperField(this, l.Image, 2)
},proto.webcast.data.EpisodePreviewImage.prototype.setPreviewUriDown = function (t) {
return r.Message.setWrapperField(this, 2, t)
},proto.webcast.data.EpisodePreviewImage.prototype.clearPreviewUriDown = function () {
return this.setPreviewUriDown(undefined)
},proto.webcast.data.EpisodePreviewImage.prototype.hasPreviewUriDown = function () {
return null != r.Message.getField(this, 2)
},proto.webcast.data.EpisodePreviewImage.prototype.getPreviewType = function () {
return r.Message.getFieldWithDefault(this, 3, 0)
},proto.webcast.data.EpisodePreviewImage.prototype.setPreviewType = function (t) {
return r.Message.setProto3EnumField(this, 3, t)
},proto.webcast.data.EpisodePreviewImage.prototype.getPreviewWordUp = function () {
return r.Message.getFieldWithDefault(this, 4, "")
},proto.webcast.data.EpisodePreviewImage.prototype.setPreviewWordUp = function (t) {
return r.Message.setProto3StringField(this, 4, t)
},proto.webcast.data.EpisodePreviewImage.prototype.getPreviewWordDown = function () {
return r.Message.getFieldWithDefault(this, 5, "")
},proto.webcast.data.EpisodePreviewImage.prototype.setPreviewWordDown = function (t) {
return r.Message.setProto3StringField(this, 5, t)
},proto.webcast.data.VSGiftPannel.repeatedFields_ = [1],r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.VSGiftPannel.prototype.toObject = function (t) {
return proto.webcast.data.VSGiftPannel.toObject(t, this)
}, proto.webcast.data.VSGiftPannel.toObject = function (t, e) {
var a, o = {
backgroundColorsList: null == (a = r.Message.getRepeatedField(e, 1)) ? undefined : a,
background: (a = e.getBackground()) && l.Image.toObject(t, a),
selected: (a = e.getSelected()) && l.Image.toObject(t, a)
};
return t && (o.$jspbMessageInstance = e), o
}),proto.webcast.data.VSGiftPannel.deserializeBinary = function (t) {
var e = new r.BinaryReader(t), a = new proto.webcast.data.VSGiftPannel;
return proto.webcast.data.VSGiftPannel.deserializeBinaryFromReader(a, e)
},proto.webcast.data.VSGiftPannel.deserializeBinaryFromReader = function (t, e) {
for (; e.nextField() && !e.isEndGroup();) {
switch (e.getFieldNumber()) {
case 1:
var a = e.readString();
t.addBackgroundColors(a);
break;
case 2:
a = new l.Image;
e.readMessage(a, l.Image.deserializeBinaryFromReader), t.setBackground(a);
break;
case 3:
a = new l.Image;
e.readMessage(a, l.Image.deserializeBinaryFromReader), t.setSelected(a);
break;
default:
e.skipField()
}
}
return t
},proto.webcast.data.VSGiftPannel.prototype.serializeBinary = function () {
var t = new r.BinaryWriter;
return proto.webcast.data.VSGiftPannel.serializeBinaryToWriter(this, t), t.getResultBuffer()
},proto.webcast.data.VSGiftPannel.serializeBinaryToWriter = function (t, e) {
var a = undefined;
(a = t.getBackgroundColorsList()).length > 0 && e.writeRepeatedString(1, a), null != (a = t.getBackground()) && e.writeMessage(2, a, l.Image.serializeBinaryToWriter), null != (a = t.getSelected()) && e.writeMessage(3, a, l.Image.serializeBinaryToWriter)
},proto.webcast.data.VSGiftPannel.prototype.getBackgroundColorsList = function () {
return r.Message.getRepeatedField(this, 1)
},proto.webcast.data.VSGiftPannel.prototype.setBackgroundColorsList = function (t) {
return r.Message.setField(this, 1, t || [])
},proto.webcast.data.VSGiftPannel.prototype.addBackgroundColors = function (t, e) {
return r.Message.addToRepeatedField(this, 1, t, e)
},proto.webcast.data.VSGiftPannel.prototype.clearBackgroundColorsList = function () {
return this.setBackgroundColorsList([])
},proto.webcast.data.VSGiftPannel.prototype.getBackground = function () {
return r.Message.getWrapperField(this, l.Image, 2)
},proto.webcast.data.VSGiftPannel.prototype.setBackground = function (t) {
return r.Message.setWrapperField(this, 2, t)
},proto.webcast.data.VSGiftPannel.prototype.clearBackground = function () {
return this.setBackground(undefined)
},proto.webcast.data.VSGiftPannel.prototype.hasBackground = function () {
return null != r.Message.getField(this, 2)
},proto.webcast.data.VSGiftPannel.prototype.getSelected = function () {
return r.Message.getWrapperField(this, l.Image, 3)
},proto.webcast.data.VSGiftPannel.prototype.setSelected = function (t) {
return r.Message.setWrapperField(this, 3, t)
},proto.webcast.data.VSGiftPannel.prototype.clearSelected = function () {
return this.setSelected(undefined)
},proto.webcast.data.VSGiftPannel.prototype.hasSelected = function () {
return null != r.Message.getField(this, 3)
},r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.EpisodePreviewBottom.prototype.toObject = function (t) {
return proto.webcast.data.EpisodePreviewBottom.toObject(t, this)
}, proto.webcast.data.EpisodePreviewBottom.toObject = function (t, e) {
var a = {
watchPeriodStr: r.Message.getFieldWithDefault(e, 1, ""),
latestPeriodStr: r.Message.getFieldWithDefault(e, 2, "")
};
return t && (a.$jspbMessageInstance = e), a
}),proto.webcast.data.EpisodePreviewBottom.deserializeBinary = function (t) {
var e = new r.BinaryReader(t), a = new proto.webcast.data.EpisodePreviewBottom;
return proto.webcast.data.EpisodePreviewBottom.deserializeBinaryFromReader(a, e)
},proto.webcast.data.EpisodePreviewBottom.deserializeBinaryFromReader = function (t, e) {
for (; e.nextField() && !e.isEndGroup();) {
switch (e.getFieldNumber()) {
case 1:
var a = e.readString();
t.setWatchPeriodStr(a);
break;
case 2:
a = e.readString();
t.setLatestPeriodStr(a);
break;
default:
e.skipField()
}
}
return t
},proto.webcast.data.EpisodePreviewBottom.prototype.serializeBinary = function () {
var t = new r.BinaryWriter;
return proto.webcast.data.EpisodePreviewBottom.serializeBinaryToWriter(this, t), t.getResultBuffer()
},proto.webcast.data.EpisodePreviewBottom.serializeBinaryToWriter = function (t, e) {
var a = undefined;
(a = t.getWatchPeriodStr()).length > 0 && e.writeString(1, a), (a = t.getLatestPeriodStr()).length > 0 && e.writeString(2, a)
},proto.webcast.data.EpisodePreviewBottom.prototype.getWatchPeriodStr = function () {
return r.Message.getFieldWithDefault(this, 1, "")
},proto.webcast.data.EpisodePreviewBottom.prototype.setWatchPeriodStr = function (t) {
return r.Message.setProto3StringField(this, 1, t)
},proto.webcast.data.EpisodePreviewBottom.prototype.getLatestPeriodStr = function () {
return r.Message.getFieldWithDefault(this, 2, "")
},proto.webcast.data.EpisodePreviewBottom.prototype.setLatestPeriodStr = function (t) {
return r.Message.setProto3StringField(this, 2, t)
},r.Message.GENERATE_TO_OBJECT && (proto.webcast.data.VSPannelIcon.prototype.toObject = function (t) {
return proto.webcast.data.VSPannelIcon.toObject(t, this)
}, proto.webcast.data.VSPannelIcon.toObject = function (t, e) {
var a, r = {
spLandscapeIcon: (a = e.getSpLandscapeIcon()) && l.Image.toObject(t, a),
spVerticalIcon: (a = e.getSpVerticalIcon()) && l.Image.toObject(t, a),
landscapeVerticalSwitchIcon: (a = e.getLandscapeVerticalSwitchIcon()) && l.Image.toObject(t, a),
lockScreenIcon: (a = e.getLockScreenIcon()) && l.Image.toObject(t, a),
landscapeMoreIcon: (a = e.getLandscapeMoreIcon()) && l.Image.toObject(t, a),
verticalMoreIcon: (a = e.getVerticalMoreIcon()) && l.Image.toObject(t, a),
landscapeCommentIcon: (a = e.getLandscapeCommentIcon()) && l.Image.toObject(t, a),
verticalCommentIcon: (a = e.getVerticalCommentIcon()) && l.Image.toObject(t, a),
verticalLandscapeSwitchIcon: (a = e.getVerticalLandscapeSwitchIcon()) && l.Image.toObject(t, a),
verticalLockScreenIcon: (a = e.getVerticalLockScreenIcon()) && l.Image.toObject(t, a)
};
return t && (r.$jspbMessageInstance = e), r
}),proto.webcast.data.VSPannelIcon.deserializeBinary = function (t) {
var e = new r.BinaryReader(t), a = new proto.webcast.data.VSPannelIcon;
return proto.webcast.data.VSPannelIcon.deserializeBinaryFromReader(a, e)
},proto.webcast.data.VSPannelIcon.deserializeBinaryFromReader = function (t, e) {
for (; e.nextField() && !e.isEndGroup();) {
switch (e.getFieldNumber()) {
case 1:
var a = new l.Image;
e.readMessage(a, l.Image.deserializeBinaryFromReader), t.setSpLandscapeIcon(a);
break;
case 2:
a = new l.Image;
e.readMessage(a, l.Image.deserializeBinaryFromReader), t.setSpVerticalIcon(a);
break;
case 3:
a = new l.Image;
e.readMessage(a, l.Image.deserializeBinaryFromReader), t.setLandscapeVerticalSwitchIcon(a);
break;
case 4:
a = new l.Image;
e.readMessage(a, l.Image.deserializeBinaryFromReader), t.setLockScreenIcon(a);