/* Timestamp: Wed May 28 07:15:51 PDT 2025 , Code Version: 1748441750042 */
if(!window["v3Lander"]&&navigator.userAgent.indexOf("Opera")==-1&&navigator.userAgent.indexOf("MSIE 6")==-1&&(navigator.userAgent.indexOf("MSIE 7")==-1||navigator.userAgent.indexOf("Trident")!=-1||navigator.userAgent.toLowerCase().indexOf("media center")!=-1)){window.v3Lander={allowTaggingInsideFrameSet:false,codeVersion:"1748441750042",disableXframeToIjsf:false,hostToPath:{},isExitChat:false,isJSSDK:false,isLegacy:false,isObfuscated:true,isRplMode:false,maxIframeCreateAttemptCount:3,mediaServer:"https://media.xchat.xfinity.com",noJSHosting:false,noChatFrame:false,postToServerName:"postToServer.min.js",siteID:"10006690",skipDomReadyTest:false,staticClientURL:"",tcFrameworkName:"tcFramework.min.js",useJSHelperForIJSF:false,v3HostedFileURL:"/xfinityChat.html",appInsightsEnabled:false,useResolvePageWSDomain:false,resolvePageWSDomain:"",vanityDomain:"https://xchat.xfinity.com",FMProxy:{fcns:{},addFcn:function(name,fcnStr){var obj=null;try{obj=evaluateLegacySettings("({'"+name+"':"+fcnStr+"})");}
catch(err){throw"function eval failed. err="+err.toString();}
this.fcns[name]=obj[name];},getFcn:function(name){return this.fcns[name];},removeFcn:function(name){if(!!this.fcns[name]){delete this.fcns[name];return true;}
return false;},getHelperFcn:function(name){var props=[];if(typeof name==='string')props=name.split(".");var obj=window;for(var i=0;i<props.length;i++){var p=props[i];if(i==0&&p=="window")continue;if(typeof obj=="object")obj=obj[p];else{throw"Helper function not found by FcnProxy: "+name;}}
if(typeof obj!="function"){throw"Helper function not a function in FcnProxy: "+name;}
return obj;}}}
v3Lander.hostToPath["MOBILE.COMCAST.COM"]="/mt/www.comcast.com/includes/inq/xfinityChat.html";v3Lander.hostToPath["WWW.XFINITYONCAMPUS.COM"]="/va/app/xfinityoncampus/xfinityChat.html";v3Lander.hostToPath["BUSINESS.COMCAST.COM"]="/includes/inq/xfinityChat.html";v3Lander.hostToPath["CONCIERGE.XC3.XFINITY.COM"]="/va/app/xfinity-communities-concierge/xfinityChat.html";v3Lander.hostToPath["IDM.XFINITY.COM"]="/myaccount/resources/nuance/xfinityChat.html";v3Lander.hostToPath["VERIFY.IDENTITY.XFINITY.COM"]="/nuance/xfinityChat.html";v3Lander.hostToPath["WWW.STG.XFINITY.COM"]="/learn/nuance/xfinityChat.html";v3Lander.hostToPath["SITESEARCH.XFINITY.COM"]="/comcast/misc/xfinityChat.html";v3Lander.hostToPath["IDM-PERF.XFINITY.COM"]="/myaccount/resources/nuance/xfinityChat.html";v3Lander.hostToPath["BUSINESS.STG.COMCAST.COM"]="/includes/inq/xfinityChat.html";v3Lander.hostToPath["VERIFY-ST.IDENTITY.XFINITY.COM"]="/nuance/xfinityChat.html";v3Lander.hostToPath["ES.XFINITY.COM"]="/learn/nuance/xfinityChat.html";v3Lander.hostToPath["WWW.XFINITY.COM"]="/learn/nuance/xfinityChat.html";v3Lander.hostToPath["SITESEARCH.COMCAST.COM"]="/comcast/misc/xfinityChat.html";v3Lander.hostToPath["XFINITYONCAMPUS.COM"]="/va/app/xfinityoncampus/xfinityChat.html";v3Lander.hostToPath["IDM-ST.XFINITY.COM"]="/myaccount/resources/nuance/xfinityChat.html";v3Lander.hostToPath["SUPPORT.XUMO.COM"]="/hc/theming_assets/xfinityChat.html";function evaluateLegacySettings(string){return eval(string);}
function wrapWithTryCatch(code){return"try {\n"+code+"\n} catch(e){"
+"Inq.log('ERROR:' + e.message);"+"};";}
v3Lander.xframeToIjsf=function xframeToIjsf(){var items=name.split("||");var code=decodeURIComponent(items[3]);var chatStageWindow=window.parent.parent.parent.document.getElementById("inqChatStage").contentWindow;chatStageWindow.setTimeout(wrapWithTryCatch(code),1);}
function secureProtocol(url){return url.replace(/^HTTPS?:/i,"https:");}
if(typeof window.v3LanderConfig!="object"){try{if(parent&&parent.v3LanderConfig){window.v3LanderConfig={parent:parent.v3LanderConfig};}else if(parent.opener&&parent.opener.v3LanderConfig){window.v3LanderConfig={opener:parent.opener.v3LanderConfig};}else{window.v3LanderConfig={};}}catch(e){window.v3LanderConfig={};}}
function getParentV3LanderConfig(){return v3LanderConfig.parent;}
v3Lander.getOpenerV3LanderConfig=function(){return(v3LanderConfig.parent&&v3LanderConfig.parent.opener)||v3LanderConfig.opener;}
v3Lander.getV3LanderConfigProperty=function(propertyName,defaultValue){defaultValue=defaultValue||null;if(v3LanderConfig[propertyName]){return v3LanderConfig[propertyName];}else if(getParentV3LanderConfig()&&getParentV3LanderConfig()[propertyName]){return getParentV3LanderConfig()[propertyName];}else if(v3Lander.getOpenerV3LanderConfig()&&v3Lander.getOpenerV3LanderConfig()[propertyName]){return v3Lander.getOpenerV3LanderConfig()[propertyName];}else{return defaultValue;}}
function loadChat(){var bdy=document.getElementsByTagName("BODY");if(bdy&&bdy[0]){var srctag=document.createElement("script");var url;var fileName;var isSDK=false;if(document.currentScript){var currentScriptSrc=document.currentScript.src;isSDK=currentScriptSrc.indexOf("chatVersion=sdk")!==-1;}else{var scriptList=document.scripts;for(var i=0;i<scriptList.length;i++){var src=scriptList[i].src;if(src&&src.indexOf("inqChatLaunch")!==-1){isSDK=src.indexOf("chatVersion=sdk")!==-1;break;}}}
if(isSDK){fileName="sdkChatLoader";v3Lander.noJSHosting=false;}else{fileName="chatLoader";}
url=getPath()+fileName+(v3Lander.isObfuscated?".min":"")
+".js?codeVersion="+encodeURIComponent(v3Lander.codeVersion);srctag.src=secureProtocol(url);srctag.type="text/javascript";srctag.charset="utf-8";srctag.language="javascript";bdy[0].appendChild(srctag);}
function getPath(){if(window.location.href.indexOf("?POST2SERVER")!=-1){var href=window.location.href;if(href.indexOf("&clientHosted")!=-1&&v3Lander.noJSHosting&&!window.v3LanderConfig.clientStaticUrl){var _script=document.currentScript||document.querySelector('script[src*="inqChatLaunch"]');if(_script){window.v3LanderConfig.clientStaticUrl=_script.src.substring(0,_script.src.lastIndexOf("/"));}}
if(window.v3LanderConfig.isWebSDK){v3Lander.noJSHosting=false;}}
if(v3Lander.noJSHosting){return v3Lander.getV3LanderConfigProperty("clientStaticUrl",v3Lander.staticClientURL)+"/";}else{if(v3LanderConfig.vanityDomain){return v3LanderConfig.vanityDomain+"/chatskins/launch/";}
return(v3Lander.mediaServer||v3Lander.vanityDomain)+"/media/launch/";}}}
loadChat();}