(function(n,t,i){"use strict";function d(){if(typeof n.scrollY=="number")return n.scrollY;if(typeof n.pageYOffset=="number")return n.pageYOffset;var i=t.documentElement||t.body;return i&&i.scrollTop||0}function g(n){return typeof n=="function"}function ct(n,t){t=typeof t=="number"?t:0;try{var i=Number(String(n).replace(/[^0-9\.\-]+/g,""));return isNaN(i)?t:i}catch(r){return t}}function o(n,t){var i=parseInt(n,10);return isNaN(i)?typeof t=="number"?t:0:i}function lt(n,t){try{var i=localStorage.getItem(n);return i!==null?i:t}catch(r){return console.warn("localStorage access failed for key: "+n,r),t}}function tt(n){var t=(n.getMonth()+1).toString().padStart(2,"0")+"/"+n.getDate().toString().padStart(2,"0")+"/"+n.getFullYear();return nt.includes(t)}function at(n,t){for(var i=new Date(n),r=0;r=0&&r>t&&(u=n.substring(t+1,r),i("#productname").val(u))}function it(t,r,u,f){i.ajax({type:"POST",url:"/AJAX/ProductSelect",data:JSON.stringify({value:t,IsRegistration:r,ReturnInternational:u,search:f}),contentType:"application/json; charset=utf-8",dataType:"json",success:function(t){var i=t||[];n.DisableDropDown("#product_name");n.PopulateDropDown("#product_name",i)},error:function(n){alert(n&&n.responseText?n.responseText:"Unexpected error")}})}function wt(n){i(n).attr("disabled","disabled").empty().append('