(function(){$(document).ready(function(){let startTime=Number($("#slick-modal-chat-mobile").data("StartTime"))||9;let endTime=Number($("#slick-modal-chat-mobile").data("EndTime"))||16;let chatPopupDelay=75000;let chatCloseDelay=20000;let chatReopenClass=$("#slick-modal-chat-mobile").data("ReopenClass")||'slick-modal-chat-mobile-reopen';let mstTime=new Date();mstTime.setHours(mstTime.getHours()+mstTime.getTimezoneOffset()/60-7);let mstHour=mstTime.getHours();let viewportWidth=$(window).width();let displayChatType=(mstHour>=startTime&&mstHour<=endTime)?'delayed':'none';if(displayChatType==="delayed"){$('#slick-modal-chat-mobile-reopen').show();} $('#slick-modal-chat-mobile').slickModals({popupType:displayChatType,delayTime:chatPopupDelay,setCookie:false,autoClose:true,autoCloseDelay:chatCloseDelay,overlayVisible:false,overlayClosesModal:false,overlayColor:'rgba(0,0,0,0.85)',overlayAnimationDuration:'0.4',overlayAnimationEffect:'fadeIn',pageAnimationEffect:'none',popupWidth:'300px',popupHeight:'220px',popupLocation:'bottomRight',popupAnimationDuration:'0.4',popupAnimationEffect:'unFold',popupBoxShadow:'0 0 20px 0 rgba(0,0,0,0.4)',popupBackground:'#eeeeee',popupRadius:'0',popupMargin:'0',popupPadding:'0',showOnMobile:true,responsive:true,mobileBreakPoint:'480px',mobileLocation:'center',mobileWidth:'100%',mobileHeight:'280px',mobileRadius:'0',mobileMargin:'0',mobilePadding:'24px',contentAnimation:false,addCloseButton:true,buttonStyle:'labeled',enableESC:true,reopenClass:chatReopenClass,onSlickLoad:function(){},onSlickClose:function(){}});});})();