nestlens 0.17.2 → 0.17.3

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 (71) hide show
  1. package/dist/dashboard/public/assets/{BatchDetailView-MwxKpCBw.js → BatchDetailView-DAtR5FPg.js} +1 -1
  2. package/dist/dashboard/public/assets/{BatchesPage-vFo0vIr2.js → BatchesPage-BPA6JhXD.js} +1 -1
  3. package/dist/dashboard/public/assets/{CacheDetailView-CcGupoLQ.js → CacheDetailView-DlShiGIf.js} +2 -2
  4. package/dist/dashboard/public/assets/{CachePage-CU847w5_.js → CachePage-4gqe08jc.js} +1 -1
  5. package/dist/dashboard/public/assets/{CommandDetailView-CVZrIKo6.js → CommandDetailView-D90ipdrR.js} +1 -1
  6. package/dist/dashboard/public/assets/{CommandsPage-BbiQyAea.js → CommandsPage-bO8ow8DA.js} +1 -1
  7. package/dist/dashboard/public/assets/{CopyButton-DpZHVixQ.js → CopyButton-DaF0vYeo.js} +1 -1
  8. package/dist/dashboard/public/assets/DashboardPage-DeKPc8p-.js +21 -0
  9. package/dist/dashboard/public/assets/{DataTable-CCXj8zzB.js → DataTable-CIlMLJo4.js} +9 -9
  10. package/dist/dashboard/public/assets/{DetailRow-C35E-Fg7.js → DetailRow-BC_kcJT3.js} +1 -1
  11. package/dist/dashboard/public/assets/{DumpDetailView-C3AszicE.js → DumpDetailView-CejsvpwV.js} +3 -3
  12. package/dist/dashboard/public/assets/{DumpsPage-nKkfeRGr.js → DumpsPage-BtDTjZ7O.js} +1 -1
  13. package/dist/dashboard/public/assets/EntryDetailPage-DUWwJ_hP.js +27 -0
  14. package/dist/dashboard/public/assets/EntrySearchInput-Iv-9Wirn.js +1 -0
  15. package/dist/dashboard/public/assets/{EventDetailView-i_T5zzxK.js → EventDetailView-gBzHbxMY.js} +1 -1
  16. package/dist/dashboard/public/assets/{EventsPage--LGwQSIW.js → EventsPage-B8t1V0Vx.js} +1 -1
  17. package/dist/dashboard/public/assets/{ExceptionDetailView-BD375JkM.js → ExceptionDetailView-CAJwXNN0.js} +2 -2
  18. package/dist/dashboard/public/assets/{ExceptionsPage-DJRQKir2.js → ExceptionsPage-BnoHLwKA.js} +1 -1
  19. package/dist/dashboard/public/assets/{GateDetailView-DjS0BcxS.js → GateDetailView-CmKN_iLu.js} +2 -2
  20. package/dist/dashboard/public/assets/{GatesPage-CP3_e7g1.js → GatesPage-Bgt4HOfH.js} +1 -1
  21. package/dist/dashboard/public/assets/GraphQLDetailView-CCMHYaLc.js +6 -0
  22. package/dist/dashboard/public/assets/{GraphQLPage-BCr6tRBy.js → GraphQLPage-C-lDawkW.js} +1 -1
  23. package/dist/dashboard/public/assets/HttpClientDetailView-tCQJY3WT.js +1 -0
  24. package/dist/dashboard/public/assets/{HttpClientPage-opI4zxU2.js → HttpClientPage-B0-n_3yk.js} +1 -1
  25. package/dist/dashboard/public/assets/{JobDetailView-4qAPrQWH.js → JobDetailView-COX5nxJL.js} +2 -2
  26. package/dist/dashboard/public/assets/{JobsPage-BuCIb8wu.js → JobsPage-BKGnM4ne.js} +1 -1
  27. package/dist/dashboard/public/assets/LogDetailView-CiFkQjNz.js +1 -0
  28. package/dist/dashboard/public/assets/{LogsPage-BYUqINeg.js → LogsPage-NIDMxNxD.js} +1 -1
  29. package/dist/dashboard/public/assets/{MailDetailView-BPFRJcUh.js → MailDetailView-B4hhGA3f.js} +2 -2
  30. package/dist/dashboard/public/assets/{MailPage-n712tj0J.js → MailPage-CYEkpVKG.js} +1 -1
  31. package/dist/dashboard/public/assets/{ModelDetailView-BDzUh_Kg.js → ModelDetailView-DiI8V80r.js} +1 -1
  32. package/dist/dashboard/public/assets/{ModelsPage-BgXuFcOx.js → ModelsPage-B9sb5wNN.js} +1 -1
  33. package/dist/dashboard/public/assets/{NotificationDetailView-D-wwNBBg.js → NotificationDetailView-jBvJjcrv.js} +1 -1
  34. package/dist/dashboard/public/assets/{NotificationsPage-eznKkQYP.js → NotificationsPage-CQmtJ4Uw.js} +1 -1
  35. package/dist/dashboard/public/assets/PageHeader-Tnp0JBDF.js +1 -0
  36. package/dist/dashboard/public/assets/QueriesPage-92MXcQ8v.js +1 -0
  37. package/dist/dashboard/public/assets/{QueryDetailView-BkUuf3JM.js → QueryDetailView-0RW6Mgfq.js} +2 -2
  38. package/dist/dashboard/public/assets/{RedisDetailView-EHqxefP1.js → RedisDetailView-B2ckYL3H.js} +1 -1
  39. package/dist/dashboard/public/assets/{RedisPage-BqyStSRQ.js → RedisPage-CZU4kHNw.js} +1 -1
  40. package/dist/dashboard/public/assets/RequestDetailView-Cm-OEVhR.js +1 -0
  41. package/dist/dashboard/public/assets/{RequestsPage-CSmOa0Pi.js → RequestsPage-CNVJHWoJ.js} +1 -1
  42. package/dist/dashboard/public/assets/{ScheduleDetailView-BPjjgHxu.js → ScheduleDetailView-CrBW0QSz.js} +1 -1
  43. package/dist/dashboard/public/assets/{SchedulePage-Brf1dEFU.js → SchedulePage-wVYGrpuQ.js} +1 -1
  44. package/dist/dashboard/public/assets/{UserCard-CEq6mQ5k.js → UserCard-B4mNJVOd.js} +1 -1
  45. package/dist/dashboard/public/assets/{ViewDetailView-DzuPi6K1.js → ViewDetailView-CMAf9inJ.js} +1 -1
  46. package/dist/dashboard/public/assets/{ViewsPage-ClbTUhv0.js → ViewsPage-76yfd6hO.js} +1 -1
  47. package/dist/dashboard/public/assets/{calendar-CMjU8s5-.js → calendar-DCypCI0I.js} +1 -1
  48. package/dist/dashboard/public/assets/{circle-alert-DQGZE3D0.js → circle-alert-BEvvepIR.js} +1 -1
  49. package/dist/dashboard/public/assets/{circle-check-big-Br_lvQdJ.js → circle-check-big-DZttXeD-.js} +1 -1
  50. package/dist/dashboard/public/assets/{circle-x-DFyAuyMN.js → circle-x-CioeSSBA.js} +1 -1
  51. package/dist/dashboard/public/assets/{eye-BlDJOCMu.js → eye-CwQoBjXn.js} +1 -1
  52. package/dist/dashboard/public/assets/{index-CNTaNUkj.js → index-BaD1MX7a.js} +2 -2
  53. package/dist/dashboard/public/assets/index-CMvt7uFU.css +1 -0
  54. package/dist/dashboard/public/assets/{search-CcMiea1V.js → search-BtkJjUPF.js} +1 -1
  55. package/dist/dashboard/public/assets/{send-CSgocT8I.js → send-CvZt49HP.js} +1 -1
  56. package/dist/dashboard/public/assets/{timer-CDc7JIAB.js → timer-D72f3hG4.js} +1 -1
  57. package/dist/dashboard/public/assets/{types-DqF5HlZi.js → types-BHYinjn2.js} +1 -1
  58. package/dist/dashboard/public/assets/{users-D9yOg5Si.js → users-BHTpEUZQ.js} +1 -1
  59. package/dist/dashboard/public/assets/{zap-QXV06WYA.js → zap-Cx84VGgd.js} +1 -1
  60. package/dist/dashboard/public/index.html +2 -2
  61. package/package.json +1 -1
  62. package/dist/dashboard/public/assets/DashboardPage-Ck0F9Z12.js +0 -21
  63. package/dist/dashboard/public/assets/EntryDetailPage-C63KztnI.js +0 -27
  64. package/dist/dashboard/public/assets/EntrySearchInput-BNjSxfmZ.js +0 -1
  65. package/dist/dashboard/public/assets/GraphQLDetailView-BubeJCJT.js +0 -6
  66. package/dist/dashboard/public/assets/HttpClientDetailView-yb-3URIg.js +0 -1
  67. package/dist/dashboard/public/assets/LogDetailView--AEX1d6S.js +0 -1
  68. package/dist/dashboard/public/assets/PageHeader-Dhs9cPza.js +0 -1
  69. package/dist/dashboard/public/assets/QueriesPage-Df7S76B_.js +0 -1
  70. package/dist/dashboard/public/assets/RequestDetailView-D0pFJlIF.js +0 -1
  71. package/dist/dashboard/public/assets/index-ReuerEhs.css +0 -1
@@ -0,0 +1 @@
1
+ /*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-x-reverse:0;--tw-border-style:solid;--tw-divide-y-reverse:0;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-50:#fef2f2;--color-red-100:#fee2e2;--color-red-200:#fecaca;--color-red-300:#fca5a5;--color-red-400:#f87171;--color-red-500:#ef4444;--color-red-600:#dc2626;--color-red-700:#b91c1c;--color-red-800:#991b1b;--color-red-900:#7f1d1d;--color-orange-50:#fff7ed;--color-orange-100:#ffedd5;--color-orange-200:#fed7aa;--color-orange-400:#fb923c;--color-orange-500:#f97316;--color-orange-600:#ea580c;--color-orange-800:#9a3412;--color-orange-900:#7c2d12;--color-amber-50:#fffbeb;--color-amber-100:#fef3c7;--color-amber-200:#fde68a;--color-amber-300:#fcd34d;--color-amber-400:#fbbf24;--color-amber-500:#f59e0b;--color-amber-600:#d97706;--color-amber-700:#b45309;--color-amber-800:#92400e;--color-amber-900:#78350f;--color-yellow-50:#fefce8;--color-yellow-100:#fef9c3;--color-yellow-200:#fef08a;--color-yellow-300:#fde047;--color-yellow-400:#facc15;--color-yellow-500:#eab308;--color-yellow-600:#ca8a04;--color-yellow-700:#a16207;--color-yellow-800:#854d0e;--color-yellow-900:#713f12;--color-lime-50:#f7fee7;--color-lime-100:#ecfccb;--color-lime-400:#a3e635;--color-lime-500:#84cc16;--color-lime-800:#3f6212;--color-lime-900:#365314;--color-green-50:#f0fdf4;--color-green-100:#dcfce7;--color-green-200:#bbf7d0;--color-green-300:#86efac;--color-green-400:#4ade80;--color-green-500:#22c55e;--color-green-600:#16a34a;--color-green-700:#15803d;--color-green-800:#166534;--color-green-900:#14532d;--color-emerald-50:#ecfdf5;--color-emerald-100:#d1fae5;--color-emerald-400:#34d399;--color-emerald-500:#10b981;--color-emerald-600:#059669;--color-emerald-700:#047857;--color-emerald-800:#065f46;--color-emerald-900:#064e3b;--color-teal-50:#f0fdfa;--color-teal-100:#ccfbf1;--color-teal-300:#5eead4;--color-teal-400:#2dd4bf;--color-teal-500:#14b8a6;--color-teal-600:#0d9488;--color-teal-800:#115e59;--color-teal-900:#134e4a;--color-cyan-50:#ecfeff;--color-cyan-100:#cffafe;--color-cyan-200:#a5f3fc;--color-cyan-400:#22d3ee;--color-cyan-500:#06b6d4;--color-cyan-600:#0891b2;--color-cyan-800:#155e75;--color-cyan-900:#164e63;--color-sky-100:#e0f2fe;--color-sky-400:#38bdf8;--color-sky-500:#0ea5e9;--color-sky-800:#075985;--color-sky-900:#0c4a6e;--color-blue-50:#eff6ff;--color-blue-100:#dbeafe;--color-blue-200:#bfdbfe;--color-blue-300:#93c5fd;--color-blue-400:#60a5fa;--color-blue-500:#3b82f6;--color-blue-600:#2563eb;--color-blue-700:#1d4ed8;--color-blue-800:#1e40af;--color-blue-900:#1e3a8a;--color-indigo-50:#eef2ff;--color-indigo-100:#e0e7ff;--color-indigo-300:#a5b4fc;--color-indigo-400:#818cf8;--color-indigo-500:#6366f1;--color-indigo-600:#4f46e5;--color-indigo-800:#3730a3;--color-indigo-900:#312e81;--color-violet-50:#f5f3ff;--color-violet-100:#ede9fe;--color-violet-400:#a78bfa;--color-violet-500:#8b5cf6;--color-violet-800:#5b21b6;--color-violet-900:#4c1d95;--color-purple-50:#faf5ff;--color-purple-100:#f3e8ff;--color-purple-200:#e9d5ff;--color-purple-300:#d8b4fe;--color-purple-400:#c084fc;--color-purple-500:#a855f7;--color-purple-600:#9333ea;--color-purple-800:#6b21a8;--color-purple-900:#581c87;--color-fuchsia-50:#fdf4ff;--color-fuchsia-100:#fae8ff;--color-fuchsia-400:#e879f9;--color-fuchsia-500:#d946ef;--color-fuchsia-800:#86198f;--color-fuchsia-900:#701a75;--color-pink-50:#fdf2f8;--color-pink-100:#fce7f3;--color-pink-200:#fbcfe8;--color-pink-300:#f9a8d4;--color-pink-400:#f472b6;--color-pink-500:#ec4899;--color-pink-600:#db2777;--color-pink-800:#9d174d;--color-pink-900:#831843;--color-rose-50:#fff1f2;--color-rose-100:#ffe4e6;--color-rose-400:#fb7185;--color-rose-500:#f43f5e;--color-rose-800:#9f1239;--color-rose-900:#881337;--color-slate-50:#f8fafc;--color-slate-100:#f1f5f9;--color-slate-300:#cbd5e1;--color-slate-400:#94a3b8;--color-slate-500:#64748b;--color-slate-600:#475569;--color-slate-700:#334155;--color-slate-800:#1e293b;--color-gray-50:#f9fafb;--color-gray-100:#f3f4f6;--color-gray-200:#e5e7eb;--color-gray-300:#d1d5db;--color-gray-400:#9ca3af;--color-gray-500:#6b7280;--color-gray-600:#4b5563;--color-gray-700:#374151;--color-gray-800:#1f2937;--color-gray-900:#111827;--color-gray-950:#030712;--color-stone-50:#fafaf9;--color-stone-500:#78716c;--color-stone-700:#44403c;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-md:28rem;--text-xs:.75rem;--text-xs--line-height:1rem;--text-sm:.875rem;--text-sm--line-height:1.25rem;--text-base:1rem;--text-base--line-height:1.5rem;--text-lg:1.125rem;--text-lg--line-height:1.75rem;--text-xl:1.25rem;--text-xl--line-height:1.75rem;--text-2xl:1.5rem;--text-2xl--line-height:2rem;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-wide:.025em;--tracking-wider:.05em;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-primary-50:#f0f9ff;--color-primary-100:#e0f2fe;--color-primary-200:#bae6fd;--color-primary-300:#7dd3fc;--color-primary-400:#38bdf8;--color-primary-500:#0ea5e9;--color-primary-600:#0284c7;--color-primary-700:#0369a1;--color-primary-800:#075985;--color-primary-900:#0c4a6e}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*,:after,:before,::backdrop{border-color:var(--color-gray-200,currentcolor)}::file-selector-button{border-color:var(--color-gray-200,currentcolor)}input::placeholder,textarea::placeholder{color:var(--color-gray-400)}button:not(:disabled),[role=button]:not(:disabled){cursor:pointer}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:root{color-scheme:light}:root.dark{color-scheme:dark}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{inset-block:0}.top-0{top:0}.top-1\/2{top:50%}.right-0{right:0}.right-2\.5{right:calc(var(--spacing) * 2.5)}.right-3{right:calc(var(--spacing) * 3)}.bottom-0{bottom:0}.left-0{left:0}.left-2\.5{left:calc(var(--spacing) * 2.5)}.left-3{left:calc(var(--spacing) * 3)}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.mx-1{margin-inline:var(--spacing)}.mx-auto{margin-inline:auto}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mr-1{margin-right:var(--spacing)}.mr-2{margin-right:calc(var(--spacing) * 2)}.mr-4{margin-right:calc(var(--spacing) * 4)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-2{margin-left:calc(var(--spacing) * 2)}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.h-0\.5{height:calc(var(--spacing) * .5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-14{height:calc(var(--spacing) * 14)}.h-16{height:calc(var(--spacing) * 16)}.h-40{height:calc(var(--spacing) * 40)}.h-64{height:calc(var(--spacing) * 64)}.h-\[18px\]{height:18px}.h-full{height:100%}.max-h-48{max-height:calc(var(--spacing) * 48)}.max-h-\[500px\]{max-height:500px}.min-h-0{min-height:0}.min-h-\[400px\]{min-height:400px}.min-h-screen{min-height:100vh}.w-1\/2{width:50%}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-3{width:calc(var(--spacing) * 3)}.w-3\.5{width:calc(var(--spacing) * 3.5)}.w-3\/4{width:75%}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-8{width:calc(var(--spacing) * 8)}.w-10{width:calc(var(--spacing) * 10)}.w-12{width:calc(var(--spacing) * 12)}.w-16{width:calc(var(--spacing) * 16)}.w-24{width:calc(var(--spacing) * 24)}.w-28{width:calc(var(--spacing) * 28)}.w-40{width:calc(var(--spacing) * 40)}.w-64{width:calc(var(--spacing) * 64)}.w-\[18px\]{width:18px}.w-full{width:100%}.w-px{width:1px}.max-w-\[200px\]{max-width:200px}.max-w-md{max-width:var(--container-md)}.max-w-sm{max-width:var(--container-sm)}.min-w-0{min-width:0}.min-w-\[20px\]{min-width:20px}.flex-1{flex:1}.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-\[180px_1fr\]{grid-template-columns:180px 1fr}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-5{gap:calc(var(--spacing) * 5)}:where(.space-y-0\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * .5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * .5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing) * var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)))}.gap-x-4{column-gap:calc(var(--spacing) * 4)}:where(.space-x-1>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(var(--spacing) * var(--tw-space-x-reverse));margin-inline-end:calc(var(--spacing) * calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-1\.5>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * 1.5) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * 1.5) * calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * 2) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-2\.5>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * 2.5) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * 2.5) * calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * 3) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-4>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * 4) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-x-reverse)))}.gap-y-1{row-gap:var(--spacing)}:where(.divide-x>:not(:last-child)){--tw-divide-x-reverse:0;border-inline-style:var(--tw-border-style);border-inline-start-width:calc(1px * var(--tw-divide-x-reverse));border-inline-end-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-amber-100>:not(:last-child)){border-color:var(--color-amber-100)}:where(.divide-gray-100>:not(:last-child)){border-color:var(--color-gray-100)}:where(.divide-gray-200>:not(:last-child)){border-color:var(--color-gray-200)}:where(.divide-red-100>:not(:last-child)){border-color:var(--color-red-100)}:where(.divide-red-200>:not(:last-child)){border-color:var(--color-red-200)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.card{border-radius:var(--radius-lg);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-gray-200);background-color:var(--color-white);--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.card:is(.dark *){border-color:var(--color-gray-700);background-color:var(--color-gray-800)}.rounded-full{border-radius:2147483647px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-amber-200{border-color:var(--color-amber-200)}.border-amber-300{border-color:var(--color-amber-300)}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-primary-600{border-color:var(--color-primary-600)}.border-red-200{border-color:var(--color-red-200)}.border-red-300{border-color:var(--color-red-300)}.border-red-500{border-color:var(--color-red-500)}.bg-amber-50{background-color:var(--color-amber-50)}.bg-amber-100{background-color:var(--color-amber-100)}.bg-amber-500{background-color:var(--color-amber-500)}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-400{background-color:var(--color-blue-400)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-blue-600{background-color:var(--color-blue-600)}.bg-cyan-50{background-color:var(--color-cyan-50)}.bg-cyan-100{background-color:var(--color-cyan-100)}.bg-cyan-500{background-color:var(--color-cyan-500)}.bg-emerald-50{background-color:var(--color-emerald-50)}.bg-emerald-100{background-color:var(--color-emerald-100)}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-fuchsia-50{background-color:var(--color-fuchsia-50)}.bg-fuchsia-100{background-color:var(--color-fuchsia-100)}.bg-fuchsia-500{background-color:var(--color-fuchsia-500)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-50\/50{background-color:#f9fafb80}@supports (color:color-mix(in lab,red,red)){.bg-gray-50\/50{background-color:color-mix(in oklab,var(--color-gray-50) 50%,transparent)}}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-gray-300{background-color:var(--color-gray-300)}.bg-gray-400{background-color:var(--color-gray-400)}.bg-gray-500{background-color:var(--color-gray-500)}.bg-gray-900{background-color:var(--color-gray-900)}.bg-gray-900\/80{background-color:#111827cc}@supports (color:color-mix(in lab,red,red)){.bg-gray-900\/80{background-color:color-mix(in oklab,var(--color-gray-900) 80%,transparent)}}.bg-green-50{background-color:var(--color-green-50)}.bg-green-100{background-color:var(--color-green-100)}.bg-green-400{background-color:var(--color-green-400)}.bg-green-500{background-color:var(--color-green-500)}.bg-indigo-50{background-color:var(--color-indigo-50)}.bg-indigo-100{background-color:var(--color-indigo-100)}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-indigo-600{background-color:var(--color-indigo-600)}.bg-inherit{background-color:inherit}.bg-lime-50{background-color:var(--color-lime-50)}.bg-lime-100{background-color:var(--color-lime-100)}.bg-lime-500{background-color:var(--color-lime-500)}.bg-orange-50{background-color:var(--color-orange-50)}.bg-orange-100{background-color:var(--color-orange-100)}.bg-orange-500{background-color:var(--color-orange-500)}.bg-pink-50{background-color:var(--color-pink-50)}.bg-pink-100{background-color:var(--color-pink-100)}.bg-pink-500{background-color:var(--color-pink-500)}.bg-primary-50{background-color:var(--color-primary-50)}.bg-primary-100{background-color:var(--color-primary-100)}.bg-primary-200{background-color:var(--color-primary-200)}.bg-primary-400{background-color:var(--color-primary-400)}.bg-primary-600{background-color:var(--color-primary-600)}.bg-purple-50{background-color:var(--color-purple-50)}.bg-purple-100{background-color:var(--color-purple-100)}.bg-purple-400{background-color:var(--color-purple-400)}.bg-purple-500{background-color:var(--color-purple-500)}.bg-red-50{background-color:var(--color-red-50)}.bg-red-50\/50{background-color:#fef2f280}@supports (color:color-mix(in lab,red,red)){.bg-red-50\/50{background-color:color-mix(in oklab,var(--color-red-50) 50%,transparent)}}.bg-red-100{background-color:var(--color-red-100)}.bg-red-500{background-color:var(--color-red-500)}.bg-red-600{background-color:var(--color-red-600)}.bg-rose-50{background-color:var(--color-rose-50)}.bg-rose-100{background-color:var(--color-rose-100)}.bg-rose-500{background-color:var(--color-rose-500)}.bg-sky-100{background-color:var(--color-sky-100)}.bg-sky-500{background-color:var(--color-sky-500)}.bg-slate-50{background-color:var(--color-slate-50)}.bg-slate-100{background-color:var(--color-slate-100)}.bg-slate-500{background-color:var(--color-slate-500)}.bg-stone-50{background-color:var(--color-stone-50)}.bg-teal-50{background-color:var(--color-teal-50)}.bg-teal-100{background-color:var(--color-teal-100)}.bg-teal-500{background-color:var(--color-teal-500)}.bg-transparent{background-color:#0000}.bg-violet-50{background-color:var(--color-violet-50)}.bg-violet-100{background-color:var(--color-violet-100)}.bg-violet-500{background-color:var(--color-violet-500)}.bg-white{background-color:var(--color-white)}.bg-white\/50{background-color:#ffffff80}@supports (color:color-mix(in lab,red,red)){.bg-white\/50{background-color:color-mix(in oklab,var(--color-white) 50%,transparent)}}.bg-yellow-50{background-color:var(--color-yellow-50)}.bg-yellow-100{background-color:var(--color-yellow-100)}.bg-yellow-300{background-color:var(--color-yellow-300)}.bg-yellow-400{background-color:var(--color-yellow-400)}.bg-yellow-400\/30{background-color:#facc154d}@supports (color:color-mix(in lab,red,red)){.bg-yellow-400\/30{background-color:color-mix(in oklab,var(--color-yellow-400) 30%,transparent)}}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-yellow-500\/10{background-color:#eab3081a}@supports (color:color-mix(in lab,red,red)){.bg-yellow-500\/10{background-color:color-mix(in oklab,var(--color-yellow-500) 10%,transparent)}}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-1\.5{padding:calc(var(--spacing) * 1.5)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.p-8{padding:calc(var(--spacing) * 8)}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-8{padding-block:calc(var(--spacing) * 8)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-16{padding-block:calc(var(--spacing) * 16)}.py-px{padding-block:1px}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-16{padding-top:calc(var(--spacing) * 16)}.pr-1{padding-right:var(--spacing)}.pr-8{padding-right:calc(var(--spacing) * 8)}.pr-9{padding-right:calc(var(--spacing) * 9)}.pl-8{padding-left:calc(var(--spacing) * 8)}.pl-9{padding-left:calc(var(--spacing) * 9)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.break-all{word-break:break-all}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-amber-500{color:var(--color-amber-500)}.text-amber-600{color:var(--color-amber-600)}.text-amber-700{color:var(--color-amber-700)}.text-amber-800{color:var(--color-amber-800)}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-blue-700{color:var(--color-blue-700)}.text-blue-800{color:var(--color-blue-800)}.text-cyan-500{color:var(--color-cyan-500)}.text-cyan-600{color:var(--color-cyan-600)}.text-cyan-800{color:var(--color-cyan-800)}.text-emerald-500{color:var(--color-emerald-500)}.text-emerald-600{color:var(--color-emerald-600)}.text-emerald-700{color:var(--color-emerald-700)}.text-emerald-800{color:var(--color-emerald-800)}.text-fuchsia-500{color:var(--color-fuchsia-500)}.text-fuchsia-800{color:var(--color-fuchsia-800)}.text-gray-300{color:var(--color-gray-300)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-green-500{color:var(--color-green-500)}.text-green-600{color:var(--color-green-600)}.text-green-700{color:var(--color-green-700)}.text-green-800{color:var(--color-green-800)}.text-indigo-500{color:var(--color-indigo-500)}.text-indigo-600{color:var(--color-indigo-600)}.text-indigo-800{color:var(--color-indigo-800)}.text-lime-500{color:var(--color-lime-500)}.text-lime-800{color:var(--color-lime-800)}.text-orange-500{color:var(--color-orange-500)}.text-orange-600{color:var(--color-orange-600)}.text-orange-800{color:var(--color-orange-800)}.text-pink-500{color:var(--color-pink-500)}.text-pink-600{color:var(--color-pink-600)}.text-pink-800{color:var(--color-pink-800)}.text-primary-500{color:var(--color-primary-500)}.text-primary-600{color:var(--color-primary-600)}.text-primary-700{color:var(--color-primary-700)}.text-primary-800{color:var(--color-primary-800)}.text-purple-500{color:var(--color-purple-500)}.text-purple-600{color:var(--color-purple-600)}.text-purple-800{color:var(--color-purple-800)}.text-red-400{color:var(--color-red-400)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-red-700{color:var(--color-red-700)}.text-red-800{color:var(--color-red-800)}.text-rose-500{color:var(--color-rose-500)}.text-rose-800{color:var(--color-rose-800)}.text-sky-800{color:var(--color-sky-800)}.text-slate-500{color:var(--color-slate-500)}.text-slate-600{color:var(--color-slate-600)}.text-slate-800{color:var(--color-slate-800)}.text-stone-500{color:var(--color-stone-500)}.text-teal-500{color:var(--color-teal-500)}.text-teal-600{color:var(--color-teal-600)}.text-teal-800{color:var(--color-teal-800)}.text-violet-500{color:var(--color-violet-500)}.text-violet-800{color:var(--color-violet-800)}.text-white{color:var(--color-white)}.text-yellow-500{color:var(--color-yellow-500)}.text-yellow-600{color:var(--color-yellow-600)}.text-yellow-800{color:var(--color-yellow-800)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, )}.placeholder-gray-400::placeholder{color:var(--color-gray-400)}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-80{opacity:.8}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}:is(.\*\:not-first\:border-y-0>*):not(:first-child){border-block-style:var(--tw-border-style);border-block-width:0}:is(:where(.group):focus-within .group-focus-within\:opacity-100){opacity:1}:is(:where(.group):hover .group-hover\:scale-105){--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}:is(:where(.group):hover .group-hover\:text-gray-500){color:var(--color-gray-500)}:is(:where(.group):hover .group-hover\:text-gray-600){color:var(--color-gray-600)}:is(:where(.group):hover .group-hover\:opacity-100),:is(:where(.group):focus-visible .group-focus-visible\:opacity-100){opacity:1}.last\:border-0:last-child{border-style:var(--tw-border-style);border-width:0}.focus-within\:ring-2:focus-within{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-within\:ring-primary-500:focus-within{--tw-ring-color:var(--color-primary-500)}.hover\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.hover\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\:bg-gray-200:hover{background-color:var(--color-gray-200)}.hover\:bg-green-50:hover{background-color:var(--color-green-50)}.hover\:bg-primary-50\/50:hover{background-color:#f0f9ff80}@supports (color:color-mix(in lab,red,red)){.hover\:bg-primary-50\/50:hover{background-color:color-mix(in oklab,var(--color-primary-50) 50%,transparent)}}.hover\:bg-primary-100:hover{background-color:var(--color-primary-100)}.hover\:bg-primary-200:hover{background-color:var(--color-primary-200)}.hover\:bg-primary-700:hover{background-color:var(--color-primary-700)}.hover\:bg-red-50:hover{background-color:var(--color-red-50)}.hover\:bg-red-700:hover{background-color:var(--color-red-700)}.hover\:bg-yellow-50:hover{background-color:var(--color-yellow-50)}.hover\:text-gray-600:hover{color:var(--color-gray-600)}.hover\:text-gray-700:hover{color:var(--color-gray-700)}.hover\:text-gray-900:hover{color:var(--color-gray-900)}.hover\:text-green-500:hover{color:var(--color-green-500)}.hover\:text-green-600:hover{color:var(--color-green-600)}.hover\:text-green-700:hover{color:var(--color-green-700)}.hover\:text-primary-700:hover{color:var(--color-primary-700)}.hover\:text-red-600:hover{color:var(--color-red-600)}.hover\:text-yellow-700:hover{color:var(--color-yellow-700)}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-70:hover{opacity:.7}.hover\:opacity-75:hover{opacity:.75}.hover\:shadow-xs:hover{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:border-transparent:focus{border-color:#0000}.focus\:ring:focus{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-primary-500:focus{--tw-ring-color:var(--color-primary-500)}.focus\:ring-offset-1:focus{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus\:outline-hidden:focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.focus\:outline-hidden:focus{outline-offset:2px;outline:2px solid #0000}}.focus\:ring-inset:focus{--tw-ring-inset:inset}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}@media(min-width:40rem){.sm\:flex{display:flex}}@media(min-width:48rem){.md\:inline{display:inline}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(min-width:64rem){.lg\:fixed{position:fixed}.lg\:inset-y-0{inset-block:0}.lg\:left-64{left:calc(var(--spacing) * 64)}.lg\:col-span-2{grid-column:span 2/span 2}.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:w-64{width:calc(var(--spacing) * 64)}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.lg\:flex-col{flex-direction:column}.lg\:p-6{padding:calc(var(--spacing) * 6)}.lg\:px-6{padding-inline:calc(var(--spacing) * 6)}.lg\:pl-64{padding-left:calc(var(--spacing) * 64)}}@media(min-width:80rem){.xl\:inline{display:inline}}:where(.dark\:divide-amber-900\/30:is(.dark *)>:not(:last-child)){border-color:#78350f4d}@supports (color:color-mix(in lab,red,red)){:where(.dark\:divide-amber-900\/30:is(.dark *)>:not(:last-child)){border-color:color-mix(in oklab,var(--color-amber-900) 30%,transparent)}}:where(.dark\:divide-gray-700:is(.dark *)>:not(:last-child)){border-color:var(--color-gray-700)}:where(.dark\:divide-gray-700\/50:is(.dark *)>:not(:last-child)){border-color:#37415180}@supports (color:color-mix(in lab,red,red)){:where(.dark\:divide-gray-700\/50:is(.dark *)>:not(:last-child)){border-color:color-mix(in oklab,var(--color-gray-700) 50%,transparent)}}:where(.dark\:divide-gray-800:is(.dark *)>:not(:last-child)){border-color:var(--color-gray-800)}:where(.dark\:divide-red-800:is(.dark *)>:not(:last-child)){border-color:var(--color-red-800)}:where(.dark\:divide-red-900\/30:is(.dark *)>:not(:last-child)){border-color:#7f1d1d4d}@supports (color:color-mix(in lab,red,red)){:where(.dark\:divide-red-900\/30:is(.dark *)>:not(:last-child)){border-color:color-mix(in oklab,var(--color-red-900) 30%,transparent)}}.dark\:border-amber-700\/50:is(.dark *){border-color:#b4530980}@supports (color:color-mix(in lab,red,red)){.dark\:border-amber-700\/50:is(.dark *){border-color:color-mix(in oklab,var(--color-amber-700) 50%,transparent)}}.dark\:border-amber-800:is(.dark *){border-color:var(--color-amber-800)}.dark\:border-gray-600:is(.dark *){border-color:var(--color-gray-600)}.dark\:border-gray-700:is(.dark *){border-color:var(--color-gray-700)}.dark\:border-gray-700\/50:is(.dark *){border-color:#37415180}@supports (color:color-mix(in lab,red,red)){.dark\:border-gray-700\/50:is(.dark *){border-color:color-mix(in oklab,var(--color-gray-700) 50%,transparent)}}.dark\:border-gray-800:is(.dark *){border-color:var(--color-gray-800)}.dark\:border-primary-400:is(.dark *){border-color:var(--color-primary-400)}.dark\:border-red-700\/50:is(.dark *){border-color:#b91c1c80}@supports (color:color-mix(in lab,red,red)){.dark\:border-red-700\/50:is(.dark *){border-color:color-mix(in oklab,var(--color-red-700) 50%,transparent)}}.dark\:border-red-800:is(.dark *){border-color:var(--color-red-800)}.dark\:bg-amber-900:is(.dark *){background-color:var(--color-amber-900)}.dark\:bg-amber-900\/20:is(.dark *){background-color:#78350f33}@supports (color:color-mix(in lab,red,red)){.dark\:bg-amber-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-amber-900) 20%,transparent)}}.dark\:bg-amber-900\/30:is(.dark *){background-color:#78350f4d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-amber-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-amber-900) 30%,transparent)}}.dark\:bg-amber-900\/40:is(.dark *){background-color:#78350f66}@supports (color:color-mix(in lab,red,red)){.dark\:bg-amber-900\/40:is(.dark *){background-color:color-mix(in oklab,var(--color-amber-900) 40%,transparent)}}.dark\:bg-amber-900\/50:is(.dark *){background-color:#78350f80}@supports (color:color-mix(in lab,red,red)){.dark\:bg-amber-900\/50:is(.dark *){background-color:color-mix(in oklab,var(--color-amber-900) 50%,transparent)}}.dark\:bg-blue-500:is(.dark *){background-color:var(--color-blue-500)}.dark\:bg-blue-900:is(.dark *){background-color:var(--color-blue-900)}.dark\:bg-blue-900\/20:is(.dark *){background-color:#1e3a8a33}@supports (color:color-mix(in lab,red,red)){.dark\:bg-blue-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-blue-900) 20%,transparent)}}.dark\:bg-blue-900\/30:is(.dark *){background-color:#1e3a8a4d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-blue-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-blue-900) 30%,transparent)}}.dark\:bg-blue-900\/40:is(.dark *){background-color:#1e3a8a66}@supports (color:color-mix(in lab,red,red)){.dark\:bg-blue-900\/40:is(.dark *){background-color:color-mix(in oklab,var(--color-blue-900) 40%,transparent)}}.dark\:bg-cyan-900:is(.dark *){background-color:var(--color-cyan-900)}.dark\:bg-cyan-900\/20:is(.dark *){background-color:#164e6333}@supports (color:color-mix(in lab,red,red)){.dark\:bg-cyan-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-cyan-900) 20%,transparent)}}.dark\:bg-cyan-900\/30:is(.dark *){background-color:#164e634d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-cyan-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-cyan-900) 30%,transparent)}}.dark\:bg-emerald-900:is(.dark *){background-color:var(--color-emerald-900)}.dark\:bg-emerald-900\/20:is(.dark *){background-color:#064e3b33}@supports (color:color-mix(in lab,red,red)){.dark\:bg-emerald-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-emerald-900) 20%,transparent)}}.dark\:bg-fuchsia-900:is(.dark *){background-color:var(--color-fuchsia-900)}.dark\:bg-fuchsia-900\/20:is(.dark *){background-color:#701a7533}@supports (color:color-mix(in lab,red,red)){.dark\:bg-fuchsia-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-fuchsia-900) 20%,transparent)}}.dark\:bg-gray-600:is(.dark *){background-color:var(--color-gray-600)}.dark\:bg-gray-700:is(.dark *){background-color:var(--color-gray-700)}.dark\:bg-gray-700\/30:is(.dark *){background-color:#3741514d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-gray-700\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-gray-700) 30%,transparent)}}.dark\:bg-gray-700\/50:is(.dark *){background-color:#37415180}@supports (color:color-mix(in lab,red,red)){.dark\:bg-gray-700\/50:is(.dark *){background-color:color-mix(in oklab,var(--color-gray-700) 50%,transparent)}}.dark\:bg-gray-800:is(.dark *){background-color:var(--color-gray-800)}.dark\:bg-gray-800\/25:is(.dark *){background-color:#1f293740}@supports (color:color-mix(in lab,red,red)){.dark\:bg-gray-800\/25:is(.dark *){background-color:color-mix(in oklab,var(--color-gray-800) 25%,transparent)}}.dark\:bg-gray-800\/30:is(.dark *){background-color:#1f29374d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-gray-800\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-gray-800) 30%,transparent)}}.dark\:bg-gray-800\/50:is(.dark *){background-color:#1f293780}@supports (color:color-mix(in lab,red,red)){.dark\:bg-gray-800\/50:is(.dark *){background-color:color-mix(in oklab,var(--color-gray-800) 50%,transparent)}}.dark\:bg-gray-900:is(.dark *){background-color:var(--color-gray-900)}.dark\:bg-gray-900\/50:is(.dark *){background-color:#11182780}@supports (color:color-mix(in lab,red,red)){.dark\:bg-gray-900\/50:is(.dark *){background-color:color-mix(in oklab,var(--color-gray-900) 50%,transparent)}}.dark\:bg-gray-950:is(.dark *){background-color:var(--color-gray-950)}.dark\:bg-green-900:is(.dark *){background-color:var(--color-green-900)}.dark\:bg-green-900\/20:is(.dark *){background-color:#14532d33}@supports (color:color-mix(in lab,red,red)){.dark\:bg-green-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-green-900) 20%,transparent)}}.dark\:bg-green-900\/30:is(.dark *){background-color:#14532d4d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-green-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-green-900) 30%,transparent)}}.dark\:bg-green-900\/40:is(.dark *){background-color:#14532d66}@supports (color:color-mix(in lab,red,red)){.dark\:bg-green-900\/40:is(.dark *){background-color:color-mix(in oklab,var(--color-green-900) 40%,transparent)}}.dark\:bg-indigo-400:is(.dark *){background-color:var(--color-indigo-400)}.dark\:bg-indigo-900\/20:is(.dark *){background-color:#312e8133}@supports (color:color-mix(in lab,red,red)){.dark\:bg-indigo-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-indigo-900) 20%,transparent)}}.dark\:bg-indigo-900\/30:is(.dark *){background-color:#312e814d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-indigo-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-indigo-900) 30%,transparent)}}.dark\:bg-indigo-900\/40:is(.dark *){background-color:#312e8166}@supports (color:color-mix(in lab,red,red)){.dark\:bg-indigo-900\/40:is(.dark *){background-color:color-mix(in oklab,var(--color-indigo-900) 40%,transparent)}}.dark\:bg-lime-900:is(.dark *){background-color:var(--color-lime-900)}.dark\:bg-lime-900\/20:is(.dark *){background-color:#36531433}@supports (color:color-mix(in lab,red,red)){.dark\:bg-lime-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-lime-900) 20%,transparent)}}.dark\:bg-orange-900:is(.dark *){background-color:var(--color-orange-900)}.dark\:bg-orange-900\/20:is(.dark *){background-color:#7c2d1233}@supports (color:color-mix(in lab,red,red)){.dark\:bg-orange-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-orange-900) 20%,transparent)}}.dark\:bg-orange-900\/30:is(.dark *){background-color:#7c2d124d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-orange-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-orange-900) 30%,transparent)}}.dark\:bg-pink-900:is(.dark *){background-color:var(--color-pink-900)}.dark\:bg-pink-900\/20:is(.dark *){background-color:#83184333}@supports (color:color-mix(in lab,red,red)){.dark\:bg-pink-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-pink-900) 20%,transparent)}}.dark\:bg-pink-900\/40:is(.dark *){background-color:#83184366}@supports (color:color-mix(in lab,red,red)){.dark\:bg-pink-900\/40:is(.dark *){background-color:color-mix(in oklab,var(--color-pink-900) 40%,transparent)}}.dark\:bg-primary-500:is(.dark *){background-color:var(--color-primary-500)}.dark\:bg-primary-800:is(.dark *){background-color:var(--color-primary-800)}.dark\:bg-primary-900\/20:is(.dark *){background-color:#0c4a6e33}@supports (color:color-mix(in lab,red,red)){.dark\:bg-primary-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-primary-900) 20%,transparent)}}.dark\:bg-primary-900\/30:is(.dark *){background-color:#0c4a6e4d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-primary-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-primary-900) 30%,transparent)}}.dark\:bg-primary-900\/50:is(.dark *){background-color:#0c4a6e80}@supports (color:color-mix(in lab,red,red)){.dark\:bg-primary-900\/50:is(.dark *){background-color:color-mix(in oklab,var(--color-primary-900) 50%,transparent)}}.dark\:bg-purple-900:is(.dark *){background-color:var(--color-purple-900)}.dark\:bg-purple-900\/20:is(.dark *){background-color:#581c8733}@supports (color:color-mix(in lab,red,red)){.dark\:bg-purple-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-purple-900) 20%,transparent)}}.dark\:bg-purple-900\/30:is(.dark *){background-color:#581c874d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-purple-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-purple-900) 30%,transparent)}}.dark\:bg-purple-900\/40:is(.dark *){background-color:#581c8766}@supports (color:color-mix(in lab,red,red)){.dark\:bg-purple-900\/40:is(.dark *){background-color:color-mix(in oklab,var(--color-purple-900) 40%,transparent)}}.dark\:bg-red-900:is(.dark *){background-color:var(--color-red-900)}.dark\:bg-red-900\/10:is(.dark *){background-color:#7f1d1d1a}@supports (color:color-mix(in lab,red,red)){.dark\:bg-red-900\/10:is(.dark *){background-color:color-mix(in oklab,var(--color-red-900) 10%,transparent)}}.dark\:bg-red-900\/20:is(.dark *){background-color:#7f1d1d33}@supports (color:color-mix(in lab,red,red)){.dark\:bg-red-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-red-900) 20%,transparent)}}.dark\:bg-red-900\/30:is(.dark *){background-color:#7f1d1d4d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-red-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-red-900) 30%,transparent)}}.dark\:bg-red-900\/40:is(.dark *){background-color:#7f1d1d66}@supports (color:color-mix(in lab,red,red)){.dark\:bg-red-900\/40:is(.dark *){background-color:color-mix(in oklab,var(--color-red-900) 40%,transparent)}}.dark\:bg-red-900\/50:is(.dark *){background-color:#7f1d1d80}@supports (color:color-mix(in lab,red,red)){.dark\:bg-red-900\/50:is(.dark *){background-color:color-mix(in oklab,var(--color-red-900) 50%,transparent)}}.dark\:bg-rose-900:is(.dark *){background-color:var(--color-rose-900)}.dark\:bg-rose-900\/20:is(.dark *){background-color:#88133733}@supports (color:color-mix(in lab,red,red)){.dark\:bg-rose-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-rose-900) 20%,transparent)}}.dark\:bg-sky-900:is(.dark *){background-color:var(--color-sky-900)}.dark\:bg-slate-700:is(.dark *){background-color:var(--color-slate-700)}.dark\:bg-slate-700\/30:is(.dark *){background-color:#3341554d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-slate-700\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-slate-700) 30%,transparent)}}.dark\:bg-stone-700\/30:is(.dark *){background-color:#44403c4d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-stone-700\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-stone-700) 30%,transparent)}}.dark\:bg-teal-900:is(.dark *){background-color:var(--color-teal-900)}.dark\:bg-teal-900\/20:is(.dark *){background-color:#134e4a33}@supports (color:color-mix(in lab,red,red)){.dark\:bg-teal-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-teal-900) 20%,transparent)}}.dark\:bg-teal-900\/30:is(.dark *){background-color:#134e4a4d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-teal-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-teal-900) 30%,transparent)}}.dark\:bg-teal-900\/40:is(.dark *){background-color:#134e4a66}@supports (color:color-mix(in lab,red,red)){.dark\:bg-teal-900\/40:is(.dark *){background-color:color-mix(in oklab,var(--color-teal-900) 40%,transparent)}}.dark\:bg-violet-900:is(.dark *){background-color:var(--color-violet-900)}.dark\:bg-violet-900\/20:is(.dark *){background-color:#4c1d9533}@supports (color:color-mix(in lab,red,red)){.dark\:bg-violet-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-violet-900) 20%,transparent)}}.dark\:bg-yellow-600:is(.dark *){background-color:var(--color-yellow-600)}.dark\:bg-yellow-900:is(.dark *){background-color:var(--color-yellow-900)}.dark\:bg-yellow-900\/20:is(.dark *){background-color:#713f1233}@supports (color:color-mix(in lab,red,red)){.dark\:bg-yellow-900\/20:is(.dark *){background-color:color-mix(in oklab,var(--color-yellow-900) 20%,transparent)}}.dark\:bg-yellow-900\/30:is(.dark *){background-color:#713f124d}@supports (color:color-mix(in lab,red,red)){.dark\:bg-yellow-900\/30:is(.dark *){background-color:color-mix(in oklab,var(--color-yellow-900) 30%,transparent)}}.dark\:text-amber-200:is(.dark *){color:var(--color-amber-200)}.dark\:text-amber-300:is(.dark *){color:var(--color-amber-300)}.dark\:text-amber-400:is(.dark *){color:var(--color-amber-400)}.dark\:text-blue-200:is(.dark *){color:var(--color-blue-200)}.dark\:text-blue-300:is(.dark *){color:var(--color-blue-300)}.dark\:text-blue-400:is(.dark *){color:var(--color-blue-400)}.dark\:text-cyan-200:is(.dark *){color:var(--color-cyan-200)}.dark\:text-cyan-400:is(.dark *){color:var(--color-cyan-400)}.dark\:text-emerald-400:is(.dark *){color:var(--color-emerald-400)}.dark\:text-fuchsia-400:is(.dark *){color:var(--color-fuchsia-400)}.dark\:text-gray-100:is(.dark *){color:var(--color-gray-100)}.dark\:text-gray-200:is(.dark *){color:var(--color-gray-200)}.dark\:text-gray-300:is(.dark *){color:var(--color-gray-300)}.dark\:text-gray-400:is(.dark *){color:var(--color-gray-400)}.dark\:text-gray-500:is(.dark *){color:var(--color-gray-500)}.dark\:text-gray-600:is(.dark *){color:var(--color-gray-600)}.dark\:text-green-200:is(.dark *){color:var(--color-green-200)}.dark\:text-green-300:is(.dark *){color:var(--color-green-300)}.dark\:text-green-400:is(.dark *){color:var(--color-green-400)}.dark\:text-indigo-300:is(.dark *){color:var(--color-indigo-300)}.dark\:text-indigo-400:is(.dark *){color:var(--color-indigo-400)}.dark\:text-lime-400:is(.dark *){color:var(--color-lime-400)}.dark\:text-orange-200:is(.dark *){color:var(--color-orange-200)}.dark\:text-orange-400:is(.dark *){color:var(--color-orange-400)}.dark\:text-pink-200:is(.dark *){color:var(--color-pink-200)}.dark\:text-pink-300:is(.dark *){color:var(--color-pink-300)}.dark\:text-pink-400:is(.dark *){color:var(--color-pink-400)}.dark\:text-primary-200:is(.dark *){color:var(--color-primary-200)}.dark\:text-primary-300:is(.dark *){color:var(--color-primary-300)}.dark\:text-primary-400:is(.dark *){color:var(--color-primary-400)}.dark\:text-purple-200:is(.dark *){color:var(--color-purple-200)}.dark\:text-purple-300:is(.dark *){color:var(--color-purple-300)}.dark\:text-purple-400:is(.dark *){color:var(--color-purple-400)}.dark\:text-red-200:is(.dark *){color:var(--color-red-200)}.dark\:text-red-300:is(.dark *){color:var(--color-red-300)}.dark\:text-red-400:is(.dark *){color:var(--color-red-400)}.dark\:text-rose-400:is(.dark *){color:var(--color-rose-400)}.dark\:text-sky-400:is(.dark *){color:var(--color-sky-400)}.dark\:text-slate-300:is(.dark *){color:var(--color-slate-300)}.dark\:text-slate-400:is(.dark *){color:var(--color-slate-400)}.dark\:text-teal-300:is(.dark *){color:var(--color-teal-300)}.dark\:text-teal-400:is(.dark *){color:var(--color-teal-400)}.dark\:text-violet-400:is(.dark *){color:var(--color-violet-400)}.dark\:text-white:is(.dark *){color:var(--color-white)}.dark\:text-yellow-200:is(.dark *){color:var(--color-yellow-200)}.dark\:text-yellow-400:is(.dark *){color:var(--color-yellow-400)}.dark\:placeholder-gray-500:is(.dark *)::placeholder{color:var(--color-gray-500)}:is(:where(.group):hover .dark\:group-hover\:text-gray-300:is(.dark *)){color:var(--color-gray-300)}:is(:where(.group):hover .dark\:group-hover\:text-gray-400:is(.dark *)){color:var(--color-gray-400)}.dark\:hover\:bg-gray-600:is(.dark *):hover{background-color:var(--color-gray-600)}.dark\:hover\:bg-gray-700:is(.dark *):hover{background-color:var(--color-gray-700)}.dark\:hover\:bg-gray-700\/30:is(.dark *):hover{background-color:#3741514d}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-gray-700\/30:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-gray-700) 30%,transparent)}}.dark\:hover\:bg-gray-700\/50:is(.dark *):hover{background-color:#37415180}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-gray-700\/50:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-gray-700) 50%,transparent)}}.dark\:hover\:bg-gray-800:is(.dark *):hover{background-color:var(--color-gray-800)}.dark\:hover\:bg-gray-800\/50:is(.dark *):hover{background-color:#1f293780}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-gray-800\/50:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-gray-800) 50%,transparent)}}.dark\:hover\:bg-green-900\/20:is(.dark *):hover{background-color:#14532d33}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-green-900\/20:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-green-900) 20%,transparent)}}.dark\:hover\:bg-primary-900\/10:is(.dark *):hover{background-color:#0c4a6e1a}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-primary-900\/10:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-primary-900) 10%,transparent)}}.dark\:hover\:bg-primary-900\/30:is(.dark *):hover{background-color:#0c4a6e4d}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-primary-900\/30:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-primary-900) 30%,transparent)}}.dark\:hover\:bg-primary-900\/50:is(.dark *):hover{background-color:#0c4a6e80}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-primary-900\/50:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-primary-900) 50%,transparent)}}.dark\:hover\:bg-red-900\/20:is(.dark *):hover{background-color:#7f1d1d33}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-red-900\/20:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-red-900) 20%,transparent)}}.dark\:hover\:bg-white\/5:is(.dark *):hover{background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-white\/5:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-white) 5%,transparent)}}.dark\:hover\:bg-yellow-900\/20:is(.dark *):hover{background-color:#713f1233}@supports (color:color-mix(in lab,red,red)){.dark\:hover\:bg-yellow-900\/20:is(.dark *):hover{background-color:color-mix(in oklab,var(--color-yellow-900) 20%,transparent)}}.dark\:hover\:text-gray-200:is(.dark *):hover{color:var(--color-gray-200)}.dark\:hover\:text-gray-300:is(.dark *):hover{color:var(--color-gray-300)}.dark\:hover\:text-gray-400:is(.dark *):hover{color:var(--color-gray-400)}.dark\:hover\:text-green-300:is(.dark *):hover{color:var(--color-green-300)}.dark\:hover\:text-red-400:is(.dark *):hover{color:var(--color-red-400)}.dark\:hover\:text-white:is(.dark *):hover{color:var(--color-white)}.dark\:hover\:text-yellow-300:is(.dark *):hover{color:var(--color-yellow-300)}}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background-color:var(--color-gray-100)}:is(.dark,.dark *)::-webkit-scrollbar-track{background-color:var(--color-gray-800)}::-webkit-scrollbar-thumb{border-radius:var(--radius-sm);background-color:var(--color-gray-300)}:is(.dark,.dark *)::-webkit-scrollbar-thumb{background-color:var(--color-gray-600)}::-webkit-scrollbar-thumb:hover{background-color:var(--color-gray-400)}:is(.dark,.dark *)::-webkit-scrollbar-thumb:hover{background-color:var(--color-gray-500)}code{font-family:var(--font-mono)}.sql-keyword{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold);color:var(--color-blue-600)}.sql-keyword:is(.dark *){color:var(--color-blue-400)}.sql-string{color:var(--color-green-600)}.sql-string:is(.dark *){color:var(--color-green-400)}.sql-number{color:var(--color-amber-600)}.sql-number:is(.dark *){color:var(--color-yellow-400)}.sql-param{color:var(--color-purple-600)}.sql-param:is(.dark *){color:var(--color-purple-400)}.highlight-new{background-color:var(--color-primary-100)!important}.highlight-new:is(.dark *){background-color:#0c4a6e4d!important}@supports (color:color-mix(in lab,red,red)){.highlight-new:is(.dark *){background-color:color-mix(in oklab,var(--color-primary-900) 30%,transparent)!important}}.mail-preview{color-scheme:light}.mail-preview *{color:inherit}.mail-preview a{color:#2563eb}.mail-preview img{max-width:100%;height:auto}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}
@@ -1,4 +1,4 @@
1
- import{c}from"./index-CNTaNUkj.js";/**
1
+ import{c}from"./index-BaD1MX7a.js";/**
2
2
  * @license lucide-react v0.468.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
1
- import{c as a}from"./index-CNTaNUkj.js";/**
1
+ import{c as a}from"./index-BaD1MX7a.js";/**
2
2
  * @license lucide-react v0.468.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
1
- import{c as e}from"./index-CNTaNUkj.js";/**
1
+ import{c as e}from"./index-BaD1MX7a.js";/**
2
2
  * @license lucide-react v0.468.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1 +1 @@
1
- import{j as E}from"./index-CNTaNUkj.js";import{f as D,b as d,e as C,u as L}from"./vendor-DBTT3jXp.js";import{g as R,h as w}from"./date-Dwgqy666.js";const T={request:{displayName:"Request",pluralName:"Requests",route:"requests",icon:"Globe",measuresDuration:!0,filters:{methods:{urlKey:"methods",displayName:"Method",values:["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS","GRAPHQL"]},statuses:{urlKey:"statuses",displayName:"Status",values:[]},paths:{urlKey:"paths",displayName:"Path",values:[]},controllers:{urlKey:"controllers",displayName:"Controller",values:[]},hostnames:{urlKey:"hostnames",displayName:"Hostname",values:[]},ips:{urlKey:"ips",displayName:"IP",values:[]}}},query:{displayName:"Query",pluralName:"Queries",route:"queries",icon:"Database",measuresDuration:!0,filters:{types:{urlKey:"queryTypes",displayName:"Type",values:["SELECT","INSERT","UPDATE","DELETE","CREATE","ALTER","DROP","TRUNCATE"]},sources:{urlKey:"sources",displayName:"Source",values:["typeorm","prisma","mongoose","sequelize","knex","mikro-orm","drizzle"]}}},exception:{displayName:"Exception",pluralName:"Exceptions",route:"exceptions",icon:"AlertTriangle",measuresDuration:!1,filters:{names:{urlKey:"names",displayName:"Name",values:[]},methods:{urlKey:"methods",displayName:"Method",values:["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]},paths:{urlKey:"paths",displayName:"Path",values:[]}}},log:{displayName:"Log",pluralName:"Logs",route:"logs",icon:"FileText",measuresDuration:!1,filters:{levels:{urlKey:"levels",displayName:"Level",values:["log","error","warn","debug","verbose","fatal","info"]},contexts:{urlKey:"contexts",displayName:"Context",values:[]}}},event:{displayName:"Event",pluralName:"Events",route:"events",icon:"Zap",measuresDuration:!0,filters:{names:{urlKey:"eventNames",displayName:"Event",values:[]}}},job:{displayName:"Job",pluralName:"Jobs",route:"jobs",icon:"Briefcase",measuresDuration:!0,filters:{names:{urlKey:"jobNames",displayName:"Job",values:[]},statuses:{urlKey:"jobStatuses",displayName:"Status",values:["waiting","active","completed","failed","delayed","paused","stuck"]},queues:{urlKey:"queues",displayName:"Queue",values:[]}}},schedule:{displayName:"Schedule",pluralName:"Schedule",route:"schedule",icon:"Clock",measuresDuration:!0,filters:{names:{urlKey:"scheduleNames",displayName:"Task",values:[]},statuses:{urlKey:"scheduleStatuses",displayName:"Status",values:["started","completed","failed","skipped","running"]}}},cache:{displayName:"Cache",pluralName:"Cache",route:"cache",icon:"HardDrive",measuresDuration:!0,filters:{operations:{urlKey:"cacheOperations",displayName:"Operation",values:["get","set","del","clear","has","reset","mget","mset"]}}},mail:{displayName:"Mail",pluralName:"Mail",route:"mail",icon:"Mail",measuresDuration:!0,filters:{statuses:{urlKey:"mailStatuses",displayName:"Status",values:["sent","failed","pending","queued","delivered","bounced","error"]}}},"http-client":{displayName:"HTTP Client",pluralName:"HTTP Client",route:"http-client",icon:"Globe",measuresDuration:!0,filters:{methods:{urlKey:"methods",displayName:"Method",values:["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]},statuses:{urlKey:"statuses",displayName:"Status",values:[]},hostnames:{urlKey:"hostnames",displayName:"Hostname",values:[]}}},redis:{displayName:"Redis",pluralName:"Redis",route:"redis",icon:"Database",measuresDuration:!0,filters:{commands:{urlKey:"redisCommands",displayName:"Command",values:["GET","SET","DEL","HGET","HSET","HDEL","HGETALL","LPUSH","RPUSH","LPOP","RPOP","LRANGE","SADD","SREM","SMEMBERS","ZADD","ZRANGE","ZREM","EXPIRE","TTL","KEYS","SCAN","PING","INFO","INCR","DECR","MGET","MSET","PUBLISH","SUBSCRIBE"]},statuses:{urlKey:"redisStatuses",displayName:"Status",values:["success","failed","error","timeout"]}}},model:{displayName:"Model",pluralName:"Models",route:"models",icon:"Box",measuresDuration:!0,filters:{actions:{urlKey:"modelActions",displayName:"Action",values:["find","findOne","findMany","create","update","delete","save","remove","count","aggregate","upsert","createMany","updateMany","deleteMany"]},entities:{urlKey:"entities",displayName:"Entity",values:[]},sources:{urlKey:"modelSources",displayName:"Source",values:["typeorm","prisma","mongoose","sequelize","mikro-orm","drizzle"]}}},notification:{displayName:"Notification",pluralName:"Notifications",route:"notifications",icon:"Bell",measuresDuration:!0,filters:{types:{urlKey:"notificationTypes",displayName:"Type",values:["email","sms","push","socket","webhook","slack","telegram","discord"]},statuses:{urlKey:"notificationStatuses",displayName:"Status",values:["sent","failed","pending","delivered","read","error","queued"]}}},view:{displayName:"View",pluralName:"Views",route:"views",icon:"Layout",measuresDuration:!0,filters:{formats:{urlKey:"viewFormats",displayName:"Format",values:["html","json","xml","pdf","csv","text","markdown"]},statuses:{urlKey:"viewStatuses",displayName:"Status",values:["rendered","error","failed","cached","success"]}}},command:{displayName:"Command",pluralName:"Commands",route:"commands",icon:"Terminal",measuresDuration:!0,filters:{statuses:{urlKey:"commandStatuses",displayName:"Status",values:["executing","completed","failed","cancelled","timeout","running"]},names:{urlKey:"commandNames",displayName:"Command",values:[]}}},gate:{displayName:"Gate",pluralName:"Gates",route:"gates",icon:"Shield",measuresDuration:!0,filters:{names:{urlKey:"gateNames",displayName:"Gate",values:[]},results:{urlKey:"gateResults",displayName:"Result",values:["allowed","denied"]}}},batch:{displayName:"Batch",pluralName:"Batches",route:"batches",icon:"Layers",measuresDuration:!0,filters:{operations:{urlKey:"batchOperations",displayName:"Operation",values:["insert","update","delete","upsert","sync"]},statuses:{urlKey:"batchStatuses",displayName:"Status",values:["pending","processing","completed","failed","partial","cancelled"]}}},dump:{displayName:"Dump",pluralName:"Dumps",route:"dumps",icon:"HardDrive",measuresDuration:!0,filters:{operations:{urlKey:"dumpOperations",displayName:"Operation",values:["export","import","backup","restore","migrate","sync"]},formats:{urlKey:"dumpFormats",displayName:"Format",values:["json","csv","xml","sql","yaml","binary","xlsx"]},statuses:{urlKey:"dumpStatuses",displayName:"Status",values:["pending","completed","failed","error","success","cancelled","running"]}}},graphql:{displayName:"GraphQL",pluralName:"GraphQL",route:"graphql",icon:"Hexagon",measuresDuration:!0,filters:{operationTypes:{urlKey:"operationTypes",displayName:"Type",values:["query","mutation","subscription"]},operationNames:{urlKey:"operationNames",displayName:"Operation",values:[]},statuses:{urlKey:"statuses",displayName:"Status",values:[]},ips:{urlKey:"ips",displayName:"IP",values:[]}}}},q={requests:"request",queries:"query",exceptions:"exception",logs:"log",events:"event",jobs:"job",schedule:"schedule",cache:"cache",mail:"mail","http-client":"http-client",redis:"redis",models:"model",notifications:"notification",views:"view",commands:"command",gates:"gate",batches:"batch",dumps:"dump",graphql:"graphql"};function k(e){if(e in T)return T[e];const s=q[e];if(s)return T[s]}const x=k;function B(e){const[s,i]=D(),a=x(e),c=d.useCallback(r=>{if(r==="tags")return"tags";if(!a)return r;const t=a.filters[r];return(t==null?void 0:t.urlKey)||r},[a]),o=d.useMemo(()=>{const r={};if(!a)return r;const t=Object.values(a.filters).map(u=>u.urlKey);t.push("tags","search");for(const u of t){const n=s.get(u);n&&(r[u]=n.split(",").filter(Boolean))}return r},[s,a]),N=d.useCallback((r,t)=>{!a&&r!=="tags"&&console.warn("[useEntryFilters] No config found for entry type, using category as urlKey");const u=c(r),n=o[u]||[];if(!n.includes(t)){const l=new URLSearchParams(s);l.set(u,[...n,t].join(",")),i(l,{replace:!0})}},[a,c,o,s,i]),p=d.useCallback((r,t)=>{const n=(o[r]||[]).filter(f=>f!==t),l=new URLSearchParams(s);n.length>0?l.set(r,n.join(",")):l.delete(r),i(l,{replace:!0})},[o,s,i]),S=d.useCallback(()=>{i({},{replace:!0})},[i]),g=d.useMemo(()=>o,[o]),y=d.useMemo(()=>{if(!a)return[];const r=[];for(const[t,u]of Object.entries(o)){if(u.length===0)continue;let n=t,l=t==="tags"?"Tag":t;for(const[f,h]of Object.entries(a.filters))if(h.urlKey===t){n=f,l=h.displayName;break}r.push({category:n,urlKey:t,displayName:l,values:u})}return r},[o,a]),m=d.useMemo(()=>{const r=[];for(const t of y)for(const u of t.values)r.push({category:t.displayName,value:u.toUpperCase(),onRemove:()=>p(t.urlKey,u)});return r},[y,p]),K=y.length>0;return{addFilter:N,removeFilter:p,clearAll:S,serverFilters:g,activeFilters:y,headerFilters:m,hasFilters:K,getUrlKey:c}}function O(e,s){if(s==="tags")return"tags";const i=x(e);if(!i)return s;const a=i.filters[s];return(a==null?void 0:a.urlKey)||s}const M=["localhost"],A=(e,s)=>{if(s&&s!=="tag")return s;if(/^user:/i.test(e))return"tags";if(/^(\d{1,3}\.){3}\d{1,3}$/.test(e))return"ips";const i=e.toUpperCase();if(w.includes(i))return"methods";const a=parseInt(e,10);return!isNaN(a)&&a>=100&&a<600?"statuses":/^[a-fA-F0-9:]+$/.test(e)&&e.includes(":")&&!e.includes(".")?"ips":e.includes("#")||e.includes("::")||/Controller\./i.test(e)?"controllers":M.includes(e.toLowerCase())||(e.includes(".")||e.includes(":"))&&!e.startsWith("/")&&!/^\d+$/.test(e)?"hostnames":"tags"};function H({children:e,listType:s,filterType:i="tag",filterValue:a,onClick:c,clickable:o=!0,className:N="",ariaLabel:p}){const S=C(),g=L(),y=n=>{if(n.preventDefault(),n.stopPropagation(),c){c(n);return}if(s&&o){const l=a||String(e),f=i&&i!=="tag"?O(s,i):A(l,i),h=g.pathname,v=h===`/${s}`||h.startsWith(`/${s}/`)?new URLSearchParams(g.search):new URLSearchParams,b=v.get(f);if(b){const P=b.split(",");P.includes(l)||v.set(f,[...P,l].join(","))}else v.set(f,l);S(`/${s}?${v.toString()}`)}},m=o&&(!!c||!!s),K=R(String(e)),r=m?"cursor-pointer hover:scale-105 transition-transform":"",t=String(e).toUpperCase(),u=p||(m?`Click to filter by ${t}`:void 0);return E.jsx("span",{onClick:m?y:void 0,role:m?"button":void 0,"aria-label":u,tabIndex:m?0:void 0,onKeyDown:m?n=>{(n.key==="Enter"||n.key===" ")&&(n.preventDefault(),y(n))}:void 0,title:t,className:`inline-flex items-center px-2 py-0.5 rounded text-xs font-bold uppercase tracking-wide max-w-[200px] overflow-hidden text-ellipsis whitespace-nowrap shadow ${K} ${r} ${m?"focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-1":""} ${N}`,children:t})}function I({items:e,listType:s,filterType:i="tag",maxItems:a=99,clickable:c=!0}){if(!e||e.length===0)return null;const o=e.slice(0,a),N=e.length-a;return E.jsxs("div",{className:"flex flex-wrap items-center gap-1",children:[o.map(p=>E.jsx(H,{listType:s,filterType:i,clickable:c,children:p},p)),N>0&&E.jsxs("span",{className:"text-xs text-gray-500 dark:text-gray-400",children:["+",N]})]})}function $(e){return e.type==="request"}function Q(e){return e.type==="query"}function V(e){return e.type==="exception"}function z(e){return e.type==="log"}function J(e){return e.type==="cache"}function Y(e){return e.type==="event"}function Z(e){return e.type==="job"}function _(e){return e.type==="schedule"}function W(e){return e.type==="mail"}function X(e){return e.type==="http-client"}function ee(e){return e.type==="redis"}function se(e){return e.type==="model"}function te(e){return e.type==="notification"}function ae(e){return e.type==="view"}function re(e){return e.type==="command"}function ne(e){return e.type==="gate"}function ie(e){return e.type==="batch"}function ue(e){return e.type==="dump"}function le(e){return e.type==="graphql"}export{I as B,H as C,Q as a,V as b,z as c,Y as d,Z as e,J as f,W as g,_ as h,$ as i,X as j,ee as k,se as l,te as m,ae as n,re as o,ne as p,ie as q,ue as r,le as s,x as t,B as u};
1
+ import{j as E}from"./index-BaD1MX7a.js";import{f as D,b as d,e as C,u as L}from"./vendor-DBTT3jXp.js";import{g as R,h as w}from"./date-Dwgqy666.js";const T={request:{displayName:"Request",pluralName:"Requests",route:"requests",icon:"Globe",measuresDuration:!0,filters:{methods:{urlKey:"methods",displayName:"Method",values:["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS","GRAPHQL"]},statuses:{urlKey:"statuses",displayName:"Status",values:[]},paths:{urlKey:"paths",displayName:"Path",values:[]},controllers:{urlKey:"controllers",displayName:"Controller",values:[]},hostnames:{urlKey:"hostnames",displayName:"Hostname",values:[]},ips:{urlKey:"ips",displayName:"IP",values:[]}}},query:{displayName:"Query",pluralName:"Queries",route:"queries",icon:"Database",measuresDuration:!0,filters:{types:{urlKey:"queryTypes",displayName:"Type",values:["SELECT","INSERT","UPDATE","DELETE","CREATE","ALTER","DROP","TRUNCATE"]},sources:{urlKey:"sources",displayName:"Source",values:["typeorm","prisma","mongoose","sequelize","knex","mikro-orm","drizzle"]}}},exception:{displayName:"Exception",pluralName:"Exceptions",route:"exceptions",icon:"AlertTriangle",measuresDuration:!1,filters:{names:{urlKey:"names",displayName:"Name",values:[]},methods:{urlKey:"methods",displayName:"Method",values:["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]},paths:{urlKey:"paths",displayName:"Path",values:[]}}},log:{displayName:"Log",pluralName:"Logs",route:"logs",icon:"FileText",measuresDuration:!1,filters:{levels:{urlKey:"levels",displayName:"Level",values:["log","error","warn","debug","verbose","fatal","info"]},contexts:{urlKey:"contexts",displayName:"Context",values:[]}}},event:{displayName:"Event",pluralName:"Events",route:"events",icon:"Zap",measuresDuration:!0,filters:{names:{urlKey:"eventNames",displayName:"Event",values:[]}}},job:{displayName:"Job",pluralName:"Jobs",route:"jobs",icon:"Briefcase",measuresDuration:!0,filters:{names:{urlKey:"jobNames",displayName:"Job",values:[]},statuses:{urlKey:"jobStatuses",displayName:"Status",values:["waiting","active","completed","failed","delayed","paused","stuck"]},queues:{urlKey:"queues",displayName:"Queue",values:[]}}},schedule:{displayName:"Schedule",pluralName:"Schedule",route:"schedule",icon:"Clock",measuresDuration:!0,filters:{names:{urlKey:"scheduleNames",displayName:"Task",values:[]},statuses:{urlKey:"scheduleStatuses",displayName:"Status",values:["started","completed","failed","skipped","running"]}}},cache:{displayName:"Cache",pluralName:"Cache",route:"cache",icon:"HardDrive",measuresDuration:!0,filters:{operations:{urlKey:"cacheOperations",displayName:"Operation",values:["get","set","del","clear","has","reset","mget","mset"]}}},mail:{displayName:"Mail",pluralName:"Mail",route:"mail",icon:"Mail",measuresDuration:!0,filters:{statuses:{urlKey:"mailStatuses",displayName:"Status",values:["sent","failed","pending","queued","delivered","bounced","error"]}}},"http-client":{displayName:"HTTP Client",pluralName:"HTTP Client",route:"http-client",icon:"Globe",measuresDuration:!0,filters:{methods:{urlKey:"methods",displayName:"Method",values:["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]},statuses:{urlKey:"statuses",displayName:"Status",values:[]},hostnames:{urlKey:"hostnames",displayName:"Hostname",values:[]}}},redis:{displayName:"Redis",pluralName:"Redis",route:"redis",icon:"Database",measuresDuration:!0,filters:{commands:{urlKey:"redisCommands",displayName:"Command",values:["GET","SET","DEL","HGET","HSET","HDEL","HGETALL","LPUSH","RPUSH","LPOP","RPOP","LRANGE","SADD","SREM","SMEMBERS","ZADD","ZRANGE","ZREM","EXPIRE","TTL","KEYS","SCAN","PING","INFO","INCR","DECR","MGET","MSET","PUBLISH","SUBSCRIBE"]},statuses:{urlKey:"redisStatuses",displayName:"Status",values:["success","failed","error","timeout"]}}},model:{displayName:"Model",pluralName:"Models",route:"models",icon:"Box",measuresDuration:!0,filters:{actions:{urlKey:"modelActions",displayName:"Action",values:["find","findOne","findMany","create","update","delete","save","remove","count","aggregate","upsert","createMany","updateMany","deleteMany"]},entities:{urlKey:"entities",displayName:"Entity",values:[]},sources:{urlKey:"modelSources",displayName:"Source",values:["typeorm","prisma","mongoose","sequelize","mikro-orm","drizzle"]}}},notification:{displayName:"Notification",pluralName:"Notifications",route:"notifications",icon:"Bell",measuresDuration:!0,filters:{types:{urlKey:"notificationTypes",displayName:"Type",values:["email","sms","push","socket","webhook","slack","telegram","discord"]},statuses:{urlKey:"notificationStatuses",displayName:"Status",values:["sent","failed","pending","delivered","read","error","queued"]}}},view:{displayName:"View",pluralName:"Views",route:"views",icon:"Layout",measuresDuration:!0,filters:{formats:{urlKey:"viewFormats",displayName:"Format",values:["html","json","xml","pdf","csv","text","markdown"]},statuses:{urlKey:"viewStatuses",displayName:"Status",values:["rendered","error","failed","cached","success"]}}},command:{displayName:"Command",pluralName:"Commands",route:"commands",icon:"Terminal",measuresDuration:!0,filters:{statuses:{urlKey:"commandStatuses",displayName:"Status",values:["executing","completed","failed","cancelled","timeout","running"]},names:{urlKey:"commandNames",displayName:"Command",values:[]}}},gate:{displayName:"Gate",pluralName:"Gates",route:"gates",icon:"Shield",measuresDuration:!0,filters:{names:{urlKey:"gateNames",displayName:"Gate",values:[]},results:{urlKey:"gateResults",displayName:"Result",values:["allowed","denied"]}}},batch:{displayName:"Batch",pluralName:"Batches",route:"batches",icon:"Layers",measuresDuration:!0,filters:{operations:{urlKey:"batchOperations",displayName:"Operation",values:["insert","update","delete","upsert","sync"]},statuses:{urlKey:"batchStatuses",displayName:"Status",values:["pending","processing","completed","failed","partial","cancelled"]}}},dump:{displayName:"Dump",pluralName:"Dumps",route:"dumps",icon:"HardDrive",measuresDuration:!0,filters:{operations:{urlKey:"dumpOperations",displayName:"Operation",values:["export","import","backup","restore","migrate","sync"]},formats:{urlKey:"dumpFormats",displayName:"Format",values:["json","csv","xml","sql","yaml","binary","xlsx"]},statuses:{urlKey:"dumpStatuses",displayName:"Status",values:["pending","completed","failed","error","success","cancelled","running"]}}},graphql:{displayName:"GraphQL",pluralName:"GraphQL",route:"graphql",icon:"Hexagon",measuresDuration:!0,filters:{operationTypes:{urlKey:"operationTypes",displayName:"Type",values:["query","mutation","subscription"]},operationNames:{urlKey:"operationNames",displayName:"Operation",values:[]},statuses:{urlKey:"statuses",displayName:"Status",values:[]},ips:{urlKey:"ips",displayName:"IP",values:[]}}}},q={requests:"request",queries:"query",exceptions:"exception",logs:"log",events:"event",jobs:"job",schedule:"schedule",cache:"cache",mail:"mail","http-client":"http-client",redis:"redis",models:"model",notifications:"notification",views:"view",commands:"command",gates:"gate",batches:"batch",dumps:"dump",graphql:"graphql"};function k(e){if(e in T)return T[e];const s=q[e];if(s)return T[s]}const x=k;function B(e){const[s,i]=D(),a=x(e),c=d.useCallback(r=>{if(r==="tags")return"tags";if(!a)return r;const t=a.filters[r];return(t==null?void 0:t.urlKey)||r},[a]),o=d.useMemo(()=>{const r={};if(!a)return r;const t=Object.values(a.filters).map(u=>u.urlKey);t.push("tags","search");for(const u of t){const n=s.get(u);n&&(r[u]=n.split(",").filter(Boolean))}return r},[s,a]),N=d.useCallback((r,t)=>{!a&&r!=="tags"&&console.warn("[useEntryFilters] No config found for entry type, using category as urlKey");const u=c(r),n=o[u]||[];if(!n.includes(t)){const l=new URLSearchParams(s);l.set(u,[...n,t].join(",")),i(l,{replace:!0})}},[a,c,o,s,i]),p=d.useCallback((r,t)=>{const n=(o[r]||[]).filter(f=>f!==t),l=new URLSearchParams(s);n.length>0?l.set(r,n.join(",")):l.delete(r),i(l,{replace:!0})},[o,s,i]),S=d.useCallback(()=>{i({},{replace:!0})},[i]),g=d.useMemo(()=>o,[o]),y=d.useMemo(()=>{if(!a)return[];const r=[];for(const[t,u]of Object.entries(o)){if(u.length===0)continue;let n=t,l=t==="tags"?"Tag":t;for(const[f,h]of Object.entries(a.filters))if(h.urlKey===t){n=f,l=h.displayName;break}r.push({category:n,urlKey:t,displayName:l,values:u})}return r},[o,a]),m=d.useMemo(()=>{const r=[];for(const t of y)for(const u of t.values)r.push({category:t.displayName,value:u.toUpperCase(),onRemove:()=>p(t.urlKey,u)});return r},[y,p]),K=y.length>0;return{addFilter:N,removeFilter:p,clearAll:S,serverFilters:g,activeFilters:y,headerFilters:m,hasFilters:K,getUrlKey:c}}function O(e,s){if(s==="tags")return"tags";const i=x(e);if(!i)return s;const a=i.filters[s];return(a==null?void 0:a.urlKey)||s}const M=["localhost"],A=(e,s)=>{if(s&&s!=="tag")return s;if(/^user:/i.test(e))return"tags";if(/^(\d{1,3}\.){3}\d{1,3}$/.test(e))return"ips";const i=e.toUpperCase();if(w.includes(i))return"methods";const a=parseInt(e,10);return!isNaN(a)&&a>=100&&a<600?"statuses":/^[a-fA-F0-9:]+$/.test(e)&&e.includes(":")&&!e.includes(".")?"ips":e.includes("#")||e.includes("::")||/Controller\./i.test(e)?"controllers":M.includes(e.toLowerCase())||(e.includes(".")||e.includes(":"))&&!e.startsWith("/")&&!/^\d+$/.test(e)?"hostnames":"tags"};function H({children:e,listType:s,filterType:i="tag",filterValue:a,onClick:c,clickable:o=!0,className:N="",ariaLabel:p}){const S=C(),g=L(),y=n=>{if(n.preventDefault(),n.stopPropagation(),c){c(n);return}if(s&&o){const l=a||String(e),f=i&&i!=="tag"?O(s,i):A(l,i),h=g.pathname,v=h===`/${s}`||h.startsWith(`/${s}/`)?new URLSearchParams(g.search):new URLSearchParams,b=v.get(f);if(b){const P=b.split(",");P.includes(l)||v.set(f,[...P,l].join(","))}else v.set(f,l);S(`/${s}?${v.toString()}`)}},m=o&&(!!c||!!s),K=R(String(e)),r=m?"cursor-pointer hover:scale-105 transition-transform":"",t=String(e).toUpperCase(),u=p||(m?`Click to filter by ${t}`:void 0);return E.jsx("span",{onClick:m?y:void 0,role:m?"button":void 0,"aria-label":u,tabIndex:m?0:void 0,onKeyDown:m?n=>{(n.key==="Enter"||n.key===" ")&&(n.preventDefault(),y(n))}:void 0,title:t,className:`inline-flex items-center px-2 py-0.5 rounded-sm text-xs font-bold uppercase tracking-wide max-w-[200px] overflow-hidden text-ellipsis whitespace-nowrap shadow-sm ${K} ${r} ${m?"focus:outline-hidden focus:ring-2 focus:ring-primary-500 focus:ring-offset-1":""} ${N}`,children:t})}function I({items:e,listType:s,filterType:i="tag",maxItems:a=99,clickable:c=!0}){if(!e||e.length===0)return null;const o=e.slice(0,a),N=e.length-a;return E.jsxs("div",{className:"flex flex-wrap items-center gap-1",children:[o.map(p=>E.jsx(H,{listType:s,filterType:i,clickable:c,children:p},p)),N>0&&E.jsxs("span",{className:"text-xs text-gray-500 dark:text-gray-400",children:["+",N]})]})}function $(e){return e.type==="request"}function Q(e){return e.type==="query"}function V(e){return e.type==="exception"}function z(e){return e.type==="log"}function J(e){return e.type==="cache"}function Y(e){return e.type==="event"}function Z(e){return e.type==="job"}function _(e){return e.type==="schedule"}function W(e){return e.type==="mail"}function X(e){return e.type==="http-client"}function ee(e){return e.type==="redis"}function se(e){return e.type==="model"}function te(e){return e.type==="notification"}function ae(e){return e.type==="view"}function re(e){return e.type==="command"}function ne(e){return e.type==="gate"}function ie(e){return e.type==="batch"}function ue(e){return e.type==="dump"}function le(e){return e.type==="graphql"}export{I as B,H as C,Q as a,V as b,z as c,Y as d,Z as e,J as f,W as g,_ as h,$ as i,X as j,ee as k,se as l,te as m,ae as n,re as o,ne as p,ie as q,ue as r,le as s,x as t,B as u};
@@ -1,4 +1,4 @@
1
- import{c as e}from"./index-CNTaNUkj.js";/**
1
+ import{c as e}from"./index-BaD1MX7a.js";/**
2
2
  * @license lucide-react v0.468.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
1
- import{c as a}from"./index-CNTaNUkj.js";/**
1
+ import{c as a}from"./index-BaD1MX7a.js";/**
2
2
  * @license lucide-react v0.468.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -5,9 +5,9 @@
5
5
  <link rel="icon" type="image/svg+xml" href="./nestlens-icon.svg" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>NestLens - Debug Dashboard</title>
8
- <script type="module" crossorigin src="./assets/index-CNTaNUkj.js"></script>
8
+ <script type="module" crossorigin src="./assets/index-BaD1MX7a.js"></script>
9
9
  <link rel="modulepreload" crossorigin href="./assets/vendor-DBTT3jXp.js">
10
- <link rel="stylesheet" crossorigin href="./assets/index-ReuerEhs.css">
10
+ <link rel="stylesheet" crossorigin href="./assets/index-CMvt7uFU.css">
11
11
  </head>
12
12
  <body class="bg-gray-50 dark:bg-gray-900">
13
13
  <div id="root"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nestlens",
3
- "version": "0.17.2",
3
+ "version": "0.17.3",
4
4
  "description": "Laravel Telescope-like debugging and monitoring tool for NestJS",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,21 +0,0 @@
1
- import{c as $,g as pe,j as e,X as he,a as be,z as j,r as fe,u as ke,T as v,D as oe,C as I,A as G,G as ve,F as je,B as Ne,P as we,b as Ee,H,d as Ce,L as Se,e as Te,M as $e,f as qe,R as Pe,h as Me,S as Le,i as X,k as Y,l as Re,m as ee,n as te,o as Ae,p as ae}from"./index-CNTaNUkj.js";import{b as d,e as De,L as Be}from"./vendor-DBTT3jXp.js";import{g as ie,f as C,p as S}from"./date-Dwgqy666.js";import{E as Ie}from"./eye-BlDJOCMu.js";import{Z as Fe}from"./zap-QXV06WYA.js";import{C as Ge}from"./calendar-CMjU8s5-.js";/**
2
- * @license lucide-react v0.468.0 - ISC
3
- *
4
- * This source code is licensed under the ISC license.
5
- * See the LICENSE file in the root directory of this source tree.
6
- */const He=$("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
7
- * @license lucide-react v0.468.0 - ISC
8
- *
9
- * This source code is licensed under the ISC license.
10
- * See the LICENSE file in the root directory of this source tree.
11
- */const ze=$("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
12
- * @license lucide-react v0.468.0 - ISC
13
- *
14
- * This source code is licensed under the ISC license.
15
- * See the LICENSE file in the root directory of this source tree.
16
- */const Qe=$("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]]);/**
17
- * @license lucide-react v0.468.0 - ISC
18
- *
19
- * This source code is licensed under the ISC license.
20
- * See the LICENSE file in the root directory of this source tree.
21
- */const Ke=$("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);function Oe(){const[o,t]=d.useState([]),[g,l]=d.useState(!1),[c,m]=d.useState(""),[s,h]=d.useState(null),u=d.useCallback(async()=>{try{const n=await pe();t(n.data.map(({tag:x,count:k})=>({tag:x,count:k}))),h(null)}catch(n){h(n instanceof Error?n:new Error("Failed to load monitored tags"))}},[]);d.useEffect(()=>{const n=setTimeout(()=>void u(),0);return()=>clearTimeout(n)},[u]);const b=async()=>{const n=c.trim();if(n)try{await be(n),m(""),l(!1),await u(),j.success(`Keeping entries tagged ${n.toUpperCase()}`)}catch(x){j.error(`Could not monitor that tag: ${x instanceof Error?x.message:String(x)}`)}},q=async n=>{try{await fe(n),await u()}catch(x){j.error(`Could not stop monitoring: ${x instanceof Error?x.message:String(x)}`)}};return e.jsxs("div",{className:"pt-3 border-t border-gray-200 dark:border-gray-700","data-testid":"monitored-tags",children:[e.jsxs("div",{className:"flex items-center justify-between mb-2",children:[e.jsxs("div",{className:"flex items-center gap-2 text-gray-600 dark:text-gray-400",children:[e.jsx(Ie,{className:"h-4 w-4"}),e.jsx("span",{className:"text-sm",children:"Kept from pruning"})]}),!g&&e.jsx("button",{onClick:()=>l(!0),"aria-label":"Monitor a tag",className:"p-1 rounded hover:bg-gray-200 dark:hover:bg-gray-700 text-gray-500 focus:outline-none focus:ring-2 focus:ring-primary-500",children:e.jsx(ze,{className:"h-4 w-4"})})]}),s?e.jsxs("p",{className:"text-xs text-red-600 dark:text-red-400",role:"alert",children:[s.message,". This is not a list of nothing being kept."]}):e.jsxs("div",{className:"flex flex-wrap items-center gap-1",children:[o.length===0&&!g&&e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:"No tag is monitored: everything is pruned by age."}),o.map(({tag:n,count:x})=>e.jsxs("span",{className:`inline-flex items-center rounded px-1.5 py-0.5 text-xs font-bold uppercase tracking-wide shadow ${ie(n)}`,children:[n,e.jsx("span",{className:"ml-1 font-normal opacity-80",children:x}),e.jsx("button",{onClick:()=>void q(n),"aria-label":`Stop monitoring ${n}`,className:"ml-1 hover:opacity-70 focus:outline-none focus:ring-2 focus:ring-primary-500 rounded",children:e.jsx(he,{className:"h-3 w-3"})})]},n)),g&&e.jsxs("span",{className:"inline-flex items-center gap-1",children:[e.jsx("input",{type:"text",value:c,onChange:n=>m(n.target.value),onKeyDown:n=>{n.key==="Enter"&&b(),n.key==="Escape"&&l(!1)},placeholder:"Tag to keep...","aria-label":"Tag to monitor",autoFocus:!0,className:"px-2 py-0.5 text-xs border rounded dark:bg-gray-700 dark:border-gray-600 w-28 focus:outline-none focus:ring-2 focus:ring-primary-500"}),e.jsx("button",{onClick:()=>void b(),"aria-label":"Save monitored tag",className:"text-xs text-primary-600 dark:text-primary-400 focus:outline-none focus:ring-2 focus:ring-primary-500 rounded",children:"✓"}),e.jsx("button",{onClick:()=>l(!1),"aria-label":"Cancel monitoring a tag",className:"text-xs text-gray-500 focus:outline-none focus:ring-2 focus:ring-primary-500 rounded",children:"×"})]})]})]})}const le=[{name:"Core",types:[{key:"request",name:"Requests",icon:G,color:"blue",route:"/requests"},{key:"query",name:"Queries",icon:oe,color:"purple",route:"/queries"},{key:"graphql",name:"GraphQL",icon:ve,color:"fuchsia",route:"/graphql"},{key:"exception",name:"Exceptions",icon:v,color:"red",route:"/exceptions"},{key:"log",name:"Logs",icon:je,color:"green",route:"/logs"}]},{name:"Background",types:[{key:"job",name:"Jobs",icon:Ne,color:"yellow",route:"/jobs"},{key:"schedule",name:"Schedule",icon:Ge,color:"gray",route:"/schedule"},{key:"batch",name:"Batches",icon:we,color:"lime",route:"/batches"},{key:"command",name:"Commands",icon:Ee,color:"slate",route:"/commands"}]},{name:"Data",types:[{key:"cache",name:"Cache",icon:H,color:"cyan",route:"/cache"},{key:"redis",name:"Redis",icon:Ce,color:"rose",route:"/redis"},{key:"model",name:"Models",icon:Se,color:"violet",route:"/models"}]},{name:"Communication",types:[{key:"http-client",name:"HTTP Client",icon:Te,color:"indigo",route:"/http-client"},{key:"mail",name:"Mail",icon:$e,color:"pink",route:"/mail"},{key:"notification",name:"Notifications",icon:qe,color:"orange",route:"/notifications"},{key:"event",name:"Events",icon:Pe,color:"emerald",route:"/events"}]},{name:"System",types:[{key:"view",name:"Views",icon:Me,color:"teal",route:"/views"},{key:"gate",name:"Gates",icon:Le,color:"amber",route:"/gates"},{key:"dump",name:"Dumps",icon:H,color:"stone",route:"/dumps"}]}],re=le.flatMap(o=>o.types),se={request:"text-blue-500",query:"text-purple-500",graphql:"text-fuchsia-500",exception:"text-red-500",log:"text-green-500",event:"text-emerald-500",job:"text-yellow-500",cache:"text-cyan-500",mail:"text-pink-500",schedule:"text-gray-500","http-client":"text-indigo-500",redis:"text-rose-500",model:"text-violet-500",notification:"text-orange-500",view:"text-teal-500",command:"text-slate-500",gate:"text-amber-500",batch:"text-lime-500",dump:"text-stone-500"},Ue={request:"bg-blue-50 dark:bg-blue-900/20",query:"bg-purple-50 dark:bg-purple-900/20",graphql:"bg-fuchsia-50 dark:bg-fuchsia-900/20",exception:"bg-red-50 dark:bg-red-900/20",log:"bg-green-50 dark:bg-green-900/20",event:"bg-emerald-50 dark:bg-emerald-900/20",job:"bg-yellow-50 dark:bg-yellow-900/20",cache:"bg-cyan-50 dark:bg-cyan-900/20",mail:"bg-pink-50 dark:bg-pink-900/20",schedule:"bg-gray-50 dark:bg-gray-700/30","http-client":"bg-indigo-50 dark:bg-indigo-900/20",redis:"bg-rose-50 dark:bg-rose-900/20",model:"bg-violet-50 dark:bg-violet-900/20",notification:"bg-orange-50 dark:bg-orange-900/20",view:"bg-teal-50 dark:bg-teal-900/20",command:"bg-slate-50 dark:bg-slate-700/30",gate:"bg-amber-50 dark:bg-amber-900/20",batch:"bg-lime-50 dark:bg-lime-900/20",dump:"bg-stone-50 dark:bg-stone-700/30"};function Ze(o){if(o===0)return"0 B";const t=1024,g=["B","KB","MB","GB"],l=Math.floor(Math.log(o)/Math.log(t));return`${parseFloat((o/Math.pow(t,l)).toFixed(1))} ${g[l]}`}function ne(o){return o<1e3?`${Math.round(o)}ms`:`${(o/1e3).toFixed(2)}s`}function Je(o){const t=o.payload;switch(o.type){case"request":return`${t.method||"GET"} ${t.path||"/"}`;case"query":const g=t.query||"";return g.length>50?g.substring(0,50)+"...":g;case"exception":return t.name||"Exception";case"log":const l=t.message||"";return l.length>50?l.substring(0,50)+"...":l;case"event":return t.name||"Event";case"job":return t.name||"Job";case"cache":return`${(t.operation||"get").toUpperCase()} ${t.key||""}`;case"mail":return t.subject||"Mail";case"schedule":return t.name||"Task";default:return"Entry"}}function Ve(o){const t=o.payload;switch(o.type){case"request":const g=t.statusCode,l=t.duration;return g?`${g} · ${l?ne(l):""}`:null;case"query":const c=t.duration,m=t.slow;return`${c?ne(c):""} ${m?"· SLOW":""}`;case"exception":const s=t.message||"";return s.length>60?s.substring(0,60)+"...":s;case"log":return t.context||null;case"job":return t.queue||null;default:return null}}const F=5;function T({label:o,value:t,subtext:g,icon:l,trend:c,status:m="neutral",onClick:s}){const h={good:"text-emerald-500",warning:"text-amber-500",danger:"text-red-500",neutral:"text-gray-400 dark:text-gray-500"},u={good:"bg-white dark:bg-gray-800 border-gray-200 dark:border-gray-700",warning:"bg-amber-100 dark:bg-amber-900/30 border-amber-300 dark:border-amber-700/50",danger:"bg-red-100 dark:bg-red-900/30 border-red-300 dark:border-red-700/50",neutral:"bg-white dark:bg-gray-800 border-gray-200 dark:border-gray-700"},b=s?"button":"div";return e.jsx(b,{onClick:s,className:`${u[m]} rounded-lg border p-4 ${s?"cursor-pointer hover:shadow-sm transition-all text-left w-full":""}`,children:e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider",children:o}),e.jsxs("div",{className:"flex items-baseline gap-2",children:[e.jsx("p",{className:"text-xl font-semibold text-gray-900 dark:text-white",children:typeof t=="number"?t.toLocaleString():t}),c&&e.jsx("span",{className:`flex items-center ${c==="up"?"text-emerald-500":"text-red-500"}`,children:c==="up"?e.jsx(Ke,{className:"h-3 w-3"}):e.jsx(Qe,{className:"h-3 w-3"})})]}),g&&e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:g})]}),e.jsx("div",{className:"p-2 rounded-lg bg-gray-100 dark:bg-gray-700/50",children:e.jsx(l,{className:`h-5 w-5 ${h[m]}`})})]})})}function at(){const o=De(),{stats:t,error:g,refreshStats:l}=ke(),[c,m]=d.useState(null),[s,h]=d.useState(null),[u,b]=d.useState(!1),[q,n]=d.useState(!0);d.useEffect(()=>{l()},[l]);const[x,k]=d.useState([]),[y,z]=d.useState(!1),[Q,P]=d.useState(1),[K,O]=d.useState(null),[U,ce]=d.useState(0),[Z,M]=d.useState(!1),[L,R]=d.useState(null),[N,A]=d.useState([]);d.useEffect(()=>{const a=async()=>{try{const[i,p]=await Promise.all([ee(),te()]);m(i.data),h(p.data)}catch(i){console.error("Failed to fetch storage/pruning data:",i)}};a();const r=setInterval(a,3e4);return()=>clearInterval(r)},[]);const de=async()=>{var a;b(!0);try{const r=await Ae(),[i,p]=await Promise.all([ee(),te()]);m(i.data),h(p.data),l();const f=((a=r.data)==null?void 0:a.deleted)??0;j.success(f===0?"Nothing was old enough to prune":`Pruned ${f.toLocaleString()} ${f===1?"entry":"entries"}`)}catch(r){j.error(`Could not prune: ${r instanceof Error?r.message:String(r)}`)}finally{b(!1)}};d.useEffect(()=>{let a=!0;return(async()=>{n(!0);try{const i=await ae({limit:F});if(!a)return;k(i.data),ce(i.meta.total),M(i.meta.hasMore),R(i.meta.oldestSequence),P(1),A([]),O(null)}catch(i){if(!a)return;O(i instanceof Error?i:new Error("Failed to load activity"))}finally{a&&n(!1)}})(),()=>{a=!1}},[]);const ge=async()=>{if(!(!Z||!L||y)){z(!0);try{A(r=>[...r,{entries:x,oldestSeq:L}]);const a=await ae({limit:F,beforeSequence:L});k(a.data),M(a.meta.hasMore),R(a.meta.oldestSequence),P(r=>r+1)}catch(a){console.error("Failed to load next page:",a)}finally{z(!1)}}},xe=()=>{if(N.length===0)return;const a=N[N.length-1];A(r=>r.slice(0,-1)),k(a.entries),R(a.oldestSeq),M(!0),P(r=>r-1)},J=N.length>0,V=Z,D=Math.ceil(U/F);if(q)return e.jsx("div",{className:"flex items-center justify-center h-64",role:"status","aria-label":"Loading...",children:e.jsx("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-primary-600"})});if(!t&&g)return e.jsxs("div",{className:"card flex flex-col items-center justify-center py-16 px-4",role:"alert","data-testid":"stats-error",children:[e.jsx("div",{className:"p-3 rounded-full bg-red-50 dark:bg-red-900/20 mb-4",children:e.jsx(v,{className:"h-8 w-8 text-red-500 dark:text-red-400"})}),e.jsx("p",{className:"text-base font-medium text-gray-900 dark:text-white",children:"Could not reach NestLens"}),e.jsxs("p",{className:"mt-1 text-sm text-gray-500 dark:text-gray-400 text-center max-w-md",children:[g.message,". Nothing on this page is known — it is not a report of an idle application."]}),e.jsx("button",{onClick:()=>void l(),className:"mt-5 px-3 py-1.5 rounded-lg text-sm font-medium bg-gray-100 dark:bg-gray-800 text-gray-700 dark:text-gray-200 hover:bg-gray-200 dark:hover:bg-gray-700 transition-colors",children:"Try again"})]});const w=(t==null?void 0:t.byType.request)??0,B=(t==null?void 0:t.byType.exception)??0,W=(t==null?void 0:t.unresolvedExceptions)??B,E=(t==null?void 0:t.avgResponseTime)??0,_=(t==null?void 0:t.slowQueries)??0,me=E<200,ue=a=>{const r=re.find(i=>i.key===a);return(r==null?void 0:r.icon)??G},ye=a=>{const r=re.find(i=>i.key===a);return(r==null?void 0:r.route)||"/"};return e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-4",children:[e.jsx(T,{label:"Entries",value:(t==null?void 0:t.total)??0,subtext:"total recorded",icon:oe,status:"neutral"}),e.jsx(T,{label:"Errors",value:W,subtext:"unresolved exceptions",icon:v,status:W===0?"good":"danger",onClick:()=>o("/exceptions?resolved=false")}),e.jsx(T,{label:"Latency",value:E?`${Math.round(E)}ms`:"N/A",subtext:"avg response time",icon:I,status:E===0?"neutral":me?"good":"warning"}),e.jsx(T,{label:"Slow Queries",value:_,subtext:"exceeding threshold",icon:Fe,status:_===0?"good":"warning",onClick:()=>o("/queries?slow=true")})]}),e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-4",children:le.map(a=>e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 overflow-hidden",children:[e.jsx("div",{className:"px-3 py-2.5 border-b border-gray-100 dark:border-gray-700/50 bg-gray-50/50 dark:bg-gray-800/50",children:e.jsx("h3",{className:"text-xs font-semibold text-gray-500 dark:text-gray-400 uppercase tracking-wider",children:a.name})}),e.jsx("div",{className:"p-2.5",children:a.types.map(r=>{const i=r.key==="exception"?(t==null?void 0:t.unresolvedExceptions)??0:(t==null?void 0:t.byType[r.key])??0,p=r.icon,f=i>0;return e.jsxs(Be,{to:r.route,className:`group flex items-center gap-2.5 px-2.5 py-2 rounded-lg transition-all ${f?"hover:bg-gray-50 dark:hover:bg-gray-700/50":"opacity-50 hover:opacity-75"}`,children:[e.jsx("div",{className:`p-2 rounded-lg ${Ue[r.key]||"bg-gray-100 dark:bg-gray-700/50"} group-hover:scale-105 transition-transform`,children:e.jsx(p,{className:`h-3.5 w-3.5 ${se[r.key]||"text-gray-500"}`})}),e.jsx("div",{className:"flex-1 min-w-0",children:e.jsx("span",{className:"text-sm font-medium text-gray-900 dark:text-white",children:r.name})}),e.jsx("span",{className:`text-sm font-semibold tabular-nums ${f?"text-gray-900 dark:text-white":"text-gray-400 dark:text-gray-500"}`,children:i.toLocaleString()})]},r.key)})})]},a.name))}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-5",children:[e.jsxs("div",{className:"lg:col-span-2 bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 overflow-hidden flex flex-col",children:[e.jsxs("div",{className:"px-4 py-3 border-b border-gray-200 dark:border-gray-700 flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("h2",{className:"text-sm font-semibold text-gray-900 dark:text-white",children:"Recent Activity"}),y&&e.jsx("div",{className:"animate-spin rounded-full h-3 w-3 border-b-2 border-primary-600",role:"status","aria-label":"Loading"})]}),U>0&&e.jsxs("span",{className:"text-xs text-gray-500 dark:text-gray-400",children:[Q," / ",D]})]}),e.jsxs("div",{className:"divide-y divide-gray-100 dark:divide-gray-700/50 flex-1 relative",style:{minHeight:"340px"},children:[y&&x.length>0&&e.jsx("div",{className:"absolute inset-0 bg-white/50 dark:bg-gray-800/50 z-10 pointer-events-none"}),x.length===0&&K?e.jsxs("div",{className:"p-8 text-center text-gray-500 dark:text-gray-400",role:"alert","data-testid":"activity-error",children:[e.jsx(v,{className:"h-7 w-7 mx-auto mb-2 text-red-500 dark:text-red-400"}),e.jsx("p",{className:"text-sm",children:"Could not load recent activity"}),e.jsxs("p",{className:"mt-1 text-xs",children:[K.message,". This is not a report of an idle application."]})]}):x.length===0&&!y?e.jsxs("div",{className:"p-8 text-center text-gray-500 dark:text-gray-400",children:[e.jsx(G,{className:"h-7 w-7 mx-auto mb-2 opacity-50"}),e.jsx("p",{className:"text-sm",children:"No entries recorded yet"})]}):x.length===0&&y?e.jsx("div",{className:"p-8 flex items-center justify-center",role:"status","aria-label":"Loading...",children:e.jsx("div",{className:"animate-spin rounded-full h-6 w-6 border-b-2 border-primary-600"})}):x.map(a=>{const r=ue(a.type),i=Je(a),p=Ve(a);return e.jsxs("div",{onClick:()=>o(`${ye(a.type)}/${a.id}`),className:"px-4 py-3 hover:bg-gray-50 dark:hover:bg-gray-700/30 cursor-pointer flex items-center gap-3 transition-colors",children:[e.jsx("div",{className:"flex-shrink-0 p-2 rounded-lg bg-gray-100 dark:bg-gray-700/50",children:e.jsx(r,{className:`h-4 w-4 ${se[a.type]||"text-gray-500"}`})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:`inline-flex px-1.5 py-0.5 rounded text-[10px] font-semibold uppercase ${ie(a.type)}`,children:a.type}),e.jsx("span",{className:"text-sm text-gray-900 dark:text-white truncate font-mono",children:i})]}),p&&e.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 truncate mt-0.5",children:p})]}),e.jsx("div",{className:"flex-shrink-0 text-xs text-gray-400 dark:text-gray-500 whitespace-nowrap",children:C(S(a.createdAt),{addSuffix:!0})}),e.jsx(X,{className:"h-4 w-4 text-gray-300 dark:text-gray-600 flex-shrink-0"})]},a.id)})]}),D>1&&e.jsxs("div",{className:"px-4 py-2.5 border-t border-gray-200 dark:border-gray-700 flex items-center justify-between bg-gray-50 dark:bg-gray-800/50",children:[e.jsxs("button",{onClick:xe,disabled:!J||y,className:`flex items-center gap-1 px-3 py-1.5 rounded-lg text-sm font-medium transition-colors ${J&&!y?"text-gray-700 dark:text-gray-300 hover:bg-gray-200 dark:hover:bg-gray-700":"text-gray-300 dark:text-gray-600 cursor-not-allowed"}`,children:[e.jsx(He,{className:"h-4 w-4"}),e.jsx("span",{children:"Previous"})]}),e.jsxs("span",{className:"text-sm text-gray-500 dark:text-gray-400",children:["Page ",Q," of ",D]}),e.jsxs("button",{onClick:ge,disabled:!V||y,className:`flex items-center gap-1 px-3 py-1.5 rounded-lg text-sm font-medium transition-colors ${V&&!y?"text-gray-700 dark:text-gray-300 hover:bg-gray-200 dark:hover:bg-gray-700":"text-gray-300 dark:text-gray-600 cursor-not-allowed"}`,children:[e.jsx("span",{children:"Next"}),e.jsx(X,{className:"h-4 w-4"})]})]})]}),e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 overflow-hidden",children:[e.jsx("div",{className:"px-4 py-3 border-b border-gray-200 dark:border-gray-700",children:e.jsx("h2",{className:"text-sm font-semibold text-gray-900 dark:text-white",children:"System Overview"})}),e.jsxs("div",{className:"p-4 space-y-4",children:[e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between py-2 border-b border-gray-100 dark:border-gray-700/50",children:[e.jsxs("div",{className:"flex items-center gap-2 text-gray-600 dark:text-gray-400",children:[e.jsx(H,{className:"h-4 w-4"}),e.jsx("span",{className:"text-sm",children:"Database Size"})]}),e.jsx("span",{className:"text-sm font-semibold text-gray-900 dark:text-white",children:c!=null&&c.databaseSize?Ze(c.databaseSize):"N/A"})]}),e.jsxs("div",{className:"flex items-center justify-between py-2 border-b border-gray-100 dark:border-gray-700/50",children:[e.jsxs("div",{className:"flex items-center gap-2 text-gray-600 dark:text-gray-400",children:[e.jsx(v,{className:"h-4 w-4"}),e.jsx("span",{className:"text-sm",children:"Error Rate"})]}),e.jsxs("span",{className:`text-sm font-semibold ${w>0&&B/w*100<5?"text-emerald-600 dark:text-emerald-400":"text-red-600 dark:text-red-400"}`,children:[w>0?(B/w*100).toFixed(2):"0.00","%"]})]}),e.jsxs("div",{className:"flex items-center justify-between py-2 border-b border-gray-100 dark:border-gray-700/50",children:[e.jsxs("div",{className:"flex items-center gap-2 text-gray-600 dark:text-gray-400",children:[e.jsx(I,{className:"h-4 w-4"}),e.jsx("span",{className:"text-sm",children:"Retention"})]}),e.jsx("span",{className:"text-sm font-semibold text-gray-900 dark:text-white",children:(s==null?void 0:s.maxAge)!==void 0?`${s.maxAge}h`:"N/A"})]}),e.jsxs("div",{className:"flex items-center justify-between py-2 border-b border-gray-100 dark:border-gray-700/50",children:[e.jsxs("div",{className:"flex items-center gap-2 text-gray-600 dark:text-gray-400",children:[e.jsx(Y,{className:"h-4 w-4"}),e.jsx("span",{className:"text-sm",children:"Last Prune"})]}),e.jsx("span",{className:"text-sm text-gray-600 dark:text-gray-400",children:s!=null&&s.lastRun?C(S(s.lastRun),{addSuffix:!0}):"Never"})]}),e.jsxs("div",{className:"flex items-center justify-between py-2",children:[e.jsxs("div",{className:"flex items-center gap-2 text-gray-600 dark:text-gray-400",children:[e.jsx(I,{className:"h-4 w-4"}),e.jsx("span",{className:"text-sm",children:"Next Prune"})]}),e.jsx("span",{className:"text-sm text-gray-600 dark:text-gray-400",children:s!=null&&s.nextRun?C(S(s.nextRun),{addSuffix:!0}):"N/A"})]})]}),e.jsx(Oe,{}),e.jsx("div",{className:"pt-3 border-t border-gray-200 dark:border-gray-700",children:e.jsxs("button",{onClick:de,disabled:u||!(s!=null&&s.enabled),className:"w-full flex items-center justify-center gap-2 px-3 py-2 text-sm font-medium text-gray-700 dark:text-gray-300 bg-gray-100 dark:bg-gray-700 hover:bg-gray-200 dark:hover:bg-gray-600 rounded-lg transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:[u?e.jsx(Re,{className:"h-4 w-4 animate-spin"}):e.jsx(Y,{className:"h-4 w-4"}),e.jsx("span",{children:u?"Pruning...":"Prune Now"})]})}),(c==null?void 0:c.oldestEntry)&&(c==null?void 0:c.newestEntry)&&e.jsx("div",{className:"pt-3 border-t border-gray-200 dark:border-gray-700",children:e.jsxs("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:["Recording for ",C(S(c.oldestEntry))]})})]})]})]})]})}export{at as default};
@@ -1,27 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./RequestDetailView-D0pFJlIF.js","./index-CNTaNUkj.js","./vendor-DBTT3jXp.js","./index-ReuerEhs.css","./date-Dwgqy666.js","./DetailRow-C35E-Fg7.js","./types-DqF5HlZi.js","./UserCard-CEq6mQ5k.js","./search-CcMiea1V.js","./QueryDetailView-BkUuf3JM.js","./ExceptionDetailView-BD375JkM.js","./LogDetailView--AEX1d6S.js","./EventDetailView-i_T5zzxK.js","./CopyButton-DpZHVixQ.js","./zap-QXV06WYA.js","./users-D9yOg5Si.js","./JobDetailView-4qAPrQWH.js","./circle-alert-DQGZE3D0.js","./circle-check-big-Br_lvQdJ.js","./CacheDetailView-CcGupoLQ.js","./circle-x-DFyAuyMN.js","./timer-CDc7JIAB.js","./MailDetailView-BPFRJcUh.js","./ScheduleDetailView-BPjjgHxu.js","./format-BlNP-apw.js","./calendar-CMjU8s5-.js","./HttpClientDetailView-yb-3URIg.js","./RedisDetailView-EHqxefP1.js","./ModelDetailView-BDzUh_Kg.js","./NotificationDetailView-D-wwNBBg.js","./send-CSgocT8I.js","./ViewDetailView-DzuPi6K1.js","./eye-BlDJOCMu.js","./CommandDetailView-CVZrIKo6.js","./GateDetailView-DjS0BcxS.js","./BatchDetailView-MwxKpCBw.js","./DumpDetailView-C3AszicE.js","./GraphQLDetailView-BubeJCJT.js","./DataTable-CCXj8zzB.js"])))=>i.map(i=>d[i]);
2
- import{c as O,j as e,I as fe,z as $,J as je,X as B,x as be,i as ke,K as ae,N as we,_ as b}from"./index-CNTaNUkj.js";import{b as i,h as Ne,L as J}from"./vendor-DBTT3jXp.js";import{g as Ee,f as ve,p as Te}from"./date-Dwgqy666.js";import{t as Ce,C as h,i as X,a as Y,b as Z,c as K,d as re,e as le,f as ie,g as ne,h as oe,j as ee,k as ce,l as de,m as xe,n as pe,o as me,p as he,q as ge,r as ue,s as te}from"./types-DqF5HlZi.js";import{S as L}from"./search-CcMiea1V.js";/**
3
- * @license lucide-react v0.468.0 - ISC
4
- *
5
- * This source code is licensed under the ISC license.
6
- * See the LICENSE file in the root directory of this source tree.
7
- */const _e=O("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
8
- * @license lucide-react v0.468.0 - ISC
9
- *
10
- * This source code is licensed under the ISC license.
11
- * See the LICENSE file in the root directory of this source tree.
12
- */const W=O("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
13
- * @license lucide-react v0.468.0 - ISC
14
- *
15
- * This source code is licensed under the ISC license.
16
- * See the LICENSE file in the root directory of this source tree.
17
- */const I=O("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/**
18
- * @license lucide-react v0.468.0 - ISC
19
- *
20
- * This source code is licensed under the ISC license.
21
- * See the LICENSE file in the root directory of this source tree.
22
- */const H=O("Maximize2",[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);/**
23
- * @license lucide-react v0.468.0 - ISC
24
- *
25
- * This source code is licensed under the ISC license.
26
- * See the LICENSE file in the root directory of this source tree.
27
- */const G=O("Minimize2",[["polyline",{points:"4 14 10 14 10 20",key:"11kfnr"}],["polyline",{points:"20 10 14 10 14 4",key:"rlmsce"}],["line",{x1:"14",x2:"21",y1:"10",y2:"3",key:"o5lafz"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);function se(t,a){if(!t||typeof window>"u")return a;const l=window.location.hash.slice(1);if(!l)return a;try{return new URLSearchParams(l).get(t)||a}catch{return a}}function Se({tabs:t,defaultTab:a,hashKey:l,headerRight:o,onTabChange:y}){var g,w;const s=a||((g=t[0])==null?void 0:g.id),[x,j]=i.useState(()=>se(l,s));i.useEffect(()=>{if(!l)return;const r=()=>{const d=se(l,s);j(d)};return window.addEventListener("hashchange",r),()=>window.removeEventListener("hashchange",r)},[l,s]);const N=i.useCallback(r=>{if(j(r),y==null||y(r),!l)return;const d=window.location.hash.slice(1),p=new URLSearchParams(d);r===s?p.delete(l):p.set(l,r);const T=p.toString(),A=T?`#${T}`:window.location.pathname+window.location.search;window.history.replaceState(null,"",A)},[l,s,y]),f=(w=t.find(r=>r.id===x))==null?void 0:w.content,c=i.useRef(new Map),n=i.useCallback((r,d)=>{var T;let p=null;switch(r.key){case"ArrowLeft":r.preventDefault(),p=d===0?t.length-1:d-1;break;case"ArrowRight":r.preventDefault(),p=d===t.length-1?0:d+1;break;case"Home":r.preventDefault(),p=0;break;case"End":r.preventDefault(),p=t.length-1;break}if(p!==null){const A=t[p];N(A.id),(T=c.current.get(A.id))==null||T.focus()}},[t,N]);return e.jsxs("div",{className:"border border-gray-200 dark:border-gray-700 rounded-lg overflow-hidden",children:[e.jsxs("div",{className:"flex items-center border-b border-gray-200 dark:border-gray-700 bg-gray-50 dark:bg-gray-800",children:[e.jsx("div",{className:"flex flex-1",role:"tablist","aria-label":"Content tabs",children:t.map((r,d)=>e.jsxs("button",{ref:p=>{p&&c.current.set(r.id,p)},role:"tab","aria-selected":x===r.id,"aria-controls":`tabpanel-${r.id}`,id:`tab-${r.id}`,tabIndex:x===r.id?0:-1,onClick:()=>N(r.id),onKeyDown:p=>n(p,d),className:`px-4 py-2.5 text-sm font-medium transition-colors relative ${x===r.id?"text-indigo-600 dark:text-indigo-400 bg-white dark:bg-gray-900":"text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-700"}`,children:[e.jsxs("span",{className:"flex items-center gap-2",children:[r.label,r.badge!==void 0&&r.badge>0&&e.jsx("span",{className:"inline-flex items-center justify-center px-1.5 py-0.5 text-xs font-medium bg-gray-200 dark:bg-gray-600 text-gray-700 dark:text-gray-300 rounded",children:r.badge})]}),x===r.id&&e.jsx("span",{className:"absolute bottom-0 left-0 right-0 h-0.5 bg-indigo-600 dark:bg-indigo-400","aria-hidden":"true"})]},r.id))}),o&&e.jsx("div",{className:"px-3 flex items-center",children:o})]}),e.jsx("div",{role:"tabpanel",id:`tabpanel-${x}`,"aria-labelledby":`tab-${x}`,tabIndex:0,className:"bg-white dark:bg-gray-900",children:f})]})}function Ae({entryId:t,tags:a,onTagsChange:l,editable:o=!1,size:y="sm"}){const[s,x]=i.useState(!1),[j,N]=i.useState(""),[f,c]=i.useState(a),n=y==="sm"?"px-1.5 py-0.5 text-xs":"px-2 py-1 text-sm",g=async()=>{if(j.trim())try{const r=await je(t,[j.trim()]);c(r.data),l==null||l(r.data),N(""),x(!1)}catch(r){console.error("Failed to add tag:",r),$.error(`Could not add the tag: ${r.message}`)}},w=async r=>{try{const d=await fe(t,[r]);c(d.data),l==null||l(d.data)}catch(d){console.error("Failed to remove tag:",d),$.error(`Could not remove the tag: ${d.message}`)}};return f.length===0&&!o?null:e.jsxs("div",{className:"flex flex-wrap items-center gap-1",children:[f.map(r=>e.jsxs("span",{className:`inline-flex items-center rounded font-bold uppercase tracking-wide shadow ${n} ${Ee(r)}`,children:[r.toUpperCase(),o&&e.jsx("button",{onClick:d=>{d.stopPropagation(),w(r)},"aria-label":`Remove tag ${r}`,className:"ml-1 hover:text-red-600 dark:hover:text-red-400",children:"×"})]},r)),o&&e.jsx(e.Fragment,{children:s?e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx("input",{type:"text",value:j,onChange:r=>N(r.target.value),onKeyDown:r=>{r.key==="Enter"&&g(),r.key==="Escape"&&x(!1)},placeholder:"New tag...","aria-label":"New tag",className:"px-2 py-0.5 text-xs border rounded dark:bg-gray-700 dark:border-gray-600 w-24",autoFocus:!0}),e.jsx("button",{onClick:g,"aria-label":"Save tag",className:"text-green-600 hover:text-green-700 text-xs",children:"+"}),e.jsx("button",{onClick:()=>x(!1),"aria-label":"Cancel adding a tag",className:"text-gray-400 hover:text-gray-600 text-xs",children:"×"})]}):e.jsx("button",{onClick:r=>{r.stopPropagation(),x(!0)},"aria-label":"Add a tag",className:`inline-flex items-center rounded-lg font-medium ${n} bg-gray-100 text-gray-500 hover:bg-gray-200 dark:bg-gray-700 dark:text-gray-400 dark:hover:bg-gray-600`,children:"+ Tag"})})]})}function De(t){return t===null?"null":t===void 0?"undefined":Array.isArray(t)?"array":typeof t}function $e(t,a){return a==="array"?t.length:a==="object"?Object.keys(t).length:0}function Le(t,a,l){if(!a)return!1;const o=a.toLowerCase();return t===null?"null".includes(o):typeof t=="string"?t.toLowerCase().includes(o):typeof t=="number"||typeof t=="boolean"?String(t).includes(o):!1}function Q(t,a){if(!a)return!1;const l=a.toLowerCase();return t===null?"null".includes(l):typeof t=="string"?t.toLowerCase().includes(l):typeof t=="number"||typeof t=="boolean"?String(t).includes(l):Array.isArray(t)?t.some(o=>Q(o,a)):typeof t=="object"&&t!==null?Object.entries(t).some(([o,y])=>o.toLowerCase().includes(l)||Q(y,a)):!1}const Ve=i.memo(function t({keyName:a,value:l,depth:o,expandedPaths:y,onToggle:s,searchTerm:x,path:j,isArrayItem:N=!1}){const f=De(l),c=f==="object"||f==="array",n=y.has(j),g=$e(l,f),w=g===0,r=!!x&&((a==null?void 0:a.toLowerCase().includes(x.toLowerCase()))??!1),d=Le(l,x),p=r||d,T=i.useCallback(()=>{s(j)},[s,j]),A=i.useCallback(v=>{v.stopPropagation();const k=typeof l=="string"?l:JSON.stringify(l,null,2);navigator.clipboard.writeText(k),$.success("Copied!")},[l]),V=()=>{const v=d?"bg-yellow-400/30 rounded px-0.5":"";switch(f){case"null":return e.jsx("span",{className:`text-orange-600 dark:text-orange-400 italic ${v}`,children:"null"});case"undefined":return e.jsx("span",{className:`text-gray-500 italic ${v}`,children:"undefined"});case"boolean":return e.jsx("span",{className:`text-purple-600 dark:text-purple-400 ${v}`,children:String(l)});case"number":return e.jsx("span",{className:`text-cyan-600 dark:text-cyan-400 ${v}`,children:String(l)});case"string":{const k=l,D=300,R=k.length>D,P=R?k.slice(0,D):k,M=/^https?:\/\//.test(k),U=/^\d{4}-\d{2}-\d{2}/.test(k),u=/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(k);return e.jsxs("span",{className:`text-green-600 dark:text-green-400 ${v}`,children:['"',P,R&&e.jsxs("span",{className:"text-gray-500",children:["... (",k.length-D," more)"]}),'"',M&&e.jsx("span",{className:"ml-1 text-blue-600 dark:text-blue-400 text-xs",children:"(URL)"}),U&&e.jsx("span",{className:"ml-1 text-amber-600 dark:text-yellow-400 text-xs",children:"(Date)"}),u&&e.jsx("span",{className:"ml-1 text-pink-600 dark:text-pink-400 text-xs",children:"(Email)"})]})}case"array":return n?e.jsx("span",{className:"text-gray-600 dark:text-gray-400",children:"["}):e.jsxs("span",{className:"text-gray-600 dark:text-gray-400",children:["[",w?"":e.jsxs("span",{className:"text-gray-500 text-xs ml-1",children:[g," items"]}),"]"]});case"object":return n?e.jsx("span",{className:"text-gray-600 dark:text-gray-400",children:"{"}):e.jsxs("span",{className:"text-gray-600 dark:text-gray-400",children:["{",w?"":e.jsxs("span",{className:"text-gray-500 text-xs ml-1",children:[g," keys"]}),"}"]});default:return e.jsx("span",{className:"text-gray-700 dark:text-gray-300",children:String(l)})}},F=()=>{if(!c||!n)return null;const v=f==="array"?l.map((k,D)=>[String(D),k]):Object.entries(l);return e.jsxs(e.Fragment,{children:[v.map(([k,D])=>e.jsx(t,{keyName:k,value:D,depth:o+1,expandedPaths:y,onToggle:s,searchTerm:x,path:`${j}.${k}`,isArrayItem:f==="array"},`${j}.${k}`)),e.jsxs("div",{className:"flex items-start",children:[e.jsx("span",{className:"w-6 flex-shrink-0"}),e.jsx("div",{style:{paddingLeft:o*16+16},className:"text-gray-600 dark:text-gray-400",children:f==="array"?"]":"}"})]})]})},z=o*16;return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:`group flex items-start py-[1px] hover:bg-gray-100 dark:hover:bg-white/5 rounded cursor-pointer transition-colors ${p?"bg-yellow-500/10":""}`,onClick:c?T:void 0,children:[e.jsx("span",{className:"w-6 h-6 flex items-center justify-center flex-shrink-0 opacity-0 group-hover:opacity-100 transition-opacity",children:e.jsx("button",{onClick:A,className:"p-1 hover:bg-gray-200 dark:hover:bg-gray-700 rounded text-gray-400 hover:text-gray-600 dark:hover:text-gray-300",title:"Copy value",children:e.jsx(I,{className:"w-4 h-4"})})}),e.jsxs("div",{className:"flex items-start flex-1",style:{paddingLeft:z},children:[e.jsx("span",{className:"w-4 h-5 flex items-center justify-center flex-shrink-0",children:c&&!w&&(n?e.jsx(be,{className:"w-3.5 h-3.5 text-gray-400 dark:text-gray-500"}):e.jsx(ke,{className:"w-3.5 h-3.5 text-gray-400 dark:text-gray-500"}))}),a!==null&&e.jsxs(e.Fragment,{children:[e.jsx("span",{className:`${N?"text-gray-500":"text-blue-700 dark:text-blue-300"} ${r?"bg-yellow-400/30 rounded px-0.5":""}`,children:N?a:`"${a}"`}),e.jsx("span",{className:"text-gray-500 mx-1",children:":"})]}),e.jsx("span",{className:"flex-1",children:V()})]})]}),F()]})});function ye({data:t,title:a,initialExpanded:l=!0,maxInitialDepth:o=2,searchable:y=!0,maxHeight:s=500,inline:x=!1,showToolbar:j=!1,externalSearchTerm:N}){const[f,c]=i.useState(!1),[n,g]=i.useState(""),[w,r]=i.useState(!1),d=N??n,p=g,[T,A]=i.useState(()=>{const u=new Set;if(l){const E=(m,C,_)=>{_>=o||(u.add(C),Array.isArray(m)?m.forEach((S,q)=>E(S,`${C}.${q}`,_+1)):typeof m=="object"&&m!==null&&Object.entries(m).forEach(([S,q])=>E(q,`${C}.${S}`,_+1)))};E(t,"root",0)}return u}),V=i.useMemo(()=>{const u=new Set;if(!d)return u;const E=(m,C)=>{Q(m,d)&&u.add(C),Array.isArray(m)?m.forEach((_,S)=>E(_,`${C}.${S}`)):typeof m=="object"&&m!==null&&Object.entries(m).forEach(([_,S])=>E(S,`${C}.${_}`))};return E(t,"root"),u},[d,t]),F=i.useMemo(()=>V.size===0?T:new Set([...T,...V]),[T,V]),z=i.useCallback(u=>{A(E=>{const m=new Set(E);return m.has(u)?m.delete(u):m.add(u),m})},[]),v=i.useCallback(()=>{const u=new Set,E=(m,C)=>{u.add(C),Array.isArray(m)?m.forEach((_,S)=>E(_,`${C}.${S}`)):typeof m=="object"&&m!==null&&Object.entries(m).forEach(([_,S])=>E(S,`${C}.${_}`))};E(t,"root"),A(u)},[t]),k=i.useCallback(()=>{A(new Set)},[]),D=async()=>{try{await navigator.clipboard.writeText(JSON.stringify(t,null,2)),c(!0),$.success("JSON copied!"),setTimeout(()=>c(!1),2e3)}catch{$.error("Failed to copy")}},R=()=>{r(u=>!u),w&&p("")},P=e.jsx("div",{className:`p-3 overflow-auto font-mono text-sm ${x?"":"bg-white dark:bg-gray-800"}`,style:{maxHeight:typeof s=="number"?`${s}px`:s},children:e.jsx(Ve,{keyName:null,value:t,depth:0,expandedPaths:F,onToggle:z,searchTerm:d,path:"root"})}),M=e.jsxs("div",{className:"flex items-center justify-between mb-2",children:[a&&e.jsx("h3",{className:"text-sm font-semibold text-gray-900 dark:text-white",children:a}),e.jsxs("div",{className:`flex items-center space-x-1 ${a?"":"ml-auto"}`,children:[e.jsx("button",{onClick:v,className:"p-1.5 hover:bg-gray-200 dark:hover:bg-gray-700 rounded transition-colors",title:"Expand all",children:e.jsx(H,{className:"h-3.5 w-3.5 text-gray-500"})}),e.jsx("button",{onClick:k,className:"p-1.5 hover:bg-gray-200 dark:hover:bg-gray-700 rounded transition-colors",title:"Collapse all",children:e.jsx(G,{className:"h-3.5 w-3.5 text-gray-500"})}),e.jsx("div",{className:"w-px h-4 bg-gray-300 dark:bg-gray-600 mx-1"}),y&&e.jsx("button",{onClick:R,className:`p-1.5 rounded transition-colors ${w?"bg-primary-100 dark:bg-primary-900/30 text-primary-600 dark:text-primary-400":"hover:bg-gray-200 dark:hover:bg-gray-700 text-gray-500"}`,title:"Search",children:e.jsx(L,{className:"h-3.5 w-3.5"})}),e.jsx("button",{onClick:D,className:"p-1.5 hover:bg-gray-200 dark:hover:bg-gray-700 rounded transition-colors",title:"Copy JSON",children:f?e.jsx(W,{className:"h-3.5 w-3.5 text-green-500"}):e.jsx(I,{className:"h-3.5 w-3.5 text-gray-500"})})]})]}),U=w&&e.jsx("div",{className:"mb-2",children:e.jsxs("div",{className:"relative",children:[e.jsx(L,{className:"absolute left-2.5 top-1/2 -translate-y-1/2 h-3.5 w-3.5 text-gray-400"}),e.jsx("input",{type:"text",value:d,onChange:u=>p(u.target.value),placeholder:"Search keys and values...",className:"w-full pl-8 pr-8 py-1.5 text-sm bg-white dark:bg-gray-700 border border-gray-300 dark:border-gray-600 rounded focus:ring-2 focus:ring-primary-500 focus:border-transparent",autoFocus:!0}),d&&e.jsx("button",{onClick:()=>p(""),className:"absolute right-2.5 top-1/2 -translate-y-1/2 text-gray-400 hover:text-gray-600",children:e.jsx(B,{className:"h-3.5 w-3.5"})})]})});return x?j?e.jsxs("div",{children:[M,U,P]}):P:e.jsxs("div",{className:"card overflow-hidden",children:[e.jsxs("div",{className:"px-4 py-2.5 border-b border-gray-200 dark:border-gray-700 flex items-center justify-between bg-gray-50 dark:bg-gray-800/50",children:[e.jsxs("div",{className:"flex items-center space-x-3",children:[a&&e.jsx("h3",{className:"text-sm font-semibold text-gray-900 dark:text-white",children:a}),e.jsx("span",{className:"text-xs text-gray-500",children:Array.isArray(t)?`${t.length} items`:typeof t=="object"&&t!==null?`${Object.keys(t).length} keys`:""})]}),e.jsxs("div",{className:"flex items-center space-x-1",children:[e.jsx("button",{onClick:v,className:"p-1.5 hover:bg-gray-200 dark:hover:bg-gray-700 rounded transition-colors",title:"Expand all",children:e.jsx(H,{className:"h-3.5 w-3.5 text-gray-500"})}),e.jsx("button",{onClick:k,className:"p-1.5 hover:bg-gray-200 dark:hover:bg-gray-700 rounded transition-colors",title:"Collapse all",children:e.jsx(G,{className:"h-3.5 w-3.5 text-gray-500"})}),e.jsx("div",{className:"w-px h-4 bg-gray-300 dark:bg-gray-600 mx-1"}),y&&e.jsx("button",{onClick:R,className:`p-1.5 rounded transition-colors ${w?"bg-primary-100 dark:bg-primary-900/30 text-primary-600 dark:text-primary-400":"hover:bg-gray-200 dark:hover:bg-gray-700 text-gray-500"}`,title:"Search (Ctrl+F)",children:e.jsx(L,{className:"h-3.5 w-3.5"})}),e.jsx("button",{onClick:D,className:"flex items-center gap-1.5 px-2 py-1 text-xs font-medium text-gray-600 dark:text-gray-400 hover:bg-gray-200 dark:hover:bg-gray-700 rounded transition-colors",title:"Copy JSON",children:f?e.jsxs(e.Fragment,{children:[e.jsx(W,{className:"h-3.5 w-3.5 text-green-500"}),e.jsx("span",{className:"text-green-500",children:"Copied!"})]}):e.jsxs(e.Fragment,{children:[e.jsx(I,{className:"h-3.5 w-3.5"}),e.jsx("span",{children:"Copy"})]})})]})]}),w&&e.jsx("div",{className:"px-3 py-2 border-b border-gray-200 dark:border-gray-700 bg-gray-50 dark:bg-gray-800/30",children:e.jsxs("div",{className:"relative",children:[e.jsx(L,{className:"absolute left-2.5 top-1/2 -translate-y-1/2 h-3.5 w-3.5 text-gray-400"}),e.jsx("input",{type:"text",value:d,onChange:u=>p(u.target.value),placeholder:"Search keys and values...",className:"w-full pl-8 pr-8 py-1.5 text-sm bg-white dark:bg-gray-700 border border-gray-300 dark:border-gray-600 rounded focus:ring-2 focus:ring-primary-500 focus:border-transparent",autoFocus:!0}),d&&e.jsx("button",{onClick:()=>p(""),className:"absolute right-2.5 top-1/2 -translate-y-1/2 text-gray-400 hover:text-gray-600",children:e.jsx(B,{className:"h-3.5 w-3.5"})})]})}),P]})}function Re({data:t,toolbarState:a,maxHeight:l=400,searchBar:o}){const y=`${a.expandAllTrigger}-${a.collapseAllTrigger}`,s=a.expandAllTrigger>a.collapseAllTrigger,x=s?100:a.collapseAllTrigger>0?0:2;return e.jsxs("div",{children:[o,e.jsx(ye,{data:t,inline:!0,maxHeight:l,initialExpanded:s||a.expandAllTrigger===0,maxInitialDepth:x,searchable:!1,showToolbar:!1,externalSearchTerm:a.searchTerm},y)]})}function Pe(){const[t,a]=i.useState({expandAllTrigger:0,collapseAllTrigger:0,showSearch:!1,searchTerm:""}),[l,o]=i.useState(!1),y=i.useCallback(()=>{a(n=>({...n,expandAllTrigger:n.expandAllTrigger+1}))},[]),s=i.useCallback(()=>{a(n=>({...n,collapseAllTrigger:n.collapseAllTrigger+1}))},[]),x=i.useCallback(()=>{a(n=>({...n,showSearch:!n.showSearch,searchTerm:n.showSearch?"":n.searchTerm}))},[]),j=i.useCallback(n=>{a(g=>({...g,searchTerm:n}))},[]),N=i.useCallback(async n=>{try{await navigator.clipboard.writeText(JSON.stringify(n,null,2)),o(!0),$.success("Copied!"),setTimeout(()=>o(!1),2e3)}catch{$.error("Failed to copy")}},[]),f=({data:n})=>e.jsxs("div",{className:"flex items-center space-x-1",children:[e.jsx("button",{onClick:y,className:"p-1.5 hover:bg-gray-200 dark:hover:bg-gray-700 rounded transition-colors",title:"Expand all",children:e.jsx(H,{className:"h-3.5 w-3.5 text-gray-500"})}),e.jsx("button",{onClick:s,className:"p-1.5 hover:bg-gray-200 dark:hover:bg-gray-700 rounded transition-colors",title:"Collapse all",children:e.jsx(G,{className:"h-3.5 w-3.5 text-gray-500"})}),e.jsx("div",{className:"w-px h-4 bg-gray-300 dark:bg-gray-600 mx-1"}),e.jsx("button",{onClick:x,className:`p-1.5 rounded transition-colors ${t.showSearch?"bg-primary-100 dark:bg-primary-900/30 text-primary-600 dark:text-primary-400":"hover:bg-gray-200 dark:hover:bg-gray-700 text-gray-500"}`,title:"Search",children:e.jsx(L,{className:"h-3.5 w-3.5"})}),n&&e.jsx("button",{onClick:()=>N(n),className:"p-1.5 hover:bg-gray-200 dark:hover:bg-gray-700 rounded transition-colors",title:"Copy JSON",children:l?e.jsx(W,{className:"h-3.5 w-3.5 text-green-500"}):e.jsx(I,{className:"h-3.5 w-3.5 text-gray-500"})})]}),c=t.showSearch?e.jsx("div",{className:"p-3 border-b border-gray-200 dark:border-gray-700",children:e.jsxs("div",{className:"relative",children:[e.jsx(L,{className:"absolute left-2.5 top-1/2 -translate-y-1/2 h-3.5 w-3.5 text-gray-400"}),e.jsx("input",{type:"text",value:t.searchTerm,onChange:n=>j(n.target.value),placeholder:"Search keys and values...",className:"w-full pl-8 pr-8 py-1.5 text-sm bg-white dark:bg-gray-700 border border-gray-300 dark:border-gray-600 rounded focus:ring-2 focus:ring-primary-500 focus:border-transparent",autoFocus:!0}),t.searchTerm&&e.jsx("button",{onClick:()=>j(""),className:"absolute right-2.5 top-1/2 -translate-y-1/2 text-gray-400 hover:text-gray-600",children:e.jsx(B,{className:"h-3.5 w-3.5"})})]})}):null;return{state:t,Toolbar:f,SearchBar:c}}function Oe({entry:t}){return e.jsx("div",{className:"flex items-center space-x-3",children:X(t)?e.jsxs(e.Fragment,{children:[e.jsx(h,{listType:"requests",children:nt(t.payload.path,t.payload.method)}),e.jsx("h1",{className:"text-sm font-mono text-gray-900 dark:text-white truncate",children:t.payload.path})]}):Y(t)?e.jsxs(e.Fragment,{children:[e.jsx(h,{listType:"queries",filterType:"types",children:ot(t.payload.query)}),e.jsx("h1",{className:"text-sm font-mono text-gray-900 dark:text-white truncate",children:t.payload.query.length>100?t.payload.query.substring(0,100)+"...":t.payload.query})]}):Z(t)?(()=>{var l;const a=t.payload.name&&t.payload.name.toLowerCase()!=="error"?t.payload.name:t.payload.code?String(t.payload.code):"Exception";return e.jsxs(e.Fragment,{children:[e.jsx(h,{listType:"exceptions",filterType:"names",children:a}),e.jsx("h1",{className:"text-sm font-mono text-gray-900 dark:text-white truncate",children:((l=t.payload.request)==null?void 0:l.url)||t.payload.message})]})})():K(t)?e.jsxs(e.Fragment,{children:[e.jsx(h,{listType:"logs",filterType:"levels",children:t.payload.level.toUpperCase()}),e.jsx("h1",{className:"text-sm font-mono text-gray-900 dark:text-white truncate",children:t.payload.message.length>100?t.payload.message.substring(0,100)+"...":t.payload.message})]}):re(t)?e.jsxs(e.Fragment,{children:[e.jsx(h,{listType:"events",filterType:"names",children:t.payload.name}),e.jsxs("h1",{className:"text-sm text-gray-600 dark:text-gray-300",children:[t.payload.listeners.length," listener",t.payload.listeners.length!==1?"s":""," · ",t.payload.duration,"ms"]})]}):le(t)?e.jsxs(e.Fragment,{children:[e.jsx(h,{listType:"jobs",filterType:"statuses",filterValue:t.payload.status,children:t.payload.status.toUpperCase()}),e.jsx("h1",{className:"text-sm font-mono text-gray-900 dark:text-white truncate",children:t.payload.name}),e.jsxs("span",{className:"text-sm text-gray-500 dark:text-gray-400",children:[t.payload.queue," · ",t.payload.duration?`${t.payload.duration}ms`:"-"]})]}):ie(t)?e.jsxs(e.Fragment,{children:[e.jsx(h,{listType:"cache",filterType:"operations",filterValue:t.payload.operation,children:t.payload.operation.toUpperCase()}),t.payload.operation==="get"&&e.jsx(h,{listType:"cache",children:t.payload.hit?"HIT":"MISS"}),e.jsx("h1",{className:"text-sm font-mono text-gray-900 dark:text-white truncate",children:t.payload.key.length>60?t.payload.key.substring(0,60)+"...":t.payload.key})]}):ne(t)?e.jsxs(e.Fragment,{children:[e.jsx(h,{listType:"mail",filterType:"statuses",filterValue:t.payload.status,children:t.payload.status.toUpperCase()}),e.jsx("h1",{className:"text-sm text-gray-900 dark:text-white truncate",children:t.payload.subject.length>60?t.payload.subject.substring(0,60)+"...":t.payload.subject})]}):oe(t)?e.jsxs(e.Fragment,{children:[e.jsx(h,{listType:"schedule",filterType:"statuses",filterValue:t.payload.status,children:t.payload.status.toUpperCase()}),e.jsx("h1",{className:"text-sm font-mono text-gray-900 dark:text-white truncate",children:t.payload.name}),t.payload.cron&&e.jsx("span",{className:"text-sm text-gray-500 dark:text-gray-400 font-mono",children:t.payload.cron})]}):ee(t)?e.jsxs(e.Fragment,{children:[e.jsx(h,{listType:"http-client",filterType:"methods",filterValue:t.payload.method,children:t.payload.method}),e.jsx("h1",{className:"text-sm font-mono text-gray-900 dark:text-white truncate",children:t.payload.hostname||t.payload.url})]}):ce(t)?e.jsxs(e.Fragment,{children:[e.jsx(h,{listType:"redis",filterType:"commands",filterValue:t.payload.command,children:t.payload.command}),e.jsx("h1",{className:"text-sm font-mono text-gray-900 dark:text-white truncate",children:t.payload.keyPattern||"Redis Command"})]}):de(t)?e.jsxs(e.Fragment,{children:[e.jsx(h,{listType:"models",filterType:"actions",filterValue:t.payload.action,children:t.payload.action.toUpperCase()}),e.jsx("h1",{className:"text-sm font-mono text-gray-900 dark:text-white truncate",children:t.payload.entity})]}):xe(t)?e.jsxs(e.Fragment,{children:[e.jsx(h,{listType:"notifications",filterType:"types",filterValue:t.payload.type,children:t.payload.type}),e.jsx("h1",{className:"text-sm text-gray-900 dark:text-white truncate",children:t.payload.title||t.payload.recipient})]}):pe(t)?e.jsxs(e.Fragment,{children:[e.jsx(h,{listType:"views",filterType:"statuses",filterValue:t.payload.status,children:t.payload.status.toUpperCase()}),e.jsx("h1",{className:"text-sm font-mono text-gray-900 dark:text-white truncate",children:t.payload.template})]}):me(t)?e.jsxs(e.Fragment,{children:[e.jsx(h,{listType:"commands",filterType:"statuses",filterValue:t.payload.status,children:t.payload.status.toUpperCase()}),e.jsx("h1",{className:"text-sm font-mono text-gray-900 dark:text-white truncate",children:t.payload.name})]}):he(t)?e.jsxs(e.Fragment,{children:[e.jsx(h,{listType:"gates",filterType:"results",filterValue:t.payload.allowed?"ALLOWED":"DENIED",children:t.payload.allowed?"ALLOWED":"DENIED"}),e.jsx("h1",{className:"text-sm text-gray-900 dark:text-white truncate",children:t.payload.gate})]}):ge(t)?e.jsxs(e.Fragment,{children:[e.jsx(h,{listType:"batches",filterType:"statuses",filterValue:t.payload.status,children:t.payload.status.toUpperCase()}),e.jsx("h1",{className:"text-sm font-mono text-gray-900 dark:text-white truncate",children:t.payload.name})]}):ue(t)?e.jsxs(e.Fragment,{children:[e.jsx(h,{listType:"dumps",filterType:"operations",filterValue:t.payload.operation,children:t.payload.operation.toUpperCase()}),e.jsx("h1",{className:"text-sm font-mono text-gray-900 dark:text-white truncate",children:t.payload.format})]}):te(t)?e.jsxs(e.Fragment,{children:[e.jsx(h,{listType:"graphql",filterType:"operationTypes",filterValue:t.payload.operationType,children:t.payload.operationType.toUpperCase()}),e.jsx("h1",{className:"text-sm font-mono text-gray-900 dark:text-white truncate",children:t.payload.operationName||"(anonymous)"}),t.payload.hasErrors&&e.jsx("span",{className:"inline-flex items-center px-1.5 py-0.5 text-xs font-medium rounded bg-red-100 text-red-700 dark:bg-red-900/50 dark:text-red-300",children:"Error"})]}):(()=>{const a=t;return e.jsxs(e.Fragment,{children:[e.jsx(h,{clickable:!1,children:a.type.toUpperCase()}),e.jsx("h1",{className:"text-sm font-mono text-gray-900 dark:text-white truncate",children:a.requestId||`#${a.id}`})]})})()})}function Ie({entry:t}){const[a,l]=i.useState(t.tags??[]);return e.jsx("div",{className:"card","data-testid":"entry-tags",children:e.jsxs("div",{className:"p-4 flex items-center gap-3 flex-wrap",children:[e.jsx("span",{className:"text-sm font-medium text-gray-500 dark:text-gray-400",children:"Tags"}),e.jsx(Ae,{entryId:t.id,tags:a,editable:!0,onTagsChange:l})]})})}function Fe({entry:t}){return e.jsxs("div",{className:"flex items-center space-x-3","data-testid":"plain-heading",children:[e.jsx(h,{clickable:!1,children:t.type.toUpperCase()}),e.jsx("h1",{className:"text-sm font-mono text-gray-900 dark:text-white truncate",children:t.requestId||`#${t.id}`})]})}function ze({entry:t}){return e.jsxs("div",{className:"card","data-testid":"raw-payload",children:[e.jsxs("div",{className:"p-4 border-b border-gray-200 dark:border-gray-700",children:[e.jsx("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:"Entry payload"}),e.jsxs("p",{className:"mt-1 text-sm text-gray-500 dark:text-gray-400",children:["This entry does not have the shape the ",t.type," view expects, so it is shown as it was recorded."]})]}),e.jsx("div",{className:"p-4",children:e.jsx(ye,{data:t.payload??{},inline:!0})})]})}function Me(){return e.jsxs("div",{className:"animate-pulse space-y-3","aria-hidden":"true",children:[e.jsx("div",{className:"h-8 rounded bg-gray-100 dark:bg-gray-800"}),e.jsx("div",{className:"h-40 rounded bg-gray-100 dark:bg-gray-800"})]})}const Ue=i.lazy(()=>b(()=>import("./RequestDetailView-D0pFJlIF.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url)),qe=i.lazy(()=>b(()=>import("./QueryDetailView-BkUuf3JM.js"),__vite__mapDeps([9,1,2,3,4,5,6,8]),import.meta.url)),Je=i.lazy(()=>b(()=>import("./ExceptionDetailView-BD375JkM.js"),__vite__mapDeps([10,1,2,3,4,5,6,8]),import.meta.url)),Be=i.lazy(()=>b(()=>import("./LogDetailView--AEX1d6S.js"),__vite__mapDeps([11,1,2,3,4,5,6,8]),import.meta.url)),We=i.lazy(()=>b(()=>import("./EventDetailView-i_T5zzxK.js"),__vite__mapDeps([12,1,2,3,13,6,4,14,15,8]),import.meta.url)),He=i.lazy(()=>b(()=>import("./JobDetailView-4qAPrQWH.js"),__vite__mapDeps([16,1,2,3,4,5,6,13,17,18,8]),import.meta.url)),Ge=i.lazy(()=>b(()=>import("./CacheDetailView-CcGupoLQ.js"),__vite__mapDeps([19,1,2,3,4,5,6,13,18,20,21,8]),import.meta.url)),Qe=i.lazy(()=>b(()=>import("./MailDetailView-BPFRJcUh.js"),__vite__mapDeps([22,1,2,3,6,4,5,13,20,18,15,17,8]),import.meta.url)),Xe=i.lazy(()=>b(()=>import("./ScheduleDetailView-BPjjgHxu.js"),__vite__mapDeps([23,1,2,3,24,6,4,5,20,18,21,25]),import.meta.url)),Ye=i.lazy(()=>b(()=>import("./HttpClientDetailView-yb-3URIg.js"),__vite__mapDeps([26,1,2,3,4,5,6,8]),import.meta.url)),Ze=i.lazy(()=>b(()=>import("./RedisDetailView-EHqxefP1.js"),__vite__mapDeps([27,1,2,3,4,5,6,13,18,20,8]),import.meta.url)),Ke=i.lazy(()=>b(()=>import("./ModelDetailView-BDzUh_Kg.js"),__vite__mapDeps([28,1,2,3,4,5,6,13,20,8]),import.meta.url)),et=i.lazy(()=>b(()=>import("./NotificationDetailView-D-wwNBBg.js"),__vite__mapDeps([29,1,2,3,4,5,6,13,18,20,30,8]),import.meta.url)),tt=i.lazy(()=>b(()=>import("./ViewDetailView-DzuPi6K1.js"),__vite__mapDeps([31,1,2,3,4,5,6,13,32,18,20,8]),import.meta.url)),at=i.lazy(()=>b(()=>import("./CommandDetailView-CVZrIKo6.js"),__vite__mapDeps([33,1,2,3,4,5,6,13,18,20,8]),import.meta.url)),st=i.lazy(()=>b(()=>import("./GateDetailView-DjS0BcxS.js"),__vite__mapDeps([34,1,2,3,4,5,6,13,18,20,8]),import.meta.url)),rt=i.lazy(()=>b(()=>import("./BatchDetailView-MwxKpCBw.js"),__vite__mapDeps([35,1,2,3,4,5,6,13,20,17,18,8]),import.meta.url)),lt=i.lazy(()=>b(()=>import("./DumpDetailView-C3AszicE.js"),__vite__mapDeps([36,1,2,3,4,5,6,13,18,20,8]),import.meta.url)),it=i.lazy(()=>b(()=>import("./GraphQLDetailView-BubeJCJT.js"),__vite__mapDeps([37,1,2,3,4,5,6,38,7,8,14,30]),import.meta.url));function nt(t,a){return t!=null&&t.toLowerCase().includes("/graphql")?"GRAPHQL":a.toUpperCase()}function ot(t){const a=t.trim().toUpperCase();return a.startsWith("SELECT")?"SELECT":a.startsWith("INSERT")?"INSERT":a.startsWith("UPDATE")?"UPDATE":a.startsWith("DELETE")?"DELETE":a.startsWith("CREATE")?"CREATE":a.startsWith("ALTER")?"ALTER":a.startsWith("DROP")?"DROP":a.startsWith("TRUNCATE")?"TRUNCATE":a.startsWith("BEGIN")||a.startsWith("START")?"TRANSACTION":a.startsWith("COMMIT")?"COMMIT":a.startsWith("ROLLBACK")?"ROLLBACK":"QUERY"}function ct(){var f;const{id:t}=Ne(),[a,l]=i.useState({entry:null,related:[]}),o=Pe(),y=a.id!==t,s=a.entry,x=a.related;if(i.useEffect(()=>{let c=!0;return(async()=>{if(t)try{const g=await we(parseInt(t,10));c&&l({id:t,entry:g.data,related:g.related??[]})}catch(g){console.error("Failed to fetch entry:",g);const w=g instanceof Error?g:new Error("Failed to load this entry"),r=/\b404\b/.test(w.message);c&&l({id:t,entry:null,related:[],failure:r?void 0:w})}})(),()=>{c=!1}},[t]),y)return e.jsx("div",{className:"flex items-center justify-center h-64",role:"status","aria-label":"Loading...",children:e.jsx("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-primary-600"})});if(!s){const c=a.failure;return e.jsxs("div",{className:"text-center py-12",role:c?"alert":void 0,children:[e.jsx("h2",{className:"text-xl font-semibold text-gray-900 dark:text-white","data-testid":c?"entry-error":"entry-missing",children:c?"Could not load this entry":"Entry not found"}),c&&e.jsx("p",{className:"mt-1 text-sm text-gray-500 dark:text-gray-400",children:c.message}),e.jsx(J,{to:"/",className:"text-primary-600 hover:text-primary-700 mt-4 inline-block",children:"Go back to dashboard"})]})}const j=()=>{if(X(s))return e.jsx(Ue,{entry:s,related:x});if(Y(s))return e.jsx(qe,{entry:s});if(Z(s))return e.jsx(Je,{entry:s});if(K(s))return e.jsx(Be,{entry:s});if(re(s))return e.jsx(We,{entry:s});if(le(s))return e.jsx(He,{entry:s});if(ie(s))return e.jsx(Ge,{entry:s});if(ne(s))return e.jsx(Qe,{entry:s});if(oe(s))return e.jsx(Xe,{entry:s});if(ee(s))return e.jsx(Ye,{entry:s});if(ce(s))return e.jsx(Ze,{entry:s});if(de(s))return e.jsx(Ke,{entry:s});if(xe(s))return e.jsx(et,{entry:s});if(pe(s))return e.jsx(tt,{entry:s});if(me(s))return e.jsx(at,{entry:s});if(he(s))return e.jsx(st,{entry:s});if(ge(s))return e.jsx(rt,{entry:s});if(ue(s))return e.jsx(lt,{entry:s});if(te(s))return e.jsx(it,{entry:s});const n=s.payload,g=[{id:"payload",label:"Payload",content:e.jsx(Re,{data:n,toolbarState:o.state,searchBar:o.SearchBar,maxHeight:400})}];return e.jsx(Se,{tabs:g,defaultTab:"payload",headerRight:e.jsx(o.Toolbar,{data:n})})},N=`/${((f=Ce(s.type))==null?void 0:f.route)??"requests"}`;return e.jsxs("div",{children:[e.jsx("div",{className:"fixed top-0 left-0 right-0 lg:left-64 z-30 h-16 bg-gray-50 dark:bg-gray-900 border-b border-gray-200 dark:border-gray-700",children:e.jsxs("div",{className:"flex items-center space-x-4 px-4 lg:px-6 h-full",children:[e.jsx(J,{to:N,"aria-label":`Back to ${N.slice(1)}`,className:"p-2 hover:bg-gray-200 dark:hover:bg-gray-800 rounded-lg transition-colors",children:e.jsx(_e,{className:"h-5 w-5 text-gray-500"})}),e.jsx("div",{className:"flex-1 min-w-0",children:e.jsx(ae,{fallback:e.jsx(Fe,{entry:s}),children:e.jsx(Oe,{entry:s})},`heading-${s.id}`)})]})}),e.jsxs("div",{className:"pt-16 space-y-6",children:[e.jsx(Ie,{entry:s}),e.jsx(ae,{fallback:e.jsx(ze,{entry:s}),children:e.jsx(i.Suspense,{fallback:e.jsx(Me,{}),children:j()})},s.id),x.length>0&&e.jsxs("div",{className:"card",children:[e.jsx("div",{className:"p-4 border-b border-gray-200 dark:border-gray-700",children:e.jsxs("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:["Related Entries (",x.length,")"]})}),e.jsx("div",{className:"divide-y divide-gray-200 dark:divide-gray-700",children:x.map(c=>e.jsx(J,{to:dt(c),className:"p-4 block hover:bg-gray-50 dark:hover:bg-gray-700/50 transition-colors",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center space-x-3",children:[e.jsx(h,{clickable:!1,children:c.type.toUpperCase()}),e.jsx("span",{className:"text-sm text-gray-600 dark:text-gray-300",children:xt(c)})]}),e.jsx("span",{className:"text-sm text-gray-500 dark:text-gray-400",children:ve(Te(c.createdAt),{addSuffix:!0})})]})},c.id))})]})]})]})}function dt(t){return`/${{request:"requests",query:"queries",exception:"exceptions",log:"logs",event:"events",job:"jobs",cache:"cache",mail:"mail",schedule:"schedule","http-client":"http-client",redis:"redis",model:"models",notification:"notifications",view:"views",command:"commands",gate:"gates",batch:"batches",dump:"dumps",graphql:"graphql"}[t.type]||"entries"}/${t.id}`}function xt(t){if(Y(t)){const a=t.payload.query;return a.length>50?a.substring(0,50)+"...":a}if(Z(t))return`${t.payload.name}: ${t.payload.message}`;if(K(t)){const a=t.payload.message;return a.length>50?a.substring(0,50)+"...":a}return X(t)?`${t.payload.method} ${t.payload.path}`:ee(t)?`${t.payload.method} ${t.payload.hostname||t.payload.url}`:te(t)?`${t.payload.operationType} ${t.payload.operationName||"(anonymous)"}`:`Entry #${t.id}`}const yt=Object.freeze(Object.defineProperty({__proto__:null,default:ct},Symbol.toStringTag,{value:"Module"}));export{Re as C,yt as E,H as M,Se as T,W as a,I as b,G as c,Pe as u};
@@ -1 +0,0 @@
1
- import{j as t,X as p}from"./index-CNTaNUkj.js";import{f as g,b as o}from"./vendor-DBTT3jXp.js";import{S as x}from"./search-CcMiea1V.js";function S({placeholder:n="Search..."}){const[u,l]=g(),r=u.get("search")??"",[e,s]=o.useState(r),[h,i]=o.useState(r);return r!==h&&(i(r),s(r)),o.useEffect(()=>{const c=setTimeout(()=>{l(m=>{const a=new URLSearchParams(m);return(a.get("search")||"")===e||(e?a.set("search",e):a.delete("search")),a},{replace:!0})},350);return()=>clearTimeout(c)},[e,l]),t.jsxs("div",{className:"relative",children:[t.jsx(x,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-gray-400 pointer-events-none"}),t.jsx("input",{type:"text",value:e,onChange:c=>s(c.target.value),placeholder:n,"aria-label":n,className:"w-full pl-9 pr-9 py-2 text-sm rounded-lg border border-gray-200 dark:border-gray-700 bg-white dark:bg-gray-800 text-gray-900 dark:text-white placeholder-gray-400 dark:placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:border-transparent"}),e&&t.jsx("button",{onClick:()=>s(""),className:"absolute right-3 top-1/2 -translate-y-1/2 text-gray-400 hover:text-gray-600 dark:hover:text-gray-300","aria-label":"Clear search",children:t.jsx(p,{className:"h-4 w-4"})})]})}export{S as E};
@@ -1,6 +0,0 @@
1
- import{c as z,z as q,j as e,X as H,x as P,i as U,L as B,C as _,T as W}from"./index-CNTaNUkj.js";import{b as j,e as J}from"./vendor-DBTT3jXp.js";import{p as R,f as X}from"./date-Dwgqy666.js";import{D as g,f as Z}from"./DetailRow-C35E-Fg7.js";import{C as $,B as K}from"./types-DqF5HlZi.js";import{G as Y,N as ee}from"./DataTable-CCXj8zzB.js";import{M as ae,c as se,a as te,b as re,u as D,C as L,T as M}from"./EntryDetailPage-C63KztnI.js";import{U as le}from"./UserCard-CEq6mQ5k.js";import{S as Q}from"./search-CcMiea1V.js";import{Z as ne}from"./zap-QXV06WYA.js";import{S as ie}from"./send-CSgocT8I.js";/**
2
- * @license lucide-react v0.468.0 - ISC
3
- *
4
- * This source code is licensed under the ISC license.
5
- * See the LICENSE file in the root directory of this source tree.
6
- */const oe=z("Server",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]);function ce(){const[r,t]=j.useState({expandAllTrigger:0,collapseAllTrigger:0,showSearch:!1,searchTerm:""}),[a,s]=j.useState(!1),o=j.useCallback(()=>{t(c=>({...c,expandAllTrigger:c.expandAllTrigger+1}))},[]),p=j.useCallback(()=>{t(c=>({...c,collapseAllTrigger:c.collapseAllTrigger+1}))},[]),h=j.useCallback(()=>{t(c=>({...c,showSearch:!c.showSearch,searchTerm:c.showSearch?"":c.searchTerm}))},[]),d=j.useCallback(c=>{t(f=>({...f,searchTerm:c}))},[]),n=j.useCallback(async c=>{try{await navigator.clipboard.writeText(c),s(!0),q.success("Copied!"),setTimeout(()=>s(!1),2e3)}catch{q.error("Failed to copy")}},[]),u=({code:c})=>e.jsxs("div",{className:"flex items-center space-x-1",children:[e.jsx("button",{onClick:o,className:"p-1.5 hover:bg-gray-200 dark:hover:bg-gray-700 rounded transition-colors",title:"Expand all",children:e.jsx(ae,{className:"h-3.5 w-3.5 text-gray-500"})}),e.jsx("button",{onClick:p,className:"p-1.5 hover:bg-gray-200 dark:hover:bg-gray-700 rounded transition-colors",title:"Collapse all",children:e.jsx(se,{className:"h-3.5 w-3.5 text-gray-500"})}),e.jsx("div",{className:"w-px h-4 bg-gray-300 dark:bg-gray-600 mx-1"}),e.jsx("button",{onClick:h,className:`p-1.5 rounded transition-colors ${r.showSearch?"bg-primary-100 dark:bg-primary-900/30 text-primary-600 dark:text-primary-400":"hover:bg-gray-200 dark:hover:bg-gray-700 text-gray-500"}`,title:"Search",children:e.jsx(Q,{className:"h-3.5 w-3.5"})}),e.jsx("button",{onClick:()=>n(c),className:"p-1.5 hover:bg-gray-200 dark:hover:bg-gray-700 rounded transition-colors",title:"Copy query",children:a?e.jsx(te,{className:"h-3.5 w-3.5 text-green-500"}):e.jsx(re,{className:"h-3.5 w-3.5 text-gray-500"})})]}),m=r.showSearch?e.jsx("div",{className:"p-3 border-b border-gray-200 dark:border-gray-700",children:e.jsxs("div",{className:"relative",children:[e.jsx(Q,{className:"absolute left-2.5 top-1/2 -translate-y-1/2 h-3.5 w-3.5 text-gray-400"}),e.jsx("input",{type:"text",value:r.searchTerm,onChange:c=>d(c.target.value),placeholder:"Search fields, arguments...",className:"w-full pl-8 pr-8 py-1.5 text-sm bg-white dark:bg-gray-700 border border-gray-300 dark:border-gray-600 rounded focus:ring-2 focus:ring-primary-500 focus:border-transparent",autoFocus:!0}),r.searchTerm&&e.jsx("button",{onClick:()=>d(""),className:"absolute right-2.5 top-1/2 -translate-y-1/2 text-gray-400 hover:text-gray-600",children:e.jsx(H,{className:"h-3.5 w-3.5"})})]})}):null;return{state:r,Toolbar:u,SearchBar:m}}function de(r){const t=[];let a="",s=!1,o="";for(let p=0;p<r.length;p++){const h=r[p];if(s){a+=h,h===o&&r[p-1]!=="\\"&&(t.push(a),a="",s=!1);continue}if(h==='"'||h==="'"){a&&t.push(a),a=h,s=!0,o=h;continue}if(/[\s,]/.test(h)){a&&t.push(a),a="";continue}if(/[{}():\[\]!$@]/.test(h)){a&&t.push(a),t.push(h),a="";continue}a+=h}return a&&t.push(a),t}const xe=64;function he(r){const t=de(r),a=[];let s=0;function o(){if(t[s]!=="{")return;let n=0;for(;s<t.length;){const u=t[s++];if(u==="{")n+=1;else if(u==="}"&&(n-=1,n===0))return}}function p(n){const u=[];if(t[s]!=="{")return u;if(n>xe)return o(),[{type:"field",name:"… deeper than this viewer follows"}];for(s++;s<t.length&&t[s]!=="}";){const m=h(n);m&&u.push(m)}return s++,u}function h(n){if(t[s]==="...")if(s++,t[s]==="on"){s++;const l=t[s++],x=p(n+1);return{type:"inline-fragment",typeCondition:l,children:x}}else return{type:"fragment",name:t[s++]};let u=t[s++],m;t[s]===":"&&(s++,m=u,u=t[s++]);let c;if(t[s]==="("){for(c=[],s++;s<t.length&&t[s]!==")";){const l=t[s++];if(t[s]===":"){s++;let x="",b=0;for(;s<t.length;){const y=t[s];if((y==="{"||y==="[")&&b++,(y==="}"||y==="]")&&b--,b===0&&(y===")"||t[s+1]===":"))break;x+=y+" ",s++}c.push({name:l,value:x.trim()})}}t[s]===")"&&s++}let f;for(;t[s]==="@";){s++;const l=t[s++];f=f??[];const x={name:l};if(t[s]==="("){for(x.arguments=[],s++;s<t.length&&t[s]!==")";){const b=t[s++];if(t[s]===":"){s++;const y=t[s++];x.arguments.push({name:b,value:y})}}t[s]===")"&&s++}f.push(x)}let i;return t[s]==="{"&&(i=p(n+1)),{type:"field",name:u,alias:m,arguments:c,directives:f,children:i}}function d(){const n=t[s];if(!["query","mutation","subscription","fragment"].includes(n))return t[s]==="{"?{type:"operation",operationType:"query",children:p(1)}:null;if(s++,n==="fragment"){const f=t[s++];s++;const i=t[s++],l=p(1);return{type:"fragment",name:f,typeCondition:i,children:l}}let u,m;if(t[s]&&t[s]!=="("&&t[s]!=="{"&&(u=t[s++]),t[s]==="("){for(m=[],s++;s<t.length&&t[s]!==")";)if(t[s]==="$"){s++;const f=t[s++];s++;let i="";for(;s<t.length&&![")","=","$"].includes(t[s]);)i+=t[s++];let l;t[s]==="="&&(s++,l=t[s++]),m.push({name:f,type:i.trim(),defaultValue:l})}else s++;t[s]===")"&&s++}const c=p(1);return{type:"operation",operationType:n,name:u,variableDefinitions:m,children:c}}for(;s<t.length;){const n=d();n?a.push(n):s++}return a}function F({node:r,depth:t=0,searchTerm:a,defaultExpanded:s}){const[o,p]=j.useState(s),[h,d]=j.useState(void 0),n=r.children&&r.children.length>0,u=t*16,m=j.useMemo(()=>{if(!a)return!1;const i=a.toLowerCase(),l=x=>{var b,y,k,w,C,T,S;return!!((b=x.name)!=null&&b.toLowerCase().includes(i)||(y=x.alias)!=null&&y.toLowerCase().includes(i)||(k=x.operationType)!=null&&k.toLowerCase().includes(i)||(w=x.typeCondition)!=null&&w.toLowerCase().includes(i)||(C=x.arguments)!=null&&C.some(N=>N.name.toLowerCase().includes(i)||N.value.toLowerCase().includes(i))||(T=x.variableDefinitions)!=null&&T.some(N=>N.name.toLowerCase().includes(i)||N.type.toLowerCase().includes(i))||(S=x.children)!=null&&S.some(l))};return l(r)},[r,a]);a&&m&&h!==a&&(d(a),p(!0));const c=i=>{if(!a)return i;const l=i.toLowerCase().indexOf(a.toLowerCase());return l===-1?i:e.jsxs(e.Fragment,{children:[i.slice(0,l),e.jsx("span",{className:"bg-yellow-300 dark:bg-yellow-600 rounded px-0.5",children:i.slice(l,l+a.length)}),i.slice(l+a.length)]})},f=()=>{const i=[];if(r.operationType&&i.push(e.jsx("span",{className:"text-pink-600 dark:text-pink-400 font-medium",children:c(r.operationType)},"op")),r.type==="inline-fragment"&&i.push(e.jsx("span",{className:"text-gray-500",children:"..."},"spread"),e.jsx("span",{className:"text-pink-600 dark:text-pink-400 font-medium ml-1",children:"on"},"on")),r.typeCondition&&i.push(e.jsx("span",{className:"text-yellow-600 dark:text-yellow-400 ml-1",children:c(r.typeCondition)},"type")),r.alias&&i.push(e.jsx("span",{className:"text-purple-600 dark:text-purple-400 ml-1",children:c(r.alias)},"alias"),e.jsx("span",{className:"text-gray-500",children:":"},"colon")),r.name){const l=r.type==="operation"||r.type==="fragment"?"text-blue-600 dark:text-blue-400":"text-cyan-600 dark:text-cyan-400";i.push(e.jsx("span",{className:`${l} ml-1`,children:c(r.name)},"name"))}return r.variableDefinitions&&r.variableDefinitions.length>0&&i.push(e.jsxs("span",{className:"text-gray-500 ml-1",children:["(",r.variableDefinitions.map((l,x)=>e.jsxs("span",{children:[x>0&&e.jsx("span",{className:"text-gray-500",children:", "}),e.jsxs("span",{className:"text-orange-500 dark:text-orange-400",children:["$",c(l.name)]}),e.jsx("span",{className:"text-gray-500",children:": "}),e.jsx("span",{className:"text-yellow-600 dark:text-yellow-400",children:c(l.type)}),l.defaultValue&&e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"text-gray-500",children:" = "}),e.jsx("span",{className:"text-green-600 dark:text-green-400",children:l.defaultValue})]})]},x)),")"]},"vars")),r.arguments&&r.arguments.length>0&&i.push(e.jsxs("span",{className:"text-gray-500",children:["(",r.arguments.map((l,x)=>e.jsxs("span",{children:[x>0&&e.jsx("span",{className:"text-gray-500",children:", "}),e.jsx("span",{className:"text-purple-500 dark:text-purple-400",children:c(l.name)}),e.jsx("span",{className:"text-gray-500",children:": "}),e.jsx("span",{className:"text-green-600 dark:text-green-400",children:c(l.value)})]},x)),")"]},"args")),r.directives&&r.directives.length>0&&r.directives.forEach((l,x)=>{i.push(e.jsxs("span",{className:"text-pink-500 dark:text-pink-400 ml-1",children:["@",l.name,l.arguments&&l.arguments.length>0&&e.jsxs("span",{className:"text-gray-500",children:["(",l.arguments.map((b,y)=>e.jsxs("span",{children:[y>0&&", ",e.jsx("span",{className:"text-purple-500",children:b.name}),": ",e.jsx("span",{className:"text-green-600",children:b.value})]},y)),")"]})]},`dir-${x}`))}),n&&i.push(e.jsx("span",{className:"text-gray-500 ml-1",children:o?"{":"{ ... }"},"brace")),i};return e.jsxs("div",{className:m&&a?"bg-yellow-50 dark:bg-yellow-900/20":"",children:[e.jsxs("div",{className:"group flex items-start py-0.5 hover:bg-gray-100 dark:hover:bg-white/5 rounded transition-colors font-mono text-sm",style:{paddingLeft:u},children:[e.jsx("button",{onClick:()=>p(!o),className:`w-5 h-5 flex items-center justify-center flex-shrink-0 ${n?"cursor-pointer hover:bg-gray-200 dark:hover:bg-gray-700 rounded":""}`,disabled:!n,children:n&&(o?e.jsx(P,{className:"h-3.5 w-3.5 text-gray-400"}):e.jsx(U,{className:"h-3.5 w-3.5 text-gray-400"}))}),e.jsx("div",{className:"flex-1 whitespace-nowrap",children:f()})]}),o&&r.children&&r.children.length>0&&e.jsxs("div",{children:[r.children.map((i,l)=>e.jsx(F,{node:i,depth:t+1,searchTerm:a,defaultExpanded:s},l)),e.jsx("div",{className:"py-0.5 font-mono text-sm text-gray-500",style:{paddingLeft:u+20},children:"}"})]})]})}function pe({query:r,maxHeight:t=400,toolbarState:a,searchBar:s}){const o=j.useMemo(()=>he(r),[r]),p=a.expandAllTrigger>a.collapseAllTrigger||a.expandAllTrigger===0,h=`${a.expandAllTrigger}-${a.collapseAllTrigger}`;return e.jsxs("div",{children:[s,e.jsx("div",{className:"p-3 overflow-auto",style:{maxHeight:typeof t=="number"?`${t}px`:t},children:o.length>0?e.jsx("div",{children:o.map((d,n)=>e.jsx(F,{node:d,searchTerm:a.searchTerm,defaultExpanded:p},n))},h):e.jsx("pre",{className:"text-sm text-gray-600 dark:text-gray-400 whitespace-pre-wrap font-mono",children:r})})]})}function v(r){return r<1?`${(r*1e3).toFixed(0)} us`:r<1e3?`${r.toFixed(2)} ms`:`${(r/1e3).toFixed(2)} s`}const E=1e6;function ue({parsing:r,validation:t,execution:a,total:s}){if(!r&&!t&&!a)return null;const o=[{label:"Parsing",value:r,color:"bg-blue-400"},{label:"Validation",value:t,color:"bg-purple-400"},{label:"Execution",value:a,color:"bg-green-400"}].filter(d=>d.value!==void 0&&d.value>0),p=o.reduce((d,n)=>d+(n.value??0),0),h=s-p;return e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"h-3 rounded-full overflow-hidden bg-gray-100 dark:bg-gray-700 flex",children:[o.map((d,n)=>e.jsx("div",{className:`${d.color} transition-all`,style:{width:`${(d.value??0)/s*100}%`},title:`${d.label}: ${v(d.value??0)}`},n)),h>0&&e.jsx("div",{className:"bg-gray-300 dark:bg-gray-600",style:{width:`${h/s*100}%`},title:`Other: ${v(h)}`})]}),e.jsxs("div",{className:"flex flex-wrap gap-3 text-xs text-gray-600 dark:text-gray-400",children:[o.map((d,n)=>e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("div",{className:`w-2.5 h-2.5 rounded ${d.color}`}),e.jsxs("span",{children:[d.label,": ",v(d.value??0)]})]},n)),h>0&&e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("div",{className:"w-2.5 h-2.5 rounded bg-gray-300 dark:bg-gray-600"}),e.jsxs("span",{children:["Other: ",v(h)]})]})]})]})}function me({warnings:r}){return!r||r.length===0?null:e.jsxs("div",{className:"card border-amber-200 dark:border-amber-800",children:[e.jsx("div",{className:"px-4 py-3 border-b border-amber-200 dark:border-amber-800 bg-amber-50 dark:bg-amber-900/20",children:e.jsxs("h2",{className:"text-lg font-semibold text-amber-800 dark:text-amber-200 flex items-center gap-2",children:[e.jsx(W,{className:"h-5 w-5"}),"Potential N+1 Queries (",r.length,")"]})}),e.jsx("div",{className:"divide-y divide-amber-100 dark:divide-amber-900/30",children:r.map((t,a)=>e.jsxs("div",{className:"p-4",children:[e.jsx("div",{className:"flex items-start justify-between",children:e.jsxs("div",{children:[e.jsxs("code",{className:"text-sm font-mono text-amber-700 dark:text-amber-300",children:[t.parentType,".",t.field]}),e.jsxs("p",{className:"text-sm text-gray-600 dark:text-gray-400 mt-1",children:["Called ",e.jsxs("span",{className:"font-semibold text-amber-600 dark:text-amber-400",children:[t.count," times"]})]})]})}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-500 mt-2",children:t.suggestion})]},a))})]})}const V=(r,t)=>t&&t>r?`${r} of ${t}`:String(r);function ge({errors:r,errorCount:t}){return!r||r.length===0?null:e.jsxs("div",{className:"card border-red-200 dark:border-red-800",children:[e.jsx("div",{className:"px-4 py-3 border-b border-red-200 dark:border-red-800 bg-red-50 dark:bg-red-900/20",children:e.jsxs("h2",{className:"text-lg font-semibold text-red-800 dark:text-red-200",children:["GraphQL Errors (",V(r.length,t),")"]})}),e.jsx("div",{className:"divide-y divide-red-100 dark:divide-red-900/30",children:r.map((a,s)=>e.jsxs("div",{className:"p-4",children:[e.jsx("p",{className:"text-sm font-medium text-red-700 dark:text-red-300",children:a.message}),a.path&&a.path.length>0&&e.jsxs("p",{className:"text-xs text-gray-500 dark:text-gray-400 mt-1 font-mono",children:["Path: ",a.path.join(" > ")]}),a.locations&&a.locations.length>0&&e.jsxs("p",{className:"text-xs text-gray-500 dark:text-gray-400 mt-1",children:["Location: ",a.locations.map(o=>`Line ${o.line}, Col ${o.column}`).join("; ")]})]},s))})]})}function ye({traces:r,totalDuration:t}){if(!r||r.length===0)return null;const a=[...r].sort((o,p)=>o.startOffset-p.startOffset),s=Math.max(t,...a.map(o=>(o.startOffset+o.duration)/E));return e.jsx("div",{className:"space-y-1",children:a.map((o,p)=>{const h=o.startOffset/E,d=o.duration/E,n=s>0?h/s*100:0,u=Math.min(Math.max(s>0?d/s*100:0,.5),100-n);return e.jsxs("div",{className:"flex items-center gap-2 text-xs",children:[e.jsx("div",{className:"w-40 truncate text-gray-600 dark:text-gray-400 font-mono",title:o.path,children:o.fieldName}),e.jsx("div",{className:"flex-1 h-4 bg-gray-100 dark:bg-gray-700 rounded relative",children:e.jsx("div",{className:"absolute h-full bg-primary-400 dark:bg-primary-500 rounded",style:{left:`${n}%`,width:`${u}%`},title:`${o.path}: ${v(d)}`})}),e.jsx("div",{className:"w-16 text-right text-gray-500 dark:text-gray-400 tabular-nums",children:v(d)})]},p)})})}function De({entry:r}){var A;const t=J(),{payload:a,createdAt:s}=r,o=(r.tags??[]).filter(G=>!["query","mutation","subscription"].includes(G.toLowerCase())),p=()=>t("/graphql?hasErrors=true"),h=()=>t("/graphql?hasN1=true"),d=ce(),n=D(),u=D(),m=D(),[c,f]=j.useState("query"),i=e.jsx(pe,{query:a.query,toolbarState:d.state,searchBar:d.SearchBar,maxHeight:400}),l=e.jsx(L,{data:a.variables??{},toolbarState:n.state,searchBar:n.SearchBar,maxHeight:400}),x=Object.keys(a.headers??{}).length,b=x>0?e.jsx(L,{data:a.headers??{},toolbarState:u.state,searchBar:u.SearchBar,maxHeight:400}):e.jsxs("div",{className:"p-8 text-center text-gray-500 dark:text-gray-400",children:[e.jsx("p",{children:"No headers captured for this operation."}),e.jsxs("p",{className:"text-xs mt-1",children:["Ensure ",e.jsx("code",{className:"px-1 py-0.5 bg-gray-100 dark:bg-gray-700 rounded",children:"captureHeaders"})," is enabled in the GraphQL watcher config."]})]}),y=e.jsx(L,{data:a.responseData||{},toolbarState:m.state,searchBar:m.SearchBar,maxHeight:400}),k=a.errors&&a.errors.length>0?e.jsx(ge,{errors:a.errors,errorCount:a.errorCount}):e.jsx("div",{className:"p-8 text-center text-gray-500 dark:text-gray-400",children:"No errors"}),w=a.fieldTraces&&a.fieldTraces.length>0?e.jsx("div",{className:"p-4",children:e.jsx(ye,{traces:a.fieldTraces,totalDuration:a.duration})}):a.hasErrors?e.jsxs("div",{className:"p-8 text-center text-gray-500 dark:text-gray-400",children:[e.jsx("p",{children:"No resolver traces available."}),e.jsx("p",{className:"text-xs mt-1",children:"Query failed before execution phase - resolvers were not called."})]}):e.jsxs("div",{className:"p-8 text-center text-gray-500 dark:text-gray-400",children:[e.jsx("p",{children:"Resolver tracing not enabled for this operation."}),e.jsxs("p",{className:"text-xs mt-1",children:["Enable ",e.jsx("code",{className:"px-1 py-0.5 bg-gray-100 dark:bg-gray-700 rounded",children:"traceFieldResolvers"})," in GraphQL watcher config."]})]}),C=[{id:"query",label:"Query",content:i},{id:"variables",label:"Variables",content:l},{id:"headers",label:`Headers${x?` (${x})`:""}`,content:b}],T=[{id:"response",label:"Response",content:y},{id:"errors",label:`Errors${(A=a.errors)!=null&&A.length?` (${V(a.errors.length,a.errorCount)})`:""}`,content:k},{id:"resolvers",label:"Resolvers",content:w}],[S,N]=j.useState("response"),I=()=>{switch(c){case"query":return e.jsx(d.Toolbar,{code:a.query});case"variables":return e.jsx(n.Toolbar,{data:a.variables??{}});case"headers":return x>0?e.jsx(u.Toolbar,{data:a.headers??{}}):null;default:return null}},O=()=>{switch(S){case"response":return e.jsx(m.Toolbar,{data:a.responseData||{}});default:return null}};return e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"card",children:[e.jsx("div",{className:"px-4 py-3 border-b border-gray-200 dark:border-gray-700",children:e.jsx("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white",children:"Operation Details"})}),e.jsx("div",{className:"p-4",children:e.jsxs("dl",{className:"divide-y-0",children:[e.jsx(g,{label:"Time",value:e.jsxs("span",{children:[Z(R(s),"MMMM do yyyy, h:mm:ss a")," ",e.jsxs("span",{className:"text-gray-500 dark:text-gray-400",children:["(",X(R(s),{addSuffix:!0}),")"]})]})}),e.jsx(g,{label:"Operation Type",value:e.jsx($,{listType:"graphql",filterType:"operationTypes",filterValue:a.operationType,children:a.operationType.toUpperCase()})}),e.jsx(g,{label:"Operation Name",value:a.operationName?e.jsx($,{listType:"graphql",filterType:"operationNames",filterValue:a.operationName,className:"font-mono",children:a.operationName}):e.jsx("span",{className:"text-gray-400 dark:text-gray-500 italic",children:"(anonymous)"})}),e.jsx(g,{label:"Query Hash",value:e.jsx("code",{className:"text-xs font-mono text-gray-500 dark:text-gray-400",children:a.queryHash})}),e.jsx(g,{label:"Status",value:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx($,{listType:"graphql",filterType:"statuses",filterValue:String(a.statusCode),children:String(a.statusCode)}),a.hasErrors&&e.jsx(Y,{onClick:p}),a.potentialN1&&a.potentialN1.length>0&&e.jsx(ee,{count:a.potentialN1.length,onClick:h})]})}),e.jsx(g,{label:"Duration",value:e.jsx("span",{className:a.duration>1e3?"text-yellow-600 dark:text-yellow-400 font-medium":"",children:v(a.duration)})}),a.resolverCount!==void 0&&e.jsx(g,{label:"Resolver Count",value:e.jsxs("span",{className:"flex items-center gap-1.5",children:[e.jsx(B,{className:"h-4 w-4 text-gray-400"}),a.resolverCount]})}),a.depthReached!==void 0&&e.jsx(g,{label:"Query Depth",value:e.jsx("span",{className:a.depthReached>5?"text-amber-600 dark:text-amber-400":"",children:a.depthReached})}),a.ip&&e.jsx(g,{label:"IP Address",value:e.jsx($,{listType:"graphql",filterType:"ips",filterValue:a.ip,className:"font-mono",children:a.ip})}),a.userAgent&&e.jsx(g,{label:"User Agent",value:e.jsx("span",{className:"text-sm text-gray-600 dark:text-gray-400",children:a.userAgent})}),a.fieldCount!==void 0&&e.jsx(g,{label:"Field Count",value:a.fieldCount}),o.length>0&&e.jsx(g,{label:"Tags",value:e.jsx(K,{items:o,listType:"graphql",maxItems:99})})]})})]}),(a.parsingDuration!==void 0||a.validationDuration!==void 0||a.executionDuration!==void 0)&&e.jsxs("div",{className:"card",children:[e.jsx("div",{className:"px-4 py-3 border-b border-gray-200 dark:border-gray-700",children:e.jsxs("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white flex items-center gap-2",children:[e.jsx(_,{className:"h-5 w-5 text-gray-400"}),"Timing Breakdown"]})}),e.jsx("div",{className:"p-4",children:e.jsx(ue,{parsing:a.parsingDuration,validation:a.validationDuration,execution:a.executionDuration,total:a.duration})})]}),a.batchId&&e.jsxs("div",{className:"card",children:[e.jsx("div",{className:"px-4 py-3 border-b border-gray-200 dark:border-gray-700",children:e.jsxs("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white flex items-center gap-2",children:[e.jsx(B,{className:"h-5 w-5 text-gray-400"}),"Batch Request"]})}),e.jsx("div",{className:"p-4",children:e.jsxs("dl",{className:"divide-y-0",children:[e.jsx(g,{label:"Batch ID",value:e.jsx("code",{className:"font-mono text-sm",children:a.batchId})}),a.batchSize!==void 0&&e.jsx(g,{label:"Position",value:e.jsxs("span",{children:[(a.batchIndex??0)+1," of ",a.batchSize]})})]})})]}),a.operationType==="subscription"&&a.subscriptionId&&e.jsxs("div",{className:"card",children:[e.jsx("div",{className:"px-4 py-3 border-b border-gray-200 dark:border-gray-700",children:e.jsxs("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white flex items-center gap-2",children:[e.jsx(ne,{className:"h-5 w-5 text-green-500"}),"Subscription Details"]})}),e.jsx("div",{className:"p-4",children:e.jsxs("dl",{className:"divide-y-0",children:[e.jsx(g,{label:"Subscription ID",value:e.jsx("code",{className:"font-mono text-sm",children:a.subscriptionId})}),a.subscriptionEvent&&e.jsx(g,{label:"Event",value:e.jsx("span",{className:"capitalize",children:a.subscriptionEvent})}),a.messageCount!==void 0&&e.jsx(g,{label:"Messages Sent",value:a.messageCount}),a.subscriptionDuration!==void 0&&e.jsx(g,{label:"Total Duration",value:v(a.subscriptionDuration)})]})})]}),a.user&&e.jsx(le,{user:a.user}),e.jsx(me,{warnings:a.potentialN1}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white flex items-center gap-2",children:[e.jsx(ie,{className:"h-5 w-5 text-blue-500"}),"Client Request"]}),e.jsx(M,{tabs:C,defaultTab:"query",headerRight:I(),onTabChange:f})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("h2",{className:"text-lg font-semibold text-gray-900 dark:text-white flex items-center gap-2",children:[e.jsx(oe,{className:"h-5 w-5 text-green-500"}),"Server Response"]}),e.jsx(M,{tabs:T,defaultTab:"response",headerRight:O(),onTabChange:N})]})]})}export{De as default};