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 = "e0any32y"; var locationKey = "0rupk672"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjBydXBrNjcyIiwiZXhwIjoxNzE0Mzk3NDc2LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.XLPToTcixoiQQ92IeNJkrSZh3g0N7o8L2Tb6M8okjAc"; var accessTokenExpiry = "1714397476000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjBydXBrNjcyIiwianRpIjoiYWRiYzI2NTUtNzdjYS00MzNkLTg0ZWEtMWRiNmZmNzExM2I0IiwiZXhwIjoxNzE0NTY5Njc2LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.T5Gf6PirEDY713CE4Yw9q7eW3q1-_NnC_pfWq-cceg4"; var template = '