(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,531397,e=>{"use strict";var t=e.i(16043);let r=t.forwardRef(function({title:e,titleId:r,...a},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},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"}))});e.s(["f",0,r],531397)},279496,e=>{"use strict";var t=e.i(16043);let r=t.forwardRef(function({title:e,titleId:r,...a},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},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))});e.s(["f",0,r],279496)},687758,e=>{"use strict";var t=e.i(16043);let r=t.forwardRef(function({title:e,titleId:r,...a},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},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"M18.75 12.75h1.5a.75.75 0 0 0 0-1.5h-1.5a.75.75 0 0 0 0 1.5ZM12 6a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5h-7.5A.75.75 0 0 1 12 6ZM12 18a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5h-7.5A.75.75 0 0 1 12 18ZM3.75 6.75h1.5a.75.75 0 1 0 0-1.5h-1.5a.75.75 0 0 0 0 1.5ZM5.25 18.75h-1.5a.75.75 0 0 1 0-1.5h1.5a.75.75 0 0 1 0 1.5ZM3 12a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5h-7.5A.75.75 0 0 1 3 12ZM9 3.75a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5ZM12.75 12a2.25 2.25 0 1 1 4.5 0 2.25 2.25 0 0 1-4.5 0ZM9 15.75a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5Z"}))});e.s(["f",0,r],687758)},970973,e=>{"use strict";var t=e.i(16043);let r=t.forwardRef(function({title:e,titleId:r,...a},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},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"M18.375 2.25c-1.035 0-1.875.84-1.875 1.875v15.75c0 1.035.84 1.875 1.875 1.875h.75c1.035 0 1.875-.84 1.875-1.875V4.125c0-1.036-.84-1.875-1.875-1.875h-.75ZM9.75 8.625c0-1.036.84-1.875 1.875-1.875h.75c1.036 0 1.875.84 1.875 1.875v11.25c0 1.035-.84 1.875-1.875 1.875h-.75a1.875 1.875 0 0 1-1.875-1.875V8.625ZM3 13.125c0-1.036.84-1.875 1.875-1.875h.75c1.036 0 1.875.84 1.875 1.875v6.75c0 1.035-.84 1.875-1.875 1.875h-.75A1.875 1.875 0 0 1 3 19.875v-6.75Z"}))});e.s(["f",0,r],970973)},61885,45924,e=>{"use strict";var t=e.i(651681);let r={name:"arrow-down",size:24,node:[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]};r.node;let a=(0,t.f)(r);e.s(["f",0,a],45924),e.s(["f",0,a],61885)},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 a=(0,t.f)(r);e.s(["f",0,a],773151)},49505,e=>{"use strict";var t=e.i(651681);let r={name:"chevron-left",size:24,node:[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]};r.node;let a=(0,t.f)(r);e.s(["f",0,a],49505)},1971,e=>{"use strict";var t=e.i(651681);let r={name:"chevron-right",size:24,node:[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]};r.node;let a=(0,t.f)(r);e.s(["f",0,a])},88084,e=>{"use strict";var t=e.i(1971);e.s(["f",()=>t.f])},283884,e=>{"use strict";var t=e.i(651681);let r={name:"pause",size:24,node:[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]]};r.node;let a=(0,t.f)(r);e.s(["f",0,a],283884)},502704,e=>{"use strict";var t=e.i(651681);let r={name:"play",size:24,node:[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]};r.node;let a=(0,t.f)(r);e.s(["f",0,a],502704)},371821,e=>{"use strict";var t=e.i(651681);let r={name:"refresh-cw",size:24,node:[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]};r.node;let a=(0,t.f)(r);e.s(["f",0,a],371821)},126801,e=>{"use strict";e.s(["f",0,function(e){return e.toISOString().replace("T"," ").split(".")[0]}])},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 a=new Set([t.j.Text,t.j.Image]);function n(e){return 0===e.length||e.some(e=>a.has(e))&&!e.some(e=>r.has(e))}function i(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)||i(e)},"a",0,n,"W",0,i])},195759,e=>{"use strict";var t=e.i(988590),r=e.i(572201),a=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 i=(e,a)=>{let n=e.split(r.q).slice(1),i=[];for(let e of n)(0,t.q)(e,a)&&i.push(e);return i},o={Nitro:r.B.Nitro,Floor:r.B.Floor,Exacto:r.B.Exacto},s={[o.Nitro]:a.f.Throughput,[o.Floor]:a.f.Price,[o.Exacto]:a.f.Exacto};e.s(["P",0,s,"K",0,o,"s",0,function(e,t){let r=n({name:""},t);return""===r?{name:e.name,short_name:e.short_name}:{name:e.name.endsWith(r)?e.name.slice(0,-r.length):e.name,short_name:e.short_name.endsWith(r)?e.short_name.slice(0,-r.length):e.short_name}},"_",0,e=>{let a;return((a=i(e,r.B)).length>0?a:[r.e.All]).findLast(e=>(0,t.q)(e,o))},"z",0,e=>i(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""}}])},851671,e=>{"use strict";e.s(["f",0,"v6"])},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 a=["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),i=t.find(e=>"Input Price"===e.sku_label),o=t.find(e=>"Output Price"===e.sku_label),s=t.find(e=>{var t;return t=e.sku_label,n.includes(t)}),l=t.find(e=>{var t;return t=e.sku_label,a.includes(t)})??i;return l&&s?{media:"image",inputItem:l,outputItem:s}:i&&o?{media:"text",inputItem:i,outputItem:o}:void 0},"U",0,function(e){let a=e.filter(e=>e.kind===r.Unit&&!0!==e.isServerTool),n=a[0];if(!n)return;let i=void 0!==n.tiers&&n.tiers.length>1,o=i||a.length>1;if(i){let e=(0,t.I)(1/0),r=n.price;for(let a of n.tiers){let n=(0,t.I)(a.price);n.gt(0)&&n.lt(e)&&(e=n,r=a.price)}return{price:r,displayMultiplier:n.displayMultiplier,unitLabel:n.unitLabel,hasDetails:o}}return{price:n.price,displayMultiplier:n.displayMultiplier,unitLabel:n.unitLabel,hasDetails:o}}])},354090,e=>{"use strict";e.s(["f",0,"https://www.vals.ai"])},40255,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(288265),n=e.i(202058),i=e.i(283884),o=e.i(502704),s=e.i(16043),l=e.i(136562),u=e.i(139697);let d=(0,s.createContext)(null),c=(0,s.createContext)(null);function p(){return(0,s.useContext)(d)}function m(){return(0,s.useContext)(c)}function f({audioProps:e,children:r,src:a}){let n=(0,s.useRef)(null),i=(0,s.useRef)(null),[o,l]=(0,s.useState)(),[u,p]=(0,s.useState)(null),[m,g]=(0,s.useState)(0),[h,v]=(0,s.useState)(!0),[A,b]=(0,s.useState)(0),[x,y]=(0,s.useState)(0),S=(0,s.useCallback)(async()=>{let e=n.current;if(!e)return;if(i.current)try{await i.current}catch{}finally{i.current=null}let t=e.play();i.current=t;try{await t}catch(e){if(e instanceof DOMException&&"AbortError"===e.name)return;throw e}finally{i.current=null}},[]),I=(0,s.useCallback)(()=>{n.current?.pause()},[]),k=(0,s.useCallback)(e=>{let t=n.current;if(!t||void 0===o||!Number.isFinite(o))return;let r=Math.max(0,Math.min(e,o));t.currentTime=r,y(r)},[o]);(0,s.useEffect)(()=>{let e=n.current;e&&(l(void 0),p(null),g(e.networkState),v(!0),b(e.readyState),y(0),e.load())},[a]),(0,s.useEffect)(()=>{let e=n.current;if(!e)return;let t=()=>{g(e.networkState),b(e.readyState)},r=()=>{l(e.duration)},a=()=>{p(e.error)},i=()=>{v(!0)},o=()=>{v(!1)},s=()=>{y(e.currentTime)};return e.addEventListener("canplay",t),e.addEventListener("durationchange",r),e.addEventListener("ended",i),e.addEventListener("error",a),e.addEventListener("loadedmetadata",r),e.addEventListener("loadstart",t),e.addEventListener("pause",i),e.addEventListener("play",o),e.addEventListener("playing",t),e.addEventListener("timeupdate",s),e.addEventListener("waiting",t),()=>{e.removeEventListener("canplay",t),e.removeEventListener("durationchange",r),e.removeEventListener("ended",i),e.removeEventListener("error",a),e.removeEventListener("loadedmetadata",r),e.removeEventListener("loadstart",t),e.removeEventListener("pause",i),e.removeEventListener("play",o),e.removeEventListener("playing",t),e.removeEventListener("timeupdate",s),e.removeEventListener("waiting",t)}},[]);let R=!h,T=A<3&&2===m,w=(0,s.useMemo)(()=>({duration:o,error:u,isBuffering:T,isPlaying:R,pause:I,play:S,ref:n,seek:k}),[o,u,T,R,I,S,k]);return(0,t.jsx)(d.Provider,{value:w,children:(0,t.jsxs)(c.Provider,{value:x,children:[(0,t.jsx)("audio",{ref:n,src:a,className:"hidden",preload:"metadata",...e}),r]})})}function g(e){let s,d,c,m,f,g,h,v,A,b,x,y,S,I=(0,r.c)(33);I[0]!==e?({children:s,className:d,isLoading:c,size:f,type:g,variant:h,...m}=e,I[0]=e,I[1]=s,I[2]=d,I[3]=c,I[4]=m,I[5]=f,I[6]=g,I[7]=h):(s=I[1],d=I[2],c=I[3],m=I[4],f=I[5],g=I[6],h=I[7]);let k=void 0===f?"icon":f,R=void 0===g?"button":g,T=void 0===h?"outline":h,w=(0,a.f)(),_=p();if(!_)return null;let z=c??_.isBuffering;I[8]!==_.isPlaying?(v=_.isPlaying?(0,t.jsx)(i.f,{}):(0,t.jsx)(o.f,{}),I[8]=_.isPlaying,I[9]=v):v=I[9];let j=v,E=z||void 0;I[10]!==w||I[11]!==_.isPlaying?(A=w(_.isPlaying?"Pause audio":"Play audio"),I[10]=w,I[11]=_.isPlaying,I[12]=A):A=I[12],I[13]!==d?(b=(0,l.f)("shrink-0",d),I[13]=d,I[14]=b):b=I[14];let C=!0===c;return I[15]!==_?(x=()=>{_.isPlaying?_.pause():_.play()},I[15]=_,I[16]=x):x=I[16],I[17]!==s||I[18]!==j||I[19]!==z||I[20]!==c?(y=z&&!0!==c?(0,t.jsx)(n.f,{className:"animate-spin"}):s??j,I[17]=s,I[18]=j,I[19]=z,I[20]=c,I[21]=y):y=I[21],I[22]!==m||I[23]!==k||I[24]!==y||I[25]!==E||I[26]!==A||I[27]!==b||I[28]!==C||I[29]!==x||I[30]!==R||I[31]!==T?(S=(0,t.jsx)(u.Button,{"aria-busy":E,"aria-label":A,className:b,shape:"pill",isLoading:C,onClick:x,size:k,type:R,variant:T,...m,children:y}),I[22]=m,I[23]=k,I[24]=y,I[25]=E,I[26]=A,I[27]=b,I[28]=C,I[29]=x,I[30]=R,I[31]=T,I[32]=S):S=I[32],S}function h(e){let a,n,i,o,u,d,c,f,g,h,A,b,x,y,S,I,k,R,T,w,_,z,j,E=(0,r.c)(55);E[0]!==e?({"aria-label":f,className:a,disabled:n,onPointerCancel:i,onPointerDown:o,onPointerUp:u,onValueChange:d,step:g,...c}=e,E[0]=e,E[1]=a,E[2]=n,E[3]=i,E[4]=o,E[5]=u,E[6]=d,E[7]=c,E[8]=f,E[9]=g):(a=E[1],n=E[2],i=E[3],o=E[4],u=E[5],d=E[6],c=E[7],f=E[8],g=E[9]);let C=void 0===f?"Seek audio":f,N=void 0===g?.25:g,M=p(),D=m(),P=(0,s.useRef)(!1),[O,L]=(0,s.useState)(!1),[V,q]=(0,s.useState)(null);if(!M||null===D)return null;let{duration:B}=M;E[10]!==B?(h=void 0!==B&&Number.isFinite(B)&&B>0,E[10]=B,E[11]=h):h=E[11];let F=h,K=O&&null!==V?V:D,G=F?Math.min(100,Math.max(0,K/B*100)):0,H=n||!F;E[12]!==M?(A=()=>{L(!1),q(null),P.current&&M.play().catch(v)},E[12]=M,E[13]=A):A=E[13];let U=A;E[14]!==U||E[15]!==u?(b=e=>{U(),u?.(e)},E[14]=U,E[15]=u,E[16]=b):b=E[16];let $=b;E[17]!==U||E[18]!==i?(x=e=>{U(),i?.(e)},E[17]=U,E[18]=i,E[19]=x):x=E[19];let W=x;E[20]!==a?(y=(0,l.f)("group/audio-progress relative flex h-4 min-w-20 flex-1 items-center",a),E[20]=a,E[21]=y):y=E[21],E[22]===Symbol.for("react.memo_cache_sentinel")?(S=(0,t.jsx)("div",{className:"pointer-events-none absolute inset-x-0 h-1 rounded-full bg-secondary"}),E[22]=S):S=E[22];let Z=`${G}%`;E[23]!==Z?(I=(0,t.jsx)("div",{className:"pointer-events-none absolute left-0 h-1 w-(--progress-width) rounded-full bg-primary","data-allow-inline-style":!0,style:{"--progress-width":Z}}),E[23]=Z,E[24]=I):I=E[24];let Y=!H&&"group-hover/audio-progress:opacity-100",X=!H&&O&&"opacity-100";E[25]!==Y||E[26]!==X?(k=(0,l.f)("pointer-events-none absolute left-(--thumb-left) size-3 rounded-full bg-foreground opacity-0 shadow-sm transition-opacity",Y,X),E[25]=Y,E[26]=X,E[27]=k):k=E[27];let J=`calc(${G}% - 0.375rem)`;E[28]!==J?(R={"--thumb-left":J},E[28]=J,E[29]=R):R=E[29],E[30]!==k||E[31]!==R?(T=(0,t.jsx)("span",{className:k,"data-allow-inline-style":!0,style:R}),E[30]=k,E[31]=R,E[32]=T):T=E[32];let Q=F?B:0;return E[33]!==d||E[34]!==M?(w=e=>{let t=e.currentTarget.valueAsNumber;q(t),M.seek(t),d?.(t)},E[33]=d,E[34]=M,E[35]=w):w=E[35],E[36]!==o||E[37]!==M?(_=e=>{P.current=M.isPlaying,L(!0),M.pause(),o?.(e)},E[36]=o,E[37]=M,E[38]=_):_=E[38],E[39]!==C||E[40]!==K||E[41]!==W||E[42]!==$||E[43]!==H||E[44]!==c||E[45]!==N||E[46]!==Q||E[47]!==w||E[48]!==_?(z=(0,t.jsx)("input",{"aria-label":C,className:"absolute inset-0 h-full w-full cursor-pointer appearance-none bg-transparent opacity-0 disabled:cursor-not-allowed",disabled:H,max:Q,min:0,onChange:w,onPointerDown:_,onPointerUp:$,onPointerCancel:W,step:N,type:"range",value:K,...c}),E[39]=C,E[40]=K,E[41]=W,E[42]=$,E[43]=H,E[44]=c,E[45]=N,E[46]=Q,E[47]=w,E[48]=_,E[49]=z):z=E[49],E[50]!==I||E[51]!==T||E[52]!==z||E[53]!==y?(j=(0,t.jsxs)("div",{className:y,children:[S,I,T,z]}),E[50]=I,E[51]=T,E[52]=z,E[53]=y,E[54]=j):j=E[54],j}function v(){}function A(e){let a,n,i,o,s,u=(0,r.c)(11);u[0]!==e?({className:a,...n}=e,u[0]=e,u[1]=a,u[2]=n):(a=u[1],n=u[2]);let d=m();return null===d?null:(u[3]!==a?(i=(0,l.f)("w-10 text-overline tabular-nums text-muted-foreground",a),u[3]=a,u[4]=i):i=u[4],u[5]!==d?(o=y(d),u[5]=d,u[6]=o):o=u[6],u[7]!==n||u[8]!==i||u[9]!==o?(s=(0,t.jsx)("span",{className:i,...n,children:o}),u[7]=n,u[8]=i,u[9]=o,u[10]=s):s=u[10],s)}function b(e){let a,n,i,o,s,u=(0,r.c)(11);u[0]!==e?({className:a,...n}=e,u[0]=e,u[1]=a,u[2]=n):(a=u[1],n=u[2]);let d=p();if(!d)return null;let{duration:c}=d;return u[3]!==a?(i=(0,l.f)("w-10 text-right text-overline tabular-nums text-muted-foreground",a),u[3]=a,u[4]=i):i=u[4],u[5]!==c?(o=void 0!==c&&Number.isFinite(c)?y(c):"--:--",u[5]=c,u[6]=o):o=u[6],u[7]!==n||u[8]!==i||u[9]!==o?(s=(0,t.jsx)("span",{className:i,...n,children:o}),u[7]=n,u[8]=i,u[9]=o,u[10]=s):s=u[10],s}function x(e){let n,i,o,s,u,d,c=(0,r.c)(13);c[0]!==e?({className:i,children:n,...o}=e,c[0]=e,c[1]=n,c[2]=i,c[3]=o):(n=c[1],i=c[2],o=c[3]);let m=(0,a.f)(),f=p();return f?.error?(c[4]!==i?(s=(0,l.f)("text-caption text-negative-text",i),c[4]=i,c[5]=s):s=c[5],c[6]!==n||c[7]!==m?(u=n??m("Audio could not be loaded."),c[6]=n,c[7]=m,c[8]=u):u=c[8],c[9]!==o||c[10]!==s||c[11]!==u?(d=(0,t.jsx)("div",{className:s,role:"status",...o,children:u}),c[9]=o,c[10]=s,c[11]=u,c[12]=d):d=c[12],d):null}function y(e){let t=Number.isFinite(e)?Math.max(0,e):0,r=Math.floor(t/3600),a=Math.floor(t%3600/60),n=Math.floor(t%60),i=r>0?a.toString().padStart(2,"0"):a.toString(),o=n.toString().padStart(2,"0");return r>0?`${r}:${i}:${o}`:`${i}:${o}`}e.s(["d",0,function(e){let n,i,o,s,u,d,c,p,m,v,y,S,I,k=(0,r.c)(27);k[0]!==e?({audioProps:n,children:i,className:o,description:s,metadata:u,src:c,title:p,...d}=e,k[0]=e,k[1]=n,k[2]=i,k[3]=o,k[4]=s,k[5]=u,k[6]=d,k[7]=c,k[8]=p):(n=k[1],i=k[2],o=k[3],s=k[4],u=k[5],d=k[6],c=k[7],p=k[8]);let R=(0,a.f)();k[9]!==R||k[10]!==p?(m=p??R("Audio preview"),k[9]=R,k[10]=p,k[11]=m):m=k[11];let T=m;return k[12]!==o?(v=(0,l.f)("flex w-full items-center gap-3 rounded-lg border border-border bg-card p-3 text-card-foreground shadow-sm",o),k[12]=o,k[13]=v):v=k[13],k[14]!==i||k[15]!==s||k[16]!==u||k[17]!==T?(y=i??(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(g,{}),(0,t.jsxs)("div",{className:"min-w-0 flex-1 flex flex-col gap-y-2",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,t.jsxs)("div",{className:"min-w-0 flex flex-col gap-y-0.5",children:[(0,t.jsx)("div",{className:"truncate text-body font-medium",children:T}),s&&(0,t.jsx)("div",{className:"truncate text-caption text-muted-foreground",children:s})]}),u&&(0,t.jsx)("div",{className:"shrink-0 text-overline text-muted-foreground",children:u})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(A,{}),(0,t.jsx)(h,{}),(0,t.jsx)(b,{})]}),(0,t.jsx)(x,{})]})]}),k[14]=i,k[15]=s,k[16]=u,k[17]=T,k[18]=y):y=k[18],k[19]!==d||k[20]!==v||k[21]!==y?(S=(0,t.jsx)("div",{className:v,...d,children:y}),k[19]=d,k[20]=v,k[21]=y,k[22]=S):S=k[22],k[23]!==n||k[24]!==c||k[25]!==S?(I=(0,t.jsx)(f,{src:c,audioProps:n,children:S}),k[23]=n,k[24]=c,k[25]=S,k[26]=I):I=k[26],I},"l",0,g,"p",0,b,"V",0,h,"h",0,f,"H",0,A,"C",0,y,"G",0,p,"m",0,m])},264176,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(16179),n=e.i(288265),i=e.i(88084),o=e.i(136562);e.s(["Breadcrumb",0,function(e){let a,i,o,s,l=(0,r.c)(9);l[0]!==e?({className:a,...i}=e,l[0]=e,l[1]=a,l[2]=i):(a=l[1],i=l[2]);let u=(0,n.f)();return l[3]!==u?(o=u("breadcrumb"),l[3]=u,l[4]=o):o=l[4],l[5]!==a||l[6]!==i||l[7]!==o?(s=(0,t.jsx)("nav",{"aria-label":o,className:a,...i}),l[5]=a,l[6]=i,l[7]=o,l[8]=s):s=l[8],s},"BreadcrumbItem",0,function(e){let a,n,i,s,l=(0,r.c)(8);return l[0]!==e?({className:a,...n}=e,l[0]=e,l[1]=a,l[2]=n):(a=l[1],n=l[2]),l[3]!==a?(i=(0,o.f)("inline-flex items-center gap-1.5",a),l[3]=a,l[4]=i):i=l[4],l[5]!==n||l[6]!==i?(s=(0,t.jsx)("li",{className:i,...n}),l[5]=n,l[6]=i,l[7]=s):s=l[7],s},"BreadcrumbLink",0,function(e){let t,n,i,s,l,u,d,c=(0,r.c)(14);c[0]!==e?({render:s,children:t,className:n,...i}=e,c[0]=e,c[1]=t,c[2]=n,c[3]=i,c[4]=s):(t=c[1],n=c[2],i=c[3],s=c[4]),c[5]!==n?(l=(0,o.f)("text-muted-foreground underline underline-offset-2 decoration-muted-foreground/40 transition-colors hover:text-accent-foreground hover:decoration-current",n),c[5]=n,c[6]=l):l=c[6];let p=s?void 0:t;return c[7]!==i||c[8]!==l||c[9]!==p?(u={className:l,children:p,...i},c[7]=i,c[8]=l,c[9]=p,c[10]=u):u=c[10],c[11]!==s||c[12]!==u?(d={render:s,defaultTagName:"a",props:u},c[11]=s,c[12]=u,c[13]=d):d=c[13],(0,a.f)(d)},"BreadcrumbList",0,function(e){let a,n,i,s,l=(0,r.c)(8);return l[0]!==e?({className:a,...n}=e,l[0]=e,l[1]=a,l[2]=n):(a=l[1],n=l[2]),l[3]!==a?(i=(0,o.f)("flex flex-wrap items-center gap-1.5 text-xs",a),l[3]=a,l[4]=i):i=l[4],l[5]!==n||l[6]!==i?(s=(0,t.jsx)("ol",{className:i,...n}),l[5]=n,l[6]=i,l[7]=s):s=l[7],s},"BreadcrumbPage",0,function(e){let a,n,i,s,l=(0,r.c)(8);return l[0]!==e?({className:a,...n}=e,l[0]=e,l[1]=a,l[2]=n):(a=l[1],n=l[2]),l[3]!==a?(i=(0,o.f)("font-normal text-foreground",a),l[3]=a,l[4]=i):i=l[4],l[5]!==n||l[6]!==i?(s=(0,t.jsx)("span",{"aria-current":"page",className:i,...n}),l[5]=n,l[6]=i,l[7]=s):s=l[7],s},"BreadcrumbSeparator",0,function(e){let a,n,s,l,u,d,c=(0,r.c)(12);return c[0]!==e?({children:a,className:n,...s}=e,c[0]=e,c[1]=a,c[2]=n,c[3]=s):(a=c[1],n=c[2],s=c[3]),c[4]!==n?(l=(0,o.f)("text-faint [&>svg]:size-3",n),c[4]=n,c[5]=l):l=c[5],c[6]!==a?(u=a??(0,t.jsx)(i.f,{}),c[6]=a,c[7]=u):u=c[7],c[8]!==s||c[9]!==l||c[10]!==u?(d=(0,t.jsx)("li",{"aria-hidden":"true",className:l,role:"presentation",...s,children:u}),c[8]=s,c[9]=l,c[10]=u,c[11]=d):d=c[11],d}])},548204,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(16043),n=e.i(815922),i=e.i(93836),o=e.i(741780),s=e.i(3758),l=e.i(420304),u=e.i(240070);let d={...l.l,...u.f},c=a.forwardRef(function(e,r){let{render:l,className:u,defaultOpen:c=!1,disabled:p=!1,onOpenChange:m,open:f,style:g,...h}=e,v=(0,n.f)(m),A=(0,o.f)({open:f,defaultOpen:c,onOpenChange:v,disabled:p}),b=a.useMemo(()=>({open:A.open,disabled:A.disabled,transitionStatus:A.transitionStatus}),[A.open,A.disabled,A.transitionStatus]),x=a.useMemo(()=>({...A,onOpenChange:v,state:b}),[A,v,b]),y=(0,i.a)("div",e,{state:b,ref:r,props:h,stateAttributesMapping:d});return(0,t.jsx)(s.p.Provider,{value:x,children:y})});var p=e.i(225421);let m={...l.J,...u.f},f=a.forwardRef(function(e,t){let{panelId:r,open:a,handleTrigger:n,state:o,disabled:l}=(0,s.$)(),{className:u,disabled:d=l,render:c,nativeButton:f=!0,style:g,...h}=e,{getButtonProps:v,buttonRef:A}=(0,p.f)({disabled:d,native:f});return(0,i.a)("button",e,{state:o,ref:[t,A],props:[{"aria-controls":a?r:void 0,"aria-expanded":a,onClick:n},h,v],stateAttributesMapping:m})});var g=e.i(533124),h=e.i(612308),v=e.i(22525);let A=a.forwardRef(function(e,t){let{className:r,hiddenUntilFound:a,keepMounted:n,render:o,id:l,style:u,...c}=e,{defaultPanelId:p,mounted:m,onOpenChange:f,open:A,setMounted:b,setPanelIdState:x,setOpen:y,state:S,transitionStatus:I}=(0,s.$)(),k=l||void 0,R=k??p;(0,g.f)(()=>(x(e=>k??(null===e?void 0:e)),()=>{x(e=>e===k?null:e)}),[k,x]);let{height:T,props:w,ref:_,shouldPreventOpenAnimation:z,shouldRender:j,transitionStatus:E,width:C}=(0,v.f)({externalRef:t,hiddenUntilFound:a??!1,id:R,keepMounted:n??!1,mounted:m,onOpenChange:f,open:A,setMounted:b,setOpen:y,transitionStatus:I}),N={...S,transitionStatus:E},M=(0,h.f)(u,N),D=(0,i.a)("div",{...e,style:void 0},{state:N,ref:_,props:[w,{style:{"--collapsible-panel-height":void 0===T?"auto":`${T}px`,"--collapsible-panel-width":void 0===C?"auto":`${C}px`}},c,M?{style:M}:void 0,z?{style:{animationName:"none"}}:void 0],stateAttributesMapping:d});return j?D:null});e.s(["Panel",0,A,"Root",0,c,"Trigger",0,f],772956);var b=e.i(772956),b=b,x=b,y=b,S=e.i(136562),I=e.i(159125);e.s(["Collapsible",0,function(e){let a,n,i=(0,r.c)(4);return i[0]!==e?({...a}=e,i[0]=e,i[1]=a):a=i[1],i[2]!==a?(n=(0,t.jsx)(b.Root,{"data-slot":"collapsible",...a}),i[2]=a,i[3]=n):n=i[3],n},"CollapsibleContent",0,function(e){let a,n,i,o,s=(0,r.c)(8);return s[0]!==e?({className:a,...n}=e,s[0]=e,s[1]=a,s[2]=n):(a=s[1],n=s[2]),s[3]!==a?(i=e=>(0,S.f)("h-(--collapsible-panel-height)",I.f,"function"==typeof a?a(e):a),s[3]=a,s[4]=i):i=s[4],s[5]!==n||s[6]!==i?(o=(0,t.jsx)(y.Panel,{"data-slot":"collapsible-content",className:i,...n}),s[5]=n,s[6]=i,s[7]=o):o=s[7],o},"CollapsibleTrigger",0,function(e){let a,n,i=(0,r.c)(4);return i[0]!==e?({...a}=e,i[0]=e,i[1]=a):a=i[1],i[2]!==a?(n=(0,t.jsx)(x.Trigger,{"data-slot":"collapsible-trigger",...a}),i[2]=a,i[3]=n):n=i[3],n}],548204)},939025,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(16043),n=e.i(721287),i=e.i(533124),o=e.i(646125),s=e.i(779766),l=e.i(107397);let u=a.createContext(void 0);function d(e){let t=a.useContext(u);if(void 0===t&&!e)throw Error((0,l.f)(50));return t}var c=e.i(132887),p=e.i(567894),m=e.i(326855),f=e.i(369714),g=e.i(871812),h=e.i(62335),v=e.i(807257);function A(e,t,r,a){return{left:e,top:t,right:r,bottom:a,x:e,y:t,width:r-e,height:a-t}}function b(e){let t,r=[],a=1/0,n=1/0,i=-1/0,o=-1/0;for(let s of Array.from(e).sort((e,t)=>e.top-t.top)){if(a=Math.min(a,s.left),n=Math.min(n,s.top),i=Math.max(i,s.right),o=Math.max(o,s.bottom),!t||s.top-t.top>t.height/2)r.push({left:s.left,top:s.top,right:s.right,bottom:s.bottom,width:s.width,height:s.height});else{let e=r[r.length-1];e.left=Math.min(e.left,s.left),e.right=Math.max(e.right,s.right),e.bottom=Math.max(e.bottom,s.bottom),e.width=e.right-e.left,e.height=e.bottom-e.top}t=s}return{lines:r,fallback:A(a,n,i,o)}}function x(e,t,r){return e.findIndex(e=>t>e.left-2&&te.top-2&&re.instantType,adaptiveOrigin:e=>e.adaptiveOrigin,closeDelay:e=>e.closeDelay};class R extends m.f{constructor(e,t,r){var n;let i=new h.f;super(function(e,t,r,a=!1){return{...(0,g.i)(t,r,a),instantType:void 0,adaptiveOrigin:void 0,closeDelay:300,...e}}(e,i,t,r),(n=i,{popupRef:a.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerElements:n,inlineRectCoordsRef:{current:void 0}}),k)}setOpen=(e,t)=>{let{inlineRectCoordsRef:r}=this.context;(0,f.c)(this,e,t,{onBeforeDispatch(){let a=t.event;e&&t.reason===I.f.triggerHover&&t.trigger&&"clientX"in a&&"clientY"in a&&r.current?.element!==t.trigger&&S(r,t.trigger,a.clientX,a.clientY)}})}}function T(e){let{open:r,defaultOpen:n=!1,onOpenChange:o,onOpenChangeComplete:s,actionsRef:l,handle:d,triggerId:m,defaultTriggerId:g=null,children:h}=e,v=(0,f.$)((e,t)=>new R({open:n,openProp:r,activeTriggerId:g,triggerIdProp:m},e,t));v.useControlledProp("openProp",r),v.useControlledProp("triggerIdProp",m),v.useContextCallback("onOpenChange",o),v.useContextCallback("onOpenChangeComplete",s);let A=v.useState("open"),b=v.useState("activeTriggerId"),x=v.useState("mounted"),y=v.useState("payload");(0,f._)(v,{closeOnActiveTriggerUnmount:!0});let{forceUnmount:S}=(0,f.L)(A,v,()=>{v.context.inlineRectCoordsRef.current=void 0});(0,i.f)(()=>{A&&null==b&&v.set("payload",void 0)},[v,b,A]),a.useImperativeHandle(l,()=>({unmount:S,close:()=>v.setOpen(!1,(0,c.j)(p.f.imperativeAction))}),[S,v]);let I=A||x||null!=d;return(0,t.jsxs)(u.Provider,{value:v,children:[d&&(0,t.jsx)(f.d,{handle:d,store:v}),I&&(0,t.jsx)(w,{store:v}),"function"==typeof h?h({payload:y}):h]})}function w({store:e}){let t=e.useState("floatingRootContext"),r=(0,o.f)(t);return(0,f.y)(e,{activeTriggerProps:r.reference,inactiveTriggerProps:r.trigger,popupProps:r.floating}),null}let _=(0,n.U)(function(e){return d(!0)?(0,t.jsx)(T,{...e}):(0,t.jsx)(s.V,{children:(0,t.jsx)(T,{...e})})}),z=a.createContext(void 0);var j=e.i(344791);let E=a.forwardRef(function(e,r){let{keepMounted:a=!1,...n}=e;return d().useState("mounted")||a?(0,t.jsx)(z.Provider,{value:a,children:(0,t.jsx)(j.f,{ref:r,...n})}):null});var C=e.i(664591),N=e.i(93836),M=e.i(811673),D=e.i(710955),P=e.i(745576),O=e.i(205453),L=e.i(35292);let V=(0,n.u)(function(e,t){let{render:r,className:n,delay:i,closeDelay:o,id:s,payload:u,handle:c,style:p,...m}=e,g=d(!0),h=(0,D.f)(c)??g;if(!h)throw Error((0,l.f)(89));let v=(0,M.f)(s),A=h.useState("isTriggerActive",v),b=h.useState("isOpenedByTrigger",v),x=h.useState("floatingRootContext"),y=h.context.inlineRectCoordsRef,I=a.useRef(null),k=i??600,R=o??300,{registerTrigger:T,isMountedByThisTrigger:w}=(0,f.F)(v,I,h,{payload:u,closeDelay:R}),_=(0,L.f)(x,{mouseOnly:!0,move:!1,handleClose:(0,P.f)(),delay:()=>({open:k,close:R}),triggerElementRef:I,isActiveTrigger:A,isClosing:()=>"ending"===h.select("transitionStatus")}),z=(0,O.f)(x,{delay:k}),j=h.useState("triggerProps",w),E=function(e,t){function r(r){t||S(e,r.currentTarget,r.clientX,r.clientY)}return{onFocus(){e.current=void 0},onMouseEnter:r,onMouseMove:r}}(y,b);return(0,N.a)("a",e,{state:{open:b},ref:[t,T,I],props:[_,z.reference,j,E,{id:v},m],stateAttributesMapping:C.J})}),q=a.createContext(void 0);var B=e.i(702643),F=e.i(510043),K=e.i(226983);let G=a.forwardRef(function(e,r){let{render:n,className:o,anchor:u,positionMethod:c="absolute",side:p="bottom",align:m="center",sideOffset:f=0,alignOffset:g=0,collisionBoundary:h="clipping-ancestors",collisionPadding:S=5,arrowPadding:I=5,sticky:k=!1,disableAnchorTracking:R=!1,collisionAvoidance:T=F.n,style:w,..._}=e,j=d(),E=function(){let e=a.useContext(z);if(void 0===e)throw Error((0,l.f)(48));return e}(),C=(0,s.T)(),N=j.useState("open"),M=j.useState("mounted"),D=j.useState("floatingRootContext"),P=j.useState("instantType"),O=j.useState("transitionStatus"),L=j.useState("adaptiveOrigin"),V=j.context.inlineRectCoordsRef,G=(0,B.k)({anchor:u,floatingRootContext:D,positionMethod:c,mounted:M,side:p,sideOffset:f,align:m,alignOffset:g,arrowPadding:I,collisionBoundary:h,collisionPadding:S,sticky:k,disableAnchorTracking:R,keepMounted:E,nodeId:C,collisionAvoidance:T,adaptiveOrigin:L,inline:{name:"inline",async fn(e){let t=e.elements.reference;if("function"!=typeof t?.getClientRects)return{};let r="contextElement"in t&&t.contextElement?t.contextElement:(0,v.m)(t)?t:void 0,a=V.current,n=a?.element===t||a?.element===r?a:void 0,i=function(e,t,r){let{lines:a,fallback:n}=b(e.getClientRects());if(a.length<2)return null;let i=r?.x,o=r?.y,s=t[0];if(r?.lineIndex!=null&&a[r.lineIndex])return y(a[r.lineIndex]);if(null!=i&&null!=o){let e=x(a,i,o);if(-1!==e)return y(a[e])}if(2===a.length&&a[0].left>a[1].right&&null!=i&&null!=o)return n;if("t"===s||"b"===s){let e=a[0],t=a[a.length-1],r="t"===s?e:t;return A(r.left,e.top,r.right,t.bottom)}let l="l"===s,u=a[0].left,d=a[0].right,c=l?1/0:-1/0,p=a[0],m=a[0];for(let e of a){u=Math.min(u,e.left),d=Math.max(d,e.right);let t=l?e.left:e.right;l&&tc?(c=t,p=e,m=e):t===c&&(m=e)}return A(u,p.top,d,m.bottom)}(t,e.placement,n);if(!i||"function"!=typeof e.platform.getElementRects)return{};let o=await e.platform.getElementRects({reference:{contextElement:r,getBoundingClientRect:()=>i},floating:e.elements.floating,strategy:e.strategy});return e.rects.reference.x===o.reference.x&&e.rects.reference.y===o.reference.y&&e.rects.reference.width===o.reference.width&&e.rects.reference.height===o.reference.height?{}:{reset:{rects:o}}}}}),H=G.update;(0,i.f)(()=>{N&&M&&H()},[N,M,H]);let U={open:N,side:G.side,align:G.align,anchorHidden:G.anchorHidden,instant:P},$=(0,K.f)(e,U,{styles:G.positionerStyles,transitionStatus:O,props:_,refs:[r,j.useStateSetter("positionerElement")],hidden:!M,inert:!N});return(0,t.jsx)(q.Provider,{value:G,children:(0,t.jsx)(s.s,{id:C,children:$})})});var H=e.i(692933),U=e.i(182578),$=e.i(417965);let W=a.forwardRef(function(e,t){let{className:r,render:n,style:i,...o}=e,s=d(),{side:u,align:c}=function(){let e=a.useContext(q);if(void 0===e)throw Error((0,l.f)(49));return e}(),p=s.useState("open"),m=s.useState("instantType"),g=s.useState("transitionStatus"),h=s.useState("popupProps"),v=s.useState("floatingRootContext"),A=s.useState("closeDelay");return(0,H.f)({open:p,ref:s.context.popupRef,onComplete(){p&&s.context.onOpenChangeComplete?.(!0)}}),(0,$.f)(v,{closeDelay:A}),(0,N.a)("div",e,{state:{open:p,side:u,align:c,instant:m,transitionStatus:g},ref:[t,s.context.popupRef,s.useStateSetter("popupElement")],props:[f.X,h,(0,U.f)(g),o],stateAttributesMapping:C.M})});e.s(["Popup",0,W,"Portal",0,E,"Positioner",0,G,"Root",0,_,"Trigger",0,V],906373);var Z=e.i(906373),Z=Z,Y=Z,X=Z,J=Z,Q=Z,ee=e.i(136562),et=e.i(535072),er=e.i(857162),ea=e.i(374696),en=e.i(261499);let ei=0,eo=0,es=new Set;function el(e){if(!(e.target instanceof Element&&e.target.closest('[data-slot="hover-card-content"]')))for(let e of(ei=Date.now(),es))e()}let eu=(0,a.createContext)(null);function ed(){return 1===(eo+=1)&&document.addEventListener("scroll",el,{capture:!0,passive:!0}),()=>{0==(eo-=1)&&document.removeEventListener("scroll",el,!0)}}e.s(["c",0,e=>{let n,i,o,s,l,u,d,c,p,m=(0,r.c)(17);m[0]!==e?({children:n,...i}=e,m[0]=e,m[1]=n,m[2]=i):(n=m[1],i=m[2]);let[f,g]=(0,a.useState)(!1),h=(0,et.o)("(hover: hover) and (pointer: fine)",!0);m[3]===Symbol.for("react.memo_cache_sentinel")?(o=[],m[3]=o):o=m[3],(0,a.useEffect)(ed,o),m[4]!==f?(s=()=>{if(!f)return;let e=()=>g(!1);return es.add(e),()=>{es.delete(e)}},l=[f],m[4]=f,m[5]=s,m[6]=l):(s=m[5],l=m[6]),(0,a.useEffect)(s,l),m[7]!==h?(u={isHoverCapable:h,setOpen:g},m[7]=h,m[8]=u):u=m[8];let v=u;m[9]===Symbol.for("react.memo_cache_sentinel")?(d=e=>{e&&Date.now()-ei<200||g(e)},m[9]=d):d=m[9];let A=d;return m[10]!==n||m[11]!==f||m[12]!==i?(c=(0,t.jsx)(Z.Root,{open:f,onOpenChange:A,...i,children:n}),m[10]=n,m[11]=f,m[12]=i,m[13]=c):c=m[13],m[14]!==v||m[15]!==c?(p=(0,t.jsx)(eu.Provider,{value:v,children:c}),m[14]=v,m[15]=c,m[16]=p):p=m[16],p},"P",0,e=>{let a,n,i,o,s,l,u,d,c,p,m,f,g,h,v,A,b,x=(0,r.c)(35);x[0]!==e?({className:o,anchor:n,align:f,alignOffset:a,arrowPadding:i,collisionAvoidance:s,collisionBoundary:l,collisionPadding:u,positionMethod:d,ref:p,side:g,sideOffset:h,sticky:m,...c}=e,x[0]=e,x[1]=a,x[2]=n,x[3]=i,x[4]=o,x[5]=s,x[6]=l,x[7]=u,x[8]=d,x[9]=c,x[10]=p,x[11]=m,x[12]=f,x[13]=g,x[14]=h):(a=x[1],n=x[2],i=x[3],o=x[4],s=x[5],l=x[6],u=x[7],d=x[8],c=x[9],p=x[10],m=x[11],f=x[12],g=x[13],h=x[14]);let y=void 0===f?"center":f,S=void 0===g?"top":g,I=void 0===h?6:h,k=(0,ea.r)();return x[15]!==o?(v=(0,ee.f)("w-72 origin-(--transform-origin) rounded-lg border border-border bg-popover p-4 text-popover-foreground shadow-md outline-hidden",en.X,o),x[15]=o,x[16]=v):v=x[16],x[17]!==c||x[18]!==p||x[19]!==v?(A=(0,t.jsx)(X.Popup,{"data-slot":"hover-card-content",ref:p,className:v,...c}),x[17]=c,x[18]=p,x[19]=v,x[20]=A):A=x[20],x[21]!==y||x[22]!==a||x[23]!==n||x[24]!==i||x[25]!==s||x[26]!==l||x[27]!==u||x[28]!==d||x[29]!==S||x[30]!==I||x[31]!==m||x[32]!==A||x[33]!==k?(b=(0,t.jsx)(J.Portal,{children:(0,t.jsx)(er.ContainedContextProvider,{value:!1,children:(0,t.jsx)(Q.Positioner,{anchor:n,align:y,alignOffset:a,arrowPadding:i,collisionAvoidance:s,collisionBoundary:l,collisionPadding:u,positionMethod:d,side:S,sideOffset:I,sticky:m,className:k,children:A})})}),x[21]=y,x[22]=a,x[23]=n,x[24]=i,x[25]=s,x[26]=l,x[27]=u,x[28]=d,x[29]=S,x[30]=I,x[31]=m,x[32]=A,x[33]=k,x[34]=b):b=x[34],b},"b",0,e=>{let n,i,o,s,l,u,d,c=(0,r.c)(16);c[0]!==e?({className:n,onClick:i,delay:s,closeDelay:l,...o}=e,c[0]=e,c[1]=n,c[2]=i,c[3]=o,c[4]=s,c[5]=l):(n=c[1],i=c[2],o=c[3],s=c[4],l=c[5]);let p=void 0===s?120:s,m=void 0===l?120:l,{isHoverCapable:f,setOpen:g}=function(){let e=(0,a.useContext)(eu);if(!e)throw Error("HoverCard subcomponents must be rendered inside ");return e}();return c[6]!==f||c[7]!==i||c[8]!==g?(u=e=>{if(!f){e.stopPropagation();let t=e.currentTarget;t instanceof Element&&(t.matches("a[href]")||t.querySelector("a[href]"))||(e.preventDefault(),g(!0))}i?.(e)},c[6]=f,c[7]=i,c[8]=g,c[9]=u):u=c[9],c[10]!==n||c[11]!==m||c[12]!==p||c[13]!==o||c[14]!==u?(d=(0,t.jsx)(Y.Trigger,{delay:p,closeDelay:m,className:n,onClick:u,...o}),c[10]=n,c[11]=m,c[12]=p,c[13]=o,c[14]=u,c[15]=d):d=c[15],d}],939025)},640947,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(136562),n=e.i(829622),i=e.i(987457);e.s(["f",0,e=>{let o,s,l,u,d=(0,r.c)(26),{providerName:c,providerIcon:p,className:m,frame:f}=e;d[0]!==p.url.length||d[1]!==c?(o=0===p.url.length?(0,t.jsx)("span",{"aria-hidden":!0,className:"flex size-full items-center justify-center rounded-sm bg-muted text-sm font-medium text-muted-foreground",children:c.trim().charAt(0).toUpperCase()}):null,d[0]=p.url.length,d[1]=c,d[2]=o):o=d[2];let g=o;if(void 0!==f&&f){let e,r,o;return d[3]!==m?(e=(0,a.f)("size-8",m),d[3]=m,d[4]=e):e=d[4],d[5]!==g||d[6]!==p.className||d[7]!==p.darkUrl||d[8]!==p.url||d[9]!==c?(r=g??(0,t.jsx)(n.RemoteFavicon,{className:(0,a.f)("size-full",p.className),faviconFor:c,imgSrc:p.url,imgSrcDark:p.darkUrl,size:256}),d[5]=g,d[6]=p.className,d[7]=p.darkUrl,d[8]=p.url,d[9]=c,d[10]=r):r=d[10],d[11]!==e||d[12]!==r?(o=(0,t.jsx)(i.f,{className:e,children:r}),d[11]=e,d[12]=r,d[13]=o):o=d[13],o}let h=null===g&&"bg-muted/40 p-1 shadow-inner";return d[14]!==m||d[15]!==h?(s=(0,a.f)("flex items-center justify-center","h-8 w-8 rounded-lg",h,m),d[14]=m,d[15]=h,d[16]=s):s=d[16],d[17]!==g||d[18]!==p.className||d[19]!==p.darkUrl||d[20]!==p.url||d[21]!==c?(l=g??(0,t.jsx)(n.RemoteFavicon,{className:(0,a.f)("overflow-hidden rounded-sm",p.className),faviconFor:c,imgSrc:p.url,imgSrcDark:p.darkUrl,size:256}),d[17]=g,d[18]=p.className,d[19]=p.darkUrl,d[20]=p.url,d[21]=c,d[22]=l):l=d[22],d[23]!==s||d[24]!==l?(u=(0,t.jsx)("div",{className:s,children:l}),d[23]=s,d[24]=l,d[25]=u):u=d[25],u}])},121979,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(207298),n=e.i(136562),i=e.i(199168);let o=(0,a.f)("rounded-full bg-current",{variants:{size:{default:"size-2",sm:"size-1",xs:"size-0.75"}},defaultVariants:{size:"default"}}),s=(0,a.f)("inline-flex items-center",{variants:{size:{default:"gap-2 leading-7",sm:"gap-1 leading-5",xs:"gap-0.75 leading-3"}},defaultVariants:{size:"default"}}),l=e=>{let a,i,s=(0,r.c)(5),{className:l,size:u}=e,d=void 0===l?"":l;return s[0]!==d||s[1]!==u?(a=(0,n.f)(o({size:u}),d),s[0]=d,s[1]=u,s[2]=a):a=s[2],s[3]!==a?(i=(0,t.jsx)("span",{className:a}),s[3]=a,s[4]=i):i=s[4],i};e.s(["f",0,e=>{let a,o,u,d,c,p,m,f,g,h,v=(0,r.c)(28);v[0]!==e?(a=void 0===e?{}:e,v[0]=e,v[1]=a):a=v[1];let{className:A,size:b,hasNoAnimation:x}=a,y=void 0===A?"":A,S=void 0===b?"default":b,I=void 0!==x&&x,k=(0,i.o)();v[2]!==k?(o=k("Loading"),v[2]=k,v[3]=o):o=v[3],v[4]!==y||v[5]!==S?(u=(0,n.f)(s({size:S}),y),v[4]=y,v[5]=S,v[6]=u):u=v[6];let R=I?"animate-none":"animate-scale-pulse";v[7]!==R?(d=(0,n.f)(R),v[7]=R,v[8]=d):d=v[8],v[9]!==S||v[10]!==d?(c=(0,t.jsx)(l,{size:S,className:d}),v[9]=S,v[10]=d,v[11]=c):c=v[11];let T=I?"animate-none":"animate-scale-pulse";v[12]!==T?(p=(0,n.f)(T,"delay-150"),v[12]=T,v[13]=p):p=v[13],v[14]!==S||v[15]!==p?(m=(0,t.jsx)(l,{size:S,className:p}),v[14]=S,v[15]=p,v[16]=m):m=v[16];let w=I?"animate-none":"animate-scale-pulse";return v[17]!==w?(f=(0,n.f)(w,"delay-300"),v[17]=w,v[18]=f):f=v[18],v[19]!==S||v[20]!==f?(g=(0,t.jsx)(l,{size:S,className:f}),v[19]=S,v[20]=f,v[21]=g):g=v[21],v[22]!==m||v[23]!==g||v[24]!==o||v[25]!==u||v[26]!==c?(h=(0,t.jsxs)("span",{role:"status","aria-label":o,className:u,children:[c,m,g]}),v[22]=m,v[23]=g,v[24]=o,v[25]=u,v[26]=c,v[27]=h):h=v[27],h}])},530798,338960,755483,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(427150),n=e.i(16043),i=e.i(136562);let o="or-table__sticky-end or-table__sticky-end--scroll-cue";function s(e){let t,a,i=(0,r.c)(6),{elementRef:o,className:s,stickyEnd:l}=e;i[0]!==o?(t=()=>{let e=o.current;if(!e?.classList.contains("or-table__sticky-end"))return;let t=e.closest(".or-table-wrapper");if(t)return t.dataset.tableHasStickyEnd="true",()=>{t.querySelectorAll(".or-table__sticky-end").length<=1&&delete t.dataset.tableHasStickyEnd}},i[0]=o,i[1]=t):t=i[1],i[2]!==s||i[3]!==o||i[4]!==l?(a=[o,s,l],i[2]=s,i[3]=o,i[4]=l,i[5]=a):a=i[5],(0,n.useLayoutEffect)(t,a)}e.s(["t",0,o,"K",0,s],338960);let l={muted:"or-table__row--muted","muted-50":"bg-muted/50","muted-40":"bg-muted/40"},u={overline:"text-overline"},d={hidden:"overflow-hidden"},c={background:"bg-background shadow-header-inset"},p={none:"overscroll-none"},m="border-r";var f=e.i(656521),g=e.i(751155),h=e.i(512688),v=e.i(143253);let A=new Map;function b(e){let t=A.get(e);return void 0===t?null:(A.delete(e),A.set(e,t),t)}function x(e){let t,a,i,o,s,l,u,d,c,p,m,f,g,x=(0,r.c)(63),{tableRef:R,enabled:T,rowSelector:w,observeContent:_,persistCache:z,columnKeys:j,signatureParts:E,hasRows:C,scope:N}=e,M=void 0===T||T,D=void 0===w?"tbody > tr[data-table-data-row]":w,P=void 0!==_&&_,O=void 0===z||z;x[0]!==E?(t=void 0===E?[]:E,x[0]=E,x[1]=t):t=x[1];let L=t,[V,q]=(0,n.useState)(null),B=(0,n.useRef)(0),F=null===V?"unmeasured":String(V);x[2]!==j||x[3]!==N||x[4]!==L||x[5]!==F?(a=[N,F,...L,...j],x[2]=j,x[3]=N,x[4]=L,x[5]=F,x[6]=a):a=x[6];let K=a.join("|"),G=(0,h.f)(j);x[7]!==K||x[8]!==V||x[9]!==O?(i=()=>null!==V&&O?b(K):null,x[7]=K,x[8]=V,x[9]=O,x[10]=i):i=x[10];let[H,U]=(0,n.useState)(i),$=(0,h.f)(H),[W,Z]=(0,n.useState)(!1),[Y,X]=(0,n.useState)(0),J=(0,n.useRef)("");return x[11]!==G||x[12]!==K||x[13]!==V||x[14]!==M||x[15]!==$||x[16]!==O?(o=()=>{if(!M)return;if(null===V)return void Z(!1);let e=O?b(K):null;U(e??function(e,t){if(null===e)return null;let r=new Map(e.map(({key:e,widthPx:t})=>[e,t])),a=e.reduce((e,{widthPx:t})=>e+t,0)/e.length||120;return t.map(e=>({key:e,widthPx:r.get(e)??a}))}($.current,G.current)),Z(null===e),X(0),J.current=""},x[11]=G,x[12]=K,x[13]=V,x[14]=M,x[15]=$,x[16]=O,x[17]=o):o=x[17],x[18]!==G||x[19]!==K||x[20]!==M||x[21]!==$||x[22]!==O?(s=[K,M,O,G,$],x[18]=G,x[19]=K,x[20]=M,x[21]=$,x[22]=O,x[23]=s):s=x[23],(0,v.f)(o,s),x[24]!==M||x[25]!==C||x[26]!==O?(l=()=>{M&&!O&&C&&(Z(!0),X(0),J.current="")},u=[M,O,C],x[24]=M,x[25]=C,x[26]=O,x[27]=l,x[28]=u):(l=x[27],u=x[28]),(0,v.f)(l,u),x[29]!==M||x[30]!==R?(d=()=>{if(!M)return;let e=R.current,t=e?.parentElement??e?.offsetParent;if(null==t||"u"{let t=e[0],r=t?.contentRect.width;void 0!==r&&Number.isFinite(r)&&!(r<=0)&&(B.current=r,q(4*Math.round(r/4)))});return r.observe(t),()=>r.disconnect()},x[29]=M,x[30]=R,x[31]=d):d=x[31],x[32]!==M||x[33]!==C||x[34]!==R?(c=[R,C,M],x[32]=M,x[33]=C,x[34]=R,x[35]=c):c=x[35],(0,v.f)(d,c),x[36]!==M||x[37]!==P||x[38]!==R?(p=()=>{if(!M||!P||"u"{J.current="",X(0),Z(!0)});return r.observe(t,{characterData:!0,childList:!0,subtree:!0}),()=>r.disconnect()},m=[R,M,P],x[36]=M,x[37]=P,x[38]=R,x[39]=p,x[40]=m):(p=x[39],m=x[40]),(0,v.f)(p,m),x[41]!==G||x[42]!==K||x[43]!==V||x[44]!==M||x[45]!==$||x[46]!==C||x[47]!==Y||x[48]!==W||x[49]!==O||x[50]!==D||x[51]!==R?(f=()=>{if(!M||!W||!C)return;let e=R.current;if(!e||null===e.offsetParent)return;let t=G.current;if(0===t.length)return;if(null===e.querySelector(`tbody [role="row"], ${D}`)){if(Y<20){let e=window.requestAnimationFrame(()=>X(k));return()=>window.cancelAnimationFrame(e)}return}if(null===V)return;let r=function({table:e,columnKeys:t,containerWidthPx:r,rowSelector:a}){let n=e.parentElement;if(null===n)return null;let i=document.createElement("table");for(let t of e.attributes)i.setAttribute(t.name,t.value);i.append(...Array.from(e.childNodes,e=>e.cloneNode(!0))),i.removeAttribute("id"),i.querySelector("colgroup")?.remove();let o=e.closest(".or-table-page-scroll")?.querySelector(".or-table-page-scroll__header thead");o&&(i.querySelector("thead")?.remove(),i.prepend(o.cloneNode(!0))),i.classList.remove("table-fixed"),i.style.position="absolute",i.style.visibility="hidden",i.style.pointerEvents="none",i.style.tableLayout="auto",i.setAttribute("aria-hidden","true"),i.dataset.widthMeasurement="true",i.style.width=`${r}px`;let s=i.querySelector("tbody");if(null===s)return null;let l=Array.from(e.querySelectorAll('tbody [role="row"]')).slice(0,20);if(l.length>0)for(let e of(s.replaceChildren(),l)){let t=i.ownerDocument.createElement("tr");for(let r of e.querySelectorAll('[role="cell"]')){let e=i.ownerDocument.createElement("td");e.className=r.className,e.classList.remove("or-table__cell--grid"),e.style.cssText=r.style.cssText,e.innerHTML=r.innerHTML,void 0!==r.dataset.colspan&&(e.colSpan=Number(r.dataset.colspan)),t.append(e)}s.append(t)}else{let t=Array.from(e.querySelectorAll(a)).slice(0,20);if(0===t.length)return null;s.replaceChildren(...t.map(e=>e.cloneNode(!0)))}n.append(i);let u=i.querySelectorAll("thead th");if(u.length!==t.length)return i.remove(),null;let d=Array.from(u,(e,r)=>({key:t[r],widthPx:e.getBoundingClientRect().width}));return i.remove(),d}({table:e,columnKeys:t,containerWidthPx:B.current,rowSelector:D});if(null===r)return;let a=r.map(I).join(","),n=r.some(S),i=!n&&a===J.current;if(J.current=a,!i){if(Y<20){var o;!n&&(o=$.current,null!==o&&(o.length!==r.length||o.some((e,t)=>{let a=r[t];return void 0===a||e.key!==a.key||Math.round(e.widthPx)!==Math.round(a.widthPx)})))&&U(r);let e=window.requestAnimationFrame(()=>X(y));return()=>window.cancelAnimationFrame(e)}if(n)return}O&&function(e,t){if(A.delete(e),A.set(e,t.map(({key:e,widthPx:t})=>({key:e,widthPx:t}))),A.size<=20)return;let r=A.keys().next().value;void 0!==r&&A.delete(r)}(K,r),U(r),Z(!1)},x[41]=G,x[42]=K,x[43]=V,x[44]=M,x[45]=$,x[46]=C,x[47]=Y,x[48]=W,x[49]=O,x[50]=D,x[51]=R,x[52]=f):f=x[52],x[53]!==G||x[54]!==K||x[55]!==M||x[56]!==C||x[57]!==Y||x[58]!==W||x[59]!==O||x[60]!==D||x[61]!==R?(g=[W,K,Y,C,R,M,D,O,G],x[53]=G,x[54]=K,x[55]=M,x[56]=C,x[57]=Y,x[58]=W,x[59]=O,x[60]=D,x[61]=R,x[62]=g):g=x[62],(0,v.f)(f,g),H}function y(e){return e+1}function S(e){let{widthPx:t}=e;return 0===t}function I(e){let{widthPx:t}=e;return Math.round(t)}function k(e){return e+1}e.s(["f",0,x],755483);let R={asc:"ascending",desc:"descending"},T={ascending:"asc",descending:"desc"},w=(0,n.createContext)(void 0),_="underline decoration-current/40 decoration-dotted underline-offset-2 hover:decoration-current",z={compact:"or-table--density-compact",regular:"or-table--density-regular",expanded:"or-table--density-expanded"};function j(e){return e.getBoundingClientRect().width}function E(e){return e.getBoundingClientRect().width}function C(e){let{widthPx:t}=e;return t}function N(e,t){return String(t)}function M(e){let a,o,s,l,u,d,p,m,f,g,h=(0,r.c)(19);h[0]!==e?({className:a,ref:s,sticky:u,surface:l,...o}=e,h[0]=e,h[1]=a,h[2]=o,h[3]=s,h[4]=l,h[5]=u):(a=h[1],o=h[2],s=h[3],l=h[4],u=h[5]);let v=void 0!==u&&u,A=(0,n.useRef)(null);h[6]!==v?(d=()=>{if(!v)return;let e=A.current,t=e?.closest(".or-table"),r=t?.closest(".or-table-wrapper");if(!t||!r)return;let a=void 0!==t.dataset.tableHasStickyHeader,n=void 0!==r.dataset.tableHasStickyHeader;return t.dataset.tableHasStickyHeader="true",r.dataset.tableHasStickyHeader="true",()=>{a||delete t.dataset.tableHasStickyHeader,n||delete r.dataset.tableHasStickyHeader}},p=[v],h[6]=v,h[7]=d,h[8]=p):(d=h[7],p=h[8]),(0,n.useLayoutEffect)(d,p),h[9]!==s?(m=e=>{A.current=e,"function"==typeof s?s(e):s&&(s.current=e)},h[9]=s,h[10]=m):m=h[10];let b=v&&"or-table__header--sticky",x=void 0!==l&&c[l];return h[11]!==a||h[12]!==b||h[13]!==x?(f=(0,i.f)(b,x,a),h[11]=a,h[12]=b,h[13]=x,h[14]=f):f=h[14],h[15]!==o||h[16]!==m||h[17]!==f?(g=(0,t.jsx)("thead",{ref:m,className:f,...o}),h[15]=o,h[16]=m,h[17]=f,h[18]=g):g=h[18],g}function D({handler:e,sortContext:t,sortDirection:r,sortId:a}){e?.(),t?.setActiveSort({direction:r,id:a})}function P(e){return L(e)||V(e)}function O(e){return!L(e)}function L(e){return(0,n.isValidElement)(e)&&e.type===M}function V(e){return(0,n.isValidElement)(e)&&"colgroup"===e.type}function q(e){let t;return{schedule(){void 0===t&&(t=requestAnimationFrame(()=>{t=void 0,e()}))},cancel(){void 0!==t&&cancelAnimationFrame(t)}}}function B({element:e,key:t,enabled:r}){r?"true"!==e.dataset[t]&&(e.dataset[t]="true"):void 0!==e.dataset[t]&&delete e.dataset[t]}e.s(["TOOLTIP_HINT_CLASSES",0,_,"Table",0,function(e){var a,o,s,l;let u,d,c,m,f,g,h,v,A,b,y,S,I,k,R,T,_,M,D,F,K,G,H,U,$,W,Z,Y,X,J,Q,ee,et,er,ea,en,ei,eo,es,el,eu,ed,ec,ep,em,ef,eg,eh,ev,eA,eb,ex=(0,r.c)(92);ex[0]!==e?({className:R,columnPinning:T,sort:Z,onSortChange:G,compact:Y,containerClassName:_,containerProps:M,density:D,footer:F,framed:X,headerPinning:J,intrinsicColumns:Q,intrinsicColumnsHasRows:ee,intrinsicColumnsFlexColumn:K,overflow:et,overscroll:H,pageScroll:er,scrollHeader:W,children:k,ref:$,...U}=e,ex[0]=e,ex[1]=k,ex[2]=R,ex[3]=T,ex[4]=_,ex[5]=M,ex[6]=D,ex[7]=F,ex[8]=K,ex[9]=G,ex[10]=H,ex[11]=U,ex[12]=$,ex[13]=W,ex[14]=Z,ex[15]=Y,ex[16]=X,ex[17]=J,ex[18]=Q,ex[19]=ee,ex[20]=et,ex[21]=er):(k=ex[1],R=ex[2],T=ex[3],_=ex[4],M=ex[5],D=ex[6],F=ex[7],K=ex[8],G=ex[9],H=ex[10],U=ex[11],$=ex[12],W=ex[13],Z=ex[14],Y=ex[15],X=ex[16],J=ex[17],Q=ex[18],ee=ex[19],et=ex[20],er=ex[21]);let ey=void 0!==Y&&Y,eS=void 0!==X&&X,eI=void 0===J?"sticky":J,ek=void 0!==Q&&Q,eR=void 0!==ee&&ee,eT=void 0===et?"auto":et,ew=void 0!==er&&er;ex[22]!==M?(ea=M??{},ex[22]=M,ex[23]=ea):ea=ex[23],ex[24]!==ea?({className:en,...ei}=ea,ex[24]=ea,ex[25]=en,ex[26]=ei):(en=ex[25],ei=ex[26]);let e_="static"===eI?eI:void 0,[ez,ej]=(0,n.useState)(),{bodyChildren:eE,headerChildren:eC,pageHeaderRef:eN,shouldSplitPageScroll:eM,wrapperRef:eD}=(a=k,o=ew,h=(0,r.c)(8),v=(0,n.useRef)(null),b=(A=o?n.Children.toArray(a):[]).some(L)&&A.some(V),y=(s=v,l=b,c=(0,r.c)(5),m=(0,n.useRef)(null),c[0]!==s?(u=()=>{let e=m.current;if(!e)return;let t=0/0,r=()=>{let r=e.scrollLeft;t=r;let a=r>2,n=r+e.clientWidth{e.scrollLeft!==t&&r()});r(),e.addEventListener("scroll",a.schedule,{passive:!0});let n=new ResizeObserver(r);return n.observe(e),()=>{e.removeEventListener("scroll",a.schedule),n.disconnect(),a.cancel()}},c[0]=s,c[1]=u):u=c[1],c[2]!==s||c[3]!==l?(d=[s,l],c[2]=s,c[3]=l,c[4]=d):d=c[4],(0,n.useLayoutEffect)(u,d),m),h[0]!==b||h[1]!==y?(f=[b,y],h[0]=b,h[1]=y,h[2]=f):f=h[2],(0,n.useEffect)(()=>{let e=y.current,t=v.current;if(!b||!e||!t)return;let r=0,a=()=>{let a=e.scrollLeft;t.scrollLeft=a;let n=a-t.scrollLeft;if(n!==r){r=n;let e=t.querySelector("table");e?.style.setProperty("transform",0===n?"":`translateX(${-n}px)`)}},n=q(a);return n.schedule(),e.addEventListener("scroll",n.schedule,{passive:!0}),e.addEventListener("scrollend",a,{passive:!0}),()=>{e.removeEventListener("scroll",n.schedule),e.removeEventListener("scrollend",a),n.cancel()}},f),S=b?A.filter(O):a,I=A.filter(P),h[3]!==b||h[4]!==S||h[5]!==I||h[6]!==y?(g={bodyChildren:S,headerChildren:I,pageHeaderRef:v,shouldSplitPageScroll:b,wrapperRef:y},h[3]=b,h[4]=S,h[5]=I,h[6]=y,h[7]=g):g=h[7],g),eP=(0,n.useRef)(null);if(ex[27]!==k){let e=n.Children.toArray(k).find(V);eo=void 0===e?0:n.Children.count(e.props.children),ex[27]=k,ex[28]=eo}else eo=ex[28];let eO=eo,eL=ek&&eM;ex[29]!==eO?(es=Array.from({length:eO},N),ex[29]=eO,ex[30]=es):es=ex[30];let eV=es,eq=eL?"tbody > tr":void 0,eB=!eL,eF=eL?String(eO):"disabled";ex[31]!==eF?(el=[eF],ex[31]=eF,ex[32]=el):el=ex[32];let eK=eL&&eR;ex[33]!==eV||ex[34]!==eL||ex[35]!==eq||ex[36]!==eB||ex[37]!==el||ex[38]!==eK?(eu={enabled:eL,tableRef:eP,rowSelector:eq,columnKeys:eV,observeContent:eL,persistCache:eB,signatureParts:el,hasRows:eK,scope:"table-intrinsic-columns"},ex[33]=eV,ex[34]=eL,ex[35]=eq,ex[36]=eB,ex[37]=el,ex[38]=eK,ex[39]=eu):eu=ex[39];let eG=x(eu),eH=(0,n.useRef)(null),eU=(0,n.useRef)(0);ex[40]!==eL||ex[41]!==eG||ex[42]!==eN||ex[43]!==eD?(ed=()=>{if(!eL||null===eG){eH.current=null,eU.current=0;return}let e=eG.map(C);eH.current=e,eU.current=0;let t=e=>{let t=eD.current?.querySelectorAll("colgroup > col")??[],r=eN.current?.querySelectorAll("colgroup > col")??[];e.forEach((e,a)=>{t[a]?.style.setProperty("width",`${e}px`),r[a]?.style.setProperty("width",`${e}px`)})};t(e);let r=()=>{if(eU.current>=2)return;let e=eD.current?.querySelector(".or-table-page-scroll__table"),r=eN.current?.querySelector("table"),a=e?.querySelectorAll("tbody > tr:first-child > td, tbody > tr:first-child > th"),n=r?.querySelectorAll("thead > tr:first-child > th"),i=eH.current;if(!e||!r||!a||!n||null===i||a.length!==i.length||n.length!==i.length)return;let o=function({appliedWidths:e,bodyWidths:t,headerWidths:r}){if(e.length!==r.length||e.length!==t.length)return null;let a=e.map((e,a)=>{let n=Math.max(r[a],t[a]);return n>e+.5?n:e});return a.some((t,r)=>t!==e[r])?a:null}({appliedWidths:i,bodyWidths:Array.from(a,E),headerWidths:Array.from(n,j)});null!==o&&(t(o),eH.current=o,eU.current=eU.current+1)};r();let a=q(r),n=eD.current?.querySelector(".or-table-page-scroll__table");if(!n||"u"{i.disconnect(),a.cancel()}},ec=[eL,eG,eN,eD],ex[40]=eL,ex[41]=eG,ex[42]=eN,ex[43]=eD,ex[44]=ed,ex[45]=ec):(ed=ex[44],ec=ex[45]),(0,n.useLayoutEffect)(ed,ec);let e$=(0,n.useRef)(null),eW=(0,n.useRef)(null),eZ=eM&&"sticky"===eI;ex[46]!==eZ?(ep={frameRef:e$,sentinelRef:eW,enabled:eZ},ex[46]=eZ,ex[47]=ep):ep=ex[47],function(e){let t,a,i=(0,r.c)(5),{frameRef:o,sentinelRef:s,enabled:l}=e;i[0]!==l||i[1]!==o||i[2]!==s?(t=()=>{let e,t,r;if(!l||"u"{let o,s=Number.isFinite(o=Number.parseFloat(getComputedStyle(i).top))?o:0,l=a.querySelector(".or-table-page-scroll__scroll-header")?.offsetHeight??0,d=Math.max(1,n.offsetHeight),c=function(e){for(let t=e.parentElement;t;t=t.parentElement){let{overflowY:e}=getComputedStyle(t);if(("auto"===e||"scroll"===e)&&t.scrollHeight>t.clientHeight)return t}return null}(a),p=`${s}:${l}:${d}`;p===t&&c===r&&e||(e?.disconnect(),t=p,r=c,(e=new IntersectionObserver(e=>{let[t]=e;t&&(t.isIntersecting?delete a.dataset.tableHeaderStuck:a.dataset.tableHeaderStuck="true",u())},{root:c,rootMargin:`${-(s-l+d)}px 0px 0px 0px`})).observe(n))};u();let d=new ResizeObserver(u);return d.observe(i),d.observe(a),window.addEventListener("resize",u,{passive:!0}),()=>{e?.disconnect(),d.disconnect(),window.removeEventListener("resize",u),delete a.dataset.tableHeaderStuck}},a=[l,o,s],i[0]=l,i[1]=o,i[2]=s,i[3]=t,i[4]=a):(t=i[3],a=i[4]),(0,n.useLayoutEffect)(t,a)}(ep);let{pinScopeId:eY,pinningCss:eX}=function(e,t){let a,i,o,s,l,u,d=(0,r.c)(17),c=(0,n.useId)();d[0]!==t?(a=void 0===t?[]:function({columnIds:e,pinnedIds:t}){let r=new Set(t);return e.flatMap((e,t)=>r.has(e)?[t+1]:[])}(t),d[0]=t,d[1]=a):a=d[1];let p=a;d[2]!==p?(i=p.join(","),d[2]=p,d[3]=i):i=d[3];let m=i;d[4]!==p||d[5]!==c?(o=function(e,t){if(0===t.length)return"";let r=`[data-or-pin-scope="${e}"]:not([data-or-pin-disabled='true'])`,a=e=>`.or-table__row > :nth-child(${e} of td, th, [role='cell']):not([colspan]):not([data-colspan])`,n=[];for(let e of t)n.push(`${r} ${a(e)} { --or-table-sticky-wash: transparent; position: sticky; left: var(--or-pin-left-${e}, 0px); z-index: var(--z-index-sticky, 49); background-color: var(--or-table-surface); background-image: linear-gradient(var(--or-table-sticky-wash), var(--or-table-sticky-wash)); transition: --or-table-sticky-wash 0.15s; }`,`${r} .or-table__header--sticky ${a(e)}, ${r} .or-table-page-scroll__header ${a(e)} { z-index: calc(var(--z-index-sticky, 49) + 1); }`,`${r}[data-table-header-pinning='static'] .or-table-page-scroll__header ${a(e)}, ${r}[data-table-header-pinning='static'] .or-table__header--sticky ${a(e)} { top: auto; z-index: 1; }`,`${r} .or-table__body .or-table__row:hover > :nth-child(${e} of td, th, [role='cell']) { --or-table-sticky-wash: var(--or-table-row-hover); }`,`${r} .or-table__body .or-table__row[data-state='selected'] > :nth-child(${e} of td, th, [role='cell']) { --or-table-sticky-wash: var(--or-table-row-selected); }`);let i=t.at(-1);return void 0!==i&&n.push(`${r} ${a(i)} { border-right: 1px solid hsl(var(--border)); }`),n.join("\n")}(c,p),d[4]=p,d[5]=c,d[6]=o):o=d[6];let f=o;if(d[7]!==p||d[8]!==e?(s=()=>{let t=e.current;if(!t||0===p.length)return;let r=t.classList.contains("or-table-wrapper")?t:t.querySelector(":scope > .or-table-wrapper"),a=function({scope:e,wrapper:t,measure:r}){let a=new ResizeObserver(r),n=()=>{for(let r of(a.disconnect(),t&&a.observe(t),e.querySelectorAll(".or-table__header-cell")))a.observe(r);r()};n();let i=new MutationObserver(n);return i.observe(e,{childList:!0}),()=>{a.disconnect(),i.disconnect()}}({scope:t,wrapper:r,measure:()=>(function({scope:e,wrapper:t,nthPositions:r}){let a=e.querySelectorAll(".or-table__header-cell");if(0===a.length)return;let n=e.querySelector("colgroup")?.children,i=e=>{let t=n?.item(e);if(t instanceof HTMLElement&&t.style.width.endsWith("px")){let e=Number.parseFloat(t.style.width);if(Number.isFinite(e))return e}return a[e]?.getBoundingClientRect().width??0},o=0,s=0;for(let t of r)e.style.setProperty(`--or-pin-left-${t}`,`${o}px`),o+=i(t-1),s+=a[t-1]?.getBoundingClientRect().width??0;let l=t?.clientWidth??0;if(l>0&&l-s<200){e.dataset.orPinDisabled="true",t&&delete t.dataset.tableHasStickyStart;return}delete e.dataset.orPinDisabled,t&&(t.dataset.tableHasStickyStart="true")})({scope:t,wrapper:r,nthPositions:p})});return()=>{for(let e of(a(),p))t.style.removeProperty(`--or-pin-left-${e}`);delete t.dataset.orPinDisabled,r&&delete r.dataset.tableHasStickyStart}},d[7]=p,d[8]=e,d[9]=s):s=d[9],d[10]!==m||d[11]!==e?(l=[e,m],d[10]=m,d[11]=e,d[12]=l):l=d[12],(0,n.useLayoutEffect)(s,l),0===p.length){let e;return d[13]===Symbol.for("react.memo_cache_sentinel")?(e={pinScopeId:void 0,pinningCss:""},d[13]=e):e=d[13],e}return d[14]!==f||d[15]!==c?(u={pinScopeId:c,pinningCss:f},d[14]=f,d[15]=c,d[16]=u):u=d[16],u}(ew?e$:eD,T);ex[48]!==eX?(em=eX?(0,t.jsx)("style",{children:eX}):null,ex[48]=eX,ex[49]=em):em=ex[49];let eJ=em,eQ=eM&&"or-table-page-scroll__table",e0=ey&&"or-table--compact",e1=void 0!==D&&z[D],e2=ek&&"or-table--intrinsic-columns",e5=null!==eG&&"or-table--intrinsic-columns-measured",e3="first"===K&&"or-table--intrinsic-columns-flex-first",e6="second"===K&&"or-table--intrinsic-columns-flex-second";ex[50]!==R||ex[51]!==eQ||ex[52]!==e0||ex[53]!==e1||ex[54]!==e2||ex[55]!==e5||ex[56]!==e3||ex[57]!==e6?(ef=(0,i.f)("or-table",eQ,e0,e1,e2,e5,e3,e6,R),ex[50]=R,ex[51]=eQ,ex[52]=e0,ex[53]=e1,ex[54]=e2,ex[55]=e5,ex[56]=e3,ex[57]=e6,ex[58]=ef):ef=ex[58];let e4=ef;ex[59]!==$?(eg=e=>{eP.current=e,"function"==typeof $?$(e):$&&($.current=e)},ex[59]=$,ex[60]=eg):eg=ex[60],ex[61]!==eE||ex[62]!==U||ex[63]!==eg||ex[64]!==e4?(eh=(0,t.jsx)("table",{ref:eg,className:e4,...U,children:eE}),ex[61]=eE,ex[62]=U,ex[63]=eg,ex[64]=e4,ex[65]=eh):eh=ex[65];let e7=eh;ex[66]!==ez||ex[67]!==G||ex[68]!==Z?(ev={activeSort:ez,setActiveSort:ej,controlledSort:Z,onSortChange:G},ex[66]=ez,ex[67]=G,ex[68]=Z,ex[69]=ev):ev=ex[69];let e8=ev;return ex[70]!==_||ex[71]!==en||ex[72]!==F||ex[73]!==eS||ex[74]!==eC||ex[75]!==e_||ex[76]!==eT||ex[77]!==H||ex[78]!==eN||ex[79]!==ew||ex[80]!==eY||ex[81]!==eJ||ex[82]!==ei||ex[83]!==W||ex[84]!==eM||ex[85]!==e4||ex[86]!==e7||ex[87]!==eD?(eA=ew?(0,t.jsxs)("div",{ref:e$,...ei,className:(0,i.f)("or-table-page-scroll",void 0!==H&&p[H],_,en),"data-table-header-pinning":e_,"data-or-pin-scope":eY,children:[W&&(0,t.jsx)("div",{className:"or-table-page-scroll__scroll-header",children:W}),eM&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{"aria-hidden":"true",className:"or-table-page-scroll__corner-cap"}),(0,t.jsx)("div",{ref:eN,className:"or-table-page-scroll__header",children:(0,t.jsx)("table",{className:e4,"data-table-has-sticky-header":"true",children:eC})})]}),(0,t.jsxs)("div",{ref:eD,className:"or-table-wrapper or-table-wrapper--page-scroll","data-table-has-sticky-header":"true",children:[e7,F&&(0,t.jsx)("div",{className:"or-table__scroll-footer",children:F})]}),eM&&(0,t.jsx)("div",{ref:eW,"aria-hidden":"true",className:"or-table-page-scroll__stuck-sentinel"}),eJ]}):(0,t.jsxs)("div",{...ei,ref:eD,className:(0,i.f)("or-table-wrapper",eS&&"or-table-wrapper--framed","visible"===eT&&"or-table-wrapper--overflow-visible",void 0!==H&&p[H],_,en),"data-table-header-pinning":e_,"data-or-pin-scope":eY,children:[W&&(0,t.jsx)("div",{className:"or-table__scroll-header",children:W}),e7,F&&(0,t.jsx)("div",{className:"or-table__scroll-footer",children:F}),eJ]}),ex[70]=_,ex[71]=en,ex[72]=F,ex[73]=eS,ex[74]=eC,ex[75]=e_,ex[76]=eT,ex[77]=H,ex[78]=eN,ex[79]=ew,ex[80]=eY,ex[81]=eJ,ex[82]=ei,ex[83]=W,ex[84]=eM,ex[85]=e4,ex[86]=e7,ex[87]=eD,ex[88]=eA):eA=ex[88],ex[89]!==e8||ex[90]!==eA?(eb=(0,t.jsx)(w.Provider,{value:e8,children:eA}),ex[89]=e8,ex[90]=eA,ex[91]=eb):eb=ex[91],eb},"TableBody",0,function(e){let a,n,o,s,l,u=(0,r.c)(10);return u[0]!==e?({className:a,ref:o,...n}=e,u[0]=e,u[1]=a,u[2]=n,u[3]=o):(a=u[1],n=u[2],o=u[3]),u[4]!==a?(s=(0,i.f)("or-table__body",a),u[4]=a,u[5]=s):s=u[5],u[6]!==n||u[7]!==o||u[8]!==s?(l=(0,t.jsx)("tbody",{ref:o,className:s,...n}),u[6]=n,u[7]=o,u[8]=s,u[9]=l):l=u[9],l},"TableCaption",0,function(e){let a,n,o,s,l,u=(0,r.c)(10);return u[0]!==e?({className:a,ref:o,...n}=e,u[0]=e,u[1]=a,u[2]=n,u[3]=o):(a=u[1],n=u[2],o=u[3]),u[4]!==a?(s=(0,i.f)("or-table__caption",a),u[4]=a,u[5]=s):s=u[5],u[6]!==n||u[7]!==o||u[8]!==s?(l=(0,t.jsx)("caption",{ref:o,className:s,...n}),u[6]=n,u[7]=o,u[8]=s,u[9]=l):l=u[9],l},"TableCell",0,function(e){let a,l,c,p,f,g,h,v,A,b,x,y,S,I=(0,r.c)(27);I[0]!==e?({className:a,divider:g,mono:h,overflow:l,ref:p,size:f,stickyEnd:v,strong:A,...c}=e,I[0]=e,I[1]=a,I[2]=l,I[3]=c,I[4]=p,I[5]=f,I[6]=g,I[7]=h,I[8]=v,I[9]=A):(a=I[1],l=I[2],c=I[3],p=I[4],f=I[5],g=I[6],h=I[7],v=I[8],A=I[9]);let k=void 0!==g&&g,R=void 0!==h&&h,T=void 0!==v&&v,w=void 0!==A&&A,_=(0,n.useRef)(null);I[10]!==a||I[11]!==T?(b={elementRef:_,className:a,stickyEnd:T},I[10]=a,I[11]=T,I[12]=b):b=I[12],s(b),I[13]!==p?(x=e=>{_.current=e,"function"==typeof p?p(e):p&&(p.current=e)},I[13]=p,I[14]=x):x=I[14];let z=R&&"font-mono",j=w&&"font-medium",E=void 0!==f&&u[f],C=void 0!==l&&d[l],N=k&&m,M=T&&o;return I[15]!==a||I[16]!==C||I[17]!==N||I[18]!==M||I[19]!==z||I[20]!==j||I[21]!==E?(y=(0,i.f)("or-table__cell",z,j,E,C,N,M,a),I[15]=a,I[16]=C,I[17]=N,I[18]=M,I[19]=z,I[20]=j,I[21]=E,I[22]=y):y=I[22],I[23]!==c||I[24]!==y||I[25]!==x?(S=(0,t.jsx)("td",{ref:x,className:y,...c}),I[23]=c,I[24]=y,I[25]=x,I[26]=S):S=I[26],S},"TableHead",0,function(e){let{children:r,className:l,colSpan:u,scope:d=void 0!==u&&u>1?"colgroup":"col",sortKey:c,onClearSort:p,onSortAscending:h,onSortDescending:v,sortFirstDirection:A="ascending",sortDirection:b,divider:x=!1,stickyEnd:y=!1,tooltip:S,sortAccessory:I,ref:k,...z}=e,j=(0,n.useRef)(null);s({elementRef:j,className:l,stickyEnd:y});let E=(0,n.useId)(),C=(0,n.useContext)(w),N=C?.onSortChange,M=void 0!==c&&void 0!==N,P=M||void 0!==h||void 0!==v,O=function({contextSortDirection:e,controlledSort:t,controlledSortDirection:r,isKeyed:n,isSortControlled:i,sortKey:o}){return n?(0,a.f)(t)&&t.key===o?R[t.direction]:void 0:i?r:e}({contextSortDirection:C?.activeSort?.id===E?C.activeSort.direction:void 0,controlledSort:C?.controlledSort,controlledSortDirection:b,isKeyed:M,isSortControlled:"sortDirection"in e,sortKey:c}),L=P?(0,t.jsxs)("button",{type:"button",className:"or-table__sort-button group/sort",onClick:()=>{var e;let t=function({firstDirection:e,hasAscendingSort:t,hasDescendingSort:r,sortDirection:a}){let n=("descending"===e?r:t)?e:"descending"===e?"ascending":"descending",i="ascending"===n?"descending":"ascending";return void 0===a?n:a===n&&("descending"===i?r:t)?i:void 0}({firstDirection:A,hasAscendingSort:M||void 0!==h,hasDescendingSort:M||void 0!==v,sortDirection:O});M?N(void 0===t?null:{key:c,direction:"ascending"===t?"asc":"desc"}):"ascending"===t?D({handler:h,sortContext:C,sortDirection:t,sortId:E}):"descending"===t?D({handler:v,sortContext:C,sortDirection:t,sortId:E}):(e=C,e?.setActiveSort(void 0),p?.())},children:[(0,t.jsx)("span",{className:(0,i.f)("min-w-0",S&&_),children:r}),(0,t.jsx)(f.z,{direction:void 0!==O&&T[O],firstDirection:T[A]})]}):r,V=S?(0,t.jsx)(g.Tooltip,{content:S,children:P?L:(0,t.jsx)(g.TooltipNonInteractiveTrigger,{className:(0,i.f)("inline-flex",_,"cursor-help"),children:L})}):L;return(0,t.jsxs)("th",{ref:e=>{j.current=e,"function"==typeof k?k(e):k&&(k.current=e)},className:(0,i.f)("or-table__header-cell text-left",x&&m,y&&o,l),colSpan:u,scope:d,"aria-sort":P?O??"none":void 0,...z,children:[V,P?I:null]})},"TableHeader",0,M,"TableRow",0,function(e){let a,n,o,s,u,d,c,p,m,f=(0,r.c)(18);f[0]!==e?({className:a,disabled:s,interactive:u,ref:o,selected:d,tone:c,...n}=e,f[0]=e,f[1]=a,f[2]=n,f[3]=o,f[4]=s,f[5]=u,f[6]=d,f[7]=c):(a=f[1],n=f[2],o=f[3],s=f[4],u=f[5],d=f[6],c=f[7]);let g=void 0!==s&&s,h=void 0!==d&&d,v=!(void 0===u||u)&&"or-table__row--static",A=void 0!==c&&l[c],b=g&&"opacity-50";f[8]!==a||f[9]!==v||f[10]!==A||f[11]!==b?(p=(0,i.f)("or-table__row",v,A,b,a),f[8]=a,f[9]=v,f[10]=A,f[11]=b,f[12]=p):p=f[12];let x=h?"selected":void 0;return f[13]!==n||f[14]!==o||f[15]!==p||f[16]!==x?(m=(0,t.jsx)("tr",{ref:o,className:p,"data-state":x,...n}),f[13]=n,f[14]=o,f[15]=p,f[16]=x,f[17]=m):m=f[17],m},"TableRowHead",0,function(e){let a,l,u,d,c,p,m,f,g,h=(0,r.c)(19);h[0]!==e?({className:a,muted:d,ref:u,stickyEnd:c,...l}=e,h[0]=e,h[1]=a,h[2]=l,h[3]=u,h[4]=d,h[5]=c):(a=h[1],l=h[2],u=h[3],d=h[4],c=h[5]);let v=void 0!==d&&d,A=void 0!==c&&c,b=(0,n.useRef)(null);h[6]!==a||h[7]!==A?(p={elementRef:b,className:a,stickyEnd:A},h[6]=a,h[7]=A,h[8]=p):p=h[8],s(p),h[9]!==u?(m=e=>{b.current=e,"function"==typeof u?u(e):u&&(u.current=e)},h[9]=u,h[10]=m):m=h[10];let x=v&&"or-table__row-head--muted",y=A&&o;return h[11]!==a||h[12]!==x||h[13]!==y?(f=(0,i.f)("or-table__cell or-table__row-head text-left",x,y,a),h[11]=a,h[12]=x,h[13]=y,h[14]=f):f=h[14],h[15]!==l||h[16]!==m||h[17]!==f?(g=(0,t.jsx)("th",{ref:m,className:f,...l,scope:"row"}),h[15]=l,h[16]=m,h[17]=f,h[18]=g):g=h[18],g},"requireTableSort",0,function(e,t){return r=>{null!==r?t(r):null!==e&&t({key:e.key,direction:"asc"===e.direction?"desc":"asc"})}}],530798)},656521,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(207298),n=e.i(61885),i=e.i(773151),o=e.i(136562),s=e.i(609623),l=e.i(261499);(0,a.f)("",{variants:{variant:{default:"px-4 py-2.5",action:"w-10 px-3 py-2.5"},align:{left:"text-left",right:"text-right"}},defaultVariants:{variant:"default"}}),(0,a.f)((0,o.f)("group/sort inline-flex max-w-full select-none items-center gap-1","text-inherit transition-colors hover:text-slate-12"),{variants:{align:{left:"",right:"flex-row-reverse"}},defaultVariants:{align:"left"}});let u=28/24;e.s(["z",0,function(e){let a,d,c,p,m,f=(0,r.c)(10),{direction:g,firstDirection:h}=e,v=!1!==g;f[0]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)(i.f,{"aria-hidden":"true",className:(0,o.f)("or-table__sort-icon or-table__sort-icon--muted","opacity-0 transition-opacity duration-fast ease-smooth-out motion-reduce:transition-none","group-hover/sort:opacity-100 group-focus-visible/sort:opacity-100")}),f[0]=a):a=f[0];let A=!1===g&&"delay-(--duration-fast) motion-reduce:transition-transform motion-reduce:duration-0",b="asc"===(!1===g?void 0===h?"asc":h:g)&&"-scale-y-100";return f[1]!==A||f[2]!==b?(d=(0,o.f)("flex",l.a,A,b),f[1]=A,f[2]=b,f[3]=d):d=f[3],f[4]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)(n.f,{"aria-hidden":"true",className:"or-table__sort-icon",strokeWidth:u}),f[4]=c):c=f[4],f[5]!==d?(p=(0,t.jsx)("span",{className:d,children:c}),f[5]=d,f[6]=p):p=f[6],f[7]!==v||f[8]!==p?(m=(0,t.jsx)(s.f,{active:v,from:a,to:p}),f[7]=v,f[8]=p,f[9]=m):m=f[9],m},"w",0,function(e,t="asc"){return!1===e?t:e===t&&("asc"===t?"desc":"asc")}])},397618,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(782143),n=e.i(297510),i=e.i(288265),o=e.i(136562),s=e.i(138257),l=e.i(261499),u=e.i(195362),d=e.i(336810);function c(e){let a,o,l,u,d=(0,r.c)(13),{data:c,showPercentage:p,valueFormatter:m}=e,f=(0,i.f)(),g=(0,s.useLocale)();return d[0]!==c.value||d[1]!==f||d[2]!==m?(a=null===c.value?f("N/A"):m(c.value),d[0]=c.value,d[1]=f,d[2]=m,d[3]=a):a=d[3],d[4]!==a?(o=(0,t.jsx)("div",{children:a}),d[4]=a,d[5]=o):o=d[5],d[6]!==c.percentage||d[7]!==g||d[8]!==p?(l=p&&void 0!==c.percentage&&(0,t.jsx)("div",{className:"mt-1 text-xs text-faint",children:(0,n.I)(c.percentage,{locale:g,preset:"native-fixed-1"})??"—"}),d[6]=c.percentage,d[7]=g,d[8]=p,d[9]=l):l=d[9],d[10]!==o||d[11]!==l?(u=(0,t.jsxs)(t.Fragment,{children:[o,l]}),d[10]=o,d[11]=l,d[12]=u):u=d[12],u}e.s(["f",0,function(e){let n,i,p,m,f,g,h,v,A,b,x,y,S,I,k=(0,r.c)(93),{data:R,index:T,offset:w,onLabel:_,onIcon:z,isHighlighted:j,onMouseEnter:E,onMouseLeave:C,isRanking:N,showPercentage:M,valueFormatter:D}=e,P=void 0===N||N,O=void 0===M||M,L=(0,s.useLocale)();k[0]!==L||k[1]!==D?(n=D??(e=>(0,a.f)(e,{locale:L,preset:"compact-rounded-thousands"})??"—"),k[0]=L,k[1]=D,k[2]=n):n=k[2];let V=n;k[3]!==R||k[4]!==O||k[5]!==V?(i=(0,t.jsx)(c,{data:R,showPercentage:O,valueFormatter:V}),k[3]=R,k[4]=O,k[5]=V,k[6]=i):i=k[6];let q=i;if(z){let e,r,a,n,i,s,c,p,m,f,g,h,v,A,b,x;k[7]===Symbol.for("react.memo_cache_sentinel")?(e=(0,o.f)("cursor-default",l.m),k[7]=e):e=k[7];let y=R.name;k[8]!==T||k[9]!==P||k[10]!==w?(r=P&&(0,t.jsxs)(u.r,{children:[T+w,"."]}),k[8]=T,k[9]=P,k[10]=w,k[11]=r):r=k[11];let S=!P&&"col-span-8";k[12]!==S?(a=(0,o.f)(S),k[12]=S,k[13]=a):a=k[13],k[14]!==j?(n=(0,o.f)("shrink-0",l.m,(0,d.I)(j)),k[14]=j,k[15]=n):n=k[15],k[16]!==R.name||k[17]!==z?(i=z(R.name),k[16]=R.name,k[17]=z,k[18]=i):i=k[18],k[19]!==n||k[20]!==i?(s=(0,t.jsx)("div",{className:n,children:i}),k[19]=n,k[20]=i,k[21]=s):s=k[21],k[22]!==j?(c=(0,o.f)(l.m,(0,d.I)(j)),k[22]=j,k[23]=c):c=k[23],k[24]!==R.name||k[25]!==_?(p=_?_(R.name):R.name,k[24]=R.name,k[25]=_,k[26]=p):p=k[26],k[27]!==c||k[28]!==p?(m=(0,t.jsx)(u.T,{className:c,children:p}),k[27]=c,k[28]=p,k[29]=m):m=k[29],k[30]!==s||k[31]!==m||k[32]!==a?(f=(0,t.jsxs)(u.B,{className:a,children:[s,m]}),k[30]=s,k[31]=m,k[32]=a,k[33]=f):f=k[33];let I=R.color;return k[34]!==j?(g=(0,d.I)(j),k[34]=j,k[35]=g):g=k[35],k[36]!==R.color||k[37]!==g?(h=(0,t.jsx)(u.v,{color:I,className:g}),k[36]=R.color,k[37]=g,k[38]=h):h=k[38],k[39]!==j?(v=(0,o.f)("text-xs text-muted-foreground",l.m,(0,d.I)(j)),k[39]=j,k[40]=v):v=k[40],k[41]!==v||k[42]!==q?(A=(0,t.jsx)("div",{className:v,children:q}),k[41]=v,k[42]=q,k[43]=A):A=k[43],k[44]!==h||k[45]!==A?(b=(0,t.jsxs)(u.R,{children:[h,A]}),k[44]=h,k[45]=A,k[46]=b):b=k[46],k[47]!==R.name||k[48]!==T||k[49]!==E||k[50]!==C||k[51]!==f||k[52]!==b||k[53]!==r?(x=(0,t.jsxs)(u.F,{role:"button",tabIndex:T,className:e,onMouseEnter:E,onMouseLeave:C,"aria-label":y,children:[r,f,b]}),k[47]=R.name,k[48]=T,k[49]=E,k[50]=C,k[51]=f,k[52]=b,k[53]=r,k[54]=x):x=k[54],x}k[55]===Symbol.for("react.memo_cache_sentinel")?(p=(0,o.f)("grid grid-cols-12 items-center w-full cursor-default",l.m),k[55]=p):p=k[55];let B=R.name;k[56]!==T||k[57]!==P||k[58]!==w?(m=P&&(0,t.jsxs)("div",{className:"text-muted-foreground col-span-1 text-left",children:[T+w,"."]}),k[56]=T,k[57]=P,k[58]=w,k[59]=m):m=k[59];let F=R.color;k[60]!==j?(f=(0,d.I)(j),k[60]=j,k[61]=f):f=k[61],k[62]!==R.color||k[63]!==f?(g=(0,t.jsx)("div",{className:"col-span-1 pl-2",children:(0,t.jsx)(u.v,{color:F,className:f})}),k[62]=R.color,k[63]=f,k[64]=g):g=k[64];let K=P?"col-span-8":"col-span-9";k[65]!==K?(h=(0,o.f)("pl-2 text-left",K),k[65]=K,k[66]=h):h=k[66];let G=!1===j&&"text-muted-foreground";return k[67]!==j||k[68]!==G?(v=(0,o.f)("font-medium truncate text-foreground",l.m,G,(0,d.I)(j)),k[67]=j,k[68]=G,k[69]=v):v=k[69],k[70]!==R.name||k[71]!==_?(A=_?_(R.name):R.name,k[70]=R.name,k[71]=_,k[72]=A):A=k[72],k[73]!==v||k[74]!==A?(b=(0,t.jsx)("div",{className:v,children:A}),k[73]=v,k[74]=A,k[75]=b):b=k[75],k[76]!==h||k[77]!==b?(x=(0,t.jsx)("div",{className:h,children:b}),k[76]=h,k[77]=b,k[78]=x):x=k[78],k[79]!==j?(y=(0,o.f)("col-span-2 text-right text-xs text-muted-foreground",l.m,(0,d.I)(j)),k[79]=j,k[80]=y):y=k[80],k[81]!==y||k[82]!==q?(S=(0,t.jsx)("div",{className:y,children:q}),k[81]=y,k[82]=q,k[83]=S):S=k[83],k[84]!==R.name||k[85]!==T||k[86]!==E||k[87]!==C||k[88]!==g||k[89]!==x||k[90]!==S||k[91]!==m?(I=(0,t.jsxs)("div",{role:"button",tabIndex:T,className:p,onMouseEnter:E,onMouseLeave:C,"aria-label":B,children:[m,g,x,S]}),k[84]=R.name,k[85]=T,k[86]=E,k[87]=C,k[88]=g,k[89]=x,k[90]=S,k[91]=m,k[92]=I):I=k[92],I}])},775922,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(687758),n=e.i(970973),i=e.i(16043);let o=i.forwardRef(function({title:e,titleId:t,...r},a){return i.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:a,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{fillRule:"evenodd",d:"M2.25 13.5a8.25 8.25 0 0 1 8.25-8.25.75.75 0 0 1 .75.75v6.75H18a.75.75 0 0 1 .75.75 8.25 8.25 0 0 1-16.5 0Z",clipRule:"evenodd"}),i.createElement("path",{fillRule:"evenodd",d:"M12.75 3a.75.75 0 0 1 .75-.75 8.25 8.25 0 0 1 8.25 8.25.75.75 0 0 1-.75.75h-7.5a.75.75 0 0 1-.75-.75V3Z",clipRule:"evenodd"}))}),s=i.forwardRef(function({title:e,titleId:t,...r},a){return i.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:a,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm8.706-1.442c1.146-.573 2.437.463 2.126 1.706l-.709 2.836.042-.02a.75.75 0 0 1 .67 1.34l-.04.022c-1.147.573-2.438-.463-2.127-1.706l.71-2.836-.042.02a.75.75 0 1 1-.671-1.34l.041-.022ZM12 9a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z",clipRule:"evenodd"}))}),l=i.forwardRef(function({title:e,titleId:t,...r},a){return i.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:a,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{fillRule:"evenodd",d:"M3 6a3 3 0 0 1 3-3h2.25a3 3 0 0 1 3 3v2.25a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6Zm9.75 0a3 3 0 0 1 3-3H18a3 3 0 0 1 3 3v2.25a3 3 0 0 1-3 3h-2.25a3 3 0 0 1-3-3V6ZM3 15.75a3 3 0 0 1 3-3h2.25a3 3 0 0 1 3 3V18a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3v-2.25Zm9.75 0a3 3 0 0 1 3-3H18a3 3 0 0 1 3 3V18a3 3 0 0 1-3 3h-2.25a3 3 0 0 1-3-3v-2.25Z",clipRule:"evenodd"}))});var u=e.i(288265),d=e.i(136562);let c={bar:(0,t.jsx)(n.f,{className:"size-10 text-border"}),pie:(0,t.jsx)(o,{className:"size-10 text-border"}),app:(0,t.jsx)(l,{className:"size-10 text-border"}),uptime:(0,t.jsx)(s,{className:"size-10 text-border"}),parameters:(0,t.jsx)(a.f,{className:"size-10 text-border"})};e.s(["f",0,function(e){let a,n,i,o,s,l=(0,r.c)(15),{message:p,className:m,icon:f,height:g}=e,h=(0,u.f)(),v=void 0!==g&&"h-(--empty-height)";l[0]!==m||l[1]!==v?(a=(0,d.f)("flex w-full flex-col items-center justify-center gap-2 p-6 text-center","text-muted-foreground",v,m),l[0]=m,l[1]=v,l[2]=a):a=l[2];let A="number"==typeof g?`${g}px`:g;l[3]!==A?(n={"--empty-height":A},l[3]=A,l[4]=n):n=l[4];let b=c[void 0===f?"bar":f];return l[5]!==h||l[6]!==p?(i=p??h("Not enough data to display yet."),l[5]=h,l[6]=p,l[7]=i):i=l[7],l[8]!==i?(o=(0,t.jsx)("p",{className:"text-section font-medium leading-snug text-foreground",children:i}),l[8]=i,l[9]=o):o=l[9],l[10]!==a||l[11]!==n||l[12]!==b||l[13]!==o?(s=(0,t.jsxs)("div",{"data-slot":"empty-analytics-data",className:a,"data-allow-inline-style":!0,style:n,children:[b,o]}),l[10]=a,l[11]=n,l[12]=b,l[13]=o,l[14]=s):s=l[14],s}],775922)},62255,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(119488);e.s(["f",0,function(e){let n,i,o=(0,r.c)(5),{fallback:s,className:l,children:u}=e;o[0]===Symbol.for("react.memo_cache_sentinel")?(n={rootMargin:"400px 0px",freezeOnceVisible:!0},o[0]=n):n=o[0];let{ref:d,isIntersecting:c}=(0,a.f)(n),p=c?u:s;return o[1]!==l||o[2]!==d||o[3]!==p?(i=(0,t.jsx)("div",{ref:d,className:l,children:p}),o[1]=l,o[2]=d,o[3]=p,o[4]=i):i=o[4],i}])},512688,e=>{"use strict";var t=e.i(663456),r=e.i(16043),a=e.i(143253);e.s(["f",0,function(e){let n,i,o=(0,t.c)(3),s=(0,r.useRef)(e);return o[0]!==e?(n=()=>{s.current=e},i=[e],o[0]=e,o[1]=n,o[2]=i):(n=o[1],i=o[2]),(0,a.f)(n,i),s}])},119488,e=>{"use strict";var t=e.i(663456),r=e.i(16043);e.s(["f",0,function(e){let a,n,i,o,s,l,u,d=(0,t.c)(25);d[0]!==e?(a=void 0===e?{}:e,d[0]=e,d[1]=a):a=d[1];let{threshold:c,root:p,rootMargin:m,freezeOnceVisible:f,initialIsIntersecting:g,onChange:h}=a,v=void 0===c?0:c,A=void 0===p?null:p,b=void 0===m?"0%":m,x=void 0!==f&&f,[y,S]=(0,r.useState)(null),[I,k]=(0,r.useState)(void 0!==g&&g),[R,T]=(0,r.useState)(void 0);d[2]!==h?(n=(e,t)=>{h?.(e,t)},d[2]=h,d[3]=n):n=d[3];let w=(0,r.useEffectEvent)(n),_=!!R&&I&&x;d[4]!==y||d[5]!==x||d[6]!==_||d[7]!==w||d[8]!==A||d[9]!==b||d[10]!==v?(i=()=>{if(!y||!("IntersectionObserver"in window)||_)return;let e=new IntersectionObserver(t=>{for(let r of t)k(r.isIntersecting),T(r),w(r.isIntersecting,r),r.isIntersecting&&x&&e.disconnect()},{threshold:v,root:A,rootMargin:b});return e.observe(y),()=>{e.disconnect()}},d[4]=y,d[5]=x,d[6]=_,d[7]=w,d[8]=A,d[9]=b,d[10]=v,d[11]=i):i=d[11],d[12]!==v?(o=JSON.stringify(v),d[12]=v,d[13]=o):o=d[13],d[14]!==y||d[15]!==x||d[16]!==_||d[17]!==A||d[18]!==b||d[19]!==o?(s=[y,o,A,b,_,x],d[14]=y,d[15]=x,d[16]=_,d[17]=A,d[18]=b,d[19]=o,d[20]=s):s=d[20],(0,r.useEffect)(i,s),d[21]===Symbol.for("react.memo_cache_sentinel")?(l=e=>{S(e??null)},d[21]=l):l=d[21];let z=l;return d[22]!==R||d[23]!==I?(u={ref:z,isIntersecting:I,entry:R},d[22]=R,d[23]=I,d[24]=u):u=d[24],u}])},866969,e=>{"use strict";var t=e.i(663456),r=e.i(16043),a=e.i(143253);e.s(["f",0,function(e,n){let i,o,s,l,u=(0,t.c)(6),d=(0,r.useRef)(e);u[0]!==e?(i=()=>{d.current=e},o=[e],u[0]=e,u[1]=i,u[2]=o):(i=u[1],o=u[2]),(0,a.f)(i,o),u[3]!==n?(s=()=>{if(null===n)return;let e=setInterval(()=>{d.current()},n);return()=>{clearInterval(e)}},l=[n],u[3]=n,u[4]=s,u[5]=l):(s=u[4],l=u[5]),(0,r.useEffect)(s,l)}])},634618,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(297272),n=e.i(782143),i=e.i(293747),o=e.i(288265),s=e.i(16043),l=e.i(866969),u=e.i(138257);function d({gt:e,locale:t},r){let n=r/1e3;return e("{seconds}s",n<60?{seconds:(0,a.B)(n,{locale:t,fractionDigits:1})??"—"}:{seconds:(0,a._)(Math.round(n),{locale:t})??"—"})}function c(e,t){return(0,i.f)(t,{locale:e,preset:"model-price-fixed"})??"—"}e.s(["E",0,function(){let e,a,n,i,c=(0,r.c)(8),p=(0,o.f)(),m=(0,u.useLocale)();c[0]===Symbol.for("react.memo_cache_sentinel")?(e=Date.now(),c[0]=e):e=c[0];let f=(0,s.useRef)(e),[g,h]=(0,s.useState)(0);return c[1]===Symbol.for("react.memo_cache_sentinel")?(a=()=>{h(Date.now()-f.current)},c[1]=a):a=c[1],(0,l.f)(a,100),c[2]!==g||c[3]!==p||c[4]!==m?(n=d({gt:p,locale:m},g),c[2]=g,c[3]=p,c[4]=m,c[5]=n):n=c[5],c[6]!==n?(i=(0,t.jsx)("p",{className:"text-muted-foreground text-xs",children:n}),c[6]=n,c[7]=i):i=c[7],i},"$",0,function(e){let i,s,l=(0,r.c)(24),{usage:p}=e,m=(0,o.f)(),f=(0,u.useLocale)();if(l[0]!==m||l[1]!==f||l[2]!==p.cost||l[3]!==p.durationMs||l[4]!==p.outputTokens||l[5]!==p.tokensPerSecond){if(i=[],void 0!==p.durationMs){let e;l[7]!==m||l[8]!==f||l[9]!==p.durationMs?(e=d({gt:m,locale:f},p.durationMs),l[7]=m,l[8]=f,l[9]=p.durationMs,l[10]=e):e=l[10],i.push(e)}if(void 0!==p.outputTokens){let e;if(l[11]!==m||l[12]!==f||l[13]!==p.outputTokens){var g;e=m("{count, plural, one {{formatted} token} other {{formatted} tokens}}",{count:p.outputTokens,formatted:(g=p.outputTokens,(0,n.f)(g,{locale:f,preset:"compact-integer-lowercase"})??"—")}),l[11]=m,l[12]=f,l[13]=p.outputTokens,l[14]=e}else e=l[14];i.push(e)}if(void 0!==p.tokensPerSecond){let e;l[15]!==m||l[16]!==f||l[17]!==p.tokensPerSecond?(e=m("{value} tok/s",{value:(0,a.B)(p.tokensPerSecond,{locale:f,fractionDigits:1})??"—"}),l[15]=m,l[16]=f,l[17]=p.tokensPerSecond,l[18]=e):e=l[18],i.push(e)}if(void 0!==p.cost){let e;l[19]!==f||l[20]!==p.cost?(e=c(f,p.cost),l[19]=f,l[20]=p.cost,l[21]=e):e=l[21],i.push(e)}l[0]=m,l[1]=f,l[2]=p.cost,l[3]=p.durationMs,l[4]=p.outputTokens,l[5]=p.tokensPerSecond,l[6]=i}else i=l[6];if(0===i.length)return null;let h=i.join(" · ");return l[22]!==h?(s=(0,t.jsx)("p",{className:"text-muted-foreground text-xs tabular-nums",children:h}),l[22]=h,l[23]=s):s=l[23],s},"J",0,c,"M",0,d])},656921,e=>{"use strict";var t=e.i(663456),r=e.i(16043);e.s(["f",0,function(e,a){let n,i,o,s=(0,t.c)(6);s[0]!==e||s[1]!==a?(n=t=>{if(null===e||!t.key)return;let r=t.target instanceof HTMLInputElement||t.target instanceof HTMLTextAreaElement;("function"==typeof e?!e(t):t.key!==e||r||t.ctrlKey||t.metaKey)||(t.preventDefault(),a(t))},s[0]=e,s[1]=a,s[2]=n):n=s[2];let l=(0,r.useEffectEvent)(n);s[3]!==l?(i=()=>{let e=e=>l(e);return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},s[3]=l,s[4]=i):i=s[4],s[5]===Symbol.for("react.memo_cache_sentinel")?(o=[],s[5]=o):o=s[5],(0,r.useEffect)(i,o)}])},380773,e=>{"use strict";var t=e.i(173465),r=e.i(613497),a=e.i(819750);let n=(0,e.i(524287).f)("model-examples",{list:(e,t)=>[{permaslug:e,modality:t}]});e.s(["f",0,function({permaslug:e,modality:i}){return(0,t.f)({queryKey:n.list(e,i),queryFn:null===e||null===i?r.V:({signal:t})=>(0,a.f)("/api/frontend/v1/model-examples",{searchParams:{permaslug:e,modality:i},signal:t})})}])},74680,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(288265),n=e.i(49505),i=e.i(88084),o=e.i(16043),s=e.i(136562),l=e.i(139697),u=e.i(80676),d=e.i(656921);let c="absolute top-1/2 z-30 flex -translate-y-1/2 pointer-events-none opacity-0 transition-opacity duration-200 group-hover:opacity-100";function p(e){let a,n,i,o,l,u,d=(0,r.c)(12);d[0]!==e?({side:o,onClick:n,className:a,...i}=e,d[0]=e,d[1]=a,d[2]=n,d[3]=i,d[4]=o):(a=d[1],n=d[2],i=d[3],o=d[4]);let c="left"===o?"left-0":"right-0";return d[5]!==a||d[6]!==c?(l=(0,s.f)("absolute top-0 z-20 h-full w-1/3 cursor-pointer transition-colors active:bg-accent-subtle/80","focus-visible:border-focus-border focus-visible:shadow-focus focus-visible:outline-none",c,a),d[5]=a,d[6]=c,d[7]=l):l=d[7],d[8]!==n||d[9]!==i||d[10]!==l?(u=(0,t.jsx)("button",{type:"button",onClick:n,className:l,...i}),d[8]=n,d[9]=i,d[10]=l,d[11]=u):u=d[11],u}e.s(["f",0,function(e){let m,f,g,h,v,A,b,x,y,S,I,k,R,T,w,_,z,j,E,C,N=(0,r.c)(50),{images:M,initialIndex:D,children:P}=e,O=void 0===D?0:D,L=(0,a.f)(),[V,q]=(0,o.useState)(!1),[B,F]=(0,o.useState)(O),K=M.length,G=M[B];if(N[0]!==O||N[1]!==V?(m=()=>{V&&F(O)},f=[V,O],N[0]=O,N[1]=V,N[2]=m,N[3]=f):(m=N[2],f=N[3]),(0,o.useEffect)(m,f),N[4]!==V?(g=e=>V&&"ArrowRight"===e.key,N[4]=V,N[5]=g):g=N[5],N[6]!==K?(h=()=>F(e=>(e+1)%K),N[6]=K,N[7]=h):h=N[7],(0,d.f)(g,h),N[8]!==V?(v=e=>V&&"ArrowLeft"===e.key,N[8]=V,N[9]=v):v=N[9],N[10]!==K?(A=()=>F(e=>(e-1+K)%K),N[10]=K,N[11]=A):A=N[11],(0,d.f)(v,A),!G)return null;N[12]!==L||N[13]!==G.name?(b=L("Open image preview: {name}",{name:G.name}),N[12]=L,N[13]=G.name,N[14]=b):b=N[14],N[15]===Symbol.for("react.memo_cache_sentinel")?(x=()=>q(!0),N[15]=x):x=N[15],N[16]!==P||N[17]!==b?(y=(0,t.jsx)(l.Button,{variant:"ghost",className:"h-auto p-0 contents w-auto hover:bg-transparent","aria-label":b,onClick:x,children:P}),N[16]=P,N[17]=b,N[18]=y):y=N[18],N[19]===Symbol.for("react.memo_cache_sentinel")?(S=(0,s.f)("w-full max-w-4xl flex flex-col items-center"),N[19]=S):S=N[19],N[20]!==G.name?(I=(0,t.jsx)(u.s,{children:(0,t.jsx)(u.F,{children:G.name})}),N[20]=G.name,N[21]=I):I=N[21],N[22]!==L||N[23]!==K?(k=K>1&&(0,t.jsx)(p,{"aria-label":L("Previous image"),side:"left",onClick:()=>F(e=>(e-1+K)%K)}),N[22]=L,N[23]=K,N[24]=k):k=N[24],N[25]!==L||N[26]!==K?(R=K>1&&(0,t.jsx)(p,{"aria-label":L("Next image"),side:"right",onClick:()=>F(e=>(e+1)%K)}),N[25]=L,N[26]=K,N[27]=R):R=N[27],N[28]!==K?(T=K>1&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:(0,s.f)(c,"left-0"),children:(0,t.jsx)(l.Button,{variant:"outline",size:"icon-sm",tabIndex:-1,children:(0,t.jsx)(n.f,{className:"size-4"})})}),(0,t.jsx)("div",{className:(0,s.f)(c,"right-0"),children:(0,t.jsx)(l.Button,{variant:"outline",size:"icon-sm",tabIndex:-1,children:(0,t.jsx)(i.f,{className:"size-4"})})})]}),N[28]=K,N[29]=T):T=N[29],N[30]!==G.name||N[31]!==G.url?(w=(0,t.jsx)("img",{src:G.url,alt:G.name,className:"relative z-0 object-contain max-h-[65vh] w-auto max-w-full select-none mx-auto rounded-sm",draggable:!1}),N[30]=G.name,N[31]=G.url,N[32]=w):w=N[32],N[33]!==k||N[34]!==R||N[35]!==T||N[36]!==w?(_=(0,t.jsxs)("div",{className:"relative flex items-center justify-center w-full max-h-[70vh] min-h-80 group ph-no-capture","data-dd-privacy":"hidden",children:[k,R,T,w]}),N[33]=k,N[34]=R,N[35]=T,N[36]=w,N[37]=_):_=N[37];let H=K>1?`${B+1} / ${K}`:"";return N[38]!==H?(z=(0,t.jsx)("div",{className:"text-xs text-muted-foreground py-2 text-center w-full",children:H}),N[38]=H,N[39]=z):z=N[39],N[40]!==I||N[41]!==_||N[42]!==z?(j=(0,t.jsxs)(u.d,{keepMounted:!1,className:S,children:[I,_,z]}),N[40]=I,N[41]=_,N[42]=z,N[43]=j):j=N[43],N[44]!==V||N[45]!==j?(E=(0,t.jsx)(u.N,{open:V,onOpenChange:q,children:j}),N[44]=V,N[45]=j,N[46]=E):E=N[46],N[47]!==y||N[48]!==E?(C=(0,t.jsxs)(t.Fragment,{children:[y,E]}),N[47]=y,N[48]=E,N[49]=C):C=N[49],C}])},674690,e=>{"use strict";e.i(882844);var t=e.i(684434),r=e.i(51214),a=e.i(519004);r.i,e.s(["f",0,function(e){let r;return e?(r={},e.resolutions?.length&&(r.resolution={type:t.k.Enum,values:[...e.resolutions]}),e.aspect_ratios?.length&&(r.aspect_ratio={type:t.k.Enum,values:[...e.aspect_ratios]}),e.output_formats?.length&&(r.output_format={type:t.k.Enum,values:[...e.output_formats]}),e.qualities?.length&&(r.quality={type:t.k.Enum,values:[...e.qualities]}),e.backgrounds?.length&&(r.background={type:t.k.Enum,values:[...e.backgrounds]}),(0,a.f)(e.n)&&(r.n={type:t.k.Range,min:e.n.min,max:e.n.max}),(0,a.f)(e.input_references)&&(r.input_references={type:t.k.Range,min:e.input_references.min,max:e.input_references.max}),(0,a.f)(e.output_compression)&&(r.output_compression={type:t.k.Range,min:e.output_compression.min,max:e.output_compression.max}),e.seed&&(r.seed={type:t.k.Boolean}),e.size&&(r.size={type:t.k.Boolean}),r):null}],674690)},519004,e=>{"use strict";e.s(["f",0,function(e){return"number"==typeof e?.min&&"number"==typeof e.max}])},562576,e=>{"use strict";var t=e.i(430022);let r=["3d","1w","1m","3m","1y","all"],a={"3d":3*t.N,"1w":t.b,"1m":31*t.N,"3m":92*t.N,"1y":366*t.N,all:null};e.s(["b",0,r,"S",0,"v8","e",0,a,"Q",0,function(e){return r.some(t=>t===e)}])},381462,e=>{"use strict";e.i(882844);var t=e.i(635157),r=e.i(297900);e.i(806);let a={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(a),Object.values(r.f),e.s(["f",0,a])},837808,e=>{"use strict";e.i(882844);var t=e.i(635157);let r=t.z.object({url:t.z.string().url(),thumbnailUrl:t.z.string().url().nullable(),frameThumbnailUrls:t.z.array(t.z.string().url()).optional(),mediaType:t.z.string(),width:t.z.number().int().positive(),height:t.z.number().int().positive()}),a=t.z.object({url:t.z.string().url(),mediaType:t.z.string()}),n=t.z.object({permaslug:t.z.string(),name:t.z.string(),author:t.z.string()}),i=t.z.object({label:t.z.string(),pass:t.z.boolean(),spoken:t.z.literal(!0).optional()}),o=t.z.object({checks:t.z.array(i).min(1),judges:t.z.array(n).min(1).optional()}),s=t.z.object({label:t.z.string(),score:t.z.number(),reason:t.z.string().optional()}),l=n.extend({ratings:t.z.array(s).min(1)}),u=t.z.object({judges:t.z.array(l).min(1)}),d=t.z.object({model:n,provider:t.z.string().nullable(),asset:r,costUsd:t.z.number().nullable(),durationMs:t.z.number().nullable(),score:o.optional(),quality:u.optional(),source:a.optional(),reasoningEffort:t.z.string().optional()}),c=t.z.object({slug:t.z.string(),name:t.z.string(),prompt:t.z.string(),inputAssets:t.z.array(r),cells:t.z.array(d)}),p=t.z.object({kind:t.z.enum(["challenge","style"]).optional(),modality:t.z.enum(["image","video"]).optional(),slug:t.z.string(),name:t.z.string(),navLabel:t.z.string(),description:t.z.string().nullable(),variantAxisName:t.z.string().nullable(),variants:t.z.array(c)}),m=t.z.object({slug:t.z.string(),name:t.z.string(),description:t.z.string().nullable(),kind:t.z.enum(["challenges","styles"]).optional(),challenges:t.z.array(p)});t.z.object({sections:t.z.array(m)}),t.z.string().min(1).max(64).regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/,"lowercase letters, digits and single hyphens only");let f=t.z.object({kind:t.z.enum(["challenge","style"]),slug:t.z.string(),name:t.z.string(),navLabel:t.z.string()}),g=t.z.object({slug:t.z.string(),name:t.z.string(),challenges:t.z.array(f)});t.z.object({sections:t.z.array(g)});let h=t.z.object({challenge:p});t.z.string().min(3).max(256).regex(/^[a-z0-9._-]+\/[a-z0-9._-]+$/i,"author/slug with letters, digits, dots, hyphens and underscores");let v=["image","video"],A=t.z.object({url:t.z.string().url(),mediaType:t.z.string().startsWith("audio/"),durationMs:t.z.number().int().nonnegative().nullable(),voice:t.z.string().nullable(),transcript:t.z.string().nullable(),peaks:t.z.array(t.z.number().min(0).max(1)).optional()}),b=t.z.object({model:n,provider:t.z.string().nullable(),asset:A,costUsd:t.z.number().nullable(),durationMs:t.z.number().nullable(),score:o.optional(),heard:t.z.object({text:t.z.string(),judge:n}).nullish()}),x=t.z.object({slug:t.z.string(),name:t.z.string(),prompt:t.z.string(),cells:t.z.array(b)}),y=t.z.object({kind:t.z.enum(["challenge","style"]),slug:t.z.string(),name:t.z.string(),navLabel:t.z.string(),description:t.z.string().nullable(),variantAxisName:t.z.string().nullable(),variants:t.z.array(x)}),S=t.z.object({challenge:y}),I="speech",k=t.z.object({url:t.z.string().url(),mediaType:t.z.literal("text/html"),threeVersion:t.z.string().nullable(),thumbnailUrl:t.z.string().url().nullish()}),R=t.z.object({model:n,provider:t.z.string().nullable(),asset:k,costUsd:t.z.number().nullable(),durationMs:t.z.number().nullable(),score:o.optional()}),T=t.z.object({slug:t.z.string(),name:t.z.string(),prompt:t.z.string(),cells:t.z.array(R)}),w=t.z.object({kind:t.z.enum(["challenge","style"]),slug:t.z.string(),name:t.z.string(),navLabel:t.z.string(),description:t.z.string().nullable(),variantAxisName:t.z.string().nullable(),variants:t.z.array(T)}),_=t.z.object({challenge:w}),z=t.z.object({position:t.z.number().int().positive(),of:t.z.number().int().positive(),tied:t.z.boolean().optional()}),j=t.z.object({rosterCount:t.z.number().int().nonnegative(),evalsRun:t.z.number().int().nonnegative(),gradedRun:t.z.number().int().nonnegative(),scoredRun:t.z.number().int().nonnegative().optional(),checksPassed:t.z.number().int().nonnegative(),checksTotal:t.z.number().int().nonnegative(),meanFidelity:t.z.number().min(0).max(1).nullable(),rankOnChecks:z.nullable(),rankOnCost:z.nullable(),rankOnSpeed:z.nullable(),challenges:t.z.record(t.z.string(),z.nullable())});t.z.object({pages:t.z.array(t.z.union([h,S,_])),standing:j.optional()});let E=[...v,I,"game"];[...v],[...E];let C=[...v,I];t.z.enum(C);let N=t.z.object({kind:t.z.enum(["challenge","style"]),slug:t.z.string(),navLabel:t.z.string(),variantSlug:t.z.string(),variantCount:t.z.number().int().positive(),prompt:t.z.string(),costUsd:t.z.number().nullable(),durationMs:t.z.number().nullable(),score:o.optional()}),M=N.extend({modality:t.z.enum(v),asset:r.pick({url:!0,thumbnailUrl:!0,frameThumbnailUrls:!0,width:!0,height:!0})}),D=N.extend({modality:t.z.literal(I),asset:A.pick({url:!0,voice:!0,transcript:!0,peaks:!0}),heard:b.shape.heard}),P=t.z.union([M,D]);t.z.object({tiles:t.z.array(P),standing:j.optional()}),e.s(["U",0,"strip","Z",0,I])},733476,e=>{"use strict";e.i(988590);var t,r,a,n,i=((t={}).AzureOpenAIEmbeddingsAdapter="AzureOpenAIEmbeddingsAdapter",t.OpenAIEmbeddingsAdapter="OpenAIEmbeddingsAdapter",t.DeepInfraEmbeddingsAdapter="DeepInfraEmbeddingsAdapter",t.NvidiaEmbeddingsAdapter="NvidiaEmbeddingsAdapter",t.VoyageEmbeddingsAdapter="VoyageEmbeddingsAdapter",t.VoyageMultimodalEmbeddingsAdapter="VoyageMultimodalEmbeddingsAdapter",t.CohereEmbeddingsAdapter="CohereEmbeddingsAdapter",t.PerplexityEmbeddingsAdapter="PerplexityEmbeddingsAdapter",t.GoogleAIStudioEmbeddingsAdapter="GoogleAIStudioEmbeddingsAdapter",t.GoogleVertexEmbeddingsAdapter="GoogleVertexEmbeddingsAdapter",t.AmazonBedrockEmbeddingsAdapter="AmazonBedrockEmbeddingsAdapter",t),o=((r={}).AlibabaImageAdapter="AlibabaImageAdapter",r.SeedreamImageAdapter="SeedreamImageAdapter",r.XaiImageAdapter="XaiImageAdapter",r.RecraftImageAdapter="RecraftImageAdapter",r.BlackForestLabsImageAdapter="BlackForestLabsImageAdapter",r.BlackForestLabsFlux3ImageAdapter="BlackForestLabsFlux3ImageAdapter",r.SourcefulImageAdapter="SourcefulImageAdapter",r.SourcefulV2ImageAdapter="SourcefulV2ImageAdapter",r.SourcefulV25ImageAdapter="SourcefulV25ImageAdapter",r.SourcefulV26ImageAdapter="SourcefulV26ImageAdapter",r.OpenAIImageAdapter="OpenAIImageAdapter",r.MetaImageAdapter="MetaImageAdapter",r.GoogleAIStudioGeminiImageAdapter="GoogleAIStudioGeminiImageAdapter",r.GoogleVertexGeminiImageAdapter="GoogleVertexGeminiImageAdapter",r.AzureMAIImageAdapter="AzureMAIImageAdapter",r.AzureOpenAIImageAdapter="AzureOpenAIImageAdapter",r.QuiverImageAdapter="QuiverImageAdapter",r.KreaImageAdapter="KreaImageAdapter",r.NovitaImageAdapter="NovitaImageAdapter",r.TencentImageAdapter="TencentImageAdapter",r.TencentPanoramaImageAdapter="TencentPanoramaImageAdapter",r.MinimaxImageAdapter="MinimaxImageAdapter",r),s=((a={}).AzureDecisionsAdapter="AzureDecisionsAdapter",a.AzureOpenAIDecisionsAdapter="AzureOpenAIDecisionsAdapter",a.BasetenDecisionsAdapter="BasetenDecisionsAdapter",a.CloudflareDecisionsAdapter="CloudflareDecisionsAdapter",a.DeepInfraSystemOneDecisionsAdapter="DeepInfraSystemOneDecisionsAdapter",a.GoogleAIStudioDecisionsAdapter="GoogleAIStudioDecisionsAdapter",a.GoogleVertexDecisionsAdapter="GoogleVertexDecisionsAdapter",a.HeyGenDecisionsAdapter="HeyGenDecisionsAdapter",a.InceptionDecisionsAdapter="InceptionDecisionsAdapter",a.LiquidDecisionsAdapter="LiquidDecisionsAdapter",a.MakoraDecisionsAdapter="MakoraDecisionsAdapter",a.MorphDecisionsAdapter="MorphDecisionsAdapter",a.OpenAIDecisionsAdapter="OpenAIDecisionsAdapter",a.ParallelDecisionsAdapter="ParallelDecisionsAdapter",a.PerplexityDecisionsAdapter="PerplexityDecisionsAdapter",a.PrimeIntellectDecisionsAdapter="PrimeIntellectDecisionsAdapter",a.RespanDecisionsAdapter="RespanDecisionsAdapter",a.RespanSystemOneDecisionsAdapter="RespanSystemOneDecisionsAdapter",a.ScaleDownDecisionsAdapter="ScaleDownDecisionsAdapter",a.TogetherTevDecisionsAdapter="TogetherTevDecisionsAdapter",a.TypeSafeDecisionsAdapter="TypeSafeDecisionsAdapter",a.TypeSafeFirstPartyDecisionsAdapter="TypeSafeFirstPartyDecisionsAdapter",a),l=((n={}).AI21Adapter="AI21Adapter",n.AionLabsAdapter="AionLabsAdapter",n.AkashAdapter="AkashAdapter",n.ArceeAdapter="ArceeAdapter",n.AmazonBedrockConverseAdapter="AmazonBedrockConverseAdapter",n.AmazonBedrockConverseNovaReasoningAdapter="AmazonBedrockConverseNovaReasoningAdapter",n.AmazonBedrockInvokeAnthropicAdapter="AmazonBedrockInvokeAnthropicAdapter",n.AmazonBedrockOSSAdapter="AmazonBedrockOSSAdapter",n.AmazonBedrockRuntimeChatCompletionsAdapter="AmazonBedrockRuntimeChatCompletionsAdapter",n.AmazonNovaAdapter="AmazonNovaAdapter",n.AnthropicMessageAdapter="AnthropicMessageAdapter",n.ClaudeOnAwsAdapter="ClaudeOnAwsAdapter",n.AlibabaAdapter="AlibabaAdapter",n.AmbientAdapter="AmbientAdapter",n.BlackForestLabsAdapter="BlackForestLabsAdapter",n.BaiduAdapter="BaiduAdapter",n.AvianAdapter="AvianAdapter",n.AzureAnthropicAdapter="AzureAnthropicAdapter",n.AzureMistralAdapter="AzureMistralAdapter",n.AzureOpenAIAdapter="AzureOpenAIAdapter",n.AzureOpenAIResponsesAdapter="AzureOpenAIResponsesAdapter",n.AzureMAIImageAdapter="AzureMAIImageAdapter",n.AzureOSSAdapter="AzureOSSAdapter",n.BasetenAdapter="BasetenAdapter",n.BytePlusAdapter="BytePlusAdapter",n.ChutesAdapter="ChutesAdapter",n.CloudflareAdapter="CloudflareAdapter",n.CohereCompatAdapter="CohereCompatAdapter",n.CohereV2Adapter="CohereV2Adapter",n.InternalStreamCohereV2Adapter="InternalStreamCohereV2Adapter",n.CerebrasAdapter="CerebrasAdapter",n.ClarifaiAdapter="ClarifaiAdapter",n.CosineAdapter="CosineAdapter",n.CrucibleAdapter="CrucibleAdapter",n.CrucibleResponsesAdapter="CrucibleResponsesAdapter",n.CrusoeAdapter="CrusoeAdapter",n.DarkbloomAdapter="DarkbloomAdapter",n.DatabricksAnthropicAdapter="DatabricksAnthropicAdapter",n.DatabricksOpenResponsesAdapter="DatabricksOpenResponsesAdapter",n.DeepInfraAdapter="DeepInfraAdapter",n.DeepSeekAdapter="DeepSeekAdapter",n.DigitalOceanAdapter="DigitalOceanAdapter",n.EncodedImageOpenAIAdapter="EncodedImageOpenAIAdapter",n.FakeAdapter="FakeAdapter",n.FireworksAdapter="FireworksAdapter",n.FireworksAnthropicAdapter="FireworksAnthropicAdapter",n.FriendliAdapter="FriendliAdapter",n.GoogleAIStudioGeminiAdapter="GoogleAIStudioGeminiAdapter",n.GoogleVertexAnthropicAdapter="GoogleVertexAnthropicAdapter",n.GoogleVertexGeminiAdapter="GoogleVertexGeminiAdapter",n.GroqAdapter="GroqAdapter",n.InceptionAdapter="InceptionAdapter",n.InceptronAdapter="InceptronAdapter",n.InferactVLLMAdapter="InferactVLLMAdapter",n.InferenceNetAdapter="InferenceNetAdapter",n.InfermaticAdapter="InfermaticAdapter",n.InflectionAdapter="InflectionAdapter",n.InflectionLegacyAdapter="InflectionLegacyAdapter",n.InternalStreamAmazonBedrockInvokeAnthropicAdapter="InternalStreamAmazonBedrockInvokeAnthropicAdapter",n.InternalStreamAmazonBedrockOpenAIResponsesAdapter="InternalStreamAmazonBedrockOpenAIResponsesAdapter",n.InternalStreamAmazonBedrockRuntimeOpenAIResponsesAdapter="InternalStreamAmazonBedrockRuntimeOpenAIResponsesAdapter",n.InternalStreamAnthropicMessageAdapter="InternalStreamAnthropicMessageAdapter",n.InternalStreamAzureAnthropicAdapter="InternalStreamAzureAnthropicAdapter",n.InternalStreamAzureMAIImageAdapter="InternalStreamAzureMAIImageAdapter",n.InternalStreamAzureOpenAIResponsesAdapter="InternalStreamAzureOpenAIResponsesAdapter",n.InternalStreamClaudeOnAwsAdapter="InternalStreamClaudeOnAwsAdapter",n.InternalStreamGoogleAIStudioInteractionsAdapter="InternalStreamGoogleAIStudioInteractionsAdapter",n.InternalStreamGoogleVertexAnthropicAdapter="InternalStreamGoogleVertexAnthropicAdapter",n.InternalStreamGoogleVertexInteractionsAdapter="InternalStreamGoogleVertexInteractionsAdapter",n.InternalStreamGoogleVertexResponsesAdapter="InternalStreamGoogleVertexResponsesAdapter",n.InternalStreamOpenAIResponsesAdapter="InternalStreamOpenAIResponsesAdapter",n.InternalStreamRecraftAdapter="InternalStreamRecraftAdapter",n.InternalStreamXAIImageAdapter="InternalStreamXAIImageAdapter",n.InternalStreamXAIResponsesAdapter="InternalStreamXAIResponsesAdapter",n.IonetAdapter="IonetAdapter",n.IonstreamAdapter="IonstreamAdapter",n.MakoraAdapter="MakoraAdapter",n.MancerAdapter="MancerAdapter",n.InternalStreamMetaResponsesAdapter="InternalStreamMetaResponsesAdapter",n.MistralAdapter="MistralAdapter",n.MinimaxAdapter="MinimaxAdapter",n.ModelRunAdapter="ModelRunAdapter",n.MinimaxChatCompletionV2Adapter="MinimaxChatCompletionV2Adapter",n.MoonshotAdapter="MoonshotAdapter",n.MorphAdapter="MorphAdapter",n.MorphFastApplyAdapter="MorphFastApplyAdapter",n.NearAIAdapter="NearAIAdapter",n.NebiusAdapter="NebiusAdapter",n.NexAGIAdapter="NexAGIAdapter",n.NextBitAdapter="NextBitAdapter",n.NovitaAdapter="NovitaAdapter",n.NvidiaAdapter="NvidiaAdapter",n.OllamaAdapter="OllamaAdapter",n.OpenAIAdapter="OpenAIAdapter",n.AtlasCloudAdapter="AtlasCloudAdapter",n.GMICloudAdapter="GMICloudAdapter",n.OpenInferenceAdapter="OpenInferenceAdapter",n.ParasailAdapter="ParasailAdapter",n.PhalaAdapter="PhalaAdapter",n.PearlResearchAdapter="PearlResearchAdapter",n.PrimeIntellectAdapter="PrimeIntellectAdapter",n.OpenAIResponsesAdapter="OpenAIResponsesAdapter",n.PerceptronAdapter="PerceptronAdapter",n.PerplexityAdapter="PerplexityAdapter",n.RecraftAdapter="RecraftAdapter",n.RelaceAdapter="RelaceAdapter",n.StealthAdapter="StealthAdapter",n.StealthAdapter2="StealthAdapter2",n.InternalStreamStealthAdapter2="InternalStreamStealthAdapter2",n.StepFunAdapter="StepFunAdapter",n.StreamLakeAdapter="StreamLakeAdapter",n.TogetherAdapter="TogetherAdapter",n.UnbiasedAdapter="UnbiasedAdapter",n.UpstageAdapter="UpstageAdapter",n.XAIImageAdapter="XAIImageAdapter",n.XAIResponsesAdapter="XAIResponsesAdapter",n.XiaomiAdapter="XiaomiAdapter",n.ZAIAdapter="ZAIAdapter",n.SiliconFlowAdapter="SiliconFlowAdapter",n.SailResearchAdapter="SailResearchAdapter",n.SakanaAIAdapter="SakanaAIAdapter",n.SambaNovaAdapter="SambaNovaAdapter",n.ScaleDownAdapter="ScaleDownAdapter",n.TenstorrentAdapter="TenstorrentAdapter",n.ThinkingMachinesAdapter="ThinkingMachinesAdapter",n.SeedreamAdapter="SeedreamAdapter",n.InternalStreamSeedreamAdapter="InternalStreamSeedreamAdapter",n.SourcefulAdapter="SourcefulAdapter",n.SourcefulV2Adapter="SourcefulV2Adapter",n.SourcefulV25Adapter="SourcefulV25Adapter",n.SourcefulV26Adapter="SourcefulV26Adapter",n.InternalStreamBlackForestLabsAdapter="InternalStreamBlackForestLabsAdapter",n.InternalStreamSourcefulAdapter="InternalStreamSourcefulAdapter",n.InternalStreamSourcefulV2Adapter="InternalStreamSourcefulV2Adapter",n.InternalStreamSourcefulV25Adapter="InternalStreamSourcefulV25Adapter",n.InternalStreamSourcefulV26Adapter="InternalStreamSourcefulV26Adapter",n.VeniceAdapter="VeniceAdapter",n.VertexOpenAIAdapter="VertexOpenAIAdapter",n.VLLMChatCompletionsAdapter="VLLMChatCompletionsAdapter",n.VLLMOpenAIAdapter="VLLMOpenAIAdapter",n.WaferAdapter="WaferAdapter",n.WandbAdapter="WandbAdapter",n);e.s(["n",()=>l,"o",0,{Stub:"stub",OpenAIBatchAdapter:"OpenAIBatchAdapter",AnthropicBatchAdapter:"AnthropicBatchAdapter",GoogleAIStudioGeminiBatchAdapter:"GoogleAIStudioGeminiBatchAdapter",VertexGeminiBatchAdapter:"VertexGeminiBatchAdapter",VertexDeferredInteractionsBatchAdapter:"VertexDeferredInteractionsBatchAdapter",TogetherBatchAdapter:"TogetherBatchAdapter",ParasailBatchAdapter:"ParasailBatchAdapter",DeepInfraBatchAdapter:"DeepInfraBatchAdapter",AlibabaBatchAdapter:"AlibabaBatchAdapter",FireworksBatchAdapter:"FireworksBatchAdapter",MistralBatchAdapter:"MistralBatchAdapter",XAIBatchAdapter:"XAIBatchAdapter",SailResearchBatchAdapter:"SailResearchBatchAdapter",MorphBatchAdapter:"MorphBatchAdapter"},"G",()=>s,"R",()=>i,"W",0,{CloudflareClairicExtractionsAdapter:"CloudflareClairicExtractionsAdapter",InceptionExtractionsAdapter:"InceptionExtractionsAdapter",InferenceNetSchematronExtractionsAdapter:"InferenceNetSchematronExtractionsAdapter",PerplexityExtractionsAdapter:"PerplexityExtractionsAdapter",SageExtractionsAdapter:"SageExtractionsAdapter",ScaleDownExtractionsAdapter:"ScaleDownExtractionsAdapter"},"O",()=>o,"u",0,{AlibabaTTSAdapter:"AlibabaTTSAdapter",AssemblyAITTSAdapter:"AssemblyAITTSAdapter",AzureTTSAdapter:"AzureTTSAdapter",OpenAITTSAdapter:"OpenAITTSAdapter",OpenAISSETTSAdapter:"OpenAISSETTSAdapter",DeepInfraTTSAdapter:"DeepInfraTTSAdapter",GoogleVertexTTSAdapter:"GoogleVertexTTSAdapter",GoogleAIStudioTTSAdapter:"GoogleAIStudioTTSAdapter",MistralTTSAdapter:"MistralTTSAdapter",XAITTSAdapter:"XAITTSAdapter",DeepgramTTSAdapter:"DeepgramTTSAdapter",MinimaxTTSAdapter:"MinimaxTTSAdapter",FishAudioTTSAdapter:"FishAudioTTSAdapter",TogetherTTSAdapter:"TogetherTTSAdapter",SeedAudioTTSAdapter:"SeedAudioTTSAdapter",ElevenLabsTTSAdapter:"ElevenLabsTTSAdapter",HeyGenTTSAdapter:"HeyGenTTSAdapter",SpeechifyTTSAdapter:"SpeechifyTTSAdapter"}])},297900,e=>{"use strict";e.s(["f",0,{Completions:{apiType:"completions",scriptName:"api",perfWorkload:"text_generation",lifecycleSurface:null,requestPaths:["/api/v1/chat/completions","/api/v1/completions","/api/v1/messages","/api/v1/responses"],aliasRequestPaths:[]},Embeddings:{apiType:"embeddings",scriptName:"embeddings-api",perfWorkload:"embeddings",lifecycleSurface:"embeddings",requestPaths:["/api/v1/embeddings"],aliasRequestPaths:[]},Rerank:{apiType:"rerank",scriptName:"rerank-api",perfWorkload:"rerank",lifecycleSurface:"rerank",requestPaths:["/api/v1/rerank"],aliasRequestPaths:[]},Decisions:{apiType:"decisions",scriptName:"decisions-api",perfWorkload:"decisions",lifecycleSurface:"decisions",requestPaths:["/api/alpha/decisions"],aliasRequestPaths:[]},Extractions:{apiType:"extractions",scriptName:"decisions-api",perfWorkload:"extractions",lifecycleSurface:"extractions",requestPaths:["/api/alpha/extractions"],aliasRequestPaths:[]},Video:{apiType:"video",scriptName:"video-api",perfWorkload:"video_generation",lifecycleSurface:"videoGeneration",requestPaths:["/api/v1/videos"],aliasRequestPaths:[]},TTS:{apiType:"tts",scriptName:"tts-api",perfWorkload:"tts",lifecycleSurface:"tts",requestPaths:["/api/v1/audio/speech"],aliasRequestPaths:[]},STT:{apiType:"stt",scriptName:"stt-api",perfWorkload:"stt",lifecycleSurface:"stt",requestPaths:["/api/v1/audio/transcriptions"],aliasRequestPaths:[]},Image:{apiType:"image",scriptName:"image-api",perfWorkload:"image_generation",lifecycleSurface:"imageGeneration",requestPaths:["/api/v1/images"],aliasRequestPaths:["/api/v1/images/generations"]},Tools:{apiType:"tools_invoke",scriptName:"api",perfWorkload:"unknown",lifecycleSurface:null,requestPaths:[],aliasRequestPaths:[]}}])},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)},684434,e=>{"use strict";var t=e.i(882844),r=e.i(635157);let a={Enum:"enum",Range:"range",Boolean:"boolean"},n=r.z.object({type:r.z.literal(a.Enum),values:r.z.array(r.z.string())}).openapi("EnumCapability",{description:"A parameter that accepts one of a discrete set of string values.",example:{type:"enum",values:["1K","2K","4K"]}}),i=r.z.object({type:r.z.literal(a.Range),min:(0,t.$)(),max:(0,t.$)()}).openapi("RangeCapability",{description:"A parameter that accepts any value within an inclusive numeric range.",example:{type:"range",min:0,max:100}}),o=r.z.object({type:r.z.literal(a.Boolean)}).openapi("BooleanCapability",{description:"A supported-or-not flag. Present means the parameter is accepted.",example:{type:"boolean"}}),s=r.z.discriminatedUnion("type",[n,i,o]).openapi("CapabilityDescriptor",{description:"A typed descriptor for one supported request parameter.",example:{type:"enum",values:["1K","2K","4K"]},discriminator:{propertyName:"type",mapping:{enum:"#/components/schemas/EnumCapability",range:"#/components/schemas/RangeCapability",boolean:"#/components/schemas/BooleanCapability"}}}),l=r.z.record(r.z.string(),s).openapi("SupportedParameters",{description:"Supported request parameters, keyed by request field name. An absent key means the parameter is not supported.",example:{resolution:{type:"enum",values:["1K","2K","4K"]},output_compression:{type:"range",min:0,max:100},seed:{type:"boolean"}}});e.s(["k",0,a,"_",0,l])},667417,e=>{"use strict";var t,r,a=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),i=((r={}).Text="text",r.Image="image",r.File="file",r.Audio="audio",r.Video="video",r);let o=(0,a.v)(i),s=(0,a.v)(n);e.s(["v",0,o,"D",()=>i,"Z",0,s,"j",()=>n,"f",0,["text","image","video","speech","transcription","embeddings","rerank","decisions","audio"],"K",0,function(e){return 1===e.length&&e.includes("text")}])},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"}])},51214,e=>{"use strict";e.i(882844);var t=e.i(635157);let r=t.z.object({type:t.z.literal("text"),text:t.z.string()}).openapi("PredictionContentText",{description:"Text content part for a predicted output.",example:{type:"text",text:"Expected response"}}),a=t.z.object({type:t.z.literal("image_url"),image_url:t.z.object({url:t.z.string()})}).openapi("ContentPartImage",{example:{type:"image_url",image_url:{url:"https://example.com/image.png"}}});e.s(["i",0,a,"d",0,r])},983739,e=>{"use strict";var t,r=((t={}).Price="price",t.Throughput="throughput",t.Latency="latency",t.Exacto="exacto",t);e.s(["f",()=>r])},983335,e=>{"use strict";var t=e.i(988590),r=e.i(771271);function a(e){var t;let{envKey:r,...a}=e;return{...a,envKey:void 0===r?(t=e.slug,`${t.toUpperCase().replaceAll("-","_")}_API_KEY`):r}}let n={[r.R.AnyScale]:a({slug:"anyscale",isDead:!0}),[r.R.Atoma]:a({slug:"atoma",isDead:!0}),[r.R.CentML]:a({slug:"centml",isDead:!0}),[r.R.CrofAI]:a({slug:"crofai",isDead:!0}),[r.R.Enfer]:a({slug:"enfer",isDead:!0}),[r.R.GoPomelo]:a({slug:"gopomelo",isDead:!0}),[r.R.HuggingFace]:a({slug:"huggingface",isDead:!0}),[r.R.Hyperbolic]:a({slug:"hyperbolic",isDead:!0}),[r.R.HyperbolicQuantized]:a({slug:"hyperbolic-quantized",isDead:!0}),[r.R.InoCloud]:a({slug:"inocloud",isDead:!0}),[r.R.Kluster]:a({slug:"klusterai",isDead:!0}),[r.R.Lambda]:a({slug:"lambda",isDead:!0}),[r.R.Lepton]:a({slug:"lepton",isDead:!0}),[r.R.Lynn]:a({slug:"lynn",isDead:!0}),[r.R.LynnPrivate]:a({slug:"lynn-private",isDead:!0}),[r.R.Mancer]:a({slug:"mancer-old",isDead:!0}),[r.R.Modal]:a({slug:"modal"}),[r.R.NCompass]:a({slug:"ncompass",isDead:!0}),[r.R.Nineteen]:a({slug:"nineteen",isDead:!0}),[r.R.OctoAI]:a({slug:"octoai",isDead:!0}),[r.R.Recursal]:a({slug:"recursal",isDead:!0}),[r.R.Reflection]:a({slug:"reflection",isDead:!0}),[r.R.Replicate]:a({slug:"replicate",isDead:!0,iconInvertTheme:"dark"}),[r.R.SambaNovaCloaked]:a({slug:"sambanova-cloaked",isDead:!0}),[r.R.SFCompute]:a({slug:"sf-compute",isDead:!0,iconInvertTheme:"dark"}),[r.R.Targon]:a({slug:"targon",isDead:!0}),[r.R.TogetherLite]:a({slug:"together-lite",isDead:!0}),[r.R.Ubicloud]:a({slug:"ubicloud",isDead:!0}),[r.R.ZeroOneAI]:a({slug:"01ai",isDead:!0}),[r.R.AkashML]:a({slug:"akashml",envKey:"AKASH_API_KEY"}),[r.R.AI21]:a({slug:"ai21"}),[r.R.AionLabs]:a({slug:"aion-labs"}),[r.R.Alibaba]:a({slug:"alibaba",envKey:null}),[r.R.Ambient]:a({slug:"ambient",envKey:null}),[r.R.AntDigital]:a({slug:"antdigital",envKey:"ANT_DIGITAL_API_KEY"}),[r.R.Baidu]:a({slug:"baidu"}),[r.R.AmazonBedrock]:a({slug:"amazon-bedrock"}),[r.R.AmazonNova]:a({slug:"amazon-nova"}),[r.R.Anthropic]:a({slug:"anthropic",envKey:null}),[r.R.ArceeAI]:a({slug:"arcee-ai",envKey:null}),[r.R.AssemblyAI]:a({slug:"assemblyai"}),[r.R.AtlasCloud]:a({slug:"atlas-cloud"}),[r.R.Avian]:a({slug:"avian"}),[r.R.Azure]:a({slug:"azure",envKey:null}),[r.R.Baseten]:a({slug:"baseten",envKey:null}),[r.R.BytePlus]:a({slug:"byteplus"}),[r.R.BlackForestLabs]:a({slug:"black-forest-labs"}),[r.R.Cerebras]:a({slug:"cerebras"}),[r.R.Chutes]:a({slug:"chutes",envKey:null}),[r.R.Cirrascale]:a({slug:"cirrascale"}),[r.R.ClaudeOnAws]:a({slug:"claude-on-aws"}),[r.R.Clarifai]:a({slug:"clarifai"}),[r.R.Cloudflare]:a({slug:"cloudflare",envKey:"CLOUDFLARE_AI_JSON_API_KEY"}),[r.R.Cohere]:a({slug:"cohere",envKey:null}),[r.R.CoreWeave]:a({slug:"coreweave",envKey:"WANDB_API_KEY"}),[r.R.Cosine]:a({slug:"cosine"}),[r.R.Crucible]:a({slug:"crucible",isManagedOnly:!0}),[r.R.Crusoe]:a({slug:"crusoe"}),[r.R.Darkbloom]:a({slug:"darkbloom"}),[r.R.Databricks]:a({slug:"databricks"}),[r.R.Decart]:a({slug:"decart"}),[r.R.Deepgram]:a({slug:"deepgram"}),[r.R.DeepInfra]:a({slug:"deepinfra"}),[r.R.DeepSeek]:a({slug:"deepseek",envKey:null}),[r.R.DekaLLM]:a({slug:"dekallm"}),[r.R.DigitalOcean]:a({slug:"digitalocean",envKey:"DIGITAL_OCEAN_API_KEY"}),[r.R.ElevenLabs]:a({slug:"elevenlabs"}),[r.R.Featherless]:a({slug:"featherless"}),[r.R.Fireworks]:a({slug:"fireworks"}),[r.R.FishAudio]:a({slug:"fish-audio"}),[r.R.Friendli]:a({slug:"friendli"}),[r.R.GMICloud]:a({slug:"gmicloud",envKey:"GMI_CLOUD_API_KEY",iconInvertTheme:"dark"}),[r.R.Google]:a({slug:"google-vertex",envKey:null}),[r.R.GoogleAIStudio]:a({slug:"google-ai-studio"}),[r.R.Groq]:a({slug:"groq"}),[r.R.HeyGen]:a({slug:"heygen"}),[r.R.Inception]:a({slug:"inception",envKey:null,iconInvertTheme:"dark"}),[r.R.Inceptron]:a({slug:"inceptron"}),[r.R.InferenceNet]:a({slug:"inference-net",iconInvertTheme:"dark"}),[r.R.Ionstream]:a({slug:"ionstream"}),[r.R.Infermatic]:a({slug:"infermatic"}),[r.R.IONet]:a({slug:"io-net"}),[r.R.InferactVLLM]:a({slug:"inferact-vllm"}),[r.R.Inflection]:a({slug:"inflection"}),[r.R.KT]:a({slug:"kt"}),[r.R.Liquid]:a({slug:"liquid",iconInvertTheme:"dark"}),[r.R.Makora]:a({slug:"makora"}),[r.R.Mara]:a({slug:"mara"}),[r.R.MancerPrivate]:a({slug:"mancer"}),[r.R.Meta]:a({slug:"meta"}),[r.R.Minimax]:a({slug:"minimax"}),[r.R.ModelRun]:a({slug:"modelrun",envKey:"MODEL_RUN_API_KEY"}),[r.R.Mistral]:a({slug:"mistral",envKey:null}),[r.R.Modular]:a({slug:"modular"}),[r.R.MoonshotAI]:a({slug:"moonshotai"}),[r.R.Morph]:a({slug:"morph",envKey:"MORPH_LLM_API_KEY"}),[r.R.VoyageAI]:a({slug:"voyageai"}),[r.R.TypeSafe]:a({slug:"typesafe",envKey:"TYPESAFE_AI_API_KEY"}),[r.R.NearAI]:a({slug:"near-ai"}),[r.R.Nebius]:a({slug:"nebius",iconInvertTheme:"dark"}),[r.R.NexAGI]:a({slug:"nex-agi"}),[r.R.NextBit]:a({slug:"nextbit"}),[r.R.Novita]:a({slug:"novita"}),[r.R.Nvidia]:a({slug:"nvidia"}),[r.R.Ollama]:a({slug:"ollama"}),[r.R.OpenAI]:a({slug:"openai",iconInvertTheme:"dark"}),[r.R.OpenInference]:a({slug:"open-inference",envKey:"OPENINFERENCE_API_KEY",iconInvertTheme:"light"}),[r.R.Parallel]:a({slug:"parallel",envKey:"PARALLEL_DECISIONS_API_KEY"}),[r.R.Parasail]:a({slug:"parasail"}),[r.R.ParetoAlpha]:a({slug:"pareto-alpha"}),[r.R.ParticleAI]:a({slug:"particle-ai",envKey:"PARTICLE_API_KEY",iconInvertTheme:"dark"}),[r.R.PearlResearch]:a({slug:"pearl-research"}),[r.R.Poolside]:a({slug:"poolside"}),[r.R.PrimaLabs]:a({slug:"primalabs",iconInvertTheme:"dark"}),[r.R.PrimeIntellect]:a({slug:"primeintellect",envKey:"PRIME_INTELLECT_API_KEY"}),[r.R.Perceptron]:a({slug:"perceptron"}),[r.R.Perplexity]:a({slug:"perplexity"}),[r.R.Phala]:a({slug:"phala"}),[r.R.Recraft]:a({slug:"recraft",iconInvertTheme:"dark"}),[r.R.Recursive]:a({slug:"recursive",envKey:"RECURSIVE_SGLANG_API_KEY",iconInvertTheme:"dark"}),[r.R.Reka]:a({slug:"reka"}),[r.R.Relace]:a({slug:"relace"}),[r.R.Respan]:a({slug:"respan"}),[r.R.River]:a({slug:"river",envKey:"RIVER_AI_API_KEY"}),[r.R.SailResearch]:a({slug:"sail-research",envKey:"SAIL_PARTNER_API_KEY"}),[r.R.SakanaAI]:a({slug:"sakana"}),[r.R.SambaNova]:a({slug:"sambanova"}),[r.R.ScaleDown]:a({slug:"scaledown"}),[r.R.Seed]:a({slug:"seed",envKey:null}),[r.R.SiliconFlow]:a({slug:"siliconflow",envKey:"SILICON_FLOW_API_KEY"}),[r.R.Sourceful]:a({slug:"sourceful",envKey:null}),[r.R.Speechify]:a({slug:"speechify"}),[r.R.StepFun]:a({slug:"stepfun",envKey:"STEP_FUN_API_KEY"}),[r.R.Stealth]:a({slug:"stealth",iconInvertTheme:"dark",isManagedOnly:!0}),[r.R.StreamLake]:a({slug:"streamlake"}),[r.R.Switchpoint]:a({slug:"switchpoint"}),[r.R.Tencent]:a({slug:"tencent"}),[r.R.Tenstorrent]:a({slug:"tenstorrent"}),[r.R.ThinkingMachines]:a({slug:"thinkingmachines",envKey:null}),[r.R.Together]:a({slug:"together"}),[r.R.Unbiased]:a({slug:"unbiased",envKey:"UNBIASED_AI_API_KEY"}),[r.R.Upstage]:a({slug:"upstage",envKey:null}),[r.R.Venice]:a({slug:"venice",envKey:null}),[r.R.Wafer]:a({slug:"wafer"}),[r.R.WandB]:a({slug:"wandb-legacy",envKey:"WANDB_API_KEY"}),[r.R.Quiver]:a({slug:"quiver"}),[r.R.Krea]:a({slug:"krea"}),[r.R.Runway]:a({slug:"runway"}),[r.R.Xiaomi]:a({slug:"xiaomi"}),[r.R.XAI]:a({slug:"xai",envKey:null}),[r.R.ZAI]:a({slug:"z-ai",iconInvertTheme:"dark"}),[r.R.FakeProvider]:a({slug:"fake-provider",isInternal:!0})};Object.values(r.R).flatMap(e=>{let t=n[e];return t.isDead||null===t.envKey?[]:[t.envKey]});let i=Object.fromEntries(Object.entries(r.R).filter(e=>!p(e[1]))),o=(0,t.x)(i),s=Object.values(i).filter(e=>!0!==n[e].isInternal),l=Object.fromEntries(Object.values(r.R).map(e=>[e,n[e].slug])),u=Object.entries(l).filter(e=>c(e[0])),d=Object.fromEntries(u);function c(e){return o.has(e)}function p(e){return(0,r.Z)(e)&&!0===n[e].isDead}function m(e){if(!(0,r.Z)(e))return!1;let{isManagedOnly:t,isInternal:a}=n[e];return!0===t||!0===a}new Set(Object.values(i).filter(e=>!m(e)));let f=Object.fromEntries(u.map(([e,t])=>[t,e])),g={"amazon-bedrock/claude-on-aws":r.R.ClaudeOnAws,"anthropic/2":r.R.ClaudeOnAws,"sakana-ai":r.R.SakanaAI,wandb:r.R.CoreWeave},h=Object.entries(g).filter(([,e])=>c(e)).map(([e])=>e),v={[r.R.WandB]:r.R.CoreWeave};function A(e){let t=e.toLowerCase();return Object.hasOwn(f,t)?f[t]:Object.hasOwn(g,t)?g[t]:void 0}e.s(["H",0,i,"u",0,h,"A",0,function(e){let t=A(e);return t?l[t]:void 0},"c",0,A,"T",0,p,"M",0,m,"I",0,c,"k",0,function(e){return!(0,r.Z)(e)},"U",0,v,"G",0,l,"Q",0,d,"Y",0,f,"h",0,function(e){return void 0!==e&&(0,r.Z)(e)?e:void 0},"d",0,s],983335)},947708,e=>{"use strict";e.s(["e",0,-1,"W",0,{"16:9":"16:9","9:16":"9:16","1:1":"1:1","4:3":"4:3","3:4":"3:4","3:2":"3:2","2:3":"2:3","21:9":"21:9","9:21":"9:21"},"I",0,{first_frame:"first_frame",last_frame:"last_frame"},"H",0,{"360p":"360p","480p":"480p","720p":"720p","768p":"768p","1080p":"1080p","1K":"1K","2K":"2K","4K":"4K"},"N",0,{edit:"edit",reference:"reference"},"J",0,{"360x360":"360x360","360x480":"360x480","360x540":"360x540","360x640":"360x640","360x840":"360x840","480x360":"480x360","480x480":"480x480","480x640":"480x640","480x720":"480x720","480x854":"480x854","480x1120":"480x1120","496x864":"496x864","540x360":"540x360","560x752":"560x752","640x360":"640x360","640x480":"640x480","640x640":"640x640","720x480":"720x480","720x720":"720x720","720x960":"720x960","720x1080":"720x1080","720x1280":"720x1280","720x1680":"720x1680","752x560":"752x560","768x768":"768x768","768x1024":"768x1024","768x1152":"768x1152","768x1366":"768x1366","768x1792":"768x1792","834x1112":"834x1112","840x360":"840x360","854x480":"854x480","864x496":"864x496","960x720":"960x720","960x960":"960x960","992x432":"992x432","1024x768":"1024x768","1080x720":"1080x720","1080x1080":"1080x1080","1080x1440":"1080x1440","1080x1620":"1080x1620","1080x1920":"1080x1920","1080x2520":"1080x2520","1112x834":"1112x834","1120x480":"1120x480","1152x768":"1152x768","1280x720":"1280x720","1366x768":"1366x768","1440x1080":"1440x1080","1440x1440":"1440x1440","1440x1920":"1440x1920","1440x2160":"1440x2160","1440x2560":"1440x2560","1440x3360":"1440x3360","1470x630":"1470x630","1620x1080":"1620x1080","1680x720":"1680x720","1792x768":"1792x768","1920x1080":"1920x1080","1920x1440":"1920x1440","2160x1440":"2160x1440","2160x2160":"2160x2160","2160x2880":"2160x2880","2160x3240":"2160x3240","2160x3840":"2160x3840","2160x5040":"2160x5040","2520x1080":"2520x1080","2560x1440":"2560x1440","2880x2160":"2880x2160","3240x2160":"3240x2160","3360x1440":"3360x1440","3840x2160":"3840x2160","5040x2160":"5040x2160"}])},919873,e=>{"use strict";var t=e.i(882844),r=e.i(635157);let a={Image:"image",Video:"video",Speech:"speech",Transcription:"transcription",Game:"game"};r.z.union([r.z.nativeEnum(a),r.z.literal("text_image")]);let n=r.z.object({url:r.z.string().url(),media_type:r.z.string(),size_bytes:(0,t.D)().nonnegative()}),i=n.extend({thumbnail_url:r.z.string().url().optional(),width:(0,t.D)().positive(),height:(0,t.D)().positive(),source:n.optional()}),o=n.extend({media_type:r.z.string().startsWith("video/"),thumbnail_url:r.z.string().url().optional(),width:(0,t.D)().positive(),height:(0,t.D)().positive(),duration_ms:(0,t.D)().nonnegative().optional()});r.z.union([o,i]);let s=n.extend({duration_ms:(0,t.D)().nonnegative().optional(),sample_rate_hz:(0,t.D)().positive().optional(),peaks:r.z.array(r.z.number().min(0).max(1)).optional()});s.extend({transcript:r.z.string(),voice:r.z.string()}),s.extend({transcript:r.z.string()});let l=n.extend({thumbnail_url:r.z.string().url().optional(),frame_thumbnail_urls:r.z.array(r.z.string().url()).optional(),width:(0,t.D)().positive().optional(),height:(0,t.D)().positive().optional(),duration_ms:(0,t.D)().nonnegative().optional(),sample_rate_hz:(0,t.D)().positive().optional(),transcript:r.z.string().optional(),voice:r.z.string().optional(),peaks:r.z.array(r.z.number().min(0).max(1)).optional(),source:n.optional(),three_version:r.z.string().optional()});r.z.array(l),e.s(["f",0,a])},437692,e=>{"use strict";var t=e.i(659350),r=e.i(663456);let a=(0,e.i(207298).f)(["pointer-events-none absolute inset-y-0 z-overlay w-16","from-background to-transparent transition-opacity duration-150"],{variants:{side:{left:"left-0 bg-gradient-to-r",right:"right-0 bg-gradient-to-l"},isVisible:{true:"opacity-100",false:"opacity-0"},isDesktopOnly:{true:"hidden md:block",false:""}},defaultVariants:{isDesktopOnly:!1}});e.s(["f",0,function(e){let n,i,o=(0,r.c)(6),{side:s,isVisible:l,isDesktopOnly:u}=e;return o[0]!==u||o[1]!==l||o[2]!==s?(n=a({side:s,isVisible:l,isDesktopOnly:u}),o[0]=u,o[1]=l,o[2]=s,o[3]=n):n=o[3],o[4]!==n?(i=(0,t.jsx)("div",{"aria-hidden":"true",className:n}),o[4]=n,o[5]=i):i=o[5],i}])},616384,32799,e=>{"use strict";var t=e.i(381462),r=e.i(387086);let a={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.")},n={[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.")},i={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,i,"W",0,a,"e",0,n],32799);var o=e.i(667417),s=e.i(346802);e.i(707060);let l="Latency",u="End-to-end latency",d={[l]:(0,r.b)("Latency"),[u]:(0,r.b)("End-to-end latency")},c=(0,r.b)("First audio"),p=new Set([t.f.Embeddings,t.f.Rerank,t.f.STT,t.f.Decisions,t.f.Extractions]),m={[s.f.Text]:t.f.TextGeneration,[s.f.ComputerUseTool]:t.f.TextGeneration,[s.f.AudioTool]:t.f.TextGeneration,[s.f.AudioOutput]:t.f.TextGeneration,[s.f.FastApply]:t.f.TextGeneration,[s.f.Embeddings]:t.f.Embeddings,[s.f.ImageInputEmbeddings]:t.f.Embeddings,[s.f.Reasoning]:t.f.TextGeneration,[s.f.ImageGeneration]:t.f.ImageGeneration,[s.f.ImageGenerationWithoutText]:t.f.ImageGeneration,[s.f.VideoGeneration]:t.f.VideoGeneration,[s.f.Rerank]:t.f.Rerank,[s.f.TTS]:t.f.TTS,[s.f.TTSMaiVoice]:t.f.TTS,[s.f.STT]:t.f.STT,[s.f.STTMaiTranscribe]:t.f.STT,[s.f.OCR]:t.f.TextGeneration,[s.f.Decisions]:t.f.Decisions,[s.f.Extractions]:t.f.Unknown},f=[[o.j.Embeddings,t.f.Embeddings],[o.j.Video,t.f.VideoGeneration],[o.j.Image,t.f.ImageGeneration],[o.j.TTS,t.f.TTS],[o.j.Transcription,t.f.STT],[o.j.Rerank,t.f.Rerank],[o.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:l]),latencyTooltip:e(n[r.perfWorkload]),shouldShowThroughputColumn:r.perfWorkload===t.f.TextGeneration,firstAudio:r.perfWorkload===t.f.TTS?{label:e(c),tooltip:e(a.TTS_FIRST_AUDIO)}:null}},"N",0,function(e){var r;let a=(r=e).quick_start_example_type?m[r.quick_start_example_type]:function(e){for(let[t,r]of f)if(e.includes(t))return r;return t.f.TextGeneration}(r.output_modalities);return{perfWorkload:a,latencyMetric:a===t.f.ImageGeneration||a===t.f.VideoGeneration||a===t.f.TTS?"latency_e2e":"latency"}},"S",0,function(e){return e===t.f.TextGeneration},"n",0,function(e){return!p.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)},585351,e=>{"use strict";var t=e.i(126801),r=e.i(851671),a=e.i(819750),n=e.i(524287),i=e.i(119816),o=e.i(430022),s=e.i(562576),l=e.i(613497),u=e.i(173465),d=e.i(368174);function c(e){return(t,r)=>{var a,n,i;if(null===e||void 0===r)return;let o=r.queryKey.at(-1);if(a=o,(0,d.f)(a)&&"permaslug"in a&&"variant"in a&&"perfWorkload"in a&&"latencyMetric"in a){return(n=e,i=o,n.permaslug===i.permaslug&&n.variant===i.variant&&n.perfWorkload===i.perfWorkload&&n.latencyMetric===i.latencyMetric)?t:void 0}}}let p=(0,n.f)("model-page",{endpointStats:e=>[null===e?null:{permaslug:e.permaslug,variant:e.variant,perfWorkload:e.perfWorkload,latencyMetric:e.latencyMetric,reasoningEffort:e.reasoningEffort}],providerTableEndpointStats:e=>[null===e?null:{permaslug:e.permaslug,variant:e.variant,perfWorkload:e.perfWorkload,latencyMetric:e.latencyMetric,reasoningEffort:e.reasoningEffort}],uptimeRecent:e=>[null===e?null:{permaslug:e}],uptimeRecentPrivate:(e,t)=>[null===e||null===t?null:{entityId:e,endpointIds:t}],endpointUptimeHourly:e=>[{endpointId:e.endpointId,entityId:e.entityId,isPrivateView:e.isPrivateView}],appStats:e=>[{permaslug:e.permaslug,variant:e.variant}],modelActivity:e=>[null===e?null:{permaslug:e.permaslug,variant:e.variant}],benchmarkScores:e=>[{permaslug:e}],topColos:e=>[{permaslug:e}],providerTokenChart:e=>[{permaslug:e.permaslug,providerSlug:e.providerSlug,variant:e.variant}]});function m(e,r=new Date){if(e.history.length>=72)return e.history.map(e=>({date:(0,o.y)(e.date),uptime:e.uptime})).toReversed();let a=new Map(e.history.map(e=>[e.date,e.uptime]));return Array.from({length:72},(e,n)=>{let i=new Date(r);return i.setUTCHours(i.getUTCHours()-(71-n)),i.setUTCMinutes(0),i.setUTCSeconds(0),i.setUTCMilliseconds(0),{date:i,uptime:a.get((0,t.f)(i))??null}})}let f=(0,n.f)("model-uptime",{recent:({permaslug:e,variant:t,isPrivateView:r})=>[{permaslug:e,variant:t,isPrivateView:r}]}),g=(0,n.f)("model-pricing",{summary:e=>[null===e?null:{permaslug:e.permaslug,variant:e.variant}],listed:({permaslug:e,variant:t,range:r})=>[{permaslug:e,variant:t,range:r}],effectiveChart:({permaslug:e,variant:t,range:r})=>[{permaslug:e,variant:t,range:r}]});function h(e){return{response:e,summaries:e.providerSummaries,totalTokens:e.providerSummaries.reduce((e,t)=>e+t.totalTokens,0)}}e.s(["S",0,function(e){return(0,u.f)({queryKey:p.appStats(e),queryFn:({signal:t})=>(0,a.f)("/api/frontend/v1/stats/top-apps-for-model",{searchParams:{permaslug:e.permaslug,variant:e.variant},signal:t})})},"v",0,function(e){return(0,u.f)({queryKey:p.benchmarkScores(e),queryFn:({signal:t})=>(0,a.f)("/api/frontend/v1/stats/benchmark-scores",{searchParams:{permaslug:e},signal:t})})},"w",0,function(e,t,r){return(0,u.f)({queryKey:g.effectiveChart({permaslug:e,variant:t,range:r}),queryFn:null===r?l.V:({signal:n})=>(0,a.f)("/api/frontend/v1/stats/effective-pricing",{searchParams:{permaslug:e,variant:t,shape:s.S,range:r},signal:n}),placeholderData:l.y})},"K",0,function(e){return(0,u.f)({queryKey:g.summary(e),queryFn:null===e?l.V:({signal:t})=>(0,a.f)("/api/frontend/v1/stats/effective-pricing",{searchParams:{permaslug:e.permaslug,variant:e.variant,shape:s.S},signal:t}),select:h,staleTime:6e5,refetchOnWindowFocus:!1})},"T",0,function(e){return(0,u.f)({queryKey:p.endpointStats(e),queryFn:null===e?l.V:({signal:t})=>(0,a.f)("/api/frontend/v1/stats/endpoint",{searchParams:{permaslug:e.permaslug,variant:e.variant,perfWorkload:e.perfWorkload,latencyMetric:e.latencyMetric,reasoningEffort:e.reasoningEffort},signal:t}),placeholderData:c(e)})},"V",0,function({endpointId:e,entityId:t,isPrivateView:r}){return(0,u.f)({queryKey:p.endpointUptimeHourly({endpointId:e,entityId:t,isPrivateView:r}),queryFn:null===e||r&&null===t?l.V:({signal:t})=>(0,a.f)(r?"/api/frontend/v1/private/stats/uptime-hourly-private":"/api/frontend/v1/stats/uptime-hourly",{searchParams:r?{endpointIds:e}:{id:e},signal:t}),select:m,staleTime:i.y.COALESCE_MOUNTS})},"U",0,function(e,t,n){return(0,u.f)({queryKey:g.listed({permaslug:e,variant:t,range:n}),queryFn:null===n?l.V:({signal:i})=>(0,a.f)("/api/frontend/v1/stats/listed-pricing",{searchParams:{permaslug:e,variant:t,shape:r.f,range:n},signal:i}),placeholderData:l.y})},"g",0,function(e){return(0,u.f)({queryKey:p.modelActivity(e),queryFn:null===e?l.V:({signal:t})=>(0,a.f)("/api/frontend/v1/stats/model-activity",{searchParams:{permaslug:e.permaslug,variant:e.variant},signal:t})})},"D",0,function(e){let{permaslug:t,variant:r,isPrivateView:n}=e;return(0,u.f)({queryKey:f.recent({permaslug:t,variant:r,isPrivateView:n}),queryFn:({signal:e})=>(0,a.f)(n?"/api/frontend/v1/private/stats/model-uptime-recent-private":"/api/frontend/v1/stats/model-uptime-recent",{searchParams:{permaslug:t,variant:r},signal:e})})},"h",0,function(e){return(0,u.f)({queryKey:p.providerTableEndpointStats(e),queryFn:null===e?l.V:({signal:t})=>(0,a.f)("/api/frontend/v1/stats/endpoint",{searchParams:{permaslug:e.permaslug,variant:e.variant,perfWorkload:e.perfWorkload,latencyMetric:e.latencyMetric,reasoningEffort:e.reasoningEffort},signal:t}),placeholderData:c(e)})},"F",0,function(e){return(0,u.f)({queryKey:p.providerTokenChart(e),queryFn:null===e.providerSlug?l.V:({signal:t})=>(0,a.f)("/api/frontend/v1/stats/provider-token-chart",{searchParams:{provider:e.providerSlug,permaslug:e.permaslug,variant:e.variant},signal:t})})},"n",0,function(e){return(0,u.f)({queryKey:p.topColos(e),queryFn:({signal:t})=>(0,a.f)("/api/frontend/v1/stats/top-colos-for-model",{searchParams:{permaslug:e},signal:t})})},"W",0,function(e){return(0,u.f)({queryKey:p.uptimeRecent(e),queryFn:null===e?l.V:({signal:t})=>(0,a.f)("/api/frontend/v1/stats/uptime-recent",{searchParams:{permaslug:e},signal:t})})},"a",0,function(e,t){return(0,u.f)({queryKey:p.uptimeRecentPrivate(e,t),queryFn:null===e||null===t?l.V:({signal:e})=>(0,a.f)("/api/frontend/v1/private/stats/uptime-recent-private",{searchParams:{endpointIds:t},signal:e})})}],585351)},811959,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(139697),n=e.i(612927);function i(e){return e.stopPropagation()}e.s(["f",0,function(e){let o,s,l,u=(0,r.c)(6),{label:d,onRemove:c}=e;return u[0]!==c?(o=e=>{e.stopPropagation(),c()},u[0]=c,u[1]=o):o=u[1],u[2]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)(n.X,{}),u[2]=s):s=u[2],u[3]!==d||u[4]!==o?(l=(0,t.jsx)(a.Button,{variant:"ghost",size:"icon-xs",tone:"subdued",glyph:"sm",onClick:o,onPointerDown:i,"aria-label":d,className:"shrink-0",children:s}),u[3]=d,u[4]=o,u[5]=l):l=u[5],l}])},62327,341910,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(782143),n=e.i(134611),i=e.i(647402),o=e.i(397618),s=e.i(775922),l=e.i(62255),u=e.i(336810),d=e.i(254278),c=e.i(138257),p=e.i(733476),m=e.i(885024),f=e.i(209615),g=e.i(572201),h=e.i(618115);e.i(707060);var v=e.i(387086),A=e.i(196991),b=e.i(288265),x=e.i(919035),y=e.i(153746),S=e.i(429332),I=e.i(16043),k=e.i(585351);e.i(647204),e.i(882844);var R=e.i(506050),T=e.i(67089);let w={},_=C(async()=>w),z=C(async()=>w);function j(e){return E(_,e)}function E(e,t){let a,n,i=(0,r.c)(8),[o,s]=(0,I.useState)();!1!==i[0]||i[1]!==e?(a=()=>{},n=[e,!1],i[0]=!1,i[1]=e,i[2]=a,i[3]=n):(a=i[2],n=i[3]),(0,I.useEffect)(a,n);{let e;return i[4]===Symbol.for("react.memo_cache_sentinel")?(e={fixture:void 0,isPending:!1},i[4]=e):e=i[4],e}}function C(e){let t={};return()=>(t.promise??=e().catch(e=>((0,T.L)("Dev fixture failed to load",(0,R.s)(e)),w)),t.promise)}e.s(["T",0,j,"o",0,function(e){return E(z,e)}],341910);var N=e.i(917961),M=e.i(206020);let D={[N.q.Requests]:{series:(0,v.b)("Requests"),headline:(0,v.b)("requests"),getValue:e=>e.requests},[N.q.Images]:{series:(0,v.b)("Images generated"),headline:(0,v.b)("images generated"),getValue:e=>e.images},[N.q.Video]:{series:(0,v.b)("Clip hours"),headline:(0,v.b)("clip hours generated"),getValue:e=>e.videoHours}},P={prompt:(0,v.b)("Prompt"),reasoning:(0,v.b)("Reasoning"),completion:(0,v.b)("Completion")},O=(0,S.default)(()=>e.A(88786).then(e=>e.StackedBarChart),{loadableGenerated:{modules:[682598]},ssr:!1,loading:()=>(0,t.jsx)(d.StackedBarChartSkeleton,{height:150})}),L=[u.F.Blue,u.F.YellowOrange,u.F.Mint];function V(e){let n,o,s,l,u,d,p,m=(0,r.c)(16),{activityPresentation:f}=e,g=(0,c.useLocale)(),h=(0,x.f)();return m[0]!==f.total||m[1]!==g?(n=(0,a.f)(f.total,{locale:g,preset:"compact-rounded-thousands"})??"—",m[0]=f.total,m[1]=g,m[2]=n):n=m[2],m[3]!==n?(o=(0,t.jsx)("span",{className:"text-base font-semibold tabular-nums text-foreground",children:n}),m[3]=n,m[4]=o):o=m[4],m[5]!==f.headline||m[6]!==h?(s=h(f.headline),m[5]=f.headline,m[6]=h,m[7]=s):s=m[7],m[8]!==s?(l=(0,t.jsx)(y.d,{children:s}),m[8]=s,m[9]=l):l=m[9],m[10]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsx)(i.f,{}),m[10]=u):u=m[10],m[11]!==l?(d=(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:(0,t.jsxs)(A.T,{children:[l," ",u," last 30 days"]})}),m[11]=l,m[12]=d):d=m[12],m[13]!==o||m[14]!==d?(p=(0,t.jsxs)("div",{className:"flex items-baseline gap-1.5",children:[o,d]}),m[13]=o,m[14]=d,m[15]=p):p=m[15],p}function q(e){let a,n,i,o=(0,r.c)(5),{seriesNames:s}=e;return o[0]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)(d.StackedBarChartSkeleton,{height:150,animate:!1,decorative:!0,"data-testid":"activity-chart-footprint"}),o[0]=a):a=o[0],o[1]!==s?(n=s.map(B),o[1]=s,o[2]=n):n=o[2],o[3]!==n?(i=(0,t.jsxs)("div",{"aria-hidden":!0,className:"invisible flex flex-col gap-10",children:[a,(0,t.jsx)("div",{className:"flex flex-col gap-3",children:n})]}),o[3]=n,o[4]=i):i=o[4],i}function B(e,r){return(0,t.jsx)(o.f,{data:{name:e,value:null,color:u.F.Slate400},index:r,offset:1,isRanking:!1,showPercentage:!1},e)}e.s(["f",0,function(e){var a,i,o;let c,y,S,I,R,T,w,_,z,E,C,B,F=(0,r.c)(52),{model:K,activityMetric:G,hideHeader:H,emptyClassName:U,renderEmpty:$}=e,W=void 0!==H&&H,Z=K.group===f.f.Router;F[0]!==Z||F[1]!==K.endpoint?.variant||F[2]!==K.permaslug?(y=(0,k.g)(Z?null:{permaslug:K.permaslug,variant:K.endpoint?.variant??g.d.Standard}),F[0]=Z,F[1]=K.endpoint?.variant,F[2]=K.permaslug,F[3]=y):y=F[3];let Y=(0,h.f)(y),X=Z?K.permaslug:null;F[4]!==X?(S=(0,M.f)(X),F[4]=X,F[5]=S):S=F[5];let{data:J,isLoading:Q}=(0,h.f)(S);F[6]!==Z||F[7]!==K?(I=Z?void 0:(0,n.i)(K),F[6]=Z,F[7]=K,F[8]=I):I=F[8];let{fixture:ee,isPending:et}=j(I),er=et&&!Y.data?.analytics.length,ea=Z?Q:Y.isLoading||er;F[9]!==Z||F[10]!==Y.data?.cachedAt||F[11]!==J?.cachedAt?(R=(Z?J?.cachedAt:Y.data?.cachedAt)??Date.now(),F[9]=Z,F[10]=Y.data?.cachedAt,F[11]=J?.cachedAt,F[12]=R):R=F[12];let en=R,ei=G??N.q.Tokens;J?.analytics,Y.data?.analytics;e:{let e,t;if(Z){let e,t;F[13]!==J?.analytics?(e=J?.analytics??[],F[13]=J?.analytics,F[14]=e):e=F[14],F[15]!==e?(t=function(e){let t=new Map;for(let r of e){let e=t.get(r.date)??{prompt:0,reasoning:0,completion:0,requests:0,images:0,videoHours:0};e.prompt+=r.total_prompt_tokens,e.reasoning+=r.total_native_tokens_reasoning,e.completion+=r.total_completion_tokens-r.total_native_tokens_reasoning,e.requests+=r.requests,e.images+=r.total_num_media_completion,t.set(r.date,e)}return[...t.entries()].map(([e,t])=>({date:e,prompt:t.prompt,reasoning:t.reasoning,completion:t.completion,requests:t.requests,images:t.images,videoHours:t.videoHours})).toSorted((e,t)=>{var r,a;return r=e.date,r<(a=t.date)?1:r>a?-1:0})}(e),F[15]=e,F[16]=t):t=F[16],T=t;break e}F[17]!==Y.data?.analytics?(e=Y.data?.analytics??[],F[17]=Y.data?.analytics,F[18]=e):e=F[18];let r=e,n=0===r.length&&ee?ee:r,o=K.endpoint?.adapter_name===p.n.StealthAdapter;F[19]!==n||F[20]!==o?(a=n,i=o,t=a.map(e=>{let t=i?0:e.total_native_tokens_reasoning;return{date:e.date,requests:e.count??0,prompt:e.total_prompt_tokens,reasoning:t,completion:e.total_completion_tokens-t,images:e.num_media_completion??0,videoHours:(e.video_output_seconds??0)/3600}}),F[19]=n,F[20]=o,F[21]=t):t=F[21],T=t}let eo=T;F[22]!==ei||F[23]!==eo?(o=eo,w={timeline:(c=D[ei])?o.toReversed().map(e=>({x:e.date,ys:{[c.series]:c.getValue(e)}})):o.toReversed().map(e=>({x:e.date,ys:{[P.prompt]:e.prompt,[P.reasoning]:e.reasoning,[P.completion]:e.completion}})),total:o.reduce((e,t)=>e+(c?c.getValue(t):t.prompt+t.reasoning+t.completion),0),headline:c?.headline??(0,v.b)("tokens"),isSingleSeries:void 0!==c},F[22]=ei,F[23]=eo,F[24]=w):w=F[24];let es=w,el=(0,x.f)(),eu=(0,b.f)();if(F[25]!==es.timeline||F[26]!==el){let e;F[28]!==el?(e=e=>({x:e.x,ys:Object.fromEntries(Object.entries(e.ys).map(e=>{let[t,r]=e;return[el(t),r]}))}),F[28]=el,F[29]=e):e=F[29],_=es.timeline.map(e),F[25]=es.timeline,F[26]=el,F[27]=_}else _=F[27];let ed=_,ec=!ea&&eo.length>0;if(!ea&&0===eo.length&&$){let e,r;return F[30]!==$?(e=$(),F[30]=$,F[31]=e):e=F[31],F[32]!==e?(r=(0,t.jsx)(t.Fragment,{children:e}),F[32]=e,F[33]=r):r=F[33],r}let ep=W?"flex flex-col gap-3":"flex flex-col gap-6 border-t py-6";return F[34]!==W?(z=!W&&(0,t.jsx)("h3",{className:"font-medium",children:(0,t.jsx)(A.T,{children:"Activity"})}),F[34]=W,F[35]=z):z=F[35],F[36]!==es||F[37]!==ec?(E=ec&&(0,t.jsx)(V,{activityPresentation:es}),F[36]=es,F[37]=ec,F[38]=E):E=F[38],F[39]!==es.isSingleSeries||F[40]!==en||F[41]!==U||F[42]!==eu||F[43]!==ec||F[44]!==ea||F[45]!==ed?(C=ec?(0,t.jsxs)("div",{className:"grid [&>*]:col-start-1 [&>*]:row-start-1",children:[(0,t.jsx)(q,{seriesNames:Object.keys(ed.at(-1)?.ys??{})}),(0,t.jsx)(l.f,{fallback:(0,t.jsx)(d.StackedBarChartSkeleton,{height:150}),children:(0,t.jsx)(O,{colors:es.isSingleSeries?[u.F.Orchid]:L,data:ed,height:150,legendConfig:{isRanking:!1,position:"bottom",showPercentage:!1,forceSingleColumn:!0,dismissTooltipOnLeave:!0},forecast:m.n.OneDay,forecastFromTimestamp:en})})]}):(0,t.jsx)(s.f,{message:eu(ea?"Loading activity data...":"No activity data available yet."),height:280,className:U}),F[39]=es.isSingleSeries,F[40]=en,F[41]=U,F[42]=eu,F[43]=ec,F[44]=ea,F[45]=ed,F[46]=C):C=F[46],F[47]!==ep||F[48]!==z||F[49]!==E||F[50]!==C?(B=(0,t.jsxs)("div",{className:ep,children:[z,E,C]}),F[47]=ep,F[48]=z,F[49]=E,F[50]=C,F[51]=B):B=F[51],B}],62327)},493022,35276,45008,e=>{"use strict";var t=e.i(339814),r=e.i(134611);function a(e){return void 0===e?void 0:decodeURIComponent(e)}let n=[["[maker-id]","[slug]"],["[compare-maker-id]","[compare-slug]"],["[compare-maker-id-2]","[compare-slug-2]"],["[compare-maker-id-3]","[compare-slug-3]"],["[compare-maker-id-4]","[compare-slug-4]"]];function i(e){return[e.makerId,e.slug,e.compareMakerId,e.compareSlug,e.compareMakerId2,e.compareSlug2,e.compareMakerId3,e.compareSlug3,e.compareMakerId4,e.compareSlug4].map(e=>e??"").join("|")}let o=n.length;function s(e){return Array.from({length:o},(t,r)=>e[r]).flatMap(l).join("|")}function l(e){if(void 0===e)return["",""];let t=e.indexOf("/");return -1===t?[e,""]:[e.slice(0,t),e.slice(t+1)]}e.s(["E",0,o,"$",0,function(...e){let[t,...a]=e;if(!t)return"/compare";let n=`/compare/${(0,r.i)(t)}`;for(let e of a)e&&(n+=`/${(0,r.i)(e)}`);return n},"J",0,i,"z",0,function(e){return s(e.filter(e=>void 0!==e).map(r.i))},"K",0,s,"P",0,function(e,t){let r=i(t);return null!==e&&r===e?{action:"skip",key:r}:{action:"sync",key:r}},"h",0,function(e){return{makerId:a(e.makerId),slug:a(e.slug),compareMakerId:a(e.compareMakerId),compareSlug:a(e.compareSlug),compareMakerId2:a(e.compareMakerId2),compareSlug2:a(e.compareSlug2),compareMakerId3:a(e.compareMakerId3),compareSlug3:a(e.compareSlug3),compareMakerId4:a(e.compareMakerId4),compareSlug4:a(e.compareSlug4)}},"H",0,function(e,t,a){if(!t||!a)return;let n=`${decodeURIComponent(t)}/${decodeURIComponent(a)}`;return e.find(e=>(0,r.i)(e)===n)},"l",0,function(e){let[,...t]=e.split("/").filter(e=>e.length>0);return["/compare",...n.slice(0,Math.floor(t.length/2)).flat()].join("/")}],35276),e.s(["L",0,function(e,{modelSlugs:r,models:a}){return{routeKey:s(r),title:function(e,t){let[r]=t;return r?1===t.length?e("{name} compared to other AI models",{name:r.name}):t.map(e=>e.name).join(e(" vs ")):e("AI Model Comparison")}(e.gt,a),description:function({gt:e,locale:r},a){let[n]=a;if(!n)return e("Compare AI models by key metrics including benchmarks, price, context length, and other model features.");if(1===a.length)return e("Compare {name} from {author} to other AI models on key metrics including benchmarks, price, context length, and other model features.",{name:n.name,author:n.authorName});let i=a.map(t=>e("{name} from {author}",{name:t.name,author:t.authorName}));return e("Compare {models} on key metrics including benchmarks, price, context length, and other model features.",{models:(0,t.g)(i,{locale:r})})}(e,a),apiAccessModelRef:function(e,t){let[r]=t;return r?1===t.length?r.name:2===t.length?e("both models"):e("all {count} models",{count:t.length}):e("hundreds of AI models")}(e.gt,a),modelCount:a.length}},"O",0,function(e,t){return null!==e&&e.routeKey===t.routeKey&&!t.isSelectionStale}],493022);var u=e.i(16043);let d=(0,u.createContext)(null);e.s(["D",0,d,"W",0,function(){let e=(0,u.useContext)(d);if(!e)throw Error("CompareServerHeadline must be rendered inside ModelCompare");return e}],45008)},36419,416363,e=>{"use strict";var t=e.i(663456),r=e.i(687186),a=e.i(16043);e.s(["f",0,function(){let e,n,i,o,s=(0,t.c)(6),l=(0,a.useRef)(null),u=(0,a.useRef)(null);s[0]===Symbol.for("react.memo_cache_sentinel")?(e=e=>{if(u.current&&(u.current(),u.current=null),!e)return;let t=()=>{let t=document.querySelector("#page-content"),r=t?Number.parseFloat(getComputedStyle(t).getPropertyValue("--sticky-banner-top")):0,a=Number.isFinite(r)?r:0,n=Math.ceil((document.querySelector("#main-nav")?.getBoundingClientRect().height??0)+a+e.getBoundingClientRect().height)-8;document.documentElement.style.setProperty("--cards-sticky-bottom-px",`${n}px`)};t();let a="u"a?.observe(e));let n=document.querySelector("#main-nav");n&&a?.observe(n);let i="u"{a?.disconnect(),i?.disconnect()}},s[0]=e):e=s[0];let d=e,[c,p]=(0,a.useState)(!1),[m,f]=(0,a.useState)(!1),g=(0,a.useRef)(null);s[1]===Symbol.for("react.memo_cache_sentinel")?(n=e=>{if(g.current?.(),g.current=null,!e)return;let t=t=>{if(1>Math.abs(t.deltaX)||t.target instanceof Element&&t.target.closest("[data-synced-scroll-wrapper]"))return;let r=e.querySelector("[data-synced-scroll-wrapper]");if(!r)return;let a=r.scrollWidth-r.clientWidth,n=r.scrollLeft<=0,i=r.scrollLeft>=a;t.deltaX<0&&n||t.deltaX>0&&i||(r.scrollLeft=r.scrollLeft+t.deltaX,t.preventDefault())};e.addEventListener("wheel",t,{passive:!1}),g.current=()=>{e.removeEventListener("wheel",t)}},s[1]=n):n=s[1];let h=n;s[2]===Symbol.for("react.memo_cache_sentinel")?(i=(e,t)=>{let r=e>0?`translate3d(${-e}px, 0, 0)`:"",a=l.current;for(let e of(a&&(a.style.transform=r),document.querySelectorAll("[data-synced-translate-target]")))e.style.transform=r;p(e>4),f(e+4{(0,n.flushSync)(e)});t&&r.finished.then(t,t)}],416363)},917961,e=>{"use strict";var t=e.i(667417);e.i(707060);var r=e.i(387086);let a={Tokens:"Tokens",Requests:"Requests",Images:"Images",Audio:"Audio",Video:"Video",Transcription:"Transcription"},n={[a.Tokens]:(0,r.b)("Tokens"),[a.Requests]:(0,r.b)("Requests"),[a.Images]:(0,r.b)("Images"),[a.Audio]:(0,r.b)("Audio"),[a.Video]:(0,r.b)("Video"),[a.Transcription]:(0,r.b)("Transcription")};e.s(["X",0,n,"q",0,a,"Z",0,function(e){let r=e.output_modalities.flatMap(e=>{switch(e){case t.j.Text:case t.j.Embeddings:case t.j.Decisions:return[a.Tokens];case t.j.Image:return[a.Images];case t.j.Video:return[a.Video];case t.j.Transcription:return[a.Transcription];case t.j.Audio:case t.j.Rerank:case t.j.TTS:default:return[]}});return e.input_modalities.includes(t.D.Audio)&&r.push(a.Audio),r.push(a.Requests),r}])},470573,e=>{"use strict";var t=e.i(684434);function r(e,{min:t,max:a}){return`${e.nativeNumber(t)??"—"}–${e.nativeNumber(a)??"—"}`}function a(e,a){switch(e.type){case t.k.Enum:return a.list(e.values,{style:"comma"});case t.k.Range:return r(a,e);case t.k.Boolean:return"Supported";default:return"—"}}e.s(["G",0,function(e){if(!e)return 0;switch(e.type){case t.k.Enum:return e.values.length;case t.k.Range:return e.max;case t.k.Boolean:return 1;default:return 0}},"K",0,function(e){switch(e.type){case t.k.Enum:return"enum";case t.k.Range:return"range";case t.k.Boolean:return"boolean";default:return"unknown"}},"j",0,a,"k",0,function(e,{gt:n,formatters:i}){if(e.type!==t.k.Range)return a(e,i);let o=i.nativeNumber(e.max)??"—";return e.min===e.max?o:e.min<=1?n("Up to {max}",{max:o}):r(i,e)},"_",0,function(e){return new Set(e.filter(e=>void 0!==e).map(e=>e.type)).size<=1}])},570667,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(136562),n=e.i(939025),i=e.i(894868);e.i(707060);var o=e.i(288265),s=e.i(926148),l=e.i(808811);e.s(["f",0,function(e){let u,d,c,p,m,f,g,h,v,A,b=(0,r.c)(27),{author:x,label:y,hideIcon:S,className:I,variant:k}=e,R=void 0===k?"pill":k,T=(0,o.f)(),w=y??x;b[0]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsx)("span",{}),b[0]=u):u=b[0],b[1]!==I||b[2]!==R?(d=(0,a.f)((0,l.f)(R),I),b[1]=I,b[2]=R,b[3]=d):d=b[3],b[4]!==x||b[5]!==S?(c=!S&&(0,t.jsx)(i.f,{frame:!0,author:x,className:"size-3.5 shrink-0"}),b[4]=x,b[5]=S,b[6]=c):c=b[6],b[7]!==w?(p=(0,t.jsx)("span",{className:"truncate",children:w}),b[7]=w,b[8]=p):p=b[8],b[9]!==d||b[10]!==c||b[11]!==p?(m=(0,t.jsxs)(n.b,{render:u,className:d,children:[c,p]}),b[9]=d,b[10]=c,b[11]=p,b[12]=m):m=b[12],b[13]!==x?(f=(0,t.jsx)(i.f,{frame:!0,author:x,className:"size-8 shrink-0"}),b[13]=x,b[14]=f):f=b[14];let _=`/${x}`;return b[15]!==T?(g=T("View author models"),b[15]=T,b[16]=g):g=b[16],b[17]!==_||b[18]!==g?(h={href:_,label:g,external:!0},b[17]=_,b[18]=g,b[19]=h):h=b[19],b[20]!==w||b[21]!==h||b[22]!==f?(v=(0,t.jsx)(n.P,{children:(0,t.jsx)(s.f,{icon:f,title:w,cta:h})}),b[20]=w,b[21]=h,b[22]=f,b[23]=v):v=b[23],b[24]!==v||b[25]!==m?(A=(0,t.jsxs)(n.c,{children:[m,v]}),b[24]=v,b[25]=m,b[26]=A):A=b[26],A}])},926148,453281,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(16043);let n=a.forwardRef(function({title:e,titleId:t,...r},n){return a.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":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M15.75 2.25H21a.75.75 0 0 1 .75.75v5.25a.75.75 0 0 1-1.5 0V4.81L8.03 17.03a.75.75 0 0 1-1.06-1.06L19.19 3.75h-3.44a.75.75 0 0 1 0-1.5Zm-10.5 4.5a1.5 1.5 0 0 0-1.5 1.5v10.5a1.5 1.5 0 0 0 1.5 1.5h10.5a1.5 1.5 0 0 0 1.5-1.5V10.5a.75.75 0 0 1 1.5 0v8.25a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V8.25a3 3 0 0 1 3-3h8.25a.75.75 0 0 1 0 1.5H5.25Z",clipRule:"evenodd"}))});e.s(["f",0,n],453281);var i=e.i(136562),o=e.i(139697);e.i(406201);var s=e.i(967605);e.s(["f",0,function(e){let a,l,u,d,c,p,m,f,g,h,v=(0,r.c)(26),{icon:A,title:b,subtitle:x,description:y,meta:S,cta:I}=e,k=x?"items-start":"items-center";return v[0]!==k?(a=(0,i.f)("flex gap-3",k),v[0]=k,v[1]=a):a=v[1],v[2]!==A?(l=A&&(0,t.jsx)("div",{className:"shrink-0",children:A}),v[2]=A,v[3]=l):l=v[3],v[4]!==b?(u=(0,t.jsx)("div",{className:"truncate text-base font-semibold text-foreground",children:b}),v[4]=b,v[5]=u):u=v[5],v[6]!==x?(d=x&&(0,t.jsx)("div",{className:"truncate text-xs text-muted-foreground",children:x}),v[6]=x,v[7]=d):d=v[7],v[8]!==u||v[9]!==d?(c=(0,t.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-0.5",children:[u,d]}),v[8]=u,v[9]=d,v[10]=c):c=v[10],v[11]!==a||v[12]!==l||v[13]!==c?(p=(0,t.jsxs)("div",{className:a,children:[l,c]}),v[11]=a,v[12]=l,v[13]=c,v[14]=p):p=v[14],v[15]!==y?(m=y&&(0,t.jsx)("p",{className:(0,i.f)("text-xs leading-relaxed text-muted-foreground","line-clamp-3"),children:y}),v[15]=y,v[16]=m):m=v[16],v[17]!==S?(f=S&&(0,t.jsx)("div",{className:"flex flex-wrap items-center gap-1.5",children:S}),v[17]=S,v[18]=f):f=v[18],v[19]!==I?(g=I&&(0,t.jsx)(s.Link,{href:I.href,target:I.external?"_blank":void 0,rel:I.external?"noreferrer":void 0,className:"no-underline",children:(0,t.jsxs)(o.Button,{variant:"outline",size:"sm",className:"w-full",children:[I.label,(0,t.jsx)(n,{className:"!size-3.5"})]})}),v[19]=I,v[20]=g):g=v[20],v[21]!==g||v[22]!==p||v[23]!==m||v[24]!==f?(h=(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[p,m,f,g]}),v[21]=g,v[22]=p,v[23]=m,v[24]=f,v[25]=h):h=v[25],h}],926148)},808811,e=>{"use strict";e.s(["f",0,function(e){return"inline"===e?"inline-flex max-w-full items-center gap-1 text-xs text-foreground underline-offset-2 decoration-dotted decoration-1 hover:underline data-[popup-open]:underline":"inline-flex max-w-full cursor-pointer items-center gap-1 rounded-full border border-border bg-muted px-2 py-0.5 text-xs font-medium text-foreground no-underline hover:bg-slate-3 data-[popup-open]:bg-slate-3"}])},483526,e=>{"use strict";let t,r;var a=e.i(659350),n=e.i(647204),i=e.i(622561),o=e.i(427150),s=e.i(67089),l=e.i(16043);function u({shouldRestoreFocus:e,triggerRef:t}){return(0,l.useLayoutEffect)(()=>{let r,a=e.current;e.current=!1,a&&(null===(r=document.activeElement)||r===document.body)&&t.current?.focus()},[e,t]),null}e.s(["f",0,function({children:d,...c}){let[p,m]=(0,l.useState)(!1),[f,g]=(0,l.useState)(null),[h,v]=(0,l.useState)(!1),A=(0,l.useRef)(!1),b=(0,l.useRef)(null),x=(0,l.useRef)(null),y=(0,l.useRef)(!1),S=(0,l.useRef)(null),I=d.props.ref,k=(0,l.useCallback)(e=>(b.current=e,function(e,t){if("function"==typeof e)return e(t);(0,o.f)(e)&&(e.current=t)}(I,e)),[I]),R=e=>{S.current=null,A.current=document.activeElement===b.current,null!==x.current&&x.current!==r&&v(!1),g(()=>e)},T=()=>{y.current=!1,null!==S.current&&R(S.current)};return((0,l.useEffect)(()=>{if(!p)return;let r=!0;return(t??=(0,n.$)(()=>e.A(836624)).then(e=>(0,n.V)(e)?(t=void 0,(0,s.L)("lazy_model_select_load_failed",{error_message:(0,i.A)(e.error)}),e):(0,n.N)(e.data.ModelSelect))).then(e=>{if(r){if((0,n.V)(e)){m(!1),v(!1);return}if(y.current){S.current=e.data;return}R(e.data)}}),()=>{r=!1}},[p]),null===f)?(0,l.cloneElement)(d,{ref:k,onPointerEnter:e=>{d.props.onPointerEnter?.(e),m(!0)},onFocus:e=>{d.props.onFocus?.(e),m(!0)},onBlur:e=>{d.props.onBlur?.(e),T()},onPointerDown:e=>{d.props.onPointerDown?.(e),y.current=!0,m(!0)},onPointerCancel:e=>{d.props.onPointerCancel?.(e),T()},onPointerLeave:e=>{d.props.onPointerLeave?.(e),T()},onKeyDown:e=>{d.props.onKeyDown?.(e)," "===e.key&&(y.current=!0)},onClick:e=>{d.props.onClick?.(e);let t=Symbol("lazy-model-select-open");r=t,x.current=t,m(!0),v(!0),T()}}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(f,{...c,isOpenInitially:h,children:(0,l.cloneElement)(d,{ref:k})}),(0,a.jsx)(u,{shouldRestoreFocus:A,triggerRef:b})]})}])},690387,e=>{"use strict";var t=e.i(293747),r=e.i(706792),a=e.i(140691);let n="/M tokens",i=["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 o(e){return e.length>0&&!e.some(e=>!(0,a.I)(e.price).isZero()||e.tiers?.some(e=>!(0,a.I)(e.price).isZero())===!0)}function s(e,n,i){if(0===n.length)return;let o=i?.keepTrailingZeroes?"model-price-fixed":"model-price",s=n.filter(e=>"token"===e.kind),d=(0,r.T)(n);if(d)return function({locale:e,preset:r},{media:n,inputItem:i,outputItem:o}){return{kind:"standard-tokens",media:n,inputPrice:(0,t.f)((0,a.I)(i.price).times(i.displayMultiplier),{locale:e,preset:r})??"—",inputUnit:u(i),outputPrice:(0,t.f)((0,a.I)(o.price).times(o.displayMultiplier),{locale:e,preset:r})??"—",outputUnit:u(o)}}({locale:e,preset:o},d);let c=(0,r.U)(n);if(!c){if(s[0]){let r=s[0],o=`${(0,t.f)((0,a.I)(r.price).times(r.displayMultiplier),{locale:e,preset:i?.keepTrailingZeroes?"model-price-fixed":"model-price"})??"—"}`,d=u(r);return{kind:"custom",label:l(o,d),priceOnly:o,unit:d,hasDetails:n.length>1}}return}let p=`${(0,t.f)((0,a.I)(c.price).times(c.displayMultiplier),{locale:e,preset:i?.keepTrailingZeroes?"model-price-fixed":"model-price"})??"—"}`,m=c.unitLabel;return{kind:"custom",label:c.hasDetails?`from ${l(p,m)}`:l(p,m),priceOnly:c.hasDetails?`from ${p}`:p,unit:m,hasDetails:c.hasDetails}}function l(e,t){var r;return`${e}${(r=t)?r.startsWith("/")?r:` ${r}`:""}`}function u(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,i){return s(e,i)??function(e,r){if(r&&(0,a.I)(r.prompt).isFinite()&&(0,a.I)(r.completion).isFinite()&&!((0,a.I)(r.prompt).isZero()&&(0,a.I)(r.completion).isZero()))return{kind:"standard-tokens",media:"text",inputPrice:(0,t.f)((0,a.I)(r.prompt).times(1e6),{locale:e,preset:"model-price"})??"—",inputUnit:n,outputPrice:(0,t.f)((0,a.I)(r.completion).times(1e6),{locale:e,preset:"model-price"})??"—",outputUnit:n}}(e,r?.pricing)},"J",0,s,"w",0,u,"C",0,o,"h",0,function(e,t){var r;return e?.is_free===!0||(t.length>0?o(t):!!(r=e?.pricing)&&i.every(e=>{let t=r[e];return void 0===t||(0,a.I)(t).isZero()}))},"i",0,l])},192577,e=>{"use strict";e.i(707060);var t=e.i(387086);let r={"Audio Hours":(0,t.b)("Audio hours"),"Audio Input":(0,t.b)("Audio input"),"Audio Minutes":(0,t.b)("Audio minutes"),"Audio Seconds":(0,t.b)("Audio seconds"),"Cache Creation (5min)":(0,t.b)("Cache creation (5min)"),"Cache Read":(0,t.b)("Cache read"),"Cache Read (5min)":(0,t.b)("Cache read (5min)"),"Cache Write":(0,t.b)("Cache write"),"Cache Write (1h)":(0,t.b)("Cache write (1h)"),Characters:(0,t.b)("Characters"),"Code Execution":(0,t.b)("Code execution"),"File Input":(0,t.b)("File input"),"HDR Video Output":(0,t.b)("HDR video output"),"Image Input":(0,t.b)("Image input"),"Image Output":(0,t.b)("Image output"),"Image Price":(0,t.b)("Image"),"Image to Video":(0,t.b)("Image to video"),"Image Tokens":(0,t.b)("Image tokens"),"Input Audio":(0,t.b)("Input audio"),"Input Audio Cache":(0,t.b)("Input audio cache"),"Input Image":(0,t.b)("Input image"),"Input Price":(0,t.b)("Input"),"Input Text":(0,t.b)("Input text"),"Input Text Cache":(0,t.b)("Input text cache"),"Input tokens":(0,t.b)("Input tokens"),"Large source":(0,t.b)("Large source"),"Output Audio":(0,t.b)("Output audio"),"Output Image":(0,t.b)("Output image"),"Output Price":(0,t.b)("Output"),"Output Text":(0,t.b)("Output text"),Request:(0,t.b)("Request"),"Search units":(0,t.b)("Search units"),"Song Generation":(0,t.b)("Song generation"),"Standard source":(0,t.b)("Standard source"),"SVG Output":(0,t.b)("SVG output"),"Text Input":(0,t.b)("Text input"),"Text to Video":(0,t.b)("Text to video"),"UTF-8 Bytes":(0,t.b)("UTF-8 bytes"),"Video (no audio)":(0,t.b)("Video (no audio)"),"Video (with audio)":(0,t.b)("Video (with audio)"),"Video Edit Output":(0,t.b)("Video edit output"),"Video Generation":(0,t.b)("Video generation"),"Video Input":(0,t.b)("Video input"),"Video Output":(0,t.b)("Video output"),"Video Tokens (no audio)":(0,t.b)("Video tokens (no audio)"),"Video Tokens (with audio)":(0,t.b)("Video tokens (with audio)"),"Video Tokens (with video input)":(0,t.b)("Video tokens (with video input)"),"Video Upscale Output":(0,t.b)("Video upscale output"),"Web Search":(0,t.b)("Web search")};e.s(["f",0,function(e,t){let a=r[t];return void 0===a?t:e(a)}])},353524,e=>{"use strict";var t=e.i(134611),r=e.i(819750),a=e.i(524287),n=e.i(173465),i=e.i(613497);let o=(0,a.f)("author-models",{detail:e=>[null===e?null:{authorSlug:e}]});function s(e){return(0,n.f)({queryKey:o.detail(e),queryFn:null===e?i.V:({signal:t})=>(0,r.f)("/api/frontend/v1/author-models",{searchParams:{authorSlug:e},signal:t})})}e.s(["k",0,s,"a",0,function(e,r){let a=s(e);return null===r?(0,n.f)({...a,queryFn:i.V}):(0,n.f)({...a,select:e=>{var a,n;return a=e,n=r,{...a,models:a.models.filter(e=>(0,t.i)(e)!==n).toSorted((e,t)=>new Date(t.created_at).getTime()-new Date(e.created_at).getTime())}}})}])},984953,e=>{"use strict";var t=e.i(663456),r=e.i(356713),a=e.i(199168);e.i(707060);var n=e.i(387086);let i={index:(0,n.b)("Vals Index"),coding:(0,n.b)("Coding"),math:(0,n.b)("Math"),academic:(0,n.b)("Academic"),finance:(0,n.b)("Finance"),legal:(0,n.b)("Legal"),healthcare:(0,n.b)("Healthcare"),education:(0,n.b)("Education"),cyber:(0,n.b)("Cybersecurity")};e.s(["f",0,function(){let e,n=(0,t.c)(3),o=(0,a.M)(),s=(0,a.o)();return n[0]!==s||n[1]!==o?(e=e=>{if(null===e)return s("Other");let t=i[e];return t?o(t):(0,r.z)(e)},n[0]=s,n[1]=o,n[2]=e):e=n[2],e}])},206020,e=>{"use strict";var t=e.i(819750),r=e.i(524287),a=e.i(173465),n=e.i(613497);let i=(0,r.f)("router-activity",{detail:e=>[e]});e.s(["f",0,function(e){return(0,a.f)({queryKey:i.detail(e),queryFn:null===e?n.V:({signal:r})=>(0,t.f)("/api/frontend/v1/stats/router-activity",{searchParams:{permaslug:e},signal:r})})}])},447131,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(136562),n=e.i(139697),i=e.i(751155),o=e.i(126324),s=e.i(231171),l=e.i(199168);e.s(["f",0,function(e){let u,d,c=(0,r.c)(30),{gate:p,blockedTriggerClassName:m,variant:f,size:g,density:h,className:v,render:A,onClick:b,"aria-label":x,children:y}=e,S=(0,l.M)();c[0]!==v?(u=(0,a.f)(v,"pointer-events-none opacity-50"),c[0]=v,c[1]=u):u=c[1],c[2]!==y||c[3]!==h||c[4]!==g||c[5]!==u||c[6]!==f?(d=(0,t.jsx)(n.Button,{variant:f,size:g,density:h,className:u,"aria-disabled":"true",tabIndex:-1,children:y}),c[2]=y,c[3]=h,c[4]=g,c[5]=u,c[6]=f,c[7]=d):d=c[7];let I=d;switch(p){case s.L.Allowed:{let e;return c[8]!==x||c[9]!==y||c[10]!==v||c[11]!==h||c[12]!==b||c[13]!==A||c[14]!==g||c[15]!==f?(e=(0,t.jsx)(n.Button,{variant:f,size:g,density:h,className:v,render:A,onClick:b,"aria-label":x,children:y}),c[8]=x,c[9]=y,c[10]=v,c[11]=h,c[12]=b,c[13]=A,c[14]=g,c[15]=f,c[16]=e):e=c[16],e}case s.L.Loading:return I;case s.L.Blocked:{let e,r,a,n,s;return c[17]!==S?(e=S(o.f),c[17]=S,c[18]=e):e=c[18],c[19]!==S?(r=S(o.f),c[19]=S,c[20]=r):r=c[20],c[21]!==r?(a=(0,t.jsx)("span",{className:"sr-only",children:r}),c[21]=r,c[22]=a):a=c[22],c[23]!==m||c[24]!==I||c[25]!==a?(n=(0,t.jsxs)(i.TooltipNonInteractiveTrigger,{className:m,children:[I,a]}),c[23]=m,c[24]=I,c[25]=a,c[26]=n):n=c[26],c[27]!==e||c[28]!==n?(s=(0,t.jsx)(i.Tooltip,{content:e,children:n}),c[27]=e,c[28]=n,c[29]=s):s=c[29],s}default:return p}}])},155771,e=>{"use strict";var t=e.i(663456),r=e.i(376885),a=e.i(128564),n=e.i(674896);e.s(["f",0,function(){let e,i,o=(0,t.c)(6),{isSignedIn:s}=(0,r.f)(),l=!0===s;o[0]!==l?(e={isEnabled:l},o[0]=l,o[1]=e):e=o[1];let{workspaces:u,activeWorkspaceId:d}=(0,a.Z)(e);if(o[2]!==d||o[3]!==s||o[4]!==u){let e=!0===s?u?.find(e=>e.id===d):void 0;i=void 0===e?`/${n.L.Chat}`:(0,n.$)(e.slug,n.L.Chat),o[2]=d,o[3]=s,o[4]=u,o[5]=i}else i=o[5];return i}])}]); //# sourceMappingURL=2ge5yeg-7qa49.js.map