!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]="01a0a063-3ae4-7511-a57f-6b3b7a4096fa")}catch(e){}}();(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,850577,e=>{"use strict";var t=e.i(270401);let i=t.createContext({disabled:!1});e.s(["useFieldItemContext",0,function(){return t.useContext(i)}])},459128,e=>{"use strict";var t=e.i(270401),i=e.i(361409),r=e.i(593478);e.s(["useAriaLabelledBy",0,function(e,o,n,a=!0,l){let[s,d]=t.useState(),c=(0,r.useBaseUiId)(l?`${l}-label`:void 0),u=e??o??s;return(0,i.useIsoLayoutEffect)(()=>{let t=e||o||!a?void 0:function(e,t){let i=function(e){if(!e)return;let t=e.parentElement;if(t&&"LABEL"===t.tagName)return t;let i=e.id;if(i){let t=e.nextElementSibling;if(t&&t.htmlFor===i)return t}let r=e.labels;return r&&r[0]}(e);if(i)return!i.id&&t&&(i.id=t),i.id||void 0}(n.current,c);s!==t&&d(t)}),u}])},607918,789122,e=>{"use strict";let t=new Map;function i(e,i,r){return null==e?"":(function(e,i){let r=JSON.stringify({locale:e,options:i}),o=t.get(r);if(o)return o;let n=new Intl.NumberFormat(e,i);return t.set(r,n),n})(i,r).format(e)}e.s(["formatNumber",0,i,"formatNumberValue",0,function(e,t,r){return null==e?"":r?i(e,t,r):i(e/100,t,{style:"percent"})}],607918),e.s(["valueToPercent",0,function(e,t,i){return(e-t)*100/(i-t)}],789122)},674026,e=>{"use strict";var t=e.i(270401);let i=t.forwardRef(function({title:e,titleId:i,...r},o){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:o,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15M12 9l3 3m0 0-3 3m3-3H2.25"}))});e.s(["ArrowRightEndOnRectangleIcon",0,i],674026)},646013,e=>{"use strict";var t=e.i(270401);let i=t.forwardRef(function({title:e,titleId:i,...r},o){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:o,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 10.5 12 3m0 0 7.5 7.5M12 3v18"}))});e.s(["ArrowUpIcon",0,i],646013)},613889,e=>{"use strict";var t=e.i(270401);let i=t.forwardRef(function({title:e,titleId:i,...r},o){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:o,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.25 6.75 22.5 12l-5.25 5.25m-10.5 0L1.5 12l5.25-5.25m7.5-3-4.5 16.5"}))});e.s(["CodeBracketIcon",0,i],613889)},221718,e=>{"use strict";var t=e.i(270401);let i=t.forwardRef(function({title:e,titleId:i,...r},o){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:o,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 3v1.5M4.5 8.25H3m18 0h-1.5M4.5 12H3m18 0h-1.5m-15 3.75H3m18 0h-1.5M8.25 19.5V21M12 3v1.5m0 15V21m3.75-18v1.5m0 15V21m-9-1.5h10.5a2.25 2.25 0 0 0 2.25-2.25V6.75a2.25 2.25 0 0 0-2.25-2.25H6.75A2.25 2.25 0 0 0 4.5 6.75v10.5a2.25 2.25 0 0 0 2.25 2.25Zm.75-12h9v9h-9v-9Z"}))});e.s(["CpuChipIcon",0,i],221718)},820941,e=>{"use strict";var t=e.i(270401);let i=t.forwardRef(function({title:e,titleId:i,...r},o){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:o,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z"}))});e.s(["LockClosedIcon",0,i],820941)},152533,e=>{"use strict";var t=e.i(270401);let i=t.forwardRef(function({title:e,titleId:i,...r},o){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:o,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"}))});e.s(["MagnifyingGlassIcon",0,i],152533)},373855,e=>{"use strict";var t=e.i(270401);let i=t.forwardRef(function({title:e,titleId:i,...r},o){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:o,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L6.832 19.82a4.5 4.5 0 0 1-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 0 1 1.13-1.897L16.863 4.487Zm0 0L19.5 7.125"}))});e.s(["PencilIcon",0,i],373855)},614991,e=>{"use strict";var t=e.i(270401);let i=t.forwardRef(function({title:e,titleId:i,...r},o){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:o,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))});e.s(["PhotoIcon",0,i],614991)},150592,e=>{"use strict";var t=e.i(270401);let i=t.forwardRef(function({title:e,titleId:i,...r},o){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:o,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75m-3-7.036A11.959 11.959 0 0 1 3.598 6 11.99 11.99 0 0 0 3 9.749c0 5.592 3.824 10.29 9 11.623 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285Z"}))});e.s(["ShieldCheckIcon",0,i],150592)},143566,e=>{"use strict";var t=e.i(270401);let i=t.forwardRef(function({title:e,titleId:i,...r},o){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:o,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.568 3H5.25A2.25 2.25 0 0 0 3 5.25v4.318c0 .597.237 1.17.659 1.591l9.581 9.581c.699.699 1.78.872 2.607.33a18.095 18.095 0 0 0 5.223-5.223c.542-.827.369-1.908-.33-2.607L11.16 3.66A2.25 2.25 0 0 0 9.568 3Z"}),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 6h.008v.008H6V6Z"}))});e.s(["TagIcon",0,i],143566)},492009,e=>{"use strict";var t=e.i(270401);let i=t.forwardRef(function({title:e,titleId:i,...r},o){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:o,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m15.75 10.5 4.72-4.72a.75.75 0 0 1 1.28.53v11.38a.75.75 0 0 1-1.28.53l-4.72-4.72M4.5 18.75h9a2.25 2.25 0 0 0 2.25-2.25v-9a2.25 2.25 0 0 0-2.25-2.25h-9A2.25 2.25 0 0 0 2.25 7.5v9a2.25 2.25 0 0 0 2.25 2.25Z"}))});e.s(["VideoCameraIcon",0,i],492009)},541678,e=>{"use strict";var t=e.i(270401);let i=t.forwardRef(function({title:e,titleId:i,...r},o){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:o,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.42 15.17 17.25 21A2.652 2.652 0 0 0 21 17.25l-5.877-5.877M11.42 15.17l2.496-3.03c.317-.384.74-.626 1.208-.766M11.42 15.17l-4.655 5.653a2.548 2.548 0 1 1-3.586-3.586l6.837-5.63m5.108-.233c.55-.164 1.163-.188 1.743-.14a4.5 4.5 0 0 0 4.486-6.336l-3.276 3.277a3.004 3.004 0 0 1-2.25-2.25l3.276-3.276a4.5 4.5 0 0 0-6.336 4.486c.091 1.076-.071 2.264-.904 2.95l-.102.085m-1.745 1.437L5.909 7.5H4.5L2.25 3.75l1.5-1.5L7.5 4.5v1.409l4.26 4.26m-1.745 1.437 1.745-1.437m6.615 8.206L15.75 15.75M4.867 19.125h.008v.008h-.008v-.008Z"}))});e.s(["WrenchScrewdriverIcon",0,i],541678)},752644,e=>{"use strict";var t=e.i(270401);let i=t.forwardRef(function({title:e,titleId:i,...r},o){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:o,"aria-labelledby":i},r),e?t.createElement("title",{id:i},e):null,t.createElement("path",{fillRule:"evenodd",d:"M12 2.25a.75.75 0 0 1 .75.75v.756a49.106 49.106 0 0 1 9.152 1 .75.75 0 0 1-.152 1.485h-1.918l2.474 10.124a.75.75 0 0 1-.375.84A6.723 6.723 0 0 1 18.75 18a6.723 6.723 0 0 1-3.181-.795.75.75 0 0 1-.375-.84l2.474-10.124H12.75v13.28c1.293.076 2.534.343 3.697.776a.75.75 0 0 1-.262 1.453h-8.37a.75.75 0 0 1-.262-1.453c1.162-.433 2.404-.7 3.697-.775V6.24H6.332l2.474 10.124a.75.75 0 0 1-.375.84A6.723 6.723 0 0 1 5.25 18a6.723 6.723 0 0 1-3.181-.795.75.75 0 0 1-.375-.84L4.168 6.241H2.25a.75.75 0 0 1-.152-1.485 49.105 49.105 0 0 1 9.152-1V3a.75.75 0 0 1 .75-.75Zm4.878 13.543 1.872-7.662 1.872 7.662h-3.744Zm-9.756 0L5.25 8.131l-1.872 7.662h3.744Z",clipRule:"evenodd"}))});e.s(["ScaleIcon",0,i],752644)},432914,924632,e=>{"use strict";var t=e.i(202913);let i=(0,t.default)("list",[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]]);e.s(["ListIcon",0,i],432914);let r=(0,t.default)("table-2",[["path",{d:"M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18",key:"gugj83"}]]);e.s(["Table2Icon",0,r],924632)},420028,e=>{"use strict";let t=(0,e.i(202913).default)("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);e.s(["Minus",0,t],420028)},316688,e=>{"use strict";let t=(0,e.i(202913).default)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);e.s(["Star",0,t],316688)},554616,e=>{"use strict";var t=e.i(237425);e.s(["debounce",()=>t.o])},130206,e=>{"use strict";let t={models:{label:"Models Arena",description:"Head-to-head comparison of AI model outputs across modalities",categories:{codecategories:{label:"Code Categories",description:"Aggregated stats across all code generation categories"},"3d":{label:"3D",description:"3D content generation"},dataviz:{label:"Data Visualization",description:"Data visualization generation"},gamedev:{label:"Game Development",description:"Game development code generation"},uicomponent:{label:"UI Component",description:"UI component generation quality"},logo:{label:"Logo",description:"Logo design generation"},image:{label:"Image",description:"Image generation quality"},video:{label:"Video",description:"Video generation quality"},slides:{label:"Slides",description:"Slide/presentation generation"},videotovideo:{label:"Video to Video",description:"Video-to-video transformation quality"},graphicdesign:{label:"Graphic Design",description:"Graphic design generation quality"},imagetoimage:{label:"Image to Image",description:"Image-to-image transformation quality"},svg:{label:"SVG",description:"SVG generation quality"}}},builders:{label:"Builders Arena",description:"Comparison of AI-powered app builders and coding agents",categories:{mobile:{label:"Mobile",description:"AI builder mobile app generation"},"native-android":{label:"Native Android",description:"AI builder native Android app generation"}}},agents:{label:"Agents Arena",description:"Agentic coding workflows evaluated end-to-end",categories:{agon_webapps:{label:"Agon Web Apps",description:"Agon web application development"},mobileapps:{label:"Mobile Apps",description:"Agentic mobile application development"},nativeapps:{label:"Native Apps",description:"Agentic native application development"},fullstack:{label:"Full Stack",description:"Full stack development workflows"}}}},i=["codecategories","uicomponent","gamedev","dataviz","3d","image","video","svg"],r=t.models,o=r?i.map(e=>({type:`da-${e}`,label:`${r.categories[e]?.label??e} ELO`,daKey:`models-${e}`})):[];({...Object.fromEntries(Object.values(t).flatMap(e=>Object.entries(e.categories).map(([e,t])=>[t.label,e]))),"3D Design":"3d","Game Dev":"gamedev"}),e.s(["DA_RANKINGS_CATEGORY_TABS",0,o,"RANKINGS_CATEGORY_KEYS",0,i,"getArenaLabel",0,function(e){return t[e]?.label??e},"getCategoryLabel",0,function(e,i){return t[e]?.categories[i]?.label??i.replaceAll(/\b([a-z])/g,e=>e.toUpperCase())}])},78590,e=>{"use strict";var t,i=((t={}).ProviderCount="80+",t.ModelCount="500+",t.GlobalUserCount="10M+",t.MonthlyTokens="400T+",t);e.s(["MarketingMetrics",()=>i])},421773,e=>{"use strict";let t={Temperature:"temperature",TopP:"top_p",TopK:"top_k",MinP:"min_p",TopA:"top_a",FrequencyPenalty:"frequency_penalty",PresencePenalty:"presence_penalty",RepetitionPenalty:"repetition_penalty",MaxTokens:"max_tokens",MaxCompletionTokens:"max_completion_tokens",LogitBias:"logit_bias",Logprobs:"logprobs",TopLogprobs:"top_logprobs",Prediction:"prediction",Seed:"seed",ResponseFormat:"response_format",StructuredOutputs:"structured_outputs",Stop:"stop",Tools:"tools",ToolChoice:"tool_choice",ParallelToolCalls:"parallel_tool_calls",IncludeReasoning:"include_reasoning",Reasoning:"reasoning",ReasoningEffort:"reasoning_effort",WebSearchOptions:"web_search_options",Verbosity:"verbosity"};t.MaxTokens,t.Temperature,t.TopP,t.Stop,t.FrequencyPenalty,t.PresencePenalty,t.Tools,t.ToolChoice;let i=new Set([t.StructuredOutputs,t.IncludeReasoning]);e.s(["INTERNAL_PARAMETERS",0,i,"Parameter",0,t])},735625,e=>{"use strict";var t,i=e.i(222666),r=e.i(505962);e.s([],447937),e.i(447937);var o=e.i(270401),n=e.i(618568),a=e.i(123651),l=e.i(228876),s=e.i(361409),d=e.i(235901),c=e.i(836033),u=e.i(854855);let m=((t={}).checked="data-checked",t.unchecked="data-unchecked",t.indeterminate="data-indeterminate",t.disabled="data-disabled",t.readonly="data-readonly",t.required="data-required",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);var p=e.i(391699);function g(e){return o.useMemo(()=>({checked:t=>e.indeterminate?{}:t?{[m.checked]:""}:{[m.unchecked]:""},...p.fieldValidityMapping}),[e.indeterminate])}var h=e.i(281334),f=e.i(593478),v=e.i(356120),b=e.i(481902),x=e.i(761073),y=e.i(897464),_=e.i(850577),w=e.i(965358),k=e.i(231152),j=e.i(459128),L=e.i(397744);let S=o.createContext(void 0),A=o.createContext(void 0);var M=e.i(939550),C=e.i(467219),N=e.i(412425);let E=o.forwardRef(function(e,t){let{checked:r,className:m,defaultChecked:p=!1,"aria-labelledby":E,disabled:I=!1,form:z,id:O,indeterminate:P=!1,inputRef:T,name:R,onCheckedChange:F,parent:H=!1,readOnly:B=!1,render:D,required:V=!1,uncheckedValue:K,value:W,nativeButton:G=!1,style:q,...U}=e,{clearErrors:Z}=(0,w.useFormContext)(),{disabled:$,name:Y,setDirty:Q,setFilled:X,setFocused:J,setTouched:ee,state:et,validationMode:ei,validityData:er,shouldValidateOnChange:eo,validation:en}=(0,x.useFieldRootContext)(),ea=(0,_.useFieldItemContext)(),{labelId:el,controlId:es,registerControlId:ed,getDescriptionProps:ec}=(0,k.useLabelableContext)(),eu=function(e=!0){let t=o.useContext(S);if(void 0===t&&!e)throw Error((0,L.default)(3));return t}(),em=eu?.parent,ep=em&&eu.allValues,eg=$||ea.disabled||eu?.disabled||I,eh=Y??R,ef=W??eh,ev=(0,f.useBaseUiId)(),eb=(0,f.useBaseUiId)(),ex=es;ep?ex=H?eb:`${em.id}-${ef}`:O&&(ex=O);let ey={};ep&&(H?ey=eu.parent.getParentProps():ef&&(ey=eu.parent.getChildProps(ef)));let e_=(0,l.useStableCallback)(F),{checked:ew=r,indeterminate:ek=P,onCheckedChange:ej,...eL}=ey,eS=eu?.value,eA=eu?.setValue,eM=eu?.defaultValue,eC=o.useRef(null),eN=(0,c.useRefWithInit)(()=>Symbol("checkbox-control")),eE=o.useRef(!1),{getButtonProps:eI,buttonRef:ez}=(0,b.useButton)({disabled:eg,native:G}),eO=eu?.validation??en,[eP,eT]=(0,a.useControlled)({controlled:ef&&eS&&!H?eS.includes(ef):ew,default:ef&&eM&&!H?eM.includes(ef):p,name:"Checkbox",state:"checked"});(0,s.useIsoLayoutEffect)(()=>{ed!==n.NOOP&&(eE.current=!0,ed(eN.current,ex))},[ex,eu,ed,H,eN]),o.useEffect(()=>{let e=eN.current;return()=>{eE.current&&ed!==n.NOOP&&(eE.current=!1,ed(e,void 0))}},[ed,eN]),(0,y.useRegisterFieldControl)(eC,{enabled:!eu,id:ev,value:eP});let eR=o.useRef(null),eF=(0,d.useMergedRefs)(T,eR,eO.inputRef),eH=(0,j.useAriaLabelledBy)(E,el,eR,!G,ex??void 0);(0,s.useIsoLayoutEffect)(()=>{eR.current&&(eR.current.indeterminate=ek,eP&&X(!0))},[eP,ek,X]),(0,N.useValueChanged)(eP,()=>{(!eu||H)&&(Z(eh),X(eP),Q(eP!==er.initialValue),eo()?eO.commit(eP):eO.commit(eP,!0))});let eB=(0,v.mergeProps)({checked:eP,disabled:eg,form:z,name:H?void 0:eh,id:G?void 0:ex??void 0,required:V,ref:eF,style:eh?u.visuallyHiddenInput:u.visuallyHidden,tabIndex:-1,type:"checkbox","aria-hidden":!0,onChange(e){if(e.nativeEvent.defaultPrevented)return;if(B)return void e.preventDefault();let t=e.currentTarget.checked,i=(0,M.createChangeEventDetails)(C.REASONS.none,e.nativeEvent);ej?.(t,i),e_(t,i),!i.isCanceled&&(eT(t),ef&&eS&&eA&&!H&&!ep&&eA(t?[...eS,ef]:eS.filter(e=>e!==ef),i))},onFocus(){eC.current?.focus()}},void 0!==W?{value:(eu?eP&&W:W)||""}:n.EMPTY_OBJECT,ec,eu?eO.getValidationProps:eO.getInputValidationProps),eD=ep?!!ew:eP,eV=ep&&ek||P;o.useEffect(()=>{if(!em||!ef)return;let e=em.disabledStatesRef.current;return e.set(ef,eg),()=>{e.delete(ef)}},[em,eg,ef]);let eK=o.useMemo(()=>({...et,checked:eD,disabled:eg,readOnly:B,required:V,indeterminate:eV}),[et,eD,eg,B,V,eV]),eW=g(eK),eG=(0,h.useRenderElement)("span",e,{state:eK,ref:[ez,eC,t,eu?.registerControlRef],props:[{id:G?ex??void 0:ev,role:"checkbox","aria-checked":ek?"mixed":eP,"aria-readonly":B||void 0,"aria-required":V||void 0,"aria-labelledby":eH,"data-parent":H?"":void 0,onFocus(){J(!0)},onBlur(){let e=eR.current;e&&(ee(!0),J(!1),"onBlur"===ei&&eO.commit(eu?eS:e.checked))},onClick(e){B||eg||(e.preventDefault(),eR.current?.dispatchEvent(new PointerEvent("click",{bubbles:!0,shiftKey:e.shiftKey,ctrlKey:e.ctrlKey,altKey:e.altKey,metaKey:e.metaKey})))}},ec,eO.getValidationProps,U,eL,eI],stateAttributesMapping:eW});return(0,i.jsxs)(A.Provider,{value:eK,children:[eG,!eP&&!eu&&eh&&!H&&void 0!==K&&(0,i.jsx)("input",{type:"hidden",form:z,name:eh,value:K}),(0,i.jsx)("input",{...eB,suppressHydrationWarning:!0})]})});var I=e.i(688342),z=e.i(207290),O=e.i(678968);let P=o.forwardRef(function(e,t){let{render:i,className:r,style:n,keepMounted:a=!1,...l}=e,s=function(){let e=o.useContext(A);if(void 0===e)throw Error((0,L.default)(14));return e}(),d=s.checked||s.indeterminate,{mounted:c,transitionStatus:u,setMounted:m}=(0,z.useTransitionStatus)(d),f=o.useRef(null),v={...s,transitionStatus:u};(0,I.useOpenChangeComplete)({open:d,ref:f,onComplete(){d||m(!1)}});let b=g(s),x=o.useMemo(()=>({...b,...O.transitionStatusMapping,...p.fieldValidityMapping}),[b]),y=(0,h.useRenderElement)("span",e,{ref:[t,f],state:v,stateAttributesMapping:x,props:l});return a||c?y:null});e.s(["Indicator",0,P,"Root",0,E],820300);var T=e.i(820300),T=T,R=e.i(452473),F=e.i(699937),H=e.i(420028);e.s(["Checkbox",0,function(e){let t,o,n,a,l,s,d,c,u,m=(0,r.c)(19);m[0]!==e?({className:o,checked:t,onCheckedChange:n,ref:l,...a}=e,m[0]=e,m[1]=t,m[2]=o,m[3]=n,m[4]=a,m[5]=l):(t=m[1],o=m[2],n=m[3],a=m[4],l=m[5]);let p="indeterminate"===t,g=!!p||t;return m[6]!==o?(s=(0,R.cn)("group/checkbox grid place-content-center peer h-4 w-4 shrink-0 rounded-sm border border-foreground/30 bg-muted 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-[checked]:text-primary-foreground data-[indeterminate]:border-primary data-[indeterminate]:bg-primary data-[indeterminate]:text-primary-foreground",o),m[6]=o,m[7]=s):s=m[7],m[8]!==p||m[9]!==n?(d=n?e=>{p?n(!0):n(e)}:void 0,m[8]=p,m[9]=n,m[10]=d):d=m[10],m[11]===Symbol.for("react.memo_cache_sentinel")?(c=(0,i.jsxs)(T.Indicator,{className:"flex items-center justify-center text-current",children:[(0,i.jsx)(F.Check,{className:"h-4 w-4 group-data-[indeterminate]/checkbox:hidden"}),(0,i.jsx)(H.Minus,{className:"hidden h-4 w-4 group-data-[indeterminate]/checkbox:block"})]}),m[11]=c):c=m[11],m[12]!==g||m[13]!==p||m[14]!==a||m[15]!==l||m[16]!==s||m[17]!==d?(u=(0,i.jsx)(T.Root,{ref:l,className:s,checked:g,indeterminate:p,onCheckedChange:d,...a,children:c}),m[12]=g,m[13]=p,m[14]=a,m[15]=l,m[16]=s,m[17]=d,m[18]=u):u=m[18],u}],735625)},810563,e=>{"use strict";var t=e.i(222666),i=e.i(505962),r=e.i(452473);e.s(["Input",0,function(e){let o,n,a,l,s,d,c,u,m,p,g,h,f,v,b=(0,i.c)(31);b[0]!==e?({className:o,containerClassName:n,containerProps:a,type:u,leadingIcon:l,trailingContent:c,ref:d,...s}=e,b[0]=e,b[1]=o,b[2]=n,b[3]=a,b[4]=l,b[5]=s,b[6]=d,b[7]=c,b[8]=u):(o=b[1],n=b[2],a=b[3],l=b[4],s=b[5],d=b[6],c=b[7],u=b[8]);let x=l&&"pl-9",y=void 0!==c&&"pr-20";b[9]!==o||b[10]!==x||b[11]!==y?(m=(0,r.cn)("flex h-10 w-full rounded-md border border-input bg-input-bg px-3 py-2 text-body pointer-coarse:text-base file:border-0 file:bg-transparent file:text-body file:font-medium file:text-foreground placeholder:text-muted-foreground/50 focus-visible:outline-hidden focus-visible:ring-0 focus-visible:border-focus-border focus-visible:shadow-focus disabled:cursor-not-allowed disabled:opacity-50",x,y,o),b[9]=o,b[10]=x,b[11]=y,b[12]=m):m=b[12],b[13]!==s||b[14]!==d||b[15]!==m||b[16]!==u?(p=(0,t.jsx)("input",{type:u,className:m,ref:d,autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1,...s}),b[13]=s,b[14]=d,b[15]=m,b[16]=u,b[17]=p):p=b[17];let _=p;if(!l&&void 0===c)return _;let w=a?.className;return b[18]!==n||b[19]!==w?(g=(0,r.cn)("relative w-full",n,w),b[18]=n,b[19]=w,b[20]=g):g=b[20],b[21]!==l?(h=l&&(0,t.jsx)("span",{"aria-hidden":!0,className:"absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground pointer-events-none [&>svg]:h-4 [&>svg]:w-4",children:l}),b[21]=l,b[22]=h):h=b[22],b[23]!==c?(f=c&&(0,t.jsx)("span",{className:"absolute right-1 top-1/2 flex -translate-y-1/2 items-center gap-1",children:c}),b[23]=c,b[24]=f):f=b[24],b[25]!==a||b[26]!==_||b[27]!==g||b[28]!==h||b[29]!==f?(v=(0,t.jsxs)("div",{...a,className:g,children:[h,_,f]}),b[25]=a,b[26]=_,b[27]=g,b[28]=h,b[29]=f,b[30]=v):v=b[30],v}])},558956,e=>{"use strict";var t=e.i(222666),i=e.i(505962),r=e.i(452473);let o=(0,e.i(207298).cva)("text-xs font-normal leading-none text-muted-foreground peer-disabled:cursor-not-allowed peer-disabled:opacity-70");e.s(["Label",0,function(e){let n,a,l,s,d,c,u,m=(0,i.c)(14);return m[0]!==e?({className:n,ref:s,onMouseDown:a,...l}=e,m[0]=e,m[1]=n,m[2]=a,m[3]=l,m[4]=s):(n=m[1],a=m[2],l=m[3],s=m[4]),m[5]!==n?(d=(0,r.cn)(o(),n),m[5]=n,m[6]=d):d=m[6],m[7]!==a?(c=e=>{a?.(e),!e.defaultPrevented&&e.detail>1&&e.preventDefault()},m[7]=a,m[8]=c):c=m[8],m[9]!==l||m[10]!==s||m[11]!==d||m[12]!==c?(u=(0,t.jsx)("label",{ref:s,className:d,onMouseDown:c,...l,htmlFor:l.htmlFor,children:l.children}),m[9]=l,m[10]=s,m[11]=d,m[12]=c,m[13]=u):u=m[13],u}])},542969,e=>{"use strict";var t=e.i(222666),i=e.i(505962),r=e.i(394333),o=e.i(493630);e.s(["ModelsPageListItemSkeleton",0,function(){let e,n,a,l,s,d=(0,i.c)(5);return d[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsxs)(o.ModelsPageListItemShell.TitleCluster,{children:[(0,t.jsx)(r.Skeleton,{className:"hidden size-6 shrink-0 rounded-full md:block"}),(0,t.jsx)(r.Skeleton,{className:"h-6 w-40 md:h-7 md:w-56"}),(0,t.jsx)(r.Skeleton,{className:"hidden size-5 shrink-0 rounded-md md:block"}),(0,t.jsx)(r.Skeleton,{className:"hidden size-5 shrink-0 rounded-md md:block"}),(0,t.jsx)(r.Skeleton,{className:"ml-1 hidden size-5 shrink-0 rounded md:block"})]}),d[0]=e):e=d[0],d[1]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsxs)(o.ModelsPageListItemShell.HeaderRow,{children:[e,(0,t.jsx)(o.ModelsPageListItemShell.WeeklyTokens,{children:(0,t.jsx)(r.Skeleton,{className:"h-4 w-24 rounded-full"})})]}),d[1]=n):n=d[1],d[2]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)(o.ModelsPageListItemShell.Categories,{children:(0,t.jsx)(r.Skeleton,{className:"h-6 w-36 rounded-full"})}),d[2]=a):a=d[2],d[3]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsxs)(o.ModelsPageListItemShell.Description,{children:[(0,t.jsx)(r.Skeleton,{className:"h-4 w-full"}),(0,t.jsx)(r.Skeleton,{className:"h-4 w-4/5"})]}),d[3]=l):l=d[3],d[4]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsxs)(o.ModelsPageListItemShell.ListRoot,{"data-testid":"model-list-item-skeleton",isLinked:!1,children:[n,a,l,(0,t.jsxs)(o.ModelsPageListItemShell.Footer,{children:[(0,t.jsx)(r.Skeleton,{className:"h-4 w-14"}),(0,t.jsx)(o.ModelsPageListItemShell.FooterDivider,{className:"hidden md:inline"}),(0,t.jsx)(r.Skeleton,{className:"hidden h-4 w-24 md:block"}),(0,t.jsx)(o.ModelsPageListItemShell.FooterDivider,{}),(0,t.jsx)(r.Skeleton,{className:"h-4 w-20"}),(0,t.jsx)(o.ModelsPageListItemShell.FooterDivider,{}),(0,t.jsx)(r.Skeleton,{className:"h-4 w-28"}),(0,t.jsx)(o.ModelsPageListItemShell.FooterDivider,{}),(0,t.jsx)(r.Skeleton,{className:"h-4 w-28"})]})]}),d[4]=s):s=d[4],s}])},361570,e=>{"use strict";var t=e.i(222666),i=e.i(505962),r=e.i(558200),o=e.i(452473),n=e.i(528164),a=e.i(426185),l=e.i(691038),s=e.i(210412),d=e.i(200321);let c=(0,t.jsx)(s.ResetFiltersFloatingButton,{}),u=e=>{let r,n,a=(0,i.c)(3);return a[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,o.cn)("sticky top-[calc(56px+var(--sticky-banner-top,0px))] z-10 h-[calc(100dvh-3.5rem-var(--sticky-banner-top,0px))] md:h-[calc(100dvh-3.5rem-var(--sticky-banner-top,0px))]","w-66","hidden md:flex flex-col","shrink-0 gap-0 overflow-hidden","border-r border-border bg-card","pl-6 pt-3 text-sm"),a[0]=r):r=a[0],a[1]!==e.children?(n=(0,t.jsx)("nav",{className:r,children:(0,t.jsx)("div",{className:"flex-1 overflow-y-auto overflow-x-hidden overscroll-contain",children:e.children})}),a[1]=e.children,a[2]=n):n=a[2],n},m=e=>{let l,s,c,u,m,p,g,h,f=(0,i.c)(16),v=e.clearsMobileActionBar?"-translate-x-6 -translate-y-24 sm:-translate-y-6":"-translate-x-6 -translate-y-6";f[0]!==v?(l=(0,o.cn)("fixed bottom-0 right-0 z-overlay",v),f[0]=v,f[1]=l):l=f[1],f[2]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)(a.SheetTrigger,{render:(0,t.jsxs)(n.Button,{size:"md",variant:"outline",className:"rounded-full bg-background text-muted-foreground md:hidden",children:[(0,t.jsx)(d.ListFilterIcon,{className:"h-4 w-4"})," Filter"]})}),f[2]=s):s=f[2],f[3]!==e.sheetTitle?(c=(0,t.jsx)(a.SheetTitle,{className:"sr-only",children:e.sheetTitle}),f[3]=e.sheetTitle,f[4]=c):c=f[4];let b=e.children;return f[5]===Symbol.for("react.memo_cache_sentinel")?(u=(0,o.cn)("fixed bottom-12 right-0 z-fixed cursor-pointer duration-0","-translate-x-6 -translate-y-6","sm:hidden"),f[5]=u):u=f[5],f[6]!==e.resetButton?(m=(0,t.jsx)("div",{className:u,children:e.resetButton}),f[6]=e.resetButton,f[7]=m):m=f[7],f[8]===Symbol.for("react.memo_cache_sentinel")?(p=(0,t.jsx)(a.SheetClose,{render:(0,t.jsxs)(n.Button,{size:"md",variant:"outline",className:(0,o.cn)("rounded-full bg-background text-muted-foreground","fixed bottom-0 right-0 z-fixed cursor-pointer duration-0","-translate-x-6 -translate-y-6","sm:hidden"),children:[(0,t.jsx)(r.XMarkIcon,{className:"h-4 w-4"}),"Close"]})}),f[8]=p):p=f[8],f[9]!==e.children||f[10]!==c||f[11]!==m?(g=(0,t.jsxs)(a.Sheet,{children:[s,(0,t.jsxs)(a.SheetContent,{side:"left",className:"w-full sm:w-[540px]",showCloseButton:!1,children:[c,b,m,p]})]}),f[9]=e.children,f[10]=c,f[11]=m,f[12]=g):g=f[12],f[13]!==l||f[14]!==g?(h=(0,t.jsx)("div",{className:l,children:g}),f[13]=l,f[14]=g,f[15]=h):h=f[15],h};e.s(["ModelsPageNav",0,e=>{let r,o,n,a=(0,i.c)(11),{children:s,sheetTitle:d,resetButton:p,clearsMobileActionBar:g}=e,h=void 0===d?"Model Filters":d,f=void 0===p?c:p,v=void 0!==g&&g,b=(0,l.useMatchMediaTriState)("(min-width: 768px)");a[0]!==s||a[1]!==v||a[2]!==f||a[3]!==h?(r=(0,t.jsx)(m,{sheetTitle:h,resetButton:f,clearsMobileActionBar:v,children:s}),a[0]=s,a[1]=v,a[2]=f,a[3]=h,a[4]=r):r=a[4];let x=r;a[5]!==s||a[6]!==b?(o=!1!==b&&(0,t.jsx)(u,{children:s}),a[5]=s,a[6]=b,a[7]=o):o=a[7];let y=!0!==b&&x;return a[8]!==o||a[9]!==y?(n=(0,t.jsxs)(t.Fragment,{children:[o,y]}),a[8]=o,a[9]=y,a[10]=n):n=a[10],n}])},637528,e=>{"use strict";var t=e.i(505962),i=e.i(850658),r=e.i(992148),o=e.i(79247),n=e.i(557986);e.s(["useModelsPageData",0,function(e){let a,l,s,d,c=(0,t.c)(21),{isLoaded:u,orgId:m,userId:p}=(0,i.useAuth)(),g="true"===e.private,h=g&&!u,f=g?m??p??null:null;c[0]!==f||c[1]!==e?(a=(0,n.findModelsOptions)(e,f),c[0]=f,c[1]=e,c[2]=a):a=c[2];let v=!h;c[3]!==a||c[4]!==v?(l={...a,enabled:v},c[3]=a,c[4]=v,c[5]=l):l=c[5];let{data:b,isLoading:x,isPlaceholderData:y,error:_}=(0,o.useQuery)(l),w=b?.models,k=b?.analytics,j=b?.categories,L=b?.modality_counts,S=b?.benchmarks,A=b?.endpoint_perf,M=b?.benchmark_ranges,C=b?.models.length??0,N=h||x;return c[6]!==_?(s=(0,r.extractErrorT)(_),c[6]=_,c[7]=s):s=c[7],c[8]!==y||c[9]!==g||c[10]!==C||c[11]!==N||c[12]!==s||c[13]!==w||c[14]!==k||c[15]!==j||c[16]!==L||c[17]!==S||c[18]!==A||c[19]!==M?(d={models:w,analytics:k,categories:j,modalityCounts:L,benchmarks:S,endpointPerf:A,benchmarkRanges:M,modelCount:C,isLoading:N,isPlaceholderData:y,error:s,showPrivate:g},c[8]=y,c[9]=g,c[10]=C,c[11]=N,c[12]=s,c[13]=w,c[14]=k,c[15]=j,c[16]=L,c[17]=S,c[18]=A,c[19]=M,c[20]=d):d=c[20],d}])},210412,e=>{"use strict";var t=e.i(222666),i=e.i(505962),r=e.i(452473),o=e.i(528164),n=e.i(270401),a=e.i(892662),l=e.i(2763),s=e.i(200321);let d=()=>{let e,t,r,o=(0,i.c)(8),{searchParams:n,setSearchParams:s}=(0,l.useModelSearchParams)();o[0]!==n||o[1]!==s?(e=()=>{var e;s((e=n,{...a.emptyModelSearchParams,private:"true"===e.private?"true":null}))},o[0]=n,o[1]=s,o[2]=e):e=o[2];let d=e;o[3]!==n?(t=Object.entries(n).some(([e,t])=>{var i,r;return"order"!==(i=e)&&"q"!==i&&"fmt"!==i&&"active"!==i&&"private"!==i&&(Array.isArray(r=t)?r.length>0:void 0!==r)}),o[3]=n,o[4]=t):t=o[4];let c=t;return o[5]!==c||o[6]!==d?(r={resetFilters:d,hasFilters:c},o[5]=c,o[6]=d,o[7]=r):r=o[7],r};function c(){let e,n,a=(0,i.c)(3),{resetFilters:l,hasFilters:s}=d();return s?(a[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.cn)("text-xs"),a[0]=e):e=a[0],a[1]!==l?(n=(0,t.jsx)(o.Button,{variant:"ghost",size:"sm",onClick:l,className:e,children:"Reset Filters"}),a[1]=l,a[2]=n):n=a[2],n):null}function u(){let e,n,a,l=(0,i.c)(6),{resetFilters:c,hasFilters:u}=d(),m=u&&"opacity-100";return l[0]!==m?(e=(0,r.cn)("opacity-0","rounded-full bg-background text-muted-foreground",m),l[0]=m,l[1]=e):e=l[1],l[2]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)(s.FilterXIcon,{className:"h-4 w-4"}),l[2]=n):n=l[2],l[3]!==c||l[4]!==e?(a=(0,t.jsxs)(o.Button,{variant:"outline",size:"md",onClick:c,className:e,children:[n,"Reset Filters"]}),l[3]=c,l[4]=e,l[5]=a):a=l[5],a}e.s(["ResetFiltersButton",0,function(){let e,r=(0,i.c)(1);return r[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(n.Suspense,{fallback:null,children:(0,t.jsx)(c,{})}),r[0]=e):e=r[0],e},"ResetFiltersFloatingButton",0,function(){let e,r=(0,i.c)(1);return r[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(n.Suspense,{fallback:null,children:(0,t.jsx)(u,{})}),r[0]=e):e=r[0],e}])},442796,222360,e=>{"use strict";var t=e.i(706527);e.s(["filterPinnedModels",0,function(e,i){let r=new Set(i);return e.filter(e=>r.has((0,t.getModelVariantSlug)(e)))}],442796);var i=e.i(222666),r=e.i(505962),o=e.i(528164),n=e.i(50666),a=e.i(61811),l=e.i(210412);function s(e){return e.setIsPinnedOnly}e.s(["PinnedModelsEmptyState",0,function(e){let t,d,c,u,m,p=(0,r.c)(10),{hasPins:g}=e,h=(0,a.useModelsPinnedFilterStore)(s),f=g?"No pinned models match your filters.":"No pinned models yet.";return p[0]!==f?(t=(0,i.jsx)(n.EmptyTitle,{children:f}),p[0]=f,p[1]=t):t=p[1],p[2]!==h?(d=(0,i.jsx)(o.Button,{variant:"outline",size:"sm",onClick:()=>h(!1),children:"Show all models"}),p[2]=h,p[3]=d):d=p[3],p[4]===Symbol.for("react.memo_cache_sentinel")?(c=(0,i.jsx)(l.ResetFiltersButton,{}),p[4]=c):c=p[4],p[5]!==d?(u=(0,i.jsxs)(n.EmptyDescription,{className:"flex items-center justify-center gap-2",children:[d,c]}),p[5]=d,p[6]=u):u=p[6],p[7]!==t||p[8]!==u?(m=(0,i.jsx)(n.Empty,{className:"mt-8",children:(0,i.jsxs)(n.EmptyHeader,{children:[t,u]})}),p[7]=t,p[8]=u,p[9]=m):m=p[9],m}],222360)},674314,e=>{"use strict";var t=e.i(222666),i=e.i(674026),r=e.i(173037),o=e.i(902866),n=e.i(50157),a=e.i(270401);let l=a.forwardRef(function({title:e,titleId:t,...i},r){return a.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:r,"aria-labelledby":t},i),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.5 14.25v2.25m3-4.5v4.5m3-6.75v6.75m3-9v9M6 20.25h12A2.25 2.25 0 0 0 20.25 18V6A2.25 2.25 0 0 0 18 3.75H6A2.25 2.25 0 0 0 3.75 6v12A2.25 2.25 0 0 0 6 20.25Z"}))});var s=e.i(613889),d=e.i(221718),c=e.i(920248),u=e.i(849566),m=e.i(191898);let p=a.forwardRef(function({title:e,titleId:t,...i},r){return a.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:r,"aria-labelledby":t},i),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m20.893 13.393-1.135-1.135a2.252 2.252 0 0 1-.421-.585l-1.08-2.16a.414.414 0 0 0-.663-.107.827.827 0 0 1-.812.21l-1.273-.363a.89.89 0 0 0-.738 1.595l.587.39c.59.395.674 1.23.172 1.732l-.2.2c-.212.212-.33.498-.33.796v.41c0 .409-.11.809-.32 1.158l-1.315 2.191a2.11 2.11 0 0 1-1.81 1.025 1.055 1.055 0 0 1-1.055-1.055v-1.172c0-.92-.56-1.747-1.414-2.089l-.655-.261a2.25 2.25 0 0 1-1.383-2.46l.007-.042a2.25 2.25 0 0 1 .29-.787l.09-.15a2.25 2.25 0 0 1 2.37-1.048l1.178.236a1.125 1.125 0 0 0 1.302-.795l.208-.73a1.125 1.125 0 0 0-.578-1.315l-.665-.332-.091.091a2.25 2.25 0 0 1-1.591.659h-.18c-.249 0-.487.1-.662.274a.931.931 0 0 1-1.458-1.137l1.411-2.353a2.25 2.25 0 0 0 .286-.76m11.928 9.869A9 9 0 0 0 8.965 3.525m11.928 9.868A9 9 0 1 1 8.965 3.525"}))}),g=a.forwardRef(function({title:e,titleId:t,...i},r){return a.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:r,"aria-labelledby":t},i),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 8.25c0-2.485-2.099-4.5-4.688-4.5-1.935 0-3.597 1.126-4.312 2.733-.715-1.607-2.377-2.733-4.313-2.733C5.1 3.75 3 5.765 3 8.25c0 7.22 9 12 9 12s9-4.78 9-12Z"}))}),h=a.forwardRef(function({title:e,titleId:t,...i},r){return a.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:r,"aria-labelledby":t},i),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.53 16.122a3 3 0 0 0-5.78 1.128 2.25 2.25 0 0 1-2.4 2.245 4.5 4.5 0 0 0 8.4-2.245c0-.399-.078-.78-.22-1.128Zm0 0a15.998 15.998 0 0 0 3.388-1.62m-5.043-.025a15.994 15.994 0 0 1 1.622-3.395m3.42 3.42a15.995 15.995 0 0 0 4.764-4.648l3.876-5.814a1.151 1.151 0 0 0-1.597-1.597L14.146 6.32a15.996 15.996 0 0 0-4.649 4.763m3.42 3.42a6.776 6.776 0 0 0-3.42-3.42"}))});var f=e.i(373855),v=e.i(614991);let b=a.forwardRef(function({title:e,titleId:t,...i},r){return a.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:r,"aria-labelledby":t},i),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.25 6.087c0-.355.186-.676.401-.959.221-.29.349-.634.349-1.003 0-1.036-1.007-1.875-2.25-1.875s-2.25.84-2.25 1.875c0 .369.128.713.349 1.003.215.283.401.604.401.959v0a.64.64 0 0 1-.657.643 48.39 48.39 0 0 1-4.163-.3c.186 1.613.293 3.25.315 4.907a.656.656 0 0 1-.658.663v0c-.355 0-.676-.186-.959-.401a1.647 1.647 0 0 0-1.003-.349c-1.036 0-1.875 1.007-1.875 2.25s.84 2.25 1.875 2.25c.369 0 .713-.128 1.003-.349.283-.215.604-.401.959-.401v0c.31 0 .555.26.532.57a48.039 48.039 0 0 1-.642 5.056c1.518.19 3.058.309 4.616.354a.64.64 0 0 0 .657-.643v0c0-.355-.186-.676-.401-.959a1.647 1.647 0 0 1-.349-1.003c0-1.035 1.008-1.875 2.25-1.875 1.243 0 2.25.84 2.25 1.875 0 .369-.128.713-.349 1.003-.215.283-.4.604-.4.959v0c0 .333.277.599.61.58a48.1 48.1 0 0 0 5.427-.63 48.05 48.05 0 0 0 .582-4.717.532.532 0 0 0-.533-.57v0c-.355 0-.676.186-.959.401-.29.221-.634.349-1.003.349-1.035 0-1.875-1.007-1.875-2.25s.84-2.25 1.875-2.25c.37 0 .713.128 1.003.349.283.215.604.401.96.401v0a.656.656 0 0 0 .658-.663 48.422 48.422 0 0 0-.37-5.36c-1.886.342-3.81.574-5.766.689a.578.578 0 0 1-.61-.58v0Z"}))});var x=e.i(328103),y=e.i(150592),_=e.i(143566),w=e.i(492009),k=e.i(541678),j=e.i(535316),L=e.i(29042),S=e.i(130206),A=e.i(358390),M=e.i(963),C=e.i(421773),N=e.i(759024),E=e.i(370066),I=e.i(61291),z=e.i(190557),O=e.i(112272);let P=new Set([C.Parameter.Tools,C.Parameter.ToolChoice]),T=new Set([A.ModelGroup.Router,A.ModelGroup.Media,A.ModelGroup.Other,A.ModelGroup.PaLM]),R=Object.fromEntries(S.DA_RANKINGS_CATEGORY_TABS.map(e=>[e.daKey,e.label.replace(/ ELO$/,"")]));function F(e){return R[e]??e}let H={codecategories:(0,t.jsx)(s.CodeBracketIcon,{className:"size-4"}),uicomponent:(0,t.jsx)(x.RectangleGroupIcon,{className:"size-4"}),gamedev:(0,t.jsx)(b,{className:"size-4"}),dataviz:(0,t.jsx)(n.ChartBarIcon,{className:"size-4"}),"3d":(0,t.jsx)(c.CubeIcon,{className:"size-4"}),image:(0,t.jsx)(v.PhotoIcon,{className:"size-4"}),video:(0,t.jsx)(w.VideoCameraIcon,{className:"size-4"}),svg:(0,t.jsx)(f.PencilIcon,{className:"size-4"})},B={isHipaaFilterVisible:!1};function D(e){return"key"in e?e.key:e.keys.join("-")}e.s(["getDaCategoryLabel",0,F,"getFilterKey",0,D,"getFilterOrGroupKey",0,function(e){return"group"===e.type?`group:${e.name}`:D(e)},"getFilters",0,function(e,a,c=B){return[...[{type:"multiselect",key:"input_modalities",icon:(0,t.jsx)(i.ArrowRightEndOnRectangleIcon,{className:"size-4"}),name:"Input modalities",options:Object.values(M.InputModality),formatLabel:e=>(0,O.sentenceCase)(e),defaultOpen:!0},{type:"plain",key:"discount",icon:(0,t.jsx)(m.GiftIcon,{className:"size-4"}),defaultOpen:!1,name:"Discounted",options:["true"],formatLabel:e=>"true"===e?"Has a discount":"No"},{type:"segmented-slider",key:"context",icon:(0,t.jsx)(d.CpuChipIcon,{className:"size-4"}),defaultOpen:void 0,name:"Context length",options:[4e3,16e3,32e3,64e3,128e3,256e3,1e6],formatLabel:t=>(0,E.formatNumber)(t,{locale:e,preset:"filter-context"})??"—"},{type:"duo-segmented-slider",defaultOpen:void 0,keys:["min_price","max_price"],icon:(0,t.jsx)(u.CurrencyDollarIcon,{className:"size-4"}),name:"Prompt pricing",options:[0,.1,.2,.5,1,5,10],formatLabel:t=>{var i,r;return i=e,0===(r=t)?"FREE":10===r?`${(0,z.formatUsd)(r,{locale:i,preset:"model-price"})??"—"}+`:(0,z.formatUsd)(r,{locale:i,preset:"model-price"})??"—"},formatValue:e=>{if(10!==e)return e.toString()}},{type:"multiselect",key:"arch",icon:(0,t.jsx)(x.RectangleGroupIcon,{className:"size-4"}),defaultOpen:!1,name:"Series",options:Object.values(A.ModelGroup).toSorted((e,t)=>T.has(e)?1:T.has(t)?-1:0),formatLabel:e=>e},{type:"multiselect",key:"categories",defaultOpen:!1,icon:(0,t.jsx)(_.TagIcon,{className:"size-4"}),name:"Categories",options:Object.values(j.UseCaseCategory),formatLabel:j.getUseCaseCategoryDisplayName},{type:"multiselect",key:"supported_parameters",icon:(0,t.jsx)(s.CodeBracketIcon,{className:"size-4"}),name:"Supported parameters",defaultOpen:!1,options:[C.Parameter.Tools,...Object.values(C.Parameter).filter(e=>!P.has(e))],formatLabel:e=>String(e)},{type:"plain",key:"distillable",icon:(0,t.jsx)(r.BeakerIcon,{className:"size-4"}),defaultOpen:!1,name:"Distillable",options:["true","false"],formatLabel:e=>"true"===e?"Yes":"No"},{type:"plain",key:"zdr",icon:(0,t.jsx)(y.ShieldCheckIcon,{className:"size-4"}),defaultOpen:!1,name:"Zero data retention",options:["true"],formatLabel:e=>"true"===e?"Supported":"No"},{type:"plain",key:"hipaa",icon:(0,t.jsx)(g,{className:"size-4"}),defaultOpen:!1,name:"HIPAA Compliant",tooltip:(0,t.jsx)(N.InfoTooltip,{side:"right",children:"Models with at least one HIPAA-eligible endpoint: one covered by a business associate agreement, so HIPAA traffic may route to it."}),options:["true"],formatLabel:e=>"true"===e?"Supported":"No"},{type:"plain",key:"region",icon:(0,t.jsx)(p,{className:"size-4"}),defaultOpen:!1,name:"In-region routing",tooltip:(0,t.jsxs)(N.InfoTooltip,{side:"right",children:["Filters for endpoints where processing is done entirely in a single region."," ",(0,t.jsx)("a",{href:"https://openrouter.ai/docs/guides/features/in-region-routing",className:"underline",target:"_blank",rel:"noopener noreferrer",children:"Learn more"})]}),options:["eu","us"],formatLabel:e=>e.toUpperCase()},{type:"duo-segmented-slider",defaultOpen:!1,keys:["min_output_price","max_output_price"],icon:(0,t.jsx)(u.CurrencyDollarIcon,{className:"size-4"}),name:"Output pricing",options:[0,.5,1,2,5,10,30],formatLabel:t=>{var i,r;return i=e,0===(r=t)?"FREE":30===r?`${(0,z.formatUsd)(r,{locale:i,preset:"model-price"})??"—"}+`:(0,z.formatUsd)(r,{locale:i,preset:"model-price"})??"—"},formatValue:e=>{if(30!==e)return e.toString()}},{type:"range-slider",keys:["min_age_days","max_age_days"],icon:(0,t.jsx)(o.CalendarDaysIcon,{className:"size-4"}),defaultOpen:!1,name:"Model age",min:0,max:12,step:1,formatLabel:t=>{var i,r;return i=e,(r=t)<=0?"New":r>=12?`${(0,E.formatNumber)(12,{locale:i,preset:"integer"})??"—"}+ mo`:`${(0,E.formatNumber)(r,{locale:i,preset:"integer"})??"—"} mo`},toSlider:e=>Math.min(Math.round(e/30),12),toQuery:e=>30*Math.round(e)}].filter(e=>c.isHipaaFilterVisible||!("key"in e&&"hipaa"===e.key)),{type:"range-slider",keys:["min_tool_success_rate","max_tool_success_rate"],icon:(0,t.jsx)(k.WrenchScrewdriverIcon,{className:"size-4"}),defaultOpen:!1,name:"Tool calling",tooltip:(0,t.jsx)(N.InfoTooltip,{side:"right",children:"Tool calling success rate (percentage of requests that complete with a tool_calls finish reason)"}),min:0,max:Math.ceil((a?.tool_success_rate?.max??1)*100),step:1,formatLabel:t=>(0,I.formatPercentPoints)(t,{locale:e,preset:"fee"})??"—",toSlider:e=>Math.round(100*e),toQuery:e=>Math.round(e)/100},{type:"group",name:"Artificial Analysis",icon:(0,t.jsx)(l,{className:"size-4"}),collapsible:!0,defaultOpen:!1,filters:[{type:"range-slider",keys:["min_intelligence_index","max_intelligence_index"],icon:(0,t.jsx)(n.ChartBarIcon,{className:"size-4"}),defaultOpen:!1,name:"Intelligence Index",tooltip:(0,t.jsx)(N.InfoTooltip,{side:"right",children:"Artificial Analysis Intelligence Index score (0-100)"}),min:0,max:Math.ceil(a?.intelligence_index?.max??100),step:1,formatLabel:t=>(0,E.formatNumber)(t,{locale:e,preset:"integer"})??"—"},{type:"range-slider",keys:["min_coding_index","max_coding_index"],icon:(0,t.jsx)(s.CodeBracketIcon,{className:"size-4"}),defaultOpen:!1,name:"Coding Index",tooltip:(0,t.jsx)(N.InfoTooltip,{side:"right",children:"Artificial Analysis Coding Index score (0-100)"}),min:0,max:Math.ceil(a?.coding_index?.max??100),step:1,formatLabel:t=>(0,E.formatNumber)(t,{locale:e,preset:"integer"})??"—"},{type:"range-slider",keys:["min_agentic_index","max_agentic_index"],icon:(0,t.jsx)(d.CpuChipIcon,{className:"size-4"}),defaultOpen:!1,name:"Agentic Index",tooltip:(0,t.jsx)(N.InfoTooltip,{side:"right",children:"Artificial Analysis Agentic Index score (0-100)"}),min:0,max:Math.ceil(a?.agentic_index?.max??100),step:1,formatLabel:t=>(0,E.formatNumber)(t,{locale:e,preset:"integer"})??"—"}]},{type:"group",name:"Design Arena",icon:(0,t.jsx)(h,{className:"size-4"}),collapsible:!0,defaultOpen:!1,filters:S.RANKINGS_CATEGORY_KEYS.map(i=>{let r=(0,L.daCategoryLookupKey)(i);return{type:"range-slider",keys:[(0,L.daEloMinKey)(i),(0,L.daEloMaxKey)(i)],icon:H[i],defaultOpen:!1,name:F(r),tooltip:(0,t.jsxs)(N.InfoTooltip,{side:"right",children:["Design Arena ",F(r)," ELO from head-to-head arena battles"]}),min:0,max:Math.ceil(a?.da_elo?.[r]?.max??2e3),step:1,formatLabel:t=>(0,E.formatNumber)(t,{locale:e,preset:"integer"})??"—"}})}]}],674314)},61811,e=>{"use strict";let t=(0,e.i(948810).create)(e=>({isPinnedOnly:!1,setIsPinnedOnly:t=>e({isPinnedOnly:t}),togglePinnedOnly:()=>e(e=>({isPinnedOnly:!e.isPinnedOnly}))}));e.s(["useModelsPinnedFilterStore",0,t])},557986,561348,e=>{"use strict";var t=e.i(687421),i=e.i(151960),r=e.i(626824);e.i(204067);var o=e.i(796805),n=e.i(450740),a=e.i(8842);e.s(["MODELS_REQUEST_TIMEOUT_MS",0,2e4,"SSR_MODEL_ROW_COUNT",0,20],561348);let l=o.z.array(o.z.object({name:o.z.enum(t.PublicProviderName),displayName:o.z.string()})),s=(0,r.createQueryKeys)("models",{providerFilters:()=>[],search:(e,t)=>[{searchParams:e,entityScope:t}]});e.s(["findModelsOptions",0,function(e,t){return(0,a.queryOptions)({queryKey:s.search(e,t),queryFn:({signal:t})=>(0,i.fetchAPIQuery)("/api/frontend/v1/models/find",{searchParams:e,signal:t,timeoutMs:2e4}),placeholderData:n.keepPreviousData})},"providerFiltersOptions",0,function(){return(0,a.queryOptions)({queryKey:s.providerFilters(),queryFn:({signal:e})=>(0,i.fetchAPIQuery)("/api/frontend/v1/provider-filters",{signal:e,schema:l})})}],557986)},340965,29042,e=>{"use strict";var t,i=e.i(535316);function r(e){return`min_da_elo_${e}`}function o(e){return`max_da_elo_${e}`}let n=e.i(130206).RANKINGS_CATEGORY_KEYS.flatMap(e=>[r(e),o(e)]);function a(e){return Object.fromEntries(n.map(t=>[t,e(t)]))}e.s(["buildDaEloParamRecord",0,a,"daCategoryLookupKey",0,function(e){return`models-${e}`},"daEloMaxKey",0,o,"daEloMinKey",0,r],29042);var l=e.i(839539),s=e.i(358390),d=e.i(963),c=e.i(421773),u=e.i(687421),m=e.i(179273),p=e.i(217631),g=e.i(693697),h=e.i(204067),f=e.i(796805),v=((t={}).MostPopular="most-popular",t.Newest="newest",t.Oldest="oldest",t.TopWeekly="top-weekly",t.WeeklyTokensLowToHigh="weekly-tokens-low-to-high",t.DiscountHighToLow="discount-high-to-low",t.PricingLowToHigh="pricing-low-to-high",t.PricingHighToLow="pricing-high-to-low",t.ContextHighToLow="context-high-to-low",t.ContextLowToHigh="context-low-to-high",t.ThroughputHighToLow="throughput-high-to-low",t.ThroughputLowToHigh="throughput-low-to-high",t.LatencyLowToHigh="latency-low-to-high",t.LatencyHighToLow="latency-high-to-low",t.IntelligenceHighToLow="intelligence-high-to-low",t.IntelligenceLowToHigh="intelligence-low-to-high",t.CodingHighToLow="coding-high-to-low",t.CodingLowToHigh="coding-low-to-high",t.AgenticHighToLow="agentic-high-to-low",t.AgenticLowToHigh="agentic-low-to-high",t.DAEloHighToLow="da-elo-high-to-low",t.DAEloLowToHigh="da-elo-low-to-high",t);let b=f.z.string().optional().transform(e=>e?.split(",").map(e=>e.trim())),x=b.transform(e=>e?.filter(e=>(0,p.isMember)(e,c.Parameter))),y=b.transform(e=>e?.map(e=>(0,p.findMemberCaseInsensitive)(e,d.InputModality)).filter(e=>void 0!==e)),_=b.transform(e=>e?.map(e=>(0,p.findMemberCaseInsensitive)(e,d.OutputModality)).filter(e=>void 0!==e)),w=b.transform(e=>e?.map(e=>(0,p.findMemberCaseInsensitive)(e,u.ProviderName)).filter(e=>void 0!==e)),k=b.transform(e=>e?.filter(e=>(0,p.isMember)(e,i.UseCaseCategory))),j=b.transform(e=>e?.filter(e=>(0,p.isMember)(e,s.ModelGroup))),L=f.z.object({q:f.z.string().optional(),fmt:f.z.enum(l.ModelDisplayFormat).optional().default(l.ModelDisplayFormat.Cards),arch:j,categories:k,input_modalities:y,output_modalities:_,variant:f.z.enum(m.StaticVariant).optional(),providers:w,model_authors:b,context:f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseInt(e.toString(),10):void 0),pricing:f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),min_price:f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),max_price:f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),supported_parameters:x,distillable:f.z.enum(["true","false"]).optional(),zdr:f.z.literal("true").optional(),hipaa:f.z.literal("true").optional(),discount:f.z.literal("true").optional(),region:f.z.enum(["eu","us"]).optional(),order:f.z.enum(v).optional(),active:f.z.literal("true").optional(),private:f.z.literal("true").optional(),min_output_price:f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),max_output_price:f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),min_age_days:f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseInt(e.toString(),10):void 0),max_age_days:f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseInt(e.toString(),10):void 0),min_intelligence_index:f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),max_intelligence_index:f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),min_coding_index:f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),max_coding_index:f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),min_agentic_index:f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),max_agentic_index:f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),...a(()=>f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0)),min_tool_success_rate:f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0),max_tool_success_rate:f.z.union([f.z.number(),f.z.string()]).optional().transform(e=>void 0!==e?Number.parseFloat(e.toString()):void 0)}),S=(0,g.unwrap)((0,h.parseSchema)(L,{active:"true"}));e.s(["DEFAULT_FIND_MODELS_SEARCH_PARAMS",0,S,"OrderType",()=>v,"orderTypeLabelMap",0,{"most-popular":"Most Popular",newest:"Newest",oldest:"Oldest","top-weekly":"Top Weekly","weekly-tokens-low-to-high":"Weekly Tokens: Low to High","discount-high-to-low":"Discount: High to Low","pricing-low-to-high":"Pricing: Low to High","pricing-high-to-low":"Pricing: High to Low","context-high-to-low":"Context: High to Low","context-low-to-high":"Context: Low to High","throughput-high-to-low":"Throughput: High to Low","throughput-low-to-high":"Throughput: Low to High","latency-low-to-high":"Latency: Low to High","latency-high-to-low":"Latency: High to Low","intelligence-high-to-low":"Intelligence: High to Low","intelligence-low-to-high":"Intelligence: Low to High","coding-high-to-low":"Coding: High to Low","coding-low-to-high":"Coding: Low to High","agentic-high-to-low":"Agentic: High to Low","agentic-low-to-high":"Agentic: Low to High","da-elo-high-to-low":"Design Arena ELO: High to Low","da-elo-low-to-high":"Design Arena ELO: Low to High"}],340965)},2763,892662,e=>{"use strict";var t=e.i(505962),i=e.i(621364);e.i(270401);var r=e.i(535316),o=e.i(29042),n=e.i(839539),a=e.i(358390),l=e.i(963),s=e.i(421773),d=e.i(687421),c=e.i(179273),u=e.i(340965);let m={q:i.parseAsString,fmt:(0,i.parseAsStringEnum)(Object.values(n.ModelDisplayFormat)).withDefault(n.ModelDisplayFormat.Cards),arch:(0,i.parseAsArrayOf)((0,i.parseAsStringEnum)(Object.values(a.ModelGroup))),categories:(0,i.parseAsArrayOf)((0,i.parseAsStringEnum)(Object.values(r.UseCaseCategory))),input_modalities:(0,i.parseAsArrayOf)((0,i.parseAsStringEnum)(Object.values(l.InputModality))),output_modalities:(0,i.parseAsArrayOf)((0,i.parseAsStringEnum)(Object.values(l.OutputModality))),variant:(0,i.parseAsStringEnum)(Object.values(c.StaticVariant)),providers:(0,i.parseAsArrayOf)((0,i.parseAsStringEnum)(Object.values(d.ProviderName))),model_authors:(0,i.parseAsArrayOf)(i.parseAsString),context:i.parseAsInteger,pricing:i.parseAsFloat,min_price:i.parseAsFloat,max_price:i.parseAsFloat,supported_parameters:(0,i.parseAsArrayOf)((0,i.parseAsStringEnum)(Object.values(s.Parameter))),distillable:(0,i.parseAsStringLiteral)(["true","false"]),zdr:(0,i.parseAsStringLiteral)(["true"]),hipaa:(0,i.parseAsStringLiteral)(["true"]),discount:(0,i.parseAsStringLiteral)(["true"]),region:(0,i.parseAsStringLiteral)(["eu","us"]),order:(0,i.parseAsStringEnum)(Object.values(u.OrderType)),active:(0,i.parseAsStringLiteral)(["true","false"]),private:(0,i.parseAsStringLiteral)(["true"]),min_output_price:i.parseAsFloat,max_output_price:i.parseAsFloat,min_age_days:i.parseAsInteger,max_age_days:i.parseAsInteger,min_intelligence_index:i.parseAsFloat,max_intelligence_index:i.parseAsFloat,min_coding_index:i.parseAsFloat,max_coding_index:i.parseAsFloat,min_agentic_index:i.parseAsFloat,max_agentic_index:i.parseAsFloat,...(0,o.buildDaEloParamRecord)(()=>i.parseAsFloat),min_tool_success_rate:i.parseAsFloat,max_tool_success_rate:i.parseAsFloat};(0,i.createSerializer)(m);let p={q:null,fmt:null,arch:null,categories:null,input_modalities:null,output_modalities:null,variant:null,providers:null,model_authors:null,context:null,pricing:null,min_price:null,max_price:null,supported_parameters:null,distillable:null,zdr:null,hipaa:null,discount:null,region:null,order:null,active:null,private:null,min_output_price:null,max_output_price:null,min_age_days:null,max_age_days:null,min_intelligence_index:null,max_intelligence_index:null,min_coding_index:null,max_coding_index:null,min_agentic_index:null,max_agentic_index:null,...(0,o.buildDaEloParamRecord)(()=>null),min_tool_success_rate:null,max_tool_success_rate:null};function g(e){return{q:e.q??void 0,fmt:e.fmt,arch:e.arch??void 0,categories:e.categories??void 0,input_modalities:e.input_modalities??void 0,output_modalities:e.output_modalities??void 0,variant:e.variant??void 0,providers:e.providers??void 0,model_authors:e.model_authors??void 0,context:e.context??void 0,pricing:e.pricing??void 0,min_price:e.min_price??void 0,max_price:e.max_price??void 0,supported_parameters:e.supported_parameters??void 0,distillable:e.distillable??void 0,zdr:e.zdr??void 0,hipaa:e.hipaa??void 0,discount:e.discount??void 0,region:e.region??void 0,order:e.order??void 0,active:"false"===e.active?void 0:"true",private:e.private??void 0,min_output_price:e.min_output_price??void 0,max_output_price:e.max_output_price??void 0,min_age_days:e.min_age_days??void 0,max_age_days:e.max_age_days??void 0,min_intelligence_index:e.min_intelligence_index??void 0,max_intelligence_index:e.max_intelligence_index??void 0,min_coding_index:e.min_coding_index??void 0,max_coding_index:e.max_coding_index??void 0,min_agentic_index:e.min_agentic_index??void 0,max_agentic_index:e.max_agentic_index??void 0,...(0,o.buildDaEloParamRecord)(t=>e[t]??void 0),min_tool_success_rate:e.min_tool_success_rate??void 0,max_tool_success_rate:e.max_tool_success_rate??void 0}}e.s(["emptyModelSearchParams",0,p,"modelSearchParamParsers",0,m,"toSearchParams",0,g],892662);let h={history:"push",shallow:!0};e.s(["useModelSearchParams",0,function(){let e,r,o=(0,t.c)(6),[n,a]=(0,i.useQueryStates)(m,h);o[0]!==n?(e=g(n),o[0]=n,o[1]=e):e=o[1];let l=e;return o[2]!==n||o[3]!==l||o[4]!==a?(r={query:n,searchParams:l,setSearchParams:a},o[2]=n,o[3]=l,o[4]=a,o[5]=r):r=o[5],r}],2763)},475910,e=>{"use strict";var t=e.i(222666),i=e.i(505962),r=e.i(557225),o=e.i(277281),n=e.i(270401);let a=["anthropic","openai","deepseek","google","x-ai","mistralai","meta","black-forest-labs"];function l(e){return(e+1)%a.length}e.s(["RotatingAuthorIcon",0,function(){let e,s,d,c,u,m,p=(0,i.c)(12),[g,h]=(0,n.useState)(0),[f,v]=(0,n.useState)(!1),[b,x]=(0,n.useState)(!0);p[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{v(!0)},p[0]=e):e=p[0],(0,o.useInterval)(e,2e3),p[1]!==f?(s=()=>{if(!f)return;let e=setTimeout(()=>{x(!1),h(l),v(!1),requestAnimationFrame(()=>{x(!0)})},300);return()=>clearTimeout(e)},d=[f],p[1]=f,p[2]=s,p[3]=d):(s=p[2],d=p[3]),(0,n.useEffect)(s,d);let y=a[g]??"anthropic",_=a[(g+1)%a.length]??"anthropic",w=`flex flex-col ${b?"transition-transform duration-300 ease-in-out":""} ${f?"-translate-y-1/2":"translate-y-0"}`;return p[4]!==y?(c=(0,t.jsx)("div",{className:"flex h-5 w-5 items-center justify-center",children:(0,t.jsx)(r.AuthorIcon,{author:y,className:"size-5 border-0 bg-transparent p-0 shadow-none"})}),p[4]=y,p[5]=c):c=p[5],p[6]!==_?(u=(0,t.jsx)("div",{className:"flex h-5 w-5 items-center justify-center",children:(0,t.jsx)(r.AuthorIcon,{author:_,className:"size-5 border-0 bg-transparent p-0 shadow-none"})}),p[6]=_,p[7]=u):u=p[7],p[8]!==w||p[9]!==c||p[10]!==u?(m=(0,t.jsx)("div",{className:"relative h-5 w-5 overflow-hidden","data-testid":"rotating-author-icon",children:(0,t.jsxs)("div",{className:w,children:[c,u]})}),p[8]=w,p[9]=c,p[10]=u,p[11]=m):m=p[11],m}])},200321,e=>{"use strict";var t=e.i(222666),i=e.i(505962);e.s(["FilterXIcon",0,function(e){let r,o,n,a,l,s=(0,i.c)(6),{className:d}=e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("title",{children:"Remove Filter"}),o=(0,t.jsx)("path",{d:"M13.013 3H2l8 9.46V19l4 2v-8.54l.9-1.055"}),n=(0,t.jsx)("path",{d:"m22 3-5 5"}),a=(0,t.jsx)("path",{d:"m17 3 5 5"}),s[0]=r,s[1]=o,s[2]=n,s[3]=a):(r=s[0],o=s[1],n=s[2],a=s[3]),s[4]!==d?(l=(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:d,children:[r,o,n,a]}),s[4]=d,s[5]=l):l=s[5],l},"ListFilterIcon",0,function(e){let r,o,n,a,l,s=(0,i.c)(6),{className:d}=e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("title",{children:"Filter"}),o=(0,t.jsx)("path",{d:"M3 6h18"}),n=(0,t.jsx)("path",{d:"M7 12h10"}),a=(0,t.jsx)("path",{d:"M10 18h4"}),s[0]=r,s[1]=o,s[2]=n,s[3]=a):(r=s[0],o=s[1],n=s[2],a=s[3]),s[4]!==d?(l=(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:d,children:[r,o,n,a]}),s[4]=d,s[5]=l):l=s[5],l}])}]); //# sourceMappingURL=445df15rwk1i2.js.map //# chunkId=01a0a063-3ae4-7511-a57f-6b3b7a4096fa