','\x20
','\x20\x20
\x20
','
','insertAdjacentHTML','beforeend','start-chat-close-btn','click','stopPropagation','substring','start-chat-text-area','start-chat-area','whiteSpace','normal','top','-7px','6px','fontSize','15px','38px','lineHeight','19px','maxWidth','360px','start-chat-button-area','21px','42px','84px','230px','marginTop','1em','250px','onmessage','In\x20webchat\x20-\x20window.onmessage\x20->\x20','data','unityContactServerJourney','source','postMessage','origin','unityContactServerJourneyClear','unityContactServerWindowEvent','minimize','overflow','auto','position','initial','visible','unity-wc-send-to-front','hidden','talk-bubble','text-collapse','quit','unityContactServerIsWebRegistered','unityContactServerIsWebChatHideOnClose','unityContactServerIsWebChatHideAfterConversation','unityContactServerWebChatStartImageLocation','unityContactServerMessageCount','removeAttribute','data-notifications','unityContactServerPortalSettings','unityContactServerPortalSettingsQueueId','unityContactServerPortalSettingsMediaStreamId','unityContactServerPortalSettingsConversationOpen','unityContactServerCallbackHideOnClose','unityContactServerAgentAvatarChange','Avatar\x20change\x20request\x20received','reloadchat','>>>>>>reloadchat','Change\x20request\x20->\x20','Resetting\x20avatar\x20to\x20svg','image-holder','image-outer','has-photo','Changing\x20avatar','backgroundImage','url(','webChatWindow.html?strQueueId=','&StreamIdentifier=','100%','right','left','375px','full-height','fixed','setTime','toUTCString','Demo','Fri,\x2030\x20Jul\x202021\x2008:22:31\x20GMT','clear\x20Journey\x20Cookie\x20webchat.js','Removing\x20iFrame','onbeforeunload','contentWindow','
','
','classList','contains','match','(\x5cs|^)','(\x5cs|$)','add','remove','orientation','undefined','userAgent','indexOf','IEMobile','test','MSStream'];var _0x16a3=function(_0x9c6930,_0x1670a0){_0x9c6930=_0x9c6930-0x0;var _0x29e3b1=_0x43ba[_0x9c6930];return _0x29e3b1;};var pageReference=_0x16a3('0x0');var portalAddress=_0x16a3('0x1');var chatActive=![];var strQueueId='';var mediastreamIdArray;var mediastreamCounter=0x0;var strMediaStreamId='';var isRequestSuccessful=![];var strErrorMessage='';var strProcessingServerAddress='';var strremotePartyName='';var strWebChatDisplayAgentName='';var displayAgentName=![];var isWebChatCallBack=![];var strwebChatCallbackStartText='';var strwebChatCallBackEndText='';var isName=![];var isNameMandatory=![];var isEmail=![];var isEmailMandatory=![];var isNumber=![];var isNumberMandatory=![];var strExternalReferenceText='';var isExternalReferenceTextMandatory=![];var isAttachmentsAllowed=![];var isWebChatClientVisible=![];var strWebChatPrimaryColour=_0x16a3('0x2');var strWebChatDarkColour=_0x16a3('0x2');var strWebChatFontName=_0x16a3('0x3');var strWebChatFontSize='16';var strwebChatStartImageType=_0x16a3('0x4');var isWebChatWindowDocked=![];var strIsInverted='';var strwebChatStartImageLocation=_0x16a3('0x5');var intwebChatStartImageDelayInMS=0x0;var strwebChatAvatarPath='';var strwebChatStartText=_0x16a3('0x6');var strwebChatButtonText=_0x16a3('0x7');var strWebChatWelcomeMessage='';var strWebChatShowRating=![];var isWebChatHideAfterConversation=![];var isWebChatHideOnClose=![];var chatNotificationContainer=null;var isHiddenManual=![];var isWebRegistered=![];var isPresenceBasedScripting=![];var isMobile=null;var departmentXml='';var defaultAvatarValue;var webChatTranscriptAvailable=![];var webChatRecordJourney=![];var samepageLocalstorageTriggered=![];var LS_CONVERSATION_OPEN=_0x16a3('0x8');var LS_JOURNEY=_0x16a3('0x9');var WEBCHAT_HIDE_ON_CLOSE=_0x16a3('0xa');var CALLBACK_HIDE_ON_CLOSE=_0x16a3('0xb');var journeyInfo='';var iframe;var iframe2;window[_0x16a3('0xc')](_0x16a3('0xd'),storageListener);window[_0x16a3('0xc')](_0x16a3('0xe'),startChatWindow);document[_0x16a3('0xc')](_0x16a3('0xf'),startChatWindow,![]);var typingTimer;var storagelistenerFiredAt=null;var sessionType='';var navigationType='';function storageListener(_0x3cc6e5){storagelistenerFiredAt=new Date();if(_0x3cc6e5[_0x16a3('0x10')]!=null){if(!samepageLocalstorageTriggered&&_0x3cc6e5[_0x16a3('0x10')][_0x16a3('0x11')](_0x16a3('0x12'))){webChatLog(_0x16a3('0x13'));setLocalStorageItem(_0x16a3('0x14'),new Date()[_0x16a3('0x15')]());samepageLocalstorageTriggered=!![];}else if(!samepageLocalstorageTriggered&&_0x3cc6e5[_0x16a3('0x10')][_0x16a3('0x11')](_0x16a3('0x14'))){webChatLog(_0x16a3('0x16'));sessionStorage[_0x16a3('0x17')](_0x16a3('0x14'),new Date()[_0x16a3('0x15')]());}else if(samepageLocalstorageTriggered&&(_0x3cc6e5[_0x16a3('0x10')][_0x16a3('0x11')](_0x16a3('0x12'))||_0x3cc6e5[_0x16a3('0x10')][_0x16a3('0x11')](_0x16a3('0x14')))){samepageLocalstorageTriggered=![];}else if(_0x3cc6e5[_0x16a3('0x10')]==strQueueId+strMediaStreamId+WEBCHAT_HIDE_ON_CLOSE||_0x3cc6e5[_0x16a3('0x10')]==strQueueId+strMediaStreamId+CALLBACK_HIDE_ON_CLOSE){removeIframe();}}}function startChatWindow(){webChatLog(_0x16a3('0x18')+sessionStorage[_0x16a3('0x19')](_0x16a3('0x14')));samepageLocalstorageTriggered=isIos13()?!![]:![];setLocalStorageItem(_0x16a3('0x12'),new Date()[_0x16a3('0x15')]());if(!chatActive){chatActive=!![];var _0xad74=document[_0x16a3('0x1a')](_0x16a3('0x1b'));if(_0xad74){var _0xf8ecde=_0xad74[_0x16a3('0x1c')](_0x16a3('0x1d'));if(_0xf8ecde&&_0xf8ecde[_0x16a3('0x1e')]()==_0x16a3('0x1f')){webChatLog(_0x16a3('0x20'));loadChatPreview();}else{if(document[_0x16a3('0x21')]){webChatLog(_0x16a3('0x22'));return;}else{strQueueId=_0xad74[_0x16a3('0x1c')](_0x16a3('0x23'))[_0x16a3('0x1e')]();mediastreamIdArray=_0xad74[_0x16a3('0x1c')](_0x16a3('0x24'));if(mediastreamIdArray){mediastreamIdArray=mediastreamIdArray[_0x16a3('0x25')](',');}else{isPresenceBasedScripting=!![];}getProcessingServerAddress();}}}}}function loadChatPreview(){addListenersToPortalFields();reloadChat();}function addListenersToPortalFields(){document[_0x16a3('0x1a')](_0x16a3('0x26'))[_0x16a3('0xc')](_0x16a3('0x27'),buildChat);document[_0x16a3('0x1a')](_0x16a3('0x28'))[_0x16a3('0xc')](_0x16a3('0x29'),buildChat);document[_0x16a3('0x1a')](_0x16a3('0x2a'))[_0x16a3('0xc')](_0x16a3('0x29'),buildChat);document[_0x16a3('0x1a')](_0x16a3('0x2b'))[_0x16a3('0xc')](_0x16a3('0x29'),buildChat);document[_0x16a3('0x1a')](_0x16a3('0x2c'))[_0x16a3('0xc')](_0x16a3('0x29'),buildChat);document[_0x16a3('0x1a')](_0x16a3('0x2d'))[_0x16a3('0xc')](_0x16a3('0x29'),buildChat);document[_0x16a3('0x1a')](_0x16a3('0x2e'))[_0x16a3('0xc')](_0x16a3('0x29'),buildChat);document[_0x16a3('0x1a')](_0x16a3('0x2f'))[_0x16a3('0xc')](_0x16a3('0x29'),buildChat);document[_0x16a3('0x1a')](_0x16a3('0x30'))[_0x16a3('0xc')](_0x16a3('0x29'),buildChat);var _0x103cf4=document[_0x16a3('0x1a')](_0x16a3('0x31'));if(_0x103cf4){_0x103cf4[_0x16a3('0xc')](_0x16a3('0x27'),buildChat);}var _0x28e2a4=document[_0x16a3('0x1a')](_0x16a3('0x32'));if(_0x28e2a4){_0x28e2a4[_0x16a3('0xc')](_0x16a3('0x27'),buildChat);}document[_0x16a3('0x1a')](_0x16a3('0x33'))[_0x16a3('0xc')](_0x16a3('0x29'),buildChat);document[_0x16a3('0x1a')](_0x16a3('0x34'))[_0x16a3('0xc')](_0x16a3('0x29'),buildChat);document[_0x16a3('0x1a')](_0x16a3('0x35'))[_0x16a3('0xc')](_0x16a3('0x29'),buildChat);document[_0x16a3('0x1a')](_0x16a3('0x36'))[_0x16a3('0xc')](_0x16a3('0x29'),buildChat);document[_0x16a3('0x1a')](_0x16a3('0x37'))[_0x16a3('0xc')](_0x16a3('0x29'),buildChat);document[_0x16a3('0x1a')](_0x16a3('0x38'))[_0x16a3('0xc')](_0x16a3('0x29'),buildChat);document[_0x16a3('0x1a')](_0x16a3('0x39'))[_0x16a3('0xc')](_0x16a3('0x29'),buildChat);var _0x4224a2=document[_0x16a3('0x3a')](_0x16a3('0x3b'));for(var _0x1bb3af=_0x4224a2[_0x16a3('0x3c')]-0x1;_0x1bb3af>=0x0;_0x1bb3af--){_0x4224a2[_0x1bb3af][_0x16a3('0x3d')]=buildChat;}document[_0x16a3('0x1a')](_0x16a3('0x3e'))[_0x16a3('0xc')](_0x16a3('0x29'),buildChat);document[_0x16a3('0x1a')](_0x16a3('0x3f'))[_0x16a3('0xc')](_0x16a3('0x27'),buildChat);document[_0x16a3('0x1a')](_0x16a3('0x40'))[_0x16a3('0xc')](_0x16a3('0x27'),buildChat);document[_0x16a3('0x1a')](_0x16a3('0x41'))[_0x16a3('0xc')](_0x16a3('0x29'),buildChat);document[_0x16a3('0x1a')](_0x16a3('0x42'))[_0x16a3('0xc')](_0x16a3('0x27'),buildChat);document[_0x16a3('0x1a')](_0x16a3('0x43'))[_0x16a3('0xc')](_0x16a3('0x29'),buildChat);document[_0x16a3('0x1a')](_0x16a3('0x44'))[_0x16a3('0xc')](_0x16a3('0x27'),buildChat);document[_0x16a3('0x1a')](_0x16a3('0x45'))[_0x16a3('0xc')](_0x16a3('0x29'),buildChat);document[_0x16a3('0x1a')](_0x16a3('0x46'))[_0x16a3('0xc')](_0x16a3('0x29'),buildChat);document[_0x16a3('0x1a')](_0x16a3('0x47'))[_0x16a3('0xc')](_0x16a3('0x27'),buildChat);document[_0x16a3('0x1a')](_0x16a3('0x48'))[_0x16a3('0xc')](_0x16a3('0x27'),buildChat);}function buildChat(){clearTimeout(typingTimer);typingTimer=setTimeout(reloadChat,0x320);}function reloadChat(){removeOldChatComponents();loadValuesFromPage();initializeChat();}function removeOldChatComponents(){chatNotificationContainer=document[_0x16a3('0x1a')](_0x16a3('0x49'));if(chatNotificationContainer){chatNotificationContainer[_0x16a3('0x4a')][_0x16a3('0x4b')](chatNotificationContainer);isHiddenManual=![];}var _0x50218f=document[_0x16a3('0x1a')](_0x16a3('0x4c'));if(_0x50218f){_0x50218f[_0x16a3('0x4a')][_0x16a3('0x4b')](_0x50218f);}var _0x3c88ef=document[_0x16a3('0x1a')](_0x16a3('0x4d'));if(_0x3c88ef){_0x3c88ef[_0x16a3('0x4a')][_0x16a3('0x4b')](_0x3c88ef);}c8_removeClass(document[_0x16a3('0x4e')],_0x16a3('0x4f'));c8_removeClass(document[_0x16a3('0x4e')],_0x16a3('0x50'));c8_removeClass(document[_0x16a3('0x4e')],_0x16a3('0x51'));}function loadValuesFromPage(){var _0x3c3df3=document[_0x16a3('0x1a')](_0x16a3('0x52'));if(document[_0x16a3('0x1a')](_0x16a3('0x37'))[_0x16a3('0x53')]=='2'&&_0x3c3df3){strremotePartyName=_0x3c3df3[_0x16a3('0x53')];}else{strremotePartyName=document[_0x16a3('0x1a')](_0x16a3('0x26'))[_0x16a3('0x53')];}isWebChatCallBack=document[_0x16a3('0x1a')](_0x16a3('0x28'))[_0x16a3('0x53')]=='5'?!![]:![];isName=document[_0x16a3('0x1a')](_0x16a3('0x2a'))[_0x16a3('0x53')]=='0'?![]:!![];isEmail=document[_0x16a3('0x1a')](_0x16a3('0x2b'))[_0x16a3('0x53')]=='0'?![]:!![];isNumber=document[_0x16a3('0x1a')](_0x16a3('0x2c'))[_0x16a3('0x53')]=='0'?![]:!![];isNameMandatory=document[_0x16a3('0x1a')](_0x16a3('0x2a'))[_0x16a3('0x53')]=='1'?!![]:![];isEmailMandatory=document[_0x16a3('0x1a')](_0x16a3('0x2b'))[_0x16a3('0x53')]=='1'?!![]:![];isNumberMandatory=document[_0x16a3('0x1a')](_0x16a3('0x2c'))[_0x16a3('0x53')]=='1'?!![]:![];webChatTranscriptAvailable=document[_0x16a3('0x1a')](_0x16a3('0x2d'))[_0x16a3('0x54')];webChatRecordJourney=document[_0x16a3('0x1a')](_0x16a3('0x2e'))[_0x16a3('0x54')];if(isWebChatCallBack){isExternalReferenceTextMandatory=document[_0x16a3('0x1a')](_0x16a3('0x30'))[_0x16a3('0x53')]=='1'?!![]:![];strExternalReferenceText=document[_0x16a3('0x1a')](_0x16a3('0x32'))[_0x16a3('0x53')];if(document[_0x16a3('0x1a')](_0x16a3('0x30'))[_0x16a3('0x53')]=='0'){strExternalReferenceText='';}}else{isExternalReferenceTextMandatory=document[_0x16a3('0x1a')](_0x16a3('0x2f'))[_0x16a3('0x53')]=='1'?!![]:![];strExternalReferenceText=document[_0x16a3('0x1a')](_0x16a3('0x31'))[_0x16a3('0x53')];if(document[_0x16a3('0x1a')](_0x16a3('0x2f'))[_0x16a3('0x53')]=='0'){strExternalReferenceText='';}}isAttachmentsAllowed=document[_0x16a3('0x1a')](_0x16a3('0x43'))[_0x16a3('0x54')];strWebChatWelcomeMessage=document[_0x16a3('0x1a')](_0x16a3('0x44'))[_0x16a3('0x53')];isWebChatHideAfterConversation=document[_0x16a3('0x1a')](_0x16a3('0x45'))[_0x16a3('0x54')];isWebChatHideOnClose=document[_0x16a3('0x1a')](_0x16a3('0x35'))[_0x16a3('0x54')];strWebChatPrimaryColour=document[_0x16a3('0x1a')](_0x16a3('0x36'))[_0x16a3('0x53')];if(!strWebChatPrimaryColour){var _0x2f00a1=document[_0x16a3('0x1a')](_0x16a3('0x55'));if(_0x2f00a1){strWebChatPrimaryColour=document[_0x16a3('0x1a')](_0x16a3('0x55'))[_0x16a3('0x53')];}}displayAgentName=document[_0x16a3('0x1a')](_0x16a3('0x46'))[_0x16a3('0x54')];strWebChatDarkColour=shadeColor(strWebChatPrimaryColour,-0x14);strwebChatCallbackStartText=document[_0x16a3('0x1a')](_0x16a3('0x47'))[_0x16a3('0x53')];strwebChatCallBackEndText=document[_0x16a3('0x1a')](_0x16a3('0x48'))[_0x16a3('0x53')];strwebChatStartImageType=document[_0x16a3('0x1a')](_0x16a3('0x38'))[_0x16a3('0x53')];isWebChatWindowDocked=document[_0x16a3('0x1a')](_0x16a3('0x39'))[_0x16a3('0x53')]=='1'?!![]:![];var _0x4e6224=document[_0x16a3('0x3a')](_0x16a3('0x3b'));for(var _0x329ff3=_0x4e6224[_0x16a3('0x3c')];_0x329ff3--;){if(_0x4e6224[_0x329ff3][_0x16a3('0x54')]){strwebChatAvatarPath=_0x4e6224[_0x329ff3][_0x16a3('0x53')];break;}}strIsInverted=document[_0x16a3('0x1a')](_0x16a3('0x3e'))[_0x16a3('0x54')]?_0x16a3('0x56'):'';strwebChatStartText=document[_0x16a3('0x1a')](_0x16a3('0x3f'))[_0x16a3('0x53')];strwebChatButtonText=document[_0x16a3('0x1a')](_0x16a3('0x40'))[_0x16a3('0x53')];strwebChatStartImageLocation=document[_0x16a3('0x1a')](_0x16a3('0x41'))[_0x16a3('0x53')]=='1'?_0x16a3('0x57'):_0x16a3('0x5');intwebChatStartImageDelayInMS=document[_0x16a3('0x1a')](_0x16a3('0x42'))[_0x16a3('0x53')];strWebChatShowRating=document[_0x16a3('0x1a')](_0x16a3('0x34'))[_0x16a3('0x54')];isWebChatClientVisible=document[_0x16a3('0x1a')](_0x16a3('0x28'))[_0x16a3('0x53')]=='2'||document[_0x16a3('0x1a')](_0x16a3('0x28'))[_0x16a3('0x53')]=='5'?document[_0x16a3('0x1a')](_0x16a3('0x33'))[_0x16a3('0x53')]!=0x0:![];strWebChatDisplayAgentName=strremotePartyName;strQueueId='';strMediaStreamId=_0x16a3('0x58');strProcessingServerAddress=_0x16a3('0x58');strWebChatFontName=_0x16a3('0x58');strWebChatFontSize=_0x16a3('0x58');journeyInfo=_0x16a3('0x58');departmentXml='';}function getProcessingServerAddress(){if(mediastreamIdArray&&mediastreamIdArray[_0x16a3('0x3c')]>mediastreamCounter||isPresenceBasedScripting){var _0xe2c027=document[_0x16a3('0x59')][_0x16a3('0x5a')](null,_0x16a3('0x5b'),null);var _0x26b455=_0xe2c027[_0x16a3('0x5c')](_0x16a3('0x23'));_0x26b455[_0x16a3('0x5d')](document[_0x16a3('0x5e')](strQueueId));_0xe2c027[_0x16a3('0x5f')][_0x16a3('0x5d')](_0x26b455);if(!isPresenceBasedScripting){strMediaStreamId=mediastreamIdArray[mediastreamCounter][_0x16a3('0x1e')]();var _0x125c38=_0xe2c027[_0x16a3('0x5c')](_0x16a3('0x60'));_0x125c38[_0x16a3('0x5d')](document[_0x16a3('0x5e')](strMediaStreamId));_0xe2c027[_0x16a3('0x5f')][_0x16a3('0x5d')](_0x125c38);}var _0x363fa7=new XMLSerializer()[_0x16a3('0x61')](_0xe2c027)[_0x16a3('0x62')](_0x16a3('0x63'),'')[_0x16a3('0x62')](_0x16a3('0x64'),'');var _0x3e7089=_0x16a3('0x65')+_0x363fa7+_0x16a3('0x66');webChatLog(_0x16a3('0x67')+_0x3e7089);getMediaStreamInfoHttpRequest(portalAddress+_0x16a3('0x68'),_0x16a3('0x69'),_0x3e7089);}}function getMediaStreamInfoHttpRequest(_0x1efb34,_0x56aa0a,_0x370094){var _0x454828=new XMLHttpRequest();_0x454828[_0x16a3('0x6a')](_0x56aa0a,_0x1efb34,!![]);_0x454828[_0x16a3('0x6b')](_0x16a3('0x6c'),_0x16a3('0x6d'));_0x454828[_0x16a3('0x6e')](_0x370094);_0x454828[_0x16a3('0x6f')]=function(){if(_0x454828[_0x16a3('0x70')]==0x4){if(_0x454828[_0x16a3('0x71')]==0xc8){loadXmlValuesFromRequest(_0x454828[_0x16a3('0x72')]);return _0x454828[_0x16a3('0x72')];}return _0x16a3('0x73');}};}function loadXmlValuesFromRequest(_0x5b3d30){setLocalStorageItem(_0x16a3('0x12'),new Date()[_0x16a3('0x15')]());var _0x5b5074=null;var _0x117469=new DOMParser();_0x5b5074=_0x117469[_0x16a3('0x74')](_0x5b3d30,_0x16a3('0x75'));if(_0x5b5074[_0x16a3('0x76')](_0x16a3('0x77'))[_0x16a3('0x3c')]>0x0){var _0x2c14c1=_0x5b5074[_0x16a3('0x76')](_0x16a3('0x77'))[0x0];if(_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x78'))[_0x16a3('0x3c')]>0x0){isRequestSuccessful=_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x78'))[0x0][_0x16a3('0x79')]==_0x16a3('0x7a');}if(_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x7b'))[_0x16a3('0x3c')]>0x0){strErrorMessage=_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x7b'))[0x0][_0x16a3('0x79')];}if(_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x7c'))[_0x16a3('0x3c')]>0x0){strProcessingServerAddress=_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x7c'))[0x0][_0x16a3('0x79')];}if(_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x7d'))[_0x16a3('0x3c')]>0x0){strremotePartyName=_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x7d'))[0x0][_0x16a3('0x79')];strWebChatDisplayAgentName=strremotePartyName;}if(_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x7e'))[_0x16a3('0x3c')]>0x0){displayAgentName=_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x7e'))[0x0][_0x16a3('0x79')]==_0x16a3('0x7f');}if(_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x80'))[_0x16a3('0x3c')]>0x0){isWebChatCallBack=_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x80'))[0x0][_0x16a3('0x79')]==_0x16a3('0x7f');}if(_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x81'))[_0x16a3('0x3c')]>0x0){strwebChatCallbackStartText=_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x81'))[0x0][_0x16a3('0x79')];}if(_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x82'))[_0x16a3('0x3c')]>0x0){strwebChatCallBackEndText=_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x82'))[0x0][_0x16a3('0x79')];}if(_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x83'))[_0x16a3('0x3c')]>0x0){isName=_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x83'))[0x0][_0x16a3('0x79')]==_0x16a3('0x7f');isNameMandatory=_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x83'))[0x0][_0x16a3('0x1c')](_0x16a3('0x84'))==_0x16a3('0x7f');}if(_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x85'))[_0x16a3('0x3c')]>0x0){isEmail=_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x85'))[0x0][_0x16a3('0x79')]==_0x16a3('0x7f');isEmailMandatory=_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x85'))[0x0][_0x16a3('0x1c')](_0x16a3('0x84'))==_0x16a3('0x7f');}if(_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x86'))[_0x16a3('0x3c')]>0x0){isNumber=_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x86'))[0x0][_0x16a3('0x79')]==_0x16a3('0x7f');isNumberMandatory=_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x86'))[0x0][_0x16a3('0x1c')](_0x16a3('0x84'))==_0x16a3('0x7f');}if(_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x87'))[_0x16a3('0x3c')]>0x0){strExternalReferenceText=_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x87'))[0x0][_0x16a3('0x79')];setLocalStorageItem(_0x16a3('0x88'),strExternalReferenceText);isExternalReferenceTextMandatory=_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x87'))[0x0][_0x16a3('0x1c')](_0x16a3('0x84'))==_0x16a3('0x7f');}if(_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x89'))[_0x16a3('0x3c')]>0x0){isAttachmentsAllowed=_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x89'))[0x0][_0x16a3('0x79')]==_0x16a3('0x7f');}if(_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x8a'))[_0x16a3('0x3c')]>0x0){isWebChatClientVisible=_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x8a'))[0x0][_0x16a3('0x79')]==_0x16a3('0x7f');}if(_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x8b'))[_0x16a3('0x3c')]>0x0){strWebChatPrimaryColour=_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x8b'))[0x0][_0x16a3('0x79')];}strWebChatDarkColour=shadeColor(strWebChatPrimaryColour,-0x14);strWebChatFontName=_0x16a3('0x8c');strWebChatFontSize=_0x16a3('0x8d');if(_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x8e'))[_0x16a3('0x3c')]>0x0){strwebChatStartImageType=_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x8e'))[0x0][_0x16a3('0x79')];}if(_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x8f'))[_0x16a3('0x3c')]>0x0){isWebChatWindowDocked=_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x8f'))[0x0][_0x16a3('0x79')]==_0x16a3('0x7f');}if(_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x90'))[_0x16a3('0x3c')]>0x0){if(_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x90'))[0x0][_0x16a3('0x79')]==_0x16a3('0x7f')){strIsInverted=_0x16a3('0x56');}}if(_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x91'))[_0x16a3('0x3c')]>0x0){strwebChatStartImageLocation=_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x91'))[0x0][_0x16a3('0x79')];}if(_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x92'))[_0x16a3('0x3c')]>0x0){intwebChatStartImageDelayInMS=parseFloat(_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x92'))[0x0][_0x16a3('0x79')])*0x3e8;}if(_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x93'))[_0x16a3('0x3c')]>0x0){strwebChatAvatarPath=_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x93'))[0x0][_0x16a3('0x79')];}if(_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x94'))[_0x16a3('0x3c')]>0x0){strwebChatStartText=_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x94'))[0x0][_0x16a3('0x79')];}if(_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x95'))[_0x16a3('0x3c')]>0x0){strwebChatButtonText=_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x95'))[0x0][_0x16a3('0x79')];}if(_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x96'))[_0x16a3('0x3c')]>0x0){strWebChatWelcomeMessage=_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x96'))[0x0][_0x16a3('0x79')];}if(_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x97'))[_0x16a3('0x3c')]>0x0){strWebChatShowRating=_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x97'))[0x0][_0x16a3('0x79')]==_0x16a3('0x7f');}if(_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x98'))[_0x16a3('0x3c')]>0x0){isWebChatHideAfterConversation=_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x98'))[0x0][_0x16a3('0x79')]==_0x16a3('0x7f');}if(_0x2c14c1[_0x16a3('0x76')](_0x16a3('0xa'))[_0x16a3('0x3c')]>0x0){isWebChatHideOnClose=_0x2c14c1[_0x16a3('0x76')](_0x16a3('0xa'))[0x0][_0x16a3('0x79')]==_0x16a3('0x7f');}if(_0x5b5074[_0x16a3('0x76')](_0x16a3('0x99'))[_0x16a3('0x3c')]>0x0){departmentXml=new XMLSerializer()[_0x16a3('0x61')](_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x99'))[0x0]);}if(departmentXml[_0x16a3('0x9a')](_0x16a3('0x9b'))){setLocalStorageItem(_0x16a3('0x9c'),_0x16a3('0x9d'));}if(_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x9e'))[_0x16a3('0x3c')]>0x0){var _0x4bedba=_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x9e'))[0x0][_0x16a3('0x79')];if(_0x4bedba){strMediaStreamId=_0x4bedba;}}if(_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x9f'))[_0x16a3('0x3c')]>0x0){webChatTranscriptAvailable=_0x2c14c1[_0x16a3('0x76')](_0x16a3('0x9f'))[0x0][_0x16a3('0x79')]==_0x16a3('0x7f');}if(window[_0x16a3('0xa0')][_0x16a3('0xa1')](_0x16a3('0xa2'))[_0x16a3('0x3c')]>0x0){navigationType=window[_0x16a3('0xa0')][_0x16a3('0xa1')](_0x16a3('0xa2'))[0x0][_0x16a3('0xa3')];}else{if(window[_0x16a3('0xa0')][_0x16a3('0xa2')][_0x16a3('0xa3')]==0x1){navigationType=_0x16a3('0xa4');webChatLog(_0x16a3('0xa5'));}else{navigationType=window[_0x16a3('0xa0')][_0x16a3('0xa2')][_0x16a3('0xa3')];webChatLog(_0x16a3('0xa6')+window[_0x16a3('0xa0')][_0x16a3('0xa2')][_0x16a3('0xa3')]);}}manageSessionIfStorageTriggerNotWorkedSoCheckIsNewSession();if(manageSessionIfStorageTriggerNotWorkedSoCheckIsNewSession()){var _0x3834ca=sessionStorage[_0x16a3('0x19')](_0x16a3('0x14'));webChatLog(navigationType+_0x16a3('0xa7'));if(navigationType==_0x16a3('0xa4')){webChatLog(navigationType+_0x16a3('0xa8'));}else{sessionType=_0x16a3('0xa9');var _0xf69526=document[_0x16a3('0x1a')](_0x16a3('0x4c'));webChatLog(_0x16a3('0xaa'));if(_0x3834ca==null||_0x3834ca==''){sessionStorage[_0x16a3('0x17')](_0x16a3('0x14'),_0x16a3('0x14'));}}}if(_0x2c14c1[_0x16a3('0x76')](_0x16a3('0xab'))[_0x16a3('0x3c')]>0x0){webChatRecordJourney=_0x2c14c1[_0x16a3('0x76')](_0x16a3('0xab'))[0x0][_0x16a3('0x79')]==_0x16a3('0x7f');startTracking();}}setChatVisibility();}function manageSessionIfStorageTriggerNotWorkedSoCheckIsNewSession(){var _0x2ab27e=getLocalStorageItem(_0x16a3('0x14'),new Date()[_0x16a3('0x15')]());var _0x1dcb93=getLocalStorageItem(_0x16a3('0x12'),new Date()[_0x16a3('0x15')]());var _0x6cb37d=sessionStorage[_0x16a3('0x19')](_0x16a3('0x14'));if(_0x2ab27e==null){webChatLog(_0x16a3('0xac'));if(_0x6cb37d){webChatLog(navigationType+_0x16a3('0xad'));return![];}else{for(keyFromLs in localStorage){if(keyFromLs[_0x16a3('0x11')](WEBCHAT_HIDE_ON_CLOSE)){localStorage[_0x16a3('0xae')](keyFromLs);}else if(keyFromLs[_0x16a3('0x11')](CALLBACK_HIDE_ON_CLOSE)){localStorage[_0x16a3('0xae')](keyFromLs);}else if(keyFromLs[_0x16a3('0x11')](LS_JOURNEY)){localStorage[_0x16a3('0xae')](keyFromLs);}}return!![];}}else{webChatLog(_0x16a3('0xaf')+storagelistenerFiredAt+_0x16a3('0xb0')+_0x2ab27e+_0x16a3('0xb1')+(_0x2ab27e
')+_0x16a3('0x13c')+_0x16a3('0x145')+strwebChatStartText+_0x16a3('0x146')+_0x16a3('0x13c')+(isWebChatHideOnClose?_0x16a3('0x13b'):'');break;default:case _0x16a3('0x161'):c8_addClass(chatNotificationContainer,_0x16a3('0x162'));var _0x4af2f3=_0x16a3('0x163');if(strIsInverted){_0x4af2f3=strWebChatPrimaryColour;}_0x4a581a=_0x16a3('0x164')+(_0x2a8d9c?_0x16a3('0x165'):'\x20')+strIsInverted+'\x20'+(isWebChatCallBack?_0x16a3('0x12f'):'')+'\x22>'+_0x16a3('0x166')+strwebChatStartText+_0x16a3('0x167')+strwebChatButtonText+_0x16a3('0x168')+(_0x2a8d9c?_0x16a3('0x15f')+strwebChatAvatarPath+_0x16a3('0x160'):'>'+setIconSVG(_0x4af2f3))+_0x16a3('0x169')+(isWebChatHideOnClose?_0x16a3('0x16a')+(isDarkColor(strWebChatPrimaryColour)?_0x16a3('0x16b'):'')+_0x16a3('0x16c'):'');break;}chatNotificationContainer[_0x16a3('0x16d')](_0x16a3('0x16e'),_0x4a581a);if(!isMobileDevice()){validateLongStartText(_0x36e5a4);}if(isWebChatHideOnClose){document[_0x16a3('0x1a')](_0x16a3('0x16f'))[_0x16a3('0xc')](_0x16a3('0x170'),function(){removeIframe();event[_0x16a3('0x171')]();});}chatNotificationContainer[_0x16a3('0xe9')][_0x16a3('0xea')]=_0x16a3('0xeb');}function isDarkColor(_0x223154){_0x223154=_0x223154[_0x16a3('0x172')](0x1,0x7);var _0x11ac1c=parseInt(_0x223154[_0x16a3('0x172')](0x0,0x2),0x10);var _0xeef29f=parseInt(_0x223154[_0x16a3('0x172')](0x2,0x4),0x10);var _0x349669=parseInt(_0x223154[_0x16a3('0x172')](0x4,0x6),0x10);return _0x11ac1c*0.299+_0xeef29f*0.587+_0x349669*0.114>0xc8;}function validateLongStartText(_0x1a9de6){var _0x14d45e=document[_0x16a3('0x1a')](_0x16a3('0x173'));switch(_0x1a9de6){case _0x16a3('0x4'):if(strwebChatStartText[_0x16a3('0x3c')]>0x1e){var _0x29e5b9=document[_0x16a3('0x1a')](_0x16a3('0x174'));_0x14d45e[_0x16a3('0xe9')][_0x16a3('0x175')]=_0x16a3('0x176');_0x14d45e[_0x16a3('0xe9')][_0x16a3('0x177')]=checkIsSafari()?_0x16a3('0x178'):_0x16a3('0x179');_0x14d45e[_0x16a3('0xe9')][_0x16a3('0x17a')]=_0x16a3('0x17b');_0x14d45e[_0x16a3('0xe9')][_0x16a3('0xe8')]=_0x16a3('0x17c');_0x29e5b9[_0x16a3('0xe9')][_0x16a3('0x17d')]=_0x16a3('0x17e');_0x29e5b9[_0x16a3('0xe9')][_0x16a3('0x17f')]=_0x16a3('0x180');}break;case _0x16a3('0x161'):if(strwebChatStartText[_0x16a3('0x3c')]>0x1e){var _0x34c603=document[_0x16a3('0x1a')](_0x16a3('0x181'));_0x14d45e[_0x16a3('0xe9')][_0x16a3('0x17d')]=_0x16a3('0x182');_0x14d45e[_0x16a3('0xe9')][_0x16a3('0x17a')]=_0x16a3('0x17b');_0x14d45e[_0x16a3('0xe9')][_0x16a3('0xe8')]=_0x16a3('0x183');_0x34c603[_0x16a3('0xe9')][_0x16a3('0x177')]=_0x16a3('0x184');}break;case _0x16a3('0x147'):if(strwebChatStartText[_0x16a3('0x3c')]>0x1e){_0x14d45e[_0x16a3('0xe9')][_0x16a3('0xe6')]=_0x16a3('0x185');_0x14d45e[_0x16a3('0xe9')][_0x16a3('0x17d')]=_0x16a3('0x17e');_0x14d45e[_0x16a3('0xe9')][_0x16a3('0x17a')]=_0x16a3('0x17b');_0x14d45e[_0x16a3('0xe9')][_0x16a3('0xe8')]=_0x16a3('0x17c');_0x14d45e[_0x16a3('0xe9')][_0x16a3('0x177')]=_0x16a3('0x179');}break;case _0x16a3('0x124'):if(strwebChatStartText[_0x16a3('0x3c')]>0x16){var _0x59d508=document[_0x16a3('0x1a')](_0x16a3('0x174'));_0x14d45e[_0x16a3('0xe9')][_0x16a3('0x186')]=_0x16a3('0x179');_0x14d45e[_0x16a3('0xe9')][_0x16a3('0x17a')]=_0x16a3('0x187');_0x59d508[_0x16a3('0xe9')][_0x16a3('0x17f')]=_0x16a3('0x188');}break;}}window[_0x16a3('0x189')]=function(_0x53a03e){webChatLog(_0x16a3('0x18a')+JSON[_0x16a3('0xfb')](_0x53a03e[_0x16a3('0x18b')]));if(_0x53a03e[_0x16a3('0x18b')]){if(_0x53a03e[_0x16a3('0x18b')][_0x16a3('0x18c')]){var _0xedfeb0=document[_0x16a3('0x1a')](_0x16a3('0x4c'));if(_0xedfeb0){_0x53a03e[_0x16a3('0x18d')][_0x16a3('0x18e')]({'unityContactServerJourneyDetails':JSON[_0x16a3('0xf2')](getLocalStorageItem(LS_JOURNEY))},_0x53a03e[_0x16a3('0x18f')]);clearJourney();}}if(_0x53a03e[_0x16a3('0x18b')][_0x16a3('0x190')]){var _0xedfeb0=document[_0x16a3('0x1a')](_0x16a3('0x4c'));if(_0xedfeb0){clearJourney();}}else if(_0x53a03e[_0x16a3('0x18b')][_0x16a3('0x191')]){if(_0x53a03e[_0x16a3('0x18b')][_0x16a3('0x191')]==_0x16a3('0x192')){if(isMobileDevice()){document[_0x16a3('0x4e')][_0x16a3('0xe9')][_0x16a3('0x193')]=_0x16a3('0x194');document[_0x16a3('0x4e')][_0x16a3('0xe9')][_0x16a3('0x195')]=_0x16a3('0x196');}c8_removeClass(document[_0x16a3('0x1a')](_0x16a3('0x4d')),_0x16a3('0x197'));c8_removeClass(document[_0x16a3('0x4e')],_0x16a3('0x50'));c8_removeClass(document[_0x16a3('0x4e')],_0x16a3('0x51'));setTimeout(function(){c8_addClass(document[_0x16a3('0x1a')](_0x16a3('0x49')),_0x16a3('0x197'));c8_removeClass(document[_0x16a3('0x1a')](_0x16a3('0x4d')),_0x16a3('0x198'));if(isMobileDevice()){c8_addClass(document[_0x16a3('0x1a')](_0x16a3('0x4d')),_0x16a3('0x199'));}},0x1f4);if(strwebChatStartImageType==_0x16a3('0x109')){setTimeout(function(){c8_removeClass(document[_0x16a3('0x1a')](_0x16a3('0x19a')),_0x16a3('0x19b'));c8_removeClass(document[_0x16a3('0x1a')](_0x16a3('0x16f')),_0x16a3('0x19b'));},0x4b0);}isHiddenManual=!![];}else if(_0x53a03e[_0x16a3('0x18b')][_0x16a3('0x191')]==_0x16a3('0x19c')){if(isMobileDevice()){document[_0x16a3('0x4e')][_0x16a3('0xe9')][_0x16a3('0x193')]=_0x16a3('0x194');document[_0x16a3('0x4e')][_0x16a3('0xe9')][_0x16a3('0x195')]=_0x16a3('0x196');}isWebRegistered=_0x53a03e[_0x16a3('0x18b')][_0x16a3('0x19d')];isWebChatHideOnClose=_0x53a03e[_0x16a3('0x18b')][_0x16a3('0x19e')];isWebChatHideAfterConversation=_0x53a03e[_0x16a3('0x18b')][_0x16a3('0x19f')];if((strQueueId==null||strQueueId=='')&&strProcessingServerAddress!=_0x16a3('0x58')){isWebChatHideAfterConversation=!![];}strwebChatStartImageLocation=_0x53a03e[_0x16a3('0x18b')][_0x16a3('0x1a0')];changeNotificationAvatar(strwebChatAvatarPath);removeIframe();}}else if(_0x53a03e[_0x16a3('0x18b')][_0x16a3('0x1a1')]){var _0x3f825f=document[_0x16a3('0x1a')](_0x16a3('0x49'));if(_0x53a03e[_0x16a3('0x18b')][_0x16a3('0x1a1')]==0x0){_0x3f825f[_0x16a3('0x1a2')](_0x16a3('0x1a3'));}else{_0x3f825f[_0x16a3('0xec')](_0x16a3('0x1a3'),_0x53a03e[_0x16a3('0x18b')][_0x16a3('0x1a1')]);}}else if(_0x53a03e[_0x16a3('0x18b')][_0x16a3('0x1a4')]){strQueueId=_0x53a03e[_0x16a3('0x18b')][_0x16a3('0x1a5')];strMediaStreamId=_0x53a03e[_0x16a3('0x18b')][_0x16a3('0x1a6')];if(isWebChatClientVisible){if(!_0x53a03e[_0x16a3('0x18b')][_0x16a3('0x1a7')]){setTimeout(function(){c8_addClass(chatNotificationContainer,_0x16a3('0x197'));if(strwebChatStartImageType==_0x16a3('0x109')){setTimeout(function(){c8_removeClass(document[_0x16a3('0x1a')](_0x16a3('0x19a')),_0x16a3('0x19b'));c8_removeClass(document[_0x16a3('0x1a')](_0x16a3('0x16f')),_0x16a3('0x19b'));},0x3e8);}},intwebChatStartImageDelayInMS);}else{msgBubbleImgClick();}}}else if(_0x53a03e[_0x16a3('0x18b')][_0x16a3('0x1a8')]){setHideOnCloseExpiry(CALLBACK_HIDE_ON_CLOSE,_0x16a3('0x7f'));}else if(_0x53a03e[_0x16a3('0x18b')][_0x16a3('0x1a9')]){webChatLog(_0x16a3('0x1aa'));changeNotificationAvatar(decodeURIComponent(_0x53a03e[_0x16a3('0x18b')][_0x16a3('0x1a9')]));}else if(_0x53a03e[_0x16a3('0x18b')][_0x16a3('0x1ab')]){webChatLog(_0x16a3('0x1ac'));if(isMobileDevice()){document[_0x16a3('0x4e')][_0x16a3('0xe9')][_0x16a3('0x193')]=_0x16a3('0x194');document[_0x16a3('0x4e')][_0x16a3('0xe9')][_0x16a3('0x195')]=_0x16a3('0x196');}isWebRegistered=_0x53a03e[_0x16a3('0x18b')][_0x16a3('0x19d')];isWebChatHideOnClose=_0x53a03e[_0x16a3('0x18b')][_0x16a3('0x19e')];isWebChatHideAfterConversation=_0x53a03e[_0x16a3('0x18b')][_0x16a3('0x19f')];if((strQueueId==null||strQueueId=='')&&strProcessingServerAddress!=_0x16a3('0x58')){isWebChatHideAfterConversation=!![];}removeIframe();}}};function changeNotificationAvatar(_0x25b884){if(strwebChatStartImageType==_0x16a3('0x161')||strwebChatStartImageType==_0x16a3('0x109')||strwebChatStartImageType==_0x16a3('0x147')){webChatLog(_0x16a3('0x1ad')+_0x25b884);if(_0x25b884==defaultAvatarValue){webChatLog(_0x16a3('0x1ae'));document[_0x16a3('0x1a')](_0x16a3('0x1af'))[_0x16a3('0x1a2')](_0x16a3('0xe9'));c8_removeClass(document[_0x16a3('0x1a')](_0x16a3('0x1b0')),_0x16a3('0x1b1'));}else{webChatLog(_0x16a3('0x1b2'));c8_addClass(document[_0x16a3('0x1a')](_0x16a3('0x1b0')),_0x16a3('0x1b1'));document[_0x16a3('0x1a')](_0x16a3('0x1af'))[_0x16a3('0xe9')][_0x16a3('0x1b3')]=_0x16a3('0x1b4')+_0x25b884+')';}}}function msgBubbleImgClick(){var _0x319f10;if(isHiddenManual){_0x319f10=document[_0x16a3('0x1a')](_0x16a3('0x4d'));if(isMobileDevice()){c8_removeClass(_0x319f10,_0x16a3('0x199'));}c8_removeClass(_0x319f10,_0x16a3('0x197'));}else{var _0x502b56=pageReference+_0x16a3('0x1b5')+encodeURIComponent(strQueueId)+_0x16a3('0x1b6')+encodeURIComponent(strMediaStreamId);_0x502b56=encodeURI(_0x502b56);iframe2=document[_0x16a3('0x5c')](_0x16a3('0xe5'));iframe2['id']=_0x16a3('0x4d');if(isMobileDevice()){iframe2[_0x16a3('0xe9')][_0x16a3('0xe6')]=_0x16a3('0x1b7');iframe2[_0x16a3('0xe9')][_0x16a3('0xe8')]=_0x16a3('0x1b7');if(strwebChatStartImageLocation==_0x16a3('0x5')){iframe2[_0x16a3('0xe9')][_0x16a3('0x1b8')]=_0x16a3('0xe7');}else{iframe2[_0x16a3('0xe9')][_0x16a3('0x1b9')]=_0x16a3('0xe7');}}else{iframe2[_0x16a3('0xe9')][_0x16a3('0xe6')]=_0x16a3('0x1ba');iframe2[_0x16a3('0xe9')][_0x16a3('0xe8')]=getHeightOfContents()+'px';}iframe2[_0x16a3('0x121')]=strwebChatStartImageLocation;iframe2[_0x16a3('0xec')](_0x16a3('0xed'),_0x502b56);iframe2[_0x16a3('0xee')]='no';document[_0x16a3('0x4e')][_0x16a3('0x5d')](iframe2);_0x319f10=document[_0x16a3('0x1a')](_0x16a3('0x4d'));if(isWebChatWindowDocked&&!isMobileDevice()){c8_addClass(_0x319f10,_0x16a3('0x125'));}else{c8_addClass(_0x319f10,_0x16a3('0x129'));}}var _0x4a3f6f=0x1f4;if(isWebChatWindowDocked&&!isMobileDevice()){if(strwebChatStartImageLocation==_0x16a3('0x57')){c8_addClass(document[_0x16a3('0x4e')],_0x16a3('0x50'));}_0x4a3f6f=0xc8;c8_addClass(document[_0x16a3('0x4e')],_0x16a3('0x51'));c8_addClass(_0x319f10,_0x16a3('0x1bb'));}if(isMobileDevice()){document[_0x16a3('0x4e')][_0x16a3('0xe9')][_0x16a3('0x193')]=_0x16a3('0x199');document[_0x16a3('0x4e')][_0x16a3('0xe9')][_0x16a3('0x195')]=_0x16a3('0x1bc');}c8_removeClass(document[_0x16a3('0x1a')](_0x16a3('0x49')),_0x16a3('0x197'));setTimeout(function(){c8_addClass(_0x319f10,_0x16a3('0x197'));c8_addClass(_0x319f10,_0x16a3('0x198'));if(strwebChatStartImageType==_0x16a3('0x109')){c8_addClass(document[_0x16a3('0x1a')](_0x16a3('0x19a')),_0x16a3('0x19b'));c8_addClass(document[_0x16a3('0x1a')](_0x16a3('0x16f')),_0x16a3('0x19b'));}},_0x4a3f6f);}function getHeightOfContents(){var _0x4294cc=0xea;var _0x2f7605=0x44;var _0x4ad4ea=0x8c;if(isName){_0x4294cc+=_0x2f7605;}if(isEmail){_0x4294cc+=_0x2f7605;}if(isNumber){_0x4294cc+=_0x2f7605;}if(strExternalReferenceText[_0x16a3('0x1e')]()[_0x16a3('0x3c')]>0x0){_0x4294cc+=_0x2f7605;}if(departmentXml[_0x16a3('0x3c')]){_0x4294cc+=_0x2f7605;}if(isWebChatCallBack){_0x4294cc+=_0x4ad4ea;}return _0x4294cc>0x1ea?_0x4294cc:0x1ea;}function setHideOnCloseExpiry(_0x124cf0,_0x35e2c8){if(strProcessingServerAddress!=_0x16a3('0x58')){if(_0x35e2c8){if(getLocalStorageItem(_0x124cf0)==null){var _0x24bb4f=new Date();_0x24bb4f[_0x16a3('0x1bd')](_0x24bb4f[_0x16a3('0xb3')]()+0xea60*0x5a0);setLocalStorageItem(_0x124cf0,_0x24bb4f[_0x16a3('0x1be')]());}}else{webChatLog(_0x16a3('0x1bf'));setLocalStorageItem(_0x124cf0,_0x16a3('0x1c0'));}}}function clearJourney(){if(webChatRecordJourney){webChatLog(_0x16a3('0x1c1'));removeLocalStorageItem(LS_JOURNEY);}}function removeIframe(){webChatLog(_0x16a3('0x1c2'));isHiddenManual=![];c8_removeClass(document[_0x16a3('0x1a')](_0x16a3('0x4d')),_0x16a3('0x197'));c8_removeClass(document[_0x16a3('0x1a')](_0x16a3('0x49')),_0x16a3('0x197'));c8_removeClass(document[_0x16a3('0x4e')],_0x16a3('0x4f'));c8_removeClass(document[_0x16a3('0x4e')],_0x16a3('0x50'));c8_removeClass(document[_0x16a3('0x4e')],_0x16a3('0x51'));if(strProcessingServerAddress==_0x16a3('0x58')&&(isWebChatHideOnClose||isWebChatCallBack)){return;}if(isWebChatHideOnClose&&!isWebRegistered&&strProcessingServerAddress!=_0x16a3('0x58')){if(isWebChatCallBack){setHideOnCloseExpiry(CALLBACK_HIDE_ON_CLOSE,isWebChatHideOnClose);}else{setHideOnCloseExpiry(WEBCHAT_HIDE_ON_CLOSE,isWebChatHideOnClose);}return;}if(isWebChatHideAfterConversation){return;}else{isWebRegistered=![];}setTimeout(function(){c8_addClass(document[_0x16a3('0x1a')](_0x16a3('0x49')),_0x16a3('0x197'));var _0x2081b6=document[_0x16a3('0x1a')](_0x16a3('0x4d'));if(_0x2081b6){_0x2081b6[_0x16a3('0x4a')][_0x16a3('0x4b')](_0x2081b6);}if(isWebChatWindowDocked&&!isMobileDevice()){c8_addClass(document[_0x16a3('0x4e')],_0x16a3('0x4f'));}},0x1f4);}window[_0x16a3('0x1c3')]=function(_0x107a0e){var _0x7a312b=document[_0x16a3('0x1a')](_0x16a3('0x4c'));if(_0x7a312b){_0x7a312b[_0x16a3('0x1c4')][_0x16a3('0x18e')]({'unityContactServerClearPortalSettings':!![]},'*');}};function setIconSVG(_0xdae4cc){var _0x429f89;if(isWebChatCallBack){_0x429f89=_0x16a3('0x1c5')+_0xdae4cc+_0x16a3('0x1c6');}else{_0x429f89=_0x16a3('0x1c7')+_0xdae4cc+_0x16a3('0x1c8');}return _0x429f89;}function shadeColor(_0x51c950,_0xaa881b){var _0x1376fd=parseInt(_0x51c950[_0x16a3('0x172')](0x1,0x3),0x10);var _0x16263e=parseInt(_0x51c950[_0x16a3('0x172')](0x3,0x5),0x10);var _0x29bd28=parseInt(_0x51c950[_0x16a3('0x172')](0x5,0x7),0x10);_0x1376fd=parseInt(_0x1376fd*(0x64+_0xaa881b)/0x64);_0x16263e=parseInt(_0x16263e*(0x64+_0xaa881b)/0x64);_0x29bd28=parseInt(_0x29bd28*(0x64+_0xaa881b)/0x64);_0x1376fd=_0x1376fd<0xff?_0x1376fd:0xff;_0x16263e=_0x16263e<0xff?_0x16263e:0xff;_0x29bd28=_0x29bd28<0xff?_0x29bd28:0xff;var _0x3c3cd9=_0x1376fd[_0x16a3('0x15')](0x10)[_0x16a3('0x3c')]==0x1?'0'+_0x1376fd[_0x16a3('0x15')](0x10):_0x1376fd[_0x16a3('0x15')](0x10);var _0x35e908=_0x16263e[_0x16a3('0x15')](0x10)[_0x16a3('0x3c')]==0x1?'0'+_0x16263e[_0x16a3('0x15')](0x10):_0x16263e[_0x16a3('0x15')](0x10);var _0x154cf3=_0x29bd28[_0x16a3('0x15')](0x10)[_0x16a3('0x3c')]==0x1?'0'+_0x29bd28[_0x16a3('0x15')](0x10):_0x29bd28[_0x16a3('0x15')](0x10);return'#'+_0x3c3cd9+_0x35e908+_0x154cf3;}function c8_hasClass(_0x16994f,_0x2c9d54){if(_0x16994f){if(_0x16994f[_0x16a3('0x1c9')]){return _0x16994f[_0x16a3('0x1c9')][_0x16a3('0x1ca')](_0x2c9d54);}else{var _0x2a161a=new String(_0x16994f[_0x16a3('0x121')]);return!!_0x2a161a[_0x16a3('0x1cb')](new RegExp(_0x16a3('0x1cc')+_0x2c9d54+_0x16a3('0x1cd')));}}}function c8_addClass(_0x4fde26,_0x13dca6){if(_0x4fde26){if(_0x4fde26[_0x16a3('0x1c9')]){_0x4fde26[_0x16a3('0x1c9')][_0x16a3('0x1ce')](_0x13dca6);}else if(!c8_hasClass(_0x4fde26,_0x13dca6)){_0x4fde26[_0x16a3('0x121')]+='\x20'+_0x13dca6;}}}function c8_removeClass(_0x2c0520,_0x3c7e69){if(_0x2c0520){if(_0x2c0520[_0x16a3('0x1c9')]){_0x2c0520[_0x16a3('0x1c9')][_0x16a3('0x1cf')](_0x3c7e69);}else if(c8_hasClass(_0x2c0520,_0x3c7e69)){var _0x47b8e8=new RegExp(_0x16a3('0x1cc')+_0x3c7e69+_0x16a3('0x1cd'));_0x2c0520[_0x16a3('0x121')]=_0x2c0520[_0x16a3('0x121')][_0x16a3('0x62')](_0x47b8e8,'\x20');}}}function isMobileDevice(){if(isMobile==null){isMobile=typeof window[_0x16a3('0x1d0')]!==_0x16a3('0x1d1')||navigator[_0x16a3('0x1d2')][_0x16a3('0x1d3')](_0x16a3('0x1d4'))!==-0x1;}return isMobile;}function checkIsSafari(){var _0x319104=!!navigator[_0x16a3('0x1d2')][_0x16a3('0x1cb')](/Version\/[\d\.]+.*Safari/);return _0x319104;}function isIos(){var _0x4d9d8d=/iPad|iPhone|iPod/[_0x16a3('0x1d5')](navigator[_0x16a3('0x1d2')])&&!window[_0x16a3('0x1d6')];return _0x4d9d8d||document[_0x16a3('0x21')];}function isIos13(){var _0x23277e=/iPhone OS 13_6/[_0x16a3('0x1d5')](navigator[_0x16a3('0x1d2')]);return _0x23277e;}function isIos15safasri(){var _0x569164=/iPhone OS 15_/[_0x16a3('0x1d5')](navigator[_0x16a3('0x1d2')]);return _0x569164&&checkIsSafari();}function webChatLog(_0x55eb6f){}