"use strict";(self.webpackChunkbongacams=self.webpackChunkbongacams||[]).push([[159,162,264],{35321:function(t,e,n){var i=n(15215),o=n(63861),r=n(80554),s=n(2597),a=n(99525),u=function(){function t(){var e;if(this.cdnPath=(0,o.ip)("@cdn_host"),this.soundsPath="".concat(this.cdnPath,"/sounds/"),this.volume=a.A.getState().instantMessages.imNotificationVolume,this.soundsOptions={preload:!0,multiplay:!1,volume:this.volume,sounds:[{alias:"empty",name:"empty",path:"".concat(this.cdnPath,"/sounds/")},{alias:"diamond",name:t.NEW_MESSAGE_DIAMOND,path:"".concat(this.cdnPath,"/sounds/im/")},{alias:"premium",name:t.NEW_MESSAGE_PREMIUM,path:"".concat(this.cdnPath,"/sounds/im/")},{alias:"common",name:t.NEW_MESSAGE_COMMON,path:"".concat(this.cdnPath,"/sounds/im/")}]},"bongacam_mobile"===(null===(e=window.chat)||void 0===e?void 0:e.encoderType))try{external.chatSoundAdd(null,null),console.log("use native lib"),window.ion=null}catch(t){console.log("use ion lib")}if(document.dispatchEvent(new CustomEvent(r.R.CHAT_SOUND_ADD,{detail:this.soundsOptions.sounds})),window.ion){window.ion.sound(this.soundsOptions);var n=function(){window.ion.sound.play("empty"),document.removeEventListener("mouseup",n),document.removeEventListener("touchend",n)};document.addEventListener("mouseup",n),document.addEventListener("touchend",n)}}return Object.defineProperty(t,"instance",{get:function(){return this._instance||(this._instance=new this)},enumerable:!1,configurable:!0}),t.getSoundAliasByMemberLevel=function(t){var e;switch(t){case s.A.PLATINUM:case s.A.UNLIMITED:e="premium";break;case s.A.SAPPHIRE:case s.A.TITAN:case s.A.DIAMOND:case s.A.EXCLUSIVE:e="diamond";break;default:e="common"}return e},t.prototype.play=function(t,e){var n=a.A.getState().instantMessages.imNotificationVolume,i=Math.max(0,null!=e?e:n);window.ion&&t&&i>0&&window.ion.sound.play(t,{volume:i}),document.dispatchEvent(new CustomEvent(r.R.CHAT_SOUND_PLAY,{detail:{soundName:t,soundVolume:i}}))},t.prototype.stop=function(t){window.ion&&t&&window.ion.sound.stop(t),document.dispatchEvent(new CustomEvent(r.R.CHAT_SOUND_STOP,{detail:t}))},t.prototype.add=function(t,e){var n=this,o=[];(e=e||"")[0]&&"/"===e[0]&&(e=e.substr(1));for(var s=0;s0){var E=v+m;_.scrollTo(0,E||0)}}}},f=n(51360),h=n(15215),m=n(82310),v=function(t){var e,n,i,o=t.isMobile,r=(0,h.Tt)(t,["isMobile"]);if(!r.history||!r.historyScrollBtn||!(null===(e=r.history)||void 0===e?void 0:e.hasChildNodes()))return!1;var s=o?null===(n=r.history)||void 0===n?void 0:n.firstChild:null===(i=r.history)||void 0===i?void 0:i.lastChild;return!!s&&(o?function(t){var e=t.bChat,n=t.history,i=t.historyScrollBtn,o=t.lastMessage,r=t.isNewMessage,s=o.scrollHeight||m.B,a=Math.max(n.scrollHeight-s,0);return(0,l.T)(!0,e)<=0&&a>=0?(i.classList.add("__hidden"),!1):(r&&i.classList.remove("__hidden"),0===n.scrollHeight&&r)}((0,h.Cl)((0,h.Cl)({},r),{lastMessage:s})):function(t){var e=t.bChat,n=t.history,i=t.historyScrollBtn,o=t.lastMessage,r=t.isNewMessage,s=o.scrollHeight||m.B,a=n.scrollHeight-s,u=(0,l.T)(!1,e),c=u>=n.scrollHeight&&a>0,d=n.scrollHeight-u<5;return c||d?(i.classList.add("__hidden"),!1):(r&&i.classList.remove("__hidden"),!1)}((0,h.Cl)((0,h.Cl)({},r),{lastMessage:s})))},E=n(84435),p=n(48529),A=n(41669);function g(){var t=i.A.getState(),e=t.isMobile,n=t.isPromo,u=document.getElementById("bChat"),l=document.querySelector(".js-bc_history_scroll"),d=document.querySelector(".chat_tabs_scroll_bar_wrp"),h=null==u?void 0:u.querySelector(".history"),m=(0,c.S)({bChat:u,isMobile:e,isPromo:n}),g=E.BrowserDetect.isIOS()||E.BrowserDetect.isIpad(),S=!1,T=!1,I=!0,C=!1,O=!1,N=!0,b=!1,w=function(){l&&l.classList.add("__hidden")},L=(0,p.n)(function(){if(m&&((null==h?void 0:h.scrollHeight)||0)=f.scrollHeight&&_.scrollTo(0,f.scrollHeight)}}},82310:function(t,e,n){n.d(e,{B:function(){return i},Q:function(){return o}});var i=27,o=7},92059:function(t,e,n){n.d(e,{S:function(){return i}});var i=function(t){var e=(null==t?void 0:t.bChat)||document.getElementById("bChat");if(!e)return null;var n=(null==t?void 0:t.isMobile)||(null==t?void 0:t.isPromo)||(null==t?void 0:t.isFullScreen)?".historyContainer":".js-sp_content";return e.querySelector(n)}},96734:function(t,e,n){n.d(e,{T:function(){return r}});var i=n(99525),o=n(92059),r=function(t,e){var n=i.A.getState(),r=n.isFullScreen,s=n.isPromo,a=(0,o.S)({bChat:e,isFullScreen:r,isMobile:t,isPromo:s});return a?t?a.scrollTop:a.scrollTop+a.clientHeight:0}},11283:function(t,e,n){n.d(e,{j:function(){return u},a:function(){return i}});var i,o=n(74848),r=n(26580),s=n(53336),a=n(83375),u=function(t){var e=t.classModifier,n=t.icon;return(0,o.jsx)("span",{className:(0,a.jc)("bcm_text_badge",e),children:(0,o.jsx)(r.A,{group:"tb_icon",icon:n,url:s.Fq})})};!function(t){t.HOT="#svg_mob_tb_hot",t.NEW="#svg_mob_tb_new",t.NEW_LARGE="#svg_mob_tb_new_large",t.REC="#svg_mob_tb_rec"}(i||(i={}))},13668:function(t,e,n){n.d(e,{j:function(){return r},l:function(){return s}});var i,o=n(99525),r=((i={}).promo=__("News"),i.white_label=o.A.getState().skinName,i.bongacams=__("BongaCams"),i.bongamodels=__("BongaCams"),i.concierge=__("Boris"),i),s={"spam%_sq_reason_%":__("spam%_sq_reason_%"),"data exchange":__("data exchange"),"third-party sources":__("third-party sources"),"restricted content":__("restricted content"),"rude or offensive speech":__("rude or offensive speech"),"other%_sq_%":__("other%_sq_%")}},11530:function(t,e,n){n.d(e,{F:function(){return d},j:function(){return _}});var i=n(96540),o=n(73437),r=n(15215),s=n(63861),a=n(14811),u="buy_tokens",c=n(84435),l=n(41669),d=function(t){var e,n=document.getElementById(u);if(n){var i=null===(e=document.querySelector("body"))||void 0===e?void 0:e.classList.contains("chat_visible"),o=n.querySelector(".bc-header a[data-rel=back]");!i&&c.BrowserDetect.isIOS()&&o&&!o.classList.contains("__back_fix")&&(o.classList.add("__back_fix"),o.addEventListener("click",function(t){t.preventDefault(),o.classList.remove("__back_fix"),l.mobile.changePage("#main",{transition:"slide",reverse:!0,isReplaceState:!0})},{once:!0}));var d=new URLSearchParams((0,r.Cl)({},(null==t?void 0:t.customAmount)&&{price:t.customAmount.toString()})).toString();n.classList.add("page_swipe_fix"),l.mobile.changePage("#".concat(u),(0,r.Cl)((0,r.Cl)({},d&&{dataUrl:"?".concat(d,"#").concat(u)}),{isReplaceState:c.BrowserDetect.isIOS()&&!i,transition:"slide"}))}else location.href=(0,a.Z)((0,s.ip)("@member_buy_tokens"))},_=function(t){return void 0===t&&(t=o.noop),(0,i.useCallback)(function(){t(),d()},[t])}},48291:function(t,e,n){n.d(e,{_:function(){return a},L:function(){return r}});var i=n(96540),o=n(73437),r=function(t){return void 0===t&&(t=o.noop),(0,i.useCallback)(function(){t(),a()},[t])},s=n(79276),a=function(){return(0,s.JX)("login_join")}},56575:function(t,e,n){n.d(e,{t:function(){return l}});var i=n(15215),o=n(62499),r=n(63861),s=n(83375),a=n(98810),u=n(14513),c=n(92284),l=function(){function t(){var e=this;this.zwj=u.ZWJ,this.list=[],this.onlyImageList=[],this.getSmileImage=function(t,e,n){var i;void 0===e&&(e=!1),void 0===n&&(n=!1);var o=t.src,r="",a="";return t.staticSrc&&(a=o,r=t.hasAPNG?(0,c.lH)(t):"",o=t.staticSrc),"".concat((0,c.Bx)({className:"smiley_wrp",alt:!e&&(null===(i=t.token)||void 0===i?void 0:i.replace(":",""))||"",apngSrc:r,class:(0,s.jc)("sp_smile",t.type&&"__".concat(t.type),t.version&&"__v".concat(t.version)),"data-token":t.tokens[0].replace(":",""),fallbackSrc:a,loading:"eager",src:o},!1,n)).concat(e?"҂":"")},this.getOnlyImageOutputText=function(t){return void 0===t&&(t=""),t?(t=t.replace(/\n/g,"
"),e.onlyImageList.forEach(function(n){t=t.replace(n.pattern,function(t,i,o){return e.isExistZWJ(t,i,o)?t:n.replacer(t,n,!0,!0)})}),t):t},this.getOutputText=function(t,n){return void 0===t&&(t=""),void 0===n&&(n=!0),t?(n||(t=(0,a._N)(t)),t=(t=t.replace(/\n/g,"
")).replace(e.combinedSmilePattern,function(t,n,i){if(e.isExistZWJ(t,n,i))return t;var o=e.list.find(function(e){return!!e.pattern&&new RegExp("^".concat(e.pattern.source,"$"),e.pattern.flags).test(t)});return(null==o?void 0:o.replacer)?o.replacer(t,o,!1,!0):t})):t},this.getClearText=function(t){return void 0===t&&(t=""),t=t.replace(/<(br|BR)( )?(\/)?>/g,""),t=(t=(0,a._N)(t)).replace((0,u.getUnicodeSmileysPattern)(),""),e.list.forEach(function(e){t=t.replace(e.pattern,function(t,e,n){var i=n.substr(e+t.length,1);return i&&!i.replace(/[a-z0-9-_]/g,"")?t:""})}),t.trim()},this.getSafeUnicodeSplitIndex=function(e,n){if(n<=0||n>=e.length)return n;for(var i=n,o=function(){var o=e.slice(i-1,n+1);if(!t.allUnicodeSmileCollection.some(function(t){return t.includes(o)}))return"break";i--};i>0;){if("break"===o())break}return i},t.smilesPath=(0,r.oF)(o.A.SRC),t.allUnicodeSmileCollection=(0,u.getAllUnicodeSmileys)(),this.list=(0,c.gB)(c.cM,{replacer:function(n,i,o,r){return void 0===o&&(o=!1),void 0===r&&(r=!1),e.getSmileImageWithUrl(t.smilesPath,n,i,o,r)},type:o.A.SMALL},this.list),this.list=(0,c.gB)(c.a_,{replacer:function(n,i,o,r){return void 0===o&&(o=!1),void 0===r&&(r=!1),e.getSmileImageWithUrl(t.smilesPath,n,i,o,r)},type:o.A.CUSTOM},this.list),this.onlyImageList=this.list.sort(function(t,e){return String(e.pattern).length-String(t.pattern).length});var n=this.onlyImageList.map(function(t){if(t.tokens.length>1){var e="";return t.tokens.forEach(function(t,n){e+=(0===n?"":"|")+(0,c.ns)(t)}),e}return(0,c.ns)(t.tokens[0])}).join("|");this.replaceChatSmileysListPattern=new RegExp(n,"g"),Object.keys(u.default).forEach(function(t){e.list=(0,c.d4)(u.default[t],{replacer:function(t,n){return e.getUnicodeSmileHTML(n)},type:o.A.UNICODE},e.list)}),this.list.sort(function(t,e){return String(e.pattern).length-String(t.pattern).length}),this.combinedSmilePattern=new RegExp(this.list.map(function(t){var e;return null===(e=t.pattern)||void 0===e?void 0:e.source}).filter(Boolean).join("|"),"g")}return t.getInstance=function(){return this.instance||(this.instance=new this)},t.prototype.isNextZWJ=function(t,e,n){return-1!==[n.substr(e+t.length,this.zwj.length),n.substr(e+t.length+1,this.zwj.length)].indexOf(this.zwj)},t.prototype.isExistZWJ=function(t,e,n){var i=n.substr(e-this.zwj.length,this.zwj.length);return this.isNextZWJ(t,e,n)||-1!==[i].indexOf(this.zwj)},t.prototype.getUnicodeSmileHTML=function(t){return''.concat(t.token,"")},t.prototype.getSmileImageWithUrl=function(t,e,n,o,r){return void 0===t&&(t=""),void 0===o&&(o=!1),void 0===r&&(r=!1),this.getSmileImage((0,i.Cl)((0,i.Cl)({},n),{src:"".concat(t).concat(n.src),staticSrc:n.staticSrc?"".concat(t).concat(n.staticSrc):void 0}),o,r)},t}()},88374:function(t,e,n){n.d(e,{P:function(){return o}});var i=n(15215),o=function(t,e){return{pageData:(0,i.Cl)((0,i.Cl)({},t.pageData),e)}}},36194:function(t,e,n){n.d(e,{md:function(){return c},q3:function(){return d},ql:function(){return l}});var i=n(15215),o=n(51823),r=n(34710),s=n(91287),a=n(80438),u=n(51310),c=function(t,e){var n,o=(0,s.QL)(t,e.groupId||e.username);return Object.keys(o).length>0?{instantMessages:(0,i.Cl)((0,i.Cl)({},t.instantMessages),{conversations:(0,i.Cl)((0,i.Cl)({},t.instantMessages.conversations),(n={},n[e.groupId||e.username]=(0,i.Cl)((0,i.Cl)({},o),{tip:e.tokens}),n))})}:t},l=function(t,e){var n,o=(0,s.QL)(t,e.groupId);return Object.keys(o).length>0?(delete o.tip,{instantMessages:(0,i.Cl)((0,i.Cl)({},t.instantMessages),{conversations:(0,i.Cl)((0,i.Cl)({},t.instantMessages.conversations),(n={},n[e.groupId]=(0,i.Cl)({},o),n))})}):t},d=function(t,e){var n,i=t.isMobile,s=e.groupId,c=e.text,l=e.tokens,d=e.username,_=e.onError,f=e.onFinally,h=e.onSuccess,m=e.layout||t.layout||102,v=e.source;v||(v=i?t.source:t.sourceType);var E={data:{first_visit:(0,u.Ri)("fv",""),layout:m,source:v||"regular",split_group:(0,u.Ri)("sg",""),sub_type:e.sub_type||o.A.MESSAGE,text:c,tokens:l,user_hash:(0,u.Ri)("uh","")},type:5};if(s?E.data.group_id=s:d&&(E.data.users=[d]),!s&&!d)return null==_||_(r.Rb),null==f||f(),t;var p={data:E,type:"im"};return n=window.setTimeout(function(){null==_||_(r.Rb),null==f||f()},1e4),(0,a.BT)(t,p,function(t){var e;clearTimeout(n);var i=(null===(e=t.data)||void 0===e?void 0:e.error)||null;i?(null==_||_(i),null==f||f()):(null==h||h(t),null==f||f())})}},80438:function(t,e,n){n.d(e,{BT:function(){return r},gg:function(){return c},lN:function(){return u},p:function(){return a},t4:function(){return s}});var i=n(15215),o=n(82267);function r(t,e,n){return o.s.instance.send(e,n),{socket:(0,i.Cl)((0,i.Cl)({},t.socket),{message:{}})}}function s(t){return{socket:(0,i.Cl)((0,i.Cl)({},t.socket),{connected:!0,message:""})}}function a(t){return{socket:(0,i.Cl)((0,i.Cl)({},t.socket),{connected:!1,message:""})}}function u(t){return{socket:(0,i.Cl)((0,i.Cl)({},t.socket),{connected:!1,message:""})}}function c(t,e){return{socket:(0,i.Cl)((0,i.Cl)({},t.socket),{message:e})}}},45936:function(t,e,n){var i;n.d(e,{P:function(){return o},e:function(){return i}}),function(t){t.BOTH="both",t.BOTTOM="bottom",t.TOP="top"}(i||(i={}));var o=function(t){var e,n=t.element,o=t.marginType,r=void 0===o?i.BOTH:o;if(!(n&&n instanceof Element&&n instanceof HTMLElement))return 0;var s=null==n?void 0:n.offsetHeight,a=window.getComputedStyle(n),u=parseInt(a.marginTop,10)||0,c=parseInt(a.marginBottom,10)||0;return s+((e={})[i.BOTH]=u+c,e[i.BOTTOM]=c,e[i.TOP]=u,e)[r]}},49741:function(t,e,n){n.d(e,{u:function(){return o}});var i=n(84435);function o(t){i.BrowserDetect.isIOS()?(t.scrollTo(0,1),setTimeout(function(){t.scrollTo(0,0)},100)):t.scrollTo(0,0)}},43284:function(t,e){e.A=function(t){return t.filter(function(t){return!!t}).join(" ")||void 0}},94140:function(t,e,n){n.d(e,{b:function(){return i}});var i=function(t,e,n){return!(isNaN(t)||isNaN(e)||isNaN(n))&&Math.abs(t-e)<=n}},36162:function(t,e,n){n.d(e,{A:function(){return c}});var i=n(15215),o=n(34710),r=function(){function t(){this.token="",this.cache={},this.tokenPromise=null}return t.prototype.renewToken=function(){var t=this;if(this.token)try{if(1e3*(+JSON.parse(atob(this.token.split(".")[1])).exp-60)>Date.now())return Promise.resolve()}catch(t){}return this.tokenPromise||(this.tokenPromise=new Promise(function(e,n){(0,o.mN)(t.jwtApiUrl).then(function(i){var o=i.data;o?t.parseJwtResponse(o,e,n):n()})}).then(function(){return t.tokenPromise=null},function(){return t.tokenPromise=null})),this.tokenPromise},t.prototype._translate=function(t,e){var n=this,i=e.targetLanguage;return"jw"===e.targetLanguage&&(i="iw"),new Promise(function(e,o){i&&"".concat(t).trim()?n.ajaxImplementation({url:n.translatorApiUrl,dataType:"json",type:"POST",method:"POST",headers:{Authorization:"Bearer ".concat(n.token)},credentials:"omit",contentType:"text/plain; charset=utf-8",data:JSON.stringify({text:t,to:i}),success:function(t){"text"in t?e(t):o()},error:o}):o()})},t.prototype.clearEmoji=function(t){return t.replace(/(\u00a9|\u00ae|[\u2000-\u3300]|\ud83c[\ud000-\udfff]|\ud83d[\ud000-\udfff]|\ud83e[\ud000-\udfff])/g,"").trim()},t.prototype.translate=function(t,e){return(0,i.sH)(this,void 0,void 0,function(){var n;return(0,i.YH)(this,function(i){switch(i.label){case 0:return this.cache[e.targetLanguage]||(this.cache[e.targetLanguage]={}),this.cache[e.targetLanguage][t]?[2,this.cache[e.targetLanguage][t]]:[4,this.renewToken()];case 1:return i.sent(),[4,this._translate(this.clearEmoji(t),e)];case 2:return n=i.sent(),this.cache[e.targetLanguage][t]=n.text,[2,n.text]}})})},t}(),s=n(63861),a=n(41669),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.C6)(e,t),Object.defineProperty(e,"instance",{get:function(){return this._instance?this._instance:this._instance=new this},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"jwtApiUrl",{get:function(){return(0,s.ip)("@api_chat_translator_authorization_token")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"translatorApiUrl",{get:function(){return(0,s.ip)("@api_translator")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ajaxImplementation",{get:function(){return a.ajax},enumerable:!1,configurable:!0}),e.prototype.parseJwtResponse=function(t,e,n){(null==t?void 0:t.token)?(this.token=t.token,e()):n()},e}(r),c=u},14811:function(t,e,n){n.d(e,{Z:function(){return r}});var i=n(63861),o=n(99525),r=function(t){return o.A.getState().isEmbed?(0,i.ip)("@hit_url?url=".concat(encodeURIComponent(t))):t}},63658:function(t,e,n){var i;n.d(e,{K:function(){return i}}),function(t){t.SPACE=" ",t.NON_BREAKING_SPACE=" ",t.WBR="​",t.BULL="•",t.RAQUO="»",t.LAQUO="«",t.M_DASH="—",t.N_DASH="–",t.COPY="©"}(i||(i={}))},62499:function(t,e,n){var i,o=n(15215),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,o.C6)(e,t),e.SMALL="small",e.CUSTOM="custom",e.BIG="big",e.TEXT="text",e.UNICODE="unicode",e.UNICODE_PEOPLE="unicode_people",e.UNICODE_NATURE="unicode_nature",e.UNICODE_FOOD="unicode_food",e.UNICODE_SYMBOLS="unicode_symbols",e.UNICODE_FLAGS="unicode_flags",e.SRC="chat/smiles/",e.titles=((i={})[e.SMALL]=__("Small Emoji"),i[e.CUSTOM]=__("Custom Emoji"),i[e.BIG]=__("Big Emoji"),i[e.TEXT]=__("Text Emoji"),i[e.UNICODE_PEOPLE]=__("Smileys & People"),i[e.UNICODE_NATURE]=__("Animals & Nature"),i[e.UNICODE_FOOD]=__("Food & Drink"),i[e.UNICODE_SYMBOLS]="Symbols",i[e.UNICODE_FLAGS]="Flags",i),e}(n(53767).A);e.A=r},71005:function(t,e,n){var i=n(15215),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.C6)(e,t),e.WAVING_HAND="1f44b",e.FIRE="1f525",e.HUGGING_FACE="1f917",e.SMIRKING_FACE="1f60f",e.GRINNING_FACE_WITH_STAR_EYES="1f929",e.CHRISTMAS_TREE="1f384",e.PARTY_POPPER="1f389",e.COLLISION="1f4a5",e.RAISING_HANDS="1f64c",e.CLINKING_GLASSES="1f942",e.FLAG_PORTUGAL="1f1f5-1f1f9",e.HIGH_VOLTAGE="26a1",e.MOBILE_PHONE="1f4f1",e.SUN="2600-fe0f",e.FLAG_UK="1f1ec-1f1e7",e.HEART="2764-fe0f",e.SPARKLING_HEART="1f496",e.SPARKLES="2728",e.SQUARED_NEW="1f195",e.RUSSIA_FLAG="1f1f7-1f1fa",e.MONEY_WITH_WINGS="1f4b8",e.BLACK_HEART="1f5a4",e.HEART_ON_FIRE="2764-fe0f-200d-1f525",e.SMILING_FACE_WITH_HEART_SHAPED_EYES="1f60d",e.HEART_WITH_ARROW="1f498",e.TULIP="1f337",e.NO_ENTRY_SIGN="1f6ab",e.WARNING_SIGN="26a0-fe0f",e.WHITE_HEAVY_CHECK_MARK="2705",e.WINK="1f609",e.RABBIT="1f407",e.GLOWING_STAR="1f31f",e.CRYING_FACE="1f622",e.THUMBS_UP_SIGN="1f44d",e.SPEECH_BALLOON="1f4ac",e.SMALL_ORANGE_DIAMOND="1f538",e.CROWN="1f451",e.MONEY_BAG="1f4b0",e.UNITED_STATES_FLAG="1f1fa-1f1f8",e}(n(53767).A);e.A=o},46017:function(t,e,n){var i=n(15215),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.C6)(e,t),e.isInputType=function(t){return-1!==[e.TEXT,e.TEXTAREA,e.TEXT_AREA,e.PASSWORD,e.NUMBER,e.TELEPHONE,e.EMAIL,e.SEARCH].indexOf(t)},e.isCheckType=function(t){return-1!==[e.RADIO,e.CHECKBOX].indexOf(t)},e.TEXT="text",e.PASSWORD="password",e.HIDDEN="hidden",e.TEXTAREA="textarea",e.TEXT_AREA="textArea",e.RADIO="radio",e.CHECKBOX="checkbox",e.NUMBER="number",e.TELEPHONE="tel",e.EMAIL="email",e.SEARCH="search",e}(n(53767).A);e.A=o},2597:function(t,e,n){var i,o=n(15215),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,o.C6)(e,t),e.FREE="free",e.GOLD="gold",e.PLATINUM="platinum",e.UNLIMITED="unlimited",e.SAPPHIRE="sapphire",e.TITAN="titan",e.DIAMOND="diamond",e.EXCLUSIVE="exclusive",e.titles=((i={})[e.DIAMOND]=__("Diamond"),i[e.EXCLUSIVE]=__("Exclusive"),i[e.FREE]=__("Free"),i[e.GOLD]=__("Gold"),i[e.PLATINUM]=__("Platinum"),i[e.SAPPHIRE]=__("Sapphire"),i[e.TITAN]=__("Titan"),i[e.UNLIMITED]=__("Unlimited"),i),e.isHigherThanFree=function(t){return[e.DIAMOND,e.EXCLUSIVE,e.GOLD,e.PLATINUM,e.SAPPHIRE,e.TITAN,e.UNLIMITED].includes(t)},e.isHigherThanGold=function(t){return[e.DIAMOND,e.EXCLUSIVE,e.PLATINUM,e.SAPPHIRE,e.TITAN,e.UNLIMITED].includes(t)},e.isHigherThanPlatinum=function(t){return[e.DIAMOND,e.EXCLUSIVE,e.SAPPHIRE,e.TITAN,e.UNLIMITED].includes(t)},e.isEliteMember=function(t){return[e.DIAMOND,e.EXCLUSIVE,e.SAPPHIRE,e.TITAN].includes(t)},e.getAsOrderedArray=function(){return[e.FREE,e.GOLD,e.PLATINUM,e.UNLIMITED,e.SAPPHIRE,e.TITAN,e.DIAMOND,e.EXCLUSIVE]},e}(n(53767).A);e.A=r},51823:function(t,e,n){var i,o=n(15215),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,o.C6)(e,t),e.CHAT="chat",e.MESSAGE="message",e.OFFLINE_CHAT="offline_chat",e.VIP_SHOW="vip_show",e.PRIVATE_SHOW="private_show",e.BONGATALK="bongatalk",e.CHAT_BOT_AUTO_DJ="chat_bot_auto_dj",e.AFTER_SHOW="after_show",e.SOCIAL_SUBSCRIPTION="social_subscription",e.SOCIAL_SUBSCRIPTION_OFFLINE="social_subscription_offline",e.VIBE_WITH_ME_CROWD="vibe_with_me_crowd",e.VIBE_WITH_ME_SINGLE="vibe_with_me_single",e.BECOME_NEW_TIP_KING="become_new_tip_king",e.CHAT_BOT_ROLL_DICE="chat_bot_roll_dice",e.CHAT_BOT_SPIN_WHEEL="chat_bot_spin_wheel",e.CHAT_BOT_TOKEN_KENO="chat_bot_token_keno",e.CHAT_BOT_SLOT_MACHINE="chat_bot_slot_machine",e.titles=((i={})[e.CHAT]=__("Public chat"),i[e.MESSAGE]=__("Message"),i[e.OFFLINE_CHAT]=__("Offline chat"),i[e.VIP_SHOW]=__("Vip show"),i[e.PRIVATE_SHOW]=__("Private chat"),i[e.BONGATALK]=__("BongaTalk"),i[e.CHAT_BOT_AUTO_DJ]=__("ChatBot (Auto DJ)"),i[e.AFTER_SHOW]=__("After show"),i[e.SOCIAL_SUBSCRIPTION]=__("Social subscription"),i[e.SOCIAL_SUBSCRIPTION_OFFLINE]=__("Social subscription (offline)"),i[e.VIBE_WITH_ME_CROWD]=__("Vibe With Me (Crowd)"),i[e.VIBE_WITH_ME_SINGLE]=__("Vibe With Me (Single)"),i[e.BECOME_NEW_TIP_KING]=__("Become New Tip King"),i[e.CHAT_BOT_ROLL_DICE]=__("Chatbot (Dice)"),i[e.CHAT_BOT_SPIN_WHEEL]=__("Chatbot (Wheel of Fortune)"),i[e.CHAT_BOT_TOKEN_KENO]=__("Chatbot (Bingo)"),i[e.CHAT_BOT_SLOT_MACHINE]=__("Chatbot (Slot Machine)"),i),e}(n(53767).A);e.A=r},46941:function(t,e,n){n.d(e,{D:function(){return o}});var i=n(71005),o=[{title:__("Text %s1%%modelname%!%s_end%"),subtitle:__("Tip%_im_%"),text:__("Greet the model and write your name %emoji% It'll be more interesting and enjoyable for %s1%%modelname%%s1_end% to chat with you, knowing your name."),emoji:i.A.WAVING_HAND,statsId:1},{title:__("Start a conversation with %s1%%modelname%!%s_end%"),subtitle:__("Tip%_im_%"),text:__("Send tips along with your message %emoji% This way, you will get %s2%%s1%%modelname%%s1_end%'s%s2_end% attention, and she will answer you much faster!"),emoji:i.A.HUGGING_FACE,statsId:2},{title:__("Text %s1%%modelname%!%s_end%"),subtitle:__("Tip%_im_%"),text:__("Models love emoticons %emoji% Add emojis to your messages to make them more colorful and %s2%interesting %emoji_fire%%s2_end%"),emoji:i.A.SMIRKING_FACE,emoji_fire:i.A.FIRE,statsId:3},{title:__("Start a conversation with %s1%%modelname%!%s_end%"),subtitle:__("Tip%_im_%"),text:__("Give %s1%%modelname%%s1_end% a compliment %emoji% This will win the model over, and your chat will be even more pleasurable."),emoji:i.A.GRINNING_FACE_WITH_STAR_EYES,statsId:4}]},91287:function(t,e,n){n.d(e,{Ev:function(){return u},Kw:function(){return r},Ni:function(){return c},QL:function(){return a},Xo:function(){return d},Y5:function(){return m},YQ:function(){return h},ah:function(){return E},e6:function(){return _},eH:function(){return v},h_:function(){return f},hn:function(){return l},hv:function(){return A},lS:function(){return s},oU:function(){return p}});var i=n(46941),o=n(57510),r=function(t){return t.instantMessages||{}},s=function(t){return r(t).conversations||{}},a=function(t,e){return s(t)[e]||{}},u=function(t,e){return a(t,e).messages||[]},c=function(t){return r(t).membershipAdvantages||{}},l=function(t){return r(t).users||{}},d=function(t){return t.lang},_=function(t){return r(t).groupIds||{}},f=function(t,e){return s(t)[_(t)[e]]||a(t,e)},h=function(t,e){var n=null;return(0,o.loopv)(s(t),function(t,i){t.rawData&&t.rawData.users&&1===t.rawData.users.length&&t.rawData.users[0].username===e&&(n=i)}),{groupId:n,conversation:n?a(t,n):{}}},m=function(t,e){var n,i=a(t,e),r=[];return(0,o.loopv)((null===(n=null==i?void 0:i.rawData)||void 0===n?void 0:n.users)||[],function(e){var n;r.push((null===(n=null==t?void 0:t.instantMessages)||void 0===n?void 0:n.users[e.username])||e)}),r},v=function(t,e){var n,i;return null===(i=null===(n=a(t,e))||void 0===n?void 0:n.rawData)||void 0===i?void 0:i.muted},E=function(t){var e=function(t){var e=r(t).tipBeforeStartIndex;return Number.isFinite(e)?e:null}(t);return i.D[e]||null},p=function(t){var e;return null===(e=E(t))||void 0===e?void 0:e.statsId},A=function(t){return t.user}},52804:function(t,e,n){if(n.d(e,{FQ:function(){return v},MR:function(){return _},No:function(){return d},XA:function(){return h},Yg:function(){return f},ic:function(){return E},vc:function(){return m}}),!/^(21|22|9)$/.test(n.j))var i=n(94140);var o=n(84435),r=n(41669),s=window.outerWidth||document.documentElement.offsetWidth||document.documentElement.clientWidth,a=window.outerHeight||document.documentElement.offsetHeight||document.documentElement.clientHeight,u=s>a,c=null,l=window.navigator.userAgent.toLowerCase().indexOf("windows phone 10")>=0||o.BrowserDetect.isIOS(),d=function(){return l?r(window).width():window.innerWidth},_=function(){return l?r(window).height():window.innerHeight},f=function(){var t,e,n=null===(e=null===(t=null===window||void 0===window?void 0:window.screen)||void 0===t?void 0:t.orientation)||void 0===e?void 0:e.type;return void 0===n||window.self!==window.top||o.BrowserDetect.isChrome_IOS()?d()>_():"landscape-primary"===n||"landscape-secondary"===n},h=function(t){var e=d(),n=_();if(t&&(c=null),(0,i.b)(s,e,5)&&a>=n)return c=null===c;var o=!(0,i.b)(e,s,5)||n>a;return s=e,a=n,c=null===c||(o||u!==e>n),u=e>n,c},m=function(){return f()?"landscape":"portrait"},v=function(){var t=document.activeElement;return t.isContentEditable||["input","textarea"].includes(t.tagName.toLowerCase())},E=function(){var t=document.activeElement;null==t||t.blur(),r("input").blur()}}}]);