1(self.webpackChunknimo_web_frontend=self.webpackChunknimo_web_frontend||[]).push([[78189],{6437:function(t,e,o){var n={"./ar":69478,"./ar.js":69478,"./es":12865,"./es.js":12865,"./fi":95032,"./fi.js":95032,"./hi":28306,"./hi.js":28306,"./id":70824,"./id.js":70824,"./ja":61164,"./ja.js":61164,"./ms":69545,"./ms.js":69545,"./my":90255,"./my.js":90255,"./pt-br":35830,"./pt-br.js":35830,"./ru":86456,"./ru.js":86456,"./th":50309,"./th.js":50309,"./vi":13672,"./vi.js":13672,"./zh-hk":78705,"./zh-hk.js":78705};function r(t){return o(a(t))}function a(t){if(!o.o(n,t)){var e=Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return n[t]}r.keys=function(){return Object.keys(n)},r.resolve=a,t.exports=r,r.id=6437},21548:function(t,e,o){"use strict";o.r(e),o.d(e,{default:function(){return ty}}),o(71670);var n,r=o(38930),a=o(50513),i=o(13007),s=o(61684),u=o(64348),l=o(45091),d=o(88342),p=o(60301),c=o(72047),m=o(38931),h=o.n(m),f=o(52701),I=o(8153),S=o(12100),v=o.n(S);o(38182);var y=function(){this.user=new I.A.UserId,this.lRoomId=0};y.prototype._clone=function(){return new I.A.GetUserCampSupportInfoReq},y.prototype._write=function(t,e,o){t.writeStruct(e,o)},y.prototype._read=function(t,e,o){return t.readStruct(e,!0,o)},y.prototype.writeTo=function(t){t.writeStruct(0,this.user),t.writeInt64(1,this.lRoomId)},y.prototype.readFrom=function(t){this.user=t.readStruct(0,!1,this.user),this.lRoomId=t.readInt64(1,!1,this.lRoomId)},I.A.GetUserCampSupportInfoReq=y;var C=function(){this.lTid=0,this.sLogoUrl="",this.iCamp=0,this.iCampStat=0,this.sName=""};C.prototype._clone=function(){return new I.A.CampTeam},C.prototype._write=function(t,e,o){t.writeStruct(e,o)},C.prototype._read=function(t,e,o){return t.readStruct(e,!0,o)},C.prototype.writeTo=function(t){t.writeInt32(0,this.lTid),t.writeString(1,this.sLogoUrl),t.writeInt32(2,this.iCamp),t.writeInt32(3,this.iCampStat),t.writeString(4,this.sName)},C.prototype.readFrom=function(t){this.lTid=t.readInt32(0,!1,this.lTid),this.sLogoUrl=t.readString(1,!1,this.sLogoUrl),this.iCamp=t.readInt32(2,!1,this.iCamp),this.iCampStat=t.readInt32(3,!1,this.iCampStat),this.sName=t.readString(4,!1,this.sName)},I.A.CampTeam=C;var g=function(){this.lRoomId=0,this.lMatchId=0,this.lRoundId=0,this.iState=0,this.vCamps=new(v()).Vector(new I.A.CampTeam),this.vRoomIds=new(v()).Vector(new(v()).INT64),this.lStartTime=0};g.prototype._clone=function(){return new I.A.CampSupportInfo},g.prototype._write=function(t,e,o){t.writeStruct(e,o)},g.prototype._read=function(t,e,o){return t.readStruct(e,!0,o)},g.prototype.writeTo=function(t){t.writeInt64(0,this.lRoomId),t.writeInt64(1,this.lMatchId),t.writeInt64(2,this.lRoundId),t.writeInt32(3,this.iState),t.writeVector(4,this.vCamps),t.writeVector(5,this.vRoomIds),t.writeInt64(6,this.lStartTime)},g.prototype.readFrom=function(t){this.lRoomId=t.readInt64(0,!1,this.lRoomId),this.lMatchId=t.readInt64(1,!1,this.lMatchId),this.lRoundId=t.readInt64(2,!1,this.lRoundId),this.iState=t.readInt32(3,!1,this.iState),this.vCamps=t.readVector(4,!1,this.vCamps),this.vRoomIds=t.readVector(5,!1,this.vRoomIds),this.lStartTime=t.readInt64(6,!1,this.lStartTime)},I.A.CampSupportInfo=g;var R=function(){this.iHadRound=0,this.tInfo=new I.A.CampSupportInfo,this.iCamp=0};R.prototype._clone=function(){return new I.A.GetUserCampSupportInfoRsp},R.prototype._write=function(t,e,o){t.writeStruct(e,o)},R.prototype._read=function(t,e,o){return t.readStruct(e,!0,o)},R.prototype.writeTo=function(t){t.writeInt32(0,this.iHadRound),t.writeStruct(1,this.tInfo),t.writeInt32(2,this.iCamp)},R.prototype.readFrom=function(t){this.iHadRound=t.readInt32(0,!1,this.iHadRound),this.tInfo=t.readStruct(1,!1,this.tInfo),this.iCamp=t.readInt32(2,!1,this.iCamp)},I.A.GetUserCampSupportInfoRsp=R;var w=function(){this.user=new I.A.UserId,this.lRoomId=0,this.lMatchId=0,this.lRoundId=0,this.iCamp=0};w.prototype._clone=function(){return new I.A.SetUserCampSupportReq},w.prototype._write=function(t,e,o){t.writeStruct(e,o)},w.prototype._read=function(t,e,o){return t.readStruct(e,!0,o)},w.prototype.writeTo=function(t){t.writeStruct(0,this.user),t.writeInt64(1,this.lRoomId),t.writeInt64(2,this.lMatchId),t.writeInt64(3,this.lRoundId),t.writeInt32(4,this.iCamp)}
1,w.prototype.readFrom=function(t){this.user=t.readStruct(0,!1,this.user),this.lRoomId=t.readInt64(1,!1,this.lRoomId),this.lMatchId=t.readInt64(2,!1,this.lMatchId),this.lRoundId=t.readInt64(3,!1,this.lRoundId),this.iCamp=t.readInt32(4,!1,this.iCamp)},I.A.SetUserCampSupportReq=w;var b=function(){this.lRoomId=0,this.lMatchId=0,this.lRoundId=0,this.iBlue=0,this.iRed=0};b.prototype._clone=function(){return new I.A.CampStat},b.prototype._write=function(t,e,o){t.writeStruct(e,o)},b.prototype._read=function(t,e,o){return t.readStruct(e,!0,o)},b.prototype.writeTo=function(t){t.writeInt64(0,this.lRoomId),t.writeInt64(1,this.lMatchId),t.writeInt64(2,this.lRoundId),t.writeInt32(3,this.iBlue),t.writeInt32(4,this.iRed)},b.prototype.readFrom=function(t){this.lRoomId=t.readInt64(0,!1,this.lRoomId),this.lMatchId=t.readInt64(1,!1,this.lMatchId),this.lRoundId=t.readInt64(2,!1,this.lRoundId),this.iBlue=t.readInt32(3,!1,this.iBlue),this.iRed=t.readInt32(4,!1,this.iRed)},I.A.CampStat=b;var _=function(){this.lRoomId=0,this.lMatchId=0,this.lRoundId=0,this.iCamp=0,this.tCampStat=new I.A.CampStat,this.iState=0,this.lStartTime=0};_.prototype._clone=function(){return new I.A.SetUserCampSupportRsp},_.prototype._write=function(t,e,o){t.writeStruct(e,o)},_.prototype._read=function(t,e,o){return t.readStruct(e,!0,o)},_.prototype.writeTo=function(t){t.writeInt64(0,this.lRoomId),t.writeInt64(1,this.lMatchId),t.writeInt64(2,this.lRoundId),t.writeInt32(3,this.iCamp),t.writeStruct(4,this.tCampStat),t.writeInt32(5,this.iState),t.writeInt64(6,this.lStartTime)},_.prototype.readFrom=function(t){this.lRoomId=t.readInt64(0,!1,this.lRoomId),this.lMatchId=t.readInt64(1,!1,this.lMatchId),this.lRoundId=t.readInt64(2,!1,this.lRoundId),this.iCamp=t.readInt32(3,!1,this.iCamp),this.tCampStat=t.readStruct(4,!1,this.tCampStat),this.iState=t.readInt32(5,!1,this.iState),this.lStartTime=t.readInt64(6,!1,this.lStartTime)},I.A.SetUserCampSupportRsp=_;var M=o(55473),O={kCampTypeNeutral:0,kCampTypeBlue:1,kCampTypeRed:2};I.A.ECampType=O;var k=o(32722),T=o(24824);function A(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(A=function(){return!!t})()}var j=new(n=function(t){function e(){var t,o;return(0,i.default)(this,e),t=e,o=arguments,t=(0,l.default)(t),(0,u.default)(this,A()?Reflect.construct(t,o||[],(0,l.default)(this).constructor):t.apply(this,o))}return(0,d.default)(e,t),(0,s.default)(e,[{key:"getUserCampSupportInfo",value:function(t){var e=new y;return e.lRoomId=t,this.setUserId(e.user),this.fetch("getUserCampSupportInfo",e,R)}},{key:"setUserCampSupport",value:function(t){var e=new w,o=t.lRoomId,n=t.lMatchId,r=t.lRoundId,a=t.iCamp;return e.lRoomId=o,e.lMatchId=n,e.lRoundId=r,e.iCamp=a,this.setUserId(e.user),this.fetch("setUserCampSupport",e,_,{customHandleError:!0})}}])}(k.Ay),(0,f.A)(n.prototype,"getUserCampSupportInfo",[T.A],Object.getOwnPropertyDescriptor(n.prototype,"getUserCampSupportInfo"),n.prototype),(0,f.A)(n.prototype,"setUserCampSupport",[T.A],Object.getOwnPropertyDescriptor(n.prototype,"setUserCampSupport"),n.prototype),n),E=o(72487),U=o(93970),N=o(52822),P=o(97131),B=o(58299),x=o(91041),D=o(63149),W=o(39621),V=o(87138),L=o(3455),F=o(10232),H=function(){this.tInfo=new I.A.CampSupportInfo};H.prototype._clone=function(){return new I.A.WS_MatchRoundChange},H.prototype._write=function(t,e,o){t.writeStruct(e,o)},H.prototype._read=function(t,e,o){return t.readStruct(e,!0,o)},H.prototype.writeTo=function(t){t.writeStruct(0,this.tInfo)},H.prototype.readFrom=function(t){this.tInfo=t.readStruct(0,!1,this.tInfo)},I.A.WS_MatchRoundChange=H;var z=function(){this.tCampStat=new I.A.CampStat};z.prototype._clone=function(){return new I.A.WS_CampStatChange},z.prototype._write=function(t,e,o){t.writeStruct(e,o)},z.prototype._read=function(t,e,o){return t.readStruct(e,!0,o)},z.prototype.writeTo=function(t){t.writeStruct(0,this.tCampStat)},z.prototype.readFrom=function(t){this.tCampStat=t.readStruct(0,!1,this.tCampStat)},I.A.WS_CampStatChange=z;var K=function(){this.lRoomId=0,this.lMatchId=0,this.lRoundId=0,this.iCamp=0,this.tCampStat=new I.A.CampStat};K.prototype._clone=function(){return new I.A.WS_SetUserCampSupport},K.prototype._write=function(t,e,o){t.writeStruct(e,o)},K.prototype._read=function(t,e,o){return t.readStruct(e,!0,o)},K.prototype.writeTo=function(t){t.writeInt64(0,this.lRoomId),t.writeInt64(1,this.lMatchId),t.writeInt64(2,this.lRoundId),t.writeInt32(3,this.iCamp),t.writeStruct(4,this.tCampStat)},K.prototype.readFrom=function(t){this.lRoomId=t.readInt64(0,!1,this.lRoomId),this.lMatchId=t.readInt64(1,!1,this.lMatchId),this.lRoundId=t.readInt64(2,!1,this.lRoundId),this.iCamp=t.readInt32(3,!1,this.iCamp),this.tCampStat=t.readStruct(4,!1,this.tCampStat)},I.A.WS_SetUserCampSupport=K;var Y=o(18075),q=o(9300);function G(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(G=function(){return!!t})()}var X=Y.A.EUriMatchRoundChange,Q=Y.A.EUriCampStatChange,J=Y.A.EUriSetUserCampSupport,Z=new(function(t){function e(){var t,o;return(0,i.default)(this,e),t=e,o=arguments,t=(0,l.default)(t),(0,u.default)(this,G()?Reflect.construct(t,o||[],(0,l.default)(this).constructor):t.apply(this,o))}return(0,d.default)(e,t),(0,s.default)(e)}(q.A))({broadcasts:{WS_MatchRoundChange:[X,H],WS_CampStatChange:[Q,z],WS_SetUserCampSupport:[J,K]}}),$=o(81454);function tt(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tt=function(){return!!t})()}var te=Y.A.EUriMatchRoundChange,to=Y.A.EUriCampStatChange,tn=Y.A.EUriSetUserCampSupport,tr=new(function(t){function e(){var t,o;return(0,i.default)(this,e),t=e,o=arguments,t=(0,l.default)(t),(0,u.default)(this,tt()?Reflect.construct(t,o||[],(0,l.default)(this).constructor):t.apply(this,o))}return(0,d.default)(e,t),(0,s.default)(e)}($.dm))({broadcasts:{WS_MatchRoundChange:[te,H],WS_CampStatChange:[to,z],WS_SetUserCampSupport:[tn,K]}}),ta=o(81842),ti=o(60713),ts=["prefixCls","className","dataSource","langPkg","roomId","onClickSupport","dispatch","roomInfo","isWap","isInNimoApp"];function tu(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)}return o}function tl(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};
1e%2?tu(Object(o),!0).forEach(function(e){(0,p.default)(t,e,o[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):tu(Object(o)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))})}return t}function td(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(td=function(){return!!t})()}var tp=B.Ay.log,tc=O||{},tm=tc.kCampTypeNeutral,th=tc.kCampTypeBlue,tf=tc.kCampTypeRed,tI=(0,p.default)((0,p.default)((0,p.default)({},tm,""),th,"blue"),tf,"red"),tS=M.A.kMRC_OVERFREQUENCY,tv=function(t){function e(t){var o,n,r,a;return(0,i.default)(this,e),n=e,r=[t],n=(0,l.default)(n),o=(0,u.default)(this,td()?Reflect.construct(n,r||[],(0,l.default)(this).constructor):n.apply(this,r)),(0,p.default)(o,"initSocket",function(){var t=o.props,e=t.isInNimoApp,n=t.roomInfo;return e&&!o.isInitSocket&&null!=n&&n.roomId&&null!=n&&n.auId?(0,ta.zn)(18).then(function(t){if(t)tp("èµäºç»ä»¶ââéä¼ "),tr.messenger=o._messenger,tr.registerSocketMsg({ids:["WS_MatchRoundChange","WS_CampStatChange","WS_SetUserCampSupport"]}),o.socketModel=tr;else{tp("èµäºç»ä»¶ââèªå»ºé¿è¿æ¥");var e=n.roomId,r=n.auId,a=n.nickname,i=n.gameId,s=n.anchorLang;F.A.initInNimoApp({roomId:e,auId:r,nickname:a,gameId:i,anchorLang:s}),o.socketModel=Z}}).finally(function(){o.registerOrUnregisterSocket(1)}):null}),(0,p.default)(o,"registerOrUnregisterSocket",function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;o.socketModel&&(1===t?(o.socketModel.on("WS_MatchRoundChange",o.handleMatchRoundChange),o.socketModel.on("WS_CampStatChange",o.handleCampStatChange),o.socketModel.on("WS_SetUserCampSupport",o.handleUserCampSupportChange)):(o.socketModel.off("WS_MatchRoundChange",o.handleMatchRoundChange),o.socketModel.off("WS_CampStatChange",o.handleCampStatChange),o.socketModel.off("WS_SetUserCampSupport",o.handleUserCampSupportChange)))}),(0,p.default)(o,"getUserCampSupportInfo",function(){var t=(o.props.roomInfo||{}).roomId;j.getUserCampSupportInfo(t).then(function(t){var e=t||{},n=e.iCamp,r=e.iHadRound,a=e.tInfo;1===r&&(o.updateMatchRoundVisible(t),o.updateSelectedCamp(n),o.updateCampSupportInfo(a))})}),(0,p.default)(o,"handleClickSupport",function(t,e){var n=o.props,r=n.langPkg,a=n.showSecondaryConfirmModal,i=n.roomInfo,s=n.isWap,u=(i||{}).roomId,l=((r||{}).toast||{}).tooFrequent,d=o.state,p=d.lRoomId,c=d.lMatchId,m=d.lRoundId;return(o.report.ClickTeamPK(e,m,u),s&&a)?a("teamPK","teamPK"):D.A.checkLogin(!0).then(function(e){e&&j.setUserCampSupport({lRoomId:p,lMatchId:c,lRoundId:m,iCamp:t}).then(function(t){o.handleSetUserCampSupportRsp(t)}).catch(function(t){(t||{}).returnValue===tS&&ti.A.warning(l)})})}),(0,p.default)(o,"handleClickRuleBtn",function(){o.setState(function(t){return{ruleOpen:!t.ruleOpen}})}),(0,p.default)(o,"handleMouseEnterRuleBtn",function(){o.setState({ruleOpen:!0})}),(0,p.default)(o,"handleMouseLeavePanel",function(){o.setState({ruleOpen:!1})}),(0,p.default)(o,"handleMatchRoundChange",function(t){var e=o.state.lRoomId,n=(t||{}).tInfo,r=null==n?void 0:n.iState;-1!==((null==n?void 0:n.vRoomIds)||[]).indexOf(e)&&(1===r||3===r?o.updateCampSupportInfo(n):o.setState({visible:!1}))}),(0,p.default)(o,"handleCampStatChange",function(t){var e=(null==t?void 0:t.tCampStat)||{},n=e.lRoomId,r=e.lMatchId,a=e.lRoundId;o.checkValidation({lRoomId:n,lMatchId:r,lRoundId:a})&&o.updateCampBlueSupportRate(e)}),(0,p.default)(o,"handleUserCampSupportChange",function(t){o.handleSetUserCampSupportRsp(t)}),(0,p.default)(o,"handleSetUserCampSupportRsp",function(t){var e=o.props.isInNimoApp,n=t||{},r=n.lRoomId,a=n.lMatchId,i=n.lRoundId,s=n.iCamp,u=n.tCampStat;o.checkValidation({lRoomId:r,lMatchId:a,lRoundId:i})&&(o.updateSelectedCamp(s),o.updateSelectedCampToolTip(!0),o.autoHideToolTip&&clearTimeout(o.autoHideToolTip),e&&(o.autoHideToolTip=setTimeout(function(){o.updateSelectedCampToolTip(!1)},2e3)),o.updateCampBlueSupportRate(u))}),(0,p.default)(o,"updateSelectedCamp",function(t){o.setState({selectedCamp:t})}),(0,p.default)(o,"updateSelectedCampToolTip",function(t){o.toolTip&&o.toolTip.setState({visible:t})}),(0,p.default)(o,"updateCampBlueSupportRate",function(t){var e,n,r=t||{},a=(e=r.iBlue,0===(n=e+r.iRed)||isNaN(n)?.5:Number((e/n).toFixed(3)));o.setState({campBlueSupportRate:a})}),(0,p.default)(o,"updateCampSupportInfo",function(t){var e,n=t||{},r=n.iState,a=n.lRoomId,i=n.lMatchId,s=n.lRoundId,u=n.vCamps,l=n.vRoomIds,d=n.lStartTime,c=((e=u)&&e||[]).reduce(function(t,e){return tI[e.
1iCamp]&&(t[tI[e.iCamp]]=tl(tl({},e),{},{iCampCls:tI[e.iCamp]})),t},{}),m=c[tI[th]],h=c[tI[tf]];o.updateCampBlueSupportRate({iBlue:null==m?void 0:m.iCampStat,iRed:null==h?void 0:h.iCampStat}),o.report.showTeamPK(s,a),o.setState((0,p.default)((0,p.default)((0,p.default)({vRoomIds:l||[],lRoomId:a,lMatchId:i,lRoundId:s,lStartTime:3===r?d:0},tI[th],m),tI[tf],h),"visible",1===r||3===r))}),(0,p.default)(o,"checkValidation",function(t){var e=o.state,n=e.lRoomId,r=e.lMatchId,a=e.lRoundId,i=e.vRoomIds,s=t.lRoomId,u=t.lMatchId,l=t.lRoundId;return(n===s||i.indexOf(s)>-1)&&r===u&&a===l}),(0,p.default)(o,"updateMatchRoundVisible",function(t){var e=(o.props.roomInfo||{}).roomId,n=(t||{}).tInfo||{},r=n.vRoomIds,a=n.iState;o._setVisible(1===a||Array.isArray(r)&&~r.indexOf(e))}),(0,p.default)(o,"_setVisible",function(t){o.setState({visible:t})}),o.state={lRoomId:0,lMatchId:0,lRoundId:0,vRoomIds:[],selectedCamp:0,campBlueSupportRate:.5,ruleOpen:!1,visible:!1,lStartTime:0},o._messenger=$.Rg.getInstance(),a=t.nimoReport,o.report={ClickTeamPK:function(t,e,o){a.report(a.formatReportObj("usr/click/match/teampk","èµäºæépkç¹å»",{teamid_:t,scheduleid_:e,roomid_:o}))},showTeamPK:function(t,e){a.report(a._formatReportObj("sys/show/match/teampk","èµäºæépkæå
",{scheduleid_:t,roomid_:e}))}},o.socketModel=Z,o.isInitSocket=!1,o}return(0,d.default)(e,t),(0,s.default)(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.isInNimoApp,o=t.roomInfo;e||this.registerOrUnregisterSocket(1),null!=o&&o.roomId&&(this.initSocket(),this.getUserCampSupportInfo())}},{key:"componentDidUpdate",value:function(t){var e=this.props.roomId;!(null!=t&&t.roomId)&&e&&(this.initSocket(),this.getUserCampSupportInfo())}},{key:"componentWillUnmount",value:function(){this.registerOrUnregisterSocket(2)}},{key:"render",value:function(){var t,e,o,n,i,s,u=this,l=this.props,d=l.prefixCls,m=l.className,f=(l.dataSource,l.langPkg),I=(l.roomId,l.onClickSupport,l.dispatch,l.roomInfo,l.isWap),S=l.isInNimoApp,v=(0,a.A)(l,ts),y=this.state,C=y.selectedCamp,g=y.campBlueSupportRate,R=y.blue,w=y.red,b=y.ruleOpen,_=y.visible,M=y.lStartTime,O=I||S,k=(0,V.BY)(1-g,1),T=function(t){var e,o,n,r,a,i=t||{},s=i.iCamp,l=i.iCampCls,m=i.sName,v=s===C,y=null==f||null==(e=f.match)?void 0:e.liveVoteSupported,g=null==f||null==(o=f.match)?void 0:o.blue,R=null==f||null==(n=f.match)?void 0:n.red,w=null==f||null==(r=f.match)?void 0:r.messageColorChange,b=v?y:null==f||null==(a=f.match)?void 0:a.liveVoteSupport,_=l===tI[tf]?R:g,M=l===tI[tf]&&"rtl"!==document.dir?S?"left":"bottomLeft":S?"right":"bottomRight",k=c.createElement("div",null,c.createElement("div",{className:"".concat(d,"_info_support_tooltip-title c1")},y,c.createElement("em",null,m)),c.createElement("p",{className:"".concat(d,"_info_support_tooltip-body c3")},(0,U.YE)(w,[c.createElement("em",{key:"1"},_)]))),T=c.createElement("div",{className:h()((0,p.default)((0,p.default)((0,p.default)({},"".concat(d,"_info_support--default"),!l),"".concat(d,"_info_support--").concat(l),l),"".concat(d,"_info_support--active"),v||0===C)),onClick:u.handleClickSupport.bind(u,v?0:s,null==t?void 0:t.lTid)},O?c.createElement("div",{className:"team-name"},m):"",c.createElement("span",{title:b},b));return v&&!I?c.createElement(P.Ay,{ref:function(t){u.toolTip=t},placement:M,title:k,overlayClassName:"".concat(d,"_info_support_tooltip ").concat(d,"_info_support_tooltip--").concat(l)},T):T},A=T(R),j=T(w),B=function(t){var e=t||{},o=e.sLogoUrl,n=e.sName,r=void 0===n?"":n,a=e.iCampCls,i=h()((0,p.default)((0,p.default)({},"".concat(d,"_info_team--default"),!a),"".concat(d,"_info_team--").concat(a),a));return c.createElement("div",{className:i},c.createElement(L.A,{src:void 0===o?W:o,alt:r,width:50,style:{width:O?40:50,height:O?40:50}}),O?"":c.createElement("span",{title:r},r))},D=B(R),F=B(w),H=h()(d,m,{wap:O},"c1 bc19 bdc1");if(!_)return null;var z=null==f||null==(t=f.match)?void 0:t.rule,K=null==f||null==(e=f.match)?void 0:e.rule_1,Y=null==f||null==(o=f.match)?void 0:o.rule_2,q=null==f||null==(n=f.match)?void 0:n.rule_3;return c.createElement("div",(0,r.default)({},v,{className:H,onMouseLeave:this.handleMouseLeavePanel}),c.createElement("div",{className:"".concat(d,"_info")},c.createElement("div",{className:"".concat(d,"_info_support")},j,c.createElement("div",{className:"".concat(d,"_info_support--vs")},"VS"),A),c.createElement("div",{className:"".concat(d,"_info_team")},F,D)),M&&O?c.createElement("div",{className:"round-start-time"},(0,U.YE)(null==f||null==(i=f.match)?void 0:i.startAt,[c.createElement("span",null,(0,x.hH)(1e3*M,{formatter:"dStS",suffix:!0}))])):null,c.createElement("div",{className:"".concat(d,"_stat c9"),style:{background:"linear-gradient(to right, #ff3200 ".concat(k,", #0096ff ").concat(k)}},c.createElement("span",null,k),c.createElement("span",null,(0,V.BY)(g,1))),O?null:c.createElement(c.Fragment,null,M?c.createElement("div",{className:"round-start-time n-as-mrgt-xs"},(0,U.YE)(null==f||null==(s=f.match)?void 0:s.startAt,[c.createElement("span",{className:"c8"},(0,x.hH)(1e3*M,{formatter:"dStS",suffix:!0}))])):null,c.createElement("div",{className:"".concat(d,"_rule").concat(b?" open":"")},c.createElement("p",null,K),c.createElement("p",null,Y),c.createElement("p",null,q)),c.createElement(E.A,{type:"link",size:"small",className:"".concat(d,"_rule-btn c3 bc19 bdc1 n-as-z1"),onClick:this.handleClickRuleBtn,onMouseEnter:this.handleMouseEnterRuleBtn},z,c.createElement(N.A,{type:"caret-".concat(b?"up":"down")}))))}}])}(c.Component);(0,p.default)(tv,"defaultProps",{prefixCls:"nimo-match-round",className:"",roomInfo:{},langPkg:{}});var ty=tv},39621:function(t,e,o){"use strict";
1t.exports=o.p+"images/default-avatar.0d3a8574aee0bb2c.png"},66630:function(t,e,o){"use strict";o.d(e,{C:function(){return n.A}});var n=o(47402),r=o(63149),a=o(5134),i=o.n(a),s=o(32045),u=(0,o(45053).KN)("_lang"),l=i().isInNimoApp,d=null;if(l)if(u)d=u;else{var p,c=(null==(p=r.A.getPureCache())?void 0:p.lang)||1033;n.A.locale(c)}else d=(0,s.Xo)();var m=Promise.resolve({lang:0});d?n.A.locale(d):m=r.A.getUserInfo(),m.then(function(t){var e=t.lang;e&&n.A.locale(e)})},91041:function(t,e,o){"use strict";o.d(e,{Ay:function(){return S},Dt:function(){return f},PI:function(){return h},hH:function(){return I}});var n=o(20832),r=o.n(n),a=o(63149),i=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},s={s:["Ø£ÙÙ Ù
٠ثاÙÙØ©","ثاÙÙØ© ÙØ§ØØ¯Ø©",["ثاÙÙØªØ§Ù","ثاÙÙØªÙÙ"],"%d Ø«ÙØ§Ù","%d ثاÙÙØ©","%d ثاÙÙØ©"],m:["Ø£ÙÙ Ù
٠دÙÙÙØ©","دÙÙÙØ© ÙØ§ØØ¯Ø©",["دÙÙÙØªØ§Ù","دÙÙÙØªÙÙ"],"%d Ø¯ÙØ§Ø¦Ù","%d دÙÙÙØ©","%d دÙÙÙØ©"],h:["Ø£ÙÙ Ù
٠ساعة","ساعة ÙØ§ØØ¯Ø©",["ساعتاÙ","ساعتÙÙ"],"%d ساعات","%d ساعة","%d ساعة"],d:["Ø£ÙÙ Ù
Ù ÙÙÙ
","ÙÙÙ
ÙØ§ØØ¯",["ÙÙÙ
اÙ","ÙÙÙ
ÙÙ"],"%d Ø£ÙØ§Ù
","%d ÙÙÙ
ÙØ§","%d ÙÙÙ
"],M:["Ø£ÙÙ Ù
Ù Ø´ÙØ±","Ø´ÙØ± ÙØ§ØØ¯",["Ø´ÙØ±Ø§Ù","Ø´ÙØ±ÙÙ"],"%d Ø£Ø´ÙØ±","%d Ø´ÙØ±Ø§","%d Ø´ÙØ±"],y:["Ø£ÙÙ Ù
٠عاÙ
","عاÙ
ÙØ§ØØ¯",["عاÙ
اÙ","عاÙ
ÙÙ"],"%d Ø£Ø¹ÙØ§Ù
","%d عاÙ
ÙØ§","%d عاÙ
"]},u=function(t){return function(e,o,n,r){var a=i(e),u=s[t][i(e)];return 2===a&&(u=u[+!o]),u.replace(/%d/i,e)}};function l(t,e,o){var n,r,a;return"m"===o?e?"минÑÑа":"минÑÑÑ":t+" "+(n=({ss:e?"ÑекÑнда_ÑекÑндÑ_ÑекÑнд":"ÑекÑндÑ_ÑекÑндÑ_ÑекÑнд",mm:e?"минÑÑа_минÑÑÑ_минÑÑ":"минÑÑÑ_минÑÑÑ_минÑÑ",hh:"ÑаÑ_ÑаÑа_ÑаÑов",dd:"денÑ_днÑ_дней",MM:"меÑÑÑ_меÑÑÑа_меÑÑÑев",yy:"год_года_леÑ"})[o],r=+t,a=n.split("_"),r%10===1&&r%100!==11?a[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?a[1]:a[2])}var d={1025:{future:"بعد %s",past:"Ù
ÙØ° %s",s:u("s"),ss:u("s"),m:u("m"),mm:u("m"),h:u("h"),hh:u("h"),d:u("d"),dd:u("d"),M:u("M"),MM:u("M"),y:u("y"),yy:u("y")},1028:{future:"%så
§",past:"%så",s:"å¹¾ç§",ss:"%d ç§",m:"1 åé",mm:"%d åé",h:"1 å°æ",hh:"%d å°æ",d:"1 天",dd:"%d 天",M:"1 åæ",MM:"%d åæ",y:"1 å¹´",yy:"%d å¹´"},1034:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},1041:{future:"%så¾",past:"%så",s:"æ°ç§",ss:"%dç§",m:"1å",mm:"%då",h:"1æé",hh:"%dæé",d:"1æ¥",dd:"%dæ¥",M:"1ã¶æ",MM:"%dã¶æ",y:"1å¹´",yy:"%då¹´"},1046:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},1049:{future:"ÑеÑез %s",past:"%s назад",s:"неÑколÑко ÑекÑнд",ss:l,m:l,mm:l,h:"ÑаÑ",hh:l,d:"денÑ",dd:l,M:"меÑÑÑ",MM:l,y:"год",yy:l},1054:{future:"à¸à¸µà¸ %s",past:"%sà¸à¸µà¹à¹à¸¥à¹à¸§",s:"à¹à¸¡à¹à¸à¸µà¹à¸§à¸´à¸à¸²à¸à¸µ",ss:"%d วิà¸à¸²à¸à¸µ",m:"1 à¸à¸²à¸à¸µ",mm:"%d à¸à¸²à¸à¸µ",h:"1 à¸à¸±à¹à¸§à¹à¸¡à¸",hh:"%d à¸à¸±à¹à¸§à¹à¸¡à¸",d:"1 วัà¸",dd:"%d วัà¸",M:"1 à¹à¸à¸·à¸à¸",MM:"%d à¹à¸à¸·à¸à¸",y:"1 à¸à¸µ",yy:"%d à¸à¸µ"},1055:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},1057:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},1066:{future:"%s tá»i",past:"%s trưá»c",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"má»t ph\xfat",mm:"%d ph\xfat",h:"má»t giá»",hh:"%d giá»",d:"má»t ng\xe0y",dd:"%d ng\xe0y",M:"má»t th\xe1ng",MM:"%d th\xe1ng",y:"má»t nÄm",yy:"%d nÄm"},1081:{future:"%s मà¥à¤",past:"%s पहलà¥",s:"à¤à¥à¤ हॠà¤à¥à¤·à¤£",ss:"%d सà¥à¤à¤à¤¡",m:"à¤à¤ मिनà¤",mm:"%d मिनà¤",h:"à¤à¤ à¤à¤à¤à¤¾",hh:"%d à¤à¤à¤à¥",d:"à¤à¤ दिन",dd:"%d दिन",M:"à¤à¤ महà¥à¤¨à¥",MM:"%d महà¥à¤¨à¥",y:"à¤à¤ वरà¥à¤·",yy:"%d वरà¥à¤·"},1086:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},1124:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%
1d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},1109:{future:"áá¬áááºá· %s áá¾á¬",past:"áá½ááºáá²á·áá±á¬ %s á",s:"á
áá¹áááº.á¡áááºá¸áááº",ss:"%d á
áá¹ááá·áº",m:"áá
áºáááá
áº",mm:"%d áááá
áº",h:"áá
áºáá¬áá®",hh:"%d áá¬áá®",d:"áá
áºáááº",dd:"%d áááº",M:"áá
áºá",MM:"%d á",y:"áá
áºáá¾á
áº",yy:"%d áá¾á
áº"}},p=o(66630),c=o(32045);r().relativeTimeThreshold("s",60),r().relativeTimeThreshold("m",60),r().relativeTimeThreshold("h",24),r().relativeTimeThreshold("d",1e6),r().relativeTimeThreshold("M",1e6);var m={1025:"ar",1028:"zh",1033:"en",1034:"es",1041:"ja",1046:"pt",1049:"ru",1054:"th",1055:"tr",1057:"id",1066:"vi",1081:"hi",1086:"ms",1124:"fil",1109:"my"};a.A.getUserInfo().then(function(t){var e=t.lang,o=d["".concat(e)];o&&r().locale(m["".concat(e)],{relativeTime:o})});var h=function(t,e){var o=t;return t&&t._date instanceof Date&&(o=t._date),r().relativeTimeRounding(Math.floor),r()(o).fromNow(e)},f=function(t){var e=(0,p.C)(t);return new Date().getTime()-t>2592e6?(0,p.C)(e).format("dM"):h(e)};function I(t,e){var o,n=(null==e?void 0:e.langKey)||(0,c.Xo)();p.C.locale(n);var r=(0,p.C)(t),a=(0,p.C)().diff(r,"days"),i=null!=e&&e.hasTime?r.format("tS"):"";return Math.abs(a)<30?"".concat(h(r,(null==e?void 0:e.suffix)||!1)).concat(a<1?"":i):null!=e&&e.formatter?r.format(null==e?void 0:e.formatter):null!=e&&e.hasTime?r.format("dMtS"):r.format("dM")}var S=r()},97131:function(t,e,o){"use strict";o.d(e,{Ay:function(){return k},Kb:function(){return O}}),o(71670);var n=o(38930),r=o(13007),a=o(61684),i=o(64348),s=o(45091),u=o(88342),l=o(60301),d=o(72047),p=o(38931),c=o.n(p),m=o(91452),h=o(78146),f=o.n(h),I=o(50184);function S(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)}return o}function v(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?S(Object(o),!0).forEach(function(e){(0,l.default)(t,e,o[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):S(Object(o)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))})}return t}var y={adjustX:1,adjustY:1},C={adjustX:0,adjustY:0},g=[0,0];function R(t){return"boolean"==typeof t?t?y:C:v(v({},C),t)}function w(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.push.apply(o,n)}return o}function b(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?w(Object(o),!0).forEach(function(e){(0,l.default)(t,e,o[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):w(Object(o)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))})}return t}function _(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_=function(){return!!t})()}var M=function(t){function e(t){var o,n,a;return(0,r.default)(this,e),n=e,a=[t],n=(0,s.default)(n),o=(0,i.default)(this,_()?Reflect.construct(n,a||[],(0,s.default)(this).constructor):n.apply(this,a)),(0,l.default)(o,"tooltip",null),(0,l.default)(o,"onVisibleChange",function(t){var e=o.props.onVisibleChange;"visible"in o.props||o.setState({visible:!o.isNoTitle()&&t}),e&&!o.isNoTitle()&&e(t)}),(0,l.default)(o,"onPopupAlign",function(t,e){var n=o.getPlacements(),r=Object.keys(n).filter(function(t){return n[t].points[0]===e.points[0]&&n[t].points[1]===e.points[1]})[0];if(r){var a=t.getBoundingClientRect(),i={top:"50%",left:"50%"};r.indexOf("top")>=0||r.indexOf("Bottom")>=0?i.top="".concat(a.height-e.offset[1],"px"):(r.indexOf("Top")>=0||r.indexOf("bottom")>=0)&&(i.top="".concat(-e.offset[1],"px")),r.indexOf("left")>=0||r.indexOf("Right")>=0?i.left="".concat(a.width-e.offset[0],"px"):(r.indexOf("right")>=0||r.indexOf("Left")>
1=0)&&(i.left="".concat(-e.offset[0],"px")),t.style.transformOrigin="".concat(i.left," ").concat(i.top)}}),(0,l.default)(o,"saveTooltip",function(t){o.tooltip=t}),o.state={visible:!!t.visible||!!t.defaultVisible},o}return(0,u.default)(e,t),(0,a.default)(e,[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"getPlacements",value:function(){var t,e,o,n,r,a,i,s,u,l,d=this.props,p=d.builtinPlacements,c=d.arrowPointAtCenter,m=d.autoAdjustOverflow;return p||(o=void 0===(e=(t={arrowPointAtCenter:c,verticalArrowShift:8,autoAdjustOverflow:m}).arrowWidth)?5:e,r=void 0===(n=t.horizontalArrowShift)?16:n,i=void 0===(a=t.verticalArrowShift)?12:a,u=void 0===(s=t.autoAdjustOverflow)||s,Object.keys(l={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(r+o),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(i+o)]},topRight:{points:["br","tc"],offset:[r+o,-4]},rightTop:{points:["tl","cr"],offset:[4,-(i+o)]},bottomRight:{points:["tr","bc"],offset:[r+o,4]},rightBottom:{points:["bl","cr"],offset:[4,i+o]},bottomLeft:{points:["tl","bc"],offset:[-(r+o),4]},leftBottom:{points:["br","cl"],offset:[-4,i+o]}}).forEach(function(e){l[e]=t.arrowPointAtCenter?v(v({},l[e]),{},{overflow:R(u),targetOffset:g}):v(v({},I.DD[e]),{},{overflow:R(u)})}),l)}},{key:"isHoverTrigger",value:function(){var t=this.props.trigger;return!t||"hover"===t||!!Array.isArray(t)&&t.indexOf("hover")>=0}},{key:"getDisabledCompatibleChildren",value:function(t){if((t.type.__ANT_BUTTON||"button"===t.type)&&t.props.disabled&&this.isHoverTrigger()){var e=b(b({display:"inline-block"},f()(t.props.style,["position","left","right","top","bottom","float","display","zIndex"])),{},{cursor:"not-allowed"}),o=b(b({},["position","left","right","top","bottom","float","display","zIndex"]),{},{pointerEvents:"none"}),n=(0,d.cloneElement)(t,{style:o,className:null});return d.createElement("span",{style:e,className:t.props.className},n)}return t}},{key:"isNoTitle",value:function(){var t=this.props,e=t.title,o=t.overlay;return!e&&!o}},{key:"render",value:function(){var t=this.props,e=t.prefixCls,o=t.title,r=t.overlay,a=t.openClassName,i=t.getPopupContainer,s=t.children,u=this.state.visible;!("visible"in this.props)&&this.isNoTitle()&&(u=!1);var p=this.getDisabledCompatibleChildren(d.isValidElement(s)?s:d.createElement("span",null,s)),h=p.props,f=c()(h.className,(0,l.default)({},a||"".concat(e,"-open"),!0));return d.createElement(m.A,(0,n.default)({},this.props,{getTooltipContainer:i,ref:this.saveTooltip,builtinPlacements:this.getPlacements(),overlay:r||o||"",visible:u,onVisibleChange:this.onVisibleChange,onPopupAlign:this.onPopupAlign}),u?(0,d.cloneElement)(p,{className:f}):p)}}],[{key:"getDerivedStateFromProps",value:function(t,e){return"visible"in t&&t.visible!==e.visible?{visible:t.visible}:null}}])}(d.Component);function O(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"left";return"rtl"===document.dir&&"left"===t?"topRight":"topLeft"}(0,l.default)(M,"defaultProps",{prefixCls:"nimo-tooltip",placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0});var k=M}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.