https://www.bizchair.com/cdn/shop/t/67/assets/algolia_autocomplete…?v=178993064881802925381729862052
1(function() { 2 document.addEventListener('algolia.hooks.initialize', function() { 3 algoliaShopify.hooks.registerHook('beforeAutocompletePagesTemplate', function(_defaultTemplate, templateOptions, itemLink) { 4 const { html, item, components } = templateOptions; 5 return html` 6 <a 7 href="${itemLink}" 8 class="aa-ItemLink aa-ProductItem" 9 > 10 <div class="aa-ItemWrapper"> 11 <div class="aa-ItemContent"> 12 <div class="aa-ItemContentBody"> 13 <div class="aa-ItemContentTitle"> 14 ${components.Highlight({ hit: item, attribute: 'title' })} 15 </div> 16 </div> 17 </div> 18 </div> 19 </a> 20 `; 21 }); 22 }); 23})();
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.