if (window.Element && !Element.prototype.closest) { Element.prototype.closest = function (s) { var matches = (this.document || this.ownerDocument).querySelectorAll(s), i, el = this; do { i = matches.length; while (--i >= 0 && matches.item(i) !== el) { }; } while ((i < 0) && (el = el.parentElement)); return el; }; } (function (w, d) { var widgetUrl = "https://widget.trustist.com"; var assetUrl = "https://wassets.trustist.com/assets"; var businessKey = "2vj_29lr"; var locationKey = "mwjpaypt"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6Im13anBheXB0IiwiZXhwIjoxNzE0NzQyNzk3LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.mmjLVZENDohqhP9MYvYEwfneXn_UqFaVOpRmzBWBWi8"; var accessTokenExpiry = "1714742797000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6Im13anBheXB0IiwianRpIjoiNTAyNDIyYmQtZDc3MC00NzlkLTlhZjMtYWY5ZWZmZThlZGI0IiwiZXhwIjoxNzE0OTE0OTk3LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.EM4urg-ZRyFWff3N3kt_fAJ_b64T5zfxVZoxH5ZCGwE"; var template = '