@theobourgeois/ytdb 0.2.9 → 0.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/app-path-routes-manifest.json +1 -1
- package/.next/build-manifest.json +2 -2
- package/.next/server/app/[connectionId]/[schema]/[table]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[connectionId]/diff/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[connectionId]/migrations/[setId]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[connectionId]/migrations/page.js +1 -1
- package/.next/server/app/[connectionId]/migrations/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[connectionId]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[connectionId]/query/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +2 -2
- package/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.rsc +2 -2
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/index.segments/_full.segment.rsc +2 -2
- package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +1 -1
- package/.next/server/chunks/702.js +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/static/chunks/{7449-2b9bc65afb482d61.js → 7449-de75a89ab8afe5c1.js} +1 -1
- package/.next/static/chunks/app/[connectionId]/migrations/page-ebee230da73b5481.js +1 -0
- package/.next/static/css/19402b14d1698bdd.css +1 -0
- package/README.md +5 -0
- package/package.json +1 -1
- package/.next/static/chunks/app/[connectionId]/migrations/page-20f40d5f232b4607.js +0 -1
- package/.next/static/css/993f480f9e0f3e74.css +0 -1
- /package/.next/static/{4qs91o-9uIcy_ViXwFMl1 → NEAfmHhp-9__5VYm1xePl}/_buildManifest.js +0 -0
- /package/.next/static/{4qs91o-9uIcy_ViXwFMl1 → NEAfmHhp-9__5VYm1xePl}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en" class="__variable_246ccd __variable_c29908 dark h-full" data-theme="dark"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/22a5144ee8d83bca-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/7d4881bb7e1bf84d-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/e02ab5db9ff2dca2.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html lang="en" class="__variable_246ccd __variable_c29908 dark h-full" data-theme="dark"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/22a5144ee8d83bca-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/7d4881bb7e1bf84d-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/e02ab5db9ff2dca2.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/19402b14d1698bdd.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-34eb118f56295776.js"/><script src="/_next/static/chunks/4bd1b696-8a4ab4fdf0ae305a.js" async=""></script><script src="/_next/static/chunks/3794-d7cddff008311ab3.js" async=""></script><script src="/_next/static/chunks/main-app-f73ec34e89cb8fdd.js" async=""></script><script src="/_next/static/chunks/6039-02dbcff4d4ccf559.js" async=""></script><script src="/_next/static/chunks/app/layout-dd332a9583f47cd6.js" async=""></script><script src="/_next/static/chunks/8651-f7ba864bc5a5b128.js" async=""></script><script src="/_next/static/chunks/8360-5a3ba00eb4ee0720.js" async=""></script><script src="/_next/static/chunks/8500-01a63dafd809e317.js" async=""></script><script src="/_next/static/chunks/6842-c2831fd548ae657c.js" async=""></script><script src="/_next/static/chunks/1528-3257b0cb7a73dd8b.js" async=""></script><script src="/_next/static/chunks/6091-de8d2e51b0196435.js" async=""></script><script src="/_next/static/chunks/app/page-b582d36c1b014a02.js" async=""></script><meta name="next-size-adjust" content=""/><title>YTDB</title><meta name="description" content="A database management UI"/><link rel="icon" href="/favicon.ico?603d046c9a6fdfbb" type="image/x-icon" sizes="16x16"/><link rel="icon" href="/icon.svg?38bdd49dcdf01715" type="image/svg+xml" sizes="any"/><script>(function(){try{var allowed=["dark","light","one-dark-pro","nord","dracula","tokyo-night"];var light=["light"];var id="dark";var raw=localStorage.getItem("ytdb:theme")||localStorage.getItem("db-studio:theme");if(raw){var parsed=JSON.parse(raw);var value=parsed&&parsed.state&&parsed.state.theme;if(typeof value==="string"&&allowed.indexOf(value)!==-1)id=value;}var root=document.documentElement;root.setAttribute("data-theme",id);root.classList.toggle("dark",light.indexOf(id)===-1);}catch(e){}})();</script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="flex min-h-full flex-col"><div hidden=""><!--$--><!--/$--></div><main class="grid min-h-dvh place-items-center bg-background px-6 text-foreground"><div class="max-w-lg space-y-4"><p class="font-mono text-xs tracking-[0.22em] text-muted-foreground">YTDB</p><h1 class="text-2xl font-semibold tracking-tight">Connecting to YTDB…</h1></div></main><script src="/_next/static/chunks/webpack-34eb118f56295776.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[72737,[\"6039\",\"static/chunks/6039-02dbcff4d4ccf559.js\",\"7177\",\"static/chunks/app/layout-dd332a9583f47cd6.js\"],\"ThemeProvider\"]\n3:I[94821,[\"6039\",\"static/chunks/6039-02dbcff4d4ccf559.js\",\"7177\",\"static/chunks/app/layout-dd332a9583f47cd6.js\"],\"ConvexClientProvider\"]\n4:I[87758,[\"6039\",\"static/chunks/6039-02dbcff4d4ccf559.js\",\"7177\",\"static/chunks/app/layout-dd332a9583f47cd6.js\"],\"LocalBridgeGate\"]\n5:I[57121,[],\"\"]\n6:I[74581,[],\"\"]\n7:I[61304,[],\"ClientPageRoot\"]\n8:I[20400,[\"8651\",\"static/chunks/8651-f7ba864bc5a5b128.js\",\"8360\",\"static/chunks/8360-5a3ba00eb4ee0720.js\",\"8500\",\"static/chunks/8500-01a63dafd809e317.js\",\"6842\",\"static/chunks/6842-c2831fd548ae657c.js\",\"1528\",\"static/chunks/1528-3257b0cb7a73dd8b.js\",\"6091\",\"static/chunks/6091-de8d2e51b0196435.js\",\"8974\",\"static/chunks/app/page-b582d36c1b014a02.js\"],\"default\"]\nb:I[90484,[],\"OutletBoundary\"]\nc:\"$Sreact.suspense\"\ne:I[90484,[],\"ViewportBoundary\"]\n10:I[90484,[],\"MetadataBoundary\"]\n12:I[27123,[],\"default\",1]\n:HL[\"/_next/static/media/22a5144ee8d83bca-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/7d4881bb7e1bf84d-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/css/e02ab5db9ff2dca2.css\",\"style\"]\n:HL[\"/_next/static/css/19402b14d1698bdd.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{},\"$undefined\",\"$undefined\",4608]},\"$undefined\",\"$undefined\",4624],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/e02ab5db9ff2dca2.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/19402b14d1698bdd.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"__variable_246ccd __variable_c29908 dark h-full\",\"data-theme\":\"dark\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"(function(){try{var allowed=[\\\"dark\\\",\\\"light\\\",\\\"one-dark-pro\\\",\\\"nord\\\",\\\"dracula\\\",\\\"tokyo-night\\\"];var light=[\\\"light\\\"];var id=\\\"dark\\\";var raw=localStorage.getItem(\\\"ytdb:theme\\\")||localStorage.getItem(\\\"db-studio:theme\\\");if(raw){var parsed=JSON.parse(raw);var value=parsed\u0026\u0026parsed.state\u0026\u0026parsed.state.theme;if(typeof value===\\\"string\\\"\u0026\u0026allowed.indexOf(value)!==-1)id=value;}var root=document.documentElement;root.setAttribute(\\\"data-theme\\\",id);root.classList.toggle(\\\"dark\\\",light.indexOf(id)===-1);}catch(e){}})();\"}}]}],[\"$\",\"body\",null,{\"className\":\"flex min-h-full flex-col\",\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"$L3\",null,{\"children\":[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$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.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]}]}]]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L7\",null,{\"Component\":\"$8\",\"serverProvidedParams\":{\"searchParams\":{},\"params\":{},\"promises\":[\"$@9\",\"$@a\"]}}],null,[\"$\",\"$Lb\",null,{\"children\":[\"$\",\"$c\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@d\"}]}]]}],{},null,false,null]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$Le\",null,{\"children\":\"$Lf\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L10\",null,{\"children\":[\"$\",\"$c\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L11\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$12\",[]],\"S\":true,\"h\":null,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"NEAfmHhp-9__5VYm1xePl\"}\n"])</script><script>self.__next_f.push([1,"9:{}\na:\"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params\"\n"])</script><script>self.__next_f.push([1,"f:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"13:I[86869,[],\"IconMark\"]\nd:null\n11:[[\"$\",\"title\",\"0\",{\"children\":\"YTDB\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"A database management UI\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?603d046c9a6fdfbb\",\"type\":\"image/x-icon\",\"sizes\":\"16x16\"}],[\"$\",\"link\",\"3\",{\"rel\":\"icon\",\"href\":\"/icon.svg?38bdd49dcdf01715\",\"type\":\"image/svg+xml\",\"sizes\":\"any\"}],[\"$\",\"$L13\",\"4\",{}]]\n"])</script></body></html>
|
|
@@ -14,8 +14,8 @@ e:I[90484,[],"ViewportBoundary"]
|
|
|
14
14
|
:HL["/_next/static/media/22a5144ee8d83bca-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
15
15
|
:HL["/_next/static/media/7d4881bb7e1bf84d-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
16
16
|
:HL["/_next/static/css/e02ab5db9ff2dca2.css","style"]
|
|
17
|
-
:HL["/_next/static/css/
|
|
18
|
-
0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e02ab5db9ff2dca2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/
|
|
17
|
+
:HL["/_next/static/css/19402b14d1698bdd.css","style"]
|
|
18
|
+
0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e02ab5db9ff2dca2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/19402b14d1698bdd.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"__variable_246ccd __variable_c29908 dark h-full","data-theme":"dark","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var allowed=[\"dark\",\"light\",\"one-dark-pro\",\"nord\",\"dracula\",\"tokyo-night\"];var light=[\"light\"];var id=\"dark\";var raw=localStorage.getItem(\"ytdb:theme\")||localStorage.getItem(\"db-studio:theme\");if(raw){var parsed=JSON.parse(raw);var value=parsed&&parsed.state&&parsed.state.theme;if(typeof value===\"string\"&&allowed.indexOf(value)!==-1)id=value;}var root=document.documentElement;root.setAttribute(\"data-theme\",id);root.classList.toggle(\"dark\",light.indexOf(id)===-1);}catch(e){}})();"}}]}],["$","body",null,{"className":"flex min-h-full flex-col","children":["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$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."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]}]]}]]}],{"children":[["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@9","$@a"]}}],null,["$","$Lb",null,{"children":["$","$c",null,{"name":"Next.MetadataOutlet","children":"$@d"}]}]]}],{},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Le",null,{"children":"$Lf"}],["$","div",null,{"hidden":true,"children":["$","$L10",null,{"children":["$","$c",null,{"name":"Next.Metadata","children":"$L11"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$12",[]],"S":true,"h":null,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"NEAfmHhp-9__5VYm1xePl"}
|
|
19
19
|
9:{}
|
|
20
20
|
a:"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params"
|
|
21
21
|
f:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
|
@@ -12,9 +12,9 @@ f:I[72737,["6039","static/chunks/6039-02dbcff4d4ccf559.js","7177","static/chunks
|
|
|
12
12
|
12:I[57121,[],""]
|
|
13
13
|
13:I[74581,[],""]
|
|
14
14
|
:HL["/_next/static/css/e02ab5db9ff2dca2.css","style"]
|
|
15
|
-
:HL["/_next/static/css/
|
|
15
|
+
:HL["/_next/static/css/19402b14d1698bdd.css","style"]
|
|
16
16
|
a:X
|
|
17
|
-
0:{"buildId":"
|
|
17
|
+
0:{"buildId":"NEAfmHhp-9__5VYm1xePl","data":[{"rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],null,["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"isPartial":"$@9","staleTime":"$a","varyParams":null},{"rsc":["$","$1","h",{"children":[null,["$","$Lb",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$Lc",null,{"children":["$","$7",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"YTDB"}],["$","meta","1",{"name":"description","content":"A database management UI"}],["$","link","2",{"rel":"icon","href":"/favicon.ico?603d046c9a6fdfbb","type":"image/x-icon","sizes":"16x16"}],["$","link","3",{"rel":"icon","href":"/icon.svg?38bdd49dcdf01715","type":"image/svg+xml","sizes":"any"}],["$","$Ld","4",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":"$@e","staleTime":"$a","varyParams":null},{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e02ab5db9ff2dca2.css","precedence":"next"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/19402b14d1698bdd.css","precedence":"next"}]],["$","html",null,{"lang":"en","className":"__variable_246ccd __variable_c29908 dark h-full","data-theme":"dark","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var allowed=[\"dark\",\"light\",\"one-dark-pro\",\"nord\",\"dracula\",\"tokyo-night\"];var light=[\"light\"];var id=\"dark\";var raw=localStorage.getItem(\"ytdb:theme\")||localStorage.getItem(\"db-studio:theme\");if(raw){var parsed=JSON.parse(raw);var value=parsed&&parsed.state&&parsed.state.theme;if(typeof value===\"string\"&&allowed.indexOf(value)!==-1)id=value;}var root=document.documentElement;root.setAttribute(\"data-theme\",id);root.classList.toggle(\"dark\",light.indexOf(id)===-1);}catch(e){}})();"}}]}],["$","body",null,{"className":"flex min-h-full flex-col","children":["$","$Lf",null,{"children":["$","$L10",null,{"children":["$","$L11",null,{"children":["$","$L12",null,{"parallelRouterKey":"children","template":["$","$L13",null,{}],"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."}]}]]}]}]],[]]}]}]}]}]}]]}]]}],"isPartial":"$@14","staleTime":"$a","varyParams":null}],"isUpgradeableISRFallback":false,"a":"$@15","rootVaryParams":null,"needsRuntimeRequest":"$@16"}
|
|
18
18
|
4:{}
|
|
19
19
|
5:"$0:data:0:rsc:props:children:0:props:serverProvidedParams:params"
|
|
20
20
|
8:null
|
|
@@ -14,8 +14,8 @@ e:I[90484,[],"ViewportBoundary"]
|
|
|
14
14
|
:HL["/_next/static/media/22a5144ee8d83bca-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
15
15
|
:HL["/_next/static/media/7d4881bb7e1bf84d-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
16
16
|
:HL["/_next/static/css/e02ab5db9ff2dca2.css","style"]
|
|
17
|
-
:HL["/_next/static/css/
|
|
18
|
-
0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e02ab5db9ff2dca2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/
|
|
17
|
+
:HL["/_next/static/css/19402b14d1698bdd.css","style"]
|
|
18
|
+
0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e02ab5db9ff2dca2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/19402b14d1698bdd.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"__variable_246ccd __variable_c29908 dark h-full","data-theme":"dark","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var allowed=[\"dark\",\"light\",\"one-dark-pro\",\"nord\",\"dracula\",\"tokyo-night\"];var light=[\"light\"];var id=\"dark\";var raw=localStorage.getItem(\"ytdb:theme\")||localStorage.getItem(\"db-studio:theme\");if(raw){var parsed=JSON.parse(raw);var value=parsed&&parsed.state&&parsed.state.theme;if(typeof value===\"string\"&&allowed.indexOf(value)!==-1)id=value;}var root=document.documentElement;root.setAttribute(\"data-theme\",id);root.classList.toggle(\"dark\",light.indexOf(id)===-1);}catch(e){}})();"}}]}],["$","body",null,{"className":"flex min-h-full flex-col","children":["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$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."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]}]]}]]}],{"children":[["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@9","$@a"]}}],null,["$","$Lb",null,{"children":["$","$c",null,{"name":"Next.MetadataOutlet","children":"$@d"}]}]]}],{},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Le",null,{"children":"$Lf"}],["$","div",null,{"hidden":true,"children":["$","$L10",null,{"children":["$","$c",null,{"name":"Next.Metadata","children":"$L11"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$12",[]],"S":true,"h":null,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"NEAfmHhp-9__5VYm1xePl"}
|
|
19
19
|
9:{}
|
|
20
20
|
a:"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params"
|
|
21
21
|
f:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
:HL["/_next/static/media/22a5144ee8d83bca-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
2
2
|
:HL["/_next/static/media/7d4881bb7e1bf84d-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
3
3
|
:HL["/_next/static/css/e02ab5db9ff2dca2.css","style"]
|
|
4
|
-
:HL["/_next/static/css/
|
|
5
|
-
0:{"tree":{"name":"","param":null,"prefetchHints":4176,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":4256,"slots":null}}},"staleTime":300,"buildId":"
|
|
4
|
+
:HL["/_next/static/css/19402b14d1698bdd.css","style"]
|
|
5
|
+
0:{"tree":{"name":"","param":null,"prefetchHints":4176,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":4256,"slots":null}}},"staleTime":300,"buildId":"NEAfmHhp-9__5VYm1xePl"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"6937":{"*":{"id":"59809","name":"*","chunks":[],"async":false}},"16364":{"*":{"id":"47078","name":"*","chunks":[],"async":false}},"20400":{"*":{"id":"22053","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"81921","name":"*","chunks":[],"async":false}},"32971":{"*":{"id":"88865","name":"*","chunks":[],"async":false}},"35788":{"*":{"id":"53534","name":"*","chunks":[],"async":false}},"39049":{"*":{"id":"91723","name":"*","chunks":[],"async":false}},"50492":{"*":{"id":"74678","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"72737":{"*":{"id":"4833","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"87758":{"*":{"id":"19047","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"94821":{"*":{"id":"80189","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist\",\"arguments\":[{\"variable\":\"--font-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"sans\"}":{"id":34244,"name":"*","chunks":["6039","static/chunks/6039-02dbcff4d4ccf559.js","7177","static/chunks/app/layout-dd332a9583f47cd6.js"],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist_Mono\",\"arguments\":[{\"variable\":\"--font-geist-mono\",\"subsets\":[\"latin\"]}],\"variableName\":\"mono\"}":{"id":64939,"name":"*","chunks":["6039","static/chunks/6039-02dbcff4d4ccf559.js","7177","static/chunks/app/layout-dd332a9583f47cd6.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/app/globals.css":{"id":51743,"name":"*","chunks":["6039","static/chunks/6039-02dbcff4d4ccf559.js","7177","static/chunks/app/layout-dd332a9583f47cd6.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/ConvexClientProvider.tsx":{"id":94821,"name":"*","chunks":["6039","static/chunks/6039-02dbcff4d4ccf559.js","7177","static/chunks/app/layout-dd332a9583f47cd6.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/local-bridge-gate.tsx":{"id":87758,"name":"*","chunks":["6039","static/chunks/6039-02dbcff4d4ccf559.js","7177","static/chunks/app/layout-dd332a9583f47cd6.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/theme-provider.tsx":{"id":72737,"name":"*","chunks":["6039","static/chunks/6039-02dbcff4d4ccf559.js","7177","static/chunks/app/layout-dd332a9583f47cd6.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/app/page.tsx":{"id":20400,"name":"*","chunks":["8651","static/chunks/8651-f7ba864bc5a5b128.js","8360","static/chunks/8360-5a3ba00eb4ee0720.js","8500","static/chunks/8500-01a63dafd809e317.js","6842","static/chunks/6842-c2831fd548ae657c.js","1528","static/chunks/1528-3257b0cb7a73dd8b.js","6091","static/chunks/6091-de8d2e51b0196435.js","8974","static/chunks/app/page-b582d36c1b014a02.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/explorer/explorer-shell.tsx":{"id":6937,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/table/table-view.tsx":{"id":32971,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/diff/schema-diff-view.tsx":{"id":35788,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/migrations/migration-detail.tsx":{"id":50492,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/migrations/migrations-index.tsx":{"id":16364,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/query/query-view.tsx":{"id":39049,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/theobourgeois/code/db-studio/src/":[],"/Users/theobourgeois/code/db-studio/src/app/layout":[{"inlined":false,"path":"static/css/e02ab5db9ff2dca2.css"},{"inlined":false,"path":"static/css/
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"6937":{"*":{"id":"59809","name":"*","chunks":[],"async":false}},"16364":{"*":{"id":"47078","name":"*","chunks":[],"async":false}},"20400":{"*":{"id":"22053","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"81921","name":"*","chunks":[],"async":false}},"32971":{"*":{"id":"88865","name":"*","chunks":[],"async":false}},"35788":{"*":{"id":"53534","name":"*","chunks":[],"async":false}},"39049":{"*":{"id":"91723","name":"*","chunks":[],"async":false}},"50492":{"*":{"id":"74678","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"72737":{"*":{"id":"4833","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"87758":{"*":{"id":"19047","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"94821":{"*":{"id":"80189","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist\",\"arguments\":[{\"variable\":\"--font-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"sans\"}":{"id":34244,"name":"*","chunks":["6039","static/chunks/6039-02dbcff4d4ccf559.js","7177","static/chunks/app/layout-dd332a9583f47cd6.js"],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist_Mono\",\"arguments\":[{\"variable\":\"--font-geist-mono\",\"subsets\":[\"latin\"]}],\"variableName\":\"mono\"}":{"id":64939,"name":"*","chunks":["6039","static/chunks/6039-02dbcff4d4ccf559.js","7177","static/chunks/app/layout-dd332a9583f47cd6.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/app/globals.css":{"id":51743,"name":"*","chunks":["6039","static/chunks/6039-02dbcff4d4ccf559.js","7177","static/chunks/app/layout-dd332a9583f47cd6.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/ConvexClientProvider.tsx":{"id":94821,"name":"*","chunks":["6039","static/chunks/6039-02dbcff4d4ccf559.js","7177","static/chunks/app/layout-dd332a9583f47cd6.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/local-bridge-gate.tsx":{"id":87758,"name":"*","chunks":["6039","static/chunks/6039-02dbcff4d4ccf559.js","7177","static/chunks/app/layout-dd332a9583f47cd6.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/theme-provider.tsx":{"id":72737,"name":"*","chunks":["6039","static/chunks/6039-02dbcff4d4ccf559.js","7177","static/chunks/app/layout-dd332a9583f47cd6.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/app/page.tsx":{"id":20400,"name":"*","chunks":["8651","static/chunks/8651-f7ba864bc5a5b128.js","8360","static/chunks/8360-5a3ba00eb4ee0720.js","8500","static/chunks/8500-01a63dafd809e317.js","6842","static/chunks/6842-c2831fd548ae657c.js","1528","static/chunks/1528-3257b0cb7a73dd8b.js","6091","static/chunks/6091-de8d2e51b0196435.js","8974","static/chunks/app/page-b582d36c1b014a02.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/explorer/explorer-shell.tsx":{"id":6937,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/table/table-view.tsx":{"id":32971,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/diff/schema-diff-view.tsx":{"id":35788,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/migrations/migration-detail.tsx":{"id":50492,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/migrations/migrations-index.tsx":{"id":16364,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/query/query-view.tsx":{"id":39049,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/theobourgeois/code/db-studio/src/":[],"/Users/theobourgeois/code/db-studio/src/app/layout":[{"inlined":false,"path":"static/css/e02ab5db9ff2dca2.css"},{"inlined":false,"path":"static/css/19402b14d1698bdd.css"}],"/Users/theobourgeois/code/db-studio/src/app/page":[]},"rscModuleMapping":{"6937":{"*":{"id":"34766","name":"*","chunks":[],"async":false}},"16364":{"*":{"id":"99432","name":"*","chunks":[],"async":false}},"20400":{"*":{"id":"4494","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"95547","name":"*","chunks":[],"async":false}},"32971":{"*":{"id":"12377","name":"*","chunks":[],"async":false}},"35788":{"*":{"id":"58977","name":"*","chunks":[],"async":false}},"39049":{"*":{"id":"2781","name":"*","chunks":[],"async":false}},"50492":{"*":{"id":"97182","name":"*","chunks":[],"async":false}},"51743":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"72737":{"*":{"id":"65223","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"87758":{"*":{"id":"17569","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"94821":{"*":{"id":"88331","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}};
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
"/favicon.ico/route": "app/favicon.ico/route.js",
|
|
7
7
|
"/icon.svg/route": "app/icon.svg/route.js",
|
|
8
8
|
"/api/cell/route": "app/api/cell/route.js",
|
|
9
|
-
"/api/delete-rows/route": "app/api/delete-rows/route.js",
|
|
10
9
|
"/api/definition/route": "app/api/definition/route.js",
|
|
10
|
+
"/api/delete-rows/route": "app/api/delete-rows/route.js",
|
|
11
11
|
"/api/insert-row/route": "app/api/insert-row/route.js",
|
|
12
12
|
"/api/ledger/route": "app/api/ledger/route.js",
|
|
13
13
|
"/api/lookup/route": "app/api/lookup/route.js",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.id=702,exports.ids=[702],exports.modules={453:(a,b,c)=>{c.d(b,{x:()=>d});function d(a,b){let c=new Map(a.map(a=>[a.connection.id,a])),d=b.filter(a=>c.has(a.connectionId)).map(a=>({id:a.id,connectionId:a.connectionId,connectionName:a.connectionName,version:a.version,name:a.name,at:a.ranAt,kind:"failed"===a.status?"failed":a.recorded?"apply"===a.direction?"marked":"unmarked":"apply"===a.direction?"applied":"reverted",durationMs:a.durationMs,error:a.error,setName:a.setName,fromLedger:!1})),e=new Map;for(let a of d){let b=`${a.connectionId}:${a.version}`,c=e.get(b);(!c||a.at>c.at)&&e.set(b,a)}let f=[...d];for(let b of a)for(let a of b.ledger?.entries??[]){let c=`${b.connection.id}:${a.version}`,d=e.get(c);if(d&&("applied"===d.kind||"marked"===d.kind)){d.appliedBy=a.appliedBy;continue}f.push({id:`ledger:${b.connection.id}:${a.version}`,connectionId:b.connection.id,connectionName:b.connection.name,version:a.version,name:a.name||a.version,at:function(a){let b=Date.parse(a);return Number.isNaN(b)?0:b}(a.appliedAt),kind:"applied",durationMs:a.durationMs,setName:a.setName,appliedBy:a.appliedBy,fromLedger:!0})}return f.sort((a,b)=>b.at-a.at)}},14807:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(41926).A)("undo",[["path",{d:"M3 7v6h6",key:"1v2h90"}],["path",{d:"M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13",key:"1r6uu6"}]])},29774:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(41926).A)("clipboard-x",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m14.5 11.5-5 5",key:"1eaq8h"}],["path",{d:"m9.5 11.5 5 5",key:"1exjew"}]])},32278:(a,b,c)=>{c.d(b,{k:()=>p,$:()=>o});var d=c(48249),e=c(67484),f=c(69357),g=c(41577);let h=(0,c(41926).A)("folder-open",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]);var i=c(25297);function j(a){let b=a.createReader?.();return b?new Promise((a,c)=>{let d=[],e=()=>{b.readEntries(b=>{0===b.length||d.length>=2e3?a(d):(d.push(...b),e())},c)};e()}):Promise.resolve([])}async function k(a,b,c,d){if(d.length>=2e3||c>6||a.name.startsWith("."))return;let e=b?`${b}/${a.name}`:a.name;if(a.isFile){if(!/\.sql$/i.test(a.name))return;let b=await new Promise((b,c)=>{a.file?a.file(b,c):c(Error(`Could not read ${a.name}`))});d.push({path:e,text:await b.text()});return}if(a.isDirectory)for(let b of(await j(a)))await k(b,e,c+1,d)}async function l(a){let b=[];for(let c of Array.from(a.items)){if("file"!==c.kind)continue;let a=c.webkitGetAsEntry?.();a&&b.push(a)}if(0===b.length){let b=Array.from(a.files).filter(a=>/\.sql$/i.test(a.name));return 0===b.length?null:{name:"Migrations",files:await Promise.all(b.map(async a=>({path:a.name,text:await a.text()})))}}let c=1===b.length&&b[0].isDirectory?b[0]:null,d=[];if(c){for(let a of(await j(c)))await k(a,"",1,d);return{name:c.name,files:d}}for(let a of b)await k(a,"",0,d);return d.length>0?{name:"Migrations",files:d}:null}async function m(a){let b,c=Array.from(a).filter(a=>/\.sql$/i.test(a.name));if(0===c.length)return null;let d=new Set(c.map(a=>(a.webkitRelativePath||a.name).split("/")[0])),e=1===d.size&&((b=c[0]).webkitRelativePath||b.name).includes("/")?[...d][0]:null;return{name:e??"Migrations",files:await Promise.all(c.slice(0,2e3).map(async a=>{let b=a.webkitRelativePath||a.name;return{path:e?b.slice(e.length+1):b,text:await a.text()}}))}}var n=c(14490);function o(a){let[b,c]=(0,e.useState)(!1),[d,f]=(0,e.useState)(null);return{importFrom:(0,e.useCallback)(async b=>{c(!0),f(null);try{let c=b instanceof FileList?await m(b):await l(b);if(!c||0===c.files.length)return void f("No .sql files in there.");a(c)}catch(a){f(a instanceof Error?a.message:"Couldn’t read that folder.")}finally{c(!1)}},[a]),busy:b,error:d,clearError:()=>f(null)}}function p({onFiles:a,hint:b,className:c,compact:j=!1}){let{importFrom:k,busy:l,error:m}=o(a),[q,r]=(0,e.useState)(!1),s=(0,e.useRef)(null),t=(0,e.useRef)(null);return(0,d.jsxs)("div",{onDragOver:a=>{a.preventDefault(),r(!0)},onDragLeave:()=>r(!1),onDrop:a=>{a.preventDefault(),r(!1),k(a.dataTransfer)},className:(0,n.cn)("flex flex-col items-center justify-center gap-3 rounded-lg border border-dashed text-center transition-colors",j?"gap-2 px-4 py-6":"px-6 py-10",q?"border-primary bg-primary/5":"border-border",c),children:[l?(0,d.jsx)(f.A,{className:"size-5 animate-spin text-muted-foreground"}):(0,d.jsx)(g.A,{className:"size-5 text-muted-foreground"}),(0,d.jsxs)("div",{className:"space-y-1",children:[(0,d.jsx)("p",{className:"text-sm font-medium",children:"Drop migrations here"}),(0,d.jsx)("p",{className:"max-w-md text-xs text-muted-foreground",children:b??"A folder of .sql files, or one split into apply/ and revert/ (or up/ and down/). Revert files are optional, and you can add more files later."})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsxs)(i.$,{size:"sm",variant:"outline",disabled:l,onClick:()=>s.current?.click(),children:[(0,d.jsx)(h,{"data-icon":"inline-start"}),"Choose folder"]}),(0,d.jsx)(i.$,{size:"sm",variant:"ghost",disabled:l,onClick:()=>t.current?.click(),children:"Choose files"})]}),m&&(0,d.jsx)("p",{className:"max-w-sm text-xs text-destructive",children:m}),(0,d.jsx)("input",{ref:s,type:"file",multiple:!0,className:"sr-only",onChange:a=>{let{files:b}=a.target;b&&b.length>0&&k(b),a.target.value=""}}),(0,d.jsx)("input",{ref:t,type:"file",multiple:!0,accept:".sql",className:"sr-only",onChange:a=>{let{files:b}=a.target;b&&b.length>0&&k(b),a.target.value=""}})]})}},37654:(a,b,c)=>{c.d(b,{x:()=>f});var d=c(48249),e=c(14490);function f({value:a,options:b,onChange:c,label:g}){return(0,d.jsx)("div",{role:"group","aria-label":g,className:"flex h-7 items-center rounded-md border bg-muted/50 p-0.5",children:b.map(b=>(0,d.jsx)("button",{type:"button","aria-pressed":b.value===a,onClick:()=>c(b.value),className:(0,e.cn)("h-full rounded-sm px-2 text-xs transition-colors",b.value===a?"bg-background text-foreground shadow-xs":"text-muted-foreground hover:text-foreground"),children:b.label},b.value))})}},41577:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(41926).A)("folder-up",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"m9 13 3-3 3 3",key:"1pxg3c"}]])},45414:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(41926).A)("clipboard-check",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]])},56918:(a,b,c)=>{c.d(b,{Ai:()=>o,Nz:()=>n,Zy:()=>l,mj:()=>p});var d=c(14490),e=c(67657);let f=new Set(["apply","up","forward"]),g=new Set(["revert","down","rollback","undo"]),h=[".up",".apply",".forward"],i=[".down",".revert",".rollback",".undo"];function j(a){return a.split("/").filter(a=>a.length>0)}function k(a){return a.replace(/[-_]+/g," ").trim()}function l(a,b){let c=/(\d+)|(\D+)/g,d=a.match(c)??[],e=b.match(c)??[],f=Math.min(d.length,e.length);for(let a=0;a<f;a+=1){let b=d[a],c=e[a],f=/^\d+$/.test(b)&&/^\d+$/.test(c)?Number(b)-Number(c):b.localeCompare(c);if(0!==f)return f}return d.length-e.length}function m(a){let b=a.replace(/\r\n/g,"\n").trim(),c=0x811c9dc5,d=0x1000193;for(let a=0;a<b.length;a+=1){let e=b.charCodeAt(a);c=Math.imul(c^e,0x1000193)>>>0,d=Math.imul(d+e,0x85ebca6b)>>>0}return`${c.toString(16).padStart(8,"0")}${d.toString(16).padStart(8,"0")}`}function n(a){let b={applies:new Map,reverts:new Map,skipped:[],errors:[]},c=a.filter(a=>{var b;let c=j(b=a.path).at(-1)??b;return!c.startsWith(".")&&/\.sql$/i.test(c)});if(0===c.length)return b.errors.push("No .sql files in there."),b;let d=c.reduce((a,b)=>a+b.text.length,0);if(d>4e6)return b.errors.push(`That is ${q(d)} of SQL, over the ${q(4e6)} limit.`),b;for(let a of c){if(a.text.length>5e5){b.skipped.push(`${a.path} — over ${q(5e5)}`);continue}if(a.text.includes("\0")){b.skipped.push(`${a.path} — not text`);continue}if(!a.text.trim()){b.skipped.push(`${a.path} — empty`);continue}let{direction:c,stem:d}=function(a){let b=j(a),c=(b.at(-1)??a).replace(/\.sql$/i,"");for(let a of b.slice(0,-1)){let b=a.toLowerCase();if(g.has(b))return{direction:"revert",stem:c};if(f.has(b))return{direction:"apply",stem:c}}let d=c.toLowerCase();for(let a of i)if(d.endsWith(a))return{direction:"revert",stem:c.slice(0,-a.length)};for(let a of h)if(d.endsWith(a))return{direction:"apply",stem:c.slice(0,-a.length)};return{direction:"apply",stem:c}}(a.path),{version:e,name:l}=function(a){let b=/^[Vv](\d+(?:[._]\d+)*)__(.*)$/.exec(a);if(b)return{version:b[1].replace(/_/g,"."),name:k(b[2])};let c=/^(\d+)(?:[-_.\s]+(.*))?$/.exec(a);return c?{version:c[1],name:k(c[2]??"")}:{version:a,name:k(a)}}(d),m=("apply"===c?b.applies:b.reverts).get(e);if(m){b.skipped.push(`${a.path} — ${m.path} is already version ${e}`);continue}"apply"===c?b.applies.set(e,{path:a.path,sql:a.text,name:l}):b.reverts.set(e,{path:a.path,sql:a.text})}return 0===b.applies.size&&0===b.reverts.size&&b.errors.push("None of those .sql files could be read as a migration."),b}function o(a,b){let c=new Map(a.map(a=>[a.version,{...a}])),d=[...b.skipped],f=0,g=0,h=0;for(let[a,h]of b.applies){let b=c.get(a);if(b){b.applySql!==h.sql&&(g+=1),b.name=h.name||b.name,b.applyPath=h.path,b.applySql=h.sql,b.checksum=m(h.sql),b.transaction=(0,e.Ol)(h.sql).mode;continue}if(c.size>=500){d.push(`${h.path} — over 500 migrations`);continue}c.set(a,{version:a,name:h.name||a,applyPath:h.path,applySql:h.sql,checksum:m(h.sql),transaction:(0,e.Ol)(h.sql).mode}),f+=1}for(let[a,e]of b.reverts){let b=c.get(a);if(!b){d.push(`${e.path} — no migration ${a} to revert`);continue}b.revertPath=e.path,b.revertSql=e.sql,h+=1}return{steps:[...c.values()].sort((a,b)=>l(a.version,b.version)),added:f,updated:g,reverts:h,skipped:d}}function p(a){return{id:(0,d.z)(),name:a.trim().replace(/\s+/g," ").slice(0,80)||"Migrations",importedAt:Date.now(),steps:[],skipped:[]}}function q(a){return a<1024?`${a} B`:a<1048576?`${Math.round(a/1024)} KB`:`${(a/1048576).toFixed(1)} MB`}},66280:(a,b,c)=>{c.d(b,{S:()=>k,j:()=>j});var d=c(31417),e=c(300),f=c(4106),g=c(56918),h=c(72428),i=c(14490);let j=(0,d.v)()((0,e.Zr)((a,b)=>({sets:[],history:[],ledgerSchema:h.aC,setLedgerSchema:b=>{(0,h.hD)(b)&&a({ledgerSchema:b})},createSet:b=>{let c=(0,g.mj)(b);return a(a=>({sets:[...a.sets,c]})),c.id},addFiles:(c,d)=>{let e=b().sets.find(a=>a.id===c),h=(0,g.Nz)(d),i=(0,g.Ai)(e?.steps??[],h);return e&&a(a=>({sets:a.sets.map(a=>a.id===c?{...a,steps:i.steps,skipped:i.skipped,importedAt:Date.now()}:a)})),(0,f.L)("migrations.import",{name:e?.name,added:i.added,updated:i.updated,reverts:i.reverts,skipped:i.skipped.length}),i},renameSet:(b,c)=>{let d=c.trim().replace(/\s+/g," ").slice(0,80);d&&a(a=>({sets:a.sets.map(a=>a.id===b?{...a,name:d}:a)}))},removeStep:(b,c)=>a(a=>({sets:a.sets.map(a=>a.id===b?{...a,steps:a.steps.filter(a=>a.version!==c)}:a)})),removeSet:c=>{let d=b().sets.find(a=>a.id===c);a(a=>({sets:a.sets.filter(a=>a.id!==c)})),(0,f.L)("migrations.remove",{name:d?.name})},record:b=>a(a=>({history:[{...b,id:(0,i.z)(),ranAt:Date.now()},...a.history].slice(0,300)})),clearHistory:b=>a(a=>({history:b?a.history.filter(a=>a.setId!==b):[]}))}),{name:"ytdb:migrations"}));function k(a){return j(b=>b.sets.find(b=>b.id===a)??null)}},67657:(a,b,c)=>{c.d(b,{Ol:()=>i,TA:()=>j,qb:()=>k});let d=/^[ \t]*--+[ \t]*ytdb:[ \t]*no-?transaction\b/im,e=new Set(["begin","start"]),f=new Set(["commit","end"]),g=new Set(["rollback"]);function h(a){return void 0!==a&&(a>="A"&&a<="Z"||a>="a"&&a<="z"||"_"===a)||void 0!==a&&a>="0"&&a<="9"}function i(a){if(d.test(a))return{mode:"unwrapped",sql:a,atomic:!1};let b=function(a){let b=[],c=0,d=0,e=d=>{let e=function(a,b){let c=b;for(;c<a.length;){let b=a[c];if(" "===b||" "===b||"\n"===b||"\r"===b){c+=1;continue}if("-"===b&&"-"===a[c+1]){for(;c<a.length&&"\n"!==a[c];)c+=1;continue}if("/"===b&&"*"===a[c+1]){let b=a.indexOf("*/",c+2);c=-1===b?a.length:b+2;continue}break}return c}(a,c);if(e>=d)return;let f=e;for(;f<a.length&&h(a[f]);)f+=1;b.push({at:e,end:d,keyword:a.slice(e,f).toLowerCase()})};for(;d<a.length;){let b=a[d];if("-"===b&&"-"===a[d+1]){for(;d<a.length&&"\n"!==a[d];)d+=1;continue}if("/"===b&&"*"===a[d+1]){let b=a.indexOf("*/",d+2);d=-1===b?a.length:b+2;continue}if("'"===b||'"'===b){d=function(a,b,c){let d=b+1;for(;d<a.length;){if(a[d]===c){if(a[d+1]===c){d+=2;continue}return d+1}d+=1}return d}(a,d,b);continue}if("$"===b){let b=function(a,b){if("$"!==a[b])return null;let c=b+1;for(;c<a.length&&h(a[c]);)c+=1;return"$"!==a[c]?null:a.slice(b,c+1)}(a,d);if(b){let c=a.indexOf(b,d+b.length);d=-1===c?a.length:c+b.length;continue}}if(";"===b){e(d+1),d+=1,c=d;continue}d+=1}return e(a.length),b}(a),c=b.filter(a=>e.has(a.keyword)||f.has(a.keyword)||g.has(a.keyword));if(0===c.length)return{mode:"wrapped-by-ytdb",sql:a,atomic:!0};let i=b[0],j=b[b.length-1];return 2===c.length&&c[0]===i&&c[1]===j&&e.has(i.keyword)&&f.has(j.keyword)?{mode:"self-wrapped",sql:a.slice(0,i.at)+a.slice(i.end,j.at)+a.slice(j.end),atomic:!0}:{mode:"self-managed",sql:a,atomic:!1}}function j(a){switch(a){case"unwrapped":return"Marked `-- ytdb:no-transaction`, so it runs with no transaction. A failure partway leaves the statements before it applied.";case"self-managed":return"This file commits more than once, so YTDB runs it as written and records it afterwards. A failure partway can leave it half applied and unrecorded.";default:return null}}function k(a){return"unwrapped"===a?"no transaction":"self-managed"===a?"self-managed":null}},69357:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(41926).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},72428:(a,b,c)=>{c.d(b,{R9:()=>e,aC:()=>d,hD:()=>f});let d="maintenance",e="ytdb_migrations";function f(a){return"string"==typeof a&&a.length>0&&a.length<=63&&/^[A-Za-z_][A-Za-z0-9_$]*$/.test(a)}},76829:(a,b,c)=>{c.d(b,{l:()=>f});var d=c(48249),e=c(37654);function f({caption:a,pane:b,onPaneChange:c,historyCount:g,migrationsLabel:h="Migrations"}){return(0,d.jsxs)("footer",{className:"flex shrink-0 items-center gap-2 border-t px-4 py-1.5 text-xs text-muted-foreground",children:[(0,d.jsx)("span",{className:"min-w-0 truncate",children:a}),(0,d.jsx)("div",{className:"ml-auto",children:(0,d.jsx)(e.x,{label:"Migrations pane",value:b,onChange:c,options:[{value:"migrations",label:h},{value:"history",label:g>0?`History (${g})`:"History"}]})})]})}},77963:(a,b,c)=>{c.d(b,{H:()=>q});var d=c(48249),e=c(45535),f=c(14807),g=c(45414),h=c(29774),i=c(35471),j=c(30770),k=c(25297),l=c(66280),m=c(14490);let n={applied:"applied",reverted:"reverted",marked:"marked",unmarked:"unmarked",failed:"failed"};function o({kind:a}){switch(a){case"failed":return(0,d.jsx)(e.A,{className:"size-3.5 shrink-0 text-destructive"});case"reverted":return(0,d.jsx)(f.A,{className:"size-3.5 shrink-0 text-amber-600 dark:text-amber-400"});case"marked":return(0,d.jsx)(g.A,{className:"size-3.5 shrink-0 text-muted-foreground"});case"unmarked":return(0,d.jsx)(h.A,{className:"size-3.5 shrink-0 text-muted-foreground"});default:return(0,d.jsx)(i.A,{className:"size-3.5 shrink-0 text-emerald-600 dark:text-emerald-400"})}}function p({event:a,connection:b}){return(0,d.jsxs)("div",{className:"flex items-start gap-2 border-b px-4 py-2 text-xs last:border-b-0",children:[(0,d.jsx)("span",{className:"mt-0.5",children:(0,d.jsx)(o,{kind:a.kind})}),(0,d.jsx)("span",{className:(0,m.cn)("mt-px shrink-0 rounded-md px-1.5 text-[11px]","failed"===a.kind?"bg-destructive/10 text-destructive":"reverted"===a.kind?"bg-amber-500/15 text-amber-700 dark:text-amber-400":"bg-muted text-muted-foreground"),children:n[a.kind]}),(0,d.jsx)("span",{className:"shrink-0 font-mono text-muted-foreground",children:a.version}),(0,d.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,d.jsx)("span",{className:"truncate",children:a.name}),a.error&&(0,d.jsx)("span",{className:"mt-1 block font-mono text-[11px] whitespace-pre-wrap text-destructive",children:a.error})]}),a.setName&&(0,d.jsx)("span",{className:"hidden max-w-32 shrink-0 truncate text-muted-foreground/60 lg:inline",children:a.setName}),(0,d.jsxs)("span",{className:"flex shrink-0 items-center gap-1 text-muted-foreground",children:[b&&(0,d.jsx)(j.F,{connection:b,className:"size-1.5"}),a.connectionName]}),a.appliedBy&&(0,d.jsx)("span",{className:"hidden shrink-0 text-muted-foreground/60 xl:inline",children:a.appliedBy}),(0,d.jsx)("span",{className:"shrink-0 tabular-nums text-muted-foreground/70",children:null===a.durationMs?"":`${a.durationMs} ms`}),(0,d.jsx)("span",{className:"shrink-0 text-muted-foreground/70",title:a.fromLedger?"Read from the database's own ledger":"Run from this browser",children:new Date(a.at).toLocaleString()})]})}function q({events:a,connections:b,loading:c}){let e=(0,l.j)(a=>a.clearHistory),f=new Map(b.map(a=>[a.id,a])),g=a.filter(a=>!a.fromLedger).length;return 0===a.length?(0,d.jsx)("p",{className:"px-4 py-6 text-sm text-muted-foreground",children:c?"Reading ledgers…":"Nothing has been applied to these databases yet. Every run shows up here, along with what each database's own ledger already records."}):(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-2 px-4 py-1.5",children:[(0,d.jsxs)("span",{className:"min-w-0 truncate text-xs text-muted-foreground",children:[a.length," event",1===a.length?"":"s",", newest first \xb7 from each database’s ledger and this browser’s own log"]}),g>0&&(0,d.jsx)(k.$,{size:"xs",variant:"ghost",title:"Clears this browser's log. The databases' ledgers are untouched.",onClick:()=>e(),children:"Clear local log"})]}),(0,d.jsx)("div",{className:"border-t",children:a.map(a=>(0,d.jsx)(p,{event:a,connection:f.get(a.connectionId)},a.id))})]})}},78931:(a,b,c)=>{c.d(b,{FY:()=>h,ay:()=>g,e:()=>l,eh:()=>i,gj:()=>k,kB:()=>m,nb:()=>j});var d=c(56918);let e={steps:[],blockedBy:null};function f(a){let b=new Map;for(let c of a?.entries??[])b.set(c.version,c);return b}function g(a,b){return b?b.entries.find(b=>b.version===a.version)??null:null}function h(a,b){if(!b)return"unknown";let c=g(a,b);return c?c.checksum&&c.checksum!==a.checksum?"drifted":"applied":"pending"}function i(a,b){let c={total:a?.steps.length??0,applied:0,drifted:0,pending:0,foreign:0};if(!a)return c;for(let d of a.steps){let a=h(d,b);"applied"===a?c.applied+=1:"drifted"===a?c.drifted+=1:"pending"===a&&(c.pending+=1)}return c.foreign=j(a,b).length,c}function j(a,b){if(!b)return[];let c=new Set((a?.steps??[]).map(a=>a.version));return b.entries.filter(a=>!c.has(a.version)).sort((a,b)=>(0,d.Zy)(a.version,b.version))}function k(a,b,c){if(!a||!b)return e;let d=[];for(let e of a.steps)if("pending"===h(e,b)&&d.push(e),void 0!==c&&e.version===c)break;return{steps:d,blockedBy:null}}function l(a,b,c){if(!a||!b)return e;let g=f(b),h=[];for(let b of[...a.steps].reverse()){if(void 0!==c&&0>(0,d.Zy)(b.version,c))break;if(g.has(b.version)){if(!b.revertSql)return{steps:h,blockedBy:b};h.push(b)}}return{steps:h,blockedBy:null}}function m(a,b){if(!a||!b)return null;let c=f(b);for(let b of[...a.steps].reverse())if(c.has(b.version))return b;return null}}};
|
|
1
|
+
"use strict";exports.id=702,exports.ids=[702],exports.modules={453:(a,b,c)=>{c.d(b,{x:()=>d});function d(a,b){let c=new Map(a.map(a=>[a.connection.id,a])),d=b.filter(a=>c.has(a.connectionId)).map(a=>({id:a.id,connectionId:a.connectionId,connectionName:a.connectionName,version:a.version,name:a.name,at:a.ranAt,kind:"failed"===a.status?"failed":a.recorded?"apply"===a.direction?"marked":"unmarked":"apply"===a.direction?"applied":"reverted",durationMs:a.durationMs,error:a.error,setName:a.setName,fromLedger:!1})),e=new Map;for(let a of d){let b=`${a.connectionId}:${a.version}`,c=e.get(b);(!c||a.at>c.at)&&e.set(b,a)}let f=[...d];for(let b of a)for(let a of b.ledger?.entries??[]){let c=`${b.connection.id}:${a.version}`,d=e.get(c);if(d&&("applied"===d.kind||"marked"===d.kind)){d.appliedBy=a.appliedBy;continue}f.push({id:`ledger:${b.connection.id}:${a.version}`,connectionId:b.connection.id,connectionName:b.connection.name,version:a.version,name:a.name||a.version,at:function(a){let b=Date.parse(a);return Number.isNaN(b)?0:b}(a.appliedAt),kind:"applied",durationMs:a.durationMs,setName:a.setName,appliedBy:a.appliedBy,fromLedger:!0})}return f.sort((a,b)=>b.at-a.at)}},14807:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(41926).A)("undo",[["path",{d:"M3 7v6h6",key:"1v2h90"}],["path",{d:"M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13",key:"1r6uu6"}]])},29774:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(41926).A)("clipboard-x",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m14.5 11.5-5 5",key:"1eaq8h"}],["path",{d:"m9.5 11.5 5 5",key:"1exjew"}]])},32278:(a,b,c)=>{c.d(b,{k:()=>p,$:()=>o});var d=c(48249),e=c(67484),f=c(69357),g=c(41577);let h=(0,c(41926).A)("folder-open",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]);var i=c(25297);function j(a){let b=a.createReader?.();return b?new Promise((a,c)=>{let d=[],e=()=>{b.readEntries(b=>{0===b.length||d.length>=2e3?a(d):(d.push(...b),e())},c)};e()}):Promise.resolve([])}async function k(a,b,c,d){if(d.length>=2e3||c>6||a.name.startsWith("."))return;let e=b?`${b}/${a.name}`:a.name;if(a.isFile){if(!/\.sql$/i.test(a.name))return;let b=await new Promise((b,c)=>{a.file?a.file(b,c):c(Error(`Could not read ${a.name}`))});d.push({path:e,text:await b.text()});return}if(a.isDirectory)for(let b of(await j(a)))await k(b,e,c+1,d)}async function l(a){let b=[];for(let c of Array.from(a.items)){if("file"!==c.kind)continue;let a=c.webkitGetAsEntry?.();a&&b.push(a)}if(0===b.length){let b=Array.from(a.files).filter(a=>/\.sql$/i.test(a.name));return 0===b.length?null:{name:"Migrations",files:await Promise.all(b.map(async a=>({path:a.name,text:await a.text()})))}}let c=1===b.length&&b[0].isDirectory?b[0]:null,d=[];if(c){for(let a of(await j(c)))await k(a,"",1,d);return{name:c.name,files:d}}for(let a of b)await k(a,"",0,d);return d.length>0?{name:"Migrations",files:d}:null}async function m(a){let b,c=Array.from(a).filter(a=>/\.sql$/i.test(a.name));if(0===c.length)return null;let d=new Set(c.map(a=>(a.webkitRelativePath||a.name).split("/")[0])),e=1===d.size&&((b=c[0]).webkitRelativePath||b.name).includes("/")?[...d][0]:null;return{name:e??"Migrations",files:await Promise.all(c.slice(0,2e3).map(async a=>{let b=a.webkitRelativePath||a.name;return{path:e?b.slice(e.length+1):b,text:await a.text()}}))}}var n=c(14490);function o(a){let[b,c]=(0,e.useState)(!1),[d,f]=(0,e.useState)(null);return{importFrom:(0,e.useCallback)(async b=>{c(!0),f(null);try{let c=b instanceof FileList?await m(b):await l(b);if(!c||0===c.files.length)return void f("No .sql files in there.");a(c)}catch(a){f(a instanceof Error?a.message:"Couldn’t read that folder.")}finally{c(!1)}},[a]),busy:b,error:d,clearError:()=>f(null)}}function p({onFiles:a,hint:b,className:c,compact:j=!1}){let{importFrom:k,busy:l,error:m}=o(a),[q,r]=(0,e.useState)(!1),s=(0,e.useRef)(null),t=(0,e.useRef)(null);return(0,d.jsxs)("div",{onDragOver:a=>{a.preventDefault(),r(!0)},onDragLeave:()=>r(!1),onDrop:a=>{a.preventDefault(),r(!1),k(a.dataTransfer)},className:(0,n.cn)("flex flex-col items-center justify-center gap-3 rounded-lg border border-dashed text-center transition-colors",j?"gap-2 px-4 py-6":"px-6 py-10",q?"border-primary bg-primary/5":"border-border",c),children:[l?(0,d.jsx)(f.A,{className:"size-5 animate-spin text-muted-foreground"}):(0,d.jsx)(g.A,{className:"size-5 text-muted-foreground"}),(0,d.jsxs)("div",{className:"space-y-1",children:[(0,d.jsx)("p",{className:"text-sm font-medium",children:"Drop migrations here"}),(0,d.jsx)("p",{className:"max-w-md text-xs text-muted-foreground",children:b??"A folder of .sql files, or one split into apply/ and revert/ (or up/ and down/). Revert files are optional, and you can add more files later."})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsxs)(i.$,{size:"sm",variant:"outline",disabled:l,onClick:()=>s.current?.click(),children:[(0,d.jsx)(h,{"data-icon":"inline-start"}),"Choose folder"]}),(0,d.jsx)(i.$,{size:"sm",variant:"ghost",disabled:l,onClick:()=>t.current?.click(),children:"Choose files"})]}),m&&(0,d.jsx)("p",{className:"max-w-sm text-xs text-destructive",children:m}),(0,d.jsx)("input",{ref:s,type:"file",multiple:!0,className:"sr-only",onChange:a=>{let{files:b}=a.target;b&&b.length>0&&k(b),a.target.value=""}}),(0,d.jsx)("input",{ref:t,type:"file",multiple:!0,accept:".sql",className:"sr-only",onChange:a=>{let{files:b}=a.target;b&&b.length>0&&k(b),a.target.value=""}})]})}},37654:(a,b,c)=>{c.d(b,{x:()=>f});var d=c(48249),e=c(14490);function f({value:a,options:b,onChange:c,label:g}){return(0,d.jsx)("div",{role:"group","aria-label":g,className:"flex h-7 items-center rounded-md border bg-muted/50 p-0.5",children:b.map(b=>(0,d.jsx)("button",{type:"button","aria-pressed":b.value===a,onClick:()=>c(b.value),className:(0,e.cn)("h-full rounded-sm px-2 text-xs transition-colors",b.value===a?"bg-background text-foreground shadow-xs":"text-muted-foreground hover:text-foreground"),children:b.label},b.value))})}},41577:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(41926).A)("folder-up",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"m9 13 3-3 3 3",key:"1pxg3c"}]])},45414:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(41926).A)("clipboard-check",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]])},56918:(a,b,c)=>{c.d(b,{Ai:()=>o,Nz:()=>n,Zy:()=>l,mj:()=>p});var d=c(14490),e=c(67657);let f=new Set(["apply","up","forward"]),g=new Set(["revert","down","rollback","undo"]),h=[".up",".apply",".forward"],i=[".down",".revert",".rollback",".undo"];function j(a){return a.split("/").filter(a=>a.length>0)}function k(a){return a.replace(/[-_]+/g," ").trim()}function l(a,b){let c=/(\d+)|(\D+)/g,d=a.match(c)??[],e=b.match(c)??[],f=Math.min(d.length,e.length);for(let a=0;a<f;a+=1){let b=d[a],c=e[a],f=/^\d+$/.test(b)&&/^\d+$/.test(c)?Number(b)-Number(c):b.localeCompare(c);if(0!==f)return f}return d.length-e.length}function m(a){let b=a.replace(/\r\n/g,"\n").trim(),c=0x811c9dc5,d=0x1000193;for(let a=0;a<b.length;a+=1){let e=b.charCodeAt(a);c=Math.imul(c^e,0x1000193)>>>0,d=Math.imul(d+e,0x85ebca6b)>>>0}return`${c.toString(16).padStart(8,"0")}${d.toString(16).padStart(8,"0")}`}function n(a){let b={applies:new Map,reverts:new Map,skipped:[],errors:[]},c=a.filter(a=>{var b;let c=j(b=a.path).at(-1)??b;return!c.startsWith(".")&&/\.sql$/i.test(c)});if(0===c.length)return b.errors.push("No .sql files in there."),b;let d=c.reduce((a,b)=>a+b.text.length,0);if(d>4e6)return b.errors.push(`That is ${q(d)} of SQL, over the ${q(4e6)} limit.`),b;for(let a of c){if(a.text.length>5e5){b.skipped.push(`${a.path} — over ${q(5e5)}`);continue}if(a.text.includes("\0")){b.skipped.push(`${a.path} — not text`);continue}if(!a.text.trim()){b.skipped.push(`${a.path} — empty`);continue}let{direction:c,stem:d}=function(a){let b=j(a),c=(b.at(-1)??a).replace(/\.sql$/i,"");for(let a of b.slice(0,-1)){let b=a.toLowerCase();if(g.has(b))return{direction:"revert",stem:c};if(f.has(b))return{direction:"apply",stem:c}}let d=c.toLowerCase();for(let a of i)if(d.endsWith(a))return{direction:"revert",stem:c.slice(0,-a.length)};for(let a of h)if(d.endsWith(a))return{direction:"apply",stem:c.slice(0,-a.length)};return{direction:"apply",stem:c}}(a.path),{version:e,name:l}=function(a){let b=/^[Vv](\d+(?:[._]\d+)*)__(.*)$/.exec(a);if(b)return{version:b[1].replace(/_/g,"."),name:k(b[2])};let c=/^(\d+)(?:[-_.\s]+(.*))?$/.exec(a);return c?{version:c[1],name:k(c[2]??"")}:{version:a,name:k(a)}}(d),m=("apply"===c?b.applies:b.reverts).get(e);if(m){b.skipped.push(`${a.path} — ${m.path} is already version ${e}`);continue}"apply"===c?b.applies.set(e,{path:a.path,sql:a.text,name:l}):b.reverts.set(e,{path:a.path,sql:a.text})}return 0===b.applies.size&&0===b.reverts.size&&b.errors.push("None of those .sql files could be read as a migration."),b}function o(a,b){let c=new Map(a.map(a=>[a.version,{...a}])),d=[...b.skipped],f=0,g=0,h=0;for(let[a,h]of b.applies){let b=c.get(a);if(b){b.applySql!==h.sql&&(g+=1),b.name=h.name||b.name,b.applyPath=h.path,b.applySql=h.sql,b.checksum=m(h.sql),b.transaction=(0,e.Ol)(h.sql).mode;continue}if(c.size>=500){d.push(`${h.path} — over 500 migrations`);continue}c.set(a,{version:a,name:h.name||a,applyPath:h.path,applySql:h.sql,checksum:m(h.sql),transaction:(0,e.Ol)(h.sql).mode}),f+=1}for(let[a,e]of b.reverts){let b=c.get(a);if(!b){d.push(`${e.path} — no migration ${a} to revert`);continue}b.revertPath=e.path,b.revertSql=e.sql,h+=1}return{steps:[...c.values()].sort((a,b)=>l(a.version,b.version)),added:f,updated:g,reverts:h,skipped:d}}function p(a){return{id:(0,d.z)(),name:a.trim().replace(/\s+/g," ").slice(0,80)||"Migrations",importedAt:Date.now(),steps:[],skipped:[]}}function q(a){return a<1024?`${a} B`:a<1048576?`${Math.round(a/1024)} KB`:`${(a/1048576).toFixed(1)} MB`}},66280:(a,b,c)=>{c.d(b,{S:()=>k,j:()=>j});var d=c(31417),e=c(300),f=c(4106),g=c(56918),h=c(72428),i=c(14490);let j=(0,d.v)()((0,e.Zr)((a,b)=>({sets:[],history:[],ledgerSchema:h.aC,setLedgerSchema:b=>{(0,h.hD)(b)&&a({ledgerSchema:b})},createSet:b=>{let c=(0,g.mj)(b);return a(a=>({sets:[...a.sets,c]})),c.id},addFiles:(c,d)=>{let e=b().sets.find(a=>a.id===c),h=(0,g.Nz)(d),i=(0,g.Ai)(e?.steps??[],h);return e&&a(a=>({sets:a.sets.map(a=>a.id===c?{...a,steps:i.steps,skipped:i.skipped,importedAt:Date.now()}:a)})),(0,f.L)("migrations.import",{name:e?.name,added:i.added,updated:i.updated,reverts:i.reverts,skipped:i.skipped.length}),i},renameSet:(b,c)=>{let d=c.trim().replace(/\s+/g," ").slice(0,80);d&&a(a=>({sets:a.sets.map(a=>a.id===b?{...a,name:d}:a)}))},removeStep:(b,c)=>a(a=>({sets:a.sets.map(a=>a.id===b?{...a,steps:a.steps.filter(a=>a.version!==c)}:a)})),removeSet:c=>{let d=b().sets.find(a=>a.id===c);a(a=>({sets:a.sets.filter(a=>a.id!==c)})),(0,f.L)("migrations.remove",{name:d?.name})},record:b=>a(a=>({history:[{...b,id:(0,i.z)(),ranAt:Date.now()},...a.history].slice(0,300)})),clearHistory:b=>a(a=>({history:b?a.history.filter(a=>a.setId!==b):[]}))}),{name:"ytdb:migrations"}));function k(a){return j(b=>b.sets.find(b=>b.id===a)??null)}},67657:(a,b,c)=>{c.d(b,{Ol:()=>i,TA:()=>j,qb:()=>k});let d=/^[ \t]*--+[ \t]*ytdb:[ \t]*no-?transaction\b/im,e=new Set(["begin","start"]),f=new Set(["commit","end"]),g=new Set(["rollback"]);function h(a){return void 0!==a&&(a>="A"&&a<="Z"||a>="a"&&a<="z"||"_"===a)||void 0!==a&&a>="0"&&a<="9"}function i(a){if(d.test(a))return{mode:"unwrapped",sql:a,atomic:!1};let b=function(a){let b=[],c=0,d=0,e=d=>{let e=function(a,b){let c=b;for(;c<a.length;){let b=a[c];if(" "===b||" "===b||"\n"===b||"\r"===b){c+=1;continue}if("-"===b&&"-"===a[c+1]){for(;c<a.length&&"\n"!==a[c];)c+=1;continue}if("/"===b&&"*"===a[c+1]){let b=a.indexOf("*/",c+2);c=-1===b?a.length:b+2;continue}break}return c}(a,c);if(e>=d)return;let f=e;for(;f<a.length&&h(a[f]);)f+=1;b.push({at:e,end:d,keyword:a.slice(e,f).toLowerCase()})};for(;d<a.length;){let b=a[d];if("-"===b&&"-"===a[d+1]){for(;d<a.length&&"\n"!==a[d];)d+=1;continue}if("/"===b&&"*"===a[d+1]){let b=a.indexOf("*/",d+2);d=-1===b?a.length:b+2;continue}if("'"===b||'"'===b){d=function(a,b,c){let d=b+1;for(;d<a.length;){if(a[d]===c){if(a[d+1]===c){d+=2;continue}return d+1}d+=1}return d}(a,d,b);continue}if("$"===b){let b=function(a,b){if("$"!==a[b])return null;let c=b+1;for(;c<a.length&&h(a[c]);)c+=1;return"$"!==a[c]?null:a.slice(b,c+1)}(a,d);if(b){let c=a.indexOf(b,d+b.length);d=-1===c?a.length:c+b.length;continue}}if(";"===b){e(d+1),d+=1,c=d;continue}d+=1}return e(a.length),b}(a),c=b.filter(a=>e.has(a.keyword)||f.has(a.keyword)||g.has(a.keyword));if(0===c.length)return{mode:"wrapped-by-ytdb",sql:a,atomic:!0};let i=b[0],j=b[b.length-1];return 2===c.length&&c[0]===i&&c[1]===j&&e.has(i.keyword)&&f.has(j.keyword)?{mode:"self-wrapped",sql:a.slice(0,i.at)+a.slice(i.end,j.at)+a.slice(j.end),atomic:!0}:{mode:"self-managed",sql:a,atomic:!1}}function j(a){switch(a){case"unwrapped":return"Marked `-- ytdb:no-transaction`, so it runs with no transaction. A failure partway leaves the statements before it applied.";case"self-managed":return"This file commits more than once, so YTDB runs it as written and records it afterwards. A failure partway can leave it half applied and unrecorded.";default:return null}}function k(a){return"unwrapped"===a?"no transaction":"self-managed"===a?"self-managed":null}},69357:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(41926).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},72428:(a,b,c)=>{c.d(b,{R9:()=>e,aC:()=>d,hD:()=>f});let d="maintenance",e="ytdb_migrations";function f(a){return"string"==typeof a&&a.length>0&&a.length<=63&&/^[A-Za-z_][A-Za-z0-9_$]*$/.test(a)}},76829:(a,b,c)=>{c.d(b,{l:()=>f});var d=c(48249),e=c(37654);function f({caption:a,pane:b,onPaneChange:c,historyCount:g,migrationsLabel:h="Migrations"}){return(0,d.jsxs)("footer",{className:"flex shrink-0 items-center gap-2 border-t px-4 py-1.5 text-xs text-muted-foreground",children:[(0,d.jsx)("span",{className:"min-w-0 truncate",children:a}),(0,d.jsx)("div",{className:"ml-auto",children:(0,d.jsx)(e.x,{label:"Migrations pane",value:b,onChange:c,options:[{value:"migrations",label:h},{value:"history",label:g>0?`History (${g})`:"History"}]})})]})}},77963:(a,b,c)=>{c.d(b,{H:()=>q});var d=c(48249),e=c(45535),f=c(14807),g=c(45414),h=c(29774),i=c(35471),j=c(30770),k=c(25297),l=c(66280),m=c(14490);let n={applied:"applied",reverted:"reverted",marked:"marked",unmarked:"unmarked",failed:"failed"};function o({kind:a}){switch(a){case"failed":return(0,d.jsx)(e.A,{className:"size-3.5 shrink-0 text-destructive"});case"reverted":return(0,d.jsx)(f.A,{className:"size-3.5 shrink-0 text-amber-600 dark:text-amber-400"});case"marked":return(0,d.jsx)(g.A,{className:"size-3.5 shrink-0 text-muted-foreground"});case"unmarked":return(0,d.jsx)(h.A,{className:"size-3.5 shrink-0 text-muted-foreground"});default:return(0,d.jsx)(i.A,{className:"size-3.5 shrink-0 text-emerald-600 dark:text-emerald-400"})}}function p({event:a,connection:b}){return(0,d.jsxs)("div",{className:"flex items-start gap-2 border-b px-4 py-2 text-xs last:border-b-0",children:[(0,d.jsx)("span",{className:"mt-0.5",children:(0,d.jsx)(o,{kind:a.kind})}),(0,d.jsx)("span",{className:(0,m.cn)("mt-px shrink-0 rounded-md px-1.5 text-[11px]","failed"===a.kind?"bg-destructive/10 text-destructive":"reverted"===a.kind?"bg-amber-500/15 text-amber-700 dark:text-amber-400":"bg-muted text-muted-foreground"),children:n[a.kind]}),(0,d.jsx)("span",{className:"shrink-0 font-mono text-muted-foreground",children:a.version}),(0,d.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,d.jsx)("span",{className:"truncate",children:a.name}),a.error&&(0,d.jsx)("span",{className:"mt-1 block font-mono text-[11px] whitespace-pre-wrap text-destructive",children:a.error})]}),a.setName&&(0,d.jsx)("span",{className:"hidden max-w-32 shrink-0 truncate text-muted-foreground/60 lg:inline",children:a.setName}),(0,d.jsxs)("span",{className:"flex shrink-0 items-center gap-1 text-muted-foreground",children:[b&&(0,d.jsx)(j.F,{connection:b,className:"size-1.5"}),a.connectionName]}),a.appliedBy&&(0,d.jsx)("span",{className:"hidden shrink-0 text-muted-foreground/60 xl:inline",children:a.appliedBy}),(0,d.jsx)("span",{className:"shrink-0 tabular-nums text-muted-foreground/70",children:null===a.durationMs?"":`${a.durationMs} ms`}),(0,d.jsx)("span",{className:"shrink-0 text-muted-foreground/70",title:a.fromLedger?"Read from the database's own ledger":"Run from this browser",children:new Date(a.at).toLocaleString()})]})}function q({events:a,connections:b,loading:c}){let e=(0,l.j)(a=>a.clearHistory),f=new Map(b.map(a=>[a.id,a])),g=a.filter(a=>!a.fromLedger).length;return 0===a.length?(0,d.jsx)("p",{className:"px-4 py-6 text-sm text-muted-foreground",children:c?"Reading ledgers…":"Nothing has been applied to these databases yet. Every run shows up here, along with what each database's own ledger already records."}):(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-2 px-4 py-1.5",children:[(0,d.jsxs)("span",{className:"min-w-0 truncate text-xs text-muted-foreground",children:[a.length," event",1===a.length?"":"s",", newest first \xb7 from each database’s ledger and this browser’s own log"]}),g>0&&(0,d.jsx)(k.$,{size:"xs",variant:"ghost",title:"Clears this browser's log. The databases' ledgers are untouched.",onClick:()=>e(),children:"Clear local log"})]}),(0,d.jsx)("div",{className:"border-t",children:a.map(a=>(0,d.jsx)(p,{event:a,connection:f.get(a.connectionId)},a.id))})]})}},78931:(a,b,c)=>{c.d(b,{FY:()=>h,ay:()=>g,e:()=>l,eh:()=>i,gj:()=>k,kB:()=>m,lF:()=>n,nb:()=>j});var d=c(56918);let e={steps:[],blockedBy:null};function f(a){let b=new Map;for(let c of a?.entries??[])b.set(c.version,c);return b}function g(a,b){return b?b.entries.find(b=>b.version===a.version)??null:null}function h(a,b){if(!b)return"unknown";let c=g(a,b);return c?c.checksum&&c.checksum!==a.checksum?"drifted":"applied":"pending"}function i(a,b){let c={total:a?.steps.length??0,applied:0,drifted:0,pending:0,foreign:0};if(!a)return c;for(let d of a.steps){let a=h(d,b);"applied"===a?c.applied+=1:"drifted"===a?c.drifted+=1:"pending"===a&&(c.pending+=1)}return c.foreign=j(a,b).length,c}function j(a,b){if(!b)return[];let c=new Set((a?.steps??[]).map(a=>a.version));return b.entries.filter(a=>!c.has(a.version)).sort((a,b)=>(0,d.Zy)(a.version,b.version))}function k(a,b,c){if(!a||!b)return e;let d=[];for(let e of a.steps)if("pending"===h(e,b)&&d.push(e),void 0!==c&&e.version===c)break;return{steps:d,blockedBy:null}}function l(a,b,c){if(!a||!b)return e;let g=f(b),h=[];for(let b of[...a.steps].reverse()){if(void 0!==c&&0>(0,d.Zy)(b.version,c))break;if(g.has(b.version)){if(!b.revertSql)return{steps:h,blockedBy:b};h.push(b)}}return{steps:h,blockedBy:null}}function m(a,b){if(!a||!b)return null;let c=f(b);for(let b of[...a.steps].reverse())if(c.has(b.version))return b;return null}function n(a,b){let c=new Set(b.map(a=>a.toLowerCase())),e=new Map;for(let b of a)for(let a of b.ledger?.entries??[]){let d=a.setName?.trim();if(!d||c.has(d.toLowerCase()))continue;let f=e.get(d)??new Map,g=f.get(b.connection.id)??new Set;g.add(a.version),f.set(b.connection.id,g),e.set(d,f)}return[...e.entries()].map(([b,c])=>{let e=new Set;for(let a of c.values())for(let b of a)e.add(b);return{name:b,versions:[...e].sort(d.Zy),total:e.size,applied:a.map(a=>({connectionId:a.connection.id,connectionName:a.connection.name,count:c.get(a.connection.id)?.size??0}))}}).sort((a,b)=>a.name.localeCompare(b.name))}}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],lowPriorityFiles:["static/
|
|
1
|
+
globalThis.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],lowPriorityFiles:["static/NEAfmHhp-9__5VYm1xePl/_buildManifest.js","static/NEAfmHhp-9__5VYm1xePl/_ssgManifest.js"],rootMainFiles:["static/chunks/webpack-34eb118f56295776.js","static/chunks/4bd1b696-8a4ab4fdf0ae305a.js","static/chunks/3794-d7cddff008311ab3.js","static/chunks/main-app-f73ec34e89cb8fdd.js"],rootMainFilesTree:{},pages:{"/_app":[]}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en" class="__variable_246ccd __variable_c29908 dark h-full" data-theme="dark"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/22a5144ee8d83bca-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/7d4881bb7e1bf84d-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/e02ab5db9ff2dca2.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html lang="en" class="__variable_246ccd __variable_c29908 dark h-full" data-theme="dark"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/22a5144ee8d83bca-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/7d4881bb7e1bf84d-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/e02ab5db9ff2dca2.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/19402b14d1698bdd.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-34eb118f56295776.js"/><script src="/_next/static/chunks/4bd1b696-8a4ab4fdf0ae305a.js" async=""></script><script src="/_next/static/chunks/3794-d7cddff008311ab3.js" async=""></script><script src="/_next/static/chunks/main-app-f73ec34e89cb8fdd.js" async=""></script><script src="/_next/static/chunks/6039-02dbcff4d4ccf559.js" async=""></script><script src="/_next/static/chunks/app/layout-dd332a9583f47cd6.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>YTDB</title><meta name="description" content="A database management UI"/><link rel="icon" href="/favicon.ico?603d046c9a6fdfbb" type="image/x-icon" sizes="16x16"/><link rel="icon" href="/icon.svg?38bdd49dcdf01715" type="image/svg+xml" sizes="any"/><script>(function(){try{var allowed=["dark","light","one-dark-pro","nord","dracula","tokyo-night"];var light=["light"];var id="dark";var raw=localStorage.getItem("ytdb:theme")||localStorage.getItem("db-studio:theme");if(raw){var parsed=JSON.parse(raw);var value=parsed&&parsed.state&&parsed.state.theme;if(typeof value==="string"&&allowed.indexOf(value)!==-1)id=value;}var root=document.documentElement;root.setAttribute("data-theme",id);root.classList.toggle("dark",light.indexOf(id)===-1);}catch(e){}})();</script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="flex min-h-full flex-col"><div hidden=""><!--$--><!--/$--></div><main class="grid min-h-dvh place-items-center bg-background px-6 text-foreground"><div class="max-w-lg space-y-4"><p class="font-mono text-xs tracking-[0.22em] text-muted-foreground">YTDB</p><h1 class="text-2xl font-semibold tracking-tight">Connecting to YTDB…</h1></div></main><script src="/_next/static/chunks/webpack-34eb118f56295776.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[72737,[\"6039\",\"static/chunks/6039-02dbcff4d4ccf559.js\",\"7177\",\"static/chunks/app/layout-dd332a9583f47cd6.js\"],\"ThemeProvider\"]\n3:I[94821,[\"6039\",\"static/chunks/6039-02dbcff4d4ccf559.js\",\"7177\",\"static/chunks/app/layout-dd332a9583f47cd6.js\"],\"ConvexClientProvider\"]\n4:I[87758,[\"6039\",\"static/chunks/6039-02dbcff4d4ccf559.js\",\"7177\",\"static/chunks/app/layout-dd332a9583f47cd6.js\"],\"LocalBridgeGate\"]\n5:I[57121,[],\"\"]\n6:I[74581,[],\"\"]\n7:I[90484,[],\"OutletBoundary\"]\n8:\"$Sreact.suspense\"\nb:I[90484,[],\"ViewportBoundary\"]\nd:I[90484,[],\"MetadataBoundary\"]\nf:I[27123,[],\"default\",1]\n:HL[\"/_next/static/media/22a5144ee8d83bca-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/7d4881bb7e1bf84d-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/css/e02ab5db9ff2dca2.css\",\"style\"]\n:HL[\"/_next/static/css/19402b14d1698bdd.css\",\"style\"]\na:X\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"_not-found\",{\"children\":[\"__PAGE__\",{},\"$undefined\",\"$undefined\",4608]},\"$undefined\",\"$undefined\",4608]},\"$undefined\",\"$undefined\",4624],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/e02ab5db9ff2dca2.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/19402b14d1698bdd.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"__variable_246ccd __variable_c29908 dark h-full\",\"data-theme\":\"dark\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"(function(){try{var allowed=[\\\"dark\\\",\\\"light\\\",\\\"one-dark-pro\\\",\\\"nord\\\",\\\"dracula\\\",\\\"tokyo-night\\\"];var light=[\\\"light\\\"];var id=\\\"dark\\\";var raw=localStorage.getItem(\\\"ytdb:theme\\\")||localStorage.getItem(\\\"db-studio:theme\\\");if(raw){var parsed=JSON.parse(raw);var value=parsed\u0026\u0026parsed.state\u0026\u0026parsed.state.theme;if(typeof value===\\\"string\\\"\u0026\u0026allowed.indexOf(value)!==-1)id=value;}var root=document.documentElement;root.setAttribute(\\\"data-theme\\\",id);root.classList.toggle(\\\"dark\\\",light.indexOf(id)===-1);}catch(e){}})();\"}}]}],[\"$\",\"body\",null,{\"className\":\"flex min-h-full flex-col\",\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"$L3\",null,{\"children\":[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]}]}]]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"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.\"}]}]]}]}]],null,[\"$\",\"$L7\",null,{\"children\":[\"$\",\"$8\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@9\"}]}]]}],{},null,false,null]},null,false,\"$a\"]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$Lb\",null,{\"children\":\"$Lc\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Ld\",null,{\"children\":[\"$\",\"$8\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Le\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$f\",[]],\"S\":true,\"h\":null,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"NEAfmHhp-9__5VYm1xePl\"}\n"])</script><script>self.__next_f.push([1,"a:C\nc:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"10:I[86869,[],\"IconMark\"]\n9:null\ne:[[\"$\",\"title\",\"0\",{\"children\":\"YTDB\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"A database management UI\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?603d046c9a6fdfbb\",\"type\":\"image/x-icon\",\"sizes\":\"16x16\"}],[\"$\",\"link\",\"3\",{\"rel\":\"icon\",\"href\":\"/icon.svg?38bdd49dcdf01715\",\"type\":\"image/svg+xml\",\"sizes\":\"any\"}],[\"$\",\"$L10\",\"4\",{}]]\n"])</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-34eb118f56295776.js"/><script src="/_next/static/chunks/4bd1b696-8a4ab4fdf0ae305a.js" async=""></script><script src="/_next/static/chunks/3794-d7cddff008311ab3.js" async=""></script><script src="/_next/static/chunks/main-app-f73ec34e89cb8fdd.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/webpack-34eb118f56295776.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[57121,[],\"\"]\n3:I[74581,[],\"\"]\n4:I[90484,[],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[90484,[],\"ViewportBoundary\"]\na:I[90484,[],\"MetadataBoundary\"]\nc:I[27123,[],\"default\",1]\n7:X\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"_global-error\",{\"children\":[\"__PAGE__\",{},\"$undefined\",\"$undefined\",4624]},\"$undefined\",\"$undefined\",4624]},\"$undefined\",\"$undefined\",4624],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$7\"]},null,false,\"$7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"
|
|
1
|
+
<!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-34eb118f56295776.js"/><script src="/_next/static/chunks/4bd1b696-8a4ab4fdf0ae305a.js" async=""></script><script src="/_next/static/chunks/3794-d7cddff008311ab3.js" async=""></script><script src="/_next/static/chunks/main-app-f73ec34e89cb8fdd.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/webpack-34eb118f56295776.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[57121,[],\"\"]\n3:I[74581,[],\"\"]\n4:I[90484,[],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[90484,[],\"ViewportBoundary\"]\na:I[90484,[],\"MetadataBoundary\"]\nc:I[27123,[],\"default\",1]\n7:X\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"_global-error\",{\"children\":[\"__PAGE__\",{},\"$undefined\",\"$undefined\",4624]},\"$undefined\",\"$undefined\",4624]},\"$undefined\",\"$undefined\",4624],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$7\"]},null,false,\"$7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"NEAfmHhp-9__5VYm1xePl\"}\n"])</script><script>self.__next_f.push([1,"7:C\n9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\nb:[]\n"])</script></body></html>
|