(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,150649,668641,856465,e=>{"use strict";e.s(["f",0,""],150649);var t=e.i(16043),r=e.i(177147),n=e.i(531893);let i=()=>()=>{},l=()=>!0,a=()=>!1,o=(0,n.f)(18)?function(){return(0,r.useSyncExternalStore)(i,l,a)}:function(){let[e,r]=t.useState(!1);return t.useEffect(()=>{r(!0)},[]),e};function s(){return!o()}e.s(["f",0,s],668641);var c=e.i(365235),u=e.i(659350);e.s(["f",0,function(e){let{script:t}=e,{nonce:r}=(0,c.f)();return s()?(0,u.jsx)("script",{nonce:r,dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0}):null}],856465)},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 n=(0,t.f)(r);e.s(["f",0,n],45924),e.s(["f",0,n],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 n=(0,t.f)(r);e.s(["f",0,n],773151)},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 n=(0,t.f)(r);e.s(["f",0,n])},843749,e=>{"use strict";var t=e.i(1971);e.s(["f",()=>t.f])},58991,e=>{"use strict";var t=e.i(651681);let r={name:"minus",size:24,node:[["path",{d:"M5 12h14",key:"1ays0h"}]]};r.node;let n=(0,t.f)(r);e.s(["f",0,n],58991)},357321,e=>{"use strict";var t=e.i(651681);let r={name:"triangle-alert",size:24,node:[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],aliases:["alert-triangle"]};r.node;let n=(0,t.f)(r);e.s(["f",0,n])},895377,e=>{"use strict";var t=e.i(357321);e.s(["f",()=>t.f])},918331,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(16043),i=e.i(115370),l=e.i(389475),a=e.i(533124),o=e.i(82153),s=e.i(367898),c=e.i(223732),u=e.i(825086);function d(e){return{checked:t=>e.indeterminate?{}:t?{"data-checked":""}:{"data-unchecked":""},...u.s}}var f=e.i(729253),p=e.i(93836),h=e.i(811673),m=e.i(195618),v=e.i(225421),g=e.i(141436),b=e.i(176322),y=e.i(967090),w=e.i(446443),x=e.i(621441),k=e.i(76129),S=e.i(599096),R=e.i(461430);let N=n.createContext(void 0);var _=e.i(107397);let j=n.createContext(void 0);var C=e.i(132887),A=e.i(111407),L=e.i(957854);let I=n.forwardRef(function(e,r){let{checked:u,className:_,defaultChecked:I=!1,"aria-labelledby":E,disabled:T=!1,form:$,id:z,indeterminate:P=!1,inputRef:M,name:F,onCheckedChange:H,parent:D=!1,readOnly:q=!1,render:U,required:W=!1,uncheckedValue:O,value:V,nativeButton:B=!1,style:K,...Y}=e,{clearErrors:G}=(0,x.f)(),{disabled:Z,name:X,setDirty:Q,setFilled:J,setTouched:ee,state:et,validationMode:er,validityData:en,validation:ei}=(0,g.f)(),el=(0,w.f)(),{labelId:ea,registerControlId:eo,getDescriptionProps:es}=(0,k.f)(),ec=n.useContext(N),eu=ec?.allValues===void 0?void 0:ec.parent,ed=void 0!==eu,ef=Z||el.disabled||ec?.disabled||T,ep=X??F,eh=V??ep,em=(0,h.f)(),ev=ec?.registerControlId!==eo,eg=(0,R.f)({id:z||void 0,enabled:ev}),eb=B?eg:em,ey={};ed&&(D?ey=eu.getParentProps():void 0!==eh&&(ey=eu.getChildProps(eh)));let{checked:ew=u,indeterminate:ex=P,onCheckedChange:ek,...eS}=ey,eR=ec?.value,eN=n.useRef(null),e_=(0,b.f)(ef,eN),{getButtonProps:ej,buttonRef:eC}=(0,v.f)({disabled:ef,native:B}),eA=ec?.validation??ei,[eL,eI]=(0,l.f)({controlled:void 0===eh||void 0===eR||D?ew:eR.includes(eh),default:I,name:"Checkbox",state:"checked"}),eE=ed?!!ew:eL,eT=ed&&ex||P;(0,y.f)(eN,em,eL,void 0,!ec&&!ef,F);let e$=eu?.registerChildId,ez=n.useRef(null),eP=eA.registerInput,eM=ec?eh:void 0,eF=n.useCallback(e=>eP(e,{controlRef:eN,value:eM}),[eP,eM]),eH=(0,o.A)(M,ez,D?void 0:eF),eD=(0,S.f)(E,ea,ez,!B,eg,Y["aria-label"]);(0,a.f)(()=>{ez.current&&(ez.current.indeterminate=eT),ec||J(eL)},[eL,eT,ec,J]),(0,L.f)(eL,()=>{ec||(G(ep),Q(eL!==en.initialValue),eA.change(eL))});let eq=(0,m.w)({checked:eL,disabled:ef,form:$,name:D?void 0:ep,id:B?void 0:eg,required:W,ref:eH,style:ep?s.L:s.p,tabIndex:-1,type:"checkbox","aria-hidden":!0,onChange(e){if(e.nativeEvent.defaultPrevented)return;if(q)return void e.preventDefault();let t=e.currentTarget.checked,r=(0,C.j)(A.f.none,e.nativeEvent);if((H?.(t,r),!r.isCanceled)&&(ek?.(t,r),!r.isCanceled&&(eI(t),void 0!==eh&&void 0!==ec&&!D&&!ed))){let e=t?[...ec.value,eh]:ec.value.filter(e=>e!==eh);ec.setValue(e,r)}},onClick(e){e.stopPropagation()},onFocus(){eN.current?.focus()}},void 0!==V?{value:(ec?eL&&V:V)||""}:i.w,es,e=>eA.getValidationProps(ef,e));n.useEffect(()=>{if(!eu||void 0===eh)return;let e=eu.disabledStatesRef.current;return e.set(eh,ef),()=>{e.delete(eh)}},[eu,ef,eh]);let eU=n.useMemo(()=>({...et,checked:eE,disabled:ef,readOnly:q,required:W,indeterminate:eT}),[et,eE,ef,q,W,eT]),eW=d(eU),eO=(0,p.a)("span",e,{state:eU,ref:[eC,eN,r],props:[{id:eb,role:"checkbox","aria-checked":eT?"mixed":eE,"aria-readonly":q||void 0,"aria-required":W||void 0,"aria-labelledby":eD,"data-parent":D?"":void 0,onFocus(){e_(!0)},onBlur(){let e=ez.current;e&&(ee(!0),e_(!1),"onBlur"===er&&eA.commit(ec?eR:e.checked))},onKeyDown(e){if("Enter"!==e.key||(e.preventBaseUIHandler(),e.defaultPrevented))return;let t=ez.current?.form??null,r=e.currentTarget,n=e.nativeEvent,i=e.preventDefault,l=n.preventDefault,a=!1;e.preventDefault=()=>{a=!0,i.call(e)},n.preventDefault=()=>{a=!0,l.call(n)},l.call(n),(0,c.f)(r).queueMicrotask(()=>{e.preventDefault=i,n.preventDefault=l,a||(function(e){if(!e)return null;for(let t of e.elements){let e=t.tagName;if(("BUTTON"===e||"INPUT"===e)&&"submit"===t.type)return t}return null})(t)?.click()})},onClick(e){if(q||ef)return;e.preventDefault();let t=ez.current;t&&(0,f.f)(t,e)}},Y,eS,ej,es,e=>eA.getValidationProps(ef,e)],stateAttributesMapping:eW}),eV=eO.props.id;return(0,a.f)(()=>{if(e$&&!D&&void 0!==eh&&void 0!==eV)return e$(eh,eV)},[e$,D,eh,eV]),(0,t.jsxs)(j.Provider,{value:eU,children:[eO,!eL&&!ec&&ep&&!D&&void 0!==O&&(0,t.jsx)("input",{type:"hidden",form:$,name:ep,value:O,disabled:ef}),(0,t.jsx)("input",{...eq,suppressHydrationWarning:!0})]})});var E=e.i(692933),T=e.i(288646),$=e.i(240070);let z=n.forwardRef(function(e,t){let{render:r,className:i,style:l,keepMounted:a=!1,...o}=e,s=function(){let e=n.useContext(j);if(void 0===e)throw Error((0,_.f)(14));return e}(),c=s.checked||s.indeterminate,{mounted:u,transitionStatus:f,setMounted:h}=(0,T.f)(c),m=n.useRef(null),v={...s,transitionStatus:f};(0,E.f)({batch:!0,enabled:!c,open:c,ref:m,onComplete(){c||h(!1)}});let g={...d(s),...$.f},b=(0,p.a)("span",e,{ref:[t,m],state:v,stateAttributesMapping:g,props:o});return a||u?b:null});e.s(["Indicator",0,z,"Root",0,I],756224);var P=e.i(756224),P=P,M=P,F=e.i(872635),H=e.i(58991),D=e.i(136562);let q="transition-[stroke-dashoffset] duration-quick ease-smooth-out motion-reduce:transition-none";e.s(["f",0,function(e){let n,i,l,a,o,s,c,u,d,f,p=(0,r.c)(20);p[0]!==e?({className:i,checked:n,onCheckedChange:l,ref:o,...a}=e,p[0]=e,p[1]=n,p[2]=i,p[3]=l,p[4]=a,p[5]=o):(n=p[1],i=p[2],l=p[3],a=p[4],o=p[5]);let h="indeterminate"===n,m=!!h||n;return p[6]!==i?(s=(0,D.f)("group/checkbox grid place-content-center peer h-4 w-4 shrink-0 rounded-sm border border-foreground/30 bg-muted text-primary-foreground cursor-pointer ring-offset-background hover:border-foreground/50 focus-visible:outline-none focus-visible:border-focus-border focus-visible:shadow-focus data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50 data-[checked]:border-primary data-[checked]:bg-primary data-[indeterminate]:border-primary data-[indeterminate]:bg-primary","transition-[background-color,border-color] duration-quick ease-smooth-out",i),p[6]=i,p[7]=s):s=p[7],p[8]!==h||p[9]!==l?(c=l?e=>{h?l(!0):l(e)}:void 0,p[8]=h,p[9]=l,p[10]=c):c=p[10],p[11]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsx)(F.f,{className:(0,D.f)("col-start-1 row-start-1 h-4 w-4 group-data-[indeterminate]/checkbox:hidden",q,"[stroke-dasharray:23] [stroke-dashoffset:-23] group-data-[checked]/checkbox:duration-medium group-data-[checked]/checkbox:[stroke-dashoffset:0] group-data-[checked]/checkbox:starting:[stroke-dashoffset:-23]")}),p[11]=u):u=p[11],p[12]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsxs)(P.Indicator,{keepMounted:!0,className:"grid place-items-center text-current",children:[u,(0,t.jsx)(H.f,{className:(0,D.f)("col-start-1 row-start-1 h-4 w-4 group-data-[checked]/checkbox:hidden",q,"[stroke-dasharray:14] [stroke-dashoffset:14] group-data-[indeterminate]/checkbox:duration-medium group-data-[indeterminate]/checkbox:[stroke-dashoffset:0] group-data-[indeterminate]/checkbox:starting:[stroke-dashoffset:14]")})]}),p[12]=d):d=p[12],p[13]!==m||p[14]!==h||p[15]!==a||p[16]!==o||p[17]!==s||p[18]!==c?(f=(0,t.jsx)(M.Root,{ref:o,className:s,checked:m,indeterminate:h,onCheckedChange:c,...a,children:d}),p[13]=m,p[14]=h,p[15]=a,p[16]=o,p[17]=s,p[18]=c,p[19]=f):f=p[19],f}],918331)},647402,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(136562);let i=(0,e.i(207298).f)("inline-block size-[0.215em] shrink-0 rounded-full bg-current align-middle",{variants:{tone:{inherit:"",faint:"text-faint"}},defaultVariants:{tone:"inherit"}});e.s(["f",0,function(e){let l,a,o=(0,r.c)(6),{className:s,tone:c,"data-testid":u}=e;return o[0]!==s||o[1]!==c?(l=(0,n.f)(i({tone:c}),s),o[0]=s,o[1]=c,o[2]=l):l=o[2],o[3]!==u||o[4]!==l?(a=(0,t.jsx)("span",{"aria-hidden":"true",className:l,"data-testid":u}),o[3]=u,o[4]=l,o[5]=a):a=o[5],a}],647402)},912147,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(788843),i=e.i(136562),l=e.i(490112);e.s(["f",0,function(e){let a,o,s,c,u,d,f,p,h,m,v,g,b,y=(0,r.c)(28);y[0]!==e?({children:a,className:o,size:u,weight:p,icon:s,iconPosition:d,showExternalIcon:f,...c}=e,y[0]=e,y[1]=a,y[2]=o,y[3]=s,y[4]=c,y[5]=u,y[6]=d,y[7]=f,y[8]=p):(a=y[1],o=y[2],s=y[3],c=y[4],u=y[5],d=y[6],f=y[7],p=y[8]);let w=void 0===d?"end":d,x=void 0!==f&&f;y[9]!==s||y[10]!==x?(h=s??(x?(0,t.jsx)(n.f,{className:"inline size-3 align-[-1px]"}):null),y[9]=s,y[10]=x,y[11]=h):h=y[11];let k=h;return y[12]!==o||y[13]!==u||y[14]!==p?(m=(0,i.f)((0,l.X)({size:u,weight:p}),o),y[12]=o,y[13]=u,y[14]=p,y[15]=m):m=y[15],y[16]!==w||y[17]!==k?(v="start"===w&&k&&(0,t.jsx)("span",{className:"mr-0.5 inline-flex",children:k}),y[16]=w,y[17]=k,y[18]=v):v=y[18],y[19]!==w||y[20]!==k?(g="end"===w&&k&&(0,t.jsx)("span",{className:"ml-0.5 inline-flex",children:k}),y[19]=w,y[20]=k,y[21]=g):g=y[21],y[22]!==a||y[23]!==c||y[24]!==m||y[25]!==v||y[26]!==g?(b=(0,t.jsxs)("a",{className:m,...c,children:[v,a,g]}),y[22]=a,y[23]=c,y[24]=m,y[25]=v,y[26]=g,y[27]=b):b=y[27],b}])},894868,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(136562),i=e.i(829622),l=e.i(722841),a=e.i(987457);e.s(["f",0,function(e){let o,s,c,u,d,f,p,h=(0,r.c)(25),{author:m,permaslug:v,iconUri:g,className:b,frame:y,frameRingClassName:w,bare:x}=e,k=void 0!==y&&y,S=void 0!==x&&x;if(h[0]!==m||h[1]!==S||h[2]!==b||h[3]!==k||h[4]!==w||h[5]!==g||h[6]!==v){d=Symbol.for("react.early_return_sentinel");e:{if(s=null==v?(0,l.$)(m,g):(0,l.h)({permaslug:v,author:m,iconUri:g}),S){let e;h[12]!==b?(e=(0,n.f)("flex size-6 shrink-0 items-center justify-center","[&_img]:object-contain",b),h[12]=b,h[13]=e):e=h[13],d=(0,t.jsx)("div",{className:e,children:(0,t.jsx)(i.RemoteFavicon,{className:(0,n.f)("size-full overflow-hidden",s?.className),faviconFor:m,imgSrc:s.url,imgSrcDark:s.darkUrl,size:256})});break e}if(k){d=(0,t.jsx)(a.f,{className:b,ringClassName:w,children:(0,t.jsx)(i.RemoteFavicon,{className:(0,n.f)("size-full",s?.className),faviconFor:m,imgSrc:s.url,imgSrcDark:s.darkUrl,size:256})});break e}h[14]!==b?(u=(0,n.f)("flex items-center justify-center","size-6 shrink-0 rounded-full border","bg-background p-1",b),h[14]=b,h[15]=u):u=h[15],o=i.RemoteFavicon,c=(0,n.f)("overflow-hidden rounded-full",s?.className)}h[0]=m,h[1]=S,h[2]=b,h[3]=k,h[4]=w,h[5]=g,h[6]=v,h[7]=o,h[8]=s,h[9]=c,h[10]=u,h[11]=d}else o=h[7],s=h[8],c=h[9],u=h[10],d=h[11];return d!==Symbol.for("react.early_return_sentinel")?d:(h[16]!==o||h[17]!==m||h[18]!==s.darkUrl||h[19]!==s.url||h[20]!==c?(f=(0,t.jsx)(o,{className:c,faviconFor:m,imgSrc:s.url,imgSrcDark:s.darkUrl,size:256}),h[16]=o,h[17]=m,h[18]=s.darkUrl,h[19]=s.url,h[20]=c,h[21]=f):f=h[21],h[22]!==u||h[23]!==f?(p=(0,t.jsx)("div",{className:u,children:f}),h[22]=u,h[23]=f,h[24]=p):p=h[24],p)}])},987457,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(136562);e.s(["f",0,function(e){let i,l,a,o,s,c,u=(0,r.c)(15),{children:d,className:f,variant:p,decorative:h,ringClassName:m}=e,v=void 0!==h&&h||void 0;u[0]!==f?(i=(0,n.f)("relative flex shrink-0 items-center justify-center","box-content p-px","overflow-hidden rounded-sm bg-background","size-6",f),u[0]=f,u[1]=i):i=u[1],u[2]===Symbol.for("react.memo_cache_sentinel")?(l=(0,n.f)("absolute inset-px flex items-center justify-center","[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:object-contain","[&_img]:rounded-sm"),u[2]=l):l=u[2],u[3]!==d?(a=(0,t.jsx)("div",{className:l,children:d}),u[3]=d,u[4]=a):a=u[4];let g="app"===(void 0===p?"default":p)&&"dark:inset-px dark:ring-white";return u[5]!==m||u[6]!==g?(o=(0,n.f)("pointer-events-none absolute inset-0 rounded-[inherit] ring-1 ring-inset ring-border/60",g,m),u[5]=m,u[6]=g,u[7]=o):o=u[7],u[8]!==o?(s=(0,t.jsx)("div",{"aria-hidden":!0,className:o}),u[8]=o,u[9]=s):s=u[9],u[10]!==v||u[11]!==i||u[12]!==a||u[13]!==s?(c=(0,t.jsxs)("div",{"aria-hidden":v,className:i,children:[a,s]}),u[10]=v,u[11]=i,u[12]=a,u[13]=s,u[14]=c):c=u[14],c}])},640947,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(136562),i=e.i(829622),l=e.i(987457);e.s(["f",0,e=>{let a,o,s,c,u=(0,r.c)(26),{providerName:d,providerIcon:f,className:p,frame:h}=e;u[0]!==f.url.length||u[1]!==d?(a=0===f.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:d.trim().charAt(0).toUpperCase()}):null,u[0]=f.url.length,u[1]=d,u[2]=a):a=u[2];let m=a;if(void 0!==h&&h){let e,r,a;return u[3]!==p?(e=(0,n.f)("size-8",p),u[3]=p,u[4]=e):e=u[4],u[5]!==m||u[6]!==f.className||u[7]!==f.darkUrl||u[8]!==f.url||u[9]!==d?(r=m??(0,t.jsx)(i.RemoteFavicon,{className:(0,n.f)("size-full",f.className),faviconFor:d,imgSrc:f.url,imgSrcDark:f.darkUrl,size:256}),u[5]=m,u[6]=f.className,u[7]=f.darkUrl,u[8]=f.url,u[9]=d,u[10]=r):r=u[10],u[11]!==e||u[12]!==r?(a=(0,t.jsx)(l.f,{className:e,children:r}),u[11]=e,u[12]=r,u[13]=a):a=u[13],a}let v=null===m&&"bg-muted/40 p-1 shadow-inner";return u[14]!==p||u[15]!==v?(o=(0,n.f)("flex items-center justify-center","h-8 w-8 rounded-lg",v,p),u[14]=p,u[15]=v,u[16]=o):o=u[16],u[17]!==m||u[18]!==f.className||u[19]!==f.darkUrl||u[20]!==f.url||u[21]!==d?(s=m??(0,t.jsx)(i.RemoteFavicon,{className:(0,n.f)("overflow-hidden rounded-sm",f.className),faviconFor:d,imgSrc:f.url,imgSrcDark:f.darkUrl,size:256}),u[17]=m,u[18]=f.className,u[19]=f.darkUrl,u[20]=f.url,u[21]=d,u[22]=s):s=u[22],u[23]!==o||u[24]!==s?(c=(0,t.jsx)("div",{className:o,children:s}),u[23]=o,u[24]=s,u[25]=c):c=u[25],c}])},722841,e=>{"use strict";var t=e.i(51365);let r=[["microsoft/mai-",(0,t.r)("MAI.png")]];var n=e.i(771271);function i(e){return e.toLowerCase()}let l=new Map([[i(n.R.OpenAI),{url:(0,t.r)("OpenAI.svg"),className:"dark:invert"}],[i(n.R.Perplexity),{url:(0,t.r)("Perplexity.png")}],[i(n.R.Poolside),{url:(0,t.r)("poolside-logomark-solid-color.svg")}],[i(n.R.Perceptron),{url:(0,t.e)("https://www.perceptron.inc")}],["voyageai",{url:(0,t.e)("https://www.voyageai.com")}],[i(n.R.GoogleAIStudio),{url:(0,t.r)("GoogleAIStudio.svg")}],[i(n.R.Anthropic),{url:(0,t.r)("Anthropic.svg")}],[i(n.R.ClaudeOnAws),{url:(0,t.r)("Anthropic.svg")}],[i(n.R.Cohere),{url:(0,t.r)("Cohere.png")}],[i(n.R.Deepgram),{url:(0,t.r)("Deepgram.svg"),className:"dark:invert"}],[i(n.R.DeepSeek),{url:(0,t.r)("DeepSeek.png")}],[i(n.R.Together),{url:(0,t.e)("https://www.together.ai/")}],[i(n.R.Infermatic),{url:(0,t.e)("https://infermatic.ai/")}],[i(n.R.HuggingFace),{url:(0,t.e)("https://huggingface.co/")}],[i(n.R.Unbiased),{url:(0,t.r)("Unbiased.png")}],[i(n.R.AI21),{url:(0,t.e)("https://ai21.com/")}],[i(n.R.Featherless),{url:(0,t.e)("https://featherless.ai/")}],[i(n.R.Reflection),{url:(0,t.e)("https://railway.app/")}],[i(n.R.Inflection),{url:(0,t.e)("https://inflection.ai/")}],[i(n.R.Minimax),{url:(0,t.e)("https://minimaxi.com/")}],[i(n.R.Liquid),{url:(0,t.r)("Liquid.png"),className:"dark:invert"}],[i(n.R.Inception),{url:(0,t.r)("Inception.svg"),className:"dark:invert"}],[i(n.R.Relace),{url:(0,t.e)("https://www.relace.ai")}],[i(n.R.Sourceful),{url:(0,t.e)("https://www.sourceful.com/")}],[i(n.R.Speechify),{url:(0,t.e)("https://speechify.ai/")}],[i(n.R.BytePlus),{url:(0,t.e)("https://www.byteplus.com")}],[i(n.R.Xiaomi),{url:(0,t.e)("https://www.mi.com")}],["arcee-ai",{url:(0,t.e)("https://www.arcee.ai")}],[i(n.R.AssemblyAI),{url:(0,t.e)("https://www.assemblyai.com/")}],["fish-audio",{url:(0,t.e)("https://fish.audio/")}],[i(n.R.ElevenLabs),{url:(0,t.e)("https://elevenlabs.io/"),className:"dark:invert"}],["z-ai",{url:(0,t.e)("https://z.ai/"),className:"dark:invert"}],["moonshotai",{url:(0,t.r)("MoonshotAI.png")}],["morph",{url:(0,t.e)("https://morphllm.com")}],[i(n.R.TypeSafe),{url:(0,t.e)("https://typesafe.ai")}],["qwen",{url:(0,t.r)("Qwen.png")}],["google",{url:(0,t.r)("GoogleGemini.svg")}],["microsoft",{url:(0,t.r)("Microsoft.svg")}],["nousresearch",{url:(0,t.e)("https://nousresearch.com/")}],["nvidia",{url:(0,t.e)("https://nvidia.com/")}],["meta-llama",{url:(0,t.r)("Meta.png")}],["meta",{url:(0,t.r)("Meta.png")}],["databricks",{url:(0,t.e)("https://databricks.com/")}],["openrouter",{url:(0,t.r)("openrouter-glyph-light.svg"),darkUrl:(0,t.r)("openrouter-glyph-dark.svg")}],["mistralai",{url:(0,t.r)("Mistral.png")}],["x-ai",{url:(0,t.e)("https://x.ai/")}],["amazon",{url:(0,t.e)("https://nova.amazon.com/")}],["aion-labs",{url:(0,t.e)("https://www.aionlabs.ai/")}],["allenai",{url:(0,t.e)("https://allenai.org/")}],["switchpoint",{url:(0,t.e)("https://switchpoint.dev/")}],["thedrummer",{url:(0,t.r)("TheDrummer.png")}],["deepcogito",{url:(0,t.e)("https://www.deepcogito.com/")}],["baidu",{url:(0,t.e)("https://www.baidu.com/")}],["kwaipilot",{url:(0,t.r)("Kwaipilot.png")}],["kwaivgi",{url:(0,t.r)("KlingAI.png")}],["black-forest-labs",{url:(0,t.e)("https://bfl.ai")}],["prime-intellect",{url:(0,t.e)("https://www.primeintellect.ai/")}],["primeintellect",{url:(0,t.e)("https://www.primeintellect.ai/")}],["essentialai",{url:(0,t.e)("https://www.essential.ai/")}],["bytedance-seed",{url:(0,t.e)("https://seed.bytedance.com/")}],[i(n.R.Seed),{url:(0,t.e)("https://seed.bytedance.com/")}],["writer",{url:(0,t.e)("https://writer.com/"),className:"dark:invert"}],["stepfun",{url:(0,t.e)("https://platform.stepfun.ai/")}],["stepfun-ai",{url:(0,t.e)("https://platform.stepfun.ai/")}],[i(n.R.Recraft),{url:(0,t.r)("Recraft.svg"),className:"dark:invert"}],["bytedance",{url:(0,t.e)("https://seed.bytedance.com/")}],["alibaba",{url:(0,t.e)("https://www.alibabacloud.com")}],["inclusionai",{url:(0,t.e)("https://www.inclusion-ai.org/")}],["tencent",{url:(0,t.r)("Tencent.png")}],["ibm-granite",{url:(0,t.r)("IBMGranite.svg"),className:"dark:invert"}],["nex-agi",{url:(0,t.r)("NexAGI.svg"),className:"dark:invert"}],[i(n.R.Unbiased),{url:(0,t.r)("Unbiased.png")}],["apodex",{url:(0,t.r)("Apodex.svg"),darkUrl:(0,t.r)("Apodex-dark.svg")}],["elorian",{url:(0,t.r)("Elorian.svg"),darkUrl:(0,t.r)("Elorian-dark.svg")}],["xingchen-agi",{url:(0,t.r)("XingChen-Shield.png")}],["prism-ml",{url:(0,t.r)("PrismML.svg"),darkUrl:(0,t.r)("PrismML-dark.svg")}],["thinkingmachines",{url:(0,t.e)("https://thinkingmachines.ai/")}],["sakana",{url:(0,t.e)("https://sakana.ai")}],[i(n.R.HeyGen),{url:(0,t.e)("https://heygen.com")}],["zyphra",{url:(0,t.r)("Zyphra.svg"),className:"dark:invert"}],["sesame",{url:(0,t.e)("https://www.sesame.com")}],["canopylabs",{url:(0,t.e)("https://canopylabs.ai"),className:"dark:invert"}],["hexgrad",{url:(0,t.r)("Hexgrad.png")}],[i(n.R.Krea),{url:(0,t.e)("https://www.krea.ai")}],[i(n.R.Runway),{url:(0,t.e)("https://runwayml.com")}],[i(n.R.Upstage),{url:(0,t.e)("https://www.upstage.ai/")}],[i(n.R.Fireworks),{url:(0,t.e)("https://fireworks.ai")}],["stealth",{url:(0,t.r)("Stealth.svg"),className:"invert-0 dark:invert"}],[i(n.R.Recursive),{url:(0,t.r)("Recursive.svg"),className:"dark:invert"}],["ricursiveai",{url:(0,t.r)("RicursiveAI.svg"),darkUrl:(0,t.r)("RicursiveAI-dark.svg")}]]),a=/^\/(?![/\\])/u,o=/^data:image\//iu;function s(e,r){var n;let i=l.get(e.toLowerCase());return r&&(!r.startsWith("data:")||o.test(r))?(n=i?.className,a.test(r)||o.test(r)?{url:r}:r.startsWith("//")?{url:(0,t.e)(`https:${r}`)}:r.startsWith("http")?{url:(0,t.e)(r)}:{url:(0,t.r)(r),className:n}):i??{url:t.t}}e.s(["$",0,s,"h",0,function({permaslug:e,author:t,iconUri:n}){let i,l=(i=e.toLowerCase().replace(/^~/u,""),r.find(([e])=>i.startsWith(e))?.[1]??null);return null!==l?{url:l}:s(t,n)}],722841)},829622,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(214051),i=e.i(51365),l=e.i(288265),a=e.i(16043);e.s(["RemoteFavicon",0,function(e){let o,s,c,u,d,f,p,h,m,v,g,b,y,w=(0,r.c)(55),x=(0,l.f)(),[k,S]=(0,a.useState)(null),[R,N]=(0,a.useState)(null),[_,j]=(0,a.useState)(!1),[C,A]=(0,a.useState)(!1),L=e.size||256;w[0]!==_||w[1]!==C||w[2]!==e.curatedIconAppId||w[3]!==e.faviconFor||w[4]!==e.imgSrc||w[5]!==L?(o=function({faviconFor:e,size:t,didCuratedIconFail:r,didSiteIconFail:n,curatedIconAppId:l,imgSrc:a}){if(a)return{source:"given",src:a};if(void 0!==l&&(0,i.Q)(e)&&!r)return{source:"curated",src:(0,i.$)(e)?e:(0,i.g)(l)};let o=n?(0,i.Z)(e):null;return null!==o?{source:"parent-site",src:(0,i.e)(o,t)}:{source:"site",src:(0,i.e)(e,t)}}({faviconFor:e.faviconFor,size:L,didCuratedIconFail:_,didSiteIconFail:C,curatedIconAppId:e.curatedIconAppId,imgSrc:e.imgSrc}),w[0]=_,w[1]=C,w[2]=e.curatedIconAppId,w[3]=e.faviconFor,w[4]=e.imgSrc,w[5]=L,w[6]=o):o=w[6];let{source:I,src:E}=o;w[7]!==e.faviconFor||w[8]!==L||w[9]!==I?(s=t=>{"site"!==I||L<=16||t>16||null!==(0,i.Z)(e.faviconFor)&&A(!0)},w[7]=e.faviconFor,w[8]=L,w[9]=I,w[10]=s):s=w[10];let T=s;w[11]!==e.faviconFor||w[12]!==I?(c=t=>{switch(I){case"curated":if((0,i.$)(e.faviconFor))return void S(t);j(!0);return;case"site":if(null===(0,i.Z)(e.faviconFor))return void S(t);A(!0);return;case"given":case"parent-site":return void S(t);default:S(t)}},w[11]=e.faviconFor,w[12]=I,w[13]=c):c=w[13];let $=c;w[14]===Symbol.for("react.memo_cache_sentinel")?(u=()=>{S(null)},w[14]=u):u=w[14],w[15]!==E?(d=[E],w[15]=E,w[16]=d):d=w[16],(0,a.useEffect)(u,d),w[17]===Symbol.for("react.memo_cache_sentinel")?(f=()=>{j(!1),A(!1)},w[17]=f):f=w[17],w[18]!==e.curatedIconAppId||w[19]!==e.faviconFor||w[20]!==e.imgSrc||w[21]!==L?(p=[e.faviconFor,e.curatedIconAppId,e.imgSrc,L],w[18]=e.curatedIconAppId,w[19]=e.faviconFor,w[20]=e.imgSrc,w[21]=L,w[22]=p):p=w[22],(0,a.useEffect)(f,p),w[23]===Symbol.for("react.memo_cache_sentinel")?(h=()=>{N(null)},w[23]=h):h=w[23],w[24]!==e.imgSrcDark?(m=[e.imgSrcDark],w[24]=e.imgSrcDark,w[25]=m):m=w[25],(0,a.useEffect)(h,m),w[26]!==x||w[27]!==e.faviconFor?(v=x("Favicon for {faviconFor}",{faviconFor:e.faviconFor}),w[26]=x,w[27]=e.faviconFor,w[28]=v):v=w[28],w[29]!==L||w[30]!==v?(g={width:L,height:L,alt:v,className:"h-full w-full object-cover"},w[29]=L,w[30]=v,w[31]=g):g=w[31];let z=g;if(e.imgSrcDark){let r,i,l;return w[32]!==k||w[33]!==z||w[34]!==$||w[35]!==T||w[36]!==E?(r=(0,t.jsx)("span",{className:"block h-full w-full shrink-0 dark:hidden",children:k?(0,t.jsx)("span",{className:"bg-muted",children:(0,t.jsx)(n.f,{className:"h-4 w-4 text-muted-foreground/60"})}):(0,t.jsx)("img",{...z,src:E,onError:e=>$(e.toString()),onLoad:e=>T(e.currentTarget.naturalWidth)})}),w[32]=k,w[33]=z,w[34]=$,w[35]=T,w[36]=E,w[37]=r):r=w[37],w[38]!==R||w[39]!==z||w[40]!==e.imgSrcDark?(i=(0,t.jsx)("span",{className:"hidden h-full w-full shrink-0 dark:block",children:R?(0,t.jsx)("span",{className:"bg-muted",children:(0,t.jsx)(n.f,{className:"h-4 w-4 text-muted-foreground/60"})}):(0,t.jsx)("img",{...z,src:e.imgSrcDark,onError:e=>N(e.toString())})}),w[38]=R,w[39]=z,w[40]=e.imgSrcDark,w[41]=i):i=w[41],w[42]!==e.className||w[43]!==r||w[44]!==i?(l=(0,t.jsxs)("div",{className:e.className,children:[r,i]}),w[42]=e.className,w[43]=r,w[44]=i,w[45]=l):l=w[45],l}return w[46]!==k||w[47]!==z||w[48]!==$||w[49]!==T||w[50]!==E?(b=k?(0,t.jsx)("span",{className:"bg-muted",children:(0,t.jsx)(n.f,{className:"h-4 w-4 text-muted-foreground/60"})}):(0,t.jsx)("picture",{className:"h-full w-full shrink-0",children:(0,t.jsx)("img",{...z,src:E,loading:"lazy",decoding:"async",onError:e=>$(e.toString()),onLoad:e=>T(e.currentTarget.naturalWidth)})}),w[46]=k,w[47]=z,w[48]=$,w[49]=T,w[50]=E,w[51]=b):b=w[51],w[52]!==e.className||w[53]!==b?(y=(0,t.jsx)("div",{className:e.className,children:b}),w[52]=e.className,w[53]=b,w[54]=y):y=w[54],y}])},530798,338960,755483,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(427150),i=e.i(16043),l=e.i(136562);let a="or-table__sticky-end or-table__sticky-end--scroll-cue";function o(e){let t,n,l=(0,r.c)(6),{elementRef:a,className:o,stickyEnd:s}=e;l[0]!==a?(t=()=>{let e=a.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}},l[0]=a,l[1]=t):t=l[1],l[2]!==o||l[3]!==a||l[4]!==s?(n=[a,o,s],l[2]=o,l[3]=a,l[4]=s,l[5]=n):n=l[5],(0,i.useLayoutEffect)(t,n)}e.s(["t",0,a,"K",0,o],338960);let s={muted:"or-table__row--muted","muted-50":"bg-muted/50","muted-40":"bg-muted/40"},c={overline:"text-overline"},u={hidden:"overflow-hidden"},d={background:"bg-background shadow-header-inset"},f={none:"overscroll-none"},p="border-r";var h=e.i(656521),m=e.i(751155),v=e.i(512688),g=e.i(143253);let b=new Map;function y(e){let t=b.get(e);return void 0===t?null:(b.delete(e),b.set(e,t),t)}function w(e){let t,n,l,a,o,s,c,u,d,f,p,h,m,w=(0,r.c)(63),{tableRef:N,enabled:_,rowSelector:j,observeContent:C,persistCache:A,columnKeys:L,signatureParts:I,hasRows:E,scope:T}=e,$=void 0===_||_,z=void 0===j?"tbody > tr[data-table-data-row]":j,P=void 0!==C&&C,M=void 0===A||A;w[0]!==I?(t=void 0===I?[]:I,w[0]=I,w[1]=t):t=w[1];let F=t,[H,D]=(0,i.useState)(null),q=(0,i.useRef)(0),U=null===H?"unmeasured":String(H);w[2]!==L||w[3]!==T||w[4]!==F||w[5]!==U?(n=[T,U,...F,...L],w[2]=L,w[3]=T,w[4]=F,w[5]=U,w[6]=n):n=w[6];let W=n.join("|"),O=(0,v.f)(L);w[7]!==W||w[8]!==H||w[9]!==M?(l=()=>null!==H&&M?y(W):null,w[7]=W,w[8]=H,w[9]=M,w[10]=l):l=w[10];let[V,B]=(0,i.useState)(l),K=(0,v.f)(V),[Y,G]=(0,i.useState)(!1),[Z,X]=(0,i.useState)(0),Q=(0,i.useRef)("");return w[11]!==O||w[12]!==W||w[13]!==H||w[14]!==$||w[15]!==K||w[16]!==M?(a=()=>{if(!$)return;if(null===H)return void G(!1);let e=M?y(W):null;B(e??function(e,t){if(null===e)return null;let r=new Map(e.map(({key:e,widthPx:t})=>[e,t])),n=e.reduce((e,{widthPx:t})=>e+t,0)/e.length||120;return t.map(e=>({key:e,widthPx:r.get(e)??n}))}(K.current,O.current)),G(null===e),X(0),Q.current=""},w[11]=O,w[12]=W,w[13]=H,w[14]=$,w[15]=K,w[16]=M,w[17]=a):a=w[17],w[18]!==O||w[19]!==W||w[20]!==$||w[21]!==K||w[22]!==M?(o=[W,$,M,O,K],w[18]=O,w[19]=W,w[20]=$,w[21]=K,w[22]=M,w[23]=o):o=w[23],(0,g.f)(a,o),w[24]!==$||w[25]!==E||w[26]!==M?(s=()=>{$&&!M&&E&&(G(!0),X(0),Q.current="")},c=[$,M,E],w[24]=$,w[25]=E,w[26]=M,w[27]=s,w[28]=c):(s=w[27],c=w[28]),(0,g.f)(s,c),w[29]!==$||w[30]!==N?(u=()=>{if(!$)return;let e=N.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)&&(q.current=r,D(4*Math.round(r/4)))});return r.observe(t),()=>r.disconnect()},w[29]=$,w[30]=N,w[31]=u):u=w[31],w[32]!==$||w[33]!==E||w[34]!==N?(d=[N,E,$],w[32]=$,w[33]=E,w[34]=N,w[35]=d):d=w[35],(0,g.f)(u,d),w[36]!==$||w[37]!==P||w[38]!==N?(f=()=>{if(!$||!P||"u"{Q.current="",X(0),G(!0)});return r.observe(t,{characterData:!0,childList:!0,subtree:!0}),()=>r.disconnect()},p=[N,$,P],w[36]=$,w[37]=P,w[38]=N,w[39]=f,w[40]=p):(f=w[39],p=w[40]),(0,g.f)(f,p),w[41]!==O||w[42]!==W||w[43]!==H||w[44]!==$||w[45]!==K||w[46]!==E||w[47]!==Z||w[48]!==Y||w[49]!==M||w[50]!==z||w[51]!==N?(h=()=>{if(!$||!Y||!E)return;let e=N.current;if(!e||null===e.offsetParent)return;let t=O.current;if(0===t.length)return;if(null===e.querySelector(`tbody [role="row"], ${z}`)){if(Z<20){let e=window.requestAnimationFrame(()=>X(R));return()=>window.cancelAnimationFrame(e)}return}if(null===H)return;let r=function({table:e,columnKeys:t,containerWidthPx:r,rowSelector:n}){let i=e.parentElement;if(null===i)return null;let l=document.createElement("table");for(let t of e.attributes)l.setAttribute(t.name,t.value);l.append(...Array.from(e.childNodes,e=>e.cloneNode(!0))),l.removeAttribute("id"),l.querySelector("colgroup")?.remove();let a=e.closest(".or-table-page-scroll")?.querySelector(".or-table-page-scroll__header thead");a&&(l.querySelector("thead")?.remove(),l.prepend(a.cloneNode(!0))),l.classList.remove("table-fixed"),l.style.position="absolute",l.style.visibility="hidden",l.style.pointerEvents="none",l.style.tableLayout="auto",l.setAttribute("aria-hidden","true"),l.dataset.widthMeasurement="true",l.style.width=`${r}px`;let o=l.querySelector("tbody");if(null===o)return null;let s=Array.from(e.querySelectorAll('tbody [role="row"]')).slice(0,20);if(s.length>0)for(let e of(o.replaceChildren(),s)){let t=l.ownerDocument.createElement("tr");for(let r of e.querySelectorAll('[role="cell"]')){let e=l.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)}o.append(t)}else{let t=Array.from(e.querySelectorAll(n)).slice(0,20);if(0===t.length)return null;o.replaceChildren(...t.map(e=>e.cloneNode(!0)))}i.append(l);let c=l.querySelectorAll("thead th");if(c.length!==t.length)return l.remove(),null;let u=Array.from(c,(e,r)=>({key:t[r],widthPx:e.getBoundingClientRect().width}));return l.remove(),u}({table:e,columnKeys:t,containerWidthPx:q.current,rowSelector:z});if(null===r)return;let n=r.map(S).join(","),i=r.some(k),l=!i&&n===Q.current;if(Q.current=n,!l){if(Z<20){var a;!i&&(a=K.current,null!==a&&(a.length!==r.length||a.some((e,t)=>{let n=r[t];return void 0===n||e.key!==n.key||Math.round(e.widthPx)!==Math.round(n.widthPx)})))&&B(r);let e=window.requestAnimationFrame(()=>X(x));return()=>window.cancelAnimationFrame(e)}if(i)return}M&&function(e,t){if(b.delete(e),b.set(e,t.map(({key:e,widthPx:t})=>({key:e,widthPx:t}))),b.size<=20)return;let r=b.keys().next().value;void 0!==r&&b.delete(r)}(W,r),B(r),G(!1)},w[41]=O,w[42]=W,w[43]=H,w[44]=$,w[45]=K,w[46]=E,w[47]=Z,w[48]=Y,w[49]=M,w[50]=z,w[51]=N,w[52]=h):h=w[52],w[53]!==O||w[54]!==W||w[55]!==$||w[56]!==E||w[57]!==Z||w[58]!==Y||w[59]!==M||w[60]!==z||w[61]!==N?(m=[Y,W,Z,E,N,$,z,M,O],w[53]=O,w[54]=W,w[55]=$,w[56]=E,w[57]=Z,w[58]=Y,w[59]=M,w[60]=z,w[61]=N,w[62]=m):m=w[62],(0,g.f)(h,m),V}function x(e){return e+1}function k(e){let{widthPx:t}=e;return 0===t}function S(e){let{widthPx:t}=e;return Math.round(t)}function R(e){return e+1}e.s(["f",0,w],755483);let N={asc:"ascending",desc:"descending"},_={ascending:"asc",descending:"desc"},j=(0,i.createContext)(void 0),C="underline decoration-current/40 decoration-dotted underline-offset-2 hover:decoration-current",A={compact:"or-table--density-compact",regular:"or-table--density-regular",expanded:"or-table--density-expanded"};function L(e){return e.getBoundingClientRect().width}function I(e){return e.getBoundingClientRect().width}function E(e){let{widthPx:t}=e;return t}function T(e,t){return String(t)}function $(e){let n,a,o,s,c,u,f,p,h,m,v=(0,r.c)(19);v[0]!==e?({className:n,ref:o,sticky:c,surface:s,...a}=e,v[0]=e,v[1]=n,v[2]=a,v[3]=o,v[4]=s,v[5]=c):(n=v[1],a=v[2],o=v[3],s=v[4],c=v[5]);let g=void 0!==c&&c,b=(0,i.useRef)(null);v[6]!==g?(u=()=>{if(!g)return;let e=b.current,t=e?.closest(".or-table"),r=t?.closest(".or-table-wrapper");if(!t||!r)return;let n=void 0!==t.dataset.tableHasStickyHeader,i=void 0!==r.dataset.tableHasStickyHeader;return t.dataset.tableHasStickyHeader="true",r.dataset.tableHasStickyHeader="true",()=>{n||delete t.dataset.tableHasStickyHeader,i||delete r.dataset.tableHasStickyHeader}},f=[g],v[6]=g,v[7]=u,v[8]=f):(u=v[7],f=v[8]),(0,i.useLayoutEffect)(u,f),v[9]!==o?(p=e=>{b.current=e,"function"==typeof o?o(e):o&&(o.current=e)},v[9]=o,v[10]=p):p=v[10];let y=g&&"or-table__header--sticky",w=void 0!==s&&d[s];return v[11]!==n||v[12]!==y||v[13]!==w?(h=(0,l.f)(y,w,n),v[11]=n,v[12]=y,v[13]=w,v[14]=h):h=v[14],v[15]!==a||v[16]!==p||v[17]!==h?(m=(0,t.jsx)("thead",{ref:p,className:h,...a}),v[15]=a,v[16]=p,v[17]=h,v[18]=m):m=v[18],m}function z({handler:e,sortContext:t,sortDirection:r,sortId:n}){e?.(),t?.setActiveSort({direction:r,id:n})}function P(e){return F(e)||H(e)}function M(e){return!F(e)}function F(e){return(0,i.isValidElement)(e)&&e.type===$}function H(e){return(0,i.isValidElement)(e)&&"colgroup"===e.type}function D(e){let t;return{schedule(){void 0===t&&(t=requestAnimationFrame(()=>{t=void 0,e()}))},cancel(){void 0!==t&&cancelAnimationFrame(t)}}}function q({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,C,"Table",0,function(e){var n,a,o,s;let c,u,d,p,h,m,v,g,b,y,x,k,S,R,N,_,C,$,z,U,W,O,V,B,K,Y,G,Z,X,Q,J,ee,et,er,en,ei,el,ea,eo,es,ec,eu,ed,ef,ep,eh,em,ev,eg,eb,ey,ew=(0,r.c)(92);ew[0]!==e?({className:N,columnPinning:_,sort:G,onSortChange:O,compact:Z,containerClassName:C,containerProps:$,density:z,footer:U,framed:X,headerPinning:Q,intrinsicColumns:J,intrinsicColumnsHasRows:ee,intrinsicColumnsFlexColumn:W,overflow:et,overscroll:V,pageScroll:er,scrollHeader:Y,children:R,ref:K,...B}=e,ew[0]=e,ew[1]=R,ew[2]=N,ew[3]=_,ew[4]=C,ew[5]=$,ew[6]=z,ew[7]=U,ew[8]=W,ew[9]=O,ew[10]=V,ew[11]=B,ew[12]=K,ew[13]=Y,ew[14]=G,ew[15]=Z,ew[16]=X,ew[17]=Q,ew[18]=J,ew[19]=ee,ew[20]=et,ew[21]=er):(R=ew[1],N=ew[2],_=ew[3],C=ew[4],$=ew[5],z=ew[6],U=ew[7],W=ew[8],O=ew[9],V=ew[10],B=ew[11],K=ew[12],Y=ew[13],G=ew[14],Z=ew[15],X=ew[16],Q=ew[17],J=ew[18],ee=ew[19],et=ew[20],er=ew[21]);let ex=void 0!==Z&&Z,ek=void 0!==X&&X,eS=void 0===Q?"sticky":Q,eR=void 0!==J&&J,eN=void 0!==ee&&ee,e_=void 0===et?"auto":et,ej=void 0!==er&&er;ew[22]!==$?(en=$??{},ew[22]=$,ew[23]=en):en=ew[23],ew[24]!==en?({className:ei,...el}=en,ew[24]=en,ew[25]=ei,ew[26]=el):(ei=ew[25],el=ew[26]);let eC="static"===eS?eS:void 0,[eA,eL]=(0,i.useState)(),{bodyChildren:eI,headerChildren:eE,pageHeaderRef:eT,shouldSplitPageScroll:e$,wrapperRef:ez}=(n=R,a=ej,v=(0,r.c)(8),g=(0,i.useRef)(null),y=(b=a?i.Children.toArray(n):[]).some(F)&&b.some(H),x=(o=g,s=y,d=(0,r.c)(5),p=(0,i.useRef)(null),d[0]!==o?(c=()=>{let e=p.current;if(!e)return;let t=0/0,r=()=>{let r=e.scrollLeft;t=r;let n=r>2,i=r+e.clientWidth{e.scrollLeft!==t&&r()});r(),e.addEventListener("scroll",n.schedule,{passive:!0});let i=new ResizeObserver(r);return i.observe(e),()=>{e.removeEventListener("scroll",n.schedule),i.disconnect(),n.cancel()}},d[0]=o,d[1]=c):c=d[1],d[2]!==o||d[3]!==s?(u=[o,s],d[2]=o,d[3]=s,d[4]=u):u=d[4],(0,i.useLayoutEffect)(c,u),p),v[0]!==y||v[1]!==x?(h=[y,x],v[0]=y,v[1]=x,v[2]=h):h=v[2],(0,i.useEffect)(()=>{let e=x.current,t=g.current;if(!y||!e||!t)return;let r=0,n=()=>{let n=e.scrollLeft;t.scrollLeft=n;let i=n-t.scrollLeft;if(i!==r){r=i;let e=t.querySelector("table");e?.style.setProperty("transform",0===i?"":`translateX(${-i}px)`)}},i=D(n);return i.schedule(),e.addEventListener("scroll",i.schedule,{passive:!0}),e.addEventListener("scrollend",n,{passive:!0}),()=>{e.removeEventListener("scroll",i.schedule),e.removeEventListener("scrollend",n),i.cancel()}},h),k=y?b.filter(M):n,S=b.filter(P),v[3]!==y||v[4]!==k||v[5]!==S||v[6]!==x?(m={bodyChildren:k,headerChildren:S,pageHeaderRef:g,shouldSplitPageScroll:y,wrapperRef:x},v[3]=y,v[4]=k,v[5]=S,v[6]=x,v[7]=m):m=v[7],m),eP=(0,i.useRef)(null);if(ew[27]!==R){let e=i.Children.toArray(R).find(H);ea=void 0===e?0:i.Children.count(e.props.children),ew[27]=R,ew[28]=ea}else ea=ew[28];let eM=ea,eF=eR&&e$;ew[29]!==eM?(eo=Array.from({length:eM},T),ew[29]=eM,ew[30]=eo):eo=ew[30];let eH=eo,eD=eF?"tbody > tr":void 0,eq=!eF,eU=eF?String(eM):"disabled";ew[31]!==eU?(es=[eU],ew[31]=eU,ew[32]=es):es=ew[32];let eW=eF&&eN;ew[33]!==eH||ew[34]!==eF||ew[35]!==eD||ew[36]!==eq||ew[37]!==es||ew[38]!==eW?(ec={enabled:eF,tableRef:eP,rowSelector:eD,columnKeys:eH,observeContent:eF,persistCache:eq,signatureParts:es,hasRows:eW,scope:"table-intrinsic-columns"},ew[33]=eH,ew[34]=eF,ew[35]=eD,ew[36]=eq,ew[37]=es,ew[38]=eW,ew[39]=ec):ec=ew[39];let eO=w(ec),eV=(0,i.useRef)(null),eB=(0,i.useRef)(0);ew[40]!==eF||ew[41]!==eO||ew[42]!==eT||ew[43]!==ez?(eu=()=>{if(!eF||null===eO){eV.current=null,eB.current=0;return}let e=eO.map(E);eV.current=e,eB.current=0;let t=e=>{let t=ez.current?.querySelectorAll("colgroup > col")??[],r=eT.current?.querySelectorAll("colgroup > col")??[];e.forEach((e,n)=>{t[n]?.style.setProperty("width",`${e}px`),r[n]?.style.setProperty("width",`${e}px`)})};t(e);let r=()=>{if(eB.current>=2)return;let e=ez.current?.querySelector(".or-table-page-scroll__table"),r=eT.current?.querySelector("table"),n=e?.querySelectorAll("tbody > tr:first-child > td, tbody > tr:first-child > th"),i=r?.querySelectorAll("thead > tr:first-child > th"),l=eV.current;if(!e||!r||!n||!i||null===l||n.length!==l.length||i.length!==l.length)return;let a=function({appliedWidths:e,bodyWidths:t,headerWidths:r}){if(e.length!==r.length||e.length!==t.length)return null;let n=e.map((e,n)=>{let i=Math.max(r[n],t[n]);return i>e+.5?i:e});return n.some((t,r)=>t!==e[r])?n:null}({appliedWidths:l,bodyWidths:Array.from(n,I),headerWidths:Array.from(i,L)});null!==a&&(t(a),eV.current=a,eB.current=eB.current+1)};r();let n=D(r),i=ez.current?.querySelector(".or-table-page-scroll__table");if(!i||"u"{l.disconnect(),n.cancel()}},ed=[eF,eO,eT,ez],ew[40]=eF,ew[41]=eO,ew[42]=eT,ew[43]=ez,ew[44]=eu,ew[45]=ed):(eu=ew[44],ed=ew[45]),(0,i.useLayoutEffect)(eu,ed);let eK=(0,i.useRef)(null),eY=(0,i.useRef)(null),eG=e$&&"sticky"===eS;ew[46]!==eG?(ef={frameRef:eK,sentinelRef:eY,enabled:eG},ew[46]=eG,ew[47]=ef):ef=ew[47],function(e){let t,n,l=(0,r.c)(5),{frameRef:a,sentinelRef:o,enabled:s}=e;l[0]!==s||l[1]!==a||l[2]!==o?(t=()=>{let e,t,r;if(!s||"u"{let a,o=Number.isFinite(a=Number.parseFloat(getComputedStyle(l).top))?a:0,s=n.querySelector(".or-table-page-scroll__scroll-header")?.offsetHeight??0,u=Math.max(1,i.offsetHeight),d=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}(n),f=`${o}:${s}:${u}`;f===t&&d===r&&e||(e?.disconnect(),t=f,r=d,(e=new IntersectionObserver(e=>{let[t]=e;t&&(t.isIntersecting?delete n.dataset.tableHeaderStuck:n.dataset.tableHeaderStuck="true",c())},{root:d,rootMargin:`${-(o-s+u)}px 0px 0px 0px`})).observe(i))};c();let u=new ResizeObserver(c);return u.observe(l),u.observe(n),window.addEventListener("resize",c,{passive:!0}),()=>{e?.disconnect(),u.disconnect(),window.removeEventListener("resize",c),delete n.dataset.tableHeaderStuck}},n=[s,a,o],l[0]=s,l[1]=a,l[2]=o,l[3]=t,l[4]=n):(t=l[3],n=l[4]),(0,i.useLayoutEffect)(t,n)}(ef);let{pinScopeId:eZ,pinningCss:eX}=function(e,t){let n,l,a,o,s,c,u=(0,r.c)(17),d=(0,i.useId)();u[0]!==t?(n=void 0===t?[]:function({columnIds:e,pinnedIds:t}){let r=new Set(t);return e.flatMap((e,t)=>r.has(e)?[t+1]:[])}(t),u[0]=t,u[1]=n):n=u[1];let f=n;u[2]!==f?(l=f.join(","),u[2]=f,u[3]=l):l=u[3];let p=l;u[4]!==f||u[5]!==d?(a=function(e,t){if(0===t.length)return"";let r=`[data-or-pin-scope="${e}"]:not([data-or-pin-disabled='true'])`,n=e=>`.or-table__row > :nth-child(${e} of td, th, [role='cell']):not([colspan]):not([data-colspan])`,i=[];for(let e of t)i.push(`${r} ${n(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 ${n(e)}, ${r} .or-table-page-scroll__header ${n(e)} { z-index: calc(var(--z-index-sticky, 49) + 1); }`,`${r}[data-table-header-pinning='static'] .or-table-page-scroll__header ${n(e)}, ${r}[data-table-header-pinning='static'] .or-table__header--sticky ${n(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 l=t.at(-1);return void 0!==l&&i.push(`${r} ${n(l)} { border-right: 1px solid hsl(var(--border)); }`),i.join("\n")}(d,f),u[4]=f,u[5]=d,u[6]=a):a=u[6];let h=a;if(u[7]!==f||u[8]!==e?(o=()=>{let t=e.current;if(!t||0===f.length)return;let r=t.classList.contains("or-table-wrapper")?t:t.querySelector(":scope > .or-table-wrapper"),n=function({scope:e,wrapper:t,measure:r}){let n=new ResizeObserver(r),i=()=>{for(let r of(n.disconnect(),t&&n.observe(t),e.querySelectorAll(".or-table__header-cell")))n.observe(r);r()};i();let l=new MutationObserver(i);return l.observe(e,{childList:!0}),()=>{n.disconnect(),l.disconnect()}}({scope:t,wrapper:r,measure:()=>(function({scope:e,wrapper:t,nthPositions:r}){let n=e.querySelectorAll(".or-table__header-cell");if(0===n.length)return;let i=e.querySelector("colgroup")?.children,l=e=>{let t=i?.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 n[e]?.getBoundingClientRect().width??0},a=0,o=0;for(let t of r)e.style.setProperty(`--or-pin-left-${t}`,`${a}px`),a+=l(t-1),o+=n[t-1]?.getBoundingClientRect().width??0;let s=t?.clientWidth??0;if(s>0&&s-o<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:f})});return()=>{for(let e of(n(),f))t.style.removeProperty(`--or-pin-left-${e}`);delete t.dataset.orPinDisabled,r&&delete r.dataset.tableHasStickyStart}},u[7]=f,u[8]=e,u[9]=o):o=u[9],u[10]!==p||u[11]!==e?(s=[e,p],u[10]=p,u[11]=e,u[12]=s):s=u[12],(0,i.useLayoutEffect)(o,s),0===f.length){let e;return u[13]===Symbol.for("react.memo_cache_sentinel")?(e={pinScopeId:void 0,pinningCss:""},u[13]=e):e=u[13],e}return u[14]!==h||u[15]!==d?(c={pinScopeId:d,pinningCss:h},u[14]=h,u[15]=d,u[16]=c):c=u[16],c}(ej?eK:ez,_);ew[48]!==eX?(ep=eX?(0,t.jsx)("style",{children:eX}):null,ew[48]=eX,ew[49]=ep):ep=ew[49];let eQ=ep,eJ=e$&&"or-table-page-scroll__table",e0=ex&&"or-table--compact",e1=void 0!==z&&A[z],e2=eR&&"or-table--intrinsic-columns",e5=null!==eO&&"or-table--intrinsic-columns-measured",e4="first"===W&&"or-table--intrinsic-columns-flex-first",e6="second"===W&&"or-table--intrinsic-columns-flex-second";ew[50]!==N||ew[51]!==eJ||ew[52]!==e0||ew[53]!==e1||ew[54]!==e2||ew[55]!==e5||ew[56]!==e4||ew[57]!==e6?(eh=(0,l.f)("or-table",eJ,e0,e1,e2,e5,e4,e6,N),ew[50]=N,ew[51]=eJ,ew[52]=e0,ew[53]=e1,ew[54]=e2,ew[55]=e5,ew[56]=e4,ew[57]=e6,ew[58]=eh):eh=ew[58];let e3=eh;ew[59]!==K?(em=e=>{eP.current=e,"function"==typeof K?K(e):K&&(K.current=e)},ew[59]=K,ew[60]=em):em=ew[60],ew[61]!==eI||ew[62]!==B||ew[63]!==em||ew[64]!==e3?(ev=(0,t.jsx)("table",{ref:em,className:e3,...B,children:eI}),ew[61]=eI,ew[62]=B,ew[63]=em,ew[64]=e3,ew[65]=ev):ev=ew[65];let e7=ev;ew[66]!==eA||ew[67]!==O||ew[68]!==G?(eg={activeSort:eA,setActiveSort:eL,controlledSort:G,onSortChange:O},ew[66]=eA,ew[67]=O,ew[68]=G,ew[69]=eg):eg=ew[69];let e8=eg;return ew[70]!==C||ew[71]!==ei||ew[72]!==U||ew[73]!==ek||ew[74]!==eE||ew[75]!==eC||ew[76]!==e_||ew[77]!==V||ew[78]!==eT||ew[79]!==ej||ew[80]!==eZ||ew[81]!==eQ||ew[82]!==el||ew[83]!==Y||ew[84]!==e$||ew[85]!==e3||ew[86]!==e7||ew[87]!==ez?(eb=ej?(0,t.jsxs)("div",{ref:eK,...el,className:(0,l.f)("or-table-page-scroll",void 0!==V&&f[V],C,ei),"data-table-header-pinning":eC,"data-or-pin-scope":eZ,children:[Y&&(0,t.jsx)("div",{className:"or-table-page-scroll__scroll-header",children:Y}),e$&&(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:eT,className:"or-table-page-scroll__header",children:(0,t.jsx)("table",{className:e3,"data-table-has-sticky-header":"true",children:eE})})]}),(0,t.jsxs)("div",{ref:ez,className:"or-table-wrapper or-table-wrapper--page-scroll","data-table-has-sticky-header":"true",children:[e7,U&&(0,t.jsx)("div",{className:"or-table__scroll-footer",children:U})]}),e$&&(0,t.jsx)("div",{ref:eY,"aria-hidden":"true",className:"or-table-page-scroll__stuck-sentinel"}),eQ]}):(0,t.jsxs)("div",{...el,ref:ez,className:(0,l.f)("or-table-wrapper",ek&&"or-table-wrapper--framed","visible"===e_&&"or-table-wrapper--overflow-visible",void 0!==V&&f[V],C,ei),"data-table-header-pinning":eC,"data-or-pin-scope":eZ,children:[Y&&(0,t.jsx)("div",{className:"or-table__scroll-header",children:Y}),e7,U&&(0,t.jsx)("div",{className:"or-table__scroll-footer",children:U}),eQ]}),ew[70]=C,ew[71]=ei,ew[72]=U,ew[73]=ek,ew[74]=eE,ew[75]=eC,ew[76]=e_,ew[77]=V,ew[78]=eT,ew[79]=ej,ew[80]=eZ,ew[81]=eQ,ew[82]=el,ew[83]=Y,ew[84]=e$,ew[85]=e3,ew[86]=e7,ew[87]=ez,ew[88]=eb):eb=ew[88],ew[89]!==e8||ew[90]!==eb?(ey=(0,t.jsx)(j.Provider,{value:e8,children:eb}),ew[89]=e8,ew[90]=eb,ew[91]=ey):ey=ew[91],ey},"TableBody",0,function(e){let n,i,a,o,s,c=(0,r.c)(10);return c[0]!==e?({className:n,ref:a,...i}=e,c[0]=e,c[1]=n,c[2]=i,c[3]=a):(n=c[1],i=c[2],a=c[3]),c[4]!==n?(o=(0,l.f)("or-table__body",n),c[4]=n,c[5]=o):o=c[5],c[6]!==i||c[7]!==a||c[8]!==o?(s=(0,t.jsx)("tbody",{ref:a,className:o,...i}),c[6]=i,c[7]=a,c[8]=o,c[9]=s):s=c[9],s},"TableCaption",0,function(e){let n,i,a,o,s,c=(0,r.c)(10);return c[0]!==e?({className:n,ref:a,...i}=e,c[0]=e,c[1]=n,c[2]=i,c[3]=a):(n=c[1],i=c[2],a=c[3]),c[4]!==n?(o=(0,l.f)("or-table__caption",n),c[4]=n,c[5]=o):o=c[5],c[6]!==i||c[7]!==a||c[8]!==o?(s=(0,t.jsx)("caption",{ref:a,className:o,...i}),c[6]=i,c[7]=a,c[8]=o,c[9]=s):s=c[9],s},"TableCell",0,function(e){let n,s,d,f,h,m,v,g,b,y,w,x,k,S=(0,r.c)(27);S[0]!==e?({className:n,divider:m,mono:v,overflow:s,ref:f,size:h,stickyEnd:g,strong:b,...d}=e,S[0]=e,S[1]=n,S[2]=s,S[3]=d,S[4]=f,S[5]=h,S[6]=m,S[7]=v,S[8]=g,S[9]=b):(n=S[1],s=S[2],d=S[3],f=S[4],h=S[5],m=S[6],v=S[7],g=S[8],b=S[9]);let R=void 0!==m&&m,N=void 0!==v&&v,_=void 0!==g&&g,j=void 0!==b&&b,C=(0,i.useRef)(null);S[10]!==n||S[11]!==_?(y={elementRef:C,className:n,stickyEnd:_},S[10]=n,S[11]=_,S[12]=y):y=S[12],o(y),S[13]!==f?(w=e=>{C.current=e,"function"==typeof f?f(e):f&&(f.current=e)},S[13]=f,S[14]=w):w=S[14];let A=N&&"font-mono",L=j&&"font-medium",I=void 0!==h&&c[h],E=void 0!==s&&u[s],T=R&&p,$=_&&a;return S[15]!==n||S[16]!==E||S[17]!==T||S[18]!==$||S[19]!==A||S[20]!==L||S[21]!==I?(x=(0,l.f)("or-table__cell",A,L,I,E,T,$,n),S[15]=n,S[16]=E,S[17]=T,S[18]=$,S[19]=A,S[20]=L,S[21]=I,S[22]=x):x=S[22],S[23]!==d||S[24]!==x||S[25]!==w?(k=(0,t.jsx)("td",{ref:w,className:x,...d}),S[23]=d,S[24]=x,S[25]=w,S[26]=k):k=S[26],k},"TableHead",0,function(e){let{children:r,className:s,colSpan:c,scope:u=void 0!==c&&c>1?"colgroup":"col",sortKey:d,onClearSort:f,onSortAscending:v,onSortDescending:g,sortFirstDirection:b="ascending",sortDirection:y,divider:w=!1,stickyEnd:x=!1,tooltip:k,sortAccessory:S,ref:R,...A}=e,L=(0,i.useRef)(null);o({elementRef:L,className:s,stickyEnd:x});let I=(0,i.useId)(),E=(0,i.useContext)(j),T=E?.onSortChange,$=void 0!==d&&void 0!==T,P=$||void 0!==v||void 0!==g,M=function({contextSortDirection:e,controlledSort:t,controlledSortDirection:r,isKeyed:i,isSortControlled:l,sortKey:a}){return i?(0,n.f)(t)&&t.key===a?N[t.direction]:void 0:l?r:e}({contextSortDirection:E?.activeSort?.id===I?E.activeSort.direction:void 0,controlledSort:E?.controlledSort,controlledSortDirection:y,isKeyed:$,isSortControlled:"sortDirection"in e,sortKey:d}),F=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:n}){let i=("descending"===e?r:t)?e:"descending"===e?"ascending":"descending",l="ascending"===i?"descending":"ascending";return void 0===n?i:n===i&&("descending"===l?r:t)?l:void 0}({firstDirection:b,hasAscendingSort:$||void 0!==v,hasDescendingSort:$||void 0!==g,sortDirection:M});$?T(void 0===t?null:{key:d,direction:"ascending"===t?"asc":"desc"}):"ascending"===t?z({handler:v,sortContext:E,sortDirection:t,sortId:I}):"descending"===t?z({handler:g,sortContext:E,sortDirection:t,sortId:I}):(e=E,e?.setActiveSort(void 0),f?.())},children:[(0,t.jsx)("span",{className:(0,l.f)("min-w-0",k&&C),children:r}),(0,t.jsx)(h.z,{direction:void 0!==M&&_[M],firstDirection:_[b]})]}):r,H=k?(0,t.jsx)(m.Tooltip,{content:k,children:P?F:(0,t.jsx)(m.TooltipNonInteractiveTrigger,{className:(0,l.f)("inline-flex",C,"cursor-help"),children:F})}):F;return(0,t.jsxs)("th",{ref:e=>{L.current=e,"function"==typeof R?R(e):R&&(R.current=e)},className:(0,l.f)("or-table__header-cell text-left",w&&p,x&&a,s),colSpan:c,scope:u,"aria-sort":P?M??"none":void 0,...A,children:[H,P?S:null]})},"TableHeader",0,$,"TableRow",0,function(e){let n,i,a,o,c,u,d,f,p,h=(0,r.c)(18);h[0]!==e?({className:n,disabled:o,interactive:c,ref:a,selected:u,tone:d,...i}=e,h[0]=e,h[1]=n,h[2]=i,h[3]=a,h[4]=o,h[5]=c,h[6]=u,h[7]=d):(n=h[1],i=h[2],a=h[3],o=h[4],c=h[5],u=h[6],d=h[7]);let m=void 0!==o&&o,v=void 0!==u&&u,g=!(void 0===c||c)&&"or-table__row--static",b=void 0!==d&&s[d],y=m&&"opacity-50";h[8]!==n||h[9]!==g||h[10]!==b||h[11]!==y?(f=(0,l.f)("or-table__row",g,b,y,n),h[8]=n,h[9]=g,h[10]=b,h[11]=y,h[12]=f):f=h[12];let w=v?"selected":void 0;return h[13]!==i||h[14]!==a||h[15]!==f||h[16]!==w?(p=(0,t.jsx)("tr",{ref:a,className:f,"data-state":w,...i}),h[13]=i,h[14]=a,h[15]=f,h[16]=w,h[17]=p):p=h[17],p},"TableRowHead",0,function(e){let n,s,c,u,d,f,p,h,m,v=(0,r.c)(19);v[0]!==e?({className:n,muted:u,ref:c,stickyEnd:d,...s}=e,v[0]=e,v[1]=n,v[2]=s,v[3]=c,v[4]=u,v[5]=d):(n=v[1],s=v[2],c=v[3],u=v[4],d=v[5]);let g=void 0!==u&&u,b=void 0!==d&&d,y=(0,i.useRef)(null);v[6]!==n||v[7]!==b?(f={elementRef:y,className:n,stickyEnd:b},v[6]=n,v[7]=b,v[8]=f):f=v[8],o(f),v[9]!==c?(p=e=>{y.current=e,"function"==typeof c?c(e):c&&(c.current=e)},v[9]=c,v[10]=p):p=v[10];let w=g&&"or-table__row-head--muted",x=b&&a;return v[11]!==n||v[12]!==w||v[13]!==x?(h=(0,l.f)("or-table__cell or-table__row-head text-left",w,x,n),v[11]=n,v[12]=w,v[13]=x,v[14]=h):h=v[14],v[15]!==s||v[16]!==p||v[17]!==h?(m=(0,t.jsx)("th",{ref:p,className:h,...s,scope:"row"}),v[15]=s,v[16]=p,v[17]=h,v[18]=m):m=v[18],m},"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),n=e.i(207298),i=e.i(61885),l=e.i(773151),a=e.i(136562),o=e.i(609623),s=e.i(261499);(0,n.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,n.f)((0,a.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 c=28/24;e.s(["z",0,function(e){let n,u,d,f,p,h=(0,r.c)(10),{direction:m,firstDirection:v}=e,g=!1!==m;h[0]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)(l.f,{"aria-hidden":"true",className:(0,a.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")}),h[0]=n):n=h[0];let b=!1===m&&"delay-(--duration-fast) motion-reduce:transition-transform motion-reduce:duration-0",y="asc"===(!1===m?void 0===v?"asc":v:m)&&"-scale-y-100";return h[1]!==b||h[2]!==y?(u=(0,a.f)("flex",s.a,b,y),h[1]=b,h[2]=y,h[3]=u):u=h[3],h[4]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)(i.f,{"aria-hidden":"true",className:"or-table__sort-icon",strokeWidth:c}),h[4]=d):d=h[4],h[5]!==u?(f=(0,t.jsx)("span",{className:u,children:d}),h[5]=u,h[6]=f):f=h[6],h[7]!==g||h[8]!==f?(p=(0,t.jsx)(o.f,{active:g,from:n,to:f}),h[7]=g,h[8]=f,h[9]=p):p=h[9],p},"w",0,function(e,t="asc"){return!1===e?t:e===t&&("asc"===t?"desc":"asc")}])},771743,e=>{"use strict";var t,r=e.i(659350),n=e.i(663456),i=e.i(16043),l=e.i(389475),a=e.i(533124),o=e.i(815922),s=e.i(93836),c=e.i(700788),u=e.i(107397);let d=i.createContext(void 0);function f(){let e=i.useContext(d);if(void 0===e)throw Error((0,u.f)(64));return e}let p={tabActivationDirection:e=>({"data-activation-direction":e})};var h=e.i(132887),m=e.i(24220),m=m,v=m,g=e.i(907621);let b=i.forwardRef(function(e,t){let{className:n,defaultValue:u=0,onValueChange:f,orientation:b="horizontal",render:x,value:k,style:S,...R}=e,N=void 0!==e.defaultValue,_=i.useRef([]),[j,C]=i.useState(()=>new Map),[A,L]=(0,l.f)({controlled:k,default:u,name:"Tabs",state:"value"}),I=void 0!==k,[E,T]=i.useState(()=>new Map),$=i.useRef(void 0),z=i.useCallback(e=>y(E,e),[E]),[P,M]=i.useState(()=>({previousValue:A,tabActivationDirection:"none"})),{previousValue:F,tabActivationDirection:H}=P,D=H,q=!1;F!==A&&(D=w(F,A,b,E),q=null!=F&&null!=A&&null==z(A));let U=q?F:A,W=F!==U||H!==D;(0,a.f)(()=>{W&&M({previousValue:U,tabActivationDirection:D})},[U,W,D]);let O=(0,o.f)((e,t)=>{t.activationDirection=w(A,e,b,E),f?.(e,t),t.isCanceled||L(()=>e)}),V=(0,o.f)((e,t)=>{f?.(e,(0,h.j)(t,void 0,void 0,{activationDirection:"none"}))}),B=(0,o.f)((e,t)=>(C(r=>{let n=new Map(r);return n.set(e,t),n}),()=>{C(r=>{if(r.get(e)!==t)return r;let n=new Map(r);return n.delete(e),n})})),K=i.useCallback(e=>j.get(e),[j]),Y=i.useCallback(e=>{for(let t of E.values())if(e===t.value)return t.id},[E]),G=i.useMemo(()=>({getTabElementBySelectedValue:z,getTabIdByPanelValue:Y,getTabPanelIdByValue:K,onValueChange:O,orientation:b,registerMountedTabPanel:B,setTabMap:T,tabActivationDirection:D,value:A}),[z,Y,K,O,b,B,T,D,A]),Z=i.useMemo(()=>{for(let e of E.values())if(e.value===A)return e},[E,A]),X=i.useMemo(()=>{for(let e of E.values())if(!e.disabled)return e.value},[E]),Q=i.useRef(!N),J=i.useRef(u),ee=i.useRef(N),et=i.useRef(!1);(0,a.f)(()=>{if(I)return;function e(e,t){L(()=>e),M({previousValue:e,tabActivationDirection:"none"}),V(e,t),Q.current=!1}if(0===E.size){et.current&&null!==A&&!$.current?.isConnected&&e(null,v.missing);return}et.current=!0,$.current=E.keys().next().value;let t=Z?.disabled,r=null==Z&&null!==A;if(t||A!==J.current||(ee.current=!1),ee.current&&t&&A===J.current)return;let n=Q.current;if(t||r){let r=X??null;if(A===r){Q.current=!1;return}let i=v.missing;n?i=m.initial:t&&(i=g.f.disabled),e(r,i);return}n&&null!=Z&&(V(A,m.initial),Q.current=!1)},[X,I,V,Z,L,E,A]);let er={orientation:b,tabActivationDirection:D},en=(0,s.a)("div",e,{state:er,ref:t,props:R,stateAttributesMapping:p});return(0,r.jsx)(d.Provider,{value:G,children:(0,r.jsx)(c.f,{elementsRef:_,children:en})})});function y(e,t){for(let[r,n]of e.entries())if(t===n.value)return r;return null}function w(e,t,r,n){if(null==e||null==t)return"none";let[i,l,a]="horizontal"===r?["left","left","right"]:["top","up","down"],o=y(n,e),s=y(n,t);if(null==o||null==s)return o!==s&&("number"==typeof e||"string"==typeof e)&&typeof e==typeof t?t>e?a:l:"none";let c=o.getBoundingClientRect()[i],u=s.getBoundingClientRect()[i];return uc?a:"none"}var x=e.i(997932),k=e.i(811673),S=e.i(225421),R=e.i(509208),N=e.i(5573),_=e.i(57140);let j=i.createContext(void 0);function C(){let e=i.useContext(j);if(void 0===e)throw Error((0,u.f)(65));return e}var A=e.i(111407),L=e.i(393298);let I=i.forwardRef(function(e,t){let{className:r,disabled:n=!1,render:l,value:c,id:u,nativeButton:d=!0,style:m,...v}=e,{value:g,getTabPanelIdByValue:b,onValueChange:y,orientation:w,tabActivationDirection:j}=f(),{activateOnFocus:I,registerTabResizeObserverElement:E,tabsListElement:T}=C(),{highlightedIndex:$,onHighlightedIndexChange:z}=(0,_.o)(),P=(0,k.f)(u),M=i.useMemo(()=>({disabled:n,id:P,value:c}),[n,P,c]),{compositeProps:F,compositeRef:H,index:D}=(0,N.f)({metadata:M}),q=c===g,U=i.useRef(!1),W=i.useRef(null),O=(0,o.f)(e=>{W.current?.(),W.current=e?E(e):null});(0,a.f)(()=>{if(U.current){U.current=!1;return}if(q&&D>-1&&$!==D){if(null!=T){let e=(0,L.T)((0,x.f)(T));if(e&&(0,L.I)(T,e))return}n||z(D)}},[q,D,$,z,n,T]);let{getButtonProps:V,buttonRef:B}=(0,S.f)({disabled:n,native:d,focusableWhenDisabled:!0}),K=b(c),Y=i.useRef(!1),G=i.useRef(!1);function Z(e){y(c,(0,h.j)(A.f.none,e.nativeEvent,void 0,{activationDirection:"none"}))}return(0,s.a)("button",e,{state:{disabled:n,active:q,orientation:w,tabActivationDirection:j},ref:[t,B,H,O],props:[F,{role:"tab","aria-controls":K,"aria-selected":q,id:P,onClick:function(e){q||n||Z(e)},onFocus:function(e){q||n||I&&(!Y.current||G.current)&&Z(e)},onPointerDown:function(e){if(q||n)return;Y.current=!0,G.current=0===e.button;let t=(0,x.f)(e.currentTarget);function r(){Y.current=!1,G.current=!1,t.removeEventListener("pointerup",r),t.removeEventListener("pointercancel",r)}t.addEventListener("pointerup",r),t.addEventListener("pointercancel",r)},[R.f]:q?"":void 0,onKeyDownCapture(){U.current=!0}},v,V],stateAttributesMapping:p})});var E=e.i(807257),T=e.i(445036),$=e.i(223732),z=e.i(150649),P=e.i(856465),M=e.i(365041),F=e.i(726628);let H={...p,activeTabPosition:()=>null,activeTabSize:()=>null},D=i.forwardRef(function(e,n){let{className:l,render:a,renderBeforeHydration:o=!1,style:c,...u}=e,{getTabElementBySelectedValue:d,orientation:p,tabActivationDirection:h,value:m}=f(),{tabsListElement:v,registerIndicatorUpdateListener:g}=C(),b=(0,T.f)();i.useEffect(()=>g(b),[g,b]);let y=0,w=0,x=0,k=0,S=0,R=0,N=!1;if(null!=m&&null!=v){let e=d(m);if(null!=e){N=!0;let{width:t,height:r}=(0,M.f)(e),{width:n,height:i}=(0,M.f)(v),l=e.getBoundingClientRect(),a=v.getBoundingClientRect(),o=n>0?a.width/n:1,s=i>0?a.height/i:1,c=function(e,t){let r=q(e),n=q(t),i=r.left-n.left-t.clientLeft,l=r.top-n.top-t.clientTop,a=(0,E.J)(e);for(;(0,E.E)(a)&&a!==t&&!(0,E.Z)(a);)i-=a.scrollLeft,l-=a.scrollTop,a=(0,E.J)(a);return{left:i,top:l}}(e,v);y=c.left,x=c.top;let u=(l.left-a.left)/o+v.scrollLeft-v.clientLeft,d=(l.top-a.top)/s+v.scrollTop-v.clientTop,f=function(e){let t=(0,$.f)(e).getComputedStyle(e),{x:r,y:n}=(0,F.f)(e,t),i=r,l=n,{translate:a}=t;if(a&&"none"!==a){let t=a.split(" ");i+=U(t[0],e.offsetWidth),l+=U(t[1],e.offsetHeight)}return{x:i,y:l}}(e);2>=Math.abs(u-f.x-y)&&2>=Math.abs(d-f.y-x)&&(y=u,x=d),S=t,R=r,w=v.scrollWidth-y-S,k=v.scrollHeight-x-R}}let _=N?{left:y,right:w,top:x,bottom:k}:null,j=N?{width:S,height:R}:null,A=N?{"--active-tab-left":`${y}px`,"--active-tab-right":`${w}px`,"--active-tab-top":`${x}px`,"--active-tab-bottom":`${k}px`,"--active-tab-width":`${S}px`,"--active-tab-height":`${R}px`}:void 0,L=N&&S>0&&R>0,I=(0,s.a)("span",e,{state:{orientation:p,activeTabPosition:_,activeTabSize:j,tabActivationDirection:h},ref:n,props:[{role:"presentation",style:A,hidden:!L},u,{suppressHydrationWarning:!0}],stateAttributesMapping:H});return null==m?null:(0,r.jsxs)(i.Fragment,{children:[I,o&&(t||(t=(0,r.jsx)(P.f,{script:z.f})))]})});function q(e){let t=0,r=0,n=e;for(;null!=n;){t+=n.offsetLeft,r+=n.offsetTop;let e=n.offsetParent;null!=e&&(t+=e.clientLeft,r+=e.clientTop),n=e}return{left:t,top:r}}function U(e,t){if(!e)return 0;let r=parseFloat(e);return Number.isFinite(r)?e.endsWith("%")?r/100*t:r:0}var W=e.i(245966),O=e.i(240070),V=e.i(692933),B=e.i(288646),K=e.i(485997),Y=e.i(691739),G=e.i(773183);Y.f.startingStyle,G.f.endingStyle;let Z={...p,...O.f},X=i.forwardRef(function(e,t){let{className:r,value:n,render:l,keepMounted:o=!1,style:c,...u}=e,{value:d,getTabIdByPanelValue:p,orientation:h,tabActivationDirection:m,registerMountedTabPanel:v}=f(),g=(0,k.f)(),{ref:b,index:y}=(0,K.f)(),w=n===d,{mounted:x,transitionStatus:S,setMounted:R}=(0,B.f)(w),N=!x,_=p(n),j=i.useRef(null),C=(0,s.a)("div",e,{state:{hidden:N,orientation:h,tabActivationDirection:m,transitionStatus:S},ref:[t,b,j],props:[{"aria-labelledby":_,hidden:N,id:g,role:"tabpanel",tabIndex:w?0:-1,inert:(0,W.f)(!w),"data-index":y},u],stateAttributesMapping:Z});return((0,V.f)({open:w,ref:j,onComplete(){w||R(!1)}}),(0,a.f)(()=>{if(null!=g&&(!N||o))return v(n,g)},[N,o,n,g,v]),o||x)?C:null});var Q=e.i(115370),J=e.i(587135);let ee=i.forwardRef(function(e,t){let{activateOnFocus:n=!1,className:l,loopFocus:s=!0,render:c,style:u,...d}=e,{orientation:h,setTabMap:m,tabActivationDirection:v}=f(),[g,b]=i.useState(0),[y,w]=i.useState(null),x=i.useRef(new Set),k=i.useRef(new Set),S=i.useRef(null);(0,a.f)(()=>{if("u"{x.current.forEach(e=>{e()})});return S.current=e,y&&e.observe(y),k.current.forEach(t=>{e.observe(t)}),()=>{e.disconnect(),S.current=null}},[y]);let R=(0,o.f)(e=>(x.current.add(e),()=>{x.current.delete(e)})),N=(0,o.f)(e=>(k.current.add(e),S.current?.observe(e),()=>{k.current.delete(e),S.current?.unobserve(e)})),_=i.useMemo(()=>({activateOnFocus:n,registerIndicatorUpdateListener:R,registerTabResizeObserverElement:N,tabsListElement:y}),[n,R,N,y]);return(0,r.jsx)(j.Provider,{value:_,children:(0,r.jsx)(J.f,{render:c,className:l,style:u,state:{orientation:h,tabActivationDirection:v},refs:[t,w],props:[{"aria-orientation":"vertical"===h?"vertical":void 0,role:"tablist"},d],stateAttributesMapping:p,highlightedIndex:g,enableHomeAndEndKeys:!0,loopFocus:s,orientation:h,onHighlightedIndexChange:b,onMapChange:m,disabledIndices:Q.v})})});e.s(["Indicator",0,D,"List",0,ee,"Panel",0,X,"Root",0,b,"Tab",0,I],308864);var et=e.i(308864),et=et,er=et,en=et,ei=et,el=et,ea=e.i(207298),eo=e.i(136562);let es=(0,ea.f)("relative inline-flex items-center justify-center text-muted-foreground",{variants:{variant:{primary:"h-10 max-md:h-8 rounded-md border border-border bg-muted p-0.5",secondary:"border-b border-border bg-background"}},defaultVariants:{variant:"primary"}}),ec=(0,ea.f)((0,eo.f)("pointer-events-none absolute left-0 w-(--active-tab-width) translate-x-(--active-tab-left)","transition-[translate,width] duration-fast ease-in-out-strong motion-reduce:transition-none"),{variants:{variant:{primary:"top-(--active-tab-top) h-(--active-tab-height) rounded-sm bg-background shadow-sm",secondary:"bottom-0 h-0.5 bg-primary"}},defaultVariants:{variant:"primary"}}),eu=(0,ea.f)((0,eo.f)("inline-flex items-center justify-center whitespace-nowrap","text-xs font-medium cursor-pointer","ring-offset-background transition-colors duration-quick ease-smooth-out","focus-visible:outline-none focus-visible:border-focus-border focus-visible:shadow-focus","disabled:pointer-events-none disabled:opacity-50"),{variants:{variant:{primary:(0,eo.f)("relative w-full rounded-sm px-3 py-1.5 max-md:py-0.5","hover:text-accent-foreground","data-[active]:bg-background data-[active]:text-accent-foreground data-[active]:shadow-sm","[[data-tabs-indicator]:not([hidden])~&]:data-[active]:bg-transparent","[[data-tabs-indicator]:not([hidden])~&]:data-[active]:shadow-none"),secondary:(0,eo.f)("relative w-fit px-3 py-1.5","text-muted-foreground hover:text-foreground","after:pointer-events-none after:absolute after:inset-x-0 after:bottom-0 after:h-0.5","after:bg-transparent after:transition-colors after:duration-200","data-[active]:text-primary","data-[active]:after:bg-primary","[[data-tabs-indicator]:not([hidden])~&]:data-[active]:after:bg-transparent")},size:{default:"",sm:"gap-1.5 rounded-sm px-2.5 py-1 hover:text-accent-foreground"}},defaultVariants:{variant:"primary",size:"default"}}),ed=(0,i.createContext)("primary"),ef=(0,i.createContext)("default"),ep=(0,i.createContext)(!1);e.s(["i",0,function(e){let t,i,l,a,o,s=(0,n.c)(10);s[0]!==e?({variant:l,children:t,...i}=e,s[0]=e,s[1]=t,s[2]=i,s[3]=l):(t=s[1],i=s[2],l=s[3]);let c=void 0===l?"primary":l;return s[4]!==t||s[5]!==i?(a=(0,r.jsx)(et.Root,{...i,children:t}),s[4]=t,s[5]=i,s[6]=a):a=s[6],s[7]!==a||s[8]!==c?(o=(0,r.jsx)(ed,{value:c,children:a}),s[7]=a,s[8]=c,s[9]=o):o=s[9],o},"S",0,function(e){let t,i,l,a,o,s=(0,n.c)(10);return s[0]!==e?({className:t,ref:l,...i}=e,s[0]=e,s[1]=t,s[2]=i,s[3]=l):(t=s[1],i=s[2],l=s[3]),s[4]!==t?(a=(0,eo.f)("mt-2 ring-offset-background","focus-visible:outline-none focus-visible:border-focus-border focus-visible:shadow-focus",t),s[4]=t,s[5]=a):a=s[5],s[6]!==i||s[7]!==l||s[8]!==a?(o=(0,r.jsx)(el.Panel,{ref:l,className:a,...i}),s[6]=i,s[7]=l,s[8]=a,s[9]=o):o=s[9],o},"U",0,function(e){let t,l,a,o,s,c,u,d,f,p,h,m,v=(0,n.c)(27);v[0]!==e?({className:l,children:t,ref:o,size:s,shouldWrap:c,...a}=e,v[0]=e,v[1]=t,v[2]=l,v[3]=a,v[4]=o,v[5]=s,v[6]=c):(t=v[1],l=v[2],a=v[3],o=v[4],s=v[5],c=v[6]);let g=void 0===s?"default":s,b=void 0!==c&&c,y=(0,i.use)(ed);return v[7]!==l||v[8]!==b||v[9]!==y?(u=(0,eo.f)(es({variant:y}),b&&"h-auto max-md:h-auto flex-wrap",l),v[7]=l,v[8]=b,v[9]=y,v[10]=u):u=v[10],v[11]!==y?(d=(0,eo.f)(ec({variant:y})),v[11]=y,v[12]=d):d=v[12],v[13]!==d?(f=(0,r.jsx)(er.Indicator,{"data-tabs-indicator":"",className:d}),v[13]=d,v[14]=f):f=v[14],v[15]!==t||v[16]!==b?(p=(0,r.jsx)(ep,{value:b,children:t}),v[15]=t,v[16]=b,v[17]=p):p=v[17],v[18]!==g||v[19]!==p?(h=(0,r.jsx)(ef,{value:g,children:p}),v[18]=g,v[19]=p,v[20]=h):h=v[20],v[21]!==a||v[22]!==o||v[23]!==u||v[24]!==f||v[25]!==h?(m=(0,r.jsxs)(en.List,{ref:o,className:u,...a,children:[f,h]}),v[21]=a,v[22]=o,v[23]=u,v[24]=f,v[25]=h,v[26]=m):m=v[26],m},"k",0,function(e){let t,l,a,o,s,c=(0,n.c)(13);c[0]!==e?({className:t,ref:a,...l}=e,c[0]=e,c[1]=t,c[2]=l,c[3]=a):(t=c[1],l=c[2],a=c[3]);let u=(0,i.use)(ed),d=(0,i.use)(ef),f=(0,i.use)(ep);return c[4]!==t||c[5]!==f||c[6]!==d||c[7]!==u?(o=(0,eo.f)(eu({variant:u,size:d}),f&&"w-auto",t),c[4]=t,c[5]=f,c[6]=d,c[7]=u,c[8]=o):o=c[8],c[9]!==l||c[10]!==a||c[11]!==o?(s=(0,r.jsx)(ei.Tab,{ref:a,className:o,...l}),c[9]=l,c[10]=a,c[11]=o,c[12]=s):s=c[12],s}],771743)},512688,e=>{"use strict";var t=e.i(663456),r=e.i(16043),n=e.i(143253);e.s(["f",0,function(e){let i,l,a=(0,t.c)(3),o=(0,r.useRef)(e);return a[0]!==e?(i=()=>{o.current=e},l=[e],a[0]=e,a[1]=i,a[2]=l):(i=a[1],l=a[2]),(0,n.f)(i,l),o}])},301206,e=>{"use strict";e.s(["f",0,function(){return globalThis.window?.matchMedia?.("(pointer: coarse)").matches??!1}])},51365,e=>{"use strict";e.i(640216);let t=new Set(["ac","co","com","edu","go","gob","gov","ltd","me","ne","net","nom","or","org","plc","sch"]),r=(e,t=256)=>`https://t0.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=${e}&size=${t}`,n=new Set(["amazonaws.com","azurewebsites.net","cloudfront.net","firebaseapp.com","fly.dev","github.io","gitlab.io","herokuapp.com","ngrok.app","ngrok.io","netlify.app","onrender.com","pages.dev","run.app","vercel.app","web.app","workers.dev"]),i=/\.(png|jpe?g|ico|svg|webp|gif|bmp)$/i,l=r("https://huggingface.co/");e.s(["t",0,l,"g",0,e=>`/api/frontend/v1/apps/${e}/icon`,"e",0,r,"r",0,e=>`/images/icons/${e}`,"Z",0,e=>{let r=(e=>{let t=/^[a-z][a-z\d+\-.]*:\/\//iu.test(e)?e:`https://${e}`;try{return new URL(t).hostname.toLowerCase().replace(/\.$/u,"")}catch{return null}})(e);if(null===r)return null;let i=r.split(".").slice(1);if(i.length<2||2===i.length&&2===(i[1]??"").length&&t.has(i[0]??""))return null;let l=i.join(".");return[...n].some(e=>l===e||l.endsWith(`.${e}`))?null:`https://${l}`},"Q",0,e=>{try{return i.test(new URL(e).pathname)}catch{return!1}},"$",0,e=>{try{let t=new URL(e).hostname.toLowerCase().replace(/\.$/,"");return"openrouter.ai"===t||t.endsWith(".openrouter.ai")}catch{return!1}}],51365)},640216,e=>{"use strict";var t=e.i(914571),r=e.i(647204),n=e.i(30012);function i(e){let t=e.replaceAll(/^\[|\]$/g,""),r=s(t);if(r)return i(r);if(l(t)){let e=Number.parseInt(t.split(".")[0]??"",10);return 0===e||127===e}let n=a(t);if(n)return n.slice(0,15).every(e=>0===e)&&(0===n[15]||1===n[15]);let o=c(t);return"localhost"===o||o.endsWith(".localhost")||o.includes(":")}function l(e){let t=e.split(".");return 4===t.length&&t.every(e=>/^\d{1,3}$/.test(e)&&Number(e)>=0&&255>=Number(e))}function a(e){let t=e.replaceAll(/^\[|\]$/g,"").toLowerCase(),r=t.indexOf("%");if(-1!==r){if(0===r||r===t.length-1)return null;t=t.slice(0,r)}if(!t.includes(":"))return null;if(t.includes(".")){let e=t.lastIndexOf(":");if(-1===e)return null;let r=t.slice(e+1);if(!l(r))return null;let n=r.split(".").map(Number),i=(n[0]??0)<<8|(n[1]??0),a=(n[2]??0)<<8|(n[3]??0);t=`${t.slice(0,e+1)}${i.toString(16)}:${a.toString(16)}`}let n=t.indexOf("::");if(n!==t.lastIndexOf("::"))return null;let i=-1!==n?function(e,t){let r=e.slice(0,t),n=e.slice(t+2),i=""===r?[]:r.split(":"),l=""===n?[]:n.split(":");if(i.some(e=>""===e)||l.some(e=>""===e))return null;let a=8-i.length-l.length;return a<1?null:[...i,...Array.from({length:a},()=>"0"),...l]}(t,n):t.split(":");return null===i||8!==i.length||i.some(e=>!/^[0-9a-f]{1,4}$/.test(e))?null:i.flatMap(e=>{let t=Number.parseInt(e,16);return[t>>8&255,255&t]})}function o(e){return 254===e[0]&&((e[1]??0)&192)==128}function s(e){let t=a(e);if(null===t)return null;let r=t.slice(0,10).every(e=>0===e)&&255===t[10]&&255===t[11],n=t.slice(0,12).every(e=>0===e),i=t.slice(0,15).every(e=>0===e)&&(0===t[15]||1===t[15]);return!r&&!n||n&&i?null:`${t[12]}.${t[13]}.${t[14]}.${t[15]}`}function c(e){let t=e.toLowerCase(),r=t.length;for(;r>0&&"."===t[r-1];)r-=1;return t.slice(0,r)}t.n,e.s(["b",0,function(e,t){return"https:"===e.protocol||"http:"===e.protocol&&t&&i(e.hostname)},"i",0,function(e){let t=c(e);return"cfargotunnel.com"===t||t.endsWith(".cfargotunnel.com")},"y",0,i,"r",0,function(e){let t=c(e);return"openrouter.ai"===t||t.endsWith(".openrouter.ai")},"E",0,function(e,t={}){let u,d,f,p;try{u=new URL(e)}catch{return(0,r.Y)("Invalid URL format")}let h=u.hostname.toLowerCase(),m=u.protocol,v=(0,n.T)()&&!0;if(i(h)&&v)return"http:"!==m&&"https:"!==m?(0,r.Y)("Only HTTP and HTTPS protocols are allowed"):(0,r.N)(!0);if(i(h))return(0,r.Y)("Localhost URLs are not allowed");if(function e(t){let r=s(t.replaceAll(/^\[|\]$/g,""));if(r)return e(r)||i(r);if(l(t)){let e=t.split(".").map(Number);if(4!==e.length||e.some(e=>Number.isNaN(e)))return!1;let[r,n]=e;return void 0!==r&&void 0!==n&&(10===r||172===r&&n>=16&&n<=31||192===r&&168===n||100===r&&n>=64&&n<=127||169===r&&254===n)}if(null!==a(t)){let e=a(t);return null!==e&&(((e[0]??0)&254)==252||o(e))}return!1}(h))return(0,r.Y)("Private IP addresses are not allowed");if(function(e){if(l(e)){let t=e.split(".").map(Number);if(4===t.length&&169===t[0]&&254===t[1])return!0}if(null!==a(e)){let t=a(e);return null!==t&&o(t)}return!1}(h)||"metadata.google.internal"===(d=c(h))||d.endsWith(".metadata.google.internal")||(f=c(h)).endsWith(".svc")||f.endsWith(".svc.cluster.local")||f.endsWith(".cluster.local")||(p=c(h)).endsWith(".internal")||p.endsWith(".local"))return(0,r.Y)("Unsupported URL, public internet addresses only");if(!v&&"https:"!==m){if(!t.allowHttp)return(0,r.Y)("Only HTTPS URLs are allowed");if("http:"!==m)return(0,r.Y)("Only HTTP and HTTPS protocols are allowed")}return v&&"http:"!==m&&"https:"!==m?(0,r.Y)("Only HTTP and HTTPS protocols are allowed in dev"):(0,r.N)(!0)}],640216)}]); //# sourceMappingURL=0i5fr8ddd5gfo.js.map