(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,215891,e=>{"use strict";var t=e.i(16043);let r=t.forwardRef(function({title:e,titleId:r,...i},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":r},i),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 10.5 12 3m0 0 7.5 7.5M12 3v18"}))});e.s(["f",0,r],215891)},783326,e=>{"use strict";var t=e.i(651681);e.s(["f",()=>t.f])},773151,e=>{"use strict";var t=e.i(651681);let r={name:"arrow-up-down",size:24,node:[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]]};r.node;let i=(0,t.f)(r);e.s(["f",0,i],773151)},917023,e=>{"use strict";var t=e.i(651681);let r={name:"audio-lines",size:24,node:[["path",{d:"M2 10v3",key:"1fnikh"}],["path",{d:"M6 6v11",key:"11sgs0"}],["path",{d:"M10 3v18",key:"yhl04a"}],["path",{d:"M14 8v7",key:"3a1oy3"}],["path",{d:"M18 5v13",key:"123xd1"}],["path",{d:"M22 10v3",key:"154ddg"}]]};r.node;let i=(0,t.f)(r);e.s(["f",0,i],917023)},1971,e=>{"use strict";var t=e.i(651681);let r={name:"chevron-right",size:24,node:[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]};r.node;let i=(0,t.f)(r);e.s(["f",0,i])},88084,e=>{"use strict";var t=e.i(1971);e.s(["f",()=>t.f])},706999,e=>{"use strict";var t=e.i(651681);let r={name:"gavel",size:24,node:[["path",{d:"m14 13-8.381 8.38a1 1 0 0 1-3.001-3l8.384-8.381",key:"pgg06f"}],["path",{d:"m16 16 6-6",key:"vzrcl6"}],["path",{d:"m21.5 10.5-8-8",key:"a17d9x"}],["path",{d:"m8 8 6-6",key:"18bi4p"}],["path",{d:"m8.5 7.5 8 8",key:"1oyaui"}]]};r.node;let i=(0,t.f)(r);e.s(["f",0,i],706999)},257723,734824,e=>{"use strict";var t=e.i(651681);let r={name:"image",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]};r.node;let i=(0,t.f)(r);e.s(["f",0,i],734824),e.s(["f",0,i],257723)},472089,e=>{"use strict";var t=e.i(651681);let r={name:"mic",size:24,node:[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]]};r.node;let i=(0,t.f)(r);e.s(["f",0,i],472089)},529809,e=>{"use strict";var t=e.i(651681);let r={name:"speech",size:24,node:[["path",{d:"M8.8 20v-4.1l1.9.2a2.3 2.3 0 0 0 2.164-2.1V8.3A5.37 5.37 0 0 0 2 8.25c0 2.8.656 3.054 1 4.55a5.77 5.77 0 0 1 .029 2.758L2 20",key:"11atix"}],["path",{d:"M19.8 17.8a7.5 7.5 0 0 0 .003-10.603",key:"yol142"}],["path",{d:"M17 15a3.5 3.5 0 0 0-.025-4.975",key:"ssbmkc"}]]};r.node;let i=(0,t.f)(r);e.s(["f",0,i],529809)},663993,943878,e=>{"use strict";var t=e.i(651681);let r={name:"square-arrow-out-up-right",size:24,node:[["path",{d:"M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6",key:"y09zxi"}],["path",{d:"m21 3-9 9",key:"mpx6sq"}],["path",{d:"M15 3h6v6",key:"1q9fwt"}]],aliases:["arrow-up-right-from-square"]};r.node;let i=(0,t.f)(r);e.s(["f",0,i],943878),e.s(["f",0,i],663993)},99938,e=>{"use strict";var t=e.i(651681);let r={name:"type",size:24,node:[["path",{d:"M12 4v16",key:"1654pz"}],["path",{d:"M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",key:"e0r10z"}],["path",{d:"M9 20h6",key:"s66wpe"}]]};r.node;let i=(0,t.f)(r);e.s(["f",0,i],99938)},288087,e=>{"use strict";var t=e.i(651681);let r={name:"video",size:24,node:[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]};r.node;let i=(0,t.f)(r);e.s(["f",0,i],288087)},481066,e=>{"use strict";var t=e.i(572201),r=e.i(195759);e.s(["f",0,(e,{shorten:i=!1,keepNote:n=!1,preserveVariant:s=!1}={})=>{if(!i&&!0===n)return e;let o=e.split(": ")[1]||e;if(n)return o;let a=o.split(" (")[0];if(!s)return a;let l=Object.values(t.e).filter(e=>e!==t.d.Standard&&e!==t.e.All).map(e=>(0,r.x)(e)),d=[...o.matchAll(/\(([^()]*)\)/g)].filter(([,e])=>l.some(t=>0===t.localeCompare(e??"",void 0,{sensitivity:"accent"}))).map(([,e])=>`(${e})`);return`${a}${d.length>0?` ${d.join(" ")}`:""}`}])},195759,e=>{"use strict";var t=e.i(988590),r=e.i(572201),i=e.i(983739);function n(e,t){switch(t){case r.e.SelfMod:return`${e.name} (self-moderated)`;case r.e.Standard:case r.e.All:return e.name;case r.e.Free:case r.e.Nitro:case r.e.Floor:case r.e.Extended:case r.e.Exacto:case r.e.Online:case r.e.Thinking:case r.e.Batch:return`${e.name} (${t})`;default:return""}}let s=(e,i)=>{let n=e.split(r.q).slice(1),s=[];for(let e of n)(0,t.q)(e,i)&&s.push(e);return s},o={Nitro:r.B.Nitro,Floor:r.B.Floor,Exacto:r.B.Exacto},a={[o.Nitro]:i.f.Throughput,[o.Floor]:i.f.Price,[o.Exacto]:i.f.Exacto};e.s(["P",0,a,"K",0,o,"s",0,function(e,t){let r=n({name:""},t);return""===r?{name:e.name,short_name:e.short_name}:{name:e.name.endsWith(r)?e.name.slice(0,-r.length):e.name,short_name:e.short_name.endsWith(r)?e.short_name.slice(0,-r.length):e.short_name}},"_",0,e=>{let i;return((i=s(e,r.B)).length>0?i:[r.e.All]).findLast(e=>(0,t.q)(e,o))},"z",0,e=>s(e,r.d)[0]??r.e.Standard,"I",0,function(e,t){return e.short_name.includes(`(${t})`)?e.short_name:n(e,t).split(":")[1]?.trim()??e.short_name},"x",0,function(e){switch(e){case r.e.Free:return"Free";case r.e.Nitro:return"Nitro";case r.e.Floor:return"Floor";case r.e.Extended:return"Extended";case r.e.Exacto:return"Exacto";case r.e.Standard:return"Standard";case r.e.Online:return"Online";case r.e.All:return"All";case r.e.Thinking:return"Thinking";case r.e.Batch:return"Batch";case r.e.SelfMod:return"Self-Moderated";default:return""}}])},264176,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(16179),n=e.i(288265),s=e.i(88084),o=e.i(136562);e.s(["Breadcrumb",0,function(e){let i,s,o,a,l=(0,r.c)(9);l[0]!==e?({className:i,...s}=e,l[0]=e,l[1]=i,l[2]=s):(i=l[1],s=l[2]);let d=(0,n.f)();return l[3]!==d?(o=d("breadcrumb"),l[3]=d,l[4]=o):o=l[4],l[5]!==i||l[6]!==s||l[7]!==o?(a=(0,t.jsx)("nav",{"aria-label":o,className:i,...s}),l[5]=i,l[6]=s,l[7]=o,l[8]=a):a=l[8],a},"BreadcrumbItem",0,function(e){let i,n,s,a,l=(0,r.c)(8);return l[0]!==e?({className:i,...n}=e,l[0]=e,l[1]=i,l[2]=n):(i=l[1],n=l[2]),l[3]!==i?(s=(0,o.f)("inline-flex items-center gap-1.5",i),l[3]=i,l[4]=s):s=l[4],l[5]!==n||l[6]!==s?(a=(0,t.jsx)("li",{className:s,...n}),l[5]=n,l[6]=s,l[7]=a):a=l[7],a},"BreadcrumbLink",0,function(e){let t,n,s,a,l,d,c,u=(0,r.c)(14);u[0]!==e?({render:a,children:t,className:n,...s}=e,u[0]=e,u[1]=t,u[2]=n,u[3]=s,u[4]=a):(t=u[1],n=u[2],s=u[3],a=u[4]),u[5]!==n?(l=(0,o.f)("text-muted-foreground underline underline-offset-2 decoration-muted-foreground/40 transition-colors hover:text-accent-foreground hover:decoration-current",n),u[5]=n,u[6]=l):l=u[6];let m=a?void 0:t;return u[7]!==s||u[8]!==l||u[9]!==m?(d={className:l,children:m,...s},u[7]=s,u[8]=l,u[9]=m,u[10]=d):d=u[10],u[11]!==a||u[12]!==d?(c={render:a,defaultTagName:"a",props:d},u[11]=a,u[12]=d,u[13]=c):c=u[13],(0,i.f)(c)},"BreadcrumbList",0,function(e){let i,n,s,a,l=(0,r.c)(8);return l[0]!==e?({className:i,...n}=e,l[0]=e,l[1]=i,l[2]=n):(i=l[1],n=l[2]),l[3]!==i?(s=(0,o.f)("flex flex-wrap items-center gap-1.5 text-xs",i),l[3]=i,l[4]=s):s=l[4],l[5]!==n||l[6]!==s?(a=(0,t.jsx)("ol",{className:s,...n}),l[5]=n,l[6]=s,l[7]=a):a=l[7],a},"BreadcrumbPage",0,function(e){let i,n,s,a,l=(0,r.c)(8);return l[0]!==e?({className:i,...n}=e,l[0]=e,l[1]=i,l[2]=n):(i=l[1],n=l[2]),l[3]!==i?(s=(0,o.f)("font-normal text-foreground",i),l[3]=i,l[4]=s):s=l[4],l[5]!==n||l[6]!==s?(a=(0,t.jsx)("span",{"aria-current":"page",className:s,...n}),l[5]=n,l[6]=s,l[7]=a):a=l[7],a},"BreadcrumbSeparator",0,function(e){let i,n,a,l,d,c,u=(0,r.c)(12);return u[0]!==e?({children:i,className:n,...a}=e,u[0]=e,u[1]=i,u[2]=n,u[3]=a):(i=u[1],n=u[2],a=u[3]),u[4]!==n?(l=(0,o.f)("text-faint [&>svg]:size-3",n),u[4]=n,u[5]=l):l=u[5],u[6]!==i?(d=i??(0,t.jsx)(s.f,{}),u[6]=i,u[7]=d):d=u[7],u[8]!==a||u[9]!==l||u[10]!==d?(c=(0,t.jsx)("li",{"aria-hidden":"true",className:l,role:"presentation",...a,children:d}),u[8]=a,u[9]=l,u[10]=d,u[11]=c):c=u[11],c}])},912147,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(788843),n=e.i(136562),s=e.i(490112);e.s(["f",0,function(e){let o,a,l,d,c,u,m,f,p,h,g,x,v,b=(0,r.c)(28);b[0]!==e?({children:o,className:a,size:c,weight:f,icon:l,iconPosition:u,showExternalIcon:m,...d}=e,b[0]=e,b[1]=o,b[2]=a,b[3]=l,b[4]=d,b[5]=c,b[6]=u,b[7]=m,b[8]=f):(o=b[1],a=b[2],l=b[3],d=b[4],c=b[5],u=b[6],m=b[7],f=b[8]);let y=void 0===u?"end":u,j=void 0!==m&&m;b[9]!==l||b[10]!==j?(p=l??(j?(0,t.jsx)(i.f,{className:"inline size-3 align-[-1px]"}):null),b[9]=l,b[10]=j,b[11]=p):p=b[11];let k=p;return b[12]!==a||b[13]!==c||b[14]!==f?(h=(0,n.f)((0,s.X)({size:c,weight:f}),a),b[12]=a,b[13]=c,b[14]=f,b[15]=h):h=b[15],b[16]!==y||b[17]!==k?(g="start"===y&&k&&(0,t.jsx)("span",{className:"mr-0.5 inline-flex",children:k}),b[16]=y,b[17]=k,b[18]=g):g=b[18],b[19]!==y||b[20]!==k?(x="end"===y&&k&&(0,t.jsx)("span",{className:"ml-0.5 inline-flex",children:k}),b[19]=y,b[20]=k,b[21]=x):x=b[21],b[22]!==o||b[23]!==d||b[24]!==h||b[25]!==g||b[26]!==x?(v=(0,t.jsxs)("a",{className:h,...d,children:[g,o,x]}),b[22]=o,b[23]=d,b[24]=h,b[25]=g,b[26]=x,b[27]=v):v=b[27],v}])},987457,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(136562);e.s(["f",0,function(e){let n,s,o,a,l,d,c=(0,r.c)(15),{children:u,className:m,variant:f,decorative:p,ringClassName:h}=e,g=void 0!==p&&p||void 0;c[0]!==m?(n=(0,i.f)("relative flex shrink-0 items-center justify-center","box-content p-px","overflow-hidden rounded-sm bg-background","size-6",m),c[0]=m,c[1]=n):n=c[1],c[2]===Symbol.for("react.memo_cache_sentinel")?(s=(0,i.f)("absolute inset-px flex items-center justify-center","[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:object-contain","[&_img]:rounded-sm"),c[2]=s):s=c[2],c[3]!==u?(o=(0,t.jsx)("div",{className:s,children:u}),c[3]=u,c[4]=o):o=c[4];let x="app"===(void 0===f?"default":f)&&"dark:inset-px dark:ring-white";return c[5]!==h||c[6]!==x?(a=(0,i.f)("pointer-events-none absolute inset-0 rounded-[inherit] ring-1 ring-inset ring-border/60",x,h),c[5]=h,c[6]=x,c[7]=a):a=c[7],c[8]!==a?(l=(0,t.jsx)("div",{"aria-hidden":!0,className:a}),c[8]=a,c[9]=l):l=c[9],c[10]!==g||c[11]!==n||c[12]!==o||c[13]!==l?(d=(0,t.jsxs)("div",{"aria-hidden":g,className:n,children:[o,l]}),c[10]=g,c[11]=n,c[12]=o,c[13]=l,c[14]=d):d=c[14],d}])},640947,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(136562),n=e.i(829622),s=e.i(987457);e.s(["f",0,e=>{let o,a,l,d,c=(0,r.c)(26),{providerName:u,providerIcon:m,className:f,frame:p}=e;c[0]!==m.url.length||c[1]!==u?(o=0===m.url.length?(0,t.jsx)("span",{"aria-hidden":!0,className:"flex size-full items-center justify-center rounded-sm bg-muted text-sm font-medium text-muted-foreground",children:u.trim().charAt(0).toUpperCase()}):null,c[0]=m.url.length,c[1]=u,c[2]=o):o=c[2];let h=o;if(void 0!==p&&p){let e,r,o;return c[3]!==f?(e=(0,i.f)("size-8",f),c[3]=f,c[4]=e):e=c[4],c[5]!==h||c[6]!==m.className||c[7]!==m.darkUrl||c[8]!==m.url||c[9]!==u?(r=h??(0,t.jsx)(n.RemoteFavicon,{className:(0,i.f)("size-full",m.className),faviconFor:u,imgSrc:m.url,imgSrcDark:m.darkUrl,size:256}),c[5]=h,c[6]=m.className,c[7]=m.darkUrl,c[8]=m.url,c[9]=u,c[10]=r):r=c[10],c[11]!==e||c[12]!==r?(o=(0,t.jsx)(s.f,{className:e,children:r}),c[11]=e,c[12]=r,c[13]=o):o=c[13],o}let g=null===h&&"bg-muted/40 p-1 shadow-inner";return c[14]!==f||c[15]!==g?(a=(0,i.f)("flex items-center justify-center","h-8 w-8 rounded-lg",g,f),c[14]=f,c[15]=g,c[16]=a):a=c[16],c[17]!==h||c[18]!==m.className||c[19]!==m.darkUrl||c[20]!==m.url||c[21]!==u?(l=h??(0,t.jsx)(n.RemoteFavicon,{className:(0,i.f)("overflow-hidden rounded-sm",m.className),faviconFor:u,imgSrc:m.url,imgSrcDark:m.darkUrl,size:256}),c[17]=h,c[18]=m.className,c[19]=m.darkUrl,c[20]=m.url,c[21]=u,c[22]=l):l=c[22],c[23]!==a||c[24]!==l?(d=(0,t.jsx)("div",{className:a,children:l}),c[23]=a,c[24]=l,c[25]=d):d=c[25],d}])},829622,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(214051),n=e.i(51365),s=e.i(288265),o=e.i(16043);e.s(["RemoteFavicon",0,function(e){let a,l,d,c,u,m,f,p,h,g,x,v,b,y=(0,r.c)(55),j=(0,s.f)(),[k,N]=(0,o.useState)(null),[w,S]=(0,o.useState)(null),[T,L]=(0,o.useState)(!1),[R,_]=(0,o.useState)(!1),C=e.size||256;y[0]!==T||y[1]!==R||y[2]!==e.curatedIconAppId||y[3]!==e.faviconFor||y[4]!==e.imgSrc||y[5]!==C?(a=function({faviconFor:e,size:t,didCuratedIconFail:r,didSiteIconFail:i,curatedIconAppId:s,imgSrc:o}){if(o)return{source:"given",src:o};if(void 0!==s&&(0,n.Q)(e)&&!r)return{source:"curated",src:(0,n.$)(e)?e:(0,n.g)(s)};let a=i?(0,n.Z)(e):null;return null!==a?{source:"parent-site",src:(0,n.e)(a,t)}:{source:"site",src:(0,n.e)(e,t)}}({faviconFor:e.faviconFor,size:C,didCuratedIconFail:T,didSiteIconFail:R,curatedIconAppId:e.curatedIconAppId,imgSrc:e.imgSrc}),y[0]=T,y[1]=R,y[2]=e.curatedIconAppId,y[3]=e.faviconFor,y[4]=e.imgSrc,y[5]=C,y[6]=a):a=y[6];let{source:A,src:z}=a;y[7]!==e.faviconFor||y[8]!==C||y[9]!==A?(l=t=>{"site"!==A||C<=16||t>16||null!==(0,n.Z)(e.faviconFor)&&_(!0)},y[7]=e.faviconFor,y[8]=C,y[9]=A,y[10]=l):l=y[10];let B=l;y[11]!==e.faviconFor||y[12]!==A?(d=t=>{switch(A){case"curated":if((0,n.$)(e.faviconFor))return void N(t);L(!0);return;case"site":if(null===(0,n.Z)(e.faviconFor))return void N(t);_(!0);return;case"given":case"parent-site":return void N(t);default:N(t)}},y[11]=e.faviconFor,y[12]=A,y[13]=d):d=y[13];let E=d;y[14]===Symbol.for("react.memo_cache_sentinel")?(c=()=>{N(null)},y[14]=c):c=y[14],y[15]!==z?(u=[z],y[15]=z,y[16]=u):u=y[16],(0,o.useEffect)(c,u),y[17]===Symbol.for("react.memo_cache_sentinel")?(m=()=>{L(!1),_(!1)},y[17]=m):m=y[17],y[18]!==e.curatedIconAppId||y[19]!==e.faviconFor||y[20]!==e.imgSrc||y[21]!==C?(f=[e.faviconFor,e.curatedIconAppId,e.imgSrc,C],y[18]=e.curatedIconAppId,y[19]=e.faviconFor,y[20]=e.imgSrc,y[21]=C,y[22]=f):f=y[22],(0,o.useEffect)(m,f),y[23]===Symbol.for("react.memo_cache_sentinel")?(p=()=>{S(null)},y[23]=p):p=y[23],y[24]!==e.imgSrcDark?(h=[e.imgSrcDark],y[24]=e.imgSrcDark,y[25]=h):h=y[25],(0,o.useEffect)(p,h),y[26]!==j||y[27]!==e.faviconFor?(g=j("Favicon for {faviconFor}",{faviconFor:e.faviconFor}),y[26]=j,y[27]=e.faviconFor,y[28]=g):g=y[28],y[29]!==C||y[30]!==g?(x={width:C,height:C,alt:g,className:"h-full w-full object-cover"},y[29]=C,y[30]=g,y[31]=x):x=y[31];let P=x;if(e.imgSrcDark){let r,n,s;return y[32]!==k||y[33]!==P||y[34]!==E||y[35]!==B||y[36]!==z?(r=(0,t.jsx)("span",{className:"block h-full w-full shrink-0 dark:hidden",children:k?(0,t.jsx)("span",{className:"bg-muted",children:(0,t.jsx)(i.f,{className:"h-4 w-4 text-muted-foreground/60"})}):(0,t.jsx)("img",{...P,src:z,onError:e=>E(e.toString()),onLoad:e=>B(e.currentTarget.naturalWidth)})}),y[32]=k,y[33]=P,y[34]=E,y[35]=B,y[36]=z,y[37]=r):r=y[37],y[38]!==w||y[39]!==P||y[40]!==e.imgSrcDark?(n=(0,t.jsx)("span",{className:"hidden h-full w-full shrink-0 dark:block",children:w?(0,t.jsx)("span",{className:"bg-muted",children:(0,t.jsx)(i.f,{className:"h-4 w-4 text-muted-foreground/60"})}):(0,t.jsx)("img",{...P,src:e.imgSrcDark,onError:e=>S(e.toString())})}),y[38]=w,y[39]=P,y[40]=e.imgSrcDark,y[41]=n):n=y[41],y[42]!==e.className||y[43]!==r||y[44]!==n?(s=(0,t.jsxs)("div",{className:e.className,children:[r,n]}),y[42]=e.className,y[43]=r,y[44]=n,y[45]=s):s=y[45],s}return y[46]!==k||y[47]!==P||y[48]!==E||y[49]!==B||y[50]!==z?(v=k?(0,t.jsx)("span",{className:"bg-muted",children:(0,t.jsx)(i.f,{className:"h-4 w-4 text-muted-foreground/60"})}):(0,t.jsx)("picture",{className:"h-full w-full shrink-0",children:(0,t.jsx)("img",{...P,src:z,loading:"lazy",decoding:"async",onError:e=>E(e.toString()),onLoad:e=>B(e.currentTarget.naturalWidth)})}),y[46]=k,y[47]=P,y[48]=E,y[49]=B,y[50]=z,y[51]=v):v=y[51],y[52]!==e.className||y[53]!==v?(b=(0,t.jsx)("div",{className:e.className,children:v}),y[52]=e.className,y[53]=v,y[54]=b):b=y[54],b}])},808125,e=>{"use strict";var t=e.i(667417),r=e.i(387086);let i={[t.D.Text]:(0,r.b)("Text"),[t.D.Image]:(0,r.b)("Image"),[t.D.File]:(0,r.b)("File"),[t.D.Audio]:(0,r.b)("Audio"),[t.D.Video]:(0,r.b)("Video")},n={[t.j.Text]:(0,r.b)("Text"),[t.j.Image]:(0,r.b)("Image"),[t.j.Embeddings]:(0,r.b)("Embeddings"),[t.j.Audio]:(0,r.b)("Audio"),[t.j.Video]:(0,r.b)("Video"),[t.j.Rerank]:(0,r.b)("Rerank"),[t.j.Decisions]:(0,r.b)("Decisions"),[t.j.TTS]:(0,r.b)("Speech"),[t.j.Transcription]:(0,r.b)("Transcription")};e.s(["Z",0,i,"L",0,n])},51365,e=>{"use strict";e.i(640216);let t=new Set(["ac","co","com","edu","go","gob","gov","ltd","me","ne","net","nom","or","org","plc","sch"]),r=(e,t=256)=>`https://t0.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=${e}&size=${t}`,i=new Set(["amazonaws.com","azurewebsites.net","cloudfront.net","firebaseapp.com","fly.dev","github.io","gitlab.io","herokuapp.com","ngrok.app","ngrok.io","netlify.app","onrender.com","pages.dev","run.app","vercel.app","web.app","workers.dev"]),n=/\.(png|jpe?g|ico|svg|webp|gif|bmp)$/i,s=r("https://huggingface.co/");e.s(["t",0,s,"g",0,e=>`/api/frontend/v1/apps/${e}/icon`,"e",0,r,"r",0,e=>`/images/icons/${e}`,"Z",0,e=>{let r=(e=>{let t=/^[a-z][a-z\d+\-.]*:\/\//iu.test(e)?e:`https://${e}`;try{return new URL(t).hostname.toLowerCase().replace(/\.$/u,"")}catch{return null}})(e);if(null===r)return null;let n=r.split(".").slice(1);if(n.length<2||2===n.length&&2===(n[1]??"").length&&t.has(n[0]??""))return null;let s=n.join(".");return[...i].some(e=>s===e||s.endsWith(`.${e}`))?null:`https://${s}`},"Q",0,e=>{try{return n.test(new URL(e).pathname)}catch{return!1}},"$",0,e=>{try{let t=new URL(e).hostname.toLowerCase().replace(/\.$/,"");return"openrouter.ai"===t||t.endsWith(".openrouter.ai")}catch{return!1}}],51365)},640216,e=>{"use strict";var t=e.i(914571),r=e.i(647204),i=e.i(30012);function n(e){let t=e.replaceAll(/^\[|\]$/g,""),r=l(t);if(r)return n(r);if(s(t)){let e=Number.parseInt(t.split(".")[0]??"",10);return 0===e||127===e}let i=o(t);if(i)return i.slice(0,15).every(e=>0===e)&&(0===i[15]||1===i[15]);let a=d(t);return"localhost"===a||a.endsWith(".localhost")||a.includes(":")}function s(e){let t=e.split(".");return 4===t.length&&t.every(e=>/^\d{1,3}$/.test(e)&&Number(e)>=0&&255>=Number(e))}function o(e){let t=e.replaceAll(/^\[|\]$/g,"").toLowerCase(),r=t.indexOf("%");if(-1!==r){if(0===r||r===t.length-1)return null;t=t.slice(0,r)}if(!t.includes(":"))return null;if(t.includes(".")){let e=t.lastIndexOf(":");if(-1===e)return null;let r=t.slice(e+1);if(!s(r))return null;let i=r.split(".").map(Number),n=(i[0]??0)<<8|(i[1]??0),o=(i[2]??0)<<8|(i[3]??0);t=`${t.slice(0,e+1)}${n.toString(16)}:${o.toString(16)}`}let i=t.indexOf("::");if(i!==t.lastIndexOf("::"))return null;let n=-1!==i?function(e,t){let r=e.slice(0,t),i=e.slice(t+2),n=""===r?[]:r.split(":"),s=""===i?[]:i.split(":");if(n.some(e=>""===e)||s.some(e=>""===e))return null;let o=8-n.length-s.length;return o<1?null:[...n,...Array.from({length:o},()=>"0"),...s]}(t,i):t.split(":");return null===n||8!==n.length||n.some(e=>!/^[0-9a-f]{1,4}$/.test(e))?null:n.flatMap(e=>{let t=Number.parseInt(e,16);return[t>>8&255,255&t]})}function a(e){return 254===e[0]&&((e[1]??0)&192)==128}function l(e){let t=o(e);if(null===t)return null;let r=t.slice(0,10).every(e=>0===e)&&255===t[10]&&255===t[11],i=t.slice(0,12).every(e=>0===e),n=t.slice(0,15).every(e=>0===e)&&(0===t[15]||1===t[15]);return!r&&!i||i&&n?null:`${t[12]}.${t[13]}.${t[14]}.${t[15]}`}function d(e){let t=e.toLowerCase(),r=t.length;for(;r>0&&"."===t[r-1];)r-=1;return t.slice(0,r)}t.n,e.s(["b",0,function(e,t){return"https:"===e.protocol||"http:"===e.protocol&&t&&n(e.hostname)},"i",0,function(e){let t=d(e);return"cfargotunnel.com"===t||t.endsWith(".cfargotunnel.com")},"y",0,n,"r",0,function(e){let t=d(e);return"openrouter.ai"===t||t.endsWith(".openrouter.ai")},"E",0,function(e,t={}){let c,u,m,f;try{c=new URL(e)}catch{return(0,r.Y)("Invalid URL format")}let p=c.hostname.toLowerCase(),h=c.protocol,g=(0,i.T)()&&!0;if(n(p)&&g)return"http:"!==h&&"https:"!==h?(0,r.Y)("Only HTTP and HTTPS protocols are allowed"):(0,r.N)(!0);if(n(p))return(0,r.Y)("Localhost URLs are not allowed");if(function e(t){let r=l(t.replaceAll(/^\[|\]$/g,""));if(r)return e(r)||n(r);if(s(t)){let e=t.split(".").map(Number);if(4!==e.length||e.some(e=>Number.isNaN(e)))return!1;let[r,i]=e;return void 0!==r&&void 0!==i&&(10===r||172===r&&i>=16&&i<=31||192===r&&168===i||100===r&&i>=64&&i<=127||169===r&&254===i)}if(null!==o(t)){let e=o(t);return null!==e&&(((e[0]??0)&254)==252||a(e))}return!1}(p))return(0,r.Y)("Private IP addresses are not allowed");if(function(e){if(s(e)){let t=e.split(".").map(Number);if(4===t.length&&169===t[0]&&254===t[1])return!0}if(null!==o(e)){let t=o(e);return null!==t&&a(t)}return!1}(p)||"metadata.google.internal"===(u=d(p))||u.endsWith(".metadata.google.internal")||(m=d(p)).endsWith(".svc")||m.endsWith(".svc.cluster.local")||m.endsWith(".cluster.local")||(f=d(p)).endsWith(".internal")||f.endsWith(".local"))return(0,r.Y)("Unsupported URL, public internet addresses only");if(!g&&"https:"!==h){if(!t.allowHttp)return(0,r.Y)("Only HTTPS URLs are allowed");if("http:"!==h)return(0,r.Y)("Only HTTP and HTTPS protocols are allowed")}return g&&"http:"!==h&&"https:"!==h?(0,r.Y)("Only HTTP and HTTPS protocols are allowed in dev"):(0,r.N)(!0)}],640216)},667417,e=>{"use strict";var t,r,i=e.i(988590),n=((t={}).Text="text",t.Image="image",t.Embeddings="embeddings",t.Audio="audio",t.Video="video",t.Rerank="rerank",t.Decisions="decisions",t.TTS="speech",t.Transcription="transcription",t),s=((r={}).Text="text",r.Image="image",r.File="file",r.Audio="audio",r.Video="video",r);let o=(0,i.v)(s),a=(0,i.v)(n);e.s(["v",0,o,"D",()=>s,"Z",0,a,"j",()=>n,"f",0,["text","image","video","speech","transcription","embeddings","rerank","decisions","audio"],"K",0,function(e){return 1===e.length&&e.includes("text")}])},983739,e=>{"use strict";var t,r=((t={}).Price="price",t.Throughput="throughput",t.Latency="latency",t.Exacto="exacto",t);e.s(["f",()=>r])},437692,e=>{"use strict";var t=e.i(659350),r=e.i(663456);let i=(0,e.i(207298).f)(["pointer-events-none absolute inset-y-0 z-overlay w-16","from-background to-transparent transition-opacity duration-150"],{variants:{side:{left:"left-0 bg-gradient-to-r",right:"right-0 bg-gradient-to-l"},isVisible:{true:"opacity-100",false:"opacity-0"},isDesktopOnly:{true:"hidden md:block",false:""}},defaultVariants:{isDesktopOnly:!1}});e.s(["f",0,function(e){let n,s,o=(0,r.c)(6),{side:a,isVisible:l,isDesktopOnly:d}=e;return o[0]!==d||o[1]!==l||o[2]!==a?(n=i({side:a,isVisible:l,isDesktopOnly:d}),o[0]=d,o[1]=l,o[2]=a,o[3]=n):n=o[3],o[4]!==n?(s=(0,t.jsx)("div",{"aria-hidden":"true",className:n}),o[4]=n,o[5]=s):s=o[5],s}])},811959,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(139697),n=e.i(612927);function s(e){return e.stopPropagation()}e.s(["f",0,function(e){let o,a,l,d=(0,r.c)(6),{label:c,onRemove:u}=e;return d[0]!==u?(o=e=>{e.stopPropagation(),u()},d[0]=u,d[1]=o):o=d[1],d[2]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)(n.X,{}),d[2]=a):a=d[2],d[3]!==c||d[4]!==o?(l=(0,t.jsx)(i.Button,{variant:"ghost",size:"icon-xs",tone:"subdued",glyph:"sm",onClick:o,onPointerDown:s,"aria-label":c,className:"shrink-0",children:a}),d[3]=c,d[4]=o,d[5]=l):l=d[5],l}])},268097,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(136562),n=e.i(797521);e.i(707060);var s=e.i(196991),o=e.i(153746),a=e.i(16043);let l=!1,d=new Set,c=e=>(d.add(e),()=>{d.delete(e)}),u=()=>l,m=()=>!1;function f(){return(0,a.useSyncExternalStore)(c,u,m)}function p(e){return`repeat(${e}, minmax(280px, 1fr))`}let h=(0,a.createContext)({mobileColumnLabels:[],columnCount:0}),g=(0,a.createContext)(null);function x(e){let n,s,o,l,d,c,u,m,f=(0,r.c)(23),{gridTemplate:p,gridRowTemplate:h,allowOverflow:x,children:v}=e,b=(0,a.useRef)(null),y=(0,a.useContext)(g);f[0]!==x||f[1]!==y?(n=()=>{let e=b.current;if(e&&y&&!x)return y.register(e),()=>{y.unregister(e)}},s=[y,x],f[0]=x,f[1]=y,f[2]=n,f[3]=s):(n=f[2],s=f[3]),(0,a.useEffect)(n,s);let j=x?void 0:"";f[4]!==x||f[5]!==y?(o=e=>{x||y?.notify(e.currentTarget)},f[4]=x,f[5]=y,f[6]=o):o=f[6];let k=!x&&"md:overflow-x-auto",N=!x&&"scrollbar-hide";f[7]!==k||f[8]!==N?(l=(0,i.f)("flex flex-col",k,N),f[7]=k,f[8]=N,f[9]=l):l=f[9];let w=x?"":void 0;return f[10]===Symbol.for("react.memo_cache_sentinel")?(d=(0,i.f)("flex flex-col md:grid md:min-w-min md:gap-x-3 md:pr-2","relative grid-cols-(--compare-grid-template) grid-rows-(--compare-grid-rows)"),f[10]=d):d=f[10],f[11]!==h||f[12]!==p?(c={"--compare-grid-template":p,"--compare-grid-rows":h},f[11]=h,f[12]=p,f[13]=c):c=f[13],f[14]!==v||f[15]!==c||f[16]!==w?(u=(0,t.jsx)("div",{"data-synced-translate-target":w,className:d,"data-allow-inline-style":!0,style:c,children:v}),f[14]=v,f[15]=c,f[16]=w,f[17]=u):u=f[17],f[18]!==u||f[19]!==j||f[20]!==o||f[21]!==l?(m=(0,t.jsx)("div",{ref:b,"data-synced-scroll-wrapper":j,onScroll:o,className:l,children:u}),f[18]=u,f[19]=j,f[20]=o,f[21]=l,f[22]=m):m=f[22],m}let v="var(--cards-sticky-bottom-px, 174px)",b=`calc(${v} + 3.5rem)`,y=`calc(${b} + var(--spacing) * 5 + var(--text-lg) * var(--text-lg--line-height))`;function j(e){let n,s,o,a,l,d=(0,r.c)(18),{id:c,title:u,rightSlot:m,subsection:f}=e,p=f?b:v,h=f?"h3":"h2";d[0]!==p?(n={"--sticky-top":p},d[0]=p,d[1]=n):n=d[1];let g=f?"z-[55]":"z-fixed",x=f?"px-4 py-2 md:px-5 md:py-2.5":"px-4 py-3 md:px-5 md:py-4",y=!f&&"border-b border-border";d[2]!==g||d[3]!==x||d[4]!==y?(s=(0,i.f)("flex items-center gap-3 bg-background top-(--sticky-top) scroll-mt-(--sticky-top)",g,x,"md:sticky",y),d[2]=g,d[3]=x,d[4]=y,d[5]=s):s=d[5];let j=f?"text-base md:text-lg":"text-lg md:text-xl";return d[6]!==j?(o=(0,i.f)("font-semibold text-foreground",j),d[6]=j,d[7]=o):o=d[7],d[8]!==h||d[9]!==o||d[10]!==u?(a=(0,t.jsx)(h,{className:o,children:u}),d[8]=h,d[9]=o,d[10]=u,d[11]=a):a=d[11],d[12]!==c||d[13]!==m||d[14]!==n||d[15]!==s||d[16]!==a?(l=(0,t.jsxs)("div",{id:c,"data-allow-inline-style":!0,style:n,className:s,children:[a,m]}),d[12]=c,d[13]=m,d[14]=n,d[15]=s,d[16]=a,d[17]=l):l=d[17],l}function k(e){let n,s,o,l,d,c,u,m,f=(0,r.c)(19),{title:g,stickyTop:x}=e,v=void 0===x?b:x,{columnCount:y}=(0,a.useContext)(h);f[0]!==y?(n=p(y),f[0]=y,f[1]=n):n=f[1];let j=n;return f[2]!==g?(s=(0,t.jsx)("div",{className:"z-[55] bg-muted px-4 py-2 text-sm font-medium text-muted-foreground md:hidden",children:g}),f[2]=g,f[3]=s):s=f[3],f[4]===Symbol.for("react.memo_cache_sentinel")?(o=(0,i.f)("z-sticky hidden bg-background text-sm font-medium text-muted-foreground","md:sticky md:grid md:min-w-min md:gap-x-3","top-(--sticky-top) grid-cols-(--compare-grid-template)"),f[4]=o):o=f[4],f[5]!==j||f[6]!==v?(l={"--sticky-top":v,"--compare-grid-template":j},f[5]=j,f[6]=v,f[7]=l):l=f[7],f[8]!==y?(d=Array.from({length:y}),f[8]=y,f[9]=d):d=f[9],f[10]!==d||f[11]!==g?(c=d.map((e,r)=>(0,t.jsx)("div",{className:"bg-muted px-5 py-2",children:0===r?g:null},r)),f[10]=d,f[11]=g,f[12]=c):c=f[12],f[13]!==l||f[14]!==c?(u=(0,t.jsx)("div",{"data-slot":"compare-subsection-strip","data-synced-translate-target":"",className:o,"data-allow-inline-style":!0,style:l,children:c}),f[13]=l,f[14]=c,f[15]=u):u=f[15],f[16]!==s||f[17]!==u?(m=(0,t.jsxs)(t.Fragment,{children:[s,u]}),f[16]=s,f[17]=u,f[18]=m):m=f[18],m}e.s(["BELOW_SUBSECTION_HEADER_STICKY_TOP",0,y,"DataRow",0,function(e){let l,d,c,u,m,p,g=(0,r.c)(31),{label:x,values:v,isFirst:b,bestIndices:y,emptyIndices:j,stacked:k,hideLabel:N}=e,w=void 0!==k&&k,S=void 0!==N&&N,T=(0,n.f)(),{mobileColumnLabels:L}=(0,a.useContext)(h),R=f();g[0]!==y||g[1]!==R?(l=R?y??[]:[],g[0]=y,g[1]=R,g[2]=l):l=g[2];let _=l;g[3]!==j?(d=j??[],g[3]=j,g[4]=d):d=g[4];let C=d,A=!b&&"md:border-t md:border-border",z=!b&&"border-t border-border md:border-t-0";if(g[5]!==z?(c=(0,i.f)("col-span-full flex flex-col gap-2 px-4 py-3 md:grid md:grid-cols-subgrid md:gap-x-3 md:gap-y-0 md:px-0 md:py-0",z),g[5]=z,g[6]=c):c=g[6],g[7]!==A||g[8]!==C||g[9]!==T||g[10]!==S||g[11]!==x||g[12]!==L||g[13]!==w||g[14]!==v||g[15]!==_){let e;g[17]!==A||g[18]!==C||g[19]!==T||g[20]!==S||g[21]!==x||g[22]!==L||g[23]!==w||g[24]!==_?(e=(e,r)=>{let n=C.includes(r),a=_.includes(r);return(0,t.jsxs)("div",{className:(0,i.f)("rounded-md border border-border bg-background px-3 py-2.5 text-sm md:rounded-none md:border-0 md:px-5 md:py-3",!n&&A,n&&"md:px-0 md:py-0",!n&&!a&&"md:bg-transparent",n&&"md:bg-background",a&&"border-positive/30 bg-positive/10 md:border-border md:bg-positive/10",!w&&!n&&"md:flex md:flex-row md:flex-wrap md:items-center md:justify-between md:gap-x-3 md:gap-y-1 md:[&>:last-child]:ml-auto"),children:[(0,t.jsx)("div",{className:"mb-1 truncate text-xs font-medium text-muted-foreground md:hidden",children:L[r]??(0,t.jsxs)(s.T,{children:["Model ",(0,t.jsx)(o.d,{children:T.number(r+1,{preset:"integer"})})]})}),!n&&!S&&(0,t.jsx)("div",{"data-slot":"compare-row-label",className:(0,i.f)("mb-1 text-sm text-muted-foreground",!w&&"md:mb-0 md:shrink-0 md:whitespace-nowrap"),children:x}),e]},r)},g[17]=A,g[18]=C,g[19]=T,g[20]=S,g[21]=x,g[22]=L,g[23]=w,g[24]=_,g[25]=e):e=g[25],u=v.map(e),g[7]=A,g[8]=C,g[9]=T,g[10]=S,g[11]=x,g[12]=L,g[13]=w,g[14]=v,g[15]=_,g[16]=u}else u=g[16];return g[26]!==u?(m=(0,t.jsx)("div",{className:"grid grid-cols-1 gap-2 md:contents",children:u}),g[26]=u,g[27]=m):m=g[27],g[28]!==c||g[29]!==m?(p=(0,t.jsx)("div",{"data-slot":"compare-data-row",className:c,children:m}),g[28]=c,g[29]=m,g[30]=p):p=g[30],p},"SectionGrid",0,function(e){let n,s,o,l,d,c,u,m,f=(0,r.c)(27),{columnCount:g,mobileColumnLabels:v,allowOverflow:b,gridRowTemplate:y,children:N}=e;f[0]!==N?(n=function(e){let t,r,i={sectionHeader:null,groups:[]},n={subHeader:null,rows:[]},s=()=>{(n.subHeader||n.rows.length>0)&&i.groups.push(n)};for(let o of(t=[],(r=e=>{if(null!=e&&!1!==e&&!0!==e){if(Array.isArray(e)){for(let t of e)r(t);return}if((0,a.isValidElement)(e)){if(e.type===a.Fragment)return void r(e.props.children);t.push(e)}}})(e),t)){if(o.type===j){i.sectionHeader=o;continue}if(o.type===k){s(),n={subHeader:o,rows:[]};continue}n.rows.push(o)}return s(),0===i.groups.length&&i.groups.push({subHeader:null,rows:[]}),i}(N),f[0]=N,f[1]=n):n=f[1];let w=n;f[2]!==g?(s=p(g),f[2]=g,f[3]=s):s=f[3];let S=s;f[4]!==v?(o=v??[],f[4]=v,f[5]=o):o=f[5],f[6]!==g||f[7]!==o?(l={mobileColumnLabels:o,columnCount:g},f[6]=g,f[7]=o,f[8]=l):l=f[8];let T=l,L=!b&&"overflow-clip";f[9]!==L?(d=(0,i.f)("flex flex-col bg-background",L),f[9]=L,f[10]=d):d=f[10];let R=w.sectionHeader;if(f[11]!==b||f[12]!==y||f[13]!==S||f[14]!==w.groups){let e;f[16]!==b||f[17]!==y||f[18]!==S?(e=(e,r)=>(0,t.jsxs)(a.Fragment,{children:[e.subHeader,e.rows.length>0&&(0,t.jsx)(x,{gridTemplate:S,gridRowTemplate:y,allowOverflow:b,children:e.rows})]},r),f[16]=b,f[17]=y,f[18]=S,f[19]=e):e=f[19],c=w.groups.map(e),f[11]=b,f[12]=y,f[13]=S,f[14]=w.groups,f[15]=c}else c=f[15];return f[20]!==w.sectionHeader||f[21]!==d||f[22]!==c?(u=(0,t.jsxs)("div",{className:d,children:[R,c]}),f[20]=w.sectionHeader,f[21]=d,f[22]=c,f[23]=u):u=f[23],f[24]!==T||f[25]!==u?(m=(0,t.jsx)(h.Provider,{value:T,children:u}),f[24]=T,f[25]=u,f[26]=m):m=f[26],m},"SectionHeader",0,j,"SubSectionHeader",0,k,"SyncedScrollProvider",0,function({children:e,onScrollLeftChange:r}){let i=(0,a.useRef)(new Set),n=(0,a.useRef)(!1),s=(0,a.useRef)(new Map),o=(0,a.useRef)(null),l=(0,a.useRef)(null),[d,c]=(0,a.useState)(!1),[u,m]=(0,a.useState)(!1),f=(0,a.useMemo)(()=>{let e=({source:e,left:t,maxLeft:s})=>{if(!n.current){n.current=!0,l.current=t;try{for(let r of[...i.current].filter(r=>r!==e&&Math.abs(r.scrollLeft-t)>.5))r.scrollLeft=t;c(t>4),m(t+4{e({source:t,left:t.scrollLeft,maxLeft:t.scrollWidth-t.clientWidth})},a=()=>{null===o.current&&(o.current=requestAnimationFrame(()=>{o.current=null;let e=i.current.values().next().value;e&&t(e)}))};return{register:r=>{i.current.add(r);let n=r.firstElementChild;if("u">typeof ResizeObserver&&n instanceof Element){let e=new ResizeObserver(a);e.observe(n),s.current.set(r,e)}let o=l.current;null===o?t(r):(r.scrollLeft=o,e({source:r,left:o,maxLeft:r.scrollWidth-r.clientWidth}))},unregister:e=>{i.current.delete(e);let t=s.current.get(e);t&&(t.disconnect(),s.current.delete(e))},notify:t,canScrollLeft:d,canScrollRight:u}},[d,u,r]);return(0,a.useEffect)(()=>{let e=()=>{let e=i.current.values().next().value;e&&f.notify(e)};return window.addEventListener("resize",e,{passive:!0}),()=>{window.removeEventListener("resize",e)}},[f]),(0,a.useEffect)(()=>()=>{null!==o.current&&(cancelAnimationFrame(o.current),o.current=null)},[]),(0,t.jsx)(g.Provider,{value:f,children:e})},"buildGridTemplate",0,p,"highlightBestStore",0,{get:()=>l,set:e=>{if(l!==e)for(let t of(l=e,d))t()}},"useHighlightBest",0,f])},62380,e=>{"use strict";var t=e.i(659350),r=e.i(481066),i=e.i(140691),n=e.i(427150),s=e.i(16043);function o(e,t,r){let i=[];if(e.forEach((e,t)=>{if(null==e)return;let n=Number(e);!Number.isFinite(n)||!(n<0)&&(0!==n||r?.includeZeroValues)&&i.push({index:t,num:n})}),i.length<2)return[];let n=[],s="min"===t?1/0:-1/0;for(let{index:e,num:r}of i){if("min"===t?rs){n=[e],s=r;continue}r===s&&n.push(e)}return 1===n.length?n:[]}function a({visibleIndices:e,allModels:t,extract:r,dir:i,options:n}){return o(e.map((e,i)=>{let n=t[e];if(n)return r(n,i)}),i,n)}e.s(["c",0,function(e,t){return e.some((e,r)=>!!t(e,r))},"Y",0,function(e,t,r){let i=r[t];return i?.name??i?.slug??e.author},"$",0,function(e,r,i){return e.map(e=>{let n=r[e];return n?(0,t.jsx)(s.Fragment,{children:i(n,e)},e):(0,t.jsx)("span",{className:"text-sm text-muted-foreground",children:"—"},e)})},"A",0,function(e){return(0,r.f)(e.short_name,{keepNote:!0})},"b",0,function({visibleIndices:e,allModels:t,extract:r,options:i}){return a({visibleIndices:e,allModels:t,extract:r,dir:"max",options:i})},"U",0,function(e){return(0,n.f)(e)&&(0,i.I)(e).gte(0)},"q",0,function(e,t,r){return a({visibleIndices:e,allModels:t,extract:r,dir:"min"})},"P",0,o])},36419,416363,e=>{"use strict";var t=e.i(663456),r=e.i(687186),i=e.i(16043);e.s(["f",0,function(){let e,n,s,o,a=(0,t.c)(6),l=(0,i.useRef)(null),d=(0,i.useRef)(null);a[0]===Symbol.for("react.memo_cache_sentinel")?(e=e=>{if(d.current&&(d.current(),d.current=null),!e)return;let t=()=>{let t=document.querySelector("#page-content"),r=t?Number.parseFloat(getComputedStyle(t).getPropertyValue("--sticky-banner-top")):0,i=Number.isFinite(r)?r:0,n=Math.ceil((document.querySelector("#main-nav")?.getBoundingClientRect().height??0)+i+e.getBoundingClientRect().height)-8;document.documentElement.style.setProperty("--cards-sticky-bottom-px",`${n}px`)};t();let i="u"i?.observe(e));let n=document.querySelector("#main-nav");n&&i?.observe(n);let s="u"{i?.disconnect(),s?.disconnect()}},a[0]=e):e=a[0];let c=e,[u,m]=(0,i.useState)(!1),[f,p]=(0,i.useState)(!1),h=(0,i.useRef)(null);a[1]===Symbol.for("react.memo_cache_sentinel")?(n=e=>{if(h.current?.(),h.current=null,!e)return;let t=t=>{if(1>Math.abs(t.deltaX)||t.target instanceof Element&&t.target.closest("[data-synced-scroll-wrapper]"))return;let r=e.querySelector("[data-synced-scroll-wrapper]");if(!r)return;let i=r.scrollWidth-r.clientWidth,n=r.scrollLeft<=0,s=r.scrollLeft>=i;t.deltaX<0&&n||t.deltaX>0&&s||(r.scrollLeft=r.scrollLeft+t.deltaX,t.preventDefault())};e.addEventListener("wheel",t,{passive:!1}),h.current=()=>{e.removeEventListener("wheel",t)}},a[1]=n):n=a[1];let g=n;a[2]===Symbol.for("react.memo_cache_sentinel")?(s=(e,t)=>{let r=e>0?`translate3d(${-e}px, 0, 0)`:"",i=l.current;for(let e of(i&&(i.style.transform=r),document.querySelectorAll("[data-synced-translate-target]")))e.style.transform=r;m(e>4),p(e+4{(0,n.flushSync)(e)});t&&r.finished.then(t,t)}],416363)},795880,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(385190),n=e.i(139697),s=e.i(328262),o=e.i(623304),a=e.i(751155),l=e.i(960773),d=e.i(131269),c=e.i(138257),u=e.i(980189),m=e.i(205194);e.i(707060);var f=e.i(196991),p=e.i(288265),h=e.i(919035),g=e.i(153746),x=e.i(498449),v=e.i(463686),b=e.i(16043),y=e.i(268097),j=e.i(62380),k=e.i(36419),N=e.i(416363),w=e.i(387086),S=e.i(339814),T=e.i(561042),L=e.i(728541);function R(e){return void 0===e?"—":e?"Yes":"No"}function _(e){return(0,w.b)("{count, plural, one {# model} other {# models}}",{count:e})}var C=e.i(533391),A=e.i(988308);let z="modalities",B="terms-of-service",E="privacy-policy",P=[{id:"section-provider-overview",title:(0,w.b)("Overview"),rows:[{id:"models",label:(0,w.b)("Models"),text:(e,{m:t})=>t(_(e.modelCount)),score:e=>e.modelCount},{id:"free-models",label:(0,w.b)("Free models"),text:(e,{m:t})=>t(_(e.freeModelCount)),score:e=>e.freeModelCount},{id:z,label:(0,w.b)("Modalities"),text:(e,{locale:t})=>{let r;return 0===(r=(0,T.V)(e)).length?"—":(0,S.g)(r.map(e=>e.modality),{locale:t,style:"comma"})??"—"}},{id:"daily-tokens",label:(0,w.b)("Tokens (24h)"),text:(e,{locale:t})=>(0,C.f)(t,e.dailyTokens),score:e=>e.dailyTokens,hint:(0,w.b)("Tokens this provider served through OpenRouter in the last 24 hours.")},{id:"monthly-tokens",label:(0,w.b)("Tokens (30d)"),text:(e,{locale:t})=>(0,C.f)(t,e.monthlyTokens),score:e=>e.monthlyTokens,hint:(0,w.b)("Tokens this provider served through OpenRouter in the last 30 days.")},{id:"headquarters",label:(0,w.b)("Headquarters"),text:(e,{locale:t})=>void 0===e.headquarters?"—":(0,L.r)(t,e.headquarters)}]},{id:"section-provider-privacy",title:(0,w.b)("Privacy and data handling"),rows:[{id:"training",label:(0,w.b)("Trains on prompts"),text:(e,{m:t})=>t((0,A._)(e))},{id:"retention",label:(0,w.b)("Prompt retention"),text:(e,{m:t})=>t((0,L.V)(e))},{id:"moderation",label:(0,w.b)("Moderation required"),text:e=>R(e.policy.moderationRequired),hint:(0,w.b)("The provider enforces moderation filters on inputs and outputs.")}]},{id:"section-provider-access",title:(0,w.b)("Access and documents"),rows:[{id:"byok",label:(0,w.b)("BYOK"),text:e=>R(e.policy.byokEnabled),hint:(0,w.b)("Bring Your Own Key — route through your own credentials with this provider.")},{id:B,label:(0,w.b)("Terms of service"),text:e=>e.policy.termsOfServiceURL??"—"},{id:E,label:(0,w.b)("Privacy policy"),text:e=>e.policy.privacyPolicyURL??"—"}]}];var M=e.i(357824),I=e.i(264176);e.i(406201);var F=e.i(967605);function O(e){let i,n,s,o,a,l,d,c,u=(0,r.c)(16),{providers:m,onReset:h}=e,g=(0,p.f)(),x=m.length>0;u[0]!==g||u[1]!==m?(i=(0,M.l)(g,m),u[0]=g,u[1]=m,u[2]=i):i=u[2];let v=i;return u[3]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)(I.BreadcrumbItem,{children:(0,t.jsx)(I.BreadcrumbLink,{render:(0,t.jsx)(F.Link,{href:"/",children:(0,t.jsx)(f.T,{children:"Home"})})})}),s=(0,t.jsx)(I.BreadcrumbSeparator,{children:"/"}),u[3]=n,u[4]=s):(n=u[3],s=u[4]),u[5]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)(I.BreadcrumbItem,{children:(0,t.jsx)(I.BreadcrumbLink,{render:(0,t.jsx)(F.Link,{href:"/providers",children:(0,t.jsx)(f.T,{children:"Providers"})})})}),a=(0,t.jsx)(I.BreadcrumbSeparator,{children:"/"}),u[5]=o,u[6]=a):(o=u[5],a=u[6]),u[7]!==x||u[8]!==h?(l=(0,t.jsx)(I.BreadcrumbItem,{children:x?(0,t.jsx)(I.BreadcrumbLink,{render:(0,t.jsx)("button",{type:"button",className:"cursor-pointer",onClick:h,children:(0,t.jsx)(f.T,{children:"Compare"})})}):(0,t.jsx)(I.BreadcrumbPage,{children:(0,t.jsx)(f.T,{children:"Compare"})})}),u[7]=x,u[8]=h,u[9]=l):l=u[9],u[10]!==x||u[11]!==v?(d=x&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(I.BreadcrumbSeparator,{children:"/"}),(0,t.jsx)(I.BreadcrumbItem,{children:(0,t.jsx)(I.BreadcrumbPage,{className:"truncate",children:v})})]}),u[10]=x,u[11]=v,u[12]=d):d=u[12],u[13]!==l||u[14]!==d?(c=(0,t.jsx)(I.Breadcrumb,{children:(0,t.jsxs)(I.BreadcrumbList,{className:"text-sm",children:[n,s,o,a,l,d]})}),u[13]=l,u[14]=d,u[15]=c):c=u[15],c}var U=e.i(136562),$=e.i(954217),V=e.i(354896),D=e.i(663993),q=e.i(811959),W=e.i(640947),H=e.i(988590),Z=e.i(771271);function Y(e){let i,n,s,o=(0,r.c)(14),{provider:a,className:l,textClassName:d}=e,c=(0,H.q)(a.name,Z.R)?a.name:null;if(a.icon.url&&c){let e,r,i=a.icon;return o[0]!==l?(e=(0,U.f)("shrink-0",l),o[0]=l,o[1]=e):e=o[1],o[2]!==a.icon||o[3]!==c||o[4]!==e?(r=(0,t.jsx)(W.f,{frame:!0,providerName:c,providerIcon:i,className:e}),o[2]=a.icon,o[3]=c,o[4]=e,o[5]=r):r=o[5],r}return o[6]!==l||o[7]!==d?(i=(0,U.f)("flex shrink-0 items-center justify-center rounded-md bg-muted font-bold text-muted-foreground",l,d),o[6]=l,o[7]=d,o[8]=i):i=o[8],o[9]!==a.displayName?(n=a.displayName.charAt(0).toUpperCase(),o[9]=a.displayName,o[10]=n):n=o[10],o[11]!==i||o[12]!==n?(s=(0,t.jsx)("span",{className:i,children:n}),o[11]=i,o[12]=n,o[13]=s):s=o[13],s}var K=e.i(181870),G=e.i(624112),X=e.i(452290);function Q(e){let i,n,s,o,a,l,d,c,u,m,x,v,y=(0,r.c)(33),{providers:j,disabledSlugs:k,selectedSlug:N,onPick:w,children:S}=e,T=(0,p.f)(),L=(0,h.f)(),[R,C]=(0,b.useState)(!1),[A,z]=(0,b.useState)("");if(y[0]!==j||y[1]!==A){let e;i=0===(e=A.trim().toLowerCase()).length?j:j.filter(t=>t.displayName.toLowerCase().includes(e)||t.name.toLowerCase().includes(e)||t.slug.toLowerCase().includes(e)),y[0]=j,y[1]=A,y[2]=i}else i=y[2];let B=i;return y[3]===Symbol.for("react.memo_cache_sentinel")?(n=e=>{C(e),e||z("")},y[3]=n):n=y[3],y[4]!==S?(s=(0,t.jsx)(G.J,{render:S}),y[4]=S,y[5]=s):s=y[5],y[6]!==T?(o=T("Search providers"),y[6]=T,y[7]=o):o=y[7],y[8]!==T?(a=T("Search providers..."),y[8]=T,y[9]=a):a=y[9],y[10]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsx)(X.f,{}),y[10]=l):l=y[10],y[11]===Symbol.for("react.memo_cache_sentinel")?(d=e=>z(e.target.value),y[11]=d):d=y[11],y[12]!==A||y[13]!==o||y[14]!==a?(c=(0,t.jsx)("div",{className:"border-b border-border p-2",children:(0,t.jsx)(K.f,{autoFocus:!0,type:"text","aria-label":o,placeholder:a,leadingIcon:l,value:A,onChange:d})}),y[12]=A,y[13]=o,y[14]=a,y[15]=c):c=y[15],y[16]!==k||y[17]!==T||y[18]!==L||y[19]!==w||y[20]!==A||y[21]!==N||y[22]!==B?(u=0===B.length?(0,t.jsx)("div",{className:"px-3 py-6 text-center text-sm text-muted-foreground",children:(0,t.jsxs)(f.T,{children:["No providers match “",(0,t.jsx)(g.d,{children:A}),"”."]})}):B.map(e=>{let r=e.slug===N,i=!r&&k.includes(e.slug);return(0,t.jsxs)("button",{type:"button",disabled:i,"aria-current":r?"true":void 0,"aria-label":i?T("{displayName}, already comparing",{displayName:e.displayName}):T("Compare {displayName}",{displayName:e.displayName}),onClick:()=>{r||w(e),C(!1),z("")},className:(0,U.f)("flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-left text-sm",i?"cursor-not-allowed opacity-40":"cursor-pointer hover:bg-foreground/[0.06]",r&&"bg-selected-bg"),children:[(0,t.jsx)(Y,{provider:e,className:"size-5",textClassName:"text-2xs"}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate font-medium",children:e.displayName}),(0,t.jsx)("span",{className:"shrink-0 text-xs text-muted-foreground tabular-nums",children:i?T("Comparing"):L(_(e.modelCount))})]},e.slug)}),y[16]=k,y[17]=T,y[18]=L,y[19]=w,y[20]=A,y[21]=N,y[22]=B,y[23]=u):u=y[23],y[24]!==u?(m=(0,t.jsx)("div",{className:"max-h-80 overflow-y-auto p-1",children:u}),y[24]=u,y[25]=m):m=y[25],y[26]!==m||y[27]!==c?(x=(0,t.jsxs)(G.T,{align:"start",className:"z-[80] w-80 p-0",children:[c,m]}),y[26]=m,y[27]=c,y[28]=x):x=y[28],y[29]!==R||y[30]!==x||y[31]!==s?(v=(0,t.jsxs)(G.V,{open:R,onOpenChange:n,children:[s,x]}),y[29]=R,y[30]=x,y[31]=s,y[32]=v):v=y[32],v}function J(e){let i,n,s,o,a,l,d,c,u,m,f,h,g,x=(0,r.c)(34),{provider:v,providers:b,disabledSlugs:y,onPick:j,onRemove:k,viewTransitionName:N}=e,w=(0,p.f)();x[0]!==N?(i=N?{viewTransitionName:N}:void 0,x[0]=N,x[1]=i):i=x[1],x[2]===Symbol.for("react.memo_cache_sentinel")?(n=(0,U.f)("group/card relative h-15 overflow-hidden rounded-lg border border-border bg-background text-sm","transition-colors duration-200 ease-out hover:border-foreground/20 hover:bg-foreground/[0.03]"),x[2]=n):n=x[2];let S=v.slug;return x[3]!==w?(s=w("Change provider"),x[3]=w,x[4]=s):s=x[4],x[5]!==v?(o=(0,t.jsx)(Y,{provider:v,className:"size-6",textClassName:"text-xs"}),x[5]=v,x[6]=o):o=x[6],x[7]!==v.displayName?(a=(0,t.jsx)("span",{className:"min-w-0 truncate text-sm font-semibold tracking-tight",title:v.displayName,children:v.displayName}),x[7]=v.displayName,x[8]=a):a=x[8],x[9]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsx)(V.f,{className:"size-3.5 shrink-0 text-muted-foreground/60 transition-colors group-hover/card:text-foreground"}),x[9]=l):l=x[9],x[10]!==a?(d=(0,t.jsxs)("span",{className:"flex min-w-0 flex-1 items-center gap-1.5",children:[a,l]}),x[10]=a,x[11]=d):d=x[11],x[12]!==s||x[13]!==o||x[14]!==d?(c=(0,t.jsxs)("button",{type:"button","aria-label":s,className:"flex h-15 w-full min-w-0 cursor-pointer items-center gap-2 px-2.5 pr-16 text-left",children:[o,d]}),x[12]=s,x[13]=o,x[14]=d,x[15]=c):c=x[15],x[16]!==y||x[17]!==j||x[18]!==v.slug||x[19]!==b||x[20]!==c?(u=(0,t.jsx)(Q,{providers:b,disabledSlugs:y,selectedSlug:S,onPick:j,children:c}),x[16]=y,x[17]=j,x[18]=v.slug,x[19]=b,x[20]=c,x[21]=u):u=x[21],x[22]!==v?(m=(0,t.jsx)(ee,{provider:v}),x[22]=v,x[23]=m):m=x[23],x[24]!==w||x[25]!==k?(f=k&&(0,t.jsx)(q.f,{label:w("Remove provider"),onRemove:k}),x[24]=w,x[25]=k,x[26]=f):f=x[26],x[27]!==m||x[28]!==f?(h=(0,t.jsxs)("div",{className:"absolute right-1.5 top-1/2 z-10 flex -translate-y-1/2 items-center gap-0.5",children:[m,f]}),x[27]=m,x[28]=f,x[29]=h):h=x[29],x[30]!==i||x[31]!==u||x[32]!==h?(g=(0,t.jsxs)("div",{style:i,className:n,children:[u,h]}),x[30]=i,x[31]=u,x[32]=h,x[33]=g):g=x[33],g}function ee(e){let i,n,o,a,l,d,c=(0,r.c)(15),{provider:u}=e,m=(0,p.f)();c[0]!==u.description?(i=u.description&&(0,t.jsx)(s.InfoTooltip,{side:"bottom",align:"end",contentClassName:"w-80 max-h-96 overflow-y-auto",children:(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:u.description})}),c[0]=u.description,c[1]=i):i=c[1];let f=`/provider/${u.slug}`;return c[2]!==m||c[3]!==u.displayName?(n=m("Go to {displayName} details",{displayName:u.displayName}),c[2]=m,c[3]=u.displayName,c[4]=n):n=c[4],c[5]!==m?(o=m("Go to provider (opens in new tab)"),c[5]=m,c[6]=o):o=c[6],c[7]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)(D.f,{className:"size-3.5"}),c[7]=a):a=c[7],c[8]!==f||c[9]!==n||c[10]!==o?(l=(0,t.jsx)($.TextLink,{href:f,target:"_blank",rel:"noreferrer","aria-label":n,title:o,className:"flex size-6 shrink-0 items-center justify-center rounded-md text-muted-foreground no-underline hover:bg-foreground/[0.06] hover:text-foreground",children:a}),c[8]=f,c[9]=n,c[10]=o,c[11]=l):l=c[11],c[12]!==i||c[13]!==l?(d=(0,t.jsxs)("span",{role:"presentation",className:"flex shrink-0 items-center gap-0.5",onPointerDown:ei,onClick:er,onKeyDown:et,children:[i,l]}),c[12]=i,c[13]=l,c[14]=d):d=c[14],d}function et(e){return e.stopPropagation()}function er(e){return e.stopPropagation()}function ei(e){return e.stopPropagation()}function en(e){let i,s,o,a,l,d,c=(0,r.c)(20),{providers:u,selected:m,disabledSlugs:p,ariaLabel:h,onPick:g,onClear:v,viewTransitionName:b}=e;if(m){let e;return c[0]!==p||c[1]!==v||c[2]!==g||c[3]!==u||c[4]!==m||c[5]!==b?(e=(0,t.jsx)(J,{provider:m,providers:u,disabledSlugs:p,onPick:g,onRemove:v,viewTransitionName:b}),c[0]=p,c[1]=v,c[2]=g,c[3]=u,c[4]=m,c[5]=b,c[6]=e):e=c[6],e}return c[7]!==b?(i=b?{viewTransitionName:b}:void 0,c[7]=b,c[8]=i):i=c[8],c[9]===Symbol.for("react.memo_cache_sentinel")?(s=(0,U.f)("group/slot flex w-full flex-row","overflow-hidden rounded-lg border border-dashed border-border bg-foreground/[0.02]","duration-200 ease-out","hover:border-primary hover:bg-foreground/[0.04] hover:text-primary","h-15 p-0"),o=(0,t.jsx)("span",{className:(0,U.f)("flex size-6 items-center justify-center rounded-full bg-foreground/[0.04] ring-1 ring-border","transition-colors group-hover/slot:ring-primary/40"),children:(0,t.jsx)(x.f,{className:"size-3.5"})}),c[9]=s,c[10]=o):(s=c[9],o=c[10]),c[11]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)("span",{className:"text-sm font-medium",children:(0,t.jsx)(f.T,{children:"Select a provider"})}),c[11]=a):a=c[11],c[12]!==h||c[13]!==i?(l=(0,t.jsxs)(n.Button,{variant:"ghost",tone:"subdued",glyph:"sm","aria-label":h,style:i,className:s,children:[o,a]}),c[12]=h,c[13]=i,c[14]=l):l=c[14],c[15]!==p||c[16]!==g||c[17]!==u||c[18]!==l?(d=(0,t.jsx)(Q,{providers:u,disabledSlugs:p,onPick:g,children:l}),c[15]=p,c[16]=g,c[17]=u,c[18]=l,c[19]=d):d=c[19],d}var es=e.i(64131),eo=e.i(437692);function ea(e){return`provider-compare-slot-${e}`}function el(){let e=window.location.pathname;return(0,d.a)(e,i.v)??e}let ed=globalThis.window?el():"",ec=new Set;function eu(){for(let e of(ed=el(),ec))e()}function em(e){return ec.add(e),window.addEventListener("popstate",eu),()=>{ec.delete(e),window.removeEventListener("popstate",eu)}}function ef(){return ed}function ep(){return""}let eh=new Set([z,B,E]);function eg(e){let i,n,s=(0,r.c)(22),{row:o,provider:a}=e,l=(0,h.f)(),d=(0,c.useLocale)(),u=(0,p.f)();if(o.id===z){let e;return s[0]!==d||s[1]!==l||s[2]!==a||s[3]!==o?(e=(0,T.V)(a).length>0?(0,t.jsx)(es.f,{provider:a}):(0,t.jsx)("span",{children:o.text(a,{locale:d,m:l})}),s[0]=d,s[1]=l,s[2]=a,s[3]=o,s[4]=e):e=s[4],e}if(o.id===B){let e,r,i=a.policy.termsOfServiceURL;return s[5]!==u?(e=u("Terms"),s[5]=u,s[6]=e):e=s[6],s[7]!==a.policy.termsOfServiceURL||s[8]!==e?(r=(0,t.jsx)(A.y,{href:i,label:e}),s[7]=a.policy.termsOfServiceURL,s[8]=e,s[9]=r):r=s[9],r}if(o.id===E){let e,r,i=a.policy.privacyPolicyURL;return s[10]!==u?(e=u("Privacy"),s[10]=u,s[11]=e):e=s[11],s[12]!==a.policy.privacyPolicyURL||s[13]!==e?(r=(0,t.jsx)(A.y,{href:i,label:e}),s[12]=a.policy.privacyPolicyURL,s[13]=e,s[14]=r):r=s[14],r}return s[15]!==d||s[16]!==l||s[17]!==a||s[18]!==o?(i=o.text(a,{locale:d,m:l}),s[15]=d,s[16]=l,s[17]=a,s[18]=o,s[19]=i):i=s[19],s[20]!==i?(n=(0,t.jsx)("span",{className:"font-medium",children:i}),s[20]=i,s[21]=n):n=s[21],n}function ex(e){let i,n,o,a,l=(0,r.c)(14),{row:d}=e,c=(0,h.f)();if(!d.hint){let e;return l[0]!==c||l[1]!==d.label?(e=c(d.label),l[0]=c,l[1]=d.label,l[2]=e):e=l[2],e}return l[3]!==c||l[4]!==d.label?(i=c(d.label),l[3]=c,l[4]=d.label,l[5]=i):i=l[5],l[6]!==c||l[7]!==d.hint?(n=c(d.hint),l[6]=c,l[7]=d.hint,l[8]=n):n=l[8],l[9]!==n?(o=(0,t.jsx)(s.InfoTooltip,{side:"top",align:"start",children:(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:n})}),l[9]=n,l[10]=o):o=l[10],l[11]!==i||l[12]!==o?(a=(0,t.jsxs)("span",{className:"inline-flex items-center gap-1",children:[i,o]}),l[11]=i,l[12]=o,l[13]=a):a=l[13],a}function ev(e){return y.highlightBestStore.set(e)}function eb(e){return e.displayName}function ey(e){return e.slug}function ej(e){return e.slug}function ek(e){let i,n,s,o,a=(0,r.c)(9),{providers:l}=e,d=(0,p.f)();a[0]!==d||a[1]!==l?(i=(0,M.l)(d,l),a[0]=d,a[1]=l,a[2]=i):i=a[2];let c=i;return a[3]!==c||a[4]!==l.length?(n=(0,t.jsx)("h1",{className:"text-2xl font-semibold tracking-tight md:text-3xl",children:l.length>1?(0,t.jsxs)(f.T,{children:[(0,t.jsx)(g.d,{children:c}),": provider comparison"]}):(0,t.jsx)(f.T,{children:"Compare providers"})}),a[3]=c,a[4]=l.length,a[5]=n):n=a[5],a[6]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)("p",{className:"max-w-3xl text-sm text-foreground md:text-base",children:(0,t.jsx)(f.T,{children:"Compare model providers on OpenRouter side by side — catalog size and throughput, data handling and retention policies, BYOK support, and their terms of service and privacy policies."})}),a[6]=s):s=a[6],a[7]!==n?(o=(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[n,s]}),a[7]=n,a[8]=o):o=a[8],o}function eN(e){let i,s,o=(0,r.c)(10),{providers:l,disabledSlugs:d,canAddMore:c,onPick:u}=e,m=(0,p.f)();if(!c){let e,r,i;return o[0]!==m?(e=m("Maximum {max} providers reached",{max:String(M.k)}),o[0]=m,o[1]=e):e=o[1],o[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsxs)(n.Button,{size:"sm",disabled:!0,children:[(0,t.jsx)(x.f,{className:"!size-3.5"}),(0,t.jsx)("span",{children:(0,t.jsx)(f.T,{children:"Add provider"})})]}),o[2]=r):r=o[2],o[3]!==e?(i=(0,t.jsx)(a.Tooltip,{content:e,children:r}),o[3]=e,o[4]=i):i=o[4],i}return o[5]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsxs)(n.Button,{size:"sm",children:[(0,t.jsx)(x.f,{className:"!size-3.5"}),(0,t.jsx)("span",{children:(0,t.jsx)(f.T,{children:"Add provider"})})]}),o[5]=i):i=o[5],o[6]!==d||o[7]!==u||o[8]!==l?(s=(0,t.jsx)(Q,{providers:l,disabledSlugs:d,onPick:u,children:i}),o[6]=d,o[7]=u,o[8]=l,o[9]=s):s=o[9],s}e.s(["ProviderCompare",0,function(e){let i,n,s,a,d,g,x,w,S,T,L,R=(0,r.c)(34),{providers:_}=e,C=(0,l.Q)(),A=(0,p.f)(),z=(0,h.f)(),B=(0,m.f)(),E=(0,c.useLocale)(),I=(0,v.useParams)(),F=(0,b.useSyncExternalStore)(em,ef,ep),U=(0,M.N)(_,F?(0,M.u)(F):(0,M.F)(I?.slugs)),{stickyHeaderRowRef:$,stickyCardsWrapperRef:V,tableViewportRef:D,canScrollLeft:q,canScrollRight:W,handleSyncedScrollLeftChange:H}=(0,k.f)(),Z=(0,y.useHighlightBest)(),Y=e=>{let t=(0,M.f)(e.map(ej)),r=U.length<2!=e.length<2,i=()=>{window.history.replaceState(window.history.state,"",(0,u.f)(t,E)),eu(),r&&B.replace(t,{scroll:!1})};r?(0,N.f)(i):i()},K=(e,t)=>{C.capture("compare_select_provider",{provider_slug:t.slug,slot_index:e});let r=[...U];r[Math.min(e,r.length)]=t,Y(r)},G=e=>{C.capture("compare_remove_provider",{provider_slug:U[e]?.slug,slot_index:e}),Y(U.filter((t,r)=>r!==e))},X=U.map(ey),Q=U.lengthY([]),R[0]=Y,R[1]=e):e=R[1],R[2]!==U?(r=(0,t.jsx)(ek,{providers:U}),R[2]=U,R[3]=r):r=R[3];let a=U[0];R[4]!==A?(i=A("Add first provider to compare"),R[4]=A,R[5]=i):i=R[5],R[6]===Symbol.for("react.memo_cache_sentinel")?(n=ea(0),R[6]=n):n=R[6];let l=U[1];return R[7]!==A?(s=A("Add second provider to compare"),R[7]=A,R[8]=s):s=R[8],R[9]===Symbol.for("react.memo_cache_sentinel")?(o=ea(1),R[9]=o):o=R[9],(0,t.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,t.jsx)(O,{providers:U,onReset:e}),r,(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-2",children:[(0,t.jsx)(en,{providers:_,selected:a,disabledSlugs:X,ariaLabel:i,viewTransitionName:n,onPick:e=>K(0,e),onClear:()=>G(0)}),(0,t.jsx)(en,{providers:_,selected:l,disabledSlugs:X,ariaLabel:s,viewTransitionName:o,onPick:e=>K(1,e),onClear:()=>G(1)})]})]})}return R[10]!==Y?(i=()=>Y([]),R[10]=Y,R[11]=i):i=R[11],R[12]!==U?(n=(0,t.jsx)(ek,{providers:U}),R[12]=U,R[13]=n):n=R[13],R[14]!==Z?(s=(0,t.jsx)(o.Z,{size:"sm",checked:Z,onCheckedChange:ev}),R[14]=Z,R[15]=s):s=R[15],R[16]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)(f.T,{children:"Highlight best"}),R[16]=a):a=R[16],R[17]!==s?(d=(0,t.jsxs)("label",{className:"inline-flex cursor-pointer items-center gap-2 text-sm text-muted-foreground transition-colors hover:text-foreground",children:[s,a]}),R[17]=s,R[18]=d):d=R[18],R[19]!==q?(g=(0,t.jsx)(eo.f,{side:"left",isVisible:q}),R[19]=q,R[20]=g):g=R[20],R[21]!==W?(x=(0,t.jsx)(eo.f,{side:"right",isVisible:W}),R[21]=W,R[22]=x):x=R[22],R[23]!==ee||R[24]!==z||R[25]!==et||R[26]!==U?(w=P.map(e=>(0,t.jsxs)(y.SectionGrid,{columnCount:ee,mobileColumnLabels:et,children:[(0,t.jsx)(y.SectionHeader,{id:e.id,title:z(e.title),totalColumns:ee}),e.rows.map((e,r)=>(0,t.jsx)(y.DataRow,{isFirst:0===r,stacked:eh.has(e.id),label:(0,t.jsx)(ex,{row:e}),bestIndices:e.score?(0,j.P)(U.map(t=>e.score?.(t)),"max"):void 0,values:U.map(r=>(0,t.jsx)("div",{className:"min-w-0 truncate text-sm",children:(0,t.jsx)(eg,{row:e,provider:r})},r.slug))},e.id))]},e.id)),R[23]=ee,R[24]=z,R[25]=et,R[26]=U,R[27]=w):w=R[27],R[28]!==w?(S=(0,t.jsx)("div",{className:"flex flex-col gap-2",children:w}),R[28]=w,R[29]=S):S=R[29],R[30]!==q?(T=(0,t.jsx)(eo.f,{side:"left",isVisible:q,isDesktopOnly:!0}),R[30]=q,R[31]=T):T=R[31],R[32]!==W?(L=(0,t.jsx)(eo.f,{side:"right",isVisible:W,isDesktopOnly:!0}),R[32]=W,R[33]=L):L=R[33],(0,t.jsx)(y.SyncedScrollProvider,{onScrollLeftChange:H,children:(0,t.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,t.jsx)(O,{providers:U,onReset:i}),n,(0,t.jsxs)("div",{className:"flex flex-col gap-2 md:hidden",children:[(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsx)(eN,{providers:_,disabledSlugs:X,canAddMore:Q,onPick:e=>K(U.length,e)})}),U.map((e,r)=>(0,t.jsx)(J,{provider:e,providers:_,disabledSlugs:X,onPick:e=>K(r,e),onRemove:()=>G(r)},e.slug))]}),(0,t.jsxs)("div",{ref:D,className:"relative -mx-2 flex flex-col overflow-x-clip px-2",children:[(0,t.jsxs)("div",{ref:V,className:"z-[70] hidden overflow-x-clip bg-background md:sticky md:top-[calc(var(--navbar-height)+var(--sticky-banner-top,0px))] md:block md:pt-2 md:pb-2",children:[(0,t.jsxs)("div",{className:"mb-2 flex items-center justify-end gap-3",children:[d,(0,t.jsx)(eN,{providers:_,disabledSlugs:X,canAddMore:Q,onPick:e=>K(U.length,e)})]}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{ref:$,className:"grid h-15 grid-cols-(--grid-template) min-w-min items-center gap-x-3 border-x border-transparent pr-2","data-allow-inline-style":!0,style:{"--grid-template":(0,y.buildGridTemplate)(ee)},children:U.map((e,r)=>(0,t.jsx)(J,{viewTransitionName:ea(r),provider:e,providers:_,disabledSlugs:X,onPick:e=>K(r,e),onRemove:()=>G(r)},e.slug))}),g,x]})]}),S,T,L]})]})})}],795880)},357824,e=>{"use strict";let t="/providers/compare";function r(e){return e?Array.from(new Set(e.map(e=>(function(e){try{return decodeURIComponent(e)}catch{return e}})(e).trim().toLowerCase()).filter(e=>e.length>0))).slice(0,5):[]}e.s(["k",0,5,"d",0,t,"f",0,function(e){let r=e.filter(e=>e.length>0).join("/");return r.length>0?`${t}/${r}`:t},"N",0,function(e,t){let r=new Map(e.map(e=>[e.slug.toLowerCase(),e]));return t.map(e=>r.get(e.toLowerCase())).filter(e=>void 0!==e)},"l",0,function(e,t){return t.map(e=>e.displayName).reduce((t,r)=>""===t?r:e("{joined} vs {name}",{joined:t,name:r}),"")},"u",0,function(e){return e===t||e.startsWith(`${t}/`)?r(e.slice(t.length).split("/")):[]},"F",0,r])},533391,e=>{"use strict";var t=e.i(782143);e.s(["f",0,function(e,r){return(0,t.f)(r,{locale:e,preset:"provider-count"})??"—"}])},64131,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(808125);e.i(707060);var n=e.i(919035),s=e.i(288265),o=e.i(561042),a=e.i(247794);e.s(["f",0,function(e){let l,d,c,u,m=(0,r.c)(12),{provider:f}=e,p=(0,n.f)(),h=(0,s.f)();if(m[0]!==h||m[1]!==p||m[2]!==f){c=Symbol.for("react.early_return_sentinel");e:{let e,r=(0,o.V)(f);if(0===r.length){c=null;break e}l="inline-flex shrink-0 items-center gap-1",m[6]!==h||m[7]!==p?(e=e=>{let r=p(i.L[e.modality]);return(0,t.jsx)(a.f,{modality:e.modality,tooltip:(0,o.O)(e,{label:r,gt:h})},e.modality)},m[6]=h,m[7]=p,m[8]=e):e=m[8],d=r.map(e)}m[0]=h,m[1]=p,m[2]=f,m[3]=l,m[4]=d,m[5]=c}else l=m[3],d=m[4],c=m[5];return c!==Symbol.for("react.early_return_sentinel")?c:(m[9]!==l||m[10]!==d?(u=(0,t.jsx)("div",{className:l,children:d}),m[9]=l,m[10]=d,m[11]=u):u=m[11],u)}])},988308,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(233452),n=e.i(912147),s=e.i(751155);e.i(707060);var o=e.i(387086),a=e.i(919035),l=e.i(728541);let d={[l.B.Trains]:"warning",[l.B.NoTraining]:"positive",[l.B.Unknown]:"default"},c={[l.R.Zero]:"positive",[l.R.SafetyRetention]:"positive",[l.R.Limited]:"info",[l.R.Retains]:"warning",[l.R.Unknown]:"default"},u={[l.B.Trains]:(0,o.b)("Yes"),[l.B.NoTraining]:(0,o.b)("No"),[l.B.Unknown]:(0,o.b)("Unknown")},m={[l.B.Trains]:(0,o.b)("Trains on prompts"),[l.B.NoTraining]:(0,o.b)("No training"),[l.B.Unknown]:(0,o.b)("Training unknown")};e.s(["p",0,function(e){let n,o,a=(0,r.c)(5),{label:l,description:d}=e;return a[0]!==l?(n=(0,t.jsx)(s.TooltipNonInteractiveTrigger,{className:"inline-flex cursor-help",children:(0,t.jsx)(i.Badge,{variant:"default",children:l})}),a[0]=l,a[1]=n):n=a[1],a[2]!==d||a[3]!==n?(o=(0,t.jsx)(s.Tooltip,{content:d,children:n}),a[2]=d,a[3]=n,a[4]=o):o=a[4],o},"y",0,function(e){let i,s=(0,r.c)(4),{href:o,label:a}=e;if(!o){let e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("span",{className:"text-muted-foreground text-xs",children:"—"}),s[0]=e):e=s[0],e}return s[1]!==o||s[2]!==a?(i=(0,t.jsx)(n.f,{href:o,target:"_blank",rel:"noreferrer",showExternalIcon:!0,className:"relative z-10 text-xs",children:a}),s[1]=o,s[2]=a,s[3]=i):i=s[3],i},"L",0,function(e){let n,o,d,u,m=(0,r.c)(12),{provider:f}=e,p=(0,a.f)();m[0]!==p||m[1]!==f?(n=p((0,l.m)(f)),m[0]=p,m[1]=f,m[2]=n):n=m[2];let h=c[(0,l.p)(f)];return m[3]!==p||m[4]!==f?(o=p((0,l.V)(f)),m[3]=p,m[4]=f,m[5]=o):o=m[5],m[6]!==h||m[7]!==o?(d=(0,t.jsx)(s.TooltipNonInteractiveTrigger,{className:"inline-flex cursor-help",children:(0,t.jsx)(i.Badge,{variant:h,children:o})}),m[6]=h,m[7]=o,m[8]=d):d=m[8],m[9]!==n||m[10]!==d?(u=(0,t.jsx)(s.Tooltip,{content:n,children:d}),m[9]=n,m[10]=d,m[11]=u):u=m[11],u},"W",0,function(e){let n,o,c,u,f=(0,r.c)(12),{provider:p}=e,h=(0,a.f)(),g=(0,l.n)(p);f[0]!==h||f[1]!==p?(n=h((0,l.h)(p)),f[0]=h,f[1]=p,f[2]=n):n=f[2];let x=d[g],v=m[g];return f[3]!==h||f[4]!==v?(o=h(v),f[3]=h,f[4]=v,f[5]=o):o=f[5],f[6]!==x||f[7]!==o?(c=(0,t.jsx)(s.TooltipNonInteractiveTrigger,{className:"inline-flex cursor-help",children:(0,t.jsx)(i.Badge,{variant:x,children:o})}),f[6]=x,f[7]=o,f[8]=c):c=f[8],f[9]!==n||f[10]!==c?(u=(0,t.jsx)(s.Tooltip,{content:n,children:c}),f[9]=n,f[10]=c,f[11]=u):u=f[11],u},"_",0,function(e){return u[(0,l.n)(e)]}])},561042,e=>{"use strict";var t=e.i(667417);e.s(["O",0,function({inputCount:e,outputCount:t},{label:r,gt:i}){return e>0&&t>0?i("Supports {modality} input ({inputCount, plural, one {# model} other {# models}}) and output ({outputCount, plural, one {# model} other {# models}})",{modality:r,inputCount:e,outputCount:t}):e>0?i("Supports {modality} input via {inputCount, plural, one {# model} other {# models}}",{modality:r,inputCount:e}):i("Supports {modality} output via {outputCount, plural, one {# model} other {# models}}",{modality:r,outputCount:t})},"V",0,function(e){let{inputs:r,outputs:i}=e;return[{modality:t.j.Text,inputCount:r.text,outputCount:i.text},{modality:t.j.Image,inputCount:r.image,outputCount:i.image},{modality:t.j.Audio,inputCount:r.audio,outputCount:i.audio},{modality:t.j.Video,inputCount:r.video,outputCount:0},{modality:t.j.Embeddings,inputCount:0,outputCount:i.embeddings}].filter(({inputCount:e,outputCount:t})=>(e||0)+(t||0)>0)}])},728541,e=>{"use strict";var t=e.i(339814);e.i(707060);var r=e.i(387086);let i={Trains:"trains",NoTraining:"no-training",Unknown:"unknown"},n={Zero:"zero",SafetyRetention:"safety-retention",Limited:"limited",Retains:"retains",Unknown:"unknown"},s={TermsOfService:"tos",PrivacyPolicy:"privacy"},o={Byok:"byok",ModerationRequired:"moderation",Hipaa:"hipaa"},a=[i.Trains,i.NoTraining],l=[n.Zero,n.SafetyRetention,n.Limited,n.Retains],d={[i.Trains]:(0,r.b)("Trains on prompts"),[i.NoTraining]:(0,r.b)("Does not train"),[i.Unknown]:(0,r.b)("Unknown")},c={[n.Zero]:(0,r.b)("Zero retention"),[n.SafetyRetention]:(0,r.b)("Safety Retention"),[n.Limited]:(0,r.b)("Limited retention"),[n.Retains]:(0,r.b)("Retains prompts"),[n.Unknown]:(0,r.b)("Unknown")},u={[s.TermsOfService]:(0,r.b)("Has terms of service"),[s.PrivacyPolicy]:(0,r.b)("Has privacy policy")},m={[o.Byok]:(0,r.b)("Supports BYOK"),[o.ModerationRequired]:(0,r.b)("Moderation required"),[o.Hipaa]:(0,r.b)("HIPAA Compliant")};function f(e){return Object.values(o).filter(t=>e||t!==o.Hipaa)}function p(e){return!0===e.policy.training?i.Trains:!1===e.policy.training?i.NoTraining:i.Unknown}function h(e){let{retainsPrompts:t,retentionDays:r,safetyRetention:i}=e.policy;return!1===t?i?n.SafetyRetention:n.Zero:!0===t?void 0===r?n.Retains:r<=0?i?n.SafetyRetention:n.Zero:n.Limited:n.Unknown}let g={[i.Trains]:(0,r.b)("This provider may train on prompts sent through OpenRouter."),[i.NoTraining]:(0,r.b)("This provider does not train on prompts sent through OpenRouter."),[i.Unknown]:(0,r.b)("This provider has not stated whether it trains on prompts.")};function x(e){let t=[];return e.policy.termsOfServiceURL&&t.push(s.TermsOfService),e.policy.privacyPolicyURL&&t.push(s.PrivacyPolicy),t}function v(e){let{byokEnabled:t,moderationRequired:r}=e.policy,i=[];return t&&i.push(o.Byok),r&&i.push(o.ModerationRequired),e.isHipaaEligible&&i.push(o.Hipaa),i}let b=/^([A-Za-z]{2}|\d{3})$/;function y(e,r){return b.test(r)?(0,t.Q)(r,{locale:e})??r:r}e.s(["F",0,l,"u",0,a,"q",0,m,"o",0,o,"v",0,c,"R",0,n,"g",0,d,"c",0,u,"B",0,i,"L",0,s,"m",0,function(e){let t=h(e),{retentionDays:i}=e.policy;return t===n.SafetyRetention?(0,r.b)("Safety Retention: may retain prompts and responses from any request, only to prevent abuse. Not used for training."):t===n.Limited&&void 0!==i?(0,r.b)("This provider retains prompts for up to {retentionDays, plural, one {# day} other {# days}}, then deletes them.",{retentionDays:i}):t===n.Zero?(0,r.b)("This provider does not retain prompts after serving the request."):t===n.Retains?(0,r.b)("This provider retains prompts and has not stated a deletion window."):(0,r.b)("This provider has not stated how long it retains prompts.")},"h",0,function(e){return g[p(e)]},"D",0,function(e,t){let r=t.q.trim().toLowerCase();return e.filter(e=>{if(r.length>0&&!e.displayName.toLowerCase().includes(r)&&!e.name.toLowerCase().includes(r)||t.training.length>0&&!t.training.includes(p(e))||t.retention.length>0&&!t.retention.includes(h(e))||t.headquarters.length>0&&(void 0===e.headquarters||!t.headquarters.includes(e.headquarters)))return!1;let i=v(e);if(!t.features.every(e=>i.includes(e)))return!1;let n=x(e);return t.documents.every(e=>n.includes(e))})},"r",0,y,"V",0,function(e){let t=h(e),{retentionDays:i}=e.policy;return t===n.Limited&&void 0!==i?(0,r.b)("{retentionDays, plural, one {# day retention} other {# days retention}}",{retentionDays:i}):c[t]},"w",0,f,"E",0,function(e,r){return Array.from(new Set(r.map(e=>e.headquarters).filter(e=>void 0!==e))).sort((r,i)=>(0,t.o)(y(e,r),y(e,i),{locale:e}))},"Z",0,v,"p",0,h,"n",0,p,"f",0,x,"G",0,function(e,t){if(t)return e;let r=f(t);return{...e,features:e.features.filter(e=>r.includes(e))}}])},247794,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(136562),n=e.i(233452),s=e.i(751155),o=e.i(943926),a=e.i(761512);e.s(["f",0,function(e){let l,d,c,u,m,f=(0,r.c)(13),{modality:p,tooltip:h}=e;return f[0]!==p?(l=(0,i.f)("size-5 justify-center rounded-md border-transparent p-0",(0,a.p)({modality:p})),f[0]=p,f[1]=l):l=f[1],f[2]!==p?(d=(0,i.f)("size-3",(0,a.W)({modality:p})),f[2]=p,f[3]=d):d=f[3],f[4]!==p||f[5]!==d?(c=(0,t.jsx)(o.f,{modality:p,strokeWidth:2.5,className:d}),f[4]=p,f[5]=d,f[6]=c):c=f[6],f[7]!==l||f[8]!==c?(u=(0,t.jsx)(n.Badge,{variant:"default",size:"sm",className:l,children:c}),f[7]=l,f[8]=c,f[9]=u):u=f[9],f[10]!==u||f[11]!==h?(m=(0,t.jsx)(s.Tooltip,{content:h,children:u}),f[10]=u,f[11]=h,f[12]=m):m=f[12],m}])},943926,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(667417),n=e.i(773151),s=e.i(917023),o=e.i(706999),a=e.i(257723),l=e.i(472089),d=e.i(529809),c=e.i(99938),u=e.i(288087);let m=(0,e.i(783326).f)("boxes-single-path",[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z M7 16.5l-4.74-2.85 M7 16.5l5-3 M7 16.5v5.17 M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z M17 16.5l-5-3 M17 16.5l4.74-2.85 M17 16.5v5.17 M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z M12 8 7.26 5.15 M12 8l4.74-2.85 M12 13.5V8",key:"boxes-single-path"}]]);e.s(["f",0,function(e){let f=(0,r.c)(27),{className:p,modality:h,strokeWidth:g}=e,x=void 0===p?"w-4 h-4":p;switch(h){case i.j.Text:{let e;return f[0]!==x||f[1]!==g?(e=(0,t.jsx)(c.f,{className:x,strokeWidth:g}),f[0]=x,f[1]=g,f[2]=e):e=f[2],e}case i.j.Image:{let e;return f[3]!==x||f[4]!==g?(e=(0,t.jsx)(a.f,{className:x,strokeWidth:g}),f[3]=x,f[4]=g,f[5]=e):e=f[5],e}case i.j.Video:{let e;return f[6]!==x||f[7]!==g?(e=(0,t.jsx)(u.f,{className:x,strokeWidth:g}),f[6]=x,f[7]=g,f[8]=e):e=f[8],e}case i.j.Audio:{let e;return f[9]!==x||f[10]!==g?(e=(0,t.jsx)(s.f,{className:x,strokeWidth:g}),f[9]=x,f[10]=g,f[11]=e):e=f[11],e}case i.j.Embeddings:{let e;return f[12]!==x||f[13]!==g?(e=(0,t.jsx)(m,{className:x,strokeWidth:g}),f[12]=x,f[13]=g,f[14]=e):e=f[14],e}case i.j.Decisions:{let e;return f[15]!==x||f[16]!==g?(e=(0,t.jsx)(o.f,{className:x,strokeWidth:g}),f[15]=x,f[16]=g,f[17]=e):e=f[17],e}case i.j.Rerank:{let e;return f[18]!==x||f[19]!==g?(e=(0,t.jsx)(n.f,{className:x,strokeWidth:g}),f[18]=x,f[19]=g,f[20]=e):e=f[20],e}case i.j.TTS:{let e;return f[21]!==x||f[22]!==g?(e=(0,t.jsx)(d.f,{className:x,strokeWidth:g}),f[21]=x,f[22]=g,f[23]=e):e=f[23],e}case i.j.Transcription:{let e;return f[24]!==x||f[25]!==g?(e=(0,t.jsx)(l.f,{className:x,strokeWidth:g}),f[24]=x,f[25]=g,f[26]=e):e=f[26],e}default:return null}}],943926)},761512,e=>{"use strict";var t=e.i(667417),r=e.i(207298);let i=(0,r.f)("",{variants:{modality:{[t.j.Text]:"bg-modality-text/12",[t.j.Image]:"bg-modality-image/12",[t.j.Audio]:"bg-modality-audio/12",[t.j.Video]:"bg-modality-video/12",[t.j.Embeddings]:"bg-modality-embeddings/12",[t.j.Rerank]:"bg-modality-rerank/12",[t.j.Decisions]:"bg-modality-rerank/12",[t.j.TTS]:"bg-modality-tts/12",[t.j.Transcription]:"bg-modality-transcription/12"}}}),n=(0,r.f)("",{variants:{modality:{[t.j.Text]:"border-modality-text",[t.j.Image]:"border-modality-image",[t.j.Audio]:"border-modality-audio",[t.j.Video]:"border-modality-video",[t.j.Embeddings]:"border-modality-embeddings",[t.j.Rerank]:"border-modality-rerank",[t.j.Decisions]:"border-modality-rerank",[t.j.TTS]:"border-modality-tts",[t.j.Transcription]:"border-modality-transcription"}}}),s=(0,r.f)("",{variants:{modality:{[t.j.Text]:"",[t.j.Image]:"",[t.j.Audio]:"",[t.j.Video]:"",[t.j.Embeddings]:"",[t.j.Rerank]:"",[t.j.Decisions]:"",[t.j.TTS]:"",[t.j.Transcription]:""},isActive:{true:"",false:""}},compoundVariants:[{modality:t.j.Text,isActive:!0,class:"text-modality-text"},{modality:t.j.Image,isActive:!0,class:"text-modality-image"},{modality:t.j.Audio,isActive:!0,class:"text-modality-audio"},{modality:t.j.Video,isActive:!0,class:"text-modality-video"},{modality:t.j.Embeddings,isActive:!0,class:"text-modality-embeddings"},{modality:t.j.Rerank,isActive:!0,class:"text-modality-rerank"},{modality:t.j.Decisions,isActive:!0,class:"text-modality-rerank"},{modality:t.j.TTS,isActive:!0,class:"text-modality-tts"},{modality:t.j.Transcription,isActive:!0,class:"text-modality-transcription"},{modality:t.j.Text,isActive:!1,class:"group-hover:text-modality-text"},{modality:t.j.Image,isActive:!1,class:"group-hover:text-modality-image"},{modality:t.j.Audio,isActive:!1,class:"group-hover:text-modality-audio"},{modality:t.j.Video,isActive:!1,class:"group-hover:text-modality-video"},{modality:t.j.Embeddings,isActive:!1,class:"group-hover:text-modality-embeddings"},{modality:t.j.Rerank,isActive:!1,class:"group-hover:text-modality-rerank"},{modality:t.j.Decisions,isActive:!1,class:"group-hover:text-modality-rerank"},{modality:t.j.TTS,isActive:!1,class:"group-hover:text-modality-tts"},{modality:t.j.Transcription,isActive:!1,class:"group-hover:text-modality-transcription"}],defaultVariants:{isActive:!0}});e.s(["p",0,i,"i",0,n,"W",0,s])},668883,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(215891),n=e.i(136562),s=e.i(139697),o=e.i(732571),a=e.i(16043);function l(){globalThis.scrollTo({top:0,behavior:"smooth"})}e.s(["ScrollToTopButton",0,function(e){let d,c,u,m,f=(0,r.c)(8),{threshold:p,className:h}=e,g=!function(e){let t,i,n,s,o,l=(0,r.c)(8),[d,c]=(0,a.useState)(!1);l[0]!==e?(t=()=>{c(globalThis.scrollY>e)},l[0]=e,l[1]=t):t=l[1];let u=t;return l[2]!==u?(i=()=>(globalThis.addEventListener("scroll",u),()=>globalThis.removeEventListener("scroll",u)),n=[u],l[2]=u,l[3]=i,l[4]=n):(i=l[3],n=l[4]),(0,a.useEffect)(i,n),l[5]!==u?(s=()=>{u()},o=[u],l[5]=u,l[6]=s,l[7]=o):(s=l[6],o=l[7]),(0,a.useEffect)(s,o),d}(void 0===p?400:p);return f[0]!==h?(d=(0,n.f)("hidden md:flex",h),f[0]=h,f[1]=d):d=f[1],f[2]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)(i.f,{className:"size-5"}),f[2]=c):c=f[2],f[3]!==d?(u=(0,t.jsx)(s.Button,{shape:"pill",variant:"outline",className:d,size:"icon",onClick:l,children:c}),f[3]=d,f[4]=u):u=f[4],f[5]!==g||f[6]!==u?(m=(0,t.jsx)(o.f,{className:"fixed bottom-16 right-16 ease-smooth-out",inClassName:"slide-in-from-bottom-(length:--distance-base) duration-fast",outClassName:"slide-out-to-bottom-(length:--distance-base) duration-quick",hidden:g,children:u}),f[5]=g,f[6]=u,f[7]=m):m=f[7],m}],668883)}]); //# sourceMappingURL=1bjgw2l7ydxws.js.map