1import"../chunks/CWj6FrbW.js";import"../chunks/69_IOA4Y.js";import{p as J,g as K,t as _,a as $,b as L,s as Q,j as R,d as y,f as w,c as e,e as l,$ as V,n as c,r as t,q as X,l as Y,u as Z}from"../chunks/7a2fV5I9.js";import{i as ee}from"../chunks/Dw-yaK-_.js";import{s as te}from"../chunks/CiyEWm25.js";import{h as ae}from"../chunks/DKaByr9K.js";import{s as d,a as re}from"../chunks/3tOhmI7k.js";import{i as oe}from"../chunks/CWFN-V6k.js";import{a as B,W as se,m as ie}from"../chunks/C33EP41Y.js";import{p as ne}from"../chunks/BewnZnAa.js";import{T as le}from"../chunks/WwSz7SIr.js";import{S as de}from"../chunks/242QKLwC.js";var me=w('<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>'),ve=w("<div><!></div>"),pe=w('<div><nav class="pb-1 px-2.5 pt-2 backdrop-blur-xl drag-region select-none"><div class="flex items-center gap-0.5 md:gap-1"><!> <div class="flex w-full items-center"><div class="flex min-w-0 items-center gap-0.5 md:gap-1 scrollbar-none overflow-x-auto w-fit text-center text-sm font-normal rounded-full bg-transparent py-1 touch-auto pointer-events-auto"><a draggable="false" href="/playground"> </a> <a draggable="false" href="/playground/completions"> </a> <a draggable="false" href="/playground/images"> </a></div></div></div></nav> <div class=" flex-1 max-h-full overflow-y-auto"><!></div></div>');function Se(M,k){J(k,!1);const a=()=>l(P,"$i18n",i),U=()=>l(se,"$WEBUI_NAME",i),s=()=>l(B,"$showSidebar",i),q=()=>l(ie,"$mobile",i),f=()=>l(ne,"$page",i),[i,O]=Q(),P=K("i18n");oe();var m=pe();ae("40p4n8",o=>{R(r=>{V.title=` 2 ${r??""} / ${U()??""} 3 `},[()=>
3a().t("Playground")])});var u=e(m),S=e(u),E=e(S);{var T=o=>{var r=ve(),x=e(r);{let h=Z(()=>s()?a().t("Close Sidebar"):a().t("Open Sidebar"));le(x,{get content(){return Y(h)},interactive:!0,children:(b,W)=>{var n=me(),A=e(n),G=e(A);de(G,{className:"size-4"}),t(A),t(n),_(H=>re(n,"aria-label",H),[()=>s()?a().t("Close Sidebar"):a().t("Open Sidebar")]),X("click",n,()=>{B.set(!s())}),$(b,n)},$$slots:{default:!0}})}t(r),_(()=>d(r,1,`${s()?"md:hidden":""} self-center flex flex-none items-center`)),$(o,r)};ee(E,o=>{q()&&o(T)})}var C=c(E,2),I=e(C),v=e(I),j=e(v,!0);t(v);var p=c(v,2),z=e(p,!0);t(p);var g=c(p,2),D=e(g,!0);t(g),t(I),t(C),t(S),t(u);var N=c(u,2),F=e(N);te(F,k,"default",{},null),t(N),t(m),_((o,r,x,h,b,W)=>{d(m,1,`flex flex-col w-full h-screen max-h-[100dvh] transition-width duration-200 ease-in-out ${s()?"md:max-w-[calc(100%-var(--sidebar-width))]":""} max-w-full`),d(v,1,`min-w-fit px-1 text-sm ${o??""} transition select-none`),y(j,r),d(p,1,`min-w-fit px-1 text-sm ${x??""} transition select-none`),y(z,h),d(g,1,`min-w-fit px-1 text-sm ${b??""} transition select-none`),y(D,W)},[()=>["/playground","/playground/"].includes(f().url.pathname)?"":"text-gray-300 dark:text-gray-600 hover:text-gray-700 dark:hover:text-white",()=>a().t("Chat"),()=>f().url.pathname.includes("/playground/completions")?"":"text-gray-300 dark:text-gray-600 hover:text-gray-700 dark:hover:text-white",()=>a().t("Completions"),()=>f().url.pathname.includes("/playground/images")?"":"text-gray-300 dark:text-gray-600 hover:text-gray-700 dark:hover:text-white",()=>a().t("Images")]),$(M,m),L(),O()}export{Se as component}; 4//# sourceMappingURL=7.CkOfrKRm.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.