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 = "u7csqy37"; var locationKey = "55bi7898"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjU1Ymk3ODk4IiwiZXhwIjoxNzI1NzcyNDEwLCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.stLxr5lSJNp192VeHLmNo1iftF0r3o8lLpn7e1-g9g4"; var accessTokenExpiry = "1725772410000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjU1Ymk3ODk4IiwianRpIjoiYTQyMTdhMzEtZWZmNS00ZDc5LTgwYzAtMzcyYjU3YmY0MjIzIiwiZXhwIjoxNzI1OTQ0NjEwLCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.lBCYFMo-UPKDX2o4FaTr2Iih7GCb8-lrhpoa-6x-M-A"; var template = '