PageSourceSearch

https://depthfirst.com/_astro/DfbenchResultsTable.astro_astro_type…?dpl=dpl_2HyymELhRtRYWDP3btDmS4jHy5uN

js depthfirst.com collected 2026-09-24 08:54:37 UTC 5,629 bytes, 1 lines download raw bytes

1const D=".dfr",K=(e,t)=>{const[n,c]=t?["descending","ascending"]:["ascending","descending"];return e===n?c:e===c?"none":n};function m(e=document){e.querySelectorAll(D).forEach(t=>{if(t.dataset.sortInit==="true")return;t.dataset.sortInit="true";const n=[...t.querySelectorAll(".dfr__table tbody")];if(n.length===0)return;const c=new Map,u=[];for(const r of n[0].rows){const o=r.dataset.rowKey;o&&u.push(o)}for(const r of n)for(const o of r.rows){const s=o.dataset.rowKey;if(!s)continue;const y=c.get(s)??[];y.push(o),c.set(s,y)}const i=[...t.querySelectorAll("th[data-sort-type]")],a=(r,o)=>{const y=t.querySelector(`[data-row-key="${r}"] [data-col="${o}"]`)?.dataset.sortValue;return y===void 0||y===""?null:y},d=r=>{for(const o of r)for(const s of c.get(o)??[])s.parentElement?.append(s)},f=(r,o)=>{if(i.forEach(p=>{p.setAttribute("aria-sort",p===r?o:"none")}),o==="none"){d(u);return}const s=r.dataset.col??"",y=r.dataset.sortType==="number",S=o==="ascending"?1:-1,L=[...u].sort((p,R)=>{const h=a(p,s),b=a(R,s);return h===null&&b===null?0:h===null?1:b===null?-1:y?(Number(h)-Number(b))*S:h.localeCompare(b)*S});d(L)};i.forEach(r=>{const o=r.querySelector("[data-sort-button]");o&&o.addEventListener("click",()=>{const s=r.getAttribute("aria-sort")??"none";f(r,K(s,r.dataset.sortType==="number"))})});const l=i.find(r=>r.dataset.defaultSort==="descending");l&&f(l,"descending")})}function E(){document.querySelectorAll(".dfr").forEach(e=>{if(e.dataset.colHoverReady==="true")return;e.dataset.colHoverReady="true";let t={};try{t=JSON.parse(e.dataset.colPairs||"{}")}catch{t={}}let n=null,c=null;const u=a=>{if(a!==n){if(e.querySelectorAll(".is-col-hover").forEach(d=>d.classList.remove("is-col-hover")),a)for(const d of[a,...t[a]??[]])e.querySelectorAll(`[data-col="${d}"]`).forEach(f=>f.classList.add("is-col-hover"));n=a}},i=a=>{a!==c&&(e.querySelectorAll(".is-row-hover").forEach(d=>d.classList.remove("is-row-hover")),a&&e.querySelectorAll(`[data-row-key="${a}"]`).forEach(d=>d.classList.add("is-row-hover")),c=a)};e.addEventListener("pointerover",a=>{if(a.pointerType!=="mouse")return;const d=a.target,f=d?.closest?.("[data-col]"),l=d?.closest?.("[data-row-key]");u(f instanceof HTMLElement?f.dataset.col??null:null),i(l instanceof HTMLElement?l.dataset.rowKey??null:null)}),e.addEventListener("pointerleave",()=>{u(null),i(null)})})}function w(){document.querySelectorAll(".dfr").forEach(e=>{if(e.dataset.detectExpandReady==="true")return;e.dataset.detectExpandReady="true";const t=e.querySelector("[data-detect-toggle]"),n=e.querySelector(".dfr__menu-list"),c=e.querySelector(".dfr__scroll"),u=[...e.querySelectorAll("[data-detect-panel]")];if(!t||!n||u.length===0)return;const i=()=>window.matchMedia("(prefers-reduced-motion: reduce)").matches,a=()=>{const l=t.getBoundingClientRect();n.style.top=`${l.bottom+6}px`,n.style.left=`${Math.max(8,l.right-n.offsetWidth)}px`},d=()=>{n.matches(":popover-open")&&n.hidePopover()},f=l=>{const o=(e.dataset.detectPanel||null)===l?null:l;o?e.dataset.detectPanel=o:delete e.dataset.detectPanel,t.setAttribute("aria-label",o?"Hide Detection breakdown":"Detection breakdown options"),u.forEach(s=>{s.inert=s.dataset.detectPanel!==o}),o||c?.scrollTo({left:0,behavior:i()?"instant":"smooth"})};t.addEventListener("click",l=>{e.dataset.detectPanel&&(l.preventDefault(),d(),f(null))}),n.addEventListener("toggle",()=>{const l=n.matches(":popover-open");t.setAttribute("aria-expanded",String(l)),l&&a()}),n.querySelectorAll("[data-detect-mode]").forEach(l=>{l.addEventListener("click",()=>{const r=l.dataset.detectMode??null;d(),f(r)})})})}function v(e){const t=e.figure;if(t.dataset[e.readyKey]==="true")return;t.dataset[e.readyKey]="true";const n=t.querySelector(e.toggleSelector),c=t.querySelector(e.panelSelector),u=t.querySelector(".dfr__scroll");!n||!c||n.addEventListener("click",()=>{const i=n.getAttribute("aria-expanded")!=="true";if(n.setAttribute("aria-expanded",String(i)),n.setAttribute("aria-label",i?e.hideLabel:e.showLabel),i?t.dataset[e.expandedKey]="true":delete t.dataset[e.expandedKey],c.inert=!i,!i){const a=window.matchMedia("(prefers-reduced-motion: reduce)").matches;u?.scrollTo({left:0,behavior:a?"instant":"smooth"})}})}
1function q(){document.querySelectorAll(".dfr").forEach(e=>{v({figure:e,readyKey:"validateExpandReady",toggleSelector:"[data-validate-toggle]",panelSelector:"[data-validate-panel]",expandedKey:"validateExpanded",showLabel:"Show Validation F1",hideLabel:"Hide Validation F1"})})}function x(){document.querySelectorAll(".dfr").forEach(e=>{v({figure:e,readyKey:"incrementalExpandReady",toggleSelector:"[data-incremental-toggle]",panelSelector:"[data-incremental-panel]",expandedKey:"incrementalExpanded",showLabel:"Show Differential analysis lifecycle breakdown",hideLabel:"Hide Differential analysis lifecycle breakdown"})})}function A(){document.querySelectorAll(".dfr").forEach(e=>{if(e.dataset.scrollEdgeReady==="true")return;e.dataset.scrollEdgeReady="true";const t=e.querySelector(".dfr__scroll");if(!t)return;const n=()=>{e.toggleAttribute("data-scrolled",t.scrollLeft>1)};t.addEventListener("scroll",n,{passive:!0}),n()})}function g(){document.querySelectorAll(".dfr[data-collapsible]").forEach(e=>{if(e.dataset.showMoreReady==="true")return;e.dataset.showMoreReady="true";const t=e.querySelector("[data-dfr-more]"),n=e.querySelector("[data-dfr-more-label]");!t||!n||t.addEventListener("click",()=>{const c=e.toggleAttribute("data-collapsed");t.setAttribute("aria-expanded",String(!c)),n.textContent=c?"Show more":"Show less"})})}E();w();q();x();A();g();m();document.addEventListener("astro:page-load",()=>{E(),w(),q(),x(),A(),g(),m()});

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.