!function(){if(-1!==window.navigator.userAgent.indexOf("MSIE ")||-1!==window.navigator.userAgent.indexOf("Trident/7.")){var o=window.location.href;fetch("/uStoreRestAPI/v1/store/loginByUrl",{method:"POST",body:JSON.stringify({FullURL:o}),headers:{"Content-Type":"application/json"}}).then((function(o){return o.json()})).then((function(o){const n=o.Token.Token,e=o.StoreID;window.location.href=n&&e?"/ustore/logout.aspx?SecurityToken="+n+"&StoreGuid="+e+"&forceLogin=true":"/ustore/error.aspx"})).catch((function(o){console.log(o),window.location.href="/ustore/error.aspx"}))}}();