1window.__text_connect = { 2 addons: textConnect.addons, 3 visitor: textConnect.visitor, 4 getCartContent: function (success) { 5 if (!this.addons?.includes('woocommerce')) { 6 return false; 7 } 8 9 let xhr; 10 11 try { 12 xhr = new XMLHttpRequest(); 13 } catch (e) { 14 return false; 15 } 16 17 xhr.open('POST', textConnect.ajax_url, true); 18 xhr.setRequestHeader( 19 'Content-Type', 20 'application/x-www-form-urlencoded; charset=UTF-8' 21 ); 22 xhr.onreadystatechange = function () { 23 if (xhr.readyState > 3 && xhr.status === 200 && success) { 24 success(xhr.responseText); 25 } 26 }; 27 xhr.send('action=text-refresh-cart'); 28 29 return xhr; 30 } 31}
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.