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 = "dwvc8adw"; var locationKey = ""; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6ImR3dmM4YWR3IiwiZXhwIjoxNzE0NzYyNDE5LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.zAKnhRu9WnnBOm-MsyNHnUIGex6p7yH-MqkNDFcJvqc"; var accessTokenExpiry = "1714762419000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6ImR3dmM4YWR3IiwianRpIjoiZmQ2N2RkMDctMDgzZS00ODk2LTg1MjEtZmViNmE5ZmVmMmExIiwiZXhwIjoxNzE0OTM0NjE5LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.Km5QtBLKrNCETJn7roRNPzMcCHFr5zxpezSGqCvcaZ8"; var template = '