text: /*!
   * codebase - v4.2.0
   * @author pixelcave - https://pixelcave.com
   * Copyright (c) 2021
   */
  !function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var t,n,i,a,r,o,u,c,h,s,g,l,j=function(){function j(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,j)}var f,y;return f=j,y=[{key:"initChat",value:function(){var e=this;t=jQuery(window),n=jQuery("#page-header"),i=jQuery("#page-footer"),a=jQuery(".js-chat-container"),r=jQuery(".js-chat-logged-user"),o=jQuery(".js-chat-search"),u=jQuery(".js-chat-tabs"),c=jQuery(".js-chat-tabs-content"),h=jQuery(".js-chat-active-user"),s=jQuery(".js-chat-window"),g=jQuery(".js-chat-message"),t.on("resize.cb.chat orientationchange.cb.chat",(function(t){clearTimeout(l),l=setTimeout((function(t){e.initChatHeight()}),150)})).triggerHandler("resize.cb.chat")}},{key:"initChatHeight",value:function(){var e=t.height()-(n.length?n.outerHeight():0)-(i.length?i.outerHeight():0)-(parseInt(a.css("padding-top"))+parseInt(a.css("padding-bottom")));e<400&&(e=400),c.find(".tab-pane").css("height",e-r.outerHeight(!0)-o.outerHeight(!0)-u.outerHeight(!0)),s.css("height",e-h.outerHeight(!0)-g.outerHeight(!0))}},{key:"init",value:function(){this.initChat()}}],null&&e(f.prototype,null),y&&e(f,y),j}();jQuery((function(){j.init(),window.BeCompChatAlt=j}))}();