db-studio 1.0.0 → 1.1.0

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.
Files changed (115) hide show
  1. package/dist/core-dist/assets/_pathlessLayout-DnFGHUdf.js +7 -0
  2. package/dist/core-dist/assets/_queryId-39qJDD28.js +1 -0
  3. package/dist/core-dist/assets/_table-BOi0lbVm.js +1 -0
  4. package/dist/core-dist/assets/abap-DLDM7-KI.js +1 -0
  5. package/dist/core-dist/assets/apex-DNDY2TF8.js +1 -0
  6. package/dist/core-dist/assets/azcli-Y6nb8tq_.js +1 -0
  7. package/dist/core-dist/assets/bat-BwHxbl9M.js +1 -0
  8. package/dist/core-dist/assets/bicep-CFznDFnq.js +2 -0
  9. package/dist/core-dist/assets/cameligo-Bf6VGUru.js +1 -0
  10. package/dist/core-dist/assets/clojure-Dnu-v4kV.js +1 -0
  11. package/dist/core-dist/assets/codicon-ngg6Pgfi.ttf +0 -0
  12. package/dist/core-dist/assets/coffee-Bd8akH9Z.js +1 -0
  13. package/dist/core-dist/assets/cpp-BbWJElDN.js +1 -0
  14. package/dist/core-dist/assets/csharp-Co3qMtFm.js +1 -0
  15. package/dist/core-dist/assets/csp-D-4FJmMZ.js +1 -0
  16. package/dist/core-dist/assets/css-DdJfP1eB.js +3 -0
  17. package/dist/core-dist/assets/css.worker-DBVD8oXr.js +93 -0
  18. package/dist/core-dist/assets/cssMode-Dn_jaf5O.js +1 -0
  19. package/dist/core-dist/assets/cypher-cTPe9QuQ.js +1 -0
  20. package/dist/core-dist/assets/dart-BOtBlQCF.js +1 -0
  21. package/dist/core-dist/assets/dockerfile-BG73LgW2.js +1 -0
  22. package/dist/core-dist/assets/ecl-BEgZUVRK.js +1 -0
  23. package/dist/core-dist/assets/elixir-BkW5O-1t.js +1 -0
  24. package/dist/core-dist/assets/flow9-BeJ5waoc.js +1 -0
  25. package/dist/core-dist/assets/format-cell-value-CAPxCDrP.js +7 -0
  26. package/dist/core-dist/assets/freemarker2-Cafaq6r-.js +3 -0
  27. package/dist/core-dist/assets/fsharp-PahG7c26.js +1 -0
  28. package/dist/core-dist/assets/go-acbASCJo.js +1 -0
  29. package/dist/core-dist/assets/graphql-BxJiqAUM.js +1 -0
  30. package/dist/core-dist/assets/handlebars-CITJ-W0i.js +1 -0
  31. package/dist/core-dist/assets/hcl-DtV1sZF8.js +1 -0
  32. package/dist/core-dist/assets/html-DVJRkD7a.js +1 -0
  33. package/dist/core-dist/assets/html.worker-CwpTb9lJ.js +470 -0
  34. package/dist/core-dist/assets/htmlMode-smiaIuqm.js +1 -0
  35. package/dist/core-dist/assets/index-BJrfmP_S.css +1 -0
  36. package/dist/core-dist/assets/index-BajHmqdE.js +1 -0
  37. package/dist/core-dist/assets/index-BnD_1q9P.js +1 -0
  38. package/dist/core-dist/assets/index-CPbwuhIf.js +1 -0
  39. package/dist/core-dist/assets/index-p_4LwMzZ.js +11 -0
  40. package/dist/core-dist/assets/indexes-B6Ry1bI7.js +1 -0
  41. package/dist/core-dist/assets/ini-Kd9XrMLS.js +1 -0
  42. package/dist/core-dist/assets/java-CXBNlu9o.js +1 -0
  43. package/dist/core-dist/assets/javascript-CDJKxGGn.js +1 -0
  44. package/dist/core-dist/assets/json.worker-BoL8UZqY.js +58 -0
  45. package/dist/core-dist/assets/jsonMode-DwJFMbR8.js +7 -0
  46. package/dist/core-dist/assets/julia-cl7-CwDS.js +1 -0
  47. package/dist/core-dist/assets/kotlin-s7OhZKlX.js +1 -0
  48. package/dist/core-dist/assets/less-9HpZscsL.js +2 -0
  49. package/dist/core-dist/assets/lexon-OrD6JF1K.js +1 -0
  50. package/dist/core-dist/assets/liquid-DpEcCOwm.js +1 -0
  51. package/dist/core-dist/assets/logs-XEJKq_bD.js +1 -0
  52. package/dist/core-dist/assets/lspLanguageFeatures-CMProg3t.js +4 -0
  53. package/dist/core-dist/assets/lua-Cyyb5UIc.js +1 -0
  54. package/dist/core-dist/assets/m3-B8OfTtLu.js +1 -0
  55. package/dist/core-dist/assets/markdown-BFxVWTOG.js +1 -0
  56. package/dist/core-dist/assets/mdx-C8h6BCrd.js +1 -0
  57. package/dist/core-dist/assets/mips-CiqrrVzr.js +1 -0
  58. package/dist/core-dist/assets/msdax-DmeGPVcC.js +1 -0
  59. package/dist/core-dist/assets/mysql-C_tMU-Nz.js +1 -0
  60. package/dist/core-dist/assets/objective-c-BDtDVThU.js +1 -0
  61. package/dist/core-dist/assets/pascal-vHIfCaH5.js +1 -0
  62. package/dist/core-dist/assets/pascaligo-DtZ0uQbO.js +1 -0
  63. package/dist/core-dist/assets/perl-Ub6l9XKa.js +1 -0
  64. package/dist/core-dist/assets/pgsql-BlNEE0v7.js +1 -0
  65. package/dist/core-dist/assets/php-BBUBE1dy.js +1 -0
  66. package/dist/core-dist/assets/pla-DSh2-awV.js +1 -0
  67. package/dist/core-dist/assets/postiats-CocnycG-.js +1 -0
  68. package/dist/core-dist/assets/powerquery-tScXyioY.js +1 -0
  69. package/dist/core-dist/assets/powershell-COWaemsV.js +1 -0
  70. package/dist/core-dist/assets/protobuf-Brw8urJB.js +2 -0
  71. package/dist/core-dist/assets/pug-8SOpv6rk.js +1 -0
  72. package/dist/core-dist/assets/python-BQLXtyv4.js +1 -0
  73. package/dist/core-dist/assets/qsharp-Bw9ernYp.js +1 -0
  74. package/dist/core-dist/assets/queries.store-d0aQcGZF.js +1 -0
  75. package/dist/core-dist/assets/r-j7ic8hl3.js +1 -0
  76. package/dist/core-dist/assets/razor-DSk2yRor.js +1 -0
  77. package/dist/core-dist/assets/redis-Bu5POkcn.js +1 -0
  78. package/dist/core-dist/assets/redshift-Bs9aos_-.js +1 -0
  79. package/dist/core-dist/assets/restructuredtext-CqXO7rUv.js +1 -0
  80. package/dist/core-dist/assets/ruby-zBfavPgS.js +1 -0
  81. package/dist/core-dist/assets/runner-tab-BJGSkPa0.js +915 -0
  82. package/dist/core-dist/assets/runner-tab-Dvl_Svmm.css +1 -0
  83. package/dist/core-dist/assets/rust-BzKRNQWT.js +1 -0
  84. package/dist/core-dist/assets/sb-BBc9UKZt.js +1 -0
  85. package/dist/core-dist/assets/scala-D9hQfWCl.js +1 -0
  86. package/dist/core-dist/assets/schema-CMK4AwY7.js +1 -0
  87. package/dist/core-dist/assets/scheme-BPhDTwHR.js +1 -0
  88. package/dist/core-dist/assets/scss-CBJaRo0y.js +3 -0
  89. package/dist/core-dist/assets/sheet-B-M9hmOy.js +45 -0
  90. package/dist/core-dist/assets/shell-DiJ1NA_G.js +1 -0
  91. package/dist/core-dist/assets/solidity-Db0IVjzk.js +1 -0
  92. package/dist/core-dist/assets/sophia-CnS9iZB_.js +1 -0
  93. package/dist/core-dist/assets/sparql-CJmd_6j2.js +1 -0
  94. package/dist/core-dist/assets/spinner-CaXFGkug.js +1 -0
  95. package/dist/core-dist/assets/sql-ClhHkBeG.js +1 -0
  96. package/dist/core-dist/assets/st-CHwy0fLd.js +1 -0
  97. package/dist/core-dist/assets/swift-CnmFD0ga.js +1 -0
  98. package/dist/core-dist/assets/systemverilog-Bs9z6M-B.js +1 -0
  99. package/dist/core-dist/assets/tcl-Dm6ycUr_.js +1 -0
  100. package/dist/core-dist/assets/ts.worker-IG6bqgZr.js +67718 -0
  101. package/dist/core-dist/assets/tsMode-CMQrGK-g.js +11 -0
  102. package/dist/core-dist/assets/twig-Csy3S7wG.js +1 -0
  103. package/dist/core-dist/assets/typescript-D0dUAwub.js +1 -0
  104. package/dist/core-dist/assets/typespec-Btyra-wh.js +1 -0
  105. package/dist/core-dist/assets/vb-Db0cS2oM.js +1 -0
  106. package/dist/core-dist/assets/visualizer-Cg1KEBYL.js +1 -0
  107. package/dist/core-dist/assets/wgsl-BTesnYfV.js +298 -0
  108. package/dist/core-dist/assets/xml-DWUEh0YG.js +1 -0
  109. package/dist/core-dist/assets/yaml-DwwHu29W.js +1 -0
  110. package/dist/core-dist/index.html +2 -2
  111. package/dist/index.js +18 -18
  112. package/dist/index.js.map +1 -1
  113. package/package.json +2 -1
  114. package/dist/core-dist/assets/index-Bs_9UzCt.js +0 -81
  115. package/dist/core-dist/assets/index-Db2TPUUs.css +0 -1
@@ -0,0 +1,7 @@
1
+ import{u as Dt,c as E,j as e,r as s,L as Me,a as ee,b as me,d as De,t as V,O as zt}from"./index-p_4LwMzZ.js";import{u as B,c as xe,a as M,b as F,P as W,d as kt,e as te,f as It,T as Lt,B as R,g as S,h as ye,i as Ne,j as _e,L as Ot,k as Ft,l as re,C as H,A as $t,S as Ht}from"./spinner-CaXFGkug.js";import{c as ze,R as Bt,W as Qt,C as Wt,T as Vt,D as qt,a as ke,P as Ut,O as Xt,b as Yt,d as Ie,e as Gt,A as Kt,f as Zt,g as Jt,I as er,S as tr,G as rr,L as or,h as nr,i as ar,j as sr,k as lr,l as ir,m as cr,n as dr,o as ur,K as X,p as Le,q as ie,r as ce,s as de,t as ue,u as fe,v as Y,w as he,x as fr,y as hr,z as mr,B as xr,E as se,F as pr,H as vr,J as gr,M as br,N as Sr,Q as Cr}from"./sheet-B-M9hmOy.js";import{u as oe}from"./queries.store-d0aQcGZF.js";function Oe(t){return Dt({select:r=>r.location})}const jr=[["path",{d:"M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5",key:"svg-0"}]],wr=E("outline","brand-github","BrandGithub",jr);const yr=[["path",{d:"M7 7m0 2.667a2.667 2.667 0 0 1 2.667 -2.667h8.666a2.667 2.667 0 0 1 2.667 2.667v8.666a2.667 2.667 0 0 1 -2.667 2.667h-8.666a2.667 2.667 0 0 1 -2.667 -2.667z",key:"svg-0"}],["path",{d:"M4.012 16.737a2.005 2.005 0 0 1 -1.012 -1.737v-10c0 -1.1 .9 -2 2 -2h10c.75 0 1.158 .385 1.5 1",key:"svg-1"}]],Nr=E("outline","copy","Copy",yr);const _r=[["path",{d:"M12 19h-7a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2h4l3 3h7a2 2 0 0 1 2 2v3.5",key:"svg-0"}],["path",{d:"M16 19h6",key:"svg-1"}],["path",{d:"M19 16v6",key:"svg-2"}]],Fe=E("outline","folder-plus","FolderPlus",_r);const Rr=[["path",{d:"M5 4h4l3 3h7a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2",key:"svg-0"}]],Ar=E("outline","folder","Folder",Rr);const Er=[["path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z",key:"svg-0"}],["path",{d:"M9 4l0 16",key:"svg-1"}]],Pr=E("outline","layout-sidebar","LayoutSidebar",Er);const Tr=[["path",{d:"M4 20h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4",key:"svg-0"}],["path",{d:"M13.5 6.5l4 4",key:"svg-1"}]],$e=E("outline","pencil","Pencil",Tr);const Mr=[["path",{d:"M15 4.5l-4 4l-4 1.5l-1.5 1.5l7 7l1.5 -1.5l1.5 -4l4 -4",key:"svg-0"}],["path",{d:"M9 15l-4.5 4.5",key:"svg-1"}],["path",{d:"M14.5 4l5.5 5.5",key:"svg-2"}]],Dr=E("outline","pin","Pin",Mr);const zr=[["path",{d:"M12 5l0 14",key:"svg-0"}],["path",{d:"M5 12l14 0",key:"svg-1"}]],pe=E("outline","plus","Plus",zr);const kr=[["path",{d:"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0",key:"svg-0"}],["path",{d:"M21 21l-6 -6",key:"svg-1"}]],He=E("outline","search","Search",kr);const Ir=[["path",{d:"M16 18a2 2 0 0 1 2 2a2 2 0 0 1 2 -2a2 2 0 0 1 -2 -2a2 2 0 0 1 -2 2zm0 -12a2 2 0 0 1 2 2a2 2 0 0 1 2 -2a2 2 0 0 1 -2 -2a2 2 0 0 1 -2 2zm-7 12a6 6 0 0 1 6 -6a6 6 0 0 1 -6 -6a6 6 0 0 1 -6 6a6 6 0 0 1 6 6z",key:"svg-0"}]],Lr=E("outline","sparkles","Sparkles",Ir);const Or=[["path",{d:"M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z",key:"svg-0"}]],Fr=E("outline","star","Star",Or);const $r=[["path",{d:"M6 21a3 3 0 0 1 -3 -3v-12a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v12a3 3 0 0 1 -3 3zm12 -16h-8v14h8a1 1 0 0 0 1 -1v-12a1 1 0 0 0 -1 -1",key:"svg-0"}]],Hr=E("filled","layout-sidebar-filled","LayoutSidebarFilled",$r);const Br=[["path",{d:"M15.113 3.21l.094 .083l5.5 5.5a1 1 0 0 1 -1.175 1.59l-3.172 3.171l-1.424 3.797a1 1 0 0 1 -.158 .277l-.07 .08l-1.5 1.5a1 1 0 0 1 -1.32 .082l-.095 -.083l-2.793 -2.792l-3.793 3.792a1 1 0 0 1 -1.497 -1.32l.083 -.094l3.792 -3.793l-2.792 -2.793a1 1 0 0 1 -.083 -1.32l.083 -.094l1.5 -1.5a1 1 0 0 1 .258 -.187l.098 -.042l3.796 -1.425l3.171 -3.17a1 1 0 0 1 1.497 -1.26z",key:"svg-0"}]],Qr=E("filled","pin-filled","PinFilled",Br);const Wr=[["path",{d:"M8.243 7.34l-6.38 .925l-.113 .023a1 1 0 0 0 -.44 1.684l4.622 4.499l-1.09 6.355l-.013 .11a1 1 0 0 0 1.464 .944l5.706 -3l5.693 3l.1 .046a1 1 0 0 0 1.352 -1.1l-1.091 -6.355l4.624 -4.5l.078 -.085a1 1 0 0 0 -.633 -1.62l-6.38 -.926l-2.852 -5.78a1 1 0 0 0 -1.794 0l-2.853 5.78z",key:"svg-0"}]],Vr=E("filled","star-filled","StarFilled",Wr);var qr=Symbol("radix.slottable");function Ur(t){const r=({children:o})=>e.jsx(e.Fragment,{children:o});return r.displayName=`${t}.Slottable`,r.__radixId=qr,r}var Be="AlertDialog",[Xr]=xe(Be,[ze]),L=ze(),Qe=t=>{const{__scopeAlertDialog:r,...o}=t,n=L(r);return e.jsx(Bt,{...n,...o,modal:!0})};Qe.displayName=Be;var Yr="AlertDialogTrigger",Gr=s.forwardRef((t,r)=>{const{__scopeAlertDialog:o,...n}=t,a=L(o);return e.jsx(Yt,{...a,...n,ref:r})});Gr.displayName=Yr;var Kr="AlertDialogPortal",We=t=>{const{__scopeAlertDialog:r,...o}=t,n=L(r);return e.jsx(Ut,{...n,...o})};We.displayName=Kr;var Zr="AlertDialogOverlay",Ve=s.forwardRef((t,r)=>{const{__scopeAlertDialog:o,...n}=t,a=L(o);return e.jsx(Xt,{...a,...n,ref:r})});Ve.displayName=Zr;var q="AlertDialogContent",[Jr,eo]=Xr(q),to=Ur("AlertDialogContent"),qe=s.forwardRef((t,r)=>{const{__scopeAlertDialog:o,children:n,...a}=t,l=L(o),i=s.useRef(null),c=B(r,i),u=s.useRef(null);return e.jsx(Qt,{contentName:q,titleName:Ue,docsSlug:"alert-dialog",children:e.jsx(Jr,{scope:o,cancelRef:u,children:e.jsxs(Wt,{role:"alertdialog",...l,...a,ref:c,onOpenAutoFocus:M(a.onOpenAutoFocus,d=>{d.preventDefault(),u.current?.focus({preventScroll:!0})}),onPointerDownOutside:d=>d.preventDefault(),onInteractOutside:d=>d.preventDefault(),children:[e.jsx(to,{children:n}),e.jsx(oo,{contentRef:i})]})})})});qe.displayName=q;var Ue="AlertDialogTitle",Xe=s.forwardRef((t,r)=>{const{__scopeAlertDialog:o,...n}=t,a=L(o);return e.jsx(Vt,{...a,...n,ref:r})});Xe.displayName=Ue;var Ye="AlertDialogDescription",Ge=s.forwardRef((t,r)=>{const{__scopeAlertDialog:o,...n}=t,a=L(o);return e.jsx(qt,{...a,...n,ref:r})});Ge.displayName=Ye;var ro="AlertDialogAction",Ke=s.forwardRef((t,r)=>{const{__scopeAlertDialog:o,...n}=t,a=L(o);return e.jsx(ke,{...a,...n,ref:r})});Ke.displayName=ro;var Ze="AlertDialogCancel",Je=s.forwardRef((t,r)=>{const{__scopeAlertDialog:o,...n}=t,{cancelRef:a}=eo(Ze,o),l=L(o),i=B(r,a);return e.jsx(ke,{...l,...n,ref:i})});Je.displayName=Ze;var oo=({contentRef:t})=>{const r=`\`${q}\` requires a description for the component to be accessible for screen reader users.
2
+
3
+ You can add a description to the \`${q}\` by passing a \`${Ye}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
4
+
5
+ Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${q}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
6
+
7
+ For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return s.useEffect(()=>{document.getElementById(t.current?.getAttribute("aria-describedby"))||console.warn(r)},[r,t]),null},no=Qe,ao=We,so=Ve,lo=qe,io=Ke,co=Je,uo=Xe,fo=Ge,ve="ContextMenu",[ho]=xe(ve,[Ie]),A=Ie(),[mo,et]=ho(ve),tt=t=>{const{__scopeContextMenu:r,children:o,onOpenChange:n,dir:a,modal:l=!0}=t,[i,c]=s.useState(!1),u=A(r),d=F(n),f=s.useCallback(x=>{c(x),d(x)},[d]);return e.jsx(mo,{scope:r,open:i,onOpenChange:f,modal:l,children:e.jsx(Gt,{...u,dir:a,open:i,onOpenChange:f,modal:l,children:o})})};tt.displayName=ve;var rt="ContextMenuTrigger",ot=s.forwardRef((t,r)=>{const{__scopeContextMenu:o,disabled:n=!1,...a}=t,l=et(rt,o),i=A(o),c=s.useRef({x:0,y:0}),u=s.useRef({getBoundingClientRect:()=>DOMRect.fromRect({width:0,height:0,...c.current})}),d=s.useRef(0),f=s.useCallback(()=>window.clearTimeout(d.current),[]),x=h=>{c.current={x:h.clientX,y:h.clientY},l.onOpenChange(!0)};return s.useEffect(()=>f,[f]),s.useEffect(()=>void(n&&f()),[n,f]),e.jsxs(e.Fragment,{children:[e.jsx(Kt,{...i,virtualRef:u}),e.jsx(W.span,{"data-state":l.open?"open":"closed","data-disabled":n?"":void 0,...a,ref:r,style:{WebkitTouchCallout:"none",...t.style},onContextMenu:n?t.onContextMenu:M(t.onContextMenu,h=>{f(),x(h),h.preventDefault()}),onPointerDown:n?t.onPointerDown:M(t.onPointerDown,G(h=>{f(),d.current=window.setTimeout(()=>x(h),700)})),onPointerMove:n?t.onPointerMove:M(t.onPointerMove,G(f)),onPointerCancel:n?t.onPointerCancel:M(t.onPointerCancel,G(f)),onPointerUp:n?t.onPointerUp:M(t.onPointerUp,G(f))})]})});ot.displayName=rt;var xo="ContextMenuPortal",nt=t=>{const{__scopeContextMenu:r,...o}=t,n=A(r);return e.jsx(Zt,{...n,...o})};nt.displayName=xo;var at="ContextMenuContent",st=s.forwardRef((t,r)=>{const{__scopeContextMenu:o,...n}=t,a=et(at,o),l=A(o),i=s.useRef(!1);return e.jsx(Jt,{...l,...n,ref:r,side:"right",sideOffset:2,align:"start",onCloseAutoFocus:c=>{t.onCloseAutoFocus?.(c),!c.defaultPrevented&&i.current&&c.preventDefault(),i.current=!1},onInteractOutside:c=>{t.onInteractOutside?.(c),!c.defaultPrevented&&!a.modal&&(i.current=!0)},style:{...t.style,"--radix-context-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-context-menu-content-available-width":"var(--radix-popper-available-width)","--radix-context-menu-content-available-height":"var(--radix-popper-available-height)","--radix-context-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-context-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});st.displayName=at;var po="ContextMenuGroup",vo=s.forwardRef((t,r)=>{const{__scopeContextMenu:o,...n}=t,a=A(o);return e.jsx(rr,{...a,...n,ref:r})});vo.displayName=po;var go="ContextMenuLabel",bo=s.forwardRef((t,r)=>{const{__scopeContextMenu:o,...n}=t,a=A(o);return e.jsx(or,{...a,...n,ref:r})});bo.displayName=go;var So="ContextMenuItem",lt=s.forwardRef((t,r)=>{const{__scopeContextMenu:o,...n}=t,a=A(o);return e.jsx(er,{...a,...n,ref:r})});lt.displayName=So;var Co="ContextMenuCheckboxItem",jo=s.forwardRef((t,r)=>{const{__scopeContextMenu:o,...n}=t,a=A(o);return e.jsx(nr,{...a,...n,ref:r})});jo.displayName=Co;var wo="ContextMenuRadioGroup",yo=s.forwardRef((t,r)=>{const{__scopeContextMenu:o,...n}=t,a=A(o);return e.jsx(ar,{...a,...n,ref:r})});yo.displayName=wo;var No="ContextMenuRadioItem",_o=s.forwardRef((t,r)=>{const{__scopeContextMenu:o,...n}=t,a=A(o);return e.jsx(sr,{...a,...n,ref:r})});_o.displayName=No;var Ro="ContextMenuItemIndicator",Ao=s.forwardRef((t,r)=>{const{__scopeContextMenu:o,...n}=t,a=A(o);return e.jsx(lr,{...a,...n,ref:r})});Ao.displayName=Ro;var Eo="ContextMenuSeparator",it=s.forwardRef((t,r)=>{const{__scopeContextMenu:o,...n}=t,a=A(o);return e.jsx(tr,{...a,...n,ref:r})});it.displayName=Eo;var Po="ContextMenuArrow",To=s.forwardRef((t,r)=>{const{__scopeContextMenu:o,...n}=t,a=A(o);return e.jsx(ir,{...a,...n,ref:r})});To.displayName=Po;var Mo="ContextMenuSubTrigger",Do=s.forwardRef((t,r)=>{const{__scopeContextMenu:o,...n}=t,a=A(o);return e.jsx(cr,{...a,...n,ref:r})});Do.displayName=Mo;var zo="ContextMenuSubContent",ko=s.forwardRef((t,r)=>{const{__scopeContextMenu:o,...n}=t,a=A(o);return e.jsx(dr,{...a,...n,ref:r,style:{...t.style,"--radix-context-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-context-menu-content-available-width":"var(--radix-popper-available-width)","--radix-context-menu-content-available-height":"var(--radix-popper-available-height)","--radix-context-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-context-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});ko.displayName=zo;function G(t){return r=>r.pointerType!=="mouse"?t(r):void 0}var Io=tt,Lo=ot,Oo=nt,Fo=st,$o=lt,Ho=it;function Bo(t,r){return s.useReducer((o,n)=>r[o][n]??o,t)}var ge="ScrollArea",[ct]=xe(ge),[Qo,D]=ct(ge),dt=s.forwardRef((t,r)=>{const{__scopeScrollArea:o,type:n="hover",dir:a,scrollHideDelay:l=600,...i}=t,[c,u]=s.useState(null),[d,f]=s.useState(null),[x,h]=s.useState(null),[p,m]=s.useState(null),[g,_]=s.useState(null),[w,v]=s.useState(0),[y,P]=s.useState(0),[I,N]=s.useState(!1),[O,z]=s.useState(!1),b=B(r,T=>u(T)),j=kt(a);return e.jsx(Qo,{scope:o,type:n,dir:j,scrollHideDelay:l,scrollArea:c,viewport:d,onViewportChange:f,content:x,onContentChange:h,scrollbarX:p,onScrollbarXChange:m,scrollbarXEnabled:I,onScrollbarXEnabledChange:N,scrollbarY:g,onScrollbarYChange:_,scrollbarYEnabled:O,onScrollbarYEnabledChange:z,onCornerWidthChange:v,onCornerHeightChange:P,children:e.jsx(W.div,{dir:j,...i,ref:b,style:{position:"relative","--radix-scroll-area-corner-width":w+"px","--radix-scroll-area-corner-height":y+"px",...t.style}})})});dt.displayName=ge;var ut="ScrollAreaViewport",ft=s.forwardRef((t,r)=>{const{__scopeScrollArea:o,children:n,nonce:a,...l}=t,i=D(ut,o),c=s.useRef(null),u=B(r,c,i.onViewportChange);return e.jsxs(e.Fragment,{children:[e.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:a}),e.jsx(W.div,{"data-radix-scroll-area-viewport":"",...l,ref:u,style:{overflowX:i.scrollbarXEnabled?"scroll":"hidden",overflowY:i.scrollbarYEnabled?"scroll":"hidden",...t.style},children:e.jsx("div",{ref:i.onContentChange,style:{minWidth:"100%",display:"table"},children:n})})]})});ft.displayName=ut;var k="ScrollAreaScrollbar",ht=s.forwardRef((t,r)=>{const{forceMount:o,...n}=t,a=D(k,t.__scopeScrollArea),{onScrollbarXEnabledChange:l,onScrollbarYEnabledChange:i}=a,c=t.orientation==="horizontal";return s.useEffect(()=>(c?l(!0):i(!0),()=>{c?l(!1):i(!1)}),[c,l,i]),a.type==="hover"?e.jsx(Wo,{...n,ref:r,forceMount:o}):a.type==="scroll"?e.jsx(Vo,{...n,ref:r,forceMount:o}):a.type==="auto"?e.jsx(mt,{...n,ref:r,forceMount:o}):a.type==="always"?e.jsx(be,{...n,ref:r}):null});ht.displayName=k;var Wo=s.forwardRef((t,r)=>{const{forceMount:o,...n}=t,a=D(k,t.__scopeScrollArea),[l,i]=s.useState(!1);return s.useEffect(()=>{const c=a.scrollArea;let u=0;if(c){const d=()=>{window.clearTimeout(u),i(!0)},f=()=>{u=window.setTimeout(()=>i(!1),a.scrollHideDelay)};return c.addEventListener("pointerenter",d),c.addEventListener("pointerleave",f),()=>{window.clearTimeout(u),c.removeEventListener("pointerenter",d),c.removeEventListener("pointerleave",f)}}},[a.scrollArea,a.scrollHideDelay]),e.jsx(te,{present:o||l,children:e.jsx(mt,{"data-state":l?"visible":"hidden",...n,ref:r})})}),Vo=s.forwardRef((t,r)=>{const{forceMount:o,...n}=t,a=D(k,t.__scopeScrollArea),l=t.orientation==="horizontal",i=ae(()=>u("SCROLL_END"),100),[c,u]=Bo("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return s.useEffect(()=>{if(c==="idle"){const d=window.setTimeout(()=>u("HIDE"),a.scrollHideDelay);return()=>window.clearTimeout(d)}},[c,a.scrollHideDelay,u]),s.useEffect(()=>{const d=a.viewport,f=l?"scrollLeft":"scrollTop";if(d){let x=d[f];const h=()=>{const p=d[f];x!==p&&(u("SCROLL"),i()),x=p};return d.addEventListener("scroll",h),()=>d.removeEventListener("scroll",h)}},[a.viewport,l,u,i]),e.jsx(te,{present:o||c!=="hidden",children:e.jsx(be,{"data-state":c==="hidden"?"hidden":"visible",...n,ref:r,onPointerEnter:M(t.onPointerEnter,()=>u("POINTER_ENTER")),onPointerLeave:M(t.onPointerLeave,()=>u("POINTER_LEAVE"))})})}),mt=s.forwardRef((t,r)=>{const o=D(k,t.__scopeScrollArea),{forceMount:n,...a}=t,[l,i]=s.useState(!1),c=t.orientation==="horizontal",u=ae(()=>{if(o.viewport){const d=o.viewport.offsetWidth<o.viewport.scrollWidth,f=o.viewport.offsetHeight<o.viewport.scrollHeight;i(c?d:f)}},10);return U(o.viewport,u),U(o.content,u),e.jsx(te,{present:n||l,children:e.jsx(be,{"data-state":l?"visible":"hidden",...a,ref:r})})}),be=s.forwardRef((t,r)=>{const{orientation:o="vertical",...n}=t,a=D(k,t.__scopeScrollArea),l=s.useRef(null),i=s.useRef(0),[c,u]=s.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=bt(c.viewport,c.content),f={...n,sizes:c,onSizesChange:u,hasThumb:d>0&&d<1,onThumbChange:h=>l.current=h,onThumbPointerUp:()=>i.current=0,onThumbPointerDown:h=>i.current=h};function x(h,p){return Ko(h,i.current,c,p)}return o==="horizontal"?e.jsx(qo,{...f,ref:r,onThumbPositionChange:()=>{if(a.viewport&&l.current){const h=a.viewport.scrollLeft,p=Re(h,c,a.dir);l.current.style.transform=`translate3d(${p}px, 0, 0)`}},onWheelScroll:h=>{a.viewport&&(a.viewport.scrollLeft=h)},onDragScroll:h=>{a.viewport&&(a.viewport.scrollLeft=x(h,a.dir))}}):o==="vertical"?e.jsx(Uo,{...f,ref:r,onThumbPositionChange:()=>{if(a.viewport&&l.current){const h=a.viewport.scrollTop,p=Re(h,c);l.current.style.transform=`translate3d(0, ${p}px, 0)`}},onWheelScroll:h=>{a.viewport&&(a.viewport.scrollTop=h)},onDragScroll:h=>{a.viewport&&(a.viewport.scrollTop=x(h))}}):null}),qo=s.forwardRef((t,r)=>{const{sizes:o,onSizesChange:n,...a}=t,l=D(k,t.__scopeScrollArea),[i,c]=s.useState(),u=s.useRef(null),d=B(r,u,l.onScrollbarXChange);return s.useEffect(()=>{u.current&&c(getComputedStyle(u.current))},[u]),e.jsx(pt,{"data-orientation":"horizontal",...a,ref:d,sizes:o,style:{bottom:0,left:l.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:l.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":ne(o)+"px",...t.style},onThumbPointerDown:f=>t.onThumbPointerDown(f.x),onDragScroll:f=>t.onDragScroll(f.x),onWheelScroll:(f,x)=>{if(l.viewport){const h=l.viewport.scrollLeft+f.deltaX;t.onWheelScroll(h),Ct(h,x)&&f.preventDefault()}},onResize:()=>{u.current&&l.viewport&&i&&n({content:l.viewport.scrollWidth,viewport:l.viewport.offsetWidth,scrollbar:{size:u.current.clientWidth,paddingStart:J(i.paddingLeft),paddingEnd:J(i.paddingRight)}})}})}),Uo=s.forwardRef((t,r)=>{const{sizes:o,onSizesChange:n,...a}=t,l=D(k,t.__scopeScrollArea),[i,c]=s.useState(),u=s.useRef(null),d=B(r,u,l.onScrollbarYChange);return s.useEffect(()=>{u.current&&c(getComputedStyle(u.current))},[u]),e.jsx(pt,{"data-orientation":"vertical",...a,ref:d,sizes:o,style:{top:0,right:l.dir==="ltr"?0:void 0,left:l.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":ne(o)+"px",...t.style},onThumbPointerDown:f=>t.onThumbPointerDown(f.y),onDragScroll:f=>t.onDragScroll(f.y),onWheelScroll:(f,x)=>{if(l.viewport){const h=l.viewport.scrollTop+f.deltaY;t.onWheelScroll(h),Ct(h,x)&&f.preventDefault()}},onResize:()=>{u.current&&l.viewport&&i&&n({content:l.viewport.scrollHeight,viewport:l.viewport.offsetHeight,scrollbar:{size:u.current.clientHeight,paddingStart:J(i.paddingTop),paddingEnd:J(i.paddingBottom)}})}})}),[Xo,xt]=ct(k),pt=s.forwardRef((t,r)=>{const{__scopeScrollArea:o,sizes:n,hasThumb:a,onThumbChange:l,onThumbPointerUp:i,onThumbPointerDown:c,onThumbPositionChange:u,onDragScroll:d,onWheelScroll:f,onResize:x,...h}=t,p=D(k,o),[m,g]=s.useState(null),_=B(r,b=>g(b)),w=s.useRef(null),v=s.useRef(""),y=p.viewport,P=n.content-n.viewport,I=F(f),N=F(u),O=ae(x,10);function z(b){if(w.current){const j=b.clientX-w.current.left,T=b.clientY-w.current.top;d({x:j,y:T})}}return s.useEffect(()=>{const b=j=>{const T=j.target;m?.contains(T)&&I(j,P)};return document.addEventListener("wheel",b,{passive:!1}),()=>document.removeEventListener("wheel",b,{passive:!1})},[y,m,P,I]),s.useEffect(N,[n,N]),U(m,O),U(p.content,O),e.jsx(Xo,{scope:o,scrollbar:m,hasThumb:a,onThumbChange:F(l),onThumbPointerUp:F(i),onThumbPositionChange:N,onThumbPointerDown:F(c),children:e.jsx(W.div,{...h,ref:_,style:{position:"absolute",...h.style},onPointerDown:M(t.onPointerDown,b=>{b.button===0&&(b.target.setPointerCapture(b.pointerId),w.current=m.getBoundingClientRect(),v.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",p.viewport&&(p.viewport.style.scrollBehavior="auto"),z(b))}),onPointerMove:M(t.onPointerMove,z),onPointerUp:M(t.onPointerUp,b=>{const j=b.target;j.hasPointerCapture(b.pointerId)&&j.releasePointerCapture(b.pointerId),document.body.style.webkitUserSelect=v.current,p.viewport&&(p.viewport.style.scrollBehavior=""),w.current=null})})})}),Z="ScrollAreaThumb",vt=s.forwardRef((t,r)=>{const{forceMount:o,...n}=t,a=xt(Z,t.__scopeScrollArea);return e.jsx(te,{present:o||a.hasThumb,children:e.jsx(Yo,{ref:r,...n})})}),Yo=s.forwardRef((t,r)=>{const{__scopeScrollArea:o,style:n,...a}=t,l=D(Z,o),i=xt(Z,o),{onThumbPositionChange:c}=i,u=B(r,x=>i.onThumbChange(x)),d=s.useRef(void 0),f=ae(()=>{d.current&&(d.current(),d.current=void 0)},100);return s.useEffect(()=>{const x=l.viewport;if(x){const h=()=>{if(f(),!d.current){const p=Zo(x,c);d.current=p,c()}};return c(),x.addEventListener("scroll",h),()=>x.removeEventListener("scroll",h)}},[l.viewport,f,c]),e.jsx(W.div,{"data-state":i.hasThumb?"visible":"hidden",...a,ref:u,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:M(t.onPointerDownCapture,x=>{const p=x.target.getBoundingClientRect(),m=x.clientX-p.left,g=x.clientY-p.top;i.onThumbPointerDown({x:m,y:g})}),onPointerUp:M(t.onPointerUp,i.onThumbPointerUp)})});vt.displayName=Z;var Se="ScrollAreaCorner",gt=s.forwardRef((t,r)=>{const o=D(Se,t.__scopeScrollArea),n=!!(o.scrollbarX&&o.scrollbarY);return o.type!=="scroll"&&n?e.jsx(Go,{...t,ref:r}):null});gt.displayName=Se;var Go=s.forwardRef((t,r)=>{const{__scopeScrollArea:o,...n}=t,a=D(Se,o),[l,i]=s.useState(0),[c,u]=s.useState(0),d=!!(l&&c);return U(a.scrollbarX,()=>{const f=a.scrollbarX?.offsetHeight||0;a.onCornerHeightChange(f),u(f)}),U(a.scrollbarY,()=>{const f=a.scrollbarY?.offsetWidth||0;a.onCornerWidthChange(f),i(f)}),d?e.jsx(W.div,{...n,ref:r,style:{width:l,height:c,position:"absolute",right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:0,...t.style}}):null});function J(t){return t?parseInt(t,10):0}function bt(t,r){const o=t/r;return isNaN(o)?0:o}function ne(t){const r=bt(t.viewport,t.content),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,n=(t.scrollbar.size-o)*r;return Math.max(n,18)}function Ko(t,r,o,n="ltr"){const a=ne(o),l=a/2,i=r||l,c=a-i,u=o.scrollbar.paddingStart+i,d=o.scrollbar.size-o.scrollbar.paddingEnd-c,f=o.content-o.viewport,x=n==="ltr"?[0,f]:[f*-1,0];return St([u,d],x)(t)}function Re(t,r,o="ltr"){const n=ne(r),a=r.scrollbar.paddingStart+r.scrollbar.paddingEnd,l=r.scrollbar.size-a,i=r.content-r.viewport,c=l-n,u=o==="ltr"?[0,i]:[i*-1,0],d=ur(t,u);return St([0,i],[0,c])(d)}function St(t,r){return o=>{if(t[0]===t[1]||r[0]===r[1])return r[0];const n=(r[1]-r[0])/(t[1]-t[0]);return r[0]+n*(o-t[0])}}function Ct(t,r){return t>0&&t<r}var Zo=(t,r=()=>{})=>{let o={left:t.scrollLeft,top:t.scrollTop},n=0;return(function a(){const l={left:t.scrollLeft,top:t.scrollTop},i=o.left!==l.left,c=o.top!==l.top;(i||c)&&r(),o=l,n=window.requestAnimationFrame(a)})(),()=>window.cancelAnimationFrame(n)};function ae(t,r){const o=F(t),n=s.useRef(0);return s.useEffect(()=>()=>window.clearTimeout(n.current),[]),s.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(o,r)},[o,r])}function U(t,r){const o=F(r);It(()=>{let n=0;if(t){const a=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(o)});return a.observe(t),()=>{window.cancelAnimationFrame(n),a.unobserve(t)}}},[t,o])}var Jo=dt,en=ft,tn=gt,rn="Separator",Ae="horizontal",on=["horizontal","vertical"],jt=s.forwardRef((t,r)=>{const{decorative:o,orientation:n=Ae,...a}=t,l=nn(n)?n:Ae,c=o?{role:"none"}:{"aria-orientation":l==="vertical"?l:void 0,role:"separator"};return e.jsx(W.div,{"data-orientation":l,...c,...a,ref:r})});jt.displayName=rn;function nn(t){return on.includes(t)}var an=jt;const sn=()=>{const{pathname:t}=Oe(),r=t.split("/")[1]||"table";return e.jsx("div",{className:"flex h-full items-center",children:Lt.map(o=>e.jsx(Me,{to:`/${o}`,className:"h-full flex items-center",children:e.jsx(R,{variant:"ghost",className:S("flex-1 px-4 border-l-0 border-y-0 border-r border-zinc-800 h-full rounded-none",r===o?"bg-zinc-900 text-white":"text-zinc-400"),children:o})},o))})},ln=()=>{const{sidebar:{isOpen:t,isPinned:r},setSidebarOpen:o,setSidebarPinned:n}=ee(),a=()=>{o(!t),n(!r)};return e.jsx(R,{variant:"ghost",onClick:a,className:"h-full aspect-square border-l-0 border-y-0 border-r border-zinc-800 rounded-none",children:t?e.jsx(Hr,{className:"size-5"}):e.jsx(Pr,{className:"size-5"})})},cn=()=>e.jsxs("div",{className:"border-b border-zinc-800 w-full flex items-center justify-between bg-black h-12",children:[e.jsxs("div",{className:"flex items-center h-full",children:[e.jsx(ln,{}),e.jsx(sn,{})]}),e.jsxs("div",{className:"flex items-center h-full",children:[e.jsxs(ye,{children:[e.jsx(Ne,{asChild:!0,children:e.jsx(R,{variant:"ghost",className:"border-r-0 border-y-0 border-l border-zinc-800 rounded-none h-full w-12",children:e.jsx(Lr,{className:"size-5"})})}),e.jsx(_e,{children:e.jsx("p",{children:"AI Assistant (Coming soon)"})})]}),e.jsxs(ye,{children:[e.jsx(Ne,{asChild:!0,children:e.jsx(R,{variant:"ghost",className:"border-r-0 border-y-0 border-l border-zinc-800 rounded-none h-full w-12",asChild:!0,children:e.jsx("a",{href:Ot.GITHUB,target:"_blank",rel:"noopener noreferrer",children:e.jsx(wr,{className:"size-5"})})})}),e.jsx(_e,{children:e.jsx("p",{children:"View on GitHub"})})]})]})]});const dn=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Ee=Ft("chevron-right",dn);function un({...t}){return e.jsx(no,{"data-slot":"alert-dialog",...t})}function fn({...t}){return e.jsx(ao,{"data-slot":"alert-dialog-portal",...t})}function hn({className:t,...r}){return e.jsx(so,{"data-slot":"alert-dialog-overlay",className:S("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/80 duration-100 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 z-50",t),...r})}function mn({className:t,size:r="default",...o}){return e.jsxs(fn,{children:[e.jsx(hn,{}),e.jsx(lo,{"data-slot":"alert-dialog-content","data-size":r,className:S("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 bg-background ring-foreground/10 gap-3 rounded-xl p-4 ring-1 duration-100 data-[size=default]:max-w-xs data-[size=sm]:max-w-64 data-[size=default]:sm:max-w-sm group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 outline-none",t),...o})]})}function xn({className:t,...r}){return e.jsx("div",{"data-slot":"alert-dialog-header",className:S("grid grid-rows-[auto_1fr] place-items-center gap-1 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]",t),...r})}function pn({className:t,...r}){return e.jsx("div",{"data-slot":"alert-dialog-footer",className:S("flex flex-col-reverse gap-2 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",t),...r})}function vn({className:t,...r}){return e.jsx(uo,{"data-slot":"alert-dialog-title",className:S("text-sm font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",t),...r})}function gn({className:t,...r}){return e.jsx(fo,{"data-slot":"alert-dialog-description",className:S("text-muted-foreground *:[a]:hover:text-foreground text-xs/relaxed text-balance md:text-pretty *:[a]:underline *:[a]:underline-offset-3",t),...r})}function bn({className:t,variant:r="default",size:o="default",...n}){return e.jsx(R,{variant:r,size:o,asChild:!0,children:e.jsx(io,{"data-slot":"alert-dialog-action",className:S(t),...n})})}function Sn({className:t,variant:r="outline",size:o="default",...n}){return e.jsx(R,{variant:r,size:o,asChild:!0,children:e.jsx(co,{"data-slot":"alert-dialog-cancel",className:S(t),...n})})}function wt({...t}){return e.jsx(Io,{"data-slot":"context-menu",...t})}function yt({className:t,...r}){return e.jsx(Lo,{"data-slot":"context-menu-trigger",className:S("select-none",t),...r})}function Nt({className:t,...r}){return e.jsx(Oo,{children:e.jsx(Fo,{"data-slot":"context-menu-content",className:S("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground min-w-32 rounded-lg p-1 shadow-md ring-1 duration-100 z-50 max-h-(--radix-context-menu-content-available-height) origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto",t),...r})})}function $({className:t,inset:r,variant:o="default",...n}){return e.jsx($o,{"data-slot":"context-menu-item","data-inset":r,"data-variant":o,className:S("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:text-destructive not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs/relaxed [&_svg:not([class*='size-'])]:size-3.5 group/context-menu-item relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",t),...n})}function Pe({className:t,...r}){return e.jsx(Ho,{"data-slot":"context-menu-separator",className:S("bg-border/50 -mx-1 my-1 h-px",t),...r})}const le=({folderId:t,isExpanded:r,onToggle:o,count:n,name:a,showContextMenu:l=!1})=>{const i=me(),{deleteFolder:c,getQueriesByFolder:u,addQuery:d,updateFolder:f}=oe(),[x,h]=s.useState(!1),[p,m]=s.useState(""),[g,_]=s.useState(!1),w=s.useCallback(()=>{if(t){if(u(t).length>0){_(!0);return}c(t)}},[c,t,u]),v=s.useCallback(()=>{t&&(c(t),_(!1))},[c,t]),y=s.useCallback(()=>{const N=d(void 0,t);i({to:"/runner/$queryId",params:{queryId:N}})},[d,t,i]),P=s.useCallback(()=>{m(a),h(!0)},[a]),I=s.useCallback(()=>{t&&p.trim()&&(f(t,{name:p.trim()}),h(!1),m(""))},[t,p,f]);return e.jsxs(e.Fragment,{children:[l?e.jsxs(wt,{children:[e.jsx(yt,{asChild:!0,children:e.jsxs("button",{type:"button",onClick:o,className:S("w-full flex gap-2 px-4 py-2 text-sm transition-colors text-left","hover:bg-zinc-800/50 hover:text-zinc-100 focus:outline-none focus:bg-zinc-800/50","text-zinc-400 items-center"),children:[e.jsx(Ee,{className:S("size-4 transition-transform duration-200",r?"rotate-90":"")}),e.jsx("span",{className:"flex-1",children:a}),e.jsx(X,{children:n})]})}),e.jsxs(Nt,{children:[e.jsxs($,{onClick:y,children:[e.jsx(pe,{className:"size-4"}),"Add a new query"]}),e.jsxs($,{onClick:P,children:[e.jsx($e,{className:"size-4"}),"Rename folder"]}),e.jsxs($,{onClick:w,children:[e.jsx(Le,{className:"size-4"}),"Delete folder"]})]})]}):e.jsxs("button",{type:"button",onClick:o,className:S("w-full flex gap-2 px-4 py-2 text-sm transition-colors text-left","hover:bg-zinc-800/50 hover:text-zinc-100 focus:outline-none focus:bg-zinc-800/50","text-zinc-400 items-center"),children:[e.jsx(Ee,{className:S("size-4 transition-transform duration-200",r?"rotate-90":"")}),e.jsx("span",{className:"flex-1",children:a}),e.jsx(X,{children:n})]}),e.jsx(ie,{open:x,onOpenChange:h,children:e.jsxs(ce,{children:[e.jsxs(de,{children:[e.jsx(ue,{children:"Rename Folder"}),e.jsx(fe,{children:"Enter a new name for this folder."})]}),e.jsx(Y,{value:p,onChange:N=>m(N.target.value),placeholder:"Folder name",onKeyDown:N=>{N.key==="Enter"&&I()},autoFocus:!0}),e.jsxs(he,{children:[e.jsx(R,{variant:"outline",onClick:()=>{h(!1),m("")},children:"Cancel"}),e.jsx(R,{onClick:I,disabled:!p.trim(),children:"Rename"})]})]})}),e.jsx(un,{open:g,onOpenChange:_,children:e.jsxs(mn,{children:[e.jsxs(xn,{children:[e.jsx(vn,{children:"Delete Folder"}),e.jsxs(gn,{children:["This folder contains ",n," ",n===1?"query":"queries",". Deleting this folder will also delete all queries inside it. This action cannot be undone."]})]}),e.jsxs(pn,{children:[e.jsx(Sn,{children:"Cancel"}),e.jsx(bn,{onClick:v,className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",children:"Delete Folder"})]})]})})]})},K=({id:t,tableName:r,isNested:o=!1,showContextMenu:n=!0})=>{const a=me(),{deleteQuery:l,addQuery:i,getQuery:c,toggleFavorite:u,updateQuery:d,moveQuery:f,folders:x,addFolder:h}=oe(),{queryId:p}=De({strict:!1}),m=p===t,g=c(t),_=g?.isFavorite??!1,[w,v]=s.useState(!1),[y,P]=s.useState(""),[I,N]=s.useState(!1),[O,z]=s.useState(void 0),[b,j]=s.useState(!1),[T,Q]=s.useState(""),Ce=s.useCallback(()=>{a({to:"/runner/$queryId",params:{queryId:t}})},[a,t]),_t=s.useCallback(()=>{l(t),p===t&&a({to:"/runner"}),V.success("Query deleted successfully")},[l,t,a,p]),Rt=s.useCallback(()=>{const C=c(t),Mt=i(`${C?.name} (Copy)`);a({to:"/runner/$queryId",params:{queryId:Mt}}),V.success("Query duplicated successfully")},[i,c,a,t]),At=s.useCallback(()=>{u(t),V.success("Query favorited successfully")},[u,t]),Et=s.useCallback(()=>{P(g?.name??""),v(!0)},[g?.name]),je=s.useCallback(()=>{y.trim()&&(d(t,{name:y.trim()}),v(!1),P(""),V.success("Query renamed successfully"))},[t,y,d]),Pt=s.useCallback(()=>{z(g?.folderId),j(!1),Q(""),N(!0)},[g?.folderId]),Tt=s.useCallback(C=>{C==="__create_new__"?(j(!0),z(void 0)):(j(!1),z(C==="__none__"?void 0:C))},[]),we=s.useCallback(()=>{if(b&&T.trim()){const C=Math.random().toString(36).substring(2,15);h({id:C,name:T.trim(),isExpanded:!0,isFavorite:!1}),f(t,C),V.success("Query moved to new folder successfully")}else b||(f(t,O),V.success("Query moved to selected folder successfully"));N(!1),j(!1),Q(""),z(void 0)},[b,T,O,t,h,f]);return e.jsxs("li",{className:"relative",children:[n?e.jsxs(wt,{children:[e.jsx(yt,{asChild:!0,children:e.jsxs("button",{type:"button",onClick:Ce,className:S("w-full flex gap-2 py-2 text-sm transition-colors text-left","hover:text-zinc-100 focus:outline-none focus:bg-accent/10 focus:text-zinc-100 justify-start items-center",m?"text-zinc-100 bg-accent/10":"text-zinc-400",o?"px-4 pl-12":"px-4"),children:[m&&e.jsx("span",{className:"absolute left-0 top-0 bottom-0 w-1 bg-accent"}),e.jsx("span",{className:"flex-1",children:r})]})}),e.jsxs(Nt,{children:[e.jsxs($,{onClick:Et,children:[e.jsx($e,{className:"size-4"}),"Rename query"]}),e.jsxs($,{onClick:Rt,children:[e.jsx(Nr,{className:"size-4"}),"Duplicate query"]}),e.jsxs($,{onClick:At,children:[_?e.jsx(Vr,{className:"size-4"}):e.jsx(Fr,{className:"size-4"}),_?"Remove from favorites":"Add to favorites"]}),e.jsx(Pe,{}),e.jsxs($,{onClick:Pt,children:[e.jsx(Ar,{className:"size-4"}),"Move to folder"]}),e.jsx(Pe,{}),e.jsxs($,{onClick:_t,children:[e.jsx(Le,{className:"size-4"}),"Delete query"]})]})]}):e.jsxs("button",{type:"button",onClick:Ce,className:S("w-full flex gap-2 py-2 text-sm transition-colors text-left","hover:text-zinc-100 focus:outline-none focus:bg-accent/10 focus:text-zinc-100 justify-start items-center",m?"text-zinc-100 bg-accent/10":"text-zinc-400",o?"px-4 pl-12":"px-4"),children:[m&&e.jsx("span",{className:"absolute left-0 top-0 bottom-0 w-1 bg-accent"}),e.jsx("span",{className:"flex-1",children:r})]}),e.jsx(ie,{open:w,onOpenChange:v,children:e.jsxs(ce,{children:[e.jsxs(de,{children:[e.jsx(ue,{children:"Rename Query"}),e.jsx(fe,{children:"Enter a new name for this query."})]}),e.jsx(Y,{value:y,onChange:C=>P(C.target.value),placeholder:"Query name",onKeyDown:C=>{C.key==="Enter"&&je()},autoFocus:!0}),e.jsxs(he,{children:[e.jsx(R,{variant:"outline",onClick:()=>{v(!1),P("")},children:"Cancel"}),e.jsx(R,{onClick:je,disabled:!y.trim(),children:"Rename"})]})]})}),e.jsx(ie,{open:I,onOpenChange:C=>{N(C),C||(j(!1),Q(""),z(void 0))},children:e.jsxs(ce,{children:[e.jsxs(de,{children:[e.jsx(ue,{children:"Move to Folder"}),e.jsx(fe,{children:"Select a folder to move this query to."})]}),e.jsx("div",{className:"space-y-4",children:b?e.jsx(Y,{value:T,onChange:C=>Q(C.target.value),placeholder:"Folder name",onKeyDown:C=>{C.key==="Enter"&&T.trim()&&we(),C.key==="Escape"&&(j(!1),Q(""))},autoFocus:!0}):e.jsxs(fr,{value:O??"__none__",onValueChange:Tt,children:[e.jsx(hr,{className:"w-full",children:e.jsx(mr,{placeholder:"Select a folder"})}),e.jsxs(xr,{children:[e.jsx(se,{value:"__none__",children:"No folder"}),x.map(C=>e.jsx(se,{value:C.id,children:C.name},C.id)),e.jsx(se,{value:"__create_new__",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(Fe,{className:"size-4"}),"Create a new folder"]})})]})]})}),e.jsxs(he,{children:[e.jsx(R,{variant:"outline",onClick:()=>{N(!1),j(!1),Q(""),z(void 0)},children:"Cancel"}),e.jsx(R,{onClick:we,disabled:b&&!T.trim(),children:b?"Create & Move":"Move"})]})]})})]})};function Cn({className:t,orientation:r="horizontal",decorative:o=!0,...n}){return e.jsx(an,{"data-slot":"separator",decorative:o,orientation:r,className:S("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-px data-[orientation=vertical]:self-stretch",t),...n})}const jn=()=>{const[t]=re(H.SIDEBAR_SEARCH,{defaultValue:""}),{folders:r,queries:o,getFavoriteQueries:n,getQueriesByFolder:a,toggleFolder:l}=oe(),[i,c]=s.useState(!0),[u,d]=s.useState(!0),f=o.filter(m=>!m.isFavorite).length,x=n(),h=x.length,p=o.filter(m=>!m.folderId&&!m.isFavorite);if(t){const m=o.filter(g=>g.name.toLowerCase().includes(t.toLowerCase()));return m.length===0?e.jsx("div",{className:"flex-1 overflow-y-auto p-4",children:"No queries found matching"}):e.jsx("div",{className:"flex-1 overflow-y-auto",children:m.map(g=>e.jsx(K,{id:g.id,tableName:g.name},g.id))})}return e.jsxs("div",{className:"flex-1 overflow-y-auto",children:[e.jsx(le,{name:"Favorites",isExpanded:i,onToggle:()=>c(!i),count:h}),i&&x.map(m=>e.jsx(K,{id:m.id,tableName:m.name},m.id)),e.jsx(Cn,{className:"bg-zinc-800"}),e.jsx(le,{name:"Queries",isExpanded:u,onToggle:()=>d(!u),count:f}),u&&e.jsxs(e.Fragment,{children:[r.map(m=>{const g=a(m.id),_=g.length;return e.jsxs("div",{children:[e.jsx(le,{folderId:m.id,name:m.name,isExpanded:m.isExpanded,onToggle:()=>l(m.id),count:_,showContextMenu:!0}),m.isExpanded&&g.map(w=>e.jsx(K,{id:w.id,tableName:w.name,isNested:!0,showContextMenu:!0},w.id))]},m.id)}),p.map(m=>e.jsx(K,{id:m.id,tableName:m.name,showContextMenu:!0},m.id))]})]})},wn=()=>{const{addQuery:t,addFolder:r}=oe(),o=me(),n=s.useRef(null),[a,l]=re(H.SIDEBAR_SEARCH,{defaultValue:""}),i=d=>{l(d.target.value)},c=()=>{const d=t();o({to:"/runner/$queryId",params:{queryId:d}})},u=()=>{const d=Math.random().toString(36).substring(2,15);r({id:d,name:"New Folder",isExpanded:!0,isFavorite:!1})};return e.jsxs("div",{className:"p-3 space-y-2 border-b border-zinc-800",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsxs(R,{className:"flex-1 justify-start h-8",onClick:c,children:[e.jsx(pe,{className:"size-4"}),"Add Query"]}),e.jsxs(R,{className:"flex-1 justify-start h-8",onClick:u,children:[e.jsx(Fe,{className:"size-4"}),"Add Folder"]})]}),e.jsxs("div",{className:"relative",children:[e.jsx(He,{className:"absolute left-2 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground"}),e.jsx(Y,{ref:n,placeholder:"Search queries",value:a??"",onChange:i,className:"rounded-sm h-8 pl-8 pr-8"}),e.jsx(X,{className:"absolute right-2 top-1/2 -translate-y-1/2 text-xs",children:"/"})]})]})},yn=()=>e.jsxs(e.Fragment,{children:[e.jsx(wn,{}),e.jsx(jn,{})]}),Nn=({tableName:t,rowCount:r})=>{const n=De({strict:!1}).table;return e.jsx("li",{className:"relative",children:e.jsxs(Me,{to:"/table/$table",params:{table:t},className:S("w-full flex gap-0.5 px-4 py-1.5 text-sm transition-colors text-left","hover:text-zinc-100 focus:outline-none focus:bg-accent/10 focus:text-zinc-100 justify-start items-center",n===t?"text-white bg-zinc-800/50":"text-zinc-400"),children:[n===t&&e.jsx("span",{className:"absolute left-0 top-0 bottom-0 w-1 bg-accent"}),e.jsx("span",{className:"flex-1",children:t}),e.jsx(X,{children:r})]})})},_n=()=>{const{data:t,isLoading:r,error:o}=pr({queryKey:[H.CACHE_KEYS.TABLES_LIST],queryFn:async()=>{try{const n=await fetch(`${$t}/tables`);if(console.log("useTablesList response",n),!n.ok)throw new Error("Failed to fetch tables list");return n.json()}catch(n){throw console.error("Error fetching tables list:",n),n}}});return{tablesList:t,isLoadingTablesList:r,errorTablesList:o}},Rn=()=>{const[t]=re(H.SIDEBAR_SEARCH,{defaultValue:""}),{tablesList:r=[],isLoadingTablesList:o,errorTablesList:n}=_n(),a=r?.filter(l=>l.tableName.toLowerCase().includes(t.toLowerCase()));return o?e.jsx("div",{className:"flex-1 h-full overflow-y-auto pb-3 flex items-center justify-center",children:e.jsx(Ht,{size:"size-6"})}):n?e.jsxs("div",{className:"flex-1 overflow-y-auto pb-3 h-full flex items-center justify-center",children:["Error: ",n.message]}):e.jsx("div",{className:"flex-1 overflow-y-auto pb-3",children:a&&a.length>0?e.jsx("ul",{children:a?.map(l=>e.jsx(Nn,{tableName:l.tableName,rowCount:l.rowCount},l.tableName))}):t?e.jsx("div",{className:"flex-1 overflow-y-auto pb-3 h-full flex items-center justify-center",children:"No tables found matching"}):e.jsx("div",{className:"flex-1 overflow-y-auto pb-3 h-full flex items-center justify-center",children:"No tables available"})})},An=()=>{const t=s.useRef(null),[r,o]=re(H.SIDEBAR_SEARCH,{defaultValue:""}),{openSheet:n}=vr();return gr("/",a=>{a.preventDefault(),t.current&&t.current.focus()},{preventDefault:!0}),e.jsxs("div",{className:"p-3 space-y-2",children:[e.jsxs(R,{className:"w-full justify-start h-8",onClick:()=>n("add-table"),children:[e.jsx(pe,{className:"size-4"}),"Add Table"]}),e.jsxs("div",{className:"relative",children:[e.jsx(He,{className:"absolute left-2 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground"}),e.jsx(Y,{ref:t,placeholder:"Search tables",value:r??"",onChange:a=>o(a.target.value.trim()),className:"rounded-sm h-8 pl-8 pr-8"}),e.jsx(X,{className:"absolute right-2 top-1/2 -translate-y-1/2 text-xs",children:"/"})]})]})};function En({className:t,children:r,...o}){return e.jsxs(Jo,{"data-slot":"scroll-area",className:S("relative",t),...o,children:[e.jsx(en,{"data-slot":"scroll-area-viewport",className:"focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1",children:r}),e.jsx(Pn,{}),e.jsx(tn,{})]})}function Pn({className:t,orientation:r="vertical",...o}){return e.jsx(ht,{"data-slot":"scroll-area-scrollbar",orientation:r,className:S("flex touch-none p-px transition-colors select-none",r==="vertical"&&"h-full w-2.5 border-l border-l-transparent",r==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent",t),...o,children:e.jsx(vt,{"data-slot":"scroll-area-thumb",className:"bg-border relative flex-1 rounded-full"})})}const Te=()=>e.jsxs(e.Fragment,{children:[e.jsx(An,{}),e.jsx(En,{className:"flex-1 overflow-y-auto pb-3 block h-full w-full",children:e.jsx(Rn,{})})]}),Tn=()=>{const{sidebar:{isPinned:t},toggleSidebarPinned:r}=ee();return e.jsx("div",{className:"flex items-center justify-between h-9 border-b border-zinc-800",children:e.jsx(R,{variant:"ghost",size:"lg",onClick:r,className:"size-9 flex items-center justify-center transition hover:bg-transparent! focus-visible:ring-0 focus-visible:ring-offset-0",title:t?"Unpin sidebar":"Pin sidebar",children:t?e.jsx(Qr,{className:"size-4"}):e.jsx(Dr,{className:"size-4"})})})},Mn=({children:t})=>{const{sidebar:{width:r,isOpen:o,isPinned:n},setSidebarWidth:a,setSidebarOpen:l}=ee(),i=s.useRef(!1),c=s.useRef(0),u=s.useRef(0),d=s.useRef(null),f=s.useRef(null),x=s.useCallback(v=>{i.current&&requestAnimationFrame(()=>{const y=v.clientX-c.current,P=u.current+y;a(P)})},[a]),h=s.useCallback(()=>{i.current=!1,document.body.style.cursor="",document.body.style.userSelect="";const v=document.getElementById("resize-overlay");v&&v.remove()},[]),p=s.useCallback(v=>{v.preventDefault(),i.current=!0,c.current=v.clientX,u.current=r,document.body.style.cursor="col-resize",document.body.style.userSelect="none";const y=document.createElement("div");y.id="resize-overlay",y.style.cssText="position:fixed;inset:0;z-index:9999;cursor:col-resize;",document.body.appendChild(y)},[r]),m=s.useCallback(()=>{n||l(!0)},[n,l]),g=s.useCallback(()=>{n||l(!1)},[n,l]),_=s.useCallback(v=>{n||o||i.current||(v.clientX<=H.HOVER_ZONE?(d.current&&clearTimeout(d.current),d.current=window.setTimeout(()=>{l(!0)},H.HOVER_DELAY)):v.clientX>H.HOVER_ZONE+50&&d.current&&clearTimeout(d.current))},[n,o,l]),w=v=>{n||l(v)};return s.useEffect(()=>(document.addEventListener("mousemove",x),document.addEventListener("mouseup",h),document.addEventListener("mousemove",_),()=>{document.removeEventListener("mousemove",x),document.removeEventListener("mouseup",h),document.removeEventListener("mousemove",_),d.current&&clearTimeout(d.current)}),[x,h,_]),s.useEffect(()=>{const v=f.current;if(v)return v.addEventListener("mouseenter",m),v.addEventListener("mouseleave",g),()=>{v.removeEventListener("mouseenter",m),v.removeEventListener("mouseleave",g)}},[m,g]),e.jsxs(br,{open:o,onOpenChange:w,modal:!1,children:[e.jsx(Sr,{className:"sr-only",children:"Open Sidebar"}),e.jsx(Cr,{ref:f,side:"left",showCloseButton:!1,isPinned:n,className:S("bg-black border-r border-zinc-800 p-0","transition-transform duration-300 ease-out"),style:{width:`${r}px`},onOpenAutoFocus:v=>v.preventDefault(),children:e.jsxs("div",{className:"relative h-full flex flex-col",children:[t,e.jsx("div",{role:"button",tabIndex:0,onMouseDown:p,className:S("absolute top-0 right-0 w-2 h-full cursor-col-resize z-50","hover:bg-blue-500/50 transition-colors group"),title:"Drag to resize",children:e.jsx("div",{className:"absolute right-0 top-1/2 -translate-y-1/2 w-2 h-12 bg-blue-500 opacity-0 group-hover:opacity-100 transition-opacity rounded-full"})})]})})]})},Dn=()=>{const{pathname:t}=Oe(),r=t.split("/")[1],o=s.useMemo(()=>{switch(console.log(r),r){case"":case"table":return e.jsx(Te,{});case"runner":return e.jsx(yn,{});default:return e.jsx(Te,{})}},[r]);return e.jsxs(Mn,{children:[e.jsx(Tn,{}),o]})};function On(){const{sidebar:{isPinned:t,width:r}}=ee();return e.jsxs("div",{className:"bg-zinc-950 w-dvw flex h-dvh max-h-dvh overflow-hidden relative",children:[e.jsx(Dn,{}),e.jsxs("div",{className:"flex-1 flex flex-col h-full overflow-hidden ",style:{marginLeft:t?`${r}px`:"0"},children:[e.jsx(cn,{}),e.jsx(zt,{})]})]})}export{On as component};
@@ -0,0 +1 @@
1
+ import{A as t,j as r}from"./index-p_4LwMzZ.js";import{R as m}from"./runner-tab-BJGSkPa0.js";import"./spinner-CaXFGkug.js";import"./format-cell-value-CAPxCDrP.js";import"./queries.store-d0aQcGZF.js";function a(){const{queryId:o}=t.useParams();return r.jsx(m,{queryId:o})}export{a as component};