PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/logokingdom.online/wp-content/plugins/wp-live-chat-support/js/themes/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : //home/trave494/logokingdom.online/wp-content/plugins/wp-live-chat-support/js/themes/modern.min.js |
jQuery(document).on("bleeper_agent_disconnected",function(e){jQuery(".wplc_agent_info").attr("aid")==e.ndata.aid&&(jQuery(".wplc_agent_info").html(""),wplc_animate_agent_header_down(),jQuery("#wplc_chatbox").css("top","18px"))}),jQuery(document).on("bleeper_agent_left",function(e){jQuery(".wplc_agent_info").attr("aid")==e.ndata.agent&&(jQuery(".wplc_agent_info").html(""),wplc_animate_agent_header_down(),jQuery("#wplc_chatbox").css("top","18px"))}),jQuery(document).on("wplc_minimize_chat",function(e){wplc_is_chat_open=!1,jQuery("#wp-live-chat").height(""),"bottom_right"===jQuery("#wp-live-chat").attr("original_pos")?(jQuery("#wp-live-chat").css("left",""),jQuery("#wp-live-chat").css("bottom","0"),jQuery("#wp-live-chat").css("right","20px")):"bottom_left"===jQuery("#wp-live-chat").attr("original_pos")?(jQuery("#wp-live-chat").css("left","20px"),jQuery("#wp-live-chat").css("bottom","0"),jQuery("#wp-live-chat").css("right","")):"left"===jQuery("#wp-live-chat").attr("original_pos")?(jQuery("#wp-live-chat").css("left","20px"),jQuery("#wp-live-chat").css("bottom","100px")):jQuery("#wp-live-chat").attr("original_pos"),jQuery("#wp-live-chat").addClass("wplc_close"),jQuery("#wp-live-chat").removeClass("wplc_open"),jQuery("#wp-live-chat").css("top",""),jQuery("#wp-live-chat").css("height",""),jQuery("#wp-live-chat-1").show(),jQuery("#wp-live-chat-1").css("cursor","pointer"),jQuery("#wp-live-chat-2").hide(),jQuery("#wp-live-chat-3").hide(),jQuery("#wp-live-chat-4").hide(),jQuery("#wplc_social_holder").hide(),jQuery("#nifty_ratings_holder").hide(),jQuery("#nifty_ratings_holder").hide(),jQuery("#wp-live-chat-react").hide(),jQuery("#wp-live-chat-minimize").hide(),jQuery("#wp-live-chat-header").show()}),jQuery(document).on("wplc_start_chat",function(e){jQuery("#wp-live-chat-2-inner").hide("slow"),jQuery.event.trigger({type:"wplc_open_chat_1"}),jQuery.event.trigger({type:"wplc_open_chat_2",wplc_online:wplc_online})}),jQuery(document).on("wplc_open_chat_1",function(e){jQuery("#wp-live-chat").removeClass("wplc_close"),jQuery("#wp-live-chat").addClass("wplc_open"),jQuery("#wp-live-chat-react").hide(),Cookies.set("wplc_hide","",{expires:1,path:"/"}),jQuery("#wp-live-chat-minimize").show()}),jQuery(document).on("wplc_agent_joined",function(e){var t="",a="",i="",l="",n="";if(void 0!==e.ndata.other.email&&e.ndata.other.email,void 0!==e.ndata.other.name&&(t=e.ndata.other.name),void 0!==e.ndata.other.aid&&(a=parseInt(e.ndata.other.aid)),void 0!==e.ndata.other.agent_tagline&&(i=e.ndata.other.agent_tagline),void 0!==e.ndata.other.agent_bio&&(l=e.ndata.other.agent_bio),void 0!==e.ndata.other.social_links&&(n=e.ndata.other.social_links),!isNaN(a)){jQuery(".wplc_no_answer").remove(),jQuery(".admin_chat_name").html(t),wplc_node_pair_name=t,wplc_agent_name=t;var c=wplc_user_avatars[a];if(""===jQuery(".wplc_agent_info").html().trim()||void 0===jQuery(".wplc_agent_info").attr("aid")){jQuery(".wplc_agent_info").html(""),jQuery(".wplc_agent_info").attr("aid",a),jQuery("#agent_grav_"+a).length||(jQuery("<p/>",{class:"",style:"text-align:center;",html:'<img class="img-thumbnail img-circle wplc_thumb32 wplc_agent_involved" style="max-width:inherit;" id="agent_grav_'+a+'" title="'+t+'" src="'+c+'?s=60&d=mm" /><br /><span class="wplc_agent_name wplc-color-2">'+t+"</span>"+i+l+n}).appendTo(".wplc_agent_info"),jQuery("<span/>",{class:"bleeper_pullup down",html:'<i class="fa fa-angle-up"></i>'}).appendTo(".wplc_agent_info"));jQuery("#wplc_chatbox_header_bg").css("background-image","url("+c+"?s=380&d=mm)"),jQuery("#wplc_chatbox").css("top",jQuery("#wplc_chatbox_header").height()+18+"px")}else{var r=jQuery(".wplc_agent_info").attr("aid"),o=r.split(","),h=!1;for(var s in o){parseInt(o[s])===a&&(h=!0)}if(!h){r+=","+a,jQuery(".wplc_agent_info").attr("aid",r);var _=jQuery(".wplc_agent_name").text();jQuery(".wplc_agent_name").text(_+", "+t),jQuery(".wplc_agent_tagline").hide(),jQuery(".wplc_agent_social_links").hide(),jQuery("img.wplc_agent_involved").removeClass("wplc_thumb32").addClass("wplc_thumb16_stacked"),jQuery('<img class="img-thumbnail img-circle wplc_thumb16_stacked wplc_agent_involved" style="max-width:inherit;" id="agent_grav_'+a+'" title="'+t+'" src="'+c+'?s=60&d=mm" />').insertAfter("img.wplc_agent_involved:last"),jQuery("#wplc_chatbox_header").css("max-height",jQuery("#wplc_chatbox_header").outerHeight()),jQuery("#wplc_chatbox").css("top",jQuery("#wplc_chatbox_header").height()+"px"),jQuery("#wplc_chatbox_header_bg").css("background-image","none")}}}}),jQuery(document).on("bleeper_build_involved_agents_header",function(e){if(void 0!==e.ndata&&void 0!==e.ndata.chatid&&void 0!==e.ndata.agents&&e.ndata.chatid===chatid){var t=e.ndata.agents;for(var a in t){var i=t[a];if(void 0!==wplc_agent_data[i]){wplc_agent_data[i].md5,wplc_agent_data[i].name;var l={email:wplc_agent_data[i].md5,name:wplc_agent_data[i].name,aid:i};jQuery.event.trigger({type:"wplc_agent_joined",ndata:{other:l}})}}}}),jQuery(document).on("wplc_animation_done",function(e){jQuery("#nifty_text_editor_holder").remove(),jQuery("#wplc_msg_notice").remove(),jQuery("#wp-live-chat-minimize").remove(),jQuery("#wplc_logo").prependTo("#wplc_chatbox_header"),jQuery("wplc_chatbox").hasClass("wplc-shrink")?(jQuery("#wplc_chatbox").css("top",jQuery("#wplc_chatbox_header").height()+18+"px"),jQuery("#wplc_logo").show()):(jQuery("#wplc_chatbox").css("top",jQuery("#wplc_chatbox_header").height()+18+"px"),jQuery("#wplc_logo").hide()),jQuery("#wplc_chatbox").css("bottom","0")}),jQuery(document).on("wplc_open_chat_2",function(e){wplc_chat_status=Cookies.get("wplc_chat_status"),("yes"!==Cookies.get("wplc_minimize")||jQuery("#wp-live-chat-header").hasClass("active"))&&(jQuery("#wp-live-chat-1").hide(),jQuery("#wp-live-chat-2-inner").hide(),jQuery("#wp-live-chat-2").show(),jQuery("#wp-live-chat-header").hasClass("active")||jQuery("#wplc_chatmsg").focus(),jQuery("#wp-live-chat-header").addClass("active"),jQuery("#wp-live-chat").addClass("mobile-active"),wplc_chat_status=Cookies.get("wplc_chat_status"),void 0!==e.wplc_online&&!0===e.wplc_online&&(jQuery("#wp-live-chat-4").show(),jQuery("#wplc_social_holder").show(),jQuery("#nifty_ratings_holder").show(),jQuery.event.trigger({type:"wplc_animation_done"})),setTimeout(function(){wplc_scroll_to_bottom()},1e3),jQuery("#wp-live-chat-3").hide(),jQuery("#wplc_chatmsg").focus(),jQuery("#wp-live-chat-minimize").css("right","23px"),Cookies.set("wplc_minimize","",{expires:1,path:"/"}))});var wplc_leave_window_alone=!1,wplc_currently_animating_agent_header=!1;function wplc_animate_agent_header_up(){!wplc_currently_animating_agent_header&&jQuery("#wplc_chatbox_header").hasClass("wplc-shrink")&&""!==jQuery("#wplc_chatbox_header .wplc_agent_info:first-child").html()&&(wplc_currently_animating_agent_header=!0,jQuery("#wplc_chatbox_header").removeClass("wplc-shrink"),jQuery("#wplc_chatbox_header").animate({maxHeight:"280px"},{duration:700,complete:function(){jQuery("#wplc_logo").show(),wplc_currently_animating_agent_header=!1,jQuery("#wplc_chatbox_header").css("max-height",jQuery("#wplc_chatbox_header").outerHeight()),jQuery("#wplc_chatbox").css("top",jQuery("#wplc_chatbox_header").height()+18+"px")},progress:function(){jQuery("#wplc_chatbox").css("top",jQuery("#wplc_chatbox_header").height()+18+"px")}})),jQuery(".bleeper_pullup").removeClass("up"),jQuery(".bleeper_pullup").addClass("down"),jQuery(".bleeper_pullup").html("<i class='fa fa-angle-up'></i>"),jQuery(".bleeper_pullup").css("bottom","5px")}function wplc_animate_agent_header_down(){wplc_currently_animating_agent_header||jQuery("#wplc_chatbox_header").hasClass("wplc-shrink")||""===jQuery("#wplc_chatbox_header .wplc_agent_info:first-child").html()||(wplc_currently_animating_agent_header=!0,jQuery("#wplc_chatbox_header").addClass("wplc-shrink"),jQuery("#wplc_chatbox").css("top","50px"),jQuery("#wplc_chatbox_header").animate({height:"50px",maxHeight:"50px"},{duration:200,start:function(){jQuery("#wplc_logo").hide()},complete:function(){wplc_currently_animating_agent_header=!1,jQuery("#wplc_chatbox_header").css("max-height","50px"),jQuery("#wplc_chatbox_header").css("height","auto")}})),jQuery(".bleeper_pullup").removeClass("down"),jQuery(".bleeper_pullup").addClass("up"),jQuery(".bleeper_pullup").html("<i class='fa fa-angle-down'></i>"),jQuery(".bleeper_pullup").css("bottom","0px")}jQuery(function(){jQuery("body").on("mousewheel","#wplc_chatbox",function(e,t){1==t?wplc_animate_agent_header_up():wplc_animate_agent_header_down()}),jQuery("body").on("click",".bleeper_pullup",function(){jQuery(".bleeper_pullup").hasClass("down")?wplc_animate_agent_header_down():wplc_animate_agent_header_up()}),jQuery("body").on("click","#wp-live-chat-header",function(){}),jQuery("body").on("click",".wplc_retry_chat",function(){jQuery("#wplc_chatbox").html(""),jQuery("#wp-live-chat-4").fadeOut(),Cookies.remove("wplc_chat_status"),jQuery("#wp-live-chat-2-inner").fadeIn(),wplc_shown_welcome=!1}),jQuery("body").on("click","#wp-live-chat-header",function(){jQuery(this).hasClass("active")?(jQuery("#wplc_hovercard").fadeOut("fast"),jQuery("#wp-live-chat-2").fadeOut("fast"),jQuery(this).removeClass("active"),jQuery.event.trigger({type:"wplc_minimize_chat"}),Cookies.set("wplc_minimize","yes",{expires:1,path:"/"})):(jQuery("#wplc_hovercard").fadeIn("fast"),jQuery(this).addClass("active"),wplc_chat_status=Cookies.get("wplc_chat_status"),nc_status=Cookies.get("nc_status"),3!=parseInt(wplc_chat_status)&&2!=parseInt(wplc_chat_status)&&0!=parseInt(wplc_chat_status)&&12!=parseInt(wplc_chat_status)&&10!=parseInt(wplc_chat_status)&&"active"!==nc_status||(jQuery("#bleeper_bell").hide(),jQuery("#speeching_button").click())),jQuery("#wplc_gdpr_end_chat_notice_container").hide()}),jQuery("body").on("click","#wplc_hovercard_min",function(){jQuery("#wplc_hovercard").fadeOut("fast")}),jQuery("body").on("click","#speeching_button",function(){jQuery("#wplc_hovercard").fadeOut("fast"),jQuery("#wplc-chat-alert").removeClass("is-active"),wplc_is_chat_open=!0,jQuery.event.trigger({type:"wplc_open_chat"})}),jQuery("body").on("click","#wp-live-chat-minimize",function(){jQuery("#wp-live-chat-header").removeClass("active")})}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(e){function t(t){var c=t||window.event,r=o.call(arguments,1),h=0,_=0,p=0,u=0,d=0,w=0;if((t=e.event.fix(c)).type="mousewheel","detail"in c&&(p=-1*c.detail),"wheelDelta"in c&&(p=c.wheelDelta),"wheelDeltaY"in c&&(p=c.wheelDeltaY),"wheelDeltaX"in c&&(_=-1*c.wheelDeltaX),"axis"in c&&c.axis===c.HORIZONTAL_AXIS&&(_=-1*p,p=0),h=0===p?_:p,"deltaY"in c&&(h=p=-1*c.deltaY),"deltaX"in c&&(_=c.deltaX,0===p&&(h=-1*_)),0!==p||0!==_){if(1===c.deltaMode){var y=e.data(this,"mousewheel-line-height");h*=y,p*=y,_*=y}else if(2===c.deltaMode){var g=e.data(this,"mousewheel-page-height");h*=g,p*=g,_*=g}if(u=Math.max(Math.abs(p),Math.abs(_)),(!n||n>u)&&(n=u,i(c,u)&&(n/=40)),i(c,u)&&(h/=40,_/=40,p/=40),h=Math[h>=1?"floor":"ceil"](h/n),_=Math[_>=1?"floor":"ceil"](_/n),p=Math[p>=1?"floor":"ceil"](p/n),s.settings.normalizeOffset&&this.getBoundingClientRect){var m=this.getBoundingClientRect();d=t.clientX-m.left,w=t.clientY-m.top}return t.deltaX=_,t.deltaY=p,t.deltaFactor=n,t.offsetX=d,t.offsetY=w,t.deltaMode=0,r.unshift(t,h,_,p),l&&clearTimeout(l),l=setTimeout(a,200),(e.event.dispatch||e.event.handle).apply(this,r)}}function a(){n=null}function i(e,t){return s.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}var l,n,c=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],r="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],o=Array.prototype.slice;if(e.event.fixHooks)for(var h=c.length;h;)e.event.fixHooks[c[--h]]=e.event.mouseHooks;var s=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var a=r.length;a;)this.addEventListener(r[--a],t,!1);else this.onmousewheel=t;e.data(this,"mousewheel-line-height",s.getLineHeight(this)),e.data(this,"mousewheel-page-height",s.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var a=r.length;a;)this.removeEventListener(r[--a],t,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var a=e(t),i=a["offsetParent"in e.fn?"offsetParent":"parent"]();return i.length||(i=e("body")),parseInt(i.css("fontSize"),10)||parseInt(a.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})});