
	

   	MyLiveChat.RawLangJson={_culture:"en-US",UI_INSERTIMAGE:"Insert Image",UI_SUPPORT_HEADLINE:"Live Chat",CHATLOG:"Chat Log",RATING:"Rating",COMMENT:"Comment",NAME:"Name",EMAIL:"Email",ENQUIRY:"Message",SUBJECT:"Subject",QUESTION:"Question",DEPARTMENT:"Department",STARTCHAT:"Start Chat",FEEDBACK:"Post Feedback",OK:"OK",CANCEL:"Cancel",UI_SEND:"Send",MAXIMIZE:"Maximize",MINIMIZE:"Minimize",POPOUT:"Pop-out",ENDCHAT:"End Chat",CLOSE:"Close",SAYS:"says:",INPUTREQUIRED:"Input Required:",FEEDBACKEMAILTITLEFORMAT:"MyLiveChat : {0} sent an Offline Message. Title: {2}",FEEDBACKEMAILCONTENTFORMAT:"\x0D\x0A		User Name:{0}\x0D\x0A\x0D\x0A		Email Address:{1}\x0D\x0A\x0D\x0A		Title:{2}\x0D\x0A\x0D\x0A\x0D\x0A		Details:\x0D\x0A\x0D\x0A		{3}\x0D\x0A	",UI_INVITE_MESSAGE:"Thanks for visiting. How can we help you?",UI_LOADING:"Loading",UI_SUPPORT_READY:"Thanks! We\x27ve got your message \u2014 an agent will be with you in a moment.",UI_SUPPORT_WAIT:"Connecting you to the next available agent. They\x27ll help with: \x22{0}\x22.",UI_SUPPORT_WAIT_NOQUESTION:"Connecting you to the next available agent\u2026",UI_SUPPORT_NOAGENT:"No agent online! Please leave an offline message.",UI_SUPPORT_TITLE:"Live Support",UI_SUPPORT_WELCOME:"Thank you for contacting us. To serve you better please provide the following information:",UI_WAITING_TITLE:"LiveChat",UI_WAITING_HEADLINE:"Live Chat",UI_WAITING_MESSAGE:"Need Help? Chat with us",UI_SURVEY_HEADLINE:"Live Chat Exit Survey",UI_SURVEY_MESSAGE:"To help us serve you better, please provide some information concerning your chat experience.",UI_SURVEY_LOGTOOLTIP:"Email me a copy of this chat",UI_SURVEY_CLOSEBUTTON:"I want to close this chat window",UI_SURVEY_RATE1:"Very Bad",UI_SURVEY_RATE2:"Bad",UI_SURVEY_RATE3:"Normal",UI_SURVEY_RATE4:"Good",UI_SURVEY_RATE5:"Very Good",UI_FEEDBACK_TITLE:"Offline Message",UI_FEEDBACK_HEADLINE:"Leave a message",UI_FEEDBACK_MESSAGE:"There are no agents available right now to take your call. Please leave a message and we will reply by email.",UI_INLINE_ONLINE:"Chat now",UI_INLINE_OFFLINE:"Leave a message",UI_USER_ADDED:"{0} joined the room.",UI_USER_REMOVED_BYCLIENT:"{0} left this room.",UI_USER_REMOVED_EXPIRED:"{0} left this room..",UI_INPUTEMAILADDRESS:"Please input your email address.",UI_SENDEMAILOK:"Your e-mail was sent successfully!",UI_USER_TYPING:" is typing a message.",UI_INVALIDIDENTITY:"You are not authorized to perform the current operation.",UI_CHATCOMMANDS:"Chat Commands",UI_ALERT:"System Alert",UI_CONNECTION_MISSINGNICKNAME:"The nickname field is empty.",UI_CONNECTION_SHORTNICKNAME:"Your nickname is too short.",UI_CONNECTION_LONGNICKNAME:"Your nickname is too long.",UI_CONNECTION_CONNECTING:"Please wait, connecting to server...",UI_CONNECTION_ERROR:"The connection to the chat server is lost. {0}",UI_CONNECTION_READY:"Connected!",UI_CONNECTION_DISCONNECT:"You\x27re disconnected.",UI_CONNECTION_CANCELLED:"Connection Cancelled.",UI_CONNECTION_NOPLACE:"The server is reset and this chat room is deleted. Please close the window and try again.",UI_CONNECTION_REMOVED:"You are removed from the channel due to inactivity.",UI_CONNECTION_REJECTED:"The server have declined your connection.",UI_CONNECTION_NOCONNECTION:"The connection to the chat server is lost.",UI_CONNECTION_IDEXISTS:"You are already logged in this chat application. A new connection cannot be established.",UI_CONNECTION_ANOTHERLOGIN:"This account has been signed into another device.",UI_CONNECTION_KICK:"You Have Been Banned By Administrator.",UI_BOLD:"Bold",UI_ITALIC:"Italic",UI_UNDERLINE:"Underline",UI_HELP:"Help",UI_CONTROLPANEL:"Control Panel",UI_EMOTION:"Insert Emotions",UI_FONTCOLOR:"Font Color",UI_AVATAR:"Pick an avatar",UI_CHANGEPICTURE:"Change your display picture",UI_PLAYSOUND:"Play sounds",UI_SELECTSKIN:"Select a skin",UI_FONT:"Font",UI_SIZE:"Size",UI_SAVE:"Save Chat Transcript",UI_CLOSE:"Close",UI_MAIL:"Email Chat Transcript",UI_RATEGOOD:"Rate Good",UI_RATEBAD:"Rate Bad",UI_PRINT:"Print Chat Transcript",UI_FILE:"Send a File",UI_PICTURE:"Send a Picture",UI_SOUNDON:"Sound On. Click to turn off",UI_SOUNDOFF:"Sound Off. Click to turn on",UI_SAVECHATLOG:"To save the messages, right click the page and choose \x27save as\x27",UI_BUZZ:"Nudge",UI_SENDFILE:"Send File",UI_HISTORY:"View message history",UI_SEND_NOFILE:"Please select a file to send!",UI_SEND_A_FILE_SUBTITLE:"Select a file to send, then click send button.",UI_SEND_UPLOADSUCCESSFULLY:"File uploaded successfully!",UI_ALLOWEDFILES:"Allowed file types:",UI_FEATUREDISABLED:"This feature has been disabled by the system administrator!",UI_SPELL:"Spell Check",UI_LINK:"Send a Link",UI_CANNEDMSG:"Canned messages",CS_MENU_CONSOLE:"Console",CS_MENU_CONNECT:"Connect",CS_MENU_DISCONNECT:"Disconnect",CS_MENU_REFRESH:"Refresh",CS_MENU_EXIT:"Exit",CS_MENU_STATUS:"Status",CS_MENU_ONLINE:"Online",CS_MENU_AWAY:"Away",CS_MENU_BUSY:"Busy",CS_MENU_APPEAROFFLINE:"Appear Offline",CS_MENU_TOOLS:"Tools",CS_MENU_VIEWVISITORS:"View Visitors",CS_MENU_VIEWRECORDS:"View Chat Records",CS_MENU_VIEWMESSAGES:"View Offline Messages",CS_MENU_TESTNOTIFY:"Test Notification",CS_MENU_OPTIONS:"Options",CS_MENU_HELP:"Help",CS_MENU_HOME:"MyLiveChat Home",CS_MENU_LICENSE:"License Information",CS_MENU_ABOUT:"About",CS_MENU_CONNECTED:"Connected",CS_MENU_DISCONNECTED:"Disconnected",CS_MENU_VISITORS:"Visitors",CS_MENU_MESSAGES:"Messages",CS_MENU_DAYSREMAIN:"{0} days remaining",CS_MENU_HOURSREMAIN:"{0} hours remaining",CS_TITLE_LICENSEINFO:"License Information",CS_MENU_CONNECTTING:"Connecting",CS_MENU_CONNECTNOW:"Connect Now",CS_LABEL_PLEASESETONLINE:"Please change status to online if you are ready to chat.",CS_LABEL_DISCONNECTED:"You have been disconnected from server.",CS_LABEL_NETWORKDELAY:"Network delay: {0} seconds.",CS_TITLE_DEPARTMENTS:"Departments/Agents",CS_TITLE_VISITORS:"Current Visitors",CS_TITLE_REQUESTQUEUE:"Request Queue",CS_TITLE_CONVERSATIONS:"Conversations",CS_MENU_ADDAGENT:"Add agent",CS_MESSAGE_TYPEAGENTNAME:"Please input the new agent name:",CS_MENU_ADDDEPARTMENT:"Create a department",CS_MENU_RENAMEDEPARTMENT:"Rename this department",CS_MESSAGE_TYPEDEPARTMENTNAME:"Please input the new department name:",CS_MENU_DELETEDEPARTMENT:"Delete this department",CS_MESSAGE_DEPARTMENTEXISTS:"Department already exists.",CS_MENU_CHATWITH:"Private Chat",CS_MENU_REMOVEAGENT:"Remove Agent",CS_MESSAGE_REMOVEAGENT:"Are you sure you want to remove this agent: {0}?",CS_MENU_CHANGEOFFLINE:"Change To Offline",CS_MENU_MOREACTIONS:"More Options",CS_LABEL_EMPTYQUEUE:"Request Queue is Empty.",CS_COLUMN_DETAILS:"Details",CS_COLUMN_SESSIONS:"Sessions",CS_COLUMN_MAP:"GeoMap",CS_COLUMN_NAME:"Name",CS_COLUMN_DEPARTMENT:"Department",CS_COLUMN_WAITDURATION:"Duration",CS_COLUMN_DOMAIN:"Domain",CS_COLUMN_LOCATION:"Location",CS_MENU_DETAILS:"Details",CS_MENU_INVITE:"Invite",CS_TITLE_INVITEPROMPT:"Chat Invitation:",CS_MESSAGE_TYPEINVITEMESSAGE:"Please type the invitation text:",CS_MENU_JOIN:"Join Chat",CS_MENU_OPENURL:"Open URL",CS_MENU_SHOWMAP:"Show Map",CS_MENU_USERINFO:"User Info",CS_MENU_ACCEPT:"Accept",CS_MENU_BAN:"Ban User",CS_MENU_INVITEAGENT:"Invite",CS_MENU_TRANSFERAGENT:"Transfer",CS_MENU_ACCEPTFIRST:"Accept First",CS_MENU_AUTOACCEPT:"Auto Accept",CS_COLUMN_VISITORID:"Contact ID",CS_COLUMN_STATUS:"Status",CS_COLUMN_DURATION:"Duration",CS_COLUMN_VISITS:"Visits",CS_COLUMN_PLATFORM:"Platform",CS_COLUMN_REFERRER:"Referrer",CS_COLUMN_KEYWORD:"Keyword",CS_COLUMN_RESOLUTION:"Resolution",CS_COLUMN_BROWSER:"Browser",CS_COLUMN_EMAIL:"Email",CS_COLUMN_AGENT:"Agent",CS_COLUMN_PRODUCT:"Product",CS_COLUMN_CUSTOMDATA:"Custom Data",CS_COLUMN_CONTEXTDATA:"Context Data",CS_COLUMN_COUNTRY:"Country",CS_COLUMN_CITY:"City",CS_COLUMN_QUESTION:"Question",CS_STATUS_TRIGGER:"Triggering",CS_STATUS_INVITING:"Inviting",CS_STATUS_CHATTING:"Chatting",CS_STATUS_NOASK:"Declined",CS_STATUS_WAITING:"Waiting",CS_STATUS_VISITORAWAY:"Away",CS_STATUS_VISITORONLINE:"Online",CS_LABEL_TRACKALL:"Tracking all visitors",CS_LABEL_TRACKNONE:"Stop tracking visitors",CS_LABEL_SHOWDETAILS:"Show Details",CS_LABEL_FREEZELIST:"Freeze",CS_LABEL_CONSOLETAB:"Console",CS_TITLE_CONFIRMDISCONNECT:"Disconnecting",CS_MESSAGE_CONFIRMDISCONNECT:"Are you sure you want to disconnect from mylivechat?",CS_TITLE_SPELLCHECK:"Spell Check",CS_MESSAGE_PROMPTEMAIL:"Please specify the email address:",CS_TITLE_WELCOME:"MyLiveChat",CS_MESSAGE_WELCOME:"Welcome to MyLiveChat Agent Console.",CS_MESSAGE_CHOOSEALLOWNOTIFICATION:"Please select \x27Allow\x27 to enable desktop notifications for mylivechat agent console.",CS_MESSAGE_NOVISITOR1:"Your online visitor list is empty.",CS_MESSAGE_NOVISITOR2:"Website currently has no visitors.",CS_MESSAGE_NOVISITOR3:"Probably you have not installed the chat button or monitor code on your web sites yet.",CS_MESSAGE_NOVISITOR4:"If you want to test the visitor list now, please visit \x3Ca href=\x27{0}\x27 target=\x27_blank\x27\x3Ethis demo page\x3C/a\x3E, (also see \x3Ca href=\x27{1}\x27 target=\x27_blank\x27\x3EAdd Chat button to web pages\x3C/a\x3E)",CS_TITLE_NETWORKISSUE:"Network Connection Problem",CS_MESSAGE_NETWORKDROPPED:"The connection to the chat server is lost, reconnecting...",CS_MESSAGE_RECONNECTING:"Connection to the chat server failed, reconnecting...",CS_MESSAGE_VISITORISWAITING:"A visitor called {0} is waiting for live chat. ",CS_MESSAGE_VISITORWAITFORSEC:"Visitor: {0} has been waiting for {1} seconds.",CS_MESSAGE_ADDUSERNOTFOUND:"Agent name not found. Please try again.",CS_MESSAGE_AGENTACCEPTCUSTOMER:"Agent {0} has accepted the customer {1}.",CS_MESSAGE_CUSTOMERJOINCHAT:"Customer {0} has joined the chat.",CS_MESSAGE_INVITECUSTOMEREXPIRED:"Unable to invite {0}: Invitation timed out",CS_MESSAGE_INVITECUSTOMERINVALID:"Unable to invite {0}: Invalid status.",CS_MESSAGE_AGENTINVITECUSTOMER:"Agent {0} has invited the customer {1}.",CS_MESSAGE_AGENTTRANSFERAGENT:"Agent {0} is transfering {1} to {2}.",CS_MESSAGE_AGENTINVITEAGENT:"Agent {0} is inviting {1} to chat with {2}.",CS_MESSAGE_TRANSFERTOYOU:"Agent {0} is transfering {1} to you.",CS_MESSAGE_INVITETOYOU:"Agent {0} is inviting you to chat with {1}.",CS_MESSAGE_CUSTOMERREJECTEDINVITE:"Customer {0} has declined the chat invitation from {1}.",CS_MESSAGE_CUSTOMERACCEPTEDINVITE:"Customer {0} has accepted the chat invitation from {1}.",CS_MESSAGE_NEWOFFLINEMESSAGE:"Customer {0} sent an offline message: {1}.",CS_MESSAGE_NOGEOINFO:"No Map Data Available.",CS_MESSAGE_NOTIFYNEWVISITOR:" A visitor from {0} just entered your website. ",CS_TITLE_FEEDBACK:"Offline Messages",CS_MENU_HISTORY:"History",CS_MENU_SENDEMAIL:"Send Email",CS_MENU_MARKREADALL:"Mark all as read",CS_MENU_DELETEALL:"Delete all",CS_MENU_DELETE:"Delete",CS_MENU_MARKREAD:"Read",CS_LABEL_CONTENT:"Content:",CS_LABEL_JTABLELENGTH:"Show {0} entries",CS_LABEL_JTABLEINFO:"Showing {0} to {1} of {2} entries",CS_LABEL_JTABLEEMPTYFOOT:"No data available.",CS_LABEL_JTABLESEARCH:"Search:",CS_LABEL_JTABLEPROCESS:"Processing...",CS_LABEL_JTABLEFILTER:"(filtered from {0} total entries)",CS_LABEL_JTABLETO:"to",CS_LABEL_JTABLEOF:"of",CS_LABEL_JTABLEEMPTY:"Empty",CS_LABEL_JTABLEPAGE1:"First",CS_LABEL_JTABLEPAGE2:"Previous",CS_LABEL_JTABLEPAGE3:"Next",CS_LABEL_JTABLEPAGE4:"Last",CS_COLUMN_TIME:"Time",CS_COLUMN_SUBJECT:"Subject",CS_COLUMN_READ:"Read",CS_TITLE_CONFIRM:"Confirm",CS_MESSAGE_DELETEFEEDBACK:"Are you sure you want to delete this offline message?",CS_MESSAGE_DELETEFEEDBACKALL:"Are you sure you want to delete all offline messages?",CS_MESSAGE_DELETECHATRECORD:"Are you sure you want to delete all of the search results?",CS_COLUMN_START:"Start",CS_COLUMN_ACTIVE:"Active",CS_COLUMN_END:"End",CS_COLUMN_CUSTOMER:"Customer",CS_COLUMN_CULTURE:"Culture",CS_COLUMN_RATING:"Rating",CS_TITLE_CUSTOMERPROFILE:"Profile",CS_LABEL_PROFILE:"Profile",CS_LABEL_NOTEITEM:"Note",CS_LABEL_NOTECONTENT:"Content",CS_MENU_CUSTOMERNOTE:"Customer Note",CS_MENU_SESSIONNOTE:"Session Note",CS_MENU_SEARCH:"Search",CS_MENU_SAVE:"Save",CS_MENU_DELETENOTE:"Delete Note",CS_MENU_ADDNOTE:"Add Note",CS_TITLE_CHATRECORD:"Chat Records",CS_TITLE_ADDCUSTOMERNOTE:"New Note",CS_TITLE_ADDSESSIONNOTE:"New Note",CS_MENU_BANLIST:"Block List",CS_MESSAGE_DELETEFEEDBACKADMINONLY:"Only administrator can delete the offline messages.",CS_MESSAGE_SAVENOTE:"Do you want to save changes before closing this window?",SS_MESSAGE_INVALIDHCCID:"Invalid MyLiveChat Account ID.",SS_MESSAGE_INVALIDPASSWORD:"The password you entered is incorrect. Please try again (make sure your caps lock is off).",SS_MESSAGE_AGENTDISABLED:"This account is Locked. You can\x27t Log in.",SS_MESSAGE_AGENTNOTLOGIN:"Not login or session expired.",SS_MESSAGE_NOMATCHAGENTACCOUNT:"The site ID you entered does not belong to any account.",SS_MESSAGE_INVALIDAGENTACCOUNT:"Invalid Agent Account.",SS_MESSAGE_REACHMAXAGENTCOUNT:"User cannot log in. Please note that the maximum number of concurrent agents of your account is {0}. You can increase the maximum number of concurrent agents by upgrading your plan.",SS_MESSAGE_PLEASETYPENAME:"Please input your name.",SS_MESSAGE_PLEASETYPEEMAIL:"Please input your email.",SS_MESSAGE_PLEASETYPESUBJECT:"Please type your subject.",SS_MESSAGE_PLEASETYPEQUESTION:"Please type your question.",SS_MESSAGE_THANKSFORFEEDBACK:"Thank you for contacting us. Our customer service representative will reply to you soon.",SS_MESSAGE_THANKSFORSURVEY:"Thank you very much.",SS_MESSAGE_NAMEWRONGLENGTH:"Your name is too long or too short.",SS_MESSAGE_SELECTDEPARTMENT:"Please choose a department.",SS_MESSAGE_PLEASETYPECUSTOM:"Please input {0}",SS_MESSAGE_NODEPONLINEAGENT:"There is no agent available in department {0}. Please choose a different department.",CS_LABEL_AGENTEMAILADDRESS:"Agent email address:",CS_LABEL_NOTIFICATIONEMAILS:"Send an email notification to this address when a visitor requests a chat:",CS_LABEL_GREETINGMESSAGE:"Default greeting message when accepting a new live chat:",CS_LABEL_DISABLEAUDIO:"Disable audio alerts",CS_LABEL_DISABLENOTIFY:"Disable notification messages",CS_LABEL_HIDECONSOLENUMBER:"Hide new message counter in console chat tab",CS_LABEL_HIDESESSIONNUMBER:"Hide new message counter in visitor chat tab",CS_LABEL_NOTIFYNEWVISITOR:"Notify me when a visitor enters the website",CS_LABEL_DROPAUTORECONNECT:"Automatically reconnect when connection is dropped",CS_LABEL_SECONDS:"Seconds",CS_LABEL_FILTERLOCATION:"When the customer location is (usa,london,..):",CS_LABEL_FILTEROFURL:"When current page URL contains (a,b,c,..):",CS_LABEL_FILTEROFREF:"When referring page URL contains (a,b,c..):",CS_LABEL_ONLYWHENONLINE:"Only when my status is online and ready.",CS_LABEL_TITLEAUTOACCEPT:"Auto accept a visitor if this visitor has waited for seconds",CS_LABEL_TITLEAUTOINVITE:"Auto invite a visitor if this visitor has stayed for seconds",CS_LABEL_ALLDEPARTMENT:"All",CS_MENU_LANGUAGES:"Languages",CS_MENU_LANGTEXT:"Text Translation",CS_MENU_LANGAUTO:"Use default settings",CS_MESSAGE_DELETESESSION:"Are you sure you want to delete this chat record?",CS_MESSAGE_DELETESESSIONADMINONLY:"Only administrator can delete the chat records.",CS_MESSAGE_DELETESESSIONSEARCH:"Please perform a search when deleting the chat records.",CS_MESSAGE_DELETESESSIONCHANGE:"Search results changed. Please perform another search then deleting the records.",CS_MESSAGE_INCORRECTEMAIL:"The email address is incorrect.",CS_MESSAGE_EMAILSENT:"The email has been sent.",UI_ACCEPTINVITE:"Chat Now",UI_REJECTINVITE:"No Thanks",CS_MENU_EXPORT:"Export",CS_INLINECONFIRM_COLLAPSE:"Collapse",CS_INLINECONFIRM_EXIT:"Exit Chat",CS_INLINECONFIRM_QUESTION:"Are you sure you want to end the chat session?",TYPEMESSAGEHERE:"Type a message...",WordExceededMaxLen:"One word in your message exceeded the maximum length of a single word",MsgExceededMaxLen:"Message exceeded the maximum length of a message",NAMEPLACEHOLDER:"Name",EMAILPLACEHOLDER:"Email",QUESTIONPLACEHOLDER:"Type your message",SUBJECTPLACEHOLDER:"Subject",ENQUIRYPLACEHOLDER:"Type your message",DEPARTMENTPLACEHOLDER:"Choose department",ONHOLDMESSAGE:"Thank you for waiting. Your call is important to us. Please hold or try again in a few of minutes.",CHATAGENTPLACEHOLDER:"Chat Agent",UI_SIGNINWITH:"or sign in with: ",CONVERSATION_CLOSE_BY_AGENT:"Chat session has been terminated by the site operator.",UI_SELECTAGENT:"Select agent",MSG_TRANSFER_START:"You are being transferred, please hold...",MAXFILESIZEMUSTBELESSTHAN:"Maximum file upload size is set to ",FileformatNotsupported:"This file extension is not allowed! File extensions allowed: "};

   	

var MyLiveChat_Lib,MyLiveChat_WrapperBase,MyLiveChat_WrapperBaseConstructor,MyLiveChat_CreateWrapper,MyLiveChat_BuildWrapper;(function(){var a=["-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"","toUpperCase","TEXT_","userAgent","test","mobile","html5","getContext","canvas","createElement","msie","msie6","msie7","msie8","msie9","msie10","msie10p","msie567","msie5678","msie56789","msie8more","backcompat","compatMode","BackCompat","supportfixed","html_encode","","&#32;","replace","&#32;&#32;&#32;&#32;","<br/>","&#39;","&quot;","&gt;","&lt;","&amp;",";","split","length",":","indexOf","substring","toLowerCase","push","join","css_join","add_csstext","cssText","style","set_mousecssitem","set_mousecsstext","mouseover","attach","mouseout","mouseup","mousedown","addEventListener","on","attachEvent","detach","removeEventListener","detachEvent","set_opacity","filter","alpha(opacity=",")","opacity","mozOpacity","get_body_rect","document","documentElement","body","width","clientWidth","height","clientHeight","scrollWidth","max","scrollHeight","scrollTop","scrollLeft","top","left","offsetWidth","rw","number","px","auto","right","0px","borderLeftWidth","borderRightWidth","paddingLeft","paddingRight","offsetHeight","rh","bottom","borderTopWidth","borderBottomWidth","paddingTop","paddingBottom","set_child_rect","onupdate","onresize","define_layout","_layout","apply_layout","childNodes","item","nodeType","fix_placeholder","placeholder","getAttribute","nodeName","DIV","focus","innerText","color","blur","innerHTML","gray","get_box_value","runtimeStyle","value","addtobody","firstChild","insertBefore","parentNode","onwindowresize","resize","Trident","grayurl","src","WebKit","webkitFilter","grayscale(100%)","MSIE","srcurl","setgrayeffect","/","setopacityeffect","ownerDocument","parentWindow","Firefox","navigator","offsetParent","currentStyle","position","getPropertyValue","getComputedStyle","fixed","border","Style","none","Width","border-style-","border-","-width","thin","MSIE 7.","CSS1Compat","TABLE","TD","medium","thick","MSIE 5.","MSIE 6.","MSIE 8.",".","MSIE ","opera","AppleWebKit","BODY","HTML","Left","Top","offsetLeft","offsetTop","zoom","%","parentElement","absolute","xflip","xmove","yflip","ymove","get_scrollposition","get_clientposition","calc_position","adjust_mirror","_showe","visibility","hidden","appendChild","getBoundingClientRect","toast","div","className","mylivechat_toast","position:fixed;max-width:360px;box-sizing: border-box;border: 1px solid rgba(0,0,0,.2);border-radius: 6px;outline: 0;color: #333;background-color:white;background-clip: padding-box;box-shadow: 0 5px 15px rgba(0,0,0,.5);z-index:16543333","<div style=\'margin:15px 25px;font-family: ",";font-size: 14px;\'>","</div>","onclick","removeChild","getTime","floor","alert","mylivechat_mask","position:fixed;left:0;top:0;right:0;bottom:0;background-color:#666666;z-index:16500000","mylivechat_alert","position:fixed;box-sizing: border-box;border: 1px solid rgba(0,0,0,.2);border-radius: 6px;outline: 0;color: #333;background-color:white;background-clip: padding-box;box-shadow: 0 5px 15px rgba(0,0,0,.5);z-index:16543333","mylivechat_alert_content","margin:18px 22px;font-family: ",";font-size: 14px;","mylivechat_alert_bottom","text-align:center;border-top: 1px solid #e5e5e5;color: #333;","mylivechat_alert_button","span","OK","e","prompt","mylivechat_prompt","mylivechat_prompt_header","border-bottom: 1px solid #e5e5e5;color: #333;padding:12px;font-family: ","mylivechat_prompt_content","padding:18px;","input","width:100%","false","event","keyCode","define","m_btnok","m_btncancel","mylivechat_prompt_bottom","mylivechat_prompt_button_ok","m_input","mylivechat_prompt_button_cancel","CANCEL","s","show","display","hide","add_child","boxerror","_boxerrdata","flash","panel","mylivechat_errorpanel","backgroundColor","mylivechat_errorbox_flashing","toggle","classList","mylivechat_errorpanel_flashing","mylivechat_errorbox","add","_clearerror","remove","keyup","change","_wrapper","prototype","tag","mem","class","setAttribute","cls","css","init","createTextNode","text","insertAdjacentHTML","BeforeEnd","html","title","tooltip","layout","events","attrs","childs","charAt","m","_","function","o","n","apply","StyleCode","head","getElementsByTagName","type","text/css","styleSheet","<style>\x0D\x0A","\x0D\x0A</style>","Firefox/","string","nodeValue","defineProperty","__defineGetter__","__defineSetter__"];function b(){var b=a[0];function u(b){b= b[a[1]]();return MyLiveChat[a[2]+ b]|| b}var o={};var v=o[a[3]]= navigator[a[3]];if(/iPhone|Android|Mobile/[a[4]](v)){o[a[5]]= true};o[a[6]]=  !!document[a[9]](a[8])[a[7]];o[a[10]]= /MSIE|Trident/[a[4]](v);if(o[a[10]]){o[a[11]]= /MSIE 6/[a[4]](v);o[a[12]]= /MSIE 7/[a[4]](v);o[a[13]]= /MSIE 8/[a[4]](v);o[a[14]]= /MSIE 9/[a[4]](v);o[a[15]]= /MSIE 10/[a[4]](v);o[a[16]]= /MSIE \d\d/[a[4]](v);o[a[17]]= /MSIE [567]/[a[4]](v);o[a[18]]= /MSIE [5678]/[a[4]](v);o[a[19]]= /MSIE [56789]/[a[4]](v);o[a[20]]=  !o[a[17]];if(o[a[14]]&&  !o[a[6]]){o[a[14]]= false;o[a[12]]= true;o[a[17]]= true;o[a[18]]= true;o[a[20]]= false}};o[a[21]]= document[a[22]]== a[23];o[a[24]]=  !(o[a[11]]|| (o[a[10]]&& o[a[21]]));o[a[25]]= function(b){if(!b){return a[26]};return b[a[28]](/&/g,a[35])[a[28]](/</g,a[34])[a[28]](/>/g,a[33])[a[28]](/\x22/g,a[32])[a[28]](/\x27/g,a[31])[a[28]](/\n/g,a[30])[a[28]](/\r/g,a[26])[a[28]](/\t/g,a[29])[a[28]](/\s/g,a[27])};function g(e,h){if(!h){return};var b=h[a[37]](a[36]);for(var c=0;c< b[a[38]];c++){var d=b[c];var g=d[a[40]](a[39]);if(g==  -1){continue};var j=d[a[41]](g+ 1);if(!j){continue};var f=d[a[41]](0,g)[a[28]](/(^\s*)|(\s*$)/g,a[26])[a[42]]();e[f]= j}}function p(c){var b=[];for(var d in c){b[a[43]](d+ a[39]+ c[d])};return b[a[44]](a[36])}o[a[45]]= function(d,c){if(!d){return c|| a[26]};if(!c){return d|| a[26]};var b={};g(b,d);g(b,c);return p(b)};o[a[46]]= function(c,b){if(!b){return};c[a[48]][a[47]]= o[a[45]](c[a[48]][a[47]],b)};o[a[49]]= function(c,d,e,f,b){o[a[50]](c,d+ a[39]+ (e|| a[26]),d+ a[39]+ (f|| a[26]),d+ a[39]+ (b|| a[26]))};o[a[50]]= function(c,d,e,b){o[a[52]](c,a[51],function(){o[a[46]](c,e)});o[a[52]](c,a[53],function(){o[a[46]](c,d)});o[a[52]](c,a[54],function(){o[a[46]](c,e)});o[a[52]](c,a[55],function(){o[a[46]](c,b)})};o[a[52]]= function(d,c,b){if(d[a[56]]){d[a[56]](c,b,false)}else {d[a[58]](a[57]+ c,b)}};o[a[59]]= function(d,c,b){if(d[a[60]]){d[a[60]](c,b,false)}else {d[a[61]](a[57]+ c,b)}};o[a[62]]= function(b,c){b[a[48]][a[63]]= a[64]+ c+ a[65];b[a[48]][a[66]]= String(c/ 100);b[a[48]][a[67]]= String(c/ 100)};o[a[68]]= function(e,f){var d={};var c=e?e[a[69]]:window[a[69]];var b=c[a[70]]|| c[a[71]];if(c[a[22]]== a[23]){d[a[72]]= c[a[71]][a[73]];d[a[74]]= c[a[71]][a[75]]}else {d[a[72]]= b[a[73]];d[a[74]]= b[a[75]]};d[a[76]]= Math[a[77]](d[a[72]],Math[a[77]](b[a[76]],c[a[71]][a[76]]));d[a[78]]= Math[a[77]](d[a[74]],Math[a[77]](b[a[78]],c[a[71]][a[78]]));d[a[79]]= Math[a[77]](b[a[79]],c[a[71]][a[79]]);d[a[80]]= Math[a[77]](b[a[80]],c[a[71]][a[80]]);if(f){d[a[81]]= 0;d[a[82]]= 0}else {d[a[81]]= d[a[79]];d[a[82]]= d[a[80]]};return d};function r(b,d,c){var f=b[a[48]];var e=d[a[73]]|| d[a[83]];if(c[a[84]]){e-= c[a[84]]};var h=c[a[72]]|| e;if( typeof (c[a[82]])== a[85]){f[a[82]]= c[a[82]]+ a[86];if(c[a[72]]== a[87]){return true};if( typeof (c[a[72]])== a[85]){}else {if( typeof (c[a[88]])== a[85]){h= h- c[a[82]]- c[a[88]]}else {h= h- c[a[82]]}}}else {if( typeof (c[a[88]])== a[85]){if(c[a[72]]== a[87]){f[a[82]]= (e- b[a[83]]- c[a[88]])+ a[86];return true};if( typeof (c[a[72]])== a[85]){f[a[82]]= (e- c[a[72]]- c[a[88]])+ a[86]}else {f[a[82]]= a[89];h= h- c[a[88]]}}else {if(c[a[72]]== a[87]){return true}else {f[a[82]]= a[89]}}};if(o[a[17]]){var g=h;h-= parseInt(f[a[90]])|| 0;h-= parseInt(f[a[91]])|| 0;h-= parseInt(f[a[92]])|| 0;h-= parseInt(f[a[93]])|| 0};h= Math[a[77]](0,h)+ a[86];if(f[a[72]]!= h){f[a[72]]= h;return true}}function s(b,e,d){var g=b[a[48]];var f=e[a[75]]|| e[a[94]];if(d[a[95]]){f-= d[a[95]]};var c=d[a[74]]|| f;if( typeof (d[a[81]])== a[85]){g[a[81]]= d[a[81]]+ a[86];if(d[a[74]]== a[87]){return true};if( typeof (d[a[74]])== a[85]){}else {if( typeof (d[a[96]])== a[85]){c= c- d[a[81]]- d[a[96]]}else {c= c- d[a[81]]}}}else {if( typeof (d[a[96]])== a[85]){if(d[a[74]]== a[87]){g[a[81]]= (f- b[a[94]]- d[a[96]])+ a[86];return true};if( typeof (d[a[74]])== a[85]){g[a[81]]= (f- d[a[74]]- d[a[96]])+ a[86]}else {g[a[81]]= a[89];c= c- d[a[96]]}}else {if(d[a[74]]== a[87]){return true}else {g[a[81]]= a[89]}}};if(o[a[17]]){var h=c;c-= parseInt(g[a[97]])|| 0;c-= parseInt(g[a[98]])|| 0;c-= parseInt(g[a[99]])|| 0;c-= parseInt(g[a[100]])|| 0};c= Math[a[77]](0,c)+ a[86];if(g[a[74]]!= c){g[a[74]]= c;return true}}o[a[101]]= function(c,e,d){if(!d){d= {}};if(d[a[102]]){d[a[102]](c,e)};var b=false;if(r(c,e,d)){b= true};if(s(c,e,d)){b= true};if(b&& d[a[103]]){d[a[103]]()};return b};o[a[104]]= function(b,c,d){if(d&& b[a[105]]){return};b[a[105]]= c};o[a[106]]= function(d){var c=d[a[107]];if(!c||  !c[a[38]]){return};for(var e=0;e< c[a[38]];e++){var b=c[a[108]](e);if(b[a[109]]!= 1){continue};var f=b[a[105]];if(f){o[a[101]](b,d,f)};o[a[106]](b)}};o[a[110]]= function(b){var f=b[a[112]](a[111]);if(!f){return};var c=a[26];if(b[a[113]]== a[114]){var d=false;o[a[52]](b,a[115],function(){d= true;if(b[a[116]]== f){b[a[116]]= a[26]};b[a[48]][a[117]]= c});o[a[52]](b,a[118],function(){d= false;setTimeout(e,200)});function e(){if(d){return};if(!b[a[119]]){b[a[116]]= f;b[a[48]][a[117]]= a[120]}}setTimeout(function(){c= b[a[48]][a[117]]|| a[26];e()},500)}else {}};o[a[121]]= function(b){if(!b[a[122]]){return b[a[123]]};var c=b[a[112]](a[111]);if(b[a[123]]== c){return a[26]};return b[a[123]]};o[a[124]]= function(c,b){if(!document[a[71]]){setTimeout(function(){o[a[124]](c,b)},10);return};document[a[71]][a[126]](c,document[a[71]][a[125]]);if(b){setInterval(function(){if(c[a[127]]!= document[a[71]]){document[a[71]][a[126]](c,document[a[71]][a[125]])}},100)}};o[a[128]]= function(b){o[a[52]](window,a[129],b);b()};function t(b){if(v[a[40]](a[130])>  -1){if(b[a[131]]){b[a[132]]= b[a[131]]}}else {if(v[a[40]](a[133])>  -1){b[a[48]][a[134]]= a[135]}else {if(v[a[40]](a[136])>  -1){b[a[48]][a[63]]= a[120]}else {if(o[a[6]]){b[a[48]][a[63]]= a[135]}}}}}function f(b){b[a[48]][a[134]]= a[26];b[a[48]][a[63]]= a[26];if(b[a[137]]){b[a[132]]= b[a[137]]}}o[a[138]]= function(d,c){if(v[a[40]](a[130])>  -1&&  !c){return};if(c){if(c[a[40]](a[139])==  -1){var b=d[a[132]][a[37]](a[139]);b[b[a[38]]- 1]= c;c= b[a[44]](a[139])};d[a[137]]= d[a[132]];d[a[131]]= c};t(d);o[a[52]](d,a[51],function(){f(d)});o[a[52]](d,a[53],function(){t(d)})};o[a[140]]= function(b,c){o[a[62]](b,c);o[a[52]](b,a[51],function(){o[a[62]](b,100)});o[a[52]](b,a[53],function(){o[a[62]](b,c)})};var q;function l(b){if(b[a[141]]){return b[a[141]][a[142]]|| q|| window};return q|| window}function k(b){var e=l(b);var c=e[a[144]][a[3]][a[40]](a[143])>  -1;if(!c){if(b[a[145]]!= null){return false}};var d;if(b[a[146]]){d= b[a[146]][a[147]]}else {d= e[a[149]](b,null)[a[148]](a[147])};return d== a[150]}function j(b,d){var f=l(b);var e=a[26];if(b[a[146]]){if(b[a[146]][a[151]+ d+ a[152]]== a[153]){return 0};e= b[a[146]][a[151]+ d+ a[154]]}else {d= d[a[42]]();var c=f[a[149]](b,null);if(c[a[148]](a[155]+ d)== a[153]){return 0};e= c[a[148]](a[156]+ d+ a[157])};if(!e){return 0};switch(e){case a[158]:return 1;case a[163]:if(f[a[144]][a[3]][a[40]](a[159])>  -1|| f[a[69]][a[22]]!= a[160]){if(b[a[113]]== a[161]|| b[a[113]]== a[162]){return 0}};return 3;case a[164]:return 5};return parseInt(e)|| 0}function m(e){var E=l(e);var v=E[a[69]][a[22]]== a[160];var D=E[a[144]][a[3]];var h=D[a[40]](a[136])>  -1;var o=h&& D[a[40]](a[165])>  -1;var p=h&& D[a[40]](a[166])>  -1;var q=h&& D[a[40]](a[159])>  -1;var r=h&& D[a[40]](a[167])>  -1;var s=h&& parseInt(D[a[37]](a[169])[1][a[37]](a[168])[0])> 9;var t=!!E[a[170]];var u=D[a[40]](a[171])>  -1;var g=D[a[40]](a[143])>  -1;var A={left:0,top:0};var f=0;function b(b){if(b[a[113]]!= a[172]&& b[a[113]]!= a[173]){A[a[82]]+= j(b,a[174]);A[a[81]]+= j(b,a[175])}}while(e){A[a[82]]+= e[a[176]];A[a[81]]+= e[a[177]];var d=h?e[a[146]]:E[a[149]](e,null);var F=h?d[a[178]]:d[a[148]](a[178]);if(F){if(F[a[40]](a[179])!=  -1){F= parseFloat(F)/ 100}else {F= parseFloat(F)};if(F&& F!= 1){var C=parseInt(h?d[a[81]]:d[a[148]](a[81]))|| 0;var w=parseInt(h?d[a[82]]:d[a[148]](a[82]))|| 0;A[a[82]]-= w* (1- F);A[a[81]]-= C* (1- F)}};var z=n(e);if(z){for(var y=e[a[127]];y&& y!= z;y= y[a[127]]){A[a[81]]-= y[a[79]];A[a[82]]-= y[a[80]]}};if(k(e)){if(t){if(e[a[177]]== 0){A[a[81]]+= parseInt(d[a[148]](a[81]))|| 0};if(e[a[176]]== 0){A[a[82]]+= parseInt(d[a[148]](a[82]))|| 0}};A[a[81]]+= Math[a[77]](E[a[69]][a[71]][a[79]],E[a[69]][a[70]][a[79]]);A[a[82]]+= Math[a[77]](E[a[69]][a[71]][a[80]],E[a[69]][a[70]][a[80]]);if(r){if(e[a[180]]&& e[a[180]][a[48]][a[147]]== a[181]){var B=m(e[a[180]]);A[a[81]]+= B[a[81]];A[a[82]]+= B[a[82]]}};return A};if(!z){return A};if(t){}else {if(g){b(z);if(f== 0){var c=h?d[a[147]]:d[a[148]](a[147]);if(c== a[181]){b(z);f= 1}}}else {if(v){if(r){}else {b(z)}}else {b(z)}}};if(v){if(u){if(z[a[113]]!= a[172]){A[a[82]]-= z[a[80]];A[a[81]]-= z[a[79]]}}else {if(r){};if(z[a[113]]!= a[173]){A[a[82]]-= z[a[80]];A[a[81]]-= z[a[79]]}}}else {if(z[a[113]]!= a[172]){A[a[82]]-= z[a[80]];A[a[81]]-= z[a[79]]}};e= z};if(g){A[a[82]]-= j(E[a[69]][a[71]],a[174]);A[a[81]]-= j(E[a[69]][a[71]],a[175]);A[a[82]]+= j(E[a[69]][a[70]],a[174]);A[a[81]]+= j(E[a[69]][a[70]],a[175])};return A}function n(b){var c=l(b);if(b[a[145]]){return b[a[145]]};if(b[a[113]]== a[172]|| b[a[113]]== a[173]){return null};return c[a[69]][a[71]]}function d(d,b){var g=l(b);var c=m(b);if(k(d)){c[a[81]]-= Math[a[77]](g[a[69]][a[71]][a[79]],g[a[69]][a[70]][a[79]]);c[a[82]]-= Math[a[77]](g[a[69]][a[71]][a[80]],g[a[69]][a[70]][a[80]]);return {left:c[a[82]],top:c[a[81]]}}else {var e=n(d);var f=m(e);if(e[a[113]]!= a[172]&& e[a[113]]!= a[173]){f[a[82]]+= j(e,a[174]);f[a[81]]+= j(e,a[175]);f[a[82]]-= e[a[80]];f[a[81]]-= e[a[79]]}};return {left:c[a[82]]- f[a[82]],top:c[a[81]]- f[a[81]]}}function h(b){var d=l(b);var c=m(b);c[a[81]]-= Math[a[77]](d[a[69]][a[71]][a[79]],d[a[69]][a[70]][a[79]]);c[a[82]]-= Math[a[77]](d[a[69]][a[71]][a[80]],d[a[69]][a[70]][a[80]]);return c}function c(k,e,s,p,q){var d=window[a[69]][a[71]][a[73]];var c=window[a[69]][a[71]][a[75]];if(window[a[69]][a[22]]== a[160]){d= window[a[69]][a[70]][a[73]];c= window[a[69]][a[70]][a[75]]};var m=k[a[83]];var j=k[a[94]];var r=h(n(k));var l={left:r[a[82]]+ s[a[82]]+ m/ 2,top:r[a[81]]+ s[a[81]]+ j/ 2};var g={left:r[a[82]]+ s[a[82]],top:r[a[81]]+ s[a[81]]};var o=false;if(e!= null){if(e[a[113]]== a[172]){o= true};var f=h(e);g= {left:f[a[82]]+ e[a[83]]/ 2,top:f[a[81]]+ e[a[94]]/ 2}};var b=!o;if(l[a[82]]- m/ 2< 0){if((g[a[82]]* 2- l[a[82]])+ m/ 2<= d){if(b){l[a[82]]= g[a[82]]* 2- l[a[82]];s[a[182]]= true}}else {if(!p){l[a[82]]= m/ 2+ 4;s[a[183]]= true}}}else {if(l[a[82]]+ m/ 2> d){if((g[a[82]]* 2- l[a[82]])- m/ 2>= 0){if(b){l[a[82]]= g[a[82]]* 2- l[a[82]];s[a[182]]= true}}else {if(!p){l[a[82]]= d- m/ 2- 4;s[a[183]]= true}}}};if(l[a[81]]- j/ 2< 0){if((g[a[81]]* 2- l[a[81]])+ j/ 2<= c){if(b){l[a[81]]= g[a[81]]* 2- l[a[81]];s[a[184]]= true}}else {if(!q){l[a[81]]= j/ 2+ 4;s[a[185]]= true}}}else {if(l[a[81]]+ j/ 2> c){if((g[a[81]]* 2- l[a[81]])- j/ 2>= 0){if(b){l[a[81]]= g[a[81]]* 2- l[a[81]];s[a[184]]= true}}else {if(!q){l[a[81]]= c- j/ 2- 4;s[a[185]]= true}}}};s[a[82]]= l[a[82]]- r[a[82]]- m/ 2;s[a[81]]= l[a[81]]- r[a[81]]- j/ 2}o[a[186]]= function(a,b){q= b;return m(a)};o[a[187]]= function(a,b){q= b;return h(a)};o[a[188]]= function(b,a,c){q= c;return d(b,a)};o[a[189]]= c;o[a[190]]= function(c,b,g){var e=20;c[a[48]][a[82]]= a[89];c[a[48]][a[81]]= a[89];c[a[48]][a[191]]= a[192];document[a[71]][a[193]](c);if(!g){g= document[a[71]]};var f=g!= document[a[71]]?g[a[194]]():this[a[68]](window,true);var h=c[a[83]];var d=c[a[94]];c[a[48]][a[82]]= f[a[82]]+ f[a[72]]/ 2- h/ 2+ a[86];c[a[48]][a[81]]= f[a[81]]+ f[a[74]]/ 2- d/ 2+ a[86];c[a[48]][a[191]]= a[26];setTimeout(function(){if(b){b()}},1)};o[a[195]]= function(d,h,f){var c=document[a[9]](a[196]);c[a[197]]= a[198];c[a[48]][a[47]]= a[199];c[a[119]]= a[200]+ b+ a[201]+ o[a[25]](d)+ a[202];c[a[203]]= function(){c[a[127]][a[204]](c)};o[a[190]](c,null,f);if(!h){h= 5000}else {if(h< 0){return}};var g= new Date()[a[205]]();function e(){if(!c[a[127]]){return};setTimeout(e,200);var f= new Date()[a[205]]()- g- h/ 5;var b=h* 4/ 5;var d=Math[a[206]](100* (b- f)/ b);if(d< 10){c[a[127]][a[204]](c);return};o[a[62]](c,d)}setTimeout(e,h/ 5)};o[a[207]]= function(f,c,g){var d=document[a[9]](a[196]);d[a[197]]= a[208];d[a[48]][a[47]]= a[209];o[a[62]](d,20);document[a[71]][a[193]](d);var h=e({cls:a[210],css:a[211],m_header:{},m_content:{cls:a[212],css:a[213]+ b+ a[214],html:o[a[25]](f)},m_bottom:{cls:a[215],css:a[216],m_btnok:{cls:a[217],tag:a[218],css:a[26],text:u(a[219]),onclick:function(){d[a[127]][a[204]](d);h[a[220]][a[127]][a[204]](h[a[220]]);if(c!= null){c()}}}}});o[a[190]](h[a[220]],null,g)};o[a[221]]= function(g,j,c,l){if(!l){l= function(a){return a}};var f=document[a[9]](a[196]);f[a[197]]= a[208];f[a[48]][a[47]]= a[209];o[a[62]](f,20);document[a[71]][a[193]](f);var h=e({cls:a[222],css:a[211],m_header:{cls:a[223],css:a[224]+ b+ a[214],html:o[a[25]](g)},m_content:{cls:a[225],css:a[226],m_input:{tag:a[227],css:a[228],attrs:{value:j,spellcheck:a[229]},onkeydown:function(b){b= window[a[230]]|| b;if(b[a[231]]== 13){h[a[233]][a[232]][a[203]]()};if(b[a[231]]== 27){h[a[234]][a[232]][a[203]]()}}}},m_bottom:{cls:a[235],css:a[216],m_btnok:{cls:a[236],tag:a[218],css:a[26],text:u(a[219]),onclick:function(){var b=l(h[a[237]][a[123]]());if(b=== false|| b== null){return};f[a[127]][a[204]](f);h[a[220]][a[127]][a[204]](h[a[220]]);if(c!= null){c(b)}}},m_btncancel:{cls:a[238],tag:a[218],css:a[26],text:u(a[239]),onclick:function(){f[a[127]][a[204]](f);h[a[220]][a[127]][a[204]](h[a[220]]);if(c!= null){c()}}}}});var d=null;function k(){setTimeout(k,100);var b=h[a[237]][a[123]]();if(b== d){return};var c=l(b);if(c=== false|| c== null){h[a[233]][a[240]][a[117]]= a[120]}else {h[a[233]][a[240]][a[117]]= a[26]}}setTimeout(k,100);o[a[190]](h[a[220]],function(){h[a[237]][a[220]][a[115]]()})};return o}function c(){var c=MyLiveChat_Lib;var b=this;b[a[241]]= function(){this[a[240]][a[242]]= this[a[232]]&& this[a[232]][a[242]]|| a[26]};b[a[243]]= function(){this[a[240]][a[242]]= a[153]};b[a[123]]= function(){if(arguments[a[38]]> 0){this[a[220]][a[123]]= arguments[0]}else {return c[a[121]](this[a[220]])}};b[a[104]]= function(b){this[a[220]][a[105]]= b};b[a[106]]= function(){c[a[106]](this[a[220]])};b[a[244]]= function(b){this[a[220]][a[193]](b[a[220]])};b[a[245]]= function(c,g){if(this[a[246]]){return this[a[246]][a[247]](g)};var b=this[a[246]]= {panel:document[a[9]](a[196])};b[a[248]][a[197]]= a[249];b[a[248]][a[116]]= g;this[a[220]][a[127]][a[126]](b[a[248]],this[a[220]]);var d=c[a[220]][a[123]];var j=c[a[240]][a[250]];var l=0;var f=4;function h(){l++;c[a[220]][a[253]][a[252]](a[251]);b[a[248]][a[253]][a[252]](a[254]);if(l== f){return};setTimeout(h,100)}var k=true;b[a[247]]= function(e){d= c[a[220]][a[123]];c[a[220]][a[115]]();k= true;b[a[248]][a[116]]= e;b[a[248]][a[48]][a[242]]= a[26];if(l== 0|| f== l){l= 0;h()};c[a[220]][a[253]][a[256]](a[255])};b[a[247]](g);c[a[257]]= function(){b[a[248]][a[48]][a[242]]= a[153]};function e(){if(d== c[a[220]][a[123]]){return};c[a[257]]();c[a[220]][a[253]][a[258]](a[255]);k= false;setTimeout(function(){if(!k){b[a[248]][a[48]][a[242]]= a[153]}},400)}c[a[220]][a[56]](a[118],e);c[a[220]][a[56]](a[259],e);c[a[220]][a[56]](a[54],e);c[a[220]][a[56]](a[260],e)}}function d(b){function c(){b[a[261]]= this;this[a[220]]= b;this[a[240]]= b[a[48]]}c[a[262]]= MyLiveChat_WrapperBase;return  new c()}function e(j,n){if(j instanceof  c){return j};var k=document[a[9]](j[a[263]]|| a[196]);var p=d(k);if(!n){n= p};p[a[232]]= j;var l;for(var m in j){var o=j[m];switch(m){case a[263]:break;case a[264]:n[o]= p;break;case a[267]:if(MyLiveChat_Lib[a[17]]){k[a[197]]= o};k[a[266]](a[265],o);break;case a[268]:k[a[48]][a[47]]= o;break;case a[243]:if(o){k[a[48]][a[242]]= a[153]};break;case a[269]:l= o;break;case a[271]:if(!o){continue};k[a[193]](document[a[270]](o));break;case a[274]:if(!o){continue};if(k[a[107]][a[38]]== 0){k[a[119]]= o}else {if(k[a[272]]){k[a[272]](a[273],o)}else {var h=document[a[9]](a[196]);h[a[119]]= o;while(h[a[125]]){k[a[193]](h[a[125]])}}};break;case a[276]:k[a[266]](a[275],o);break;case a[277]:p[a[104]](o);break;case a[278]:for(var b in o){k[a[57]+ b]= o[b]};break;case a[279]:for(var b in o){k[a[266]](b,o[b])};break;case a[280]:for(var g=0;g< o[a[38]];g++){var f=e(o[g],n);p[a[244]](f)};break;default:if(o&& m[a[281]](0)== a[282]&& m[a[281]](1)== a[283]){var f=e(o,n);n[m]= f;p[a[244]](f)};if( typeof (o)== a[284]&& m[a[281]](0)== a[285]&& m[a[281]](1)== a[286]){k[m]= o};break}};if(l){l[a[287]](p,[p,k,j])};return p}function f(){var b=document[a[289]]|| document[a[290]](a[289])[0];if(/MSIE [678]/[a[4]](navigator[a[3]])){var d=document[a[9]](a[48]);d[a[266]](a[291],a[292]);d[a[293]][a[47]]= MyLiveChat[a[288]];b[a[193]](d)}else {var c=document[a[9]](a[196]);c[a[119]]= a[294]+ MyLiveChat[a[288]]+ a[295];b[a[193]](c[a[125]])}}function g(){function d(b,c){b[a[119]]= a[26];b[a[193]](document[a[270]](c))}function b(e,f){for(var d=0;d< e[a[107]][a[38]];d++){var c=e[a[107]][d];if(c[a[107]][a[38]]){b(c,f)};if(c[a[298]]){f[a[43]](c[a[298]])}}}function c(c){var d=[];b(c,d);return d[a[44]](a[26])}if(Object[a[299]]){Object[a[299]](HTMLElement[a[262]],a[116],{get:function(){return c(this)},set:function(a){d(this,a)},configurable:true})}else {HTMLElement[a[262]][a[300]](a[116],function(){return c(this)});HTMLElement[a[262]][a[301]](a[116],function(a){d(this,a)})}}MyLiveChat_WrapperBaseConstructor= c;MyLiveChat_CreateWrapper= d;MyLiveChat_BuildWrapper= e;MyLiveChat_Lib= (b)();MyLiveChat_WrapperBase=  new c();if(MyLiveChat[a[288]]){setTimeout(f,1)};if(navigator[a[3]][a[40]](a[296])!=  -1){if( typeof (document[a[9]](a[114])[a[116]])!= a[297]){(g)()}}})()

var MyLiveChat_SetBaseCss,MyLiveChat_DefineStyle,MyLiveChat_RunStyle,MyLiveChat_ApplyStyle,MyLiveChat_InitCss2Handlers,MyLiveChat_InitCss2;(function(){var a=["SvgMap","close","exit","<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\" fill=\"currentColor\"><path fill-rule=\"evenodd\" d=\"M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z\"></path></svg>","open","<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 32 32\"><polygon points=\"10 6 10 8 22.59 8 6 24.59 7.41 26 24 9.41 24 22 26 22 26 6 10 6\"/></svg>","down","<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 32 32\"><path d=\"M11,22c-0.6,0-1-0.4-1-1s0.4-1,1-1h15c0.6,0,1,0.4,1,1s-0.4,1-1,1H11z\"></path></svg>","good","<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 32 32\"><path d=\"M26,11H20V6a3.64,3.64,0,0,0-3.24-4A3.22,3.22,0,0,0,16,2H14.43A1.51,1.51,0,0,0,13,3.17v.12L12,9.63,8.46,15H2V29H21c7.44,0,9-4.35,9-8V15a3.64,3.64,0,0,0-3.24-4A3.22,3.22,0,0,0,26,11ZM8,27H4V17H8Zm20-6c0,4.09-2.22,6-7,6H10V16.3l4-5.93L14.73,5l.14-1H16c1.44,0,2,.56,2,2v7h8c1.44,0,2,.56,2,2Z\"/></svg>","good2","bad","<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 32 32\"><path d=\"M26.76,21A3.64,3.64,0,0,0,30,17V11c0-3.65-1.56-8-9-8H2V17H8.46L12,22.37,13,28.71v.12A1.51,1.51,0,0,0,14.43,30H16a3.22,3.22,0,0,0,.76,0A3.64,3.64,0,0,0,20,26V21h6A3.22,3.22,0,0,0,26.76,21ZM8,15H4V5H8Zm20,2c0,1.44-.56,2-2,2H18v7c0,1.44-.56,2-2,2H14.87l-.14-1L14,21.63,10,15.7V5H21c4.78,0,7,1.91,7,6Z\"/></svg>","bad2","file","<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 16 16\"><path fill-rule=\"evenodd\" d=\"M4.5 3a2.5 2.5 0 0 1 5 0v9a1.5 1.5 0 0 1-3 0V5a.5.5 0 0 1 1 0v7a.5.5 0 0 0 1 0V3a1.5 1.5 0 1 0-3 0v9a2.5 2.5 0 0 0 5 0V5a.5.5 0 0 1 1 0v7a3.5 3.5 0 1 1-7 0V3z\"/></svg>","save","save-png","<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 32 32\"><path d=\"M27.71,9.29l-5-5A1,1,0,0,0,22,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V10A1,1,0,0,0,27.71,9.29ZM12,6h8v4H12Zm8,20H12V18h8Zm2,0V18a2,2,0,0,0-2-2H12a2,2,0,0,0-2,2v8H6V6h4v4a2,2,0,0,0,2,2h8a2,2,0,0,0,2-2V6.41l4,4V26Z\"/></svg>","save2","<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\"><path d=\"M12.854 11.646c-0.195-0.195-0.512-0.195-0.707 0l-2.146 2.146v-12.293c0-0.276-0.224-0.5-0.5-0.5s-0.5 0.224-0.5 0.5v12.293l-2.146-2.146c-0.195-0.195-0.512-0.195-0.707 0s-0.195 0.512 0 0.707l3 3c0.098 0.098 0.226 0.146 0.354 0.146s0.256-0.049 0.354-0.146l3-3c0.195-0.195 0.195-0.512 0-0.707z\"></path><path d=\"M15.5 20h-12c-0.827 0-1.5-0.673-1.5-1.5v-10c0-0.827 0.673-1.5 1.5-1.5h4c0.276 0 0.5 0.224 0.5 0.5s-0.224 0.5-0.5 0.5h-4c-0.276 0-0.5 0.224-0.5 0.5v10c0 0.276 0.224 0.5 0.5 0.5h12c0.276 0 0.5-0.224 0.5-0.5v-10c0-0.276-0.224-0.5-0.5-0.5h-4c-0.276 0-0.5-0.224-0.5-0.5s0.224-0.5 0.5-0.5h4c0.827 0 1.5 0.673 1.5 1.5v10c0 0.827-0.673 1.5-1.5 1.5z\"></path></svg>","soundon","<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 32 32\"><path d=\"M25.1,10.66,23.58,12a6,6,0,0,1-.18,7.94l1.47,1.36a8,8,0,0,0,.23-10.59Z\"/><path d=\"M20,30a1,1,0,0,1-.71-.3L11.67,22H5a1,1,0,0,1-1-1H4V11a1,1,0,0,1,1-1h6.67l7.62-7.7a1,1,0,0,1,1.41,0A1,1,0,0,1,21,3V29A1,1,0,0,1,20,30ZM6,20h6a1.17,1.17,0,0,1,.79.3L19,26.57V5.43L12.79,11.7A1.17,1.17,0,0,1,12,12H6Z\"/></svg>","soundoff","<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 32 32\"><polygon points=\"31 12.41 29.59 11 26 14.59 22.41 11 21 12.41 24.59 16 21 19.59 22.41 21 26 17.41 29.59 21 31 19.59 27.41 16 31 12.41\"/><path d=\"M18,30a1,1,0,0,1-.71-.3L9.67,22H3a1,1,0,0,1-1-1H2V11a1,1,0,0,1,1-1H9.67l7.62-7.7a1,1,0,0,1,1.41,0A1,1,0,0,1,19,3V29A1,1,0,0,1,18,30ZM4,20h6a1.17,1.17,0,0,1,.79.3L17,26.57V5.43L10.79,11.7A1.17,1.17,0,0,1,10,12H4Z\"/></svg>","mail","<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 32 32\"><path d=\"M28,6H4A2,2,0,0,0,2,8V24a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V8A2,2,0,0,0,28,6ZM25.8,8,16,14.78,6.2,8ZM4,24V8.91l11.43,7.91a1,1,0,0,0,1.14,0L28,8.91V24Z\" /></svg>","emoji","<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 32 32\"><path d=\"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z\"/><path d=\"M11.5,11A2.5,2.5,0,1,0,14,13.5,2.48,2.48,0,0,0,11.5,11Z\"/><path d=\"M20.5,11A2.5,2.5,0,1,0,23,13.5,2.48,2.48,0,0,0,20.5,11Z\"/><path d=\"M16,24a8,8,0,0,0,6.85-3.89l-1.71-1a6,6,0,0,1-10.28,0l-1.71,1A8,8,0,0,0,16,24Z\"/></svg>","send2","<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 32 32\"><path d=\"M27.45,15.11l-22-11a1,1,0,0,0-1.08.12,1,1,0,0,0-.33,1L7,16,4,26.74A1,1,0,0,0,5,28a1,1,0,0,0,.45-.11l22-11a1,1,0,0,0,0-1.78Zm-20.9,10L8.76,17H18V15H8.76L6.55,6.89,24.76,16Z\"/></svg>","send","<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 32 32\"><path d=\"M27.71,4.29a1,1,0,0,0-1.05-.23l-22,8a1,1,0,0,0,0,1.87l8.59,3.43L19.59,11,21,12.41l-6.37,6.37,3.44,8.59A1,1,0,0,0,19,28h0a1,1,0,0,0,.92-.66l8-22A1,1,0,0,0,27.71,4.29Z\"/></svg>","up","<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\" style=\"enable-background:new 0 0 32 32;\" xml:space=\"preserve\"><polygon points=\"16,10 26,20 24.6,21.4 16,12.8 7.4,21.4 6,20 \"/></svg>","defaultbaricon","<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\" fill=\"currentColor\" title=\"edge-round-ddd.svg\"><path style=\"line-height:normal;text-indent:0;text-align:start;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;block-progression:tb;isolation:auto;mix-blend-mode:normal\" d=\"M 25 4.0703125 C 12.368358 4.0703125 2.0703125 12.921769 2.0703125 24 C 2.0703125 30.431559 5.5919902 36.028787 11.003906 39.685547 C 10.995206 39.900392 11.011006 40.249664 10.728516 41.294922 C 10.378457 42.590139 9.6725165 44.413013 8.2382812 46.46875 L 7.21875 47.929688 L 9 47.929688 C 15.170926 47.929688 18.741551 43.907585 19.294922 43.261719 C 21.134299 43.693167 23.024925 43.929687 25 43.929688 C 37.631642 43.929688 47.929688 35.078231 47.929688 24 C 47.929688 12.921769 37.631642 4.0703125 25 4.0703125 z M 25 5.9296875 C 36.768358 5.9296875 46.070312 14.078231 46.070312 24 C 46.070312 33.921769 36.768358 42.070313 25 42.070312 C 22.959003 42.070312 21.040094 41.875066 19.236328 41.400391 L 18.654297 41.248047 L 18.277344 41.714844 C 18.277344 41.714844 15.390872 44.972567 10.78125 45.757812 C 11.617971 44.248981 12.233687 42.844147 12.521484 41.779297 C 12.921426 40.299514 12.929687 39.300781 12.929688 39.300781 L 12.929688 38.789062 L 12.498047 38.515625 C 7.2194156 35.156496 3.9296875 29.955815 3.9296875 24 C 3.9296875 14.078231 13.231642 5.9296875 25 5.9296875 z M 15 22 A 2 2 0 0 0 13 24 A 2 2 0 0 0 15 26 A 2 2 0 0 0 17 24 A 2 2 0 0 0 15 22 z M 25 22 A 2 2 0 0 0 23 24 A 2 2 0 0 0 25 26 A 2 2 0 0 0 27 24 A 2 2 0 0 0 25 22 z M 35 22 A 2 2 0 0 0 33 24 A 2 2 0 0 0 35 26 A 2 2 0 0 0 37 24 A 2 2 0 0 0 35 22 z\" font-weight=\"400\" font-family=\"sans-serif\" white-space=\"normal\" overflow=\"visible\"></path></svg>","cssText","style","css_join","StyleMap","StyleIdx",",","split","length","","replace","push","value","string","function","nodeType","childNodes","toLowerCase","nodeName","concat","class","getAttribute","log"," ",".","index","sort","InlineChatShowLogo","4","InPageTemplate","InPageHeadBorderWidth","InPageHeadBorderColor","black","3","#555555","#e64e5f","8","#ef5028","10","transparent","14","15","16","InPageHeadBgColor","InlineChatTextColor","#2c4d70","InlineChatBackColor","InlineChatIntroColor","#ffffff",".mylivechat_inline,input,textarea,select","font-family:","DefaultFont",";","input,textarea","fix_placeholder","td,th","padding:0px;","InlineChatEmbedColor","input,textarea,select,button","color:",".mylivechat_container","border:solid ","px ","#2070B0",".mylivechat_collapsed,.mylivechat_expanded_title","background-color:","#0275d8",";border:solid ",".mylivechat_collapsed_text,.mylivechat_expanded_text","InPageHeadFont",";font-size:","InPageHeadSize","14px",";color:","InPageHeadColor",".mylivechat_collapsed",".mylivechat_expanded_title","msie5678","InlineChatBubbleUIMode","False","0","1",".mylivechat_dialog,.mylivechat_frame",".mylivechat_prechat, .mylivechat_offline,.mylivechat_support,mylivechat_dialog,.mylivechat_frame",".mylivechat_bubble_img","alt","livechat","src","InPageBubbleTopUrl","setAttribute",".mylivechat_prechat_text,.mylivechat_offline_text,.mylivechat_survey_title,.mylivechat_survey_message","InlineChatIntroCssText","InlineChatIntroFont",".mylivechat_prechat_lbl,.mylivechat_offline_lbl",".mylivechat_framebtn","_wrapper","float:left;width:20px;height:20px;box-sizing:border-size;border:solid 1px transparent;background-repeat:no-repeat;background-position:50% 50%;cursor:pointer","set_image","backgroundImage","url(","UrlBase","images/",")","image","define","imageover","background-image","set_mousecssitem","border-color","gray","#999999 #cccccc #cccccc #999999","input,textarea,select","InlineChatValueStyle","InlineChatLabelStyle",".mylivechat_prechat_text,.mylivechat_offline_text","InlineChatIntroStyle",".mylivechat_prechat_submit_button,.mylivechat_offline_submit_button,.mylivechat_chatbtn","InlineChatButtonStyle",".mylivechat_sprite","backgroundRepeat","no-repeat","maxWidth","32px","_layout","width","height","spritezoom","setSprite","mylivechat-sprite-active","add","classList","remove","Thumbup","Thumbup2","Thumbdown","Thumbdown2","emotion","attachment","voice","mute","email","settings","whitesoundon","whitesoundoff","svgfile","svg/",".svg)","backgroundSize","px","backgroundPosition","center center","sprite","images/sprite.png)","UseLegacySprite","RawConfig","innerHTML","firstChild","width:","px;height:","px;","className","mylivechat_auto_size","spireopacity","setopacityeffect","msie567",".mylivechat_prechat_oauth_lbl,.mylivechat_offline_oauth_lbl","float:left"];function b(b,c){if(!c){return};var d=MyLiveChat_Lib[a[39]](c,b[a[38]][a[37]]);b[a[38]][a[37]]= d}function c(g,b){if(!b){return};var f=g[a[43]](a[42]);if(f[a[44]]> 1){for(var e=0;e< f[a[44]];e++){c(f[e],b)};return};g= g[a[46]](/(^\s*)|(\s*$)/g,a[45]);b= {index:++MyLiveChat[a[41]],value:b};var d=MyLiveChat[a[40]][g];if(!d){MyLiveChat[a[40]][g]= b;return};if(d instanceof  Array){d[a[47]](b);return};MyLiveChat[a[40]][g]= [d,b]}function d(c,d){var e=d[a[48]];if( typeof (e)== a[49]){b(c,e)}else {if( typeof (e)== a[50]){e(c)}}}function e(g){if(g[a[51]]!= 1){return};var f=g[a[52]];for(var b=0;b< f[a[44]];b++){e(f[b])};var k=[];var l=g[a[54]][a[53]]();var j=MyLiveChat[a[40]][l];if(j){if(j instanceof  Array){k= k[a[55]](j)}else {k[a[47]](j)}};var c=g[a[57]](a[56]);if(c){if(!c[a[43]]){console[a[58]](g);return};c= c[a[43]](a[59]);for(var b=0;b< c[a[44]];b++){var j=MyLiveChat[a[40]][a[60]+ c[b]];if(j){if(j instanceof  Array){k= k[a[55]](j)}else {k[a[47]](j)}}}};if(k[a[44]]== 0){return};if(k[a[44]]== 1){d(g,k[0]);return};k[a[62]](function(b,c){return c[a[61]]- b[a[61]]});for(var h=0;h< k[a[44]];h++){d(g,k[h])}}function f(){switch(MyLiveChat[a[65]]){case a[64]:MyLiveChat[a[63]]= false;break};if(!parseInt(MyLiveChat[a[66]])){switch(MyLiveChat[a[65]]){case a[64]:MyLiveChat[a[66]]= 1;break}};if(!MyLiveChat[a[67]]){switch(MyLiveChat[a[65]]){case a[69]:MyLiveChat[a[67]]= a[68];break;case a[64]:MyLiveChat[a[67]]= a[70];break;case a[72]:MyLiveChat[a[67]]= a[71];break;case a[74]:MyLiveChat[a[67]]= a[73];break;case a[76]:MyLiveChat[a[67]]= a[75];break;case a[77]:MyLiveChat[a[67]]= a[75];break;case a[78]:MyLiveChat[a[67]]= a[75];break}};if(!MyLiveChat[a[79]]){switch(MyLiveChat[a[65]]){case a[69]:MyLiveChat[a[79]]= a[68];break;case a[64]:MyLiveChat[a[79]]= a[70];break;case a[72]:MyLiveChat[a[79]]= a[71];break;case a[74]:MyLiveChat[a[79]]= a[73];break}};if(!MyLiveChat[a[80]]){switch(MyLiveChat[a[65]]){case a[72]:MyLiveChat[a[80]]= a[81];break}};if(!MyLiveChat[a[82]]){switch(MyLiveChat[a[65]]){case a[72]:MyLiveChat[a[82]]= a[81];break}};if(!MyLiveChat[a[83]]){switch(MyLiveChat[a[65]]){case a[72]:MyLiveChat[a[83]]= a[84];break}};c(a[85],a[86]+ MyLiveChat[a[87]]+ a[88]);c(a[89],function(b){MyLiveChat_Lib[a[90]](b)});c(a[91],a[92]);if(MyLiveChat[a[93]]){c(a[94],a[95]+ MyLiveChat[a[93]])};c(a[96],a[97]+ (MyLiveChat[a[66]]|| 0)+ a[98]+ (MyLiveChat[a[67]]|| a[99])+ a[88]);c(a[100],a[101]+ (MyLiveChat[a[79]]|| a[102])+ a[103]+ (MyLiveChat[a[66]]|| 0)+ a[98]+ (MyLiveChat[a[67]]|| a[99])+ a[88]);c(a[104],a[86]+ (MyLiveChat[a[105]]|| a[45])+ a[106]+ (MyLiveChat[a[107]]|| a[108])+ a[109]+ (MyLiveChat[a[110]]|| a[84])+ a[88]);c(a[111],a[95]+ (MyLiveChat[a[110]]|| a[84])+ a[88]);c(a[112],a[95]+ (MyLiveChat[a[110]]|| a[84])+ a[88]);function d(){if(MyLiveChat_Lib[a[113]]){return null};var b=MyLiveChat[a[114]];if(b== a[115]|| b== a[116]){return null};return b|| a[117]}c(a[118],a[101]+ (MyLiveChat[a[82]]|| a[84])+ a[109]+ (MyLiveChat[a[80]]|| a[45]));c(a[119],a[101]+ (MyLiveChat[a[82]]|| a[45])+ a[109]+ (MyLiveChat[a[80]]|| a[45]));c(a[120],function(b){if(!b[a[121]]){b[a[121]]= a[122]};setTimeout(function(){b[a[125]](a[123],MyLiveChat[a[124]])},0)});c(a[126],function(c){b(c,MyLiveChat[a[127]]);b(c,a[95]+ (MyLiveChat[a[83]]|| MyLiveChat[a[80]]|| a[68])+ a[88])});if(MyLiveChat[a[128]]){c(a[129],a[86]+ MyLiveChat[a[128]])};c(a[130],function(c){var f=c[a[131]];b(c,a[132]);f[a[133]]= function(b){c[a[38]][a[134]]= a[135]+ MyLiveChat[a[136]]+ a[137]+ b+ a[138]};f[a[133]](f[a[140]][a[139]]);if(f[a[140]][a[141]]){var d=a[135]+ MyLiveChat[a[136]]+ a[137]+ f[a[140]][a[139]]+ a[138];var e=a[135]+ MyLiveChat[a[136]]+ a[137]+ f[a[140]][a[141]]+ a[138];MyLiveChat_Lib[a[143]](c,a[142],d,e,d)}else {MyLiveChat_Lib[a[143]](c,a[144],a[75],a[145],a[146])}});c(a[147],MyLiveChat[a[148]]);c(a[129],MyLiveChat[a[149]]);c(a[150],MyLiveChat[a[151]]);c(a[152],MyLiveChat[a[153]]);c(a[154],function(c){c[a[38]][a[155]]= a[156];c[a[38]][a[157]]= a[158];var b=c[a[131]][a[140]];var f=c[a[159]]?c[a[159]][a[160]]:16;var d=c[a[159]]?c[a[159]][a[161]]:16;var g=b[a[162]]|| 1;var e=24* g;c[a[163]]= function(b){c[a[125]](a[139],b);if(b== a[10]|| b== a[13]){c[a[166]][a[165]](a[164])}else {c[a[166]][a[167]](a[164])};var j;var h=false;var m=0;switch(b){case a[33]:m= 6;break;case a[6]:m= 2;break;case a[2]:m= 3;break;case a[4]:m= 0;break;case a[8]:j= a[168];h= true;m= 7;break;case a[10]:j= a[169];h= true;m= 24;break;case a[11]:j= a[170];h= true;m= 8;break;case a[13]:j= a[171];h= true;m= 25;break;case a[172]:m= 9;break;case a[14]:j= a[173];m= 10;break;case a[19]:j= a[19];b= a[16];m= 11;break;case a[17]:b= a[16];m= 11;break;case a[16]:j= a[16];m= 11;break;case a[21]:j= a[174];h= true;m= 12;break;case a[23]:j= a[175];h= true;m= 13;break;case a[25]:j= a[176];h= true;m= 16;break;case a[1]:m= 14;break;case a[139]:m= 18;break;case a[177]:m= 20;break;case a[178]:m= 26;break;case a[179]:m= 27;break};if(j){c[a[125]](a[180],j);c[a[38]][a[134]]= a[135]+ MyLiveChat[a[136]]+ a[181]+ j+ a[182];if(h){c[a[38]][a[183]]= (20* g)+ a[98]+ (20* g)+ a[184];c[a[38]][a[185]]= a[186]}else {c[a[38]][a[183]]= e+ a[98]+ e+ a[184]}}else {m= -(24- d)/ 2 - m* 24;var l=(24- f)/ 2;c[a[125]](a[187],b);c[a[38]][a[134]]= a[135]+ MyLiveChat[a[136]]+ a[188];c[a[38]][a[185]]= -l+ a[98] + m + a[184]};if(MyLiveChat[a[190]][a[189]]!= a[117]){var k=MyLiveChat[a[0]][b];if(k){c[a[38]][a[134]]= a[45];c[a[191]]= k;c[a[192]][a[125]](a[139],b);if(c[a[159]]){c[a[192]][a[38]][a[37]]= a[193]+ f+ a[194]+ d+ a[195]}else {c[a[192]][a[196]]= a[197]};return}}};c[a[163]](b[a[139]]);if(b[a[198]]){MyLiveChat_Lib[a[199]](c,b[a[198]])}});if(MyLiveChat_Lib[a[200]]){c(a[201],a[202])};for(var e=0;e< MyLiveChat_InitCss2Handlers[a[44]];e++){MyLiveChat_InitCss2Handlers[e]()}}MyLiveChat_SetBaseCss= b;MyLiveChat_DefineStyle= c;MyLiveChat_RunStyle= d;MyLiveChat_ApplyStyle= e;MyLiveChat_InitCss2= f;MyLiveChat[a[0]]= {};MyLiveChat[a[0]][a[1]]= MyLiveChat[a[0]][a[2]]= a[3];MyLiveChat[a[0]][a[4]]= a[5];MyLiveChat[a[0]][a[6]]= a[7];MyLiveChat[a[0]][a[8]]= a[9];MyLiveChat[a[0]][a[10]]= a[9];MyLiveChat[a[0]][a[11]]= a[12];MyLiveChat[a[0]][a[13]]= a[12];MyLiveChat[a[0]][a[14]]= a[15];MyLiveChat[a[0]][a[16]]= MyLiveChat[a[0]][a[17]]= a[18];MyLiveChat[a[0]][a[19]]= a[20];MyLiveChat[a[0]][a[21]]= a[22];MyLiveChat[a[0]][a[23]]= a[24];MyLiveChat[a[0]][a[25]]= a[26];MyLiveChat[a[0]][a[27]]= a[28];MyLiveChat[a[0]][a[29]]= a[30];MyLiveChat[a[0]][a[31]]= a[32];MyLiveChat[a[0]][a[33]]= a[34];MyLiveChat[a[0]][a[35]]= a[36];MyLiveChat[a[40]]= {};MyLiveChat[a[41]]= 0;MyLiveChat_InitCss2Handlers= [];})()

var MLCUI_FireOAuthStart,MLCUI_GetOAuthUrlBase,MLCUI_TryLogoutOAuth,MLCUI_TryGetOAuth,MLCUI_ShowOAuth,MLCUI_ImplOAuth,MLCUI_CreateCustomFields,MyLiveChat_SetupButtonMode,MLCUI_InlineHelper,MyLiveChat_CreateDialogPanel,MyLiveChat_SupportHtml5Upload,MyLiveChat_CreateMainPanel;(function(){var a=["OAuthImpls","OAuthHandler","OAuthStarted","OAuthScriptOK","mlcoauth","id","email","displayName","0","length","OAuthStart","mylivechat.com","indexOf","HomePage","oauth/","_localtest/","mlcoauthscript","getElementById","removeChild","parentNode","script","createElement","src","oauthscript.aspx?Action=del&HCCID=","HCCID","&UserID=","CCCustomerId","&_r=","getTime","appendChild","head","getElementsByTagName","oauthscript.aspx?Action=get&HCCID=","facebook","status=1,width=",",height=",",resizable=1",",left=","availWidth","floor",",top=","availHeight","oauthstart.aspx?Website=","&HCCID=","mlcoauthreqwin","open","closed","InlineChatEnableOAuth","display","s","oauthpanel","none","padding","oauthbox","0px","table","className","mylivechat_oauth_table","cellPadding","cellSpacing","cssText","style","text-align:left;width:100%;margin:0;","insertRow","insertCell","width:32px;text-align:left;vertical-align:top","text-align:left;vertical-align:top","width:16px;vertical-align:top","rowSpan","innerHTML","<img src=\'","UrlBase","images/im_blocked_busy.png\' alt=\'busy\' style=\'cursor:pointer;width:16px;height:16px\' />","onclick","firstChild","div","mylivechat_oauth_container","display:none;border:solid 1px #cccccc;border-radius:4px!important;padding:4px;","imageUrl","html_encode","\' alt=\'auth\' style=\'width:32px;height:32px\' />","<span style=\'line-height:20px;font-size:16px;padding-left:3px;\'>","<span> <img src=\'","images/icon_","website",".png\' alt=\'","\' style=\'width:12px;height:12px\' />","<span style=\'line-height:16px;font-size:12px;padding-left:3px;color:#666666;max-width:","offsetWidth","max","px;overflow-x:hidden;display:inline-block;text-overflow:ellipsis\'>","</span>","value","e","emailbox","namebox","_clearerror","hide","emailpanel","namepanel","oauthstatus","minHeight","46px","","innerText","text","define","show","links","link","apply_layout","panel","images/auth_loader.gif\' alt=\'loading\' style=\'margin:0 8px\' />","push",".mylivechat_container","querySelectorAll","offsetHeight","px","type","CustomDataDefinition","CustomDataMode","auto","mylivechat_","_custom","items","select","_custom_box mylivechat_","_box mylivechat_custom_dropdown mylivechat_","_custom_dropdown","\x0A","split","join","\x0D","add","options","required","color","InlineChatTextColor","#aaaaaa","InlineChatEmbedColor","black","textarea","input","_box","dropdown","textbox","placeholder","setAttribute","_customitem,mylivechat_","<mlc-label class=\'mylivechat_","_customitem_lbl mylivechat_","_lbl\'>","</mlc-label>","box","onchange","onkeyup","onpaste","add_child","get_json","validate_customdata","Please type ","Please select "," , ","boxerror","round","round+text","tooltip","round+tooltip","InlineChatButtonMode","btnmode","m_bubble","InlineChatRoundPadding","InlineChatRoundSpace","InlineChatRoundSize","HasReadyAgents","InlineChatRoundOnline","InlineChatRoundOffline","InlineChatRoundMargin","width","height","top","left","m_coled","mylivechat_buttonround","position:relative;box-shadow:",";visibility:hidden;border-radius:","InlineChatRoundRadius","px!important;background-color:","InlineChatRoundBackColor","#007bff",";color:","InlineChatRoundForeColor","#ffffff","InPageHeadOnline","InPageHeadOffline","img","position:absolute;width:","px;height:","px;left:","px;top:","round button","onmouseover","boxShadow","onmouseout","onupdate","DIV","mylivechat_buttonround_label","position:absolute;white-space:nowrap;text-align:center;right:","px;line-height:","InPageHeadColor",";font-family:","InlineChatRoundFont",";font-weight:400;font-size:","InlineChatRoundFontSize","18px","AfterBegin","insertAdjacentElement","body","minWidth","mylivechat_buttonround_tooltip","position:absolute;top:",";background-color:","gray","InPageHeadFont",";font-size:","InPageHeadSize","14px","mylivechat_template_float_right","contains","classList",";","right:","left:","mylivechat_buttonround_tooltip_arrow",";width:12px;height:0;x;border-color: transparent ",";border-style: solid;box-sizing: content-box;","left:100%;border-width:10px 0 10px 12px;","right:100%;border-width: 10px 12px 10px 0;","IsDesignMode","onmousedown","mylivechat_buttonround_tooltip_clicked","1","setItem","getItem","InlineChatRoundOfflineGray","Y","runtimeStyle","backgroundColor","filter","grayscale(1.0)","updateforbtnmode","visibility","updatelayout","outerui","mobile","focusin","addEventListener","focusout","InPagePosition","bottomright","right","InPageOffsetX","InPageTemplate","bottom","InPageOffsetY","supportfixed","mylivechat_template_float_left","mylivechat_template_float_bottom","mylivechat_template_float_top","innerHeight","IsMobile","innerWidth","min","InlineChatIsExpanded","mylivechat-mobile-docked","remove","get_body_rect","scrollLeft","scrollTop","InlineChatEnableDrag","ResetDragOffset","SetDragOn","userSelect","position:fixed;width:98%;left:0px;top:0px;height:98%;z-index:88888888","mousedown","event","button","srcElement","target","INPUT","SELECT","TEXTAREA","nodeName","clientX","clientY","preventDefault","attach","stopPropagation","cancelBubble","returnValue","mouseup","selectstart","mousemove","abs","m_main","m_cont","ToggleInline","SwitchedToDialog","EnsureChatClose","InlineChatDoCollapse","InlineChatFeedbackBehavior","Redirect","InlineChatFeedbackRedirectUrl","Click","InlineChatDoExpand","AddActions","onretrycalled","closechat","SetInlineChatAction","onclosecalled","_InlineAction","trigger","reject","EnsureChatReady","collapsed","expand","collapse","EnsureChatMainReady","oncloseclick","_expanded","InlineChatIsCollapsed","InlineChatIsChatting","InlineChatWaitingShowForClick","InlineChatSelectAgent","AgentId","ExpanToSelectAgent","wait","IsByServerInvitation","IsByAgentInvitation","InlineChatStartChat","InlineChatCloseChat","mylivechat_closediv","mylivechat_closebtn","substring","InPageHeadBgColor","close","SvgMap","m_exped","_show","expandadjust","onload","onerror","/Customization/Customer/","?",".","/","yes","ensuremainui","onwindowresize","addtobody","CollapseAnimate","InlineChatEnableAnimate","colanimating","pow","translate(0px,","px)","transform","webkitTransform","mylivechat_dialog","border:none;box-sizing:border-box;background-color:white","debugusinginnerlayout","undefined","document","file","files","upload","InlineChatShowLogo","display: flex;justify-content: center;","NoPrivateLabel","IFRAME","frameBorder","position:static;border-style:none;border-width:0px;height:20px;width:140px;box-shadow:none;margin:0px;padding:0px;","poweredby.htm","PrivatePoweredByHTML","mylivechat_footer","RequiredStarShowLabel","*","RequiredStarShowPlaceHolder","display:none;width:100%;position:relative;overflow-y:visible;","mylivechat_main","display:flex;flex-direction:row;width:100%;flex-wrap:nowrap;","mylivechat_prechat_wrapper","mylivechat_prechat","display:flex;flex-direction:column;","flex","mylivechat_prechat_content","overflow:visible;position:relative;","mylivechat_prechat_head","height:68px","mylivechat_prechat_headtext","mylivechat_prechat_logo","<img class=\'mylivechat_prechat_logo_img\' alt=\'logo\' src=\'","InlineChatOnlineLogo","\'/>","mylivechat_prechat_text","WaitingMessage","mylivechat_prechat_name","<mlc-label class=\'mylivechat_prechat_name_lbl mylivechat_prechat_lbl\'>","TEXT_NAME","TEXT_NAMEPLACEHOLDER","mylivechat_prechat_name_box mylivechat_prechat_box","mylivechat_prechat_email","<mlc-label class=\'mylivechat_prechat_email_lbl mylivechat_prechat_lbl\'>","WaitingFieldEmail","TEXT_EMAIL","TEXT_EMAILPLACEHOLDER","mylivechat_prechat_email_box mylivechat_prechat_box","InlineChatWaitingFieldEmail","mylivechat_prechat_oauth","<mlc-label class=\'mylivechat_prechat_oauth_lbl\'>","TEXT_OAUTH","mylivechat_prechat_oauth_box","border-width:0px","span","TEXT_UI_SIGNINWITH","or sign in with :"," ","google","prechat","mylivechat_prechat_question","<mlc-label class=\'mylivechat_prechat_question_lbl mylivechat_prechat_lbl\'>","WaitingFieldQuestion","TEXT_QUESTION","TEXT_QUESTIONPLACEHOLDER","mylivechat_prechat_question_box mylivechat_prechat_box","InlineChatWaitingFieldQuestion","mylivechat_prechat_department","<mlc-label class=\'mylivechat_prechat_department_lbl mylivechat_prechat_lbl\'>","WaitingFieldDepartment","TEXT_DEPARTMENT","mylivechat_prechat_department_box mylivechat_prechat_box","InlineChatWaitingFieldDepartment","mylivechat_prechat_submit","mylivechat_prechat_submit_button","TEXT_STARTCHAT","mylivechat_offline_wrapper","mylivechat_offline","mylivechat_offline_content","mylivechat_offline_head","mylivechat_offline_headtext","mylivechat_offline_logo","<img class=\'mylivechat_offline_logo_img\' alt=\'logo\' src=\'","InlineChatOfflineLogo","mylivechat_offline_text","FeedbackMessage","mylivechat_offline_name","<mlc-label class=\'mylivechat_offline_name_lbl mylivechat_offline_lbl\'>","mylivechat_offline_name_box mylivechat_offline_box","mylivechat_offline_email","<mlc-label class=\'mylivechat_offline_email_lbl mylivechat_offline_lbl\'>","mylivechat_offline_email_box mylivechat_offline_box","mylivechat_offline_oauth","<mlc-label class=\'mylivechat_offline_oauth_lbl mylivechat_offline_lbl\'>","mylivechat_offline_oauth_box","offline","mylivechat_offline_subject","<mlc-label class=\'mylivechat_offline_subject_lbl mylivechat_offline_lbl\'>","TEXT_SUBJECT","InlineChatHideSubject","TEXT_SUBJECTPLACEHOLDER","mylivechat_offline_subject_box mylivechat_offline_box","mylivechat_offline_enquiry","<mlc-label class=\'mylivechat_offline_enquiry_lbl mylivechat_offline_lbl\'>","TEXT_ENQUIRY","TEXT_ENQUIRYPLACEHOLDER","mylivechat_offline_question_box mylivechat_offline_box","mylivechat_offline_file","<mlc-label class=\'mylivechat_offline_file_lbl mylivechat_offline_lbl\' style=\'height:20px\'></mlc-label>","SupportShowFeedbackUpload","display:inline-block;margin-left:12px;margin-top:5px","display:flex;position:relative;align-items: center;","mylivechat_sprite","SupportShowUploadButton","TEXT_UI_FILE","cursor:pointer;float:left;margin:3px;","position:absolute;left:0px;top:0px;width:100%;height:100%;cursor:pointer;opacity:0.001","mylivechat_offline_submit","mylivechat_offline_submit_button","TEXT_UI_SEND","mylivechat_support_wrapper","mylivechat_support","mylivechat_support_frame","m_offline_file_overlay","name","size","File is too big","FeedbackUploadedFile","disabled","m_offline_file_text","Uploading...","status","Error","Failed","onabort","Aborted","onprogress","POST","fbupload.ashx?hccid=","userid","append","send","60px","load","m_prechat_logo","m_offline_logo","backgroundImage","url(","template/images/inpage_8_bg.png)","backgroundPosition","right bottom","backgroundRepeat","no-repeat","boxlayout","m_survey","mylivechat_survey","display:none;","mylivechat_survey_mask","mylivechat_survey_frame","mylivechat_survey_top","mylivechat_survey_close mylivechat_sprite","cursor:pointer","mylivechat_survey_title","line-height:28px","TEXT_UI_SURVEY_HEADLINE","background-color:white;","mylivechat_survey_header","padding-top:12px;","mylivechat_survey_message","TEXT_UI_SURVEY_MESSAGE","mylivechat_survey_rating","SurveyUseRating","text-align:center;","good","SVG/Thumbup.svg","width:48px;height:48px;margin:0 10px;cursor:pointer;border:solid 1px transparent;border-radius:5px;display:inline-block;float:none;","bad","SVG/Thumbdown.svg","mylivechat_survey_comment","SurveyUseComment","mylivechat_survey_comment_box mylivechat_survey_box","TEXT_COMMENT","mylivechat_survey_butttons","padding:12px 5px;text-align:center;","mylivechat_survey_submit_button","margin:5px 12px;padding:3px 12px;width:80px;","mylivechat_survey_cancel_button","margin:5px 5px;padding:3px 12px;width:80px;","TEXT_CLOSE","m_survey_mask","m_survey_close","m_survey_cancel_button","_rating","m_survey_update","GetAgentRating","framewin","m_survey_good","SVG/Thumbup2.svg","m_survey_bad","SVG/Thumbdown2.svg","m_support","m_offline_oauth_google","m_offline_oauth_facebook","m_prechat_oauth_google","m_prechat_oauth_facebook","icon",".png\' style=\'margin:3px;cursor:pointer;display:inline-block;width:16px;height:16px\' />","vertical-align:top;display:inline-block;line-height:22px;","8","icon_","_gray.png","setgrayeffect","m_prechat_oauth_status","m_offline_oauth_status","m_prechat_oauth_box","m_offline_oauth_box","text-align:right;","m_prechat_department_box","TEXT_DEPARTMENTPLACEHOLDER","Departments","WaitingShowDepartments","Online","Name","WaitingShowOfflineText","selectedIndex","SourceDepartment","m_prechat_custom","concat","m_prechat_name","m_prechat_name_box","m_prechat_email","m_prechat_email_box","m_prechat_oauth","m_prechat_question","m_prechat_question_box","m_prechat_department","m_offline_custom","m_offline_name","m_offline_name_box","m_offline_email","m_offline_email_box","m_offline_oauth","m_offline_file","m_offline_file_box","m_offline_subject","m_offline_subject_box","m_offline_enquiry","m_offline_enquiry_box","survey","InPageInputBoxLayout","lbl","ResizeObserver","observe","resize","mylivechat_inputgroup_placeholder","important","setProperty","mylivechat_inputgroup_vertical","removeAttribute","mylivechat_inputgroup_horizental","m_selectagent","m_supportcore","images/search15x15.png","overflow:auto;padding:4px;box-sizing:border-box;overflow:none;max-height:400px","right:8px;top:9px;width:90px;border-width:0 0 1px 0;background-repeat:no-repeat;background-position:100% 50%;background-image:url(",");","border-bottom: .07rem dashed #ebedf2;padding: 8px;color: darkgray;font-size:16px","TEXT_UI_SELECTAGENT","Select Agent","overflow-x:hidden;overflow-y:auto;top:44px;bottom:0px;left:0px;right:0px;","InlineChatSelectAgentUI","Float","textAlign","m_list","center","m_search","onkeydown","onkeypress","toLowerCase","replace","Id","User:0","InlineChatSelectAgentByDept","Agents","InlineChatSelectAgentOnlineOnly","mlc_select_agent_div","mlc_select_agent_img","mlc_select_agent_lbl","htm","mlc_select_agent_htm","float:right","margin:12px 2px 0px;display:inline-block;width:90px;text-align:center;vertical-align: top;","display:inline-block;vertical-align:top;margin:3px;width:72px;height:72px;border-radius:36px!important;background-size:cover;background-position:50% 50%;background-repeat: no-repeat;","display:block;margin:3px;font-size: 16px;text-align:center;text-overflow: ellipsis;width:90px;overflow: hidden;height: 40px;","margin:4px 2px;padding:3px 3px 8px;","display:inline-block;vertical-align:top;margin:2px;width:48px;height:48px;border-radius:24px!important;background-size:cover;background-position:50% 50%;background-repeat: no-repeat;","display:inline-block;height:32px;margin-top: 16px;font-size: 16px;margin-left: 20px;","AgentHtml_","borderBottom","1px dashed #ebedf2","dot","mlc_select_agent_dot","float:right;width:10px;height:52px;margin:0 5px","<span style=\'display:inline-block;width:10px;height:10px;border-radius:5px!important;margin:21px 0;background-color:green\'></span>","FindAgentPhoto.aspx?hccid=","&uid=",")","grayscale(100%)","opacity","msie","Trident","userAgent","0.3","0.7","cursor","pointer","#eeeeee","m_support_frame","StartWaitChat","ShowMainPart","_lastshow","order","-1","Email","Question","Department","m_offline","message","toast","ReturnValue","Ready","TEXT_SS_MESSAGE_THANKSFORFEEDBACK","Message","Subject","Field","RequireName","ErrCode","m_prechat_submit_button","TEXT_SS_MESSAGE_PLEASETYPENAME","TEXT_SS_MESSAGE_NAMEWRONGLENGTH","TEXT_SS_MESSAGE_PLEASETYPEEMAIL","test","CustomData","TEXT_SS_MESSAGE_PLEASETYPEQUESTION","TEXT_SS_MESSAGE_SELECTDEPARTMENT","m_prechat","m_offline_submit_button","OAuthId","OAuthUserId","IsDialog","PageUrl","Url","RawQuery","PageTitle","#","href","location","title","AttachmentName","SendFeedback","MyLiveChatAjax","prepairframe","framedoc","iframe","box-sizing:border-box;display:block;","define_layout","about:blank","mylivechatinpageframe","contentDocument","contentWindow","frame","msie56789","frame2.aspx?HCCID=","&CCCustomerId=","&_t=","resources2.aspx?HCCID=","ResourcesVary","script/frameui2.js","script/frameinit2.js","<html><head>","<meta name=\"format-detection\" content=\"telephone=no\"/>","<link rel=\'stylesheet\' href=\'","chatdialog2.css\' />","</head><body>","onreadystatechange","readyState","loaded","complete","<script src=\'","\'></script>","</body></html>","write","disposeiframe","text/html","<html></html>","FrameWin","SourceName","SourceEmail","SourceSubject","(Missed Chat)","SourceQuestion","DoCloseChat","RedirectToOffline","UI_Support_NOAGENT","_GetText","InlineChatWaitingToFeedback","alert","showforagents","getlastshow","support","VisitorStatus","SERVICE","resume","preview","qs","Support","Survey","stopAndRetry","VISIT","SurveyVisible","OnAgentLeave","TEXT_CONVERSATION_CLOSE_BY_AGENT","m_survey_submit_button","Rating","Comment","m_survey_comment_box","SaveSurvey","EnsureChatWinReady"];function b(c,d){MyLiveChat[a[2]]= false;MyLiveChat[a[3]]= true;MyLiveChat_SetNextReqTimeout(100);if(c){MyLiveChat_SetLocalData(a[4],c[a[5]]);MyLiveChat_SetEmail(c[a[6]]);MyLiveChat_SetUserName(c[a[7]]|| c[a[6]])}else {MyLiveChat_SetLocalData(a[4],a[8])};for(var b=0;b< MyLiveChat[a[0]][a[9]];b++){MyLiveChat[a[0]][b][a[1]](c,d)}}function c(){if(MyLiveChat[a[2]]){return};MyLiveChat[a[2]]= true;for(var b=0;b< MyLiveChat[a[0]][a[9]];b++){MyLiveChat[a[0]][b][a[10]]()}}function d(){if(MyLiveChat[a[13]][a[12]](a[11])!=  -1){return MyLiveChat[a[13]]+ a[14]};return MyLiveChat[a[13]]+ a[15]}function e(){var f=a[16];var b=document[a[17]](f);if(b!= null){b[a[19]][a[18]](b)};var c=MyLiveChat[a[3]];MyLiveChat[a[1]](null,true);var e=document[a[21]](a[20]);e[a[22]]= d()+ a[23]+ MyLiveChat[a[24]]+ a[25]+ MyLiveChat[a[26]]+ a[27]+  new Date()[a[28]]();e[a[5]]= f;document[a[31]](a[30])[0][a[29]](e)}function f(){var f=a[16];var b=document[a[17]](f);if(b!= null&&  !MyLiveChat[a[3]]){return};if(b!= null){b[a[19]][a[18]](b)};MyLiveChat[a[3]]= false;c();var e=document[a[21]](a[20]);e[a[22]]= d()+ a[32]+ MyLiveChat[a[24]]+ a[25]+ MyLiveChat[a[26]]+ a[27]+  new Date()[a[28]]();e[a[5]]= f;document[a[31]](a[30])[0][a[29]](e)}function g(j){var k=420;var e=460;if(j== a[33]){e= 280};var g=a[34]+ k+ a[35]+ e+ a[36];g+= a[37]+ Math[a[39]]((screen[a[38]]- k)/ 2);g+= a[40]+ Math[a[39]]((screen[a[41]]- e)/ 2);var l=window[a[45]](d()+ a[42]+ j+ a[43]+ MyLiveChat[a[24]]+ a[25]+ MyLiveChat[a[26]]+ a[27]+  new Date()[a[28]](),a[44],g);c();var _done=false;var _relay=document.createElement("iframe");_relay.style.cssText="display:none;width:0;height:0;border:0";_relay.src=d()+"oauthrelay.htm";document.body.appendChild(_relay);function _onDone(){if(_done)return;_done=true;if(_tid)clearTimeout(_tid);window.removeEventListener("message",_onMsg);window.removeEventListener("storage",_onStor);try{localStorage.removeItem("mlc-oauth-done")}catch(ex){};try{_relay.parentNode.removeChild(_relay)}catch(ex){};f()};function _onMsg(evt){if(evt.data&&evt.data.type==="mlc-oauth-complete"){_onDone();try{l.close()}catch(ex){}}};window.addEventListener("message",_onMsg);function _onStor(evt){if(evt.key==="mlc-oauth-done"){_onDone();try{l.close()}catch(ex){}}};window.addEventListener("storage",_onStor);var _tid;function _chk(){try{if(l[a[46]]){_onDone();return}}catch(ex){};_tid=setTimeout(_chk,500)};_chk()}function h(n){var l={};if(MyLiveChat[a[47]]== a[8]){n[a[50]][a[49]][a[48]]= a[51];return l};n[a[53]][a[49]][a[52]]= a[54];var o=document[a[21]](a[55]);o[a[56]]= a[57];o[a[58]]= 0;o[a[59]]= 0;o[a[61]][a[60]]= a[62];var p=o[a[63]](-1);var q=o[a[63]](-1);var b=p[a[64]](-1);var c=p[a[64]](-1);var d=p[a[64]](-1);var h=q[a[64]](-1);b[a[61]][a[60]]= a[65];c[a[61]][a[60]]= a[66];d[a[61]][a[60]]= a[67];d[a[68]]= b[a[68]]= 2;d[a[69]]= a[70]+ MyLiveChat[a[71]]+ a[72];d[a[74]][a[73]]= e;var j=document[a[21]](a[75]);o[a[56]]= a[76];j[a[61]][a[60]]= a[77];j[a[29]](o);MyLiveChat_ApplyStyle(j);l[a[1]]= function(e,f){if(e){b[a[69]]= a[70]+ MyLiveChat_Lib[a[79]](e[a[78]])+ a[80];c[a[69]]= a[81]+ MyLiveChat_Lib[a[79]](e[a[7]]|| e[a[6]])+ a[82]+ MyLiveChat[a[71]]+ a[83]+ e[a[84]]+ a[85]+ e[a[84]]+ a[86];h[a[69]]= a[87]+ Math[a[89]](180,o[a[88]]- 36)+ a[90]+ MyLiveChat_Lib[a[79]](e[a[6]])+ a[91];n[a[94]][a[93]][a[92]]= e[a[6]];n[a[95]][a[93]][a[92]]= e[a[7]]|| e[a[6]];if(n[a[94]][a[96]]){n[a[94]][a[96]]()};if(n[a[95]][a[96]]){n[a[95]][a[96]]()};n[a[98]][a[97]]();n[a[99]][a[97]]();n[a[100]][a[97]]();n[a[53]][a[93]][a[29]](j);n[a[53]][a[49]][a[101]]= a[102];j[a[61]][a[48]]= a[103]}else {n[a[100]][a[93]][a[104]]= n[a[100]][a[106]][a[105]];n[a[98]][a[107]]();n[a[99]][a[107]]();n[a[100]][a[107]]();j[a[61]][a[48]]= a[51];n[a[53]][a[49]][a[101]]= a[103];for(var d=0;d< n[a[108]][a[9]];d++){n[a[108]][d][a[109]][a[107]]()}};n[a[111]][a[110]]()};l[a[10]]= function(){n[a[100]][a[93]][a[69]]= a[70]+ MyLiveChat[a[71]]+ a[112];;;n[a[98]][a[97]]();n[a[99]][a[97]]();for(var b=0;b< n[a[108]][a[9]];b++){n[a[108]][b][a[109]][a[97]]()};n[a[111]][a[110]]()};MyLiveChat[a[0]][a[113]](l);if(MyLiveChat[a[2]]){l[a[10]]()};function m(b){b[a[109]][a[93]][a[73]]= function(){var c=document[a[115]](a[114]);for(var d=0;d< c[a[9]];d++){c[d][a[61]][a[101]]= c[d][a[116]]+ a[117]};g(b[a[118]])}}for(var k=0;k< n[a[108]][a[9]];k++){m(n[a[108]][k])};if(parseInt(MyLiveChat_GetLocalData(a[4]))){f()};return l}function j(g){function h(){var b=MyLiveChat[a[119]];if(!b||  !b[a[9]]){return null};var d=[];for(var e=0;e< b[a[9]];e++){var c=b[e];if(c[g]=== false){continue};if(MyLiveChat[a[120]]&& MyLiveChat[a[120]]!= g&& MyLiveChat[a[120]]!= a[121]){continue};d[a[113]](c)};if(!d[a[9]]){return null};return d}var f=h();if(!f){return null};var k=MyLiveChat_Lib;var l=MyLiveChat_BuildWrapper({cls:a[122]+ g+ a[123],css:a[103]});l[a[124]]= [];var e=[];function b(d){var c=MyLiveChat_BuildWrapper({tag:a[125],cls:a[122]+ g+ a[126]+ g+ a[127]+ g+ a[128]});var b=(d[a[124]]|| a[103])[a[130]](a[132])[a[131]](a[103])[a[130]](a[129]);for(var e=0;e< b[a[9]];e++){var h=b[e];var f= new Option();f[a[105]]= f[a[104]]= b[e];c[a[93]][a[134]][a[133]](f);if(d[a[135]]&& e== 0){f[a[92]]= a[103];f[a[61]][a[136]]= MyLiveChat[a[137]]|| a[138]}else {f[a[92]]= h;f[a[61]][a[136]]= MyLiveChat[a[139]]|| a[140]}};return c}function d(c,d){var b=MyLiveChat_BuildWrapper({tag:d?a[141]:a[142],attrs:{type:a[105]},cls:a[122]+ g+ a[126]+ g+ a[143]});return b}function c(f){var c;switch(f[a[118]]){case a[144]:c= b(f);break;case a[141]:c= d(f,true);break;case a[145]:c= d(f);break;default:break};if(!c){e[a[113]](null);return};c[a[93]][a[147]](a[146],f[a[146]]|| f[a[105]]);var h=MyLiveChat_BuildWrapper({cls:a[122]+ g+ a[148]+ g+ a[123]+ f[a[118]],html:a[149]+ g+ a[150]+ g+ a[151]+ k[a[79]](f[a[105]])+ a[152]});h[a[153]]= c;if(f[a[92]]){c[a[92]](f[a[92]])};function j(){if(f[a[118]]== a[144]){if(f[a[135]]&&  !c[a[92]]()){c[a[49]][a[136]]= MyLiveChat[a[137]]|| a[138]}else {c[a[49]][a[136]]= MyLiveChat[a[139]]|| a[140]}}}c[a[93]][a[154]]= c[a[93]][a[155]]= c[a[93]][a[156]]= function(){f[a[92]]= c[a[92]]();j()};j();h[a[157]](c);e[a[113]](h);l[a[157]](h);l[a[124]][a[113]]({panel:h[a[93]],lbl:h[a[93]][a[74]],box:c[a[93]]})}for(var j=0;j< f[a[9]];j++){c(f[j])};l[a[158]]= function(){var b=[];for(var d=0;d< f[a[9]];d++){var c=f[d];b[a[113]]({text:c[a[105]],value:c[a[92]]})};return ConvertToJson(b)};l[a[159]]= function(){for(var d=0;d< f[a[9]];d++){var c=f[d];if(c[a[92]]||  !c[a[135]]){continue};var g=e[d];if(!g){continue};var h=a[160]+ c[a[105]];if(c[a[118]]== a[144]){var b=(c[a[124]]|| a[103])[a[130]](a[132])[a[131]](a[103])[a[130]](a[129]);h= a[161]+ c[a[105]]+ a[162]+ b[0]};g[a[163]](g[a[153]],h);return false};return true};return l}function k(r,d){var k=a[103];switch(MyLiveChat[a[168]]){default:return;case a[164]:break;case a[165]:k= a[105];break;case a[167]:k= a[166];break};d[a[169]]= MyLiveChat[a[168]];if(r[a[170]]){r[a[93]][a[18]](r[a[170]][a[93]])};var l=MyLiveChat[a[171]];var m=MyLiveChat[a[172]];if(k!= a[105]){l+= m;m= 0};var g=MyLiveChat[a[173]]|| 36;var e=MyLiveChat[a[173]]|| 36;var f=MyLiveChat[a[174]]?MyLiveChat[a[175]]:MyLiveChat[a[176]];var n=(MyLiveChat[a[177]]+ l)* 2|| 0;var s=m* 2;var o=0;var h={};h[a[178]]= h[a[179]]= g+ l* 2;if(MyLiveChat[a[177]]){h[a[180]]= MyLiveChat[a[177]]+ 15;h[a[181]]= MyLiveChat[a[177]]};var b=a[103];var c=a[103];r[a[182]][a[97]]();r[a[182]]= MyLiveChat_BuildWrapper({cls:a[183],css:a[184]+ b+ a[185]+ MyLiveChat[a[186]]+ a[187]+ (MyLiveChat[a[188]]|| a[189])+ a[190]+ (MyLiveChat[a[191]]|| a[192]),tooltip:MyLiveChat[a[174]]?MyLiveChat[a[193]]:MyLiveChat[a[194]],layout:h,m_img:{tag:a[195],css:a[196]+ g+ a[197]+ e+ a[198]+ (l+ m)+ a[199]+ l+ a[117],attrs:{alt:a[200],src:f}}});r[a[182]][a[93]][a[201]]= function(){r[a[182]][a[93]][a[61]][a[202]]= c};r[a[182]][a[93]][a[203]]= function(){r[a[182]][a[93]][a[61]][a[202]]= b};r[a[157]](r[a[182]]);h[a[204]]= function(){h[a[178]]= g+ l* 2+ s};if(k== a[105]){var q=document[a[21]](a[205]);q[a[56]]= a[206];q[a[61]][a[60]]= a[207]+ (l* 1.7+ m)+ a[208]+ (h[a[179]]* 0.95)+ a[117]+ a[190]+ (MyLiveChat[a[209]])+ a[210]+ (MyLiveChat[a[211]]|| a[103])+ a[212]+ (MyLiveChat[a[213]]|| a[214]);q[a[69]]= MyLiveChat_Lib[a[79]](MyLiveChat[a[174]]?MyLiveChat[a[193]]:MyLiveChat[a[194]]);MyLiveChat_ApplyStyle(q);document[a[217]][a[216]](a[215],q);o= q[a[88]]+ m+ l;s+= o;q[a[61]][a[218]]= q[a[88]]+ a[117];r[a[182]][a[93]][a[29]](q);setInterval(function(){if(q[a[88]]== 0){return};var b=o;o= q[a[88]]+ m+ l;s+= o- b},100)};h[a[204]]();if(k== a[166]){var q=document[a[21]](a[205]);q[a[56]]= a[219];q[a[61]][a[60]]= a[220]+ l/ 2+ a[208]+ (e+ l)+ a[117]+ a[221]+ (MyLiveChat[a[188]]|| a[222])+ a[190]+ (MyLiveChat[a[209]])+ a[210]+ MyLiveChat[a[223]]+ a[224]+ (MyLiveChat[a[225]]|| a[226]);q[a[69]]= MyLiveChat_Lib[a[79]](MyLiveChat[a[174]]?MyLiveChat[a[193]]:MyLiveChat[a[194]]);var j=r[a[93]][a[229]][a[228]](a[227]);q[a[61]][a[60]]+= a[230]+ (j?a[231]:a[232])+ (g+ l* 2+ 16)+ a[117];r[a[182]][a[93]][a[29]](q);var p=document[a[21]](a[205]);p[a[56]]= a[233];p[a[61]][a[60]]= a[220]+ (e+ l- 16)/ 2+ a[117]+ a[234]+ (MyLiveChat[a[188]]|| a[222])+ a[235];p[a[61]][a[60]]+= a[230]+ (j?a[236]:a[237]);q[a[29]](p);if(!MyLiveChat[a[238]]){r[a[182]][a[93]][a[239]]= function(){sessionStorage[a[242]](a[240],a[241]);setTimeout(function(){q[a[61]][a[48]]= a[51]},100)};if(sessionStorage[a[243]](a[240])== a[241]){q[a[61]][a[48]]= a[51]}}};if(!MyLiveChat[a[174]]&& MyLiveChat[a[244]]== a[245]){if(r[a[182]][a[93]][a[246]]){r[a[182]][a[93]][a[246]][a[247]]= a[222]}else {r[a[182]][a[49]][a[248]]= a[249]}};d[a[250]]= function(){r[a[49]][a[218]]= g+ n+ s+ MyLiveChat[a[177]]* 2+ a[117];r[a[49]][a[178]]= a[103];r[a[49]][a[179]]= e+ n+ a[117];r[a[182]][a[49]][a[251]]= a[103];if(d[a[252]]){d[a[252]]()}};d[a[250]]()}function l(s){var m=MyLiveChat_Lib;var l={};MyLiveChat[a[253]]= s;var z=false;if(m[a[254]]){var n=0;function p(a){clearTimeout(n);if(a){z= true};n= setTimeout(function(){z= a},150)}document[a[256]](a[255],function(a){p(true)});document[a[256]](a[257],function(a){p(false)})};var e=MyLiveChat[a[258]]|| a[259];var c=0;var d=0;if(e[a[12]](a[260])>= 0){c=  -16};if(e[a[12]](a[181])>= 0){c= 16};c= MyLiveChat[a[261]]|| c;if(MyLiveChat[a[262]]== 14){if(e[a[12]](a[263])>= 0){d=  -16};if(e[a[12]](a[180])>= 0){d= 16}};d= MyLiveChat[a[264]]|| d;if(e[a[12]](a[263])!=  -1&& (MyLiveChat[a[168]]|| a[103])[a[12]](a[164])!=  -1){d-= 15};var w=m[a[265]]&& e[a[12]](a[260])>= 0;var v=m[a[265]]&& e[a[12]](a[263])>= 0;if(w){s[a[93]][a[229]][a[133]](a[227])}else {s[a[93]][a[229]][a[133]](a[266])};if(v){s[a[93]][a[229]][a[133]](a[267])}else {s[a[93]][a[229]][a[133]](a[268])};var y=true;var j=false;if(window[a[269]]&& MyLiveChat[a[270]]&& Math[a[272]](window[a[271]],window[a[269]])< 500){j= true;y= true};k(s,l);var b;function u(f){if(MyLiveChat._PreviewPinInlinePosition){return};if(j){if(MyLiveChat[a[273]]()){s[a[93]][a[229]][a[133]](a[274]);s[a[49]][w?a[260]:a[181]]= a[103];s[a[49]][v?a[263]:a[180]]= a[103];s[a[110]]();return}else {s[a[93]][a[229]][a[275]](a[274])}};if(z){return};var u=s[a[93]][a[88]];var g=s[a[93]][a[116]];var b=MyLiveChat_CalcBodyPoint(e,0);var r=MyLiveChat_CalcPoint(e,u,g);var t=m[a[276]](window);if(f&&  !v){var h=t[a[179]]- (b[a[180]]- r[a[180]])- g;if(d> h){d= h}};var o=b[a[181]]- r[a[181]]+ c;var q=b[a[180]]- r[a[180]]+ d;if(!z){if(q< 0){q= 0}};if(w){var l=0;if(c> 0){l= Math[a[89]](-10,-c)};var p=Math[a[89]](l,t[a[178]]- u- o)+ a[117];if(s[a[49]][a[260]]!= p){s[a[49]][a[260]]= p}}else {o= Math[a[89]](0,o+ (m[a[265]]?0:t[a[277]]))+ a[117];if(s[a[49]][a[181]]!= o){s[a[49]][a[181]]= o}};if(v){var k=0;if(d> 0){k= Math[a[89]](-10,-d)};var n=Math[a[89]](k,t[a[179]]- g- q)+ a[117];if(s[a[49]][a[263]]!= n){s[a[49]][a[263]]= n}}else {q= Math[a[89]](0,q+ (m[a[265]]?0:t[a[278]]))+ a[117];if(s[a[49]][a[180]]!= q){s[a[49]][a[180]]= q}}}var g=MyLiveChat[a[279]]!= a[8];if(j){g= false};var f=0;var q=c;var r=d;l[a[280]]= function(){if(!g){return};c= q;d= r};l[a[281]]= function(h){if(!g){return};var j=false;var k=false;var b=0;var e=0;h[a[61]][a[282]]= a[51];var n=document[a[21]](a[75]);n[a[61]][a[60]]= a[283];function p(){k= true;try{document[a[217]][a[29]](n)}catch(x){}}function o(){k= false;try{document[a[217]][a[18]](n)}catch(x){}}m[a[296]](h,a[284],function(c){c= c|| window[a[285]];if(c[a[286]]!= 0){return};var d=c[a[287]]|| c[a[288]];switch(d[a[292]]){case a[289]:;case a[290]:;case a[291]:return};j= true;o();b= c[a[293]];e= c[a[294]];if(c[a[295]]){c[a[295]]()}});function l(b){b= b|| window[a[285]];if(b[a[286]]!= 0){return};if(!j){return};j= false;if(k){o();f=  new Date()[a[28]]();if(b[a[295]]){b[a[295]]()};if(b[a[297]]){b[a[297]]()};b[a[298]]= true;b[a[299]]= false;u(true)}}m[a[296]](h,a[300],l);m[a[296]](document,a[300],l);m[a[296]](document,a[301],function(b){b= b|| window[a[285]];if(!j){return};if(b[a[295]]){b[a[295]]()};b[a[299]]= false});m[a[296]](document,a[302],function(f){if(!j){return};var g=f[a[293]]- b;var h=f[a[294]]- e;if(!k){if(Math[a[303]](g)< 10&& Math[a[303]](h)< 10){return};p()};c+= g;d+= h;b= f[a[293]];e= f[a[294]];u()})};function h(){if(s[a[304]]){return};s[a[304]]= o(s);s[a[305]][a[93]][a[29]](s[a[304]][a[93]]);MyLiveChat_ApplyStyle(s[a[304]][a[93]])}l[a[306]]= function(b){if( new Date()[a[28]]()- f< 200){return};if(MyLiveChat[a[273]]()){if(b== a[307]){s[a[308]](true)}else {MyLiveChat[a[309]]()}}else {if(!MyLiveChat[a[174]]&& MyLiveChat[a[310]]== a[311] && MyLiveChat[a[312]]){window[a[45]](MyLiveChat[a[312]])}else {if(MyLiveChat[a[270]]){MyLiveChat_OpenDialog(a[313])}else {MyLiveChat[a[314]]();if(MyLiveChat[a[315]]){MyLiveChat[a[315]]()}}}}};s[a[316]]= function(){MyLiveChat[a[318]](a[317])};s[a[319]]= function(){if(MyLiveChat[a[320]]!= a[321]&& MyLiveChat[a[320]]!= a[322]){MyLiveChat[a[318]](a[317])};MyLiveChat[a[309]]()};s[a[323]]= function(b){s[a[107]]();h();s[a[304]][a[107]]();if(!(b&& b[a[324]])){s[a[325]]()}else {s[a[326]]()};s[a[304]][a[327]](b)};s[a[308]]= function(b){if(s[a[304]]){s[a[304]][a[328]](true,b)}};MyLiveChat[a[273]]= function(){return s[a[329]]};MyLiveChat[a[330]]= function(){return !s[a[329]]};MyLiveChat[a[314]]= function(){s[a[107]]();s[a[325]]();if(MyLiveChat[a[331]]()){MyLiveChat[a[318]](a[325])}else {if(MyLiveChat[a[174]]&&  !MyLiveChat[a[238]]&& MyLiveChat[a[332]]=== false){if(MyLiveChat[a[333]]&&  !MyLiveChat[a[334]]){s[a[304]][a[335]]()}else {s[a[323]]({mode:a[336]})}}}};MyLiveChat[a[309]]= function(){s[a[326]]();if(MyLiveChat[a[331]]()){MyLiveChat[a[318]](a[326])}else {if(MyLiveChat[a[337]]|| MyLiveChat[a[338]]){MyLiveChat[a[318]](a[322])}}};MyLiveChat[a[339]]= function(){s[a[323]]({mode:a[121]})};MyLiveChat[a[340]]= function(b){s[a[304]][a[328]](b)};function t(){if(s[a[329]]){if(y&&  !b){b= document[a[21]](a[75]);b[a[56]]= a[341];var c=b[a[29]](document[a[21]](a[75]));c[a[56]]= a[342];if(MyLiveChat[a[188]]&& (MyLiveChat[a[168]]|| a[103])[a[343]](0,5)== a[164]){c[a[61]][a[247]]= MyLiveChat[a[188]]}else {if(MyLiveChat[a[344]]){c[a[61]][a[247]]= MyLiveChat[a[344]]}};c[a[69]]= MyLiveChat[a[346]][a[345]];c[a[73]]= function(){MyLiveChat[a[309]]()};s[a[347]][a[93]][a[29]](b)}}else {};s[a[110]]();u()}s[a[348]]= s[a[107]];s[a[107]]= function(){s[a[348]]();t()};l[a[349]]= function(b){l[a[252]]();defaulth= b;var d=s[a[93]][a[115]](a[195]);for(var c=0;c< d[a[9]];c++){d[c][a[350]]= l[a[252]];d[c][a[351]]= function(b){var c=b[a[288]];var f=c[a[22]];var g=f[a[130]](a[353])[0][a[130]](a[352])[1];if(g){var e=g[a[130]](a[355])[1][a[130]](a[354]);var d=e[0];if(MyLiveChat_CalcImagePath[d]== a[356]){MyLiveChat[d]= null;MyLiveChat_CalcImagePath(d,a[241],a[354]+ e[1]);c[a[22]]= MyLiveChat[d]}}}}};l[a[252]]= t;l[a[357]]= h;m[a[358]](t);m[a[359]](s[a[93]],true);MyLiveChat_ApplyStyle(s[a[93]]);setTimeout(t,50);setTimeout(t,200);setInterval(u,100);l[a[360]]= function(b){if(MyLiveChat[a[361]]== a[8]){return};if(b[a[362]]){return};b[a[362]]= true;var d=0;function c(){d+= 4;if(d< 100){setTimeout(c,20)}else {b[a[362]]= false};var e=0.3;var f=1- e;var g=-b[a[93]][a[116]]* (1- Math[a[363]](f- d/ 100,2)/ e/ e) / (Math[a[363]](f,2)/ Math[a[363]](e,2));var h=a[364]+ g+ a[365];b[a[49]][a[366]]= b[a[49]][a[367]]= h}u();c()};return l}function m(){var b=MyLiveChat_Lib;var c=MyLiveChat_BuildWrapper({cls:a[368],css:a[369]});c[a[304]]= o(c);c[a[93]][a[29]](c[a[304]][a[93]]);function d(){if(window[a[269]]&& MyLiveChat[a[270]]){c[a[49]][a[178]]= window[a[271]]+ a[117];c[a[49]][a[179]]= window[a[269]]+ a[117];MyLiveChat[a[370]]= true}else {var d=b[a[276]](window);c[a[49]][a[178]]= d[a[178]]+ a[117];c[a[49]][a[179]]= d[a[179]]+ a[117]};c[a[110]]()}b[a[359]](c[a[93]],true);MyLiveChat_ApplyStyle(c[a[93]]);c[a[304]][a[107]]();b[a[358]](d);c[a[316]]= function(){};c[a[319]]= function(){window[a[345]]()};MyLiveChat[a[253]]= c;if(MyLiveChat[a[174]]&&  !MyLiveChat[a[238]]&& MyLiveChat[a[332]]=== false){c[a[304]][a[327]]({mode:a[336]})};return c}function n(){if( typeof (XMLHttpRequest)== a[371]){return false};if( typeof (FormData)== a[371]){return false};var b=window[a[372]][a[21]](a[289]);b[a[118]]= a[373];if(!b[a[374]]){return false};var c= new XMLHttpRequest();if(!c[a[375]]){return false};return true}function o(){var s=MyLiveChat_Lib;var w=MyLiveChat[a[376]];if(MyLiveChat[a[262]]== 12){w= false};if(MyLiveChat[a[262]]== 10){w= false};function k(){var c=MyLiveChat_BuildWrapper({cls:a[103],css:a[377]});if(MyLiveChat[a[378]]){var b=document[a[21]](a[379]);b[a[380]]= 0;b[a[61]][a[60]]= a[381];b[a[147]](a[22],MyLiveChat[a[71]]+ a[382]);c[a[93]][a[29]](b)}else {var d=document[a[21]](a[75]);d[a[69]]= MyLiveChat[a[383]]|| a[103];d[a[56]]= a[384];c[a[93]][a[29]](d);if(!d[a[69]]){c[a[97]]()}};return c}function m(b,c){if(b!= 2){return c};if(MyLiveChat[a[385]]!= a[241]){return c};return c+ a[386]}function o(b,c){if(b!= 2){return c};if(MyLiveChat[a[387]]!= a[241]){return c};return c+ a[386]}var r=a[388];var A=MyLiveChat_BuildWrapper({cls:a[389],css:a[390],m_prechat:{cls:a[391],css:r,m_prechatcore:{cls:a[392],css:a[393],display:a[394],m_prechat_box:{cls:a[395],css:a[396],m_prechat_head14:(MyLiveChat[a[262]]== 14|| MyLiveChat[a[262]]== 15)&& {cls:a[397],css:a[398],m_prechat_agentlist:BuildAgentIconList14(),m_prechat_headtext:{cls:a[399],text:MyLiveChat[a[193]]}},m_prechat_logo:{cls:a[400],hide:!w,html:a[401]+ MyLiveChat[a[402]]+ a[403]},m_prechat_text:{cls:a[404],html:MyLiveChat[a[405]]},m_prechat_name:{cls:a[406],html:a[407]+ s[a[79]](m(2,MyLiveChat[a[408]]))+ a[152],m_prechat_name_box:{tag:a[142],attrs:{type:a[105],placeholder:o(2,MyLiveChat[a[409]]|| MyLiveChat[a[408]])},cls:a[410]}},m_prechat_email:{cls:a[411],html:a[412]+ s[a[79]](m(MyLiveChat[a[413]],MyLiveChat[a[414]]))+ a[152],m_prechat_email_box:{tag:a[142],attrs:{type:a[105],placeholder:o(MyLiveChat[a[413]],MyLiveChat[a[415]]|| MyLiveChat[a[414]])},cls:a[416]},hide:(MyLiveChat[a[417]]== 0)},m_prechat_oauth:{cls:a[418],html:a[419]+ s[a[79]](MyLiveChat[a[420]]|| a[103])+ a[152],m_prechat_oauth_box:{cls:a[421],css:a[422],m_prechat_oauth_status:{tag:a[423],text:(MyLiveChat[a[424]]|| a[425])+ a[426]},m_prechat_oauth_google:{tag:a[423],icon:a[427]},m_prechat_oauth_facebook:{tag:a[423],icon:a[33]}}},m_prechat_custom:j(a[428]),m_prechat_question:{cls:a[429],html:a[430]+ s[a[79]](m(MyLiveChat[a[431]],MyLiveChat[a[432]]))+ a[152],m_prechat_question_box:{tag:a[141],attrs:{placeholder:o(MyLiveChat[a[431]],MyLiveChat[a[433]]|| MyLiveChat[a[432]])},cls:a[434]},hide:(MyLiveChat[a[435]]== 0)},m_prechat_department:{cls:a[436],html:a[437]+ s[a[79]](m(MyLiveChat[a[438]],MyLiveChat[a[439]]))+ a[152],m_prechat_department_box:{tag:a[125],cls:a[440]},hide:(MyLiveChat[a[441]]== 0)},m_prechat_submit:{cls:a[442],m_prechat_submit_button:{tag:a[286],cls:a[443],text:MyLiveChat[a[444]]}}},m_prechat_poweredby:k()}},m_offline:{cls:a[445],css:r,m_offlinecore:{cls:a[446],css:a[393],display:a[394],m_offline_box:{cls:a[447],css:a[396],m_offline_head14:(MyLiveChat[a[262]]== 14|| MyLiveChat[a[262]]== 15)&& {cls:a[448],css:a[398],m_offline_agentlist:BuildAgentIconList14(true),m_offline_headtext:{cls:a[449],text:MyLiveChat[a[194]]}},m_offline_logo:{cls:a[450],hide:!w,html:a[451]+ MyLiveChat[a[452]]+ a[403]},m_offline_text:{cls:a[453],html:MyLiveChat[a[454]]},m_offline_name:{cls:a[455],html:a[456]+ s[a[79]](MyLiveChat[a[408]])+ a[152],m_offline_name_box:{tag:a[142],attrs:{type:a[105],placeholder:MyLiveChat[a[409]]|| MyLiveChat[a[408]]},cls:a[457]}},m_offline_email:{cls:a[458],html:a[459]+ s[a[79]](MyLiveChat[a[414]])+ a[152],m_offline_email_box:{tag:a[142],attrs:{type:a[105],placeholder:MyLiveChat[a[415]]|| MyLiveChat[a[414]]},cls:a[460]}},m_offline_oauth:{cls:a[461],html:a[462]+ s[a[79]](MyLiveChat[a[420]]|| a[103])+ a[152],m_offline_oauth_box:{cls:a[463],css:a[422],m_offline_oauth_status:{tag:a[423],text:(MyLiveChat[a[424]]|| a[425])+ a[426]},m_offline_oauth_google:{tag:a[423],icon:a[427]},m_offline_oauth_facebook:{tag:a[423],icon:a[33]}}},m_offline_custom:j(a[464]),m_offline_subject:{cls:a[465],html:a[466]+ s[a[79]](MyLiveChat[a[467]])+ a[152],hide:MyLiveChat[a[468]],m_offline_subject_box:{tag:a[142],attrs:{type:a[105],placeholder:MyLiveChat[a[469]]|| MyLiveChat[a[467]]},cls:a[470]}},m_offline_enquiry:{cls:a[471],html:a[472]+ s[a[79]](MyLiveChat[a[473]])+ a[152],m_offline_enquiry_box:{tag:a[141],attrs:{placeholder:MyLiveChat[a[474]]|| MyLiveChat[a[473]]},cls:a[475]}},m_offline_file:{cls:a[476],html:a[477],hide:!(MyLiveChat[a[478]]&& n()),m_offline_file_box:{css:a[479],m_offline_file_flex:{css:a[480],m_offline_file_icon:{cls:a[481],image:a[373],spireopacity:60,hide:!MyLiveChat[a[482]],tooltip:MyLiveChat[a[483]],css:a[484]},m_offline_file_text:{text:MyLiveChat[a[483]]},m_offline_file_overlay:{tag:a[142],attrs:{type:a[373]},css:a[485]}}}},m_offline_submit:{cls:a[486],m_offline_submit_button:{tag:a[286],cls:a[487],text:MyLiveChat[a[488]]}}},m_offline_poweredby:k()}},m_support:{cls:a[489],css:r,m_supportcore:{cls:a[490],css:a[393],display:a[394],m_support_frame:{cls:a[491],css:a[103]}}}});if(A[a[492]]){A[a[492]][a[93]][a[154]]= function(){var b=A[a[492]][a[93]][a[374]][0];var e=b[a[493]];var f=b[a[494]];var g=b[a[118]];var d=MyLiveChat[a[378]]?1:3;if(b[a[494]]> d* 1024* 1024){alert(a[495]);return};MyLiveChat[a[496]]= null;A[a[492]][a[93]][a[92]]= a[103];A[a[492]][a[93]][a[497]]= true;A[a[498]][a[93]][a[104]]= a[499]+ b[a[493]];var h= new XMLHttpRequest();h[a[350]]= function(){A[a[492]][a[93]][a[497]]= false;if(h[a[500]]== 200){A[a[498]][a[93]][a[104]]= b[a[493]];MyLiveChat[a[496]]= b}else {A[a[498]][a[93]][a[104]]= a[501]}};h[a[351]]= function(){A[a[492]][a[93]][a[497]]= false;A[a[498]][a[93]][a[104]]= a[502]};h[a[503]]= function(){A[a[492]][a[93]][a[497]]= false;A[a[498]][a[93]][a[104]]= a[504]};h[a[375]][a[505]]= function(a){};h[a[45]](a[506],MyLiveChat[a[71]]+ a[507]+ MyLiveChat[a[24]]);var c= new FormData();c[a[509]](a[508],MyLiveChat[a[26]]);c[a[509]](a[493],e);c[a[509]](a[373],b);h[a[510]](c)}};function b(c){c[a[49]][a[101]]= a[511];var b=c[a[93]][a[74]];b[a[256]](a[512],function(){c[a[49]][a[101]]= a[103]})}b(A[a[513]]);b(A[a[514]]);if(MyLiveChat[a[262]]== 8){A[a[49]][a[515]]= a[516]+ MyLiveChat[a[71]]+ a[517];A[a[49]][a[518]]= a[519];A[a[49]][a[520]]= a[521];A[a[49]][a[136]]= a[192];A[a[522]]= a[146];A[a[513]][a[97]]();A[a[514]][a[97]]()};if(MyLiveChat[a[262]]== 4){A[a[522]]= a[180]};if(MyLiveChat[a[262]]== 5){A[a[522]]= a[146]};if(MyLiveChat[a[262]]== 10){A[a[522]]= a[146]};if(MyLiveChat[a[262]]== 12){A[a[522]]= a[146]};if(MyLiveChat[a[262]]== 14){A[a[522]]= a[146]};if(MyLiveChat[a[262]]== 16){A[a[522]]= a[146]};A[a[523]]= MyLiveChat_BuildWrapper({cls:a[524],css:a[525],m_survey_mask:{cls:a[526],css:a[103]},m_survey_dialog:{cls:a[527],css:a[103],m_survey_top:{cls:a[528],css:a[103],m_survey_close:{cls:a[529],image:a[345],css:a[530]},m_survey_title:{cls:a[531],css:a[532],text:MyLiveChat[a[533]]}},m_survey_frame:{css:a[534],m_survey_header:{cls:a[535],css:a[536],m_survey_message:{cls:a[537],text:MyLiveChat[a[538]]}},m_survey_rating:{cls:a[539],hide:(!MyLiveChat[a[540]]),css:a[541],m_survey_good:{tag:a[195],attrs:{alt:a[542],src:MyLiveChat[a[71]]+ a[543]},css:a[544]},m_survey_bad:{tag:a[195],attrs:{alt:a[545],src:MyLiveChat[a[71]]+ a[546]},css:a[544]}},m_survey_comment:{cls:a[547],hide:(!MyLiveChat[a[548]]),m_survey_comment_box:{tag:a[141],cls:a[549],attrs:{placeholder:MyLiveChat[a[550]]}}},m_survey_butttons:{cls:a[551],css:a[552],m_survey_submit_button:{tag:a[286],cls:a[553],css:a[554],text:MyLiveChat[a[488]]},m_survey_cancel_button:{tag:a[286],cls:a[555],css:a[556],text:MyLiveChat[a[557]]}}}}},A);A[a[558]][a[73]]= A[a[559]][a[93]][a[73]]= function(){A[a[523]][a[97]]();A[a[110]]()};A[a[560]][a[93]][a[73]]= function(){f()};A[a[561]]= 0;A[a[562]]= function(){A[a[561]]= A[a[564]][a[563]]();if(A[a[561]]&& A[a[561]]> 3){A[a[565]][a[93]][a[22]]= MyLiveChat[a[71]]+ a[566]};if(A[a[561]]&& A[a[561]]< 3){A[a[567]][a[93]][a[22]]= MyLiveChat[a[71]]+ a[568]}};A[a[565]][a[93]][a[73]]= function(){if(A[a[561]]&& A[a[561]]> 3){A[a[561]]= 0}else {A[a[561]]= 5};A[a[565]][a[93]][a[22]]= MyLiveChat[a[71]]+ (A[a[561]]?a[566]:a[543]);A[a[567]][a[93]][a[22]]= MyLiveChat[a[71]]+ a[546]};A[a[567]][a[93]][a[73]]= function(){if(A[a[561]]&& A[a[561]]< 3){A[a[561]]= 0}else {A[a[561]]= 1};A[a[567]][a[93]][a[22]]= MyLiveChat[a[71]]+ (A[a[561]]?a[568]:a[546]);A[a[565]][a[93]][a[22]]= MyLiveChat[a[71]]+ a[543]};MyLiveChat_ApplyStyle(A[a[523]][a[93]]);A[a[569]][a[157]](A[a[523]]);function p(b,c){for(var d=0;d< b[a[9]];d++){if(b[d]){c(b[d])}}}p([A[a[570]],A[a[571]],A[a[572]],A[a[573]]],function(b){b[a[93]][a[69]]= a[70]+ MyLiveChat[a[71]]+ a[83]+ b[a[106]][a[574]]+ a[575];MyLiveChat_SetBaseCss(b[a[93]],a[576]);if(MyLiveChat[a[262]]!= a[577]){MyLiveChat_Lib[a[580]](b[a[93]][a[74]],a[578]+ b[a[106]][a[574]]+ a[579])}});p([A[a[581]],A[a[582]]],function(b){MyLiveChat_SetBaseCss(b[a[93]],a[576])});p([A[a[583]],A[a[584]]],function(b){MyLiveChat_SetBaseCss(b[a[93]],a[585])});function q(){function b(c,d){var b= new Option(c,d);b[a[104]]= c;b[a[92]]= d;return b}var e=A[a[586]][a[93]];e[a[29]](b(MyLiveChat[a[587]]|| a[103],a[103]));e[a[61]][a[136]]= MyLiveChat[a[137]]|| a[138];e[a[134]][0][a[61]][a[136]]= MyLiveChat[a[137]]|| a[138];for(var d=0;d< MyLiveChat[a[588]][a[9]];d++){var c=MyLiveChat[a[588]][d];if(MyLiveChat[a[589]]== a[590]&&  !c[a[590]]){continue};var f=c[a[591]];if(!c[a[590]]){f+= a[426]+ MyLiveChat[a[592]]};e[a[29]](b(f,c[a[591]]));e[a[134]][e[a[134]][a[9]]- 1][a[61]][a[136]]= MyLiveChat[a[139]]|| a[140]};e[a[154]]= function(){if(e[a[593]]== 0){e[a[61]][a[136]]= MyLiveChat[a[137]]|| a[138]}else {e[a[61]][a[136]]= MyLiveChat[a[139]]|| a[140]}};if(MyLiveChat[a[594]]){e[a[92]]= MyLiveChat[a[594]]};if(MyLiveChat[a[441]]== 3){e[a[497]]= true}}q();function l(j){var f;if(j== a[428]){f= A[a[595]]?A[a[595]][a[124]][a[596]]():[];f[a[113]]({panel:A[a[597]][a[93]],lbl:A[a[597]][a[93]][a[74]],box:A[a[598]][a[93]]});f[a[113]]({panel:A[a[599]][a[93]],lbl:A[a[599]][a[93]][a[74]],box:A[a[600]][a[93]]});f[a[113]]({panel:A[a[601]][a[93]],lbl:A[a[601]][a[93]][a[74]],box:A[a[583]][a[93]]});f[a[113]]({panel:A[a[602]][a[93]],lbl:A[a[602]][a[93]][a[74]],box:A[a[603]][a[93]]});f[a[113]]({panel:A[a[604]][a[93]],lbl:A[a[604]][a[93]][a[74]],box:A[a[586]][a[93]]})};if(j== a[464]){f= A[a[605]]?A[a[605]][a[124]][a[596]]():[];f[a[113]]({panel:A[a[606]][a[93]],lbl:A[a[606]][a[93]][a[74]],box:A[a[607]][a[93]]});f[a[113]]({panel:A[a[608]][a[93]],lbl:A[a[608]][a[93]][a[74]],box:A[a[609]][a[93]]});f[a[113]]({panel:A[a[610]][a[93]],lbl:A[a[610]][a[93]][a[74]],box:A[a[584]][a[93]]});f[a[113]]({panel:A[a[611]][a[93]],lbl:A[a[611]][a[93]][a[74]],box:A[a[612]][a[93]]});f[a[113]]({panel:A[a[613]][a[93]],lbl:A[a[613]][a[93]][a[74]],box:A[a[614]][a[93]]});f[a[113]]({panel:A[a[615]][a[93]],lbl:A[a[615]][a[93]][a[74]],box:A[a[616]][a[93]]})};if(!f){return};var l=j== a[617]?60:95;var g=A[a[522]]|| MyLiveChat[a[618]]|| a[181];if(j== a[617]){g= a[181]};if(g== a[181]){function b(){var d=0;for(var b=0;b< f[a[9]];b++){var c=f[b];d= Math[a[89]](d,c[a[619]][a[88]])};for(var b=0;b< f[a[9]];b++){var c=f[b];c[a[619]][a[61]][a[218]]= d+ a[117]}}if(window[a[620]]){var k= new ResizeObserver(b);for(var d=0;d< f[a[9]];d++){var e=f[d];k[a[621]](e[a[619]])}}else {b();setTimeout(b,100);setTimeout(b,1000)}};for(var d=0;d< f[a[9]];d++){var e=f[d];var c=32;if(e[a[153]][a[292]]== a[291]){c= 70;e[a[153]][a[61]][a[622]]= a[51]};if(MyLiveChat[a[262]]== 14){c= 38;if(e[a[153]][a[292]]== a[291]){c= 100}};if(MyLiveChat[a[262]]== 4){c= c* 3/ 4};var h=15;if(g== a[146]){e[a[111]][a[229]][a[133]](a[623]);e[a[619]][a[61]][a[48]]= a[51];try{e[a[619]][a[61]][a[625]](a[48],a[51],a[624])}catch(x){}}else {if(g== a[180]){e[a[111]][a[229]][a[133]](a[626]);e[a[153]][a[627]](a[146])}else {e[a[111]][a[229]][a[133]](a[628]);e[a[153]][a[627]](a[146])}}}}l(a[428]);l(a[464]);l(a[617]);function g(){if(!A[a[629]]){return};A[a[630]][a[93]][a[18]](A[a[629]][a[93]]);A[a[629]]= null}function c(k){var o=MyLiveChat[a[71]]+ a[631];var l=MyLiveChat_BuildWrapper({css:a[632],m_search:{tag:a[142],css:a[633]+ o+ a[634]},m_label:{css:a[635],text:MyLiveChat[a[636]]|| a[637]},m_list:{css:a[638]}});if(MyLiveChat[a[639]]== a[640]){l[a[642]][a[49]][a[641]]= a[643]};var d={};var b=[];var j=0;var m=l[a[644]][a[93]];var n;m[a[645]]= m[a[646]]= function(){clearTimeout(n);n= setTimeout(function(){var e=m[a[92]][a[648]](/(^\s+)|(\s+$)/,a[103])[a[647]]();for(var d=0;d< b[a[9]];d++){var c=b[d];if(c[a[649]]== a[650]){continue};if(!c[a[75]]){continue};var f=!e|| c[a[591]][a[647]]()[a[12]](e)!=  -1;if(f){c[a[75]][a[61]][a[48]]= a[103]}else {c[a[75]][a[61]][a[48]]= a[51]}}},5)};for(var g=0;g< MyLiveChat[a[588]][a[9]];g++){var f=MyLiveChat[a[588]][g];if(MyLiveChat[a[651]]){if(MyLiveChat[a[594]]&& MyLiveChat[a[594]]!= f[a[591]]){continue}};for(var e=0;e< f[a[652]][a[9]];e++){var c=f[a[652]][e];if(d[c[a[649]]]){continue};if(MyLiveChat[a[653]]&&  !c[a[590]]){continue};if(c[a[590]]){j++};d[c[a[649]]]= c;b[a[113]](c)}};function h(b,d){var c=b[a[649]][a[343]](5);b[a[75]]= document[a[21]](a[75]);b[a[75]][a[56]]= a[654];b[a[195]]= document[a[21]](a[423]);b[a[195]][a[56]]= a[655];b[a[619]]= document[a[21]](a[423]);b[a[619]][a[56]]= a[656];b[a[619]][a[104]]= b[a[591]];b[a[657]]= document[a[21]](a[75]);b[a[657]][a[56]]= a[658];b[a[657]][a[61]][a[60]]= a[659];b[a[75]][a[29]](b[a[195]]);b[a[75]][a[29]](b[a[619]]);l[a[642]][a[93]][a[29]](b[a[75]]);if(MyLiveChat[a[639]]== a[640]){b[a[75]][a[61]][a[60]]= a[660];b[a[195]][a[61]][a[60]]= a[661];b[a[619]][a[61]][a[60]]= a[662];b[a[657]][a[61]][a[48]]= a[51]}else {b[a[75]][a[61]][a[60]]= a[663];b[a[195]][a[61]][a[60]]= a[664];b[a[619]][a[61]][a[60]]= a[665];b[a[657]][a[69]]= (MyLiveChat[a[666]+ c])|| a[103];if(!d){b[a[75]][a[61]][a[667]]= a[668]};b[a[669]]= document[a[21]](a[75]);b[a[669]][a[56]]= a[670];b[a[669]][a[61]][a[60]]= a[671];b[a[669]][a[69]]= a[672];b[a[75]][a[29]](b[a[669]]);b[a[75]][a[29]](b[a[657]])};b[a[195]][a[61]][a[515]]= a[516]+ MyLiveChat[a[71]]+ a[673]+ MyLiveChat[a[24]]+ a[674]+ encodeURIComponent(c)+ a[675];if(!b[a[590]]){b[a[75]][a[61]][a[248]]= a[676];try{b[a[75]][a[61]][a[677]]= (MyLiveChat_Lib[a[678]]|| MyLiveChat_Lib[a[680]][a[12]](a[679])!=  -1)?a[681]:a[682]}catch(x){b[a[75]][a[61]][a[677]]= a[682]};return};b[a[75]][a[61]][a[683]]= a[684];b[a[75]][a[73]]= function(){if(c> 0){k[a[334]]= c};y(k)};b[a[75]][a[201]]= function(){b[a[75]][a[61]][a[247]]= a[685]};b[a[75]][a[203]]= function(){b[a[75]][a[61]][a[247]]= a[103]}}if(j== 0){h({Id:a[650],Name:MyLiveChat[a[444]],Online:true})};for(var e=0;e< b[a[9]];e++){h(b[e],e== b[a[9]]- 1)};A[a[630]][a[157]](l);A[a[629]]= l}function y(b){g();A[a[686]][a[107]]();A[a[110]]();B(function(){A[a[564]][a[687]](b)})}A[a[688]]= function(b){if(A[a[689]]== b){return};if(A[a[689]]){A[a[689]][a[93]][a[61]][a[48]]= a[51];A[a[689]][a[93]][a[61]][a[690]]= a[103]};A[a[689]]= b;A[a[689]][a[93]][a[61]][a[48]]= a[394];A[a[689]][a[93]][a[61]][a[690]]= a[691];A[a[689]][a[107]]()};A[a[335]]= function(){var b={};b[a[591]]= A[a[598]][a[92]]();b[a[692]]= A[a[600]][a[92]]();b[a[693]]= A[a[603]][a[92]]();b[a[694]]= A[a[586]][a[92]]();MyLiveChat_SetUserName(b[a[591]]);MyLiveChat_SetEmail(b[a[692]]);MyLiveChat_SetQuestion(b[a[693]]);MyLiveChat_SetDepartment(b[a[694]]);A[a[688]](A[a[569]]);A[a[686]][a[97]]();g();c(b)};function u(b){A[a[695]][a[93]][a[497]]= false;if(b[a[501]]){s[a[697]](b[a[501]][a[696]],-1);return true};var c=b[a[698]];if(c[a[699]]){A[a[614]][a[92]](a[103]);A[a[616]][a[92]](a[103]);s[a[697]](MyLiveChat[a[700]],4000,A[a[93]][a[19]]);MyLiveChat[a[253]][a[319]]();return};switch(c[a[703]]){case a[591]:return A[a[606]][a[163]](A[a[607]],c[a[701]]);case a[692]:return A[a[608]][a[163]](A[a[609]],c[a[701]]);case a[702]:return A[a[613]][a[163]](A[a[614]],c[a[701]]);case a[701]:return A[a[615]][a[163]](A[a[616]],c[a[701]])};switch(c[a[705]]){case a[704]:return A[a[606]][a[163]](A[a[607]],c[a[701]]);default:s[a[697]](c[a[701]],4000,A[a[695]][a[93]]);break}}A[a[706]][a[93]][a[73]]= function(){var d={};d[a[591]]= A[a[598]][a[92]]();d[a[692]]= A[a[600]][a[92]]();d[a[693]]= A[a[603]][a[92]]();d[a[694]]= A[a[586]][a[92]]();if(!d[a[591]]){A[a[597]][a[163]](A[a[598]],MyLiveChat[a[707]]);return};if(d[a[591]][a[9]]< 1|| d[a[591]][a[9]]> 50){A[a[597]][a[163]](A[a[598]],MyLiveChat[a[708]]);return};if(MyLiveChat[a[413]]== 2&& d[a[692]]== a[103]){A[a[599]][a[163]](A[a[600]],MyLiveChat[a[709]]);return};var b=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9_\-]{2,63}$/;if(d[a[692]]&&  !b[a[710]](d[a[692]])){A[a[599]][a[163]](A[a[600]],MyLiveChat[a[709]]);return};if(A[a[595]]){if(!A[a[595]][a[159]]()){return};d[a[711]]= A[a[595]][a[158]]()};if(MyLiveChat[a[431]]== 2&& d[a[693]]== a[103]){A[a[602]][a[163]](A[a[603]],MyLiveChat[a[712]]);return};if(MyLiveChat[a[438]]== 2&& d[a[694]]== a[103]){A[a[604]][a[163]](A[a[586]],MyLiveChat[a[713]]);return};MyLiveChat_SetUserName(d[a[591]]);MyLiveChat_SetEmail(d[a[692]]);MyLiveChat_SetQuestion(d[a[693]]);MyLiveChat_SetDepartment(d[a[694]]);A[a[93]][a[61]][a[101]]= A[a[714]][a[93]][a[116]]+ a[117];A[a[688]](A[a[569]]);if(MyLiveChat[a[333]]&&  !MyLiveChat[a[334]]){A[a[686]][a[97]]();g();c(d)}else {if(MyLiveChat[a[334]]&&  !d[a[334]]){d[a[334]]= MyLiveChat[a[334]]};y(d)};A[a[110]]()};A[a[715]][a[93]][a[73]]= function(){var c={};c[a[591]]= A[a[607]][a[92]]();c[a[692]]= A[a[609]][a[92]]();c[a[702]]= A[a[614]][a[92]]();c[a[701]]= A[a[616]][a[92]]();if(!c[a[591]]){A[a[606]][a[163]](A[a[607]],MyLiveChat[a[707]]);return};if(c[a[591]][a[9]]< 1|| c[a[591]][a[9]]> 50){A[a[606]][a[163]](A[a[607]],MyLiveChat[a[708]]);return};if(MyLiveChat[a[413]]== 2&& c[a[692]]== a[103]){A[a[608]][a[163]](A[a[609]],MyLiveChat[a[709]]);return};var b=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9_\-]{2,63}$/;if(c[a[692]]&&  !b[a[710]](c[a[692]])){A[a[608]][a[163]](A[a[609]],MyLiveChat[a[709]]);return};if(A[a[605]]){if(!A[a[605]][a[159]]()){return};c[a[711]]= A[a[605]][a[158]]()};MyLiveChat_SetUserName(c[a[591]]);MyLiveChat_SetEmail(c[a[692]]);MyLiveChat_SetSubject(c[a[702]]);MyLiveChat_SetQuestion(c[a[701]]);c[a[716]]= MyLiveChat_GetLocalData(a[4]);c[a[717]]= MyLiveChat[a[26]];if(MyLiveChat[a[718]]){c[a[719]]= MyLiveChat[a[721]][a[720]];c[a[722]]= MyLiveChat[a[721]][a[722]]}else {c[a[719]]= window[a[725]][a[724]][a[130]](a[723])[0];c[a[722]]= document[a[726]]};if(MyLiveChat[a[496]]){c[a[727]]= MyLiveChat[a[496]][a[493]]};A[a[695]][a[93]][a[497]]= true;B(function(){A[a[564]][a[729]](a[386],a[728],u,c)})};A[a[730]]= function(){if(A[a[731]]){return};var d=document[a[21]](a[732]);d[a[147]](a[380],a[8]);d[a[61]][a[60]]= a[733];s[a[734]](d,{});d[a[147]](a[22],a[735]);d[a[147]](a[5],a[736]);A[a[686]][a[93]][a[29]](d);var c=d[a[737]]|| d[a[738]][a[372]];A[a[739]]= d;A[a[731]]= c;A[a[564]]= d[a[738]];var g=s[a[740]];var f=[];f[a[113]](MyLiveChat[a[71]]+ a[741]+ MyLiveChat[a[24]]+ a[742]+ MyLiveChat[a[26]]+ a[743]+  new Date()[a[28]]());f[a[113]](MyLiveChat[a[71]]+ a[744]+ MyLiveChat[a[24]]+ MyLiveChat[a[745]]);f[a[113]](MyLiveChat[a[71]]+ a[746]);f[a[113]](MyLiveChat[a[71]]+ a[747]);var b=[];b[a[113]](a[748]);b[a[113]](a[749]);b[a[113]](a[750]+ MyLiveChat[a[71]]+ a[751]);b[a[113]](a[752]);if(g){var h={};function j(e){var b=f[e];if(!b){return};if(h[e]){return};h[e]= true;var d=c[a[21]](a[20]);if(e< f[a[9]]){d[a[753]]= function(){if(d[a[754]]== a[755]|| d[a[754]]== a[756]){j(e+ 1)}};d[a[350]]= function(){j(e+ 1)};setTimeout(function(){j(e+ 1)},2000)};d[a[147]](a[22],b);c[a[217]][a[29]](d)}setTimeout(function(){j(0)},1)}else {for(var e=0;e< f[a[9]];e++){b[a[113]](a[757]+ MyLiveChat_HtmlEncode(f[e])+ a[758])}};b[a[113]](a[759]);c[a[45]]();c[a[760]](b[a[131]](a[103]));c[a[345]]()};A[a[761]]= function(){var c=A[a[739]];var b=A[a[731]];var d=A[a[564]];A[a[739]]= null;A[a[731]]= null;A[a[564]]= null;c[a[61]][a[48]]= a[51];setTimeout(function(){if(c[a[19]]){c[a[19]][a[18]](c)};b[a[45]](a[762],true);b[a[760]](a[763]);b[a[345]]();try{d[a[725]][a[724]]= a[735]}catch(x){}},900);A[a[730]]()};function B(b){function c(){if(A[a[564]]&& MyLiveChat[a[764]]){b();return};setTimeout(c,100)}c()}function z(){nowshow= A[a[695]];if(!A[a[607]][a[92]]()&& MyLiveChat[a[765]]){A[a[607]][a[92]](MyLiveChat[a[765]])};if(!A[a[609]][a[92]]()&& MyLiveChat[a[766]]){A[a[609]][a[92]](MyLiveChat[a[766]])};if(!A[a[614]][a[92]]()){A[a[614]][a[92]](MyLiveChat[a[767]]|| a[768])};if(!A[a[616]][a[92]]()&& MyLiveChat[a[769]]){A[a[616]][a[92]](MyLiveChat[a[769]])};A[a[688]](nowshow);A[a[110]]();A[a[564]][a[770]]();A[a[761]]()}MyLiveChat[a[771]]= function(){s[a[775]](MyLiveChat[a[773]](a[772]),function(){if(!MyLiveChat[a[174]]|| MyLiveChat[a[774]]){z()}else {f()}},A[a[93]])};var v;var t;A[a[776]]= function(){if(A[a[689]]== A[a[569]]){return};var b;if(MyLiveChat[a[174]]){b= A[a[714]];if(!A[a[598]][a[92]]()&& MyLiveChat[a[765]]){A[a[598]][a[92]](MyLiveChat[a[765]])};if(!A[a[600]][a[92]]()&& MyLiveChat[a[766]]){A[a[600]][a[92]](MyLiveChat[a[766]])}}else {b= A[a[695]];if(!A[a[607]][a[92]]()&& MyLiveChat[a[765]]){A[a[607]][a[92]](MyLiveChat[a[765]])};if(!A[a[609]][a[92]]()&& MyLiveChat[a[766]]){A[a[609]][a[92]](MyLiveChat[a[766]])}};if(!v){v= h({panel:A[a[714]],namepanel:A[a[597]],namebox:A[a[598]],emailpanel:A[a[599]],emailbox:A[a[600]],oauthpanel:A[a[601]],oauthbox:A[a[583]],oauthstatus:A[a[581]],links:[{type:a[427],link:A[a[572]]},{type:a[33],link:A[a[573]]}]})};if(!t){t= h({panel:A[a[695]],namepanel:A[a[606]],namebox:A[a[607]],emailpanel:A[a[608]],emailbox:A[a[609]],oauthpanel:A[a[610]],oauthbox:A[a[584]],oauthstatus:A[a[582]],links:[{type:a[427],link:A[a[570]]},{type:a[33],link:A[a[571]]}]})};if(A[a[689]]== b){return};A[a[688]](b)};A[a[777]]= function(){if(A[a[689]]== A[a[569]]){return a[778]};if(A[a[689]]== A[a[714]]){return a[428]};if(A[a[689]]== A[a[695]]){return a[464]};return MyLiveChat[a[174]]?a[428]:a[464]};A[a[348]]= A[a[107]];A[a[107]]= function(){A[a[348]]();A[a[730]]();if(MyLiveChat[a[779]]== a[780]){A[a[327]]({mode:a[781]})};if(MyLiveChat[a[238]]){if(window[a[783]][a[782]]== a[784]){A[a[688]](A[a[569]])}else {if(window[a[783]][a[782]]== a[785]){A[a[688]](A[a[569]]);A[a[523]][a[107]]()}else {A[a[776]]()}}}else {A[a[776]]()}};A[a[786]]= function(b){A[a[603]][a[92]](b);A[a[616]][a[92]](b);MyLiveChat[a[779]]= a[787];A[a[689]]= null;A[a[569]][a[93]][a[61]][a[48]]= a[51];A[a[569]][a[93]][a[61]][a[690]]= a[103];A[a[523]][a[97]]();A[a[776]]();A[a[110]]();A[a[564]][a[770]]();A[a[761]]();MyLiveChat[a[253]][a[316]]()};function f(b){if(A[a[689]]!= A[a[569]]){return};A[a[689]]= null;A[a[569]][a[93]][a[61]][a[48]]= a[51];A[a[569]][a[93]][a[61]][a[690]]= a[103];A[a[523]][a[97]]();A[a[776]]();A[a[110]]();A[a[564]][a[770]](b);A[a[761]]();MyLiveChat[a[253]][a[319]]()}A[a[328]]= function(c,b){if(c){f(b)}else {if(!MyLiveChat[a[788]]){f(b)}else {A[a[523]][a[107]]();A[a[562]]();A[a[110]]()}}};MyLiveChat[a[789]]= function(b){if(MyLiveChat[a[788]]){A[a[523]][a[107]]();A[a[562]]();A[a[110]]()};if(b){s[a[697]](MyLiveChat[a[790]],5000,A[a[93]][a[19]])}};A[a[791]][a[93]][a[73]]= function(){var b={};b[a[792]]= A[a[561]]> 0?String(A[a[561]]):a[103];b[a[793]]= A[a[794]][a[92]]();function c(b){A[a[93]][a[497]]= false;if(b[a[501]]){s[a[697]](b[a[501]][a[696]]);return true};var c=b[a[698]];s[a[697]](c[a[701]],4000);if(c[a[699]]){f()}}B(function(){A[a[564]][a[729]](a[386],a[795],c,b)});A[a[93]][a[497]]= true};var d=0;function e(b){if(A[a[689]]!= A[a[569]]){return};A[a[110]]();A[a[730]]();if(A[a[564]]&& MyLiveChat[a[764]]){A[a[564]][a[796]](b)}else {clearTimeout(d);d= setTimeout(function(){e(b)},10)}}A[a[327]]= function(b){A[a[688]](A[a[569]]);e(b)};return A}MLCUI_FireOAuthStart= c;MLCUI_GetOAuthUrlBase= d;MLCUI_TryLogoutOAuth= e;MLCUI_TryGetOAuth= f;MLCUI_ShowOAuth= g;MLCUI_ImplOAuth= h;MLCUI_CreateCustomFields= j;MyLiveChat_SetupButtonMode= k;MLCUI_InlineHelper= l;MyLiveChat_CreateDialogPanel= m;MyLiveChat_SupportHtml5Upload= n;MyLiveChat_CreateMainPanel= o;if(!MyLiveChat[a[0]]){MyLiveChat[a[0]]= []};MyLiveChat[a[1]]= b;})()
function MyLiveChat_NormalizeInlineText(value) {
	value = (value == null ? "" : String(value)).replace(/\s+/g, " ").trim();
	if (!value) return "";
	if (/^(undefined|null)$/i.test(value)) return "";
	return value;
}

function MyLiveChat_SanitizeUiText(value) {
	return MyLiveChat_NormalizeInlineText(value);
}

function MyLiveChat_ResolveUiAssetUrl(value) {
	value = MyLiveChat_NormalizeInlineText(value);
	if (!value) return "";
	if (/^(?:[a-z]+:)?\/\//i.test(value) || value.charAt(0) == "/" || value.indexOf("data:") === 0) {
		return value;
	}
	return (MyLiveChat.UrlBase || "") + value.replace(/^\.?\//, "");
}

function MyLiveChat_GetInlineHeaderText(state, fallback) {
	var value = "";
	if (state == "support") {
		value =
			MyLiveChat_NormalizeInlineText(MyLiveChat.SupportTitle) ||
			MyLiveChat_NormalizeInlineText(MyLiveChat.UI_SUPPORT_TITLE) ||
			MyLiveChat_NormalizeInlineText(MyLiveChat.UI_WAITING_HEADLINE) ||
			MyLiveChat_NormalizeInlineText(MyLiveChat.InPageHeadOnline);
	}
	else if (state == "offline") {
		value =
			MyLiveChat_NormalizeInlineText(MyLiveChat.FeedbackTitle) ||
			MyLiveChat_NormalizeInlineText(MyLiveChat.UI_FEEDBACK_HEADLINE) ||
			MyLiveChat_NormalizeInlineText(MyLiveChat.UI_INLINE_OFFLINE) ||
			MyLiveChat_NormalizeInlineText(MyLiveChat.InPageHeadOffline) ||
			MyLiveChat_NormalizeInlineText(MyLiveChat.InPageHeadOnline);
	}
	else {
		value =
			MyLiveChat_NormalizeInlineText(MyLiveChat.WaitingTitle) ||
			MyLiveChat_NormalizeInlineText(MyLiveChat.UI_WAITING_HEADLINE) ||
			MyLiveChat_NormalizeInlineText(MyLiveChat.UI_INLINE_ONLINE) ||
			MyLiveChat_NormalizeInlineText(MyLiveChat.InPageHeadOnline);
	}
	return value || fallback || "";
}

function MyLiveChat_GetInlineBodyText(state, fallback) {
	var value = "";
	if (state == "offline") {
		value =
			MyLiveChat_NormalizeInlineText(MyLiveChat.FeedbackMessage) ||
			MyLiveChat_NormalizeInlineText(MyLiveChat.UI_FEEDBACK_MESSAGE);
	}
	else {
		value =
			MyLiveChat_NormalizeInlineText(MyLiveChat.WaitingMessage) ||
			MyLiveChat_NormalizeInlineText(MyLiveChat.UI_WAITING_MESSAGE);
	}
	return value || fallback || "";
}

function MyLiveChat_GetInlineActionText(state, fallback) {
	var value = "";
	if (state == "offline") {
		value =
			MyLiveChat_NormalizeInlineText(MyLiveChat.OfflineButtonText) ||
			MyLiveChat_NormalizeInlineText(MyLiveChat.TEXT_UI_SEND) ||
			MyLiveChat_NormalizeInlineText(MyLiveChat.UI_SEND) ||
			MyLiveChat_NormalizeInlineText(MyLiveChat.UI_INLINE_OFFLINE);
	}
	else {
		value =
			MyLiveChat_NormalizeInlineText(MyLiveChat.StartChatText) ||
			MyLiveChat_NormalizeInlineText(MyLiveChat.TEXT_STARTCHAT) ||
			MyLiveChat_NormalizeInlineText(MyLiveChat.UI_STARTCHAT) ||
			MyLiveChat_NormalizeInlineText(MyLiveChat.UI_INLINE_ONLINE);
	}
	return value || fallback || "";
}

function MyLiveChat_GetLauncherButtonText(state) {
	var currentState = state || (MyLiveChat.HasReadyAgents ? "prechat" : "offline");
	if (currentState == "offline") {
		return MyLiveChat_NormalizeInlineText(MyLiveChat.InPageHeadOffline) || MyLiveChat_NormalizeInlineText(MyLiveChat.UI_INLINE_OFFLINE) || "Leave a message";
	}
	return MyLiveChat_NormalizeInlineText(MyLiveChat.InPageHeadOnline) || MyLiveChat_NormalizeInlineText(MyLiveChat.UI_INLINE_ONLINE) || "Chat now";
}

function MyLiveChat_GetLauncherStatusText(state) {
	var currentState = state || (MyLiveChat.HasReadyAgents ? "prechat" : "offline");
	var text = MyLiveChat_GetLauncherButtonText(currentState);
	if (currentState == "offline") return "Offline. " + text + "!";
	return "Online. " + text + "!";
}

function MyLiveChat_GetToolbarButtonConfig() {
	var chat = MyLiveChat;
	function flag(value) {
		if (value === undefined || value === null || value === "") return true;
		if (value === "0" || value === 0 || value === false || value === "false" || value === "False") return false;
		return true;
	}
	return {
		showSaveButton: flag(chat.InlineChatShowSaveButton),
		showUploadButton: flag(chat.InlineChatShowUploadButton),
		showEmotionButton: flag(chat.InlineChatShowEmotionButton),
		showMailButton: flag(chat.InlineChatShowMailButton),
		showRatingButtons: flag(chat.InlineChatShowRatingButton),
		showSoundButton: flag(chat.InlineChatShowSoundButton)
	};
}

function MyLiveChat_ApplyThemeColorToButtons(ui) {
	var chat = (ui && ui.chat) || ((typeof MyLiveChat != "undefined" && MyLiveChat) ? MyLiveChat : {});
	var root = (ui && ui.e) ? ui.e : document;
	var buttonProps = {};
	var styleText = chat.InlineChatButtonStyle || "";
	var parts = styleText.split(";");
	for (var pi = 0; pi < parts.length; pi++) {
		var idx = parts[pi].indexOf(":");
		if (idx <= 0) continue;
		var key = parts[pi].substring(0, idx).replace(/^\s+|\s+$/g, "").toLowerCase();
		var val = parts[pi].substring(idx + 1).replace(/^\s+|\s+$/g, "");
		if (key && val) buttonProps[key] = val;
	}
	var hasCustomButtonBg = !!(buttonProps["background"] || buttonProps["background-color"]);
	var hasCustomButtonFg = !!buttonProps["color"];
	var selectors = [
		".mylivechat_chatbtn",
		".mylivechat_chatbtn8_primary",
		".mylivechat_chatbtn12_primary",
		".mylivechat_chatbtn_primary",
		".mylivechat_prechat_submit_button",
		".mylivechat_offline_submit_button",
		".mylivechat_survey_submit_button"
	];

	function isTransparentColor(value) {
		if (!value) return true;
		value = String(value).replace(/^\s+|\s+$/g, "").toLowerCase();
		return !value || value == "transparent" || value == "rgba(0, 0, 0, 0)" || value == "rgba(0,0,0,0)";
	}

	function isDefaultRoundBlue(value) {
		if (!value) return false;
		value = String(value).replace(/^\s+|\s+$/g, "").toLowerCase();
		return value == "#0275d8" ||
			value == "#007bff" ||
			value == "rgb(2, 117, 216)" ||
			value == "rgba(2, 117, 216, 1)" ||
			value == "rgb(0, 123, 255)" ||
			value == "rgba(0, 123, 255, 1)";
	}

	function getCssVar(el, name) {
		if (!el || !window.getComputedStyle) return "";
		var value = window.getComputedStyle(el).getPropertyValue(name);
		value = value ? value.replace(/^\s+|\s+$/g, "") : "";
		if (!value || value.indexOf("var(") >= 0) return "";
		return value;
	}

	function getHeaderColor(rootEl) {
		if (!rootEl || !rootEl.querySelector || !window.getComputedStyle) return "";
		var header = rootEl.querySelector(".mylivechat_expanded_title") ||
			rootEl.querySelector(".mylivechat_prechat_head") ||
			rootEl.querySelector(".mylivechat_offline_head") ||
			rootEl.querySelector(".mylivechat_frametop") ||
			rootEl.querySelector("[class*='-header']");
		if (!header) return "";
		var color = window.getComputedStyle(header).backgroundColor;
		return isTransparentColor(color) ? "" : color;
	}

	function resolveThemeColor(rootEl) {
		if (chat.UICollapsedBarBGColor) return chat.UICollapsedBarBGColor;
		if (chat.InPageHeadBgColor) return chat.InPageHeadBgColor;
		var round = chat.InlineChatRoundBackColor;
		if (round && !isDefaultRoundBlue(round)) return round;
		var themed = getCssVar(rootEl, "--mlc-primary-fill") ||
			getCssVar(rootEl, "--mlc-prechat-head-bg") ||
			getCssVar(rootEl, "--mlc-launcher-bg-color") ||
			getCssVar(rootEl, "--mlc-accent");
		if (themed) return themed;
		var headerColor = getHeaderColor(rootEl);
		if (headerColor) return headerColor;
		return round || "";
	}

	function resolveThemeTextColor() {
		return chat.UICollapsedBarFGColor || chat.InlineChatRoundForeColor || "#ffffff";
	}

	function applyButtonColors() {
		var rootEl = (ui && ui.e) ? ui.e : root;
		var bg = resolveThemeColor(rootEl);
		var fg = resolveThemeTextColor();
		if (!bg && !fg) return;
		var targets = [];
		for (var i = 0; i < selectors.length; i++) {
			if (rootEl && rootEl.querySelectorAll) {
				var rootEls = rootEl.querySelectorAll(selectors[i]);
				for (var j = 0; j < rootEls.length; j++) targets.push(rootEls[j]);
			}
			if (!rootEl) {
				var docEls = document.querySelectorAll(selectors[i]);
				for (var k = 0; k < docEls.length; k++) targets.push(docEls[k]);
			}
		}
		for (var ti = 0; ti < targets.length; ti++) {
			if (bg && !hasCustomButtonBg) {
				targets[ti].style.setProperty("background-color", bg, "important");
				targets[ti].style.setProperty("background-image", "none", "important");
			}
			if (fg && !hasCustomButtonFg) targets[ti].style.setProperty("color", fg, "important");
		}
		var css = selectors.join(",") + "{" +
			(bg && !hasCustomButtonBg ? "background-color:" + bg + " !important;background-image:none !important;" : "") +
			(fg && !hasCustomButtonFg ? "color:" + fg + " !important;" : "") +
			"}" +
			".mylivechat_prechat_submit_button:hover," +
			".mylivechat_offline_submit_button:hover," +
			".mylivechat_survey_submit_button:hover," +
			".mylivechat_chatbtn:hover,.mylivechat_chatbtn_primary:hover" +
			"{ opacity:0.88; }";
		var style = document.querySelector("style[data-mlc-theme-buttons='1']");
		if (!style) {
			style = document.createElement("style");
			style.type = "text/css";
			style.setAttribute("data-mlc-theme-buttons", "1");
			var target = (rootEl && rootEl.getRootNode && rootEl.getRootNode() !== document)
				? rootEl.getRootNode() : document.head;
			target.appendChild(style);
		}
		style.textContent = css;
	}

	applyButtonColors();
	setTimeout(applyButtonColors, 120);
	setTimeout(applyButtonColors, 500);
	setTimeout(applyButtonColors, 1500);
}

(function () {
	if (typeof window == "undefined" || !window.document) return;
	var applyThemeButtons = MyLiveChat_ApplyThemeColorToButtons;
	var initialChat = (typeof MyLiveChat != "undefined" && MyLiveChat) ? MyLiveChat : null;
	var scheduled = false;
	function apply() {
		scheduled = false;
		try {
			if (typeof applyThemeButtons == "function") {
				applyThemeButtons({ e: document, chat: initialChat });
			}
		}
		catch (x) {
		}
	}
	function schedule() {
		if (scheduled) return;
		scheduled = true;
		setTimeout(apply, 60);
	}
	if (document.readyState == "loading") {
		document.addEventListener("DOMContentLoaded", schedule);
	}
	else {
		schedule();
	}
	setTimeout(schedule, 250);
	setTimeout(schedule, 750);
	setTimeout(schedule, 1600);
	setTimeout(schedule, 3200);
	if (window.MutationObserver) {
		var observer = new MutationObserver(schedule);
		observer.observe(document.documentElement || document, { childList: true, subtree: true });
		setTimeout(function () {
			try {
				observer.disconnect();
			}
			catch (x) {
			}
		}, 7000);
	}
})();

function MyLiveChat_GetSupportAgentPhoto(support, fallback) {
	var photo = "";
	try {
		if (support && support.doc) {
			var avatar = support.doc.querySelector(".left .avatar img, .left_2 .avatar_2 img, .left_3 .avatar_3 img, .left_4 .avatar_4 img, .left_5 .avatar_5 img, .left_6 .avatar img, .OperatorAvatar img, .bubble .avatar img");
			if (avatar && avatar.src) photo = avatar.src;
		}
	}
	catch (x) {
	}
	try {
		if (!photo && support && support.win && support.win.GetAgentPhotoUrl && support.win.currentAgent) {
			photo = support.win.GetAgentPhotoUrl(support.win.currentAgent) || "";
		}
	}
	catch (x) {
	}
	if (!photo) {
		var arr = [
			MyLiveChat.SupportAgentPhoto,
			MyLiveChat.SupportPhoto,
			MyLiveChat.WaitingPhoto,
			MyLiveChat.InPageImageUrlOnline,
			MyLiveChat.InPageImageOnline
		];
		for (var i = 0; i < arr.length; i++) {
			var value = MyLiveChat_NormalizeInlineText(arr[i]);
			if (value) {
				photo = value;
				break;
			}
		}
	}
	return MyLiveChat_ResolveUiAssetUrl(photo || fallback || "");
}

function MyLiveChat_SyncInlineAgentPhoto(ui, support, fallback) {
	var photo = MyLiveChat_GetSupportAgentPhoto(support, fallback);
	if (!ui || !photo) return photo || "";
	try {
		if (ui.m_coled && ui.m_coled.m_img && ui.m_coled.m_img.e && ui.m_coled.m_img.e.src != photo) {
			ui.m_coled.m_img.e.src = photo;
		}
		if (ui.m_img2 && ui.m_img2.e && ui.m_img2.e.src != photo) {
			ui.m_img2.e.src = photo;
		}
		if (ui.m_avatarbg && ui.m_avatarbg.hide) {
			ui.m_avatarbg.hide();
		}
	}
	catch (x) {
	}
	return photo;
}

(function () {
	if (typeof MLCUI_ImplOAuth !== "function" || MLCUI_ImplOAuth.__mlcFacebookRemoved) {
		return;
	}

	var originalImplOAuth = MLCUI_ImplOAuth;
	MLCUI_ImplOAuth = function (options) {
		if (options && options.links && options.links.length) {
			var nextOptions = {};
			for (var key in options) {
				if (Object.prototype.hasOwnProperty.call(options, key)) {
					nextOptions[key] = options[key];
				}
			}

			nextOptions.links = [];
			for (var i = 0; i < options.links.length; i++) {
				var item = options.links[i];
				var type = !item || item.type == null ? "" : String(item.type).toLowerCase();
				if (type === "facebook") {
					continue;
				}
				nextOptions.links.push(item);
			}
			options = nextOptions;
		}

		return originalImplOAuth.apply(this, arguments);
	};
	MLCUI_ImplOAuth.__mlcFacebookRemoved = true;

	function removeFacebookOAuthNodes(root) {
		if (!root || !root.querySelectorAll) {
			return;
		}
		var nodes = root.querySelectorAll(
			".mylivechat_prechat_oauth_box img[src*='icon_facebook'], " +
			".mylivechat_prechat_oauth_box img[src*='facebook'], " +
			".mylivechat_offline_oauth_box img[src*='icon_facebook'], " +
			".mylivechat_offline_oauth_box img[src*='facebook']"
		);
		for (var i = 0; i < nodes.length; i++) {
			var node = nodes[i];
			var removeNode = node;
			while (removeNode && removeNode.parentNode) {
				if (removeNode.tagName && String(removeNode.tagName).toLowerCase() === "span") {
					break;
				}
				if (
					removeNode.parentNode.className &&
					String(removeNode.parentNode.className).indexOf("mylivechat_prechat_oauth_box") >= 0
				) {
					break;
				}
				if (
					removeNode.parentNode.className &&
					String(removeNode.parentNode.className).indexOf("mylivechat_offline_oauth_box") >= 0
				) {
					break;
				}
				removeNode = removeNode.parentNode;
			}
			if (removeNode && removeNode.parentNode) {
				removeNode.parentNode.removeChild(removeNode);
			}
		}
	}

	function installFacebookOAuthCleanup() {
		removeFacebookOAuthNodes(document);
		if (typeof MutationObserver === "function") {
			var observer = new MutationObserver(function (mutations) {
				for (var i = 0; i < mutations.length; i++) {
					if (mutations[i].addedNodes && mutations[i].addedNodes.length) {
						removeFacebookOAuthNodes(document);
						break;
					}
				}
			});
			observer.observe(document.documentElement || document.body, { childList: true, subtree: true });
		}
		setTimeout(function () { removeFacebookOAuthNodes(document); }, 100);
		setTimeout(function () { removeFacebookOAuthNodes(document); }, 1000);
	}

	if (document.readyState === "loading") {
		document.addEventListener("DOMContentLoaded", installFacebookOAuthCleanup);
	}
	else {
		installFacebookOAuthCleanup();
	}
})();


/// <reference path="newlib2.js" />
/// <reference path="livechatinit2.js" />
/// <reference path="newui2.js" />

function MyLiveChat_GetTemplate5PanelTitle(state) {
	var normalizedState = state || (MyLiveChat.HasReadyAgents ? "prechat" : "offline");
	var text = "";

	if (normalizedState == "offline") text = MyLiveChat.InPageHeadOffline;
	if (normalizedState == "prechat") text = MyLiveChat.InPageHeadOnline;
	if (normalizedState == "support") text = MyLiveChat.InPageHeadOnline;

	text = (text || "").replace(/\s+/g, " ").replace(/^\s+|\s+$/g, "");
	if (text) return text;

	if (normalizedState == "offline") {
		return MyLiveChat._GetText ? MyLiveChat._GetText("UI_Inline_Offline") : "Leave a message";
	}

	return MyLiveChat._GetText ? MyLiveChat._GetText("UI_Inline_Online") : "Chat now";
}




function MyLiveChat_CreateInlinePanel() {

	var lib = MyLiveChat_Lib;

	if (!MyLiveChat.InPageHeight)
		MyLiveChat.InPageHeight = 470 + 30;

	//setTimeout(function () {
	//	console.log(ui.m_exped_wrapper.e.offsetHeight)
	//},1500)

	var ui = MyLiveChat_BuildWrapper({
		cls: "mylivechat_inline mylivechat_template" + MyLiveChat.InPageTemplate, css: "rem-min-width:" + (MyLiveChat.IsMobile ? "160px" : "210px"),
		m_coled: {
			cls: "mylivechat_collapsed", css: "min-width:" + (MyLiveChat.IsMobile ? "150px" : "180px"),
			m_coledtxt: {
				cls: "mylivechat_collapsed_text", css: "text-indent:9px;", text: MyLiveChat_GetTemplate5PanelTitle()
			},
			m_imgup: !MyLiveChat.IsMobile && {
				cls: "mylivechat_sprite", image: "up", css: "", tooltip: MyLiveChat.TEXT_MAXIMIZE,
			},
			m_mobclose: MyLiveChat.IsMobile && {
				cls: "mylivechat_sprite", image: "exit", css: "cursor:pointer"
				, onclick: function (e) {
					ui.hide();
					e.stopPropagation();
				}
			}
		},
		m_exped: {
			cls: "mylivechat_expanded_outer", css: "", hide: 1,
			m_exped_wrapper: {
				cls: "mylivechat_expanded", css: "min-height:" + (MyLiveChat.InPageHeight || 'auto') + "px",
				m_exptitle: {
					cls: "mylivechat_expanded_title",
					m_expedtxt: {
						cls: "mylivechat_expanded_text", css: "text-indent:9px", text: MyLiveChat_GetTemplate5PanelTitle()
					},
					m_imgdown: {
						cls: "mylivechat_sprite", image: "down", css: "cursor:pointer", tooltip: MyLiveChat.TEXT_MINIMIZE
					},
					m_imgexit: {
						cls: "mylivechat_sprite", image: "exit", css: "cursor:pointer", tooltip: MyLiveChat.TEXT_ENDCHAT, hide: 1
					},
					m_imgopen: {
						cls: "mylivechat_sprite", image: "open", css: "cursor:pointer", tooltip: MyLiveChat.TEXT_POPOUT, hide: 1
					}
				},
				m_cont: {
					cls: "mylivechat_container", css: "box-sizing:border-box;display:none;border-top-width:0px;"
				},
			},
		},
		
		m_bubble: MyLiveChat.InPageUseBubbleTop && {
			cls: "mylivechat_bubble", css: "position:absolute;top:-100px;height:110px;left:2px;overflow:visible;padding-top:6px;padding-right:6px",
			m_bubbleimg: {
				tag: "img", cls: "mylivechat_bubble_img", css: "cursor:pointer;", attrs: { alt: 'livechat' }
			},
			m_bubbleclose: {
				cls: "mylivechat_sprite", image: "close", css: "position:absolute;cursor:pointer;display:none;right:0px;top:0px;width:16px;height:16px;"
			}
		}
	});

	var helper = MLCUI_InlineHelper(ui);

	helper.SetDragOn(ui.m_coled.e);
	helper.SetDragOn(ui.m_exped.e);

	var showbubble = false;

	if (ui.m_bubble) {

		showbubble = true;

		ui.m_bubble.e.onmouseover = function () {
			ui.m_bubbleclose.s.display = '';
		}
		ui.m_bubble.e.onmouseout = function () {
			ui.m_bubbleclose.s.display = 'none';
		}
		ui.m_bubbleclose.e.onclick = function () {
			ui.m_bubble.s.display = 'none';
			showbubble = false;
		}

		ui.m_bubbleimg.e.onclick = helper.ToggleInline;

		ui.m_bubbleimg.e.onload = function () {
			var h = ui.m_bubbleimg.e.height;
			var w = ui.m_bubbleimg.e.width;

			ui.m_coled.e.style.minWidth = w + "px";


			if (MyLiveChat.IsMobile && w > 150) {
				var zoom = 145 / w;
				ui.m_bubbleimg.s.zoom = String(zoom).substring(0, 5);
				h = Math.floor(h * zoom);
			}
			ui.m_bubble.s.height = h + "px";
			ui.m_bubble.s.top = (-3 - h) + "px";
			var imgr = ui.m_bubble.e.getBoundingClientRect().right;
			var bodyr = document.body.getBoundingClientRect().right-3;
			if (imgr > bodyr) {
				ui.m_bubble.e.style.left = (bodyr - imgr) + "px";
			}
		}
	}

	//helper.ensuremainui();

	ui.expand = function () {
		if (ui._expanded) return;
		helper.ensuremainui();
		ui._expanded = true;
		if (showbubble) ui.m_bubble.hide();
		ui.m_coled.hide();
		ui.m_main.show();
		ui.m_exped.show();
		ui.m_cont.show();
		ui.m_exped.s.width = (MyLiveChat.InPageWidth || (359 + 30)) + "px";
		ui.s.width = "";
		ui.s.height = "";
		helper.expandadjust(480);

	}
	function adjustwidth() {
		if (helper.btnmode) return;
		if (ui.e.offsetWidth > 0) {
			ui.apply_layout();
		}
	}

	ui.collapse = function () {
		helper.ResetDragOffset();
		if (!ui._expanded) return;
		ui._expanded = false;
		if (showbubble) ui.m_bubble.show();
		ui.m_coled.show();
		ui.m_main.hide();
		ui.m_exped.hide();
		ui.m_cont.hide();
		if (helper.updateforbtnmode) {
			helper.updateforbtnmode();
		}
		else {
			ui.s.width = "";
			ui.s.height = "";
			adjustwidth();
			helper.updatelayout();
		}
		helper.CollapseAnimate(ui.m_coled);
	}

	helper.CollapseAnimate(ui.m_coled);

	ui.m_coled.e.onclick = helper.ToggleInline;
	ui.m_imgdown.e.onclick = helper.ToggleInline;
	ui.m_imgopen.e.onclick = function () {
		MyLiveChat_OpenDialog("Popup");
		helper.ToggleInline('SwitchedToDialog');
	}
	ui.m_imgexit.e.onclick = function () {
		MyLiveChat.InlineChatCloseChat();
	}

	function UpdateChatState() {
		setTimeout(UpdateChatState, 100);

		var ls = ui.m_main ? ui.m_main.getlastshow() : (MyLiveChat.HasReadyAgents ? "prechat" : "offline");
		var txt = MyLiveChat_GetTemplate5PanelTitle(ls);

		if (!ui._expanded) {
			if (ui.m_coledtxt.e.innerText != txt) {
				ui.m_coledtxt.e.innerText = txt;
				adjustwidth()
			}
		}
		else {
			if (ui.m_expedtxt.e.innerText != txt) ui.m_expedtxt.e.innerText = txt;

			if (MyLiveChat.InlineChatIsChatting()) {
				ui.m_imgopen.show();
				ui.m_imgexit.show();
			}
			else {
				ui.m_imgopen.hide();
				ui.m_imgexit.hide();
			}
		}

	}
	setTimeout(UpdateChatState, 100);

	return ui;
}


MyLiveChat_InitCss2Handlers.push(function () {

	MyLiveChat_DefineStyle(".mylivechat_container", "border-color:" + (MyLiveChat.InPageHeadBorderColor || "transparent") + ";");

});





(function () {
	if (window.MLCSurveyLayoutPatchLoaded) {
		return;
	}
	window.MLCSurveyLayoutPatchLoaded = true;

	var surveyState = {
		frame: null,
		rating: null
	};

	function getText(name, fallback, resourceName) {
		if (window.MyLiveChat && MyLiveChat[name]) {
			return MyLiveChat[name];
		}

		if (typeof window.TEXT === "function") {
			try {
				var key = resourceName || name;
				var text = TEXT(key);
				if (typeof text === "string" && text && text !== key) {
					return text;
				}
			}
			catch (ex) {
			}
		}

		return fallback;
	}

	function getCurrentEmail() {
		if (!window.MyLiveChat) {
			return "";
		}

		return MyLiveChat.SourceEmail || MyLiveChat.CCEmail || MyLiveChat.Email || "";
	}

	function isCompactSurveyTemplate() {
		if (!window.MyLiveChat) {
			return false;
		}

		var template = String(MyLiveChat.InPageTemplate || "");
		return template === "50" || template === "51" || template === "52";
	}

	function wrapSurveyRow(row, labelText, extraClass) {
		if (!row) {
			return null;
		}

		row.classList.add("mylivechat_survey_row");
		if (extraClass) {
			row.classList.add(extraClass);
		}
		row.setAttribute("data-mlc-label", labelText);

		var control = row.querySelector(".mylivechat_survey_row_control");
		if (!control) {
			control = document.createElement("div");
			control.className = "mylivechat_survey_row_control";
			while (row.firstChild) {
				control.appendChild(row.firstChild);
			}
			row.appendChild(control);
		}

		return control;
	}

	function createSurveyRow(labelText, className, createControl) {
		var row = document.createElement("div");
		row.className = className + " mylivechat_survey_row";
		row.setAttribute("data-mlc-label", labelText);

		var control = document.createElement("div");
		control.className = "mylivechat_survey_row_control";
		createControl(control);
		row.appendChild(control);

		return row;
	}

	function insertBeforeAnchor(parent, node, anchor) {
		if (!parent || !node) {
			return;
		}

		if (anchor && anchor.parentNode === parent) {
			parent.insertBefore(node, anchor);
			return;
		}

		parent.appendChild(node);
	}

	function getInitialRating() {
		if (typeof window.GetAgentRating === "function") {
			var rating = parseInt(GetAgentRating(), 10);
			if (!isNaN(rating) && rating > 0) {
				return rating;
			}
		}

		if (typeof surveyState.rating === "number" && surveyState.rating > 0) {
			return surveyState.rating;
		}

		return 0;
	}

	function setStarBarPosition(starBar, rating) {
		if (!starBar) {
			return;
		}

		if (!rating || rating < 1) {
			starBar.style.backgroundPosition = "0px 2px";
			return;
		}

		starBar.style.backgroundPosition = (rating * 16 - 80) + "px 2px";
	}

	function readStarRating(event, starBar) {
		var rect = starBar.getBoundingClientRect();
		var offset = event.clientX - rect.left;
		var rating = Math.ceil(offset / 16);

		if (rating < 1) {
			rating = 1;
		}
		if (rating > 5) {
			rating = 5;
		}

		return rating;
	}

	function ensureStarRating(ui) {
		if (!window.MyLiveChat || !MyLiveChat.SurveyUseRating || !ui || !ui.m_survey_rating || !ui.m_survey_rating.e) {
			return;
		}

		var row = ui.m_survey_rating.e;
		var control = row.querySelector(".mylivechat_survey_row_control") || wrapSurveyRow(row, getText("TEXT_RATING", "Rating"), "mylivechat_survey_row_rating");
		if (!control) {
			return;
		}

		var starBar = control.querySelector(".mylivechat_survey_starbar");
		if (!starBar) {
			var thumbs = control.querySelectorAll("img");
			for (var i = 0; i < thumbs.length; i++) {
				thumbs[i].style.display = "none";
			}

			starBar = document.createElement("div");
			starBar.className = "mylivechat_survey_starbar";

			var useSvgStars = true;

			if (useSvgStars) {
				starBar.style.cssText = "display:flex;gap:4px;cursor:pointer;";
				var starColor = (function() {
					var tpl = MyLiveChat.InPageTemplate || "";
					var el = document.querySelector(".mylivechat_template" + tpl);
					if (el) {
						var cs = getComputedStyle(el);
						var v = cs.getPropertyValue("--mlc" + tpl + "-accent").trim()
							|| cs.getPropertyValue("--mlc" + tpl + "-support-accent").trim();
						if (v) return v;
					}
					return MyLiveChat.InPageHeadBgColor || MyLiveChat.UITopBarBGColor || "#2563EB";
				})();
				var encodedColor = encodeURIComponent(starColor);
				var svgEmpty = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='" + encodedColor + "' stroke-width='2'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E";
				var svgFilled = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='" + encodedColor + "' stroke='" + encodedColor + "' stroke-width='2'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E";
				for (var si = 0; si < 5; si++) {
					var starImg = document.createElement("img");
					starImg.src = svgFilled;
					starImg.setAttribute("data-star", si + 1);
					starImg.style.cssText = "width:22px;height:22px;cursor:pointer;transition:transform 0.1s ease;";
					starImg.onmouseenter = function() { this.style.transform = "scale(1.2)"; };
					starImg.onmouseleave = function() { this.style.transform = "scale(1)"; };
					starBar.appendChild(starImg);
				}
				function updateSvgStars(bar, rating) {
					var imgs = bar.querySelectorAll("img");
					for (var j = 0; j < imgs.length; j++) {
						imgs[j].src = (j < rating) ? svgFilled : svgEmpty;
					}
				}
				starBar.onclick = function (event) {
					var rect = starBar.getBoundingClientRect();
					var idx = Math.ceil((event.clientX - rect.left) / 26);
					if (idx < 1) idx = 1; if (idx > 5) idx = 5;
					surveyState.rating = surveyState.rating === idx ? 0 : idx;
					updateSvgStars(starBar, surveyState.rating);
				};
				starBar.onmousemove = function (event) {
					var rect = starBar.getBoundingClientRect();
					var idx = Math.ceil((event.clientX - rect.left) / 26);
					if (idx < 1) idx = 1; if (idx > 5) idx = 5;
					updateSvgStars(starBar, idx);
				};
				starBar.onmouseleave = function () {
					updateSvgStars(starBar, surveyState.rating);
				};
			} else {
				starBar.style.backgroundImage = "url('" + MyLiveChat.UrlBase + "images/star_5.gif')";

				starBar.onclick = function (event) {
					var rating = readStarRating(event, starBar);
					surveyState.rating = surveyState.rating === rating ? 0 : rating;
					setStarBarPosition(starBar, surveyState.rating);
				};

				starBar.onmousemove = function (event) {
					setStarBarPosition(starBar, readStarRating(event, starBar));
				};

				starBar.onmouseleave = function () {
					setStarBarPosition(starBar, surveyState.rating);
				};
			}

			control.appendChild(starBar);
		}

		surveyState.rating = getInitialRating();
		setStarBarPosition(starBar, surveyState.rating);
	}

	function ensureSurveyEmailRows(ui) {
		if (!window.MyLiveChat || !MyLiveChat.SurveyUseEmail || !ui || !ui.m_survey_frame || !ui.m_survey_frame.e) {
			return;
		}

		var frame = ui.m_survey_frame.e;
		if (isCompactSurveyTemplate()) {
			var compactRows = frame.querySelectorAll(".mylivechat_survey_email, .mylivechat_survey_log");
			for (var cr = 0; cr < compactRows.length; cr++) {
				var compactRow = compactRows[cr];
				if (compactRow && compactRow.parentNode) {
					compactRow.parentNode.removeChild(compactRow);
				}
			}
			return;
		}

		var existingEmail = frame.querySelector(".mylivechat_survey_email_box");
		if (existingEmail) {
			if (!existingEmail.value) {
				existingEmail.value = getCurrentEmail();
			}
			return;
		}

		var anchor = (ui.m_survey_rating && ui.m_survey_rating.e) ||
			(ui.m_survey_comment && ui.m_survey_comment.e) ||
			(ui.m_survey_butttons && ui.m_survey_butttons.e) ||
			null;

		var emailRow = createSurveyRow(getText("TEXT_EMAIL", "Email"), "mylivechat_survey_email", function (control) {
			var input = document.createElement("input");
			input.type = "email";
			input.className = "mylivechat_survey_email_box mylivechat_survey_box";
			input.autocomplete = "email";
			input.placeholder = getText("TEXT_EMAILPLACEHOLDER", getText("TEXT_EMAIL", "Email"));
			input.value = getCurrentEmail();
			control.appendChild(input);
		});

		var logRow = createSurveyRow(getText("TEXT_CHATLOG", "Chat Log"), "mylivechat_survey_log", function (control) {
			var label = document.createElement("label");
			label.className = "mylivechat_survey_checkline";

			var input = document.createElement("input");
			input.type = "checkbox";
			input.className = "mylivechat_survey_sendlog_box";

			var text = document.createElement("span");
			text.textContent = MyLiveChat.SurveyLogTooltip || "Email me a copy of this chat";

			label.appendChild(input);
			label.appendChild(text);
			control.appendChild(label);
		});

		insertBeforeAnchor(frame, emailRow, anchor);
		insertBeforeAnchor(frame, logRow, anchor);
	}

	function ensureCloseChatRow(ui) {
		if (!ui || !ui.m_survey_frame || !ui.m_survey_frame.e || !ui.m_survey_butttons || !ui.m_survey_butttons.e) {
			return;
		}

		var frame = ui.m_survey_frame.e;
		if (frame.querySelector(".mylivechat_survey_close_row")) {
			return;
		}

		var row = document.createElement("div");
		row.className = "mylivechat_survey_close_row";

		var button = document.createElement("button");
		button.type = "button";
		button.className = "mylivechat_survey_close_chat_button mylivechat_survey_cancel_button";
		button.textContent = getText("SurveyCloseButton", "I want to close this chat window", "UI_SURVEY_CLOSEBUTTON");
		button.onclick = function () {
			if (typeof window.Disconnect === "function") {
				try {
					Disconnect(true);
				}
				catch (ex) {
				}
			}

			if (window.MyLiveChat && typeof MyLiveChat.InlineChatCloseChat === "function") {
				MyLiveChat.InlineChatCloseChat();
				return;
			}

			if (window.parent && window.parent.MyLiveChat && window.parent.MyLiveChat.CrossPageManager &&
				typeof window.parent.MyLiveChat.CrossPageManager.CollapseInPagePanel === "function") {
				try {
					window.parent.MyLiveChat.CrossPageManager.CollapseInPagePanel();
				}
				catch (ex) {
				}
			}

			try {
				window.close();
			}
			catch (ex) {
			}
		};

		row.appendChild(button);

		var actions = ui.m_survey_butttons.e;
		if (actions.nextSibling) {
			frame.insertBefore(row, actions.nextSibling);
			return;
		}

		frame.appendChild(row);
	}

	function ensureSurveyActions(ui) {
		if (!ui || !ui.m_survey_butttons || !ui.m_survey_butttons.e) {
			return;
		}

		ui.m_survey_butttons.e.classList.add("mylivechat_survey_actions_2col");
	}

	var simpleSurveyTemplates = {};

	function enhanceSurvey(ui) {
		if (!ui || !ui.m_survey_frame || !ui.m_survey_frame.e) {
			return;
		}

		var tpl = parseInt(MyLiveChat.InPageTemplate, 10);
		if (simpleSurveyTemplates[tpl]) {
			return;
		}

		var frame = ui.m_survey_frame.e;
		surveyState.frame = frame;
		if (frame.getAttribute("data-mlc-survey-enhanced") === "1") {
			wrapSurveyRow(ui.m_survey_rating && ui.m_survey_rating.e, getText("TEXT_RATING", "Rating"), "mylivechat_survey_row_rating");
			wrapSurveyRow(ui.m_survey_comment && ui.m_survey_comment.e, getText("TEXT_COMMENT", "Comment"), "mylivechat_survey_row_comment");
			ensureSurveyActions(ui);
			ensureSurveyEmailRows(ui);
			ensureStarRating(ui);
			ensureCloseChatRow(ui);
			var emailInput = frame.querySelector(".mylivechat_survey_email_box");
			if (emailInput && !emailInput.value) {
				emailInput.value = getCurrentEmail();
			}
			return;
		}

		frame.setAttribute("data-mlc-survey-enhanced", "1");
		frame.classList.add("mylivechat_survey_form2col");

		wrapSurveyRow(ui.m_survey_rating && ui.m_survey_rating.e, getText("TEXT_RATING", "Rating"), "mylivechat_survey_row_rating");
		wrapSurveyRow(ui.m_survey_comment && ui.m_survey_comment.e, getText("TEXT_COMMENT", "Comment"), "mylivechat_survey_row_comment");
		ensureSurveyActions(ui);
		ensureStarRating(ui);
		ensureSurveyEmailRows(ui);
		ensureCloseChatRow(ui);
	}

	function wrapCreateMainPanel() {
		if (typeof window.MyLiveChat_CreateMainPanel !== "function" || window.MyLiveChat_CreateMainPanel._mlcSurveyLayoutWrapped) {
			return;
		}

		var originalCreateMainPanel = window.MyLiveChat_CreateMainPanel;
		var wrappedCreateMainPanel = function () {
			var ui = originalCreateMainPanel.apply(this, arguments);

			try {
				enhanceSurvey(ui);
				setTimeout(function () { enhanceSurvey(ui); }, 0);
				setTimeout(function () { enhanceSurvey(ui); }, 250);
			}
			catch (ex) {
			}

			return ui;
		};

		wrappedCreateMainPanel._mlcSurveyLayoutWrapped = true;
		window.MyLiveChat_CreateMainPanel = wrappedCreateMainPanel;
	}

	function wrapSurveyAjax() {
		var attempts = 0;
		var timer = setInterval(function () {
			attempts += 1;

			if (typeof window.MyLiveChatAjax !== "function") {
				if (attempts > 200) {
					clearInterval(timer);
				}
				return;
			}

			if (window.MyLiveChatAjax._mlcSurveyLayoutWrapped) {
				clearInterval(timer);
				return;
			}

			var originalAjax = window.MyLiveChatAjax;
			var wrappedAjax = function () {
				var method = arguments.length > 1 ? arguments[1] : null;
				var arg = arguments.length > 3 ? arguments[3] : null;

				if (method === "SaveSurvey" && arg && typeof arg === "object") {
					var surveyRoot = surveyState.frame && surveyState.frame.querySelector ? surveyState.frame : document;
					var emailInput = surveyRoot.querySelector(".mylivechat_survey_email_box");
					var sendLogInput = surveyRoot.querySelector(".mylivechat_survey_sendlog_box");

					if (emailInput) {
						arg.Email = emailInput.value || "";
						if (window.MyLiveChat && arg.Email) {
							MyLiveChat.SourceEmail = arg.Email;
						}
					}

					if (sendLogInput) {
						arg.SendLog = !!sendLogInput.checked;
					}

					if (typeof surveyState.rating === "number") {
						arg.Rating = surveyState.rating > 0 ? String(surveyState.rating) : "";
					}
				}

				return originalAjax.apply(this, arguments);
			};

			wrappedAjax._mlcSurveyLayoutWrapped = true;
			window.MyLiveChatAjax = wrappedAjax;
			clearInterval(timer);
		}, 50);
	}

	wrapCreateMainPanel();
	wrapSurveyAjax();
})();


(function () {
  if (typeof window === "undefined" || typeof document === "undefined") {
    return;
  }

  var rootSelector = ".mylivechat_inline";
  var baseBottomAttr = "data-mlc-base-bottom";
  var obstructionCacheMs = 800;
  var lastObstructionAt = 0;
  var lastObstruction = 0;
  var observer = null;
  var scheduled = false;
  var burstUntil = 0;
  var burstTimer = null;
  var liftAttr = "data-mlc-fixed-lift";
  var expandedBottomAttr = "data-mlc-mobile-expanded-bottom";
  var viewportFitBottomAttr = "data-mlc-viewport-fit-bottom";
  var closedFootprintAttr = "data-mlc-mobile-closed-footprint";
  var customTransformOverride = null;

  function customCssOverridesLauncherTransform() {
    if (customTransformOverride !== null) {
      return customTransformOverride;
    }

    customTransformOverride = false;

    if (!window.MyLiveChat || window.MyLiveChat.UIAllowCSSOverride !== "1") {
      return customTransformOverride;
    }

    var css = window.MyLiveChat.StyleCode || "";
    if (!css) {
      return customTransformOverride;
    }

    css = css.replace(/\/\*[\s\S]*?\*\//g, "");
    var ruleMatch;
    var ruleRegex = /([^{}]+)\{([^{}]*)\}/g;
    while ((ruleMatch = ruleRegex.exec(css))) {
      if (
        ruleMatch[1].indexOf(".mylivechat_inline") !== -1 &&
        /(^|;)\s*(?:-webkit-)?transform\s*:/i.test(ruleMatch[2])
      ) {
        customTransformOverride = true;
        break;
      }
    }

    return customTransformOverride;
  }

  function isElementVisible(el) {
    if (!el || el.nodeType !== 1) {
      return false;
    }

    var style = window.getComputedStyle(el);
    if (!style) {
      return false;
    }

    if (style.display === "none" || style.visibility === "hidden") {
      return false;
    }

    if (parseFloat(style.opacity || "1") === 0) {
      return false;
    }

    var rect = el.getBoundingClientRect();
    return rect.width > 1 && rect.height > 1;
  }

  function isBottomObstructionCandidate(el, viewportWidth, viewportHeight) {
    if (!isElementVisible(el)) {
      return false;
    }

    if (el.closest(rootSelector)) {
      return false;
    }

    var style = window.getComputedStyle(el);
    if (!style) {
      return false;
    }

    if (style.position !== "fixed" && style.position !== "sticky") {
      return false;
    }

    var rect = el.getBoundingClientRect();
    if (rect.height < 16 || rect.width < 120) {
      return false;
    }

    if (rect.right <= 0 || rect.left >= viewportWidth) {
      return false;
    }

    if (rect.top >= viewportHeight || rect.bottom < viewportHeight - 2) {
      return false;
    }

    var overlap = Math.max(0, viewportHeight - rect.top);
    var maxLift = Math.min(320, Math.max(80, viewportHeight * 0.45));
    if (overlap > maxLift) {
      return false;
    }

    var visibleLeft = Math.max(0, rect.left);
    var visibleRight = Math.min(viewportWidth, rect.right);
    var visibleWidth = Math.max(0, visibleRight - visibleLeft);
    var widthRatio = visibleWidth / Math.max(1, viewportWidth);
    var nearViewportEdge =
      visibleLeft <= 48 || visibleRight >= viewportWidth - 48 || widthRatio >= 0.35;
    if (!nearViewportEdge) {
      return false;
    }

    return true;
  }

  function getBottomObstructionHeight() {
    var now = Date.now();
    if (now - lastObstructionAt < obstructionCacheMs) {
      return lastObstruction;
    }

    lastObstructionAt = now;

    var viewportWidth =
      window.innerWidth ||
      document.documentElement.clientWidth ||
      document.body.clientWidth ||
      0;
    var viewportHeight =
      window.innerHeight ||
      document.documentElement.clientHeight ||
      document.body.clientHeight ||
      0;

    var maxOverlap = 0;
    var nodes = document.body ? document.body.getElementsByTagName("*") : [];
    for (var i = 0; i < nodes.length; i++) {
      var el = nodes[i];
      if (!isBottomObstructionCandidate(el, viewportWidth, viewportHeight)) {
        continue;
      }

      var rect = el.getBoundingClientRect();
      var overlap = Math.max(0, viewportHeight - rect.top);
      if (overlap > maxOverlap) {
        maxOverlap = overlap;
      }
    }

    lastObstruction = maxOverlap;
    return lastObstruction;
  }

  function getCurrentBottom(el) {
    var value = parseFloat(el.style.bottom);
    if (!isNaN(value)) {
      return value;
    }

    var style = window.getComputedStyle(el);
    value = parseFloat(style.bottom);
    if (!isNaN(value)) {
      return value;
    }

    return 0;
  }

  function getCurrentHorizontalInset(el, side) {
    var style = window.getComputedStyle(el);
    if (!style) {
      return null;
    }

    var value = parseFloat(style[side]);
    return isNaN(value) ? null : value;
  }

  function pinBottomInset(el, targetBottom) {
    if (targetBottom <= 0) {
      return;
    }

    var right = getCurrentHorizontalInset(el, "right");
    var left = getCurrentHorizontalInset(el, "left");
    if (el.classList.contains("mylivechat_template_float_right") && right != null) {
      var rightValue = Math.round(right) + "px";
      setStyleProperty(
        el,
        "inset",
        "auto " + rightValue + " " + targetBottom + "px auto",
        "important",
      );
      setStyleProperty(el, "right", rightValue, "important");
      setStyleProperty(el, "left", "auto", "important");
    } else if (el.classList.contains("mylivechat_template_float_left") && left != null) {
      var leftValue = Math.round(left) + "px";
      setStyleProperty(
        el,
        "inset",
        "auto auto " + targetBottom + "px " + leftValue,
        "important",
      );
      setStyleProperty(el, "left", leftValue, "important");
      setStyleProperty(el, "right", "auto", "important");
    }

    setStyleProperty(el, "bottom", targetBottom + "px", "important");
    setStyleProperty(el, "top", "auto", "important");
  }

  function getInlineStyleValue(el, prop) {
    var value = el.style.getPropertyValue(prop);
    var priority = el.style.getPropertyPriority(prop);
    return { value: value || "", priority: priority || "" };
  }

  function setStyleProperty(el, prop, value, priority) {
    priority = priority || "";
    var current = getInlineStyleValue(el, prop);
    if (current.value === value && current.priority === priority) {
      return false;
    }
    el.style.setProperty(prop, value, priority);
    return true;
  }

  function removeStyleProperty(el, prop) {
    if (!el.style.getPropertyValue(prop)) {
      return false;
    }
    el.style.removeProperty(prop);
    return true;
  }

  function setAttr(el, name, value) {
    value = String(value);
    if (el.getAttribute(name) === value) {
      return false;
    }
    el.setAttribute(name, value);
    return true;
  }

  function removeAttr(el, name) {
    if (!el.hasAttribute(name)) {
      return false;
    }
    el.removeAttribute(name);
    return true;
  }

  function captureBaseBottom(el) {
    var currentBottom = getCurrentBottom(el);
    var storedBottom = parseFloat(el.getAttribute(baseBottomAttr));

    if (isInlineExpanded(el) && !isNaN(storedBottom)) {
      return storedBottom;
    }

    if (!isNaN(storedBottom) && el.hasAttribute("data-mlc-fixed-bottom")) {
      return storedBottom;
    }

    if (isNaN(storedBottom) || currentBottom > storedBottom) {
      storedBottom = currentBottom;
    }

    setAttr(el, baseBottomAttr, storedBottom);
    return storedBottom;
  }

  function shouldLiftBottomDockedLauncher(el) {
    if (!el.classList.contains("mylivechat_template_float_bottom")) {
      return false;
    }

    if (el.classList.contains("mylivechat-mobile-docked")) {
      return false;
    }

    return true;
  }

  function getViewportSize() {
    return {
      width:
        window.innerWidth ||
        document.documentElement.clientWidth ||
        document.body.clientWidth ||
        0,
      height:
        window.innerHeight ||
        document.documentElement.clientHeight ||
        document.body.clientHeight ||
        0,
    };
  }

  function isSmallViewport() {
    var viewport = getViewportSize();
    return viewport.width > 0 && viewport.width <= 520;
  }

  function isInlineExpanded(root) {
    if (root && root.getAttribute && root.getAttribute("data-mlc-expanded") === "1") {
      return true;
    }

    var expanded = root && root.querySelector && root.querySelector(".mylivechat_expanded");
    return isElementVisible(expanded);
  }

  function hasExpandedInlinePanel() {
    var roots = document.querySelectorAll(rootSelector);
    for (var i = 0; i < roots.length; i++) {
      if (isInlineExpanded(roots[i])) {
        return true;
      }
    }
    return false;
  }

  function getVisibleCloseHeight(root) {
    var close = root && root.querySelector && root.querySelector(".mylivechat_closediv");
    if (!isElementVisible(close)) {
      return 0;
    }

    return Math.max(0, close.getBoundingClientRect().height || 0);
  }

  function getMobileExpandedBottom(root, baseBottom) {
    if (!isSmallViewport() || !isInlineExpanded(root)) {
      return null;
    }

    var closeHeight = getVisibleCloseHeight(root);
    var dockBottom = Math.max(32, baseBottom || 0);
    var launcherClearance = Math.max(76, closeHeight + 14);
    return dockBottom + launcherClearance;
  }

  function getExpandedViewportFitBottom(root, targetBottom) {
    if (!isInlineExpanded(root)) {
      return null;
    }

    var viewport = getViewportSize();
    if (!viewport.height) {
      return null;
    }

    var maxBottom = 0;
    var panels = root.querySelectorAll(
      ".mylivechat_prechat,.mylivechat_offline,.mylivechat_support,.mylivechat_expanded"
    );

    for (var i = 0; i < panels.length; i++) {
      if (!isElementVisible(panels[i])) {
        continue;
      }

      var rect = panels[i].getBoundingClientRect();
      if (rect.bottom > maxBottom) {
        maxBottom = rect.bottom;
      }
    }

    if (!maxBottom) {
      return null;
    }

    var safeBottom = viewport.height - 16;
    var close = root.querySelector(".mylivechat_closediv");
    if (isElementVisible(close)) {
      var closeRect = close.getBoundingClientRect();
      if (closeRect.top > 0 && closeRect.height > 1 && closeRect.top < maxBottom) {
        safeBottom = Math.min(safeBottom, Math.max(16, closeRect.top - 12));
      }
    }
    var storedBottom = parseFloat(root.getAttribute(viewportFitBottomAttr));
    var baseTargetBottom = targetBottom || 0;

    if (maxBottom > safeBottom) {
      return Math.max(
        baseTargetBottom,
        getCurrentBottom(root) + Math.ceil(maxBottom - safeBottom),
      );
    }

    if (!isNaN(storedBottom) && storedBottom > baseTargetBottom) {
      var releaseDelta = storedBottom - baseTargetBottom;
      if (maxBottom + releaseDelta > safeBottom) {
        return storedBottom;
      }
    }

    return null;
  }

  function getMobileClosedBottom(root, baseBottom) {
    if (!isSmallViewport() || isInlineExpanded(root)) {
      return null;
    }

    var viewport = getViewportSize();
    if (!viewport.height) {
      return null;
    }

    var maxBottom = 0;
    var targets = root.querySelectorAll(
      ".mylivechat_collapsed,.mylivechat_buttonround,.mylivechat_bubble,.mylivechat_bubble_img2"
    );

    for (var i = 0; i < targets.length; i++) {
      if (!isElementVisible(targets[i])) {
        continue;
      }

      var rect = targets[i].getBoundingClientRect();
      if (rect.bottom > maxBottom) {
        maxBottom = rect.bottom;
      }
    }

    var safeBottom = viewport.height - 16;
    if (!maxBottom || maxBottom <= safeBottom) {
      return null;
    }

    return (baseBottom || 0) + Math.ceil(maxBottom - safeBottom);
  }

  function setRuntimePositionPin(pin) {
    if (!window.MyLiveChat) {
      return;
    }

    if (pin) {
      if (!window.MyLiveChat.__mlcPositionFixPinned) {
        window.MyLiveChat.__mlcPositionFixPrevPin =
          window.MyLiveChat._PreviewPinInlinePosition;
      }
      window.MyLiveChat.__mlcPositionFixPinned = true;
      window.MyLiveChat._PreviewPinInlinePosition = true;
      return;
    }

    if (!window.MyLiveChat.__mlcPositionFixPinned) {
      return;
    }

    window.MyLiveChat._PreviewPinInlinePosition =
      window.MyLiveChat.__mlcPositionFixPrevPin || false;
    window.MyLiveChat.__mlcPositionFixPinned = false;
    window.MyLiveChat.__mlcPositionFixPrevPin = null;
  }

  function applyPositionFix() {
    var roots = document.querySelectorAll(rootSelector);
    if (!roots.length) {
      setRuntimePositionPin(false);
      return;
    }

    var obstruction = getBottomObstructionHeight();
    var respectCustomTransform = customCssOverridesLauncherTransform();
    var shouldPinRuntimePosition = false;

    for (var i = 0; i < roots.length; i++) {
      var root = roots[i];
      setStyleProperty(root, "z-index", "7777777", "important");

      if (!shouldLiftBottomDockedLauncher(root)) {
        continue;
      }

      var baseBottom = captureBaseBottom(root);
      var lift = obstruction > 0 ? obstruction + 8 : 0;
      var expandedBottom = getMobileExpandedBottom(root, baseBottom);
      var closedBottom = getMobileClosedBottom(root, baseBottom);
      var targetBottom =
        expandedBottom == null
          ? closedBottom == null
            ? baseBottom
            : closedBottom
          : expandedBottom;
      var viewportFitBottom = getExpandedViewportFitBottom(root, targetBottom);
      var pinsExpandedPosition = expandedBottom != null || viewportFitBottom != null;
      if (viewportFitBottom != null) {
        targetBottom = Math.max(targetBottom, viewportFitBottom);
      }
      if (pinsExpandedPosition) {
        shouldPinRuntimePosition = true;
      }

      pinBottomInset(root, targetBottom);

      if (
        !isInlineExpanded(root) &&
        root.classList.contains("mylivechat_template15")
      ) {
        setStyleProperty(root, "width", "72px", "important");
        setStyleProperty(root, "height", "72px", "important");
        setAttr(root, closedFootprintAttr, "1");
      } else if (root.hasAttribute(closedFootprintAttr)) {
        removeStyleProperty(root, "width");
        removeStyleProperty(root, "height");
        removeAttr(root, closedFootprintAttr);
      }

      if (!pinsExpandedPosition) {
        if (root.hasAttribute(expandedBottomAttr)) {
          removeStyleProperty(root, "top");
        }
        removeAttr(root, expandedBottomAttr);
        removeAttr(root, viewportFitBottomAttr);
      } else {
        if (expandedBottom != null) {
          setAttr(root, expandedBottomAttr, expandedBottom);
        } else {
          removeAttr(root, expandedBottomAttr);
        }
        if (viewportFitBottom != null) {
          setAttr(root, viewportFitBottomAttr, viewportFitBottom);
        } else {
          removeAttr(root, viewportFitBottomAttr);
        }
        setStyleProperty(root, "top", "auto", "important");
      }

      if (respectCustomTransform || lift <= 0) {
        removeStyleProperty(root, "transform");
        removeStyleProperty(root, "-webkit-transform");
      } else {
        setStyleProperty(
          root,
          "transform",
          "translate3d(0,-" + lift + "px,0)",
          "important",
        );
      }
      setAttr(root, "data-mlc-fixed-bottom", targetBottom);
      setAttr(root, liftAttr, respectCustomTransform ? "custom" : lift);
    }

    setRuntimePositionPin(shouldPinRuntimePosition);
  }

  function scheduleFix() {
    if (scheduled) {
      return;
    }

    scheduled = true;
    setTimeout(function () {
      scheduled = false;
      try {
        applyPositionFix();
      } catch (err) {}
    }, 30);
  }

  function startFixBurst() {
    var now = Date.now();
    burstUntil = Math.max(burstUntil, now + 8200);

    function runBurst() {
      try {
        applyPositionFix();
      } catch (err) {}

      if (Date.now() >= burstUntil) {
        burstTimer = null;
        return;
      }

      burstTimer = setTimeout(runBurst, 60);
    }

    if (!burstTimer) {
      runBurst();
    }
  }

  window.addEventListener("load", scheduleFix, true);
  window.addEventListener("load", startFixBurst, true);
  window.addEventListener("resize", function () {
    lastObstructionAt = 0;
    scheduleFix();
    startFixBurst();
  }, true);
  window.addEventListener("scroll", scheduleFix, true);
  window.addEventListener("click", function () {
    scheduleFix();
    startFixBurst();
  }, true);

  if (window.MutationObserver) {
    observer = new MutationObserver(function () {
      lastObstructionAt = 0;
      scheduleFix();
      startFixBurst();
    });

    function tryObserveBody() {
      if (!document.body) {
        setTimeout(tryObserveBody, 50);
        return;
      }

      observer.observe(document.body, {
        childList: true,
        subtree: true,
        attributes: true,
        attributeFilter: ["class", "style"],
      });
    }

    tryObserveBody();
  }

  setInterval(scheduleFix, 1000);
  setInterval(function () {
    if (hasExpandedInlinePanel()) {
      try {
        applyPositionFix();
      } catch (err) {}
    }
  }, 40);
  scheduleFix();
})();


