PageSourceSearch

https://247wallst.com/wp-content/themes/247wallst-theme-2026/dist/js/market-strip.min.js?ver=v1.4.0

js 247wallst.com collected 2026-09-24 15:18:34 UTC 1,928 bytes, 1 lines download raw bytes

1!function(){var t=document.querySelector(".strip[data-endpoint]");if(t){var e=t.getAttribute("data-endpoint"),n=parseInt(t.getAttribute("data-max-age"),10)||1800,r=parseInt(t.getAttribute("data-refresh"),10)||600,a=null;s(),a&&clearInterval(a),a=setInterval(function(){"visible"===document.visibilityState&&s()},1e3*r),document.addEventListener("visibilitychange",function(){"visible"===document.visibilityState&&i(parseInt(t.getAttribute("data-as-of"),10))>=r&&s()})}function i(t){return t?Math.floor(Date.now()/1e3)-t:1/0}function o(){t.hidden=!0}function l(e){if(!e||!e.quotes||!e.quotes.length)return o();if(i(e.asOf)>(e.maxAge||n))return o();var r=0,a={};if(e.quotes.forEach(function(e){a[e.symbol||""]=!0;var n=t.querySelectorAll('.quote[data-symbol="'+(e.symbol||"").replace(/"/g,'\\"')+'"]');n.length&&(r++,Array.prototype.forEach.call(n,function(t){var n=t.querySelector(".qval"),r=t.querySelector(".qchg");if(n){var a=parseFloat((n.textContent||"").replace(/[^0-9.eE+-]/g,"")),i=parseFloat(String(e.value).replace(/[^0-9.eE+-]/g,""));n.textContent=e.value,isFinite(a)&&isFinite(i)&&a!==i&&(n.classList.remove("tick-up","tick-down"),n.offsetWidth,n.classList.add(i>a?"tick-up":"tick-down"))}r&&(r.textContent=e.change,r.classList.toggle("up",!!e.up),r.classList.toggle("down",!e.up));var o=t.querySelector("svg");if(e.spark){var l=document.createElement("div");l.innerHTML=e.spark;var s=l.firstElementChild;if(!s)return;o?t.replaceChild(s,o):n&&t.insertBefore(s,n)}else o&&o.remove()}))}),Array.prototype.forEach.call(t.querySelectorAll(".quote"),function(t){a[t.dataset.symbol||""]||t.remove()}),!r)return o();"boolean"==typeof e.open&&t.classList.toggle("strip--closed",!e.open),t.hidden=!1,t.setAttribute("data-as-of",String(e.asOf||0))}function s(){fetch(e,{credentials:"same-origin"}).then(function(t){return t.ok?t.json():null}).then(l).catch(function(){i(parseInt(t.getAttribute("data-as-of"),10))>n&&o()})}}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.