1 line
60 KiB
Plaintext
1 line
60 KiB
Plaintext
"use strict";(self.webpackChunkdouyin_web=self.webpackChunkdouyin_web||[]).push([["88767"],{739703:function(e,t,n){n.r(t),n.d(t,{default:function(){return s},live:function(){return l}}),n(825143);var i=n(587934),o=i.Reader,r=i.util,s=i.roots.bizIm||(i.roots.bizIm={});function a(e,t){for(let n in t)e.prototype[n]=t[n]}function c(e,t,n,i){var o=e[n[0]],r=1&n[2],s=n[2]>>1&1,a=n[2]>>2&1;if(s){if(!(o&&o.length)&&(e[n[0]]=[]),a&&(7&i)==2){for(var c=t.uint32()+t.pos;t.pos<c;)e[n[0]].push(n[1].call(t))}else e[n[0]].push(n[1].call(t,t,r&&t.uint32()))}else e[n[0]]=n[1].call(t,t,r&&t.uint32())}r.zeroLong||r.Long.fromBits(0,0,!1);var u=r.zeroULong||r.Long.fromBits(0,0,!0),l=s.live=(()=>{let e={};return e.AuctionUpdateMessage=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{product_id:u,auction_id:u,action_type:0,jump_schema:"",end_time_refresh_info:null,price_refresh_info:"",pre_bid_refresh_info:""}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.AuctionUpdateMessage(s.live.AuctionUpdateMessage.prototype),r={1:["product_id",e.int64String,0],2:["auction_id",e.int64String,0],3:["action_type",e.int32,0],4:["jump_schema",e.string,0],5:["end_time_refresh_info",s.live.AuctionUpdateMessage.EndTimeRefreshInfo.decode,1],6:["price_refresh_info",e.string,0],7:["pre_bid_refresh_info",e.string,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e.EndTimeRefreshInfo=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{end_time:u,toast:""}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.AuctionUpdateMessage.EndTimeRefreshInfo(s.live.AuctionUpdateMessage.EndTimeRefreshInfo.prototype),r={1:["end_time",e.int64String,0],2:["toast",e.string,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e}(),e.AuthorConnectMessage=function(){function e(e){if(this.ecom_linkmic_room_ids=[],this.linkmic_pop_rooms=[],e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{msg_type:0,toast:"",ecom_linkmic_room_ids:r.emptyArray,linkmic_pop_rooms:r.emptyArray}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.AuthorConnectMessage(s.live.AuthorConnectMessage.prototype),r={1:["msg_type",e.int32,0],2:["toast",e.string,0],3:["ecom_linkmic_room_ids",e.int64String,6],4:["linkmic_pop_rooms",s.live.ConnectRoom.decode,3]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.ConnectRoom=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{room_id:u,author_id:u,sec_author_id:""}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.ConnectRoom(s.live.ConnectRoom.prototype),r={1:["room_id",e.int64String,0],2:["author_id",e.int64String,0],3:["sec_author_id",e.string,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.LiveCommonMessage=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{msg_type:0,screenshot_timestamp:u,room_tag_offline_info:null,filter_switch_change_data:null,gmv_data:null}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.LiveCommonMessage(s.live.LiveCommonMessage.prototype),r={1:["msg_type",e.int32,0],2:["screenshot_timestamp",e.int64String,0],3:["room_tag_offline_info",s.live.RoomTagOfflineInfo.decode,1],4:["filter_switch_change_data",s.live.FilterSwitchChangeData.decode,1],5:["gmv_data",s.live.GMVData.decode,1]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.RoomTagOfflineInfo=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{tag_type:u,user_toast:""}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.RoomTagOfflineInfo(s.live.RoomTagOfflineInfo.prototype),r={1:["tag_type",e.int64String,0],2:["user_toast",e.string,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.UpIcon=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{name:"",up_icon:"",up_desc:"",public_screen_notice:""}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.UpIcon(s.live.UpIcon.prototype),r={1:["name",e.string,0],2:["up_icon",e.string,0],3:["up_desc",e.string,0],4:["public_screen_notice",e.string,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.FilterSwitchChangeData=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{enable:!1,up_icon:null}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.FilterSwitchChangeData(s.live.FilterSwitchChangeData.prototype),r={1:["enable",e.bool,0],2:["up_icon",s.live.UpIcon.decode,1]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.GMVData=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{gmv:""}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.GMVData(s.live.GMVData.prototype),r={1:["gmv",e.string,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.URLPicture=function(){function e(e){if(this.url_list=[],e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{url_list:r.emptyArray,width:u,height:u}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.URLPicture(s.live.URLPicture.prototype),r={1:["url_list",e.string,2],2:["width",e.int64String,0],3:["height",e.int64String,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.DelayParam=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{delay_strategy:0,min_delay_ms:0,max_delay_ms:0}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.DelayParam(s.live.DelayParam.prototype),r={1:["delay_strategy",e.int32,0],2:["min_delay_ms",e.int32,0],3:["max_delay_ms",e.int32,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.LiveHighHeatMessage=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{redirect_data:null,route_rule:""}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.LiveHighHeatMessage(s.live.LiveHighHeatMessage.prototype),r={1:["redirect_data",s.live.RedirectData.decode,1],2:["route_rule",e.string,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.RedirectData=function(){function e(e){if(this.route={},e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{route:r.emptyObject}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n,i,a=void 0===t?e.len:e.pos+t,c=new s.live.RedirectData(s.live.RedirectData.prototype);e.pos<a;){var u=e.uint32();if(u>>>3==1){c.route===r.emptyObject&&(c.route={});var l=e.uint32()+e.pos;for(n="",i="";e.pos<l;){var p=e.uint32();switch(p>>>3){case 1:n=e.string();break;case 2:i=e.string();break;default:e.skipType(7&p)}}c.route[n]=i}else e.skipType(7&u)}return c},e}(),e.HotAtmosphere=function(){function e(e){if(this.bg_colors=[],this.border_colors=[],e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{img:"",sale_num:"",type:u,num:"",bg_color:"",border_color:"",left_margin:u,ui_type:u,bg_colors:r.emptyArray,border_colors:r.emptyArray,top_img:""}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.HotAtmosphere(s.live.HotAtmosphere.prototype),r={1:["img",e.string,0],2:["sale_num",e.string,0],3:["type",e.int64String,0],4:["num",e.string,0],5:["bg_color",e.string,0],6:["border_color",e.string,0],7:["left_margin",e.int64String,0],8:["ui_type",e.int64String,0],9:["bg_colors",e.string,2],10:["border_colors",e.string,2],11:["top_img",e.string,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.ProductAtmosphere=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{atmosphere_type:0,num_atmosphere:null}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.ProductAtmosphere(s.live.ProductAtmosphere.prototype),r={1:["atmosphere_type",e.int32,0],2:["num_atmosphere",s.live.ProductNumAtmosphere.decode,1]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.ProductNumAtmosphere=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{left_icon:null,background:null,type:u,num:""}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.ProductNumAtmosphere(s.live.ProductNumAtmosphere.prototype),r={1:["left_icon",s.live.URLPicture.decode,1],2:["background",s.live.URLPicture.decode,1],3:["type",e.int64String,0],4:["num",e.string,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.AuctionAtmosphere=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{count_down:null,digital:null}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.AuctionAtmosphere(s.live.AuctionAtmosphere.prototype),r={1:["count_down",s.live.CountdownAtmosphere.decode,1],2:["digital",s.live.DigitalAtmosphere.decode,1]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.CountdownAtmosphere=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{start_time:u,end_time:u,data:null}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.CountdownAtmosphere(s.live.CountdownAtmosphere.prototype),r={1:["start_time",e.int64String,0],2:["end_time",e.int64String,0],3:["data",s.live.AtmosphereData.decode,1]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.DigitalAtmosphere=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{frequency_key:"",frequency_count:u,data:null}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.DigitalAtmosphere(s.live.DigitalAtmosphere.prototype),r={1:["frequency_key",e.string,0],2:["frequency_count",e.int64String,0],3:["data",s.live.AtmosphereData.decode,1]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.AtmosphereData=function(){function e(e){if(this.bg_colors=[],this.border_colors=[],e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{img:"",num:"",bg_color:"",border_color:"",left_margin:u,bg_colors:r.emptyArray,border_colors:r.emptyArray,top_img:"",bg_img:null,left_icon:null}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.AtmosphereData(s.live.AtmosphereData.prototype),r={1:["img",e.string,0],2:["num",e.string,0],3:["bg_color",e.string,0],4:["border_color",e.string,0],5:["left_margin",e.int64String,0],6:["bg_colors",e.string,2],7:["border_colors",e.string,2],8:["top_img",e.string,0],9:["bg_img",s.live.URLPicture.decode,1],10:["left_icon",s.live.URLPicture.decode,1]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.IntelligentPopMessage=function(){function e(e){if(this.params={},e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{msg_type:0,bubble_type:0,promotion_id:u,delay_param:null,params:r.emptyObject,list_top_path:"",pop_path:""}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n,i,a=void 0===t?e.len:e.pos+t,u=new s.live.IntelligentPopMessage(s.live.IntelligentPopMessage.prototype),l={1:["msg_type",e.int32,0],2:["bubble_type",e.int32,0],3:["promotion_id",e.int64String,0],4:["delay_param",s.live.DelayParam.decode,1],10:["list_top_path",e.string,0],11:["pop_path",e.string,0]};e.pos<a;){var p=e.uint32(),f=p>>>3;if(l[f]){c(u,e,l[f],p);continue}if(5===f){u.params===r.emptyObject&&(u.params={});var d=e.uint32()+e.pos;for(n="",i="";e.pos<d;){var _=e.uint32();switch(_>>>3){case 1:n=e.string();break;case 2:i=e.string();break;default:e.skipType(7&_)}}u.params[n]=i}else e.skipType(7&p)}return u},e}(),e.BarrageBuyInfo=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{nick_name:"",purchase_cnt:u,text:"",icon:""}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.BarrageBuyInfo(s.live.BarrageBuyInfo.prototype),r={1:["nick_name",e.string,0],2:["purchase_cnt",e.int64String,0],3:["text",e.string,0],4:["icon",e.string,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.InteractionData=function(){function e(e){if(this.contents=[],e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{full:!1,contents:r.emptyArray}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.InteractionData(s.live.InteractionData.prototype),r={1:["full",e.bool,0],2:["contents",s.live.InteractionContent.decode,3]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.InteractionContent=function(){function e(e){if(this.content=[],this.event_param={},this.rows=[],this.bg_colors=[],e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{check:null,priority:0,loop_count:0,content:r.emptyArray,event_param:r.emptyObject,rows:r.emptyArray,bg_colors:r.emptyArray,product:null,action:null}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n,i,a=void 0===t?e.len:e.pos+t,u=new s.live.InteractionContent(s.live.InteractionContent.prototype),l={1:["check",s.live.InteractionContentCheck.decode,1],2:["priority",e.int32,0],3:["loop_count",e.int32,0],4:["content",s.live.InteractionElement.decode,3],6:["rows",s.live.ListTopInteractionRow.decode,3],7:["bg_colors",e.string,2],8:["product",s.live.MessageProduct.decode,1],9:["action",s.live.ListAction.decode,1]};e.pos<a;){var p=e.uint32(),f=p>>>3;if(l[f]){c(u,e,l[f],p);continue}if(5===f){u.event_param===r.emptyObject&&(u.event_param={});var d=e.uint32()+e.pos;for(n="",i="";e.pos<d;){var _=e.uint32();switch(_>>>3){case 1:n=e.string();break;case 2:i=e.string();break;default:e.skipType(7&_)}}u.event_param[n]=i}else e.skipType(7&p)}return u},e}(),e.ListTopInteractionRow=function(){function e(e){if(this.content=[],e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{content:r.emptyArray}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.ListTopInteractionRow(s.live.ListTopInteractionRow.prototype),r={1:["content",s.live.InteractionElement.decode,3]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.MessageProduct=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{cover:null,show_index:!1,index:0}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.MessageProduct(s.live.MessageProduct.prototype),r={1:["cover",s.live.ProductCover.decode,1],2:["show_index",e.bool,0],3:["index",e.int32,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.ProductCover=function(){function e(e){if(this.url_list=[],e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{url_list:r.emptyArray,width:u,height:u}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.ProductCover(s.live.ProductCover.prototype),r={1:["url_list",e.string,2],2:["width",e.int64String,0],3:["height",e.int64String,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.ListAction=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{action_type:u,biz_action:null,jump_action:null}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.ListAction(s.live.ListAction.prototype),r={1:["action_type",e.int64String,0],2:["biz_action",s.live.BizActionMeta.decode,1],3:["jump_action",s.live.JumpActionMeta.decode,1]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.BizActionMeta=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{action_name:"",action_param:""}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.BizActionMeta(s.live.BizActionMeta.prototype),r={1:["action_name",e.string,0],2:["action_param",e.string,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.JumpActionMeta=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{url:"",append_params_type:u}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.JumpActionMeta(s.live.JumpActionMeta.prototype),r={1:["url",e.string,0],2:["append_params_type",e.int64String,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.InteractionContentCheck=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{product_id:u,index:0}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.InteractionContentCheck(s.live.InteractionContentCheck.prototype),r={1:["product_id",e.int64String,0],2:["index",e.int32,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.InteractionElement=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{element_type:0,text:"",text_color:"",avatars:null,blank_width:0,text_size:0,text_v2:null,blank_v2:null,avatars_v2:null,image_v2:null,loop_text:null}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.InteractionElement(s.live.InteractionElement.prototype),r={1:["element_type",e.int32,0],2:["text",e.string,0],3:["text_color",e.string,0],4:["avatars",s.live.InteractionAvatar.decode,1],5:["blank_width",e.int32,0],6:["text_size",e.int32,0],20:["text_v2",s.live.ElementText.decode,1],21:["blank_v2",s.live.ElementBlank.decode,1],23:["avatars_v2",s.live.ElementAvatar.decode,1],24:["image_v2",s.live.ElementImage.decode,1],29:["loop_text",s.live.ElementLoopText.decode,1]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.InteractionAvatar=function(){function e(e){if(this.url_list=[],e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{url_list:r.emptyArray,width:0,height:0}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.InteractionAvatar(s.live.InteractionAvatar.prototype),r={1:["url_list",e.string,2],2:["width",e.int32,0],3:["height",e.int32,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.ElementAvatar=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{avatar:null}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.ElementAvatar(s.live.ElementAvatar.prototype),r={1:["avatar",s.live.UrlImage.decode,1]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.UrlImage=function(){function e(e){if(this.url_list=[],e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{url_list:r.emptyArray,width:u,height:u}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.UrlImage(s.live.UrlImage.prototype),r={1:["url_list",e.string,2],2:["width",e.int64String,0],3:["height",e.int64String,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.ElementText=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{text:"",color:"",size:u,bold:!1,background:null,max_width:u,ellipsis:!1}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.ElementText(s.live.ElementText.prototype),r={1:["text",e.string,0],2:["color",e.string,0],3:["size",e.int64String,0],4:["bold",e.bool,0],5:["background",s.live.UrlImage.decode,1],6:["max_width",e.int64String,0],7:["ellipsis",e.bool,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.ElementLoopText=function(){function e(e){if(this.texts=[],e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{texts:r.emptyArray,color:"",size:u,bold:!1,anim_gap:u}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.ElementLoopText(s.live.ElementLoopText.prototype),r={1:["texts",e.string,2],2:["color",e.string,0],3:["size",e.int64String,0],4:["bold",e.bool,0],5:["anim_gap",e.int64String,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.ElementBlank=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{width:u}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.ElementBlank(s.live.ElementBlank.prototype),r={1:["width",e.int64String,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.ElementImage=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{image:null,bubble:null}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.ElementImage(s.live.ElementImage.prototype),r={1:["image",s.live.UrlImage.decode,1],2:["bubble",s.live.ElementImageBubble.decode,1]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.ElementImageBubble=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{height:u,border_radius:u,background_color:"",border_color:"",text:"",font_size:u,color:"",horizontal_padding:u}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.ElementImageBubble(s.live.ElementImageBubble.prototype),r={1:["height",e.int64String,0],2:["border_radius",e.int64String,0],3:["background_color",e.string,0],4:["border_color",e.string,0],5:["text",e.string,0],6:["font_size",e.int64String,0],7:["color",e.string,0],8:["horizontal_padding",e.int64String,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.LiveInteractionMessage=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{msg_type:0,barrage_buy_info:null,interaction_data:null}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.LiveInteractionMessage(s.live.LiveInteractionMessage.prototype),r={1:["msg_type",e.int32,0],2:["barrage_buy_info",s.live.BarrageBuyInfo.decode,1],3:["interaction_data",s.live.InteractionData.decode,1]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.Img=function(){function e(e){if(this.url_list=[],e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{url_list:r.emptyArray,height:0,width:0}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.Img(s.live.Img.prototype),r={1:["url_list",e.string,2],2:["height",e.int32,0],3:["width",e.int32,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.CurrentUserInfo=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{user_pic:null,user_name:"",user_id:u}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.CurrentUserInfo(s.live.CurrentUserInfo.prototype),r={1:["user_pic",s.live.Img.decode,1],2:["user_name",e.string,0],3:["user_id",e.int64String,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.IncrPriceList=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{price:u,range:u}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.IncrPriceList(s.live.IncrPriceList.prototype),r={1:["price",e.int64String,0],2:["range",e.int64String,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.AuctionInfo=function(){function e(e){if(this.incr_price_lists=[],e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{price:u,price_label:"",status:0,jump_url:"",current_user_info:null,incr_price_lists:r.emptyArray,button_label:"",product_id:u,end_time:u,biz_id:0}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.AuctionInfo(s.live.AuctionInfo.prototype),r={1:["price",e.int64String,0],2:["price_label",e.string,0],3:["status",e.int32,0],4:["jump_url",e.string,0],5:["current_user_info",s.live.CurrentUserInfo.decode,1],6:["incr_price_lists",s.live.IncrPriceList.decode,3],7:["button_label",e.string,0],8:["product_id",e.int64String,0],9:["end_time",e.int64String,0],10:["biz_id",e.int32,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.AuctionSuccess=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{title:"",product_id:u,product_name:"",product_pic:"",price:u,charge:u,freight:u,total:u,button_label:"",jump_url:"",freight_collect:"",left_payment_time:u,biz_id:0,deposit_info:""}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.AuctionSuccess(s.live.AuctionSuccess.prototype),r={1:["title",e.string,0],2:["product_id",e.int64String,0],3:["product_name",e.string,0],4:["product_pic",e.string,0],5:["price",e.int64String,0],6:["charge",e.int64String,0],7:["freight",e.int64String,0],8:["total",e.int64String,0],9:["button_label",e.string,0],10:["jump_url",e.string,0],11:["freight_collect",e.string,0],12:["left_payment_time",e.int64String,0],13:["biz_id",e.int32,0],14:["deposit_info",e.string,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.RedpackActivityInfo=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{redpack_type:u,redpack_activity_id:"",redpack_activity_name:"",start_apply_time:u,end_apply_time:u,preheat_time:u,total_amount:u,author_avatar_url:"",author_name:"",pendant_background_url:"",redpack_front_background_url:"",redpack_label:"",redpack_after_background_url:"",redpack_after_belt_url:"",scatter_time:u,server_time:u,max_amount:u,show_type:u,shorttouch_pendant_background_url:"",shorttouch_pendant_icon_url:"",shorttouch_lottie_url:""}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.RedpackActivityInfo(s.live.RedpackActivityInfo.prototype),r={1:["redpack_type",e.int64String,0],2:["redpack_activity_id",e.string,0],3:["redpack_activity_name",e.string,0],4:["start_apply_time",e.int64String,0],5:["end_apply_time",e.int64String,0],6:["preheat_time",e.int64String,0],7:["total_amount",e.int64String,0],8:["author_avatar_url",e.string,0],9:["author_name",e.string,0],10:["pendant_background_url",e.string,0],11:["redpack_front_background_url",e.string,0],12:["redpack_label",e.string,0],13:["redpack_after_background_url",e.string,0],14:["redpack_after_belt_url",e.string,0],15:["scatter_time",e.int64String,0],16:["server_time",e.int64String,0],17:["max_amount",e.int64String,0],18:["show_type",e.int64String,0],19:["shorttouch_pendant_background_url",e.string,0],20:["shorttouch_pendant_icon_url",e.string,0],21:["shorttouch_lottie_url",e.string,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.BenefitLabel=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{LeftText:"",RightText:"",TextStyle:0,ColorStyle:0,DivLine:0}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.BenefitLabel(s.live.BenefitLabel.prototype),r={1:["LeftText",e.string,0],2:["RightText",e.string,0],3:["TextStyle",e.int32,0],4:["ColorStyle",e.int32,0],5:["DivLine",e.int32,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.LotteryInfoList=function(){function e(e){if(this.text=[],e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{activity_id:"",task_type:u,open_time:u,user_activity_status:u,win_record_id:"",result_label:"",button_label:"",text:r.emptyArray,jump_url:"",lottery_type:u,elastic_title:"",benefit_label:null,extra_info:""}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.LotteryInfoList(s.live.LotteryInfoList.prototype),r={1:["activity_id",e.string,0],2:["task_type",e.int64String,0],3:["open_time",e.int64String,0],4:["user_activity_status",e.int64String,0],5:["win_record_id",e.string,0],6:["result_label",e.string,0],7:["button_label",e.string,0],8:["text",e.string,2],9:["jump_url",e.string,0],10:["lottery_type",e.int64String,0],11:["elastic_title",e.string,0],12:["benefit_label",s.live.BenefitLabel.decode,1],99:["extra_info",e.string,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.WinLotteryAlert=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{title:"",content:"",button_label:""}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.WinLotteryAlert(s.live.WinLotteryAlert.prototype),r={1:["title",e.string,0],2:["content",e.string,0],3:["button_label",e.string,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.WinLotteryInfo=function(){function e(e){if(this.activity_price=[],e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{title:"",name:"",img:"",button_label:"",win_record_id:"",activity_id:"",is_addressed:!1,alert:null,is_win:!1,jump_url:"",product_id:u,activity_price:r.emptyArray,buy_time:u,lottery_type:u,product_id_str:"",lottery_info_list:null,draw_prize_type:u,button_bottom_desc:"",extra_info:""}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.WinLotteryInfo(s.live.WinLotteryInfo.prototype),r={1:["title",e.string,0],2:["name",e.string,0],3:["img",e.string,0],4:["button_label",e.string,0],5:["win_record_id",e.string,0],6:["activity_id",e.string,0],7:["is_addressed",e.bool,0],8:["alert",s.live.WinLotteryAlert.decode,1],9:["is_win",e.bool,0],10:["jump_url",e.string,0],11:["product_id",e.int64String,0],12:["activity_price",e.int64String,6],13:["buy_time",e.int64String,0],14:["lottery_type",e.int64String,0],15:["product_id_str",e.string,0],16:["lottery_info_list",s.live.LotteryInfoList.decode,1],17:["draw_prize_type",e.int64String,0],18:["button_bottom_desc",e.string,0],99:["extra_info",e.string,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.CouponActivityInfoMessage=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{activity_type:u,before_text:"",before_button:"",after_text:"",after_button:""}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.CouponActivityInfoMessage(s.live.CouponActivityInfoMessage.prototype),r={1:["activity_type",e.int64String,0],2:["before_text",e.string,0],3:["before_button",e.string,0],4:["after_text",e.string,0],5:["after_button",e.string,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.CouponMetaInfoMessage=function(){function e(e){if(this.product_ids=[],e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{coupon_meta_id:"",start_time:"",expire_time:"",period_type:u,valid_period:u,start_apply_time:"",end_apply_time:"",coupon_name:"",url:"",threshold:u,credit:u,max_apply_times:u,type:u,type_detail:"",discount:0,shop_id:"",pay_type:u,max_discount_limit:u,shop_name:"",type_string:"",what_coupon:"",coupon_string:"",channel_id:u,left_amount:u,has_applied:u,status:u,shop_logo:"",is_show:u,total_amount:u,live_coupon_status:0,coupon_source:0,user_apply_times:u,can_continue_apply:!1,coupon_status:!1,coupon_reset:!1,start_time_timestamp:u,expire_time_timestamp:u,avatar:"",kol_uid:u,product_ids:r.emptyArray,platform_sub_type:u,has_available_goods:!1,type_title:"",kol_user_tag:u,type_icon:"",type_icon_width:u,type_icon_height:u,coupon_category:"",extra_data:""}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.CouponMetaInfoMessage(s.live.CouponMetaInfoMessage.prototype),r={1:["coupon_meta_id",e.string,0],2:["start_time",e.string,0],3:["expire_time",e.string,0],4:["period_type",e.int64String,0],5:["valid_period",e.int64String,0],6:["start_apply_time",e.string,0],7:["end_apply_time",e.string,0],8:["coupon_name",e.string,0],9:["url",e.string,0],10:["threshold",e.int64String,0],11:["credit",e.int64String,0],12:["max_apply_times",e.int64String,0],13:["type",e.int64String,0],14:["type_detail",e.string,0],15:["discount",e.double,0],16:["shop_id",e.string,0],17:["pay_type",e.int64String,0],18:["max_discount_limit",e.int64String,0],19:["shop_name",e.string,0],20:["type_string",e.string,0],21:["what_coupon",e.string,0],22:["coupon_string",e.string,0],23:["channel_id",e.int64String,0],24:["left_amount",e.int64String,0],25:["has_applied",e.int64String,0],26:["status",e.int64String,0],27:["shop_logo",e.string,0],28:["is_show",e.int64String,0],29:["total_amount",e.int64String,0],30:["live_coupon_status",e.int32,0],31:["coupon_source",e.int32,0],32:["user_apply_times",e.int64String,0],33:["can_continue_apply",e.bool,0],34:["coupon_status",e.bool,0],35:["coupon_reset",e.bool,0],36:["start_time_timestamp",e.int64String,0],37:["expire_time_timestamp",e.int64String,0],38:["avatar",e.string,0],39:["kol_uid",e.int64String,0],40:["product_ids",e.int64String,6],41:["platform_sub_type",e.int64String,0],42:["has_available_goods",e.bool,0],43:["type_title",e.string,0],45:["kol_user_tag",e.int64String,0],46:["type_icon",e.string,0],47:["type_icon_width",e.int64String,0],48:["type_icon_height",e.int64String,0],49:["coupon_category",e.string,0],50:["extra_data",e.string,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.CouponInfo=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{meta_id:u,server_time:u,countdown:u,activity_json_str:"",coupon_type:0,activity_info:null,coupon_meta:null,meta_id_str:""}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.CouponInfo(s.live.CouponInfo.prototype),r={1:["meta_id",e.int64String,0],2:["server_time",e.int64String,0],3:["countdown",e.int64String,0],4:["activity_json_str",e.string,0],5:["coupon_type",e.int32,0],6:["activity_info",s.live.CouponActivityInfoMessage.decode,1],7:["coupon_meta",s.live.CouponMetaInfoMessage.decode,1],8:["meta_id_str",e.string,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.BrowseInfo=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{duration:0,task_index:"",stop_duration:0}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.BrowseInfo(s.live.BrowseInfo.prototype),r={1:["duration",e.int32,0],2:["task_index",e.string,0],3:["stop_duration",e.int32,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.TaskInfo=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{task_type:0,task_status:0,report_event:"",browse_task_info:null}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.TaskInfo(s.live.TaskInfo.prototype),r={1:["task_type",e.int32,0],2:["task_status",e.int32,0],3:["report_event",e.string,0],4:["browse_task_info",s.live.BrowseInfo.decode,1]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.LiveMarketingMessage=function(){function e(e){if(this.product_ids=[],e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{msg_type:0,product_ids:r.emptyArray,auction_success:null,auction_info:null,redpack_activity_info:null,win_lotteryinfo:null,lottery_info_list:null,coupon_info:null,task_info:null}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.LiveMarketingMessage(s.live.LiveMarketingMessage.prototype),r={1:["msg_type",e.int32,0],2:["product_ids",e.int64String,6],3:["auction_success",s.live.AuctionSuccess.decode,1],4:["auction_info",s.live.AuctionInfo.decode,1],5:["redpack_activity_info",s.live.RedpackActivityInfo.decode,1],6:["win_lotteryinfo",s.live.WinLotteryInfo.decode,1],7:["lottery_info_list",s.live.LotteryInfoList.decode,1],8:["coupon_info",s.live.CouponInfo.decode,1],9:["task_info",s.live.TaskInfo.decode,1]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.PopProductInfo=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{promotion_id:u,product_id:u,explain_time:u}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.PopProductInfo(s.live.PopProductInfo.prototype),r={1:["promotion_id",e.int64String,0],2:["product_id",e.int64String,0],3:["explain_time",e.int64String,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.LivePopMessage=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{msg_type:0,bubble_type:0,promotion_id:u,hot_atmosphere:null,delay_param:null,product_info:null}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.LivePopMessage(s.live.LivePopMessage.prototype),r={1:["msg_type",e.int32,0],2:["bubble_type",e.int32,0],3:["promotion_id",e.int64String,0],4:["hot_atmosphere",s.live.HotAtmosphere.decode,1],5:["delay_param",s.live.DelayParam.decode,1],6:["product_info",s.live.PopProductInfo.decode,1]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.CategoryRefreshMessage=function(){function e(e){if(this.category_info=[],e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{category_info:r.emptyArray,update_ts:u,update_toast:""}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.CategoryRefreshMessage(s.live.CategoryRefreshMessage.prototype),r={1:["category_info",s.live.CategoryRefreshMessage.CategoryInfo.decode,3],2:["update_ts",e.int64String,0],3:["update_toast",e.string,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e.CategoryInfo=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{unique_index:"",name:"",category_id:u,category_type:u,need_reload:!1,disable_append:!1}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.CategoryRefreshMessage.CategoryInfo(s.live.CategoryRefreshMessage.CategoryInfo.prototype),r={1:["unique_index",e.string,0],2:["name",e.string,0],3:["category_id",e.int64String,0],4:["category_type",e.int64String,0],5:["need_reload",e.bool,0],6:["disable_append",e.bool,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e}(),e.ProductListRefreshMessage=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{update_ts:u,update_toast:""}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.ProductListRefreshMessage(s.live.ProductListRefreshMessage.prototype),r={1:["update_ts",e.int64String,0],2:["update_toast",e.string,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.ProductListUpdateMessage=function(){function e(e){if(this.update_product_info=[],this.update_category_info=[],e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{update_timestamp:u,update_toast:"",update_product_info:r.emptyArray,total:u,update_category_info:r.emptyArray,msg_type:0}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.ProductListUpdateMessage(s.live.ProductListUpdateMessage.prototype),r={1:["update_timestamp",e.int64String,0],2:["update_toast",e.string,0],3:["update_product_info",s.live.ProductInfo.decode,3],4:["total",e.int64String,0],5:["update_category_info",s.live.CategoryInfo.decode,3],6:["msg_type",e.int32,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.ProductInfo=function(){function e(e){if(this.target_flash_uids=[],e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{promotion_id:u,index:0,target_flash_uids:r.emptyArray,explain_type:u}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.ProductInfo(s.live.ProductInfo.prototype),r={1:["promotion_id",e.int64String,0],2:["index",e.int32,0],3:["target_flash_uids",e.int64String,6],4:["explain_type",e.int64String,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.CategoryInfo=function(){function e(e){if(this.promotion_ids=[],e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{id:0,name:"",promotion_ids:r.emptyArray,type:"",unique_index:""}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.CategoryInfo(s.live.CategoryInfo.prototype),r={1:["id",e.int32,0],2:["name",e.string,0],3:["promotion_ids",e.string,2],4:["type",e.string,0],5:["unique_index",e.string,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.ProductRefreshMessage=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{promotion_id:u,product_id:u,channel_type:u,channel_id:u,update_ts:u,action_type:0,request_info:null,product_info:null,hot_atmosphere:null,auction_info:null,auction_atmosphere:null,atmosphere_info:null}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.ProductRefreshMessage(s.live.ProductRefreshMessage.prototype),r={1:["promotion_id",e.int64String,0],2:["product_id",e.int64String,0],3:["channel_type",e.int64String,0],4:["channel_id",e.int64String,0],5:["update_ts",e.int64String,0],6:["action_type",e.int32,0],7:["request_info",s.live.ProductRefreshMessage.RequestInfo.decode,1],8:["product_info",s.live.ProductRefreshMessage.ProductInfo.decode,1],9:["hot_atmosphere",s.live.HotAtmosphere.decode,1],10:["auction_info",s.live.ProductRefreshMessage.AuctionInfo.decode,1],11:["auction_atmosphere",s.live.AuctionAtmosphere.decode,1],12:["atmosphere_info",s.live.ProductRefreshMessage.AtmosphereInfo.decode,1]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e.RequestInfo=function(){function e(e){if(this.list={},this.pop={},this.intro={},e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{list:r.emptyObject,pop:r.emptyObject,intro:r.emptyObject}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n,i,a=void 0===t?e.len:e.pos+t,c=new s.live.ProductRefreshMessage.RequestInfo(s.live.ProductRefreshMessage.RequestInfo.prototype);e.pos<a;){var u=e.uint32();switch(u>>>3){case 1:c.list===r.emptyObject&&(c.list={});var l=e.uint32()+e.pos;for(n=0,i=null;e.pos<l;){var p=e.uint32();switch(p>>>3){case 1:n=e.int32();break;case 2:i=s.live.ProductRefreshMessage.RequestInfo.Request.decode(e,e.uint32());break;default:e.skipType(7&p)}}c.list[n]=i;break;case 2:c.pop===r.emptyObject&&(c.pop={});var l=e.uint32()+e.pos;for(n=0,i=null;e.pos<l;){var p=e.uint32();switch(p>>>3){case 1:n=e.int32();break;case 2:i=s.live.ProductRefreshMessage.RequestInfo.Request.decode(e,e.uint32());break;default:e.skipType(7&p)}}c.pop[n]=i;break;case 3:c.intro===r.emptyObject&&(c.intro={});var l=e.uint32()+e.pos;for(n=0,i=null;e.pos<l;){var p=e.uint32();switch(p>>>3){case 1:n=e.int32();break;case 2:i=s.live.ProductRefreshMessage.RequestInfo.Request.decode(e,e.uint32());break;default:e.skipType(7&p)}}c.intro[n]=i;break;default:e.skipType(7&u)}}return c},e.Request=function(){function e(e){if(this.params={},e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{path:"",params:r.emptyObject,delay_param:null}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n,i,a=void 0===t?e.len:e.pos+t,u=new s.live.ProductRefreshMessage.RequestInfo.Request(s.live.ProductRefreshMessage.RequestInfo.Request.prototype),l={1:["path",e.string,0],3:["delay_param",s.live.DelayParam.decode,1]};e.pos<a;){var p=e.uint32(),f=p>>>3;if(l[f]){c(u,e,l[f],p);continue}if(2===f){u.params===r.emptyObject&&(u.params={});var d=e.uint32()+e.pos;for(n="",i="";e.pos<d;){var _=e.uint32();switch(_>>>3){case 1:n=e.string();break;case 2:i=e.string();break;default:e.skipType(7&_)}}u.params[n]=i}else e.skipType(7&p)}return u},e}(),e}(),e.ProductInfo=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{title:"",cover:""}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.ProductRefreshMessage.ProductInfo(s.live.ProductRefreshMessage.ProductInfo.prototype),r={1:["title",e.string,0],2:["cover",e.string,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.AuctionInfo=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{price:u,price_label:"",auction_atmosphere:null,end_time:u,current_user:null,intro_price_label:""}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.ProductRefreshMessage.AuctionInfo(s.live.ProductRefreshMessage.AuctionInfo.prototype),r={1:["price",e.int64String,0],2:["price_label",e.string,0],3:["auction_atmosphere",s.live.AuctionAtmosphere.decode,1],4:["end_time",e.int64String,0],5:["current_user",s.live.ProductRefreshMessage.AuctionInfo.AuctionUser.decode,1],6:["intro_price_label",e.string,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e.AuctionUser=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{is_self:!1,name:"",profile:""}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.ProductRefreshMessage.AuctionInfo.AuctionUser(s.live.ProductRefreshMessage.AuctionInfo.AuctionUser.prototype),r={1:["is_self",e.bool,0],2:["name",e.string,0],3:["profile",e.string,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e}(),e.AtmosphereInfo=function(){function e(e){if(this.atmosphere={},e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{atmosphere:r.emptyObject}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n,i,a=void 0===t?e.len:e.pos+t,c=new s.live.ProductRefreshMessage.AtmosphereInfo(s.live.ProductRefreshMessage.AtmosphereInfo.prototype);e.pos<a;){var u=e.uint32();if(u>>>3==1){c.atmosphere===r.emptyObject&&(c.atmosphere={});var l=e.uint32()+e.pos;for(n=0,i=null;e.pos<l;){var p=e.uint32();switch(p>>>3){case 1:n=e.int32();break;case 2:i=s.live.ProductAtmosphere.decode(e,e.uint32());break;default:e.skipType(7&p)}}c.atmosphere[n]=i}else e.skipType(7&u)}return c},e}(),e}(),e.ProductUpdateMessage=function(){function e(e){if(this.updated_product_ids=[],e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{updated_product_ids:r.emptyArray,update_type:0,promotion_id:u,updated_product_info:null,sold_out:!1,updated_coupon_info:null,updated_campaign_info:null,update_timestamp:u,update_sku_info:null,updated_commentary_video_info:null,updated_group_info:null,hot_atmosphere:null,can_sold:!1,promotion_header_interaction:null,bid_info:null}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.ProductUpdateMessage(s.live.ProductUpdateMessage.prototype),r={1:["updated_product_ids",e.int64String,6],2:["update_type",e.int32,0],3:["promotion_id",e.int64String,0],4:["updated_product_info",s.live.UpdatedProductInfo.decode,1],5:["sold_out",e.bool,0],6:["updated_coupon_info",s.live.UpdatedCouponInfo.decode,1],7:["updated_campaign_info",s.live.UpdatedCampaignInfo.decode,1],8:["update_timestamp",e.int64String,0],9:["update_sku_info",s.live.UpdatedSkuInfo.decode,1],10:["updated_commentary_video_info",s.live.UpdatedCommentaryVideoInfo.decode,1],11:["updated_group_info",s.live.UpdatedGroupInfo.decode,1],12:["hot_atmosphere",s.live.HotAtmosphere.decode,1],13:["can_sold",e.bool,0],14:["promotion_header_interaction",s.live.InteractionData.decode,1],15:["bid_info",s.live.BidInfo.decode,1]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.UpdatedProductInfo=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{price:u,title:"",cover:"",status:u,pop_upicon:""}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.UpdatedProductInfo(s.live.UpdatedProductInfo.prototype),r={1:["price",e.int64String,0],2:["title",e.string,0],3:["cover",e.string,0],4:["status",e.int64String,0],5:["pop_upicon",e.string,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.UpdatedCouponInfo=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{tag:"",coupon_url:"",coupon_applet:"",is_valid:!1,coupon_meta_id:""}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.UpdatedCouponInfo(s.live.UpdatedCouponInfo.prototype),r={1:["tag",e.string,0],2:["coupon_url",e.string,0],3:["coupon_applet",e.string,0],4:["is_valid",e.bool,0],5:["coupon_meta_id",e.string,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.UpdatedCampaignInfo=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{is_valid:!1,label:"",price:"",pic:"",start_time:"",end_time:"",time_start_label:"",time_end_label:"",user_limit:"",is_preheat:"",campaign_id:""}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.UpdatedCampaignInfo(s.live.UpdatedCampaignInfo.prototype),r={1:["is_valid",e.bool,0],2:["label",e.string,0],3:["price",e.string,0],4:["pic",e.string,0],5:["start_time",e.string,0],6:["end_time",e.string,0],7:["time_start_label",e.string,0],8:["time_end_label",e.string,0],9:["user_limit",e.string,0],10:["is_preheat",e.string,0],11:["campaign_id",e.string,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.UpdatedSkuInfo=function(){function e(e){if(this.skus={},e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{skus:r.emptyObject,min_price:u,max_price:u,unuse_min_price:u,coupon_price:u}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n,i,a=void 0===t?e.len:e.pos+t,u=new s.live.UpdatedSkuInfo(s.live.UpdatedSkuInfo.prototype),l={2:["min_price",e.int64String,0],3:["max_price",e.int64String,0],4:["unuse_min_price",e.int64String,0],5:["coupon_price",e.int64String,0]};e.pos<a;){var p=e.uint32(),f=p>>>3;if(l[f]){c(u,e,l[f],p);continue}if(1===f){u.skus===r.emptyObject&&(u.skus={});var d=e.uint32()+e.pos;for(n="",i=null;e.pos<d;){var _=e.uint32();switch(_>>>3){case 1:n=e.string();break;case 2:i=s.live.SkuInfo.decode(e,e.uint32());break;default:e.skipType(7&_)}}u.skus[n]=i}else e.skipType(7&p)}return u},e}(),e.SkuInfo=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{sku_id:"",stock_num:u,price:u,coupon_price:u}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.SkuInfo(s.live.SkuInfo.prototype),r={1:["sku_id",e.string,0],2:["stock_num",e.int64String,0],3:["price",e.int64String,0],4:["coupon_price",e.int64String,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.UpdatedGroupInfo=function(){function e(e){if(this.avatar_list=[],e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{avatar_list:r.emptyArray,joined:u,group_size:u,persent:u}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.UpdatedGroupInfo(s.live.UpdatedGroupInfo.prototype),r={1:["avatar_list",e.string,2],2:["joined",e.int64String,0],3:["group_size",e.int64String,0],4:["persent",e.int64String,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.UpdatedCommentaryVideoInfo=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{action:u}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.UpdatedCommentaryVideoInfo(s.live.UpdatedCommentaryVideoInfo.prototype),r={1:["action",e.int64String,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.BidInfo=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{promotion_id:""}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.BidInfo(s.live.BidInfo.prototype),r={1:["promotion_id",e.string,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.LiveSellerMessage=function(){function e(e){if(this.list_room_stats_data=[],e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{msg_type:0,author_order_limit_info:null,list_room_stats_data:r.emptyArray,flash_popup_info:null}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.LiveSellerMessage(s.live.LiveSellerMessage.prototype),r={1:["msg_type",e.int32,0],2:["author_order_limit_info",s.live.AuthorOrderLimitInfo.decode,1],3:["list_room_stats_data",s.live.StatsData.decode,3],4:["flash_popup_info",s.live.PopupInfo.decode,1]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.AuthorOrderLimitInfo=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{icon:null,title:"",content:"",button:""}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.AuthorOrderLimitInfo(s.live.AuthorOrderLimitInfo.prototype),r={1:["icon",s.live.ICON.decode,1],2:["title",e.string,0],3:["content",e.string,0],4:["button",e.string,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.ICON=function(){function e(e){if(this.url_list=[],e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{url_list:r.emptyArray,width:0,height:0}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.ICON(s.live.ICON.prototype),r={1:["url_list",e.string,2],2:["width",e.int32,0],3:["height",e.int32,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.StatsData=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{value:"",unit:"",type:0}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.StatsData(s.live.StatsData.prototype),r={1:["value",e.string,0],2:["unit",e.string,0],3:["type",e.int32,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.PopupInfo=function(){function e(e){if(this.urls=[],e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{title:"",text:"",urls:r.emptyArray}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.PopupInfo(s.live.PopupInfo.prototype),r={1:["title",e.string,0],2:["text",e.string,0],3:["urls",s.live.JumpUrl.decode,3]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.JumpUrl=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{key:"",text:"",url:""}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.JumpUrl(s.live.JumpUrl.prototype),r={1:["key",e.string,0],2:["text",e.string,0],3:["url",e.string,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e.LiveTargetFlashMessage=function(){function e(e){if(e)for(var t=Object.keys(e),n=0;n<t.length;++n)null!=e[t[n]]&&(this[t[n]]=e[t[n]])}return a(e,{schema:"",create_time:u,promotion_id:u}),e.decode=function(e,t){!(e instanceof o)&&(e=o.create(e));for(var n=void 0===t?e.len:e.pos+t,i=new s.live.LiveTargetFlashMessage(s.live.LiveTargetFlashMessage.prototype),r={1:["schema",e.string,0],2:["create_time",e.int64String,0],3:["promotion_id",e.int64String,0]};e.pos<n;){var a=e.uint32(),u=a>>>3;if(r[u]){c(i,e,r[u],a);continue}e.skipType(7&a)}return i},e}(),e})()}}]); |