PageSourceSearch

https://thinkingmachines.ai/js/script.min.79c2d79958493c8b72e12b13fa5d89ef49e3ae95a7aea5b82dbcc7e382c01b5a.js

js thinkingmachines.ai collected 2026-09-24 08:57:11 UTC 28,133 bytes, 1 lines download raw bytes

1document.addEventListener("DOMContentLoaded",function(){function a(){const o=document.createElement("span");o.style.position="absolute",o.style.left="-9999px",o.style.fontSize="72px",o.style.fontFamily="monospace",o.textContent="giItT1WQy@!-/#",document.body.appendChild(o);const d=o.offsetWidth;o.style.fontFamily='"GT America", monospace';const f=o.offsetWidth;return document.body.removeChild(o),d!==f}setTimeout(function(){a()?console.log("GT America font loaded successfully."):(console.warn("GT America font failed to load. Using fallback fonts."),document.body.classList.add("gt-america-fallback"))},1e3),"fonts"in document&&document.fonts.ready.then(function(){let o=!1;document.fonts.forEach(function(d){d.family==="GT America"&&d.status==="loaded"&&(o=!0)}),o?console.log("GT America WOFF2 fonts loaded via Font Face API."):(console.warn("GT America font not found in loaded fonts."),document.body.classList.add("gt-america-fallback"))})}),document.addEventListener("DOMContentLoaded",function(){const a=document.querySelector("#header .navbar-logo-home"),o=document.querySelector("#header .logo-container");if(!a||!o)return;function d(){const v=o.getBoundingClientRect().bottom<=0;a.classList.toggle("is-visible",v),a.setAttribute("aria-hidden",v?"false":"true")}d(),window.addEventListener("scroll",function(){a.classList.contains("animate")||a.classList.add("animate"),d()},{passive:!0}),window.addEventListener("resize",d)}),document.addEventListener("DOMContentLoaded",function(){const a=document.getElementById("menu-toggle"),o=document.getElementById("mobile-menu"),d=o?o.querySelector(".mobile-menu-nav"):null;if(!a||!o)return;let f=null;function v(){o.classList.contains("open")||(o.hidden=!0)}function w(){f!==null&&(window.clearTimeout(f),f=null),o.hidden=!1,o.offsetWidth,document.body.classList.add("menu-open"),o.classList.add("open"),a.classList.add("is-active"),a.setAttribute("aria-expanded","true"),o.setAttribute("aria-hidden","false")}function s(){document.body.classList.remove("menu-open"),o.classList.remove("open"),a.classList.remove("is-active"),a.setAttribute("aria-expanded","false"),o.setAttribute("aria-hidden","true"),f=window.setTimeout(function(){f=null,v()},300)}function u(){o.classList.contains("open")?s():w()}a.addEventListener("click",u),o.addEventListener("click",function(g){d&&d.contains(g.target)||s()}),o.addEventListener("transitionend",function(g){g.target===o&&g.propertyName==="opacity"&&v()}),document.addEventListener("keydown",function(g){g.key==="Escape"&&o.classList.contains("open")&&s()}),d&&d.querySelectorAll("a").forEach(function(g){g.addEventListener("click",function(){s()})}),window.addEventListener("resize",function(){window.innerWidth>600&&o.classList.contains("open")&&s()})}),document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll("a[href]").forEach(function(o){const d=o.getAttribute("href");if(!d||d.startsWith("#")||d.startsWith("javascript:")||d.startsWith("mailto:")||d.startsWith("tel:"))return;let f;try{f=new URL(o.href,document.baseURI)}catch{return}if(!(f.origin!==window.location.origin)||o.getAttribute("target")==="_self")return;o.setAttribute("target","_blank");const w=o.getAttribute("rel")||"",s=new Set(w.split(/\s+/).filter(Boolean));s.add("noopener"),s.add("noreferrer"),o.setAttribute("rel",Array.from(s).join(" "))})}),document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll('a[href^="#"]').forEach(function(a){a.addEventListener("click",function(o){const d=this.getAttribute("href")||"";if(d==="#"||d.toLowerCase()==="#top"){o.preventDefault(),window.scrollTo(0,0);return}if(d.length>1)try{const f=document.querySelector(d);f&&(o.preventDefault(),f.scrollIntoView({behavior:"smooth",block:"start"}))}catch{}})})}),document.addEventListener("DOMContentLoaded",function(){const a=Array.from(document.querySelectorAll(".intelligence-interactivity-charts"));if(!a.length)return;const o=window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;function d(s){for(let u=s.length-1;u>0;u--){const g=Math.floor(Math.random()*(u+1)),c=s[u];s[u]=s[g],s[g]=c}return s}function f(s){const u=[],g=Number.parseFloat(s.dataset.plotPointStagger)||65,c=Number.parseFloat(s.dataset.plotPointJitter)||35;s.querySelectorAll(".intelligence-interactivity-svg").forEach(function(r){const e=Array.from(r.querySelectorAll(".ii-point")),l=Array.from(r.querySelectorAll(".ii-error-bar"));e.forEach(function(m,p){u.push({errorBar:l[p],point:m})})}),d(u).forEach(function(r,e){const l=e*g+Math.round(Math.random()*c),m=l+"ms",p=Math.max(0,l-35)+"ms";r.point&&r.point.style.setProperty("--ii-point-delay",m),r.errorBar&&(r.errorBar.style.setProperty("--ii-error-delay",p),r.errorBar.style.setProperty("--ii-point-delay",m))})}function v(s){const u=s.closest(".intelligence-interactivity-figure");!u||u.dataset.plotAnimated==="true"||(u.dataset.plotAnimated="true",f(u),u.classList.add("is-plot-visible"),u.classList.remove("is-plot-pending"))}
1if(a.forEach(function(s){const u=s.closest(".intelligence-interactivity-figure");u&&(o?(u.classList.add("is-plot-visible"),u.dataset.plotAnimated="true"):u.classList.add("is-plot-pending"))}),o)return;if(!("IntersectionObserver"in window)){a.forEach(v);return}const w=new IntersectionObserver(function(s){s.forEach(function(u){u.isIntersecting&&(v(u.target),w.unobserve(u.target))})},{rootMargin:"0px 0px -18% 0px",threshold:.18});a.forEach(function(s){w.observe(s)})}),document.addEventListener("DOMContentLoaded",function(){const a=Array.from(document.querySelectorAll(".interaction-benchmark-bars-figure"));if(!a.length)return;const o=window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;function d(e,l){return l>0?e.toFixed(l):String(Math.round(e))}function f(e,l){const m=d(e,l);if(e<=0)return[m];const p=Math.min(4,Math.floor(e)),L=e-p,h=[];for(let E=0;E<=p;E+=1){const k=d(L+E,l);h[h.length-1]!==k&&h.push(k)}return h[h.length-1]!==m&&h.push(m),h}function v(e){if(!e||e.dataset.valueRollerPrepared==="true")return;const l=e.textContent.trim(),m=l.match(/^(\d+(?:\.\d+)?)(.*)$/);if(!m)return;const p=m[1],L=m[2]||"",h=p.indexOf("."),E=h===-1?0:p.length-h-1,k=Number(p);if(!Number.isFinite(k))return;const B=f(k,E),M=document.createElement("span"),C=document.createElement("span");if(M.className="interaction-benchmark-bars-value-wheel",M.setAttribute("aria-hidden","true"),C.className="interaction-benchmark-bars-value-strip",C.style.transform="translate3d(0, 0, 0)",C.dataset.targetIndex=String(B.length-1),B.forEach(function(T){const I=document.createElement("span");I.className="interaction-benchmark-bars-value-step",I.textContent=T,C.appendChild(I)}),M.appendChild(C),e.textContent="",e.setAttribute("aria-label",l),e.a
1ppendChild(M),L){const T=document.createElement("sup");T.setAttribute("aria-hidden","true"),T.textContent=L,e.appendChild(T)}e.dataset.valueRollerPrepared="true"}function w(e){Array.from(e.querySelectorAll(".interaction-benchmark-bars-series-row")).forEach(function(m,p){const L=p*45,h=m.querySelector(".interaction-benchmark-bars-fill"),E=m.querySelector(".interaction-benchmark-bars-value");h&&h.style.setProperty("--interaction-benchmark-bar-delay",L+"ms"),E&&E.style.setProperty("--interaction-benchmark-value-delay",L+85+"ms")})}function s(e){Array.from(e.querySelectorAll(".interaction-benchmark-bars-value")).forEach(v)}function u(e){Array.from(e.querySelectorAll(".interaction-benchmark-bars-value-strip")).forEach(function(m){const p=Number(m.dataset.targetIndex||0);m.style.transform="translate3d(0, -"+p+"em, 0)"})}function g(e){Array.from(e.querySelectorAll(".interaction-benchmark-bars-value-strip")).forEach(function(m){const p=Number(m.dataset.targetIndex||0),L=m.closest(".interaction-benchmark-bars-value"),h=L?L.style.getPropertyValue("--interaction-benchmark-value-delay"):"";m.style.transitionDelay=h||"0ms",m.style.transform="translate3d(0, -"+p+"em, 0)"})}function c(e){!e||e.dataset.barChartAnimated==="true"||(e.dataset.barChartAnimated="true",w(e),s(e),e.classList.add("is-bar-chart-visible"),e.classList.remove("is-bar-chart-pending"),g(e))}if(a.forEach(function(e){w(e),s(e),o?(e.classList.add("is-bar-chart-visible"),e.dataset.barChartAnimated="true",u(e)):e.classList.add("is-bar-chart-pending")}),o)return;if(!("IntersectionObserver"in window)){a.forEach(c);return}const r=new IntersectionObserver(function(e){e.forEach(function(l){l.isIntersecting&&(c(l.target),r.unobserve(l.target))})},{rootMargin:"0px 0px -18% 0px",threshold:.18});a.forEach(function(e){r.observe(e)})}),document.addEventListener("DOMContentLoaded",function(){const a=Array.from(document.querySelectorAll(".prompt-accuracy-bars-figure"));if(!a.length)return;const o=window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;function d(s){Array.from(s.querySelectorAll(".prompt-accuracy-bars-bar")).forEac
1h(function(g,c){g.style.setProperty("--prompt-accuracy-bar-delay",c*55+"ms")})}function f(s){!s||s.dataset.barChartAnimated==="true"||(s.dataset.barChartAnimated="true",d(s),s.classList.add("is-bar-chart-visible"),s.classList.remove("is-bar-chart-pending"))}function v(s){if(!s||s.dataset.tooltipReady==="true")return;s.dataset.tooltipReady="true";const u=s.querySelector(".prompt-accuracy-bars"),g=Array.from(s.querySelectorAll(".prompt-accuracy-bars-bar-expert"));if(!u||!g.length)return;const c=document.createElement("div");c.className="prompt-accuracy-bars-tooltip",c.setAttribute("aria-hidden","true"),c.innerHTML=['<div class="prompt-accuracy-bars-tooltip-card">','<div class="prompt-accuracy-bars-tooltip-title"></div>','<dl class="prompt-accuracy-bars-tooltip-stats">','<div><dt>Average Accuracy</dt><dd data-tooltip-field="accuracy"></dd></div>','<div><dt>Average Positive F1</dt><dd data-tooltip-field="f1"></dd></div>','<div><dt>Cost / 1K tasks</dt><dd data-tooltip-field="cost"></dd></div>',"</dl>","</div>"].join(""),u.appendChild(c);const r=c.querySelector(".prompt-accuracy-bars-tooltip-title"),e={accuracy:c.querySelector('[data-tooltip-field="accuracy"]'),f1:c.querySelector('[data-tooltip-field="f1"]'),cost:c.querySelector('[data-tooltip-field="cost"]')};function l(h){return h.closest(".prompt-accuracy-bars-group")||h}function m(h){const E=l(h),k=h.getBoundingClientRect(),B=u.getBoundingClientRect(),M=k.left+k.width/2-B.left,C=k.top-B.top;c.style.left=M+"px",c.style.top=C+"px",c.style.setProperty("--prompt-accuracy-bars-tooltip-offset-x","0px"),requestAnimationFrame(function(){const T=c.getBoundingClientRect(),I=u.getBoundingClientRect(),O=8;let F=0;const W=I.left+O-T.left,V=T.right-(I.right-O);W>0?F=W:V>0&&(F=-V),c.style.setProperty("--prompt-accuracy-bars-tooltip-offset-x",F+"px")})}function p(h){const E=l(h);r&&(r.textContent=E.dataset.model||""),e.accuracy&&(e.accuracy.textContent=E.dataset.accuracy||""),e.f1&&(e.f1.textContent=E.dataset.f1||""),e.cost&&(e.cost.textContent=E.dataset.cost||""),m(h),E.classList.add("is-active"),h.classList.add("is-active"),c.classList.add("is-active"),c.setAttribute("aria-hidden","false")}function L(h){l(h).classList.remove("is-active"),h.classList.remove("is-active"),c.classList.remove("is-active"),c.setAttribute("aria-hidden","true")}g.forEach(function(h){h.addEventListener("pointerenter",function(){p(h)}),h.addEventListener("pointermove",function(){m(h)}),h.addEventListener("pointerleave",function(){L(h)})})}if(a.forEach(function(s){v(s),d(s),o?(s.classList.add("is-bar-chart-visible"),s.dataset.barChartAnimated="true"):s.classList.add("is-bar-chart-pending")}),o)return;if(!("IntersectionObserver"in window)){a.forEach(f);return}const w=new IntersectionObserver(function(s){s.forEach(function(u){u.isIntersecting&&(f(u.target),w.unobserve(u.target))})},{rootMargin:"0px 0px -18% 0px",threshold:.18});a.forEach(function(s){w.observe(s)})}),document.addEventListener("DOMContentLoaded",function(){const a=Array.from(document.querySelectorAll(".benchmark-results-scroll, .chart-hscroll"));if(!a.length)return;const o=new WeakSet;function d(r){const e=r.previousElementSibling;return!e||!e.classList.contains("benchmark-results-controls")?[]:Array.from(e.querySelectorAll("[data-benchmark-scroll]"))}function f(r){return Math.max(240,r.clientWidth*.78)}function v(r,e,l,m){d(r).forEach(function(p){const L=p.dataset.benchmarkScroll,h=!m||L==="left"&&e<=1||L==="right"&&e>=l-1;p.disabled=h,p.setAttribute("aria-disabled",h?"true":"false")})}function w(r){return Math.max(0,r.scrollWidth-r.clientWidth)}function s(r){const e=w(r),l=Math.min(e,Math.max(0,r.scrollLeft));return l!==r.scrollLeft&&(r.scrollLeft=l),{maxScrollLeft:e,scrollLeft:l}}function u(r){const e=s(r),l=e.maxScrollLeft,m=e.scrollLeft,p=l>1;r.classList.toggle("is-scrollable-left",p&&m>1),r.classList.toggle("is-scrollable-right",p&&m<l-1);const L=r.previousElementSibling;L&&L.classList.contains("benchmark-results-controls")&&L.classList.toggle("benchmark-results-controls--inert",!p),v(r,m,l,p),o.delete(r)}function g(r){o.has(r)||(o.add(r),requestAnimationFrame(function(){u(r)}))}function c(){a.forEach(g)}
1if(a.forEach(function(r){u(r),r.addEventListener("scroll",function(){g(r)},{passive:!0}),r.addEventListener("wheel",function(e){const l=e.deltaX||(e.shiftKey?e.deltaY:0),m=e.shiftKey||Math.abs(l)>Math.abs(e.deltaY);if(!l||!m)return;const p=s(r),L=p.maxScrollLeft,h=p.scrollLeft,E=Math.min(L,Math.max(0,h+l));E!==h&&(e.preventDefault(),r.scrollLeft=E,g(r))},{passive:!1}),d(r).forEach(function(e){e.addEventListener("click",function(){const l=e.dataset.benchmarkScroll==="left"?-1:1,m=f(r),p=window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;r.scrollBy({left:l*m,behavior:p?"auto":"smooth"}),e.classList.remove("is-control-spring"),e.offsetWidth,e.classList.add("is-control-spring"),window.setTimeout(function(){e.classList.remove("is-control-spring"),g(r)},460),g(r)})})}),window.addEventListener("resize",c),window.addEventListener("load",c),document.fonts&&document.fonts.ready&&document.fonts.ready.then(c).catch(function(){}),window.ResizeObserver){const r=new ResizeObserver(c);a.forEach(function(e){r.observe(e);const l=e.querySelector("table");l&&r.observe(l)})}}),document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll("pre code").forEach(function(o){const d=o.parentNode,f=document.createElement("div");f.className="code-block-wrapper",d.parentNode.insertBefore(f,d),f.appendChild(d);const v=document.createElement("button");v.className="copy-button",v.type="button",v.setAttribute("aria-label","Copy code to clipboard"),v.setAttribute("title","Copy code");const w='<svg aria-hidden="true" focusable="false" role="img" viewBox="0 0 16 16" width="1rem" height="1rem" fill="currentColor" class="octicon octicon-copy"><path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path></svg>',s='<svg aria-hidden="true" focusable="false" role="img" viewBox="0 0 16 16" width="1rem" height="1rem" fill="currentColor" class="octicon octicon-check"><path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path></svg>';v.innerHTML=w,f.appendChild(v),v.addEventListener("click",function(){const u=o.textContent;navigator.clipboard.writeText(u).then(function(){v.innerHTML=s,setTimeout(function(){v.innerHTML=w},1600)}).catch(function(g){console.error("Failed to copy code:",g)})})})}),document.addEventListener("DOMContentLoaded",function(){const a=document.getElementById("left-toc"),o=document.querySelector("#main.post article.content");if(!a||!o)return;const d=Array.from(o.querySelectorAll("h2, h3"));for(;a.firstChild;)a.removeChild(a.firstChild);function f(t){return(t||"").toLowerCase().trim().replace(/[^a-z0-9\s-]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-")}const v=new Set;function w(t){const n=t.getAttribute("id");if(n)return v.add(n),n;let i=f(t.textContent||"")||"section";const b=i;let y=2;for(;v.has(i)||document.getElementById(i)&&document.getElementById(i)!==t;)i=b+"-"+y++;return t.id=i,v.add(i),i}function s(t){let n="introduction",i=2;for(;v.has(n)||document.getElementById(n);)n="introduction-"+i++;return t.id=n,v.add(n),n}if(!d.length){a.style.display="none";return}const u=document.createElement("ul");u.className="toc-list";const g=[u];let c=1;function r(){return Array.from(o.children).find(function(t){return!t||!t.tagName||t.tagName.toLowerCase()==="script"||t.tagName.toLowerCase()==="style"?!1:(t.textContent||"").trim()||t.querySelector("img, svg, canvas, iframe, table")})}const e=o.querySelector("p"),l=r();if(e&&l===e){const t=e.id?e.id:s(e),n=document.createElement("li");n.className="toc-item";const i=document.createElement("a");i.href="#"+t,i.textContent="Introduction",n.appendChild(i),u.appendChild(n)}
1d.forEach(function(t){const i=t.tagName.toLowerCase()==="h2"?1:2,b=w(t),y=(t.textContent||"").trim();if(!y)return;if(i>c)for(let S=c;S<i;S++){const P=document.createElement("ul");P.className="toc-list toc-level-"+(S+1);const z=g[g.length-1].lastElementChild;if(!z)break;z.appendChild(P),g.push(P)}else if(i<c)for(let S=c;S>i;S--)g.pop();c=i;const A=document.createElement("li");A.className="toc-item";const x=document.createElement("a");x.href="#"+b,x.textContent=y,A.appendChild(x),g[g.length-1].appendChild(A)});function m(t){return Array.from(t.children).find(function(n){return n.classList&&n.classList.contains("toc-list")})}function p(t){return Array.from(t.children).find(function(n){return n.tagName&&n.tagName.toLowerCase()==="a"})}const L=[];function h(t,n){t.querySelectorAll("a").forEach(function(i){n?i.removeAttribute("tabindex"):i.setAttribute("tabindex","-1")})}function E(t){const n=m(t);n&&n.style.setProperty("--toc-child-height",n.scrollHeight+"px")}function k(){L.forEach(E)}function B(t,n){const i=m(t),b=t.querySelector(".toc-expander"),y=p(t);!i||!b||(E(t),t.classList.toggle("is-expanded",n),i.setAttribute("aria-hidden",n?"false":"true"),h(i,n),b.setAttribute("aria-expanded",n?"true":"false"),b.setAttribute("aria-label",(n?"Collapse":"Expand")+" subsections for "+(y?y.textContent:"section")))}Array.from(u.querySelectorAll(".toc-item")).forEach(function(t,n){const i=m(t),b=p(t);if(!i||!b)return;const y=document.createElement("button"),A=document.createElement("span"),x="toc-children-"+n;i.id=x,i.setAttribute("aria-hidden","true"),h(i,!1),t.classList.add("has-children"),y.type="button",y.className="toc-expander",y.setAttribute("aria-expanded","false"),y.setAttribute("aria-controls",x),y.setAttribute("aria-label","Expand subsections for "+b.textContent),A.className="toc-expander-icon",A.setAttribute("aria-hidden","true"),A.textContent="\u203A",y.appendChild(A),L.push(t),y.addEventListener("pointerdown",function(){y.dataset.pointerActive="true"}),t.insertBefore(y,b)}),a.appendChild(u),k();const M=document.createElement("span");M.className="toc-active-marker",M.setAttribute("aria-hidden","true"),a.appendChild(M);const C=Array.from(a.querySelectorAll('a[href^="#"]')).map(function(t){const n=t.getAttribute("href");if(!n||n==="#")return null;let i=n.slice(1);try{i=decodeURIComponent(i)}catch{}const b=document.getElementById(i);return b?{link:t,item:t.closest(".toc-item"),target:b}:null}).filter(Boolean);let T=null,I=null,O=null;function F(){C.forEach(function(t){t.link.classList.remove("is-active"),t.link.removeAttribute("aria-current"),t.item&&t.item.classList.remove("is-active","has-active-descendant","is-marker-target")})}function W(t){let n=t&&t.parentElement?t.parentElement.closest(".toc-item"):null;for(;n;)n.classList.add("has-active-descendant"),n=n.parentElement?n.parentElement.closest(".toc-item"):null}function V(t){if(!t||!t.item)return t;const n=t.item.closest('.toc-list[aria-hidden="true"]');if(!n||!a.contains(n))return t;const i=n.parentElement?n.parentElement.closest(".toc-item"):null,b=i?p(i):null;return b?{link:b,item:i,target:t.target}:t}function K(t){return!!t&&!!t.link&&!t.link.closest('.toc-list[aria-hidden="true"]')}function U(t){if(I&&(I.classList.remove("is-marker-target"),I=null),!t||!t.link){a.classList.remove("has-active-marker"),M.style.removeProperty("--toc-active-marker-y");return}const n=t.link.getBoundingClientRect(),i=a.getBoundingClientRect(),b=n.top-i.top+a.scrollTop+n.height/2;M.style.setProperty("--toc-active-marker-y",b+"px"),a.classList.add("has-active-marker"),t.item&&(t.item.classList.add("is-marker-target"),I=t.item)}function X(t){if(T===t){U(V(t));return}if(F(),T=t,!t){U(null);return}t.link.classList.add("is-active"),t.link.setAttribute("aria-current","location"),t.item&&(t.item.classList.add("is-active"),W(t.item)),U(V(t))}function J(){X(Q()),q()}function _(){const t=getComputedStyle(document.documentElement),n=parseFloat(t.scrollPaddingTop)||0;return window.pageYOffset+n+24}function Q(){if(!C.length)return null;const t=window.pageYOffset+window.innerHeight,n=Math.max(document.body?document.body.scrollHeight:0,document.documentElement?document.documentElement.scrollHeight:0);if(t>=n-2)return C[C.length-1];const i=_();let b=C[0];
1return C.forEach(function(y){y.target.getBoundingClientRect().top+window.pageYOffset<=i&&(b=y)}),b}function $(){O=null,J()}function R(){O===null&&(O=requestAnimationFrame($))}R(),window.addEventListener("scroll",R,{passive:!0}),window.addEventListener("resize",R),window.addEventListener("load",R),a.addEventListener("scroll",R,{passive:!0});const D=".benchmark-results-scroll, .intelligence-interactivity-charts, .effort-curve-figure",H=Array.from(o.querySelectorAll("figure, table, .intelligence-interactivity-charts")),j=H.filter(function(t){return t.matches(D)||t.closest(D)}),tt=H.filter(function(t){return!t.matches(D)&&!t.closest(D)}),Y=Array.from(new Set(j.map(function(t){return t.matches(D)?t:t.closest(D)}).filter(Boolean)));let G=null;function et(t){const n=t.filter(function(i){return i&&i.width>0&&i.height>0});return n.length?n.reduce(function(i,b){return{top:Math.min(i.top,b.top),right:Math.max(i.right,b.right),bottom:Math.max(i.bottom,b.bottom),left:Math.min(i.left,b.left)}}):null}function nt(t,n,i){return{top:t.top-i,right:t.right+n,bottom:t.bottom+i,left:t.left-n}}function ot(t,n){return t.left<n.right&&t.right>n.left&&t.top<n.bottom&&t.bottom>n.top}function it(t,n){return t.bottom>-n&&t.top<window.innerHeight+n}function rt(t,n){const i=-n,b=window.innerHeight+n;return Math.max(0,Math.min(t.bottom,b)-Math.max(t.top,i))}function at(t,n){const i=Math.min(t.height,window.innerHeight);return i>0&&rt(t,0)>=i*n}function ct(){const t=[a.getBoundingClientRect()];
1return C.forEach(function(n){K(n)&&t.push(n.link.getBoundingClientRect())}),et(t)}function st(){if(G=null,!H.length||window.innerWidth<=1170){a.classList.remove("is-collision-hidden");return}const t=ct();if(!t)return;const n=nt(t,28,18);function i(x){const S=x.getBoundingClientRect();return it(S,18)?ot(n,S):!1}const b=j.some(function(x){return at(x.getBoundingClientRect(),.6)}),y=Y.some(i),A=b||y||tt.some(i);a.classList.toggle("is-collision-hidden",A)}function q(){G===null&&(G=requestAnimationFrame(st))}if(H.length&&(q(),window.addEventListener("scroll",q,{passive:!0}),window.addEventListener("resize",q),window.addEventListener("load",q),Y.forEach(function(t){t.addEventListener("scroll",q,{passive:!0})}),window.ResizeObserver)){const t=new ResizeObserver(q);t.observe(a),H.forEach(function(n){t.observe(n)}),Y.forEach(function(n){t.observe(n)})}document.fonts&&document.fonts.ready&&document.fonts.ready.then(function(){k(),R(),q()}),window.addEventListener("resize",k);let N=null;function lt(t){return t<.5?4*t*t*t:1-Math.pow(-2*t+2,3)/2}function dt(t){N!==null&&(cancelAnimationFrame(N),N=null);const n=window.pageYOffset,i=t-n,b=Math.min(900,Math.max(350,Math.abs(i)*.25)),y=performance.now();function A(x){const S=Math.min(1,(x-y)/b);window.scrollTo(0,n+i*lt(S)),S<1?N=requestAnimationFrame(A):N=null}N=requestAnimationFrame(A)}a.addEventListener("click",function(t){const n=t.target.closest(".toc-expander");if(n&&a.contains(n)){t.preventDefault(),t.stopPropagation();const Z=n.closest(".toc-item");if(!Z)return;B(Z,n.getAttribute("aria-expanded")!=="true"),n.dataset.pointerActive==="true"&&(delete n.dataset.pointerActive,n.blur()),R(),q();return}const i=t.target.closest('a[href^="#"]');if(!i||!a.contains(i))return;const b=i.getAttribute("href");if(!b||b==="#")return;let y=b.slice(1);try{y=decodeURIComponent(y)}catch{}const A=document.getElementById(y);if(!A)return;t.preventDefault();const x=getComputedStyle(document.documentElement),S=parseFloat(x.scrollPaddingTop)||0,P=A.getBoundingClientRect().top+window.pageYOffset-S,z=window.matchMedia("(prefers-reduced-motion: reduce)").matches;if(history.pushState(null,"",b),z){window.scrollTo(0,Math.max(0,P));return}dt(Math.max(0,P))})}),document.addEventListener("DOMContentLoaded",function(){const a=document.querySelector("#main.post article.content");if(!a)return;a.querySelectorAll("img").forEach(function(d){d.setAttribute("draggable","false"),d.addEventListener("dragstart",function(f){f.preventDefault()}),d.addEventListener("mousedown",function(f){f.detail>1&&f.preventDefault()}),d.addEventListener("contextmenu",function(f){f.preventDefault()})})}),document.addEventListener("DOMContentLoaded",function(){const a=document.querySelector("#main.post article.content");if(!a)return;const o=Array.from(a.querySelectorAll("h2, h3, h4, h5, h6"));if(!o.length)return;function d(c){return(c||"").toLowerCase().trim().replace(/[^a-z0-9\s-]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-")}const f=new Set(Array.from(document.querySelectorAll("[id]")).map(function(c){return c.id}));function v(c){const r=c.getAttribute("id");if(r)return r;let e=d(c.textContent||"")||"section";const l=e;let m=2;for(;f.has(e)||document.getElementById(e);)e=l+"-"+m++;return c.id=e,f.add(e),e}function w(c){const r=new URL(window.location.href);return r.hash=c,r.toString()}function s(c){return new Promise(function(r,e){const l=document.createElement("textarea");l.value=c,l.setAttribute("readonly",""),l.style.position="fixed",l.style.top="-9999px",l.style.left="-9999px",document.body.appendChild(l),l.select();try{document.execCommand("copy")?r():e(new Error("Copy command was not successful"))}catch(m){e(m)}finally{document.body.removeChild(l)}})}function u(c){return navigator.clipboard&&window.isSecureContext?navigator.clipboard.writeText(c).catch(function(){return s(c)}):s(c)}function g(c){const r=c.getAttribute("aria-label")||"Link to this section",e=c.getAttribute("title")||"Link to this section";c.setAttribute("aria-label","Copied section URL"),c.setAttribute("title","Copied section URL"),window.setTimeout(function(){c.setAttribute("aria-label",r),c.setAttribute("title",e)},1600)}
1o.forEach(function(c){const r=v(c);if(!c.querySelector(".heading-anchor")){let e=c.querySelector(".heading-text");if(!e){for(e=document.createElement("span"),e.className="heading-text";c.firstChild;)e.appendChild(c.firstChild);c.appendChild(e)}const l=document.createElement("a");l.className="heading-anchor",l.href=w(r),l.setAttribute("aria-label","Link to this section"),l.setAttribute("title","Link to this section"),l.textContent="#",l.addEventListener("click",function(m){const p=w(r);m.preventDefault(),history.pushState(null,"",p),c.scrollIntoView({behavior:"smooth",block:"start"}),u(p).then(function(){g(l)}).catch(function(L){console.error("Failed to copy section URL:",L)})}),e.appendChild(l)}})}),document.addEventListener("DOMContentLoaded",function(){const a=document.querySelector(".tinker-hero-section");if(!a)return;function o(d){const f=d.getBoundingClientRect();return f.top<window.innerHeight&&f.bottom>0}o(a)&&[".tinker-cover-image",".tinker-title",".tinker-subtitle",".tinker-cta-row"].forEach(function(f){const v=document.querySelector(f);v&&v.classList.add("animate-in")})});

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.