(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=()=>()=>{},a=()=>!0,o=()=>!1,s=(0,n.f)(18)?function(){return(0,r.useSyncExternalStore)(i,a,o)}:function(){let[e,r]=t.useState(!1);return t.useEffect(()=>{r(!0)},[]),e};function l(){return!s()}e.s(["f",0,l],668641);var c=e.i(365235),d=e.i(659350);e.s(["f",0,function(e){let{script:t}=e,{nonce:r}=(0,c.f)();return l()?(0,d.jsx)("script",{nonce:r,dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0}):null}],856465)},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])},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)},693502,e=>{"use strict";var t=e.i(651681);let r={name:"wallet-cards",size:24,node:[["path",{d:"M3 11h3.75a2 2 0 0 1 1.6.8l.45.6a4 4 0 0 0 6.4 0l.45-.6a2 2 0 0 1 1.6-.8H21",key:"1vwh6y"}],["path",{d:"M3 7h18",key:"1uiuf2"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}]]};r.node;let n=(0,t.f)(r);e.s(["f",0,n],693502)},918331,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(16043),i=e.i(115370),a=e.i(389475),o=e.i(533124),s=e.i(82153),l=e.i(367898),c=e.i(223732),d=e.i(825086);function u(e){return{checked:t=>e.indeterminate?{}:t?{"data-checked":""}:{"data-unchecked":""},...d.s}}var f=e.i(729253),h=e.i(93836),p=e.i(811673),m=e.i(195618),b=e.i(225421),v=e.i(141436),x=e.i(176322),g=e.i(967090),y=e.i(446443),w=e.i(621441),k=e.i(76129),j=e.i(599096),N=e.i(461430);let C=n.createContext(void 0);var T=e.i(107397);let S=n.createContext(void 0);var A=e.i(132887),R=e.i(111407),M=e.i(957854);let P=n.forwardRef(function(e,r){let{checked:d,className:T,defaultChecked:P=!1,"aria-labelledby":_,disabled:z=!1,form:I,id:D,indeterminate:q=!1,inputRef:L,name:E,onCheckedChange:V,parent:W=!1,readOnly:U=!1,render:B,required:F=!1,uncheckedValue:H,value:O,nativeButton:$=!1,style:K,...J}=e,{clearErrors:Q}=(0,w.f)(),{disabled:X,name:Z,setDirty:G,setFilled:Y,setTouched:ee,state:et,validationMode:er,validityData:en,validation:ei}=(0,v.f)(),ea=(0,y.f)(),{labelId:eo,registerControlId:es,getDescriptionProps:el}=(0,k.f)(),ec=n.useContext(C),ed=ec?.allValues===void 0?void 0:ec.parent,eu=void 0!==ed,ef=X||ea.disabled||ec?.disabled||z,eh=Z??E,ep=O??eh,em=(0,p.f)(),eb=ec?.registerControlId!==es,ev=(0,N.f)({id:D||void 0,enabled:eb}),ex=$?ev:em,eg={};eu&&(W?eg=ed.getParentProps():void 0!==ep&&(eg=ed.getChildProps(ep)));let{checked:ey=d,indeterminate:ew=q,onCheckedChange:ek,...ej}=eg,eN=ec?.value,eC=n.useRef(null),eT=(0,x.f)(ef,eC),{getButtonProps:eS,buttonRef:eA}=(0,b.f)({disabled:ef,native:$}),eR=ec?.validation??ei,[eM,eP]=(0,a.f)({controlled:void 0===ep||void 0===eN||W?ey:eN.includes(ep),default:P,name:"Checkbox",state:"checked"}),e_=eu?!!ey:eM,ez=eu&&ew||q;(0,g.f)(eC,em,eM,void 0,!ec&&!ef,E);let eI=ed?.registerChildId,eD=n.useRef(null),eq=eR.registerInput,eL=ec?ep:void 0,eE=n.useCallback(e=>eq(e,{controlRef:eC,value:eL}),[eq,eL]),eV=(0,s.A)(L,eD,W?void 0:eE),eW=(0,j.f)(_,eo,eD,!$,ev,J["aria-label"]);(0,o.f)(()=>{eD.current&&(eD.current.indeterminate=ez),ec||Y(eM)},[eM,ez,ec,Y]),(0,M.f)(eM,()=>{ec||(Q(eh),G(eM!==en.initialValue),eR.change(eM))});let eU=(0,m.w)({checked:eM,disabled:ef,form:I,name:W?void 0:eh,id:$?void 0:ev,required:F,ref:eV,style:eh?l.L:l.p,tabIndex:-1,type:"checkbox","aria-hidden":!0,onChange(e){if(e.nativeEvent.defaultPrevented)return;if(U)return void e.preventDefault();let t=e.currentTarget.checked,r=(0,A.j)(R.f.none,e.nativeEvent);if((V?.(t,r),!r.isCanceled)&&(ek?.(t,r),!r.isCanceled&&(eP(t),void 0!==ep&&void 0!==ec&&!W&&!eu))){let e=t?[...ec.value,ep]:ec.value.filter(e=>e!==ep);ec.setValue(e,r)}},onClick(e){e.stopPropagation()},onFocus(){eC.current?.focus()}},void 0!==O?{value:(ec?eM&&O:O)||""}:i.w,el,e=>eR.getValidationProps(ef,e));n.useEffect(()=>{if(!ed||void 0===ep)return;let e=ed.disabledStatesRef.current;return e.set(ep,ef),()=>{e.delete(ep)}},[ed,ef,ep]);let eB=n.useMemo(()=>({...et,checked:e_,disabled:ef,readOnly:U,required:F,indeterminate:ez}),[et,e_,ef,U,F,ez]),eF=u(eB),eH=(0,h.a)("span",e,{state:eB,ref:[eA,eC,r],props:[{id:ex,role:"checkbox","aria-checked":ez?"mixed":e_,"aria-readonly":U||void 0,"aria-required":F||void 0,"aria-labelledby":eW,"data-parent":W?"":void 0,onFocus(){eT(!0)},onBlur(){let e=eD.current;e&&(ee(!0),eT(!1),"onBlur"===er&&eR.commit(ec?eN:e.checked))},onKeyDown(e){if("Enter"!==e.key||(e.preventBaseUIHandler(),e.defaultPrevented))return;let t=eD.current?.form??null,r=e.currentTarget,n=e.nativeEvent,i=e.preventDefault,a=n.preventDefault,o=!1;e.preventDefault=()=>{o=!0,i.call(e)},n.preventDefault=()=>{o=!0,a.call(n)},a.call(n),(0,c.f)(r).queueMicrotask(()=>{e.preventDefault=i,n.preventDefault=a,o||(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(U||ef)return;e.preventDefault();let t=eD.current;t&&(0,f.f)(t,e)}},J,ej,eS,el,e=>eR.getValidationProps(ef,e)],stateAttributesMapping:eF}),eO=eH.props.id;return(0,o.f)(()=>{if(eI&&!W&&void 0!==ep&&void 0!==eO)return eI(ep,eO)},[eI,W,ep,eO]),(0,t.jsxs)(S.Provider,{value:eB,children:[eH,!eM&&!ec&&eh&&!W&&void 0!==H&&(0,t.jsx)("input",{type:"hidden",form:I,name:eh,value:H,disabled:ef}),(0,t.jsx)("input",{...eU,suppressHydrationWarning:!0})]})});var _=e.i(692933),z=e.i(288646),I=e.i(240070);let D=n.forwardRef(function(e,t){let{render:r,className:i,style:a,keepMounted:o=!1,...s}=e,l=function(){let e=n.useContext(S);if(void 0===e)throw Error((0,T.f)(14));return e}(),c=l.checked||l.indeterminate,{mounted:d,transitionStatus:f,setMounted:p}=(0,z.f)(c),m=n.useRef(null),b={...l,transitionStatus:f};(0,_.f)({batch:!0,enabled:!c,open:c,ref:m,onComplete(){c||p(!1)}});let v={...u(l),...I.f},x=(0,h.a)("span",e,{ref:[t,m],state:b,stateAttributesMapping:v,props:s});return o||d?x:null});e.s(["Indicator",0,D,"Root",0,P],756224);var q=e.i(756224),q=q,L=q,E=e.i(872635),V=e.i(58991),W=e.i(136562);let U="transition-[stroke-dashoffset] duration-quick ease-smooth-out motion-reduce:transition-none";e.s(["f",0,function(e){let n,i,a,o,s,l,c,d,u,f,h=(0,r.c)(20);h[0]!==e?({className:i,checked:n,onCheckedChange:a,ref:s,...o}=e,h[0]=e,h[1]=n,h[2]=i,h[3]=a,h[4]=o,h[5]=s):(n=h[1],i=h[2],a=h[3],o=h[4],s=h[5]);let p="indeterminate"===n,m=!!p||n;return h[6]!==i?(l=(0,W.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),h[6]=i,h[7]=l):l=h[7],h[8]!==p||h[9]!==a?(c=a?e=>{p?a(!0):a(e)}:void 0,h[8]=p,h[9]=a,h[10]=c):c=h[10],h[11]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)(E.f,{className:(0,W.f)("col-start-1 row-start-1 h-4 w-4 group-data-[indeterminate]/checkbox:hidden",U,"[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]")}),h[11]=d):d=h[11],h[12]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsxs)(q.Indicator,{keepMounted:!0,className:"grid place-items-center text-current",children:[d,(0,t.jsx)(V.f,{className:(0,W.f)("col-start-1 row-start-1 h-4 w-4 group-data-[checked]/checkbox:hidden",U,"[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]")})]}),h[12]=u):u=h[12],h[13]!==m||h[14]!==p||h[15]!==o||h[16]!==s||h[17]!==l||h[18]!==c?(f=(0,t.jsx)(L.Root,{ref:s,className:l,checked:m,indeterminate:p,onCheckedChange:c,...o,children:u}),h[13]=m,h[14]=p,h[15]=o,h[16]=s,h[17]=l,h[18]=c,h[19]=f):f=h[19],f}],918331)},640947,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(136562),i=e.i(829622),a=e.i(987457);e.s(["f",0,e=>{let o,s,l,c,d=(0,r.c)(26),{providerName:u,providerIcon:f,className:h,frame:p}=e;d[0]!==f.url.length||d[1]!==u?(o=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:u.trim().charAt(0).toUpperCase()}):null,d[0]=f.url.length,d[1]=u,d[2]=o):o=d[2];let m=o;if(void 0!==p&&p){let e,r,o;return d[3]!==h?(e=(0,n.f)("size-8",h),d[3]=h,d[4]=e):e=d[4],d[5]!==m||d[6]!==f.className||d[7]!==f.darkUrl||d[8]!==f.url||d[9]!==u?(r=m??(0,t.jsx)(i.RemoteFavicon,{className:(0,n.f)("size-full",f.className),faviconFor:u,imgSrc:f.url,imgSrcDark:f.darkUrl,size:256}),d[5]=m,d[6]=f.className,d[7]=f.darkUrl,d[8]=f.url,d[9]=u,d[10]=r):r=d[10],d[11]!==e||d[12]!==r?(o=(0,t.jsx)(a.f,{className:e,children:r}),d[11]=e,d[12]=r,d[13]=o):o=d[13],o}let b=null===m&&"bg-muted/40 p-1 shadow-inner";return d[14]!==h||d[15]!==b?(s=(0,n.f)("flex items-center justify-center","h-8 w-8 rounded-lg",b,h),d[14]=h,d[15]=b,d[16]=s):s=d[16],d[17]!==m||d[18]!==f.className||d[19]!==f.darkUrl||d[20]!==f.url||d[21]!==u?(l=m??(0,t.jsx)(i.RemoteFavicon,{className:(0,n.f)("overflow-hidden rounded-sm",f.className),faviconFor:u,imgSrc:f.url,imgSrcDark:f.darkUrl,size:256}),d[17]=m,d[18]=f.className,d[19]=f.darkUrl,d[20]=f.url,d[21]=u,d[22]=l):l=d[22],d[23]!==s||d[24]!==l?(c=(0,t.jsx)("div",{className:s,children:l}),d[23]=s,d[24]=l,d[25]=c):c=d[25],c}])},621957,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(288265),i=e.i(354896),a=e.i(452290),o=e.i(612927),s=e.i(16043),l=e.i(136562),c=e.i(301206),d=e.i(918331),u=e.i(624112);let f=(0,s.createContext)(null);function h(){let e=(0,s.use)(f);if(!e)throw Error("MultiSelect compound components must be used within ");return e}function p(e){return e.value}function m(e){return e.value}function b(e){return!e.disabled}function v(e){return!e.disabled}function x(e){let n,i,s,d,u,f,h,p=(0,r.c)(19),{inputRef:m,value:b,onChange:v,placeholder:x,borderPosition:g}=e,y="bottom"===g?"border-b":"border-t";return p[0]!==y?(n=(0,l.f)("flex items-center border-border px-3",y),p[0]=y,p[1]=n):n=p[1],p[2]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)(a.f,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),p[2]=i):i=p[2],p[3]===Symbol.for("react.memo_cache_sentinel")?(s=(0,c.f)(),p[3]=s):s=p[3],p[4]!==v?(d=e=>v(e.target.value),p[4]=v,p[5]=d):d=p[5],p[6]!==m||p[7]!==x||p[8]!==d||p[9]!==b?(u=(0,t.jsx)("input",{ref:m,autoFocus:!s,value:b,onChange:d,placeholder:x,"aria-label":x,className:"flex h-10 w-full bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground/50 disabled:cursor-not-allowed disabled:opacity-50"}),p[6]=m,p[7]=x,p[8]=d,p[9]=b,p[10]=u):u=p[10],p[11]!==m||p[12]!==v||p[13]!==b?(f=b&&(0,t.jsx)("button",{type:"button",onClick:()=>{v(""),m.current?.focus()},className:"ml-1 rounded-sm p-0.5 text-muted-foreground hover:text-foreground",children:(0,t.jsx)(o.X,{className:"h-3 w-3"})}),p[11]=m,p[12]=v,p[13]=b,p[14]=f):f=p[14],p[15]!==n||p[16]!==u||p[17]!==f?(h=(0,t.jsxs)("div",{className:n,children:[i,u,f]}),p[15]=n,p[16]=u,p[17]=f,p[18]=h):h=p[18],h}function g(e){let n,i,a,o,s,c,u,f,h,p=(0,r.c)(28),{label:m,description:b,prefix:v,checked:x,onToggle:g,disabled:w,isBold:k,wrapLabel:j}=e,N=void 0!==j&&j;p[0]===Symbol.for("react.memo_cache_sentinel")?(n=(0,l.f)("flex w-full cursor-pointer select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none","hover:bg-card-hover hover:text-foreground","focus-visible:bg-card-hover focus-visible:text-foreground","disabled:pointer-events-none disabled:opacity-50"),p[0]=n):n=p[0],p[1]!==v?(i=v&&(0,t.jsx)("span",{className:"shrink-0",children:v}),p[1]=v,p[2]=i):i=p[2];let C=N?"whitespace-normal break-words":"truncate",T=k&&"font-medium";return p[3]!==C||p[4]!==T?(a=(0,l.f)(C,"text-left",T),p[3]=C,p[4]=T,p[5]=a):a=p[5],p[6]!==m||p[7]!==a?(o=(0,t.jsx)("span",{className:a,title:m,children:m}),p[6]=m,p[7]=a,p[8]=o):o=p[8],p[9]!==b||p[10]!==N?(s=b&&(0,t.jsx)("span",{className:(0,l.f)("text-muted-foreground text-xs text-left",N?"whitespace-normal break-words":"truncate"),title:b,children:b}),p[9]=b,p[10]=N,p[11]=s):s=p[11],p[12]!==o||p[13]!==s?(c=(0,t.jsxs)("div",{className:"flex flex-1 flex-col min-w-0",children:[o,s]}),p[12]=o,p[13]=s,p[14]=c):c=p[14],p[15]!==g?(u=()=>g(),p[15]=g,p[16]=u):u=p[16],p[17]!==x||p[18]!==w||p[19]!==u?(f=(0,t.jsx)(d.f,{checked:x,disabled:w,onCheckedChange:u,onClick:y,className:"shrink-0"}),p[17]=x,p[18]=w,p[19]=u,p[20]=f):f=p[20],p[21]!==x||p[22]!==w||p[23]!==g||p[24]!==f||p[25]!==i||p[26]!==c?(h=(0,t.jsxs)("button",{type:"button",role:"option","aria-selected":x,disabled:w,onClick:g,className:n,children:[i,c,f]}),p[21]=x,p[22]=w,p[23]=g,p[24]=f,p[25]=i,p[26]=c,p[27]=h):h=p[27],h}function y(e){return e.stopPropagation()}e.s(["o",0,function(e){let n,i,a,o,l,c,d,h,v,x,g=(0,r.c)(39),{value:y,onValueChange:w,options:k,size:j,onOpenChange:N,children:C}=e,T=void 0===j?"default":j,[S,A]=(0,s.useState)(""),[R,M]=(0,s.useState)(!1);g[0]!==y?(n=new Set(y),g[0]=y,g[1]=n):n=g[1];let P=n;g[2]!==k?(i=k.filter(b),g[2]=k,g[3]=i):i=g[3];let _=i;if(g[4]!==k||g[5]!==S){let e;a=(e=S.trim().toLowerCase())?k.filter(t=>[t.label,t.description??"",...t.searchKeywords??[]].some(t=>t.toLowerCase().includes(e))):k,g[4]=k,g[5]=S,g[6]=a}else a=g[6];let z=a;g[7]!==_||g[8]!==P?(o=_.length>0&&_.every(e=>P.has(e.value)),g[7]=_,g[8]=P,g[9]=o):o=g[9];let I=o;g[10]!==w||g[11]!==P||g[12]!==y?(l=e=>{w(P.has(e)?y.filter(t=>t!==e):[...y,e])},g[10]=w,g[11]=P,g[12]=y,g[13]=l):l=g[13];let D=l;g[14]!==I||g[15]!==_||g[16]!==w||g[17]!==y?(c=()=>{if(I){let e=new Set(_.map(m));w(y.filter(t=>!e.has(t)));return}w([...new Set([...y,..._.map(p)])])},g[14]=I,g[15]=_,g[16]=w,g[17]=y,g[18]=c):c=g[18];let q=c;g[19]!==N?(d=e=>{M(e),N?.(e),e||A("")},g[19]=N,g[20]=d):d=g[20];let L=d;g[21]!==I||g[22]!==z||g[23]!==L||g[24]!==R||g[25]!==k||g[26]!==S||g[27]!==P||g[28]!==T||g[29]!==D||g[30]!==q?(h={selected:P,options:k,size:T,toggle:D,toggleAll:q,allSelected:I,searchQuery:S,setSearchQuery:A,filteredOptions:z,isOpen:R,setIsOpen:L},g[21]=I,g[22]=z,g[23]=L,g[24]=R,g[25]=k,g[26]=S,g[27]=P,g[28]=T,g[29]=D,g[30]=q,g[31]=h):h=g[31];let E=h;return g[32]!==C||g[33]!==L||g[34]!==R?(v=(0,t.jsx)(u.V,{open:R,onOpenChange:L,children:C}),g[32]=C,g[33]=L,g[34]=R,g[35]=v):v=g[35],g[36]!==E||g[37]!==v?(x=(0,t.jsx)(f,{value:E,children:v}),g[36]=E,g[37]=v,g[38]=x):x=g[38],x},"f",0,function(e){let i,a,o,c,d,f,p,m,b,y,w,k,j,N,C=(0,r.c)(61),{className:T,searchable:S,searchPlaceholder:A,showSelectAll:R,emptyMessage:M,footer:P,align:_,side:z,searchPosition:I,matchTriggerWidth:D,wrapItemLabels:q}=e,L=void 0===S||S,E=void 0===R||R,V=void 0===_?"start":_,W=void 0===z?"bottom":z,U=void 0===I?"top":I,B=void 0!==q&&q,F=(0,n.f)();C[0]!==F||C[1]!==A?(i=A??F("Search..."),C[0]=F,C[1]=A,C[2]=i):i=C[2];let H=i;C[3]!==M||C[4]!==F?(a=M??F("No options found."),C[3]=M,C[4]=F,C[5]=a):a=C[5];let O=a,{filteredOptions:$,selected:K,toggle:J,toggleAll:Q,allSelected:X,searchQuery:Z,setSearchQuery:G}=h(),Y=(0,s.useRef)(null);C[6]!==$?(o=$.filter(v),C[6]=$,C[7]=o):o=C[7];let ee=o;C[8]!==ee||C[9]!==Z||C[10]!==E?(c=E&&ee.length>1&&!Z.trim(),C[8]=ee,C[9]=Z,C[10]=E,C[11]=c):c=C[11];let et=c,er=(void 0===D||D)&&"w-(--anchor-width) min-w-48";if(C[12]!==T||C[13]!==er?(d=(0,l.f)("p-0",er,T),C[12]=T,C[13]=er,C[14]=d):d=C[14],C[15]!==H||C[16]!==U||C[17]!==Z||C[18]!==L||C[19]!==G?(f=L&&"top"===U&&(0,t.jsx)(x,{inputRef:Y,value:Z,onChange:G,placeholder:H,borderPosition:"bottom"}),C[15]=H,C[16]=U,C[17]=Z,C[18]=L,C[19]=G,C[20]=f):f=C[20],C[21]!==X||C[22]!==F||C[23]!==et||C[24]!==Q||C[25]!==B?(p=et&&(0,t.jsx)(g,{label:F(X?"Deselect all":"Select all"),checked:X,onToggle:Q,isBold:!0,wrapLabel:B}),C[21]=X,C[22]=F,C[23]=et,C[24]=Q,C[25]=B,C[26]=p):p=C[26],C[27]!==$.length||C[28]!==O?(m=0===$.length&&(0,t.jsx)("div",{className:"py-6 text-center text-sm text-muted-foreground",children:O}),C[27]=$.length,C[28]=O,C[29]=m):m=C[29],C[30]!==$||C[31]!==K||C[32]!==J||C[33]!==B){let e;C[35]!==K||C[36]!==J||C[37]!==B?(e=e=>(0,t.jsx)(g,{label:e.label,description:e.description,prefix:e.icon,checked:K.has(e.value),onToggle:()=>J(e.value),disabled:e.disabled,wrapLabel:B},e.value),C[35]=K,C[36]=J,C[37]=B,C[38]=e):e=C[38],b=$.map(e),C[30]=$,C[31]=K,C[32]=J,C[33]=B,C[34]=b}else b=C[34];return C[39]!==p||C[40]!==m||C[41]!==b?(y=(0,t.jsxs)("div",{className:"max-h-60 overflow-y-auto overflow-x-hidden p-1",children:[p,m,b]}),C[39]=p,C[40]=m,C[41]=b,C[42]=y):y=C[42],C[43]!==H||C[44]!==U||C[45]!==Z||C[46]!==L||C[47]!==G?(w=L&&"bottom"===U&&(0,t.jsx)(x,{inputRef:Y,value:Z,onChange:G,placeholder:H,borderPosition:"top"}),C[43]=H,C[44]=U,C[45]=Z,C[46]=L,C[47]=G,C[48]=w):w=C[48],C[49]!==P?(k=P&&(0,t.jsx)("div",{className:"border-t border-border p-2",children:P}),C[49]=P,C[50]=k):k=C[50],C[51]!==f||C[52]!==y||C[53]!==w||C[54]!==k?(j=(0,t.jsxs)("div",{className:"flex flex-col",children:[f,y,w,k]}),C[51]=f,C[52]=y,C[53]=w,C[54]=k,C[55]=j):j=C[55],C[56]!==V||C[57]!==W||C[58]!==d||C[59]!==j?(N=(0,t.jsx)(u.T,{className:d,align:V,side:W,children:j}),C[56]=V,C[57]=W,C[58]=d,C[59]=j,C[60]=N):N=C[60],N},"y",0,function(e){let a,o,s,c,d,f=(0,r.c)(16),{className:p,placeholder:m,disabled:b,"aria-label":v}=e,x=(0,n.f)(),{selected:g,size:y}=h();f[0]!==x||f[1]!==m||f[2]!==g.size?(a=g.size>0?x("{count} selected",{count:g.size}):m??x("Select..."),f[0]=x,f[1]=m,f[2]=g.size,f[3]=a):a=f[3];let w=a,k="compact"===y?"relative h-8 pointer-coarse:after:absolute pointer-coarse:after:inset-x-0 pointer-coarse:after:top-1/2 pointer-coarse:after:h-11 pointer-coarse:after:-translate-y-1/2 pointer-coarse:after:-z-10":"h-10",j=v?`${v}, ${w}`:void 0,N=g.size>0?"text-foreground":"text-muted-foreground";return f[4]!==p||f[5]!==k||f[6]!==N?(o=(0,l.f)("flex w-full items-center justify-between rounded-md px-3 py-2","border border-input bg-input-bg text-body cursor-pointer","focus-visible:outline-none focus-visible:border-focus-border focus-visible:shadow-focus","disabled:cursor-not-allowed disabled:opacity-50","hover:bg-muted/30",k,N,p),f[4]=p,f[5]=k,f[6]=N,f[7]=o):o=f[7],f[8]!==w?(s=(0,t.jsx)("span",{className:"flex-1 text-left truncate",children:w}),f[8]=w,f[9]=s):s=f[9],f[10]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)(i.f,{className:"ml-2 h-4 w-4 shrink-0 opacity-50"}),f[10]=c):c=f[10],f[11]!==b||f[12]!==j||f[13]!==o||f[14]!==s?(d=(0,t.jsx)(u.J,{render:(0,t.jsxs)("button",{type:"button",disabled:b,"aria-label":j,className:o,children:[s,c]})}),f[11]=b,f[12]=j,f[13]=o,f[14]=s,f[15]=d):d=f[15],d},"X",0,h],621957)},771743,e=>{"use strict";var t,r=e.i(659350),n=e.i(663456),i=e.i(16043),a=e.i(389475),o=e.i(533124),s=e.i(815922),l=e.i(93836),c=e.i(700788),d=e.i(107397);let u=i.createContext(void 0);function f(){let e=i.useContext(u);if(void 0===e)throw Error((0,d.f)(64));return e}let h={tabActivationDirection:e=>({"data-activation-direction":e})};var p=e.i(132887),m=e.i(24220),m=m,b=m,v=e.i(907621);let x=i.forwardRef(function(e,t){let{className:n,defaultValue:d=0,onValueChange:f,orientation:x="horizontal",render:w,value:k,style:j,...N}=e,C=void 0!==e.defaultValue,T=i.useRef([]),[S,A]=i.useState(()=>new Map),[R,M]=(0,a.f)({controlled:k,default:d,name:"Tabs",state:"value"}),P=void 0!==k,[_,z]=i.useState(()=>new Map),I=i.useRef(void 0),D=i.useCallback(e=>g(_,e),[_]),[q,L]=i.useState(()=>({previousValue:R,tabActivationDirection:"none"})),{previousValue:E,tabActivationDirection:V}=q,W=V,U=!1;E!==R&&(W=y(E,R,x,_),U=null!=E&&null!=R&&null==D(R));let B=U?E:R,F=E!==B||V!==W;(0,o.f)(()=>{F&&L({previousValue:B,tabActivationDirection:W})},[B,F,W]);let H=(0,s.f)((e,t)=>{t.activationDirection=y(R,e,x,_),f?.(e,t),t.isCanceled||M(()=>e)}),O=(0,s.f)((e,t)=>{f?.(e,(0,p.j)(t,void 0,void 0,{activationDirection:"none"}))}),$=(0,s.f)((e,t)=>(A(r=>{let n=new Map(r);return n.set(e,t),n}),()=>{A(r=>{if(r.get(e)!==t)return r;let n=new Map(r);return n.delete(e),n})})),K=i.useCallback(e=>S.get(e),[S]),J=i.useCallback(e=>{for(let t of _.values())if(e===t.value)return t.id},[_]),Q=i.useMemo(()=>({getTabElementBySelectedValue:D,getTabIdByPanelValue:J,getTabPanelIdByValue:K,onValueChange:H,orientation:x,registerMountedTabPanel:$,setTabMap:z,tabActivationDirection:W,value:R}),[D,J,K,H,x,$,z,W,R]),X=i.useMemo(()=>{for(let e of _.values())if(e.value===R)return e},[_,R]),Z=i.useMemo(()=>{for(let e of _.values())if(!e.disabled)return e.value},[_]),G=i.useRef(!C),Y=i.useRef(d),ee=i.useRef(C),et=i.useRef(!1);(0,o.f)(()=>{if(P)return;function e(e,t){M(()=>e),L({previousValue:e,tabActivationDirection:"none"}),O(e,t),G.current=!1}if(0===_.size){et.current&&null!==R&&!I.current?.isConnected&&e(null,b.missing);return}et.current=!0,I.current=_.keys().next().value;let t=X?.disabled,r=null==X&&null!==R;if(t||R!==Y.current||(ee.current=!1),ee.current&&t&&R===Y.current)return;let n=G.current;if(t||r){let r=Z??null;if(R===r){G.current=!1;return}let i=b.missing;n?i=m.initial:t&&(i=v.f.disabled),e(r,i);return}n&&null!=X&&(O(R,m.initial),G.current=!1)},[Z,P,O,X,M,_,R]);let er={orientation:x,tabActivationDirection:W},en=(0,l.a)("div",e,{state:er,ref:t,props:N,stateAttributesMapping:h});return(0,r.jsx)(u.Provider,{value:Q,children:(0,r.jsx)(c.f,{elementsRef:T,children:en})})});function g(e,t){for(let[r,n]of e.entries())if(t===n.value)return r;return null}function y(e,t,r,n){if(null==e||null==t)return"none";let[i,a,o]="horizontal"===r?["left","left","right"]:["top","up","down"],s=g(n,e),l=g(n,t);if(null==s||null==l)return s!==l&&("number"==typeof e||"string"==typeof e)&&typeof e==typeof t?t>e?o:a:"none";let c=s.getBoundingClientRect()[i],d=l.getBoundingClientRect()[i];return dc?o:"none"}var w=e.i(997932),k=e.i(811673),j=e.i(225421),N=e.i(509208),C=e.i(5573),T=e.i(57140);let S=i.createContext(void 0);function A(){let e=i.useContext(S);if(void 0===e)throw Error((0,d.f)(65));return e}var R=e.i(111407),M=e.i(393298);let P=i.forwardRef(function(e,t){let{className:r,disabled:n=!1,render:a,value:c,id:d,nativeButton:u=!0,style:m,...b}=e,{value:v,getTabPanelIdByValue:x,onValueChange:g,orientation:y,tabActivationDirection:S}=f(),{activateOnFocus:P,registerTabResizeObserverElement:_,tabsListElement:z}=A(),{highlightedIndex:I,onHighlightedIndexChange:D}=(0,T.o)(),q=(0,k.f)(d),L=i.useMemo(()=>({disabled:n,id:q,value:c}),[n,q,c]),{compositeProps:E,compositeRef:V,index:W}=(0,C.f)({metadata:L}),U=c===v,B=i.useRef(!1),F=i.useRef(null),H=(0,s.f)(e=>{F.current?.(),F.current=e?_(e):null});(0,o.f)(()=>{if(B.current){B.current=!1;return}if(U&&W>-1&&I!==W){if(null!=z){let e=(0,M.T)((0,w.f)(z));if(e&&(0,M.I)(z,e))return}n||D(W)}},[U,W,I,D,n,z]);let{getButtonProps:O,buttonRef:$}=(0,j.f)({disabled:n,native:u,focusableWhenDisabled:!0}),K=x(c),J=i.useRef(!1),Q=i.useRef(!1);function X(e){g(c,(0,p.j)(R.f.none,e.nativeEvent,void 0,{activationDirection:"none"}))}return(0,l.a)("button",e,{state:{disabled:n,active:U,orientation:y,tabActivationDirection:S},ref:[t,$,V,H],props:[E,{role:"tab","aria-controls":K,"aria-selected":U,id:q,onClick:function(e){U||n||X(e)},onFocus:function(e){U||n||P&&(!J.current||Q.current)&&X(e)},onPointerDown:function(e){if(U||n)return;J.current=!0,Q.current=0===e.button;let t=(0,w.f)(e.currentTarget);function r(){J.current=!1,Q.current=!1,t.removeEventListener("pointerup",r),t.removeEventListener("pointercancel",r)}t.addEventListener("pointerup",r),t.addEventListener("pointercancel",r)},[N.f]:U?"":void 0,onKeyDownCapture(){B.current=!0}},b,O],stateAttributesMapping:h})});var _=e.i(807257),z=e.i(445036),I=e.i(223732),D=e.i(150649),q=e.i(856465),L=e.i(365041),E=e.i(726628);let V={...h,activeTabPosition:()=>null,activeTabSize:()=>null},W=i.forwardRef(function(e,n){let{className:a,render:o,renderBeforeHydration:s=!1,style:c,...d}=e,{getTabElementBySelectedValue:u,orientation:h,tabActivationDirection:p,value:m}=f(),{tabsListElement:b,registerIndicatorUpdateListener:v}=A(),x=(0,z.f)();i.useEffect(()=>v(x),[v,x]);let g=0,y=0,w=0,k=0,j=0,N=0,C=!1;if(null!=m&&null!=b){let e=u(m);if(null!=e){C=!0;let{width:t,height:r}=(0,L.f)(e),{width:n,height:i}=(0,L.f)(b),a=e.getBoundingClientRect(),o=b.getBoundingClientRect(),s=n>0?o.width/n:1,l=i>0?o.height/i:1,c=function(e,t){let r=U(e),n=U(t),i=r.left-n.left-t.clientLeft,a=r.top-n.top-t.clientTop,o=(0,_.J)(e);for(;(0,_.E)(o)&&o!==t&&!(0,_.Z)(o);)i-=o.scrollLeft,a-=o.scrollTop,o=(0,_.J)(o);return{left:i,top:a}}(e,b);g=c.left,w=c.top;let d=(a.left-o.left)/s+b.scrollLeft-b.clientLeft,u=(a.top-o.top)/l+b.scrollTop-b.clientTop,f=function(e){let t=(0,I.f)(e).getComputedStyle(e),{x:r,y:n}=(0,E.f)(e,t),i=r,a=n,{translate:o}=t;if(o&&"none"!==o){let t=o.split(" ");i+=B(t[0],e.offsetWidth),a+=B(t[1],e.offsetHeight)}return{x:i,y:a}}(e);2>=Math.abs(d-f.x-g)&&2>=Math.abs(u-f.y-w)&&(g=d,w=u),j=t,N=r,y=b.scrollWidth-g-j,k=b.scrollHeight-w-N}}let T=C?{left:g,right:y,top:w,bottom:k}:null,S=C?{width:j,height:N}:null,R=C?{"--active-tab-left":`${g}px`,"--active-tab-right":`${y}px`,"--active-tab-top":`${w}px`,"--active-tab-bottom":`${k}px`,"--active-tab-width":`${j}px`,"--active-tab-height":`${N}px`}:void 0,M=C&&j>0&&N>0,P=(0,l.a)("span",e,{state:{orientation:h,activeTabPosition:T,activeTabSize:S,tabActivationDirection:p},ref:n,props:[{role:"presentation",style:R,hidden:!M},d,{suppressHydrationWarning:!0}],stateAttributesMapping:V});return null==m?null:(0,r.jsxs)(i.Fragment,{children:[P,s&&(t||(t=(0,r.jsx)(q.f,{script:D.f})))]})});function U(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 B(e,t){if(!e)return 0;let r=parseFloat(e);return Number.isFinite(r)?e.endsWith("%")?r/100*t:r:0}var F=e.i(245966),H=e.i(240070),O=e.i(692933),$=e.i(288646),K=e.i(485997),J=e.i(691739),Q=e.i(773183);J.f.startingStyle,Q.f.endingStyle;let X={...h,...H.f},Z=i.forwardRef(function(e,t){let{className:r,value:n,render:a,keepMounted:s=!1,style:c,...d}=e,{value:u,getTabIdByPanelValue:h,orientation:p,tabActivationDirection:m,registerMountedTabPanel:b}=f(),v=(0,k.f)(),{ref:x,index:g}=(0,K.f)(),y=n===u,{mounted:w,transitionStatus:j,setMounted:N}=(0,$.f)(y),C=!w,T=h(n),S=i.useRef(null),A=(0,l.a)("div",e,{state:{hidden:C,orientation:p,tabActivationDirection:m,transitionStatus:j},ref:[t,x,S],props:[{"aria-labelledby":T,hidden:C,id:v,role:"tabpanel",tabIndex:y?0:-1,inert:(0,F.f)(!y),"data-index":g},d],stateAttributesMapping:X});return((0,O.f)({open:y,ref:S,onComplete(){y||N(!1)}}),(0,o.f)(()=>{if(null!=v&&(!C||s))return b(n,v)},[C,s,n,v,b]),s||w)?A:null});var G=e.i(115370),Y=e.i(587135);let ee=i.forwardRef(function(e,t){let{activateOnFocus:n=!1,className:a,loopFocus:l=!0,render:c,style:d,...u}=e,{orientation:p,setTabMap:m,tabActivationDirection:b}=f(),[v,x]=i.useState(0),[g,y]=i.useState(null),w=i.useRef(new Set),k=i.useRef(new Set),j=i.useRef(null);(0,o.f)(()=>{if("u"{w.current.forEach(e=>{e()})});return j.current=e,g&&e.observe(g),k.current.forEach(t=>{e.observe(t)}),()=>{e.disconnect(),j.current=null}},[g]);let N=(0,s.f)(e=>(w.current.add(e),()=>{w.current.delete(e)})),C=(0,s.f)(e=>(k.current.add(e),j.current?.observe(e),()=>{k.current.delete(e),j.current?.unobserve(e)})),T=i.useMemo(()=>({activateOnFocus:n,registerIndicatorUpdateListener:N,registerTabResizeObserverElement:C,tabsListElement:g}),[n,N,C,g]);return(0,r.jsx)(S.Provider,{value:T,children:(0,r.jsx)(Y.f,{render:c,className:a,style:d,state:{orientation:p,tabActivationDirection:b},refs:[t,y],props:[{"aria-orientation":"vertical"===p?"vertical":void 0,role:"tablist"},u],stateAttributesMapping:h,highlightedIndex:v,enableHomeAndEndKeys:!0,loopFocus:l,orientation:p,onHighlightedIndexChange:x,onMapChange:m,disabledIndices:G.v})})});e.s(["Indicator",0,W,"List",0,ee,"Panel",0,Z,"Root",0,x,"Tab",0,P],308864);var et=e.i(308864),et=et,er=et,en=et,ei=et,ea=et,eo=e.i(207298),es=e.i(136562);let el=(0,eo.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,eo.f)((0,es.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"}}),ed=(0,eo.f)((0,es.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,es.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,es.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"}}),eu=(0,i.createContext)("primary"),ef=(0,i.createContext)("default"),eh=(0,i.createContext)(!1);e.s(["i",0,function(e){let t,i,a,o,s,l=(0,n.c)(10);l[0]!==e?({variant:a,children:t,...i}=e,l[0]=e,l[1]=t,l[2]=i,l[3]=a):(t=l[1],i=l[2],a=l[3]);let c=void 0===a?"primary":a;return l[4]!==t||l[5]!==i?(o=(0,r.jsx)(et.Root,{...i,children:t}),l[4]=t,l[5]=i,l[6]=o):o=l[6],l[7]!==o||l[8]!==c?(s=(0,r.jsx)(eu,{value:c,children:o}),l[7]=o,l[8]=c,l[9]=s):s=l[9],s},"S",0,function(e){let t,i,a,o,s,l=(0,n.c)(10);return l[0]!==e?({className:t,ref:a,...i}=e,l[0]=e,l[1]=t,l[2]=i,l[3]=a):(t=l[1],i=l[2],a=l[3]),l[4]!==t?(o=(0,es.f)("mt-2 ring-offset-background","focus-visible:outline-none focus-visible:border-focus-border focus-visible:shadow-focus",t),l[4]=t,l[5]=o):o=l[5],l[6]!==i||l[7]!==a||l[8]!==o?(s=(0,r.jsx)(ea.Panel,{ref:a,className:o,...i}),l[6]=i,l[7]=a,l[8]=o,l[9]=s):s=l[9],s},"U",0,function(e){let t,a,o,s,l,c,d,u,f,h,p,m,b=(0,n.c)(27);b[0]!==e?({className:a,children:t,ref:s,size:l,shouldWrap:c,...o}=e,b[0]=e,b[1]=t,b[2]=a,b[3]=o,b[4]=s,b[5]=l,b[6]=c):(t=b[1],a=b[2],o=b[3],s=b[4],l=b[5],c=b[6]);let v=void 0===l?"default":l,x=void 0!==c&&c,g=(0,i.use)(eu);return b[7]!==a||b[8]!==x||b[9]!==g?(d=(0,es.f)(el({variant:g}),x&&"h-auto max-md:h-auto flex-wrap",a),b[7]=a,b[8]=x,b[9]=g,b[10]=d):d=b[10],b[11]!==g?(u=(0,es.f)(ec({variant:g})),b[11]=g,b[12]=u):u=b[12],b[13]!==u?(f=(0,r.jsx)(er.Indicator,{"data-tabs-indicator":"",className:u}),b[13]=u,b[14]=f):f=b[14],b[15]!==t||b[16]!==x?(h=(0,r.jsx)(eh,{value:x,children:t}),b[15]=t,b[16]=x,b[17]=h):h=b[17],b[18]!==v||b[19]!==h?(p=(0,r.jsx)(ef,{value:v,children:h}),b[18]=v,b[19]=h,b[20]=p):p=b[20],b[21]!==o||b[22]!==s||b[23]!==d||b[24]!==f||b[25]!==p?(m=(0,r.jsxs)(en.List,{ref:s,className:d,...o,children:[f,p]}),b[21]=o,b[22]=s,b[23]=d,b[24]=f,b[25]=p,b[26]=m):m=b[26],m},"k",0,function(e){let t,a,o,s,l,c=(0,n.c)(13);c[0]!==e?({className:t,ref:o,...a}=e,c[0]=e,c[1]=t,c[2]=a,c[3]=o):(t=c[1],a=c[2],o=c[3]);let d=(0,i.use)(eu),u=(0,i.use)(ef),f=(0,i.use)(eh);return c[4]!==t||c[5]!==f||c[6]!==u||c[7]!==d?(s=(0,es.f)(ed({variant:d,size:u}),f&&"w-auto",t),c[4]=t,c[5]=f,c[6]=u,c[7]=d,c[8]=s):s=c[8],c[9]!==a||c[10]!==o||c[11]!==s?(l=(0,r.jsx)(ei.Tab,{ref:o,className:s,...a}),c[9]=a,c[10]=o,c[11]=s,c[12]=l):l=c[12],l}],771743)},301206,e=>{"use strict";e.s(["f",0,function(){return globalThis.window?.matchMedia?.("(pointer: coarse)").matches??!1}])},820154,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(136562),i=e.i(771743),a=e.i(960773);e.i(707060);var o=e.i(196991),s=e.i(919035);e.s(["f",0,function(e){let l,c,d,u,f,h=(0,r.c)(20),{benchmark:p,examples:m,Panel:b}=e,v=(0,a.Q)(),x=(0,s.f)(),g=m[0],y=g?.id;if(h[0]!==p||h[1]!==v?(l=e=>{v.capture("select_benchmark_example",{benchmark:p,example_id:e})},h[0]=p,h[1]=v,h[2]=l):l=h[2],h[3]!==m||h[4]!==x){let e;h[6]!==x?(e=e=>(0,t.jsx)(i.k,{value:e.id,children:(0,t.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,t.jsx)("span",{"aria-hidden":!0,className:(0,n.f)("size-1.5 rounded-full",e.didPass?"bg-chart-1":"bg-destructive")}),x(e.tabLabel),(0,t.jsx)("span",{className:"sr-only",children:e.didPass?(0,t.jsx)(o.T,{children:"(passed)"}):(0,t.jsx)(o.T,{children:"(failed)"})})]})},e.id),h[6]=x,h[7]=e):e=h[7],c=m.map(e),h[3]=m,h[4]=x,h[5]=c}else c=h[5];if(h[8]!==c?(d=(0,t.jsx)(i.U,{className:"w-full justify-start overflow-x-auto",children:c}),h[8]=c,h[9]=d):d=h[9],h[10]!==b||h[11]!==m){let e;h[13]!==b?(e=e=>(0,t.jsx)(i.S,{keepMounted:!0,value:e.id,children:(0,t.jsx)(b,{example:e})},e.id),h[13]=b,h[14]=e):e=h[14],u=m.map(e),h[10]=b,h[11]=m,h[12]=u}else u=h[12];return h[15]!==y||h[16]!==l||h[17]!==d||h[18]!==u?(f=(0,t.jsxs)(i.i,{defaultValue:y,variant:"secondary",onValueChange:l,children:[d,u]}),h[15]=y,h[16]=l,h[17]=d,h[18]=u,h[19]=f):f=h[19],f}])},98560,e=>{"use strict";var t=e.i(659350),r=e.i(663456),n=e.i(136562),i=e.i(411252),a=e.i(233452),o=e.i(702441),s=e.i(647402),l=e.i(960773);e.i(707060);var c=e.i(196991),d=e.i(288265),u=e.i(919035),f=e.i(820154),h=e.i(387086);function p(e){return{...e,didPass:"correct"===e.kind}}function m(e){let n,a,f,h,p,m,x,g,k,j,N,C,T,S,A,R,M,P,_,z,I,D,q,L,E,V,W,U,B,F,H,O,$=(0,r.c)(86),{example:K}=e,J=(0,l.Q)(),Q=(0,d.f)(),X=(0,u.f)();if($[0]!==K.kind?(n=(0,t.jsx)(b,{kind:K.kind}),$[0]=K.kind,$[1]=n):n=$[1],$[2]!==K.title||$[3]!==X?(a=X(K.title),$[2]=K.title,$[3]=X,$[4]=a):a=$[4],$[5]!==a?(f=(0,t.jsx)("h3",{className:"text-sm font-medium text-foreground",children:a}),$[5]=a,$[6]=f):f=$[6],$[7]!==n||$[8]!==f?(h=(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[n,f]}),$[7]=n,$[8]=f,$[9]=h):h=$[9],$[10]!==K.failureMode||$[11]!==Q?(p=Q(null===K.failureMode?"Happy path":"Failure mode"),$[10]=K.failureMode,$[11]=Q,$[12]=p):p=$[12],$[13]!==p?(m=(0,t.jsxs)("span",{className:"font-medium text-foreground",children:[p,":"]}),$[13]=p,$[14]=m):m=$[14],$[15]!==K.failureMode||$[16]!==Q||$[17]!==X?(x=null===K.failureMode?Q("The model locates the moment and reads it correctly."):X(K.failureMode),$[15]=K.failureMode,$[16]=Q,$[17]=X,$[18]=x):x=$[18],$[19]!==m||$[20]!==x?(g=(0,t.jsxs)("p",{className:"text-sm text-muted-foreground",children:[m," ",x]}),$[19]=m,$[20]=x,$[21]=g):g=$[21],$[22]!==K.questionId||$[23]!==Q?(k=Q("Question {id}",{id:K.questionId}),$[22]=K.questionId,$[23]=Q,$[24]=k):k=$[24],$[25]===Symbol.for("react.memo_cache_sentinel")?(j=(0,t.jsx)(s.f,{}),$[25]=j):j=$[25],$[26]===Symbol.for("react.memo_cache_sentinel")?(N=(0,t.jsx)(s.f,{}),$[26]=N):N=$[26],$[27]!==K.model||$[28]!==K.questionType||$[29]!==k?(C=(0,t.jsxs)("p",{className:"text-2xs font-medium uppercase tracking-widest text-muted-foreground",children:[k," ",j," ",K.questionType," ",N," ",K.model]}),$[27]=K.model,$[28]=K.questionType,$[29]=k,$[30]=C):C=$[30],$[31]!==K.videoId){var Z;Z=K.videoId,T=`https://vgi-bench-mirror.openrouter.ai/${Z}.mp4`,$[31]=K.videoId,$[32]=T}else T=$[32];if($[33]!==K.id||$[34]!==J?(S=()=>{J.capture("play_benchmark_example_video",{benchmark:"vgi-bench",example_id:K.id})},$[33]=K.id,$[34]=J,$[35]=S):S=$[35],$[36]!==T||$[37]!==S?(A=(0,t.jsx)("video",{className:"aspect-video w-full rounded-md bg-black",controls:!0,preload:"metadata",src:T,onPlay:S}),$[36]=T,$[37]=S,$[38]=A):A=$[38],$[39]===Symbol.for("react.memo_cache_sentinel")?(R=(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:(0,t.jsx)(c.T,{children:"The full video the model was sent, served from the OpenRouter mirror used by the harness."})}),$[39]=R):R=$[39],$[40]!==A?(M=(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[A,R]}),$[40]=A,$[41]=M):M=$[41],$[42]!==K.question||$[43]!==X?(P=X(K.question),$[42]=K.question,$[43]=X,$[44]=P):P=$[44],$[45]!==P?(_=(0,t.jsx)("p",{className:"text-foreground",children:P}),$[45]=P,$[46]=_):_=$[46],$[47]!==K.correctAnswer||$[48]!==K.modelAnswer||$[49]!==K.options){let e;$[51]!==K.correctAnswer||$[52]!==K.modelAnswer?(e=e=>(0,t.jsx)(v,{option:e,correctAnswer:K.correctAnswer,modelAnswer:K.modelAnswer},e.letter),$[51]=K.correctAnswer,$[52]=K.modelAnswer,$[53]=e):e=$[53],z=K.options.map(e),$[47]=K.correctAnswer,$[48]=K.modelAnswer,$[49]=K.options,$[50]=z}else z=$[50];return $[54]!==z?(I=(0,t.jsx)("ol",{className:"flex flex-col gap-1.5",children:z}),$[54]=z,$[55]=I):I=$[55],$[56]!==K?(D=(0,t.jsx)(y,{example:K}),$[56]=K,$[57]=D):D=$[57],$[58]!==K.analysis||$[59]!==X?(q=X(K.analysis),$[58]=K.analysis,$[59]=X,$[60]=q):q=$[60],$[61]!==q?(L=(0,t.jsx)("p",{className:"text-muted-foreground",children:q}),$[61]=q,$[62]=L):L=$[62],$[63]!==_||$[64]!==I||$[65]!==D||$[66]!==L?(E=(0,t.jsxs)("div",{className:"flex flex-col gap-3 text-sm",children:[_,I,D,L]}),$[63]=_,$[64]=I,$[65]=D,$[66]=L,$[67]=E):E=$[67],$[68]!==M||$[69]!==E?(V=(0,t.jsxs)("div",{className:"grid gap-5 lg:grid-cols-2",children:[M,E]}),$[68]=M,$[69]=E,$[70]=V):V=$[70],$[71]===Symbol.for("react.memo_cache_sentinel")?(W=(0,t.jsx)(i.AccordionTrigger,{className:"text-muted-foreground hover:text-foreground",children:(0,t.jsx)(c.T,{children:"Perception (reasoning trace)"})}),$[71]=W):W=$[71],$[72]!==K.perception?(U=(0,t.jsxs)(i.AccordionItem,{className:"border-b-0 border-t border-border",value:"perception",children:[W,(0,t.jsx)(i.AccordionContent,{children:(0,t.jsx)(w,{text:K.perception})})]}),$[72]=K.perception,$[73]=U):U=$[73],$[74]===Symbol.for("react.memo_cache_sentinel")?(B=(0,t.jsx)(i.AccordionTrigger,{className:"text-muted-foreground hover:text-foreground",children:(0,t.jsx)(c.T,{children:"Response"})}),$[74]=B):B=$[74],$[75]!==K.response?(F=(0,t.jsxs)(i.AccordionItem,{value:"response",children:[B,(0,t.jsx)(i.AccordionContent,{children:(0,t.jsx)(w,{text:K.response})})]}),$[75]=K.response,$[76]=F):F=$[76],$[77]!==U||$[78]!==F?(H=(0,t.jsxs)(i.Accordion,{collapsible:!0,defaultValue:"perception",type:"single",children:[U,F]}),$[77]=U,$[78]=F,$[79]=H):H=$[79],$[80]!==C||$[81]!==V||$[82]!==H||$[83]!==h||$[84]!==g?(O=(0,t.jsxs)(o.N,{className:"mt-4 flex flex-col gap-5 p-5",children:[h,g,C,V,H]}),$[80]=C,$[81]=V,$[82]=H,$[83]=h,$[84]=g,$[85]=O):O=$[85],O}function b(e){let n,i,o=(0,r.c)(5),{kind:s}=e,l="correct"===s?"default":"destructive";return o[0]!==s?(n="correct"===s?(0,t.jsx)(c.T,{children:"correct"}):(0,t.jsx)(c.T,{children:"incorrect"}),o[0]=s,o[1]=n):n=o[1],o[2]!==l||o[3]!==n?(i=(0,t.jsx)(a.Badge,{variant:l,children:n}),o[2]=l,o[3]=n,o[4]=i):i=o[4],i}function v(e){let i,a,o,s,l=(0,r.c)(11),{option:c,correctAnswer:d,modelAnswer:u}=e,f=function(e,{correctAnswer:t,modelAnswer:r}){let n=e===r;return e===t?n?"key-and-model":"key":n?"model":"other"}(c.letter,{correctAnswer:d,modelAnswer:u}),h=x[f];l[0]!==h?(i=(0,n.f)("flex items-baseline gap-2 rounded-md border px-2.5 py-1.5 text-xs",h),l[0]=h,l[1]=i):i=l[1],l[2]!==c.letter?(a=(0,t.jsxs)("span",{className:"font-mono",children:[c.letter,")"]}),l[2]=c.letter,l[3]=a):a=l[3],l[4]!==c.text?(o=(0,t.jsx)("span",{className:"flex-1",children:c.text}),l[4]=c.text,l[5]=o):o=l[5];let p=g[f];return l[6]!==i||l[7]!==a||l[8]!==o||l[9]!==p?(s=(0,t.jsxs)("li",{className:i,children:[a,o,p]}),l[6]=i,l[7]=a,l[8]=o,l[9]=p,l[10]=s):s=l[10],s}(0,h.b)("Happy path"),(0,h.b)("Which window the pointer hovers over most"),(0,h.b)("Which option does the mouse pointer hover over most often?"),(0,h.b)("The trace tracks the pointer across the whole recording rather than one frame, names the Premiere Pro cameo near the end as a distractor, and lands on the window that dominates the session."),(0,h.b)("Salient object"),(0,h.b)("Salient object over the key"),(0,h.b)("Object co-present with a garden shed"),(0,h.b)("Which option is repeatedly visible at the same time as the wooden garden shed during the video?"),(0,h.b)("The trace cites eight timestamps for a wagon wheel leaning against the shed and dismisses the presenter as incidental. The human-validated key is the presenter. The model chose the most distinctive object in the frame over the one the question was scored on."),(0,h.b)("False premise"),(0,h.b)("Narrates a moment that never happens"),(0,h.b)("A false-premise question about a measuring spoon"),(0,h.b)("When the speaker says she used a full tablespoon of salt, where is the red measuring spoon positioned relative to the cheese curds?"),(0,h.b)("The key says this moment does not occur. The trace narrates a 2:38 to 2:44 sequence with the spoon set down in front of the curds, rejects the 'does not happen' option outright, and answers with detail the key does not support."),(0,h.b)("Audio from priors"),(0,h.b)("Answers an audio question from world knowledge"),(0,h.b)("The sound of an M.2 heatsink locking"),(0,h.b)("When the two M.2 slots are highlighted in purple, what click is heard as the top heatsink locks back into place?"),(0,h.b)("The trace says 'I need to recall the audio' and then reasons from what PC build videos 'typically' sound like, never from this one. The key is 'does not happen'. The final response presents the guessed click as something heard in the video."),(0,h.b)("Wrong moment"),(0,h.b)("Locates a near-duplicate moment"),(0,h.b)("Background behind a PSU cable being plugged in"),(0,h.b)("When the hand inserts a black power cable into the Seasonic power supply at the rear of the black PC case, what surface is behind it?"),(0,h.b)("The question pins a moment that recurs with small differences. The trace settles on a rear view at 15:30 to 15:40 with a white wall behind it. The key is a dark textured surface, so the model matched the action to a similar shot and read the background off that one."),(0,h.b)("Unheard cue"),(0,h.b)("Never locates the spoken cue"),(0,h.b)("Where a whiskey bottle sits when a line is spoken"),(0,h.b)("When he says, “This whole time he's back there drinking whiskey,” is the whiskey bottle to the left or right of the laptop on Craig’s bench?"),(0,h.b)("The cue is a spoken line. The trace never finds it, says it 'probably occurs during the conversation at the bench', and answers from a frame at 60 to 70 seconds. The key is 'does not happen'. Without the transcript anchor, the model substituted the nearest matching scene.");let x={key:"border-chart-1/40 bg-chart-1/10","key-and-model":"border-chart-1/40 bg-chart-1/10",model:"border-destructive/40 bg-destructive/10",other:"border-border text-muted-foreground"},g={key:(0,t.jsx)("span",{className:"font-mono text-chart-1",children:(0,t.jsx)(c.T,{children:"key"})}),"key-and-model":(0,t.jsx)("span",{className:"font-mono text-chart-1",children:(0,t.jsx)(c.T,{children:"key, model"})}),model:(0,t.jsx)("span",{className:"font-mono text-destructive",children:(0,t.jsx)(c.T,{children:"model"})}),other:null};function y(e){let i,a,o,s,l,c,u=(0,r.c)(17),{example:f}=e,h=(0,d.f)(),p=f.modelAnswer===f.correctAnswer,m=p?"bg-chart-1/15 text-chart-1":"bg-destructive/10 text-destructive";u[0]!==m?(i=(0,n.f)("rounded-full px-2 py-0.5 font-mono",m),u[0]=m,u[1]=i):i=u[1],u[2]!==f.modelAnswer||u[3]!==h?(a=h("answered {answer}",{answer:f.modelAnswer}),u[2]=f.modelAnswer,u[3]=h,u[4]=a):a=u[4];let b=p?"✓":"✗";return u[5]!==i||u[6]!==a||u[7]!==b?(o=(0,t.jsxs)("span",{className:i,children:[a," ",b]}),u[5]=i,u[6]=a,u[7]=b,u[8]=o):o=u[8],u[9]!==f.correctAnswer||u[10]!==h?(s=h("key {answer}",{answer:f.correctAnswer}),u[9]=f.correctAnswer,u[10]=h,u[11]=s):s=u[11],u[12]!==s?(l=(0,t.jsx)("span",{className:"rounded-full bg-muted px-2 py-0.5 font-mono text-muted-foreground",children:s}),u[12]=s,u[13]=l):l=u[13],u[14]!==o||u[15]!==l?(c=(0,t.jsxs)("div",{className:"flex flex-wrap gap-1.5 text-xs",children:[o,l]}),u[14]=o,u[15]=l,u[16]=c):c=u[16],c}function w(e){let n,i=(0,r.c)(2),{text:a}=e;return i[0]!==a?(n=(0,t.jsx)("div",{className:"whitespace-pre-wrap rounded-md bg-muted/50 p-3 text-xs leading-relaxed text-foreground",children:a}),i[0]=a,i[1]=n):n=i[1],n}e.s(["VgiBenchExamples",0,function(e){let n,i,a=(0,r.c)(4),{examples:o}=e;return a[0]!==o?(n=o.map(p),a[0]=o,a[1]=n):n=a[1],a[2]!==n?(i=(0,t.jsx)(f.f,{benchmark:"vgi-bench",examples:n,Panel:m}),a[2]=n,a[3]=i):i=a[3],i}],98560)},65474,e=>{"use strict";var t=e.i(659350),r=e.i(663456);e.i(707060);var n=e.i(288265),i=e.i(414374);e.s(["VgiComparisonCharts",0,function(e){let a,o,s,l,c,d,u,f,h=(0,r.c)(23),{models:p}=e,m=(0,n.f)();return h[0]!==m?(a=m("Representative-run accuracy, best first."),h[0]=m,h[1]=a):a=h[1],h[2]!==m?(o=m("Accuracy"),h[2]=m,h[3]=o):o=h[3],h[4]!==m?(s=m("Average cost per question, cheapest first."),h[4]=m,h[5]=s):s=h[5],h[6]!==m?(l=m("Cost per question"),h[6]=m,h[7]=l):l=h[7],h[8]!==m?(c=m("Average wall-clock time per question, fastest first."),h[8]=m,h[9]=c):c=h[9],h[10]!==m?(d=m("Time per question"),h[10]=m,h[11]=d):d=h[11],h[12]!==m?(u=m("question"),h[12]=m,h[13]=u):u=h[13],h[14]!==p||h[15]!==a||h[16]!==o||h[17]!==s||h[18]!==l||h[19]!==c||h[20]!==d||h[21]!==u?(f=(0,t.jsx)(i.Tau2ComparisonCharts,{accuracyDescription:a,accuracyTitle:o,benchmark:"vgi-bench",costDescription:s,costTitle:l,durationDescription:c,durationTitle:d,metricLabel:u,models:p}),h[14]=p,h[15]=a,h[16]=o,h[17]=s,h[18]=l,h[19]=c,h[20]=d,h[21]=u,h[22]=f):f=h[22],f}])},979958,e=>{"use strict";var t=e.i(659350),r=e.i(663456);e.i(707060);var n=e.i(387086),i=e.i(309821),a=e.i(651681);let o={name:"film",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M3 7.5h4",key:"zfgn84"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 16.5h4",key:"1230mu"}],["path",{d:"M17 3v18",key:"in4fa5"}],["path",{d:"M17 7.5h4",key:"myr1c1"}],["path",{d:"M17 16.5h4",key:"go4c1d"}]]};o.node;let s=(0,a.f)(o);var l=e.i(150080),c=e.i(693502),d=e.i(983330),u=e.i(94277);let f=[{id:"comparison",label:(0,n.b)("Model comparison"),icon:i.f},{id:"cost-efficiency",label:(0,n.b)("Cost efficiency"),icon:c.f},{id:"leaderboard",label:(0,n.b)("Leaderboard"),icon:l.f}],h=[{id:"examples",label:(0,n.b)("Trajectories"),icon:s}];e.s(["VgiSectionNav",0,function(e){let n,i,a,o=(0,r.c)(9),{hasData:s,children:l}=e,c=(0,u.f)();o[0]!==c?(n=c(f),o[0]=c,o[1]=n):n=o[1];let p=n;o[2]!==c?(i=c(h),o[2]=c,o[3]=i):i=o[3];let m=i;return o[4]!==l||o[5]!==p||o[6]!==s||o[7]!==m?(a=(0,t.jsx)(d.f,{dataSections:p,staticSections:m,hasData:s,children:l}),o[4]=l,o[5]=p,o[6]=s,o[7]=m,o[8]=a):a=o[8],a}],979958)}]); //# sourceMappingURL=2am5zou6ohhln.js.map