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 = "edvdbghn"; var locationKey = "6177"; var tenantKey = ""; var tag = ""; var activeWidgets = []; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjYxNzciLCJleHAiOjE3MTQyMzU2OTEsImlzcyI6IlRydXN0aXN0IiwiYXVkIjoiV2lkZ2V0cyJ9.AQllc-Wa8EByU_VCc6hP4IsjPMDwUK7uEzxQ4Ms4FZI"; var accessTokenExpiry = "1714235691000"; var refreshToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IjYxNzciLCJqdGkiOiIyZWUwNGVkYy04YmRlLTQwYmQtYTAwMi1iMTY0NWI0ZjJiODEiLCJleHAiOjE3MTQ0MDc4OTEsImlzcyI6IlRydXN0aXN0IiwiYXVkIjoiV2lkZ2V0cyJ9.ZRHUGL7lFLci_vr8jfXy7wdFg3MCYKF_2dn_y5isT-w"; var template = '