(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,838479,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:"m3.75 13.5 10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75Z"}))});e.s(["f",0,r],838479)},371604,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:"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5m-9-6h.008v.008H12v-.008ZM12 15h.008v.008H12V15Zm0 2.25h.008v.008H12v-.008ZM9.75 15h.008v.008H9.75V15Zm0 2.25h.008v.008H9.75v-.008ZM7.5 15h.008v.008H7.5V15Zm0 2.25h.008v.008H7.5v-.008Zm6.75-4.5h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V15Zm0 2.25h.008v.008h-.008v-.008Zm2.25-4.5h.008v.008H16.5v-.008Zm0 2.25h.008v.008H16.5V15Z"}))});e.s(["f",0,r],371604)},922969,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:"M12 6v12m-3-2.818.879.659c1.171.879 3.07.879 4.242 0 1.172-.879 1.172-2.303 0-3.182C13.536 12.219 12.768 12 12 12c-.725 0-1.45-.22-2.003-.659-1.106-.879-1.106-2.303 0-3.182s2.9-.879 4.006 0l.415.33M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))});e.s(["f",0,r],922969)},486704,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:"M21 11.25v8.25a1.5 1.5 0 0 1-1.5 1.5H5.25a1.5 1.5 0 0 1-1.5-1.5v-8.25M12 4.875A2.625 2.625 0 1 0 9.375 7.5H12m0-2.625V7.5m0-2.625A2.625 2.625 0 1 1 14.625 7.5H12m0 0V21m-8.625-9.75h18c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125h-18c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125Z"}))});e.s(["f",0,r],486704)},338749,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:"M12 18v-5.25m0 0a6.01 6.01 0 0 0 1.5-.189m-1.5.189a6.01 6.01 0 0 1-1.5-.189m3.75 7.478a12.06 12.06 0 0 1-4.5 0m3.75 2.383a14.406 14.406 0 0 1-3 0M14.25 18v-.192c0-.983.658-1.823 1.508-2.316a7.5 7.5 0 1 0-7.517 0c.85.493 1.509 1.333 1.509 2.316V18"}))});e.s(["f",0,r],338749)},653432,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:"M6.429 9.75 2.25 12l4.179 2.25m0-4.5 5.571 3 5.571-3m-11.142 0L2.25 7.5 12 2.25l9.75 5.25-4.179 2.25m0 0L21.75 12l-4.179 2.25m0 0 4.179 2.25L12 21.75 2.25 16.5l4.179-2.25m11.142 0-5.571 3-5.571-3"}))});e.s(["f",0,r],653432)},775593,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:"M11.48 3.499a.562.562 0 0 1 1.04 0l2.125 5.111a.563.563 0 0 0 .475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 0 0-.182.557l1.285 5.385a.562.562 0 0 1-.84.61l-4.725-2.885a.562.562 0 0 0-.586 0L6.982 20.54a.562.562 0 0 1-.84-.61l1.285-5.386a.562.562 0 0 0-.182-.557l-4.204-3.602a.562.562 0 0 1 .321-.988l5.518-.442a.563.563 0 0 0 .475-.345L11.48 3.5Z"}))});e.s(["f",0,r],775593)},575731,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",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":r},i),e?t.createElement("title",{id:r},e):null,t.createElement("path",{fillRule:"evenodd",d:"M10.788 3.21c.448-1.077 1.976-1.077 2.424 0l2.082 5.006 5.404.434c1.164.093 1.636 1.545.749 2.305l-4.117 3.527 1.257 5.273c.271 1.136-.964 2.033-1.96 1.425L12 18.354 7.373 21.18c-.996.608-2.231-.29-1.96-1.425l1.257-5.273-4.117-3.527c-.887-.76-.415-2.212.749-2.305l5.404-.434 2.082-5.005Z",clipRule:"evenodd"}))});e.s(["f",0,r],575731)},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)},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)},747236,e=>{"use strict";var t=e.i(651681);let r={name:"shield-check",size:24,node:[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]};r.node;let i=(0,t.f)(r);e.s(["f",0,i])},110513,e=>{"use strict";var t=e.i(747236);e.s(["f",()=>t.f])},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)},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)},579841,e=>{"use strict";var t=e.i(667417);let r=new Set([t.j.Embeddings,t.j.Rerank,t.j.Decisions,t.j.TTS,t.j.Transcription]);t.j.Embeddings,t.j.Rerank,t.j.Decisions;let i=new Set([t.j.Text,t.j.Image]);function n(e){return 0===e.length||e.some(e=>i.has(e))&&!e.some(e=>r.has(e))}function a(e){return e.includes(t.j.Video)&&!n(e)}e.s(["l",0,function(e){return 0===e.output_modalities.length?e.has_text_output:e.output_modalities.includes(t.j.Text)},"L",0,function(e){return n(e)||a(e)},"a",0,n,"W",0,a])},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 a=(e,i)=>{let n=e.split(r.q).slice(1),a=[];for(let e of n)(0,t.q)(e,i)&&a.push(e);return a},s={Nitro:r.B.Nitro,Floor:r.B.Floor,Exacto:r.B.Exacto},l={[s.Nitro]:i.f.Throughput,[s.Floor]:i.f.Price,[s.Exacto]:i.f.Exacto};e.s(["P",0,l,"K",0,s,"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=a(e,r.B)).length>0?i:[r.e.All]).findLast(e=>(0,t.q)(e,s))},"z",0,e=>a(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""}}])},706792,e=>{"use strict";var t=e.i(140691);let r={Token:"token",Unit:"unit",Schedule:"schedule"};r.Token,r.Token,r.Unit,r.Token,r.Token,r.Token,r.Token,r.Token,r.Token,r.Token,r.Token,r.Token,r.Unit;let i=["Image Input","Input Image"],n=["Image Output","Output Image"];e.s(["H",0,r,"T",0,function(e){let t=e.filter(e=>e.kind===r.Token),a=t.find(e=>"Input Price"===e.sku_label),s=t.find(e=>"Output Price"===e.sku_label),l=t.find(e=>{var t;return t=e.sku_label,n.includes(t)}),o=t.find(e=>{var t;return t=e.sku_label,i.includes(t)})??a;return o&&l?{media:"image",inputItem:o,outputItem:l}:a&&s?{media:"text",inputItem:a,outputItem:s}:void 0},"U",0,function(e){let i=e.filter(e=>e.kind===r.Unit&&!0!==e.isServerTool),n=i[0];if(!n)return;let a=void 0!==n.tiers&&n.tiers.length>1,s=a||i.length>1;if(a){let e=(0,t.I)(1/0),r=n.price;for(let i of n.tiers){let n=(0,t.I)(i.price);n.gt(0)&&n.lt(e)&&(e=n,r=i.price)}return{price:r,displayMultiplier:n.displayMultiplier,unitLabel:n.unitLabel,hasDetails:s}}return{price:n.price,displayMultiplier:n.displayMultiplier,unitLabel:n.unitLabel,hasDetails:s}}])},615199,e=>{"use strict";e.s(["b",0,{SelfAttested:"self_attested",Reviewed:"reviewed"},"x",0,{User:"user",Org:"org"},"$",0,{Age18Plus:"age_18plus",PrivilegedModelAccess:"privileged_model_access"}])},894868,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(136562),n=e.i(829622),a=e.i(722841),s=e.i(987457);e.s(["f",0,function(e){let l,o,c,u,d,m,f,p=(0,r.c)(25),{author:h,permaslug:g,iconUri:v,className:x,frame:b,frameRingClassName:k,bare:j}=e,w=void 0!==b&&b,y=void 0!==j&&j;if(p[0]!==h||p[1]!==y||p[2]!==x||p[3]!==w||p[4]!==k||p[5]!==v||p[6]!==g){d=Symbol.for("react.early_return_sentinel");e:{if(o=null==g?(0,a.$)(h,v):(0,a.h)({permaslug:g,author:h,iconUri:v}),y){let e;p[12]!==x?(e=(0,i.f)("flex size-6 shrink-0 items-center justify-center","[&_img]:object-contain",x),p[12]=x,p[13]=e):e=p[13],d=(0,t.jsx)("div",{className:e,children:(0,t.jsx)(n.RemoteFavicon,{className:(0,i.f)("size-full overflow-hidden",o?.className),faviconFor:h,imgSrc:o.url,imgSrcDark:o.darkUrl,size:256})});break e}if(w){d=(0,t.jsx)(s.f,{className:x,ringClassName:k,children:(0,t.jsx)(n.RemoteFavicon,{className:(0,i.f)("size-full",o?.className),faviconFor:h,imgSrc:o.url,imgSrcDark:o.darkUrl,size:256})});break e}p[14]!==x?(u=(0,i.f)("flex items-center justify-center","size-6 shrink-0 rounded-full border","bg-background p-1",x),p[14]=x,p[15]=u):u=p[15],l=n.RemoteFavicon,c=(0,i.f)("overflow-hidden rounded-full",o?.className)}p[0]=h,p[1]=y,p[2]=x,p[3]=w,p[4]=k,p[5]=v,p[6]=g,p[7]=l,p[8]=o,p[9]=c,p[10]=u,p[11]=d}else l=p[7],o=p[8],c=p[9],u=p[10],d=p[11];return d!==Symbol.for("react.early_return_sentinel")?d:(p[16]!==l||p[17]!==h||p[18]!==o.darkUrl||p[19]!==o.url||p[20]!==c?(m=(0,t.jsx)(l,{className:c,faviconFor:h,imgSrc:o.url,imgSrcDark:o.darkUrl,size:256}),p[16]=l,p[17]=h,p[18]=o.darkUrl,p[19]=o.url,p[20]=c,p[21]=m):m=p[21],p[22]!==u||p[23]!==m?(f=(0,t.jsx)("div",{className:u,children:m}),p[22]=u,p[23]=m,p[24]=f):f=p[24],f)}])},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,a,s,l,o,c,u=(0,r.c)(15),{children:d,className:m,variant:f,decorative:p,ringClassName:h}=e,g=void 0!==p&&p||void 0;u[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),u[0]=m,u[1]=n):n=u[1],u[2]===Symbol.for("react.memo_cache_sentinel")?(a=(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"),u[2]=a):a=u[2],u[3]!==d?(s=(0,t.jsx)("div",{className:a,children:d}),u[3]=d,u[4]=s):s=u[4];let v="app"===(void 0===f?"default":f)&&"dark:inset-px dark:ring-white";return u[5]!==h||u[6]!==v?(l=(0,i.f)("pointer-events-none absolute inset-0 rounded-[inherit] ring-1 ring-inset ring-border/60",v,h),u[5]=h,u[6]=v,u[7]=l):l=u[7],u[8]!==l?(o=(0,t.jsx)("div",{"aria-hidden":!0,className:l}),u[8]=l,u[9]=o):o=u[9],u[10]!==g||u[11]!==n||u[12]!==s||u[13]!==o?(c=(0,t.jsxs)("div",{"aria-hidden":g,className:n,children:[s,o]}),u[10]=g,u[11]=n,u[12]=s,u[13]=o,u[14]=c):c=u[14],c}])},722841,e=>{"use strict";var t=e.i(51365);let r=[["microsoft/mai-",(0,t.r)("MAI.png")]];var i=e.i(771271);function n(e){return e.toLowerCase()}let a=new Map([[n(i.R.OpenAI),{url:(0,t.r)("OpenAI.svg"),className:"dark:invert"}],[n(i.R.Perplexity),{url:(0,t.r)("Perplexity.png")}],[n(i.R.Poolside),{url:(0,t.r)("poolside-logomark-solid-color.svg")}],[n(i.R.Perceptron),{url:(0,t.e)("https://www.perceptron.inc")}],["voyageai",{url:(0,t.e)("https://www.voyageai.com")}],[n(i.R.GoogleAIStudio),{url:(0,t.r)("GoogleAIStudio.svg")}],[n(i.R.Anthropic),{url:(0,t.r)("Anthropic.svg")}],[n(i.R.ClaudeOnAws),{url:(0,t.r)("Anthropic.svg")}],[n(i.R.Cohere),{url:(0,t.r)("Cohere.png")}],[n(i.R.Deepgram),{url:(0,t.r)("Deepgram.svg"),className:"dark:invert"}],[n(i.R.DeepSeek),{url:(0,t.r)("DeepSeek.png")}],[n(i.R.Together),{url:(0,t.e)("https://www.together.ai/")}],[n(i.R.Infermatic),{url:(0,t.e)("https://infermatic.ai/")}],[n(i.R.HuggingFace),{url:(0,t.e)("https://huggingface.co/")}],[n(i.R.Unbiased),{url:(0,t.r)("Unbiased.png")}],[n(i.R.AI21),{url:(0,t.e)("https://ai21.com/")}],[n(i.R.Featherless),{url:(0,t.e)("https://featherless.ai/")}],[n(i.R.Reflection),{url:(0,t.e)("https://railway.app/")}],[n(i.R.Inflection),{url:(0,t.e)("https://inflection.ai/")}],[n(i.R.Minimax),{url:(0,t.e)("https://minimaxi.com/")}],[n(i.R.Liquid),{url:(0,t.r)("Liquid.png"),className:"dark:invert"}],[n(i.R.Inception),{url:(0,t.r)("Inception.svg"),className:"dark:invert"}],[n(i.R.Relace),{url:(0,t.e)("https://www.relace.ai")}],[n(i.R.Sourceful),{url:(0,t.e)("https://www.sourceful.com/")}],[n(i.R.Speechify),{url:(0,t.e)("https://speechify.ai/")}],[n(i.R.BytePlus),{url:(0,t.e)("https://www.byteplus.com")}],[n(i.R.Xiaomi),{url:(0,t.e)("https://www.mi.com")}],["arcee-ai",{url:(0,t.e)("https://www.arcee.ai")}],[n(i.R.AssemblyAI),{url:(0,t.e)("https://www.assemblyai.com/")}],["fish-audio",{url:(0,t.e)("https://fish.audio/")}],[n(i.R.ElevenLabs),{url:(0,t.e)("https://elevenlabs.io/"),className:"dark:invert"}],["z-ai",{url:(0,t.e)("https://z.ai/"),className:"dark:invert"}],["moonshotai",{url:(0,t.r)("MoonshotAI.png")}],["morph",{url:(0,t.e)("https://morphllm.com")}],[n(i.R.TypeSafe),{url:(0,t.e)("https://typesafe.ai")}],["qwen",{url:(0,t.r)("Qwen.png")}],["google",{url:(0,t.r)("GoogleGemini.svg")}],["microsoft",{url:(0,t.r)("Microsoft.svg")}],["nousresearch",{url:(0,t.e)("https://nousresearch.com/")}],["nvidia",{url:(0,t.e)("https://nvidia.com/")}],["meta-llama",{url:(0,t.r)("Meta.png")}],["meta",{url:(0,t.r)("Meta.png")}],["databricks",{url:(0,t.e)("https://databricks.com/")}],["openrouter",{url:(0,t.r)("openrouter-glyph-light.svg"),darkUrl:(0,t.r)("openrouter-glyph-dark.svg")}],["mistralai",{url:(0,t.r)("Mistral.png")}],["x-ai",{url:(0,t.e)("https://x.ai/")}],["amazon",{url:(0,t.e)("https://nova.amazon.com/")}],["aion-labs",{url:(0,t.e)("https://www.aionlabs.ai/")}],["allenai",{url:(0,t.e)("https://allenai.org/")}],["switchpoint",{url:(0,t.e)("https://switchpoint.dev/")}],["thedrummer",{url:(0,t.r)("TheDrummer.png")}],["deepcogito",{url:(0,t.e)("https://www.deepcogito.com/")}],["baidu",{url:(0,t.e)("https://www.baidu.com/")}],["kwaipilot",{url:(0,t.r)("Kwaipilot.png")}],["kwaivgi",{url:(0,t.r)("KlingAI.png")}],["black-forest-labs",{url:(0,t.e)("https://bfl.ai")}],["prime-intellect",{url:(0,t.e)("https://www.primeintellect.ai/")}],["primeintellect",{url:(0,t.e)("https://www.primeintellect.ai/")}],["essentialai",{url:(0,t.e)("https://www.essential.ai/")}],["bytedance-seed",{url:(0,t.e)("https://seed.bytedance.com/")}],[n(i.R.Seed),{url:(0,t.e)("https://seed.bytedance.com/")}],["writer",{url:(0,t.e)("https://writer.com/"),className:"dark:invert"}],["stepfun",{url:(0,t.e)("https://platform.stepfun.ai/")}],["stepfun-ai",{url:(0,t.e)("https://platform.stepfun.ai/")}],[n(i.R.Recraft),{url:(0,t.r)("Recraft.svg"),className:"dark:invert"}],["bytedance",{url:(0,t.e)("https://seed.bytedance.com/")}],["alibaba",{url:(0,t.e)("https://www.alibabacloud.com")}],["inclusionai",{url:(0,t.e)("https://www.inclusion-ai.org/")}],["tencent",{url:(0,t.r)("Tencent.png")}],["ibm-granite",{url:(0,t.r)("IBMGranite.svg"),className:"dark:invert"}],["nex-agi",{url:(0,t.r)("NexAGI.svg"),className:"dark:invert"}],[n(i.R.Unbiased),{url:(0,t.r)("Unbiased.png")}],["apodex",{url:(0,t.r)("Apodex.svg"),darkUrl:(0,t.r)("Apodex-dark.svg")}],["elorian",{url:(0,t.r)("Elorian.svg"),darkUrl:(0,t.r)("Elorian-dark.svg")}],["xingchen-agi",{url:(0,t.r)("XingChen-Shield.png")}],["prism-ml",{url:(0,t.r)("PrismML.svg"),darkUrl:(0,t.r)("PrismML-dark.svg")}],["thinkingmachines",{url:(0,t.e)("https://thinkingmachines.ai/")}],["sakana",{url:(0,t.e)("https://sakana.ai")}],[n(i.R.HeyGen),{url:(0,t.e)("https://heygen.com")}],["zyphra",{url:(0,t.r)("Zyphra.svg"),className:"dark:invert"}],["sesame",{url:(0,t.e)("https://www.sesame.com")}],["canopylabs",{url:(0,t.e)("https://canopylabs.ai"),className:"dark:invert"}],["hexgrad",{url:(0,t.r)("Hexgrad.png")}],[n(i.R.Krea),{url:(0,t.e)("https://www.krea.ai")}],[n(i.R.Runway),{url:(0,t.e)("https://runwayml.com")}],[n(i.R.Upstage),{url:(0,t.e)("https://www.upstage.ai/")}],[n(i.R.Fireworks),{url:(0,t.e)("https://fireworks.ai")}],["stealth",{url:(0,t.r)("Stealth.svg"),className:"invert-0 dark:invert"}],[n(i.R.Recursive),{url:(0,t.r)("Recursive.svg"),className:"dark:invert"}],["ricursiveai",{url:(0,t.r)("RicursiveAI.svg"),darkUrl:(0,t.r)("RicursiveAI-dark.svg")}]]),s=/^\/(?![/\\])/u,l=/^data:image\//iu;function o(e,r){var i;let n=a.get(e.toLowerCase());return r&&(!r.startsWith("data:")||l.test(r))?(i=n?.className,s.test(r)||l.test(r)?{url:r}:r.startsWith("//")?{url:(0,t.e)(`https:${r}`)}:r.startsWith("http")?{url:(0,t.e)(r)}:{url:(0,t.r)(r),className:i}):n??{url:t.t}}e.s(["$",0,o,"h",0,function({permaslug:e,author:t,iconUri:i}){let n,a=(n=e.toLowerCase().replace(/^~/u,""),r.find(([e])=>n.startsWith(e))?.[1]??null);return null!==a?{url:a}:o(t,i)}],722841)},829622,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(214051),n=e.i(51365),a=e.i(288265),s=e.i(16043);e.s(["RemoteFavicon",0,function(e){let l,o,c,u,d,m,f,p,h,g,v,x,b,k=(0,r.c)(55),j=(0,a.f)(),[w,y]=(0,s.useState)(null),[_,N]=(0,s.useState)(null),[S,T]=(0,s.useState)(!1),[L,M]=(0,s.useState)(!1),R=e.size||256;k[0]!==S||k[1]!==L||k[2]!==e.curatedIconAppId||k[3]!==e.faviconFor||k[4]!==e.imgSrc||k[5]!==R?(l=function({faviconFor:e,size:t,didCuratedIconFail:r,didSiteIconFail:i,curatedIconAppId:a,imgSrc:s}){if(s)return{source:"given",src:s};if(void 0!==a&&(0,n.Q)(e)&&!r)return{source:"curated",src:(0,n.$)(e)?e:(0,n.g)(a)};let l=i?(0,n.Z)(e):null;return null!==l?{source:"parent-site",src:(0,n.e)(l,t)}:{source:"site",src:(0,n.e)(e,t)}}({faviconFor:e.faviconFor,size:R,didCuratedIconFail:S,didSiteIconFail:L,curatedIconAppId:e.curatedIconAppId,imgSrc:e.imgSrc}),k[0]=S,k[1]=L,k[2]=e.curatedIconAppId,k[3]=e.faviconFor,k[4]=e.imgSrc,k[5]=R,k[6]=l):l=k[6];let{source:E,src:I}=l;k[7]!==e.faviconFor||k[8]!==R||k[9]!==E?(o=t=>{"site"!==E||R<=16||t>16||null!==(0,n.Z)(e.faviconFor)&&M(!0)},k[7]=e.faviconFor,k[8]=R,k[9]=E,k[10]=o):o=k[10];let A=o;k[11]!==e.faviconFor||k[12]!==E?(c=t=>{switch(E){case"curated":if((0,n.$)(e.faviconFor))return void y(t);T(!0);return;case"site":if(null===(0,n.Z)(e.faviconFor))return void y(t);M(!0);return;case"given":case"parent-site":return void y(t);default:y(t)}},k[11]=e.faviconFor,k[12]=E,k[13]=c):c=k[13];let z=c;k[14]===Symbol.for("react.memo_cache_sentinel")?(u=()=>{y(null)},k[14]=u):u=k[14],k[15]!==I?(d=[I],k[15]=I,k[16]=d):d=k[16],(0,s.useEffect)(u,d),k[17]===Symbol.for("react.memo_cache_sentinel")?(m=()=>{T(!1),M(!1)},k[17]=m):m=k[17],k[18]!==e.curatedIconAppId||k[19]!==e.faviconFor||k[20]!==e.imgSrc||k[21]!==R?(f=[e.faviconFor,e.curatedIconAppId,e.imgSrc,R],k[18]=e.curatedIconAppId,k[19]=e.faviconFor,k[20]=e.imgSrc,k[21]=R,k[22]=f):f=k[22],(0,s.useEffect)(m,f),k[23]===Symbol.for("react.memo_cache_sentinel")?(p=()=>{N(null)},k[23]=p):p=k[23],k[24]!==e.imgSrcDark?(h=[e.imgSrcDark],k[24]=e.imgSrcDark,k[25]=h):h=k[25],(0,s.useEffect)(p,h),k[26]!==j||k[27]!==e.faviconFor?(g=j("Favicon for {faviconFor}",{faviconFor:e.faviconFor}),k[26]=j,k[27]=e.faviconFor,k[28]=g):g=k[28],k[29]!==R||k[30]!==g?(v={width:R,height:R,alt:g,className:"h-full w-full object-cover"},k[29]=R,k[30]=g,k[31]=v):v=k[31];let C=v;if(e.imgSrcDark){let r,n,a;return k[32]!==w||k[33]!==C||k[34]!==z||k[35]!==A||k[36]!==I?(r=(0,t.jsx)("span",{className:"block h-full w-full shrink-0 dark:hidden",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",{...C,src:I,onError:e=>z(e.toString()),onLoad:e=>A(e.currentTarget.naturalWidth)})}),k[32]=w,k[33]=C,k[34]=z,k[35]=A,k[36]=I,k[37]=r):r=k[37],k[38]!==_||k[39]!==C||k[40]!==e.imgSrcDark?(n=(0,t.jsx)("span",{className:"hidden h-full w-full shrink-0 dark:block",children:_?(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",{...C,src:e.imgSrcDark,onError:e=>N(e.toString())})}),k[38]=_,k[39]=C,k[40]=e.imgSrcDark,k[41]=n):n=k[41],k[42]!==e.className||k[43]!==r||k[44]!==n?(a=(0,t.jsxs)("div",{className:e.className,children:[r,n]}),k[42]=e.className,k[43]=r,k[44]=n,k[45]=a):a=k[45],a}return k[46]!==w||k[47]!==C||k[48]!==z||k[49]!==A||k[50]!==I?(x=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)("picture",{className:"h-full w-full shrink-0",children:(0,t.jsx)("img",{...C,src:I,loading:"lazy",decoding:"async",onError:e=>z(e.toString()),onLoad:e=>A(e.currentTarget.naturalWidth)})}),k[46]=w,k[47]=C,k[48]=z,k[49]=A,k[50]=I,k[51]=x):x=k[51],k[52]!==e.className||k[53]!==x?(b=(0,t.jsx)("div",{className:e.className,children:x}),k[52]=e.className,k[53]=x,k[54]=b):b=k[54],b}])},388114,e=>{"use strict";var t=e.i(663456),r=e.i(16043);e.s(["f",0,function(){let e,i,n=(0,t.c)(3),[a,s]=(0,r.useState)(!1);n[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{s(!0)},n[0]=e):e=n[0];let l=e,o=!!a&&"viewport";return n[1]!==o?(i={onFocus:l,onMouseEnter:l,onTouchStart:l,prefetch:o},n[1]=o,n[2]=i):i=n[2],i}])},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])},280819,e=>{"use strict";var t=e.i(668379),r=e.i(988590),i=e.i(387086);let n={[t.f.Programming]:(0,i.b)("Programming"),[t.f.Roleplay]:(0,i.b)("Roleplay"),[t.f.Marketing]:(0,i.b)("Marketing"),[t.f.MarketingSeo]:(0,i.b)("SEO"),[t.f.Technology]:(0,i.b)("Technology"),[t.f.Science]:(0,i.b)("Science"),[t.f.Translation]:(0,i.b)("Translation"),[t.f.Legal]:(0,i.b)("Legal"),[t.f.Finance]:(0,i.b)("Finance"),[t.f.Health]:(0,i.b)("Health"),[t.f.Trivia]:(0,i.b)("Trivia"),[t.f.Academia]:(0,i.b)("Academia")};e.s(["f",0,function(e){return(0,r.q)(e,t.f)?n[e]:"all"===e?(0,i.b)("All"):"other"===e?(0,i.b)("Other"):(0,i.b)("Unknown")}])},503741,e=>{"use strict";var t=e.i(989487),r=e.i(960773);e.s(["m",0,"v3","D",0,{Playground:"model_page_playground",SidePanelSeed:"model_page_sidepanel_seed",PlaygroundSection:"model_page_playground_section"},"O",0,function(e){let i=Object.fromEntries(Object.entries(e).map(([e,r])=>[(0,t.h)(e),r]));r.j.capture("playground_v3:fetch_responses",i)}])},369214,e=>{"use strict";var t=e.i(667417);let r=[t.j.Image,t.j.Video];e.s(["f",0,r])},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,a=r("https://huggingface.co/");e.s(["t",0,a,"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 a=n.join(".");return[...i].some(e=>a===e||a.endsWith(`.${e}`))?null:`https://${a}`},"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)},668379,e=>{"use strict";var t,r=e.i(989487);e.i(988590);var i=((t={}).Programming="programming",t.Roleplay="roleplay",t.Marketing="marketing",t.MarketingSeo="marketing/seo",t.Technology="technology",t.Science="science",t.Translation="translation",t.Legal="legal",t.Finance="finance",t.Health="health",t.Trivia="trivia",t.Academia="academia",t);Object.values(i).reduce((e,t)=>(e[t]="marketing/seo"===t?"SEO":(0,r.F)(t),e),{}),e.s(["f",()=>i])},989487,e=>{"use strict";let t=/(?<=[\p{Ll}\d])(?=\p{Lu})|(?<=\p{Lu})(?=\p{Lu}\p{Ll})/u,r=/(?<=[\p{Ll}\d])(?=\p{Lu})|(?<=\p{Lu})(?=\p{Lu}\p{Ll})|(?<=\d)(?=\p{Ll})|(?<=\p{L})(?=\d)/u;function i(e,{style:n,options:a={}}){let s=0,l=e.length;for(;ss&&a.suffixCharacters?.includes(e.charAt(l-1));)l--;let o=(a.split??(e=>(function(e,i){let n=e.match(/[\p{L}\d]+/giu);if(null===n)return[];let a=i?r:t;if(1===n.length)return n[0].split(a);let s=[];for(let e of n)for(let t of e.split(a))s.push(t);return s})(e,a.separateNumbers)))(e.slice(s,l)),c=a.locale,u=a.locale,d=!1===c?e=>e.toLowerCase():e=>e.toLocaleLowerCase(c),m=!1===u?e=>e.toUpperCase():e=>e.toLocaleUpperCase(u),f="camel"===n||"pascal"===n,p=(e,t)=>{let r=e[0];return(f&&!a.mergeAmbiguousCharacters&&t>0&&/^[0-9]$/.test(r)?"_":"")+m(r)+d(e.slice(1))},h=p;"lower"===n&&(h=d),"camel"===n&&(h=(e,t)=>0===t?d(e):p(e,t)),"sentence"===n&&(h=(e,t)=>0===t?p(e,t):d(e));let g=o.map(h);return e.slice(0,s)+g.join(a.delimiter??(f?"":" "))+e.slice(l)}e.s(["j",0,function(e,t){return i(e,{style:"capital",options:t})},"O",0,function(e,t){return i(e,{style:"lower",options:{delimiter:"-",...t}})},"F",0,function(e,t){return i(e,{style:"sentence",options:t})},"h",0,function(e,t){return i(e,{style:"lower",options:{delimiter:"_",...t}})}])},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=o(t);if(r)return n(r);if(a(t)){let e=Number.parseInt(t.split(".")[0]??"",10);return 0===e||127===e}let i=s(t);if(i)return i.slice(0,15).every(e=>0===e)&&(0===i[15]||1===i[15]);let l=c(t);return"localhost"===l||l.endsWith(".localhost")||l.includes(":")}function a(e){let t=e.split(".");return 4===t.length&&t.every(e=>/^\d{1,3}$/.test(e)&&Number(e)>=0&&255>=Number(e))}function s(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(!a(r))return null;let i=r.split(".").map(Number),n=(i[0]??0)<<8|(i[1]??0),s=(i[2]??0)<<8|(i[3]??0);t=`${t.slice(0,e+1)}${n.toString(16)}:${s.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(":"),a=""===i?[]:i.split(":");if(n.some(e=>""===e)||a.some(e=>""===e))return null;let s=8-n.length-a.length;return s<1?null:[...n,...Array.from({length:s},()=>"0"),...a]}(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 l(e){return 254===e[0]&&((e[1]??0)&192)==128}function o(e){let t=s(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 c(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=c(e);return"cfargotunnel.com"===t||t.endsWith(".cfargotunnel.com")},"y",0,n,"r",0,function(e){let t=c(e);return"openrouter.ai"===t||t.endsWith(".openrouter.ai")},"E",0,function(e,t={}){let u,d,m,f;try{u=new URL(e)}catch{return(0,r.Y)("Invalid URL format")}let p=u.hostname.toLowerCase(),h=u.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=o(t.replaceAll(/^\[|\]$/g,""));if(r)return e(r)||n(r);if(a(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!==s(t)){let e=s(t);return null!==e&&(((e[0]??0)&254)==252||l(e))}return!1}(p))return(0,r.Y)("Private IP addresses are not allowed");if(function(e){if(a(e)){let t=e.split(".").map(Number);if(4===t.length&&169===t[0]&&254===t[1])return!0}if(null!==s(e)){let t=s(e);return null!==t&&l(t)}return!1}(p)||"metadata.google.internal"===(d=c(p))||d.endsWith(".metadata.google.internal")||(m=c(p)).endsWith(".svc")||m.endsWith(".svc.cluster.local")||m.endsWith(".cluster.local")||(f=c(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),a=((r={}).Text="text",r.Image="image",r.File="file",r.Audio="audio",r.Video="video",r);let s=(0,i.v)(a),l=(0,i.v)(n);e.s(["v",0,s,"D",()=>a,"Z",0,l,"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])},626961,906197,487481,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(277582),n=e.i(136562),a=e.i(751155),s=e.i(138257);e.i(707060);var l=e.i(300326),o=e.i(196991),c=e.i(153746),u=e.i(916998),d=e.i(690387),m=e.i(294241);let f=e=>{let i,n,a=(0,r.c)(3),{children:s}=e;return a[0]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)("span",{className:"h-3 border-l"}),a[0]=i):i=a[0],a[1]!==s?(n=(0,t.jsxs)(t.Fragment,{children:[i,(0,t.jsx)("span",{children:s})]}),a[1]=s,a[2]=n):n=a[2],n},p=e=>{let i,a,s=(0,r.c)(3),{children:l}=e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(i=(0,n.f)("border-l","mb-2 w-1/2 px-2 sm:w-1/3","lg:mt-0 lg:w-auto"),s[0]=i):i=s[0],s[1]!==l?(a=(0,t.jsx)("span",{className:i,children:l}),s[1]=l,s[2]=a):a=s[2],a};function h(e){let n,a,s=(0,r.c)(5),{discount:l,Wrapper:o,showDiscount:c}=e;return c&&(0,i.i)(l)?(s[0]!==l?(n=(0,t.jsx)(u.f,{discount:l,variant:"subdued"}),s[0]=l,s[1]=n):n=s[1],s[2]!==o||s[3]!==n?(a=(0,t.jsx)(o,{children:n}),s[2]=o,s[3]=n,s[4]=a):a=s[4],a):null}function g(e){let i,a,s,u,d,m,f=(0,r.c)(14),{unit:p,direction:h,variant:g}=e;f[0]!==p?(i=p.endsWith(" tokens")?p.slice(0,-7):p,f[0]=p,f[1]=i):i=f[1];let v=i;f[2]!==v?(a=(0,t.jsx)(c.d,{children:v}),f[2]=v,f[3]=a):a=f[3],f[4]!==h?(s=(0,t.jsx)(l.f,{branch:h,input:"input",output:"output"}),f[4]=h,f[5]=s):s=f[5];let x="list"===g&&"hidden md:above-phone:inline";return f[6]!==x?(u=(0,n.f)(x),f[6]=x,f[7]=u):u=f[7],f[8]!==u?(d=(0,t.jsx)("span",{className:u,children:"tokens"}),f[8]=u,f[9]=d):d=f[9],f[10]!==a||f[11]!==s||f[12]!==d?(m=(0,t.jsxs)(o.T,{children:[a," ",s," ",d]}),f[10]=a,f[11]=s,f[12]=d,f[13]=m):m=f[13],m}e.s(["f",0,function(e){let i,l=(0,r.c)(37),{displayPricing:o,discount:c,className:u,variant:v,showDiscount:x}=e,b=void 0===v?"list":v,k=void 0===x||x,j=(0,s.useLocale)(),w="detail"===b?p:f;if(l[0]!==w||l[1]!==u||l[2]!==c||l[3]!==o||l[4]!==j||l[5]!==k||l[6]!==b){i=Symbol.for("react.early_return_sentinel");e:{let e=(0,d.J)(j,o);if(!e){i=null;break e}switch(e.kind){case"standard-tokens":{let r;l[8]!==w||l[9]!==c||l[10]!==k?(r=(0,t.jsx)(h,{discount:c,Wrapper:w,showDiscount:k}),l[8]=w,l[9]=c,l[10]=k,l[11]=r):r=l[11],i=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(w,{children:[e.inputPrice,(0,t.jsx)(g,{unit:e.inputUnit,direction:"input",variant:b})]}),(0,t.jsxs)(w,{children:[e.outputPrice,(0,t.jsx)(g,{unit:e.outputUnit,direction:"output",variant:b})]}),r]});break e}case"custom":{let r,s,d,f,p,g=(0,t.jsx)("span",{className:(0,n.f)(e.hasDetails&&"underline decoration-dotted underline-offset-2 cursor-help",u),children:e.label});if(!e.hasDetails){let e,r,n;l[12]!==w||l[13]!==g?(e=(0,t.jsx)(w,{children:g}),l[12]=w,l[13]=g,l[14]=e):e=l[14],l[15]!==w||l[16]!==c||l[17]!==k?(r=(0,t.jsx)(h,{discount:c,Wrapper:w,showDiscount:k}),l[15]=w,l[16]=c,l[17]=k,l[18]=r):r=l[18],l[19]!==e||l[20]!==r?(n=(0,t.jsxs)(t.Fragment,{children:[e,r]}),l[19]=e,l[20]=r,l[21]=n):n=l[21],i=n;break e}l[22]!==o?(r=(0,t.jsx)(m.f,{items:o}),l[22]=o,l[23]=r):r=l[23],l[24]!==g||l[25]!==r?(s=(0,t.jsx)(a.Tooltip,{side:"bottom",content:r,children:g}),l[24]=g,l[25]=r,l[26]=s):s=l[26],l[27]!==w||l[28]!==s?(d=(0,t.jsx)(w,{children:s}),l[27]=w,l[28]=s,l[29]=d):d=l[29],l[30]!==w||l[31]!==c||l[32]!==k?(f=(0,t.jsx)(h,{discount:c,Wrapper:w,showDiscount:k}),l[30]=w,l[31]=c,l[32]=k,l[33]=f):f=l[33],l[34]!==d||l[35]!==f?(p=(0,t.jsxs)(t.Fragment,{children:[d,f]}),l[34]=d,l[35]=f,l[36]=p):p=l[36],i=p;break e}default:i=null;break e}}l[0]=w,l[1]=u,l[2]=c,l[3]=o,l[4]=j,l[5]=k,l[6]=b,l[7]=i}else i=l[7];if(i!==Symbol.for("react.early_return_sentinel"))return i}],626961);var v=e.i(782143),x=e.i(493630);e.s(["f",0,function(e){let i,n,a,s=(0,r.c)(6),{contextLength:l,locale:u}=e;if(null===l||!(l>0))return null;s[0]!==l||s[1]!==u?(i=(0,v.f)(l,{locale:u,preset:"compact-rounded-thousands"})??"—",s[0]=l,s[1]=u,s[2]=i):i=s[2];let d=i;return s[3]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)(x.f.FooterDivider,{}),s[3]=n):n=s[3],s[4]!==d?(a=(0,t.jsxs)(t.Fragment,{children:[n,(0,t.jsx)("span",{children:(0,t.jsxs)(o.T,{children:[(0,t.jsx)(c.d,{children:d})," context"]})})]}),s[4]=d,s[5]=a):a=s[5],a}],906197);var b=e.i(16043),k=e.i(668379);let j={all:"bg-foreground",[k.f.Roleplay]:"bg-chart-5",[k.f.Programming]:"bg-chart-6",[k.f.Marketing]:"bg-chart-4",[k.f.MarketingSeo]:"bg-chart-4",[k.f.Technology]:"bg-chart-3",[k.f.Science]:"bg-chart-3",[k.f.Translation]:"bg-chart-2",[k.f.Legal]:"bg-chart-1",[k.f.Finance]:"bg-chart-1",[k.f.Health]:"bg-chart-2",[k.f.Trivia]:"bg-chart-6",[k.f.Academia]:"bg-chart-5"},w=e=>j[e]??"bg-chart-6";var y=e.i(233452),_=e.i(624112),N=e.i(797521),S=e.i(967605),T=e.i(960773),L=e.i(199168),M=e.i(280819);let R=e=>{let i,a,s,l,o,c,u,d,m,f,p,h,g,v=(0,r.c)(33);v[0]!==e?({category:i,rank:l,className:a,hideColor:c,ref:o,...s}=e,v[0]=e,v[1]=i,v[2]=a,v[3]=s,v[4]=l,v[5]=o,v[6]=c):(i=v[1],a=v[2],s=v[3],l=v[4],o=v[5],c=v[6]);let x=void 0!==c&&c,b=(0,L.o)(),k=(0,L.M)();v[7]!==i||v[8]!==b||v[9]!==k?(u="all"===i?b("All Categories"):k((0,M.f)(i)),v[7]=i,v[8]=b,v[9]=k,v[10]=u):u=v[10],v[11]!==i?(d=w(i),v[11]=i,v[12]=d):d=v[12],v[13]!==u||v[14]!==d?(m={name:u,color:d},v[13]=u,v[14]=d,v[15]=m):m=v[15];let j=m;v[16]!==a?(f=(0,n.f)("w-full truncate","flex items-center gap-1",a),v[16]=a,v[17]=f):f=v[17],v[18]!==b||v[19]!==l||v[20]!==j.name?(p=l?b("Ranked at #{rank} in {category} category",{rank:l,category:j.name}):b("View the {category} category",{category:j.name}),v[18]=b,v[19]=l,v[20]=j.name,v[21]=p):p=v[21],v[22]!==x||v[23]!==j.color?(h=!x&&(0,t.jsx)("div",{className:(0,n.f)("size-1.5 shrink-0 rounded-full",j.color)}),v[22]=x,v[23]=j.color,v[24]=h):h=v[24];let y=void 0!==l&&` (#${l})`;return v[25]!==s||v[26]!==o||v[27]!==j.name||v[28]!==f||v[29]!==p||v[30]!==h||v[31]!==y?(g=(0,t.jsxs)("span",{ref:o,className:f,...s,title:p,children:[h,j.name,y]}),v[25]=s,v[26]=o,v[27]=j.name,v[28]=f,v[29]=p,v[30]=h,v[31]=y,v[32]=g):g=v[32],g},E=e=>{let i,a,s,l,o,c,u,d,m,f,p,h,g,v,x,b=(0,r.c)(36);b[0]!==e?({category:i,rank:u,disabled:s,onClick:o,className:a,hideColor:l,basePathname:f,source:m,ref:d,...c}=e,b[0]=e,b[1]=i,b[2]=a,b[3]=s,b[4]=l,b[5]=o,b[6]=c,b[7]=u,b[8]=d,b[9]=m,b[10]=f):(i=b[1],a=b[2],s=b[3],l=b[4],o=b[5],c=b[6],u=b[7],d=b[8],m=b[9],f=b[10]);let k=void 0===f?"/rankings":f,j=(0,T.Q)();b[11]!==k||b[12]!==i||b[13]!==o||b[14]!==j||b[15]!==u||b[16]!==m?(p=e=>{j.capture("click_top_category_rank_chip",{category:i,rank:u??null,base_pathname:k,source:m}),o&&(e.preventDefault(),o(e))},b[11]=k,b[12]=i,b[13]=o,b[14]=j,b[15]=u,b[16]=m,b[17]=p):p=b[17];let w=p,_=s?"secondary":"default",N=s?"true":void 0;return b[18]!==k||b[19]!==s?(h=s?void 0:(0,t.jsx)(S.Link,{href:k}),b[18]=k,b[19]=s,b[20]=h):h=b[20],b[21]!==a?(g=(0,n.f)("shrink-0",a),b[21]=a,b[22]=g):g=b[22],b[23]!==i||b[24]!==l||b[25]!==u?(v=(0,t.jsx)(R,{category:i,rank:u,hideColor:l}),b[23]=i,b[24]=l,b[25]=u,b[26]=v):v=b[26],b[27]!==w||b[28]!==c||b[29]!==d||b[30]!==_||b[31]!==N||b[32]!==h||b[33]!==g||b[34]!==v?(x=(0,t.jsx)(y.Badge,{ref:d,onClick:w,size:"md",variant:_,"aria-current":N,render:h,className:g,...c,children:v}),b[27]=w,b[28]=c,b[29]=d,b[30]=_,b[31]=N,b[32]=h,b[33]=g,b[34]=v,b[35]=x):x=b[35],x};function I(e){let i,n,a,s,l,u,d,m,f,p,h=(0,r.c)(30),{remainingCategories:g,remainingColors:v,basePathname:x,source:k}=e,j=(0,N.f)(),w=g.length,[S,T]=(0,b.useState)(!1);if(h[0]!==S?(i=e=>{e.preventDefault(),T(!S)},h[0]=S,h[1]=i):i=h[1],h[2]!==v?(n=v.map(A),h[2]=v,h[3]=n):n=h[3],h[4]!==n?(a=(0,t.jsx)("div",{className:"relative flex h-full w-fit items-center",children:n}),h[4]=n,h[5]=a):a=h[5],h[6]!==j||h[7]!==w?(s=j.number(w,{preset:"integer"}),h[6]=j,h[7]=w,h[8]=s):s=h[8],h[9]!==s?(l=(0,t.jsx)("span",{className:"ml-3.5",children:(0,t.jsxs)(o.T,{children:["+",(0,t.jsx)(c.d,{children:s})," ","categories"]})}),h[9]=s,h[10]=l):l=h[10],h[11]!==a||h[12]!==l?(u=(0,t.jsx)(y.Badge,{size:"md",className:"min-w-fit",render:(0,t.jsxs)("button",{type:"button",children:[a,l]})}),h[11]=a,h[12]=l,h[13]=u):u=h[13],h[14]!==i||h[15]!==u?(d=(0,t.jsx)(_.J,{onClick:i,render:u}),h[14]=i,h[15]=u,h[16]=d):d=h[16],h[17]!==x||h[18]!==g||h[19]!==k){let e;h[21]!==x||h[22]!==k?(e=e=>(0,t.jsx)(E,{basePathname:x,category:e.category,rank:e.rank,source:k},`${e.model}-${e.category}`),h[21]=x,h[22]=k,h[23]=e):e=h[23],m=g.map(e),h[17]=x,h[18]=g,h[19]=k,h[20]=m}else m=h[20];return h[24]!==m?(f=(0,t.jsx)(_.T,{align:"end",className:"flex w-min flex-wrap gap-1.5 p-2",children:m}),h[24]=m,h[25]=f):f=h[25],h[26]!==S||h[27]!==d||h[28]!==f?(p=(0,t.jsxs)(_.V,{open:S,onOpenChange:T,children:[d,f]}),h[26]=S,h[27]=d,h[28]=f,h[29]=p):p=h[29],p}function A(e,r){return(0,t.jsx)("div",{className:(0,n.f)("size-1.5 rounded-full","absolute ring-1 ring-background left-(--dot-left)",e),style:{"--dot-left":`${3*r}px`}},r)}function z(e){return w(e.category)}e.s(["f",0,function(e){let i,a,s,l,o,c,u,d,m,f,p,h,g,v=(0,r.c)(41),{basePathname:x,categories:k,className:j,source:w}=e,y=void 0===x?"/rankings":x,_=(0,b.useRef)(null),[N,S]=(0,b.useState)(!1);v[0]===Symbol.for("react.memo_cache_sentinel")?(i=()=>{let e=_.current;e&&S(e.scrollWidth-e.scrollLeft-e.clientWidth>1)},v[0]=i):i=v[0];let T=i;v[1]===Symbol.for("react.memo_cache_sentinel")?(a=()=>{let e=_.current;if(!e)return;T();let t=new ResizeObserver(T);return t.observe(e),e.addEventListener("scroll",T,{passive:!0}),()=>{t.disconnect(),e.removeEventListener("scroll",T)}},v[1]=a):a=v[1],v[2]!==k?(s=[T,k],v[2]=k,v[3]=s):s=v[3],(0,b.useEffect)(a,s);if(v[4]!==y||v[5]!==k||v[6]!==j||v[7]!==N||v[8]!==w){let e,r,i=k.slice(0,5);v[15]!==k?(e=(l=k.slice(5)).slice(0,3).map(z),v[15]=k,v[16]=l,v[17]=e):(l=v[16],e=v[17]),o=e,v[18]!==j?(m=(0,n.f)("relative min-w-0 w-full",j),v[18]=j,v[19]=m):m=v[19],c=_;let a=N&&"pr-6";v[20]!==a?(u=(0,n.f)("flex items-center justify-start gap-1.5","overflow-x-auto scrollbar-hide",a),v[20]=a,v[21]=u):u=v[21],v[22]!==y||v[23]!==w?(r=e=>(0,t.jsx)(E,{basePathname:y,category:e.category,rank:e.rank,source:w},`${e.model}-${e.category}`),v[22]=y,v[23]=w,v[24]=r):r=v[24],d=i.map(r),v[4]=y,v[5]=k,v[6]=j,v[7]=N,v[8]=w,v[9]=l,v[10]=o,v[11]=c,v[12]=u,v[13]=d,v[14]=m}else l=v[9],o=v[10],c=v[11],u=v[12],d=v[13],m=v[14];return v[25]!==y||v[26]!==l||v[27]!==o||v[28]!==w?(f=l.length>2&&(0,t.jsx)(I,{basePathname:y,remainingCategories:l,remainingColors:o,source:w}),v[25]=y,v[26]=l,v[27]=o,v[28]=w,v[29]=f):f=v[29],v[30]!==c||v[31]!==u||v[32]!==d||v[33]!==f?(p=(0,t.jsxs)("div",{ref:c,className:u,children:[d,f]}),v[30]=c,v[31]=u,v[32]=d,v[33]=f,v[34]=p):p=v[34],v[35]!==N?(h=N&&(0,t.jsx)("div",{className:(0,n.f)("absolute right-0 top-0","h-full w-6","pointer-events-none bg-gradient-to-r from-transparent to-background")}),v[35]=N,v[36]=h):h=v[36],v[37]!==p||v[38]!==h||v[39]!==m?(g=(0,t.jsxs)("div",{className:m,children:[p,h]}),v[37]=p,v[38]=h,v[39]=m,v[40]=g):g=v[40],g}],487481)},193241,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(340800),n=e.i(153722),a=e.i(134611),s=e.i(277582),l=e.i(233452),o=e.i(328262),c=e.i(954217),u=e.i(388114),d=e.i(138257),m=e.i(808125),f=e.i(199168),p=e.i(572201);e.i(707060);var h=e.i(196991),g=e.i(16043),v=e.i(626961),x=e.i(136562),b=e.i(758427),k=e.i(960773);function j(e){let i,n,a,s,l,o=(0,r.c)(17),{slug:c,className:u,source:d}=e,m=void 0===d?"models_listing":d,p=(0,f.o)(),h=(0,k.Q)();return o[0]!==h||o[1]!==c||o[2]!==m?(i=()=>h.capture("copy_model_slug",{model_slug:c,source:m}),o[0]=h,o[1]=c,o[2]=m,o[3]=i):i=o[3],o[4]!==p||o[5]!==c?(n=p("Copy: {slug}",{slug:c}),o[4]=p,o[5]=c,o[6]=n):n=o[6],o[7]!==p?(a=p("Copy to clipboard"),o[7]=p,o[8]=a):a=o[8],o[9]!==u?(s=(0,x.f)("shrink-0 [&_svg]:!size-3.5",u),o[9]=u,o[10]=s):s=o[10],o[11]!==c||o[12]!==i||o[13]!==n||o[14]!==a||o[15]!==s?(l=(0,t.jsx)(b.f,{text:c,hideCopyText:!0,variant:"ghost",size:"icon-3xs",onClick:w,onCopySuccess:i,title:n,"aria-label":a,tone:"muted",reveal:"hover",className:s}),o[11]=c,o[12]=i,o[13]=n,o[14]=a,o[15]=s,o[16]=l):l=o[16],l}function w(e){return e.stopPropagation()}var y=e.i(725072),_=e.i(143324),N=e.i(906197),S=e.i(493630),T=e.i(487481),L=e.i(545354),M=e.i(706911),R=e.i(615199),E=e.i(751155),I=e.i(797521),A=e.i(110513),z=e.i(117686);function C(e){let i,n,a,s,o,c=(0,r.c)(18),{requiredTypes:u,className:d}=e,m=(0,f.o)(),p=(0,f.M)(),h=(0,I.f)();if(0===u.length)return null;if(c[0]!==h||c[1]!==m||c[2]!==p||c[3]!==u){let e;c[5]!==p?(e=e=>p(z.f[e].label),c[5]=p,c[6]=e):e=c[6],i=m("Requires: {labels}",{labels:h.list(u.map(e))}),c[0]=h,c[1]=m,c[2]=p,c[3]=u,c[4]=i}else i=c[4];let g=i;c[7]!==u?(n=u.includes(R.$.Age18Plus),c[7]=u,c[8]=n):n=c[8];let v=n;return c[9]!==v?(a=v?"18+":(0,t.jsx)(A.f,{className:"size-3","aria-hidden":!0}),c[9]=v,c[10]=a):a=c[10],c[11]!==d||c[12]!==g||c[13]!==a?(s=(0,t.jsx)(l.Badge,{variant:"warning",size:"sm",className:d,"aria-label":g,children:a}),c[11]=d,c[12]=g,c[13]=a,c[14]=s):s=c[14],c[15]!==g||c[16]!==s?(o=(0,t.jsx)(E.Tooltip,{content:g,children:s}),c[15]=g,c[16]=s,c[17]=o):o=c[17],o}var F=e.i(247794),P=e.i(916998),$=e.i(939044),D=e.i(465370),O=e.i(596369),W=e.i(918662),U=e.i(251142);function Z(e){let u,m,x,b,k,w,R,E,I,A,z,F,Z,H,V,Y,G,K,Q,X,J,ee,et,er,ei,en,ea,es,el,eo,ec,eu,ed,em,ef,ep,eh,eg,ev,ex,eb,ek,ej,ew,ey,e_=(0,r.c)(126),{model:eN,description:eS,modelHref:eT,prefetch:eL,isHipaaUiEnabled:eM,shouldShowPinControls:eR,categories:eE,analytics:eI}=e,eA=void 0!==eM&&eM,ez=void 0===eR||eR,eC=(0,d.useLocale)(),eF=(0,f.o)(),eP=(0,g.useRef)(null),[e$,eD]=(0,g.useState)(!1);e_[0]===Symbol.for("react.memo_cache_sentinel")?(u=()=>{let e=eP.current;e&&eD(e.scrollWidth-e.scrollLeft-e.clientWidth>1)},e_[0]=u):u=e_[0];let eO=u;e_[1]===Symbol.for("react.memo_cache_sentinel")?(m=()=>{let e=eP.current;if(!e)return;eO();let t=new ResizeObserver(eO);return t.observe(e),e.addEventListener("scroll",eO,{passive:!0}),()=>{t.disconnect(),e.removeEventListener("scroll",eO)}},x=[eO],e_[1]=m,e_[2]=x):(m=e_[1],x=e_[2]),(0,g.useEffect)(m,x),e_[3]!==eN?(b=(0,a.Q)(eN),e_[3]=eN,e_[4]=b):b=e_[4];let eW=b,eU=eE?.[eW];e_[5]!==eN?(k=(0,_.n)(eN),e_[5]=eN,e_[6]=k):k=e_[6];let eZ=k,eH=eI?.[eW];e_[7]!==eF||e_[8]!==eC||e_[9]!==eN.output_modalities||e_[10]!==eH?(w=(0,y.L)(eC,{outputModalities:eN.output_modalities,row:eH,gt:eF}),e_[7]=eF,e_[8]=eC,e_[9]=eN.output_modalities,e_[10]=eH,e_[11]=w):w=e_[11];let eV=w,eB=eN.endpoint?.display_pricing,eq=eN.endpoint?.pricing?.discount;e_[12]!==eN?(R=(0,M.f)(eN),e_[12]=eN,e_[13]=R):R=e_[13];let eY=R;e_[14]!==eN?(E=(0,n.O)((0,a.i)(eN)),e_[14]=eN,e_[15]=E):E=e_[15];let eG=E,eK=eN.display_required_attestation_types??eN.required_attestation_types;e_[16]!==eN.name?(I=(0,t.jsx)("span",{className:"hidden md:above-phone:block",children:eN.name}),e_[16]=eN.name,e_[17]=I):I=e_[17],e_[18]!==eN.short_name?(A=(0,t.jsx)("span",{className:"md:above-phone:hidden",children:eN.short_name}),e_[18]=eN.short_name,e_[19]=A):A=e_[19],e_[20]!==I||e_[21]!==A?(z=(0,t.jsxs)(t.Fragment,{children:[I,A]}),e_[20]=I,e_[21]=A,e_[22]=z):z=e_[22];let eQ=z,eX=`/${eN.author}`;e_[23]!==eG||e_[24]!==eN.author||e_[25]!==eN.author_icon_uri||e_[26]!==eW?(F=(0,t.jsx)(W.f,{author:eN.author,permaslug:eW,iconUri:eN.author_icon_uri,isLatestAlias:eG,frame:!0,className:"shrink-0"}),e_[23]=eG,e_[24]=eN.author,e_[25]=eN.author_icon_uri,e_[26]=eW,e_[27]=F):F=e_[27],e_[28]!==eL||e_[29]!==eX||e_[30]!==F?(Z=(0,t.jsx)(c.TextLink,{href:eX,prefetch:eL,className:"pointer-events-auto relative z-10 hidden shrink-0 md:above-phone:block",children:F}),e_[28]=eL,e_[29]=eX,e_[30]=F,e_[31]=Z):Z=e_[31],e_[32]!==eQ?(H=(0,t.jsx)(S.f.Title,{children:eQ}),e_[32]=eQ,e_[33]=H):H=e_[33],e_[34]!==eT||e_[35]!==eL||e_[36]!==H?(V=(0,t.jsx)(c.TextLink,{href:eT,prefetch:eL,className:"no-underline",children:H}),e_[34]=eT,e_[35]=eL,e_[36]=H,e_[37]=V):V=e_[37],e_[38]!==eq?(Y=(0,s.i)(eq)&&(0,t.jsx)(q,{}),e_[38]=eq,e_[39]=Y):Y=e_[39],e_[40]!==eq?(G=(0,t.jsx)(P.f,{discount:eq}),e_[40]=eq,e_[41]=G):G=e_[41];let eJ=eN.endpoint?.variant??p.e.Standard;e_[42]!==eJ?(K=(0,t.jsx)(U.f,{variant:eJ,className:"hidden size-4 md:above-phone:inline-flex"}),e_[42]=eJ,e_[43]=K):K=e_[43],e_[44]!==eN.output_modalities?(Q=(0,t.jsx)(B,{outputModalities:eN.output_modalities}),e_[44]=eN.output_modalities,e_[45]=Q):Q=e_[45],e_[46]!==eA?(X=eA&&(0,t.jsx)(q,{}),e_[46]=eA,e_[47]=X):X=e_[47],e_[48]!==eA||e_[49]!==eN.endpoint?.is_hipaa_eligible?(J=eA&&(0,t.jsx)("span",{className:"pointer-events-auto relative z-10 inline-flex",children:(0,t.jsx)($.X,{isEligible:eN.endpoint?.is_hipaa_eligible===!0})}),e_[48]=eA,e_[49]=eN.endpoint?.is_hipaa_eligible,e_[50]=J):J=e_[50],e_[51]!==eK.length?(ee=eK.length>0&&(0,t.jsx)(q,{}),e_[51]=eK.length,e_[52]=ee):ee=e_[52],e_[53]!==eK?(et=(0,t.jsx)(C,{requiredTypes:eK,className:"shrink-0"}),e_[53]=eK,e_[54]=et):et=e_[54],e_[55]!==eZ?(er=eZ&&(0,t.jsx)(q,{}),e_[55]=eZ,e_[56]=er):er=e_[56],e_[57]!==eZ?(ei=eZ&&(0,t.jsx)(l.Badge,{variant:"default",className:"shrink-0",children:(0,t.jsx)(h.T,{children:"Private"})}),e_[57]=eZ,e_[58]=ei):ei=e_[58],e_[59]!==eN?(en=(0,a.i)(eN),e_[59]=eN,e_[60]=en):en=e_[60],e_[61]!==en?(ea=(0,t.jsx)(j,{slug:en,className:"pointer-events-auto relative z-10 ml-1 hidden md:above-phone:inline-flex"}),e_[61]=en,e_[62]=ea):ea=e_[62],e_[63]!==eN||e_[64]!==ez?(es=ez&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(D.f,{modelSlug:(0,a.i)(eN),origin:"models_listing",className:"pointer-events-auto relative z-10 -my-2 inline-flex size-9 items-center justify-center md:above-phone:hidden"}),(0,t.jsx)(D.f,{modelSlug:(0,a.i)(eN),origin:"models_listing",hoverOnly:!0,className:"pointer-events-auto relative z-10 hidden md:above-phone:inline-flex"})]}),e_[63]=eN,e_[64]=ez,e_[65]=es):es=e_[65];let e0=eN.variant_deprecation_date??null;return e_[66]!==e0?(el=(0,t.jsx)(L.f,{deprecationDate:e0,className:"pointer-events-auto relative z-10 shrink-0"}),e_[66]=e0,e_[67]=el):el=e_[67],e_[68]!==Z||e_[69]!==V||e_[70]!==Y||e_[71]!==G||e_[72]!==K||e_[73]!==Q||e_[74]!==X||e_[75]!==J||e_[76]!==ee||e_[77]!==et||e_[78]!==er||e_[79]!==ei||e_[80]!==ea||e_[81]!==es||e_[82]!==el?(eo=(0,t.jsxs)(S.f.TitleCluster,{children:[Z,V,Y,G,K,Q,X,J,ee,et,er,ei,ea,es,el]}),e_[68]=Z,e_[69]=V,e_[70]=Y,e_[71]=G,e_[72]=K,e_[73]=Q,e_[74]=X,e_[75]=J,e_[76]=ee,e_[77]=et,e_[78]=er,e_[79]=ei,e_[80]=ea,e_[81]=es,e_[82]=el,e_[83]=eo):eo=e_[83],e_[84]!==eV?(ec=eV&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"md:above-phone:inline",children:(0,t.jsxs)("span",{children:[eV.text," "]})}),(0,t.jsx)("span",{className:"pointer-events-auto relative z-10",children:(0,t.jsx)(o.InfoTooltip,{side:"bottom",children:eV.tooltip})})]}),e_[84]=eV,e_[85]=ec):ec=e_[85],e_[86]!==ec?(eu=(0,t.jsx)(S.f.WeeklyTokens,{children:ec}),e_[86]=ec,e_[87]=eu):eu=e_[87],e_[88]!==eo||e_[89]!==eu?(ed=(0,t.jsxs)(S.f.HeaderRow,{children:[eo,eu]}),e_[88]=eo,e_[89]=eu,e_[90]=ed):ed=e_[90],e_[91]!==eU?(em=eU&&(0,t.jsx)(S.f.Categories,{className:"pointer-events-auto relative z-10",children:(0,t.jsx)(T.f,{categories:eU,source:"models_list_item"})}),e_[91]=eU,e_[92]=em):em=e_[92],e_[93]!==eS||e_[94]!==eT||e_[95]!==eL?(ef=(0,t.jsx)(S.f.Description,{children:(0,t.jsx)(c.TextLink,{href:eT,prefetch:eL,className:"text-muted-foreground no-underline [&_code]:text-size-inherit",children:eS})}),e_[93]=eS,e_[94]=eT,e_[95]=eL,e_[96]=ef):ef=e_[96],e_[97]!==eN.author||e_[98]!==eL?(ep=(0,t.jsx)(O.f,{author:eN.author,prefetch:eL,linkClassName:"pointer-events-auto relative z-10"}),e_[97]=eN.author,e_[98]=eL,e_[99]=ep):ep=e_[99],e_[100]===Symbol.for("react.memo_cache_sentinel")?(eh=(0,t.jsx)(S.f.FooterDivider,{className:"hidden md:above-phone:inline"}),e_[100]=eh):eh=e_[100],e_[101]!==eC||e_[102]!==eN.created_at?(eg=(0,i.C)(new Date(eN.created_at),{locale:eC,timeZone:"UTC",preset:"medium"})??"—",e_[101]=eC,e_[102]=eN.created_at,e_[103]=eg):eg=e_[103],e_[104]!==eg?(ev=(0,t.jsx)("span",{className:"hidden md:above-phone:inline",children:eg}),e_[104]=eg,e_[105]=ev):ev=e_[105],e_[106]!==eY||e_[107]!==eC?(ex=(0,t.jsx)(N.f,{contextLength:eY,locale:eC}),e_[106]=eY,e_[107]=eC,e_[108]=ex):ex=e_[108],e_[109]!==eB?(eb=eB&&eB.length>0&&(0,t.jsx)("span",{className:"pointer-events-auto relative z-10 inline-flex items-center gap-2",children:(0,t.jsx)(v.f,{displayPricing:eB,showDiscount:!1})}),e_[109]=eB,e_[110]=eb):eb=e_[110],e_[111]!==ep||e_[112]!==ev||e_[113]!==ex||e_[114]!==eb?(ek=(0,t.jsxs)(S.f.Footer,{ref:eP,children:[ep,eh,ev,ex,eb]}),e_[111]=ep,e_[112]=ev,e_[113]=ex,e_[114]=eb,e_[115]=ek):ek=e_[115],e_[116]!==e$?(ej=e$&&(0,t.jsx)("div",{className:"pointer-events-none absolute right-0 top-0 h-full w-3 bg-gradient-to-r from-transparent to-background md:above-phone:hidden"}),e_[116]=e$,e_[117]=ej):ej=e_[117],e_[118]!==ek||e_[119]!==ej?(ew=(0,t.jsxs)("div",{className:"relative",children:[ek,ej]}),e_[118]=ek,e_[119]=ej,e_[120]=ew):ew=e_[120],e_[121]!==ed||e_[122]!==em||e_[123]!==ef||e_[124]!==ew?(ey=(0,t.jsxs)(t.Fragment,{children:[ed,em,ef,ew]}),e_[121]=ed,e_[122]=em,e_[123]=ef,e_[124]=ew,e_[125]=ey):ey=e_[125],ey}let H=(0,g.memo)(e=>{let i,n,a,s,l,o=(0,r.c)(19),{className:c,model:d,description:m,isHipaaUiEnabled:f,shouldShowPinControls:p,categories:h,analytics:g,outputModalityIntent:v}=e;o[0]!==d||o[1]!==v?(i=(0,_.S)(d,{outputModalityIntent:v}),o[0]=d,o[1]=v,o[2]=i):i=o[2];let x=i,b=(0,u.f)();return o[3]!==b?({prefetch:a,...n}=b,o[3]=b,o[4]=n,o[5]=a):(n=o[4],a=o[5]),o[6]!==g||o[7]!==h||o[8]!==m||o[9]!==f||o[10]!==d||o[11]!==x||o[12]!==a||o[13]!==p?(s=(0,t.jsx)(Z,{model:d,description:m,modelHref:x,prefetch:a,isHipaaUiEnabled:f,shouldShowPinControls:p,categories:h,analytics:g}),o[6]=g,o[7]=h,o[8]=m,o[9]=f,o[10]=d,o[11]=x,o[12]=a,o[13]=p,o[14]=s):s=o[14],o[15]!==c||o[16]!==n||o[17]!==s?(l=(0,t.jsx)(S.f.Root,{...n,className:c,"data-testid":"model-list-item",isLinked:!0,children:s}),o[15]=c,o[16]=n,o[17]=s,o[18]=l):l=o[18],l}),V=(0,g.memo)(e=>{let i,n,a,s,l,o=(0,r.c)(18),{model:c,description:d,isHipaaUiEnabled:m,shouldShowPinControls:f,categories:p,analytics:h,outputModalityIntent:g}=e;o[0]!==c||o[1]!==g?(i=(0,_.S)(c,{outputModalityIntent:g}),o[0]=c,o[1]=g,o[2]=i):i=o[2];let v=i,x=(0,u.f)();return o[3]!==x?({prefetch:a,...n}=x,o[3]=x,o[4]=n,o[5]=a):(n=o[4],a=o[5]),o[6]!==h||o[7]!==p||o[8]!==d||o[9]!==m||o[10]!==c||o[11]!==v||o[12]!==a||o[13]!==f?(s=(0,t.jsx)(Z,{model:c,description:d,modelHref:v,prefetch:a,isHipaaUiEnabled:m,shouldShowPinControls:f,categories:p,analytics:h}),o[6]=h,o[7]=p,o[8]=d,o[9]=m,o[10]=c,o[11]=v,o[12]=a,o[13]=f,o[14]=s):s=o[14],o[15]!==n||o[16]!==s?(l=(0,t.jsx)(S.f.ListRoot,{...n,"data-testid":"model-list-item",isLinked:!0,children:s}),o[15]=n,o[16]=s,o[17]=l):l=o[17],l});function B(e){let i,n,a=(0,r.c)(7),{outputModalities:s}=e,l=(0,f.M)();if(0===s.length)return null;if(a[0]!==l||a[1]!==s){let e;a[3]!==l?(e=e=>(0,t.jsx)(F.f,{modality:e,tooltip:l(m.L[e])},e),a[3]=l,a[4]=e):e=a[4],i=s.map(e),a[0]=l,a[1]=s,a[2]=i}else i=a[2];return a[5]!==i?(n=(0,t.jsx)("div",{className:"hidden shrink-0 items-center gap-1 md:above-phone:inline-flex",children:i}),a[5]=i,a[6]=n):n=a[6],n}function q(){let e,i=(0,r.c)(1);return i[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("span",{className:"hidden phone:inline",children:" "}),i[0]=e):e=i[0],e}e.s(["ModelsPageListItem",0,H,"ModelsPageListItemListRow",0,V],193241)},493630,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(136562),n=e.i(16043);let a=(0,n.createContext)(null);function s(e){let i,n,s=(0,r.c)(5),{children:l,isLinked:o}=e;s[0]!==o?(i={isLinked:o},s[0]=o,s[1]=i):i=s[1];let c=i;return s[2]!==l||s[3]!==c?(n=(0,t.jsx)(a,{value:c,children:l}),s[2]=l,s[3]=c,s[4]=n):n=s[4],n}function l(e){let n,a,l,o,c,u,d,m,f,p,h=(0,r.c)(20);h[0]!==e?({children:n,className:a,"data-testid":l,isLinked:u,paddingClassName:o,...c}=e,h[0]=e,h[1]=n,h[2]=a,h[3]=l,h[4]=o,h[5]=c,h[6]=u):(n=h[1],a=h[2],l=h[3],o=h[4],c=h[5],u=h[6]);let g=void 0===u||u;return h[7]!==a||h[8]!==o?(d=(0,i.f)("flex w-full items-center justify-between",o,"flex-col md:above-phone:flex-row","gap-3 phone:gap-2",a),h[7]=a,h[8]=o,h[9]=d):d=h[9],h[10]!==n?(m=(0,t.jsx)("div",{className:"flex w-full flex-col gap-2",children:n}),h[10]=n,h[11]=m):m=h[11],h[12]!==l||h[13]!==c||h[14]!==d||h[15]!==m?(f=(0,t.jsx)("div",{...c,"data-testid":l,className:d,children:m}),h[12]=l,h[13]=c,h[14]=d,h[15]=m,h[16]=f):f=h[16],h[17]!==g||h[18]!==f?(p=(0,t.jsx)(s,{isLinked:g,children:f}),h[17]=g,h[18]=f,h[19]=p):p=h[19],p}e.s(["f",0,{Root:function(e){let i,n=(0,r.c)(2);return n[0]!==e?(i=(0,t.jsx)(l,{...e,paddingClassName:"py-5 phone:py-4"}),n[0]=e,n[1]=i):i=n[1],i},ListRoot:function(e){let i,n=(0,r.c)(2);return n[0]!==e?(i=(0,t.jsx)(l,{...e,paddingClassName:"py-4"}),n[0]=e,n[1]=i):i=n[1],i},HeaderRow:function(e){let i,n=(0,r.c)(2),{children:a}=e;return n[0]!==a?(i=(0,t.jsx)("div",{className:"flex items-start justify-between phone:items-baseline md:above-phone:pr-0",children:a}),n[0]=a,n[1]=i):i=n[1],i},TitleCluster:function(e){let i,n=(0,r.c)(2),{children:a}=e;return n[0]!==a?(i=(0,t.jsx)("div",{className:"w-full min-w-0 items-center gap-1.5 phone:[&>*]:align-middle md:above-phone:flex md:above-phone:w-[calc(100%-10rem)]",children:a}),n[0]=a,n[1]=i):i=n[1],i},Title:function(e){let s,l,o=(0,r.c)(5),{children:c}=e,{isLinked:u}=function(){let e=(0,n.use)(a);if(!e)throw Error("ModelsPageListItemShell subcomponents must be used within Root or ListRoot");return e}(),d=u&&"transition-colors hover:text-accent-foreground hover:underline";return o[0]!==d?(s=(0,i.f)(d,"text-foreground underline-offset-2","text-base font-semibold leading-snug phone:text-sm"),o[0]=d,o[1]=s):s=o[1],o[2]!==c||o[3]!==s?(l=(0,t.jsx)("span",{className:s,children:c}),o[2]=c,o[3]=s,o[4]=l):l=o[4],l},WeeklyTokens:function(e){let n,a,s=(0,r.c)(3),{children:l}=e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(n=(0,i.f)("flex shrink-0 items-center gap-1 text-xs text-muted-foreground","justify-end md:above-phone:w-40"),s[0]=n):n=s[0],s[1]!==l?(a=(0,t.jsx)("div",{className:n,children:l}),s[1]=l,s[2]=a):a=s[2],a},Categories:function(e){let n,a,s=(0,r.c)(5),{children:l,className:o}=e;return s[0]!==o?(n=(0,i.f)("relative flex w-fit max-w-full min-w-0 self-start",o),s[0]=o,s[1]=n):n=s[1],s[2]!==l||s[3]!==n?(a=(0,t.jsx)("div",{className:n,children:l}),s[2]=l,s[3]=n,s[4]=a):a=s[4],a},Description:function(e){let i,n=(0,r.c)(2),{children:a}=e;return n[0]!==a?(i=(0,t.jsx)("div",{className:"flex min-h-10 flex-col gap-1.5 phone:min-h-0",children:a}),n[0]=a,n[1]=i):i=n[1],i},Footer:function(e){let n,a,s=(0,r.c)(4),{children:l,ref:o}=e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(n=(0,i.f)("relative flex items-center gap-2 text-xs text-muted-foreground","whitespace-nowrap overflow-x-auto scrollbar-hide","max-md:pointer-events-auto phone:pointer-events-auto","md:above-phone:overflow-hidden md:above-phone:text-ellipsis"),s[0]=n):n=s[0],s[1]!==l||s[2]!==o?(a=(0,t.jsx)("div",{ref:o,className:n,children:l}),s[1]=l,s[2]=o,s[3]=a):a=s[3],a},FooterDivider:function(e){let n,a,s=(0,r.c)(4),{className:l}=e;return s[0]!==l?(n=(0,i.f)("h-3 border-l",l),s[0]=l,s[1]=n):n=s[1],s[2]!==n?(a=(0,t.jsx)("span",{className:n}),s[2]=n,s[3]=a):a=s[3],a}}])},294241,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(293747),n=e.i(706792),a=e.i(138257),s=e.i(199168),l=e.i(140691),o=e.i(690387),c=e.i(784374),u=e.i(192577);function d(e){let d,m,f,p=(0,r.c)(25),{item:h,unit:g}=e,v=(0,a.useLocale)(),x=(0,s.M)();if(h.kind===n.H.Schedule){let e;return p[0]!==h.scheduleExceptions||p[1]!==h.scheduleWindows?(e=(0,t.jsx)("span",{className:"text-muted-foreground pl-2",children:(0,t.jsx)(c.f,{windows:h.scheduleWindows,exceptions:h.scheduleExceptions})}),p[0]=h.scheduleExceptions,p[1]=h.scheduleWindows,p[2]=e):e=p[2],e}if(h.tiers&&h.tiers.length>1){let e,r;if(p[3]!==h.displayMultiplier||p[4]!==h.tiers||p[5]!==v||p[6]!==x||p[7]!==g){let r;p[9]!==h.displayMultiplier||p[10]!==v||p[11]!==x||p[12]!==g?(r=e=>(0,t.jsxs)("span",{className:"text-muted-foreground",children:[(0,u.f)(x,e.sku_label),":"," ",(0,o.i)(`${(0,i.f)((0,l.I)(e.price).times(h.displayMultiplier),{locale:v,preset:"model-price"})??"—"}`,g)]},e.sku_label),p[9]=h.displayMultiplier,p[10]=v,p[11]=x,p[12]=g,p[13]=r):r=p[13],e=h.tiers.map(r),p[3]=h.displayMultiplier,p[4]=h.tiers,p[5]=v,p[6]=x,p[7]=g,p[8]=e}else e=p[8];return p[14]!==e?(r=(0,t.jsx)("div",{className:"flex flex-col gap-0.5 pl-2",children:e}),p[14]=e,p[15]=r):r=p[15],r}p[16]!==h.displayMultiplier||p[17]!==h.price||p[18]!==v?(d=(0,i.f)((0,l.I)(h.price).times(h.displayMultiplier),{locale:v,preset:"model-price"})??"—",p[16]=h.displayMultiplier,p[17]=h.price,p[18]=v,p[19]=d):d=p[19];let b=`${d}`;return p[20]!==b||p[21]!==g?(m=(0,o.i)(b,g),p[20]=b,p[21]=g,p[22]=m):m=p[22],p[23]!==m?(f=(0,t.jsx)("span",{className:"text-muted-foreground pl-2",children:m}),p[23]=m,p[24]=f):f=p[24],f}e.s(["f",0,function(e){let i,n,a=(0,r.c)(7),{items:l}=e,o=(0,s.M)();if(a[0]!==l||a[1]!==o){let e;a[3]!==o?(e=e=>{let r=e.unitLabel;return(0,t.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,t.jsx)("span",{className:"font-medium text-popover-foreground",children:(0,u.f)(o,e.sku_label)}),(0,t.jsx)(d,{item:e,unit:r})]},e.sku_label)},a[3]=o,a[4]=e):e=a[4],i=l.map(e),a[0]=l,a[1]=o,a[2]=i}else i=a[2];return a[5]!==i?(n=(0,t.jsx)("div",{className:"flex flex-col gap-2 p-1",children:i}),a[5]=i,a[6]=n):n=a[6],n}])},725072,e=>{"use strict";var t=e.i(782143),r=e.i(579841),i=e.i(427150),n=e.i(667417);e.i(707060);var a=e.i(387086);function s(e){return(0,r.W)(e)?"video-hours":e.includes(n.j.Transcription)?"transcribed-characters":"tokens"}e.s(["L",0,function(e,{outputModalities:r,row:n,gt:l=a.Y,timeLabel:o=l("7 days")}){if(!n)return null;let c=s(r);if("video-hours"===c&&(0,i.f)(n.video_output_seconds))return n.video_output_seconds>0?{text:function({gt:e,locale:r},i){let n=i/3600;if(n<1)return e("<1 hour");let a=Math.round(n),s=(0,t.f)(a,{locale:r,preset:"compact-rounded-thousands"})??"—";return e(1===a?"{count} hour":"{count} hours",{count:s})}({gt:l,locale:e},n.video_output_seconds),tooltip:l("Video generated in the last {timeLabel}",{timeLabel:o})}:null;if("transcribed-characters"===c&&(0,i.f)(n.stt_transcript_characters))return n.stt_transcript_characters>0?{text:l("{count} characters",{count:(0,t.f)(n.stt_transcript_characters,{locale:e,preset:"compact-rounded-thousands"})??"—"}),tooltip:l("Characters transcribed in the last {timeLabel}",{timeLabel:o})}:null;let u=n.total_prompt_tokens+(n.total_completion_tokens??0);return u>0?{text:l("{count} tokens",{count:(0,t.f)(u,{locale:e,preset:"compact-rounded-thousands"})??"—"}),tooltip:l("Tokens processed in the last {timeLabel}",{timeLabel:o})}:null},"f",0,s])},143324,e=>{"use strict";var t=e.i(134611),r=e.i(369214),i=e.i(667417);function n(e){return e.is_private||e.endpoint?.is_private===!0}let a=new Set([...r.f,i.j.TTS,i.j.Transcription]);e.s(["S",0,function(e,r={}){let i=(0,t.i)(e);return function(e,t){if(null==t||!a.has(t))return e;let r=new URLSearchParams({output_modalities:t});return`${e}?${r.toString()}`}(n(e)?`/private/${i}`:`/${i}`,r.outputModalityIntent)},"B",0,function(e){return r.f.find(t=>e?.includes(t)??!1)??null},"n",0,n])},545354,948083,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(371604),n=e.i(340800),a=e.i(430022),s=e.i(427150);let l=/^\d{4}-\d{2}-\d{2}$/;function o(e,t){var r;let i=function(e){let t=function(e){if(!(0,s.f)(e))return null;let t=e.trim();if(""===t)return null;if(l.test(t))return`${t}T${String(13).padStart(2,"0")}:00:00.000Z`;let r=new Date(t);return Number.isNaN(r.getTime())?t:r.toISOString()}(e);if(null===t)return null;let r=new Date(t);return Number.isNaN(r.getTime())||(0,a.Q)(r)!==t.slice(0,10)?null:r.getTime()}(e);if(null===i)return null;let n=(r=t,Math.floor(i/a.N)-Math.floor(r/a.N));return n>90?null:{day:(0,a.Q)(new Date(i)),daysUntil:n}}e.s(["f",0,o],948083);var c=e.i(136562),u=e.i(233452),d=e.i(751155),m=e.i(138257);e.i(707060);var f=e.i(288265);e.s(["f",0,function(e){let a,s,l,p,h,g,v,x,b,k=(0,r.c)(22),{deprecationDate:j,className:w}=e,y=(0,m.useLocale)(),_=(0,f.f)();k[0]!==j?(a=o(j,Date.now()),k[0]=j,k[1]=a):a=k[1];let N=a;if(!N)return null;let{day:S,daysUntil:T}=N;if(k[2]!==S||k[3]!==T||k[4]!==_||k[5]!==y){let e=(0,n.C)(new Date(`${S}T00:00:00.000Z`),{locale:y,timeZone:"UTC",preset:"long"})??"—",t=T<0;s=t?_("Deprecated"):_("Going away {date}",{date:e}),l=_(t?"Deprecated on {date}":"Going away on {date}",{date:e}),k[2]=S,k[3]=T,k[4]=_,k[5]=y,k[6]=s,k[7]=l}else s=k[6],l=k[7];let L=l;return k[8]!==T?(p=T<=3?"negative":"warning",k[8]=T,k[9]=p):p=k[9],k[10]!==w?(h=(0,c.f)("h-5 gap-1.5 whitespace-nowrap",w),k[10]=w,k[11]=h):h=k[11],k[12]===Symbol.for("react.memo_cache_sentinel")?(g=(0,t.jsx)(i.f,{className:"size-3.5"}),k[12]=g):g=k[12],k[13]!==s?(v=(0,t.jsx)("span",{children:s}),k[13]=s,k[14]=v):v=k[14],k[15]!==p||k[16]!==h||k[17]!==v?(x=(0,t.jsxs)(u.Badge,{variant:p,size:"sm",className:h,children:[g,v]}),k[15]=p,k[16]=h,k[17]=v,k[18]=x):x=k[18],k[19]!==x||k[20]!==L?(b=(0,t.jsx)(d.Tooltip,{content:L,children:x}),k[19]=x,k[20]=L,k[21]=b):b=k[21],b}],545354)},247794,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(136562),n=e.i(233452),a=e.i(751155),s=e.i(943926),l=e.i(761512);e.s(["f",0,function(e){let o,c,u,d,m,f=(0,r.c)(13),{modality:p,tooltip:h}=e;return f[0]!==p?(o=(0,i.f)("size-5 justify-center rounded-md border-transparent p-0",(0,l.p)({modality:p})),f[0]=p,f[1]=o):o=f[1],f[2]!==p?(c=(0,i.f)("size-3",(0,l.W)({modality:p})),f[2]=p,f[3]=c):c=f[3],f[4]!==p||f[5]!==c?(u=(0,t.jsx)(s.f,{modality:p,strokeWidth:2.5,className:c}),f[4]=p,f[5]=c,f[6]=u):u=f[6],f[7]!==o||f[8]!==u?(d=(0,t.jsx)(n.Badge,{variant:"default",size:"sm",className:o,children:u}),f[7]=o,f[8]=u,f[9]=d):d=f[9],f[10]!==d||f[11]!==h?(m=(0,t.jsx)(a.Tooltip,{content:h,children:d}),f[10]=d,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),a=e.i(917023),s=e.i(706999),l=e.i(257723),o=e.i(472089),c=e.i(529809),u=e.i(99938),d=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,v=void 0===p?"w-4 h-4":p;switch(h){case i.j.Text:{let e;return f[0]!==v||f[1]!==g?(e=(0,t.jsx)(u.f,{className:v,strokeWidth:g}),f[0]=v,f[1]=g,f[2]=e):e=f[2],e}case i.j.Image:{let e;return f[3]!==v||f[4]!==g?(e=(0,t.jsx)(l.f,{className:v,strokeWidth:g}),f[3]=v,f[4]=g,f[5]=e):e=f[5],e}case i.j.Video:{let e;return f[6]!==v||f[7]!==g?(e=(0,t.jsx)(d.f,{className:v,strokeWidth:g}),f[6]=v,f[7]=g,f[8]=e):e=f[8],e}case i.j.Audio:{let e;return f[9]!==v||f[10]!==g?(e=(0,t.jsx)(a.f,{className:v,strokeWidth:g}),f[9]=v,f[10]=g,f[11]=e):e=f[11],e}case i.j.Embeddings:{let e;return f[12]!==v||f[13]!==g?(e=(0,t.jsx)(m,{className:v,strokeWidth:g}),f[12]=v,f[13]=g,f[14]=e):e=f[14],e}case i.j.Decisions:{let e;return f[15]!==v||f[16]!==g?(e=(0,t.jsx)(s.f,{className:v,strokeWidth:g}),f[15]=v,f[16]=g,f[17]=e):e=f[17],e}case i.j.Rerank:{let e;return f[18]!==v||f[19]!==g?(e=(0,t.jsx)(n.f,{className:v,strokeWidth:g}),f[18]=v,f[19]=g,f[20]=e):e=f[20],e}case i.j.TTS:{let e;return f[21]!==v||f[22]!==g?(e=(0,t.jsx)(c.f,{className:v,strokeWidth:g}),f[21]=v,f[22]=g,f[23]=e):e=f[23],e}case i.j.Transcription:{let e;return f[24]!==v||f[25]!==g?(e=(0,t.jsx)(o.f,{className:v,strokeWidth:g}),f[24]=v,f[25]=g,f[26]=e):e=f[26],e}default:return null}}],943926)},596369,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(136562),n=e.i(954217);e.i(707060);var a=e.i(196991),s=e.i(153746);e.s(["f",0,function(e){let l,o,c,u,d=(0,r.c)(12),{author:m,displayName:f,className:p,linkClassName:h,prefetch:g}=e,v=`/${m}`;d[0]!==h?(l=(0,i.f)("text-inherit",h),d[0]=h,d[1]=l):l=d[1];let x=f??m;return d[2]!==x?(o=(0,t.jsx)(s.d,{children:x}),d[2]=x,d[3]=o):o=d[3],d[4]!==g||d[5]!==v||d[6]!==l||d[7]!==o?(c=(0,t.jsx)(n.TextLink,{href:v,prefetch:g,className:l,children:o}),d[4]=g,d[5]=v,d[6]=l,d[7]=o,d[8]=c):c=d[8],d[9]!==p||d[10]!==c?(u=(0,t.jsx)(a.T,{children:(0,t.jsxs)("span",{className:p,children:["by"," ",c]})}),d[9]=p,d[10]=c,d[11]=u):u=d[11],u}])},918662,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(136562),n=e.i(177113),a=e.i(894868),s=e.i(751155);e.i(707060);var l=e.i(196991);e.s(["f",0,function(e){let o,c,u,d,m,f,p=(0,r.c)(21),{author:h,permaslug:g,iconUri:v,isLatestAlias:x,className:b,tooltipSide:k,frame:j}=e,w=void 0===k?"top":k,y=void 0!==j&&j;if(!x){let e;return p[0]!==h||p[1]!==b||p[2]!==y||p[3]!==v||p[4]!==g?(e=(0,t.jsx)(a.f,{author:h,permaslug:g,iconUri:v,frame:y,className:b}),p[0]=h,p[1]=b,p[2]=y,p[3]=v,p[4]=g,p[5]=e):e=p[5],e}return p[6]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)(l.T,{children:(0,t.jsx)("span",{children:"OpenRouter latest alias — automatically resolves to the newest model in this version group."})}),p[6]=o):o=p[6],p[7]!==b?(c=(0,i.f)("relative inline-flex shrink-0",b),p[7]=b,p[8]=c):c=p[8],p[9]!==h||p[10]!==y||p[11]!==v||p[12]!==g?(u=(0,t.jsx)(a.f,{author:h,permaslug:g,iconUri:v,frame:y,className:"shrink-0"}),p[9]=h,p[10]=y,p[11]=v,p[12]=g,p[13]=u):u=p[13],p[14]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)(l.T,{children:(0,t.jsx)("span",{role:"img","aria-label":"OpenRouter latest alias",className:(0,i.f)("absolute -bottom-0.5 -right-0.5","flex items-center justify-center","size-3 rounded-full","bg-foreground text-background","ring-1 ring-background"),children:(0,t.jsx)(n.f,{className:"size-2"})})}),p[14]=d):d=p[14],p[15]!==c||p[16]!==u?(m=(0,t.jsxs)("span",{className:c,"data-testid":"model-author-icon-latest-alias",children:[u,d]}),p[15]=c,p[16]=u,p[17]=m):m=p[17],p[18]!==m||p[19]!==w?(f=(0,t.jsx)(s.Tooltip,{side:w,content:o,children:m}),p[18]=m,p[19]=w,p[20]=f):f=p[20],f}])},251142,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(838479),n=e.i(16043);let a=n.forwardRef(function({title:e,titleId:t,...r},i){return n.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:i,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12c0 1.268-.63 2.39-1.593 3.068a3.745 3.745 0 0 1-1.043 3.296 3.745 3.745 0 0 1-3.296 1.043A3.745 3.745 0 0 1 12 21c-1.268 0-2.39-.63-3.068-1.593a3.746 3.746 0 0 1-3.296-1.043 3.745 3.745 0 0 1-1.043-3.296A3.745 3.745 0 0 1 3 12c0-1.268.63-2.39 1.593-3.068a3.745 3.745 0 0 1 1.043-3.296 3.746 3.746 0 0 1 3.296-1.043A3.746 3.746 0 0 1 12 3c1.268 0 2.39.63 3.068 1.593a3.746 3.746 0 0 1 3.296 1.043 3.746 3.746 0 0 1 1.043 3.296A3.745 3.745 0 0 1 21 12Z"}))}),s=n.forwardRef(function({title:e,titleId:t,...r},i){return n.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:i,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 7.5-2.25-1.313M21 7.5v2.25m0-2.25-2.25 1.313M3 7.5l2.25-1.313M3 7.5l2.25 1.313M3 7.5v2.25m9 3 2.25-1.313M12 12.75l-2.25-1.313M12 12.75V15m0 6.75 2.25-1.313M12 21.75V19.5m0 2.25-2.25-1.313m0-16.875L12 2.25l2.25 1.313M21 14.25v2.25l-2.25 1.313m-13.5 0L3 16.5v-2.25"}))});var l=e.i(922969),o=e.i(486704),c=e.i(214051),u=e.i(338749);let d=n.forwardRef(function({title:e,titleId:t,...r},i){return n.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:i,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 10.5V6.75a4.5 4.5 0 1 1 9 0v3.75M3.75 21.75h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H3.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z"}))});var m=e.i(653432),f=e.i(195759),p=e.i(572201);e.i(707060);var h=e.i(288265);e.s(["f",0,function(e){let n,g=(0,r.c)(30),{className:v,variant:x}=e,b=void 0===v?"w-4 h-4":v,k=(0,h.f)();g[0]!==k||g[1]!==x?(n=k("{label} variant",{label:(0,f.x)(x)}),g[0]=k,g[1]=x,g[2]=n):n=g[2];let j=n;switch(x){case p.e.Nitro:{let e;return g[3]!==b||g[4]!==j?(e=(0,t.jsx)(i.f,{title:j,className:b}),g[3]=b,g[4]=j,g[5]=e):e=g[5],e}case p.e.Floor:{let e;return g[6]!==b||g[7]!==j?(e=(0,t.jsx)(l.f,{title:j,className:b}),g[6]=b,g[7]=j,g[8]=e):e=g[8],e}case p.e.Online:{let e;return g[9]!==b||g[10]!==j?(e=(0,t.jsx)(c.f,{title:j,className:b}),g[9]=b,g[10]=j,g[11]=e):e=g[11],e}case p.e.Free:{let e;return g[12]!==b||g[13]!==j?(e=(0,t.jsx)(o.f,{title:j,className:b}),g[12]=b,g[13]=j,g[14]=e):e=g[14],e}case p.e.Extended:{let e;return g[15]!==b||g[16]!==j?(e=(0,t.jsx)(s,{title:j,className:b}),g[15]=b,g[16]=j,g[17]=e):e=g[17],e}case p.e.Exacto:{let e;return g[18]!==b||g[19]!==j?(e=(0,t.jsx)(a,{title:j,className:b}),g[18]=b,g[19]=j,g[20]=e):e=g[20],e}case p.e.SelfMod:{let e;return g[21]!==b||g[22]!==j?(e=(0,t.jsx)(d,{title:j,className:b}),g[21]=b,g[22]=j,g[23]=e):e=g[23],e}case p.e.Thinking:{let e;return g[24]!==b||g[25]!==j?(e=(0,t.jsx)(u.f,{title:j,className:b}),g[24]=b,g[25]=j,g[26]=e):e=g[26],e}case p.e.Batch:{let e;return g[27]!==b||g[28]!==j?(e=(0,t.jsx)(m.f,{title:j,className:b}),g[27]=b,g[28]=j,g[29]=e):e=g[29],e}case p.e.Standard:case p.e.All:default:return null}}],251142)},117686,e=>{"use strict";var t=e.i(615199);e.i(707060);var r=e.i(387086);let i={[t.$.Age18Plus]:{label:(0,r.b)("18+ age confirmation"),statement:(0,r.b)("I confirm that I am 18 years of age or older."),organizationStatement:(0,r.b)("Confirm that all users in this organization meet the 18+ age requirement.")},[t.$.PrivilegedModelAccess]:{label:(0,r.b)("Privileged model access approval"),statement:(0,r.b)("This account is approved by OpenRouter to use privileged models."),organizationStatement:(0,r.b)("This organization is approved by OpenRouter to use privileged models.")}};e.s(["f",0,i])},916998,277582,e=>{"use strict";var t=e.i(659350),r=e.i(663456);function i(e){return"number"==typeof e&&e>0&&e<1}function n(e){return`${Math.round(100*e)}% off`}e.s(["m",0,n,"i",0,i],277582);var a=e.i(136562),s=e.i(233452);e.s(["f",0,function(e){let l,o,c,u=(0,r.c)(21),{discount:d,variant:m,className:f}=e,p=void 0===m?"prominent":m;if(!i(d))return null;if("caption"===p){let e,r,i;return u[0]!==f?(e=(0,a.f)("shrink-0 text-caption font-medium text-positive-text",f),u[0]=f,u[1]=e):e=u[1],u[2]!==d?(r=n(d),u[2]=d,u[3]=r):r=u[3],u[4]!==e||u[5]!==r?(i=(0,t.jsx)("span",{className:e,children:r}),u[4]=e,u[5]=r,u[6]=i):i=u[6],i}if("subdued"===p){let e,r,i;return u[7]!==f?(e=(0,a.f)("shrink-0 text-xs font-medium text-positive-text",f),u[7]=f,u[8]=e):e=u[8],u[9]!==d?(r=n(d),u[9]=d,u[10]=r):r=u[10],u[11]!==e||u[12]!==r?(i=(0,t.jsx)("span",{className:e,children:r}),u[11]=e,u[12]=r,u[13]=i):i=u[13],i}return u[14]!==f?(l=(0,a.f)("shrink-0",f),u[14]=f,u[15]=l):l=u[15],u[16]!==d?(o=n(d),u[16]=d,u[17]=o):o=u[17],u[18]!==l||u[19]!==o?(c=(0,t.jsx)(s.Badge,{variant:"positive",size:"sm",className:l,children:o}),u[18]=l,u[19]=o,u[20]=c):c=u[20],c}],916998)},939044,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(233452),n=e.i(751155);e.i(707060);var a=e.i(387086),s=e.i(919035);let l={Endpoint:"endpoint",Provider:"provider"},o={[l.Endpoint]:(0,a.b)("Covered by a business associate agreement: HIPAA traffic may route to this endpoint."),[l.Provider]:(0,a.b)("At least one of this provider's endpoints is covered by a business associate agreement. Check each model for HIPAA eligibility.")};e.s(["A",0,l,"X",0,function(e){let a,c,u,d=(0,r.c)(6),{isEligible:m,scope:f}=e,p=void 0===f?l.Endpoint:f,h=(0,s.f)();if(!m)return null;let g=o[p];return d[0]!==h||d[1]!==g?(a=h(g),d[0]=h,d[1]=g,d[2]=a):a=d[2],d[3]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)(n.TooltipNonInteractiveTrigger,{className:"inline-flex shrink-0 cursor-help",children:(0,t.jsx)(i.Badge,{variant:"info",size:"sm",children:"HIPAA"})}),d[3]=c):c=d[3],d[4]!==a?(u=(0,t.jsx)(n.Tooltip,{side:"top",content:a,children:c}),d[4]=a,d[5]=u):u=d[5],u}])},465370,e=>{"use strict";var t=e.i(659350),r=e.i(663456),i=e.i(775593),n=e.i(575731),a=e.i(136562),s=e.i(609623),l=e.i(199630),o=e.i(199168),c=e.i(272719),u=e.i(16043),d=e.i(700050);function m(e){return e.toggleModelPin}e.s(["f",0,function(e){let f,p,h,g,v,x,b,k,j,w,y,_=(0,r.c)(28),{modelSlug:N,origin:S,className:T,hoverOnly:L}=e,M=(0,o.o)(),R=(0,l.f)();_[0]!==N?(f=e=>e.pinnedModelSlugs.includes(N),_[0]=N,_[1]=f):f=_[1];let E=(0,c.f)(f),I=R&&E,A=(0,c.f)(m),[z,C]=(0,u.useState)(!1);_[2]!==I||_[3]!==N||_[4]!==S||_[5]!==A?(p=e=>{e.preventDefault(),e.stopPropagation(),I?(0,d.T)({model:N,origin:S}):(0,d.z)({model:N,origin:S}),C(!I),A(N)},_[2]=I,_[3]=N,_[4]=S,_[5]=A,_[6]=p):p=_[6];let F=p;_[7]!==M||_[8]!==I?(h=M(I?"Unpin model":"Pin model"),_[7]=M,_[8]=I,_[9]=h):h=_[9];let P=h,$=void 0!==L&&L&&"opacity-0 group-hover:opacity-100 focus-visible:opacity-100";return _[10]!==T||_[11]!==$?(g=(0,a.f)("inline-flex transition duration-fast","text-muted-foreground hover:text-foreground","aria-pressed:text-warning aria-pressed:hover:text-warning","shrink-0",$,T),_[10]=T,_[11]=$,_[12]=g):g=_[12],_[13]===Symbol.for("react.memo_cache_sentinel")?(v=()=>C(!1),x=(0,a.f)("relative inline-flex","motion-safe:data-[celebrating=true]:animate-pop","after:pointer-events-none after:absolute after:inset-0 after:rounded-full after:border after:border-warning after:opacity-0","motion-safe:data-[celebrating=true]:after:animate-burst-ring"),_[13]=v,_[14]=x):(v=_[13],x=_[14]),_[15]===Symbol.for("react.memo_cache_sentinel")?(k=(0,t.jsx)(i.f,{className:"size-3.5"}),b=(0,t.jsx)(n.f,{className:"size-3.5"}),_[15]=b,_[16]=k):(b=_[15],k=_[16]),_[17]!==I?(j=(0,t.jsx)(s.f,{active:I,from:k,to:b}),_[17]=I,_[18]=j):j=_[18],_[19]!==z||_[20]!==j?(w=(0,t.jsx)("span",{"data-celebrating":z,onAnimationEnd:v,className:x,children:j}),_[19]=z,_[20]=j,_[21]=w):w=_[21],_[22]!==F||_[23]!==I||_[24]!==P||_[25]!==w||_[26]!==g?(y=(0,t.jsx)("button",{type:"button",onClick:F,title:P,"aria-label":P,"aria-pressed":I,className:g,children:w}),_[22]=F,_[23]=I,_[24]=P,_[25]=w,_[26]=g,_[27]=y):y=_[27],y}])},690387,e=>{"use strict";var t=e.i(293747),r=e.i(706792),i=e.i(140691);let n="/M tokens",a=["prompt","completion","request","image","image_token","image_output","audio","audio_output","input_audio_cache","input_cache_read","input_cache_write","input_cache_write_1h","web_search","internal_reasoning"];function s(e){return e.length>0&&!e.some(e=>!(0,i.I)(e.price).isZero()||e.tiers?.some(e=>!(0,i.I)(e.price).isZero())===!0)}function l(e,n,a){if(0===n.length)return;let s=a?.keepTrailingZeroes?"model-price-fixed":"model-price",l=n.filter(e=>"token"===e.kind),u=(0,r.T)(n);if(u)return function({locale:e,preset:r},{media:n,inputItem:a,outputItem:s}){return{kind:"standard-tokens",media:n,inputPrice:(0,t.f)((0,i.I)(a.price).times(a.displayMultiplier),{locale:e,preset:r})??"—",inputUnit:c(a),outputPrice:(0,t.f)((0,i.I)(s.price).times(s.displayMultiplier),{locale:e,preset:r})??"—",outputUnit:c(s)}}({locale:e,preset:s},u);let d=(0,r.U)(n);if(!d){if(l[0]){let r=l[0],s=`${(0,t.f)((0,i.I)(r.price).times(r.displayMultiplier),{locale:e,preset:a?.keepTrailingZeroes?"model-price-fixed":"model-price"})??"—"}`,u=c(r);return{kind:"custom",label:o(s,u),priceOnly:s,unit:u,hasDetails:n.length>1}}return}let m=`${(0,t.f)((0,i.I)(d.price).times(d.displayMultiplier),{locale:e,preset:a?.keepTrailingZeroes?"model-price-fixed":"model-price"})??"—"}`,f=d.unitLabel;return{kind:"custom",label:d.hasDetails?`from ${o(m,f)}`:o(m,f),priceOnly:d.hasDetails?`from ${m}`:m,unit:f,hasDetails:d.hasDetails}}function o(e,t){var r;return`${e}${(r=t)?r.startsWith("/")?r:` ${r}`:""}`}function c(e){if("token"===e.kind){if(1e6===e.displayMultiplier)return n;if(1e3===e.displayMultiplier)return"/K tokens"}return e.unitLabel}e.s(["z",0,1e6,"u",0,function(e,r,a){return l(e,a)??function(e,r){if(r&&(0,i.I)(r.prompt).isFinite()&&(0,i.I)(r.completion).isFinite()&&!((0,i.I)(r.prompt).isZero()&&(0,i.I)(r.completion).isZero()))return{kind:"standard-tokens",media:"text",inputPrice:(0,t.f)((0,i.I)(r.prompt).times(1e6),{locale:e,preset:"model-price"})??"—",inputUnit:n,outputPrice:(0,t.f)((0,i.I)(r.completion).times(1e6),{locale:e,preset:"model-price"})??"—",outputUnit:n}}(e,r?.pricing)},"J",0,l,"w",0,c,"C",0,s,"h",0,function(e,t){var r;return e?.is_free===!0||(t.length>0?s(t):!!(r=e?.pricing)&&a.every(e=>{let t=r[e];return void 0===t||(0,i.I)(t).isZero()}))},"i",0,o])},700050,e=>{"use strict";var t=e.i(960773),r=e.i(503741),i=e.i(989487);function n(e,n){let a=`playground_${r.m}:${e}`,s=Object.fromEntries(Object.entries(n||{}).map(([e,t])=>[(0,i.h)(e),t]));t.j.capture(a,s)}e.s(["q",0,function(e){n("artifact_create",e)},"l",0,function(e){n("artifact_delete",e)},"J",0,function(e){n("artifact_version_create",e)},"s",0,function(e){n("aspect_ratio_select",e)},"X",0,function(e){n("character_duplicate",e)},"D",0,function(e){n("character_remove",e)},"E",0,function(e){n("character_restore",e)},"K",0,function(e){for(let t of e.modelSlugs)n("character_add",{model:t,source:e.source})},"u",0,function(e){n("citation_icons_expand",e)},"P",0,function(e){n("conversation_search_open",e)},"t",0,function(e){n("intern_turn",e)},"p",0,function(e){n("message_delete",e)},"L",0,function(e){n("message_send_init",e)},"z",0,function(e){n("model_pin",e)},"g",0,function(e){n("model_preset_click",e)},"T",0,function(e){n("model_unpin",e)},"Y",0,function(e){n("pinned_model_select",e)},"v",0,function(e){n("preset_apply",e)},"m",0,function(e){n("prompt_preset_click",e)},"r",0,function(){n("room_clear_characters")},"i",0,function(){n("room_clear_history")},"w",0,function(e){n("room_create",e)},"b",0,function(e){n("room_delete",e)},"U",0,function(e){n("room_delete_all",e)},"j",0,function(e){n("room_duplicate",e)},"e",0,function(){n("room_export_chat")},"V",0,function(){n("room_export_markdown")},"x",0,function(){n("room_import")},"Z",0,function(e){n("room_load_complete",e)},"F",0,function(e){n("room_load_failed",e)},"C",0,function(e){n("room_load_triggered",e)},"M",0,function(){n("room_share_models")},"a",0,function(e){n("room_summary_title_generated",e)},"n",0,function(e){n("room_update_title",e)},"G",0,function(e){n("tool_chip_expand",e)},"h",0,function(){n("tool_docs_click")},"_",0,function(e){n("tool_toggle",e)}])}]); //# sourceMappingURL=2wm2ez0uh1gj1.js.map