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 = "wpzj8i8z"; var locationKey = "d_n3_yhi"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6ImRfbjNfeWhpIiwiZXhwIjoxNzE0MjIxNzY4LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.E6Nn2m2gZnHcs9JyIc2_V1aaAQj_H5opE8gjRc8zgds"; var accessTokenExpiry = "1714221768000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6ImRfbjNfeWhpIiwianRpIjoiNzliZjA5NmQtM2E2Ny00NzU5LTk1ZGMtYzk3ZjRkMjU1NjYxIiwiZXhwIjoxNzE0MzkzOTY4LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.e9CaOnoLk2ghKze9pgHojnjC63spSyHVHhXTJtS1hmE"; var template = '