1function renderAISummary(e,s){return e?.length?` 2 <div class="summary-container"> 3 <div class="search-summary"> 4 <div class="summary-title-block"> 5 <span>AI Summary</span> 6 <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve"> 7 <path d="M85.0849609,57.5478516c0,0.4677734-0.3242188,0.8720703-0.7792969,0.9755859 C65.2060547,62.8388672,61.96875,66.0761719,57.6533203,85.1757813c-0.1035156,0.4550781-0.5078125,0.7792969-0.9755859,0.7792969 s-0.8720703-0.3242188-0.9755859-0.7792969c-4.3154297-19.0996094-7.5532227-22.3369141-26.6518555-26.6523438 c-0.4560547-0.1035156-0.7797852-0.5078125-0.7797852-0.9755859s0.3237305-0.8720703,0.7797852-0.9755859 c19.0986328-4.3154297,22.3364258-7.5527344,26.6518555-26.6523438c0.1035156-0.4550781,0.5078125-0.7792969,0.9755859-0.7792969 s0.8720703,0.3242188,0.9755859,0.7792969c4.3154297,19.0996094,7.5527344,22.3369141,26.6523438,26.6523438 C84.7607422,56.6757813,85.0849609,57.0800781,85.0849609,57.5478516z M43.9472656,32.8847656 c0.4560547-0.1035156,0.7797852-0.5078125,0.7797852-0.9755859s-0.3237305-0.8720703-0.7797852-0.9755859 c-11.5429688-2.6083984-13.5004883-4.5654297-16.1083984-16.109375c-0.1030273-0.4560547-0.5083008-0.7792969-0.9755859-0.7792969 s-0.8725586,0.3242188-0.9755859,0.7792969c-2.6079102,11.5439453-4.5649414,13.5009766-16.1079102,16.109375 C9.3237305,31.0371094,9,31.4414063,9,31.9091797s0.3237305,0.8720703,0.7797852,0.9755859 c11.5429688,2.6074219,13.5,4.5644531,16.1079102,16.1083984c0.1030273,0.4550781,0.5083008,0.7792969,0.9755859,0.7792969 s0.8725586-0.3242188,0.9755859-0.7792969C30.4472656,37.4492188,32.4042969,35.4921875,43.9472656,32.8847656z M90.2207031,36.7539063c-4.9541016-1.1201172-5.6503906-1.8154297-6.7685547-6.7685547 c-0.1035156-0.4550781-0.5078125-0.7792969-0.9755859-0.7792969s-0.8720703,0.3242188-0.9755859,0.7792969 c-1.1181641,4.953125-1.8144531,5.6484375-6.7685547,6.7685547c-0.4560547,0.1035156-0.7792969,0.5087891-0.7792969,0.9755859 c0,0.4677734,0.3242188,0.8720703,0.7792969,0.9755859c4.9541016,1.1191406,5.6503906,1.8144531,6.7685547,6.7685547 c0.1035156,0.4550781,0.5078125,0.7792969,0.9755859,0.7792969s0.8720703-0.3242188,0.9755859-0.7792969 c1.1181641-4.9541016,1.8144531-5.6494141,6.7685547-6.7685547C90.6757813,38.6015625,91,38.1972656,91,37.7294922 C91,37.2626953,90.6767578,36.8574219,90.2207031,36.7539063z"/> 8 </svg> 9 </div> 10 <p> 11 ${e} 12 ${s.length>0?'<button type="button" class="toggle-references" aria-haspopup="true" aria-expanded="false" aria-controls="search-references">References</button>':""} 13 </p> 14 </div> 15 ${s.length>0?` 16 <div id="search-references" class="search-references"> 17 <ol> 18 ${s.map((a,i)=>`<li><a href="${a.url}">${a.title}</a></li>`).join("")} 19 </ol> 20 </div> 21 `:""} 22 <div class="ai-disclaimer"> 23 <small>AI-generated response. This summary is synthesized from search results and may contain inaccuracies. Please verify important information with the original source documents listed below.</small> 24 </div> 25 </div> 26 `:""}function toggleReferences(e){$(".search-references").toggleClass("expanded"),e.attr("aria-expanded")=="true"?e.attr("aria-expanded","false"):e.attr("aria-expanded","true")}
26function renderSearchSkeleton(){return'<div class="search-skeleton">'+`<div class="skeleton-item"> 27 <div class="skeleton-title"></div> 28 <div class="skeleton-snippet"></div> 29 <div class="skeleton-link"></div> 30 </div>`.repeat(5)+"</div>"}
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.