LL_CustomUI.animate=function(){var t=0,o=0,n=0,e=0;window.LL_CustomUI&&!LL_CustomUI.animation&&(LL_CustomUI.animation={},LL_CustomUI.animation.movingTimer=0,LL_CustomUI.animation.blockWidth=284,LL_CustomUI.animation.blockHeight=302,LL_CustomUI.animation.position=LL_CustomUI.V4LLPanel_position,LL_CustomUI.animation.offset=LL_CustomUI.V4LLPanel_position_offset,LL_CustomUI.animation.elementToMove="",LL_CustomUI.animation.movementSpeed=1,LL_CustomUI.animation.viewportSize="",LL_CustomUI.animation.viewportWidth="",LL_CustomUI.animation.viewportHeight="",LL_CustomUI.animation.v4CustomButtonID=LL_Deployment.launchPoint.elementId,LL_CustomUI.animation.animationAlreadyPlayed=!1,LL_CustomUI.animation.initialized=!1,(LL_CustomUI.utils.isLeftLocation()||LL_CustomUI.utils.isRightLocation())&&(LL_CustomUI.animation.blockHeight=308),LL_CustomUI.animation.getOffset=function(t){var o=t.getBoundingClientRect?t.getBoundingClientRect():{bottom:t.offsetBottom,top:t.offsetTop,left:t.offsetLeft,width:t.offsetWidth,heitgh:t.offsetHeight},n=document.body,e=document.documentElement,i=window.pageYOffset||e.scrollTop||n.scrollTop,L=window.pageXOffset||e.scrollLeft||n.scrollLeft,s=e.clientTop||n.clientTop||0,a=e.clientLeft||n.clientLeft||0,l=o.top+i-s,r=o.left+L-a;return{top:Math.round(l)-LL_CustomUI.utils.GetScrollPosition(),left:Math.round(r)}},LL_CustomUI.animation.animate=function(t){var o=LL_Utils.getTimeStamp(),n=setInterval(function(){var e=LL_Utils.getTimeStamp()-o,i=e/t.duration;i>1&&(i=1);var L=t.delta(i);t.step(L),1===i&&clearInterval(n)},t.delay||10)},LL_CustomUI.animation.animateProperty=function(t){var o=t.xDimension,n=t.yDimension,e=t.xDimension,i=t.yDimension,L=t.opacity,s=t.position,a=t.element,l=LL_CustomUI.animation.getOffset(LL_Utils.$(LL_CustomUI.animation.v4CustomButtonID));LL_CustomUI.animation.animate({delay:10,duration:t.duration||1e3,delta:t.delta,step:function(r){switch(t.mode){case"position":try{"top_right"===s?a.style.right=l.left+n*r+"px":a.style.left=l.left+n*r+"px",a.style.top=l.top+o*r+"px",s.indexOf("bottom")>=0&&parseInt(a.style.top)>=l.top+o*r&&(a.style.top="auto",window.resizeBy(0,1),window.resizeBy(0,-1)),s.indexOf("right")>=0&&parseInt(a.style.left)>=l.left+n*r&&(a.style.left="auto"),LL_BR_Core.ICBSupported||"none"!==LL_BR_Core.ACBSupported||(LL_CustomUI.V4Panel.isOpen=!0)}catch(m){}break;case"size":try{a.style.width=e*r+"px",a.style.height=i*r+"px"}catch(m){}break;case"opacity":try{a.style.opacity=L*r}catch(m){}}}})},LL_CustomUI.animation.circ=function(t){return 1-Math.sin(Math.acos(t))},LL_CustomUI.animation.getViewport=function(){var t,o;return"undefined"!=typeof window.innerWidth?(t=window.innerWidth,o=window.innerHeight):"undefined"!=typeof document.documentElement&&"undefined"!=typeof document.documentElement.clientWidth&&0!==document.documentElement.clientWidth?(t=document.documentElement.clientWidth,o=document.documentElement.clientHeight):(t=document.getElementsByTagName("body")[0].clientWidth,o=document.getElementsByTagName("body")[0].clientHeight),[t,o]},LL_CustomUI.animation.destroy=function(){LL_CustomUI.animation.initialized=!1,LL_CustomUI.animation.animationAlreadyPlayed=!1;var t=LL_Utils.$(LL_CustomUI.animation.v4CustomButtonID);t&&t.LL_onclickHanlderExist&&(LL_Utils.removeListener("click",t,LL_CustomUI.animation.click),t.LL_onclickHanlderExist=!1),LL_Utils.removeListener("resize",window,LL_CustomUI.animation.resizeListener)},LL_CustomUI.animation.click=function(t){var o=LL_Session.currentState.get()===LL_Session.states.READY||LL_Session.currentState.get()===LL_Session.states.ACTIVE&&LL_Session.pings.currentState.get()===LL_Session.pings.states.WAIT;if(!o)return!1;var n;n=LL_CustomUI.animation.initialized?Promise.resolve(!0):LL_CustomUI.animation.appendElements(),n.then(function(){var t=LL_BR_Core.ICBSupported||"none"!==LL_BR_Core.ACBSupported;if(!LL_Utils.$("V4LLPanel_CollapsedNarrowNoAgent")&&t||!LL_Utils.$("V4LLPanel_GenericToggler")&&!t)return void setTimeout(LL_CustomUI.animation.click,333);if(LL_Session.presentationCode&&(LL_CustomUI.animation.elementToMove=LL_Utils.$("V4LLPanel")),t||(LL_CustomUI.animation.elementToMove=LL_Utils.$("V4LLPanel"),LL_CustomUI.animation.blockHeight=LL_CustomUI.V4Panel.notSupportedEnvironmentWindowHeight,LL_CustomUI.V4Panel.numberGenerationWindowHeight=LL_CustomUI.V4Panel.notSupportedEnvironmentWindowHeight),LL_CustomUI.animation.animationAlreadyPlayed||LL_Session.currentState.get()!==LL_Session.states.READY)LL_CustomUI.animation.elementToMove&&(LL_Session.presentationCode?LL_CustomUI.V4Panel.expand():LL_CustomUI.isTermsAndConditionsEnabled&&LL_CustomUI.tcPanel&&LL_CustomUI.tcPanel.expand(),LL_CustomUI.isTermsAndConditionsEnabled&&!LL_CustomUI.tcPanel.isScrollbarInitialized&&(LL_CustomUI.tcPanel.initializeScrollBar(),LL_CustomUI.tcPanel.setScrollBarStyles()),t||(LL_CustomUI.animation.elementToMove.style.height=LL_CustomUI.V4Panel.notSupportedEnvironmentWindowHeight+"px",LL_CustomUI.V4Panel.isOpen=!0));else{var o=600,n=LL_CustomUI.animation.getOffset(LL_Utils.$(LL_CustomUI.animation.v4CustomButtonID)),e=LL_CustomUI.animation.GenerateLLV4PanelPosition(LL_CustomUI.animation.position,LL_CustomUI.animation.offset),i={element:LL_CustomUI.animation.elementToMove,delta:LL_CustomUI.animation.circ,duration:o,mode:"position",xDimension:parseInt(e[0])-n.top,yDimension:parseInt(e[1])-n.left,opacity:"",position:LL_CustomUI.V4LLPanel_position};LL_CustomUI.animation.animateProperty(i);var L={element:LL_CustomUI.animation.elementToMove,delta:LL_CustomUI.animation.circ,duration:o,mode:"size",xDimension:LL_CustomUI.animation.blockWidth,yDimension:LL_CustomUI.animation.blockHeight,opacity:"",position:""};LL_CustomUI.animation.animateProperty(L);var s={element:LL_CustomUI.animation.elementToMove,delta:LL_CustomUI.animation.circ,duration:o,mode:"opacity",xDimension:"",yDimension:"",opacity:1,position:""};LL_CustomUI.animation.animateProperty(s),LL_CustomUI.isTermsAndConditionsEnabled||setTimeout(function(){t&&(LL_Utils.$("V4LLPanel_CollapsedNarrowNoAgent").style.visibility="hidden"),LL_CustomUI.V4Panel.expand()},o-1),LL_CustomUI.animation.animationAlreadyPlayed=!0,LL_CustomUI.isTermsAndConditionsEnabled&&(LL_Utils.$("V4LLPanel_TermsAndConditionsToggler").style.visibility="hidden",setTimeout(function(){LL_CustomUI.tcPanel.initializeScrollBar(),LL_CustomUI.tcPanel.setScrollBarStyles()},100))}})},LL_CustomUI.animation.document_click=function(t){2===Cobrowse.Deployment.launchPoint.type&&t.srcElement.id===Cobrowse.Deployment.launchPoint.elementId&&(LL_Utils.$(LL_CustomUI.animation.v4CustomButtonID).LL_onclickHanlderExist||(LL_CustomUI.animation.addClickHandler(),LL_CustomUI.animation.click()))},LL_CustomUI.animation.resizeListener=function(i){LL_CustomUI.animation.elementToMove&&(LL_CustomUI.utils.css(LL_CustomUI.animation.elementToMove,{left:t?t:"auto",right:o?o:"auto",top:n?n:"auto",bottom:e?e:"auto"}),LL_CustomUI.V4LLPanel_position.indexOf("middle")>0&&LL_CustomUI.utils.setElementInTheMiddle(LL_CustomUI.animation.elementToMove.id,LL_CustomUI.V4LLPanel_position,LL_CustomUI.animation.blockHeight))},LL_CustomUI.animation.appendElements=function(){return new Promise(function(i,L){LL_CustomUI.animation.initialized&&i();var s=function(){var i=LL_CustomUI.animation.elementToMove.style;t=i.left,o=i.right,n=i.top,e=i.bottom,LL_Utils.listen("resize",window,LL_CustomUI.animation.resizeListener)};LL_CustomUI.isTermsAndConditionsEnabled&&!LL_Session.presentationCode?LL_Utils.await("LL_CustomUI.tcPanel.appendElements").then(function(){LL_CustomUI.tcPanel.appendElements(),LL_CustomUI.animation.elementToMove=LL_Utils.$("V4LLTermsAndConditionsWindow"),s(),LL_CustomUI.animation.initialized=!0,i()}):LL_Utils.await("LL_CustomUI.V4Panel.appendElements").then(function(){LL_CustomUI.V4Panel.appendElements(),LL_CustomUI.animation.elementToMove=LL_Utils.$("V4LLPanel"),s(),LL_CustomUI.animation.initialized=!0,i()})})},LL_CustomUI.animation.addHandlerCounter=0,LL_CustomUI.animation.addClickHandler=function(){!LL_Utils.$(LL_CustomUI.animation.v4CustomButtonID)&&LL_CustomUI.animation.addHandlerCounter++<31?setTimeout(LL_CustomUI.animation.addClickHandler,1e3):LL_Utils.$(LL_CustomUI.animation.v4CustomButtonID)?LL_Utils.$(LL_CustomUI.animation.v4CustomButtonID).LL_onclickHanlderExist||(LL_Utils.listen("click",LL_Utils.$(LL_CustomUI.animation.v4CustomButtonID),LL_CustomUI.animation.click),LL_Utils.$(LL_CustomUI.animation.v4CustomButtonID).LL_onclickHanlderExist=!0):window.console&&console.error&&console.error("Cobrowse launch point not found in DOM after 30 seconds")},LL_CustomUI.animation.init=function(){LL_CustomUI.animation.addClickHandler(),document&&!LL_CustomUI.animation.LL_documentOnclickHanlderExist&&(LL_Utils.listen("click",document,LL_CustomUI.animation.document_click),LL_CustomUI.animation.LL_documentOnclickHanlderExist=!0);var t=LL_CustomUI.isTermsAndConditionsEnabled&&!LL_Session.presentationCode?"V4LLTermsAndConditionsWindow":"V4LLPanel";LL_Utils.$(t)&&LL_CustomUI.animation.appendElements()},LL_CustomUI.animation.GenerateLLV4PanelPosition=function(t,o){var n="",e="";switch(LL_CustomUI.animation.viewportSize=LL_CustomUI.animation.getViewport(),LL_CustomUI.animation.viewportWidth=LL_CustomUI.animation.viewportSize[0],LL_CustomUI.animation.viewportHeight=LL_CustomUI.animation.viewportSize[1],t){case"bottom_right":n=LL_CustomUI.animation.viewportHeight-LL_CustomUI.animation.blockHeight,e=LL_CustomUI.animation.viewportWidth-LL_CustomUI.animation.blockWidth-(o?o:0);break;case"top_left":n=0,e=o?o:0;break;case"top_middle":n=0,e=(LL_CustomUI.animation.viewportWidth-LL_CustomUI.animation.blockWidth)/2;break;case"right_middle":n=(LL_CustomUI.animation.viewportHeight-LL_CustomUI.animation.blockHeight)/2,e=LL_CustomUI.animation.viewportWidth-LL_CustomUI.animation.blockWidth;break;case"top_right":n=0,e=o?o:LL_CustomUI.animation.viewportWidth-LL_CustomUI.animation.blockWidth;break;case"bottom_left":n=LL_CustomUI.animation.viewportHeight-LL_CustomUI.animation.blockHeight,e=o?o:0;break;case"bottom_middle":n=LL_CustomUI.animation.viewportHeight-LL_CustomUI.animation.blockHeight,e=(LL_CustomUI.animation.viewportWidth-LL_CustomUI.animation.blockWidth)/2;break;case"left_middle":n=(LL_CustomUI.animation.viewportHeight-LL_CustomUI.animation.blockHeight)/2,e=0}return[n,e]}),LL_CustomUI.Tc=function(){if(window.LL_CustomUI&&!LL_CustomUI.tcPanel){if(LL_CustomUI.tcPanel={},LL_CustomUI.isTermsAndConditionsEnabled=!!LL_CustomUI.V4LLPanel_TermsAndConditionsWindowText,LL_CustomUI.isTermsAndConditionsEnabled){LL_CustomUI.tcPanel.termsAndConditionsWindowHeight=302,LL_CustomUI.tcPanel.isSessionStartButtonClicked=!1,LL_CustomUI.tcPanel.termsAndConditionsWindowBlock="",LL_CustomUI.tcPanel.isScrollbarInitialized=!1,LL_CustomUI.tcPanel.isDisconnectConfirmWindowOpen=!1,LL_CustomUI.tcPanel.initialized=!1,(LL_CustomUI.utils.isLeftLocation()||LL_CustomUI.utils.isRightLocation())&&(LL_CustomUI.tcPanel.termsAndConditionsWindowHeight=308);var t="";t+=LL_CustomUI.utils.isLeftLocation()?LL_CustomUI.utils.isSafari()?'