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 = "1n7icd28"; var locationKey = ""; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjFuN2ljZDI4IiwiZXhwIjoxNzI1NzYxNzU4LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.Rx9dEbA2eaK3ptqLksBlR0c9HwA8JQv-Qz-cCFlkd_c"; var accessTokenExpiry = "1725761758000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjFuN2ljZDI4IiwianRpIjoiMjk2YjA4NDYtNmY2Yy00Y2QyLWFlNTItZjQ4NGI1ZTg0NzA4IiwiZXhwIjoxNzI1OTMzOTU4LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.tNNLv-kMz66KlMwu_LBKRQ-PncDX-1ehSqzJzhOX8gA"; var template = '