function WMSSessionConfig(){}WMSSessionConfig.CHAT=1,WMSSessionConfig.CHAT_PRESENCE=2,WMSSessionConfig.PRESENCE_PERSONAL=4,WMSSessionConfig.PRESENCE_ORG=8,WMSSessionConfig.LOADBALANCED=16,WMSSessionConfig.MP=32,WMSSessionConfig.CROSS_PRD=64,WMSSessionConfig.MULTI_DISPATCH=128,WMSSessionConfig.REUSE_SESSION=256,WMSSessionConfig.TRANSIENT_PEX=512,WMSSessionConfig.APPNOTIFY=1024;var _WMSAUTHTOKEN,_WMSAUTHSCOPE,_WMSZAID,_WMSPOTYPE,_WMSOAUTHTOKEN,_WMSOAUTHORGSCOPE,_WMSOAUTHUSERSCOPE,_WMSOAUTHOPRSCOPE,_WMSRTCATOKEN,wmsCountDownTimer,WM_TICKET="IAMAGENTTICKET",WM_D="zoho.com",WM_SAMED=!1,WM_FD=!1,WM_C="15",_WMSCONT="wms",wms_op=-1!=navigator.userAgent.indexOf("Opera"),wms_sf=-1!=navigator.userAgent.indexOf("Safari"),wms_ie=!wms_op&&/msie/i.test(navigator.userAgent),lfromstatic=!1,wmsjsversion="v60",_WMS_NODOMAINCHANGE=!1,_WMSSST=!1,_RETRYREGINTERVAL=1e4,iswmsframemonitorrunning=!1,iswmsframeloaded=!1,retryregistertimer=null,wmsdebuginfo=[],_WMS_RETRY_COUNT=0,wmsUserConfig={},_WMS_LP="false",_NEWCLIENTPORTAL_AUTHENTICATION=!1;function push(e){WmsLite.push(e),setTimeout((function(){WmsLite.updateClientDebugStore(e)}),1)}function getPrd(){return WmsLite.prd}function getWmsConfig(){return WM_C}function getUserName(){return WmsLite.uname}function getNickName(){return WmsLite.nname}function getZuid(){return WmsLite.zuid}function getUserId(){return WmsLite.uid}function getSid(){return WmsLite.sid}function getRawSid(){return WmsLite.rsid}function isReconnecting(){return WmsLite.reconnecting}function disablewms(){WmsLite.disable()}function isdisablewms(){return WmsLite.disablewms}function goOffline(){}function getWmsContacts(){return{}}function updateWmsContacts(){}function getWmsXA(){return WmsLite.XA}function WmsLite(){}function getWMSOAuthCredentials(){return{token:_WMSOAUTHTOKEN,orgscope:_WMSOAUTHORGSCOPE,userscope:_WMSOAUTHUSERSCOPE,oprscope:_WMSOAUTHOPRSCOPE}}function getWMSRTCAccessToken(){return _WMSRTCATOKEN}function getNewClientPortalAuthentication(){return _NEWCLIENTPORTAL_AUTHENTICATION}function populateSpecialWMSAnnouncement(e){WmsLite.populateSpecialWMSAnnouncement(e)}function isLongPollingForced(){return _WMS_LP}function _getAuthType(){return WmsLite.authtype}function getAuthToken(){return _WMSAUTHTOKEN}function getAuthScope(){return _WMSAUTHSCOPE}function getZAID(){return _WMSZAID}function nocachefix(){return"&nocache="+(new Date).getTime()}function WmsLiteUtil(){}!function(){var e=[];function t(e){e&&e.linkdetails&&(e.linkdetails.cliq_message&&e.linkdetails.cliq_message.msg&&(e.linkdetails.description=e.linkdetails.cliq_message.msg="**********",e.linkdetails.cliq_message.meta&&e.linkdetails.cliq_message.meta.opr_replydetails&&i(e.linkdetails.cliq_message.meta)),"rich"==e.linkdetails.linktype&&(e.linkdetails.description="**********"))}function i(e){if(e&&e.opr_replydetails){var t=e.opr_replydetails;"20"==t.mtype&&t.addinfo&&t.addinfo.comment?t.addinfo.comment="**********":t.msg&&(t.msg="**********")}}function s(e){"string"==typeof e.msg&&(e.msg="**********"),e.notification_text&&(e.notification_text="**********"),e.meta&&(t(e.meta),i(e.meta))}WmsLite.updateClientDebugStore=function(n){var o=JSON.parse(JSON.stringify(n));if(e.length>=1e3&&e.shift(),o.timestamp=(new Date).getTime(),o.mtype){if("12"===o.mtype){if(o.msg&&(o.msg.msg="**********",o.msg.notification_text&&(o.msg.notification_text="**********"),o.msg.msglist))for(var r in o.msg.msglist)s(o.msg.msglist[r])}else if("20"===o.mtype)o.msg&&(o.msg.comment="**********",o.msg.msg&&(o.msg.msg.comment="**********"));else if("66"===o.mtype||"64"===o.mtype){if(o.msg&&o.msg.msg){for(var r in o.msg.msg){var m=o.msg.msg[r];m.msg&&s(m.msg)}"string"==typeof o.msg.msg&&(o.msg.msg="**********"),o.msg.notification_text&&(o.msg.notification_text="**********")}}else if("50"==o.mtype){var a=o.msg.uc||o.msg.ac;for(var u in a){var c=a[u].lmhash;"20"==(c=JSON.parse(c)).mtype||"64"==c.mtype&&"att"==c.__module?c.msg&&c.msg.comment&&(c.msg.comment="**********"):"12"!=c.mtype&&"66"!=c.mtype&&"64"!=c.mtype||(c.msg="**********"),c.meta&&(t(c.meta),i(c.meta)),c=JSON.stringify(c),a[u].lmhash=c}}else"23"==o.mtype&&o.msg&&o.msg.s&&(o.msg.s=o.msg.s.replace(/([a-z0-9]([a-z0-9_\-.+]*)@([a-z0-9_\-.]*)(\.[a-z]{2,30}(\.[a-z]{2}){0,2}))/g,"**********"));o.msg&&o.msg.meta&&(t(o.msg.meta),i(o.msg.meta))}e.push(o)},WmsLite.getClientDebugStore=function(){return e}}(),WmsLite.jsstaticdomain="",function(){var e;document.currentScript?e=document.currentScript:void 0!==document.querySelector&&(e=document.querySelector('script[src*="ichat"][src*="wmslite"]')),e&&(WmsLite.jsstaticdomain=e.src.split("/")[2])}(),WmsLite.bsettings={},WmsLite.network_info={},WmsLite.banner_msg_cache=[],WmsLite.clientportal_info={},WmsLite.getDebugInfo=function(){return wmsdebuginfo},WmsLite.updateDebugInfo=function(e){"string"==typeof e?(e+=";;"+(new Date).getTime(),wmsdebuginfo.length>=300&&wmsdebuginfo.splice(0,1),wmsdebuginfo.push(e)):wmsdebuginfo=e},WmsLite.setOAuthCredentials=function(e,t,i,s){_WMSOAUTHTOKEN=e,_WMSOAUTHORGSCOPE=t||_WMSOAUTHORGSCOPE,_WMSOAUTHUSERSCOPE=i||_WMSOAUTHUSERSCOPE,_WMSOAUTHOPRSCOPE=s||_WMSOAUTHOPRSCOPE,"function"==typeof WmsLite.updateOAuthCredInBridge&&WmsLite.updateOAuthCredInBridge()},WmsLite.init=function(){function e(e){var t;try{t=JSON.parse(e.data)}catch(e){return}var i=t.opr,s=t.params;if("push"===i)push.apply(null,s);else if("serverup"===i)WmsLite.serverup.apply(null,s);else if("serverdown"===i)WmsLite.serverdown.apply(null,s);else if("updateDebugInfo"===i)WmsLite.updateDebugInfo.apply(null,s);else if("disablewms"===i)disablewms();else if("getClientSRIValues"===i){var n={opr:"clientSRIValues",params:{bridgesrihash:WmsLite.getClientSRIValues(s)}};WmsLite.pconnectframe.contentWindow.postMessage(JSON.stringify(n),"*")}}return function(){_WMS_NODOMAINCHANGE||wms_op||WM_SAMED||!(!wms_ie||wms_ie&&WM_FD)||(document.domain=WM_D),this.lastconnect=-1,this.disablewms=!1,WmsLite.offline=!1,WmsLite.initcountdown=!0,WmsLite.isCrossOriginAllowed()&&(WmsLite.triggerbind=function(){var e={opr:"triggerbind",params:{zuid:WmsLite.zuid,rawsid:WmsLite.rsid,sid:WmsLite.sid}};WmsLite.pconnectframe.contentWindow.postMessage(JSON.stringify(e),"*")},window.removeEventListener("message",e),window.addEventListener("message",e))}}(),WmsLite.isCrossOriginAllowed=function(){if(WmsLite.crossoriginallowed&&("$"===this.zuid.charAt(0)||0===this.zuid.indexOf("RT_2")))return!0},WmsLite.allowCrossOrigin=function(e){WmsLite.crossoriginallowed=!0,WmsLite.hosturl=e},WmsLite.reconnect=function(e,t,i){null!=i&&1==i&&(this.reconnecting=!1),1!=this.reconnecting&&(this.reconnecting=!0,null==this.retry&&(this.retry=0),this.retry++,setTimeout((function(){WmsLite.registerWms(WmsLite.prd,WmsLite.zuid,WmsLite.uname,null,!0,!0)}),e),this.serverdown())},WmsLite.registerZuid=function(e,t,i,s){this.registerWms(e,t,i,null,s)},WmsLite.setIamTicketName=function(e){WM_TICKET=e},WmsLite.setConfig=function(e){WM_C=e},WmsLite.setDomain=function(e){WM_D=e},WmsLite.useSameDomain=WmsLite.enableCustomDomain=function(){WM_SAMED=!0},WmsLite.forceDomainChange=function(){WM_FD=!0},WmsLite.setNoDomainChange=function(){_WMS_NODOMAINCHANGE=!0},WmsLite.setNickName=function(e){WmsLite.nname=e},WmsLite.setNewClientPortalAuthentication=function(){_NEWCLIENTPORTAL_AUTHENTICATION=!0},WmsLite.setRTCAccessToken=function(e){_WMSRTCATOKEN=e},WmsLite.registerAnnon=function(e,t,i,s){WmsLite.authtype=4,WmsLite.registerannonuser=!0,WmsLite.register(e,t,i,s)},WmsLite.register=function(e,t,i,s,n,o,r,m,a,u){if("undefined"==typeof JSON){var c=document.createElement("script"),l=window.location.protocol,f="https:"===l?wmsjsversion+"_https":wmsjsversion;c.type="text/javascript",c.src=l+"//"+this.jsstaticdomain+"/ichat/"+f+"/js/8b9999fd_json2.min.js",document.body.appendChild(c),WmsLite.attachonload.call(c,W)}else W();function W(){_WMSAUTHSCOPE=o,_WMSZAID=r,_WMSPOTYPE=m,(_WMSAUTHTOKEN=n)&&_WMSAUTHSCOPE&&(WmsLite.authtype=1),_WMSAUTHTOKEN&&_WMSZAID&&(WmsLite.authtype=8),_WMSZAID&&WmsLite.tokenpairauth&&(WmsLite.authtype=10),_WMSOAUTHTOKEN&&(WmsLite.authtype=9),_WMSRTCATOKEN&&(WmsLite.authtype=13),WmsLite.registerWms(e,t,null,i,s,null,a,u)}},WmsLite.attachonload=function(e){void 0!==this.readyState?this.onreadystatechange=function(){"loaded"!=this.readyState&&"complete"!=this.readyState||e.call(this)}:this.onload=function(){e.call(this)}},WmsLite.enablePreconnectToWMS=function(e){WmsLite.preconnect_wms_domain=e},WmsLite.setNetworkDetails=function(e){return WmsLite.network_info.id=e.id,WmsLite.network_info.user_id="o-"+WmsLite.prd+"-"+e.id+"-"+WmsLite.zuid,WmsLite.network_info.url=e.url,WmsLite.network_info.details=e.details,WmsLite.network_info.user_id},WmsLite.setClientPortalDetails=function(e){return WmsLite.clientportal_info.id=e.id,WmsLite.clientportal_info.user_id="o-"+WmsLite.prd+"-"+e.parent_network_id+"-"+WmsLite.zuid,WmsLite.clientportal_info.url=e.url,WmsLite.clientportal_info.details=e.details,WmsLite.clientportal_info.user_id},WmsLite.enableCrossOriginIsolation=function(){WmsLite.crossoriginisolation=!0},WmsLite.registerWms=function(e,t,i,s,n,o,r,m){if(WmsLite.preconnect_wms_domain){var a=document.createElement("link");a.href="https://"+WmsLite.preconnect_wms_domain,a.rel="preconnect",document.head.appendChild(a)}if(WmsLite.prefetchWmsBridgeJS(),this.prd=e,this.uname=null!=i&&null!=i?i:"",this.zuid=null!=t&&null!=t?t:"",this.zuid=this.zuid&&r?this.setNetworkDetails(r):this.zuid,this.zuid=this.zuid&&m?this.setClientPortalDetails(m):this.zuid,_WMS_RETRY_COUNT++,WmsLite.updateDebugInfo("onRegister. Tab ID: "+window.getWmsTabId()+" count: "+_WMS_RETRY_COUNT),void 0===WmsLite.authtype&&WmsLite.enableTokenPairAuth(),void 0===this.nname&&(this.nname=null!=s&&null!=s?s:""),null==o&&this.init(null!=n&&n),"undefined"!=typeof CrmPlusImpl&&"function"==typeof CrmPlusImpl.isLoadedInCrmplus&&CrmPlusImpl.isLoadedInCrmplus()&&"CT"!=WmsLite.prd&&"LD"!=WmsLite.prd&&(WM_C&=~WMSSessionConfig.PRESENCE_PERSONAL),this.pconnectframe=document.getElementById("pconnect"),!this.pconnectframe){var u=document.createElement("iframe");u.name="wmspconnect",u.id="pconnect",u.style.display="none",document.body.appendChild(u),this.pconnectframe=document.getElementById("pconnect")}var c=""!=this.zuid?this.zuid:this.uname,l="";WmsLite.network_info.url&&(l="/"+(l="/"===WmsLite.network_info.url[0]?WmsLite.network_info.url.slice(1):WmsLite.network_info.url)),WmsLite.clientportal_info.url&&(l="/"+(l="/"===WmsLite.clientportal_info.url[0]?WmsLite.clientportal_info.url.slice(1):WmsLite.clientportal_info.url));var f="/"+_WMSCONT+l+"/pconnect.sas?settings=true&prd="+this.prd+"&uname="+c+"&samedomain="+WM_SAMED+nocachefix()+"&config="+WM_C+"&wmscont="+_WMSCONT+"&nodomainchange="+_WMS_NODOMAINCHANGE+"&retrycount="+_WMS_RETRY_COUNT+"&tabid="+window.getWmsTabId();if(lfromstatic&&(f+="&staticdomain="+WmsLite.jsstaticdomain+"&staticversion="+wmsjsversion),_WMSSST&&(f+="&sst=true"),WmsLite.tokenpairauth&&(f+="&tokenpair=true"),WmsLite.crossoriginallowed&&(f+="&crossorigin=true"),WmsLite.hosturl&&(f=WmsLite.hosturl+f),WmsLite.frameorigin)f+="&frameorigin="+WmsLite.frameorigin;else{var W=window.location.protocol+"//"+window.location.host;if(window!==window.top){if("about:"==window.location.protocol){for(var d=window;"about:"==d.location.protocol&&d.parent;)d=d.parent;W=d.location.protocol+"//"+d.location.host}if(void 0!==location.ancestorOrigins)for(var p=0;p