(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,788699,360200,e=>{"use strict";let t=(0,e.i(475254).default)("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);e.s(["default",0,t],360200),e.s(["Pencil",0,t],788699)},541071,373488,e=>{"use strict";let t=(0,e.i(475254).default)("ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]);e.s(["default",0,t],373488),e.s(["MoreHorizontal",0,t],541071)},332102,e=>{"use strict";let t=(0,e.i(475254).default)("inbox",[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]]);e.s(["Inbox",0,t],332102)},422444,e=>{"use strict";var t=e.i(571353);let r=new Set(["all-proxy-models","all-team-models","no-default-models"]);e.s(["keyDetailHref",0,function(e){return`${(0,t.migratedHref)("api-keys")}?key=${encodeURIComponent(e)}`},"modelGroupHref",0,function(e){if(!r.has(e))return`${(0,t.migratedHref)("models-and-endpoints")}?model_group=${encodeURIComponent(e)}`},"orgDetailHref",0,function(e){return`${(0,t.migratedHref)("organizations")}?org=${encodeURIComponent(e)}`},"teamDetailHref",0,function(e){return`${(0,t.migratedHref)("teams")}?team=${encodeURIComponent(e)}`},"userDetailHref",0,function(e){return`${(0,t.migratedHref)("users")}?user=${encodeURIComponent(e)}`}])},695411,e=>{"use strict";var t=e.i(355619),r=e.i(602869);let a=e=>({model_group:(e.model_group||e.id||e.model_name)??"",...e.mode&&{mode:e.mode},...!0===e.supports_reasoning&&{supports_reasoning:!0},...e.supported_reasoning_efforts&&{supported_reasoning_efforts:e.supported_reasoning_efforts}}),o=async(e,a)=>{let o=await (0,r.modelAvailableCall)(e,"","",!1,a),l=(o?.data??[]).map(e=>e.id);return(0,t.excludeProxyWideSentinel)(Array.from(new Set(l))).sort((e,t)=>e.localeCompare(t)).map(e=>({model_group:e}))},l=async e=>{try{let t=await (0,r.modelHubCall)(e),o=t?.data,l=(Array.isArray(o)?o:[]).map(a).filter(e=>""!==e.model_group).sort((e,t)=>e.model_group.localeCompare(t.model_group));return Array.from(new Map(l.map(e=>[e.model_group,e])).values())}catch(e){throw console.error("Error fetching model info:",e),e}};e.s(["fetchAvailableModels",0,l,"fetchAvailableModelsForTeam",0,o])},180127,e=>{"use strict";let t=(0,e.i(475254).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["default",0,t])},871689,e=>{"use strict";var t=e.i(180127);e.s(["ArrowLeft",()=>t.default])},101048,e=>{"use strict";var t=e.i(123287);e.s(["CircleCheck",()=>t.default])},695420,e=>{"use strict";var t=e.i(271645);e.s(["useVisitedTabs",0,function(e){let[r,a]=(0,t.useState)(()=>new Set([e]));return{onTabChange:(0,t.useCallback)(e=>{a(t=>new Set(t).add(String(e)))},[]),hasVisited:(0,t.useCallback)(e=>r.has(e),[r])}}])},990681,e=>{e.q("/litellm-asset-prefix/_next/static/media/postgresql.0a2k5oak2hvw5.svg")},338684,e=>{e.q("/litellm-asset-prefix/_next/static/media/milvus.04t2ilugeb7ad.svg")},948932,e=>{e.q("/litellm-asset-prefix/_next/static/media/s3_vector.1dy8xaiph416k.png")},397880,e=>{e.q("/litellm-asset-prefix/_next/static/media/valkey.2_mrlggria_65.svg")},284629,e=>{"use strict";let t={src:e.i(990681).default,width:64,height:64,blurWidth:0,blurHeight:0};e.s(["default",0,t])},514764,614677,e=>{"use strict";let t=(0,e.i(475254).default)("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);e.s(["Send",0,t],514764);let r=new Uint8Array(16),a=[];for(let e=0;e<256;++e)a.push((e+256).toString(16).slice(1));e.s(["v4",0,function(e,t,o){return t||e||!crypto.randomUUID?function(e,t,o){let l=(e=e||{}).random??e.rng?.()??crypto.getRandomValues(r);if(l.length<16)throw Error("Random bytes length must be >= 16");if(l[6]=15&l[6]|64,l[8]=63&l[8]|128,t){if((o=o||0)<0||o+16>t.length)throw RangeError(`UUID byte range ${o}:${o+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[o+e]=l[e];return t}return function(e,t=0){return(a[e[t+0]]+a[e[t+1]]+a[e[t+2]]+a[e[t+3]]+"-"+a[e[t+4]]+a[e[t+5]]+"-"+a[e[t+6]]+a[e[t+7]]+"-"+a[e[t+8]]+a[e[t+9]]+"-"+a[e[t+10]]+a[e[t+11]]+a[e[t+12]]+a[e[t+13]]+a[e[t+14]]+a[e[t+15]]).toLowerCase()}(l)}(e,t,o):crypto.randomUUID()}],614677)}]);