"use strict";(self.webpackChunkbongacams=self.webpackChunkbongacams||[]).push([[671],{6915:function(e,t,n){n.r(t);var o=n(15215),r=n(74848),a=n(16053),i=n(89348),u=n(33951),c=n(73645),s=n(97619),l=n(37479),p=n(12400),f=n(65203),d=n(26748),h=n(37828),b=n(99128),y=n(8556),m=n(90289),g=n(41669),A=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ID=(0,m.fE)(),t.containerSelector=".modelGamesOutput",t}return(0,o.C6)(t,e),Object.defineProperty(t,"instance",{get:function(){return this._instance||(this._instance=new t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"gamesById",{get:function(){return p._},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"gamesList",{get:function(){return p.C},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"AlertPopup",{get:function(){return l.A},enumerable:!1,configurable:!0}),t.prototype.onStoreChange=function(e,t){e.performerStatus!==t.performerStatus&&this.updateTipMenuMessageButton(t.gamesSettings.tipMenu,t.performerStatus)},t.prototype.openGameTab=function(e){this.getIsGameDisabled(e)||((0,c.setGameTab)(e),(0,y.isTokenInBodyClassList)(i.l)&&chat.toggleFullscreen())},t.prototype.detach=function(){e.prototype.detach.call(this);var t=document.querySelector(this.containerSelector);if(t)for(var n=[].slice.call(t.children),o=n.length;--o>=0;)b.w.unmount(n[o])},t.prototype.openChat=function(){(0,c.setGameTab)(null),g("#".concat(chat.currentChatType," .tab_history a")).click(),(0,u.v)()},t.prototype.attach=function(){this.detach();var e=document.querySelector(this.containerSelector);e&&(e.innerHTML="",this.root=b.w.append((0,r.jsx)(a.Kq,{store:h.A,children:(0,r.jsx)(d.A,{modelName:chat.performerData.displayName,isRu:chat.userData.isRu,onHit:this.handleHit})}),e),this.popupRoot=b.w.append((0,r.jsx)(a.Kq,{store:h.A,children:(0,r.jsx)(f.A,{})}),document.body))},t}(s.A);t.default=A},33617:function(e,t,n){n.d(t,{U:function(){return o}});var o=function(){function e(){}return e.isVideoAutoPlayEnablingChecked=function(){return void 0!==e.isAutoPlayEnabled},e.isVideoAutoplayEnabled=function(){return e.isAutoPlayEnabled},e.setVideoAutoPlayEnablingOn=function(){e.isAutoPlayEnabled=!0},e.setVideoAutoPlayEnablingOff=function(){e.isAutoPlayEnabled=!1},e}()}}]);