var JESONG_MESSAGE_TEXT;
var jesong;
window.sendJesongError = function(type, error){
var img = document.createElement("img");
img.src= "https://glive.easyliao.com/" + jesong.version + "/" + jesong.env.compId + "/i/loadError?c=12947&j=34452&type="+type+"&error="+(error ? window.encodeURIComponent(error) : "")+"&url="+window.encodeURIComponent(window.location.href);
img.style="border:0px;width:0px;height:0px;";
document.body.appendChild(img);
};
window.jesongErrorTimeout = window.setTimeout(function(){
window.sendJesongError(2);
}, 5000);
(function(){
function isMobile(){
if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){
return true;
}else{
return false;
}
}
if(jesong || (false && false != isMobile())){
return;
}
JESONG_MESSAGE_TEXT = {"aboutUs":"

","replyMsgAtConnected":"","welcomeMsgOfConnected":"火星时代教育,为您的升职加薪保驾护航!!!
热门推荐课程免费试听
UI/UE设计丨室内设计丨商业插画丨WEB前端丨
电影特效丨后期合成丨剪辑包装丨影视动画丨
游戏原画丨游戏美术丨游戏开发丨游戏VR丨
因咨询人数较多,我们特别开通2020咨询绿色通道
请您留下姓名+电话稍后会有短信验证码,领取我们的线上价值1000元的免费体验课程。同时也能得到我们的专业老师的指导哦~
值得信赖的数字艺术教育品牌 !
","welcomeMsgOfConnectedMin":"
火星时代教育,为您的升职加薪保驾护航!!!
热门推荐课程免费试听
UI/UE设计丨室内设计丨商业插画丨WEB前端丨
电影特效丨后期合成丨剪辑包装丨影视动画丨
游戏原画丨游戏美术丨游戏开发丨游戏VR丨
因咨询人数较多,我们特别开通2020咨询绿色通道
请您留下姓名+电话稍后会有短信验证码,领取我们的线上价值1000元的免费体验课程。同时也能得到我们的专业老师的指导哦~
值得信赖的数字艺术教育品牌 !
","extCode":"document.getElementById(\"jesong_chat_min\").style.zIndex = 99999;\n\n ;(function () {\n window.FiveChat = function () {\n var Fivetime = setTimeout(function () {\n var jorclicka = document.createElement(\"a\");\n jorclicka.setAttribute(\"id\", \"jorclicka\");\n jorclicka.setAttribute(\"onclick\", \"openJesongChatByGroup(12947,23743);return false;\");\n document.getElementsByTagName(\"body\")[0].appendChild(jorclicka)\n document.getElementById(\"jorclicka\").onclick();\n clearTimeout(Fivetime)\n }, 5000)\n }\n\n window.getBtn = setInterval(function () {\n if (document.getElementById(\"jesong_chat_min_btn\") === null) {\n return false\n } else if (document.getElementById(\"jesong_chat_min_btn\") !== null) {\n clearInterval(clearInterval(window.getBtn))\n document.getElementById(\"jesong_chat_min_btn\").addEventListener(\"click\", function () {\n window.FiveChat()\n })\n }\n }, 200)\n })();","msgOfTrans":"您的对话将被转移给我的同事, 感谢您的咨询!","msgOfDisConnected":"","inviteTitle":"","inviteText":""};
jesong={
chatUrl : 'https://glive.easyliao.com/live/',
lazy : false,
version : '1',
language : 'sc',
visitorReady : false,
forceReady : false,
newChat : false,
jsType : 0,
visitorPhoneVerification: "0",
inputText: "1",
callerOpinion : 1,
env:{
aiReady : -1,
isPhone : false,
scheme : "https",
schemePort : "443",
server:{
monitor:'https://glive.easyliao.com/',
chat:'https://glive.easyliao.com/live/',
file:'https://scripts.easyliao.com/group-prd1/',
guide : 'https://glive.easyliao.com/api/robot'
},
compId:12947,
confId:34452,
vId:'',
uId:'',
pId:0,
sid:0,
promotionId:0,
mId:'',
lang:'',
min:1,
pos:'1',
groupId:'23929'
},
config:{
firstToRebot:0,
phoneChatPop:0,
monitor:true,
panel:true,
frameChatStyle:14,
forceChatLogo:"",
phoneDefine:2,
imgSizeDefault:false,
showTransferMsg:true,
copyWechat:true,
copyQq:true,
canCall:true,
freeCall:false,
baiduMap:false,
phoneMinimizeTip:0,
closePopTip:1,
pageReminderNew:1,
pcPageReminderNew:1,
closeFn:1
},
font:{
custFontCss : 'font-family:宋体!important;font-size:12px;color:#000000!important;',
vistFontCss : 'font-family:宋体!important;font-size:12px;color:#FFFFFF!important;'
},
monitor:{}, panel:{},win:{},icon:{},text:{}, freecall:{}, probe:{}, phone:{}, msg:{},
_isBindHost:function(){
var bindHosts = "";
if(bindHosts != ""){
var _hosts = bindHosts.split(",");
var domain = window.location.host;
var bindHostFlag = false;
for(var i=0; i < _hosts.length; i++){
if(domain == _hosts[i]){
bindHostFlag = true;
break;
}
}
return bindHostFlag;
}else{
return true;
}
},
_genId : function(){
var random4 = function(){
return parseInt(Math.random()*9000+1000, 10);
}
var cId = "12947";
while(cId.length < 12){
cId = "0"+cId;
}
var id = ""+new Date().getTime();
id = id.substring(3);
id += random4();
id += random4();
return "01"+cId+id;
},
_createLayout : function(id, className){
if(!this.lazy){
document.write('');
}else{
var _div = document.createElement("div");
_div.id = id;
_div.className = className;
document.body.appendChild(_div);
}
},
_loadJS : function(src){
if(!this.lazy){
//async="async"
document.write('');
}else{
var script = document.createElement( "script" );
script.type = "text/javascript";
script.charset = "utf-8";
script.src = src;
document.getElementsByTagName("script")[0].parentNode.appendChild(script);
}
},
_loadCSS : function(url){
if(!this.lazy){
document.write('');
}else{
var link = document.createElement( "link" );
link.type = "text/css";
link.rel = "stylesheet";
link.href = url;
document.getElementsByTagName( "head" )[0].appendChild( link );
}
},
init:function(){
if(this._isBindHost()){
jesong.env.vId = this._genId();
this._createLayout("jesong_panel", "");
if(jesong.jsType == 1 && jesong.env.isPhone){
this._createLayout("jesong_chat_layout", "jesong_phone_layout jesong_phone_layout_sc_1");
}else{
this._createLayout("jesong_chat_layout", "jesong_chat_layout_pc jesong_chat_layout_pc_sc");
}
document.getElementById("jesong_chat_layout").style.display = "none";
this._createLayout("jesong_chat_min", "jesong_chat_min_sc");
this._createLayout("jesong_pop_msg", (jesong.jsType == 1 && jesong.env.isPhone) ? "jesong_pop_msg_phone" : "");
if("https:" == document.location.protocol){
this.env.server.monitor = this.env.server.monitor.replace("http:", "https:");
this.env.server.chat = this.env.server.chat.replace("http:", "https:");
this.env.server.file = this.env.server.file.replace("http:", "https:");
this.env.schemePort = "443";
this.env.scheme = "https";
}
this._loadCSS(this.env.server.file + "css/webcall.css?ver=1");
this._loadJS(this.env.server.file + "static/2019/js/webcall.js");
this._loadCSS(this.env.server.file + "static/2019/css/force.css?ver=1");
}
},
words:{
welcome:JESONG_MESSAGE_TEXT.welcomeMsgOfConnected,
welcomeMin:JESONG_MESSAGE_TEXT.welcomeMsgOfConnectedMin,
greeting:JESONG_MESSAGE_TEXT.replyMsgAtConnected,
disconnect:JESONG_MESSAGE_TEXT.msgOfDisConnected
}
};
jesong.monitor.config={
index:11,
type:0,
title:JESONG_MESSAGE_TEXT.inviteTitle,
text:JESONG_MESSAGE_TEXT.inviteText,
pos:'3',
auto:-1,
showInviteAgain:-1,
autoInviteTimes:-1,
group:'23929',
start:'00:00',
end:'07:00',
mask:false,
mainBg:'url() no-repeat',
mainHeight:'0',
mainWidth:'0',
acceptStyle:'position:absolute;background:url() no-repeat;height:0px;width:0px;top:0px;left:0px;',
refuseStyle:'position:absolute;background:url() no-repeat;height:0px;width:0px;top:0px;left:0px;',
textStyle:'position:absolute;height:0px;width:0px;top:0px;left:0px;'
};
jesong.panel.config={
category:'icon',
position:1,
vertical:513,
horizon:0,
panelWhenInvite:'1'
};
jesong.icon.config={
mode:1,
target:'23929',
online:'http://prd52.easyliao.com:80/images/floaticon/online-3.png',
offline:'http://prd52.easyliao.com:80/images/floaticon/offline-3.png',
width:129,
height:183,
status:1,
closeWidth : 16,
closeHeight : 16,
closeTop : 85,
closeLeft : 112
};
jesong.freecall.config = {
groupId : -1,
show : false,
panelPos : 0,
panelBg : "",
panelWidth : 0,
panelHeight : 0,
panelTop : -1,
panelLeft : -1,
panelRight : -1,
panelBottom : -1,
textWidth : 0,
textHeight : 0,
textLeft : 0,
textTop : 0,
closeWidth : 0,
closeHeight : 0,
closeLeft : 0,
closeTop : 0,
callWidth : 0,
callHeight : 0,
callLeft : 0,
callTop : 0
};
jesong.probe = {
texts:"",
groupIds:""
};
jesong.msg.remind = {
msgNumPrompt:0,
msgAlertBubble:1,
msgBubblePos:0,
msgBubbleTime:0,
msgBubbleTimeNum:60
};
jesong.autochat={
keyWord : null,
sendkeyWord : 0,
searchMode : 0,
bgcolor:'#473547',
width:450,
height:500,
showCustomerInfoMin:0,
showAboutUsMin:0,
ad2ImageURLMin:'null',
ad2ImageLinkMin:'null',
aboutusShortImgMin:'null',
aboutusLongImgMin:'null',
use:1,
start:'00:00',
end:'7:00',
times:-1,
delay : 3,
hideMonitor : true,
show:false,
welcome:JESONG_MESSAGE_TEXT.welcomeMsgOfConnected,
aboutUs:JESONG_MESSAGE_TEXT.aboutUs,
waitSendMsg:'',
connect : '1',
closeBtn : '0',
minBtn : '1',
maxBtn : true,
mask : '0',
userHead : 'http://imgs.easyliao.com/M00/18/0A/Ch6jw13NBgWAVEfMAAFyzhFAmQs857.png',
visitorHead : 'https://scripts.easyliao.com/group-prd1//images/chat/201805/head-visitor.png',
topImage : 'http://imgs.easyliao.com/M00/35/F7/Ch6jw19kGFOAROp0AAK7ipSXlZw655.png',
topImageMin : 'http://imgs.easyliao.com/M00/35/F7/Ch6jw19kGFOAROp0AAK7ipSXlZw655.png',
phoneHeight : 80,
tel : '',
pageTitle : '官方:4008101418',
pcMinLogo : 'http://imgs.easyliao.com/M00/35/F9/Ch6jw19kIPmAHUe3AAAnQgsZGds828.png',
autoPopMWinTime : -1,
autoPopMWinPeroid : -1,
autoPopMWinTimePC : -1,
autoPopMWinPeroidPC : -1,
softLogoLicense : false,
softLogo : "",
tools:{
emoticons : '1',
opinion : '1',
screen : '1',
file : '1',
quiet : '1'
},
popMsg : {
head : '',
title : '您有新的客户消息,请注意查看!',
bgColor : '#2273F8',
color : '#ffffff',
opacity : '80'
}
};
jesong.ocpc = {
platform:'-1',
condition:'1',
configId:'0'
};
if(!jesong.lazy){
document.write('');
}else{
var x = document.createElement("STYLE");
var t = document.createTextNode(".vstText{"+jesong.font.vistFontCss+"} .svcText{"+jesong.font.custFontCss+"}");
x.appendChild(t);
document.head.appendChild(x);
}
jesong.init();
})();