PageSourceSearch

https://www.fool.com.au/wp-content/plugins/fool-wp-tracker/src/js/…?ver=2026-05-21-07-27-26

js fool.com.au collected 2026-09-24 17:09:52 UTC 1,001 bytes, 31 lines download raw bytes

1/* global CookieHelper */
2
3class FivsCookieManager {
4  static init() {
5    var _window$foolTracker;
6    const cookieDomain = ((_window$foolTracker = window.foolTracker) === null || _window$foolTracker === void 0 ? void 0 : _window$foolTracker.cookieDomain) || '';
7    const existingCookie = CookieHelper.getCookie('fivs');
8    let guid;
9    if (existingCookie) {
10      try {
11        const cookieData = CookieHelper.cookieToObject(existingCookie);
12        if (cookieData && cookieData.guid) {
13          guid = cookieData.guid;
14        }
15      } catch (_unused) {
16        guid = null;
17      }
18    }
19    if (!guid) {
20      guid = CookieHelper.generateUuid();
21    }
22    const cookieValue = JSON.stringify({
23      guid: guid
24    });
25    const expiryTime = new Date();
26    expiryTime.setTime(expiryTime.getTime() + 5400 * 1000); // 5400 seconds = 90 minutes
27    const expires = expiryTime.toUTCString();
28    CookieHelper.setCookie('fivs', cookieValue, expires, cookieDomain);
29  }
30}
31FivsCookieManager.init();

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.