1import"../chunks/CWj6FrbW.js";import"../chunks/CN51-NxK.js";import{g as D,o as F,h as G,t as g,a as x,p as H,f as $,b as J,$ as K,k as h,s as M,c as t,r as a,j as L,l as Q,n as R}from"../chunks/CsCwoN7s.js";import{i as V}from"../chunks/Db40dobm.js";import{s as X}from"../chunks/D2PPEbfP.js";import{s as m}from"../chunks/DtfGpqqs.js";import{i as Y}from"../chunks/DXgLx3gs.js";import{s as Z,a as i}from"../chunks/BWQt9w_j.js";import{W as tt,s as W,m as at}from"../chunks/CKgmLdZQ.js";import{p as et}from"../chunks/BwcReQS5.js";import{T as rt}from"../chunks/75k_Yf-J.js";import{S as ot}from"../chunks/6ew5kVsM.js";var st=$('<button id="sidebar-toggle-button" class=" cursor-pointer flex rounded-lg hover:bg-gray-100 dark:hover:bg-gray-850 transition cursor-"><div class=" self-center p-1.5"><!></div></button>'),it=$("<div><!></div>"),nt=$('<div><nav class=" px-2.5 pt-1.5 backdrop-blur-xl w-full drag-region"><div class=" flex items-center"><!> <div class=" flex w-full"><div class="flex gap-1 scrollbar-none overflow-x-auto w-fit text-center text-sm font-medium rounded-full bg-transparent pt-1"><a href="/playground"> </a> <a href="/playground/completions"> </a></div></div></div></nav> <div class=" flex-1 max-h-full overflow-y-auto"><!></div></div>');function bt(A,_){J(_,!1);const o=()=>i(U,"$i18n",s),B=()=>i(tt,"$WEBUI_NAME",s),n=()=>i(W,"$showSidebar",s),I=()=>i(at,"$mobile",s),b=()=>i(et,"$page",s),[s,N]=Z(),U=D("i18n");F(async()=>{}),Y();var l=nt();G(r=>{g(e=>K.title=` 2 ${e??""} ⢠${B()??""} 3 `,[()=>o().t("Playground")])});var p=t(l),w=t(p),y=t(w);{var P=r=>{var e=it(),f=t(e);{let u=R(()=>n()?o().t("Close Sidebar"):o().t("Open Sidebar"));rt(f,{get content(){return L(u)},interactive:!0,children:(O,lt)=>{var v=st(),C=t(v),z=t(C);ot(z,{}),a(C),a(v),Q("click",v,()=>{W.set(!n())}),x(O,v)},$$slots:{default:!0}})}a(e),g(()=>m(e,1,`${n()?"md:hidden":""} flex flex-none items-center self-end`)),x(r,e)};V(y,r=>{I()&&r(P)})}var k=h(y,2),S=t(k),d=t(S),T=t(d,!0);a(d);var c=h(d,2),j=t(c,!0);a(c),a(S),a(k),a(w),a(p);var E=h(p,2),q=t(E);X(q,_,"default",{},null),a(E),a(l),g((r,e,f,u)=>{m(l,1,` flex flex-col w-full h-screen max-h-[100dvh] transition-width duration-200 ease-in-out ${n()?"md:max-w-[calc(100%-var(--sidebar-width))]":""} max-w-full`),m(d,1,`min-w-fit p-1.5 ${r??""} transition`),M(T,e),m(c,1,`min-w-fit p-1.5 ${f??""} transition`),M(j,u)},[()=>["/playground","/playground/"].includes(b().url.pathname)?"":"text-gray-300 dark:text-gray-600 hover:text-gray-700 dark:hover:text-white",()=>o().t("Chat"),()=>b().url.pathname.includes("/playground/completions")?"":"text-gray-300 dark:text-gray-600 hover:text-gray-700 dark:hover:text-white",()=>o().t("Completions")]),x(A,l),H(),N()}export{bt as component}; 4//# sourceMappingURL=6.CfA5NL2W.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.