(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,489323,871709,882088,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(149423),i=e.i(16043),o=e.i(199168),a=e.i(139697),l=e.i(217411),s=e.i(378318),u=e.i(112252);function d(e){let i,o=(0,r.c)(2),{isOn:a}=e;if(!a){let e;return o[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(n.f,{"aria-hidden":!0}),o[0]=e):e=o[0],e}return o[1]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsxs)("span",{className:"relative inline-flex",children:[(0,t.jsx)(n.f,{"aria-hidden":!0,className:"mask-circle mask-radial-at-top-right mask-radial-from-transparent mask-radial-from-1.5 mask-radial-to-black mask-radial-to-1.5"}),(0,t.jsx)("span",{"aria-hidden":!0,"data-filters-on-dot":"",className:"absolute -right-1 -top-1 size-2 rounded-full bg-primary"})]}),o[1]=i):i=o[1],i}e.s(["f",0,function(e){let n,c,f,m,g,p,h,b,v,_,y,x,T,w,j,k,A=(0,r.c)(40),{activeCount:S,onReset:M,children:N}=e,P=(0,o.o)(),E=(0,i.useRef)(null);A[0]!==S||A[1]!==P?(n=P(S>0?"Filters, on":"Filters"),A[0]=S,A[1]=P,A[2]=n):n=A[2];let B=S>0;A[3]!==B?(c=(0,t.jsx)(d,{isOn:B}),A[3]=B,A[4]=c):c=A[4],A[5]!==P?(f=P("Filters"),A[5]=P,A[6]=f):f=A[6],A[7]!==f?(m=(0,t.jsx)("span",{className:"min-w-0 truncate",children:f}),A[7]=f,A[8]=m):m=A[8],A[9]!==n||A[10]!==c||A[11]!==m?(g=(0,t.jsx)(l.V,{render:(0,t.jsxs)(u.f,{hasChevron:!1,"aria-label":n,children:[c,m]})}),A[9]=n,A[10]=c,A[11]=m,A[12]=g):g=A[12],A[13]===Symbol.for("react.memo_cache_sentinel")?(p=()=>E.current?.querySelector('[role="radio"][data-checked]')??null,A[13]=p):p=A[13],A[14]!==P?(h=P("Filters"),A[14]=P,A[15]=h):h=A[15],A[16]!==h?(b=(0,t.jsx)(s.f,{title:h}),A[16]=h,A[17]=b):b=A[17],A[18]!==N?(v=(0,t.jsx)("div",{ref:E,className:"flex flex-col gap-7 pt-2",children:N}),A[18]=N,A[19]=v):v=A[19];let C=0===S;return A[20]!==P?(_=P("Reset"),A[20]=P,A[21]=_):_=A[21],A[22]!==M||A[23]!==C||A[24]!==_?(y=(0,t.jsx)(a.Button,{variant:"outline",size:"lg",disabled:C,onClick:M,children:_}),A[22]=M,A[23]=C,A[24]=_,A[25]=y):y=A[25],A[26]!==P?(x=P("Done"),A[26]=P,A[27]=x):x=A[27],A[28]!==x?(T=(0,t.jsx)(l.O,{render:(0,t.jsx)(a.Button,{size:"lg",children:x})}),A[28]=x,A[29]=T):T=A[29],A[30]!==y||A[31]!==T?(w=(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-3 px-4 pt-5",children:[y,T]}),A[30]=y,A[31]=T,A[32]=w):w=A[32],A[33]!==v||A[34]!==w||A[35]!==b?(j=(0,t.jsx)(l.U,{side:"bottom",showCloseButton:!1,keepMounted:!1,initialFocus:p,className:"px-0 pt-3",children:(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[b,v,w]})}),A[33]=v,A[34]=w,A[35]=b,A[36]=j):j=A[36],A[37]!==j||A[38]!==g?(k=(0,t.jsxs)(l.j,{swipeDirection:"down",children:[g,j]}),A[37]=j,A[38]=g,A[39]=k):k=A[39],k}],489323);var c=e.i(136562),f=e.i(193461);e.s(["f",0,function(e){let n,o,a,l,s=(0,r.c)(17),{label:u,options:d,value:m,onValueChange:g}=e,[p,h]=(0,i.useState)(null),b=p??m;s[0]!==g||s[1]!==b?(n=e=>{e!==b&&(h(e),requestAnimationFrame(()=>{setTimeout(()=>{g(e),h(null)},0)}))},s[0]=g,s[1]=b,s[2]=n):n=s[2];let v=n;if(s[3]!==v?(o=e=>{"string"==typeof e&&v(e)},s[3]=v,s[4]=o):o=s[4],s[5]!==d||s[6]!==v||s[7]!==b){let e;s[9]!==v||s[10]!==b?(e=e=>{let r=e.value===b;return(0,t.jsxs)("div",{role:"presentation",onClick:()=>v(e.value),className:(0,c.f)("flex min-h-11 flex-1 cursor-pointer items-center justify-center rounded-md border px-3","text-button select-none transition-colors duration-quick active:bg-card-hover has-focus-visible:shadow-focus",r?"border-foreground bg-background text-foreground ring-1 ring-inset ring-foreground":"border-input bg-background text-muted-foreground"),children:[(0,t.jsx)("span",{className:"sr-only",children:(0,t.jsx)(f.a,{value:e.value,"aria-label":e.label})}),e.label]},e.value)},s[9]=v,s[10]=b,s[11]=e):e=s[11],a=d.map(e),s[5]=d,s[6]=v,s[7]=b,s[8]=a}else a=s[8];return s[12]!==u||s[13]!==b||s[14]!==o||s[15]!==a?(l=(0,t.jsx)(f.x,{"aria-label":u,value:b,onValueChange:o,className:"flex flex-wrap gap-2",children:a}),s[12]=u,s[13]=b,s[14]=o,s[15]=a,s[16]=l):l=s[16],l}],871709),e.s(["f",0,function(e){let n,i,o,a,l=(0,r.c)(10),{title:s,description:u,children:d}=e;return l[0]!==s?(n=(0,t.jsx)("h3",{className:"text-body font-medium text-foreground",children:s}),l[0]=s,l[1]=n):n=l[1],l[2]!==u?(i=void 0!==u&&(0,t.jsx)("p",{className:"text-caption text-muted-foreground",children:u}),l[2]=u,l[3]=i):i=l[3],l[4]!==n||l[5]!==i?(o=(0,t.jsxs)("div",{className:"flex flex-col gap-0.5",children:[n,i]}),l[4]=n,l[5]=i,l[6]=o):o=l[6],l[7]!==d||l[8]!==o?(a=(0,t.jsxs)("section",{className:"flex flex-col gap-3 px-4",children:[o,d]}),l[7]=d,l[8]=o,l[9]=a):a=l[9],a}],882088)},839352,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(288265),i=e.i(354896),o=e.i(498449),a=e.i(612927),l=e.i(16043),s=e.i(136562),u=e.i(536397),d=e.i(261499),c=e.i(624112);function f(e){let l,u,f,m,g,p,h,b,v,_,y,x=(0,r.c)(47),{label:T,selected:w,isOpen:j,onClear:k,shouldShowLabelWhenActive:A}=e,S=(0,n.f)();if(x[0]!==S||x[1]!==j||x[2]!==T||x[3]!==w||x[4]!==A){g=Symbol.for("react.early_return_sentinel");e:{let e,r,n,a,p,h,b,v=T.toLowerCase();if(!w){let e,r,n,i=S("Filter by {filterName}",{filterName:v});x[10]===Symbol.for("react.memo_cache_sentinel")?(e=(0,s.f)("inline-flex h-8 shrink-0 items-center gap-1.5 rounded-md px-2.5 text-body","border border-dashed border-border bg-transparent","text-muted-foreground hover:border-solid hover:bg-accent hover:text-foreground","outline-none focus-visible:ring-1 focus-visible:ring-ring","cursor-pointer transition-colors"),r=(0,t.jsx)(o.f,{className:"size-3.5 shrink-0"}),x[10]=e,x[11]=r):(e=x[10],r=x[11]),x[12]!==T?(n=(0,t.jsx)("span",{children:T}),x[12]=T,x[13]=n):n=x[13],g=(0,t.jsx)(c.J,{render:(0,t.jsxs)("button",{type:"button","aria-label":i,"aria-expanded":j,className:e,children:[r,n]})});break e}x[14]===Symbol.for("react.memo_cache_sentinel")?(f=(0,s.f)("inline-flex h-8 max-w-full shrink-0 items-stretch overflow-hidden rounded-md","bg-accent text-accent-foreground shadow-border","transition-colors"),x[14]=f):f=x[14];let _=S("Edit {filterName} filter",{filterName:v});x[15]===Symbol.for("react.memo_cache_sentinel")?(e=(0,s.f)("flex flex-1 items-center gap-2 px-2.5 text-body","min-w-28","outline-none focus-visible:ring-1 focus-visible:ring-ring","cursor-pointer hover:bg-accent/80"),x[15]=e):e=x[15],x[16]!==w.dotClass?(r=w.dotClass&&(0,t.jsx)("span",{"aria-hidden":"true",className:(0,s.f)("inline-block size-2 shrink-0 rounded-full",w.dotClass)}),x[16]=w.dotClass,x[17]=r):r=x[17],x[18]!==S||x[19]!==T||x[20]!==w.label||x[21]!==A?(n=A?S("{filterName}: {value}",{filterName:T,value:w.label}):w.label,x[18]=S,x[19]=T,x[20]=w.label,x[21]=A,x[22]=n):n=x[22],x[23]!==n?(a=(0,t.jsx)("span",{className:"truncate font-medium",children:n}),x[23]=n,x[24]=a):a=x[24],x[25]!==a||x[26]!==r?(p=(0,t.jsxs)("span",{className:"flex min-w-0 flex-1 items-center gap-2",children:[r,a]}),x[25]=a,x[26]=r,x[27]=p):p=x[27];let y=j&&"-scale-y-100";x[28]!==y?(h=(0,s.f)("size-3.5 shrink-0 text-muted-foreground",d.a,y),x[28]=y,x[29]=h):h=x[29],x[30]!==h?(b=(0,t.jsx)(i.f,{className:h}),x[30]=h,x[31]=b):b=x[31],m=(0,t.jsx)(c.J,{render:(0,t.jsxs)("button",{type:"button","aria-label":_,"aria-expanded":j,className:e,children:[p,b]})}),l="button",u=S("Clear {filterName} filter",{filterName:v})}x[0]=S,x[1]=j,x[2]=T,x[3]=w,x[4]=A,x[5]=l,x[6]=u,x[7]=f,x[8]=m,x[9]=g}else l=x[5],u=x[6],f=x[7],m=x[8],g=x[9];return g!==Symbol.for("react.early_return_sentinel")?g:(x[32]!==S?(p=S("Clear filter"),x[32]=S,x[33]=p):p=x[33],x[34]!==k?(h=e=>{e.stopPropagation(),k()},x[34]=k,x[35]=h):h=x[35],x[36]===Symbol.for("react.memo_cache_sentinel")?(b=(0,s.f)("flex items-center justify-center px-2","border-l border-border/60","text-muted-foreground hover:bg-accent/80 hover:text-foreground","outline-none focus-visible:ring-1 focus-visible:ring-ring","cursor-pointer"),v=(0,t.jsx)(a.X,{className:"size-3.5"}),x[36]=b,x[37]=v):(b=x[36],v=x[37]),x[38]!==l||x[39]!==u||x[40]!==p||x[41]!==h?(_=(0,t.jsx)("button",{type:l,"aria-label":u,title:p,onClick:h,className:b,children:v}),x[38]=l,x[39]=u,x[40]=p,x[41]=h,x[42]=_):_=x[42],x[43]!==_||x[44]!==f||x[45]!==m?(y=(0,t.jsxs)("div",{className:f,children:[m,_]}),x[43]=_,x[44]=f,x[45]=m,x[46]=y):y=x[46],y)}e.s(["f",0,function(e){let n,i,o,a,d,m,g,p=(0,r.c)(24),[h,b]=(0,l.useState)(!1);p[0]!==e.options||p[1]!==e.value?(n=e.options.find(t=>t.value===e.value)??null,p[0]=e.options,p[1]=e.value,p[2]=n):n=p[2];let v=n;p[3]!==e?(i=t=>{e.onValueChange(t===e.value?null:t),b(!1)},p[3]=e,p[4]=i):i=p[4];let _=i;p[5]!==e?(o=()=>{e.onValueChange(null),b(!1)},p[5]=e,p[6]=o):o=p[6];let y=o,x=e.shouldShowLabelWhenActive??!1;if(p[7]!==y||p[8]!==h||p[9]!==e.label||p[10]!==v||p[11]!==x?(a=(0,t.jsx)(f,{label:e.label,selected:v,isOpen:h,onClear:y,shouldShowLabelWhenActive:x}),p[7]=y,p[8]=h,p[9]=e.label,p[10]=v,p[11]=x,p[12]=a):a=p[12],p[13]!==_||p[14]!==e.options){let r;p[16]!==_?(r=e=>(0,t.jsxs)(u.J,{value:e.value,onSelect:()=>_(e.value),layout:"slots",children:[e.dotClass&&(0,t.jsx)("span",{"aria-hidden":"true",className:(0,s.f)("inline-block size-2 shrink-0 rounded-full",e.dotClass)}),(0,t.jsx)("span",{className:"truncate",children:e.label})]},e.value),p[16]=_,p[17]=r):r=p[17],d=e.options.map(r),p[13]=_,p[14]=e.options,p[15]=d}else d=p[15];return p[18]!==d?(m=(0,t.jsx)(c.T,{align:"start",sideOffset:6,disableAnchorTracking:!0,className:"w-44 p-0",children:(0,t.jsx)(u.s,{children:(0,t.jsx)(u.X,{children:(0,t.jsx)(u.W,{children:d})})})}),p[18]=d,p[19]=m):m=p[19],p[20]!==h||p[21]!==a||p[22]!==m?(g=(0,t.jsxs)(c.V,{open:h,onOpenChange:b,children:[a,m]}),p[20]=h,p[21]=a,p[22]=m,p[23]=g):g=p[23],g}])},381462,e=>{"use strict";e.i(882844);var t=e.i(635157),r=e.i(297900);e.i(806);let n={TextGeneration:"text_generation",ImageGeneration:"image_generation",VideoGeneration:"video_generation",Embeddings:"embeddings",Rerank:"rerank",TTS:"tts",STT:"stt",Decisions:"decisions",Extractions:"extractions",Unknown:"unknown"};t.z.enum(n),Object.values(r.f),e.s(["f",0,n])},806,e=>{"use strict";let t=Object.fromEntries(Object.entries(e.i(297900).f).map(([e,t])=>[e,t.apiType]));e.s(["f",0,t],806)},346802,e=>{"use strict";e.s(["f",0,{Text:"text",ComputerUseTool:"computer_use_tool",AudioTool:"audio_tool",AudioOutput:"audio_output",FastApply:"fast_apply",Embeddings:"embeddings",ImageInputEmbeddings:"image_input_embeddings",Reasoning:"reasoning",ImageGeneration:"image_generation",ImageGenerationWithoutText:"image_generation_without_text",VideoGeneration:"video_generation",Rerank:"rerank",TTS:"tts",TTSMaiVoice:"tts_mai_voice",STT:"stt",STTMaiTranscribe:"stt_mai_transcribe",OCR:"ocr",Decisions:"decisions",Extractions:"extractions"}])},980352,854494,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(136562),i=e.i(751155);e.i(707060);var o=e.i(387086),a=e.i(288265),l=e.i(919035),s=e.i(14982),u=e.i(110513),d=e.i(651681);let c={name:"shield-question-mark",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.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3",key:"mhlwft"}],["path",{d:"M12 17h.01",key:"p32p05"}]],aliases:["shield-question"]};c.node;let f=(0,d.f)(c),m={label:(0,o.b)("Trains"),colorClassName:"text-negative-text",Icon:s.f},g={"trains-retains":{...m,description:(0,o.b)("Trains: this provider may use prompts for training and may retain prompt data.")},"trains-does-not-retain":{...m,description:(0,o.b)("Trains: this provider may use prompts for training, but does not retain prompt data.")},"trains-unreported":{...m,description:(0,o.b)("Trains: this provider may use prompts for training, and has not reported whether it retains prompt data.")},logs:{label:(0,o.b)("Logs"),description:(0,o.b)("Logs: this provider may retain prompts, but does not use them for training."),colorClassName:"text-warning-text",Icon:s.f},unreported:{label:(0,o.b)("Unreported"),description:(0,o.b)("Unreported: this provider does not train on prompts, but has not reported whether it retains prompt data."),colorClassName:"text-muted-foreground",Icon:f},private:{label:(0,o.b)("Private"),description:(0,o.b)("Private: this provider does not train on prompts and does not retain prompt data."),colorClassName:"text-positive-text",Icon:u.f},"safety-retention":{label:(0,o.b)("Safety Retention"),description:(0,o.b)("Safety Retention: may retain prompts and responses from any request, only to prevent abuse. Not used for training."),colorClassName:"text-positive-text",Icon:u.f}};function p(e){let o,s,u,d,c,f,m,p,h,b,v,_,y=(0,r.c)(26),{dataPolicy:x}=e,T=(0,a.f)(),w=(0,l.f)();if(y[0]!==x||y[1]!==T||y[2]!==w){let{label:e,description:t,colorClassName:r,Icon:a}=g[function({training:e,retainsPrompts:t,safetyRetention:r}){return void 0===t?e?"trains-unreported":"unreported":e?t?"trains-retains":"trains-does-not-retain":t?"logs":r?"safety-retention":"private"}(x)];u=i.Tooltip,h=w(t),s=i.TooltipNonInteractiveTrigger,c="img",f=T("Privacy: {label}",{label:w(e)}),m=-1,p="inline-flex shrink-0 cursor-help items-center",o=a,d=(0,n.f)("size-3.5 shrink-0",r),y[0]=x,y[1]=T,y[2]=w,y[3]=o,y[4]=s,y[5]=u,y[6]=d,y[7]=c,y[8]=f,y[9]=m,y[10]=p,y[11]=h}else o=y[3],s=y[4],u=y[5],d=y[6],c=y[7],f=y[8],m=y[9],p=y[10],h=y[11];return y[12]!==o||y[13]!==d?(b=(0,t.jsx)(o,{className:d}),y[12]=o,y[13]=d,y[14]=b):b=y[14],y[15]!==s||y[16]!==c||y[17]!==f||y[18]!==m||y[19]!==p||y[20]!==b?(v=(0,t.jsx)(s,{role:c,"aria-label":f,tabIndex:m,className:p,children:b}),y[15]=s,y[16]=c,y[17]=f,y[18]=m,y[19]=p,y[20]=b,y[21]=v):v=y[21],y[22]!==u||y[23]!==h||y[24]!==v?(_=(0,t.jsx)(u,{content:h,children:v}),y[22]=u,y[23]=h,y[24]=v,y[25]=_):_=y[25],_}var h=e.i(912147),b=e.i(972016),v=e.i(691880),_=e.i(196991),y=e.i(96659),x=e.i(901117);let T={[v.P.Us]:{label:(0,o.b)("US in-region"),description:(0,o.b)("US in-region: the provider runs this endpoint in a US data center, so prompts and completions are processed in the US."),flagSrc:"/images/flags/us.svg"},[v.P.Europe]:{label:(0,o.b)("EU in-region"),description:(0,o.b)("EU in-region: the provider runs this endpoint in a European data center (EU, UK, Switzerland, or Norway), so prompts and completions are processed in Europe."),flagSrc:"/images/flags/eu.svg"}};function w(e){let o,s,u,d,c,f,m,g,p,v=(0,r.c)(21),{endpoint:w}=e,j=(0,a.f)(),k=(0,l.f)(),A=(0,b.z)(w);if(null===A)return null;let{label:S,description:M,flagSrc:N}=T[A];return v[0]!==M||v[1]!==k?(o=k(M),v[0]=M,v[1]=k,v[2]=o):o=v[2],v[3]!==o?(s=(0,t.jsx)("span",{children:o}),v[3]=o,v[4]=s):s=v[4],v[5]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsx)(h.f,{href:x.W,children:(0,t.jsx)(_.T,{children:"Learn how to use in-region routing"})}),v[5]=u):u=v[5],v[6]!==s?(d=(0,t.jsxs)("span",{className:"flex flex-col gap-1",children:[s,u]}),v[6]=s,v[7]=d):d=v[7],v[8]!==j||v[9]!==S||v[10]!==k?(c=j("Region: {label}",{label:k(S)}),v[8]=j,v[9]=S,v[10]=k,v[11]=c):c=v[11],v[12]===Symbol.for("react.memo_cache_sentinel")?(f=(0,n.f)("relative h-3 w-4 overflow-hidden","after:pointer-events-none after:absolute after:inset-0 after:ring-1 after:ring-border after:ring-inset"),v[12]=f):f=v[12],v[13]!==N?(m=(0,t.jsx)("span",{className:f,children:(0,t.jsx)(y.default,{src:N,alt:"",width:16,height:12,className:"size-full"})}),v[13]=N,v[14]=m):m=v[14],v[15]!==c||v[16]!==m?(g=(0,t.jsx)(i.TooltipNonInteractiveTrigger,{role:"img","aria-label":c,tabIndex:-1,className:"inline-flex shrink-0 cursor-help rounded-none",children:m}),v[15]=c,v[16]=m,v[17]=g):g=v[17],v[18]!==d||v[19]!==g?(p=(0,t.jsx)(i.Tooltip,{content:d,children:g}),v[18]=d,v[19]=g,v[20]=p):p=v[20],p}var j=e.i(222508),k=e.i(927099),A=e.i(480534),S=e.i(300326);let M="/docs/guides/features/service-tiers";function N(e){let n,o,a,l,s,u,d,c,f,m=(0,r.c)(17),{endpoint:g}=e;if(m[0]!==g){a=Symbol.for("react.early_return_sentinel");e:{if(void 0===(n=(0,k.v)(g))){a=null;break e}o=(0,A.N)(n)}m[0]=g,m[1]=n,m[2]=o,m[3]=a}else n=m[1],o=m[2],a=m[3];if(a!==Symbol.for("react.early_return_sentinel"))return a;let p=o;return m[4]!==n?(l=(0,t.jsx)("span",{children:(0,t.jsx)(S.f,{branch:n,priority:"Priority service tier endpoint.",fast:'Priority service tier endpoint; "Fast" is the provider\'s label for it.',flex:"Flex service tier endpoint.",ultrafast:"Ultrafast service tier endpoint.",turbo:'Priority service tier endpoint; "Turbo" is the provider\'s label for it.',highspeed:'Priority service tier endpoint; "Highspeed" is the provider\'s label for it.',prime:'Priority service tier endpoint; "Prime" is the provider\'s label for it.'})}),m[4]=n,m[5]=l):l=m[5],m[6]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)(h.f,{href:M,children:"Learn how to use service tiers"}),m[6]=s):s=m[6],m[7]!==l?(u=(0,t.jsx)(_.T,{children:(0,t.jsxs)("span",{className:"flex flex-col gap-1",children:[l,s]})}),m[7]=l,m[8]=u):u=m[8],m[9]!==n?(d=(0,j.u)((0,A.C)(n),"cursor-help leading-none"),m[9]=n,m[10]=d):d=m[10],m[11]!==p||m[12]!==d?(c=(0,t.jsx)(i.TooltipNonInteractiveTrigger,{tabIndex:-1,className:d,children:p}),m[11]=p,m[12]=d,m[13]=c):c=m[13],m[14]!==u||m[15]!==c?(f=(0,t.jsx)(i.Tooltip,{content:u,children:c}),m[14]=u,m[15]=c,m[16]=f):f=m[16],f}e.s(["d",0,M,"E",0,N],854494),e.s(["f",0,function(e){let n,i,o,a,l=(0,r.c)(11),{endpoint:s,isServiceTierHidden:u}=e,d=void 0!==u&&u;return l[0]!==s?(n=(0,t.jsx)(w,{endpoint:s}),l[0]=s,l[1]=n):n=l[1],l[2]!==s||l[3]!==d?(i=!d&&(0,t.jsx)(N,{endpoint:s}),l[2]=s,l[3]=d,l[4]=i):i=l[4],l[5]!==s.data_policy?(o=(0,t.jsx)(p,{dataPolicy:s.data_policy}),l[5]=s.data_policy,l[6]=o):o=l[6],l[7]!==n||l[8]!==i||l[9]!==o?(a=(0,t.jsxs)(t.Fragment,{children:[n,i,o]}),l[7]=n,l[8]=i,l[9]=o,l[10]=a):a=l[10],a}],980352)},59634,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(871709),i=e.i(882088),o=e.i(522396),a=e.i(960773),l=e.i(199168),s=e.i(19773),u=e.i(682964);function d(e){return(0,t.jsx)(o.Y,{value:e,children:(0,u.W)(e)},e)}function c(e){return{value:e,label:(0,u.W)(e)}}e.s(["f",0,function(e){let f,m,g,p,h,b,v,_=(0,r.c)(35),{endpointStats:y,latencyLabel:x,shouldShowThroughputColumn:T,presentation:w}=e,j=(0,a.Q)(),k=(0,l.o)(),[A,S]=(0,s.o)(u.f,u.Y);if(!(0,u.m)(y))return null;_[0]!==k||_[1]!==x||_[2]!==T?(f=T?k("{latencyLabel} / throughput",{latencyLabel:x}):x,_[0]=k,_[1]=x,_[2]=T,_[3]=f):f=_[3];let M=f;_[4]!==j||_[5]!==w||_[6]!==S?(m=e=>{(0,u.g)(e)&&(j.capture("change_model_page_provider_filter",{filter:"percentile",value:e,..."sheet-section"===w?{source:"mobile_sheet"}:{}}),S(e===u.R?null:e))},_[4]=j,_[5]=w,_[6]=S,_[7]=m):m=_[7];let N=m,P=A??u.R;if("sheet-section"===w){let e,r,o,a,l;return _[8]!==k||_[9]!==M?(e=k("{label} percentile",{label:M}),_[8]=k,_[9]=M,_[10]=e):e=_[10],_[11]!==k||_[12]!==M?(r=k("{label} percentile",{label:M}),_[11]=k,_[12]=M,_[13]=r):r=_[13],_[14]===Symbol.for("react.memo_cache_sentinel")?(o=u.j.map(c),_[14]=o):o=_[14],_[15]!==N||_[16]!==r||_[17]!==P?(a=(0,t.jsx)(n.f,{label:r,options:o,value:P,onValueChange:N}),_[15]=N,_[16]=r,_[17]=P,_[18]=a):a=_[18],_[19]!==e||_[20]!==a?(l=(0,t.jsx)(i.f,{title:e,children:a}),_[19]=e,_[20]=a,_[21]=l):l=_[21],l}return _[22]!==M?(g=(0,t.jsx)("span",{className:"whitespace-nowrap text-overline text-muted-foreground",children:M}),_[22]=M,_[23]=g):g=_[23],_[24]!==k||_[25]!==M?(p=k("{label} percentile",{label:M}),_[24]=k,_[25]=M,_[26]=p):p=_[26],_[27]===Symbol.for("react.memo_cache_sentinel")?(h=u.j.map(d),_[27]=h):h=_[27],_[28]!==N||_[29]!==p||_[30]!==P?(b=(0,t.jsx)(o.c,{size:"sm","aria-label":p,value:P,onValueChange:N,children:h}),_[28]=N,_[29]=p,_[30]=P,_[31]=b):b=_[31],_[32]!==g||_[33]!==b?(v=(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-end gap-x-2 gap-y-1",children:[g,b]}),_[32]=g,_[33]=b,_[34]=v):v=_[34],v}])},322964,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(871709),i=e.i(882088),o=e.i(839352),a=e.i(960773),l=e.i(199168),s=e.i(988590),u=e.i(819076),d=e.i(19773);e.i(16043);var c=e.i(311778);let f="quantization",m=(0,d.E)(Object.values(u.v)).withOptions({history:"push"});function g(e){return[...new Set(e.map(e=>e.quantization))]}function p(e){return{value:e.value,label:(0,c.R)(e.value)}}function h(e){return{value:e,label:(0,c.e)(e)}}e.s(["H",0,f,"j",0,function(e){let c,b,v,_,y=(0,r.c)(34),{endpointStats:x,presentation:T}=e,w=(0,a.Q)(),j=(0,l.o)(),[k,A]=(0,d.o)(f,m);y[0]!==x?(c=g(x).map(h),y[0]=x,y[1]=c):c=y[1];let S=c;if(S.length<=1)return null;y[2]!==w||y[3]!==T||y[4]!==A?(b=e=>{let t=(0,s.q)(e,u.v)?e:null;w.capture("change_model_page_provider_filter",{filter:"quantization",value:t??"all",..."sheet-section"===T?{source:"mobile_sheet"}:{}}),A(t)},y[2]=w,y[3]=T,y[4]=A,y[5]=b):b=y[5];let M=b;if("sheet-section"===T){let e,r,o,a,l,s,u,d;y[6]!==j?(e=j("Quantization"),y[6]=j,y[7]=e):e=y[7],y[8]!==j?(r=j("Quantization"),y[8]=j,y[9]=r):r=y[9],y[10]!==j?(o=j("All"),y[10]=j,y[11]=o):o=y[11],y[12]!==o?(a={value:"all",label:o},y[12]=o,y[13]=a):a=y[13],y[14]!==S||y[15]!==a?(l=[a,...S.map(p)],y[14]=S,y[15]=a,y[16]=l):l=y[16];let c=k??"all";return y[17]!==M?(s=e=>M("all"===e?null:e),y[17]=M,y[18]=s):s=y[18],y[19]!==r||y[20]!==l||y[21]!==c||y[22]!==s?(u=(0,t.jsx)(n.f,{label:r,options:l,value:c,onValueChange:s}),y[19]=r,y[20]=l,y[21]=c,y[22]=s,y[23]=u):u=y[23],y[24]!==u||y[25]!==e?(d=(0,t.jsx)(i.f,{title:e,children:u}),y[24]=u,y[25]=e,y[26]=d):d=y[26],d}return y[27]!==j?(v=j("Quantization"),y[27]=j,y[28]=v):v=y[28],y[29]!==M||y[30]!==S||y[31]!==k||y[32]!==v?(_=(0,t.jsx)(o.f,{label:v,options:S,value:k,onValueChange:M,shouldShowLabelWhenActive:!0}),y[29]=M,y[30]=S,y[31]=k,y[32]=v,y[33]=_):_=y[33],_},"f",0,g,"r",0,m])},268176,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(871709),i=e.i(882088),o=e.i(839352),a=e.i(960773),l=e.i(199168),s=e.i(19773),u=e.i(420863),d=e.i(411032);e.s(["f",0,function(e){let c,f,m,g,p,h,b,v=(0,r.c)(38),{efforts:_,presentation:y}=e,x=(0,a.Q)(),T=(0,l.M)(),w=(0,l.o)(),[j,k]=(0,s.o)(d.Z,d.O);if(v[0]!==_||v[1]!==w||v[2]!==T||v[3]!==x||v[4]!==y||v[5]!==j||v[6]!==k){g=Symbol.for("react.early_return_sentinel");e:{let e,r,o;if(v[11]!==T?(e=e=>({value:e,label:(0,d.r)(T,e)}),v[11]=T,v[12]=e):e=v[12],m=_.map(e),v[13]!==x||v[14]!==y||v[15]!==k?(r=e=>{let t=(0,d.K)(e)?e:null;x.capture("change_model_page_provider_filter",{filter:"reasoning_effort",value:t??d.A,..."sheet-section"===y?{source:"mobile_sheet"}:{}}),k(t)},v[13]=x,v[14]=y,v[15]=k,v[16]=r):r=v[16],f=r,v[17]!==_||v[18]!==j?(o=(0,d.l)(j,_)??null,v[17]=_,v[18]=j,v[19]=o):o=v[19],c=o,"sheet-section"===y){let e,r,o,a,l;v[20]!==w?(e=w("Show latency and throughput at one effort level."),v[20]=w,v[21]=e):e=v[21],v[22]!==w?(r=w("All"),v[22]=w,v[23]=r):r=v[23],v[24]!==r?(o={value:d.A,label:r},v[24]=r,v[25]=o):o=v[25],v[26]!==f?(a=e=>f(e===d.A?null:e),v[26]=f,v[27]=a):a=v[27];let s=(0,t.jsx)(n.f,{label:d.R,options:[o,...m],value:c??d.A,onValueChange:a});v[28]!==e||v[29]!==s?(l=(0,t.jsx)(i.f,{title:d.R,description:e,children:s}),v[28]=e,v[29]=s,v[30]=l):l=v[30],g=l;break e}}v[0]=_,v[1]=w,v[2]=T,v[3]=x,v[4]=y,v[5]=j,v[6]=k,v[7]=c,v[8]=f,v[9]=m,v[10]=g}else c=v[7],f=v[8],m=v[9],g=v[10];return g!==Symbol.for("react.early_return_sentinel")?g:(v[31]!==c||v[32]!==f||v[33]!==m?(p=(0,t.jsx)(o.f,{label:d.R,options:m,value:c,onValueChange:f,shouldShowLabelWhenActive:!0}),v[31]=c,v[32]=f,v[33]=m,v[34]=p):p=v[34],v[35]===Symbol.for("react.memo_cache_sentinel")?(h=(0,t.jsx)(u.j,{label:d.R,tooltip:d.n}),v[35]=h):h=v[35],v[36]!==p?(b=(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[p,h]}),v[36]=p,v[37]=b):b=v[37],b)}])},682964,527982,e=>{"use strict";var t=e.i(427150);e.i(882844);var r=e.i(635157),n=e.i(27861);let i=["p50","p75","p90","p95","p99"];r.z.tuple([r.z.coerce.number(),r.z.coerce.number(),r.z.coerce.number(),r.z.coerce.number(),r.z.coerce.number()]);let o=r.z.object({colo:r.z.string(),request_count:r.z.coerce.number()});r.z.object({data:r.z.array(o)}).extend(n.f.shape);let a=r.z.object({date:r.z.string(),endpoint_id:r.z.string(),colo:r.z.string(),request_count:r.z.coerce.number()});r.z.object({data:r.z.array(a)}).extend(n.f.shape),e.s(["f",0,i],527982);let l=(0,e.i(19773).b)(i).withOptions({history:"replace"});function s(e){return e.toUpperCase()}e.s(["R",0,"p50","j",0,i,"f",0,"percentile","W",0,s,"b",0,function(e,t){return e?.[`${t}_latency`]??void 0},"G",0,function(e,t){return e?.[`${t}_throughput`]??void 0},"m",0,function(e){return e.some(e=>(0,t.f)(e.stats))},"g",0,function(e){return i.some(t=>t===e)},"Z",0,function(e){let r=e?.throughput_window_minutes;return(0,t.f)(e)&&(0,t.f)(r)&&r>e.window_minutes},"t",0,function(e,t){return"p50"===t?e:`${e} (${s(t)})`},"Y",0,l],682964)},411032,e=>{"use strict";var t=e.i(219643),r=e.i(988590),n=e.i(381462),i=e.i(368966);e.i(707060);var o=e.i(387086),a=e.i(19773);let l=[i.E.None,i.E.Minimal,i.E.Low,i.E.Medium,i.E.High,i.E.XHigh,i.E.Max],s=(0,a.b)(l).withOptions({history:"replace"}),u={[i.E.None]:(0,o.b)("None"),[i.E.Minimal]:(0,o.b)("Minimal"),[i.E.Low]:(0,o.b)("Low"),[i.E.Medium]:(0,o.b)("Medium"),[i.E.High]:(0,o.b)("High"),[i.E.XHigh]:(0,o.b)("Extra high"),[i.E.Max]:(0,o.b)("Max")};function d(e){let r=(0,t.w)(e.reasoning_config);return r?l.filter(e=>r.includes(e)):[]}e.s(["A",0,"all","Z",0,"reasoningEffort","R",0,"Reasoning effort","n",0,"Latency and throughput (output tokens per second, reasoning tokens included) are measured per request. Filter by the reasoning effort requested to compare like with like. Slices with few requests are noisier than the blended view.","r",0,function(e,t){return e(u[t])},"x",0,d,"K",0,function(e){return(0,r.q)(e,i.E)},"O",0,s,"l",0,function(e,t){if(null!==e&&t.includes(e))return e},"L",0,function({model:e,perfWorkload:t,isPrivateView:r}){return!r&&e.supports_reasoning&&t===n.f.TextGeneration&&d(e).length>1}])},653051,707690,e=>{"use strict";var t=e.i(663456),r=e.i(960773),n=e.i(19773),i=e.i(682964),o=e.i(322964),a=e.i(411032);let l={Percentile:"percentile",ReasoningEffort:"reasoningEffort",Quantization:"quantization"};e.s(["E",0,l,"S",0,function(e,s){let u,d,c,f,m,g,p,h,b=(0,t.c)(27),v=(0,r.Q)(),[_,y]=(0,n.o)(i.f,i.Y),[x,T]=(0,n.o)(a.Z,a.O),[w,j]=(0,n.o)(o.H,o.r);b[0]!==_||b[1]!==w||b[2]!==x?(u={[l.Percentile]:_,[l.ReasoningEffort]:x,[l.Quantization]:w},b[0]=_,b[1]=w,b[2]=x,b[3]=u):u=b[3];let k=u;b[4]!==y?(d=()=>void y(null),b[4]=y,b[5]=d):d=b[5],b[6]!==T?(c=()=>void T(null),b[6]=T,b[7]=c):c=b[7],b[8]!==j?(f=()=>void j(null),b[8]=j,b[9]=f):f=b[9],b[10]!==d||b[11]!==c||b[12]!==f?(m={[l.Percentile]:d,[l.ReasoningEffort]:c,[l.Quantization]:f},b[10]=d,b[11]=c,b[12]=f,b[13]=m):m=b[13];let A=m;if(b[14]!==e||b[15]!==k){let t;b[17]!==k?(t=e=>null!==k[e],b[17]=k,b[18]=t):t=b[18],g=e.filter(t),b[14]=e,b[15]=k,b[16]=g}else g=b[16];return b[19]!==A||b[20]!==e||b[21]!==v||b[22]!==s?(p=()=>{for(let t of(v.capture("change_model_page_provider_filter",{filter:"reset",value:"all",source:"mobile_sheet",section:s}),e))A[t]()},b[19]=A,b[20]=e,b[21]=v,b[22]=s,b[23]=p):p=b[23],b[24]!==g.length||b[25]!==p?(h={activeCount:g.length,reset:p},b[24]=g.length,b[25]=p,b[26]=h):h=b[26],h}],653051),e.s(["f",0,function(e){let r,i,o=(0,t.c)(6);o[0]!==e?(r=(0,a.L)(e),o[0]=e,o[1]=r):r=o[1];let l=r,s=(0,a.x)(e.model),[u]=(0,n.o)(a.Z,a.O),d=l?(0,a.l)(u,s):void 0;return o[2]!==s||o[3]!==l||o[4]!==d?(i={showReasoningEffortSelect:l,selectableEfforts:s,reasoningEffort:d},o[2]=s,o[3]=l,o[4]=d,o[5]=i):i=o[5],i}],707690)},559310,e=>{"use strict";var t=e.i(988590),r=e.i(691880),n=e.i(972016),i=e.i(927099),o=e.i(67089),a=e.i(730765),l=e.i(993914),s=e.i(147832),u=e.i(882844);let d=e.i(635157).z.enum(["anthropic","openai","google","xai","other"]),c={Anthropic:d.enum.anthropic,OpenAI:d.enum.openai,Google:d.enum.google,Xai:d.enum.xai,Other:d.enum.other};var f=e.i(153722);function m(e){switch((0,f.z)(e)){case"anthropic":return c.Anthropic;case"openai":return c.OpenAI;case"google":return c.Google;case"x-ai":return c.Xai;default:return c.Other}}function g(e){return{enforceZdrAnthropic:e.shouldEnforceZdrAnthropic,enforceZdrOpenAI:e.shouldEnforceZdrOpenAI,enforceZdrGoogle:e.shouldEnforceZdrGoogle,enforceZdrXai:e.shouldEnforceZdrXai,enforceZdrOther:e.shouldEnforceZdrOther}}function p(e){return{[c.Anthropic]:e.enforceZdrAnthropic,[c.OpenAI]:e.enforceZdrOpenAI,[c.Google]:e.enforceZdrGoogle,[c.Xai]:e.enforceZdrXai,[c.Other]:e.enforceZdrOther}}function h(e,t){return{google:v({accountChoice:e.shouldAllowSafetyRetentionGoogle,doesAccountEnforceZdr:e.shouldEnforceZdrGoogle,guardrails:t.map(e=>({choice:e.allow_safety_retention_google,doesEnforceZdr:!0===e.enforce_zdr_google}))}),other:v({accountChoice:e.shouldAllowSafetyRetentionOther,doesAccountEnforceZdr:e.shouldEnforceZdrOther,guardrails:t.map(e=>({choice:e.allow_safety_retention_other,doesEnforceZdr:!0===e.enforce_zdr_other}))})}}function b(e,t){return!0!==e.data_policy.retainsPrompts&&(!0!==e.data_policy.safetyRetention||(m(e.model.permaslug)===c.Google?t.google:t.other))}function v({accountChoice:e,doesAccountEnforceZdr:t,guardrails:r}){if(t)return e&&!r.some(({choice:e})=>!1===e);let n=r.filter(({doesEnforceZdr:e})=>e);return 0===n.length?e:n.every(({choice:t})=>t??e)}var _=e.i(108379);let y=_.C.Medium,x={[_.C.Low]:2,[_.C.Medium]:1,[_.C.High]:0};var T=e.i(80864),w=e.i(497214),j=e.i(390129),k=e.i(647204),A=e.i(514590);function S(e,t){let r=[...e,...t??[]],n=new Set;return r.filter(e=>{let t=`${e.pattern}:${e.action}`;return!n.has(t)&&(n.add(t),!0)})}function M(e,t){return[...new Set([...e,...t??[]])]}let N={[T.F.Flag]:0,[T.F.Redact]:1,[T.F.Block]:2};function P(e,t){return t===j.i.Block||e===j.i.Block?j.i.Block:t===j.i.Flag?j.i.Flag:e}let E={[j.O.UserOnly]:1,[j.O.AllMessages]:2},B="openrouter.guardrail.zdr.violation",C="openrouter.guardrail.data_policy.violation",G="openrouter.guardrail.provider_not_allowed",R="openrouter.guardrail.provider_ignored",I={[s.m.ZdrViolationByAccount]:{key:B,reasonTags:["source:account"]},[s.m.ZdrViolationByGuardrail]:{key:B,reasonTags:["source:guardrail"]},[s.m.FreeModelTrainingViolationByAccount]:{key:C,reasonTags:["type:training","source:account"]},[s.m.PaidModelTrainingViolationByAccount]:{key:C,reasonTags:["type:training","source:account"]},[s.m.FreeModelTrainingViolationByGuardrail]:{key:C,reasonTags:["type:training","source:guardrail"]},[s.m.PaidModelTrainingViolationByGuardrail]:{key:C,reasonTags:["type:training","source:guardrail"]},[s.m.FreeModelPublicationViolationByAccount]:{key:C,reasonTags:["type:publication","source:account"]},[s.m.FreeModelPublicationViolationByGuardrail]:{key:C,reasonTags:["type:publication","source:guardrail"]},[s.m.ProviderNotAllowedByGuardrail]:{key:G,reasonTags:["source:guardrail"]},[s.m.ProviderNotAllowedByAccount]:{key:G,reasonTags:["source:account"]},[s.m.ProviderIgnoredByGuardrail]:{key:R,reasonTags:["source:guardrail"]},[s.m.ProviderIgnoredByAccount]:{key:R,reasonTags:["source:account"]},[s.m.ModelIgnoredByGuardrail]:{key:"openrouter.guardrail.model_ignored",reasonTags:[]},[s.m.DataRegionNotAllowedByGuardrail]:{key:"openrouter.guardrail.data_region_not_allowed",reasonTags:[]},[s.m.ModelAuthorNotAllowedByAccount]:{key:"openrouter.guardrail.model_author_not_allowed",reasonTags:["source:account"]},[s.m.ModelAuthorBlockedByAccount]:{key:"openrouter.guardrail.model_author_blocked",reasonTags:["source:account"]},[s.m.ProviderRequiresWorkspaceKey]:void 0,[s.m.ByokOnlyRequiresOwnKey]:void 0,[s.m.ServiceTierDisabledByWorkspace]:void 0};function F(e,{perProviderZdr:t,allowSafetyRetention:r}){return t[m(e.model.permaslug)]&&!b(e,r)}function z(e,t){return t&&e.is_free&&e.data_policy.training}function O(e,t){return t&&!e.is_free&&e.data_policy.training}function D(e,t){return t&&!0===e.data_policy.canPublish}let V="data-policy",q="account-provider",Z="account-model-author",L="guardrail",U="workspace-byok",H={[s.m.ZdrViolationByAccount]:V,[s.m.ZdrViolationByGuardrail]:V,[s.m.FreeModelTrainingViolationByAccount]:V,[s.m.FreeModelTrainingViolationByGuardrail]:V,[s.m.PaidModelTrainingViolationByAccount]:V,[s.m.PaidModelTrainingViolationByGuardrail]:V,[s.m.FreeModelPublicationViolationByAccount]:V,[s.m.FreeModelPublicationViolationByGuardrail]:V,[s.m.ProviderNotAllowedByAccount]:q,[s.m.ProviderIgnoredByAccount]:q,[s.m.ModelAuthorNotAllowedByAccount]:Z,[s.m.ModelAuthorBlockedByAccount]:Z,[s.m.ProviderNotAllowedByGuardrail]:L,[s.m.ProviderIgnoredByGuardrail]:L,[s.m.ModelIgnoredByGuardrail]:L,[s.m.DataRegionNotAllowedByGuardrail]:L,[s.m.ProviderRequiresWorkspaceKey]:U,[s.m.ByokOnlyRequiresOwnKey]:U,[s.m.ServiceTierDisabledByWorkspace]:"workspace-routing"};e.s(["m",0,function({endpoints:e,userSettings:d,isUserLoggedIn:f,getGuardrailReasons:v=()=>[]}){var T;if(!f)return new Map;let{ineligible:B}=(T={endpoints:e,userSettings:d,guardrails:[]},(0,l.f)("or.guardrail.filter_endpoints",e=>{let l,d,f,v,{endpoints:B,userSettings:C,guardrails:G,defaultRowSlugsByModel:R,skipDataRegionCheck:V,doesRequestEnforceZdr:q}=T,Z=performance.now();e.setAttribute("or.guardrail.input_endpoint_count",B.length),e.setAttribute("or.guardrail.guardrail_count",G.length);let L=function({userSettings:e,guardrails:n,endpoints:a,defaultRowSlugsByModel:l,skipDataRegionCheck:s=!1}){let d=function(e){if(0===e.length)return{allowedProviders:null,allowedModels:null,allowedDataRegions:null,ignoredModels:[],enforceZdr:!1,enforceZdrAnthropic:!1,enforceZdrOpenAI:!1,enforceZdrGoogle:!1,enforceZdrXai:!1,enforceZdrOther:!1,disableFreeModelPublication:!1,disableFreeModelTraining:!1,disablePaidModelTraining:!1,contentFilters:[],ignoredProviders:[],presidioFilters:[],modelArmorMode:null,modelArmorConfidenceLevel:y,lakeraMode:null,enableRegexPromptInjection:!1,regexPromptInjectionScanScope:j.O.AllMessages};let t=null,r=null,n=function(e){let t=null;for(let r of e){let e=r?.allowed_data_regions;if(null==e)continue;if(null===t){t=[...e];continue}let n=new Set(e);t=t.filter(e=>n.has(e))}return t}(e),i=[],a=!1,l=!1,s=!1,d=!1,c=!1,f=!1,m=!1,g=!1,p=!1,h=[],b=[],v=[],T=null,B=null,C=null,G=!1,R=j.O.UserOnly;for(let n of e){var I,F,z;t=(0,w.J)(t,n.allowed_providers??null),r=(0,w.J)(r,n.allowed_models??null),i=M(i,n.ignored_models),!0===n.enforce_zdr&&(a=!0),!0===n.enforce_zdr_anthropic&&(l=!0),!0===n.enforce_zdr_openai&&(s=!0),!0===n.enforce_zdr_google&&(d=!0),!0===n.enforce_zdr_xai&&(c=!0),!0===n.enforce_zdr_other&&(f=!0),!1===n.enable_free_model_publication&&(m=!0),!1===n.enable_free_model_training&&(g=!0),!1===n.enable_paid_model_training&&(p=!0);let e=(0,A.m)(n.content_filter_builtins);h=S(h,(0,A.C)(e)),h=S(h,(0,A.L)(n.content_filters)),b=M(b,n.ignored_providers),v=function(e,t){let r=[...e,...t],n=new Map;for(let e of r){var i,o;let t=n.get(e.entity_type);if(!t){n.set(e.entity_type,e);continue}n.set(e.entity_type,{entity_type:e.entity_type,action:(i=t.action,N[o=e.action]>N[i]?o:i),score_threshold:Math.min(t.score_threshold,e.score_threshold)})}return[...n.values()]}(v,(0,A.S)(e)),T=P(T,n.model_armor_injection_protection_mode);let y=function(e){if(null==e)return null;let t=(0,u.C)(_.e,e);return(0,k.V)(t)?((0,o.L)("model_armor_invalid_confidence_level",{raw_value:e,error:String(t.error)}),null):t.data}(n.model_armor_injection_confidence_level);y&&(B=B?x[I=B]>=x[y]?I:y:y),C=P(C,n.lakera_injection_protection_mode);let O=(0,A.l)(e);if(!1!==O){G=(F=G)===j.x.Block||O===j.x.Block?j.x.Block:F===j.x.Redact||O===j.x.Redact?j.x.Redact:O;let t=(0,A.g)(e);R=E[z=R]>E[t]?z:t}}return{allowedProviders:t,allowedModels:r,allowedDataRegions:n,ignoredModels:i,enforceZdr:a,enforceZdrAnthropic:l,enforceZdrOpenAI:s,enforceZdrGoogle:d,enforceZdrXai:c,enforceZdrOther:f,disableFreeModelPublication:m,disableFreeModelTraining:g,disablePaidModelTraining:p,contentFilters:h,ignoredProviders:b,presidioFilters:v,modelArmorMode:T,modelArmorConfidenceLevel:B??y,lakeraMode:C,enableRegexPromptInjection:G,regexPromptInjectionScanScope:!1===G?j.O.AllMessages:R}}(n);return{defaultRowSlugsByModel:l??(0,i.y)(a),userSettings:e,guardrail:{allowedProviderSet:null===d.allowedProviders?null:new Set(d.allowedProviders),allowedModelSet:null===d.allowedModels?null:new Set(d.allowedModels),ignoredModelSet:new Set(d.ignoredModels),ignoredProviderSet:new Set(d.ignoredProviders),allowedDataRegions:s?null:function(e){if(null===e)return null;let n=e.filter(e=>(0,t.q)(e,r.P)),i=e.filter(e=>!(0,t.q)(e,r.P));return i.length>0&&(0,o.L)("guardrail_allowed_data_region_unknown",{unknown_regions:i.join(","),known_region_count:n.length}),n}(d.allowedDataRegions),disableFreeModelPublication:d.disableFreeModelPublication,disableFreeModelTraining:d.disableFreeModelTraining,disablePaidModelTraining:d.disablePaidModelTraining},accountPerProviderZdr:p(g(e)),guardrailPerProviderZdr:p(d),accountAllowSafetyRetention:h(e,[]),guardrailAllowSafetyRetention:h(e,n),account:{allowedProviderSet:0===e.allowedProviders.length?null:(0,i.H)(e.allowedProviders,a),ignoredProviderSet:(0,i.H)(e.ignoredProviders,a)}}}({userSettings:C,guardrails:G,endpoints:B,defaultRowSlugsByModel:R,skipDataRegionCheck:V}),{accountPerProviderZdr:U,guardrailPerProviderZdr:H}=L,W=[],$=[],Y=new Map,X=new Map;for(let e of B){let a=function({endpoint:e,defaultRowSlugsByModel:o,userSettings:a,guardrail:{allowedProviderSet:l,allowedModelSet:u,ignoredModelSet:d,ignoredProviderSet:c,allowedDataRegions:f,disableFreeModelPublication:g,disableFreeModelTraining:p,disablePaidModelTraining:h},accountPerProviderZdr:v,guardrailPerProviderZdr:_,accountAllowSafetyRetention:y,guardrailAllowSafetyRetention:x,account:{allowedProviderSet:T,ignoredProviderSet:w}}){let j=[],k=o.get(e.model.permaslug);return null===l||(0,i.T)(e,l,k)||j.push(s.m.ProviderNotAllowedByGuardrail),null===T||(0,i.T)(e,T,k)||j.push(s.m.ProviderNotAllowedByAccount),(0,i.T)(e,c,k)&&j.push(s.m.ProviderIgnoredByGuardrail),(0,i.T)(e,w,k)&&j.push(s.m.ProviderIgnoredByAccount),j.push(...function(e,t){let{author:r}=e.model,n=[];return t.allowedModelAuthors.length>0&&!t.allowedModelAuthors.includes(r)&&n.push(s.m.ModelAuthorNotAllowedByAccount),t.blockedModelAuthors.includes(r)&&n.push(s.m.ModelAuthorBlockedByAccount),n}(e,a)),null===u||u.has(e.model_variant_permaslug)||j.push(s.m.ModelIgnoredByGuardrail),d.has(e.model_variant_permaslug)&&!j.includes(s.m.ModelIgnoredByGuardrail)&&j.push(s.m.ModelIgnoredByGuardrail),null===f||f.some(i=>(function(e,i){let o;return!!(0,n.l)(e,i)||null===e.provider_region&&!(0,n.Y)(e.provider_model_id)&&e.is_private&&((o=(0,t.q)(e.declared_region,r.P)?e.declared_region:null)===r.P.Global?null:o)===i})(e,i))||j.push(s.m.DataRegionNotAllowedByGuardrail),F(e,{perProviderZdr:v,allowSafetyRetention:y})&&j.push(s.m.ZdrViolationByAccount),function(e,{accountPerProviderZdr:t,guardrailPerProviderZdr:r,accountAllowSafetyRetention:n,guardrailAllowSafetyRetention:i}){return!!F(e,{perProviderZdr:r,allowSafetyRetention:i})||t[m(e.model.permaslug)]&&b(e,n)&&!b(e,i)}(e,{accountPerProviderZdr:v,guardrailPerProviderZdr:_,accountAllowSafetyRetention:y,guardrailAllowSafetyRetention:x})&&j.push(s.m.ZdrViolationByGuardrail),z(e,a.shouldDisableFreeModelTraining)&&j.push(s.m.FreeModelTrainingViolationByAccount),z(e,p)&&j.push(s.m.FreeModelTrainingViolationByGuardrail),O(e,a.shouldDisablePaidModelTraining)&&j.push(s.m.PaidModelTrainingViolationByAccount),O(e,h)&&j.push(s.m.PaidModelTrainingViolationByGuardrail),D(e,a.shouldDisableFreeModelPublication)&&j.push(s.m.FreeModelPublicationViolationByAccount),D(e,g)&&j.push(s.m.FreeModelPublicationViolationByGuardrail),j}({endpoint:e,...L});if(0===a.length)W.push({endpoint:e});else{var Q;$.push({endpoint:e,reasons:a});let t=(Q=a).includes(s.m.ZdrViolationByAccount)?"account":Q.includes(s.m.ZdrViolationByGuardrail)?"guardrail":void 0;for(let r of(void 0!==t&&function({endpoint:e,source:t,userSettings:r,guardrails:n,guardrailPerProviderZdr:i,doesRequestEnforceZdr:a}){if(!0===e.data_policy.retainsPrompts||!0!==e.data_policy.safetyRetention)return;let l=m(e.model.permaslug),s=l===c.Google,u=h(r,[]),d=s?r.shouldEnforceZdrGoogle:r.shouldEnforceZdrOther;(0,o.r)("zdr_blocked_by_safety_retention",{source:t,provider_slug:e.provider_slug,model_permaslug:e.model.permaslug,bucket:l,is_enterprise:r.isEnterprise,enforce_zdr_account:p(g(r))[l],enforce_zdr_guardrail:i[l],enforce_zdr_request:a,allow_safety_retention_account:s?u.google:u.other,allow_safety_retention_guardrail:!n.some(e=>{let t=s?e.allow_safety_retention_google:e.allow_safety_retention_other,r=s?!0===e.enforce_zdr_google:!0===e.enforce_zdr_other;return!1===t&&(d||r)})})}({endpoint:e,source:t,userSettings:C,guardrails:G,guardrailPerProviderZdr:H,doesRequestEnforceZdr:q}),a))Y.set(r,(Y.get(r)??0)+1),function(e,{reason:t,providerTag:r}){let n=I[t];if(void 0===n)return;let i={key:n.key,tags:[...n.reasonTags,r]},o=`${i.key}|${i.tags.join(",")}`,a=e.get(o);if(void 0!==a){a.count+=1;return}e.set(o,{...i,count:1})}(X,{reason:r,providerTag:`provider:${(0,i.u)(e.provider_slug)}`})}}let K=performance.now()-Z;for(let{key:e,tags:t,count:r}of((0,a.f)().distribution("openrouter.guardrail.filter_endpoints.latency",K),X.values()))(0,a.f)().incr(e,r,[...t]);for(let t of(e.setAttribute("or.guardrail.eligible_count",W.length),e.setAttribute("or.guardrail.ineligible_count",$.length),Object.values(c)))e.setAttribute(`or.guardrail.enforce_zdr.${t}`,U[t]||H[t]);for(let[t,r]of Y.entries())e.setAttribute(`or.guardrail.ineligibility.${t}`,r);let J={eligible:W,ineligible:$,summary:(l=[...new Set(W.map(e=>(0,i.u)(e.endpoint.provider_slug)))],d=[...new Set($.map(e=>(0,i.u)(e.endpoint.provider_slug)))],f=[...new Set(W.map(e=>e.endpoint.model_variant_slug))],v=[...new Set($.map(e=>e.endpoint.model_variant_slug))],{eligibleCount:W.length,ineligibleCount:$.length,eligibleProviderSlugs:l,ineligibleProviderSlugs:d,eligibleModelSlugs:f,ineligibleModelSlugs:v})};return(0,a.f)().distribution("openrouter.guardrail.endpoints.before_filter",B.length),(0,a.f)().distribution("openrouter.guardrail.endpoints.after_filter",W.length),J})),C=new Map(B.map(({endpoint:e,reasons:t})=>[e.id,t]));return new Map(e.flatMap(e=>{let t=[...new Set([...C.get(e.id)??[],...v(e)])];return t.length>0?[[e.id,t]]:[]}))},"F",0,function(e){return H[e]===V},"q",0,function(e){return H[e]===L},"a",0,function(e){return H[e]===q},"T",0,function(e){return H[e]===Z}],559310)},420863,347228,780378,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(297510),i=e.i(293747),o=e.i(215717),a=e.i(763161);function l(e,t,r){let n=(0,o.d)(e);if(n&&s(t))return(0,o.B)(n,{style:"currency",currency:"USD",minimumFractionDigits:t,maximumFractionDigits:t},r)}function s(e){return Number.isInteger(e)&&e>=0&&e<=100}var u=e.i(136562),d=e.i(328262),c=e.i(960773),f=e.i(138257),m=e.i(140691);e.i(707060);var g=e.i(196991),p=e.i(288265),h=e.i(180916),b=e.i(427150);function v(e){return T(x((0,m.I)(e)))}function _(e){return e.flatMap(e=>{if(!(0,b.f)(e))return[];let t=(0,m.I)(e).abs();return t.isFinite()&&!t.isZero()?[t]:[]})}function y(e){return e.reduce((e,t)=>Math.max(e,x(t)),0)}function x(e){return e.decimalPlaces(6).decimalPlaces()??0}function T(e){return Math.min(6,Math.max(2,e))}function w(e,t){return`${(0,i.f)((0,m.I)(t).times(1),{locale:e,preset:"model-price"})??"—"}`}function j(e){let n,i,o=(0,r.c)(6),{label:a,tooltip:l}=e,s=(0,p.f)();return o[0]!==s||o[1]!==a?(n=s("{label} explanation",{label:a}),o[0]=s,o[1]=a,o[2]=n):n=o[2],o[3]!==n||o[4]!==l?(i=(0,t.jsx)(d.InfoTooltip,{side:"right",className:"shrink-0 cursor-help","aria-label":n,children:l}),o[3]=n,o[4]=l,o[5]=i):i=o[5],i}function k(e){let n,i,o,a=(0,r.c)(8),{title:l,tooltip:s}=e;return a[0]!==l?(n=(0,t.jsx)("h3",{className:"text-sm font-medium text-muted-foreground",children:l}),a[0]=l,a[1]=n):n=a[1],a[2]!==l||a[3]!==s?(i=(0,t.jsx)(j,{label:l,tooltip:s}),a[2]=l,a[3]=s,a[4]=i):i=a[4],a[5]!==n||a[6]!==i?(o=(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[n,i]}),a[5]=n,a[6]=i,a[7]=o):o=a[7],o}e.s(["V",0,function(e){let t=_(e);if(0===t.length)return 2;let r=t.reduce((e,t)=>t.lt(e)?t:e).precision(3).e;return null===r?2:T(Math.min(2-r,y(t)))},"u",0,function(e){return T(y(_(e)))},"o",0,v],347228),e.s(["G",0,function(e){let n,i,o,d,c=(0,r.c)(17),{value:m,alignFractionDigits:g,className:p}=e,h=(0,f.useLocale)();if(c[0]!==g||c[1]!==h||c[2]!==m){let e=v(m);n=function(e,t,r=(0,a.f)(t.locale)){let{alignFractionDigits:n,fractionDigits:i}=t;if(!s(n)||n{f.capture("retry_model_page_pricing",{}),u()},s[3]=u,s[4]=f,s[5]=i):i=s[5],s[6]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)(g.T,{children:"Retry"}),s[6]=o):o=s[6],s[7]!==i?(a=(0,t.jsx)("button",{type:"button",className:"underline underline-offset-2 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring",onClick:i,children:o}),s[7]=i,s[8]=a):a=s[8],s[9]!==n||s[10]!==a?(l=(0,t.jsxs)("p",{className:"py-8 text-center text-sm text-destructive",children:[n," ",a]}),s[9]=n,s[10]=a,s[11]=l):l=s[11],l},"a",0,k,"_",0,function(e){let n,i,o,a,l,s,u,d,c,m,g,b,v,_=(0,r.c)(35),{weightedInputPrice:y,weightedOutputPrice:x}=e,T=(0,f.useLocale)(),j=(0,p.f)();return _[0]!==j?(n=j("Weighted average"),_[0]=j,_[1]=n):n=_[1],_[2]!==j?(i=j("Observed cost paid per token, weighted by token volume: each provider contributes in proportion to the tokens it served today (UTC). Includes cache discounts and any provider discounts, so it can sit below posted prices."),_[2]=j,_[3]=i):i=_[3],_[4]!==n||_[5]!==i?(o=(0,t.jsx)(k,{title:n,tooltip:i}),_[4]=n,_[5]=i,_[6]=o):o=_[6],_[7]!==j?(a=j("Input"),_[7]=j,_[8]=a):a=_[8],_[9]!==T||_[10]!==y?(l=w(T,y),_[9]=T,_[10]=y,_[11]=l):l=_[11],_[12]!==j?(s=j("/M tokens"),_[12]=j,_[13]=s):s=_[13],_[14]!==a||_[15]!==l||_[16]!==s?(u=(0,t.jsx)(h.X,{label:a,value:l,suffix:s}),_[14]=a,_[15]=l,_[16]=s,_[17]=u):u=_[17],_[18]!==j?(d=j("Output"),_[18]=j,_[19]=d):d=_[19],_[20]!==T||_[21]!==x?(c=w(T,x),_[20]=T,_[21]=x,_[22]=c):c=_[22],_[23]!==j?(m=j("/M tokens"),_[23]=j,_[24]=m):m=_[24],_[25]!==m||_[26]!==d||_[27]!==c?(g=(0,t.jsx)(h.X,{label:d,value:c,suffix:m}),_[25]=m,_[26]=d,_[27]=c,_[28]=g):g=_[28],_[29]!==g||_[30]!==u?(b=(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-2",children:[u,g]}),_[29]=g,_[30]=u,_[31]=b):b=_[31],_[32]!==b||_[33]!==o?(v=(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[o,b]}),_[32]=b,_[33]=o,_[34]=v):v=_[34],v},"k",0,w,"l",0,function(e,t){return Number.isFinite(t)?(0,n.I)(100*t,{locale:e,preset:"native-fixed-1"})??"—":"—"}],420863),e.s(["C",0,function(e){return"number"==typeof e&&e>0&&e<1?e:void 0},"J",0,function(e){return(0,m.I)(e).precision(4)},"u",0,function(e,t){if(void 0===t)return;let r=(0,m.I)(t);return r.gt((0,m.I)(e))?r:void 0}],780378)},409169,e=>{"use strict";var t=e.i(27811);e.s(["F",0,function(e,r){return(0,t.f)(r,{locale:e,fractionDigits:2,maxDigits:4})??"—"},"S",0,function(e,r){return(0,t.f)(r,{locale:e,fractionDigits:0,maxDigits:4})??"—"}])},616384,32799,e=>{"use strict";var t=e.i(381462),r=e.i(387086);let n={LATENCY:(0,r.b)("Median time to first token, measured from when the request is sent. Data from the last 30 minutes."),THROUGHPUT:(0,r.b)("Output tokens/sec at the selected percentile, measured from when the request is sent to the end of the response, so time to first token is included. Includes reasoning tokens. Only responses with more than 50 output tokens count. Data from the last 30 minutes, or the last 24 hours for providers with fewer than 50 such responses."),THROUGHPUT_FALLBACK_WINDOW:(0,r.b)("Fewer than 50 responses with more than 50 output tokens in the last 30 minutes, so this uses the last 24 hours."),E2E_LATENCY:(0,r.b)("Median time to end of response, measured from when the request is sent. Data from the last 30 minutes."),LATENCY_CHART:(0,r.b)("Median time to first token, measured from when the request is sent. Data aggregated over one full day."),TTS_FIRST_AUDIO:(0,r.b)("Time to first audio, measured from when the request is sent until the first audio arrives, which is when playback can start. Data from the last 30 minutes."),TTS_LATENCY_CHART:(0,r.b)("Median time to first audio, measured from when the request is sent. Data aggregated over one full day."),RESPONSE_LATENCY_CHART:(0,r.b)("Median time to the full response, measured from when the request is sent. Data aggregated over one full day."),THROUGHPUT_CHART:(0,r.b)("Avg. output tokens/sec, measured from request start to completion. Includes reasoning tokens. Data aggregated over one full day."),E2E_LATENCY_CHART:(0,r.b)("Median time to end of response, measured from when the request is sent. Data aggregated over one full day."),CACHE_HIT_RATE_CHART:(0,r.b)("Percentage of prompt tokens served from cache. Higher values mean more cache reuse and lower costs. Data aggregated over one full day.")},i={[t.f.TextGeneration]:(0,r.b)("Time to first token, measured from when the request is sent. Data from the last 30 minutes."),[t.f.ImageGeneration]:(0,r.b)("Time to generate the image, measured from when the request is sent until the image is returned. Data from the last 30 minutes."),[t.f.VideoGeneration]:(0,r.b)("Time to generate the video, measured from when the job is submitted until the video is ready. Data from the last 30 minutes."),[t.f.Embeddings]:(0,r.b)("Time to return the embeddings, measured from when the request is sent until the full response arrives. Data from the last 30 minutes."),[t.f.Rerank]:(0,r.b)("Time to return the ranked results, measured from when the request is sent until the full response arrives. Data from the last 30 minutes."),[t.f.TTS]:(0,r.b)("Time to deliver the generated audio, measured from when the request is sent until the last audio byte arrives. Data from the last 30 minutes."),[t.f.STT]:(0,r.b)("Time to return the transcript, measured from when the request is sent until the full response arrives. Data from the last 30 minutes."),[t.f.Decisions]:(0,r.b)("Time to return the decision, measured from when the request is sent until the full response arrives. Data from the last 30 minutes."),[t.f.Extractions]:(0,r.b)("Time to return the extracted fields, measured from when the request is sent until the full response arrives. Data from the last 30 minutes."),[t.f.Unknown]:(0,r.b)("Time to complete the request, measured from when the request is sent. Data from the last 30 minutes.")},o={LATENCY:(0,r.b)("Time to First Token"),TTS_LATENCY:(0,r.b)("Time to first audio"),RESPONSE_LATENCY:(0,r.b)("Time to full response"),E2E_LATENCY:(0,r.b)("Time to Last Token")};e.s(["L",0,o,"W",0,n,"e",0,i],32799);var a=e.i(667417),l=e.i(346802);e.i(707060);let s="Latency",u="End-to-end latency",d={[s]:(0,r.b)("Latency"),[u]:(0,r.b)("End-to-end latency")},c=(0,r.b)("First audio"),f=new Set([t.f.Embeddings,t.f.Rerank,t.f.STT,t.f.Decisions,t.f.Extractions]),m={[l.f.Text]:t.f.TextGeneration,[l.f.ComputerUseTool]:t.f.TextGeneration,[l.f.AudioTool]:t.f.TextGeneration,[l.f.AudioOutput]:t.f.TextGeneration,[l.f.FastApply]:t.f.TextGeneration,[l.f.Embeddings]:t.f.Embeddings,[l.f.ImageInputEmbeddings]:t.f.Embeddings,[l.f.Reasoning]:t.f.TextGeneration,[l.f.ImageGeneration]:t.f.ImageGeneration,[l.f.ImageGenerationWithoutText]:t.f.ImageGeneration,[l.f.VideoGeneration]:t.f.VideoGeneration,[l.f.Rerank]:t.f.Rerank,[l.f.TTS]:t.f.TTS,[l.f.TTSMaiVoice]:t.f.TTS,[l.f.STT]:t.f.STT,[l.f.STTMaiTranscribe]:t.f.STT,[l.f.OCR]:t.f.TextGeneration,[l.f.Decisions]:t.f.Decisions,[l.f.Extractions]:t.f.Unknown},g=[[a.j.Embeddings,t.f.Embeddings],[a.j.Video,t.f.VideoGeneration],[a.j.Image,t.f.ImageGeneration],[a.j.TTS,t.f.TTS],[a.j.Transcription,t.f.STT],[a.j.Rerank,t.f.Rerank],[a.j.Decisions,t.f.Decisions]];e.s(["Q",0,function(e){return e.perfWorkload===t.f.TTS?{perfWorkload:e.perfWorkload,latencyMetric:"latency"}:null},"V",0,function(e,r){return{latencyLabel:e(d["latency_e2e"===r.latencyMetric&&r.perfWorkload!==t.f.TTS?u:s]),latencyTooltip:e(i[r.perfWorkload]),shouldShowThroughputColumn:r.perfWorkload===t.f.TextGeneration,firstAudio:r.perfWorkload===t.f.TTS?{label:e(c),tooltip:e(n.TTS_FIRST_AUDIO)}:null}},"N",0,function(e){var r;let n=(r=e).quick_start_example_type?m[r.quick_start_example_type]:function(e){for(let[t,r]of g)if(e.includes(t))return r;return t.f.TextGeneration}(r.output_modalities);return{perfWorkload:n,latencyMetric:n===t.f.ImageGeneration||n===t.f.VideoGeneration||n===t.f.TTS?"latency_e2e":"latency"}},"S",0,function(e){return e===t.f.TextGeneration},"n",0,function(e){return!f.has(e)},"z",0,function(e,t){if(void 0===e||void 0===t)return e;let r=new Map(t.map(e=>[e.id,e.stats]));return e.map(e=>({...e,firstAudioStats:r.get(e.id)}))}],616384)},311778,e=>{"use strict";var t=e.i(819076);function r(e){switch(e){case t.v.Int4:return"Integer (4 bit)";case t.v.Int8:return"Integer (8 bit)";case t.v.FloatingPoint4:return"Floating point (4 bit)";case t.v.MicroscalingFloatingPoint4:return"Microscaling floating point (4 bit)";case t.v.NvidiaFloatingPoint4:return"NVIDIA floating point (4 bit)";case t.v.FloatingPoint6:return"Floating point (6 bit)";case t.v.FloatingPoint8:return"Floating point (8 bit)";case t.v.MicroscalingFloatingPoint8:return"Microscaling floating point (8 bit)";case t.v.FloatingPoint16:return"Floating point (16 bit)";case t.v.FloatingPoint32:return"Floating point (32 bit)";case t.v.BrainFloating16:return"Brain floating point (16 bit)";case t.v.Unknown:default:return"Unknown"}}e.s(["e",0,r,"R",0,function(e){return e===t.v.Unknown?r(e):e.toUpperCase()}])},530757,e=>{"use strict";var t=e.i(142559);let r={good:void 0,ok:"text-warning-text",bad:"text-negative-text",noData:void 0};e.s(["f",0,function(e){return r[(0,t.B)(e)]}])},973173,e=>{"use strict";function t(e){return"judgedMinutes"in e&&"number"==typeof e.judgedMinutes}e.s(["f",0,function(e){let r=e.filter(t);if(r.length!==e.length)return e[0]?.uptime??null;let n=r.filter(e=>null!==e.uptime&&e.judgedMinutes>0),i=n.reduce((e,t)=>e+t.judgedMinutes,0);return 0===i?null:n.reduce((e,t)=>e+(t.uptime??0)/100*t.judgedMinutes,0)/i*100}])}]); //# sourceMappingURL=30fapp2dg8xv1.js.map