!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a09e9c-6e03-70f0-8e02-ca628c074de5")}catch(e){}}();(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,512357,741485,58115,e=>{"use strict";var t=e.i(270401),r=e.i(120102),n=e.i(86222),i=e.i(228876),a=e.i(361409),o=e.i(192291),l=e.i(271710),c=e.i(365054),s=e.i(686738),u=e.i(302113),d=e.i(991066),g=e.i(939550),m=e.i(467219),f=e.i(846755),v=e.i(861187);function h(e,t,r){switch(e){case"vertical":return t;case"horizontal":return r;default:return t||r}}function p(e,t){return h(t,e===v.ARROW_UP||e===v.ARROW_DOWN,e===v.ARROW_LEFT||e===v.ARROW_RIGHT)}function w(e,t,r){return h(t,e===v.ARROW_DOWN,r?e===v.ARROW_LEFT:e===v.ARROW_RIGHT)||"Enter"===e||" "===e||""===e}e.s(["useListNavigation",0,function(e,b){let I="rootStore"in e?e.rootStore:e,x=I.useState("open"),U=I.useState("floatingElement"),N=I.useState("domReferenceElement"),F=I.context.dataRef,{listRef:y,activeIndex:k,onNavigate:L=()=>{},enabled:R=!0,selectedIndex:S=null,allowEscape:E=!1,loopFocus:C=!1,nested:O=!1,rtl:P=!1,virtual:A=!1,focusItemOnOpen:T="auto",focusItemOnHover:M=!0,openOnArrowKeyDown:_=!0,disabledIndices:D,orientation:j="vertical",parentOrientation:W,cols:z=1,id:G,resetOnPointerLeave:V=!0,externalTree:H}=b,$=(0,c.getFloatingFocusElement)(U),K=(0,n.useValueAsRef)($),B=(0,d.useFloatingParentNodeId)(),q=(0,d.useFloatingTree)(H);(0,a.useIsoLayoutEffect)(()=>{F.current.orientation=j},[F,j]);let Y=(0,c.isTypeableCombobox)(N),Z=t.useRef(T),J=t.useRef(S??-1),Q=t.useRef(null),X=t.useRef(!0),ee=(0,i.useStableCallback)(e=>{L(-1===J.current?null:J.current,e)}),et=t.useRef(ee),er=t.useRef(!!U),en=t.useRef(x),ei=t.useRef(!1),ea=t.useRef(!1),eo=t.useRef(null),el=(0,n.useValueAsRef)(D),ec=(0,n.useValueAsRef)(x),es=(0,n.useValueAsRef)(S),eu=(0,n.useValueAsRef)(V),ed=(0,i.useStableCallback)(()=>{function e(e){A?q?.events.emit("virtualfocus",e):eo.current=(0,f.enqueueFocus)(e,{sync:ei.current,preventScroll:!0})}let t=y.current[J.current],r=ea.current;t&&e(t),(ei.current?e=>e():requestAnimationFrame)(()=>{let n=y.current[J.current]||t;!n||(t||e(n),ef&&(r||!X.current)&&n.scrollIntoView?.({block:"nearest",inline:"nearest"}))})});(0,a.useIsoLayoutEffect)(()=>{R&&(x&&U?(J.current=S??-1,Z.current&&null!=S&&(ea.current=!0,ee())):er.current&&(J.current=-1,et.current()))},[R,x,U,S,ee]),(0,a.useIsoLayoutEffect)(()=>{if(R){if(!x){ei.current=!1;return}if(U)if(null==k){if(ei.current=!1,null!=es.current)return;if(er.current&&(J.current=-1,ed()),(!en.current||!er.current)&&Z.current&&(null!=Q.current||!0===Z.current&&null==Q.current)){let e=0,t=()=>{null==y.current[0]?(e<2&&(e?requestAnimationFrame:queueMicrotask)(t),e+=1):(J.current=null==Q.current||w(Q.current,j,P)||O?(0,u.getMinListIndex)(y):(0,u.getMaxListIndex)(y),Q.current=null,ee())};t()}}else(0,u.isIndexOutOfListBounds)(y.current,k)||(J.current=k,ed(),ea.current=!1)}},[R,x,U,k,es,O,y,j,P,ee,ed,el]),(0,a.useIsoLayoutEffect)(()=>{if(!R||U||!q||A||!er.current)return;let e=q.nodesRef.current,t=e.find(e=>e.id===B)?.context?.elements.floating,r=(0,l.activeElement)((0,o.ownerDocument)(U)),n=e.some(e=>e.context&&(0,l.contains)(e.context.elements.floating,r));t&&!n&&X.current&&t.focus({preventScroll:!0})},[R,U,q,B,A]),(0,a.useIsoLayoutEffect)(()=>{et.current=ee,en.current=x,er.current=!!U}),(0,a.useIsoLayoutEffect)(()=>{x||(Q.current=null,Z.current=T)},[x,T]);let eg=null!=k,em=(0,i.useStableCallback)(e=>{if(!ec.current)return;let t=y.current.indexOf(e.currentTarget);-1!==t&&(J.current!==t||k!==t)&&(J.current=t,ee(e))}),ef=t.useMemo(()=>({onFocus(e){ei.current=!0,em(e)},onClick:({currentTarget:e})=>e.focus({preventScroll:!0}),onMouseMove(e){ei.current=!0,ea.current=!1,M&&em(e)},onPointerLeave(e){if(!ec.current||!X.current||"touch"===e.pointerType)return;ei.current=!0;let t=e.relatedTarget;if(!(!M||y.current.includes(t))&&eu.current&&(eo.current?.(),eo.current=null,J.current=-1,ee(e),!A)){let e=K.current,t=(0,l.activeElement)((0,o.ownerDocument)(e));e&&(0,l.contains)(e,t)&&e.focus({preventScroll:!0})}}}),[em,ec,K,M,y,ee,eu,A]),ev=t.useCallback(()=>W??q?.nodesRef.current.find(e=>e.id===B)?.context?.dataRef?.current.orientation,[B,q,W]),eh=(0,i.useStableCallback)(e=>{var t;let n,i;if(X.current=!1,ei.current=!0,229===e.which||!ec.current&&e.currentTarget===K.current)return;if(O&&(t=e.key,n=P?t===v.ARROW_RIGHT:t===v.ARROW_LEFT,i=t===v.ARROW_UP,"both"===j||"horizontal"===j&&z&&z>1?"Escape"===t:h(j,n,i))){p(e.key,ev())||(0,s.stopEvent)(e),I.setOpen(!1,(0,g.createChangeEventDetails)(m.REASONS.listNavigation,e.nativeEvent)),(0,r.isHTMLElement)(N)&&(A?q?.events.emit("virtualfocus",N):N.focus());return}let a=J.current,o=(0,u.getMinListIndex)(y,D),c=(0,u.getMaxListIndex)(y,D);if(Y||("Home"===e.key&&((0,s.stopEvent)(e),J.current=o,ee(e)),"End"===e.key&&((0,s.stopEvent)(e),J.current=c,ee(e))),z>1){let t=Array.from({length:y.current.length},()=>({width:1,height:1})),r=(0,u.createGridCellMap)(t,z,!1),n=r.findIndex(e=>null!=e&&!(0,u.isListIndexDisabled)(y.current,e,D)),i=r.reduce((e,t,r)=>null==t||(0,u.isListIndexDisabled)(y.current,t,D)?e:r,-1),a=r[(0,u.getGridNavigatedIndex)(r.map(e=>null!=e?y.current[e]:null),{event:e,orientation:j,loopFocus:C,rtl:P,cols:z,disabledIndices:(0,u.getGridCellIndices)([...("function"!=typeof D?D:null)||y.current.map((e,t)=>(0,u.isListIndexDisabled)(y.current,t,D)?t:void 0),void 0],r),minIndex:n,maxIndex:i,prevIndex:(0,u.getGridCellIndexOfCorner)(J.current>c?o:J.current,t,r,z,e.key===v.ARROW_DOWN?"bl":e.key===(P?v.ARROW_LEFT:v.ARROW_RIGHT)?"tr":"tl"),stopEvent:!0})];if(null!=a&&(J.current=a,ee(e)),"both"===j)return}if(p(e.key,j)){if((0,s.stopEvent)(e),x&&!A&&(0,l.activeElement)(e.currentTarget.ownerDocument)===e.currentTarget){J.current=w(e.key,j,P)?o:c,ee(e);return}w(e.key,j,P)?C?a>=c?E&&a!==y.current.length?J.current=-1:(ei.current=!1,J.current=o):J.current=(0,u.findNonDisabledListIndex)(y.current,{startingIndex:a,disabledIndices:D}):J.current=Math.min(c,(0,u.findNonDisabledListIndex)(y.current,{startingIndex:a,disabledIndices:D})):C?a<=o?E&&-1!==a?J.current=y.current.length:(ei.current=!1,J.current=c):J.current=(0,u.findNonDisabledListIndex)(y.current,{startingIndex:a,decrement:!0,disabledIndices:D}):J.current=Math.max(o,(0,u.findNonDisabledListIndex)(y.current,{startingIndex:a,decrement:!0,disabledIndices:D})),(0,u.isIndexOutOfListBounds)(y.current,J.current)&&(J.current=-1),ee(e)}}),ep=t.useMemo(()=>A&&x&&eg&&{"aria-activedescendant":`${G}-${k}`},[A,x,eg,G,k]),ew=t.useMemo(()=>({"aria-orientation":"both"===j?void 0:j,...!Y?ep:{},onKeyDown(e){if("Tab"===e.key&&e.shiftKey&&x&&!A){let t=(0,l.getTarget)(e.nativeEvent);if(t&&!(0,l.contains)(K.current,t))return;(0,s.stopEvent)(e),I.setOpen(!1,(0,g.createChangeEventDetails)(m.REASONS.focusOut,e.nativeEvent)),(0,r.isHTMLElement)(N)&&N.focus();return}eh(e)},onPointerMove(){X.current=!0}}),[ep,eh,K,j,Y,I,x,A,N]),eb=t.useMemo(()=>{function e(e){"auto"===T&&(0,s.isVirtualClick)(e.nativeEvent)&&(Z.current=!A)}function t(e){Z.current=T,"auto"===T&&(0,s.isVirtualPointerEvent)(e.nativeEvent)&&(Z.current=!0)}return{onKeyDown(e){var t,r;let n=I.select("open");X.current=!1;let i=e.key.startsWith("Arrow"),a=(t=e.key,r=ev(),h(r,P?t===v.ARROW_LEFT:t===v.ARROW_RIGHT,t===v.ARROW_DOWN)),o=p(e.key,j),l=(O?a:o)||"Enter"===e.key||""===e.key.trim();if(A&&n)return eh(e);if(n||_||!i){if(l){let t=p(e.key,ev());Q.current=O&&t?null:e.key}if(O){a&&((0,s.stopEvent)(e),n?(J.current=(0,u.getMinListIndex)(y,el.current),ee(e)):I.setOpen(!0,(0,g.createChangeEventDetails)(m.REASONS.listNavigation,e.nativeEvent,e.currentTarget)));return}o&&(null!=es.current&&(J.current=es.current),(0,s.stopEvent)(e),!n&&_?I.setOpen(!0,(0,g.createChangeEventDetails)(m.REASONS.listNavigation,e.nativeEvent,e.currentTarget)):eh(e),n&&ee(e))}},onFocus(e){I.select("open")&&!A&&(J.current=-1,ee(e))},onPointerDown:t,onPointerEnter:t,onMouseDown:e,onClick:e}},[eh,el,T,y,O,ee,I,_,j,ev,P,es,A]),eI=t.useMemo(()=>({...ep,...eb}),[ep,eb]);return t.useMemo(()=>R?{reference:eI,floating:ew,item:ef,trigger:eb}:{},[R,eI,ew,eb,ef])}],512357);var b=e.i(671695);e.s(["useTypeahead",0,function(e,r){let n="rootStore"in e?e.rootStore:e,o=n.context.dataRef,c=n.useState("open"),{listRef:d,elementsRef:g,activeIndex:m,onMatch:f,onTypingChange:v,enabled:h=!0,resetMs:p=750,selectedIndex:w=null}=r,I=(0,b.useTimeout)(),x=t.useRef(""),U=t.useRef(w??m??-1),N=t.useRef(null);(0,a.useIsoLayoutEffect)(()=>{(c||null===w)&&(I.clear(),N.current=null,""!==x.current&&(x.current=""))},[c,w,I]),(0,a.useIsoLayoutEffect)(()=>{c&&""===x.current&&(U.current=w??m??-1)},[c,w,m]);let F=(0,i.useStableCallback)(e=>{e?o.current.typing||(o.current.typing=e,v?.(e)):o.current.typing&&(o.current.typing=e,v?.(e))}),y=(0,i.useStableCallback)(e=>{function t(e,r,n=0){if(0===e.length)return -1;let i=(n%e.length+e.length)%e.length,a=r.toLocaleLowerCase();for(let t=0;t0&&" "===e.key&&((0,s.stopEvent)(e),F(!0)),x.current.length>0&&" "!==x.current[0]&&-1===t(r,x.current)&&" "!==e.key&&F(!1),null==r||1!==e.key.length||e.ctrlKey||e.metaKey||e.altKey)return;c&&" "!==e.key&&((0,s.stopEvent)(e),F(!0));let n=""===x.current;n&&(U.current=w??m??-1),r.every(e=>!e||e[0]?.toLocaleLowerCase()!==e[1]?.toLocaleLowerCase())&&x.current===e.key&&(x.current="",U.current=N.current),x.current+=e.key,I.start(p,()=>{x.current="",U.current=N.current,F(!1)});let i=n?w??m??-1:U.current,a=t(r,x.current,(i??0)+1);-1!==a?(f?.(a),N.current=a):" "!==e.key&&(x.current="",F(!1))}),k=(0,i.useStableCallback)(e=>{let t=e.relatedTarget,r=n.select("domReferenceElement"),i=n.select("floatingElement"),a=(0,l.contains)(r,t),o=(0,l.contains)(i,t);a||o||(I.clear(),x.current="",U.current=N.current,F(!1))}),L=t.useMemo(()=>({onKeyDown:y,onBlur:k}),[y,k]),R=t.useMemo(()=>({onKeyDown:y,onBlur:k}),[y,k]);return t.useMemo(()=>h?{reference:L,floating:R}:{},[h,L,R])}],741485);var I=e.i(281085);e.s(["getPseudoElementBounds",0,function(e){let t=e.getBoundingClientRect(),r=(0,I.ownerWindow)(e),n=r.getComputedStyle(e,"::before"),i=r.getComputedStyle(e,"::after");if("none"===n.content&&"none"===i.content)return t;let a=parseFloat(n.width)||0,o=parseFloat(n.height)||0,l=parseFloat(i.width)||0,c=parseFloat(i.height)||0,s=Math.max(t.width,a,l),u=Math.max(t.height,o,c),d=s-t.width,g=u-t.height;return{left:t.left-d/2,right:t.right+d/2,top:t.top-g/2,bottom:t.bottom+g/2}}],58115)},897464,e=>{"use strict";var t=e.i(270401),r=e.i(361409),n=e.i(761073);e.s(["useRegisterFieldControl",0,function(e,i){let{enabled:a=!0,getValue:o,id:l,value:c}=i,{registerFieldControl:s}=(0,n.useFieldRootContext)(),u=t.useRef(null);u.current||(u.current=Symbol()),(0,r.useIsoLayoutEffect)(()=>{let t=u.current;if(t&&a)return s(t,{controlRef:e,getValue:o,id:l,value:c}),()=>{s(t,void 0)}},[e,a,o,l,s,c])}])},761073,391699,e=>{"use strict";var t,r=e.i(397744),n=e.i(270401),i=e.i(618568);let a=((t={}).disabled="data-disabled",t.valid="data-valid",t.invalid="data-invalid",t.touched="data-touched",t.dirty="data-dirty",t.filled="data-filled",t.focused="data-focused",t),o={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},l={valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},c={disabled:!1,...l};e.s(["DEFAULT_FIELD_ROOT_STATE",0,c,"DEFAULT_FIELD_STATE_ATTRIBUTES",0,l,"DEFAULT_VALIDITY_STATE",0,o,"fieldValidityMapping",0,{valid:e=>null===e?null:e?{[a.valid]:""}:{[a.invalid]:""}}],391699);let s=n.createContext({invalid:void 0,name:void 0,validityData:{state:o,errors:[],error:"",value:"",initialValue:null},setValidityData:i.NOOP,disabled:void 0,touched:l.touched,setTouched:i.NOOP,dirty:l.dirty,setDirty:i.NOOP,filled:l.filled,setFilled:i.NOOP,focused:l.focused,setFocused:i.NOOP,validate:()=>null,validationMode:"onSubmit",validationDebounceTime:0,shouldValidateOnChange:()=>!1,state:c,markedDirtyRef:{current:!1},registerFieldControl:i.NOOP,validation:{getValidationProps:(e=i.EMPTY_OBJECT)=>e,getInputValidationProps:(e=i.EMPTY_OBJECT)=>e,inputRef:{current:null},commit:async()=>{}}});e.s(["useFieldRootContext",0,function(e=!0){let t=n.useContext(s);if(t.setValidityData===i.NOOP&&!e)throw Error((0,r.default)(28));return t}],761073)},965358,e=>{"use strict";var t=e.i(270401),r=e.i(618568);let n=t.createContext({formRef:{current:{fields:new Map}},errors:{},clearErrors:r.NOOP,validationMode:"onSubmit",submitAttemptedRef:{current:!1}});e.s(["useFormContext",0,function(){return t.useContext(n)}])},231152,e=>{"use strict";var t=e.i(270401),r=e.i(618568);let n=t.createContext({controlId:void 0,registerControlId:r.NOOP,labelId:void 0,setLabelId:r.NOOP,messageIds:[],setMessageIds:r.NOOP,getDescriptionProps:e=>e});e.s(["useLabelableContext",0,function(){return t.useContext(n)}])},540427,e=>{"use strict";var t=e.i(270401),r=e.i(281334);let n=t.forwardRef(function(e,t){let{className:n,render:i,orientation:a="horizontal",style:o,...l}=e;return(0,r.useRenderElement)("div",e,{state:{orientation:a},ref:t,props:[{role:"separator","aria-orientation":a},l]})});e.s(["Separator",0,n])},777246,e=>{"use strict";var t=e.i(397744),r=e.i(270401);let n=r.createContext(void 0);e.s(["useToolbarRootContext",0,function(e){let i=r.useContext(n);if(void 0===i&&!e)throw Error((0,t.default)(69));return i}])},922651,e=>{"use strict";var t=e.i(270401),r=e.i(192291),n=e.i(987950),i=e.i(361409);e.s(["useAnchoredPopupScrollLock",0,function(e,a,o,l){let[c,s]=t.useState(!1);(0,i.useIsoLayoutEffect)(()=>{if(!e||!a||null==o)return void s(!1);let t=(0,r.ownerDocument)(o).documentElement.clientWidth,n=o.offsetWidth;s(t>0&&n>0&&n>=t-20)},[e,a,o]),(0,n.useScrollLock)(e&&(!a||c),l)}])},191379,e=>{"use strict";let t=(0,e.i(202913).default)("arrow-up-right",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);e.s(["ArrowUpRight",0,t],191379)},557225,630056,e=>{"use strict";var t=e.i(222666),r=e.i(505962),n=e.i(452473),i=e.i(188363),a=e.i(687421),o=e.i(678998);function l(e){return e.toLowerCase()}let c=new Map([[l(a.ProviderName.OpenAI),{url:(0,o.getLocalIconUri)("OpenAI.svg"),className:"dark:invert"}],[l(a.ProviderName.Perplexity),{url:(0,o.getLocalIconUri)("Perplexity.png")}],[l(a.ProviderName.Poolside),{url:(0,o.getLocalIconUri)("poolside-logomark-solid-color.svg")}],[l(a.ProviderName.Perceptron),{url:(0,o.getFaviconUrl)("https://www.perceptron.inc")}],["voyageai",{url:(0,o.getFaviconUrl)("https://www.voyageai.com")}],[l(a.ProviderName.GoogleAIStudio),{url:(0,o.getLocalIconUri)("GoogleAIStudio.svg")}],[l(a.ProviderName.Anthropic),{url:(0,o.getLocalIconUri)("Anthropic.svg")}],[l(a.ProviderName.ClaudeOnAws),{url:(0,o.getLocalIconUri)("Anthropic.svg")}],[l(a.ProviderName.Cohere),{url:(0,o.getLocalIconUri)("Cohere.png")}],[l(a.ProviderName.Deepgram),{url:(0,o.getLocalIconUri)("Deepgram.svg"),className:"dark:invert"}],[l(a.ProviderName.DeepSeek),{url:(0,o.getLocalIconUri)("DeepSeek.png")}],[l(a.ProviderName.Together),{url:(0,o.getFaviconUrl)("https://www.together.ai/")}],[l(a.ProviderName.Infermatic),{url:(0,o.getFaviconUrl)("https://infermatic.ai/")}],[l(a.ProviderName.HuggingFace),{url:(0,o.getFaviconUrl)("https://huggingface.co/")}],[l(a.ProviderName.AI21),{url:(0,o.getFaviconUrl)("https://ai21.com/")}],[l(a.ProviderName.Featherless),{url:(0,o.getFaviconUrl)("https://featherless.ai/")}],[l(a.ProviderName.Reflection),{url:(0,o.getFaviconUrl)("https://railway.app/")}],[l(a.ProviderName.Inflection),{url:(0,o.getFaviconUrl)("https://inflection.ai/")}],[l(a.ProviderName.Minimax),{url:(0,o.getFaviconUrl)("https://minimaxi.com/")}],[l(a.ProviderName.Liquid),{url:(0,o.getFaviconUrl)("https://www.liquid.ai/"),className:"dark:invert"}],[l(a.ProviderName.Inception),{url:(0,o.getLocalIconUri)("Inception.svg"),className:"dark:invert"}],[l(a.ProviderName.Relace),{url:(0,o.getFaviconUrl)("https://www.relace.ai")}],[l(a.ProviderName.Sourceful),{url:(0,o.getFaviconUrl)("https://www.sourceful.com/")}],[l(a.ProviderName.BytePlus),{url:(0,o.getFaviconUrl)("https://www.byteplus.com")}],[l(a.ProviderName.Xiaomi),{url:(0,o.getFaviconUrl)("https://www.mi.com")}],["arcee-ai",{url:(0,o.getFaviconUrl)("https://www.arcee.ai")}],["fish-audio",{url:(0,o.getFaviconUrl)("https://fish.audio/")}],["z-ai",{url:(0,o.getFaviconUrl)("https://z.ai/"),className:"dark:invert"}],["moonshotai",{url:(0,o.getLocalIconUri)("MoonshotAI.png")}],["morph",{url:(0,o.getFaviconUrl)("https://morphllm.com")}],["qwen",{url:(0,o.getLocalIconUri)("Qwen.png")}],["google",{url:(0,o.getLocalIconUri)("GoogleGemini.svg")}],["microsoft",{url:(0,o.getLocalIconUri)("Microsoft.svg")}],["nousresearch",{url:(0,o.getFaviconUrl)("https://nousresearch.com/")}],["nvidia",{url:(0,o.getFaviconUrl)("https://nvidia.com/")}],["meta-llama",{url:(0,o.getLocalIconUri)("Meta.png")}],["meta",{url:(0,o.getLocalIconUri)("Meta.png")}],["databricks",{url:(0,o.getFaviconUrl)("https://databricks.com/")}],["openrouter",{url:(0,o.getLocalIconUri)("openrouter-glyph-light.svg"),darkUrl:(0,o.getLocalIconUri)("openrouter-glyph-dark.svg")}],["mistralai",{url:(0,o.getLocalIconUri)("Mistral.png")}],["x-ai",{url:(0,o.getFaviconUrl)("https://x.ai/")}],["amazon",{url:(0,o.getFaviconUrl)("https://nova.amazon.com/")}],["aion-labs",{url:(0,o.getFaviconUrl)("https://www.aionlabs.ai/")}],["allenai",{url:(0,o.getFaviconUrl)("https://allenai.org/")}],["switchpoint",{url:(0,o.getFaviconUrl)("https://switchpoint.dev/")}],["thedrummer",{url:(0,o.getLocalIconUri)("TheDrummer.png")}],["deepcogito",{url:(0,o.getFaviconUrl)("https://www.deepcogito.com/")}],["baidu",{url:(0,o.getFaviconUrl)("https://www.baidu.com/")}],["kwaipilot",{url:(0,o.getLocalIconUri)("Kwaipilot.png")}],["kwaivgi",{url:(0,o.getLocalIconUri)("KlingAI.png")}],["black-forest-labs",{url:(0,o.getFaviconUrl)("https://bfl.ai")}],["prime-intellect",{url:(0,o.getFaviconUrl)("https://www.primeintellect.ai/")}],["primeintellect",{url:(0,o.getFaviconUrl)("https://www.primeintellect.ai/")}],["essentialai",{url:(0,o.getFaviconUrl)("https://www.essential.ai/")}],["bytedance-seed",{url:(0,o.getFaviconUrl)("https://seed.bytedance.com/")}],[l(a.ProviderName.Seed),{url:(0,o.getFaviconUrl)("https://seed.bytedance.com/")}],["writer",{url:(0,o.getFaviconUrl)("https://writer.com/"),className:"dark:invert"}],["stepfun",{url:(0,o.getFaviconUrl)("https://platform.stepfun.ai/")}],["stepfun-ai",{url:(0,o.getFaviconUrl)("https://platform.stepfun.ai/")}],[l(a.ProviderName.Recraft),{url:(0,o.getLocalIconUri)("Recraft.svg"),className:"dark:invert"}],["bytedance",{url:(0,o.getFaviconUrl)("https://seed.bytedance.com/")}],["alibaba",{url:(0,o.getFaviconUrl)("https://www.alibabacloud.com")}],["inclusionai",{url:(0,o.getFaviconUrl)("https://www.inclusion-ai.org/")}],["tencent",{url:(0,o.getLocalIconUri)("Tencent.png")}],["ibm-granite",{url:(0,o.getLocalIconUri)("IBMGranite.svg"),className:"dark:invert"}],["nex-agi",{url:(0,o.getLocalIconUri)("NexAGI.svg"),className:"dark:invert"}],["thinkingmachines",{url:(0,o.getFaviconUrl)("https://thinkingmachines.ai/")}],["sakana",{url:(0,o.getFaviconUrl)("https://sakana.ai")}],[l(a.ProviderName.HeyGen),{url:(0,o.getFaviconUrl)("https://heygen.com")}],["zyphra",{url:(0,o.getLocalIconUri)("Zyphra.svg"),className:"dark:invert"}],["sesame",{url:(0,o.getFaviconUrl)("https://www.sesame.com")}],["canopylabs",{url:(0,o.getFaviconUrl)("https://canopylabs.ai"),className:"dark:invert"}],["hexgrad",{url:(0,o.getLocalIconUri)("Hexgrad.png")}],[l(a.ProviderName.Krea),{url:(0,o.getFaviconUrl)("https://www.krea.ai")}],[l(a.ProviderName.Runway),{url:(0,o.getFaviconUrl)("https://runwayml.com")}],[l(a.ProviderName.Upstage),{url:(0,o.getFaviconUrl)("https://www.upstage.ai/")}],["stealth",{url:(0,o.getLocalIconUri)("Stealth.svg"),className:"invert-0 dark:invert"}]]),s=new Map([["microsoft/mai-",{url:(0,o.getLocalIconUri)("MAI.png")}]]),u=/^\/(?![/\\])/u,d=/^data:image\//iu;function g(e,t){var r;let n=c.get(e.toLowerCase());return t&&(!t.startsWith("data:")||d.test(t))?(r=n?.className,u.test(t)||d.test(t)?{url:t}:t.startsWith("//")?{url:(0,o.getFaviconUrl)(`https:${t}`)}:t.startsWith("http")?{url:(0,o.getFaviconUrl)(t)}:{url:(0,o.getLocalIconUri)(t),className:r}):n??{url:o.HUGGING_FACE_FAVICON_URL}}function m({permaslug:e,author:t,iconUri:r}){let n=e.toLowerCase().replace(/^~/,"");for(let[e,t]of s)if(n.startsWith(e))return t;return g(t,r)}e.s(["getAuthorIconInfo",0,g,"getModelAuthorIconInfo",0,m],630056);var f=e.i(837556);e.s(["AuthorIcon",0,function(e){let a,o,l,c,s,u,d,v=(0,r.c)(25),{author:h,permaslug:p,iconUri:w,className:b,frame:I,frameRingClassName:x,bare:U}=e,N=void 0!==I&&I,F=void 0!==U&&U;if(v[0]!==h||v[1]!==F||v[2]!==b||v[3]!==N||v[4]!==x||v[5]!==w||v[6]!==p){s=Symbol.for("react.early_return_sentinel");e:{if(o=void 0===p?g(h,w):m({permaslug:p,author:h,iconUri:w}),F){let e;v[12]!==b?(e=(0,n.cn)("flex size-6 shrink-0 items-center justify-center","[&_img]:object-contain",b),v[12]=b,v[13]=e):e=v[13],s=(0,t.jsx)("div",{className:e,children:(0,t.jsx)(i.RemoteFavicon,{className:(0,n.cn)("size-full overflow-hidden",o?.className),faviconFor:h,imgSrc:o.url,imgSrcDark:o.darkUrl,size:256})});break e}if(N){s=(0,t.jsx)(f.IconFrame,{className:b,ringClassName:x,children:(0,t.jsx)(i.RemoteFavicon,{className:(0,n.cn)("size-full",o?.className),faviconFor:h,imgSrc:o.url,imgSrcDark:o.darkUrl,size:256})});break e}v[14]!==b?(c=(0,n.cn)("flex items-center justify-center","size-6 shrink-0 rounded-full border","bg-background p-1",b),v[14]=b,v[15]=c):c=v[15],a=i.RemoteFavicon,l=(0,n.cn)("overflow-hidden rounded-full",o?.className)}v[0]=h,v[1]=F,v[2]=b,v[3]=N,v[4]=x,v[5]=w,v[6]=p,v[7]=a,v[8]=o,v[9]=l,v[10]=c,v[11]=s}else a=v[7],o=v[8],l=v[9],c=v[10],s=v[11];return s!==Symbol.for("react.early_return_sentinel")?s:(v[16]!==a||v[17]!==h||v[18]!==o.darkUrl||v[19]!==o.url||v[20]!==l?(u=(0,t.jsx)(a,{className:l,faviconFor:h,imgSrc:o.url,imgSrcDark:o.darkUrl,size:256}),v[16]=a,v[17]=h,v[18]=o.darkUrl,v[19]=o.url,v[20]=l,v[21]=u):u=v[21],v[22]!==c||v[23]!==u?(d=(0,t.jsx)("div",{className:c,children:u}),v[22]=c,v[23]=u,v[24]=d):d=v[24],d)}],557225)},837556,e=>{"use strict";var t=e.i(222666),r=e.i(505962),n=e.i(452473);e.s(["IconFrame",0,function(e){let i,a,o,l,c,s,u=(0,r.c)(15),{children:d,className:g,variant:m,decorative:f,ringClassName:v}=e,h=void 0!==f&&f||void 0;u[0]!==g?(i=(0,n.cn)("relative flex shrink-0 items-center justify-center","box-content p-px","overflow-hidden rounded-sm bg-background","size-6",g),u[0]=g,u[1]=i):i=u[1],u[2]===Symbol.for("react.memo_cache_sentinel")?(a=(0,n.cn)("absolute inset-px flex items-center justify-center","[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:object-contain","[&_img]:rounded-sm"),u[2]=a):a=u[2],u[3]!==d?(o=(0,t.jsx)("div",{className:a,children:d}),u[3]=d,u[4]=o):o=u[4];let p="app"===(void 0===m?"default":m)&&"dark:inset-px dark:ring-white";return u[5]!==v||u[6]!==p?(l=(0,n.cn)("pointer-events-none absolute inset-0 rounded-[inherit] ring-1 ring-inset ring-border/60",p,v),u[5]=v,u[6]=p,u[7]=l):l=u[7],u[8]!==l?(c=(0,t.jsx)("div",{"aria-hidden":!0,className:l}),u[8]=l,u[9]=c):c=u[9],u[10]!==h||u[11]!==i||u[12]!==o||u[13]!==c?(s=(0,t.jsxs)("div",{"aria-hidden":h,className:i,children:[o,c]}),u[10]=h,u[11]=i,u[12]=o,u[13]=c,u[14]=s):s=u[14],s}])},759024,e=>{"use strict";var t=e.i(222666),r=e.i(505962),n=e.i(704318),i=e.i(452473),a=e.i(691038),o=e.i(778084),l=e.i(648156);e.s(["InfoTooltip",0,function(e){var c;let s,u,d,g,m,f,v,h,p=(0,r.c)(33),{align:w,"aria-label":b,children:I,className:x,contentClassName:U,icon:N,side:F,sideOffset:y}=e,k=void 0===F?"bottom":F,L=(0,a.useMediaMd)();p[0]!==b||p[1]!==I?(s=b??("string"==typeof(c=I)&&c.trim().length>0?c.trim():"Information"),p[0]=b,p[1]=I,p[2]=s):s=p[2],p[3]!==x?(u=(0,i.cn)("inline-flex items-center justify-center border-0 bg-transparent p-0 align-middle text-[inherit] leading-[inherit] focus-visible:outline-none focus-visible:border-focus-border focus-visible:shadow-focus",x),p[3]=x,p[4]=u):u=p[4],p[5]!==N?(d=N??(0,t.jsx)(n.InformationCircleIcon,{className:"inline h-4 w-4 text-muted-foreground"}),p[5]=N,p[6]=d):d=p[6],p[7]!==s||p[8]!==u||p[9]!==d?(g=(0,t.jsx)("button",{type:"button",tabIndex:-1,"aria-label":s,className:u,children:d}),p[7]=s,p[8]=u,p[9]=d,p[10]=g):g=p[10];let R=g;if(L){let e,r;return p[11]!==U?(e=(0,i.cn)("max-w-xs",U),p[11]=U,p[12]=e):e=p[12],p[13]!==w||p[14]!==I||p[15]!==k||p[16]!==y||p[17]!==e||p[18]!==R?(r=(0,t.jsx)(l.Tooltip,{align:w,className:e,content:I,side:k,sideOffset:y,children:R}),p[13]=w,p[14]=I,p[15]=k,p[16]=y,p[17]=e,p[18]=R,p[19]=r):r=p[19],r}return p[20]!==R?(m=(0,t.jsx)(o.PopoverTrigger,{render:R}),p[20]=R,p[21]=m):m=p[21],p[22]!==U?(f=(0,i.cn)("w-52 p-2 text-xs",U),p[22]=U,p[23]=f):f=p[23],p[24]!==w||p[25]!==I||p[26]!==k||p[27]!==y||p[28]!==f?(v=(0,t.jsx)(o.PopoverContent,{align:w,side:k,sideOffset:y,className:f,children:I}),p[24]=w,p[25]=I,p[26]=k,p[27]=y,p[28]=f,p[29]=v):v=p[29],p[30]!==m||p[31]!==v?(h=(0,t.jsxs)(o.Popover,{children:[m,v]}),p[30]=m,p[31]=v,p[32]=h):h=p[32],h}])},188363,e=>{"use strict";var t=e.i(222666),r=e.i(505962),n=e.i(948992),i=e.i(678998),a=e.i(270401);let o=/\.(png|jpe?g|ico|svg|webp|gif|bmp)$/i;e.s(["RemoteFavicon",0,function(e){let l,c,s,u,d,g,m,f,v,h,p,w,b=(0,r.c)(51),[I,x]=(0,a.useState)(null),[U,N]=(0,a.useState)(null),[F,y]=(0,a.useState)(!1),[k,L]=(0,a.useState)(!1),R=e.size||256,S=e.hasCuratedFaviconUrl??!1;b[0]!==F||b[1]!==k||b[2]!==e.faviconFor||b[3]!==e.imgSrc||b[4]!==R||b[5]!==S?(l=function({faviconFor:e,size:t,didCuratedIconFail:r,didSiteIconFail:n,hasCuratedFaviconUrl:a,imgSrc:l}){if(l)return{source:"given",src:l};if(a&&(e=>{try{let{pathname:t}=new URL(e);return o.test(t)}catch{return!1}})(e)&&!r)return{source:"curated",src:(0,i.getCdnImageUrl)(e)};let c=n?(0,i.getParentSiteUrl)(e):null;return null!==c?{source:"parent-site",src:(0,i.getFaviconUrl)(c,t)}:{source:"site",src:(0,i.getFaviconUrl)(e,t)}}({faviconFor:e.faviconFor,size:R,didCuratedIconFail:F,didSiteIconFail:k,hasCuratedFaviconUrl:S,imgSrc:e.imgSrc}),b[0]=F,b[1]=k,b[2]=e.faviconFor,b[3]=e.imgSrc,b[4]=R,b[5]=S,b[6]=l):l=b[6];let{source:E,src:C}=l;b[7]!==e.faviconFor||b[8]!==R||b[9]!==E?(c=t=>{"site"!==E||R<=16||t>16||null!==(0,i.getParentSiteUrl)(e.faviconFor)&&L(!0)},b[7]=e.faviconFor,b[8]=R,b[9]=E,b[10]=c):c=b[10];let O=c;b[11]!==e.faviconFor||b[12]!==E?(s=t=>{switch(E){case"curated":if((0,i.isOpenRouterHostedUrl)(e.faviconFor))return void x(t);y(!0);return;case"site":if(null===(0,i.getParentSiteUrl)(e.faviconFor))return void x(t);L(!0);return;case"given":case"parent-site":return void x(t);default:x(t)}},b[11]=e.faviconFor,b[12]=E,b[13]=s):s=b[13];let P=s;b[14]===Symbol.for("react.memo_cache_sentinel")?(u=()=>{x(null)},b[14]=u):u=b[14],b[15]!==C?(d=[C],b[15]=C,b[16]=d):d=b[16],(0,a.useEffect)(u,d),b[17]===Symbol.for("react.memo_cache_sentinel")?(g=()=>{y(!1),L(!1)},b[17]=g):g=b[17],b[18]!==e.faviconFor||b[19]!==e.imgSrc||b[20]!==R?(m=[e.faviconFor,e.imgSrc,R],b[18]=e.faviconFor,b[19]=e.imgSrc,b[20]=R,b[21]=m):m=b[21],(0,a.useEffect)(g,m),b[22]===Symbol.for("react.memo_cache_sentinel")?(f=()=>{N(null)},b[22]=f):f=b[22],b[23]!==e.imgSrcDark?(v=[e.imgSrcDark],b[23]=e.imgSrcDark,b[24]=v):v=b[24],(0,a.useEffect)(f,v);let A=`Favicon for ${e.faviconFor}`;b[25]!==R||b[26]!==A?(h={width:R,height:R,alt:A,className:"h-full w-full object-cover"},b[25]=R,b[26]=A,b[27]=h):h=b[27];let T=h;if(e.imgSrcDark){let r,i,a;return b[28]!==I||b[29]!==T||b[30]!==P||b[31]!==O||b[32]!==C?(r=(0,t.jsx)("span",{className:"block h-full w-full shrink-0 dark:hidden",children:I?(0,t.jsx)("span",{className:"bg-muted",children:(0,t.jsx)(n.GlobeAltIcon,{className:"h-4 w-4 text-muted-foreground/60"})}):(0,t.jsx)("img",{...T,src:C,onError:e=>P(e.toString()),onLoad:e=>O(e.currentTarget.naturalWidth)})}),b[28]=I,b[29]=T,b[30]=P,b[31]=O,b[32]=C,b[33]=r):r=b[33],b[34]!==U||b[35]!==T||b[36]!==e.imgSrcDark?(i=(0,t.jsx)("span",{className:"hidden h-full w-full shrink-0 dark:block",children:U?(0,t.jsx)("span",{className:"bg-muted",children:(0,t.jsx)(n.GlobeAltIcon,{className:"h-4 w-4 text-muted-foreground/60"})}):(0,t.jsx)("img",{...T,src:e.imgSrcDark,onError:e=>N(e.toString())})}),b[34]=U,b[35]=T,b[36]=e.imgSrcDark,b[37]=i):i=b[37],b[38]!==e.className||b[39]!==r||b[40]!==i?(a=(0,t.jsxs)("div",{className:e.className,children:[r,i]}),b[38]=e.className,b[39]=r,b[40]=i,b[41]=a):a=b[41],a}return b[42]!==I||b[43]!==T||b[44]!==P||b[45]!==O||b[46]!==C?(p=I?(0,t.jsx)("span",{className:"bg-muted",children:(0,t.jsx)(n.GlobeAltIcon,{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",{...T,src:C,loading:"lazy",decoding:"async",onError:e=>P(e.toString()),onLoad:e=>O(e.currentTarget.naturalWidth)})}),b[42]=I,b[43]=T,b[44]=P,b[45]=O,b[46]=C,b[47]=p):p=b[47],b[48]!==e.className||b[49]!==p?(w=(0,t.jsx)("div",{className:e.className,children:p}),b[48]=e.className,b[49]=p,b[50]=w):w=b[50],w}])},379684,e=>{"use strict";var t=e.i(222666),r=e.i(505962),n=e.i(734293),i=e.i(452473),a=e.i(654847),o=e.i(191379),l=e.i(551365),c=e.i(971531),s=e.i(639580),u=e.i(664288);let d="text-foreground underline underline-offset-2 decoration-current/40 hover:text-accent-foreground hover:decoration-current transition-colors";e.s(["LINK_CLASSES",0,d,"TextLink",0,function(e){let g,m,f,v,h,p,w,b,I,x,U,N,F,y,k,L,R,S,E,C,O,P,A=(0,r.c)(71);A[0]!==e?({render:b,children:g,className:m,icon:f,iconPosition:I,showExternalIcon:x,prefetch:U,onFocus:v,onMouseEnter:h,onTouchStart:p,...w}=e,A[0]=e,A[1]=g,A[2]=m,A[3]=f,A[4]=v,A[5]=h,A[6]=p,A[7]=w,A[8]=b,A[9]=I,A[10]=x,A[11]=U):(g=A[1],m=A[2],f=A[3],v=A[4],h=A[5],p=A[6],w=A[7],b=A[8],I=A[9],x=A[10],U=A[11]);let T=void 0===I?"end":I,M=void 0!==x&&x,_=void 0===U?"hover":U,D=(0,s.useLocalizedHref)(w.href);A[12]!==D?(N=(0,a.getHrefString)(D),A[12]=D,A[13]=N):N=A[13],A[14]!==_||A[15]!==N?(F={prefetch:_,href:N},A[14]=_,A[15]=N,A[16]=F):F=A[16],A[17]!==v||A[18]!==h||A[19]!==p?(y={onFocus:v,onMouseEnter:h,onTouchStart:p},A[17]=v,A[18]=h,A[19]=p,A[20]=y):y=A[20];let j=(0,c.useLinkPrefetch)(F,y);A[21]!==m?(k=(0,i.cn)(d,"text-xs cursor-pointer",m),A[21]=m,A[22]=k):k=A[22];let W=k;A[23]!==f||A[24]!==M?(L=f??(M?(0,t.jsx)(o.ArrowUpRight,{className:"inline size-3 align-[-1px]"}):null),A[23]=f,A[24]=M,A[25]=L):L=A[25];let z=L;A[26]!==T||A[27]!==z?(R="start"===T&&z?(0,t.jsx)("span",{className:"mr-0.5 inline-flex",children:z}):null,A[26]=T,A[27]=z,A[28]=R):R=A[28];let G=R;A[29]!==T||A[30]!==z?(S="end"===T&&z?(0,t.jsx)("span",{className:"ml-0.5 inline-flex",children:z}):null,A[29]=T,A[30]=z,A[31]=S):S=A[31];let V=S,H=(0,a.isCrossZoneHref)(D);A[32]!==g||A[33]!==b?(E=b?(0,u.getChildContent)(b):g,A[32]=g,A[33]=b,A[34]=E):E=A[34];let $=E;A[35]!==$||A[36]!==V||A[37]!==D||A[38]!==v||A[39]!==h||A[40]!==p||A[41]!==w||A[42]!==b||A[43]!==W||A[44]!==G?(C=b?{className:W,children:(0,t.jsxs)(t.Fragment,{children:[G,$,V]}),...w,onFocus:v,onMouseEnter:h,onTouchStart:p,href:D}:{},A[35]=$,A[36]=V,A[37]=D,A[38]=v,A[39]=h,A[40]=p,A[41]=w,A[42]=b,A[43]=W,A[44]=G,A[45]=C):C=A[45],A[46]!==b||A[47]!==C?(O={render:b,defaultTagName:"a",props:C},A[46]=b,A[47]=C,A[48]=O):O=A[48];let K=(0,n.useRender)(O);if(b){if(H)throw Error(`TextLink: cross-zone href "${(0,a.getHrefString)(D)}" cannot be combined with the render prop. Use a plain element instead.`);return K}if(H){let e,r,n;if(A[49]!==w){let{href:t,replace:r,scroll:n,shallow:i,passHref:a,legacyBehavior:o,locale:l,onNavigate:c,...s}=w;e=s,A[49]=w,A[50]=e}else e=A[50];return A[51]!==D?(r=(0,a.getHrefString)(D),A[51]=D,A[52]=r):r=A[52],A[53]!==e||A[54]!==g||A[55]!==V||A[56]!==v||A[57]!==h||A[58]!==p||A[59]!==W||A[60]!==G||A[61]!==r?(n=(0,t.jsxs)("a",{href:r,className:W,onFocus:v,onMouseEnter:h,onTouchStart:p,...e,children:[G,g,V]}),A[53]=e,A[54]=g,A[55]=V,A[56]=v,A[57]=h,A[58]=p,A[59]=W,A[60]=G,A[61]=r,A[62]=n):n=A[62],n}return A[63]!==g||A[64]!==V||A[65]!==D||A[66]!==j||A[67]!==w||A[68]!==W||A[69]!==G?(P=(0,t.jsxs)(l.default,{className:W,...w,...j,href:D,children:[G,g,V]}),A[63]=g,A[64]=V,A[65]=D,A[66]=j,A[67]=w,A[68]=W,A[69]=G,A[70]=P):P=A[70],P}])},664288,e=>{"use strict";e.s(["getChildContent",0,function(e){let{props:t}=e;if("object"==typeof t&&null!==t&&"children"in t)return t.children}])},678998,e=>{"use strict";e.i(687421);let t=(e,t=256)=>`https://t0.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=${e}&size=${t}`,r=new Set(["ac","co","com","edu","go","gob","gov","ltd","me","ne","net","nom","or","org","plc","sch"]),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=e=>{try{let t=new URL(e).hostname.toLowerCase().replace(/\.$/,"");return"openrouter.ai"===t||t.endsWith(".openrouter.ai")}catch{return!1}},a=t("https://huggingface.co/");e.s(["HUGGING_FACE_FAVICON_URL",0,a,"getCdnImageUrl",0,e=>i(e)?e:`/api/frontend/v1/image-proxy?url=${encodeURIComponent(e)}`,"getFaviconUrl",0,t,"getLocalIconUri",0,e=>`/images/icons/${e}`,"getParentSiteUrl",0,e=>{let t=(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===t)return null;let i=t.split(".").slice(1);if(i.length<2||2===i.length&&2===(i[1]??"").length&&r.has(i[0]??""))return null;let a=i.join(".");return[...n].some(e=>a===e||a.endsWith(`.${e}`))?null:`https://${a}`},"isOpenRouterHostedUrl",0,i])}]); //# sourceMappingURL=10qagoxx-yyxy.js.map //# chunkId=01a09e9c-6e03-70f0-8e02-ca628c074de5