(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),a=e.i(531893);let n=()=>()=>{},i=()=>!0,o=()=>!1,s=(0,a.f)(18)?function(){return(0,r.useSyncExternalStore)(n,i,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 u=e.i(365235),c=e.i(659350);e.s(["f",0,function(e){let{script:t}=e,{nonce:r}=(0,u.f)();return l()?(0,c.jsx)("script",{nonce:r,dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0}):null}],856465)},109534,e=>{"use strict";var t=e.i(16043);let r=t.forwardRef(function({title:e,titleId:r,...a},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"}))});e.s(["f",0,r],109534)},279496,e=>{"use strict";var t=e.i(16043);let r=t.forwardRef(function({title:e,titleId:r,...a},n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))});e.s(["f",0,r],279496)},783326,e=>{"use strict";var t=e.i(651681);e.s(["f",()=>t.f])},917023,e=>{"use strict";var t=e.i(651681);let r={name:"audio-lines",size:24,node:[["path",{d:"M2 10v3",key:"1fnikh"}],["path",{d:"M6 6v11",key:"11sgs0"}],["path",{d:"M10 3v18",key:"yhl04a"}],["path",{d:"M14 8v7",key:"3a1oy3"}],["path",{d:"M18 5v13",key:"123xd1"}],["path",{d:"M22 10v3",key:"154ddg"}]]};r.node;let a=(0,t.f)(r);e.s(["f",0,a],917023)},706999,e=>{"use strict";var t=e.i(651681);let r={name:"gavel",size:24,node:[["path",{d:"m14 13-8.381 8.38a1 1 0 0 1-3.001-3l8.384-8.381",key:"pgg06f"}],["path",{d:"m16 16 6-6",key:"vzrcl6"}],["path",{d:"m21.5 10.5-8-8",key:"a17d9x"}],["path",{d:"m8 8 6-6",key:"18bi4p"}],["path",{d:"m8.5 7.5 8 8",key:"1oyaui"}]]};r.node;let a=(0,t.f)(r);e.s(["f",0,a],706999)},257723,734824,e=>{"use strict";var t=e.i(651681);let r={name:"image",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]};r.node;let a=(0,t.f)(r);e.s(["f",0,a],734824),e.s(["f",0,a],257723)},782775,e=>{"use strict";var t=e.i(651681);let r={name:"layers",size:24,node:[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],aliases:["layers-3"]};r.node;let a=(0,t.f)(r);e.s(["f",0,a])},472089,e=>{"use strict";var t=e.i(651681);let r={name:"mic",size:24,node:[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]]};r.node;let a=(0,t.f)(r);e.s(["f",0,a],472089)},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 a=(0,t.f)(r);e.s(["f",0,a],58991)},529809,e=>{"use strict";var t=e.i(651681);let r={name:"speech",size:24,node:[["path",{d:"M8.8 20v-4.1l1.9.2a2.3 2.3 0 0 0 2.164-2.1V8.3A5.37 5.37 0 0 0 2 8.25c0 2.8.656 3.054 1 4.55a5.77 5.77 0 0 1 .029 2.758L2 20",key:"11atix"}],["path",{d:"M19.8 17.8a7.5 7.5 0 0 0 .003-10.603",key:"yol142"}],["path",{d:"M17 15a3.5 3.5 0 0 0-.025-4.975",key:"ssbmkc"}]]};r.node;let a=(0,t.f)(r);e.s(["f",0,a],529809)},99938,e=>{"use strict";var t=e.i(651681);let r={name:"type",size:24,node:[["path",{d:"M12 4v16",key:"1654pz"}],["path",{d:"M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",key:"e0r10z"}],["path",{d:"M9 20h6",key:"s66wpe"}]]};r.node;let a=(0,t.f)(r);e.s(["f",0,a],99938)},288087,e=>{"use strict";var t=e.i(651681);let r={name:"video",size:24,node:[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]};r.node;let a=(0,t.f)(r);e.s(["f",0,a],288087)},153722,e=>{"use strict";e.s(["z",0,function(e){let t=e.split("/")[0];if(!t)return null;let r=t.startsWith("~")?t.slice(1):t;return 0===r.length?null:r},"O",0,function(e){if(!e.startsWith("~")||!e.endsWith("-latest"))return!1;let[t,...r]=e.slice(1).split("/");if(!t||0===r.length)return!1;let a=r.join("/");return 0!==a.length&&"-latest"!==a}])},340351,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(136562);let n=e=>{let n,i,o,s=(0,r.c)(7);if(s[0]!==e){let{node:t,...r}=e;n=r,s[0]=e,s[1]=n}else n=s[1];return s[2]!==n.className?(i=(0,a.f)("mb-3 whitespace-pre-wrap break-words leading-6 last:mb-0",n.className),s[2]=n.className,s[3]=i):i=s[3],s[4]!==n||s[5]!==i?(o=(0,t.jsx)("p",{...n,className:i}),s[4]=n,s[5]=i,s[6]=o):o=s[6],o},i=e=>{let n,i,o,s=(0,r.c)(7);if(s[0]!==e){let{node:t,...r}=e;n=r,s[0]=e,s[1]=n}else n=s[1];return s[2]!==n.className?(i=(0,a.f)("whitespace-normal",n.className),s[2]=n.className,s[3]=i):i=s[3],s[4]!==n||s[5]!==i?(o=(0,t.jsx)("li",{...n,className:i}),s[4]=n,s[5]=i,s[6]=o):o=s[6],o},o=e=>{let n,i,o,s=(0,r.c)(7);if(s[0]!==e){let{node:t,...r}=e;n=r,s[0]=e,s[1]=n}else n=s[1];return s[2]!==n.className?(i=(0,a.f)("min-w-full overflow-hidden rounded-lg border border-current",n.className),s[2]=n.className,s[3]=i):i=s[3],s[4]!==n||s[5]!==i?(o=(0,t.jsx)("table",{...n,className:i}),s[4]=n,s[5]=i,s[6]=o):o=s[6],o},s=e=>{let n,i,o,s=(0,r.c)(7);if(s[0]!==e){let{node:t,...r}=e;n=r,s[0]=e,s[1]=n}else n=s[1];return s[2]!==n.className?(i=(0,a.f)("font-medium text-current",n.className),s[2]=n.className,s[3]=i):i=s[3],s[4]!==n||s[5]!==i?(o=(0,t.jsx)("h3",{...n,className:i,children:n.children}),s[4]=n,s[5]=i,s[6]=o):o=s[6],o},l=/\bicon\b/i;e.s(["Z",0,{p:n,ol:e=>{let n,i,o,s=(0,r.c)(7);if(s[0]!==e){let{node:t,...r}=e;n=r,s[0]=e,s[1]=n}else n=s[1];return s[2]!==n.className?(i=(0,a.f)("list-decimal pb-4 pl-8",n.className),s[2]=n.className,s[3]=i):i=s[3],s[4]!==n||s[5]!==i?(o=(0,t.jsx)("ol",{...n,className:i}),s[4]=n,s[5]=i,s[6]=o):o=s[6],o},ul:e=>{let n,i,o,s=(0,r.c)(7);if(s[0]!==e){let{node:t,...r}=e;n=r,s[0]=e,s[1]=n}else n=s[1];return s[2]!==n.className?(i=(0,a.f)("list-disc pb-4 pl-8",n.className),s[2]=n.className,s[3]=i):i=s[3],s[4]!==n||s[5]!==i?(o=(0,t.jsx)("ul",{...n,className:i}),s[4]=n,s[5]=i,s[6]=o):o=s[6],o},li:i,th:e=>{let n,i,o,s=(0,r.c)(7);if(s[0]!==e){let{node:t,...r}=e;n=r,s[0]=e,s[1]=n}else n=s[1];return s[2]!==n.className?(i=(0,a.f)("border border-current px-4 py-2",n.className),s[2]=n.className,s[3]=i):i=s[3],s[4]!==n||s[5]!==i?(o=(0,t.jsx)("th",{...n,className:i}),s[4]=n,s[5]=i,s[6]=o):o=s[6],o},td:e=>{let n,i,o,s=(0,r.c)(7);if(s[0]!==e){let{node:t,...r}=e;n=r,s[0]=e,s[1]=n}else n=s[1];return s[2]!==n.className?(i=(0,a.f)("border border-current px-4 py-2",n.className),s[2]=n.className,s[3]=i):i=s[3],s[4]!==n||s[5]!==i?(o=(0,t.jsx)("td",{...n,className:i}),s[4]=n,s[5]=i,s[6]=o):o=s[6],o},blockquote:e=>{let n,i,o,s=(0,r.c)(7);if(s[0]!==e){let{node:t,...r}=e;n=r,s[0]=e,s[1]=n}else n=s[1];return s[2]!==n.className?(i=(0,a.f)("border-l-2 border-slate-10 pl-4 italic text-slate-11",n.className),s[2]=n.className,s[3]=i):i=s[3],s[4]!==n||s[5]!==i?(o=(0,t.jsx)("blockquote",{...n,className:i}),s[4]=n,s[5]=i,s[6]=o):o=s[6],o},hr:e=>{let n,i,o,s=(0,r.c)(7);if(s[0]!==e){let{node:t,...r}=e;n=r,s[0]=e,s[1]=n}else n=s[1];return s[2]!==n.className?(i=(0,a.f)("border-current",n.className),s[2]=n.className,s[3]=i):i=s[3],s[4]!==n||s[5]!==i?(o=(0,t.jsx)("hr",{...n,className:i}),s[4]=n,s[5]=i,s[6]=o):o=s[6],o},table:o,h3:s},"u",0,s,"n",0,e=>{let n,i,o,s,u=(0,r.c)(11);if(u[0]!==e){let{node:t,...r}=e;n=r,u[0]=e,u[1]=n}else n=u[1];u[2]!==n.alt?(i=l.test(n.alt??""),u[2]=n.alt,u[3]=i):i=u[3];let c=i,d=n.alt||"";return u[4]!==c||u[5]!==n.className?(o=(0,a.f)(c?"!inline-block !h-[1.2em] !w-auto !align-text-bottom !my-0 !mx-0 !rounded-none !shadow-none":(0,a.f)("max-w-full h-auto rounded-lg shadow-sm","my-4 mx-auto block"),n.className),u[4]=c,u[5]=n.className,u[6]=o):o=u[6],u[7]!==n||u[8]!==d||u[9]!==o?(s=(0,t.jsx)("img",{...n,alt:d,className:o,loading:"lazy"}),u[7]=n,u[8]=d,u[9]=o,u[10]=s):s=u[10],s},"S",0,e=>{let n,i,o,s=(0,r.c)(7);if(s[0]!==e){let{node:t,...r}=e;n=r,s[0]=e,s[1]=n}else n=s[1];return s[2]!==n.className?(i=(0,a.f)("rounded-md bg-card-hover px-1.5 text-foreground",n.className),s[2]=n.className,s[3]=i):i=s[3],s[4]!==n||s[5]!==i?(o=(0,t.jsx)("code",{...n,className:i}),s[4]=n,s[5]=i,s[6]=o):o=s[6],o},"Y",0,i,"s",0,n,"K",0,o])},918331,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(16043),n=e.i(115370),i=e.i(389475),o=e.i(533124),s=e.i(82153),l=e.i(367898),u=e.i(223732),c=e.i(825086);function d(e){return{checked:t=>e.indeterminate?{}:t?{"data-checked":""}:{"data-unchecked":""},...c.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),g=e.i(176322),x=e.i(967090),k=e.i(446443),y=e.i(621441),w=e.i(76129),N=e.i(599096),j=e.i(461430);let C=a.createContext(void 0);var M=e.i(107397);let R=a.createContext(void 0);var I=e.i(132887),T=e.i(111407),V=e.i(957854);let S=a.forwardRef(function(e,r){let{checked:c,className:M,defaultChecked:S=!1,"aria-labelledby":E,disabled:L=!1,form:O,id:W,indeterminate:A=!1,inputRef:z,name:D,onCheckedChange:P,parent:_=!1,readOnly:$=!1,render:H,required:U=!1,uncheckedValue:q,value:B,nativeButton:F=!1,style:Z,...K}=e,{clearErrors:G}=(0,y.f)(),{disabled:Y,name:J,setDirty:X,setFilled:Q,setTouched:ee,state:et,validationMode:er,validityData:ea,validation:en}=(0,v.f)(),ei=(0,k.f)(),{labelId:eo,registerControlId:es,getDescriptionProps:el}=(0,w.f)(),eu=a.useContext(C),ec=eu?.allValues===void 0?void 0:eu.parent,ed=void 0!==ec,ef=Y||ei.disabled||eu?.disabled||L,eh=J??D,ep=B??eh,em=(0,p.f)(),eb=eu?.registerControlId!==es,ev=(0,j.f)({id:W||void 0,enabled:eb}),eg=F?ev:em,ex={};ed&&(_?ex=ec.getParentProps():void 0!==ep&&(ex=ec.getChildProps(ep)));let{checked:ek=c,indeterminate:ey=A,onCheckedChange:ew,...eN}=ex,ej=eu?.value,eC=a.useRef(null),eM=(0,g.f)(ef,eC),{getButtonProps:eR,buttonRef:eI}=(0,b.f)({disabled:ef,native:F}),eT=eu?.validation??en,[eV,eS]=(0,i.f)({controlled:void 0===ep||void 0===ej||_?ek:ej.includes(ep),default:S,name:"Checkbox",state:"checked"}),eE=ed?!!ek:eV,eL=ed&&ey||A;(0,x.f)(eC,em,eV,void 0,!eu&&!ef,D);let eO=ec?.registerChildId,eW=a.useRef(null),eA=eT.registerInput,ez=eu?ep:void 0,eD=a.useCallback(e=>eA(e,{controlRef:eC,value:ez}),[eA,ez]),eP=(0,s.A)(z,eW,_?void 0:eD),e_=(0,N.f)(E,eo,eW,!F,ev,K["aria-label"]);(0,o.f)(()=>{eW.current&&(eW.current.indeterminate=eL),eu||Q(eV)},[eV,eL,eu,Q]),(0,V.f)(eV,()=>{eu||(G(eh),X(eV!==ea.initialValue),eT.change(eV))});let e$=(0,m.w)({checked:eV,disabled:ef,form:O,name:_?void 0:eh,id:F?void 0:ev,required:U,ref:eP,style:eh?l.L:l.p,tabIndex:-1,type:"checkbox","aria-hidden":!0,onChange(e){if(e.nativeEvent.defaultPrevented)return;if($)return void e.preventDefault();let t=e.currentTarget.checked,r=(0,I.j)(T.f.none,e.nativeEvent);if((P?.(t,r),!r.isCanceled)&&(ew?.(t,r),!r.isCanceled&&(eS(t),void 0!==ep&&void 0!==eu&&!_&&!ed))){let e=t?[...eu.value,ep]:eu.value.filter(e=>e!==ep);eu.setValue(e,r)}},onClick(e){e.stopPropagation()},onFocus(){eC.current?.focus()}},void 0!==B?{value:(eu?eV&&B:B)||""}:n.w,el,e=>eT.getValidationProps(ef,e));a.useEffect(()=>{if(!ec||void 0===ep)return;let e=ec.disabledStatesRef.current;return e.set(ep,ef),()=>{e.delete(ep)}},[ec,ef,ep]);let eH=a.useMemo(()=>({...et,checked:eE,disabled:ef,readOnly:$,required:U,indeterminate:eL}),[et,eE,ef,$,U,eL]),eU=d(eH),eq=(0,h.a)("span",e,{state:eH,ref:[eI,eC,r],props:[{id:eg,role:"checkbox","aria-checked":eL?"mixed":eE,"aria-readonly":$||void 0,"aria-required":U||void 0,"aria-labelledby":e_,"data-parent":_?"":void 0,onFocus(){eM(!0)},onBlur(){let e=eW.current;e&&(ee(!0),eM(!1),"onBlur"===er&&eT.commit(eu?ej:e.checked))},onKeyDown(e){if("Enter"!==e.key||(e.preventBaseUIHandler(),e.defaultPrevented))return;let t=eW.current?.form??null,r=e.currentTarget,a=e.nativeEvent,n=e.preventDefault,i=a.preventDefault,o=!1;e.preventDefault=()=>{o=!0,n.call(e)},a.preventDefault=()=>{o=!0,i.call(a)},i.call(a),(0,u.f)(r).queueMicrotask(()=>{e.preventDefault=n,a.preventDefault=i,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($||ef)return;e.preventDefault();let t=eW.current;t&&(0,f.f)(t,e)}},K,eN,eR,el,e=>eT.getValidationProps(ef,e)],stateAttributesMapping:eU}),eB=eq.props.id;return(0,o.f)(()=>{if(eO&&!_&&void 0!==ep&&void 0!==eB)return eO(ep,eB)},[eO,_,ep,eB]),(0,t.jsxs)(R.Provider,{value:eH,children:[eq,!eV&&!eu&&eh&&!_&&void 0!==q&&(0,t.jsx)("input",{type:"hidden",form:O,name:eh,value:q,disabled:ef}),(0,t.jsx)("input",{...e$,suppressHydrationWarning:!0})]})});var E=e.i(692933),L=e.i(288646),O=e.i(240070);let W=a.forwardRef(function(e,t){let{render:r,className:n,style:i,keepMounted:o=!1,...s}=e,l=function(){let e=a.useContext(R);if(void 0===e)throw Error((0,M.f)(14));return e}(),u=l.checked||l.indeterminate,{mounted:c,transitionStatus:f,setMounted:p}=(0,L.f)(u),m=a.useRef(null),b={...l,transitionStatus:f};(0,E.f)({batch:!0,enabled:!u,open:u,ref:m,onComplete(){u||p(!1)}});let v={...d(l),...O.f},g=(0,h.a)("span",e,{ref:[t,m],state:b,stateAttributesMapping:v,props:s});return o||c?g:null});e.s(["Indicator",0,W,"Root",0,S],756224);var A=e.i(756224),A=A,z=A,D=e.i(872635),P=e.i(58991),_=e.i(136562);let $="transition-[stroke-dashoffset] duration-quick ease-smooth-out motion-reduce:transition-none";e.s(["f",0,function(e){let a,n,i,o,s,l,u,c,d,f,h=(0,r.c)(20);h[0]!==e?({className:n,checked:a,onCheckedChange:i,ref:s,...o}=e,h[0]=e,h[1]=a,h[2]=n,h[3]=i,h[4]=o,h[5]=s):(a=h[1],n=h[2],i=h[3],o=h[4],s=h[5]);let p="indeterminate"===a,m=!!p||a;return h[6]!==n?(l=(0,_.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",n),h[6]=n,h[7]=l):l=h[7],h[8]!==p||h[9]!==i?(u=i?e=>{p?i(!0):i(e)}:void 0,h[8]=p,h[9]=i,h[10]=u):u=h[10],h[11]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)(D.f,{className:(0,_.f)("col-start-1 row-start-1 h-4 w-4 group-data-[indeterminate]/checkbox:hidden",$,"[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]=c):c=h[11],h[12]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsxs)(A.Indicator,{keepMounted:!0,className:"grid place-items-center text-current",children:[c,(0,t.jsx)(P.f,{className:(0,_.f)("col-start-1 row-start-1 h-4 w-4 group-data-[checked]/checkbox:hidden",$,"[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]=d):d=h[12],h[13]!==m||h[14]!==p||h[15]!==o||h[16]!==s||h[17]!==l||h[18]!==u?(f=(0,t.jsx)(z.Root,{ref:s,className:l,checked:m,indeterminate:p,onCheckedChange:u,...o,children:d}),h[13]=m,h[14]=p,h[15]=o,h[16]=s,h[17]=l,h[18]=u,h[19]=f):f=h[19],f}],918331)},912147,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(788843),n=e.i(136562),i=e.i(490112);e.s(["f",0,function(e){let o,s,l,u,c,d,f,h,p,m,b,v,g,x=(0,r.c)(28);x[0]!==e?({children:o,className:s,size:c,weight:h,icon:l,iconPosition:d,showExternalIcon:f,...u}=e,x[0]=e,x[1]=o,x[2]=s,x[3]=l,x[4]=u,x[5]=c,x[6]=d,x[7]=f,x[8]=h):(o=x[1],s=x[2],l=x[3],u=x[4],c=x[5],d=x[6],f=x[7],h=x[8]);let k=void 0===d?"end":d,y=void 0!==f&&f;x[9]!==l||x[10]!==y?(p=l??(y?(0,t.jsx)(a.f,{className:"inline size-3 align-[-1px]"}):null),x[9]=l,x[10]=y,x[11]=p):p=x[11];let w=p;return x[12]!==s||x[13]!==c||x[14]!==h?(m=(0,n.f)((0,i.X)({size:c,weight:h}),s),x[12]=s,x[13]=c,x[14]=h,x[15]=m):m=x[15],x[16]!==k||x[17]!==w?(b="start"===k&&w&&(0,t.jsx)("span",{className:"mr-0.5 inline-flex",children:w}),x[16]=k,x[17]=w,x[18]=b):b=x[18],x[19]!==k||x[20]!==w?(v="end"===k&&w&&(0,t.jsx)("span",{className:"ml-0.5 inline-flex",children:w}),x[19]=k,x[20]=w,x[21]=v):v=x[21],x[22]!==o||x[23]!==u||x[24]!==m||x[25]!==b||x[26]!==v?(g=(0,t.jsxs)("a",{className:m,...u,children:[b,o,v]}),x[22]=o,x[23]=u,x[24]=m,x[25]=b,x[26]=v,x[27]=g):g=x[27],g}])},771743,e=>{"use strict";var t,r=e.i(659350),a=e.i(663456),n=e.i(16043),i=e.i(389475),o=e.i(533124),s=e.i(815922),l=e.i(93836),u=e.i(700788),c=e.i(107397);let d=n.createContext(void 0);function f(){let e=n.useContext(d);if(void 0===e)throw Error((0,c.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 g=n.forwardRef(function(e,t){let{className:a,defaultValue:c=0,onValueChange:f,orientation:g="horizontal",render:y,value:w,style:N,...j}=e,C=void 0!==e.defaultValue,M=n.useRef([]),[R,I]=n.useState(()=>new Map),[T,V]=(0,i.f)({controlled:w,default:c,name:"Tabs",state:"value"}),S=void 0!==w,[E,L]=n.useState(()=>new Map),O=n.useRef(void 0),W=n.useCallback(e=>x(E,e),[E]),[A,z]=n.useState(()=>({previousValue:T,tabActivationDirection:"none"})),{previousValue:D,tabActivationDirection:P}=A,_=P,$=!1;D!==T&&(_=k(D,T,g,E),$=null!=D&&null!=T&&null==W(T));let H=$?D:T,U=D!==H||P!==_;(0,o.f)(()=>{U&&z({previousValue:H,tabActivationDirection:_})},[H,U,_]);let q=(0,s.f)((e,t)=>{t.activationDirection=k(T,e,g,E),f?.(e,t),t.isCanceled||V(()=>e)}),B=(0,s.f)((e,t)=>{f?.(e,(0,p.j)(t,void 0,void 0,{activationDirection:"none"}))}),F=(0,s.f)((e,t)=>(I(r=>{let a=new Map(r);return a.set(e,t),a}),()=>{I(r=>{if(r.get(e)!==t)return r;let a=new Map(r);return a.delete(e),a})})),Z=n.useCallback(e=>R.get(e),[R]),K=n.useCallback(e=>{for(let t of E.values())if(e===t.value)return t.id},[E]),G=n.useMemo(()=>({getTabElementBySelectedValue:W,getTabIdByPanelValue:K,getTabPanelIdByValue:Z,onValueChange:q,orientation:g,registerMountedTabPanel:F,setTabMap:L,tabActivationDirection:_,value:T}),[W,K,Z,q,g,F,L,_,T]),Y=n.useMemo(()=>{for(let e of E.values())if(e.value===T)return e},[E,T]),J=n.useMemo(()=>{for(let e of E.values())if(!e.disabled)return e.value},[E]),X=n.useRef(!C),Q=n.useRef(c),ee=n.useRef(C),et=n.useRef(!1);(0,o.f)(()=>{if(S)return;function e(e,t){V(()=>e),z({previousValue:e,tabActivationDirection:"none"}),B(e,t),X.current=!1}if(0===E.size){et.current&&null!==T&&!O.current?.isConnected&&e(null,b.missing);return}et.current=!0,O.current=E.keys().next().value;let t=Y?.disabled,r=null==Y&&null!==T;if(t||T!==Q.current||(ee.current=!1),ee.current&&t&&T===Q.current)return;let a=X.current;if(t||r){let r=J??null;if(T===r){X.current=!1;return}let n=b.missing;a?n=m.initial:t&&(n=v.f.disabled),e(r,n);return}a&&null!=Y&&(B(T,m.initial),X.current=!1)},[J,S,B,Y,V,E,T]);let er={orientation:g,tabActivationDirection:_},ea=(0,l.a)("div",e,{state:er,ref:t,props:j,stateAttributesMapping:h});return(0,r.jsx)(d.Provider,{value:G,children:(0,r.jsx)(u.f,{elementsRef:M,children:ea})})});function x(e,t){for(let[r,a]of e.entries())if(t===a.value)return r;return null}function k(e,t,r,a){if(null==e||null==t)return"none";let[n,i,o]="horizontal"===r?["left","left","right"]:["top","up","down"],s=x(a,e),l=x(a,t);if(null==s||null==l)return s!==l&&("number"==typeof e||"string"==typeof e)&&typeof e==typeof t?t>e?o:i:"none";let u=s.getBoundingClientRect()[n],c=l.getBoundingClientRect()[n];return cu?o:"none"}var y=e.i(997932),w=e.i(811673),N=e.i(225421),j=e.i(509208),C=e.i(5573),M=e.i(57140);let R=n.createContext(void 0);function I(){let e=n.useContext(R);if(void 0===e)throw Error((0,c.f)(65));return e}var T=e.i(111407),V=e.i(393298);let S=n.forwardRef(function(e,t){let{className:r,disabled:a=!1,render:i,value:u,id:c,nativeButton:d=!0,style:m,...b}=e,{value:v,getTabPanelIdByValue:g,onValueChange:x,orientation:k,tabActivationDirection:R}=f(),{activateOnFocus:S,registerTabResizeObserverElement:E,tabsListElement:L}=I(),{highlightedIndex:O,onHighlightedIndexChange:W}=(0,M.o)(),A=(0,w.f)(c),z=n.useMemo(()=>({disabled:a,id:A,value:u}),[a,A,u]),{compositeProps:D,compositeRef:P,index:_}=(0,C.f)({metadata:z}),$=u===v,H=n.useRef(!1),U=n.useRef(null),q=(0,s.f)(e=>{U.current?.(),U.current=e?E(e):null});(0,o.f)(()=>{if(H.current){H.current=!1;return}if($&&_>-1&&O!==_){if(null!=L){let e=(0,V.T)((0,y.f)(L));if(e&&(0,V.I)(L,e))return}a||W(_)}},[$,_,O,W,a,L]);let{getButtonProps:B,buttonRef:F}=(0,N.f)({disabled:a,native:d,focusableWhenDisabled:!0}),Z=g(u),K=n.useRef(!1),G=n.useRef(!1);function Y(e){x(u,(0,p.j)(T.f.none,e.nativeEvent,void 0,{activationDirection:"none"}))}return(0,l.a)("button",e,{state:{disabled:a,active:$,orientation:k,tabActivationDirection:R},ref:[t,F,P,q],props:[D,{role:"tab","aria-controls":Z,"aria-selected":$,id:A,onClick:function(e){$||a||Y(e)},onFocus:function(e){$||a||S&&(!K.current||G.current)&&Y(e)},onPointerDown:function(e){if($||a)return;K.current=!0,G.current=0===e.button;let t=(0,y.f)(e.currentTarget);function r(){K.current=!1,G.current=!1,t.removeEventListener("pointerup",r),t.removeEventListener("pointercancel",r)}t.addEventListener("pointerup",r),t.addEventListener("pointercancel",r)},[j.f]:$?"":void 0,onKeyDownCapture(){H.current=!0}},b,B],stateAttributesMapping:h})});var E=e.i(807257),L=e.i(445036),O=e.i(223732),W=e.i(150649),A=e.i(856465),z=e.i(365041),D=e.i(726628);let P={...h,activeTabPosition:()=>null,activeTabSize:()=>null},_=n.forwardRef(function(e,a){let{className:i,render:o,renderBeforeHydration:s=!1,style:u,...c}=e,{getTabElementBySelectedValue:d,orientation:h,tabActivationDirection:p,value:m}=f(),{tabsListElement:b,registerIndicatorUpdateListener:v}=I(),g=(0,L.f)();n.useEffect(()=>v(g),[v,g]);let x=0,k=0,y=0,w=0,N=0,j=0,C=!1;if(null!=m&&null!=b){let e=d(m);if(null!=e){C=!0;let{width:t,height:r}=(0,z.f)(e),{width:a,height:n}=(0,z.f)(b),i=e.getBoundingClientRect(),o=b.getBoundingClientRect(),s=a>0?o.width/a:1,l=n>0?o.height/n:1,u=function(e,t){let r=$(e),a=$(t),n=r.left-a.left-t.clientLeft,i=r.top-a.top-t.clientTop,o=(0,E.J)(e);for(;(0,E.E)(o)&&o!==t&&!(0,E.Z)(o);)n-=o.scrollLeft,i-=o.scrollTop,o=(0,E.J)(o);return{left:n,top:i}}(e,b);x=u.left,y=u.top;let c=(i.left-o.left)/s+b.scrollLeft-b.clientLeft,d=(i.top-o.top)/l+b.scrollTop-b.clientTop,f=function(e){let t=(0,O.f)(e).getComputedStyle(e),{x:r,y:a}=(0,D.f)(e,t),n=r,i=a,{translate:o}=t;if(o&&"none"!==o){let t=o.split(" ");n+=H(t[0],e.offsetWidth),i+=H(t[1],e.offsetHeight)}return{x:n,y:i}}(e);2>=Math.abs(c-f.x-x)&&2>=Math.abs(d-f.y-y)&&(x=c,y=d),N=t,j=r,k=b.scrollWidth-x-N,w=b.scrollHeight-y-j}}let M=C?{left:x,right:k,top:y,bottom:w}:null,R=C?{width:N,height:j}:null,T=C?{"--active-tab-left":`${x}px`,"--active-tab-right":`${k}px`,"--active-tab-top":`${y}px`,"--active-tab-bottom":`${w}px`,"--active-tab-width":`${N}px`,"--active-tab-height":`${j}px`}:void 0,V=C&&N>0&&j>0,S=(0,l.a)("span",e,{state:{orientation:h,activeTabPosition:M,activeTabSize:R,tabActivationDirection:p},ref:a,props:[{role:"presentation",style:T,hidden:!V},c,{suppressHydrationWarning:!0}],stateAttributesMapping:P});return null==m?null:(0,r.jsxs)(n.Fragment,{children:[S,s&&(t||(t=(0,r.jsx)(A.f,{script:W.f})))]})});function $(e){let t=0,r=0,a=e;for(;null!=a;){t+=a.offsetLeft,r+=a.offsetTop;let e=a.offsetParent;null!=e&&(t+=e.clientLeft,r+=e.clientTop),a=e}return{left:t,top:r}}function H(e,t){if(!e)return 0;let r=parseFloat(e);return Number.isFinite(r)?e.endsWith("%")?r/100*t:r:0}var U=e.i(245966),q=e.i(240070),B=e.i(692933),F=e.i(288646),Z=e.i(485997),K=e.i(691739),G=e.i(773183);K.f.startingStyle,G.f.endingStyle;let Y={...h,...q.f},J=n.forwardRef(function(e,t){let{className:r,value:a,render:i,keepMounted:s=!1,style:u,...c}=e,{value:d,getTabIdByPanelValue:h,orientation:p,tabActivationDirection:m,registerMountedTabPanel:b}=f(),v=(0,w.f)(),{ref:g,index:x}=(0,Z.f)(),k=a===d,{mounted:y,transitionStatus:N,setMounted:j}=(0,F.f)(k),C=!y,M=h(a),R=n.useRef(null),I=(0,l.a)("div",e,{state:{hidden:C,orientation:p,tabActivationDirection:m,transitionStatus:N},ref:[t,g,R],props:[{"aria-labelledby":M,hidden:C,id:v,role:"tabpanel",tabIndex:k?0:-1,inert:(0,U.f)(!k),"data-index":x},c],stateAttributesMapping:Y});return((0,B.f)({open:k,ref:R,onComplete(){k||j(!1)}}),(0,o.f)(()=>{if(null!=v&&(!C||s))return b(a,v)},[C,s,a,v,b]),s||y)?I:null});var X=e.i(115370),Q=e.i(587135);let ee=n.forwardRef(function(e,t){let{activateOnFocus:a=!1,className:i,loopFocus:l=!0,render:u,style:c,...d}=e,{orientation:p,setTabMap:m,tabActivationDirection:b}=f(),[v,g]=n.useState(0),[x,k]=n.useState(null),y=n.useRef(new Set),w=n.useRef(new Set),N=n.useRef(null);(0,o.f)(()=>{if("u"{y.current.forEach(e=>{e()})});return N.current=e,x&&e.observe(x),w.current.forEach(t=>{e.observe(t)}),()=>{e.disconnect(),N.current=null}},[x]);let j=(0,s.f)(e=>(y.current.add(e),()=>{y.current.delete(e)})),C=(0,s.f)(e=>(w.current.add(e),N.current?.observe(e),()=>{w.current.delete(e),N.current?.unobserve(e)})),M=n.useMemo(()=>({activateOnFocus:a,registerIndicatorUpdateListener:j,registerTabResizeObserverElement:C,tabsListElement:x}),[a,j,C,x]);return(0,r.jsx)(R.Provider,{value:M,children:(0,r.jsx)(Q.f,{render:u,className:i,style:c,state:{orientation:p,tabActivationDirection:b},refs:[t,k],props:[{"aria-orientation":"vertical"===p?"vertical":void 0,role:"tablist"},d],stateAttributesMapping:h,highlightedIndex:v,enableHomeAndEndKeys:!0,loopFocus:l,orientation:p,onHighlightedIndexChange:g,onMapChange:m,disabledIndices:X.v})})});e.s(["Indicator",0,_,"List",0,ee,"Panel",0,J,"Root",0,g,"Tab",0,S],308864);var et=e.i(308864),et=et,er=et,ea=et,en=et,ei=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"}}),eu=(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"}}),ec=(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"}}),ed=(0,n.createContext)("primary"),ef=(0,n.createContext)("default"),eh=(0,n.createContext)(!1);e.s(["i",0,function(e){let t,n,i,o,s,l=(0,a.c)(10);l[0]!==e?({variant:i,children:t,...n}=e,l[0]=e,l[1]=t,l[2]=n,l[3]=i):(t=l[1],n=l[2],i=l[3]);let u=void 0===i?"primary":i;return l[4]!==t||l[5]!==n?(o=(0,r.jsx)(et.Root,{...n,children:t}),l[4]=t,l[5]=n,l[6]=o):o=l[6],l[7]!==o||l[8]!==u?(s=(0,r.jsx)(ed,{value:u,children:o}),l[7]=o,l[8]=u,l[9]=s):s=l[9],s},"S",0,function(e){let t,n,i,o,s,l=(0,a.c)(10);return l[0]!==e?({className:t,ref:i,...n}=e,l[0]=e,l[1]=t,l[2]=n,l[3]=i):(t=l[1],n=l[2],i=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]!==n||l[7]!==i||l[8]!==o?(s=(0,r.jsx)(ei.Panel,{ref:i,className:o,...n}),l[6]=n,l[7]=i,l[8]=o,l[9]=s):s=l[9],s},"U",0,function(e){let t,i,o,s,l,u,c,d,f,h,p,m,b=(0,a.c)(27);b[0]!==e?({className:i,children:t,ref:s,size:l,shouldWrap:u,...o}=e,b[0]=e,b[1]=t,b[2]=i,b[3]=o,b[4]=s,b[5]=l,b[6]=u):(t=b[1],i=b[2],o=b[3],s=b[4],l=b[5],u=b[6]);let v=void 0===l?"default":l,g=void 0!==u&&u,x=(0,n.use)(ed);return b[7]!==i||b[8]!==g||b[9]!==x?(c=(0,es.f)(el({variant:x}),g&&"h-auto max-md:h-auto flex-wrap",i),b[7]=i,b[8]=g,b[9]=x,b[10]=c):c=b[10],b[11]!==x?(d=(0,es.f)(eu({variant:x})),b[11]=x,b[12]=d):d=b[12],b[13]!==d?(f=(0,r.jsx)(er.Indicator,{"data-tabs-indicator":"",className:d}),b[13]=d,b[14]=f):f=b[14],b[15]!==t||b[16]!==g?(h=(0,r.jsx)(eh,{value:g,children:t}),b[15]=t,b[16]=g,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]!==c||b[24]!==f||b[25]!==p?(m=(0,r.jsxs)(ea.List,{ref:s,className:c,...o,children:[f,p]}),b[21]=o,b[22]=s,b[23]=c,b[24]=f,b[25]=p,b[26]=m):m=b[26],m},"k",0,function(e){let t,i,o,s,l,u=(0,a.c)(13);u[0]!==e?({className:t,ref:o,...i}=e,u[0]=e,u[1]=t,u[2]=i,u[3]=o):(t=u[1],i=u[2],o=u[3]);let c=(0,n.use)(ed),d=(0,n.use)(ef),f=(0,n.use)(eh);return u[4]!==t||u[5]!==f||u[6]!==d||u[7]!==c?(s=(0,es.f)(ec({variant:c,size:d}),f&&"w-auto",t),u[4]=t,u[5]=f,u[6]=d,u[7]=c,u[8]=s):s=u[8],u[9]!==i||u[10]!==o||u[11]!==s?(l=(0,r.jsx)(en.Tab,{ref:o,className:s,...i}),u[9]=i,u[10]=o,u[11]=s,u[12]=l):l=u[12],l}],771743)},737980,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(288265),n=e.i(354896),i=e.i(16043),o=e.i(136562),s=e.i(105433);let l="data-overflow-tab";function u(e){return e.offsetWidth}var c=e.i(978242),d=e.i(967605);let f="rgb(0 0 0 / 0.2)",h="shrink-0 border-b-2 px-4 py-2 text-xs font-medium cursor-pointer outline-none focus-visible:bg-foreground/5",p="border-primary text-primary [[data-tabs-indicator]:not([hidden])~&]:border-transparent",m="border-transparent text-muted-foreground hover:text-accent-foreground",b="invisible absolute";function v(e){return e.id}function g(e){let i,s,l,u,f,v,g,x,k=(0,r.c)(33),{triggerRef:y,tabs:w,activeTab:N,onTabChange:j,prefetch:C,className:M}=e,R=(0,a.f)(),I=0===w.length;if(k[0]!==N||k[1]!==w){let e;k[3]!==N?(e=e=>e.id===N,k[3]=N,k[4]=e):e=k[4],i=w.some(e),k[0]=N,k[1]=w,k[2]=i}else i=k[2];let T=i,V=I||void 0,S=I?-1:void 0,E=T?p:m,L=I&&b;if(k[5]!==M||k[6]!==E||k[7]!==L?(s=(0,o.f)(h,"inline-flex items-center gap-1 transition-colors",M,E,L),k[5]=M,k[6]=E,k[7]=L,k[8]=s):s=k[8],k[9]!==R?(l=R("More"),k[9]=R,k[10]=l):l=k[10],k[11]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsx)(n.f,{className:"size-3.5"}),k[11]=u):u=k[11],k[12]!==T||k[13]!==V||k[14]!==S||k[15]!==s||k[16]!==l||k[17]!==y?(f=(0,t.jsxs)(c.X,{ref:y,role:"tab","aria-selected":T,"aria-hidden":V,tabIndex:S,className:s,children:[l,u]}),k[12]=T,k[13]=V,k[14]=S,k[15]=s,k[16]=l,k[17]=y,k[18]=f):f=k[18],k[19]!==N||k[20]!==j||k[21]!==C||k[22]!==w){let e;k[24]!==N||k[25]!==j||k[26]!==C?(e=e=>(0,t.jsx)(c.r,{className:(0,o.f)(e.id===N&&"text-primary",e.className),onClick:()=>j?.(e.id),render:void 0===e.href?void 0:(0,t.jsx)(d.Link,{href:e.href,replace:e.replace,prefetch:C}),children:e.label},e.id),k[24]=N,k[25]=j,k[26]=C,k[27]=e):e=k[27],v=w.map(e),k[19]=N,k[20]=j,k[21]=C,k[22]=w,k[23]=v}else v=k[23];return k[28]!==v?(g=(0,t.jsx)(c.L,{align:"end",children:v}),k[28]=v,k[29]=g):g=k[29],k[30]!==g||k[31]!==f?(x=(0,t.jsxs)(c.G,{children:[f,g]}),k[30]=g,k[31]=f,k[32]=x):x=k[32],x}function x(e){return e<=2?0:Math.min(e,32)}e.s(["f",0,function(e){let a,n,c,k,y,w,N,j,C,M,R,I,T,V,S,E,L,O=(0,r.c)(56),{tabs:W,activeTab:A,onTabChange:z,className:D,ariaLabel:P,prefetch:_,overflow:$,tabClassName:H}=e,U=void 0===_?"viewport":_,q=(E=(0,r.c)(2),L=(0,i.useRef)(null),E[0]===Symbol.for("react.memo_cache_sentinel")?(V=()=>{let e=L.current;if(!e)return;let t=function(){if(!e)return;let t=e.scrollWidth-e.clientWidth,r=x(e.scrollLeft),a=x(t-e.scrollLeft),n=t<=2?"":`linear-gradient(to right, ${f} 0, #000 ${r}px, #000 calc(100% - ${a}px), ${f} 100%)`;e.style.maskImage=n,e.style.webkitMaskImage=n};t(),e.addEventListener("scroll",t,{passive:!0});let r=new ResizeObserver(t);return r.observe(e),()=>{e.removeEventListener("scroll",t),r.disconnect()}},S=[],E[0]=V,E[1]=S):(V=E[0],S=E[1]),(0,i.useEffect)(V,S),L),B="menu"===(void 0===$?"scroll":$);O[0]!==W?(a=W.map(v),O[0]=W,O[1]=a):a=O[1];let{listRef:F,menuTriggerRef:Z,visibleCount:K}=function(e,t){let a,n,o,s,c=(0,r.c)(11),d=(0,i.useRef)(null),f=(0,i.useRef)(null),h=t.length;c[0]!==t?(a=t.join("\0"),c[0]=t,c[1]=a):a=c[1];let p=a,[m,b]=(0,i.useState)(h);return c[2]!==e||c[3]!==h?(n=()=>{let t=d.current,r=f.current;if(!e||!t||!r)return void b(h);let a=Array.from(t.querySelectorAll(`[${l}]`)),n=()=>{b(function({widths:e,availableWidth:t,triggerWidth:r}){if(e.reduce((e,t)=>e+t,0)<=t)return e.length;let a=0,n=0;for(let i of e){if(a+i+r>t)break;a+=i,n+=1}return n}({widths:a.map(u),availableWidth:t.clientWidth,triggerWidth:r.offsetWidth}))};n();let i=new ResizeObserver(n);for(let e of(i.observe(t),a))i.observe(e);return()=>{i.disconnect()}},c[2]=e,c[3]=h,c[4]=n):n=c[4],c[5]!==e||c[6]!==h||c[7]!==p?(o=[e,h,p],c[5]=e,c[6]=h,c[7]=p,c[8]=o):o=c[8],(0,i.useLayoutEffect)(n,o),c[9]!==m?(s={listRef:d,menuTriggerRef:f,visibleCount:m},c[9]=m,c[10]=s):s=c[10],s}(B,a);if(O[2]!==A||O[3]!==B||O[4]!==W||O[5]!==K){let e;n=B?W.slice(K):[],O[8]!==A?(e=e=>e.id===A,O[8]=A,O[9]=e):e=O[9],c=n.some(e),O[2]=A,O[3]=B,O[4]=W,O[5]=K,O[6]=n,O[7]=c}else n=O[6],c=O[7];let G=c?"__overflow-menu__":A;O[10]!==G||O[11]!==W?(k={activeKey:G,items:W},O[10]=G,O[11]=W,O[12]=k):k=O[12];let Y=(0,s.f)('[role="tab"][aria-selected="true"]:not([aria-hidden="true"])',k);O[13]!==D?(y=(0,o.f)("border-b border-border",D),O[13]=D,O[14]=y):y=O[14],O[15]!==F||O[16]!==q?(w=e=>{q.current=e,F.current=e},O[15]=F,O[16]=q,O[17]=w):w=O[17];let J=B?"overflow-hidden":"overflow-x-auto scrollbar-hide";if(O[18]!==J?(N=(0,o.f)("relative flex -mb-px",J),O[18]=J,O[19]=N):N=O[19],O[20]===Symbol.for("react.memo_cache_sentinel")?(j=(0,o.f)("pointer-events-none absolute bottom-0 left-0 h-0.5 bg-primary","w-(--active-tab-width) translate-x-(--active-tab-left)","transition-[translate,width] duration-fast ease-in-out-strong motion-reduce:transition-none"),O[20]=j):j=O[20],O[21]!==Y?(C=(0,t.jsx)("span",{ref:Y,"data-tabs-indicator":"",hidden:!0,"aria-hidden":!0,className:j}),O[21]=Y,O[22]=C):C=O[22],O[23]!==A||O[24]!==B||O[25]!==z||O[26]!==U||O[27]!==H||O[28]!==W||O[29]!==K){let e;O[31]!==A||O[32]!==B||O[33]!==z||O[34]!==U||O[35]!==H||O[36]!==K?(e=(e,r)=>{let a=A===e.id,n=B&&r>=K,i={role:"tab",id:e.buttonId,"aria-selected":a,"aria-controls":e.ariaControls,"aria-hidden":n||void 0,tabIndex:n?-1:void 0,[l]:B?"":void 0,onClick:()=>z?.(e.id),className:(0,o.f)(h,H,a?p:m,e.className,n&&b)};return void 0!==e.href?(0,t.jsx)(d.Link,{href:e.href,replace:e.replace,prefetch:U,...i,children:e.label},e.id):(0,t.jsx)("button",{type:"button",...i,className:(0,o.f)(i.className,"transition-colors"),children:e.label},e.id)},O[31]=A,O[32]=B,O[33]=z,O[34]=U,O[35]=H,O[36]=K,O[37]=e):e=O[37],M=W.map(e),O[23]=A,O[24]=B,O[25]=z,O[26]=U,O[27]=H,O[28]=W,O[29]=K,O[30]=M}else M=O[30];return O[38]!==A||O[39]!==B||O[40]!==Z||O[41]!==z||O[42]!==n||O[43]!==U||O[44]!==H?(R=B&&(0,t.jsx)(g,{triggerRef:Z,tabs:n,activeTab:A,onTabChange:z,prefetch:U,className:H}),O[38]=A,O[39]=B,O[40]=Z,O[41]=z,O[42]=n,O[43]=U,O[44]=H,O[45]=R):R=O[45],O[46]!==P||O[47]!==N||O[48]!==C||O[49]!==M||O[50]!==R||O[51]!==w?(I=(0,t.jsxs)("div",{ref:w,role:"tablist","aria-label":P,className:N,children:[C,M,R]}),O[46]=P,O[47]=N,O[48]=C,O[49]=M,O[50]=R,O[51]=w,O[52]=I):I=O[52],O[53]!==I||O[54]!==y?(T=(0,t.jsx)("div",{className:y,children:I}),O[53]=I,O[54]=y,O[55]=T):T=O[55],T}],737980)},885024,e=>{"use strict";var t,r,a,n=((t={}).Cards="cards",t.Table="table",t),i=((r={}).OneHour="1hr",r.OneDay="1d",r.OneWeek="1w",r.OneMonth="1mo",r.OneYear="1y",r),o=((a={}).OneMinute="forecast-1m",a.OneHour="forecast-1hr",a.OneDay="forecast-1d",a.OneWeek="forecast-1w",a.OneMonth="forecast-1mo",a);e.s(["n",()=>o,"N",()=>i,"P",()=>n])},943926,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(667417),n=e.i(773151),i=e.i(917023),o=e.i(706999),s=e.i(257723),l=e.i(472089),u=e.i(529809),c=e.i(99938),d=e.i(288087);let f=(0,e.i(783326).f)("boxes-single-path",[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z M7 16.5l-4.74-2.85 M7 16.5l5-3 M7 16.5v5.17 M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z M17 16.5l-5-3 M17 16.5l4.74-2.85 M17 16.5v5.17 M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z M12 8 7.26 5.15 M12 8l4.74-2.85 M12 13.5V8",key:"boxes-single-path"}]]);e.s(["f",0,function(e){let h=(0,r.c)(27),{className:p,modality:m,strokeWidth:b}=e,v=void 0===p?"w-4 h-4":p;switch(m){case a.j.Text:{let e;return h[0]!==v||h[1]!==b?(e=(0,t.jsx)(c.f,{className:v,strokeWidth:b}),h[0]=v,h[1]=b,h[2]=e):e=h[2],e}case a.j.Image:{let e;return h[3]!==v||h[4]!==b?(e=(0,t.jsx)(s.f,{className:v,strokeWidth:b}),h[3]=v,h[4]=b,h[5]=e):e=h[5],e}case a.j.Video:{let e;return h[6]!==v||h[7]!==b?(e=(0,t.jsx)(d.f,{className:v,strokeWidth:b}),h[6]=v,h[7]=b,h[8]=e):e=h[8],e}case a.j.Audio:{let e;return h[9]!==v||h[10]!==b?(e=(0,t.jsx)(i.f,{className:v,strokeWidth:b}),h[9]=v,h[10]=b,h[11]=e):e=h[11],e}case a.j.Embeddings:{let e;return h[12]!==v||h[13]!==b?(e=(0,t.jsx)(f,{className:v,strokeWidth:b}),h[12]=v,h[13]=b,h[14]=e):e=h[14],e}case a.j.Decisions:{let e;return h[15]!==v||h[16]!==b?(e=(0,t.jsx)(o.f,{className:v,strokeWidth:b}),h[15]=v,h[16]=b,h[17]=e):e=h[17],e}case a.j.Rerank:{let e;return h[18]!==v||h[19]!==b?(e=(0,t.jsx)(n.f,{className:v,strokeWidth:b}),h[18]=v,h[19]=b,h[20]=e):e=h[20],e}case a.j.TTS:{let e;return h[21]!==v||h[22]!==b?(e=(0,t.jsx)(u.f,{className:v,strokeWidth:b}),h[21]=v,h[22]=b,h[23]=e):e=h[23],e}case a.j.Transcription:{let e;return h[24]!==v||h[25]!==b?(e=(0,t.jsx)(l.f,{className:v,strokeWidth:b}),h[24]=v,h[25]=b,h[26]=e):e=h[26],e}default:return null}}],943926)},784374,e=>{"use strict";var t=e.i(659350),r=e.i(663456),a=e.i(340800),n=e.i(339814),i=e.i(138257),o=e.i(801103),s=e.i(304903);e.i(707060);var l=e.i(196991),u=e.i(153746);function c(e,t,r){let n=new Date(r.referenceMs),i=Date.UTC(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate())-864e5*n.getUTCDay()+864e5*e+d(t);return`${(0,a.C)(i,{...r,preset:"weekday"})??"—"} ${(0,a.P)(i,{...r,preset:"schedule"})??"—"}`}function d(e){return(60*Math.floor(e/100)+e%100)*6e4}e.s(["f",0,function(e){let f,h,p,m,b=(0,r.c)(13),{windows:v,exceptions:g}=e,x=(0,i.useLocale)(),k=(0,s.P)(),y=(0,o.m)();if(void 0===y){let e;return b[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("span",{children:"—"}),b[0]=e):e=b[0],e}if(b[1]!==g||b[2]!==x||b[3]!==y||b[4]!==k||b[5]!==v){let e={locale:x,timeZone:k,referenceMs:y};f=g?.length?function(e,t){if(!e.length)return"";let r=e.map(e=>`${c(e.start_utc_day,e.start_utc_clock,t)} – ${c(e.end_utc_day,e.end_utc_clock,t)}`);return`${(0,n.g)(r,{...t,style:"comma"})} ${(0,a.L)(t.referenceMs,t)??t.timeZone}`}(g,e):void 0,h=function(e,t){if(!e.length)return"";let r=new Date(t.referenceMs),i=Date.UTC(r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate()),o=e.map(e=>`${(0,a.P)(i+d(e.utc_start),{...t,preset:"schedule"})??"—"}–${(0,a.P)(i+d(e.utc_end),{...t,preset:"schedule"})??"—"}`);return`${(0,n.g)(o,{...t,style:"comma"})} ${(0,a.L)(t.referenceMs,t)??t.timeZone}`}(v,e),b[1]=g,b[2]=x,b[3]=y,b[4]=k,b[5]=v,b[6]=f,b[7]=h}else f=b[6],h=b[7];return b[8]!==f?(p=f&&(0,t.jsx)("span",{className:"block text-muted-foreground",children:(0,t.jsxs)(l.T,{children:["except ",(0,t.jsx)(u.d,{children:f})]})}),b[8]=f,b[9]=p):p=b[9],b[10]!==h||b[11]!==p?(m=(0,t.jsxs)("span",{children:[h,p]}),b[10]=h,b[11]=p,b[12]=m):m=b[12],m}])},192577,e=>{"use strict";e.i(707060);var t=e.i(387086);let r={"Audio Hours":(0,t.b)("Audio hours"),"Audio Input":(0,t.b)("Audio input"),"Audio Minutes":(0,t.b)("Audio minutes"),"Audio Seconds":(0,t.b)("Audio seconds"),"Cache Creation (5min)":(0,t.b)("Cache creation (5min)"),"Cache Read":(0,t.b)("Cache read"),"Cache Read (5min)":(0,t.b)("Cache read (5min)"),"Cache Write":(0,t.b)("Cache write"),"Cache Write (1h)":(0,t.b)("Cache write (1h)"),Characters:(0,t.b)("Characters"),"Code Execution":(0,t.b)("Code execution"),"File Input":(0,t.b)("File input"),"HDR Video Output":(0,t.b)("HDR video output"),"Image Input":(0,t.b)("Image input"),"Image Output":(0,t.b)("Image output"),"Image Price":(0,t.b)("Image"),"Image to Video":(0,t.b)("Image to video"),"Image Tokens":(0,t.b)("Image tokens"),"Input Audio":(0,t.b)("Input audio"),"Input Audio Cache":(0,t.b)("Input audio cache"),"Input Image":(0,t.b)("Input image"),"Input Price":(0,t.b)("Input"),"Input Text":(0,t.b)("Input text"),"Input Text Cache":(0,t.b)("Input text cache"),"Input tokens":(0,t.b)("Input tokens"),"Large source":(0,t.b)("Large source"),"Output Audio":(0,t.b)("Output audio"),"Output Image":(0,t.b)("Output image"),"Output Price":(0,t.b)("Output"),"Output Text":(0,t.b)("Output text"),Request:(0,t.b)("Request"),"Search units":(0,t.b)("Search units"),"Song Generation":(0,t.b)("Song generation"),"Standard source":(0,t.b)("Standard source"),"SVG Output":(0,t.b)("SVG output"),"Text Input":(0,t.b)("Text input"),"Text to Video":(0,t.b)("Text to video"),"UTF-8 Bytes":(0,t.b)("UTF-8 bytes"),"Video (no audio)":(0,t.b)("Video (no audio)"),"Video (with audio)":(0,t.b)("Video (with audio)"),"Video Edit Output":(0,t.b)("Video edit output"),"Video Generation":(0,t.b)("Video generation"),"Video Input":(0,t.b)("Video input"),"Video Output":(0,t.b)("Video output"),"Video Tokens (no audio)":(0,t.b)("Video tokens (no audio)"),"Video Tokens (with audio)":(0,t.b)("Video tokens (with audio)"),"Video Tokens (with video input)":(0,t.b)("Video tokens (with video input)"),"Video Upscale Output":(0,t.b)("Video upscale output"),"Web Search":(0,t.b)("Web search")};e.s(["f",0,function(e,t){let a=r[t];return void 0===a?t:e(a)}])},368823,e=>{"use strict";var t=e.i(663456),r=e.i(687186),a=e.i(16043);let n="#workspace-page-header, #dashboard-detail-page-header";function i(){let e=document.querySelector("[data-mobile-page-picker]");return e?[...(0,r.b)(),e]:(0,r.b)()}function o(e){return e.reduce((e,t)=>e+t.offsetHeight,0)}e.s(["u",0,function(e){let r,n,s,l=(0,t.c)(5);l[0]!==e?(r=void 0===e?{}:e,l[0]=e,l[1]=r):r=l[1];let{enabled:u}=r,c=void 0===u||u,[d,f]=(0,a.useState)(0);return l[2]!==c?(n=()=>{if(!c)return;let e=document.querySelector("#main-nav"),t=i(),r=()=>{f((e?.offsetHeight??0)+o(t))};r();let a=new ResizeObserver(r);return e&&a.observe(e),t.forEach(e=>a.observe(e)),()=>a.disconnect()},s=[c],l[2]=c,l[3]=n,l[4]=s):(n=l[3],s=l[4]),(0,a.useEffect)(n,s),d},"r",0,function(e,r){let s,l,u=(0,t.c)(5),[c,d]=(0,a.useState)(!1);return u[0]!==e?(s=()=>{let t=document.querySelector("#main-nav"),r=i(),a=document.querySelector(n),s=()=>{let n=t?.offsetHeight??0,i=o(r),s=a?.offsetHeight??0;d(null!==a),e.current?.style.setProperty("--sticky-offset",`${i+n+s+32}px`)},l=new ResizeObserver(s);t&&l.observe(t),r.forEach(e=>l.observe(e)),a&&l.observe(a);let u=new MutationObserver(()=>{let e=document.querySelector(n);e!==a&&(a&&l.unobserve(a),(a=e)&&l.observe(a),s())});return u.observe(e.current??document.body,{childList:!0,subtree:!0}),s(),()=>{l.disconnect(),u.disconnect()}},u[0]=e,u[1]=s):s=u[1],u[2]!==e||u[3]!==r?(l=[e,r],u[2]=e,u[3]=r,u[4]=l):l=u[4],(0,a.useEffect)(s,l),c}])}]); //# sourceMappingURL=2ai8ght6tci0_.js.map