"),"warning",{timeOut:5e3})}catch(e){Swal.fire("Registration Error","Please try again","warning",{timeOut:5e3}),console.log(345,e)}console.log(123,e)}))};$((function(){if($("#product-sidebar-inner").offset()){var e=$("#product-sidebar-inner").offset().top-parseFloat($("#product-sidebar-inner").css("marginTop").replace(/auto/,0)),a=$(".footer.appear-animatex.footer-dark").offset().top,r=($("#product-sidebar-inner").outerHeight(),$("#product-sidebar-inner").offset().top);$(window).scroll((function(o){var t=$(this).scrollTop();console.log(t,e),t>r?a>200?$("#product-sidebar-inner").addClass("sticky-sidebar-fixed").css({position:"fixed",bottom:"0px",top:r+"px"}):$("#product-sidebar-inner").removeAttr("style").css({position:"absolute",bottom:"0px",top:"-1000px"}):$("#product-sidebar-inner").removeClass("sticky-sidebar-fixed").removeAttr("style")}))}})),window.busy=e=>{e?$("#app-overlay").show():$("#app-overlay").hide()};let chtGPTContentLength=0;setInterval((function(){jQuery("#gpt-messages").length>0&&jQuery("#gpt-messages").html().length!=chtGPTContentLength&&($("#gpt-messages").animate({scrollTop:$("#gpt-messages").get(0).scrollHeight},1e3),chtGPTContentLength=jQuery("#gpt-messages").html().length)}),2e3)