(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,217524,e=>{"use strict";var t=e.i(651681);let n={name:"beaker",size:24,node:[["path",{d:"M4.5 3h15",key:"c7n0jr"}],["path",{d:"M6 3v16a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V3",key:"m1uhx7"}],["path",{d:"M6 14h12",key:"4cwo0f"}]]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],217524)},482128,e=>{"use strict";var t=e.i(651681);let n={name:"blocks",size:24,node:[["path",{d:"M10 22V7a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a1 1 0 0 0-1-1H2",key:"1ah6g2"}],["rect",{x:"14",y:"2",width:"8",height:"8",rx:"1",key:"88lufb"}]]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],482128)},309821,e=>{"use strict";var t=e.i(651681);let n={name:"chart-column",size:24,node:[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],aliases:["bar-chart-3"]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],309821)},592181,e=>{"use strict";var t=e.i(900057);e.s(["f",()=>t.f])},193854,e=>{"use strict";var t=e.i(651681);let n={name:"clock",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],193854)},165460,e=>{"use strict";var t=e.i(651681);let n={name:"contrast",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 18a6 6 0 0 0 0-12v12z",key:"j4l70d"}]]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],165460)},153716,e=>{"use strict";var t=e.i(651681);let n={name:"images",size:24,node:[["path",{d:"m22 11-1.296-1.296a2.4 2.4 0 0 0-3.408 0L11 16",key:"9kzy35"}],["path",{d:"M4 8a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2",key:"1t0f0t"}],["circle",{cx:"13",cy:"7",r:"1",fill:"currentColor",key:"1obus6"}],["rect",{x:"8",y:"2",width:"14",height:"14",rx:"2",key:"1gvhby"}]]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],153716)},380991,e=>{"use strict";var t=e.i(782775);e.s(["f",()=>t.f])},928130,e=>{"use strict";var t=e.i(651681);let n={name:"paintbrush",size:24,node:[["path",{d:"m14.622 17.897-10.68-2.913",key:"vj2p1u"}],["path",{d:"M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z",key:"18tc5c"}],["path",{d:"M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15",key:"ytzfxy"}]]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],928130)},428655,e=>{"use strict";var t=e.i(651681);let n={name:"receipt",size:24,node:[["path",{d:"M12 17V7",key:"pyj7ub"}],["path",{d:"M16 8h-6a2 2 0 0 0 0 4h4a2 2 0 0 1 0 4H8",key:"1elt7d"}],["path",{d:"M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z",key:"ycz6yz"}]]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],428655)},538755,e=>{"use strict";var t=e.i(651681);let n={name:"scale",size:24,node:[["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"m19 8 3 8a5 5 0 0 1-6 0zV7",key:"zcdpyk"}],["path",{d:"M3 7h1a17 17 0 0 0 8-2 17 17 0 0 0 8 2h1",key:"1yorad"}],["path",{d:"m5 8 3 8a5 5 0 0 1-6 0zV7",key:"eua70x"}],["path",{d:"M7 21h10",key:"1b0cd5"}]]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],538755)},620993,e=>{"use strict";var t=e.i(651681);let n={name:"shapes",size:24,node:[["path",{d:"M8.3 10a.7.7 0 0 1-.626-1.079L11.4 3a.7.7 0 0 1 1.198-.043L16.3 8.9a.7.7 0 0 1-.572 1.1Z",key:"1bo67w"}],["rect",{x:"3",y:"14",width:"7",height:"7",rx:"1",key:"1bkyp8"}],["circle",{cx:"17.5",cy:"17.5",r:"3.5",key:"w3z12y"}]]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],620993)},750636,e=>{"use strict";var t=e.i(651681);let n={name:"sparkles",size:24,node:[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],aliases:["stars"]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],750636)},150080,e=>{"use strict";var t=e.i(651681);let n={name:"trophy",size:24,node:[["path",{d:"M10 14.66V17a1 1 0 0 1-1 1 2 2 0 0 0-2 2v2",key:"pwuv1l"}],["path",{d:"M14 14.66V17a1 1 0 0 0 1 1 2 2 0 0 1 2 2v2",key:"1y54w1"}],["path",{d:"M17.916 10H19.5A2.5 2.5 0 0 0 22 7.5V5a1 1 0 0 0-1-1h-3",key:"e30mpu"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6.084 10H4.5A2.5 2.5 0 0 1 2 7.5V5a1 1 0 0 1 1-1h3",key:"i0yafy"}]]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],150080)},336819,e=>{"use strict";var t=e.i(651681);let n={name:"wrench",size:24,node:[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],336819)},312679,e=>{"use strict";var t=e.i(663456),n=e.i(16043),r=e.i(687186);function i(e){return e()}function a(){}function l(){return 0}e.s(["f",0,function(){let e,o,s=(0,t.c)(3),c=(0,n.useRef)(null);if(null===c.current){let e;s[0]===Symbol.for("react.memo_cache_sentinel")?(e={value:0,listeners:new Set},s[0]=e):e=s[0],c.current=e}s[1]===Symbol.for("react.memo_cache_sentinel")?(e=e=>{let t=c.current;if(!t)return a;t.listeners.add(e);let n=(0,r.b)(),l=document.querySelector("#page-content");if(0===n.length||!l)return()=>t.listeners.delete(e);let o=()=>{let e=Number.parseFloat(getComputedStyle(l).getPropertyValue("--sticky-banner-top")),n=Number.isFinite(e)?e:0;n!==t.value&&(t.value=n,t.listeners.forEach(i))};o();let s="u"s?.observe(e));let d="u"{s?.disconnect(),d?.disconnect(),t.listeners.delete(e)}},s[1]=e):e=s[1];let d=e;s[2]===Symbol.for("react.memo_cache_sentinel")?(o=()=>c.current?.value??0,s[2]=o):o=s[2];let u=o;return(0,n.useSyncExternalStore)(d,u,l)}])},832850,e=>{"use strict";var t=e.i(659350),n=e.i(663456),r=e.i(354896),i=e.i(750636),a=e.i(16043),l=e.i(136562),o=e.i(512688),s=e.i(233452),c=e.i(139697),d=e.i(359544),u=e.i(848984),f=e.i(232458);let h=new Set(["ArrowDown","ArrowUp","End","Home","PageDown","PageUp"," ","Spacebar"]);function p({id:e,target:t,precedingElements:n,behavior:r,settleMs:i}){(0,f.m)(e);let a=(0,u.$)(),l="auto"===r||!m(t,a),o="auto"===r||!l,s="onscrollend"in window,c=null,d=null,v=o?"settled":"pending",g=!1,y=0,x=e=>{v=function(e,t){if("released"===e)return e;switch(t.type){case"scroll_started":return"pending"===e?"scrolling":e;case"target_landed":return"settled";case"released":return"released";default:return t}}(v,e)},k=()=>{x({type:"target_landed"}),"settled"===v&&(y=b(t,a))},w=(0,u.j)(),C=new Map,j=new ResizeObserver(()=>{if("released"===v)return;let e=!1;for(let t of n){let n=C.get(t),r=t.getBoundingClientRect().height;C.set(t,r),void 0!==n&&n!==r&&(e=!0)}e&&(g=!0,t.scrollIntoView({behavior:"auto",block:"start"}),window.requestAnimationFrame(()=>{g=!1,y=b(t,a)}))}),L=()=>{"released"!==v&&(x({type:"released"}),null!==c&&(window.clearTimeout(c),c=null),null!==d&&(window.clearTimeout(d),d=null),window.removeEventListener("scroll",N),window.removeEventListener("scrollend",M),window.removeEventListener("wheel",S),window.removeEventListener("touchmove",S),window.removeEventListener("keydown",T),document.removeEventListener("scrollend",M),a?.removeEventListener("scroll",N),a?.removeEventListener("scrollend",M),j.disconnect(),(0,f.l)(e))},R=()=>{null===c&&(c=window.setTimeout(L,i))},N=()=>{if("released"===v)return;if(!s){if("pending"===v){if((0,u.j)()===w)return;x({type:"scroll_started"}),R()}"scrolling"===v&&m(t,a)&&k()}let e=b(t,a),n=Math.abs(e-y)>24&&Math.abs(e)>Math.abs(y);"settled"===v&&!g&&n&&L()},M=()=>{"released"!==v&&(k(),R())},S=()=>{L()},T=e=>{h.has(e.key)&&L()};for(let e of n)C.set(e,e.getBoundingClientRect().height),j.observe(e);return window.addEventListener("scroll",N,{passive:!0}),s&&(window.addEventListener("scrollend",M),document.addEventListener("scrollend",M),a?.addEventListener("scrollend",M)),window.addEventListener("wheel",S,{passive:!0}),window.addEventListener("touchmove",S,{passive:!0}),window.addEventListener("keydown",T),a?.addEventListener("scroll",N,{passive:!0}),o&&R(),l?("smooth"===r&&(d=window.setTimeout(L,7500)),t.scrollIntoView({behavior:r,block:"start"}),"auto"===r&&k()):k(),"pending"===v&&window.requestAnimationFrame(()=>{"released"!==v&&m(t,a)&&(k(),R())}),L}function m(e,t){return 1>=Math.abs(b(e,t))}function b(e,t){let n=e.getBoundingClientRect(),r=t?.isConnected&&(0,u.b)(t)?t.getBoundingClientRect().top:0,i=n.top-r,a=Number.parseFloat(getComputedStyle(e).scrollMarginTop);return i-(Number.isNaN(a)?0:a)}var v=e.i(214530);let g={viewport:{desktopOnly:"lg:block",mobileOnly:"lg:hidden"},container:{desktopOnly:"@3xl:block",mobileOnly:"@3xl:hidden"}};function y(e){return{value:e.id,label:(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-2",children:[(0,t.jsx)(e.icon,{"aria-hidden":!0,className:(0,l.f)("size-4 shrink-0",e.iconClassName)}),(0,t.jsx)("span",{className:"truncate",children:e.label}),(0,t.jsx)(j,{section:e})]})}}function x(e){return!e.mobileOnly}function k(e){return e.el}function w(e){let r,i,o,s,c,d,u,f,h=(0,n.c)(19),{sections:p,activeAnchor:m,onClick:b}=e,v=(0,a.useRef)(null);h[0]===Symbol.for("react.memo_cache_sentinel")?(r=new Map,h[0]=r):r=h[0];let g=(0,a.useRef)(r),[y,x]=(0,a.useState)(null);h[1]!==m?(i=()=>{let e=g.current.get(m);if(!e)return;let t=()=>{x({top:e.offsetTop,height:e.offsetHeight})};t();let n=new ResizeObserver(t);return n.observe(e),v.current&&n.observe(v.current),()=>n.disconnect()},o=[m],h[1]=m,h[2]=i,h[3]=o):(i=h[2],o=h[3]),(0,a.useEffect)(i,o),h[4]===Symbol.for("react.memo_cache_sentinel")?(s=e=>t=>{t?g.current.set(e,t):g.current.delete(e)},h[4]=s):s=h[4];let k=s;if(h[5]!==y?(c=y&&(0,t.jsx)("div",{"aria-hidden":!0,"data-allow-inline-style":!0,className:(0,l.f)("absolute inset-x-0 rounded-md bg-accent pointer-events-none","h-(--pill-height) translate-y-(--pill-top)","transition-[translate] duration-fast ease-in-out-strong motion-reduce:transition-none"),style:{"--pill-height":`${y.height}px`,"--pill-top":`${y.top}px`}}),h[5]=y,h[6]=c):c=h[6],h[7]!==m||h[8]!==b||h[9]!==p){let e;h[11]!==m||h[12]!==b?(e=e=>(0,t.jsx)(C,{section:e,isActive:m===e.id,onClick:b,registerRef:k(e.id)},e.id),h[11]=m,h[12]=b,h[13]=e):e=h[13],d=p.map(e),h[7]=m,h[8]=b,h[9]=p,h[10]=d}else d=h[10];return h[14]!==d?(u=(0,t.jsx)("div",{className:"relative flex flex-col gap-y-px",children:d}),h[14]=d,h[15]=u):u=h[15],h[16]!==c||h[17]!==u?(f=(0,t.jsxs)("div",{ref:v,className:"relative",children:[c,u]}),h[16]=c,h[17]=u,h[18]=f):f=h[18],f}function C(e){let r,i,a,o,s,c,d=(0,n.c)(21),{section:u,isActive:f,onClick:h,registerRef:p}=e,m=u.icon,b=`#${u.id}`;d[0]!==h||d[1]!==u.id?(r=e=>h(e,u.id),d[0]=h,d[1]=u.id,d[2]=r):r=d[2];let v=f?"page":void 0,g=f?"text-accent-foreground":"text-muted-foreground hover:text-accent-foreground hover:bg-card-hover";d[3]!==g?(i=(0,l.f)("relative flex items-center gap-2 px-2 py-1.5 rounded-md text-body font-medium cursor-pointer transition-colors no-underline",g),d[3]=g,d[4]=i):i=d[4];let y=!f&&u.iconClassName;return d[5]!==y?(a=(0,l.f)("size-4",y),d[5]=y,d[6]=a):a=d[6],d[7]!==m||d[8]!==a?(o=(0,t.jsx)(m,{className:a}),d[7]=m,d[8]=a,d[9]=o):o=d[9],d[10]!==u?(s=(0,t.jsx)(j,{section:u}),d[10]=u,d[11]=s):s=d[11],d[12]!==p||d[13]!==u.label||d[14]!==b||d[15]!==r||d[16]!==v||d[17]!==i||d[18]!==o||d[19]!==s?(c=(0,t.jsxs)("a",{ref:p,href:b,onClick:r,"aria-current":v,className:i,children:[o,u.label,s]}),d[12]=p,d[13]=u.label,d[14]=b,d[15]=r,d[16]=v,d[17]=i,d[18]=o,d[19]=s,d[20]=c):c=d[20],c}function j(e){let r,a,l,o=(0,n.c)(7),{section:c}=e;return o[0]!==c.badge?(r=void 0!==c.badge&&(0,t.jsx)(s.Badge,{variant:"secondary",size:"sm",className:"shrink-0",children:c.badge}),o[0]=c.badge,o[1]=r):r=o[1],o[2]!==c.newLabel?(a=void 0!==c.newLabel&&(0,t.jsx)(i.f,{role:"img","aria-label":c.newLabel,className:"size-3.5 shrink-0 text-primary"}),o[2]=c.newLabel,o[3]=a):a=o[3],o[4]!==r||o[5]!==a?(l=(0,t.jsxs)(t.Fragment,{children:[r,a]}),o[4]=r,o[5]=a,o[6]=l):l=o[6],l}function L(e){let t=[];for(let n of e){let e=document.getElementById(n.id);e&&e.getClientRects().length>0&&t.push({id:n.id,el:e})}return t}function R(e){let t=null,n=(0,u.$)(),r=()=>{null===t&&(t=window.requestAnimationFrame(()=>{t=null,e()}))};return window.addEventListener("scroll",r,{passive:!0}),window.addEventListener("resize",r,{passive:!0}),n?.addEventListener("scroll",r,{passive:!0}),()=>{window.removeEventListener("scroll",r),window.removeEventListener("resize",r),n?.removeEventListener("scroll",r),null!==t&&window.cancelAnimationFrame(t)}}e.s(["f",0,function(e){let i,s,h,m,b,C,N,M,S,T,_,E,z,O,D,B,A,I,P,H,V,q,F=(0,n.c)(65),{sections:$,ariaLabel:U,desktopNavTopClass:K,desktopBreakpoint:Z,mobileTocTopClass:G,activationLinePx:Y,onSectionView:Q,onSectionSelect:W,desktopNavFooter:X,mobileNavHeader:J,children:ee}=e,et=void 0===Z?"viewport":Z,[en,er]=(0,a.useState)($[0]?.id??""),ei=(0,a.useRef)($[0]?.id??""),ea=(0,a.useRef)(null),el=(0,a.useRef)(!1),eo=(0,o.f)(Q),es=(0,o.f)(Y),ec=(0,a.useRef)(Y);F[0]!==es||F[1]!==eo||F[2]!==$?(i=e=>{let{shouldUpdateHash:t}=e;if(null!==(0,f.k)())return;let n=L($);if(0===n.length)return;let r=function(e,t){var n;let r,i=(n=t,r=(0,u.$)(),(0,u.b)(r)?r.getBoundingClientRect().top+n:n),a=function(e,t){let n,r,i=(n=(0,u.$)(),(r=(0,u.b)(n)?{scrollTop:n.scrollTop,scrollHeight:n.scrollHeight,clientHeight:n.clientHeight}:{scrollTop:window.scrollY,scrollHeight:document.documentElement.scrollHeight,clientHeight:window.innerHeight}).scrollHeight<=r.clientHeight?null:r);if(null===i)return null;let a=Math.max(0,i.scrollHeight-i.scrollTop-i.clientHeight),l=e.filter(({el:e})=>e.getBoundingClientRect().top-a>t).length;if(0===l||l>=e.length)return null;if(a<=2)return e.at(-1).id;if(a>=96*l)return null;let o=Math.ceil(a/96);return e[e.length-o].id}(e,i);if(null!==a)return a;let l=e[0].id;for(let{id:t,el:n}of e)if(n.getBoundingClientRect().top-i<=0)l=t;else break;return l}(n,es.current),i=ei.current!==r;if(t&&(i||el.current)&&(el.current=!0,(0,v.Z)(r)),i){if(t&&!(0,f.P)()){let e=$.findIndex(e=>e.id===r),t=$[e];t&&eo.current?.(t,e)}ei.current=r,er(r)}},F[0]=es,F[1]=eo,F[2]=$,F[3]=i):i=F[3];let ed=i;F[4]!==Y||F[5]!==ed?(s=()=>{ec.current!==Y&&(ec.current=Y,ed({shouldUpdateHash:!1}))},h=[Y,ed],F[4]=Y,F[5]=ed,F[6]=s,F[7]=h):(s=F[6],h=F[7]),(0,a.useEffect)(s,h),F[8]!==ed||F[9]!==$?(m=()=>{var e;let t,n,r,i=L($);if(i.length>0&&!el.current){let e=window.location.hash.slice(1);(""===e||i.some(t=>t.id===e))&&(el.current=!0,ea.current=function({elements:e,activeAnchorRef:t,setActiveAnchor:n}){let r=window.location.hash.slice(1);if(!r)return;let i=e.find(e=>e.id===r);if(!i)return;t.current=i.id,n(i.id);let a=e.findIndex(e=>e.id===i.id);return p({id:i.id,target:i.el,precedingElements:e.slice(0,a).map(e=>e.el),behavior:"auto",settleMs:3e3})}({elements:i,activeAnchorRef:ei,setActiveAnchor:er})??null)}ed({shouldUpdateHash:!1});let a=()=>ed({shouldUpdateHash:!0}),l=R(a),o=(0,f.X)(a),s=(e=v.z,t=null,n=(0,u.$)(),r=()=>{null!==t&&window.clearTimeout(t),t=window.setTimeout(()=>{t=null,e()},120)},window.addEventListener("scroll",r,{passive:!0}),window.addEventListener("resize",r,{passive:!0}),n?.addEventListener("scroll",r,{passive:!0}),()=>{null!==t&&window.clearTimeout(t),window.removeEventListener("scroll",r),window.removeEventListener("resize",r),n?.removeEventListener("scroll",r)});return()=>{ea.current?.(),ea.current=null,l(),o(),s()}},F[8]=ed,F[9]=$,F[10]=m):m=F[10],F[11]!==$?(b=[$],F[11]=$,F[12]=b):b=F[12],(0,a.useLayoutEffect)(m,b),F[13]!==$?(C=(e,t)=>{ea.current?.();let n=L($),r=n.findIndex(t=>t.id===e);ea.current=p({id:e,target:t,precedingElements:-1===r?[]:n.slice(0,r).map(k),behavior:"smooth",settleMs:2500})},F[13]=$,F[14]=C):C=F[14];let eu=C;F[15]!==W||F[16]!==eu?(N=e=>{let t=document.querySelector(`#${e}`);t&&(ea.current?.(),ea.current=null,(0,f.m)(e),el.current=!0,ei.current=e,er(e),(0,v.e)(e),W?.(e),eu(e,t))},F[15]=W,F[16]=eu,F[17]=N):N=F[17];let ef=N;F[18]!==ef?(M=(e,t)=>{e.preventDefault(),ef(t)},F[18]=ef,F[19]=M):M=F[19];let eh=M;F[20]!==en||F[21]!==$?(S=$.find(e=>e.id===en)??$[0],F[20]=en,F[21]=$,F[22]=S):S=F[22];let ep=S;F[23]!==$?(T=$.filter(x),F[23]=$,F[24]=T):T=F[24];let em=T,eb=void 0!==ep,ev=(0,a.useRef)(null),eg=(0,a.useRef)(null);F[25]!==eb?(_=()=>{let e=ev.current,t=eg.current;if(!eb||null===e||null===t)return;let n=()=>{e.toggleAttribute("data-stuck",function({markerBottom:e,barTop:t}){return e{"use strict";function t(){return document.querySelector("#page-content")}function n(e){return null!==e&&"auto"===getComputedStyle(e).overflowY}e.s(["$",0,t,"j",0,function(){let e=t();return n(e)?e.scrollTop:window.scrollY},"Z",0,function(){let e=t();n(e)?e.scrollTo({top:0,behavior:"smooth"}):window.scrollTo({top:0,behavior:"smooth"})},"b",0,n])},232458,e=>{"use strict";var t=e.i(427150);function n(){let e=globalThis.__openrouterSectionNavScrollLock;if((0,t.f)(e))return e.hashPinCount??=0,e.recalcListeners??=new Set,e;let n={anchor:null,hashPinCount:0,recalcListeners:new Set};return globalThis.__openrouterSectionNavScrollLock=n,n}e.s(["k",0,function(){return n().anchor},"P",0,function(){return n().hashPinCount>0},"I",0,function(){n().hashPinCount+=1},"l",0,function(e){let t=n();t.anchor===e&&(t.anchor=null)},"E",0,function(){for(let e of n().recalcListeners)e()},"m",0,function(e){n().anchor=e},"X",0,function(e){let t=n().recalcListeners;return t.add(e),()=>{t.delete(e)}},"e",0,function(){let e=n();e.hashPinCount=Math.max(0,e.hashPinCount-1)}])},214530,e=>{"use strict";var t=e.i(848984),n=e.i(232458);function r(e){let t=`#${e}`;if(window.location.hash===t)return;let n=new URL(window.location.href);n.hash=e,window.history.replaceState(null,"",n)}e.s(["z",0,function(){(0,n.P)()||(0,t.j)()>2||function(){if(""===window.location.hash)return;let{pathname:e,search:t}=window.location;window.history.replaceState(null,"",`${e}${t}`)}()},"Z",0,function(e){(0,n.P)()||2>=(0,t.j)()||r(e)},"e",0,r])},359544,e=>{"use strict";var t=e.i(659350),n=e.i(663456),r=e.i(16043),i=e.i(547322),a=e.i(193461),l=e.i(217411),o=e.i(378318);e.s(["f",0,function(e){let s,c,d,u,f,h,p,m=(0,n.c)(28),{title:b,trigger:v,options:g,value:y,onValueChange:x,shouldApplyCurrentValue:k}=e,w=void 0!==k&&k,[C,j]=(0,r.useState)(!1),[L,R]=(0,r.useState)(y),N=(0,r.useRef)(null),M=(0,r.useRef)(!1),S=(0,r.useId)(),T=(0,r.useRef)(null);m[0]===Symbol.for("react.memo_cache_sentinel")?(s=()=>T.current?.querySelector('[role="radio"][data-checked]')??null,m[0]=s):s=m[0];let _=s,E=()=>{let e=N.current;return N.current=null,null!==e&&x(e),e},z=e=>{e&&R(E()??y),j(e)},O=e=>{N.current=e!==y||w?e:null,j(!1)},D=e=>{e||E()},B=l.j;m[1]!==v?(c=(0,t.jsx)(l.V,{render:v}),m[1]=v,m[2]=c):c=m[2];let A=l.U;m[3]!==b||m[4]!==S?(d=(0,t.jsx)(o.f,{title:b,titleId:S}),m[3]=b,m[4]=S,m[5]=d):d=m[5];let I=a.x,P=e=>{"string"==typeof e&&(R(e),M.current||O(e))},H=()=>{M.current=!1},V=e=>{M.current=e.key.startsWith("Arrow"),("Enter"===e.key||" "===e.key)&&(e.preventDefault(),O(L))},q=g.map((e,n)=>(0,t.jsx)(i.f,{value:e.value,label:e.label,accessibleLabel:e.accessibleLabel,labelId:`${S}-option-${n}`,isSelected:e.value===L,onSelect:()=>{R(e.value),O(e.value)}},e.value));return m[6]!==I||m[7]!==L||m[8]!==P||m[9]!==H||m[10]!==V||m[11]!==q||m[12]!==S?(u=(0,t.jsx)(I,{ref:T,"aria-labelledby":S,value:L,onValueChange:P,onKeyUpCapture:H,onKeyDownCapture:V,className:"gap-0 px-2",children:q}),m[6]=I,m[7]=L,m[8]=P,m[9]=H,m[10]=V,m[11]=q,m[12]=S,m[13]=u):u=m[13],m[14]!==d||m[15]!==u?(f=(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[d,u]}),m[14]=d,m[15]=u,m[16]=f):f=m[16],m[17]!==A||m[18]!==_||m[19]!==f?(h=(0,t.jsx)(A,{side:"bottom",showCloseButton:!1,keepMounted:!1,initialFocus:_,className:"px-0 pt-3",children:f}),m[17]=A,m[18]=_,m[19]=f,m[20]=h):h=m[20],m[21]!==B||m[22]!==z||m[23]!==D||m[24]!==C||m[25]!==h||m[26]!==c?(p=(0,t.jsxs)(B,{swipeDirection:"down",open:C,onOpenChange:z,onOpenChangeComplete:D,children:[c,h]}),m[21]=B,m[22]=z,m[23]=D,m[24]=C,m[25]=h,m[26]=c,m[27]=p):p=m[27],p}])},547322,e=>{"use strict";var t=e.i(659350),n=e.i(663456),r=e.i(872635),i=e.i(136562),a=e.i(193461);e.s(["f",0,function(e){let l,o,s,c,d,u,f=(0,n.c)(20),{value:h,label:p,accessibleLabel:m,labelId:b,isSelected:v,onSelect:g}=e,y=v&&"bg-selected-bg";f[0]!==y?(l=(0,i.f)("flex min-h-11 cursor-pointer items-center gap-3 rounded-xl px-2 text-body select-none","transition-colors duration-quick active:bg-card-hover has-focus-visible:shadow-focus",y),f[0]=y,f[1]=l):l=f[1];let x=void 0===m?b:void 0;return f[2]!==m||f[3]!==x||f[4]!==h?(o=(0,t.jsx)("span",{className:"sr-only",children:(0,t.jsx)(a.a,{value:h,"aria-label":m,"aria-labelledby":x})}),f[2]=m,f[3]=x,f[4]=h,f[5]=o):o=f[5],f[6]!==p||f[7]!==b?(s=(0,t.jsx)("span",{id:b,className:"min-w-0 flex-1 text-foreground",children:p}),f[6]=p,f[7]=b,f[8]=s):s=f[8],f[9]!==v?(c=v&&(0,t.jsx)(r.f,{"aria-hidden":!0}),f[9]=v,f[10]=c):c=f[10],f[11]!==c?(d=(0,t.jsx)("span",{className:"flex h-4 w-7 shrink-0 items-center justify-center text-primary",children:c}),f[11]=c,f[12]=d):d=f[12],f[13]!==g||f[14]!==l||f[15]!==o||f[16]!==s||f[17]!==d||f[18]!==h?(u=(0,t.jsxs)("div",{role:"presentation","data-option-value":h,onClick:g,className:l,children:[o,s,d]}),f[13]=g,f[14]=l,f[15]=o,f[16]=s,f[17]=d,f[18]=h,f[19]=u):u=f[19],u}])},193461,e=>{"use strict";var t=e.i(659350),n=e.i(663456),r=e.i(16043),i=e.i(82153),a=e.i(533124),l=e.i(367898),o=e.i(115370),s=e.i(132887),c=e.i(111407),d=e.i(240070),u=e.i(825086);let f={checked:e=>e?{"data-checked":""}:{"data-unchecked":""},...d.f,...u.s};var h=e.i(729253),p=e.i(811673),m=e.i(93836),b=e.i(225421),v=e.i(509208),g=e.i(604672),y=e.i(141436),x=e.i(176322),k=e.i(446443),w=e.i(76129),C=e.i(599096),j=e.i(461430);let L=r.createContext(void 0);var R=e.i(442291),N=e.i(107397);let M=r.createContext(void 0),S=r.forwardRef(function(e,n){let{render:d,className:u,disabled:N=!1,readOnly:S=!1,required:T=!1,"aria-labelledby":_,value:E,inputRef:z,nativeButton:O=!1,id:D,style:B,...A}=e,I=r.useContext(L),{disabled:P,readOnly:H,required:V,form:q,checkedValue:F,touched:$=!1,validation:U,name:K,setCheckedValue:Z=o.x,setTouched:G=o.x,registerInputRef:Y=o.x}=I??{},{setTouched:Q,setFilled:W,state:X,disabled:J}=(0,y.f)(),ee=(0,k.f)(),{labelId:et,getDescriptionProps:en}=(0,w.f)(),er=J||ee.disabled||P||N,ei=H||S,ea=V||T,el=I?F===E:""===E,eo=r.useRef(null),es=(0,x.f)(er,eo),ec=r.useRef(null),ed=U?.registerInput,eu=r.useCallback(e=>ed?.(e,{controlRef:eo,value:void 0}),[ed]),ef=(0,i.A)(z,ec,Y,eu);(0,a.f)(()=>{ec.current?.checked&&W(!0)},[W]),(0,a.f)(()=>{if(ec.current){if(er&&el)return void Y(null);Y(ec.current)}},[el,er,Y]);let eh=(0,p.f)(),ep=(0,j.f)({id:D}),em=O?void 0:ep,eb={role:"radio","aria-checked":el,"aria-labelledby":(0,C.f)(_,et,ec,!O,em,A["aria-label"]),[v.f]:el?"":void 0,id:O?ep:eh,onKeyDown(e){"Enter"===e.key&&e.preventDefault()},onClick(e){if(e.defaultPrevented||er||ei)return;e.preventDefault();let t=ec.current;t&&(0,h.f)(t,e)},onFocus(e){es(!0),e.defaultPrevented||er||ei||!$||(ec.current?.click(),G(!1))},onBlur(){I||es(!1)}},{getButtonProps:ev,buttonRef:eg}=(0,b.f)({disabled:er,native:O,composite:!1}),ey={type:"radio",ref:ef,form:q,id:em,name:K,tabIndex:-1,style:K?l.L:l.p,"aria-hidden":!0,...void 0!==E?{value:(0,R.f)(E)}:o.w,disabled:er,checked:el,required:ea,readOnly:ei,onChange(e){if(e.nativeEvent.defaultPrevented||er||ei||void 0===E)return;let t=(0,s.j)(c.f.none,e.nativeEvent);Z(E,t),t.isCanceled||Q(!0)},onClick(e){e.stopPropagation()},onFocus(){eo.current?.focus()}},ex=r.useMemo(()=>({...X,required:ea,disabled:er,readOnly:ei,checked:el}),[X,er,ei,el,ea]),ek=void 0!==I,ew=[n,eo,eg],eC=[eb,A,ev,en,U?e=>U.getValidationProps(er,e):o.w],ej=(0,m.a)("span",e,{enabled:!ek,state:ex,ref:ew,props:eC,stateAttributesMapping:f});return(0,t.jsxs)(M.Provider,{value:ex,children:[ek?(0,t.jsx)(g.f,{tag:"span",render:d,className:u,style:B,state:ex,refs:ew,props:eC,stateAttributesMapping:f}):ej,(0,t.jsx)("input",{...ey,suppressHydrationWarning:!0})]})});var T=e.i(692933),_=e.i(288646);let E=r.forwardRef(function(e,t){let{render:n,className:i,style:a,keepMounted:l=!1,...o}=e,s=function(){let e=r.useContext(M);if(void 0===e)throw Error((0,N.f)(52));return e}(),c=s.checked,{mounted:d,transitionStatus:u,setMounted:h}=(0,_.f)(c),p={...s,transitionStatus:u},b=r.useRef(null),v=(0,m.a)("span",e,{ref:[t,b],state:p,props:o,stateAttributesMapping:f});return((0,T.f)({batch:!0,enabled:!c,open:c,ref:b,onComplete(){c||h(!1)}}),l||d)?v:null});e.s(["Indicator",0,E,"Root",0,S],401506);var z=e.i(401506),z=z,O=z,D=e.i(389475),B=e.i(815922),A=e.i(393298),I=e.i(597233),P=e.i(587135),H=e.i(967090);Object.keys(u.t);let V=r.createContext(void 0);var q=e.i(621441),F=e.i(957854);let $=[I.B],U=r.forwardRef(function(e,n){let{render:l,className:o,disabled:s,readOnly:c,required:d,onValueChange:f,value:h,defaultValue:m,form:b,name:v,inputRef:g,id:x,style:k,...C}=e,{setTouched:j,setFocused:R,validationMode:M,name:S,disabled:T,state:_,validation:E,setDirty:z,setFilled:O,validityData:I}=(0,y.f)(),{labelId:U}=(0,w.f)(),{clearErrors:K,elementRef:Z}=(0,q.f)(),G=function(e=!1){let t=r.useContext(V);if(!t&&!e)throw Error((0,N.f)(86));return t}(!0),Y=T||s,Q=S??v,W=(0,p.f)(x),[X,J]=(0,D.f)({controlled:h,default:m,name:"RadioGroup",state:"value"}),[ee,et]=r.useState(!1),en=(0,B.f)((e,t)=>{f?.(e,t),t.isCanceled||J(e)}),er=E.getInputControl,ei=r.useMemo(()=>({get current(){return er()}}),[er]),ea=r.useRef(null),el=r.useRef(null),eo=(0,i.A)(ea,g),es=r.useRef(eo),ec=(0,B.f)(e=>{(ea.current!==e||es.current!==eo)&&(es.current=eo,eo?.(e))});(0,a.f)(()=>{ec(ea.current)},[eo,ec]);let ed=(0,B.f)(e=>{if(e){if(!e.disabled){el.current||(el.current=e);let t=ea.current;(e.checked||null==t||t.disabled)&&ec(e)}return()=>{el.current===e&&(el.current=null),ea.current===e&&ec(null)}}}),eu=(0,B.f)(()=>{let e=Z.current;if(!e)return X??null;for(let t of E.registeredInputs.keys())if(t.checked&&!t.matches(":disabled")&&(!e||t.form===e||null===t.form&&!t.hasAttribute("form")))return X??null;return null});(0,H.f)(ei,W,X??null,eu,!Y,v),(0,F.f)(X,()=>{K(Q),z(X!==I.initialValue),O(null!=X),E.change(X);let e=el.current;null==X&&e&&!e.disabled&&ec(e)});let ef=U??G?.legendId,eh={..._,disabled:Y??!1,required:d??!1,readOnly:c??!1},ep=r.useMemo(()=>({checkedValue:X,disabled:Y,form:b,validation:E,name:Q,readOnly:c,registerInputRef:ed,required:d,setCheckedValue:en,setTouched:et,touched:ee}),[X,Y,b,E,Q,c,ed,d,en,et,ee]);return(0,t.jsx)(L.Provider,{value:ep,children:(0,t.jsx)(P.f,{render:l,className:o,style:k,state:eh,props:[{id:x,role:"radiogroup","aria-required":d||void 0,"aria-disabled":Y||void 0,"aria-readonly":c||void 0,"aria-labelledby":ef,onBlur(e){(0,A.I)(e.currentTarget,e.relatedTarget)||(et(!1),j(!0),R(!1),"onBlur"===M&&E.commit(X))},onKeyDownCapture(e){e.key.startsWith("Arrow")&&et(!0)}},C,e=>E.getValidationProps(Y??!1,e)],refs:[n],stateAttributesMapping:u.s,enableHomeAndEndKeys:!1,modifierKeys:$})})});var K=e.i(136562);e.s(["x",0,function(e){let r,i,a,l,o,s=(0,n.c)(10);return s[0]!==e?({className:r,ref:a,...i}=e,s[0]=e,s[1]=r,s[2]=i,s[3]=a):(r=s[1],i=s[2],a=s[3]),s[4]!==r?(l=(0,K.f)("grid gap-2",r),s[4]=r,s[5]=l):l=s[5],s[6]!==i||s[7]!==a||s[8]!==l?(o=(0,t.jsx)(U,{className:l,...i,ref:a}),s[6]=i,s[7]=a,s[8]=l,s[9]=o):o=s[9],o},"a",0,function(e){let r,i,a,l,o,s,c=(0,n.c)(11);return c[0]!==e?({className:r,ref:a,...i}=e,c[0]=e,c[1]=r,c[2]=i,c[3]=a):(r=c[1],i=c[2],a=c[3]),c[4]!==r?(l=(0,K.f)("flex shrink-0 items-center justify-center aspect-square h-4 w-4 rounded-full border border-foreground/30 bg-muted text-primary cursor-pointer hover:border-foreground/50 data-[checked]:border-primary ring-offset-background focus:outline-none focus-visible:border-focus-border focus-visible:shadow-focus data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50",r),c[4]=r,c[5]=l):l=c[5],c[6]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)(z.Indicator,{keepMounted:!0,className:"flex items-center justify-center transition-[scale,opacity] duration-quick ease-smooth-out motion-reduce:transition-opacity motion-reduce:data-[unchecked]:scale-100 data-[unchecked]:scale-(--scale-large) data-[unchecked]:opacity-0",children:(0,t.jsx)("span",{"aria-hidden":!0,className:"size-2 rounded-full bg-current forced-colors:bg-[CanvasText]"})}),c[6]=o):o=c[6],c[7]!==i||c[8]!==a||c[9]!==l?(s=(0,t.jsx)(O.Root,{ref:a,className:l,...i,children:o}),c[7]=i,c[8]=a,c[9]=l,c[10]=s):s=c[10],s}],193461)},378318,e=>{"use strict";var t=e.i(659350),n=e.i(663456),r=e.i(612927),i=e.i(199168),a=e.i(139697),l=e.i(217411);e.s(["f",0,function(e){let o,s,c,d,u,f,h=(0,n.c)(12),{title:p,titleId:m}=e,b=(0,i.o)();return h[0]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)("div",{"aria-hidden":!0,className:"mx-auto h-1 w-10 rounded-full bg-foreground/20"}),h[0]=o):o=h[0],h[1]!==p||h[2]!==m?(s=(0,t.jsx)(l.L,{id:m,children:p}),h[1]=p,h[2]=m,h[3]=s):s=h[3],h[4]!==b?(c=b("Close"),h[4]=b,h[5]=c):c=h[5],h[6]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)(r.X,{"aria-hidden":!0}),h[6]=d):d=h[6],h[7]!==c?(u=(0,t.jsx)(l.O,{render:(0,t.jsx)(a.Button,{variant:"ghost",size:"icon",shape:"pill",touchTarget:"below-sm","aria-label":c,children:d})}),h[7]=c,h[8]=u):u=h[8],h[9]!==s||h[10]!==u?(f=(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[o,(0,t.jsxs)("div",{className:"flex items-center justify-between gap-4 pr-2 pl-4",children:[s,u]})]}),h[9]=s,h[10]=u,h[11]=f):f=h[11],f}])},719379,e=>{"use strict";var t=e.i(659350),n=e.i(663456),r=e.i(136562),i=e.i(788843);e.i(406201);var a=e.i(967605);e.s(["f",0,function(e){let l,o,s,c,d,u,f,h=(0,n.c)(18),{description:p,href:m,icon:b,iconClassName:v,onSelect:g,title:y}=e;return h[0]!==v?(l=(0,r.f)("size-4 shrink-0 transition-colors group-hover:text-accent-foreground",v),h[0]=v,h[1]=l):l=h[1],h[2]!==b||h[3]!==l?(o=(0,t.jsx)(b,{className:l}),h[2]=b,h[3]=l,h[4]=o):o=h[4],h[5]!==y?(s=(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate text-body font-medium transition-colors group-hover:text-accent-foreground",children:y}),h[5]=y,h[6]=s):s=h[6],h[7]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)(i.f,{className:"size-3.5 shrink-0 text-muted-foreground/50 transition-colors group-hover:text-accent-foreground"}),h[7]=c):c=h[7],h[8]!==o||h[9]!==s?(d=(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-2",children:[o,s,c]}),h[8]=o,h[9]=s,h[10]=d):d=h[10],h[11]!==p?(u=p&&(0,t.jsx)("p",{className:"mt-1 text-body leading-snug text-muted-foreground",children:p}),h[11]=p,h[12]=u):u=h[12],h[13]!==m||h[14]!==g||h[15]!==d||h[16]!==u?(f=(0,t.jsxs)(a.Link,{href:m,onClick:g,className:"group flex min-w-0 flex-col rounded-lg border border-border bg-card px-3 py-2.5 no-underline hover:bg-card-hover focus-visible:border-focus-border focus-visible:shadow-focus focus-visible:outline-none",children:[d,u]}),h[13]=m,h[14]=g,h[15]=d,h[16]=u,h[17]=f):f=h[17],f}])},104074,e=>{"use strict";var t=e.i(659350),n=e.i(663456),r=e.i(954217),i=e.i(960773);e.i(707060);var a=e.i(196991);e.s(["RankingsLicenseNotice",0,function(){let e,l,o,s,c=(0,n.c)(9),d=(0,i.Q)();c[0]!==d?(e=e=>{d.capture("click_rankings_license_link",{link:e})},c[0]=d,c[1]=e):e=c[1];let u=e;return c[2]!==u?(l=(0,t.jsx)(r.TextLink,{href:"https://creativecommons.org/licenses/by/4.0/",onClick:()=>{u("cc_by_4")},children:"CC BY 4.0"}),c[2]=u,c[3]=l):l=c[3],c[4]!==u?(o=(0,t.jsx)(r.TextLink,{href:"/docs/cookbook/administration/data-api",onClick:()=>{u("data_api_docs")},children:"Data API docs"}),c[4]=u,c[5]=o):o=c[5],c[6]!==l||c[7]!==o?(s=(0,t.jsx)(a.T,{children:(0,t.jsxs)("p",{className:"text-xs leading-relaxed text-muted-foreground",children:["Rankings data by OpenRouter is licensed under"," ",l,". Reuse and republish it with attribution. The"," ",o," ","cover the citation format and JSON access to these datasets."]})}),c[6]=l,c[7]=o,c[8]=s):s=c[8],s}])},191870,e=>{"use strict";var t=e.i(659350),n=e.i(663456),r=e.i(312679),i=e.i(832850),a=e.i(960773),l=e.i(427150);e.i(707060);var o=e.i(288265),s=e.i(919035);e.i(16043);var c=e.i(387086),d=e.i(153716),u=e.i(288087),f=e.i(719379),h=e.i(189360);let p={image:{icon:d.f,description:(0,c.b)("Compare generation quality across media models")},video:{icon:u.f,description:(0,c.b)("Compare generation quality across video models")}};function m(e){let r,i,a,l,c=(0,n.c)(15),{isCompact:d,modality:u,onSelect:m,title:b}=e,v=void 0!==d&&d,g=(0,o.f)(),y=(0,s.f)(),{icon:x,description:k}=p[u];return c[0]!==k||c[1]!==v||c[2]!==y?(r=v?void 0:y(k),c[0]=k,c[1]=v,c[2]=y,c[3]=r):r=c[3],c[4]!==u?(i=(0,h.y)(u),c[4]=u,c[5]=i):i=c[5],c[6]!==g||c[7]!==b?(a=b??g("Media"),c[6]=g,c[7]=b,c[8]=a):a=c[8],c[9]!==x||c[10]!==m||c[11]!==r||c[12]!==i||c[13]!==a?(l=(0,t.jsx)(f.f,{description:r,href:i,icon:x,iconClassName:"text-chart-4",onSelect:m,title:a}),c[9]=x,c[10]=m,c[11]=r,c[12]=i,c[13]=a,c[14]=l):l=c[14],l}var b=e.i(13457),v=e.i(774022),g=e.i(45455);e.s(["RankingsSectionNav",0,function(e){let c,d,u,f,h,p,y,x=(0,n.c)(25),{sections:k,mediaBenchmarksModality:w,children:C}=e,j=(0,o.f)(),L=(0,s.f)();if(x[0]!==L||x[1]!==k){let e;x[3]!==L?(e=e=>{var t,n;return t=e,n=L,{...t,label:n(t.label),icon:v.f[t.icon]}},x[3]=L,x[4]=e):e=x[4],c=k.map(e),x[0]=L,x[1]=k,x[2]=c}else c=x[2];let R=c,N=(0,a.Q)(),M=(0,r.f)(),S=(0,b.f)("rankings_section_view");x[5]!==N?(d=e=>{N.capture("click_rankings_section_nav",{section:e,source:"section_nav"})},x[5]=N,x[6]=d):d=x[6];let T=d;x[7]!==N?(u=(e,t)=>{N.capture("click_rankings_media_benchmarks",{source:e,modality:t})},x[7]=N,x[8]=u):u=x[8];let _=u;x[9]!==j?(f=j("Rankings page sections"),x[9]=j,x[10]=f):f=x[10];let E=200+M;return x[11]!==j||x[12]!==_||x[13]!==w?(h=(0,l.f)(w)?(0,t.jsx)("div",{className:"mt-3",children:(0,t.jsx)(m,{modality:w,onSelect:()=>_("desktop",w),title:j("Benchmarks")})}):void 0,x[11]=j,x[12]=_,x[13]=w,x[14]=h):h=x[14],x[15]!==C?(p=(0,t.jsx)("section",{className:"flex min-w-0 flex-col gap-16",children:C}),x[15]=C,x[16]=p):p=x[16],x[17]!==T||x[18]!==S||x[19]!==R||x[20]!==f||x[21]!==E||x[22]!==h||x[23]!==p?(y=(0,t.jsx)(i.f,{sections:R,ariaLabel:f,desktopNavTopClass:g.L,mobileTocTopClass:g.U,activationLinePx:E,onSectionView:S,onSectionSelect:T,desktopNavFooter:h,children:p}),x[17]=T,x[18]=S,x[19]=R,x[20]=f,x[21]=E,x[22]=h,x[23]=p,x[24]=y):y=x[24],y}],191870)},774022,e=>{"use strict";var t=e.i(309821),n=e.i(217524),r=e.i(482128),i=e.i(260344),a=e.i(193854),l=e.i(803157),o=e.i(165460),s=e.i(924125),c=e.i(150444),d=e.i(153716),u=e.i(380991),f=e.i(592181),h=e.i(928130),p=e.i(428655),m=e.i(538755),b=e.i(620993),v=e.i(150080),g=e.i(336819),y=e.i(544951),x=e.i(619179);let k={[x.D.Apps]:r.f,[x.D.BarChart]:t.f,[x.D.Benchmarks]:n.f,[x.D.Boxes]:i.f,[x.D.Clock]:a.f,[x.D.Code]:l.f,[x.D.Contrast]:o.f,[x.D.Documents]:s.f,[x.D.Globe]:c.f,[x.D.Images]:d.f,[x.D.Layers]:u.f,[x.D.LineChart]:f.f,[x.D.Paintbrush]:h.f,[x.D.Receipt]:p.f,[x.D.Scale]:m.f,[x.D.Shapes]:b.f,[x.D.Tools]:g.f,[x.D.Trophy]:v.f,[x.D.Zap]:y.f};e.s(["f",0,k])},619179,e=>{"use strict";e.i(707060);var t=e.i(387086),n=e.i(503953);(0,t.b)("Images"),(0,t.b)("Total images processed on OpenRouter");let r={title:(0,t.b)("Image Output"),anchorId:"image-output",subtitle:(0,t.b)("Total images generated on OpenRouter"),endpoint:"/api/frontend/v1/rankings/image-output",testId:"model-rankings-image-output-chart",otherModelsHref:"/models?fmt=cards&output_modalities=image"},i={title:(0,t.b)("Documents Reranked"),anchorId:"rerank-documents",subtitle:(0,t.b)("Total documents scored by rerank requests on OpenRouter"),endpoint:"/api/frontend/v1/rankings/rerank-documents",testId:"model-rankings-rerank-documents-chart",otherModelsHref:"/models?fmt=cards&output_modalities=rerank",defaultShowPercentage:!1,shouldMirrorLegendPercentageWithChart:!0,shouldTrimZeroOnlyRangeEdges:!0};(0,t.b)("Tool Calls"),(0,t.b)("Tool usage across models on OpenRouter");let a={Apps:"apps",BarChart:"bar-chart",Benchmarks:"benchmarks",Boxes:"boxes",Clock:"clock",Code:"code",Contrast:"contrast",Documents:"documents",Globe:"globe",Images:"images",Layers:"layers",LineChart:"line-chart",Paintbrush:"paintbrush",Receipt:"receipt",Scale:"scale",Shapes:"shapes",Tools:"tools",Trophy:"trophy",Zap:"zap"},l={Sync:"sync",Batch:"batch"},o={id:"visual-style",dimension:"visual_style",label:(0,t.b)("Visual style"),icon:a.Shapes,description:(0,t.b)("Compare models by the visual style requested on OpenRouter"),selectLabel:(0,t.b)("Filter by visual style")},s={id:"domain",dimension:"domain",label:(0,t.b)("Domain"),icon:a.Layers,description:(0,t.b)("Compare models by the subject area of requests on OpenRouter"),selectLabel:(0,t.b)("Filter by domain")},c={id:"task",dimension:"task",label:(0,t.b)("Task"),icon:a.Layers,description:(0,t.b)("Compare models by what Batch requests on OpenRouter ask them to do"),selectLabel:(0,t.b)("Filter by task")};function d(e){return{id:"languages",dimension:"language",label:(0,t.b)("Languages"),icon:a.Globe,description:e,selectLabel:(0,t.b)("Filter by language")}}let u=d((0,t.b)("Compare models by the language of speech generated on OpenRouter")),f=d((0,t.b)("Compare models by the language spoken in audio transcribed on OpenRouter"));function h(e){return{id:"content-type",dimension:"item_type",label:(0,t.b)("Content type"),icon:a.Boxes,description:e,selectLabel:(0,t.b)("Filter by content type")}}let p=h((0,t.b)("Compare embedding models by the type of input content")),m=h((0,t.b)("Compare rerank models by the type of input content"));function b(e){return{id:"evaluation-criteria",dimension:"criterion",label:(0,t.b)("Evaluation criteria"),icon:a.Scale,description:e,selectLabel:(0,t.b)("Filter by evaluation criteria")}}let v=b((0,t.b)("Compare rerank models on the criteria they are given to rank by")),g=b((0,t.b)("Compare decision models on the criteria they are given to evaluate")),y={id:"top-models-by-category",label:(0,t.b)("Top models by category"),icon:a.Layers};(0,t.b)("Top Models"),a.BarChart,(0,t.b)("Leaderboard"),a.Trophy,(0,t.b)("Top models by task"),a.Layers,(0,t.b)("Cost per session"),a.Receipt,(0,t.b)("Market Share"),a.LineChart,(0,t.b)("Open / Closed"),a.Contrast,(0,t.b)("Benchmarks"),a.Benchmarks,(0,t.b)("Fastest models"),a.Zap,(0,t.b)("Languages"),a.Globe,(0,t.b)("Programming"),a.Code,(0,t.b)("Context Length"),a.Documents,(0,t.b)("Tool Calls"),a.Tools,(0,t.b)("Images"),a.Images,(0,t.b)("Top Apps"),a.Apps,r.anchorId,r.title,a.Paintbrush,i.anchorId,i.title,a.Documents,n.f.chartTitle,a.Documents,n.T.chartTitle,a.Clock,e.s(["i",0,l,"Y",0,"leaderboard-table","b",0,"open-closed","D",0,a,"M",0,"session-cost","N",0,"top-models","Q",0,function(e,t=l.Sync){return"text"===e.surface&&t===l.Sync?[]:[y]},"h",0,function(e,t=l.Sync){switch(e.surface){case"image":case"video":return[o,s];case"speech":return[u,s];case"transcription":return[f,s];case"decisions":return[g,s];case"embeddings":return[p,s];case"rerank":return[m,v,s];case"text":return t===l.Batch?[c,s]:[s];default:return e.surface}}],619179)},13457,e=>{"use strict";var t=e.i(663456);e.i(140570);var n=e.i(960773);e.i(16043),e.s(["f",0,function(e){let r,i=(0,t.c)(3),a=(0,n.Q)();return i[0]!==e||i[1]!==a?(r=(t,n)=>{Math.random()>=.1||a.capture(e,{section:t.id,section_label:t.label,section_index:n,source:"scroll_spy",sample_rate:.1})},i[0]=e,i[1]=a,i[2]=r):r=i[2],r}])}]); //# sourceMappingURL=082z_5zng1li6.js.map