import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
//#region src/generated/web/v3/webcast/model/base/messages.ts
function createBaseContent() {
	return {
		name: "",
		fontColor: "",
		level: "0"
	};
}
const Content = {
	encode(message, writer = new BinaryWriter()) {
		if (message.name !== "") writer.uint32(10).string(message.name);
		if (message.fontColor !== "") writer.uint32(18).string(message.fontColor);
		if (message.level !== "0") writer.uint32(24).int64(message.level);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.name = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.fontColor = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.level = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseImageModel() {
	return {
		urlList: [],
		uri: "",
		height: 0,
		width: 0,
		avgColor: "",
		imageType: 0,
		openWebUrl: "",
		content: void 0,
		isAnimated: false
	};
}
const ImageModel = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.urlList) writer.uint32(10).string(v);
		if (message.uri !== "") writer.uint32(18).string(message.uri);
		if (message.height !== 0) writer.uint32(24).int32(message.height);
		if (message.width !== 0) writer.uint32(32).int32(message.width);
		if (message.avgColor !== "") writer.uint32(42).string(message.avgColor);
		if (message.imageType !== 0) writer.uint32(48).int32(message.imageType);
		if (message.openWebUrl !== "") writer.uint32(58).string(message.openWebUrl);
		if (message.content !== void 0) Content.encode(message.content, writer.uint32(66).fork()).join();
		if (message.isAnimated !== false) writer.uint32(72).bool(message.isAnimated);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseImageModel();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.urlList.push(reader.string());
					continue;
				case 2:
					if (tag !== 18) break;
					message.uri = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.height = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.width = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.avgColor = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.imageType = reader.int32();
					continue;
				case 7:
					if (tag !== 58) break;
					message.openWebUrl = reader.string();
					continue;
				case 8:
					if (tag !== 66) break;
					message.content = Content.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 72) break;
					message.isAnimated = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/chatroom/api.ts
function createBaseEmoteModelAuditInfo() {
	return {
		violationId: "0",
		taskType: 0
	};
}
const EmoteModelAuditInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.violationId !== "0") writer.uint32(8).int64(message.violationId);
		if (message.taskType !== 0) writer.uint32(16).int32(message.taskType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseEmoteModelAuditInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.violationId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.taskType = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSOVBriefInfo() {
	return {
		cover: void 0,
		maskInfo: void 0,
		lockInfo: 0,
		createTime: "0",
		awemeId: ""
	};
}
const SOVBriefInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.cover !== void 0) ImageModel.encode(message.cover, writer.uint32(10).fork()).join();
		if (message.maskInfo !== void 0) SOVMaskInfo.encode(message.maskInfo, writer.uint32(18).fork()).join();
		if (message.lockInfo !== 0) writer.uint32(24).int32(message.lockInfo);
		if (message.createTime !== "0") writer.uint32(32).int64(message.createTime);
		if (message.awemeId !== "") writer.uint32(42).string(message.awemeId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSOVBriefInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.cover = ImageModel.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.maskInfo = SOVMaskInfo.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.lockInfo = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.createTime = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.awemeId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSOVMaskInfo() {
	return {
		type: 0,
		title: ""
	};
}
const SOVMaskInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.type !== 0) writer.uint32(8).int32(message.type);
		if (message.title !== "") writer.uint32(18).string(message.title);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSOVMaskInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.type = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.title = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSOVPinCardInfo() {
	return {
		recentlyUpdated: false,
		sovInfo: void 0
	};
}
const SOVPinCardInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.recentlyUpdated !== false) writer.uint32(8).bool(message.recentlyUpdated);
		if (message.sovInfo !== void 0) SubOnlyVideosBriefInfo.encode(message.sovInfo, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSOVPinCardInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.recentlyUpdated = reader.bool();
					continue;
				case 2:
					if (tag !== 18) break;
					message.sovInfo = SubOnlyVideosBriefInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSubGoalPinCard() {
	return {
		goalId: "0",
		timeToLive: "0",
		desc: void 0,
		target: "0",
		progress: "0"
	};
}
const SubGoalPinCard = {
	encode(message, writer = new BinaryWriter()) {
		if (message.goalId !== "0") writer.uint32(8).int64(message.goalId);
		if (message.timeToLive !== "0") writer.uint32(16).int64(message.timeToLive);
		if (message.desc !== void 0) SubPinCardText.encode(message.desc, writer.uint32(26).fork()).join();
		if (message.target !== "0") writer.uint32(32).int64(message.target);
		if (message.progress !== "0") writer.uint32(40).int64(message.progress);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSubGoalPinCard();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.goalId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.timeToLive = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.desc = SubPinCardText.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.target = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.progress = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSubOnlyVideosBriefInfo() {
	return {
		totalCountStr: "",
		totalCount: 0,
		sovBriefInfo: [],
		creatorStatus: 0,
		schema: "",
		isSovAdjustmentsEnabledForConsumer: false,
		newSovCount: 0
	};
}
const SubOnlyVideosBriefInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.totalCountStr !== "") writer.uint32(10).string(message.totalCountStr);
		if (message.totalCount !== 0) writer.uint32(16).int32(message.totalCount);
		for (const v of message.sovBriefInfo) SOVBriefInfo.encode(v, writer.uint32(26).fork()).join();
		if (message.creatorStatus !== 0) writer.uint32(32).int32(message.creatorStatus);
		if (message.schema !== "") writer.uint32(42).string(message.schema);
		if (message.isSovAdjustmentsEnabledForConsumer !== false) writer.uint32(48).bool(message.isSovAdjustmentsEnabledForConsumer);
		if (message.newSovCount !== 0) writer.uint32(56).int32(message.newSovCount);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSubOnlyVideosBriefInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.totalCountStr = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.totalCount = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.sovBriefInfo.push(SOVBriefInfo.decode(reader, reader.uint32()));
					continue;
				case 4:
					if (tag !== 32) break;
					message.creatorStatus = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.schema = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.isSovAdjustmentsEnabledForConsumer = reader.bool();
					continue;
				case 7:
					if (tag !== 56) break;
					message.newSovCount = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSubPinCard() {
	return {
		timeToLive: "0",
		title: void 0,
		desc: void 0,
		image: void 0,
		type: 0,
		id: "0",
		templateId: "0",
		goalPinCard: void 0,
		actionSchema: "",
		lastPinTimestamp: "0",
		extraInfo: void 0,
		highlightTextNum: "0",
		icons: [],
		pinSource: 0
	};
}
const SubPinCard = {
	encode(message, writer = new BinaryWriter()) {
		if (message.timeToLive !== "0") writer.uint32(8).int64(message.timeToLive);
		if (message.title !== void 0) Text$1.encode(message.title, writer.uint32(18).fork()).join();
		if (message.desc !== void 0) Text$1.encode(message.desc, writer.uint32(26).fork()).join();
		if (message.image !== void 0) ImageModel.encode(message.image, writer.uint32(34).fork()).join();
		if (message.type !== 0) writer.uint32(40).int32(message.type);
		if (message.id !== "0") writer.uint32(48).int64(message.id);
		if (message.templateId !== "0") writer.uint32(56).int64(message.templateId);
		if (message.goalPinCard !== void 0) SubGoalPinCard.encode(message.goalPinCard, writer.uint32(66).fork()).join();
		if (message.actionSchema !== "") writer.uint32(74).string(message.actionSchema);
		if (message.lastPinTimestamp !== "0") writer.uint32(80).int64(message.lastPinTimestamp);
		if (message.extraInfo !== void 0) SubPinCardExtra.encode(message.extraInfo, writer.uint32(90).fork()).join();
		if (message.highlightTextNum !== "0") writer.uint32(96).int64(message.highlightTextNum);
		for (const v of message.icons) ImageModel.encode(v, writer.uint32(106).fork()).join();
		if (message.pinSource !== 0) writer.uint32(112).int32(message.pinSource);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSubPinCard();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.timeToLive = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.title = Text$1.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.desc = Text$1.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.image = ImageModel.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 40) break;
					message.type = reader.int32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.id = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.templateId = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 66) break;
					message.goalPinCard = SubGoalPinCard.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 74) break;
					message.actionSchema = reader.string();
					continue;
				case 10:
					if (tag !== 80) break;
					message.lastPinTimestamp = reader.int64().toString();
					continue;
				case 11:
					if (tag !== 90) break;
					message.extraInfo = SubPinCardExtra.decode(reader, reader.uint32());
					continue;
				case 12:
					if (tag !== 96) break;
					message.highlightTextNum = reader.int64().toString();
					continue;
				case 13:
					if (tag !== 106) break;
					message.icons.push(ImageModel.decode(reader, reader.uint32()));
					continue;
				case 14:
					if (tag !== 112) break;
					message.pinSource = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSubPinCardExtra() {
	return { sovInfo: void 0 };
}
const SubPinCardExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.sovInfo !== void 0) SOVPinCardInfo.encode(message.sovInfo, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSubPinCardExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.sovInfo = SOVPinCardInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSubPinCardText() {
	return {
		type: 0,
		content: ""
	};
}
const SubPinCardText = {
	encode(message, writer = new BinaryWriter()) {
		if (message.type !== 0) writer.uint32(8).int32(message.type);
		if (message.content !== "") writer.uint32(18).string(message.content);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSubPinCardText();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.type = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.content = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseText$1() {
	return {
		type: 0,
		content: ""
	};
}
const Text$1 = {
	encode(message, writer = new BinaryWriter()) {
		if (message.type !== 0) writer.uint32(8).int32(message.type);
		if (message.content !== "") writer.uint32(18).string(message.content);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseText$1();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.type = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.content = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTimerDetail() {
	return {
		timerId: "0",
		anchorId: "0",
		startTimestampS: "0",
		startCountdownTimeS: "0",
		anchorSideTitle: "",
		userSideTitle: "",
		timeIncreasePerSubS: "0",
		timeIncreaseCapS: "0",
		subCount: 0,
		timeIncreaseReachCap: false,
		totalPauseTimeS: "0",
		lastPauseTimestampS: "0",
		totalTimeS: "0",
		remainingTimeS: "0",
		timestampS: "0",
		stickerX: "0",
		stickerY: "0",
		screenW: "0",
		screenH: "0",
		timerStatus: 0,
		antidirtStatus: 0,
		auditStatus: 0,
		auditInfo: void 0
	};
}
const TimerDetail = {
	encode(message, writer = new BinaryWriter()) {
		if (message.timerId !== "0") writer.uint32(8).int64(message.timerId);
		if (message.anchorId !== "0") writer.uint32(16).int64(message.anchorId);
		if (message.startTimestampS !== "0") writer.uint32(24).int64(message.startTimestampS);
		if (message.startCountdownTimeS !== "0") writer.uint32(32).int64(message.startCountdownTimeS);
		if (message.anchorSideTitle !== "") writer.uint32(42).string(message.anchorSideTitle);
		if (message.userSideTitle !== "") writer.uint32(50).string(message.userSideTitle);
		if (message.timeIncreasePerSubS !== "0") writer.uint32(56).int64(message.timeIncreasePerSubS);
		if (message.timeIncreaseCapS !== "0") writer.uint32(64).int64(message.timeIncreaseCapS);
		if (message.subCount !== 0) writer.uint32(72).int32(message.subCount);
		if (message.timeIncreaseReachCap !== false) writer.uint32(80).bool(message.timeIncreaseReachCap);
		if (message.totalPauseTimeS !== "0") writer.uint32(88).int64(message.totalPauseTimeS);
		if (message.lastPauseTimestampS !== "0") writer.uint32(96).int64(message.lastPauseTimestampS);
		if (message.totalTimeS !== "0") writer.uint32(104).int64(message.totalTimeS);
		if (message.remainingTimeS !== "0") writer.uint32(112).int64(message.remainingTimeS);
		if (message.timestampS !== "0") writer.uint32(120).int64(message.timestampS);
		if (message.stickerX !== "0") writer.uint32(128).int64(message.stickerX);
		if (message.stickerY !== "0") writer.uint32(136).int64(message.stickerY);
		if (message.screenW !== "0") writer.uint32(144).int64(message.screenW);
		if (message.screenH !== "0") writer.uint32(152).int64(message.screenH);
		if (message.timerStatus !== 0) writer.uint32(160).int32(message.timerStatus);
		if (message.antidirtStatus !== 0) writer.uint32(168).int32(message.antidirtStatus);
		if (message.auditStatus !== 0) writer.uint32(176).int32(message.auditStatus);
		if (message.auditInfo !== void 0) TimerDetailAuditInfo.encode(message.auditInfo, writer.uint32(186).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTimerDetail();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.timerId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.anchorId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.startTimestampS = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.startCountdownTimeS = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.anchorSideTitle = reader.string();
					continue;
				case 6:
					if (tag !== 50) break;
					message.userSideTitle = reader.string();
					continue;
				case 7:
					if (tag !== 56) break;
					message.timeIncreasePerSubS = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 64) break;
					message.timeIncreaseCapS = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 72) break;
					message.subCount = reader.int32();
					continue;
				case 10:
					if (tag !== 80) break;
					message.timeIncreaseReachCap = reader.bool();
					continue;
				case 11:
					if (tag !== 88) break;
					message.totalPauseTimeS = reader.int64().toString();
					continue;
				case 12:
					if (tag !== 96) break;
					message.lastPauseTimestampS = reader.int64().toString();
					continue;
				case 13:
					if (tag !== 104) break;
					message.totalTimeS = reader.int64().toString();
					continue;
				case 14:
					if (tag !== 112) break;
					message.remainingTimeS = reader.int64().toString();
					continue;
				case 15:
					if (tag !== 120) break;
					message.timestampS = reader.int64().toString();
					continue;
				case 16:
					if (tag !== 128) break;
					message.stickerX = reader.int64().toString();
					continue;
				case 17:
					if (tag !== 136) break;
					message.stickerY = reader.int64().toString();
					continue;
				case 18:
					if (tag !== 144) break;
					message.screenW = reader.int64().toString();
					continue;
				case 19:
					if (tag !== 152) break;
					message.screenH = reader.int64().toString();
					continue;
				case 20:
					if (tag !== 160) break;
					message.timerStatus = reader.int32();
					continue;
				case 21:
					if (tag !== 168) break;
					message.antidirtStatus = reader.int32();
					continue;
				case 22:
					if (tag !== 176) break;
					message.auditStatus = reader.int32();
					continue;
				case 23:
					if (tag !== 186) break;
					message.auditInfo = TimerDetailAuditInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTimerDetailAuditInfo() {
	return {
		violationId: "0",
		taskType: 0
	};
}
const TimerDetailAuditInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.violationId !== "0") writer.uint32(8).int64(message.violationId);
		if (message.taskType !== 0) writer.uint32(16).int32(message.taskType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTimerDetailAuditInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.violationId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.taskType = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/data/messages.ts
let ActionButtonType = /* @__PURE__ */ function(ActionButtonType) {
	ActionButtonType[ActionButtonType["UNKNOWN"] = 0] = "UNKNOWN";
	ActionButtonType[ActionButtonType["FOLLOW"] = 1] = "FOLLOW";
	ActionButtonType[ActionButtonType["SET_GOAL"] = 2] = "SET_GOAL";
	ActionButtonType[ActionButtonType["START_MATCH"] = 3] = "START_MATCH";
	ActionButtonType[ActionButtonType["ADD_STICKER"] = 4] = "ADD_STICKER";
	ActionButtonType[ActionButtonType["ADD_CRM_STICKER"] = 5] = "ADD_CRM_STICKER";
	ActionButtonType[ActionButtonType["START_COHOST"] = 6] = "START_COHOST";
	ActionButtonType[ActionButtonType["INVITE_LEVEL_UP_GAMEPLAY"] = 7] = "INVITE_LEVEL_UP_GAMEPLAY";
	ActionButtonType[ActionButtonType["SEND_GOODY_BAG"] = 8] = "SEND_GOODY_BAG";
	ActionButtonType[ActionButtonType["PIN_MESSAGE"] = 9] = "PIN_MESSAGE";
	ActionButtonType[ActionButtonType["ACTIVATE_UPGRADE_GIFT_GALLERY"] = 10] = "ACTIVATE_UPGRADE_GIFT_GALLERY";
	ActionButtonType[ActionButtonType["SET_FANS_CLUB_ID"] = 11] = "SET_FANS_CLUB_ID";
	ActionButtonType[ActionButtonType["VIEWER_WISH"] = 12] = "VIEWER_WISH";
	ActionButtonType[ActionButtonType["OPEN_PLAY_BOOK"] = 13] = "OPEN_PLAY_BOOK";
	ActionButtonType[ActionButtonType["LIVE_GOAL_PIN"] = 14] = "LIVE_GOAL_PIN";
	ActionButtonType[ActionButtonType["GUESSING_GAME"] = 15] = "GUESSING_GAME";
	ActionButtonType[ActionButtonType["LAUNCH_GAME_QUIZ"] = 16] = "LAUNCH_GAME_QUIZ";
	ActionButtonType[ActionButtonType["PIN_COMMENT"] = 17] = "PIN_COMMENT";
	ActionButtonType[ActionButtonType["INVITE_ON_MIC"] = 18] = "INVITE_ON_MIC";
	ActionButtonType[ActionButtonType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return ActionButtonType;
}({});
let AffiliatedInfoStickerShowScene = /* @__PURE__ */ function(AffiliatedInfoStickerShowScene) {
	AffiliatedInfoStickerShowScene[AffiliatedInfoStickerShowScene["NORMAL"] = 0] = "NORMAL";
	AffiliatedInfoStickerShowScene[AffiliatedInfoStickerShowScene["SETTLING"] = 1] = "SETTLING";
	AffiliatedInfoStickerShowScene[AffiliatedInfoStickerShowScene["SETTLED"] = 2] = "SETTLED";
	AffiliatedInfoStickerShowScene[AffiliatedInfoStickerShowScene["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return AffiliatedInfoStickerShowScene;
}({});
let AuditStatus = /* @__PURE__ */ function(AuditStatus) {
	AuditStatus[AuditStatus["AUDIT_STATUS_UNKNOWN"] = 0] = "AUDIT_STATUS_UNKNOWN";
	AuditStatus[AuditStatus["PASS"] = 1] = "PASS";
	AuditStatus[AuditStatus["FAILED"] = 2] = "FAILED";
	AuditStatus[AuditStatus["REVIEWING"] = 3] = "REVIEWING";
	AuditStatus[AuditStatus["FORBIDDEN"] = 4] = "FORBIDDEN";
	AuditStatus[AuditStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return AuditStatus;
}({});
let AuditTaskType = /* @__PURE__ */ function(AuditTaskType) {
	AuditTaskType[AuditTaskType["DEFAULT"] = 0] = "DEFAULT";
	AuditTaskType[AuditTaskType["APPEAL"] = 1] = "APPEAL";
	AuditTaskType[AuditTaskType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return AuditTaskType;
}({});
let BadgeDisplayType = /* @__PURE__ */ function(BadgeDisplayType) {
	BadgeDisplayType[BadgeDisplayType["BADGE_DISPLAY_TYPE_UNKNOWN"] = 0] = "BADGE_DISPLAY_TYPE_UNKNOWN";
	BadgeDisplayType[BadgeDisplayType["IMAGE"] = 1] = "IMAGE";
	BadgeDisplayType[BadgeDisplayType["TEXT"] = 2] = "TEXT";
	BadgeDisplayType[BadgeDisplayType["STRING"] = 3] = "STRING";
	BadgeDisplayType[BadgeDisplayType["COMBINE"] = 4] = "COMBINE";
	BadgeDisplayType[BadgeDisplayType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BadgeDisplayType;
}({});
let BadgeExhibitionType = /* @__PURE__ */ function(BadgeExhibitionType) {
	BadgeExhibitionType[BadgeExhibitionType["BADGE"] = 0] = "BADGE";
	BadgeExhibitionType[BadgeExhibitionType["IDENTITY_LABEL"] = 1] = "IDENTITY_LABEL";
	BadgeExhibitionType[BadgeExhibitionType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BadgeExhibitionType;
}({});
let BadgePriorityType = /* @__PURE__ */ function(BadgePriorityType) {
	BadgePriorityType[BadgePriorityType["BADGE_PRIORITY_TYPE_UNKNOWN"] = 0] = "BADGE_PRIORITY_TYPE_UNKNOWN";
	BadgePriorityType[BadgePriorityType["STRONG_RELATION"] = 10] = "STRONG_RELATION";
	BadgePriorityType[BadgePriorityType["PLATFORM"] = 20] = "PLATFORM";
	BadgePriorityType[BadgePriorityType["RELATION"] = 30] = "RELATION";
	BadgePriorityType[BadgePriorityType["ACTIVITY"] = 40] = "ACTIVITY";
	BadgePriorityType[BadgePriorityType["RANK_LIST"] = 50] = "RANK_LIST";
	BadgePriorityType[BadgePriorityType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BadgePriorityType;
}({});
let BadgeSceneType = /* @__PURE__ */ function(BadgeSceneType) {
	BadgeSceneType[BadgeSceneType["BADGE_SCENE_TYPE_UNKNOWN"] = 0] = "BADGE_SCENE_TYPE_UNKNOWN";
	BadgeSceneType[BadgeSceneType["ADMIN"] = 1] = "ADMIN";
	BadgeSceneType[BadgeSceneType["FIRST_RECHARGE"] = 2] = "FIRST_RECHARGE";
	BadgeSceneType[BadgeSceneType["FRIENDS"] = 3] = "FRIENDS";
	BadgeSceneType[BadgeSceneType["SUBSCRIBER"] = 4] = "SUBSCRIBER";
	BadgeSceneType[BadgeSceneType["BADGE_SCENE_TYPE_ACTIVITY"] = 5] = "BADGE_SCENE_TYPE_ACTIVITY";
	BadgeSceneType[BadgeSceneType["BADGE_SCENE_TYPE_RANK_LIST"] = 6] = "BADGE_SCENE_TYPE_RANK_LIST";
	BadgeSceneType[BadgeSceneType["NEW_SUBSCRIBER"] = 7] = "NEW_SUBSCRIBER";
	BadgeSceneType[BadgeSceneType["USER_GRADE"] = 8] = "USER_GRADE";
	BadgeSceneType[BadgeSceneType["STATE_CONTROLLED_MEDIA"] = 9] = "STATE_CONTROLLED_MEDIA";
	BadgeSceneType[BadgeSceneType["FANS"] = 10] = "FANS";
	BadgeSceneType[BadgeSceneType["LIVE_PRO"] = 11] = "LIVE_PRO";
	BadgeSceneType[BadgeSceneType["ANCHOR"] = 12] = "ANCHOR";
	BadgeSceneType[BadgeSceneType["CLASS_RANK"] = 13] = "CLASS_RANK";
	BadgeSceneType[BadgeSceneType["ENIGMA"] = 14] = "ENIGMA";
	BadgeSceneType[BadgeSceneType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BadgeSceneType;
}({});
let BadgeTextPosition = /* @__PURE__ */ function(BadgeTextPosition) {
	BadgeTextPosition[BadgeTextPosition["BADGE_TEXT_POSITION_UNKNOWN"] = 0] = "BADGE_TEXT_POSITION_UNKNOWN";
	BadgeTextPosition[BadgeTextPosition["RIGHT"] = 1] = "RIGHT";
	BadgeTextPosition[BadgeTextPosition["BELOW"] = 2] = "BELOW";
	BadgeTextPosition[BadgeTextPosition["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BadgeTextPosition;
}({});
let BattleABTestType = /* @__PURE__ */ function(BattleABTestType) {
	BattleABTestType[BattleABTestType["UNKNOWN_AB_TEST_TYPE"] = 0] = "UNKNOWN_AB_TEST_TYPE";
	BattleABTestType[BattleABTestType["MEANWHILE_INVITE"] = 1] = "MEANWHILE_INVITE";
	BattleABTestType[BattleABTestType["SPECIFIED_GIFT"] = 2] = "SPECIFIED_GIFT";
	BattleABTestType[BattleABTestType["RT_C_MESSAGE_CHANNEL"] = 3] = "RT_C_MESSAGE_CHANNEL";
	BattleABTestType[BattleABTestType["CONNECTION_TIME_OUT"] = 4] = "CONNECTION_TIME_OUT";
	BattleABTestType[BattleABTestType["REMATCH_SKIP_TEAMMATE"] = 5] = "REMATCH_SKIP_TEAMMATE";
	BattleABTestType[BattleABTestType["OPT_INVITEE_4048"] = 6] = "OPT_INVITEE_4048";
	BattleABTestType[BattleABTestType["TIME_CALIBRATE"] = 7] = "TIME_CALIBRATE";
	BattleABTestType[BattleABTestType["LIVE_MATCH_IS_PLAY_BOOK_ENABLED"] = 8] = "LIVE_MATCH_IS_PLAY_BOOK_ENABLED";
	BattleABTestType[BattleABTestType["LIVE_MATCH_PLAY_BOOK_IS_DESIGNATED_GIFT_ENABLED"] = 9] = "LIVE_MATCH_PLAY_BOOK_IS_DESIGNATED_GIFT_ENABLED";
	BattleABTestType[BattleABTestType["LIVE_MATCH_PLAY_BOOK_IS_PUNISH_EFFECT_ENABLED"] = 10] = "LIVE_MATCH_PLAY_BOOK_IS_PUNISH_EFFECT_ENABLED";
	BattleABTestType[BattleABTestType["MATCH_ICE_SHOWDOWN"] = 11] = "MATCH_ICE_SHOWDOWN";
	BattleABTestType[BattleABTestType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BattleABTestType;
}({});
let BattleInviteType = /* @__PURE__ */ function(BattleInviteType) {
	BattleInviteType[BattleInviteType["BATTLE_INVITE_TYPE_NORMAL"] = 0] = "BATTLE_INVITE_TYPE_NORMAL";
	BattleInviteType[BattleInviteType["AGAIN"] = 1] = "AGAIN";
	BattleInviteType[BattleInviteType["TEAM_PAIR_INVITE_R"] = 2] = "TEAM_PAIR_INVITE_R";
	BattleInviteType[BattleInviteType["TEAM_PAIR_QUICK_RECOMMEND_COHOST_INVITEE"] = 3] = "TEAM_PAIR_QUICK_RECOMMEND_COHOST_INVITEE";
	BattleInviteType[BattleInviteType["TEAM_PAIR_QUICK_RECOMMEND_SOLO_INVITEE"] = 4] = "TEAM_PAIR_QUICK_RECOMMEND_SOLO_INVITEE";
	BattleInviteType[BattleInviteType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BattleInviteType;
}({});
let BattleResultResult = /* @__PURE__ */ function(BattleResultResult) {
	BattleResultResult[BattleResultResult["WIN"] = 0] = "WIN";
	BattleResultResult[BattleResultResult["LOSE"] = 1] = "LOSE";
	BattleResultResult[BattleResultResult["DRAW"] = 2] = "DRAW";
	BattleResultResult[BattleResultResult["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BattleResultResult;
}({});
let BattleScene = /* @__PURE__ */ function(BattleScene) {
	BattleScene[BattleScene["BATTLE_SCENE_NORMAL"] = 0] = "BATTLE_SCENE_NORMAL";
	BattleScene[BattleScene["TEAM_PAIR"] = 1] = "TEAM_PAIR";
	BattleScene[BattleScene["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BattleScene;
}({});
let BattleSettingsBattleStatus = /* @__PURE__ */ function(BattleSettingsBattleStatus) {
	BattleSettingsBattleStatus[BattleSettingsBattleStatus["BATTLE_NOT_STARTED"] = 0] = "BATTLE_NOT_STARTED";
	BattleSettingsBattleStatus[BattleSettingsBattleStatus["BATTLE_STARTED"] = 1] = "BATTLE_STARTED";
	BattleSettingsBattleStatus[BattleSettingsBattleStatus["BATTLE_FINISHED"] = 2] = "BATTLE_FINISHED";
	BattleSettingsBattleStatus[BattleSettingsBattleStatus["BATTLE_PUNISH_STARTED"] = 3] = "BATTLE_PUNISH_STARTED";
	BattleSettingsBattleStatus[BattleSettingsBattleStatus["BATTLE_PUNISH_FINISHED"] = 4] = "BATTLE_PUNISH_FINISHED";
	BattleSettingsBattleStatus[BattleSettingsBattleStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BattleSettingsBattleStatus;
}({});
let BattleType = /* @__PURE__ */ function(BattleType) {
	BattleType[BattleType["UNKNOWN_BATTLE_TYPE"] = 0] = "UNKNOWN_BATTLE_TYPE";
	BattleType[BattleType["NORMAL_BATTLE"] = 1] = "NORMAL_BATTLE";
	BattleType[BattleType["TEAM_BATTLE"] = 2] = "TEAM_BATTLE";
	BattleType[BattleType["INDIVIDUAL_BATTLE"] = 3] = "INDIVIDUAL_BATTLE";
	BattleType[BattleType["NUM_1_VN"] = 4] = "NUM_1_VN";
	BattleType[BattleType["TAKE_THE_STAGE"] = 51] = "TAKE_THE_STAGE";
	BattleType[BattleType["GROUP_SHOW"] = 52] = "GROUP_SHOW";
	BattleType[BattleType["BEANS"] = 53] = "BEANS";
	BattleType[BattleType["GROUP_RANK_LIST"] = 54] = "GROUP_RANK_LIST";
	BattleType[BattleType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BattleType;
}({});
let ClassType = /* @__PURE__ */ function(ClassType) {
	ClassType[ClassType["NONE"] = 0] = "NONE";
	ClassType[ClassType["D_5"] = 100] = "D_5";
	ClassType[ClassType["D_4"] = 200] = "D_4";
	ClassType[ClassType["D_3"] = 300] = "D_3";
	ClassType[ClassType["D_2"] = 400] = "D_2";
	ClassType[ClassType["D_1"] = 500] = "D_1";
	ClassType[ClassType["C_5"] = 600] = "C_5";
	ClassType[ClassType["C_4"] = 700] = "C_4";
	ClassType[ClassType["C_3"] = 800] = "C_3";
	ClassType[ClassType["C_2"] = 900] = "C_2";
	ClassType[ClassType["C_1"] = 1e3] = "C_1";
	ClassType[ClassType["B_5"] = 1100] = "B_5";
	ClassType[ClassType["B_4"] = 1200] = "B_4";
	ClassType[ClassType["B_3"] = 1300] = "B_3";
	ClassType[ClassType["B_2"] = 1400] = "B_2";
	ClassType[ClassType["B_1"] = 1500] = "B_1";
	ClassType[ClassType["A_5"] = 1600] = "A_5";
	ClassType[ClassType["A_4"] = 1700] = "A_4";
	ClassType[ClassType["A_3"] = 1800] = "A_3";
	ClassType[ClassType["A_2"] = 1900] = "A_2";
	ClassType[ClassType["A_1"] = 2e3] = "A_1";
	ClassType[ClassType["S"] = 2100] = "S";
	ClassType[ClassType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return ClassType;
}({});
let CoHostPermissoinType = /* @__PURE__ */ function(CoHostPermissoinType) {
	CoHostPermissoinType[CoHostPermissoinType["NO_PERM"] = 0] = "NO_PERM";
	CoHostPermissoinType[CoHostPermissoinType["COHOST_PERM"] = 1] = "COHOST_PERM";
	CoHostPermissoinType[CoHostPermissoinType["MULTI_HOST_PERM"] = 2] = "MULTI_HOST_PERM";
	CoHostPermissoinType[CoHostPermissoinType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return CoHostPermissoinType;
}({});
let CohostABTestType = /* @__PURE__ */ function(CohostABTestType) {
	CohostABTestType[CohostABTestType["COHOST_AB_TEST_TYPE_UNKNOWN"] = 0] = "COHOST_AB_TEST_TYPE_UNKNOWN";
	CohostABTestType[CohostABTestType["LINK_TIME_OUT_STRATEGY"] = 1] = "LINK_TIME_OUT_STRATEGY";
	CohostABTestType[CohostABTestType["COHOST_RESERVATION"] = 2] = "COHOST_RESERVATION";
	CohostABTestType[CohostABTestType["QUICK_PAIR_NEW_ARCH_SWITCH"] = 3] = "QUICK_PAIR_NEW_ARCH_SWITCH";
	CohostABTestType[CohostABTestType["COHOST_INVITATION_TEXT"] = 4] = "COHOST_INVITATION_TEXT";
	CohostABTestType[CohostABTestType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return CohostABTestType;
}({});
let CohostLayoutMode = /* @__PURE__ */ function(CohostLayoutMode) {
	CohostLayoutMode[CohostLayoutMode["COHOST_LAYOUT_MODE_NORMAL"] = 0] = "COHOST_LAYOUT_MODE_NORMAL";
	CohostLayoutMode[CohostLayoutMode["SCREEN_SHARE"] = 1] = "SCREEN_SHARE";
	CohostLayoutMode[CohostLayoutMode["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return CohostLayoutMode;
}({});
let CohostNudgeInfo = /* @__PURE__ */ function(CohostNudgeInfo) {
	CohostNudgeInfo[CohostNudgeInfo["COHOST_NUDGE_INFO_NONE"] = 0] = "COHOST_NUDGE_INFO_NONE";
	CohostNudgeInfo[CohostNudgeInfo["YOUR_NUDGE"] = 1] = "YOUR_NUDGE";
	CohostNudgeInfo[CohostNudgeInfo["NUDGED_YOU"] = 2] = "NUDGED_YOU";
	CohostNudgeInfo[CohostNudgeInfo["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return CohostNudgeInfo;
}({});
let ContentSource = /* @__PURE__ */ function(ContentSource) {
	ContentSource[ContentSource["CONTENT_SOURCE_UNKNOWN"] = 0] = "CONTENT_SOURCE_UNKNOWN";
	ContentSource[ContentSource["CONTENT_SOURCE_NORMAL"] = 1] = "CONTENT_SOURCE_NORMAL";
	ContentSource[ContentSource["CAMERA"] = 2] = "CAMERA";
	ContentSource[ContentSource["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return ContentSource;
}({});
let DetailBlockReason = /* @__PURE__ */ function(DetailBlockReason) {
	DetailBlockReason[DetailBlockReason["BLOCK_REASON_NONE"] = 0] = "BLOCK_REASON_NONE";
	DetailBlockReason[DetailBlockReason["IN_LINKMIC"] = 100] = "IN_LINKMIC";
	DetailBlockReason[DetailBlockReason["MULTI_HOST_FULL"] = 101] = "MULTI_HOST_FULL";
	DetailBlockReason[DetailBlockReason["IN_COHOST_LINKMIC"] = 102] = "IN_COHOST_LINKMIC";
	DetailBlockReason[DetailBlockReason["DEAL_OTHER_INVITE"] = 103] = "DEAL_OTHER_INVITE";
	DetailBlockReason[DetailBlockReason["DEAL_OTHER_APPLY"] = 104] = "DEAL_OTHER_APPLY";
	DetailBlockReason[DetailBlockReason["IN_PK_STATUS"] = 105] = "IN_PK_STATUS";
	DetailBlockReason[DetailBlockReason["SELF_IN_PK_STATUS"] = 106] = "SELF_IN_PK_STATUS";
	DetailBlockReason[DetailBlockReason["IN_COHOST_INVITE_APPLY"] = 107] = "IN_COHOST_INVITE_APPLY";
	DetailBlockReason[DetailBlockReason["IN_AUDIENCE_LINKMIC"] = 108] = "IN_AUDIENCE_LINKMIC";
	DetailBlockReason[DetailBlockReason["WAITING_AUTO_MATCH"] = 109] = "WAITING_AUTO_MATCH";
	DetailBlockReason[DetailBlockReason["INVITE_NEED_TO_JOIN"] = 110] = "INVITE_NEED_TO_JOIN";
	DetailBlockReason[DetailBlockReason["JOIN_NEED_TO_INVITE"] = 111] = "JOIN_NEED_TO_INVITE";
	DetailBlockReason[DetailBlockReason["IN_TAKE_THE_STAGE_STATUS"] = 112] = "IN_TAKE_THE_STAGE_STATUS";
	DetailBlockReason[DetailBlockReason["SELF_IN_TAKE_THE_STAGE_STATUS"] = 113] = "SELF_IN_TAKE_THE_STAGE_STATUS";
	DetailBlockReason[DetailBlockReason["IN_CATCH_BEANS"] = 114] = "IN_CATCH_BEANS";
	DetailBlockReason[DetailBlockReason["SELF_IN_CATCH_BEANS"] = 115] = "SELF_IN_CATCH_BEANS";
	DetailBlockReason[DetailBlockReason["JOINING_LAST_SEAT"] = 116] = "JOINING_LAST_SEAT";
	DetailBlockReason[DetailBlockReason["IN_COHOST_X_MULTIGUEST"] = 117] = "IN_COHOST_X_MULTIGUEST";
	DetailBlockReason[DetailBlockReason["SELF_IN_COHOST_X_MULTIGUEST"] = 118] = "SELF_IN_COHOST_X_MULTIGUEST";
	DetailBlockReason[DetailBlockReason["NO_LINKMIC_PERMISSION"] = 200] = "NO_LINKMIC_PERMISSION";
	DetailBlockReason[DetailBlockReason["ANCHOR_LINKMIC_SETTING_CLOSED"] = 202] = "ANCHOR_LINKMIC_SETTING_CLOSED";
	DetailBlockReason[DetailBlockReason["ANCHOR_LINKMIC_REFUSE_NOT_FOLLOWER"] = 203] = "ANCHOR_LINKMIC_REFUSE_NOT_FOLLOWER";
	DetailBlockReason[DetailBlockReason["ANCHOR_LINKMIC_BLOCK_INVITATION_OF_LIVE"] = 204] = "ANCHOR_LINKMIC_BLOCK_INVITATION_OF_LIVE";
	DetailBlockReason[DetailBlockReason["ANCHOR_LINKMIC_REFUSE_FRIEND_INVITE"] = 205] = "ANCHOR_LINKMIC_REFUSE_FRIEND_INVITE";
	DetailBlockReason[DetailBlockReason["ANCHOR_LINKMIC_REFUSE_FRIEND_APPLY"] = 206] = "ANCHOR_LINKMIC_REFUSE_FRIEND_APPLY";
	DetailBlockReason[DetailBlockReason["ANCHOR_LINKMIC_REFUSE_NOT_FRIEND_INVITE"] = 207] = "ANCHOR_LINKMIC_REFUSE_NOT_FRIEND_INVITE";
	DetailBlockReason[DetailBlockReason["ANCHOR_LINKMIC_REFUSE_NOT_FRIEND_APPLY"] = 208] = "ANCHOR_LINKMIC_REFUSE_NOT_FRIEND_APPLY";
	DetailBlockReason[DetailBlockReason["ANCHOR_LINKMIC_BLOCK_INVITATION_OF_MULTI_HOST"] = 209] = "ANCHOR_LINKMIC_BLOCK_INVITATION_OF_MULTI_HOST";
	DetailBlockReason[DetailBlockReason["ANCHOR_LINKMIC_BLOCK_APPLY_OF_MULTI_HOST"] = 210] = "ANCHOR_LINKMIC_BLOCK_APPLY_OF_MULTI_HOST";
	DetailBlockReason[DetailBlockReason["ROOM_PAUSED"] = 300] = "ROOM_PAUSED";
	DetailBlockReason[DetailBlockReason["LIVE_TYPE_AUDIO"] = 301] = "LIVE_TYPE_AUDIO";
	DetailBlockReason[DetailBlockReason["ROOM_INTERACTION_CONFLICT"] = 302] = "ROOM_INTERACTION_CONFLICT";
	DetailBlockReason[DetailBlockReason["RIVAL_VERSION_NOT_SUPPORT"] = 303] = "RIVAL_VERSION_NOT_SUPPORT";
	DetailBlockReason[DetailBlockReason["SELF_VERSION_NOT_SUPPORT"] = 304] = "SELF_VERSION_NOT_SUPPORT";
	DetailBlockReason[DetailBlockReason["MATURE_THEME_MISMATCH"] = 305] = "MATURE_THEME_MISMATCH";
	DetailBlockReason[DetailBlockReason["SELF_IN_OFFICIAL_CHANNEL"] = 306] = "SELF_IN_OFFICIAL_CHANNEL";
	DetailBlockReason[DetailBlockReason["RIVAL_IN_OFFICIAL_CHANNEL"] = 307] = "RIVAL_IN_OFFICIAL_CHANNEL";
	DetailBlockReason[DetailBlockReason["IN_OFFICIAL_BACKUP_CHANNEL"] = 308] = "IN_OFFICIAL_BACKUP_CHANNEL";
	DetailBlockReason[DetailBlockReason["RIVAL_RESERVE_FULL"] = 309] = "RIVAL_RESERVE_FULL";
	DetailBlockReason[DetailBlockReason["ANCHOR_NOT_LIVING"] = 310] = "ANCHOR_NOT_LIVING";
	DetailBlockReason[DetailBlockReason["ANCHOR_IS_SELF"] = 311] = "ANCHOR_IS_SELF";
	DetailBlockReason[DetailBlockReason["PRIVATE_ROOM"] = 312] = "PRIVATE_ROOM";
	DetailBlockReason[DetailBlockReason["BLOCKED_BY_RIVAL"] = 313] = "BLOCKED_BY_RIVAL";
	DetailBlockReason[DetailBlockReason["SELF_BLOCKED_RIVAL"] = 314] = "SELF_BLOCKED_RIVAL";
	DetailBlockReason[DetailBlockReason["VIEWER_REGION_NOT_SUPPORT"] = 315] = "VIEWER_REGION_NOT_SUPPORT";
	DetailBlockReason[DetailBlockReason["SUBSCRIBER_ROOM"] = 316] = "SUBSCRIBER_ROOM";
	DetailBlockReason[DetailBlockReason["REGIONAL_BLOCK"] = 317] = "REGIONAL_BLOCK";
	DetailBlockReason[DetailBlockReason["PENALTY_BANNED"] = 318] = "PENALTY_BANNED";
	DetailBlockReason[DetailBlockReason["BLOCK_PROGRAM_LIVE_TAB_ROOM"] = 319] = "BLOCK_PROGRAM_LIVE_TAB_ROOM";
	DetailBlockReason[DetailBlockReason["USER_NOT_ONLINE"] = 320] = "USER_NOT_ONLINE";
	DetailBlockReason[DetailBlockReason["IN_LIVE_STUDIO"] = 321] = "IN_LIVE_STUDIO";
	DetailBlockReason[DetailBlockReason["ANCHOR_NO_FEATURE_ACCESS"] = 323] = "ANCHOR_NO_FEATURE_ACCESS";
	DetailBlockReason[DetailBlockReason["NETWORK_ERROR"] = 400] = "NETWORK_ERROR";
	DetailBlockReason[DetailBlockReason["ROOM_FILTER_ERROR"] = 401] = "ROOM_FILTER_ERROR";
	DetailBlockReason[DetailBlockReason["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return DetailBlockReason;
}({});
let DisplayControlHorizontalOnclickTriggerType = /* @__PURE__ */ function(DisplayControlHorizontalOnclickTriggerType) {
	DisplayControlHorizontalOnclickTriggerType[DisplayControlHorizontalOnclickTriggerType["ONCLICK_TRIGGER_TYPE_UNKNOWN"] = 0] = "ONCLICK_TRIGGER_TYPE_UNKNOWN";
	DisplayControlHorizontalOnclickTriggerType[DisplayControlHorizontalOnclickTriggerType["ONCLICK_TRIGGER_TYPE_LEFT"] = 1] = "ONCLICK_TRIGGER_TYPE_LEFT";
	DisplayControlHorizontalOnclickTriggerType[DisplayControlHorizontalOnclickTriggerType["ONCLICK_TRIGGER_TYPE_MIDDLE"] = 2] = "ONCLICK_TRIGGER_TYPE_MIDDLE";
	DisplayControlHorizontalOnclickTriggerType[DisplayControlHorizontalOnclickTriggerType["ONCLICK_TRIGGER_TYPE_RIGHT"] = 3] = "ONCLICK_TRIGGER_TYPE_RIGHT";
	DisplayControlHorizontalOnclickTriggerType[DisplayControlHorizontalOnclickTriggerType["ONCLICK_TRIGGER_TYPE_ALL_AREA"] = 4] = "ONCLICK_TRIGGER_TYPE_ALL_AREA";
	DisplayControlHorizontalOnclickTriggerType[DisplayControlHorizontalOnclickTriggerType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return DisplayControlHorizontalOnclickTriggerType;
}({});
let DisplayStatus = /* @__PURE__ */ function(DisplayStatus) {
	DisplayStatus[DisplayStatus["DISPLAY_STATUS_NORMAL"] = 0] = "DISPLAY_STATUS_NORMAL";
	DisplayStatus[DisplayStatus["SHADOW"] = 1] = "SHADOW";
	DisplayStatus[DisplayStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return DisplayStatus;
}({});
let EmotePrivateType = /* @__PURE__ */ function(EmotePrivateType) {
	EmotePrivateType[EmotePrivateType["EMOTE_PRIVATE_TYPE_NORMAL"] = 0] = "EMOTE_PRIVATE_TYPE_NORMAL";
	EmotePrivateType[EmotePrivateType["SUB_WAVE"] = 1] = "SUB_WAVE";
	EmotePrivateType[EmotePrivateType["GUESSING"] = 101] = "GUESSING";
	EmotePrivateType[EmotePrivateType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return EmotePrivateType;
}({});
let EmoteScene = /* @__PURE__ */ function(EmoteScene) {
	EmoteScene[EmoteScene["SUBSCRIPTION"] = 0] = "SUBSCRIPTION";
	EmoteScene[EmoteScene["GAME"] = 1] = "GAME";
	EmoteScene[EmoteScene["FANS_CLUB"] = 2] = "FANS_CLUB";
	EmoteScene[EmoteScene["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return EmoteScene;
}({});
let EmoteType = /* @__PURE__ */ function(EmoteType) {
	EmoteType[EmoteType["EMOTE_TYPE_NORMAL"] = 0] = "EMOTE_TYPE_NORMAL";
	EmoteType[EmoteType["WITH_STICKER"] = 1] = "WITH_STICKER";
	EmoteType[EmoteType["EMOTE_TYPE_FANS"] = 2] = "EMOTE_TYPE_FANS";
	EmoteType[EmoteType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return EmoteType;
}({});
let EntranceGroupType = /* @__PURE__ */ function(EntranceGroupType) {
	EntranceGroupType[EntranceGroupType["ENTRANCE_GROUP_TYPE_DEFAULT"] = 0] = "ENTRANCE_GROUP_TYPE_DEFAULT";
	EntranceGroupType[EntranceGroupType["GIFT"] = 1] = "GIFT";
	EntranceGroupType[EntranceGroupType["E_COMMERCE"] = 2] = "E_COMMERCE";
	EntranceGroupType[EntranceGroupType["ENTRANCE_GROUP_TYPE_GAME"] = 3] = "ENTRANCE_GROUP_TYPE_GAME";
	EntranceGroupType[EntranceGroupType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return EntranceGroupType;
}({});
let EnvelopeBusinessType = /* @__PURE__ */ function(EnvelopeBusinessType) {
	EnvelopeBusinessType[EnvelopeBusinessType["BUSINESS_TYPE_UNKNOWN"] = 0] = "BUSINESS_TYPE_UNKNOWN";
	EnvelopeBusinessType[EnvelopeBusinessType["BUSINESS_TYPE_USER_DIAMOND"] = 1] = "BUSINESS_TYPE_USER_DIAMOND";
	EnvelopeBusinessType[EnvelopeBusinessType["BUSINESS_TYPE_PLATFORM_DIAMOND"] = 2] = "BUSINESS_TYPE_PLATFORM_DIAMOND";
	EnvelopeBusinessType[EnvelopeBusinessType["BUSINESS_TYPE_PLATFORM_SHELL"] = 3] = "BUSINESS_TYPE_PLATFORM_SHELL";
	EnvelopeBusinessType[EnvelopeBusinessType["BUSINESS_TYPE_PORTAL"] = 4] = "BUSINESS_TYPE_PORTAL";
	EnvelopeBusinessType[EnvelopeBusinessType["BUSINESS_TYPE_PLATFORM_MER_CH"] = 5] = "BUSINESS_TYPE_PLATFORM_MER_CH";
	EnvelopeBusinessType[EnvelopeBusinessType["BUSINESS_TYPE_E_OY_DIAMOND"] = 6] = "BUSINESS_TYPE_E_OY_DIAMOND";
	EnvelopeBusinessType[EnvelopeBusinessType["BUSINESS_TYPE_FANCLUB_GT_M"] = 7] = "BUSINESS_TYPE_FANCLUB_GT_M";
	EnvelopeBusinessType[EnvelopeBusinessType["BUSINESS_TYPE_PLATFORM_PORTAL"] = 9] = "BUSINESS_TYPE_PLATFORM_PORTAL";
	EnvelopeBusinessType[EnvelopeBusinessType["BUSINESS_TYPE_EO_YG_TM_POPULARITY_TICKET"] = 10] = "BUSINESS_TYPE_EO_YG_TM_POPULARITY_TICKET";
	EnvelopeBusinessType[EnvelopeBusinessType["BUSINESS_TYPE_EO_YG_TM_REVENUE_DIAMOND"] = 11] = "BUSINESS_TYPE_EO_YG_TM_REVENUE_DIAMOND";
	EnvelopeBusinessType[EnvelopeBusinessType["BUSINESS_TYPE_EO_YG_TM_GAME_DIAMOND"] = 12] = "BUSINESS_TYPE_EO_YG_TM_GAME_DIAMOND";
	EnvelopeBusinessType[EnvelopeBusinessType["BUSINESS_TYPE_CREATOR_LEAGUE_PROMOTION_GT_M"] = 13] = "BUSINESS_TYPE_CREATOR_LEAGUE_PROMOTION_GT_M";
	EnvelopeBusinessType[EnvelopeBusinessType["BUSINESS_TYPE_MOY_GT_M_POPULARITY_TICKET"] = 14] = "BUSINESS_TYPE_MOY_GT_M_POPULARITY_TICKET";
	EnvelopeBusinessType[EnvelopeBusinessType["SUPER_FAN_BOX"] = 19] = "SUPER_FAN_BOX";
	EnvelopeBusinessType[EnvelopeBusinessType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return EnvelopeBusinessType;
}({});
let EnvelopeDisplay = /* @__PURE__ */ function(EnvelopeDisplay) {
	EnvelopeDisplay[EnvelopeDisplay["ENVELOPE_DISPLAY_UNKNOWN"] = 0] = "ENVELOPE_DISPLAY_UNKNOWN";
	EnvelopeDisplay[EnvelopeDisplay["NEW"] = 1] = "NEW";
	EnvelopeDisplay[EnvelopeDisplay["HIDE"] = 2] = "HIDE";
	EnvelopeDisplay[EnvelopeDisplay["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return EnvelopeDisplay;
}({});
let EnvelopeFollowShowStatus = /* @__PURE__ */ function(EnvelopeFollowShowStatus) {
	EnvelopeFollowShowStatus[EnvelopeFollowShowStatus["ENVELOPE_FOLLOW_SHOW_UNKNOWN"] = 0] = "ENVELOPE_FOLLOW_SHOW_UNKNOWN";
	EnvelopeFollowShowStatus[EnvelopeFollowShowStatus["ENVELOPE_FOLLOW_SHOW"] = 1] = "ENVELOPE_FOLLOW_SHOW";
	EnvelopeFollowShowStatus[EnvelopeFollowShowStatus["ENVELOPE_FOLLOW_NOT_SHOW"] = 2] = "ENVELOPE_FOLLOW_NOT_SHOW";
	EnvelopeFollowShowStatus[EnvelopeFollowShowStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return EnvelopeFollowShowStatus;
}({});
let GamepadTaskType = /* @__PURE__ */ function(GamepadTaskType) {
	GamepadTaskType[GamepadTaskType["PARTNERSHIP"] = 0] = "PARTNERSHIP";
	GamepadTaskType[GamepadTaskType["PUBLISHER"] = 1] = "PUBLISHER";
	GamepadTaskType[GamepadTaskType["EVENT"] = 2] = "EVENT";
	GamepadTaskType[GamepadTaskType["ORG"] = 3] = "ORG";
	GamepadTaskType[GamepadTaskType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return GamepadTaskType;
}({});
let GiftPanelBeaconBubbleType = /* @__PURE__ */ function(GiftPanelBeaconBubbleType) {
	GiftPanelBeaconBubbleType[GiftPanelBeaconBubbleType["GIFT_PANEL_BEACON_BUBBLE_TYPE_UNKNOWN"] = 0] = "GIFT_PANEL_BEACON_BUBBLE_TYPE_UNKNOWN";
	GiftPanelBeaconBubbleType[GiftPanelBeaconBubbleType["GIFT_PANEL_BEACON_BUBBLE_TYPE_DEFAULT"] = 1] = "GIFT_PANEL_BEACON_BUBBLE_TYPE_DEFAULT";
	GiftPanelBeaconBubbleType[GiftPanelBeaconBubbleType["LYNX_DEFAULT"] = 2] = "LYNX_DEFAULT";
	GiftPanelBeaconBubbleType[GiftPanelBeaconBubbleType["LIVE_GOAL"] = 3] = "LIVE_GOAL";
	GiftPanelBeaconBubbleType[GiftPanelBeaconBubbleType["GIFT_GALLERY"] = 4] = "GIFT_GALLERY";
	GiftPanelBeaconBubbleType[GiftPanelBeaconBubbleType["UG_HIGH_PRIORITY"] = 5] = "UG_HIGH_PRIORITY";
	GiftPanelBeaconBubbleType[GiftPanelBeaconBubbleType["UG_LOW_PRIORITY"] = 6] = "UG_LOW_PRIORITY";
	GiftPanelBeaconBubbleType[GiftPanelBeaconBubbleType["VIEWER_PICKS"] = 7] = "VIEWER_PICKS";
	GiftPanelBeaconBubbleType[GiftPanelBeaconBubbleType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return GiftPanelBeaconBubbleType;
}({});
let GiftPermissionType = /* @__PURE__ */ function(GiftPermissionType) {
	GiftPermissionType[GiftPermissionType["UNKNOWN_TYPE"] = 0] = "UNKNOWN_TYPE";
	GiftPermissionType[GiftPermissionType["NO_GIFT_PERMISSION"] = 1] = "NO_GIFT_PERMISSION";
	GiftPermissionType[GiftPermissionType["ANCHOR_CLOSE"] = 2] = "ANCHOR_CLOSE";
	GiftPermissionType[GiftPermissionType["HAS_GIFT_PERMISSION"] = 3] = "HAS_GIFT_PERMISSION";
	GiftPermissionType[GiftPermissionType["ANCHOR_BANNED"] = 4] = "ANCHOR_BANNED";
	GiftPermissionType[GiftPermissionType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return GiftPermissionType;
}({});
let GiftShowType = /* @__PURE__ */ function(GiftShowType) {
	GiftShowType[GiftShowType["GIFT_SHOW_DEFAULT"] = 0] = "GIFT_SHOW_DEFAULT";
	GiftShowType[GiftShowType["GIFT_SHOW_NAME"] = 1] = "GIFT_SHOW_NAME";
	GiftShowType[GiftShowType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return GiftShowType;
}({});
let GiftStructSchemeGiftType = /* @__PURE__ */ function(GiftStructSchemeGiftType) {
	GiftStructSchemeGiftType[GiftStructSchemeGiftType["SCHEME_GIFT_TYPE_NONE"] = 0] = "SCHEME_GIFT_TYPE_NONE";
	GiftStructSchemeGiftType[GiftStructSchemeGiftType["SCHEME_GIFT_TYPE_MAGIC"] = 1] = "SCHEME_GIFT_TYPE_MAGIC";
	GiftStructSchemeGiftType[GiftStructSchemeGiftType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return GiftStructSchemeGiftType;
}({});
let GiftTrayStyle = /* @__PURE__ */ function(GiftTrayStyle) {
	GiftTrayStyle[GiftTrayStyle["GIFT_TRAY_STYLE_DEFAULT"] = 0] = "GIFT_TRAY_STYLE_DEFAULT";
	GiftTrayStyle[GiftTrayStyle["GALLERY_REPURCHASE_FULL"] = 1] = "GALLERY_REPURCHASE_FULL";
	GiftTrayStyle[GiftTrayStyle["GALLERY_REPURCHASE_BACKGROUND"] = 2] = "GALLERY_REPURCHASE_BACKGROUND";
	GiftTrayStyle[GiftTrayStyle["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return GiftTrayStyle;
}({});
let GoalMessageSource = /* @__PURE__ */ function(GoalMessageSource) {
	GoalMessageSource[GoalMessageSource["GOAL_MESSAGE_SOURCE_UNKNOWN"] = 0] = "GOAL_MESSAGE_SOURCE_UNKNOWN";
	GoalMessageSource[GoalMessageSource["COMMIT"] = 1] = "COMMIT";
	GoalMessageSource[GoalMessageSource["PROGRESS_UPDATE"] = 2] = "PROGRESS_UPDATE";
	GoalMessageSource[GoalMessageSource["PIN"] = 3] = "PIN";
	GoalMessageSource[GoalMessageSource["UNPIN"] = 4] = "UNPIN";
	GoalMessageSource[GoalMessageSource["REVIEW_CALLBACK"] = 5] = "REVIEW_CALLBACK";
	GoalMessageSource[GoalMessageSource["SUSPEND"] = 6] = "SUSPEND";
	GoalMessageSource[GoalMessageSource["CHALLENGE_PROMPT"] = 7] = "CHALLENGE_PROMPT";
	GoalMessageSource[GoalMessageSource["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return GoalMessageSource;
}({});
let GuestMicCameraChangeScene = /* @__PURE__ */ function(GuestMicCameraChangeScene) {
	GuestMicCameraChangeScene[GuestMicCameraChangeScene["CHANGE_SCENE_UNKNOWN"] = 0] = "CHANGE_SCENE_UNKNOWN";
	GuestMicCameraChangeScene[GuestMicCameraChangeScene["LIVE_SHOW_BY_ANCHOR_AUTO"] = 1] = "LIVE_SHOW_BY_ANCHOR_AUTO";
	GuestMicCameraChangeScene[GuestMicCameraChangeScene["LIVE_SHOW_BY_SERVER_NORMAL"] = 2] = "LIVE_SHOW_BY_SERVER_NORMAL";
	GuestMicCameraChangeScene[GuestMicCameraChangeScene["LIVE_SHOW_BY_SHOW_END"] = 3] = "LIVE_SHOW_BY_SHOW_END";
	GuestMicCameraChangeScene[GuestMicCameraChangeScene["COHOST_WITH_GUEST"] = 4] = "COHOST_WITH_GUEST";
	GuestMicCameraChangeScene[GuestMicCameraChangeScene["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return GuestMicCameraChangeScene;
}({});
let GuestMicCameraManageOp = /* @__PURE__ */ function(GuestMicCameraManageOp) {
	GuestMicCameraManageOp[GuestMicCameraManageOp["OPEN_MIC"] = 0] = "OPEN_MIC";
	GuestMicCameraManageOp[GuestMicCameraManageOp["OPEN_CAMERA"] = 1] = "OPEN_CAMERA";
	GuestMicCameraManageOp[GuestMicCameraManageOp["CLOSE_MIC"] = 2] = "CLOSE_MIC";
	GuestMicCameraManageOp[GuestMicCameraManageOp["CLOSE_CAMERA"] = 3] = "CLOSE_CAMERA";
	GuestMicCameraManageOp[GuestMicCameraManageOp["CLOSE_MIC_PUNISH"] = 4] = "CLOSE_MIC_PUNISH";
	GuestMicCameraManageOp[GuestMicCameraManageOp["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return GuestMicCameraManageOp;
}({});
let HashtagNamespace = /* @__PURE__ */ function(HashtagNamespace) {
	HashtagNamespace[HashtagNamespace["GLOBAL"] = 0] = "GLOBAL";
	HashtagNamespace[HashtagNamespace["GAMING"] = 1] = "GAMING";
	HashtagNamespace[HashtagNamespace["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return HashtagNamespace;
}({});
let HorizontalPaddingRule = /* @__PURE__ */ function(HorizontalPaddingRule) {
	HorizontalPaddingRule[HorizontalPaddingRule["USE_MIDDLE_AND_WIDTH"] = 0] = "USE_MIDDLE_AND_WIDTH";
	HorizontalPaddingRule[HorizontalPaddingRule["USE_LEFT_AND_MIDDLE_AND_RIGHT"] = 1] = "USE_LEFT_AND_MIDDLE_AND_RIGHT";
	HorizontalPaddingRule[HorizontalPaddingRule["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return HorizontalPaddingRule;
}({});
let IceShowdownSetting = /* @__PURE__ */ function(IceShowdownSetting) {
	IceShowdownSetting[IceShowdownSetting["ICE_SHOWDOWN_OFF"] = 0] = "ICE_SHOWDOWN_OFF";
	IceShowdownSetting[IceShowdownSetting["ICE_SHOWDOWN_MANUAL"] = 1] = "ICE_SHOWDOWN_MANUAL";
	IceShowdownSetting[IceShowdownSetting["ICE_SHOWDOWN_SYSTEM"] = 2] = "ICE_SHOWDOWN_SYSTEM";
	IceShowdownSetting[IceShowdownSetting["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return IceShowdownSetting;
}({});
let LinkListStatus = /* @__PURE__ */ function(LinkListStatus) {
	LinkListStatus[LinkListStatus["STATUS_UN_KOWN"] = 0] = "STATUS_UN_KOWN";
	LinkListStatus[LinkListStatus["STATUS_WAITING"] = 1] = "STATUS_WAITING";
	LinkListStatus[LinkListStatus["STATUS_LINKED"] = 2] = "STATUS_LINKED";
	LinkListStatus[LinkListStatus["STATUS_FINISHED"] = 3] = "STATUS_FINISHED";
	LinkListStatus[LinkListStatus["STATUS_WAITING_OR_LINKED"] = 4] = "STATUS_WAITING_OR_LINKED";
	LinkListStatus[LinkListStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkListStatus;
}({});
let LinkRoleType = /* @__PURE__ */ function(LinkRoleType) {
	LinkRoleType[LinkRoleType["TYPE_ROLE_TYPE_UN_KOWN"] = 0] = "TYPE_ROLE_TYPE_UN_KOWN";
	LinkRoleType[LinkRoleType["TYPE_LEADER"] = 1] = "TYPE_LEADER";
	LinkRoleType[LinkRoleType["TYPE_PLAYER"] = 2] = "TYPE_PLAYER";
	LinkRoleType[LinkRoleType["TYPE_INVITEE"] = 3] = "TYPE_INVITEE";
	LinkRoleType[LinkRoleType["TYPE_APP_LIER"] = 4] = "TYPE_APP_LIER";
	LinkRoleType[LinkRoleType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkRoleType;
}({});
let LinkSilenceStatus = /* @__PURE__ */ function(LinkSilenceStatus) {
	LinkSilenceStatus[LinkSilenceStatus["STATUS_UN_SILENCE"] = 0] = "STATUS_UN_SILENCE";
	LinkSilenceStatus[LinkSilenceStatus["STATUS_SILENCE_BY_SELF"] = 1] = "STATUS_SILENCE_BY_SELF";
	LinkSilenceStatus[LinkSilenceStatus["STATUS_SILENCE_BY_OWNER"] = 2] = "STATUS_SILENCE_BY_OWNER";
	LinkSilenceStatus[LinkSilenceStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkSilenceStatus;
}({});
let LinkType = /* @__PURE__ */ function(LinkType) {
	LinkType[LinkType["TYPE_UNKNOWN"] = 0] = "TYPE_UNKNOWN";
	LinkType[LinkType["TYPE_VIDEO"] = 1] = "TYPE_VIDEO";
	LinkType[LinkType["TYPE_AUDIO"] = 2] = "TYPE_AUDIO";
	LinkType[LinkType["TYPE_VIRTUAL"] = 3] = "TYPE_VIRTUAL";
	LinkType[LinkType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkType;
}({});
let LinkUserType = /* @__PURE__ */ function(LinkUserType) {
	LinkUserType[LinkUserType["LINK_USER_TYPE_DEFAULT"] = 0] = "LINK_USER_TYPE_DEFAULT";
	LinkUserType[LinkUserType["KARAOKE"] = 1] = "KARAOKE";
	LinkUserType[LinkUserType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkUserType;
}({});
let LinkmicApplierSortSetting = /* @__PURE__ */ function(LinkmicApplierSortSetting) {
	LinkmicApplierSortSetting[LinkmicApplierSortSetting["LINKMIC_APP_LIER_SORT_SETTING_NONE"] = 0] = "LINKMIC_APP_LIER_SORT_SETTING_NONE";
	LinkmicApplierSortSetting[LinkmicApplierSortSetting["LINKMIC_APP_LIER_SORT_SETTING_BY_GIFT_SCORE"] = 1] = "LINKMIC_APP_LIER_SORT_SETTING_BY_GIFT_SCORE";
	LinkmicApplierSortSetting[LinkmicApplierSortSetting["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkmicApplierSortSetting;
}({});
let LinkmicGiftExpressionStrategy = /* @__PURE__ */ function(LinkmicGiftExpressionStrategy) {
	LinkmicGiftExpressionStrategy[LinkmicGiftExpressionStrategy["CONTROL_V1"] = 0] = "CONTROL_V1";
	LinkmicGiftExpressionStrategy[LinkmicGiftExpressionStrategy["EXPERIMENT_V1"] = 1] = "EXPERIMENT_V1";
	LinkmicGiftExpressionStrategy[LinkmicGiftExpressionStrategy["EXPERIMENT_V2"] = 2] = "EXPERIMENT_V2";
	LinkmicGiftExpressionStrategy[LinkmicGiftExpressionStrategy["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkmicGiftExpressionStrategy;
}({});
let LinkmicMultiLiveEnum = /* @__PURE__ */ function(LinkmicMultiLiveEnum) {
	LinkmicMultiLiveEnum[LinkmicMultiLiveEnum["LINKMIC_MULTI_LIVE_ENUM_DEFAULT"] = 0] = "LINKMIC_MULTI_LIVE_ENUM_DEFAULT";
	LinkmicMultiLiveEnum[LinkmicMultiLiveEnum["ANCHOR_USE_NEW_LAYOUT"] = 1] = "ANCHOR_USE_NEW_LAYOUT";
	LinkmicMultiLiveEnum[LinkmicMultiLiveEnum["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkmicMultiLiveEnum;
}({});
let LinkmicPlayType = /* @__PURE__ */ function(LinkmicPlayType) {
	LinkmicPlayType[LinkmicPlayType["PLAY_TYPE_INVITE"] = 0] = "PLAY_TYPE_INVITE";
	LinkmicPlayType[LinkmicPlayType["PLAY_TYPE_APPLY"] = 1] = "PLAY_TYPE_APPLY";
	LinkmicPlayType[LinkmicPlayType["PLAY_TYPE_RESERVE"] = 2] = "PLAY_TYPE_RESERVE";
	LinkmicPlayType[LinkmicPlayType["PLAY_TYPE_OFF_LIVE"] = 3] = "PLAY_TYPE_OFF_LIVE";
	LinkmicPlayType[LinkmicPlayType["PLAY_TYPE_OFFLINE"] = 4] = "PLAY_TYPE_OFFLINE";
	LinkmicPlayType[LinkmicPlayType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkmicPlayType;
}({});
let LinkmicReplyType = /* @__PURE__ */ function(LinkmicReplyType) {
	LinkmicReplyType[LinkmicReplyType["RT_UNKNOWN"] = 0] = "RT_UNKNOWN";
	LinkmicReplyType[LinkmicReplyType["RT_AGREE"] = 1] = "RT_AGREE";
	LinkmicReplyType[LinkmicReplyType["RT_REJECT"] = 2] = "RT_REJECT";
	LinkmicReplyType[LinkmicReplyType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkmicReplyType;
}({});
let LinkmicShareRevenueSetting = /* @__PURE__ */ function(LinkmicShareRevenueSetting) {
	LinkmicShareRevenueSetting[LinkmicShareRevenueSetting["LINKMIC_SHARE_REVENUE_NOT_SET"] = 0] = "LINKMIC_SHARE_REVENUE_NOT_SET";
	LinkmicShareRevenueSetting[LinkmicShareRevenueSetting["LINKMIC_SHARE_REVENUE_OPEN"] = 1] = "LINKMIC_SHARE_REVENUE_OPEN";
	LinkmicShareRevenueSetting[LinkmicShareRevenueSetting["LINKMIC_SHARE_REVENUE_CLOSE"] = 2] = "LINKMIC_SHARE_REVENUE_CLOSE";
	LinkmicShareRevenueSetting[LinkmicShareRevenueSetting["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkmicShareRevenueSetting;
}({});
let LinkmicStatus = /* @__PURE__ */ function(LinkmicStatus) {
	LinkmicStatus[LinkmicStatus["DISABLE"] = 0] = "DISABLE";
	LinkmicStatus[LinkmicStatus["ENABLE"] = 1] = "ENABLE";
	LinkmicStatus[LinkmicStatus["JUST_FOLLOWING"] = 2] = "JUST_FOLLOWING";
	LinkmicStatus[LinkmicStatus["MULTI_LINKING"] = 3] = "MULTI_LINKING";
	LinkmicStatus[LinkmicStatus["MULTI_LINKING_ONLY_FOLLOWING"] = 4] = "MULTI_LINKING_ONLY_FOLLOWING";
	LinkmicStatus[LinkmicStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkmicStatus;
}({});
let LinkmicUserSettingDisableVideoLinkmic = /* @__PURE__ */ function(LinkmicUserSettingDisableVideoLinkmic) {
	LinkmicUserSettingDisableVideoLinkmic[LinkmicUserSettingDisableVideoLinkmic["UN_SET"] = 0] = "UN_SET";
	LinkmicUserSettingDisableVideoLinkmic[LinkmicUserSettingDisableVideoLinkmic["OPEN_AND_SHOW"] = 1] = "OPEN_AND_SHOW";
	LinkmicUserSettingDisableVideoLinkmic[LinkmicUserSettingDisableVideoLinkmic["CLOSE_AND_SHOW"] = 2] = "CLOSE_AND_SHOW";
	LinkmicUserSettingDisableVideoLinkmic[LinkmicUserSettingDisableVideoLinkmic["OPEN_AND_HIDE"] = 3] = "OPEN_AND_HIDE";
	LinkmicUserSettingDisableVideoLinkmic[LinkmicUserSettingDisableVideoLinkmic["CLOSE_AND_HIDE"] = 4] = "CLOSE_AND_HIDE";
	LinkmicUserSettingDisableVideoLinkmic[LinkmicUserSettingDisableVideoLinkmic["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkmicUserSettingDisableVideoLinkmic;
}({});
let LinkmicUserSettingLayout = /* @__PURE__ */ function(LinkmicUserSettingLayout) {
	LinkmicUserSettingLayout[LinkmicUserSettingLayout["GRID"] = 0] = "GRID";
	LinkmicUserSettingLayout[LinkmicUserSettingLayout["FLOATING"] = 1] = "FLOATING";
	LinkmicUserSettingLayout[LinkmicUserSettingLayout["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkmicUserSettingLayout;
}({});
let LinkmicUserSettingMultiGuestApplyAutoApprove = /* @__PURE__ */ function(LinkmicUserSettingMultiGuestApplyAutoApprove) {
	LinkmicUserSettingMultiGuestApplyAutoApprove[LinkmicUserSettingMultiGuestApplyAutoApprove["NOT_SET"] = 0] = "NOT_SET";
	LinkmicUserSettingMultiGuestApplyAutoApprove[LinkmicUserSettingMultiGuestApplyAutoApprove["ALL_AUDIENCE"] = 1] = "ALL_AUDIENCE";
	LinkmicUserSettingMultiGuestApplyAutoApprove[LinkmicUserSettingMultiGuestApplyAutoApprove["ONLY_FOLLOWER"] = 2] = "ONLY_FOLLOWER";
	LinkmicUserSettingMultiGuestApplyAutoApprove[LinkmicUserSettingMultiGuestApplyAutoApprove["ONLY_FRIEND"] = 3] = "ONLY_FRIEND";
	LinkmicUserSettingMultiGuestApplyAutoApprove[LinkmicUserSettingMultiGuestApplyAutoApprove["ONLY_GIFT_ER"] = 4] = "ONLY_GIFT_ER";
	LinkmicUserSettingMultiGuestApplyAutoApprove[LinkmicUserSettingMultiGuestApplyAutoApprove["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkmicUserSettingMultiGuestApplyAutoApprove;
}({});
let LinkmicUserSettingShowAction = /* @__PURE__ */ function(LinkmicUserSettingShowAction) {
	LinkmicUserSettingShowAction[LinkmicUserSettingShowAction["CHECKED"] = 0] = "CHECKED";
	LinkmicUserSettingShowAction[LinkmicUserSettingShowAction["NOT_CHECKED"] = 1] = "NOT_CHECKED";
	LinkmicUserSettingShowAction[LinkmicUserSettingShowAction["LINKMIC_USER_SETTING_SHOW_ACTION_HIDE"] = 2] = "LINKMIC_USER_SETTING_SHOW_ACTION_HIDE";
	LinkmicUserSettingShowAction[LinkmicUserSettingShowAction["OPEN"] = 3] = "OPEN";
	LinkmicUserSettingShowAction[LinkmicUserSettingShowAction["CLOSE"] = 4] = "CLOSE";
	LinkmicUserSettingShowAction[LinkmicUserSettingShowAction["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkmicUserSettingShowAction;
}({});
let LinkmicUserStatus = /* @__PURE__ */ function(LinkmicUserStatus) {
	LinkmicUserStatus[LinkmicUserStatus["USER_STATUS_NONE"] = 0] = "USER_STATUS_NONE";
	LinkmicUserStatus[LinkmicUserStatus["USER_STATUS_LINKED"] = 1] = "USER_STATUS_LINKED";
	LinkmicUserStatus[LinkmicUserStatus["USER_STATUS_APPLYING"] = 2] = "USER_STATUS_APPLYING";
	LinkmicUserStatus[LinkmicUserStatus["USER_STATUS_INVITING"] = 3] = "USER_STATUS_INVITING";
	LinkmicUserStatus[LinkmicUserStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkmicUserStatus;
}({});
let LiveEventInfoEventPayMethod = /* @__PURE__ */ function(LiveEventInfoEventPayMethod) {
	LiveEventInfoEventPayMethod[LiveEventInfoEventPayMethod["EVENT_PAY_METHOD_INVALID"] = 0] = "EVENT_PAY_METHOD_INVALID";
	LiveEventInfoEventPayMethod[LiveEventInfoEventPayMethod["EVENT_PAY_METHOD_COINS"] = 1] = "EVENT_PAY_METHOD_COINS";
	LiveEventInfoEventPayMethod[LiveEventInfoEventPayMethod["EVENT_PAY_METHOD_CASH"] = 2] = "EVENT_PAY_METHOD_CASH";
	LiveEventInfoEventPayMethod[LiveEventInfoEventPayMethod["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LiveEventInfoEventPayMethod;
}({});
let MatchGameplayOption = /* @__PURE__ */ function(MatchGameplayOption) {
	MatchGameplayOption[MatchGameplayOption["MATCH_OPTION_UNKNOWN"] = 0] = "MATCH_OPTION_UNKNOWN";
	MatchGameplayOption[MatchGameplayOption["MATCH_OPTION_SPECIFIC_GIFT"] = 1] = "MATCH_OPTION_SPECIFIC_GIFT";
	MatchGameplayOption[MatchGameplayOption["MATCH_OPTION_ICE_SHOWDOWN"] = 2] = "MATCH_OPTION_ICE_SHOWDOWN";
	MatchGameplayOption[MatchGameplayOption["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return MatchGameplayOption;
}({});
let MatchInfoMultiplierType = /* @__PURE__ */ function(MatchInfoMultiplierType) {
	MatchInfoMultiplierType[MatchInfoMultiplierType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
	MatchInfoMultiplierType[MatchInfoMultiplierType["CRITICAL_STRIKE"] = 1] = "CRITICAL_STRIKE";
	MatchInfoMultiplierType[MatchInfoMultiplierType["TOP_2"] = 2] = "TOP_2";
	MatchInfoMultiplierType[MatchInfoMultiplierType["TOP_3"] = 3] = "TOP_3";
	MatchInfoMultiplierType[MatchInfoMultiplierType["VAULT_GLOVE"] = 4] = "VAULT_GLOVE";
	MatchInfoMultiplierType[MatchInfoMultiplierType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return MatchInfoMultiplierType;
}({});
let MultiGuestOutsideRoomInviteSource = /* @__PURE__ */ function(MultiGuestOutsideRoomInviteSource) {
	MultiGuestOutsideRoomInviteSource[MultiGuestOutsideRoomInviteSource["OUTSIDE_ROOM_INVITE_SOURCE_UNKNOWN"] = 0] = "OUTSIDE_ROOM_INVITE_SOURCE_UNKNOWN";
	MultiGuestOutsideRoomInviteSource[MultiGuestOutsideRoomInviteSource["OUTSIDE_ROOM_INVITE_SOURCE_PANEL"] = 1] = "OUTSIDE_ROOM_INVITE_SOURCE_PANEL";
	MultiGuestOutsideRoomInviteSource[MultiGuestOutsideRoomInviteSource["OUTSIDE_ROOM_INVITE_SOURCE_CAPSULE"] = 2] = "OUTSIDE_ROOM_INVITE_SOURCE_CAPSULE";
	MultiGuestOutsideRoomInviteSource[MultiGuestOutsideRoomInviteSource["OUTSIDE_ROOM_INVITE_SOURCE_EMPTY_POSITION"] = 3] = "OUTSIDE_ROOM_INVITE_SOURCE_EMPTY_POSITION";
	MultiGuestOutsideRoomInviteSource[MultiGuestOutsideRoomInviteSource["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return MultiGuestOutsideRoomInviteSource;
}({});
let OptPairStatus = /* @__PURE__ */ function(OptPairStatus) {
	OptPairStatus[OptPairStatus["OPT_PAIR_STATUS_UNKNOWN"] = 0] = "OPT_PAIR_STATUS_UNKNOWN";
	OptPairStatus[OptPairStatus["OFFLINE"] = 1] = "OFFLINE";
	OptPairStatus[OptPairStatus["FINISHED"] = 2] = "FINISHED";
	OptPairStatus[OptPairStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return OptPairStatus;
}({});
let PerceptionDialogIconType = /* @__PURE__ */ function(PerceptionDialogIconType) {
	PerceptionDialogIconType[PerceptionDialogIconType["ICON_TYPE_NONE"] = 0] = "ICON_TYPE_NONE";
	PerceptionDialogIconType[PerceptionDialogIconType["ICON_TYPE_WARNING"] = 1] = "ICON_TYPE_WARNING";
	PerceptionDialogIconType[PerceptionDialogIconType["ICON_TYPE_LINKMIC"] = 2] = "ICON_TYPE_LINKMIC";
	PerceptionDialogIconType[PerceptionDialogIconType["ICON_TYPE_GUEST_LINKMIC"] = 3] = "ICON_TYPE_GUEST_LINKMIC";
	PerceptionDialogIconType[PerceptionDialogIconType["ICON_TYPE_LIVE"] = 4] = "ICON_TYPE_LIVE";
	PerceptionDialogIconType[PerceptionDialogIconType["ICON_TYPE_TREASURE_BOX"] = 5] = "ICON_TYPE_TREASURE_BOX";
	PerceptionDialogIconType[PerceptionDialogIconType["ICON_TYPE_MUTE"] = 6] = "ICON_TYPE_MUTE";
	PerceptionDialogIconType[PerceptionDialogIconType["ICON_GAMEPAD_ACCESS_REVOKED"] = 7] = "ICON_GAMEPAD_ACCESS_REVOKED";
	PerceptionDialogIconType[PerceptionDialogIconType["ICON_TYPE_BAN_REPORT_LIVE_SINGLE_ROOM"] = 8] = "ICON_TYPE_BAN_REPORT_LIVE_SINGLE_ROOM";
	PerceptionDialogIconType[PerceptionDialogIconType["ICON_TYPE_BAN_REPORT_LIVE_ALL_ROOM"] = 9] = "ICON_TYPE_BAN_REPORT_LIVE_ALL_ROOM";
	PerceptionDialogIconType[PerceptionDialogIconType["ICON_TYPE_BAN_REPORT_LIVE_GREEN_SCREEN"] = 10] = "ICON_TYPE_BAN_REPORT_LIVE_GREEN_SCREEN";
	PerceptionDialogIconType[PerceptionDialogIconType["ICON_TYPE_GIFT"] = 11] = "ICON_TYPE_GIFT";
	PerceptionDialogIconType[PerceptionDialogIconType["ICON_TYPE_APPEAL_SUCCESS"] = 12] = "ICON_TYPE_APPEAL_SUCCESS";
	PerceptionDialogIconType[PerceptionDialogIconType["ICON_TYPE_MATCH"] = 13] = "ICON_TYPE_MATCH";
	PerceptionDialogIconType[PerceptionDialogIconType["ICON_TYPE_LIVE_GOAL"] = 14] = "ICON_TYPE_LIVE_GOAL";
	PerceptionDialogIconType[PerceptionDialogIconType["ICON_TYPE_SUBSCRIPTION"] = 15] = "ICON_TYPE_SUBSCRIPTION";
	PerceptionDialogIconType[PerceptionDialogIconType["ICON_TYPE_STAR_COMMENT"] = 16] = "ICON_TYPE_STAR_COMMENT";
	PerceptionDialogIconType[PerceptionDialogIconType["ICON_TYPE_RANKING"] = 17] = "ICON_TYPE_RANKING";
	PerceptionDialogIconType[PerceptionDialogIconType["ICON_TYPE_COMMON"] = 18] = "ICON_TYPE_COMMON";
	PerceptionDialogIconType[PerceptionDialogIconType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return PerceptionDialogIconType;
}({});
let PinCardType = /* @__PURE__ */ function(PinCardType) {
	PinCardType[PinCardType["UNKNOWN_PIN_CARD_TYPE"] = 0] = "UNKNOWN_PIN_CARD_TYPE";
	PinCardType[PinCardType["CUSTOMIZED_BENEFIT_E_NUM"] = 1] = "CUSTOMIZED_BENEFIT_E_NUM";
	PinCardType[PinCardType["SUB_GOAL_E_NUM"] = 2] = "SUB_GOAL_E_NUM";
	PinCardType[PinCardType["UP_SELL_DM"] = 3] = "UP_SELL_DM";
	PinCardType[PinCardType["UP_SELL_LEAD_SGEN"] = 4] = "UP_SELL_LEAD_SGEN";
	PinCardType[PinCardType["SMB_SUB_PLAN"] = 5] = "SMB_SUB_PLAN";
	PinCardType[PinCardType["SMB_COURSE"] = 6] = "SMB_COURSE";
	PinCardType[PinCardType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return PinCardType;
}({});
let PollAppealStatus = /* @__PURE__ */ function(PollAppealStatus) {
	PollAppealStatus[PollAppealStatus["POLL_APPEAL_STATUS_UNKNOWN"] = 0] = "POLL_APPEAL_STATUS_UNKNOWN";
	PollAppealStatus[PollAppealStatus["POLL_APPEAL_STATUS_PASS"] = 1] = "POLL_APPEAL_STATUS_PASS";
	PollAppealStatus[PollAppealStatus["FAIL"] = 2] = "FAIL";
	PollAppealStatus[PollAppealStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return PollAppealStatus;
}({});
let PollEndType = /* @__PURE__ */ function(PollEndType) {
	PollEndType[PollEndType["POLL_END_BY_TIME"] = 0] = "POLL_END_BY_TIME";
	PollEndType[PollEndType["POLL_END_BY_OWNER"] = 1] = "POLL_END_BY_OWNER";
	PollEndType[PollEndType["POLL_END_BY_OTHER"] = 2] = "POLL_END_BY_OTHER";
	PollEndType[PollEndType["POLL_END_BY_ADMIN"] = 3] = "POLL_END_BY_ADMIN";
	PollEndType[PollEndType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return PollEndType;
}({});
let PollKind = /* @__PURE__ */ function(PollKind) {
	PollKind[PollKind["POLL_KIND_NORMAL"] = 0] = "POLL_KIND_NORMAL";
	PollKind[PollKind["POLL_KIND_GIFT"] = 1] = "POLL_KIND_GIFT";
	PollKind[PollKind["CUSTOMIZABLE"] = 2] = "CUSTOMIZABLE";
	PollKind[PollKind["CUSTOMIZABLE_GIFT"] = 3] = "CUSTOMIZABLE_GIFT";
	PollKind[PollKind["QUICK_GIFT"] = 4] = "QUICK_GIFT";
	PollKind[PollKind["EMOTE"] = 5] = "EMOTE";
	PollKind[PollKind["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return PollKind;
}({});
let PollTemplateStatus = /* @__PURE__ */ function(PollTemplateStatus) {
	PollTemplateStatus[PollTemplateStatus["TO_BE_REVIEWED"] = 0] = "TO_BE_REVIEWED";
	PollTemplateStatus[PollTemplateStatus["UNDER_REVIEW"] = 1] = "UNDER_REVIEW";
	PollTemplateStatus[PollTemplateStatus["REVIEWED"] = 2] = "REVIEWED";
	PollTemplateStatus[PollTemplateStatus["REFUSED"] = 3] = "REFUSED";
	PollTemplateStatus[PollTemplateStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return PollTemplateStatus;
}({});
let Position = /* @__PURE__ */ function(Position) {
	Position[Position["POSITION_UNKNOWN"] = 0] = "POSITION_UNKNOWN";
	Position[Position["LEFT"] = 1] = "LEFT";
	Position[Position["POSITION_RIGHT"] = 2] = "POSITION_RIGHT";
	Position[Position["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return Position;
}({});
let ProfitRankType = /* @__PURE__ */ function(ProfitRankType) {
	ProfitRankType[ProfitRankType["TYPE_HOURLY_RANK"] = 0] = "TYPE_HOURLY_RANK";
	ProfitRankType[ProfitRankType["TYPE_WEEKLY_RANK"] = 1] = "TYPE_WEEKLY_RANK";
	ProfitRankType[ProfitRankType["TYPE_HOURLY_STAR_RANK"] = 2] = "TYPE_HOURLY_STAR_RANK";
	ProfitRankType[ProfitRankType["TYPE_WEEKLY_RISING_RANK_ACTIVITY"] = 3] = "TYPE_WEEKLY_RISING_RANK_ACTIVITY";
	ProfitRankType[ProfitRankType["TYPE_WEEKLY_RISING_RANK"] = 4] = "TYPE_WEEKLY_RISING_RANK";
	ProfitRankType[ProfitRankType["TYPE_WEEKLY_ROOKIE"] = 5] = "TYPE_WEEKLY_ROOKIE";
	ProfitRankType[ProfitRankType["TYPE_E_COMMERCE_WEEKLY"] = 6] = "TYPE_E_COMMERCE_WEEKLY";
	ProfitRankType[ProfitRankType["TYPE_E_COMMERCE_DAILY"] = 7] = "TYPE_E_COMMERCE_DAILY";
	ProfitRankType[ProfitRankType["TYPE_DAILY_RANK"] = 8] = "TYPE_DAILY_RANK";
	ProfitRankType[ProfitRankType["TYPE_FIRST_GIFT_RANK"] = 9] = "TYPE_FIRST_GIFT_RANK";
	ProfitRankType[ProfitRankType["TYPE_GAME_RANK"] = 10] = "TYPE_GAME_RANK";
	ProfitRankType[ProfitRankType["TYPE_DAILY_GAME"] = 11] = "TYPE_DAILY_GAME";
	ProfitRankType[ProfitRankType["TYPE_HALL_OF_FAME_RANK"] = 12] = "TYPE_HALL_OF_FAME_RANK";
	ProfitRankType[ProfitRankType["TYPE_RANK_LEAGUE"] = 13] = "TYPE_RANK_LEAGUE";
	ProfitRankType[ProfitRankType["DAILY_ROOKIE"] = 14] = "DAILY_ROOKIE";
	ProfitRankType[ProfitRankType["TYPE_TEAM_RANK"] = 15] = "TYPE_TEAM_RANK";
	ProfitRankType[ProfitRankType["TYPE_CLASS_RANK"] = 16] = "TYPE_CLASS_RANK";
	ProfitRankType[ProfitRankType["TYPE_DAILY_GAME_PUB_G"] = 20] = "TYPE_DAILY_GAME_PUB_G";
	ProfitRankType[ProfitRankType["TYPE_DAILY_GAME_MLB_B"] = 21] = "TYPE_DAILY_GAME_MLB_B";
	ProfitRankType[ProfitRankType["TYPE_DAILY_GAME_FREE_FIRE"] = 22] = "TYPE_DAILY_GAME_FREE_FIRE";
	ProfitRankType[ProfitRankType["TYPE_WEEKLY_GAME_SUBCATEGORY_ONE"] = 23] = "TYPE_WEEKLY_GAME_SUBCATEGORY_ONE";
	ProfitRankType[ProfitRankType["TYPE_WEEKLY_GAME_SUBCATEGORY_TWO"] = 24] = "TYPE_WEEKLY_GAME_SUBCATEGORY_TWO";
	ProfitRankType[ProfitRankType["TYPE_WEEKLY_GAME_SUBCATEGORY_THREE"] = 25] = "TYPE_WEEKLY_GAME_SUBCATEGORY_THREE";
	ProfitRankType[ProfitRankType["TYPE_WEEKLY_E_COMMERCE_COLLECTIBLES"] = 26] = "TYPE_WEEKLY_E_COMMERCE_COLLECTIBLES";
	ProfitRankType[ProfitRankType["TYPE_WEEKLY_E_COMMERCE_BEAUTY_PERSONAL_CARE"] = 27] = "TYPE_WEEKLY_E_COMMERCE_BEAUTY_PERSONAL_CARE";
	ProfitRankType[ProfitRankType["TYPE_WEEKLY_E_COMMERCE_WOMEN_WEAR_UNDERWEAR"] = 28] = "TYPE_WEEKLY_E_COMMERCE_WOMEN_WEAR_UNDERWEAR";
	ProfitRankType[ProfitRankType["TYPE_CAMPAIGN_LEAGUEMATCH_RANK"] = 101] = "TYPE_CAMPAIGN_LEAGUEMATCH_RANK";
	ProfitRankType[ProfitRankType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return ProfitRankType;
}({});
let PunishTypeId = /* @__PURE__ */ function(PunishTypeId) {
	PunishTypeId[PunishTypeId["PUNISH_TYPE_IDUN_KNOWN"] = 0] = "PUNISH_TYPE_IDUN_KNOWN";
	PunishTypeId[PunishTypeId["BAN_LINKMIC"] = 9] = "BAN_LINKMIC";
	PunishTypeId[PunishTypeId["BAN_GAME_PARTNERSHIP"] = 25] = "BAN_GAME_PARTNERSHIP";
	PunishTypeId[PunishTypeId["REMOVE_GAME_PARTNERSHIP"] = 26] = "REMOVE_GAME_PARTNERSHIP";
	PunishTypeId[PunishTypeId["BAN_COHOST_LINKMIC"] = 55] = "BAN_COHOST_LINKMIC";
	PunishTypeId[PunishTypeId["AUTHORITY_LIMIT_MATCH"] = 57] = "AUTHORITY_LIMIT_MATCH";
	PunishTypeId[PunishTypeId["BAN_VOICE_CHAT"] = 59] = "BAN_VOICE_CHAT";
	PunishTypeId[PunishTypeId["BAN_LIVE_GOAL"] = 64] = "BAN_LIVE_GOAL";
	PunishTypeId[PunishTypeId["VIEWER_LIMIT"] = 70] = "VIEWER_LIMIT";
	PunishTypeId[PunishTypeId["LIVE_CONSOLE_BAN"] = 76] = "LIVE_CONSOLE_BAN";
	PunishTypeId[PunishTypeId["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return PunishTypeId;
}({});
let ReserveReplyStatus = /* @__PURE__ */ function(ReserveReplyStatus) {
	ReserveReplyStatus[ReserveReplyStatus["RESERVE_REPLY_STATUS_UNKNOWN"] = 0] = "RESERVE_REPLY_STATUS_UNKNOWN";
	ReserveReplyStatus[ReserveReplyStatus["WAIT_FORME"] = 1] = "WAIT_FORME";
	ReserveReplyStatus[ReserveReplyStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return ReserveReplyStatus;
}({});
let RewardCondition = /* @__PURE__ */ function(RewardCondition) {
	RewardCondition[RewardCondition["REWARD_CONDITION_SUBSCRIPTION"] = 0] = "REWARD_CONDITION_SUBSCRIPTION";
	RewardCondition[RewardCondition["SUB_WAVE_CUSTOM"] = 1] = "SUB_WAVE_CUSTOM";
	RewardCondition[RewardCondition["REWARD_CONDITION_FANS_CLUB"] = 2] = "REWARD_CONDITION_FANS_CLUB";
	RewardCondition[RewardCondition["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return RewardCondition;
}({});
let RivalExtraInfoAnchorLayer = /* @__PURE__ */ function(RivalExtraInfoAnchorLayer) {
	RivalExtraInfoAnchorLayer[RivalExtraInfoAnchorLayer["ANCHOR_LAYER_UNKNOWN"] = 0] = "ANCHOR_LAYER_UNKNOWN";
	RivalExtraInfoAnchorLayer[RivalExtraInfoAnchorLayer["ANCHOR_LAYER_TOP"] = 1] = "ANCHOR_LAYER_TOP";
	RivalExtraInfoAnchorLayer[RivalExtraInfoAnchorLayer["ANCHOR_LAYER_SMALL"] = 2] = "ANCHOR_LAYER_SMALL";
	RivalExtraInfoAnchorLayer[RivalExtraInfoAnchorLayer["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return RivalExtraInfoAnchorLayer;
}({});
let RivalExtraInfoBattleInfoBattleInfoType = /* @__PURE__ */ function(RivalExtraInfoBattleInfoBattleInfoType) {
	RivalExtraInfoBattleInfoBattleInfoType[RivalExtraInfoBattleInfoBattleInfoType["BATTLE_INFO_TYPE_NONE"] = 0] = "BATTLE_INFO_TYPE_NONE";
	RivalExtraInfoBattleInfoBattleInfoType[RivalExtraInfoBattleInfoBattleInfoType["BATTLE_INFO_TYPE_AVERAGE_SCORE"] = 1] = "BATTLE_INFO_TYPE_AVERAGE_SCORE";
	RivalExtraInfoBattleInfoBattleInfoType[RivalExtraInfoBattleInfoBattleInfoType["BATTLE_INFO_TYPE_MAX_SCORE"] = 2] = "BATTLE_INFO_TYPE_MAX_SCORE";
	RivalExtraInfoBattleInfoBattleInfoType[RivalExtraInfoBattleInfoBattleInfoType["BATTLE_INFO_TYPE_LAST_SCORE"] = 3] = "BATTLE_INFO_TYPE_LAST_SCORE";
	RivalExtraInfoBattleInfoBattleInfoType[RivalExtraInfoBattleInfoBattleInfoType["BATTLE_INFO_TYPE_WIN_STREAK"] = 4] = "BATTLE_INFO_TYPE_WIN_STREAK";
	RivalExtraInfoBattleInfoBattleInfoType[RivalExtraInfoBattleInfoBattleInfoType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return RivalExtraInfoBattleInfoBattleInfoType;
}({});
let RivalExtraInfoInviteBlockReason = /* @__PURE__ */ function(RivalExtraInfoInviteBlockReason) {
	RivalExtraInfoInviteBlockReason[RivalExtraInfoInviteBlockReason["RIVAL_EXTRA_INFO_INVITE_BLOCK_REASON_NONE"] = 0] = "RIVAL_EXTRA_INFO_INVITE_BLOCK_REASON_NONE";
	RivalExtraInfoInviteBlockReason[RivalExtraInfoInviteBlockReason["IS_LINKING"] = 1] = "IS_LINKING";
	RivalExtraInfoInviteBlockReason[RivalExtraInfoInviteBlockReason["INVITATION_DENIED"] = 2] = "INVITATION_DENIED";
	RivalExtraInfoInviteBlockReason[RivalExtraInfoInviteBlockReason["PERMISSION_DENIED"] = 3] = "PERMISSION_DENIED";
	RivalExtraInfoInviteBlockReason[RivalExtraInfoInviteBlockReason["LOW_CLIENT_VERSION"] = 4] = "LOW_CLIENT_VERSION";
	RivalExtraInfoInviteBlockReason[RivalExtraInfoInviteBlockReason["RIVAL_EXTRA_INFO_INVITE_BLOCK_REASON_ROOM_PAUSED"] = 5] = "RIVAL_EXTRA_INFO_INVITE_BLOCK_REASON_ROOM_PAUSED";
	RivalExtraInfoInviteBlockReason[RivalExtraInfoInviteBlockReason["LINKMIC_FULL"] = 6] = "LINKMIC_FULL";
	RivalExtraInfoInviteBlockReason[RivalExtraInfoInviteBlockReason["MATURE_THEME_NOT_MATCH"] = 7] = "MATURE_THEME_NOT_MATCH";
	RivalExtraInfoInviteBlockReason[RivalExtraInfoInviteBlockReason["RESERVE_FULL"] = 8] = "RESERVE_FULL";
	RivalExtraInfoInviteBlockReason[RivalExtraInfoInviteBlockReason["RIVAL_EXTRA_INFO_INVITE_BLOCK_REASON_REGIONAL_BLOCK"] = 9] = "RIVAL_EXTRA_INFO_INVITE_BLOCK_REASON_REGIONAL_BLOCK";
	RivalExtraInfoInviteBlockReason[RivalExtraInfoInviteBlockReason["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return RivalExtraInfoInviteBlockReason;
}({});
let RivalExtraInfoTextType = /* @__PURE__ */ function(RivalExtraInfoTextType) {
	RivalExtraInfoTextType[RivalExtraInfoTextType["TEXT_TYPE_UNKNOWN"] = 0] = "TEXT_TYPE_UNKNOWN";
	RivalExtraInfoTextType[RivalExtraInfoTextType["CURRO_OMF_AN_TICKET"] = 1] = "CURRO_OMF_AN_TICKET";
	RivalExtraInfoTextType[RivalExtraInfoTextType["TOTAL_DIAMOND_COUNT"] = 2] = "TOTAL_DIAMOND_COUNT";
	RivalExtraInfoTextType[RivalExtraInfoTextType["DISTANCE"] = 3] = "DISTANCE";
	RivalExtraInfoTextType[RivalExtraInfoTextType["DISTANCE_CITY"] = 4] = "DISTANCE_CITY";
	RivalExtraInfoTextType[RivalExtraInfoTextType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return RivalExtraInfoTextType;
}({});
let SOVLockInfoType = /* @__PURE__ */ function(SOVLockInfoType) {
	SOVLockInfoType[SOVLockInfoType["SOV_LOCK_INFO_TYPE_NONE"] = 0] = "SOV_LOCK_INFO_TYPE_NONE";
	SOVLockInfoType[SOVLockInfoType["LOCK"] = 1] = "LOCK";
	SOVLockInfoType[SOVLockInfoType["PREVIEW"] = 2] = "PREVIEW";
	SOVLockInfoType[SOVLockInfoType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return SOVLockInfoType;
}({});
let SOVMaskInfoType = /* @__PURE__ */ function(SOVMaskInfoType) {
	SOVMaskInfoType[SOVMaskInfoType["SOV_MASK_INFO_TYPE_NONE"] = 0] = "SOV_MASK_INFO_TYPE_NONE";
	SOVMaskInfoType[SOVMaskInfoType["SENSITIVE"] = 1] = "SENSITIVE";
	SOVMaskInfoType[SOVMaskInfoType["VIOLATION"] = 2] = "VIOLATION";
	SOVMaskInfoType[SOVMaskInfoType["MUSIC_COPYRIGHT"] = 3] = "MUSIC_COPYRIGHT";
	SOVMaskInfoType[SOVMaskInfoType["UNAVAILABLE"] = 4] = "UNAVAILABLE";
	SOVMaskInfoType[SOVMaskInfoType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return SOVMaskInfoType;
}({});
let SOVStatus = /* @__PURE__ */ function(SOVStatus) {
	SOVStatus[SOVStatus["SOV_STATUS_UNKNOWN"] = 0] = "SOV_STATUS_UNKNOWN";
	SOVStatus[SOVStatus["ON"] = 1] = "ON";
	SOVStatus[SOVStatus["OFF"] = 2] = "OFF";
	SOVStatus[SOVStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return SOVStatus;
}({});
let SubPinCardTextTextType = /* @__PURE__ */ function(SubPinCardTextTextType) {
	SubPinCardTextTextType[SubPinCardTextTextType["SUB_PIN_CARD_TEXT_TEXT_TYPE_TEXT_TYPE_UNKNOWN"] = 0] = "SUB_PIN_CARD_TEXT_TEXT_TYPE_TEXT_TYPE_UNKNOWN";
	SubPinCardTextTextType[SubPinCardTextTextType["TEXT_TYPE_ORIGINAL"] = 1] = "TEXT_TYPE_ORIGINAL";
	SubPinCardTextTextType[SubPinCardTextTextType["TEXT_TYPE_STARLING_KEY"] = 2] = "TEXT_TYPE_STARLING_KEY";
	SubPinCardTextTextType[SubPinCardTextTextType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return SubPinCardTextTextType;
}({});
let SubPinCardTextTextType_2 = /* @__PURE__ */ function(SubPinCardTextTextType_2) {
	SubPinCardTextTextType_2[SubPinCardTextTextType_2["UNKNOWN_TEXT_TYPE"] = 0] = "UNKNOWN_TEXT_TYPE";
	SubPinCardTextTextType_2[SubPinCardTextTextType_2["ORIGINAL_TEXT"] = 1] = "ORIGINAL_TEXT";
	SubPinCardTextTextType_2[SubPinCardTextTextType_2["STARLING_KEY"] = 2] = "STARLING_KEY";
	SubPinCardTextTextType_2[SubPinCardTextTextType_2["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return SubPinCardTextTextType_2;
}({});
let SubSplitPeriod = /* @__PURE__ */ function(SubSplitPeriod) {
	SubSplitPeriod[SubSplitPeriod["SUB_SPLIT_PERIOD_UNKNOWN"] = 0] = "SUB_SPLIT_PERIOD_UNKNOWN";
	SubSplitPeriod[SubSplitPeriod["ANNOUNCEMENT"] = 1] = "ANNOUNCEMENT";
	SubSplitPeriod[SubSplitPeriod["TRANSITION"] = 2] = "TRANSITION";
	SubSplitPeriod[SubSplitPeriod["OFFICIAL"] = 3] = "OFFICIAL";
	SubSplitPeriod[SubSplitPeriod["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return SubSplitPeriod;
}({});
let TagType = /* @__PURE__ */ function(TagType) {
	TagType[TagType["CREATOR_CRM_TAG_TYPE_UNKNOWN"] = 0] = "CREATOR_CRM_TAG_TYPE_UNKNOWN";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_USER_GRADE"] = 1] = "CREATOR_CRM_TAG_TYPE_USER_GRADE";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_FANS_LEVEL"] = 2] = "CREATOR_CRM_TAG_TYPE_FANS_LEVEL";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_WATCH_ME_DAYS_AGO"] = 3] = "CREATOR_CRM_TAG_TYPE_WATCH_ME_DAYS_AGO";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_CUSTOM"] = 4] = "CREATOR_CRM_TAG_TYPE_CUSTOM";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_TITLE_GIFT"] = 5] = "CREATOR_CRM_TAG_TYPE_TITLE_GIFT";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_FIRST_JOINED_TEAM"] = 6] = "CREATOR_CRM_TAG_TYPE_FIRST_JOINED_TEAM";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_PAY_ACCOMPANY_DAYS"] = 7] = "CREATOR_CRM_TAG_TYPE_PAY_ACCOMPANY_DAYS";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_SPONSOR_GIFT_LAST_ROOM"] = 8] = "CREATOR_CRM_TAG_TYPE_SPONSOR_GIFT_LAST_ROOM";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_MATCH_MVP_LAST_ROOM"] = 9] = "CREATOR_CRM_TAG_TYPE_MATCH_MVP_LAST_ROOM";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_LARGE_AMOUNT_GIFT_LAST_ROOM"] = 10] = "CREATOR_CRM_TAG_TYPE_LARGE_AMOUNT_GIFT_LAST_ROOM";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_COMMENT_LAST_ROOM"] = 11] = "CREATOR_CRM_TAG_TYPE_COMMENT_LAST_ROOM";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_RECENT_TITLED_GIFT"] = 12] = "CREATOR_CRM_TAG_TYPE_RECENT_TITLED_GIFT";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_MEET_ANNIVERSARY"] = 13] = "CREATOR_CRM_TAG_TYPE_MEET_ANNIVERSARY";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_FANS_SLEEP"] = 14] = "CREATOR_CRM_TAG_TYPE_FANS_SLEEP";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_NOT_SEND_HEART_ME"] = 15] = "CREATOR_CRM_TAG_TYPE_NOT_SEND_HEART_ME";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_NOT_JOIN_TEAM"] = 16] = "CREATOR_CRM_TAG_TYPE_NOT_JOIN_TEAM";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_FIRST_WATCH_LIVE"] = 17] = "CREATOR_CRM_TAG_TYPE_FIRST_WATCH_LIVE";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_RECENT_COMMENT"] = 18] = "CREATOR_CRM_TAG_TYPE_RECENT_COMMENT";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_RECENT_GIFT_TIMES"] = 19] = "CREATOR_CRM_TAG_TYPE_RECENT_GIFT_TIMES";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_RECENT_WATCH_LIVE_DURATION"] = 20] = "CREATOR_CRM_TAG_TYPE_RECENT_WATCH_LIVE_DURATION";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_RECENT_GIFT"] = 21] = "CREATOR_CRM_TAG_TYPE_RECENT_GIFT";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_RECENT_LIVE_CONTRIBUTION_TOP"] = 22] = "CREATOR_CRM_TAG_TYPE_RECENT_LIVE_CONTRIBUTION_TOP";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_JUST_UPGRADE"] = 28] = "CREATOR_CRM_TAG_TYPE_JUST_UPGRADE";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_FAN_TOTAL_WATCH_DURATION"] = 29] = "CREATOR_CRM_TAG_TYPE_FAN_TOTAL_WATCH_DURATION";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_FAN_TOTAL_COMMENT_NUM"] = 30] = "CREATOR_CRM_TAG_TYPE_FAN_TOTAL_COMMENT_NUM";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_FAN_TOTAL_GIFT_SENT_NUM"] = 31] = "CREATOR_CRM_TAG_TYPE_FAN_TOTAL_GIFT_SENT_NUM";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_VAULT_HOLD_INVITATION"] = 32] = "CREATOR_CRM_TAG_TYPE_VAULT_HOLD_INVITATION";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_VAULT_GET_INVITATION_FROM_ROOM"] = 33] = "CREATOR_CRM_TAG_TYPE_VAULT_GET_INVITATION_FROM_ROOM";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_VAULT_USER_RANK_TOP"] = 34] = "CREATOR_CRM_TAG_TYPE_VAULT_USER_RANK_TOP";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_VAULT_MOST_EXPENSIVE_GIFT_SENT_ALL_TIME"] = 35] = "CREATOR_CRM_TAG_TYPE_VAULT_MOST_EXPENSIVE_GIFT_SENT_ALL_TIME";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_VAULT_MOST_EXPENSIVE_GIFT_SENT_LAST_ACTIVITY"] = 36] = "CREATOR_CRM_TAG_TYPE_VAULT_MOST_EXPENSIVE_GIFT_SENT_LAST_ACTIVITY";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_VAULT_GIFT_ER"] = 37] = "CREATOR_CRM_TAG_TYPE_VAULT_GIFT_ER";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_E_COMMERCE_TAG"] = 42] = "CREATOR_CRM_TAG_TYPE_E_COMMERCE_TAG";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_NOT_FINISH_TICKET_TASK"] = 43] = "CREATOR_CRM_TAG_TYPE_NOT_FINISH_TICKET_TASK";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_GALLERY_PROGRESS"] = 44] = "CREATOR_CRM_TAG_TYPE_GALLERY_PROGRESS";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_SEND_GIFT_NOT_FANS"] = 45] = "CREATOR_CRM_TAG_TYPE_SEND_GIFT_NOT_FANS";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_WATCH_LIVE_NOT_FANS"] = 46] = "CREATOR_CRM_TAG_TYPE_WATCH_LIVE_NOT_FANS";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_TOP_3_NOT_FANS"] = 47] = "CREATOR_CRM_TAG_TYPE_TOP_3_NOT_FANS";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_UPGRADE_IN_ROOM"] = 48] = "CREATOR_CRM_TAG_TYPE_UPGRADE_IN_ROOM";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_HIGH_VIEW"] = 51] = "CREATOR_CRM_TAG_TYPE_HIGH_VIEW";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_HIGH_VIEW_DURATION"] = 52] = "CREATOR_CRM_TAG_TYPE_HIGH_VIEW_DURATION";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_HIGH_ACTIVE"] = 53] = "CREATOR_CRM_TAG_TYPE_HIGH_ACTIVE";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_HIGH_ACTIVE_NO_COMMENT"] = 54] = "CREATOR_CRM_TAG_TYPE_HIGH_ACTIVE_NO_COMMENT";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_HIGH_VIEW_DURATION_NO_ACTIVE"] = 55] = "CREATOR_CRM_TAG_TYPE_HIGH_VIEW_DURATION_NO_ACTIVE";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_REP_VIEWER"] = 56] = "CREATOR_CRM_TAG_TYPE_REP_VIEWER";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_HIGH_VIEW_DURATION_THIS_ROOM"] = 57] = "CREATOR_CRM_TAG_TYPE_HIGH_VIEW_DURATION_THIS_ROOM";
	TagType[TagType["CREATOR_CRM_TAG_TYPE_HIGH_ACTIVE_THIS_ROOM"] = 58] = "CREATOR_CRM_TAG_TYPE_HIGH_ACTIVE_THIS_ROOM";
	TagType[TagType["FANS_HIGHLIGHT"] = 100] = "FANS_HIGHLIGHT";
	TagType[TagType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return TagType;
}({});
let TagV2TagClassification = /* @__PURE__ */ function(TagV2TagClassification) {
	TagV2TagClassification[TagV2TagClassification["TAG_V2_TAG_CLASSIFICATION_UNKNOWN"] = 0] = "TAG_V2_TAG_CLASSIFICATION_UNKNOWN";
	TagV2TagClassification[TagV2TagClassification["COHOST_HISTORY"] = 1] = "COHOST_HISTORY";
	TagV2TagClassification[TagV2TagClassification["FIRST_DEGREE_RELATION"] = 2] = "FIRST_DEGREE_RELATION";
	TagV2TagClassification[TagV2TagClassification["SECOND_DEGREE_RELATION"] = 3] = "SECOND_DEGREE_RELATION";
	TagV2TagClassification[TagV2TagClassification["RANK"] = 4] = "RANK";
	TagV2TagClassification[TagV2TagClassification["SIMILAR_INTERESTS"] = 5] = "SIMILAR_INTERESTS";
	TagV2TagClassification[TagV2TagClassification["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return TagV2TagClassification;
}({});
let TimerDetailAntidirtStatus = /* @__PURE__ */ function(TimerDetailAntidirtStatus) {
	TimerDetailAntidirtStatus[TimerDetailAntidirtStatus["TIMER_DETAIL_ANTIDIRT_STATUS_PASS"] = 0] = "TIMER_DETAIL_ANTIDIRT_STATUS_PASS";
	TimerDetailAntidirtStatus[TimerDetailAntidirtStatus["TIMER_DETAIL_ANTIDIRT_STATUS_FAILED"] = 1] = "TIMER_DETAIL_ANTIDIRT_STATUS_FAILED";
	TimerDetailAntidirtStatus[TimerDetailAntidirtStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return TimerDetailAntidirtStatus;
}({});
let TimerDetailAuditStatus = /* @__PURE__ */ function(TimerDetailAuditStatus) {
	TimerDetailAuditStatus[TimerDetailAuditStatus["TIMER_DETAIL_AUDIT_STATUS_AUDIT_STATUS_UNKNOWN"] = 0] = "TIMER_DETAIL_AUDIT_STATUS_AUDIT_STATUS_UNKNOWN";
	TimerDetailAuditStatus[TimerDetailAuditStatus["AUDIT_STATUS_PASS"] = 1] = "AUDIT_STATUS_PASS";
	TimerDetailAuditStatus[TimerDetailAuditStatus["AUDIT_STATUS_FAILED"] = 2] = "AUDIT_STATUS_FAILED";
	TimerDetailAuditStatus[TimerDetailAuditStatus["AUDIT_STATUS_REVIEWING"] = 3] = "AUDIT_STATUS_REVIEWING";
	TimerDetailAuditStatus[TimerDetailAuditStatus["AUDIT_STATUS_FORBIDDEN"] = 4] = "AUDIT_STATUS_FORBIDDEN";
	TimerDetailAuditStatus[TimerDetailAuditStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return TimerDetailAuditStatus;
}({});
let TimerDetailAuditTaskType = /* @__PURE__ */ function(TimerDetailAuditTaskType) {
	TimerDetailAuditTaskType[TimerDetailAuditTaskType["AUDIT_TASK_TYPE_DEFAULT"] = 0] = "AUDIT_TASK_TYPE_DEFAULT";
	TimerDetailAuditTaskType[TimerDetailAuditTaskType["AUDIT_TASK_TYPE_APPEAL"] = 1] = "AUDIT_TASK_TYPE_APPEAL";
	TimerDetailAuditTaskType[TimerDetailAuditTaskType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return TimerDetailAuditTaskType;
}({});
let TimerStatus = /* @__PURE__ */ function(TimerStatus) {
	TimerStatus[TimerStatus["NOT_STARTED"] = 0] = "NOT_STARTED";
	TimerStatus[TimerStatus["RUNNING"] = 1] = "RUNNING";
	TimerStatus[TimerStatus["PAUSED"] = 2] = "PAUSED";
	TimerStatus[TimerStatus["CANCELLED"] = 3] = "CANCELLED";
	TimerStatus[TimerStatus["TIMER_STATUS_FINISHED"] = 4] = "TIMER_STATUS_FINISHED";
	TimerStatus[TimerStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return TimerStatus;
}({});
let TopicActionType = /* @__PURE__ */ function(TopicActionType) {
	TopicActionType[TopicActionType["TOPIC_ACTION_TYPE_UNKNOWN"] = 0] = "TOPIC_ACTION_TYPE_UNKNOWN";
	TopicActionType[TopicActionType["TOPIC_ACTION_TYPE_FOLLOW"] = 1] = "TOPIC_ACTION_TYPE_FOLLOW";
	TopicActionType[TopicActionType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return TopicActionType;
}({});
let UserEmoteUploadSource = /* @__PURE__ */ function(UserEmoteUploadSource) {
	UserEmoteUploadSource[UserEmoteUploadSource["EMOTE_UPLOAD_SOURCE_ANCHOR"] = 0] = "EMOTE_UPLOAD_SOURCE_ANCHOR";
	UserEmoteUploadSource[UserEmoteUploadSource["EMOTE_UPLOAD_SOURCE_SUBSCRIBER"] = 1] = "EMOTE_UPLOAD_SOURCE_SUBSCRIBER";
	UserEmoteUploadSource[UserEmoteUploadSource["EMOTE_UPLOAD_SOURCE_MODERATOR"] = 2] = "EMOTE_UPLOAD_SOURCE_MODERATOR";
	UserEmoteUploadSource[UserEmoteUploadSource["EMOTE_UPLOAD_SOURCE_AI"] = 3] = "EMOTE_UPLOAD_SOURCE_AI";
	UserEmoteUploadSource[UserEmoteUploadSource["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return UserEmoteUploadSource;
}({});
let UserEcommerceEntranceCreatorType = /* @__PURE__ */ function(UserEcommerceEntranceCreatorType) {
	UserEcommerceEntranceCreatorType[UserEcommerceEntranceCreatorType["UNDEFINED"] = 0] = "UNDEFINED";
	UserEcommerceEntranceCreatorType[UserEcommerceEntranceCreatorType["USER_ECOMMERCE_ENTRANCE_CREATOR_TYPE_OFFICIAL"] = 1] = "USER_ECOMMERCE_ENTRANCE_CREATOR_TYPE_OFFICIAL";
	UserEcommerceEntranceCreatorType[UserEcommerceEntranceCreatorType["MARKET"] = 2] = "MARKET";
	UserEcommerceEntranceCreatorType[UserEcommerceEntranceCreatorType["USER_ECOMMERCE_ENTRANCE_CREATOR_TYPE_NORMAL"] = 3] = "USER_ECOMMERCE_ENTRANCE_CREATOR_TYPE_NORMAL";
	UserEcommerceEntranceCreatorType[UserEcommerceEntranceCreatorType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return UserEcommerceEntranceCreatorType;
}({});
let UserEcommerceEntranceEntranceType = /* @__PURE__ */ function(UserEcommerceEntranceEntranceType) {
	UserEcommerceEntranceEntranceType[UserEcommerceEntranceEntranceType["PROFILE"] = 0] = "PROFILE";
	UserEcommerceEntranceEntranceType[UserEcommerceEntranceEntranceType["SHOWCASE"] = 1] = "SHOWCASE";
	UserEcommerceEntranceEntranceType[UserEcommerceEntranceEntranceType["SHOP"] = 2] = "SHOP";
	UserEcommerceEntranceEntranceType[UserEcommerceEntranceEntranceType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return UserEcommerceEntranceEntranceType;
}({});
let UserEcommerceEntranceSellingPointLiveSellingPointType = /* @__PURE__ */ function(UserEcommerceEntranceSellingPointLiveSellingPointType) {
	UserEcommerceEntranceSellingPointLiveSellingPointType[UserEcommerceEntranceSellingPointLiveSellingPointType["USER_ECOMMERCE_ENTRANCE_SELLING_POINT_LIVE_SELLING_POINT_TYPE_UNDEFINED"] = 0] = "USER_ECOMMERCE_ENTRANCE_SELLING_POINT_LIVE_SELLING_POINT_TYPE_UNDEFINED";
	UserEcommerceEntranceSellingPointLiveSellingPointType[UserEcommerceEntranceSellingPointLiveSellingPointType["QUALITY"] = 1] = "QUALITY";
	UserEcommerceEntranceSellingPointLiveSellingPointType[UserEcommerceEntranceSellingPointLiveSellingPointType["SOLD"] = 2] = "SOLD";
	UserEcommerceEntranceSellingPointLiveSellingPointType[UserEcommerceEntranceSellingPointLiveSellingPointType["TRUST_BETTER_THAN_OTHER_SHOP"] = 3] = "TRUST_BETTER_THAN_OTHER_SHOP";
	UserEcommerceEntranceSellingPointLiveSellingPointType[UserEcommerceEntranceSellingPointLiveSellingPointType["TRUST_REPLY_IN_TIME"] = 4] = "TRUST_REPLY_IN_TIME";
	UserEcommerceEntranceSellingPointLiveSellingPointType[UserEcommerceEntranceSellingPointLiveSellingPointType["TRUST_CREATE_SHIP_IN_TIME"] = 5] = "TRUST_CREATE_SHIP_IN_TIME";
	UserEcommerceEntranceSellingPointLiveSellingPointType[UserEcommerceEntranceSellingPointLiveSellingPointType["TRUST_POSITIVE_REVIEW_RATE"] = 6] = "TRUST_POSITIVE_REVIEW_RATE";
	UserEcommerceEntranceSellingPointLiveSellingPointType[UserEcommerceEntranceSellingPointLiveSellingPointType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return UserEcommerceEntranceSellingPointLiveSellingPointType;
}({});
let UserEcommerceEntranceShopEntranceInfoStoreLabelShopIdentityLabelType = /* @__PURE__ */ function(UserEcommerceEntranceShopEntranceInfoStoreLabelShopIdentityLabelType) {
	UserEcommerceEntranceShopEntranceInfoStoreLabelShopIdentityLabelType[UserEcommerceEntranceShopEntranceInfoStoreLabelShopIdentityLabelType["USER_ECOMMERCE_ENTRANCE_SHOP_ENTRANCE_INFO_STORE_LABEL_SHOP_IDENTITY_LABEL_TYPE_UNKNOWN"] = 0] = "USER_ECOMMERCE_ENTRANCE_SHOP_ENTRANCE_INFO_STORE_LABEL_SHOP_IDENTITY_LABEL_TYPE_UNKNOWN";
	UserEcommerceEntranceShopEntranceInfoStoreLabelShopIdentityLabelType[UserEcommerceEntranceShopEntranceInfoStoreLabelShopIdentityLabelType["TOP_BRAND"] = 1] = "TOP_BRAND";
	UserEcommerceEntranceShopEntranceInfoStoreLabelShopIdentityLabelType[UserEcommerceEntranceShopEntranceInfoStoreLabelShopIdentityLabelType["OFFICIAL_SHOP"] = 2] = "OFFICIAL_SHOP";
	UserEcommerceEntranceShopEntranceInfoStoreLabelShopIdentityLabelType[UserEcommerceEntranceShopEntranceInfoStoreLabelShopIdentityLabelType["AUTHORIZED_SHOP"] = 3] = "AUTHORIZED_SHOP";
	UserEcommerceEntranceShopEntranceInfoStoreLabelShopIdentityLabelType[UserEcommerceEntranceShopEntranceInfoStoreLabelShopIdentityLabelType["GOLDEN_SHOP"] = 4] = "GOLDEN_SHOP";
	UserEcommerceEntranceShopEntranceInfoStoreLabelShopIdentityLabelType[UserEcommerceEntranceShopEntranceInfoStoreLabelShopIdentityLabelType["SILVER_SHOP"] = 5] = "SILVER_SHOP";
	UserEcommerceEntranceShopEntranceInfoStoreLabelShopIdentityLabelType[UserEcommerceEntranceShopEntranceInfoStoreLabelShopIdentityLabelType["GB_TOP_BRAND"] = 51] = "GB_TOP_BRAND";
	UserEcommerceEntranceShopEntranceInfoStoreLabelShopIdentityLabelType[UserEcommerceEntranceShopEntranceInfoStoreLabelShopIdentityLabelType["MALL"] = 101] = "MALL";
	UserEcommerceEntranceShopEntranceInfoStoreLabelShopIdentityLabelType[UserEcommerceEntranceShopEntranceInfoStoreLabelShopIdentityLabelType["TOP_CHOICE"] = 102] = "TOP_CHOICE";
	UserEcommerceEntranceShopEntranceInfoStoreLabelShopIdentityLabelType[UserEcommerceEntranceShopEntranceInfoStoreLabelShopIdentityLabelType["NORMAL_BLUE_V"] = 1e3] = "NORMAL_BLUE_V";
	UserEcommerceEntranceShopEntranceInfoStoreLabelShopIdentityLabelType[UserEcommerceEntranceShopEntranceInfoStoreLabelShopIdentityLabelType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return UserEcommerceEntranceShopEntranceInfoStoreLabelShopIdentityLabelType;
}({});
let UserEcommerceEntranceShopEntranceInfoStoreLabelStoreBrandLabelType = /* @__PURE__ */ function(UserEcommerceEntranceShopEntranceInfoStoreLabelStoreBrandLabelType) {
	UserEcommerceEntranceShopEntranceInfoStoreLabelStoreBrandLabelType[UserEcommerceEntranceShopEntranceInfoStoreLabelStoreBrandLabelType["USER_ECOMMERCE_ENTRANCE_SHOP_ENTRANCE_INFO_STORE_LABEL_STORE_BRAND_LABEL_TYPE_NONE"] = 0] = "USER_ECOMMERCE_ENTRANCE_SHOP_ENTRANCE_INFO_STORE_LABEL_STORE_BRAND_LABEL_TYPE_NONE";
	UserEcommerceEntranceShopEntranceInfoStoreLabelStoreBrandLabelType[UserEcommerceEntranceShopEntranceInfoStoreLabelStoreBrandLabelType["USER_ECOMMERCE_ENTRANCE_SHOP_ENTRANCE_INFO_STORE_LABEL_STORE_BRAND_LABEL_TYPE_OFFICIAL"] = 1] = "USER_ECOMMERCE_ENTRANCE_SHOP_ENTRANCE_INFO_STORE_LABEL_STORE_BRAND_LABEL_TYPE_OFFICIAL";
	UserEcommerceEntranceShopEntranceInfoStoreLabelStoreBrandLabelType[UserEcommerceEntranceShopEntranceInfoStoreLabelStoreBrandLabelType["AUTHORIZED"] = 2] = "AUTHORIZED";
	UserEcommerceEntranceShopEntranceInfoStoreLabelStoreBrandLabelType[UserEcommerceEntranceShopEntranceInfoStoreLabelStoreBrandLabelType["STORE_BRAND_LABEL_TYPE_BLUE_V"] = 3] = "STORE_BRAND_LABEL_TYPE_BLUE_V";
	UserEcommerceEntranceShopEntranceInfoStoreLabelStoreBrandLabelType[UserEcommerceEntranceShopEntranceInfoStoreLabelStoreBrandLabelType["STORE_BRAND_LABEL_TYPE_TOP_CHOICE"] = 4] = "STORE_BRAND_LABEL_TYPE_TOP_CHOICE";
	UserEcommerceEntranceShopEntranceInfoStoreLabelStoreBrandLabelType[UserEcommerceEntranceShopEntranceInfoStoreLabelStoreBrandLabelType["STORE_BRAND_LABEL_TYPE_MALL"] = 5] = "STORE_BRAND_LABEL_TYPE_MALL";
	UserEcommerceEntranceShopEntranceInfoStoreLabelStoreBrandLabelType[UserEcommerceEntranceShopEntranceInfoStoreLabelStoreBrandLabelType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return UserEcommerceEntranceShopEntranceInfoStoreLabelStoreBrandLabelType;
}({});
let UserEcommerceEntranceViewVersion = /* @__PURE__ */ function(UserEcommerceEntranceViewVersion) {
	UserEcommerceEntranceViewVersion[UserEcommerceEntranceViewVersion["VIEW_VERSION_UNKNOWN"] = 0] = "VIEW_VERSION_UNKNOWN";
	UserEcommerceEntranceViewVersion[UserEcommerceEntranceViewVersion["VIEW_VERSION_STAR_SHOP"] = 1] = "VIEW_VERSION_STAR_SHOP";
	UserEcommerceEntranceViewVersion[UserEcommerceEntranceViewVersion["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return UserEcommerceEntranceViewVersion;
}({});
let UserFansClubFansClubDataUserFansClubStatus = /* @__PURE__ */ function(UserFansClubFansClubDataUserFansClubStatus) {
	UserFansClubFansClubDataUserFansClubStatus[UserFansClubFansClubDataUserFansClubStatus["NOT_JOINED"] = 0] = "NOT_JOINED";
	UserFansClubFansClubDataUserFansClubStatus[UserFansClubFansClubDataUserFansClubStatus["ACTIVE"] = 1] = "ACTIVE";
	UserFansClubFansClubDataUserFansClubStatus[UserFansClubFansClubDataUserFansClubStatus["INACTIVE"] = 2] = "INACTIVE";
	UserFansClubFansClubDataUserFansClubStatus[UserFansClubFansClubDataUserFansClubStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return UserFansClubFansClubDataUserFansClubStatus;
}({});
let UserSubscribeInfoPayStatus = /* @__PURE__ */ function(UserSubscribeInfoPayStatus) {
	UserSubscribeInfoPayStatus[UserSubscribeInfoPayStatus["SUB_STATUS_UNKNOWN"] = 0] = "SUB_STATUS_UNKNOWN";
	UserSubscribeInfoPayStatus[UserSubscribeInfoPayStatus["SUB_STATUS_ONE_TIME"] = 1] = "SUB_STATUS_ONE_TIME";
	UserSubscribeInfoPayStatus[UserSubscribeInfoPayStatus["SUB_STATUS_AUTO_DEDUCTION"] = 2] = "SUB_STATUS_AUTO_DEDUCTION";
	UserSubscribeInfoPayStatus[UserSubscribeInfoPayStatus["SUB_STATUS_AUTO_DEDUCTION_CANCELED"] = 3] = "SUB_STATUS_AUTO_DEDUCTION_CANCELED";
	UserSubscribeInfoPayStatus[UserSubscribeInfoPayStatus["SUB_STATUS_REVOKE"] = 4] = "SUB_STATUS_REVOKE";
	UserSubscribeInfoPayStatus[UserSubscribeInfoPayStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return UserSubscribeInfoPayStatus;
}({});
let VerticalPaddingRule = /* @__PURE__ */ function(VerticalPaddingRule) {
	VerticalPaddingRule[VerticalPaddingRule["USE_DEFAULT"] = 0] = "USE_DEFAULT";
	VerticalPaddingRule[VerticalPaddingRule["USE_TOP_AND_BOTTOM"] = 1] = "USE_TOP_AND_BOTTOM";
	VerticalPaddingRule[VerticalPaddingRule["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return VerticalPaddingRule;
}({});
function createBaseDiffInfo() {
	return {
		diffUrl: void 0,
		baseUrl: void 0,
		extra: ""
	};
}
const DiffInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.diffUrl !== void 0) UrlDataStruct.encode(message.diffUrl, writer.uint32(10).fork()).join();
		if (message.baseUrl !== void 0) UrlDataStruct.encode(message.baseUrl, writer.uint32(18).fork()).join();
		if (message.extra !== "") writer.uint32(26).string(message.extra);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseDiffInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.diffUrl = UrlDataStruct.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.baseUrl = UrlDataStruct.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.extra = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseEffectStruct() {
	return {
		name: "",
		hint: "",
		hintIcon: void 0,
		sdkVersion: "",
		appVersion: "",
		fileUrl: void 0,
		iconUrl: void 0,
		id: "",
		effectId: "",
		devicePlatform: "",
		types: [],
		tags: [],
		tagsUpdatedAt: "",
		parent: "",
		children: [],
		effectType: 0,
		music: [],
		source: 0,
		designerId: "",
		schema: "",
		requirements: [],
		extra: "",
		isBusi: false,
		designerEncryptedId: "",
		sdkExtra: "",
		resourceId: "",
		adRawData: "",
		bindIds: [],
		ptime: "0",
		gradeKey: "",
		composerParams: "",
		hintFile: void 0,
		useNumber: "0",
		typesSec: [],
		requirementsSec: [],
		panel: "",
		modelNames: "",
		modelNamesSec: "",
		hintFileFormat: 0,
		poiId: "",
		isPoi: false,
		challenge: [],
		systemList: [],
		originalEffectId: "",
		transFileUrl: void 0,
		templateEffectId: "",
		recTag: "0",
		templateEffectExtra: void 0,
		fileDiff: void 0,
		provider: 0,
		packageSize: "0",
		fromAppId: "0"
	};
}
const EffectStruct = {
	encode(message, writer = new BinaryWriter()) {
		if (message.name !== "") writer.uint32(10).string(message.name);
		if (message.hint !== "") writer.uint32(18).string(message.hint);
		if (message.hintIcon !== void 0) UrlDataStruct.encode(message.hintIcon, writer.uint32(26).fork()).join();
		if (message.sdkVersion !== "") writer.uint32(34).string(message.sdkVersion);
		if (message.appVersion !== "") writer.uint32(42).string(message.appVersion);
		if (message.fileUrl !== void 0) UrlDataStruct.encode(message.fileUrl, writer.uint32(50).fork()).join();
		if (message.iconUrl !== void 0) UrlDataStruct.encode(message.iconUrl, writer.uint32(58).fork()).join();
		if (message.id !== "") writer.uint32(66).string(message.id);
		if (message.effectId !== "") writer.uint32(74).string(message.effectId);
		if (message.devicePlatform !== "") writer.uint32(82).string(message.devicePlatform);
		for (const v of message.types) writer.uint32(90).string(v);
		for (const v of message.tags) writer.uint32(98).string(v);
		if (message.tagsUpdatedAt !== "") writer.uint32(106).string(message.tagsUpdatedAt);
		if (message.parent !== "") writer.uint32(114).string(message.parent);
		for (const v of message.children) writer.uint32(122).string(v);
		if (message.effectType !== 0) writer.uint32(128).int32(message.effectType);
		for (const v of message.music) writer.uint32(138).string(v);
		if (message.source !== 0) writer.uint32(144).int32(message.source);
		if (message.designerId !== "") writer.uint32(154).string(message.designerId);
		if (message.schema !== "") writer.uint32(162).string(message.schema);
		for (const v of message.requirements) writer.uint32(170).string(v);
		if (message.extra !== "") writer.uint32(178).string(message.extra);
		if (message.isBusi !== false) writer.uint32(184).bool(message.isBusi);
		if (message.designerEncryptedId !== "") writer.uint32(210).string(message.designerEncryptedId);
		if (message.sdkExtra !== "") writer.uint32(218).string(message.sdkExtra);
		if (message.resourceId !== "") writer.uint32(226).string(message.resourceId);
		if (message.adRawData !== "") writer.uint32(234).string(message.adRawData);
		for (const v of message.bindIds) writer.uint32(242).string(v);
		if (message.ptime !== "0") writer.uint32(248).int64(message.ptime);
		if (message.gradeKey !== "") writer.uint32(258).string(message.gradeKey);
		if (message.composerParams !== "") writer.uint32(266).string(message.composerParams);
		if (message.hintFile !== void 0) UrlDataStruct.encode(message.hintFile, writer.uint32(274).fork()).join();
		if (message.useNumber !== "0") writer.uint32(280).int64(message.useNumber);
		for (const v of message.typesSec) writer.uint32(290).string(v);
		for (const v of message.requirementsSec) writer.uint32(298).string(v);
		if (message.panel !== "") writer.uint32(306).string(message.panel);
		if (message.modelNames !== "") writer.uint32(314).string(message.modelNames);
		if (message.modelNamesSec !== "") writer.uint32(322).string(message.modelNamesSec);
		if (message.hintFileFormat !== 0) writer.uint32(328).int32(message.hintFileFormat);
		if (message.poiId !== "") writer.uint32(338).string(message.poiId);
		if (message.isPoi !== false) writer.uint32(344).bool(message.isPoi);
		for (const v of message.challenge) writer.uint32(354).string(v);
		for (const v of message.systemList) writer.uint32(362).string(v);
		if (message.originalEffectId !== "") writer.uint32(370).string(message.originalEffectId);
		if (message.transFileUrl !== void 0) UrlDataStruct.encode(message.transFileUrl, writer.uint32(378).fork()).join();
		if (message.templateEffectId !== "") writer.uint32(386).string(message.templateEffectId);
		if (message.recTag !== "0") writer.uint32(392).int64(message.recTag);
		if (message.templateEffectExtra !== void 0) TemplateEffectExtra.encode(message.templateEffectExtra, writer.uint32(402).fork()).join();
		if (message.fileDiff !== void 0) DiffInfo.encode(message.fileDiff, writer.uint32(410).fork()).join();
		if (message.provider !== 0) writer.uint32(416).int32(message.provider);
		if (message.packageSize !== "0") writer.uint32(424).int64(message.packageSize);
		if (message.fromAppId !== "0") writer.uint32(432).int64(message.fromAppId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseEffectStruct();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.name = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.hint = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.hintIcon = UrlDataStruct.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.sdkVersion = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.appVersion = reader.string();
					continue;
				case 6:
					if (tag !== 50) break;
					message.fileUrl = UrlDataStruct.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.iconUrl = UrlDataStruct.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.id = reader.string();
					continue;
				case 9:
					if (tag !== 74) break;
					message.effectId = reader.string();
					continue;
				case 10:
					if (tag !== 82) break;
					message.devicePlatform = reader.string();
					continue;
				case 11:
					if (tag !== 90) break;
					message.types.push(reader.string());
					continue;
				case 12:
					if (tag !== 98) break;
					message.tags.push(reader.string());
					continue;
				case 13:
					if (tag !== 106) break;
					message.tagsUpdatedAt = reader.string();
					continue;
				case 14:
					if (tag !== 114) break;
					message.parent = reader.string();
					continue;
				case 15:
					if (tag !== 122) break;
					message.children.push(reader.string());
					continue;
				case 16:
					if (tag !== 128) break;
					message.effectType = reader.int32();
					continue;
				case 17:
					if (tag !== 138) break;
					message.music.push(reader.string());
					continue;
				case 18:
					if (tag !== 144) break;
					message.source = reader.int32();
					continue;
				case 19:
					if (tag !== 154) break;
					message.designerId = reader.string();
					continue;
				case 20:
					if (tag !== 162) break;
					message.schema = reader.string();
					continue;
				case 21:
					if (tag !== 170) break;
					message.requirements.push(reader.string());
					continue;
				case 22:
					if (tag !== 178) break;
					message.extra = reader.string();
					continue;
				case 23:
					if (tag !== 184) break;
					message.isBusi = reader.bool();
					continue;
				case 26:
					if (tag !== 210) break;
					message.designerEncryptedId = reader.string();
					continue;
				case 27:
					if (tag !== 218) break;
					message.sdkExtra = reader.string();
					continue;
				case 28:
					if (tag !== 226) break;
					message.resourceId = reader.string();
					continue;
				case 29:
					if (tag !== 234) break;
					message.adRawData = reader.string();
					continue;
				case 30:
					if (tag !== 242) break;
					message.bindIds.push(reader.string());
					continue;
				case 31:
					if (tag !== 248) break;
					message.ptime = reader.int64().toString();
					continue;
				case 32:
					if (tag !== 258) break;
					message.gradeKey = reader.string();
					continue;
				case 33:
					if (tag !== 266) break;
					message.composerParams = reader.string();
					continue;
				case 34:
					if (tag !== 274) break;
					message.hintFile = UrlDataStruct.decode(reader, reader.uint32());
					continue;
				case 35:
					if (tag !== 280) break;
					message.useNumber = reader.int64().toString();
					continue;
				case 36:
					if (tag !== 290) break;
					message.typesSec.push(reader.string());
					continue;
				case 37:
					if (tag !== 298) break;
					message.requirementsSec.push(reader.string());
					continue;
				case 38:
					if (tag !== 306) break;
					message.panel = reader.string();
					continue;
				case 39:
					if (tag !== 314) break;
					message.modelNames = reader.string();
					continue;
				case 40:
					if (tag !== 322) break;
					message.modelNamesSec = reader.string();
					continue;
				case 41:
					if (tag !== 328) break;
					message.hintFileFormat = reader.int32();
					continue;
				case 42:
					if (tag !== 338) break;
					message.poiId = reader.string();
					continue;
				case 43:
					if (tag !== 344) break;
					message.isPoi = reader.bool();
					continue;
				case 44:
					if (tag !== 354) break;
					message.challenge.push(reader.string());
					continue;
				case 45:
					if (tag !== 362) break;
					message.systemList.push(reader.string());
					continue;
				case 46:
					if (tag !== 370) break;
					message.originalEffectId = reader.string();
					continue;
				case 47:
					if (tag !== 378) break;
					message.transFileUrl = UrlDataStruct.decode(reader, reader.uint32());
					continue;
				case 48:
					if (tag !== 386) break;
					message.templateEffectId = reader.string();
					continue;
				case 49:
					if (tag !== 392) break;
					message.recTag = reader.int64().toString();
					continue;
				case 50:
					if (tag !== 402) break;
					message.templateEffectExtra = TemplateEffectExtra.decode(reader, reader.uint32());
					continue;
				case 51:
					if (tag !== 410) break;
					message.fileDiff = DiffInfo.decode(reader, reader.uint32());
					continue;
				case 52:
					if (tag !== 416) break;
					message.provider = reader.int32();
					continue;
				case 53:
					if (tag !== 424) break;
					message.packageSize = reader.int64().toString();
					continue;
				case 54:
					if (tag !== 432) break;
					message.fromAppId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseEventUserInfo() {
	return {
		userId: "0",
		avatarUri: ""
	};
}
const EventUserInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.avatarUri !== "") writer.uint32(18).string(message.avatarUri);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseEventUserInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.avatarUri = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMsgFilter() {
	return {
		isGifter: false,
		isSubscribedToAnchor: false
	};
}
const MsgFilter = {
	encode(message, writer = new BinaryWriter()) {
		if (message.isGifter !== false) writer.uint32(8).bool(message.isGifter);
		if (message.isSubscribedToAnchor !== false) writer.uint32(16).bool(message.isSubscribedToAnchor);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMsgFilter();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.isGifter = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.isSubscribedToAnchor = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePaidEventPreview() {
	return {
		allowPreview: "0",
		allowPreviewTime: "0"
	};
}
const PaidEventPreview = {
	encode(message, writer = new BinaryWriter()) {
		if (message.allowPreview !== "0") writer.uint32(8).int64(message.allowPreview);
		if (message.allowPreviewTime !== "0") writer.uint32(16).int64(message.allowPreviewTime);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePaidEventPreview();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.allowPreview = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.allowPreviewTime = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSubSplitStatus() {
	return {
		isOldSubCreator: false,
		curPeriod: 0
	};
}
const SubSplitStatus = {
	encode(message, writer = new BinaryWriter()) {
		if (message.isOldSubCreator !== false) writer.uint32(8).bool(message.isOldSubCreator);
		if (message.curPeriod !== 0) writer.uint32(16).int32(message.curPeriod);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSubSplitStatus();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.isOldSubCreator = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.curPeriod = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTemplateEffectExtra() {
	return { resourceId: "" };
}
const TemplateEffectExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.resourceId !== "") writer.uint32(10).string(message.resourceId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTemplateEffectExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.resourceId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUrlDataStruct() {
	return {
		uri: "",
		urlList: [],
		urlSubType: 0,
		md5: "",
		urlPrefix: []
	};
}
const UrlDataStruct = {
	encode(message, writer = new BinaryWriter()) {
		if (message.uri !== "") writer.uint32(10).string(message.uri);
		for (const v of message.urlList) writer.uint32(18).string(v);
		if (message.urlSubType !== 0) writer.uint32(24).int32(message.urlSubType);
		if (message.md5 !== "") writer.uint32(34).string(message.md5);
		for (const v of message.urlPrefix) writer.uint32(42).string(v);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUrlDataStruct();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.uri = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.urlList.push(reader.string());
					continue;
				case 3:
					if (tag !== 24) break;
					message.urlSubType = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.md5 = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.urlPrefix.push(reader.string());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUserIdentity() {
	return {
		isGiftGiverOfAnchor: false,
		isSubscriberOfAnchor: false,
		isMutualFollowingWithAnchor: false,
		isFollowerOfAnchor: false,
		isModeratorOfAnchor: false,
		isAnchor: false
	};
}
const UserIdentity = {
	encode(message, writer = new BinaryWriter()) {
		if (message.isGiftGiverOfAnchor !== false) writer.uint32(8).bool(message.isGiftGiverOfAnchor);
		if (message.isSubscriberOfAnchor !== false) writer.uint32(16).bool(message.isSubscriberOfAnchor);
		if (message.isMutualFollowingWithAnchor !== false) writer.uint32(24).bool(message.isMutualFollowingWithAnchor);
		if (message.isFollowerOfAnchor !== false) writer.uint32(32).bool(message.isFollowerOfAnchor);
		if (message.isModeratorOfAnchor !== false) writer.uint32(40).bool(message.isModeratorOfAnchor);
		if (message.isAnchor !== false) writer.uint32(48).bool(message.isAnchor);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUserIdentity();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.isGiftGiverOfAnchor = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.isSubscriberOfAnchor = reader.bool();
					continue;
				case 3:
					if (tag !== 24) break;
					message.isMutualFollowingWithAnchor = reader.bool();
					continue;
				case 4:
					if (tag !== 32) break;
					message.isFollowerOfAnchor = reader.bool();
					continue;
				case 5:
					if (tag !== 40) break;
					message.isModeratorOfAnchor = reader.bool();
					continue;
				case 6:
					if (tag !== 48) break;
					message.isAnchor = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/base/user.ts
function createBaseArrowConfig() {
	return { icon: void 0 };
}
const ArrowConfig = {
	encode(message, writer = new BinaryWriter()) {
		if (message.icon !== void 0) ImageModel.encode(message.icon, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseArrowConfig();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.icon = ImageModel.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBadgeStruct() {
	return {
		displayType: 0,
		priorityType: 0,
		sceneType: 0,
		position: 0,
		displayStatus: 0,
		greyedByClient: "0",
		exhibitionType: 0,
		openweburl: "",
		display: false,
		privilegeLogExtra: void 0,
		image: void 0,
		text: void 0,
		str: void 0,
		combine: void 0,
		isCustomized: false
	};
}
const BadgeStruct = {
	encode(message, writer = new BinaryWriter()) {
		if (message.displayType !== 0) writer.uint32(8).int32(message.displayType);
		if (message.priorityType !== 0) writer.uint32(16).int32(message.priorityType);
		if (message.sceneType !== 0) writer.uint32(24).int32(message.sceneType);
		if (message.position !== 0) writer.uint32(32).int32(message.position);
		if (message.displayStatus !== 0) writer.uint32(40).int32(message.displayStatus);
		if (message.greyedByClient !== "0") writer.uint32(48).int64(message.greyedByClient);
		if (message.exhibitionType !== 0) writer.uint32(56).int32(message.exhibitionType);
		if (message.openweburl !== "") writer.uint32(82).string(message.openweburl);
		if (message.display !== false) writer.uint32(88).bool(message.display);
		if (message.privilegeLogExtra !== void 0) PrivilegeLogExtra.encode(message.privilegeLogExtra, writer.uint32(98).fork()).join();
		if (message.image !== void 0) ImageBadge.encode(message.image, writer.uint32(162).fork()).join();
		if (message.text !== void 0) TextBadge.encode(message.text, writer.uint32(170).fork()).join();
		if (message.str !== void 0) StringBadge.encode(message.str, writer.uint32(178).fork()).join();
		if (message.combine !== void 0) CombineBadgeStruct.encode(message.combine, writer.uint32(186).fork()).join();
		if (message.isCustomized !== false) writer.uint32(192).bool(message.isCustomized);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBadgeStruct();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.displayType = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.priorityType = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.sceneType = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.position = reader.int32();
					continue;
				case 5:
					if (tag !== 40) break;
					message.displayStatus = reader.int32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.greyedByClient = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.exhibitionType = reader.int32();
					continue;
				case 10:
					if (tag !== 82) break;
					message.openweburl = reader.string();
					continue;
				case 11:
					if (tag !== 88) break;
					message.display = reader.bool();
					continue;
				case 12:
					if (tag !== 98) break;
					message.privilegeLogExtra = PrivilegeLogExtra.decode(reader, reader.uint32());
					continue;
				case 20:
					if (tag !== 162) break;
					message.image = ImageBadge.decode(reader, reader.uint32());
					continue;
				case 21:
					if (tag !== 170) break;
					message.text = TextBadge.decode(reader, reader.uint32());
					continue;
				case 22:
					if (tag !== 178) break;
					message.str = StringBadge.decode(reader, reader.uint32());
					continue;
				case 23:
					if (tag !== 186) break;
					message.combine = CombineBadgeStruct.decode(reader, reader.uint32());
					continue;
				case 24:
					if (tag !== 192) break;
					message.isCustomized = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBadgeText() {
	return {
		key: "",
		defaultPattern: "",
		pieces: []
	};
}
const BadgeText = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.defaultPattern !== "") writer.uint32(18).string(message.defaultPattern);
		for (const v of message.pieces) writer.uint32(26).string(v);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBadgeText();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.defaultPattern = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.pieces.push(reader.string());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCombineBadgeBackground() {
	return {
		image: void 0,
		backgroundColorCode: "",
		borderColorCode: "",
		stretchableBackgroundImage: void 0,
		leftSideImage: void 0
	};
}
const CombineBadgeBackground = {
	encode(message, writer = new BinaryWriter()) {
		if (message.image !== void 0) ImageModel.encode(message.image, writer.uint32(10).fork()).join();
		if (message.backgroundColorCode !== "") writer.uint32(18).string(message.backgroundColorCode);
		if (message.borderColorCode !== "") writer.uint32(26).string(message.borderColorCode);
		if (message.stretchableBackgroundImage !== void 0) StretchableBackgroundImage.encode(message.stretchableBackgroundImage, writer.uint32(34).fork()).join();
		if (message.leftSideImage !== void 0) ImageModel.encode(message.leftSideImage, writer.uint32(42).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCombineBadgeBackground();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.image = ImageModel.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.backgroundColorCode = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.borderColorCode = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.stretchableBackgroundImage = StretchableBackgroundImage.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.leftSideImage = ImageModel.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCombineBadgeStruct() {
	return {
		displayType: 0,
		icon: void 0,
		text: void 0,
		str: "",
		padding: void 0,
		fontStyle: void 0,
		profileCardPanel: void 0,
		background: void 0,
		backgroundDarkMode: void 0,
		iconAutoMirrored: false,
		backgroundAutoMirrored: false,
		publicScreenShowStyle: 0,
		personalCardShowStyle: 0,
		ranklistOnlineAudienceShowStyle: 0,
		multiGuestShowStyle: 0,
		arrowConfig: void 0,
		paddingNewFont: void 0
	};
}
const CombineBadgeStruct = {
	encode(message, writer = new BinaryWriter()) {
		if (message.displayType !== 0) writer.uint32(8).int32(message.displayType);
		if (message.icon !== void 0) ImageModel.encode(message.icon, writer.uint32(18).fork()).join();
		if (message.text !== void 0) BadgeText.encode(message.text, writer.uint32(26).fork()).join();
		if (message.str !== "") writer.uint32(34).string(message.str);
		if (message.padding !== void 0) PaddingInfo.encode(message.padding, writer.uint32(42).fork()).join();
		if (message.fontStyle !== void 0) FontStyle.encode(message.fontStyle, writer.uint32(50).fork()).join();
		if (message.profileCardPanel !== void 0) ProfileCardPanel.encode(message.profileCardPanel, writer.uint32(58).fork()).join();
		if (message.background !== void 0) CombineBadgeBackground.encode(message.background, writer.uint32(90).fork()).join();
		if (message.backgroundDarkMode !== void 0) CombineBadgeBackground.encode(message.backgroundDarkMode, writer.uint32(98).fork()).join();
		if (message.iconAutoMirrored !== false) writer.uint32(104).bool(message.iconAutoMirrored);
		if (message.backgroundAutoMirrored !== false) writer.uint32(112).bool(message.backgroundAutoMirrored);
		if (message.publicScreenShowStyle !== 0) writer.uint32(120).int32(message.publicScreenShowStyle);
		if (message.personalCardShowStyle !== 0) writer.uint32(128).int32(message.personalCardShowStyle);
		if (message.ranklistOnlineAudienceShowStyle !== 0) writer.uint32(136).int32(message.ranklistOnlineAudienceShowStyle);
		if (message.multiGuestShowStyle !== 0) writer.uint32(144).int32(message.multiGuestShowStyle);
		if (message.arrowConfig !== void 0) ArrowConfig.encode(message.arrowConfig, writer.uint32(154).fork()).join();
		if (message.paddingNewFont !== void 0) PaddingInfo.encode(message.paddingNewFont, writer.uint32(162).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCombineBadgeStruct();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.displayType = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.icon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.text = BadgeText.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.str = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.padding = PaddingInfo.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.fontStyle = FontStyle.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.profileCardPanel = ProfileCardPanel.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 90) break;
					message.background = CombineBadgeBackground.decode(reader, reader.uint32());
					continue;
				case 12:
					if (tag !== 98) break;
					message.backgroundDarkMode = CombineBadgeBackground.decode(reader, reader.uint32());
					continue;
				case 13:
					if (tag !== 104) break;
					message.iconAutoMirrored = reader.bool();
					continue;
				case 14:
					if (tag !== 112) break;
					message.backgroundAutoMirrored = reader.bool();
					continue;
				case 15:
					if (tag !== 120) break;
					message.publicScreenShowStyle = reader.int32();
					continue;
				case 16:
					if (tag !== 128) break;
					message.personalCardShowStyle = reader.int32();
					continue;
				case 17:
					if (tag !== 136) break;
					message.ranklistOnlineAudienceShowStyle = reader.int32();
					continue;
				case 18:
					if (tag !== 144) break;
					message.multiGuestShowStyle = reader.int32();
					continue;
				case 19:
					if (tag !== 154) break;
					message.arrowConfig = ArrowConfig.decode(reader, reader.uint32());
					continue;
				case 20:
					if (tag !== 162) break;
					message.paddingNewFont = PaddingInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseComboBadgeInfo() {
	return {
		icon: void 0,
		comboCount: "0"
	};
}
const ComboBadgeInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.icon !== void 0) ImageModel.encode(message.icon, writer.uint32(10).fork()).join();
		if (message.comboCount !== "0") writer.uint32(16).int64(message.comboCount);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseComboBadgeInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.icon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.comboCount = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCreatorScoreDisplayInfo() {
	return {
		ecommerceEntranceLabel: void 0,
		scoreLevel: 0
	};
}
const CreatorScoreDisplayInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.ecommerceEntranceLabel !== void 0) CreatorScoreLabelInfo.encode(message.ecommerceEntranceLabel, writer.uint32(10).fork()).join();
		if (message.scoreLevel !== 0) writer.uint32(16).int32(message.scoreLevel);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCreatorScoreDisplayInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.ecommerceEntranceLabel = CreatorScoreLabelInfo.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.scoreLevel = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCreatorScoreLabelInfo() {
	return {
		labelText: "",
		labelTextColorDark: "",
		labelTextColorLight: "",
		logoDark: void 0,
		logoLight: void 0,
		popUpInfo: void 0
	};
}
const CreatorScoreLabelInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.labelText !== "") writer.uint32(10).string(message.labelText);
		if (message.labelTextColorDark !== "") writer.uint32(18).string(message.labelTextColorDark);
		if (message.labelTextColorLight !== "") writer.uint32(26).string(message.labelTextColorLight);
		if (message.logoDark !== void 0) ImageModel.encode(message.logoDark, writer.uint32(34).fork()).join();
		if (message.logoLight !== void 0) ImageModel.encode(message.logoLight, writer.uint32(42).fork()).join();
		if (message.popUpInfo !== void 0) PopUpInfo.encode(message.popUpInfo, writer.uint32(50).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCreatorScoreLabelInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.labelText = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.labelTextColorDark = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.labelTextColorLight = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.logoDark = ImageModel.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.logoLight = ImageModel.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.popUpInfo = PopUpInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCreatorScoreProfile() {
	return {
		finalScore: 0,
		countryCode: "",
		displayInfo: void 0,
		scoreInfoExtra: {}
	};
}
const CreatorScoreProfile = {
	encode(message, writer = new BinaryWriter()) {
		if (message.finalScore !== 0) writer.uint32(9).double(message.finalScore);
		if (message.countryCode !== "") writer.uint32(26).string(message.countryCode);
		if (message.displayInfo !== void 0) CreatorScoreDisplayInfo.encode(message.displayInfo, writer.uint32(34).fork()).join();
		globalThis.Object.entries(message.scoreInfoExtra).forEach(([key, value]) => {
			CreatorScoreProfile_ScoreInfoExtraEntry.encode({
				key,
				value
			}, writer.uint32(42).fork()).join();
		});
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCreatorScoreProfile();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 9) break;
					message.finalScore = reader.double();
					continue;
				case 3:
					if (tag !== 26) break;
					message.countryCode = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.displayInfo = CreatorScoreDisplayInfo.decode(reader, reader.uint32());
					continue;
				case 5: {
					if (tag !== 42) break;
					const entry5 = CreatorScoreProfile_ScoreInfoExtraEntry.decode(reader, reader.uint32());
					if (entry5.value !== void 0) message.scoreInfoExtra[entry5.key] = entry5.value;
					continue;
				}
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCreatorScoreProfile_ScoreInfoExtraEntry() {
	return {
		key: "",
		value: ""
	};
}
const CreatorScoreProfile_ScoreInfoExtraEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.value !== "") writer.uint32(18).string(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCreatorScoreProfile_ScoreInfoExtraEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseEnigmaInfo() {
	return { isEnigmaMaskOn: false };
}
const EnigmaInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.isEnigmaMaskOn !== false) writer.uint32(8).bool(message.isEnigmaMaskOn);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseEnigmaInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.isEnigmaMaskOn = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseFansClubInfo() {
	return {
		isSleeping: false,
		fansLevel: "0",
		fansScore: "0",
		badge: void 0,
		fansCount: "0",
		fansClubName: ""
	};
}
const FansClubInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.isSleeping !== false) writer.uint32(8).bool(message.isSleeping);
		if (message.fansLevel !== "0") writer.uint32(16).int64(message.fansLevel);
		if (message.fansScore !== "0") writer.uint32(24).int64(message.fansScore);
		if (message.badge !== void 0) ImageModel.encode(message.badge, writer.uint32(34).fork()).join();
		if (message.fansCount !== "0") writer.uint32(40).int64(message.fansCount);
		if (message.fansClubName !== "") writer.uint32(50).string(message.fansClubName);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseFansClubInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.isSleeping = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.fansLevel = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.fansScore = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.badge = ImageModel.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 40) break;
					message.fansCount = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 50) break;
					message.fansClubName = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseFollowInfo() {
	return {
		followingCount: "0",
		followerCount: "0",
		followStatus: "0",
		pushStatus: "0"
	};
}
const FollowInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.followingCount !== "0") writer.uint32(8).int64(message.followingCount);
		if (message.followerCount !== "0") writer.uint32(16).int64(message.followerCount);
		if (message.followStatus !== "0") writer.uint32(24).int64(message.followStatus);
		if (message.pushStatus !== "0") writer.uint32(32).int64(message.pushStatus);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseFollowInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.followingCount = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.followerCount = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.followStatus = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.pushStatus = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseFontStyle() {
	return {
		fontSize: 0,
		fontWidth: 0,
		fontColor: "",
		borderColor: ""
	};
}
const FontStyle = {
	encode(message, writer = new BinaryWriter()) {
		if (message.fontSize !== 0) writer.uint32(8).int32(message.fontSize);
		if (message.fontWidth !== 0) writer.uint32(16).int32(message.fontWidth);
		if (message.fontColor !== "") writer.uint32(26).string(message.fontColor);
		if (message.borderColor !== "") writer.uint32(34).string(message.borderColor);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseFontStyle();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.fontSize = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.fontWidth = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.fontColor = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.borderColor = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseIconConfig() {
	return {
		icon: void 0,
		background: void 0
	};
}
const IconConfig = {
	encode(message, writer = new BinaryWriter()) {
		if (message.icon !== void 0) ImageModel.encode(message.icon, writer.uint32(10).fork()).join();
		if (message.background !== void 0) CombineBadgeBackground.encode(message.background, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseIconConfig();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.icon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.background = CombineBadgeBackground.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseImageBadge() {
	return {
		displayType: 0,
		image: void 0
	};
}
const ImageBadge = {
	encode(message, writer = new BinaryWriter()) {
		if (message.displayType !== 0) writer.uint32(8).int32(message.displayType);
		if (message.image !== void 0) ImageModel.encode(message.image, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseImageBadge();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.displayType = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.image = ImageModel.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLabelConfig() {
	return {
		label: "",
		fontStyle: void 0,
		background: void 0
	};
}
const LabelConfig = {
	encode(message, writer = new BinaryWriter()) {
		if (message.label !== "") writer.uint32(10).string(message.label);
		if (message.fontStyle !== void 0) FontStyle.encode(message.fontStyle, writer.uint32(18).fork()).join();
		if (message.background !== void 0) CombineBadgeBackground.encode(message.background, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLabelConfig();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.label = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.fontStyle = FontStyle.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.background = CombineBadgeBackground.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseNumberConfig() {
	return {
		number: "0",
		fontStyle: void 0,
		background: void 0
	};
}
const NumberConfig = {
	encode(message, writer = new BinaryWriter()) {
		if (message.number !== "0") writer.uint32(8).int64(message.number);
		if (message.fontStyle !== void 0) FontStyle.encode(message.fontStyle, writer.uint32(18).fork()).join();
		if (message.background !== void 0) CombineBadgeBackground.encode(message.background, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseNumberConfig();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.number = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.fontStyle = FontStyle.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.background = CombineBadgeBackground.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseOwnRoom() {
	return {
		roomIds: [],
		roomIdsStr: []
	};
}
const OwnRoom = {
	encode(message, writer = new BinaryWriter()) {
		writer.uint32(10).fork();
		for (const v of message.roomIds) writer.int64(v);
		writer.join();
		for (const v of message.roomIdsStr) writer.uint32(18).string(v);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseOwnRoom();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag === 8) {
						message.roomIds.push(reader.int64().toString());
						continue;
					}
					if (tag === 10) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.roomIds.push(reader.int64().toString());
						continue;
					}
					break;
				case 2:
					if (tag !== 18) break;
					message.roomIdsStr.push(reader.string());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePaddingInfo() {
	return {
		useSpecific: false,
		middlePadding: 0,
		badgeWidth: 0,
		leftPadding: 0,
		rightPadding: 0,
		iconTopPadding: 0,
		iconBottomPadding: 0,
		horizontalPaddingRule: 0,
		verticalPaddingRule: 0
	};
}
const PaddingInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.useSpecific !== false) writer.uint32(8).bool(message.useSpecific);
		if (message.middlePadding !== 0) writer.uint32(16).int32(message.middlePadding);
		if (message.badgeWidth !== 0) writer.uint32(24).int32(message.badgeWidth);
		if (message.leftPadding !== 0) writer.uint32(32).int32(message.leftPadding);
		if (message.rightPadding !== 0) writer.uint32(40).int32(message.rightPadding);
		if (message.iconTopPadding !== 0) writer.uint32(48).int32(message.iconTopPadding);
		if (message.iconBottomPadding !== 0) writer.uint32(56).int32(message.iconBottomPadding);
		if (message.horizontalPaddingRule !== 0) writer.uint32(64).int32(message.horizontalPaddingRule);
		if (message.verticalPaddingRule !== 0) writer.uint32(72).int32(message.verticalPaddingRule);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePaddingInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.useSpecific = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.middlePadding = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.badgeWidth = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.leftPadding = reader.int32();
					continue;
				case 5:
					if (tag !== 40) break;
					message.rightPadding = reader.int32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.iconTopPadding = reader.int32();
					continue;
				case 7:
					if (tag !== 56) break;
					message.iconBottomPadding = reader.int32();
					continue;
				case 8:
					if (tag !== 64) break;
					message.horizontalPaddingRule = reader.int32();
					continue;
				case 9:
					if (tag !== 72) break;
					message.verticalPaddingRule = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePopUpInfo() {
	return {
		title: "",
		description: ""
	};
}
const PopUpInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.title !== "") writer.uint32(10).string(message.title);
		if (message.description !== "") writer.uint32(18).string(message.description);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePopUpInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.title = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.description = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePrivilegeLogExtra() {
	return {
		dataVersion: "",
		privilegeId: "",
		privilegeVersion: "",
		privilegeOrderId: "",
		level: "",
		startTime: "0",
		endTime: "0"
	};
}
const PrivilegeLogExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.dataVersion !== "") writer.uint32(10).string(message.dataVersion);
		if (message.privilegeId !== "") writer.uint32(18).string(message.privilegeId);
		if (message.privilegeVersion !== "") writer.uint32(26).string(message.privilegeVersion);
		if (message.privilegeOrderId !== "") writer.uint32(34).string(message.privilegeOrderId);
		if (message.level !== "") writer.uint32(42).string(message.level);
		if (message.startTime !== "0") writer.uint32(48).int64(message.startTime);
		if (message.endTime !== "0") writer.uint32(56).int64(message.endTime);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePrivilegeLogExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.dataVersion = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.privilegeId = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.privilegeVersion = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.privilegeOrderId = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.level = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.startTime = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.endTime = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseProfileCardPanel() {
	return {
		useNewProfileCardStyle: false,
		badgeTextPosition: 0,
		projectionConfig: void 0,
		profileContent: void 0,
		separatorConfig: void 0
	};
}
const ProfileCardPanel = {
	encode(message, writer = new BinaryWriter()) {
		if (message.useNewProfileCardStyle !== false) writer.uint32(8).bool(message.useNewProfileCardStyle);
		if (message.badgeTextPosition !== 0) writer.uint32(16).int32(message.badgeTextPosition);
		if (message.projectionConfig !== void 0) ProjectionConfig.encode(message.projectionConfig, writer.uint32(26).fork()).join();
		if (message.profileContent !== void 0) ProfileContent.encode(message.profileContent, writer.uint32(34).fork()).join();
		if (message.separatorConfig !== void 0) SeparatorConfig.encode(message.separatorConfig, writer.uint32(42).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseProfileCardPanel();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.useNewProfileCardStyle = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.badgeTextPosition = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.projectionConfig = ProjectionConfig.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.profileContent = ProfileContent.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.separatorConfig = SeparatorConfig.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseProfileContent() {
	return {
		useContent: false,
		iconList: [],
		numberConfig: void 0,
		labelConfig: void 0
	};
}
const ProfileContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.useContent !== false) writer.uint32(8).bool(message.useContent);
		for (const v of message.iconList) IconConfig.encode(v, writer.uint32(18).fork()).join();
		if (message.numberConfig !== void 0) NumberConfig.encode(message.numberConfig, writer.uint32(26).fork()).join();
		if (message.labelConfig !== void 0) LabelConfig.encode(message.labelConfig, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseProfileContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.useContent = reader.bool();
					continue;
				case 2:
					if (tag !== 18) break;
					message.iconList.push(IconConfig.decode(reader, reader.uint32()));
					continue;
				case 3:
					if (tag !== 26) break;
					message.numberConfig = NumberConfig.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.labelConfig = LabelConfig.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseProjectionConfig() {
	return {
		useProjection: false,
		icon: void 0
	};
}
const ProjectionConfig = {
	encode(message, writer = new BinaryWriter()) {
		if (message.useProjection !== false) writer.uint32(8).bool(message.useProjection);
		if (message.icon !== void 0) ImageModel.encode(message.icon, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseProjectionConfig();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.useProjection = reader.bool();
					continue;
				case 2:
					if (tag !== 18) break;
					message.icon = ImageModel.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSeparatorConfig() {
	return { color: "" };
}
const SeparatorConfig = {
	encode(message, writer = new BinaryWriter()) {
		if (message.color !== "") writer.uint32(10).string(message.color);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSeparatorConfig();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.color = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseStretchableBackgroundImage() {
	return {
		image: void 0,
		flexSettings: []
	};
}
const StretchableBackgroundImage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.image !== void 0) ImageModel.encode(message.image, writer.uint32(10).fork()).join();
		writer.uint32(18).fork();
		for (const v of message.flexSettings) writer.int64(v);
		writer.join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseStretchableBackgroundImage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.image = ImageModel.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag === 16) {
						message.flexSettings.push(reader.int64().toString());
						continue;
					}
					if (tag === 18) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.flexSettings.push(reader.int64().toString());
						continue;
					}
					break;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseStringBadge() {
	return {
		displayType: 0,
		str: ""
	};
}
const StringBadge = {
	encode(message, writer = new BinaryWriter()) {
		if (message.displayType !== 0) writer.uint32(8).int32(message.displayType);
		if (message.str !== "") writer.uint32(18).string(message.str);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseStringBadge();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.displayType = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.str = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSubscribeBadge() {
	return {
		originImg: void 0,
		previewImg: void 0,
		isCustomized: false
	};
}
const SubscribeBadge = {
	encode(message, writer = new BinaryWriter()) {
		if (message.originImg !== void 0) ImageModel.encode(message.originImg, writer.uint32(26).fork()).join();
		if (message.previewImg !== void 0) ImageModel.encode(message.previewImg, writer.uint32(34).fork()).join();
		if (message.isCustomized !== false) writer.uint32(40).bool(message.isCustomized);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSubscribeBadge();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 3:
					if (tag !== 26) break;
					message.originImg = ImageModel.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.previewImg = ImageModel.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 40) break;
					message.isCustomized = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSubscribeInfo() {
	return {
		qualification: false,
		isSubscribe: false,
		badge: void 0,
		enableSubscription: false,
		subscriberCount: 0,
		isInGracePeriod: false,
		isSubscribedToAnchor: false,
		timerDetail: void 0,
		userGiftSubAuth: false,
		anchorGiftSubAuth: false,
		status: 0,
		subEndTime: "0",
		packageId: "",
		solRoomDisplayText: "",
		isSolEligible: false,
		subSplitStatus: void 0
	};
}
const SubscribeInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.qualification !== false) writer.uint32(8).bool(message.qualification);
		if (message.isSubscribe !== false) writer.uint32(16).bool(message.isSubscribe);
		if (message.badge !== void 0) SubscribeBadge.encode(message.badge, writer.uint32(26).fork()).join();
		if (message.enableSubscription !== false) writer.uint32(32).bool(message.enableSubscription);
		if (message.subscriberCount !== 0) writer.uint32(40).int32(message.subscriberCount);
		if (message.isInGracePeriod !== false) writer.uint32(48).bool(message.isInGracePeriod);
		if (message.isSubscribedToAnchor !== false) writer.uint32(56).bool(message.isSubscribedToAnchor);
		if (message.timerDetail !== void 0) TimerDetail.encode(message.timerDetail, writer.uint32(66).fork()).join();
		if (message.userGiftSubAuth !== false) writer.uint32(72).bool(message.userGiftSubAuth);
		if (message.anchorGiftSubAuth !== false) writer.uint32(80).bool(message.anchorGiftSubAuth);
		if (message.status !== 0) writer.uint32(88).int32(message.status);
		if (message.subEndTime !== "0") writer.uint32(96).int64(message.subEndTime);
		if (message.packageId !== "") writer.uint32(106).string(message.packageId);
		if (message.solRoomDisplayText !== "") writer.uint32(114).string(message.solRoomDisplayText);
		if (message.isSolEligible !== false) writer.uint32(120).bool(message.isSolEligible);
		if (message.subSplitStatus !== void 0) SubSplitStatus.encode(message.subSplitStatus, writer.uint32(810).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSubscribeInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.qualification = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.isSubscribe = reader.bool();
					continue;
				case 3:
					if (tag !== 26) break;
					message.badge = SubscribeBadge.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.enableSubscription = reader.bool();
					continue;
				case 5:
					if (tag !== 40) break;
					message.subscriberCount = reader.int32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.isInGracePeriod = reader.bool();
					continue;
				case 7:
					if (tag !== 56) break;
					message.isSubscribedToAnchor = reader.bool();
					continue;
				case 8:
					if (tag !== 66) break;
					message.timerDetail = TimerDetail.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 72) break;
					message.userGiftSubAuth = reader.bool();
					continue;
				case 10:
					if (tag !== 80) break;
					message.anchorGiftSubAuth = reader.bool();
					continue;
				case 11:
					if (tag !== 88) break;
					message.status = reader.int32();
					continue;
				case 12:
					if (tag !== 96) break;
					message.subEndTime = reader.int64().toString();
					continue;
				case 13:
					if (tag !== 106) break;
					message.packageId = reader.string();
					continue;
				case 14:
					if (tag !== 114) break;
					message.solRoomDisplayText = reader.string();
					continue;
				case 15:
					if (tag !== 120) break;
					message.isSolEligible = reader.bool();
					continue;
				case 101:
					if (tag !== 810) break;
					message.subSplitStatus = SubSplitStatus.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTextBadge() {
	return {
		displayType: 0,
		key: "",
		defaultPattern: "",
		pieces: []
	};
}
const TextBadge = {
	encode(message, writer = new BinaryWriter()) {
		if (message.displayType !== 0) writer.uint32(8).int32(message.displayType);
		if (message.key !== "") writer.uint32(18).string(message.key);
		if (message.defaultPattern !== "") writer.uint32(26).string(message.defaultPattern);
		for (const v of message.pieces) writer.uint32(34).string(v);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTextBadge();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.displayType = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.key = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.defaultPattern = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.pieces.push(reader.string());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/shared/messages.ts
function createBaseAuthenticationInfo$1() {
	return {
		customVerify: "",
		enterpriseVerifyReason: "",
		authenticationBadge: void 0
	};
}
const AuthenticationInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.customVerify !== "") writer.uint32(10).string(message.customVerify);
		if (message.enterpriseVerifyReason !== "") writer.uint32(18).string(message.enterpriseVerifyReason);
		if (message.authenticationBadge !== void 0) ImageModel.encode(message.authenticationBadge, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAuthenticationInfo$1();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.customVerify = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.enterpriseVerifyReason = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.authenticationBadge = ImageModel.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseEnhancementText() {
	return {
		type: 0,
		placeholderInfo: []
	};
}
const EnhancementText = {
	encode(message, writer = new BinaryWriter()) {
		if (message.type !== 0) writer.uint32(8).int32(message.type);
		for (const v of message.placeholderInfo) PlaceholderInfo.encode(v, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseEnhancementText();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.type = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.placeholderInfo.push(PlaceholderInfo.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseEnhancementTextInfo() {
	return { enhancementTexts: [] };
}
const EnhancementTextInfo = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.enhancementTexts) EnhancementText.encode(v, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseEnhancementTextInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.enhancementTexts.push(EnhancementText.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePlaceholderInfo() {
	return {
		placeholder: "",
		value: ""
	};
}
const PlaceholderInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.placeholder !== "") writer.uint32(10).string(message.placeholder);
		if (message.value !== "") writer.uint32(18).string(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePlaceholderInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.placeholder = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseShopLabelImage() {
	return {
		height: 0,
		width: 0,
		minetype: "",
		thumbUri: "",
		thumbUriList: [],
		uri: "",
		urlList: [],
		color: ""
	};
}
const ShopLabelImage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.height !== 0) writer.uint32(8).int32(message.height);
		if (message.width !== 0) writer.uint32(16).int32(message.width);
		if (message.minetype !== "") writer.uint32(26).string(message.minetype);
		if (message.thumbUri !== "") writer.uint32(34).string(message.thumbUri);
		for (const v of message.thumbUriList) writer.uint32(42).string(v);
		if (message.uri !== "") writer.uint32(50).string(message.uri);
		for (const v of message.urlList) writer.uint32(58).string(v);
		if (message.color !== "") writer.uint32(66).string(message.color);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseShopLabelImage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.height = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.width = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.minetype = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.thumbUri = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.thumbUriList.push(reader.string());
					continue;
				case 6:
					if (tag !== 50) break;
					message.uri = reader.string();
					continue;
				case 7:
					if (tag !== 58) break;
					message.urlList.push(reader.string());
					continue;
				case 8:
					if (tag !== 66) break;
					message.color = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUserInfo$2() {
	return {
		userId: "0",
		nickName: "",
		avatarThumb: void 0
	};
}
const UserInfo$2 = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.nickName !== "") writer.uint32(18).string(message.nickName);
		if (message.avatarThumb !== void 0) ImageModel.encode(message.avatarThumb, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUserInfo$2();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.nickName = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.avatarThumb = ImageModel.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/message_proto.ts
function createBaseDisplayControl() {
	return {
		priority: 0,
		duration: "0",
		targetGroupShowRst: {},
		horizontalTriggerType: 0
	};
}
const DisplayControl = {
	encode(message, writer = new BinaryWriter()) {
		if (message.priority !== 0) writer.uint32(8).int32(message.priority);
		if (message.duration !== "0") writer.uint32(16).int64(message.duration);
		globalThis.Object.entries(message.targetGroupShowRst).forEach(([key, value]) => {
			DisplayControl_TargetGroupShowRstEntry.encode({
				key,
				value
			}, writer.uint32(26).fork()).join();
		});
		if (message.horizontalTriggerType !== 0) writer.uint32(32).int32(message.horizontalTriggerType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseDisplayControl();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.priority = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.duration = reader.int64().toString();
					continue;
				case 3: {
					if (tag !== 26) break;
					const entry3 = DisplayControl_TargetGroupShowRstEntry.decode(reader, reader.uint32());
					if (entry3.value !== void 0) message.targetGroupShowRst[entry3.key] = entry3.value;
					continue;
				}
				case 4:
					if (tag !== 32) break;
					message.horizontalTriggerType = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseDisplayControl_TargetGroupShowRstEntry() {
	return {
		key: 0,
		value: void 0
	};
}
const DisplayControl_TargetGroupShowRstEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== 0) writer.uint32(8).int32(message.key);
		if (message.value !== void 0) ShowResult.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseDisplayControl_TargetGroupShowRstEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = ShowResult.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseEcommerceEntrance() {
	return {
		entranceType: 0,
		creatorType: 0,
		schema: "",
		shopEntranceInfo: void 0,
		showcaseEntranceInfo: void 0,
		viewVersion: 0
	};
}
const EcommerceEntrance = {
	encode(message, writer = new BinaryWriter()) {
		if (message.entranceType !== 0) writer.uint32(8).int32(message.entranceType);
		if (message.creatorType !== 0) writer.uint32(16).int32(message.creatorType);
		if (message.schema !== "") writer.uint32(26).string(message.schema);
		if (message.shopEntranceInfo !== void 0) ShopEntranceInfo.encode(message.shopEntranceInfo, writer.uint32(34).fork()).join();
		if (message.showcaseEntranceInfo !== void 0) ShowcaseEntranceInfo.encode(message.showcaseEntranceInfo, writer.uint32(42).fork()).join();
		if (message.viewVersion !== 0) writer.uint32(48).int32(message.viewVersion);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseEcommerceEntrance();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.entranceType = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.creatorType = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.schema = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.shopEntranceInfo = ShopEntranceInfo.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.showcaseEntranceInfo = ShowcaseEntranceInfo.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 48) break;
					message.viewVersion = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePerceptionFeedbackOption() {
	return {
		id: "0",
		contentKey: ""
	};
}
const PerceptionFeedbackOption = {
	encode(message, writer = new BinaryWriter()) {
		if (message.id !== "0") writer.uint32(8).int64(message.id);
		if (message.contentKey !== "") writer.uint32(18).string(message.contentKey);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePerceptionFeedbackOption();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.id = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.contentKey = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRankUserEnigmaInfo() {
	return { isEnigmaMaskOn: false };
}
const RankUserEnigmaInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.isEnigmaMaskOn !== false) writer.uint32(8).bool(message.isEnigmaMaskOn);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRankUserEnigmaInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.isEnigmaMaskOn = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSellingPoint() {
	return {
		showText: "",
		sellingPointType: 0
	};
}
const SellingPoint = {
	encode(message, writer = new BinaryWriter()) {
		if (message.showText !== "") writer.uint32(10).string(message.showText);
		if (message.sellingPointType !== 0) writer.uint32(16).int32(message.sellingPointType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSellingPoint();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.showText = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.sellingPointType = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseShopEntranceInfo() {
	return {
		shopId: "",
		shopName: "",
		shopRating: "",
		storeLabel: void 0,
		formatSoldCount: "",
		soldCount: "0",
		expRatePercentile: 0,
		expRateTopDisplay: "",
		rateDisplayStyle: 0,
		showRateNotApplicable: false,
		sellingPoint: []
	};
}
const ShopEntranceInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.shopId !== "") writer.uint32(10).string(message.shopId);
		if (message.shopName !== "") writer.uint32(18).string(message.shopName);
		if (message.shopRating !== "") writer.uint32(26).string(message.shopRating);
		if (message.storeLabel !== void 0) StoreLabel.encode(message.storeLabel, writer.uint32(34).fork()).join();
		if (message.formatSoldCount !== "") writer.uint32(42).string(message.formatSoldCount);
		if (message.soldCount !== "0") writer.uint32(48).int64(message.soldCount);
		if (message.expRatePercentile !== 0) writer.uint32(56).int32(message.expRatePercentile);
		if (message.expRateTopDisplay !== "") writer.uint32(66).string(message.expRateTopDisplay);
		if (message.rateDisplayStyle !== 0) writer.uint32(72).int32(message.rateDisplayStyle);
		if (message.showRateNotApplicable !== false) writer.uint32(80).bool(message.showRateNotApplicable);
		for (const v of message.sellingPoint) SellingPoint.encode(v, writer.uint32(90).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseShopEntranceInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.shopId = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.shopName = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.shopRating = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.storeLabel = StoreLabel.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.formatSoldCount = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.soldCount = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.expRatePercentile = reader.int32();
					continue;
				case 8:
					if (tag !== 66) break;
					message.expRateTopDisplay = reader.string();
					continue;
				case 9:
					if (tag !== 72) break;
					message.rateDisplayStyle = reader.int32();
					continue;
				case 10:
					if (tag !== 80) break;
					message.showRateNotApplicable = reader.bool();
					continue;
				case 11:
					if (tag !== 90) break;
					message.sellingPoint.push(SellingPoint.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseShowResult() {
	return { banned: false };
}
const ShowResult = {
	encode(message, writer = new BinaryWriter()) {
		if (message.banned !== false) writer.uint32(8).bool(message.banned);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseShowResult();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.banned = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseShowcaseEntranceInfo() {
	return {
		formatSoldCount: "",
		soldCount: "0",
		showcaseName: "",
		sellingPoint: [],
		creatorScoreProfile: void 0
	};
}
const ShowcaseEntranceInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.formatSoldCount !== "") writer.uint32(10).string(message.formatSoldCount);
		if (message.soldCount !== "0") writer.uint32(16).int64(message.soldCount);
		if (message.showcaseName !== "") writer.uint32(26).string(message.showcaseName);
		for (const v of message.sellingPoint) SellingPoint.encode(v, writer.uint32(90).fork()).join();
		if (message.creatorScoreProfile !== void 0) CreatorScoreProfile.encode(message.creatorScoreProfile, writer.uint32(98).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseShowcaseEntranceInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.formatSoldCount = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.soldCount = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.showcaseName = reader.string();
					continue;
				case 11:
					if (tag !== 90) break;
					message.sellingPoint.push(SellingPoint.decode(reader, reader.uint32()));
					continue;
				case 12:
					if (tag !== 98) break;
					message.creatorScoreProfile = CreatorScoreProfile.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseStoreIdentityLabel() {
	return {
		labelType: 0,
		identityLabelText: "",
		identityLogoLight: void 0,
		identityLogoDark: void 0,
		identityLabelBgColorLight: "",
		identityLabelBgColorDark: "",
		identityLabelTextColorLight: "",
		identityLabelTextColorDark: "",
		shopExplanationPageSchema: "",
		shopIdentityLabelKey: ""
	};
}
const StoreIdentityLabel = {
	encode(message, writer = new BinaryWriter()) {
		if (message.labelType !== 0) writer.uint32(8).int32(message.labelType);
		if (message.identityLabelText !== "") writer.uint32(18).string(message.identityLabelText);
		if (message.identityLogoLight !== void 0) ShopLabelImage.encode(message.identityLogoLight, writer.uint32(26).fork()).join();
		if (message.identityLogoDark !== void 0) ShopLabelImage.encode(message.identityLogoDark, writer.uint32(34).fork()).join();
		if (message.identityLabelBgColorLight !== "") writer.uint32(42).string(message.identityLabelBgColorLight);
		if (message.identityLabelBgColorDark !== "") writer.uint32(50).string(message.identityLabelBgColorDark);
		if (message.identityLabelTextColorLight !== "") writer.uint32(58).string(message.identityLabelTextColorLight);
		if (message.identityLabelTextColorDark !== "") writer.uint32(66).string(message.identityLabelTextColorDark);
		if (message.shopExplanationPageSchema !== "") writer.uint32(74).string(message.shopExplanationPageSchema);
		if (message.shopIdentityLabelKey !== "") writer.uint32(82).string(message.shopIdentityLabelKey);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseStoreIdentityLabel();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.labelType = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.identityLabelText = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.identityLogoLight = ShopLabelImage.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.identityLogoDark = ShopLabelImage.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.identityLabelBgColorLight = reader.string();
					continue;
				case 6:
					if (tag !== 50) break;
					message.identityLabelBgColorDark = reader.string();
					continue;
				case 7:
					if (tag !== 58) break;
					message.identityLabelTextColorLight = reader.string();
					continue;
				case 8:
					if (tag !== 66) break;
					message.identityLabelTextColorDark = reader.string();
					continue;
				case 9:
					if (tag !== 74) break;
					message.shopExplanationPageSchema = reader.string();
					continue;
				case 10:
					if (tag !== 82) break;
					message.shopIdentityLabelKey = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseStoreLabel() {
	return {
		officialLabel: void 0,
		isBytemall: false,
		shopIdentityLabel: void 0
	};
}
const StoreLabel = {
	encode(message, writer = new BinaryWriter()) {
		if (message.officialLabel !== void 0) StoreOfficialLabel.encode(message.officialLabel, writer.uint32(10).fork()).join();
		if (message.isBytemall !== false) writer.uint32(16).bool(message.isBytemall);
		if (message.shopIdentityLabel !== void 0) StoreIdentityLabel.encode(message.shopIdentityLabel, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseStoreLabel();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.officialLabel = StoreOfficialLabel.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.isBytemall = reader.bool();
					continue;
				case 3:
					if (tag !== 26) break;
					message.shopIdentityLabel = StoreIdentityLabel.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseStoreOfficialLabel() {
	return {
		labelImageLight: void 0,
		labelImageDark: void 0,
		labelType: 0,
		labelTypeStr: ""
	};
}
const StoreOfficialLabel = {
	encode(message, writer = new BinaryWriter()) {
		if (message.labelImageLight !== void 0) ShopLabelImage.encode(message.labelImageLight, writer.uint32(10).fork()).join();
		if (message.labelImageDark !== void 0) ShopLabelImage.encode(message.labelImageDark, writer.uint32(18).fork()).join();
		if (message.labelType !== 0) writer.uint32(24).int32(message.labelType);
		if (message.labelTypeStr !== "") writer.uint32(34).string(message.labelTypeStr);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseStoreOfficialLabel();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.labelImageLight = ShopLabelImage.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.labelImageDark = ShopLabelImage.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.labelType = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.labelTypeStr = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/gift/assets_face_recognition_meta.ts
function createBaseFaceRecognitionMeta() {
	return {
		version: "",
		requirement: [],
		modelNames: "",
		sdkExtra: ""
	};
}
const FaceRecognitionMeta = {
	encode(message, writer = new BinaryWriter()) {
		if (message.version !== "") writer.uint32(10).string(message.version);
		for (const v of message.requirement) writer.uint32(18).string(v);
		if (message.modelNames !== "") writer.uint32(26).string(message.modelNames);
		if (message.sdkExtra !== "") writer.uint32(34).string(message.sdkExtra);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseFaceRecognitionMeta();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.version = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.requirement.push(reader.string());
					continue;
				case 3:
					if (tag !== 26) break;
					message.modelNames = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.sdkExtra = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/goal.ts
function createBaseGoalComparison() {
	return {
		coinsIncr: "0",
		contributorIncr: "0"
	};
}
const GoalComparison = {
	encode(message, writer = new BinaryWriter()) {
		if (message.coinsIncr !== "0") writer.uint32(8).int64(message.coinsIncr);
		if (message.contributorIncr !== "0") writer.uint32(16).int64(message.contributorIncr);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGoalComparison();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.coinsIncr = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.contributorIncr = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGoalPinInfo() {
	return {
		pin: false,
		unpin: false,
		pinEndTime: "0",
		subGoalId: "0",
		subGoalIdStr: ""
	};
}
const GoalPinInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.pin !== false) writer.uint32(8).bool(message.pin);
		if (message.unpin !== false) writer.uint32(16).bool(message.unpin);
		if (message.pinEndTime !== "0") writer.uint32(24).int64(message.pinEndTime);
		if (message.subGoalId !== "0") writer.uint32(32).int64(message.subGoalId);
		if (message.subGoalIdStr !== "") writer.uint32(42).string(message.subGoalIdStr);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGoalPinInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.pin = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.unpin = reader.bool();
					continue;
				case 3:
					if (tag !== 24) break;
					message.pinEndTime = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.subGoalId = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.subGoalIdStr = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGoalReward() {
	return {
		rewardContent: "",
		topN: 0,
		hasSticker: false,
		auditStatus: 0
	};
}
const GoalReward = {
	encode(message, writer = new BinaryWriter()) {
		if (message.rewardContent !== "") writer.uint32(10).string(message.rewardContent);
		if (message.topN !== 0) writer.uint32(16).int32(message.topN);
		if (message.hasSticker !== false) writer.uint32(24).bool(message.hasSticker);
		if (message.auditStatus !== 0) writer.uint32(32).int32(message.auditStatus);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGoalReward();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.rewardContent = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.topN = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.hasSticker = reader.bool();
					continue;
				case 4:
					if (tag !== 32) break;
					message.auditStatus = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGoalStats() {
	return {
		totalCoins: "0",
		totalContributor: "0",
		comparison: void 0,
		totalNewFans: "0"
	};
}
const GoalStats = {
	encode(message, writer = new BinaryWriter()) {
		if (message.totalCoins !== "0") writer.uint32(8).int64(message.totalCoins);
		if (message.totalContributor !== "0") writer.uint32(16).int64(message.totalContributor);
		if (message.comparison !== void 0) GoalComparison.encode(message.comparison, writer.uint32(26).fork()).join();
		if (message.totalNewFans !== "0") writer.uint32(32).int64(message.totalNewFans);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGoalStats();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.totalCoins = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.totalContributor = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.comparison = GoalComparison.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.totalNewFans = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSubGoalContribution() {
	return {
		id: "",
		contributionCount: "0"
	};
}
const SubGoalContribution = {
	encode(message, writer = new BinaryWriter()) {
		if (message.id !== "") writer.uint32(10).string(message.id);
		if (message.contributionCount !== "0") writer.uint32(16).int64(message.contributionCount);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSubGoalContribution();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.id = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.contributionCount = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSubGoalPinInfo() {
	return {
		pinStartTime: "0",
		pinEndTime: "0",
		pinReadyTime: "0"
	};
}
const SubGoalPinInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.pinStartTime !== "0") writer.uint32(8).int64(message.pinStartTime);
		if (message.pinEndTime !== "0") writer.uint32(16).int64(message.pinEndTime);
		if (message.pinReadyTime !== "0") writer.uint32(24).int64(message.pinReadyTime);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSubGoalPinInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.pinStartTime = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.pinEndTime = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.pinReadyTime = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/gift/model.ts
function createBaseAssetBase() {
	return {
		url: void 0,
		md5: "",
		faceMeta: void 0
	};
}
const AssetBase = {
	encode(message, writer = new BinaryWriter()) {
		if (message.url !== void 0) ImageModel.encode(message.url, writer.uint32(18).fork()).join();
		if (message.md5 !== "") writer.uint32(26).string(message.md5);
		if (message.faceMeta !== void 0) FaceRecognitionMeta.encode(message.faceMeta, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAssetBase();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 2:
					if (tag !== 18) break;
					message.url = ImageModel.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.md5 = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.faceMeta = FaceRecognitionMeta.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseAssetExtra() {
	return { effectStarlingKey: "" };
}
const AssetExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.effectStarlingKey !== "") writer.uint32(10).string(message.effectStarlingKey);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAssetExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.effectStarlingKey = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseAuditInfo() {
	return {
		violationId: "0",
		taskType: 0
	};
}
const AuditInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.violationId !== "0") writer.uint32(8).int64(message.violationId);
		if (message.taskType !== 0) writer.uint32(16).int32(message.taskType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAuditInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.violationId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.taskType = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBEFViewRenderSize() {
	return {
		w: 0,
		h: 0
	};
}
const BEFViewRenderSize = {
	encode(message, writer = new BinaryWriter()) {
		if (message.w !== 0) writer.uint32(8).int32(message.w);
		if (message.h !== 0) writer.uint32(16).int32(message.h);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBEFViewRenderSize();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.w = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.h = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseDistributionStrategy() {
	return {
		assetBase: void 0,
		resourceType: 0
	};
}
const DistributionStrategy = {
	encode(message, writer = new BinaryWriter()) {
		if (message.assetBase !== void 0) AssetBase.encode(message.assetBase, writer.uint32(10).fork()).join();
		if (message.resourceType !== 0) writer.uint32(16).int32(message.resourceType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseDistributionStrategy();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.assetBase = AssetBase.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.resourceType = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseDynamicRestriction() {
	return {
		scenes: void 0,
		receivers: []
	};
}
const DynamicRestriction = {
	encode(message, writer = new BinaryWriter()) {
		if (message.scenes !== void 0) SceneRestriction.encode(message.scenes, writer.uint32(10).fork()).join();
		for (const v of message.receivers) ReceiverRestriction.encode(v, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseDynamicRestriction();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.scenes = SceneRestriction.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.receivers.push(ReceiverRestriction.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseFlyingMicResources() {
	return {
		pathImage: void 0,
		micImage: void 0,
		transitionConfigs: []
	};
}
const FlyingMicResources = {
	encode(message, writer = new BinaryWriter()) {
		if (message.pathImage !== void 0) ImageModel.encode(message.pathImage, writer.uint32(10).fork()).join();
		if (message.micImage !== void 0) ImageModel.encode(message.micImage, writer.uint32(18).fork()).join();
		for (const v of message.transitionConfigs) TransitionConfig.encode(v, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseFlyingMicResources();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.pathImage = ImageModel.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.micImage = ImageModel.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.transitionConfigs.push(TransitionConfig.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftColorInfo() {
	return {
		colorId: "0",
		colorName: "",
		colorValues: [],
		colorImage: void 0,
		giftImage: void 0,
		colorEffectId: "0",
		isDefault: false,
		colorImageSize: "0",
		colorReason: [],
		colorNameEnglish: "",
		giftDescribe: ""
	};
}
const GiftColorInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.colorId !== "0") writer.uint32(8).int64(message.colorId);
		if (message.colorName !== "") writer.uint32(18).string(message.colorName);
		for (const v of message.colorValues) writer.uint32(26).string(v);
		if (message.colorImage !== void 0) ImageModel.encode(message.colorImage, writer.uint32(34).fork()).join();
		if (message.giftImage !== void 0) ImageModel.encode(message.giftImage, writer.uint32(42).fork()).join();
		if (message.colorEffectId !== "0") writer.uint32(48).int64(message.colorEffectId);
		if (message.isDefault !== false) writer.uint32(56).bool(message.isDefault);
		if (message.colorImageSize !== "0") writer.uint32(64).int64(message.colorImageSize);
		for (const v of message.colorReason) writer.uint32(74).string(v);
		if (message.colorNameEnglish !== "") writer.uint32(82).string(message.colorNameEnglish);
		if (message.giftDescribe !== "") writer.uint32(90).string(message.giftDescribe);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftColorInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.colorId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.colorName = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.colorValues.push(reader.string());
					continue;
				case 4:
					if (tag !== 34) break;
					message.colorImage = ImageModel.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.giftImage = ImageModel.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 48) break;
					message.colorEffectId = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.isDefault = reader.bool();
					continue;
				case 8:
					if (tag !== 64) break;
					message.colorImageSize = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 74) break;
					message.colorReason.push(reader.string());
					continue;
				case 10:
					if (tag !== 82) break;
					message.colorNameEnglish = reader.string();
					continue;
				case 11:
					if (tag !== 90) break;
					message.giftDescribe = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftEffectCrossScreenStickerSpec() {
	return {
		singleActionAssetIds: {},
		actionAssetIds: {},
		reactionAssetIds: {}
	};
}
const GiftEffectCrossScreenStickerSpec = {
	encode(message, writer = new BinaryWriter()) {
		globalThis.Object.entries(message.singleActionAssetIds).forEach(([key, value]) => {
			GiftEffectCrossScreenStickerSpec_SingleActionAssetIdsEntry.encode({
				key,
				value
			}, writer.uint32(10).fork()).join();
		});
		globalThis.Object.entries(message.actionAssetIds).forEach(([key, value]) => {
			GiftEffectCrossScreenStickerSpec_ActionAssetIdsEntry.encode({
				key,
				value
			}, writer.uint32(18).fork()).join();
		});
		globalThis.Object.entries(message.reactionAssetIds).forEach(([key, value]) => {
			GiftEffectCrossScreenStickerSpec_ReactionAssetIdsEntry.encode({
				key,
				value
			}, writer.uint32(26).fork()).join();
		});
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftEffectCrossScreenStickerSpec();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1: {
					if (tag !== 10) break;
					const entry1 = GiftEffectCrossScreenStickerSpec_SingleActionAssetIdsEntry.decode(reader, reader.uint32());
					if (entry1.value !== void 0) message.singleActionAssetIds[entry1.key] = entry1.value;
					continue;
				}
				case 2: {
					if (tag !== 18) break;
					const entry2 = GiftEffectCrossScreenStickerSpec_ActionAssetIdsEntry.decode(reader, reader.uint32());
					if (entry2.value !== void 0) message.actionAssetIds[entry2.key] = entry2.value;
					continue;
				}
				case 3: {
					if (tag !== 26) break;
					const entry3 = GiftEffectCrossScreenStickerSpec_ReactionAssetIdsEntry.decode(reader, reader.uint32());
					if (entry3.value !== void 0) message.reactionAssetIds[entry3.key] = entry3.value;
					continue;
				}
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftEffectCrossScreenStickerSpec_SingleActionAssetIdsEntry() {
	return {
		key: "0",
		value: 0
	};
}
const GiftEffectCrossScreenStickerSpec_SingleActionAssetIdsEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== 0) writer.uint32(16).int32(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftEffectCrossScreenStickerSpec_SingleActionAssetIdsEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.value = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftEffectCrossScreenStickerSpec_ActionAssetIdsEntry() {
	return {
		key: "0",
		value: 0
	};
}
const GiftEffectCrossScreenStickerSpec_ActionAssetIdsEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== 0) writer.uint32(16).int32(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftEffectCrossScreenStickerSpec_ActionAssetIdsEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.value = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftEffectCrossScreenStickerSpec_ReactionAssetIdsEntry() {
	return {
		key: "0",
		value: 0
	};
}
const GiftEffectCrossScreenStickerSpec_ReactionAssetIdsEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== 0) writer.uint32(16).int32(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftEffectCrossScreenStickerSpec_ReactionAssetIdsEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.value = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftEffectLynxSpec() {
	return { assetIds: [] };
}
const GiftEffectLynxSpec = {
	encode(message, writer = new BinaryWriter()) {
		writer.uint32(10).fork();
		for (const v of message.assetIds) writer.int64(v);
		writer.join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftEffectLynxSpec();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag === 8) {
						message.assetIds.push(reader.int64().toString());
						continue;
					}
					if (tag === 10) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.assetIds.push(reader.int64().toString());
						continue;
					}
					break;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftEffectPrefabSpec() {
	return {
		templateAssetId: "0",
		prefabAssetIds: []
	};
}
const GiftEffectPrefabSpec = {
	encode(message, writer = new BinaryWriter()) {
		if (message.templateAssetId !== "0") writer.uint32(8).int64(message.templateAssetId);
		writer.uint32(18).fork();
		for (const v of message.prefabAssetIds) writer.int64(v);
		writer.join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftEffectPrefabSpec();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.templateAssetId = reader.int64().toString();
					continue;
				case 2:
					if (tag === 16) {
						message.prefabAssetIds.push(reader.int64().toString());
						continue;
					}
					if (tag === 18) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.prefabAssetIds.push(reader.int64().toString());
						continue;
					}
					break;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftEffectSerialSpec() {
	return { serialAssetIds: [] };
}
const GiftEffectSerialSpec = {
	encode(message, writer = new BinaryWriter()) {
		writer.uint32(18).fork();
		for (const v of message.serialAssetIds) writer.int64(v);
		writer.join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftEffectSerialSpec();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 2:
					if (tag === 16) {
						message.serialAssetIds.push(reader.int64().toString());
						continue;
					}
					if (tag === 18) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.serialAssetIds.push(reader.int64().toString());
						continue;
					}
					break;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftEffectSpecs() {
	return {
		crossScreenSticker: void 0,
		lynx: void 0,
		prefab: void 0,
		serialSpec: void 0,
		streamEffectSpec: void 0
	};
}
const GiftEffectSpecs = {
	encode(message, writer = new BinaryWriter()) {
		if (message.crossScreenSticker !== void 0) GiftEffectCrossScreenStickerSpec.encode(message.crossScreenSticker, writer.uint32(10).fork()).join();
		if (message.lynx !== void 0) GiftEffectLynxSpec.encode(message.lynx, writer.uint32(18).fork()).join();
		if (message.prefab !== void 0) GiftEffectPrefabSpec.encode(message.prefab, writer.uint32(26).fork()).join();
		if (message.serialSpec !== void 0) GiftEffectSerialSpec.encode(message.serialSpec, writer.uint32(34).fork()).join();
		if (message.streamEffectSpec !== void 0) GiftEffectStreamSpec.encode(message.streamEffectSpec, writer.uint32(42).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftEffectSpecs();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.crossScreenSticker = GiftEffectCrossScreenStickerSpec.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.lynx = GiftEffectLynxSpec.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.prefab = GiftEffectPrefabSpec.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.serialSpec = GiftEffectSerialSpec.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.streamEffectSpec = GiftEffectStreamSpec.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftEffectStreamSpec() {
	return {
		basicAssetId: "0",
		extraAssetIds: []
	};
}
const GiftEffectStreamSpec = {
	encode(message, writer = new BinaryWriter()) {
		if (message.basicAssetId !== "0") writer.uint32(8).int64(message.basicAssetId);
		writer.uint32(18).fork();
		for (const v of message.extraAssetIds) writer.int64(v);
		writer.join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftEffectStreamSpec();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.basicAssetId = reader.int64().toString();
					continue;
				case 2:
					if (tag === 16) {
						message.extraAssetIds.push(reader.int64().toString());
						continue;
					}
					if (tag === 18) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.extraAssetIds.push(reader.int64().toString());
						continue;
					}
					break;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftPanelBeaconBubble() {
	return {
		lynxUrl: "",
		lynxExtra: "",
		type: 0
	};
}
const GiftPanelBeaconBubble = {
	encode(message, writer = new BinaryWriter()) {
		if (message.lynxUrl !== "") writer.uint32(10).string(message.lynxUrl);
		if (message.lynxExtra !== "") writer.uint32(18).string(message.lynxExtra);
		if (message.type !== 0) writer.uint32(24).int32(message.type);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftPanelBeaconBubble();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.lynxUrl = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.lynxExtra = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.type = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftResource() {
	return {
		id: "0",
		image: void 0,
		effectId: "0"
	};
}
const GiftResource = {
	encode(message, writer = new BinaryWriter()) {
		if (message.id !== "0") writer.uint32(8).int64(message.id);
		if (message.image !== void 0) ImageModel.encode(message.image, writer.uint32(18).fork()).join();
		if (message.effectId !== "0") writer.uint32(24).int64(message.effectId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftResource();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.id = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.image = ImageModel.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.effectId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLiveStreamGoal() {
	return {
		id: "0",
		type: 0,
		status: 0,
		subGoals: [],
		description: "",
		auditStatus: 0,
		cycleType: 0,
		startTime: "0",
		expireTime: "0",
		realFinishTime: "0",
		contributors: [],
		contributorsLength: 0,
		idStr: "",
		auditDescription: "",
		stats: void 0,
		goalExtraInfo: "",
		mode: 0,
		auditInfo: void 0,
		challengeType: "",
		isUneditable: false,
		goalReward: void 0,
		createSource: 0
	};
}
const LiveStreamGoal = {
	encode(message, writer = new BinaryWriter()) {
		if (message.id !== "0") writer.uint32(8).int64(message.id);
		if (message.type !== 0) writer.uint32(16).int32(message.type);
		if (message.status !== 0) writer.uint32(24).int32(message.status);
		for (const v of message.subGoals) LiveStreamSubGoal.encode(v, writer.uint32(34).fork()).join();
		if (message.description !== "") writer.uint32(42).string(message.description);
		if (message.auditStatus !== 0) writer.uint32(48).int32(message.auditStatus);
		if (message.cycleType !== 0) writer.uint32(56).int32(message.cycleType);
		if (message.startTime !== "0") writer.uint32(64).int64(message.startTime);
		if (message.expireTime !== "0") writer.uint32(72).int64(message.expireTime);
		if (message.realFinishTime !== "0") writer.uint32(80).int64(message.realFinishTime);
		for (const v of message.contributors) LiveStreamGoalContributor.encode(v, writer.uint32(90).fork()).join();
		if (message.contributorsLength !== 0) writer.uint32(96).int32(message.contributorsLength);
		if (message.idStr !== "") writer.uint32(106).string(message.idStr);
		if (message.auditDescription !== "") writer.uint32(114).string(message.auditDescription);
		if (message.stats !== void 0) GoalStats.encode(message.stats, writer.uint32(122).fork()).join();
		if (message.goalExtraInfo !== "") writer.uint32(130).string(message.goalExtraInfo);
		if (message.mode !== 0) writer.uint32(136).int32(message.mode);
		if (message.auditInfo !== void 0) AuditInfo.encode(message.auditInfo, writer.uint32(146).fork()).join();
		if (message.challengeType !== "") writer.uint32(162).string(message.challengeType);
		if (message.isUneditable !== false) writer.uint32(168).bool(message.isUneditable);
		if (message.goalReward !== void 0) GoalReward.encode(message.goalReward, writer.uint32(178).fork()).join();
		if (message.createSource !== 0) writer.uint32(184).int32(message.createSource);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLiveStreamGoal();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.id = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.type = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.status = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.subGoals.push(LiveStreamSubGoal.decode(reader, reader.uint32()));
					continue;
				case 5:
					if (tag !== 42) break;
					message.description = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.auditStatus = reader.int32();
					continue;
				case 7:
					if (tag !== 56) break;
					message.cycleType = reader.int32();
					continue;
				case 8:
					if (tag !== 64) break;
					message.startTime = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 72) break;
					message.expireTime = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 80) break;
					message.realFinishTime = reader.int64().toString();
					continue;
				case 11:
					if (tag !== 90) break;
					message.contributors.push(LiveStreamGoalContributor.decode(reader, reader.uint32()));
					continue;
				case 12:
					if (tag !== 96) break;
					message.contributorsLength = reader.int32();
					continue;
				case 13:
					if (tag !== 106) break;
					message.idStr = reader.string();
					continue;
				case 14:
					if (tag !== 114) break;
					message.auditDescription = reader.string();
					continue;
				case 15:
					if (tag !== 122) break;
					message.stats = GoalStats.decode(reader, reader.uint32());
					continue;
				case 16:
					if (tag !== 130) break;
					message.goalExtraInfo = reader.string();
					continue;
				case 17:
					if (tag !== 136) break;
					message.mode = reader.int32();
					continue;
				case 18:
					if (tag !== 146) break;
					message.auditInfo = AuditInfo.decode(reader, reader.uint32());
					continue;
				case 20:
					if (tag !== 162) break;
					message.challengeType = reader.string();
					continue;
				case 21:
					if (tag !== 168) break;
					message.isUneditable = reader.bool();
					continue;
				case 22:
					if (tag !== 178) break;
					message.goalReward = GoalReward.decode(reader, reader.uint32());
					continue;
				case 23:
					if (tag !== 184) break;
					message.createSource = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLiveStreamGoalContributor() {
	return {
		userId: "0",
		avatar: void 0,
		displayId: "",
		score: "0",
		userIdStr: "",
		inRoom: false,
		isFriend: false,
		followByOwner: false,
		isFistContribute: false,
		subGoalContributions: [],
		enigmaInfo: void 0
	};
}
const LiveStreamGoalContributor = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.avatar !== void 0) ImageModel.encode(message.avatar, writer.uint32(18).fork()).join();
		if (message.displayId !== "") writer.uint32(26).string(message.displayId);
		if (message.score !== "0") writer.uint32(32).int64(message.score);
		if (message.userIdStr !== "") writer.uint32(42).string(message.userIdStr);
		if (message.inRoom !== false) writer.uint32(48).bool(message.inRoom);
		if (message.isFriend !== false) writer.uint32(56).bool(message.isFriend);
		if (message.followByOwner !== false) writer.uint32(72).bool(message.followByOwner);
		if (message.isFistContribute !== false) writer.uint32(80).bool(message.isFistContribute);
		for (const v of message.subGoalContributions) SubGoalContribution.encode(v, writer.uint32(90).fork()).join();
		if (message.enigmaInfo !== void 0) EnigmaInfo.encode(message.enigmaInfo, writer.uint32(98).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLiveStreamGoalContributor();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.avatar = ImageModel.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.displayId = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.score = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.userIdStr = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.inRoom = reader.bool();
					continue;
				case 7:
					if (tag !== 56) break;
					message.isFriend = reader.bool();
					continue;
				case 9:
					if (tag !== 72) break;
					message.followByOwner = reader.bool();
					continue;
				case 10:
					if (tag !== 80) break;
					message.isFistContribute = reader.bool();
					continue;
				case 11:
					if (tag !== 90) break;
					message.subGoalContributions.push(SubGoalContribution.decode(reader, reader.uint32()));
					continue;
				case 12:
					if (tag !== 98) break;
					message.enigmaInfo = EnigmaInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLiveStreamGoalIndicator() {
	return {
		key: "",
		op: 0
	};
}
const LiveStreamGoalIndicator = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.op !== 0) writer.uint32(16).int32(message.op);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLiveStreamGoalIndicator();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.op = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLiveStreamSubGoal() {
	return {
		type: 0,
		id: "0",
		progress: "0",
		target: "0",
		gift: void 0,
		idStr: "",
		pinInfo: void 0,
		source: 0,
		recommendedText: "",
		recommendedHeader: ""
	};
}
const LiveStreamSubGoal = {
	encode(message, writer = new BinaryWriter()) {
		if (message.type !== 0) writer.uint32(8).int32(message.type);
		if (message.id !== "0") writer.uint32(16).int64(message.id);
		if (message.progress !== "0") writer.uint32(24).int64(message.progress);
		if (message.target !== "0") writer.uint32(32).int64(message.target);
		if (message.gift !== void 0) LiveStreamSubGoalGift.encode(message.gift, writer.uint32(42).fork()).join();
		if (message.idStr !== "") writer.uint32(50).string(message.idStr);
		if (message.pinInfo !== void 0) SubGoalPinInfo.encode(message.pinInfo, writer.uint32(58).fork()).join();
		if (message.source !== 0) writer.uint32(64).int32(message.source);
		if (message.recommendedText !== "") writer.uint32(74).string(message.recommendedText);
		if (message.recommendedHeader !== "") writer.uint32(82).string(message.recommendedHeader);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLiveStreamSubGoal();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.type = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.id = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.progress = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.target = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.gift = LiveStreamSubGoalGift.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.idStr = reader.string();
					continue;
				case 7:
					if (tag !== 58) break;
					message.pinInfo = SubGoalPinInfo.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 64) break;
					message.source = reader.int32();
					continue;
				case 9:
					if (tag !== 74) break;
					message.recommendedText = reader.string();
					continue;
				case 10:
					if (tag !== 82) break;
					message.recommendedHeader = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLiveStreamSubGoalGift() {
	return {
		name: "",
		icon: void 0,
		diamondCount: "0",
		type: 0
	};
}
const LiveStreamSubGoalGift = {
	encode(message, writer = new BinaryWriter()) {
		if (message.name !== "") writer.uint32(10).string(message.name);
		if (message.icon !== void 0) ImageModel.encode(message.icon, writer.uint32(18).fork()).join();
		if (message.diamondCount !== "0") writer.uint32(24).int64(message.diamondCount);
		if (message.type !== 0) writer.uint32(32).int32(message.type);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLiveStreamSubGoalGift();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.name = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.icon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.diamondCount = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.type = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLokiExtraContent() {
	return {
		giftType: "",
		giftDuration: "0",
		needScreenShot: false,
		shouldMultiFrame: false,
		viewOverlay: "",
		befViewRenderSize: void 0,
		befViewRenderFps: 0,
		befViewFitMode: 0,
		modelNames: "",
		requirements: []
	};
}
const LokiExtraContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.giftType !== "") writer.uint32(10).string(message.giftType);
		if (message.giftDuration !== "0") writer.uint32(16).int64(message.giftDuration);
		if (message.needScreenShot !== false) writer.uint32(24).bool(message.needScreenShot);
		if (message.shouldMultiFrame !== false) writer.uint32(32).bool(message.shouldMultiFrame);
		if (message.viewOverlay !== "") writer.uint32(42).string(message.viewOverlay);
		if (message.befViewRenderSize !== void 0) BEFViewRenderSize.encode(message.befViewRenderSize, writer.uint32(50).fork()).join();
		if (message.befViewRenderFps !== 0) writer.uint32(56).int32(message.befViewRenderFps);
		if (message.befViewFitMode !== 0) writer.uint32(64).int32(message.befViewFitMode);
		if (message.modelNames !== "") writer.uint32(74).string(message.modelNames);
		for (const v of message.requirements) writer.uint32(82).string(v);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLokiExtraContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.giftType = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.giftDuration = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.needScreenShot = reader.bool();
					continue;
				case 4:
					if (tag !== 32) break;
					message.shouldMultiFrame = reader.bool();
					continue;
				case 5:
					if (tag !== 42) break;
					message.viewOverlay = reader.string();
					continue;
				case 6:
					if (tag !== 50) break;
					message.befViewRenderSize = BEFViewRenderSize.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 56) break;
					message.befViewRenderFps = reader.int32();
					continue;
				case 8:
					if (tag !== 64) break;
					message.befViewFitMode = reader.int32();
					continue;
				case 9:
					if (tag !== 74) break;
					message.modelNames = reader.string();
					continue;
				case 10:
					if (tag !== 82) break;
					message.requirements.push(reader.string());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLynxGiftExtra() {
	return {
		id: "0",
		code: "0",
		type: "0",
		params: [],
		extra: ""
	};
}
const LynxGiftExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.id !== "0") writer.uint32(8).int64(message.id);
		if (message.code !== "0") writer.uint32(16).int64(message.code);
		if (message.type !== "0") writer.uint32(24).int64(message.type);
		for (const v of message.params) writer.uint32(34).string(v);
		if (message.extra !== "") writer.uint32(42).string(message.extra);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLynxGiftExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.id = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.code = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.type = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.params.push(reader.string());
					continue;
				case 5:
					if (tag !== 42) break;
					message.extra = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMatchInfo() {
	return {
		critical: "0",
		effectCardInUse: false,
		multiplierType: 0,
		multiplierValue: "0"
	};
}
const MatchInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.critical !== "0") writer.uint32(8).int64(message.critical);
		if (message.effectCardInUse !== false) writer.uint32(16).bool(message.effectCardInUse);
		if (message.multiplierType !== 0) writer.uint32(24).int32(message.multiplierType);
		if (message.multiplierValue !== "0") writer.uint32(32).int64(message.multiplierValue);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMatchInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.critical = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.effectCardInUse = reader.bool();
					continue;
				case 3:
					if (tag !== 24) break;
					message.multiplierType = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.multiplierValue = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePrefabBundle() {
	return { prefabEffectIds: [] };
}
const PrefabBundle = {
	encode(message, writer = new BinaryWriter()) {
		writer.uint32(18).fork();
		for (const v of message.prefabEffectIds) writer.int64(v);
		writer.join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePrefabBundle();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 2:
					if (tag === 16) {
						message.prefabEffectIds.push(reader.int64().toString());
						continue;
					}
					if (tag === 18) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.prefabEffectIds.push(reader.int64().toString());
						continue;
					}
					break;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseReceiverRestriction() {
	return {
		userId: "0",
		hiddenGids: []
	};
}
const ReceiverRestriction = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		writer.uint32(18).fork();
		for (const v of message.hiddenGids) writer.int64(v);
		writer.join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseReceiverRestriction();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag === 16) {
						message.hiddenGids.push(reader.int64().toString());
						continue;
					}
					if (tag === 18) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.hiddenGids.push(reader.int64().toString());
						continue;
					}
					break;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSceneRestriction() {
	return {
		normalHiddenGids: [],
		matchHiddenGids: [],
		cohostHiddenGids: [],
		multiguestHiddenGids: []
	};
}
const SceneRestriction = {
	encode(message, writer = new BinaryWriter()) {
		writer.uint32(10).fork();
		for (const v of message.normalHiddenGids) writer.int64(v);
		writer.join();
		writer.uint32(18).fork();
		for (const v of message.matchHiddenGids) writer.int64(v);
		writer.join();
		writer.uint32(26).fork();
		for (const v of message.cohostHiddenGids) writer.int64(v);
		writer.join();
		writer.uint32(34).fork();
		for (const v of message.multiguestHiddenGids) writer.int64(v);
		writer.join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSceneRestriction();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag === 8) {
						message.normalHiddenGids.push(reader.int64().toString());
						continue;
					}
					if (tag === 10) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.normalHiddenGids.push(reader.int64().toString());
						continue;
					}
					break;
				case 2:
					if (tag === 16) {
						message.matchHiddenGids.push(reader.int64().toString());
						continue;
					}
					if (tag === 18) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.matchHiddenGids.push(reader.int64().toString());
						continue;
					}
					break;
				case 3:
					if (tag === 24) {
						message.cohostHiddenGids.push(reader.int64().toString());
						continue;
					}
					if (tag === 26) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.cohostHiddenGids.push(reader.int64().toString());
						continue;
					}
					break;
				case 4:
					if (tag === 32) {
						message.multiguestHiddenGids.push(reader.int64().toString());
						continue;
					}
					if (tag === 34) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.multiguestHiddenGids.push(reader.int64().toString());
						continue;
					}
					break;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSecondaryEffectInfo() {
	return {
		effectIds: [],
		builtinStrings: [],
		minuteGameGameplayId: "0"
	};
}
const SecondaryEffectInfo = {
	encode(message, writer = new BinaryWriter()) {
		writer.uint32(10).fork();
		for (const v of message.effectIds) writer.int64(v);
		writer.join();
		for (const v of message.builtinStrings) writer.uint32(18).string(v);
		if (message.minuteGameGameplayId !== "0") writer.uint32(24).int64(message.minuteGameGameplayId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSecondaryEffectInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag === 8) {
						message.effectIds.push(reader.int64().toString());
						continue;
					}
					if (tag === 10) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.effectIds.push(reader.int64().toString());
						continue;
					}
					break;
				case 2:
					if (tag !== 18) break;
					message.builtinStrings.push(reader.string());
					continue;
				case 3:
					if (tag !== 24) break;
					message.minuteGameGameplayId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTransitionConfig() {
	return {
		configId: "0",
		resourceImage: void 0
	};
}
const TransitionConfig = {
	encode(message, writer = new BinaryWriter()) {
		if (message.configId !== "0") writer.uint32(8).int64(message.configId);
		if (message.resourceImage !== void 0) ImageModel.encode(message.resourceImage, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTransitionConfig();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.configId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.resourceImage = ImageModel.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/gift/assets.ts
function createBaseAssetsModel() {
	return {
		name: "",
		resourceUri: "",
		resourceUrl: void 0,
		describe: "",
		id: "0",
		resourceType: 0,
		md5: "",
		size: "0",
		lokiContent: void 0,
		downloadType: 0,
		resourceBytevc1Url: void 0,
		bytevc1Md5: "",
		videoResourceList: [],
		faceRecognitionArchiveMeta: void 0,
		lynxUrlSettingsKey: "",
		downgradeResourceType: 0,
		assetExtra: void 0,
		stickerAssetVariant: 0,
		immediateDownload: false,
		stickerAssetVariantReason: 0,
		forceUseImOrRespAsset: false,
		distributionStrategy: []
	};
}
const AssetsModel = {
	encode(message, writer = new BinaryWriter()) {
		if (message.name !== "") writer.uint32(10).string(message.name);
		if (message.resourceUri !== "") writer.uint32(18).string(message.resourceUri);
		if (message.resourceUrl !== void 0) ResourceModel.encode(message.resourceUrl, writer.uint32(34).fork()).join();
		if (message.describe !== "") writer.uint32(42).string(message.describe);
		if (message.id !== "0") writer.uint32(48).int64(message.id);
		if (message.resourceType !== 0) writer.uint32(56).int32(message.resourceType);
		if (message.md5 !== "") writer.uint32(66).string(message.md5);
		if (message.size !== "0") writer.uint32(72).int64(message.size);
		if (message.lokiContent !== void 0) LokiExtraContent.encode(message.lokiContent, writer.uint32(82).fork()).join();
		if (message.downloadType !== 0) writer.uint32(208).int32(message.downloadType);
		if (message.resourceBytevc1Url !== void 0) ResourceModel.encode(message.resourceBytevc1Url, writer.uint32(226).fork()).join();
		if (message.bytevc1Md5 !== "") writer.uint32(234).string(message.bytevc1Md5);
		for (const v of message.videoResourceList) VideoResource.encode(v, writer.uint32(242).fork()).join();
		if (message.faceRecognitionArchiveMeta !== void 0) FaceRecognitionMeta.encode(message.faceRecognitionArchiveMeta, writer.uint32(250).fork()).join();
		if (message.lynxUrlSettingsKey !== "") writer.uint32(258).string(message.lynxUrlSettingsKey);
		if (message.downgradeResourceType !== 0) writer.uint32(264).int32(message.downgradeResourceType);
		if (message.assetExtra !== void 0) AssetExtra.encode(message.assetExtra, writer.uint32(274).fork()).join();
		if (message.stickerAssetVariant !== 0) writer.uint32(280).int32(message.stickerAssetVariant);
		if (message.immediateDownload !== false) writer.uint32(288).bool(message.immediateDownload);
		if (message.stickerAssetVariantReason !== 0) writer.uint32(296).int32(message.stickerAssetVariantReason);
		if (message.forceUseImOrRespAsset !== false) writer.uint32(304).bool(message.forceUseImOrRespAsset);
		for (const v of message.distributionStrategy) DistributionStrategy.encode(v, writer.uint32(314).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAssetsModel();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.name = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.resourceUri = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.resourceUrl = ResourceModel.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.describe = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.id = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.resourceType = reader.int32();
					continue;
				case 8:
					if (tag !== 66) break;
					message.md5 = reader.string();
					continue;
				case 9:
					if (tag !== 72) break;
					message.size = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 82) break;
					message.lokiContent = LokiExtraContent.decode(reader, reader.uint32());
					continue;
				case 26:
					if (tag !== 208) break;
					message.downloadType = reader.int32();
					continue;
				case 28:
					if (tag !== 226) break;
					message.resourceBytevc1Url = ResourceModel.decode(reader, reader.uint32());
					continue;
				case 29:
					if (tag !== 234) break;
					message.bytevc1Md5 = reader.string();
					continue;
				case 30:
					if (tag !== 242) break;
					message.videoResourceList.push(VideoResource.decode(reader, reader.uint32()));
					continue;
				case 31:
					if (tag !== 250) break;
					message.faceRecognitionArchiveMeta = FaceRecognitionMeta.decode(reader, reader.uint32());
					continue;
				case 32:
					if (tag !== 258) break;
					message.lynxUrlSettingsKey = reader.string();
					continue;
				case 33:
					if (tag !== 264) break;
					message.downgradeResourceType = reader.int32();
					continue;
				case 34:
					if (tag !== 274) break;
					message.assetExtra = AssetExtra.decode(reader, reader.uint32());
					continue;
				case 35:
					if (tag !== 280) break;
					message.stickerAssetVariant = reader.int32();
					continue;
				case 36:
					if (tag !== 288) break;
					message.immediateDownload = reader.bool();
					continue;
				case 37:
					if (tag !== 296) break;
					message.stickerAssetVariantReason = reader.int32();
					continue;
				case 38:
					if (tag !== 304) break;
					message.forceUseImOrRespAsset = reader.bool();
					continue;
				case 39:
					if (tag !== 314) break;
					message.distributionStrategy.push(DistributionStrategy.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseResourceModel() {
	return {
		urlList: [],
		uri: ""
	};
}
const ResourceModel = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.urlList) writer.uint32(10).string(v);
		if (message.uri !== "") writer.uint32(18).string(message.uri);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseResourceModel();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.urlList.push(reader.string());
					continue;
				case 2:
					if (tag !== 18) break;
					message.uri = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseVideoResource() {
	return {
		videoTypeName: "",
		videoUrl: void 0,
		videoMd5: ""
	};
}
const VideoResource = {
	encode(message, writer = new BinaryWriter()) {
		if (message.videoTypeName !== "") writer.uint32(10).string(message.videoTypeName);
		if (message.videoUrl !== void 0) ResourceModel.encode(message.videoUrl, writer.uint32(18).fork()).join();
		if (message.videoMd5 !== "") writer.uint32(26).string(message.videoMd5);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseVideoResource();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.videoTypeName = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.videoUrl = ResourceModel.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.videoMd5 = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/messages.ts
function createBaseActivityRewardInfo() {
	return {
		badge: void 0,
		storytag: void 0
	};
}
const ActivityRewardInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.badge !== void 0) ImageModel.encode(message.badge, writer.uint32(10).fork()).join();
		if (message.storytag !== void 0) ImageModel.encode(message.storytag, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseActivityRewardInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.badge = ImageModel.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.storytag = ImageModel.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseAnchorInfo() {
	return { level: "0" };
}
const AnchorInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.level !== "0") writer.uint32(8).int64(message.level);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAnchorInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.level = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseAnchorLevel() {
	return {
		level: 0,
		experience: "0",
		lowestExperienceThisLevel: "0",
		highestExperienceThisLevel: "0",
		taskStartExperience: "0",
		taskStartTime: "0",
		taskDecreaseExperience: "0",
		taskTargetExperience: "0",
		taskEndTime: "0",
		profileDialogBg: void 0,
		profileDialogBgBack: void 0,
		stageLevel: void 0,
		smallIcon: void 0
	};
}
const AnchorLevel = {
	encode(message, writer = new BinaryWriter()) {
		if (message.level !== 0) writer.uint32(8).int32(message.level);
		if (message.experience !== "0") writer.uint32(16).int64(message.experience);
		if (message.lowestExperienceThisLevel !== "0") writer.uint32(24).int64(message.lowestExperienceThisLevel);
		if (message.highestExperienceThisLevel !== "0") writer.uint32(32).int64(message.highestExperienceThisLevel);
		if (message.taskStartExperience !== "0") writer.uint32(40).int64(message.taskStartExperience);
		if (message.taskStartTime !== "0") writer.uint32(48).int64(message.taskStartTime);
		if (message.taskDecreaseExperience !== "0") writer.uint32(56).int64(message.taskDecreaseExperience);
		if (message.taskTargetExperience !== "0") writer.uint32(64).int64(message.taskTargetExperience);
		if (message.taskEndTime !== "0") writer.uint32(72).int64(message.taskEndTime);
		if (message.profileDialogBg !== void 0) ImageModel.encode(message.profileDialogBg, writer.uint32(82).fork()).join();
		if (message.profileDialogBgBack !== void 0) ImageModel.encode(message.profileDialogBgBack, writer.uint32(90).fork()).join();
		if (message.stageLevel !== void 0) ImageModel.encode(message.stageLevel, writer.uint32(98).fork()).join();
		if (message.smallIcon !== void 0) ImageModel.encode(message.smallIcon, writer.uint32(106).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAnchorLevel();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.level = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.experience = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.lowestExperienceThisLevel = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.highestExperienceThisLevel = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.taskStartExperience = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.taskStartTime = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.taskDecreaseExperience = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 64) break;
					message.taskTargetExperience = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 72) break;
					message.taskEndTime = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 82) break;
					message.profileDialogBg = ImageModel.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 90) break;
					message.profileDialogBgBack = ImageModel.decode(reader, reader.uint32());
					continue;
				case 12:
					if (tag !== 98) break;
					message.stageLevel = ImageModel.decode(reader, reader.uint32());
					continue;
				case 13:
					if (tag !== 106) break;
					message.smallIcon = ImageModel.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseAudioResource() {
	return {
		audioUrl: "",
		lyricsUrl: "",
		snippetId: "0"
	};
}
const AudioResource = {
	encode(message, writer = new BinaryWriter()) {
		if (message.audioUrl !== "") writer.uint32(10).string(message.audioUrl);
		if (message.lyricsUrl !== "") writer.uint32(18).string(message.lyricsUrl);
		if (message.snippetId !== "0") writer.uint32(24).int64(message.snippetId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAudioResource();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.audioUrl = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.lyricsUrl = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.snippetId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseAuthenticationInfo() {
	return {
		customVerify: "",
		enterpriseVerifyReason: "",
		authenticationBadge: void 0,
		hasCert: false
	};
}
const AuthenticationInfo$1 = {
	encode(message, writer = new BinaryWriter()) {
		if (message.customVerify !== "") writer.uint32(10).string(message.customVerify);
		if (message.enterpriseVerifyReason !== "") writer.uint32(18).string(message.enterpriseVerifyReason);
		if (message.authenticationBadge !== void 0) ImageModel.encode(message.authenticationBadge, writer.uint32(26).fork()).join();
		if (message.hasCert !== false) writer.uint32(32).bool(message.hasCert);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAuthenticationInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.customVerify = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.enterpriseVerifyReason = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.authenticationBadge = ImageModel.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.hasCert = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseAuthor() {
	return {
		videoTotalCount: "0",
		videoTotalPlayCount: "0",
		videoTotalFavoriteCount: "0"
	};
}
const Author = {
	encode(message, writer = new BinaryWriter()) {
		if (message.videoTotalCount !== "0") writer.uint32(8).int64(message.videoTotalCount);
		if (message.videoTotalPlayCount !== "0") writer.uint32(16).int64(message.videoTotalPlayCount);
		if (message.videoTotalFavoriteCount !== "0") writer.uint32(48).int64(message.videoTotalFavoriteCount);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAuthor();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.videoTotalCount = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.videoTotalPlayCount = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.videoTotalFavoriteCount = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBatchGiftInfo() {
	return {
		canBatchSend: false,
		availableCounts: []
	};
}
const BatchGiftInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.canBatchSend !== false) writer.uint32(8).bool(message.canBatchSend);
		writer.uint32(18).fork();
		for (const v of message.availableCounts) writer.int64(v);
		writer.join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBatchGiftInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.canBatchSend = reader.bool();
					continue;
				case 2:
					if (tag === 16) {
						message.availableCounts.push(reader.int64().toString());
						continue;
					}
					if (tag === 18) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.availableCounts.push(reader.int64().toString());
						continue;
					}
					break;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBorderInfo() {
	return {
		icon: void 0,
		level: "0",
		source: "",
		profileDecorationRibbon: void 0,
		borderPrivilegeLogExtra: void 0,
		profilePrivilegeLogExtra: void 0,
		avatarBackgroundColor: "",
		avatarBackgroundBorderColor: "",
		nameStarlingKey: "",
		descStarlingKey: "",
		name: "",
		description: "",
		isTallerAvatarBackground: false
	};
}
const BorderInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.icon !== void 0) ImageModel.encode(message.icon, writer.uint32(10).fork()).join();
		if (message.level !== "0") writer.uint32(16).int64(message.level);
		if (message.source !== "") writer.uint32(26).string(message.source);
		if (message.profileDecorationRibbon !== void 0) ImageModel.encode(message.profileDecorationRibbon, writer.uint32(34).fork()).join();
		if (message.borderPrivilegeLogExtra !== void 0) PrivilegeLogExtra.encode(message.borderPrivilegeLogExtra, writer.uint32(42).fork()).join();
		if (message.profilePrivilegeLogExtra !== void 0) PrivilegeLogExtra.encode(message.profilePrivilegeLogExtra, writer.uint32(50).fork()).join();
		if (message.avatarBackgroundColor !== "") writer.uint32(58).string(message.avatarBackgroundColor);
		if (message.avatarBackgroundBorderColor !== "") writer.uint32(66).string(message.avatarBackgroundBorderColor);
		if (message.nameStarlingKey !== "") writer.uint32(74).string(message.nameStarlingKey);
		if (message.descStarlingKey !== "") writer.uint32(82).string(message.descStarlingKey);
		if (message.name !== "") writer.uint32(90).string(message.name);
		if (message.description !== "") writer.uint32(98).string(message.description);
		if (message.isTallerAvatarBackground !== false) writer.uint32(104).bool(message.isTallerAvatarBackground);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBorderInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.icon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.level = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.source = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.profileDecorationRibbon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.borderPrivilegeLogExtra = PrivilegeLogExtra.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.profilePrivilegeLogExtra = PrivilegeLogExtra.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.avatarBackgroundColor = reader.string();
					continue;
				case 8:
					if (tag !== 66) break;
					message.avatarBackgroundBorderColor = reader.string();
					continue;
				case 9:
					if (tag !== 74) break;
					message.nameStarlingKey = reader.string();
					continue;
				case 10:
					if (tag !== 82) break;
					message.descStarlingKey = reader.string();
					continue;
				case 11:
					if (tag !== 90) break;
					message.name = reader.string();
					continue;
				case 12:
					if (tag !== 98) break;
					message.description = reader.string();
					continue;
				case 13:
					if (tag !== 104) break;
					message.isTallerAvatarBackground = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseColorGroup() {
	return {
		groupName: "",
		colorInfos: []
	};
}
const ColorGroup = {
	encode(message, writer = new BinaryWriter()) {
		if (message.groupName !== "") writer.uint32(10).string(message.groupName);
		for (const v of message.colorInfos) GiftColorInfo.encode(v, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseColorGroup();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.groupName = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.colorInfos.push(GiftColorInfo.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseColorPickerInfo() {
	return { groups: [] };
}
const ColorPickerInfo = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.groups) ColorGroup.encode(v, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseColorPickerInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.groups.push(ColorGroup.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCrossScreenEffectInfo() {
	return {
		singleActionEffectIds: {},
		actionEffectIds: {},
		reactionEffectIds: {}
	};
}
const CrossScreenEffectInfo = {
	encode(message, writer = new BinaryWriter()) {
		globalThis.Object.entries(message.singleActionEffectIds).forEach(([key, value]) => {
			CrossScreenEffectInfo_SingleActionEffectIdsEntry.encode({
				key,
				value
			}, writer.uint32(10).fork()).join();
		});
		globalThis.Object.entries(message.actionEffectIds).forEach(([key, value]) => {
			CrossScreenEffectInfo_ActionEffectIdsEntry.encode({
				key,
				value
			}, writer.uint32(18).fork()).join();
		});
		globalThis.Object.entries(message.reactionEffectIds).forEach(([key, value]) => {
			CrossScreenEffectInfo_ReactionEffectIdsEntry.encode({
				key,
				value
			}, writer.uint32(26).fork()).join();
		});
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCrossScreenEffectInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1: {
					if (tag !== 10) break;
					const entry1 = CrossScreenEffectInfo_SingleActionEffectIdsEntry.decode(reader, reader.uint32());
					if (entry1.value !== void 0) message.singleActionEffectIds[entry1.key] = entry1.value;
					continue;
				}
				case 2: {
					if (tag !== 18) break;
					const entry2 = CrossScreenEffectInfo_ActionEffectIdsEntry.decode(reader, reader.uint32());
					if (entry2.value !== void 0) message.actionEffectIds[entry2.key] = entry2.value;
					continue;
				}
				case 3: {
					if (tag !== 26) break;
					const entry3 = CrossScreenEffectInfo_ReactionEffectIdsEntry.decode(reader, reader.uint32());
					if (entry3.value !== void 0) message.reactionEffectIds[entry3.key] = entry3.value;
					continue;
				}
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCrossScreenEffectInfo_SingleActionEffectIdsEntry() {
	return {
		key: "0",
		value: 0
	};
}
const CrossScreenEffectInfo_SingleActionEffectIdsEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== 0) writer.uint32(16).int32(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCrossScreenEffectInfo_SingleActionEffectIdsEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.value = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCrossScreenEffectInfo_ActionEffectIdsEntry() {
	return {
		key: "0",
		value: 0
	};
}
const CrossScreenEffectInfo_ActionEffectIdsEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== 0) writer.uint32(16).int32(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCrossScreenEffectInfo_ActionEffectIdsEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.value = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCrossScreenEffectInfo_ReactionEffectIdsEntry() {
	return {
		key: "0",
		value: 0
	};
}
const CrossScreenEffectInfo_ReactionEffectIdsEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== 0) writer.uint32(16).int32(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCrossScreenEffectInfo_ReactionEffectIdsEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.value = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseFansClubData() {
	return {
		clubName: "",
		level: 0,
		userFansClubStatus: 0,
		badge: void 0,
		availableGiftIds: [],
		anchorId: "0"
	};
}
const FansClubData = {
	encode(message, writer = new BinaryWriter()) {
		if (message.clubName !== "") writer.uint32(10).string(message.clubName);
		if (message.level !== 0) writer.uint32(16).int32(message.level);
		if (message.userFansClubStatus !== 0) writer.uint32(24).int32(message.userFansClubStatus);
		if (message.badge !== void 0) UserBadge.encode(message.badge, writer.uint32(34).fork()).join();
		writer.uint32(42).fork();
		for (const v of message.availableGiftIds) writer.int64(v);
		writer.join();
		if (message.anchorId !== "0") writer.uint32(48).int64(message.anchorId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseFansClubData();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.clubName = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.level = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.userFansClubStatus = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.badge = UserBadge.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag === 40) {
						message.availableGiftIds.push(reader.int64().toString());
						continue;
					}
					if (tag === 42) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.availableGiftIds.push(reader.int64().toString());
						continue;
					}
					break;
				case 6:
					if (tag !== 48) break;
					message.anchorId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseFansClubMember() {
	return {
		data: void 0,
		preferData: {}
	};
}
const FansClubMember = {
	encode(message, writer = new BinaryWriter()) {
		if (message.data !== void 0) FansClubData.encode(message.data, writer.uint32(10).fork()).join();
		globalThis.Object.entries(message.preferData).forEach(([key, value]) => {
			FansClubMember_PreferDataEntry.encode({
				key,
				value
			}, writer.uint32(18).fork()).join();
		});
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseFansClubMember();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.data = FansClubData.decode(reader, reader.uint32());
					continue;
				case 2: {
					if (tag !== 18) break;
					const entry2 = FansClubMember_PreferDataEntry.decode(reader, reader.uint32());
					if (entry2.value !== void 0) message.preferData[entry2.key] = entry2.value;
					continue;
				}
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseFansClubMember_PreferDataEntry() {
	return {
		key: 0,
		value: void 0
	};
}
const FansClubMember_PreferDataEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== 0) writer.uint32(8).int32(message.key);
		if (message.value !== void 0) FansClubData.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseFansClubMember_PreferDataEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = FansClubData.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftBoxInfo() {
	return {
		capacity: "0",
		isPrimaryBox: false,
		schemeUrl: "",
		giftInfosInBox: []
	};
}
const GiftBoxInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.capacity !== "0") writer.uint32(8).int64(message.capacity);
		if (message.isPrimaryBox !== false) writer.uint32(16).bool(message.isPrimaryBox);
		if (message.schemeUrl !== "") writer.uint32(26).string(message.schemeUrl);
		for (const v of message.giftInfosInBox) GiftInfoInBox.encode(v, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftBoxInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.capacity = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.isPrimaryBox = reader.bool();
					continue;
				case 3:
					if (tag !== 26) break;
					message.schemeUrl = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.giftInfosInBox.push(GiftInfoInBox.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftInfoInBox() {
	return {
		giftId: "0",
		effectId: "0",
		colorId: "0",
		remainTimes: 0,
		asset: void 0
	};
}
const GiftInfoInBox = {
	encode(message, writer = new BinaryWriter()) {
		if (message.giftId !== "0") writer.uint32(8).int64(message.giftId);
		if (message.effectId !== "0") writer.uint32(16).int64(message.effectId);
		if (message.colorId !== "0") writer.uint32(24).int64(message.colorId);
		if (message.remainTimes !== 0) writer.uint32(32).int32(message.remainTimes);
		if (message.asset !== void 0) AssetsModel.encode(message.asset, writer.uint32(42).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftInfoInBox();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.giftId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.effectId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.colorId = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.remainTimes = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.asset = AssetsModel.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftLockInfo() {
	return {
		lock: false,
		lockType: 0,
		giftLevel: 0,
		highlightEnabled: false,
		unlockButtonText: "",
		unlockSchema: ""
	};
}
const GiftLockInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.lock !== false) writer.uint32(8).bool(message.lock);
		if (message.lockType !== 0) writer.uint32(16).int32(message.lockType);
		if (message.giftLevel !== 0) writer.uint32(24).int32(message.giftLevel);
		if (message.highlightEnabled !== false) writer.uint32(32).bool(message.highlightEnabled);
		if (message.unlockButtonText !== "") writer.uint32(42).string(message.unlockButtonText);
		if (message.unlockSchema !== "") writer.uint32(50).string(message.unlockSchema);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftLockInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.lock = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.lockType = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.giftLevel = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.highlightEnabled = reader.bool();
					continue;
				case 5:
					if (tag !== 42) break;
					message.unlockButtonText = reader.string();
					continue;
				case 6:
					if (tag !== 50) break;
					message.unlockSchema = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftRandomEffectInfo() {
	return {
		randomGiftPanelBanner: void 0,
		effectIds: [],
		hostKey: "",
		audienceKey: "",
		randomGiftBubble: void 0
	};
}
const GiftRandomEffectInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.randomGiftPanelBanner !== void 0) RandomGiftPanelBanner.encode(message.randomGiftPanelBanner, writer.uint32(10).fork()).join();
		writer.uint32(18).fork();
		for (const v of message.effectIds) writer.int64(v);
		writer.join();
		if (message.hostKey !== "") writer.uint32(26).string(message.hostKey);
		if (message.audienceKey !== "") writer.uint32(34).string(message.audienceKey);
		if (message.randomGiftBubble !== void 0) RandomGiftBubble.encode(message.randomGiftBubble, writer.uint32(42).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftRandomEffectInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.randomGiftPanelBanner = RandomGiftPanelBanner.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag === 16) {
						message.effectIds.push(reader.int64().toString());
						continue;
					}
					if (tag === 18) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.effectIds.push(reader.int64().toString());
						continue;
					}
					break;
				case 3:
					if (tag !== 26) break;
					message.hostKey = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.audienceKey = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.randomGiftBubble = RandomGiftBubble.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftSeriesInfo() {
	return {
		seriesName: "",
		giftIds: [],
		enabled: false,
		containerBackground: void 0,
		sendGiftButtonColor: "",
		pointingBackTriColor: "",
		seriesNameColor: "",
		endTimeSec: "0"
	};
}
const GiftSeriesInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.seriesName !== "") writer.uint32(18).string(message.seriesName);
		writer.uint32(26).fork();
		for (const v of message.giftIds) writer.int64(v);
		writer.join();
		if (message.enabled !== false) writer.uint32(32).bool(message.enabled);
		if (message.containerBackground !== void 0) ImageModel.encode(message.containerBackground, writer.uint32(42).fork()).join();
		if (message.sendGiftButtonColor !== "") writer.uint32(50).string(message.sendGiftButtonColor);
		if (message.pointingBackTriColor !== "") writer.uint32(58).string(message.pointingBackTriColor);
		if (message.seriesNameColor !== "") writer.uint32(66).string(message.seriesNameColor);
		if (message.endTimeSec !== "0") writer.uint32(72).int64(message.endTimeSec);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftSeriesInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 2:
					if (tag !== 18) break;
					message.seriesName = reader.string();
					continue;
				case 3:
					if (tag === 24) {
						message.giftIds.push(reader.int64().toString());
						continue;
					}
					if (tag === 26) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.giftIds.push(reader.int64().toString());
						continue;
					}
					break;
				case 4:
					if (tag !== 32) break;
					message.enabled = reader.bool();
					continue;
				case 5:
					if (tag !== 42) break;
					message.containerBackground = ImageModel.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.sendGiftButtonColor = reader.string();
					continue;
				case 7:
					if (tag !== 58) break;
					message.pointingBackTriColor = reader.string();
					continue;
				case 8:
					if (tag !== 66) break;
					message.seriesNameColor = reader.string();
					continue;
				case 9:
					if (tag !== 72) break;
					message.endTimeSec = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftSkin() {
	return {
		giftSkinId: "0",
		giftSkinName: "",
		staticImage: void 0,
		animatedImage: void 0
	};
}
const GiftSkin = {
	encode(message, writer = new BinaryWriter()) {
		if (message.giftSkinId !== "0") writer.uint32(8).int64(message.giftSkinId);
		if (message.giftSkinName !== "") writer.uint32(18).string(message.giftSkinName);
		if (message.staticImage !== void 0) ImageModel.encode(message.staticImage, writer.uint32(26).fork()).join();
		if (message.animatedImage !== void 0) ImageModel.encode(message.animatedImage, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftSkin();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.giftSkinId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.giftSkinName = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.staticImage = ImageModel.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.animatedImage = ImageModel.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftSkinToGiftTextsInfo() {
	return {
		giftSkinId: "0",
		giftTextIds: []
	};
}
const GiftSkinToGiftTextsInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.giftSkinId !== "0") writer.uint32(8).int64(message.giftSkinId);
		writer.uint32(18).fork();
		for (const v of message.giftTextIds) writer.int64(v);
		writer.join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftSkinToGiftTextsInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.giftSkinId = reader.int64().toString();
					continue;
				case 2:
					if (tag === 16) {
						message.giftTextIds.push(reader.int64().toString());
						continue;
					}
					if (tag === 18) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.giftTextIds.push(reader.int64().toString());
						continue;
					}
					break;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftSponsorInfo() {
	return {
		sponsorId: "0",
		sponsorCount: "0",
		currentCount: "0",
		leftCountToSponsor: "0",
		canSponsor: false
	};
}
const GiftSponsorInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.sponsorId !== "0") writer.uint32(8).int64(message.sponsorId);
		if (message.sponsorCount !== "0") writer.uint32(16).int64(message.sponsorCount);
		if (message.currentCount !== "0") writer.uint32(24).int64(message.currentCount);
		if (message.leftCountToSponsor !== "0") writer.uint32(32).int64(message.leftCountToSponsor);
		if (message.canSponsor !== false) writer.uint32(40).bool(message.canSponsor);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftSponsorInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.sponsorId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.sponsorCount = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.currentCount = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.leftCountToSponsor = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.canSponsor = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftText() {
	return {
		giftTextId: "0",
		giftTextName: ""
	};
}
const GiftText = {
	encode(message, writer = new BinaryWriter()) {
		if (message.giftTextId !== "0") writer.uint32(8).int64(message.giftTextId);
		if (message.giftTextName !== "") writer.uint32(18).string(message.giftTextName);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftText();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.giftTextId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.giftTextName = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftsBoxInfo() {
	return { giftsInfoInBox: [] };
}
const GiftsBoxInfo = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.giftsInfoInBox) GiftInfoInBox.encode(v, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftsBoxInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.giftsInfoInBox.push(GiftInfoInBox.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGradeIcon() {
	return {
		icon: void 0,
		iconDiamond: 0,
		level: 0,
		levelStr: ""
	};
}
const GradeIcon = {
	encode(message, writer = new BinaryWriter()) {
		if (message.icon !== void 0) ImageModel.encode(message.icon, writer.uint32(10).fork()).join();
		if (message.iconDiamond !== 0) writer.uint32(16).int32(message.iconDiamond);
		if (message.level !== 0) writer.uint32(24).int32(message.level);
		if (message.levelStr !== "") writer.uint32(34).string(message.levelStr);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGradeIcon();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.icon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.iconDiamond = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.level = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.levelStr = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseHashtag() {
	return {
		id: "0",
		title: "",
		image: void 0,
		namespace: 0
	};
}
const Hashtag = {
	encode(message, writer = new BinaryWriter()) {
		if (message.id !== "0") writer.uint32(8).int64(message.id);
		if (message.title !== "") writer.uint32(18).string(message.title);
		if (message.image !== void 0) ImageModel.encode(message.image, writer.uint32(26).fork()).join();
		if (message.namespace !== 0) writer.uint32(32).int32(message.namespace);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseHashtag();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.id = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.title = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.image = ImageModel.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.namespace = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLikeEffect() {
	return {
		version: "0",
		effectCnt: "0",
		effectIntervalMs: "0",
		level: "0"
	};
}
const LikeEffect = {
	encode(message, writer = new BinaryWriter()) {
		if (message.version !== "0") writer.uint32(8).int64(message.version);
		if (message.effectCnt !== "0") writer.uint32(16).int64(message.effectCnt);
		if (message.effectIntervalMs !== "0") writer.uint32(24).int64(message.effectIntervalMs);
		if (message.level !== "0") writer.uint32(32).int64(message.level);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLikeEffect();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.version = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.effectCnt = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.effectIntervalMs = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.level = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLiveEventInfo() {
	return {
		eventId: "0",
		startTime: "0",
		duration: "0",
		title: "",
		description: "",
		hasSubscribed: false,
		isPaidEvent: false,
		ticketAmount: "0",
		payMethod: 0,
		walletPkgDict: {},
		eventUserInfo: [],
		subscribedCount: "0",
		paidEventPreview: void 0,
		walletPackage: void 0,
		registerType: "0",
		periodicSettings: "",
		periodicShows: ""
	};
}
const LiveEventInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.eventId !== "0") writer.uint32(8).int64(message.eventId);
		if (message.startTime !== "0") writer.uint32(16).int64(message.startTime);
		if (message.duration !== "0") writer.uint32(24).int64(message.duration);
		if (message.title !== "") writer.uint32(34).string(message.title);
		if (message.description !== "") writer.uint32(42).string(message.description);
		if (message.hasSubscribed !== false) writer.uint32(48).bool(message.hasSubscribed);
		if (message.isPaidEvent !== false) writer.uint32(56).bool(message.isPaidEvent);
		if (message.ticketAmount !== "0") writer.uint32(64).int64(message.ticketAmount);
		if (message.payMethod !== 0) writer.uint32(72).int32(message.payMethod);
		globalThis.Object.entries(message.walletPkgDict).forEach(([key, value]) => {
			LiveEventInfo_WalletPkgDictEntry.encode({
				key,
				value
			}, writer.uint32(82).fork()).join();
		});
		for (const v of message.eventUserInfo) EventUserInfo.encode(v, writer.uint32(90).fork()).join();
		if (message.subscribedCount !== "0") writer.uint32(96).int64(message.subscribedCount);
		if (message.paidEventPreview !== void 0) PaidEventPreview.encode(message.paidEventPreview, writer.uint32(106).fork()).join();
		if (message.walletPackage !== void 0) WalletPackage.encode(message.walletPackage, writer.uint32(114).fork()).join();
		if (message.registerType !== "0") writer.uint32(120).int64(message.registerType);
		if (message.periodicSettings !== "") writer.uint32(130).string(message.periodicSettings);
		if (message.periodicShows !== "") writer.uint32(138).string(message.periodicShows);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLiveEventInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.eventId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.startTime = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.duration = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.title = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.description = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.hasSubscribed = reader.bool();
					continue;
				case 7:
					if (tag !== 56) break;
					message.isPaidEvent = reader.bool();
					continue;
				case 8:
					if (tag !== 64) break;
					message.ticketAmount = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 72) break;
					message.payMethod = reader.int32();
					continue;
				case 10: {
					if (tag !== 82) break;
					const entry10 = LiveEventInfo_WalletPkgDictEntry.decode(reader, reader.uint32());
					if (entry10.value !== void 0) message.walletPkgDict[entry10.key] = entry10.value;
					continue;
				}
				case 11:
					if (tag !== 90) break;
					message.eventUserInfo.push(EventUserInfo.decode(reader, reader.uint32()));
					continue;
				case 12:
					if (tag !== 96) break;
					message.subscribedCount = reader.int64().toString();
					continue;
				case 13:
					if (tag !== 106) break;
					message.paidEventPreview = PaidEventPreview.decode(reader, reader.uint32());
					continue;
				case 14:
					if (tag !== 114) break;
					message.walletPackage = WalletPackage.decode(reader, reader.uint32());
					continue;
				case 15:
					if (tag !== 120) break;
					message.registerType = reader.int64().toString();
					continue;
				case 16:
					if (tag !== 130) break;
					message.periodicSettings = reader.string();
					continue;
				case 17:
					if (tag !== 138) break;
					message.periodicShows = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLiveEventInfo_WalletPkgDictEntry() {
	return {
		key: "",
		value: void 0
	};
}
const LiveEventInfo_WalletPkgDictEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.value !== void 0) WalletPackage.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLiveEventInfo_WalletPkgDictEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = WalletPackage.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLynxCrossScreenEffectInfo() {
	return { effectIds: [] };
}
const LynxCrossScreenEffectInfo = {
	encode(message, writer = new BinaryWriter()) {
		writer.uint32(34).fork();
		for (const v of message.effectIds) writer.int64(v);
		writer.join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLynxCrossScreenEffectInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 4:
					if (tag === 32) {
						message.effectIds.push(reader.int64().toString());
						continue;
					}
					if (tag === 34) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.effectIds.push(reader.int64().toString());
						continue;
					}
					break;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMusicGiftInfo() {
	return {
		artistName: "",
		resource: void 0,
		songId: "0",
		moodId: "0",
		songName: ""
	};
}
const MusicGiftInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.artistName !== "") writer.uint32(10).string(message.artistName);
		if (message.resource !== void 0) AudioResource.encode(message.resource, writer.uint32(18).fork()).join();
		if (message.songId !== "0") writer.uint32(24).int64(message.songId);
		if (message.moodId !== "0") writer.uint32(32).int64(message.moodId);
		if (message.songName !== "") writer.uint32(42).string(message.songName);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMusicGiftInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.artistName = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.resource = AudioResource.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.songId = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.moodId = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.songName = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRandomGiftBubble() {
	return {
		displayText: "",
		iconDynamicEffect: void 0
	};
}
const RandomGiftBubble = {
	encode(message, writer = new BinaryWriter()) {
		if (message.displayText !== "") writer.uint32(10).string(message.displayText);
		if (message.iconDynamicEffect !== void 0) ImageModel.encode(message.iconDynamicEffect, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRandomGiftBubble();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.displayText = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.iconDynamicEffect = ImageModel.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRandomGiftPanelBanner() {
	return {
		bgImage: void 0,
		shadingImage: void 0,
		targetNum: "0",
		collectNum: "0",
		displayText: "",
		leftIcon: void 0,
		schemaUrl: "",
		bgColorValues: [],
		round: "0",
		bannerPriority: 0
	};
}
const RandomGiftPanelBanner = {
	encode(message, writer = new BinaryWriter()) {
		if (message.bgImage !== void 0) ImageModel.encode(message.bgImage, writer.uint32(10).fork()).join();
		if (message.shadingImage !== void 0) ImageModel.encode(message.shadingImage, writer.uint32(18).fork()).join();
		if (message.targetNum !== "0") writer.uint32(24).int64(message.targetNum);
		if (message.collectNum !== "0") writer.uint32(32).int64(message.collectNum);
		if (message.displayText !== "") writer.uint32(42).string(message.displayText);
		if (message.leftIcon !== void 0) ImageModel.encode(message.leftIcon, writer.uint32(50).fork()).join();
		if (message.schemaUrl !== "") writer.uint32(58).string(message.schemaUrl);
		for (const v of message.bgColorValues) writer.uint32(66).string(v);
		if (message.round !== "0") writer.uint32(72).int64(message.round);
		if (message.bannerPriority !== 0) writer.uint32(80).int32(message.bannerPriority);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRandomGiftPanelBanner();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.bgImage = ImageModel.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.shadingImage = ImageModel.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.targetNum = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.collectNum = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.displayText = reader.string();
					continue;
				case 6:
					if (tag !== 50) break;
					message.leftIcon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.schemaUrl = reader.string();
					continue;
				case 8:
					if (tag !== 66) break;
					message.bgColorValues.push(reader.string());
					continue;
				case 9:
					if (tag !== 72) break;
					message.round = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 80) break;
					message.bannerPriority = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSchemeInfo() {
	return {
		schemeGiftType: 0,
		schemeUrl: "",
		schemeDescribe: "",
		schemeDescribeColor: ""
	};
}
const SchemeInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.schemeGiftType !== 0) writer.uint32(8).int32(message.schemeGiftType);
		if (message.schemeUrl !== "") writer.uint32(18).string(message.schemeUrl);
		if (message.schemeDescribe !== "") writer.uint32(26).string(message.schemeDescribe);
		if (message.schemeDescribeColor !== "") writer.uint32(34).string(message.schemeDescribeColor);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSchemeInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.schemeGiftType = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.schemeUrl = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.schemeDescribe = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.schemeDescribeColor = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUGGiftStructInfo() {
	return {
		isUgGift: false,
		ugPointsCost: "0"
	};
}
const UGGiftStructInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.isUgGift !== false) writer.uint32(8).bool(message.isUgGift);
		if (message.ugPointsCost !== "0") writer.uint32(16).int64(message.ugPointsCost);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUGGiftStructInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.isUgGift = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.ugPointsCost = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUserAttr() {
	return {
		isMuted: false,
		isAdmin: false,
		isSuperAdmin: false,
		muteDuration: "0",
		adminPermissions: {},
		hasVotingFunction: false,
		isChannelAdmin: false
	};
}
const UserAttr = {
	encode(message, writer = new BinaryWriter()) {
		if (message.isMuted !== false) writer.uint32(8).bool(message.isMuted);
		if (message.isAdmin !== false) writer.uint32(16).bool(message.isAdmin);
		if (message.isSuperAdmin !== false) writer.uint32(24).bool(message.isSuperAdmin);
		if (message.muteDuration !== "0") writer.uint32(32).int64(message.muteDuration);
		globalThis.Object.entries(message.adminPermissions).forEach(([key, value]) => {
			UserAttr_AdminPermissionsEntry.encode({
				key,
				value
			}, writer.uint32(42).fork()).join();
		});
		if (message.hasVotingFunction !== false) writer.uint32(48).bool(message.hasVotingFunction);
		if (message.isChannelAdmin !== false) writer.uint32(56).bool(message.isChannelAdmin);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUserAttr();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.isMuted = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.isAdmin = reader.bool();
					continue;
				case 3:
					if (tag !== 24) break;
					message.isSuperAdmin = reader.bool();
					continue;
				case 4:
					if (tag !== 32) break;
					message.muteDuration = reader.int64().toString();
					continue;
				case 5: {
					if (tag !== 42) break;
					const entry5 = UserAttr_AdminPermissionsEntry.decode(reader, reader.uint32());
					if (entry5.value !== void 0) message.adminPermissions[entry5.key] = entry5.value;
					continue;
				}
				case 6:
					if (tag !== 48) break;
					message.hasVotingFunction = reader.bool();
					continue;
				case 7:
					if (tag !== 56) break;
					message.isChannelAdmin = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUserAttr_AdminPermissionsEntry() {
	return {
		key: 0,
		value: 0
	};
}
const UserAttr_AdminPermissionsEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== 0) writer.uint32(8).int32(message.key);
		if (message.value !== 0) writer.uint32(16).int32(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUserAttr_AdminPermissionsEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.value = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUserBadge() {
	return {
		icons: {},
		title: ""
	};
}
const UserBadge = {
	encode(message, writer = new BinaryWriter()) {
		globalThis.Object.entries(message.icons).forEach(([key, value]) => {
			UserBadge_IconsEntry.encode({
				key,
				value
			}, writer.uint32(10).fork()).join();
		});
		if (message.title !== "") writer.uint32(18).string(message.title);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUserBadge();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1: {
					if (tag !== 10) break;
					const entry1 = UserBadge_IconsEntry.decode(reader, reader.uint32());
					if (entry1.value !== void 0) message.icons[entry1.key] = entry1.value;
					continue;
				}
				case 2:
					if (tag !== 18) break;
					message.title = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUserBadge_IconsEntry() {
	return {
		key: 0,
		value: void 0
	};
}
const UserBadge_IconsEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== 0) writer.uint32(8).int32(message.key);
		if (message.value !== void 0) ImageModel.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUserBadge_IconsEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = ImageModel.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUserHonor() {
	return {
		deprecated20: "0",
		diamondIcon: void 0,
		name: "",
		icon: void 0,
		nextName: "",
		level: 0,
		nextIcon: void 0,
		deprecated23: "0",
		deprecated24: "0",
		deprecated25: "0",
		gradeDescribe: "",
		gradeIconList: [],
		screenChatType: "0",
		imIcon: void 0,
		imIconWithLevel: void 0,
		liveIcon: void 0,
		newImIconWithLevel: void 0,
		newLiveIcon: void 0,
		upgradeNeedConsume: "0",
		nextPrivileges: "",
		background: void 0,
		backgroundBack: void 0,
		score: "0",
		gradeBanner: ""
	};
}
const UserHonor = {
	encode(message, writer = new BinaryWriter()) {
		if (message.deprecated20 !== "0") writer.uint32(8).int64(message.deprecated20);
		if (message.diamondIcon !== void 0) ImageModel.encode(message.diamondIcon, writer.uint32(18).fork()).join();
		if (message.name !== "") writer.uint32(26).string(message.name);
		if (message.icon !== void 0) ImageModel.encode(message.icon, writer.uint32(34).fork()).join();
		if (message.nextName !== "") writer.uint32(42).string(message.nextName);
		if (message.level !== 0) writer.uint32(48).int32(message.level);
		if (message.nextIcon !== void 0) ImageModel.encode(message.nextIcon, writer.uint32(58).fork()).join();
		if (message.deprecated23 !== "0") writer.uint32(72).int64(message.deprecated23);
		if (message.deprecated24 !== "0") writer.uint32(80).int64(message.deprecated24);
		if (message.deprecated25 !== "0") writer.uint32(88).int64(message.deprecated25);
		if (message.gradeDescribe !== "") writer.uint32(106).string(message.gradeDescribe);
		for (const v of message.gradeIconList) GradeIcon.encode(v, writer.uint32(114).fork()).join();
		if (message.screenChatType !== "0") writer.uint32(120).int64(message.screenChatType);
		if (message.imIcon !== void 0) ImageModel.encode(message.imIcon, writer.uint32(130).fork()).join();
		if (message.imIconWithLevel !== void 0) ImageModel.encode(message.imIconWithLevel, writer.uint32(138).fork()).join();
		if (message.liveIcon !== void 0) ImageModel.encode(message.liveIcon, writer.uint32(146).fork()).join();
		if (message.newImIconWithLevel !== void 0) ImageModel.encode(message.newImIconWithLevel, writer.uint32(154).fork()).join();
		if (message.newLiveIcon !== void 0) ImageModel.encode(message.newLiveIcon, writer.uint32(162).fork()).join();
		if (message.upgradeNeedConsume !== "0") writer.uint32(168).int64(message.upgradeNeedConsume);
		if (message.nextPrivileges !== "") writer.uint32(178).string(message.nextPrivileges);
		if (message.background !== void 0) ImageModel.encode(message.background, writer.uint32(186).fork()).join();
		if (message.backgroundBack !== void 0) ImageModel.encode(message.backgroundBack, writer.uint32(194).fork()).join();
		if (message.score !== "0") writer.uint32(200).int64(message.score);
		if (message.gradeBanner !== "") writer.uint32(8010).string(message.gradeBanner);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUserHonor();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.deprecated20 = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.diamondIcon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.name = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.icon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.nextName = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.level = reader.int32();
					continue;
				case 7:
					if (tag !== 58) break;
					message.nextIcon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 72) break;
					message.deprecated23 = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 80) break;
					message.deprecated24 = reader.int64().toString();
					continue;
				case 11:
					if (tag !== 88) break;
					message.deprecated25 = reader.int64().toString();
					continue;
				case 13:
					if (tag !== 106) break;
					message.gradeDescribe = reader.string();
					continue;
				case 14:
					if (tag !== 114) break;
					message.gradeIconList.push(GradeIcon.decode(reader, reader.uint32()));
					continue;
				case 15:
					if (tag !== 120) break;
					message.screenChatType = reader.int64().toString();
					continue;
				case 16:
					if (tag !== 130) break;
					message.imIcon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 17:
					if (tag !== 138) break;
					message.imIconWithLevel = ImageModel.decode(reader, reader.uint32());
					continue;
				case 18:
					if (tag !== 146) break;
					message.liveIcon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 19:
					if (tag !== 154) break;
					message.newImIconWithLevel = ImageModel.decode(reader, reader.uint32());
					continue;
				case 20:
					if (tag !== 162) break;
					message.newLiveIcon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 21:
					if (tag !== 168) break;
					message.upgradeNeedConsume = reader.int64().toString();
					continue;
				case 22:
					if (tag !== 178) break;
					message.nextPrivileges = reader.string();
					continue;
				case 23:
					if (tag !== 186) break;
					message.background = ImageModel.decode(reader, reader.uint32());
					continue;
				case 24:
					if (tag !== 194) break;
					message.backgroundBack = ImageModel.decode(reader, reader.uint32());
					continue;
				case 25:
					if (tag !== 200) break;
					message.score = reader.int64().toString();
					continue;
				case 1001:
					if (tag !== 8010) break;
					message.gradeBanner = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseVoteUser() {
	return {
		userId: "0",
		nickName: "",
		avatarThumb: void 0,
		voteCount: "0"
	};
}
const VoteUser = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.nickName !== "") writer.uint32(18).string(message.nickName);
		if (message.avatarThumb !== void 0) ImageModel.encode(message.avatarThumb, writer.uint32(26).fork()).join();
		if (message.voteCount !== "0") writer.uint32(32).int64(message.voteCount);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseVoteUser();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.nickName = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.avatarThumb = ImageModel.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.voteCount = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWalletPackage() {
	return {
		iapId: "",
		usdPriceShow: ""
	};
}
const WalletPackage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.iapId !== "") writer.uint32(10).string(message.iapId);
		if (message.usdPriceShow !== "") writer.uint32(18).string(message.usdPriceShow);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWalletPackage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.iapId = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.usdPriceShow = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/base/user_2.ts
function createBaseUser() {
	return {
		id: "0",
		deprecated1: "0",
		nickname: "",
		deprecated2: 0,
		bioDescription: "",
		deprecated3: 0,
		deprecated4: "0",
		deprecated5: "",
		avatarThumb: void 0,
		avatarMedium: void 0,
		avatarLarge: void 0,
		verified: false,
		deprecated6: 0,
		deprecated7: "",
		status: 0,
		createTime: "0",
		modifyTime: "0",
		secret: 0,
		shareQrcodeUri: "",
		deprecated8: 0,
		badgeImageList: [],
		followInfo: void 0,
		payGrade: void 0,
		fansClub: void 0,
		border: void 0,
		specialId: "",
		avatarBorder: void 0,
		medal: void 0,
		realTimeIcons: [],
		newRealTimeIcons: [],
		topVipNo: 0,
		userAttr: void 0,
		ownRoom: void 0,
		payScore: "0",
		ticketCount: "0",
		anchorInfo: void 0,
		linkMicStats: 0,
		displayId: "",
		withCommercePermission: false,
		withFusionShopEntry: false,
		deprecated21: "0",
		webcastAnchorLevel: void 0,
		verifiedContent: "",
		authorStats: void 0,
		topFans: [],
		secUid: "",
		userRole: 0,
		deprecated9: new Uint8Array(0),
		activityReward: void 0,
		deprecated10: new Uint8Array(0),
		deprecated11: new Uint8Array(0),
		personalCard: void 0,
		authenticationInfo: void 0,
		deprecated12: 0,
		deprecated13: 0,
		deprecated14: new Uint8Array(0),
		mediaBadgeImageList: [],
		deprecated15: 0,
		userVipInfo: new Uint8Array(0),
		commerceWebcastConfigIds: [],
		borderList: [],
		comboBadgeInfo: void 0,
		subscribeInfo: void 0,
		badgeList: [],
		mintTypeLabel: [],
		fansClubInfo: void 0,
		deprecated19: false,
		allowFindByContacts: false,
		allowOthersDownloadVideo: false,
		allowOthersDownloadWhenSharingVideo: false,
		allowShareShowProfile: false,
		allowShowInGossip: false,
		allowShowMyAction: false,
		allowStrangeComment: false,
		allowUnfollowerComment: false,
		allowUseLinkmic: false,
		anchorLevel: void 0,
		avatarJpg: void 0,
		bgImgUrl: "",
		deprecated18: "",
		deprecated16: false,
		blockStatus: 0,
		commentRestrict: 0,
		constellation: "",
		disableIchat: 0,
		enableIchatImg: "0",
		exp: 0,
		fanTicketCount: "0",
		foldStrangerChat: false,
		followStatus: "0",
		deprecated28: false,
		deprecated29: "",
		ichatRestrictType: 0,
		idStr: "",
		isFollower: false,
		isFollowing: false,
		needProfileGuide: false,
		payScores: "0",
		pushCommentStatus: false,
		pushDigg: false,
		pushFollow: false,
		pushFriendAction: false,
		pushIchat: false,
		pushStatus: false,
		pushVideoPost: false,
		pushVideoRecommend: false,
		stats: new Uint8Array(0),
		deprecated17: false,
		verifiedReason: "",
		withCarManagementPermission: false,
		upcomingEventList: [],
		scmLabel: "",
		ecommerceEntrance: void 0,
		isBlock: false,
		isSubscribe: false,
		isAnchorMarked: false,
		enigmaInfo: void 0
	};
}
const User = {
	encode(message, writer = new BinaryWriter()) {
		if (message.id !== "0") writer.uint32(8).int64(message.id);
		if (message.deprecated1 !== "0") writer.uint32(16).int64(message.deprecated1);
		if (message.nickname !== "") writer.uint32(26).string(message.nickname);
		if (message.deprecated2 !== 0) writer.uint32(32).int32(message.deprecated2);
		if (message.bioDescription !== "") writer.uint32(42).string(message.bioDescription);
		if (message.deprecated3 !== 0) writer.uint32(48).int32(message.deprecated3);
		if (message.deprecated4 !== "0") writer.uint32(56).int64(message.deprecated4);
		if (message.deprecated5 !== "") writer.uint32(66).string(message.deprecated5);
		if (message.avatarThumb !== void 0) ImageModel.encode(message.avatarThumb, writer.uint32(74).fork()).join();
		if (message.avatarMedium !== void 0) ImageModel.encode(message.avatarMedium, writer.uint32(82).fork()).join();
		if (message.avatarLarge !== void 0) ImageModel.encode(message.avatarLarge, writer.uint32(90).fork()).join();
		if (message.verified !== false) writer.uint32(96).bool(message.verified);
		if (message.deprecated6 !== 0) writer.uint32(104).int32(message.deprecated6);
		if (message.deprecated7 !== "") writer.uint32(114).string(message.deprecated7);
		if (message.status !== 0) writer.uint32(120).int32(message.status);
		if (message.createTime !== "0") writer.uint32(128).int64(message.createTime);
		if (message.modifyTime !== "0") writer.uint32(136).int64(message.modifyTime);
		if (message.secret !== 0) writer.uint32(144).int32(message.secret);
		if (message.shareQrcodeUri !== "") writer.uint32(154).string(message.shareQrcodeUri);
		if (message.deprecated8 !== 0) writer.uint32(160).int32(message.deprecated8);
		for (const v of message.badgeImageList) ImageModel.encode(v, writer.uint32(170).fork()).join();
		if (message.followInfo !== void 0) FollowInfo.encode(message.followInfo, writer.uint32(178).fork()).join();
		if (message.payGrade !== void 0) UserHonor.encode(message.payGrade, writer.uint32(186).fork()).join();
		if (message.fansClub !== void 0) FansClubMember.encode(message.fansClub, writer.uint32(194).fork()).join();
		if (message.border !== void 0) BorderInfo.encode(message.border, writer.uint32(202).fork()).join();
		if (message.specialId !== "") writer.uint32(210).string(message.specialId);
		if (message.avatarBorder !== void 0) ImageModel.encode(message.avatarBorder, writer.uint32(218).fork()).join();
		if (message.medal !== void 0) ImageModel.encode(message.medal, writer.uint32(226).fork()).join();
		for (const v of message.realTimeIcons) ImageModel.encode(v, writer.uint32(234).fork()).join();
		for (const v of message.newRealTimeIcons) ImageModel.encode(v, writer.uint32(242).fork()).join();
		if (message.topVipNo !== 0) writer.uint32(248).int32(message.topVipNo);
		if (message.userAttr !== void 0) UserAttr.encode(message.userAttr, writer.uint32(258).fork()).join();
		if (message.ownRoom !== void 0) OwnRoom.encode(message.ownRoom, writer.uint32(266).fork()).join();
		if (message.payScore !== "0") writer.uint32(272).int64(message.payScore);
		if (message.ticketCount !== "0") writer.uint32(280).int64(message.ticketCount);
		if (message.anchorInfo !== void 0) AnchorInfo.encode(message.anchorInfo, writer.uint32(290).fork()).join();
		if (message.linkMicStats !== 0) writer.uint32(296).int32(message.linkMicStats);
		if (message.displayId !== "") writer.uint32(306).string(message.displayId);
		if (message.withCommercePermission !== false) writer.uint32(312).bool(message.withCommercePermission);
		if (message.withFusionShopEntry !== false) writer.uint32(320).bool(message.withFusionShopEntry);
		if (message.deprecated21 !== "0") writer.uint32(328).int64(message.deprecated21);
		if (message.webcastAnchorLevel !== void 0) AnchorLevel.encode(message.webcastAnchorLevel, writer.uint32(338).fork()).join();
		if (message.verifiedContent !== "") writer.uint32(346).string(message.verifiedContent);
		if (message.authorStats !== void 0) Author.encode(message.authorStats, writer.uint32(354).fork()).join();
		for (const v of message.topFans) User.encode(v, writer.uint32(362).fork()).join();
		if (message.secUid !== "") writer.uint32(370).string(message.secUid);
		if (message.userRole !== 0) writer.uint32(376).int32(message.userRole);
		if (message.deprecated9.length !== 0) writer.uint32(386).bytes(message.deprecated9);
		if (message.activityReward !== void 0) ActivityRewardInfo.encode(message.activityReward, writer.uint32(394).fork()).join();
		if (message.deprecated10.length !== 0) writer.uint32(402).bytes(message.deprecated10);
		if (message.deprecated11.length !== 0) writer.uint32(410).bytes(message.deprecated11);
		if (message.personalCard !== void 0) ImageModel.encode(message.personalCard, writer.uint32(418).fork()).join();
		if (message.authenticationInfo !== void 0) AuthenticationInfo$1.encode(message.authenticationInfo, writer.uint32(426).fork()).join();
		if (message.deprecated12 !== 0) writer.uint32(432).int32(message.deprecated12);
		if (message.deprecated13 !== 0) writer.uint32(440).int32(message.deprecated13);
		if (message.deprecated14.length !== 0) writer.uint32(450).bytes(message.deprecated14);
		for (const v of message.mediaBadgeImageList) ImageModel.encode(v, writer.uint32(458).fork()).join();
		if (message.deprecated15 !== 0) writer.uint32(464).int32(message.deprecated15);
		if (message.userVipInfo.length !== 0) writer.uint32(474).bytes(message.userVipInfo);
		writer.uint32(482).fork();
		for (const v of message.commerceWebcastConfigIds) writer.int64(v);
		writer.join();
		for (const v of message.borderList) BorderInfo.encode(v, writer.uint32(490).fork()).join();
		if (message.comboBadgeInfo !== void 0) ComboBadgeInfo.encode(message.comboBadgeInfo, writer.uint32(498).fork()).join();
		if (message.subscribeInfo !== void 0) SubscribeInfo.encode(message.subscribeInfo, writer.uint32(506).fork()).join();
		for (const v of message.badgeList) BadgeStruct.encode(v, writer.uint32(514).fork()).join();
		writer.uint32(522).fork();
		for (const v of message.mintTypeLabel) writer.int64(v);
		writer.join();
		if (message.fansClubInfo !== void 0) FansClubInfo.encode(message.fansClubInfo, writer.uint32(530).fork()).join();
		if (message.deprecated19 !== false) writer.uint32(8008).bool(message.deprecated19);
		if (message.allowFindByContacts !== false) writer.uint32(8016).bool(message.allowFindByContacts);
		if (message.allowOthersDownloadVideo !== false) writer.uint32(8024).bool(message.allowOthersDownloadVideo);
		if (message.allowOthersDownloadWhenSharingVideo !== false) writer.uint32(8032).bool(message.allowOthersDownloadWhenSharingVideo);
		if (message.allowShareShowProfile !== false) writer.uint32(8040).bool(message.allowShareShowProfile);
		if (message.allowShowInGossip !== false) writer.uint32(8048).bool(message.allowShowInGossip);
		if (message.allowShowMyAction !== false) writer.uint32(8056).bool(message.allowShowMyAction);
		if (message.allowStrangeComment !== false) writer.uint32(8064).bool(message.allowStrangeComment);
		if (message.allowUnfollowerComment !== false) writer.uint32(8072).bool(message.allowUnfollowerComment);
		if (message.allowUseLinkmic !== false) writer.uint32(8080).bool(message.allowUseLinkmic);
		if (message.anchorLevel !== void 0) AnchorLevel.encode(message.anchorLevel, writer.uint32(8090).fork()).join();
		if (message.avatarJpg !== void 0) ImageModel.encode(message.avatarJpg, writer.uint32(8098).fork()).join();
		if (message.bgImgUrl !== "") writer.uint32(8106).string(message.bgImgUrl);
		if (message.deprecated18 !== "") writer.uint32(8114).string(message.deprecated18);
		if (message.deprecated16 !== false) writer.uint32(8120).bool(message.deprecated16);
		if (message.blockStatus !== 0) writer.uint32(8128).int32(message.blockStatus);
		if (message.commentRestrict !== 0) writer.uint32(8136).int32(message.commentRestrict);
		if (message.constellation !== "") writer.uint32(8146).string(message.constellation);
		if (message.disableIchat !== 0) writer.uint32(8152).int32(message.disableIchat);
		if (message.enableIchatImg !== "0") writer.uint32(8160).int64(message.enableIchatImg);
		if (message.exp !== 0) writer.uint32(8168).int32(message.exp);
		if (message.fanTicketCount !== "0") writer.uint32(8176).int64(message.fanTicketCount);
		if (message.foldStrangerChat !== false) writer.uint32(8184).bool(message.foldStrangerChat);
		if (message.followStatus !== "0") writer.uint32(8192).int64(message.followStatus);
		if (message.deprecated28 !== false) writer.uint32(8200).bool(message.deprecated28);
		if (message.deprecated29 !== "") writer.uint32(8210).string(message.deprecated29);
		if (message.ichatRestrictType !== 0) writer.uint32(8216).int32(message.ichatRestrictType);
		if (message.idStr !== "") writer.uint32(8226).string(message.idStr);
		if (message.isFollower !== false) writer.uint32(8232).bool(message.isFollower);
		if (message.isFollowing !== false) writer.uint32(8240).bool(message.isFollowing);
		if (message.needProfileGuide !== false) writer.uint32(8248).bool(message.needProfileGuide);
		if (message.payScores !== "0") writer.uint32(8256).int64(message.payScores);
		if (message.pushCommentStatus !== false) writer.uint32(8264).bool(message.pushCommentStatus);
		if (message.pushDigg !== false) writer.uint32(8272).bool(message.pushDigg);
		if (message.pushFollow !== false) writer.uint32(8280).bool(message.pushFollow);
		if (message.pushFriendAction !== false) writer.uint32(8288).bool(message.pushFriendAction);
		if (message.pushIchat !== false) writer.uint32(8296).bool(message.pushIchat);
		if (message.pushStatus !== false) writer.uint32(8304).bool(message.pushStatus);
		if (message.pushVideoPost !== false) writer.uint32(8312).bool(message.pushVideoPost);
		if (message.pushVideoRecommend !== false) writer.uint32(8320).bool(message.pushVideoRecommend);
		if (message.stats.length !== 0) writer.uint32(8330).bytes(message.stats);
		if (message.deprecated17 !== false) writer.uint32(8336).bool(message.deprecated17);
		if (message.verifiedReason !== "") writer.uint32(8346).string(message.verifiedReason);
		if (message.withCarManagementPermission !== false) writer.uint32(8352).bool(message.withCarManagementPermission);
		for (const v of message.upcomingEventList) LiveEventInfo.encode(v, writer.uint32(8362).fork()).join();
		if (message.scmLabel !== "") writer.uint32(8370).string(message.scmLabel);
		if (message.ecommerceEntrance !== void 0) EcommerceEntrance.encode(message.ecommerceEntrance, writer.uint32(8378).fork()).join();
		if (message.isBlock !== false) writer.uint32(8384).bool(message.isBlock);
		if (message.isSubscribe !== false) writer.uint32(8720).bool(message.isSubscribe);
		if (message.isAnchorMarked !== false) writer.uint32(8728).bool(message.isAnchorMarked);
		if (message.enigmaInfo !== void 0) EnigmaInfo.encode(message.enigmaInfo, writer.uint32(8738).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUser();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.id = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.deprecated1 = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.nickname = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.deprecated2 = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.bioDescription = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.deprecated3 = reader.int32();
					continue;
				case 7:
					if (tag !== 56) break;
					message.deprecated4 = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 66) break;
					message.deprecated5 = reader.string();
					continue;
				case 9:
					if (tag !== 74) break;
					message.avatarThumb = ImageModel.decode(reader, reader.uint32());
					continue;
				case 10:
					if (tag !== 82) break;
					message.avatarMedium = ImageModel.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 90) break;
					message.avatarLarge = ImageModel.decode(reader, reader.uint32());
					continue;
				case 12:
					if (tag !== 96) break;
					message.verified = reader.bool();
					continue;
				case 13:
					if (tag !== 104) break;
					message.deprecated6 = reader.int32();
					continue;
				case 14:
					if (tag !== 114) break;
					message.deprecated7 = reader.string();
					continue;
				case 15:
					if (tag !== 120) break;
					message.status = reader.int32();
					continue;
				case 16:
					if (tag !== 128) break;
					message.createTime = reader.int64().toString();
					continue;
				case 17:
					if (tag !== 136) break;
					message.modifyTime = reader.int64().toString();
					continue;
				case 18:
					if (tag !== 144) break;
					message.secret = reader.int32();
					continue;
				case 19:
					if (tag !== 154) break;
					message.shareQrcodeUri = reader.string();
					continue;
				case 20:
					if (tag !== 160) break;
					message.deprecated8 = reader.int32();
					continue;
				case 21:
					if (tag !== 170) break;
					message.badgeImageList.push(ImageModel.decode(reader, reader.uint32()));
					continue;
				case 22:
					if (tag !== 178) break;
					message.followInfo = FollowInfo.decode(reader, reader.uint32());
					continue;
				case 23:
					if (tag !== 186) break;
					message.payGrade = UserHonor.decode(reader, reader.uint32());
					continue;
				case 24:
					if (tag !== 194) break;
					message.fansClub = FansClubMember.decode(reader, reader.uint32());
					continue;
				case 25:
					if (tag !== 202) break;
					message.border = BorderInfo.decode(reader, reader.uint32());
					continue;
				case 26:
					if (tag !== 210) break;
					message.specialId = reader.string();
					continue;
				case 27:
					if (tag !== 218) break;
					message.avatarBorder = ImageModel.decode(reader, reader.uint32());
					continue;
				case 28:
					if (tag !== 226) break;
					message.medal = ImageModel.decode(reader, reader.uint32());
					continue;
				case 29:
					if (tag !== 234) break;
					message.realTimeIcons.push(ImageModel.decode(reader, reader.uint32()));
					continue;
				case 30:
					if (tag !== 242) break;
					message.newRealTimeIcons.push(ImageModel.decode(reader, reader.uint32()));
					continue;
				case 31:
					if (tag !== 248) break;
					message.topVipNo = reader.int32();
					continue;
				case 32:
					if (tag !== 258) break;
					message.userAttr = UserAttr.decode(reader, reader.uint32());
					continue;
				case 33:
					if (tag !== 266) break;
					message.ownRoom = OwnRoom.decode(reader, reader.uint32());
					continue;
				case 34:
					if (tag !== 272) break;
					message.payScore = reader.int64().toString();
					continue;
				case 35:
					if (tag !== 280) break;
					message.ticketCount = reader.int64().toString();
					continue;
				case 36:
					if (tag !== 290) break;
					message.anchorInfo = AnchorInfo.decode(reader, reader.uint32());
					continue;
				case 37:
					if (tag !== 296) break;
					message.linkMicStats = reader.int32();
					continue;
				case 38:
					if (tag !== 306) break;
					message.displayId = reader.string();
					continue;
				case 39:
					if (tag !== 312) break;
					message.withCommercePermission = reader.bool();
					continue;
				case 40:
					if (tag !== 320) break;
					message.withFusionShopEntry = reader.bool();
					continue;
				case 41:
					if (tag !== 328) break;
					message.deprecated21 = reader.int64().toString();
					continue;
				case 42:
					if (tag !== 338) break;
					message.webcastAnchorLevel = AnchorLevel.decode(reader, reader.uint32());
					continue;
				case 43:
					if (tag !== 346) break;
					message.verifiedContent = reader.string();
					continue;
				case 44:
					if (tag !== 354) break;
					message.authorStats = Author.decode(reader, reader.uint32());
					continue;
				case 45:
					if (tag !== 362) break;
					message.topFans.push(User.decode(reader, reader.uint32()));
					continue;
				case 46:
					if (tag !== 370) break;
					message.secUid = reader.string();
					continue;
				case 47:
					if (tag !== 376) break;
					message.userRole = reader.int32();
					continue;
				case 48:
					if (tag !== 386) break;
					message.deprecated9 = reader.bytes();
					continue;
				case 49:
					if (tag !== 394) break;
					message.activityReward = ActivityRewardInfo.decode(reader, reader.uint32());
					continue;
				case 50:
					if (tag !== 402) break;
					message.deprecated10 = reader.bytes();
					continue;
				case 51:
					if (tag !== 410) break;
					message.deprecated11 = reader.bytes();
					continue;
				case 52:
					if (tag !== 418) break;
					message.personalCard = ImageModel.decode(reader, reader.uint32());
					continue;
				case 53:
					if (tag !== 426) break;
					message.authenticationInfo = AuthenticationInfo$1.decode(reader, reader.uint32());
					continue;
				case 54:
					if (tag !== 432) break;
					message.deprecated12 = reader.int32();
					continue;
				case 55:
					if (tag !== 440) break;
					message.deprecated13 = reader.int32();
					continue;
				case 56:
					if (tag !== 450) break;
					message.deprecated14 = reader.bytes();
					continue;
				case 57:
					if (tag !== 458) break;
					message.mediaBadgeImageList.push(ImageModel.decode(reader, reader.uint32()));
					continue;
				case 58:
					if (tag !== 464) break;
					message.deprecated15 = reader.int32();
					continue;
				case 59:
					if (tag !== 474) break;
					message.userVipInfo = reader.bytes();
					continue;
				case 60:
					if (tag === 480) {
						message.commerceWebcastConfigIds.push(reader.int64().toString());
						continue;
					}
					if (tag === 482) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.commerceWebcastConfigIds.push(reader.int64().toString());
						continue;
					}
					break;
				case 61:
					if (tag !== 490) break;
					message.borderList.push(BorderInfo.decode(reader, reader.uint32()));
					continue;
				case 62:
					if (tag !== 498) break;
					message.comboBadgeInfo = ComboBadgeInfo.decode(reader, reader.uint32());
					continue;
				case 63:
					if (tag !== 506) break;
					message.subscribeInfo = SubscribeInfo.decode(reader, reader.uint32());
					continue;
				case 64:
					if (tag !== 514) break;
					message.badgeList.push(BadgeStruct.decode(reader, reader.uint32()));
					continue;
				case 65:
					if (tag === 520) {
						message.mintTypeLabel.push(reader.int64().toString());
						continue;
					}
					if (tag === 522) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.mintTypeLabel.push(reader.int64().toString());
						continue;
					}
					break;
				case 66:
					if (tag !== 530) break;
					message.fansClubInfo = FansClubInfo.decode(reader, reader.uint32());
					continue;
				case 1001:
					if (tag !== 8008) break;
					message.deprecated19 = reader.bool();
					continue;
				case 1002:
					if (tag !== 8016) break;
					message.allowFindByContacts = reader.bool();
					continue;
				case 1003:
					if (tag !== 8024) break;
					message.allowOthersDownloadVideo = reader.bool();
					continue;
				case 1004:
					if (tag !== 8032) break;
					message.allowOthersDownloadWhenSharingVideo = reader.bool();
					continue;
				case 1005:
					if (tag !== 8040) break;
					message.allowShareShowProfile = reader.bool();
					continue;
				case 1006:
					if (tag !== 8048) break;
					message.allowShowInGossip = reader.bool();
					continue;
				case 1007:
					if (tag !== 8056) break;
					message.allowShowMyAction = reader.bool();
					continue;
				case 1008:
					if (tag !== 8064) break;
					message.allowStrangeComment = reader.bool();
					continue;
				case 1009:
					if (tag !== 8072) break;
					message.allowUnfollowerComment = reader.bool();
					continue;
				case 1010:
					if (tag !== 8080) break;
					message.allowUseLinkmic = reader.bool();
					continue;
				case 1011:
					if (tag !== 8090) break;
					message.anchorLevel = AnchorLevel.decode(reader, reader.uint32());
					continue;
				case 1012:
					if (tag !== 8098) break;
					message.avatarJpg = ImageModel.decode(reader, reader.uint32());
					continue;
				case 1013:
					if (tag !== 8106) break;
					message.bgImgUrl = reader.string();
					continue;
				case 1014:
					if (tag !== 8114) break;
					message.deprecated18 = reader.string();
					continue;
				case 1015:
					if (tag !== 8120) break;
					message.deprecated16 = reader.bool();
					continue;
				case 1016:
					if (tag !== 8128) break;
					message.blockStatus = reader.int32();
					continue;
				case 1017:
					if (tag !== 8136) break;
					message.commentRestrict = reader.int32();
					continue;
				case 1018:
					if (tag !== 8146) break;
					message.constellation = reader.string();
					continue;
				case 1019:
					if (tag !== 8152) break;
					message.disableIchat = reader.int32();
					continue;
				case 1020:
					if (tag !== 8160) break;
					message.enableIchatImg = reader.int64().toString();
					continue;
				case 1021:
					if (tag !== 8168) break;
					message.exp = reader.int32();
					continue;
				case 1022:
					if (tag !== 8176) break;
					message.fanTicketCount = reader.int64().toString();
					continue;
				case 1023:
					if (tag !== 8184) break;
					message.foldStrangerChat = reader.bool();
					continue;
				case 1024:
					if (tag !== 8192) break;
					message.followStatus = reader.int64().toString();
					continue;
				case 1025:
					if (tag !== 8200) break;
					message.deprecated28 = reader.bool();
					continue;
				case 1026:
					if (tag !== 8210) break;
					message.deprecated29 = reader.string();
					continue;
				case 1027:
					if (tag !== 8216) break;
					message.ichatRestrictType = reader.int32();
					continue;
				case 1028:
					if (tag !== 8226) break;
					message.idStr = reader.string();
					continue;
				case 1029:
					if (tag !== 8232) break;
					message.isFollower = reader.bool();
					continue;
				case 1030:
					if (tag !== 8240) break;
					message.isFollowing = reader.bool();
					continue;
				case 1031:
					if (tag !== 8248) break;
					message.needProfileGuide = reader.bool();
					continue;
				case 1032:
					if (tag !== 8256) break;
					message.payScores = reader.int64().toString();
					continue;
				case 1033:
					if (tag !== 8264) break;
					message.pushCommentStatus = reader.bool();
					continue;
				case 1034:
					if (tag !== 8272) break;
					message.pushDigg = reader.bool();
					continue;
				case 1035:
					if (tag !== 8280) break;
					message.pushFollow = reader.bool();
					continue;
				case 1036:
					if (tag !== 8288) break;
					message.pushFriendAction = reader.bool();
					continue;
				case 1037:
					if (tag !== 8296) break;
					message.pushIchat = reader.bool();
					continue;
				case 1038:
					if (tag !== 8304) break;
					message.pushStatus = reader.bool();
					continue;
				case 1039:
					if (tag !== 8312) break;
					message.pushVideoPost = reader.bool();
					continue;
				case 1040:
					if (tag !== 8320) break;
					message.pushVideoRecommend = reader.bool();
					continue;
				case 1041:
					if (tag !== 8330) break;
					message.stats = reader.bytes();
					continue;
				case 1042:
					if (tag !== 8336) break;
					message.deprecated17 = reader.bool();
					continue;
				case 1043:
					if (tag !== 8346) break;
					message.verifiedReason = reader.string();
					continue;
				case 1044:
					if (tag !== 8352) break;
					message.withCarManagementPermission = reader.bool();
					continue;
				case 1045:
					if (tag !== 8362) break;
					message.upcomingEventList.push(LiveEventInfo.decode(reader, reader.uint32()));
					continue;
				case 1046:
					if (tag !== 8370) break;
					message.scmLabel = reader.string();
					continue;
				case 1047:
					if (tag !== 8378) break;
					message.ecommerceEntrance = EcommerceEntrance.decode(reader, reader.uint32());
					continue;
				case 1048:
					if (tag !== 8384) break;
					message.isBlock = reader.bool();
					continue;
				case 1090:
					if (tag !== 8720) break;
					message.isSubscribe = reader.bool();
					continue;
				case 1091:
					if (tag !== 8728) break;
					message.isAnchorMarked = reader.bool();
					continue;
				case 1092:
					if (tag !== 8738) break;
					message.enigmaInfo = EnigmaInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/chatroom/api_emote_upload_info.ts
function createBaseEmoteUploadInfo() {
	return {
		userId: "0",
		emoteUploadSource: 0,
		userInfo: void 0,
		userIdStr: ""
	};
}
const EmoteUploadInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.emoteUploadSource !== 0) writer.uint32(16).int32(message.emoteUploadSource);
		if (message.userInfo !== void 0) User.encode(message.userInfo, writer.uint32(26).fork()).join();
		if (message.userIdStr !== "") writer.uint32(34).string(message.userIdStr);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseEmoteUploadInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.emoteUploadSource = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.userInfo = User.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.userIdStr = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/chatroom/model/interact_messages.ts
function createBaseActivityBadgeInfo() {
	return {
		badgeText: void 0,
		badgeTextDark: void 0,
		backgroundColor: "",
		backgroundColorDark: "",
		eventTrace: {}
	};
}
const ActivityBadgeInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.badgeText !== void 0) LinkmicDisplayText.encode(message.badgeText, writer.uint32(10).fork()).join();
		if (message.badgeTextDark !== void 0) LinkmicDisplayText.encode(message.badgeTextDark, writer.uint32(18).fork()).join();
		if (message.backgroundColor !== "") writer.uint32(26).string(message.backgroundColor);
		if (message.backgroundColorDark !== "") writer.uint32(34).string(message.backgroundColorDark);
		globalThis.Object.entries(message.eventTrace).forEach(([key, value]) => {
			ActivityBadgeInfo_EventTraceEntry.encode({
				key,
				value
			}, writer.uint32(42).fork()).join();
		});
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseActivityBadgeInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.badgeText = LinkmicDisplayText.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.badgeTextDark = LinkmicDisplayText.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.backgroundColor = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.backgroundColorDark = reader.string();
					continue;
				case 5: {
					if (tag !== 42) break;
					const entry5 = ActivityBadgeInfo_EventTraceEntry.decode(reader, reader.uint32());
					if (entry5.value !== void 0) message.eventTrace[entry5.key] = entry5.value;
					continue;
				}
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseActivityBadgeInfo_EventTraceEntry() {
	return {
		key: "",
		value: ""
	};
}
const ActivityBadgeInfo_EventTraceEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.value !== "") writer.uint32(18).string(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseActivityBadgeInfo_EventTraceEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleGamePlayContent() {
	return {
		battleId: "0",
		groupChannelId: "0",
		teamMember: [],
		sourceType: "0",
		inviteType: 0
	};
}
const BattleGamePlayContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.battleId !== "0") writer.uint32(8).int64(message.battleId);
		if (message.groupChannelId !== "0") writer.uint32(16).int64(message.groupChannelId);
		for (const v of message.teamMember) TeamUser.encode(v, writer.uint32(26).fork()).join();
		if (message.sourceType !== "0") writer.uint32(32).int64(message.sourceType);
		if (message.inviteType !== 0) writer.uint32(40).int32(message.inviteType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleGamePlayContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.battleId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.groupChannelId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.teamMember.push(TeamUser.decode(reader, reader.uint32()));
					continue;
				case 4:
					if (tag !== 32) break;
					message.sourceType = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.inviteType = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleGamePlayContentUserInfo() {
	return {
		userId: "0",
		roomId: "0",
		invitationRole: 0
	};
}
const BattleGamePlayContentUserInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.roomId !== "0") writer.uint32(16).int64(message.roomId);
		if (message.invitationRole !== 0) writer.uint32(24).int32(message.invitationRole);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleGamePlayContentUserInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.roomId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.invitationRole = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleUserSettings() {
	return {
		isTurnOn: false,
		acceptNotFollowerInvite: false,
		allowGiftToOtherAnchors: false
	};
}
const BattleUserSettings = {
	encode(message, writer = new BinaryWriter()) {
		if (message.isTurnOn !== false) writer.uint32(8).bool(message.isTurnOn);
		if (message.acceptNotFollowerInvite !== false) writer.uint32(16).bool(message.acceptNotFollowerInvite);
		if (message.allowGiftToOtherAnchors !== false) writer.uint32(24).bool(message.allowGiftToOtherAnchors);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleUserSettings();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.isTurnOn = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.acceptNotFollowerInvite = reader.bool();
					continue;
				case 3:
					if (tag !== 24) break;
					message.allowGiftToOtherAnchors = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCohostABInfo() {
	return {
		liveMatchButtonOpt: false,
		isCohostMultiguest: false,
		isMatchPlaybookEnabled: false,
		isCohostDuringMultiguestEnabled: false,
		isMatchPlaybookOptimisationEnabled: false
	};
}
const CohostABInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.liveMatchButtonOpt !== false) writer.uint32(8).bool(message.liveMatchButtonOpt);
		if (message.isCohostMultiguest !== false) writer.uint32(16).bool(message.isCohostMultiguest);
		if (message.isMatchPlaybookEnabled !== false) writer.uint32(24).bool(message.isMatchPlaybookEnabled);
		if (message.isCohostDuringMultiguestEnabled !== false) writer.uint32(32).bool(message.isCohostDuringMultiguestEnabled);
		if (message.isMatchPlaybookOptimisationEnabled !== false) writer.uint32(40).bool(message.isMatchPlaybookOptimisationEnabled);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCohostABInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.liveMatchButtonOpt = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.isCohostMultiguest = reader.bool();
					continue;
				case 3:
					if (tag !== 24) break;
					message.isMatchPlaybookEnabled = reader.bool();
					continue;
				case 4:
					if (tag !== 32) break;
					message.isCohostDuringMultiguestEnabled = reader.bool();
					continue;
				case 5:
					if (tag !== 40) break;
					message.isMatchPlaybookOptimisationEnabled = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCohostABTest() {
	return {
		abTestType: 0,
		group: "0"
	};
}
const CohostABTest = {
	encode(message, writer = new BinaryWriter()) {
		if (message.abTestType !== 0) writer.uint32(8).int32(message.abTestType);
		if (message.group !== "0") writer.uint32(16).int64(message.group);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCohostABTest();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.abTestType = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.group = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCohostABTestList() {
	return { abTestList: [] };
}
const CohostABTestList = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.abTestList) CohostABTest.encode(v, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCohostABTestList();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.abTestList.push(CohostABTest.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCohostABTestSetting() {
	return {
		key: "0",
		value: void 0
	};
}
const CohostABTestSetting = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) CohostABTestList.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCohostABTestSetting();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = CohostABTestList.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCohostListUser() {
	return {
		userId: "0",
		nickName: "",
		avatarThumb: void 0,
		linkedTime: "0",
		playType: 0,
		roomId: "0",
		linkmicUserStatus: 0,
		linkRemainingTime: "0",
		permissionType: 0,
		displayId: "",
		followStatus: "0",
		isLowVersion: false,
		rivalUserId: "0",
		rivalRoomId: "0",
		isInitiator: false,
		linkmicIdStr: "",
		bestTeammateUid: "0",
		hasTopicPerm: false,
		innerChannelId: "0"
	};
}
const CohostListUser = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.nickName !== "") writer.uint32(18).string(message.nickName);
		if (message.avatarThumb !== void 0) ImageModel.encode(message.avatarThumb, writer.uint32(26).fork()).join();
		if (message.linkedTime !== "0") writer.uint32(32).int64(message.linkedTime);
		if (message.playType !== 0) writer.uint32(40).int32(message.playType);
		if (message.roomId !== "0") writer.uint32(48).int64(message.roomId);
		if (message.linkmicUserStatus !== 0) writer.uint32(56).int32(message.linkmicUserStatus);
		if (message.linkRemainingTime !== "0") writer.uint32(64).int64(message.linkRemainingTime);
		if (message.permissionType !== 0) writer.uint32(72).int32(message.permissionType);
		if (message.displayId !== "") writer.uint32(82).string(message.displayId);
		if (message.followStatus !== "0") writer.uint32(88).int64(message.followStatus);
		if (message.isLowVersion !== false) writer.uint32(96).bool(message.isLowVersion);
		if (message.rivalUserId !== "0") writer.uint32(104).int64(message.rivalUserId);
		if (message.rivalRoomId !== "0") writer.uint32(112).int64(message.rivalRoomId);
		if (message.isInitiator !== false) writer.uint32(120).bool(message.isInitiator);
		if (message.linkmicIdStr !== "") writer.uint32(130).string(message.linkmicIdStr);
		if (message.bestTeammateUid !== "0") writer.uint32(136).int64(message.bestTeammateUid);
		if (message.hasTopicPerm !== false) writer.uint32(144).bool(message.hasTopicPerm);
		if (message.innerChannelId !== "0") writer.uint32(152).int64(message.innerChannelId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCohostListUser();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.nickName = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.avatarThumb = ImageModel.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.linkedTime = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.playType = reader.int32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.roomId = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.linkmicUserStatus = reader.int32();
					continue;
				case 8:
					if (tag !== 64) break;
					message.linkRemainingTime = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 72) break;
					message.permissionType = reader.int32();
					continue;
				case 10:
					if (tag !== 82) break;
					message.displayId = reader.string();
					continue;
				case 11:
					if (tag !== 88) break;
					message.followStatus = reader.int64().toString();
					continue;
				case 12:
					if (tag !== 96) break;
					message.isLowVersion = reader.bool();
					continue;
				case 13:
					if (tag !== 104) break;
					message.rivalUserId = reader.int64().toString();
					continue;
				case 14:
					if (tag !== 112) break;
					message.rivalRoomId = reader.int64().toString();
					continue;
				case 15:
					if (tag !== 120) break;
					message.isInitiator = reader.bool();
					continue;
				case 16:
					if (tag !== 130) break;
					message.linkmicIdStr = reader.string();
					continue;
				case 17:
					if (tag !== 136) break;
					message.bestTeammateUid = reader.int64().toString();
					continue;
				case 18:
					if (tag !== 144) break;
					message.hasTopicPerm = reader.bool();
					continue;
				case 19:
					if (tag !== 152) break;
					message.innerChannelId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCohostTopic() {
	return {
		id: "0",
		titleKey: "",
		titleText: "",
		liked: false,
		totalHeat: "0",
		totalRivals: "0",
		rivalsAvatar: []
	};
}
const CohostTopic = {
	encode(message, writer = new BinaryWriter()) {
		if (message.id !== "0") writer.uint32(8).int64(message.id);
		if (message.titleKey !== "") writer.uint32(18).string(message.titleKey);
		if (message.titleText !== "") writer.uint32(26).string(message.titleText);
		if (message.liked !== false) writer.uint32(168).bool(message.liked);
		if (message.totalHeat !== "0") writer.uint32(176).int64(message.totalHeat);
		if (message.totalRivals !== "0") writer.uint32(184).int64(message.totalRivals);
		for (const v of message.rivalsAvatar) ImageModel.encode(v, writer.uint32(194).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCohostTopic();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.id = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.titleKey = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.titleText = reader.string();
					continue;
				case 21:
					if (tag !== 168) break;
					message.liked = reader.bool();
					continue;
				case 22:
					if (tag !== 176) break;
					message.totalHeat = reader.int64().toString();
					continue;
				case 23:
					if (tag !== 184) break;
					message.totalRivals = reader.int64().toString();
					continue;
				case 24:
					if (tag !== 194) break;
					message.rivalsAvatar.push(ImageModel.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGamePlayContent() {
	return { battleGameplayContent: void 0 };
}
const GamePlayContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.battleGameplayContent !== void 0) BattleGamePlayContent.encode(message.battleGameplayContent, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGamePlayContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.battleGameplayContent = BattleGamePlayContent.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftGalleryBadgeInfo() {
	return {
		leagueInfo: void 0,
		galleryInfo: void 0,
		backgroundColor: "",
		separatorColor: "",
		darkModeBackgroundColor: "",
		leagueName: "",
		schema: ""
	};
}
const GiftGalleryBadgeInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.leagueInfo !== void 0) GiftGalleryBadgeSection.encode(message.leagueInfo, writer.uint32(10).fork()).join();
		if (message.galleryInfo !== void 0) GiftGalleryBadgeSection.encode(message.galleryInfo, writer.uint32(18).fork()).join();
		if (message.backgroundColor !== "") writer.uint32(26).string(message.backgroundColor);
		if (message.separatorColor !== "") writer.uint32(34).string(message.separatorColor);
		if (message.darkModeBackgroundColor !== "") writer.uint32(42).string(message.darkModeBackgroundColor);
		if (message.leagueName !== "") writer.uint32(50).string(message.leagueName);
		if (message.schema !== "") writer.uint32(58).string(message.schema);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftGalleryBadgeInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.leagueInfo = GiftGalleryBadgeSection.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.galleryInfo = GiftGalleryBadgeSection.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.backgroundColor = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.separatorColor = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.darkModeBackgroundColor = reader.string();
					continue;
				case 6:
					if (tag !== 50) break;
					message.leagueName = reader.string();
					continue;
				case 7:
					if (tag !== 58) break;
					message.schema = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftGalleryBadgeSection() {
	return {
		icon: void 0,
		displayText: void 0,
		shouldShow: false,
		darkModeIcon: void 0
	};
}
const GiftGalleryBadgeSection = {
	encode(message, writer = new BinaryWriter()) {
		if (message.icon !== void 0) ImageModel.encode(message.icon, writer.uint32(10).fork()).join();
		if (message.displayText !== void 0) LinkMicGiftGalleryDisplayText.encode(message.displayText, writer.uint32(18).fork()).join();
		if (message.shouldShow !== false) writer.uint32(24).bool(message.shouldShow);
		if (message.darkModeIcon !== void 0) ImageModel.encode(message.darkModeIcon, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftGalleryBadgeSection();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.icon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.displayText = LinkMicGiftGalleryDisplayText.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.shouldShow = reader.bool();
					continue;
				case 4:
					if (tag !== 34) break;
					message.darkModeIcon = ImageModel.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkMicGiftGalleryDisplayText() {
	return {
		content: "",
		color: "",
		darkModeColor: ""
	};
}
const LinkMicGiftGalleryDisplayText = {
	encode(message, writer = new BinaryWriter()) {
		if (message.content !== "") writer.uint32(10).string(message.content);
		if (message.color !== "") writer.uint32(18).string(message.color);
		if (message.darkModeColor !== "") writer.uint32(26).string(message.darkModeColor);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkMicGiftGalleryDisplayText();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.content = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.color = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.darkModeColor = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkmicDisplayText() {
	return {
		color: "",
		key: "",
		defaultPattern: "",
		pieces: []
	};
}
const LinkmicDisplayText = {
	encode(message, writer = new BinaryWriter()) {
		if (message.color !== "") writer.uint32(10).string(message.color);
		if (message.key !== "") writer.uint32(162).string(message.key);
		if (message.defaultPattern !== "") writer.uint32(170).string(message.defaultPattern);
		for (const v of message.pieces) LinkmicDisplayTextPieces.encode(v, writer.uint32(178).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkmicDisplayText();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.color = reader.string();
					continue;
				case 20:
					if (tag !== 162) break;
					message.key = reader.string();
					continue;
				case 21:
					if (tag !== 170) break;
					message.defaultPattern = reader.string();
					continue;
				case 22:
					if (tag !== 178) break;
					message.pieces.push(LinkmicDisplayTextPieces.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkmicDisplayTextPieces() {
	return { stringPiece: "" };
}
const LinkmicDisplayTextPieces = {
	encode(message, writer = new BinaryWriter()) {
		if (message.stringPiece !== "") writer.uint32(10).string(message.stringPiece);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkmicDisplayTextPieces();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.stringPiece = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkmicShareRevenueSettingStruct() {
	return {
		shareRevenueSettingVersionCode: "0",
		linkmicShareRevenueSetting: 0,
		linkmicShareRevenueSettingRatio: 0,
		enableSettingRatio: false
	};
}
const LinkmicShareRevenueSettingStruct = {
	encode(message, writer = new BinaryWriter()) {
		if (message.shareRevenueSettingVersionCode !== "0") writer.uint32(8).int64(message.shareRevenueSettingVersionCode);
		if (message.linkmicShareRevenueSetting !== 0) writer.uint32(16).int32(message.linkmicShareRevenueSetting);
		if (message.linkmicShareRevenueSettingRatio !== 0) writer.uint32(24).int32(message.linkmicShareRevenueSettingRatio);
		if (message.enableSettingRatio !== false) writer.uint32(32).bool(message.enableSettingRatio);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkmicShareRevenueSettingStruct();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.shareRevenueSettingVersionCode = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.linkmicShareRevenueSetting = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.linkmicShareRevenueSettingRatio = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.enableSettingRatio = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseOptPairInfo() {
	return {
		mappingId: "0",
		expectedTimeSec: "0",
		optPairStatus: 0,
		optPairType: "0",
		teamInfo: []
	};
}
const OptPairInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.mappingId !== "0") writer.uint32(8).int64(message.mappingId);
		if (message.expectedTimeSec !== "0") writer.uint32(16).int64(message.expectedTimeSec);
		if (message.optPairStatus !== 0) writer.uint32(24).int32(message.optPairStatus);
		if (message.optPairType !== "0") writer.uint32(32).int64(message.optPairType);
		for (const v of message.teamInfo) TeamInfo.encode(v, writer.uint32(42).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseOptPairInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.mappingId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.expectedTimeSec = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.optPairStatus = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.optPairType = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.teamInfo.push(TeamInfo.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRandomMatchContent() {
	return {
		matchId: "",
		sourceType: "0",
		pairedTime: "0",
		pairedGroupList: [],
		matchedPreferenceTag: 0
	};
}
const RandomMatchContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.matchId !== "") writer.uint32(10).string(message.matchId);
		if (message.sourceType !== "0") writer.uint32(16).int64(message.sourceType);
		if (message.pairedTime !== "0") writer.uint32(24).int64(message.pairedTime);
		for (const v of message.pairedGroupList) UserGroup.encode(v, writer.uint32(34).fork()).join();
		if (message.matchedPreferenceTag !== 0) writer.uint32(160).int32(message.matchedPreferenceTag);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRandomMatchContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.matchId = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.sourceType = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.pairedTime = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.pairedGroupList.push(UserGroup.decode(reader, reader.uint32()));
					continue;
				case 20:
					if (tag !== 160) break;
					message.matchedPreferenceTag = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRandomMatchContentUserInfo() {
	return {
		userId: "0",
		roomId: "0",
		invitationRoleType: 0,
		avatarThumb: void 0,
		nickname: ""
	};
}
const RandomMatchContentUserInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.roomId !== "0") writer.uint32(16).int64(message.roomId);
		if (message.invitationRoleType !== 0) writer.uint32(24).int32(message.invitationRoleType);
		if (message.avatarThumb !== void 0) ImageModel.encode(message.avatarThumb, writer.uint32(34).fork()).join();
		if (message.nickname !== "") writer.uint32(42).string(message.nickname);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRandomMatchContentUserInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.roomId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.invitationRoleType = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.avatarThumb = ImageModel.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.nickname = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRivalsGameTag() {
	return {
		tagId: "0",
		tagDisplayText: "",
		gapTimeTag: "0"
	};
}
const RivalsGameTag = {
	encode(message, writer = new BinaryWriter()) {
		if (message.tagId !== "0") writer.uint32(8).int64(message.tagId);
		if (message.tagDisplayText !== "") writer.uint32(18).string(message.tagDisplayText);
		if (message.gapTimeTag !== "0") writer.uint32(24).int64(message.gapTimeTag);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRivalsGameTag();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.tagId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.tagDisplayText = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.gapTimeTag = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSecondDegreeRelationContent() {
	return {
		relatedUsers: [],
		totalRelatedUserCnt: "0"
	};
}
const SecondDegreeRelationContent = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.relatedUsers) UserInfo$2.encode(v, writer.uint32(10).fork()).join();
		if (message.totalRelatedUserCnt !== "0") writer.uint32(16).int64(message.totalRelatedUserCnt);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSecondDegreeRelationContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.relatedUsers.push(UserInfo$2.decode(reader, reader.uint32()));
					continue;
				case 2:
					if (tag !== 16) break;
					message.totalRelatedUserCnt = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSimilarInterestContent() {
	return {
		contentId: "0",
		displayText: ""
	};
}
const SimilarInterestContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.contentId !== "0") writer.uint32(8).int64(message.contentId);
		if (message.displayText !== "") writer.uint32(18).string(message.displayText);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSimilarInterestContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.contentId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.displayText = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSubtitleSettings() {
	return {
		hasRight: 0,
		temporaryBan: 0,
		enable: 0,
		expireDate: "0",
		targetLanguage: "",
		labelText: ""
	};
}
const SubtitleSettings = {
	encode(message, writer = new BinaryWriter()) {
		if (message.hasRight !== 0) writer.uint32(8).int32(message.hasRight);
		if (message.temporaryBan !== 0) writer.uint32(16).int32(message.temporaryBan);
		if (message.enable !== 0) writer.uint32(24).int32(message.enable);
		if (message.expireDate !== "0") writer.uint32(32).int64(message.expireDate);
		if (message.targetLanguage !== "") writer.uint32(42).string(message.targetLanguage);
		if (message.labelText !== "") writer.uint32(50).string(message.labelText);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSubtitleSettings();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.hasRight = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.temporaryBan = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.enable = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.expireDate = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.targetLanguage = reader.string();
					continue;
				case 6:
					if (tag !== 50) break;
					message.labelText = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTagV2() {
	return {
		tagClassification: 0,
		tagType: 0,
		tagValue: "",
		starlingKey: "",
		secondDegreeRelationContent: void 0,
		cohostHistoryDay: "0",
		similarInterestContent: void 0
	};
}
const TagV2 = {
	encode(message, writer = new BinaryWriter()) {
		if (message.tagClassification !== 0) writer.uint32(8).int32(message.tagClassification);
		if (message.tagType !== 0) writer.uint32(16).int32(message.tagType);
		if (message.tagValue !== "") writer.uint32(26).string(message.tagValue);
		if (message.starlingKey !== "") writer.uint32(34).string(message.starlingKey);
		if (message.secondDegreeRelationContent !== void 0) SecondDegreeRelationContent.encode(message.secondDegreeRelationContent, writer.uint32(82).fork()).join();
		if (message.cohostHistoryDay !== "0") writer.uint32(88).int64(message.cohostHistoryDay);
		if (message.similarInterestContent !== void 0) SimilarInterestContent.encode(message.similarInterestContent, writer.uint32(98).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTagV2();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.tagClassification = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.tagType = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.tagValue = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.starlingKey = reader.string();
					continue;
				case 10:
					if (tag !== 82) break;
					message.secondDegreeRelationContent = SecondDegreeRelationContent.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 88) break;
					message.cohostHistoryDay = reader.int64().toString();
					continue;
				case 12:
					if (tag !== 98) break;
					message.similarInterestContent = SimilarInterestContent.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTeamInfo() {
	return {
		teamId: "0",
		userId: []
	};
}
const TeamInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.teamId !== "0") writer.uint32(8).int64(message.teamId);
		writer.uint32(18).fork();
		for (const v of message.userId) writer.int64(v);
		writer.join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTeamInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.teamId = reader.int64().toString();
					continue;
				case 2:
					if (tag === 16) {
						message.userId.push(reader.int64().toString());
						continue;
					}
					if (tag === 18) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.userId.push(reader.int64().toString());
						continue;
					}
					break;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTeamUser() {
	return {
		teamId: "0",
		userId: [],
		userInfoList: []
	};
}
const TeamUser = {
	encode(message, writer = new BinaryWriter()) {
		if (message.teamId !== "0") writer.uint32(8).int64(message.teamId);
		writer.uint32(18).fork();
		for (const v of message.userId) writer.int64(v);
		writer.join();
		for (const v of message.userInfoList) BattleGamePlayContentUserInfo.encode(v, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTeamUser();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.teamId = reader.int64().toString();
					continue;
				case 2:
					if (tag === 16) {
						message.userId.push(reader.int64().toString());
						continue;
					}
					if (tag === 18) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.userId.push(reader.int64().toString());
						continue;
					}
					break;
				case 3:
					if (tag !== 26) break;
					message.userInfoList.push(BattleGamePlayContentUserInfo.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTopHostInfo() {
	return {
		rankType: "",
		topIndex: "0"
	};
}
const TopHostInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.rankType !== "") writer.uint32(10).string(message.rankType);
		if (message.topIndex !== "0") writer.uint32(16).int64(message.topIndex);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTopHostInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.rankType = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.topIndex = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUserGroup() {
	return { userInfo: [] };
}
const UserGroup = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.userInfo) RandomMatchContentUserInfo.encode(v, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUserGroup();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.userInfo.push(RandomMatchContentUserInfo.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUserSuggestionInfo() {
	return {
		voteCount: "0",
		voterInfoList: [],
		detailPageLynx: ""
	};
}
const UserSuggestionInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.voteCount !== "0") writer.uint32(8).int64(message.voteCount);
		for (const v of message.voterInfoList) UserInfo$2.encode(v, writer.uint32(18).fork()).join();
		if (message.detailPageLynx !== "") writer.uint32(26).string(message.detailPageLynx);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUserSuggestionInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.voteCount = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.voterInfoList.push(UserInfo$2.decode(reader, reader.uint32()));
					continue;
				case 3:
					if (tag !== 26) break;
					message.detailPageLynx = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseVirtualWaitingUser() {
	return {
		sendUserId: "0",
		sendTimestamp: "0",
		avatars: []
	};
}
const VirtualWaitingUser = {
	encode(message, writer = new BinaryWriter()) {
		if (message.sendUserId !== "0") writer.uint32(8).int64(message.sendUserId);
		if (message.sendTimestamp !== "0") writer.uint32(16).int64(message.sendTimestamp);
		for (const v of message.avatars) ImageModel.encode(v, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseVirtualWaitingUser();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.sendUserId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.sendTimestamp = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.avatars.push(ImageModel.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/chatroom/interact_model.ts
function createBaseAnchorLinkmicUserSettings() {
	return {
		isTurnOn: false,
		acceptMultiLinkmic: false,
		acceptNotFollowerInvite: false,
		allowGiftToOtherAnchors: false,
		blockInvitationOfThisLive: false,
		receiveFriendMultiHostInvites: false,
		receiveFriendMultiHostApplication: false,
		blockThisMultiHostInvites: false,
		blockThisMultiHostApplication: false,
		receiveNotFriendMultiHostInvites: false,
		receiveNotFriendMultiHostApplication: false,
		allowLiveNoticeOfFriends: false,
		allowFriendInvites: false,
		allowSuggestedInvites: false,
		allowFriendInvitesWhenOfflive: false,
		allowUserCohostSuggestions: false,
		allowMissedInvitationNotice: false,
		allowLiveNoticeOfSuggested: false,
		allowGuestRequestDuringCohost: false,
		allowGuestApplyDuringCohost: false,
		subtitleSetting: void 0
	};
}
const AnchorLinkmicUserSettings = {
	encode(message, writer = new BinaryWriter()) {
		if (message.isTurnOn !== false) writer.uint32(8).bool(message.isTurnOn);
		if (message.acceptMultiLinkmic !== false) writer.uint32(16).bool(message.acceptMultiLinkmic);
		if (message.acceptNotFollowerInvite !== false) writer.uint32(24).bool(message.acceptNotFollowerInvite);
		if (message.allowGiftToOtherAnchors !== false) writer.uint32(32).bool(message.allowGiftToOtherAnchors);
		if (message.blockInvitationOfThisLive !== false) writer.uint32(40).bool(message.blockInvitationOfThisLive);
		if (message.receiveFriendMultiHostInvites !== false) writer.uint32(48).bool(message.receiveFriendMultiHostInvites);
		if (message.receiveFriendMultiHostApplication !== false) writer.uint32(56).bool(message.receiveFriendMultiHostApplication);
		if (message.blockThisMultiHostInvites !== false) writer.uint32(64).bool(message.blockThisMultiHostInvites);
		if (message.blockThisMultiHostApplication !== false) writer.uint32(72).bool(message.blockThisMultiHostApplication);
		if (message.receiveNotFriendMultiHostInvites !== false) writer.uint32(80).bool(message.receiveNotFriendMultiHostInvites);
		if (message.receiveNotFriendMultiHostApplication !== false) writer.uint32(88).bool(message.receiveNotFriendMultiHostApplication);
		if (message.allowLiveNoticeOfFriends !== false) writer.uint32(96).bool(message.allowLiveNoticeOfFriends);
		if (message.allowFriendInvites !== false) writer.uint32(104).bool(message.allowFriendInvites);
		if (message.allowSuggestedInvites !== false) writer.uint32(112).bool(message.allowSuggestedInvites);
		if (message.allowFriendInvitesWhenOfflive !== false) writer.uint32(120).bool(message.allowFriendInvitesWhenOfflive);
		if (message.allowUserCohostSuggestions !== false) writer.uint32(128).bool(message.allowUserCohostSuggestions);
		if (message.allowMissedInvitationNotice !== false) writer.uint32(136).bool(message.allowMissedInvitationNotice);
		if (message.allowLiveNoticeOfSuggested !== false) writer.uint32(144).bool(message.allowLiveNoticeOfSuggested);
		if (message.allowGuestRequestDuringCohost !== false) writer.uint32(152).bool(message.allowGuestRequestDuringCohost);
		if (message.allowGuestApplyDuringCohost !== false) writer.uint32(160).bool(message.allowGuestApplyDuringCohost);
		if (message.subtitleSetting !== void 0) SubtitleSettings.encode(message.subtitleSetting, writer.uint32(170).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAnchorLinkmicUserSettings();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.isTurnOn = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.acceptMultiLinkmic = reader.bool();
					continue;
				case 3:
					if (tag !== 24) break;
					message.acceptNotFollowerInvite = reader.bool();
					continue;
				case 4:
					if (tag !== 32) break;
					message.allowGiftToOtherAnchors = reader.bool();
					continue;
				case 5:
					if (tag !== 40) break;
					message.blockInvitationOfThisLive = reader.bool();
					continue;
				case 6:
					if (tag !== 48) break;
					message.receiveFriendMultiHostInvites = reader.bool();
					continue;
				case 7:
					if (tag !== 56) break;
					message.receiveFriendMultiHostApplication = reader.bool();
					continue;
				case 8:
					if (tag !== 64) break;
					message.blockThisMultiHostInvites = reader.bool();
					continue;
				case 9:
					if (tag !== 72) break;
					message.blockThisMultiHostApplication = reader.bool();
					continue;
				case 10:
					if (tag !== 80) break;
					message.receiveNotFriendMultiHostInvites = reader.bool();
					continue;
				case 11:
					if (tag !== 88) break;
					message.receiveNotFriendMultiHostApplication = reader.bool();
					continue;
				case 12:
					if (tag !== 96) break;
					message.allowLiveNoticeOfFriends = reader.bool();
					continue;
				case 13:
					if (tag !== 104) break;
					message.allowFriendInvites = reader.bool();
					continue;
				case 14:
					if (tag !== 112) break;
					message.allowSuggestedInvites = reader.bool();
					continue;
				case 15:
					if (tag !== 120) break;
					message.allowFriendInvitesWhenOfflive = reader.bool();
					continue;
				case 16:
					if (tag !== 128) break;
					message.allowUserCohostSuggestions = reader.bool();
					continue;
				case 17:
					if (tag !== 136) break;
					message.allowMissedInvitationNotice = reader.bool();
					continue;
				case 18:
					if (tag !== 144) break;
					message.allowLiveNoticeOfSuggested = reader.bool();
					continue;
				case 19:
					if (tag !== 152) break;
					message.allowGuestRequestDuringCohost = reader.bool();
					continue;
				case 20:
					if (tag !== 160) break;
					message.allowGuestApplyDuringCohost = reader.bool();
					continue;
				case 21:
					if (tag !== 170) break;
					message.subtitleSetting = SubtitleSettings.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleInfo() {
	return {
		infoType: 0,
		value: "0"
	};
}
const BattleInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.infoType !== 0) writer.uint32(8).int32(message.infoType);
		if (message.value !== "0") writer.uint32(16).int64(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.infoType = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.value = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerInfo() {
	return {
		linkedUsers: [],
		inQuickPairing: false,
		linkedGuestUsers: []
	};
}
const LinkerInfo = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.linkedUsers) UserInfo$2.encode(v, writer.uint32(10).fork()).join();
		if (message.inQuickPairing !== false) writer.uint32(16).bool(message.inQuickPairing);
		for (const v of message.linkedGuestUsers) UserInfo$2.encode(v, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.linkedUsers.push(UserInfo$2.decode(reader, reader.uint32()));
					continue;
				case 2:
					if (tag !== 16) break;
					message.inQuickPairing = reader.bool();
					continue;
				case 3:
					if (tag !== 26) break;
					message.linkedGuestUsers.push(UserInfo$2.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseOffliveInviteInfo() {
	return { inviterTimestamp: "0" };
}
const OffliveInviteInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.inviterTimestamp !== "0") writer.uint32(8).int64(message.inviterTimestamp);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseOffliveInviteInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.inviterTimestamp = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseReserveInfo() {
	return {
		reservationId: "0",
		replyStatus: 0,
		bubbleTip: "",
		responseTime: "0",
		isReservationSender: false,
		createdTimestamp: "0",
		viewed: false
	};
}
const ReserveInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.reservationId !== "0") writer.uint32(8).int64(message.reservationId);
		if (message.replyStatus !== 0) writer.uint32(16).int32(message.replyStatus);
		if (message.bubbleTip !== "") writer.uint32(26).string(message.bubbleTip);
		if (message.responseTime !== "0") writer.uint32(32).int64(message.responseTime);
		if (message.isReservationSender !== false) writer.uint32(40).bool(message.isReservationSender);
		if (message.createdTimestamp !== "0") writer.uint32(48).int64(message.createdTimestamp);
		if (message.viewed !== false) writer.uint32(56).bool(message.viewed);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseReserveInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.reservationId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.replyStatus = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.bubbleTip = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.responseTime = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.isReservationSender = reader.bool();
					continue;
				case 6:
					if (tag !== 48) break;
					message.createdTimestamp = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.viewed = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRivalExtraInfo() {
	return {
		text: "",
		textType: 0,
		label: "",
		anchorLayer: 0,
		linkerInfo: void 0,
		linkmicUserSettings: void 0,
		battleUserSettings: void 0,
		inviteBlockReason: 0,
		showPlayType: 0,
		topHostInfo: void 0,
		tag: void 0,
		reserveInfo: void 0,
		detailBlockReason: 0,
		optPairInfo: void 0,
		tagV2: void 0,
		eoyLevel: "0",
		battleInfo: void 0,
		cohostLayoutMode: 0,
		gameTag: void 0,
		giftGalleryBadgeInfo: void 0,
		offliveInviteInfo: void 0,
		userSuggestionInfo: void 0,
		friendSuggestionInfo: void 0,
		activityBadgeInfo: void 0
	};
}
const RivalExtraInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.text !== "") writer.uint32(10).string(message.text);
		if (message.textType !== 0) writer.uint32(16).int32(message.textType);
		if (message.label !== "") writer.uint32(26).string(message.label);
		if (message.anchorLayer !== 0) writer.uint32(32).int32(message.anchorLayer);
		if (message.linkerInfo !== void 0) LinkerInfo.encode(message.linkerInfo, writer.uint32(42).fork()).join();
		if (message.linkmicUserSettings !== void 0) AnchorLinkmicUserSettings.encode(message.linkmicUserSettings, writer.uint32(50).fork()).join();
		if (message.battleUserSettings !== void 0) BattleUserSettings.encode(message.battleUserSettings, writer.uint32(58).fork()).join();
		if (message.inviteBlockReason !== 0) writer.uint32(64).int32(message.inviteBlockReason);
		if (message.showPlayType !== 0) writer.uint32(72).int32(message.showPlayType);
		if (message.topHostInfo !== void 0) TopHostInfo.encode(message.topHostInfo, writer.uint32(82).fork()).join();
		if (message.tag !== void 0) Tag$1.encode(message.tag, writer.uint32(90).fork()).join();
		if (message.reserveInfo !== void 0) ReserveInfo.encode(message.reserveInfo, writer.uint32(98).fork()).join();
		if (message.detailBlockReason !== 0) writer.uint32(104).int32(message.detailBlockReason);
		if (message.optPairInfo !== void 0) OptPairInfo.encode(message.optPairInfo, writer.uint32(114).fork()).join();
		if (message.tagV2 !== void 0) TagV2.encode(message.tagV2, writer.uint32(122).fork()).join();
		if (message.eoyLevel !== "0") writer.uint32(128).int64(message.eoyLevel);
		if (message.battleInfo !== void 0) BattleInfo.encode(message.battleInfo, writer.uint32(138).fork()).join();
		if (message.cohostLayoutMode !== 0) writer.uint32(144).int32(message.cohostLayoutMode);
		if (message.gameTag !== void 0) RivalsGameTag.encode(message.gameTag, writer.uint32(154).fork()).join();
		if (message.giftGalleryBadgeInfo !== void 0) GiftGalleryBadgeInfo.encode(message.giftGalleryBadgeInfo, writer.uint32(162).fork()).join();
		if (message.offliveInviteInfo !== void 0) OffliveInviteInfo.encode(message.offliveInviteInfo, writer.uint32(170).fork()).join();
		if (message.userSuggestionInfo !== void 0) UserSuggestionInfo.encode(message.userSuggestionInfo, writer.uint32(178).fork()).join();
		if (message.friendSuggestionInfo !== void 0) UserSuggestionInfo.encode(message.friendSuggestionInfo, writer.uint32(186).fork()).join();
		if (message.activityBadgeInfo !== void 0) ActivityBadgeInfo.encode(message.activityBadgeInfo, writer.uint32(194).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRivalExtraInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.text = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.textType = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.label = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.anchorLayer = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.linkerInfo = LinkerInfo.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.linkmicUserSettings = AnchorLinkmicUserSettings.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.battleUserSettings = BattleUserSettings.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 64) break;
					message.inviteBlockReason = reader.int32();
					continue;
				case 9:
					if (tag !== 72) break;
					message.showPlayType = reader.int32();
					continue;
				case 10:
					if (tag !== 82) break;
					message.topHostInfo = TopHostInfo.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 90) break;
					message.tag = Tag$1.decode(reader, reader.uint32());
					continue;
				case 12:
					if (tag !== 98) break;
					message.reserveInfo = ReserveInfo.decode(reader, reader.uint32());
					continue;
				case 13:
					if (tag !== 104) break;
					message.detailBlockReason = reader.int32();
					continue;
				case 14:
					if (tag !== 114) break;
					message.optPairInfo = OptPairInfo.decode(reader, reader.uint32());
					continue;
				case 15:
					if (tag !== 122) break;
					message.tagV2 = TagV2.decode(reader, reader.uint32());
					continue;
				case 16:
					if (tag !== 128) break;
					message.eoyLevel = reader.int64().toString();
					continue;
				case 17:
					if (tag !== 138) break;
					message.battleInfo = BattleInfo.decode(reader, reader.uint32());
					continue;
				case 18:
					if (tag !== 144) break;
					message.cohostLayoutMode = reader.int32();
					continue;
				case 19:
					if (tag !== 154) break;
					message.gameTag = RivalsGameTag.decode(reader, reader.uint32());
					continue;
				case 20:
					if (tag !== 162) break;
					message.giftGalleryBadgeInfo = GiftGalleryBadgeInfo.decode(reader, reader.uint32());
					continue;
				case 21:
					if (tag !== 170) break;
					message.offliveInviteInfo = OffliveInviteInfo.decode(reader, reader.uint32());
					continue;
				case 22:
					if (tag !== 178) break;
					message.userSuggestionInfo = UserSuggestionInfo.decode(reader, reader.uint32());
					continue;
				case 23:
					if (tag !== 186) break;
					message.friendSuggestionInfo = UserSuggestionInfo.decode(reader, reader.uint32());
					continue;
				case 24:
					if (tag !== 194) break;
					message.activityBadgeInfo = ActivityBadgeInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTag$1() {
	return {
		tagType: 0,
		tagValue: "",
		tagText: ""
	};
}
const Tag$1 = {
	encode(message, writer = new BinaryWriter()) {
		if (message.tagType !== 0) writer.uint32(8).int32(message.tagType);
		if (message.tagValue !== "") writer.uint32(18).string(message.tagValue);
		if (message.tagText !== "") writer.uint32(26).string(message.tagText);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTag$1();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.tagType = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.tagValue = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.tagText = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/message/linkcore_link_position.ts
function createBaseLinkPosition() {
	return {
		position: 0,
		opt: 0
	};
}
const LinkPosition = {
	encode(message, writer = new BinaryWriter()) {
		if (message.position !== 0) writer.uint32(8).int32(message.position);
		if (message.opt !== 0) writer.uint32(16).int32(message.opt);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkPosition();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.position = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.opt = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/message/linkcore_mic_position_data.ts
function createBaseMicPositionData() {
	return {
		type: 0,
		link: void 0
	};
}
const MicPositionData = {
	encode(message, writer = new BinaryWriter()) {
		if (message.type !== 0) writer.uint32(8).int32(message.type);
		if (message.link !== void 0) LinkPosition.encode(message.link, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMicPositionData();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.type = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.link = LinkPosition.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/message/linkcore_player.ts
function createBasePlayer() {
	return {
		roomId: "0",
		userId: "0"
	};
}
const Player = {
	encode(message, writer = new BinaryWriter()) {
		if (message.roomId !== "0") writer.uint32(8).int64(message.roomId);
		if (message.userId !== "0") writer.uint32(16).int64(message.userId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePlayer();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.roomId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.userId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/linkmic/common.ts
let AgreeStatus = /* @__PURE__ */ function(AgreeStatus) {
	AgreeStatus[AgreeStatus["AGREE_UNKNOWN"] = 0] = "AGREE_UNKNOWN";
	AgreeStatus[AgreeStatus["AGREE"] = 1] = "AGREE";
	AgreeStatus[AgreeStatus["REJECT"] = 2] = "REJECT";
	AgreeStatus[AgreeStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return AgreeStatus;
}({});
let ContentPositionType = /* @__PURE__ */ function(ContentPositionType) {
	ContentPositionType[ContentPositionType["UNKNOWN"] = 0] = "UNKNOWN";
	ContentPositionType[ContentPositionType["STREAM"] = 1] = "STREAM";
	ContentPositionType[ContentPositionType["LIVE_STUDIO_STREAM_PORTRAIT"] = 2] = "LIVE_STUDIO_STREAM_PORTRAIT";
	ContentPositionType[ContentPositionType["LIVE_STUDIO_STREAM_LANDSCAPE"] = 3] = "LIVE_STUDIO_STREAM_LANDSCAPE";
	ContentPositionType[ContentPositionType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return ContentPositionType;
}({});
let GroupStatus = /* @__PURE__ */ function(GroupStatus) {
	GroupStatus[GroupStatus["GROUP_STATUS_UNKNOWN"] = 0] = "GROUP_STATUS_UNKNOWN";
	GroupStatus[GroupStatus["WAITING"] = 1] = "WAITING";
	GroupStatus[GroupStatus["LINKED"] = 3] = "LINKED";
	GroupStatus[GroupStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return GroupStatus;
}({});
let JoinType = /* @__PURE__ */ function(JoinType) {
	JoinType[JoinType["JOIN_TYPE_UNKNOWN"] = 0] = "JOIN_TYPE_UNKNOWN";
	JoinType[JoinType["CHANNEL_APPLY"] = 1] = "CHANNEL_APPLY";
	JoinType[JoinType["CHANNEL_INVITE"] = 2] = "CHANNEL_INVITE";
	JoinType[JoinType["GROUP_APPLY"] = 100] = "GROUP_APPLY";
	JoinType[JoinType["GROUP_APPLY_FOLLOW"] = 101] = "GROUP_APPLY_FOLLOW";
	JoinType[JoinType["GROUP_INVITE"] = 102] = "GROUP_INVITE";
	JoinType[JoinType["GROUP_INVITE_FOLLOW"] = 103] = "GROUP_INVITE_FOLLOW";
	JoinType[JoinType["GROUP_OWNER_JOIN"] = 104] = "GROUP_OWNER_JOIN";
	JoinType[JoinType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return JoinType;
}({});
let KickoutReason = /* @__PURE__ */ function(KickoutReason) {
	KickoutReason[KickoutReason["KICK_OUT_REASON_UNKNOWN"] = 0] = "KICK_OUT_REASON_UNKNOWN";
	KickoutReason[KickoutReason["KICK_OUT_REASON_FIRST_FRAME_TIME_OUT"] = 1] = "KICK_OUT_REASON_FIRST_FRAME_TIME_OUT";
	KickoutReason[KickoutReason["KICK_OUT_REASON_BY_HOST"] = 2] = "KICK_OUT_REASON_BY_HOST";
	KickoutReason[KickoutReason["KICK_OUT_REASON_RTC_LOST_CONNECTION"] = 3] = "KICK_OUT_REASON_RTC_LOST_CONNECTION";
	KickoutReason[KickoutReason["KICK_OUT_REASON_BY_PUNISH"] = 4] = "KICK_OUT_REASON_BY_PUNISH";
	KickoutReason[KickoutReason["KICK_OUT_REASON_BY_ADMIN"] = 5] = "KICK_OUT_REASON_BY_ADMIN";
	KickoutReason[KickoutReason["KICK_OUT_REASON_HOST_REMOVE_ALL_GUESTS"] = 6] = "KICK_OUT_REASON_HOST_REMOVE_ALL_GUESTS";
	KickoutReason[KickoutReason["KICK_OUT_REASON_ENIGMA_EXPIRE"] = 7] = "KICK_OUT_REASON_ENIGMA_EXPIRE";
	KickoutReason[KickoutReason["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return KickoutReason;
}({});
let LayoutEnlargeStatus = /* @__PURE__ */ function(LayoutEnlargeStatus) {
	LayoutEnlargeStatus[LayoutEnlargeStatus["NONE"] = 0] = "NONE";
	LayoutEnlargeStatus[LayoutEnlargeStatus["SINGLE_ENLARGED"] = 1] = "SINGLE_ENLARGED";
	LayoutEnlargeStatus[LayoutEnlargeStatus["DOUBLE_ENLARGED"] = 2] = "DOUBLE_ENLARGED";
	LayoutEnlargeStatus[LayoutEnlargeStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LayoutEnlargeStatus;
}({});
let LayoutStyle = /* @__PURE__ */ function(LayoutStyle) {
	LayoutStyle[LayoutStyle["UNDEFINED"] = 0] = "UNDEFINED";
	LayoutStyle[LayoutStyle["OVERLAPPING_FLOW"] = 1] = "OVERLAPPING_FLOW";
	LayoutStyle[LayoutStyle["OVERLAPPING_FIXED"] = 2] = "OVERLAPPING_FIXED";
	LayoutStyle[LayoutStyle["GRID_FLOW"] = 3] = "GRID_FLOW";
	LayoutStyle[LayoutStyle["GRID_FIXED"] = 4] = "GRID_FIXED";
	LayoutStyle[LayoutStyle["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LayoutStyle;
}({});
let LinkMicUserAdminType = /* @__PURE__ */ function(LinkMicUserAdminType) {
	LinkMicUserAdminType[LinkMicUserAdminType["UNDEFINED_TYPE"] = 0] = "UNDEFINED_TYPE";
	LinkMicUserAdminType[LinkMicUserAdminType["MANAGER_TYPE"] = 1] = "MANAGER_TYPE";
	LinkMicUserAdminType[LinkMicUserAdminType["HOST_TYPE"] = 2] = "HOST_TYPE";
	LinkMicUserAdminType[LinkMicUserAdminType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkMicUserAdminType;
}({});
let LinkerMode = /* @__PURE__ */ function(LinkerMode) {
	LinkerMode[LinkerMode["LINKER_MODE_UNKNOWN"] = 0] = "LINKER_MODE_UNKNOWN";
	LinkerMode[LinkerMode["INNER"] = 1] = "INNER";
	LinkerMode[LinkerMode["CROSS"] = 2] = "CROSS";
	LinkerMode[LinkerMode["MIXED"] = 3] = "MIXED";
	LinkerMode[LinkerMode["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkerMode;
}({});
let LinkerUserType = /* @__PURE__ */ function(LinkerUserType) {
	LinkerUserType[LinkerUserType["LINKER_USER_TYPE_UNKNOWN"] = 0] = "LINKER_USER_TYPE_UNKNOWN";
	LinkerUserType[LinkerUserType["GUEST"] = 1] = "GUEST";
	LinkerUserType[LinkerUserType["HOST"] = 2] = "HOST";
	LinkerUserType[LinkerUserType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkerUserType;
}({});
let MediaState = /* @__PURE__ */ function(MediaState) {
	MediaState[MediaState["MEDIA_UNDEFINED"] = 0] = "MEDIA_UNDEFINED";
	MediaState[MediaState["MEDIA_NORMAL"] = 1] = "MEDIA_NORMAL";
	MediaState[MediaState["MEDIA_MUTED"] = 2] = "MEDIA_MUTED";
	MediaState[MediaState["MEDIA_UN_MUTE_OCCUPIED"] = 3] = "MEDIA_UN_MUTE_OCCUPIED";
	MediaState[MediaState["MEDIA_MUTED_OCCUPIED"] = 4] = "MEDIA_MUTED_OCCUPIED";
	MediaState[MediaState["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return MediaState;
}({});
let NetworkState = /* @__PURE__ */ function(NetworkState) {
	NetworkState[NetworkState["STATE_NETWORK_UNDEFINED"] = 0] = "STATE_NETWORK_UNDEFINED";
	NetworkState[NetworkState["STATE_NETWORK_EXCELLENT"] = 1] = "STATE_NETWORK_EXCELLENT";
	NetworkState[NetworkState["STATE_NETWORK_GOOD"] = 2] = "STATE_NETWORK_GOOD";
	NetworkState[NetworkState["STATE_NETWORK_POOR"] = 3] = "STATE_NETWORK_POOR";
	NetworkState[NetworkState["STATE_NETWORK_BAD"] = 4] = "STATE_NETWORK_BAD";
	NetworkState[NetworkState["STATE_NETWORK_VBAD"] = 5] = "STATE_NETWORK_VBAD";
	NetworkState[NetworkState["STATE_NETWORK_DOWN"] = 6] = "STATE_NETWORK_DOWN";
	NetworkState[NetworkState["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return NetworkState;
}({});
let OnlineUserState = /* @__PURE__ */ function(OnlineUserState) {
	OnlineUserState[OnlineUserState["STATE_UNDEFINED"] = 0] = "STATE_UNDEFINED";
	OnlineUserState[OnlineUserState["STATE_NORMAL"] = 1] = "STATE_NORMAL";
	OnlineUserState[OnlineUserState["STATE_PAUSED"] = 2] = "STATE_PAUSED";
	OnlineUserState[OnlineUserState["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return OnlineUserState;
}({});
let PosIdentityType = /* @__PURE__ */ function(PosIdentityType) {
	PosIdentityType[PosIdentityType["IDENTITY_EMPTY_SLOT"] = 0] = "IDENTITY_EMPTY_SLOT";
	PosIdentityType[PosIdentityType["IDENTITY_RTC_USER_ID"] = 1] = "IDENTITY_RTC_USER_ID";
	PosIdentityType[PosIdentityType["IDENTITY_RTC_STREAM_ID"] = 2] = "IDENTITY_RTC_STREAM_ID";
	PosIdentityType[PosIdentityType["IDENTITY_LIVE_USER_ID"] = 3] = "IDENTITY_LIVE_USER_ID";
	PosIdentityType[PosIdentityType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return PosIdentityType;
}({});
let ReplyStatus = /* @__PURE__ */ function(ReplyStatus) {
	ReplyStatus[ReplyStatus["REPLY_STATUS_UNKNOWN"] = 0] = "REPLY_STATUS_UNKNOWN";
	ReplyStatus[ReplyStatus["REPLY_STATUS_AGREE"] = 1] = "REPLY_STATUS_AGREE";
	ReplyStatus[ReplyStatus["REFUSE_PERSONALLY"] = 2] = "REFUSE_PERSONALLY";
	ReplyStatus[ReplyStatus["REFUSE_TYPE_NOT_SUPPORT"] = 3] = "REFUSE_TYPE_NOT_SUPPORT";
	ReplyStatus[ReplyStatus["REFUSE_PROCESSING_INVITATION"] = 4] = "REFUSE_PROCESSING_INVITATION";
	ReplyStatus[ReplyStatus["REFUSE_BY_TIME_OUT"] = 5] = "REFUSE_BY_TIME_OUT";
	ReplyStatus[ReplyStatus["REFUSE_EXCEPTION"] = 6] = "REFUSE_EXCEPTION";
	ReplyStatus[ReplyStatus["REFUSE_SYSTEM_NOT_SUPPORTED"] = 7] = "REFUSE_SYSTEM_NOT_SUPPORTED";
	ReplyStatus[ReplyStatus["REFUSE_SUBTYPE_DIFFERENCE"] = 8] = "REFUSE_SUBTYPE_DIFFERENCE";
	ReplyStatus[ReplyStatus["REFUSE_IN_MIC_ROOM"] = 9] = "REFUSE_IN_MIC_ROOM";
	ReplyStatus[ReplyStatus["REFUSE_NOT_LOAD_PLUGIN"] = 10] = "REFUSE_NOT_LOAD_PLUGIN";
	ReplyStatus[ReplyStatus["REFUSE_IN_MULTI_GUEST"] = 11] = "REFUSE_IN_MULTI_GUEST";
	ReplyStatus[ReplyStatus["REFUSE_PAUSE_LIVE"] = 12] = "REFUSE_PAUSE_LIVE";
	ReplyStatus[ReplyStatus["REFUSE_OPEN_CAMERA_DIALOG_SHOWING"] = 13] = "REFUSE_OPEN_CAMERA_DIALOG_SHOWING";
	ReplyStatus[ReplyStatus["REFUSE_DRAW_GUESSING"] = 14] = "REFUSE_DRAW_GUESSING";
	ReplyStatus[ReplyStatus["REFUSE_RANDOM_MATCHING"] = 15] = "REFUSE_RANDOM_MATCHING";
	ReplyStatus[ReplyStatus["REFUSE_IN_MATCH_PROCESSING"] = 16] = "REFUSE_IN_MATCH_PROCESSING";
	ReplyStatus[ReplyStatus["REFUSE_IN_MIC_ROOM_FOR_MULTI_COHOST"] = 17] = "REFUSE_IN_MIC_ROOM_FOR_MULTI_COHOST";
	ReplyStatus[ReplyStatus["REFUSE_COHOST_FINISHED"] = 18] = "REFUSE_COHOST_FINISHED";
	ReplyStatus[ReplyStatus["REFUSE_NOT_CONNECTED"] = 19] = "REFUSE_NOT_CONNECTED";
	ReplyStatus[ReplyStatus["REFUSE_LINKMIC_FULL"] = 20] = "REFUSE_LINKMIC_FULL";
	ReplyStatus[ReplyStatus["REFUSE_ARC_INCOMPATIBLE"] = 21] = "REFUSE_ARC_INCOMPATIBLE";
	ReplyStatus[ReplyStatus["REFUSE_PROCESSING_OTHER_INVITE"] = 22] = "REFUSE_PROCESSING_OTHER_INVITE";
	ReplyStatus[ReplyStatus["REFUSE_PROCESSING_OTHER_APPLY"] = 23] = "REFUSE_PROCESSING_OTHER_APPLY";
	ReplyStatus[ReplyStatus["REFUSE_IN_ANCHOR_COHOST"] = 24] = "REFUSE_IN_ANCHOR_COHOST";
	ReplyStatus[ReplyStatus["REFUSE_TOPIC_PAIRING"] = 25] = "REFUSE_TOPIC_PAIRING";
	ReplyStatus[ReplyStatus["REFUSE_POSITION_CONFLICT"] = 26] = "REFUSE_POSITION_CONFLICT";
	ReplyStatus[ReplyStatus["REFUSE_CONFLICT_QUICK_COHOST"] = 27] = "REFUSE_CONFLICT_QUICK_COHOST";
	ReplyStatus[ReplyStatus["REFUSE_IN_TAKE_STAGE_PROCESSING"] = 28] = "REFUSE_IN_TAKE_STAGE_PROCESSING";
	ReplyStatus[ReplyStatus["REFUSE_IN_CATCH_BEANS_PROCESSING"] = 29] = "REFUSE_IN_CATCH_BEANS_PROCESSING";
	ReplyStatus[ReplyStatus["REFUSE_IN_VIEWER_WISHES_PROCESSING"] = 30] = "REFUSE_IN_VIEWER_WISHES_PROCESSING";
	ReplyStatus[ReplyStatus["REFUSE_IN_COHOST_WITH_GUEST"] = 31] = "REFUSE_IN_COHOST_WITH_GUEST";
	ReplyStatus[ReplyStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return ReplyStatus;
}({});
let RtcConnectionState = /* @__PURE__ */ function(RtcConnectionState) {
	RtcConnectionState[RtcConnectionState["STATE_RTC_UNDEFINED"] = 0] = "STATE_RTC_UNDEFINED";
	RtcConnectionState[RtcConnectionState["STATE_RTC_NORMAL"] = 1] = "STATE_RTC_NORMAL";
	RtcConnectionState[RtcConnectionState["STATE_RTC_DISCONNECT"] = 2] = "STATE_RTC_DISCONNECT";
	RtcConnectionState[RtcConnectionState["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return RtcConnectionState;
}({});
let Scene = /* @__PURE__ */ function(Scene) {
	Scene[Scene["SCENE_UNKNOWN"] = 0] = "SCENE_UNKNOWN";
	Scene[Scene["CO_HOST"] = 2] = "CO_HOST";
	Scene[Scene["MULTI_LIVE"] = 4] = "MULTI_LIVE";
	Scene[Scene["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return Scene;
}({});
let SourceType = /* @__PURE__ */ function(SourceType) {
	SourceType[SourceType["SOURCE_TYPE_UNKNOWN"] = 0] = "SOURCE_TYPE_UNKNOWN";
	SourceType[SourceType["FRIEND_LIST"] = 1] = "FRIEND_LIST";
	SourceType[SourceType["RECOMMEND_LIST"] = 2] = "RECOMMEND_LIST";
	SourceType[SourceType["RECENT"] = 3] = "RECENT";
	SourceType[SourceType["OTHER_FOLLOW"] = 4] = "OTHER_FOLLOW";
	SourceType[SourceType["QUICK_PAIR"] = 5] = "QUICK_PAIR";
	SourceType[SourceType["ACTIVITY"] = 6] = "ACTIVITY";
	SourceType[SourceType["QUICK_RECOMMEND"] = 7] = "QUICK_RECOMMEND";
	SourceType[SourceType["OFFICIAL_CHANNEL"] = 8] = "OFFICIAL_CHANNEL";
	SourceType[SourceType["BEST_TEAMMATE"] = 9] = "BEST_TEAMMATE";
	SourceType[SourceType["RESERVATION"] = 10] = "RESERVATION";
	SourceType[SourceType["PAIRING"] = 11] = "PAIRING";
	SourceType[SourceType["PAIRING_ON_RESERVATION"] = 12] = "PAIRING_ON_RESERVATION";
	SourceType[SourceType["TOPIC_QUICK_PAIR"] = 13] = "TOPIC_QUICK_PAIR";
	SourceType[SourceType["TOPIC_QUICK_RECOMMEND"] = 14] = "TOPIC_QUICK_RECOMMEND";
	SourceType[SourceType["ONLINE_FRIEND_CAPSULE"] = 15] = "ONLINE_FRIEND_CAPSULE";
	SourceType[SourceType["WEEKLY_RANK"] = 20] = "WEEKLY_RANK";
	SourceType[SourceType["HOURLY_RANK"] = 21] = "HOURLY_RANK";
	SourceType[SourceType["WEEKLY_RISING"] = 23] = "WEEKLY_RISING";
	SourceType[SourceType["WEEKLY_ROOKIE"] = 24] = "WEEKLY_ROOKIE";
	SourceType[SourceType["CONNECTION_LIST"] = 25] = "CONNECTION_LIST";
	SourceType[SourceType["DAILY_RANK"] = 26] = "DAILY_RANK";
	SourceType[SourceType["DAILY_RANK_HALL_OF_FAME"] = 27] = "DAILY_RANK_HALL_OF_FAME";
	SourceType[SourceType["RESERVATION_BUBBLE"] = 28] = "RESERVATION_BUBBLE";
	SourceType[SourceType["PAIRING_BUBBLE"] = 29] = "PAIRING_BUBBLE";
	SourceType[SourceType["LEAGUE_PHASE_ONE"] = 30] = "LEAGUE_PHASE_ONE";
	SourceType[SourceType["LEAGUE_PHASE_TWO"] = 31] = "LEAGUE_PHASE_TWO";
	SourceType[SourceType["LEAGUE_PHASE_THREE"] = 32] = "LEAGUE_PHASE_THREE";
	SourceType[SourceType["DAILY_ROOKIE"] = 33] = "DAILY_ROOKIE";
	SourceType[SourceType["MAY_KNOW_LIST"] = 34] = "MAY_KNOW_LIST";
	SourceType[SourceType["BANNER"] = 35] = "BANNER";
	SourceType[SourceType["FANS_TEAM_RANK"] = 36] = "FANS_TEAM_RANK";
	SourceType[SourceType["SEARCH"] = 37] = "SEARCH";
	SourceType[SourceType["EOY_RANK_LIST"] = 38] = "EOY_RANK_LIST";
	SourceType[SourceType["LEAGUE_CAMPAIGN_RANK"] = 39] = "LEAGUE_CAMPAIGN_RANK";
	SourceType[SourceType["CREATOR_CLASS_RANK"] = 40] = "CREATOR_CLASS_RANK";
	SourceType[SourceType["HISTORY"] = 41] = "HISTORY";
	SourceType[SourceType["QUICK_RECOMMEND_DURING_COHOST"] = 43] = "QUICK_RECOMMEND_DURING_COHOST";
	SourceType[SourceType["GTM_MAINPAGE_1_VN_KING"] = 44] = "GTM_MAINPAGE_1_VN_KING";
	SourceType[SourceType["GTM_MAINPAGE_1_VN_KNIGHT"] = 45] = "GTM_MAINPAGE_1_VN_KNIGHT";
	SourceType[SourceType["GTM_RANK_1_VN_KING"] = 46] = "GTM_RANK_1_VN_KING";
	SourceType[SourceType["GTM_RANK_1_VN_KNIGHT"] = 47] = "GTM_RANK_1_VN_KNIGHT";
	SourceType[SourceType["LEAGUE_RECOMMEND_LIST_SEARCH"] = 48] = "LEAGUE_RECOMMEND_LIST_SEARCH";
	SourceType[SourceType["LEAGUE_RECOMMEND_LIST_ACTIVITY_PAGE"] = 49] = "LEAGUE_RECOMMEND_LIST_ACTIVITY_PAGE";
	SourceType[SourceType["LEAGUE_MATCH_QUICK_PAIR"] = 50] = "LEAGUE_MATCH_QUICK_PAIR";
	SourceType[SourceType["LEAGUE_MATCH_QUICK_RECOMMEND"] = 51] = "LEAGUE_MATCH_QUICK_RECOMMEND";
	SourceType[SourceType["LEAGUE_MATCH_QUICK_RECOMMEND_DURING_COHOST"] = 52] = "LEAGUE_MATCH_QUICK_RECOMMEND_DURING_COHOST";
	SourceType[SourceType["INVITE_OFF_LIVE_FRIEND"] = 53] = "INVITE_OFF_LIVE_FRIEND";
	SourceType[SourceType["AVAILABLE_FRIEND_CAPULE"] = 54] = "AVAILABLE_FRIEND_CAPULE";
	SourceType[SourceType["RECOMMENDED_FRIEND_CAPULE"] = 55] = "RECOMMENDED_FRIEND_CAPULE";
	SourceType[SourceType["USER_SUGGESTED_LIST"] = 56] = "USER_SUGGESTED_LIST";
	SourceType[SourceType["TEAM_PAIR_QUICK_PAIR"] = 57] = "TEAM_PAIR_QUICK_PAIR";
	SourceType[SourceType["TEAM_PAIR_QUICK_RECOMMEND_COHOST_ANCHOR"] = 58] = "TEAM_PAIR_QUICK_RECOMMEND_COHOST_ANCHOR";
	SourceType[SourceType["TEAM_PAIR_QUICK_RECOMMEND_SOLO_ANCHOR"] = 59] = "TEAM_PAIR_QUICK_RECOMMEND_SOLO_ANCHOR";
	SourceType[SourceType["BIG_EVENT_PLATFORM"] = 60] = "BIG_EVENT_PLATFORM";
	SourceType[SourceType["CCPK_ACTIVITY_PAGE"] = 61] = "CCPK_ACTIVITY_PAGE";
	SourceType[SourceType["CCPK_QUICK_PAIR"] = 62] = "CCPK_QUICK_PAIR";
	SourceType[SourceType["CCPK_QUICK_RE_COMMAND"] = 63] = "CCPK_QUICK_RE_COMMAND";
	SourceType[SourceType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return SourceType;
}({});
let StateType = /* @__PURE__ */ function(StateType) {
	StateType[StateType["STATE_INVALID"] = 0] = "STATE_INVALID";
	StateType[StateType["STATE_LAYOUT"] = 1] = "STATE_LAYOUT";
	StateType[StateType["STATE_ONLINE_USER_STATE"] = 2] = "STATE_ONLINE_USER_STATE";
	StateType[StateType["STATE_AUDIO_MUTE"] = 3] = "STATE_AUDIO_MUTE";
	StateType[StateType["STATE_VIDEO_MUTE"] = 4] = "STATE_VIDEO_MUTE";
	StateType[StateType["STATE_RTC_CONNECTION"] = 5] = "STATE_RTC_CONNECTION";
	StateType[StateType["STATE_NETWORK"] = 6] = "STATE_NETWORK";
	StateType[StateType["STATE_BACKGROUND_IMAGE"] = 7] = "STATE_BACKGROUND_IMAGE";
	StateType[StateType["STATE_SCREEN_ORIENTATION"] = 8] = "STATE_SCREEN_ORIENTATION";
	StateType[StateType["STATE_AVATAR_ID"] = 9] = "STATE_AVATAR_ID";
	StateType[StateType["STATE_AUDIO_MUTE_CHANNELS"] = 10] = "STATE_AUDIO_MUTE_CHANNELS";
	StateType[StateType["STATE_REQ_BATCH_CHANGE"] = 100] = "STATE_REQ_BATCH_CHANGE";
	StateType[StateType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return StateType;
}({});
function createBaseAnchorLayoutSetting() {
	return {
		latestLayoutStyle: 0,
		layoutStyleSettings: [],
		panelLayoutTypeSetting: []
	};
}
const AnchorLayoutSetting = {
	encode(message, writer = new BinaryWriter()) {
		if (message.latestLayoutStyle !== 0) writer.uint32(8).int32(message.latestLayoutStyle);
		for (const v of message.layoutStyleSettings) AnchorLayoutStyleSetting.encode(v, writer.uint32(18).fork()).join();
		for (const v of message.panelLayoutTypeSetting) AnchorPanelLayoutTypeSetting.encode(v, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAnchorLayoutSetting();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.latestLayoutStyle = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.layoutStyleSettings.push(AnchorLayoutStyleSetting.decode(reader, reader.uint32()));
					continue;
				case 3:
					if (tag !== 26) break;
					message.panelLayoutTypeSetting.push(AnchorPanelLayoutTypeSetting.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseAnchorLayoutStyleSetting() {
	return {
		layoutStyle: 0,
		maxPosition: 0
	};
}
const AnchorLayoutStyleSetting = {
	encode(message, writer = new BinaryWriter()) {
		if (message.layoutStyle !== 0) writer.uint32(8).int32(message.layoutStyle);
		if (message.maxPosition !== 0) writer.uint32(16).int32(message.maxPosition);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAnchorLayoutStyleSetting();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.layoutStyle = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.maxPosition = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseAnchorPanelLayoutTypeSetting() {
	return {
		panelLayoutType: 0,
		maxPosition: 0
	};
}
const AnchorPanelLayoutTypeSetting = {
	encode(message, writer = new BinaryWriter()) {
		if (message.panelLayoutType !== 0) writer.uint32(8).int32(message.panelLayoutType);
		if (message.maxPosition !== 0) writer.uint32(16).int32(message.maxPosition);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAnchorPanelLayoutTypeSetting();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.panelLayoutType = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.maxPosition = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseAvatarState() {
	return { avatarId: "0" };
}
const AvatarState = {
	encode(message, writer = new BinaryWriter()) {
		if (message.avatarId !== "0") writer.uint32(8).int64(message.avatarId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAvatarState();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.avatarId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBackGroundImageState() {
	return { stickerId: "" };
}
const BackGroundImageState = {
	encode(message, writer = new BinaryWriter()) {
		if (message.stickerId !== "") writer.uint32(10).string(message.stickerId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBackGroundImageState();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.stickerId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCohostMode() {
	return {
		isTakeTheStageV2Supported: false,
		highestTakeTheStageVersionSupported: "0"
	};
}
const CohostMode = {
	encode(message, writer = new BinaryWriter()) {
		if (message.isTakeTheStageV2Supported !== false) writer.uint32(8).bool(message.isTakeTheStageV2Supported);
		if (message.highestTakeTheStageVersionSupported !== "0") writer.uint32(16).int64(message.highestTakeTheStageVersionSupported);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCohostMode();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.isTakeTheStageV2Supported = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.highestTakeTheStageVersionSupported = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCohostStreamConfig() {
	return { screenShareStreamId: "" };
}
const CohostStreamConfig = {
	encode(message, writer = new BinaryWriter()) {
		if (message.screenShareStreamId !== "") writer.uint32(10).string(message.screenShareStreamId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCohostStreamConfig();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.screenShareStreamId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCohostTypeLayoutExtra() {
	return {
		isZoomLayout: 0,
		offsetY: 0,
		scene: 0,
		localLayoutOnly: false,
		isEnlargeMode: 0,
		disableMatchComponent: false,
		rematchSpotId: 0
	};
}
const CohostTypeLayoutExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.isZoomLayout !== 0) writer.uint32(8).int32(message.isZoomLayout);
		if (message.offsetY !== 0) writer.uint32(16).int32(message.offsetY);
		if (message.scene !== 0) writer.uint32(24).int32(message.scene);
		if (message.localLayoutOnly !== false) writer.uint32(32).bool(message.localLayoutOnly);
		if (message.isEnlargeMode !== 0) writer.uint32(40).int32(message.isEnlargeMode);
		if (message.disableMatchComponent !== false) writer.uint32(48).bool(message.disableMatchComponent);
		if (message.rematchSpotId !== 0) writer.uint32(56).int32(message.rematchSpotId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCohostTypeLayoutExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.isZoomLayout = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.offsetY = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.scene = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.localLayoutOnly = reader.bool();
					continue;
				case 5:
					if (tag !== 40) break;
					message.isEnlargeMode = reader.int32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.disableMatchComponent = reader.bool();
					continue;
				case 7:
					if (tag !== 56) break;
					message.rematchSpotId = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCohostTypeLayoutNonSeiExtra() {
	return {};
}
const CohostTypeLayoutNonSeiExtra = {
	encode(_, writer = new BinaryWriter()) {
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCohostTypeLayoutNonSeiExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCohostTypeSpotExtra() {
	return {
		isEnlarged: false,
		contentType: 0,
		preEnlargeSpotId: 0
	};
}
const CohostTypeSpotExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.isEnlarged !== false) writer.uint32(8).bool(message.isEnlarged);
		if (message.contentType !== 0) writer.uint32(16).int32(message.contentType);
		if (message.preEnlargeSpotId !== 0) writer.uint32(24).int32(message.preEnlargeSpotId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCohostTypeSpotExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.isEnlarged = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.contentType = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.preEnlargeSpotId = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCohostTypeSpotNonSeiExtra() {
	return {};
}
const CohostTypeSpotNonSeiExtra = {
	encode(_, writer = new BinaryWriter()) {
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCohostTypeSpotNonSeiExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCohostUserInfo() {
	return {
		permissionType: "0",
		sourceType: 0,
		isLowVersion: false,
		bestTeammateUid: "0",
		hasTopicPerm: false,
		streamConfig: void 0,
		inDifferentInviteTypeControlGroup: false,
		cohostMode: void 0,
		nickname: "",
		displayId: "",
		avatarThumb: void 0,
		followStatus: "0",
		userIdStr: "",
		isEnigma: false
	};
}
const CohostUserInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.permissionType !== "0") writer.uint32(8).int64(message.permissionType);
		if (message.sourceType !== 0) writer.uint32(16).int32(message.sourceType);
		if (message.isLowVersion !== false) writer.uint32(24).bool(message.isLowVersion);
		if (message.bestTeammateUid !== "0") writer.uint32(32).int64(message.bestTeammateUid);
		if (message.hasTopicPerm !== false) writer.uint32(40).bool(message.hasTopicPerm);
		if (message.streamConfig !== void 0) CohostStreamConfig.encode(message.streamConfig, writer.uint32(50).fork()).join();
		if (message.inDifferentInviteTypeControlGroup !== false) writer.uint32(56).bool(message.inDifferentInviteTypeControlGroup);
		if (message.cohostMode !== void 0) CohostMode.encode(message.cohostMode, writer.uint32(66).fork()).join();
		if (message.nickname !== "") writer.uint32(90).string(message.nickname);
		if (message.displayId !== "") writer.uint32(98).string(message.displayId);
		if (message.avatarThumb !== void 0) ImageModel.encode(message.avatarThumb, writer.uint32(106).fork()).join();
		if (message.followStatus !== "0") writer.uint32(112).int64(message.followStatus);
		if (message.userIdStr !== "") writer.uint32(122).string(message.userIdStr);
		if (message.isEnigma !== false) writer.uint32(128).bool(message.isEnigma);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCohostUserInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.permissionType = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.sourceType = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.isLowVersion = reader.bool();
					continue;
				case 4:
					if (tag !== 32) break;
					message.bestTeammateUid = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.hasTopicPerm = reader.bool();
					continue;
				case 6:
					if (tag !== 50) break;
					message.streamConfig = CohostStreamConfig.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 56) break;
					message.inDifferentInviteTypeControlGroup = reader.bool();
					continue;
				case 8:
					if (tag !== 66) break;
					message.cohostMode = CohostMode.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 90) break;
					message.nickname = reader.string();
					continue;
				case 12:
					if (tag !== 98) break;
					message.displayId = reader.string();
					continue;
				case 13:
					if (tag !== 106) break;
					message.avatarThumb = ImageModel.decode(reader, reader.uint32());
					continue;
				case 14:
					if (tag !== 112) break;
					message.followStatus = reader.int64().toString();
					continue;
				case 15:
					if (tag !== 122) break;
					message.userIdStr = reader.string();
					continue;
				case 16:
					if (tag !== 128) break;
					message.isEnigma = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseContentPosition() {
	return {
		contentID: "",
		contentType: 0,
		pos: void 0,
		contentLinkmicID: "",
		startTimeNano: "0"
	};
}
const ContentPosition = {
	encode(message, writer = new BinaryWriter()) {
		if (message.contentID !== "") writer.uint32(10).string(message.contentID);
		if (message.contentType !== 0) writer.uint32(16).int32(message.contentType);
		if (message.pos !== void 0) MicPositionData.encode(message.pos, writer.uint32(26).fork()).join();
		if (message.contentLinkmicID !== "") writer.uint32(34).string(message.contentLinkmicID);
		if (message.startTimeNano !== "0") writer.uint32(40).int64(message.startTimeNano);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseContentPosition();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.contentID = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.contentType = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.pos = MicPositionData.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.contentLinkmicID = reader.string();
					continue;
				case 5:
					if (tag !== 40) break;
					message.startTimeNano = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGroupPlayer() {
	return {
		channelId: "0",
		user: void 0
	};
}
const GroupPlayer = {
	encode(message, writer = new BinaryWriter()) {
		if (message.channelId !== "0") writer.uint32(8).int64(message.channelId);
		if (message.user !== void 0) Player.encode(message.user, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGroupPlayer();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.channelId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.user = Player.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGuestUserInfo() {
	return {
		userIdStr: "",
		nickname: "",
		displayId: "",
		avatarThumb: void 0,
		roomId: "0",
		linkmicIdStr: "",
		isEnigma: false
	};
}
const GuestUserInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userIdStr !== "") writer.uint32(10).string(message.userIdStr);
		if (message.nickname !== "") writer.uint32(18).string(message.nickname);
		if (message.displayId !== "") writer.uint32(26).string(message.displayId);
		if (message.avatarThumb !== void 0) ImageModel.encode(message.avatarThumb, writer.uint32(34).fork()).join();
		if (message.roomId !== "0") writer.uint32(40).int64(message.roomId);
		if (message.linkmicIdStr !== "") writer.uint32(50).string(message.linkmicIdStr);
		if (message.isEnigma !== false) writer.uint32(56).bool(message.isEnigma);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGuestUserInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.userIdStr = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.nickname = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.displayId = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.avatarThumb = ImageModel.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 40) break;
					message.roomId = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 50) break;
					message.linkmicIdStr = reader.string();
					continue;
				case 7:
					if (tag !== 56) break;
					message.isEnigma = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLayoutData() {
	return {
		layout: void 0,
		spotList: [],
		version: "0",
		groupChannelId: "0",
		uiPos: []
	};
}
const LayoutData = {
	encode(message, writer = new BinaryWriter()) {
		if (message.layout !== void 0) LayoutState.encode(message.layout, writer.uint32(10).fork()).join();
		for (const v of message.spotList) SpotInfo.encode(v, writer.uint32(18).fork()).join();
		if (message.version !== "0") writer.uint32(24).int64(message.version);
		if (message.groupChannelId !== "0") writer.uint32(32).int64(message.groupChannelId);
		for (const v of message.uiPos) PosIdentity.encode(v, writer.uint32(810).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLayoutData();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.layout = LayoutState.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.spotList.push(SpotInfo.decode(reader, reader.uint32()));
					continue;
				case 3:
					if (tag !== 24) break;
					message.version = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.groupChannelId = reader.int64().toString();
					continue;
				case 101:
					if (tag !== 810) break;
					message.uiPos.push(PosIdentity.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLayoutState() {
	return {
		layoutId: "",
		layoutKey: "",
		multiGuestLayoutExtra: void 0,
		multiGuestLayoutNonSeiExtra: void 0,
		cohostLayoutExtra: void 0,
		cohostLayoutNonSeiExtra: void 0
	};
}
const LayoutState = {
	encode(message, writer = new BinaryWriter()) {
		if (message.layoutId !== "") writer.uint32(10).string(message.layoutId);
		if (message.layoutKey !== "") writer.uint32(18).string(message.layoutKey);
		if (message.multiGuestLayoutExtra !== void 0) MultiGuestLayoutExtra.encode(message.multiGuestLayoutExtra, writer.uint32(26).fork()).join();
		if (message.multiGuestLayoutNonSeiExtra !== void 0) MultiGuestLayoutNonSeiExtra.encode(message.multiGuestLayoutNonSeiExtra, writer.uint32(34).fork()).join();
		if (message.cohostLayoutExtra !== void 0) CohostTypeLayoutExtra.encode(message.cohostLayoutExtra, writer.uint32(42).fork()).join();
		if (message.cohostLayoutNonSeiExtra !== void 0) CohostTypeLayoutNonSeiExtra.encode(message.cohostLayoutNonSeiExtra, writer.uint32(50).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLayoutState();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.layoutId = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.layoutKey = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.multiGuestLayoutExtra = MultiGuestLayoutExtra.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.multiGuestLayoutNonSeiExtra = MultiGuestLayoutNonSeiExtra.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.cohostLayoutExtra = CohostTypeLayoutExtra.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.cohostLayoutNonSeiExtra = CohostTypeLayoutNonSeiExtra.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkEnvelopeMessagePayload() {
	return {
		messageType: 0,
		resolutionDemandPayload: void 0
	};
}
const LinkEnvelopeMessagePayload = {
	encode(message, writer = new BinaryWriter()) {
		if (message.messageType !== 0) writer.uint32(8).int32(message.messageType);
		if (message.resolutionDemandPayload !== void 0) ResolutionDemandPayload.encode(message.resolutionDemandPayload, writer.uint32(802).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkEnvelopeMessagePayload();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.messageType = reader.int32();
					continue;
				case 100:
					if (tag !== 802) break;
					message.resolutionDemandPayload = ResolutionDemandPayload.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkUserIdentity() {
	return {
		player: void 0,
		linkMicId: "",
		channelId: "0"
	};
}
const LinkUserIdentity = {
	encode(message, writer = new BinaryWriter()) {
		if (message.player !== void 0) Player.encode(message.player, writer.uint32(10).fork()).join();
		if (message.linkMicId !== "") writer.uint32(18).string(message.linkMicId);
		if (message.channelId !== "0") writer.uint32(24).int64(message.channelId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkUserIdentity();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.player = Player.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.linkMicId = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.channelId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkUserState() {
	return {
		user: void 0,
		linkmicId: "",
		pos: void 0,
		linkedTimeNano: "0",
		onlineUserState: 0,
		audioMuted: 0,
		videoMuted: 0,
		rtcConnection: 0,
		networkState: 0,
		avatar: void 0,
		linkerSessionId: ""
	};
}
const LinkUserState = {
	encode(message, writer = new BinaryWriter()) {
		if (message.user !== void 0) Player.encode(message.user, writer.uint32(10).fork()).join();
		if (message.linkmicId !== "") writer.uint32(18).string(message.linkmicId);
		if (message.pos !== void 0) MicPositionData.encode(message.pos, writer.uint32(26).fork()).join();
		if (message.linkedTimeNano !== "0") writer.uint32(32).int64(message.linkedTimeNano);
		if (message.onlineUserState !== 0) writer.uint32(40).int32(message.onlineUserState);
		if (message.audioMuted !== 0) writer.uint32(48).int32(message.audioMuted);
		if (message.videoMuted !== 0) writer.uint32(56).int32(message.videoMuted);
		if (message.rtcConnection !== 0) writer.uint32(64).int32(message.rtcConnection);
		if (message.networkState !== 0) writer.uint32(72).int32(message.networkState);
		if (message.avatar !== void 0) AvatarState.encode(message.avatar, writer.uint32(82).fork()).join();
		if (message.linkerSessionId !== "") writer.uint32(90).string(message.linkerSessionId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkUserState();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.user = Player.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.linkmicId = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.pos = MicPositionData.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.linkedTimeNano = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.onlineUserState = reader.int32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.audioMuted = reader.int32();
					continue;
				case 7:
					if (tag !== 56) break;
					message.videoMuted = reader.int32();
					continue;
				case 8:
					if (tag !== 64) break;
					message.rtcConnection = reader.int32();
					continue;
				case 9:
					if (tag !== 72) break;
					message.networkState = reader.int32();
					continue;
				case 10:
					if (tag !== 82) break;
					message.avatar = AvatarState.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 90) break;
					message.linkerSessionId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerMediaChangeOperator() {
	return {
		userId: "0",
		operatorType: 0,
		nickName: "",
		displayId: ""
	};
}
const LinkerMediaChangeOperator = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.operatorType !== 0) writer.uint32(16).int32(message.operatorType);
		if (message.nickName !== "") writer.uint32(26).string(message.nickName);
		if (message.displayId !== "") writer.uint32(34).string(message.displayId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerMediaChangeOperator();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.operatorType = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.nickName = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.displayId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMigrationDetails() {
	return {
		isMigrate: false,
		sourceGroupChannelId: "0",
		targetGroupChannelId: "0"
	};
}
const MigrationDetails = {
	encode(message, writer = new BinaryWriter()) {
		if (message.isMigrate !== false) writer.uint32(8).bool(message.isMigrate);
		if (message.sourceGroupChannelId !== "0") writer.uint32(16).int64(message.sourceGroupChannelId);
		if (message.targetGroupChannelId !== "0") writer.uint32(24).int64(message.targetGroupChannelId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMigrationDetails();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.isMigrate = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.sourceGroupChannelId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.targetGroupChannelId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMultiGuestLayoutExtra() {
	return {
		originLayoutStyle: 0,
		currentLayoutStyle: 0,
		originMaxPosition: 0,
		currentMaxPosition: 0,
		enlargeStatus: 0,
		currentPanelLayoutType: 0,
		socialGame: void 0
	};
}
const MultiGuestLayoutExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.originLayoutStyle !== 0) writer.uint32(8).int32(message.originLayoutStyle);
		if (message.currentLayoutStyle !== 0) writer.uint32(16).int32(message.currentLayoutStyle);
		if (message.originMaxPosition !== 0) writer.uint32(24).int32(message.originMaxPosition);
		if (message.currentMaxPosition !== 0) writer.uint32(32).int32(message.currentMaxPosition);
		if (message.enlargeStatus !== 0) writer.uint32(40).int32(message.enlargeStatus);
		if (message.currentPanelLayoutType !== 0) writer.uint32(48).int32(message.currentPanelLayoutType);
		if (message.socialGame !== void 0) SocialGameLayoutExtra.encode(message.socialGame, writer.uint32(58).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMultiGuestLayoutExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.originLayoutStyle = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.currentLayoutStyle = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.originMaxPosition = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.currentMaxPosition = reader.int32();
					continue;
				case 5:
					if (tag !== 40) break;
					message.enlargeStatus = reader.int32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.currentPanelLayoutType = reader.int32();
					continue;
				case 7:
					if (tag !== 58) break;
					message.socialGame = SocialGameLayoutExtra.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMultiGuestLayoutNonSeiExtra() {
	return { socialGame: void 0 };
}
const MultiGuestLayoutNonSeiExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.socialGame !== void 0) SocialGameLayoutNonSeiExtra.encode(message.socialGame, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMultiGuestLayoutNonSeiExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.socialGame = SocialGameLayoutNonSeiExtra.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMultiGuestSpotExtra() {
	return {
		isEnlarged: false,
		isSingleZoomEnabled: false,
		isDoubleZoomEnabled: false,
		isSwitchSpotEnabled: false,
		spotRank: 0,
		contentPositionType: 0,
		socialGameUser: void 0
	};
}
const MultiGuestSpotExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.isEnlarged !== false) writer.uint32(8).bool(message.isEnlarged);
		if (message.isSingleZoomEnabled !== false) writer.uint32(16).bool(message.isSingleZoomEnabled);
		if (message.isDoubleZoomEnabled !== false) writer.uint32(24).bool(message.isDoubleZoomEnabled);
		if (message.isSwitchSpotEnabled !== false) writer.uint32(32).bool(message.isSwitchSpotEnabled);
		if (message.spotRank !== 0) writer.uint32(40).int32(message.spotRank);
		if (message.contentPositionType !== 0) writer.uint32(48).int32(message.contentPositionType);
		if (message.socialGameUser !== void 0) SocialGameUserSpotExtra.encode(message.socialGameUser, writer.uint32(58).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMultiGuestSpotExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.isEnlarged = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.isSingleZoomEnabled = reader.bool();
					continue;
				case 3:
					if (tag !== 24) break;
					message.isDoubleZoomEnabled = reader.bool();
					continue;
				case 4:
					if (tag !== 32) break;
					message.isSwitchSpotEnabled = reader.bool();
					continue;
				case 5:
					if (tag !== 40) break;
					message.spotRank = reader.int32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.contentPositionType = reader.int32();
					continue;
				case 7:
					if (tag !== 58) break;
					message.socialGameUser = SocialGameUserSpotExtra.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMultiGuestSpotNonSeiExtra() {
	return { socialGameUser: void 0 };
}
const MultiGuestSpotNonSeiExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.socialGameUser !== void 0) SocialGameUserSpotNonSeiExtra.encode(message.socialGameUser, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMultiGuestSpotNonSeiExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.socialGameUser = SocialGameUserSpotNonSeiExtra.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePosIdentity() {
	return {
		type: 0,
		value: ""
	};
}
const PosIdentity = {
	encode(message, writer = new BinaryWriter()) {
		if (message.type !== 0) writer.uint32(8).int32(message.type);
		if (message.value !== "") writer.uint32(18).string(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePosIdentity();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.type = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePosIdentityExtra() {
	return { contentLinkmicID: "" };
}
const PosIdentityExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.contentLinkmicID !== "") writer.uint32(10).string(message.contentLinkmicID);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePosIdentityExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.contentLinkmicID = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseResolutionDemandPayload() {
	return {
		action: 0,
		widthRatio: 0,
		heightRatio: 0,
		configId: "",
		layoutKey: "",
		spotId: "0",
		canvasWidth: "0",
		canvasHeight: "0",
		timestampMs: "0"
	};
}
const ResolutionDemandPayload = {
	encode(message, writer = new BinaryWriter()) {
		if (message.action !== 0) writer.uint32(8).int32(message.action);
		if (message.widthRatio !== 0) writer.uint32(17).double(message.widthRatio);
		if (message.heightRatio !== 0) writer.uint32(25).double(message.heightRatio);
		if (message.configId !== "") writer.uint32(34).string(message.configId);
		if (message.layoutKey !== "") writer.uint32(42).string(message.layoutKey);
		if (message.spotId !== "0") writer.uint32(48).int64(message.spotId);
		if (message.canvasWidth !== "0") writer.uint32(56).int64(message.canvasWidth);
		if (message.canvasHeight !== "0") writer.uint32(64).int64(message.canvasHeight);
		if (message.timestampMs !== "0") writer.uint32(72).int64(message.timestampMs);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseResolutionDemandPayload();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.action = reader.int32();
					continue;
				case 2:
					if (tag !== 17) break;
					message.widthRatio = reader.double();
					continue;
				case 3:
					if (tag !== 25) break;
					message.heightRatio = reader.double();
					continue;
				case 4:
					if (tag !== 34) break;
					message.configId = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.layoutKey = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.spotId = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.canvasWidth = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 64) break;
					message.canvasHeight = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 72) break;
					message.timestampMs = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSocialGameLayoutExtra() {
	return {
		gameId: 0,
		gameJustDanceStatus: 0,
		gameSessionId: "0",
		gameStartPlayMs: "0",
		gameOptionId: "0",
		lokiPanelName: "",
		requiredLokiResourceId: "",
		optionalLokiResourceId: ""
	};
}
const SocialGameLayoutExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.gameId !== 0) writer.uint32(8).int32(message.gameId);
		if (message.gameJustDanceStatus !== 0) writer.uint32(16).int32(message.gameJustDanceStatus);
		if (message.gameSessionId !== "0") writer.uint32(24).int64(message.gameSessionId);
		if (message.gameStartPlayMs !== "0") writer.uint32(32).int64(message.gameStartPlayMs);
		if (message.gameOptionId !== "0") writer.uint32(40).int64(message.gameOptionId);
		if (message.lokiPanelName !== "") writer.uint32(50).string(message.lokiPanelName);
		if (message.requiredLokiResourceId !== "") writer.uint32(58).string(message.requiredLokiResourceId);
		if (message.optionalLokiResourceId !== "") writer.uint32(66).string(message.optionalLokiResourceId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSocialGameLayoutExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.gameId = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.gameJustDanceStatus = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.gameSessionId = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.gameStartPlayMs = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.gameOptionId = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 50) break;
					message.lokiPanelName = reader.string();
					continue;
				case 7:
					if (tag !== 58) break;
					message.requiredLokiResourceId = reader.string();
					continue;
				case 8:
					if (tag !== 66) break;
					message.optionalLokiResourceId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSocialGameLayoutNonSeiExtra() {
	return { justDanceSongTitle: "" };
}
const SocialGameLayoutNonSeiExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.justDanceSongTitle !== "") writer.uint32(10).string(message.justDanceSongTitle);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSocialGameLayoutNonSeiExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.justDanceSongTitle = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSocialGameUserSpotExtra() {
	return {
		gameJustDanceUserStatus: 0,
		isEnlarged: false,
		isMainContent: false
	};
}
const SocialGameUserSpotExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.gameJustDanceUserStatus !== 0) writer.uint32(8).int32(message.gameJustDanceUserStatus);
		if (message.isEnlarged !== false) writer.uint32(16).bool(message.isEnlarged);
		if (message.isMainContent !== false) writer.uint32(24).bool(message.isMainContent);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSocialGameUserSpotExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.gameJustDanceUserStatus = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.isEnlarged = reader.bool();
					continue;
				case 3:
					if (tag !== 24) break;
					message.isMainContent = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSocialGameUserSpotNonSeiExtra() {
	return { gameScore: 0 };
}
const SocialGameUserSpotNonSeiExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.gameScore !== 0) writer.uint32(8).int32(message.gameScore);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSocialGameUserSpotNonSeiExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.gameScore = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSpotInfo() {
	return {
		spotId: 0,
		posIdentity: void 0,
		multiGuestSpotExtra: void 0,
		multiGuestSpotNonSeiExtra: void 0,
		cohostSpotExtra: void 0,
		cohostSpotNonSeiExtra: void 0,
		posIdentityExtra: void 0
	};
}
const SpotInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.spotId !== 0) writer.uint32(8).int32(message.spotId);
		if (message.posIdentity !== void 0) PosIdentity.encode(message.posIdentity, writer.uint32(18).fork()).join();
		if (message.multiGuestSpotExtra !== void 0) MultiGuestSpotExtra.encode(message.multiGuestSpotExtra, writer.uint32(26).fork()).join();
		if (message.multiGuestSpotNonSeiExtra !== void 0) MultiGuestSpotNonSeiExtra.encode(message.multiGuestSpotNonSeiExtra, writer.uint32(34).fork()).join();
		if (message.cohostSpotExtra !== void 0) CohostTypeSpotExtra.encode(message.cohostSpotExtra, writer.uint32(42).fork()).join();
		if (message.cohostSpotNonSeiExtra !== void 0) CohostTypeSpotNonSeiExtra.encode(message.cohostSpotNonSeiExtra, writer.uint32(50).fork()).join();
		if (message.posIdentityExtra !== void 0) PosIdentityExtra.encode(message.posIdentityExtra, writer.uint32(58).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSpotInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.spotId = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.posIdentity = PosIdentity.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.multiGuestSpotExtra = MultiGuestSpotExtra.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.multiGuestSpotNonSeiExtra = MultiGuestSpotNonSeiExtra.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.cohostSpotExtra = CohostTypeSpotExtra.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.cohostSpotNonSeiExtra = CohostTypeSpotNonSeiExtra.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.posIdentityExtra = PosIdentityExtra.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/message/linkcore.ts
function createBaseAllListUser() {
	return {
		linkedList: [],
		appliedList: [],
		invitedList: [],
		readyList: []
	};
}
const AllListUser = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.linkedList) LinkLayerListUser.encode(v, writer.uint32(18).fork()).join();
		for (const v of message.appliedList) LinkLayerListUser.encode(v, writer.uint32(26).fork()).join();
		for (const v of message.invitedList) LinkLayerListUser.encode(v, writer.uint32(34).fork()).join();
		for (const v of message.readyList) LinkLayerListUser.encode(v, writer.uint32(42).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAllListUser();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 2:
					if (tag !== 18) break;
					message.linkedList.push(LinkLayerListUser.decode(reader, reader.uint32()));
					continue;
				case 3:
					if (tag !== 26) break;
					message.appliedList.push(LinkLayerListUser.decode(reader, reader.uint32()));
					continue;
				case 4:
					if (tag !== 34) break;
					message.invitedList.push(LinkLayerListUser.decode(reader, reader.uint32()));
					continue;
				case 5:
					if (tag !== 42) break;
					message.readyList.push(LinkLayerListUser.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseApplyContent() {
	return {
		applier: void 0,
		applierLinkMicId: "",
		applierLinkerSessionId: ""
	};
}
const ApplyContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.applier !== void 0) Player.encode(message.applier, writer.uint32(10).fork()).join();
		if (message.applierLinkMicId !== "") writer.uint32(18).string(message.applierLinkMicId);
		if (message.applierLinkerSessionId !== "") writer.uint32(26).string(message.applierLinkerSessionId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseApplyContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.applier = Player.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.applierLinkMicId = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.applierLinkerSessionId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseByteRTCExtInfo() {
	return { defaultSignalingServerFirst: 0 };
}
const ByteRTCExtInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.defaultSignalingServerFirst !== 0) writer.uint32(8).int32(message.defaultSignalingServerFirst);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseByteRTCExtInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.defaultSignalingServerFirst = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCancelApplyContent() {
	return {
		applier: void 0,
		applierLinkMicId: "",
		applierLinkerSessionId: ""
	};
}
const CancelApplyContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.applier !== void 0) Player.encode(message.applier, writer.uint32(10).fork()).join();
		if (message.applierLinkMicId !== "") writer.uint32(18).string(message.applierLinkMicId);
		if (message.applierLinkerSessionId !== "") writer.uint32(26).string(message.applierLinkerSessionId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCancelApplyContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.applier = Player.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.applierLinkMicId = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.applierLinkerSessionId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCancelInviteContent() {
	return {
		invitor: void 0,
		invitorLinkMicId: "",
		inviteeLinkMicId: "",
		inviteSeqId: "0",
		invitee: void 0,
		inviteeLinkerSessionId: ""
	};
}
const CancelInviteContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.invitor !== void 0) Player.encode(message.invitor, writer.uint32(10).fork()).join();
		if (message.invitorLinkMicId !== "") writer.uint32(18).string(message.invitorLinkMicId);
		if (message.inviteeLinkMicId !== "") writer.uint32(26).string(message.inviteeLinkMicId);
		if (message.inviteSeqId !== "0") writer.uint32(32).int64(message.inviteSeqId);
		if (message.invitee !== void 0) Player.encode(message.invitee, writer.uint32(42).fork()).join();
		if (message.inviteeLinkerSessionId !== "") writer.uint32(50).string(message.inviteeLinkerSessionId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCancelInviteContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.invitor = Player.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.invitorLinkMicId = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.inviteeLinkMicId = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.inviteSeqId = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.invitee = Player.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.inviteeLinkerSessionId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCreateChannelContent() {
	return {
		owner: void 0,
		ownerLinkMicId: "",
		ownerLinkerSessionId: ""
	};
}
const CreateChannelContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.owner !== void 0) Player.encode(message.owner, writer.uint32(10).fork()).join();
		if (message.ownerLinkMicId !== "") writer.uint32(18).string(message.ownerLinkMicId);
		if (message.ownerLinkerSessionId !== "") writer.uint32(26).string(message.ownerLinkerSessionId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCreateChannelContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.owner = Player.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.ownerLinkMicId = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.ownerLinkerSessionId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseDSLConfig() {
	return {
		sceneVersion: 0,
		layoutId: ""
	};
}
const DSLConfig = {
	encode(message, writer = new BinaryWriter()) {
		if (message.sceneVersion !== 0) writer.uint32(8).int32(message.sceneVersion);
		if (message.layoutId !== "") writer.uint32(18).string(message.layoutId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseDSLConfig();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.sceneVersion = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.layoutId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseFinishChannelContent() {
	return {
		owner: void 0,
		finishReason: "0"
	};
}
const FinishChannelContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.owner !== void 0) Player.encode(message.owner, writer.uint32(10).fork()).join();
		if (message.finishReason !== "0") writer.uint32(16).int64(message.finishReason);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseFinishChannelContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.owner = Player.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.finishReason = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseInviteContent() {
	return {
		invitor: void 0,
		inviteeRtcExtInfo: void 0,
		invitorLinkMicId: "",
		inviteeLinkMicId: "",
		isOwner: false,
		pos: void 0,
		dsl: void 0,
		invitee: void 0,
		operator: void 0,
		inviteeLinkerSessionId: ""
	};
}
const InviteContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.invitor !== void 0) Player.encode(message.invitor, writer.uint32(10).fork()).join();
		if (message.inviteeRtcExtInfo !== void 0) RTCExtraInfo.encode(message.inviteeRtcExtInfo, writer.uint32(18).fork()).join();
		if (message.invitorLinkMicId !== "") writer.uint32(26).string(message.invitorLinkMicId);
		if (message.inviteeLinkMicId !== "") writer.uint32(34).string(message.inviteeLinkMicId);
		if (message.isOwner !== false) writer.uint32(40).bool(message.isOwner);
		if (message.pos !== void 0) MicPositionData.encode(message.pos, writer.uint32(50).fork()).join();
		if (message.dsl !== void 0) DSLConfig.encode(message.dsl, writer.uint32(58).fork()).join();
		if (message.invitee !== void 0) Player.encode(message.invitee, writer.uint32(66).fork()).join();
		if (message.operator !== void 0) Player.encode(message.operator, writer.uint32(74).fork()).join();
		if (message.inviteeLinkerSessionId !== "") writer.uint32(82).string(message.inviteeLinkerSessionId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseInviteContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.invitor = Player.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.inviteeRtcExtInfo = RTCExtraInfo.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.invitorLinkMicId = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.inviteeLinkMicId = reader.string();
					continue;
				case 5:
					if (tag !== 40) break;
					message.isOwner = reader.bool();
					continue;
				case 6:
					if (tag !== 50) break;
					message.pos = MicPositionData.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.dsl = DSLConfig.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.invitee = Player.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 74) break;
					message.operator = Player.decode(reader, reader.uint32());
					continue;
				case 10:
					if (tag !== 82) break;
					message.inviteeLinkerSessionId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseJoinDirectContent() {
	return {
		joiner: void 0,
		allUsers: void 0
	};
}
const JoinDirectContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.joiner !== void 0) LinkLayerListUser.encode(message.joiner, writer.uint32(10).fork()).join();
		if (message.allUsers !== void 0) AllListUser.encode(message.allUsers, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseJoinDirectContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.joiner = LinkLayerListUser.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.allUsers = AllListUser.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseKickOutContent() {
	return {
		offliner: void 0,
		kickoutReason: 0,
		linkedUserUiPositions: [],
		uiPos: [],
		layout: void 0,
		spotList: [],
		offlinerLinkerSessionId: ""
	};
}
const KickOutContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.offliner !== void 0) Player.encode(message.offliner, writer.uint32(10).fork()).join();
		if (message.kickoutReason !== 0) writer.uint32(16).int32(message.kickoutReason);
		for (const v of message.linkedUserUiPositions) writer.uint32(26).string(v);
		for (const v of message.uiPos) PosIdentity.encode(v, writer.uint32(34).fork()).join();
		if (message.layout !== void 0) LayoutState.encode(message.layout, writer.uint32(42).fork()).join();
		for (const v of message.spotList) SpotInfo.encode(v, writer.uint32(50).fork()).join();
		if (message.offlinerLinkerSessionId !== "") writer.uint32(58).string(message.offlinerLinkerSessionId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseKickOutContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.offliner = Player.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.kickoutReason = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.linkedUserUiPositions.push(reader.string());
					continue;
				case 4:
					if (tag !== 34) break;
					message.uiPos.push(PosIdentity.decode(reader, reader.uint32()));
					continue;
				case 5:
					if (tag !== 42) break;
					message.layout = LayoutState.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.spotList.push(SpotInfo.decode(reader, reader.uint32()));
					continue;
				case 7:
					if (tag !== 58) break;
					message.offlinerLinkerSessionId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLeaveContent() {
	return {
		leaver: void 0,
		leaveReason: "0",
		linkedUserUiPositions: [],
		uiPos: [],
		layout: void 0,
		spotList: [],
		leaverLinkerSessionId: ""
	};
}
const LeaveContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.leaver !== void 0) Player.encode(message.leaver, writer.uint32(10).fork()).join();
		if (message.leaveReason !== "0") writer.uint32(16).int64(message.leaveReason);
		for (const v of message.linkedUserUiPositions) writer.uint32(26).string(v);
		for (const v of message.uiPos) PosIdentity.encode(v, writer.uint32(34).fork()).join();
		if (message.layout !== void 0) LayoutState.encode(message.layout, writer.uint32(42).fork()).join();
		for (const v of message.spotList) SpotInfo.encode(v, writer.uint32(50).fork()).join();
		if (message.leaverLinkerSessionId !== "") writer.uint32(58).string(message.leaverLinkerSessionId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLeaveContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.leaver = Player.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.leaveReason = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.linkedUserUiPositions.push(reader.string());
					continue;
				case 4:
					if (tag !== 34) break;
					message.uiPos.push(PosIdentity.decode(reader, reader.uint32()));
					continue;
				case 5:
					if (tag !== 42) break;
					message.layout = LayoutState.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.spotList.push(SpotInfo.decode(reader, reader.uint32()));
					continue;
				case 7:
					if (tag !== 58) break;
					message.leaverLinkerSessionId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkLayerListUser() {
	return {
		user: void 0,
		linkmicId: "",
		pos: void 0,
		linkedTimeNano: "0",
		appVersion: "",
		userType: 0,
		linkerSessionId: ""
	};
}
const LinkLayerListUser = {
	encode(message, writer = new BinaryWriter()) {
		if (message.user !== void 0) Player.encode(message.user, writer.uint32(10).fork()).join();
		if (message.linkmicId !== "") writer.uint32(18).string(message.linkmicId);
		if (message.pos !== void 0) MicPositionData.encode(message.pos, writer.uint32(26).fork()).join();
		if (message.linkedTimeNano !== "0") writer.uint32(32).int64(message.linkedTimeNano);
		if (message.appVersion !== "") writer.uint32(42).string(message.appVersion);
		if (message.userType !== 0) writer.uint32(48).int32(message.userType);
		if (message.linkerSessionId !== "") writer.uint32(58).string(message.linkerSessionId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkLayerListUser();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.user = Player.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.linkmicId = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.pos = MicPositionData.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.linkedTimeNano = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.appVersion = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.userType = reader.int32();
					continue;
				case 7:
					if (tag !== 58) break;
					message.linkerSessionId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkListChangeContent() {
	return {
		type: 0,
		list: void 0,
		linkedUserUiPositions: [],
		contentPos: []
	};
}
const LinkListChangeContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.type !== 0) writer.uint32(8).int32(message.type);
		if (message.list !== void 0) AllListUser.encode(message.list, writer.uint32(18).fork()).join();
		for (const v of message.linkedUserUiPositions) writer.uint32(26).string(v);
		for (const v of message.contentPos) ContentPosition.encode(v, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkListChangeContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.type = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.list = AllListUser.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.linkedUserUiPositions.push(reader.string());
					continue;
				case 4:
					if (tag !== 34) break;
					message.contentPos.push(ContentPosition.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePermitApplyContent() {
	return {
		permiter: void 0,
		permiterLinkMicId: "",
		applierPos: void 0,
		replyStatus: 0,
		dsl: void 0,
		applier: void 0,
		operator: void 0,
		applierLinkMicId: "",
		linkedUserUiPositions: [],
		applierRtcToken: "",
		uiPos: [],
		layout: void 0,
		spotList: [],
		applierLinkerSessionId: ""
	};
}
const PermitApplyContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.permiter !== void 0) Player.encode(message.permiter, writer.uint32(10).fork()).join();
		if (message.permiterLinkMicId !== "") writer.uint32(18).string(message.permiterLinkMicId);
		if (message.applierPos !== void 0) MicPositionData.encode(message.applierPos, writer.uint32(26).fork()).join();
		if (message.replyStatus !== 0) writer.uint32(32).int32(message.replyStatus);
		if (message.dsl !== void 0) DSLConfig.encode(message.dsl, writer.uint32(42).fork()).join();
		if (message.applier !== void 0) Player.encode(message.applier, writer.uint32(50).fork()).join();
		if (message.operator !== void 0) Player.encode(message.operator, writer.uint32(58).fork()).join();
		if (message.applierLinkMicId !== "") writer.uint32(66).string(message.applierLinkMicId);
		for (const v of message.linkedUserUiPositions) writer.uint32(74).string(v);
		if (message.applierRtcToken !== "") writer.uint32(82).string(message.applierRtcToken);
		for (const v of message.uiPos) PosIdentity.encode(v, writer.uint32(90).fork()).join();
		if (message.layout !== void 0) LayoutState.encode(message.layout, writer.uint32(98).fork()).join();
		for (const v of message.spotList) SpotInfo.encode(v, writer.uint32(106).fork()).join();
		if (message.applierLinkerSessionId !== "") writer.uint32(114).string(message.applierLinkerSessionId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePermitApplyContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.permiter = Player.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.permiterLinkMicId = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.applierPos = MicPositionData.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.replyStatus = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.dsl = DSLConfig.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.applier = Player.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.operator = Player.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.applierLinkMicId = reader.string();
					continue;
				case 9:
					if (tag !== 74) break;
					message.linkedUserUiPositions.push(reader.string());
					continue;
				case 10:
					if (tag !== 82) break;
					message.applierRtcToken = reader.string();
					continue;
				case 11:
					if (tag !== 90) break;
					message.uiPos.push(PosIdentity.decode(reader, reader.uint32()));
					continue;
				case 12:
					if (tag !== 98) break;
					message.layout = LayoutState.decode(reader, reader.uint32());
					continue;
				case 13:
					if (tag !== 106) break;
					message.spotList.push(SpotInfo.decode(reader, reader.uint32()));
					continue;
				case 14:
					if (tag !== 114) break;
					message.applierLinkerSessionId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRTCBitRateMap() {
	return {
		xx1: 0,
		xx2: 0,
		xx3: 0,
		xx4: 0
	};
}
const RTCBitRateMap = {
	encode(message, writer = new BinaryWriter()) {
		if (message.xx1 !== 0) writer.uint32(8).int32(message.xx1);
		if (message.xx2 !== 0) writer.uint32(16).int32(message.xx2);
		if (message.xx3 !== 0) writer.uint32(24).int32(message.xx3);
		if (message.xx4 !== 0) writer.uint32(32).int32(message.xx4);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRTCBitRateMap();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.xx1 = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.xx2 = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.xx3 = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.xx4 = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRTCEngineConfig() {
	return {
		rtcAppId: "",
		rtcUserId: "",
		rtcToken: "",
		rtcChannelId: "0"
	};
}
const RTCEngineConfig = {
	encode(message, writer = new BinaryWriter()) {
		if (message.rtcAppId !== "") writer.uint32(10).string(message.rtcAppId);
		if (message.rtcUserId !== "") writer.uint32(18).string(message.rtcUserId);
		if (message.rtcToken !== "") writer.uint32(26).string(message.rtcToken);
		if (message.rtcChannelId !== "0") writer.uint32(32).int64(message.rtcChannelId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRTCEngineConfig();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.rtcAppId = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.rtcUserId = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.rtcToken = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.rtcChannelId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRTCExtraInfo() {
	return {
		liveRtcEngineConfig: void 0,
		liveRtcVideoParam: [],
		rtcBitrateMap: void 0,
		rtcFps: 0,
		rtcMixBase: void 0,
		byteRtcExtInfo: void 0,
		extra: void 0,
		rtcBusinessId: "",
		rtcOther: void 0,
		interactClientType: 0
	};
}
const RTCExtraInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.liveRtcEngineConfig !== void 0) RTCEngineConfig.encode(message.liveRtcEngineConfig, writer.uint32(10).fork()).join();
		for (const v of message.liveRtcVideoParam) RTCLiveVideoParam.encode(v, writer.uint32(18).fork()).join();
		if (message.rtcBitrateMap !== void 0) RTCBitRateMap.encode(message.rtcBitrateMap, writer.uint32(26).fork()).join();
		if (message.rtcFps !== 0) writer.uint32(32).int32(message.rtcFps);
		if (message.rtcMixBase !== void 0) RTCMixBase.encode(message.rtcMixBase, writer.uint32(42).fork()).join();
		if (message.byteRtcExtInfo !== void 0) ByteRTCExtInfo.encode(message.byteRtcExtInfo, writer.uint32(50).fork()).join();
		if (message.extra !== void 0) RTCInfoExtra.encode(message.extra, writer.uint32(58).fork()).join();
		if (message.rtcBusinessId !== "") writer.uint32(66).string(message.rtcBusinessId);
		if (message.rtcOther !== void 0) RTCOther.encode(message.rtcOther, writer.uint32(74).fork()).join();
		if (message.interactClientType !== 0) writer.uint32(80).int32(message.interactClientType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRTCExtraInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.liveRtcEngineConfig = RTCEngineConfig.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.liveRtcVideoParam.push(RTCLiveVideoParam.decode(reader, reader.uint32()));
					continue;
				case 3:
					if (tag !== 26) break;
					message.rtcBitrateMap = RTCBitRateMap.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.rtcFps = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.rtcMixBase = RTCMixBase.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.byteRtcExtInfo = ByteRTCExtInfo.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.extra = RTCInfoExtra.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.rtcBusinessId = reader.string();
					continue;
				case 9:
					if (tag !== 74) break;
					message.rtcOther = RTCOther.decode(reader, reader.uint32());
					continue;
				case 10:
					if (tag !== 80) break;
					message.interactClientType = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRTCInfoExtra() {
	return { version: "" };
}
const RTCInfoExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.version !== "") writer.uint32(10).string(message.version);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRTCInfoExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.version = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRTCLiveVideoParam() {
	return {
		strategyId: 0,
		params: void 0
	};
}
const RTCLiveVideoParam = {
	encode(message, writer = new BinaryWriter()) {
		if (message.strategyId !== 0) writer.uint32(8).int32(message.strategyId);
		if (message.params !== void 0) RTCVideoParam.encode(message.params, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRTCLiveVideoParam();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.strategyId = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.params = RTCVideoParam.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRTCMixBase() {
	return { bitrate: 0 };
}
const RTCMixBase = {
	encode(message, writer = new BinaryWriter()) {
		if (message.bitrate !== 0) writer.uint32(8).int32(message.bitrate);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRTCMixBase();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.bitrate = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRTCOther() {
	return { maxTranscodingCbIntervalSecond: 0 };
}
const RTCOther = {
	encode(message, writer = new BinaryWriter()) {
		if (message.maxTranscodingCbIntervalSecond !== 0) writer.uint32(8).int32(message.maxTranscodingCbIntervalSecond);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRTCOther();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.maxTranscodingCbIntervalSecond = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRTCVideoParam() {
	return {
		width: 0,
		height: 0,
		fps: 0,
		bitrateKbps: 0
	};
}
const RTCVideoParam = {
	encode(message, writer = new BinaryWriter()) {
		if (message.width !== 0) writer.uint32(8).int32(message.width);
		if (message.height !== 0) writer.uint32(16).int32(message.height);
		if (message.fps !== 0) writer.uint32(24).int32(message.fps);
		if (message.bitrateKbps !== 0) writer.uint32(32).int32(message.bitrateKbps);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRTCVideoParam();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.width = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.height = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.fps = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.bitrateKbps = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseReplyInviteContent() {
	return {
		invitee: void 0,
		replyStatus: 0,
		inviteeLinkMicId: "",
		inviteePos: void 0,
		inviteOperatorUser: void 0,
		linkedUserUiPositions: [],
		uiPos: [],
		layout: void 0,
		spotList: [],
		inviteeLinkerSessionId: ""
	};
}
const ReplyInviteContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.invitee !== void 0) Player.encode(message.invitee, writer.uint32(10).fork()).join();
		if (message.replyStatus !== 0) writer.uint32(16).int32(message.replyStatus);
		if (message.inviteeLinkMicId !== "") writer.uint32(26).string(message.inviteeLinkMicId);
		if (message.inviteePos !== void 0) MicPositionData.encode(message.inviteePos, writer.uint32(34).fork()).join();
		if (message.inviteOperatorUser !== void 0) Player.encode(message.inviteOperatorUser, writer.uint32(42).fork()).join();
		for (const v of message.linkedUserUiPositions) writer.uint32(50).string(v);
		for (const v of message.uiPos) PosIdentity.encode(v, writer.uint32(58).fork()).join();
		if (message.layout !== void 0) LayoutState.encode(message.layout, writer.uint32(66).fork()).join();
		for (const v of message.spotList) SpotInfo.encode(v, writer.uint32(74).fork()).join();
		if (message.inviteeLinkerSessionId !== "") writer.uint32(82).string(message.inviteeLinkerSessionId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseReplyInviteContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.invitee = Player.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.replyStatus = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.inviteeLinkMicId = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.inviteePos = MicPositionData.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.inviteOperatorUser = Player.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.linkedUserUiPositions.push(reader.string());
					continue;
				case 7:
					if (tag !== 58) break;
					message.uiPos.push(PosIdentity.decode(reader, reader.uint32()));
					continue;
				case 8:
					if (tag !== 66) break;
					message.layout = LayoutState.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 74) break;
					message.spotList.push(SpotInfo.decode(reader, reader.uint32()));
					continue;
				case 10:
					if (tag !== 82) break;
					message.inviteeLinkerSessionId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/linkmic/common_group_channel_user.ts
function createBaseGroupChannelUser() {
	return {
		channelId: "0",
		status: 0,
		type: 0,
		allUser: void 0,
		joinTime: "0",
		linkedTime: "0",
		ownerUser: void 0,
		groupLinkmicId: ""
	};
}
const GroupChannelUser = {
	encode(message, writer = new BinaryWriter()) {
		if (message.channelId !== "0") writer.uint32(8).int64(message.channelId);
		if (message.status !== 0) writer.uint32(16).int32(message.status);
		if (message.type !== 0) writer.uint32(24).int32(message.type);
		if (message.allUser !== void 0) AllListUser.encode(message.allUser, writer.uint32(34).fork()).join();
		if (message.joinTime !== "0") writer.uint32(40).int64(message.joinTime);
		if (message.linkedTime !== "0") writer.uint32(48).int64(message.linkedTime);
		if (message.ownerUser !== void 0) GroupPlayer.encode(message.ownerUser, writer.uint32(58).fork()).join();
		if (message.groupLinkmicId !== "") writer.uint32(66).string(message.groupLinkmicId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGroupChannelUser();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.channelId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.status = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.type = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.allUser = AllListUser.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 40) break;
					message.joinTime = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.linkedTime = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 58) break;
					message.ownerUser = GroupPlayer.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.groupLinkmicId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/linkmic/common_group_channel_all_user.ts
function createBaseGroupChannelAllUser() {
	return {
		groupChannelId: "0",
		user: [],
		contentVersion: "0"
	};
}
const GroupChannelAllUser = {
	encode(message, writer = new BinaryWriter()) {
		if (message.groupChannelId !== "0") writer.uint32(8).int64(message.groupChannelId);
		for (const v of message.user) GroupChannelUser.encode(v, writer.uint32(18).fork()).join();
		if (message.contentVersion !== "0") writer.uint32(24).int64(message.contentVersion);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGroupChannelAllUser();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.groupChannelId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.user.push(GroupChannelUser.decode(reader, reader.uint32()));
					continue;
				case 3:
					if (tag !== 24) break;
					message.contentVersion = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/message/common.ts
function createBasePatternRef() {
	return {
		key: "",
		defaultPattern: "",
		keyGroups: {}
	};
}
const PatternRef = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.defaultPattern !== "") writer.uint32(18).string(message.defaultPattern);
		globalThis.Object.entries(message.keyGroups).forEach(([key, value]) => {
			PatternRef_KeyGroupsEntry.encode({
				key,
				value
			}, writer.uint32(26).fork()).join();
		});
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePatternRef();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.defaultPattern = reader.string();
					continue;
				case 3: {
					if (tag !== 26) break;
					const entry3 = PatternRef_KeyGroupsEntry.decode(reader, reader.uint32());
					if (entry3.value !== void 0) message.keyGroups[entry3.key] = entry3.value;
					continue;
				}
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePatternRef_KeyGroupsEntry() {
	return {
		key: "",
		value: ""
	};
}
const PatternRef_KeyGroupsEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.value !== "") writer.uint32(18).string(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePatternRef_KeyGroupsEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseText() {
	return {
		key: "",
		defaultPattern: "",
		defaultFormat: void 0,
		pieces: []
	};
}
const Text = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.defaultPattern !== "") writer.uint32(18).string(message.defaultPattern);
		if (message.defaultFormat !== void 0) TextFormat.encode(message.defaultFormat, writer.uint32(26).fork()).join();
		for (const v of message.pieces) TextPiece.encode(v, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseText();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.defaultPattern = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.defaultFormat = TextFormat.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.pieces.push(TextPiece.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTextFormat() {
	return {
		color: "",
		bold: false,
		italic: false,
		weight: 0,
		italicAngle: 0,
		fontSize: 0,
		useHeighLightColor: false,
		useRemoteClor: false
	};
}
const TextFormat = {
	encode(message, writer = new BinaryWriter()) {
		if (message.color !== "") writer.uint32(10).string(message.color);
		if (message.bold !== false) writer.uint32(16).bool(message.bold);
		if (message.italic !== false) writer.uint32(24).bool(message.italic);
		if (message.weight !== 0) writer.uint32(32).int32(message.weight);
		if (message.italicAngle !== 0) writer.uint32(40).int32(message.italicAngle);
		if (message.fontSize !== 0) writer.uint32(48).int32(message.fontSize);
		if (message.useHeighLightColor !== false) writer.uint32(56).bool(message.useHeighLightColor);
		if (message.useRemoteClor !== false) writer.uint32(64).bool(message.useRemoteClor);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTextFormat();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.color = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.bold = reader.bool();
					continue;
				case 3:
					if (tag !== 24) break;
					message.italic = reader.bool();
					continue;
				case 4:
					if (tag !== 32) break;
					message.weight = reader.int32();
					continue;
				case 5:
					if (tag !== 40) break;
					message.italicAngle = reader.int32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.fontSize = reader.int32();
					continue;
				case 7:
					if (tag !== 56) break;
					message.useHeighLightColor = reader.bool();
					continue;
				case 8:
					if (tag !== 64) break;
					message.useRemoteClor = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTextPiece() {
	return {
		type: 0,
		format: void 0,
		stringValue: "",
		userValue: void 0,
		giftValue: void 0,
		heartValue: void 0,
		patternRefValue: void 0,
		imageValue: void 0
	};
}
const TextPiece = {
	encode(message, writer = new BinaryWriter()) {
		if (message.type !== 0) writer.uint32(8).int32(message.type);
		if (message.format !== void 0) TextFormat.encode(message.format, writer.uint32(18).fork()).join();
		if (message.stringValue !== "") writer.uint32(90).string(message.stringValue);
		if (message.userValue !== void 0) TextPieceUser.encode(message.userValue, writer.uint32(170).fork()).join();
		if (message.giftValue !== void 0) TextPieceGift.encode(message.giftValue, writer.uint32(178).fork()).join();
		if (message.heartValue !== void 0) TextPieceHeart.encode(message.heartValue, writer.uint32(186).fork()).join();
		if (message.patternRefValue !== void 0) TextPiecePatternRef.encode(message.patternRefValue, writer.uint32(194).fork()).join();
		if (message.imageValue !== void 0) TextPieceImage.encode(message.imageValue, writer.uint32(202).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTextPiece();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.type = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.format = TextFormat.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 90) break;
					message.stringValue = reader.string();
					continue;
				case 21:
					if (tag !== 170) break;
					message.userValue = TextPieceUser.decode(reader, reader.uint32());
					continue;
				case 22:
					if (tag !== 178) break;
					message.giftValue = TextPieceGift.decode(reader, reader.uint32());
					continue;
				case 23:
					if (tag !== 186) break;
					message.heartValue = TextPieceHeart.decode(reader, reader.uint32());
					continue;
				case 24:
					if (tag !== 194) break;
					message.patternRefValue = TextPiecePatternRef.decode(reader, reader.uint32());
					continue;
				case 25:
					if (tag !== 202) break;
					message.imageValue = TextPieceImage.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTextPieceGift() {
	return {
		giftId: "0",
		nameRef: void 0,
		showType: 0,
		colorId: "0"
	};
}
const TextPieceGift = {
	encode(message, writer = new BinaryWriter()) {
		if (message.giftId !== "0") writer.uint32(8).int64(message.giftId);
		if (message.nameRef !== void 0) PatternRef.encode(message.nameRef, writer.uint32(18).fork()).join();
		if (message.showType !== 0) writer.uint32(24).int32(message.showType);
		if (message.colorId !== "0") writer.uint32(32).int64(message.colorId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTextPieceGift();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.giftId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.nameRef = PatternRef.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.showType = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.colorId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTextPieceHeart() {
	return { color: "" };
}
const TextPieceHeart = {
	encode(message, writer = new BinaryWriter()) {
		if (message.color !== "") writer.uint32(10).string(message.color);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTextPieceHeart();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.color = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTextPieceImage() {
	return { image: void 0 };
}
const TextPieceImage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.image !== void 0) ImageModel.encode(message.image, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTextPieceImage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.image = ImageModel.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTextPiecePatternRef() {
	return {
		key: "",
		defaultPattern: ""
	};
}
const TextPiecePatternRef = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.defaultPattern !== "") writer.uint32(18).string(message.defaultPattern);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTextPiecePatternRef();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.defaultPattern = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTextPieceUser() {
	return {
		user: void 0,
		withColon: false
	};
}
const TextPieceUser = {
	encode(message, writer = new BinaryWriter()) {
		if (message.user !== void 0) User.encode(message.user, writer.uint32(10).fork()).join();
		if (message.withColon !== false) writer.uint32(16).bool(message.withColon);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTextPieceUser();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.withColon = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/message/invite_top_host_info.ts
function createBaseInviteTopHostInfo() {
	return {
		rankType: "",
		topIndex: "0"
	};
}
const InviteTopHostInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.rankType !== "") writer.uint32(10).string(message.rankType);
		if (message.topIndex !== "0") writer.uint32(16).int64(message.topIndex);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseInviteTopHostInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.rankType = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.topIndex = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkmicUserInfo() {
	return {
		userId: "0",
		linkmicIdStr: "",
		roomId: "0",
		linkedTime: "0"
	};
}
const LinkmicUserInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.linkmicIdStr !== "") writer.uint32(18).string(message.linkmicIdStr);
		if (message.roomId !== "0") writer.uint32(24).int64(message.roomId);
		if (message.linkedTime !== "0") writer.uint32(32).int64(message.linkedTime);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkmicUserInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.linkmicIdStr = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.roomId = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.linkedTime = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePerceptionDialogInfo() {
	return {
		iconType: 0,
		title: void 0,
		subTitle: void 0,
		adviceActionText: void 0,
		defaultActionText: void 0,
		violationDetailUrl: "",
		scene: 0,
		targetUserId: "0",
		targetRoomId: "0",
		countDownTime: "0",
		showFeedback: false,
		feedbackOptions: [],
		policyTip: "0",
		appealPopup: 0,
		closeActionText: void 0
	};
}
const PerceptionDialogInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.iconType !== 0) writer.uint32(8).int32(message.iconType);
		if (message.title !== void 0) Text.encode(message.title, writer.uint32(18).fork()).join();
		if (message.subTitle !== void 0) Text.encode(message.subTitle, writer.uint32(26).fork()).join();
		if (message.adviceActionText !== void 0) Text.encode(message.adviceActionText, writer.uint32(34).fork()).join();
		if (message.defaultActionText !== void 0) Text.encode(message.defaultActionText, writer.uint32(42).fork()).join();
		if (message.violationDetailUrl !== "") writer.uint32(50).string(message.violationDetailUrl);
		if (message.scene !== 0) writer.uint32(56).int32(message.scene);
		if (message.targetUserId !== "0") writer.uint32(64).int64(message.targetUserId);
		if (message.targetRoomId !== "0") writer.uint32(72).int64(message.targetRoomId);
		if (message.countDownTime !== "0") writer.uint32(80).int64(message.countDownTime);
		if (message.showFeedback !== false) writer.uint32(88).bool(message.showFeedback);
		for (const v of message.feedbackOptions) PerceptionFeedbackOption.encode(v, writer.uint32(98).fork()).join();
		if (message.policyTip !== "0") writer.uint32(104).int64(message.policyTip);
		if (message.appealPopup !== 0) writer.uint32(112).int32(message.appealPopup);
		if (message.closeActionText !== void 0) Text.encode(message.closeActionText, writer.uint32(122).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePerceptionDialogInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.iconType = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.title = Text.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.subTitle = Text.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.adviceActionText = Text.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.defaultActionText = Text.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.violationDetailUrl = reader.string();
					continue;
				case 7:
					if (tag !== 56) break;
					message.scene = reader.int32();
					continue;
				case 8:
					if (tag !== 64) break;
					message.targetUserId = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 72) break;
					message.targetRoomId = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 80) break;
					message.countDownTime = reader.int64().toString();
					continue;
				case 11:
					if (tag !== 88) break;
					message.showFeedback = reader.bool();
					continue;
				case 12:
					if (tag !== 98) break;
					message.feedbackOptions.push(PerceptionFeedbackOption.decode(reader, reader.uint32()));
					continue;
				case 13:
					if (tag !== 104) break;
					message.policyTip = reader.int64().toString();
					continue;
				case 14:
					if (tag !== 112) break;
					message.appealPopup = reader.int32();
					continue;
				case 15:
					if (tag !== 122) break;
					message.closeActionText = Text.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePunishEventInfo() {
	return {
		punishType: "",
		punishReason: "",
		punishId: "",
		violationUid: "0",
		punishTypeId: 0,
		duration: "0",
		punishPerceptionCode: "",
		endTime: "0",
		violationUidStr: "",
		showReason: ""
	};
}
const PunishEventInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.punishType !== "") writer.uint32(10).string(message.punishType);
		if (message.punishReason !== "") writer.uint32(18).string(message.punishReason);
		if (message.punishId !== "") writer.uint32(26).string(message.punishId);
		if (message.violationUid !== "0") writer.uint32(32).int64(message.violationUid);
		if (message.punishTypeId !== 0) writer.uint32(40).int32(message.punishTypeId);
		if (message.duration !== "0") writer.uint32(48).int64(message.duration);
		if (message.punishPerceptionCode !== "") writer.uint32(58).string(message.punishPerceptionCode);
		if (message.endTime !== "0") writer.uint32(64).int64(message.endTime);
		if (message.violationUidStr !== "") writer.uint32(74).string(message.violationUidStr);
		if (message.showReason !== "") writer.uint32(82).string(message.showReason);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePunishEventInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.punishType = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.punishReason = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.punishId = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.violationUid = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.punishTypeId = reader.int32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.duration = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 58) break;
					message.punishPerceptionCode = reader.string();
					continue;
				case 8:
					if (tag !== 64) break;
					message.endTime = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 74) break;
					message.violationUidStr = reader.string();
					continue;
				case 10:
					if (tag !== 82) break;
					message.showReason = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/shared/message.ts
function createBaseBaseProtoMessage() {
	return {
		method: "",
		payload: new Uint8Array(0),
		msgId: "0",
		msgType: 0,
		offset: "0",
		isHistory: false,
		sampleFlag: 0
	};
}
const BaseProtoMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.method !== "") writer.uint32(10).string(message.method);
		if (message.payload.length !== 0) writer.uint32(18).bytes(message.payload);
		if (message.msgId !== "0") writer.uint32(24).int64(message.msgId);
		if (message.msgType !== 0) writer.uint32(32).int32(message.msgType);
		if (message.offset !== "0") writer.uint32(40).int64(message.offset);
		if (message.isHistory !== false) writer.uint32(48).bool(message.isHistory);
		if (message.sampleFlag !== 0) writer.uint32(56).int32(message.sampleFlag);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBaseProtoMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.method = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.payload = reader.bytes();
					continue;
				case 3:
					if (tag !== 24) break;
					message.msgId = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.msgType = reader.int32();
					continue;
				case 5:
					if (tag !== 40) break;
					message.offset = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.isHistory = reader.bool();
					continue;
				case 7:
					if (tag !== 56) break;
					message.sampleFlag = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCommonMessageData() {
	return {
		method: "",
		msgId: "0",
		roomId: "0",
		createTime: "0",
		monitor: 0,
		isShowMsg: false,
		describe: "",
		displayText: void 0,
		foldType: "0",
		anchorFoldType: "0",
		priorityScore: "0",
		logId: "",
		msgProcessFilterK: "",
		msgProcessFilterV: "",
		fromIdc: "",
		toIdc: "",
		filterMsgTags: [],
		sei: void 0,
		dependRootId: void 0,
		dependId: void 0,
		anchorPriorityScore: "0",
		roomMessageHeatLevel: "0",
		foldTypeForWeb: "0",
		anchorFoldTypeForWeb: "0",
		clientSendTime: "0",
		dispatchStrategy: 0
	};
}
const CommonMessageData = {
	encode(message, writer = new BinaryWriter()) {
		if (message.method !== "") writer.uint32(10).string(message.method);
		if (message.msgId !== "0") writer.uint32(16).int64(message.msgId);
		if (message.roomId !== "0") writer.uint32(24).int64(message.roomId);
		if (message.createTime !== "0") writer.uint32(32).int64(message.createTime);
		if (message.monitor !== 0) writer.uint32(40).int32(message.monitor);
		if (message.isShowMsg !== false) writer.uint32(48).bool(message.isShowMsg);
		if (message.describe !== "") writer.uint32(58).string(message.describe);
		if (message.displayText !== void 0) Text.encode(message.displayText, writer.uint32(66).fork()).join();
		if (message.foldType !== "0") writer.uint32(72).int64(message.foldType);
		if (message.anchorFoldType !== "0") writer.uint32(80).int64(message.anchorFoldType);
		if (message.priorityScore !== "0") writer.uint32(88).int64(message.priorityScore);
		if (message.logId !== "") writer.uint32(98).string(message.logId);
		if (message.msgProcessFilterK !== "") writer.uint32(106).string(message.msgProcessFilterK);
		if (message.msgProcessFilterV !== "") writer.uint32(114).string(message.msgProcessFilterV);
		if (message.fromIdc !== "") writer.uint32(122).string(message.fromIdc);
		if (message.toIdc !== "") writer.uint32(130).string(message.toIdc);
		for (const v of message.filterMsgTags) writer.uint32(138).string(v);
		if (message.sei !== void 0) LiveMessageSEI.encode(message.sei, writer.uint32(146).fork()).join();
		if (message.dependRootId !== void 0) LiveMessageID.encode(message.dependRootId, writer.uint32(154).fork()).join();
		if (message.dependId !== void 0) LiveMessageID.encode(message.dependId, writer.uint32(162).fork()).join();
		if (message.anchorPriorityScore !== "0") writer.uint32(168).int64(message.anchorPriorityScore);
		if (message.roomMessageHeatLevel !== "0") writer.uint32(176).int64(message.roomMessageHeatLevel);
		if (message.foldTypeForWeb !== "0") writer.uint32(184).int64(message.foldTypeForWeb);
		if (message.anchorFoldTypeForWeb !== "0") writer.uint32(192).int64(message.anchorFoldTypeForWeb);
		if (message.clientSendTime !== "0") writer.uint32(200).int64(message.clientSendTime);
		if (message.dispatchStrategy !== 0) writer.uint32(208).int32(message.dispatchStrategy);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCommonMessageData();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.method = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.msgId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.roomId = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.createTime = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.monitor = reader.int32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.isShowMsg = reader.bool();
					continue;
				case 7:
					if (tag !== 58) break;
					message.describe = reader.string();
					continue;
				case 8:
					if (tag !== 66) break;
					message.displayText = Text.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 72) break;
					message.foldType = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 80) break;
					message.anchorFoldType = reader.int64().toString();
					continue;
				case 11:
					if (tag !== 88) break;
					message.priorityScore = reader.int64().toString();
					continue;
				case 12:
					if (tag !== 98) break;
					message.logId = reader.string();
					continue;
				case 13:
					if (tag !== 106) break;
					message.msgProcessFilterK = reader.string();
					continue;
				case 14:
					if (tag !== 114) break;
					message.msgProcessFilterV = reader.string();
					continue;
				case 15:
					if (tag !== 122) break;
					message.fromIdc = reader.string();
					continue;
				case 16:
					if (tag !== 130) break;
					message.toIdc = reader.string();
					continue;
				case 17:
					if (tag !== 138) break;
					message.filterMsgTags.push(reader.string());
					continue;
				case 18:
					if (tag !== 146) break;
					message.sei = LiveMessageSEI.decode(reader, reader.uint32());
					continue;
				case 19:
					if (tag !== 154) break;
					message.dependRootId = LiveMessageID.decode(reader, reader.uint32());
					continue;
				case 20:
					if (tag !== 162) break;
					message.dependId = LiveMessageID.decode(reader, reader.uint32());
					continue;
				case 21:
					if (tag !== 168) break;
					message.anchorPriorityScore = reader.int64().toString();
					continue;
				case 22:
					if (tag !== 176) break;
					message.roomMessageHeatLevel = reader.int64().toString();
					continue;
				case 23:
					if (tag !== 184) break;
					message.foldTypeForWeb = reader.int64().toString();
					continue;
				case 24:
					if (tag !== 192) break;
					message.anchorFoldTypeForWeb = reader.int64().toString();
					continue;
				case 25:
					if (tag !== 200) break;
					message.clientSendTime = reader.int64().toString();
					continue;
				case 26:
					if (tag !== 208) break;
					message.dispatchStrategy = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLiveMessageID() {
	return {
		primaryId: "",
		messageScene: ""
	};
}
const LiveMessageID = {
	encode(message, writer = new BinaryWriter()) {
		if (message.primaryId !== "") writer.uint32(10).string(message.primaryId);
		if (message.messageScene !== "") writer.uint32(18).string(message.messageScene);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLiveMessageID();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.primaryId = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.messageScene = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLiveMessageSEI() {
	return {
		uniqueId: void 0,
		timestamp: "0"
	};
}
const LiveMessageSEI = {
	encode(message, writer = new BinaryWriter()) {
		if (message.uniqueId !== void 0) LiveMessageID.encode(message.uniqueId, writer.uint32(10).fork()).join();
		if (message.timestamp !== "0") writer.uint32(16).int64(message.timestamp);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLiveMessageSEI();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.uniqueId = LiveMessageID.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.timestamp = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseProtoMessageFetchResult() {
	return {
		messages: [],
		cursor: "",
		fetchInterval: "0",
		now: "0",
		internalExt: "",
		fetchType: 0,
		routeParams: {},
		heartbeatDuration: "0",
		needAck: false,
		pushServer: "",
		isFirst: false,
		historyCommentCursor: "",
		historyNoMore: false
	};
}
const ProtoMessageFetchResult = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.messages) BaseProtoMessage.encode(v, writer.uint32(10).fork()).join();
		if (message.cursor !== "") writer.uint32(18).string(message.cursor);
		if (message.fetchInterval !== "0") writer.uint32(24).int64(message.fetchInterval);
		if (message.now !== "0") writer.uint32(32).int64(message.now);
		if (message.internalExt !== "") writer.uint32(42).string(message.internalExt);
		if (message.fetchType !== 0) writer.uint32(48).int32(message.fetchType);
		globalThis.Object.entries(message.routeParams).forEach(([key, value]) => {
			ProtoMessageFetchResult_RouteParamsEntry.encode({
				key,
				value
			}, writer.uint32(58).fork()).join();
		});
		if (message.heartbeatDuration !== "0") writer.uint32(64).int64(message.heartbeatDuration);
		if (message.needAck !== false) writer.uint32(72).bool(message.needAck);
		if (message.pushServer !== "") writer.uint32(82).string(message.pushServer);
		if (message.isFirst !== false) writer.uint32(88).bool(message.isFirst);
		if (message.historyCommentCursor !== "") writer.uint32(98).string(message.historyCommentCursor);
		if (message.historyNoMore !== false) writer.uint32(104).bool(message.historyNoMore);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseProtoMessageFetchResult();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.messages.push(BaseProtoMessage.decode(reader, reader.uint32()));
					continue;
				case 2:
					if (tag !== 18) break;
					message.cursor = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.fetchInterval = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.now = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.internalExt = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.fetchType = reader.int32();
					continue;
				case 7: {
					if (tag !== 58) break;
					const entry7 = ProtoMessageFetchResult_RouteParamsEntry.decode(reader, reader.uint32());
					if (entry7.value !== void 0) message.routeParams[entry7.key] = entry7.value;
					continue;
				}
				case 8:
					if (tag !== 64) break;
					message.heartbeatDuration = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 72) break;
					message.needAck = reader.bool();
					continue;
				case 10:
					if (tag !== 82) break;
					message.pushServer = reader.string();
					continue;
				case 11:
					if (tag !== 88) break;
					message.isFirst = reader.bool();
					continue;
				case 12:
					if (tag !== 98) break;
					message.historyCommentCursor = reader.string();
					continue;
				case 13:
					if (tag !== 104) break;
					message.historyNoMore = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseProtoMessageFetchResult_RouteParamsEntry() {
	return {
		key: "",
		value: ""
	};
}
const ProtoMessageFetchResult_RouteParamsEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.value !== "") writer.uint32(18).string(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseProtoMessageFetchResult_RouteParamsEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/im.ts
let BarrageMessageBarrageType = /* @__PURE__ */ function(BarrageMessageBarrageType) {
	BarrageMessageBarrageType[BarrageMessageBarrageType["UNKNOWN"] = 0] = "UNKNOWN";
	BarrageMessageBarrageType[BarrageMessageBarrageType["E_COM_ORDERING"] = 1] = "E_COM_ORDERING";
	BarrageMessageBarrageType[BarrageMessageBarrageType["E_COM_BUYING"] = 2] = "E_COM_BUYING";
	BarrageMessageBarrageType[BarrageMessageBarrageType["NORMAL"] = 3] = "NORMAL";
	BarrageMessageBarrageType[BarrageMessageBarrageType["SUBSCRIBE"] = 4] = "SUBSCRIBE";
	BarrageMessageBarrageType[BarrageMessageBarrageType["EVENT_VIEW"] = 5] = "EVENT_VIEW";
	BarrageMessageBarrageType[BarrageMessageBarrageType["EVENT_REGISTERED"] = 6] = "EVENT_REGISTERED";
	BarrageMessageBarrageType[BarrageMessageBarrageType["SUBSCRIBE_GIFT"] = 7] = "SUBSCRIBE_GIFT";
	BarrageMessageBarrageType[BarrageMessageBarrageType["USER_UPGRADE"] = 8] = "USER_UPGRADE";
	BarrageMessageBarrageType[BarrageMessageBarrageType["GRADE_USER_ENTRANCE_NOTIFICATION"] = 9] = "GRADE_USER_ENTRANCE_NOTIFICATION";
	BarrageMessageBarrageType[BarrageMessageBarrageType["FANS_LEVEL_UPGRADE"] = 10] = "FANS_LEVEL_UPGRADE";
	BarrageMessageBarrageType[BarrageMessageBarrageType["FANS_LEVEL_ENTRANCE"] = 11] = "FANS_LEVEL_ENTRANCE";
	BarrageMessageBarrageType[BarrageMessageBarrageType["GAME_PARTNERSHIP"] = 12] = "GAME_PARTNERSHIP";
	BarrageMessageBarrageType[BarrageMessageBarrageType["GIFT_GALLERY"] = 13] = "GIFT_GALLERY";
	BarrageMessageBarrageType[BarrageMessageBarrageType["E_COM_BOUGHT"] = 14] = "E_COM_BOUGHT";
	BarrageMessageBarrageType[BarrageMessageBarrageType["ENIGMA_ENTRANCE"] = 15] = "ENIGMA_ENTRANCE";
	BarrageMessageBarrageType[BarrageMessageBarrageType["COMMON_BARRAGE"] = 100] = "COMMON_BARRAGE";
	BarrageMessageBarrageType[BarrageMessageBarrageType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BarrageMessageBarrageType;
}({});
let BarrageMessageIconDisplayType = /* @__PURE__ */ function(BarrageMessageIconDisplayType) {
	BarrageMessageIconDisplayType[BarrageMessageIconDisplayType["ICON_DISPLAY_TYPE_IMAGE"] = 0] = "ICON_DISPLAY_TYPE_IMAGE";
	BarrageMessageIconDisplayType[BarrageMessageIconDisplayType["ICON_DISPLAY_TYPE_BADGE"] = 1] = "ICON_DISPLAY_TYPE_BADGE";
	BarrageMessageIconDisplayType[BarrageMessageIconDisplayType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BarrageMessageIconDisplayType;
}({});
let BarrageMessageRenderType = /* @__PURE__ */ function(BarrageMessageRenderType) {
	BarrageMessageRenderType[BarrageMessageRenderType["RENDER_TYPE_NATIVE"] = 0] = "RENDER_TYPE_NATIVE";
	BarrageMessageRenderType[BarrageMessageRenderType["RENDER_TYPE_HYBRID"] = 1] = "RENDER_TYPE_HYBRID";
	BarrageMessageRenderType[BarrageMessageRenderType["RENDER_TYPE_ALPHA"] = 2] = "RENDER_TYPE_ALPHA";
	BarrageMessageRenderType[BarrageMessageRenderType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BarrageMessageRenderType;
}({});
let BarrageMessageShowType = /* @__PURE__ */ function(BarrageMessageShowType) {
	BarrageMessageShowType[BarrageMessageShowType["SHOW_TYPE_NORMAL"] = 0] = "SHOW_TYPE_NORMAL";
	BarrageMessageShowType[BarrageMessageShowType["SHOW_TYPE_FADE_IN_OUT"] = 1] = "SHOW_TYPE_FADE_IN_OUT";
	BarrageMessageShowType[BarrageMessageShowType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BarrageMessageShowType;
}({});
let BattleCardMsgType = /* @__PURE__ */ function(BattleCardMsgType) {
	BattleCardMsgType[BattleCardMsgType["UNKNOWN_CARD_ACTION"] = 0] = "UNKNOWN_CARD_ACTION";
	BattleCardMsgType[BattleCardMsgType["CARD_OBTAIN_GUIDE"] = 1] = "CARD_OBTAIN_GUIDE";
	BattleCardMsgType[BattleCardMsgType["USE_CRITICAL_STRIKE_CARD"] = 2] = "USE_CRITICAL_STRIKE_CARD";
	BattleCardMsgType[BattleCardMsgType["USE_SMOKE_CARD"] = 3] = "USE_SMOKE_CARD";
	BattleCardMsgType[BattleCardMsgType["AWARD_CARD_NOTICE"] = 4] = "AWARD_CARD_NOTICE";
	BattleCardMsgType[BattleCardMsgType["USE_EXTRA_TIME_CARD"] = 5] = "USE_EXTRA_TIME_CARD";
	BattleCardMsgType[BattleCardMsgType["USE_SPECIAL_EFFECT_CARD"] = 6] = "USE_SPECIAL_EFFECT_CARD";
	BattleCardMsgType[BattleCardMsgType["USE_POTION_CARD"] = 7] = "USE_POTION_CARD";
	BattleCardMsgType[BattleCardMsgType["USE_WAVE_CARD"] = 8] = "USE_WAVE_CARD";
	BattleCardMsgType[BattleCardMsgType["SPECIAL_EFFECT_NOTICE"] = 9] = "SPECIAL_EFFECT_NOTICE";
	BattleCardMsgType[BattleCardMsgType["USE_TOP_2_CARD"] = 10] = "USE_TOP_2_CARD";
	BattleCardMsgType[BattleCardMsgType["USE_TOP_3_CARD"] = 11] = "USE_TOP_3_CARD";
	BattleCardMsgType[BattleCardMsgType["USE_VAULT_GLOVE_CARD"] = 12] = "USE_VAULT_GLOVE_CARD";
	BattleCardMsgType[BattleCardMsgType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BattleCardMsgType;
}({});
let BattleRewardSettleRewardStatus = /* @__PURE__ */ function(BattleRewardSettleRewardStatus) {
	BattleRewardSettleRewardStatus[BattleRewardSettleRewardStatus["REWARD_STATUS_SUCCEED"] = 0] = "REWARD_STATUS_SUCCEED";
	BattleRewardSettleRewardStatus[BattleRewardSettleRewardStatus["REWARD_STATUS_FAILED"] = 1] = "REWARD_STATUS_FAILED";
	BattleRewardSettleRewardStatus[BattleRewardSettleRewardStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BattleRewardSettleRewardStatus;
}({});
let BattleTaskMessageType = /* @__PURE__ */ function(BattleTaskMessageType) {
	BattleTaskMessageType[BattleTaskMessageType["START"] = 0] = "START";
	BattleTaskMessageType[BattleTaskMessageType["TASK_UPDATE"] = 1] = "TASK_UPDATE";
	BattleTaskMessageType[BattleTaskMessageType["TASK_SETTLE"] = 2] = "TASK_SETTLE";
	BattleTaskMessageType[BattleTaskMessageType["REWARD_SETTLE"] = 3] = "REWARD_SETTLE";
	BattleTaskMessageType[BattleTaskMessageType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BattleTaskMessageType;
}({});
let BattleTaskSettleResult = /* @__PURE__ */ function(BattleTaskSettleResult) {
	BattleTaskSettleResult[BattleTaskSettleResult["SUCCEED"] = 0] = "SUCCEED";
	BattleTaskSettleResult[BattleTaskSettleResult["FAILED"] = 1] = "FAILED";
	BattleTaskSettleResult[BattleTaskSettleResult["BOTH_SUCCEED"] = 2] = "BOTH_SUCCEED";
	BattleTaskSettleResult[BattleTaskSettleResult["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BattleTaskSettleResult;
}({});
let BizType = /* @__PURE__ */ function(BizType) {
	BizType[BizType["DEFAULT"] = 0] = "DEFAULT";
	BizType[BizType["RETHINK_CHAT"] = 1] = "RETHINK_CHAT";
	BizType[BizType["RETHINK_QA"] = 2] = "RETHINK_QA";
	BizType[BizType["WARNING_TAG_CURRENT_ROOM"] = 3] = "WARNING_TAG_CURRENT_ROOM";
	BizType[BizType["WARNING_TAG_COHOST_ROOM"] = 4] = "WARNING_TAG_COHOST_ROOM";
	BizType[BizType["AGS_AT_RISK_OF_UNABLE_TO_COMMENT"] = 5] = "AGS_AT_RISK_OF_UNABLE_TO_COMMENT";
	BizType[BizType["PERCEPTION_CENTER"] = 6] = "PERCEPTION_CENTER";
	BizType[BizType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return BizType;
}({});
let ContentInviteSource = /* @__PURE__ */ function(ContentInviteSource) {
	ContentInviteSource[ContentInviteSource["INVITE_SOURCE_UNKNOWN"] = 0] = "INVITE_SOURCE_UNKNOWN";
	ContentInviteSource[ContentInviteSource["INVITE_SOURCE_PANEL_GO_LIVE"] = 1] = "INVITE_SOURCE_PANEL_GO_LIVE";
	ContentInviteSource[ContentInviteSource["INVITE_SOURCE_MUTUAL_NOTICE"] = 2] = "INVITE_SOURCE_MUTUAL_NOTICE";
	ContentInviteSource[ContentInviteSource["INVITE_SOURCE_USER_PROFILE"] = 3] = "INVITE_SOURCE_USER_PROFILE";
	ContentInviteSource[ContentInviteSource["INVITE_SOURCE_RESERVE"] = 4] = "INVITE_SOURCE_RESERVE";
	ContentInviteSource[ContentInviteSource["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return ContentInviteSource;
}({});
let DisplayStyle = /* @__PURE__ */ function(DisplayStyle) {
	DisplayStyle[DisplayStyle["DISPLAY_STYLE_NORMAL"] = 0] = "DISPLAY_STYLE_NORMAL";
	DisplayStyle[DisplayStyle["STAY"] = 1] = "STAY";
	DisplayStyle[DisplayStyle["CHAT"] = 2] = "CHAT";
	DisplayStyle[DisplayStyle["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return DisplayStyle;
}({});
let ExhibitionType = /* @__PURE__ */ function(ExhibitionType) {
	ExhibitionType[ExhibitionType["EXHIBITION_TYPE_DEFAULT"] = 0] = "EXHIBITION_TYPE_DEFAULT";
	ExhibitionType[ExhibitionType["FOLD"] = 1] = "FOLD";
	ExhibitionType[ExhibitionType["PUBLIC_SCREEN"] = 2] = "PUBLIC_SCREEN";
	ExhibitionType[ExhibitionType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return ExhibitionType;
}({});
let GameActionType = /* @__PURE__ */ function(GameActionType) {
	GameActionType[GameActionType["SHOW"] = 0] = "SHOW";
	GameActionType[GameActionType["JUMP"] = 1] = "JUMP";
	GameActionType[GameActionType["FOLLOW"] = 2] = "FOLLOW";
	GameActionType[GameActionType["COMMENT"] = 3] = "COMMENT";
	GameActionType[GameActionType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return GameActionType;
}({});
let GameRankNotifyMessageMsgType = /* @__PURE__ */ function(GameRankNotifyMessageMsgType) {
	GameRankNotifyMessageMsgType[GameRankNotifyMessageMsgType["MSG_TYPE_RANK_IN_OUT"] = 0] = "MSG_TYPE_RANK_IN_OUT";
	GameRankNotifyMessageMsgType[GameRankNotifyMessageMsgType["MSG_TYPE_RANK_CHANGE"] = 1] = "MSG_TYPE_RANK_CHANGE";
	GameRankNotifyMessageMsgType[GameRankNotifyMessageMsgType["MSG_TYPE_ANCHOR_ENCOURAGE"] = 2] = "MSG_TYPE_ANCHOR_ENCOURAGE";
	GameRankNotifyMessageMsgType[GameRankNotifyMessageMsgType["MSG_TYPE_UN_KNOW"] = 255] = "MSG_TYPE_UN_KNOW";
	GameRankNotifyMessageMsgType[GameRankNotifyMessageMsgType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return GameRankNotifyMessageMsgType;
}({});
let GiftMessageIgnoreConfig = /* @__PURE__ */ function(GiftMessageIgnoreConfig) {
	GiftMessageIgnoreConfig[GiftMessageIgnoreConfig["NOT_IGNORE"] = 0] = "NOT_IGNORE";
	GiftMessageIgnoreConfig[GiftMessageIgnoreConfig["IGNORE_TRAY"] = 1] = "IGNORE_TRAY";
	GiftMessageIgnoreConfig[GiftMessageIgnoreConfig["IGNORE_PSM"] = 2] = "IGNORE_PSM";
	GiftMessageIgnoreConfig[GiftMessageIgnoreConfig["IGNORE_TRAY_AND_PSM"] = 3] = "IGNORE_TRAY_AND_PSM";
	GiftMessageIgnoreConfig[GiftMessageIgnoreConfig["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return GiftMessageIgnoreConfig;
}({});
let GiftMessageVersion = /* @__PURE__ */ function(GiftMessageVersion) {
	GiftMessageVersion[GiftMessageVersion["NUM_0"] = 0] = "NUM_0";
	GiftMessageVersion[GiftMessageVersion["NUM_1"] = 1] = "NUM_1";
	GiftMessageVersion[GiftMessageVersion["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return GiftMessageVersion;
}({});
let GiftSource = /* @__PURE__ */ function(GiftSource) {
	GiftSource[GiftSource["GIFT_SOURCE_UNKNOWN"] = 0] = "GIFT_SOURCE_UNKNOWN";
	GiftSource[GiftSource["PLATFORM"] = 1] = "PLATFORM";
	GiftSource[GiftSource["USER_BUY_RANDOM"] = 2] = "USER_BUY_RANDOM";
	GiftSource[GiftSource["USER_BUY_SPECIFIC"] = 3] = "USER_BUY_SPECIFIC";
	GiftSource[GiftSource["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return GiftSource;
}({});
let HitABStatus = /* @__PURE__ */ function(HitABStatus) {
	HitABStatus[HitABStatus["NO_HIT"] = 0] = "NO_HIT";
	HitABStatus[HitABStatus["ENTER_FROM_EXTERNAL_LINK_NEW_TEXT"] = 1] = "ENTER_FROM_EXTERNAL_LINK_NEW_TEXT";
	HitABStatus[HitABStatus["ENTER_FROM_RE_POST_NEW_TEXT"] = 2] = "ENTER_FROM_RE_POST_NEW_TEXT";
	HitABStatus[HitABStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return HitABStatus;
}({});
let JumpPage = /* @__PURE__ */ function(JumpPage) {
	JumpPage[JumpPage["GIFT_GOAL_SOURCE"] = 0] = "GIFT_GOAL_SOURCE";
	JumpPage[JumpPage["GIFT_ALERT_SOURCE"] = 1] = "GIFT_ALERT_SOURCE";
	JumpPage[JumpPage["COHOST_SETTING"] = 2] = "COHOST_SETTING";
	JumpPage[JumpPage["GIFT_ER_RANK_LIST"] = 3] = "GIFT_ER_RANK_LIST";
	JumpPage[JumpPage["WEEKLY_GAME_RANK_LIST"] = 4] = "WEEKLY_GAME_RANK_LIST";
	JumpPage[JumpPage["FANS_CLUB"] = 5] = "FANS_CLUB";
	JumpPage[JumpPage["GOODY_BAG_SETTING"] = 6] = "GOODY_BAG_SETTING";
	JumpPage[JumpPage["GAME_GUESS_SETTING"] = 7] = "GAME_GUESS_SETTING";
	JumpPage[JumpPage["ADMIN_SETTING"] = 8] = "ADMIN_SETTING";
	JumpPage[JumpPage["GIFT_ALERT_TTS"] = 9] = "GIFT_ALERT_TTS";
	JumpPage[JumpPage["LIVE_GOAL"] = 10] = "LIVE_GOAL";
	JumpPage[JumpPage["TREASURE_BOX"] = 11] = "TREASURE_BOX";
	JumpPage[JumpPage["GAME_REWARDS"] = 12] = "GAME_REWARDS";
	JumpPage[JumpPage["POLL"] = 13] = "POLL";
	JumpPage[JumpPage["SUBSCRIPTION"] = 14] = "SUBSCRIPTION";
	JumpPage[JumpPage["MONET_IZ_ATION_TIPS_SETTING"] = 15] = "MONET_IZ_ATION_TIPS_SETTING";
	JumpPage[JumpPage["EXTENDING_COUNTDOWN"] = 16] = "EXTENDING_COUNTDOWN";
	JumpPage[JumpPage["PLAY_TOGETHER"] = 17] = "PLAY_TOGETHER";
	JumpPage[JumpPage["MULTI_GUEST"] = 18] = "MULTI_GUEST";
	JumpPage[JumpPage["PARTNERSHIP"] = 19] = "PARTNERSHIP";
	JumpPage[JumpPage["GIFT_NOTIFICATION"] = 20] = "GIFT_NOTIFICATION";
	JumpPage[JumpPage["JUMP_PAGE_GIFT_GALLERY"] = 21] = "JUMP_PAGE_GIFT_GALLERY";
	JumpPage[JumpPage["PK_LTE_2"] = 22] = "PK_LTE_2";
	JumpPage[JumpPage["COHOST_SETTING_FOR_RANKING"] = 23] = "COHOST_SETTING_FOR_RANKING";
	JumpPage[JumpPage["PK_GTE_3"] = 24] = "PK_GTE_3";
	JumpPage[JumpPage["GIFT_LIST"] = 25] = "GIFT_LIST";
	JumpPage[JumpPage["RANK_STICKER_SETTING"] = 26] = "RANK_STICKER_SETTING";
	JumpPage[JumpPage["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return JumpPage;
}({});
let LinkLayerMessageType = /* @__PURE__ */ function(LinkLayerMessageType) {
	LinkLayerMessageType[LinkLayerMessageType["LINKER_UNKNOWN"] = 0] = "LINKER_UNKNOWN";
	LinkLayerMessageType[LinkLayerMessageType["LINKER_CREATE"] = 1] = "LINKER_CREATE";
	LinkLayerMessageType[LinkLayerMessageType["LINKER_INVITE"] = 2] = "LINKER_INVITE";
	LinkLayerMessageType[LinkLayerMessageType["LINKER_APPLY"] = 3] = "LINKER_APPLY";
	LinkLayerMessageType[LinkLayerMessageType["LINKER_PERMIT"] = 4] = "LINKER_PERMIT";
	LinkLayerMessageType[LinkLayerMessageType["LINKER_REPLY"] = 5] = "LINKER_REPLY";
	LinkLayerMessageType[LinkLayerMessageType["LINKER_KICK_OUT"] = 6] = "LINKER_KICK_OUT";
	LinkLayerMessageType[LinkLayerMessageType["LINKER_CANCEL_APPLY"] = 7] = "LINKER_CANCEL_APPLY";
	LinkLayerMessageType[LinkLayerMessageType["LINKER_CANCEL_INVITE"] = 8] = "LINKER_CANCEL_INVITE";
	LinkLayerMessageType[LinkLayerMessageType["LINKER_LEAVE"] = 9] = "LINKER_LEAVE";
	LinkLayerMessageType[LinkLayerMessageType["LINKER_FINISH"] = 10] = "LINKER_FINISH";
	LinkLayerMessageType[LinkLayerMessageType["LINKER_LIST_CHANGE"] = 11] = "LINKER_LIST_CHANGE";
	LinkLayerMessageType[LinkLayerMessageType["LINKER_JOIN_DIRECT"] = 12] = "LINKER_JOIN_DIRECT";
	LinkLayerMessageType[LinkLayerMessageType["LINKER_JOIN_GROUP"] = 13] = "LINKER_JOIN_GROUP";
	LinkLayerMessageType[LinkLayerMessageType["LINKER_PERMIT_GROUP"] = 14] = "LINKER_PERMIT_GROUP";
	LinkLayerMessageType[LinkLayerMessageType["LINKER_CANCEL_GROUP"] = 15] = "LINKER_CANCEL_GROUP";
	LinkLayerMessageType[LinkLayerMessageType["LINKER_LEAVE_GROUP"] = 16] = "LINKER_LEAVE_GROUP";
	LinkLayerMessageType[LinkLayerMessageType["LINKER_P_2_P_GROUP_CHANGE"] = 17] = "LINKER_P_2_P_GROUP_CHANGE";
	LinkLayerMessageType[LinkLayerMessageType["LINKER_GROUP_CHANGE"] = 18] = "LINKER_GROUP_CHANGE";
	LinkLayerMessageType[LinkLayerMessageType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkLayerMessageType;
}({});
let LinkMicArmiesTriggerReason = /* @__PURE__ */ function(LinkMicArmiesTriggerReason) {
	LinkMicArmiesTriggerReason[LinkMicArmiesTriggerReason["LINK_MIC_ARMIES_TRIGGER_REASON_UNKNOWN"] = 0] = "LINK_MIC_ARMIES_TRIGGER_REASON_UNKNOWN";
	LinkMicArmiesTriggerReason[LinkMicArmiesTriggerReason["SCORE_UPDATE"] = 1] = "SCORE_UPDATE";
	LinkMicArmiesTriggerReason[LinkMicArmiesTriggerReason["BATTLE_END"] = 2] = "BATTLE_END";
	LinkMicArmiesTriggerReason[LinkMicArmiesTriggerReason["OPT_OUT_UPDATE"] = 3] = "OPT_OUT_UPDATE";
	LinkMicArmiesTriggerReason[LinkMicArmiesTriggerReason["KEEP_ALIVE"] = 4] = "KEEP_ALIVE";
	LinkMicArmiesTriggerReason[LinkMicArmiesTriggerReason["EFFECT_UPDATE"] = 5] = "EFFECT_UPDATE";
	LinkMicArmiesTriggerReason[LinkMicArmiesTriggerReason["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkMicArmiesTriggerReason;
}({});
let LinkMicBattlePunishFinishReason = /* @__PURE__ */ function(LinkMicBattlePunishFinishReason) {
	LinkMicBattlePunishFinishReason[LinkMicBattlePunishFinishReason["TIME_UP"] = 0] = "TIME_UP";
	LinkMicBattlePunishFinishReason[LinkMicBattlePunishFinishReason["CUT_SHORT"] = 1] = "CUT_SHORT";
	LinkMicBattlePunishFinishReason[LinkMicBattlePunishFinishReason["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkMicBattlePunishFinishReason;
}({});
let LinkMicBattleBattleAction = /* @__PURE__ */ function(LinkMicBattleBattleAction) {
	LinkMicBattleBattleAction[LinkMicBattleBattleAction["LINK_MIC_BATTLE_BATTLE_ACTION_UNKNOWN"] = 0] = "LINK_MIC_BATTLE_BATTLE_ACTION_UNKNOWN";
	LinkMicBattleBattleAction[LinkMicBattleBattleAction["INVITE"] = 1] = "INVITE";
	LinkMicBattleBattleAction[LinkMicBattleBattleAction["REJECT"] = 2] = "REJECT";
	LinkMicBattleBattleAction[LinkMicBattleBattleAction["CANCEL"] = 3] = "CANCEL";
	LinkMicBattleBattleAction[LinkMicBattleBattleAction["OPEN"] = 4] = "OPEN";
	LinkMicBattleBattleAction[LinkMicBattleBattleAction["FINISH"] = 5] = "FINISH";
	LinkMicBattleBattleAction[LinkMicBattleBattleAction["LINK_MIC_BATTLE_BATTLE_ACTION_CUT_SHORT"] = 6] = "LINK_MIC_BATTLE_BATTLE_ACTION_CUT_SHORT";
	LinkMicBattleBattleAction[LinkMicBattleBattleAction["ACCEPT"] = 7] = "ACCEPT";
	LinkMicBattleBattleAction[LinkMicBattleBattleAction["QUIT_APPLY"] = 8] = "QUIT_APPLY";
	LinkMicBattleBattleAction[LinkMicBattleBattleAction["DECLINE_QUIT"] = 9] = "DECLINE_QUIT";
	LinkMicBattleBattleAction[LinkMicBattleBattleAction["DECLINE_OFF_QUIT"] = 10] = "DECLINE_OFF_QUIT";
	LinkMicBattleBattleAction[LinkMicBattleBattleAction["LEAVE_LINKMIC"] = 11] = "LEAVE_LINKMIC";
	LinkMicBattleBattleAction[LinkMicBattleBattleAction["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return LinkMicBattleBattleAction;
}({});
let MessageDisplayStyle = /* @__PURE__ */ function(MessageDisplayStyle) {
	MessageDisplayStyle[MessageDisplayStyle["MESSAGE_DISPLAY_STYLE_DEFAULT"] = 0] = "MESSAGE_DISPLAY_STYLE_DEFAULT";
	MessageDisplayStyle[MessageDisplayStyle["POPUP"] = 1] = "POPUP";
	MessageDisplayStyle[MessageDisplayStyle["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return MessageDisplayStyle;
}({});
let MessageType = /* @__PURE__ */ function(MessageType) {
	MessageType[MessageType["SUB_SUCCESS"] = 0] = "SUB_SUCCESS";
	MessageType[MessageType["ANCHOR_REMINDER"] = 1] = "ANCHOR_REMINDER";
	MessageType[MessageType["ENTER_ROOM_EXPIRE_SOON"] = 2] = "ENTER_ROOM_EXPIRE_SOON";
	MessageType[MessageType["SUB_GOAL_CREATE_TO_ANCHOR"] = 3] = "SUB_GOAL_CREATE_TO_ANCHOR";
	MessageType[MessageType["SUB_GOAL_COMPLETE_TO_AUDIENCE"] = 4] = "SUB_GOAL_COMPLETE_TO_AUDIENCE";
	MessageType[MessageType["SUB_GOAL_COMPLETE_TO_ANCHOR"] = 5] = "SUB_GOAL_COMPLETE_TO_ANCHOR";
	MessageType[MessageType["SUB_GIFT_TIKTOK_2_USER_NOTICE"] = 6] = "SUB_GIFT_TIKTOK_2_USER_NOTICE";
	MessageType[MessageType["SUB_GIFT_TIKTOK_2_ANCHOR_NOTICE"] = 7] = "SUB_GIFT_TIKTOK_2_ANCHOR_NOTICE";
	MessageType[MessageType["SUB_GIFT_T_RECEIVES_END_NOTICE"] = 8] = "SUB_GIFT_T_RECEIVES_END_NOTICE";
	MessageType[MessageType["SUB_GIFTS_END_SUCCEED_ROOM_MESSAGE"] = 9] = "SUB_GIFTS_END_SUCCEED_ROOM_MESSAGE";
	MessageType[MessageType["SUB_GIFTS_END_SUCCEED_ANCHOR_NOTICE"] = 10] = "SUB_GIFTS_END_SUCCEED_ANCHOR_NOTICE";
	MessageType[MessageType["SUB_GIFT_LOW_VERSION_UPGRADE_NOTICE"] = 11] = "SUB_GIFT_LOW_VERSION_UPGRADE_NOTICE";
	MessageType[MessageType["SUB_GIFT_USER_BUY_AU_TH_NOTICE"] = 12] = "SUB_GIFT_USER_BUY_AU_TH_NOTICE";
	MessageType[MessageType["SUB_COMMON_TEXT_NOTICE"] = 13] = "SUB_COMMON_TEXT_NOTICE";
	MessageType[MessageType["SUB_MODERATOR_PIN_PERK"] = 14] = "SUB_MODERATOR_PIN_PERK";
	MessageType[MessageType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return MessageType;
}({});
let MicIdxOperation = /* @__PURE__ */ function(MicIdxOperation) {
	MicIdxOperation[MicIdxOperation["MIC_IDX_OP_ON"] = 0] = "MIC_IDX_OP_ON";
	MicIdxOperation[MicIdxOperation["MIC_IDX_OP_OFF"] = 1] = "MIC_IDX_OP_OFF";
	MicIdxOperation[MicIdxOperation["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return MicIdxOperation;
}({});
let OldSubscribeStatus = /* @__PURE__ */ function(OldSubscribeStatus) {
	OldSubscribeStatus[OldSubscribeStatus["FIRST"] = 0] = "FIRST";
	OldSubscribeStatus[OldSubscribeStatus["RESUB"] = 1] = "RESUB";
	OldSubscribeStatus[OldSubscribeStatus["SUB_IN_GRACE_PERIOD"] = 2] = "SUB_IN_GRACE_PERIOD";
	OldSubscribeStatus[OldSubscribeStatus["SUB_NOT_IN_GRACE_PERIOD"] = 3] = "SUB_NOT_IN_GRACE_PERIOD";
	OldSubscribeStatus[OldSubscribeStatus["OLD_SUBSCRIBE_STATUS_DEFAULT"] = 100] = "OLD_SUBSCRIBE_STATUS_DEFAULT";
	OldSubscribeStatus[OldSubscribeStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return OldSubscribeStatus;
}({});
let OpType = /* @__PURE__ */ function(OpType) {
	OpType[OpType["OP_TYPE_DEFAULT"] = 0] = "OP_TYPE_DEFAULT";
	OpType[OpType["ADD"] = 1] = "ADD";
	OpType[OpType["REMOVE"] = 2] = "REMOVE";
	OpType[OpType["RELOAD"] = 3] = "RELOAD";
	OpType[OpType["BASIC_EFFECT"] = 4] = "BASIC_EFFECT";
	OpType[OpType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return OpType;
}({});
let PartnershipDropsUpdateMessageChangeMode = /* @__PURE__ */ function(PartnershipDropsUpdateMessageChangeMode) {
	PartnershipDropsUpdateMessageChangeMode[PartnershipDropsUpdateMessageChangeMode["CHANGE_MODE_SHOW"] = 0] = "CHANGE_MODE_SHOW";
	PartnershipDropsUpdateMessageChangeMode[PartnershipDropsUpdateMessageChangeMode["CHANGE_MODE_UPDATE"] = 1] = "CHANGE_MODE_UPDATE";
	PartnershipDropsUpdateMessageChangeMode[PartnershipDropsUpdateMessageChangeMode["CHANGE_MODE_CLOSE"] = 2] = "CHANGE_MODE_CLOSE";
	PartnershipDropsUpdateMessageChangeMode[PartnershipDropsUpdateMessageChangeMode["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return PartnershipDropsUpdateMessageChangeMode;
}({});
let PartnershipGameOfflineMessageOfflineGameInfoOfflineType = /* @__PURE__ */ function(PartnershipGameOfflineMessageOfflineGameInfoOfflineType) {
	PartnershipGameOfflineMessageOfflineGameInfoOfflineType[PartnershipGameOfflineMessageOfflineGameInfoOfflineType["TASK_OFFLINE"] = 0] = "TASK_OFFLINE";
	PartnershipGameOfflineMessageOfflineGameInfoOfflineType[PartnershipGameOfflineMessageOfflineGameInfoOfflineType["EVENT_OFFLINE"] = 1] = "EVENT_OFFLINE";
	PartnershipGameOfflineMessageOfflineGameInfoOfflineType[PartnershipGameOfflineMessageOfflineGameInfoOfflineType["DROPS_OFFLINE"] = 2] = "DROPS_OFFLINE";
	PartnershipGameOfflineMessageOfflineGameInfoOfflineType[PartnershipGameOfflineMessageOfflineGameInfoOfflineType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return PartnershipGameOfflineMessageOfflineGameInfoOfflineType;
}({});
let PinMessageActionType = /* @__PURE__ */ function(PinMessageActionType) {
	PinMessageActionType[PinMessageActionType["UN_KOWN"] = 0] = "UN_KOWN";
	PinMessageActionType[PinMessageActionType["PIN"] = 1] = "PIN";
	PinMessageActionType[PinMessageActionType["PIN_CANCEL"] = 2] = "PIN_CANCEL";
	PinMessageActionType[PinMessageActionType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return PinMessageActionType;
}({});
let PublicAreaMessageCommonCreatorSuccessInfoTopicDisplayLocation = /* @__PURE__ */ function(PublicAreaMessageCommonCreatorSuccessInfoTopicDisplayLocation) {
	PublicAreaMessageCommonCreatorSuccessInfoTopicDisplayLocation[PublicAreaMessageCommonCreatorSuccessInfoTopicDisplayLocation["DISPLAY_LOCATION_FULL_SCREEN"] = 0] = "DISPLAY_LOCATION_FULL_SCREEN";
	PublicAreaMessageCommonCreatorSuccessInfoTopicDisplayLocation[PublicAreaMessageCommonCreatorSuccessInfoTopicDisplayLocation["DISPLAY_LOCATION_PUBLIC_SCREEN"] = 1] = "DISPLAY_LOCATION_PUBLIC_SCREEN";
	PublicAreaMessageCommonCreatorSuccessInfoTopicDisplayLocation[PublicAreaMessageCommonCreatorSuccessInfoTopicDisplayLocation["DISPLAY_LOCATION_BOTH"] = 2] = "DISPLAY_LOCATION_BOTH";
	PublicAreaMessageCommonCreatorSuccessInfoTopicDisplayLocation[PublicAreaMessageCommonCreatorSuccessInfoTopicDisplayLocation["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return PublicAreaMessageCommonCreatorSuccessInfoTopicDisplayLocation;
}({});
let PublicAreaMessageCommonPortraitInfoUserMetricsUserMetricsType = /* @__PURE__ */ function(PublicAreaMessageCommonPortraitInfoUserMetricsUserMetricsType) {
	PublicAreaMessageCommonPortraitInfoUserMetricsUserMetricsType[PublicAreaMessageCommonPortraitInfoUserMetricsUserMetricsType["USER_METRICS_TYPE_UNKNOWN"] = 0] = "USER_METRICS_TYPE_UNKNOWN";
	PublicAreaMessageCommonPortraitInfoUserMetricsUserMetricsType[PublicAreaMessageCommonPortraitInfoUserMetricsUserMetricsType["USER_METRICS_TYPE_GRADE"] = 1] = "USER_METRICS_TYPE_GRADE";
	PublicAreaMessageCommonPortraitInfoUserMetricsUserMetricsType[PublicAreaMessageCommonPortraitInfoUserMetricsUserMetricsType["USER_METRICS_TYPE_SUBSCRIBE"] = 2] = "USER_METRICS_TYPE_SUBSCRIBE";
	PublicAreaMessageCommonPortraitInfoUserMetricsUserMetricsType[PublicAreaMessageCommonPortraitInfoUserMetricsUserMetricsType["USER_METRICS_TYPE_FOLLOW"] = 3] = "USER_METRICS_TYPE_FOLLOW";
	PublicAreaMessageCommonPortraitInfoUserMetricsUserMetricsType[PublicAreaMessageCommonPortraitInfoUserMetricsUserMetricsType["USER_METRICS_TYPE_FANS_CLUB"] = 4] = "USER_METRICS_TYPE_FANS_CLUB";
	PublicAreaMessageCommonPortraitInfoUserMetricsUserMetricsType[PublicAreaMessageCommonPortraitInfoUserMetricsUserMetricsType["USER_METRICS_TYPE_TOP_VIEWER"] = 5] = "USER_METRICS_TYPE_TOP_VIEWER";
	PublicAreaMessageCommonPortraitInfoUserMetricsUserMetricsType[PublicAreaMessageCommonPortraitInfoUserMetricsUserMetricsType["USER_METRICS_TYPE_GIFT"] = 6] = "USER_METRICS_TYPE_GIFT";
	PublicAreaMessageCommonPortraitInfoUserMetricsUserMetricsType[PublicAreaMessageCommonPortraitInfoUserMetricsUserMetricsType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return PublicAreaMessageCommonPortraitInfoUserMetricsUserMetricsType;
}({});
let RankTextMessageRankTestMessageScene = /* @__PURE__ */ function(RankTextMessageRankTestMessageScene) {
	RankTextMessageRankTestMessageScene[RankTextMessageRankTestMessageScene["RANK_TEXT_MESSAGE_RANK_TEST_MESSAGE_SCENE_UNKNOWN"] = 0] = "RANK_TEXT_MESSAGE_RANK_TEST_MESSAGE_SCENE_UNKNOWN";
	RankTextMessageRankTestMessageScene[RankTextMessageRankTestMessageScene["ONLINE_AUDIENCE_TOP_N_UPDATE_PUBLIC_SCREEN"] = 1] = "ONLINE_AUDIENCE_TOP_N_UPDATE_PUBLIC_SCREEN";
	RankTextMessageRankTestMessageScene[RankTextMessageRankTestMessageScene["MID_PEAK_MOTIVATION_PUBLIC_SCREEN_TOP"] = 2] = "MID_PEAK_MOTIVATION_PUBLIC_SCREEN_TOP";
	RankTextMessageRankTestMessageScene[RankTextMessageRankTestMessageScene["MID_PEAK_MOTIVATION_PUBLIC_SCREEN_ENTER"] = 3] = "MID_PEAK_MOTIVATION_PUBLIC_SCREEN_ENTER";
	RankTextMessageRankTestMessageScene[RankTextMessageRankTestMessageScene["TILE_REWARD_GUIDE"] = 4] = "TILE_REWARD_GUIDE";
	RankTextMessageRankTestMessageScene[RankTextMessageRankTestMessageScene["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return RankTextMessageRankTestMessageScene;
}({});
let ScoreType = /* @__PURE__ */ function(ScoreType) {
	ScoreType[ScoreType["SCORE_TYPE_UNKNOWN"] = 0] = "SCORE_TYPE_UNKNOWN";
	ScoreType[ScoreType["ALL_FAN_TICKET"] = 1] = "ALL_FAN_TICKET";
	ScoreType[ScoreType["PLAY_SCORE"] = 2] = "PLAY_SCORE";
	ScoreType[ScoreType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return ScoreType;
}({});
let ShowType = /* @__PURE__ */ function(ShowType) {
	ShowType[ShowType["HOVER"] = 0] = "HOVER";
	ShowType[ShowType["PLUG"] = 1] = "PLUG";
	ShowType[ShowType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return ShowType;
}({});
let SubPinEventMessageActionType = /* @__PURE__ */ function(SubPinEventMessageActionType) {
	SubPinEventMessageActionType[SubPinEventMessageActionType["SUB_PIN_EVENT_MESSAGE_ACTION_TYPE_UNKNOWN"] = 0] = "SUB_PIN_EVENT_MESSAGE_ACTION_TYPE_UNKNOWN";
	SubPinEventMessageActionType[SubPinEventMessageActionType["SUB_PIN_EVENT_MESSAGE_ACTION_TYPE_PIN"] = 1] = "SUB_PIN_EVENT_MESSAGE_ACTION_TYPE_PIN";
	SubPinEventMessageActionType[SubPinEventMessageActionType["UNPIN"] = 2] = "UNPIN";
	SubPinEventMessageActionType[SubPinEventMessageActionType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return SubPinEventMessageActionType;
}({});
let SubscribeType = /* @__PURE__ */ function(SubscribeType) {
	SubscribeType[SubscribeType["ONCE"] = 0] = "ONCE";
	SubscribeType[SubscribeType["AUTO"] = 1] = "AUTO";
	SubscribeType[SubscribeType["SUBSCRIBE_TYPE_DEFAULT"] = 100] = "SUBSCRIBE_TYPE_DEFAULT";
	SubscribeType[SubscribeType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return SubscribeType;
}({});
let SubscribingStatus = /* @__PURE__ */ function(SubscribingStatus) {
	SubscribingStatus[SubscribingStatus["SUBSCRIBING_STATUS_UNKNOWN"] = 0] = "SUBSCRIBING_STATUS_UNKNOWN";
	SubscribingStatus[SubscribingStatus["SUBSCRIBING_STATUS_ONCE"] = 1] = "SUBSCRIBING_STATUS_ONCE";
	SubscribingStatus[SubscribingStatus["CIRCLE"] = 2] = "CIRCLE";
	SubscribingStatus[SubscribingStatus["CIRCLE_CANCEL"] = 3] = "CIRCLE_CANCEL";
	SubscribingStatus[SubscribingStatus["REFUND"] = 4] = "REFUND";
	SubscribingStatus[SubscribingStatus["IN_GRACE_PERIOD"] = 5] = "IN_GRACE_PERIOD";
	SubscribingStatus[SubscribingStatus["NOT_IN_GRACE_PERIOD"] = 6] = "NOT_IN_GRACE_PERIOD";
	SubscribingStatus[SubscribingStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return SubscribingStatus;
}({});
let TextType = /* @__PURE__ */ function(TextType) {
	TextType[TextType["DISPLAY_TEXT"] = 0] = "DISPLAY_TEXT";
	TextType[TextType["CONTENT"] = 1] = "CONTENT";
	TextType[TextType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return TextType;
}({});
let UnionAnimationInfoType = /* @__PURE__ */ function(UnionAnimationInfoType) {
	UnionAnimationInfoType[UnionAnimationInfoType["NO_UNION_ANIMATION"] = 0] = "NO_UNION_ANIMATION";
	UnionAnimationInfoType[UnionAnimationInfoType["LOOP"] = 1] = "LOOP";
	UnionAnimationInfoType[UnionAnimationInfoType["LOCK"] = 2] = "LOCK";
	UnionAnimationInfoType[UnionAnimationInfoType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return UnionAnimationInfoType;
}({});
function createBaseBizLayoutState() {
	return {
		multiGuestBizLayoutExtra: void 0,
		coHostBizLayoutExtra: void 0
	};
}
const BizLayoutState = {
	encode(message, writer = new BinaryWriter()) {
		if (message.multiGuestBizLayoutExtra !== void 0) MultiGuestBizLayoutExtra.encode(message.multiGuestBizLayoutExtra, writer.uint32(10).fork()).join();
		if (message.coHostBizLayoutExtra !== void 0) CoHostBizLayoutExtra.encode(message.coHostBizLayoutExtra, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBizLayoutState();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.multiGuestBizLayoutExtra = MultiGuestBizLayoutExtra.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.coHostBizLayoutExtra = CoHostBizLayoutExtra.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBizSpotExtra() {
	return {
		multiGuestBizSpotExtra: void 0,
		coHostBizSpotExtra: void 0
	};
}
const BizSpotExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.multiGuestBizSpotExtra !== void 0) MultiGuestBizSpotExtra.encode(message.multiGuestBizSpotExtra, writer.uint32(10).fork()).join();
		if (message.coHostBizSpotExtra !== void 0) CoHostBizSpotExtra.encode(message.coHostBizSpotExtra, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBizSpotExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.multiGuestBizSpotExtra = MultiGuestBizSpotExtra.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.coHostBizSpotExtra = CoHostBizSpotExtra.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBizSpotInfo() {
	return {
		spotId: 0,
		posIdentity: void 0,
		bizSpotExtra: void 0
	};
}
const BizSpotInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.spotId !== 0) writer.uint32(8).int32(message.spotId);
		if (message.posIdentity !== void 0) PosIdentity.encode(message.posIdentity, writer.uint32(18).fork()).join();
		if (message.bizSpotExtra !== void 0) BizSpotExtra.encode(message.bizSpotExtra, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBizSpotInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.spotId = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.posIdentity = PosIdentity.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.bizSpotExtra = BizSpotExtra.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCancelJoinGroupContent() {
	return {
		leaver: [],
		operator: void 0,
		type: 0,
		groupUser: void 0
	};
}
const CancelJoinGroupContent = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.leaver) GroupPlayer.encode(v, writer.uint32(10).fork()).join();
		if (message.operator !== void 0) GroupPlayer.encode(message.operator, writer.uint32(18).fork()).join();
		if (message.type !== 0) writer.uint32(24).int32(message.type);
		if (message.groupUser !== void 0) GroupChannelAllUser.encode(message.groupUser, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCancelJoinGroupContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.leaver.push(GroupPlayer.decode(reader, reader.uint32()));
					continue;
				case 2:
					if (tag !== 18) break;
					message.operator = GroupPlayer.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.type = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.groupUser = GroupChannelAllUser.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCoHostBizLayoutExtra() {
	return {};
}
const CoHostBizLayoutExtra = {
	encode(_, writer = new BinaryWriter()) {
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCoHostBizLayoutExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCoHostBizSpotExtra() {
	return {};
}
const CoHostBizSpotExtra = {
	encode(_, writer = new BinaryWriter()) {
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCoHostBizSpotExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCohostContent() {
	return {
		joinGroupBizContent: void 0,
		permitJoinGroupBizContent: void 0,
		listChangeBizContent: void 0,
		joinGroupDirectBizContent: void 0
	};
}
const CohostContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.joinGroupBizContent !== void 0) JoinGroupBizContent.encode(message.joinGroupBizContent, writer.uint32(10).fork()).join();
		if (message.permitJoinGroupBizContent !== void 0) PermitJoinGroupBizContent.encode(message.permitJoinGroupBizContent, writer.uint32(18).fork()).join();
		if (message.listChangeBizContent !== void 0) ListChangeBizContent.encode(message.listChangeBizContent, writer.uint32(90).fork()).join();
		if (message.joinGroupDirectBizContent !== void 0) JoinGroupDirectBizContent.encode(message.joinGroupDirectBizContent, writer.uint32(954).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCohostContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.joinGroupBizContent = JoinGroupBizContent.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.permitJoinGroupBizContent = PermitJoinGroupBizContent.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 90) break;
					message.listChangeBizContent = ListChangeBizContent.decode(reader, reader.uint32());
					continue;
				case 119:
					if (tag !== 954) break;
					message.joinGroupDirectBizContent = JoinGroupDirectBizContent.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGroupChangeContent() {
	return {
		groupUser: void 0,
		linkedUserUiPositions: []
	};
}
const GroupChangeContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.groupUser !== void 0) GroupChannelAllUser.encode(message.groupUser, writer.uint32(10).fork()).join();
		for (const v of message.linkedUserUiPositions) writer.uint32(18).string(v);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGroupChangeContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.groupUser = GroupChannelAllUser.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.linkedUserUiPositions.push(reader.string());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseInvitationReorderExtra() {
	return {
		strategyNumber: "0",
		strategyName: "",
		strategyScore: 0
	};
}
const InvitationReorderExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.strategyNumber !== "0") writer.uint32(8).int64(message.strategyNumber);
		if (message.strategyName !== "") writer.uint32(18).string(message.strategyName);
		if (message.strategyScore !== 0) writer.uint32(25).double(message.strategyScore);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseInvitationReorderExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.strategyNumber = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.strategyName = reader.string();
					continue;
				case 3:
					if (tag !== 25) break;
					message.strategyScore = reader.double();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseJoinGroupBizContent() {
	return {
		fromRoomAgeRestricted: 0,
		fromTag: void 0,
		dialog: void 0,
		punishInfo: void 0,
		topicInfo: void 0,
		algoRequestId: "",
		cohostLayoutMode: 0,
		tag: void 0,
		gameTag: void 0,
		newUserEducation: "",
		abInfos: {},
		matchedPreferenceTag: 0,
		joinGroupMsgExtra: void 0
	};
}
const JoinGroupBizContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.fromRoomAgeRestricted !== 0) writer.uint32(8).int32(message.fromRoomAgeRestricted);
		if (message.fromTag !== void 0) Tag$1.encode(message.fromTag, writer.uint32(18).fork()).join();
		if (message.dialog !== void 0) PerceptionDialogInfo.encode(message.dialog, writer.uint32(26).fork()).join();
		if (message.punishInfo !== void 0) PunishEventInfo.encode(message.punishInfo, writer.uint32(34).fork()).join();
		if (message.topicInfo !== void 0) CohostTopic.encode(message.topicInfo, writer.uint32(42).fork()).join();
		if (message.algoRequestId !== "") writer.uint32(50).string(message.algoRequestId);
		if (message.cohostLayoutMode !== 0) writer.uint32(56).int32(message.cohostLayoutMode);
		if (message.tag !== void 0) TagV2.encode(message.tag, writer.uint32(66).fork()).join();
		if (message.gameTag !== void 0) RivalsGameTag.encode(message.gameTag, writer.uint32(74).fork()).join();
		if (message.newUserEducation !== "") writer.uint32(90).string(message.newUserEducation);
		globalThis.Object.entries(message.abInfos).forEach(([key, value]) => {
			JoinGroupBizContent_AbInfosEntry.encode({
				key,
				value
			}, writer.uint32(98).fork()).join();
		});
		if (message.matchedPreferenceTag !== 0) writer.uint32(104).int32(message.matchedPreferenceTag);
		if (message.joinGroupMsgExtra !== void 0) JoinGroupMessageExtra.encode(message.joinGroupMsgExtra, writer.uint32(810).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseJoinGroupBizContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.fromRoomAgeRestricted = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.fromTag = Tag$1.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.dialog = PerceptionDialogInfo.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.punishInfo = PunishEventInfo.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.topicInfo = CohostTopic.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.algoRequestId = reader.string();
					continue;
				case 7:
					if (tag !== 56) break;
					message.cohostLayoutMode = reader.int32();
					continue;
				case 8:
					if (tag !== 66) break;
					message.tag = TagV2.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 74) break;
					message.gameTag = RivalsGameTag.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 90) break;
					message.newUserEducation = reader.string();
					continue;
				case 12: {
					if (tag !== 98) break;
					const entry12 = JoinGroupBizContent_AbInfosEntry.decode(reader, reader.uint32());
					if (entry12.value !== void 0) message.abInfos[entry12.key] = entry12.value;
					continue;
				}
				case 13:
					if (tag !== 104) break;
					message.matchedPreferenceTag = reader.int32();
					continue;
				case 101:
					if (tag !== 810) break;
					message.joinGroupMsgExtra = JoinGroupMessageExtra.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseJoinGroupBizContent_AbInfosEntry() {
	return {
		key: "0",
		value: void 0
	};
}
const JoinGroupBizContent_AbInfosEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) CohostABInfo.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseJoinGroupBizContent_AbInfosEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = CohostABInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseJoinGroupContent() {
	return {
		groupUser: void 0,
		joinUser: void 0,
		type: 0,
		groupExtInfo: []
	};
}
const JoinGroupContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.groupUser !== void 0) GroupChannelAllUser.encode(message.groupUser, writer.uint32(10).fork()).join();
		if (message.joinUser !== void 0) GroupPlayer.encode(message.joinUser, writer.uint32(18).fork()).join();
		if (message.type !== 0) writer.uint32(24).int32(message.type);
		for (const v of message.groupExtInfo) RTCExtraInfo.encode(v, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseJoinGroupContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.groupUser = GroupChannelAllUser.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.joinUser = GroupPlayer.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.type = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.groupExtInfo.push(RTCExtraInfo.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseJoinGroupDirectBizContent() {
	return {
		gameplayContent: void 0,
		randomMatchContent: void 0,
		skipCancelMatch: false
	};
}
const JoinGroupDirectBizContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.gameplayContent !== void 0) GamePlayContent.encode(message.gameplayContent, writer.uint32(10).fork()).join();
		if (message.randomMatchContent !== void 0) RandomMatchContent.encode(message.randomMatchContent, writer.uint32(18).fork()).join();
		if (message.skipCancelMatch !== false) writer.uint32(24).bool(message.skipCancelMatch);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseJoinGroupDirectBizContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.gameplayContent = GamePlayContent.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.randomMatchContent = RandomMatchContent.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.skipCancelMatch = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseJoinGroupDirectContent() {
	return {
		groupExtInfo: [],
		groupUser: void 0,
		migrationDetails: void 0,
		contentPos: [],
		crossRoomLayout: void 0
	};
}
const JoinGroupDirectContent = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.groupExtInfo) RTCExtraInfo.encode(v, writer.uint32(10).fork()).join();
		if (message.groupUser !== void 0) GroupChannelAllUser.encode(message.groupUser, writer.uint32(18).fork()).join();
		if (message.migrationDetails !== void 0) MigrationDetails.encode(message.migrationDetails, writer.uint32(26).fork()).join();
		for (const v of message.contentPos) ContentPosition.encode(v, writer.uint32(34).fork()).join();
		if (message.crossRoomLayout !== void 0) LayoutData.encode(message.crossRoomLayout, writer.uint32(42).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseJoinGroupDirectContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.groupExtInfo.push(RTCExtraInfo.decode(reader, reader.uint32()));
					continue;
				case 2:
					if (tag !== 18) break;
					message.groupUser = GroupChannelAllUser.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.migrationDetails = MigrationDetails.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.contentPos.push(ContentPosition.decode(reader, reader.uint32()));
					continue;
				case 5:
					if (tag !== 42) break;
					message.crossRoomLayout = LayoutData.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseJoinGroupMessageExtra() {
	return {
		sourceType: "0",
		extra: void 0,
		otherUsers: [],
		invitationReorderExtra: void 0,
		rivalGuestsMap: {},
		isFromCohostOverIssue: false
	};
}
const JoinGroupMessageExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.sourceType !== "0") writer.uint32(8).int64(message.sourceType);
		if (message.extra !== void 0) RivalExtra.encode(message.extra, writer.uint32(18).fork()).join();
		for (const v of message.otherUsers) RivalExtra.encode(v, writer.uint32(26).fork()).join();
		if (message.invitationReorderExtra !== void 0) InvitationReorderExtra.encode(message.invitationReorderExtra, writer.uint32(34).fork()).join();
		globalThis.Object.entries(message.rivalGuestsMap).forEach(([key, value]) => {
			JoinGroupMessageExtra_RivalGuestsMapEntry.encode({
				key,
				value
			}, writer.uint32(42).fork()).join();
		});
		if (message.isFromCohostOverIssue !== false) writer.uint32(48).bool(message.isFromCohostOverIssue);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseJoinGroupMessageExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.sourceType = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.extra = RivalExtra.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.otherUsers.push(RivalExtra.decode(reader, reader.uint32()));
					continue;
				case 4:
					if (tag !== 34) break;
					message.invitationReorderExtra = InvitationReorderExtra.decode(reader, reader.uint32());
					continue;
				case 5: {
					if (tag !== 42) break;
					const entry5 = JoinGroupMessageExtra_RivalGuestsMapEntry.decode(reader, reader.uint32());
					if (entry5.value !== void 0) message.rivalGuestsMap[entry5.key] = entry5.value;
					continue;
				}
				case 6:
					if (tag !== 48) break;
					message.isFromCohostOverIssue = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseJoinGroupMessageExtra_RivalGuestsMapEntry() {
	return {
		key: "0",
		value: void 0
	};
}
const JoinGroupMessageExtra_RivalGuestsMapEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) RivalGuestExtras.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseJoinGroupMessageExtra_RivalGuestsMapEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = RivalGuestExtras.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseJoinRoomDirectBizContent() {
	return {
		linkTypePermission: "0",
		isFullPositionPreApproved: false
	};
}
const JoinRoomDirectBizContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.linkTypePermission !== "0") writer.uint32(8).int64(message.linkTypePermission);
		if (message.isFullPositionPreApproved !== false) writer.uint32(16).bool(message.isFullPositionPreApproved);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseJoinRoomDirectBizContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.linkTypePermission = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.isFullPositionPreApproved = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseJoinRoomDirectContent() {
	return {
		joiner: void 0,
		joinerLinkMicId: "",
		joinerExtInfo: void 0,
		layout: void 0,
		spotList: [],
		uiPos: []
	};
}
const JoinRoomDirectContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.joiner !== void 0) Player.encode(message.joiner, writer.uint32(10).fork()).join();
		if (message.joinerLinkMicId !== "") writer.uint32(18).string(message.joinerLinkMicId);
		if (message.joinerExtInfo !== void 0) RTCExtraInfo.encode(message.joinerExtInfo, writer.uint32(26).fork()).join();
		if (message.layout !== void 0) LayoutState.encode(message.layout, writer.uint32(34).fork()).join();
		for (const v of message.spotList) SpotInfo.encode(v, writer.uint32(42).fork()).join();
		for (const v of message.uiPos) PosIdentity.encode(v, writer.uint32(50).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseJoinRoomDirectContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.joiner = Player.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.joinerLinkMicId = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.joinerExtInfo = RTCExtraInfo.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.layout = LayoutState.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.spotList.push(SpotInfo.decode(reader, reader.uint32()));
					continue;
				case 6:
					if (tag !== 50) break;
					message.uiPos.push(PosIdentity.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseJustDanceExtra() {
	return {};
}
const JustDanceExtra = {
	encode(_, writer = new BinaryWriter()) {
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseJustDanceExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseJustDanceLayoutExtra() {
	return { justDanceSongTitle: "" };
}
const JustDanceLayoutExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.justDanceSongTitle !== "") writer.uint32(10).string(message.justDanceSongTitle);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseJustDanceLayoutExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.justDanceSongTitle = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseKickOutBizContent() {
	return {
		operatorUserInfo: void 0,
		operatorLinkAdminType: 0,
		kickPlayerUserInfo: void 0
	};
}
const KickOutBizContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.operatorUserInfo !== void 0) User.encode(message.operatorUserInfo, writer.uint32(10).fork()).join();
		if (message.operatorLinkAdminType !== 0) writer.uint32(16).int32(message.operatorLinkAdminType);
		if (message.kickPlayerUserInfo !== void 0) User.encode(message.kickPlayerUserInfo, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseKickOutBizContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.operatorUserInfo = User.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.operatorLinkAdminType = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.kickPlayerUserInfo = User.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLeaveJoinGroupContent() {
	return {
		operator: void 0,
		groupChannelId: "0",
		leaveSource: "",
		linkedUserUiPositions: []
	};
}
const LeaveJoinGroupContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.operator !== void 0) GroupPlayer.encode(message.operator, writer.uint32(10).fork()).join();
		if (message.groupChannelId !== "0") writer.uint32(16).int64(message.groupChannelId);
		if (message.leaveSource !== "") writer.uint32(26).string(message.leaveSource);
		for (const v of message.linkedUserUiPositions) writer.uint32(34).string(v);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLeaveJoinGroupContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.operator = GroupPlayer.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.groupChannelId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.leaveSource = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.linkedUserUiPositions.push(reader.string());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkEnvelopeContent() {
	return {
		sender: void 0,
		receiver: void 0,
		messagePayload: void 0
	};
}
const LinkEnvelopeContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.sender !== void 0) LinkUserIdentity.encode(message.sender, writer.uint32(10).fork()).join();
		if (message.receiver !== void 0) LinkUserIdentity.encode(message.receiver, writer.uint32(18).fork()).join();
		if (message.messagePayload !== void 0) LinkEnvelopeMessagePayload.encode(message.messagePayload, writer.uint32(82).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkEnvelopeContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.sender = LinkUserIdentity.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.receiver = LinkUserIdentity.decode(reader, reader.uint32());
					continue;
				case 10:
					if (tag !== 82) break;
					message.messagePayload = LinkEnvelopeMessagePayload.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseListChangeBizContent() {
	return {
		userInfos: {},
		waitingUsers: [],
		abInfos: {},
		guestUserInfos: {},
		gameplayContent: void 0
	};
}
const ListChangeBizContent = {
	encode(message, writer = new BinaryWriter()) {
		globalThis.Object.entries(message.userInfos).forEach(([key, value]) => {
			ListChangeBizContent_UserInfosEntry.encode({
				key,
				value
			}, writer.uint32(10).fork()).join();
		});
		for (const v of message.waitingUsers) VirtualWaitingUser.encode(v, writer.uint32(18).fork()).join();
		globalThis.Object.entries(message.abInfos).forEach(([key, value]) => {
			ListChangeBizContent_AbInfosEntry.encode({
				key,
				value
			}, writer.uint32(26).fork()).join();
		});
		globalThis.Object.entries(message.guestUserInfos).forEach(([key, value]) => {
			ListChangeBizContent_GuestUserInfosEntry.encode({
				key,
				value
			}, writer.uint32(34).fork()).join();
		});
		if (message.gameplayContent !== void 0) GamePlayContent.encode(message.gameplayContent, writer.uint32(42).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseListChangeBizContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1: {
					if (tag !== 10) break;
					const entry1 = ListChangeBizContent_UserInfosEntry.decode(reader, reader.uint32());
					if (entry1.value !== void 0) message.userInfos[entry1.key] = entry1.value;
					continue;
				}
				case 2:
					if (tag !== 18) break;
					message.waitingUsers.push(VirtualWaitingUser.decode(reader, reader.uint32()));
					continue;
				case 3: {
					if (tag !== 26) break;
					const entry3 = ListChangeBizContent_AbInfosEntry.decode(reader, reader.uint32());
					if (entry3.value !== void 0) message.abInfos[entry3.key] = entry3.value;
					continue;
				}
				case 4: {
					if (tag !== 34) break;
					const entry4 = ListChangeBizContent_GuestUserInfosEntry.decode(reader, reader.uint32());
					if (entry4.value !== void 0) message.guestUserInfos[entry4.key] = entry4.value;
					continue;
				}
				case 5:
					if (tag !== 42) break;
					message.gameplayContent = GamePlayContent.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseListChangeBizContent_UserInfosEntry() {
	return {
		key: "0",
		value: void 0
	};
}
const ListChangeBizContent_UserInfosEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) CohostUserInfo.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseListChangeBizContent_UserInfosEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = CohostUserInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseListChangeBizContent_AbInfosEntry() {
	return {
		key: "0",
		value: void 0
	};
}
const ListChangeBizContent_AbInfosEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) CohostABInfo.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseListChangeBizContent_AbInfosEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = CohostABInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseListChangeBizContent_GuestUserInfosEntry() {
	return {
		key: "0",
		value: void 0
	};
}
const ListChangeBizContent_GuestUserInfosEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) GuestUserInfo.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseListChangeBizContent_GuestUserInfosEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = GuestUserInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMultiGuestBizLayoutExtra() {
	return { justDanceLayoutExtra: void 0 };
}
const MultiGuestBizLayoutExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.justDanceLayoutExtra !== void 0) JustDanceLayoutExtra.encode(message.justDanceLayoutExtra, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMultiGuestBizLayoutExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.justDanceLayoutExtra = JustDanceLayoutExtra.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMultiGuestBizSpotExtra() {
	return {
		soundWareEffectExtra: void 0,
		justDanceExtra: void 0
	};
}
const MultiGuestBizSpotExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.soundWareEffectExtra !== void 0) SoundWareEffectExtra.encode(message.soundWareEffectExtra, writer.uint32(10).fork()).join();
		if (message.justDanceExtra !== void 0) JustDanceExtra.encode(message.justDanceExtra, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMultiGuestBizSpotExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.soundWareEffectExtra = SoundWareEffectExtra.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.justDanceExtra = JustDanceExtra.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseP2PGroupChangeContent() {
	return {
		groupExtInfo: [],
		groupUser: void 0,
		migrationDetails: void 0,
		contentPos: [],
		crossRoomLayout: void 0
	};
}
const P2PGroupChangeContent = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.groupExtInfo) RTCExtraInfo.encode(v, writer.uint32(10).fork()).join();
		if (message.groupUser !== void 0) GroupChannelAllUser.encode(message.groupUser, writer.uint32(18).fork()).join();
		if (message.migrationDetails !== void 0) MigrationDetails.encode(message.migrationDetails, writer.uint32(26).fork()).join();
		for (const v of message.contentPos) ContentPosition.encode(v, writer.uint32(34).fork()).join();
		if (message.crossRoomLayout !== void 0) LayoutData.encode(message.crossRoomLayout, writer.uint32(42).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseP2PGroupChangeContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.groupExtInfo.push(RTCExtraInfo.decode(reader, reader.uint32()));
					continue;
				case 2:
					if (tag !== 18) break;
					message.groupUser = GroupChannelAllUser.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.migrationDetails = MigrationDetails.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.contentPos.push(ContentPosition.decode(reader, reader.uint32()));
					continue;
				case 5:
					if (tag !== 42) break;
					message.crossRoomLayout = LayoutData.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePermitJoinGroupBizContent() {
	return {
		replyStatus: 0,
		sourceType: 0,
		skipCancelMatch: false,
		matchedPreferenceTag: 0,
		quickCohostInviteeUserInfo: void 0
	};
}
const PermitJoinGroupBizContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.replyStatus !== 0) writer.uint32(8).int32(message.replyStatus);
		if (message.sourceType !== 0) writer.uint32(16).int32(message.sourceType);
		if (message.skipCancelMatch !== false) writer.uint32(24).bool(message.skipCancelMatch);
		if (message.matchedPreferenceTag !== 0) writer.uint32(32).int32(message.matchedPreferenceTag);
		if (message.quickCohostInviteeUserInfo !== void 0) QuickCohostInviteeUserInfo.encode(message.quickCohostInviteeUserInfo, writer.uint32(42).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePermitJoinGroupBizContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.replyStatus = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.sourceType = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.skipCancelMatch = reader.bool();
					continue;
				case 4:
					if (tag !== 32) break;
					message.matchedPreferenceTag = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.quickCohostInviteeUserInfo = QuickCohostInviteeUserInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePermitJoinGroupContent() {
	return {
		approver: void 0,
		agreeStatus: 0,
		type: 0,
		groupExtInfo: [],
		groupUser: void 0,
		migrationDetails: void 0,
		linkedUserUiPositions: [],
		permitGroupType: 0,
		crossRoomLayout: void 0
	};
}
const PermitJoinGroupContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.approver !== void 0) GroupPlayer.encode(message.approver, writer.uint32(10).fork()).join();
		if (message.agreeStatus !== 0) writer.uint32(16).int32(message.agreeStatus);
		if (message.type !== 0) writer.uint32(24).int32(message.type);
		for (const v of message.groupExtInfo) RTCExtraInfo.encode(v, writer.uint32(34).fork()).join();
		if (message.groupUser !== void 0) GroupChannelAllUser.encode(message.groupUser, writer.uint32(42).fork()).join();
		if (message.migrationDetails !== void 0) MigrationDetails.encode(message.migrationDetails, writer.uint32(50).fork()).join();
		for (const v of message.linkedUserUiPositions) writer.uint32(58).string(v);
		if (message.permitGroupType !== 0) writer.uint32(64).int32(message.permitGroupType);
		if (message.crossRoomLayout !== void 0) LayoutData.encode(message.crossRoomLayout, writer.uint32(74).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePermitJoinGroupContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.approver = GroupPlayer.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.agreeStatus = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.type = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.groupExtInfo.push(RTCExtraInfo.decode(reader, reader.uint32()));
					continue;
				case 5:
					if (tag !== 42) break;
					message.groupUser = GroupChannelAllUser.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.migrationDetails = MigrationDetails.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.linkedUserUiPositions.push(reader.string());
					continue;
				case 8:
					if (tag !== 64) break;
					message.permitGroupType = reader.int32();
					continue;
				case 9:
					if (tag !== 74) break;
					message.crossRoomLayout = LayoutData.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseQuickCohostInviteeUserInfo() {
	return {
		avatarThumb: void 0,
		nickname: ""
	};
}
const QuickCohostInviteeUserInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.avatarThumb !== void 0) ImageModel.encode(message.avatarThumb, writer.uint32(10).fork()).join();
		if (message.nickname !== "") writer.uint32(18).string(message.nickname);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseQuickCohostInviteeUserInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.avatarThumb = ImageModel.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.nickname = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRivalExtra() {
	return {
		userCount: "0",
		avatarThumb: void 0,
		displayId: "",
		authenticationInfo: void 0,
		nickname: "",
		followStatus: "0",
		hashtag: void 0,
		topHostInfo: void 0,
		userId: "0",
		isBestTeammate: false,
		optPairInfo: void 0,
		eoyLevel: "0",
		nudgeInfo: 0,
		reservationId: "0",
		followerCount: "0",
		gameTag: void 0,
		giftGalleryBadgeInfo: void 0,
		roomId: "0",
		activityBadgeInfo: void 0
	};
}
const RivalExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userCount !== "0") writer.uint32(32).int64(message.userCount);
		if (message.avatarThumb !== void 0) ImageModel.encode(message.avatarThumb, writer.uint32(42).fork()).join();
		if (message.displayId !== "") writer.uint32(50).string(message.displayId);
		if (message.authenticationInfo !== void 0) AuthenticationInfo.encode(message.authenticationInfo, writer.uint32(58).fork()).join();
		if (message.nickname !== "") writer.uint32(66).string(message.nickname);
		if (message.followStatus !== "0") writer.uint32(72).int64(message.followStatus);
		if (message.hashtag !== void 0) Hashtag.encode(message.hashtag, writer.uint32(82).fork()).join();
		if (message.topHostInfo !== void 0) TopHostInfo.encode(message.topHostInfo, writer.uint32(90).fork()).join();
		if (message.userId !== "0") writer.uint32(96).int64(message.userId);
		if (message.isBestTeammate !== false) writer.uint32(104).bool(message.isBestTeammate);
		if (message.optPairInfo !== void 0) OptPairInfo.encode(message.optPairInfo, writer.uint32(114).fork()).join();
		if (message.eoyLevel !== "0") writer.uint32(120).int64(message.eoyLevel);
		if (message.nudgeInfo !== 0) writer.uint32(128).int32(message.nudgeInfo);
		if (message.reservationId !== "0") writer.uint32(136).int64(message.reservationId);
		if (message.followerCount !== "0") writer.uint32(144).int64(message.followerCount);
		if (message.gameTag !== void 0) RivalsGameTag.encode(message.gameTag, writer.uint32(154).fork()).join();
		if (message.giftGalleryBadgeInfo !== void 0) GiftGalleryBadgeInfo.encode(message.giftGalleryBadgeInfo, writer.uint32(162).fork()).join();
		if (message.roomId !== "0") writer.uint32(168).int64(message.roomId);
		if (message.activityBadgeInfo !== void 0) ActivityBadgeInfo.encode(message.activityBadgeInfo, writer.uint32(178).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRivalExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 4:
					if (tag !== 32) break;
					message.userCount = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.avatarThumb = ImageModel.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.displayId = reader.string();
					continue;
				case 7:
					if (tag !== 58) break;
					message.authenticationInfo = AuthenticationInfo.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.nickname = reader.string();
					continue;
				case 9:
					if (tag !== 72) break;
					message.followStatus = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 82) break;
					message.hashtag = Hashtag.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 90) break;
					message.topHostInfo = TopHostInfo.decode(reader, reader.uint32());
					continue;
				case 12:
					if (tag !== 96) break;
					message.userId = reader.int64().toString();
					continue;
				case 13:
					if (tag !== 104) break;
					message.isBestTeammate = reader.bool();
					continue;
				case 14:
					if (tag !== 114) break;
					message.optPairInfo = OptPairInfo.decode(reader, reader.uint32());
					continue;
				case 15:
					if (tag !== 120) break;
					message.eoyLevel = reader.int64().toString();
					continue;
				case 16:
					if (tag !== 128) break;
					message.nudgeInfo = reader.int32();
					continue;
				case 17:
					if (tag !== 136) break;
					message.reservationId = reader.int64().toString();
					continue;
				case 18:
					if (tag !== 144) break;
					message.followerCount = reader.int64().toString();
					continue;
				case 19:
					if (tag !== 154) break;
					message.gameTag = RivalsGameTag.decode(reader, reader.uint32());
					continue;
				case 20:
					if (tag !== 162) break;
					message.giftGalleryBadgeInfo = GiftGalleryBadgeInfo.decode(reader, reader.uint32());
					continue;
				case 21:
					if (tag !== 168) break;
					message.roomId = reader.int64().toString();
					continue;
				case 22:
					if (tag !== 178) break;
					message.activityBadgeInfo = ActivityBadgeInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRivalGuestExtra() {
	return {
		userId: "0",
		avatarThumb: void 0,
		nickname: ""
	};
}
const RivalGuestExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.avatarThumb !== void 0) ImageModel.encode(message.avatarThumb, writer.uint32(18).fork()).join();
		if (message.nickname !== "") writer.uint32(26).string(message.nickname);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRivalGuestExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.avatarThumb = ImageModel.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.nickname = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRivalGuestExtras() {
	return { rivalGuests: [] };
}
const RivalGuestExtras = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.rivalGuests) RivalGuestExtra.encode(v, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRivalGuestExtras();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.rivalGuests.push(RivalGuestExtra.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSoundWareEffectExtra() {
	return {
		staticImageName: "",
		dynamicImageName: "",
		userRightId: "0",
		rightId: "0"
	};
}
const SoundWareEffectExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.staticImageName !== "") writer.uint32(10).string(message.staticImageName);
		if (message.dynamicImageName !== "") writer.uint32(18).string(message.dynamicImageName);
		if (message.userRightId !== "0") writer.uint32(24).int64(message.userRightId);
		if (message.rightId !== "0") writer.uint32(32).int64(message.rightId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSoundWareEffectExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.staticImageName = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.dynamicImageName = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.userRightId = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.rightId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicLayoutStateMessage() {
	return {
		common: void 0,
		channelId: "0",
		scene: 0,
		version: "0",
		bizLayoutState: void 0,
		bizSpotList: []
	};
}
const WebcastLinkMicLayoutStateMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.channelId !== "0") writer.uint32(16).int64(message.channelId);
		if (message.scene !== 0) writer.uint32(24).int32(message.scene);
		if (message.version !== "0") writer.uint32(32).int64(message.version);
		if (message.bizLayoutState !== void 0) BizLayoutState.encode(message.bizLayoutState, writer.uint32(42).fork()).join();
		for (const v of message.bizSpotList) BizSpotInfo.encode(v, writer.uint32(50).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicLayoutStateMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.channelId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.scene = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.version = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.bizLayoutState = BizLayoutState.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.bizSpotList.push(BizSpotInfo.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkStateMessage() {
	return {
		common: void 0,
		channelId: "0",
		scene: 0,
		version: "0",
		needAck: 0,
		layout: void 0,
		userStates: [],
		clientSendTime: "0",
		stateType: 0,
		background: void 0,
		wallpaperUrl: "",
		uiPos: [],
		spotList: [],
		audioMutedRemoteChannels: [],
		linkerMode: 0
	};
}
const WebcastLinkStateMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.channelId !== "0") writer.uint32(16).int64(message.channelId);
		if (message.scene !== 0) writer.uint32(24).int32(message.scene);
		if (message.version !== "0") writer.uint32(32).int64(message.version);
		if (message.needAck !== 0) writer.uint32(40).int32(message.needAck);
		if (message.layout !== void 0) LayoutState.encode(message.layout, writer.uint32(50).fork()).join();
		for (const v of message.userStates) LinkUserState.encode(v, writer.uint32(58).fork()).join();
		if (message.clientSendTime !== "0") writer.uint32(64).int64(message.clientSendTime);
		if (message.stateType !== 0) writer.uint32(72).int32(message.stateType);
		if (message.background !== void 0) BackGroundImageState.encode(message.background, writer.uint32(82).fork()).join();
		if (message.wallpaperUrl !== "") writer.uint32(98).string(message.wallpaperUrl);
		for (const v of message.uiPos) PosIdentity.encode(v, writer.uint32(106).fork()).join();
		for (const v of message.spotList) SpotInfo.encode(v, writer.uint32(114).fork()).join();
		writer.uint32(122).fork();
		for (const v of message.audioMutedRemoteChannels) writer.int64(v);
		writer.join();
		if (message.linkerMode !== 0) writer.uint32(128).int32(message.linkerMode);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkStateMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.channelId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.scene = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.version = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.needAck = reader.int32();
					continue;
				case 6:
					if (tag !== 50) break;
					message.layout = LayoutState.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.userStates.push(LinkUserState.decode(reader, reader.uint32()));
					continue;
				case 8:
					if (tag !== 64) break;
					message.clientSendTime = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 72) break;
					message.stateType = reader.int32();
					continue;
				case 10:
					if (tag !== 82) break;
					message.background = BackGroundImageState.decode(reader, reader.uint32());
					continue;
				case 12:
					if (tag !== 98) break;
					message.wallpaperUrl = reader.string();
					continue;
				case 13:
					if (tag !== 106) break;
					message.uiPos.push(PosIdentity.decode(reader, reader.uint32()));
					continue;
				case 14:
					if (tag !== 114) break;
					message.spotList.push(SpotInfo.decode(reader, reader.uint32()));
					continue;
				case 15:
					if (tag === 120) {
						message.audioMutedRemoteChannels.push(reader.int64().toString());
						continue;
					}
					if (tag === 122) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.audioMutedRemoteChannels.push(reader.int64().toString());
						continue;
					}
					break;
				case 16:
					if (tag !== 128) break;
					message.linkerMode = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/chatroom/model/multilive.ts
function createBaseMultiLiveAnchorPanelSettings() {
	return {
		userId: "0",
		layout: 0,
		fixMicNum: 0,
		allowRequestFromUser: 0,
		allowRequestFromFollowerOnly: 0,
		applierSortSetting: 0,
		applierSortGiftScoreThreshold: "0",
		allowRequestFromFriends: 0,
		allowRequestFromFollowers: 0,
		allowRequestFromOthers: 0,
		enableShowMultiGuestLayout: 0,
		disableVideoLinkmic: 0,
		multiGuestApplyAutoApprove: 0,
		multiGuestShareRevenueInfoVersion: "0",
		showAvailableSpot: 0,
		saveAsDefaultLayout: 0,
		multiGuestAllowCohostInvitation: 0,
		multiGuestAllowCohostInvitationOnce: 0,
		disableGuestOpenCamera: 0
	};
}
const MultiLiveAnchorPanelSettings = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.layout !== 0) writer.uint32(16).int32(message.layout);
		if (message.fixMicNum !== 0) writer.uint32(24).int32(message.fixMicNum);
		if (message.allowRequestFromUser !== 0) writer.uint32(32).int32(message.allowRequestFromUser);
		if (message.allowRequestFromFollowerOnly !== 0) writer.uint32(40).int32(message.allowRequestFromFollowerOnly);
		if (message.applierSortSetting !== 0) writer.uint32(56).int32(message.applierSortSetting);
		if (message.applierSortGiftScoreThreshold !== "0") writer.uint32(64).int64(message.applierSortGiftScoreThreshold);
		if (message.allowRequestFromFriends !== 0) writer.uint32(72).int32(message.allowRequestFromFriends);
		if (message.allowRequestFromFollowers !== 0) writer.uint32(80).int32(message.allowRequestFromFollowers);
		if (message.allowRequestFromOthers !== 0) writer.uint32(88).int32(message.allowRequestFromOthers);
		if (message.enableShowMultiGuestLayout !== 0) writer.uint32(96).int32(message.enableShowMultiGuestLayout);
		if (message.disableVideoLinkmic !== 0) writer.uint32(104).int32(message.disableVideoLinkmic);
		if (message.multiGuestApplyAutoApprove !== 0) writer.uint32(112).int32(message.multiGuestApplyAutoApprove);
		if (message.multiGuestShareRevenueInfoVersion !== "0") writer.uint32(120).int64(message.multiGuestShareRevenueInfoVersion);
		if (message.showAvailableSpot !== 0) writer.uint32(128).int32(message.showAvailableSpot);
		if (message.saveAsDefaultLayout !== 0) writer.uint32(136).int32(message.saveAsDefaultLayout);
		if (message.multiGuestAllowCohostInvitation !== 0) writer.uint32(144).int32(message.multiGuestAllowCohostInvitation);
		if (message.multiGuestAllowCohostInvitationOnce !== 0) writer.uint32(152).int32(message.multiGuestAllowCohostInvitationOnce);
		if (message.disableGuestOpenCamera !== 0) writer.uint32(160).int32(message.disableGuestOpenCamera);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMultiLiveAnchorPanelSettings();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.layout = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.fixMicNum = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.allowRequestFromUser = reader.int32();
					continue;
				case 5:
					if (tag !== 40) break;
					message.allowRequestFromFollowerOnly = reader.int32();
					continue;
				case 7:
					if (tag !== 56) break;
					message.applierSortSetting = reader.int32();
					continue;
				case 8:
					if (tag !== 64) break;
					message.applierSortGiftScoreThreshold = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 72) break;
					message.allowRequestFromFriends = reader.int32();
					continue;
				case 10:
					if (tag !== 80) break;
					message.allowRequestFromFollowers = reader.int32();
					continue;
				case 11:
					if (tag !== 88) break;
					message.allowRequestFromOthers = reader.int32();
					continue;
				case 12:
					if (tag !== 96) break;
					message.enableShowMultiGuestLayout = reader.int32();
					continue;
				case 13:
					if (tag !== 104) break;
					message.disableVideoLinkmic = reader.int32();
					continue;
				case 14:
					if (tag !== 112) break;
					message.multiGuestApplyAutoApprove = reader.int32();
					continue;
				case 15:
					if (tag !== 120) break;
					message.multiGuestShareRevenueInfoVersion = reader.int64().toString();
					continue;
				case 16:
					if (tag !== 128) break;
					message.showAvailableSpot = reader.int32();
					continue;
				case 17:
					if (tag !== 136) break;
					message.saveAsDefaultLayout = reader.int32();
					continue;
				case 18:
					if (tag !== 144) break;
					message.multiGuestAllowCohostInvitation = reader.int32();
					continue;
				case 19:
					if (tag !== 152) break;
					message.multiGuestAllowCohostInvitationOnce = reader.int32();
					continue;
				case 20:
					if (tag !== 160) break;
					message.disableGuestOpenCamera = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/chatroom/model/multiguestv3.ts
function createBaseApplyBizContent() {
	return { user: void 0 };
}
const ApplyBizContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.user !== void 0) User.encode(message.user, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseApplyBizContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBusinessContent() {
	return {
		overLength: "0",
		multiLiveContent: void 0,
		cohostContent: void 0
	};
}
const BusinessContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.overLength !== "0") writer.uint32(8).int64(message.overLength);
		if (message.multiLiveContent !== void 0) MultiLiveContent.encode(message.multiLiveContent, writer.uint32(802).fork()).join();
		if (message.cohostContent !== void 0) CohostContent.encode(message.cohostContent, writer.uint32(1602).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBusinessContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.overLength = reader.int64().toString();
					continue;
				case 100:
					if (tag !== 802) break;
					message.multiLiveContent = MultiLiveContent.decode(reader, reader.uint32());
					continue;
				case 200:
					if (tag !== 1602) break;
					message.cohostContent = CohostContent.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseInviteBizContent() {
	return {
		anchorSettingInfo: void 0,
		inviteSource: 0,
		operatorUserInfo: void 0,
		operatorLinkAdminType: 0,
		inviteeUserInfo: void 0,
		shareRevenueSetting: 0,
		shareRevenueSettingStruct: void 0
	};
}
const InviteBizContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.anchorSettingInfo !== void 0) MultiLiveAnchorPanelSettings.encode(message.anchorSettingInfo, writer.uint32(10).fork()).join();
		if (message.inviteSource !== 0) writer.uint32(16).int32(message.inviteSource);
		if (message.operatorUserInfo !== void 0) User.encode(message.operatorUserInfo, writer.uint32(26).fork()).join();
		if (message.operatorLinkAdminType !== 0) writer.uint32(32).int32(message.operatorLinkAdminType);
		if (message.inviteeUserInfo !== void 0) User.encode(message.inviteeUserInfo, writer.uint32(42).fork()).join();
		if (message.shareRevenueSetting !== 0) writer.uint32(48).int32(message.shareRevenueSetting);
		if (message.shareRevenueSettingStruct !== void 0) LinkmicShareRevenueSettingStruct.encode(message.shareRevenueSettingStruct, writer.uint32(58).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseInviteBizContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.anchorSettingInfo = MultiLiveAnchorPanelSettings.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.inviteSource = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.operatorUserInfo = User.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.operatorLinkAdminType = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.inviteeUserInfo = User.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 48) break;
					message.shareRevenueSetting = reader.int32();
					continue;
				case 7:
					if (tag !== 58) break;
					message.shareRevenueSettingStruct = LinkmicShareRevenueSettingStruct.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseJoinDirectBizContent() {
	return {
		replyImMsgId: "0",
		outsideRoomInviteSource: 0,
		isFullPositionPreApproved: false,
		mgSourceRole: 0
	};
}
const JoinDirectBizContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.replyImMsgId !== "0") writer.uint32(8).int64(message.replyImMsgId);
		if (message.outsideRoomInviteSource !== 0) writer.uint32(16).int32(message.outsideRoomInviteSource);
		if (message.isFullPositionPreApproved !== false) writer.uint32(24).bool(message.isFullPositionPreApproved);
		if (message.mgSourceRole !== 0) writer.uint32(32).int32(message.mgSourceRole);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseJoinDirectBizContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.replyImMsgId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.outsideRoomInviteSource = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.isFullPositionPreApproved = reader.bool();
					continue;
				case 4:
					if (tag !== 32) break;
					message.mgSourceRole = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMultiLiveContent() {
	return {
		applyBizContent: void 0,
		inviteBizContent: void 0,
		replyBizContent: void 0,
		permitBizContent: void 0,
		joinDirectBizContent: void 0,
		kickOutBizContent: void 0,
		joinRoomDirectBizContent: void 0
	};
}
const MultiLiveContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.applyBizContent !== void 0) ApplyBizContent.encode(message.applyBizContent, writer.uint32(10).fork()).join();
		if (message.inviteBizContent !== void 0) InviteBizContent.encode(message.inviteBizContent, writer.uint32(18).fork()).join();
		if (message.replyBizContent !== void 0) ReplyBizContent.encode(message.replyBizContent, writer.uint32(26).fork()).join();
		if (message.permitBizContent !== void 0) PermitBizContent.encode(message.permitBizContent, writer.uint32(34).fork()).join();
		if (message.joinDirectBizContent !== void 0) JoinDirectBizContent.encode(message.joinDirectBizContent, writer.uint32(42).fork()).join();
		if (message.kickOutBizContent !== void 0) KickOutBizContent.encode(message.kickOutBizContent, writer.uint32(50).fork()).join();
		if (message.joinRoomDirectBizContent !== void 0) JoinRoomDirectBizContent.encode(message.joinRoomDirectBizContent, writer.uint32(58).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMultiLiveContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.applyBizContent = ApplyBizContent.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.inviteBizContent = InviteBizContent.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.replyBizContent = ReplyBizContent.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.permitBizContent = PermitBizContent.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.joinDirectBizContent = JoinDirectBizContent.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.kickOutBizContent = KickOutBizContent.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.joinRoomDirectBizContent = JoinRoomDirectBizContent.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePermitBizContent() {
	return {
		anchorSettingInfo: void 0,
		expireTimestamp: "0",
		operatorUserInfo: void 0,
		operatorLinkAdminType: 0,
		linkUserType: 0,
		isApplyAutoApproved: false,
		linkTypePermission: "0",
		isFullPositionPreApproved: false,
		isQuickCallAutoApproved: false
	};
}
const PermitBizContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.anchorSettingInfo !== void 0) MultiLiveAnchorPanelSettings.encode(message.anchorSettingInfo, writer.uint32(10).fork()).join();
		if (message.expireTimestamp !== "0") writer.uint32(16).int64(message.expireTimestamp);
		if (message.operatorUserInfo !== void 0) User.encode(message.operatorUserInfo, writer.uint32(26).fork()).join();
		if (message.operatorLinkAdminType !== 0) writer.uint32(32).int32(message.operatorLinkAdminType);
		if (message.linkUserType !== 0) writer.uint32(40).int32(message.linkUserType);
		if (message.isApplyAutoApproved !== false) writer.uint32(48).bool(message.isApplyAutoApproved);
		if (message.linkTypePermission !== "0") writer.uint32(56).int64(message.linkTypePermission);
		if (message.isFullPositionPreApproved !== false) writer.uint32(64).bool(message.isFullPositionPreApproved);
		if (message.isQuickCallAutoApproved !== false) writer.uint32(72).bool(message.isQuickCallAutoApproved);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePermitBizContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.anchorSettingInfo = MultiLiveAnchorPanelSettings.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.expireTimestamp = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.operatorUserInfo = User.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.operatorLinkAdminType = reader.int32();
					continue;
				case 5:
					if (tag !== 40) break;
					message.linkUserType = reader.int32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.isApplyAutoApproved = reader.bool();
					continue;
				case 7:
					if (tag !== 56) break;
					message.linkTypePermission = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 64) break;
					message.isFullPositionPreApproved = reader.bool();
					continue;
				case 9:
					if (tag !== 72) break;
					message.isQuickCallAutoApproved = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseReplyBizContent() {
	return {
		linkType: 0,
		isTurnOffInvitation: 0,
		replyUserInfo: void 0,
		isFullPositionPreApproved: false
	};
}
const ReplyBizContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.linkType !== 0) writer.uint32(8).int32(message.linkType);
		if (message.isTurnOffInvitation !== 0) writer.uint32(16).int32(message.isTurnOffInvitation);
		if (message.replyUserInfo !== void 0) User.encode(message.replyUserInfo, writer.uint32(26).fork()).join();
		if (message.isFullPositionPreApproved !== false) writer.uint32(32).bool(message.isFullPositionPreApproved);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseReplyBizContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.linkType = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.isTurnOffInvitation = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.replyUserInfo = User.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.isFullPositionPreApproved = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/envelope.ts
function createBaseEnvelopeEnigmaInfo() {
	return { isEnigmaMaskOn: false };
}
const EnvelopeEnigmaInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.isEnigmaMaskOn !== false) writer.uint32(8).bool(message.isEnigmaMaskOn);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseEnvelopeEnigmaInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.isEnigmaMaskOn = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/message_proto_perception_sheet_info.ts
function createBasePerceptionSheetInfo() {
	return {
		iconType: 0,
		title: void 0,
		subTitle: void 0,
		reasonTitle: void 0,
		reasonInfo: void 0,
		notAllowedTitle: void 0,
		notAllowedText: void 0,
		defaultActionText: void 0,
		scene: 0,
		targetUserId: "0",
		targetRoomId: "0",
		countDownTime: "0"
	};
}
const PerceptionSheetInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.iconType !== 0) writer.uint32(8).int32(message.iconType);
		if (message.title !== void 0) Text.encode(message.title, writer.uint32(18).fork()).join();
		if (message.subTitle !== void 0) Text.encode(message.subTitle, writer.uint32(26).fork()).join();
		if (message.reasonTitle !== void 0) Text.encode(message.reasonTitle, writer.uint32(34).fork()).join();
		if (message.reasonInfo !== void 0) Text.encode(message.reasonInfo, writer.uint32(42).fork()).join();
		if (message.notAllowedTitle !== void 0) Text.encode(message.notAllowedTitle, writer.uint32(50).fork()).join();
		if (message.notAllowedText !== void 0) Text.encode(message.notAllowedText, writer.uint32(58).fork()).join();
		if (message.defaultActionText !== void 0) Text.encode(message.defaultActionText, writer.uint32(66).fork()).join();
		if (message.scene !== 0) writer.uint32(72).int32(message.scene);
		if (message.targetUserId !== "0") writer.uint32(80).int64(message.targetUserId);
		if (message.targetRoomId !== "0") writer.uint32(88).int64(message.targetRoomId);
		if (message.countDownTime !== "0") writer.uint32(96).int64(message.countDownTime);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePerceptionSheetInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.iconType = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.title = Text.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.subTitle = Text.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.reasonTitle = Text.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.reasonInfo = Text.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.notAllowedTitle = Text.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.notAllowedText = Text.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.defaultActionText = Text.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 72) break;
					message.scene = reader.int32();
					continue;
				case 10:
					if (tag !== 80) break;
					message.targetUserId = reader.int64().toString();
					continue;
				case 11:
					if (tag !== 88) break;
					message.targetRoomId = reader.int64().toString();
					continue;
				case 12:
					if (tag !== 96) break;
					message.countDownTime = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/base/emoji.ts
function createBaseEmoteModel() {
	return {
		emoteId: "",
		image: void 0,
		auditStatus: 0,
		uuid: "",
		emoteType: 0,
		contentSource: 0,
		emotePrivateType: 0,
		packageId: "",
		auditInfo: void 0,
		rewardCondition: 0,
		emoteUploadInfo: void 0,
		createTime: "0",
		emoteScene: 0
	};
}
const EmoteModel = {
	encode(message, writer = new BinaryWriter()) {
		if (message.emoteId !== "") writer.uint32(10).string(message.emoteId);
		if (message.image !== void 0) ImageModel.encode(message.image, writer.uint32(18).fork()).join();
		if (message.auditStatus !== 0) writer.uint32(24).int32(message.auditStatus);
		if (message.uuid !== "") writer.uint32(34).string(message.uuid);
		if (message.emoteType !== 0) writer.uint32(40).int32(message.emoteType);
		if (message.contentSource !== 0) writer.uint32(48).int32(message.contentSource);
		if (message.emotePrivateType !== 0) writer.uint32(56).int32(message.emotePrivateType);
		if (message.packageId !== "") writer.uint32(66).string(message.packageId);
		if (message.auditInfo !== void 0) EmoteModelAuditInfo.encode(message.auditInfo, writer.uint32(74).fork()).join();
		if (message.rewardCondition !== 0) writer.uint32(80).int32(message.rewardCondition);
		if (message.emoteUploadInfo !== void 0) EmoteUploadInfo.encode(message.emoteUploadInfo, writer.uint32(90).fork()).join();
		if (message.createTime !== "0") writer.uint32(96).int64(message.createTime);
		if (message.emoteScene !== 0) writer.uint32(104).int32(message.emoteScene);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseEmoteModel();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.emoteId = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.image = ImageModel.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.auditStatus = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.uuid = reader.string();
					continue;
				case 5:
					if (tag !== 40) break;
					message.emoteType = reader.int32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.contentSource = reader.int32();
					continue;
				case 7:
					if (tag !== 56) break;
					message.emotePrivateType = reader.int32();
					continue;
				case 8:
					if (tag !== 66) break;
					message.packageId = reader.string();
					continue;
				case 9:
					if (tag !== 74) break;
					message.auditInfo = EmoteModelAuditInfo.decode(reader, reader.uint32());
					continue;
				case 10:
					if (tag !== 80) break;
					message.rewardCondition = reader.int32();
					continue;
				case 11:
					if (tag !== 90) break;
					message.emoteUploadInfo = EmoteUploadInfo.decode(reader, reader.uint32());
					continue;
				case 12:
					if (tag !== 96) break;
					message.createTime = reader.int64().toString();
					continue;
				case 13:
					if (tag !== 104) break;
					message.emoteScene = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseEmoteWithIndex() {
	return {
		index: 0,
		emote: void 0
	};
}
const EmoteWithIndex = {
	encode(message, writer = new BinaryWriter()) {
		if (message.index !== 0) writer.uint32(8).int32(message.index);
		if (message.emote !== void 0) EmoteModel.encode(message.emote, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseEmoteWithIndex();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.index = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.emote = EmoteModel.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/color_group.ts
function createBaseGift() {
	return {
		image: void 0,
		describe: "",
		duration: 0,
		id: "0",
		forLinkmic: false,
		combo: false,
		type: 0,
		diamondCount: 0,
		isDisplayedOnPanel: false,
		primaryEffectId: "0",
		giftLabelIcon: void 0,
		name: "",
		icon: void 0,
		goldEffect: "",
		previewImage: void 0,
		giftPanelBanner: void 0,
		isBroadcastGift: false,
		isEffectBefview: false,
		isRandomGift: false,
		isBoxGift: false,
		canPutInGiftBox: false,
		giftBoxInfo: void 0,
		trackerParams: {},
		lockInfo: void 0,
		colorInfos: [],
		giftRankRecommendInfo: "",
		randomEffectInfo: void 0,
		giftSubType: 0,
		giftVerticalScenarios: [],
		groupInTab: 0,
		isGalleryGift: false,
		giftSponsorInfo: void 0,
		giftSkins: [],
		giftLabelType: 0,
		giftTexts: [],
		giftSkinToGiftTextsInfos: [],
		expirationTimestamp: "0",
		batchGiftInfo: void 0,
		isGlobalGift: false,
		disableGalleryBanner: false,
		ugGiftInfo: void 0,
		crossScreenEffectInfo: void 0,
		beaconBubble: void 0,
		giftResources: {},
		resourceId: "0",
		bizExtra: {},
		lynxCrossScreenEffectInfo: void 0,
		giftStructHash: "",
		schemeInfo: void 0,
		seriesInfo: void 0,
		colorPickerInfo: void 0,
		musicInfo: void 0,
		giftBottomRightLabelIcon: void 0,
		strategyEvent: ""
	};
}
const Gift = {
	encode(message, writer = new BinaryWriter()) {
		if (message.image !== void 0) ImageModel.encode(message.image, writer.uint32(10).fork()).join();
		if (message.describe !== "") writer.uint32(18).string(message.describe);
		if (message.duration !== 0) writer.uint32(32).int32(message.duration);
		if (message.id !== "0") writer.uint32(40).int64(message.id);
		if (message.forLinkmic !== false) writer.uint32(56).bool(message.forLinkmic);
		if (message.combo !== false) writer.uint32(80).bool(message.combo);
		if (message.type !== 0) writer.uint32(88).int32(message.type);
		if (message.diamondCount !== 0) writer.uint32(96).int32(message.diamondCount);
		if (message.isDisplayedOnPanel !== false) writer.uint32(104).bool(message.isDisplayedOnPanel);
		if (message.primaryEffectId !== "0") writer.uint32(112).int64(message.primaryEffectId);
		if (message.giftLabelIcon !== void 0) ImageModel.encode(message.giftLabelIcon, writer.uint32(122).fork()).join();
		if (message.name !== "") writer.uint32(130).string(message.name);
		if (message.icon !== void 0) ImageModel.encode(message.icon, writer.uint32(170).fork()).join();
		if (message.goldEffect !== "") writer.uint32(194).string(message.goldEffect);
		if (message.previewImage !== void 0) ImageModel.encode(message.previewImage, writer.uint32(378).fork()).join();
		if (message.giftPanelBanner !== void 0) GiftPanelBanner.encode(message.giftPanelBanner, writer.uint32(386).fork()).join();
		if (message.isBroadcastGift !== false) writer.uint32(392).bool(message.isBroadcastGift);
		if (message.isEffectBefview !== false) writer.uint32(400).bool(message.isEffectBefview);
		if (message.isRandomGift !== false) writer.uint32(408).bool(message.isRandomGift);
		if (message.isBoxGift !== false) writer.uint32(416).bool(message.isBoxGift);
		if (message.canPutInGiftBox !== false) writer.uint32(424).bool(message.canPutInGiftBox);
		if (message.giftBoxInfo !== void 0) GiftBoxInfo.encode(message.giftBoxInfo, writer.uint32(434).fork()).join();
		globalThis.Object.entries(message.trackerParams).forEach(([key, value]) => {
			Gift_TrackerParamsEntry.encode({
				key,
				value
			}, writer.uint32(802).fork()).join();
		});
		if (message.lockInfo !== void 0) GiftLockInfo.encode(message.lockInfo, writer.uint32(810).fork()).join();
		for (const v of message.colorInfos) GiftColorInfo.encode(v, writer.uint32(818).fork()).join();
		if (message.giftRankRecommendInfo !== "") writer.uint32(826).string(message.giftRankRecommendInfo);
		if (message.randomEffectInfo !== void 0) GiftRandomEffectInfo.encode(message.randomEffectInfo, writer.uint32(834).fork()).join();
		if (message.giftSubType !== 0) writer.uint32(840).int32(message.giftSubType);
		writer.uint32(850).fork();
		for (const v of message.giftVerticalScenarios) writer.int32(v);
		writer.join();
		if (message.groupInTab !== 0) writer.uint32(856).int32(message.groupInTab);
		if (message.isGalleryGift !== false) writer.uint32(864).bool(message.isGalleryGift);
		if (message.giftSponsorInfo !== void 0) GiftSponsorInfo.encode(message.giftSponsorInfo, writer.uint32(874).fork()).join();
		for (const v of message.giftSkins) GiftSkin.encode(v, writer.uint32(882).fork()).join();
		if (message.giftLabelType !== 0) writer.uint32(888).int32(message.giftLabelType);
		for (const v of message.giftTexts) GiftText.encode(v, writer.uint32(898).fork()).join();
		for (const v of message.giftSkinToGiftTextsInfos) GiftSkinToGiftTextsInfo.encode(v, writer.uint32(906).fork()).join();
		if (message.expirationTimestamp !== "0") writer.uint32(912).int64(message.expirationTimestamp);
		if (message.batchGiftInfo !== void 0) BatchGiftInfo.encode(message.batchGiftInfo, writer.uint32(922).fork()).join();
		if (message.isGlobalGift !== false) writer.uint32(928).bool(message.isGlobalGift);
		if (message.disableGalleryBanner !== false) writer.uint32(936).bool(message.disableGalleryBanner);
		if (message.ugGiftInfo !== void 0) UGGiftStructInfo.encode(message.ugGiftInfo, writer.uint32(946).fork()).join();
		if (message.crossScreenEffectInfo !== void 0) CrossScreenEffectInfo.encode(message.crossScreenEffectInfo, writer.uint32(954).fork()).join();
		if (message.beaconBubble !== void 0) GiftPanelBeaconBubble.encode(message.beaconBubble, writer.uint32(962).fork()).join();
		globalThis.Object.entries(message.giftResources).forEach(([key, value]) => {
			Gift_GiftResourcesEntry.encode({
				key,
				value
			}, writer.uint32(970).fork()).join();
		});
		if (message.resourceId !== "0") writer.uint32(976).int64(message.resourceId);
		globalThis.Object.entries(message.bizExtra).forEach(([key, value]) => {
			Gift_BizExtraEntry.encode({
				key,
				value
			}, writer.uint32(986).fork()).join();
		});
		if (message.lynxCrossScreenEffectInfo !== void 0) LynxCrossScreenEffectInfo.encode(message.lynxCrossScreenEffectInfo, writer.uint32(994).fork()).join();
		if (message.giftStructHash !== "") writer.uint32(1002).string(message.giftStructHash);
		if (message.schemeInfo !== void 0) SchemeInfo.encode(message.schemeInfo, writer.uint32(1010).fork()).join();
		if (message.seriesInfo !== void 0) GiftSeriesInfo.encode(message.seriesInfo, writer.uint32(1018).fork()).join();
		if (message.colorPickerInfo !== void 0) ColorPickerInfo.encode(message.colorPickerInfo, writer.uint32(1026).fork()).join();
		if (message.musicInfo !== void 0) MusicGiftInfo.encode(message.musicInfo, writer.uint32(1122).fork()).join();
		if (message.giftBottomRightLabelIcon !== void 0) ImageModel.encode(message.giftBottomRightLabelIcon, writer.uint32(1130).fork()).join();
		if (message.strategyEvent !== "") writer.uint32(1610).string(message.strategyEvent);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGift();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.image = ImageModel.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.describe = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.duration = reader.int32();
					continue;
				case 5:
					if (tag !== 40) break;
					message.id = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.forLinkmic = reader.bool();
					continue;
				case 10:
					if (tag !== 80) break;
					message.combo = reader.bool();
					continue;
				case 11:
					if (tag !== 88) break;
					message.type = reader.int32();
					continue;
				case 12:
					if (tag !== 96) break;
					message.diamondCount = reader.int32();
					continue;
				case 13:
					if (tag !== 104) break;
					message.isDisplayedOnPanel = reader.bool();
					continue;
				case 14:
					if (tag !== 112) break;
					message.primaryEffectId = reader.int64().toString();
					continue;
				case 15:
					if (tag !== 122) break;
					message.giftLabelIcon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 16:
					if (tag !== 130) break;
					message.name = reader.string();
					continue;
				case 21:
					if (tag !== 170) break;
					message.icon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 24:
					if (tag !== 194) break;
					message.goldEffect = reader.string();
					continue;
				case 47:
					if (tag !== 378) break;
					message.previewImage = ImageModel.decode(reader, reader.uint32());
					continue;
				case 48:
					if (tag !== 386) break;
					message.giftPanelBanner = GiftPanelBanner.decode(reader, reader.uint32());
					continue;
				case 49:
					if (tag !== 392) break;
					message.isBroadcastGift = reader.bool();
					continue;
				case 50:
					if (tag !== 400) break;
					message.isEffectBefview = reader.bool();
					continue;
				case 51:
					if (tag !== 408) break;
					message.isRandomGift = reader.bool();
					continue;
				case 52:
					if (tag !== 416) break;
					message.isBoxGift = reader.bool();
					continue;
				case 53:
					if (tag !== 424) break;
					message.canPutInGiftBox = reader.bool();
					continue;
				case 54:
					if (tag !== 434) break;
					message.giftBoxInfo = GiftBoxInfo.decode(reader, reader.uint32());
					continue;
				case 100: {
					if (tag !== 802) break;
					const entry100 = Gift_TrackerParamsEntry.decode(reader, reader.uint32());
					if (entry100.value !== void 0) message.trackerParams[entry100.key] = entry100.value;
					continue;
				}
				case 101:
					if (tag !== 810) break;
					message.lockInfo = GiftLockInfo.decode(reader, reader.uint32());
					continue;
				case 102:
					if (tag !== 818) break;
					message.colorInfos.push(GiftColorInfo.decode(reader, reader.uint32()));
					continue;
				case 103:
					if (tag !== 826) break;
					message.giftRankRecommendInfo = reader.string();
					continue;
				case 104:
					if (tag !== 834) break;
					message.randomEffectInfo = GiftRandomEffectInfo.decode(reader, reader.uint32());
					continue;
				case 105:
					if (tag !== 840) break;
					message.giftSubType = reader.int32();
					continue;
				case 106:
					if (tag === 848) {
						message.giftVerticalScenarios.push(reader.int32());
						continue;
					}
					if (tag === 850) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.giftVerticalScenarios.push(reader.int32());
						continue;
					}
					break;
				case 107:
					if (tag !== 856) break;
					message.groupInTab = reader.int32();
					continue;
				case 108:
					if (tag !== 864) break;
					message.isGalleryGift = reader.bool();
					continue;
				case 109:
					if (tag !== 874) break;
					message.giftSponsorInfo = GiftSponsorInfo.decode(reader, reader.uint32());
					continue;
				case 110:
					if (tag !== 882) break;
					message.giftSkins.push(GiftSkin.decode(reader, reader.uint32()));
					continue;
				case 111:
					if (tag !== 888) break;
					message.giftLabelType = reader.int32();
					continue;
				case 112:
					if (tag !== 898) break;
					message.giftTexts.push(GiftText.decode(reader, reader.uint32()));
					continue;
				case 113:
					if (tag !== 906) break;
					message.giftSkinToGiftTextsInfos.push(GiftSkinToGiftTextsInfo.decode(reader, reader.uint32()));
					continue;
				case 114:
					if (tag !== 912) break;
					message.expirationTimestamp = reader.int64().toString();
					continue;
				case 115:
					if (tag !== 922) break;
					message.batchGiftInfo = BatchGiftInfo.decode(reader, reader.uint32());
					continue;
				case 116:
					if (tag !== 928) break;
					message.isGlobalGift = reader.bool();
					continue;
				case 117:
					if (tag !== 936) break;
					message.disableGalleryBanner = reader.bool();
					continue;
				case 118:
					if (tag !== 946) break;
					message.ugGiftInfo = UGGiftStructInfo.decode(reader, reader.uint32());
					continue;
				case 119:
					if (tag !== 954) break;
					message.crossScreenEffectInfo = CrossScreenEffectInfo.decode(reader, reader.uint32());
					continue;
				case 120:
					if (tag !== 962) break;
					message.beaconBubble = GiftPanelBeaconBubble.decode(reader, reader.uint32());
					continue;
				case 121: {
					if (tag !== 970) break;
					const entry121 = Gift_GiftResourcesEntry.decode(reader, reader.uint32());
					if (entry121.value !== void 0) message.giftResources[entry121.key] = entry121.value;
					continue;
				}
				case 122:
					if (tag !== 976) break;
					message.resourceId = reader.int64().toString();
					continue;
				case 123: {
					if (tag !== 986) break;
					const entry123 = Gift_BizExtraEntry.decode(reader, reader.uint32());
					if (entry123.value !== void 0) message.bizExtra[entry123.key] = entry123.value;
					continue;
				}
				case 124:
					if (tag !== 994) break;
					message.lynxCrossScreenEffectInfo = LynxCrossScreenEffectInfo.decode(reader, reader.uint32());
					continue;
				case 125:
					if (tag !== 1002) break;
					message.giftStructHash = reader.string();
					continue;
				case 126:
					if (tag !== 1010) break;
					message.schemeInfo = SchemeInfo.decode(reader, reader.uint32());
					continue;
				case 127:
					if (tag !== 1018) break;
					message.seriesInfo = GiftSeriesInfo.decode(reader, reader.uint32());
					continue;
				case 128:
					if (tag !== 1026) break;
					message.colorPickerInfo = ColorPickerInfo.decode(reader, reader.uint32());
					continue;
				case 140:
					if (tag !== 1122) break;
					message.musicInfo = MusicGiftInfo.decode(reader, reader.uint32());
					continue;
				case 141:
					if (tag !== 1130) break;
					message.giftBottomRightLabelIcon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 201:
					if (tag !== 1610) break;
					message.strategyEvent = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGift_TrackerParamsEntry() {
	return {
		key: "",
		value: ""
	};
}
const Gift_TrackerParamsEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.value !== "") writer.uint32(18).string(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGift_TrackerParamsEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGift_GiftResourcesEntry() {
	return {
		key: "",
		value: void 0
	};
}
const Gift_GiftResourcesEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.value !== void 0) GiftResource.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGift_GiftResourcesEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = GiftResource.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGift_BizExtraEntry() {
	return {
		key: "0",
		value: ""
	};
}
const Gift_BizExtraEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== "") writer.uint32(18).string(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGift_BizExtraEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftPanelBanner() {
	return {
		displayText: void 0,
		leftIcon: void 0,
		schemaUrl: "",
		bgColorValues: [],
		bannerLynxUrl: "",
		bannerPriority: 0,
		bannerLynxExtra: "",
		bgImage: void 0
	};
}
const GiftPanelBanner = {
	encode(message, writer = new BinaryWriter()) {
		if (message.displayText !== void 0) Text.encode(message.displayText, writer.uint32(10).fork()).join();
		if (message.leftIcon !== void 0) ImageModel.encode(message.leftIcon, writer.uint32(18).fork()).join();
		if (message.schemaUrl !== "") writer.uint32(26).string(message.schemaUrl);
		for (const v of message.bgColorValues) writer.uint32(42).string(v);
		if (message.bannerLynxUrl !== "") writer.uint32(50).string(message.bannerLynxUrl);
		if (message.bannerPriority !== 0) writer.uint32(56).int32(message.bannerPriority);
		if (message.bannerLynxExtra !== "") writer.uint32(66).string(message.bannerLynxExtra);
		if (message.bgImage !== void 0) ImageModel.encode(message.bgImage, writer.uint32(74).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftPanelBanner();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.displayText = Text.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.leftIcon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.schemaUrl = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.bgColorValues.push(reader.string());
					continue;
				case 6:
					if (tag !== 50) break;
					message.bannerLynxUrl = reader.string();
					continue;
				case 7:
					if (tag !== 56) break;
					message.bannerPriority = reader.int32();
					continue;
				case 8:
					if (tag !== 66) break;
					message.bannerLynxExtra = reader.string();
					continue;
				case 9:
					if (tag !== 74) break;
					message.bgImage = ImageModel.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftTrayInfo() {
	return {
		trayDynamicImg: void 0,
		canMirror: false,
		trayNormalBgImg: void 0,
		trayNormalBgColor: [],
		traySmallBgImg: void 0,
		traySmallBgColor: [],
		rightTagText: void 0,
		rightTagBgImg: void 0,
		rightTagBgColor: [],
		trayNameTextColor: "",
		trayDescTextColor: "",
		rightTagJumpSchema: "",
		giftTrayJumpSchema: ""
	};
}
const GiftTrayInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.trayDynamicImg !== void 0) ImageModel.encode(message.trayDynamicImg, writer.uint32(10).fork()).join();
		if (message.canMirror !== false) writer.uint32(16).bool(message.canMirror);
		if (message.trayNormalBgImg !== void 0) ImageModel.encode(message.trayNormalBgImg, writer.uint32(26).fork()).join();
		for (const v of message.trayNormalBgColor) writer.uint32(34).string(v);
		if (message.traySmallBgImg !== void 0) ImageModel.encode(message.traySmallBgImg, writer.uint32(42).fork()).join();
		for (const v of message.traySmallBgColor) writer.uint32(50).string(v);
		if (message.rightTagText !== void 0) Text.encode(message.rightTagText, writer.uint32(58).fork()).join();
		if (message.rightTagBgImg !== void 0) ImageModel.encode(message.rightTagBgImg, writer.uint32(66).fork()).join();
		for (const v of message.rightTagBgColor) writer.uint32(74).string(v);
		if (message.trayNameTextColor !== "") writer.uint32(82).string(message.trayNameTextColor);
		if (message.trayDescTextColor !== "") writer.uint32(90).string(message.trayDescTextColor);
		if (message.rightTagJumpSchema !== "") writer.uint32(98).string(message.rightTagJumpSchema);
		if (message.giftTrayJumpSchema !== "") writer.uint32(106).string(message.giftTrayJumpSchema);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftTrayInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.trayDynamicImg = ImageModel.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.canMirror = reader.bool();
					continue;
				case 3:
					if (tag !== 26) break;
					message.trayNormalBgImg = ImageModel.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.trayNormalBgColor.push(reader.string());
					continue;
				case 5:
					if (tag !== 42) break;
					message.traySmallBgImg = ImageModel.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.traySmallBgColor.push(reader.string());
					continue;
				case 7:
					if (tag !== 58) break;
					message.rightTagText = Text.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.rightTagBgImg = ImageModel.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 74) break;
					message.rightTagBgColor.push(reader.string());
					continue;
				case 10:
					if (tag !== 82) break;
					message.trayNameTextColor = reader.string();
					continue;
				case 11:
					if (tag !== 90) break;
					message.trayDescTextColor = reader.string();
					continue;
				case 12:
					if (tag !== 98) break;
					message.rightTagJumpSchema = reader.string();
					continue;
				case 13:
					if (tag !== 106) break;
					message.giftTrayJumpSchema = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/data/multi_guest_play.ts
let PlayScene = /* @__PURE__ */ function(PlayScene) {
	PlayScene[PlayScene["UNKNOWN"] = 0] = "UNKNOWN";
	PlayScene[PlayScene["COUNTDOWN_FOR_ALL"] = 1] = "COUNTDOWN_FOR_ALL";
	PlayScene[PlayScene["COUNTDOWN_FOR_SINGLE"] = 2] = "COUNTDOWN_FOR_SINGLE";
	PlayScene[PlayScene["LIVE_SHOW"] = 3] = "LIVE_SHOW";
	PlayScene[PlayScene["AIGC"] = 4] = "AIGC";
	PlayScene[PlayScene["KARAOKE"] = 5] = "KARAOKE";
	PlayScene[PlayScene["DRAW_GUESS"] = 6] = "DRAW_GUESS";
	PlayScene[PlayScene["ENLARGE_GRID"] = 7] = "ENLARGE_GRID";
	PlayScene[PlayScene["GIFT_PRIORITY_LINK"] = 8] = "GIFT_PRIORITY_LINK";
	PlayScene[PlayScene["GIFT_THRESHOLD_LINK"] = 9] = "GIFT_THRESHOLD_LINK";
	PlayScene[PlayScene["NOTICE_BOARD"] = 10] = "NOTICE_BOARD";
	PlayScene[PlayScene["PLAY_BOOK"] = 11] = "PLAY_BOOK";
	PlayScene[PlayScene["GUEST_SHOWDOWN"] = 12] = "GUEST_SHOWDOWN";
	PlayScene[PlayScene["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return PlayScene;
}({});
let PlayUserTag = /* @__PURE__ */ function(PlayUserTag) {
	PlayUserTag[PlayUserTag["PLAY_USER_TAG_UNKNOWN"] = 0] = "PLAY_USER_TAG_UNKNOWN";
	PlayUserTag[PlayUserTag["GUEST_SHOWDOWN_NORMAL"] = 1] = "GUEST_SHOWDOWN_NORMAL";
	PlayUserTag[PlayUserTag["GUEST_SHOWDOWN_WINNER"] = 2] = "GUEST_SHOWDOWN_WINNER";
	PlayUserTag[PlayUserTag["GUEST_SHOWDOWN_LOSER"] = 3] = "GUEST_SHOWDOWN_LOSER";
	PlayUserTag[PlayUserTag["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return PlayUserTag;
}({});
//#endregion
//#region src/generated/web/v3/webcast/model/data/oec_msg.ts
function createBaseAtmosphereInfo() {
	return { tags: [] };
}
const AtmosphereInfo = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.tags) Tag.encode(v, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAtmosphereInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.tags.push(Tag.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseAtomAction() {
	return {
		type: 0,
		requestItem: void 0
	};
}
const AtomAction = {
	encode(message, writer = new BinaryWriter()) {
		if (message.type !== 0) writer.uint32(8).int32(message.type);
		if (message.requestItem !== void 0) ReqItem.encode(message.requestItem, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAtomAction();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.type = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.requestItem = ReqItem.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseAuctionInfo() {
	return {
		auctionId: "0",
		productId: "0",
		versionTime: "0",
		startTime: "0",
		endTime: "0",
		auctionWinner: void 0,
		winnerBidPrice: void 0,
		nextBidPrice: void 0,
		suffix: "",
		extendAuctionCfg: void 0,
		auctionTextType: 0,
		scrollElementList: [],
		rewardItem: void 0,
		drawingStateTextType: 0,
		auctionConfigId: "0",
		auctionType: 0,
		auctionStatus: 0,
		isCarousel: false,
		carouselCfg: void 0,
		auctionTextTypeInt: 0,
		drawingStateTextTypeInt: 0,
		versionTimeStr: "",
		traceTimeMap: {},
		easterEgg: void 0,
		auctionKnockPerformMiddleTextType: 0,
		auctionKnockPerformBottomRightTextType: 0,
		auctionIdStr: "",
		auctionConfigIdStr: "",
		auctionCardBottomTextType: 0,
		auctionCardTitleTextType: 0,
		surpriseSetRemainItemCount: 0,
		auctionEventTypeInt: 0,
		bidPanel: void 0,
		lynxCardInfo: ""
	};
}
const AuctionInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.auctionId !== "0") writer.uint32(8).int64(message.auctionId);
		if (message.productId !== "0") writer.uint32(16).int64(message.productId);
		if (message.versionTime !== "0") writer.uint32(24).int64(message.versionTime);
		if (message.startTime !== "0") writer.uint32(32).int64(message.startTime);
		if (message.endTime !== "0") writer.uint32(40).int64(message.endTime);
		if (message.auctionWinner !== void 0) UserInfo$1.encode(message.auctionWinner, writer.uint32(50).fork()).join();
		if (message.winnerBidPrice !== void 0) PriceItem.encode(message.winnerBidPrice, writer.uint32(58).fork()).join();
		if (message.nextBidPrice !== void 0) PriceItem.encode(message.nextBidPrice, writer.uint32(66).fork()).join();
		if (message.suffix !== "") writer.uint32(74).string(message.suffix);
		if (message.extendAuctionCfg !== void 0) ExtendAuctionCfg.encode(message.extendAuctionCfg, writer.uint32(82).fork()).join();
		if (message.auctionTextType !== 0) writer.uint32(88).int32(message.auctionTextType);
		for (const v of message.scrollElementList) ScrollElement.encode(v, writer.uint32(98).fork()).join();
		if (message.rewardItem !== void 0) ScrollElement.encode(message.rewardItem, writer.uint32(106).fork()).join();
		if (message.drawingStateTextType !== 0) writer.uint32(112).int32(message.drawingStateTextType);
		if (message.auctionConfigId !== "0") writer.uint32(120).int64(message.auctionConfigId);
		if (message.auctionType !== 0) writer.uint32(128).int32(message.auctionType);
		if (message.auctionStatus !== 0) writer.uint32(136).int32(message.auctionStatus);
		if (message.isCarousel !== false) writer.uint32(144).bool(message.isCarousel);
		if (message.carouselCfg !== void 0) CarouselCfg.encode(message.carouselCfg, writer.uint32(154).fork()).join();
		if (message.auctionTextTypeInt !== 0) writer.uint32(160).int32(message.auctionTextTypeInt);
		if (message.drawingStateTextTypeInt !== 0) writer.uint32(168).int32(message.drawingStateTextTypeInt);
		if (message.versionTimeStr !== "") writer.uint32(178).string(message.versionTimeStr);
		globalThis.Object.entries(message.traceTimeMap).forEach(([key, value]) => {
			AuctionInfo_TraceTimeMapEntry.encode({
				key,
				value
			}, writer.uint32(186).fork()).join();
		});
		if (message.easterEgg !== void 0) EasterEgg.encode(message.easterEgg, writer.uint32(194).fork()).join();
		if (message.auctionKnockPerformMiddleTextType !== 0) writer.uint32(200).int32(message.auctionKnockPerformMiddleTextType);
		if (message.auctionKnockPerformBottomRightTextType !== 0) writer.uint32(208).int32(message.auctionKnockPerformBottomRightTextType);
		if (message.auctionIdStr !== "") writer.uint32(218).string(message.auctionIdStr);
		if (message.auctionConfigIdStr !== "") writer.uint32(226).string(message.auctionConfigIdStr);
		if (message.auctionCardBottomTextType !== 0) writer.uint32(232).int32(message.auctionCardBottomTextType);
		if (message.auctionCardTitleTextType !== 0) writer.uint32(240).int32(message.auctionCardTitleTextType);
		if (message.surpriseSetRemainItemCount !== 0) writer.uint32(248).int32(message.surpriseSetRemainItemCount);
		if (message.auctionEventTypeInt !== 0) writer.uint32(256).int32(message.auctionEventTypeInt);
		if (message.bidPanel !== void 0) BidPanel.encode(message.bidPanel, writer.uint32(266).fork()).join();
		if (message.lynxCardInfo !== "") writer.uint32(802).string(message.lynxCardInfo);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAuctionInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.auctionId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.productId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.versionTime = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.startTime = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.endTime = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 50) break;
					message.auctionWinner = UserInfo$1.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.winnerBidPrice = PriceItem.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.nextBidPrice = PriceItem.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 74) break;
					message.suffix = reader.string();
					continue;
				case 10:
					if (tag !== 82) break;
					message.extendAuctionCfg = ExtendAuctionCfg.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 88) break;
					message.auctionTextType = reader.int32();
					continue;
				case 12:
					if (tag !== 98) break;
					message.scrollElementList.push(ScrollElement.decode(reader, reader.uint32()));
					continue;
				case 13:
					if (tag !== 106) break;
					message.rewardItem = ScrollElement.decode(reader, reader.uint32());
					continue;
				case 14:
					if (tag !== 112) break;
					message.drawingStateTextType = reader.int32();
					continue;
				case 15:
					if (tag !== 120) break;
					message.auctionConfigId = reader.int64().toString();
					continue;
				case 16:
					if (tag !== 128) break;
					message.auctionType = reader.int32();
					continue;
				case 17:
					if (tag !== 136) break;
					message.auctionStatus = reader.int32();
					continue;
				case 18:
					if (tag !== 144) break;
					message.isCarousel = reader.bool();
					continue;
				case 19:
					if (tag !== 154) break;
					message.carouselCfg = CarouselCfg.decode(reader, reader.uint32());
					continue;
				case 20:
					if (tag !== 160) break;
					message.auctionTextTypeInt = reader.int32();
					continue;
				case 21:
					if (tag !== 168) break;
					message.drawingStateTextTypeInt = reader.int32();
					continue;
				case 22:
					if (tag !== 178) break;
					message.versionTimeStr = reader.string();
					continue;
				case 23: {
					if (tag !== 186) break;
					const entry23 = AuctionInfo_TraceTimeMapEntry.decode(reader, reader.uint32());
					if (entry23.value !== void 0) message.traceTimeMap[entry23.key] = entry23.value;
					continue;
				}
				case 24:
					if (tag !== 194) break;
					message.easterEgg = EasterEgg.decode(reader, reader.uint32());
					continue;
				case 25:
					if (tag !== 200) break;
					message.auctionKnockPerformMiddleTextType = reader.int32();
					continue;
				case 26:
					if (tag !== 208) break;
					message.auctionKnockPerformBottomRightTextType = reader.int32();
					continue;
				case 27:
					if (tag !== 218) break;
					message.auctionIdStr = reader.string();
					continue;
				case 28:
					if (tag !== 226) break;
					message.auctionConfigIdStr = reader.string();
					continue;
				case 29:
					if (tag !== 232) break;
					message.auctionCardBottomTextType = reader.int32();
					continue;
				case 30:
					if (tag !== 240) break;
					message.auctionCardTitleTextType = reader.int32();
					continue;
				case 31:
					if (tag !== 248) break;
					message.surpriseSetRemainItemCount = reader.int32();
					continue;
				case 32:
					if (tag !== 256) break;
					message.auctionEventTypeInt = reader.int32();
					continue;
				case 33:
					if (tag !== 266) break;
					message.bidPanel = BidPanel.decode(reader, reader.uint32());
					continue;
				case 100:
					if (tag !== 802) break;
					message.lynxCardInfo = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseAuctionInfo_TraceTimeMapEntry() {
	return {
		key: "",
		value: ""
	};
}
const AuctionInfo_TraceTimeMapEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.value !== "") writer.uint32(18).string(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAuctionInfo_TraceTimeMapEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseAuctionWinnerPopup() {
	return {
		auctionId: "",
		winnerUserId: "",
		productId: "",
		notifyType: 0,
		paymentExpireTimestamp: "",
		productImg: void 0,
		schema: ""
	};
}
const AuctionWinnerPopup = {
	encode(message, writer = new BinaryWriter()) {
		if (message.auctionId !== "") writer.uint32(10).string(message.auctionId);
		if (message.winnerUserId !== "") writer.uint32(18).string(message.winnerUserId);
		if (message.productId !== "") writer.uint32(26).string(message.productId);
		if (message.notifyType !== 0) writer.uint32(32).int32(message.notifyType);
		if (message.paymentExpireTimestamp !== "") writer.uint32(42).string(message.paymentExpireTimestamp);
		if (message.productImg !== void 0) ImageModel.encode(message.productImg, writer.uint32(50).fork()).join();
		if (message.schema !== "") writer.uint32(58).string(message.schema);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAuctionWinnerPopup();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.auctionId = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.winnerUserId = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.productId = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.notifyType = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.paymentExpireTimestamp = reader.string();
					continue;
				case 6:
					if (tag !== 50) break;
					message.productImg = ImageModel.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.schema = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBagIndex() {
	return { value: 0 };
}
const BagIndex = {
	encode(message, writer = new BinaryWriter()) {
		if (message.value !== 0) writer.uint32(8).int32(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBagIndex();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.value = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBidPanel() {
	return { bidBtnTextTypeInt: 0 };
}
const BidPanel = {
	encode(message, writer = new BinaryWriter()) {
		if (message.bidBtnTextTypeInt !== 0) writer.uint32(8).int32(message.bidBtnTextTypeInt);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBidPanel();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.bidBtnTextTypeInt = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCarouselCfg() {
	return {
		intervalMs: "0",
		textStatusList: [],
		times: 0
	};
}
const CarouselCfg = {
	encode(message, writer = new BinaryWriter()) {
		if (message.intervalMs !== "0") writer.uint32(8).int64(message.intervalMs);
		writer.uint32(18).fork();
		for (const v of message.textStatusList) writer.int32(v);
		writer.join();
		if (message.times !== 0) writer.uint32(24).int32(message.times);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCarouselCfg();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.intervalMs = reader.int64().toString();
					continue;
				case 2:
					if (tag === 16) {
						message.textStatusList.push(reader.int32());
						continue;
					}
					if (tag === 18) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.textStatusList.push(reader.int32());
						continue;
					}
					break;
				case 3:
					if (tag !== 24) break;
					message.times = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCommerceInfo() {
	return {
		productInfo: {},
		popCardInfo: void 0,
		popupWindowInfo: void 0,
		voucherInfo: {},
		auctionInfo: void 0
	};
}
const CommerceInfo = {
	encode(message, writer = new BinaryWriter()) {
		globalThis.Object.entries(message.productInfo).forEach(([key, value]) => {
			CommerceInfo_ProductInfoEntry.encode({
				key,
				value
			}, writer.uint32(10).fork()).join();
		});
		if (message.popCardInfo !== void 0) PopCardInfo.encode(message.popCardInfo, writer.uint32(18).fork()).join();
		if (message.popupWindowInfo !== void 0) PopupWindowInfo.encode(message.popupWindowInfo, writer.uint32(26).fork()).join();
		globalThis.Object.entries(message.voucherInfo).forEach(([key, value]) => {
			CommerceInfo_VoucherInfoEntry.encode({
				key,
				value
			}, writer.uint32(34).fork()).join();
		});
		if (message.auctionInfo !== void 0) AuctionInfo.encode(message.auctionInfo, writer.uint32(42).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCommerceInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1: {
					if (tag !== 10) break;
					const entry1 = CommerceInfo_ProductInfoEntry.decode(reader, reader.uint32());
					if (entry1.value !== void 0) message.productInfo[entry1.key] = entry1.value;
					continue;
				}
				case 2:
					if (tag !== 18) break;
					message.popCardInfo = PopCardInfo.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.popupWindowInfo = PopupWindowInfo.decode(reader, reader.uint32());
					continue;
				case 4: {
					if (tag !== 34) break;
					const entry4 = CommerceInfo_VoucherInfoEntry.decode(reader, reader.uint32());
					if (entry4.value !== void 0) message.voucherInfo[entry4.key] = entry4.value;
					continue;
				}
				case 5:
					if (tag !== 42) break;
					message.auctionInfo = AuctionInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCommerceInfo_ProductInfoEntry() {
	return {
		key: "0",
		value: void 0
	};
}
const CommerceInfo_ProductInfoEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) ProductItem.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCommerceInfo_ProductInfoEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = ProductItem.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCommerceInfo_VoucherInfoEntry() {
	return {
		key: "0",
		value: void 0
	};
}
const CommerceInfo_VoucherInfoEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) VoucherItem.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCommerceInfo_VoucherInfoEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = VoucherItem.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseDispersionParam() {
	return {
		maxDelayMs: "0",
		minDelayMs: "0"
	};
}
const DispersionParam = {
	encode(message, writer = new BinaryWriter()) {
		if (message.maxDelayMs !== "0") writer.uint32(8).int64(message.maxDelayMs);
		if (message.minDelayMs !== "0") writer.uint32(16).int64(message.minDelayMs);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseDispersionParam();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.maxDelayMs = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.minDelayMs = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseEasterEgg() {
	return {
		winnerRank: "0",
		winnerRankTextType: 0,
		winnerRoomWinCnt: "0",
		winnerRoomWinCntTextType: 0,
		winnerRankTextTypeTail: 0,
		winnerRoomWinCntTextTypeTail: 0
	};
}
const EasterEgg = {
	encode(message, writer = new BinaryWriter()) {
		if (message.winnerRank !== "0") writer.uint32(8).int64(message.winnerRank);
		if (message.winnerRankTextType !== 0) writer.uint32(16).int32(message.winnerRankTextType);
		if (message.winnerRoomWinCnt !== "0") writer.uint32(24).int64(message.winnerRoomWinCnt);
		if (message.winnerRoomWinCntTextType !== 0) writer.uint32(32).int32(message.winnerRoomWinCntTextType);
		if (message.winnerRankTextTypeTail !== 0) writer.uint32(40).int32(message.winnerRankTextTypeTail);
		if (message.winnerRoomWinCntTextTypeTail !== 0) writer.uint32(48).int32(message.winnerRoomWinCntTextTypeTail);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseEasterEgg();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.winnerRank = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.winnerRankTextType = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.winnerRoomWinCnt = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.winnerRoomWinCntTextType = reader.int32();
					continue;
				case 5:
					if (tag !== 40) break;
					message.winnerRankTextTypeTail = reader.int32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.winnerRoomWinCntTextTypeTail = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseEcomLiveElementActions() {
	return {
		atomActions: [],
		version: "0"
	};
}
const EcomLiveElementActions = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.atomActions) AtomAction.encode(v, writer.uint32(10).fork()).join();
		if (message.version !== "0") writer.uint32(16).int64(message.version);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseEcomLiveElementActions();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.atomActions.push(AtomAction.decode(reader, reader.uint32()));
					continue;
				case 2:
					if (tag !== 16) break;
					message.version = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseExtendAuctionCfg() {
	return {
		isExtendAuctionSupported: false,
		shouldExtend: false,
		extendAuctionTime: "0"
	};
}
const ExtendAuctionCfg = {
	encode(message, writer = new BinaryWriter()) {
		if (message.isExtendAuctionSupported !== false) writer.uint32(8).bool(message.isExtendAuctionSupported);
		if (message.shouldExtend !== false) writer.uint32(16).bool(message.shouldExtend);
		if (message.extendAuctionTime !== "0") writer.uint32(24).int64(message.extendAuctionTime);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseExtendAuctionCfg();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.isExtendAuctionSupported = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.shouldExtend = reader.bool();
					continue;
				case 3:
					if (tag !== 24) break;
					message.extendAuctionTime = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseFlashSaleEnhancementInfo$1() {
	return {
		stockShowStatus: 0,
		buyerInfos: [],
		enhancementTextInfo: void 0
	};
}
const FlashSaleEnhancementInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.stockShowStatus !== 0) writer.uint32(8).int32(message.stockShowStatus);
		for (const v of message.buyerInfos) UserInfo$1.encode(v, writer.uint32(18).fork()).join();
		if (message.enhancementTextInfo !== void 0) EnhancementTextInfo.encode(message.enhancementTextInfo, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseFlashSaleEnhancementInfo$1();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.stockShowStatus = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.buyerInfos.push(UserInfo$1.decode(reader, reader.uint32()));
					continue;
				case 3:
					if (tag !== 26) break;
					message.enhancementTextInfo = EnhancementTextInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLiveFlashSaleInfo() {
	return {
		activityId: "0",
		type: 0,
		status: 0,
		stockStatus: 0,
		availableStock: 0,
		totalStock: 0,
		enhancementInfo: void 0,
		pdpViewerCount: 0
	};
}
const LiveFlashSaleInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.activityId !== "0") writer.uint32(8).int64(message.activityId);
		if (message.type !== 0) writer.uint32(16).int32(message.type);
		if (message.status !== 0) writer.uint32(24).int32(message.status);
		if (message.stockStatus !== 0) writer.uint32(32).int32(message.stockStatus);
		if (message.availableStock !== 0) writer.uint32(40).int32(message.availableStock);
		if (message.totalStock !== 0) writer.uint32(48).int32(message.totalStock);
		if (message.enhancementInfo !== void 0) FlashSaleEnhancementInfo.encode(message.enhancementInfo, writer.uint32(58).fork()).join();
		if (message.pdpViewerCount !== 0) writer.uint32(64).int32(message.pdpViewerCount);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLiveFlashSaleInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.activityId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.type = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.status = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.stockStatus = reader.int32();
					continue;
				case 5:
					if (tag !== 40) break;
					message.availableStock = reader.int32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.totalStock = reader.int32();
					continue;
				case 7:
					if (tag !== 58) break;
					message.enhancementInfo = FlashSaleEnhancementInfo.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 64) break;
					message.pdpViewerCount = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMsgMeta() {
	return {
		sourceOperateMs: "0",
		serverSendMs: "0",
		reasons: []
	};
}
const MsgMeta = {
	encode(message, writer = new BinaryWriter()) {
		if (message.sourceOperateMs !== "0") writer.uint32(8).int64(message.sourceOperateMs);
		if (message.serverSendMs !== "0") writer.uint32(16).int64(message.serverSendMs);
		for (const v of message.reasons) writer.uint32(26).string(v);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMsgMeta();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.sourceOperateMs = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.serverSendMs = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.reasons.push(reader.string());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseOecLiveShoppingMessageV2() {
	return {
		actions: {},
		commerceInfo: void 0,
		msgMeta: void 0
	};
}
const OecLiveShoppingMessageV2 = {
	encode(message, writer = new BinaryWriter()) {
		globalThis.Object.entries(message.actions).forEach(([key, value]) => {
			OecLiveShoppingMessageV2_ActionsEntry.encode({
				key,
				value
			}, writer.uint32(10).fork()).join();
		});
		if (message.commerceInfo !== void 0) CommerceInfo.encode(message.commerceInfo, writer.uint32(18).fork()).join();
		if (message.msgMeta !== void 0) MsgMeta.encode(message.msgMeta, writer.uint32(82).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseOecLiveShoppingMessageV2();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1: {
					if (tag !== 10) break;
					const entry1 = OecLiveShoppingMessageV2_ActionsEntry.decode(reader, reader.uint32());
					if (entry1.value !== void 0) message.actions[entry1.key] = entry1.value;
					continue;
				}
				case 2:
					if (tag !== 18) break;
					message.commerceInfo = CommerceInfo.decode(reader, reader.uint32());
					continue;
				case 10:
					if (tag !== 82) break;
					message.msgMeta = MsgMeta.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseOecLiveShoppingMessageV2_ActionsEntry() {
	return {
		key: "0",
		value: void 0
	};
}
const OecLiveShoppingMessageV2_ActionsEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) EcomLiveElementActions.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseOecLiveShoppingMessageV2_ActionsEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = EcomLiveElementActions.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePopCardInfo() {
	return {
		popProductId: "0",
		popCardType: 0,
		popCardId: "0"
	};
}
const PopCardInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.popProductId !== "0") writer.uint32(8).int64(message.popProductId);
		if (message.popCardType !== 0) writer.uint32(16).int32(message.popCardType);
		if (message.popCardId !== "0") writer.uint32(24).int64(message.popCardId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePopCardInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.popProductId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.popCardType = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.popCardId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePopupWindowInfo() {
	return { auctionWinnerPopup: void 0 };
}
const PopupWindowInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.auctionWinnerPopup !== void 0) AuctionWinnerPopup.encode(message.auctionWinnerPopup, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePopupWindowInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.auctionWinnerPopup = AuctionWinnerPopup.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePriceHideInfo() {
	return { displayText: "" };
}
const PriceHideInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.displayText !== "") writer.uint32(10).string(message.displayText);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePriceHideInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.displayText = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePriceItem() {
	return {
		currencyName: "",
		currencySymbol: "",
		symbolPosition: 0,
		salePriceDecimal: "",
		originPriceDecimal: "",
		salePriceFormat: "",
		originPriceFormat: "",
		discountFormat: "",
		discountDecimal: "",
		pricePrefix: "",
		reducePriceFormat: "",
		singleProductPriceFormat: "",
		showCurrencySpace: false,
		currencyShowMode: 0,
		priceDisplayMode: 0,
		priceHideInfo: void 0
	};
}
const PriceItem = {
	encode(message, writer = new BinaryWriter()) {
		if (message.currencyName !== "") writer.uint32(18).string(message.currencyName);
		if (message.currencySymbol !== "") writer.uint32(26).string(message.currencySymbol);
		if (message.symbolPosition !== 0) writer.uint32(32).int32(message.symbolPosition);
		if (message.salePriceDecimal !== "") writer.uint32(42).string(message.salePriceDecimal);
		if (message.originPriceDecimal !== "") writer.uint32(50).string(message.originPriceDecimal);
		if (message.salePriceFormat !== "") writer.uint32(58).string(message.salePriceFormat);
		if (message.originPriceFormat !== "") writer.uint32(66).string(message.originPriceFormat);
		if (message.discountFormat !== "") writer.uint32(74).string(message.discountFormat);
		if (message.discountDecimal !== "") writer.uint32(82).string(message.discountDecimal);
		if (message.pricePrefix !== "") writer.uint32(90).string(message.pricePrefix);
		if (message.reducePriceFormat !== "") writer.uint32(98).string(message.reducePriceFormat);
		if (message.singleProductPriceFormat !== "") writer.uint32(106).string(message.singleProductPriceFormat);
		if (message.showCurrencySpace !== false) writer.uint32(112).bool(message.showCurrencySpace);
		if (message.currencyShowMode !== 0) writer.uint32(120).int32(message.currencyShowMode);
		if (message.priceDisplayMode !== 0) writer.uint32(128).int32(message.priceDisplayMode);
		if (message.priceHideInfo !== void 0) PriceHideInfo.encode(message.priceHideInfo, writer.uint32(138).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePriceItem();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 2:
					if (tag !== 18) break;
					message.currencyName = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.currencySymbol = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.symbolPosition = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.salePriceDecimal = reader.string();
					continue;
				case 6:
					if (tag !== 50) break;
					message.originPriceDecimal = reader.string();
					continue;
				case 7:
					if (tag !== 58) break;
					message.salePriceFormat = reader.string();
					continue;
				case 8:
					if (tag !== 66) break;
					message.originPriceFormat = reader.string();
					continue;
				case 9:
					if (tag !== 74) break;
					message.discountFormat = reader.string();
					continue;
				case 10:
					if (tag !== 82) break;
					message.discountDecimal = reader.string();
					continue;
				case 11:
					if (tag !== 90) break;
					message.pricePrefix = reader.string();
					continue;
				case 12:
					if (tag !== 98) break;
					message.reducePriceFormat = reader.string();
					continue;
				case 13:
					if (tag !== 106) break;
					message.singleProductPriceFormat = reader.string();
					continue;
				case 14:
					if (tag !== 112) break;
					message.showCurrencySpace = reader.bool();
					continue;
				case 15:
					if (tag !== 120) break;
					message.currencyShowMode = reader.int32();
					continue;
				case 16:
					if (tag !== 128) break;
					message.priceDisplayMode = reader.int32();
					continue;
				case 17:
					if (tag !== 138) break;
					message.priceHideInfo = PriceHideInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseProductItem() {
	return {
		productId: "0",
		bagIndex: void 0,
		title: void 0,
		cover: void 0,
		atmosphereInfo: void 0,
		shopBrandLogo: void 0,
		liveFlashSaleInfo: void 0,
		auctionInfo: void 0
	};
}
const ProductItem = {
	encode(message, writer = new BinaryWriter()) {
		if (message.productId !== "0") writer.uint32(8).int64(message.productId);
		if (message.bagIndex !== void 0) BagIndex.encode(message.bagIndex, writer.uint32(18).fork()).join();
		if (message.title !== void 0) Title.encode(message.title, writer.uint32(26).fork()).join();
		if (message.cover !== void 0) ImageModel.encode(message.cover, writer.uint32(34).fork()).join();
		if (message.atmosphereInfo !== void 0) AtmosphereInfo.encode(message.atmosphereInfo, writer.uint32(42).fork()).join();
		if (message.shopBrandLogo !== void 0) ShopBrandLogo.encode(message.shopBrandLogo, writer.uint32(50).fork()).join();
		if (message.liveFlashSaleInfo !== void 0) LiveFlashSaleInfo.encode(message.liveFlashSaleInfo, writer.uint32(58).fork()).join();
		if (message.auctionInfo !== void 0) AuctionInfo.encode(message.auctionInfo, writer.uint32(66).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseProductItem();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.productId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.bagIndex = BagIndex.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.title = Title.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.cover = ImageModel.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.atmosphereInfo = AtmosphereInfo.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.shopBrandLogo = ShopBrandLogo.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.liveFlashSaleInfo = LiveFlashSaleInfo.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.auctionInfo = AuctionInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseReqItem() {
	return {
		scene: 0,
		dispersionParam: void 0
	};
}
const ReqItem = {
	encode(message, writer = new BinaryWriter()) {
		if (message.scene !== 0) writer.uint32(8).int32(message.scene);
		if (message.dispersionParam !== void 0) DispersionParam.encode(message.dispersionParam, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseReqItem();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.scene = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.dispersionParam = DispersionParam.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseScrollElement() {
	return { productTitle: "" };
}
const ScrollElement = {
	encode(message, writer = new BinaryWriter()) {
		if (message.productTitle !== "") writer.uint32(10).string(message.productTitle);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseScrollElement();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.productTitle = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseShopBrandLogo() {
	return {
		sellerName: "",
		sellerLogo: void 0,
		blueVImage: void 0,
		darkBlueVImage: void 0,
		topBrandImage: void 0,
		darkTopBrandImage: void 0
	};
}
const ShopBrandLogo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.sellerName !== "") writer.uint32(10).string(message.sellerName);
		if (message.sellerLogo !== void 0) ImageModel.encode(message.sellerLogo, writer.uint32(18).fork()).join();
		if (message.blueVImage !== void 0) ImageModel.encode(message.blueVImage, writer.uint32(26).fork()).join();
		if (message.darkBlueVImage !== void 0) ImageModel.encode(message.darkBlueVImage, writer.uint32(34).fork()).join();
		if (message.topBrandImage !== void 0) ImageModel.encode(message.topBrandImage, writer.uint32(42).fork()).join();
		if (message.darkTopBrandImage !== void 0) ImageModel.encode(message.darkTopBrandImage, writer.uint32(50).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseShopBrandLogo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.sellerName = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.sellerLogo = ImageModel.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.blueVImage = ImageModel.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.darkBlueVImage = ImageModel.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.topBrandImage = ImageModel.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.darkTopBrandImage = ImageModel.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTag() {
	return {
		type: 0,
		desc: "",
		count: "0",
		status: 0
	};
}
const Tag = {
	encode(message, writer = new BinaryWriter()) {
		if (message.type !== 0) writer.uint32(8).int32(message.type);
		if (message.desc !== "") writer.uint32(18).string(message.desc);
		if (message.count !== "0") writer.uint32(24).int64(message.count);
		if (message.status !== 0) writer.uint32(32).int32(message.status);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTag();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.type = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.desc = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.count = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.status = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTitle() {
	return { text: "" };
}
const Title = {
	encode(message, writer = new BinaryWriter()) {
		if (message.text !== "") writer.uint32(10).string(message.text);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTitle();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.text = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUserInfo$1() {
	return {
		userId: "0",
		nickName: "",
		avatar: void 0,
		isWinner: false
	};
}
const UserInfo$1 = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.nickName !== "") writer.uint32(18).string(message.nickName);
		if (message.avatar !== void 0) ImageModel.encode(message.avatar, writer.uint32(26).fork()).join();
		if (message.isWinner !== false) writer.uint32(32).bool(message.isWinner);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUserInfo$1();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.nickName = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.avatar = ImageModel.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.isWinner = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseVoucherItem() {
	return {
		voucherTypeId: "0",
		taskId: "0",
		taskType: 0,
		liveVoucherType: 0,
		creatorOperationUniqueId: "",
		voucherMaxFaceValue: ""
	};
}
const VoucherItem = {
	encode(message, writer = new BinaryWriter()) {
		if (message.voucherTypeId !== "0") writer.uint32(8).int64(message.voucherTypeId);
		if (message.taskId !== "0") writer.uint32(16).int64(message.taskId);
		if (message.taskType !== 0) writer.uint32(24).int32(message.taskType);
		if (message.liveVoucherType !== 0) writer.uint32(32).int32(message.liveVoucherType);
		if (message.creatorOperationUniqueId !== "") writer.uint32(42).string(message.creatorOperationUniqueId);
		if (message.voucherMaxFaceValue !== "") writer.uint32(50).string(message.voucherMaxFaceValue);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseVoucherItem();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.voucherTypeId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.taskId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.taskType = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.liveVoucherType = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.creatorOperationUniqueId = reader.string();
					continue;
				case 6:
					if (tag !== 50) break;
					message.voucherMaxFaceValue = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/game.ts
function createBaseWebcastAccessRecallMessage() {
	return {
		common: void 0,
		status: 0,
		duration: "0",
		endTime: "0",
		scene: "",
		notice: void 0,
		content: void 0,
		punishInfo: void 0
	};
}
const WebcastAccessRecallMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.status !== 0) writer.uint32(16).int32(message.status);
		if (message.duration !== "0") writer.uint32(24).int64(message.duration);
		if (message.endTime !== "0") writer.uint32(32).int64(message.endTime);
		if (message.scene !== "") writer.uint32(42).string(message.scene);
		if (message.notice !== void 0) Text.encode(message.notice, writer.uint32(50).fork()).join();
		if (message.content !== void 0) Text.encode(message.content, writer.uint32(58).fork()).join();
		if (message.punishInfo !== void 0) PunishEventInfo.encode(message.punishInfo, writer.uint32(66).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastAccessRecallMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.status = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.duration = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.endTime = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.scene = reader.string();
					continue;
				case 6:
					if (tag !== 50) break;
					message.notice = Text.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.content = Text.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.punishInfo = PunishEventInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/gift/model_asset_bundle.ts
function createBaseAssetBundle() {
	return {
		assets: [],
		prefabBundle: void 0,
		streamEffectSpec: void 0
	};
}
const AssetBundle = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.assets) AssetsModel.encode(v, writer.uint32(10).fork()).join();
		if (message.prefabBundle !== void 0) PrefabBundle.encode(message.prefabBundle, writer.uint32(18).fork()).join();
		if (message.streamEffectSpec !== void 0) GiftEffectStreamSpec.encode(message.streamEffectSpec, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAssetBundle();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.assets.push(AssetsModel.decode(reader, reader.uint32()));
					continue;
				case 2:
					if (tag !== 18) break;
					message.prefabBundle = PrefabBundle.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.streamEffectSpec = GiftEffectStreamSpec.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/gift/model_gift_effect.ts
function createBaseGiftEffect() {
	return {
		assets: [],
		specs: void 0,
		eventTrackingParams: {}
	};
}
const GiftEffect = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.assets) AssetsModel.encode(v, writer.uint32(10).fork()).join();
		if (message.specs !== void 0) GiftEffectSpecs.encode(message.specs, writer.uint32(18).fork()).join();
		globalThis.Object.entries(message.eventTrackingParams).forEach(([key, value]) => {
			GiftEffect_EventTrackingParamsEntry.encode({
				key,
				value
			}, writer.uint32(42).fork()).join();
		});
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftEffect();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.assets.push(AssetsModel.decode(reader, reader.uint32()));
					continue;
				case 2:
					if (tag !== 18) break;
					message.specs = GiftEffectSpecs.decode(reader, reader.uint32());
					continue;
				case 5: {
					if (tag !== 42) break;
					const entry5 = GiftEffect_EventTrackingParamsEntry.decode(reader, reader.uint32());
					if (entry5.value !== void 0) message.eventTrackingParams[entry5.key] = entry5.value;
					continue;
				}
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftEffect_EventTrackingParamsEntry() {
	return {
		key: "",
		value: ""
	};
}
const GiftEffect_EventTrackingParamsEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.value !== "") writer.uint32(18).string(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftEffect_EventTrackingParamsEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/gift/model_webcast_goal_update_message.ts
function createBaseWebcastGoalUpdateMessage() {
	return {
		common: void 0,
		indicator: void 0,
		goal: void 0,
		contributorId: "0",
		contributorAvatar: void 0,
		contributorDisplayId: "",
		contributeSubgoal: void 0,
		contributeCount: "0",
		contributeScore: "0",
		giftRepeatCount: "0",
		contributorIdStr: "",
		pinInfo: void 0,
		updateSource: 0,
		goalExtra: ""
	};
}
const WebcastGoalUpdateMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.indicator !== void 0) LiveStreamGoalIndicator.encode(message.indicator, writer.uint32(18).fork()).join();
		if (message.goal !== void 0) LiveStreamGoal.encode(message.goal, writer.uint32(26).fork()).join();
		if (message.contributorId !== "0") writer.uint32(32).int64(message.contributorId);
		if (message.contributorAvatar !== void 0) ImageModel.encode(message.contributorAvatar, writer.uint32(42).fork()).join();
		if (message.contributorDisplayId !== "") writer.uint32(50).string(message.contributorDisplayId);
		if (message.contributeSubgoal !== void 0) LiveStreamSubGoal.encode(message.contributeSubgoal, writer.uint32(58).fork()).join();
		if (message.contributeCount !== "0") writer.uint32(72).int64(message.contributeCount);
		if (message.contributeScore !== "0") writer.uint32(80).int64(message.contributeScore);
		if (message.giftRepeatCount !== "0") writer.uint32(88).int64(message.giftRepeatCount);
		if (message.contributorIdStr !== "") writer.uint32(98).string(message.contributorIdStr);
		if (message.pinInfo !== void 0) GoalPinInfo.encode(message.pinInfo, writer.uint32(122).fork()).join();
		if (message.updateSource !== 0) writer.uint32(128).int32(message.updateSource);
		if (message.goalExtra !== "") writer.uint32(138).string(message.goalExtra);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGoalUpdateMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.indicator = LiveStreamGoalIndicator.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.goal = LiveStreamGoal.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.contributorId = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.contributorAvatar = ImageModel.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.contributorDisplayId = reader.string();
					continue;
				case 7:
					if (tag !== 58) break;
					message.contributeSubgoal = LiveStreamSubGoal.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 72) break;
					message.contributeCount = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 80) break;
					message.contributeScore = reader.int64().toString();
					continue;
				case 11:
					if (tag !== 88) break;
					message.giftRepeatCount = reader.int64().toString();
					continue;
				case 12:
					if (tag !== 98) break;
					message.contributorIdStr = reader.string();
					continue;
				case 15:
					if (tag !== 122) break;
					message.pinInfo = GoalPinInfo.decode(reader, reader.uint32());
					continue;
				case 16:
					if (tag !== 128) break;
					message.updateSource = reader.int32();
					continue;
				case 17:
					if (tag !== 138) break;
					message.goalExtra = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/linksetting.ts
function createBaseMultiLiveUpdateUserSettingContent() {
	return {
		updateUserSettingInfo: void 0,
		anchorLayoutSetting: void 0,
		resetPointAfterLeave: 0
	};
}
const MultiLiveUpdateUserSettingContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.updateUserSettingInfo !== void 0) MultiLiveAnchorPanelSettings.encode(message.updateUserSettingInfo, writer.uint32(10).fork()).join();
		if (message.anchorLayoutSetting !== void 0) AnchorLayoutSetting.encode(message.anchorLayoutSetting, writer.uint32(18).fork()).join();
		if (message.resetPointAfterLeave !== 0) writer.uint32(24).int32(message.resetPointAfterLeave);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMultiLiveUpdateUserSettingContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.updateUserSettingInfo = MultiLiveAnchorPanelSettings.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.anchorLayoutSetting = AnchorLayoutSetting.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.resetPointAfterLeave = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/live_match.ts
function createBaseAnchorGiftModeMetaMap() {
	return { anchorGiftModeMetas: {} };
}
const AnchorGiftModeMetaMap = {
	encode(message, writer = new BinaryWriter()) {
		globalThis.Object.entries(message.anchorGiftModeMetas).forEach(([key, value]) => {
			AnchorGiftModeMetaMap_AnchorGiftModeMetasEntry.encode({
				key,
				value
			}, writer.uint32(10).fork()).join();
		});
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAnchorGiftModeMetaMap();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1: {
					if (tag !== 10) break;
					const entry1 = AnchorGiftModeMetaMap_AnchorGiftModeMetasEntry.decode(reader, reader.uint32());
					if (entry1.value !== void 0) message.anchorGiftModeMetas[entry1.key] = entry1.value;
					continue;
				}
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseAnchorGiftModeMetaMap_AnchorGiftModeMetasEntry() {
	return {
		key: "0",
		value: void 0
	};
}
const AnchorGiftModeMetaMap_AnchorGiftModeMetasEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) GiftModeMetaList.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAnchorGiftModeMetaMap_AnchorGiftModeMetasEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = GiftModeMetaList.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseAnchorMatchSettings() {
	return { enableAiCommentary: false };
}
const AnchorMatchSettings = {
	encode(message, writer = new BinaryWriter()) {
		if (message.enableAiCommentary !== false) writer.uint32(8).bool(message.enableAiCommentary);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAnchorMatchSettings();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.enableAiCommentary = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleABTest() {
	return {
		abTestType: 0,
		group: 0
	};
}
const BattleABTest = {
	encode(message, writer = new BinaryWriter()) {
		if (message.abTestType !== 0) writer.uint32(8).int32(message.abTestType);
		if (message.group !== 0) writer.uint32(16).int32(message.group);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleABTest();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.abTestType = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.group = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleABTestList() {
	return { abTestList: [] };
}
const BattleABTestList = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.abTestList) BattleABTest.encode(v, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleABTestList();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.abTestList.push(BattleABTest.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleABTestSetting() {
	return {
		key: "0",
		value: void 0
	};
}
const BattleABTestSetting = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) BattleABTestList.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleABTestSetting();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = BattleABTestList.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleBaseUserInfo() {
	return {
		userId: "0",
		nickName: "",
		avatarThumb: void 0,
		displayId: "",
		roomId: "0",
		invitationRole: 0
	};
}
const BattleBaseUserInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.nickName !== "") writer.uint32(18).string(message.nickName);
		if (message.avatarThumb !== void 0) ImageModel.encode(message.avatarThumb, writer.uint32(26).fork()).join();
		if (message.displayId !== "") writer.uint32(34).string(message.displayId);
		if (message.roomId !== "0") writer.uint32(40).int64(message.roomId);
		if (message.invitationRole !== 0) writer.uint32(48).int32(message.invitationRole);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleBaseUserInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.nickName = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.avatarThumb = ImageModel.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.displayId = reader.string();
					continue;
				case 5:
					if (tag !== 40) break;
					message.roomId = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.invitationRole = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleBonusConfig() {
	return {
		previewStartTime: "0",
		previewConfig: [],
		targetConfig: void 0,
		rewardConfig: void 0,
		giftAmountGuide: {},
		previewStartTimestamp: "0",
		previewClickActionSchemaUrl: ""
	};
}
const BattleBonusConfig = {
	encode(message, writer = new BinaryWriter()) {
		if (message.previewStartTime !== "0") writer.uint32(8).int64(message.previewStartTime);
		for (const v of message.previewConfig) PreviewPeriod.encode(v, writer.uint32(18).fork()).join();
		if (message.targetConfig !== void 0) TaskPeriodConfig.encode(message.targetConfig, writer.uint32(26).fork()).join();
		if (message.rewardConfig !== void 0) RewardPeriodConfig.encode(message.rewardConfig, writer.uint32(34).fork()).join();
		globalThis.Object.entries(message.giftAmountGuide).forEach(([key, value]) => {
			BattleBonusConfig_GiftAmountGuideEntry.encode({
				key,
				value
			}, writer.uint32(42).fork()).join();
		});
		if (message.previewStartTimestamp !== "0") writer.uint32(48).int64(message.previewStartTimestamp);
		if (message.previewClickActionSchemaUrl !== "") writer.uint32(58).string(message.previewClickActionSchemaUrl);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleBonusConfig();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.previewStartTime = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.previewConfig.push(PreviewPeriod.decode(reader, reader.uint32()));
					continue;
				case 3:
					if (tag !== 26) break;
					message.targetConfig = TaskPeriodConfig.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.rewardConfig = RewardPeriodConfig.decode(reader, reader.uint32());
					continue;
				case 5: {
					if (tag !== 42) break;
					const entry5 = BattleBonusConfig_GiftAmountGuideEntry.decode(reader, reader.uint32());
					if (entry5.value !== void 0) message.giftAmountGuide[entry5.key] = entry5.value;
					continue;
				}
				case 6:
					if (tag !== 48) break;
					message.previewStartTimestamp = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 58) break;
					message.previewClickActionSchemaUrl = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleBonusConfig_GiftAmountGuideEntry() {
	return {
		key: "0",
		value: void 0
	};
}
const BattleBonusConfig_GiftAmountGuideEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) BattleTaskGiftAmountGuide.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleBonusConfig_GiftAmountGuideEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = BattleTaskGiftAmountGuide.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleComboInfo() {
	return {
		userId: "0",
		comboStatus: "0",
		comboCount: "0",
		comboIconUrl: "",
		comboType: 0,
		comboRuleGuideSchema: "",
		userIdStr: "",
		comboCountStr: ""
	};
}
const BattleComboInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.comboStatus !== "0") writer.uint32(16).int64(message.comboStatus);
		if (message.comboCount !== "0") writer.uint32(24).int64(message.comboCount);
		if (message.comboIconUrl !== "") writer.uint32(34).string(message.comboIconUrl);
		if (message.comboType !== 0) writer.uint32(40).int32(message.comboType);
		if (message.comboRuleGuideSchema !== "") writer.uint32(50).string(message.comboRuleGuideSchema);
		if (message.userIdStr !== "") writer.uint32(58).string(message.userIdStr);
		if (message.comboCountStr !== "") writer.uint32(66).string(message.comboCountStr);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleComboInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.comboStatus = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.comboCount = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.comboIconUrl = reader.string();
					continue;
				case 5:
					if (tag !== 40) break;
					message.comboType = reader.int32();
					continue;
				case 6:
					if (tag !== 50) break;
					message.comboRuleGuideSchema = reader.string();
					continue;
				case 7:
					if (tag !== 58) break;
					message.userIdStr = reader.string();
					continue;
				case 8:
					if (tag !== 66) break;
					message.comboCountStr = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleEffect() {
	return {
		type: "",
		uidList: [],
		effectExtra: ""
	};
}
const BattleEffect = {
	encode(message, writer = new BinaryWriter()) {
		if (message.type !== "") writer.uint32(10).string(message.type);
		for (const v of message.uidList) writer.uint32(18).string(v);
		if (message.effectExtra !== "") writer.uint32(26).string(message.effectExtra);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleEffect();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.type = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.uidList.push(reader.string());
					continue;
				case 3:
					if (tag !== 26) break;
					message.effectExtra = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleEffectInfos() {
	return {
		effectInfoList: [],
		effectListVersion: "0"
	};
}
const BattleEffectInfos = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.effectInfoList) BattleEffect.encode(v, writer.uint32(10).fork()).join();
		if (message.effectListVersion !== "0") writer.uint32(16).int64(message.effectListVersion);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleEffectInfos();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.effectInfoList.push(BattleEffect.decode(reader, reader.uint32()));
					continue;
				case 2:
					if (tag !== 16) break;
					message.effectListVersion = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleFeatureFlags() {
	return {
		enableMatchCountdownOptimization: false,
		hideComboCountOnStart: false
	};
}
const BattleFeatureFlags = {
	encode(message, writer = new BinaryWriter()) {
		if (message.enableMatchCountdownOptimization !== false) writer.uint32(8).bool(message.enableMatchCountdownOptimization);
		if (message.hideComboCountOnStart !== false) writer.uint32(16).bool(message.hideComboCountOnStart);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleFeatureFlags();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.enableMatchCountdownOptimization = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.hideComboCountOnStart = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattlePrompt() {
	return {
		promptKey: "",
		elems: []
	};
}
const BattlePrompt = {
	encode(message, writer = new BinaryWriter()) {
		if (message.promptKey !== "") writer.uint32(10).string(message.promptKey);
		for (const v of message.elems) BattlePromptElem.encode(v, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattlePrompt();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.promptKey = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.elems.push(BattlePromptElem.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattlePromptElem() {
	return {
		promptField: "",
		value: ""
	};
}
const BattlePromptElem = {
	encode(message, writer = new BinaryWriter()) {
		if (message.promptField !== "") writer.uint32(10).string(message.promptField);
		if (message.value !== "") writer.uint32(18).string(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattlePromptElem();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.promptField = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleRivalTag() {
	return {
		bgImage: void 0,
		iconImage: void 0,
		content: ""
	};
}
const BattleRivalTag = {
	encode(message, writer = new BinaryWriter()) {
		if (message.bgImage !== void 0) ImageModel.encode(message.bgImage, writer.uint32(10).fork()).join();
		if (message.iconImage !== void 0) ImageModel.encode(message.iconImage, writer.uint32(18).fork()).join();
		if (message.content !== "") writer.uint32(26).string(message.content);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleRivalTag();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.bgImage = ImageModel.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.iconImage = ImageModel.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.content = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleTaskGiftAmountGuide() {
	return {
		guidePrompt: void 0,
		promptType: 0,
		disappearDuration: 0,
		iconImage: void 0,
		giftImage: void 0,
		recommendGiftId: "0",
		recommendGiftCount: 0,
		guideContent: void 0
	};
}
const BattleTaskGiftAmountGuide = {
	encode(message, writer = new BinaryWriter()) {
		if (message.guidePrompt !== void 0) BattlePrompt.encode(message.guidePrompt, writer.uint32(10).fork()).join();
		if (message.promptType !== 0) writer.uint32(16).int32(message.promptType);
		if (message.disappearDuration !== 0) writer.uint32(24).int32(message.disappearDuration);
		if (message.iconImage !== void 0) ImageModel.encode(message.iconImage, writer.uint32(90).fork()).join();
		if (message.giftImage !== void 0) ImageModel.encode(message.giftImage, writer.uint32(98).fork()).join();
		if (message.recommendGiftId !== "0") writer.uint32(168).int64(message.recommendGiftId);
		if (message.recommendGiftCount !== 0) writer.uint32(176).int32(message.recommendGiftCount);
		if (message.guideContent !== void 0) Text.encode(message.guideContent, writer.uint32(186).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleTaskGiftAmountGuide();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.guidePrompt = BattlePrompt.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.promptType = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.disappearDuration = reader.int32();
					continue;
				case 11:
					if (tag !== 90) break;
					message.iconImage = ImageModel.decode(reader, reader.uint32());
					continue;
				case 12:
					if (tag !== 98) break;
					message.giftImage = ImageModel.decode(reader, reader.uint32());
					continue;
				case 21:
					if (tag !== 168) break;
					message.recommendGiftId = reader.int64().toString();
					continue;
				case 22:
					if (tag !== 176) break;
					message.recommendGiftCount = reader.int32();
					continue;
				case 23:
					if (tag !== 186) break;
					message.guideContent = Text.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleTeamResult() {
	return {
		teamId: "0",
		teamUser: [],
		result: 0,
		totalScore: "0",
		totalEnigmaScore: "0",
		totalEnigmaUv: "0"
	};
}
const BattleTeamResult = {
	encode(message, writer = new BinaryWriter()) {
		if (message.teamId !== "0") writer.uint32(8).int64(message.teamId);
		for (const v of message.teamUser) BattleTeamUser.encode(v, writer.uint32(18).fork()).join();
		if (message.result !== 0) writer.uint32(24).int32(message.result);
		if (message.totalScore !== "0") writer.uint32(32).int64(message.totalScore);
		if (message.totalEnigmaScore !== "0") writer.uint32(40).int64(message.totalEnigmaScore);
		if (message.totalEnigmaUv !== "0") writer.uint32(48).int64(message.totalEnigmaUv);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleTeamResult();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.teamId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.teamUser.push(BattleTeamUser.decode(reader, reader.uint32()));
					continue;
				case 3:
					if (tag !== 24) break;
					message.result = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.totalScore = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.totalEnigmaScore = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.totalEnigmaUv = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleTeamUser() {
	return {
		userId: "0",
		score: "0",
		userIdStr: "",
		enigmaScore: "0"
	};
}
const BattleTeamUser = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.score !== "0") writer.uint32(16).int64(message.score);
		if (message.userIdStr !== "") writer.uint32(26).string(message.userIdStr);
		if (message.enigmaScore !== "0") writer.uint32(32).int64(message.enigmaScore);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleTeamUser();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.score = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.userIdStr = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.enigmaScore = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleUserInfo() {
	return {
		user: void 0,
		tags: []
	};
}
const BattleUserInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.user !== void 0) BattleBaseUserInfo.encode(message.user, writer.uint32(10).fork()).join();
		for (const v of message.tags) BattleRivalTag.encode(v, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleUserInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.user = BattleBaseUserInfo.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.tags.push(BattleRivalTag.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBestTeammateRelation() {
	return {
		userId: "0",
		bestTeammateId: "0"
	};
}
const BestTeammateRelation = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.bestTeammateId !== "0") writer.uint32(16).int64(message.bestTeammateId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBestTeammateRelation();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.bestTeammateId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCohostContentGuideInfo() {
	return { recommendedBattleType: 0 };
}
const CohostContentGuideInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.recommendedBattleType !== 0) writer.uint32(8).int32(message.recommendedBattleType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCohostContentGuideInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.recommendedBattleType = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCommonCardInfo() {
	return {
		cardNameKey: "",
		cardImage: void 0,
		sendTimeSec: "0",
		sendUser: void 0,
		effectLastDuration: "0",
		ruleUrl: "",
		effectTimeSec: "0",
		toAnchorId: "0",
		toAnchorIdStr: ""
	};
}
const CommonCardInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.cardNameKey !== "") writer.uint32(10).string(message.cardNameKey);
		if (message.cardImage !== void 0) ImageModel.encode(message.cardImage, writer.uint32(18).fork()).join();
		if (message.sendTimeSec !== "0") writer.uint32(24).int64(message.sendTimeSec);
		if (message.sendUser !== void 0) BattleUserInfo.encode(message.sendUser, writer.uint32(34).fork()).join();
		if (message.effectLastDuration !== "0") writer.uint32(40).int64(message.effectLastDuration);
		if (message.ruleUrl !== "") writer.uint32(50).string(message.ruleUrl);
		if (message.effectTimeSec !== "0") writer.uint32(56).int64(message.effectTimeSec);
		if (message.toAnchorId !== "0") writer.uint32(64).int64(message.toAnchorId);
		if (message.toAnchorIdStr !== "") writer.uint32(74).string(message.toAnchorIdStr);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCommonCardInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.cardNameKey = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.cardImage = ImageModel.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.sendTimeSec = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.sendUser = BattleUserInfo.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 40) break;
					message.effectLastDuration = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 50) break;
					message.ruleUrl = reader.string();
					continue;
				case 7:
					if (tag !== 56) break;
					message.effectTimeSec = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 64) break;
					message.toAnchorId = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 74) break;
					message.toAnchorIdStr = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCommunityActiveDecoration() {
	return {
		decorationId: "0",
		slotType: 0,
		images: {}
	};
}
const CommunityActiveDecoration = {
	encode(message, writer = new BinaryWriter()) {
		if (message.decorationId !== "0") writer.uint32(8).int64(message.decorationId);
		if (message.slotType !== 0) writer.uint32(16).int32(message.slotType);
		globalThis.Object.entries(message.images).forEach(([key, value]) => {
			CommunityActiveDecoration_ImagesEntry.encode({
				key,
				value
			}, writer.uint32(26).fork()).join();
		});
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCommunityActiveDecoration();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.decorationId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.slotType = reader.int32();
					continue;
				case 3: {
					if (tag !== 26) break;
					const entry3 = CommunityActiveDecoration_ImagesEntry.decode(reader, reader.uint32());
					if (entry3.value !== void 0) message.images[entry3.key] = entry3.value;
					continue;
				}
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCommunityActiveDecoration_ImagesEntry() {
	return {
		key: 0,
		value: void 0
	};
}
const CommunityActiveDecoration_ImagesEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== 0) writer.uint32(8).int32(message.key);
		if (message.value !== void 0) ImageModel.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCommunityActiveDecoration_ImagesEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = ImageModel.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCommunityHeartMeInfo() {
	return {
		slots: {},
		thrownItemImage: void 0,
		anchorCommunityLevel: "0"
	};
}
const CommunityHeartMeInfo = {
	encode(message, writer = new BinaryWriter()) {
		globalThis.Object.entries(message.slots).forEach(([key, value]) => {
			CommunityHeartMeInfo_SlotsEntry.encode({
				key,
				value
			}, writer.uint32(10).fork()).join();
		});
		if (message.thrownItemImage !== void 0) ImageModel.encode(message.thrownItemImage, writer.uint32(18).fork()).join();
		if (message.anchorCommunityLevel !== "0") writer.uint32(24).int64(message.anchorCommunityLevel);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCommunityHeartMeInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1: {
					if (tag !== 10) break;
					const entry1 = CommunityHeartMeInfo_SlotsEntry.decode(reader, reader.uint32());
					if (entry1.value !== void 0) message.slots[entry1.key] = entry1.value;
					continue;
				}
				case 2:
					if (tag !== 18) break;
					message.thrownItemImage = ImageModel.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.anchorCommunityLevel = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCommunityHeartMeInfo_SlotsEntry() {
	return {
		key: 0,
		value: void 0
	};
}
const CommunityHeartMeInfo_SlotsEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== 0) writer.uint32(8).int32(message.key);
		if (message.value !== void 0) CommunityActiveDecoration.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCommunityHeartMeInfo_SlotsEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = CommunityActiveDecoration.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCriticalStrikeCardInfo() {
	return {
		cardNameKey: "",
		cardImage: void 0,
		sendTimeSec: "0",
		sendUser: void 0,
		effectLastDuration: "0",
		criticalStrikeRateLow: "0",
		criticalStrikeRateHigh: "0",
		multiple: "0",
		giftNameKey: "",
		ruleUrl: "",
		effectTimeSec: "0",
		toAnchorId: "0",
		toAnchorIdStr: ""
	};
}
const CriticalStrikeCardInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.cardNameKey !== "") writer.uint32(10).string(message.cardNameKey);
		if (message.cardImage !== void 0) ImageModel.encode(message.cardImage, writer.uint32(18).fork()).join();
		if (message.sendTimeSec !== "0") writer.uint32(24).int64(message.sendTimeSec);
		if (message.sendUser !== void 0) BattleUserInfo.encode(message.sendUser, writer.uint32(34).fork()).join();
		if (message.effectLastDuration !== "0") writer.uint32(40).int64(message.effectLastDuration);
		if (message.criticalStrikeRateLow !== "0") writer.uint32(48).int64(message.criticalStrikeRateLow);
		if (message.criticalStrikeRateHigh !== "0") writer.uint32(56).int64(message.criticalStrikeRateHigh);
		if (message.multiple !== "0") writer.uint32(64).int64(message.multiple);
		if (message.giftNameKey !== "") writer.uint32(74).string(message.giftNameKey);
		if (message.ruleUrl !== "") writer.uint32(82).string(message.ruleUrl);
		if (message.effectTimeSec !== "0") writer.uint32(88).int64(message.effectTimeSec);
		if (message.toAnchorId !== "0") writer.uint32(96).int64(message.toAnchorId);
		if (message.toAnchorIdStr !== "") writer.uint32(106).string(message.toAnchorIdStr);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCriticalStrikeCardInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.cardNameKey = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.cardImage = ImageModel.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.sendTimeSec = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.sendUser = BattleUserInfo.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 40) break;
					message.effectLastDuration = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.criticalStrikeRateLow = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.criticalStrikeRateHigh = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 64) break;
					message.multiple = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 74) break;
					message.giftNameKey = reader.string();
					continue;
				case 10:
					if (tag !== 82) break;
					message.ruleUrl = reader.string();
					continue;
				case 11:
					if (tag !== 88) break;
					message.effectTimeSec = reader.int64().toString();
					continue;
				case 12:
					if (tag !== 96) break;
					message.toAnchorId = reader.int64().toString();
					continue;
				case 13:
					if (tag !== 106) break;
					message.toAnchorIdStr = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseEnigmaBattleExtraInfo() {
	return {
		hasStarted: false,
		isGiftFromEnigma: false
	};
}
const EnigmaBattleExtraInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.hasStarted !== false) writer.uint32(8).bool(message.hasStarted);
		if (message.isGiftFromEnigma !== false) writer.uint32(16).bool(message.isGiftFromEnigma);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseEnigmaBattleExtraInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.hasStarted = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.isGiftFromEnigma = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseEnigmaBattleSetting() {
	return {
		isStartable: false,
		enigmaBattleCampaignStart: "0",
		enigmaBattleCampaignEnd: "0",
		enigmaScoreRevealCountdownSec: [],
		enigmaScoreRevealDurationSec: "0"
	};
}
const EnigmaBattleSetting = {
	encode(message, writer = new BinaryWriter()) {
		if (message.isStartable !== false) writer.uint32(8).bool(message.isStartable);
		if (message.enigmaBattleCampaignStart !== "0") writer.uint32(16).int64(message.enigmaBattleCampaignStart);
		if (message.enigmaBattleCampaignEnd !== "0") writer.uint32(24).int64(message.enigmaBattleCampaignEnd);
		writer.uint32(34).fork();
		for (const v of message.enigmaScoreRevealCountdownSec) writer.int64(v);
		writer.join();
		if (message.enigmaScoreRevealDurationSec !== "0") writer.uint32(40).int64(message.enigmaScoreRevealDurationSec);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseEnigmaBattleSetting();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.isStartable = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.enigmaBattleCampaignStart = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.enigmaBattleCampaignEnd = reader.int64().toString();
					continue;
				case 4:
					if (tag === 32) {
						message.enigmaScoreRevealCountdownSec.push(reader.int64().toString());
						continue;
					}
					if (tag === 34) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.enigmaScoreRevealCountdownSec.push(reader.int64().toString());
						continue;
					}
					break;
				case 5:
					if (tag !== 40) break;
					message.enigmaScoreRevealDurationSec = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseExtraTimeCardInfo() {
	return {
		cardNameKey: "",
		cardImage: void 0,
		sendTimeSec: "0",
		sendUser: void 0,
		effectLastDuration: "0",
		ruleUrl: "",
		effectTimeSec: "0",
		toAnchorId: "0",
		extraDurationSec: "0",
		toAnchorIdStr: ""
	};
}
const ExtraTimeCardInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.cardNameKey !== "") writer.uint32(10).string(message.cardNameKey);
		if (message.cardImage !== void 0) ImageModel.encode(message.cardImage, writer.uint32(18).fork()).join();
		if (message.sendTimeSec !== "0") writer.uint32(24).int64(message.sendTimeSec);
		if (message.sendUser !== void 0) BattleUserInfo.encode(message.sendUser, writer.uint32(34).fork()).join();
		if (message.effectLastDuration !== "0") writer.uint32(40).int64(message.effectLastDuration);
		if (message.ruleUrl !== "") writer.uint32(50).string(message.ruleUrl);
		if (message.effectTimeSec !== "0") writer.uint32(56).int64(message.effectTimeSec);
		if (message.toAnchorId !== "0") writer.uint32(64).int64(message.toAnchorId);
		if (message.extraDurationSec !== "0") writer.uint32(72).int64(message.extraDurationSec);
		if (message.toAnchorIdStr !== "") writer.uint32(82).string(message.toAnchorIdStr);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseExtraTimeCardInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.cardNameKey = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.cardImage = ImageModel.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.sendTimeSec = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.sendUser = BattleUserInfo.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 40) break;
					message.effectLastDuration = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 50) break;
					message.ruleUrl = reader.string();
					continue;
				case 7:
					if (tag !== 56) break;
					message.effectTimeSec = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 64) break;
					message.toAnchorId = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 72) break;
					message.extraDurationSec = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 82) break;
					message.toAnchorIdStr = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftModeMeta() {
	return {
		giftId: "0",
		giftNameKey: "",
		giftIconImage: void 0,
		giftModeDesc: void 0
	};
}
const GiftModeMeta = {
	encode(message, writer = new BinaryWriter()) {
		if (message.giftId !== "0") writer.uint32(8).int64(message.giftId);
		if (message.giftNameKey !== "") writer.uint32(18).string(message.giftNameKey);
		if (message.giftIconImage !== void 0) ImageModel.encode(message.giftIconImage, writer.uint32(26).fork()).join();
		if (message.giftModeDesc !== void 0) Text.encode(message.giftModeDesc, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftModeMeta();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.giftId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.giftNameKey = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.giftIconImage = ImageModel.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.giftModeDesc = Text.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftModeMetaList() {
	return { giftModeMeta: [] };
}
const GiftModeMetaList = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.giftModeMeta) GiftModeMeta.encode(v, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftModeMetaList();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.giftModeMeta.push(GiftModeMeta.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftModeMetaV2() {
	return { anchorGiftModeMetaByType: {} };
}
const GiftModeMetaV2 = {
	encode(message, writer = new BinaryWriter()) {
		globalThis.Object.entries(message.anchorGiftModeMetaByType).forEach(([key, value]) => {
			GiftModeMetaV2_AnchorGiftModeMetaByTypeEntry.encode({
				key,
				value
			}, writer.uint32(10).fork()).join();
		});
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftModeMetaV2();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1: {
					if (tag !== 10) break;
					const entry1 = GiftModeMetaV2_AnchorGiftModeMetaByTypeEntry.decode(reader, reader.uint32());
					if (entry1.value !== void 0) message.anchorGiftModeMetaByType[entry1.key] = entry1.value;
					continue;
				}
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftModeMetaV2_AnchorGiftModeMetaByTypeEntry() {
	return {
		key: "0",
		value: void 0
	};
}
const GiftModeMetaV2_AnchorGiftModeMetaByTypeEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) AnchorGiftModeMetaMap.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftModeMetaV2_AnchorGiftModeMetaByTypeEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = AnchorGiftModeMetaMap.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseHighScoreControlCfg() {
	return {
		normalControlApplied: false,
		threshold: "0",
		originDisplayToUserList: []
	};
}
const HighScoreControlCfg = {
	encode(message, writer = new BinaryWriter()) {
		if (message.normalControlApplied !== false) writer.uint32(8).bool(message.normalControlApplied);
		if (message.threshold !== "0") writer.uint32(16).int64(message.threshold);
		writer.uint32(26).fork();
		for (const v of message.originDisplayToUserList) writer.int64(v);
		writer.join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseHighScoreControlCfg();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.normalControlApplied = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.threshold = reader.int64().toString();
					continue;
				case 3:
					if (tag === 24) {
						message.originDisplayToUserList.push(reader.int64().toString());
						continue;
					}
					if (tag === 26) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.originDisplayToUserList.push(reader.int64().toString());
						continue;
					}
					break;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLeagueScoreInfo() {
	return {
		estimatedScore: "0",
		isOptOut: false,
		isActivityPeriod: false,
		contentText: void 0,
		classOptOut: false,
		contentTextOpen: void 0,
		matchTheme: 0,
		leftIcon: void 0,
		rightIcon: void 0,
		rightSchemaJumpLink: ""
	};
}
const LeagueScoreInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.estimatedScore !== "0") writer.uint32(8).int64(message.estimatedScore);
		if (message.isOptOut !== false) writer.uint32(16).bool(message.isOptOut);
		if (message.isActivityPeriod !== false) writer.uint32(24).bool(message.isActivityPeriod);
		if (message.contentText !== void 0) Text.encode(message.contentText, writer.uint32(34).fork()).join();
		if (message.classOptOut !== false) writer.uint32(40).bool(message.classOptOut);
		if (message.contentTextOpen !== void 0) Text.encode(message.contentTextOpen, writer.uint32(50).fork()).join();
		if (message.matchTheme !== 0) writer.uint32(56).int32(message.matchTheme);
		if (message.leftIcon !== void 0) ImageModel.encode(message.leftIcon, writer.uint32(66).fork()).join();
		if (message.rightIcon !== void 0) ImageModel.encode(message.rightIcon, writer.uint32(74).fork()).join();
		if (message.rightSchemaJumpLink !== "") writer.uint32(82).string(message.rightSchemaJumpLink);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLeagueScoreInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.estimatedScore = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.isOptOut = reader.bool();
					continue;
				case 3:
					if (tag !== 24) break;
					message.isActivityPeriod = reader.bool();
					continue;
				case 4:
					if (tag !== 34) break;
					message.contentText = Text.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 40) break;
					message.classOptOut = reader.bool();
					continue;
				case 6:
					if (tag !== 50) break;
					message.contentTextOpen = Text.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 56) break;
					message.matchTheme = reader.int32();
					continue;
				case 8:
					if (tag !== 66) break;
					message.leftIcon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 74) break;
					message.rightIcon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 10:
					if (tag !== 82) break;
					message.rightSchemaJumpLink = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMatchInvitePanelConfig() {
	return {
		headerText: void 0,
		headerTextDarkMode: void 0,
		descText: void 0,
		descTextDarkMode: void 0
	};
}
const MatchInvitePanelConfig = {
	encode(message, writer = new BinaryWriter()) {
		if (message.headerText !== void 0) Text.encode(message.headerText, writer.uint32(10).fork()).join();
		if (message.headerTextDarkMode !== void 0) Text.encode(message.headerTextDarkMode, writer.uint32(18).fork()).join();
		if (message.descText !== void 0) Text.encode(message.descText, writer.uint32(26).fork()).join();
		if (message.descTextDarkMode !== void 0) Text.encode(message.descTextDarkMode, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMatchInvitePanelConfig();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.headerText = Text.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.headerTextDarkMode = Text.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.descText = Text.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.descTextDarkMode = Text.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMatchOpeningAnimationConfig() {
	return { startAnimationRule: "" };
}
const MatchOpeningAnimationConfig = {
	encode(message, writer = new BinaryWriter()) {
		if (message.startAnimationRule !== "") writer.uint32(10).string(message.startAnimationRule);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMatchOpeningAnimationConfig();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.startAnimationRule = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMatchPunishEffectInfo() {
	return {
		userToEffectMap: {},
		effectToEffectStructMap: {}
	};
}
const MatchPunishEffectInfo = {
	encode(message, writer = new BinaryWriter()) {
		globalThis.Object.entries(message.userToEffectMap).forEach(([key, value]) => {
			MatchPunishEffectInfo_UserToEffectMapEntry.encode({
				key,
				value
			}, writer.uint32(10).fork()).join();
		});
		globalThis.Object.entries(message.effectToEffectStructMap).forEach(([key, value]) => {
			MatchPunishEffectInfo_EffectToEffectStructMapEntry.encode({
				key,
				value
			}, writer.uint32(18).fork()).join();
		});
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMatchPunishEffectInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1: {
					if (tag !== 10) break;
					const entry1 = MatchPunishEffectInfo_UserToEffectMapEntry.decode(reader, reader.uint32());
					if (entry1.value !== void 0) message.userToEffectMap[entry1.key] = entry1.value;
					continue;
				}
				case 2: {
					if (tag !== 18) break;
					const entry2 = MatchPunishEffectInfo_EffectToEffectStructMapEntry.decode(reader, reader.uint32());
					if (entry2.value !== void 0) message.effectToEffectStructMap[entry2.key] = entry2.value;
					continue;
				}
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMatchPunishEffectInfo_UserToEffectMapEntry() {
	return {
		key: "0",
		value: "0"
	};
}
const MatchPunishEffectInfo_UserToEffectMapEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== "0") writer.uint32(16).int64(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMatchPunishEffectInfo_UserToEffectMapEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.value = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMatchPunishEffectInfo_EffectToEffectStructMapEntry() {
	return {
		key: "0",
		value: void 0
	};
}
const MatchPunishEffectInfo_EffectToEffectStructMapEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) EffectStruct.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMatchPunishEffectInfo_EffectToEffectStructMapEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = EffectStruct.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMatchPunishExtraInfo() {
	return {
		matchPunishEffectInfo: void 0,
		cohostContentGuideInfo: void 0,
		recommendedPlaybookInfo: void 0
	};
}
const MatchPunishExtraInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.matchPunishEffectInfo !== void 0) MatchPunishEffectInfo.encode(message.matchPunishEffectInfo, writer.uint32(10).fork()).join();
		if (message.cohostContentGuideInfo !== void 0) CohostContentGuideInfo.encode(message.cohostContentGuideInfo, writer.uint32(18).fork()).join();
		if (message.recommendedPlaybookInfo !== void 0) RecommendedPlaybookInfo.encode(message.recommendedPlaybookInfo, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMatchPunishExtraInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.matchPunishEffectInfo = MatchPunishEffectInfo.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.cohostContentGuideInfo = CohostContentGuideInfo.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.recommendedPlaybookInfo = RecommendedPlaybookInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMatchThemeDisplayResource() {
	return {
		matchTheme: 0,
		matchOpeningAnimationConfig: void 0,
		matchTitleBarConfig: void 0,
		matchInvitePanelConfig: void 0
	};
}
const MatchThemeDisplayResource = {
	encode(message, writer = new BinaryWriter()) {
		if (message.matchTheme !== 0) writer.uint32(8).int32(message.matchTheme);
		if (message.matchOpeningAnimationConfig !== void 0) MatchOpeningAnimationConfig.encode(message.matchOpeningAnimationConfig, writer.uint32(18).fork()).join();
		if (message.matchTitleBarConfig !== void 0) MatchTitleBarConfig.encode(message.matchTitleBarConfig, writer.uint32(26).fork()).join();
		if (message.matchInvitePanelConfig !== void 0) MatchInvitePanelConfig.encode(message.matchInvitePanelConfig, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMatchThemeDisplayResource();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.matchTheme = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.matchOpeningAnimationConfig = MatchOpeningAnimationConfig.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.matchTitleBarConfig = MatchTitleBarConfig.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.matchInvitePanelConfig = MatchInvitePanelConfig.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMatchTitleBarConfig() {
	return { displayRules: [] };
}
const MatchTitleBarConfig = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.displayRules) MatchTitleBarDisplayRule.encode(v, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMatchTitleBarConfig();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.displayRules.push(MatchTitleBarDisplayRule.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMatchTitleBarDisplayRule() {
	return {
		trigger: void 0,
		displayResource: void 0
	};
}
const MatchTitleBarDisplayRule = {
	encode(message, writer = new BinaryWriter()) {
		if (message.trigger !== void 0) MatchTitleBarTrigger.encode(message.trigger, writer.uint32(10).fork()).join();
		if (message.displayResource !== void 0) TitleBarDisplayResource.encode(message.displayResource, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMatchTitleBarDisplayRule();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.trigger = MatchTitleBarTrigger.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.displayResource = TitleBarDisplayResource.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMatchTitleBarTrigger() {
	return { type: 0 };
}
const MatchTitleBarTrigger = {
	encode(message, writer = new BinaryWriter()) {
		if (message.type !== 0) writer.uint32(8).int32(message.type);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMatchTitleBarTrigger();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.type = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePlaybookBizExtra() {
	return { customAtomicCapabilities: {} };
}
const PlaybookBizExtra = {
	encode(message, writer = new BinaryWriter()) {
		globalThis.Object.entries(message.customAtomicCapabilities).forEach(([key, value]) => {
			PlaybookBizExtra_CustomAtomicCapabilitiesEntry.encode({
				key,
				value
			}, writer.uint32(10).fork()).join();
		});
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePlaybookBizExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1: {
					if (tag !== 10) break;
					const entry1 = PlaybookBizExtra_CustomAtomicCapabilitiesEntry.decode(reader, reader.uint32());
					if (entry1.value !== void 0) message.customAtomicCapabilities[entry1.key] = entry1.value;
					continue;
				}
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePlaybookBizExtra_CustomAtomicCapabilitiesEntry() {
	return {
		key: "",
		value: ""
	};
}
const PlaybookBizExtra_CustomAtomicCapabilitiesEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.value !== "") writer.uint32(18).string(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePlaybookBizExtra_CustomAtomicCapabilitiesEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePotionCardInfo() {
	return {
		cardNameKey: "",
		cardImage: void 0,
		sendTimeSec: "0",
		sendUser: void 0,
		effectLastDuration: "0",
		ruleUrl: "",
		effectTimeSec: "0",
		toAnchorId: "0"
	};
}
const PotionCardInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.cardNameKey !== "") writer.uint32(10).string(message.cardNameKey);
		if (message.cardImage !== void 0) ImageModel.encode(message.cardImage, writer.uint32(18).fork()).join();
		if (message.sendTimeSec !== "0") writer.uint32(24).int64(message.sendTimeSec);
		if (message.sendUser !== void 0) BattleUserInfo.encode(message.sendUser, writer.uint32(34).fork()).join();
		if (message.effectLastDuration !== "0") writer.uint32(40).int64(message.effectLastDuration);
		if (message.ruleUrl !== "") writer.uint32(50).string(message.ruleUrl);
		if (message.effectTimeSec !== "0") writer.uint32(56).int64(message.effectTimeSec);
		if (message.toAnchorId !== "0") writer.uint32(64).int64(message.toAnchorId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePotionCardInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.cardNameKey = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.cardImage = ImageModel.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.sendTimeSec = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.sendUser = BattleUserInfo.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 40) break;
					message.effectLastDuration = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 50) break;
					message.ruleUrl = reader.string();
					continue;
				case 7:
					if (tag !== 56) break;
					message.effectTimeSec = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 64) break;
					message.toAnchorId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePreviewPeriod() {
	return {
		duration: "0",
		prompt: void 0,
		iconImage: void 0
	};
}
const PreviewPeriod = {
	encode(message, writer = new BinaryWriter()) {
		if (message.duration !== "0") writer.uint32(8).int64(message.duration);
		if (message.prompt !== void 0) BattlePrompt.encode(message.prompt, writer.uint32(18).fork()).join();
		if (message.iconImage !== void 0) ImageModel.encode(message.iconImage, writer.uint32(202).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePreviewPeriod();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.duration = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.prompt = BattlePrompt.decode(reader, reader.uint32());
					continue;
				case 25:
					if (tag !== 202) break;
					message.iconImage = ImageModel.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRecommendedPlaybookInfo() {
	return {
		playbookIds: [],
		playbookBizExtras: {}
	};
}
const RecommendedPlaybookInfo = {
	encode(message, writer = new BinaryWriter()) {
		writer.uint32(10).fork();
		for (const v of message.playbookIds) writer.int64(v);
		writer.join();
		globalThis.Object.entries(message.playbookBizExtras).forEach(([key, value]) => {
			RecommendedPlaybookInfo_PlaybookBizExtrasEntry.encode({
				key,
				value
			}, writer.uint32(18).fork()).join();
		});
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRecommendedPlaybookInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag === 8) {
						message.playbookIds.push(reader.int64().toString());
						continue;
					}
					if (tag === 10) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.playbookIds.push(reader.int64().toString());
						continue;
					}
					break;
				case 2: {
					if (tag !== 18) break;
					const entry2 = RecommendedPlaybookInfo_PlaybookBizExtrasEntry.decode(reader, reader.uint32());
					if (entry2.value !== void 0) message.playbookBizExtras[entry2.key] = entry2.value;
					continue;
				}
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRecommendedPlaybookInfo_PlaybookBizExtrasEntry() {
	return {
		key: "0",
		value: void 0
	};
}
const RecommendedPlaybookInfo_PlaybookBizExtrasEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) PlaybookBizExtra.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRecommendedPlaybookInfo_PlaybookBizExtrasEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = PlaybookBizExtra.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRewardPeriodConfig() {
	return {
		rewardStartTime: "0",
		duration: "0",
		rewardMultiple: 0,
		rewardStartTimestamp: "0",
		rewardPreparePrompt: void 0,
		rewardingPrompt: void 0,
		clickPrompt: void 0
	};
}
const RewardPeriodConfig = {
	encode(message, writer = new BinaryWriter()) {
		if (message.rewardStartTime !== "0") writer.uint32(8).int64(message.rewardStartTime);
		if (message.duration !== "0") writer.uint32(16).int64(message.duration);
		if (message.rewardMultiple !== 0) writer.uint32(24).int32(message.rewardMultiple);
		if (message.rewardStartTimestamp !== "0") writer.uint32(32).int64(message.rewardStartTimestamp);
		if (message.rewardPreparePrompt !== void 0) BattlePrompt.encode(message.rewardPreparePrompt, writer.uint32(90).fork()).join();
		if (message.rewardingPrompt !== void 0) BattlePrompt.encode(message.rewardingPrompt, writer.uint32(98).fork()).join();
		if (message.clickPrompt !== void 0) BattlePrompt.encode(message.clickPrompt, writer.uint32(106).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRewardPeriodConfig();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.rewardStartTime = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.duration = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.rewardMultiple = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.rewardStartTimestamp = reader.int64().toString();
					continue;
				case 11:
					if (tag !== 90) break;
					message.rewardPreparePrompt = BattlePrompt.decode(reader, reader.uint32());
					continue;
				case 12:
					if (tag !== 98) break;
					message.rewardingPrompt = BattlePrompt.decode(reader, reader.uint32());
					continue;
				case 13:
					if (tag !== 106) break;
					message.clickPrompt = BattlePrompt.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSmokeCardInfo() {
	return {
		cardNameKey: "",
		cardImage: void 0,
		sendTimeSec: "0",
		sendUser: void 0,
		effectLastDuration: "0",
		ruleUrl: "",
		effectTimeSec: "0",
		toAnchorId: "0",
		toAnchorIdStr: ""
	};
}
const SmokeCardInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.cardNameKey !== "") writer.uint32(10).string(message.cardNameKey);
		if (message.cardImage !== void 0) ImageModel.encode(message.cardImage, writer.uint32(18).fork()).join();
		if (message.sendTimeSec !== "0") writer.uint32(24).int64(message.sendTimeSec);
		if (message.sendUser !== void 0) BattleUserInfo.encode(message.sendUser, writer.uint32(34).fork()).join();
		if (message.effectLastDuration !== "0") writer.uint32(40).int64(message.effectLastDuration);
		if (message.ruleUrl !== "") writer.uint32(50).string(message.ruleUrl);
		if (message.effectTimeSec !== "0") writer.uint32(56).int64(message.effectTimeSec);
		if (message.toAnchorId !== "0") writer.uint32(96).int64(message.toAnchorId);
		if (message.toAnchorIdStr !== "") writer.uint32(106).string(message.toAnchorIdStr);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSmokeCardInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.cardNameKey = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.cardImage = ImageModel.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.sendTimeSec = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.sendUser = BattleUserInfo.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 40) break;
					message.effectLastDuration = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 50) break;
					message.ruleUrl = reader.string();
					continue;
				case 7:
					if (tag !== 56) break;
					message.effectTimeSec = reader.int64().toString();
					continue;
				case 12:
					if (tag !== 96) break;
					message.toAnchorId = reader.int64().toString();
					continue;
				case 13:
					if (tag !== 106) break;
					message.toAnchorIdStr = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSpecialEffectCardInfo() {
	return {
		cardNameKey: "",
		cardImage: void 0,
		sendTimeSec: "0",
		sendUser: void 0,
		effectLastDuration: "0",
		ruleUrl: "",
		effectTimeSec: "0",
		toAnchorId: "0",
		toAnchorIdStr: ""
	};
}
const SpecialEffectCardInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.cardNameKey !== "") writer.uint32(10).string(message.cardNameKey);
		if (message.cardImage !== void 0) ImageModel.encode(message.cardImage, writer.uint32(18).fork()).join();
		if (message.sendTimeSec !== "0") writer.uint32(24).int64(message.sendTimeSec);
		if (message.sendUser !== void 0) BattleUserInfo.encode(message.sendUser, writer.uint32(34).fork()).join();
		if (message.effectLastDuration !== "0") writer.uint32(40).int64(message.effectLastDuration);
		if (message.ruleUrl !== "") writer.uint32(50).string(message.ruleUrl);
		if (message.effectTimeSec !== "0") writer.uint32(56).int64(message.effectTimeSec);
		if (message.toAnchorId !== "0") writer.uint32(64).int64(message.toAnchorId);
		if (message.toAnchorIdStr !== "") writer.uint32(74).string(message.toAnchorIdStr);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSpecialEffectCardInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.cardNameKey = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.cardImage = ImageModel.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.sendTimeSec = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.sendUser = BattleUserInfo.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 40) break;
					message.effectLastDuration = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 50) break;
					message.ruleUrl = reader.string();
					continue;
				case 7:
					if (tag !== 56) break;
					message.effectTimeSec = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 64) break;
					message.toAnchorId = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 74) break;
					message.toAnchorIdStr = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTaskPeriodConfig() {
	return {
		targetStartTime: "0",
		duration: "0",
		targetStartTimestamp: "0",
		clickAction: 0,
		clickPrompt: void 0,
		promptType: 0,
		staticPrompt: void 0,
		progressTarget: "0",
		targetType: 0,
		iconImage: void 0,
		clickActionSchemaUrl: ""
	};
}
const TaskPeriodConfig = {
	encode(message, writer = new BinaryWriter()) {
		if (message.targetStartTime !== "0") writer.uint32(8).int64(message.targetStartTime);
		if (message.duration !== "0") writer.uint32(16).int64(message.duration);
		if (message.targetStartTimestamp !== "0") writer.uint32(24).int64(message.targetStartTimestamp);
		if (message.clickAction !== 0) writer.uint32(88).int32(message.clickAction);
		if (message.clickPrompt !== void 0) BattlePrompt.encode(message.clickPrompt, writer.uint32(98).fork()).join();
		if (message.promptType !== 0) writer.uint32(168).int32(message.promptType);
		if (message.staticPrompt !== void 0) BattlePrompt.encode(message.staticPrompt, writer.uint32(178).fork()).join();
		if (message.progressTarget !== "0") writer.uint32(184).int64(message.progressTarget);
		if (message.targetType !== 0) writer.uint32(192).int32(message.targetType);
		if (message.iconImage !== void 0) ImageModel.encode(message.iconImage, writer.uint32(202).fork()).join();
		if (message.clickActionSchemaUrl !== "") writer.uint32(210).string(message.clickActionSchemaUrl);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTaskPeriodConfig();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.targetStartTime = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.duration = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.targetStartTimestamp = reader.int64().toString();
					continue;
				case 11:
					if (tag !== 88) break;
					message.clickAction = reader.int32();
					continue;
				case 12:
					if (tag !== 98) break;
					message.clickPrompt = BattlePrompt.decode(reader, reader.uint32());
					continue;
				case 21:
					if (tag !== 168) break;
					message.promptType = reader.int32();
					continue;
				case 22:
					if (tag !== 178) break;
					message.staticPrompt = BattlePrompt.decode(reader, reader.uint32());
					continue;
				case 23:
					if (tag !== 184) break;
					message.progressTarget = reader.int64().toString();
					continue;
				case 24:
					if (tag !== 192) break;
					message.targetType = reader.int32();
					continue;
				case 25:
					if (tag !== 202) break;
					message.iconImage = ImageModel.decode(reader, reader.uint32());
					continue;
				case 26:
					if (tag !== 210) break;
					message.clickActionSchemaUrl = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTeamMatchCampaign() {
	return {
		bestTeammateRelation: [],
		startSfxTeamId: [],
		hasTeamMatchMvpSfx: false
	};
}
const TeamMatchCampaign = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.bestTeammateRelation) BestTeammateRelation.encode(v, writer.uint32(10).fork()).join();
		writer.uint32(18).fork();
		for (const v of message.startSfxTeamId) writer.int64(v);
		writer.join();
		if (message.hasTeamMatchMvpSfx !== false) writer.uint32(24).bool(message.hasTeamMatchMvpSfx);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTeamMatchCampaign();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.bestTeammateRelation.push(BestTeammateRelation.decode(reader, reader.uint32()));
					continue;
				case 2:
					if (tag === 16) {
						message.startSfxTeamId.push(reader.int64().toString());
						continue;
					}
					if (tag === 18) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.startSfxTeamId.push(reader.int64().toString());
						continue;
					}
					break;
				case 3:
					if (tag !== 24) break;
					message.hasTeamMatchMvpSfx = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTitleBarDisplayResource() {
	return {
		leftIcon: void 0,
		contentText: void 0,
		rightIcon: void 0,
		rightIconSchemaUrl: "",
		durationMs: "0"
	};
}
const TitleBarDisplayResource = {
	encode(message, writer = new BinaryWriter()) {
		if (message.leftIcon !== void 0) ImageModel.encode(message.leftIcon, writer.uint32(10).fork()).join();
		if (message.contentText !== void 0) Text.encode(message.contentText, writer.uint32(18).fork()).join();
		if (message.rightIcon !== void 0) ImageModel.encode(message.rightIcon, writer.uint32(26).fork()).join();
		if (message.rightIconSchemaUrl !== "") writer.uint32(34).string(message.rightIconSchemaUrl);
		if (message.durationMs !== "0") writer.uint32(40).int64(message.durationMs);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTitleBarDisplayResource();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.leftIcon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.contentText = Text.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.rightIcon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.rightIconSchemaUrl = reader.string();
					continue;
				case 5:
					if (tag !== 40) break;
					message.durationMs = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTop2CardInfo() {
	return { common: void 0 };
}
const Top2CardInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonCardInfo.encode(message.common, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTop2CardInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonCardInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTop3CardInfo() {
	return { common: void 0 };
}
const Top3CardInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonCardInfo.encode(message.common, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTop3CardInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonCardInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseVaultGloveCardInfo() {
	return {
		common: void 0,
		giftNameKey: "",
		multiple: "0",
		multipleOther: "0",
		criticalStrikeRateLow: "0",
		criticalStrikeRateHigh: "0"
	};
}
const VaultGloveCardInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonCardInfo.encode(message.common, writer.uint32(10).fork()).join();
		if (message.giftNameKey !== "") writer.uint32(18).string(message.giftNameKey);
		if (message.multiple !== "0") writer.uint32(24).int64(message.multiple);
		if (message.multipleOther !== "0") writer.uint32(32).int64(message.multipleOther);
		if (message.criticalStrikeRateLow !== "0") writer.uint32(40).int64(message.criticalStrikeRateLow);
		if (message.criticalStrikeRateHigh !== "0") writer.uint32(48).int64(message.criticalStrikeRateHigh);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseVaultGloveCardInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonCardInfo.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.giftNameKey = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.multiple = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.multipleOther = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.criticalStrikeRateLow = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.criticalStrikeRateHigh = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWaveCardInfo() {
	return {
		cardNameKey: "",
		cardImage: void 0,
		sendTimeSec: "0",
		sendUser: void 0,
		effectLastDuration: "0",
		ruleUrl: "",
		effectTimeSec: "0",
		toAnchorId: "0"
	};
}
const WaveCardInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.cardNameKey !== "") writer.uint32(10).string(message.cardNameKey);
		if (message.cardImage !== void 0) ImageModel.encode(message.cardImage, writer.uint32(18).fork()).join();
		if (message.sendTimeSec !== "0") writer.uint32(24).int64(message.sendTimeSec);
		if (message.sendUser !== void 0) BattleUserInfo.encode(message.sendUser, writer.uint32(34).fork()).join();
		if (message.effectLastDuration !== "0") writer.uint32(40).int64(message.effectLastDuration);
		if (message.ruleUrl !== "") writer.uint32(50).string(message.ruleUrl);
		if (message.effectTimeSec !== "0") writer.uint32(56).int64(message.effectTimeSec);
		if (message.toAnchorId !== "0") writer.uint32(64).int64(message.toAnchorId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWaveCardInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.cardNameKey = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.cardImage = ImageModel.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.sendTimeSec = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.sendUser = BattleUserInfo.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 40) break;
					message.effectLastDuration = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 50) break;
					message.ruleUrl = reader.string();
					continue;
				case 7:
					if (tag !== 56) break;
					message.effectTimeSec = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 64) break;
					message.toAnchorId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/message/battle.ts
function createBaseBattleDisplayConfig() {
	return {
		threshold: 0,
		text: "",
		diffThreshold: 0,
		diffText: "",
		exemptStrategy: void 0
	};
}
const BattleDisplayConfig = {
	encode(message, writer = new BinaryWriter()) {
		if (message.threshold !== 0) writer.uint32(8).int32(message.threshold);
		if (message.text !== "") writer.uint32(18).string(message.text);
		if (message.diffThreshold !== 0) writer.uint32(24).int32(message.diffThreshold);
		if (message.diffText !== "") writer.uint32(34).string(message.diffText);
		if (message.exemptStrategy !== void 0) ExemptStrategy.encode(message.exemptStrategy, writer.uint32(42).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleDisplayConfig();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.threshold = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.text = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.diffThreshold = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.diffText = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.exemptStrategy = ExemptStrategy.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleResult() {
	return {
		userId: "0",
		result: 0,
		score: "0",
		diamondScore: "0",
		enigmaScore: "0",
		enigmaUv: "0"
	};
}
const BattleResult = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.result !== 0) writer.uint32(16).int32(message.result);
		if (message.score !== "0") writer.uint32(24).int64(message.score);
		if (message.diamondScore !== "0") writer.uint32(32).int64(message.diamondScore);
		if (message.enigmaScore !== "0") writer.uint32(40).int64(message.enigmaScore);
		if (message.enigmaUv !== "0") writer.uint32(48).int64(message.enigmaUv);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleResult();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.result = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.score = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.diamondScore = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.enigmaScore = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.enigmaUv = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleRewardSettle() {
	return {
		prompt: void 0,
		status: 0
	};
}
const BattleRewardSettle = {
	encode(message, writer = new BinaryWriter()) {
		if (message.prompt !== void 0) BattlePrompt.encode(message.prompt, writer.uint32(10).fork()).join();
		if (message.status !== 0) writer.uint32(16).int32(message.status);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleRewardSettle();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.prompt = BattlePrompt.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.status = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleSetting() {
	return {
		battleId: "0",
		startTimeMs: "0",
		duration: 0,
		channelId: "0",
		status: 0,
		inviteType: 0,
		giftModeMeta: void 0,
		battleType: 0,
		extraDurationSecond: "0",
		endTimeMs: "0",
		scene: 0,
		sourceType: "0",
		iceShowdownSetting: 0,
		gameplayOption: 0,
		giftModeMetaV2: void 0
	};
}
const BattleSetting = {
	encode(message, writer = new BinaryWriter()) {
		if (message.battleId !== "0") writer.uint32(8).int64(message.battleId);
		if (message.startTimeMs !== "0") writer.uint32(16).int64(message.startTimeMs);
		if (message.duration !== 0) writer.uint32(24).int32(message.duration);
		if (message.channelId !== "0") writer.uint32(32).int64(message.channelId);
		if (message.status !== 0) writer.uint32(40).int32(message.status);
		if (message.inviteType !== 0) writer.uint32(48).int32(message.inviteType);
		if (message.giftModeMeta !== void 0) GiftModeMeta.encode(message.giftModeMeta, writer.uint32(58).fork()).join();
		if (message.battleType !== 0) writer.uint32(64).int32(message.battleType);
		if (message.extraDurationSecond !== "0") writer.uint32(72).int64(message.extraDurationSecond);
		if (message.endTimeMs !== "0") writer.uint32(80).int64(message.endTimeMs);
		if (message.scene !== 0) writer.uint32(88).int32(message.scene);
		if (message.sourceType !== "0") writer.uint32(96).int64(message.sourceType);
		if (message.iceShowdownSetting !== 0) writer.uint32(104).int32(message.iceShowdownSetting);
		if (message.gameplayOption !== 0) writer.uint32(112).int32(message.gameplayOption);
		if (message.giftModeMetaV2 !== void 0) GiftModeMetaV2.encode(message.giftModeMetaV2, writer.uint32(122).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleSetting();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.battleId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.startTimeMs = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.duration = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.channelId = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.status = reader.int32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.inviteType = reader.int32();
					continue;
				case 7:
					if (tag !== 58) break;
					message.giftModeMeta = GiftModeMeta.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 64) break;
					message.battleType = reader.int32();
					continue;
				case 9:
					if (tag !== 72) break;
					message.extraDurationSecond = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 80) break;
					message.endTimeMs = reader.int64().toString();
					continue;
				case 11:
					if (tag !== 88) break;
					message.scene = reader.int32();
					continue;
				case 12:
					if (tag !== 96) break;
					message.sourceType = reader.int64().toString();
					continue;
				case 13:
					if (tag !== 104) break;
					message.iceShowdownSetting = reader.int32();
					continue;
				case 14:
					if (tag !== 112) break;
					message.gameplayOption = reader.int32();
					continue;
				case 15:
					if (tag !== 122) break;
					message.giftModeMetaV2 = GiftModeMetaV2.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleTaskSettle() {
	return {
		result: 0,
		rewardStartTime: "0",
		rewardStartTimestamp: "0"
	};
}
const BattleTaskSettle = {
	encode(message, writer = new BinaryWriter()) {
		if (message.result !== 0) writer.uint32(8).int32(message.result);
		if (message.rewardStartTime !== "0") writer.uint32(16).int64(message.rewardStartTime);
		if (message.rewardStartTimestamp !== "0") writer.uint32(24).int64(message.rewardStartTimestamp);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleTaskSettle();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.result = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.rewardStartTime = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.rewardStartTimestamp = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleTaskStart() {
	return { config: void 0 };
}
const BattleTaskStart = {
	encode(message, writer = new BinaryWriter()) {
		if (message.config !== void 0) BattleBonusConfig.encode(message.config, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleTaskStart();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.config = BattleBonusConfig.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleTaskUpdate() {
	return {
		progress: "0",
		fromUserId: "0",
		promptKey: "",
		logId: ""
	};
}
const BattleTaskUpdate = {
	encode(message, writer = new BinaryWriter()) {
		if (message.progress !== "0") writer.uint32(8).int64(message.progress);
		if (message.fromUserId !== "0") writer.uint32(16).int64(message.fromUserId);
		if (message.promptKey !== "") writer.uint32(26).string(message.promptKey);
		if (message.logId !== "") writer.uint32(170).string(message.logId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleTaskUpdate();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.progress = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.fromUserId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.promptKey = reader.string();
					continue;
				case 21:
					if (tag !== 170) break;
					message.logId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleUserArmies() {
	return {
		userArmies: [],
		hostscore: "0",
		anchorIdStr: "",
		hostEnigmaScore: "0",
		hostEnigmaUv: "0"
	};
}
const BattleUserArmies = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.userArmies) BattleUserArmy.encode(v, writer.uint32(10).fork()).join();
		if (message.hostscore !== "0") writer.uint32(16).int64(message.hostscore);
		if (message.anchorIdStr !== "") writer.uint32(26).string(message.anchorIdStr);
		if (message.hostEnigmaScore !== "0") writer.uint32(32).int64(message.hostEnigmaScore);
		if (message.hostEnigmaUv !== "0") writer.uint32(40).int64(message.hostEnigmaUv);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleUserArmies();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.userArmies.push(BattleUserArmy.decode(reader, reader.uint32()));
					continue;
				case 2:
					if (tag !== 16) break;
					message.hostscore = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.anchorIdStr = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.hostEnigmaScore = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.hostEnigmaUv = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleUserArmy() {
	return {
		userId: "0",
		score: "0",
		nickname: "",
		avatarThumb: void 0,
		diamondScore: "0",
		userIdStr: "",
		enigmaScore: "0",
		isEnigma: false
	};
}
const BattleUserArmy = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.score !== "0") writer.uint32(16).int64(message.score);
		if (message.nickname !== "") writer.uint32(26).string(message.nickname);
		if (message.avatarThumb !== void 0) ImageModel.encode(message.avatarThumb, writer.uint32(34).fork()).join();
		if (message.diamondScore !== "0") writer.uint32(40).int64(message.diamondScore);
		if (message.userIdStr !== "") writer.uint32(50).string(message.userIdStr);
		if (message.enigmaScore !== "0") writer.uint32(56).int64(message.enigmaScore);
		if (message.isEnigma !== false) writer.uint32(64).bool(message.isEnigma);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleUserArmy();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.score = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.nickname = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.avatarThumb = ImageModel.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 40) break;
					message.diamondScore = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 50) break;
					message.userIdStr = reader.string();
					continue;
				case 7:
					if (tag !== 56) break;
					message.enigmaScore = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 64) break;
					message.isEnigma = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleUserInfoWrapper() {
	return {
		key: "0",
		value: void 0
	};
}
const BattleUserInfoWrapper = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) BattleUserInfo.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleUserInfoWrapper();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = BattleUserInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseExemptStrategy() {
	return {
		exemptBothHost: false,
		exemptAudienceTop: 0
	};
}
const ExemptStrategy = {
	encode(message, writer = new BinaryWriter()) {
		if (message.exemptBothHost !== false) writer.uint32(8).bool(message.exemptBothHost);
		if (message.exemptAudienceTop !== 0) writer.uint32(16).int32(message.exemptAudienceTop);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseExemptStrategy();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.exemptBothHost = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.exemptAudienceTop = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSupportedActionsWrapper() {
	return {
		key: "0",
		value: false
	};
}
const SupportedActionsWrapper = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== false) writer.uint32(16).bool(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSupportedActionsWrapper();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.value = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUserArmiesWrapper() {
	return {
		key: "0",
		value: void 0
	};
}
const UserArmiesWrapper = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) BattleUserArmies.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUserArmiesWrapper();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = BattleUserArmies.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/live_match_battle_team_user_armies.ts
function createBaseBattleTeamUserArmies() {
	return {
		teamId: "0",
		teamUser: [],
		teamTotalScore: "0",
		userArmies: void 0,
		hostRank: "0",
		teamTotalEnigmaScore: "0",
		teamTotalEnigmaUv: "0",
		hostVisibleRankFromTeamId: {}
	};
}
const BattleTeamUserArmies = {
	encode(message, writer = new BinaryWriter()) {
		if (message.teamId !== "0") writer.uint32(8).int64(message.teamId);
		for (const v of message.teamUser) BattleTeamUser.encode(v, writer.uint32(18).fork()).join();
		if (message.teamTotalScore !== "0") writer.uint32(24).int64(message.teamTotalScore);
		if (message.userArmies !== void 0) BattleUserArmies.encode(message.userArmies, writer.uint32(34).fork()).join();
		if (message.hostRank !== "0") writer.uint32(40).int64(message.hostRank);
		if (message.teamTotalEnigmaScore !== "0") writer.uint32(48).int64(message.teamTotalEnigmaScore);
		if (message.teamTotalEnigmaUv !== "0") writer.uint32(56).int64(message.teamTotalEnigmaUv);
		globalThis.Object.entries(message.hostVisibleRankFromTeamId).forEach(([key, value]) => {
			BattleTeamUserArmies_HostVisibleRankFromTeamIdEntry.encode({
				key,
				value
			}, writer.uint32(66).fork()).join();
		});
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleTeamUserArmies();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.teamId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.teamUser.push(BattleTeamUser.decode(reader, reader.uint32()));
					continue;
				case 3:
					if (tag !== 24) break;
					message.teamTotalScore = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.userArmies = BattleUserArmies.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 40) break;
					message.hostRank = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.teamTotalEnigmaScore = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.teamTotalEnigmaUv = reader.int64().toString();
					continue;
				case 8: {
					if (tag !== 66) break;
					const entry8 = BattleTeamUserArmies_HostVisibleRankFromTeamIdEntry.decode(reader, reader.uint32());
					if (entry8.value !== void 0) message.hostVisibleRankFromTeamId[entry8.key] = entry8.value;
					continue;
				}
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleTeamUserArmies_HostVisibleRankFromTeamIdEntry() {
	return {
		key: "0",
		value: "0"
	};
}
const BattleTeamUserArmies_HostVisibleRankFromTeamIdEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== "0") writer.uint32(16).int64(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleTeamUserArmies_HostVisibleRankFromTeamIdEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.value = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/rank.ts
function createBaseClassInfo() {
	return {
		classType: 0,
		starCount: "0"
	};
}
const ClassInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.classType !== 0) writer.uint32(8).int32(message.classType);
		if (message.starCount !== "0") writer.uint32(16).int64(message.starCount);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseClassInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.classType = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.starCount = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRankTabInfo() {
	return {
		rankType: 0,
		title: "",
		titleText: void 0,
		listLynxType: "0"
	};
}
const RankTabInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.rankType !== 0) writer.uint32(8).int32(message.rankType);
		if (message.title !== "") writer.uint32(18).string(message.title);
		if (message.titleText !== void 0) Text.encode(message.titleText, writer.uint32(26).fork()).join();
		if (message.listLynxType !== "0") writer.uint32(32).int64(message.listLynxType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRankTabInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.rankType = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.title = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.titleText = Text.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.listLynxType = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSettleInfo() {
	return {
		ownerSettleRank: "0",
		newClassInfo: void 0,
		oldClassInfo: void 0,
		rankSettleTimestamp: "0"
	};
}
const SettleInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.ownerSettleRank !== "0") writer.uint32(8).int64(message.ownerSettleRank);
		if (message.newClassInfo !== void 0) ClassInfo.encode(message.newClassInfo, writer.uint32(18).fork()).join();
		if (message.oldClassInfo !== void 0) ClassInfo.encode(message.oldClassInfo, writer.uint32(26).fork()).join();
		if (message.rankSettleTimestamp !== "0") writer.uint32(32).int64(message.rankSettleTimestamp);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSettleInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.ownerSettleRank = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.newClassInfo = ClassInfo.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.oldClassInfo = ClassInfo.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.rankSettleTimestamp = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTeamRankBonusTime() {
	return {
		switch: false,
		startTimestamp: "0",
		endTimestamp: "0",
		showAnimation: false,
		bonusRate: "0",
		bonusTimeGiftId: "0"
	};
}
const TeamRankBonusTime = {
	encode(message, writer = new BinaryWriter()) {
		if (message.switch !== false) writer.uint32(8).bool(message.switch);
		if (message.startTimestamp !== "0") writer.uint32(16).int64(message.startTimestamp);
		if (message.endTimestamp !== "0") writer.uint32(24).int64(message.endTimestamp);
		if (message.showAnimation !== false) writer.uint32(32).bool(message.showAnimation);
		if (message.bonusRate !== "0") writer.uint32(40).int64(message.bonusRate);
		if (message.bonusTimeGiftId !== "0") writer.uint32(48).int64(message.bonusTimeGiftId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTeamRankBonusTime();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.switch = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.startTimestamp = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.endTimestamp = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.showAnimation = reader.bool();
					continue;
				case 5:
					if (tag !== 40) break;
					message.bonusRate = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.bonusTimeGiftId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/viewer_picks.ts
function createBaseControlChaosInfo() {
	return {
		commandType: 0,
		hotKeys: [],
		actionType: 0
	};
}
const ControlChaosInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.commandType !== 0) writer.uint32(8).int32(message.commandType);
		for (const v of message.hotKeys) HotKey.encode(v, writer.uint32(18).fork()).join();
		if (message.actionType !== 0) writer.uint32(24).int32(message.actionType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseControlChaosInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.commandType = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.hotKeys.push(HotKey.decode(reader, reader.uint32()));
					continue;
				case 3:
					if (tag !== 24) break;
					message.actionType = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGameTricksShortcut() {
	return { hotKeys: [] };
}
const GameTricksShortcut = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.hotKeys) HotKey.encode(v, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGameTricksShortcut();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.hotKeys.push(HotKey.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftPick() {
	return {
		giftId: "0",
		customizedDesc: "",
		giftIcon: void 0,
		giftPrice: "0",
		giftPickId: "0",
		giftPickIdStr: "",
		isPriorityRequest: false,
		descSource: 0,
		extra: void 0
	};
}
const GiftPick = {
	encode(message, writer = new BinaryWriter()) {
		if (message.giftId !== "0") writer.uint32(8).int64(message.giftId);
		if (message.customizedDesc !== "") writer.uint32(18).string(message.customizedDesc);
		if (message.giftIcon !== void 0) ImageModel.encode(message.giftIcon, writer.uint32(26).fork()).join();
		if (message.giftPrice !== "0") writer.uint32(32).int64(message.giftPrice);
		if (message.giftPickId !== "0") writer.uint32(40).int64(message.giftPickId);
		if (message.giftPickIdStr !== "") writer.uint32(50).string(message.giftPickIdStr);
		if (message.isPriorityRequest !== false) writer.uint32(56).bool(message.isPriorityRequest);
		if (message.descSource !== 0) writer.uint32(64).int32(message.descSource);
		if (message.extra !== void 0) GiftPickExtra.encode(message.extra, writer.uint32(74).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftPick();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.giftId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.customizedDesc = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.giftIcon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.giftPrice = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.giftPickId = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 50) break;
					message.giftPickIdStr = reader.string();
					continue;
				case 7:
					if (tag !== 56) break;
					message.isPriorityRequest = reader.bool();
					continue;
				case 8:
					if (tag !== 64) break;
					message.descSource = reader.int32();
					continue;
				case 9:
					if (tag !== 74) break;
					message.extra = GiftPickExtra.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftPickExtra() {
	return {
		gameTricks: void 0,
		gameInteraction: void 0
	};
}
const GiftPickExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.gameTricks !== void 0) GiftPickExtraGameTricks.encode(message.gameTricks, writer.uint32(10).fork()).join();
		if (message.gameInteraction !== void 0) GiftPickExtraGameInteraction.encode(message.gameInteraction, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftPickExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.gameTricks = GiftPickExtraGameTricks.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.gameInteraction = GiftPickExtraGameInteraction.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftPickExtraGameInteraction() {
	return {
		storage: void 0,
		external: void 0
	};
}
const GiftPickExtraGameInteraction = {
	encode(message, writer = new BinaryWriter()) {
		if (message.storage !== void 0) GiftPickExtraGameInteractionStorage.encode(message.storage, writer.uint32(10).fork()).join();
		if (message.external !== void 0) GiftPickExtraGameInteractionExternal.encode(message.external, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftPickExtraGameInteraction();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.storage = GiftPickExtraGameInteractionStorage.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.external = GiftPickExtraGameInteractionExternal.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftPickExtraGameInteractionExternal() {
	return {};
}
const GiftPickExtraGameInteractionExternal = {
	encode(_, writer = new BinaryWriter()) {
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftPickExtraGameInteractionExternal();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftPickExtraGameInteractionStorage() {
	return {
		instruction: "",
		instructionDescKey: ""
	};
}
const GiftPickExtraGameInteractionStorage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.instruction !== "") writer.uint32(10).string(message.instruction);
		if (message.instructionDescKey !== "") writer.uint32(18).string(message.instructionDescKey);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftPickExtraGameInteractionStorage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.instruction = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.instructionDescKey = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftPickExtraGameTricks() {
	return {
		storage: void 0,
		external: void 0
	};
}
const GiftPickExtraGameTricks = {
	encode(message, writer = new BinaryWriter()) {
		if (message.storage !== void 0) GiftPickExtraGameTricksStorage.encode(message.storage, writer.uint32(10).fork()).join();
		if (message.external !== void 0) GiftPickExtraGameTricksExternal.encode(message.external, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftPickExtraGameTricks();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.storage = GiftPickExtraGameTricksStorage.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.external = GiftPickExtraGameTricksExternal.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftPickExtraGameTricksExternal() {
	return {};
}
const GiftPickExtraGameTricksExternal = {
	encode(_, writer = new BinaryWriter()) {
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftPickExtraGameTricksExternal();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftPickExtraGameTricksStorage() {
	return {
		gameTricksType: 0,
		controlChaosInfo: void 0
	};
}
const GiftPickExtraGameTricksStorage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.gameTricksType !== 0) writer.uint32(8).int32(message.gameTricksType);
		if (message.controlChaosInfo !== void 0) ControlChaosInfo.encode(message.controlChaosInfo, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftPickExtraGameTricksStorage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.gameTricksType = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.controlChaosInfo = ControlChaosInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftPickWithScore() {
	return {
		giftPick: void 0,
		score: "0"
	};
}
const GiftPickWithScore = {
	encode(message, writer = new BinaryWriter()) {
		if (message.giftPick !== void 0) GiftPick.encode(message.giftPick, writer.uint32(10).fork()).join();
		if (message.score !== "0") writer.uint32(16).int64(message.score);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftPickWithScore();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.giftPick = GiftPick.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.score = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseHotKey() {
	return {
		keyType: 0,
		keyboardKeys: [],
		mouseKeys: []
	};
}
const HotKey = {
	encode(message, writer = new BinaryWriter()) {
		if (message.keyType !== 0) writer.uint32(8).int32(message.keyType);
		for (const v of message.keyboardKeys) KeyBoardHotKey.encode(v, writer.uint32(18).fork()).join();
		for (const v of message.mouseKeys) MouseHotKey.encode(v, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseHotKey();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.keyType = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.keyboardKeys.push(KeyBoardHotKey.decode(reader, reader.uint32()));
					continue;
				case 3:
					if (tag !== 26) break;
					message.mouseKeys.push(MouseHotKey.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseKeyBoardHotKey() {
	return {
		keyCode: 0,
		keyName: ""
	};
}
const KeyBoardHotKey = {
	encode(message, writer = new BinaryWriter()) {
		if (message.keyCode !== 0) writer.uint32(8).int32(message.keyCode);
		if (message.keyName !== "") writer.uint32(18).string(message.keyName);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseKeyBoardHotKey();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.keyCode = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.keyName = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMouseHotKey() {
	return { mouseType: 0 };
}
const MouseHotKey = {
	encode(message, writer = new BinaryWriter()) {
		if (message.mouseType !== 0) writer.uint32(8).int32(message.mouseType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMouseHotKey();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.mouseType = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseProfileExtra() {
	return {
		gameTricks: void 0,
		gameInteraction: void 0
	};
}
const ProfileExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.gameTricks !== void 0) ProfileExtraGameTricks.encode(message.gameTricks, writer.uint32(10).fork()).join();
		if (message.gameInteraction !== void 0) ProfileExtraGameInteraction.encode(message.gameInteraction, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseProfileExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.gameTricks = ProfileExtraGameTricks.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.gameInteraction = ProfileExtraGameInteraction.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseProfileExtraGameInteraction() {
	return {
		storage: void 0,
		external: void 0
	};
}
const ProfileExtraGameInteraction = {
	encode(message, writer = new BinaryWriter()) {
		if (message.storage !== void 0) ProfileExtraGameInteractionStorage.encode(message.storage, writer.uint32(10).fork()).join();
		if (message.external !== void 0) ProfileExtraGameInteractionExternal.encode(message.external, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseProfileExtraGameInteraction();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.storage = ProfileExtraGameInteractionStorage.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.external = ProfileExtraGameInteractionExternal.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseProfileExtraGameInteractionExternal() {
	return {
		gameName: "",
		gameNameKey: "",
		gameIconUrl: "",
		gameTagId: ""
	};
}
const ProfileExtraGameInteractionExternal = {
	encode(message, writer = new BinaryWriter()) {
		if (message.gameName !== "") writer.uint32(10).string(message.gameName);
		if (message.gameNameKey !== "") writer.uint32(18).string(message.gameNameKey);
		if (message.gameIconUrl !== "") writer.uint32(26).string(message.gameIconUrl);
		if (message.gameTagId !== "") writer.uint32(34).string(message.gameTagId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseProfileExtraGameInteractionExternal();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.gameName = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.gameNameKey = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.gameIconUrl = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.gameTagId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseProfileExtraGameInteractionStorage() {
	return {
		gameId: "",
		templateId: ""
	};
}
const ProfileExtraGameInteractionStorage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.gameId !== "") writer.uint32(10).string(message.gameId);
		if (message.templateId !== "") writer.uint32(18).string(message.templateId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseProfileExtraGameInteractionStorage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.gameId = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.templateId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseProfileExtraGameTricks() {
	return {
		storage: void 0,
		external: void 0
	};
}
const ProfileExtraGameTricks = {
	encode(message, writer = new BinaryWriter()) {
		if (message.storage !== void 0) ProfileExtraGameTricksStorage.encode(message.storage, writer.uint32(10).fork()).join();
		if (message.external !== void 0) ProfileExtraGameTricksExternal.encode(message.external, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseProfileExtraGameTricks();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.storage = ProfileExtraGameTricksStorage.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.external = ProfileExtraGameTricksExternal.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseProfileExtraGameTricksExternal() {
	return {
		gameName: "",
		gameNameKey: "",
		gameIconUrl: ""
	};
}
const ProfileExtraGameTricksExternal = {
	encode(message, writer = new BinaryWriter()) {
		if (message.gameName !== "") writer.uint32(10).string(message.gameName);
		if (message.gameNameKey !== "") writer.uint32(18).string(message.gameNameKey);
		if (message.gameIconUrl !== "") writer.uint32(26).string(message.gameIconUrl);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseProfileExtraGameTricksExternal();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.gameName = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.gameNameKey = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.gameIconUrl = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseProfileExtraGameTricksStorage() {
	return {
		gameTricksType: 0,
		gameTagId: "0",
		gameTricksShortcut: void 0
	};
}
const ProfileExtraGameTricksStorage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.gameTricksType !== 0) writer.uint32(8).int32(message.gameTricksType);
		if (message.gameTagId !== "0") writer.uint32(16).int64(message.gameTagId);
		if (message.gameTricksShortcut !== void 0) GameTricksShortcut.encode(message.gameTricksShortcut, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseProfileExtraGameTricksStorage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.gameTricksType = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.gameTagId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.gameTricksShortcut = GameTricksShortcut.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseViewerPickAnchorParam() {
	return {
		viewerWishesUseNewSetupProcess: false,
		viewerWishesQueueModeEnable: false,
		viewerWishesPriorityRequestEnable: false,
		integrateVwIntoLiveboard: false
	};
}
const ViewerPickAnchorParam = {
	encode(message, writer = new BinaryWriter()) {
		if (message.viewerWishesUseNewSetupProcess !== false) writer.uint32(8).bool(message.viewerWishesUseNewSetupProcess);
		if (message.viewerWishesQueueModeEnable !== false) writer.uint32(16).bool(message.viewerWishesQueueModeEnable);
		if (message.viewerWishesPriorityRequestEnable !== false) writer.uint32(24).bool(message.viewerWishesPriorityRequestEnable);
		if (message.integrateVwIntoLiveboard !== false) writer.uint32(32).bool(message.integrateVwIntoLiveboard);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseViewerPickAnchorParam();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.viewerWishesUseNewSetupProcess = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.viewerWishesQueueModeEnable = reader.bool();
					continue;
				case 3:
					if (tag !== 24) break;
					message.viewerWishesPriorityRequestEnable = reader.bool();
					continue;
				case 4:
					if (tag !== 32) break;
					message.integrateVwIntoLiveboard = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseViewerPicksHeaderImage() {
	return {
		image: void 0,
		schemaUrl: ""
	};
}
const ViewerPicksHeaderImage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.image !== void 0) ImageModel.encode(message.image, writer.uint32(10).fork()).join();
		if (message.schemaUrl !== "") writer.uint32(18).string(message.schemaUrl);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseViewerPicksHeaderImage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.image = ImageModel.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.schemaUrl = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseViewerPicksInfo() {
	return {
		viewerPicksId: "0",
		giftPickList: [],
		status: 0,
		roundDurationSec: "0",
		startTimeMs: "0",
		endTimeMs: "0",
		hasDuration: false,
		hasScore: false,
		enableAutoRestart: false,
		startedFromAutoRestart: false,
		viewerPicksIdStr: "",
		displayMode: 0,
		scene: 0,
		headerImage: void 0,
		anchorParam: void 0,
		extra: void 0,
		startedFromAutoStart: false
	};
}
const ViewerPicksInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.viewerPicksId !== "0") writer.uint32(8).int64(message.viewerPicksId);
		for (const v of message.giftPickList) GiftPickWithScore.encode(v, writer.uint32(18).fork()).join();
		if (message.status !== 0) writer.uint32(24).int32(message.status);
		if (message.roundDurationSec !== "0") writer.uint32(32).int64(message.roundDurationSec);
		if (message.startTimeMs !== "0") writer.uint32(40).int64(message.startTimeMs);
		if (message.endTimeMs !== "0") writer.uint32(48).int64(message.endTimeMs);
		if (message.hasDuration !== false) writer.uint32(56).bool(message.hasDuration);
		if (message.hasScore !== false) writer.uint32(64).bool(message.hasScore);
		if (message.enableAutoRestart !== false) writer.uint32(72).bool(message.enableAutoRestart);
		if (message.startedFromAutoRestart !== false) writer.uint32(80).bool(message.startedFromAutoRestart);
		if (message.viewerPicksIdStr !== "") writer.uint32(90).string(message.viewerPicksIdStr);
		if (message.displayMode !== 0) writer.uint32(96).int32(message.displayMode);
		if (message.scene !== 0) writer.uint32(104).int32(message.scene);
		if (message.headerImage !== void 0) ViewerPicksHeaderImage.encode(message.headerImage, writer.uint32(114).fork()).join();
		if (message.anchorParam !== void 0) ViewerPickAnchorParam.encode(message.anchorParam, writer.uint32(122).fork()).join();
		if (message.extra !== void 0) ProfileExtra.encode(message.extra, writer.uint32(130).fork()).join();
		if (message.startedFromAutoStart !== false) writer.uint32(136).bool(message.startedFromAutoStart);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseViewerPicksInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.viewerPicksId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.giftPickList.push(GiftPickWithScore.decode(reader, reader.uint32()));
					continue;
				case 3:
					if (tag !== 24) break;
					message.status = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.roundDurationSec = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.startTimeMs = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.endTimeMs = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.hasDuration = reader.bool();
					continue;
				case 8:
					if (tag !== 64) break;
					message.hasScore = reader.bool();
					continue;
				case 9:
					if (tag !== 72) break;
					message.enableAutoRestart = reader.bool();
					continue;
				case 10:
					if (tag !== 80) break;
					message.startedFromAutoRestart = reader.bool();
					continue;
				case 11:
					if (tag !== 90) break;
					message.viewerPicksIdStr = reader.string();
					continue;
				case 12:
					if (tag !== 96) break;
					message.displayMode = reader.int32();
					continue;
				case 13:
					if (tag !== 104) break;
					message.scene = reader.int32();
					continue;
				case 14:
					if (tag !== 114) break;
					message.headerImage = ViewerPicksHeaderImage.decode(reader, reader.uint32());
					continue;
				case 15:
					if (tag !== 122) break;
					message.anchorParam = ViewerPickAnchorParam.decode(reader, reader.uint32());
					continue;
				case 16:
					if (tag !== 130) break;
					message.extra = ProfileExtra.decode(reader, reader.uint32());
					continue;
				case 17:
					if (tag !== 136) break;
					message.startedFromAutoStart = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/message/linker/invite_message.ts
function createBaseInviterRivalExtra() {
	return {
		texttype: 0,
		text: "",
		label: "",
		userCount: 0,
		avatarThumb: void 0,
		displayId: "",
		authenticationInfo: void 0,
		nickname: "",
		followStatus: "0",
		hashtag: void 0,
		userId: "0",
		isBestTeammate: false,
		optPairInfo: void 0,
		followerCount: "0"
	};
}
const InviterRivalExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.texttype !== 0) writer.uint32(8).int32(message.texttype);
		if (message.text !== "") writer.uint32(18).string(message.text);
		if (message.label !== "") writer.uint32(26).string(message.label);
		if (message.userCount !== 0) writer.uint32(32).int32(message.userCount);
		if (message.avatarThumb !== void 0) ImageModel.encode(message.avatarThumb, writer.uint32(42).fork()).join();
		if (message.displayId !== "") writer.uint32(50).string(message.displayId);
		if (message.authenticationInfo !== void 0) AuthenticationInfo.encode(message.authenticationInfo, writer.uint32(58).fork()).join();
		if (message.nickname !== "") writer.uint32(66).string(message.nickname);
		if (message.followStatus !== "0") writer.uint32(72).int64(message.followStatus);
		if (message.hashtag !== void 0) Hashtag.encode(message.hashtag, writer.uint32(82).fork()).join();
		if (message.userId !== "0") writer.uint32(96).int64(message.userId);
		if (message.isBestTeammate !== false) writer.uint32(104).bool(message.isBestTeammate);
		if (message.optPairInfo !== void 0) OptPairInfo.encode(message.optPairInfo, writer.uint32(114).fork()).join();
		if (message.followerCount !== "0") writer.uint32(120).int64(message.followerCount);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseInviterRivalExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.texttype = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.text = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.label = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.userCount = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.avatarThumb = ImageModel.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.displayId = reader.string();
					continue;
				case 7:
					if (tag !== 58) break;
					message.authenticationInfo = AuthenticationInfo.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.nickname = reader.string();
					continue;
				case 9:
					if (tag !== 72) break;
					message.followStatus = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 82) break;
					message.hashtag = Hashtag.decode(reader, reader.uint32());
					continue;
				case 12:
					if (tag !== 96) break;
					message.userId = reader.int64().toString();
					continue;
				case 13:
					if (tag !== 104) break;
					message.isBestTeammate = reader.bool();
					continue;
				case 14:
					if (tag !== 114) break;
					message.optPairInfo = OptPairInfo.decode(reader, reader.uint32());
					continue;
				case 15:
					if (tag !== 120) break;
					message.followerCount = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerInviteContent() {
	return {
		fromUserId: "0",
		fromRoomId: "0",
		toRtcExtInfo: "",
		rtcJoinChannel: false,
		vendor: 0,
		secFromUserId: "",
		toLinkmicIdStr: "",
		fromUser: void 0,
		requiredMicIdx: "0",
		rtcExtInfoMap: {},
		anchorMultiLiveEnum: 0,
		anchorSettingInfo: void 0,
		inviterLinkmicIdStr: "",
		fromTopHostInfo: void 0,
		actionId: "0",
		linkedUsers: [],
		dialog: void 0,
		punishInfo: void 0,
		fromRoomAgeRestricted: 0,
		fromTag: void 0,
		abTestSetting: [],
		linkerInviteMsgExtra: void 0
	};
}
const LinkerInviteContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.fromUserId !== "0") writer.uint32(8).int64(message.fromUserId);
		if (message.fromRoomId !== "0") writer.uint32(16).int64(message.fromRoomId);
		if (message.toRtcExtInfo !== "") writer.uint32(26).string(message.toRtcExtInfo);
		if (message.rtcJoinChannel !== false) writer.uint32(32).bool(message.rtcJoinChannel);
		if (message.vendor !== 0) writer.uint32(40).int32(message.vendor);
		if (message.secFromUserId !== "") writer.uint32(50).string(message.secFromUserId);
		if (message.toLinkmicIdStr !== "") writer.uint32(58).string(message.toLinkmicIdStr);
		if (message.fromUser !== void 0) User.encode(message.fromUser, writer.uint32(66).fork()).join();
		if (message.requiredMicIdx !== "0") writer.uint32(72).int64(message.requiredMicIdx);
		globalThis.Object.entries(message.rtcExtInfoMap).forEach(([key, value]) => {
			LinkerInviteContent_RtcExtInfoMapEntry.encode({
				key,
				value
			}, writer.uint32(82).fork()).join();
		});
		if (message.anchorMultiLiveEnum !== 0) writer.uint32(88).int32(message.anchorMultiLiveEnum);
		if (message.anchorSettingInfo !== void 0) MultiLiveAnchorPanelSettings.encode(message.anchorSettingInfo, writer.uint32(98).fork()).join();
		if (message.inviterLinkmicIdStr !== "") writer.uint32(106).string(message.inviterLinkmicIdStr);
		if (message.fromTopHostInfo !== void 0) InviteTopHostInfo.encode(message.fromTopHostInfo, writer.uint32(130).fork()).join();
		if (message.actionId !== "0") writer.uint32(136).int64(message.actionId);
		for (const v of message.linkedUsers) LinkmicUserInfo.encode(v, writer.uint32(146).fork()).join();
		if (message.dialog !== void 0) PerceptionDialogInfo.encode(message.dialog, writer.uint32(154).fork()).join();
		if (message.punishInfo !== void 0) PunishEventInfo.encode(message.punishInfo, writer.uint32(162).fork()).join();
		if (message.fromRoomAgeRestricted !== 0) writer.uint32(168).int32(message.fromRoomAgeRestricted);
		if (message.fromTag !== void 0) Tag$1.encode(message.fromTag, writer.uint32(178).fork()).join();
		for (const v of message.abTestSetting) CohostABTestSetting.encode(v, writer.uint32(186).fork()).join();
		if (message.linkerInviteMsgExtra !== void 0) LinkerInviteMessageExtra.encode(message.linkerInviteMsgExtra, writer.uint32(810).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerInviteContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.fromUserId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.fromRoomId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.toRtcExtInfo = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.rtcJoinChannel = reader.bool();
					continue;
				case 5:
					if (tag !== 40) break;
					message.vendor = reader.int32();
					continue;
				case 6:
					if (tag !== 50) break;
					message.secFromUserId = reader.string();
					continue;
				case 7:
					if (tag !== 58) break;
					message.toLinkmicIdStr = reader.string();
					continue;
				case 8:
					if (tag !== 66) break;
					message.fromUser = User.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 72) break;
					message.requiredMicIdx = reader.int64().toString();
					continue;
				case 10: {
					if (tag !== 82) break;
					const entry10 = LinkerInviteContent_RtcExtInfoMapEntry.decode(reader, reader.uint32());
					if (entry10.value !== void 0) message.rtcExtInfoMap[entry10.key] = entry10.value;
					continue;
				}
				case 11:
					if (tag !== 88) break;
					message.anchorMultiLiveEnum = reader.int32();
					continue;
				case 12:
					if (tag !== 98) break;
					message.anchorSettingInfo = MultiLiveAnchorPanelSettings.decode(reader, reader.uint32());
					continue;
				case 13:
					if (tag !== 106) break;
					message.inviterLinkmicIdStr = reader.string();
					continue;
				case 16:
					if (tag !== 130) break;
					message.fromTopHostInfo = InviteTopHostInfo.decode(reader, reader.uint32());
					continue;
				case 17:
					if (tag !== 136) break;
					message.actionId = reader.int64().toString();
					continue;
				case 18:
					if (tag !== 146) break;
					message.linkedUsers.push(LinkmicUserInfo.decode(reader, reader.uint32()));
					continue;
				case 19:
					if (tag !== 154) break;
					message.dialog = PerceptionDialogInfo.decode(reader, reader.uint32());
					continue;
				case 20:
					if (tag !== 162) break;
					message.punishInfo = PunishEventInfo.decode(reader, reader.uint32());
					continue;
				case 21:
					if (tag !== 168) break;
					message.fromRoomAgeRestricted = reader.int32();
					continue;
				case 22:
					if (tag !== 178) break;
					message.fromTag = Tag$1.decode(reader, reader.uint32());
					continue;
				case 23:
					if (tag !== 186) break;
					message.abTestSetting.push(CohostABTestSetting.decode(reader, reader.uint32()));
					continue;
				case 101:
					if (tag !== 810) break;
					message.linkerInviteMsgExtra = LinkerInviteMessageExtra.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerInviteContent_RtcExtInfoMapEntry() {
	return {
		key: "0",
		value: ""
	};
}
const LinkerInviteContent_RtcExtInfoMapEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== "") writer.uint32(18).string(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerInviteContent_RtcExtInfoMapEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerInviteMessageExtra() {
	return {
		matchType: 0,
		inviteType: 0,
		subType: 0,
		theme: "",
		duration: 0,
		layout: 0,
		tips: "",
		extra: void 0,
		otherUsers: [],
		topicInfo: void 0,
		algoRequestId: ""
	};
}
const LinkerInviteMessageExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.matchType !== 0) writer.uint32(8).int32(message.matchType);
		if (message.inviteType !== 0) writer.uint32(16).int32(message.inviteType);
		if (message.subType !== 0) writer.uint32(24).int32(message.subType);
		if (message.theme !== "") writer.uint32(34).string(message.theme);
		if (message.duration !== 0) writer.uint32(40).int32(message.duration);
		if (message.layout !== 0) writer.uint32(48).int32(message.layout);
		if (message.tips !== "") writer.uint32(58).string(message.tips);
		if (message.extra !== void 0) InviterRivalExtra.encode(message.extra, writer.uint32(66).fork()).join();
		for (const v of message.otherUsers) InviterRivalExtra.encode(v, writer.uint32(74).fork()).join();
		if (message.topicInfo !== void 0) CohostTopic.encode(message.topicInfo, writer.uint32(82).fork()).join();
		if (message.algoRequestId !== "") writer.uint32(90).string(message.algoRequestId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerInviteMessageExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.matchType = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.inviteType = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.subType = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.theme = reader.string();
					continue;
				case 5:
					if (tag !== 40) break;
					message.duration = reader.int32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.layout = reader.int32();
					continue;
				case 7:
					if (tag !== 58) break;
					message.tips = reader.string();
					continue;
				case 8:
					if (tag !== 66) break;
					message.extra = InviterRivalExtra.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 74) break;
					message.otherUsers.push(InviterRivalExtra.decode(reader, reader.uint32()));
					continue;
				case 10:
					if (tag !== 82) break;
					message.topicInfo = CohostTopic.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 90) break;
					message.algoRequestId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/message/linker/linked_list_change_message.ts
function createBaseLinkedListChangeContent() {
	return { linkedUsers: [] };
}
const LinkedListChangeContent = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.linkedUsers) ListUser.encode(v, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkedListChangeContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.linkedUsers.push(ListUser.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseListUser() {
	return {
		user: void 0,
		linkmicId: "0",
		linkmicIdStr: "",
		linkStatus: 0,
		linkType: 0,
		userPosition: 0,
		silenceStatus: 0,
		modifyTime: "0",
		linkerId: "0",
		roleType: 0
	};
}
const ListUser = {
	encode(message, writer = new BinaryWriter()) {
		if (message.user !== void 0) User.encode(message.user, writer.uint32(10).fork()).join();
		if (message.linkmicId !== "0") writer.uint32(16).int64(message.linkmicId);
		if (message.linkmicIdStr !== "") writer.uint32(26).string(message.linkmicIdStr);
		if (message.linkStatus !== 0) writer.uint32(32).int32(message.linkStatus);
		if (message.linkType !== 0) writer.uint32(40).int32(message.linkType);
		if (message.userPosition !== 0) writer.uint32(48).int32(message.userPosition);
		if (message.silenceStatus !== 0) writer.uint32(56).int32(message.silenceStatus);
		if (message.modifyTime !== "0") writer.uint32(64).int64(message.modifyTime);
		if (message.linkerId !== "0") writer.uint32(72).int64(message.linkerId);
		if (message.roleType !== 0) writer.uint32(80).int32(message.roleType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseListUser();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.linkmicId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.linkmicIdStr = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.linkStatus = reader.int32();
					continue;
				case 5:
					if (tag !== 40) break;
					message.linkType = reader.int32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.userPosition = reader.int32();
					continue;
				case 7:
					if (tag !== 56) break;
					message.silenceStatus = reader.int32();
					continue;
				case 8:
					if (tag !== 64) break;
					message.modifyTime = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 72) break;
					message.linkerId = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 80) break;
					message.roleType = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/message/linker/listchangemessage.ts
function createBaseLinkListUser() {
	return {
		user: void 0,
		modifyTime: "0",
		linkType: 0,
		roleType: 0,
		linkmicIdStr: "",
		payedMoney: "0",
		fanTicket: "0",
		fanTicketIconType: 0,
		linkUserType: 0,
		blurredAvatar: void 0
	};
}
const LinkListUser = {
	encode(message, writer = new BinaryWriter()) {
		if (message.user !== void 0) User.encode(message.user, writer.uint32(10).fork()).join();
		if (message.modifyTime !== "0") writer.uint32(16).int64(message.modifyTime);
		if (message.linkType !== 0) writer.uint32(24).int32(message.linkType);
		if (message.roleType !== 0) writer.uint32(32).int32(message.roleType);
		if (message.linkmicIdStr !== "") writer.uint32(42).string(message.linkmicIdStr);
		if (message.payedMoney !== "0") writer.uint32(48).int64(message.payedMoney);
		if (message.fanTicket !== "0") writer.uint32(56).int64(message.fanTicket);
		if (message.fanTicketIconType !== 0) writer.uint32(64).int32(message.fanTicketIconType);
		if (message.linkUserType !== 0) writer.uint32(72).int32(message.linkUserType);
		if (message.blurredAvatar !== void 0) ImageModel.encode(message.blurredAvatar, writer.uint32(82).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkListUser();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.modifyTime = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.linkType = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.roleType = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.linkmicIdStr = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.payedMoney = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.fanTicket = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 64) break;
					message.fanTicketIconType = reader.int32();
					continue;
				case 9:
					if (tag !== 72) break;
					message.linkUserType = reader.int32();
					continue;
				case 10:
					if (tag !== 82) break;
					message.blurredAvatar = ImageModel.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerListChangeContent() {
	return {
		linkedUsers: [],
		appliedUsers: [],
		connectingUsers: []
	};
}
const LinkerListChangeContent = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.linkedUsers) LinkListUser.encode(v, writer.uint32(10).fork()).join();
		for (const v of message.appliedUsers) LinkListUser.encode(v, writer.uint32(18).fork()).join();
		for (const v of message.connectingUsers) LinkListUser.encode(v, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerListChangeContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.linkedUsers.push(LinkListUser.decode(reader, reader.uint32()));
					continue;
				case 2:
					if (tag !== 18) break;
					message.appliedUsers.push(LinkListUser.decode(reader, reader.uint32()));
					continue;
				case 3:
					if (tag !== 26) break;
					message.connectingUsers.push(LinkListUser.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/message/linker/messages.ts
function createBaseLinkerAcceptNoticeContent() {
	return {
		fromUserId: "0",
		fromRoomId: "0",
		toUserId: "0"
	};
}
const LinkerAcceptNoticeContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.fromUserId !== "0") writer.uint32(8).int64(message.fromUserId);
		if (message.fromRoomId !== "0") writer.uint32(16).int64(message.fromRoomId);
		if (message.toUserId !== "0") writer.uint32(24).int64(message.toUserId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerAcceptNoticeContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.fromUserId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.fromRoomId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.toUserId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerCancelContent() {
	return {
		fromUserId: "0",
		toUserId: "0",
		cancelType: 0,
		actionId: "0"
	};
}
const LinkerCancelContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.fromUserId !== "0") writer.uint32(8).int64(message.fromUserId);
		if (message.toUserId !== "0") writer.uint32(16).int64(message.toUserId);
		if (message.cancelType !== 0) writer.uint32(24).int32(message.cancelType);
		if (message.actionId !== "0") writer.uint32(32).int64(message.actionId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerCancelContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.fromUserId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.toUserId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.cancelType = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.actionId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerEnterContent() {
	return {
		linkedUsers: [],
		anchorMultiLiveEnum: 0,
		anchorSettingInfo: void 0
	};
}
const LinkerEnterContent = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.linkedUsers) ListUser.encode(v, writer.uint32(10).fork()).join();
		if (message.anchorMultiLiveEnum !== 0) writer.uint32(16).int32(message.anchorMultiLiveEnum);
		if (message.anchorSettingInfo !== void 0) MultiLiveAnchorPanelSettings.encode(message.anchorSettingInfo, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerEnterContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.linkedUsers.push(ListUser.decode(reader, reader.uint32()));
					continue;
				case 2:
					if (tag !== 16) break;
					message.anchorMultiLiveEnum = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.anchorSettingInfo = MultiLiveAnchorPanelSettings.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerKickOutContent() {
	return {
		fromUserId: "0",
		kickoutReason: 0
	};
}
const LinkerKickOutContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.fromUserId !== "0") writer.uint32(8).int64(message.fromUserId);
		if (message.kickoutReason !== 0) writer.uint32(16).int32(message.kickoutReason);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerKickOutContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.fromUserId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.kickoutReason = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerLeaveContent() {
	return {
		userId: "0",
		linkmicIdStr: "",
		sendLeaveUid: "0",
		leaveReason: "0"
	};
}
const LinkerLeaveContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.linkmicIdStr !== "") writer.uint32(18).string(message.linkmicIdStr);
		if (message.sendLeaveUid !== "0") writer.uint32(24).int64(message.sendLeaveUid);
		if (message.leaveReason !== "0") writer.uint32(32).int64(message.leaveReason);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerLeaveContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.linkmicIdStr = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.sendLeaveUid = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.leaveReason = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerMuteContent() {
	return {
		userId: "0",
		muteStatus: 0
	};
}
const LinkerMuteContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.muteStatus !== 0) writer.uint32(16).int32(message.muteStatus);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerMuteContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.muteStatus = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerRandomMatchContent() {
	return {
		user: void 0,
		roomId: "0",
		inviteType: "0",
		matchId: "",
		innerChannelId: "0",
		sourceType: "0",
		groupChannelId: "0",
		playType: 0,
		pairedTime: "0"
	};
}
const LinkerRandomMatchContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.user !== void 0) User.encode(message.user, writer.uint32(10).fork()).join();
		if (message.roomId !== "0") writer.uint32(16).int64(message.roomId);
		if (message.inviteType !== "0") writer.uint32(24).int64(message.inviteType);
		if (message.matchId !== "") writer.uint32(34).string(message.matchId);
		if (message.innerChannelId !== "0") writer.uint32(40).int64(message.innerChannelId);
		if (message.sourceType !== "0") writer.uint32(48).int64(message.sourceType);
		if (message.groupChannelId !== "0") writer.uint32(56).int64(message.groupChannelId);
		if (message.playType !== 0) writer.uint32(64).int32(message.playType);
		if (message.pairedTime !== "0") writer.uint32(72).int64(message.pairedTime);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerRandomMatchContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.roomId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.inviteType = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.matchId = reader.string();
					continue;
				case 5:
					if (tag !== 40) break;
					message.innerChannelId = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.sourceType = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.groupChannelId = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 64) break;
					message.playType = reader.int32();
					continue;
				case 9:
					if (tag !== 72) break;
					message.pairedTime = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/message/linker/mic_update.ts
function createBaseLinkerMicIdxUpdateContent() {
	return { micIdxUpdateInfo: void 0 };
}
const LinkerMicIdxUpdateContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.micIdxUpdateInfo !== void 0) LinkerMicIdxUpdateInfo.encode(message.micIdxUpdateInfo, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerMicIdxUpdateContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.micIdxUpdateInfo = LinkerMicIdxUpdateInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerMicIdxUpdateInfo() {
	return {
		op: 0,
		userId: "0",
		micIdx: "0"
	};
}
const LinkerMicIdxUpdateInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.op !== 0) writer.uint32(8).int32(message.op);
		if (message.userId !== "0") writer.uint32(16).int64(message.userId);
		if (message.micIdx !== "0") writer.uint32(24).int64(message.micIdx);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerMicIdxUpdateInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.op = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.userId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.micIdx = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/message/linker/reply_message.ts
function createBaseLinkerReplyContent() {
	return {
		fromUserId: "0",
		fromRoomId: "0",
		fromUserLinkmicInfo: void 0,
		toUserId: "0",
		toUserLinkmicInfo: void 0,
		linkType: "0",
		replyStatus: 0,
		linkerSetting: void 0,
		fromUser: void 0,
		toUser: void 0,
		rtcExtInfoMap: {},
		inviteeMicIdxUpdateInfo: void 0,
		applierMicIdxInfoMap: {},
		anchorMultiLiveEnum: 0,
		anchorSettingInfo: void 0,
		actionId: "0",
		linkedUsers: [],
		sourceType: "0"
	};
}
const LinkerReplyContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.fromUserId !== "0") writer.uint32(8).int64(message.fromUserId);
		if (message.fromRoomId !== "0") writer.uint32(16).int64(message.fromRoomId);
		if (message.fromUserLinkmicInfo !== void 0) LinkmicInfo.encode(message.fromUserLinkmicInfo, writer.uint32(26).fork()).join();
		if (message.toUserId !== "0") writer.uint32(32).int64(message.toUserId);
		if (message.toUserLinkmicInfo !== void 0) LinkmicInfo.encode(message.toUserLinkmicInfo, writer.uint32(42).fork()).join();
		if (message.linkType !== "0") writer.uint32(48).int64(message.linkType);
		if (message.replyStatus !== 0) writer.uint32(56).int32(message.replyStatus);
		if (message.linkerSetting !== void 0) LinkerSetting.encode(message.linkerSetting, writer.uint32(66).fork()).join();
		if (message.fromUser !== void 0) User.encode(message.fromUser, writer.uint32(74).fork()).join();
		if (message.toUser !== void 0) User.encode(message.toUser, writer.uint32(82).fork()).join();
		globalThis.Object.entries(message.rtcExtInfoMap).forEach(([key, value]) => {
			LinkerReplyContent_RtcExtInfoMapEntry.encode({
				key,
				value
			}, writer.uint32(90).fork()).join();
		});
		if (message.inviteeMicIdxUpdateInfo !== void 0) LinkerMicIdxUpdateInfo.encode(message.inviteeMicIdxUpdateInfo, writer.uint32(98).fork()).join();
		globalThis.Object.entries(message.applierMicIdxInfoMap).forEach(([key, value]) => {
			LinkerReplyContent_ApplierMicIdxInfoMapEntry.encode({
				key,
				value
			}, writer.uint32(106).fork()).join();
		});
		if (message.anchorMultiLiveEnum !== 0) writer.uint32(112).int32(message.anchorMultiLiveEnum);
		if (message.anchorSettingInfo !== void 0) MultiLiveAnchorPanelSettings.encode(message.anchorSettingInfo, writer.uint32(122).fork()).join();
		if (message.actionId !== "0") writer.uint32(128).int64(message.actionId);
		for (const v of message.linkedUsers) LinkmicUserInfo.encode(v, writer.uint32(138).fork()).join();
		if (message.sourceType !== "0") writer.uint32(144).int64(message.sourceType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerReplyContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.fromUserId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.fromRoomId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.fromUserLinkmicInfo = LinkmicInfo.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.toUserId = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.toUserLinkmicInfo = LinkmicInfo.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 48) break;
					message.linkType = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.replyStatus = reader.int32();
					continue;
				case 8:
					if (tag !== 66) break;
					message.linkerSetting = LinkerSetting.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 74) break;
					message.fromUser = User.decode(reader, reader.uint32());
					continue;
				case 10:
					if (tag !== 82) break;
					message.toUser = User.decode(reader, reader.uint32());
					continue;
				case 11: {
					if (tag !== 90) break;
					const entry11 = LinkerReplyContent_RtcExtInfoMapEntry.decode(reader, reader.uint32());
					if (entry11.value !== void 0) message.rtcExtInfoMap[entry11.key] = entry11.value;
					continue;
				}
				case 12:
					if (tag !== 98) break;
					message.inviteeMicIdxUpdateInfo = LinkerMicIdxUpdateInfo.decode(reader, reader.uint32());
					continue;
				case 13: {
					if (tag !== 106) break;
					const entry13 = LinkerReplyContent_ApplierMicIdxInfoMapEntry.decode(reader, reader.uint32());
					if (entry13.value !== void 0) message.applierMicIdxInfoMap[entry13.key] = entry13.value;
					continue;
				}
				case 14:
					if (tag !== 112) break;
					message.anchorMultiLiveEnum = reader.int32();
					continue;
				case 15:
					if (tag !== 122) break;
					message.anchorSettingInfo = MultiLiveAnchorPanelSettings.decode(reader, reader.uint32());
					continue;
				case 16:
					if (tag !== 128) break;
					message.actionId = reader.int64().toString();
					continue;
				case 17:
					if (tag !== 138) break;
					message.linkedUsers.push(LinkmicUserInfo.decode(reader, reader.uint32()));
					continue;
				case 18:
					if (tag !== 144) break;
					message.sourceType = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerReplyContent_RtcExtInfoMapEntry() {
	return {
		key: "0",
		value: ""
	};
}
const LinkerReplyContent_RtcExtInfoMapEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== "") writer.uint32(18).string(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerReplyContent_RtcExtInfoMapEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerReplyContent_ApplierMicIdxInfoMapEntry() {
	return {
		key: "0",
		value: "0"
	};
}
const LinkerReplyContent_ApplierMicIdxInfoMapEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== "0") writer.uint32(16).int64(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerReplyContent_ApplierMicIdxInfoMapEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.value = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerSetting() {
	return {
		maxMemberLimit: "0",
		linkType: "0",
		scene: 0,
		ownerUserId: "0",
		ownerRoomId: "0",
		vendor: 0
	};
}
const LinkerSetting = {
	encode(message, writer = new BinaryWriter()) {
		if (message.maxMemberLimit !== "0") writer.uint32(8).int64(message.maxMemberLimit);
		if (message.linkType !== "0") writer.uint32(16).int64(message.linkType);
		if (message.scene !== 0) writer.uint32(24).int32(message.scene);
		if (message.ownerUserId !== "0") writer.uint32(32).int64(message.ownerUserId);
		if (message.ownerRoomId !== "0") writer.uint32(40).int64(message.ownerRoomId);
		if (message.vendor !== 0) writer.uint32(48).int32(message.vendor);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerSetting();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.maxMemberLimit = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.linkType = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.scene = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.ownerUserId = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.ownerRoomId = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.vendor = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkmicInfo() {
	return {
		accessKey: "",
		linkMicId: "0",
		joinable: false,
		confluenceType: 0,
		rtcExtInfo: "",
		rtcAppId: "",
		rtcAppSign: "",
		linkmicIdStr: "",
		vendor: 0
	};
}
const LinkmicInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.accessKey !== "") writer.uint32(10).string(message.accessKey);
		if (message.linkMicId !== "0") writer.uint32(16).int64(message.linkMicId);
		if (message.joinable !== false) writer.uint32(24).bool(message.joinable);
		if (message.confluenceType !== 0) writer.uint32(32).int32(message.confluenceType);
		if (message.rtcExtInfo !== "") writer.uint32(42).string(message.rtcExtInfo);
		if (message.rtcAppId !== "") writer.uint32(50).string(message.rtcAppId);
		if (message.rtcAppSign !== "") writer.uint32(58).string(message.rtcAppSign);
		if (message.linkmicIdStr !== "") writer.uint32(66).string(message.linkmicIdStr);
		if (message.vendor !== 0) writer.uint32(72).int32(message.vendor);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkmicInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.accessKey = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.linkMicId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.joinable = reader.bool();
					continue;
				case 4:
					if (tag !== 32) break;
					message.confluenceType = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.rtcExtInfo = reader.string();
					continue;
				case 6:
					if (tag !== 50) break;
					message.rtcAppId = reader.string();
					continue;
				case 7:
					if (tag !== 58) break;
					message.rtcAppSign = reader.string();
					continue;
				case 8:
					if (tag !== 66) break;
					message.linkmicIdStr = reader.string();
					continue;
				case 9:
					if (tag !== 72) break;
					message.vendor = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/message/messages.ts
function createBaseAccessControlCaptcha() {
	return {
		captchaRecordId: "0",
		roomId: "0",
		verifyDurationInSec: "0"
	};
}
const AccessControlCaptcha = {
	encode(message, writer = new BinaryWriter()) {
		if (message.captchaRecordId !== "0") writer.uint32(8).int64(message.captchaRecordId);
		if (message.roomId !== "0") writer.uint32(16).int64(message.roomId);
		if (message.verifyDurationInSec !== "0") writer.uint32(24).int64(message.verifyDurationInSec);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAccessControlCaptcha();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.captchaRecordId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.roomId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.verifyDurationInSec = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseActionButton() {
	return {
		buttonType: 0,
		buttonActiveText: void 0,
		buttonInactiveText: void 0,
		buttonSchema: "",
		enableButtonInactiveText: false
	};
}
const ActionButton = {
	encode(message, writer = new BinaryWriter()) {
		if (message.buttonType !== 0) writer.uint32(8).int32(message.buttonType);
		if (message.buttonActiveText !== void 0) Text.encode(message.buttonActiveText, writer.uint32(18).fork()).join();
		if (message.buttonInactiveText !== void 0) Text.encode(message.buttonInactiveText, writer.uint32(26).fork()).join();
		if (message.buttonSchema !== "") writer.uint32(34).string(message.buttonSchema);
		if (message.enableButtonInactiveText !== false) writer.uint32(40).bool(message.enableButtonInactiveText);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseActionButton();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.buttonType = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.buttonActiveText = Text.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.buttonInactiveText = Text.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.buttonSchema = reader.string();
					continue;
				case 5:
					if (tag !== 40) break;
					message.enableButtonInactiveText = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseAddToCartButton() {
	return {
		status: 0,
		clickHintStarling: ""
	};
}
const AddToCartButton = {
	encode(message, writer = new BinaryWriter()) {
		if (message.status !== 0) writer.uint32(8).int32(message.status);
		if (message.clickHintStarling !== "") writer.uint32(18).string(message.clickHintStarling);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAddToCartButton();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.status = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.clickHintStarling = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseAffiliatedInfo() {
	return {
		textContent: void 0,
		gapDesc: void 0,
		realTimeRank: "0",
		teamRankBonusTime: void 0,
		settleInfo: void 0,
		middayPeakTimeStamp: "0",
		stickerShowScene: 0,
		stickerSettleShowDuration: "0",
		stickerGapDesc: void 0,
		stickerTrackParam: {}
	};
}
const AffiliatedInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.textContent !== void 0) Text.encode(message.textContent, writer.uint32(10).fork()).join();
		if (message.gapDesc !== void 0) Text.encode(message.gapDesc, writer.uint32(18).fork()).join();
		if (message.realTimeRank !== "0") writer.uint32(24).int64(message.realTimeRank);
		if (message.teamRankBonusTime !== void 0) TeamRankBonusTime.encode(message.teamRankBonusTime, writer.uint32(34).fork()).join();
		if (message.settleInfo !== void 0) SettleInfo.encode(message.settleInfo, writer.uint32(42).fork()).join();
		if (message.middayPeakTimeStamp !== "0") writer.uint32(48).int64(message.middayPeakTimeStamp);
		if (message.stickerShowScene !== 0) writer.uint32(56).int32(message.stickerShowScene);
		if (message.stickerSettleShowDuration !== "0") writer.uint32(64).int64(message.stickerSettleShowDuration);
		if (message.stickerGapDesc !== void 0) Text.encode(message.stickerGapDesc, writer.uint32(74).fork()).join();
		globalThis.Object.entries(message.stickerTrackParam).forEach(([key, value]) => {
			AffiliatedInfo_StickerTrackParamEntry.encode({
				key,
				value
			}, writer.uint32(82).fork()).join();
		});
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAffiliatedInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.textContent = Text.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.gapDesc = Text.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.realTimeRank = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.teamRankBonusTime = TeamRankBonusTime.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.settleInfo = SettleInfo.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 48) break;
					message.middayPeakTimeStamp = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.stickerShowScene = reader.int32();
					continue;
				case 8:
					if (tag !== 64) break;
					message.stickerSettleShowDuration = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 74) break;
					message.stickerGapDesc = Text.decode(reader, reader.uint32());
					continue;
				case 10: {
					if (tag !== 82) break;
					const entry10 = AffiliatedInfo_StickerTrackParamEntry.decode(reader, reader.uint32());
					if (entry10.value !== void 0) message.stickerTrackParam[entry10.key] = entry10.value;
					continue;
				}
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseAffiliatedInfo_StickerTrackParamEntry() {
	return {
		key: "",
		value: ""
	};
}
const AffiliatedInfo_StickerTrackParamEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.value !== "") writer.uint32(18).string(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAffiliatedInfo_StickerTrackParamEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseAnchorPair() {
	return {
		sourceAnchorId: "0",
		targetAnchorId: "0"
	};
}
const AnchorPair = {
	encode(message, writer = new BinaryWriter()) {
		if (message.sourceAnchorId !== "0") writer.uint32(8).int64(message.sourceAnchorId);
		if (message.targetAnchorId !== "0") writer.uint32(16).int64(message.targetAnchorId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAnchorPair();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.sourceAnchorId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.targetAnchorId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseAnimationData() {
	return {
		geckoChannelName: "",
		fileName: "",
		height: "0",
		width: "0",
		rightOffset: "0"
	};
}
const AnimationData = {
	encode(message, writer = new BinaryWriter()) {
		if (message.geckoChannelName !== "") writer.uint32(10).string(message.geckoChannelName);
		if (message.fileName !== "") writer.uint32(18).string(message.fileName);
		if (message.height !== "0") writer.uint32(24).int64(message.height);
		if (message.width !== "0") writer.uint32(32).int64(message.width);
		if (message.rightOffset !== "0") writer.uint32(40).int64(message.rightOffset);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAnimationData();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.geckoChannelName = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.fileName = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.height = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.width = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.rightOffset = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseAtmosphereTagInfo() {
	return {
		tagType: 0,
		atmosphereTags: [],
		pinAtmosphereTags: []
	};
}
const AtmosphereTagInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.tagType !== 0) writer.uint32(8).int32(message.tagType);
		for (const v of message.atmosphereTags) ProductAtmosphereTag.encode(v, writer.uint32(18).fork()).join();
		for (const v of message.pinAtmosphereTags) ProductAtmosphereTag.encode(v, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAtmosphereTagInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.tagType = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.atmosphereTags.push(ProductAtmosphereTag.decode(reader, reader.uint32()));
					continue;
				case 3:
					if (tag !== 26) break;
					message.pinAtmosphereTags.push(ProductAtmosphereTag.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseAwardCardNotice() {
	return {
		displayContent: void 0,
		awardedUsers: []
	};
}
const AwardCardNotice = {
	encode(message, writer = new BinaryWriter()) {
		if (message.displayContent !== void 0) Text.encode(message.displayContent, writer.uint32(10).fork()).join();
		for (const v of message.awardedUsers) BattleUserInfo.encode(v, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseAwardCardNotice();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.displayContent = Text.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.awardedUsers.push(BattleUserInfo.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBackground() {
	return {
		width: 0,
		height: 0,
		mUrls: [],
		mUri: ""
	};
}
const Background = {
	encode(message, writer = new BinaryWriter()) {
		if (message.width !== 0) writer.uint32(8).int32(message.width);
		if (message.height !== 0) writer.uint32(16).int32(message.height);
		for (const v of message.mUrls) writer.uint32(26).string(v);
		if (message.mUri !== "") writer.uint32(34).string(message.mUri);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBackground();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.width = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.height = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.mUrls.push(reader.string());
					continue;
				case 4:
					if (tag !== 34) break;
					message.mUri = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBarrageEvent() {
	return {
		eventName: "",
		params: {}
	};
}
const BarrageEvent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.eventName !== "") writer.uint32(10).string(message.eventName);
		globalThis.Object.entries(message.params).forEach(([key, value]) => {
			BarrageEvent_ParamsEntry.encode({
				key,
				value
			}, writer.uint32(18).fork()).join();
		});
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBarrageEvent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.eventName = reader.string();
					continue;
				case 2: {
					if (tag !== 18) break;
					const entry2 = BarrageEvent_ParamsEntry.decode(reader, reader.uint32());
					if (entry2.value !== void 0) message.params[entry2.key] = entry2.value;
					continue;
				}
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBarrageEvent_ParamsEntry() {
	return {
		key: "",
		value: ""
	};
}
const BarrageEvent_ParamsEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.value !== "") writer.uint32(18).string(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBarrageEvent_ParamsEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBarrageTypeEcomLiveParam() {
	return {
		plpParams: "",
		scene: "",
		anchoredProductId: "",
		anchoredLabelKey: "",
		entranceForm: "",
		anchoredProductSource: "",
		anchoredProductPlatform: 0
	};
}
const BarrageTypeEcomLiveParam = {
	encode(message, writer = new BinaryWriter()) {
		if (message.plpParams !== "") writer.uint32(10).string(message.plpParams);
		if (message.scene !== "") writer.uint32(18).string(message.scene);
		if (message.anchoredProductId !== "") writer.uint32(26).string(message.anchoredProductId);
		if (message.anchoredLabelKey !== "") writer.uint32(34).string(message.anchoredLabelKey);
		if (message.entranceForm !== "") writer.uint32(42).string(message.entranceForm);
		if (message.anchoredProductSource !== "") writer.uint32(50).string(message.anchoredProductSource);
		if (message.anchoredProductPlatform !== 0) writer.uint32(56).int32(message.anchoredProductPlatform);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBarrageTypeEcomLiveParam();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.plpParams = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.scene = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.anchoredProductId = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.anchoredLabelKey = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.entranceForm = reader.string();
					continue;
				case 6:
					if (tag !== 50) break;
					message.anchoredProductSource = reader.string();
					continue;
				case 7:
					if (tag !== 56) break;
					message.anchoredProductPlatform = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBarrageTypeFansLevelParam() {
	return {
		currentGrade: 0,
		displayConfig: 0,
		user: void 0
	};
}
const BarrageTypeFansLevelParam = {
	encode(message, writer = new BinaryWriter()) {
		if (message.currentGrade !== 0) writer.uint32(8).int32(message.currentGrade);
		if (message.displayConfig !== 0) writer.uint32(16).int32(message.displayConfig);
		if (message.user !== void 0) User.encode(message.user, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBarrageTypeFansLevelParam();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.currentGrade = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.displayConfig = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBarrageTypeGiftGalleryParam() {
	return {
		fromUserId: "0",
		toUserId: "0"
	};
}
const BarrageTypeGiftGalleryParam = {
	encode(message, writer = new BinaryWriter()) {
		if (message.fromUserId !== "0") writer.uint32(8).int64(message.fromUserId);
		if (message.toUserId !== "0") writer.uint32(16).int64(message.toUserId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBarrageTypeGiftGalleryParam();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.fromUserId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.toUserId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBarrageTypeSubscribeGiftParam() {
	return {
		giftSubCount: "0",
		showGiftSubCount: false,
		giftSource: 0
	};
}
const BarrageTypeSubscribeGiftParam = {
	encode(message, writer = new BinaryWriter()) {
		if (message.giftSubCount !== "0") writer.uint32(8).int64(message.giftSubCount);
		if (message.showGiftSubCount !== false) writer.uint32(16).bool(message.showGiftSubCount);
		if (message.giftSource !== 0) writer.uint32(24).int32(message.giftSource);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBarrageTypeSubscribeGiftParam();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.giftSubCount = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.showGiftSubCount = reader.bool();
					continue;
				case 3:
					if (tag !== 24) break;
					message.giftSource = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBarrageTypeUserGradeParam() {
	return {
		currentGrade: 0,
		displayConfig: 0,
		userId: "",
		user: void 0
	};
}
const BarrageTypeUserGradeParam = {
	encode(message, writer = new BinaryWriter()) {
		if (message.currentGrade !== 0) writer.uint32(8).int32(message.currentGrade);
		if (message.displayConfig !== 0) writer.uint32(16).int32(message.displayConfig);
		if (message.userId !== "") writer.uint32(26).string(message.userId);
		if (message.user !== void 0) User.encode(message.user, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBarrageTypeUserGradeParam();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.currentGrade = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.displayConfig = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.userId = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBattleInviteeGiftPermission() {
	return {
		userId: "0",
		giftPermissionType: 0
	};
}
const BattleInviteeGiftPermission = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.giftPermissionType !== 0) writer.uint32(16).int32(message.giftPermissionType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBattleInviteeGiftPermission();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.giftPermissionType = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBillboardDisplayResult() {
	return {
		billboardType: 0,
		billboardId: "",
		displayResult: 0
	};
}
const BillboardDisplayResult = {
	encode(message, writer = new BinaryWriter()) {
		if (message.billboardType !== 0) writer.uint32(8).int32(message.billboardType);
		if (message.billboardId !== "") writer.uint32(18).string(message.billboardId);
		if (message.displayResult !== 0) writer.uint32(24).int32(message.displayResult);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBillboardDisplayResult();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.billboardType = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.billboardId = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.displayResult = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBillboardInfo() {
	return {
		billboardType: 0,
		billboardIds: [],
		sourceFrom: 0,
		bornTimeMs: "",
		billboardVersion: 0,
		daInfo: {}
	};
}
const BillboardInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.billboardType !== 0) writer.uint32(8).int32(message.billboardType);
		for (const v of message.billboardIds) writer.uint32(18).string(v);
		if (message.sourceFrom !== 0) writer.uint32(24).int32(message.sourceFrom);
		if (message.bornTimeMs !== "") writer.uint32(34).string(message.bornTimeMs);
		if (message.billboardVersion !== 0) writer.uint32(40).int32(message.billboardVersion);
		globalThis.Object.entries(message.daInfo).forEach(([key, value]) => {
			BillboardInfo_DaInfoEntry.encode({
				key,
				value
			}, writer.uint32(50).fork()).join();
		});
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBillboardInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.billboardType = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.billboardIds.push(reader.string());
					continue;
				case 3:
					if (tag !== 24) break;
					message.sourceFrom = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.bornTimeMs = reader.string();
					continue;
				case 5:
					if (tag !== 40) break;
					message.billboardVersion = reader.int32();
					continue;
				case 6: {
					if (tag !== 50) break;
					const entry6 = BillboardInfo_DaInfoEntry.decode(reader, reader.uint32());
					if (entry6.value !== void 0) message.daInfo[entry6.key] = entry6.value;
					continue;
				}
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBillboardInfo_DaInfoEntry() {
	return {
		key: "",
		value: ""
	};
}
const BillboardInfo_DaInfoEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.value !== "") writer.uint32(18).string(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBillboardInfo_DaInfoEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseBoostCard() {
	return {
		mCardId: "0",
		taskSource: 0,
		taskId: "0"
	};
}
const BoostCard = {
	encode(message, writer = new BinaryWriter()) {
		if (message.mCardId !== "0") writer.uint32(8).int64(message.mCardId);
		if (message.taskSource !== 0) writer.uint32(16).int32(message.taskSource);
		if (message.taskId !== "0") writer.uint32(24).int64(message.taskId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseBoostCard();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.mCardId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.taskSource = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.taskId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCampaignBannerDisplay() {
	return {
		imageUrl: "",
		campaignBannerIsDisplay: false,
		sourceFrom: 0,
		bornTimeMs: "",
		billboardVersion: 0,
		daInfo: {}
	};
}
const CampaignBannerDisplay = {
	encode(message, writer = new BinaryWriter()) {
		if (message.imageUrl !== "") writer.uint32(10).string(message.imageUrl);
		if (message.campaignBannerIsDisplay !== false) writer.uint32(16).bool(message.campaignBannerIsDisplay);
		if (message.sourceFrom !== 0) writer.uint32(24).int32(message.sourceFrom);
		if (message.bornTimeMs !== "") writer.uint32(34).string(message.bornTimeMs);
		if (message.billboardVersion !== 0) writer.uint32(40).int32(message.billboardVersion);
		globalThis.Object.entries(message.daInfo).forEach(([key, value]) => {
			CampaignBannerDisplay_DaInfoEntry.encode({
				key,
				value
			}, writer.uint32(50).fork()).join();
		});
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCampaignBannerDisplay();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.imageUrl = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.campaignBannerIsDisplay = reader.bool();
					continue;
				case 3:
					if (tag !== 24) break;
					message.sourceFrom = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.bornTimeMs = reader.string();
					continue;
				case 5:
					if (tag !== 40) break;
					message.billboardVersion = reader.int32();
					continue;
				case 6: {
					if (tag !== 50) break;
					const entry6 = CampaignBannerDisplay_DaInfoEntry.decode(reader, reader.uint32());
					if (entry6.value !== void 0) message.daInfo[entry6.key] = entry6.value;
					continue;
				}
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCampaignBannerDisplay_DaInfoEntry() {
	return {
		key: "",
		value: ""
	};
}
const CampaignBannerDisplay_DaInfoEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.value !== "") writer.uint32(18).string(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCampaignBannerDisplay_DaInfoEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCampaignBannerDisplayResult() {
	return { campaignBannerDisplayResult: 0 };
}
const CampaignBannerDisplayResult = {
	encode(message, writer = new BinaryWriter()) {
		if (message.campaignBannerDisplayResult !== 0) writer.uint32(8).int32(message.campaignBannerDisplayResult);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCampaignBannerDisplayResult();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.campaignBannerDisplayResult = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCapsuleBizParams() {
	return {
		cohost: void 0,
		randomGift: void 0,
		effectParams: void 0,
		commentFlaggedPrompt: void 0,
		multiGuestInviteGuide: void 0,
		anchorPinPerk: void 0,
		gamingModeratorsCommentGuide: void 0,
		commentMuteRulePrompt: void 0,
		commentFlaggedPromptForNewUser: void 0,
		moderatorGuideInfo: void 0,
		multiGuestApplyGuide: void 0,
		ecom: void 0
	};
}
const CapsuleBizParams = {
	encode(message, writer = new BinaryWriter()) {
		if (message.cohost !== void 0) CapsuleBizParamsCohost.encode(message.cohost, writer.uint32(10).fork()).join();
		if (message.randomGift !== void 0) CapsuleBizParamsRandomGift.encode(message.randomGift, writer.uint32(26).fork()).join();
		if (message.effectParams !== void 0) CapsuleBizParamsNewAnchorEffect.encode(message.effectParams, writer.uint32(34).fork()).join();
		if (message.commentFlaggedPrompt !== void 0) CapsuleBizParamsCommentFlaggedPrompt.encode(message.commentFlaggedPrompt, writer.uint32(42).fork()).join();
		if (message.multiGuestInviteGuide !== void 0) CapsuleBizParamsMultiGuestInviteGuide.encode(message.multiGuestInviteGuide, writer.uint32(50).fork()).join();
		if (message.anchorPinPerk !== void 0) CapsuleBizParamsAnchorPinPerk.encode(message.anchorPinPerk, writer.uint32(58).fork()).join();
		if (message.gamingModeratorsCommentGuide !== void 0) CapsuleBizParamsGamingModeratorsCommentGuide.encode(message.gamingModeratorsCommentGuide, writer.uint32(66).fork()).join();
		if (message.commentMuteRulePrompt !== void 0) CapsuleBizParamsCommentMuteRulePrompt.encode(message.commentMuteRulePrompt, writer.uint32(74).fork()).join();
		if (message.commentFlaggedPromptForNewUser !== void 0) CapsuleBizParamsCommentFlaggedPromptForNewUser.encode(message.commentFlaggedPromptForNewUser, writer.uint32(82).fork()).join();
		if (message.moderatorGuideInfo !== void 0) CapsuleBizParamsModeratorGuide.encode(message.moderatorGuideInfo, writer.uint32(90).fork()).join();
		if (message.multiGuestApplyGuide !== void 0) CapsuleBizParamsMultiGuestApplyGuide.encode(message.multiGuestApplyGuide, writer.uint32(98).fork()).join();
		if (message.ecom !== void 0) CapsuleBizParamsEcom.encode(message.ecom, writer.uint32(106).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCapsuleBizParams();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.cohost = CapsuleBizParamsCohost.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.randomGift = CapsuleBizParamsRandomGift.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.effectParams = CapsuleBizParamsNewAnchorEffect.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.commentFlaggedPrompt = CapsuleBizParamsCommentFlaggedPrompt.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.multiGuestInviteGuide = CapsuleBizParamsMultiGuestInviteGuide.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.anchorPinPerk = CapsuleBizParamsAnchorPinPerk.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.gamingModeratorsCommentGuide = CapsuleBizParamsGamingModeratorsCommentGuide.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 74) break;
					message.commentMuteRulePrompt = CapsuleBizParamsCommentMuteRulePrompt.decode(reader, reader.uint32());
					continue;
				case 10:
					if (tag !== 82) break;
					message.commentFlaggedPromptForNewUser = CapsuleBizParamsCommentFlaggedPromptForNewUser.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 90) break;
					message.moderatorGuideInfo = CapsuleBizParamsModeratorGuide.decode(reader, reader.uint32());
					continue;
				case 12:
					if (tag !== 98) break;
					message.multiGuestApplyGuide = CapsuleBizParamsMultiGuestApplyGuide.decode(reader, reader.uint32());
					continue;
				case 13:
					if (tag !== 106) break;
					message.ecom = CapsuleBizParamsEcom.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCapsuleBizParamsAnchorPinPerk() {
	return {
		pinId: "0",
		pinCardType: 0,
		templateId: ""
	};
}
const CapsuleBizParamsAnchorPinPerk = {
	encode(message, writer = new BinaryWriter()) {
		if (message.pinId !== "0") writer.uint32(8).int64(message.pinId);
		if (message.pinCardType !== 0) writer.uint32(16).int32(message.pinCardType);
		if (message.templateId !== "") writer.uint32(26).string(message.templateId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCapsuleBizParamsAnchorPinPerk();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.pinId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.pinCardType = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.templateId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCapsuleBizParamsCohost() {
	return {
		availableFriendNumber: "0",
		isFollowedByRival: false,
		rivalUser: void 0,
		type: "",
		inviteeModelPredictionData: void 0,
		inviteeRoomId: "0",
		inviteeInnerChannelId: "0",
		inviteeUserInfo: void 0,
		isFriend: false,
		subType: "",
		rivalVoteCount: "",
		anchorClassLabel: void 0,
		rivalClassLabel: void 0
	};
}
const CapsuleBizParamsCohost = {
	encode(message, writer = new BinaryWriter()) {
		if (message.availableFriendNumber !== "0") writer.uint32(8).int64(message.availableFriendNumber);
		if (message.isFollowedByRival !== false) writer.uint32(16).bool(message.isFollowedByRival);
		if (message.rivalUser !== void 0) User.encode(message.rivalUser, writer.uint32(26).fork()).join();
		if (message.type !== "") writer.uint32(34).string(message.type);
		if (message.inviteeModelPredictionData !== void 0) UserModelPredictionData.encode(message.inviteeModelPredictionData, writer.uint32(42).fork()).join();
		if (message.inviteeRoomId !== "0") writer.uint32(48).int64(message.inviteeRoomId);
		if (message.inviteeInnerChannelId !== "0") writer.uint32(56).int64(message.inviteeInnerChannelId);
		if (message.inviteeUserInfo !== void 0) User.encode(message.inviteeUserInfo, writer.uint32(66).fork()).join();
		if (message.isFriend !== false) writer.uint32(72).bool(message.isFriend);
		if (message.subType !== "") writer.uint32(82).string(message.subType);
		if (message.rivalVoteCount !== "") writer.uint32(90).string(message.rivalVoteCount);
		if (message.anchorClassLabel !== void 0) GiftGalleryBadgeSection.encode(message.anchorClassLabel, writer.uint32(98).fork()).join();
		if (message.rivalClassLabel !== void 0) GiftGalleryBadgeSection.encode(message.rivalClassLabel, writer.uint32(106).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCapsuleBizParamsCohost();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.availableFriendNumber = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.isFollowedByRival = reader.bool();
					continue;
				case 3:
					if (tag !== 26) break;
					message.rivalUser = User.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.type = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.inviteeModelPredictionData = UserModelPredictionData.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 48) break;
					message.inviteeRoomId = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.inviteeInnerChannelId = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 66) break;
					message.inviteeUserInfo = User.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 72) break;
					message.isFriend = reader.bool();
					continue;
				case 10:
					if (tag !== 82) break;
					message.subType = reader.string();
					continue;
				case 11:
					if (tag !== 90) break;
					message.rivalVoteCount = reader.string();
					continue;
				case 12:
					if (tag !== 98) break;
					message.anchorClassLabel = GiftGalleryBadgeSection.decode(reader, reader.uint32());
					continue;
				case 13:
					if (tag !== 106) break;
					message.rivalClassLabel = GiftGalleryBadgeSection.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCapsuleBizParamsCommentFlaggedPrompt() {
	return { trigger: "0" };
}
const CapsuleBizParamsCommentFlaggedPrompt = {
	encode(message, writer = new BinaryWriter()) {
		if (message.trigger !== "0") writer.uint32(8).int64(message.trigger);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCapsuleBizParamsCommentFlaggedPrompt();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.trigger = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCapsuleBizParamsCommentFlaggedPromptForNewUser() {
	return {
		trigger: "0",
		commentIds: []
	};
}
const CapsuleBizParamsCommentFlaggedPromptForNewUser = {
	encode(message, writer = new BinaryWriter()) {
		if (message.trigger !== "0") writer.uint32(8).int64(message.trigger);
		writer.uint32(18).fork();
		for (const v of message.commentIds) writer.int64(v);
		writer.join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCapsuleBizParamsCommentFlaggedPromptForNewUser();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.trigger = reader.int64().toString();
					continue;
				case 2:
					if (tag === 16) {
						message.commentIds.push(reader.int64().toString());
						continue;
					}
					if (tag === 18) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.commentIds.push(reader.int64().toString());
						continue;
					}
					break;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCapsuleBizParamsCommentMuteRulePrompt() {
	return {
		content: "",
		userCnt: "0"
	};
}
const CapsuleBizParamsCommentMuteRulePrompt = {
	encode(message, writer = new BinaryWriter()) {
		if (message.content !== "") writer.uint32(10).string(message.content);
		if (message.userCnt !== "0") writer.uint32(16).int64(message.userCnt);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCapsuleBizParamsCommentMuteRulePrompt();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.content = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.userCnt = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCapsuleBizParamsEcom() {
	return { eventTracking: void 0 };
}
const CapsuleBizParamsEcom = {
	encode(message, writer = new BinaryWriter()) {
		if (message.eventTracking !== void 0) CapsuleBizParamsEcomEventTracking.encode(message.eventTracking, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCapsuleBizParamsEcom();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 3:
					if (tag !== 26) break;
					message.eventTracking = CapsuleBizParamsEcomEventTracking.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCapsuleBizParamsEcomEventTracking() {
	return {
		ecomRecommId: "",
		ecomRecommTrigger: ""
	};
}
const CapsuleBizParamsEcomEventTracking = {
	encode(message, writer = new BinaryWriter()) {
		if (message.ecomRecommId !== "") writer.uint32(10).string(message.ecomRecommId);
		if (message.ecomRecommTrigger !== "") writer.uint32(18).string(message.ecomRecommTrigger);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCapsuleBizParamsEcomEventTracking();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.ecomRecommId = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.ecomRecommTrigger = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCapsuleBizParamsGamingModeratorsCommentGuide() {
	return {
		user: void 0,
		replyMsgText: void 0,
		recommendText: void 0,
		ruleId: "0",
		action: void 0
	};
}
const CapsuleBizParamsGamingModeratorsCommentGuide = {
	encode(message, writer = new BinaryWriter()) {
		if (message.user !== void 0) User.encode(message.user, writer.uint32(10).fork()).join();
		if (message.replyMsgText !== void 0) Text.encode(message.replyMsgText, writer.uint32(18).fork()).join();
		if (message.recommendText !== void 0) RecommendComment.encode(message.recommendText, writer.uint32(26).fork()).join();
		if (message.ruleId !== "0") writer.uint32(40).int64(message.ruleId);
		if (message.action !== void 0) GameAction.encode(message.action, writer.uint32(50).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCapsuleBizParamsGamingModeratorsCommentGuide();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.replyMsgText = Text.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.recommendText = RecommendComment.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 40) break;
					message.ruleId = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 50) break;
					message.action = GameAction.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCapsuleBizParamsModeratorGuide() {
	return {
		isGiftModerator: false,
		isInteractiveModerator: false,
		isToolModerator: false,
		hvUser: void 0,
		welcomeMsg: void 0,
		recommendSensitiveWords: []
	};
}
const CapsuleBizParamsModeratorGuide = {
	encode(message, writer = new BinaryWriter()) {
		if (message.isGiftModerator !== false) writer.uint32(8).bool(message.isGiftModerator);
		if (message.isInteractiveModerator !== false) writer.uint32(16).bool(message.isInteractiveModerator);
		if (message.isToolModerator !== false) writer.uint32(24).bool(message.isToolModerator);
		if (message.hvUser !== void 0) User.encode(message.hvUser, writer.uint32(34).fork()).join();
		if (message.welcomeMsg !== void 0) Text.encode(message.welcomeMsg, writer.uint32(42).fork()).join();
		for (const v of message.recommendSensitiveWords) writer.uint32(50).string(v);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCapsuleBizParamsModeratorGuide();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.isGiftModerator = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.isInteractiveModerator = reader.bool();
					continue;
				case 3:
					if (tag !== 24) break;
					message.isToolModerator = reader.bool();
					continue;
				case 4:
					if (tag !== 34) break;
					message.hvUser = User.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.welcomeMsg = Text.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.recommendSensitiveWords.push(reader.string());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCapsuleBizParamsMultiGuestApplyGuide() {
	return {
		applyUser: void 0,
		displayStrategy: 0,
		linkmicAudienceApplyNoticeReason: "",
		noticeType: 0,
		applyNoticeGuide: void 0
	};
}
const CapsuleBizParamsMultiGuestApplyGuide = {
	encode(message, writer = new BinaryWriter()) {
		if (message.applyUser !== void 0) User.encode(message.applyUser, writer.uint32(10).fork()).join();
		if (message.displayStrategy !== 0) writer.uint32(16).int32(message.displayStrategy);
		if (message.linkmicAudienceApplyNoticeReason !== "") writer.uint32(26).string(message.linkmicAudienceApplyNoticeReason);
		if (message.noticeType !== 0) writer.uint32(32).int32(message.noticeType);
		if (message.applyNoticeGuide !== void 0) LinkmicAudienceApplyGuide.encode(message.applyNoticeGuide, writer.uint32(42).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCapsuleBizParamsMultiGuestApplyGuide();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.applyUser = User.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.displayStrategy = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.linkmicAudienceApplyNoticeReason = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.noticeType = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.applyNoticeGuide = LinkmicAudienceApplyGuide.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCapsuleBizParamsMultiGuestInviteGuide() {
	return {
		inviteeUser: void 0,
		displayStrategy: 0,
		linkmicAudienceInviteNoticeReason: "",
		noticeType: 0,
		turnOnGuide: void 0,
		noticeGuide: void 0,
		groupChatMemberInviteGuide: void 0
	};
}
const CapsuleBizParamsMultiGuestInviteGuide = {
	encode(message, writer = new BinaryWriter()) {
		if (message.inviteeUser !== void 0) User.encode(message.inviteeUser, writer.uint32(10).fork()).join();
		if (message.displayStrategy !== 0) writer.uint32(16).int32(message.displayStrategy);
		if (message.linkmicAudienceInviteNoticeReason !== "") writer.uint32(26).string(message.linkmicAudienceInviteNoticeReason);
		if (message.noticeType !== 0) writer.uint32(32).int32(message.noticeType);
		if (message.turnOnGuide !== void 0) LinkMicAudienceTurnOnGuide.encode(message.turnOnGuide, writer.uint32(42).fork()).join();
		if (message.noticeGuide !== void 0) LinkMicAudienceInviteGuide.encode(message.noticeGuide, writer.uint32(50).fork()).join();
		if (message.groupChatMemberInviteGuide !== void 0) LinkmicAudienceInviteGroupChatMemberGuide.encode(message.groupChatMemberInviteGuide, writer.uint32(58).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCapsuleBizParamsMultiGuestInviteGuide();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.inviteeUser = User.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.displayStrategy = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.linkmicAudienceInviteNoticeReason = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.noticeType = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.turnOnGuide = LinkMicAudienceTurnOnGuide.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.noticeGuide = LinkMicAudienceInviteGuide.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.groupChatMemberInviteGuide = LinkmicAudienceInviteGroupChatMemberGuide.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCapsuleBizParamsNewAnchorEffect() {
	return {
		effectPanel: "",
		resourceId: "",
		categoryId: "",
		tabKey: ""
	};
}
const CapsuleBizParamsNewAnchorEffect = {
	encode(message, writer = new BinaryWriter()) {
		if (message.effectPanel !== "") writer.uint32(10).string(message.effectPanel);
		if (message.resourceId !== "") writer.uint32(18).string(message.resourceId);
		if (message.categoryId !== "") writer.uint32(26).string(message.categoryId);
		if (message.tabKey !== "") writer.uint32(34).string(message.tabKey);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCapsuleBizParamsNewAnchorEffect();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.effectPanel = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.resourceId = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.categoryId = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.tabKey = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCapsuleBizParamsRandomGift() {
	return {
		round: "0",
		effectNameKey: "",
		gift: void 0,
		type: "0",
		filterHost: false
	};
}
const CapsuleBizParamsRandomGift = {
	encode(message, writer = new BinaryWriter()) {
		if (message.round !== "0") writer.uint32(8).int64(message.round);
		if (message.effectNameKey !== "") writer.uint32(18).string(message.effectNameKey);
		if (message.gift !== void 0) Gift.encode(message.gift, writer.uint32(26).fork()).join();
		if (message.type !== "0") writer.uint32(32).int64(message.type);
		if (message.filterHost !== false) writer.uint32(40).bool(message.filterHost);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCapsuleBizParamsRandomGift();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.round = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.effectNameKey = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.gift = Gift.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.type = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.filterHost = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCaptionContent() {
	return {
		lang: "",
		content: ""
	};
}
const CaptionContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.lang !== "") writer.uint32(10).string(message.lang);
		if (message.content !== "") writer.uint32(18).string(message.content);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCaptionContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.lang = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.content = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCardObtainGuide() {
	return { notInUse: 0 };
}
const CardObtainGuide = {
	encode(message, writer = new BinaryWriter()) {
		if (message.notInUse !== 0) writer.uint32(8).int32(message.notInUse);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCardObtainGuide();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.notInUse = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCohostListChangeContent() {
	return { users: [] };
}
const CohostListChangeContent = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.users) CohostListUser.encode(v, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCohostListChangeContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.users.push(CohostListUser.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCommentLabelScore() {
	return {
		labelName: "",
		score: 0
	};
}
const CommentLabelScore = {
	encode(message, writer = new BinaryWriter()) {
		if (message.labelName !== "") writer.uint32(10).string(message.labelName);
		if (message.score !== 0) writer.uint32(21).float(message.score);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCommentLabelScore();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.labelName = reader.string();
					continue;
				case 2:
					if (tag !== 21) break;
					message.score = reader.float();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCommentQualityScore() {
	return {
		version: "",
		score: "0"
	};
}
const CommentQualityScore = {
	encode(message, writer = new BinaryWriter()) {
		if (message.version !== "") writer.uint32(10).string(message.version);
		if (message.score !== "0") writer.uint32(16).int64(message.score);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCommentQualityScore();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.version = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.score = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseContributor() {
	return {
		score: "0",
		user: void 0,
		rank: "0",
		delta: "0"
	};
}
const Contributor = {
	encode(message, writer = new BinaryWriter()) {
		if (message.score !== "0") writer.uint32(8).int64(message.score);
		if (message.user !== void 0) User.encode(message.user, writer.uint32(18).fork()).join();
		if (message.rank !== "0") writer.uint32(24).int64(message.rank);
		if (message.delta !== "0") writer.uint32(32).int64(message.delta);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseContributor();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.score = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.rank = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.delta = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseCreatorSuccessInfo() {
	return {
		tags: [],
		topic: void 0,
		topicList: [],
		frequencyControl: void 0
	};
}
const CreatorSuccessInfo = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.tags) TagItem.encode(v, writer.uint32(10).fork()).join();
		if (message.topic !== void 0) Topic.encode(message.topic, writer.uint32(18).fork()).join();
		for (const v of message.topicList) Topic.encode(v, writer.uint32(26).fork()).join();
		if (message.frequencyControl !== void 0) FrequencyControl.encode(message.frequencyControl, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseCreatorSuccessInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.tags.push(TagItem.decode(reader, reader.uint32()));
					continue;
				case 2:
					if (tag !== 18) break;
					message.topic = Topic.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.topicList.push(Topic.decode(reader, reader.uint32()));
					continue;
				case 4:
					if (tag !== 34) break;
					message.frequencyControl = FrequencyControl.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseDelayParam() {
	return {
		minDelayMs: "0",
		maxDelayMs: "0"
	};
}
const DelayParam = {
	encode(message, writer = new BinaryWriter()) {
		if (message.minDelayMs !== "0") writer.uint32(8).int64(message.minDelayMs);
		if (message.maxDelayMs !== "0") writer.uint32(16).int64(message.maxDelayMs);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseDelayParam();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.minDelayMs = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.maxDelayMs = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseDetail() {
	return {
		text: void 0,
		textFontSize: 0,
		background: void 0,
		start: "0",
		duration: "0",
		x: 0,
		y: 0,
		width: 0,
		height: 0,
		shadowDx: 0,
		shadowDy: 0,
		shadowRadius: 0,
		shadowColor: "",
		strokeColor: "",
		strokeWidth: 0
	};
}
const Detail = {
	encode(message, writer = new BinaryWriter()) {
		if (message.text !== void 0) Text.encode(message.text, writer.uint32(10).fork()).join();
		if (message.textFontSize !== 0) writer.uint32(16).int32(message.textFontSize);
		if (message.background !== void 0) ImageModel.encode(message.background, writer.uint32(26).fork()).join();
		if (message.start !== "0") writer.uint32(32).int64(message.start);
		if (message.duration !== "0") writer.uint32(40).int64(message.duration);
		if (message.x !== 0) writer.uint32(48).int32(message.x);
		if (message.y !== 0) writer.uint32(56).int32(message.y);
		if (message.width !== 0) writer.uint32(64).int32(message.width);
		if (message.height !== 0) writer.uint32(72).int32(message.height);
		if (message.shadowDx !== 0) writer.uint32(80).int32(message.shadowDx);
		if (message.shadowDy !== 0) writer.uint32(88).int32(message.shadowDy);
		if (message.shadowRadius !== 0) writer.uint32(96).int32(message.shadowRadius);
		if (message.shadowColor !== "") writer.uint32(106).string(message.shadowColor);
		if (message.strokeColor !== "") writer.uint32(114).string(message.strokeColor);
		if (message.strokeWidth !== 0) writer.uint32(120).int32(message.strokeWidth);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseDetail();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.text = Text.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.textFontSize = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.background = ImageModel.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.start = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.duration = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.x = reader.int32();
					continue;
				case 7:
					if (tag !== 56) break;
					message.y = reader.int32();
					continue;
				case 8:
					if (tag !== 64) break;
					message.width = reader.int32();
					continue;
				case 9:
					if (tag !== 72) break;
					message.height = reader.int32();
					continue;
				case 10:
					if (tag !== 80) break;
					message.shadowDx = reader.int32();
					continue;
				case 11:
					if (tag !== 88) break;
					message.shadowDy = reader.int32();
					continue;
				case 12:
					if (tag !== 96) break;
					message.shadowRadius = reader.int32();
					continue;
				case 13:
					if (tag !== 106) break;
					message.shadowColor = reader.string();
					continue;
				case 14:
					if (tag !== 114) break;
					message.strokeColor = reader.string();
					continue;
				case 15:
					if (tag !== 120) break;
					message.strokeWidth = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseDispersionInfo() {
	return {
		dispersionPath: 0,
		delayParam: void 0
	};
}
const DispersionInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.dispersionPath !== 0) writer.uint32(8).int32(message.dispersionPath);
		if (message.delayParam !== void 0) DelayParam.encode(message.delayParam, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseDispersionInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.dispersionPath = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.delayParam = DelayParam.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseEffectConfigBean() {
	return {
		type: 0,
		icon: void 0,
		text: void 0,
		badge: void 0
	};
}
const EffectConfigBean = {
	encode(message, writer = new BinaryWriter()) {
		if (message.type !== 0) writer.uint32(8).int32(message.type);
		if (message.icon !== void 0) ImageModel.encode(message.icon, writer.uint32(18).fork()).join();
		if (message.text !== void 0) Text.encode(message.text, writer.uint32(34).fork()).join();
		if (message.badge !== void 0) ImageModel.encode(message.badge, writer.uint32(66).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseEffectConfigBean();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.type = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.icon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.text = Text.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.badge = ImageModel.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseExtra() {
	return {
		banInfoUrl: "",
		reasonNo: "0",
		title: void 0,
		violationReason: void 0,
		content: void 0,
		gotItButton: void 0,
		banDetailButton: void 0,
		source: ""
	};
}
const Extra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.banInfoUrl !== "") writer.uint32(10).string(message.banInfoUrl);
		if (message.reasonNo !== "0") writer.uint32(16).int64(message.reasonNo);
		if (message.title !== void 0) Text.encode(message.title, writer.uint32(26).fork()).join();
		if (message.violationReason !== void 0) Text.encode(message.violationReason, writer.uint32(34).fork()).join();
		if (message.content !== void 0) Text.encode(message.content, writer.uint32(42).fork()).join();
		if (message.gotItButton !== void 0) Text.encode(message.gotItButton, writer.uint32(50).fork()).join();
		if (message.banDetailButton !== void 0) Text.encode(message.banDetailButton, writer.uint32(58).fork()).join();
		if (message.source !== "") writer.uint32(66).string(message.source);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.banInfoUrl = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.reasonNo = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.title = Text.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.violationReason = Text.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.content = Text.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.gotItButton = Text.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.banDetailButton = Text.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.source = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseFanTicketRoomNoticeContent() {
	return {
		userFanTicket: [],
		totalLinkmicFanTicket: "0",
		matchId: "0",
		eventTime: "0",
		fanTicketIconUrl: "",
		playId: "0",
		playScene: 0,
		version: "0",
		scoreType: 0
	};
}
const FanTicketRoomNoticeContent = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.userFanTicket) UserFanTicket.encode(v, writer.uint32(10).fork()).join();
		if (message.totalLinkmicFanTicket !== "0") writer.uint32(16).int64(message.totalLinkmicFanTicket);
		if (message.matchId !== "0") writer.uint32(24).int64(message.matchId);
		if (message.eventTime !== "0") writer.uint32(32).int64(message.eventTime);
		if (message.fanTicketIconUrl !== "") writer.uint32(42).string(message.fanTicketIconUrl);
		if (message.playId !== "0") writer.uint32(48).int64(message.playId);
		if (message.playScene !== 0) writer.uint32(56).int32(message.playScene);
		if (message.version !== "0") writer.uint32(64).int64(message.version);
		if (message.scoreType !== 0) writer.uint32(72).int32(message.scoreType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseFanTicketRoomNoticeContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.userFanTicket.push(UserFanTicket.decode(reader, reader.uint32()));
					continue;
				case 2:
					if (tag !== 16) break;
					message.totalLinkmicFanTicket = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.matchId = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.eventTime = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.fanTicketIconUrl = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.playId = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.playScene = reader.int32();
					continue;
				case 8:
					if (tag !== 64) break;
					message.version = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 72) break;
					message.scoreType = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseFlashSaleAtmosphere() {
	return {
		status: 0,
		startTime: "0",
		endTime: "0",
		preheatTime: "0",
		enhancementInfo: void 0,
		pdpViewerCount: 0
	};
}
const FlashSaleAtmosphere = {
	encode(message, writer = new BinaryWriter()) {
		if (message.status !== 0) writer.uint32(8).int32(message.status);
		if (message.startTime !== "0") writer.uint32(16).int64(message.startTime);
		if (message.endTime !== "0") writer.uint32(24).int64(message.endTime);
		if (message.preheatTime !== "0") writer.uint32(32).int64(message.preheatTime);
		if (message.enhancementInfo !== void 0) FlashSaleEnhancementInfo$1.encode(message.enhancementInfo, writer.uint32(42).fork()).join();
		if (message.pdpViewerCount !== 0) writer.uint32(48).int32(message.pdpViewerCount);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseFlashSaleAtmosphere();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.status = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.startTime = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.endTime = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.preheatTime = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.enhancementInfo = FlashSaleEnhancementInfo$1.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 48) break;
					message.pdpViewerCount = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseFlashSaleAtmosphereInfo() {
	return {
		productId: "",
		activityId: "0",
		flashSaleAtmosphere: void 0,
		flashSaleStock: void 0,
		pinnedProduct: false,
		liveOnlyChannel: false,
		creatorLimitType: 0
	};
}
const FlashSaleAtmosphereInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.productId !== "") writer.uint32(10).string(message.productId);
		if (message.activityId !== "0") writer.uint32(16).int64(message.activityId);
		if (message.flashSaleAtmosphere !== void 0) FlashSaleAtmosphere.encode(message.flashSaleAtmosphere, writer.uint32(26).fork()).join();
		if (message.flashSaleStock !== void 0) FlashSaleStock.encode(message.flashSaleStock, writer.uint32(34).fork()).join();
		if (message.pinnedProduct !== false) writer.uint32(40).bool(message.pinnedProduct);
		if (message.liveOnlyChannel !== false) writer.uint32(48).bool(message.liveOnlyChannel);
		if (message.creatorLimitType !== 0) writer.uint32(56).int32(message.creatorLimitType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseFlashSaleAtmosphereInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.productId = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.activityId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.flashSaleAtmosphere = FlashSaleAtmosphere.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.flashSaleStock = FlashSaleStock.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 40) break;
					message.pinnedProduct = reader.bool();
					continue;
				case 6:
					if (tag !== 48) break;
					message.liveOnlyChannel = reader.bool();
					continue;
				case 7:
					if (tag !== 56) break;
					message.creatorLimitType = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseFlashSaleEnhancementInfo() {
	return {
		stockShowStatus: 0,
		buyerInfos: [],
		enhancementTextInfo: void 0
	};
}
const FlashSaleEnhancementInfo$1 = {
	encode(message, writer = new BinaryWriter()) {
		if (message.stockShowStatus !== 0) writer.uint32(8).int32(message.stockShowStatus);
		for (const v of message.buyerInfos) UserInfo.encode(v, writer.uint32(18).fork()).join();
		if (message.enhancementTextInfo !== void 0) EnhancementTextInfo.encode(message.enhancementTextInfo, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseFlashSaleEnhancementInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.stockShowStatus = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.buyerInfos.push(UserInfo.decode(reader, reader.uint32()));
					continue;
				case 3:
					if (tag !== 26) break;
					message.enhancementTextInfo = EnhancementTextInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseFlashSaleStock() {
	return {
		activityStockStatus: 0,
		activityStock: 0,
		activityStockText: "",
		totalStock: 0
	};
}
const FlashSaleStock = {
	encode(message, writer = new BinaryWriter()) {
		if (message.activityStockStatus !== 0) writer.uint32(8).int32(message.activityStockStatus);
		if (message.activityStock !== 0) writer.uint32(16).int32(message.activityStock);
		if (message.activityStockText !== "") writer.uint32(26).string(message.activityStockText);
		if (message.totalStock !== 0) writer.uint32(32).int32(message.totalStock);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseFlashSaleStock();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.activityStockStatus = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.activityStock = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.activityStockText = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.totalStock = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseFrequencyControl() {
	return {
		frequencyControlKey: "",
		windowSize: "0",
		limitInWindow: "0"
	};
}
const FrequencyControl = {
	encode(message, writer = new BinaryWriter()) {
		if (message.frequencyControlKey !== "") writer.uint32(10).string(message.frequencyControlKey);
		if (message.windowSize !== "0") writer.uint32(16).int64(message.windowSize);
		if (message.limitInWindow !== "0") writer.uint32(24).int64(message.limitInWindow);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseFrequencyControl();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.frequencyControlKey = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.windowSize = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.limitInWindow = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGalleryData() {
	return {
		progress: {},
		period: "0",
		endTimeInMs: "0"
	};
}
const GalleryData = {
	encode(message, writer = new BinaryWriter()) {
		globalThis.Object.entries(message.progress).forEach(([key, value]) => {
			GalleryData_ProgressEntry.encode({
				key,
				value
			}, writer.uint32(10).fork()).join();
		});
		if (message.period !== "0") writer.uint32(16).int64(message.period);
		if (message.endTimeInMs !== "0") writer.uint32(24).int64(message.endTimeInMs);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGalleryData();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1: {
					if (tag !== 10) break;
					const entry1 = GalleryData_ProgressEntry.decode(reader, reader.uint32());
					if (entry1.value !== void 0) message.progress[entry1.key] = entry1.value;
					continue;
				}
				case 2:
					if (tag !== 16) break;
					message.period = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.endTimeInMs = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGalleryData_ProgressEntry() {
	return {
		key: "0",
		value: void 0
	};
}
const GalleryData_ProgressEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) TitleData.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGalleryData_ProgressEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = TitleData.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGameAction() {
	return {
		actionType: 0,
		jumpPage: 0,
		followUserId: "0",
		followUserInfo: void 0,
		actionSchema: ""
	};
}
const GameAction = {
	encode(message, writer = new BinaryWriter()) {
		if (message.actionType !== 0) writer.uint32(8).int32(message.actionType);
		if (message.jumpPage !== 0) writer.uint32(16).int32(message.jumpPage);
		if (message.followUserId !== "0") writer.uint32(24).int64(message.followUserId);
		if (message.followUserInfo !== void 0) User.encode(message.followUserInfo, writer.uint32(34).fork()).join();
		if (message.actionSchema !== "") writer.uint32(42).string(message.actionSchema);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGameAction();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.actionType = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.jumpPage = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.followUserId = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.followUserInfo = User.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.actionSchema = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftIMPriority() {
	return {
		queueSizes: [],
		selfQueuePriority: "0",
		priority: 0
	};
}
const GiftIMPriority = {
	encode(message, writer = new BinaryWriter()) {
		writer.uint32(10).fork();
		for (const v of message.queueSizes) writer.int64(v);
		writer.join();
		if (message.selfQueuePriority !== "0") writer.uint32(16).int64(message.selfQueuePriority);
		if (message.priority !== 0) writer.uint32(24).int32(message.priority);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftIMPriority();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag === 8) {
						message.queueSizes.push(reader.int64().toString());
						continue;
					}
					if (tag === 10) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.queueSizes.push(reader.int64().toString());
						continue;
					}
					break;
				case 2:
					if (tag !== 16) break;
					message.selfQueuePriority = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.priority = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftInfo() {
	return {
		id: "0",
		price: "0"
	};
}
const GiftInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.id !== "0") writer.uint32(8).int64(message.id);
		if (message.price !== "0") writer.uint32(16).int64(message.price);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.id = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.price = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGiftMonitorInfo() {
	return {
		anchorId: "0",
		profitapiMessageDur: "0",
		sendGiftProfitApiStartMs: "0",
		sendGiftProfitCoreStartMs: "0",
		sendGiftReqStartMs: "0",
		sendGiftSendMessageSuccessMs: "0",
		sendProfitapiDur: "0",
		toUserId: "0",
		sendGiftStartClientLocalMs: "0",
		fromPlatform: "",
		fromVersion: ""
	};
}
const GiftMonitorInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.anchorId !== "0") writer.uint32(8).int64(message.anchorId);
		if (message.profitapiMessageDur !== "0") writer.uint32(16).int64(message.profitapiMessageDur);
		if (message.sendGiftProfitApiStartMs !== "0") writer.uint32(24).int64(message.sendGiftProfitApiStartMs);
		if (message.sendGiftProfitCoreStartMs !== "0") writer.uint32(32).int64(message.sendGiftProfitCoreStartMs);
		if (message.sendGiftReqStartMs !== "0") writer.uint32(40).int64(message.sendGiftReqStartMs);
		if (message.sendGiftSendMessageSuccessMs !== "0") writer.uint32(48).int64(message.sendGiftSendMessageSuccessMs);
		if (message.sendProfitapiDur !== "0") writer.uint32(56).int64(message.sendProfitapiDur);
		if (message.toUserId !== "0") writer.uint32(64).int64(message.toUserId);
		if (message.sendGiftStartClientLocalMs !== "0") writer.uint32(72).int64(message.sendGiftStartClientLocalMs);
		if (message.fromPlatform !== "") writer.uint32(82).string(message.fromPlatform);
		if (message.fromVersion !== "") writer.uint32(90).string(message.fromVersion);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGiftMonitorInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.anchorId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.profitapiMessageDur = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.sendGiftProfitApiStartMs = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.sendGiftProfitCoreStartMs = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.sendGiftReqStartMs = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.sendGiftSendMessageSuccessMs = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.sendProfitapiDur = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 64) break;
					message.toUserId = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 72) break;
					message.sendGiftStartClientLocalMs = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 82) break;
					message.fromPlatform = reader.string();
					continue;
				case 11:
					if (tag !== 90) break;
					message.fromVersion = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGoalData() {
	return {
		status: 0,
		goalProgress: {}
	};
}
const GoalData = {
	encode(message, writer = new BinaryWriter()) {
		if (message.status !== 0) writer.uint32(8).int32(message.status);
		globalThis.Object.entries(message.goalProgress).forEach(([key, value]) => {
			GoalData_GoalProgressEntry.encode({
				key,
				value
			}, writer.uint32(18).fork()).join();
		});
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGoalData();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.status = reader.int32();
					continue;
				case 2: {
					if (tag !== 18) break;
					const entry2 = GoalData_GoalProgressEntry.decode(reader, reader.uint32());
					if (entry2.value !== void 0) message.goalProgress[entry2.key] = entry2.value;
					continue;
				}
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGoalData_GoalProgressEntry() {
	return {
		key: "0",
		value: void 0
	};
}
const GoalData_GoalProgressEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) Progress.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGoalData_GoalProgressEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = Progress.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseGuideMessageFrequencyRule() {
	return {
		roomShowCount: "0",
		dayShowCount: "0"
	};
}
const GuideMessageFrequencyRule = {
	encode(message, writer = new BinaryWriter()) {
		if (message.roomShowCount !== "0") writer.uint32(8).int64(message.roomShowCount);
		if (message.dayShowCount !== "0") writer.uint32(16).int64(message.dayShowCount);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseGuideMessageFrequencyRule();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.roomShowCount = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.dayShowCount = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseHourlyRankRewardInfo() {
	return {
		userId: "0",
		assetId: "0",
		notify: void 0,
		avatarBorder: void 0
	};
}
const HourlyRankRewardInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.assetId !== "0") writer.uint32(16).int64(message.assetId);
		if (message.notify !== void 0) WebcastRoomNotifyMessage.encode(message.notify, writer.uint32(26).fork()).join();
		if (message.avatarBorder !== void 0) BorderInfo.encode(message.avatarBorder, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseHourlyRankRewardInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.assetId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.notify = WebcastRoomNotifyMessage.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.avatarBorder = BorderInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseImg() {
	return {
		key: "",
		width: 0,
		height: 0,
		url: ""
	};
}
const Img = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.width !== 0) writer.uint32(16).int32(message.width);
		if (message.height !== 0) writer.uint32(24).int32(message.height);
		if (message.url !== "") writer.uint32(34).string(message.url);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseImg();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.width = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.height = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.url = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseInteractiveGiftInfo() {
	return {
		crossScreenDelay: "0",
		crossScreenRole: "0",
		ignoreConfig: 0,
		uniqId: "0",
		toUserTeamId: "0",
		ignoreComponent: "0"
	};
}
const InteractiveGiftInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.crossScreenDelay !== "0") writer.uint32(8).int64(message.crossScreenDelay);
		if (message.crossScreenRole !== "0") writer.uint32(16).int64(message.crossScreenRole);
		if (message.ignoreConfig !== 0) writer.uint32(24).int32(message.ignoreConfig);
		if (message.uniqId !== "0") writer.uint32(32).int64(message.uniqId);
		if (message.toUserTeamId !== "0") writer.uint32(40).int64(message.toUserTeamId);
		if (message.ignoreComponent !== "0") writer.uint32(48).int64(message.ignoreComponent);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseInteractiveGiftInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.crossScreenDelay = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.crossScreenRole = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.ignoreConfig = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.uniqId = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.toUserTeamId = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.ignoreComponent = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkMicAudienceInviteGuide() {
	return {
		content: void 0,
		buttonContent: void 0,
		user: void 0,
		displayStrategy: 0,
		linkmicAudienceInviteNoticeReason: ""
	};
}
const LinkMicAudienceInviteGuide = {
	encode(message, writer = new BinaryWriter()) {
		if (message.content !== void 0) LinkMicAudienceNoticeText.encode(message.content, writer.uint32(10).fork()).join();
		if (message.buttonContent !== void 0) LinkMicAudienceNoticeText.encode(message.buttonContent, writer.uint32(18).fork()).join();
		if (message.user !== void 0) User.encode(message.user, writer.uint32(26).fork()).join();
		if (message.displayStrategy !== 0) writer.uint32(32).int32(message.displayStrategy);
		if (message.linkmicAudienceInviteNoticeReason !== "") writer.uint32(42).string(message.linkmicAudienceInviteNoticeReason);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkMicAudienceInviteGuide();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.content = LinkMicAudienceNoticeText.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.buttonContent = LinkMicAudienceNoticeText.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.displayStrategy = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.linkmicAudienceInviteNoticeReason = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkMicAudienceNoticeText() {
	return { text: "" };
}
const LinkMicAudienceNoticeText = {
	encode(message, writer = new BinaryWriter()) {
		if (message.text !== "") writer.uint32(10).string(message.text);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkMicAudienceNoticeText();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.text = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkMicAudienceTurnOnGuide() {
	return {
		content: void 0,
		buttonContent: void 0
	};
}
const LinkMicAudienceTurnOnGuide = {
	encode(message, writer = new BinaryWriter()) {
		if (message.content !== void 0) LinkMicAudienceNoticeText.encode(message.content, writer.uint32(10).fork()).join();
		if (message.buttonContent !== void 0) LinkMicAudienceNoticeText.encode(message.buttonContent, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkMicAudienceTurnOnGuide();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.content = LinkMicAudienceNoticeText.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.buttonContent = LinkMicAudienceNoticeText.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerCloseContent() {
	return {};
}
const LinkerCloseContent = {
	encode(_, writer = new BinaryWriter()) {
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerCloseContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerCreateContent() {
	return {
		ownerId: "0",
		ownerRoomId: "0",
		linkType: "0"
	};
}
const LinkerCreateContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.ownerId !== "0") writer.uint32(8).int64(message.ownerId);
		if (message.ownerRoomId !== "0") writer.uint32(16).int64(message.ownerRoomId);
		if (message.linkType !== "0") writer.uint32(24).int64(message.linkType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerCreateContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.ownerId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.ownerRoomId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.linkType = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerMediaChangeContent() {
	return {
		op: 0,
		toUserId: "0",
		anchorId: "0",
		roomId: "0",
		changeScene: 0,
		operatorInfo: void 0
	};
}
const LinkerMediaChangeContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.op !== 0) writer.uint32(8).int32(message.op);
		if (message.toUserId !== "0") writer.uint32(16).int64(message.toUserId);
		if (message.anchorId !== "0") writer.uint32(24).int64(message.anchorId);
		if (message.roomId !== "0") writer.uint32(32).int64(message.roomId);
		if (message.changeScene !== 0) writer.uint32(40).int32(message.changeScene);
		if (message.operatorInfo !== void 0) LinkerMediaChangeOperator.encode(message.operatorInfo, writer.uint32(58).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerMediaChangeContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.op = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.toUserId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.anchorId = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.roomId = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.changeScene = reader.int32();
					continue;
				case 7:
					if (tag !== 58) break;
					message.operatorInfo = LinkerMediaChangeOperator.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerSysKickOutContent() {
	return {
		userId: "0",
		linkmicIdStr: ""
	};
}
const LinkerSysKickOutContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.linkmicIdStr !== "") writer.uint32(18).string(message.linkmicIdStr);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerSysKickOutContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.linkmicIdStr = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerUpdateUserContent() {
	return {
		fromUserId: "0",
		toUserId: "0",
		updateInfo: {}
	};
}
const LinkerUpdateUserContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.fromUserId !== "0") writer.uint32(8).int64(message.fromUserId);
		if (message.toUserId !== "0") writer.uint32(16).int64(message.toUserId);
		globalThis.Object.entries(message.updateInfo).forEach(([key, value]) => {
			LinkerUpdateUserContent_UpdateInfoEntry.encode({
				key,
				value
			}, writer.uint32(26).fork()).join();
		});
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerUpdateUserContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.fromUserId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.toUserId = reader.int64().toString();
					continue;
				case 3: {
					if (tag !== 26) break;
					const entry3 = LinkerUpdateUserContent_UpdateInfoEntry.decode(reader, reader.uint32());
					if (entry3.value !== void 0) message.updateInfo[entry3.key] = entry3.value;
					continue;
				}
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerUpdateUserContent_UpdateInfoEntry() {
	return {
		key: "",
		value: ""
	};
}
const LinkerUpdateUserContent_UpdateInfoEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.value !== "") writer.uint32(18).string(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerUpdateUserContent_UpdateInfoEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkerWaitingListChangeContent() {
	return {};
}
const LinkerWaitingListChangeContent = {
	encode(_, writer = new BinaryWriter()) {
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkerWaitingListChangeContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkmicAudienceApplyGuide() {
	return {
		content: void 0,
		buttonContent: void 0,
		user: void 0,
		displayStrategy: 0,
		linkmicAudienceApplyNoticeReason: "",
		displayPosition: "0",
		triggerType: "",
		requestId: "",
		linkmicId: ""
	};
}
const LinkmicAudienceApplyGuide = {
	encode(message, writer = new BinaryWriter()) {
		if (message.content !== void 0) LinkMicAudienceNoticeText.encode(message.content, writer.uint32(10).fork()).join();
		if (message.buttonContent !== void 0) LinkMicAudienceNoticeText.encode(message.buttonContent, writer.uint32(18).fork()).join();
		if (message.user !== void 0) User.encode(message.user, writer.uint32(26).fork()).join();
		if (message.displayStrategy !== 0) writer.uint32(32).int32(message.displayStrategy);
		if (message.linkmicAudienceApplyNoticeReason !== "") writer.uint32(42).string(message.linkmicAudienceApplyNoticeReason);
		if (message.displayPosition !== "0") writer.uint32(48).int64(message.displayPosition);
		if (message.triggerType !== "") writer.uint32(58).string(message.triggerType);
		if (message.requestId !== "") writer.uint32(66).string(message.requestId);
		if (message.linkmicId !== "") writer.uint32(74).string(message.linkmicId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkmicAudienceApplyGuide();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.content = LinkMicAudienceNoticeText.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.buttonContent = LinkMicAudienceNoticeText.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.displayStrategy = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.linkmicAudienceApplyNoticeReason = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.displayPosition = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 58) break;
					message.triggerType = reader.string();
					continue;
				case 8:
					if (tag !== 66) break;
					message.requestId = reader.string();
					continue;
				case 9:
					if (tag !== 74) break;
					message.linkmicId = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkmicAudienceInviteGroupChatMemberGuide() {
	return {
		content: void 0,
		buttonContent: void 0,
		groupMemberUserIds: []
	};
}
const LinkmicAudienceInviteGroupChatMemberGuide = {
	encode(message, writer = new BinaryWriter()) {
		if (message.content !== void 0) LinkMicAudienceNoticeText.encode(message.content, writer.uint32(10).fork()).join();
		if (message.buttonContent !== void 0) LinkMicAudienceNoticeText.encode(message.buttonContent, writer.uint32(18).fork()).join();
		writer.uint32(26).fork();
		for (const v of message.groupMemberUserIds) writer.int64(v);
		writer.join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkmicAudienceInviteGroupChatMemberGuide();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.content = LinkMicAudienceNoticeText.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.buttonContent = LinkMicAudienceNoticeText.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag === 24) {
						message.groupMemberUserIds.push(reader.int64().toString());
						continue;
					}
					if (tag === 26) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.groupMemberUserIds.push(reader.int64().toString());
						continue;
					}
					break;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLinkmicUserToastContent() {
	return {
		userId: "0",
		roomId: "0",
		displayText: void 0,
		leavedUserId: "0"
	};
}
const LinkmicUserToastContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.roomId !== "0") writer.uint32(16).int64(message.roomId);
		if (message.displayText !== void 0) Text.encode(message.displayText, writer.uint32(26).fork()).join();
		if (message.leavedUserId !== "0") writer.uint32(32).int64(message.leavedUserId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLinkmicUserToastContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.roomId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.displayText = Text.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.leavedUserId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseLivePermissionInfo() {
	return {
		endTime: "0",
		reason: ""
	};
}
const LivePermissionInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.endTime !== "0") writer.uint32(8).int64(message.endTime);
		if (message.reason !== "") writer.uint32(18).string(message.reason);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseLivePermissionInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.endTime = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.reason = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMessageDisplayInfo() {
	return {
		durationType: 0,
		showDurationMs: "0",
		incrDurationMs: "0",
		stayStyle: 0
	};
}
const MessageDisplayInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.durationType !== 0) writer.uint32(8).int32(message.durationType);
		if (message.showDurationMs !== "0") writer.uint32(16).int64(message.showDurationMs);
		if (message.incrDurationMs !== "0") writer.uint32(24).int64(message.incrDurationMs);
		if (message.stayStyle !== 0) writer.uint32(32).int32(message.stayStyle);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMessageDisplayInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.durationType = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.showDurationMs = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.incrDurationMs = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.stayStyle = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseMessageEntity() {
	return { notify: void 0 };
}
const MessageEntity = {
	encode(message, writer = new BinaryWriter()) {
		if (message.notify !== void 0) WebcastRoomNotifyMessage.encode(message.notify, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMessageEntity();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.notify = WebcastRoomNotifyMessage.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseNotifyHighlightContent() {
	return {
		content: "",
		needHighLight: false
	};
}
const NotifyHighlightContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.content !== "") writer.uint32(10).string(message.content);
		if (message.needHighLight !== false) writer.uint32(16).bool(message.needHighLight);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseNotifyHighlightContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.content = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.needHighLight = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseNotifyHighlightInfo() {
	return {
		contents: [],
		highLightColor: ""
	};
}
const NotifyHighlightInfo = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.contents) NotifyHighlightContent.encode(v, writer.uint32(10).fork()).join();
		if (message.highLightColor !== "") writer.uint32(18).string(message.highLightColor);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseNotifyHighlightInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.contents.push(NotifyHighlightContent.decode(reader, reader.uint32()));
					continue;
				case 2:
					if (tag !== 18) break;
					message.highLightColor = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseOfflineGameInfo() {
	return {
		taskId: "",
		toastText: "",
		taskListLen: 0,
		offlineType: 0,
		toastTitle: "",
		gameId: "",
		taskType: 0
	};
}
const OfflineGameInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.taskId !== "") writer.uint32(10).string(message.taskId);
		if (message.toastText !== "") writer.uint32(18).string(message.toastText);
		if (message.taskListLen !== 0) writer.uint32(24).int32(message.taskListLen);
		if (message.offlineType !== 0) writer.uint32(32).int32(message.offlineType);
		if (message.toastTitle !== "") writer.uint32(42).string(message.toastTitle);
		if (message.gameId !== "") writer.uint32(50).string(message.gameId);
		if (message.taskType !== 0) writer.uint32(56).int32(message.taskType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseOfflineGameInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.taskId = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.toastText = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.taskListLen = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.offlineType = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.toastTitle = reader.string();
					continue;
				case 6:
					if (tag !== 50) break;
					message.gameId = reader.string();
					continue;
				case 7:
					if (tag !== 56) break;
					message.taskType = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseOperationInfo() {
	return {
		initialState: void 0,
		successState: void 0,
		failureState: void 0
	};
}
const OperationInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.initialState !== void 0) OperationState.encode(message.initialState, writer.uint32(10).fork()).join();
		if (message.successState !== void 0) OperationState.encode(message.successState, writer.uint32(18).fork()).join();
		if (message.failureState !== void 0) OperationState.encode(message.failureState, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseOperationInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.initialState = OperationState.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.successState = OperationState.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.failureState = OperationState.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseOperationState() {
	return {
		scene: "",
		icon: void 0,
		text: void 0,
		schema: "",
		animationStyle: "0",
		duration: "0"
	};
}
const OperationState = {
	encode(message, writer = new BinaryWriter()) {
		if (message.scene !== "") writer.uint32(10).string(message.scene);
		if (message.icon !== void 0) ImageModel.encode(message.icon, writer.uint32(18).fork()).join();
		if (message.text !== void 0) Text.encode(message.text, writer.uint32(26).fork()).join();
		if (message.schema !== "") writer.uint32(34).string(message.schema);
		if (message.animationStyle !== "0") writer.uint32(40).int64(message.animationStyle);
		if (message.duration !== "0") writer.uint32(48).int64(message.duration);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseOperationState();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.scene = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.icon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.text = Text.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.schema = reader.string();
					continue;
				case 5:
					if (tag !== 40) break;
					message.animationStyle = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.duration = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePollBasicInfo() {
	return {
		pollSponsor: "",
		giftId: "0",
		title: "",
		isSuggestedQuestion: false,
		userCnt: "0",
		gift: void 0,
		pollIdStr: "",
		suggestedQuestionKey: "",
		pollDuration: "0",
		timeRemain: "0",
		pollIndex: "0",
		templateId: "0"
	};
}
const PollBasicInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.pollSponsor !== "") writer.uint32(10).string(message.pollSponsor);
		if (message.giftId !== "0") writer.uint32(16).int64(message.giftId);
		if (message.title !== "") writer.uint32(26).string(message.title);
		if (message.isSuggestedQuestion !== false) writer.uint32(32).bool(message.isSuggestedQuestion);
		if (message.userCnt !== "0") writer.uint32(40).int64(message.userCnt);
		if (message.gift !== void 0) Gift.encode(message.gift, writer.uint32(50).fork()).join();
		if (message.pollIdStr !== "") writer.uint32(58).string(message.pollIdStr);
		if (message.suggestedQuestionKey !== "") writer.uint32(66).string(message.suggestedQuestionKey);
		if (message.pollDuration !== "0") writer.uint32(72).int64(message.pollDuration);
		if (message.timeRemain !== "0") writer.uint32(80).int64(message.timeRemain);
		if (message.pollIndex !== "0") writer.uint32(88).int64(message.pollIndex);
		if (message.templateId !== "0") writer.uint32(96).int64(message.templateId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePollBasicInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.pollSponsor = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.giftId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.title = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.isSuggestedQuestion = reader.bool();
					continue;
				case 5:
					if (tag !== 40) break;
					message.userCnt = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 50) break;
					message.gift = Gift.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.pollIdStr = reader.string();
					continue;
				case 8:
					if (tag !== 66) break;
					message.suggestedQuestionKey = reader.string();
					continue;
				case 9:
					if (tag !== 72) break;
					message.pollDuration = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 80) break;
					message.timeRemain = reader.int64().toString();
					continue;
				case 11:
					if (tag !== 88) break;
					message.pollIndex = reader.int64().toString();
					continue;
				case 12:
					if (tag !== 96) break;
					message.templateId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePollEndContent() {
	return {
		endType: 0,
		optionList: [],
		operator: void 0
	};
}
const PollEndContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.endType !== 0) writer.uint32(8).int32(message.endType);
		for (const v of message.optionList) PollOptionInfo.encode(v, writer.uint32(18).fork()).join();
		if (message.operator !== void 0) User.encode(message.operator, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePollEndContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.endType = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.optionList.push(PollOptionInfo.decode(reader, reader.uint32()));
					continue;
				case 3:
					if (tag !== 26) break;
					message.operator = User.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePollOptionInfo() {
	return {
		votes: "0",
		displayContent: "",
		optionIdx: 0,
		voteUserList: []
	};
}
const PollOptionInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.votes !== "0") writer.uint32(8).int64(message.votes);
		if (message.displayContent !== "") writer.uint32(18).string(message.displayContent);
		if (message.optionIdx !== 0) writer.uint32(24).int32(message.optionIdx);
		for (const v of message.voteUserList) VoteUser.encode(v, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePollOptionInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.votes = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.displayContent = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.optionIdx = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.voteUserList.push(VoteUser.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePollStartContent() {
	return {
		startTime: "0",
		endTime: "0",
		optionList: [],
		title: "",
		operator: void 0
	};
}
const PollStartContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.startTime !== "0") writer.uint32(8).int64(message.startTime);
		if (message.endTime !== "0") writer.uint32(16).int64(message.endTime);
		for (const v of message.optionList) PollOptionInfo.encode(v, writer.uint32(26).fork()).join();
		if (message.title !== "") writer.uint32(34).string(message.title);
		if (message.operator !== void 0) User.encode(message.operator, writer.uint32(42).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePollStartContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.startTime = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.endTime = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.optionList.push(PollOptionInfo.decode(reader, reader.uint32()));
					continue;
				case 4:
					if (tag !== 34) break;
					message.title = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.operator = User.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePollUpdateVotesContent() {
	return {
		optionList: [],
		operator: void 0
	};
}
const PollUpdateVotesContent = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.optionList) PollOptionInfo.encode(v, writer.uint32(18).fork()).join();
		if (message.operator !== void 0) User.encode(message.operator, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePollUpdateVotesContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 2:
					if (tag !== 18) break;
					message.optionList.push(PollOptionInfo.decode(reader, reader.uint32()));
					continue;
				case 3:
					if (tag !== 26) break;
					message.operator = User.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePortraitInfo() {
	return {
		userMetrics: [],
		portraitTag: []
	};
}
const PortraitInfo = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.userMetrics) UserMetrics.encode(v, writer.uint32(10).fork()).join();
		for (const v of message.portraitTag) PortraitTag.encode(v, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePortraitInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.userMetrics.push(UserMetrics.decode(reader, reader.uint32()));
					continue;
				case 2:
					if (tag !== 18) break;
					message.portraitTag.push(PortraitTag.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePortraitTag() {
	return {
		tagId: "",
		priority: "0",
		showValue: "",
		showArgs: ""
	};
}
const PortraitTag = {
	encode(message, writer = new BinaryWriter()) {
		if (message.tagId !== "") writer.uint32(10).string(message.tagId);
		if (message.priority !== "0") writer.uint32(16).int64(message.priority);
		if (message.showValue !== "") writer.uint32(26).string(message.showValue);
		if (message.showArgs !== "") writer.uint32(34).string(message.showArgs);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePortraitTag();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.tagId = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.priority = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.showValue = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.showArgs = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseProductAtmosphereTag() {
	return {
		productId: "",
		tagDesc: "",
		count: "0"
	};
}
const ProductAtmosphereTag = {
	encode(message, writer = new BinaryWriter()) {
		if (message.productId !== "") writer.uint32(10).string(message.productId);
		if (message.tagDesc !== "") writer.uint32(18).string(message.tagDesc);
		if (message.count !== "0") writer.uint32(24).int64(message.count);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseProductAtmosphereTag();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.productId = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.tagDesc = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.count = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseProductSnapShot() {
	return {
		productId: "",
		title: "",
		cover: void 0,
		stockType: 0,
		timestamp: "0",
		addToCartButton: void 0
	};
}
const ProductSnapShot = {
	encode(message, writer = new BinaryWriter()) {
		if (message.productId !== "") writer.uint32(10).string(message.productId);
		if (message.title !== "") writer.uint32(18).string(message.title);
		if (message.cover !== void 0) Img.encode(message.cover, writer.uint32(26).fork()).join();
		if (message.stockType !== 0) writer.uint32(32).int32(message.stockType);
		if (message.timestamp !== "0") writer.uint32(40).int64(message.timestamp);
		if (message.addToCartButton !== void 0) AddToCartButton.encode(message.addToCartButton, writer.uint32(50).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseProductSnapShot();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.productId = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.title = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.cover = Img.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.stockType = reader.int32();
					continue;
				case 5:
					if (tag !== 40) break;
					message.timestamp = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 50) break;
					message.addToCartButton = AddToCartButton.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseProgress() {
	return {
		currentProgress: "0",
		target: "0",
		expiredTimestampInMs: "0"
	};
}
const Progress = {
	encode(message, writer = new BinaryWriter()) {
		if (message.currentProgress !== "0") writer.uint32(8).int64(message.currentProgress);
		if (message.target !== "0") writer.uint32(16).int64(message.target);
		if (message.expiredTimestampInMs !== "0") writer.uint32(24).int64(message.expiredTimestampInMs);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseProgress();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.currentProgress = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.target = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.expiredTimestampInMs = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePromotionInfo() {
	return {
		promotionId: "",
		failedMessage: "",
		productIds: []
	};
}
const PromotionInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.promotionId !== "") writer.uint32(10).string(message.promotionId);
		if (message.failedMessage !== "") writer.uint32(18).string(message.failedMessage);
		for (const v of message.productIds) writer.uint32(802).string(v);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePromotionInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.promotionId = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.failedMessage = reader.string();
					continue;
				case 100:
					if (tag !== 802) break;
					message.productIds.push(reader.string());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePublicAreaCommon() {
	return {
		userLabel: void 0,
		userConsumeInRoom: "0"
	};
}
const PublicAreaCommon = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userLabel !== void 0) ImageModel.encode(message.userLabel, writer.uint32(10).fork()).join();
		if (message.userConsumeInRoom !== "0") writer.uint32(16).int64(message.userConsumeInRoom);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePublicAreaCommon();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.userLabel = ImageModel.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.userConsumeInRoom = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePublicAreaMessageCommon() {
	return {
		scrollGapCount: "0",
		anchorScrollGapCount: "0",
		releaseToScrollArea: false,
		anchorReleaseToScrollArea: false,
		isAnchorMarked: false,
		creatorSuccessInfo: void 0,
		portraitInfo: void 0,
		userInteractionInfo: void 0,
		adminFoldType: "0",
		displayInfo: void 0,
		hideAboveScrollArea: false,
		operationInfo: void 0,
		dynamicDisplayText: void 0
	};
}
const PublicAreaMessageCommon = {
	encode(message, writer = new BinaryWriter()) {
		if (message.scrollGapCount !== "0") writer.uint32(8).int64(message.scrollGapCount);
		if (message.anchorScrollGapCount !== "0") writer.uint32(16).int64(message.anchorScrollGapCount);
		if (message.releaseToScrollArea !== false) writer.uint32(24).bool(message.releaseToScrollArea);
		if (message.anchorReleaseToScrollArea !== false) writer.uint32(32).bool(message.anchorReleaseToScrollArea);
		if (message.isAnchorMarked !== false) writer.uint32(40).bool(message.isAnchorMarked);
		if (message.creatorSuccessInfo !== void 0) CreatorSuccessInfo.encode(message.creatorSuccessInfo, writer.uint32(50).fork()).join();
		if (message.portraitInfo !== void 0) PortraitInfo.encode(message.portraitInfo, writer.uint32(58).fork()).join();
		if (message.userInteractionInfo !== void 0) UserInteractionInfo.encode(message.userInteractionInfo, writer.uint32(66).fork()).join();
		if (message.adminFoldType !== "0") writer.uint32(72).int64(message.adminFoldType);
		if (message.displayInfo !== void 0) MessageDisplayInfo.encode(message.displayInfo, writer.uint32(82).fork()).join();
		if (message.hideAboveScrollArea !== false) writer.uint32(88).bool(message.hideAboveScrollArea);
		if (message.operationInfo !== void 0) OperationInfo.encode(message.operationInfo, writer.uint32(98).fork()).join();
		if (message.dynamicDisplayText !== void 0) Text.encode(message.dynamicDisplayText, writer.uint32(106).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePublicAreaMessageCommon();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.scrollGapCount = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.anchorScrollGapCount = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.releaseToScrollArea = reader.bool();
					continue;
				case 4:
					if (tag !== 32) break;
					message.anchorReleaseToScrollArea = reader.bool();
					continue;
				case 5:
					if (tag !== 40) break;
					message.isAnchorMarked = reader.bool();
					continue;
				case 6:
					if (tag !== 50) break;
					message.creatorSuccessInfo = CreatorSuccessInfo.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.portraitInfo = PortraitInfo.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.userInteractionInfo = UserInteractionInfo.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 72) break;
					message.adminFoldType = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 82) break;
					message.displayInfo = MessageDisplayInfo.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 88) break;
					message.hideAboveScrollArea = reader.bool();
					continue;
				case 12:
					if (tag !== 98) break;
					message.operationInfo = OperationInfo.decode(reader, reader.uint32());
					continue;
				case 13:
					if (tag !== 106) break;
					message.dynamicDisplayText = Text.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseQuestion() {
	return {
		questionId: "0",
		content: "",
		answerStatus: 0,
		createTime: "0",
		user: void 0,
		createFrom: 0,
		answerFrom: 0
	};
}
const Question = {
	encode(message, writer = new BinaryWriter()) {
		if (message.questionId !== "0") writer.uint32(8).int64(message.questionId);
		if (message.content !== "") writer.uint32(18).string(message.content);
		if (message.answerStatus !== 0) writer.uint32(24).int32(message.answerStatus);
		if (message.createTime !== "0") writer.uint32(32).int64(message.createTime);
		if (message.user !== void 0) User.encode(message.user, writer.uint32(42).fork()).join();
		if (message.createFrom !== 0) writer.uint32(160).int32(message.createFrom);
		if (message.answerFrom !== 0) writer.uint32(168).int32(message.answerFrom);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseQuestion();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.questionId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.content = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.answerStatus = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.createTime = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 20:
					if (tag !== 160) break;
					message.createFrom = reader.int32();
					continue;
				case 21:
					if (tag !== 168) break;
					message.answerFrom = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRankAnimationInfo() {
	return {
		type: 0,
		backgroundColorString: "",
		contentText: void 0,
		duration: "0",
		tileContent: []
	};
}
const RankAnimationInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.type !== 0) writer.uint32(8).int32(message.type);
		if (message.backgroundColorString !== "") writer.uint32(18).string(message.backgroundColorString);
		if (message.contentText !== void 0) Text.encode(message.contentText, writer.uint32(26).fork()).join();
		if (message.duration !== "0") writer.uint32(32).int64(message.duration);
		for (const v of message.tileContent) Text.encode(v, writer.uint32(42).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRankAnimationInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.type = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.backgroundColorString = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.contentText = Text.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.duration = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.tileContent.push(Text.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRankListTabInfo() {
	return {
		tabs: [],
		supportedVersion: "0"
	};
}
const RankListTabInfo = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.tabs) RankTabInfo.encode(v, writer.uint32(10).fork()).join();
		if (message.supportedVersion !== "0") writer.uint32(16).int64(message.supportedVersion);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRankListTabInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.tabs.push(RankTabInfo.decode(reader, reader.uint32()));
					continue;
				case 2:
					if (tag !== 16) break;
					message.supportedVersion = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRankUpdate() {
	return {
		rankType: 0,
		ownRank: "0",
		defaultContent: void 0,
		prompt: new Uint8Array(0),
		showEntranceAnimation: false,
		countdown: "0",
		animationInfo: void 0,
		belongType: 0,
		requestFirstShowType: 0,
		supportedVersion: "0",
		owneronrank: false,
		entranceicon: void 0,
		affiliatedInfo: void 0,
		classInfo: void 0,
		currentScore: "0",
		listSchema: ""
	};
}
const RankUpdate = {
	encode(message, writer = new BinaryWriter()) {
		if (message.rankType !== 0) writer.uint32(8).int32(message.rankType);
		if (message.ownRank !== "0") writer.uint32(16).int64(message.ownRank);
		if (message.defaultContent !== void 0) Text.encode(message.defaultContent, writer.uint32(26).fork()).join();
		if (message.prompt.length !== 0) writer.uint32(34).bytes(message.prompt);
		if (message.showEntranceAnimation !== false) writer.uint32(40).bool(message.showEntranceAnimation);
		if (message.countdown !== "0") writer.uint32(48).int64(message.countdown);
		if (message.animationInfo !== void 0) RankAnimationInfo.encode(message.animationInfo, writer.uint32(58).fork()).join();
		if (message.belongType !== 0) writer.uint32(64).int32(message.belongType);
		if (message.requestFirstShowType !== 0) writer.uint32(72).int32(message.requestFirstShowType);
		if (message.supportedVersion !== "0") writer.uint32(80).int64(message.supportedVersion);
		if (message.owneronrank !== false) writer.uint32(88).bool(message.owneronrank);
		if (message.entranceicon !== void 0) ImageModel.encode(message.entranceicon, writer.uint32(98).fork()).join();
		if (message.affiliatedInfo !== void 0) AffiliatedInfo.encode(message.affiliatedInfo, writer.uint32(106).fork()).join();
		if (message.classInfo !== void 0) ClassInfo.encode(message.classInfo, writer.uint32(114).fork()).join();
		if (message.currentScore !== "0") writer.uint32(120).int64(message.currentScore);
		if (message.listSchema !== "") writer.uint32(130).string(message.listSchema);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRankUpdate();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.rankType = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.ownRank = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.defaultContent = Text.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.prompt = reader.bytes();
					continue;
				case 5:
					if (tag !== 40) break;
					message.showEntranceAnimation = reader.bool();
					continue;
				case 6:
					if (tag !== 48) break;
					message.countdown = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 58) break;
					message.animationInfo = RankAnimationInfo.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 64) break;
					message.belongType = reader.int32();
					continue;
				case 9:
					if (tag !== 72) break;
					message.requestFirstShowType = reader.int32();
					continue;
				case 10:
					if (tag !== 80) break;
					message.supportedVersion = reader.int64().toString();
					continue;
				case 11:
					if (tag !== 88) break;
					message.owneronrank = reader.bool();
					continue;
				case 12:
					if (tag !== 98) break;
					message.entranceicon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 13:
					if (tag !== 106) break;
					message.affiliatedInfo = AffiliatedInfo.decode(reader, reader.uint32());
					continue;
				case 14:
					if (tag !== 114) break;
					message.classInfo = ClassInfo.decode(reader, reader.uint32());
					continue;
				case 15:
					if (tag !== 120) break;
					message.currentScore = reader.int64().toString();
					continue;
				case 16:
					if (tag !== 130) break;
					message.listSchema = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRecommendComment() {
	return {
		priority: "0",
		duration: "0",
		recommendText: void 0,
		tipsType: "0"
	};
}
const RecommendComment = {
	encode(message, writer = new BinaryWriter()) {
		if (message.priority !== "0") writer.uint32(8).int64(message.priority);
		if (message.duration !== "0") writer.uint32(16).int64(message.duration);
		if (message.recommendText !== void 0) Text.encode(message.recommendText, writer.uint32(26).fork()).join();
		if (message.tipsType !== "0") writer.uint32(32).int64(message.tipsType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRecommendComment();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.priority = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.duration = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.recommendText = Text.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.tipsType = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRefreshLiveBagInfo() {
	return { refreshLiveBagTypes: [] };
}
const RefreshLiveBagInfo = {
	encode(message, writer = new BinaryWriter()) {
		writer.uint32(10).fork();
		for (const v of message.refreshLiveBagTypes) writer.int32(v);
		writer.join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRefreshLiveBagInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag === 8) {
						message.refreshLiveBagTypes.push(reader.int32());
						continue;
					}
					if (tag === 10) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.refreshLiveBagTypes.push(reader.int32());
						continue;
					}
					break;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRightLabel() {
	return {
		backgroundColor: "",
		content: void 0,
		height: "0"
	};
}
const RightLabel = {
	encode(message, writer = new BinaryWriter()) {
		if (message.backgroundColor !== "") writer.uint32(10).string(message.backgroundColor);
		if (message.content !== void 0) Text.encode(message.content, writer.uint32(18).fork()).join();
		if (message.height !== "0") writer.uint32(24).int64(message.height);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRightLabel();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.backgroundColor = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.content = Text.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.height = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRoomBasedGiftData() {
	return { roomBasedGifts: {} };
}
const RoomBasedGiftData = {
	encode(message, writer = new BinaryWriter()) {
		globalThis.Object.entries(message.roomBasedGifts).forEach(([key, value]) => {
			RoomBasedGiftData_RoomBasedGiftsEntry.encode({
				key,
				value
			}, writer.uint32(18).fork()).join();
		});
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRoomBasedGiftData();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 2: {
					if (tag !== 18) break;
					const entry2 = RoomBasedGiftData_RoomBasedGiftsEntry.decode(reader, reader.uint32());
					if (entry2.value !== void 0) message.roomBasedGifts[entry2.key] = entry2.value;
					continue;
				}
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRoomBasedGiftData_RoomBasedGiftsEntry() {
	return {
		key: "0",
		value: void 0
	};
}
const RoomBasedGiftData_RoomBasedGiftsEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) RoomBasedGifts.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRoomBasedGiftData_RoomBasedGiftsEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = RoomBasedGifts.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRoomBasedGifts() {
	return { giftInfo: [] };
}
const RoomBasedGifts = {
	encode(message, writer = new BinaryWriter()) {
		for (const v of message.giftInfo) GiftInfo.encode(v, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRoomBasedGifts();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.giftInfo.push(GiftInfo.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRoomNotifyMessageExtra() {
	return {
		duration: "0",
		background: void 0,
		contentList: void 0
	};
}
const RoomNotifyMessageExtra = {
	encode(message, writer = new BinaryWriter()) {
		if (message.duration !== "0") writer.uint32(8).int64(message.duration);
		if (message.background !== void 0) Background.encode(message.background, writer.uint32(18).fork()).join();
		if (message.contentList !== void 0) NotifyHighlightInfo.encode(message.contentList, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRoomNotifyMessageExtra();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.duration = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.background = Background.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.contentList = NotifyHighlightInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseRoomNotifyMessageEventTracking() {
	return {
		giftSubSenderId: "0",
		giftSubReceiverId: "0",
		anchorId: "0",
		giftSubOrderCreateTime: "0"
	};
}
const RoomNotifyMessageEventTracking = {
	encode(message, writer = new BinaryWriter()) {
		if (message.giftSubSenderId !== "0") writer.uint32(8).int64(message.giftSubSenderId);
		if (message.giftSubReceiverId !== "0") writer.uint32(16).int64(message.giftSubReceiverId);
		if (message.anchorId !== "0") writer.uint32(24).int64(message.anchorId);
		if (message.giftSubOrderCreateTime !== "0") writer.uint32(32).int64(message.giftSubOrderCreateTime);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseRoomNotifyMessageEventTracking();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.giftSubSenderId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.giftSubReceiverId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.anchorId = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.giftSubOrderCreateTime = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSpecialEffectNotice() {
	return {
		score: "0",
		fromUserId: "0",
		toAnchorId: "0",
		affectedAnchorPairs: [],
		effectType: 0,
		communityHeartMeInfo: void 0,
		communityHeartMeInfoStr: ""
	};
}
const SpecialEffectNotice = {
	encode(message, writer = new BinaryWriter()) {
		if (message.score !== "0") writer.uint32(8).int64(message.score);
		if (message.fromUserId !== "0") writer.uint32(16).int64(message.fromUserId);
		if (message.toAnchorId !== "0") writer.uint32(24).int64(message.toAnchorId);
		for (const v of message.affectedAnchorPairs) AnchorPair.encode(v, writer.uint32(34).fork()).join();
		if (message.effectType !== 0) writer.uint32(40).int32(message.effectType);
		if (message.communityHeartMeInfo !== void 0) CommunityHeartMeInfo.encode(message.communityHeartMeInfo, writer.uint32(50).fork()).join();
		if (message.communityHeartMeInfoStr !== "") writer.uint32(58).string(message.communityHeartMeInfoStr);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSpecialEffectNotice();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.score = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.fromUserId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.toAnchorId = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.affectedAnchorPairs.push(AnchorPair.decode(reader, reader.uint32()));
					continue;
				case 5:
					if (tag !== 40) break;
					message.effectType = reader.int32();
					continue;
				case 6:
					if (tag !== 50) break;
					message.communityHeartMeInfo = CommunityHeartMeInfo.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.communityHeartMeInfoStr = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSpecifiedDisplayText() {
	return {
		uid: "0",
		displayText: void 0
	};
}
const SpecifiedDisplayText = {
	encode(message, writer = new BinaryWriter()) {
		if (message.uid !== "0") writer.uint32(8).int64(message.uid);
		if (message.displayText !== void 0) Text.encode(message.displayText, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSpecifiedDisplayText();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.uid = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.displayText = Text.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSponsorshipInfo() {
	return {
		giftId: "0",
		sponsorId: "0",
		lightGiftUp: false,
		unlightedGiftIcon: "",
		giftGalleryDetailPageSchemeUrl: "",
		giftGalleryClickSponsor: false,
		giftTrayStyle: 0,
		becomeAllSponsored: false
	};
}
const SponsorshipInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.giftId !== "0") writer.uint32(8).int64(message.giftId);
		if (message.sponsorId !== "0") writer.uint32(16).int64(message.sponsorId);
		if (message.lightGiftUp !== false) writer.uint32(24).bool(message.lightGiftUp);
		if (message.unlightedGiftIcon !== "") writer.uint32(34).string(message.unlightedGiftIcon);
		if (message.giftGalleryDetailPageSchemeUrl !== "") writer.uint32(42).string(message.giftGalleryDetailPageSchemeUrl);
		if (message.giftGalleryClickSponsor !== false) writer.uint32(48).bool(message.giftGalleryClickSponsor);
		if (message.giftTrayStyle !== 0) writer.uint32(56).int32(message.giftTrayStyle);
		if (message.becomeAllSponsored !== false) writer.uint32(168).bool(message.becomeAllSponsored);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSponsorshipInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.giftId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.sponsorId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.lightGiftUp = reader.bool();
					continue;
				case 4:
					if (tag !== 34) break;
					message.unlightedGiftIcon = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.giftGalleryDetailPageSchemeUrl = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.giftGalleryClickSponsor = reader.bool();
					continue;
				case 7:
					if (tag !== 56) break;
					message.giftTrayStyle = reader.int32();
					continue;
				case 21:
					if (tag !== 168) break;
					message.becomeAllSponsored = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTagItem() {
	return {
		tagType: 0,
		tagText: void 0,
		tagValue: "0",
		displayLocation: 0,
		eventTrackingFields: {},
		bizName: "",
		disableCountFrequencyControl: false,
		disableCrmClick: false
	};
}
const TagItem = {
	encode(message, writer = new BinaryWriter()) {
		if (message.tagType !== 0) writer.uint32(8).int32(message.tagType);
		if (message.tagText !== void 0) Text.encode(message.tagText, writer.uint32(18).fork()).join();
		if (message.tagValue !== "0") writer.uint32(24).int64(message.tagValue);
		if (message.displayLocation !== 0) writer.uint32(32).int32(message.displayLocation);
		globalThis.Object.entries(message.eventTrackingFields).forEach(([key, value]) => {
			TagItem_EventTrackingFieldsEntry.encode({
				key,
				value
			}, writer.uint32(42).fork()).join();
		});
		if (message.bizName !== "") writer.uint32(50).string(message.bizName);
		if (message.disableCountFrequencyControl !== false) writer.uint32(80).bool(message.disableCountFrequencyControl);
		if (message.disableCrmClick !== false) writer.uint32(88).bool(message.disableCrmClick);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTagItem();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.tagType = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.tagText = Text.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.tagValue = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.displayLocation = reader.int32();
					continue;
				case 5: {
					if (tag !== 42) break;
					const entry5 = TagItem_EventTrackingFieldsEntry.decode(reader, reader.uint32());
					if (entry5.value !== void 0) message.eventTrackingFields[entry5.key] = entry5.value;
					continue;
				}
				case 6:
					if (tag !== 50) break;
					message.bizName = reader.string();
					continue;
				case 10:
					if (tag !== 80) break;
					message.disableCountFrequencyControl = reader.bool();
					continue;
				case 11:
					if (tag !== 88) break;
					message.disableCrmClick = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTagItem_EventTrackingFieldsEntry() {
	return {
		key: "",
		value: ""
	};
}
const TagItem_EventTrackingFieldsEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.value !== "") writer.uint32(18).string(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTagItem_EventTrackingFieldsEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTeamUsersInfo() {
	return {
		teamId: "0",
		userId: []
	};
}
const TeamUsersInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.teamId !== "0") writer.uint32(8).int64(message.teamId);
		writer.uint32(18).fork();
		for (const v of message.userId) writer.int64(v);
		writer.join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTeamUsersInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.teamId = reader.int64().toString();
					continue;
				case 2:
					if (tag === 16) {
						message.userId.push(reader.int64().toString());
						continue;
					}
					if (tag === 18) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.userId.push(reader.int64().toString());
						continue;
					}
					break;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTemplateContent() {
	return {
		templateId: "0",
		templateIdStr: "",
		status: 0,
		pollKind: 0,
		appealStatus: 0,
		violationIdStr: ""
	};
}
const TemplateContent = {
	encode(message, writer = new BinaryWriter()) {
		if (message.templateId !== "0") writer.uint32(8).int64(message.templateId);
		if (message.templateIdStr !== "") writer.uint32(18).string(message.templateIdStr);
		if (message.status !== 0) writer.uint32(24).int32(message.status);
		if (message.pollKind !== 0) writer.uint32(32).int32(message.pollKind);
		if (message.appealStatus !== 0) writer.uint32(40).int32(message.appealStatus);
		if (message.violationIdStr !== "") writer.uint32(50).string(message.violationIdStr);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTemplateContent();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.templateId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.templateIdStr = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.status = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.pollKind = reader.int32();
					continue;
				case 5:
					if (tag !== 40) break;
					message.appealStatus = reader.int32();
					continue;
				case 6:
					if (tag !== 50) break;
					message.violationIdStr = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTextEffect() {
	return {
		portrait: void 0,
		landscape: void 0
	};
}
const TextEffect = {
	encode(message, writer = new BinaryWriter()) {
		if (message.portrait !== void 0) Detail.encode(message.portrait, writer.uint32(10).fork()).join();
		if (message.landscape !== void 0) Detail.encode(message.landscape, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTextEffect();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.portrait = Detail.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.landscape = Detail.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTimeInfo() {
	return {
		clientStartMs: "0",
		apiRecvTimeMs: "0",
		apiSendToGoimMs: "0"
	};
}
const TimeInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.clientStartMs !== "0") writer.uint32(8).int64(message.clientStartMs);
		if (message.apiRecvTimeMs !== "0") writer.uint32(16).int64(message.apiRecvTimeMs);
		if (message.apiSendToGoimMs !== "0") writer.uint32(24).int64(message.apiSendToGoimMs);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTimeInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.clientStartMs = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.apiRecvTimeMs = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.apiSendToGoimMs = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTitleData() {
	return {
		goalCount: "0",
		currentSponsorId: "0"
	};
}
const TitleData = {
	encode(message, writer = new BinaryWriter()) {
		if (message.goalCount !== "0") writer.uint32(8).int64(message.goalCount);
		if (message.currentSponsorId !== "0") writer.uint32(16).int64(message.currentSponsorId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTitleData();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.goalCount = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.currentSponsorId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTopic() {
	return {
		topicActionType: 0,
		topicText: void 0,
		topicTips: void 0,
		hasButton: false,
		actionButton: void 0,
		tagType: 0,
		displayLocation: 0,
		eventTrackingFields: {},
		bizName: "",
		disableCountFrequencyControl: false
	};
}
const Topic = {
	encode(message, writer = new BinaryWriter()) {
		if (message.topicActionType !== 0) writer.uint32(8).int32(message.topicActionType);
		if (message.topicText !== void 0) Text.encode(message.topicText, writer.uint32(18).fork()).join();
		if (message.topicTips !== void 0) Text.encode(message.topicTips, writer.uint32(26).fork()).join();
		if (message.hasButton !== false) writer.uint32(32).bool(message.hasButton);
		if (message.actionButton !== void 0) ActionButton.encode(message.actionButton, writer.uint32(42).fork()).join();
		if (message.tagType !== 0) writer.uint32(48).int32(message.tagType);
		if (message.displayLocation !== 0) writer.uint32(56).int32(message.displayLocation);
		globalThis.Object.entries(message.eventTrackingFields).forEach(([key, value]) => {
			Topic_EventTrackingFieldsEntry.encode({
				key,
				value
			}, writer.uint32(66).fork()).join();
		});
		if (message.bizName !== "") writer.uint32(74).string(message.bizName);
		if (message.disableCountFrequencyControl !== false) writer.uint32(80).bool(message.disableCountFrequencyControl);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTopic();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.topicActionType = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.topicText = Text.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.topicTips = Text.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.hasButton = reader.bool();
					continue;
				case 5:
					if (tag !== 42) break;
					message.actionButton = ActionButton.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 48) break;
					message.tagType = reader.int32();
					continue;
				case 7:
					if (tag !== 56) break;
					message.displayLocation = reader.int32();
					continue;
				case 8: {
					if (tag !== 66) break;
					const entry8 = Topic_EventTrackingFieldsEntry.decode(reader, reader.uint32());
					if (entry8.value !== void 0) message.eventTrackingFields[entry8.key] = entry8.value;
					continue;
				}
				case 9:
					if (tag !== 74) break;
					message.bizName = reader.string();
					continue;
				case 10:
					if (tag !== 80) break;
					message.disableCountFrequencyControl = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTopic_EventTrackingFieldsEntry() {
	return {
		key: "",
		value: ""
	};
}
const Topic_EventTrackingFieldsEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.value !== "") writer.uint32(18).string(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTopic_EventTrackingFieldsEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTriggerCondition() {
	return {
		uplinkDetectHttp: false,
		uplinkDetectWebsocket: false,
		detectP2pMsg: false,
		detectRoomMsg: false,
		httpOptimize: false
	};
}
const TriggerCondition = {
	encode(message, writer = new BinaryWriter()) {
		if (message.uplinkDetectHttp !== false) writer.uint32(8).bool(message.uplinkDetectHttp);
		if (message.uplinkDetectWebsocket !== false) writer.uint32(16).bool(message.uplinkDetectWebsocket);
		if (message.detectP2pMsg !== false) writer.uint32(24).bool(message.detectP2pMsg);
		if (message.detectRoomMsg !== false) writer.uint32(32).bool(message.detectRoomMsg);
		if (message.httpOptimize !== false) writer.uint32(40).bool(message.httpOptimize);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTriggerCondition();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.uplinkDetectHttp = reader.bool();
					continue;
				case 2:
					if (tag !== 16) break;
					message.uplinkDetectWebsocket = reader.bool();
					continue;
				case 3:
					if (tag !== 24) break;
					message.detectP2pMsg = reader.bool();
					continue;
				case 4:
					if (tag !== 32) break;
					message.detectRoomMsg = reader.bool();
					continue;
				case 5:
					if (tag !== 40) break;
					message.httpOptimize = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUnionAnimationInfo() {
	return {
		unionType: 0,
		rankTypeArray: [],
		supportedVersion: "0"
	};
}
const UnionAnimationInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.unionType !== 0) writer.uint32(8).int32(message.unionType);
		writer.uint32(18).fork();
		for (const v of message.rankTypeArray) writer.int32(v);
		writer.join();
		if (message.supportedVersion !== "0") writer.uint32(24).int64(message.supportedVersion);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUnionAnimationInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.unionType = reader.int32();
					continue;
				case 2:
					if (tag === 16) {
						message.rankTypeArray.push(reader.int32());
						continue;
					}
					if (tag === 18) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.rankTypeArray.push(reader.int32());
						continue;
					}
					break;
				case 3:
					if (tag !== 24) break;
					message.supportedVersion = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUseCriticalStrikeCard() {
	return {
		cardInfo: void 0,
		anchorId: "0",
		displayContent: void 0
	};
}
const UseCriticalStrikeCard = {
	encode(message, writer = new BinaryWriter()) {
		if (message.cardInfo !== void 0) CriticalStrikeCardInfo.encode(message.cardInfo, writer.uint32(10).fork()).join();
		if (message.anchorId !== "0") writer.uint32(16).int64(message.anchorId);
		if (message.displayContent !== void 0) Text.encode(message.displayContent, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUseCriticalStrikeCard();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.cardInfo = CriticalStrikeCardInfo.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.anchorId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.displayContent = Text.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUseExtraTimeCard() {
	return {
		cardInfo: void 0,
		anchorId: "0",
		displayContent: void 0
	};
}
const UseExtraTimeCard = {
	encode(message, writer = new BinaryWriter()) {
		if (message.cardInfo !== void 0) ExtraTimeCardInfo.encode(message.cardInfo, writer.uint32(10).fork()).join();
		if (message.anchorId !== "0") writer.uint32(16).int64(message.anchorId);
		if (message.displayContent !== void 0) Text.encode(message.displayContent, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUseExtraTimeCard();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.cardInfo = ExtraTimeCardInfo.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.anchorId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.displayContent = Text.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUsePotionCard() {
	return {
		cardInfo: void 0,
		anchorId: "0",
		displayContent: void 0
	};
}
const UsePotionCard = {
	encode(message, writer = new BinaryWriter()) {
		if (message.cardInfo !== void 0) PotionCardInfo.encode(message.cardInfo, writer.uint32(10).fork()).join();
		if (message.anchorId !== "0") writer.uint32(16).int64(message.anchorId);
		if (message.displayContent !== void 0) Text.encode(message.displayContent, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUsePotionCard();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.cardInfo = PotionCardInfo.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.anchorId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.displayContent = Text.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUseSmokeCard() {
	return {
		cardInfo: void 0,
		anchorId: "0",
		displayContent: void 0
	};
}
const UseSmokeCard = {
	encode(message, writer = new BinaryWriter()) {
		if (message.cardInfo !== void 0) SmokeCardInfo.encode(message.cardInfo, writer.uint32(10).fork()).join();
		if (message.anchorId !== "0") writer.uint32(16).int64(message.anchorId);
		if (message.displayContent !== void 0) Text.encode(message.displayContent, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUseSmokeCard();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.cardInfo = SmokeCardInfo.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.anchorId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.displayContent = Text.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUseSpecialEffectCard() {
	return {
		cardInfo: void 0,
		anchorId: "0",
		displayContent: void 0,
		affectedAnchorPairs: [],
		effectType: 0,
		communityHeartMeInfo: void 0,
		communityHeartMeInfoStr: ""
	};
}
const UseSpecialEffectCard = {
	encode(message, writer = new BinaryWriter()) {
		if (message.cardInfo !== void 0) SpecialEffectCardInfo.encode(message.cardInfo, writer.uint32(10).fork()).join();
		if (message.anchorId !== "0") writer.uint32(16).int64(message.anchorId);
		if (message.displayContent !== void 0) Text.encode(message.displayContent, writer.uint32(26).fork()).join();
		for (const v of message.affectedAnchorPairs) AnchorPair.encode(v, writer.uint32(34).fork()).join();
		if (message.effectType !== 0) writer.uint32(40).int32(message.effectType);
		if (message.communityHeartMeInfo !== void 0) CommunityHeartMeInfo.encode(message.communityHeartMeInfo, writer.uint32(50).fork()).join();
		if (message.communityHeartMeInfoStr !== "") writer.uint32(58).string(message.communityHeartMeInfoStr);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUseSpecialEffectCard();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.cardInfo = SpecialEffectCardInfo.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.anchorId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.displayContent = Text.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.affectedAnchorPairs.push(AnchorPair.decode(reader, reader.uint32()));
					continue;
				case 5:
					if (tag !== 40) break;
					message.effectType = reader.int32();
					continue;
				case 6:
					if (tag !== 50) break;
					message.communityHeartMeInfo = CommunityHeartMeInfo.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.communityHeartMeInfoStr = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUseTop2Card() {
	return {
		cardInfo: void 0,
		anchorId: "0",
		displayContent: void 0
	};
}
const UseTop2Card = {
	encode(message, writer = new BinaryWriter()) {
		if (message.cardInfo !== void 0) Top2CardInfo.encode(message.cardInfo, writer.uint32(10).fork()).join();
		if (message.anchorId !== "0") writer.uint32(16).int64(message.anchorId);
		if (message.displayContent !== void 0) Text.encode(message.displayContent, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUseTop2Card();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.cardInfo = Top2CardInfo.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.anchorId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.displayContent = Text.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUseTop3Card() {
	return {
		cardInfo: void 0,
		anchorId: "0",
		displayContent: void 0
	};
}
const UseTop3Card = {
	encode(message, writer = new BinaryWriter()) {
		if (message.cardInfo !== void 0) Top3CardInfo.encode(message.cardInfo, writer.uint32(10).fork()).join();
		if (message.anchorId !== "0") writer.uint32(16).int64(message.anchorId);
		if (message.displayContent !== void 0) Text.encode(message.displayContent, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUseTop3Card();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.cardInfo = Top3CardInfo.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.anchorId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.displayContent = Text.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUseVaultGloveCard() {
	return {
		cardInfo: void 0,
		anchorId: "0",
		displayContent: void 0
	};
}
const UseVaultGloveCard = {
	encode(message, writer = new BinaryWriter()) {
		if (message.cardInfo !== void 0) VaultGloveCardInfo.encode(message.cardInfo, writer.uint32(10).fork()).join();
		if (message.anchorId !== "0") writer.uint32(16).int64(message.anchorId);
		if (message.displayContent !== void 0) Text.encode(message.displayContent, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUseVaultGloveCard();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.cardInfo = VaultGloveCardInfo.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.anchorId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.displayContent = Text.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUseWaveCard() {
	return {
		cardInfo: void 0,
		anchorId: "0",
		displayContent: void 0
	};
}
const UseWaveCard = {
	encode(message, writer = new BinaryWriter()) {
		if (message.cardInfo !== void 0) WaveCardInfo.encode(message.cardInfo, writer.uint32(10).fork()).join();
		if (message.anchorId !== "0") writer.uint32(16).int64(message.anchorId);
		if (message.displayContent !== void 0) Text.encode(message.displayContent, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUseWaveCard();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.cardInfo = WaveCardInfo.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.anchorId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.displayContent = Text.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUserCountdownInfo() {
	return {
		countdownId: "0",
		score: "0",
		targetScore: "0",
		completionProgressPercent: 0
	};
}
const UserCountdownInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.countdownId !== "0") writer.uint32(8).int64(message.countdownId);
		if (message.score !== "0") writer.uint32(16).int64(message.score);
		if (message.targetScore !== "0") writer.uint32(24).int64(message.targetScore);
		if (message.completionProgressPercent !== 0) writer.uint32(32).int32(message.completionProgressPercent);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUserCountdownInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.countdownId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.score = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.targetScore = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.completionProgressPercent = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUserFanTicket() {
	return {
		userId: "0",
		fanTicket: "0",
		matchTotalScore: "0",
		matchRank: 0,
		countdownInfo: void 0,
		playInfo: void 0,
		iconName: "",
		animationName: "",
		ticketUiStyle: "",
		completionProgressPercent: 0,
		topGuestRank: 0,
		ticketUiStyleV2: ""
	};
}
const UserFanTicket = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.fanTicket !== "0") writer.uint32(16).int64(message.fanTicket);
		if (message.matchTotalScore !== "0") writer.uint32(24).int64(message.matchTotalScore);
		if (message.matchRank !== 0) writer.uint32(32).int32(message.matchRank);
		if (message.countdownInfo !== void 0) UserCountdownInfo.encode(message.countdownInfo, writer.uint32(42).fork()).join();
		if (message.playInfo !== void 0) UserPlayInfo.encode(message.playInfo, writer.uint32(50).fork()).join();
		if (message.iconName !== "") writer.uint32(58).string(message.iconName);
		if (message.animationName !== "") writer.uint32(66).string(message.animationName);
		if (message.ticketUiStyle !== "") writer.uint32(74).string(message.ticketUiStyle);
		if (message.completionProgressPercent !== 0) writer.uint32(80).int32(message.completionProgressPercent);
		if (message.topGuestRank !== 0) writer.uint32(88).int32(message.topGuestRank);
		if (message.ticketUiStyleV2 !== "") writer.uint32(98).string(message.ticketUiStyleV2);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUserFanTicket();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.fanTicket = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.matchTotalScore = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.matchRank = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.countdownInfo = UserCountdownInfo.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.playInfo = UserPlayInfo.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.iconName = reader.string();
					continue;
				case 8:
					if (tag !== 66) break;
					message.animationName = reader.string();
					continue;
				case 9:
					if (tag !== 74) break;
					message.ticketUiStyle = reader.string();
					continue;
				case 10:
					if (tag !== 80) break;
					message.completionProgressPercent = reader.int32();
					continue;
				case 11:
					if (tag !== 88) break;
					message.topGuestRank = reader.int32();
					continue;
				case 12:
					if (tag !== 98) break;
					message.ticketUiStyleV2 = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUserInfo() {
	return {
		userId: "0",
		avatar: void 0
	};
}
const UserInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		if (message.avatar !== void 0) ImageModel.encode(message.avatar, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUserInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.avatar = ImageModel.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUserInteractionInfo() {
	return {
		likeCnt: "0",
		commentCnt: "0",
		shareCnt: "0"
	};
}
const UserInteractionInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.likeCnt !== "0") writer.uint32(8).int64(message.likeCnt);
		if (message.commentCnt !== "0") writer.uint32(16).int64(message.commentCnt);
		if (message.shareCnt !== "0") writer.uint32(24).int64(message.shareCnt);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUserInteractionInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.likeCnt = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.commentCnt = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.shareCnt = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUserMetrics() {
	return {
		type: 0,
		metricsValue: ""
	};
}
const UserMetrics = {
	encode(message, writer = new BinaryWriter()) {
		if (message.type !== 0) writer.uint32(8).int32(message.type);
		if (message.metricsValue !== "") writer.uint32(18).string(message.metricsValue);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUserMetrics();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.type = reader.int32();
					continue;
				case 2:
					if (tag !== 18) break;
					message.metricsValue = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUserModelPredictionData() {
	return {
		userId: "0",
		modelPredictionData: {}
	};
}
const UserModelPredictionData = {
	encode(message, writer = new BinaryWriter()) {
		if (message.userId !== "0") writer.uint32(8).int64(message.userId);
		globalThis.Object.entries(message.modelPredictionData).forEach(([key, value]) => {
			UserModelPredictionData_ModelPredictionDataEntry.encode({
				key,
				value
			}, writer.uint32(18).fork()).join();
		});
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUserModelPredictionData();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.userId = reader.int64().toString();
					continue;
				case 2: {
					if (tag !== 18) break;
					const entry2 = UserModelPredictionData_ModelPredictionDataEntry.decode(reader, reader.uint32());
					if (entry2.value !== void 0) message.modelPredictionData[entry2.key] = entry2.value;
					continue;
				}
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUserModelPredictionData_ModelPredictionDataEntry() {
	return {
		key: "",
		value: 0
	};
}
const UserModelPredictionData_ModelPredictionDataEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.value !== 0) writer.uint32(17).double(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUserModelPredictionData_ModelPredictionDataEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 17) break;
					message.value = reader.double();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseUserPlayInfo() {
	return {
		playId: "0",
		playScene: 0,
		score: "0",
		rank: 0,
		targetScore: "0",
		userTag: 0
	};
}
const UserPlayInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.playId !== "0") writer.uint32(8).int64(message.playId);
		if (message.playScene !== 0) writer.uint32(16).int32(message.playScene);
		if (message.score !== "0") writer.uint32(24).int64(message.score);
		if (message.rank !== 0) writer.uint32(32).int32(message.rank);
		if (message.targetScore !== "0") writer.uint32(40).int64(message.targetScore);
		if (message.userTag !== 0) writer.uint32(48).int32(message.userTag);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseUserPlayInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.playId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.playScene = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.score = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.rank = reader.int32();
					continue;
				case 5:
					if (tag !== 40) break;
					message.targetScore = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.userTag = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseValidRanks() {
	return {
		isEffect: false,
		rankTypes: []
	};
}
const ValidRanks = {
	encode(message, writer = new BinaryWriter()) {
		if (message.isEffect !== false) writer.uint32(8).bool(message.isEffect);
		writer.uint32(18).fork();
		for (const v of message.rankTypes) writer.int32(v);
		writer.join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseValidRanks();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.isEffect = reader.bool();
					continue;
				case 2:
					if (tag === 16) {
						message.rankTypes.push(reader.int32());
						continue;
					}
					if (tag === 18) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.rankTypes.push(reader.int32());
						continue;
					}
					break;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseVoucher() {
	return {
		voucherTypeId: "0",
		taskId: "0",
		taskType: 0,
		liveVoucherType: 0,
		creatorOperationUniqueId: "",
		voucherMaxFaceValue: ""
	};
}
const Voucher = {
	encode(message, writer = new BinaryWriter()) {
		if (message.voucherTypeId !== "0") writer.uint32(8).int64(message.voucherTypeId);
		if (message.taskId !== "0") writer.uint32(16).int64(message.taskId);
		if (message.taskType !== 0) writer.uint32(24).int32(message.taskType);
		if (message.liveVoucherType !== 0) writer.uint32(32).int32(message.liveVoucherType);
		if (message.creatorOperationUniqueId !== "") writer.uint32(42).string(message.creatorOperationUniqueId);
		if (message.voucherMaxFaceValue !== "") writer.uint32(50).string(message.voucherMaxFaceValue);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseVoucher();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.voucherTypeId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.taskId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.taskType = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.liveVoucherType = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.creatorOperationUniqueId = reader.string();
					continue;
				case 6:
					if (tag !== 50) break;
					message.voucherMaxFaceValue = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWaveAlgorithmData() {
	return {
		algorithmVersion: "",
		isAlgHit: false,
		predictScore: "",
		isRewatch: false,
		isFollow: false
	};
}
const WaveAlgorithmData = {
	encode(message, writer = new BinaryWriter()) {
		if (message.algorithmVersion !== "") writer.uint32(10).string(message.algorithmVersion);
		if (message.isAlgHit !== false) writer.uint32(16).bool(message.isAlgHit);
		if (message.predictScore !== "") writer.uint32(26).string(message.predictScore);
		if (message.isRewatch !== false) writer.uint32(32).bool(message.isRewatch);
		if (message.isFollow !== false) writer.uint32(40).bool(message.isFollow);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWaveAlgorithmData();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.algorithmVersion = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.isAlgHit = reader.bool();
					continue;
				case 3:
					if (tag !== 26) break;
					message.predictScore = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.isRewatch = reader.bool();
					continue;
				case 5:
					if (tag !== 40) break;
					message.isFollow = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastAccessControlMessage() {
	return {
		common: void 0,
		captcha: void 0
	};
}
const WebcastAccessControlMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.captcha !== void 0) AccessControlCaptcha.encode(message.captcha, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastAccessControlMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.captcha = AccessControlCaptcha.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastBarrageMessage() {
	return {
		common: void 0,
		event: void 0,
		msgType: 0,
		icon: void 0,
		content: void 0,
		duration: "0",
		background: void 0,
		rightIcon: void 0,
		displayConfig: 0,
		galleryGiftId: "0",
		scene: "",
		control: void 0,
		rightLabel: void 0,
		useMarquee: false,
		showType: 0,
		badge: void 0,
		renderType: 0,
		leftIconDisplayType: 0,
		ribbonAnimation: void 0,
		animationData: void 0,
		hybridUrl: "",
		schema: "",
		subType: "",
		commonBarrageContent: void 0,
		user: void 0,
		userGradeParam: void 0,
		fansLevelParam: void 0,
		subscribeGiftParam: void 0,
		privilegeLogExtra: void 0,
		giftGalleryParams: void 0,
		publicAreaMessageCommon: void 0,
		ecomLiveParam: void 0
	};
}
const WebcastBarrageMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.event !== void 0) BarrageEvent.encode(message.event, writer.uint32(18).fork()).join();
		if (message.msgType !== 0) writer.uint32(24).int32(message.msgType);
		if (message.icon !== void 0) ImageModel.encode(message.icon, writer.uint32(34).fork()).join();
		if (message.content !== void 0) Text.encode(message.content, writer.uint32(42).fork()).join();
		if (message.duration !== "0") writer.uint32(48).int64(message.duration);
		if (message.background !== void 0) ImageModel.encode(message.background, writer.uint32(58).fork()).join();
		if (message.rightIcon !== void 0) ImageModel.encode(message.rightIcon, writer.uint32(66).fork()).join();
		if (message.displayConfig !== 0) writer.uint32(72).int32(message.displayConfig);
		if (message.galleryGiftId !== "0") writer.uint32(80).int64(message.galleryGiftId);
		if (message.scene !== "") writer.uint32(90).string(message.scene);
		if (message.control !== void 0) DisplayControl.encode(message.control, writer.uint32(98).fork()).join();
		if (message.rightLabel !== void 0) RightLabel.encode(message.rightLabel, writer.uint32(106).fork()).join();
		if (message.useMarquee !== false) writer.uint32(112).bool(message.useMarquee);
		if (message.showType !== 0) writer.uint32(120).int32(message.showType);
		if (message.badge !== void 0) BadgeStruct.encode(message.badge, writer.uint32(130).fork()).join();
		if (message.renderType !== 0) writer.uint32(136).int32(message.renderType);
		if (message.leftIconDisplayType !== 0) writer.uint32(144).int32(message.leftIconDisplayType);
		if (message.ribbonAnimation !== void 0) ImageModel.encode(message.ribbonAnimation, writer.uint32(154).fork()).join();
		if (message.animationData !== void 0) AnimationData.encode(message.animationData, writer.uint32(162).fork()).join();
		if (message.hybridUrl !== "") writer.uint32(170).string(message.hybridUrl);
		if (message.schema !== "") writer.uint32(178).string(message.schema);
		if (message.subType !== "") writer.uint32(186).string(message.subType);
		if (message.commonBarrageContent !== void 0) Text.encode(message.commonBarrageContent, writer.uint32(194).fork()).join();
		if (message.user !== void 0) User.encode(message.user, writer.uint32(402).fork()).join();
		if (message.userGradeParam !== void 0) BarrageTypeUserGradeParam.encode(message.userGradeParam, writer.uint32(802).fork()).join();
		if (message.fansLevelParam !== void 0) BarrageTypeFansLevelParam.encode(message.fansLevelParam, writer.uint32(810).fork()).join();
		if (message.subscribeGiftParam !== void 0) BarrageTypeSubscribeGiftParam.encode(message.subscribeGiftParam, writer.uint32(818).fork()).join();
		if (message.privilegeLogExtra !== void 0) PrivilegeLogExtra.encode(message.privilegeLogExtra, writer.uint32(826).fork()).join();
		if (message.giftGalleryParams !== void 0) BarrageTypeGiftGalleryParam.encode(message.giftGalleryParams, writer.uint32(834).fork()).join();
		if (message.publicAreaMessageCommon !== void 0) PublicAreaMessageCommon.encode(message.publicAreaMessageCommon, writer.uint32(842).fork()).join();
		if (message.ecomLiveParam !== void 0) BarrageTypeEcomLiveParam.encode(message.ecomLiveParam, writer.uint32(850).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastBarrageMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.event = BarrageEvent.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.msgType = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.icon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.content = Text.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 48) break;
					message.duration = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 58) break;
					message.background = ImageModel.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.rightIcon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 72) break;
					message.displayConfig = reader.int32();
					continue;
				case 10:
					if (tag !== 80) break;
					message.galleryGiftId = reader.int64().toString();
					continue;
				case 11:
					if (tag !== 90) break;
					message.scene = reader.string();
					continue;
				case 12:
					if (tag !== 98) break;
					message.control = DisplayControl.decode(reader, reader.uint32());
					continue;
				case 13:
					if (tag !== 106) break;
					message.rightLabel = RightLabel.decode(reader, reader.uint32());
					continue;
				case 14:
					if (tag !== 112) break;
					message.useMarquee = reader.bool();
					continue;
				case 15:
					if (tag !== 120) break;
					message.showType = reader.int32();
					continue;
				case 16:
					if (tag !== 130) break;
					message.badge = BadgeStruct.decode(reader, reader.uint32());
					continue;
				case 17:
					if (tag !== 136) break;
					message.renderType = reader.int32();
					continue;
				case 18:
					if (tag !== 144) break;
					message.leftIconDisplayType = reader.int32();
					continue;
				case 19:
					if (tag !== 154) break;
					message.ribbonAnimation = ImageModel.decode(reader, reader.uint32());
					continue;
				case 20:
					if (tag !== 162) break;
					message.animationData = AnimationData.decode(reader, reader.uint32());
					continue;
				case 21:
					if (tag !== 170) break;
					message.hybridUrl = reader.string();
					continue;
				case 22:
					if (tag !== 178) break;
					message.schema = reader.string();
					continue;
				case 23:
					if (tag !== 186) break;
					message.subType = reader.string();
					continue;
				case 24:
					if (tag !== 194) break;
					message.commonBarrageContent = Text.decode(reader, reader.uint32());
					continue;
				case 50:
					if (tag !== 402) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 100:
					if (tag !== 802) break;
					message.userGradeParam = BarrageTypeUserGradeParam.decode(reader, reader.uint32());
					continue;
				case 101:
					if (tag !== 810) break;
					message.fansLevelParam = BarrageTypeFansLevelParam.decode(reader, reader.uint32());
					continue;
				case 102:
					if (tag !== 818) break;
					message.subscribeGiftParam = BarrageTypeSubscribeGiftParam.decode(reader, reader.uint32());
					continue;
				case 103:
					if (tag !== 826) break;
					message.privilegeLogExtra = PrivilegeLogExtra.decode(reader, reader.uint32());
					continue;
				case 104:
					if (tag !== 834) break;
					message.giftGalleryParams = BarrageTypeGiftGalleryParam.decode(reader, reader.uint32());
					continue;
				case 105:
					if (tag !== 842) break;
					message.publicAreaMessageCommon = PublicAreaMessageCommon.decode(reader, reader.uint32());
					continue;
				case 106:
					if (tag !== 850) break;
					message.ecomLiveParam = BarrageTypeEcomLiveParam.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastBoostCardMessage() {
	return {
		common: void 0,
		cards: []
	};
}
const WebcastBoostCardMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		for (const v of message.cards) BoostCard.encode(v, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastBoostCardMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.cards.push(BoostCard.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastBottomMessage() {
	return {
		common: void 0,
		content: "",
		showType: 0,
		textType: 0,
		duration: "0",
		bizType: 0,
		violationUserId: "0",
		punishInfo: void 0,
		style: 0,
		detailUrl: "",
		floatStyle: 0,
		floatIconType: 0
	};
}
const WebcastBottomMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.content !== "") writer.uint32(18).string(message.content);
		if (message.showType !== 0) writer.uint32(24).int32(message.showType);
		if (message.textType !== 0) writer.uint32(32).int32(message.textType);
		if (message.duration !== "0") writer.uint32(40).int64(message.duration);
		if (message.bizType !== 0) writer.uint32(48).int32(message.bizType);
		if (message.violationUserId !== "0") writer.uint32(56).int64(message.violationUserId);
		if (message.punishInfo !== void 0) PunishEventInfo.encode(message.punishInfo, writer.uint32(66).fork()).join();
		if (message.style !== 0) writer.uint32(72).int32(message.style);
		if (message.detailUrl !== "") writer.uint32(82).string(message.detailUrl);
		if (message.floatStyle !== 0) writer.uint32(88).int32(message.floatStyle);
		if (message.floatIconType !== 0) writer.uint32(96).int32(message.floatIconType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastBottomMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.content = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.showType = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.textType = reader.int32();
					continue;
				case 5:
					if (tag !== 40) break;
					message.duration = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.bizType = reader.int32();
					continue;
				case 7:
					if (tag !== 56) break;
					message.violationUserId = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 66) break;
					message.punishInfo = PunishEventInfo.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 72) break;
					message.style = reader.int32();
					continue;
				case 10:
					if (tag !== 82) break;
					message.detailUrl = reader.string();
					continue;
				case 11:
					if (tag !== 88) break;
					message.floatStyle = reader.int32();
					continue;
				case 12:
					if (tag !== 96) break;
					message.floatIconType = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastCapsuleMessage() {
	return {
		common: void 0,
		icon: void 0,
		desc: void 0,
		buttonText: void 0,
		schema: "",
		type: 0,
		scene: "",
		bizParams: void 0,
		subScene: "",
		style: 0,
		skipFc: false,
		publicAreaMessageCommon: void 0,
		reportAction: false
	};
}
const WebcastCapsuleMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.icon !== void 0) ImageModel.encode(message.icon, writer.uint32(18).fork()).join();
		if (message.desc !== void 0) Text.encode(message.desc, writer.uint32(26).fork()).join();
		if (message.buttonText !== void 0) Text.encode(message.buttonText, writer.uint32(34).fork()).join();
		if (message.schema !== "") writer.uint32(42).string(message.schema);
		if (message.type !== 0) writer.uint32(48).int32(message.type);
		if (message.scene !== "") writer.uint32(58).string(message.scene);
		if (message.bizParams !== void 0) CapsuleBizParams.encode(message.bizParams, writer.uint32(66).fork()).join();
		if (message.subScene !== "") writer.uint32(74).string(message.subScene);
		if (message.style !== 0) writer.uint32(80).int32(message.style);
		if (message.skipFc !== false) writer.uint32(88).bool(message.skipFc);
		if (message.publicAreaMessageCommon !== void 0) PublicAreaMessageCommon.encode(message.publicAreaMessageCommon, writer.uint32(98).fork()).join();
		if (message.reportAction !== false) writer.uint32(104).bool(message.reportAction);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastCapsuleMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.icon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.desc = Text.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.buttonText = Text.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.schema = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.type = reader.int32();
					continue;
				case 7:
					if (tag !== 58) break;
					message.scene = reader.string();
					continue;
				case 8:
					if (tag !== 66) break;
					message.bizParams = CapsuleBizParams.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 74) break;
					message.subScene = reader.string();
					continue;
				case 10:
					if (tag !== 80) break;
					message.style = reader.int32();
					continue;
				case 11:
					if (tag !== 88) break;
					message.skipFc = reader.bool();
					continue;
				case 12:
					if (tag !== 98) break;
					message.publicAreaMessageCommon = PublicAreaMessageCommon.decode(reader, reader.uint32());
					continue;
				case 13:
					if (tag !== 104) break;
					message.reportAction = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastCaptionMessage() {
	return {
		common: void 0,
		timestampMs: "0",
		durationMs: "0",
		content: [],
		sentenceId: "0",
		sequenceId: "0",
		definite: false
	};
}
const WebcastCaptionMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.timestampMs !== "0") writer.uint32(16).int64(message.timestampMs);
		if (message.durationMs !== "0") writer.uint32(24).int64(message.durationMs);
		for (const v of message.content) CaptionContent.encode(v, writer.uint32(34).fork()).join();
		if (message.sentenceId !== "0") writer.uint32(40).int64(message.sentenceId);
		if (message.sequenceId !== "0") writer.uint32(48).int64(message.sequenceId);
		if (message.definite !== false) writer.uint32(56).bool(message.definite);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastCaptionMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.timestampMs = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.durationMs = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.content.push(CaptionContent.decode(reader, reader.uint32()));
					continue;
				case 5:
					if (tag !== 40) break;
					message.sentenceId = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.sequenceId = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.definite = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastChatMessage() {
	return {
		common: void 0,
		user: void 0,
		content: "",
		visibleToSender: false,
		backgroundImage: void 0,
		fullScreenTextColor: "",
		backgroundImageV2: void 0,
		publicAreaCommon: void 0,
		giftImage: void 0,
		inputType: 0,
		atUser: void 0,
		emotes: [],
		contentLanguage: "",
		msgFilter: void 0,
		quickChatScene: 0,
		communityFlaggedStatus: 0,
		userIdentity: void 0,
		commentQualityScores: [],
		commentTag: [],
		publicAreaMessageCommon: void 0,
		screenTime: "0",
		signature: "",
		signatureVersion: "",
		ecStreamerKey: "",
		commentLabelScores: [],
		mentionUserList: [],
		mentionUsers: [],
		isOnCommentTray: false
	};
}
const WebcastChatMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.user !== void 0) User.encode(message.user, writer.uint32(18).fork()).join();
		if (message.content !== "") writer.uint32(26).string(message.content);
		if (message.visibleToSender !== false) writer.uint32(32).bool(message.visibleToSender);
		if (message.backgroundImage !== void 0) ImageModel.encode(message.backgroundImage, writer.uint32(42).fork()).join();
		if (message.fullScreenTextColor !== "") writer.uint32(50).string(message.fullScreenTextColor);
		if (message.backgroundImageV2 !== void 0) ImageModel.encode(message.backgroundImageV2, writer.uint32(58).fork()).join();
		if (message.publicAreaCommon !== void 0) PublicAreaCommon.encode(message.publicAreaCommon, writer.uint32(74).fork()).join();
		if (message.giftImage !== void 0) ImageModel.encode(message.giftImage, writer.uint32(82).fork()).join();
		if (message.inputType !== 0) writer.uint32(88).int32(message.inputType);
		if (message.atUser !== void 0) User.encode(message.atUser, writer.uint32(98).fork()).join();
		for (const v of message.emotes) EmoteWithIndex.encode(v, writer.uint32(106).fork()).join();
		if (message.contentLanguage !== "") writer.uint32(114).string(message.contentLanguage);
		if (message.msgFilter !== void 0) MsgFilter.encode(message.msgFilter, writer.uint32(122).fork()).join();
		if (message.quickChatScene !== 0) writer.uint32(128).int32(message.quickChatScene);
		if (message.communityFlaggedStatus !== 0) writer.uint32(136).int32(message.communityFlaggedStatus);
		if (message.userIdentity !== void 0) UserIdentity.encode(message.userIdentity, writer.uint32(146).fork()).join();
		for (const v of message.commentQualityScores) CommentQualityScore.encode(v, writer.uint32(154).fork()).join();
		writer.uint32(162).fork();
		for (const v of message.commentTag) writer.int32(v);
		writer.join();
		if (message.publicAreaMessageCommon !== void 0) PublicAreaMessageCommon.encode(message.publicAreaMessageCommon, writer.uint32(170).fork()).join();
		if (message.screenTime !== "0") writer.uint32(176).int64(message.screenTime);
		if (message.signature !== "") writer.uint32(186).string(message.signature);
		if (message.signatureVersion !== "") writer.uint32(194).string(message.signatureVersion);
		if (message.ecStreamerKey !== "") writer.uint32(202).string(message.ecStreamerKey);
		for (const v of message.commentLabelScores) CommentLabelScore.encode(v, writer.uint32(210).fork()).join();
		writer.uint32(218).fork();
		for (const v of message.mentionUserList) writer.int64(v);
		writer.join();
		for (const v of message.mentionUsers) User.encode(v, writer.uint32(226).fork()).join();
		if (message.isOnCommentTray !== false) writer.uint32(232).bool(message.isOnCommentTray);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastChatMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.content = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.visibleToSender = reader.bool();
					continue;
				case 5:
					if (tag !== 42) break;
					message.backgroundImage = ImageModel.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.fullScreenTextColor = reader.string();
					continue;
				case 7:
					if (tag !== 58) break;
					message.backgroundImageV2 = ImageModel.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 74) break;
					message.publicAreaCommon = PublicAreaCommon.decode(reader, reader.uint32());
					continue;
				case 10:
					if (tag !== 82) break;
					message.giftImage = ImageModel.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 88) break;
					message.inputType = reader.int32();
					continue;
				case 12:
					if (tag !== 98) break;
					message.atUser = User.decode(reader, reader.uint32());
					continue;
				case 13:
					if (tag !== 106) break;
					message.emotes.push(EmoteWithIndex.decode(reader, reader.uint32()));
					continue;
				case 14:
					if (tag !== 114) break;
					message.contentLanguage = reader.string();
					continue;
				case 15:
					if (tag !== 122) break;
					message.msgFilter = MsgFilter.decode(reader, reader.uint32());
					continue;
				case 16:
					if (tag !== 128) break;
					message.quickChatScene = reader.int32();
					continue;
				case 17:
					if (tag !== 136) break;
					message.communityFlaggedStatus = reader.int32();
					continue;
				case 18:
					if (tag !== 146) break;
					message.userIdentity = UserIdentity.decode(reader, reader.uint32());
					continue;
				case 19:
					if (tag !== 154) break;
					message.commentQualityScores.push(CommentQualityScore.decode(reader, reader.uint32()));
					continue;
				case 20:
					if (tag === 160) {
						message.commentTag.push(reader.int32());
						continue;
					}
					if (tag === 162) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.commentTag.push(reader.int32());
						continue;
					}
					break;
				case 21:
					if (tag !== 170) break;
					message.publicAreaMessageCommon = PublicAreaMessageCommon.decode(reader, reader.uint32());
					continue;
				case 22:
					if (tag !== 176) break;
					message.screenTime = reader.int64().toString();
					continue;
				case 23:
					if (tag !== 186) break;
					message.signature = reader.string();
					continue;
				case 24:
					if (tag !== 194) break;
					message.signatureVersion = reader.string();
					continue;
				case 25:
					if (tag !== 202) break;
					message.ecStreamerKey = reader.string();
					continue;
				case 26:
					if (tag !== 210) break;
					message.commentLabelScores.push(CommentLabelScore.decode(reader, reader.uint32()));
					continue;
				case 27:
					if (tag === 216) {
						message.mentionUserList.push(reader.int64().toString());
						continue;
					}
					if (tag === 218) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.mentionUserList.push(reader.int64().toString());
						continue;
					}
					break;
				case 28:
					if (tag !== 226) break;
					message.mentionUsers.push(User.decode(reader, reader.uint32()));
					continue;
				case 29:
					if (tag !== 232) break;
					message.isOnCommentTray = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastControlMessage() {
	return {
		common: void 0,
		action: 0,
		tips: "",
		extra: void 0,
		perceptionDialog: void 0,
		perceptionAudienceText: void 0,
		punishInfo: void 0,
		floatText: void 0,
		floatStyle: 0
	};
}
const WebcastControlMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.action !== 0) writer.uint32(16).int32(message.action);
		if (message.tips !== "") writer.uint32(26).string(message.tips);
		if (message.extra !== void 0) Extra.encode(message.extra, writer.uint32(34).fork()).join();
		if (message.perceptionDialog !== void 0) PerceptionDialogInfo.encode(message.perceptionDialog, writer.uint32(42).fork()).join();
		if (message.perceptionAudienceText !== void 0) Text.encode(message.perceptionAudienceText, writer.uint32(50).fork()).join();
		if (message.punishInfo !== void 0) PunishEventInfo.encode(message.punishInfo, writer.uint32(58).fork()).join();
		if (message.floatText !== void 0) Text.encode(message.floatText, writer.uint32(66).fork()).join();
		if (message.floatStyle !== 0) writer.uint32(72).int32(message.floatStyle);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastControlMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.action = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.tips = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.extra = Extra.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.perceptionDialog = PerceptionDialogInfo.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.perceptionAudienceText = Text.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.punishInfo = PunishEventInfo.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.floatText = Text.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 72) break;
					message.floatStyle = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastEmoteChatMessage() {
	return {
		common: void 0,
		user: void 0,
		emoteList: [],
		msgFilter: void 0,
		userIdentity: void 0
	};
}
const WebcastEmoteChatMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.user !== void 0) User.encode(message.user, writer.uint32(18).fork()).join();
		for (const v of message.emoteList) EmoteModel.encode(v, writer.uint32(26).fork()).join();
		if (message.msgFilter !== void 0) MsgFilter.encode(message.msgFilter, writer.uint32(34).fork()).join();
		if (message.userIdentity !== void 0) UserIdentity.encode(message.userIdentity, writer.uint32(42).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastEmoteChatMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.emoteList.push(EmoteModel.decode(reader, reader.uint32()));
					continue;
				case 4:
					if (tag !== 34) break;
					message.msgFilter = MsgFilter.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.userIdentity = UserIdentity.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGameRankNotifyMessage() {
	return {
		common: void 0,
		msgType: 0,
		notifyText: void 0
	};
}
const WebcastGameRankNotifyMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.msgType !== 0) writer.uint32(16).int32(message.msgType);
		if (message.notifyText !== void 0) Text.encode(message.notifyText, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGameRankNotifyMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.msgType = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.notifyText = Text.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftBroadcastMessage() {
	return {
		common: void 0,
		fromUserId: "0",
		leftIcon: void 0,
		notify: void 0
	};
}
const WebcastGiftBroadcastMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.fromUserId !== "0") writer.uint32(16).int64(message.fromUserId);
		if (message.leftIcon !== void 0) ImageModel.encode(message.leftIcon, writer.uint32(26).fork()).join();
		if (message.notify !== void 0) WebcastRoomNotifyMessage.encode(message.notify, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftBroadcastMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.fromUserId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.leftIcon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.notify = WebcastRoomNotifyMessage.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftDynamicRestrictionMessage() {
	return {
		common: void 0,
		dynamicRestriction: void 0
	};
}
const WebcastGiftDynamicRestrictionMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.dynamicRestriction !== void 0) DynamicRestriction.encode(message.dynamicRestriction, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftDynamicRestrictionMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.dynamicRestriction = DynamicRestriction.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftMessage() {
	return {
		common: void 0,
		giftId: "0",
		fanTicketCount: 0,
		groupCount: 0,
		repeatCount: 0,
		comboCount: 0,
		user: void 0,
		toUser: void 0,
		repeatEnd: 0,
		textEffect: void 0,
		groupId: "0",
		incomeTaskgifts: "0",
		roomFanTicketCount: "0",
		priority: void 0,
		gift: void 0,
		logId: "",
		sendType: "0",
		publicAreaCommon: void 0,
		trayDisplayText: void 0,
		bannedDisplayEffects: "0",
		trayInfo: void 0,
		monitorExtra: "",
		monitorInfo: void 0,
		colorId: "0",
		isFirstSent: false,
		displayTextForAnchor: void 0,
		displayTextForAudience: void 0,
		orderId: "",
		giftsInBox: void 0,
		msgFilter: void 0,
		lynxExtra: [],
		userIdentity: void 0,
		matchInfo: void 0,
		linkmicGiftExpressionStrategy: 0,
		flyingMicResources: void 0,
		disableGiftTracking: false,
		asset: void 0,
		version: 0,
		sponsorshipInfo: [],
		flyingMicResourcesV2: void 0,
		publicAreaMessageCommon: void 0,
		signature: "",
		signatureVersion: "",
		multiGenerateMessage: false,
		toMemberId: "",
		toMemberIdInt: "0",
		toMemberNickname: "",
		interactiveGiftInfo: void 0,
		displayDurationMs: "0",
		displayTextForSender: void 0,
		isAssetBundleGift: false,
		assetBundle: void 0,
		effectExtra: "",
		secondaryEffectInfo: void 0,
		giftVariantId: 0,
		shinyCardUnlockToken: "",
		giftEffect: void 0
	};
}
const WebcastGiftMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.giftId !== "0") writer.uint32(16).int64(message.giftId);
		if (message.fanTicketCount !== 0) writer.uint32(24).int32(message.fanTicketCount);
		if (message.groupCount !== 0) writer.uint32(32).int32(message.groupCount);
		if (message.repeatCount !== 0) writer.uint32(40).int32(message.repeatCount);
		if (message.comboCount !== 0) writer.uint32(48).int32(message.comboCount);
		if (message.user !== void 0) User.encode(message.user, writer.uint32(58).fork()).join();
		if (message.toUser !== void 0) User.encode(message.toUser, writer.uint32(66).fork()).join();
		if (message.repeatEnd !== 0) writer.uint32(72).int32(message.repeatEnd);
		if (message.textEffect !== void 0) TextEffect.encode(message.textEffect, writer.uint32(82).fork()).join();
		if (message.groupId !== "0") writer.uint32(88).int64(message.groupId);
		if (message.incomeTaskgifts !== "0") writer.uint32(96).int64(message.incomeTaskgifts);
		if (message.roomFanTicketCount !== "0") writer.uint32(104).int64(message.roomFanTicketCount);
		if (message.priority !== void 0) GiftIMPriority.encode(message.priority, writer.uint32(114).fork()).join();
		if (message.gift !== void 0) Gift.encode(message.gift, writer.uint32(122).fork()).join();
		if (message.logId !== "") writer.uint32(130).string(message.logId);
		if (message.sendType !== "0") writer.uint32(136).int64(message.sendType);
		if (message.publicAreaCommon !== void 0) PublicAreaCommon.encode(message.publicAreaCommon, writer.uint32(146).fork()).join();
		if (message.trayDisplayText !== void 0) Text.encode(message.trayDisplayText, writer.uint32(154).fork()).join();
		if (message.bannedDisplayEffects !== "0") writer.uint32(160).int64(message.bannedDisplayEffects);
		if (message.trayInfo !== void 0) GiftTrayInfo.encode(message.trayInfo, writer.uint32(170).fork()).join();
		if (message.monitorExtra !== "") writer.uint32(178).string(message.monitorExtra);
		if (message.monitorInfo !== void 0) GiftMonitorInfo.encode(message.monitorInfo, writer.uint32(186).fork()).join();
		if (message.colorId !== "0") writer.uint32(192).int64(message.colorId);
		if (message.isFirstSent !== false) writer.uint32(200).bool(message.isFirstSent);
		if (message.displayTextForAnchor !== void 0) Text.encode(message.displayTextForAnchor, writer.uint32(210).fork()).join();
		if (message.displayTextForAudience !== void 0) Text.encode(message.displayTextForAudience, writer.uint32(218).fork()).join();
		if (message.orderId !== "") writer.uint32(226).string(message.orderId);
		if (message.giftsInBox !== void 0) GiftsBoxInfo.encode(message.giftsInBox, writer.uint32(234).fork()).join();
		if (message.msgFilter !== void 0) MsgFilter.encode(message.msgFilter, writer.uint32(242).fork()).join();
		for (const v of message.lynxExtra) LynxGiftExtra.encode(v, writer.uint32(250).fork()).join();
		if (message.userIdentity !== void 0) UserIdentity.encode(message.userIdentity, writer.uint32(258).fork()).join();
		if (message.matchInfo !== void 0) MatchInfo.encode(message.matchInfo, writer.uint32(266).fork()).join();
		if (message.linkmicGiftExpressionStrategy !== 0) writer.uint32(272).int32(message.linkmicGiftExpressionStrategy);
		if (message.flyingMicResources !== void 0) FlyingMicResources.encode(message.flyingMicResources, writer.uint32(282).fork()).join();
		if (message.disableGiftTracking !== false) writer.uint32(288).bool(message.disableGiftTracking);
		if (message.asset !== void 0) AssetsModel.encode(message.asset, writer.uint32(298).fork()).join();
		if (message.version !== 0) writer.uint32(304).int32(message.version);
		for (const v of message.sponsorshipInfo) SponsorshipInfo.encode(v, writer.uint32(314).fork()).join();
		if (message.flyingMicResourcesV2 !== void 0) FlyingMicResources.encode(message.flyingMicResourcesV2, writer.uint32(322).fork()).join();
		if (message.publicAreaMessageCommon !== void 0) PublicAreaMessageCommon.encode(message.publicAreaMessageCommon, writer.uint32(330).fork()).join();
		if (message.signature !== "") writer.uint32(338).string(message.signature);
		if (message.signatureVersion !== "") writer.uint32(346).string(message.signatureVersion);
		if (message.multiGenerateMessage !== false) writer.uint32(352).bool(message.multiGenerateMessage);
		if (message.toMemberId !== "") writer.uint32(362).string(message.toMemberId);
		if (message.toMemberIdInt !== "0") writer.uint32(368).int64(message.toMemberIdInt);
		if (message.toMemberNickname !== "") writer.uint32(378).string(message.toMemberNickname);
		if (message.interactiveGiftInfo !== void 0) InteractiveGiftInfo.encode(message.interactiveGiftInfo, writer.uint32(386).fork()).join();
		if (message.displayDurationMs !== "0") writer.uint32(392).int64(message.displayDurationMs);
		if (message.displayTextForSender !== void 0) Text.encode(message.displayTextForSender, writer.uint32(402).fork()).join();
		if (message.isAssetBundleGift !== false) writer.uint32(408).bool(message.isAssetBundleGift);
		if (message.assetBundle !== void 0) AssetBundle.encode(message.assetBundle, writer.uint32(418).fork()).join();
		if (message.effectExtra !== "") writer.uint32(426).string(message.effectExtra);
		if (message.secondaryEffectInfo !== void 0) SecondaryEffectInfo.encode(message.secondaryEffectInfo, writer.uint32(434).fork()).join();
		if (message.giftVariantId !== 0) writer.uint32(440).int32(message.giftVariantId);
		if (message.shinyCardUnlockToken !== "") writer.uint32(450).string(message.shinyCardUnlockToken);
		if (message.giftEffect !== void 0) GiftEffect.encode(message.giftEffect, writer.uint32(802).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.giftId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.fanTicketCount = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.groupCount = reader.int32();
					continue;
				case 5:
					if (tag !== 40) break;
					message.repeatCount = reader.int32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.comboCount = reader.int32();
					continue;
				case 7:
					if (tag !== 58) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.toUser = User.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 72) break;
					message.repeatEnd = reader.int32();
					continue;
				case 10:
					if (tag !== 82) break;
					message.textEffect = TextEffect.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 88) break;
					message.groupId = reader.int64().toString();
					continue;
				case 12:
					if (tag !== 96) break;
					message.incomeTaskgifts = reader.int64().toString();
					continue;
				case 13:
					if (tag !== 104) break;
					message.roomFanTicketCount = reader.int64().toString();
					continue;
				case 14:
					if (tag !== 114) break;
					message.priority = GiftIMPriority.decode(reader, reader.uint32());
					continue;
				case 15:
					if (tag !== 122) break;
					message.gift = Gift.decode(reader, reader.uint32());
					continue;
				case 16:
					if (tag !== 130) break;
					message.logId = reader.string();
					continue;
				case 17:
					if (tag !== 136) break;
					message.sendType = reader.int64().toString();
					continue;
				case 18:
					if (tag !== 146) break;
					message.publicAreaCommon = PublicAreaCommon.decode(reader, reader.uint32());
					continue;
				case 19:
					if (tag !== 154) break;
					message.trayDisplayText = Text.decode(reader, reader.uint32());
					continue;
				case 20:
					if (tag !== 160) break;
					message.bannedDisplayEffects = reader.int64().toString();
					continue;
				case 21:
					if (tag !== 170) break;
					message.trayInfo = GiftTrayInfo.decode(reader, reader.uint32());
					continue;
				case 22:
					if (tag !== 178) break;
					message.monitorExtra = reader.string();
					continue;
				case 23:
					if (tag !== 186) break;
					message.monitorInfo = GiftMonitorInfo.decode(reader, reader.uint32());
					continue;
				case 24:
					if (tag !== 192) break;
					message.colorId = reader.int64().toString();
					continue;
				case 25:
					if (tag !== 200) break;
					message.isFirstSent = reader.bool();
					continue;
				case 26:
					if (tag !== 210) break;
					message.displayTextForAnchor = Text.decode(reader, reader.uint32());
					continue;
				case 27:
					if (tag !== 218) break;
					message.displayTextForAudience = Text.decode(reader, reader.uint32());
					continue;
				case 28:
					if (tag !== 226) break;
					message.orderId = reader.string();
					continue;
				case 29:
					if (tag !== 234) break;
					message.giftsInBox = GiftsBoxInfo.decode(reader, reader.uint32());
					continue;
				case 30:
					if (tag !== 242) break;
					message.msgFilter = MsgFilter.decode(reader, reader.uint32());
					continue;
				case 31:
					if (tag !== 250) break;
					message.lynxExtra.push(LynxGiftExtra.decode(reader, reader.uint32()));
					continue;
				case 32:
					if (tag !== 258) break;
					message.userIdentity = UserIdentity.decode(reader, reader.uint32());
					continue;
				case 33:
					if (tag !== 266) break;
					message.matchInfo = MatchInfo.decode(reader, reader.uint32());
					continue;
				case 34:
					if (tag !== 272) break;
					message.linkmicGiftExpressionStrategy = reader.int32();
					continue;
				case 35:
					if (tag !== 282) break;
					message.flyingMicResources = FlyingMicResources.decode(reader, reader.uint32());
					continue;
				case 36:
					if (tag !== 288) break;
					message.disableGiftTracking = reader.bool();
					continue;
				case 37:
					if (tag !== 298) break;
					message.asset = AssetsModel.decode(reader, reader.uint32());
					continue;
				case 38:
					if (tag !== 304) break;
					message.version = reader.int32();
					continue;
				case 39:
					if (tag !== 314) break;
					message.sponsorshipInfo.push(SponsorshipInfo.decode(reader, reader.uint32()));
					continue;
				case 40:
					if (tag !== 322) break;
					message.flyingMicResourcesV2 = FlyingMicResources.decode(reader, reader.uint32());
					continue;
				case 41:
					if (tag !== 330) break;
					message.publicAreaMessageCommon = PublicAreaMessageCommon.decode(reader, reader.uint32());
					continue;
				case 42:
					if (tag !== 338) break;
					message.signature = reader.string();
					continue;
				case 43:
					if (tag !== 346) break;
					message.signatureVersion = reader.string();
					continue;
				case 44:
					if (tag !== 352) break;
					message.multiGenerateMessage = reader.bool();
					continue;
				case 45:
					if (tag !== 362) break;
					message.toMemberId = reader.string();
					continue;
				case 46:
					if (tag !== 368) break;
					message.toMemberIdInt = reader.int64().toString();
					continue;
				case 47:
					if (tag !== 378) break;
					message.toMemberNickname = reader.string();
					continue;
				case 48:
					if (tag !== 386) break;
					message.interactiveGiftInfo = InteractiveGiftInfo.decode(reader, reader.uint32());
					continue;
				case 49:
					if (tag !== 392) break;
					message.displayDurationMs = reader.int64().toString();
					continue;
				case 50:
					if (tag !== 402) break;
					message.displayTextForSender = Text.decode(reader, reader.uint32());
					continue;
				case 51:
					if (tag !== 408) break;
					message.isAssetBundleGift = reader.bool();
					continue;
				case 52:
					if (tag !== 418) break;
					message.assetBundle = AssetBundle.decode(reader, reader.uint32());
					continue;
				case 53:
					if (tag !== 426) break;
					message.effectExtra = reader.string();
					continue;
				case 54:
					if (tag !== 434) break;
					message.secondaryEffectInfo = SecondaryEffectInfo.decode(reader, reader.uint32());
					continue;
				case 55:
					if (tag !== 440) break;
					message.giftVariantId = reader.int32();
					continue;
				case 56:
					if (tag !== 450) break;
					message.shinyCardUnlockToken = reader.string();
					continue;
				case 100:
					if (tag !== 802) break;
					message.giftEffect = GiftEffect.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftPanelUpdateMessage() {
	return {
		common: void 0,
		roomId: "0",
		timestamp: "0",
		galleryData: void 0,
		goalData: void 0,
		roomBasedGiftData: void 0,
		strategyContext: ""
	};
}
const WebcastGiftPanelUpdateMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.roomId !== "0") writer.uint32(16).int64(message.roomId);
		if (message.timestamp !== "0") writer.uint32(24).int64(message.timestamp);
		if (message.galleryData !== void 0) GalleryData.encode(message.galleryData, writer.uint32(82).fork()).join();
		if (message.goalData !== void 0) GoalData.encode(message.goalData, writer.uint32(90).fork()).join();
		if (message.roomBasedGiftData !== void 0) RoomBasedGiftData.encode(message.roomBasedGiftData, writer.uint32(98).fork()).join();
		if (message.strategyContext !== "") writer.uint32(802).string(message.strategyContext);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftPanelUpdateMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.roomId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.timestamp = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 82) break;
					message.galleryData = GalleryData.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 90) break;
					message.goalData = GoalData.decode(reader, reader.uint32());
					continue;
				case 12:
					if (tag !== 98) break;
					message.roomBasedGiftData = RoomBasedGiftData.decode(reader, reader.uint32());
					continue;
				case 100:
					if (tag !== 802) break;
					message.strategyContext = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGiftPromptMessage() {
	return {
		common: void 0,
		title: "",
		body: "",
		blockNumDays: 0,
		orderId: "",
		orderTimestamp: "0",
		inUserGiftingAddictionExpr: false,
		popUpSchema: ""
	};
}
const WebcastGiftPromptMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.title !== "") writer.uint32(18).string(message.title);
		if (message.body !== "") writer.uint32(26).string(message.body);
		if (message.blockNumDays !== 0) writer.uint32(32).int32(message.blockNumDays);
		if (message.orderId !== "") writer.uint32(42).string(message.orderId);
		if (message.orderTimestamp !== "0") writer.uint32(48).int64(message.orderTimestamp);
		if (message.inUserGiftingAddictionExpr !== false) writer.uint32(56).bool(message.inUserGiftingAddictionExpr);
		if (message.popUpSchema !== "") writer.uint32(66).string(message.popUpSchema);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGiftPromptMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.title = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.body = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.blockNumDays = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.orderId = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.orderTimestamp = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.inUserGiftingAddictionExpr = reader.bool();
					continue;
				case 8:
					if (tag !== 66) break;
					message.popUpSchema = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastGuideMessage() {
	return {
		common: void 0,
		guideType: "0",
		giftId: "0",
		description: "",
		duration: "0",
		displayStyle: "0",
		scene: "",
		frequencyRule: void 0
	};
}
const WebcastGuideMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.guideType !== "0") writer.uint32(16).int64(message.guideType);
		if (message.giftId !== "0") writer.uint32(24).int64(message.giftId);
		if (message.description !== "") writer.uint32(34).string(message.description);
		if (message.duration !== "0") writer.uint32(40).int64(message.duration);
		if (message.displayStyle !== "0") writer.uint32(48).int64(message.displayStyle);
		if (message.scene !== "") writer.uint32(58).string(message.scene);
		if (message.frequencyRule !== void 0) GuideMessageFrequencyRule.encode(message.frequencyRule, writer.uint32(66).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastGuideMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.guideType = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.giftId = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.description = reader.string();
					continue;
				case 5:
					if (tag !== 40) break;
					message.duration = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.displayStyle = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 58) break;
					message.scene = reader.string();
					continue;
				case 8:
					if (tag !== 66) break;
					message.frequencyRule = GuideMessageFrequencyRule.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastHourlyRankRewardMessage() {
	return {
		common: void 0,
		winners: []
	};
}
const WebcastHourlyRankRewardMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		for (const v of message.winners) HourlyRankRewardInfo.encode(v, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastHourlyRankRewardMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.winners.push(HourlyRankRewardInfo.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastImDeleteMessage() {
	return {
		common: void 0,
		deleteMsgIds: [],
		deleteUserIds: []
	};
}
const WebcastImDeleteMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		writer.uint32(18).fork();
		for (const v of message.deleteMsgIds) writer.int64(v);
		writer.join();
		writer.uint32(26).fork();
		for (const v of message.deleteUserIds) writer.int64(v);
		writer.join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastImDeleteMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag === 16) {
						message.deleteMsgIds.push(reader.int64().toString());
						continue;
					}
					if (tag === 18) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.deleteMsgIds.push(reader.int64().toString());
						continue;
					}
					break;
				case 3:
					if (tag === 24) {
						message.deleteUserIds.push(reader.int64().toString());
						continue;
					}
					if (tag === 26) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.deleteUserIds.push(reader.int64().toString());
						continue;
					}
					break;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastInRoomBannerMessage() {
	return { common: void 0 };
}
const WebcastInRoomBannerMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastInRoomBannerMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLikeMessage() {
	return {
		common: void 0,
		count: 0,
		total: "0",
		color: 0,
		user: void 0,
		icon: "",
		icons: [],
		specifiedDisplayText: [],
		effectCnt: "0",
		likeEffect: [],
		publicAreaMessageCommon: void 0,
		roomMessageHeatLevel: "0"
	};
}
const WebcastLikeMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.count !== 0) writer.uint32(16).int32(message.count);
		if (message.total !== "0") writer.uint32(24).int64(message.total);
		if (message.color !== 0) writer.uint32(32).int32(message.color);
		if (message.user !== void 0) User.encode(message.user, writer.uint32(42).fork()).join();
		if (message.icon !== "") writer.uint32(50).string(message.icon);
		for (const v of message.icons) ImageModel.encode(v, writer.uint32(58).fork()).join();
		for (const v of message.specifiedDisplayText) SpecifiedDisplayText.encode(v, writer.uint32(66).fork()).join();
		if (message.effectCnt !== "0") writer.uint32(72).int64(message.effectCnt);
		for (const v of message.likeEffect) LikeEffect.encode(v, writer.uint32(82).fork()).join();
		if (message.publicAreaMessageCommon !== void 0) PublicAreaMessageCommon.encode(message.publicAreaMessageCommon, writer.uint32(90).fork()).join();
		if (message.roomMessageHeatLevel !== "0") writer.uint32(96).int64(message.roomMessageHeatLevel);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLikeMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.count = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.total = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.color = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.icon = reader.string();
					continue;
				case 7:
					if (tag !== 58) break;
					message.icons.push(ImageModel.decode(reader, reader.uint32()));
					continue;
				case 8:
					if (tag !== 66) break;
					message.specifiedDisplayText.push(SpecifiedDisplayText.decode(reader, reader.uint32()));
					continue;
				case 9:
					if (tag !== 72) break;
					message.effectCnt = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 82) break;
					message.likeEffect.push(LikeEffect.decode(reader, reader.uint32()));
					continue;
				case 11:
					if (tag !== 90) break;
					message.publicAreaMessageCommon = PublicAreaMessageCommon.decode(reader, reader.uint32());
					continue;
				case 12:
					if (tag !== 96) break;
					message.roomMessageHeatLevel = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMessage() {
	return {
		common: void 0,
		messageType: 0,
		linkerId: "0",
		scene: 0,
		inviteContent: void 0,
		replyContent: void 0,
		createContent: void 0,
		closeContent: void 0,
		enterContent: void 0,
		leaveContent: void 0,
		cancelContent: void 0,
		kickOutContent: void 0,
		linkedListChangeContent: void 0,
		updateUserContent: void 0,
		waitingListChangeContent: void 0,
		muteContent: void 0,
		randomMatchContent: void 0,
		updateUserSettingContent: void 0,
		micIdxUpdateContent: void 0,
		listChangeContent: void 0,
		cohostListChangeContent: void 0,
		mediaChangeContent: void 0,
		replyAcceptNoticeContent: void 0,
		sysKickOutContent: void 0,
		userToastContent: void 0,
		extra: "",
		expireTimestamp: "0",
		transferExtra: "",
		version: "0"
	};
}
const WebcastLinkMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.messageType !== 0) writer.uint32(16).int32(message.messageType);
		if (message.linkerId !== "0") writer.uint32(24).int64(message.linkerId);
		if (message.scene !== 0) writer.uint32(32).int32(message.scene);
		if (message.inviteContent !== void 0) LinkerInviteContent.encode(message.inviteContent, writer.uint32(42).fork()).join();
		if (message.replyContent !== void 0) LinkerReplyContent.encode(message.replyContent, writer.uint32(50).fork()).join();
		if (message.createContent !== void 0) LinkerCreateContent.encode(message.createContent, writer.uint32(58).fork()).join();
		if (message.closeContent !== void 0) LinkerCloseContent.encode(message.closeContent, writer.uint32(66).fork()).join();
		if (message.enterContent !== void 0) LinkerEnterContent.encode(message.enterContent, writer.uint32(74).fork()).join();
		if (message.leaveContent !== void 0) LinkerLeaveContent.encode(message.leaveContent, writer.uint32(82).fork()).join();
		if (message.cancelContent !== void 0) LinkerCancelContent.encode(message.cancelContent, writer.uint32(90).fork()).join();
		if (message.kickOutContent !== void 0) LinkerKickOutContent.encode(message.kickOutContent, writer.uint32(98).fork()).join();
		if (message.linkedListChangeContent !== void 0) LinkedListChangeContent.encode(message.linkedListChangeContent, writer.uint32(106).fork()).join();
		if (message.updateUserContent !== void 0) LinkerUpdateUserContent.encode(message.updateUserContent, writer.uint32(114).fork()).join();
		if (message.waitingListChangeContent !== void 0) LinkerWaitingListChangeContent.encode(message.waitingListChangeContent, writer.uint32(122).fork()).join();
		if (message.muteContent !== void 0) LinkerMuteContent.encode(message.muteContent, writer.uint32(130).fork()).join();
		if (message.randomMatchContent !== void 0) LinkerRandomMatchContent.encode(message.randomMatchContent, writer.uint32(138).fork()).join();
		if (message.updateUserSettingContent !== void 0) MultiLiveUpdateUserSettingContent.encode(message.updateUserSettingContent, writer.uint32(146).fork()).join();
		if (message.micIdxUpdateContent !== void 0) LinkerMicIdxUpdateContent.encode(message.micIdxUpdateContent, writer.uint32(154).fork()).join();
		if (message.listChangeContent !== void 0) LinkerListChangeContent.encode(message.listChangeContent, writer.uint32(162).fork()).join();
		if (message.cohostListChangeContent !== void 0) CohostListChangeContent.encode(message.cohostListChangeContent, writer.uint32(170).fork()).join();
		if (message.mediaChangeContent !== void 0) LinkerMediaChangeContent.encode(message.mediaChangeContent, writer.uint32(178).fork()).join();
		if (message.replyAcceptNoticeContent !== void 0) LinkerAcceptNoticeContent.encode(message.replyAcceptNoticeContent, writer.uint32(186).fork()).join();
		if (message.sysKickOutContent !== void 0) LinkerSysKickOutContent.encode(message.sysKickOutContent, writer.uint32(810).fork()).join();
		if (message.userToastContent !== void 0) LinkmicUserToastContent.encode(message.userToastContent, writer.uint32(818).fork()).join();
		if (message.extra !== "") writer.uint32(1602).string(message.extra);
		if (message.expireTimestamp !== "0") writer.uint32(1608).int64(message.expireTimestamp);
		if (message.transferExtra !== "") writer.uint32(1618).string(message.transferExtra);
		if (message.version !== "0") writer.uint32(1624).int64(message.version);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.messageType = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.linkerId = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.scene = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.inviteContent = LinkerInviteContent.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.replyContent = LinkerReplyContent.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.createContent = LinkerCreateContent.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.closeContent = LinkerCloseContent.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 74) break;
					message.enterContent = LinkerEnterContent.decode(reader, reader.uint32());
					continue;
				case 10:
					if (tag !== 82) break;
					message.leaveContent = LinkerLeaveContent.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 90) break;
					message.cancelContent = LinkerCancelContent.decode(reader, reader.uint32());
					continue;
				case 12:
					if (tag !== 98) break;
					message.kickOutContent = LinkerKickOutContent.decode(reader, reader.uint32());
					continue;
				case 13:
					if (tag !== 106) break;
					message.linkedListChangeContent = LinkedListChangeContent.decode(reader, reader.uint32());
					continue;
				case 14:
					if (tag !== 114) break;
					message.updateUserContent = LinkerUpdateUserContent.decode(reader, reader.uint32());
					continue;
				case 15:
					if (tag !== 122) break;
					message.waitingListChangeContent = LinkerWaitingListChangeContent.decode(reader, reader.uint32());
					continue;
				case 16:
					if (tag !== 130) break;
					message.muteContent = LinkerMuteContent.decode(reader, reader.uint32());
					continue;
				case 17:
					if (tag !== 138) break;
					message.randomMatchContent = LinkerRandomMatchContent.decode(reader, reader.uint32());
					continue;
				case 18:
					if (tag !== 146) break;
					message.updateUserSettingContent = MultiLiveUpdateUserSettingContent.decode(reader, reader.uint32());
					continue;
				case 19:
					if (tag !== 154) break;
					message.micIdxUpdateContent = LinkerMicIdxUpdateContent.decode(reader, reader.uint32());
					continue;
				case 20:
					if (tag !== 162) break;
					message.listChangeContent = LinkerListChangeContent.decode(reader, reader.uint32());
					continue;
				case 21:
					if (tag !== 170) break;
					message.cohostListChangeContent = CohostListChangeContent.decode(reader, reader.uint32());
					continue;
				case 22:
					if (tag !== 178) break;
					message.mediaChangeContent = LinkerMediaChangeContent.decode(reader, reader.uint32());
					continue;
				case 23:
					if (tag !== 186) break;
					message.replyAcceptNoticeContent = LinkerAcceptNoticeContent.decode(reader, reader.uint32());
					continue;
				case 101:
					if (tag !== 810) break;
					message.sysKickOutContent = LinkerSysKickOutContent.decode(reader, reader.uint32());
					continue;
				case 102:
					if (tag !== 818) break;
					message.userToastContent = LinkmicUserToastContent.decode(reader, reader.uint32());
					continue;
				case 200:
					if (tag !== 1602) break;
					message.extra = reader.string();
					continue;
				case 201:
					if (tag !== 1608) break;
					message.expireTimestamp = reader.int64().toString();
					continue;
				case 202:
					if (tag !== 1618) break;
					message.transferExtra = reader.string();
					continue;
				case 203:
					if (tag !== 1624) break;
					message.version = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicArmies() {
	return {
		common: void 0,
		battleId: "0",
		armies: {},
		channelId: "0",
		sendGiftSuccessTime: "0",
		updateBattleScoreTime: "0",
		triggerReason: 0,
		fromUserId: "0",
		giftId: "0",
		giftCount: 0,
		giftIconImage: void 0,
		totalDiamondCount: 0,
		repeatCount: 0,
		teamArmies: [],
		triggerCriticalStrike: false,
		hasTeamMatchMvpSfx: false,
		logId: "",
		battleSettings: void 0,
		fuzzyDisplayConfigV2: void 0,
		effectInfos: void 0,
		enigmaBattleExtraInfo: void 0
	};
}
const WebcastLinkMicArmies = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.battleId !== "0") writer.uint32(16).int64(message.battleId);
		globalThis.Object.entries(message.armies).forEach(([key, value]) => {
			WebcastLinkMicArmies_ArmiesEntry.encode({
				key,
				value
			}, writer.uint32(26).fork()).join();
		});
		if (message.channelId !== "0") writer.uint32(32).int64(message.channelId);
		if (message.sendGiftSuccessTime !== "0") writer.uint32(40).int64(message.sendGiftSuccessTime);
		if (message.updateBattleScoreTime !== "0") writer.uint32(48).int64(message.updateBattleScoreTime);
		if (message.triggerReason !== 0) writer.uint32(56).int32(message.triggerReason);
		if (message.fromUserId !== "0") writer.uint32(64).int64(message.fromUserId);
		if (message.giftId !== "0") writer.uint32(72).int64(message.giftId);
		if (message.giftCount !== 0) writer.uint32(80).int32(message.giftCount);
		if (message.giftIconImage !== void 0) ImageModel.encode(message.giftIconImage, writer.uint32(90).fork()).join();
		if (message.totalDiamondCount !== 0) writer.uint32(96).int32(message.totalDiamondCount);
		if (message.repeatCount !== 0) writer.uint32(104).int32(message.repeatCount);
		for (const v of message.teamArmies) BattleTeamUserArmies.encode(v, writer.uint32(114).fork()).join();
		if (message.triggerCriticalStrike !== false) writer.uint32(120).bool(message.triggerCriticalStrike);
		if (message.hasTeamMatchMvpSfx !== false) writer.uint32(128).bool(message.hasTeamMatchMvpSfx);
		if (message.logId !== "") writer.uint32(138).string(message.logId);
		if (message.battleSettings !== void 0) BattleSetting.encode(message.battleSettings, writer.uint32(146).fork()).join();
		if (message.fuzzyDisplayConfigV2 !== void 0) HighScoreControlCfg.encode(message.fuzzyDisplayConfigV2, writer.uint32(154).fork()).join();
		if (message.effectInfos !== void 0) BattleEffectInfos.encode(message.effectInfos, writer.uint32(162).fork()).join();
		if (message.enigmaBattleExtraInfo !== void 0) EnigmaBattleExtraInfo.encode(message.enigmaBattleExtraInfo, writer.uint32(170).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicArmies();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.battleId = reader.int64().toString();
					continue;
				case 3: {
					if (tag !== 26) break;
					const entry3 = WebcastLinkMicArmies_ArmiesEntry.decode(reader, reader.uint32());
					if (entry3.value !== void 0) message.armies[entry3.key] = entry3.value;
					continue;
				}
				case 4:
					if (tag !== 32) break;
					message.channelId = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.sendGiftSuccessTime = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.updateBattleScoreTime = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.triggerReason = reader.int32();
					continue;
				case 8:
					if (tag !== 64) break;
					message.fromUserId = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 72) break;
					message.giftId = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 80) break;
					message.giftCount = reader.int32();
					continue;
				case 11:
					if (tag !== 90) break;
					message.giftIconImage = ImageModel.decode(reader, reader.uint32());
					continue;
				case 12:
					if (tag !== 96) break;
					message.totalDiamondCount = reader.int32();
					continue;
				case 13:
					if (tag !== 104) break;
					message.repeatCount = reader.int32();
					continue;
				case 14:
					if (tag !== 114) break;
					message.teamArmies.push(BattleTeamUserArmies.decode(reader, reader.uint32()));
					continue;
				case 15:
					if (tag !== 120) break;
					message.triggerCriticalStrike = reader.bool();
					continue;
				case 16:
					if (tag !== 128) break;
					message.hasTeamMatchMvpSfx = reader.bool();
					continue;
				case 17:
					if (tag !== 138) break;
					message.logId = reader.string();
					continue;
				case 18:
					if (tag !== 146) break;
					message.battleSettings = BattleSetting.decode(reader, reader.uint32());
					continue;
				case 19:
					if (tag !== 154) break;
					message.fuzzyDisplayConfigV2 = HighScoreControlCfg.decode(reader, reader.uint32());
					continue;
				case 20:
					if (tag !== 162) break;
					message.effectInfos = BattleEffectInfos.decode(reader, reader.uint32());
					continue;
				case 21:
					if (tag !== 170) break;
					message.enigmaBattleExtraInfo = EnigmaBattleExtraInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicArmies_ArmiesEntry() {
	return {
		key: "0",
		value: void 0
	};
}
const WebcastLinkMicArmies_ArmiesEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) BattleUserArmies.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicArmies_ArmiesEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = BattleUserArmies.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicBattle() {
	return {
		common: void 0,
		battleId: "0",
		battleSettings: void 0,
		action: 0,
		battleResult: {},
		fuzzyDisplayConfig: void 0,
		inviteeGiftPermissionType: 0,
		armies: [],
		anchorsInfo: [],
		bubbleText: "",
		supportedActions: [],
		battleComboV2: {},
		teamMember: [],
		inviteesGiftPermissionType: [],
		actionByUserId: "0",
		teamBattleResult: [],
		teamArmies: [],
		abTestSetting: [],
		teamMatchCampaign: void 0,
		fuzzyDisplayConfigV2: void 0,
		leagueInfoMap: {},
		leagueScoreInfoMap: {},
		matchPunishExtraInfo: void 0,
		enigmaBattleSetting: void 0,
		anchorMatchSettings: {},
		battleFeatureFlags: void 0,
		crossRoomLayout: void 0,
		trackingExtra: {},
		matchThemeDisplayResource: void 0
	};
}
const WebcastLinkMicBattle = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.battleId !== "0") writer.uint32(16).int64(message.battleId);
		if (message.battleSettings !== void 0) BattleSetting.encode(message.battleSettings, writer.uint32(26).fork()).join();
		if (message.action !== 0) writer.uint32(32).int32(message.action);
		globalThis.Object.entries(message.battleResult).forEach(([key, value]) => {
			WebcastLinkMicBattle_BattleResultEntry.encode({
				key,
				value
			}, writer.uint32(42).fork()).join();
		});
		if (message.fuzzyDisplayConfig !== void 0) BattleDisplayConfig.encode(message.fuzzyDisplayConfig, writer.uint32(50).fork()).join();
		if (message.inviteeGiftPermissionType !== 0) writer.uint32(64).int32(message.inviteeGiftPermissionType);
		for (const v of message.armies) UserArmiesWrapper.encode(v, writer.uint32(74).fork()).join();
		for (const v of message.anchorsInfo) BattleUserInfoWrapper.encode(v, writer.uint32(82).fork()).join();
		if (message.bubbleText !== "") writer.uint32(90).string(message.bubbleText);
		for (const v of message.supportedActions) SupportedActionsWrapper.encode(v, writer.uint32(98).fork()).join();
		globalThis.Object.entries(message.battleComboV2).forEach(([key, value]) => {
			WebcastLinkMicBattle_BattleComboV2Entry.encode({
				key,
				value
			}, writer.uint32(106).fork()).join();
		});
		for (const v of message.teamMember) TeamUsersInfo.encode(v, writer.uint32(114).fork()).join();
		for (const v of message.inviteesGiftPermissionType) BattleInviteeGiftPermission.encode(v, writer.uint32(122).fork()).join();
		if (message.actionByUserId !== "0") writer.uint32(128).int64(message.actionByUserId);
		for (const v of message.teamBattleResult) BattleTeamResult.encode(v, writer.uint32(138).fork()).join();
		for (const v of message.teamArmies) BattleTeamUserArmies.encode(v, writer.uint32(146).fork()).join();
		for (const v of message.abTestSetting) BattleABTestSetting.encode(v, writer.uint32(154).fork()).join();
		if (message.teamMatchCampaign !== void 0) TeamMatchCampaign.encode(message.teamMatchCampaign, writer.uint32(162).fork()).join();
		if (message.fuzzyDisplayConfigV2 !== void 0) HighScoreControlCfg.encode(message.fuzzyDisplayConfigV2, writer.uint32(170).fork()).join();
		globalThis.Object.entries(message.leagueInfoMap).forEach(([key, value]) => {
			WebcastLinkMicBattle_LeagueInfoMapEntry.encode({
				key,
				value
			}, writer.uint32(178).fork()).join();
		});
		globalThis.Object.entries(message.leagueScoreInfoMap).forEach(([key, value]) => {
			WebcastLinkMicBattle_LeagueScoreInfoMapEntry.encode({
				key,
				value
			}, writer.uint32(186).fork()).join();
		});
		if (message.matchPunishExtraInfo !== void 0) MatchPunishExtraInfo.encode(message.matchPunishExtraInfo, writer.uint32(194).fork()).join();
		if (message.enigmaBattleSetting !== void 0) EnigmaBattleSetting.encode(message.enigmaBattleSetting, writer.uint32(202).fork()).join();
		globalThis.Object.entries(message.anchorMatchSettings).forEach(([key, value]) => {
			WebcastLinkMicBattle_AnchorMatchSettingsEntry.encode({
				key,
				value
			}, writer.uint32(210).fork()).join();
		});
		if (message.battleFeatureFlags !== void 0) BattleFeatureFlags.encode(message.battleFeatureFlags, writer.uint32(218).fork()).join();
		if (message.crossRoomLayout !== void 0) LayoutData.encode(message.crossRoomLayout, writer.uint32(226).fork()).join();
		globalThis.Object.entries(message.trackingExtra).forEach(([key, value]) => {
			WebcastLinkMicBattle_TrackingExtraEntry.encode({
				key,
				value
			}, writer.uint32(234).fork()).join();
		});
		if (message.matchThemeDisplayResource !== void 0) MatchThemeDisplayResource.encode(message.matchThemeDisplayResource, writer.uint32(242).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicBattle();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.battleId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 26) break;
					message.battleSettings = BattleSetting.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.action = reader.int32();
					continue;
				case 5: {
					if (tag !== 42) break;
					const entry5 = WebcastLinkMicBattle_BattleResultEntry.decode(reader, reader.uint32());
					if (entry5.value !== void 0) message.battleResult[entry5.key] = entry5.value;
					continue;
				}
				case 6:
					if (tag !== 50) break;
					message.fuzzyDisplayConfig = BattleDisplayConfig.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 64) break;
					message.inviteeGiftPermissionType = reader.int32();
					continue;
				case 9:
					if (tag !== 74) break;
					message.armies.push(UserArmiesWrapper.decode(reader, reader.uint32()));
					continue;
				case 10:
					if (tag !== 82) break;
					message.anchorsInfo.push(BattleUserInfoWrapper.decode(reader, reader.uint32()));
					continue;
				case 11:
					if (tag !== 90) break;
					message.bubbleText = reader.string();
					continue;
				case 12:
					if (tag !== 98) break;
					message.supportedActions.push(SupportedActionsWrapper.decode(reader, reader.uint32()));
					continue;
				case 13: {
					if (tag !== 106) break;
					const entry13 = WebcastLinkMicBattle_BattleComboV2Entry.decode(reader, reader.uint32());
					if (entry13.value !== void 0) message.battleComboV2[entry13.key] = entry13.value;
					continue;
				}
				case 14:
					if (tag !== 114) break;
					message.teamMember.push(TeamUsersInfo.decode(reader, reader.uint32()));
					continue;
				case 15:
					if (tag !== 122) break;
					message.inviteesGiftPermissionType.push(BattleInviteeGiftPermission.decode(reader, reader.uint32()));
					continue;
				case 16:
					if (tag !== 128) break;
					message.actionByUserId = reader.int64().toString();
					continue;
				case 17:
					if (tag !== 138) break;
					message.teamBattleResult.push(BattleTeamResult.decode(reader, reader.uint32()));
					continue;
				case 18:
					if (tag !== 146) break;
					message.teamArmies.push(BattleTeamUserArmies.decode(reader, reader.uint32()));
					continue;
				case 19:
					if (tag !== 154) break;
					message.abTestSetting.push(BattleABTestSetting.decode(reader, reader.uint32()));
					continue;
				case 20:
					if (tag !== 162) break;
					message.teamMatchCampaign = TeamMatchCampaign.decode(reader, reader.uint32());
					continue;
				case 21:
					if (tag !== 170) break;
					message.fuzzyDisplayConfigV2 = HighScoreControlCfg.decode(reader, reader.uint32());
					continue;
				case 22: {
					if (tag !== 178) break;
					const entry22 = WebcastLinkMicBattle_LeagueInfoMapEntry.decode(reader, reader.uint32());
					if (entry22.value !== void 0) message.leagueInfoMap[entry22.key] = entry22.value;
					continue;
				}
				case 23: {
					if (tag !== 186) break;
					const entry23 = WebcastLinkMicBattle_LeagueScoreInfoMapEntry.decode(reader, reader.uint32());
					if (entry23.value !== void 0) message.leagueScoreInfoMap[entry23.key] = entry23.value;
					continue;
				}
				case 24:
					if (tag !== 194) break;
					message.matchPunishExtraInfo = MatchPunishExtraInfo.decode(reader, reader.uint32());
					continue;
				case 25:
					if (tag !== 202) break;
					message.enigmaBattleSetting = EnigmaBattleSetting.decode(reader, reader.uint32());
					continue;
				case 26: {
					if (tag !== 210) break;
					const entry26 = WebcastLinkMicBattle_AnchorMatchSettingsEntry.decode(reader, reader.uint32());
					if (entry26.value !== void 0) message.anchorMatchSettings[entry26.key] = entry26.value;
					continue;
				}
				case 27:
					if (tag !== 218) break;
					message.battleFeatureFlags = BattleFeatureFlags.decode(reader, reader.uint32());
					continue;
				case 28:
					if (tag !== 226) break;
					message.crossRoomLayout = LayoutData.decode(reader, reader.uint32());
					continue;
				case 29: {
					if (tag !== 234) break;
					const entry29 = WebcastLinkMicBattle_TrackingExtraEntry.decode(reader, reader.uint32());
					if (entry29.value !== void 0) message.trackingExtra[entry29.key] = entry29.value;
					continue;
				}
				case 30:
					if (tag !== 242) break;
					message.matchThemeDisplayResource = MatchThemeDisplayResource.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicBattle_BattleResultEntry() {
	return {
		key: "0",
		value: void 0
	};
}
const WebcastLinkMicBattle_BattleResultEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) BattleResult.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicBattle_BattleResultEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = BattleResult.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicBattle_BattleComboV2Entry() {
	return {
		key: "0",
		value: void 0
	};
}
const WebcastLinkMicBattle_BattleComboV2Entry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) BattleComboInfo.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicBattle_BattleComboV2Entry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = BattleComboInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicBattle_LeagueInfoMapEntry() {
	return {
		key: "0",
		value: void 0
	};
}
const WebcastLinkMicBattle_LeagueInfoMapEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) GiftGalleryBadgeInfo.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicBattle_LeagueInfoMapEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = GiftGalleryBadgeInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicBattle_LeagueScoreInfoMapEntry() {
	return {
		key: "0",
		value: void 0
	};
}
const WebcastLinkMicBattle_LeagueScoreInfoMapEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) LeagueScoreInfo.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicBattle_LeagueScoreInfoMapEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = LeagueScoreInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicBattle_AnchorMatchSettingsEntry() {
	return {
		key: "0",
		value: void 0
	};
}
const WebcastLinkMicBattle_AnchorMatchSettingsEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "0") writer.uint32(8).int64(message.key);
		if (message.value !== void 0) AnchorMatchSettings.encode(message.value, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicBattle_AnchorMatchSettingsEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = AnchorMatchSettings.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicBattle_TrackingExtraEntry() {
	return {
		key: "",
		value: ""
	};
}
const WebcastLinkMicBattle_TrackingExtraEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.value !== "") writer.uint32(18).string(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicBattle_TrackingExtraEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicBattleItemCard() {
	return {
		common: void 0,
		battleId: "0",
		msgType: 0,
		cardObtainGuide: void 0,
		useCriticalStrikeCard: void 0,
		useSmokeCard: void 0,
		awardCardNotice: void 0,
		useExtraTimeCard: void 0,
		useSpecialEffectCard: void 0,
		usePotionCard: void 0,
		useWaveCard: void 0,
		specialEffectNotice: void 0,
		useTop2Card: void 0,
		useTop3Card: void 0,
		useVaultGloveCard: void 0,
		awardReason: 0
	};
}
const WebcastLinkMicBattleItemCard = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.battleId !== "0") writer.uint32(16).int64(message.battleId);
		if (message.msgType !== 0) writer.uint32(24).int32(message.msgType);
		if (message.cardObtainGuide !== void 0) CardObtainGuide.encode(message.cardObtainGuide, writer.uint32(34).fork()).join();
		if (message.useCriticalStrikeCard !== void 0) UseCriticalStrikeCard.encode(message.useCriticalStrikeCard, writer.uint32(42).fork()).join();
		if (message.useSmokeCard !== void 0) UseSmokeCard.encode(message.useSmokeCard, writer.uint32(50).fork()).join();
		if (message.awardCardNotice !== void 0) AwardCardNotice.encode(message.awardCardNotice, writer.uint32(58).fork()).join();
		if (message.useExtraTimeCard !== void 0) UseExtraTimeCard.encode(message.useExtraTimeCard, writer.uint32(66).fork()).join();
		if (message.useSpecialEffectCard !== void 0) UseSpecialEffectCard.encode(message.useSpecialEffectCard, writer.uint32(74).fork()).join();
		if (message.usePotionCard !== void 0) UsePotionCard.encode(message.usePotionCard, writer.uint32(82).fork()).join();
		if (message.useWaveCard !== void 0) UseWaveCard.encode(message.useWaveCard, writer.uint32(90).fork()).join();
		if (message.specialEffectNotice !== void 0) SpecialEffectNotice.encode(message.specialEffectNotice, writer.uint32(98).fork()).join();
		if (message.useTop2Card !== void 0) UseTop2Card.encode(message.useTop2Card, writer.uint32(106).fork()).join();
		if (message.useTop3Card !== void 0) UseTop3Card.encode(message.useTop3Card, writer.uint32(114).fork()).join();
		if (message.useVaultGloveCard !== void 0) UseVaultGloveCard.encode(message.useVaultGloveCard, writer.uint32(122).fork()).join();
		if (message.awardReason !== 0) writer.uint32(128).int32(message.awardReason);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicBattleItemCard();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.battleId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.msgType = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.cardObtainGuide = CardObtainGuide.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.useCriticalStrikeCard = UseCriticalStrikeCard.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.useSmokeCard = UseSmokeCard.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.awardCardNotice = AwardCardNotice.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.useExtraTimeCard = UseExtraTimeCard.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 74) break;
					message.useSpecialEffectCard = UseSpecialEffectCard.decode(reader, reader.uint32());
					continue;
				case 10:
					if (tag !== 82) break;
					message.usePotionCard = UsePotionCard.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 90) break;
					message.useWaveCard = UseWaveCard.decode(reader, reader.uint32());
					continue;
				case 12:
					if (tag !== 98) break;
					message.specialEffectNotice = SpecialEffectNotice.decode(reader, reader.uint32());
					continue;
				case 13:
					if (tag !== 106) break;
					message.useTop2Card = UseTop2Card.decode(reader, reader.uint32());
					continue;
				case 14:
					if (tag !== 114) break;
					message.useTop3Card = UseTop3Card.decode(reader, reader.uint32());
					continue;
				case 15:
					if (tag !== 122) break;
					message.useVaultGloveCard = UseVaultGloveCard.decode(reader, reader.uint32());
					continue;
				case 16:
					if (tag !== 128) break;
					message.awardReason = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicBattlePunishFinish() {
	return {
		common: void 0,
		channelId: "0",
		opUid: "0",
		reason: 0,
		battleId: "0",
		battleSettings: void 0,
		matchPunishExtraInfo: void 0
	};
}
const WebcastLinkMicBattlePunishFinish = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.channelId !== "0") writer.uint32(16).int64(message.channelId);
		if (message.opUid !== "0") writer.uint32(24).int64(message.opUid);
		if (message.reason !== 0) writer.uint32(32).int32(message.reason);
		if (message.battleId !== "0") writer.uint32(40).int64(message.battleId);
		if (message.battleSettings !== void 0) BattleSetting.encode(message.battleSettings, writer.uint32(50).fork()).join();
		if (message.matchPunishExtraInfo !== void 0) MatchPunishExtraInfo.encode(message.matchPunishExtraInfo, writer.uint32(58).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicBattlePunishFinish();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.channelId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.opUid = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.reason = reader.int32();
					continue;
				case 5:
					if (tag !== 40) break;
					message.battleId = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 50) break;
					message.battleSettings = BattleSetting.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.matchPunishExtraInfo = MatchPunishExtraInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicFanTicketMethod() {
	return {
		common: void 0,
		fanTicketRoomNotice: void 0
	};
}
const WebcastLinkMicFanTicketMethod = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.fanTicketRoomNotice !== void 0) FanTicketRoomNoticeContent.encode(message.fanTicketRoomNotice, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicFanTicketMethod();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.fanTicketRoomNotice = FanTicketRoomNoticeContent.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkMicMethod() {
	return {
		common: void 0,
		messageType: 0,
		accessKey: "",
		anchorLinkmicId: 0,
		userId: "0",
		fanTicket: "0",
		totalLinkmicFanTicket: "0",
		channelId: "0",
		layout: 0,
		vendor: 0,
		dimension: 0,
		theme: "",
		inviteUid: "0",
		answer: 0,
		startTime: "0",
		duration: 0,
		userScores: [],
		matchType: 0,
		win: false,
		prompts: "",
		toUserId: "0",
		linkmicLayout: "0",
		fromUserId: "0",
		tips: "",
		startTimeMs: "0",
		confluenceType: 0,
		fromRoomId: "0",
		inviteType: 0,
		subType: "0",
		inviterRivalExtra: void 0,
		rtcExtInfo: "",
		rtcAppId: "",
		appId: "",
		appSign: "",
		rtcAppSign: "",
		anchorLinkmicIdStr: "",
		rivalAnchorId: "0",
		rivalLinkmicId: 0,
		rivalLinkmicIdStr: "",
		showPopup: false,
		secInviteUid: "0",
		scene: "0",
		secApplyUid: "0",
		linkedUsers: [],
		secFromUserId: "",
		replyType: 0,
		replyPrompts: "",
		secToUserId: "",
		invitorInfo: new Uint8Array(0),
		rtcJoinChannel: false,
		fanTicketIconType: 0
	};
}
const WebcastLinkMicMethod = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.messageType !== 0) writer.uint32(16).int32(message.messageType);
		if (message.accessKey !== "") writer.uint32(26).string(message.accessKey);
		if (message.anchorLinkmicId !== 0) writer.uint32(32).int32(message.anchorLinkmicId);
		if (message.userId !== "0") writer.uint32(40).int64(message.userId);
		if (message.fanTicket !== "0") writer.uint32(48).int64(message.fanTicket);
		if (message.totalLinkmicFanTicket !== "0") writer.uint32(56).int64(message.totalLinkmicFanTicket);
		if (message.channelId !== "0") writer.uint32(64).int64(message.channelId);
		if (message.layout !== 0) writer.uint32(72).int32(message.layout);
		if (message.vendor !== 0) writer.uint32(80).int32(message.vendor);
		if (message.dimension !== 0) writer.uint32(88).int32(message.dimension);
		if (message.theme !== "") writer.uint32(98).string(message.theme);
		if (message.inviteUid !== "0") writer.uint32(104).int64(message.inviteUid);
		if (message.answer !== 0) writer.uint32(112).int32(message.answer);
		if (message.startTime !== "0") writer.uint32(120).int64(message.startTime);
		if (message.duration !== 0) writer.uint32(128).int32(message.duration);
		for (const v of message.userScores) writer.uint32(138).bytes(v);
		if (message.matchType !== 0) writer.uint32(144).int32(message.matchType);
		if (message.win !== false) writer.uint32(152).bool(message.win);
		if (message.prompts !== "") writer.uint32(162).string(message.prompts);
		if (message.toUserId !== "0") writer.uint32(168).int64(message.toUserId);
		if (message.linkmicLayout !== "0") writer.uint32(184).int64(message.linkmicLayout);
		if (message.fromUserId !== "0") writer.uint32(192).int64(message.fromUserId);
		if (message.tips !== "") writer.uint32(202).string(message.tips);
		if (message.startTimeMs !== "0") writer.uint32(208).int64(message.startTimeMs);
		if (message.confluenceType !== 0) writer.uint32(216).int32(message.confluenceType);
		if (message.fromRoomId !== "0") writer.uint32(224).int64(message.fromRoomId);
		if (message.inviteType !== 0) writer.uint32(232).int32(message.inviteType);
		if (message.subType !== "0") writer.uint32(240).int64(message.subType);
		if (message.inviterRivalExtra !== void 0) RivalExtraInfo.encode(message.inviterRivalExtra, writer.uint32(250).fork()).join();
		if (message.rtcExtInfo !== "") writer.uint32(258).string(message.rtcExtInfo);
		if (message.rtcAppId !== "") writer.uint32(266).string(message.rtcAppId);
		if (message.appId !== "") writer.uint32(274).string(message.appId);
		if (message.appSign !== "") writer.uint32(282).string(message.appSign);
		if (message.rtcAppSign !== "") writer.uint32(290).string(message.rtcAppSign);
		if (message.anchorLinkmicIdStr !== "") writer.uint32(298).string(message.anchorLinkmicIdStr);
		if (message.rivalAnchorId !== "0") writer.uint32(304).int64(message.rivalAnchorId);
		if (message.rivalLinkmicId !== 0) writer.uint32(312).int32(message.rivalLinkmicId);
		if (message.rivalLinkmicIdStr !== "") writer.uint32(322).string(message.rivalLinkmicIdStr);
		if (message.showPopup !== false) writer.uint32(328).bool(message.showPopup);
		if (message.secInviteUid !== "0") writer.uint32(336).int64(message.secInviteUid);
		if (message.scene !== "0") writer.uint32(344).int64(message.scene);
		if (message.secApplyUid !== "0") writer.uint32(352).int64(message.secApplyUid);
		for (const v of message.linkedUsers) User.encode(v, writer.uint32(362).fork()).join();
		if (message.secFromUserId !== "") writer.uint32(370).string(message.secFromUserId);
		if (message.replyType !== 0) writer.uint32(376).int32(message.replyType);
		if (message.replyPrompts !== "") writer.uint32(386).string(message.replyPrompts);
		if (message.secToUserId !== "") writer.uint32(394).string(message.secToUserId);
		if (message.invitorInfo.length !== 0) writer.uint32(402).bytes(message.invitorInfo);
		if (message.rtcJoinChannel !== false) writer.uint32(408).bool(message.rtcJoinChannel);
		if (message.fanTicketIconType !== 0) writer.uint32(416).int32(message.fanTicketIconType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkMicMethod();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.messageType = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.accessKey = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.anchorLinkmicId = reader.int32();
					continue;
				case 5:
					if (tag !== 40) break;
					message.userId = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 48) break;
					message.fanTicket = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.totalLinkmicFanTicket = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 64) break;
					message.channelId = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 72) break;
					message.layout = reader.int32();
					continue;
				case 10:
					if (tag !== 80) break;
					message.vendor = reader.int32();
					continue;
				case 11:
					if (tag !== 88) break;
					message.dimension = reader.int32();
					continue;
				case 12:
					if (tag !== 98) break;
					message.theme = reader.string();
					continue;
				case 13:
					if (tag !== 104) break;
					message.inviteUid = reader.int64().toString();
					continue;
				case 14:
					if (tag !== 112) break;
					message.answer = reader.int32();
					continue;
				case 15:
					if (tag !== 120) break;
					message.startTime = reader.int64().toString();
					continue;
				case 16:
					if (tag !== 128) break;
					message.duration = reader.int32();
					continue;
				case 17:
					if (tag !== 138) break;
					message.userScores.push(reader.bytes());
					continue;
				case 18:
					if (tag !== 144) break;
					message.matchType = reader.int32();
					continue;
				case 19:
					if (tag !== 152) break;
					message.win = reader.bool();
					continue;
				case 20:
					if (tag !== 162) break;
					message.prompts = reader.string();
					continue;
				case 21:
					if (tag !== 168) break;
					message.toUserId = reader.int64().toString();
					continue;
				case 23:
					if (tag !== 184) break;
					message.linkmicLayout = reader.int64().toString();
					continue;
				case 24:
					if (tag !== 192) break;
					message.fromUserId = reader.int64().toString();
					continue;
				case 25:
					if (tag !== 202) break;
					message.tips = reader.string();
					continue;
				case 26:
					if (tag !== 208) break;
					message.startTimeMs = reader.int64().toString();
					continue;
				case 27:
					if (tag !== 216) break;
					message.confluenceType = reader.int32();
					continue;
				case 28:
					if (tag !== 224) break;
					message.fromRoomId = reader.int64().toString();
					continue;
				case 29:
					if (tag !== 232) break;
					message.inviteType = reader.int32();
					continue;
				case 30:
					if (tag !== 240) break;
					message.subType = reader.int64().toString();
					continue;
				case 31:
					if (tag !== 250) break;
					message.inviterRivalExtra = RivalExtraInfo.decode(reader, reader.uint32());
					continue;
				case 32:
					if (tag !== 258) break;
					message.rtcExtInfo = reader.string();
					continue;
				case 33:
					if (tag !== 266) break;
					message.rtcAppId = reader.string();
					continue;
				case 34:
					if (tag !== 274) break;
					message.appId = reader.string();
					continue;
				case 35:
					if (tag !== 282) break;
					message.appSign = reader.string();
					continue;
				case 36:
					if (tag !== 290) break;
					message.rtcAppSign = reader.string();
					continue;
				case 37:
					if (tag !== 298) break;
					message.anchorLinkmicIdStr = reader.string();
					continue;
				case 38:
					if (tag !== 304) break;
					message.rivalAnchorId = reader.int64().toString();
					continue;
				case 39:
					if (tag !== 312) break;
					message.rivalLinkmicId = reader.int32();
					continue;
				case 40:
					if (tag !== 322) break;
					message.rivalLinkmicIdStr = reader.string();
					continue;
				case 41:
					if (tag !== 328) break;
					message.showPopup = reader.bool();
					continue;
				case 42:
					if (tag !== 336) break;
					message.secInviteUid = reader.int64().toString();
					continue;
				case 43:
					if (tag !== 344) break;
					message.scene = reader.int64().toString();
					continue;
				case 44:
					if (tag !== 352) break;
					message.secApplyUid = reader.int64().toString();
					continue;
				case 45:
					if (tag !== 362) break;
					message.linkedUsers.push(User.decode(reader, reader.uint32()));
					continue;
				case 46:
					if (tag !== 370) break;
					message.secFromUserId = reader.string();
					continue;
				case 47:
					if (tag !== 376) break;
					message.replyType = reader.int32();
					continue;
				case 48:
					if (tag !== 386) break;
					message.replyPrompts = reader.string();
					continue;
				case 49:
					if (tag !== 394) break;
					message.secToUserId = reader.string();
					continue;
				case 50:
					if (tag !== 402) break;
					message.invitorInfo = reader.bytes();
					continue;
				case 51:
					if (tag !== 408) break;
					message.rtcJoinChannel = reader.bool();
					continue;
				case 52:
					if (tag !== 416) break;
					message.fanTicketIconType = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLinkmicBattleTaskMessage() {
	return {
		common: void 0,
		taskMessageType: 0,
		start: void 0,
		taskUpdate: void 0,
		taskSettle: void 0,
		reward: void 0,
		battleId: "0"
	};
}
const WebcastLinkmicBattleTaskMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.taskMessageType !== 0) writer.uint32(16).int32(message.taskMessageType);
		if (message.start !== void 0) BattleTaskStart.encode(message.start, writer.uint32(26).fork()).join();
		if (message.taskUpdate !== void 0) BattleTaskUpdate.encode(message.taskUpdate, writer.uint32(34).fork()).join();
		if (message.taskSettle !== void 0) BattleTaskSettle.encode(message.taskSettle, writer.uint32(42).fork()).join();
		if (message.reward !== void 0) BattleRewardSettle.encode(message.reward, writer.uint32(50).fork()).join();
		if (message.battleId !== "0") writer.uint32(160).int64(message.battleId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkmicBattleTaskMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.taskMessageType = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.start = BattleTaskStart.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.taskUpdate = BattleTaskUpdate.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.taskSettle = BattleTaskSettle.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.reward = BattleRewardSettle.decode(reader, reader.uint32());
					continue;
				case 20:
					if (tag !== 160) break;
					message.battleId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLiveGameIntroMessage() {
	return {
		common: void 0,
		content: void 0,
		hasRankInfo: false
	};
}
const WebcastLiveGameIntroMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.content !== void 0) Text.encode(message.content, writer.uint32(18).fork()).join();
		if (message.hasRankInfo !== false) writer.uint32(24).bool(message.hasRankInfo);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLiveGameIntroMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.content = Text.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.hasRankInfo = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastLiveIntroMessage() {
	return {
		common: void 0,
		id: "0",
		auditStatus: 0,
		content: "",
		user: void 0,
		introMode: 0,
		badges: [],
		contentLanguage: ""
	};
}
const WebcastLiveIntroMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.id !== "0") writer.uint32(16).int64(message.id);
		if (message.auditStatus !== 0) writer.uint32(24).int32(message.auditStatus);
		if (message.content !== "") writer.uint32(34).string(message.content);
		if (message.user !== void 0) User.encode(message.user, writer.uint32(42).fork()).join();
		if (message.introMode !== 0) writer.uint32(48).int32(message.introMode);
		for (const v of message.badges) BadgeStruct.encode(v, writer.uint32(58).fork()).join();
		if (message.contentLanguage !== "") writer.uint32(66).string(message.contentLanguage);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLiveIntroMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.id = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.auditStatus = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.content = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 48) break;
					message.introMode = reader.int32();
					continue;
				case 7:
					if (tag !== 58) break;
					message.badges.push(BadgeStruct.decode(reader, reader.uint32()));
					continue;
				case 8:
					if (tag !== 66) break;
					message.contentLanguage = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastMarqueeAnnouncementMessage() {
	return {
		common: void 0,
		messageScene: "",
		messageEntity: []
	};
}
const WebcastMarqueeAnnouncementMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.messageScene !== "") writer.uint32(18).string(message.messageScene);
		for (const v of message.messageEntity) MessageEntity.encode(v, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastMarqueeAnnouncementMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.messageScene = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.messageEntity.push(MessageEntity.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastMemberMessage() {
	return {
		common: void 0,
		user: void 0,
		memberCount: 0,
		operator: void 0,
		isSetToAdmin: false,
		isTopUser: false,
		rankScore: 0,
		topUserNo: 0,
		enterType: 0,
		action: 0,
		actionDescription: "",
		userId: "0",
		effectConfig: new Uint8Array(0),
		popStr: "",
		enterEffectConfig: void 0,
		backgroundImage: void 0,
		backgroundImageV2: void 0,
		anchorDisplayText: void 0,
		clientEnterSource: "",
		clientEnterType: "",
		clientLiveReason: "",
		actionDuration: "0",
		userShareType: "",
		displayStyle: 0,
		adminPermissions: {},
		kickSource: 0,
		allowPreviewTime: "0",
		lastSubscriptionAction: "0",
		publicAreaMessageCommon: void 0,
		liveSubOnlyTier: "0",
		liveSubOnlyMonth: "0",
		ecStreamerKey: "",
		showWave: "0",
		waveAlgorithmData: void 0,
		hitAbStatus: 0
	};
}
const WebcastMemberMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.user !== void 0) User.encode(message.user, writer.uint32(18).fork()).join();
		if (message.memberCount !== 0) writer.uint32(24).int32(message.memberCount);
		if (message.operator !== void 0) User.encode(message.operator, writer.uint32(34).fork()).join();
		if (message.isSetToAdmin !== false) writer.uint32(40).bool(message.isSetToAdmin);
		if (message.isTopUser !== false) writer.uint32(48).bool(message.isTopUser);
		if (message.rankScore !== 0) writer.uint32(56).int32(message.rankScore);
		if (message.topUserNo !== 0) writer.uint32(64).int32(message.topUserNo);
		if (message.enterType !== 0) writer.uint32(72).int32(message.enterType);
		if (message.action !== 0) writer.uint32(80).int32(message.action);
		if (message.actionDescription !== "") writer.uint32(90).string(message.actionDescription);
		if (message.userId !== "0") writer.uint32(96).int64(message.userId);
		if (message.effectConfig.length !== 0) writer.uint32(106).bytes(message.effectConfig);
		if (message.popStr !== "") writer.uint32(114).string(message.popStr);
		if (message.enterEffectConfig !== void 0) EffectConfigBean.encode(message.enterEffectConfig, writer.uint32(122).fork()).join();
		if (message.backgroundImage !== void 0) ImageModel.encode(message.backgroundImage, writer.uint32(130).fork()).join();
		if (message.backgroundImageV2 !== void 0) ImageModel.encode(message.backgroundImageV2, writer.uint32(138).fork()).join();
		if (message.anchorDisplayText !== void 0) Text.encode(message.anchorDisplayText, writer.uint32(146).fork()).join();
		if (message.clientEnterSource !== "") writer.uint32(154).string(message.clientEnterSource);
		if (message.clientEnterType !== "") writer.uint32(162).string(message.clientEnterType);
		if (message.clientLiveReason !== "") writer.uint32(170).string(message.clientLiveReason);
		if (message.actionDuration !== "0") writer.uint32(176).int64(message.actionDuration);
		if (message.userShareType !== "") writer.uint32(186).string(message.userShareType);
		if (message.displayStyle !== 0) writer.uint32(192).int32(message.displayStyle);
		globalThis.Object.entries(message.adminPermissions).forEach(([key, value]) => {
			WebcastMemberMessage_AdminPermissionsEntry.encode({
				key,
				value
			}, writer.uint32(202).fork()).join();
		});
		if (message.kickSource !== 0) writer.uint32(208).int32(message.kickSource);
		if (message.allowPreviewTime !== "0") writer.uint32(216).int64(message.allowPreviewTime);
		if (message.lastSubscriptionAction !== "0") writer.uint32(224).int64(message.lastSubscriptionAction);
		if (message.publicAreaMessageCommon !== void 0) PublicAreaMessageCommon.encode(message.publicAreaMessageCommon, writer.uint32(234).fork()).join();
		if (message.liveSubOnlyTier !== "0") writer.uint32(240).int64(message.liveSubOnlyTier);
		if (message.liveSubOnlyMonth !== "0") writer.uint32(248).int64(message.liveSubOnlyMonth);
		if (message.ecStreamerKey !== "") writer.uint32(258).string(message.ecStreamerKey);
		if (message.showWave !== "0") writer.uint32(264).int64(message.showWave);
		if (message.waveAlgorithmData !== void 0) WaveAlgorithmData.encode(message.waveAlgorithmData, writer.uint32(274).fork()).join();
		if (message.hitAbStatus !== 0) writer.uint32(280).int32(message.hitAbStatus);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastMemberMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.memberCount = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.operator = User.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 40) break;
					message.isSetToAdmin = reader.bool();
					continue;
				case 6:
					if (tag !== 48) break;
					message.isTopUser = reader.bool();
					continue;
				case 7:
					if (tag !== 56) break;
					message.rankScore = reader.int32();
					continue;
				case 8:
					if (tag !== 64) break;
					message.topUserNo = reader.int32();
					continue;
				case 9:
					if (tag !== 72) break;
					message.enterType = reader.int32();
					continue;
				case 10:
					if (tag !== 80) break;
					message.action = reader.int32();
					continue;
				case 11:
					if (tag !== 90) break;
					message.actionDescription = reader.string();
					continue;
				case 12:
					if (tag !== 96) break;
					message.userId = reader.int64().toString();
					continue;
				case 13:
					if (tag !== 106) break;
					message.effectConfig = reader.bytes();
					continue;
				case 14:
					if (tag !== 114) break;
					message.popStr = reader.string();
					continue;
				case 15:
					if (tag !== 122) break;
					message.enterEffectConfig = EffectConfigBean.decode(reader, reader.uint32());
					continue;
				case 16:
					if (tag !== 130) break;
					message.backgroundImage = ImageModel.decode(reader, reader.uint32());
					continue;
				case 17:
					if (tag !== 138) break;
					message.backgroundImageV2 = ImageModel.decode(reader, reader.uint32());
					continue;
				case 18:
					if (tag !== 146) break;
					message.anchorDisplayText = Text.decode(reader, reader.uint32());
					continue;
				case 19:
					if (tag !== 154) break;
					message.clientEnterSource = reader.string();
					continue;
				case 20:
					if (tag !== 162) break;
					message.clientEnterType = reader.string();
					continue;
				case 21:
					if (tag !== 170) break;
					message.clientLiveReason = reader.string();
					continue;
				case 22:
					if (tag !== 176) break;
					message.actionDuration = reader.int64().toString();
					continue;
				case 23:
					if (tag !== 186) break;
					message.userShareType = reader.string();
					continue;
				case 24:
					if (tag !== 192) break;
					message.displayStyle = reader.int32();
					continue;
				case 25: {
					if (tag !== 202) break;
					const entry25 = WebcastMemberMessage_AdminPermissionsEntry.decode(reader, reader.uint32());
					if (entry25.value !== void 0) message.adminPermissions[entry25.key] = entry25.value;
					continue;
				}
				case 26:
					if (tag !== 208) break;
					message.kickSource = reader.int32();
					continue;
				case 27:
					if (tag !== 216) break;
					message.allowPreviewTime = reader.int64().toString();
					continue;
				case 28:
					if (tag !== 224) break;
					message.lastSubscriptionAction = reader.int64().toString();
					continue;
				case 29:
					if (tag !== 234) break;
					message.publicAreaMessageCommon = PublicAreaMessageCommon.decode(reader, reader.uint32());
					continue;
				case 30:
					if (tag !== 240) break;
					message.liveSubOnlyTier = reader.int64().toString();
					continue;
				case 31:
					if (tag !== 248) break;
					message.liveSubOnlyMonth = reader.int64().toString();
					continue;
				case 32:
					if (tag !== 258) break;
					message.ecStreamerKey = reader.string();
					continue;
				case 33:
					if (tag !== 264) break;
					message.showWave = reader.int64().toString();
					continue;
				case 34:
					if (tag !== 274) break;
					message.waveAlgorithmData = WaveAlgorithmData.decode(reader, reader.uint32());
					continue;
				case 35:
					if (tag !== 280) break;
					message.hitAbStatus = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastMemberMessage_AdminPermissionsEntry() {
	return {
		key: 0,
		value: 0
	};
}
const WebcastMemberMessage_AdminPermissionsEntry = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== 0) writer.uint32(8).int32(message.key);
		if (message.value !== 0) writer.uint32(16).int32(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastMemberMessage_AdminPermissionsEntry();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.key = reader.int32();
					continue;
				case 2:
					if (tag !== 16) break;
					message.value = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastMsgDetectMessage() {
	return {
		common: void 0,
		dType: 0,
		tCondition: void 0,
		tInfo: void 0,
		triggerBy: 0,
		fromRegion: ""
	};
}
const WebcastMsgDetectMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.dType !== 0) writer.uint32(16).int32(message.dType);
		if (message.tCondition !== void 0) TriggerCondition.encode(message.tCondition, writer.uint32(26).fork()).join();
		if (message.tInfo !== void 0) TimeInfo.encode(message.tInfo, writer.uint32(34).fork()).join();
		if (message.triggerBy !== 0) writer.uint32(40).int32(message.triggerBy);
		if (message.fromRegion !== "") writer.uint32(50).string(message.fromRegion);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastMsgDetectMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.dType = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.tCondition = TriggerCondition.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.tInfo = TimeInfo.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 40) break;
					message.triggerBy = reader.int32();
					continue;
				case 6:
					if (tag !== 50) break;
					message.fromRegion = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastNoticeMessage() {
	return {
		common: void 0,
		content: "",
		noticeType: 0,
		style: "",
		title: void 0,
		violationReason: void 0,
		displayText: void 0,
		tipsTitle: void 0,
		tipsUrl: "",
		noticeTitle: void 0,
		noticeContent: void 0,
		scene: ""
	};
}
const WebcastNoticeMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.content !== "") writer.uint32(18).string(message.content);
		if (message.noticeType !== 0) writer.uint32(24).int32(message.noticeType);
		if (message.style !== "") writer.uint32(34).string(message.style);
		if (message.title !== void 0) Text.encode(message.title, writer.uint32(42).fork()).join();
		if (message.violationReason !== void 0) Text.encode(message.violationReason, writer.uint32(50).fork()).join();
		if (message.displayText !== void 0) Text.encode(message.displayText, writer.uint32(58).fork()).join();
		if (message.tipsTitle !== void 0) Text.encode(message.tipsTitle, writer.uint32(66).fork()).join();
		if (message.tipsUrl !== "") writer.uint32(74).string(message.tipsUrl);
		if (message.noticeTitle !== void 0) Text.encode(message.noticeTitle, writer.uint32(82).fork()).join();
		if (message.noticeContent !== void 0) Text.encode(message.noticeContent, writer.uint32(90).fork()).join();
		if (message.scene !== "") writer.uint32(98).string(message.scene);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastNoticeMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.content = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.noticeType = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.style = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.title = Text.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.violationReason = Text.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 58) break;
					message.displayText = Text.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.tipsTitle = Text.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 74) break;
					message.tipsUrl = reader.string();
					continue;
				case 10:
					if (tag !== 82) break;
					message.noticeTitle = Text.decode(reader, reader.uint32());
					continue;
				case 11:
					if (tag !== 90) break;
					message.noticeContent = Text.decode(reader, reader.uint32());
					continue;
				case 12:
					if (tag !== 98) break;
					message.scene = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastPartnershipDropsUpdateMessage() {
	return {
		common: void 0,
		changeMode: 0,
		dropsId: "",
		taskId: "",
		eventId: "",
		anchorUid: "0"
	};
}
const WebcastPartnershipDropsUpdateMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.changeMode !== 0) writer.uint32(16).int32(message.changeMode);
		if (message.dropsId !== "") writer.uint32(26).string(message.dropsId);
		if (message.taskId !== "") writer.uint32(34).string(message.taskId);
		if (message.eventId !== "") writer.uint32(42).string(message.eventId);
		if (message.anchorUid !== "0") writer.uint32(48).int64(message.anchorUid);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastPartnershipDropsUpdateMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.changeMode = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.dropsId = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.taskId = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.eventId = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.anchorUid = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastPartnershipGameOfflineMessage() {
	return {
		common: void 0,
		offlineGameList: []
	};
}
const WebcastPartnershipGameOfflineMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		for (const v of message.offlineGameList) OfflineGameInfo.encode(v, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastPartnershipGameOfflineMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.offlineGameList.push(OfflineGameInfo.decode(reader, reader.uint32()));
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastPartnershipPunishMessage() {
	return {
		common: void 0,
		punishInfo: void 0
	};
}
const WebcastPartnershipPunishMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.punishInfo !== void 0) PunishEventInfo.encode(message.punishInfo, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastPartnershipPunishMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.punishInfo = PunishEventInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastPerceptionMessage() {
	return {
		common: void 0,
		dialog: void 0,
		punishInfo: void 0,
		endTime: 0,
		showViolationWarning: false,
		toast: void 0,
		floatStyle: 0,
		floatText: void 0,
		sheet: void 0,
		floatIconType: 0
	};
}
const WebcastPerceptionMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.dialog !== void 0) PerceptionDialogInfo.encode(message.dialog, writer.uint32(18).fork()).join();
		if (message.punishInfo !== void 0) PunishEventInfo.encode(message.punishInfo, writer.uint32(26).fork()).join();
		if (message.endTime !== 0) writer.uint32(32).int32(message.endTime);
		if (message.showViolationWarning !== false) writer.uint32(40).bool(message.showViolationWarning);
		if (message.toast !== void 0) Text.encode(message.toast, writer.uint32(50).fork()).join();
		if (message.floatStyle !== 0) writer.uint32(56).int32(message.floatStyle);
		if (message.floatText !== void 0) Text.encode(message.floatText, writer.uint32(66).fork()).join();
		if (message.sheet !== void 0) PerceptionSheetInfo.encode(message.sheet, writer.uint32(74).fork()).join();
		if (message.floatIconType !== 0) writer.uint32(80).int32(message.floatIconType);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastPerceptionMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.dialog = PerceptionDialogInfo.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.punishInfo = PunishEventInfo.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.endTime = reader.int32();
					continue;
				case 5:
					if (tag !== 40) break;
					message.showViolationWarning = reader.bool();
					continue;
				case 6:
					if (tag !== 50) break;
					message.toast = Text.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 56) break;
					message.floatStyle = reader.int32();
					continue;
				case 8:
					if (tag !== 66) break;
					message.floatText = Text.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 74) break;
					message.sheet = PerceptionSheetInfo.decode(reader, reader.uint32());
					continue;
				case 10:
					if (tag !== 80) break;
					message.floatIconType = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastPollMessage() {
	return {
		common: void 0,
		messageType: "0",
		pollId: "0",
		startContent: void 0,
		endContent: void 0,
		updateVotesContent: void 0,
		pollKind: 0,
		pollBasicInfo: void 0,
		templateContent: void 0
	};
}
const WebcastPollMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.messageType !== "0") writer.uint32(16).int64(message.messageType);
		if (message.pollId !== "0") writer.uint32(24).int64(message.pollId);
		if (message.startContent !== void 0) PollStartContent.encode(message.startContent, writer.uint32(34).fork()).join();
		if (message.endContent !== void 0) PollEndContent.encode(message.endContent, writer.uint32(42).fork()).join();
		if (message.updateVotesContent !== void 0) PollUpdateVotesContent.encode(message.updateVotesContent, writer.uint32(50).fork()).join();
		if (message.pollKind !== 0) writer.uint32(56).int32(message.pollKind);
		if (message.pollBasicInfo !== void 0) PollBasicInfo.encode(message.pollBasicInfo, writer.uint32(66).fork()).join();
		if (message.templateContent !== void 0) TemplateContent.encode(message.templateContent, writer.uint32(74).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastPollMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.messageType = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.pollId = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.startContent = PollStartContent.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.endContent = PollEndContent.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.updateVotesContent = PollUpdateVotesContent.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 56) break;
					message.pollKind = reader.int32();
					continue;
				case 8:
					if (tag !== 66) break;
					message.pollBasicInfo = PollBasicInfo.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 74) break;
					message.templateContent = TemplateContent.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastQuestionNewMessage() {
	return {
		common: void 0,
		data: void 0
	};
}
const WebcastQuestionNewMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.data !== void 0) Question.encode(message.data, writer.uint32(18).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastQuestionNewMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.data = Question.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastRankTextMessage() {
	return {
		common: void 0,
		scene: 0,
		ownerIdxBeforeUpdate: "0",
		ownerIdxAfterUpdate: "0",
		selfGetBadgeMsg: void 0,
		otherGetBadgeMsg: void 0,
		curUserId: "0",
		leftIcon: void 0,
		content: void 0,
		rankType: 0,
		userEnigmaInfo: void 0,
		publicAreaMsgCommon: void 0
	};
}
const WebcastRankTextMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.scene !== 0) writer.uint32(16).int32(message.scene);
		if (message.ownerIdxBeforeUpdate !== "0") writer.uint32(24).int64(message.ownerIdxBeforeUpdate);
		if (message.ownerIdxAfterUpdate !== "0") writer.uint32(32).int64(message.ownerIdxAfterUpdate);
		if (message.selfGetBadgeMsg !== void 0) Text.encode(message.selfGetBadgeMsg, writer.uint32(42).fork()).join();
		if (message.otherGetBadgeMsg !== void 0) Text.encode(message.otherGetBadgeMsg, writer.uint32(50).fork()).join();
		if (message.curUserId !== "0") writer.uint32(56).int64(message.curUserId);
		if (message.leftIcon !== void 0) ImageModel.encode(message.leftIcon, writer.uint32(66).fork()).join();
		if (message.content !== void 0) Text.encode(message.content, writer.uint32(74).fork()).join();
		if (message.rankType !== 0) writer.uint32(80).int32(message.rankType);
		if (message.userEnigmaInfo !== void 0) RankUserEnigmaInfo.encode(message.userEnigmaInfo, writer.uint32(90).fork()).join();
		if (message.publicAreaMsgCommon !== void 0) PublicAreaMessageCommon.encode(message.publicAreaMsgCommon, writer.uint32(98).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastRankTextMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.scene = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.ownerIdxBeforeUpdate = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.ownerIdxAfterUpdate = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.selfGetBadgeMsg = Text.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.otherGetBadgeMsg = Text.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 56) break;
					message.curUserId = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 66) break;
					message.leftIcon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 74) break;
					message.content = Text.decode(reader, reader.uint32());
					continue;
				case 10:
					if (tag !== 80) break;
					message.rankType = reader.int32();
					continue;
				case 11:
					if (tag !== 90) break;
					message.userEnigmaInfo = RankUserEnigmaInfo.decode(reader, reader.uint32());
					continue;
				case 12:
					if (tag !== 98) break;
					message.publicAreaMsgCommon = PublicAreaMessageCommon.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastRankUpdateMessage() {
	return {
		common: void 0,
		updates: [],
		groupType: 0,
		opType: 0,
		rankPriority: "0",
		tabs: [],
		isAnimationLoopPlay: false,
		animationLoopForOff: false,
		unionAnimation: [],
		tabInfo: [],
		validRanks: void 0
	};
}
const WebcastRankUpdateMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		for (const v of message.updates) RankUpdate.encode(v, writer.uint32(18).fork()).join();
		if (message.groupType !== 0) writer.uint32(24).int32(message.groupType);
		if (message.opType !== 0) writer.uint32(32).int32(message.opType);
		if (message.rankPriority !== "0") writer.uint32(40).int64(message.rankPriority);
		for (const v of message.tabs) RankTabInfo.encode(v, writer.uint32(50).fork()).join();
		if (message.isAnimationLoopPlay !== false) writer.uint32(56).bool(message.isAnimationLoopPlay);
		if (message.animationLoopForOff !== false) writer.uint32(64).bool(message.animationLoopForOff);
		for (const v of message.unionAnimation) UnionAnimationInfo.encode(v, writer.uint32(74).fork()).join();
		for (const v of message.tabInfo) RankListTabInfo.encode(v, writer.uint32(82).fork()).join();
		if (message.validRanks !== void 0) ValidRanks.encode(message.validRanks, writer.uint32(90).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastRankUpdateMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.updates.push(RankUpdate.decode(reader, reader.uint32()));
					continue;
				case 3:
					if (tag !== 24) break;
					message.groupType = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.opType = reader.int32();
					continue;
				case 5:
					if (tag !== 40) break;
					message.rankPriority = reader.int64().toString();
					continue;
				case 6:
					if (tag !== 50) break;
					message.tabs.push(RankTabInfo.decode(reader, reader.uint32()));
					continue;
				case 7:
					if (tag !== 56) break;
					message.isAnimationLoopPlay = reader.bool();
					continue;
				case 8:
					if (tag !== 64) break;
					message.animationLoopForOff = reader.bool();
					continue;
				case 9:
					if (tag !== 74) break;
					message.unionAnimation.push(UnionAnimationInfo.decode(reader, reader.uint32()));
					continue;
				case 10:
					if (tag !== 82) break;
					message.tabInfo.push(RankListTabInfo.decode(reader, reader.uint32()));
					continue;
				case 11:
					if (tag !== 90) break;
					message.validRanks = ValidRanks.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastRoomMessage() {
	return {
		common: void 0,
		content: "",
		supprotLandscape: false,
		source: 0,
		icon: void 0,
		scene: "",
		isWelcome: false,
		publicAreaCommon: void 0,
		showDurationMs: "0",
		subScene: "",
		schema: "",
		signature: "",
		signatureVersion: ""
	};
}
const WebcastRoomMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.content !== "") writer.uint32(18).string(message.content);
		if (message.supprotLandscape !== false) writer.uint32(24).bool(message.supprotLandscape);
		if (message.source !== 0) writer.uint32(32).int32(message.source);
		if (message.icon !== void 0) ImageModel.encode(message.icon, writer.uint32(42).fork()).join();
		if (message.scene !== "") writer.uint32(50).string(message.scene);
		if (message.isWelcome !== false) writer.uint32(56).bool(message.isWelcome);
		if (message.publicAreaCommon !== void 0) PublicAreaMessageCommon.encode(message.publicAreaCommon, writer.uint32(66).fork()).join();
		if (message.showDurationMs !== "0") writer.uint32(72).int64(message.showDurationMs);
		if (message.subScene !== "") writer.uint32(82).string(message.subScene);
		if (message.schema !== "") writer.uint32(90).string(message.schema);
		if (message.signature !== "") writer.uint32(98).string(message.signature);
		if (message.signatureVersion !== "") writer.uint32(106).string(message.signatureVersion);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastRoomMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.content = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.supprotLandscape = reader.bool();
					continue;
				case 4:
					if (tag !== 32) break;
					message.source = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.icon = ImageModel.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.scene = reader.string();
					continue;
				case 7:
					if (tag !== 56) break;
					message.isWelcome = reader.bool();
					continue;
				case 8:
					if (tag !== 66) break;
					message.publicAreaCommon = PublicAreaMessageCommon.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 72) break;
					message.showDurationMs = reader.int64().toString();
					continue;
				case 10:
					if (tag !== 82) break;
					message.subScene = reader.string();
					continue;
				case 11:
					if (tag !== 90) break;
					message.schema = reader.string();
					continue;
				case 12:
					if (tag !== 98) break;
					message.signature = reader.string();
					continue;
				case 13:
					if (tag !== 106) break;
					message.signatureVersion = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastRoomNotifyMessage() {
	return {
		common: void 0,
		schema: "",
		notifyType: "0",
		content: "",
		user: void 0,
		extra: void 0,
		notifyClass: 0,
		flexSetting: [],
		source: "",
		fromUserId: "0",
		privilegeLogExtra: void 0,
		toAnchorId: "0",
		eventTracking: void 0
	};
}
const WebcastRoomNotifyMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.schema !== "") writer.uint32(18).string(message.schema);
		if (message.notifyType !== "0") writer.uint32(24).int64(message.notifyType);
		if (message.content !== "") writer.uint32(34).string(message.content);
		if (message.user !== void 0) User.encode(message.user, writer.uint32(42).fork()).join();
		if (message.extra !== void 0) RoomNotifyMessageExtra.encode(message.extra, writer.uint32(50).fork()).join();
		if (message.notifyClass !== 0) writer.uint32(56).int32(message.notifyClass);
		writer.uint32(66).fork();
		for (const v of message.flexSetting) writer.int64(v);
		writer.join();
		if (message.source !== "") writer.uint32(74).string(message.source);
		if (message.fromUserId !== "0") writer.uint32(80).int64(message.fromUserId);
		if (message.privilegeLogExtra !== void 0) PrivilegeLogExtra.encode(message.privilegeLogExtra, writer.uint32(90).fork()).join();
		if (message.toAnchorId !== "0") writer.uint32(96).int64(message.toAnchorId);
		if (message.eventTracking !== void 0) RoomNotifyMessageEventTracking.encode(message.eventTracking, writer.uint32(106).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastRoomNotifyMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.schema = reader.string();
					continue;
				case 3:
					if (tag !== 24) break;
					message.notifyType = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.content = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.extra = RoomNotifyMessageExtra.decode(reader, reader.uint32());
					continue;
				case 7:
					if (tag !== 56) break;
					message.notifyClass = reader.int32();
					continue;
				case 8:
					if (tag === 64) {
						message.flexSetting.push(reader.int64().toString());
						continue;
					}
					if (tag === 66) {
						const end2 = reader.uint32() + reader.pos;
						while (reader.pos < end2) message.flexSetting.push(reader.int64().toString());
						continue;
					}
					break;
				case 9:
					if (tag !== 74) break;
					message.source = reader.string();
					continue;
				case 10:
					if (tag !== 80) break;
					message.fromUserId = reader.int64().toString();
					continue;
				case 11:
					if (tag !== 90) break;
					message.privilegeLogExtra = PrivilegeLogExtra.decode(reader, reader.uint32());
					continue;
				case 12:
					if (tag !== 96) break;
					message.toAnchorId = reader.int64().toString();
					continue;
				case 13:
					if (tag !== 106) break;
					message.eventTracking = RoomNotifyMessageEventTracking.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastRoomPinMessage() {
	return {
		common: void 0,
		chatMessage: void 0,
		socialMessage: void 0,
		giftMessage: void 0,
		memberMessage: void 0,
		likeMessage: void 0,
		method: "",
		pinTime: "0",
		operator: void 0,
		action: 0,
		displayDuration: "0",
		pinMsgId: "0",
		ecStreamerKey: ""
	};
}
const WebcastRoomPinMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.chatMessage !== void 0) WebcastChatMessage.encode(message.chatMessage, writer.uint32(18).fork()).join();
		if (message.socialMessage !== void 0) WebcastSocialMessage.encode(message.socialMessage, writer.uint32(26).fork()).join();
		if (message.giftMessage !== void 0) WebcastGiftMessage.encode(message.giftMessage, writer.uint32(34).fork()).join();
		if (message.memberMessage !== void 0) WebcastMemberMessage.encode(message.memberMessage, writer.uint32(42).fork()).join();
		if (message.likeMessage !== void 0) WebcastLikeMessage.encode(message.likeMessage, writer.uint32(50).fork()).join();
		if (message.method !== "") writer.uint32(242).string(message.method);
		if (message.pinTime !== "0") writer.uint32(248).int64(message.pinTime);
		if (message.operator !== void 0) User.encode(message.operator, writer.uint32(258).fork()).join();
		if (message.action !== 0) writer.uint32(264).int32(message.action);
		if (message.displayDuration !== "0") writer.uint32(272).int64(message.displayDuration);
		if (message.pinMsgId !== "0") writer.uint32(280).int64(message.pinMsgId);
		if (message.ecStreamerKey !== "") writer.uint32(290).string(message.ecStreamerKey);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastRoomPinMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.chatMessage = WebcastChatMessage.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 26) break;
					message.socialMessage = WebcastSocialMessage.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.giftMessage = WebcastGiftMessage.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.memberMessage = WebcastMemberMessage.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.likeMessage = WebcastLikeMessage.decode(reader, reader.uint32());
					continue;
				case 30:
					if (tag !== 242) break;
					message.method = reader.string();
					continue;
				case 31:
					if (tag !== 248) break;
					message.pinTime = reader.int64().toString();
					continue;
				case 32:
					if (tag !== 258) break;
					message.operator = User.decode(reader, reader.uint32());
					continue;
				case 33:
					if (tag !== 264) break;
					message.action = reader.int32();
					continue;
				case 34:
					if (tag !== 272) break;
					message.displayDuration = reader.int64().toString();
					continue;
				case 35:
					if (tag !== 280) break;
					message.pinMsgId = reader.int64().toString();
					continue;
				case 36:
					if (tag !== 290) break;
					message.ecStreamerKey = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastRoomUserSeqMessage() {
	return {
		common: void 0,
		ranks: [],
		total: "0",
		popStr: "",
		seats: [],
		popularity: "0",
		totalUser: "0",
		anonymous: "0"
	};
}
const WebcastRoomUserSeqMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		for (const v of message.ranks) Contributor.encode(v, writer.uint32(18).fork()).join();
		if (message.total !== "0") writer.uint32(24).int64(message.total);
		if (message.popStr !== "") writer.uint32(34).string(message.popStr);
		for (const v of message.seats) Contributor.encode(v, writer.uint32(42).fork()).join();
		if (message.popularity !== "0") writer.uint32(48).int64(message.popularity);
		if (message.totalUser !== "0") writer.uint32(56).int64(message.totalUser);
		if (message.anonymous !== "0") writer.uint32(64).int64(message.anonymous);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastRoomUserSeqMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.ranks.push(Contributor.decode(reader, reader.uint32()));
					continue;
				case 3:
					if (tag !== 24) break;
					message.total = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.popStr = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.seats.push(Contributor.decode(reader, reader.uint32()));
					continue;
				case 6:
					if (tag !== 48) break;
					message.popularity = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.totalUser = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 64) break;
					message.anonymous = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastRoomVerifyMessage() {
	return {
		common: void 0,
		action: 0,
		content: "",
		noticeType: "0",
		closeRoom: false
	};
}
const WebcastRoomVerifyMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.action !== 0) writer.uint32(16).int32(message.action);
		if (message.content !== "") writer.uint32(26).string(message.content);
		if (message.noticeType !== "0") writer.uint32(32).int64(message.noticeType);
		if (message.closeRoom !== false) writer.uint32(40).bool(message.closeRoom);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastRoomVerifyMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.action = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.content = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.noticeType = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.closeRoom = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastSocialMessage() {
	return {
		common: void 0,
		user: void 0,
		shareType: "0",
		action: "0",
		shareTarget: "",
		followCount: "0",
		shareDisplayStyle: "0",
		shareCount: 0,
		publicAreaMessageCommon: void 0,
		signature: "",
		signatureVersion: "",
		showDurationMs: "0",
		followType: 0,
		targetUserId: "0",
		scene: ""
	};
}
const WebcastSocialMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.user !== void 0) User.encode(message.user, writer.uint32(18).fork()).join();
		if (message.shareType !== "0") writer.uint32(24).int64(message.shareType);
		if (message.action !== "0") writer.uint32(32).int64(message.action);
		if (message.shareTarget !== "") writer.uint32(42).string(message.shareTarget);
		if (message.followCount !== "0") writer.uint32(48).int64(message.followCount);
		if (message.shareDisplayStyle !== "0") writer.uint32(56).int64(message.shareDisplayStyle);
		if (message.shareCount !== 0) writer.uint32(64).int32(message.shareCount);
		if (message.publicAreaMessageCommon !== void 0) PublicAreaMessageCommon.encode(message.publicAreaMessageCommon, writer.uint32(74).fork()).join();
		if (message.signature !== "") writer.uint32(82).string(message.signature);
		if (message.signatureVersion !== "") writer.uint32(90).string(message.signatureVersion);
		if (message.showDurationMs !== "0") writer.uint32(96).int64(message.showDurationMs);
		if (message.followType !== 0) writer.uint32(104).int32(message.followType);
		if (message.targetUserId !== "0") writer.uint32(112).int64(message.targetUserId);
		if (message.scene !== "") writer.uint32(122).string(message.scene);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastSocialMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.shareType = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.action = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.shareTarget = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.followCount = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 56) break;
					message.shareDisplayStyle = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 64) break;
					message.shareCount = reader.int32();
					continue;
				case 9:
					if (tag !== 74) break;
					message.publicAreaMessageCommon = PublicAreaMessageCommon.decode(reader, reader.uint32());
					continue;
				case 10:
					if (tag !== 82) break;
					message.signature = reader.string();
					continue;
				case 11:
					if (tag !== 90) break;
					message.signatureVersion = reader.string();
					continue;
				case 12:
					if (tag !== 96) break;
					message.showDurationMs = reader.int64().toString();
					continue;
				case 13:
					if (tag !== 104) break;
					message.followType = reader.int32();
					continue;
				case 14:
					if (tag !== 112) break;
					message.targetUserId = reader.int64().toString();
					continue;
				case 15:
					if (tag !== 122) break;
					message.scene = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastSpeakerMessage() {
	return { common: void 0 };
}
const WebcastSpeakerMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastSpeakerMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastSubNotifyMessage() {
	return {
		common: void 0,
		user: void 0,
		exhibitionType: 0,
		subMonth: "0",
		subscribeType: 0,
		oldSubscribeStatus: 0,
		messageType: 0,
		subscribingStatus: 0,
		isSend: false,
		isCustom: false,
		giftSource: 0,
		messageDisplayStyle: 0,
		publicAreaMessageCommon: void 0,
		packageId: "",
		eventTracking: void 0
	};
}
const WebcastSubNotifyMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.user !== void 0) User.encode(message.user, writer.uint32(18).fork()).join();
		if (message.exhibitionType !== 0) writer.uint32(24).int32(message.exhibitionType);
		if (message.subMonth !== "0") writer.uint32(32).int64(message.subMonth);
		if (message.subscribeType !== 0) writer.uint32(40).int32(message.subscribeType);
		if (message.oldSubscribeStatus !== 0) writer.uint32(48).int32(message.oldSubscribeStatus);
		if (message.messageType !== 0) writer.uint32(56).int32(message.messageType);
		if (message.subscribingStatus !== 0) writer.uint32(64).int32(message.subscribingStatus);
		if (message.isSend !== false) writer.uint32(72).bool(message.isSend);
		if (message.isCustom !== false) writer.uint32(80).bool(message.isCustom);
		if (message.giftSource !== 0) writer.uint32(88).int32(message.giftSource);
		if (message.messageDisplayStyle !== 0) writer.uint32(96).int32(message.messageDisplayStyle);
		if (message.publicAreaMessageCommon !== void 0) PublicAreaMessageCommon.encode(message.publicAreaMessageCommon, writer.uint32(106).fork()).join();
		if (message.packageId !== "") writer.uint32(114).string(message.packageId);
		if (message.eventTracking !== void 0) RoomNotifyMessageEventTracking.encode(message.eventTracking, writer.uint32(122).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastSubNotifyMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.user = User.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.exhibitionType = reader.int32();
					continue;
				case 4:
					if (tag !== 32) break;
					message.subMonth = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 40) break;
					message.subscribeType = reader.int32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.oldSubscribeStatus = reader.int32();
					continue;
				case 7:
					if (tag !== 56) break;
					message.messageType = reader.int32();
					continue;
				case 8:
					if (tag !== 64) break;
					message.subscribingStatus = reader.int32();
					continue;
				case 9:
					if (tag !== 72) break;
					message.isSend = reader.bool();
					continue;
				case 10:
					if (tag !== 80) break;
					message.isCustom = reader.bool();
					continue;
				case 11:
					if (tag !== 88) break;
					message.giftSource = reader.int32();
					continue;
				case 12:
					if (tag !== 96) break;
					message.messageDisplayStyle = reader.int32();
					continue;
				case 13:
					if (tag !== 106) break;
					message.publicAreaMessageCommon = PublicAreaMessageCommon.decode(reader, reader.uint32());
					continue;
				case 14:
					if (tag !== 114) break;
					message.packageId = reader.string();
					continue;
				case 15:
					if (tag !== 122) break;
					message.eventTracking = RoomNotifyMessageEventTracking.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastSubPinEventMessage() {
	return {
		common: void 0,
		actionType: 0,
		card: void 0,
		operatorUserId: "0"
	};
}
const WebcastSubPinEventMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.actionType !== 0) writer.uint32(16).int32(message.actionType);
		if (message.card !== void 0) SubPinCard.encode(message.card, writer.uint32(26).fork()).join();
		if (message.operatorUserId !== "0") writer.uint32(32).int64(message.operatorUserId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastSubPinEventMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.actionType = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.card = SubPinCard.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 32) break;
					message.operatorUserId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastToastMessage() {
	return {
		common: void 0,
		displayDurationMillisecond: "0",
		delayDisplayDurationMillisecond: "0",
		scene: ""
	};
}
const WebcastToastMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.displayDurationMillisecond !== "0") writer.uint32(16).int64(message.displayDurationMillisecond);
		if (message.delayDisplayDurationMillisecond !== "0") writer.uint32(24).int64(message.delayDisplayDurationMillisecond);
		if (message.scene !== "") writer.uint32(34).string(message.scene);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastToastMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.displayDurationMillisecond = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.delayDisplayDurationMillisecond = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 34) break;
					message.scene = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastUnauthorizedMemberMessage() {
	return {
		common: void 0,
		action: 0,
		nickNamePrefix: void 0,
		nickName: "",
		enterText: void 0,
		publicAreaCommon: void 0
	};
}
const WebcastUnauthorizedMemberMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.action !== 0) writer.uint32(16).int32(message.action);
		if (message.nickNamePrefix !== void 0) Text.encode(message.nickNamePrefix, writer.uint32(26).fork()).join();
		if (message.nickName !== "") writer.uint32(34).string(message.nickName);
		if (message.enterText !== void 0) Text.encode(message.enterText, writer.uint32(42).fork()).join();
		if (message.publicAreaCommon !== void 0) PublicAreaMessageCommon.encode(message.publicAreaCommon, writer.uint32(50).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastUnauthorizedMemberMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.action = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.nickNamePrefix = Text.decode(reader, reader.uint32());
					continue;
				case 4:
					if (tag !== 34) break;
					message.nickName = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.enterText = Text.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.publicAreaCommon = PublicAreaMessageCommon.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastViewerPicksUpdateMessage() {
	return {
		common: void 0,
		updateType: 0,
		info: void 0
	};
}
const WebcastViewerPicksUpdateMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.updateType !== 0) writer.uint32(16).int32(message.updateType);
		if (message.info !== void 0) ViewerPicksInfo.encode(message.info, writer.uint32(26).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastViewerPicksUpdateMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.updateType = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.info = ViewerPicksInfo.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/message/ext.ts
function createBaseHotTag() {
	return {
		productId: "",
		hotCount: "0"
	};
}
const HotTag = {
	encode(message, writer = new BinaryWriter()) {
		if (message.productId !== "") writer.uint32(10).string(message.productId);
		if (message.hotCount !== "0") writer.uint32(16).int64(message.hotCount);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseHotTag();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.productId = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.hotCount = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePopProduct() {
	return {
		title: "",
		price: "",
		imageUrl: "",
		openUrl: "",
		productType: "",
		productId: "0",
		source: "",
		sourceFrom: 0,
		schema: "",
		platform: 0,
		productStatus: 0
	};
}
const PopProduct = {
	encode(message, writer = new BinaryWriter()) {
		if (message.title !== "") writer.uint32(10).string(message.title);
		if (message.price !== "") writer.uint32(18).string(message.price);
		if (message.imageUrl !== "") writer.uint32(26).string(message.imageUrl);
		if (message.openUrl !== "") writer.uint32(34).string(message.openUrl);
		if (message.productType !== "") writer.uint32(42).string(message.productType);
		if (message.productId !== "0") writer.uint32(48).int64(message.productId);
		if (message.source !== "") writer.uint32(58).string(message.source);
		if (message.sourceFrom !== 0) writer.uint32(64).int32(message.sourceFrom);
		if (message.schema !== "") writer.uint32(74).string(message.schema);
		if (message.platform !== 0) writer.uint32(80).int32(message.platform);
		if (message.productStatus !== 0) writer.uint32(88).int32(message.productStatus);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePopProduct();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.title = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.price = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.imageUrl = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.openUrl = reader.string();
					continue;
				case 5:
					if (tag !== 42) break;
					message.productType = reader.string();
					continue;
				case 6:
					if (tag !== 48) break;
					message.productId = reader.int64().toString();
					continue;
				case 7:
					if (tag !== 58) break;
					message.source = reader.string();
					continue;
				case 8:
					if (tag !== 64) break;
					message.sourceFrom = reader.int32();
					continue;
				case 9:
					if (tag !== 74) break;
					message.schema = reader.string();
					continue;
				case 10:
					if (tag !== 80) break;
					message.platform = reader.int32();
					continue;
				case 11:
					if (tag !== 88) break;
					message.productStatus = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseTraceInfo() {
	return {
		operateTime: "0",
		arrivalTime: "0",
		sendTime: "0"
	};
}
const TraceInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.operateTime !== "0") writer.uint32(8).int64(message.operateTime);
		if (message.arrivalTime !== "0") writer.uint32(16).int64(message.arrivalTime);
		if (message.sendTime !== "0") writer.uint32(24).int64(message.sendTime);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseTraceInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.operateTime = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.arrivalTime = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.sendTime = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastOecLiveShoppingMessage() {
	return {
		common: void 0,
		actionType: 0,
		liveProductNumber: 0,
		popProduct: void 0,
		traceInfo: void 0,
		hotTags: [],
		atmosphereTagInfo: void 0,
		livePermissionInfo: void 0,
		productSnapShot: void 0,
		pinCardDelayTime: "0",
		flashSaleAtmosphereInfo: [],
		cardType: 0,
		billboardInfo: void 0,
		billboardDisplayResult: void 0,
		dispersionInfo: [],
		promotionInfo: void 0,
		campaignBannerDisplayResult: void 0,
		campaignBannerDisplay: void 0,
		refreshLiveBagInfo: void 0,
		anchorPinCardResetType: 0,
		voucher: void 0,
		oecLiveShoppingMessageV2: void 0
	};
}
const WebcastOecLiveShoppingMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.actionType !== 0) writer.uint32(16).int32(message.actionType);
		if (message.liveProductNumber !== 0) writer.uint32(24).int32(message.liveProductNumber);
		if (message.popProduct !== void 0) PopProduct.encode(message.popProduct, writer.uint32(34).fork()).join();
		if (message.traceInfo !== void 0) TraceInfo.encode(message.traceInfo, writer.uint32(42).fork()).join();
		for (const v of message.hotTags) HotTag.encode(v, writer.uint32(50).fork()).join();
		if (message.atmosphereTagInfo !== void 0) AtmosphereTagInfo.encode(message.atmosphereTagInfo, writer.uint32(58).fork()).join();
		if (message.livePermissionInfo !== void 0) LivePermissionInfo.encode(message.livePermissionInfo, writer.uint32(66).fork()).join();
		if (message.productSnapShot !== void 0) ProductSnapShot.encode(message.productSnapShot, writer.uint32(74).fork()).join();
		if (message.pinCardDelayTime !== "0") writer.uint32(80).int64(message.pinCardDelayTime);
		for (const v of message.flashSaleAtmosphereInfo) FlashSaleAtmosphereInfo.encode(v, writer.uint32(90).fork()).join();
		if (message.cardType !== 0) writer.uint32(96).int32(message.cardType);
		if (message.billboardInfo !== void 0) BillboardInfo.encode(message.billboardInfo, writer.uint32(106).fork()).join();
		if (message.billboardDisplayResult !== void 0) BillboardDisplayResult.encode(message.billboardDisplayResult, writer.uint32(114).fork()).join();
		for (const v of message.dispersionInfo) DispersionInfo.encode(v, writer.uint32(122).fork()).join();
		if (message.promotionInfo !== void 0) PromotionInfo.encode(message.promotionInfo, writer.uint32(130).fork()).join();
		if (message.campaignBannerDisplayResult !== void 0) CampaignBannerDisplayResult.encode(message.campaignBannerDisplayResult, writer.uint32(138).fork()).join();
		if (message.campaignBannerDisplay !== void 0) CampaignBannerDisplay.encode(message.campaignBannerDisplay, writer.uint32(146).fork()).join();
		if (message.refreshLiveBagInfo !== void 0) RefreshLiveBagInfo.encode(message.refreshLiveBagInfo, writer.uint32(154).fork()).join();
		if (message.anchorPinCardResetType !== 0) writer.uint32(160).int32(message.anchorPinCardResetType);
		if (message.voucher !== void 0) Voucher.encode(message.voucher, writer.uint32(170).fork()).join();
		if (message.oecLiveShoppingMessageV2 !== void 0) OecLiveShoppingMessageV2.encode(message.oecLiveShoppingMessageV2, writer.uint32(802).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastOecLiveShoppingMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.actionType = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.liveProductNumber = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.popProduct = PopProduct.decode(reader, reader.uint32());
					continue;
				case 5:
					if (tag !== 42) break;
					message.traceInfo = TraceInfo.decode(reader, reader.uint32());
					continue;
				case 6:
					if (tag !== 50) break;
					message.hotTags.push(HotTag.decode(reader, reader.uint32()));
					continue;
				case 7:
					if (tag !== 58) break;
					message.atmosphereTagInfo = AtmosphereTagInfo.decode(reader, reader.uint32());
					continue;
				case 8:
					if (tag !== 66) break;
					message.livePermissionInfo = LivePermissionInfo.decode(reader, reader.uint32());
					continue;
				case 9:
					if (tag !== 74) break;
					message.productSnapShot = ProductSnapShot.decode(reader, reader.uint32());
					continue;
				case 10:
					if (tag !== 80) break;
					message.pinCardDelayTime = reader.int64().toString();
					continue;
				case 11:
					if (tag !== 90) break;
					message.flashSaleAtmosphereInfo.push(FlashSaleAtmosphereInfo.decode(reader, reader.uint32()));
					continue;
				case 12:
					if (tag !== 96) break;
					message.cardType = reader.int32();
					continue;
				case 13:
					if (tag !== 106) break;
					message.billboardInfo = BillboardInfo.decode(reader, reader.uint32());
					continue;
				case 14:
					if (tag !== 114) break;
					message.billboardDisplayResult = BillboardDisplayResult.decode(reader, reader.uint32());
					continue;
				case 15:
					if (tag !== 122) break;
					message.dispersionInfo.push(DispersionInfo.decode(reader, reader.uint32()));
					continue;
				case 16:
					if (tag !== 130) break;
					message.promotionInfo = PromotionInfo.decode(reader, reader.uint32());
					continue;
				case 17:
					if (tag !== 138) break;
					message.campaignBannerDisplayResult = CampaignBannerDisplayResult.decode(reader, reader.uint32());
					continue;
				case 18:
					if (tag !== 146) break;
					message.campaignBannerDisplay = CampaignBannerDisplay.decode(reader, reader.uint32());
					continue;
				case 19:
					if (tag !== 154) break;
					message.refreshLiveBagInfo = RefreshLiveBagInfo.decode(reader, reader.uint32());
					continue;
				case 20:
					if (tag !== 160) break;
					message.anchorPinCardResetType = reader.int32();
					continue;
				case 21:
					if (tag !== 170) break;
					message.voucher = Voucher.decode(reader, reader.uint32());
					continue;
				case 100:
					if (tag !== 802) break;
					message.oecLiveShoppingMessageV2 = OecLiveShoppingMessageV2.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/message/linkcore_webcast_link_layer_message.ts
function createBaseWebcastLinkLayerMessage() {
	return {
		common: void 0,
		messageType: 0,
		channelId: "0",
		scene: 0,
		source: "",
		centerizedIdc: "",
		rtcRoomId: "0",
		version: "0",
		linkerMode: 0,
		waitCrossData: false,
		createChannelContent: void 0,
		listChangeContent: void 0,
		inviteContent: void 0,
		applyContent: void 0,
		permitApplyContent: void 0,
		replyInviteContent: void 0,
		kickOutContent: void 0,
		cancelApplyContent: void 0,
		cancelInviteContent: void 0,
		leaveContent: void 0,
		finishContent: void 0,
		joinDirectContent: void 0,
		joinGroupContent: void 0,
		permitGroupContent: void 0,
		cancelGroupContent: void 0,
		leaveGroupContent: void 0,
		p2pGroupChangeContent: void 0,
		groupChangeContent: void 0,
		joinGroupDirectContent: void 0,
		joinRoomDirectContent: void 0,
		linkEnvelopeContent: void 0,
		businessContent: void 0
	};
}
const WebcastLinkLayerMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.messageType !== 0) writer.uint32(16).int32(message.messageType);
		if (message.channelId !== "0") writer.uint32(24).int64(message.channelId);
		if (message.scene !== 0) writer.uint32(32).int32(message.scene);
		if (message.source !== "") writer.uint32(42).string(message.source);
		if (message.centerizedIdc !== "") writer.uint32(50).string(message.centerizedIdc);
		if (message.rtcRoomId !== "0") writer.uint32(56).int64(message.rtcRoomId);
		if (message.version !== "0") writer.uint32(64).int64(message.version);
		if (message.linkerMode !== 0) writer.uint32(72).int32(message.linkerMode);
		if (message.waitCrossData !== false) writer.uint32(80).bool(message.waitCrossData);
		if (message.createChannelContent !== void 0) CreateChannelContent.encode(message.createChannelContent, writer.uint32(802).fork()).join();
		if (message.listChangeContent !== void 0) LinkListChangeContent.encode(message.listChangeContent, writer.uint32(818).fork()).join();
		if (message.inviteContent !== void 0) InviteContent.encode(message.inviteContent, writer.uint32(826).fork()).join();
		if (message.applyContent !== void 0) ApplyContent.encode(message.applyContent, writer.uint32(834).fork()).join();
		if (message.permitApplyContent !== void 0) PermitApplyContent.encode(message.permitApplyContent, writer.uint32(842).fork()).join();
		if (message.replyInviteContent !== void 0) ReplyInviteContent.encode(message.replyInviteContent, writer.uint32(850).fork()).join();
		if (message.kickOutContent !== void 0) KickOutContent.encode(message.kickOutContent, writer.uint32(858).fork()).join();
		if (message.cancelApplyContent !== void 0) CancelApplyContent.encode(message.cancelApplyContent, writer.uint32(866).fork()).join();
		if (message.cancelInviteContent !== void 0) CancelInviteContent.encode(message.cancelInviteContent, writer.uint32(874).fork()).join();
		if (message.leaveContent !== void 0) LeaveContent.encode(message.leaveContent, writer.uint32(882).fork()).join();
		if (message.finishContent !== void 0) FinishChannelContent.encode(message.finishContent, writer.uint32(890).fork()).join();
		if (message.joinDirectContent !== void 0) JoinDirectContent.encode(message.joinDirectContent, writer.uint32(898).fork()).join();
		if (message.joinGroupContent !== void 0) JoinGroupContent.encode(message.joinGroupContent, writer.uint32(906).fork()).join();
		if (message.permitGroupContent !== void 0) PermitJoinGroupContent.encode(message.permitGroupContent, writer.uint32(914).fork()).join();
		if (message.cancelGroupContent !== void 0) CancelJoinGroupContent.encode(message.cancelGroupContent, writer.uint32(922).fork()).join();
		if (message.leaveGroupContent !== void 0) LeaveJoinGroupContent.encode(message.leaveGroupContent, writer.uint32(930).fork()).join();
		if (message.p2pGroupChangeContent !== void 0) P2PGroupChangeContent.encode(message.p2pGroupChangeContent, writer.uint32(938).fork()).join();
		if (message.groupChangeContent !== void 0) GroupChangeContent.encode(message.groupChangeContent, writer.uint32(946).fork()).join();
		if (message.joinGroupDirectContent !== void 0) JoinGroupDirectContent.encode(message.joinGroupDirectContent, writer.uint32(954).fork()).join();
		if (message.joinRoomDirectContent !== void 0) JoinRoomDirectContent.encode(message.joinRoomDirectContent, writer.uint32(962).fork()).join();
		if (message.linkEnvelopeContent !== void 0) LinkEnvelopeContent.encode(message.linkEnvelopeContent, writer.uint32(1202).fork()).join();
		if (message.businessContent !== void 0) BusinessContent.encode(message.businessContent, writer.uint32(1602).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastLinkLayerMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 16) break;
					message.messageType = reader.int32();
					continue;
				case 3:
					if (tag !== 24) break;
					message.channelId = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.scene = reader.int32();
					continue;
				case 5:
					if (tag !== 42) break;
					message.source = reader.string();
					continue;
				case 6:
					if (tag !== 50) break;
					message.centerizedIdc = reader.string();
					continue;
				case 7:
					if (tag !== 56) break;
					message.rtcRoomId = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 64) break;
					message.version = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 72) break;
					message.linkerMode = reader.int32();
					continue;
				case 10:
					if (tag !== 80) break;
					message.waitCrossData = reader.bool();
					continue;
				case 100:
					if (tag !== 802) break;
					message.createChannelContent = CreateChannelContent.decode(reader, reader.uint32());
					continue;
				case 102:
					if (tag !== 818) break;
					message.listChangeContent = LinkListChangeContent.decode(reader, reader.uint32());
					continue;
				case 103:
					if (tag !== 826) break;
					message.inviteContent = InviteContent.decode(reader, reader.uint32());
					continue;
				case 104:
					if (tag !== 834) break;
					message.applyContent = ApplyContent.decode(reader, reader.uint32());
					continue;
				case 105:
					if (tag !== 842) break;
					message.permitApplyContent = PermitApplyContent.decode(reader, reader.uint32());
					continue;
				case 106:
					if (tag !== 850) break;
					message.replyInviteContent = ReplyInviteContent.decode(reader, reader.uint32());
					continue;
				case 107:
					if (tag !== 858) break;
					message.kickOutContent = KickOutContent.decode(reader, reader.uint32());
					continue;
				case 108:
					if (tag !== 866) break;
					message.cancelApplyContent = CancelApplyContent.decode(reader, reader.uint32());
					continue;
				case 109:
					if (tag !== 874) break;
					message.cancelInviteContent = CancelInviteContent.decode(reader, reader.uint32());
					continue;
				case 110:
					if (tag !== 882) break;
					message.leaveContent = LeaveContent.decode(reader, reader.uint32());
					continue;
				case 111:
					if (tag !== 890) break;
					message.finishContent = FinishChannelContent.decode(reader, reader.uint32());
					continue;
				case 112:
					if (tag !== 898) break;
					message.joinDirectContent = JoinDirectContent.decode(reader, reader.uint32());
					continue;
				case 113:
					if (tag !== 906) break;
					message.joinGroupContent = JoinGroupContent.decode(reader, reader.uint32());
					continue;
				case 114:
					if (tag !== 914) break;
					message.permitGroupContent = PermitJoinGroupContent.decode(reader, reader.uint32());
					continue;
				case 115:
					if (tag !== 922) break;
					message.cancelGroupContent = CancelJoinGroupContent.decode(reader, reader.uint32());
					continue;
				case 116:
					if (tag !== 930) break;
					message.leaveGroupContent = LeaveJoinGroupContent.decode(reader, reader.uint32());
					continue;
				case 117:
					if (tag !== 938) break;
					message.p2pGroupChangeContent = P2PGroupChangeContent.decode(reader, reader.uint32());
					continue;
				case 118:
					if (tag !== 946) break;
					message.groupChangeContent = GroupChangeContent.decode(reader, reader.uint32());
					continue;
				case 119:
					if (tag !== 954) break;
					message.joinGroupDirectContent = JoinGroupDirectContent.decode(reader, reader.uint32());
					continue;
				case 120:
					if (tag !== 962) break;
					message.joinRoomDirectContent = JoinRoomDirectContent.decode(reader, reader.uint32());
					continue;
				case 150:
					if (tag !== 1202) break;
					message.linkEnvelopeContent = LinkEnvelopeContent.decode(reader, reader.uint32());
					continue;
				case 200:
					if (tag !== 1602) break;
					message.businessContent = BusinessContent.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/model/message/redenvelope.ts
function createBaseMessageRedEnvelopInfo() {
	return {
		envelopeId: "",
		businessType: 0,
		envelopeIdc: "",
		sendUserName: "",
		diamondCount: 0,
		peopleCount: 0,
		unpackAt: 0,
		sendUserId: "",
		sendUserAvatar: void 0,
		createAt: "",
		roomId: "",
		followShowStatus: 0,
		skinId: 0,
		voteCount: 0,
		senderEnigmaInfo: void 0,
		superFanCount: 0
	};
}
const MessageRedEnvelopInfo = {
	encode(message, writer = new BinaryWriter()) {
		if (message.envelopeId !== "") writer.uint32(10).string(message.envelopeId);
		if (message.businessType !== 0) writer.uint32(16).int32(message.businessType);
		if (message.envelopeIdc !== "") writer.uint32(26).string(message.envelopeIdc);
		if (message.sendUserName !== "") writer.uint32(34).string(message.sendUserName);
		if (message.diamondCount !== 0) writer.uint32(40).int32(message.diamondCount);
		if (message.peopleCount !== 0) writer.uint32(48).int32(message.peopleCount);
		if (message.unpackAt !== 0) writer.uint32(56).int32(message.unpackAt);
		if (message.sendUserId !== "") writer.uint32(66).string(message.sendUserId);
		if (message.sendUserAvatar !== void 0) ImageModel.encode(message.sendUserAvatar, writer.uint32(74).fork()).join();
		if (message.createAt !== "") writer.uint32(82).string(message.createAt);
		if (message.roomId !== "") writer.uint32(90).string(message.roomId);
		if (message.followShowStatus !== 0) writer.uint32(96).int32(message.followShowStatus);
		if (message.skinId !== 0) writer.uint32(104).int32(message.skinId);
		if (message.voteCount !== 0) writer.uint32(112).int32(message.voteCount);
		if (message.senderEnigmaInfo !== void 0) EnvelopeEnigmaInfo.encode(message.senderEnigmaInfo, writer.uint32(122).fork()).join();
		if (message.superFanCount !== 0) writer.uint32(128).int32(message.superFanCount);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseMessageRedEnvelopInfo();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.envelopeId = reader.string();
					continue;
				case 2:
					if (tag !== 16) break;
					message.businessType = reader.int32();
					continue;
				case 3:
					if (tag !== 26) break;
					message.envelopeIdc = reader.string();
					continue;
				case 4:
					if (tag !== 34) break;
					message.sendUserName = reader.string();
					continue;
				case 5:
					if (tag !== 40) break;
					message.diamondCount = reader.int32();
					continue;
				case 6:
					if (tag !== 48) break;
					message.peopleCount = reader.int32();
					continue;
				case 7:
					if (tag !== 56) break;
					message.unpackAt = reader.int32();
					continue;
				case 8:
					if (tag !== 66) break;
					message.sendUserId = reader.string();
					continue;
				case 9:
					if (tag !== 74) break;
					message.sendUserAvatar = ImageModel.decode(reader, reader.uint32());
					continue;
				case 10:
					if (tag !== 82) break;
					message.createAt = reader.string();
					continue;
				case 11:
					if (tag !== 90) break;
					message.roomId = reader.string();
					continue;
				case 12:
					if (tag !== 96) break;
					message.followShowStatus = reader.int32();
					continue;
				case 13:
					if (tag !== 104) break;
					message.skinId = reader.int32();
					continue;
				case 14:
					if (tag !== 112) break;
					message.voteCount = reader.int32();
					continue;
				case 15:
					if (tag !== 122) break;
					message.senderEnigmaInfo = EnvelopeEnigmaInfo.decode(reader, reader.uint32());
					continue;
				case 16:
					if (tag !== 128) break;
					message.superFanCount = reader.int32();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastEnvelopeMessage() {
	return {
		common: void 0,
		envelopeInfo: void 0,
		display: 0,
		publicAreaMsgCommon: void 0
	};
}
const WebcastEnvelopeMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.envelopeInfo !== void 0) MessageRedEnvelopInfo.encode(message.envelopeInfo, writer.uint32(18).fork()).join();
		if (message.display !== 0) writer.uint32(24).int32(message.display);
		if (message.publicAreaMsgCommon !== void 0) PublicAreaMessageCommon.encode(message.publicAreaMsgCommon, writer.uint32(34).fork()).join();
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastEnvelopeMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.envelopeInfo = MessageRedEnvelopInfo.decode(reader, reader.uint32());
					continue;
				case 3:
					if (tag !== 24) break;
					message.display = reader.int32();
					continue;
				case 4:
					if (tag !== 34) break;
					message.publicAreaMsgCommon = PublicAreaMessageCommon.decode(reader, reader.uint32());
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
//#region src/generated/web/v3/webcast/synthetic_enums.ts
let MemberMessageAction = /* @__PURE__ */ function(MemberMessageAction) {
	MemberMessageAction[MemberMessageAction["MEMBER_MESSAGE_ACTION_UNKNOWN"] = 0] = "MEMBER_MESSAGE_ACTION_UNKNOWN";
	MemberMessageAction[MemberMessageAction["MEMBER_MESSAGE_ACTION_JOINED"] = 1] = "MEMBER_MESSAGE_ACTION_JOINED";
	MemberMessageAction[MemberMessageAction["MEMBER_MESSAGE_ACTION_SUBSCRIBED"] = 3] = "MEMBER_MESSAGE_ACTION_SUBSCRIBED";
	MemberMessageAction[MemberMessageAction["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return MemberMessageAction;
}({});
let CommentTag = /* @__PURE__ */ function(CommentTag) {
	CommentTag[CommentTag["COMMENT_TAG_NORMAL"] = 0] = "COMMENT_TAG_NORMAL";
	CommentTag[CommentTag["COMMENT_TAG_CANDIDATE"] = 1] = "COMMENT_TAG_CANDIDATE";
	CommentTag[CommentTag["COMMENT_TAG_OVERAGE"] = 2] = "COMMENT_TAG_OVERAGE";
	CommentTag[CommentTag["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return CommentTag;
}({});
let MuteStatus = /* @__PURE__ */ function(MuteStatus) {
	MuteStatus[MuteStatus["MUTE_STATUS_MUTE"] = 0] = "MUTE_STATUS_MUTE";
	MuteStatus[MuteStatus["MUTE_STATUS_UN_MUTE"] = 1] = "MUTE_STATUS_UN_MUTE";
	MuteStatus[MuteStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return MuteStatus;
}({});
let ControlAction = /* @__PURE__ */ function(ControlAction) {
	ControlAction[ControlAction["CONTROL_ACTION_FALLBACK_UNKNOWN"] = 0] = "CONTROL_ACTION_FALLBACK_UNKNOWN";
	ControlAction[ControlAction["CONTROL_ACTION_STREAM_PAUSED"] = 1] = "CONTROL_ACTION_STREAM_PAUSED";
	ControlAction[ControlAction["CONTROL_ACTION_STREAM_UNPAUSED"] = 2] = "CONTROL_ACTION_STREAM_UNPAUSED";
	ControlAction[ControlAction["CONTROL_ACTION_STREAM_ENDED"] = 3] = "CONTROL_ACTION_STREAM_ENDED";
	ControlAction[ControlAction["CONTROL_ACTION_STREAM_SUSPENDED"] = 4] = "CONTROL_ACTION_STREAM_SUSPENDED";
	ControlAction[ControlAction["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
	return ControlAction;
}({});
//#endregion
//#region src/generated/web/v3/webcast/synthetic_proto.ts
function createBaseHeartBeatMessage() {
	return {
		roomId: "0",
		sendPacketSeqId: "0"
	};
}
const HeartBeatMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.roomId !== "0") writer.uint32(8).int64(message.roomId);
		if (message.sendPacketSeqId !== "0") writer.uint32(16).int64(message.sendPacketSeqId);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseHeartBeatMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.roomId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.sendPacketSeqId = reader.int64().toString();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastPushFrame() {
	return {
		seqId: "0",
		logId: "0",
		service: "0",
		method: "0",
		headers: [],
		payloadEncoding: "",
		payloadType: "",
		payload: new Uint8Array(0)
	};
}
const WebcastPushFrame = {
	encode(message, writer = new BinaryWriter()) {
		if (message.seqId !== "0") writer.uint32(8).int64(message.seqId);
		if (message.logId !== "0") writer.uint32(16).int64(message.logId);
		if (message.service !== "0") writer.uint32(24).int64(message.service);
		if (message.method !== "0") writer.uint32(32).int64(message.method);
		for (const v of message.headers) PushHeader.encode(v, writer.uint32(42).fork()).join();
		if (message.payloadEncoding !== "") writer.uint32(50).string(message.payloadEncoding);
		if (message.payloadType !== "") writer.uint32(58).string(message.payloadType);
		if (message.payload.length !== 0) writer.uint32(66).bytes(message.payload);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastPushFrame();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.seqId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 16) break;
					message.logId = reader.int64().toString();
					continue;
				case 3:
					if (tag !== 24) break;
					message.service = reader.int64().toString();
					continue;
				case 4:
					if (tag !== 32) break;
					message.method = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.headers.push(PushHeader.decode(reader, reader.uint32()));
					continue;
				case 6:
					if (tag !== 50) break;
					message.payloadEncoding = reader.string();
					continue;
				case 7:
					if (tag !== 58) break;
					message.payloadType = reader.string();
					continue;
				case 8:
					if (tag !== 66) break;
					message.payload = reader.bytes();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBasePushHeader() {
	return {
		key: "",
		value: ""
	};
}
const PushHeader = {
	encode(message, writer = new BinaryWriter()) {
		if (message.key !== "") writer.uint32(10).string(message.key);
		if (message.value !== "") writer.uint32(18).string(message.value);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBasePushHeader();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.key = reader.string();
					continue;
				case 2:
					if (tag !== 18) break;
					message.value = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseSystemMessage() {
	return { description: "" };
}
const SystemMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.description !== "") writer.uint32(18).string(message.description);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseSystemMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 2:
					if (tag !== 18) break;
					message.description = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastSystemMessage() {
	return {
		common: void 0,
		message: ""
	};
}
const WebcastSystemMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.common !== void 0) CommonMessageData.encode(message.common, writer.uint32(10).fork()).join();
		if (message.message !== "") writer.uint32(18).string(message.message);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastSystemMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 10) break;
					message.common = CommonMessageData.decode(reader, reader.uint32());
					continue;
				case 2:
					if (tag !== 18) break;
					message.message = reader.string();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
function createBaseWebcastImEnterRoomMessage() {
	return {
		roomId: "0",
		roomTag: "",
		liveRegion: "",
		liveId: "0",
		identity: "",
		cursor: "",
		accountType: "0",
		enterUniqueId: "0",
		filterWelcomeMsg: "",
		isAnchorContinueKeepMsg: false
	};
}
const WebcastImEnterRoomMessage = {
	encode(message, writer = new BinaryWriter()) {
		if (message.roomId !== "0") writer.uint32(8).int64(message.roomId);
		if (message.roomTag !== "") writer.uint32(18).string(message.roomTag);
		if (message.liveRegion !== "") writer.uint32(26).string(message.liveRegion);
		if (message.liveId !== "0") writer.uint32(32).int64(message.liveId);
		if (message.identity !== "") writer.uint32(42).string(message.identity);
		if (message.cursor !== "") writer.uint32(50).string(message.cursor);
		if (message.accountType !== "0") writer.uint32(56).int64(message.accountType);
		if (message.enterUniqueId !== "0") writer.uint32(64).int64(message.enterUniqueId);
		if (message.filterWelcomeMsg !== "") writer.uint32(74).string(message.filterWelcomeMsg);
		if (message.isAnchorContinueKeepMsg !== false) writer.uint32(80).bool(message.isAnchorContinueKeepMsg);
		return writer;
	},
	decode(input, length) {
		const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
		const end = length === void 0 ? reader.len : reader.pos + length;
		const message = createBaseWebcastImEnterRoomMessage();
		while (reader.pos < end) {
			const tag = reader.uint32();
			switch (tag >>> 3) {
				case 1:
					if (tag !== 8) break;
					message.roomId = reader.int64().toString();
					continue;
				case 2:
					if (tag !== 18) break;
					message.roomTag = reader.string();
					continue;
				case 3:
					if (tag !== 26) break;
					message.liveRegion = reader.string();
					continue;
				case 4:
					if (tag !== 32) break;
					message.liveId = reader.int64().toString();
					continue;
				case 5:
					if (tag !== 42) break;
					message.identity = reader.string();
					continue;
				case 6:
					if (tag !== 50) break;
					message.cursor = reader.string();
					continue;
				case 7:
					if (tag !== 56) break;
					message.accountType = reader.int64().toString();
					continue;
				case 8:
					if (tag !== 64) break;
					message.enterUniqueId = reader.int64().toString();
					continue;
				case 9:
					if (tag !== 74) break;
					message.filterWelcomeMsg = reader.string();
					continue;
				case 10:
					if (tag !== 80) break;
					message.isAnchorContinueKeepMsg = reader.bool();
					continue;
			}
			if ((tag & 7) === 4 || tag === 0) break;
			reader.skip(tag & 7);
		}
		return message;
	}
};
//#endregion
export { AccessControlCaptcha, ActionButton, ActionButtonType, ActivityBadgeInfo, ActivityBadgeInfo_EventTraceEntry, ActivityRewardInfo, AddToCartButton, AffiliatedInfo, AffiliatedInfoStickerShowScene, AffiliatedInfo_StickerTrackParamEntry, AgreeStatus, AllListUser, AnchorGiftModeMetaMap, AnchorGiftModeMetaMap_AnchorGiftModeMetasEntry, AnchorLayoutSetting, AnchorLayoutStyleSetting, AnchorLevel, AnchorLinkmicUserSettings, AnchorMatchSettings, AnchorPair, AnchorPanelLayoutTypeSetting, AnimationData, ApplyBizContent, ApplyContent, ArrowConfig, AssetBase, AssetBundle, AssetExtra, AssetsModel, AtmosphereInfo, AtmosphereTagInfo, AtomAction, AuctionInfo, AuctionInfo_TraceTimeMapEntry, AuctionWinnerPopup, AudioResource, AuditInfo, AuditStatus, AuditTaskType, AuthenticationInfo, Author, AvatarState, AwardCardNotice, BEFViewRenderSize, BackGroundImageState, Background, BadgeDisplayType, BadgeExhibitionType, BadgePriorityType, BadgeSceneType, BadgeStruct, BadgeText, BadgeTextPosition, BagIndex, BarrageEvent, BarrageEvent_ParamsEntry, BarrageMessageBarrageType, BarrageMessageIconDisplayType, BarrageMessageRenderType, BarrageMessageShowType, BarrageTypeEcomLiveParam, BarrageTypeFansLevelParam, BarrageTypeGiftGalleryParam, BarrageTypeSubscribeGiftParam, BarrageTypeUserGradeParam, BaseProtoMessage, BatchGiftInfo, BattleABTest, BattleABTestList, BattleABTestSetting, BattleABTestType, BattleBaseUserInfo, BattleBonusConfig, BattleBonusConfig_GiftAmountGuideEntry, BattleCardMsgType, BattleComboInfo, BattleDisplayConfig, BattleEffect, BattleEffectInfos, BattleFeatureFlags, BattleGamePlayContent, BattleGamePlayContentUserInfo, BattleInfo, BattleInviteType, BattleInviteeGiftPermission, BattlePrompt, BattlePromptElem, BattleResult, BattleResultResult, BattleRewardSettle, BattleRewardSettleRewardStatus, BattleRivalTag, BattleScene, BattleSetting, BattleSettingsBattleStatus, BattleTaskGiftAmountGuide, BattleTaskMessageType, BattleTaskSettle, BattleTaskSettleResult, BattleTaskStart, BattleTaskUpdate, BattleTeamResult, BattleTeamUser, BattleTeamUserArmies, BattleTeamUserArmies_HostVisibleRankFromTeamIdEntry, BattleType, BattleUserArmies, BattleUserArmy, BattleUserInfo, BattleUserInfoWrapper, BattleUserSettings, BestTeammateRelation, BidPanel, BillboardDisplayResult, BillboardInfo, BillboardInfo_DaInfoEntry, BizLayoutState, BizSpotExtra, BizSpotInfo, BizType, BoostCard, BorderInfo, BusinessContent, ByteRTCExtInfo, CampaignBannerDisplay, CampaignBannerDisplayResult, CampaignBannerDisplay_DaInfoEntry, CancelApplyContent, CancelInviteContent, CancelJoinGroupContent, CapsuleBizParams, CapsuleBizParamsAnchorPinPerk, CapsuleBizParamsCohost, CapsuleBizParamsCommentFlaggedPrompt, CapsuleBizParamsCommentFlaggedPromptForNewUser, CapsuleBizParamsCommentMuteRulePrompt, CapsuleBizParamsEcom, CapsuleBizParamsEcomEventTracking, CapsuleBizParamsGamingModeratorsCommentGuide, CapsuleBizParamsModeratorGuide, CapsuleBizParamsMultiGuestApplyGuide, CapsuleBizParamsMultiGuestInviteGuide, CapsuleBizParamsNewAnchorEffect, CapsuleBizParamsRandomGift, CaptionContent, CardObtainGuide, CarouselCfg, ClassInfo, ClassType, CoHostBizLayoutExtra, CoHostBizSpotExtra, CoHostPermissoinType, CohostABInfo, CohostABTest, CohostABTestList, CohostABTestSetting, CohostABTestType, CohostContent, CohostContentGuideInfo, CohostLayoutMode, CohostListChangeContent, CohostListUser, CohostMode, CohostNudgeInfo, CohostStreamConfig, CohostTopic, CohostTypeLayoutExtra, CohostTypeLayoutNonSeiExtra, CohostTypeSpotExtra, CohostTypeSpotNonSeiExtra, CohostUserInfo, ColorGroup, ColorPickerInfo, CombineBadgeBackground, CombineBadgeStruct, ComboBadgeInfo, CommentLabelScore, CommentQualityScore, CommentTag, CommerceInfo, CommerceInfo_ProductInfoEntry, CommerceInfo_VoucherInfoEntry, CommonCardInfo, CommonMessageData, CommunityActiveDecoration, CommunityActiveDecoration_ImagesEntry, CommunityHeartMeInfo, CommunityHeartMeInfo_SlotsEntry, Content, ContentInviteSource, ContentPosition, ContentPositionType, ContentSource, Contributor, ControlAction, ControlChaosInfo, CreateChannelContent, CreatorScoreDisplayInfo, CreatorScoreLabelInfo, CreatorScoreProfile, CreatorScoreProfile_ScoreInfoExtraEntry, CreatorSuccessInfo, CriticalStrikeCardInfo, CrossScreenEffectInfo, CrossScreenEffectInfo_ActionEffectIdsEntry, CrossScreenEffectInfo_ReactionEffectIdsEntry, CrossScreenEffectInfo_SingleActionEffectIdsEntry, DSLConfig, DelayParam, Detail, DetailBlockReason, DiffInfo, DispersionInfo, DispersionParam, DisplayControl, DisplayControlHorizontalOnclickTriggerType, DisplayControl_TargetGroupShowRstEntry, DisplayStatus, DisplayStyle, DistributionStrategy, DynamicRestriction, EasterEgg, EcomLiveElementActions, EcommerceEntrance, EffectConfigBean, EffectStruct, EmoteWithIndex as EmojiEmoteWithIndex, EmoteModel, EmoteModelAuditInfo, EmotePrivateType, EmoteScene, EmoteType, EmoteUploadInfo, EnhancementText, EnhancementTextInfo, EnigmaBattleExtraInfo, EnigmaBattleSetting, EnigmaInfo, EntranceGroupType, EnvelopeBusinessType, EnvelopeDisplay, EnvelopeEnigmaInfo, EnvelopeFollowShowStatus, EventUserInfo, ExemptStrategy, ExhibitionType, ExtendAuctionCfg, Extra, ExtraTimeCardInfo, FaceRecognitionMeta, FanTicketRoomNoticeContent, FansClubData, FansClubInfo, FansClubMember, FansClubMember_PreferDataEntry, FinishChannelContent, FlashSaleAtmosphere, FlashSaleAtmosphereInfo, FlashSaleEnhancementInfo, FlashSaleStock, FlyingMicResources, FollowInfo, FontStyle, FrequencyControl, GalleryData, GalleryData_ProgressEntry, GameAction, GameActionType, GamePlayContent, GameRankNotifyMessageMsgType, GameTricksShortcut, GamepadTaskType, Gift, GiftBoxInfo, GiftColorInfo, GiftEffect, GiftEffectCrossScreenStickerSpec, GiftEffectCrossScreenStickerSpec_ActionAssetIdsEntry, GiftEffectCrossScreenStickerSpec_ReactionAssetIdsEntry, GiftEffectCrossScreenStickerSpec_SingleActionAssetIdsEntry, GiftEffectLynxSpec, GiftEffectPrefabSpec, GiftEffectSerialSpec, GiftEffectSpecs, GiftEffectStreamSpec, GiftEffect_EventTrackingParamsEntry, GiftGalleryBadgeInfo, GiftGalleryBadgeSection, GiftIMPriority, GiftInfo, GiftInfoInBox, GiftLockInfo, GiftMessageIgnoreConfig, GiftMessageVersion, GiftModeMeta, GiftModeMetaList, GiftModeMetaV2, GiftModeMetaV2_AnchorGiftModeMetaByTypeEntry, GiftMonitorInfo, GiftPanelBanner, GiftPanelBeaconBubble, GiftPanelBeaconBubbleType, GiftPermissionType, GiftPick, GiftPickExtra, GiftPickExtraGameInteraction, GiftPickExtraGameInteractionExternal, GiftPickExtraGameInteractionStorage, GiftPickExtraGameTricks, GiftPickExtraGameTricksExternal, GiftPickExtraGameTricksStorage, GiftPickWithScore, GiftRandomEffectInfo, GiftResource, GiftSeriesInfo, GiftShowType, GiftSkin, GiftSkinToGiftTextsInfo, GiftSource, GiftSponsorInfo, GiftStructSchemeGiftType, GiftText, GiftTrayInfo, GiftTrayStyle, Gift_BizExtraEntry, Gift_GiftResourcesEntry, Gift_TrackerParamsEntry, GiftsBoxInfo, GoalComparison, GoalData, GoalData_GoalProgressEntry, GoalMessageSource, GoalPinInfo, GoalReward, GoalStats, GradeIcon, GroupChangeContent, GroupChannelAllUser, GroupChannelUser, GroupPlayer, GroupStatus, GuestMicCameraChangeScene, GuestMicCameraManageOp, GuestUserInfo, GuideMessageFrequencyRule, Hashtag, HashtagNamespace, HeartBeatMessage, HighScoreControlCfg, HitABStatus, HorizontalPaddingRule, HotKey, HotTag, HourlyRankRewardInfo, IceShowdownSetting, IconConfig, ImageBadge, ImageModel, Img, InteractiveGiftInfo, InvitationReorderExtra, InviteBizContent, InviteContent, InviteTopHostInfo, InviterRivalExtra, JoinDirectBizContent, JoinDirectContent, JoinGroupBizContent, JoinGroupBizContent_AbInfosEntry, JoinGroupContent, JoinGroupDirectBizContent, JoinGroupDirectContent, JoinGroupMessageExtra, JoinGroupMessageExtra_RivalGuestsMapEntry, JoinRoomDirectBizContent, JoinRoomDirectContent, JoinType, JumpPage, JustDanceExtra, JustDanceLayoutExtra, KeyBoardHotKey, KickOutBizContent, KickOutContent, KickoutReason, LabelConfig, LayoutData, LayoutEnlargeStatus, LayoutState, LayoutStyle, LeagueScoreInfo, LeaveContent, LeaveJoinGroupContent, LikeEffect, LinkEnvelopeContent, LinkEnvelopeMessagePayload, LinkLayerListUser, LinkLayerMessageType, LinkListChangeContent, LinkListStatus, LinkListUser, LinkMicArmiesTriggerReason, LinkMicAudienceInviteGuide, LinkMicAudienceNoticeText, LinkMicAudienceTurnOnGuide, LinkMicBattleBattleAction, LinkMicBattlePunishFinishReason, LinkMicGiftGalleryDisplayText, LinkMicUserAdminType, LinkPosition, LinkRoleType, LinkSilenceStatus, LinkType, LinkUserIdentity, LinkUserState, LinkUserType, LinkedListChangeContent, LinkerAcceptNoticeContent, LinkerCancelContent, LinkerCloseContent, LinkerCreateContent, LinkerEnterContent, LinkerInfo, LinkerInviteContent, LinkerInviteContent_RtcExtInfoMapEntry, LinkerInviteMessageExtra, LinkerKickOutContent, LinkerLeaveContent, LinkerListChangeContent, ListUser as LinkerListUser, LinkerMediaChangeContent, LinkerMediaChangeOperator, LinkerMicIdxUpdateContent, LinkerMicIdxUpdateInfo, LinkerMode, LinkerMuteContent, LinkerRandomMatchContent, LinkerReplyContent, LinkerReplyContent_ApplierMicIdxInfoMapEntry, LinkerReplyContent_RtcExtInfoMapEntry, LinkerSetting, LinkerSysKickOutContent, LinkerUpdateUserContent, LinkerUpdateUserContent_UpdateInfoEntry, LinkerUserType, LinkerWaitingListChangeContent, LinkmicApplierSortSetting, LinkmicAudienceApplyGuide, LinkmicAudienceInviteGroupChatMemberGuide, LinkmicDisplayText, LinkmicDisplayTextPieces, LinkmicGiftExpressionStrategy, LinkmicInfo, LinkmicMultiLiveEnum, LinkmicPlayType, LinkmicReplyType, LinkmicShareRevenueSetting, LinkmicShareRevenueSettingStruct, LinkmicStatus, LinkmicUserInfo, LinkmicUserSettingDisableVideoLinkmic, LinkmicUserSettingLayout, LinkmicUserSettingMultiGuestApplyAutoApprove, LinkmicUserSettingShowAction, LinkmicUserStatus, LinkmicUserToastContent, ListChangeBizContent, ListChangeBizContent_AbInfosEntry, ListChangeBizContent_GuestUserInfosEntry, ListChangeBizContent_UserInfosEntry, LiveEventInfo, LiveEventInfoEventPayMethod, LiveEventInfo_WalletPkgDictEntry, LiveFlashSaleInfo, LiveMessageID, LiveMessageSEI, LivePermissionInfo, LiveStreamGoal, LiveStreamGoalContributor, LiveStreamGoalIndicator, LiveStreamSubGoal, LiveStreamSubGoalGift, LokiExtraContent, LynxCrossScreenEffectInfo, LynxGiftExtra, MatchGameplayOption, MatchInfo, MatchInfoMultiplierType, MatchInvitePanelConfig, MatchOpeningAnimationConfig, MatchPunishEffectInfo, MatchPunishEffectInfo_EffectToEffectStructMapEntry, MatchPunishEffectInfo_UserToEffectMapEntry, MatchPunishExtraInfo, MatchThemeDisplayResource, MatchTitleBarConfig, MatchTitleBarDisplayRule, MatchTitleBarTrigger, MediaState, MemberMessageAction, Text as MessageCommonText, MessageDisplayInfo, MessageDisplayStyle, MessageEntity, FlashSaleEnhancementInfo$1 as MessageFlashSaleEnhancementInfo, MessageRedEnvelopInfo, SponsorshipInfo as MessageSponsorshipInfo, MessageType, UserInfo as MessageUserInfo, MicIdxOperation, MicPositionData, MigrationDetails, AnchorInfo as ModelAnchorInfo, AuthenticationInfo$1 as ModelAuthenticationInfo, MouseHotKey, MsgFilter, MsgMeta, MultiGuestBizLayoutExtra, MultiGuestBizSpotExtra, MultiGuestLayoutExtra, MultiGuestLayoutNonSeiExtra, MultiGuestOutsideRoomInviteSource, MultiGuestSpotExtra, MultiGuestSpotNonSeiExtra, MultiLiveAnchorPanelSettings, MultiLiveContent, MultiLiveUpdateUserSettingContent, MusicGiftInfo, MuteStatus, NetworkState, NotifyHighlightContent, NotifyHighlightInfo, NumberConfig, OecLiveShoppingMessageV2, OecLiveShoppingMessageV2_ActionsEntry, Tag as OecMsgTag, UserInfo$1 as OecMsgUserInfo, OfflineGameInfo, OffliveInviteInfo, OldSubscribeStatus, OnlineUserState, OpType, OperationInfo, OperationState, OptPairInfo, OptPairStatus, OwnRoom, P2PGroupChangeContent, PaddingInfo, PaidEventPreview, PartnershipDropsUpdateMessageChangeMode, PartnershipGameOfflineMessageOfflineGameInfoOfflineType, PatternRef, PatternRef_KeyGroupsEntry, PerceptionDialogIconType, PerceptionDialogInfo, PerceptionFeedbackOption, PerceptionSheetInfo, PermitApplyContent, PermitBizContent, PermitJoinGroupBizContent, PermitJoinGroupContent, PinCardType, PinMessageActionType, PlaceholderInfo, PlayScene, PlayUserTag, PlaybookBizExtra, PlaybookBizExtra_CustomAtomicCapabilitiesEntry, Player, PollAppealStatus, PollBasicInfo, PollEndContent, PollEndType, PollKind, PollOptionInfo, PollStartContent, PollTemplateStatus, PollUpdateVotesContent, PopCardInfo, PopProduct, PopUpInfo, PopupWindowInfo, PortraitInfo, PortraitTag, PosIdentity, PosIdentityExtra, PosIdentityType, Position, PotionCardInfo, PrefabBundle, PreviewPeriod, PriceHideInfo, PriceItem, PrivilegeLogExtra, ProductAtmosphereTag, ProductItem, ProductSnapShot, ProfileCardPanel, ProfileContent, ProfileExtra, ProfileExtraGameInteraction, ProfileExtraGameInteractionExternal, ProfileExtraGameInteractionStorage, ProfileExtraGameTricks, ProfileExtraGameTricksExternal, ProfileExtraGameTricksStorage, ProfitRankType, Progress, ProjectionConfig, PromotionInfo, ProtoMessageFetchResult, ProtoMessageFetchResult_RouteParamsEntry, PublicAreaCommon, PublicAreaMessageCommon, PublicAreaMessageCommonCreatorSuccessInfoTopicDisplayLocation, PublicAreaMessageCommonPortraitInfoUserMetricsUserMetricsType, PunishEventInfo, PunishTypeId, PushHeader, Question, QuickCohostInviteeUserInfo, RTCBitRateMap, RTCEngineConfig, RTCExtraInfo, RTCInfoExtra, RTCLiveVideoParam, RTCMixBase, RTCOther, RTCVideoParam, RandomGiftBubble, RandomGiftPanelBanner, RandomMatchContent, RandomMatchContentUserInfo, RankAnimationInfo, RankListTabInfo, RankTabInfo, RankTextMessageRankTestMessageScene, RankUpdate, RankUserEnigmaInfo, ReceiverRestriction, RecommendComment, RecommendedPlaybookInfo, RecommendedPlaybookInfo_PlaybookBizExtrasEntry, RefreshLiveBagInfo, ReplyBizContent, ReplyInviteContent, ReplyStatus, ReqItem, ReserveInfo, ReserveReplyStatus, ResolutionDemandPayload, ResourceModel, RewardCondition, RewardPeriodConfig, RightLabel, RivalExtra, RivalExtraInfo, RivalExtraInfoAnchorLayer, RivalExtraInfoBattleInfoBattleInfoType, RivalExtraInfoInviteBlockReason, RivalExtraInfoTextType, RivalGuestExtra, RivalGuestExtras, RivalsGameTag, RoomBasedGiftData, RoomBasedGiftData_RoomBasedGiftsEntry, RoomBasedGifts, RoomNotifyMessageEventTracking, RoomNotifyMessageExtra, RtcConnectionState, SOVBriefInfo, SOVLockInfoType, SOVMaskInfo, SOVMaskInfoType, SOVPinCardInfo, SOVStatus, Scene, SceneRestriction, SchemeInfo, ScoreType, ScrollElement, SecondDegreeRelationContent, SecondaryEffectInfo, SellingPoint, SeparatorConfig, SettleInfo, ShopBrandLogo, ShopEntranceInfo, ShopLabelImage, ShowResult, ShowType, ShowcaseEntranceInfo, SimilarInterestContent, SmokeCardInfo, SocialGameLayoutExtra, SocialGameLayoutNonSeiExtra, SocialGameUserSpotExtra, SocialGameUserSpotNonSeiExtra, SoundWareEffectExtra, SourceType, SpecialEffectCardInfo, SpecialEffectNotice, SpecifiedDisplayText, SpotInfo, StateType, StoreIdentityLabel, StoreLabel, StoreOfficialLabel, StretchableBackgroundImage, StringBadge, SubGoalContribution, SubGoalPinCard, SubGoalPinInfo, SubOnlyVideosBriefInfo, SubPinCard, SubPinCardExtra, SubPinCardText, SubPinCardTextTextType, SubPinCardTextTextType_2, SubPinEventMessageActionType, SubSplitPeriod, SubSplitStatus, SubscribeBadge, SubscribeInfo, SubscribeType, SubscribingStatus, SubtitleSettings, SupportedActionsWrapper, SystemMessage, Tag$1 as Tag, TagItem, TagItem_EventTrackingFieldsEntry, TagType, TagV2, TagV2TagClassification, TaskPeriodConfig, TeamInfo, TeamMatchCampaign, TeamRankBonusTime, TeamUser, TeamUsersInfo, TemplateContent, TemplateEffectExtra, Text$1 as Text, TextBadge, TextEffect, TextFormat, TextPiece, TextPieceGift, TextPieceHeart, TextPieceImage, TextPiecePatternRef, TextPieceUser, TextType, TimeInfo, TimerDetail, TimerDetailAntidirtStatus, TimerDetailAuditInfo, TimerDetailAuditStatus, TimerDetailAuditTaskType, TimerStatus, Title, TitleBarDisplayResource, TitleData, Top2CardInfo, Top3CardInfo, TopHostInfo, Topic, TopicActionType, Topic_EventTrackingFieldsEntry, TraceInfo, TransitionConfig, TriggerCondition, UGGiftStructInfo, UnionAnimationInfo, UnionAnimationInfoType, UrlDataStruct, UseCriticalStrikeCard, UseExtraTimeCard, UsePotionCard, UseSmokeCard, UseSpecialEffectCard, UseTop2Card, UseTop3Card, UseVaultGloveCard, UseWaveCard, User, UserArmiesWrapper, UserAttr, UserAttr_AdminPermissionsEntry, UserBadge, UserBadge_IconsEntry, UserCountdownInfo, UserEcommerceEntranceCreatorType, UserEcommerceEntranceEntranceType, UserEcommerceEntranceSellingPointLiveSellingPointType, UserEcommerceEntranceShopEntranceInfoStoreLabelShopIdentityLabelType, UserEcommerceEntranceShopEntranceInfoStoreLabelStoreBrandLabelType, UserEcommerceEntranceViewVersion, UserEmoteUploadSource, UserFanTicket, UserFansClubFansClubDataUserFansClubStatus, UserGroup, UserHonor, UserIdentity, UserInfo$2 as UserInfo, UserInteractionInfo, UserMetrics, UserModelPredictionData, UserModelPredictionData_ModelPredictionDataEntry, UserPlayInfo, UserSubscribeInfoPayStatus, UserSuggestionInfo, ValidRanks, VaultGloveCardInfo, VerticalPaddingRule, VideoResource, ViewerPickAnchorParam, ViewerPicksHeaderImage, ViewerPicksInfo, VirtualWaitingUser, VoteUser, Voucher, VoucherItem, WalletPackage, WaveAlgorithmData, WaveCardInfo, WebcastAccessControlMessage, WebcastAccessRecallMessage, WebcastBarrageMessage, WebcastBoostCardMessage, WebcastBottomMessage, WebcastCapsuleMessage, WebcastCaptionMessage, WebcastChatMessage, WebcastControlMessage, WebcastEmoteChatMessage, WebcastEnvelopeMessage, WebcastGameRankNotifyMessage, WebcastGiftBroadcastMessage, WebcastGiftDynamicRestrictionMessage, WebcastGiftMessage, WebcastGiftPanelUpdateMessage, WebcastGiftPromptMessage, WebcastGoalUpdateMessage, WebcastGuideMessage, WebcastHourlyRankRewardMessage, WebcastImDeleteMessage, WebcastImEnterRoomMessage, WebcastInRoomBannerMessage, WebcastLikeMessage, WebcastLinkLayerMessage, WebcastLinkMessage, WebcastLinkMicArmies, WebcastLinkMicArmies_ArmiesEntry, WebcastLinkMicBattle, WebcastLinkMicBattleItemCard, WebcastLinkMicBattlePunishFinish, WebcastLinkMicBattle_AnchorMatchSettingsEntry, WebcastLinkMicBattle_BattleComboV2Entry, WebcastLinkMicBattle_BattleResultEntry, WebcastLinkMicBattle_LeagueInfoMapEntry, WebcastLinkMicBattle_LeagueScoreInfoMapEntry, WebcastLinkMicBattle_TrackingExtraEntry, WebcastLinkMicFanTicketMethod, WebcastLinkMicLayoutStateMessage, WebcastLinkMicMethod, WebcastLinkStateMessage, WebcastLinkmicBattleTaskMessage, WebcastLiveGameIntroMessage, WebcastLiveIntroMessage, WebcastMarqueeAnnouncementMessage, WebcastMemberMessage, WebcastMemberMessage_AdminPermissionsEntry, WebcastMsgDetectMessage, WebcastNoticeMessage, WebcastOecLiveShoppingMessage, WebcastPartnershipDropsUpdateMessage, WebcastPartnershipGameOfflineMessage, WebcastPartnershipPunishMessage, WebcastPerceptionMessage, WebcastPollMessage, WebcastPushFrame, WebcastQuestionNewMessage, WebcastRankTextMessage, WebcastRankUpdateMessage, WebcastRoomMessage, WebcastRoomNotifyMessage, WebcastRoomPinMessage, WebcastRoomUserSeqMessage, WebcastRoomVerifyMessage, WebcastSocialMessage, WebcastSpeakerMessage, WebcastSubNotifyMessage, WebcastSubPinEventMessage, WebcastSystemMessage, WebcastToastMessage, WebcastUnauthorizedMemberMessage, WebcastViewerPicksUpdateMessage };
