(()=>{"use strict";var e=new Headers;e.append("Content-Type","application/json"),window.EspeesPay=t=>{let o=JSON.stringify(t);fetch("https://cimpayments.com/v2/espees/pay",{method:"POST",headers:e,body:o,redirect:"follow"}).then((e=>e.json())).then((e=>{1==e.status&&(window.location.href=e.redirect_url)})).catch((e=>console.log("error",e)))}})();