nestlens 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +145 -0
- package/dist/__tests__/api/api.controller.spec.d.ts +2 -0
- package/dist/__tests__/api/api.controller.spec.d.ts.map +1 -0
- package/dist/__tests__/api/api.controller.spec.js +982 -0
- package/dist/__tests__/api/api.controller.spec.js.map +1 -0
- package/dist/__tests__/api/api.guard.spec.d.ts +2 -0
- package/dist/__tests__/api/api.guard.spec.d.ts.map +1 -0
- package/dist/__tests__/api/api.guard.spec.js +572 -0
- package/dist/__tests__/api/api.guard.spec.js.map +1 -0
- package/dist/__tests__/api/dashboard.controller.spec.d.ts +2 -0
- package/dist/__tests__/api/dashboard.controller.spec.d.ts.map +1 -0
- package/dist/__tests__/api/dashboard.controller.spec.js +474 -0
- package/dist/__tests__/api/dashboard.controller.spec.js.map +1 -0
- package/dist/__tests__/api/tag.controller.spec.d.ts +2 -0
- package/dist/__tests__/api/tag.controller.spec.d.ts.map +1 -0
- package/dist/__tests__/api/tag.controller.spec.js +280 -0
- package/dist/__tests__/api/tag.controller.spec.js.map +1 -0
- package/dist/__tests__/collector.service.spec.d.ts +2 -0
- package/dist/__tests__/collector.service.spec.d.ts.map +1 -0
- package/dist/__tests__/collector.service.spec.js +240 -0
- package/dist/__tests__/collector.service.spec.js.map +1 -0
- package/dist/__tests__/core/collector.service.spec.d.ts +2 -0
- package/dist/__tests__/core/collector.service.spec.d.ts.map +1 -0
- package/dist/__tests__/core/collector.service.spec.js +526 -0
- package/dist/__tests__/core/collector.service.spec.js.map +1 -0
- package/dist/__tests__/core/family-hash.service.spec.d.ts +2 -0
- package/dist/__tests__/core/family-hash.service.spec.d.ts.map +1 -0
- package/dist/__tests__/core/family-hash.service.spec.js +1117 -0
- package/dist/__tests__/core/family-hash.service.spec.js.map +1 -0
- package/dist/__tests__/core/pruning.service.spec.d.ts +2 -0
- package/dist/__tests__/core/pruning.service.spec.d.ts.map +1 -0
- package/dist/__tests__/core/pruning.service.spec.js +224 -0
- package/dist/__tests__/core/pruning.service.spec.js.map +1 -0
- package/dist/__tests__/core/storage/sqlite.storage.spec.d.ts +2 -0
- package/dist/__tests__/core/storage/sqlite.storage.spec.d.ts.map +1 -0
- package/dist/__tests__/core/storage/sqlite.storage.spec.js +853 -0
- package/dist/__tests__/core/storage/sqlite.storage.spec.js.map +1 -0
- package/dist/__tests__/core/tag.service.spec.d.ts +2 -0
- package/dist/__tests__/core/tag.service.spec.d.ts.map +1 -0
- package/dist/__tests__/core/tag.service.spec.js +994 -0
- package/dist/__tests__/core/tag.service.spec.js.map +1 -0
- package/dist/__tests__/family-hash.service.spec.d.ts +2 -0
- package/dist/__tests__/family-hash.service.spec.d.ts.map +1 -0
- package/dist/__tests__/family-hash.service.spec.js +325 -0
- package/dist/__tests__/family-hash.service.spec.js.map +1 -0
- package/dist/__tests__/filters/api-filters.spec.d.ts +2 -0
- package/dist/__tests__/filters/api-filters.spec.d.ts.map +1 -0
- package/dist/__tests__/filters/api-filters.spec.js +172 -0
- package/dist/__tests__/filters/api-filters.spec.js.map +1 -0
- package/dist/__tests__/filters/entry-factories.d.ts +20 -0
- package/dist/__tests__/filters/entry-factories.d.ts.map +1 -0
- package/dist/__tests__/filters/entry-factories.js +288 -0
- package/dist/__tests__/filters/entry-factories.js.map +1 -0
- package/dist/__tests__/filters/filter-contract.spec.d.ts +2 -0
- package/dist/__tests__/filters/filter-contract.spec.d.ts.map +1 -0
- package/dist/__tests__/filters/filter-contract.spec.js +230 -0
- package/dist/__tests__/filters/filter-contract.spec.js.map +1 -0
- package/dist/__tests__/filters/filter-test-data.d.ts +26 -0
- package/dist/__tests__/filters/filter-test-data.d.ts.map +1 -0
- package/dist/__tests__/filters/filter-test-data.js +374 -0
- package/dist/__tests__/filters/filter-test-data.js.map +1 -0
- package/dist/__tests__/filters/storage-filters.spec.d.ts +2 -0
- package/dist/__tests__/filters/storage-filters.spec.d.ts.map +1 -0
- package/dist/__tests__/filters/storage-filters.spec.js +699 -0
- package/dist/__tests__/filters/storage-filters.spec.js.map +1 -0
- package/dist/__tests__/filters/test-utils.d.ts +23 -0
- package/dist/__tests__/filters/test-utils.d.ts.map +1 -0
- package/dist/__tests__/filters/test-utils.js +54 -0
- package/dist/__tests__/filters/test-utils.js.map +1 -0
- package/dist/__tests__/nestlens.module.spec.d.ts +2 -0
- package/dist/__tests__/nestlens.module.spec.d.ts.map +1 -0
- package/dist/__tests__/nestlens.module.spec.js +620 -0
- package/dist/__tests__/nestlens.module.spec.js.map +1 -0
- package/dist/__tests__/pruning.service.spec.d.ts +2 -0
- package/dist/__tests__/pruning.service.spec.d.ts.map +1 -0
- package/dist/__tests__/pruning.service.spec.js +142 -0
- package/dist/__tests__/pruning.service.spec.js.map +1 -0
- package/dist/__tests__/setup.d.ts +7 -0
- package/dist/__tests__/setup.d.ts.map +1 -0
- package/dist/__tests__/setup.js +24 -0
- package/dist/__tests__/setup.js.map +1 -0
- package/dist/__tests__/tag.service.spec.d.ts +2 -0
- package/dist/__tests__/tag.service.spec.d.ts.map +1 -0
- package/dist/__tests__/tag.service.spec.js +482 -0
- package/dist/__tests__/tag.service.spec.js.map +1 -0
- package/dist/__tests__/watchers/batch.watcher.spec.d.ts +2 -0
- package/dist/__tests__/watchers/batch.watcher.spec.d.ts.map +1 -0
- package/dist/__tests__/watchers/batch.watcher.spec.js +515 -0
- package/dist/__tests__/watchers/batch.watcher.spec.js.map +1 -0
- package/dist/__tests__/watchers/cache.watcher.spec.d.ts +2 -0
- package/dist/__tests__/watchers/cache.watcher.spec.d.ts.map +1 -0
- package/dist/__tests__/watchers/cache.watcher.spec.js +395 -0
- package/dist/__tests__/watchers/cache.watcher.spec.js.map +1 -0
- package/dist/__tests__/watchers/command.watcher.spec.d.ts +2 -0
- package/dist/__tests__/watchers/command.watcher.spec.d.ts.map +1 -0
- package/dist/__tests__/watchers/command.watcher.spec.js +598 -0
- package/dist/__tests__/watchers/command.watcher.spec.js.map +1 -0
- package/dist/__tests__/watchers/dump.watcher.spec.d.ts +2 -0
- package/dist/__tests__/watchers/dump.watcher.spec.d.ts.map +1 -0
- package/dist/__tests__/watchers/dump.watcher.spec.js +724 -0
- package/dist/__tests__/watchers/dump.watcher.spec.js.map +1 -0
- package/dist/__tests__/watchers/event.watcher.spec.d.ts +2 -0
- package/dist/__tests__/watchers/event.watcher.spec.d.ts.map +1 -0
- package/dist/__tests__/watchers/event.watcher.spec.js +316 -0
- package/dist/__tests__/watchers/event.watcher.spec.js.map +1 -0
- package/dist/__tests__/watchers/exception.watcher.spec.d.ts +2 -0
- package/dist/__tests__/watchers/exception.watcher.spec.d.ts.map +1 -0
- package/dist/__tests__/watchers/exception.watcher.spec.js +495 -0
- package/dist/__tests__/watchers/exception.watcher.spec.js.map +1 -0
- package/dist/__tests__/watchers/gate.watcher.spec.d.ts +2 -0
- package/dist/__tests__/watchers/gate.watcher.spec.d.ts.map +1 -0
- package/dist/__tests__/watchers/gate.watcher.spec.js +683 -0
- package/dist/__tests__/watchers/gate.watcher.spec.js.map +1 -0
- package/dist/__tests__/watchers/http-client.watcher.spec.d.ts +2 -0
- package/dist/__tests__/watchers/http-client.watcher.spec.d.ts.map +1 -0
- package/dist/__tests__/watchers/http-client.watcher.spec.js +888 -0
- package/dist/__tests__/watchers/http-client.watcher.spec.js.map +1 -0
- package/dist/__tests__/watchers/job.watcher.spec.d.ts +2 -0
- package/dist/__tests__/watchers/job.watcher.spec.d.ts.map +1 -0
- package/dist/__tests__/watchers/job.watcher.spec.js +513 -0
- package/dist/__tests__/watchers/job.watcher.spec.js.map +1 -0
- package/dist/__tests__/watchers/log.watcher.spec.d.ts +2 -0
- package/dist/__tests__/watchers/log.watcher.spec.d.ts.map +1 -0
- package/dist/__tests__/watchers/log.watcher.spec.js +428 -0
- package/dist/__tests__/watchers/log.watcher.spec.js.map +1 -0
- package/dist/__tests__/watchers/mail.watcher.spec.d.ts +2 -0
- package/dist/__tests__/watchers/mail.watcher.spec.d.ts.map +1 -0
- package/dist/__tests__/watchers/mail.watcher.spec.js +425 -0
- package/dist/__tests__/watchers/mail.watcher.spec.js.map +1 -0
- package/dist/__tests__/watchers/model.watcher.spec.d.ts +2 -0
- package/dist/__tests__/watchers/model.watcher.spec.d.ts.map +1 -0
- package/dist/__tests__/watchers/model.watcher.spec.js +675 -0
- package/dist/__tests__/watchers/model.watcher.spec.js.map +1 -0
- package/dist/__tests__/watchers/notification.watcher.spec.d.ts +2 -0
- package/dist/__tests__/watchers/notification.watcher.spec.d.ts.map +1 -0
- package/dist/__tests__/watchers/notification.watcher.spec.js +595 -0
- package/dist/__tests__/watchers/notification.watcher.spec.js.map +1 -0
- package/dist/__tests__/watchers/query/types.spec.d.ts +2 -0
- package/dist/__tests__/watchers/query/types.spec.d.ts.map +1 -0
- package/dist/__tests__/watchers/query/types.spec.js +292 -0
- package/dist/__tests__/watchers/query/types.spec.js.map +1 -0
- package/dist/__tests__/watchers/query.watcher.spec.d.ts +2 -0
- package/dist/__tests__/watchers/query.watcher.spec.d.ts.map +1 -0
- package/dist/__tests__/watchers/query.watcher.spec.js +597 -0
- package/dist/__tests__/watchers/query.watcher.spec.js.map +1 -0
- package/dist/__tests__/watchers/redis.watcher.spec.d.ts +2 -0
- package/dist/__tests__/watchers/redis.watcher.spec.d.ts.map +1 -0
- package/dist/__tests__/watchers/redis.watcher.spec.js +634 -0
- package/dist/__tests__/watchers/redis.watcher.spec.js.map +1 -0
- package/dist/__tests__/watchers/request.watcher.spec.d.ts +2 -0
- package/dist/__tests__/watchers/request.watcher.spec.d.ts.map +1 -0
- package/dist/__tests__/watchers/request.watcher.spec.js +1017 -0
- package/dist/__tests__/watchers/request.watcher.spec.js.map +1 -0
- package/dist/__tests__/watchers/schedule.watcher.spec.d.ts +2 -0
- package/dist/__tests__/watchers/schedule.watcher.spec.d.ts.map +1 -0
- package/dist/__tests__/watchers/schedule.watcher.spec.js +338 -0
- package/dist/__tests__/watchers/schedule.watcher.spec.js.map +1 -0
- package/dist/__tests__/watchers/view.watcher.spec.d.ts +2 -0
- package/dist/__tests__/watchers/view.watcher.spec.d.ts.map +1 -0
- package/dist/__tests__/watchers/view.watcher.spec.js +564 -0
- package/dist/__tests__/watchers/view.watcher.spec.js.map +1 -0
- package/dist/api/api.controller.d.ts +193 -0
- package/dist/api/api.controller.d.ts.map +1 -0
- package/dist/api/api.controller.js +562 -0
- package/dist/api/api.controller.js.map +1 -0
- package/dist/api/api.guard.d.ts +77 -0
- package/dist/api/api.guard.d.ts.map +1 -0
- package/dist/api/api.guard.js +294 -0
- package/dist/api/api.guard.js.map +1 -0
- package/dist/api/dashboard.controller.d.ts +49 -0
- package/dist/api/dashboard.controller.d.ts.map +1 -0
- package/dist/api/dashboard.controller.js +472 -0
- package/dist/api/dashboard.controller.js.map +1 -0
- package/dist/api/index.d.ts +5 -0
- package/dist/api/index.d.ts.map +1 -0
- package/dist/api/index.js +21 -0
- package/dist/api/index.js.map +1 -0
- package/dist/api/tag.controller.d.ts +65 -0
- package/dist/api/tag.controller.d.ts.map +1 -0
- package/dist/api/tag.controller.js +149 -0
- package/dist/api/tag.controller.js.map +1 -0
- package/dist/core/collector.service.d.ts +80 -0
- package/dist/core/collector.service.d.ts.map +1 -0
- package/dist/core/collector.service.js +255 -0
- package/dist/core/collector.service.js.map +1 -0
- package/dist/core/family-hash.service.d.ts +64 -0
- package/dist/core/family-hash.service.d.ts.map +1 -0
- package/dist/core/family-hash.service.js +281 -0
- package/dist/core/family-hash.service.js.map +1 -0
- package/dist/core/index.d.ts +4 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/index.js +20 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/pruning.service.d.ts +16 -0
- package/dist/core/pruning.service.d.ts.map +1 -0
- package/dist/core/pruning.service.js +71 -0
- package/dist/core/pruning.service.js.map +1 -0
- package/dist/core/storage/index.d.ts +3 -0
- package/dist/core/storage/index.d.ts.map +1 -0
- package/dist/core/storage/index.js +19 -0
- package/dist/core/storage/index.js.map +1 -0
- package/dist/core/storage/sqlite.storage.d.ts +60 -0
- package/dist/core/storage/sqlite.storage.d.ts.map +1 -0
- package/dist/core/storage/sqlite.storage.js +929 -0
- package/dist/core/storage/sqlite.storage.js.map +1 -0
- package/dist/core/storage/storage.interface.d.ts +122 -0
- package/dist/core/storage/storage.interface.d.ts.map +1 -0
- package/dist/core/storage/storage.interface.js +5 -0
- package/dist/core/storage/storage.interface.js.map +1 -0
- package/dist/core/tag.service.d.ts +71 -0
- package/dist/core/tag.service.d.ts.map +1 -0
- package/dist/core/tag.service.js +568 -0
- package/dist/core/tag.service.js.map +1 -0
- package/dist/dashboard/public/assets/BatchesPage-DFT4fKlJ.js +1 -0
- package/dist/dashboard/public/assets/CachePage-CRy1Tjb8.js +1 -0
- package/dist/dashboard/public/assets/ClickableBadge-CV5J3THx.js +1 -0
- package/dist/dashboard/public/assets/CommandsPage-DdRnTm-W.js +1 -0
- package/dist/dashboard/public/assets/DashboardPage-CjaRZXYy.js +26 -0
- package/dist/dashboard/public/assets/DataTable-B6o9H8lh.js +88 -0
- package/dist/dashboard/public/assets/DumpsPage-DO8y1RTg.js +1 -0
- package/dist/dashboard/public/assets/EntryDetailPage-By-YcAGL.js +125 -0
- package/dist/dashboard/public/assets/EventsPage-u-r4AiT4.js +1 -0
- package/dist/dashboard/public/assets/ExceptionsPage-DXUcARr1.js +6 -0
- package/dist/dashboard/public/assets/GatesPage-DpeP7CDZ.js +1 -0
- package/dist/dashboard/public/assets/HttpClientPage-BJ4-5E6t.js +1 -0
- package/dist/dashboard/public/assets/JobsPage-Dv3KaX2x.js +1 -0
- package/dist/dashboard/public/assets/LogsPage-D0Q3yDb1.js +1 -0
- package/dist/dashboard/public/assets/MailPage-Bf8C6WF6.js +1 -0
- package/dist/dashboard/public/assets/ModelsPage-BMHncI5y.js +1 -0
- package/dist/dashboard/public/assets/NotificationsPage-D5-I-Oxb.js +1 -0
- package/dist/dashboard/public/assets/QueriesPage-oNp0i6Gt.js +1 -0
- package/dist/dashboard/public/assets/RedisPage-_GeS2OD8.js +1 -0
- package/dist/dashboard/public/assets/RequestsPage-BCwqu9US.js +1 -0
- package/dist/dashboard/public/assets/SchedulePage-CR0P-oX6.js +1 -0
- package/dist/dashboard/public/assets/ViewsPage-Dsy5ECRA.js +1 -0
- package/dist/dashboard/public/assets/calendar-DfK3x-6B.js +6 -0
- package/dist/dashboard/public/assets/circle-check-big-DcsYW8y8.js +6 -0
- package/dist/dashboard/public/assets/format-BFldcnCk.js +1 -0
- package/dist/dashboard/public/assets/index-DmeA1maE.css +1 -0
- package/dist/dashboard/public/assets/index-rkbGYdU7.js +351 -0
- package/dist/dashboard/public/assets/types-Cldoe2db.js +1 -0
- package/dist/dashboard/public/assets/vendor-B2nVRih0.js +43 -0
- package/dist/dashboard/public/assets/zap-DqtRi0JM.js +6 -0
- package/dist/dashboard/public/index.html +15 -0
- package/dist/dashboard/public/nestlens-icon.svg +9 -0
- package/dist/index.d.ts +22 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +69 -0
- package/dist/index.js.map +1 -0
- package/dist/nestlens.config.d.ts +216 -0
- package/dist/nestlens.config.d.ts.map +1 -0
- package/dist/nestlens.config.js +57 -0
- package/dist/nestlens.config.js.map +1 -0
- package/dist/nestlens.module.d.ts +10 -0
- package/dist/nestlens.module.d.ts.map +1 -0
- package/dist/nestlens.module.js +211 -0
- package/dist/nestlens.module.js.map +1 -0
- package/dist/types/entry.types.d.ts +368 -0
- package/dist/types/entry.types.d.ts.map +1 -0
- package/dist/types/entry.types.js +3 -0
- package/dist/types/entry.types.js.map +1 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +20 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/request.types.d.ts +9 -0
- package/dist/types/request.types.d.ts.map +1 -0
- package/dist/types/request.types.js +3 -0
- package/dist/types/request.types.js.map +1 -0
- package/dist/types/tag.types.d.ts +32 -0
- package/dist/types/tag.types.d.ts.map +1 -0
- package/dist/types/tag.types.js +3 -0
- package/dist/types/tag.types.js.map +1 -0
- package/dist/watchers/batch.watcher.d.ts +48 -0
- package/dist/watchers/batch.watcher.d.ts.map +1 -0
- package/dist/watchers/batch.watcher.js +185 -0
- package/dist/watchers/batch.watcher.js.map +1 -0
- package/dist/watchers/cache.watcher.d.ts +19 -0
- package/dist/watchers/cache.watcher.d.ts.map +1 -0
- package/dist/watchers/cache.watcher.js +158 -0
- package/dist/watchers/cache.watcher.js.map +1 -0
- package/dist/watchers/command.watcher.d.ts +32 -0
- package/dist/watchers/command.watcher.d.ts.map +1 -0
- package/dist/watchers/command.watcher.js +174 -0
- package/dist/watchers/command.watcher.js.map +1 -0
- package/dist/watchers/dump.watcher.d.ts +52 -0
- package/dist/watchers/dump.watcher.d.ts.map +1 -0
- package/dist/watchers/dump.watcher.js +234 -0
- package/dist/watchers/dump.watcher.js.map +1 -0
- package/dist/watchers/event.watcher.d.ts +20 -0
- package/dist/watchers/event.watcher.d.ts.map +1 -0
- package/dist/watchers/event.watcher.js +123 -0
- package/dist/watchers/event.watcher.js.map +1 -0
- package/dist/watchers/exception.watcher.d.ts +15 -0
- package/dist/watchers/exception.watcher.d.ts.map +1 -0
- package/dist/watchers/exception.watcher.js +117 -0
- package/dist/watchers/exception.watcher.js.map +1 -0
- package/dist/watchers/gate.watcher.d.ts +40 -0
- package/dist/watchers/gate.watcher.d.ts.map +1 -0
- package/dist/watchers/gate.watcher.js +200 -0
- package/dist/watchers/gate.watcher.js.map +1 -0
- package/dist/watchers/http-client.watcher.d.ts +34 -0
- package/dist/watchers/http-client.watcher.d.ts.map +1 -0
- package/dist/watchers/http-client.watcher.js +259 -0
- package/dist/watchers/http-client.watcher.js.map +1 -0
- package/dist/watchers/index.d.ts +19 -0
- package/dist/watchers/index.d.ts.map +1 -0
- package/dist/watchers/index.js +35 -0
- package/dist/watchers/index.js.map +1 -0
- package/dist/watchers/job.watcher.d.ts +27 -0
- package/dist/watchers/job.watcher.d.ts.map +1 -0
- package/dist/watchers/job.watcher.js +190 -0
- package/dist/watchers/job.watcher.js.map +1 -0
- package/dist/watchers/log.watcher.d.ts +26 -0
- package/dist/watchers/log.watcher.d.ts.map +1 -0
- package/dist/watchers/log.watcher.js +122 -0
- package/dist/watchers/log.watcher.js.map +1 -0
- package/dist/watchers/mail.watcher.d.ts +26 -0
- package/dist/watchers/mail.watcher.d.ts.map +1 -0
- package/dist/watchers/mail.watcher.js +154 -0
- package/dist/watchers/mail.watcher.js.map +1 -0
- package/dist/watchers/model.watcher.d.ts +54 -0
- package/dist/watchers/model.watcher.d.ts.map +1 -0
- package/dist/watchers/model.watcher.js +343 -0
- package/dist/watchers/model.watcher.js.map +1 -0
- package/dist/watchers/notification.watcher.d.ts +48 -0
- package/dist/watchers/notification.watcher.d.ts.map +1 -0
- package/dist/watchers/notification.watcher.js +215 -0
- package/dist/watchers/notification.watcher.js.map +1 -0
- package/dist/watchers/query/index.d.ts +3 -0
- package/dist/watchers/query/index.d.ts.map +1 -0
- package/dist/watchers/query/index.js +19 -0
- package/dist/watchers/query/index.js.map +1 -0
- package/dist/watchers/query/query.watcher.d.ts +27 -0
- package/dist/watchers/query/query.watcher.d.ts.map +1 -0
- package/dist/watchers/query/query.watcher.js +167 -0
- package/dist/watchers/query/query.watcher.js.map +1 -0
- package/dist/watchers/query/types.d.ts +60 -0
- package/dist/watchers/query/types.d.ts.map +1 -0
- package/dist/watchers/query/types.js +55 -0
- package/dist/watchers/query/types.js.map +1 -0
- package/dist/watchers/redis.watcher.d.ts +43 -0
- package/dist/watchers/redis.watcher.d.ts.map +1 -0
- package/dist/watchers/redis.watcher.js +225 -0
- package/dist/watchers/redis.watcher.js.map +1 -0
- package/dist/watchers/request.watcher.d.ts +21 -0
- package/dist/watchers/request.watcher.d.ts.map +1 -0
- package/dist/watchers/request.watcher.js +287 -0
- package/dist/watchers/request.watcher.js.map +1 -0
- package/dist/watchers/schedule.watcher.d.ts +25 -0
- package/dist/watchers/schedule.watcher.d.ts.map +1 -0
- package/dist/watchers/schedule.watcher.js +168 -0
- package/dist/watchers/schedule.watcher.js.map +1 -0
- package/dist/watchers/view.watcher.d.ts +51 -0
- package/dist/watchers/view.watcher.d.ts.map +1 -0
- package/dist/watchers/view.watcher.js +219 -0
- package/dist/watchers/view.watcher.js.map +1 -0
- package/package.json +86 -0
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/DashboardPage-CjaRZXYy.js","assets/vendor-B2nVRih0.js","assets/ClickableBadge-CV5J3THx.js","assets/zap-DqtRi0JM.js","assets/calendar-DfK3x-6B.js","assets/circle-check-big-DcsYW8y8.js","assets/RequestsPage-BCwqu9US.js","assets/DataTable-B6o9H8lh.js","assets/types-Cldoe2db.js","assets/QueriesPage-oNp0i6Gt.js","assets/ExceptionsPage-DXUcARr1.js","assets/LogsPage-D0Q3yDb1.js","assets/EventsPage-u-r4AiT4.js","assets/JobsPage-Dv3KaX2x.js","assets/CachePage-CRy1Tjb8.js","assets/MailPage-Bf8C6WF6.js","assets/SchedulePage-CR0P-oX6.js","assets/format-BFldcnCk.js","assets/HttpClientPage-BJ4-5E6t.js","assets/RedisPage-_GeS2OD8.js","assets/ModelsPage-BMHncI5y.js","assets/NotificationsPage-D5-I-Oxb.js","assets/ViewsPage-Dsy5ECRA.js","assets/CommandsPage-DdRnTm-W.js","assets/GatesPage-DpeP7CDZ.js","assets/BatchesPage-DFT4fKlJ.js","assets/DumpsPage-DO8y1RTg.js","assets/EntryDetailPage-By-YcAGL.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
var we=Object.defineProperty;var Se=(s,a,t)=>a in s?we(s,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[a]=t;var z=(s,a,t)=>Se(s,typeof a!="symbol"?a+"":a,t);import{r as Ee,a as _e,g as Ne,b as r,u as Ce,L as M,O as Pe,R as Re,c as f,N as Le,d as Oe,B as Ae}from"./vendor-B2nVRih0.js";(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))i(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const n of o.addedNodes)n.tagName==="LINK"&&n.rel==="modulepreload"&&i(n)}).observe(document,{childList:!0,subtree:!0});function t(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function i(l){if(l.ep)return;l.ep=!0;const o=t(l);fetch(l.href,o)}})();var U={exports:{}},T={};/**
|
|
3
|
+
* @license React
|
|
4
|
+
* react-jsx-runtime.production.min.js
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/var Z;function De(){if(Z)return T;Z=1;var s=Ee(),a=Symbol.for("react.element"),t=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,l=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function n(c,d,h){var u,m={},x=null,g=null;h!==void 0&&(x=""+h),d.key!==void 0&&(x=""+d.key),d.ref!==void 0&&(g=d.ref);for(u in d)i.call(d,u)&&!o.hasOwnProperty(u)&&(m[u]=d[u]);if(c&&c.defaultProps)for(u in d=c.defaultProps,d)m[u]===void 0&&(m[u]=d[u]);return{$$typeof:a,type:c,key:x,ref:g,props:m,_owner:l.current}}return T.Fragment=t,T.jsx=n,T.jsxs=n,T}var X;function Me(){return X||(X=1,U.exports=De()),U.exports}var e=Me(),I={},Y;function Te(){if(Y)return I;Y=1;var s=_e();return I.createRoot=s.createRoot,I.hydrateRoot=s.hydrateRoot,I}var qe=Te();const $e=Ne(qe);let ze={data:""},Ie=s=>{if(typeof window=="object"){let a=(s?s.querySelector("#_goober"):window._goober)||Object.assign(document.createElement("style"),{innerHTML:" ",id:"_goober"});return a.nonce=window.__nonce__,a.parentNode||(s||document.head).appendChild(a),a.firstChild}return s||ze},Ve=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,Fe=/\/\*[^]*?\*\/| +/g,ee=/\n+/g,A=(s,a)=>{let t="",i="",l="";for(let o in s){let n=s[o];o[0]=="@"?o[1]=="i"?t=o+" "+n+";":i+=o[1]=="f"?A(n,o):o+"{"+A(n,o[1]=="k"?"":a)+"}":typeof n=="object"?i+=A(n,a?a.replace(/([^,])+/g,c=>o.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,d=>/&/.test(d)?d.replace(/&/g,c):c?c+" "+d:d)):o):n!=null&&(o=/^--/.test(o)?o:o.replace(/[A-Z]/g,"-$&").toLowerCase(),l+=A.p?A.p(o,n):o+":"+n+";")}return t+(a&&l?a+"{"+l+"}":l)+i},L={},he=s=>{if(typeof s=="object"){let a="";for(let t in s)a+=t+he(s[t]);return a}return s},Be=(s,a,t,i,l)=>{let o=he(s),n=L[o]||(L[o]=(d=>{let h=0,u=11;for(;h<d.length;)u=101*u+d.charCodeAt(h++)>>>0;return"go"+u})(o));if(!L[n]){let d=o!==s?s:(h=>{let u,m,x=[{}];for(;u=Ve.exec(h.replace(Fe,""));)u[4]?x.shift():u[3]?(m=u[3].replace(ee," ").trim(),x.unshift(x[0][m]=x[0][m]||{})):x[0][u[1]]=u[2].replace(ee," ").trim();return x[0]})(s);L[n]=A(l?{["@keyframes "+n]:d}:d,t?"":"."+n)}let c=t&&L.g?L.g:null;return t&&(L.g=L[n]),((d,h,u,m)=>{m?h.data=h.data.replace(m,d):h.data.indexOf(d)===-1&&(h.data=u?d+h.data:h.data+d)})(L[n],a,i,c),n},He=(s,a,t)=>s.reduce((i,l,o)=>{let n=a[o];if(n&&n.call){let c=n(t),d=c&&c.props&&c.props.className||/^go/.test(c)&&c;n=d?"."+d:c&&typeof c=="object"?c.props?"":A(c,""):c===!1?"":c}return i+l+(n??"")},"");function H(s){let a=this||{},t=s.call?s(a.p):s;return Be(t.unshift?t.raw?He(t,[].slice.call(arguments,1),a.p):t.reduce((i,l)=>Object.assign(i,l&&l.call?l(a.p):l),{}):t,Ie(a.target),a.g,a.o,a.k)}let me,G,W;H.bind({g:1});let O=H.bind({k:1});function Ke(s,a,t,i){A.p=a,me=s,G=t,W=i}function D(s,a){let t=this||{};return function(){let i=arguments;function l(o,n){let c=Object.assign({},o),d=c.className||l.className;t.p=Object.assign({theme:G&&G()},c),t.o=/ *go\d+/.test(d),c.className=H.apply(t,i)+(d?" "+d:"");let h=s;return s[0]&&(h=c.as||s,delete c.as),W&&h[0]&&W(c),me(h,c)}return l}}var Ue=s=>typeof s=="function",B=(s,a)=>Ue(s)?s(a):s,Je=(()=>{let s=0;return()=>(++s).toString()})(),pe=(()=>{let s;return()=>{if(s===void 0&&typeof window<"u"){let a=matchMedia("(prefers-reduced-motion: reduce)");s=!a||a.matches}return s}})(),Ge=20,Q="default",xe=(s,a)=>{let{toastLimit:t}=s.settings;switch(a.type){case 0:return{...s,toasts:[a.toast,...s.toasts].slice(0,t)};case 1:return{...s,toasts:s.toasts.map(n=>n.id===a.toast.id?{...n,...a.toast}:n)};case 2:let{toast:i}=a;return xe(s,{type:s.toasts.find(n=>n.id===i.id)?1:0,toast:i});case 3:let{toastId:l}=a;return{...s,toasts:s.toasts.map(n=>n.id===l||l===void 0?{...n,dismissed:!0,visible:!1}:n)};case 4:return a.toastId===void 0?{...s,toasts:[]}:{...s,toasts:s.toasts.filter(n=>n.id!==a.toastId)};case 5:return{...s,pausedAt:a.time};case 6:let o=a.time-(s.pausedAt||0);return{...s,pausedAt:void 0,toasts:s.toasts.map(n=>({...n,pauseDuration:n.pauseDuration+o}))}}},F=[],fe={toasts:[],pausedAt:void 0,settings:{toastLimit:Ge}},R={},ye=(s,a=Q)=>{R[a]=xe(R[a]||fe,s),F.forEach(([t,i])=>{t===a&&i(R[a])})},ge=s=>Object.keys(R).forEach(a=>ye(s,a)),We=s=>Object.keys(R).find(a=>R[a].toasts.some(t=>t.id===s)),K=(s=Q)=>a=>{ye(a,s)},Qe={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},Ze=(s={},a=Q)=>{let[t,i]=r.useState(R[a]||fe),l=r.useRef(R[a]);r.useEffect(()=>(l.current!==R[a]&&i(R[a]),F.push([a,i]),()=>{let n=F.findIndex(([c])=>c===a);n>-1&&F.splice(n,1)}),[a]);let o=t.toasts.map(n=>{var c,d,h;return{...s,...s[n.type],...n,removeDelay:n.removeDelay||((c=s[n.type])==null?void 0:c.removeDelay)||(s==null?void 0:s.removeDelay),duration:n.duration||((d=s[n.type])==null?void 0:d.duration)||(s==null?void 0:s.duration)||Qe[n.type],style:{...s.style,...(h=s[n.type])==null?void 0:h.style,...n.style}}});return{...t,toasts:o}},Xe=(s,a="blank",t)=>({createdAt:Date.now(),visible:!0,dismissed:!1,type:a,ariaProps:{role:"status","aria-live":"polite"},message:s,pauseDuration:0,...t,id:(t==null?void 0:t.id)||Je()}),$=s=>(a,t)=>{let i=Xe(a,s,t);return K(i.toasterId||We(i.id))({type:2,toast:i}),i.id},S=(s,a)=>$("blank")(s,a);S.error=$("error");S.success=$("success");S.loading=$("loading");S.custom=$("custom");S.dismiss=(s,a)=>{let t={type:3,toastId:s};a?K(a)(t):ge(t)};S.dismissAll=s=>S.dismiss(void 0,s);S.remove=(s,a)=>{let t={type:4,toastId:s};a?K(a)(t):ge(t)};S.removeAll=s=>S.remove(void 0,s);S.promise=(s,a,t)=>{let i=S.loading(a.loading,{...t,...t==null?void 0:t.loading});return typeof s=="function"&&(s=s()),s.then(l=>{let o=a.success?B(a.success,l):void 0;return o?S.success(o,{id:i,...t,...t==null?void 0:t.success}):S.dismiss(i),l}).catch(l=>{let o=a.error?B(a.error,l):void 0;o?S.error(o,{id:i,...t,...t==null?void 0:t.error}):S.dismiss(i)}),s};var Ye=1e3,et=(s,a="default")=>{let{toasts:t,pausedAt:i}=Ze(s,a),l=r.useRef(new Map).current,o=r.useCallback((m,x=Ye)=>{if(l.has(m))return;let g=setTimeout(()=>{l.delete(m),n({type:4,toastId:m})},x);l.set(m,g)},[]);r.useEffect(()=>{if(i)return;let m=Date.now(),x=t.map(g=>{if(g.duration===1/0)return;let N=(g.duration||0)+g.pauseDuration-(m-g.createdAt);if(N<0){g.visible&&S.dismiss(g.id);return}return setTimeout(()=>S.dismiss(g.id,a),N)});return()=>{x.forEach(g=>g&&clearTimeout(g))}},[t,i,a]);let n=r.useCallback(K(a),[a]),c=r.useCallback(()=>{n({type:5,time:Date.now()})},[n]),d=r.useCallback((m,x)=>{n({type:1,toast:{id:m,height:x}})},[n]),h=r.useCallback(()=>{i&&n({type:6,time:Date.now()})},[i,n]),u=r.useCallback((m,x)=>{let{reverseOrder:g=!1,gutter:N=8,defaultPosition:p}=x||{},_=t.filter(v=>(v.position||p)===(m.position||p)&&v.height),E=_.findIndex(v=>v.id===m.id),b=_.filter((v,C)=>C<E&&v.visible).length;return _.filter(v=>v.visible).slice(...g?[b+1]:[0,b]).reduce((v,C)=>v+(C.height||0)+N,0)},[t]);return r.useEffect(()=>{t.forEach(m=>{if(m.dismissed)o(m.id,m.removeDelay);else{let x=l.get(m.id);x&&(clearTimeout(x),l.delete(m.id))}})},[t,o]),{toasts:t,handlers:{updateHeight:d,startPause:c,endPause:h,calculateOffset:u}}},tt=O`
|
|
11
|
+
from {
|
|
12
|
+
transform: scale(0) rotate(45deg);
|
|
13
|
+
opacity: 0;
|
|
14
|
+
}
|
|
15
|
+
to {
|
|
16
|
+
transform: scale(1) rotate(45deg);
|
|
17
|
+
opacity: 1;
|
|
18
|
+
}`,st=O`
|
|
19
|
+
from {
|
|
20
|
+
transform: scale(0);
|
|
21
|
+
opacity: 0;
|
|
22
|
+
}
|
|
23
|
+
to {
|
|
24
|
+
transform: scale(1);
|
|
25
|
+
opacity: 1;
|
|
26
|
+
}`,at=O`
|
|
27
|
+
from {
|
|
28
|
+
transform: scale(0) rotate(90deg);
|
|
29
|
+
opacity: 0;
|
|
30
|
+
}
|
|
31
|
+
to {
|
|
32
|
+
transform: scale(1) rotate(90deg);
|
|
33
|
+
opacity: 1;
|
|
34
|
+
}`,rt=D("div")`
|
|
35
|
+
width: 20px;
|
|
36
|
+
opacity: 0;
|
|
37
|
+
height: 20px;
|
|
38
|
+
border-radius: 10px;
|
|
39
|
+
background: ${s=>s.primary||"#ff4b4b"};
|
|
40
|
+
position: relative;
|
|
41
|
+
transform: rotate(45deg);
|
|
42
|
+
|
|
43
|
+
animation: ${tt} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
44
|
+
forwards;
|
|
45
|
+
animation-delay: 100ms;
|
|
46
|
+
|
|
47
|
+
&:after,
|
|
48
|
+
&:before {
|
|
49
|
+
content: '';
|
|
50
|
+
animation: ${st} 0.15s ease-out forwards;
|
|
51
|
+
animation-delay: 150ms;
|
|
52
|
+
position: absolute;
|
|
53
|
+
border-radius: 3px;
|
|
54
|
+
opacity: 0;
|
|
55
|
+
background: ${s=>s.secondary||"#fff"};
|
|
56
|
+
bottom: 9px;
|
|
57
|
+
left: 4px;
|
|
58
|
+
height: 2px;
|
|
59
|
+
width: 12px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&:before {
|
|
63
|
+
animation: ${at} 0.15s ease-out forwards;
|
|
64
|
+
animation-delay: 180ms;
|
|
65
|
+
transform: rotate(90deg);
|
|
66
|
+
}
|
|
67
|
+
`,nt=O`
|
|
68
|
+
from {
|
|
69
|
+
transform: rotate(0deg);
|
|
70
|
+
}
|
|
71
|
+
to {
|
|
72
|
+
transform: rotate(360deg);
|
|
73
|
+
}
|
|
74
|
+
`,ot=D("div")`
|
|
75
|
+
width: 12px;
|
|
76
|
+
height: 12px;
|
|
77
|
+
box-sizing: border-box;
|
|
78
|
+
border: 2px solid;
|
|
79
|
+
border-radius: 100%;
|
|
80
|
+
border-color: ${s=>s.secondary||"#e0e0e0"};
|
|
81
|
+
border-right-color: ${s=>s.primary||"#616161"};
|
|
82
|
+
animation: ${nt} 1s linear infinite;
|
|
83
|
+
`,it=O`
|
|
84
|
+
from {
|
|
85
|
+
transform: scale(0) rotate(45deg);
|
|
86
|
+
opacity: 0;
|
|
87
|
+
}
|
|
88
|
+
to {
|
|
89
|
+
transform: scale(1) rotate(45deg);
|
|
90
|
+
opacity: 1;
|
|
91
|
+
}`,lt=O`
|
|
92
|
+
0% {
|
|
93
|
+
height: 0;
|
|
94
|
+
width: 0;
|
|
95
|
+
opacity: 0;
|
|
96
|
+
}
|
|
97
|
+
40% {
|
|
98
|
+
height: 0;
|
|
99
|
+
width: 6px;
|
|
100
|
+
opacity: 1;
|
|
101
|
+
}
|
|
102
|
+
100% {
|
|
103
|
+
opacity: 1;
|
|
104
|
+
height: 10px;
|
|
105
|
+
}`,ct=D("div")`
|
|
106
|
+
width: 20px;
|
|
107
|
+
opacity: 0;
|
|
108
|
+
height: 20px;
|
|
109
|
+
border-radius: 10px;
|
|
110
|
+
background: ${s=>s.primary||"#61d345"};
|
|
111
|
+
position: relative;
|
|
112
|
+
transform: rotate(45deg);
|
|
113
|
+
|
|
114
|
+
animation: ${it} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
115
|
+
forwards;
|
|
116
|
+
animation-delay: 100ms;
|
|
117
|
+
&:after {
|
|
118
|
+
content: '';
|
|
119
|
+
box-sizing: border-box;
|
|
120
|
+
animation: ${lt} 0.2s ease-out forwards;
|
|
121
|
+
opacity: 0;
|
|
122
|
+
animation-delay: 200ms;
|
|
123
|
+
position: absolute;
|
|
124
|
+
border-right: 2px solid;
|
|
125
|
+
border-bottom: 2px solid;
|
|
126
|
+
border-color: ${s=>s.secondary||"#fff"};
|
|
127
|
+
bottom: 6px;
|
|
128
|
+
left: 6px;
|
|
129
|
+
height: 10px;
|
|
130
|
+
width: 6px;
|
|
131
|
+
}
|
|
132
|
+
`,dt=D("div")`
|
|
133
|
+
position: absolute;
|
|
134
|
+
`,ut=D("div")`
|
|
135
|
+
position: relative;
|
|
136
|
+
display: flex;
|
|
137
|
+
justify-content: center;
|
|
138
|
+
align-items: center;
|
|
139
|
+
min-width: 20px;
|
|
140
|
+
min-height: 20px;
|
|
141
|
+
`,ht=O`
|
|
142
|
+
from {
|
|
143
|
+
transform: scale(0.6);
|
|
144
|
+
opacity: 0.4;
|
|
145
|
+
}
|
|
146
|
+
to {
|
|
147
|
+
transform: scale(1);
|
|
148
|
+
opacity: 1;
|
|
149
|
+
}`,mt=D("div")`
|
|
150
|
+
position: relative;
|
|
151
|
+
transform: scale(0.6);
|
|
152
|
+
opacity: 0.4;
|
|
153
|
+
min-width: 20px;
|
|
154
|
+
animation: ${ht} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
|
|
155
|
+
forwards;
|
|
156
|
+
`,pt=({toast:s})=>{let{icon:a,type:t,iconTheme:i}=s;return a!==void 0?typeof a=="string"?r.createElement(mt,null,a):a:t==="blank"?null:r.createElement(ut,null,r.createElement(ot,{...i}),t!=="loading"&&r.createElement(dt,null,t==="error"?r.createElement(rt,{...i}):r.createElement(ct,{...i})))},xt=s=>`
|
|
157
|
+
0% {transform: translate3d(0,${s*-200}%,0) scale(.6); opacity:.5;}
|
|
158
|
+
100% {transform: translate3d(0,0,0) scale(1); opacity:1;}
|
|
159
|
+
`,ft=s=>`
|
|
160
|
+
0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}
|
|
161
|
+
100% {transform: translate3d(0,${s*-150}%,-1px) scale(.6); opacity:0;}
|
|
162
|
+
`,yt="0%{opacity:0;} 100%{opacity:1;}",gt="0%{opacity:1;} 100%{opacity:0;}",jt=D("div")`
|
|
163
|
+
display: flex;
|
|
164
|
+
align-items: center;
|
|
165
|
+
background: #fff;
|
|
166
|
+
color: #363636;
|
|
167
|
+
line-height: 1.3;
|
|
168
|
+
will-change: transform;
|
|
169
|
+
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05);
|
|
170
|
+
max-width: 350px;
|
|
171
|
+
pointer-events: auto;
|
|
172
|
+
padding: 8px 10px;
|
|
173
|
+
border-radius: 8px;
|
|
174
|
+
`,bt=D("div")`
|
|
175
|
+
display: flex;
|
|
176
|
+
justify-content: center;
|
|
177
|
+
margin: 4px 10px;
|
|
178
|
+
color: inherit;
|
|
179
|
+
flex: 1 1 auto;
|
|
180
|
+
white-space: pre-line;
|
|
181
|
+
`,kt=(s,a)=>{let t=s.includes("top")?1:-1,[i,l]=pe()?[yt,gt]:[xt(t),ft(t)];return{animation:a?`${O(i)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${O(l)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},vt=r.memo(({toast:s,position:a,style:t,children:i})=>{let l=s.height?kt(s.position||a||"top-center",s.visible):{opacity:0},o=r.createElement(pt,{toast:s}),n=r.createElement(bt,{...s.ariaProps},B(s.message,s));return r.createElement(jt,{className:s.className,style:{...l,...t,...s.style}},typeof i=="function"?i({icon:o,message:n}):r.createElement(r.Fragment,null,o,n))});Ke(r.createElement);var wt=({id:s,className:a,style:t,onHeightUpdate:i,children:l})=>{let o=r.useCallback(n=>{if(n){let c=()=>{let d=n.getBoundingClientRect().height;i(s,d)};c(),new MutationObserver(c).observe(n,{subtree:!0,childList:!0,characterData:!0})}},[s,i]);return r.createElement("div",{ref:o,className:a,style:t},l)},St=(s,a)=>{let t=s.includes("top"),i=t?{top:0}:{bottom:0},l=s.includes("center")?{justifyContent:"center"}:s.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:pe()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${a*(t?1:-1)}px)`,...i,...l}},Et=H`
|
|
182
|
+
z-index: 9999;
|
|
183
|
+
> * {
|
|
184
|
+
pointer-events: auto;
|
|
185
|
+
}
|
|
186
|
+
`,V=16,_t=({reverseOrder:s,position:a="top-center",toastOptions:t,gutter:i,children:l,toasterId:o,containerStyle:n,containerClassName:c})=>{let{toasts:d,handlers:h}=et(t,o);return r.createElement("div",{"data-rht-toaster":o||"",style:{position:"fixed",zIndex:9999,top:V,left:V,right:V,bottom:V,pointerEvents:"none",...n},className:c,onMouseEnter:h.startPause,onMouseLeave:h.endPause},d.map(u=>{let m=u.position||a,x=h.calculateOffset(u,{reverseOrder:s,gutter:i,defaultPosition:a}),g=St(m,x);return r.createElement(wt,{id:u.id,key:u.id,onHeightUpdate:h.updateHeight,className:u.visible?Et:"",style:g},u.type==="custom"?B(u.message,u):l?l(u):r.createElement(vt,{toast:u,position:m}))}))},q=S;const Nt="modulepreload",Ct=function(s){return"/nestlens/"+s},te={},k=function(a,t,i){let l=Promise.resolve();if(t&&t.length>0){let n=function(h){return Promise.all(h.map(u=>Promise.resolve(u).then(m=>({status:"fulfilled",value:m}),m=>({status:"rejected",reason:m}))))};document.getElementsByTagName("link");const c=document.querySelector("meta[property=csp-nonce]"),d=(c==null?void 0:c.nonce)||(c==null?void 0:c.getAttribute("nonce"));l=n(t.map(h=>{if(h=Ct(h),h in te)return;te[h]=!0;const u=h.endsWith(".css"),m=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${h}"]${m}`))return;const x=document.createElement("link");if(x.rel=u?"stylesheet":Nt,u||(x.as="script"),x.crossOrigin="",x.href=h,d&&x.setAttribute("nonce",d),document.head.appendChild(x),u)return new Promise((g,N)=>{x.addEventListener("load",g),x.addEventListener("error",()=>N(new Error(`Unable to preload CSS for ${h}`)))})}))}function o(n){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=n,window.dispatchEvent(c),!c.defaultPrevented)throw n}return l.then(n=>{for(const c of n||[])c.status==="rejected"&&o(c.reason);return a().catch(o)})};/**
|
|
187
|
+
* @license lucide-react v0.468.0 - ISC
|
|
188
|
+
*
|
|
189
|
+
* This source code is licensed under the ISC license.
|
|
190
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
191
|
+
*/const Pt=s=>s.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),je=(...s)=>s.filter((a,t,i)=>!!a&&a.trim()!==""&&i.indexOf(a)===t).join(" ").trim();/**
|
|
192
|
+
* @license lucide-react v0.468.0 - ISC
|
|
193
|
+
*
|
|
194
|
+
* This source code is licensed under the ISC license.
|
|
195
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
196
|
+
*/var Rt={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
197
|
+
* @license lucide-react v0.468.0 - ISC
|
|
198
|
+
*
|
|
199
|
+
* This source code is licensed under the ISC license.
|
|
200
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
201
|
+
*/const Lt=r.forwardRef(({color:s="currentColor",size:a=24,strokeWidth:t=2,absoluteStrokeWidth:i,className:l="",children:o,iconNode:n,...c},d)=>r.createElement("svg",{ref:d,...Rt,width:a,height:a,stroke:s,strokeWidth:i?Number(t)*24/Number(a):t,className:je("lucide",l),...c},[...n.map(([h,u])=>r.createElement(h,u)),...Array.isArray(o)?o:[o]]));/**
|
|
202
|
+
* @license lucide-react v0.468.0 - ISC
|
|
203
|
+
*
|
|
204
|
+
* This source code is licensed under the ISC license.
|
|
205
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
206
|
+
*/const j=(s,a)=>{const t=r.forwardRef(({className:i,...l},o)=>r.createElement(Lt,{ref:o,iconNode:a,className:je(`lucide-${Pt(s)}`,i),...l}));return t.displayName=`${s}`,t};/**
|
|
207
|
+
* @license lucide-react v0.468.0 - ISC
|
|
208
|
+
*
|
|
209
|
+
* This source code is licensed under the ISC license.
|
|
210
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
211
|
+
*/const Ot=j("Activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);/**
|
|
212
|
+
* @license lucide-react v0.468.0 - ISC
|
|
213
|
+
*
|
|
214
|
+
* This source code is licensed under the ISC license.
|
|
215
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
216
|
+
*/const At=j("Bell",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]]);/**
|
|
217
|
+
* @license lucide-react v0.468.0 - ISC
|
|
218
|
+
*
|
|
219
|
+
* This source code is licensed under the ISC license.
|
|
220
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
221
|
+
*/const Dt=j("Box",[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]]);/**
|
|
222
|
+
* @license lucide-react v0.468.0 - ISC
|
|
223
|
+
*
|
|
224
|
+
* This source code is licensed under the ISC license.
|
|
225
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
226
|
+
*/const Mt=j("Briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);/**
|
|
227
|
+
* @license lucide-react v0.468.0 - ISC
|
|
228
|
+
*
|
|
229
|
+
* This source code is licensed under the ISC license.
|
|
230
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
231
|
+
*/const se=j("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
|
|
232
|
+
* @license lucide-react v0.468.0 - ISC
|
|
233
|
+
*
|
|
234
|
+
* This source code is licensed under the ISC license.
|
|
235
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
236
|
+
*/const ae=j("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
|
|
237
|
+
* @license lucide-react v0.468.0 - ISC
|
|
238
|
+
*
|
|
239
|
+
* This source code is licensed under the ISC license.
|
|
240
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
241
|
+
*/const Tt=j("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
|
|
242
|
+
* @license lucide-react v0.468.0 - ISC
|
|
243
|
+
*
|
|
244
|
+
* This source code is licensed under the ISC license.
|
|
245
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
246
|
+
*/const re=j("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);/**
|
|
247
|
+
* @license lucide-react v0.468.0 - ISC
|
|
248
|
+
*
|
|
249
|
+
* This source code is licensed under the ISC license.
|
|
250
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
251
|
+
*/const ne=j("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/**
|
|
252
|
+
* @license lucide-react v0.468.0 - ISC
|
|
253
|
+
*
|
|
254
|
+
* This source code is licensed under the ISC license.
|
|
255
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
256
|
+
*/const qt=j("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
|
|
257
|
+
* @license lucide-react v0.468.0 - ISC
|
|
258
|
+
*
|
|
259
|
+
* This source code is licensed under the ISC license.
|
|
260
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
261
|
+
*/const $t=j("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/**
|
|
262
|
+
* @license lucide-react v0.468.0 - ISC
|
|
263
|
+
*
|
|
264
|
+
* This source code is licensed under the ISC license.
|
|
265
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
266
|
+
*/const zt=j("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/**
|
|
267
|
+
* @license lucide-react v0.468.0 - ISC
|
|
268
|
+
*
|
|
269
|
+
* This source code is licensed under the ISC license.
|
|
270
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
271
|
+
*/const oe=j("HardDrive",[["line",{x1:"22",x2:"2",y1:"12",y2:"12",key:"1y58io"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}],["line",{x1:"6",x2:"6.01",y1:"16",y2:"16",key:"sgf278"}],["line",{x1:"10",x2:"10.01",y1:"16",y2:"16",key:"1l4acy"}]]);/**
|
|
272
|
+
* @license lucide-react v0.468.0 - ISC
|
|
273
|
+
*
|
|
274
|
+
* This source code is licensed under the ISC license.
|
|
275
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
276
|
+
*/const It=j("Layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);/**
|
|
277
|
+
* @license lucide-react v0.468.0 - ISC
|
|
278
|
+
*
|
|
279
|
+
* This source code is licensed under the ISC license.
|
|
280
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
281
|
+
*/const Vt=j("LayoutDashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);/**
|
|
282
|
+
* @license lucide-react v0.468.0 - ISC
|
|
283
|
+
*
|
|
284
|
+
* This source code is licensed under the ISC license.
|
|
285
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
286
|
+
*/const Ft=j("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
|
|
287
|
+
* @license lucide-react v0.468.0 - ISC
|
|
288
|
+
*
|
|
289
|
+
* This source code is licensed under the ISC license.
|
|
290
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
291
|
+
*/const Bt=j("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
|
|
292
|
+
* @license lucide-react v0.468.0 - ISC
|
|
293
|
+
*
|
|
294
|
+
* This source code is licensed under the ISC license.
|
|
295
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
296
|
+
*/const ie=j("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
|
|
297
|
+
* @license lucide-react v0.468.0 - ISC
|
|
298
|
+
*
|
|
299
|
+
* This source code is licensed under the ISC license.
|
|
300
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
301
|
+
*/const Ht=j("Pause",[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]]);/**
|
|
302
|
+
* @license lucide-react v0.468.0 - ISC
|
|
303
|
+
*
|
|
304
|
+
* This source code is licensed under the ISC license.
|
|
305
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
306
|
+
*/const Kt=j("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
|
|
307
|
+
* @license lucide-react v0.468.0 - ISC
|
|
308
|
+
*
|
|
309
|
+
* This source code is licensed under the ISC license.
|
|
310
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
311
|
+
*/const Ut=j("Radio",[["path",{d:"M4.9 19.1C1 15.2 1 8.8 4.9 4.9",key:"1vaf9d"}],["path",{d:"M7.8 16.2c-2.3-2.3-2.3-6.1 0-8.5",key:"u1ii0m"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5",key:"1j5fej"}],["path",{d:"M19.1 4.9C23 8.8 23 15.1 19.1 19",key:"10b0cb"}]]);/**
|
|
312
|
+
* @license lucide-react v0.468.0 - ISC
|
|
313
|
+
*
|
|
314
|
+
* This source code is licensed under the ISC license.
|
|
315
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
316
|
+
*/const Jt=j("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/**
|
|
317
|
+
* @license lucide-react v0.468.0 - ISC
|
|
318
|
+
*
|
|
319
|
+
* This source code is licensed under the ISC license.
|
|
320
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
321
|
+
*/const Gt=j("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/**
|
|
322
|
+
* @license lucide-react v0.468.0 - ISC
|
|
323
|
+
*
|
|
324
|
+
* This source code is licensed under the ISC license.
|
|
325
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
326
|
+
*/const le=j("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/**
|
|
327
|
+
* @license lucide-react v0.468.0 - ISC
|
|
328
|
+
*
|
|
329
|
+
* This source code is licensed under the ISC license.
|
|
330
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
331
|
+
*/const J=j("Telescope",[["path",{d:"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44",key:"k4qptu"}],["path",{d:"m13.56 11.747 4.332-.924",key:"19l80z"}],["path",{d:"m16 21-3.105-6.21",key:"7oh9d"}],["path",{d:"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z",key:"m7xp4m"}],["path",{d:"m6.158 8.633 1.114 4.456",key:"74o979"}],["path",{d:"m8 21 3.105-6.21",key:"1fvxut"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]]);/**
|
|
332
|
+
* @license lucide-react v0.468.0 - ISC
|
|
333
|
+
*
|
|
334
|
+
* This source code is licensed under the ISC license.
|
|
335
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
336
|
+
*/const Wt=j("Terminal",[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]]);/**
|
|
337
|
+
* @license lucide-react v0.468.0 - ISC
|
|
338
|
+
*
|
|
339
|
+
* This source code is licensed under the ISC license.
|
|
340
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
341
|
+
*/const ce=j("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/**
|
|
342
|
+
* @license lucide-react v0.468.0 - ISC
|
|
343
|
+
*
|
|
344
|
+
* This source code is licensed under the ISC license.
|
|
345
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
346
|
+
*/const be=j("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
|
|
347
|
+
* @license lucide-react v0.468.0 - ISC
|
|
348
|
+
*
|
|
349
|
+
* This source code is licensed under the ISC license.
|
|
350
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
351
|
+
*/const Qt=j("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Zt=()=>`${window.location.origin}/__nestlens__/api`,ke=Zt();async function P(s,a){const t=await fetch(`${ke}${s}`,a);if(!t.ok)throw new Error(`API error: ${t.status}`);return t.json()}async function Ls(s){return P(`/entries/${s}`)}async function Xt(){return P("/stats")}async function Yt(){return(await fetch(`${ke}/entries`,{method:"DELETE"})).json()}async function Os(s){const a=new URLSearchParams;if(s.type&&a.set("type",s.type),s.limit&&a.set("limit",s.limit.toString()),s.beforeSequence!==void 0&&a.set("beforeSequence",s.beforeSequence.toString()),s.afterSequence!==void 0&&a.set("afterSequence",s.afterSequence.toString()),s.filters){const t=s.filters;t.levels&&t.levels.length>0&&a.set("levels",t.levels.join(",")),t.contexts&&t.contexts.length>0&&a.set("contexts",t.contexts.join(",")),t.queryTypes&&t.queryTypes.length>0&&a.set("queryTypes",t.queryTypes.join(",")),t.sources&&t.sources.length>0&&a.set("sources",t.sources.join(",")),t.slow!==void 0&&a.set("slow",t.slow.toString()),t.names&&t.names.length>0&&a.set("names",t.names.join(",")),t.methods&&t.methods.length>0&&a.set("methods",t.methods.join(",")),t.paths&&t.paths.length>0&&a.set("paths",t.paths.join(",")),t.resolved!==void 0&&a.set("resolved",t.resolved.toString()),t.statuses&&t.statuses.length>0&&a.set("statuses",t.statuses.join(",")),t.hostnames&&t.hostnames.length>0&&a.set("hostnames",t.hostnames.join(",")),t.controllers&&t.controllers.length>0&&a.set("controllers",t.controllers.join(",")),t.ips&&t.ips.length>0&&a.set("ips",t.ips.join(",")),t.scheduleStatuses&&t.scheduleStatuses.length>0&&a.set("scheduleStatuses",t.scheduleStatuses.join(",")),t.jobStatuses&&t.jobStatuses.length>0&&a.set("jobStatuses",t.jobStatuses.join(",")),t.queues&&t.queues.length>0&&a.set("queues",t.queues.join(",")),t.cacheOperations&&t.cacheOperations.length>0&&a.set("cacheOperations",t.cacheOperations.join(",")),t.mailStatuses&&t.mailStatuses.length>0&&a.set("mailStatuses",t.mailStatuses.join(",")),t.redisStatuses&&t.redisStatuses.length>0&&a.set("redisStatuses",t.redisStatuses.join(",")),t.redisCommands&&t.redisCommands.length>0&&a.set("redisCommands",t.redisCommands.join(",")),t.modelActions&&t.modelActions.length>0&&a.set("modelActions",t.modelActions.join(",")),t.entities&&t.entities.length>0&&a.set("entities",t.entities.join(",")),t.modelSources&&t.modelSources.length>0&&a.set("modelSources",t.modelSources.join(",")),t.notificationTypes&&t.notificationTypes.length>0&&a.set("notificationTypes",t.notificationTypes.join(",")),t.notificationStatuses&&t.notificationStatuses.length>0&&a.set("notificationStatuses",t.notificationStatuses.join(",")),t.viewFormats&&t.viewFormats.length>0&&a.set("viewFormats",t.viewFormats.join(",")),t.viewStatuses&&t.viewStatuses.length>0&&a.set("viewStatuses",t.viewStatuses.join(",")),t.commandStatuses&&t.commandStatuses.length>0&&a.set("commandStatuses",t.commandStatuses.join(",")),t.commandNames&&t.commandNames.length>0&&a.set("commandNames",t.commandNames.join(",")),t.gateNames&&t.gateNames.length>0&&a.set("gateNames",t.gateNames.join(",")),t.gateResults&&t.gateResults.length>0&&a.set("gateResults",t.gateResults.join(",")),t.batchStatuses&&t.batchStatuses.length>0&&a.set("batchStatuses",t.batchStatuses.join(",")),t.batchOperations&&t.batchOperations.length>0&&a.set("batchOperations",t.batchOperations.join(",")),t.dumpStatuses&&t.dumpStatuses.length>0&&a.set("dumpStatuses",t.dumpStatuses.join(",")),t.dumpOperations&&t.dumpOperations.length>0&&a.set("dumpOperations",t.dumpOperations.join(",")),t.dumpFormats&&t.dumpFormats.length>0&&a.set("dumpFormats",t.dumpFormats.join(",")),t.tags&&t.tags.length>0&&a.set("tags",t.tags.join(",")),t.search&&a.set("search",t.search)}return P(`/entries/cursor?${a.toString()}`)}async function As(s){const a=new URLSearchParams;return s&&a.set("type",s),P(`/entries/latest-sequence?${a.toString()}`)}async function Ds(s,a){const t=new URLSearchParams;return t.set("afterSequence",s.toString()),a&&t.set("type",a),P(`/entries/check-new?${t.toString()}`)}async function Ms(){return P("/storage/stats")}async function Ts(s){return P(`/entries/${s}/resolve`,{method:"PATCH"})}async function qs(s){return P(`/entries/${s}/unresolve`,{method:"PATCH"})}async function es(s){return P("/recording/pause",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({reason:s})})}async function ts(){return P("/recording/resume",{method:"POST"})}async function ss(){return P("/recording/status")}function as(s){const a=r.useCallback(t=>{const i=t.target,l=i.tagName==="INPUT"||i.tagName==="TEXTAREA"||i.isContentEditable;for(const o of s){const{key:n,ctrl:c,meta:d,shift:h,alt:u,handler:m,preventDefault:x=!0}=o;if(l&&n.toLowerCase()!=="escape")continue;const g=t.key.toLowerCase()===n.toLowerCase(),N=h?t.shiftKey:!t.shiftKey,p=u?t.altKey:!t.altKey;if(c){if((t.ctrlKey||t.metaKey)&&g&&N&&p){x&&t.preventDefault(),m(t);return}continue}if(d){if(t.metaKey&&!t.ctrlKey&&g&&N&&p){x&&t.preventDefault(),m(t);return}continue}if(!t.ctrlKey&&!t.metaKey&&g&&N&&p){x&&t.preventDefault(),m(t);return}}},[s]);r.useEffect(()=>(document.addEventListener("keydown",a),()=>{document.removeEventListener("keydown",a)}),[a])}const ve=r.createContext(void 0);function rs({children:s}){const[a,t]=r.useState(null),[i,l]=r.useState(null),o=r.useRef(!0),n=r.useCallback(async()=>{try{const c=await Xt();t(c.data),l(null)}catch(c){const d=c instanceof Error?c:new Error("Failed to fetch stats");l(d),console.error("Failed to fetch stats:",c),o.current&&q.error("Failed to load statistics")}finally{o.current=!1}},[]);return r.useEffect(()=>{n();const c=setInterval(n,1e4);return()=>clearInterval(c)},[n]),e.jsx(ve.Provider,{value:{stats:a,error:i,refreshStats:n},children:s})}function ns(){const s=r.useContext(ve);if(s===void 0)throw new Error("useStats must be used within a StatsProvider");return s}function de(){const[s,a]=r.useState(null),[t,i]=r.useState(!1);r.useEffect(()=>{const o=async()=>{try{const c=await ss();a(c.data)}catch(c){console.error("Failed to fetch recording status:",c)}};o();const n=setInterval(o,5e3);return()=>clearInterval(n)},[]);const l=async()=>{if(!(!s||t)){i(!0);try{if(s.isPaused){const o=await ts();a(o.data),q.success("Recording resumed")}else{const o=await es();a(o.data),q.success("Recording paused")}}catch{q.error("Failed to toggle recording")}finally{i(!1)}}};return s?e.jsx("button",{onClick:l,disabled:t,className:`p-2.5 rounded-lg transition-colors ${s.isPaused?"text-yellow-600 hover:text-yellow-700 dark:text-yellow-400 dark:hover:text-yellow-300 hover:bg-yellow-50 dark:hover:bg-yellow-900/20":"text-green-600 hover:text-green-700 dark:text-green-400 dark:hover:text-green-300 hover:bg-green-50 dark:hover:bg-green-900/20"} ${t?"opacity-50 cursor-not-allowed":""}`,"aria-label":s.isPaused?"Resume recording":"Pause recording",title:s.isPaused?"Resume Recording":"Pause Recording",children:s.isPaused?e.jsx(Kt,{className:"h-5 w-5"}):e.jsx(Ht,{className:"h-5 w-5"})}):null}const ue=[{name:"Overview",items:[{name:"Dashboard",href:"/",icon:Vt}]},{name:"Monitoring",items:[{name:"Requests",href:"/requests",icon:Ot},{name:"HTTP Client",href:"/http-client",icon:zt},{name:"Queries",href:"/queries",icon:re}]},{name:"Debugging",items:[{name:"Exceptions",href:"/exceptions",icon:be,badge:"exceptions"},{name:"Logs",href:"/logs",icon:$t}]},{name:"Background",items:[{name:"Events",href:"/events",icon:Ut},{name:"Jobs",href:"/jobs",icon:Mt},{name:"Schedule",href:"/schedule",icon:Tt}]},{name:"Storage",items:[{name:"Cache",href:"/cache",icon:oe},{name:"Mail",href:"/mail",icon:Ft}]},{name:"Advanced",items:[{name:"Redis",href:"/redis",icon:re},{name:"Models",href:"/models",icon:Dt},{name:"Notifications",href:"/notifications",icon:At},{name:"Views",href:"/views",icon:qt},{name:"Commands",href:"/commands",icon:Wt},{name:"Gates",href:"/gates",icon:Gt},{name:"Batches",href:"/batches",icon:It},{name:"Dumps",href:"/dumps",icon:oe}]}];function os(){const s=Ce(),[a,t]=r.useState(!1),{stats:i}=ns(),[l,o]=r.useState(()=>{if(typeof window<"u"){const p=localStorage.getItem("nestlens-collapsed-groups");return p?new Set(JSON.parse(p)):new Set}return new Set}),[n,c]=r.useState(()=>typeof window<"u"?document.documentElement.classList.contains("dark"):!1),[d,h]=r.useState(()=>{if(typeof window<"u"){const p=localStorage.getItem("nestlens-theme");if(p==="system"||p==="light"||p==="dark")return p}return"system"}),u=r.useCallback(p=>{o(_=>{const E=new Set(_);return E.has(p)?E.delete(p):E.add(p),localStorage.setItem("nestlens-collapsed-groups",JSON.stringify([...E])),E})},[]),m=r.useCallback(p=>{if(!i)return 0;switch(p){case"exceptions":return i.unresolvedExceptions??i.byType.exception??0;default:return 0}},[i]),x=r.useCallback(p=>{let _=!1;p==="system"?_=window.matchMedia("(prefers-color-scheme: dark)").matches:_=p==="dark",_?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark"),c(_)},[]),g=r.useCallback(()=>{const p=n?"light":"dark";h(p),localStorage.setItem("nestlens-theme",p),x(p)},[n,x]),N=r.useCallback(async()=>{window.confirm("Are you sure you want to clear all entries?")&&(await Yt(),q.success("All entries cleared"),window.location.reload())},[]);return r.useEffect(()=>{if(x(d),d==="system"){const p=window.matchMedia("(prefers-color-scheme: dark)"),_=E=>{const b=E.matches;b?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark"),c(b)};return p.addEventListener("change",_),()=>p.removeEventListener("change",_)}},[d,x]),as([{key:"k",ctrl:!0,handler:()=>N()},{key:"Escape",handler:()=>{a&&t(!1)},preventDefault:!1},{key:"d",ctrl:!0,handler:()=>g()}]),e.jsxs("div",{className:"min-h-screen bg-gray-50 dark:bg-gray-900",children:[e.jsxs("div",{className:`fixed inset-0 z-50 lg:hidden ${a?"":"hidden"}`,children:[e.jsx("div",{className:"fixed inset-0 bg-gray-900/80",onClick:()=>t(!1)}),e.jsxs("div",{id:"mobile-sidebar",className:"fixed inset-y-0 left-0 w-64 bg-white dark:bg-gray-800 flex flex-col",children:[e.jsxs("div",{className:"flex h-16 items-center justify-between px-4 border-b border-gray-200 dark:border-gray-700",children:[e.jsxs(M,{to:"/",className:"flex items-center space-x-2",children:[e.jsx(J,{className:"h-8 w-8 text-primary-600"}),e.jsx("span",{className:"text-xl font-bold text-gray-900 dark:text-white",children:"NestLens"})]}),e.jsx("button",{onClick:()=>t(!1),className:"text-gray-500 hover:text-gray-700 dark:text-gray-400","aria-label":"Close sidebar",children:e.jsx(Qt,{className:"h-6 w-6","aria-hidden":"true"})})]}),e.jsx("nav",{className:"flex-1 min-h-0 overflow-y-auto py-4 px-3",children:ue.map((p,_)=>{const E=l.has(p.name);return e.jsxs("div",{className:_>0?"mt-4":"",children:[e.jsxs("button",{onClick:()=>u(p.name),className:"flex items-center justify-between w-full px-2 py-1.5 text-xs font-semibold text-gray-400 dark:text-gray-500 uppercase tracking-wider hover:text-gray-600 dark:hover:text-gray-400 transition-colors","aria-expanded":!E,"aria-controls":`nav-group-${p.name.toLowerCase().replace(/\s+/g,"-")}`,children:[e.jsx("span",{children:p.name}),E?e.jsx(ae,{className:"h-3 w-3","aria-hidden":"true"}):e.jsx(se,{className:"h-3 w-3","aria-hidden":"true"})]}),!E&&e.jsx("div",{className:"mt-1 space-y-0.5",children:p.items.map(b=>{const v=b.href==="/"?s.pathname==="/":s.pathname.startsWith(b.href),C="badge"in b?m(b.badge):0;return e.jsxs(M,{to:b.href,"aria-current":v?"page":void 0,className:`group flex items-center justify-between px-3 py-2 rounded-lg transition-colors ${v?"bg-primary-50 text-primary-700 dark:bg-primary-900/50 dark:text-primary-200 font-medium":"text-gray-600 hover:bg-gray-100 dark:text-gray-400 dark:hover:bg-gray-800 hover:text-gray-900 dark:hover:text-white"}`,onClick:()=>t(!1),children:[e.jsxs("div",{className:"flex items-center space-x-3",children:[e.jsx(b.icon,{className:`h-4 w-4 ${v?"text-primary-600 dark:text-primary-400":"text-gray-400 group-hover:text-gray-600 dark:group-hover:text-gray-300"}`}),e.jsx("span",{className:"text-sm",children:b.name})]}),C>0&&e.jsx("span",{className:"inline-flex items-center justify-center min-w-[20px] h-5 px-1.5 text-xs font-medium bg-red-100 text-red-700 dark:bg-red-900/50 dark:text-red-400 rounded-full",children:C>99?"99+":C})]},b.name)})})]},p.name)})}),e.jsx("div",{className:"flex-shrink-0 p-3 border-t border-gray-200 dark:border-gray-700",children:e.jsxs("div",{className:"flex items-center justify-center gap-1",children:[e.jsx(de,{}),e.jsx("button",{onClick:g,className:"p-2.5 text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-700 rounded-lg transition-colors","aria-label":n?"Switch to light mode":"Switch to dark mode",children:n?e.jsx(le,{className:"h-5 w-5"}):e.jsx(ie,{className:"h-5 w-5"})}),e.jsx("button",{onClick:N,className:"p-2.5 text-gray-500 hover:text-red-600 dark:text-gray-400 dark:hover:text-red-400 hover:bg-red-50 dark:hover:bg-red-900/20 rounded-lg transition-colors","aria-label":"Clear all data",children:e.jsx(ce,{className:"h-5 w-5"})}),e.jsx("a",{href:"https://github.com/mogretici/nestlens",target:"_blank",rel:"noopener noreferrer",className:"p-2.5 text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-700 rounded-lg transition-colors","aria-label":"Documentation",children:e.jsx(ne,{className:"h-5 w-5"})})]})})]})]}),e.jsx("div",{className:"hidden lg:fixed lg:inset-y-0 lg:flex lg:w-64 lg:flex-col",children:e.jsxs("div",{className:"flex flex-col h-full bg-white dark:bg-gray-800 border-r border-gray-200 dark:border-gray-700",children:[e.jsx("div",{className:"flex h-16 items-center px-4 border-b border-gray-200 dark:border-gray-700",children:e.jsxs(M,{to:"/",className:"flex items-center space-x-2.5",children:[e.jsx("div",{className:"p-1.5 bg-primary-100 dark:bg-primary-900/50 rounded-lg",children:e.jsx(J,{className:"h-6 w-6 text-primary-600 dark:text-primary-400"})}),e.jsxs("div",{children:[e.jsx("span",{className:"text-lg font-bold text-gray-900 dark:text-white",children:"NestLens"}),e.jsx("span",{className:"hidden xl:inline text-xs text-gray-400 dark:text-gray-500 ml-1.5",children:"v0.1.0"})]})]})}),e.jsx("nav",{className:"flex-1 min-h-0 overflow-y-auto py-4 px-3",children:ue.map((p,_)=>{const E=l.has(p.name);return e.jsxs("div",{className:_>0?"mt-6":"",children:[e.jsxs("button",{onClick:()=>u(p.name),className:"flex items-center justify-between w-full px-2 py-1.5 text-[11px] font-semibold text-gray-400 dark:text-gray-500 uppercase tracking-wider hover:text-gray-600 dark:hover:text-gray-400 transition-colors","aria-expanded":!E,"aria-controls":`desktop-nav-group-${p.name.toLowerCase().replace(/\s+/g,"-")}`,children:[e.jsx("span",{children:p.name}),E?e.jsx(ae,{className:"h-3 w-3","aria-hidden":"true"}):e.jsx(se,{className:"h-3 w-3","aria-hidden":"true"})]}),!E&&e.jsx("div",{className:"mt-1 space-y-0.5",children:p.items.map(b=>{const v=b.href==="/"?s.pathname==="/":s.pathname.startsWith(b.href),C="badge"in b?m(b.badge):0;return e.jsxs(M,{to:b.href,"aria-current":v?"page":void 0,className:`group flex items-center justify-between px-3 py-2 rounded-lg transition-all duration-150 ${v?"bg-primary-50 text-primary-700 dark:bg-primary-900/50 dark:text-primary-200 font-medium shadow-sm":"text-gray-600 hover:bg-gray-50 dark:text-gray-400 dark:hover:bg-gray-800/50 hover:text-gray-900 dark:hover:text-white"}`,children:[e.jsxs("div",{className:"flex items-center space-x-3",children:[e.jsx(b.icon,{className:`h-[18px] w-[18px] transition-colors ${v?"text-primary-600 dark:text-primary-400":"text-gray-400 group-hover:text-gray-500 dark:group-hover:text-gray-300"}`}),e.jsx("span",{className:"text-sm",children:b.name})]}),C>0&&e.jsx("span",{className:`inline-flex items-center justify-center min-w-[20px] h-5 px-1.5 text-xs font-semibold rounded-full transition-colors ${v?"bg-primary-200 text-primary-800 dark:bg-primary-800 dark:text-primary-200":"bg-red-100 text-red-700 dark:bg-red-900/50 dark:text-red-400"}`,children:C>99?"99+":C})]},b.name)})})]},p.name)})}),e.jsx("div",{className:"flex-shrink-0 p-3 border-t border-gray-200 dark:border-gray-700",children:e.jsxs("div",{className:"flex items-center justify-center gap-1",children:[e.jsx(de,{}),e.jsx("button",{onClick:g,className:"p-2.5 text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-700 rounded-lg transition-colors","aria-label":n?"Switch to light mode":"Switch to dark mode",title:n?"Light Mode (⌘D)":"Dark Mode (⌘D)",children:n?e.jsx(le,{className:"h-5 w-5"}):e.jsx(ie,{className:"h-5 w-5"})}),e.jsx("button",{onClick:N,className:"p-2.5 text-gray-500 hover:text-red-600 dark:text-gray-400 dark:hover:text-red-400 hover:bg-red-50 dark:hover:bg-red-900/20 rounded-lg transition-colors","aria-label":"Clear all data",title:"Clear All Data (⌘K)",children:e.jsx(ce,{className:"h-5 w-5"})}),e.jsx("a",{href:"https://github.com/mogretici/nestlens",target:"_blank",rel:"noopener noreferrer",className:"p-2.5 text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-700 rounded-lg transition-colors","aria-label":"Documentation",title:"Documentation",children:e.jsx(ne,{className:"h-5 w-5"})})]})})]})}),e.jsxs("div",{className:"lg:pl-64",children:[e.jsxs("header",{className:"sticky top-0 z-40 flex h-14 items-center gap-4 border-b border-gray-200 dark:border-gray-700 bg-white dark:bg-gray-800 px-4 lg:hidden",children:[e.jsx("button",{onClick:()=>t(!0),className:"text-gray-500 hover:text-gray-700 dark:text-gray-400","aria-expanded":a,"aria-controls":"mobile-sidebar","aria-label":"Open navigation menu",children:e.jsx(Bt,{className:"h-6 w-6","aria-hidden":"true"})}),e.jsxs(M,{to:"/",className:"flex items-center space-x-2",children:[e.jsx(J,{className:"h-6 w-6 text-primary-600"}),e.jsx("span",{className:"text-lg font-bold text-gray-900 dark:text-white",children:"NestLens"})]})]}),e.jsx("main",{className:"p-4 lg:p-6",children:e.jsx(Pe,{})})]})]})}function y(){return e.jsx("div",{className:"flex items-center justify-center min-h-[400px]",children:e.jsxs("div",{className:"flex flex-col items-center gap-3",children:[e.jsx("div",{className:"animate-spin rounded-full h-10 w-10 border-b-2 border-primary-600 dark:border-primary-400"}),e.jsx("p",{className:"text-sm text-gray-500 dark:text-gray-400",children:"Loading..."})]})})}const is=r.lazy(()=>k(()=>import("./DashboardPage-CjaRZXYy.js"),__vite__mapDeps([0,1,2,3,4,5]))),ls=r.lazy(()=>k(()=>import("./RequestsPage-BCwqu9US.js"),__vite__mapDeps([6,1,2,7,8]))),cs=r.lazy(()=>k(()=>import("./QueriesPage-oNp0i6Gt.js"),__vite__mapDeps([9,1,2,7,8,3]))),ds=r.lazy(()=>k(()=>import("./ExceptionsPage-DXUcARr1.js"),__vite__mapDeps([10,1,2,7,8,5]))),us=r.lazy(()=>k(()=>import("./LogsPage-D0Q3yDb1.js"),__vite__mapDeps([11,1,2,7,8]))),hs=r.lazy(()=>k(()=>import("./EventsPage-u-r4AiT4.js"),__vite__mapDeps([12,1,2,7,8]))),ms=r.lazy(()=>k(()=>import("./JobsPage-Dv3KaX2x.js"),__vite__mapDeps([13,1,2,7,8]))),ps=r.lazy(()=>k(()=>import("./CachePage-CRy1Tjb8.js"),__vite__mapDeps([14,1,2,7,8]))),xs=r.lazy(()=>k(()=>import("./MailPage-Bf8C6WF6.js"),__vite__mapDeps([15,1,2,7,8]))),fs=r.lazy(()=>k(()=>import("./SchedulePage-CR0P-oX6.js"),__vite__mapDeps([16,1,17,2,7,8]))),ys=r.lazy(()=>k(()=>import("./HttpClientPage-BJ4-5E6t.js"),__vite__mapDeps([18,1,2,7,8]))),gs=r.lazy(()=>k(()=>import("./RedisPage-_GeS2OD8.js"),__vite__mapDeps([19,1,2,7,8]))),js=r.lazy(()=>k(()=>import("./ModelsPage-BMHncI5y.js"),__vite__mapDeps([20,1,2,7,8]))),bs=r.lazy(()=>k(()=>import("./NotificationsPage-D5-I-Oxb.js"),__vite__mapDeps([21,1,2,7,8]))),ks=r.lazy(()=>k(()=>import("./ViewsPage-Dsy5ECRA.js"),__vite__mapDeps([22,1,2,7,8]))),vs=r.lazy(()=>k(()=>import("./CommandsPage-DdRnTm-W.js"),__vite__mapDeps([23,1,2,7,8]))),ws=r.lazy(()=>k(()=>import("./GatesPage-DpeP7CDZ.js"),__vite__mapDeps([24,1,2,7,8]))),Ss=r.lazy(()=>k(()=>import("./BatchesPage-DFT4fKlJ.js"),__vite__mapDeps([25,1,2,7,8]))),Es=r.lazy(()=>k(()=>import("./DumpsPage-DO8y1RTg.js"),__vite__mapDeps([26,1,2,7,8]))),w=r.lazy(()=>k(()=>import("./EntryDetailPage-By-YcAGL.js"),__vite__mapDeps([27,1,2,8,3,5,17,4])));function _s(){return e.jsx(Re,{children:e.jsxs(f,{path:"/",element:e.jsx(os,{}),children:[e.jsx(f,{index:!0,element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(is,{})})}),e.jsx(f,{path:"requests",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(ls,{})})}),e.jsx(f,{path:"queries",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(cs,{})})}),e.jsx(f,{path:"exceptions",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(ds,{})})}),e.jsx(f,{path:"logs",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(us,{})})}),e.jsx(f,{path:"events",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(hs,{})})}),e.jsx(f,{path:"jobs",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(ms,{})})}),e.jsx(f,{path:"cache",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(ps,{})})}),e.jsx(f,{path:"mail",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(xs,{})})}),e.jsx(f,{path:"schedule",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(fs,{})})}),e.jsx(f,{path:"http-client",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(ys,{})})}),e.jsx(f,{path:"redis",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(gs,{})})}),e.jsx(f,{path:"models",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(js,{})})}),e.jsx(f,{path:"notifications",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(bs,{})})}),e.jsx(f,{path:"views",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(ks,{})})}),e.jsx(f,{path:"commands",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(vs,{})})}),e.jsx(f,{path:"gates",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(ws,{})})}),e.jsx(f,{path:"batches",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(Ss,{})})}),e.jsx(f,{path:"dumps",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(Es,{})})}),e.jsx(f,{path:"requests/:id",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(w,{})})}),e.jsx(f,{path:"queries/:id",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(w,{})})}),e.jsx(f,{path:"exceptions/:id",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(w,{})})}),e.jsx(f,{path:"logs/:id",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(w,{})})}),e.jsx(f,{path:"events/:id",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(w,{})})}),e.jsx(f,{path:"jobs/:id",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(w,{})})}),e.jsx(f,{path:"cache/:id",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(w,{})})}),e.jsx(f,{path:"mail/:id",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(w,{})})}),e.jsx(f,{path:"schedule/:id",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(w,{})})}),e.jsx(f,{path:"http-client/:id",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(w,{})})}),e.jsx(f,{path:"redis/:id",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(w,{})})}),e.jsx(f,{path:"models/:id",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(w,{})})}),e.jsx(f,{path:"notifications/:id",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(w,{})})}),e.jsx(f,{path:"views/:id",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(w,{})})}),e.jsx(f,{path:"commands/:id",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(w,{})})}),e.jsx(f,{path:"gates/:id",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(w,{})})}),e.jsx(f,{path:"batches/:id",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(w,{})})}),e.jsx(f,{path:"dumps/:id",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(w,{})})}),e.jsx(f,{path:"entries/:id",element:e.jsx(r.Suspense,{fallback:e.jsx(y,{}),children:e.jsx(w,{})})}),e.jsx(f,{path:"*",element:e.jsx(Le,{to:"/",replace:!0})})]})})}class Ns extends r.Component{constructor(){super(...arguments);z(this,"state",{hasError:!1});z(this,"handleReload",()=>{window.location.reload()});z(this,"handleReset",()=>{this.setState({hasError:!1,error:void 0,errorInfo:void 0})})}static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,i){console.error("ErrorBoundary caught an error:",t,i),this.setState({errorInfo:i})}render(){return this.state.hasError?this.props.fallback?this.props.fallback:e.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gray-50 dark:bg-gray-900 p-4",children:e.jsxs("div",{className:"max-w-md w-full bg-white dark:bg-gray-800 rounded-lg shadow-lg p-6 text-center",children:[e.jsx("div",{className:"mx-auto w-12 h-12 flex items-center justify-center rounded-full bg-red-100 dark:bg-red-900/30 mb-4",children:e.jsx(be,{className:"h-6 w-6 text-red-600 dark:text-red-400"})}),e.jsx("h1",{className:"text-xl font-semibold text-gray-900 dark:text-white mb-2",children:"Something went wrong"}),e.jsx("p",{className:"text-gray-600 dark:text-gray-400 mb-4",children:"An unexpected error occurred. Please try refreshing the page."}),this.state.error&&e.jsx("div",{className:"mb-4 p-3 bg-red-50 dark:bg-red-900/20 rounded-lg text-left",children:e.jsx("p",{className:"text-sm font-mono text-red-600 dark:text-red-400 break-all",children:this.state.error.message})}),e.jsxs("div",{className:"flex gap-3 justify-center",children:[e.jsx("button",{onClick:this.handleReset,className:"px-4 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",children:"Try Again"}),e.jsxs("button",{onClick:this.handleReload,className:"flex items-center gap-2 px-4 py-2 text-sm font-medium text-white bg-primary-600 hover:bg-primary-700 rounded-lg transition-colors",children:[e.jsx(Jt,{className:"h-4 w-4"}),"Refresh Page"]})]}),!1]})}):this.props.children}}const Cs=()=>{const s=window.location.pathname,a=s.indexOf("/nestlens");return a!==-1?s.substring(0,a+9):"/nestlens"};$e.createRoot(document.getElementById("root")).render(e.jsx(Oe.StrictMode,{children:e.jsx(Ns,{children:e.jsx(Ae,{basename:Cs(),children:e.jsxs(rs,{children:[e.jsx(_s,{}),e.jsx(_t,{position:"bottom-right",toastOptions:{duration:3e3,style:{background:"#1f2937",color:"#f3f4f6",borderRadius:"0.5rem"},success:{iconTheme:{primary:"#10b981",secondary:"#f3f4f6"}},error:{iconTheme:{primary:"#ef4444",secondary:"#f3f4f6"}}}})]})})})}));export{Ot as A,Mt as B,Tt as C,re as D,qt as E,$t as F,zt as G,oe as H,It as L,Ft as M,Kt as P,Ut as R,Gt as S,be as T,Qt as X,Dt as a,At as b,j as c,Wt as d,ae as e,Os as f,Ms as g,Jt as h,qs as i,e as j,As as k,Ds as l,se as m,Ls as n,Ts as r,ns as u,q as z};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function n(t){return t.type==="request"}function e(t){return t.type==="query"}function r(t){return t.type==="exception"}function i(t){return t.type==="log"}function u(t){return t.type==="cache"}function s(t){return t.type==="event"}function y(t){return t.type==="job"}function o(t){return t.type==="schedule"}function c(t){return t.type==="mail"}function a(t){return t.type==="http-client"}function p(t){return t.type==="redis"}function f(t){return t.type==="model"}function E(t){return t.type==="notification"}function d(t){return t.type==="view"}function l(t){return t.type==="command"}function m(t){return t.type==="gate"}function h(t){return t.type==="batch"}function b(t){return t.type==="dump"}export{e as a,r as b,i as c,s as d,y as e,u as f,c as g,o as h,n as i,a as j,p as k,f as l,E as m,d as n,l as o,m as p,h as q,b as r};
|