From aea8c74bdc979c331ff93063b0a3c6f4b545210b Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Fri, 29 Sep 2023 18:20:38 -0700 Subject: [PATCH] feat: add OpenAPI link to playground --- clients/tabby-playground/components/header.tsx | 16 +++++++++++++--- crates/tabby/playground/404.html | 2 +- .../_next/static/chunks/524-6309ecb76a77fdcf.js | 1 + .../_next/static/chunks/524-e377ca48d97ab2b7.js | 1 - .../static/chunks/app/layout-21eaa53709d9db66.js | 1 - .../static/chunks/app/layout-38d79c8bb16c51be.js | 1 + ...48ea0b604a423.js => page-757d8cb1ec33d4cb.js} | 0 .../static/chunks/webpack-52ce74dd37dd8861.js | 1 - .../static/chunks/webpack-e23fff8c5b5084ca.js | 1 + .../_buildManifest.js | 0 .../_ssgManifest.js | 0 crates/tabby/playground/index.html | 2 +- crates/tabby/playground/index.txt | 16 ++++++++-------- 13 files changed, 26 insertions(+), 16 deletions(-) create mode 100644 crates/tabby/playground/_next/static/chunks/524-6309ecb76a77fdcf.js delete mode 100644 crates/tabby/playground/_next/static/chunks/524-e377ca48d97ab2b7.js delete mode 100644 crates/tabby/playground/_next/static/chunks/app/layout-21eaa53709d9db66.js create mode 100644 crates/tabby/playground/_next/static/chunks/app/layout-38d79c8bb16c51be.js rename crates/tabby/playground/_next/static/chunks/app/{page-f0348ea0b604a423.js => page-757d8cb1ec33d4cb.js} (100%) delete mode 100644 crates/tabby/playground/_next/static/chunks/webpack-52ce74dd37dd8861.js create mode 100644 crates/tabby/playground/_next/static/chunks/webpack-e23fff8c5b5084ca.js rename crates/tabby/playground/_next/static/{IDbc2tNjcWJDV9VC-wJcu => f6rsO7djEUh4Fn3OO-Bie}/_buildManifest.js (100%) rename crates/tabby/playground/_next/static/{IDbc2tNjcWJDV9VC-wJcu => f6rsO7djEUh4Fn3OO-Bie}/_ssgManifest.js (100%) diff --git a/clients/tabby-playground/components/header.tsx b/clients/tabby-playground/components/header.tsx index 31d754e..62e5c81 100644 --- a/clients/tabby-playground/components/header.tsx +++ b/clients/tabby-playground/components/header.tsx @@ -4,7 +4,7 @@ import * as React from 'react' import { cn } from '@/lib/utils' import { buttonVariants } from '@/components/ui/button' -import { IconGitHub, IconVercel } from '@/components/ui/icons' +import { IconGitHub, IconExternalLink } from '@/components/ui/icons' import dynamic from 'next/dynamic' const ThemeToggle = dynamic( @@ -15,8 +15,9 @@ const ThemeToggle = dynamic( export function Header() { return (
- -
+
+ +
GitHub + + + OpenAPI +
) diff --git a/crates/tabby/playground/404.html b/crates/tabby/playground/404.html index faccedc..e046919 100644 --- a/crates/tabby/playground/404.html +++ b/crates/tabby/playground/404.html @@ -1 +1 @@ -404: This page could not be found.Tabby Playground

404

This page could not be found.

\ No newline at end of file +404: This page could not be found.Tabby Playground

404

This page could not be found.

\ No newline at end of file diff --git a/crates/tabby/playground/_next/static/chunks/524-6309ecb76a77fdcf.js b/crates/tabby/playground/_next/static/chunks/524-6309ecb76a77fdcf.js new file mode 100644 index 0000000..ad8c343 --- /dev/null +++ b/crates/tabby/playground/_next/static/chunks/524-6309ecb76a77fdcf.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[524],{93023:function(n,r,t){t.d(r,{d:function(){return i},z:function(){return c}});var e=t(57437),a=t(2265),o=t(67256),s=t(7404),l=t(39311);let i=(0,s.j)("inline-flex items-center justify-center rounded-md text-sm font-medium shadow ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-md hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"shadow-none hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 shadow-none hover:underline"},size:{default:"h-8 px-4 py-2",sm:"h-8 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-8 w-8 p-0"}},defaultVariants:{variant:"default",size:"default"}}),c=a.forwardRef((n,r)=>{let{className:t,variant:a,size:s,asChild:c=!1,...u}=n,d=c?o.g7:"button";return(0,e.jsx)(d,{className:(0,l.cn)(i({variant:a,size:s,className:t})),ref:r,...u})});c.displayName="Button"},84168:function(n,r,t){t.d(r,{BD:function(){return s},C9:function(){return h},Dj:function(){return m},Ec:function(){return l},Mr:function(){return o},NO:function(){return w},O3:function(){return f},Tq:function(){return g},f7:function(){return i},tr:function(){return u},vU:function(){return v},vq:function(){return c},yl:function(){return x},zu:function(){return d}});var e=t(57437);t(2265);var a=t(39311);function o(n){let{className:r,...t}=n;return(0,e.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",className:(0,a.cn)("h-4 w-4",r),...t,children:[(0,e.jsx)("title",{children:"GitHub"}),(0,e.jsx)("path",{d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})]})}function s(n){let{className:r,...t}=n;return(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,a.cn)("h-4 w-4",r),...t,children:(0,e.jsx)("path",{d:"m205.66 149.66-72 72a8 8 0 0 1-11.32 0l-72-72a8 8 0 0 1 11.32-11.32L120 196.69V40a8 8 0 0 1 16 0v156.69l58.34-58.35a8 8 0 0 1 11.32 11.32Z"})})}function l(n){let{className:r,...t}=n;return(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,a.cn)("h-4 w-4",r),...t,children:(0,e.jsx)("path",{d:"m221.66 133.66-72 72a8 8 0 0 1-11.32-11.32L196.69 136H40a8 8 0 0 1 0-16h156.69l-58.35-58.34a8 8 0 0 1 11.32-11.32l72 72a8 8 0 0 1 0 11.32Z"})})}function i(n){let{className:r,...t}=n;return(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,a.cn)("h-4 w-4",r),...t,children:(0,e.jsx)("path",{d:"M230.92 212c-15.23-26.33-38.7-45.21-66.09-54.16a72 72 0 1 0-73.66 0c-27.39 8.94-50.86 27.82-66.09 54.16a8 8 0 1 0 13.85 8c18.84-32.56 52.14-52 89.07-52s70.23 19.44 89.07 52a8 8 0 1 0 13.85-8ZM72 96a56 56 0 1 1 56 56 56.06 56.06 0 0 1-56-56Z"})})}function c(n){let{className:r,...t}=n;return(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,a.cn)("h-4 w-4",r),...t,children:(0,e.jsx)("path",{d:"M200 32v144a8 8 0 0 1-8 8H67.31l34.35 34.34a8 8 0 0 1-11.32 11.32l-48-48a8 8 0 0 1 0-11.32l48-48a8 8 0 0 1 11.32 11.32L67.31 168H184V32a8 8 0 0 1 16 0Z"})})}function u(n){let{className:r,...t}=n;return(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,a.cn)("h-4 w-4",r),...t,children:(0,e.jsx)("path",{d:"M197.67 186.37a8 8 0 0 1 0 11.29C196.58 198.73 170.82 224 128 224c-37.39 0-64.53-22.4-80-39.85V208a8 8 0 0 1-16 0v-48a8 8 0 0 1 8-8h48a8 8 0 0 1 0 16H55.44C67.76 183.35 93 208 128 208c36 0 58.14-21.46 58.36-21.68a8 8 0 0 1 11.31.05ZM216 40a8 8 0 0 0-8 8v23.85C192.53 54.4 165.39 32 128 32c-42.82 0-68.58 25.27-69.66 26.34a8 8 0 0 0 11.3 11.34C69.86 69.46 92 48 128 48c35 0 60.24 24.65 72.56 40H168a8 8 0 0 0 0 16h48a8 8 0 0 0 8-8V48a8 8 0 0 0-8-8Z"})})}function d(n){let{className:r,...t}=n;return(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,a.cn)("h-4 w-4",r),...t,children:(0,e.jsx)("path",{d:"M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24Zm0 192a88 88 0 1 1 88-88 88.1 88.1 0 0 1-88 88Zm24-120h-48a8 8 0 0 0-8 8v48a8 8 0 0 0 8 8h48a8 8 0 0 0 8-8v-48a8 8 0 0 0-8-8Zm-8 48h-32v-32h32Z"})})}function h(n){let{className:r,...t}=n;return(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,a.cn)("h-4 w-4",r),...t,children:(0,e.jsx)("path",{d:"M233.54 142.23a8 8 0 0 0-8-2 88.08 88.08 0 0 1-109.8-109.8 8 8 0 0 0-10-10 104.84 104.84 0 0 0-52.91 37A104 104 0 0 0 136 224a103.09 103.09 0 0 0 62.52-20.88 104.84 104.84 0 0 0 37-52.91 8 8 0 0 0-1.98-7.98Zm-44.64 48.11A88 88 0 0 1 65.66 67.11a89 89 0 0 1 31.4-26A106 106 0 0 0 96 56a104.11 104.11 0 0 0 104 104 106 106 0 0 0 14.92-1.06 89 89 0 0 1-26.02 31.4Z"})})}function f(n){let{className:r,...t}=n;return(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,a.cn)("h-4 w-4",r),...t,children:(0,e.jsx)("path",{d:"M120 40V16a8 8 0 0 1 16 0v24a8 8 0 0 1-16 0Zm72 88a64 64 0 1 1-64-64 64.07 64.07 0 0 1 64 64Zm-16 0a48 48 0 1 0-48 48 48.05 48.05 0 0 0 48-48ZM58.34 69.66a8 8 0 0 0 11.32-11.32l-16-16a8 8 0 0 0-11.32 11.32Zm0 116.68-16 16a8 8 0 0 0 11.32 11.32l16-16a8 8 0 0 0-11.32-11.32ZM192 72a8 8 0 0 0 5.66-2.34l16-16a8 8 0 0 0-11.32-11.32l-16 16A8 8 0 0 0 192 72Zm5.66 114.34a8 8 0 0 0-11.32 11.32l16 16a8 8 0 0 0 11.32-11.32ZM48 128a8 8 0 0 0-8-8H16a8 8 0 0 0 0 16h24a8 8 0 0 0 8-8Zm80 80a8 8 0 0 0-8 8v24a8 8 0 0 0 16 0v-24a8 8 0 0 0-8-8Zm112-88h-24a8 8 0 0 0 0 16h24a8 8 0 0 0 0-16Z"})})}function v(n){let{className:r,...t}=n;return(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,a.cn)("h-4 w-4",r),...t,children:(0,e.jsx)("path",{d:"M216 32H88a8 8 0 0 0-8 8v40H40a8 8 0 0 0-8 8v128a8 8 0 0 0 8 8h128a8 8 0 0 0 8-8v-40h40a8 8 0 0 0 8-8V40a8 8 0 0 0-8-8Zm-56 176H48V96h112Zm48-48h-32V88a8 8 0 0 0-8-8H96V48h112Z"})})}function w(n){let{className:r,...t}=n;return(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,a.cn)("h-4 w-4",r),...t,children:(0,e.jsx)("path",{d:"m229.66 77.66-128 128a8 8 0 0 1-11.32 0l-56-56a8 8 0 0 1 11.32-11.32L96 188.69 218.34 66.34a8 8 0 0 1 11.32 11.32Z"})})}function m(n){let{className:r,...t}=n;return(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,a.cn)("h-4 w-4",r),...t,children:(0,e.jsx)("path",{d:"M224 152v56a16 16 0 0 1-16 16H48a16 16 0 0 1-16-16v-56a8 8 0 0 1 16 0v56h160v-56a8 8 0 0 1 16 0Zm-101.66 5.66a8 8 0 0 0 11.32 0l40-40a8 8 0 0 0-11.32-11.32L136 132.69V40a8 8 0 0 0-16 0v92.69l-26.34-26.35a8 8 0 0 0-11.32 11.32Z"})})}function x(n){let{className:r,...t}=n;return(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:(0,a.cn)("h-4 w-4",r),...t,children:(0,e.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L10.582 16.07a4.5 4.5 0 01-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 011.13-1.897l8.932-8.931zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0115.75 21H5.25A2.25 2.25 0 013 18.75V8.25A2.25 2.25 0 015.25 6H10"})})}function g(n){let{className:r,...t}=n;return(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",className:(0,a.cn)("h-4 w-4",r),viewBox:"0 0 256 256",...t,children:(0,e.jsx)("path",{d:"M224 104a8 8 0 0 1-16 0V59.32l-66.33 66.34a8 8 0 0 1-11.32-11.32L196.68 48H152a8 8 0 0 1 0-16h64a8 8 0 0 1 8 8Zm-40 24a8 8 0 0 0-8 8v72H48V80h72a8 8 0 0 0 0-16H48a16 16 0 0 0-16 16v128a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16v-72a8 8 0 0 0-8-8Z"})})}},95482:function(n,r,t){t.d(r,{_v:function(){return u},aJ:function(){return c},pn:function(){return l},u:function(){return i}});var e=t(57437),a=t(2265),o=t(3072),s=t(39311);let l=o.zt,i=o.fC,c=o.xz,u=a.forwardRef((n,r)=>{let{className:t,sideOffset:a=4,...l}=n;return(0,e.jsx)(o.VY,{ref:r,sideOffset:a,className:(0,s.cn)("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-xs font-medium text-popover-foreground shadow-md animate-in fade-in-50 data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1",t),...l})});u.displayName=o.VY.displayName},39311:function(n,r,t){t.d(r,{cn:function(){return s}});var e=t(50348),a=t(28481),o=t(23986);function s(){for(var n=arguments.length,r=Array(n),t=0;t{let{className:t,variant:a,size:s,asChild:c=!1,...u}=n,d=c?o.g7:"button";return(0,e.jsx)(d,{className:(0,i.cn)(l({variant:a,size:s,className:t})),ref:r,...u})});c.displayName="Button"},84168:function(n,r,t){t.d(r,{BD:function(){return s},C9:function(){return f},Dj:function(){return m},Ec:function(){return i},Mr:function(){return o},NO:function(){return w},O3:function(){return h},f7:function(){return l},tr:function(){return u},vU:function(){return v},vq:function(){return c},yl:function(){return x},zu:function(){return d}});var e=t(57437);t(2265);var a=t(39311);function o(n){let{className:r,...t}=n;return(0,e.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",className:(0,a.cn)("h-4 w-4",r),...t,children:[(0,e.jsx)("title",{children:"GitHub"}),(0,e.jsx)("path",{d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})]})}function s(n){let{className:r,...t}=n;return(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,a.cn)("h-4 w-4",r),...t,children:(0,e.jsx)("path",{d:"m205.66 149.66-72 72a8 8 0 0 1-11.32 0l-72-72a8 8 0 0 1 11.32-11.32L120 196.69V40a8 8 0 0 1 16 0v156.69l58.34-58.35a8 8 0 0 1 11.32 11.32Z"})})}function i(n){let{className:r,...t}=n;return(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,a.cn)("h-4 w-4",r),...t,children:(0,e.jsx)("path",{d:"m221.66 133.66-72 72a8 8 0 0 1-11.32-11.32L196.69 136H40a8 8 0 0 1 0-16h156.69l-58.35-58.34a8 8 0 0 1 11.32-11.32l72 72a8 8 0 0 1 0 11.32Z"})})}function l(n){let{className:r,...t}=n;return(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,a.cn)("h-4 w-4",r),...t,children:(0,e.jsx)("path",{d:"M230.92 212c-15.23-26.33-38.7-45.21-66.09-54.16a72 72 0 1 0-73.66 0c-27.39 8.94-50.86 27.82-66.09 54.16a8 8 0 1 0 13.85 8c18.84-32.56 52.14-52 89.07-52s70.23 19.44 89.07 52a8 8 0 1 0 13.85-8ZM72 96a56 56 0 1 1 56 56 56.06 56.06 0 0 1-56-56Z"})})}function c(n){let{className:r,...t}=n;return(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,a.cn)("h-4 w-4",r),...t,children:(0,e.jsx)("path",{d:"M200 32v144a8 8 0 0 1-8 8H67.31l34.35 34.34a8 8 0 0 1-11.32 11.32l-48-48a8 8 0 0 1 0-11.32l48-48a8 8 0 0 1 11.32 11.32L67.31 168H184V32a8 8 0 0 1 16 0Z"})})}function u(n){let{className:r,...t}=n;return(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,a.cn)("h-4 w-4",r),...t,children:(0,e.jsx)("path",{d:"M197.67 186.37a8 8 0 0 1 0 11.29C196.58 198.73 170.82 224 128 224c-37.39 0-64.53-22.4-80-39.85V208a8 8 0 0 1-16 0v-48a8 8 0 0 1 8-8h48a8 8 0 0 1 0 16H55.44C67.76 183.35 93 208 128 208c36 0 58.14-21.46 58.36-21.68a8 8 0 0 1 11.31.05ZM216 40a8 8 0 0 0-8 8v23.85C192.53 54.4 165.39 32 128 32c-42.82 0-68.58 25.27-69.66 26.34a8 8 0 0 0 11.3 11.34C69.86 69.46 92 48 128 48c35 0 60.24 24.65 72.56 40H168a8 8 0 0 0 0 16h48a8 8 0 0 0 8-8V48a8 8 0 0 0-8-8Z"})})}function d(n){let{className:r,...t}=n;return(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,a.cn)("h-4 w-4",r),...t,children:(0,e.jsx)("path",{d:"M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24Zm0 192a88 88 0 1 1 88-88 88.1 88.1 0 0 1-88 88Zm24-120h-48a8 8 0 0 0-8 8v48a8 8 0 0 0 8 8h48a8 8 0 0 0 8-8v-48a8 8 0 0 0-8-8Zm-8 48h-32v-32h32Z"})})}function f(n){let{className:r,...t}=n;return(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,a.cn)("h-4 w-4",r),...t,children:(0,e.jsx)("path",{d:"M233.54 142.23a8 8 0 0 0-8-2 88.08 88.08 0 0 1-109.8-109.8 8 8 0 0 0-10-10 104.84 104.84 0 0 0-52.91 37A104 104 0 0 0 136 224a103.09 103.09 0 0 0 62.52-20.88 104.84 104.84 0 0 0 37-52.91 8 8 0 0 0-1.98-7.98Zm-44.64 48.11A88 88 0 0 1 65.66 67.11a89 89 0 0 1 31.4-26A106 106 0 0 0 96 56a104.11 104.11 0 0 0 104 104 106 106 0 0 0 14.92-1.06 89 89 0 0 1-26.02 31.4Z"})})}function h(n){let{className:r,...t}=n;return(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,a.cn)("h-4 w-4",r),...t,children:(0,e.jsx)("path",{d:"M120 40V16a8 8 0 0 1 16 0v24a8 8 0 0 1-16 0Zm72 88a64 64 0 1 1-64-64 64.07 64.07 0 0 1 64 64Zm-16 0a48 48 0 1 0-48 48 48.05 48.05 0 0 0 48-48ZM58.34 69.66a8 8 0 0 0 11.32-11.32l-16-16a8 8 0 0 0-11.32 11.32Zm0 116.68-16 16a8 8 0 0 0 11.32 11.32l16-16a8 8 0 0 0-11.32-11.32ZM192 72a8 8 0 0 0 5.66-2.34l16-16a8 8 0 0 0-11.32-11.32l-16 16A8 8 0 0 0 192 72Zm5.66 114.34a8 8 0 0 0-11.32 11.32l16 16a8 8 0 0 0 11.32-11.32ZM48 128a8 8 0 0 0-8-8H16a8 8 0 0 0 0 16h24a8 8 0 0 0 8-8Zm80 80a8 8 0 0 0-8 8v24a8 8 0 0 0 16 0v-24a8 8 0 0 0-8-8Zm112-88h-24a8 8 0 0 0 0 16h24a8 8 0 0 0 0-16Z"})})}function v(n){let{className:r,...t}=n;return(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,a.cn)("h-4 w-4",r),...t,children:(0,e.jsx)("path",{d:"M216 32H88a8 8 0 0 0-8 8v40H40a8 8 0 0 0-8 8v128a8 8 0 0 0 8 8h128a8 8 0 0 0 8-8v-40h40a8 8 0 0 0 8-8V40a8 8 0 0 0-8-8Zm-56 176H48V96h112Zm48-48h-32V88a8 8 0 0 0-8-8H96V48h112Z"})})}function w(n){let{className:r,...t}=n;return(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,a.cn)("h-4 w-4",r),...t,children:(0,e.jsx)("path",{d:"m229.66 77.66-128 128a8 8 0 0 1-11.32 0l-56-56a8 8 0 0 1 11.32-11.32L96 188.69 218.34 66.34a8 8 0 0 1 11.32 11.32Z"})})}function m(n){let{className:r,...t}=n;return(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor",className:(0,a.cn)("h-4 w-4",r),...t,children:(0,e.jsx)("path",{d:"M224 152v56a16 16 0 0 1-16 16H48a16 16 0 0 1-16-16v-56a8 8 0 0 1 16 0v56h160v-56a8 8 0 0 1 16 0Zm-101.66 5.66a8 8 0 0 0 11.32 0l40-40a8 8 0 0 0-11.32-11.32L136 132.69V40a8 8 0 0 0-16 0v92.69l-26.34-26.35a8 8 0 0 0-11.32 11.32Z"})})}function x(n){let{className:r,...t}=n;return(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:(0,a.cn)("h-4 w-4",r),...t,children:(0,e.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L10.582 16.07a4.5 4.5 0 01-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 011.13-1.897l8.932-8.931zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0115.75 21H5.25A2.25 2.25 0 013 18.75V8.25A2.25 2.25 0 015.25 6H10"})})}},95482:function(n,r,t){t.d(r,{_v:function(){return u},aJ:function(){return c},pn:function(){return i},u:function(){return l}});var e=t(57437),a=t(2265),o=t(3072),s=t(39311);let i=o.zt,l=o.fC,c=o.xz,u=a.forwardRef((n,r)=>{let{className:t,sideOffset:a=4,...i}=n;return(0,e.jsx)(o.VY,{ref:r,sideOffset:a,className:(0,s.cn)("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-xs font-medium text-popover-foreground shadow-md animate-in fade-in-50 data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1",t),...i})});u.displayName=o.VY.displayName},39311:function(n,r,t){t.d(r,{cn:function(){return s}});var e=t(50348),a=t(28481),o=t(23986);function s(){for(var n=arguments.length,r=Array(n),t=0;t{},themes:[]},u=()=>{var e;return null!==(e=(0,r.useContext)(s))&&void 0!==e?e:i},c=e=>(0,r.useContext)(s)?r.createElement(r.Fragment,null,e.children):r.createElement(m,e),d=["light","dark"],m=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:o=!0,storageKey:i="theme",themes:u=d,defaultTheme:c=n?"system":"light",attribute:m="data-theme",value:_,children:v,nonce:g})=>{let[p,S]=(0,r.useState)(()=>h(i,c)),[$,k]=(0,r.useState)(()=>h(i)),x=_?Object.values(_):u,E=(0,r.useCallback)(e=>{let r=e;if(!r)return;"system"===e&&n&&(r=y());let a=_?_[r]:r,s=t?b():null,i=document.documentElement;if("class"===m?(i.classList.remove(...x),a&&i.classList.add(a)):a?i.setAttribute(m,a):i.removeAttribute(m),o){let e=l.includes(c)?c:null,t=l.includes(r)?r:e;i.style.colorScheme=t}null==s||s()},[]),j=(0,r.useCallback)(e=>{S(e);try{localStorage.setItem(i,e)}catch(e){}},[e]),N=(0,r.useCallback)(t=>{let r=y(t);k(r),"system"===p&&n&&!e&&E("system")},[p,e]);(0,r.useEffect)(()=>{let e=window.matchMedia(a);return e.addListener(N),N(e),()=>e.removeListener(N)},[N]),(0,r.useEffect)(()=>{let e=e=>{e.key===i&&j(e.newValue||c)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[j]),(0,r.useEffect)(()=>{E(null!=e?e:p)},[e,p]);let w=(0,r.useMemo)(()=>({theme:p,setTheme:j,forcedTheme:e,resolvedTheme:"system"===p?$:p,themes:n?[...u,"system"]:u,systemTheme:n?$:void 0}),[p,j,e,$,n,u]);return r.createElement(s.Provider,{value:w},r.createElement(f,{forcedTheme:e,disableTransitionOnChange:t,enableSystem:n,enableColorScheme:o,storageKey:i,themes:u,defaultTheme:c,attribute:m,value:_,children:v,attrs:x,nonce:g}),v)},f=(0,r.memo)(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:o,enableColorScheme:s,defaultTheme:i,value:u,attrs:c,nonce:d})=>{let m="system"===i,f="class"===n?`var d=document.documentElement,c=d.classList;c.remove(${c.map(e=>`'${e}'`).join(",")});`:`var d=document.documentElement,n='${n}',s='setAttribute';`,h=s?l.includes(i)&&i?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",b=(e,t=!1,r=!0)=>{let a=u?u[e]:e,o=t?e+"|| ''":`'${a}'`,i="";return s&&r&&!t&&l.includes(e)&&(i+=`d.style.colorScheme = '${e}';`),"class"===n?i+=t||a?`c.add(${o})`:"null":a&&(i+=`d[s](n,${o})`),i},y=e?`!function(){${f}${b(e)}}()`:o?`!function(){try{${f}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${m})){var t='${a}',m=window.matchMedia(t);if(m.media!==t||m.matches){${b("dark")}}else{${b("light")}}}else if(e){${u?`var x=${JSON.stringify(u)};`:""}${b(u?"x[e]":"e",!0)}}${m?"":"else{"+b(i,!1,!1)+"}"}${h}}catch(e){}}()`:`!function(){try{${f}var e=localStorage.getItem('${t}');if(e){${u?`var x=${JSON.stringify(u)};`:""}${b(u?"x[e]":"e",!0)}}else{${b(i,!1,!1)};}${h}}catch(t){}}();`;return r.createElement("script",{nonce:d,dangerouslySetInnerHTML:{__html:y}})},()=>!0),h=(e,t)=>{let n;if(!o){try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t}},b=()=>{let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}},y=e=>(e||(e=window.matchMedia(a)),e.matches?"dark":"light")},35762:function(e,t,n){Promise.resolve().then(n.t.bind(n,58877,23)),Promise.resolve().then(n.bind(n,78963)),Promise.resolve().then(n.bind(n,78495)),Promise.resolve().then(n.t.bind(n,6928,23)),Promise.resolve().then(n.t.bind(n,33195,23)),Promise.resolve().then(n.bind(n,5925))},78963:function(e,t,n){"use strict";n.r(t),n.d(t,{Header:function(){return c}});var r=n(57437);n(2265);var l=n(39311),a=n(93023),o=n(84168),s=n(30415),i=n.n(s);let u=i()(()=>n.e(376).then(n.bind(n,15376)).then(e=>e.ThemeToggle),{loadableGenerated:{webpack:()=>[15376]},ssr:!1});function c(){return(0,r.jsxs)("header",{className:"sticky top-0 z-50 flex items-center justify-between w-full h-16 px-4 border-b shrink-0 bg-gradient-to-b from-background/10 via-background/50 to-background/80 backdrop-blur-xl",children:[(0,r.jsx)(u,{}),(0,r.jsx)("div",{className:"flex items-center"}),(0,r.jsx)("div",{className:"flex items-center justify-end space-x-2",children:(0,r.jsxs)("a",{target:"_blank",href:"https://github.com/TabbyML/tabby",rel:"noopener noreferrer",className:(0,l.cn)((0,a.d)({variant:"outline"})),children:[(0,r.jsx)(o.Mr,{}),(0,r.jsx)("span",{className:"hidden ml-2 md:flex",children:"GitHub"})]})})]})}},78495:function(e,t,n){"use strict";n.r(t),n.d(t,{Providers:function(){return o}});var r=n(57437);n(2265);var l=n(6435),a=n(95482);function o(e){let{children:t,...n}=e;return(0,r.jsx)(l.f,{...n,children:(0,r.jsx)(a.pn,{children:t})})}},30415:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let r=n(21024);n(2265);let l=r._(n(54));function a(e){return{default:(null==e?void 0:e.default)||e}}function o(e,t){let n=l.default,r={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};"function"==typeof e&&(r.loader=e),Object.assign(r,t);let o=r.loader;return n({...r,loader:()=>null!=o?o().then(a):Promise.resolve(a(()=>null))})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},63388:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{suspense:function(){return l},NoSSR:function(){return a}}),n(21024),n(2265);let r=n(54922);function l(){let e=Error(r.NEXT_DYNAMIC_NO_SSR_CODE);throw e.digest=r.NEXT_DYNAMIC_NO_SSR_CODE,e}function a(e){let{children:t}=e;return t}},54:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let r=n(21024),l=r._(n(2265)),a=n(63388),o=function(e){let t=Object.assign({loader:null,loading:null,ssr:!0},e);function n(e){let n=t.loading,r=l.default.createElement(n,{isLoading:!0,pastDelay:!0,error:null}),o=t.ssr?l.default.Fragment:a.NoSSR,s=t.lazy;return l.default.createElement(l.default.Suspense,{fallback:r},l.default.createElement(o,null,l.default.createElement(s,e)))}return t.lazy=l.default.lazy(t.loader),n.displayName="LoadableComponent",n}},58877:function(){},6928:function(e){e.exports={style:{fontFamily:"'__Inter_4e6684', '__Inter_Fallback_4e6684'",fontStyle:"normal"},className:"__className_4e6684",variable:"__variable_4e6684"}},33195:function(e){e.exports={style:{fontFamily:"'__JetBrains_Mono_3d950d', '__JetBrains_Mono_Fallback_3d950d'",fontStyle:"normal"},className:"__className_3d950d",variable:"__variable_3d950d"}}},function(e){e.O(0,[346,524,971,864,744],function(){return e(e.s=35762)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/crates/tabby/playground/_next/static/chunks/app/layout-38d79c8bb16c51be.js b/crates/tabby/playground/_next/static/chunks/app/layout-38d79c8bb16c51be.js new file mode 100644 index 0000000..12b61d1 --- /dev/null +++ b/crates/tabby/playground/_next/static/chunks/app/layout-38d79c8bb16c51be.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{6435:function(e,t,n){"use strict";n.d(t,{F:function(){return u},f:function(){return c}});var r=n(2265);let l=["light","dark"],a="(prefers-color-scheme: dark)",s="undefined"==typeof window,o=(0,r.createContext)(void 0),i={setTheme:e=>{},themes:[]},u=()=>{var e;return null!==(e=(0,r.useContext)(o))&&void 0!==e?e:i},c=e=>(0,r.useContext)(o)?r.createElement(r.Fragment,null,e.children):r.createElement(m,e),d=["light","dark"],m=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:s=!0,storageKey:i="theme",themes:u=d,defaultTheme:c=n?"system":"light",attribute:m="data-theme",value:y,children:v,nonce:g})=>{let[p,x]=(0,r.useState)(()=>h(i,c)),[S,k]=(0,r.useState)(()=>h(i)),$=y?Object.values(y):u,j=(0,r.useCallback)(e=>{let r=e;if(!r)return;"system"===e&&n&&(r=_());let a=y?y[r]:r,o=t?b():null,i=document.documentElement;if("class"===m?(i.classList.remove(...$),a&&i.classList.add(a)):a?i.setAttribute(m,a):i.removeAttribute(m),s){let e=l.includes(c)?c:null,t=l.includes(r)?r:e;i.style.colorScheme=t}null==o||o()},[]),E=(0,r.useCallback)(e=>{x(e);try{localStorage.setItem(i,e)}catch(e){}},[e]),N=(0,r.useCallback)(t=>{let r=_(t);k(r),"system"===p&&n&&!e&&j("system")},[p,e]);(0,r.useEffect)(()=>{let e=window.matchMedia(a);return e.addListener(N),N(e),()=>e.removeListener(N)},[N]),(0,r.useEffect)(()=>{let e=e=>{e.key===i&&E(e.newValue||c)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[E]),(0,r.useEffect)(()=>{j(null!=e?e:p)},[e,p]);let w=(0,r.useMemo)(()=>({theme:p,setTheme:E,forcedTheme:e,resolvedTheme:"system"===p?S:p,themes:n?[...u,"system"]:u,systemTheme:n?S:void 0}),[p,E,e,S,n,u]);return r.createElement(o.Provider,{value:w},r.createElement(f,{forcedTheme:e,disableTransitionOnChange:t,enableSystem:n,enableColorScheme:s,storageKey:i,themes:u,defaultTheme:c,attribute:m,value:y,children:v,attrs:$,nonce:g}),v)},f=(0,r.memo)(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:s,enableColorScheme:o,defaultTheme:i,value:u,attrs:c,nonce:d})=>{let m="system"===i,f="class"===n?`var d=document.documentElement,c=d.classList;c.remove(${c.map(e=>`'${e}'`).join(",")});`:`var d=document.documentElement,n='${n}',s='setAttribute';`,h=o?l.includes(i)&&i?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",b=(e,t=!1,r=!0)=>{let a=u?u[e]:e,s=t?e+"|| ''":`'${a}'`,i="";return o&&r&&!t&&l.includes(e)&&(i+=`d.style.colorScheme = '${e}';`),"class"===n?i+=t||a?`c.add(${s})`:"null":a&&(i+=`d[s](n,${s})`),i},_=e?`!function(){${f}${b(e)}}()`:s?`!function(){try{${f}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${m})){var t='${a}',m=window.matchMedia(t);if(m.media!==t||m.matches){${b("dark")}}else{${b("light")}}}else if(e){${u?`var x=${JSON.stringify(u)};`:""}${b(u?"x[e]":"e",!0)}}${m?"":"else{"+b(i,!1,!1)+"}"}${h}}catch(e){}}()`:`!function(){try{${f}var e=localStorage.getItem('${t}');if(e){${u?`var x=${JSON.stringify(u)};`:""}${b(u?"x[e]":"e",!0)}}else{${b(i,!1,!1)};}${h}}catch(t){}}();`;return r.createElement("script",{nonce:d,dangerouslySetInnerHTML:{__html:_}})},()=>!0),h=(e,t)=>{let n;if(!s){try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t}},b=()=>{let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}},_=e=>(e||(e=window.matchMedia(a)),e.matches?"dark":"light")},35762:function(e,t,n){Promise.resolve().then(n.t.bind(n,58877,23)),Promise.resolve().then(n.bind(n,78963)),Promise.resolve().then(n.bind(n,78495)),Promise.resolve().then(n.t.bind(n,6928,23)),Promise.resolve().then(n.t.bind(n,33195,23)),Promise.resolve().then(n.bind(n,5925))},78963:function(e,t,n){"use strict";n.r(t),n.d(t,{Header:function(){return c}});var r=n(57437);n(2265);var l=n(39311),a=n(93023),s=n(84168),o=n(30415),i=n.n(o);let u=i()(()=>n.e(376).then(n.bind(n,15376)).then(e=>e.ThemeToggle),{loadableGenerated:{webpack:()=>[15376]},ssr:!1});function c(){return(0,r.jsxs)("header",{className:"sticky top-0 z-50 flex items-center justify-between w-full h-16 px-4 border-b shrink-0 bg-gradient-to-b from-background/10 via-background/50 to-background/80 backdrop-blur-xl",children:[(0,r.jsx)("div",{className:"flex items-center",children:(0,r.jsx)(u,{})}),(0,r.jsxs)("div",{className:"flex items-center justify-end space-x-2",children:[(0,r.jsxs)("a",{target:"_blank",href:"https://github.com/TabbyML/tabby",rel:"noopener noreferrer",className:(0,l.cn)((0,a.d)({variant:"outline"})),children:[(0,r.jsx)(s.Mr,{}),(0,r.jsx)("span",{className:"hidden ml-2 md:flex",children:"GitHub"})]}),(0,r.jsxs)("a",{target:"_blank",href:"/swagger-ui",rel:"noopener noreferrer",className:(0,l.cn)((0,a.d)({variant:"outline"})),children:[(0,r.jsx)(s.Tq,{}),(0,r.jsx)("span",{className:"hidden ml-2 md:flex",children:"OpenAPI"})]})]})]})}},78495:function(e,t,n){"use strict";n.r(t),n.d(t,{Providers:function(){return s}});var r=n(57437);n(2265);var l=n(6435),a=n(95482);function s(e){let{children:t,...n}=e;return(0,r.jsx)(l.f,{...n,children:(0,r.jsx)(a.pn,{children:t})})}},30415:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let r=n(21024);n(2265);let l=r._(n(54));function a(e){return{default:(null==e?void 0:e.default)||e}}function s(e,t){let n=l.default,r={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};"function"==typeof e&&(r.loader=e),Object.assign(r,t);let s=r.loader;return n({...r,loader:()=>null!=s?s().then(a):Promise.resolve(a(()=>null))})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},63388:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{suspense:function(){return l},NoSSR:function(){return a}}),n(21024),n(2265);let r=n(54922);function l(){let e=Error(r.NEXT_DYNAMIC_NO_SSR_CODE);throw e.digest=r.NEXT_DYNAMIC_NO_SSR_CODE,e}function a(e){let{children:t}=e;return t}},54:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let r=n(21024),l=r._(n(2265)),a=n(63388),s=function(e){let t=Object.assign({loader:null,loading:null,ssr:!0},e);function n(e){let n=t.loading,r=l.default.createElement(n,{isLoading:!0,pastDelay:!0,error:null}),s=t.ssr?l.default.Fragment:a.NoSSR,o=t.lazy;return l.default.createElement(l.default.Suspense,{fallback:r},l.default.createElement(s,null,l.default.createElement(o,e)))}return t.lazy=l.default.lazy(t.loader),n.displayName="LoadableComponent",n}},58877:function(){},6928:function(e){e.exports={style:{fontFamily:"'__Inter_4e6684', '__Inter_Fallback_4e6684'",fontStyle:"normal"},className:"__className_4e6684",variable:"__variable_4e6684"}},33195:function(e){e.exports={style:{fontFamily:"'__JetBrains_Mono_3d950d', '__JetBrains_Mono_Fallback_3d950d'",fontStyle:"normal"},className:"__className_3d950d",variable:"__variable_3d950d"}}},function(e){e.O(0,[346,524,971,864,744],function(){return e(e.s=35762)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/crates/tabby/playground/_next/static/chunks/app/page-f0348ea0b604a423.js b/crates/tabby/playground/_next/static/chunks/app/page-757d8cb1ec33d4cb.js similarity index 100% rename from crates/tabby/playground/_next/static/chunks/app/page-f0348ea0b604a423.js rename to crates/tabby/playground/_next/static/chunks/app/page-757d8cb1ec33d4cb.js diff --git a/crates/tabby/playground/_next/static/chunks/webpack-52ce74dd37dd8861.js b/crates/tabby/playground/_next/static/chunks/webpack-52ce74dd37dd8861.js deleted file mode 100644 index 512e1b4..0000000 --- a/crates/tabby/playground/_next/static/chunks/webpack-52ce74dd37dd8861.js +++ /dev/null @@ -1 +0,0 @@ -!function(){"use strict";var e,t,n,r,o,u,i,c,f,a={},l={};function s(e){var t=l[e];if(void 0!==t)return t.exports;var n=l[e]={exports:{}},r=!0;try{a[e](n,n.exports,s),r=!1}finally{r&&delete l[e]}return n.exports}s.m=a,e=[],s.O=function(t,n,r,o){if(n){o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,r,o];return}for(var i=1/0,u=0;u=o&&Object.keys(s.O).every(function(e){return s.O[e](n[f])})?n.splice(f--,1):(c=!1,o0&&t[u-1][2]>o;u--)t[u]=t[u-1];t[u]=[n,r,o];return}for(var i=1/0,u=0;u=o&&Object.keys(s.O).every(function(t){return s.O[t](n[f])})?n.splice(f--,1):(c=!1,oTabby Playground

Welcome to Tabby Playground!

You can start a conversation here or try the following examples:

\ No newline at end of file +Tabby Playground

Welcome to Tabby Playground!

You can start a conversation here or try the following examples:

\ No newline at end of file diff --git a/crates/tabby/playground/index.txt b/crates/tabby/playground/index.txt index 417bfbd..02a3767 100644 --- a/crates/tabby/playground/index.txt +++ b/crates/tabby/playground/index.txt @@ -1,13 +1,13 @@ 1:HL["/playground/_next/static/media/86fdec36ddd9097e-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 2:HL["/playground/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}] 3:HL["/playground/_next/static/css/d091dc2da2a795e4.css","style"] -0:["IDbc2tNjcWJDV9VC-wJcu",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],"$L4",[[["$","link","0",{"rel":"stylesheet","href":"/playground/_next/static/css/d091dc2da2a795e4.css","precedence":"next"}]],"$L5"]]]] -6:I{"id":5925,"chunks":["346:static/chunks/346-c4227fa5fd95e485.js","524:static/chunks/524-e377ca48d97ab2b7.js","185:static/chunks/app/layout-21eaa53709d9db66.js"],"name":"Toaster","async":false} -7:I{"id":78495,"chunks":["346:static/chunks/346-c4227fa5fd95e485.js","524:static/chunks/524-e377ca48d97ab2b7.js","185:static/chunks/app/layout-21eaa53709d9db66.js"],"name":"Providers","async":false} -8:I{"id":78963,"chunks":["346:static/chunks/346-c4227fa5fd95e485.js","524:static/chunks/524-e377ca48d97ab2b7.js","185:static/chunks/app/layout-21eaa53709d9db66.js"],"name":"Header","async":false} -9:I{"id":81443,"chunks":["272:static/chunks/webpack-52ce74dd37dd8861.js","971:static/chunks/fd9d1056-5dfc77aa37d8c76f.js","864:static/chunks/864-1669531662d5540a.js"],"name":"","async":false} -a:I{"id":18639,"chunks":["272:static/chunks/webpack-52ce74dd37dd8861.js","971:static/chunks/fd9d1056-5dfc77aa37d8c76f.js","864:static/chunks/864-1669531662d5540a.js"],"name":"","async":false} -c:I{"id":64074,"chunks":["346:static/chunks/346-c4227fa5fd95e485.js","978:static/chunks/978-ab68c4a2390585a1.js","524:static/chunks/524-e377ca48d97ab2b7.js","931:static/chunks/app/page-f0348ea0b604a423.js"],"name":"Chat","async":false} +0:["f6rsO7djEUh4Fn3OO-Bie",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],"$L4",[[["$","link","0",{"rel":"stylesheet","href":"/playground/_next/static/css/d091dc2da2a795e4.css","precedence":"next"}]],"$L5"]]]] +6:I{"id":5925,"chunks":["346:static/chunks/346-c4227fa5fd95e485.js","524:static/chunks/524-6309ecb76a77fdcf.js","185:static/chunks/app/layout-38d79c8bb16c51be.js"],"name":"Toaster","async":false} +7:I{"id":78495,"chunks":["346:static/chunks/346-c4227fa5fd95e485.js","524:static/chunks/524-6309ecb76a77fdcf.js","185:static/chunks/app/layout-38d79c8bb16c51be.js"],"name":"Providers","async":false} +8:I{"id":78963,"chunks":["346:static/chunks/346-c4227fa5fd95e485.js","524:static/chunks/524-6309ecb76a77fdcf.js","185:static/chunks/app/layout-38d79c8bb16c51be.js"],"name":"Header","async":false} +9:I{"id":81443,"chunks":["272:static/chunks/webpack-e23fff8c5b5084ca.js","971:static/chunks/fd9d1056-5dfc77aa37d8c76f.js","864:static/chunks/864-1669531662d5540a.js"],"name":"","async":false} +a:I{"id":18639,"chunks":["272:static/chunks/webpack-e23fff8c5b5084ca.js","971:static/chunks/fd9d1056-5dfc77aa37d8c76f.js","864:static/chunks/864-1669531662d5540a.js"],"name":"","async":false} +c:I{"id":64074,"chunks":["346:static/chunks/346-c4227fa5fd95e485.js","978:static/chunks/978-ab68c4a2390585a1.js","524:static/chunks/524-6309ecb76a77fdcf.js","931:static/chunks/app/page-757d8cb1ec33d4cb.js"],"name":"Chat","async":false} 5:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"Tabby Playground"}],["$","meta","2",{"name":"description","content":"Tabby, an opensource, self-hosted AI coding assistant."}],["$","meta","3",{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"white"}],["$","meta","4",{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"black"}],["$","meta","5",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","6",{"name":"next-size-adjust"}]] -4:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"font-sans antialiased __variable_4e6684 __variable_3d950d","children":[["$","$L6",null,{}],["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","div",null,{"className":"flex flex-col min-h-screen","children":[["$","$L8",null,{}],["$","main",null,{"className":"flex flex-col flex-1 bg-muted/50","children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"childProp":{"current":["$Lb",["$","$Lc",null,{"id":"WhCLNGT"}],null],"segment":"__PAGE__"},"styles":[]}]}]]}],null]}]]}]]}],null] +4:[null,["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":[["$","head",null,{}],["$","body",null,{"className":"font-sans antialiased __variable_4e6684 __variable_3d950d","children":[["$","$L6",null,{}],["$","$L7",null,{"attribute":"class","defaultTheme":"system","enableSystem":true,"children":[["$","div",null,{"className":"flex flex-col min-h-screen","children":[["$","$L8",null,{}],["$","main",null,{"className":"flex flex-col flex-1 bg-muted/50","children":["$","$L9",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","template":["$","$La",null,{}],"templateStyles":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"childProp":{"current":["$Lb",["$","$Lc",null,{"id":"JBeXiJC"}],null],"segment":"__PAGE__"},"styles":[]}]}]]}],null]}]]}]]}],null] b:null