forge-openclaw-plugin 0.3.15 → 0.3.17
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/README.md +6 -6
- package/dist/assets/{action-bar-B9MYlps2.js → action-bar-D3CEYlj4.js} +1 -1
- package/dist/assets/{activity-page-DbzbChcE.js → activity-page-Ce1pHIu5.js} +1 -1
- package/dist/assets/{ai-surface-workspace-CF0257Hs.js → ai-surface-workspace-DEliwOjF.js} +1 -1
- package/dist/assets/artifacts-page-BgyFVIVM.js +2 -0
- package/dist/assets/{atlas-panel-CO3RYAKn.js → atlas-panel-VZOnJa1c.js} +1 -1
- package/dist/assets/{board-CuxQRKPJ.js → board-DprRipIG.js} +1 -1
- package/dist/assets/{calendar-page-BuuHKEHC.js → calendar-page-Zstsn4uG.js} +1 -1
- package/dist/assets/{calendar-rules-DKftgNx5.js → calendar-rules-BGIBuEDk.js} +1 -1
- package/dist/assets/{calendar-week-toolbar-ChIpkT-G.js → calendar-week-toolbar-DXFkMkbq.js} +1 -1
- package/dist/assets/{charts-BzT4pUPg.js → charts-C5S0-BL7.js} +1 -1
- package/dist/assets/{companion-sync-lab-page-BZRX4Btw.js → companion-sync-lab-page-DIPPLFKt.js} +1 -1
- package/dist/assets/{daily-metrics-dashboard-CXDsaAQd.js → daily-metrics-dashboard-CG-OOCJz.js} +1 -1
- package/dist/assets/{define-workbench-box-CpG0Zb1L.js → define-workbench-box-BEEdtBkQ.js} +1 -1
- package/dist/assets/{entity-link-multiselect-Dl4rZqdg.js → entity-link-multiselect-BfDAROHB.js} +1 -1
- package/dist/assets/{entity-note-count-link-Bs1aKYyD.js → entity-note-count-link-BGOiaash.js} +1 -1
- package/dist/assets/{entity-notes-surface-B56XSw7M.js → entity-notes-surface-DPsJwqQa.js} +1 -1
- package/dist/assets/execution-board-Dg-2GSKv.js +1 -0
- package/dist/assets/{faceted-token-search-Dg2rjknH.js → faceted-token-search-DV7MSVYb.js} +1 -1
- package/dist/assets/{flagship-signal-deck-C6KVPhmM.js → flagship-signal-deck-D3wVL3bC.js} +1 -1
- package/dist/assets/{floating-action-menu-DAFAEBcA.js → floating-action-menu-BUs382px.js} +1 -1
- package/dist/assets/{forms-D1qJ3oOP.js → forms-ByKjodjN.js} +1 -1
- package/dist/assets/{generic-node-view-C6DK5hJ6.js → generic-node-view-BY5dbPXJ.js} +1 -1
- package/dist/assets/{goal-detail-page-CC4VXud6.js → goal-detail-page-MYr6j2B4.js} +1 -1
- package/dist/assets/{goal-dialog-15hD8EBp.js → goal-dialog-nkdME5Uy.js} +1 -1
- package/dist/assets/goals-page-BsFeBzU1.js +1 -0
- package/dist/assets/{graph-BF4IsheG.js → graph-CHVj0Z7n.js} +1 -1
- package/dist/assets/habits-page-wO461EVU.js +1 -0
- package/dist/assets/{health-boxes-DqgvIYoL.js → health-boxes-BphMeSJj.js} +1 -1
- package/dist/assets/index-CSd8ylsy.css +1 -0
- package/dist/assets/index-gmPaoLN-.js +2 -0
- package/dist/assets/{inline-note-fields-COgzxr_7.js → inline-note-fields-BvQwmMAv.js} +1 -1
- package/dist/assets/{insight-flow-dialog-Dmb6NSGp.js → insight-flow-dialog-H_eaOmst.js} +1 -1
- package/dist/assets/{insights-page-OnqR4cYI.js → insights-page-DINYe3cB.js} +3 -3
- package/dist/assets/{kanban-boxes-BWUzntCV.js → kanban-boxes-oACOTDYG.js} +1 -1
- package/dist/assets/{kanban-page-BI16Gzp_.js → kanban-page-BGLXH91f.js} +1 -1
- package/dist/assets/knowledge-graph-page-VfMvw5jL.js +1 -0
- package/dist/assets/{life-force-page-CDEXEQai.js → life-force-page-DQPb6UL-.js} +1 -1
- package/dist/assets/{life-force-workspace-C7UOnJEf.js → life-force-workspace-BJ1aI3JE.js} +1 -1
- package/dist/assets/{maps-BTVHALP8.js → maps-CvEHVkBk.js} +1 -1
- package/dist/assets/{metric-tile-boeHB1R1.js → metric-tile-CbEe19Gd.js} +1 -1
- package/dist/assets/{motion-DcgUnXhY.js → motion-BibSzp57.js} +1 -1
- package/dist/assets/{movement-boxes-BUSqaTL2.js → movement-boxes-dtDYhw5c.js} +1 -1
- package/dist/assets/{movement-page-DcbO0497.js → movement-page-BhmwCHjs.js} +1 -1
- package/dist/assets/{note-markdown-DXXI3W3V.js → note-markdown-CG8u2d6p.js} +1 -1
- package/dist/assets/{note-tags-input-CYh3TVW2.js → note-tags-input-D_conqDO.js} +1 -1
- package/dist/assets/{notes-boxes-CMJXX2K0.js → notes-boxes-BLKucFqW.js} +1 -1
- package/dist/assets/notes-page-CafVxWjb.js +1 -0
- package/dist/assets/{open-in-graph-button-4UYrp1XP.js → open-in-graph-button-DFQ4r6SN.js} +1 -1
- package/dist/assets/{orbit-map-BwK7sDaC.js → orbit-map-DsEl3ori.js} +1 -1
- package/dist/assets/overview-page-BffcX-pM.js +1 -0
- package/dist/assets/page-hero-U603l9rQ.js +1 -0
- package/dist/assets/pill-cluster-BYVFNppV.js +1 -0
- package/dist/assets/{preference-entity-handoff-button-C2ATjvws.js → preference-entity-handoff-button-cPrTpHsV.js} +1 -1
- package/dist/assets/{preferences-page-BAexXHye.js → preferences-page-DQjFIOmt.js} +1 -1
- package/dist/assets/{project-collections-B9nr-Ts-.js → project-collections-B9OGHGqm.js} +1 -1
- package/dist/assets/project-detail-page-r1Sw2kcO.js +1 -0
- package/dist/assets/{project-dialog-CBA-D65n.js → project-dialog-B2_PcXAf.js} +1 -1
- package/dist/assets/project-management-hierarchy-page-qLNG8hsh.js +1 -0
- package/dist/assets/{project-management-section-nav-DJ3QKCtr.js → project-management-section-nav-DFUlmMEB.js} +1 -1
- package/dist/assets/{projects-boxes-iBu_PRqe.js → projects-boxes-BA7_XaqX.js} +1 -1
- package/dist/assets/projects-page-B6ggXWFw.js +1 -0
- package/dist/assets/psyche-behaviors-page-ByWpXlLq.js +5 -0
- package/dist/assets/{psyche-flashcards-page-DQaw_vUQ.js → psyche-flashcards-page-B9nSc0mk.js} +1 -1
- package/dist/assets/{psyche-goal-map-page-C-ZTVOEP.js → psyche-goal-map-page-BQU7qI88.js} +1 -1
- package/dist/assets/{psyche-graph-DYzeClxn.js → psyche-graph-DCeP7r2b.js} +1 -1
- package/dist/assets/{psyche-metrics-page-C9hKn10A.js → psyche-metrics-page-DD2lOP-J.js} +1 -1
- package/dist/assets/psyche-mode-guide-page-DbtZgnjr.js +1 -0
- package/dist/assets/psyche-modes-page-3zFJWFQf.js +1 -0
- package/dist/assets/psyche-page-D5vXYkfB.js +1 -0
- package/dist/assets/psyche-patterns-page-BneAAeKS.js +5 -0
- package/dist/assets/{psyche-questionnaire-builder-page-gRwdGXde.js → psyche-questionnaire-builder-page-BH1la5C9.js} +1 -1
- package/dist/assets/{psyche-questionnaire-detail-page-CIP9b2UI.js → psyche-questionnaire-detail-page-DYav634P.js} +1 -1
- package/dist/assets/psyche-questionnaire-run-detail-page-9VaijhJm.js +1 -0
- package/dist/assets/{psyche-questionnaire-run-page-CXiJyd5i.js → psyche-questionnaire-run-page-e1T6k_dS.js} +1 -1
- package/dist/assets/{psyche-questionnaires-page-CFPKwA3O.js → psyche-questionnaires-page-Dyv367z9.js} +1 -1
- package/dist/assets/{psyche-report-detail-page-dU30a2WE.js → psyche-report-detail-page-hqxHIXw2.js} +3 -3
- package/dist/assets/psyche-reports-page-DhIfcGbt.js +1 -0
- package/dist/assets/{psyche-schemas-DDol0j-g.js → psyche-schemas-Cg51Ztxz.js} +1 -1
- package/dist/assets/psyche-schemas-beliefs-page-Dgb5o9vx.js +9 -0
- package/dist/assets/{psyche-screen-time-page-lIe6GQxJ.js → psyche-screen-time-page-D6MnJGNa.js} +1 -1
- package/dist/assets/{psyche-self-observation-page-BTE3KfIl.js → psyche-self-observation-page-C1Vyezbv.js} +1 -1
- package/dist/assets/{psyche-values-page-DclBZ9xw.js → psyche-values-page-B_JWVw1Q.js} +2 -2
- package/dist/assets/{question-flow-dialog-Ded2E85L.js → question-flow-dialog-yMYVk998.js} +2 -2
- package/dist/assets/{report-chain-fields-DY640iqL.js → report-chain-fields-D4NM9a6I.js} +1 -1
- package/dist/assets/rewards-page-B5-bcL4R.js +1 -0
- package/dist/assets/{scheduling-rules-editor-jakFfxqF.js → scheduling-rules-editor-De72IUax.js} +1 -1
- package/dist/assets/{schema-badge-30B5syHA.js → schema-badge-jX28kUa6.js} +1 -1
- package/dist/assets/{schemas-Db29G8NU.js → schemas-BlFy-uPR.js} +1 -1
- package/dist/assets/{select-menu-BF2zI3RW.js → select-menu-BXv1rsVc.js} +1 -1
- package/dist/assets/{settings-agents-page-Bh-Bv6FQ.js → settings-agents-page-DN_np10S.js} +1 -1
- package/dist/assets/settings-bin-page-BM5BpK_i.js +1 -0
- package/dist/assets/{settings-calendar-page-BA4_Qqiu.js → settings-calendar-page-Cg0gSSFs.js} +3 -3
- package/dist/assets/{settings-data-page-K4kpmQJY.js → settings-data-page-Dwmp2rLy.js} +1 -1
- package/dist/assets/{settings-logs-page-DkuNPAZo.js → settings-logs-page-DQNM21Re.js} +1 -1
- package/dist/assets/{settings-mobile-page-4pCNwD91.js → settings-mobile-page-DQdiRa-a.js} +1 -1
- package/dist/assets/settings-models-page-CAEPpuHF.js +1 -0
- package/dist/assets/{settings-page-B_Be0vOY.js → settings-page-Cl2KiCFg.js} +1 -1
- package/dist/assets/{settings-rewards-page-C6nFTWJu.js → settings-rewards-page-DoIUumhe.js} +1 -1
- package/dist/assets/{settings-section-nav-Lo-VKCfZ.js → settings-section-nav-D_N87IG0.js} +1 -1
- package/dist/assets/{settings-users-page-CVzNp4-m.js → settings-users-page-CPesR62N.js} +1 -1
- package/dist/assets/{settings-wiki-page-DXM--7BB.js → settings-wiki-page-BxMQM5Vi.js} +1 -1
- package/dist/assets/{sleep-page-DvPdZMKx.js → sleep-page-DUYmQKrg.js} +1 -1
- package/dist/assets/{sports-page-DjuZlOur.js → sports-page-Bzi5TF9T.js} +1 -1
- package/dist/assets/{state-Bpe5dF3T.js → state-BFyKSULP.js} +1 -1
- package/dist/assets/{strategies-page-PE1IlatS.js → strategies-page-C-T2MZx4.js} +1 -1
- package/dist/assets/{strategy-detail-page-C4KiEGCI.js → strategy-detail-page-3tYuSZu-.js} +1 -1
- package/dist/assets/{strategy-dialog-Cwf7Y3P5.js → strategy-dialog-BWm4slo4.js} +1 -1
- package/dist/assets/{surface-ubuOfukq.js → surface-BJObZeRw.js} +1 -1
- package/dist/assets/{table-U7otr5go.js → table-CTLroJKN.js} +1 -1
- package/dist/assets/task-detail-page-ZZOXSpSF.js +1 -0
- package/dist/assets/{task-dialog-CI_Fy_FW.js → task-dialog-2wy0xI7f.js} +5 -5
- package/dist/assets/timebox-planning-dialog-C6h0Hp71.js +1 -0
- package/dist/assets/{today-boxes-CYuxSkZf.js → today-boxes-B_TdgSDz.js} +1 -1
- package/dist/assets/today-page-Dipns9tl.js +1 -0
- package/dist/assets/training-load-page-B78e1-o-.js +1 -0
- package/dist/assets/{ui-B9TWEtCx.js → ui-uo_bNP7c.js} +1 -1
- package/dist/assets/{use-anchored-overlay-position-BY4kNzPj.js → use-anchored-overlay-position-BSxFX6Hi.js} +1 -1
- package/dist/assets/{use-psyche-focus-target-BhNedCZB.js → use-psyche-focus-target-1GLkhYiv.js} +1 -1
- package/dist/assets/{user-badge-ByhC6bMU.js → user-badge-C4eZu1e_.js} +1 -1
- package/dist/assets/{user-select-field-fx129Uh6.js → user-select-field-CmKwcbZt.js} +1 -1
- package/dist/assets/{utility-widgets-ilORjDmg.js → utility-widgets-B06wQFrd.js} +2 -2
- package/dist/assets/{vendor-BwL6m4SE.js → vendor-B7FKSwHK.js} +222 -212
- package/dist/assets/{vitals-page-mdEqIm_9.js → vitals-page-BC7QFsm2.js} +1 -1
- package/dist/assets/{weekly-review-page-C8W-yg5r.js → weekly-review-page-BjNsNoWj.js} +1 -1
- package/dist/assets/{weight-loss-page-BApTknCn.js → weight-loss-page-BOahGY9r.js} +1 -1
- package/dist/assets/{wiki-article-markdown-DBccllQg.js → wiki-article-markdown-DO47HnZf.js} +2 -2
- package/dist/assets/{wiki-editor-page-BfRfH1O3.js → wiki-editor-page-OWRUHl4O.js} +5 -5
- package/dist/assets/{wiki-ingest-history-page-C-6H3MU6.js → wiki-ingest-history-page-CuHpg2lZ.js} +1 -1
- package/dist/assets/{wiki-ingest-modal-DnlhByD_.js → wiki-ingest-modal-EZ3kX-vA.js} +1 -1
- package/dist/assets/wiki-page-BPV3HIgu.js +1 -0
- package/dist/assets/{workbench-flow-page-_-NKIx5R.js → workbench-flow-page-C53KueEz.js} +3 -3
- package/dist/assets/{workbench-page-NIAzggwX.js → workbench-page-DJ7nT2JQ.js} +1 -1
- package/dist/assets/workout-detail-page-Dhyu0q7o.js +2 -0
- package/dist/index.html +8 -8
- package/dist/openclaw/api-client.js +28 -2
- package/dist/openclaw/local-runtime.js +31 -14
- package/dist/openclaw/parity.d.ts +1 -1
- package/dist/openclaw/parity.js +10 -0
- package/dist/openclaw/routes.js +78 -0
- package/dist/openclaw/tools.js +42 -0
- package/dist/server/apps/api/migrations/072_artifact_store.sql +106 -0
- package/dist/server/{server → apps/api}/src/app.js +365 -4
- package/dist/server/{server → apps/api}/src/connectors/box-registry.js +3 -3
- package/dist/server/{server → apps/api}/src/db.js +23 -4
- package/dist/server/{server → apps/api}/src/health-weight-loss.js +1 -1
- package/dist/server/{server → apps/api}/src/openapi.js +570 -1
- package/dist/server/{server → apps/api}/src/questionnaire-seeds.js +1 -1
- package/dist/server/{server → apps/api}/src/repositories/ai-connectors.js +1 -1
- package/dist/server/apps/api/src/repositories/entity-links.js +66 -0
- package/dist/server/{server → apps/api}/src/repositories/habits.js +1 -1
- package/dist/server/apps/api/src/services/artifacts.js +1059 -0
- package/dist/server/{server → apps/api}/src/services/companion-iroh.js +4 -1
- package/dist/server/{server → apps/api}/src/services/doctor.js +3 -3
- package/dist/server/{server → apps/api}/src/services/entity-crud.js +22 -0
- package/dist/server/{server → apps/api}/src/services/gamification-assets.js +1 -1
- package/dist/server/{server → apps/api}/src/services/gamification.js +1 -1
- package/dist/server/{server → apps/api}/src/services/knowledge-graph.js +48 -3
- package/dist/server/{server → apps/api}/src/services/psyche-observation-calendar.js +1 -0
- package/dist/server/{server → apps/api}/src/types.js +4 -2
- package/dist/server/{server → apps/api}/src/watch-mobile.js +1 -1
- package/dist/server/{src → apps/web/src}/lib/api.js +69 -0
- package/dist/server/{src → apps/web/src}/lib/entity-visuals.js +10 -1
- package/dist/server/{src → apps/web/src}/lib/knowledge-graph-types.js +9 -0
- package/openclaw.plugin.json +2 -1
- package/package.json +3 -3
- package/server/index.js +3 -3
- package/server/migrations/072_artifact_store.sql +106 -0
- package/skills/forge-openclaw/SKILL.md +60 -7
- package/skills/forge-openclaw/entity_conversation_playbooks.md +212 -14
- package/skills/forge-openclaw/psyche_entity_playbooks.md +20 -0
- package/dist/assets/execution-board-D66C_ikW.js +0 -1
- package/dist/assets/goals-page-CQ2lJMzI.js +0 -1
- package/dist/assets/habits-page-a7KVPaQp.js +0 -1
- package/dist/assets/index-ClJbJhca.css +0 -1
- package/dist/assets/index-FpGANF9S.js +0 -2
- package/dist/assets/knowledge-graph-page-DxEBaEke.js +0 -1
- package/dist/assets/notes-page-DvHMcQey.js +0 -1
- package/dist/assets/overview-page-Z5vaUTm3.js +0 -1
- package/dist/assets/page-hero-DvrM83_C.js +0 -1
- package/dist/assets/pill-cluster-DYI3Ibj8.js +0 -1
- package/dist/assets/project-detail-page-B9PqyPu9.js +0 -1
- package/dist/assets/project-management-hierarchy-page-DXK14jn0.js +0 -1
- package/dist/assets/projects-page-CdAk-ByT.js +0 -1
- package/dist/assets/psyche-behaviors-page-CbhhTfU2.js +0 -5
- package/dist/assets/psyche-mode-guide-page-CR8e984W.js +0 -1
- package/dist/assets/psyche-modes-page-lQdpAcY3.js +0 -1
- package/dist/assets/psyche-page-CTdIDkw9.js +0 -1
- package/dist/assets/psyche-patterns-page-Drgm-f7I.js +0 -5
- package/dist/assets/psyche-questionnaire-run-detail-page-SYndwtF3.js +0 -1
- package/dist/assets/psyche-reports-page-Cn0EBndy.js +0 -1
- package/dist/assets/psyche-schemas-beliefs-page-Bab4xSWv.js +0 -9
- package/dist/assets/rewards-page-FxUXB76B.js +0 -1
- package/dist/assets/settings-bin-page-DT8JJero.js +0 -1
- package/dist/assets/settings-models-page-CZHG3t7W.js +0 -1
- package/dist/assets/task-detail-page-B3SMFZQ3.js +0 -1
- package/dist/assets/timebox-planning-dialog-BtFuVoA1.js +0 -1
- package/dist/assets/today-page-CHGpLEZ3.js +0 -1
- package/dist/assets/training-load-page-GZJF-Yy5.js +0 -1
- package/dist/assets/wiki-page-DPZ55e3x.js +0 -1
- package/dist/assets/workout-detail-page-3fxr6HL4.js +0 -2
- /package/dist/server/{server → apps/api}/migrations/001_core.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/002_psyche.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/003_habits.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/004_habit_links.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/005_habit_psyche_links.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/006_work_adjustments.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/007_weekly_review_closures.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/008_calendar_execution.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/009_true_calendar_events.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/010_calendar_selection_state.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/011_calendar_timezone_backfill.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/012_work_block_ranges.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/013_microsoft_local_auth_settings.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/014_note_tags_and_ephemeral.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/015_multi_user_and_strategies.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/016_health_companion.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/016_strategy_contracts_and_user_graph.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/017_preferences.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/018_preference_catalogs.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/019_wiki_memory.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/020_wiki_page_hierarchy.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/021_hide_evidence_from_wiki_index.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/022_wiki_ingest_background.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/023_diagnostic_logs.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/024_questionnaires.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/025_ai_model_connections.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/026_custom_theme_settings.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/027_ai_processors.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/028_movement_domain.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/029_watch_micro_capture.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/030_surface_layouts.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/031_ai_processor_runtime_upgrades.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/032_ai_connectors.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/033_movement_trip_point_sync.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/034_movement_segment_sync.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/035_google_local_auth_settings.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/036_google_local_auth_client_secret.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/037_workbench_public_inputs_and_run_inputs.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/038_data_management_settings.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/039_life_force_and_action_points.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/040_screen_time_domain.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/041_companion_source_states.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/042_movement_boxes.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/043_movement_box_overlap_overrides.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/044_macos_local_calendar_provider.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/045_sleep_nights_and_raw_segments.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/046_work_item_hierarchy.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/047_sleep_source_records.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/048_task_run_git_context.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/049_agent_runtime_sessions.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/050_agent_token_bootstrap_policy.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/051_agent_token_scope_policy.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/052_agent_identity_tightening.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/053_agent_runtime_session_canonical_labels.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/054_sqlite_backed_wiki_memory.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/055_gamification_progression.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/056_gamification_equipment.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/057_gamification_catalog_cleanup.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/058_gamification_theme_preference.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/059_data_backup_retention.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/060_psyche_devrage_metrics.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/061_health_workout_raw_evidence.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/062_health_mobile_sync_sessions.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/063_psyche_flashcards.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/064_health_workout_time_series_identity.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/065_weight_loss_nutrition_insights.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/066_watch_action_receipts.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/067_weight_loss_daily_active_overrides.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/068_remove_generated_movement_wiki_logs.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/069_psyche_devrage_cumulative_rage.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/070_health_mobile_sync_completion_index.sql +0 -0
- /package/dist/server/{server → apps/api}/migrations/071_agent_runtime_claude_identity.sql +0 -0
- /package/dist/server/{server → apps/api}/src/data-management-types.js +0 -0
- /package/dist/server/{server → apps/api}/src/debug.js +0 -0
- /package/dist/server/{server → apps/api}/src/demo-data.js +0 -0
- /package/dist/server/{server → apps/api}/src/discovery-advertiser.js +0 -0
- /package/dist/server/{server → apps/api}/src/e2e-server.js +0 -0
- /package/dist/server/{server → apps/api}/src/errors.js +0 -0
- /package/dist/server/{server → apps/api}/src/health-workout-adapters.js +0 -0
- /package/dist/server/{server → apps/api}/src/health-workout-analytics.js +0 -0
- /package/dist/server/{server → apps/api}/src/health.js +0 -0
- /package/dist/server/{server → apps/api}/src/index.js +0 -0
- /package/dist/server/{server → apps/api}/src/managers/base.js +0 -0
- /package/dist/server/{server → apps/api}/src/managers/contracts.js +0 -0
- /package/dist/server/{server → apps/api}/src/managers/platform/api-gateway-manager.js +0 -0
- /package/dist/server/{server → apps/api}/src/managers/platform/audit-manager.js +0 -0
- /package/dist/server/{server → apps/api}/src/managers/platform/authentication-manager.js +0 -0
- /package/dist/server/{server → apps/api}/src/managers/platform/authorization-manager.js +0 -0
- /package/dist/server/{server → apps/api}/src/managers/platform/background-job-manager.js +0 -0
- /package/dist/server/{server → apps/api}/src/managers/platform/configuration-manager.js +0 -0
- /package/dist/server/{server → apps/api}/src/managers/platform/database-manager.js +0 -0
- /package/dist/server/{server → apps/api}/src/managers/platform/event-bus-manager.js +0 -0
- /package/dist/server/{server → apps/api}/src/managers/platform/external-service-manager.js +0 -0
- /package/dist/server/{server → apps/api}/src/managers/platform/health-manager.js +0 -0
- /package/dist/server/{server → apps/api}/src/managers/platform/llm-manager.js +0 -0
- /package/dist/server/{server → apps/api}/src/managers/platform/migration-manager.js +0 -0
- /package/dist/server/{server → apps/api}/src/managers/platform/mock-workbench-provider.js +0 -0
- /package/dist/server/{server → apps/api}/src/managers/platform/openai-responses-provider.js +0 -0
- /package/dist/server/{server → apps/api}/src/managers/platform/search-index-manager.js +0 -0
- /package/dist/server/{server → apps/api}/src/managers/platform/secrets-manager.js +0 -0
- /package/dist/server/{server → apps/api}/src/managers/platform/session-manager.js +0 -0
- /package/dist/server/{server → apps/api}/src/managers/platform/storage-manager.js +0 -0
- /package/dist/server/{server → apps/api}/src/managers/platform/token-manager.js +0 -0
- /package/dist/server/{server → apps/api}/src/managers/platform/transaction-manager.js +0 -0
- /package/dist/server/{server → apps/api}/src/managers/platform/trusted-network.js +0 -0
- /package/dist/server/{server → apps/api}/src/managers/runtime.js +0 -0
- /package/dist/server/{server → apps/api}/src/managers/type-guards.js +0 -0
- /package/dist/server/{server → apps/api}/src/movement.js +0 -0
- /package/dist/server/{server → apps/api}/src/preferences-seeds.js +0 -0
- /package/dist/server/{server → apps/api}/src/preferences-types.js +0 -0
- /package/dist/server/{server → apps/api}/src/psyche-types.js +0 -0
- /package/dist/server/{server → apps/api}/src/questionnaire-flow.js +0 -0
- /package/dist/server/{server → apps/api}/src/questionnaire-types.js +0 -0
- /package/dist/server/{server → apps/api}/src/repositories/activity-events.js +0 -0
- /package/dist/server/{server → apps/api}/src/repositories/agent-runtime-sessions.js +0 -0
- /package/dist/server/{server → apps/api}/src/repositories/ai-processors.js +0 -0
- /package/dist/server/{server → apps/api}/src/repositories/calendar.js +0 -0
- /package/dist/server/{server → apps/api}/src/repositories/collaboration.js +0 -0
- /package/dist/server/{server → apps/api}/src/repositories/deleted-entities.js +0 -0
- /package/dist/server/{server → apps/api}/src/repositories/diagnostic-logs.js +0 -0
- /package/dist/server/{server → apps/api}/src/repositories/domains.js +0 -0
- /package/dist/server/{server → apps/api}/src/repositories/entity-ownership.js +0 -0
- /package/dist/server/{server → apps/api}/src/repositories/event-log.js +0 -0
- /package/dist/server/{server → apps/api}/src/repositories/gamification.js +0 -0
- /package/dist/server/{server → apps/api}/src/repositories/goals.js +0 -0
- /package/dist/server/{server → apps/api}/src/repositories/model-settings.js +0 -0
- /package/dist/server/{server → apps/api}/src/repositories/notes.js +0 -0
- /package/dist/server/{server → apps/api}/src/repositories/preferences.js +0 -0
- /package/dist/server/{server → apps/api}/src/repositories/projects.js +0 -0
- /package/dist/server/{server → apps/api}/src/repositories/psyche.js +0 -0
- /package/dist/server/{server → apps/api}/src/repositories/questionnaires.js +0 -0
- /package/dist/server/{server → apps/api}/src/repositories/rewards.js +0 -0
- /package/dist/server/{server → apps/api}/src/repositories/settings.js +0 -0
- /package/dist/server/{server → apps/api}/src/repositories/strategies.js +0 -0
- /package/dist/server/{server → apps/api}/src/repositories/surface-layouts.js +0 -0
- /package/dist/server/{server → apps/api}/src/repositories/tags.js +0 -0
- /package/dist/server/{server → apps/api}/src/repositories/task-runs.js +0 -0
- /package/dist/server/{server → apps/api}/src/repositories/tasks.js +0 -0
- /package/dist/server/{server → apps/api}/src/repositories/users.js +0 -0
- /package/dist/server/{server → apps/api}/src/repositories/weekly-reviews.js +0 -0
- /package/dist/server/{server → apps/api}/src/repositories/wiki-memory.js +0 -0
- /package/dist/server/{server → apps/api}/src/repositories/work-adjustments.js +0 -0
- /package/dist/server/{server → apps/api}/src/runtime-data-root.js +0 -0
- /package/dist/server/{server → apps/api}/src/screen-time.js +0 -0
- /package/dist/server/{server → apps/api}/src/seed-demo.js +0 -0
- /package/dist/server/{server → apps/api}/src/services/calendar-runtime.js +0 -0
- /package/dist/server/{server → apps/api}/src/services/context.js +0 -0
- /package/dist/server/{server → apps/api}/src/services/dashboard.js +0 -0
- /package/dist/server/{server → apps/api}/src/services/data-management.js +0 -0
- /package/dist/server/{server → apps/api}/src/services/devrage-scanner.js +0 -0
- /package/dist/server/{server → apps/api}/src/services/devrage.js +0 -0
- /package/dist/server/{server → apps/api}/src/services/git-helper.js +0 -0
- /package/dist/server/{server → apps/api}/src/services/google-calendar-oauth-config.js +0 -0
- /package/dist/server/{server → apps/api}/src/services/insights.js +0 -0
- /package/dist/server/{server → apps/api}/src/services/legacy-wiki-markdown-import.js +0 -0
- /package/dist/server/{server → apps/api}/src/services/life-force-model.js +0 -0
- /package/dist/server/{server → apps/api}/src/services/life-force.js +0 -0
- /package/dist/server/{server → apps/api}/src/services/macos-calendar-helper.js +0 -0
- /package/dist/server/{server → apps/api}/src/services/openai-codex-oauth.js +0 -0
- /package/dist/server/{server → apps/api}/src/services/projects.js +0 -0
- /package/dist/server/{server → apps/api}/src/services/psyche.js +0 -0
- /package/dist/server/{server → apps/api}/src/services/relations.js +0 -0
- /package/dist/server/{server → apps/api}/src/services/reviews.js +0 -0
- /package/dist/server/{server → apps/api}/src/services/run-recovery.js +0 -0
- /package/dist/server/{server → apps/api}/src/services/tagging.js +0 -0
- /package/dist/server/{server → apps/api}/src/services/task-run-watchdog.js +0 -0
- /package/dist/server/{server → apps/api}/src/services/work-time.js +0 -0
- /package/dist/server/{server → apps/api}/src/web.js +0 -0
- /package/dist/server/{src → apps/web/src}/components/customization/utility-widgets.js +0 -0
- /package/dist/server/{src → apps/web/src}/components/ui/info-tooltip.js +0 -0
- /package/dist/server/{src → apps/web/src}/components/workbench-boxes/calendar/calendar-boxes.js +0 -0
- /package/dist/server/{src → apps/web/src}/components/workbench-boxes/goals/goals-boxes.js +0 -0
- /package/dist/server/{src → apps/web/src}/components/workbench-boxes/habits/habits-boxes.js +0 -0
- /package/dist/server/{src → apps/web/src}/components/workbench-boxes/health/health-boxes.js +0 -0
- /package/dist/server/{src → apps/web/src}/components/workbench-boxes/insights/insights-boxes.js +0 -0
- /package/dist/server/{src → apps/web/src}/components/workbench-boxes/kanban/kanban-boxes.js +0 -0
- /package/dist/server/{src → apps/web/src}/components/workbench-boxes/movement/movement-boxes.js +0 -0
- /package/dist/server/{src → apps/web/src}/components/workbench-boxes/notes/notes-boxes.js +0 -0
- /package/dist/server/{src → apps/web/src}/components/workbench-boxes/overview/overview-boxes.js +0 -0
- /package/dist/server/{src → apps/web/src}/components/workbench-boxes/preferences/preferences-boxes.js +0 -0
- /package/dist/server/{src → apps/web/src}/components/workbench-boxes/projects/projects-boxes.js +0 -0
- /package/dist/server/{src → apps/web/src}/components/workbench-boxes/psyche/psyche-boxes.js +0 -0
- /package/dist/server/{src → apps/web/src}/components/workbench-boxes/questionnaires/questionnaires-boxes.js +0 -0
- /package/dist/server/{src → apps/web/src}/components/workbench-boxes/review/review-boxes.js +0 -0
- /package/dist/server/{src → apps/web/src}/components/workbench-boxes/shared/define-workbench-box.js +0 -0
- /package/dist/server/{src → apps/web/src}/components/workbench-boxes/shared/generic-node-view.js +0 -0
- /package/dist/server/{src → apps/web/src}/components/workbench-boxes/strategies/strategies-boxes.js +0 -0
- /package/dist/server/{src → apps/web/src}/components/workbench-boxes/tasks/tasks-boxes.js +0 -0
- /package/dist/server/{src → apps/web/src}/components/workbench-boxes/today/today-boxes.js +0 -0
- /package/dist/server/{src → apps/web/src}/components/workbench-boxes/wiki/wiki-boxes.js +0 -0
- /package/dist/server/{src → apps/web/src}/lib/api-error.js +0 -0
- /package/dist/server/{src → apps/web/src}/lib/calendar-name-deduper.js +0 -0
- /package/dist/server/{src → apps/web/src}/lib/data-management-types.js +0 -0
- /package/dist/server/{src → apps/web/src}/lib/date-keys.js +0 -0
- /package/dist/server/{src → apps/web/src}/lib/diagnostics.js +0 -0
- /package/dist/server/{src → apps/web/src}/lib/gamification-catalog.js +0 -0
- /package/dist/server/{src → apps/web/src}/lib/knowledge-graph.js +0 -0
- /package/dist/server/{src → apps/web/src}/lib/psyche-schemas.js +0 -0
- /package/dist/server/{src → apps/web/src}/lib/psyche-types.js +0 -0
- /package/dist/server/{src → apps/web/src}/lib/questionnaire-types.js +0 -0
- /package/dist/server/{src → apps/web/src}/lib/runtime-paths.js +0 -0
- /package/dist/server/{src → apps/web/src}/lib/schemas.js +0 -0
- /package/dist/server/{src → apps/web/src}/lib/snapshot-normalizer.js +0 -0
- /package/dist/server/{src → apps/web/src}/lib/theme-system.js +0 -0
- /package/dist/server/{src → apps/web/src}/lib/types.js +0 -0
- /package/dist/server/{src → apps/web/src}/lib/utils.js +0 -0
- /package/dist/server/{src → apps/web/src}/lib/weight-loss-energy-model.js +0 -0
- /package/dist/server/{src → apps/web/src}/lib/weight-loss-types.js +0 -0
- /package/dist/server/{src → apps/web/src}/lib/workbench/boxes.js +0 -0
- /package/dist/server/{src → apps/web/src}/lib/workbench/contracts.js +0 -0
- /package/dist/server/{src → apps/web/src}/lib/workbench/nodes.js +0 -0
- /package/dist/server/{src → apps/web/src}/lib/workbench/registry.js +0 -0
- /package/dist/server/{src → apps/web/src}/lib/workbench/runtime.js +0 -0
- /package/dist/server/{src → apps/web/src}/lib/workbench/tool-catalog.js +0 -0
|
@@ -14,7 +14,7 @@ var C4=Object.defineProperty;var Ib=e=>{throw TypeError(e)};var k4=(e,t,n)=>t in
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var Hb;function R4(){if(Hb)return Me;Hb=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.activity"),v=Symbol.iterator;function S(z){return z===null||typeof z!="object"?null:(z=v&&z[v]||z["@@iterator"],typeof z=="function"?z:null)}var M={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,w={};function E(z,Q,oe){this.props=z,this.context=Q,this.refs=w,this.updater=oe||M}E.prototype.isReactComponent={},E.prototype.setState=function(z,Q){if(typeof z!="object"&&typeof z!="function"&&z!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,z,Q,"setState")},E.prototype.forceUpdate=function(z){this.updater.enqueueForceUpdate(this,z,"forceUpdate")};function A(){}A.prototype=E.prototype;function k(z,Q,oe){this.props=z,this.context=Q,this.refs=w,this.updater=oe||M}var T=k.prototype=new A;T.constructor=k,b(T,E.prototype),T.isPureReactComponent=!0;var C=Array.isArray;function O(){}var D={H:null,A:null,T:null,S:null},N=Object.prototype.hasOwnProperty;function P(z,Q,oe){var le=oe.ref;return{$$typeof:e,type:z,key:Q,ref:le!==void 0?le:null,props:oe}}function Z(z,Q){return P(z.type,Q,z.props)}function W(z){return typeof z=="object"&&z!==null&&z.$$typeof===e}function G(z){var Q={"=":"=0",":":"=2"};return"$"+z.replace(/[=:]/g,function(oe){return Q[oe]})}var ue=/\/+/g;function q(z,Q){return typeof z=="object"&&z!==null&&z.key!=null?G(""+z.key):Q.toString(36)}function re(z){switch(z.status){case"fulfilled":return z.value;case"rejected":throw z.reason;default:switch(typeof z.status=="string"?z.then(O,O):(z.status="pending",z.then(function(Q){z.status==="pending"&&(z.status="fulfilled",z.value=Q)},function(Q){z.status==="pending"&&(z.status="rejected",z.reason=Q)})),z.status){case"fulfilled":return z.value;case"rejected":throw z.reason}}throw z}function R(z,Q,oe,le,ce){var he=typeof z;(he==="undefined"||he==="boolean")&&(z=null);var ve=!1;if(z===null)ve=!0;else switch(he){case"bigint":case"string":case"number":ve=!0;break;case"object":switch(z.$$typeof){case e:case t:ve=!0;break;case p:return ve=z._init,R(ve(z._payload),Q,oe,le,ce)}}if(ve)return ce=ce(z),ve=le===""?"."+q(z,0):le,C(ce)?(oe="",ve!=null&&(oe=ve.replace(ue,"$&/")+"/"),R(ce,Q,oe,"",function(we){return we})):ce!=null&&(W(ce)&&(ce=Z(ce,oe+(ce.key==null||z&&z.key===ce.key?"":(""+ce.key).replace(ue,"$&/")+"/")+ve)),Q.push(ce)),1;ve=0;var Ae=le===""?".":le+":";if(C(z))for(var ne=0;ne<z.length;ne++)le=z[ne],he=Ae+q(le,ne),ve+=R(le,Q,oe,he,ce);else if(ne=S(z),typeof ne=="function")for(z=ne.call(z),ne=0;!(le=z.next()).done;)le=le.value,he=Ae+q(le,ne++),ve+=R(le,Q,oe,he,ce);else if(he==="object"){if(typeof z.then=="function")return R(re(z),Q,oe,le,ce);throw Q=String(z),Error("Objects are not valid as a React child (found: "+(Q==="[object Object]"?"object with keys {"+Object.keys(z).join(", ")+"}":Q)+"). If you meant to render a collection of children, use an array instead.")}return ve}function F(z,Q,oe){if(z==null)return z;var le=[],ce=0;return R(z,le,"","",function(he){return Q.call(oe,he,ce++)}),le}function ie(z){if(z._status===-1){var Q=z._result;Q=Q(),Q.then(function(oe){(z._status===0||z._status===-1)&&(z._status=1,z._result=oe)},function(oe){(z._status===0||z._status===-1)&&(z._status=2,z._result=oe)}),z._status===-1&&(z._status=0,z._result=Q)}if(z._status===1)return z._result.default;throw z._result}var se=typeof reportError=="function"?reportError:function(z){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof z=="object"&&z!==null&&typeof z.message=="string"?String(z.message):String(z),error:z});if(!window.dispatchEvent(Q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",z);return}console.error(z)},K={map:F,forEach:function(z,Q,oe){F(z,function(){Q.apply(this,arguments)},oe)},count:function(z){var Q=0;return F(z,function(){Q++}),Q},toArray:function(z){return F(z,function(Q){return Q})||[]},only:function(z){if(!W(z))throw Error("React.Children.only expected to receive a single React element child.");return z}};return Me.Activity=m,Me.Children=K,Me.Component=E,Me.Fragment=n,Me.Profiler=o,Me.PureComponent=k,Me.StrictMode=i,Me.Suspense=h,Me.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=D,Me.__COMPILER_RUNTIME={__proto__:null,c:function(z){return D.H.useMemoCache(z)}},Me.cache=function(z){return function(){return z.apply(null,arguments)}},Me.cacheSignal=function(){return null},Me.cloneElement=function(z,Q,oe){if(z==null)throw Error("The argument must be a React element, but you passed "+z+".");var le=b({},z.props),ce=z.key;if(Q!=null)for(he in Q.key!==void 0&&(ce=""+Q.key),Q)!N.call(Q,he)||he==="key"||he==="__self"||he==="__source"||he==="ref"&&Q.ref===void 0||(le[he]=Q[he]);var he=arguments.length-2;if(he===1)le.children=oe;else if(1<he){for(var ve=Array(he),Ae=0;Ae<he;Ae++)ve[Ae]=arguments[Ae+2];le.children=ve}return P(z.type,ce,le)},Me.createContext=function(z){return z={$$typeof:c,_currentValue:z,_currentValue2:z,_threadCount:0,Provider:null,Consumer:null},z.Provider=z,z.Consumer={$$typeof:u,_context:z},z},Me.createElement=function(z,Q,oe){var le,ce={},he=null;if(Q!=null)for(le in Q.key!==void 0&&(he=""+Q.key),Q)N.call(Q,le)&&le!=="key"&&le!=="__self"&&le!=="__source"&&(ce[le]=Q[le]);var ve=arguments.length-2;if(ve===1)ce.children=oe;else if(1<ve){for(var Ae=Array(ve),ne=0;ne<ve;ne++)Ae[ne]=arguments[ne+2];ce.children=Ae}if(z&&z.defaultProps)for(le in ve=z.defaultProps,ve)ce[le]===void 0&&(ce[le]=ve[le]);return P(z,he,ce)},Me.createRef=function(){return{current:null}},Me.forwardRef=function(z){return{$$typeof:f,render:z}},Me.isValidElement=W,Me.lazy=function(z){return{$$typeof:p,_payload:{_status:-1,_result:z},_init:ie}},Me.memo=function(z,Q){return{$$typeof:g,type:z,compare:Q===void 0?null:Q}},Me.startTransition=function(z){var Q=D.T,oe={};D.T=oe;try{var le=z(),ce=D.S;ce!==null&&ce(oe,le),typeof le=="object"&&le!==null&&typeof le.then=="function"&&le.then(O,se)}catch(he){se(he)}finally{Q!==null&&oe.types!==null&&(Q.types=oe.types),D.T=Q}},Me.unstable_useCacheRefresh=function(){return D.H.useCacheRefresh()},Me.use=function(z){return D.H.use(z)},Me.useActionState=function(z,Q,oe){return D.H.useActionState(z,Q,oe)},Me.useCallback=function(z,Q){return D.H.useCallback(z,Q)},Me.useContext=function(z){return D.H.useContext(z)},Me.useDebugValue=function(){},Me.useDeferredValue=function(z,Q){return D.H.useDeferredValue(z,Q)},Me.useEffect=function(z,Q){return D.H.useEffect(z,Q)},Me.useEffectEvent=function(z){return D.H.useEffectEvent(z)},Me.useId=function(){return D.H.useId()},Me.useImperativeHandle=function(z,Q,oe){return D.H.useImperativeHandle(z,Q,oe)},Me.useInsertionEffect=function(z,Q){return D.H.useInsertionEffect(z,Q)},Me.useLayoutEffect=function(z,Q){return D.H.useLayoutEffect(z,Q)},Me.useMemo=function(z,Q){return D.H.useMemo(z,Q)},Me.useOptimistic=function(z,Q){return D.H.useOptimistic(z,Q)},Me.useReducer=function(z,Q,oe){return D.H.useReducer(z,Q,oe)},Me.useRef=function(z){return D.H.useRef(z)},Me.useState=function(z){return D.H.useState(z)},Me.useSyncExternalStore=function(z,Q,oe){return D.H.useSyncExternalStore(z,Q,oe)},Me.useTransition=function(){return D.H.useTransition()},Me.version="19.2.4",Me}var Bb;function Jo(){return Bb||(Bb=1,ug.exports=R4()),ug.exports}var U=Jo();const x1=Zt(U),
|
|
17
|
+
*/var Hb;function R4(){if(Hb)return Me;Hb=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.activity"),v=Symbol.iterator;function S(z){return z===null||typeof z!="object"?null:(z=v&&z[v]||z["@@iterator"],typeof z=="function"?z:null)}var M={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,w={};function E(z,Q,oe){this.props=z,this.context=Q,this.refs=w,this.updater=oe||M}E.prototype.isReactComponent={},E.prototype.setState=function(z,Q){if(typeof z!="object"&&typeof z!="function"&&z!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,z,Q,"setState")},E.prototype.forceUpdate=function(z){this.updater.enqueueForceUpdate(this,z,"forceUpdate")};function A(){}A.prototype=E.prototype;function k(z,Q,oe){this.props=z,this.context=Q,this.refs=w,this.updater=oe||M}var T=k.prototype=new A;T.constructor=k,b(T,E.prototype),T.isPureReactComponent=!0;var C=Array.isArray;function O(){}var D={H:null,A:null,T:null,S:null},N=Object.prototype.hasOwnProperty;function P(z,Q,oe){var le=oe.ref;return{$$typeof:e,type:z,key:Q,ref:le!==void 0?le:null,props:oe}}function Z(z,Q){return P(z.type,Q,z.props)}function W(z){return typeof z=="object"&&z!==null&&z.$$typeof===e}function G(z){var Q={"=":"=0",":":"=2"};return"$"+z.replace(/[=:]/g,function(oe){return Q[oe]})}var ue=/\/+/g;function q(z,Q){return typeof z=="object"&&z!==null&&z.key!=null?G(""+z.key):Q.toString(36)}function re(z){switch(z.status){case"fulfilled":return z.value;case"rejected":throw z.reason;default:switch(typeof z.status=="string"?z.then(O,O):(z.status="pending",z.then(function(Q){z.status==="pending"&&(z.status="fulfilled",z.value=Q)},function(Q){z.status==="pending"&&(z.status="rejected",z.reason=Q)})),z.status){case"fulfilled":return z.value;case"rejected":throw z.reason}}throw z}function R(z,Q,oe,le,ce){var he=typeof z;(he==="undefined"||he==="boolean")&&(z=null);var ve=!1;if(z===null)ve=!0;else switch(he){case"bigint":case"string":case"number":ve=!0;break;case"object":switch(z.$$typeof){case e:case t:ve=!0;break;case p:return ve=z._init,R(ve(z._payload),Q,oe,le,ce)}}if(ve)return ce=ce(z),ve=le===""?"."+q(z,0):le,C(ce)?(oe="",ve!=null&&(oe=ve.replace(ue,"$&/")+"/"),R(ce,Q,oe,"",function(we){return we})):ce!=null&&(W(ce)&&(ce=Z(ce,oe+(ce.key==null||z&&z.key===ce.key?"":(""+ce.key).replace(ue,"$&/")+"/")+ve)),Q.push(ce)),1;ve=0;var Ae=le===""?".":le+":";if(C(z))for(var ne=0;ne<z.length;ne++)le=z[ne],he=Ae+q(le,ne),ve+=R(le,Q,oe,he,ce);else if(ne=S(z),typeof ne=="function")for(z=ne.call(z),ne=0;!(le=z.next()).done;)le=le.value,he=Ae+q(le,ne++),ve+=R(le,Q,oe,he,ce);else if(he==="object"){if(typeof z.then=="function")return R(re(z),Q,oe,le,ce);throw Q=String(z),Error("Objects are not valid as a React child (found: "+(Q==="[object Object]"?"object with keys {"+Object.keys(z).join(", ")+"}":Q)+"). If you meant to render a collection of children, use an array instead.")}return ve}function F(z,Q,oe){if(z==null)return z;var le=[],ce=0;return R(z,le,"","",function(he){return Q.call(oe,he,ce++)}),le}function ie(z){if(z._status===-1){var Q=z._result;Q=Q(),Q.then(function(oe){(z._status===0||z._status===-1)&&(z._status=1,z._result=oe)},function(oe){(z._status===0||z._status===-1)&&(z._status=2,z._result=oe)}),z._status===-1&&(z._status=0,z._result=Q)}if(z._status===1)return z._result.default;throw z._result}var se=typeof reportError=="function"?reportError:function(z){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof z=="object"&&z!==null&&typeof z.message=="string"?String(z.message):String(z),error:z});if(!window.dispatchEvent(Q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",z);return}console.error(z)},K={map:F,forEach:function(z,Q,oe){F(z,function(){Q.apply(this,arguments)},oe)},count:function(z){var Q=0;return F(z,function(){Q++}),Q},toArray:function(z){return F(z,function(Q){return Q})||[]},only:function(z){if(!W(z))throw Error("React.Children.only expected to receive a single React element child.");return z}};return Me.Activity=m,Me.Children=K,Me.Component=E,Me.Fragment=n,Me.Profiler=o,Me.PureComponent=k,Me.StrictMode=i,Me.Suspense=h,Me.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=D,Me.__COMPILER_RUNTIME={__proto__:null,c:function(z){return D.H.useMemoCache(z)}},Me.cache=function(z){return function(){return z.apply(null,arguments)}},Me.cacheSignal=function(){return null},Me.cloneElement=function(z,Q,oe){if(z==null)throw Error("The argument must be a React element, but you passed "+z+".");var le=b({},z.props),ce=z.key;if(Q!=null)for(he in Q.key!==void 0&&(ce=""+Q.key),Q)!N.call(Q,he)||he==="key"||he==="__self"||he==="__source"||he==="ref"&&Q.ref===void 0||(le[he]=Q[he]);var he=arguments.length-2;if(he===1)le.children=oe;else if(1<he){for(var ve=Array(he),Ae=0;Ae<he;Ae++)ve[Ae]=arguments[Ae+2];le.children=ve}return P(z.type,ce,le)},Me.createContext=function(z){return z={$$typeof:c,_currentValue:z,_currentValue2:z,_threadCount:0,Provider:null,Consumer:null},z.Provider=z,z.Consumer={$$typeof:u,_context:z},z},Me.createElement=function(z,Q,oe){var le,ce={},he=null;if(Q!=null)for(le in Q.key!==void 0&&(he=""+Q.key),Q)N.call(Q,le)&&le!=="key"&&le!=="__self"&&le!=="__source"&&(ce[le]=Q[le]);var ve=arguments.length-2;if(ve===1)ce.children=oe;else if(1<ve){for(var Ae=Array(ve),ne=0;ne<ve;ne++)Ae[ne]=arguments[ne+2];ce.children=Ae}if(z&&z.defaultProps)for(le in ve=z.defaultProps,ve)ce[le]===void 0&&(ce[le]=ve[le]);return P(z,he,ce)},Me.createRef=function(){return{current:null}},Me.forwardRef=function(z){return{$$typeof:f,render:z}},Me.isValidElement=W,Me.lazy=function(z){return{$$typeof:p,_payload:{_status:-1,_result:z},_init:ie}},Me.memo=function(z,Q){return{$$typeof:g,type:z,compare:Q===void 0?null:Q}},Me.startTransition=function(z){var Q=D.T,oe={};D.T=oe;try{var le=z(),ce=D.S;ce!==null&&ce(oe,le),typeof le=="object"&&le!==null&&typeof le.then=="function"&&le.then(O,se)}catch(he){se(he)}finally{Q!==null&&oe.types!==null&&(Q.types=oe.types),D.T=Q}},Me.unstable_useCacheRefresh=function(){return D.H.useCacheRefresh()},Me.use=function(z){return D.H.use(z)},Me.useActionState=function(z,Q,oe){return D.H.useActionState(z,Q,oe)},Me.useCallback=function(z,Q){return D.H.useCallback(z,Q)},Me.useContext=function(z){return D.H.useContext(z)},Me.useDebugValue=function(){},Me.useDeferredValue=function(z,Q){return D.H.useDeferredValue(z,Q)},Me.useEffect=function(z,Q){return D.H.useEffect(z,Q)},Me.useEffectEvent=function(z){return D.H.useEffectEvent(z)},Me.useId=function(){return D.H.useId()},Me.useImperativeHandle=function(z,Q,oe){return D.H.useImperativeHandle(z,Q,oe)},Me.useInsertionEffect=function(z,Q){return D.H.useInsertionEffect(z,Q)},Me.useLayoutEffect=function(z,Q){return D.H.useLayoutEffect(z,Q)},Me.useMemo=function(z,Q){return D.H.useMemo(z,Q)},Me.useOptimistic=function(z,Q){return D.H.useOptimistic(z,Q)},Me.useReducer=function(z,Q,oe){return D.H.useReducer(z,Q,oe)},Me.useRef=function(z){return D.H.useRef(z)},Me.useState=function(z){return D.H.useState(z)},Me.useSyncExternalStore=function(z,Q,oe){return D.H.useSyncExternalStore(z,Q,oe)},Me.useTransition=function(){return D.H.useTransition()},Me.version="19.2.4",Me}var Bb;function Jo(){return Bb||(Bb=1,ug.exports=R4()),ug.exports}var U=Jo();const x1=Zt(U),A$=A4({__proto__:null,default:x1},[U]);var sg={exports:{}},eu={},cg={exports:{}},fg={};/**
|
|
18
18
|
* @license React
|
|
19
19
|
* scheduler.production.js
|
|
20
20
|
*
|
|
@@ -46,7 +46,7 @@ var C4=Object.defineProperty;var Ib=e=>{throw TypeError(e)};var k4=(e,t,n)=>t in
|
|
|
46
46
|
`+L[s].replace(" at new "," at ");return r.displayName&&J.includes("<anonymous>")&&(J=J.replace("<anonymous>",r.displayName)),J}while(1<=s&&0<=d);break}}}finally{xt=!1,Error.prepareStackTrace=l}return(l=r?r.displayName||r.name:"")?De(l):""}function cr(r,a){switch(r.tag){case 26:case 27:case 5:return De(r.type);case 16:return De("Lazy");case 13:return r.child!==a&&a!==null?De("Suspense Fallback"):De("Suspense");case 19:return De("SuspenseList");case 0:case 15:return Ot(r.type,!1);case 11:return Ot(r.type.render,!1);case 1:return Ot(r.type,!0);case 31:return De("Activity");default:return""}}function ol(r){try{var a="",l=null;do a+=cr(r,l),l=r,r=r.return;while(r);return a}catch(s){return`
|
|
47
47
|
Error generating stack: `+s.message+`
|
|
48
48
|
`+s.stack}}var Vf=Object.prototype.hasOwnProperty,Ff=e.unstable_scheduleCallback,Gf=e.unstable_cancelCallback,o5=e.unstable_shouldYield,l5=e.unstable_requestPaint,Jt=e.unstable_now,u5=e.unstable_getCurrentPriorityLevel,qy=e.unstable_ImmediatePriority,Uy=e.unstable_UserBlockingPriority,$u=e.unstable_NormalPriority,s5=e.unstable_LowPriority,jy=e.unstable_IdlePriority,c5=e.log,f5=e.unstable_setDisableYieldValue,ll=null,Wt=null;function Kr(r){if(typeof c5=="function"&&f5(r),Wt&&typeof Wt.setStrictMode=="function")try{Wt.setStrictMode(ll,r)}catch{}}var en=Math.clz32?Math.clz32:g5,h5=Math.log,d5=Math.LN2;function g5(r){return r>>>=0,r===0?32:31-(h5(r)/d5|0)|0}var Yu=256,Vu=262144,Fu=4194304;function Hi(r){var a=r&42;if(a!==0)return a;switch(r&-r){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return r&261888;case 262144:case 524288:case 1048576:case 2097152:return r&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return r&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return r}}function Gu(r,a,l){var s=r.pendingLanes;if(s===0)return 0;var d=0,y=r.suspendedLanes,_=r.pingedLanes;r=r.warmLanes;var x=s&134217727;return x!==0?(s=x&~y,s!==0?d=Hi(s):(_&=x,_!==0?d=Hi(_):l||(l=x&~r,l!==0&&(d=Hi(l))))):(x=s&~y,x!==0?d=Hi(x):_!==0?d=Hi(_):l||(l=s&~r,l!==0&&(d=Hi(l)))),d===0?0:a!==0&&a!==d&&(a&y)===0&&(y=d&-d,l=a&-a,y>=l||y===32&&(l&4194048)!==0)?a:d}function ul(r,a){return(r.pendingLanes&~(r.suspendedLanes&~r.pingedLanes)&a)===0}function p5(r,a){switch(r){case 1:case 2:case 4:case 8:case 64:return a+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Hy(){var r=Fu;return Fu<<=1,(Fu&62914560)===0&&(Fu=4194304),r}function Qf(r){for(var a=[],l=0;31>l;l++)a.push(r);return a}function sl(r,a){r.pendingLanes|=a,a!==268435456&&(r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0)}function y5(r,a,l,s,d,y){var _=r.pendingLanes;r.pendingLanes=l,r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0,r.expiredLanes&=l,r.entangledLanes&=l,r.errorRecoveryDisabledLanes&=l,r.shellSuspendCounter=0;var x=r.entanglements,L=r.expirationTimes,Y=r.hiddenUpdates;for(l=_&~l;0<l;){var J=31-en(l),te=1<<J;x[J]=0,L[J]=-1;var V=Y[J];if(V!==null)for(Y[J]=null,J=0;J<V.length;J++){var X=V[J];X!==null&&(X.lane&=-536870913)}l&=~te}s!==0&&By(r,s,0),y!==0&&d===0&&r.tag!==0&&(r.suspendedLanes|=y&~(_&~a))}function By(r,a,l){r.pendingLanes|=a,r.suspendedLanes&=~a;var s=31-en(a);r.entangledLanes|=a,r.entanglements[s]=r.entanglements[s]|1073741824|l&261930}function Py(r,a){var l=r.entangledLanes|=a;for(r=r.entanglements;l;){var s=31-en(l),d=1<<s;d&a|r[s]&a&&(r[s]|=a),l&=~d}}function $y(r,a){var l=a&-a;return l=(l&42)!==0?1:Xf(l),(l&(r.suspendedLanes|a))!==0?0:l}function Xf(r){switch(r){case 2:r=1;break;case 8:r=4;break;case 32:r=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:r=128;break;case 268435456:r=134217728;break;default:r=0}return r}function Kf(r){return r&=-r,2<r?8<r?(r&134217727)!==0?32:268435456:8:2}function Yy(){var r=F.p;return r!==0?r:(r=window.event,r===void 0?32:kb(r.type))}function Vy(r,a){var l=F.p;try{return F.p=r,a()}finally{F.p=l}}var Zr=Math.random().toString(36).slice(2),Ct="__reactFiber$"+Zr,Bt="__reactProps$"+Zr,Ia="__reactContainer$"+Zr,Zf="__reactEvents$"+Zr,m5="__reactListeners$"+Zr,v5="__reactHandles$"+Zr,Fy="__reactResources$"+Zr,cl="__reactMarker$"+Zr;function Jf(r){delete r[Ct],delete r[Bt],delete r[Zf],delete r[m5],delete r[v5]}function qa(r){var a=r[Ct];if(a)return a;for(var l=r.parentNode;l;){if(a=l[Ia]||l[Ct]){if(l=a.alternate,a.child!==null||l!==null&&l.child!==null)for(r=db(r);r!==null;){if(l=r[Ct])return l;r=db(r)}return a}r=l,l=r.parentNode}return null}function Ua(r){if(r=r[Ct]||r[Ia]){var a=r.tag;if(a===5||a===6||a===13||a===31||a===26||a===27||a===3)return r}return null}function fl(r){var a=r.tag;if(a===5||a===26||a===27||a===6)return r.stateNode;throw Error(i(33))}function ja(r){var a=r[Fy];return a||(a=r[Fy]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function St(r){r[cl]=!0}var Gy=new Set,Qy={};function Bi(r,a){Ha(r,a),Ha(r+"Capture",a)}function Ha(r,a){for(Qy[r]=a,r=0;r<a.length;r++)Gy.add(a[r])}var b5=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Xy={},Ky={};function S5(r){return Vf.call(Ky,r)?!0:Vf.call(Xy,r)?!1:b5.test(r)?Ky[r]=!0:(Xy[r]=!0,!1)}function Qu(r,a,l){if(S5(a))if(l===null)r.removeAttribute(a);else{switch(typeof l){case"undefined":case"function":case"symbol":r.removeAttribute(a);return;case"boolean":var s=a.toLowerCase().slice(0,5);if(s!=="data-"&&s!=="aria-"){r.removeAttribute(a);return}}r.setAttribute(a,""+l)}}function Xu(r,a,l){if(l===null)r.removeAttribute(a);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(a);return}r.setAttribute(a,""+l)}}function fr(r,a,l,s){if(s===null)r.removeAttribute(l);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(l);return}r.setAttributeNS(a,l,""+s)}}function pn(r){switch(typeof r){case"bigint":case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function Zy(r){var a=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function _5(r,a,l){var s=Object.getOwnPropertyDescriptor(r.constructor.prototype,a);if(!r.hasOwnProperty(a)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var d=s.get,y=s.set;return Object.defineProperty(r,a,{configurable:!0,get:function(){return d.call(this)},set:function(_){l=""+_,y.call(this,_)}}),Object.defineProperty(r,a,{enumerable:s.enumerable}),{getValue:function(){return l},setValue:function(_){l=""+_},stopTracking:function(){r._valueTracker=null,delete r[a]}}}}function Wf(r){if(!r._valueTracker){var a=Zy(r)?"checked":"value";r._valueTracker=_5(r,a,""+r[a])}}function Jy(r){if(!r)return!1;var a=r._valueTracker;if(!a)return!0;var l=a.getValue(),s="";return r&&(s=Zy(r)?r.checked?"true":"false":r.value),r=s,r!==l?(a.setValue(r),!0):!1}function Ku(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}var w5=/[\n"\\]/g;function yn(r){return r.replace(w5,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function eh(r,a,l,s,d,y,_,x){r.name="",_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"?r.type=_:r.removeAttribute("type"),a!=null?_==="number"?(a===0&&r.value===""||r.value!=a)&&(r.value=""+pn(a)):r.value!==""+pn(a)&&(r.value=""+pn(a)):_!=="submit"&&_!=="reset"||r.removeAttribute("value"),a!=null?th(r,_,pn(a)):l!=null?th(r,_,pn(l)):s!=null&&r.removeAttribute("value"),d==null&&y!=null&&(r.defaultChecked=!!y),d!=null&&(r.checked=d&&typeof d!="function"&&typeof d!="symbol"),x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?r.name=""+pn(x):r.removeAttribute("name")}function Wy(r,a,l,s,d,y,_,x){if(y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"&&(r.type=y),a!=null||l!=null){if(!(y!=="submit"&&y!=="reset"||a!=null)){Wf(r);return}l=l!=null?""+pn(l):"",a=a!=null?""+pn(a):l,x||a===r.value||(r.value=a),r.defaultValue=a}s=s??d,s=typeof s!="function"&&typeof s!="symbol"&&!!s,r.checked=x?r.checked:!!s,r.defaultChecked=!!s,_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"&&(r.name=_),Wf(r)}function th(r,a,l){a==="number"&&Ku(r.ownerDocument)===r||r.defaultValue===""+l||(r.defaultValue=""+l)}function Ba(r,a,l,s){if(r=r.options,a){a={};for(var d=0;d<l.length;d++)a["$"+l[d]]=!0;for(l=0;l<r.length;l++)d=a.hasOwnProperty("$"+r[l].value),r[l].selected!==d&&(r[l].selected=d),d&&s&&(r[l].defaultSelected=!0)}else{for(l=""+pn(l),a=null,d=0;d<r.length;d++){if(r[d].value===l){r[d].selected=!0,s&&(r[d].defaultSelected=!0);return}a!==null||r[d].disabled||(a=r[d])}a!==null&&(a.selected=!0)}}function em(r,a,l){if(a!=null&&(a=""+pn(a),a!==r.value&&(r.value=a),l==null)){r.defaultValue!==a&&(r.defaultValue=a);return}r.defaultValue=l!=null?""+pn(l):""}function tm(r,a,l,s){if(a==null){if(s!=null){if(l!=null)throw Error(i(92));if(re(s)){if(1<s.length)throw Error(i(93));s=s[0]}l=s}l==null&&(l=""),a=l}l=pn(a),r.defaultValue=l,s=r.textContent,s===l&&s!==""&&s!==null&&(r.value=s),Wf(r)}function Pa(r,a){if(a){var l=r.firstChild;if(l&&l===r.lastChild&&l.nodeType===3){l.nodeValue=a;return}}r.textContent=a}var M5=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function nm(r,a,l){var s=a.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?s?r.setProperty(a,""):a==="float"?r.cssFloat="":r[a]="":s?r.setProperty(a,l):typeof l!="number"||l===0||M5.has(a)?a==="float"?r.cssFloat=l:r[a]=(""+l).trim():r[a]=l+"px"}function rm(r,a,l){if(a!=null&&typeof a!="object")throw Error(i(62));if(r=r.style,l!=null){for(var s in l)!l.hasOwnProperty(s)||a!=null&&a.hasOwnProperty(s)||(s.indexOf("--")===0?r.setProperty(s,""):s==="float"?r.cssFloat="":r[s]="");for(var d in a)s=a[d],a.hasOwnProperty(d)&&l[d]!==s&&nm(r,d,s)}else for(var y in a)a.hasOwnProperty(y)&&nm(r,y,a[y])}function nh(r){if(r.indexOf("-")===-1)return!1;switch(r){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var T5=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),E5=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Zu(r){return E5.test(""+r)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":r}function hr(){}var rh=null;function ih(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var $a=null,Ya=null;function im(r){var a=Ua(r);if(a&&(r=a.stateNode)){var l=r[Bt]||null;e:switch(r=a.stateNode,a.type){case"input":if(eh(r,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),a=l.name,l.type==="radio"&&a!=null){for(l=r;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+yn(""+a)+'"][type="radio"]'),a=0;a<l.length;a++){var s=l[a];if(s!==r&&s.form===r.form){var d=s[Bt]||null;if(!d)throw Error(i(90));eh(s,d.value,d.defaultValue,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name)}}for(a=0;a<l.length;a++)s=l[a],s.form===r.form&&Jy(s)}break e;case"textarea":em(r,l.value,l.defaultValue);break e;case"select":a=l.value,a!=null&&Ba(r,!!l.multiple,a,!1)}}}var ah=!1;function am(r,a,l){if(ah)return r(a,l);ah=!0;try{var s=r(a);return s}finally{if(ah=!1,($a!==null||Ya!==null)&&(Us(),$a&&(a=$a,r=Ya,Ya=$a=null,im(a),r)))for(a=0;a<r.length;a++)im(r[a])}}function hl(r,a){var l=r.stateNode;if(l===null)return null;var s=l[Bt]||null;if(s===null)return null;l=s[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(s=!s.disabled)||(r=r.type,s=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!s;break e;default:r=!1}if(r)return null;if(l&&typeof l!="function")throw Error(i(231,a,typeof l));return l}var dr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),oh=!1;if(dr)try{var dl={};Object.defineProperty(dl,"passive",{get:function(){oh=!0}}),window.addEventListener("test",dl,dl),window.removeEventListener("test",dl,dl)}catch{oh=!1}var Jr=null,lh=null,Ju=null;function om(){if(Ju)return Ju;var r,a=lh,l=a.length,s,d="value"in Jr?Jr.value:Jr.textContent,y=d.length;for(r=0;r<l&&a[r]===d[r];r++);var _=l-r;for(s=1;s<=_&&a[l-s]===d[y-s];s++);return Ju=d.slice(r,1<s?1-s:void 0)}function Wu(r){var a=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&a===13&&(r=13)):r=a,r===10&&(r=13),32<=r||r===13?r:0}function es(){return!0}function lm(){return!1}function Pt(r){function a(l,s,d,y,_){this._reactName=l,this._targetInst=d,this.type=s,this.nativeEvent=y,this.target=_,this.currentTarget=null;for(var x in r)r.hasOwnProperty(x)&&(l=r[x],this[x]=l?l(y):y[x]);return this.isDefaultPrevented=(y.defaultPrevented!=null?y.defaultPrevented:y.returnValue===!1)?es:lm,this.isPropagationStopped=lm,this}return m(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=es)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=es)},persist:function(){},isPersistent:es}),a}var Pi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ts=Pt(Pi),gl=m({},Pi,{view:0,detail:0}),x5=Pt(gl),uh,sh,pl,ns=m({},gl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:fh,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==pl&&(pl&&r.type==="mousemove"?(uh=r.screenX-pl.screenX,sh=r.screenY-pl.screenY):sh=uh=0,pl=r),uh)},movementY:function(r){return"movementY"in r?r.movementY:sh}}),um=Pt(ns),O5=m({},ns,{dataTransfer:0}),C5=Pt(O5),k5=m({},gl,{relatedTarget:0}),ch=Pt(k5),A5=m({},Pi,{animationName:0,elapsedTime:0,pseudoElement:0}),D5=Pt(A5),N5=m({},Pi,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),R5=Pt(N5),z5=m({},Pi,{data:0}),sm=Pt(z5),L5={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},I5={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},q5={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function U5(r){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(r):(r=q5[r])?!!a[r]:!1}function fh(){return U5}var j5=m({},gl,{key:function(r){if(r.key){var a=L5[r.key]||r.key;if(a!=="Unidentified")return a}return r.type==="keypress"?(r=Wu(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?I5[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:fh,charCode:function(r){return r.type==="keypress"?Wu(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?Wu(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),H5=Pt(j5),B5=m({},ns,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),cm=Pt(B5),P5=m({},gl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:fh}),$5=Pt(P5),Y5=m({},Pi,{propertyName:0,elapsedTime:0,pseudoElement:0}),V5=Pt(Y5),F5=m({},ns,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),G5=Pt(F5),Q5=m({},Pi,{newState:0,oldState:0}),X5=Pt(Q5),K5=[9,13,27,32],hh=dr&&"CompositionEvent"in window,yl=null;dr&&"documentMode"in document&&(yl=document.documentMode);var Z5=dr&&"TextEvent"in window&&!yl,fm=dr&&(!hh||yl&&8<yl&&11>=yl),hm=" ",dm=!1;function gm(r,a){switch(r){case"keyup":return K5.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function pm(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var Va=!1;function J5(r,a){switch(r){case"compositionend":return pm(a);case"keypress":return a.which!==32?null:(dm=!0,hm);case"textInput":return r=a.data,r===hm&&dm?null:r;default:return null}}function W5(r,a){if(Va)return r==="compositionend"||!hh&&gm(r,a)?(r=om(),Ju=lh=Jr=null,Va=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return fm&&a.locale!=="ko"?null:a.data;default:return null}}var eO={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function ym(r){var a=r&&r.nodeName&&r.nodeName.toLowerCase();return a==="input"?!!eO[r.type]:a==="textarea"}function mm(r,a,l,s){$a?Ya?Ya.push(s):Ya=[s]:$a=s,a=Vs(a,"onChange"),0<a.length&&(l=new ts("onChange","change",null,l,s),r.push({event:l,listeners:a}))}var ml=null,vl=null;function tO(r){W2(r,0)}function rs(r){var a=fl(r);if(Jy(a))return r}function vm(r,a){if(r==="change")return a}var bm=!1;if(dr){var dh;if(dr){var gh="oninput"in document;if(!gh){var Sm=document.createElement("div");Sm.setAttribute("oninput","return;"),gh=typeof Sm.oninput=="function"}dh=gh}else dh=!1;bm=dh&&(!document.documentMode||9<document.documentMode)}function _m(){ml&&(ml.detachEvent("onpropertychange",wm),vl=ml=null)}function wm(r){if(r.propertyName==="value"&&rs(vl)){var a=[];mm(a,vl,r,ih(r)),am(tO,a)}}function nO(r,a,l){r==="focusin"?(_m(),ml=a,vl=l,ml.attachEvent("onpropertychange",wm)):r==="focusout"&&_m()}function rO(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return rs(vl)}function iO(r,a){if(r==="click")return rs(a)}function aO(r,a){if(r==="input"||r==="change")return rs(a)}function oO(r,a){return r===a&&(r!==0||1/r===1/a)||r!==r&&a!==a}var tn=typeof Object.is=="function"?Object.is:oO;function bl(r,a){if(tn(r,a))return!0;if(typeof r!="object"||r===null||typeof a!="object"||a===null)return!1;var l=Object.keys(r),s=Object.keys(a);if(l.length!==s.length)return!1;for(s=0;s<l.length;s++){var d=l[s];if(!Vf.call(a,d)||!tn(r[d],a[d]))return!1}return!0}function Mm(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function Tm(r,a){var l=Mm(r);r=0;for(var s;l;){if(l.nodeType===3){if(s=r+l.textContent.length,r<=a&&s>=a)return{node:l,offset:a-r};r=s}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Mm(l)}}function Em(r,a){return r&&a?r===a?!0:r&&r.nodeType===3?!1:a&&a.nodeType===3?Em(r,a.parentNode):"contains"in r?r.contains(a):r.compareDocumentPosition?!!(r.compareDocumentPosition(a)&16):!1:!1}function xm(r){r=r!=null&&r.ownerDocument!=null&&r.ownerDocument.defaultView!=null?r.ownerDocument.defaultView:window;for(var a=Ku(r.document);a instanceof r.HTMLIFrameElement;){try{var l=typeof a.contentWindow.location.href=="string"}catch{l=!1}if(l)r=a.contentWindow;else break;a=Ku(r.document)}return a}function ph(r){var a=r&&r.nodeName&&r.nodeName.toLowerCase();return a&&(a==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||a==="textarea"||r.contentEditable==="true")}var lO=dr&&"documentMode"in document&&11>=document.documentMode,Fa=null,yh=null,Sl=null,mh=!1;function Om(r,a,l){var s=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;mh||Fa==null||Fa!==Ku(s)||(s=Fa,"selectionStart"in s&&ph(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),Sl&&bl(Sl,s)||(Sl=s,s=Vs(yh,"onSelect"),0<s.length&&(a=new ts("onSelect","select",null,a,l),r.push({event:a,listeners:s}),a.target=Fa)))}function $i(r,a){var l={};return l[r.toLowerCase()]=a.toLowerCase(),l["Webkit"+r]="webkit"+a,l["Moz"+r]="moz"+a,l}var Ga={animationend:$i("Animation","AnimationEnd"),animationiteration:$i("Animation","AnimationIteration"),animationstart:$i("Animation","AnimationStart"),transitionrun:$i("Transition","TransitionRun"),transitionstart:$i("Transition","TransitionStart"),transitioncancel:$i("Transition","TransitionCancel"),transitionend:$i("Transition","TransitionEnd")},vh={},Cm={};dr&&(Cm=document.createElement("div").style,"AnimationEvent"in window||(delete Ga.animationend.animation,delete Ga.animationiteration.animation,delete Ga.animationstart.animation),"TransitionEvent"in window||delete Ga.transitionend.transition);function Yi(r){if(vh[r])return vh[r];if(!Ga[r])return r;var a=Ga[r],l;for(l in a)if(a.hasOwnProperty(l)&&l in Cm)return vh[r]=a[l];return r}var km=Yi("animationend"),Am=Yi("animationiteration"),Dm=Yi("animationstart"),uO=Yi("transitionrun"),sO=Yi("transitionstart"),cO=Yi("transitioncancel"),Nm=Yi("transitionend"),Rm=new Map,bh="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");bh.push("scrollEnd");function Un(r,a){Rm.set(r,a),Bi(a,[r])}var is=typeof reportError=="function"?reportError:function(r){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof r=="object"&&r!==null&&typeof r.message=="string"?String(r.message):String(r),error:r});if(!window.dispatchEvent(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",r);return}console.error(r)},mn=[],Qa=0,Sh=0;function as(){for(var r=Qa,a=Sh=Qa=0;a<r;){var l=mn[a];mn[a++]=null;var s=mn[a];mn[a++]=null;var d=mn[a];mn[a++]=null;var y=mn[a];if(mn[a++]=null,s!==null&&d!==null){var _=s.pending;_===null?d.next=d:(d.next=_.next,_.next=d),s.pending=d}y!==0&&zm(l,d,y)}}function os(r,a,l,s){mn[Qa++]=r,mn[Qa++]=a,mn[Qa++]=l,mn[Qa++]=s,Sh|=s,r.lanes|=s,r=r.alternate,r!==null&&(r.lanes|=s)}function _h(r,a,l,s){return os(r,a,l,s),ls(r)}function Vi(r,a){return os(r,null,null,a),ls(r)}function zm(r,a,l){r.lanes|=l;var s=r.alternate;s!==null&&(s.lanes|=l);for(var d=!1,y=r.return;y!==null;)y.childLanes|=l,s=y.alternate,s!==null&&(s.childLanes|=l),y.tag===22&&(r=y.stateNode,r===null||r._visibility&1||(d=!0)),r=y,y=y.return;return r.tag===3?(y=r.stateNode,d&&a!==null&&(d=31-en(l),r=y.hiddenUpdates,s=r[d],s===null?r[d]=[a]:s.push(a),a.lane=l|536870912),y):null}function ls(r){if(50<Pl)throw Pl=0,Ad=null,Error(i(185));for(var a=r.return;a!==null;)r=a,a=r.return;return r.tag===3?r.stateNode:null}var Xa={};function fO(r,a,l,s){this.tag=r,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function nn(r,a,l,s){return new fO(r,a,l,s)}function wh(r){return r=r.prototype,!(!r||!r.isReactComponent)}function gr(r,a){var l=r.alternate;return l===null?(l=nn(r.tag,a,r.key,r.mode),l.elementType=r.elementType,l.type=r.type,l.stateNode=r.stateNode,l.alternate=r,r.alternate=l):(l.pendingProps=a,l.type=r.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=r.flags&65011712,l.childLanes=r.childLanes,l.lanes=r.lanes,l.child=r.child,l.memoizedProps=r.memoizedProps,l.memoizedState=r.memoizedState,l.updateQueue=r.updateQueue,a=r.dependencies,l.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},l.sibling=r.sibling,l.index=r.index,l.ref=r.ref,l.refCleanup=r.refCleanup,l}function Lm(r,a){r.flags&=65011714;var l=r.alternate;return l===null?(r.childLanes=0,r.lanes=a,r.child=null,r.subtreeFlags=0,r.memoizedProps=null,r.memoizedState=null,r.updateQueue=null,r.dependencies=null,r.stateNode=null):(r.childLanes=l.childLanes,r.lanes=l.lanes,r.child=l.child,r.subtreeFlags=0,r.deletions=null,r.memoizedProps=l.memoizedProps,r.memoizedState=l.memoizedState,r.updateQueue=l.updateQueue,r.type=l.type,a=l.dependencies,r.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),r}function us(r,a,l,s,d,y){var _=0;if(s=r,typeof r=="function")wh(r)&&(_=1);else if(typeof r=="string")_=y4(r,l,le.current)?26:r==="html"||r==="head"||r==="body"?27:5;else e:switch(r){case P:return r=nn(31,l,a,d),r.elementType=P,r.lanes=y,r;case b:return Fi(l.children,d,y,a);case w:_=8,d|=24;break;case E:return r=nn(12,l,a,d|2),r.elementType=E,r.lanes=y,r;case C:return r=nn(13,l,a,d),r.elementType=C,r.lanes=y,r;case O:return r=nn(19,l,a,d),r.elementType=O,r.lanes=y,r;default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case k:_=10;break e;case A:_=9;break e;case T:_=11;break e;case D:_=14;break e;case N:_=16,s=null;break e}_=29,l=Error(i(130,r===null?"null":typeof r,"")),s=null}return a=nn(_,l,a,d),a.elementType=r,a.type=s,a.lanes=y,a}function Fi(r,a,l,s){return r=nn(7,r,s,a),r.lanes=l,r}function Mh(r,a,l){return r=nn(6,r,null,a),r.lanes=l,r}function Im(r){var a=nn(18,null,null,0);return a.stateNode=r,a}function Th(r,a,l){return a=nn(4,r.children!==null?r.children:[],r.key,a),a.lanes=l,a.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},a}var qm=new WeakMap;function vn(r,a){if(typeof r=="object"&&r!==null){var l=qm.get(r);return l!==void 0?l:(a={value:r,source:a,stack:ol(a)},qm.set(r,a),a)}return{value:r,source:a,stack:ol(a)}}var Ka=[],Za=0,ss=null,_l=0,bn=[],Sn=0,Wr=null,Zn=1,Jn="";function pr(r,a){Ka[Za++]=_l,Ka[Za++]=ss,ss=r,_l=a}function Um(r,a,l){bn[Sn++]=Zn,bn[Sn++]=Jn,bn[Sn++]=Wr,Wr=r;var s=Zn;r=Jn;var d=32-en(s)-1;s&=~(1<<d),l+=1;var y=32-en(a)+d;if(30<y){var _=d-d%5;y=(s&(1<<_)-1).toString(32),s>>=_,d-=_,Zn=1<<32-en(a)+d|l<<d|s,Jn=y+r}else Zn=1<<y|l<<d|s,Jn=r}function Eh(r){r.return!==null&&(pr(r,1),Um(r,1,0))}function xh(r){for(;r===ss;)ss=Ka[--Za],Ka[Za]=null,_l=Ka[--Za],Ka[Za]=null;for(;r===Wr;)Wr=bn[--Sn],bn[Sn]=null,Jn=bn[--Sn],bn[Sn]=null,Zn=bn[--Sn],bn[Sn]=null}function jm(r,a){bn[Sn++]=Zn,bn[Sn++]=Jn,bn[Sn++]=Wr,Zn=a.id,Jn=a.overflow,Wr=r}var kt=null,et=null,Ue=!1,ei=null,_n=!1,Oh=Error(i(519));function ti(r){var a=Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw wl(vn(a,r)),Oh}function Hm(r){var a=r.stateNode,l=r.type,s=r.memoizedProps;switch(a[Ct]=r,a[Bt]=s,l){case"dialog":ze("cancel",a),ze("close",a);break;case"iframe":case"object":case"embed":ze("load",a);break;case"video":case"audio":for(l=0;l<Yl.length;l++)ze(Yl[l],a);break;case"source":ze("error",a);break;case"img":case"image":case"link":ze("error",a),ze("load",a);break;case"details":ze("toggle",a);break;case"input":ze("invalid",a),Wy(a,s.value,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name,!0);break;case"select":ze("invalid",a);break;case"textarea":ze("invalid",a),tm(a,s.value,s.defaultValue,s.children)}l=s.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||a.textContent===""+l||s.suppressHydrationWarning===!0||rb(a.textContent,l)?(s.popover!=null&&(ze("beforetoggle",a),ze("toggle",a)),s.onScroll!=null&&ze("scroll",a),s.onScrollEnd!=null&&ze("scrollend",a),s.onClick!=null&&(a.onclick=hr),a=!0):a=!1,a||ti(r,!0)}function Bm(r){for(kt=r.return;kt;)switch(kt.tag){case 5:case 31:case 13:_n=!1;return;case 27:case 3:_n=!0;return;default:kt=kt.return}}function Ja(r){if(r!==kt)return!1;if(!Ue)return Bm(r),Ue=!0,!1;var a=r.tag,l;if((l=a!==3&&a!==27)&&((l=a===5)&&(l=r.type,l=!(l!=="form"&&l!=="button")||Vd(r.type,r.memoizedProps)),l=!l),l&&et&&ti(r),Bm(r),a===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(i(317));et=hb(r)}else if(a===31){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(i(317));et=hb(r)}else a===27?(a=et,pi(r.type)?(r=Kd,Kd=null,et=r):et=a):et=kt?Mn(r.stateNode.nextSibling):null;return!0}function Gi(){et=kt=null,Ue=!1}function Ch(){var r=ei;return r!==null&&(Ft===null?Ft=r:Ft.push.apply(Ft,r),ei=null),r}function wl(r){ei===null?ei=[r]:ei.push(r)}var kh=z(null),Qi=null,yr=null;function ni(r,a,l){oe(kh,a._currentValue),a._currentValue=l}function mr(r){r._currentValue=kh.current,Q(kh)}function Ah(r,a,l){for(;r!==null;){var s=r.alternate;if((r.childLanes&a)!==a?(r.childLanes|=a,s!==null&&(s.childLanes|=a)):s!==null&&(s.childLanes&a)!==a&&(s.childLanes|=a),r===l)break;r=r.return}}function Dh(r,a,l,s){var d=r.child;for(d!==null&&(d.return=r);d!==null;){var y=d.dependencies;if(y!==null){var _=d.child;y=y.firstContext;e:for(;y!==null;){var x=y;y=d;for(var L=0;L<a.length;L++)if(x.context===a[L]){y.lanes|=l,x=y.alternate,x!==null&&(x.lanes|=l),Ah(y.return,l,r),s||(_=null);break e}y=x.next}}else if(d.tag===18){if(_=d.return,_===null)throw Error(i(341));_.lanes|=l,y=_.alternate,y!==null&&(y.lanes|=l),Ah(_,l,r),_=null}else _=d.child;if(_!==null)_.return=d;else for(_=d;_!==null;){if(_===r){_=null;break}if(d=_.sibling,d!==null){d.return=_.return,_=d;break}_=_.return}d=_}}function Wa(r,a,l,s){r=null;for(var d=a,y=!1;d!==null;){if(!y){if((d.flags&524288)!==0)y=!0;else if((d.flags&262144)!==0)break}if(d.tag===10){var _=d.alternate;if(_===null)throw Error(i(387));if(_=_.memoizedProps,_!==null){var x=d.type;tn(d.pendingProps.value,_.value)||(r!==null?r.push(x):r=[x])}}else if(d===ve.current){if(_=d.alternate,_===null)throw Error(i(387));_.memoizedState.memoizedState!==d.memoizedState.memoizedState&&(r!==null?r.push(Xl):r=[Xl])}d=d.return}r!==null&&Dh(a,r,l,s),a.flags|=262144}function cs(r){for(r=r.firstContext;r!==null;){if(!tn(r.context._currentValue,r.memoizedValue))return!0;r=r.next}return!1}function Xi(r){Qi=r,yr=null,r=r.dependencies,r!==null&&(r.firstContext=null)}function At(r){return Pm(Qi,r)}function fs(r,a){return Qi===null&&Xi(r),Pm(r,a)}function Pm(r,a){var l=a._currentValue;if(a={context:a,memoizedValue:l,next:null},yr===null){if(r===null)throw Error(i(308));yr=a,r.dependencies={lanes:0,firstContext:a},r.flags|=524288}else yr=yr.next=a;return l}var hO=typeof AbortController<"u"?AbortController:function(){var r=[],a=this.signal={aborted:!1,addEventListener:function(l,s){r.push(s)}};this.abort=function(){a.aborted=!0,r.forEach(function(l){return l()})}},dO=e.unstable_scheduleCallback,gO=e.unstable_NormalPriority,ht={$$typeof:k,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Nh(){return{controller:new hO,data:new Map,refCount:0}}function Ml(r){r.refCount--,r.refCount===0&&dO(gO,function(){r.controller.abort()})}var Tl=null,Rh=0,eo=0,to=null;function pO(r,a){if(Tl===null){var l=Tl=[];Rh=0,eo=Id(),to={status:"pending",value:void 0,then:function(s){l.push(s)}}}return Rh++,a.then($m,$m),a}function $m(){if(--Rh===0&&Tl!==null){to!==null&&(to.status="fulfilled");var r=Tl;Tl=null,eo=0,to=null;for(var a=0;a<r.length;a++)(0,r[a])()}}function yO(r,a){var l=[],s={status:"pending",value:null,reason:null,then:function(d){l.push(d)}};return r.then(function(){s.status="fulfilled",s.value=a;for(var d=0;d<l.length;d++)(0,l[d])(a)},function(d){for(s.status="rejected",s.reason=d,d=0;d<l.length;d++)(0,l[d])(void 0)}),s}var Ym=R.S;R.S=function(r,a){O2=Jt(),typeof a=="object"&&a!==null&&typeof a.then=="function"&&pO(r,a),Ym!==null&&Ym(r,a)};var Ki=z(null);function zh(){var r=Ki.current;return r!==null?r:Ze.pooledCache}function hs(r,a){a===null?oe(Ki,Ki.current):oe(Ki,a.pool)}function Vm(){var r=zh();return r===null?null:{parent:ht._currentValue,pool:r}}var no=Error(i(460)),Lh=Error(i(474)),ds=Error(i(542)),gs={then:function(){}};function Fm(r){return r=r.status,r==="fulfilled"||r==="rejected"}function Gm(r,a,l){switch(l=r[l],l===void 0?r.push(a):l!==a&&(a.then(hr,hr),a=l),a.status){case"fulfilled":return a.value;case"rejected":throw r=a.reason,Xm(r),r;default:if(typeof a.status=="string")a.then(hr,hr);else{if(r=Ze,r!==null&&100<r.shellSuspendCounter)throw Error(i(482));r=a,r.status="pending",r.then(function(s){if(a.status==="pending"){var d=a;d.status="fulfilled",d.value=s}},function(s){if(a.status==="pending"){var d=a;d.status="rejected",d.reason=s}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw r=a.reason,Xm(r),r}throw Ji=a,no}}function Zi(r){try{var a=r._init;return a(r._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(Ji=l,no):l}}var Ji=null;function Qm(){if(Ji===null)throw Error(i(459));var r=Ji;return Ji=null,r}function Xm(r){if(r===no||r===ds)throw Error(i(483))}var ro=null,El=0;function ps(r){var a=El;return El+=1,ro===null&&(ro=[]),Gm(ro,r,a)}function xl(r,a){a=a.props.ref,r.ref=a!==void 0?a:null}function ys(r,a){throw a.$$typeof===v?Error(i(525)):(r=Object.prototype.toString.call(a),Error(i(31,r==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":r)))}function Km(r){function a(B,j){if(r){var $=B.deletions;$===null?(B.deletions=[j],B.flags|=16):$.push(j)}}function l(B,j){if(!r)return null;for(;j!==null;)a(B,j),j=j.sibling;return null}function s(B){for(var j=new Map;B!==null;)B.key!==null?j.set(B.key,B):j.set(B.index,B),B=B.sibling;return j}function d(B,j){return B=gr(B,j),B.index=0,B.sibling=null,B}function y(B,j,$){return B.index=$,r?($=B.alternate,$!==null?($=$.index,$<j?(B.flags|=67108866,j):$):(B.flags|=67108866,j)):(B.flags|=1048576,j)}function _(B){return r&&B.alternate===null&&(B.flags|=67108866),B}function x(B,j,$,ee){return j===null||j.tag!==6?(j=Mh($,B.mode,ee),j.return=B,j):(j=d(j,$),j.return=B,j)}function L(B,j,$,ee){var Se=$.type;return Se===b?J(B,j,$.props.children,ee,$.key):j!==null&&(j.elementType===Se||typeof Se=="object"&&Se!==null&&Se.$$typeof===N&&Zi(Se)===j.type)?(j=d(j,$.props),xl(j,$),j.return=B,j):(j=us($.type,$.key,$.props,null,B.mode,ee),xl(j,$),j.return=B,j)}function Y(B,j,$,ee){return j===null||j.tag!==4||j.stateNode.containerInfo!==$.containerInfo||j.stateNode.implementation!==$.implementation?(j=Th($,B.mode,ee),j.return=B,j):(j=d(j,$.children||[]),j.return=B,j)}function J(B,j,$,ee,Se){return j===null||j.tag!==7?(j=Fi($,B.mode,ee,Se),j.return=B,j):(j=d(j,$),j.return=B,j)}function te(B,j,$){if(typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint")return j=Mh(""+j,B.mode,$),j.return=B,j;if(typeof j=="object"&&j!==null){switch(j.$$typeof){case S:return $=us(j.type,j.key,j.props,null,B.mode,$),xl($,j),$.return=B,$;case M:return j=Th(j,B.mode,$),j.return=B,j;case N:return j=Zi(j),te(B,j,$)}if(re(j)||G(j))return j=Fi(j,B.mode,$,null),j.return=B,j;if(typeof j.then=="function")return te(B,ps(j),$);if(j.$$typeof===k)return te(B,fs(B,j),$);ys(B,j)}return null}function V(B,j,$,ee){var Se=j!==null?j.key:null;if(typeof $=="string"&&$!==""||typeof $=="number"||typeof $=="bigint")return Se!==null?null:x(B,j,""+$,ee);if(typeof $=="object"&&$!==null){switch($.$$typeof){case S:return $.key===Se?L(B,j,$,ee):null;case M:return $.key===Se?Y(B,j,$,ee):null;case N:return $=Zi($),V(B,j,$,ee)}if(re($)||G($))return Se!==null?null:J(B,j,$,ee,null);if(typeof $.then=="function")return V(B,j,ps($),ee);if($.$$typeof===k)return V(B,j,fs(B,$),ee);ys(B,$)}return null}function X(B,j,$,ee,Se){if(typeof ee=="string"&&ee!==""||typeof ee=="number"||typeof ee=="bigint")return B=B.get($)||null,x(j,B,""+ee,Se);if(typeof ee=="object"&&ee!==null){switch(ee.$$typeof){case S:return B=B.get(ee.key===null?$:ee.key)||null,L(j,B,ee,Se);case M:return B=B.get(ee.key===null?$:ee.key)||null,Y(j,B,ee,Se);case N:return ee=Zi(ee),X(B,j,$,ee,Se)}if(re(ee)||G(ee))return B=B.get($)||null,J(j,B,ee,Se,null);if(typeof ee.then=="function")return X(B,j,$,ps(ee),Se);if(ee.$$typeof===k)return X(B,j,$,fs(j,ee),Se);ys(j,ee)}return null}function ge(B,j,$,ee){for(var Se=null,He=null,me=j,Ce=j=0,qe=null;me!==null&&Ce<$.length;Ce++){me.index>Ce?(qe=me,me=null):qe=me.sibling;var Be=V(B,me,$[Ce],ee);if(Be===null){me===null&&(me=qe);break}r&&me&&Be.alternate===null&&a(B,me),j=y(Be,j,Ce),He===null?Se=Be:He.sibling=Be,He=Be,me=qe}if(Ce===$.length)return l(B,me),Ue&&pr(B,Ce),Se;if(me===null){for(;Ce<$.length;Ce++)me=te(B,$[Ce],ee),me!==null&&(j=y(me,j,Ce),He===null?Se=me:He.sibling=me,He=me);return Ue&&pr(B,Ce),Se}for(me=s(me);Ce<$.length;Ce++)qe=X(me,B,Ce,$[Ce],ee),qe!==null&&(r&&qe.alternate!==null&&me.delete(qe.key===null?Ce:qe.key),j=y(qe,j,Ce),He===null?Se=qe:He.sibling=qe,He=qe);return r&&me.forEach(function(Si){return a(B,Si)}),Ue&&pr(B,Ce),Se}function _e(B,j,$,ee){if($==null)throw Error(i(151));for(var Se=null,He=null,me=j,Ce=j=0,qe=null,Be=$.next();me!==null&&!Be.done;Ce++,Be=$.next()){me.index>Ce?(qe=me,me=null):qe=me.sibling;var Si=V(B,me,Be.value,ee);if(Si===null){me===null&&(me=qe);break}r&&me&&Si.alternate===null&&a(B,me),j=y(Si,j,Ce),He===null?Se=Si:He.sibling=Si,He=Si,me=qe}if(Be.done)return l(B,me),Ue&&pr(B,Ce),Se;if(me===null){for(;!Be.done;Ce++,Be=$.next())Be=te(B,Be.value,ee),Be!==null&&(j=y(Be,j,Ce),He===null?Se=Be:He.sibling=Be,He=Be);return Ue&&pr(B,Ce),Se}for(me=s(me);!Be.done;Ce++,Be=$.next())Be=X(me,B,Ce,Be.value,ee),Be!==null&&(r&&Be.alternate!==null&&me.delete(Be.key===null?Ce:Be.key),j=y(Be,j,Ce),He===null?Se=Be:He.sibling=Be,He=Be);return r&&me.forEach(function(O4){return a(B,O4)}),Ue&&pr(B,Ce),Se}function Xe(B,j,$,ee){if(typeof $=="object"&&$!==null&&$.type===b&&$.key===null&&($=$.props.children),typeof $=="object"&&$!==null){switch($.$$typeof){case S:e:{for(var Se=$.key;j!==null;){if(j.key===Se){if(Se=$.type,Se===b){if(j.tag===7){l(B,j.sibling),ee=d(j,$.props.children),ee.return=B,B=ee;break e}}else if(j.elementType===Se||typeof Se=="object"&&Se!==null&&Se.$$typeof===N&&Zi(Se)===j.type){l(B,j.sibling),ee=d(j,$.props),xl(ee,$),ee.return=B,B=ee;break e}l(B,j);break}else a(B,j);j=j.sibling}$.type===b?(ee=Fi($.props.children,B.mode,ee,$.key),ee.return=B,B=ee):(ee=us($.type,$.key,$.props,null,B.mode,ee),xl(ee,$),ee.return=B,B=ee)}return _(B);case M:e:{for(Se=$.key;j!==null;){if(j.key===Se)if(j.tag===4&&j.stateNode.containerInfo===$.containerInfo&&j.stateNode.implementation===$.implementation){l(B,j.sibling),ee=d(j,$.children||[]),ee.return=B,B=ee;break e}else{l(B,j);break}else a(B,j);j=j.sibling}ee=Th($,B.mode,ee),ee.return=B,B=ee}return _(B);case N:return $=Zi($),Xe(B,j,$,ee)}if(re($))return ge(B,j,$,ee);if(G($)){if(Se=G($),typeof Se!="function")throw Error(i(150));return $=Se.call($),_e(B,j,$,ee)}if(typeof $.then=="function")return Xe(B,j,ps($),ee);if($.$$typeof===k)return Xe(B,j,fs(B,$),ee);ys(B,$)}return typeof $=="string"&&$!==""||typeof $=="number"||typeof $=="bigint"?($=""+$,j!==null&&j.tag===6?(l(B,j.sibling),ee=d(j,$),ee.return=B,B=ee):(l(B,j),ee=Mh($,B.mode,ee),ee.return=B,B=ee),_(B)):l(B,j)}return function(B,j,$,ee){try{El=0;var Se=Xe(B,j,$,ee);return ro=null,Se}catch(me){if(me===no||me===ds)throw me;var He=nn(29,me,null,B.mode);return He.lanes=ee,He.return=B,He}finally{}}}var Wi=Km(!0),Zm=Km(!1),ri=!1;function Ih(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function qh(r,a){r=r.updateQueue,a.updateQueue===r&&(a.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,callbacks:null})}function ii(r){return{lane:r,tag:0,payload:null,callback:null,next:null}}function ai(r,a,l){var s=r.updateQueue;if(s===null)return null;if(s=s.shared,($e&2)!==0){var d=s.pending;return d===null?a.next=a:(a.next=d.next,d.next=a),s.pending=a,a=ls(r),zm(r,null,l),a}return os(r,s,a,l),ls(r)}function Ol(r,a,l){if(a=a.updateQueue,a!==null&&(a=a.shared,(l&4194048)!==0)){var s=a.lanes;s&=r.pendingLanes,l|=s,a.lanes=l,Py(r,l)}}function Uh(r,a){var l=r.updateQueue,s=r.alternate;if(s!==null&&(s=s.updateQueue,l===s)){var d=null,y=null;if(l=l.firstBaseUpdate,l!==null){do{var _={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};y===null?d=y=_:y=y.next=_,l=l.next}while(l!==null);y===null?d=y=a:y=y.next=a}else d=y=a;l={baseState:s.baseState,firstBaseUpdate:d,lastBaseUpdate:y,shared:s.shared,callbacks:s.callbacks},r.updateQueue=l;return}r=l.lastBaseUpdate,r===null?l.firstBaseUpdate=a:r.next=a,l.lastBaseUpdate=a}var jh=!1;function Cl(){if(jh){var r=to;if(r!==null)throw r}}function kl(r,a,l,s){jh=!1;var d=r.updateQueue;ri=!1;var y=d.firstBaseUpdate,_=d.lastBaseUpdate,x=d.shared.pending;if(x!==null){d.shared.pending=null;var L=x,Y=L.next;L.next=null,_===null?y=Y:_.next=Y,_=L;var J=r.alternate;J!==null&&(J=J.updateQueue,x=J.lastBaseUpdate,x!==_&&(x===null?J.firstBaseUpdate=Y:x.next=Y,J.lastBaseUpdate=L))}if(y!==null){var te=d.baseState;_=0,J=Y=L=null,x=y;do{var V=x.lane&-536870913,X=V!==x.lane;if(X?(Ie&V)===V:(s&V)===V){V!==0&&V===eo&&(jh=!0),J!==null&&(J=J.next={lane:0,tag:x.tag,payload:x.payload,callback:null,next:null});e:{var ge=r,_e=x;V=a;var Xe=l;switch(_e.tag){case 1:if(ge=_e.payload,typeof ge=="function"){te=ge.call(Xe,te,V);break e}te=ge;break e;case 3:ge.flags=ge.flags&-65537|128;case 0:if(ge=_e.payload,V=typeof ge=="function"?ge.call(Xe,te,V):ge,V==null)break e;te=m({},te,V);break e;case 2:ri=!0}}V=x.callback,V!==null&&(r.flags|=64,X&&(r.flags|=8192),X=d.callbacks,X===null?d.callbacks=[V]:X.push(V))}else X={lane:V,tag:x.tag,payload:x.payload,callback:x.callback,next:null},J===null?(Y=J=X,L=te):J=J.next=X,_|=V;if(x=x.next,x===null){if(x=d.shared.pending,x===null)break;X=x,x=X.next,X.next=null,d.lastBaseUpdate=X,d.shared.pending=null}}while(!0);J===null&&(L=te),d.baseState=L,d.firstBaseUpdate=Y,d.lastBaseUpdate=J,y===null&&(d.shared.lanes=0),ci|=_,r.lanes=_,r.memoizedState=te}}function Jm(r,a){if(typeof r!="function")throw Error(i(191,r));r.call(a)}function Wm(r,a){var l=r.callbacks;if(l!==null)for(r.callbacks=null,r=0;r<l.length;r++)Jm(l[r],a)}var io=z(null),ms=z(0);function ev(r,a){r=xr,oe(ms,r),oe(io,a),xr=r|a.baseLanes}function Hh(){oe(ms,xr),oe(io,io.current)}function Bh(){xr=ms.current,Q(io),Q(ms)}var rn=z(null),wn=null;function oi(r){var a=r.alternate;oe(ct,ct.current&1),oe(rn,r),wn===null&&(a===null||io.current!==null||a.memoizedState!==null)&&(wn=r)}function Ph(r){oe(ct,ct.current),oe(rn,r),wn===null&&(wn=r)}function tv(r){r.tag===22?(oe(ct,ct.current),oe(rn,r),wn===null&&(wn=r)):li()}function li(){oe(ct,ct.current),oe(rn,rn.current)}function an(r){Q(rn),wn===r&&(wn=null),Q(ct)}var ct=z(0);function vs(r){for(var a=r;a!==null;){if(a.tag===13){var l=a.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||Qd(l)||Xd(l)))return a}else if(a.tag===19&&(a.memoizedProps.revealOrder==="forwards"||a.memoizedProps.revealOrder==="backwards"||a.memoizedProps.revealOrder==="unstable_legacy-backwards"||a.memoizedProps.revealOrder==="together")){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===r)break;for(;a.sibling===null;){if(a.return===null||a.return===r)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var vr=0,Oe=null,Ge=null,dt=null,bs=!1,ao=!1,ea=!1,Ss=0,Al=0,oo=null,mO=0;function ot(){throw Error(i(321))}function $h(r,a){if(a===null)return!1;for(var l=0;l<a.length&&l<r.length;l++)if(!tn(r[l],a[l]))return!1;return!0}function Yh(r,a,l,s,d,y){return vr=y,Oe=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,R.H=r===null||r.memoizedState===null?Uv:ad,ea=!1,y=l(s,d),ea=!1,ao&&(y=rv(a,l,s,d)),nv(r),y}function nv(r){R.H=Rl;var a=Ge!==null&&Ge.next!==null;if(vr=0,dt=Ge=Oe=null,bs=!1,Al=0,oo=null,a)throw Error(i(300));r===null||gt||(r=r.dependencies,r!==null&&cs(r)&&(gt=!0))}function rv(r,a,l,s){Oe=r;var d=0;do{if(ao&&(oo=null),Al=0,ao=!1,25<=d)throw Error(i(301));if(d+=1,dt=Ge=null,r.updateQueue!=null){var y=r.updateQueue;y.lastEffect=null,y.events=null,y.stores=null,y.memoCache!=null&&(y.memoCache.index=0)}R.H=jv,y=a(l,s)}while(ao);return y}function vO(){var r=R.H,a=r.useState()[0];return a=typeof a.then=="function"?Dl(a):a,r=r.useState()[0],(Ge!==null?Ge.memoizedState:null)!==r&&(Oe.flags|=1024),a}function Vh(){var r=Ss!==0;return Ss=0,r}function Fh(r,a,l){a.updateQueue=r.updateQueue,a.flags&=-2053,r.lanes&=~l}function Gh(r){if(bs){for(r=r.memoizedState;r!==null;){var a=r.queue;a!==null&&(a.pending=null),r=r.next}bs=!1}vr=0,dt=Ge=Oe=null,ao=!1,Al=Ss=0,oo=null}function Ut(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return dt===null?Oe.memoizedState=dt=r:dt=dt.next=r,dt}function ft(){if(Ge===null){var r=Oe.alternate;r=r!==null?r.memoizedState:null}else r=Ge.next;var a=dt===null?Oe.memoizedState:dt.next;if(a!==null)dt=a,Ge=r;else{if(r===null)throw Oe.alternate===null?Error(i(467)):Error(i(310));Ge=r,r={memoizedState:Ge.memoizedState,baseState:Ge.baseState,baseQueue:Ge.baseQueue,queue:Ge.queue,next:null},dt===null?Oe.memoizedState=dt=r:dt=dt.next=r}return dt}function _s(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Dl(r){var a=Al;return Al+=1,oo===null&&(oo=[]),r=Gm(oo,r,a),a=Oe,(dt===null?a.memoizedState:dt.next)===null&&(a=a.alternate,R.H=a===null||a.memoizedState===null?Uv:ad),r}function ws(r){if(r!==null&&typeof r=="object"){if(typeof r.then=="function")return Dl(r);if(r.$$typeof===k)return At(r)}throw Error(i(438,String(r)))}function Qh(r){var a=null,l=Oe.updateQueue;if(l!==null&&(a=l.memoCache),a==null){var s=Oe.alternate;s!==null&&(s=s.updateQueue,s!==null&&(s=s.memoCache,s!=null&&(a={data:s.data.map(function(d){return d.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),l===null&&(l=_s(),Oe.updateQueue=l),l.memoCache=a,l=a.data[a.index],l===void 0)for(l=a.data[a.index]=Array(r),s=0;s<r;s++)l[s]=Z;return a.index++,l}function br(r,a){return typeof a=="function"?a(r):a}function Ms(r){var a=ft();return Xh(a,Ge,r)}function Xh(r,a,l){var s=r.queue;if(s===null)throw Error(i(311));s.lastRenderedReducer=l;var d=r.baseQueue,y=s.pending;if(y!==null){if(d!==null){var _=d.next;d.next=y.next,y.next=_}a.baseQueue=d=y,s.pending=null}if(y=r.baseState,d===null)r.memoizedState=y;else{a=d.next;var x=_=null,L=null,Y=a,J=!1;do{var te=Y.lane&-536870913;if(te!==Y.lane?(Ie&te)===te:(vr&te)===te){var V=Y.revertLane;if(V===0)L!==null&&(L=L.next={lane:0,revertLane:0,gesture:null,action:Y.action,hasEagerState:Y.hasEagerState,eagerState:Y.eagerState,next:null}),te===eo&&(J=!0);else if((vr&V)===V){Y=Y.next,V===eo&&(J=!0);continue}else te={lane:0,revertLane:Y.revertLane,gesture:null,action:Y.action,hasEagerState:Y.hasEagerState,eagerState:Y.eagerState,next:null},L===null?(x=L=te,_=y):L=L.next=te,Oe.lanes|=V,ci|=V;te=Y.action,ea&&l(y,te),y=Y.hasEagerState?Y.eagerState:l(y,te)}else V={lane:te,revertLane:Y.revertLane,gesture:Y.gesture,action:Y.action,hasEagerState:Y.hasEagerState,eagerState:Y.eagerState,next:null},L===null?(x=L=V,_=y):L=L.next=V,Oe.lanes|=te,ci|=te;Y=Y.next}while(Y!==null&&Y!==a);if(L===null?_=y:L.next=x,!tn(y,r.memoizedState)&&(gt=!0,J&&(l=to,l!==null)))throw l;r.memoizedState=y,r.baseState=_,r.baseQueue=L,s.lastRenderedState=y}return d===null&&(s.lanes=0),[r.memoizedState,s.dispatch]}function Kh(r){var a=ft(),l=a.queue;if(l===null)throw Error(i(311));l.lastRenderedReducer=r;var s=l.dispatch,d=l.pending,y=a.memoizedState;if(d!==null){l.pending=null;var _=d=d.next;do y=r(y,_.action),_=_.next;while(_!==d);tn(y,a.memoizedState)||(gt=!0),a.memoizedState=y,a.baseQueue===null&&(a.baseState=y),l.lastRenderedState=y}return[y,s]}function iv(r,a,l){var s=Oe,d=ft(),y=Ue;if(y){if(l===void 0)throw Error(i(407));l=l()}else l=a();var _=!tn((Ge||d).memoizedState,l);if(_&&(d.memoizedState=l,gt=!0),d=d.queue,Wh(lv.bind(null,s,d,r),[r]),d.getSnapshot!==a||_||dt!==null&&dt.memoizedState.tag&1){if(s.flags|=2048,lo(9,{destroy:void 0},ov.bind(null,s,d,l,a),null),Ze===null)throw Error(i(349));y||(vr&127)!==0||av(s,a,l)}return l}function av(r,a,l){r.flags|=16384,r={getSnapshot:a,value:l},a=Oe.updateQueue,a===null?(a=_s(),Oe.updateQueue=a,a.stores=[r]):(l=a.stores,l===null?a.stores=[r]:l.push(r))}function ov(r,a,l,s){a.value=l,a.getSnapshot=s,uv(a)&&sv(r)}function lv(r,a,l){return l(function(){uv(a)&&sv(r)})}function uv(r){var a=r.getSnapshot;r=r.value;try{var l=a();return!tn(r,l)}catch{return!0}}function sv(r){var a=Vi(r,2);a!==null&&Gt(a,r,2)}function Zh(r){var a=Ut();if(typeof r=="function"){var l=r;if(r=l(),ea){Kr(!0);try{l()}finally{Kr(!1)}}}return a.memoizedState=a.baseState=r,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:br,lastRenderedState:r},a}function cv(r,a,l,s){return r.baseState=l,Xh(r,Ge,typeof s=="function"?s:br)}function bO(r,a,l,s,d){if(xs(r))throw Error(i(485));if(r=a.action,r!==null){var y={payload:d,action:r,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(_){y.listeners.push(_)}};R.T!==null?l(!0):y.isTransition=!1,s(y),l=a.pending,l===null?(y.next=a.pending=y,fv(a,y)):(y.next=l.next,a.pending=l.next=y)}}function fv(r,a){var l=a.action,s=a.payload,d=r.state;if(a.isTransition){var y=R.T,_={};R.T=_;try{var x=l(d,s),L=R.S;L!==null&&L(_,x),hv(r,a,x)}catch(Y){Jh(r,a,Y)}finally{y!==null&&_.types!==null&&(y.types=_.types),R.T=y}}else try{y=l(d,s),hv(r,a,y)}catch(Y){Jh(r,a,Y)}}function hv(r,a,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(s){dv(r,a,s)},function(s){return Jh(r,a,s)}):dv(r,a,l)}function dv(r,a,l){a.status="fulfilled",a.value=l,gv(a),r.state=l,a=r.pending,a!==null&&(l=a.next,l===a?r.pending=null:(l=l.next,a.next=l,fv(r,l)))}function Jh(r,a,l){var s=r.pending;if(r.pending=null,s!==null){s=s.next;do a.status="rejected",a.reason=l,gv(a),a=a.next;while(a!==s)}r.action=null}function gv(r){r=r.listeners;for(var a=0;a<r.length;a++)(0,r[a])()}function pv(r,a){return a}function yv(r,a){if(Ue){var l=Ze.formState;if(l!==null){e:{var s=Oe;if(Ue){if(et){t:{for(var d=et,y=_n;d.nodeType!==8;){if(!y){d=null;break t}if(d=Mn(d.nextSibling),d===null){d=null;break t}}y=d.data,d=y==="F!"||y==="F"?d:null}if(d){et=Mn(d.nextSibling),s=d.data==="F!";break e}}ti(s)}s=!1}s&&(a=l[0])}}return l=Ut(),l.memoizedState=l.baseState=a,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:pv,lastRenderedState:a},l.queue=s,l=Lv.bind(null,Oe,s),s.dispatch=l,s=Zh(!1),y=id.bind(null,Oe,!1,s.queue),s=Ut(),d={state:a,dispatch:null,action:r,pending:null},s.queue=d,l=bO.bind(null,Oe,d,y,l),d.dispatch=l,s.memoizedState=r,[a,l,!1]}function mv(r){var a=ft();return vv(a,Ge,r)}function vv(r,a,l){if(a=Xh(r,a,pv)[0],r=Ms(br)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var s=Dl(a)}catch(_){throw _===no?ds:_}else s=a;a=ft();var d=a.queue,y=d.dispatch;return l!==a.memoizedState&&(Oe.flags|=2048,lo(9,{destroy:void 0},SO.bind(null,d,l),null)),[s,y,r]}function SO(r,a){r.action=a}function bv(r){var a=ft(),l=Ge;if(l!==null)return vv(a,l,r);ft(),a=a.memoizedState,l=ft();var s=l.queue.dispatch;return l.memoizedState=r,[a,s,!1]}function lo(r,a,l,s){return r={tag:r,create:l,deps:s,inst:a,next:null},a=Oe.updateQueue,a===null&&(a=_s(),Oe.updateQueue=a),l=a.lastEffect,l===null?a.lastEffect=r.next=r:(s=l.next,l.next=r,r.next=s,a.lastEffect=r),r}function Sv(){return ft().memoizedState}function Ts(r,a,l,s){var d=Ut();Oe.flags|=r,d.memoizedState=lo(1|a,{destroy:void 0},l,s===void 0?null:s)}function Es(r,a,l,s){var d=ft();s=s===void 0?null:s;var y=d.memoizedState.inst;Ge!==null&&s!==null&&$h(s,Ge.memoizedState.deps)?d.memoizedState=lo(a,y,l,s):(Oe.flags|=r,d.memoizedState=lo(1|a,y,l,s))}function _v(r,a){Ts(8390656,8,r,a)}function Wh(r,a){Es(2048,8,r,a)}function _O(r){Oe.flags|=4;var a=Oe.updateQueue;if(a===null)a=_s(),Oe.updateQueue=a,a.events=[r];else{var l=a.events;l===null?a.events=[r]:l.push(r)}}function wv(r){var a=ft().memoizedState;return _O({ref:a,nextImpl:r}),function(){if(($e&2)!==0)throw Error(i(440));return a.impl.apply(void 0,arguments)}}function Mv(r,a){return Es(4,2,r,a)}function Tv(r,a){return Es(4,4,r,a)}function Ev(r,a){if(typeof a=="function"){r=r();var l=a(r);return function(){typeof l=="function"?l():a(null)}}if(a!=null)return r=r(),a.current=r,function(){a.current=null}}function xv(r,a,l){l=l!=null?l.concat([r]):null,Es(4,4,Ev.bind(null,a,r),l)}function ed(){}function Ov(r,a){var l=ft();a=a===void 0?null:a;var s=l.memoizedState;return a!==null&&$h(a,s[1])?s[0]:(l.memoizedState=[r,a],r)}function Cv(r,a){var l=ft();a=a===void 0?null:a;var s=l.memoizedState;if(a!==null&&$h(a,s[1]))return s[0];if(s=r(),ea){Kr(!0);try{r()}finally{Kr(!1)}}return l.memoizedState=[s,a],s}function td(r,a,l){return l===void 0||(vr&1073741824)!==0&&(Ie&261930)===0?r.memoizedState=a:(r.memoizedState=l,r=k2(),Oe.lanes|=r,ci|=r,l)}function kv(r,a,l,s){return tn(l,a)?l:io.current!==null?(r=td(r,l,s),tn(r,a)||(gt=!0),r):(vr&42)===0||(vr&1073741824)!==0&&(Ie&261930)===0?(gt=!0,r.memoizedState=l):(r=k2(),Oe.lanes|=r,ci|=r,a)}function Av(r,a,l,s,d){var y=F.p;F.p=y!==0&&8>y?y:8;var _=R.T,x={};R.T=x,id(r,!1,a,l);try{var L=d(),Y=R.S;if(Y!==null&&Y(x,L),L!==null&&typeof L=="object"&&typeof L.then=="function"){var J=yO(L,s);Nl(r,a,J,un(r))}else Nl(r,a,s,un(r))}catch(te){Nl(r,a,{then:function(){},status:"rejected",reason:te},un())}finally{F.p=y,_!==null&&x.types!==null&&(_.types=x.types),R.T=_}}function wO(){}function nd(r,a,l,s){if(r.tag!==5)throw Error(i(476));var d=Dv(r).queue;Av(r,d,a,ie,l===null?wO:function(){return Nv(r),l(s)})}function Dv(r){var a=r.memoizedState;if(a!==null)return a;a={memoizedState:ie,baseState:ie,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:br,lastRenderedState:ie},next:null};var l={};return a.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:br,lastRenderedState:l},next:null},r.memoizedState=a,r=r.alternate,r!==null&&(r.memoizedState=a),a}function Nv(r){var a=Dv(r);a.next===null&&(a=r.alternate.memoizedState),Nl(r,a.next.queue,{},un())}function rd(){return At(Xl)}function Rv(){return ft().memoizedState}function zv(){return ft().memoizedState}function MO(r){for(var a=r.return;a!==null;){switch(a.tag){case 24:case 3:var l=un();r=ii(l);var s=ai(a,r,l);s!==null&&(Gt(s,a,l),Ol(s,a,l)),a={cache:Nh()},r.payload=a;return}a=a.return}}function TO(r,a,l){var s=un();l={lane:s,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},xs(r)?Iv(a,l):(l=_h(r,a,l,s),l!==null&&(Gt(l,r,s),qv(l,a,s)))}function Lv(r,a,l){var s=un();Nl(r,a,l,s)}function Nl(r,a,l,s){var d={lane:s,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(xs(r))Iv(a,d);else{var y=r.alternate;if(r.lanes===0&&(y===null||y.lanes===0)&&(y=a.lastRenderedReducer,y!==null))try{var _=a.lastRenderedState,x=y(_,l);if(d.hasEagerState=!0,d.eagerState=x,tn(x,_))return os(r,a,d,0),Ze===null&&as(),!1}catch{}finally{}if(l=_h(r,a,d,s),l!==null)return Gt(l,r,s),qv(l,a,s),!0}return!1}function id(r,a,l,s){if(s={lane:2,revertLane:Id(),gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},xs(r)){if(a)throw Error(i(479))}else a=_h(r,l,s,2),a!==null&&Gt(a,r,2)}function xs(r){var a=r.alternate;return r===Oe||a!==null&&a===Oe}function Iv(r,a){ao=bs=!0;var l=r.pending;l===null?a.next=a:(a.next=l.next,l.next=a),r.pending=a}function qv(r,a,l){if((l&4194048)!==0){var s=a.lanes;s&=r.pendingLanes,l|=s,a.lanes=l,Py(r,l)}}var Rl={readContext:At,use:ws,useCallback:ot,useContext:ot,useEffect:ot,useImperativeHandle:ot,useLayoutEffect:ot,useInsertionEffect:ot,useMemo:ot,useReducer:ot,useRef:ot,useState:ot,useDebugValue:ot,useDeferredValue:ot,useTransition:ot,useSyncExternalStore:ot,useId:ot,useHostTransitionStatus:ot,useFormState:ot,useActionState:ot,useOptimistic:ot,useMemoCache:ot,useCacheRefresh:ot};Rl.useEffectEvent=ot;var Uv={readContext:At,use:ws,useCallback:function(r,a){return Ut().memoizedState=[r,a===void 0?null:a],r},useContext:At,useEffect:_v,useImperativeHandle:function(r,a,l){l=l!=null?l.concat([r]):null,Ts(4194308,4,Ev.bind(null,a,r),l)},useLayoutEffect:function(r,a){return Ts(4194308,4,r,a)},useInsertionEffect:function(r,a){Ts(4,2,r,a)},useMemo:function(r,a){var l=Ut();a=a===void 0?null:a;var s=r();if(ea){Kr(!0);try{r()}finally{Kr(!1)}}return l.memoizedState=[s,a],s},useReducer:function(r,a,l){var s=Ut();if(l!==void 0){var d=l(a);if(ea){Kr(!0);try{l(a)}finally{Kr(!1)}}}else d=a;return s.memoizedState=s.baseState=d,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:d},s.queue=r,r=r.dispatch=TO.bind(null,Oe,r),[s.memoizedState,r]},useRef:function(r){var a=Ut();return r={current:r},a.memoizedState=r},useState:function(r){r=Zh(r);var a=r.queue,l=Lv.bind(null,Oe,a);return a.dispatch=l,[r.memoizedState,l]},useDebugValue:ed,useDeferredValue:function(r,a){var l=Ut();return td(l,r,a)},useTransition:function(){var r=Zh(!1);return r=Av.bind(null,Oe,r.queue,!0,!1),Ut().memoizedState=r,[!1,r]},useSyncExternalStore:function(r,a,l){var s=Oe,d=Ut();if(Ue){if(l===void 0)throw Error(i(407));l=l()}else{if(l=a(),Ze===null)throw Error(i(349));(Ie&127)!==0||av(s,a,l)}d.memoizedState=l;var y={value:l,getSnapshot:a};return d.queue=y,_v(lv.bind(null,s,y,r),[r]),s.flags|=2048,lo(9,{destroy:void 0},ov.bind(null,s,y,l,a),null),l},useId:function(){var r=Ut(),a=Ze.identifierPrefix;if(Ue){var l=Jn,s=Zn;l=(s&~(1<<32-en(s)-1)).toString(32)+l,a="_"+a+"R_"+l,l=Ss++,0<l&&(a+="H"+l.toString(32)),a+="_"}else l=mO++,a="_"+a+"r_"+l.toString(32)+"_";return r.memoizedState=a},useHostTransitionStatus:rd,useFormState:yv,useActionState:yv,useOptimistic:function(r){var a=Ut();a.memoizedState=a.baseState=r;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=l,a=id.bind(null,Oe,!0,l),l.dispatch=a,[r,a]},useMemoCache:Qh,useCacheRefresh:function(){return Ut().memoizedState=MO.bind(null,Oe)},useEffectEvent:function(r){var a=Ut(),l={impl:r};return a.memoizedState=l,function(){if(($e&2)!==0)throw Error(i(440));return l.impl.apply(void 0,arguments)}}},ad={readContext:At,use:ws,useCallback:Ov,useContext:At,useEffect:Wh,useImperativeHandle:xv,useInsertionEffect:Mv,useLayoutEffect:Tv,useMemo:Cv,useReducer:Ms,useRef:Sv,useState:function(){return Ms(br)},useDebugValue:ed,useDeferredValue:function(r,a){var l=ft();return kv(l,Ge.memoizedState,r,a)},useTransition:function(){var r=Ms(br)[0],a=ft().memoizedState;return[typeof r=="boolean"?r:Dl(r),a]},useSyncExternalStore:iv,useId:Rv,useHostTransitionStatus:rd,useFormState:mv,useActionState:mv,useOptimistic:function(r,a){var l=ft();return cv(l,Ge,r,a)},useMemoCache:Qh,useCacheRefresh:zv};ad.useEffectEvent=wv;var jv={readContext:At,use:ws,useCallback:Ov,useContext:At,useEffect:Wh,useImperativeHandle:xv,useInsertionEffect:Mv,useLayoutEffect:Tv,useMemo:Cv,useReducer:Kh,useRef:Sv,useState:function(){return Kh(br)},useDebugValue:ed,useDeferredValue:function(r,a){var l=ft();return Ge===null?td(l,r,a):kv(l,Ge.memoizedState,r,a)},useTransition:function(){var r=Kh(br)[0],a=ft().memoizedState;return[typeof r=="boolean"?r:Dl(r),a]},useSyncExternalStore:iv,useId:Rv,useHostTransitionStatus:rd,useFormState:bv,useActionState:bv,useOptimistic:function(r,a){var l=ft();return Ge!==null?cv(l,Ge,r,a):(l.baseState=r,[r,l.queue.dispatch])},useMemoCache:Qh,useCacheRefresh:zv};jv.useEffectEvent=wv;function od(r,a,l,s){a=r.memoizedState,l=l(s,a),l=l==null?a:m({},a,l),r.memoizedState=l,r.lanes===0&&(r.updateQueue.baseState=l)}var ld={enqueueSetState:function(r,a,l){r=r._reactInternals;var s=un(),d=ii(s);d.payload=a,l!=null&&(d.callback=l),a=ai(r,d,s),a!==null&&(Gt(a,r,s),Ol(a,r,s))},enqueueReplaceState:function(r,a,l){r=r._reactInternals;var s=un(),d=ii(s);d.tag=1,d.payload=a,l!=null&&(d.callback=l),a=ai(r,d,s),a!==null&&(Gt(a,r,s),Ol(a,r,s))},enqueueForceUpdate:function(r,a){r=r._reactInternals;var l=un(),s=ii(l);s.tag=2,a!=null&&(s.callback=a),a=ai(r,s,l),a!==null&&(Gt(a,r,l),Ol(a,r,l))}};function Hv(r,a,l,s,d,y,_){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(s,y,_):a.prototype&&a.prototype.isPureReactComponent?!bl(l,s)||!bl(d,y):!0}function Bv(r,a,l,s){r=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(l,s),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(l,s),a.state!==r&&ld.enqueueReplaceState(a,a.state,null)}function ta(r,a){var l=a;if("ref"in a){l={};for(var s in a)s!=="ref"&&(l[s]=a[s])}if(r=r.defaultProps){l===a&&(l=m({},l));for(var d in r)l[d]===void 0&&(l[d]=r[d])}return l}function Pv(r){is(r)}function $v(r){console.error(r)}function Yv(r){is(r)}function Os(r,a){try{var l=r.onUncaughtError;l(a.value,{componentStack:a.stack})}catch(s){setTimeout(function(){throw s})}}function Vv(r,a,l){try{var s=r.onCaughtError;s(l.value,{componentStack:l.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(d){setTimeout(function(){throw d})}}function ud(r,a,l){return l=ii(l),l.tag=3,l.payload={element:null},l.callback=function(){Os(r,a)},l}function Fv(r){return r=ii(r),r.tag=3,r}function Gv(r,a,l,s){var d=l.type.getDerivedStateFromError;if(typeof d=="function"){var y=s.value;r.payload=function(){return d(y)},r.callback=function(){Vv(a,l,s)}}var _=l.stateNode;_!==null&&typeof _.componentDidCatch=="function"&&(r.callback=function(){Vv(a,l,s),typeof d!="function"&&(fi===null?fi=new Set([this]):fi.add(this));var x=s.stack;this.componentDidCatch(s.value,{componentStack:x!==null?x:""})})}function EO(r,a,l,s,d){if(l.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){if(a=l.alternate,a!==null&&Wa(a,l,d,!0),l=rn.current,l!==null){switch(l.tag){case 31:case 13:return wn===null?js():l.alternate===null&<===0&&(lt=3),l.flags&=-257,l.flags|=65536,l.lanes=d,s===gs?l.flags|=16384:(a=l.updateQueue,a===null?l.updateQueue=new Set([s]):a.add(s),Rd(r,s,d)),!1;case 22:return l.flags|=65536,s===gs?l.flags|=16384:(a=l.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([s])},l.updateQueue=a):(l=a.retryQueue,l===null?a.retryQueue=new Set([s]):l.add(s)),Rd(r,s,d)),!1}throw Error(i(435,l.tag))}return Rd(r,s,d),js(),!1}if(Ue)return a=rn.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=d,s!==Oh&&(r=Error(i(422),{cause:s}),wl(vn(r,l)))):(s!==Oh&&(a=Error(i(423),{cause:s}),wl(vn(a,l))),r=r.current.alternate,r.flags|=65536,d&=-d,r.lanes|=d,s=vn(s,l),d=ud(r.stateNode,s,d),Uh(r,d),lt!==4&&(lt=2)),!1;var y=Error(i(520),{cause:s});if(y=vn(y,l),Bl===null?Bl=[y]:Bl.push(y),lt!==4&&(lt=2),a===null)return!0;s=vn(s,l),l=a;do{switch(l.tag){case 3:return l.flags|=65536,r=d&-d,l.lanes|=r,r=ud(l.stateNode,s,r),Uh(l,r),!1;case 1:if(a=l.type,y=l.stateNode,(l.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(fi===null||!fi.has(y))))return l.flags|=65536,d&=-d,l.lanes|=d,d=Fv(d),Gv(d,r,l,s),Uh(l,d),!1}l=l.return}while(l!==null);return!1}var sd=Error(i(461)),gt=!1;function Dt(r,a,l,s){a.child=r===null?Zm(a,null,l,s):Wi(a,r.child,l,s)}function Qv(r,a,l,s,d){l=l.render;var y=a.ref;if("ref"in s){var _={};for(var x in s)x!=="ref"&&(_[x]=s[x])}else _=s;return Xi(a),s=Yh(r,a,l,_,y,d),x=Vh(),r!==null&&!gt?(Fh(r,a,d),Sr(r,a,d)):(Ue&&x&&Eh(a),a.flags|=1,Dt(r,a,s,d),a.child)}function Xv(r,a,l,s,d){if(r===null){var y=l.type;return typeof y=="function"&&!wh(y)&&y.defaultProps===void 0&&l.compare===null?(a.tag=15,a.type=y,Kv(r,a,y,s,d)):(r=us(l.type,null,s,a,a.mode,d),r.ref=a.ref,r.return=a,a.child=r)}if(y=r.child,!md(r,d)){var _=y.memoizedProps;if(l=l.compare,l=l!==null?l:bl,l(_,s)&&r.ref===a.ref)return Sr(r,a,d)}return a.flags|=1,r=gr(y,s),r.ref=a.ref,r.return=a,a.child=r}function Kv(r,a,l,s,d){if(r!==null){var y=r.memoizedProps;if(bl(y,s)&&r.ref===a.ref)if(gt=!1,a.pendingProps=s=y,md(r,d))(r.flags&131072)!==0&&(gt=!0);else return a.lanes=r.lanes,Sr(r,a,d)}return cd(r,a,l,s,d)}function Zv(r,a,l,s){var d=s.children,y=r!==null?r.memoizedState:null;if(r===null&&a.stateNode===null&&(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),s.mode==="hidden"){if((a.flags&128)!==0){if(y=y!==null?y.baseLanes|l:l,r!==null){for(s=a.child=r.child,d=0;s!==null;)d=d|s.lanes|s.childLanes,s=s.sibling;s=d&~y}else s=0,a.child=null;return Jv(r,a,y,l,s)}if((l&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},r!==null&&hs(a,y!==null?y.cachePool:null),y!==null?ev(a,y):Hh(),tv(a);else return s=a.lanes=536870912,Jv(r,a,y!==null?y.baseLanes|l:l,l,s)}else y!==null?(hs(a,y.cachePool),ev(a,y),li(),a.memoizedState=null):(r!==null&&hs(a,null),Hh(),li());return Dt(r,a,d,l),a.child}function zl(r,a){return r!==null&&r.tag===22||a.stateNode!==null||(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.sibling}function Jv(r,a,l,s,d){var y=zh();return y=y===null?null:{parent:ht._currentValue,pool:y},a.memoizedState={baseLanes:l,cachePool:y},r!==null&&hs(a,null),Hh(),tv(a),r!==null&&Wa(r,a,s,!0),a.childLanes=d,null}function Cs(r,a){return a=As({mode:a.mode,children:a.children},r.mode),a.ref=r.ref,r.child=a,a.return=r,a}function Wv(r,a,l){return Wi(a,r.child,null,l),r=Cs(a,a.pendingProps),r.flags|=2,an(a),a.memoizedState=null,r}function xO(r,a,l){var s=a.pendingProps,d=(a.flags&128)!==0;if(a.flags&=-129,r===null){if(Ue){if(s.mode==="hidden")return r=Cs(a,s),a.lanes=536870912,zl(null,r);if(Ph(a),(r=et)?(r=fb(r,_n),r=r!==null&&r.data==="&"?r:null,r!==null&&(a.memoizedState={dehydrated:r,treeContext:Wr!==null?{id:Zn,overflow:Jn}:null,retryLane:536870912,hydrationErrors:null},l=Im(r),l.return=a,a.child=l,kt=a,et=null)):r=null,r===null)throw ti(a);return a.lanes=536870912,null}return Cs(a,s)}var y=r.memoizedState;if(y!==null){var _=y.dehydrated;if(Ph(a),d)if(a.flags&256)a.flags&=-257,a=Wv(r,a,l);else if(a.memoizedState!==null)a.child=r.child,a.flags|=128,a=null;else throw Error(i(558));else if(gt||Wa(r,a,l,!1),d=(l&r.childLanes)!==0,gt||d){if(s=Ze,s!==null&&(_=$y(s,l),_!==0&&_!==y.retryLane))throw y.retryLane=_,Vi(r,_),Gt(s,r,_),sd;js(),a=Wv(r,a,l)}else r=y.treeContext,et=Mn(_.nextSibling),kt=a,Ue=!0,ei=null,_n=!1,r!==null&&jm(a,r),a=Cs(a,s),a.flags|=4096;return a}return r=gr(r.child,{mode:s.mode,children:s.children}),r.ref=a.ref,a.child=r,r.return=a,r}function ks(r,a){var l=a.ref;if(l===null)r!==null&&r.ref!==null&&(a.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(i(284));(r===null||r.ref!==l)&&(a.flags|=4194816)}}function cd(r,a,l,s,d){return Xi(a),l=Yh(r,a,l,s,void 0,d),s=Vh(),r!==null&&!gt?(Fh(r,a,d),Sr(r,a,d)):(Ue&&s&&Eh(a),a.flags|=1,Dt(r,a,l,d),a.child)}function e2(r,a,l,s,d,y){return Xi(a),a.updateQueue=null,l=rv(a,s,l,d),nv(r),s=Vh(),r!==null&&!gt?(Fh(r,a,y),Sr(r,a,y)):(Ue&&s&&Eh(a),a.flags|=1,Dt(r,a,l,y),a.child)}function t2(r,a,l,s,d){if(Xi(a),a.stateNode===null){var y=Xa,_=l.contextType;typeof _=="object"&&_!==null&&(y=At(_)),y=new l(s,y),a.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,y.updater=ld,a.stateNode=y,y._reactInternals=a,y=a.stateNode,y.props=s,y.state=a.memoizedState,y.refs={},Ih(a),_=l.contextType,y.context=typeof _=="object"&&_!==null?At(_):Xa,y.state=a.memoizedState,_=l.getDerivedStateFromProps,typeof _=="function"&&(od(a,l,_,s),y.state=a.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof y.getSnapshotBeforeUpdate=="function"||typeof y.UNSAFE_componentWillMount!="function"&&typeof y.componentWillMount!="function"||(_=y.state,typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount(),_!==y.state&&ld.enqueueReplaceState(y,y.state,null),kl(a,s,y,d),Cl(),y.state=a.memoizedState),typeof y.componentDidMount=="function"&&(a.flags|=4194308),s=!0}else if(r===null){y=a.stateNode;var x=a.memoizedProps,L=ta(l,x);y.props=L;var Y=y.context,J=l.contextType;_=Xa,typeof J=="object"&&J!==null&&(_=At(J));var te=l.getDerivedStateFromProps;J=typeof te=="function"||typeof y.getSnapshotBeforeUpdate=="function",x=a.pendingProps!==x,J||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(x||Y!==_)&&Bv(a,y,s,_),ri=!1;var V=a.memoizedState;y.state=V,kl(a,s,y,d),Cl(),Y=a.memoizedState,x||V!==Y||ri?(typeof te=="function"&&(od(a,l,te,s),Y=a.memoizedState),(L=ri||Hv(a,l,L,s,V,Y,_))?(J||typeof y.UNSAFE_componentWillMount!="function"&&typeof y.componentWillMount!="function"||(typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount()),typeof y.componentDidMount=="function"&&(a.flags|=4194308)):(typeof y.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=s,a.memoizedState=Y),y.props=s,y.state=Y,y.context=_,s=L):(typeof y.componentDidMount=="function"&&(a.flags|=4194308),s=!1)}else{y=a.stateNode,qh(r,a),_=a.memoizedProps,J=ta(l,_),y.props=J,te=a.pendingProps,V=y.context,Y=l.contextType,L=Xa,typeof Y=="object"&&Y!==null&&(L=At(Y)),x=l.getDerivedStateFromProps,(Y=typeof x=="function"||typeof y.getSnapshotBeforeUpdate=="function")||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(_!==te||V!==L)&&Bv(a,y,s,L),ri=!1,V=a.memoizedState,y.state=V,kl(a,s,y,d),Cl();var X=a.memoizedState;_!==te||V!==X||ri||r!==null&&r.dependencies!==null&&cs(r.dependencies)?(typeof x=="function"&&(od(a,l,x,s),X=a.memoizedState),(J=ri||Hv(a,l,J,s,V,X,L)||r!==null&&r.dependencies!==null&&cs(r.dependencies))?(Y||typeof y.UNSAFE_componentWillUpdate!="function"&&typeof y.componentWillUpdate!="function"||(typeof y.componentWillUpdate=="function"&&y.componentWillUpdate(s,X,L),typeof y.UNSAFE_componentWillUpdate=="function"&&y.UNSAFE_componentWillUpdate(s,X,L)),typeof y.componentDidUpdate=="function"&&(a.flags|=4),typeof y.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof y.componentDidUpdate!="function"||_===r.memoizedProps&&V===r.memoizedState||(a.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||_===r.memoizedProps&&V===r.memoizedState||(a.flags|=1024),a.memoizedProps=s,a.memoizedState=X),y.props=s,y.state=X,y.context=L,s=J):(typeof y.componentDidUpdate!="function"||_===r.memoizedProps&&V===r.memoizedState||(a.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||_===r.memoizedProps&&V===r.memoizedState||(a.flags|=1024),s=!1)}return y=s,ks(r,a),s=(a.flags&128)!==0,y||s?(y=a.stateNode,l=s&&typeof l.getDerivedStateFromError!="function"?null:y.render(),a.flags|=1,r!==null&&s?(a.child=Wi(a,r.child,null,d),a.child=Wi(a,null,l,d)):Dt(r,a,l,d),a.memoizedState=y.state,r=a.child):r=Sr(r,a,d),r}function n2(r,a,l,s){return Gi(),a.flags|=256,Dt(r,a,l,s),a.child}var fd={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function hd(r){return{baseLanes:r,cachePool:Vm()}}function dd(r,a,l){return r=r!==null?r.childLanes&~l:0,a&&(r|=ln),r}function r2(r,a,l){var s=a.pendingProps,d=!1,y=(a.flags&128)!==0,_;if((_=y)||(_=r!==null&&r.memoizedState===null?!1:(ct.current&2)!==0),_&&(d=!0,a.flags&=-129),_=(a.flags&32)!==0,a.flags&=-33,r===null){if(Ue){if(d?oi(a):li(),(r=et)?(r=fb(r,_n),r=r!==null&&r.data!=="&"?r:null,r!==null&&(a.memoizedState={dehydrated:r,treeContext:Wr!==null?{id:Zn,overflow:Jn}:null,retryLane:536870912,hydrationErrors:null},l=Im(r),l.return=a,a.child=l,kt=a,et=null)):r=null,r===null)throw ti(a);return Xd(r)?a.lanes=32:a.lanes=536870912,null}var x=s.children;return s=s.fallback,d?(li(),d=a.mode,x=As({mode:"hidden",children:x},d),s=Fi(s,d,l,null),x.return=a,s.return=a,x.sibling=s,a.child=x,s=a.child,s.memoizedState=hd(l),s.childLanes=dd(r,_,l),a.memoizedState=fd,zl(null,s)):(oi(a),gd(a,x))}var L=r.memoizedState;if(L!==null&&(x=L.dehydrated,x!==null)){if(y)a.flags&256?(oi(a),a.flags&=-257,a=pd(r,a,l)):a.memoizedState!==null?(li(),a.child=r.child,a.flags|=128,a=null):(li(),x=s.fallback,d=a.mode,s=As({mode:"visible",children:s.children},d),x=Fi(x,d,l,null),x.flags|=2,s.return=a,x.return=a,s.sibling=x,a.child=s,Wi(a,r.child,null,l),s=a.child,s.memoizedState=hd(l),s.childLanes=dd(r,_,l),a.memoizedState=fd,a=zl(null,s));else if(oi(a),Xd(x)){if(_=x.nextSibling&&x.nextSibling.dataset,_)var Y=_.dgst;_=Y,s=Error(i(419)),s.stack="",s.digest=_,wl({value:s,source:null,stack:null}),a=pd(r,a,l)}else if(gt||Wa(r,a,l,!1),_=(l&r.childLanes)!==0,gt||_){if(_=Ze,_!==null&&(s=$y(_,l),s!==0&&s!==L.retryLane))throw L.retryLane=s,Vi(r,s),Gt(_,r,s),sd;Qd(x)||js(),a=pd(r,a,l)}else Qd(x)?(a.flags|=192,a.child=r.child,a=null):(r=L.treeContext,et=Mn(x.nextSibling),kt=a,Ue=!0,ei=null,_n=!1,r!==null&&jm(a,r),a=gd(a,s.children),a.flags|=4096);return a}return d?(li(),x=s.fallback,d=a.mode,L=r.child,Y=L.sibling,s=gr(L,{mode:"hidden",children:s.children}),s.subtreeFlags=L.subtreeFlags&65011712,Y!==null?x=gr(Y,x):(x=Fi(x,d,l,null),x.flags|=2),x.return=a,s.return=a,s.sibling=x,a.child=s,zl(null,s),s=a.child,x=r.child.memoizedState,x===null?x=hd(l):(d=x.cachePool,d!==null?(L=ht._currentValue,d=d.parent!==L?{parent:L,pool:L}:d):d=Vm(),x={baseLanes:x.baseLanes|l,cachePool:d}),s.memoizedState=x,s.childLanes=dd(r,_,l),a.memoizedState=fd,zl(r.child,s)):(oi(a),l=r.child,r=l.sibling,l=gr(l,{mode:"visible",children:s.children}),l.return=a,l.sibling=null,r!==null&&(_=a.deletions,_===null?(a.deletions=[r],a.flags|=16):_.push(r)),a.child=l,a.memoizedState=null,l)}function gd(r,a){return a=As({mode:"visible",children:a},r.mode),a.return=r,r.child=a}function As(r,a){return r=nn(22,r,null,a),r.lanes=0,r}function pd(r,a,l){return Wi(a,r.child,null,l),r=gd(a,a.pendingProps.children),r.flags|=2,a.memoizedState=null,r}function i2(r,a,l){r.lanes|=a;var s=r.alternate;s!==null&&(s.lanes|=a),Ah(r.return,a,l)}function yd(r,a,l,s,d,y){var _=r.memoizedState;_===null?r.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:s,tail:l,tailMode:d,treeForkCount:y}:(_.isBackwards=a,_.rendering=null,_.renderingStartTime=0,_.last=s,_.tail=l,_.tailMode=d,_.treeForkCount=y)}function a2(r,a,l){var s=a.pendingProps,d=s.revealOrder,y=s.tail;s=s.children;var _=ct.current,x=(_&2)!==0;if(x?(_=_&1|2,a.flags|=128):_&=1,oe(ct,_),Dt(r,a,s,l),s=Ue?_l:0,!x&&r!==null&&(r.flags&128)!==0)e:for(r=a.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&i2(r,l,a);else if(r.tag===19)i2(r,l,a);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===a)break e;for(;r.sibling===null;){if(r.return===null||r.return===a)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}switch(d){case"forwards":for(l=a.child,d=null;l!==null;)r=l.alternate,r!==null&&vs(r)===null&&(d=l),l=l.sibling;l=d,l===null?(d=a.child,a.child=null):(d=l.sibling,l.sibling=null),yd(a,!1,d,l,y,s);break;case"backwards":case"unstable_legacy-backwards":for(l=null,d=a.child,a.child=null;d!==null;){if(r=d.alternate,r!==null&&vs(r)===null){a.child=d;break}r=d.sibling,d.sibling=l,l=d,d=r}yd(a,!0,l,null,y,s);break;case"together":yd(a,!1,null,null,void 0,s);break;default:a.memoizedState=null}return a.child}function Sr(r,a,l){if(r!==null&&(a.dependencies=r.dependencies),ci|=a.lanes,(l&a.childLanes)===0)if(r!==null){if(Wa(r,a,l,!1),(l&a.childLanes)===0)return null}else return null;if(r!==null&&a.child!==r.child)throw Error(i(153));if(a.child!==null){for(r=a.child,l=gr(r,r.pendingProps),a.child=l,l.return=a;r.sibling!==null;)r=r.sibling,l=l.sibling=gr(r,r.pendingProps),l.return=a;l.sibling=null}return a.child}function md(r,a){return(r.lanes&a)!==0?!0:(r=r.dependencies,!!(r!==null&&cs(r)))}function OO(r,a,l){switch(a.tag){case 3:Ae(a,a.stateNode.containerInfo),ni(a,ht,r.memoizedState.cache),Gi();break;case 27:case 5:we(a);break;case 4:Ae(a,a.stateNode.containerInfo);break;case 10:ni(a,a.type,a.memoizedProps.value);break;case 31:if(a.memoizedState!==null)return a.flags|=128,Ph(a),null;break;case 13:var s=a.memoizedState;if(s!==null)return s.dehydrated!==null?(oi(a),a.flags|=128,null):(l&a.child.childLanes)!==0?r2(r,a,l):(oi(a),r=Sr(r,a,l),r!==null?r.sibling:null);oi(a);break;case 19:var d=(r.flags&128)!==0;if(s=(l&a.childLanes)!==0,s||(Wa(r,a,l,!1),s=(l&a.childLanes)!==0),d){if(s)return a2(r,a,l);a.flags|=128}if(d=a.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),oe(ct,ct.current),s)break;return null;case 22:return a.lanes=0,Zv(r,a,l,a.pendingProps);case 24:ni(a,ht,r.memoizedState.cache)}return Sr(r,a,l)}function o2(r,a,l){if(r!==null)if(r.memoizedProps!==a.pendingProps)gt=!0;else{if(!md(r,l)&&(a.flags&128)===0)return gt=!1,OO(r,a,l);gt=(r.flags&131072)!==0}else gt=!1,Ue&&(a.flags&1048576)!==0&&Um(a,_l,a.index);switch(a.lanes=0,a.tag){case 16:e:{var s=a.pendingProps;if(r=Zi(a.elementType),a.type=r,typeof r=="function")wh(r)?(s=ta(r,s),a.tag=1,a=t2(null,a,r,s,l)):(a.tag=0,a=cd(null,a,r,s,l));else{if(r!=null){var d=r.$$typeof;if(d===T){a.tag=11,a=Qv(null,a,r,s,l);break e}else if(d===D){a.tag=14,a=Xv(null,a,r,s,l);break e}}throw a=q(r)||r,Error(i(306,a,""))}}return a;case 0:return cd(r,a,a.type,a.pendingProps,l);case 1:return s=a.type,d=ta(s,a.pendingProps),t2(r,a,s,d,l);case 3:e:{if(Ae(a,a.stateNode.containerInfo),r===null)throw Error(i(387));s=a.pendingProps;var y=a.memoizedState;d=y.element,qh(r,a),kl(a,s,null,l);var _=a.memoizedState;if(s=_.cache,ni(a,ht,s),s!==y.cache&&Dh(a,[ht],l,!0),Cl(),s=_.element,y.isDehydrated)if(y={element:s,isDehydrated:!1,cache:_.cache},a.updateQueue.baseState=y,a.memoizedState=y,a.flags&256){a=n2(r,a,s,l);break e}else if(s!==d){d=vn(Error(i(424)),a),wl(d),a=n2(r,a,s,l);break e}else{switch(r=a.stateNode.containerInfo,r.nodeType){case 9:r=r.body;break;default:r=r.nodeName==="HTML"?r.ownerDocument.body:r}for(et=Mn(r.firstChild),kt=a,Ue=!0,ei=null,_n=!0,l=Zm(a,null,s,l),a.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(Gi(),s===d){a=Sr(r,a,l);break e}Dt(r,a,s,l)}a=a.child}return a;case 26:return ks(r,a),r===null?(l=mb(a.type,null,a.pendingProps,null))?a.memoizedState=l:Ue||(l=a.type,r=a.pendingProps,s=Fs(he.current).createElement(l),s[Ct]=a,s[Bt]=r,Nt(s,l,r),St(s),a.stateNode=s):a.memoizedState=mb(a.type,r.memoizedProps,a.pendingProps,r.memoizedState),null;case 27:return we(a),r===null&&Ue&&(s=a.stateNode=gb(a.type,a.pendingProps,he.current),kt=a,_n=!0,d=et,pi(a.type)?(Kd=d,et=Mn(s.firstChild)):et=d),Dt(r,a,a.pendingProps.children,l),ks(r,a),r===null&&(a.flags|=4194304),a.child;case 5:return r===null&&Ue&&((d=s=et)&&(s=r4(s,a.type,a.pendingProps,_n),s!==null?(a.stateNode=s,kt=a,et=Mn(s.firstChild),_n=!1,d=!0):d=!1),d||ti(a)),we(a),d=a.type,y=a.pendingProps,_=r!==null?r.memoizedProps:null,s=y.children,Vd(d,y)?s=null:_!==null&&Vd(d,_)&&(a.flags|=32),a.memoizedState!==null&&(d=Yh(r,a,vO,null,null,l),Xl._currentValue=d),ks(r,a),Dt(r,a,s,l),a.child;case 6:return r===null&&Ue&&((r=l=et)&&(l=i4(l,a.pendingProps,_n),l!==null?(a.stateNode=l,kt=a,et=null,r=!0):r=!1),r||ti(a)),null;case 13:return r2(r,a,l);case 4:return Ae(a,a.stateNode.containerInfo),s=a.pendingProps,r===null?a.child=Wi(a,null,s,l):Dt(r,a,s,l),a.child;case 11:return Qv(r,a,a.type,a.pendingProps,l);case 7:return Dt(r,a,a.pendingProps,l),a.child;case 8:return Dt(r,a,a.pendingProps.children,l),a.child;case 12:return Dt(r,a,a.pendingProps.children,l),a.child;case 10:return s=a.pendingProps,ni(a,a.type,s.value),Dt(r,a,s.children,l),a.child;case 9:return d=a.type._context,s=a.pendingProps.children,Xi(a),d=At(d),s=s(d),a.flags|=1,Dt(r,a,s,l),a.child;case 14:return Xv(r,a,a.type,a.pendingProps,l);case 15:return Kv(r,a,a.type,a.pendingProps,l);case 19:return a2(r,a,l);case 31:return xO(r,a,l);case 22:return Zv(r,a,l,a.pendingProps);case 24:return Xi(a),s=At(ht),r===null?(d=zh(),d===null&&(d=Ze,y=Nh(),d.pooledCache=y,y.refCount++,y!==null&&(d.pooledCacheLanes|=l),d=y),a.memoizedState={parent:s,cache:d},Ih(a),ni(a,ht,d)):((r.lanes&l)!==0&&(qh(r,a),kl(a,null,null,l),Cl()),d=r.memoizedState,y=a.memoizedState,d.parent!==s?(d={parent:s,cache:s},a.memoizedState=d,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=d),ni(a,ht,s)):(s=y.cache,ni(a,ht,s),s!==d.cache&&Dh(a,[ht],l,!0))),Dt(r,a,a.pendingProps.children,l),a.child;case 29:throw a.pendingProps}throw Error(i(156,a.tag))}function _r(r){r.flags|=4}function vd(r,a,l,s,d){if((a=(r.mode&32)!==0)&&(a=!1),a){if(r.flags|=16777216,(d&335544128)===d)if(r.stateNode.complete)r.flags|=8192;else if(R2())r.flags|=8192;else throw Ji=gs,Lh}else r.flags&=-16777217}function l2(r,a){if(a.type!=="stylesheet"||(a.state.loading&4)!==0)r.flags&=-16777217;else if(r.flags|=16777216,!wb(a))if(R2())r.flags|=8192;else throw Ji=gs,Lh}function Ds(r,a){a!==null&&(r.flags|=4),r.flags&16384&&(a=r.tag!==22?Hy():536870912,r.lanes|=a,fo|=a)}function Ll(r,a){if(!Ue)switch(r.tailMode){case"hidden":a=r.tail;for(var l=null;a!==null;)a.alternate!==null&&(l=a),a=a.sibling;l===null?r.tail=null:l.sibling=null;break;case"collapsed":l=r.tail;for(var s=null;l!==null;)l.alternate!==null&&(s=l),l=l.sibling;s===null?a||r.tail===null?r.tail=null:r.tail.sibling=null:s.sibling=null}}function tt(r){var a=r.alternate!==null&&r.alternate.child===r.child,l=0,s=0;if(a)for(var d=r.child;d!==null;)l|=d.lanes|d.childLanes,s|=d.subtreeFlags&65011712,s|=d.flags&65011712,d.return=r,d=d.sibling;else for(d=r.child;d!==null;)l|=d.lanes|d.childLanes,s|=d.subtreeFlags,s|=d.flags,d.return=r,d=d.sibling;return r.subtreeFlags|=s,r.childLanes=l,a}function CO(r,a,l){var s=a.pendingProps;switch(xh(a),a.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return tt(a),null;case 1:return tt(a),null;case 3:return l=a.stateNode,s=null,r!==null&&(s=r.memoizedState.cache),a.memoizedState.cache!==s&&(a.flags|=2048),mr(ht),ne(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(r===null||r.child===null)&&(Ja(a)?_r(a):r===null||r.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,Ch())),tt(a),null;case 26:var d=a.type,y=a.memoizedState;return r===null?(_r(a),y!==null?(tt(a),l2(a,y)):(tt(a),vd(a,d,null,s,l))):y?y!==r.memoizedState?(_r(a),tt(a),l2(a,y)):(tt(a),a.flags&=-16777217):(r=r.memoizedProps,r!==s&&_r(a),tt(a),vd(a,d,r,s,l)),null;case 27:if(xe(a),l=he.current,d=a.type,r!==null&&a.stateNode!=null)r.memoizedProps!==s&&_r(a);else{if(!s){if(a.stateNode===null)throw Error(i(166));return tt(a),null}r=le.current,Ja(a)?Hm(a):(r=gb(d,s,l),a.stateNode=r,_r(a))}return tt(a),null;case 5:if(xe(a),d=a.type,r!==null&&a.stateNode!=null)r.memoizedProps!==s&&_r(a);else{if(!s){if(a.stateNode===null)throw Error(i(166));return tt(a),null}if(y=le.current,Ja(a))Hm(a);else{var _=Fs(he.current);switch(y){case 1:y=_.createElementNS("http://www.w3.org/2000/svg",d);break;case 2:y=_.createElementNS("http://www.w3.org/1998/Math/MathML",d);break;default:switch(d){case"svg":y=_.createElementNS("http://www.w3.org/2000/svg",d);break;case"math":y=_.createElementNS("http://www.w3.org/1998/Math/MathML",d);break;case"script":y=_.createElement("div"),y.innerHTML="<script><\/script>",y=y.removeChild(y.firstChild);break;case"select":y=typeof s.is=="string"?_.createElement("select",{is:s.is}):_.createElement("select"),s.multiple?y.multiple=!0:s.size&&(y.size=s.size);break;default:y=typeof s.is=="string"?_.createElement(d,{is:s.is}):_.createElement(d)}}y[Ct]=a,y[Bt]=s;e:for(_=a.child;_!==null;){if(_.tag===5||_.tag===6)y.appendChild(_.stateNode);else if(_.tag!==4&&_.tag!==27&&_.child!==null){_.child.return=_,_=_.child;continue}if(_===a)break e;for(;_.sibling===null;){if(_.return===null||_.return===a)break e;_=_.return}_.sibling.return=_.return,_=_.sibling}a.stateNode=y;e:switch(Nt(y,d,s),d){case"button":case"input":case"select":case"textarea":s=!!s.autoFocus;break e;case"img":s=!0;break e;default:s=!1}s&&_r(a)}}return tt(a),vd(a,a.type,r===null?null:r.memoizedProps,a.pendingProps,l),null;case 6:if(r&&a.stateNode!=null)r.memoizedProps!==s&&_r(a);else{if(typeof s!="string"&&a.stateNode===null)throw Error(i(166));if(r=he.current,Ja(a)){if(r=a.stateNode,l=a.memoizedProps,s=null,d=kt,d!==null)switch(d.tag){case 27:case 5:s=d.memoizedProps}r[Ct]=a,r=!!(r.nodeValue===l||s!==null&&s.suppressHydrationWarning===!0||rb(r.nodeValue,l)),r||ti(a,!0)}else r=Fs(r).createTextNode(s),r[Ct]=a,a.stateNode=r}return tt(a),null;case 31:if(l=a.memoizedState,r===null||r.memoizedState!==null){if(s=Ja(a),l!==null){if(r===null){if(!s)throw Error(i(318));if(r=a.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(i(557));r[Ct]=a}else Gi(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;tt(a),r=!1}else l=Ch(),r!==null&&r.memoizedState!==null&&(r.memoizedState.hydrationErrors=l),r=!0;if(!r)return a.flags&256?(an(a),a):(an(a),null);if((a.flags&128)!==0)throw Error(i(558))}return tt(a),null;case 13:if(s=a.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(d=Ja(a),s!==null&&s.dehydrated!==null){if(r===null){if(!d)throw Error(i(318));if(d=a.memoizedState,d=d!==null?d.dehydrated:null,!d)throw Error(i(317));d[Ct]=a}else Gi(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;tt(a),d=!1}else d=Ch(),r!==null&&r.memoizedState!==null&&(r.memoizedState.hydrationErrors=d),d=!0;if(!d)return a.flags&256?(an(a),a):(an(a),null)}return an(a),(a.flags&128)!==0?(a.lanes=l,a):(l=s!==null,r=r!==null&&r.memoizedState!==null,l&&(s=a.child,d=null,s.alternate!==null&&s.alternate.memoizedState!==null&&s.alternate.memoizedState.cachePool!==null&&(d=s.alternate.memoizedState.cachePool.pool),y=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(y=s.memoizedState.cachePool.pool),y!==d&&(s.flags|=2048)),l!==r&&l&&(a.child.flags|=8192),Ds(a,a.updateQueue),tt(a),null);case 4:return ne(),r===null&&Hd(a.stateNode.containerInfo),tt(a),null;case 10:return mr(a.type),tt(a),null;case 19:if(Q(ct),s=a.memoizedState,s===null)return tt(a),null;if(d=(a.flags&128)!==0,y=s.rendering,y===null)if(d)Ll(s,!1);else{if(lt!==0||r!==null&&(r.flags&128)!==0)for(r=a.child;r!==null;){if(y=vs(r),y!==null){for(a.flags|=128,Ll(s,!1),r=y.updateQueue,a.updateQueue=r,Ds(a,r),a.subtreeFlags=0,r=l,l=a.child;l!==null;)Lm(l,r),l=l.sibling;return oe(ct,ct.current&1|2),Ue&&pr(a,s.treeForkCount),a.child}r=r.sibling}s.tail!==null&&Jt()>Is&&(a.flags|=128,d=!0,Ll(s,!1),a.lanes=4194304)}else{if(!d)if(r=vs(y),r!==null){if(a.flags|=128,d=!0,r=r.updateQueue,a.updateQueue=r,Ds(a,r),Ll(s,!0),s.tail===null&&s.tailMode==="hidden"&&!y.alternate&&!Ue)return tt(a),null}else 2*Jt()-s.renderingStartTime>Is&&l!==536870912&&(a.flags|=128,d=!0,Ll(s,!1),a.lanes=4194304);s.isBackwards?(y.sibling=a.child,a.child=y):(r=s.last,r!==null?r.sibling=y:a.child=y,s.last=y)}return s.tail!==null?(r=s.tail,s.rendering=r,s.tail=r.sibling,s.renderingStartTime=Jt(),r.sibling=null,l=ct.current,oe(ct,d?l&1|2:l&1),Ue&&pr(a,s.treeForkCount),r):(tt(a),null);case 22:case 23:return an(a),Bh(),s=a.memoizedState!==null,r!==null?r.memoizedState!==null!==s&&(a.flags|=8192):s&&(a.flags|=8192),s?(l&536870912)!==0&&(a.flags&128)===0&&(tt(a),a.subtreeFlags&6&&(a.flags|=8192)):tt(a),l=a.updateQueue,l!==null&&Ds(a,l.retryQueue),l=null,r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(l=r.memoizedState.cachePool.pool),s=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(s=a.memoizedState.cachePool.pool),s!==l&&(a.flags|=2048),r!==null&&Q(Ki),null;case 24:return l=null,r!==null&&(l=r.memoizedState.cache),a.memoizedState.cache!==l&&(a.flags|=2048),mr(ht),tt(a),null;case 25:return null;case 30:return null}throw Error(i(156,a.tag))}function kO(r,a){switch(xh(a),a.tag){case 1:return r=a.flags,r&65536?(a.flags=r&-65537|128,a):null;case 3:return mr(ht),ne(),r=a.flags,(r&65536)!==0&&(r&128)===0?(a.flags=r&-65537|128,a):null;case 26:case 27:case 5:return xe(a),null;case 31:if(a.memoizedState!==null){if(an(a),a.alternate===null)throw Error(i(340));Gi()}return r=a.flags,r&65536?(a.flags=r&-65537|128,a):null;case 13:if(an(a),r=a.memoizedState,r!==null&&r.dehydrated!==null){if(a.alternate===null)throw Error(i(340));Gi()}return r=a.flags,r&65536?(a.flags=r&-65537|128,a):null;case 19:return Q(ct),null;case 4:return ne(),null;case 10:return mr(a.type),null;case 22:case 23:return an(a),Bh(),r!==null&&Q(Ki),r=a.flags,r&65536?(a.flags=r&-65537|128,a):null;case 24:return mr(ht),null;case 25:return null;default:return null}}function u2(r,a){switch(xh(a),a.tag){case 3:mr(ht),ne();break;case 26:case 27:case 5:xe(a);break;case 4:ne();break;case 31:a.memoizedState!==null&&an(a);break;case 13:an(a);break;case 19:Q(ct);break;case 10:mr(a.type);break;case 22:case 23:an(a),Bh(),r!==null&&Q(Ki);break;case 24:mr(ht)}}function Il(r,a){try{var l=a.updateQueue,s=l!==null?l.lastEffect:null;if(s!==null){var d=s.next;l=d;do{if((l.tag&r)===r){s=void 0;var y=l.create,_=l.inst;s=y(),_.destroy=s}l=l.next}while(l!==d)}}catch(x){Fe(a,a.return,x)}}function ui(r,a,l){try{var s=a.updateQueue,d=s!==null?s.lastEffect:null;if(d!==null){var y=d.next;s=y;do{if((s.tag&r)===r){var _=s.inst,x=_.destroy;if(x!==void 0){_.destroy=void 0,d=a;var L=l,Y=x;try{Y()}catch(J){Fe(d,L,J)}}}s=s.next}while(s!==y)}}catch(J){Fe(a,a.return,J)}}function s2(r){var a=r.updateQueue;if(a!==null){var l=r.stateNode;try{Wm(a,l)}catch(s){Fe(r,r.return,s)}}}function c2(r,a,l){l.props=ta(r.type,r.memoizedProps),l.state=r.memoizedState;try{l.componentWillUnmount()}catch(s){Fe(r,a,s)}}function ql(r,a){try{var l=r.ref;if(l!==null){switch(r.tag){case 26:case 27:case 5:var s=r.stateNode;break;case 30:s=r.stateNode;break;default:s=r.stateNode}typeof l=="function"?r.refCleanup=l(s):l.current=s}}catch(d){Fe(r,a,d)}}function Wn(r,a){var l=r.ref,s=r.refCleanup;if(l!==null)if(typeof s=="function")try{s()}catch(d){Fe(r,a,d)}finally{r.refCleanup=null,r=r.alternate,r!=null&&(r.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(d){Fe(r,a,d)}else l.current=null}function f2(r){var a=r.type,l=r.memoizedProps,s=r.stateNode;try{e:switch(a){case"button":case"input":case"select":case"textarea":l.autoFocus&&s.focus();break e;case"img":l.src?s.src=l.src:l.srcSet&&(s.srcset=l.srcSet)}}catch(d){Fe(r,r.return,d)}}function bd(r,a,l){try{var s=r.stateNode;ZO(s,r.type,l,a),s[Bt]=a}catch(d){Fe(r,r.return,d)}}function h2(r){return r.tag===5||r.tag===3||r.tag===26||r.tag===27&&pi(r.type)||r.tag===4}function Sd(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||h2(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.tag===27&&pi(r.type)||r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function _d(r,a,l){var s=r.tag;if(s===5||s===6)r=r.stateNode,a?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(r,a):(a=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,a.appendChild(r),l=l._reactRootContainer,l!=null||a.onclick!==null||(a.onclick=hr));else if(s!==4&&(s===27&&pi(r.type)&&(l=r.stateNode,a=null),r=r.child,r!==null))for(_d(r,a,l),r=r.sibling;r!==null;)_d(r,a,l),r=r.sibling}function Ns(r,a,l){var s=r.tag;if(s===5||s===6)r=r.stateNode,a?l.insertBefore(r,a):l.appendChild(r);else if(s!==4&&(s===27&&pi(r.type)&&(l=r.stateNode),r=r.child,r!==null))for(Ns(r,a,l),r=r.sibling;r!==null;)Ns(r,a,l),r=r.sibling}function d2(r){var a=r.stateNode,l=r.memoizedProps;try{for(var s=r.type,d=a.attributes;d.length;)a.removeAttributeNode(d[0]);Nt(a,s,l),a[Ct]=r,a[Bt]=l}catch(y){Fe(r,r.return,y)}}var wr=!1,pt=!1,wd=!1,g2=typeof WeakSet=="function"?WeakSet:Set,_t=null;function AO(r,a){if(r=r.containerInfo,$d=Ws,r=xm(r),ph(r)){if("selectionStart"in r)var l={start:r.selectionStart,end:r.selectionEnd};else e:{l=(l=r.ownerDocument)&&l.defaultView||window;var s=l.getSelection&&l.getSelection();if(s&&s.rangeCount!==0){l=s.anchorNode;var d=s.anchorOffset,y=s.focusNode;s=s.focusOffset;try{l.nodeType,y.nodeType}catch{l=null;break e}var _=0,x=-1,L=-1,Y=0,J=0,te=r,V=null;t:for(;;){for(var X;te!==l||d!==0&&te.nodeType!==3||(x=_+d),te!==y||s!==0&&te.nodeType!==3||(L=_+s),te.nodeType===3&&(_+=te.nodeValue.length),(X=te.firstChild)!==null;)V=te,te=X;for(;;){if(te===r)break t;if(V===l&&++Y===d&&(x=_),V===y&&++J===s&&(L=_),(X=te.nextSibling)!==null)break;te=V,V=te.parentNode}te=X}l=x===-1||L===-1?null:{start:x,end:L}}else l=null}l=l||{start:0,end:0}}else l=null;for(Yd={focusedElem:r,selectionRange:l},Ws=!1,_t=a;_t!==null;)if(a=_t,r=a.child,(a.subtreeFlags&1028)!==0&&r!==null)r.return=a,_t=r;else for(;_t!==null;){switch(a=_t,y=a.alternate,r=a.flags,a.tag){case 0:if((r&4)!==0&&(r=a.updateQueue,r=r!==null?r.events:null,r!==null))for(l=0;l<r.length;l++)d=r[l],d.ref.impl=d.nextImpl;break;case 11:case 15:break;case 1:if((r&1024)!==0&&y!==null){r=void 0,l=a,d=y.memoizedProps,y=y.memoizedState,s=l.stateNode;try{var ge=ta(l.type,d);r=s.getSnapshotBeforeUpdate(ge,y),s.__reactInternalSnapshotBeforeUpdate=r}catch(_e){Fe(l,l.return,_e)}}break;case 3:if((r&1024)!==0){if(r=a.stateNode.containerInfo,l=r.nodeType,l===9)Gd(r);else if(l===1)switch(r.nodeName){case"HEAD":case"HTML":case"BODY":Gd(r);break;default:r.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((r&1024)!==0)throw Error(i(163))}if(r=a.sibling,r!==null){r.return=a.return,_t=r;break}_t=a.return}}function p2(r,a,l){var s=l.flags;switch(l.tag){case 0:case 11:case 15:Tr(r,l),s&4&&Il(5,l);break;case 1:if(Tr(r,l),s&4)if(r=l.stateNode,a===null)try{r.componentDidMount()}catch(_){Fe(l,l.return,_)}else{var d=ta(l.type,a.memoizedProps);a=a.memoizedState;try{r.componentDidUpdate(d,a,r.__reactInternalSnapshotBeforeUpdate)}catch(_){Fe(l,l.return,_)}}s&64&&s2(l),s&512&&ql(l,l.return);break;case 3:if(Tr(r,l),s&64&&(r=l.updateQueue,r!==null)){if(a=null,l.child!==null)switch(l.child.tag){case 27:case 5:a=l.child.stateNode;break;case 1:a=l.child.stateNode}try{Wm(r,a)}catch(_){Fe(l,l.return,_)}}break;case 27:a===null&&s&4&&d2(l);case 26:case 5:Tr(r,l),a===null&&s&4&&f2(l),s&512&&ql(l,l.return);break;case 12:Tr(r,l);break;case 31:Tr(r,l),s&4&&v2(r,l);break;case 13:Tr(r,l),s&4&&b2(r,l),s&64&&(r=l.memoizedState,r!==null&&(r=r.dehydrated,r!==null&&(l=jO.bind(null,l),a4(r,l))));break;case 22:if(s=l.memoizedState!==null||wr,!s){a=a!==null&&a.memoizedState!==null||pt,d=wr;var y=pt;wr=s,(pt=a)&&!y?Er(r,l,(l.subtreeFlags&8772)!==0):Tr(r,l),wr=d,pt=y}break;case 30:break;default:Tr(r,l)}}function y2(r){var a=r.alternate;a!==null&&(r.alternate=null,y2(a)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(a=r.stateNode,a!==null&&Jf(a)),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}var rt=null,$t=!1;function Mr(r,a,l){for(l=l.child;l!==null;)m2(r,a,l),l=l.sibling}function m2(r,a,l){if(Wt&&typeof Wt.onCommitFiberUnmount=="function")try{Wt.onCommitFiberUnmount(ll,l)}catch{}switch(l.tag){case 26:pt||Wn(l,a),Mr(r,a,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:pt||Wn(l,a);var s=rt,d=$t;pi(l.type)&&(rt=l.stateNode,$t=!1),Mr(r,a,l),Fl(l.stateNode),rt=s,$t=d;break;case 5:pt||Wn(l,a);case 6:if(s=rt,d=$t,rt=null,Mr(r,a,l),rt=s,$t=d,rt!==null)if($t)try{(rt.nodeType===9?rt.body:rt.nodeName==="HTML"?rt.ownerDocument.body:rt).removeChild(l.stateNode)}catch(y){Fe(l,a,y)}else try{rt.removeChild(l.stateNode)}catch(y){Fe(l,a,y)}break;case 18:rt!==null&&($t?(r=rt,sb(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,l.stateNode),So(r)):sb(rt,l.stateNode));break;case 4:s=rt,d=$t,rt=l.stateNode.containerInfo,$t=!0,Mr(r,a,l),rt=s,$t=d;break;case 0:case 11:case 14:case 15:ui(2,l,a),pt||ui(4,l,a),Mr(r,a,l);break;case 1:pt||(Wn(l,a),s=l.stateNode,typeof s.componentWillUnmount=="function"&&c2(l,a,s)),Mr(r,a,l);break;case 21:Mr(r,a,l);break;case 22:pt=(s=pt)||l.memoizedState!==null,Mr(r,a,l),pt=s;break;default:Mr(r,a,l)}}function v2(r,a){if(a.memoizedState===null&&(r=a.alternate,r!==null&&(r=r.memoizedState,r!==null))){r=r.dehydrated;try{So(r)}catch(l){Fe(a,a.return,l)}}}function b2(r,a){if(a.memoizedState===null&&(r=a.alternate,r!==null&&(r=r.memoizedState,r!==null&&(r=r.dehydrated,r!==null))))try{So(r)}catch(l){Fe(a,a.return,l)}}function DO(r){switch(r.tag){case 31:case 13:case 19:var a=r.stateNode;return a===null&&(a=r.stateNode=new g2),a;case 22:return r=r.stateNode,a=r._retryCache,a===null&&(a=r._retryCache=new g2),a;default:throw Error(i(435,r.tag))}}function Rs(r,a){var l=DO(r);a.forEach(function(s){if(!l.has(s)){l.add(s);var d=HO.bind(null,r,s);s.then(d,d)}})}function Yt(r,a){var l=a.deletions;if(l!==null)for(var s=0;s<l.length;s++){var d=l[s],y=r,_=a,x=_;e:for(;x!==null;){switch(x.tag){case 27:if(pi(x.type)){rt=x.stateNode,$t=!1;break e}break;case 5:rt=x.stateNode,$t=!1;break e;case 3:case 4:rt=x.stateNode.containerInfo,$t=!0;break e}x=x.return}if(rt===null)throw Error(i(160));m2(y,_,d),rt=null,$t=!1,y=d.alternate,y!==null&&(y.return=null),d.return=null}if(a.subtreeFlags&13886)for(a=a.child;a!==null;)S2(a,r),a=a.sibling}var jn=null;function S2(r,a){var l=r.alternate,s=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:Yt(a,r),Vt(r),s&4&&(ui(3,r,r.return),Il(3,r),ui(5,r,r.return));break;case 1:Yt(a,r),Vt(r),s&512&&(pt||l===null||Wn(l,l.return)),s&64&&wr&&(r=r.updateQueue,r!==null&&(s=r.callbacks,s!==null&&(l=r.shared.hiddenCallbacks,r.shared.hiddenCallbacks=l===null?s:l.concat(s))));break;case 26:var d=jn;if(Yt(a,r),Vt(r),s&512&&(pt||l===null||Wn(l,l.return)),s&4){var y=l!==null?l.memoizedState:null;if(s=r.memoizedState,l===null)if(s===null)if(r.stateNode===null){e:{s=r.type,l=r.memoizedProps,d=d.ownerDocument||d;t:switch(s){case"title":y=d.getElementsByTagName("title")[0],(!y||y[cl]||y[Ct]||y.namespaceURI==="http://www.w3.org/2000/svg"||y.hasAttribute("itemprop"))&&(y=d.createElement(s),d.head.insertBefore(y,d.querySelector("head > title"))),Nt(y,s,l),y[Ct]=r,St(y),s=y;break e;case"link":var _=Sb("link","href",d).get(s+(l.href||""));if(_){for(var x=0;x<_.length;x++)if(y=_[x],y.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&y.getAttribute("rel")===(l.rel==null?null:l.rel)&&y.getAttribute("title")===(l.title==null?null:l.title)&&y.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){_.splice(x,1);break t}}y=d.createElement(s),Nt(y,s,l),d.head.appendChild(y);break;case"meta":if(_=Sb("meta","content",d).get(s+(l.content||""))){for(x=0;x<_.length;x++)if(y=_[x],y.getAttribute("content")===(l.content==null?null:""+l.content)&&y.getAttribute("name")===(l.name==null?null:l.name)&&y.getAttribute("property")===(l.property==null?null:l.property)&&y.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&y.getAttribute("charset")===(l.charSet==null?null:l.charSet)){_.splice(x,1);break t}}y=d.createElement(s),Nt(y,s,l),d.head.appendChild(y);break;default:throw Error(i(468,s))}y[Ct]=r,St(y),s=y}r.stateNode=s}else _b(d,r.type,r.stateNode);else r.stateNode=bb(d,s,r.memoizedProps);else y!==s?(y===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):y.count--,s===null?_b(d,r.type,r.stateNode):bb(d,s,r.memoizedProps)):s===null&&r.stateNode!==null&&bd(r,r.memoizedProps,l.memoizedProps)}break;case 27:Yt(a,r),Vt(r),s&512&&(pt||l===null||Wn(l,l.return)),l!==null&&s&4&&bd(r,r.memoizedProps,l.memoizedProps);break;case 5:if(Yt(a,r),Vt(r),s&512&&(pt||l===null||Wn(l,l.return)),r.flags&32){d=r.stateNode;try{Pa(d,"")}catch(ge){Fe(r,r.return,ge)}}s&4&&r.stateNode!=null&&(d=r.memoizedProps,bd(r,d,l!==null?l.memoizedProps:d)),s&1024&&(wd=!0);break;case 6:if(Yt(a,r),Vt(r),s&4){if(r.stateNode===null)throw Error(i(162));s=r.memoizedProps,l=r.stateNode;try{l.nodeValue=s}catch(ge){Fe(r,r.return,ge)}}break;case 3:if(Xs=null,d=jn,jn=Gs(a.containerInfo),Yt(a,r),jn=d,Vt(r),s&4&&l!==null&&l.memoizedState.isDehydrated)try{So(a.containerInfo)}catch(ge){Fe(r,r.return,ge)}wd&&(wd=!1,_2(r));break;case 4:s=jn,jn=Gs(r.stateNode.containerInfo),Yt(a,r),Vt(r),jn=s;break;case 12:Yt(a,r),Vt(r);break;case 31:Yt(a,r),Vt(r),s&4&&(s=r.updateQueue,s!==null&&(r.updateQueue=null,Rs(r,s)));break;case 13:Yt(a,r),Vt(r),r.child.flags&8192&&r.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Ls=Jt()),s&4&&(s=r.updateQueue,s!==null&&(r.updateQueue=null,Rs(r,s)));break;case 22:d=r.memoizedState!==null;var L=l!==null&&l.memoizedState!==null,Y=wr,J=pt;if(wr=Y||d,pt=J||L,Yt(a,r),pt=J,wr=Y,Vt(r),s&8192)e:for(a=r.stateNode,a._visibility=d?a._visibility&-2:a._visibility|1,d&&(l===null||L||wr||pt||na(r)),l=null,a=r;;){if(a.tag===5||a.tag===26){if(l===null){L=l=a;try{if(y=L.stateNode,d)_=y.style,typeof _.setProperty=="function"?_.setProperty("display","none","important"):_.display="none";else{x=L.stateNode;var te=L.memoizedProps.style,V=te!=null&&te.hasOwnProperty("display")?te.display:null;x.style.display=V==null||typeof V=="boolean"?"":(""+V).trim()}}catch(ge){Fe(L,L.return,ge)}}}else if(a.tag===6){if(l===null){L=a;try{L.stateNode.nodeValue=d?"":L.memoizedProps}catch(ge){Fe(L,L.return,ge)}}}else if(a.tag===18){if(l===null){L=a;try{var X=L.stateNode;d?cb(X,!0):cb(L.stateNode,!1)}catch(ge){Fe(L,L.return,ge)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===r)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===r)break e;for(;a.sibling===null;){if(a.return===null||a.return===r)break e;l===a&&(l=null),a=a.return}l===a&&(l=null),a.sibling.return=a.return,a=a.sibling}s&4&&(s=r.updateQueue,s!==null&&(l=s.retryQueue,l!==null&&(s.retryQueue=null,Rs(r,l))));break;case 19:Yt(a,r),Vt(r),s&4&&(s=r.updateQueue,s!==null&&(r.updateQueue=null,Rs(r,s)));break;case 30:break;case 21:break;default:Yt(a,r),Vt(r)}}function Vt(r){var a=r.flags;if(a&2){try{for(var l,s=r.return;s!==null;){if(h2(s)){l=s;break}s=s.return}if(l==null)throw Error(i(160));switch(l.tag){case 27:var d=l.stateNode,y=Sd(r);Ns(r,y,d);break;case 5:var _=l.stateNode;l.flags&32&&(Pa(_,""),l.flags&=-33);var x=Sd(r);Ns(r,x,_);break;case 3:case 4:var L=l.stateNode.containerInfo,Y=Sd(r);_d(r,Y,L);break;default:throw Error(i(161))}}catch(J){Fe(r,r.return,J)}r.flags&=-3}a&4096&&(r.flags&=-4097)}function _2(r){if(r.subtreeFlags&1024)for(r=r.child;r!==null;){var a=r;_2(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),r=r.sibling}}function Tr(r,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)p2(r,a.alternate,a),a=a.sibling}function na(r){for(r=r.child;r!==null;){var a=r;switch(a.tag){case 0:case 11:case 14:case 15:ui(4,a,a.return),na(a);break;case 1:Wn(a,a.return);var l=a.stateNode;typeof l.componentWillUnmount=="function"&&c2(a,a.return,l),na(a);break;case 27:Fl(a.stateNode);case 26:case 5:Wn(a,a.return),na(a);break;case 22:a.memoizedState===null&&na(a);break;case 30:na(a);break;default:na(a)}r=r.sibling}}function Er(r,a,l){for(l=l&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;){var s=a.alternate,d=r,y=a,_=y.flags;switch(y.tag){case 0:case 11:case 15:Er(d,y,l),Il(4,y);break;case 1:if(Er(d,y,l),s=y,d=s.stateNode,typeof d.componentDidMount=="function")try{d.componentDidMount()}catch(Y){Fe(s,s.return,Y)}if(s=y,d=s.updateQueue,d!==null){var x=s.stateNode;try{var L=d.shared.hiddenCallbacks;if(L!==null)for(d.shared.hiddenCallbacks=null,d=0;d<L.length;d++)Jm(L[d],x)}catch(Y){Fe(s,s.return,Y)}}l&&_&64&&s2(y),ql(y,y.return);break;case 27:d2(y);case 26:case 5:Er(d,y,l),l&&s===null&&_&4&&f2(y),ql(y,y.return);break;case 12:Er(d,y,l);break;case 31:Er(d,y,l),l&&_&4&&v2(d,y);break;case 13:Er(d,y,l),l&&_&4&&b2(d,y);break;case 22:y.memoizedState===null&&Er(d,y,l),ql(y,y.return);break;case 30:break;default:Er(d,y,l)}a=a.sibling}}function Md(r,a){var l=null;r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(l=r.memoizedState.cachePool.pool),r=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(r=a.memoizedState.cachePool.pool),r!==l&&(r!=null&&r.refCount++,l!=null&&Ml(l))}function Td(r,a){r=null,a.alternate!==null&&(r=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==r&&(a.refCount++,r!=null&&Ml(r))}function Hn(r,a,l,s){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)w2(r,a,l,s),a=a.sibling}function w2(r,a,l,s){var d=a.flags;switch(a.tag){case 0:case 11:case 15:Hn(r,a,l,s),d&2048&&Il(9,a);break;case 1:Hn(r,a,l,s);break;case 3:Hn(r,a,l,s),d&2048&&(r=null,a.alternate!==null&&(r=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==r&&(a.refCount++,r!=null&&Ml(r)));break;case 12:if(d&2048){Hn(r,a,l,s),r=a.stateNode;try{var y=a.memoizedProps,_=y.id,x=y.onPostCommit;typeof x=="function"&&x(_,a.alternate===null?"mount":"update",r.passiveEffectDuration,-0)}catch(L){Fe(a,a.return,L)}}else Hn(r,a,l,s);break;case 31:Hn(r,a,l,s);break;case 13:Hn(r,a,l,s);break;case 23:break;case 22:y=a.stateNode,_=a.alternate,a.memoizedState!==null?y._visibility&2?Hn(r,a,l,s):Ul(r,a):y._visibility&2?Hn(r,a,l,s):(y._visibility|=2,uo(r,a,l,s,(a.subtreeFlags&10256)!==0||!1)),d&2048&&Md(_,a);break;case 24:Hn(r,a,l,s),d&2048&&Td(a.alternate,a);break;default:Hn(r,a,l,s)}}function uo(r,a,l,s,d){for(d=d&&((a.subtreeFlags&10256)!==0||!1),a=a.child;a!==null;){var y=r,_=a,x=l,L=s,Y=_.flags;switch(_.tag){case 0:case 11:case 15:uo(y,_,x,L,d),Il(8,_);break;case 23:break;case 22:var J=_.stateNode;_.memoizedState!==null?J._visibility&2?uo(y,_,x,L,d):Ul(y,_):(J._visibility|=2,uo(y,_,x,L,d)),d&&Y&2048&&Md(_.alternate,_);break;case 24:uo(y,_,x,L,d),d&&Y&2048&&Td(_.alternate,_);break;default:uo(y,_,x,L,d)}a=a.sibling}}function Ul(r,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var l=r,s=a,d=s.flags;switch(s.tag){case 22:Ul(l,s),d&2048&&Md(s.alternate,s);break;case 24:Ul(l,s),d&2048&&Td(s.alternate,s);break;default:Ul(l,s)}a=a.sibling}}var jl=8192;function so(r,a,l){if(r.subtreeFlags&jl)for(r=r.child;r!==null;)M2(r,a,l),r=r.sibling}function M2(r,a,l){switch(r.tag){case 26:so(r,a,l),r.flags&jl&&r.memoizedState!==null&&m4(l,jn,r.memoizedState,r.memoizedProps);break;case 5:so(r,a,l);break;case 3:case 4:var s=jn;jn=Gs(r.stateNode.containerInfo),so(r,a,l),jn=s;break;case 22:r.memoizedState===null&&(s=r.alternate,s!==null&&s.memoizedState!==null?(s=jl,jl=16777216,so(r,a,l),jl=s):so(r,a,l));break;default:so(r,a,l)}}function T2(r){var a=r.alternate;if(a!==null&&(r=a.child,r!==null)){a.child=null;do a=r.sibling,r.sibling=null,r=a;while(r!==null)}}function Hl(r){var a=r.deletions;if((r.flags&16)!==0){if(a!==null)for(var l=0;l<a.length;l++){var s=a[l];_t=s,x2(s,r)}T2(r)}if(r.subtreeFlags&10256)for(r=r.child;r!==null;)E2(r),r=r.sibling}function E2(r){switch(r.tag){case 0:case 11:case 15:Hl(r),r.flags&2048&&ui(9,r,r.return);break;case 3:Hl(r);break;case 12:Hl(r);break;case 22:var a=r.stateNode;r.memoizedState!==null&&a._visibility&2&&(r.return===null||r.return.tag!==13)?(a._visibility&=-3,zs(r)):Hl(r);break;default:Hl(r)}}function zs(r){var a=r.deletions;if((r.flags&16)!==0){if(a!==null)for(var l=0;l<a.length;l++){var s=a[l];_t=s,x2(s,r)}T2(r)}for(r=r.child;r!==null;){switch(a=r,a.tag){case 0:case 11:case 15:ui(8,a,a.return),zs(a);break;case 22:l=a.stateNode,l._visibility&2&&(l._visibility&=-3,zs(a));break;default:zs(a)}r=r.sibling}}function x2(r,a){for(;_t!==null;){var l=_t;switch(l.tag){case 0:case 11:case 15:ui(8,l,a);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var s=l.memoizedState.cachePool.pool;s!=null&&s.refCount++}break;case 24:Ml(l.memoizedState.cache)}if(s=l.child,s!==null)s.return=l,_t=s;else e:for(l=r;_t!==null;){s=_t;var d=s.sibling,y=s.return;if(y2(s),s===l){_t=null;break e}if(d!==null){d.return=y,_t=d;break e}_t=y}}}var NO={getCacheForType:function(r){var a=At(ht),l=a.data.get(r);return l===void 0&&(l=r(),a.data.set(r,l)),l},cacheSignal:function(){return At(ht).controller.signal}},RO=typeof WeakMap=="function"?WeakMap:Map,$e=0,Ze=null,Re=null,Ie=0,Ve=0,on=null,si=!1,co=!1,Ed=!1,xr=0,lt=0,ci=0,ra=0,xd=0,ln=0,fo=0,Bl=null,Ft=null,Od=!1,Ls=0,O2=0,Is=1/0,qs=null,fi=null,mt=0,hi=null,ho=null,Or=0,Cd=0,kd=null,C2=null,Pl=0,Ad=null;function un(){return($e&2)!==0&&Ie!==0?Ie&-Ie:R.T!==null?Id():Yy()}function k2(){if(ln===0)if((Ie&536870912)===0||Ue){var r=Vu;Vu<<=1,(Vu&3932160)===0&&(Vu=262144),ln=r}else ln=536870912;return r=rn.current,r!==null&&(r.flags|=32),ln}function Gt(r,a,l){(r===Ze&&(Ve===2||Ve===9)||r.cancelPendingCommit!==null)&&(go(r,0),di(r,Ie,ln,!1)),sl(r,l),(($e&2)===0||r!==Ze)&&(r===Ze&&(($e&2)===0&&(ra|=l),lt===4&&di(r,Ie,ln,!1)),er(r))}function A2(r,a,l){if(($e&6)!==0)throw Error(i(327));var s=!l&&(a&127)===0&&(a&r.expiredLanes)===0||ul(r,a),d=s?IO(r,a):Nd(r,a,!0),y=s;do{if(d===0){co&&!s&&di(r,a,0,!1);break}else{if(l=r.current.alternate,y&&!zO(l)){d=Nd(r,a,!1),y=!1;continue}if(d===2){if(y=a,r.errorRecoveryDisabledLanes&y)var _=0;else _=r.pendingLanes&-536870913,_=_!==0?_:_&536870912?536870912:0;if(_!==0){a=_;e:{var x=r;d=Bl;var L=x.current.memoizedState.isDehydrated;if(L&&(go(x,_).flags|=256),_=Nd(x,_,!1),_!==2){if(Ed&&!L){x.errorRecoveryDisabledLanes|=y,ra|=y,d=4;break e}y=Ft,Ft=d,y!==null&&(Ft===null?Ft=y:Ft.push.apply(Ft,y))}d=_}if(y=!1,d!==2)continue}}if(d===1){go(r,0),di(r,a,0,!0);break}e:{switch(s=r,y=d,y){case 0:case 1:throw Error(i(345));case 4:if((a&4194048)!==a)break;case 6:di(s,a,ln,!si);break e;case 2:Ft=null;break;case 3:case 5:break;default:throw Error(i(329))}if((a&62914560)===a&&(d=Ls+300-Jt(),10<d)){if(di(s,a,ln,!si),Gu(s,0,!0)!==0)break e;Or=a,s.timeoutHandle=lb(D2.bind(null,s,l,Ft,qs,Od,a,ln,ra,fo,si,y,"Throttled",-0,0),d);break e}D2(s,l,Ft,qs,Od,a,ln,ra,fo,si,y,null,-0,0)}}break}while(!0);er(r)}function D2(r,a,l,s,d,y,_,x,L,Y,J,te,V,X){if(r.timeoutHandle=-1,te=a.subtreeFlags,te&8192||(te&16785408)===16785408){te={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:hr},M2(a,y,te);var ge=(y&62914560)===y?Ls-Jt():(y&4194048)===y?O2-Jt():0;if(ge=v4(te,ge),ge!==null){Or=y,r.cancelPendingCommit=ge(j2.bind(null,r,a,y,l,s,d,_,x,L,J,te,null,V,X)),di(r,y,_,!Y);return}}j2(r,a,y,l,s,d,_,x,L)}function zO(r){for(var a=r;;){var l=a.tag;if((l===0||l===11||l===15)&&a.flags&16384&&(l=a.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var s=0;s<l.length;s++){var d=l[s],y=d.getSnapshot;d=d.value;try{if(!tn(y(),d))return!1}catch{return!1}}if(l=a.child,a.subtreeFlags&16384&&l!==null)l.return=a,a=l;else{if(a===r)break;for(;a.sibling===null;){if(a.return===null||a.return===r)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function di(r,a,l,s){a&=~xd,a&=~ra,r.suspendedLanes|=a,r.pingedLanes&=~a,s&&(r.warmLanes|=a),s=r.expirationTimes;for(var d=a;0<d;){var y=31-en(d),_=1<<y;s[y]=-1,d&=~_}l!==0&&By(r,l,a)}function Us(){return($e&6)===0?($l(0),!1):!0}function Dd(){if(Re!==null){if(Ve===0)var r=Re.return;else r=Re,yr=Qi=null,Gh(r),ro=null,El=0,r=Re;for(;r!==null;)u2(r.alternate,r),r=r.return;Re=null}}function go(r,a){var l=r.timeoutHandle;l!==-1&&(r.timeoutHandle=-1,e4(l)),l=r.cancelPendingCommit,l!==null&&(r.cancelPendingCommit=null,l()),Or=0,Dd(),Ze=r,Re=l=gr(r.current,null),Ie=a,Ve=0,on=null,si=!1,co=ul(r,a),Ed=!1,fo=ln=xd=ra=ci=lt=0,Ft=Bl=null,Od=!1,(a&8)!==0&&(a|=a&32);var s=r.entangledLanes;if(s!==0)for(r=r.entanglements,s&=a;0<s;){var d=31-en(s),y=1<<d;a|=r[d],s&=~y}return xr=a,as(),l}function N2(r,a){Oe=null,R.H=Rl,a===no||a===ds?(a=Qm(),Ve=3):a===Lh?(a=Qm(),Ve=4):Ve=a===sd?8:a!==null&&typeof a=="object"&&typeof a.then=="function"?6:1,on=a,Re===null&&(lt=1,Os(r,vn(a,r.current)))}function R2(){var r=rn.current;return r===null?!0:(Ie&4194048)===Ie?wn===null:(Ie&62914560)===Ie||(Ie&536870912)!==0?r===wn:!1}function z2(){var r=R.H;return R.H=Rl,r===null?Rl:r}function L2(){var r=R.A;return R.A=NO,r}function js(){lt=4,si||(Ie&4194048)!==Ie&&rn.current!==null||(co=!0),(ci&134217727)===0&&(ra&134217727)===0||Ze===null||di(Ze,Ie,ln,!1)}function Nd(r,a,l){var s=$e;$e|=2;var d=z2(),y=L2();(Ze!==r||Ie!==a)&&(qs=null,go(r,a)),a=!1;var _=lt;e:do try{if(Ve!==0&&Re!==null){var x=Re,L=on;switch(Ve){case 8:Dd(),_=6;break e;case 3:case 2:case 9:case 6:rn.current===null&&(a=!0);var Y=Ve;if(Ve=0,on=null,po(r,x,L,Y),l&&co){_=0;break e}break;default:Y=Ve,Ve=0,on=null,po(r,x,L,Y)}}LO(),_=lt;break}catch(J){N2(r,J)}while(!0);return a&&r.shellSuspendCounter++,yr=Qi=null,$e=s,R.H=d,R.A=y,Re===null&&(Ze=null,Ie=0,as()),_}function LO(){for(;Re!==null;)I2(Re)}function IO(r,a){var l=$e;$e|=2;var s=z2(),d=L2();Ze!==r||Ie!==a?(qs=null,Is=Jt()+500,go(r,a)):co=ul(r,a);e:do try{if(Ve!==0&&Re!==null){a=Re;var y=on;t:switch(Ve){case 1:Ve=0,on=null,po(r,a,y,1);break;case 2:case 9:if(Fm(y)){Ve=0,on=null,q2(a);break}a=function(){Ve!==2&&Ve!==9||Ze!==r||(Ve=7),er(r)},y.then(a,a);break e;case 3:Ve=7;break e;case 4:Ve=5;break e;case 7:Fm(y)?(Ve=0,on=null,q2(a)):(Ve=0,on=null,po(r,a,y,7));break;case 5:var _=null;switch(Re.tag){case 26:_=Re.memoizedState;case 5:case 27:var x=Re;if(_?wb(_):x.stateNode.complete){Ve=0,on=null;var L=x.sibling;if(L!==null)Re=L;else{var Y=x.return;Y!==null?(Re=Y,Hs(Y)):Re=null}break t}}Ve=0,on=null,po(r,a,y,5);break;case 6:Ve=0,on=null,po(r,a,y,6);break;case 8:Dd(),lt=6;break e;default:throw Error(i(462))}}qO();break}catch(J){N2(r,J)}while(!0);return yr=Qi=null,R.H=s,R.A=d,$e=l,Re!==null?0:(Ze=null,Ie=0,as(),lt)}function qO(){for(;Re!==null&&!o5();)I2(Re)}function I2(r){var a=o2(r.alternate,r,xr);r.memoizedProps=r.pendingProps,a===null?Hs(r):Re=a}function q2(r){var a=r,l=a.alternate;switch(a.tag){case 15:case 0:a=e2(l,a,a.pendingProps,a.type,void 0,Ie);break;case 11:a=e2(l,a,a.pendingProps,a.type.render,a.ref,Ie);break;case 5:Gh(a);default:u2(l,a),a=Re=Lm(a,xr),a=o2(l,a,xr)}r.memoizedProps=r.pendingProps,a===null?Hs(r):Re=a}function po(r,a,l,s){yr=Qi=null,Gh(a),ro=null,El=0;var d=a.return;try{if(EO(r,d,a,l,Ie)){lt=1,Os(r,vn(l,r.current)),Re=null;return}}catch(y){if(d!==null)throw Re=d,y;lt=1,Os(r,vn(l,r.current)),Re=null;return}a.flags&32768?(Ue||s===1?r=!0:co||(Ie&536870912)!==0?r=!1:(si=r=!0,(s===2||s===9||s===3||s===6)&&(s=rn.current,s!==null&&s.tag===13&&(s.flags|=16384))),U2(a,r)):Hs(a)}function Hs(r){var a=r;do{if((a.flags&32768)!==0){U2(a,si);return}r=a.return;var l=CO(a.alternate,a,xr);if(l!==null){Re=l;return}if(a=a.sibling,a!==null){Re=a;return}Re=a=r}while(a!==null);lt===0&&(lt=5)}function U2(r,a){do{var l=kO(r.alternate,r);if(l!==null){l.flags&=32767,Re=l;return}if(l=r.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!a&&(r=r.sibling,r!==null)){Re=r;return}Re=r=l}while(r!==null);lt=6,Re=null}function j2(r,a,l,s,d,y,_,x,L){r.cancelPendingCommit=null;do Bs();while(mt!==0);if(($e&6)!==0)throw Error(i(327));if(a!==null){if(a===r.current)throw Error(i(177));if(y=a.lanes|a.childLanes,y|=Sh,y5(r,l,y,_,x,L),r===Ze&&(Re=Ze=null,Ie=0),ho=a,hi=r,Or=l,Cd=y,kd=d,C2=s,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(r.callbackNode=null,r.callbackPriority=0,BO($u,function(){return Y2(),null})):(r.callbackNode=null,r.callbackPriority=0),s=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||s){s=R.T,R.T=null,d=F.p,F.p=2,_=$e,$e|=4;try{AO(r,a,l)}finally{$e=_,F.p=d,R.T=s}}mt=1,H2(),B2(),P2()}}function H2(){if(mt===1){mt=0;var r=hi,a=ho,l=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||l){l=R.T,R.T=null;var s=F.p;F.p=2;var d=$e;$e|=4;try{S2(a,r);var y=Yd,_=xm(r.containerInfo),x=y.focusedElem,L=y.selectionRange;if(_!==x&&x&&x.ownerDocument&&Em(x.ownerDocument.documentElement,x)){if(L!==null&&ph(x)){var Y=L.start,J=L.end;if(J===void 0&&(J=Y),"selectionStart"in x)x.selectionStart=Y,x.selectionEnd=Math.min(J,x.value.length);else{var te=x.ownerDocument||document,V=te&&te.defaultView||window;if(V.getSelection){var X=V.getSelection(),ge=x.textContent.length,_e=Math.min(L.start,ge),Xe=L.end===void 0?_e:Math.min(L.end,ge);!X.extend&&_e>Xe&&(_=Xe,Xe=_e,_e=_);var B=Tm(x,_e),j=Tm(x,Xe);if(B&&j&&(X.rangeCount!==1||X.anchorNode!==B.node||X.anchorOffset!==B.offset||X.focusNode!==j.node||X.focusOffset!==j.offset)){var $=te.createRange();$.setStart(B.node,B.offset),X.removeAllRanges(),_e>Xe?(X.addRange($),X.extend(j.node,j.offset)):($.setEnd(j.node,j.offset),X.addRange($))}}}}for(te=[],X=x;X=X.parentNode;)X.nodeType===1&&te.push({element:X,left:X.scrollLeft,top:X.scrollTop});for(typeof x.focus=="function"&&x.focus(),x=0;x<te.length;x++){var ee=te[x];ee.element.scrollLeft=ee.left,ee.element.scrollTop=ee.top}}Ws=!!$d,Yd=$d=null}finally{$e=d,F.p=s,R.T=l}}r.current=a,mt=2}}function B2(){if(mt===2){mt=0;var r=hi,a=ho,l=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||l){l=R.T,R.T=null;var s=F.p;F.p=2;var d=$e;$e|=4;try{p2(r,a.alternate,a)}finally{$e=d,F.p=s,R.T=l}}mt=3}}function P2(){if(mt===4||mt===3){mt=0,l5();var r=hi,a=ho,l=Or,s=C2;(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?mt=5:(mt=0,ho=hi=null,$2(r,r.pendingLanes));var d=r.pendingLanes;if(d===0&&(fi=null),Kf(l),a=a.stateNode,Wt&&typeof Wt.onCommitFiberRoot=="function")try{Wt.onCommitFiberRoot(ll,a,void 0,(a.current.flags&128)===128)}catch{}if(s!==null){a=R.T,d=F.p,F.p=2,R.T=null;try{for(var y=r.onRecoverableError,_=0;_<s.length;_++){var x=s[_];y(x.value,{componentStack:x.stack})}}finally{R.T=a,F.p=d}}(Or&3)!==0&&Bs(),er(r),d=r.pendingLanes,(l&261930)!==0&&(d&42)!==0?r===Ad?Pl++:(Pl=0,Ad=r):Pl=0,$l(0)}}function $2(r,a){(r.pooledCacheLanes&=a)===0&&(a=r.pooledCache,a!=null&&(r.pooledCache=null,Ml(a)))}function Bs(){return H2(),B2(),P2(),Y2()}function Y2(){if(mt!==5)return!1;var r=hi,a=Cd;Cd=0;var l=Kf(Or),s=R.T,d=F.p;try{F.p=32>l?32:l,R.T=null,l=kd,kd=null;var y=hi,_=Or;if(mt=0,ho=hi=null,Or=0,($e&6)!==0)throw Error(i(331));var x=$e;if($e|=4,E2(y.current),w2(y,y.current,_,l),$e=x,$l(0,!1),Wt&&typeof Wt.onPostCommitFiberRoot=="function")try{Wt.onPostCommitFiberRoot(ll,y)}catch{}return!0}finally{F.p=d,R.T=s,$2(r,a)}}function V2(r,a,l){a=vn(l,a),a=ud(r.stateNode,a,2),r=ai(r,a,2),r!==null&&(sl(r,2),er(r))}function Fe(r,a,l){if(r.tag===3)V2(r,r,l);else for(;a!==null;){if(a.tag===3){V2(a,r,l);break}else if(a.tag===1){var s=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(fi===null||!fi.has(s))){r=vn(l,r),l=Fv(2),s=ai(a,l,2),s!==null&&(Gv(l,s,a,r),sl(s,2),er(s));break}}a=a.return}}function Rd(r,a,l){var s=r.pingCache;if(s===null){s=r.pingCache=new RO;var d=new Set;s.set(a,d)}else d=s.get(a),d===void 0&&(d=new Set,s.set(a,d));d.has(l)||(Ed=!0,d.add(l),r=UO.bind(null,r,a,l),a.then(r,r))}function UO(r,a,l){var s=r.pingCache;s!==null&&s.delete(a),r.pingedLanes|=r.suspendedLanes&l,r.warmLanes&=~l,Ze===r&&(Ie&l)===l&&(lt===4||lt===3&&(Ie&62914560)===Ie&&300>Jt()-Ls?($e&2)===0&&go(r,0):xd|=l,fo===Ie&&(fo=0)),er(r)}function F2(r,a){a===0&&(a=Hy()),r=Vi(r,a),r!==null&&(sl(r,a),er(r))}function jO(r){var a=r.memoizedState,l=0;a!==null&&(l=a.retryLane),F2(r,l)}function HO(r,a){var l=0;switch(r.tag){case 31:case 13:var s=r.stateNode,d=r.memoizedState;d!==null&&(l=d.retryLane);break;case 19:s=r.stateNode;break;case 22:s=r.stateNode._retryCache;break;default:throw Error(i(314))}s!==null&&s.delete(a),F2(r,l)}function BO(r,a){return Ff(r,a)}var Ps=null,yo=null,zd=!1,$s=!1,Ld=!1,gi=0;function er(r){r!==yo&&r.next===null&&(yo===null?Ps=yo=r:yo=yo.next=r),$s=!0,zd||(zd=!0,$O())}function $l(r,a){if(!Ld&&$s){Ld=!0;do for(var l=!1,s=Ps;s!==null;){if(r!==0){var d=s.pendingLanes;if(d===0)var y=0;else{var _=s.suspendedLanes,x=s.pingedLanes;y=(1<<31-en(42|r)+1)-1,y&=d&~(_&~x),y=y&201326741?y&201326741|1:y?y|2:0}y!==0&&(l=!0,K2(s,y))}else y=Ie,y=Gu(s,s===Ze?y:0,s.cancelPendingCommit!==null||s.timeoutHandle!==-1),(y&3)===0||ul(s,y)||(l=!0,K2(s,y));s=s.next}while(l);Ld=!1}}function PO(){G2()}function G2(){$s=zd=!1;var r=0;gi!==0&&WO()&&(r=gi);for(var a=Jt(),l=null,s=Ps;s!==null;){var d=s.next,y=Q2(s,a);y===0?(s.next=null,l===null?Ps=d:l.next=d,d===null&&(yo=l)):(l=s,(r!==0||(y&3)!==0)&&($s=!0)),s=d}mt!==0&&mt!==5||$l(r),gi!==0&&(gi=0)}function Q2(r,a){for(var l=r.suspendedLanes,s=r.pingedLanes,d=r.expirationTimes,y=r.pendingLanes&-62914561;0<y;){var _=31-en(y),x=1<<_,L=d[_];L===-1?((x&l)===0||(x&s)!==0)&&(d[_]=p5(x,a)):L<=a&&(r.expiredLanes|=x),y&=~x}if(a=Ze,l=Ie,l=Gu(r,r===a?l:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),s=r.callbackNode,l===0||r===a&&(Ve===2||Ve===9)||r.cancelPendingCommit!==null)return s!==null&&s!==null&&Gf(s),r.callbackNode=null,r.callbackPriority=0;if((l&3)===0||ul(r,l)){if(a=l&-l,a===r.callbackPriority)return a;switch(s!==null&&Gf(s),Kf(l)){case 2:case 8:l=Uy;break;case 32:l=$u;break;case 268435456:l=jy;break;default:l=$u}return s=X2.bind(null,r),l=Ff(l,s),r.callbackPriority=a,r.callbackNode=l,a}return s!==null&&s!==null&&Gf(s),r.callbackPriority=2,r.callbackNode=null,2}function X2(r,a){if(mt!==0&&mt!==5)return r.callbackNode=null,r.callbackPriority=0,null;var l=r.callbackNode;if(Bs()&&r.callbackNode!==l)return null;var s=Ie;return s=Gu(r,r===Ze?s:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),s===0?null:(A2(r,s,a),Q2(r,Jt()),r.callbackNode!=null&&r.callbackNode===l?X2.bind(null,r):null)}function K2(r,a){if(Bs())return null;A2(r,a,!0)}function $O(){t4(function(){($e&6)!==0?Ff(qy,PO):G2()})}function Id(){if(gi===0){var r=eo;r===0&&(r=Yu,Yu<<=1,(Yu&261888)===0&&(Yu=256)),gi=r}return gi}function Z2(r){return r==null||typeof r=="symbol"||typeof r=="boolean"?null:typeof r=="function"?r:Zu(""+r)}function J2(r,a){var l=a.ownerDocument.createElement("input");return l.name=a.name,l.value=a.value,r.id&&l.setAttribute("form",r.id),a.parentNode.insertBefore(l,a),r=new FormData(r),l.parentNode.removeChild(l),r}function YO(r,a,l,s,d){if(a==="submit"&&l&&l.stateNode===d){var y=Z2((d[Bt]||null).action),_=s.submitter;_&&(a=(a=_[Bt]||null)?Z2(a.formAction):_.getAttribute("formAction"),a!==null&&(y=a,_=null));var x=new ts("action","action",null,s,d);r.push({event:x,listeners:[{instance:null,listener:function(){if(s.defaultPrevented){if(gi!==0){var L=_?J2(d,_):new FormData(d);nd(l,{pending:!0,data:L,method:d.method,action:y},null,L)}}else typeof y=="function"&&(x.preventDefault(),L=_?J2(d,_):new FormData(d),nd(l,{pending:!0,data:L,method:d.method,action:y},y,L))},currentTarget:d}]})}}for(var qd=0;qd<bh.length;qd++){var Ud=bh[qd],VO=Ud.toLowerCase(),FO=Ud[0].toUpperCase()+Ud.slice(1);Un(VO,"on"+FO)}Un(km,"onAnimationEnd"),Un(Am,"onAnimationIteration"),Un(Dm,"onAnimationStart"),Un("dblclick","onDoubleClick"),Un("focusin","onFocus"),Un("focusout","onBlur"),Un(uO,"onTransitionRun"),Un(sO,"onTransitionStart"),Un(cO,"onTransitionCancel"),Un(Nm,"onTransitionEnd"),Ha("onMouseEnter",["mouseout","mouseover"]),Ha("onMouseLeave",["mouseout","mouseover"]),Ha("onPointerEnter",["pointerout","pointerover"]),Ha("onPointerLeave",["pointerout","pointerover"]),Bi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Bi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Bi("onBeforeInput",["compositionend","keypress","textInput","paste"]),Bi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Bi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Bi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Yl="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),GO=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Yl));function W2(r,a){a=(a&4)!==0;for(var l=0;l<r.length;l++){var s=r[l],d=s.event;s=s.listeners;e:{var y=void 0;if(a)for(var _=s.length-1;0<=_;_--){var x=s[_],L=x.instance,Y=x.currentTarget;if(x=x.listener,L!==y&&d.isPropagationStopped())break e;y=x,d.currentTarget=Y;try{y(d)}catch(J){is(J)}d.currentTarget=null,y=L}else for(_=0;_<s.length;_++){if(x=s[_],L=x.instance,Y=x.currentTarget,x=x.listener,L!==y&&d.isPropagationStopped())break e;y=x,d.currentTarget=Y;try{y(d)}catch(J){is(J)}d.currentTarget=null,y=L}}}}function ze(r,a){var l=a[Zf];l===void 0&&(l=a[Zf]=new Set);var s=r+"__bubble";l.has(s)||(eb(a,r,2,!1),l.add(s))}function jd(r,a,l){var s=0;a&&(s|=4),eb(l,r,s,a)}var Ys="_reactListening"+Math.random().toString(36).slice(2);function Hd(r){if(!r[Ys]){r[Ys]=!0,Gy.forEach(function(l){l!=="selectionchange"&&(GO.has(l)||jd(l,!1,r),jd(l,!0,r))});var a=r.nodeType===9?r:r.ownerDocument;a===null||a[Ys]||(a[Ys]=!0,jd("selectionchange",!1,a))}}function eb(r,a,l,s){switch(kb(a)){case 2:var d=_4;break;case 8:d=w4;break;default:d=tg}l=d.bind(null,a,l,r),d=void 0,!oh||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(d=!0),s?d!==void 0?r.addEventListener(a,l,{capture:!0,passive:d}):r.addEventListener(a,l,!0):d!==void 0?r.addEventListener(a,l,{passive:d}):r.addEventListener(a,l,!1)}function Bd(r,a,l,s,d){var y=s;if((a&1)===0&&(a&2)===0&&s!==null)e:for(;;){if(s===null)return;var _=s.tag;if(_===3||_===4){var x=s.stateNode.containerInfo;if(x===d)break;if(_===4)for(_=s.return;_!==null;){var L=_.tag;if((L===3||L===4)&&_.stateNode.containerInfo===d)return;_=_.return}for(;x!==null;){if(_=qa(x),_===null)return;if(L=_.tag,L===5||L===6||L===26||L===27){s=y=_;continue e}x=x.parentNode}}s=s.return}am(function(){var Y=y,J=ih(l),te=[];e:{var V=Rm.get(r);if(V!==void 0){var X=ts,ge=r;switch(r){case"keypress":if(Wu(l)===0)break e;case"keydown":case"keyup":X=H5;break;case"focusin":ge="focus",X=ch;break;case"focusout":ge="blur",X=ch;break;case"beforeblur":case"afterblur":X=ch;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":X=um;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":X=C5;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":X=$5;break;case km:case Am:case Dm:X=D5;break;case Nm:X=V5;break;case"scroll":case"scrollend":X=x5;break;case"wheel":X=G5;break;case"copy":case"cut":case"paste":X=R5;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":X=cm;break;case"toggle":case"beforetoggle":X=X5}var _e=(a&4)!==0,Xe=!_e&&(r==="scroll"||r==="scrollend"),B=_e?V!==null?V+"Capture":null:V;_e=[];for(var j=Y,$;j!==null;){var ee=j;if($=ee.stateNode,ee=ee.tag,ee!==5&&ee!==26&&ee!==27||$===null||B===null||(ee=hl(j,B),ee!=null&&_e.push(Vl(j,ee,$))),Xe)break;j=j.return}0<_e.length&&(V=new X(V,ge,null,l,J),te.push({event:V,listeners:_e}))}}if((a&7)===0){e:{if(V=r==="mouseover"||r==="pointerover",X=r==="mouseout"||r==="pointerout",V&&l!==rh&&(ge=l.relatedTarget||l.fromElement)&&(qa(ge)||ge[Ia]))break e;if((X||V)&&(V=J.window===J?J:(V=J.ownerDocument)?V.defaultView||V.parentWindow:window,X?(ge=l.relatedTarget||l.toElement,X=Y,ge=ge?qa(ge):null,ge!==null&&(Xe=u(ge),_e=ge.tag,ge!==Xe||_e!==5&&_e!==27&&_e!==6)&&(ge=null)):(X=null,ge=Y),X!==ge)){if(_e=um,ee="onMouseLeave",B="onMouseEnter",j="mouse",(r==="pointerout"||r==="pointerover")&&(_e=cm,ee="onPointerLeave",B="onPointerEnter",j="pointer"),Xe=X==null?V:fl(X),$=ge==null?V:fl(ge),V=new _e(ee,j+"leave",X,l,J),V.target=Xe,V.relatedTarget=$,ee=null,qa(J)===Y&&(_e=new _e(B,j+"enter",ge,l,J),_e.target=$,_e.relatedTarget=Xe,ee=_e),Xe=ee,X&&ge)t:{for(_e=QO,B=X,j=ge,$=0,ee=B;ee;ee=_e(ee))$++;ee=0;for(var Se=j;Se;Se=_e(Se))ee++;for(;0<$-ee;)B=_e(B),$--;for(;0<ee-$;)j=_e(j),ee--;for(;$--;){if(B===j||j!==null&&B===j.alternate){_e=B;break t}B=_e(B),j=_e(j)}_e=null}else _e=null;X!==null&&tb(te,V,X,_e,!1),ge!==null&&Xe!==null&&tb(te,Xe,ge,_e,!0)}}e:{if(V=Y?fl(Y):window,X=V.nodeName&&V.nodeName.toLowerCase(),X==="select"||X==="input"&&V.type==="file")var He=vm;else if(ym(V))if(bm)He=aO;else{He=rO;var me=nO}else X=V.nodeName,!X||X.toLowerCase()!=="input"||V.type!=="checkbox"&&V.type!=="radio"?Y&&nh(Y.elementType)&&(He=vm):He=iO;if(He&&(He=He(r,Y))){mm(te,He,l,J);break e}me&&me(r,V,Y),r==="focusout"&&Y&&V.type==="number"&&Y.memoizedProps.value!=null&&th(V,"number",V.value)}switch(me=Y?fl(Y):window,r){case"focusin":(ym(me)||me.contentEditable==="true")&&(Fa=me,yh=Y,Sl=null);break;case"focusout":Sl=yh=Fa=null;break;case"mousedown":mh=!0;break;case"contextmenu":case"mouseup":case"dragend":mh=!1,Om(te,l,J);break;case"selectionchange":if(lO)break;case"keydown":case"keyup":Om(te,l,J)}var Ce;if(hh)e:{switch(r){case"compositionstart":var qe="onCompositionStart";break e;case"compositionend":qe="onCompositionEnd";break e;case"compositionupdate":qe="onCompositionUpdate";break e}qe=void 0}else Va?gm(r,l)&&(qe="onCompositionEnd"):r==="keydown"&&l.keyCode===229&&(qe="onCompositionStart");qe&&(fm&&l.locale!=="ko"&&(Va||qe!=="onCompositionStart"?qe==="onCompositionEnd"&&Va&&(Ce=om()):(Jr=J,lh="value"in Jr?Jr.value:Jr.textContent,Va=!0)),me=Vs(Y,qe),0<me.length&&(qe=new sm(qe,r,null,l,J),te.push({event:qe,listeners:me}),Ce?qe.data=Ce:(Ce=pm(l),Ce!==null&&(qe.data=Ce)))),(Ce=Z5?J5(r,l):W5(r,l))&&(qe=Vs(Y,"onBeforeInput"),0<qe.length&&(me=new sm("onBeforeInput","beforeinput",null,l,J),te.push({event:me,listeners:qe}),me.data=Ce)),YO(te,r,Y,l,J)}W2(te,a)})}function Vl(r,a,l){return{instance:r,listener:a,currentTarget:l}}function Vs(r,a){for(var l=a+"Capture",s=[];r!==null;){var d=r,y=d.stateNode;if(d=d.tag,d!==5&&d!==26&&d!==27||y===null||(d=hl(r,l),d!=null&&s.unshift(Vl(r,d,y)),d=hl(r,a),d!=null&&s.push(Vl(r,d,y))),r.tag===3)return s;r=r.return}return[]}function QO(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5&&r.tag!==27);return r||null}function tb(r,a,l,s,d){for(var y=a._reactName,_=[];l!==null&&l!==s;){var x=l,L=x.alternate,Y=x.stateNode;if(x=x.tag,L!==null&&L===s)break;x!==5&&x!==26&&x!==27||Y===null||(L=Y,d?(Y=hl(l,y),Y!=null&&_.unshift(Vl(l,Y,L))):d||(Y=hl(l,y),Y!=null&&_.push(Vl(l,Y,L)))),l=l.return}_.length!==0&&r.push({event:a,listeners:_})}var XO=/\r\n?/g,KO=/\u0000|\uFFFD/g;function nb(r){return(typeof r=="string"?r:""+r).replace(XO,`
|
|
49
|
-
`).replace(KO,"")}function rb(r,a){return a=nb(a),nb(r)===a}function Qe(r,a,l,s,d,y){switch(l){case"children":typeof s=="string"?a==="body"||a==="textarea"&&s===""||Pa(r,s):(typeof s=="number"||typeof s=="bigint")&&a!=="body"&&Pa(r,""+s);break;case"className":Xu(r,"class",s);break;case"tabIndex":Xu(r,"tabindex",s);break;case"dir":case"role":case"viewBox":case"width":case"height":Xu(r,l,s);break;case"style":rm(r,s,y);break;case"data":if(a!=="object"){Xu(r,"data",s);break}case"src":case"href":if(s===""&&(a!=="a"||l!=="href")){r.removeAttribute(l);break}if(s==null||typeof s=="function"||typeof s=="symbol"||typeof s=="boolean"){r.removeAttribute(l);break}s=Zu(""+s),r.setAttribute(l,s);break;case"action":case"formAction":if(typeof s=="function"){r.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof y=="function"&&(l==="formAction"?(a!=="input"&&Qe(r,a,"name",d.name,d,null),Qe(r,a,"formEncType",d.formEncType,d,null),Qe(r,a,"formMethod",d.formMethod,d,null),Qe(r,a,"formTarget",d.formTarget,d,null)):(Qe(r,a,"encType",d.encType,d,null),Qe(r,a,"method",d.method,d,null),Qe(r,a,"target",d.target,d,null)));if(s==null||typeof s=="symbol"||typeof s=="boolean"){r.removeAttribute(l);break}s=Zu(""+s),r.setAttribute(l,s);break;case"onClick":s!=null&&(r.onclick=hr);break;case"onScroll":s!=null&&ze("scroll",r);break;case"onScrollEnd":s!=null&&ze("scrollend",r);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(i(61));if(l=s.__html,l!=null){if(d.children!=null)throw Error(i(60));r.innerHTML=l}}break;case"multiple":r.multiple=s&&typeof s!="function"&&typeof s!="symbol";break;case"muted":r.muted=s&&typeof s!="function"&&typeof s!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(s==null||typeof s=="function"||typeof s=="boolean"||typeof s=="symbol"){r.removeAttribute("xlink:href");break}l=Zu(""+s),r.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":s!=null&&typeof s!="function"&&typeof s!="symbol"?r.setAttribute(l,""+s):r.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":s&&typeof s!="function"&&typeof s!="symbol"?r.setAttribute(l,""):r.removeAttribute(l);break;case"capture":case"download":s===!0?r.setAttribute(l,""):s!==!1&&s!=null&&typeof s!="function"&&typeof s!="symbol"?r.setAttribute(l,s):r.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":s!=null&&typeof s!="function"&&typeof s!="symbol"&&!isNaN(s)&&1<=s?r.setAttribute(l,s):r.removeAttribute(l);break;case"rowSpan":case"start":s==null||typeof s=="function"||typeof s=="symbol"||isNaN(s)?r.removeAttribute(l):r.setAttribute(l,s);break;case"popover":ze("beforetoggle",r),ze("toggle",r),Qu(r,"popover",s);break;case"xlinkActuate":fr(r,"http://www.w3.org/1999/xlink","xlink:actuate",s);break;case"xlinkArcrole":fr(r,"http://www.w3.org/1999/xlink","xlink:arcrole",s);break;case"xlinkRole":fr(r,"http://www.w3.org/1999/xlink","xlink:role",s);break;case"xlinkShow":fr(r,"http://www.w3.org/1999/xlink","xlink:show",s);break;case"xlinkTitle":fr(r,"http://www.w3.org/1999/xlink","xlink:title",s);break;case"xlinkType":fr(r,"http://www.w3.org/1999/xlink","xlink:type",s);break;case"xmlBase":fr(r,"http://www.w3.org/XML/1998/namespace","xml:base",s);break;case"xmlLang":fr(r,"http://www.w3.org/XML/1998/namespace","xml:lang",s);break;case"xmlSpace":fr(r,"http://www.w3.org/XML/1998/namespace","xml:space",s);break;case"is":Qu(r,"is",s);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=T5.get(l)||l,Qu(r,l,s))}}function Pd(r,a,l,s,d,y){switch(l){case"style":rm(r,s,y);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(i(61));if(l=s.__html,l!=null){if(d.children!=null)throw Error(i(60));r.innerHTML=l}}break;case"children":typeof s=="string"?Pa(r,s):(typeof s=="number"||typeof s=="bigint")&&Pa(r,""+s);break;case"onScroll":s!=null&&ze("scroll",r);break;case"onScrollEnd":s!=null&&ze("scrollend",r);break;case"onClick":s!=null&&(r.onclick=hr);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Qy.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(d=l.endsWith("Capture"),a=l.slice(2,d?l.length-7:void 0),y=r[Bt]||null,y=y!=null?y[l]:null,typeof y=="function"&&r.removeEventListener(a,y,d),typeof s=="function")){typeof y!="function"&&y!==null&&(l in r?r[l]=null:r.hasAttribute(l)&&r.removeAttribute(l)),r.addEventListener(a,s,d);break e}l in r?r[l]=s:s===!0?r.setAttribute(l,""):Qu(r,l,s)}}}function Nt(r,a,l){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ze("error",r),ze("load",r);var s=!1,d=!1,y;for(y in l)if(l.hasOwnProperty(y)){var _=l[y];if(_!=null)switch(y){case"src":s=!0;break;case"srcSet":d=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,a));default:Qe(r,a,y,_,l,null)}}d&&Qe(r,a,"srcSet",l.srcSet,l,null),s&&Qe(r,a,"src",l.src,l,null);return;case"input":ze("invalid",r);var x=y=_=d=null,L=null,Y=null;for(s in l)if(l.hasOwnProperty(s)){var J=l[s];if(J!=null)switch(s){case"name":d=J;break;case"type":_=J;break;case"checked":L=J;break;case"defaultChecked":Y=J;break;case"value":y=J;break;case"defaultValue":x=J;break;case"children":case"dangerouslySetInnerHTML":if(J!=null)throw Error(i(137,a));break;default:Qe(r,a,s,J,l,null)}}Wy(r,y,x,L,Y,_,d,!1);return;case"select":ze("invalid",r),s=_=y=null;for(d in l)if(l.hasOwnProperty(d)&&(x=l[d],x!=null))switch(d){case"value":y=x;break;case"defaultValue":_=x;break;case"multiple":s=x;default:Qe(r,a,d,x,l,null)}a=y,l=_,r.multiple=!!s,a!=null?Ba(r,!!s,a,!1):l!=null&&Ba(r,!!s,l,!0);return;case"textarea":ze("invalid",r),y=d=s=null;for(_ in l)if(l.hasOwnProperty(_)&&(x=l[_],x!=null))switch(_){case"value":s=x;break;case"defaultValue":d=x;break;case"children":y=x;break;case"dangerouslySetInnerHTML":if(x!=null)throw Error(i(91));break;default:Qe(r,a,_,x,l,null)}tm(r,s,d,y);return;case"option":for(L in l)if(l.hasOwnProperty(L)&&(s=l[L],s!=null))switch(L){case"selected":r.selected=s&&typeof s!="function"&&typeof s!="symbol";break;default:Qe(r,a,L,s,l,null)}return;case"dialog":ze("beforetoggle",r),ze("toggle",r),ze("cancel",r),ze("close",r);break;case"iframe":case"object":ze("load",r);break;case"video":case"audio":for(s=0;s<Yl.length;s++)ze(Yl[s],r);break;case"image":ze("error",r),ze("load",r);break;case"details":ze("toggle",r);break;case"embed":case"source":case"link":ze("error",r),ze("load",r);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(Y in l)if(l.hasOwnProperty(Y)&&(s=l[Y],s!=null))switch(Y){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,a));default:Qe(r,a,Y,s,l,null)}return;default:if(nh(a)){for(J in l)l.hasOwnProperty(J)&&(s=l[J],s!==void 0&&Pd(r,a,J,s,l,void 0));return}}for(x in l)l.hasOwnProperty(x)&&(s=l[x],s!=null&&Qe(r,a,x,s,l,null))}function ZO(r,a,l,s){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var d=null,y=null,_=null,x=null,L=null,Y=null,J=null;for(X in l){var te=l[X];if(l.hasOwnProperty(X)&&te!=null)switch(X){case"checked":break;case"value":break;case"defaultValue":L=te;default:s.hasOwnProperty(X)||Qe(r,a,X,null,s,te)}}for(var V in s){var X=s[V];if(te=l[V],s.hasOwnProperty(V)&&(X!=null||te!=null))switch(V){case"type":y=X;break;case"name":d=X;break;case"checked":Y=X;break;case"defaultChecked":J=X;break;case"value":_=X;break;case"defaultValue":x=X;break;case"children":case"dangerouslySetInnerHTML":if(X!=null)throw Error(i(137,a));break;default:X!==te&&Qe(r,a,V,X,s,te)}}eh(r,_,x,L,Y,J,y,d);return;case"select":X=_=x=V=null;for(y in l)if(L=l[y],l.hasOwnProperty(y)&&L!=null)switch(y){case"value":break;case"multiple":X=L;default:s.hasOwnProperty(y)||Qe(r,a,y,null,s,L)}for(d in s)if(y=s[d],L=l[d],s.hasOwnProperty(d)&&(y!=null||L!=null))switch(d){case"value":V=y;break;case"defaultValue":x=y;break;case"multiple":_=y;default:y!==L&&Qe(r,a,d,y,s,L)}a=x,l=_,s=X,V!=null?Ba(r,!!l,V,!1):!!s!=!!l&&(a!=null?Ba(r,!!l,a,!0):Ba(r,!!l,l?[]:"",!1));return;case"textarea":X=V=null;for(x in l)if(d=l[x],l.hasOwnProperty(x)&&d!=null&&!s.hasOwnProperty(x))switch(x){case"value":break;case"children":break;default:Qe(r,a,x,null,s,d)}for(_ in s)if(d=s[_],y=l[_],s.hasOwnProperty(_)&&(d!=null||y!=null))switch(_){case"value":V=d;break;case"defaultValue":X=d;break;case"children":break;case"dangerouslySetInnerHTML":if(d!=null)throw Error(i(91));break;default:d!==y&&Qe(r,a,_,d,s,y)}em(r,V,X);return;case"option":for(var ge in l)if(V=l[ge],l.hasOwnProperty(ge)&&V!=null&&!s.hasOwnProperty(ge))switch(ge){case"selected":r.selected=!1;break;default:Qe(r,a,ge,null,s,V)}for(L in s)if(V=s[L],X=l[L],s.hasOwnProperty(L)&&V!==X&&(V!=null||X!=null))switch(L){case"selected":r.selected=V&&typeof V!="function"&&typeof V!="symbol";break;default:Qe(r,a,L,V,s,X)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var _e in l)V=l[_e],l.hasOwnProperty(_e)&&V!=null&&!s.hasOwnProperty(_e)&&Qe(r,a,_e,null,s,V);for(Y in s)if(V=s[Y],X=l[Y],s.hasOwnProperty(Y)&&V!==X&&(V!=null||X!=null))switch(Y){case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(i(137,a));break;default:Qe(r,a,Y,V,s,X)}return;default:if(nh(a)){for(var Xe in l)V=l[Xe],l.hasOwnProperty(Xe)&&V!==void 0&&!s.hasOwnProperty(Xe)&&Pd(r,a,Xe,void 0,s,V);for(J in s)V=s[J],X=l[J],!s.hasOwnProperty(J)||V===X||V===void 0&&X===void 0||Pd(r,a,J,V,s,X);return}}for(var B in l)V=l[B],l.hasOwnProperty(B)&&V!=null&&!s.hasOwnProperty(B)&&Qe(r,a,B,null,s,V);for(te in s)V=s[te],X=l[te],!s.hasOwnProperty(te)||V===X||V==null&&X==null||Qe(r,a,te,V,s,X)}function ib(r){switch(r){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function JO(){if(typeof performance.getEntriesByType=="function"){for(var r=0,a=0,l=performance.getEntriesByType("resource"),s=0;s<l.length;s++){var d=l[s],y=d.transferSize,_=d.initiatorType,x=d.duration;if(y&&x&&ib(_)){for(_=0,x=d.responseEnd,s+=1;s<l.length;s++){var L=l[s],Y=L.startTime;if(Y>x)break;var J=L.transferSize,te=L.initiatorType;J&&ib(te)&&(L=L.responseEnd,_+=J*(L<x?1:(x-Y)/(L-Y)))}if(--s,a+=8*(y+_)/(d.duration/1e3),r++,10<r)break}}if(0<r)return a/r/1e6}return navigator.connection&&(r=navigator.connection.downlink,typeof r=="number")?r:5}var $d=null,Yd=null;function Fs(r){return r.nodeType===9?r:r.ownerDocument}function ab(r){switch(r){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function ob(r,a){if(r===0)switch(a){case"svg":return 1;case"math":return 2;default:return 0}return r===1&&a==="foreignObject"?0:r}function Vd(r,a){return r==="textarea"||r==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var Fd=null;function WO(){var r=window.event;return r&&r.type==="popstate"?r===Fd?!1:(Fd=r,!0):(Fd=null,!1)}var lb=typeof setTimeout=="function"?setTimeout:void 0,e4=typeof clearTimeout=="function"?clearTimeout:void 0,ub=typeof Promise=="function"?Promise:void 0,t4=typeof queueMicrotask=="function"?queueMicrotask:typeof ub<"u"?function(r){return ub.resolve(null).then(r).catch(n4)}:lb;function n4(r){setTimeout(function(){throw r})}function pi(r){return r==="head"}function sb(r,a){var l=a,s=0;do{var d=l.nextSibling;if(r.removeChild(l),d&&d.nodeType===8)if(l=d.data,l==="/$"||l==="/&"){if(s===0){r.removeChild(d),So(a);return}s--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")s++;else if(l==="html")Fl(r.ownerDocument.documentElement);else if(l==="head"){l=r.ownerDocument.head,Fl(l);for(var y=l.firstChild;y;){var _=y.nextSibling,x=y.nodeName;y[cl]||x==="SCRIPT"||x==="STYLE"||x==="LINK"&&y.rel.toLowerCase()==="stylesheet"||l.removeChild(y),y=_}}else l==="body"&&Fl(r.ownerDocument.body);l=d}while(l);So(a)}function cb(r,a){var l=r;r=0;do{var s=l.nextSibling;if(l.nodeType===1?a?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(a?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),s&&s.nodeType===8)if(l=s.data,l==="/$"){if(r===0)break;r--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||r++;l=s}while(l)}function Gd(r){var a=r.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var l=a;switch(a=a.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Gd(l),Jf(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}r.removeChild(l)}}function r4(r,a,l,s){for(;r.nodeType===1;){var d=l;if(r.nodeName.toLowerCase()!==a.toLowerCase()){if(!s&&(r.nodeName!=="INPUT"||r.type!=="hidden"))break}else if(s){if(!r[cl])switch(a){case"meta":if(!r.hasAttribute("itemprop"))break;return r;case"link":if(y=r.getAttribute("rel"),y==="stylesheet"&&r.hasAttribute("data-precedence"))break;if(y!==d.rel||r.getAttribute("href")!==(d.href==null||d.href===""?null:d.href)||r.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin)||r.getAttribute("title")!==(d.title==null?null:d.title))break;return r;case"style":if(r.hasAttribute("data-precedence"))break;return r;case"script":if(y=r.getAttribute("src"),(y!==(d.src==null?null:d.src)||r.getAttribute("type")!==(d.type==null?null:d.type)||r.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin))&&y&&r.hasAttribute("async")&&!r.hasAttribute("itemprop"))break;return r;default:return r}}else if(a==="input"&&r.type==="hidden"){var y=d.name==null?null:""+d.name;if(d.type==="hidden"&&r.getAttribute("name")===y)return r}else return r;if(r=Mn(r.nextSibling),r===null)break}return null}function i4(r,a,l){if(a==="")return null;for(;r.nodeType!==3;)if((r.nodeType!==1||r.nodeName!=="INPUT"||r.type!=="hidden")&&!l||(r=Mn(r.nextSibling),r===null))return null;return r}function fb(r,a){for(;r.nodeType!==8;)if((r.nodeType!==1||r.nodeName!=="INPUT"||r.type!=="hidden")&&!a||(r=Mn(r.nextSibling),r===null))return null;return r}function Qd(r){return r.data==="$?"||r.data==="$~"}function Xd(r){return r.data==="$!"||r.data==="$?"&&r.ownerDocument.readyState!=="loading"}function a4(r,a){var l=r.ownerDocument;if(r.data==="$~")r._reactRetry=a;else if(r.data!=="$?"||l.readyState!=="loading")a();else{var s=function(){a(),l.removeEventListener("DOMContentLoaded",s)};l.addEventListener("DOMContentLoaded",s),r._reactRetry=s}}function Mn(r){for(;r!=null;r=r.nextSibling){var a=r.nodeType;if(a===1||a===3)break;if(a===8){if(a=r.data,a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"||a==="F!"||a==="F")break;if(a==="/$"||a==="/&")return null}}return r}var Kd=null;function hb(r){r=r.nextSibling;for(var a=0;r;){if(r.nodeType===8){var l=r.data;if(l==="/$"||l==="/&"){if(a===0)return Mn(r.nextSibling);a--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||a++}r=r.nextSibling}return null}function db(r){r=r.previousSibling;for(var a=0;r;){if(r.nodeType===8){var l=r.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(a===0)return r;a--}else l!=="/$"&&l!=="/&"||a++}r=r.previousSibling}return null}function gb(r,a,l){switch(a=Fs(l),r){case"html":if(r=a.documentElement,!r)throw Error(i(452));return r;case"head":if(r=a.head,!r)throw Error(i(453));return r;case"body":if(r=a.body,!r)throw Error(i(454));return r;default:throw Error(i(451))}}function Fl(r){for(var a=r.attributes;a.length;)r.removeAttributeNode(a[0]);Jf(r)}var Tn=new Map,pb=new Set;function Gs(r){return typeof r.getRootNode=="function"?r.getRootNode():r.nodeType===9?r:r.ownerDocument}var Cr=F.d;F.d={f:o4,r:l4,D:u4,C:s4,L:c4,m:f4,X:d4,S:h4,M:g4};function o4(){var r=Cr.f(),a=Us();return r||a}function l4(r){var a=Ua(r);a!==null&&a.tag===5&&a.type==="form"?Nv(a):Cr.r(r)}var mo=typeof document>"u"?null:document;function yb(r,a,l){var s=mo;if(s&&typeof a=="string"&&a){var d=yn(a);d='link[rel="'+r+'"][href="'+d+'"]',typeof l=="string"&&(d+='[crossorigin="'+l+'"]'),pb.has(d)||(pb.add(d),r={rel:r,crossOrigin:l,href:a},s.querySelector(d)===null&&(a=s.createElement("link"),Nt(a,"link",r),St(a),s.head.appendChild(a)))}}function u4(r){Cr.D(r),yb("dns-prefetch",r,null)}function s4(r,a){Cr.C(r,a),yb("preconnect",r,a)}function c4(r,a,l){Cr.L(r,a,l);var s=mo;if(s&&r&&a){var d='link[rel="preload"][as="'+yn(a)+'"]';a==="image"&&l&&l.imageSrcSet?(d+='[imagesrcset="'+yn(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(d+='[imagesizes="'+yn(l.imageSizes)+'"]')):d+='[href="'+yn(r)+'"]';var y=d;switch(a){case"style":y=vo(r);break;case"script":y=bo(r)}Tn.has(y)||(r=m({rel:"preload",href:a==="image"&&l&&l.imageSrcSet?void 0:r,as:a},l),Tn.set(y,r),s.querySelector(d)!==null||a==="style"&&s.querySelector(Gl(y))||a==="script"&&s.querySelector(Ql(y))||(a=s.createElement("link"),Nt(a,"link",r),St(a),s.head.appendChild(a)))}}function f4(r,a){Cr.m(r,a);var l=mo;if(l&&r){var s=a&&typeof a.as=="string"?a.as:"script",d='link[rel="modulepreload"][as="'+yn(s)+'"][href="'+yn(r)+'"]',y=d;switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":y=bo(r)}if(!Tn.has(y)&&(r=m({rel:"modulepreload",href:r},a),Tn.set(y,r),l.querySelector(d)===null)){switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Ql(y)))return}s=l.createElement("link"),Nt(s,"link",r),St(s),l.head.appendChild(s)}}}function h4(r,a,l){Cr.S(r,a,l);var s=mo;if(s&&r){var d=ja(s).hoistableStyles,y=vo(r);a=a||"default";var _=d.get(y);if(!_){var x={loading:0,preload:null};if(_=s.querySelector(Gl(y)))x.loading=5;else{r=m({rel:"stylesheet",href:r,"data-precedence":a},l),(l=Tn.get(y))&&Zd(r,l);var L=_=s.createElement("link");St(L),Nt(L,"link",r),L._p=new Promise(function(Y,J){L.onload=Y,L.onerror=J}),L.addEventListener("load",function(){x.loading|=1}),L.addEventListener("error",function(){x.loading|=2}),x.loading|=4,Qs(_,a,s)}_={type:"stylesheet",instance:_,count:1,state:x},d.set(y,_)}}}function d4(r,a){Cr.X(r,a);var l=mo;if(l&&r){var s=ja(l).hoistableScripts,d=bo(r),y=s.get(d);y||(y=l.querySelector(Ql(d)),y||(r=m({src:r,async:!0},a),(a=Tn.get(d))&&Jd(r,a),y=l.createElement("script"),St(y),Nt(y,"link",r),l.head.appendChild(y)),y={type:"script",instance:y,count:1,state:null},s.set(d,y))}}function g4(r,a){Cr.M(r,a);var l=mo;if(l&&r){var s=ja(l).hoistableScripts,d=bo(r),y=s.get(d);y||(y=l.querySelector(Ql(d)),y||(r=m({src:r,async:!0,type:"module"},a),(a=Tn.get(d))&&Jd(r,a),y=l.createElement("script"),St(y),Nt(y,"link",r),l.head.appendChild(y)),y={type:"script",instance:y,count:1,state:null},s.set(d,y))}}function mb(r,a,l,s){var d=(d=he.current)?Gs(d):null;if(!d)throw Error(i(446));switch(r){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(a=vo(l.href),l=ja(d).hoistableStyles,s=l.get(a),s||(s={type:"style",instance:null,count:0,state:null},l.set(a,s)),s):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){r=vo(l.href);var y=ja(d).hoistableStyles,_=y.get(r);if(_||(d=d.ownerDocument||d,_={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},y.set(r,_),(y=d.querySelector(Gl(r)))&&!y._p&&(_.instance=y,_.state.loading=5),Tn.has(r)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Tn.set(r,l),y||p4(d,r,l,_.state))),a&&s===null)throw Error(i(528,""));return _}if(a&&s!==null)throw Error(i(529,""));return null;case"script":return a=l.async,l=l.src,typeof l=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=bo(l),l=ja(d).hoistableScripts,s=l.get(a),s||(s={type:"script",instance:null,count:0,state:null},l.set(a,s)),s):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,r))}}function vo(r){return'href="'+yn(r)+'"'}function Gl(r){return'link[rel="stylesheet"]['+r+"]"}function vb(r){return m({},r,{"data-precedence":r.precedence,precedence:null})}function p4(r,a,l,s){r.querySelector('link[rel="preload"][as="style"]['+a+"]")?s.loading=1:(a=r.createElement("link"),s.preload=a,a.addEventListener("load",function(){return s.loading|=1}),a.addEventListener("error",function(){return s.loading|=2}),Nt(a,"link",l),St(a),r.head.appendChild(a))}function bo(r){return'[src="'+yn(r)+'"]'}function Ql(r){return"script[async]"+r}function bb(r,a,l){if(a.count++,a.instance===null)switch(a.type){case"style":var s=r.querySelector('style[data-href~="'+yn(l.href)+'"]');if(s)return a.instance=s,St(s),s;var d=m({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return s=(r.ownerDocument||r).createElement("style"),St(s),Nt(s,"style",d),Qs(s,l.precedence,r),a.instance=s;case"stylesheet":d=vo(l.href);var y=r.querySelector(Gl(d));if(y)return a.state.loading|=4,a.instance=y,St(y),y;s=vb(l),(d=Tn.get(d))&&Zd(s,d),y=(r.ownerDocument||r).createElement("link"),St(y);var _=y;return _._p=new Promise(function(x,L){_.onload=x,_.onerror=L}),Nt(y,"link",s),a.state.loading|=4,Qs(y,l.precedence,r),a.instance=y;case"script":return y=bo(l.src),(d=r.querySelector(Ql(y)))?(a.instance=d,St(d),d):(s=l,(d=Tn.get(y))&&(s=m({},l),Jd(s,d)),r=r.ownerDocument||r,d=r.createElement("script"),St(d),Nt(d,"link",s),r.head.appendChild(d),a.instance=d);case"void":return null;default:throw Error(i(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(s=a.instance,a.state.loading|=4,Qs(s,l.precedence,r));return a.instance}function Qs(r,a,l){for(var s=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),d=s.length?s[s.length-1]:null,y=d,_=0;_<s.length;_++){var x=s[_];if(x.dataset.precedence===a)y=x;else if(y!==d)break}y?y.parentNode.insertBefore(r,y.nextSibling):(a=l.nodeType===9?l.head:l,a.insertBefore(r,a.firstChild))}function Zd(r,a){r.crossOrigin==null&&(r.crossOrigin=a.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=a.referrerPolicy),r.title==null&&(r.title=a.title)}function Jd(r,a){r.crossOrigin==null&&(r.crossOrigin=a.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=a.referrerPolicy),r.integrity==null&&(r.integrity=a.integrity)}var Xs=null;function Sb(r,a,l){if(Xs===null){var s=new Map,d=Xs=new Map;d.set(l,s)}else d=Xs,s=d.get(l),s||(s=new Map,d.set(l,s));if(s.has(r))return s;for(s.set(r,null),l=l.getElementsByTagName(r),d=0;d<l.length;d++){var y=l[d];if(!(y[cl]||y[Ct]||r==="link"&&y.getAttribute("rel")==="stylesheet")&&y.namespaceURI!=="http://www.w3.org/2000/svg"){var _=y.getAttribute(a)||"";_=r+_;var x=s.get(_);x?x.push(y):s.set(_,[y])}}return s}function _b(r,a,l){r=r.ownerDocument||r,r.head.insertBefore(l,a==="title"?r.querySelector("head > title"):null)}function y4(r,a,l){if(l===1||a.itemProp!=null)return!1;switch(r){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;switch(a.rel){case"stylesheet":return r=a.disabled,typeof a.precedence=="string"&&r==null;default:return!0}case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function wb(r){return!(r.type==="stylesheet"&&(r.state.loading&3)===0)}function m4(r,a,l,s){if(l.type==="stylesheet"&&(typeof s.media!="string"||matchMedia(s.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var d=vo(s.href),y=a.querySelector(Gl(d));if(y){a=y._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(r.count++,r=Ks.bind(r),a.then(r,r)),l.state.loading|=4,l.instance=y,St(y);return}y=a.ownerDocument||a,s=vb(s),(d=Tn.get(d))&&Zd(s,d),y=y.createElement("link"),St(y);var _=y;_._p=new Promise(function(x,L){_.onload=x,_.onerror=L}),Nt(y,"link",s),l.instance=y}r.stylesheets===null&&(r.stylesheets=new Map),r.stylesheets.set(l,a),(a=l.state.preload)&&(l.state.loading&3)===0&&(r.count++,l=Ks.bind(r),a.addEventListener("load",l),a.addEventListener("error",l))}}var Wd=0;function v4(r,a){return r.stylesheets&&r.count===0&&Js(r,r.stylesheets),0<r.count||0<r.imgCount?function(l){var s=setTimeout(function(){if(r.stylesheets&&Js(r,r.stylesheets),r.unsuspend){var y=r.unsuspend;r.unsuspend=null,y()}},6e4+a);0<r.imgBytes&&Wd===0&&(Wd=62500*JO());var d=setTimeout(function(){if(r.waitingForImages=!1,r.count===0&&(r.stylesheets&&Js(r,r.stylesheets),r.unsuspend)){var y=r.unsuspend;r.unsuspend=null,y()}},(r.imgBytes>Wd?50:800)+a);return r.unsuspend=l,function(){r.unsuspend=null,clearTimeout(s),clearTimeout(d)}}:null}function Ks(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Js(this,this.stylesheets);else if(this.unsuspend){var r=this.unsuspend;this.unsuspend=null,r()}}}var Zs=null;function Js(r,a){r.stylesheets=null,r.unsuspend!==null&&(r.count++,Zs=new Map,a.forEach(b4,r),Zs=null,Ks.call(r))}function b4(r,a){if(!(a.state.loading&4)){var l=Zs.get(r);if(l)var s=l.get(null);else{l=new Map,Zs.set(r,l);for(var d=r.querySelectorAll("link[data-precedence],style[data-precedence]"),y=0;y<d.length;y++){var _=d[y];(_.nodeName==="LINK"||_.getAttribute("media")!=="not all")&&(l.set(_.dataset.precedence,_),s=_)}s&&l.set(null,s)}d=a.instance,_=d.getAttribute("data-precedence"),y=l.get(_)||s,y===s&&l.set(null,d),l.set(_,d),this.count++,s=Ks.bind(this),d.addEventListener("load",s),d.addEventListener("error",s),y?y.parentNode.insertBefore(d,y.nextSibling):(r=r.nodeType===9?r.head:r,r.insertBefore(d,r.firstChild)),a.state.loading|=4}}var Xl={$$typeof:k,Provider:null,Consumer:null,_currentValue:ie,_currentValue2:ie,_threadCount:0};function S4(r,a,l,s,d,y,_,x,L){this.tag=1,this.containerInfo=r,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Qf(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Qf(0),this.hiddenUpdates=Qf(null),this.identifierPrefix=s,this.onUncaughtError=d,this.onCaughtError=y,this.onRecoverableError=_,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=L,this.incompleteTransitions=new Map}function Mb(r,a,l,s,d,y,_,x,L,Y,J,te){return r=new S4(r,a,l,_,L,Y,J,te,x),a=1,y===!0&&(a|=24),y=nn(3,null,null,a),r.current=y,y.stateNode=r,a=Nh(),a.refCount++,r.pooledCache=a,a.refCount++,y.memoizedState={element:s,isDehydrated:l,cache:a},Ih(y),r}function Tb(r){return r?(r=Xa,r):Xa}function Eb(r,a,l,s,d,y){d=Tb(d),s.context===null?s.context=d:s.pendingContext=d,s=ii(a),s.payload={element:l},y=y===void 0?null:y,y!==null&&(s.callback=y),l=ai(r,s,a),l!==null&&(Gt(l,r,a),Ol(l,r,a))}function xb(r,a){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var l=r.retryLane;r.retryLane=l!==0&&l<a?l:a}}function eg(r,a){xb(r,a),(r=r.alternate)&&xb(r,a)}function Ob(r){if(r.tag===13||r.tag===31){var a=Vi(r,67108864);a!==null&&Gt(a,r,67108864),eg(r,67108864)}}function Cb(r){if(r.tag===13||r.tag===31){var a=un();a=Xf(a);var l=Vi(r,a);l!==null&&Gt(l,r,a),eg(r,a)}}var Ws=!0;function _4(r,a,l,s){var d=R.T;R.T=null;var y=F.p;try{F.p=2,tg(r,a,l,s)}finally{F.p=y,R.T=d}}function w4(r,a,l,s){var d=R.T;R.T=null;var y=F.p;try{F.p=8,tg(r,a,l,s)}finally{F.p=y,R.T=d}}function tg(r,a,l,s){if(Ws){var d=ng(s);if(d===null)Bd(r,a,s,ec,l),Ab(r,s);else if(T4(d,r,a,l,s))s.stopPropagation();else if(Ab(r,s),a&4&&-1<M4.indexOf(r)){for(;d!==null;){var y=Ua(d);if(y!==null)switch(y.tag){case 3:if(y=y.stateNode,y.current.memoizedState.isDehydrated){var _=Hi(y.pendingLanes);if(_!==0){var x=y;for(x.pendingLanes|=2,x.entangledLanes|=2;_;){var L=1<<31-en(_);x.entanglements[1]|=L,_&=~L}er(y),($e&6)===0&&(Is=Jt()+500,$l(0))}}break;case 31:case 13:x=Vi(y,2),x!==null&&Gt(x,y,2),Us(),eg(y,2)}if(y=ng(s),y===null&&Bd(r,a,s,ec,l),y===d)break;d=y}d!==null&&s.stopPropagation()}else Bd(r,a,s,null,l)}}function ng(r){return r=ih(r),rg(r)}var ec=null;function rg(r){if(ec=null,r=qa(r),r!==null){var a=u(r);if(a===null)r=null;else{var l=a.tag;if(l===13){if(r=c(a),r!==null)return r;r=null}else if(l===31){if(r=f(a),r!==null)return r;r=null}else if(l===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;r=null}else a!==r&&(r=null)}}return ec=r,null}function kb(r){switch(r){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(u5()){case qy:return 2;case Uy:return 8;case $u:case s5:return 32;case jy:return 268435456;default:return 32}default:return 32}}var ig=!1,yi=null,mi=null,vi=null,Kl=new Map,Zl=new Map,bi=[],M4="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Ab(r,a){switch(r){case"focusin":case"focusout":yi=null;break;case"dragenter":case"dragleave":mi=null;break;case"mouseover":case"mouseout":vi=null;break;case"pointerover":case"pointerout":Kl.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":Zl.delete(a.pointerId)}}function Jl(r,a,l,s,d,y){return r===null||r.nativeEvent!==y?(r={blockedOn:a,domEventName:l,eventSystemFlags:s,nativeEvent:y,targetContainers:[d]},a!==null&&(a=Ua(a),a!==null&&Ob(a)),r):(r.eventSystemFlags|=s,a=r.targetContainers,d!==null&&a.indexOf(d)===-1&&a.push(d),r)}function T4(r,a,l,s,d){switch(a){case"focusin":return yi=Jl(yi,r,a,l,s,d),!0;case"dragenter":return mi=Jl(mi,r,a,l,s,d),!0;case"mouseover":return vi=Jl(vi,r,a,l,s,d),!0;case"pointerover":var y=d.pointerId;return Kl.set(y,Jl(Kl.get(y)||null,r,a,l,s,d)),!0;case"gotpointercapture":return y=d.pointerId,Zl.set(y,Jl(Zl.get(y)||null,r,a,l,s,d)),!0}return!1}function Db(r){var a=qa(r.target);if(a!==null){var l=u(a);if(l!==null){if(a=l.tag,a===13){if(a=c(l),a!==null){r.blockedOn=a,Vy(r.priority,function(){Cb(l)});return}}else if(a===31){if(a=f(l),a!==null){r.blockedOn=a,Vy(r.priority,function(){Cb(l)});return}}else if(a===3&&l.stateNode.current.memoizedState.isDehydrated){r.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}r.blockedOn=null}function tc(r){if(r.blockedOn!==null)return!1;for(var a=r.targetContainers;0<a.length;){var l=ng(r.nativeEvent);if(l===null){l=r.nativeEvent;var s=new l.constructor(l.type,l);rh=s,l.target.dispatchEvent(s),rh=null}else return a=Ua(l),a!==null&&Ob(a),r.blockedOn=l,!1;a.shift()}return!0}function Nb(r,a,l){tc(r)&&l.delete(a)}function E4(){ig=!1,yi!==null&&tc(yi)&&(yi=null),mi!==null&&tc(mi)&&(mi=null),vi!==null&&tc(vi)&&(vi=null),Kl.forEach(Nb),Zl.forEach(Nb)}function nc(r,a){r.blockedOn===a&&(r.blockedOn=null,ig||(ig=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,E4)))}var rc=null;function Rb(r){rc!==r&&(rc=r,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){rc===r&&(rc=null);for(var a=0;a<r.length;a+=3){var l=r[a],s=r[a+1],d=r[a+2];if(typeof s!="function"){if(rg(s||l)===null)continue;break}var y=Ua(l);y!==null&&(r.splice(a,3),a-=3,nd(y,{pending:!0,data:d,method:l.method,action:s},s,d))}}))}function So(r){function a(L){return nc(L,r)}yi!==null&&nc(yi,r),mi!==null&&nc(mi,r),vi!==null&&nc(vi,r),Kl.forEach(a),Zl.forEach(a);for(var l=0;l<bi.length;l++){var s=bi[l];s.blockedOn===r&&(s.blockedOn=null)}for(;0<bi.length&&(l=bi[0],l.blockedOn===null);)Db(l),l.blockedOn===null&&bi.shift();if(l=(r.ownerDocument||r).$$reactFormReplay,l!=null)for(s=0;s<l.length;s+=3){var d=l[s],y=l[s+1],_=d[Bt]||null;if(typeof y=="function")_||Rb(l);else if(_){var x=null;if(y&&y.hasAttribute("formAction")){if(d=y,_=y[Bt]||null)x=_.formAction;else if(rg(d)!==null)continue}else x=_.action;typeof x=="function"?l[s+1]=x:(l.splice(s,3),s-=3),Rb(l)}}}function zb(){function r(y){y.canIntercept&&y.info==="react-transition"&&y.intercept({handler:function(){return new Promise(function(_){return d=_})},focusReset:"manual",scroll:"manual"})}function a(){d!==null&&(d(),d=null),s||setTimeout(l,20)}function l(){if(!s&&!navigation.transition){var y=navigation.currentEntry;y&&y.url!=null&&navigation.navigate(y.url,{state:y.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var s=!1,d=null;return navigation.addEventListener("navigate",r),navigation.addEventListener("navigatesuccess",a),navigation.addEventListener("navigateerror",a),setTimeout(l,100),function(){s=!0,navigation.removeEventListener("navigate",r),navigation.removeEventListener("navigatesuccess",a),navigation.removeEventListener("navigateerror",a),d!==null&&(d(),d=null)}}}function ag(r){this._internalRoot=r}ic.prototype.render=ag.prototype.render=function(r){var a=this._internalRoot;if(a===null)throw Error(i(409));var l=a.current,s=un();Eb(l,s,r,a,null,null)},ic.prototype.unmount=ag.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var a=r.containerInfo;Eb(r.current,2,null,r,null,null),Us(),a[Ia]=null}};function ic(r){this._internalRoot=r}ic.prototype.unstable_scheduleHydration=function(r){if(r){var a=Yy();r={blockedOn:null,target:r,priority:a};for(var l=0;l<bi.length&&a!==0&&a<bi[l].priority;l++);bi.splice(l,0,r),l===0&&Db(r)}};var Lb=t.version;if(Lb!=="19.2.4")throw Error(i(527,Lb,"19.2.4"));F.findDOMNode=function(r){var a=r._reactInternals;if(a===void 0)throw typeof r.render=="function"?Error(i(188)):(r=Object.keys(r).join(","),Error(i(268,r)));return r=g(a),r=r!==null?p(r):null,r=r===null?null:r.stateNode,r};var x4={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:R,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ac=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ac.isDisabled&&ac.supportsFiber)try{ll=ac.inject(x4),Wt=ac}catch{}}return eu.createRoot=function(r,a){if(!o(r))throw Error(i(299));var l=!1,s="",d=Pv,y=$v,_=Yv;return a!=null&&(a.unstable_strictMode===!0&&(l=!0),a.identifierPrefix!==void 0&&(s=a.identifierPrefix),a.onUncaughtError!==void 0&&(d=a.onUncaughtError),a.onCaughtError!==void 0&&(y=a.onCaughtError),a.onRecoverableError!==void 0&&(_=a.onRecoverableError)),a=Mb(r,1,!1,null,null,l,s,null,d,y,_,zb),r[Ia]=a.current,Hd(r),new ag(a)},eu.hydrateRoot=function(r,a,l){if(!o(r))throw Error(i(299));var s=!1,d="",y=Pv,_=$v,x=Yv,L=null;return l!=null&&(l.unstable_strictMode===!0&&(s=!0),l.identifierPrefix!==void 0&&(d=l.identifierPrefix),l.onUncaughtError!==void 0&&(y=l.onUncaughtError),l.onCaughtError!==void 0&&(_=l.onCaughtError),l.onRecoverableError!==void 0&&(x=l.onRecoverableError),l.formState!==void 0&&(L=l.formState)),a=Mb(r,1,!0,a,l??null,s,d,L,y,_,x,zb),a.context=Tb(null),l=a.current,s=un(),s=Xf(s),d=ii(s),d.callback=null,ai(l,d,s),l=s,a.current.lanes=l,sl(a,l),er(a),r[Ia]=a.current,Hd(r),new ic(a)},eu.version="19.2.4",eu}var Gb;function U4(){if(Gb)return sg.exports;Gb=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),sg.exports=q4(),sg.exports}var j4=U4();const k$=Zt(j4);var Wo=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},ha,xi,No,hT,H4=(hT=class extends Wo{constructor(){super();be(this,ha);be(this,xi);be(this,No);fe(this,No,t=>{if(typeof window<"u"&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){I(this,xi)||this.setEventListener(I(this,No))}onUnsubscribe(){var t;this.hasListeners()||((t=I(this,xi))==null||t.call(this),fe(this,xi,void 0))}setEventListener(t){var n;fe(this,No,t),(n=I(this,xi))==null||n.call(this),fe(this,xi,t(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(t){I(this,ha)!==t&&(fe(this,ha,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof I(this,ha)=="boolean"?I(this,ha):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},ha=new WeakMap,xi=new WeakMap,No=new WeakMap,hT),O1=new H4,B4={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},Oi,E1,dT,P4=(dT=class{constructor(){be(this,Oi,B4);be(this,E1,!1)}setTimeoutProvider(e){fe(this,Oi,e)}setTimeout(e,t){return I(this,Oi).setTimeout(e,t)}clearTimeout(e){I(this,Oi).clearTimeout(e)}setInterval(e,t){return I(this,Oi).setInterval(e,t)}clearInterval(e){I(this,Oi).clearInterval(e)}},Oi=new WeakMap,E1=new WeakMap,dT),sa=new P4;function $4(e){setTimeout(e,0)}var Y4=typeof window>"u"||"Deno"in globalThis;function An(){}function V4(e,t){return typeof e=="function"?e(t):e}function kp(e){return typeof e=="number"&&e>=0&&e!==1/0}function TT(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Li(e,t){return typeof e=="function"?e(t):e}function Dn(e,t){return typeof e=="function"?e(t):e}function Qb(e,t){const{type:n="all",exact:i,fetchStatus:o,predicate:u,queryKey:c,stale:f}=e;if(c){if(i){if(t.queryHash!==C1(c,t.options))return!1}else if(!mu(t.queryKey,c))return!1}if(n!=="all"){const h=t.isActive();if(n==="active"&&!h||n==="inactive"&&h)return!1}return!(typeof f=="boolean"&&t.isStale()!==f||o&&o!==t.state.fetchStatus||u&&!u(t))}function Xb(e,t){const{exact:n,status:i,predicate:o,mutationKey:u}=e;if(u){if(!t.options.mutationKey)return!1;if(n){if(Ma(t.options.mutationKey)!==Ma(u))return!1}else if(!mu(t.options.mutationKey,u))return!1}return!(i&&t.state.status!==i||o&&!o(t))}function C1(e,t){return((t==null?void 0:t.queryKeyHashFn)||Ma)(e)}function Ma(e){return JSON.stringify(e,(t,n)=>Ap(n)?Object.keys(n).sort().reduce((i,o)=>(i[o]=n[o],i),{}):n)}function mu(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>mu(e[n],t[n])):!1}var F4=Object.prototype.hasOwnProperty;function ET(e,t,n=0){if(e===t)return e;if(n>500)return t;const i=Kb(e)&&Kb(t);if(!i&&!(Ap(e)&&Ap(t)))return t;const u=(i?e:Object.keys(e)).length,c=i?t:Object.keys(t),f=c.length,h=i?new Array(f):{};let g=0;for(let p=0;p<f;p++){const m=i?p:c[p],v=e[m],S=t[m];if(v===S){h[m]=v,(i?p<u:F4.call(e,m))&&g++;continue}if(v===null||S===null||typeof v!="object"||typeof S!="object"){h[m]=S;continue}const M=ET(v,S,n+1);h[m]=M,M===v&&g++}return u===f&&g===u?e:h}function Hc(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function Kb(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Ap(e){if(!Zb(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Zb(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Zb(e){return Object.prototype.toString.call(e)==="[object Object]"}function G4(e){return new Promise(t=>{sa.setTimeout(t,e)})}function Dp(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?ET(e,t):t}function Q4(e,t,n=0){const i=[...e,t];return n&&i.length>n?i.slice(1):i}function X4(e,t,n=0){const i=[t,...e];return n&&i.length>n?i.slice(0,-1):i}var k1=Symbol();function xT(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===k1?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function A$(e,t){return typeof e=="function"?e(...t):!!e}function K4(e,t,n){let i=!1,o;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(o??(o=t()),i||(i=!0,o.aborted?n():o.addEventListener("abort",n,{once:!0})),o)}),e}var Bc=(()=>{let e=()=>Y4;return{isServer(){return e()},setIsServer(t){e=t}}})();function Np(){let e,t;const n=new Promise((o,u)=>{e=o,t=u});n.status="pending",n.catch(()=>{});function i(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{i({status:"fulfilled",value:o}),e(o)},n.reject=o=>{i({status:"rejected",reason:o}),t(o)},n}var Z4=$4;function J4(){let e=[],t=0,n=f=>{f()},i=f=>{f()},o=Z4;const u=f=>{t?e.push(f):o(()=>{n(f)})},c=()=>{const f=e;e=[],f.length&&o(()=>{i(()=>{f.forEach(h=>{n(h)})})})};return{batch:f=>{let h;t++;try{h=f()}finally{t--,t||c()}return h},batchCalls:f=>(...h)=>{u(()=>{f(...h)})},schedule:u,setNotifyFunction:f=>{n=f},setBatchNotifyFunction:f=>{i=f},setScheduler:f=>{o=f}}}var zt=J4(),Ro,Ci,zo,gT,W4=(gT=class extends Wo{constructor(){super();be(this,Ro,!0);be(this,Ci);be(this,zo);fe(this,zo,t=>{if(typeof window<"u"&&window.addEventListener){const n=()=>t(!0),i=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",i)}}})}onSubscribe(){I(this,Ci)||this.setEventListener(I(this,zo))}onUnsubscribe(){var t;this.hasListeners()||((t=I(this,Ci))==null||t.call(this),fe(this,Ci,void 0))}setEventListener(t){var n;fe(this,zo,t),(n=I(this,Ci))==null||n.call(this),fe(this,Ci,t(this.setOnline.bind(this)))}setOnline(t){I(this,Ro)!==t&&(fe(this,Ro,t),this.listeners.forEach(i=>{i(t)}))}isOnline(){return I(this,Ro)}},Ro=new WeakMap,Ci=new WeakMap,zo=new WeakMap,gT),Pc=new W4;function eC(e){return Math.min(1e3*2**e,3e4)}function OT(e){return(e??"online")==="online"?Pc.isOnline():!0}var Rp=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function CT(e){let t=!1,n=0,i;const o=Np(),u=()=>o.status!=="pending",c=b=>{var w;if(!u()){const E=new Rp(b);v(E),(w=e.onCancel)==null||w.call(e,E)}},f=()=>{t=!0},h=()=>{t=!1},g=()=>O1.isFocused()&&(e.networkMode==="always"||Pc.isOnline())&&e.canRun(),p=()=>OT(e.networkMode)&&e.canRun(),m=b=>{u()||(i==null||i(),o.resolve(b))},v=b=>{u()||(i==null||i(),o.reject(b))},S=()=>new Promise(b=>{var w;i=E=>{(u()||g())&&b(E)},(w=e.onPause)==null||w.call(e)}).then(()=>{var b;i=void 0,u()||(b=e.onContinue)==null||b.call(e)}),M=()=>{if(u())return;let b;const w=n===0?e.initialPromise:void 0;try{b=w??e.fn()}catch(E){b=Promise.reject(E)}Promise.resolve(b).then(m).catch(E=>{var O;if(u())return;const A=e.retry??(Bc.isServer()?0:3),k=e.retryDelay??eC,T=typeof k=="function"?k(n,E):k,C=A===!0||typeof A=="number"&&n<A||typeof A=="function"&&A(n,E);if(t||!C){v(E);return}n++,(O=e.onFail)==null||O.call(e,n,E),G4(T).then(()=>g()?void 0:S()).then(()=>{t?v(E):M()})})};return{promise:o,status:()=>o.status,cancel:c,continue:()=>(i==null||i(),o),cancelRetry:f,continueRetry:h,canStart:p,start:()=>(p()?M():S().then(M),o)}}var da,pT,kT=(pT=class{constructor(){be(this,da)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),kp(this.gcTime)&&fe(this,da,sa.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Bc.isServer()?1/0:300*1e3))}clearGcTimeout(){I(this,da)&&(sa.clearTimeout(I(this,da)),fe(this,da,void 0))}},da=new WeakMap,pT),ga,Lo,kn,pa,Mt,Au,ya,sn,AT,Nr,yT,tC=(yT=class extends kT{constructor(t){super();be(this,sn);be(this,ga);be(this,Lo);be(this,kn);be(this,pa);be(this,Mt);be(this,Au);be(this,ya);fe(this,ya,!1),fe(this,Au,t.defaultOptions),this.setOptions(t.options),this.observers=[],fe(this,pa,t.client),fe(this,kn,I(this,pa).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,fe(this,ga,Wb(this.options)),this.state=t.state??I(this,ga),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=I(this,Mt))==null?void 0:t.promise}setOptions(t){if(this.options={...I(this,Au),...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=Wb(this.options);n.data!==void 0&&(this.setState(Jb(n.data,n.dataUpdatedAt)),fe(this,ga,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&I(this,kn).remove(this)}setData(t,n){const i=Dp(this.state.data,t,this.options);return ke(this,sn,Nr).call(this,{data:i,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),i}setState(t,n){ke(this,sn,Nr).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var i,o;const n=(i=I(this,Mt))==null?void 0:i.promise;return(o=I(this,Mt))==null||o.cancel(t),n?n.then(An).catch(An):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return I(this,ga)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(t=>Dn(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===k1||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Li(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!TT(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(i=>i.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=I(this,Mt))==null||n.continue()}onOnline(){var n;const t=this.observers.find(i=>i.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=I(this,Mt))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),I(this,kn).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(I(this,Mt)&&(I(this,ya)||ke(this,sn,AT).call(this)?I(this,Mt).cancel({revert:!0}):I(this,Mt).cancelRetry()),this.scheduleGc()),I(this,kn).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||ke(this,sn,Nr).call(this,{type:"invalidate"})}async fetch(t,n){var h,g,p,m,v,S,M,b,w,E,A,k;if(this.state.fetchStatus!=="idle"&&((h=I(this,Mt))==null?void 0:h.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(I(this,Mt))return I(this,Mt).continueRetry(),I(this,Mt).promise}if(t&&this.setOptions(t),!this.options.queryFn){const T=this.observers.find(C=>C.options.queryFn);T&&this.setOptions(T.options)}const i=new AbortController,o=T=>{Object.defineProperty(T,"signal",{enumerable:!0,get:()=>(fe(this,ya,!0),i.signal)})},u=()=>{const T=xT(this.options,n),O=(()=>{const D={client:I(this,pa),queryKey:this.queryKey,meta:this.meta};return o(D),D})();return fe(this,ya,!1),this.options.persister?this.options.persister(T,O,this):T(O)},f=(()=>{const T={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:I(this,pa),state:this.state,fetchFn:u};return o(T),T})();(g=this.options.behavior)==null||g.onFetch(f,this),fe(this,Lo,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((p=f.fetchOptions)==null?void 0:p.meta))&&ke(this,sn,Nr).call(this,{type:"fetch",meta:(m=f.fetchOptions)==null?void 0:m.meta}),fe(this,Mt,CT({initialPromise:n==null?void 0:n.initialPromise,fn:f.fetchFn,onCancel:T=>{T instanceof Rp&&T.revert&&this.setState({...I(this,Lo),fetchStatus:"idle"}),i.abort()},onFail:(T,C)=>{ke(this,sn,Nr).call(this,{type:"failed",failureCount:T,error:C})},onPause:()=>{ke(this,sn,Nr).call(this,{type:"pause"})},onContinue:()=>{ke(this,sn,Nr).call(this,{type:"continue"})},retry:f.options.retry,retryDelay:f.options.retryDelay,networkMode:f.options.networkMode,canRun:()=>!0}));try{const T=await I(this,Mt).start();if(T===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(T),(S=(v=I(this,kn).config).onSuccess)==null||S.call(v,T,this),(b=(M=I(this,kn).config).onSettled)==null||b.call(M,T,this.state.error,this),T}catch(T){if(T instanceof Rp){if(T.silent)return I(this,Mt).promise;if(T.revert){if(this.state.data===void 0)throw T;return this.state.data}}throw ke(this,sn,Nr).call(this,{type:"error",error:T}),(E=(w=I(this,kn).config).onError)==null||E.call(w,T,this),(k=(A=I(this,kn).config).onSettled)==null||k.call(A,this.state.data,T,this),T}finally{this.scheduleGc()}}},ga=new WeakMap,Lo=new WeakMap,kn=new WeakMap,pa=new WeakMap,Mt=new WeakMap,Au=new WeakMap,ya=new WeakMap,sn=new WeakSet,AT=function(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"},Nr=function(t){const n=i=>{switch(t.type){case"failed":return{...i,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...DT(i.data,this.options),fetchMeta:t.meta??null};case"success":const o={...i,...Jb(t.data,t.dataUpdatedAt),dataUpdateCount:i.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return fe(this,Lo,t.manual?o:void 0),o;case"error":const u=t.error;return{...i,error:u,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:u,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...t.state}}};this.state=n(this.state),zt.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),I(this,kn).notify({query:this,type:"updated",action:t})})},yT);function DT(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:OT(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Jb(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Wb(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,i=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Qt,je,Du,jt,ma,Io,zr,ki,Nu,qo,Uo,va,ba,Ai,jo,Ye,hu,zp,Lp,Ip,qp,Up,jp,Hp,NT,mT,nC=(mT=class extends Wo{constructor(t,n){super();be(this,Ye);be(this,Qt);be(this,je);be(this,Du);be(this,jt);be(this,ma);be(this,Io);be(this,zr);be(this,ki);be(this,Nu);be(this,qo);be(this,Uo);be(this,va);be(this,ba);be(this,Ai);be(this,jo,new Set);this.options=n,fe(this,Qt,t),fe(this,ki,null),fe(this,zr,Np()),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(I(this,je).addObserver(this),eS(I(this,je),this.options)?ke(this,Ye,hu).call(this):this.updateResult(),ke(this,Ye,qp).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Bp(I(this,je),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Bp(I(this,je),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,ke(this,Ye,Up).call(this),ke(this,Ye,jp).call(this),I(this,je).removeObserver(this)}setOptions(t){const n=this.options,i=I(this,je);if(this.options=I(this,Qt).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Dn(this.options.enabled,I(this,je))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");ke(this,Ye,Hp).call(this),I(this,je).setOptions(this.options),n._defaulted&&!Hc(this.options,n)&&I(this,Qt).getQueryCache().notify({type:"observerOptionsUpdated",query:I(this,je),observer:this});const o=this.hasListeners();o&&tS(I(this,je),i,this.options,n)&&ke(this,Ye,hu).call(this),this.updateResult(),o&&(I(this,je)!==i||Dn(this.options.enabled,I(this,je))!==Dn(n.enabled,I(this,je))||Li(this.options.staleTime,I(this,je))!==Li(n.staleTime,I(this,je)))&&ke(this,Ye,zp).call(this);const u=ke(this,Ye,Lp).call(this);o&&(I(this,je)!==i||Dn(this.options.enabled,I(this,je))!==Dn(n.enabled,I(this,je))||u!==I(this,Ai))&&ke(this,Ye,Ip).call(this,u)}getOptimisticResult(t){const n=I(this,Qt).getQueryCache().build(I(this,Qt),t),i=this.createResult(n,t);return iC(this,i)&&(fe(this,jt,i),fe(this,Io,this.options),fe(this,ma,I(this,je).state)),i}getCurrentResult(){return I(this,jt)}trackResult(t,n){return new Proxy(t,{get:(i,o)=>(this.trackProp(o),n==null||n(o),o==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&I(this,zr).status==="pending"&&I(this,zr).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(i,o))})}trackProp(t){I(this,jo).add(t)}getCurrentQuery(){return I(this,je)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=I(this,Qt).defaultQueryOptions(t),i=I(this,Qt).getQueryCache().build(I(this,Qt),n);return i.fetch().then(()=>this.createResult(i,n))}fetch(t){return ke(this,Ye,hu).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),I(this,jt)))}createResult(t,n){var P;const i=I(this,je),o=this.options,u=I(this,jt),c=I(this,ma),f=I(this,Io),g=t!==i?t.state:I(this,Du),{state:p}=t;let m={...p},v=!1,S;if(n._optimisticResults){const Z=this.hasListeners(),W=!Z&&eS(t,n),G=Z&&tS(t,i,n,o);(W||G)&&(m={...m,...DT(p.data,t.options)}),n._optimisticResults==="isRestoring"&&(m.fetchStatus="idle")}let{error:M,errorUpdatedAt:b,status:w}=m;S=m.data;let E=!1;if(n.placeholderData!==void 0&&S===void 0&&w==="pending"){let Z;u!=null&&u.isPlaceholderData&&n.placeholderData===(f==null?void 0:f.placeholderData)?(Z=u.data,E=!0):Z=typeof n.placeholderData=="function"?n.placeholderData((P=I(this,Uo))==null?void 0:P.state.data,I(this,Uo)):n.placeholderData,Z!==void 0&&(w="success",S=Dp(u==null?void 0:u.data,Z,n),v=!0)}if(n.select&&S!==void 0&&!E)if(u&&S===(c==null?void 0:c.data)&&n.select===I(this,Nu))S=I(this,qo);else try{fe(this,Nu,n.select),S=n.select(S),S=Dp(u==null?void 0:u.data,S,n),fe(this,qo,S),fe(this,ki,null)}catch(Z){fe(this,ki,Z)}I(this,ki)&&(M=I(this,ki),S=I(this,qo),b=Date.now(),w="error");const A=m.fetchStatus==="fetching",k=w==="pending",T=w==="error",C=k&&A,O=S!==void 0,N={status:w,fetchStatus:m.fetchStatus,isPending:k,isSuccess:w==="success",isError:T,isInitialLoading:C,isLoading:C,data:S,dataUpdatedAt:m.dataUpdatedAt,error:M,errorUpdatedAt:b,failureCount:m.fetchFailureCount,failureReason:m.fetchFailureReason,errorUpdateCount:m.errorUpdateCount,isFetched:t.isFetched(),isFetchedAfterMount:m.dataUpdateCount>g.dataUpdateCount||m.errorUpdateCount>g.errorUpdateCount,isFetching:A,isRefetching:A&&!k,isLoadingError:T&&!O,isPaused:m.fetchStatus==="paused",isPlaceholderData:v,isRefetchError:T&&O,isStale:A1(t,n),refetch:this.refetch,promise:I(this,zr),isEnabled:Dn(n.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const Z=N.data!==void 0,W=N.status==="error"&&!Z,G=re=>{W?re.reject(N.error):Z&&re.resolve(N.data)},ue=()=>{const re=fe(this,zr,N.promise=Np());G(re)},q=I(this,zr);switch(q.status){case"pending":t.queryHash===i.queryHash&&G(q);break;case"fulfilled":(W||N.data!==q.value)&&ue();break;case"rejected":(!W||N.error!==q.reason)&&ue();break}}return N}updateResult(){const t=I(this,jt),n=this.createResult(I(this,je),this.options);if(fe(this,ma,I(this,je).state),fe(this,Io,this.options),I(this,ma).data!==void 0&&fe(this,Uo,I(this,je)),Hc(n,t))return;fe(this,jt,n);const i=()=>{if(!t)return!0;const{notifyOnChangeProps:o}=this.options,u=typeof o=="function"?o():o;if(u==="all"||!u&&!I(this,jo).size)return!0;const c=new Set(u??I(this,jo));return this.options.throwOnError&&c.add("error"),Object.keys(I(this,jt)).some(f=>{const h=f;return I(this,jt)[h]!==t[h]&&c.has(h)})};ke(this,Ye,NT).call(this,{listeners:i()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&ke(this,Ye,qp).call(this)}},Qt=new WeakMap,je=new WeakMap,Du=new WeakMap,jt=new WeakMap,ma=new WeakMap,Io=new WeakMap,zr=new WeakMap,ki=new WeakMap,Nu=new WeakMap,qo=new WeakMap,Uo=new WeakMap,va=new WeakMap,ba=new WeakMap,Ai=new WeakMap,jo=new WeakMap,Ye=new WeakSet,hu=function(t){ke(this,Ye,Hp).call(this);let n=I(this,je).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(An)),n},zp=function(){ke(this,Ye,Up).call(this);const t=Li(this.options.staleTime,I(this,je));if(Bc.isServer()||I(this,jt).isStale||!kp(t))return;const i=TT(I(this,jt).dataUpdatedAt,t)+1;fe(this,va,sa.setTimeout(()=>{I(this,jt).isStale||this.updateResult()},i))},Lp=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(I(this,je)):this.options.refetchInterval)??!1},Ip=function(t){ke(this,Ye,jp).call(this),fe(this,Ai,t),!(Bc.isServer()||Dn(this.options.enabled,I(this,je))===!1||!kp(I(this,Ai))||I(this,Ai)===0)&&fe(this,ba,sa.setInterval(()=>{(this.options.refetchIntervalInBackground||O1.isFocused())&&ke(this,Ye,hu).call(this)},I(this,Ai)))},qp=function(){ke(this,Ye,zp).call(this),ke(this,Ye,Ip).call(this,ke(this,Ye,Lp).call(this))},Up=function(){I(this,va)&&(sa.clearTimeout(I(this,va)),fe(this,va,void 0))},jp=function(){I(this,ba)&&(sa.clearInterval(I(this,ba)),fe(this,ba,void 0))},Hp=function(){const t=I(this,Qt).getQueryCache().build(I(this,Qt),this.options);if(t===I(this,je))return;const n=I(this,je);fe(this,je,t),fe(this,Du,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},NT=function(t){zt.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(I(this,jt))}),I(this,Qt).getQueryCache().notify({query:I(this,je),type:"observerResultsUpdated"})})},mT);function rC(e,t){return Dn(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function eS(e,t){return rC(e,t)||e.state.data!==void 0&&Bp(e,t,t.refetchOnMount)}function Bp(e,t,n){if(Dn(t.enabled,e)!==!1&&Li(t.staleTime,e)!=="static"){const i=typeof n=="function"?n(e):n;return i==="always"||i!==!1&&A1(e,t)}return!1}function tS(e,t,n,i){return(e!==t||Dn(i.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&A1(e,n)}function A1(e,t){return Dn(t.enabled,e)!==!1&&e.isStaleByTime(Li(t.staleTime,e))}function iC(e,t){return!Hc(e.getCurrentResult(),t)}function $c(e){return{onFetch:(t,n)=>{var p,m,v,S,M;const i=t.options,o=(v=(m=(p=t.fetchOptions)==null?void 0:p.meta)==null?void 0:m.fetchMore)==null?void 0:v.direction,u=((S=t.state.data)==null?void 0:S.pages)||[],c=((M=t.state.data)==null?void 0:M.pageParams)||[];let f={pages:[],pageParams:[]},h=0;const g=async()=>{let b=!1;const w=k=>{K4(k,()=>t.signal,()=>b=!0)},E=xT(t.options,t.fetchOptions),A=async(k,T,C)=>{if(b)return Promise.reject();if(T==null&&k.pages.length)return Promise.resolve(k);const D=(()=>{const W={client:t.client,queryKey:t.queryKey,pageParam:T,direction:C?"backward":"forward",meta:t.options.meta};return w(W),W})(),N=await E(D),{maxPages:P}=t.options,Z=C?X4:Q4;return{pages:Z(k.pages,N,P),pageParams:Z(k.pageParams,T,P)}};if(o&&u.length){const k=o==="backward",T=k?RT:Pp,C={pages:u,pageParams:c},O=T(i,C);f=await A(C,O,k)}else{const k=e??u.length;do{const T=h===0?c[0]??i.initialPageParam:Pp(i,f);if(h>0&&T==null)break;f=await A(f,T),h++}while(h<k)}return f};t.options.persister?t.fetchFn=()=>{var b,w;return(w=(b=t.options).persister)==null?void 0:w.call(b,g,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=g}}}function Pp(e,{pages:t,pageParams:n}){const i=t.length-1;return t.length>0?e.getNextPageParam(t[i],t,n[i],n):void 0}function RT(e,{pages:t,pageParams:n}){var i;return t.length>0?(i=e.getPreviousPageParam)==null?void 0:i.call(e,t[0],t,n[0],n):void 0}function aC(e,t){return t?Pp(e,t)!=null:!1}function oC(e,t){return!t||!e.getPreviousPageParam?!1:RT(e,t)!=null}var D$=class extends nC{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){super.setOptions({...e,behavior:$c()})}getOptimisticResult(e){return e.behavior=$c(),super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){var M,b;const{state:n}=e,i=super.createResult(e,t),{isFetching:o,isRefetching:u,isError:c,isRefetchError:f}=i,h=(b=(M=n.fetchMeta)==null?void 0:M.fetchMore)==null?void 0:b.direction,g=c&&h==="forward",p=o&&h==="forward",m=c&&h==="backward",v=o&&h==="backward";return{...i,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:aC(t,n.data),hasPreviousPage:oC(t,n.data),isFetchNextPageError:g,isFetchingNextPage:p,isFetchPreviousPageError:m,isFetchingPreviousPage:v,isRefetchError:f&&!g&&!m,isRefetching:u&&!p&&!v}}},Ru,rr,qt,Sa,ir,Ti,vT,lC=(vT=class extends kT{constructor(t){super();be(this,ir);be(this,Ru);be(this,rr);be(this,qt);be(this,Sa);fe(this,Ru,t.client),this.mutationId=t.mutationId,fe(this,qt,t.mutationCache),fe(this,rr,[]),this.state=t.state||zT(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){I(this,rr).includes(t)||(I(this,rr).push(t),this.clearGcTimeout(),I(this,qt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){fe(this,rr,I(this,rr).filter(n=>n!==t)),this.scheduleGc(),I(this,qt).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){I(this,rr).length||(this.state.status==="pending"?this.scheduleGc():I(this,qt).remove(this))}continue(){var t;return((t=I(this,Sa))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var c,f,h,g,p,m,v,S,M,b,w,E,A,k,T,C,O,D;const n=()=>{ke(this,ir,Ti).call(this,{type:"continue"})},i={client:I(this,Ru),meta:this.options.meta,mutationKey:this.options.mutationKey};fe(this,Sa,CT({fn:()=>this.options.mutationFn?this.options.mutationFn(t,i):Promise.reject(new Error("No mutationFn found")),onFail:(N,P)=>{ke(this,ir,Ti).call(this,{type:"failed",failureCount:N,error:P})},onPause:()=>{ke(this,ir,Ti).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>I(this,qt).canRun(this)}));const o=this.state.status==="pending",u=!I(this,Sa).canStart();try{if(o)n();else{ke(this,ir,Ti).call(this,{type:"pending",variables:t,isPaused:u}),I(this,qt).config.onMutate&&await I(this,qt).config.onMutate(t,this,i);const P=await((f=(c=this.options).onMutate)==null?void 0:f.call(c,t,i));P!==this.state.context&&ke(this,ir,Ti).call(this,{type:"pending",context:P,variables:t,isPaused:u})}const N=await I(this,Sa).start();return await((g=(h=I(this,qt).config).onSuccess)==null?void 0:g.call(h,N,t,this.state.context,this,i)),await((m=(p=this.options).onSuccess)==null?void 0:m.call(p,N,t,this.state.context,i)),await((S=(v=I(this,qt).config).onSettled)==null?void 0:S.call(v,N,null,this.state.variables,this.state.context,this,i)),await((b=(M=this.options).onSettled)==null?void 0:b.call(M,N,null,t,this.state.context,i)),ke(this,ir,Ti).call(this,{type:"success",data:N}),N}catch(N){try{await((E=(w=I(this,qt).config).onError)==null?void 0:E.call(w,N,t,this.state.context,this,i))}catch(P){Promise.reject(P)}try{await((k=(A=this.options).onError)==null?void 0:k.call(A,N,t,this.state.context,i))}catch(P){Promise.reject(P)}try{await((C=(T=I(this,qt).config).onSettled)==null?void 0:C.call(T,void 0,N,this.state.variables,this.state.context,this,i))}catch(P){Promise.reject(P)}try{await((D=(O=this.options).onSettled)==null?void 0:D.call(O,void 0,N,t,this.state.context,i))}catch(P){Promise.reject(P)}throw ke(this,ir,Ti).call(this,{type:"error",error:N}),N}finally{I(this,qt).runNext(this)}}},Ru=new WeakMap,rr=new WeakMap,qt=new WeakMap,Sa=new WeakMap,ir=new WeakSet,Ti=function(t){const n=i=>{switch(t.type){case"failed":return{...i,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...i,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:t.error,failureCount:i.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),zt.batch(()=>{I(this,rr).forEach(i=>{i.onMutationUpdate(t)}),I(this,qt).notify({mutation:this,type:"updated",action:t})})},vT);function zT(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Lr,$n,zu,bT,uC=(bT=class extends Wo{constructor(t={}){super();be(this,Lr);be(this,$n);be(this,zu);this.config=t,fe(this,Lr,new Set),fe(this,$n,new Map),fe(this,zu,0)}build(t,n,i){const o=new lC({client:t,mutationCache:this,mutationId:++oc(this,zu)._,options:t.defaultMutationOptions(n),state:i});return this.add(o),o}add(t){I(this,Lr).add(t);const n=lc(t);if(typeof n=="string"){const i=I(this,$n).get(n);i?i.push(t):I(this,$n).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(I(this,Lr).delete(t)){const n=lc(t);if(typeof n=="string"){const i=I(this,$n).get(n);if(i)if(i.length>1){const o=i.indexOf(t);o!==-1&&i.splice(o,1)}else i[0]===t&&I(this,$n).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=lc(t);if(typeof n=="string"){const i=I(this,$n).get(n),o=i==null?void 0:i.find(u=>u.state.status==="pending");return!o||o===t}else return!0}runNext(t){var i;const n=lc(t);if(typeof n=="string"){const o=(i=I(this,$n).get(n))==null?void 0:i.find(u=>u!==t&&u.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){zt.batch(()=>{I(this,Lr).forEach(t=>{this.notify({type:"removed",mutation:t})}),I(this,Lr).clear(),I(this,$n).clear()})}getAll(){return Array.from(I(this,Lr))}find(t){const n={exact:!0,...t};return this.getAll().find(i=>Xb(n,i))}findAll(t={}){return this.getAll().filter(n=>Xb(t,n))}notify(t){zt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return zt.batch(()=>Promise.all(t.map(n=>n.continue().catch(An))))}},Lr=new WeakMap,$n=new WeakMap,zu=new WeakMap,bT);function lc(e){var t;return(t=e.options.scope)==null?void 0:t.id}var Ir,Di,Xt,qr,$r,Oc,$p,ST,N$=(ST=class extends Wo{constructor(n,i){super();be(this,$r);be(this,Ir);be(this,Di);be(this,Xt);be(this,qr);fe(this,Ir,n),this.setOptions(i),this.bindMethods(),ke(this,$r,Oc).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(n){var o;const i=this.options;this.options=I(this,Ir).defaultMutationOptions(n),Hc(this.options,i)||I(this,Ir).getMutationCache().notify({type:"observerOptionsUpdated",mutation:I(this,Xt),observer:this}),i!=null&&i.mutationKey&&this.options.mutationKey&&Ma(i.mutationKey)!==Ma(this.options.mutationKey)?this.reset():((o=I(this,Xt))==null?void 0:o.state.status)==="pending"&&I(this,Xt).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=I(this,Xt))==null||n.removeObserver(this)}onMutationUpdate(n){ke(this,$r,Oc).call(this),ke(this,$r,$p).call(this,n)}getCurrentResult(){return I(this,Di)}reset(){var n;(n=I(this,Xt))==null||n.removeObserver(this),fe(this,Xt,void 0),ke(this,$r,Oc).call(this),ke(this,$r,$p).call(this)}mutate(n,i){var o;return fe(this,qr,i),(o=I(this,Xt))==null||o.removeObserver(this),fe(this,Xt,I(this,Ir).getMutationCache().build(I(this,Ir),this.options)),I(this,Xt).addObserver(this),I(this,Xt).execute(n)}},Ir=new WeakMap,Di=new WeakMap,Xt=new WeakMap,qr=new WeakMap,$r=new WeakSet,Oc=function(){var i;const n=((i=I(this,Xt))==null?void 0:i.state)??zT();fe(this,Di,{...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset})},$p=function(n){zt.batch(()=>{var i,o,u,c,f,h,g,p;if(I(this,qr)&&this.hasListeners()){const m=I(this,Di).variables,v=I(this,Di).context,S={client:I(this,Ir),meta:this.options.meta,mutationKey:this.options.mutationKey};if((n==null?void 0:n.type)==="success"){try{(o=(i=I(this,qr)).onSuccess)==null||o.call(i,n.data,m,v,S)}catch(M){Promise.reject(M)}try{(c=(u=I(this,qr)).onSettled)==null||c.call(u,n.data,null,m,v,S)}catch(M){Promise.reject(M)}}else if((n==null?void 0:n.type)==="error"){try{(h=(f=I(this,qr)).onError)==null||h.call(f,n.error,m,v,S)}catch(M){Promise.reject(M)}try{(p=(g=I(this,qr)).onSettled)==null||p.call(g,void 0,n.error,m,v,S)}catch(M){Promise.reject(M)}}}this.listeners.forEach(m=>{m(I(this,Di))})})},ST),ar,_T,sC=(_T=class extends Wo{constructor(t={}){super();be(this,ar);this.config=t,fe(this,ar,new Map)}build(t,n,i){const o=n.queryKey,u=n.queryHash??C1(o,n);let c=this.get(u);return c||(c=new tC({client:t,queryKey:o,queryHash:u,options:t.defaultQueryOptions(n),state:i,defaultOptions:t.getQueryDefaults(o)}),this.add(c)),c}add(t){I(this,ar).has(t.queryHash)||(I(this,ar).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=I(this,ar).get(t.queryHash);n&&(t.destroy(),n===t&&I(this,ar).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){zt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return I(this,ar).get(t)}getAll(){return[...I(this,ar).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(i=>Qb(n,i))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(i=>Qb(t,i)):n}notify(t){zt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){zt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){zt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},ar=new WeakMap,_T),ut,Ni,Ri,Ho,Bo,zi,Po,$o,wT,z$=(wT=class{constructor(e={}){be(this,ut);be(this,Ni);be(this,Ri);be(this,Ho);be(this,Bo);be(this,zi);be(this,Po);be(this,$o);fe(this,ut,e.queryCache||new sC),fe(this,Ni,e.mutationCache||new uC),fe(this,Ri,e.defaultOptions||{}),fe(this,Ho,new Map),fe(this,Bo,new Map),fe(this,zi,0)}mount(){oc(this,zi)._++,I(this,zi)===1&&(fe(this,Po,O1.subscribe(async e=>{e&&(await this.resumePausedMutations(),I(this,ut).onFocus())})),fe(this,$o,Pc.subscribe(async e=>{e&&(await this.resumePausedMutations(),I(this,ut).onOnline())})))}unmount(){var e,t;oc(this,zi)._--,I(this,zi)===0&&((e=I(this,Po))==null||e.call(this),fe(this,Po,void 0),(t=I(this,$o))==null||t.call(this),fe(this,$o,void 0))}isFetching(e){return I(this,ut).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return I(this,Ni).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=I(this,ut).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=I(this,ut).build(this,t),i=n.state.data;return i===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Li(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(i))}getQueriesData(e){return I(this,ut).findAll(e).map(({queryKey:t,state:n})=>{const i=n.data;return[t,i]})}setQueryData(e,t,n){const i=this.defaultQueryOptions({queryKey:e}),o=I(this,ut).get(i.queryHash),u=o==null?void 0:o.state.data,c=V4(t,u);if(c!==void 0)return I(this,ut).build(this,i).setData(c,{...n,manual:!0})}setQueriesData(e,t,n){return zt.batch(()=>I(this,ut).findAll(e).map(({queryKey:i})=>[i,this.setQueryData(i,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=I(this,ut).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=I(this,ut);zt.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=I(this,ut);return zt.batch(()=>(n.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},i=zt.batch(()=>I(this,ut).findAll(e).map(o=>o.cancel(n)));return Promise.all(i).then(An).catch(An)}invalidateQueries(e,t={}){return zt.batch(()=>(I(this,ut).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},i=zt.batch(()=>I(this,ut).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let u=o.fetch(void 0,n);return n.throwOnError||(u=u.catch(An)),o.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(i).then(An)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=I(this,ut).build(this,t);return n.isStaleByTime(Li(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(An).catch(An)}fetchInfiniteQuery(e){return e.behavior=$c(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(An).catch(An)}ensureInfiniteQueryData(e){return e.behavior=$c(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Pc.isOnline()?I(this,Ni).resumePausedMutations():Promise.resolve()}getQueryCache(){return I(this,ut)}getMutationCache(){return I(this,Ni)}getDefaultOptions(){return I(this,Ri)}setDefaultOptions(e){fe(this,Ri,e)}setQueryDefaults(e,t){I(this,Ho).set(Ma(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...I(this,Ho).values()],n={};return t.forEach(i=>{mu(e,i.queryKey)&&Object.assign(n,i.defaultOptions)}),n}setMutationDefaults(e,t){I(this,Bo).set(Ma(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...I(this,Bo).values()],n={};return t.forEach(i=>{mu(e,i.mutationKey)&&Object.assign(n,i.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...I(this,Ri).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=C1(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===k1&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...I(this,Ri).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){I(this,ut).clear(),I(this,Ni).clear()}},ut=new WeakMap,Ni=new WeakMap,Ri=new WeakMap,Ho=new WeakMap,Bo=new WeakMap,zi=new WeakMap,Po=new WeakMap,$o=new WeakMap,wT),dg={exports:{}},gg={};/**
|
|
49
|
+
`).replace(KO,"")}function rb(r,a){return a=nb(a),nb(r)===a}function Qe(r,a,l,s,d,y){switch(l){case"children":typeof s=="string"?a==="body"||a==="textarea"&&s===""||Pa(r,s):(typeof s=="number"||typeof s=="bigint")&&a!=="body"&&Pa(r,""+s);break;case"className":Xu(r,"class",s);break;case"tabIndex":Xu(r,"tabindex",s);break;case"dir":case"role":case"viewBox":case"width":case"height":Xu(r,l,s);break;case"style":rm(r,s,y);break;case"data":if(a!=="object"){Xu(r,"data",s);break}case"src":case"href":if(s===""&&(a!=="a"||l!=="href")){r.removeAttribute(l);break}if(s==null||typeof s=="function"||typeof s=="symbol"||typeof s=="boolean"){r.removeAttribute(l);break}s=Zu(""+s),r.setAttribute(l,s);break;case"action":case"formAction":if(typeof s=="function"){r.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof y=="function"&&(l==="formAction"?(a!=="input"&&Qe(r,a,"name",d.name,d,null),Qe(r,a,"formEncType",d.formEncType,d,null),Qe(r,a,"formMethod",d.formMethod,d,null),Qe(r,a,"formTarget",d.formTarget,d,null)):(Qe(r,a,"encType",d.encType,d,null),Qe(r,a,"method",d.method,d,null),Qe(r,a,"target",d.target,d,null)));if(s==null||typeof s=="symbol"||typeof s=="boolean"){r.removeAttribute(l);break}s=Zu(""+s),r.setAttribute(l,s);break;case"onClick":s!=null&&(r.onclick=hr);break;case"onScroll":s!=null&&ze("scroll",r);break;case"onScrollEnd":s!=null&&ze("scrollend",r);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(i(61));if(l=s.__html,l!=null){if(d.children!=null)throw Error(i(60));r.innerHTML=l}}break;case"multiple":r.multiple=s&&typeof s!="function"&&typeof s!="symbol";break;case"muted":r.muted=s&&typeof s!="function"&&typeof s!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(s==null||typeof s=="function"||typeof s=="boolean"||typeof s=="symbol"){r.removeAttribute("xlink:href");break}l=Zu(""+s),r.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":s!=null&&typeof s!="function"&&typeof s!="symbol"?r.setAttribute(l,""+s):r.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":s&&typeof s!="function"&&typeof s!="symbol"?r.setAttribute(l,""):r.removeAttribute(l);break;case"capture":case"download":s===!0?r.setAttribute(l,""):s!==!1&&s!=null&&typeof s!="function"&&typeof s!="symbol"?r.setAttribute(l,s):r.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":s!=null&&typeof s!="function"&&typeof s!="symbol"&&!isNaN(s)&&1<=s?r.setAttribute(l,s):r.removeAttribute(l);break;case"rowSpan":case"start":s==null||typeof s=="function"||typeof s=="symbol"||isNaN(s)?r.removeAttribute(l):r.setAttribute(l,s);break;case"popover":ze("beforetoggle",r),ze("toggle",r),Qu(r,"popover",s);break;case"xlinkActuate":fr(r,"http://www.w3.org/1999/xlink","xlink:actuate",s);break;case"xlinkArcrole":fr(r,"http://www.w3.org/1999/xlink","xlink:arcrole",s);break;case"xlinkRole":fr(r,"http://www.w3.org/1999/xlink","xlink:role",s);break;case"xlinkShow":fr(r,"http://www.w3.org/1999/xlink","xlink:show",s);break;case"xlinkTitle":fr(r,"http://www.w3.org/1999/xlink","xlink:title",s);break;case"xlinkType":fr(r,"http://www.w3.org/1999/xlink","xlink:type",s);break;case"xmlBase":fr(r,"http://www.w3.org/XML/1998/namespace","xml:base",s);break;case"xmlLang":fr(r,"http://www.w3.org/XML/1998/namespace","xml:lang",s);break;case"xmlSpace":fr(r,"http://www.w3.org/XML/1998/namespace","xml:space",s);break;case"is":Qu(r,"is",s);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=T5.get(l)||l,Qu(r,l,s))}}function Pd(r,a,l,s,d,y){switch(l){case"style":rm(r,s,y);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(i(61));if(l=s.__html,l!=null){if(d.children!=null)throw Error(i(60));r.innerHTML=l}}break;case"children":typeof s=="string"?Pa(r,s):(typeof s=="number"||typeof s=="bigint")&&Pa(r,""+s);break;case"onScroll":s!=null&&ze("scroll",r);break;case"onScrollEnd":s!=null&&ze("scrollend",r);break;case"onClick":s!=null&&(r.onclick=hr);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Qy.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(d=l.endsWith("Capture"),a=l.slice(2,d?l.length-7:void 0),y=r[Bt]||null,y=y!=null?y[l]:null,typeof y=="function"&&r.removeEventListener(a,y,d),typeof s=="function")){typeof y!="function"&&y!==null&&(l in r?r[l]=null:r.hasAttribute(l)&&r.removeAttribute(l)),r.addEventListener(a,s,d);break e}l in r?r[l]=s:s===!0?r.setAttribute(l,""):Qu(r,l,s)}}}function Nt(r,a,l){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ze("error",r),ze("load",r);var s=!1,d=!1,y;for(y in l)if(l.hasOwnProperty(y)){var _=l[y];if(_!=null)switch(y){case"src":s=!0;break;case"srcSet":d=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,a));default:Qe(r,a,y,_,l,null)}}d&&Qe(r,a,"srcSet",l.srcSet,l,null),s&&Qe(r,a,"src",l.src,l,null);return;case"input":ze("invalid",r);var x=y=_=d=null,L=null,Y=null;for(s in l)if(l.hasOwnProperty(s)){var J=l[s];if(J!=null)switch(s){case"name":d=J;break;case"type":_=J;break;case"checked":L=J;break;case"defaultChecked":Y=J;break;case"value":y=J;break;case"defaultValue":x=J;break;case"children":case"dangerouslySetInnerHTML":if(J!=null)throw Error(i(137,a));break;default:Qe(r,a,s,J,l,null)}}Wy(r,y,x,L,Y,_,d,!1);return;case"select":ze("invalid",r),s=_=y=null;for(d in l)if(l.hasOwnProperty(d)&&(x=l[d],x!=null))switch(d){case"value":y=x;break;case"defaultValue":_=x;break;case"multiple":s=x;default:Qe(r,a,d,x,l,null)}a=y,l=_,r.multiple=!!s,a!=null?Ba(r,!!s,a,!1):l!=null&&Ba(r,!!s,l,!0);return;case"textarea":ze("invalid",r),y=d=s=null;for(_ in l)if(l.hasOwnProperty(_)&&(x=l[_],x!=null))switch(_){case"value":s=x;break;case"defaultValue":d=x;break;case"children":y=x;break;case"dangerouslySetInnerHTML":if(x!=null)throw Error(i(91));break;default:Qe(r,a,_,x,l,null)}tm(r,s,d,y);return;case"option":for(L in l)if(l.hasOwnProperty(L)&&(s=l[L],s!=null))switch(L){case"selected":r.selected=s&&typeof s!="function"&&typeof s!="symbol";break;default:Qe(r,a,L,s,l,null)}return;case"dialog":ze("beforetoggle",r),ze("toggle",r),ze("cancel",r),ze("close",r);break;case"iframe":case"object":ze("load",r);break;case"video":case"audio":for(s=0;s<Yl.length;s++)ze(Yl[s],r);break;case"image":ze("error",r),ze("load",r);break;case"details":ze("toggle",r);break;case"embed":case"source":case"link":ze("error",r),ze("load",r);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(Y in l)if(l.hasOwnProperty(Y)&&(s=l[Y],s!=null))switch(Y){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,a));default:Qe(r,a,Y,s,l,null)}return;default:if(nh(a)){for(J in l)l.hasOwnProperty(J)&&(s=l[J],s!==void 0&&Pd(r,a,J,s,l,void 0));return}}for(x in l)l.hasOwnProperty(x)&&(s=l[x],s!=null&&Qe(r,a,x,s,l,null))}function ZO(r,a,l,s){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var d=null,y=null,_=null,x=null,L=null,Y=null,J=null;for(X in l){var te=l[X];if(l.hasOwnProperty(X)&&te!=null)switch(X){case"checked":break;case"value":break;case"defaultValue":L=te;default:s.hasOwnProperty(X)||Qe(r,a,X,null,s,te)}}for(var V in s){var X=s[V];if(te=l[V],s.hasOwnProperty(V)&&(X!=null||te!=null))switch(V){case"type":y=X;break;case"name":d=X;break;case"checked":Y=X;break;case"defaultChecked":J=X;break;case"value":_=X;break;case"defaultValue":x=X;break;case"children":case"dangerouslySetInnerHTML":if(X!=null)throw Error(i(137,a));break;default:X!==te&&Qe(r,a,V,X,s,te)}}eh(r,_,x,L,Y,J,y,d);return;case"select":X=_=x=V=null;for(y in l)if(L=l[y],l.hasOwnProperty(y)&&L!=null)switch(y){case"value":break;case"multiple":X=L;default:s.hasOwnProperty(y)||Qe(r,a,y,null,s,L)}for(d in s)if(y=s[d],L=l[d],s.hasOwnProperty(d)&&(y!=null||L!=null))switch(d){case"value":V=y;break;case"defaultValue":x=y;break;case"multiple":_=y;default:y!==L&&Qe(r,a,d,y,s,L)}a=x,l=_,s=X,V!=null?Ba(r,!!l,V,!1):!!s!=!!l&&(a!=null?Ba(r,!!l,a,!0):Ba(r,!!l,l?[]:"",!1));return;case"textarea":X=V=null;for(x in l)if(d=l[x],l.hasOwnProperty(x)&&d!=null&&!s.hasOwnProperty(x))switch(x){case"value":break;case"children":break;default:Qe(r,a,x,null,s,d)}for(_ in s)if(d=s[_],y=l[_],s.hasOwnProperty(_)&&(d!=null||y!=null))switch(_){case"value":V=d;break;case"defaultValue":X=d;break;case"children":break;case"dangerouslySetInnerHTML":if(d!=null)throw Error(i(91));break;default:d!==y&&Qe(r,a,_,d,s,y)}em(r,V,X);return;case"option":for(var ge in l)if(V=l[ge],l.hasOwnProperty(ge)&&V!=null&&!s.hasOwnProperty(ge))switch(ge){case"selected":r.selected=!1;break;default:Qe(r,a,ge,null,s,V)}for(L in s)if(V=s[L],X=l[L],s.hasOwnProperty(L)&&V!==X&&(V!=null||X!=null))switch(L){case"selected":r.selected=V&&typeof V!="function"&&typeof V!="symbol";break;default:Qe(r,a,L,V,s,X)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var _e in l)V=l[_e],l.hasOwnProperty(_e)&&V!=null&&!s.hasOwnProperty(_e)&&Qe(r,a,_e,null,s,V);for(Y in s)if(V=s[Y],X=l[Y],s.hasOwnProperty(Y)&&V!==X&&(V!=null||X!=null))switch(Y){case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(i(137,a));break;default:Qe(r,a,Y,V,s,X)}return;default:if(nh(a)){for(var Xe in l)V=l[Xe],l.hasOwnProperty(Xe)&&V!==void 0&&!s.hasOwnProperty(Xe)&&Pd(r,a,Xe,void 0,s,V);for(J in s)V=s[J],X=l[J],!s.hasOwnProperty(J)||V===X||V===void 0&&X===void 0||Pd(r,a,J,V,s,X);return}}for(var B in l)V=l[B],l.hasOwnProperty(B)&&V!=null&&!s.hasOwnProperty(B)&&Qe(r,a,B,null,s,V);for(te in s)V=s[te],X=l[te],!s.hasOwnProperty(te)||V===X||V==null&&X==null||Qe(r,a,te,V,s,X)}function ib(r){switch(r){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function JO(){if(typeof performance.getEntriesByType=="function"){for(var r=0,a=0,l=performance.getEntriesByType("resource"),s=0;s<l.length;s++){var d=l[s],y=d.transferSize,_=d.initiatorType,x=d.duration;if(y&&x&&ib(_)){for(_=0,x=d.responseEnd,s+=1;s<l.length;s++){var L=l[s],Y=L.startTime;if(Y>x)break;var J=L.transferSize,te=L.initiatorType;J&&ib(te)&&(L=L.responseEnd,_+=J*(L<x?1:(x-Y)/(L-Y)))}if(--s,a+=8*(y+_)/(d.duration/1e3),r++,10<r)break}}if(0<r)return a/r/1e6}return navigator.connection&&(r=navigator.connection.downlink,typeof r=="number")?r:5}var $d=null,Yd=null;function Fs(r){return r.nodeType===9?r:r.ownerDocument}function ab(r){switch(r){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function ob(r,a){if(r===0)switch(a){case"svg":return 1;case"math":return 2;default:return 0}return r===1&&a==="foreignObject"?0:r}function Vd(r,a){return r==="textarea"||r==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var Fd=null;function WO(){var r=window.event;return r&&r.type==="popstate"?r===Fd?!1:(Fd=r,!0):(Fd=null,!1)}var lb=typeof setTimeout=="function"?setTimeout:void 0,e4=typeof clearTimeout=="function"?clearTimeout:void 0,ub=typeof Promise=="function"?Promise:void 0,t4=typeof queueMicrotask=="function"?queueMicrotask:typeof ub<"u"?function(r){return ub.resolve(null).then(r).catch(n4)}:lb;function n4(r){setTimeout(function(){throw r})}function pi(r){return r==="head"}function sb(r,a){var l=a,s=0;do{var d=l.nextSibling;if(r.removeChild(l),d&&d.nodeType===8)if(l=d.data,l==="/$"||l==="/&"){if(s===0){r.removeChild(d),So(a);return}s--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")s++;else if(l==="html")Fl(r.ownerDocument.documentElement);else if(l==="head"){l=r.ownerDocument.head,Fl(l);for(var y=l.firstChild;y;){var _=y.nextSibling,x=y.nodeName;y[cl]||x==="SCRIPT"||x==="STYLE"||x==="LINK"&&y.rel.toLowerCase()==="stylesheet"||l.removeChild(y),y=_}}else l==="body"&&Fl(r.ownerDocument.body);l=d}while(l);So(a)}function cb(r,a){var l=r;r=0;do{var s=l.nextSibling;if(l.nodeType===1?a?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(a?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),s&&s.nodeType===8)if(l=s.data,l==="/$"){if(r===0)break;r--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||r++;l=s}while(l)}function Gd(r){var a=r.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var l=a;switch(a=a.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Gd(l),Jf(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}r.removeChild(l)}}function r4(r,a,l,s){for(;r.nodeType===1;){var d=l;if(r.nodeName.toLowerCase()!==a.toLowerCase()){if(!s&&(r.nodeName!=="INPUT"||r.type!=="hidden"))break}else if(s){if(!r[cl])switch(a){case"meta":if(!r.hasAttribute("itemprop"))break;return r;case"link":if(y=r.getAttribute("rel"),y==="stylesheet"&&r.hasAttribute("data-precedence"))break;if(y!==d.rel||r.getAttribute("href")!==(d.href==null||d.href===""?null:d.href)||r.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin)||r.getAttribute("title")!==(d.title==null?null:d.title))break;return r;case"style":if(r.hasAttribute("data-precedence"))break;return r;case"script":if(y=r.getAttribute("src"),(y!==(d.src==null?null:d.src)||r.getAttribute("type")!==(d.type==null?null:d.type)||r.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin))&&y&&r.hasAttribute("async")&&!r.hasAttribute("itemprop"))break;return r;default:return r}}else if(a==="input"&&r.type==="hidden"){var y=d.name==null?null:""+d.name;if(d.type==="hidden"&&r.getAttribute("name")===y)return r}else return r;if(r=Mn(r.nextSibling),r===null)break}return null}function i4(r,a,l){if(a==="")return null;for(;r.nodeType!==3;)if((r.nodeType!==1||r.nodeName!=="INPUT"||r.type!=="hidden")&&!l||(r=Mn(r.nextSibling),r===null))return null;return r}function fb(r,a){for(;r.nodeType!==8;)if((r.nodeType!==1||r.nodeName!=="INPUT"||r.type!=="hidden")&&!a||(r=Mn(r.nextSibling),r===null))return null;return r}function Qd(r){return r.data==="$?"||r.data==="$~"}function Xd(r){return r.data==="$!"||r.data==="$?"&&r.ownerDocument.readyState!=="loading"}function a4(r,a){var l=r.ownerDocument;if(r.data==="$~")r._reactRetry=a;else if(r.data!=="$?"||l.readyState!=="loading")a();else{var s=function(){a(),l.removeEventListener("DOMContentLoaded",s)};l.addEventListener("DOMContentLoaded",s),r._reactRetry=s}}function Mn(r){for(;r!=null;r=r.nextSibling){var a=r.nodeType;if(a===1||a===3)break;if(a===8){if(a=r.data,a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"||a==="F!"||a==="F")break;if(a==="/$"||a==="/&")return null}}return r}var Kd=null;function hb(r){r=r.nextSibling;for(var a=0;r;){if(r.nodeType===8){var l=r.data;if(l==="/$"||l==="/&"){if(a===0)return Mn(r.nextSibling);a--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||a++}r=r.nextSibling}return null}function db(r){r=r.previousSibling;for(var a=0;r;){if(r.nodeType===8){var l=r.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(a===0)return r;a--}else l!=="/$"&&l!=="/&"||a++}r=r.previousSibling}return null}function gb(r,a,l){switch(a=Fs(l),r){case"html":if(r=a.documentElement,!r)throw Error(i(452));return r;case"head":if(r=a.head,!r)throw Error(i(453));return r;case"body":if(r=a.body,!r)throw Error(i(454));return r;default:throw Error(i(451))}}function Fl(r){for(var a=r.attributes;a.length;)r.removeAttributeNode(a[0]);Jf(r)}var Tn=new Map,pb=new Set;function Gs(r){return typeof r.getRootNode=="function"?r.getRootNode():r.nodeType===9?r:r.ownerDocument}var Cr=F.d;F.d={f:o4,r:l4,D:u4,C:s4,L:c4,m:f4,X:d4,S:h4,M:g4};function o4(){var r=Cr.f(),a=Us();return r||a}function l4(r){var a=Ua(r);a!==null&&a.tag===5&&a.type==="form"?Nv(a):Cr.r(r)}var mo=typeof document>"u"?null:document;function yb(r,a,l){var s=mo;if(s&&typeof a=="string"&&a){var d=yn(a);d='link[rel="'+r+'"][href="'+d+'"]',typeof l=="string"&&(d+='[crossorigin="'+l+'"]'),pb.has(d)||(pb.add(d),r={rel:r,crossOrigin:l,href:a},s.querySelector(d)===null&&(a=s.createElement("link"),Nt(a,"link",r),St(a),s.head.appendChild(a)))}}function u4(r){Cr.D(r),yb("dns-prefetch",r,null)}function s4(r,a){Cr.C(r,a),yb("preconnect",r,a)}function c4(r,a,l){Cr.L(r,a,l);var s=mo;if(s&&r&&a){var d='link[rel="preload"][as="'+yn(a)+'"]';a==="image"&&l&&l.imageSrcSet?(d+='[imagesrcset="'+yn(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(d+='[imagesizes="'+yn(l.imageSizes)+'"]')):d+='[href="'+yn(r)+'"]';var y=d;switch(a){case"style":y=vo(r);break;case"script":y=bo(r)}Tn.has(y)||(r=m({rel:"preload",href:a==="image"&&l&&l.imageSrcSet?void 0:r,as:a},l),Tn.set(y,r),s.querySelector(d)!==null||a==="style"&&s.querySelector(Gl(y))||a==="script"&&s.querySelector(Ql(y))||(a=s.createElement("link"),Nt(a,"link",r),St(a),s.head.appendChild(a)))}}function f4(r,a){Cr.m(r,a);var l=mo;if(l&&r){var s=a&&typeof a.as=="string"?a.as:"script",d='link[rel="modulepreload"][as="'+yn(s)+'"][href="'+yn(r)+'"]',y=d;switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":y=bo(r)}if(!Tn.has(y)&&(r=m({rel:"modulepreload",href:r},a),Tn.set(y,r),l.querySelector(d)===null)){switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Ql(y)))return}s=l.createElement("link"),Nt(s,"link",r),St(s),l.head.appendChild(s)}}}function h4(r,a,l){Cr.S(r,a,l);var s=mo;if(s&&r){var d=ja(s).hoistableStyles,y=vo(r);a=a||"default";var _=d.get(y);if(!_){var x={loading:0,preload:null};if(_=s.querySelector(Gl(y)))x.loading=5;else{r=m({rel:"stylesheet",href:r,"data-precedence":a},l),(l=Tn.get(y))&&Zd(r,l);var L=_=s.createElement("link");St(L),Nt(L,"link",r),L._p=new Promise(function(Y,J){L.onload=Y,L.onerror=J}),L.addEventListener("load",function(){x.loading|=1}),L.addEventListener("error",function(){x.loading|=2}),x.loading|=4,Qs(_,a,s)}_={type:"stylesheet",instance:_,count:1,state:x},d.set(y,_)}}}function d4(r,a){Cr.X(r,a);var l=mo;if(l&&r){var s=ja(l).hoistableScripts,d=bo(r),y=s.get(d);y||(y=l.querySelector(Ql(d)),y||(r=m({src:r,async:!0},a),(a=Tn.get(d))&&Jd(r,a),y=l.createElement("script"),St(y),Nt(y,"link",r),l.head.appendChild(y)),y={type:"script",instance:y,count:1,state:null},s.set(d,y))}}function g4(r,a){Cr.M(r,a);var l=mo;if(l&&r){var s=ja(l).hoistableScripts,d=bo(r),y=s.get(d);y||(y=l.querySelector(Ql(d)),y||(r=m({src:r,async:!0,type:"module"},a),(a=Tn.get(d))&&Jd(r,a),y=l.createElement("script"),St(y),Nt(y,"link",r),l.head.appendChild(y)),y={type:"script",instance:y,count:1,state:null},s.set(d,y))}}function mb(r,a,l,s){var d=(d=he.current)?Gs(d):null;if(!d)throw Error(i(446));switch(r){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(a=vo(l.href),l=ja(d).hoistableStyles,s=l.get(a),s||(s={type:"style",instance:null,count:0,state:null},l.set(a,s)),s):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){r=vo(l.href);var y=ja(d).hoistableStyles,_=y.get(r);if(_||(d=d.ownerDocument||d,_={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},y.set(r,_),(y=d.querySelector(Gl(r)))&&!y._p&&(_.instance=y,_.state.loading=5),Tn.has(r)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Tn.set(r,l),y||p4(d,r,l,_.state))),a&&s===null)throw Error(i(528,""));return _}if(a&&s!==null)throw Error(i(529,""));return null;case"script":return a=l.async,l=l.src,typeof l=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=bo(l),l=ja(d).hoistableScripts,s=l.get(a),s||(s={type:"script",instance:null,count:0,state:null},l.set(a,s)),s):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,r))}}function vo(r){return'href="'+yn(r)+'"'}function Gl(r){return'link[rel="stylesheet"]['+r+"]"}function vb(r){return m({},r,{"data-precedence":r.precedence,precedence:null})}function p4(r,a,l,s){r.querySelector('link[rel="preload"][as="style"]['+a+"]")?s.loading=1:(a=r.createElement("link"),s.preload=a,a.addEventListener("load",function(){return s.loading|=1}),a.addEventListener("error",function(){return s.loading|=2}),Nt(a,"link",l),St(a),r.head.appendChild(a))}function bo(r){return'[src="'+yn(r)+'"]'}function Ql(r){return"script[async]"+r}function bb(r,a,l){if(a.count++,a.instance===null)switch(a.type){case"style":var s=r.querySelector('style[data-href~="'+yn(l.href)+'"]');if(s)return a.instance=s,St(s),s;var d=m({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return s=(r.ownerDocument||r).createElement("style"),St(s),Nt(s,"style",d),Qs(s,l.precedence,r),a.instance=s;case"stylesheet":d=vo(l.href);var y=r.querySelector(Gl(d));if(y)return a.state.loading|=4,a.instance=y,St(y),y;s=vb(l),(d=Tn.get(d))&&Zd(s,d),y=(r.ownerDocument||r).createElement("link"),St(y);var _=y;return _._p=new Promise(function(x,L){_.onload=x,_.onerror=L}),Nt(y,"link",s),a.state.loading|=4,Qs(y,l.precedence,r),a.instance=y;case"script":return y=bo(l.src),(d=r.querySelector(Ql(y)))?(a.instance=d,St(d),d):(s=l,(d=Tn.get(y))&&(s=m({},l),Jd(s,d)),r=r.ownerDocument||r,d=r.createElement("script"),St(d),Nt(d,"link",s),r.head.appendChild(d),a.instance=d);case"void":return null;default:throw Error(i(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(s=a.instance,a.state.loading|=4,Qs(s,l.precedence,r));return a.instance}function Qs(r,a,l){for(var s=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),d=s.length?s[s.length-1]:null,y=d,_=0;_<s.length;_++){var x=s[_];if(x.dataset.precedence===a)y=x;else if(y!==d)break}y?y.parentNode.insertBefore(r,y.nextSibling):(a=l.nodeType===9?l.head:l,a.insertBefore(r,a.firstChild))}function Zd(r,a){r.crossOrigin==null&&(r.crossOrigin=a.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=a.referrerPolicy),r.title==null&&(r.title=a.title)}function Jd(r,a){r.crossOrigin==null&&(r.crossOrigin=a.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=a.referrerPolicy),r.integrity==null&&(r.integrity=a.integrity)}var Xs=null;function Sb(r,a,l){if(Xs===null){var s=new Map,d=Xs=new Map;d.set(l,s)}else d=Xs,s=d.get(l),s||(s=new Map,d.set(l,s));if(s.has(r))return s;for(s.set(r,null),l=l.getElementsByTagName(r),d=0;d<l.length;d++){var y=l[d];if(!(y[cl]||y[Ct]||r==="link"&&y.getAttribute("rel")==="stylesheet")&&y.namespaceURI!=="http://www.w3.org/2000/svg"){var _=y.getAttribute(a)||"";_=r+_;var x=s.get(_);x?x.push(y):s.set(_,[y])}}return s}function _b(r,a,l){r=r.ownerDocument||r,r.head.insertBefore(l,a==="title"?r.querySelector("head > title"):null)}function y4(r,a,l){if(l===1||a.itemProp!=null)return!1;switch(r){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;switch(a.rel){case"stylesheet":return r=a.disabled,typeof a.precedence=="string"&&r==null;default:return!0}case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function wb(r){return!(r.type==="stylesheet"&&(r.state.loading&3)===0)}function m4(r,a,l,s){if(l.type==="stylesheet"&&(typeof s.media!="string"||matchMedia(s.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var d=vo(s.href),y=a.querySelector(Gl(d));if(y){a=y._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(r.count++,r=Ks.bind(r),a.then(r,r)),l.state.loading|=4,l.instance=y,St(y);return}y=a.ownerDocument||a,s=vb(s),(d=Tn.get(d))&&Zd(s,d),y=y.createElement("link"),St(y);var _=y;_._p=new Promise(function(x,L){_.onload=x,_.onerror=L}),Nt(y,"link",s),l.instance=y}r.stylesheets===null&&(r.stylesheets=new Map),r.stylesheets.set(l,a),(a=l.state.preload)&&(l.state.loading&3)===0&&(r.count++,l=Ks.bind(r),a.addEventListener("load",l),a.addEventListener("error",l))}}var Wd=0;function v4(r,a){return r.stylesheets&&r.count===0&&Js(r,r.stylesheets),0<r.count||0<r.imgCount?function(l){var s=setTimeout(function(){if(r.stylesheets&&Js(r,r.stylesheets),r.unsuspend){var y=r.unsuspend;r.unsuspend=null,y()}},6e4+a);0<r.imgBytes&&Wd===0&&(Wd=62500*JO());var d=setTimeout(function(){if(r.waitingForImages=!1,r.count===0&&(r.stylesheets&&Js(r,r.stylesheets),r.unsuspend)){var y=r.unsuspend;r.unsuspend=null,y()}},(r.imgBytes>Wd?50:800)+a);return r.unsuspend=l,function(){r.unsuspend=null,clearTimeout(s),clearTimeout(d)}}:null}function Ks(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Js(this,this.stylesheets);else if(this.unsuspend){var r=this.unsuspend;this.unsuspend=null,r()}}}var Zs=null;function Js(r,a){r.stylesheets=null,r.unsuspend!==null&&(r.count++,Zs=new Map,a.forEach(b4,r),Zs=null,Ks.call(r))}function b4(r,a){if(!(a.state.loading&4)){var l=Zs.get(r);if(l)var s=l.get(null);else{l=new Map,Zs.set(r,l);for(var d=r.querySelectorAll("link[data-precedence],style[data-precedence]"),y=0;y<d.length;y++){var _=d[y];(_.nodeName==="LINK"||_.getAttribute("media")!=="not all")&&(l.set(_.dataset.precedence,_),s=_)}s&&l.set(null,s)}d=a.instance,_=d.getAttribute("data-precedence"),y=l.get(_)||s,y===s&&l.set(null,d),l.set(_,d),this.count++,s=Ks.bind(this),d.addEventListener("load",s),d.addEventListener("error",s),y?y.parentNode.insertBefore(d,y.nextSibling):(r=r.nodeType===9?r.head:r,r.insertBefore(d,r.firstChild)),a.state.loading|=4}}var Xl={$$typeof:k,Provider:null,Consumer:null,_currentValue:ie,_currentValue2:ie,_threadCount:0};function S4(r,a,l,s,d,y,_,x,L){this.tag=1,this.containerInfo=r,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Qf(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Qf(0),this.hiddenUpdates=Qf(null),this.identifierPrefix=s,this.onUncaughtError=d,this.onCaughtError=y,this.onRecoverableError=_,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=L,this.incompleteTransitions=new Map}function Mb(r,a,l,s,d,y,_,x,L,Y,J,te){return r=new S4(r,a,l,_,L,Y,J,te,x),a=1,y===!0&&(a|=24),y=nn(3,null,null,a),r.current=y,y.stateNode=r,a=Nh(),a.refCount++,r.pooledCache=a,a.refCount++,y.memoizedState={element:s,isDehydrated:l,cache:a},Ih(y),r}function Tb(r){return r?(r=Xa,r):Xa}function Eb(r,a,l,s,d,y){d=Tb(d),s.context===null?s.context=d:s.pendingContext=d,s=ii(a),s.payload={element:l},y=y===void 0?null:y,y!==null&&(s.callback=y),l=ai(r,s,a),l!==null&&(Gt(l,r,a),Ol(l,r,a))}function xb(r,a){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var l=r.retryLane;r.retryLane=l!==0&&l<a?l:a}}function eg(r,a){xb(r,a),(r=r.alternate)&&xb(r,a)}function Ob(r){if(r.tag===13||r.tag===31){var a=Vi(r,67108864);a!==null&&Gt(a,r,67108864),eg(r,67108864)}}function Cb(r){if(r.tag===13||r.tag===31){var a=un();a=Xf(a);var l=Vi(r,a);l!==null&&Gt(l,r,a),eg(r,a)}}var Ws=!0;function _4(r,a,l,s){var d=R.T;R.T=null;var y=F.p;try{F.p=2,tg(r,a,l,s)}finally{F.p=y,R.T=d}}function w4(r,a,l,s){var d=R.T;R.T=null;var y=F.p;try{F.p=8,tg(r,a,l,s)}finally{F.p=y,R.T=d}}function tg(r,a,l,s){if(Ws){var d=ng(s);if(d===null)Bd(r,a,s,ec,l),Ab(r,s);else if(T4(d,r,a,l,s))s.stopPropagation();else if(Ab(r,s),a&4&&-1<M4.indexOf(r)){for(;d!==null;){var y=Ua(d);if(y!==null)switch(y.tag){case 3:if(y=y.stateNode,y.current.memoizedState.isDehydrated){var _=Hi(y.pendingLanes);if(_!==0){var x=y;for(x.pendingLanes|=2,x.entangledLanes|=2;_;){var L=1<<31-en(_);x.entanglements[1]|=L,_&=~L}er(y),($e&6)===0&&(Is=Jt()+500,$l(0))}}break;case 31:case 13:x=Vi(y,2),x!==null&&Gt(x,y,2),Us(),eg(y,2)}if(y=ng(s),y===null&&Bd(r,a,s,ec,l),y===d)break;d=y}d!==null&&s.stopPropagation()}else Bd(r,a,s,null,l)}}function ng(r){return r=ih(r),rg(r)}var ec=null;function rg(r){if(ec=null,r=qa(r),r!==null){var a=u(r);if(a===null)r=null;else{var l=a.tag;if(l===13){if(r=c(a),r!==null)return r;r=null}else if(l===31){if(r=f(a),r!==null)return r;r=null}else if(l===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;r=null}else a!==r&&(r=null)}}return ec=r,null}function kb(r){switch(r){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(u5()){case qy:return 2;case Uy:return 8;case $u:case s5:return 32;case jy:return 268435456;default:return 32}default:return 32}}var ig=!1,yi=null,mi=null,vi=null,Kl=new Map,Zl=new Map,bi=[],M4="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Ab(r,a){switch(r){case"focusin":case"focusout":yi=null;break;case"dragenter":case"dragleave":mi=null;break;case"mouseover":case"mouseout":vi=null;break;case"pointerover":case"pointerout":Kl.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":Zl.delete(a.pointerId)}}function Jl(r,a,l,s,d,y){return r===null||r.nativeEvent!==y?(r={blockedOn:a,domEventName:l,eventSystemFlags:s,nativeEvent:y,targetContainers:[d]},a!==null&&(a=Ua(a),a!==null&&Ob(a)),r):(r.eventSystemFlags|=s,a=r.targetContainers,d!==null&&a.indexOf(d)===-1&&a.push(d),r)}function T4(r,a,l,s,d){switch(a){case"focusin":return yi=Jl(yi,r,a,l,s,d),!0;case"dragenter":return mi=Jl(mi,r,a,l,s,d),!0;case"mouseover":return vi=Jl(vi,r,a,l,s,d),!0;case"pointerover":var y=d.pointerId;return Kl.set(y,Jl(Kl.get(y)||null,r,a,l,s,d)),!0;case"gotpointercapture":return y=d.pointerId,Zl.set(y,Jl(Zl.get(y)||null,r,a,l,s,d)),!0}return!1}function Db(r){var a=qa(r.target);if(a!==null){var l=u(a);if(l!==null){if(a=l.tag,a===13){if(a=c(l),a!==null){r.blockedOn=a,Vy(r.priority,function(){Cb(l)});return}}else if(a===31){if(a=f(l),a!==null){r.blockedOn=a,Vy(r.priority,function(){Cb(l)});return}}else if(a===3&&l.stateNode.current.memoizedState.isDehydrated){r.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}r.blockedOn=null}function tc(r){if(r.blockedOn!==null)return!1;for(var a=r.targetContainers;0<a.length;){var l=ng(r.nativeEvent);if(l===null){l=r.nativeEvent;var s=new l.constructor(l.type,l);rh=s,l.target.dispatchEvent(s),rh=null}else return a=Ua(l),a!==null&&Ob(a),r.blockedOn=l,!1;a.shift()}return!0}function Nb(r,a,l){tc(r)&&l.delete(a)}function E4(){ig=!1,yi!==null&&tc(yi)&&(yi=null),mi!==null&&tc(mi)&&(mi=null),vi!==null&&tc(vi)&&(vi=null),Kl.forEach(Nb),Zl.forEach(Nb)}function nc(r,a){r.blockedOn===a&&(r.blockedOn=null,ig||(ig=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,E4)))}var rc=null;function Rb(r){rc!==r&&(rc=r,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){rc===r&&(rc=null);for(var a=0;a<r.length;a+=3){var l=r[a],s=r[a+1],d=r[a+2];if(typeof s!="function"){if(rg(s||l)===null)continue;break}var y=Ua(l);y!==null&&(r.splice(a,3),a-=3,nd(y,{pending:!0,data:d,method:l.method,action:s},s,d))}}))}function So(r){function a(L){return nc(L,r)}yi!==null&&nc(yi,r),mi!==null&&nc(mi,r),vi!==null&&nc(vi,r),Kl.forEach(a),Zl.forEach(a);for(var l=0;l<bi.length;l++){var s=bi[l];s.blockedOn===r&&(s.blockedOn=null)}for(;0<bi.length&&(l=bi[0],l.blockedOn===null);)Db(l),l.blockedOn===null&&bi.shift();if(l=(r.ownerDocument||r).$$reactFormReplay,l!=null)for(s=0;s<l.length;s+=3){var d=l[s],y=l[s+1],_=d[Bt]||null;if(typeof y=="function")_||Rb(l);else if(_){var x=null;if(y&&y.hasAttribute("formAction")){if(d=y,_=y[Bt]||null)x=_.formAction;else if(rg(d)!==null)continue}else x=_.action;typeof x=="function"?l[s+1]=x:(l.splice(s,3),s-=3),Rb(l)}}}function zb(){function r(y){y.canIntercept&&y.info==="react-transition"&&y.intercept({handler:function(){return new Promise(function(_){return d=_})},focusReset:"manual",scroll:"manual"})}function a(){d!==null&&(d(),d=null),s||setTimeout(l,20)}function l(){if(!s&&!navigation.transition){var y=navigation.currentEntry;y&&y.url!=null&&navigation.navigate(y.url,{state:y.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var s=!1,d=null;return navigation.addEventListener("navigate",r),navigation.addEventListener("navigatesuccess",a),navigation.addEventListener("navigateerror",a),setTimeout(l,100),function(){s=!0,navigation.removeEventListener("navigate",r),navigation.removeEventListener("navigatesuccess",a),navigation.removeEventListener("navigateerror",a),d!==null&&(d(),d=null)}}}function ag(r){this._internalRoot=r}ic.prototype.render=ag.prototype.render=function(r){var a=this._internalRoot;if(a===null)throw Error(i(409));var l=a.current,s=un();Eb(l,s,r,a,null,null)},ic.prototype.unmount=ag.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var a=r.containerInfo;Eb(r.current,2,null,r,null,null),Us(),a[Ia]=null}};function ic(r){this._internalRoot=r}ic.prototype.unstable_scheduleHydration=function(r){if(r){var a=Yy();r={blockedOn:null,target:r,priority:a};for(var l=0;l<bi.length&&a!==0&&a<bi[l].priority;l++);bi.splice(l,0,r),l===0&&Db(r)}};var Lb=t.version;if(Lb!=="19.2.4")throw Error(i(527,Lb,"19.2.4"));F.findDOMNode=function(r){var a=r._reactInternals;if(a===void 0)throw typeof r.render=="function"?Error(i(188)):(r=Object.keys(r).join(","),Error(i(268,r)));return r=g(a),r=r!==null?p(r):null,r=r===null?null:r.stateNode,r};var x4={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:R,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ac=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ac.isDisabled&&ac.supportsFiber)try{ll=ac.inject(x4),Wt=ac}catch{}}return eu.createRoot=function(r,a){if(!o(r))throw Error(i(299));var l=!1,s="",d=Pv,y=$v,_=Yv;return a!=null&&(a.unstable_strictMode===!0&&(l=!0),a.identifierPrefix!==void 0&&(s=a.identifierPrefix),a.onUncaughtError!==void 0&&(d=a.onUncaughtError),a.onCaughtError!==void 0&&(y=a.onCaughtError),a.onRecoverableError!==void 0&&(_=a.onRecoverableError)),a=Mb(r,1,!1,null,null,l,s,null,d,y,_,zb),r[Ia]=a.current,Hd(r),new ag(a)},eu.hydrateRoot=function(r,a,l){if(!o(r))throw Error(i(299));var s=!1,d="",y=Pv,_=$v,x=Yv,L=null;return l!=null&&(l.unstable_strictMode===!0&&(s=!0),l.identifierPrefix!==void 0&&(d=l.identifierPrefix),l.onUncaughtError!==void 0&&(y=l.onUncaughtError),l.onCaughtError!==void 0&&(_=l.onCaughtError),l.onRecoverableError!==void 0&&(x=l.onRecoverableError),l.formState!==void 0&&(L=l.formState)),a=Mb(r,1,!0,a,l??null,s,d,L,y,_,x,zb),a.context=Tb(null),l=a.current,s=un(),s=Xf(s),d=ii(s),d.callback=null,ai(l,d,s),l=s,a.current.lanes=l,sl(a,l),er(a),r[Ia]=a.current,Hd(r),new ic(a)},eu.version="19.2.4",eu}var Gb;function U4(){if(Gb)return sg.exports;Gb=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),sg.exports=q4(),sg.exports}var j4=U4();const D$=Zt(j4);var Wo=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},ha,xi,No,hT,H4=(hT=class extends Wo{constructor(){super();be(this,ha);be(this,xi);be(this,No);fe(this,No,t=>{if(typeof window<"u"&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){I(this,xi)||this.setEventListener(I(this,No))}onUnsubscribe(){var t;this.hasListeners()||((t=I(this,xi))==null||t.call(this),fe(this,xi,void 0))}setEventListener(t){var n;fe(this,No,t),(n=I(this,xi))==null||n.call(this),fe(this,xi,t(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(t){I(this,ha)!==t&&(fe(this,ha,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof I(this,ha)=="boolean"?I(this,ha):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},ha=new WeakMap,xi=new WeakMap,No=new WeakMap,hT),O1=new H4,B4={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},Oi,E1,dT,P4=(dT=class{constructor(){be(this,Oi,B4);be(this,E1,!1)}setTimeoutProvider(e){fe(this,Oi,e)}setTimeout(e,t){return I(this,Oi).setTimeout(e,t)}clearTimeout(e){I(this,Oi).clearTimeout(e)}setInterval(e,t){return I(this,Oi).setInterval(e,t)}clearInterval(e){I(this,Oi).clearInterval(e)}},Oi=new WeakMap,E1=new WeakMap,dT),sa=new P4;function $4(e){setTimeout(e,0)}var Y4=typeof window>"u"||"Deno"in globalThis;function An(){}function V4(e,t){return typeof e=="function"?e(t):e}function kp(e){return typeof e=="number"&&e>=0&&e!==1/0}function TT(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Li(e,t){return typeof e=="function"?e(t):e}function Dn(e,t){return typeof e=="function"?e(t):e}function Qb(e,t){const{type:n="all",exact:i,fetchStatus:o,predicate:u,queryKey:c,stale:f}=e;if(c){if(i){if(t.queryHash!==C1(c,t.options))return!1}else if(!mu(t.queryKey,c))return!1}if(n!=="all"){const h=t.isActive();if(n==="active"&&!h||n==="inactive"&&h)return!1}return!(typeof f=="boolean"&&t.isStale()!==f||o&&o!==t.state.fetchStatus||u&&!u(t))}function Xb(e,t){const{exact:n,status:i,predicate:o,mutationKey:u}=e;if(u){if(!t.options.mutationKey)return!1;if(n){if(Ma(t.options.mutationKey)!==Ma(u))return!1}else if(!mu(t.options.mutationKey,u))return!1}return!(i&&t.state.status!==i||o&&!o(t))}function C1(e,t){return((t==null?void 0:t.queryKeyHashFn)||Ma)(e)}function Ma(e){return JSON.stringify(e,(t,n)=>Ap(n)?Object.keys(n).sort().reduce((i,o)=>(i[o]=n[o],i),{}):n)}function mu(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>mu(e[n],t[n])):!1}var F4=Object.prototype.hasOwnProperty;function ET(e,t,n=0){if(e===t)return e;if(n>500)return t;const i=Kb(e)&&Kb(t);if(!i&&!(Ap(e)&&Ap(t)))return t;const u=(i?e:Object.keys(e)).length,c=i?t:Object.keys(t),f=c.length,h=i?new Array(f):{};let g=0;for(let p=0;p<f;p++){const m=i?p:c[p],v=e[m],S=t[m];if(v===S){h[m]=v,(i?p<u:F4.call(e,m))&&g++;continue}if(v===null||S===null||typeof v!="object"||typeof S!="object"){h[m]=S;continue}const M=ET(v,S,n+1);h[m]=M,M===v&&g++}return u===f&&g===u?e:h}function Hc(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function Kb(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Ap(e){if(!Zb(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Zb(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Zb(e){return Object.prototype.toString.call(e)==="[object Object]"}function G4(e){return new Promise(t=>{sa.setTimeout(t,e)})}function Dp(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?ET(e,t):t}function Q4(e,t,n=0){const i=[...e,t];return n&&i.length>n?i.slice(1):i}function X4(e,t,n=0){const i=[t,...e];return n&&i.length>n?i.slice(0,-1):i}var k1=Symbol();function xT(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===k1?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function N$(e,t){return typeof e=="function"?e(...t):!!e}function K4(e,t,n){let i=!1,o;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(o??(o=t()),i||(i=!0,o.aborted?n():o.addEventListener("abort",n,{once:!0})),o)}),e}var Bc=(()=>{let e=()=>Y4;return{isServer(){return e()},setIsServer(t){e=t}}})();function Np(){let e,t;const n=new Promise((o,u)=>{e=o,t=u});n.status="pending",n.catch(()=>{});function i(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{i({status:"fulfilled",value:o}),e(o)},n.reject=o=>{i({status:"rejected",reason:o}),t(o)},n}var Z4=$4;function J4(){let e=[],t=0,n=f=>{f()},i=f=>{f()},o=Z4;const u=f=>{t?e.push(f):o(()=>{n(f)})},c=()=>{const f=e;e=[],f.length&&o(()=>{i(()=>{f.forEach(h=>{n(h)})})})};return{batch:f=>{let h;t++;try{h=f()}finally{t--,t||c()}return h},batchCalls:f=>(...h)=>{u(()=>{f(...h)})},schedule:u,setNotifyFunction:f=>{n=f},setBatchNotifyFunction:f=>{i=f},setScheduler:f=>{o=f}}}var zt=J4(),Ro,Ci,zo,gT,W4=(gT=class extends Wo{constructor(){super();be(this,Ro,!0);be(this,Ci);be(this,zo);fe(this,zo,t=>{if(typeof window<"u"&&window.addEventListener){const n=()=>t(!0),i=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",i)}}})}onSubscribe(){I(this,Ci)||this.setEventListener(I(this,zo))}onUnsubscribe(){var t;this.hasListeners()||((t=I(this,Ci))==null||t.call(this),fe(this,Ci,void 0))}setEventListener(t){var n;fe(this,zo,t),(n=I(this,Ci))==null||n.call(this),fe(this,Ci,t(this.setOnline.bind(this)))}setOnline(t){I(this,Ro)!==t&&(fe(this,Ro,t),this.listeners.forEach(i=>{i(t)}))}isOnline(){return I(this,Ro)}},Ro=new WeakMap,Ci=new WeakMap,zo=new WeakMap,gT),Pc=new W4;function eC(e){return Math.min(1e3*2**e,3e4)}function OT(e){return(e??"online")==="online"?Pc.isOnline():!0}var Rp=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function CT(e){let t=!1,n=0,i;const o=Np(),u=()=>o.status!=="pending",c=b=>{var w;if(!u()){const E=new Rp(b);v(E),(w=e.onCancel)==null||w.call(e,E)}},f=()=>{t=!0},h=()=>{t=!1},g=()=>O1.isFocused()&&(e.networkMode==="always"||Pc.isOnline())&&e.canRun(),p=()=>OT(e.networkMode)&&e.canRun(),m=b=>{u()||(i==null||i(),o.resolve(b))},v=b=>{u()||(i==null||i(),o.reject(b))},S=()=>new Promise(b=>{var w;i=E=>{(u()||g())&&b(E)},(w=e.onPause)==null||w.call(e)}).then(()=>{var b;i=void 0,u()||(b=e.onContinue)==null||b.call(e)}),M=()=>{if(u())return;let b;const w=n===0?e.initialPromise:void 0;try{b=w??e.fn()}catch(E){b=Promise.reject(E)}Promise.resolve(b).then(m).catch(E=>{var O;if(u())return;const A=e.retry??(Bc.isServer()?0:3),k=e.retryDelay??eC,T=typeof k=="function"?k(n,E):k,C=A===!0||typeof A=="number"&&n<A||typeof A=="function"&&A(n,E);if(t||!C){v(E);return}n++,(O=e.onFail)==null||O.call(e,n,E),G4(T).then(()=>g()?void 0:S()).then(()=>{t?v(E):M()})})};return{promise:o,status:()=>o.status,cancel:c,continue:()=>(i==null||i(),o),cancelRetry:f,continueRetry:h,canStart:p,start:()=>(p()?M():S().then(M),o)}}var da,pT,kT=(pT=class{constructor(){be(this,da)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),kp(this.gcTime)&&fe(this,da,sa.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Bc.isServer()?1/0:300*1e3))}clearGcTimeout(){I(this,da)&&(sa.clearTimeout(I(this,da)),fe(this,da,void 0))}},da=new WeakMap,pT),ga,Lo,kn,pa,Mt,Au,ya,sn,AT,Nr,yT,tC=(yT=class extends kT{constructor(t){super();be(this,sn);be(this,ga);be(this,Lo);be(this,kn);be(this,pa);be(this,Mt);be(this,Au);be(this,ya);fe(this,ya,!1),fe(this,Au,t.defaultOptions),this.setOptions(t.options),this.observers=[],fe(this,pa,t.client),fe(this,kn,I(this,pa).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,fe(this,ga,Wb(this.options)),this.state=t.state??I(this,ga),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=I(this,Mt))==null?void 0:t.promise}setOptions(t){if(this.options={...I(this,Au),...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=Wb(this.options);n.data!==void 0&&(this.setState(Jb(n.data,n.dataUpdatedAt)),fe(this,ga,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&I(this,kn).remove(this)}setData(t,n){const i=Dp(this.state.data,t,this.options);return ke(this,sn,Nr).call(this,{data:i,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),i}setState(t,n){ke(this,sn,Nr).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var i,o;const n=(i=I(this,Mt))==null?void 0:i.promise;return(o=I(this,Mt))==null||o.cancel(t),n?n.then(An).catch(An):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return I(this,ga)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(t=>Dn(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===k1||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Li(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!TT(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(i=>i.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=I(this,Mt))==null||n.continue()}onOnline(){var n;const t=this.observers.find(i=>i.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=I(this,Mt))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),I(this,kn).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(I(this,Mt)&&(I(this,ya)||ke(this,sn,AT).call(this)?I(this,Mt).cancel({revert:!0}):I(this,Mt).cancelRetry()),this.scheduleGc()),I(this,kn).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||ke(this,sn,Nr).call(this,{type:"invalidate"})}async fetch(t,n){var h,g,p,m,v,S,M,b,w,E,A,k;if(this.state.fetchStatus!=="idle"&&((h=I(this,Mt))==null?void 0:h.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(I(this,Mt))return I(this,Mt).continueRetry(),I(this,Mt).promise}if(t&&this.setOptions(t),!this.options.queryFn){const T=this.observers.find(C=>C.options.queryFn);T&&this.setOptions(T.options)}const i=new AbortController,o=T=>{Object.defineProperty(T,"signal",{enumerable:!0,get:()=>(fe(this,ya,!0),i.signal)})},u=()=>{const T=xT(this.options,n),O=(()=>{const D={client:I(this,pa),queryKey:this.queryKey,meta:this.meta};return o(D),D})();return fe(this,ya,!1),this.options.persister?this.options.persister(T,O,this):T(O)},f=(()=>{const T={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:I(this,pa),state:this.state,fetchFn:u};return o(T),T})();(g=this.options.behavior)==null||g.onFetch(f,this),fe(this,Lo,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((p=f.fetchOptions)==null?void 0:p.meta))&&ke(this,sn,Nr).call(this,{type:"fetch",meta:(m=f.fetchOptions)==null?void 0:m.meta}),fe(this,Mt,CT({initialPromise:n==null?void 0:n.initialPromise,fn:f.fetchFn,onCancel:T=>{T instanceof Rp&&T.revert&&this.setState({...I(this,Lo),fetchStatus:"idle"}),i.abort()},onFail:(T,C)=>{ke(this,sn,Nr).call(this,{type:"failed",failureCount:T,error:C})},onPause:()=>{ke(this,sn,Nr).call(this,{type:"pause"})},onContinue:()=>{ke(this,sn,Nr).call(this,{type:"continue"})},retry:f.options.retry,retryDelay:f.options.retryDelay,networkMode:f.options.networkMode,canRun:()=>!0}));try{const T=await I(this,Mt).start();if(T===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(T),(S=(v=I(this,kn).config).onSuccess)==null||S.call(v,T,this),(b=(M=I(this,kn).config).onSettled)==null||b.call(M,T,this.state.error,this),T}catch(T){if(T instanceof Rp){if(T.silent)return I(this,Mt).promise;if(T.revert){if(this.state.data===void 0)throw T;return this.state.data}}throw ke(this,sn,Nr).call(this,{type:"error",error:T}),(E=(w=I(this,kn).config).onError)==null||E.call(w,T,this),(k=(A=I(this,kn).config).onSettled)==null||k.call(A,this.state.data,T,this),T}finally{this.scheduleGc()}}},ga=new WeakMap,Lo=new WeakMap,kn=new WeakMap,pa=new WeakMap,Mt=new WeakMap,Au=new WeakMap,ya=new WeakMap,sn=new WeakSet,AT=function(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"},Nr=function(t){const n=i=>{switch(t.type){case"failed":return{...i,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...DT(i.data,this.options),fetchMeta:t.meta??null};case"success":const o={...i,...Jb(t.data,t.dataUpdatedAt),dataUpdateCount:i.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return fe(this,Lo,t.manual?o:void 0),o;case"error":const u=t.error;return{...i,error:u,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:u,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...t.state}}};this.state=n(this.state),zt.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),I(this,kn).notify({query:this,type:"updated",action:t})})},yT);function DT(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:OT(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Jb(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Wb(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,i=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Qt,je,Du,jt,ma,Io,zr,ki,Nu,qo,Uo,va,ba,Ai,jo,Ye,hu,zp,Lp,Ip,qp,Up,jp,Hp,NT,mT,nC=(mT=class extends Wo{constructor(t,n){super();be(this,Ye);be(this,Qt);be(this,je);be(this,Du);be(this,jt);be(this,ma);be(this,Io);be(this,zr);be(this,ki);be(this,Nu);be(this,qo);be(this,Uo);be(this,va);be(this,ba);be(this,Ai);be(this,jo,new Set);this.options=n,fe(this,Qt,t),fe(this,ki,null),fe(this,zr,Np()),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(I(this,je).addObserver(this),eS(I(this,je),this.options)?ke(this,Ye,hu).call(this):this.updateResult(),ke(this,Ye,qp).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Bp(I(this,je),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Bp(I(this,je),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,ke(this,Ye,Up).call(this),ke(this,Ye,jp).call(this),I(this,je).removeObserver(this)}setOptions(t){const n=this.options,i=I(this,je);if(this.options=I(this,Qt).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Dn(this.options.enabled,I(this,je))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");ke(this,Ye,Hp).call(this),I(this,je).setOptions(this.options),n._defaulted&&!Hc(this.options,n)&&I(this,Qt).getQueryCache().notify({type:"observerOptionsUpdated",query:I(this,je),observer:this});const o=this.hasListeners();o&&tS(I(this,je),i,this.options,n)&&ke(this,Ye,hu).call(this),this.updateResult(),o&&(I(this,je)!==i||Dn(this.options.enabled,I(this,je))!==Dn(n.enabled,I(this,je))||Li(this.options.staleTime,I(this,je))!==Li(n.staleTime,I(this,je)))&&ke(this,Ye,zp).call(this);const u=ke(this,Ye,Lp).call(this);o&&(I(this,je)!==i||Dn(this.options.enabled,I(this,je))!==Dn(n.enabled,I(this,je))||u!==I(this,Ai))&&ke(this,Ye,Ip).call(this,u)}getOptimisticResult(t){const n=I(this,Qt).getQueryCache().build(I(this,Qt),t),i=this.createResult(n,t);return iC(this,i)&&(fe(this,jt,i),fe(this,Io,this.options),fe(this,ma,I(this,je).state)),i}getCurrentResult(){return I(this,jt)}trackResult(t,n){return new Proxy(t,{get:(i,o)=>(this.trackProp(o),n==null||n(o),o==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&I(this,zr).status==="pending"&&I(this,zr).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(i,o))})}trackProp(t){I(this,jo).add(t)}getCurrentQuery(){return I(this,je)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=I(this,Qt).defaultQueryOptions(t),i=I(this,Qt).getQueryCache().build(I(this,Qt),n);return i.fetch().then(()=>this.createResult(i,n))}fetch(t){return ke(this,Ye,hu).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),I(this,jt)))}createResult(t,n){var P;const i=I(this,je),o=this.options,u=I(this,jt),c=I(this,ma),f=I(this,Io),g=t!==i?t.state:I(this,Du),{state:p}=t;let m={...p},v=!1,S;if(n._optimisticResults){const Z=this.hasListeners(),W=!Z&&eS(t,n),G=Z&&tS(t,i,n,o);(W||G)&&(m={...m,...DT(p.data,t.options)}),n._optimisticResults==="isRestoring"&&(m.fetchStatus="idle")}let{error:M,errorUpdatedAt:b,status:w}=m;S=m.data;let E=!1;if(n.placeholderData!==void 0&&S===void 0&&w==="pending"){let Z;u!=null&&u.isPlaceholderData&&n.placeholderData===(f==null?void 0:f.placeholderData)?(Z=u.data,E=!0):Z=typeof n.placeholderData=="function"?n.placeholderData((P=I(this,Uo))==null?void 0:P.state.data,I(this,Uo)):n.placeholderData,Z!==void 0&&(w="success",S=Dp(u==null?void 0:u.data,Z,n),v=!0)}if(n.select&&S!==void 0&&!E)if(u&&S===(c==null?void 0:c.data)&&n.select===I(this,Nu))S=I(this,qo);else try{fe(this,Nu,n.select),S=n.select(S),S=Dp(u==null?void 0:u.data,S,n),fe(this,qo,S),fe(this,ki,null)}catch(Z){fe(this,ki,Z)}I(this,ki)&&(M=I(this,ki),S=I(this,qo),b=Date.now(),w="error");const A=m.fetchStatus==="fetching",k=w==="pending",T=w==="error",C=k&&A,O=S!==void 0,N={status:w,fetchStatus:m.fetchStatus,isPending:k,isSuccess:w==="success",isError:T,isInitialLoading:C,isLoading:C,data:S,dataUpdatedAt:m.dataUpdatedAt,error:M,errorUpdatedAt:b,failureCount:m.fetchFailureCount,failureReason:m.fetchFailureReason,errorUpdateCount:m.errorUpdateCount,isFetched:t.isFetched(),isFetchedAfterMount:m.dataUpdateCount>g.dataUpdateCount||m.errorUpdateCount>g.errorUpdateCount,isFetching:A,isRefetching:A&&!k,isLoadingError:T&&!O,isPaused:m.fetchStatus==="paused",isPlaceholderData:v,isRefetchError:T&&O,isStale:A1(t,n),refetch:this.refetch,promise:I(this,zr),isEnabled:Dn(n.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const Z=N.data!==void 0,W=N.status==="error"&&!Z,G=re=>{W?re.reject(N.error):Z&&re.resolve(N.data)},ue=()=>{const re=fe(this,zr,N.promise=Np());G(re)},q=I(this,zr);switch(q.status){case"pending":t.queryHash===i.queryHash&&G(q);break;case"fulfilled":(W||N.data!==q.value)&&ue();break;case"rejected":(!W||N.error!==q.reason)&&ue();break}}return N}updateResult(){const t=I(this,jt),n=this.createResult(I(this,je),this.options);if(fe(this,ma,I(this,je).state),fe(this,Io,this.options),I(this,ma).data!==void 0&&fe(this,Uo,I(this,je)),Hc(n,t))return;fe(this,jt,n);const i=()=>{if(!t)return!0;const{notifyOnChangeProps:o}=this.options,u=typeof o=="function"?o():o;if(u==="all"||!u&&!I(this,jo).size)return!0;const c=new Set(u??I(this,jo));return this.options.throwOnError&&c.add("error"),Object.keys(I(this,jt)).some(f=>{const h=f;return I(this,jt)[h]!==t[h]&&c.has(h)})};ke(this,Ye,NT).call(this,{listeners:i()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&ke(this,Ye,qp).call(this)}},Qt=new WeakMap,je=new WeakMap,Du=new WeakMap,jt=new WeakMap,ma=new WeakMap,Io=new WeakMap,zr=new WeakMap,ki=new WeakMap,Nu=new WeakMap,qo=new WeakMap,Uo=new WeakMap,va=new WeakMap,ba=new WeakMap,Ai=new WeakMap,jo=new WeakMap,Ye=new WeakSet,hu=function(t){ke(this,Ye,Hp).call(this);let n=I(this,je).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(An)),n},zp=function(){ke(this,Ye,Up).call(this);const t=Li(this.options.staleTime,I(this,je));if(Bc.isServer()||I(this,jt).isStale||!kp(t))return;const i=TT(I(this,jt).dataUpdatedAt,t)+1;fe(this,va,sa.setTimeout(()=>{I(this,jt).isStale||this.updateResult()},i))},Lp=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(I(this,je)):this.options.refetchInterval)??!1},Ip=function(t){ke(this,Ye,jp).call(this),fe(this,Ai,t),!(Bc.isServer()||Dn(this.options.enabled,I(this,je))===!1||!kp(I(this,Ai))||I(this,Ai)===0)&&fe(this,ba,sa.setInterval(()=>{(this.options.refetchIntervalInBackground||O1.isFocused())&&ke(this,Ye,hu).call(this)},I(this,Ai)))},qp=function(){ke(this,Ye,zp).call(this),ke(this,Ye,Ip).call(this,ke(this,Ye,Lp).call(this))},Up=function(){I(this,va)&&(sa.clearTimeout(I(this,va)),fe(this,va,void 0))},jp=function(){I(this,ba)&&(sa.clearInterval(I(this,ba)),fe(this,ba,void 0))},Hp=function(){const t=I(this,Qt).getQueryCache().build(I(this,Qt),this.options);if(t===I(this,je))return;const n=I(this,je);fe(this,je,t),fe(this,Du,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},NT=function(t){zt.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(I(this,jt))}),I(this,Qt).getQueryCache().notify({query:I(this,je),type:"observerResultsUpdated"})})},mT);function rC(e,t){return Dn(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function eS(e,t){return rC(e,t)||e.state.data!==void 0&&Bp(e,t,t.refetchOnMount)}function Bp(e,t,n){if(Dn(t.enabled,e)!==!1&&Li(t.staleTime,e)!=="static"){const i=typeof n=="function"?n(e):n;return i==="always"||i!==!1&&A1(e,t)}return!1}function tS(e,t,n,i){return(e!==t||Dn(i.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&A1(e,n)}function A1(e,t){return Dn(t.enabled,e)!==!1&&e.isStaleByTime(Li(t.staleTime,e))}function iC(e,t){return!Hc(e.getCurrentResult(),t)}function $c(e){return{onFetch:(t,n)=>{var p,m,v,S,M;const i=t.options,o=(v=(m=(p=t.fetchOptions)==null?void 0:p.meta)==null?void 0:m.fetchMore)==null?void 0:v.direction,u=((S=t.state.data)==null?void 0:S.pages)||[],c=((M=t.state.data)==null?void 0:M.pageParams)||[];let f={pages:[],pageParams:[]},h=0;const g=async()=>{let b=!1;const w=k=>{K4(k,()=>t.signal,()=>b=!0)},E=xT(t.options,t.fetchOptions),A=async(k,T,C)=>{if(b)return Promise.reject();if(T==null&&k.pages.length)return Promise.resolve(k);const D=(()=>{const W={client:t.client,queryKey:t.queryKey,pageParam:T,direction:C?"backward":"forward",meta:t.options.meta};return w(W),W})(),N=await E(D),{maxPages:P}=t.options,Z=C?X4:Q4;return{pages:Z(k.pages,N,P),pageParams:Z(k.pageParams,T,P)}};if(o&&u.length){const k=o==="backward",T=k?RT:Pp,C={pages:u,pageParams:c},O=T(i,C);f=await A(C,O,k)}else{const k=e??u.length;do{const T=h===0?c[0]??i.initialPageParam:Pp(i,f);if(h>0&&T==null)break;f=await A(f,T),h++}while(h<k)}return f};t.options.persister?t.fetchFn=()=>{var b,w;return(w=(b=t.options).persister)==null?void 0:w.call(b,g,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=g}}}function Pp(e,{pages:t,pageParams:n}){const i=t.length-1;return t.length>0?e.getNextPageParam(t[i],t,n[i],n):void 0}function RT(e,{pages:t,pageParams:n}){var i;return t.length>0?(i=e.getPreviousPageParam)==null?void 0:i.call(e,t[0],t,n[0],n):void 0}function aC(e,t){return t?Pp(e,t)!=null:!1}function oC(e,t){return!t||!e.getPreviousPageParam?!1:RT(e,t)!=null}var R$=class extends nC{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){super.setOptions({...e,behavior:$c()})}getOptimisticResult(e){return e.behavior=$c(),super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){var M,b;const{state:n}=e,i=super.createResult(e,t),{isFetching:o,isRefetching:u,isError:c,isRefetchError:f}=i,h=(b=(M=n.fetchMeta)==null?void 0:M.fetchMore)==null?void 0:b.direction,g=c&&h==="forward",p=o&&h==="forward",m=c&&h==="backward",v=o&&h==="backward";return{...i,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:aC(t,n.data),hasPreviousPage:oC(t,n.data),isFetchNextPageError:g,isFetchingNextPage:p,isFetchPreviousPageError:m,isFetchingPreviousPage:v,isRefetchError:f&&!g&&!m,isRefetching:u&&!p&&!v}}},Ru,rr,qt,Sa,ir,Ti,vT,lC=(vT=class extends kT{constructor(t){super();be(this,ir);be(this,Ru);be(this,rr);be(this,qt);be(this,Sa);fe(this,Ru,t.client),this.mutationId=t.mutationId,fe(this,qt,t.mutationCache),fe(this,rr,[]),this.state=t.state||zT(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){I(this,rr).includes(t)||(I(this,rr).push(t),this.clearGcTimeout(),I(this,qt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){fe(this,rr,I(this,rr).filter(n=>n!==t)),this.scheduleGc(),I(this,qt).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){I(this,rr).length||(this.state.status==="pending"?this.scheduleGc():I(this,qt).remove(this))}continue(){var t;return((t=I(this,Sa))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var c,f,h,g,p,m,v,S,M,b,w,E,A,k,T,C,O,D;const n=()=>{ke(this,ir,Ti).call(this,{type:"continue"})},i={client:I(this,Ru),meta:this.options.meta,mutationKey:this.options.mutationKey};fe(this,Sa,CT({fn:()=>this.options.mutationFn?this.options.mutationFn(t,i):Promise.reject(new Error("No mutationFn found")),onFail:(N,P)=>{ke(this,ir,Ti).call(this,{type:"failed",failureCount:N,error:P})},onPause:()=>{ke(this,ir,Ti).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>I(this,qt).canRun(this)}));const o=this.state.status==="pending",u=!I(this,Sa).canStart();try{if(o)n();else{ke(this,ir,Ti).call(this,{type:"pending",variables:t,isPaused:u}),I(this,qt).config.onMutate&&await I(this,qt).config.onMutate(t,this,i);const P=await((f=(c=this.options).onMutate)==null?void 0:f.call(c,t,i));P!==this.state.context&&ke(this,ir,Ti).call(this,{type:"pending",context:P,variables:t,isPaused:u})}const N=await I(this,Sa).start();return await((g=(h=I(this,qt).config).onSuccess)==null?void 0:g.call(h,N,t,this.state.context,this,i)),await((m=(p=this.options).onSuccess)==null?void 0:m.call(p,N,t,this.state.context,i)),await((S=(v=I(this,qt).config).onSettled)==null?void 0:S.call(v,N,null,this.state.variables,this.state.context,this,i)),await((b=(M=this.options).onSettled)==null?void 0:b.call(M,N,null,t,this.state.context,i)),ke(this,ir,Ti).call(this,{type:"success",data:N}),N}catch(N){try{await((E=(w=I(this,qt).config).onError)==null?void 0:E.call(w,N,t,this.state.context,this,i))}catch(P){Promise.reject(P)}try{await((k=(A=this.options).onError)==null?void 0:k.call(A,N,t,this.state.context,i))}catch(P){Promise.reject(P)}try{await((C=(T=I(this,qt).config).onSettled)==null?void 0:C.call(T,void 0,N,this.state.variables,this.state.context,this,i))}catch(P){Promise.reject(P)}try{await((D=(O=this.options).onSettled)==null?void 0:D.call(O,void 0,N,t,this.state.context,i))}catch(P){Promise.reject(P)}throw ke(this,ir,Ti).call(this,{type:"error",error:N}),N}finally{I(this,qt).runNext(this)}}},Ru=new WeakMap,rr=new WeakMap,qt=new WeakMap,Sa=new WeakMap,ir=new WeakSet,Ti=function(t){const n=i=>{switch(t.type){case"failed":return{...i,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...i,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:t.error,failureCount:i.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),zt.batch(()=>{I(this,rr).forEach(i=>{i.onMutationUpdate(t)}),I(this,qt).notify({mutation:this,type:"updated",action:t})})},vT);function zT(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Lr,$n,zu,bT,uC=(bT=class extends Wo{constructor(t={}){super();be(this,Lr);be(this,$n);be(this,zu);this.config=t,fe(this,Lr,new Set),fe(this,$n,new Map),fe(this,zu,0)}build(t,n,i){const o=new lC({client:t,mutationCache:this,mutationId:++oc(this,zu)._,options:t.defaultMutationOptions(n),state:i});return this.add(o),o}add(t){I(this,Lr).add(t);const n=lc(t);if(typeof n=="string"){const i=I(this,$n).get(n);i?i.push(t):I(this,$n).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(I(this,Lr).delete(t)){const n=lc(t);if(typeof n=="string"){const i=I(this,$n).get(n);if(i)if(i.length>1){const o=i.indexOf(t);o!==-1&&i.splice(o,1)}else i[0]===t&&I(this,$n).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=lc(t);if(typeof n=="string"){const i=I(this,$n).get(n),o=i==null?void 0:i.find(u=>u.state.status==="pending");return!o||o===t}else return!0}runNext(t){var i;const n=lc(t);if(typeof n=="string"){const o=(i=I(this,$n).get(n))==null?void 0:i.find(u=>u!==t&&u.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){zt.batch(()=>{I(this,Lr).forEach(t=>{this.notify({type:"removed",mutation:t})}),I(this,Lr).clear(),I(this,$n).clear()})}getAll(){return Array.from(I(this,Lr))}find(t){const n={exact:!0,...t};return this.getAll().find(i=>Xb(n,i))}findAll(t={}){return this.getAll().filter(n=>Xb(t,n))}notify(t){zt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return zt.batch(()=>Promise.all(t.map(n=>n.continue().catch(An))))}},Lr=new WeakMap,$n=new WeakMap,zu=new WeakMap,bT);function lc(e){var t;return(t=e.options.scope)==null?void 0:t.id}var Ir,Di,Xt,qr,$r,Oc,$p,ST,z$=(ST=class extends Wo{constructor(n,i){super();be(this,$r);be(this,Ir);be(this,Di);be(this,Xt);be(this,qr);fe(this,Ir,n),this.setOptions(i),this.bindMethods(),ke(this,$r,Oc).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(n){var o;const i=this.options;this.options=I(this,Ir).defaultMutationOptions(n),Hc(this.options,i)||I(this,Ir).getMutationCache().notify({type:"observerOptionsUpdated",mutation:I(this,Xt),observer:this}),i!=null&&i.mutationKey&&this.options.mutationKey&&Ma(i.mutationKey)!==Ma(this.options.mutationKey)?this.reset():((o=I(this,Xt))==null?void 0:o.state.status)==="pending"&&I(this,Xt).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=I(this,Xt))==null||n.removeObserver(this)}onMutationUpdate(n){ke(this,$r,Oc).call(this),ke(this,$r,$p).call(this,n)}getCurrentResult(){return I(this,Di)}reset(){var n;(n=I(this,Xt))==null||n.removeObserver(this),fe(this,Xt,void 0),ke(this,$r,Oc).call(this),ke(this,$r,$p).call(this)}mutate(n,i){var o;return fe(this,qr,i),(o=I(this,Xt))==null||o.removeObserver(this),fe(this,Xt,I(this,Ir).getMutationCache().build(I(this,Ir),this.options)),I(this,Xt).addObserver(this),I(this,Xt).execute(n)}},Ir=new WeakMap,Di=new WeakMap,Xt=new WeakMap,qr=new WeakMap,$r=new WeakSet,Oc=function(){var i;const n=((i=I(this,Xt))==null?void 0:i.state)??zT();fe(this,Di,{...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset})},$p=function(n){zt.batch(()=>{var i,o,u,c,f,h,g,p;if(I(this,qr)&&this.hasListeners()){const m=I(this,Di).variables,v=I(this,Di).context,S={client:I(this,Ir),meta:this.options.meta,mutationKey:this.options.mutationKey};if((n==null?void 0:n.type)==="success"){try{(o=(i=I(this,qr)).onSuccess)==null||o.call(i,n.data,m,v,S)}catch(M){Promise.reject(M)}try{(c=(u=I(this,qr)).onSettled)==null||c.call(u,n.data,null,m,v,S)}catch(M){Promise.reject(M)}}else if((n==null?void 0:n.type)==="error"){try{(h=(f=I(this,qr)).onError)==null||h.call(f,n.error,m,v,S)}catch(M){Promise.reject(M)}try{(p=(g=I(this,qr)).onSettled)==null||p.call(g,void 0,n.error,m,v,S)}catch(M){Promise.reject(M)}}}this.listeners.forEach(m=>{m(I(this,Di))})})},ST),ar,_T,sC=(_T=class extends Wo{constructor(t={}){super();be(this,ar);this.config=t,fe(this,ar,new Map)}build(t,n,i){const o=n.queryKey,u=n.queryHash??C1(o,n);let c=this.get(u);return c||(c=new tC({client:t,queryKey:o,queryHash:u,options:t.defaultQueryOptions(n),state:i,defaultOptions:t.getQueryDefaults(o)}),this.add(c)),c}add(t){I(this,ar).has(t.queryHash)||(I(this,ar).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=I(this,ar).get(t.queryHash);n&&(t.destroy(),n===t&&I(this,ar).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){zt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return I(this,ar).get(t)}getAll(){return[...I(this,ar).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(i=>Qb(n,i))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(i=>Qb(t,i)):n}notify(t){zt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){zt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){zt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},ar=new WeakMap,_T),ut,Ni,Ri,Ho,Bo,zi,Po,$o,wT,I$=(wT=class{constructor(e={}){be(this,ut);be(this,Ni);be(this,Ri);be(this,Ho);be(this,Bo);be(this,zi);be(this,Po);be(this,$o);fe(this,ut,e.queryCache||new sC),fe(this,Ni,e.mutationCache||new uC),fe(this,Ri,e.defaultOptions||{}),fe(this,Ho,new Map),fe(this,Bo,new Map),fe(this,zi,0)}mount(){oc(this,zi)._++,I(this,zi)===1&&(fe(this,Po,O1.subscribe(async e=>{e&&(await this.resumePausedMutations(),I(this,ut).onFocus())})),fe(this,$o,Pc.subscribe(async e=>{e&&(await this.resumePausedMutations(),I(this,ut).onOnline())})))}unmount(){var e,t;oc(this,zi)._--,I(this,zi)===0&&((e=I(this,Po))==null||e.call(this),fe(this,Po,void 0),(t=I(this,$o))==null||t.call(this),fe(this,$o,void 0))}isFetching(e){return I(this,ut).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return I(this,Ni).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=I(this,ut).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=I(this,ut).build(this,t),i=n.state.data;return i===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Li(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(i))}getQueriesData(e){return I(this,ut).findAll(e).map(({queryKey:t,state:n})=>{const i=n.data;return[t,i]})}setQueryData(e,t,n){const i=this.defaultQueryOptions({queryKey:e}),o=I(this,ut).get(i.queryHash),u=o==null?void 0:o.state.data,c=V4(t,u);if(c!==void 0)return I(this,ut).build(this,i).setData(c,{...n,manual:!0})}setQueriesData(e,t,n){return zt.batch(()=>I(this,ut).findAll(e).map(({queryKey:i})=>[i,this.setQueryData(i,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=I(this,ut).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=I(this,ut);zt.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=I(this,ut);return zt.batch(()=>(n.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},i=zt.batch(()=>I(this,ut).findAll(e).map(o=>o.cancel(n)));return Promise.all(i).then(An).catch(An)}invalidateQueries(e,t={}){return zt.batch(()=>(I(this,ut).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},i=zt.batch(()=>I(this,ut).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let u=o.fetch(void 0,n);return n.throwOnError||(u=u.catch(An)),o.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(i).then(An)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=I(this,ut).build(this,t);return n.isStaleByTime(Li(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(An).catch(An)}fetchInfiniteQuery(e){return e.behavior=$c(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(An).catch(An)}ensureInfiniteQueryData(e){return e.behavior=$c(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Pc.isOnline()?I(this,Ni).resumePausedMutations():Promise.resolve()}getQueryCache(){return I(this,ut)}getMutationCache(){return I(this,Ni)}getDefaultOptions(){return I(this,Ri)}setDefaultOptions(e){fe(this,Ri,e)}setQueryDefaults(e,t){I(this,Ho).set(Ma(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...I(this,Ho).values()],n={};return t.forEach(i=>{mu(e,i.queryKey)&&Object.assign(n,i.defaultOptions)}),n}setMutationDefaults(e,t){I(this,Bo).set(Ma(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...I(this,Bo).values()],n={};return t.forEach(i=>{mu(e,i.mutationKey)&&Object.assign(n,i.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...I(this,Ri).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=C1(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===k1&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...I(this,Ri).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){I(this,ut).clear(),I(this,Ni).clear()}},ut=new WeakMap,Ni=new WeakMap,Ri=new WeakMap,Ho=new WeakMap,Bo=new WeakMap,zi=new WeakMap,Po=new WeakMap,$o=new WeakMap,wT),dg={exports:{}},gg={};/**
|
|
50
50
|
* @license React
|
|
51
51
|
* use-sync-external-store-with-selector.production.js
|
|
52
52
|
*
|
|
@@ -54,7 +54,7 @@ Error generating stack: `+s.message+`
|
|
|
54
54
|
*
|
|
55
55
|
* This source code is licensed under the MIT license found in the
|
|
56
56
|
* LICENSE file in the root directory of this source tree.
|
|
57
|
-
*/var nS;function cC(){if(nS)return gg;nS=1;var e=Jo();function t(h,g){return h===g&&(h!==0||1/h===1/g)||h!==h&&g!==g}var n=typeof Object.is=="function"?Object.is:t,i=e.useSyncExternalStore,o=e.useRef,u=e.useEffect,c=e.useMemo,f=e.useDebugValue;return gg.useSyncExternalStoreWithSelector=function(h,g,p,m,v){var S=o(null);if(S.current===null){var M={hasValue:!1,value:null};S.current=M}else M=S.current;S=c(function(){function w(C){if(!E){if(E=!0,A=C,C=m(C),v!==void 0&&M.hasValue){var O=M.value;if(v(O,C))return k=O}return k=C}if(O=k,n(A,C))return O;var D=m(C);return v!==void 0&&v(O,D)?(A=C,O):(A=C,k=D)}var E=!1,A,k,T=p===void 0?null:p;return[function(){return w(g())},T===null?void 0:function(){return w(T())}]},[g,p,m,v]);var b=i(h,S[0],S[1]);return u(function(){M.hasValue=!0,M.value=b},[b]),f(b),b},gg}var rS;function fC(){return rS||(rS=1,dg.exports=cC()),dg.exports}var
|
|
57
|
+
*/var nS;function cC(){if(nS)return gg;nS=1;var e=Jo();function t(h,g){return h===g&&(h!==0||1/h===1/g)||h!==h&&g!==g}var n=typeof Object.is=="function"?Object.is:t,i=e.useSyncExternalStore,o=e.useRef,u=e.useEffect,c=e.useMemo,f=e.useDebugValue;return gg.useSyncExternalStoreWithSelector=function(h,g,p,m,v){var S=o(null);if(S.current===null){var M={hasValue:!1,value:null};S.current=M}else M=S.current;S=c(function(){function w(C){if(!E){if(E=!0,A=C,C=m(C),v!==void 0&&M.hasValue){var O=M.value;if(v(O,C))return k=O}return k=C}if(O=k,n(A,C))return O;var D=m(C);return v!==void 0&&v(O,D)?(A=C,O):(A=C,k=D)}var E=!1,A,k,T=p===void 0?null:p;return[function(){return w(g())},T===null?void 0:function(){return w(T())}]},[g,p,m,v]);var b=i(h,S[0],S[1]);return u(function(){M.hasValue=!0,M.value=b},[b]),f(b),b},gg}var rS;function fC(){return rS||(rS=1,dg.exports=cC()),dg.exports}var q$=fC();/**
|
|
58
58
|
* react-router v7.16.0
|
|
59
59
|
*
|
|
60
60
|
* Copyright (c) Remix Software Inc.
|
|
@@ -63,9 +63,9 @@ Error generating stack: `+s.message+`
|
|
|
63
63
|
* LICENSE.md file in the root directory of this source tree.
|
|
64
64
|
*
|
|
65
65
|
* @license MIT
|
|
66
|
-
*/var iS="popstate";function aS(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function hC(e={}){function t(i,o){var g;let u=(g=o.state)==null?void 0:g.masked,{pathname:c,search:f,hash:h}=u||i.location;return Yp("",{pathname:c,search:f,hash:h},o.state&&o.state.usr||null,o.state&&o.state.key||"default",u?{pathname:i.location.pathname,search:i.location.search,hash:i.location.hash}:void 0)}function n(i,o){return typeof o=="string"?o:vu(o)}return gC(t,n,null,e)}function at(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function zn(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function dC(){return Math.random().toString(36).substring(2,10)}function oS(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function Yp(e,t,n=null,i,o){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?el(t):t,state:n,key:t&&t.key||i||dC(),mask:o}}function vu({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function el(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let i=e.indexOf("?");i>=0&&(t.search=e.substring(i),e=e.substring(0,i)),e&&(t.pathname=e)}return t}function gC(e,t,n,i={}){let{window:o=document.defaultView,v5Compat:u=!1}=i,c=o.history,f="POP",h=null,g=p();g==null&&(g=0,c.replaceState({...c.state,idx:g},""));function p(){return(c.state||{idx:null}).idx}function m(){f="POP";let w=p(),E=w==null?null:w-g;g=w,h&&h({action:f,location:b.location,delta:E})}function v(w,E){f="PUSH";let A=aS(w)?w:Yp(b.location,w,E);g=p()+1;let k=oS(A,g),T=b.createHref(A.mask||A);try{c.pushState(k,"",T)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;o.location.assign(T)}u&&h&&h({action:f,location:b.location,delta:1})}function S(w,E){f="REPLACE";let A=aS(w)?w:Yp(b.location,w,E);g=p();let k=oS(A,g),T=b.createHref(A.mask||A);c.replaceState(k,"",T),u&&h&&h({action:f,location:b.location,delta:0})}function M(w){return pC(o,w)}let b={get action(){return f},get location(){return e(o,c)},listen(w){if(h)throw new Error("A history only accepts one active listener");return o.addEventListener(iS,m),h=w,()=>{o.removeEventListener(iS,m),h=null}},createHref(w){return t(o,w)},createURL:M,encodeLocation(w){let E=M(w);return{pathname:E.pathname,search:E.search,hash:E.hash}},push:v,replace:S,go(w){return c.go(w)}};return b}function pC(e,t,n=!1){let i="http://localhost";e&&(i=e.location.origin!=="null"?e.location.origin:e.location.href),at(i,"No window.location.(origin|href) available to create URL");let o=typeof t=="string"?t:vu(t);return o=o.replace(/ $/,"%20"),!n&&o.startsWith("//")&&(o=i+o),new URL(o,i)}function LT(e,t,n="/"){return yC(e,t,n,!1)}function yC(e,t,n,i,o){let u=typeof t=="string"?el(t):t,c=Yr(u.pathname||"/",n);if(c==null)return null;let f=mC(e),h=null,g=kC(c);for(let p=0;h==null&&p<f.length;++p)h=OC(f[p],g,i);return h}function mC(e){let t=IT(e);return vC(t),t}function IT(e,t=[],n=[],i="",o=!1){let u=(c,f,h=o,g)=>{let p={relativePath:g===void 0?c.path||"":g,caseSensitive:c.caseSensitive===!0,childrenIndex:f,route:c};if(p.relativePath.startsWith("/")){if(!p.relativePath.startsWith(i)&&h)return;at(p.relativePath.startsWith(i),`Absolute route path "${p.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),p.relativePath=p.relativePath.slice(i.length)}let m=Gn([i,p.relativePath]),v=n.concat(p);c.children&&c.children.length>0&&(at(c.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${m}".`),IT(c.children,t,v,m,h)),!(c.path==null&&!c.index)&&t.push({path:m,score:EC(m,c.index),routesMeta:v})};return e.forEach((c,f)=>{var h;if(c.path===""||!((h=c.path)!=null&&h.includes("?")))u(c,f);else for(let g of qT(c.path))u(c,f,!0,g)}),t}function qT(e){let t=e.split("/");if(t.length===0)return[];let[n,...i]=t,o=n.endsWith("?"),u=n.replace(/\?$/,"");if(i.length===0)return o?[u,""]:[u];let c=qT(i.join("/")),f=[];return f.push(...c.map(h=>h===""?u:[u,h].join("/"))),o&&f.push(...c),f.map(h=>e.startsWith("/")&&h===""?"/":h)}function vC(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:xC(t.routesMeta.map(i=>i.childrenIndex),n.routesMeta.map(i=>i.childrenIndex)))}var bC=/^:[\w-]+$/,SC=3,_C=2,wC=1,MC=10,TC=-2,lS=e=>e==="*";function EC(e,t){let n=e.split("/"),i=n.length;return n.some(lS)&&(i+=TC),t&&(i+=_C),n.filter(o=>!lS(o)).reduce((o,u)=>o+(bC.test(u)?SC:u===""?wC:MC),i)}function xC(e,t){return e.length===t.length&&e.slice(0,-1).every((i,o)=>i===t[o])?e[e.length-1]-t[t.length-1]:0}function OC(e,t,n=!1){let{routesMeta:i}=e,o={},u="/",c=[];for(let f=0;f<i.length;++f){let h=i[f],g=f===i.length-1,p=u==="/"?t:t.slice(u.length)||"/",m=Yc({path:h.relativePath,caseSensitive:h.caseSensitive,end:g},p),v=h.route;if(!m&&g&&n&&!i[i.length-1].route.index&&(m=Yc({path:h.relativePath,caseSensitive:h.caseSensitive,end:!1},p)),!m)return null;Object.assign(o,m.params),c.push({params:o,pathname:Gn([u,m.pathname]),pathnameBase:RC(Gn([u,m.pathnameBase])),route:v}),m.pathnameBase!=="/"&&(u=Gn([u,m.pathnameBase]))}return c}function Yc(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,i]=CC(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let u=o[0],c=u.replace(/(.)\/+$/,"$1"),f=o.slice(1);return{params:i.reduce((g,{paramName:p,isOptional:m},v)=>{if(p==="*"){let M=f[v]||"";c=u.slice(0,u.length-M.length).replace(/(.)\/+$/,"$1")}const S=f[v];return m&&!S?g[p]=void 0:g[p]=(S||"").replace(/%2F/g,"/"),g},{}),pathname:u,pathnameBase:c,pattern:e}}function CC(e,t=!1,n=!0){zn(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let i=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,f,h,g,p)=>{if(i.push({paramName:f,isOptional:h!=null}),h){let m=p.charAt(g+c.length);return m&&m!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(i.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),i]}function kC(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return zn(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Yr(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,i=e.charAt(n);return i&&i!=="/"?null:e.slice(n)||"/"}var AC=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function DC(e,t="/"){let{pathname:n,search:i="",hash:o=""}=typeof e=="string"?el(e):e,u;return n?(n=UT(n),n.startsWith("/")?u=uS(n.substring(1),"/"):u=uS(n,t)):u=t,{pathname:u,search:zC(i),hash:LC(o)}}function uS(e,t){let n=Vc(t).split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function pg(e,t,n,i){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(i)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function NC(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function D1(e){let t=NC(e);return t.map((n,i)=>i===t.length-1?n.pathname:n.pathnameBase)}function wf(e,t,n,i=!1){let o;typeof e=="string"?o=el(e):(o={...e},at(!o.pathname||!o.pathname.includes("?"),pg("?","pathname","search",o)),at(!o.pathname||!o.pathname.includes("#"),pg("#","pathname","hash",o)),at(!o.search||!o.search.includes("#"),pg("#","search","hash",o)));let u=e===""||o.pathname==="",c=u?"/":o.pathname,f;if(c==null)f=n;else{let m=t.length-1;if(!i&&c.startsWith("..")){let v=c.split("/");for(;v[0]==="..";)v.shift(),m-=1;o.pathname=v.join("/")}f=m>=0?t[m]:"/"}let h=DC(o,f),g=c&&c!=="/"&&c.endsWith("/"),p=(u||c===".")&&n.endsWith("/");return!h.pathname.endsWith("/")&&(g||p)&&(h.pathname+="/"),h}var UT=e=>e.replace(/\/\/+/g,"/"),Gn=e=>UT(e.join("/")),Vc=e=>e.replace(/\/+$/,""),RC=e=>Vc(e).replace(/^\/*/,"/"),zC=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,LC=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,IC=class{constructor(e,t,n,i=!1){this.status=e,this.statusText=t||"",this.internal=i,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function qC(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function UC(e){let t=e.map(n=>n.route.path).filter(Boolean);return Gn(t)||"/"}var jT=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function HT(e,t){let n=e;if(typeof n!="string"||!AC.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let i=n,o=!1;if(jT)try{let u=new URL(window.location.href),c=n.startsWith("//")?new URL(u.protocol+n):new URL(n),f=Yr(c.pathname,t);c.origin===u.origin&&f!=null?n=f+c.search+c.hash:o=!0}catch{zn(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:i,isExternal:o,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var BT=["POST","PUT","PATCH","DELETE"];new Set(BT);var jC=["GET",...BT];new Set(jC);var tl=U.createContext(null);tl.displayName="DataRouter";var Mf=U.createContext(null);Mf.displayName="DataRouterState";var PT=U.createContext(!1);function HC(){return U.useContext(PT)}var $T=U.createContext({isTransitioning:!1});$T.displayName="ViewTransition";var BC=U.createContext(new Map);BC.displayName="Fetchers";var PC=U.createContext(null);PC.displayName="Await";var dn=U.createContext(null);dn.displayName="Navigation";var Lu=U.createContext(null);Lu.displayName="Location";var In=U.createContext({outlet:null,matches:[],isDataRoute:!1});In.displayName="Route";var N1=U.createContext(null);N1.displayName="RouteError";var YT="REACT_ROUTER_ERROR",$C="REDIRECT",YC="ROUTE_ERROR_RESPONSE";function VC(e){if(e.startsWith(`${YT}:${$C}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function FC(e){if(e.startsWith(`${YT}:${YC}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new IC(t.status,t.statusText,t.data)}catch{}}function GC(e,{relative:t}={}){at(nl(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:i}=U.useContext(dn),{hash:o,pathname:u,search:c}=Iu(e,{relative:t}),f=u;return n!=="/"&&(f=u==="/"?n:Gn([n,u])),i.createHref({pathname:f,search:c,hash:o})}function nl(){return U.useContext(Lu)!=null}function Qn(){return at(nl(),"useLocation() may be used only in the context of a <Router> component."),U.useContext(Lu).location}var VT="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function FT(e){U.useContext(dn).static||U.useLayoutEffect(e)}function R1(){let{isDataRoute:e}=U.useContext(In);return e?ok():QC()}function QC(){at(nl(),"useNavigate() may be used only in the context of a <Router> component.");let e=U.useContext(tl),{basename:t,navigator:n}=U.useContext(dn),{matches:i}=U.useContext(In),{pathname:o}=Qn(),u=JSON.stringify(D1(i)),c=U.useRef(!1);return FT(()=>{c.current=!0}),U.useCallback((h,g={})=>{if(zn(c.current,VT),!c.current)return;if(typeof h=="number"){n.go(h);return}let p=wf(h,JSON.parse(u),o,g.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:Gn([t,p.pathname])),(g.replace?n.replace:n.push)(p,g.state,g)},[t,n,u,o,e])}var GT=U.createContext(null);function I$(){return U.useContext(GT)}function q$(e){let t=U.useContext(In).outlet;return U.useMemo(()=>t&&U.createElement(GT.Provider,{value:e},t),[t,e])}function U$(){let{matches:e}=U.useContext(In),t=e[e.length-1];return(t==null?void 0:t.params)??{}}function Iu(e,{relative:t}={}){let{matches:n}=U.useContext(In),{pathname:i}=Qn(),o=JSON.stringify(D1(n));return U.useMemo(()=>wf(e,JSON.parse(o),i,t==="path"),[e,o,i,t])}function XC(e,t){return QT(e,t)}function QT(e,t,n){var w;at(nl(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:i}=U.useContext(dn),{matches:o}=U.useContext(In),u=o[o.length-1],c=u?u.params:{},f=u?u.pathname:"/",h=u?u.pathnameBase:"/",g=u&&u.route;{let E=g&&g.path||"";KT(f,!g||E.endsWith("*")||E.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${f}" (under <Route path="${E}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
66
|
+
*/var iS="popstate";function aS(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function hC(e={}){function t(i,o){var g;let u=(g=o.state)==null?void 0:g.masked,{pathname:c,search:f,hash:h}=u||i.location;return Yp("",{pathname:c,search:f,hash:h},o.state&&o.state.usr||null,o.state&&o.state.key||"default",u?{pathname:i.location.pathname,search:i.location.search,hash:i.location.hash}:void 0)}function n(i,o){return typeof o=="string"?o:vu(o)}return gC(t,n,null,e)}function at(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function zn(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function dC(){return Math.random().toString(36).substring(2,10)}function oS(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function Yp(e,t,n=null,i,o){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?el(t):t,state:n,key:t&&t.key||i||dC(),mask:o}}function vu({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function el(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let i=e.indexOf("?");i>=0&&(t.search=e.substring(i),e=e.substring(0,i)),e&&(t.pathname=e)}return t}function gC(e,t,n,i={}){let{window:o=document.defaultView,v5Compat:u=!1}=i,c=o.history,f="POP",h=null,g=p();g==null&&(g=0,c.replaceState({...c.state,idx:g},""));function p(){return(c.state||{idx:null}).idx}function m(){f="POP";let w=p(),E=w==null?null:w-g;g=w,h&&h({action:f,location:b.location,delta:E})}function v(w,E){f="PUSH";let A=aS(w)?w:Yp(b.location,w,E);g=p()+1;let k=oS(A,g),T=b.createHref(A.mask||A);try{c.pushState(k,"",T)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;o.location.assign(T)}u&&h&&h({action:f,location:b.location,delta:1})}function S(w,E){f="REPLACE";let A=aS(w)?w:Yp(b.location,w,E);g=p();let k=oS(A,g),T=b.createHref(A.mask||A);c.replaceState(k,"",T),u&&h&&h({action:f,location:b.location,delta:0})}function M(w){return pC(o,w)}let b={get action(){return f},get location(){return e(o,c)},listen(w){if(h)throw new Error("A history only accepts one active listener");return o.addEventListener(iS,m),h=w,()=>{o.removeEventListener(iS,m),h=null}},createHref(w){return t(o,w)},createURL:M,encodeLocation(w){let E=M(w);return{pathname:E.pathname,search:E.search,hash:E.hash}},push:v,replace:S,go(w){return c.go(w)}};return b}function pC(e,t,n=!1){let i="http://localhost";e&&(i=e.location.origin!=="null"?e.location.origin:e.location.href),at(i,"No window.location.(origin|href) available to create URL");let o=typeof t=="string"?t:vu(t);return o=o.replace(/ $/,"%20"),!n&&o.startsWith("//")&&(o=i+o),new URL(o,i)}function LT(e,t,n="/"){return yC(e,t,n,!1)}function yC(e,t,n,i,o){let u=typeof t=="string"?el(t):t,c=Yr(u.pathname||"/",n);if(c==null)return null;let f=mC(e),h=null,g=kC(c);for(let p=0;h==null&&p<f.length;++p)h=OC(f[p],g,i);return h}function mC(e){let t=IT(e);return vC(t),t}function IT(e,t=[],n=[],i="",o=!1){let u=(c,f,h=o,g)=>{let p={relativePath:g===void 0?c.path||"":g,caseSensitive:c.caseSensitive===!0,childrenIndex:f,route:c};if(p.relativePath.startsWith("/")){if(!p.relativePath.startsWith(i)&&h)return;at(p.relativePath.startsWith(i),`Absolute route path "${p.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),p.relativePath=p.relativePath.slice(i.length)}let m=Gn([i,p.relativePath]),v=n.concat(p);c.children&&c.children.length>0&&(at(c.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${m}".`),IT(c.children,t,v,m,h)),!(c.path==null&&!c.index)&&t.push({path:m,score:EC(m,c.index),routesMeta:v})};return e.forEach((c,f)=>{var h;if(c.path===""||!((h=c.path)!=null&&h.includes("?")))u(c,f);else for(let g of qT(c.path))u(c,f,!0,g)}),t}function qT(e){let t=e.split("/");if(t.length===0)return[];let[n,...i]=t,o=n.endsWith("?"),u=n.replace(/\?$/,"");if(i.length===0)return o?[u,""]:[u];let c=qT(i.join("/")),f=[];return f.push(...c.map(h=>h===""?u:[u,h].join("/"))),o&&f.push(...c),f.map(h=>e.startsWith("/")&&h===""?"/":h)}function vC(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:xC(t.routesMeta.map(i=>i.childrenIndex),n.routesMeta.map(i=>i.childrenIndex)))}var bC=/^:[\w-]+$/,SC=3,_C=2,wC=1,MC=10,TC=-2,lS=e=>e==="*";function EC(e,t){let n=e.split("/"),i=n.length;return n.some(lS)&&(i+=TC),t&&(i+=_C),n.filter(o=>!lS(o)).reduce((o,u)=>o+(bC.test(u)?SC:u===""?wC:MC),i)}function xC(e,t){return e.length===t.length&&e.slice(0,-1).every((i,o)=>i===t[o])?e[e.length-1]-t[t.length-1]:0}function OC(e,t,n=!1){let{routesMeta:i}=e,o={},u="/",c=[];for(let f=0;f<i.length;++f){let h=i[f],g=f===i.length-1,p=u==="/"?t:t.slice(u.length)||"/",m=Yc({path:h.relativePath,caseSensitive:h.caseSensitive,end:g},p),v=h.route;if(!m&&g&&n&&!i[i.length-1].route.index&&(m=Yc({path:h.relativePath,caseSensitive:h.caseSensitive,end:!1},p)),!m)return null;Object.assign(o,m.params),c.push({params:o,pathname:Gn([u,m.pathname]),pathnameBase:RC(Gn([u,m.pathnameBase])),route:v}),m.pathnameBase!=="/"&&(u=Gn([u,m.pathnameBase]))}return c}function Yc(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,i]=CC(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let u=o[0],c=u.replace(/(.)\/+$/,"$1"),f=o.slice(1);return{params:i.reduce((g,{paramName:p,isOptional:m},v)=>{if(p==="*"){let M=f[v]||"";c=u.slice(0,u.length-M.length).replace(/(.)\/+$/,"$1")}const S=f[v];return m&&!S?g[p]=void 0:g[p]=(S||"").replace(/%2F/g,"/"),g},{}),pathname:u,pathnameBase:c,pattern:e}}function CC(e,t=!1,n=!0){zn(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let i=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,f,h,g,p)=>{if(i.push({paramName:f,isOptional:h!=null}),h){let m=p.charAt(g+c.length);return m&&m!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(i.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),i]}function kC(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return zn(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Yr(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,i=e.charAt(n);return i&&i!=="/"?null:e.slice(n)||"/"}var AC=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function DC(e,t="/"){let{pathname:n,search:i="",hash:o=""}=typeof e=="string"?el(e):e,u;return n?(n=UT(n),n.startsWith("/")?u=uS(n.substring(1),"/"):u=uS(n,t)):u=t,{pathname:u,search:zC(i),hash:LC(o)}}function uS(e,t){let n=Vc(t).split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function pg(e,t,n,i){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(i)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function NC(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function D1(e){let t=NC(e);return t.map((n,i)=>i===t.length-1?n.pathname:n.pathnameBase)}function wf(e,t,n,i=!1){let o;typeof e=="string"?o=el(e):(o={...e},at(!o.pathname||!o.pathname.includes("?"),pg("?","pathname","search",o)),at(!o.pathname||!o.pathname.includes("#"),pg("#","pathname","hash",o)),at(!o.search||!o.search.includes("#"),pg("#","search","hash",o)));let u=e===""||o.pathname==="",c=u?"/":o.pathname,f;if(c==null)f=n;else{let m=t.length-1;if(!i&&c.startsWith("..")){let v=c.split("/");for(;v[0]==="..";)v.shift(),m-=1;o.pathname=v.join("/")}f=m>=0?t[m]:"/"}let h=DC(o,f),g=c&&c!=="/"&&c.endsWith("/"),p=(u||c===".")&&n.endsWith("/");return!h.pathname.endsWith("/")&&(g||p)&&(h.pathname+="/"),h}var UT=e=>e.replace(/\/\/+/g,"/"),Gn=e=>UT(e.join("/")),Vc=e=>e.replace(/\/+$/,""),RC=e=>Vc(e).replace(/^\/*/,"/"),zC=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,LC=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,IC=class{constructor(e,t,n,i=!1){this.status=e,this.statusText=t||"",this.internal=i,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function qC(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function UC(e){let t=e.map(n=>n.route.path).filter(Boolean);return Gn(t)||"/"}var jT=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function HT(e,t){let n=e;if(typeof n!="string"||!AC.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let i=n,o=!1;if(jT)try{let u=new URL(window.location.href),c=n.startsWith("//")?new URL(u.protocol+n):new URL(n),f=Yr(c.pathname,t);c.origin===u.origin&&f!=null?n=f+c.search+c.hash:o=!0}catch{zn(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:i,isExternal:o,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var BT=["POST","PUT","PATCH","DELETE"];new Set(BT);var jC=["GET",...BT];new Set(jC);var tl=U.createContext(null);tl.displayName="DataRouter";var Mf=U.createContext(null);Mf.displayName="DataRouterState";var PT=U.createContext(!1);function HC(){return U.useContext(PT)}var $T=U.createContext({isTransitioning:!1});$T.displayName="ViewTransition";var BC=U.createContext(new Map);BC.displayName="Fetchers";var PC=U.createContext(null);PC.displayName="Await";var dn=U.createContext(null);dn.displayName="Navigation";var Lu=U.createContext(null);Lu.displayName="Location";var In=U.createContext({outlet:null,matches:[],isDataRoute:!1});In.displayName="Route";var N1=U.createContext(null);N1.displayName="RouteError";var YT="REACT_ROUTER_ERROR",$C="REDIRECT",YC="ROUTE_ERROR_RESPONSE";function VC(e){if(e.startsWith(`${YT}:${$C}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function FC(e){if(e.startsWith(`${YT}:${YC}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new IC(t.status,t.statusText,t.data)}catch{}}function GC(e,{relative:t}={}){at(nl(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:i}=U.useContext(dn),{hash:o,pathname:u,search:c}=Iu(e,{relative:t}),f=u;return n!=="/"&&(f=u==="/"?n:Gn([n,u])),i.createHref({pathname:f,search:c,hash:o})}function nl(){return U.useContext(Lu)!=null}function Qn(){return at(nl(),"useLocation() may be used only in the context of a <Router> component."),U.useContext(Lu).location}var VT="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function FT(e){U.useContext(dn).static||U.useLayoutEffect(e)}function R1(){let{isDataRoute:e}=U.useContext(In);return e?ok():QC()}function QC(){at(nl(),"useNavigate() may be used only in the context of a <Router> component.");let e=U.useContext(tl),{basename:t,navigator:n}=U.useContext(dn),{matches:i}=U.useContext(In),{pathname:o}=Qn(),u=JSON.stringify(D1(i)),c=U.useRef(!1);return FT(()=>{c.current=!0}),U.useCallback((h,g={})=>{if(zn(c.current,VT),!c.current)return;if(typeof h=="number"){n.go(h);return}let p=wf(h,JSON.parse(u),o,g.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:Gn([t,p.pathname])),(g.replace?n.replace:n.push)(p,g.state,g)},[t,n,u,o,e])}var GT=U.createContext(null);function U$(){return U.useContext(GT)}function j$(e){let t=U.useContext(In).outlet;return U.useMemo(()=>t&&U.createElement(GT.Provider,{value:e},t),[t,e])}function H$(){let{matches:e}=U.useContext(In),t=e[e.length-1];return(t==null?void 0:t.params)??{}}function Iu(e,{relative:t}={}){let{matches:n}=U.useContext(In),{pathname:i}=Qn(),o=JSON.stringify(D1(n));return U.useMemo(()=>wf(e,JSON.parse(o),i,t==="path"),[e,o,i,t])}function XC(e,t){return QT(e,t)}function QT(e,t,n){var w;at(nl(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:i}=U.useContext(dn),{matches:o}=U.useContext(In),u=o[o.length-1],c=u?u.params:{},f=u?u.pathname:"/",h=u?u.pathnameBase:"/",g=u&&u.route;{let E=g&&g.path||"";KT(f,!g||E.endsWith("*")||E.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${f}" (under <Route path="${E}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
67
67
|
|
|
68
|
-
Please change the parent <Route path="${E}"> to <Route path="${E==="/"?"*":`${E}/*`}">.`)}let p=Qn(),m;if(t){let E=typeof t=="string"?el(t):t;at(h==="/"||((w=E.pathname)==null?void 0:w.startsWith(h)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${h}" but pathname "${E.pathname}" was given in the \`location\` prop.`),m=E}else m=p;let v=m.pathname||"/",S=v;if(h!=="/"){let E=h.replace(/^\//,"").split("/");S="/"+v.replace(/^\//,"").split("/").slice(E.length).join("/")}let M=n&&n.state.matches.length?n.state.matches.map(E=>Object.assign(E,{route:n.manifest[E.route.id]||E.route})):LT(e,{pathname:S});zn(g||M!=null,`No routes matched location "${m.pathname}${m.search}${m.hash}" `),zn(M==null||M[M.length-1].route.element!==void 0||M[M.length-1].route.Component!==void 0||M[M.length-1].route.lazy!==void 0,`Matched leaf route at location "${m.pathname}${m.search}${m.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let b=ek(M&&M.map(E=>Object.assign({},E,{params:Object.assign({},c,E.params),pathname:Gn([h,i.encodeLocation?i.encodeLocation(E.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:E.pathname]),pathnameBase:E.pathnameBase==="/"?h:Gn([h,i.encodeLocation?i.encodeLocation(E.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:E.pathnameBase])})),o,n);return t&&b?U.createElement(Lu.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...m},navigationType:"POP"}},b):b}function KC(){let e=ak(),t=qC(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:i},u={padding:"2px 4px",backgroundColor:i},c=null;return console.error("Error handled by React Router default ErrorBoundary:",e),c=U.createElement(U.Fragment,null,U.createElement("p",null,"💿 Hey developer 👋"),U.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",U.createElement("code",{style:u},"ErrorBoundary")," or"," ",U.createElement("code",{style:u},"errorElement")," prop on your route.")),U.createElement(U.Fragment,null,U.createElement("h2",null,"Unexpected Application Error!"),U.createElement("h3",{style:{fontStyle:"italic"}},t),n?U.createElement("pre",{style:o},n):null,c)}var ZC=U.createElement(KC,null),XT=class extends U.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const n=FC(e.digest);n&&(e=n)}let t=e!==void 0?U.createElement(In.Provider,{value:this.props.routeContext},U.createElement(N1.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?U.createElement(JC,{error:e},t):t}};XT.contextType=PT;var yg=new WeakMap;function JC({children:e,error:t}){let{basename:n}=U.useContext(dn);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let i=VC(t.digest);if(i){let o=yg.get(t);if(o)throw o;let u=HT(i.location,n);if(jT&&!yg.get(t))if(u.isExternal||i.reloadDocument)window.location.href=u.absoluteURL||u.to;else{const c=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(u.to,{replace:i.replace}));throw yg.set(t,c),c}return U.createElement("meta",{httpEquiv:"refresh",content:`0;url=${u.absoluteURL||u.to}`})}}return e}function WC({routeContext:e,match:t,children:n}){let i=U.useContext(tl);return i&&i.static&&i.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=t.route.id),U.createElement(In.Provider,{value:e},n)}function ek(e,t=[],n){let i=n==null?void 0:n.state;if(e==null){if(!i)return null;if(i.errors)e=i.matches;else if(t.length===0&&!i.initialized&&i.matches.length>0)e=i.matches;else return null}let o=e,u=i==null?void 0:i.errors;if(u!=null){let p=o.findIndex(m=>m.route.id&&(u==null?void 0:u[m.route.id])!==void 0);at(p>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(u).join(",")}`),o=o.slice(0,Math.min(o.length,p+1))}let c=!1,f=-1;if(n&&i){c=i.renderFallback;for(let p=0;p<o.length;p++){let m=o[p];if((m.route.HydrateFallback||m.route.hydrateFallbackElement)&&(f=p),m.route.id){let{loaderData:v,errors:S}=i,M=m.route.loader&&!v.hasOwnProperty(m.route.id)&&(!S||S[m.route.id]===void 0);if(m.route.lazy||M){n.isStatic&&(c=!0),f>=0?o=o.slice(0,f+1):o=[o[0]];break}}}}let h=n==null?void 0:n.onError,g=i&&h?(p,m)=>{var v,S;h(p,{location:i.location,params:((S=(v=i.matches)==null?void 0:v[0])==null?void 0:S.params)??{},pattern:UC(i.matches),errorInfo:m})}:void 0;return o.reduceRight((p,m,v)=>{let S,M=!1,b=null,w=null;i&&(S=u&&m.route.id?u[m.route.id]:void 0,b=m.route.errorElement||ZC,c&&(f<0&&v===0?(KT("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),M=!0,w=null):f===v&&(M=!0,w=m.route.hydrateFallbackElement||null)));let E=t.concat(o.slice(0,v+1)),A=()=>{let k;return S?k=b:M?k=w:m.route.Component?k=U.createElement(m.route.Component,null):m.route.element?k=m.route.element:k=p,U.createElement(WC,{match:m,routeContext:{outlet:p,matches:E,isDataRoute:i!=null},children:k})};return i&&(m.route.ErrorBoundary||m.route.errorElement||v===0)?U.createElement(XT,{location:i.location,revalidation:i.revalidation,component:b,error:S,children:A(),routeContext:{outlet:null,matches:E,isDataRoute:!0},onError:g}):A()},null)}function z1(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function tk(e){let t=U.useContext(tl);return at(t,z1(e)),t}function nk(e){let t=U.useContext(Mf);return at(t,z1(e)),t}function rk(e){let t=U.useContext(In);return at(t,z1(e)),t}function L1(e){let t=rk(e),n=t.matches[t.matches.length-1];return at(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function ik(){return L1("useRouteId")}function ak(){var i;let e=U.useContext(N1),t=nk("useRouteError"),n=L1("useRouteError");return e!==void 0?e:(i=t.errors)==null?void 0:i[n]}function ok(){let{router:e}=tk("useNavigate"),t=L1("useNavigate"),n=U.useRef(!1);return FT(()=>{n.current=!0}),U.useCallback(async(o,u={})=>{zn(n.current,VT),n.current&&(typeof o=="number"?await e.navigate(o):await e.navigate(o,{fromRouteId:t,...u}))},[e,t])}var sS={};function KT(e,t,n){!t&&!sS[e]&&(sS[e]=!0,zn(!1,n))}U.memo(lk);function lk({routes:e,manifest:t,future:n,state:i,isStatic:o,onError:u}){return QT(e,void 0,{manifest:t,state:i,isStatic:o,onError:u})}function j$({to:e,replace:t,state:n,relative:i}){at(nl(),"<Navigate> may be used only in the context of a <Router> component.");let{static:o}=U.useContext(dn);zn(!o,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:u}=U.useContext(In),{pathname:c}=Qn(),f=R1(),h=wf(e,D1(u),c,i==="path"),g=JSON.stringify(h);return U.useEffect(()=>{f(JSON.parse(g),{replace:t,state:n,relative:i})},[f,g,i,t,n]),null}function uk(e){at(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function sk({basename:e="/",children:t=null,location:n,navigationType:i="POP",navigator:o,static:u=!1,useTransitions:c}){at(!nl(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let f=e.replace(/^\/*/,"/"),h=U.useMemo(()=>({basename:f,navigator:o,static:u,useTransitions:c,future:{}}),[f,o,u,c]);typeof n=="string"&&(n=el(n));let{pathname:g="/",search:p="",hash:m="",state:v=null,key:S="default",mask:M}=n,b=U.useMemo(()=>{let w=Yr(g,f);return w==null?null:{location:{pathname:w,search:p,hash:m,state:v,key:S,mask:M},navigationType:i}},[f,g,p,m,v,S,i,M]);return zn(b!=null,`<Router basename="${f}"> is not able to match the URL "${g}${p}${m}" because it does not start with the basename, so the <Router> won't render anything.`),b==null?null:U.createElement(dn.Provider,{value:h},U.createElement(Lu.Provider,{children:t,value:b}))}function H$({children:e,location:t}){return XC(Vp(e),t)}function Vp(e,t=[]){let n=[];return U.Children.forEach(e,(i,o)=>{if(!U.isValidElement(i))return;let u=[...t,o];if(i.type===U.Fragment){n.push.apply(n,Vp(i.props.children,u));return}at(i.type===uk,`[${typeof i.type=="string"?i.type:i.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),at(!i.props.index||!i.props.children,"An index route cannot have child routes.");let c={id:i.props.id||u.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,middleware:i.props.middleware,loader:i.props.loader,action:i.props.action,hydrateFallbackElement:i.props.hydrateFallbackElement,HydrateFallback:i.props.HydrateFallback,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.hasErrorBoundary===!0||i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(c.children=Vp(i.props.children,u)),n.push(c)}),n}var Cc="get",kc="application/x-www-form-urlencoded";function Tf(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function ck(e){return Tf(e)&&e.tagName.toLowerCase()==="button"}function fk(e){return Tf(e)&&e.tagName.toLowerCase()==="form"}function hk(e){return Tf(e)&&e.tagName.toLowerCase()==="input"}function dk(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function gk(e,t){return e.button===0&&(!t||t==="_self")&&!dk(e)}function Fp(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let i=e[n];return t.concat(Array.isArray(i)?i.map(o=>[n,o]):[[n,i]])},[]))}function pk(e,t){let n=Fp(e);return t&&t.forEach((i,o)=>{n.has(o)||t.getAll(o).forEach(u=>{n.append(o,u)})}),n}var uc=null;function yk(){if(uc===null)try{new FormData(document.createElement("form"),0),uc=!1}catch{uc=!0}return uc}var mk=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function mg(e){return e!=null&&!mk.has(e)?(zn(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${kc}"`),null):e}function vk(e,t){let n,i,o,u,c;if(fk(e)){let f=e.getAttribute("action");i=f?Yr(f,t):null,n=e.getAttribute("method")||Cc,o=mg(e.getAttribute("enctype"))||kc,u=new FormData(e)}else if(ck(e)||hk(e)&&(e.type==="submit"||e.type==="image")){let f=e.form;if(f==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let h=e.getAttribute("formaction")||f.getAttribute("action");if(i=h?Yr(h,t):null,n=e.getAttribute("formmethod")||f.getAttribute("method")||Cc,o=mg(e.getAttribute("formenctype"))||mg(f.getAttribute("enctype"))||kc,u=new FormData(f,e),!yk()){let{name:g,type:p,value:m}=e;if(p==="image"){let v=g?`${g}.`:"";u.append(`${v}x`,"0"),u.append(`${v}y`,"0")}else g&&u.append(g,m)}}else{if(Tf(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Cc,i=null,o=kc,c=e}return u&&o==="text/plain"&&(c=u,u=void 0),{action:i,method:n.toLowerCase(),encType:o,formData:u,body:c}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function I1(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function ZT(e,t,n,i){let o=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return n?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${i}`:o.pathname=`${o.pathname}.${i}`:o.pathname==="/"?o.pathname=`_root.${i}`:t&&Yr(o.pathname,t)==="/"?o.pathname=`${Vc(t)}/_root.${i}`:o.pathname=`${Vc(o.pathname)}.${i}`,o}async function bk(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(n){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Sk(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function _k(e,t,n){let i=await Promise.all(e.map(async o=>{let u=t.routes[o.route.id];if(u){let c=await bk(u,n);return c.links?c.links():[]}return[]}));return Ek(i.flat(1).filter(Sk).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function cS(e,t,n,i,o,u){let c=(h,g)=>n[g]?h.route.id!==n[g].route.id:!0,f=(h,g)=>{var p;return n[g].pathname!==h.pathname||((p=n[g].route.path)==null?void 0:p.endsWith("*"))&&n[g].params["*"]!==h.params["*"]};return u==="assets"?t.filter((h,g)=>c(h,g)||f(h,g)):u==="data"?t.filter((h,g)=>{var m;let p=i.routes[h.route.id];if(!p||!p.hasLoader)return!1;if(c(h,g)||f(h,g))return!0;if(h.route.shouldRevalidate){let v=h.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:((m=n[0])==null?void 0:m.params)||{},nextUrl:new URL(e,window.origin),nextParams:h.params,defaultShouldRevalidate:!0});if(typeof v=="boolean")return v}return!0}):[]}function wk(e,t,{includeHydrateFallback:n}={}){return Mk(e.map(i=>{let o=t.routes[i.route.id];if(!o)return[];let u=[o.module];return o.clientActionModule&&(u=u.concat(o.clientActionModule)),o.clientLoaderModule&&(u=u.concat(o.clientLoaderModule)),n&&o.hydrateFallbackModule&&(u=u.concat(o.hydrateFallbackModule)),o.imports&&(u=u.concat(o.imports)),u}).flat(1))}function Mk(e){return[...new Set(e)]}function Tk(e){let t={},n=Object.keys(e).sort();for(let i of n)t[i]=e[i];return t}function Ek(e,t){let n=new Set;return new Set(t),e.reduce((i,o)=>{let u=JSON.stringify(Tk(o));return n.has(u)||(n.add(u),i.push({key:u,link:o})),i},[])}function q1(){let e=U.useContext(tl);return I1(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function xk(){let e=U.useContext(Mf);return I1(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var U1=U.createContext(void 0);U1.displayName="FrameworkContext";function j1(){let e=U.useContext(U1);return I1(e,"You must render this element inside a <HydratedRouter> element"),e}function Ok(e,t){let n=U.useContext(U1),[i,o]=U.useState(!1),[u,c]=U.useState(!1),{onFocus:f,onBlur:h,onMouseEnter:g,onMouseLeave:p,onTouchStart:m}=t,v=U.useRef(null);U.useEffect(()=>{if(e==="render"&&c(!0),e==="viewport"){let b=E=>{E.forEach(A=>{c(A.isIntersecting)})},w=new IntersectionObserver(b,{threshold:.5});return v.current&&w.observe(v.current),()=>{w.disconnect()}}},[e]),U.useEffect(()=>{if(i){let b=setTimeout(()=>{c(!0)},100);return()=>{clearTimeout(b)}}},[i]);let S=()=>{o(!0)},M=()=>{o(!1),c(!1)};return n?e!=="intent"?[u,v,{}]:[u,v,{onFocus:tu(f,S),onBlur:tu(h,M),onMouseEnter:tu(g,S),onMouseLeave:tu(p,M),onTouchStart:tu(m,S)}]:[!1,v,{}]}function tu(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function Ck({page:e,...t}){let n=HC(),{router:i}=q1(),o=U.useMemo(()=>LT(i.routes,e,i.basename),[i.routes,e,i.basename]);return o?n?U.createElement(Ak,{page:e,matches:o,...t}):U.createElement(Dk,{page:e,matches:o,...t}):null}function kk(e){let{manifest:t,routeModules:n}=j1(),[i,o]=U.useState([]);return U.useEffect(()=>{let u=!1;return _k(e,t,n).then(c=>{u||o(c)}),()=>{u=!0}},[e,t,n]),i}function Ak({page:e,matches:t,...n}){let i=Qn(),{future:o}=j1(),{basename:u}=q1(),c=U.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let f=ZT(e,u,o.v8_trailingSlashAwareDataRequests,"rsc"),h=!1,g=[];for(let p of t)typeof p.route.shouldRevalidate=="function"?h=!0:g.push(p.route.id);return h&&g.length>0&&f.searchParams.set("_routes",g.join(",")),[f.pathname+f.search]},[u,o.v8_trailingSlashAwareDataRequests,e,i,t]);return U.createElement(U.Fragment,null,c.map(f=>U.createElement("link",{key:f,rel:"prefetch",as:"fetch",href:f,...n})))}function Dk({page:e,matches:t,...n}){let i=Qn(),{future:o,manifest:u,routeModules:c}=j1(),{basename:f}=q1(),{loaderData:h,matches:g}=xk(),p=U.useMemo(()=>cS(e,t,g,u,i,"data"),[e,t,g,u,i]),m=U.useMemo(()=>cS(e,t,g,u,i,"assets"),[e,t,g,u,i]),v=U.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let b=new Set,w=!1;if(t.forEach(A=>{var T;let k=u.routes[A.route.id];!k||!k.hasLoader||(!p.some(C=>C.route.id===A.route.id)&&A.route.id in h&&((T=c[A.route.id])!=null&&T.shouldRevalidate)||k.hasClientLoader?w=!0:b.add(A.route.id))}),b.size===0)return[];let E=ZT(e,f,o.v8_trailingSlashAwareDataRequests,"data");return w&&b.size>0&&E.searchParams.set("_routes",t.filter(A=>b.has(A.route.id)).map(A=>A.route.id).join(",")),[E.pathname+E.search]},[f,o.v8_trailingSlashAwareDataRequests,h,i,u,p,t,e,c]),S=U.useMemo(()=>wk(m,u),[m,u]),M=kk(m);return U.createElement(U.Fragment,null,v.map(b=>U.createElement("link",{key:b,rel:"prefetch",as:"fetch",href:b,...n})),S.map(b=>U.createElement("link",{key:b,rel:"modulepreload",href:b,...n})),M.map(({key:b,link:w})=>U.createElement("link",{key:b,nonce:n.nonce,...w,crossOrigin:w.crossOrigin??n.crossOrigin})))}function Nk(...e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}var Rk=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Rk&&(window.__reactRouterVersion="7.16.0")}catch{}function B$({basename:e,children:t,useTransitions:n,window:i}){let o=U.useRef();o.current==null&&(o.current=hC({window:i,v5Compat:!0}));let u=o.current,[c,f]=U.useState({action:u.action,location:u.location}),h=U.useCallback(g=>{n===!1?f(g):U.startTransition(()=>f(g))},[n]);return U.useLayoutEffect(()=>u.listen(h),[u,h]),U.createElement(sk,{basename:e,children:t,location:c.location,navigationType:c.action,navigator:u,useTransitions:n})}var JT=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,WT=U.forwardRef(function({onClick:t,discover:n="render",prefetch:i="none",relative:o,reloadDocument:u,replace:c,mask:f,state:h,target:g,to:p,preventScrollReset:m,viewTransition:v,defaultShouldRevalidate:S,...M},b){let{basename:w,navigator:E,useTransitions:A}=U.useContext(dn),k=typeof p=="string"&&JT.test(p),T=HT(p,w);p=T.to;let C=GC(p,{relative:o}),O=Qn(),D=null;if(f){let re=wf(f,[],O.mask?O.mask.pathname:"/",!0);w!=="/"&&(re.pathname=re.pathname==="/"?w:Gn([w,re.pathname])),D=E.createHref(re)}let[N,P,Z]=Ok(i,M),W=qk(p,{replace:c,mask:f,state:h,target:g,preventScrollReset:m,relative:o,viewTransition:v,defaultShouldRevalidate:S,useTransitions:A});function G(re){t&&t(re),re.defaultPrevented||W(re)}let ue=!(T.isExternal||u),q=U.createElement("a",{...M,...Z,href:(ue?D:void 0)||T.absoluteURL||C,onClick:ue?G:t,ref:Nk(b,P),target:g,"data-discover":!k&&n==="render"?"true":void 0});return N&&!k?U.createElement(U.Fragment,null,q,U.createElement(Ck,{page:C})):q});WT.displayName="Link";var zk=U.forwardRef(function({"aria-current":t="page",caseSensitive:n=!1,className:i="",end:o=!1,style:u,to:c,viewTransition:f,children:h,...g},p){let m=Iu(c,{relative:g.relative}),v=Qn(),S=U.useContext(Mf),{navigator:M,basename:b}=U.useContext(dn),w=S!=null&&Pk(m)&&f===!0,E=M.encodeLocation?M.encodeLocation(m).pathname:m.pathname,A=v.pathname,k=S&&S.navigation&&S.navigation.location?S.navigation.location.pathname:null;n||(A=A.toLowerCase(),k=k?k.toLowerCase():null,E=E.toLowerCase()),k&&b&&(k=Yr(k,b)||k);const T=E!=="/"&&E.endsWith("/")?E.length-1:E.length;let C=A===E||!o&&A.startsWith(E)&&A.charAt(T)==="/",O=k!=null&&(k===E||!o&&k.startsWith(E)&&k.charAt(E.length)==="/"),D={isActive:C,isPending:O,isTransitioning:w},N=C?t:void 0,P;typeof i=="function"?P=i(D):P=[i,C?"active":null,O?"pending":null,w?"transitioning":null].filter(Boolean).join(" ");let Z=typeof u=="function"?u(D):u;return U.createElement(WT,{...g,"aria-current":N,className:P,ref:p,style:Z,to:c,viewTransition:f},typeof h=="function"?h(D):h)});zk.displayName="NavLink";var Lk=U.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:i,replace:o,state:u,method:c=Cc,action:f,onSubmit:h,relative:g,preventScrollReset:p,viewTransition:m,defaultShouldRevalidate:v,...S},M)=>{let{useTransitions:b}=U.useContext(dn),w=Hk(),E=Bk(f,{relative:g}),A=c.toLowerCase()==="get"?"get":"post",k=typeof f=="string"&&JT.test(f),T=C=>{if(h&&h(C),C.defaultPrevented)return;C.preventDefault();let O=C.nativeEvent.submitter,D=(O==null?void 0:O.getAttribute("formmethod"))||c,N=()=>w(O||C.currentTarget,{fetcherKey:t,method:D,navigate:n,replace:o,state:u,relative:g,preventScrollReset:p,viewTransition:m,defaultShouldRevalidate:v});b&&n!==!1?U.startTransition(()=>N()):N()};return U.createElement("form",{ref:M,method:A,action:E,onSubmit:i?h:T,...S,"data-discover":!k&&e==="render"?"true":void 0})});Lk.displayName="Form";function Ik(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function eE(e){let t=U.useContext(tl);return at(t,Ik(e)),t}function qk(e,{target:t,replace:n,mask:i,state:o,preventScrollReset:u,relative:c,viewTransition:f,defaultShouldRevalidate:h,useTransitions:g}={}){let p=R1(),m=Qn(),v=Iu(e,{relative:c});return U.useCallback(S=>{if(gk(S,t)){S.preventDefault();let M=n!==void 0?n:vu(m)===vu(v),b=()=>p(e,{replace:M,mask:i,state:o,preventScrollReset:u,relative:c,viewTransition:f,defaultShouldRevalidate:h});g?U.startTransition(()=>b()):b()}},[m,p,v,n,i,o,t,e,u,c,f,h,g])}function P$(e){zn(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=U.useRef(Fp(e)),n=U.useRef(!1),i=Qn(),o=U.useMemo(()=>pk(i.search,n.current?null:t.current),[i.search]),u=R1(),c=U.useCallback((f,h)=>{const g=Fp(typeof f=="function"?f(new URLSearchParams(o)):f);n.current=!0,u("?"+g,h)},[u,o]);return[o,c]}var Uk=0,jk=()=>`__${String(++Uk)}__`;function Hk(){let{router:e}=eE("useSubmit"),{basename:t}=U.useContext(dn),n=ik(),i=e.fetch,o=e.navigate;return U.useCallback(async(u,c={})=>{let{action:f,method:h,encType:g,formData:p,body:m}=vk(u,t);if(c.navigate===!1){let v=c.fetcherKey||jk();await i(v,n,c.action||f,{defaultShouldRevalidate:c.defaultShouldRevalidate,preventScrollReset:c.preventScrollReset,formData:p,body:m,formMethod:c.method||h,formEncType:c.encType||g,flushSync:c.flushSync})}else await o(c.action||f,{defaultShouldRevalidate:c.defaultShouldRevalidate,preventScrollReset:c.preventScrollReset,formData:p,body:m,formMethod:c.method||h,formEncType:c.encType||g,replace:c.replace,state:c.state,fromRouteId:n,flushSync:c.flushSync,viewTransition:c.viewTransition})},[i,o,t,n])}function Bk(e,{relative:t}={}){let{basename:n}=U.useContext(dn),i=U.useContext(In);at(i,"useFormAction must be used inside a RouteContext");let[o]=i.matches.slice(-1),u={...Iu(e||".",{relative:t})},c=Qn();if(e==null){u.search=c.search;let f=new URLSearchParams(u.search),h=f.getAll("index");if(h.some(p=>p==="")){f.delete("index"),h.filter(m=>m).forEach(m=>f.append("index",m));let p=f.toString();u.search=p?`?${p}`:""}}return(!e||e===".")&&o.route.index&&(u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(u.pathname=u.pathname==="/"?n:Gn([n,u.pathname])),vu(u)}function Pk(e,{relative:t}={}){let n=U.useContext($T);at(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=eE("useViewTransitionState"),o=Iu(e,{relative:t});if(!n.isTransitioning)return!1;let u=Yr(n.currentLocation.pathname,i)||n.currentLocation.pathname,c=Yr(n.nextLocation.pathname,i)||n.nextLocation.pathname;return Yc(o.pathname,c)!=null||Yc(o.pathname,u)!=null}var tE=MT();const $$=Zt(tE);/**
|
|
68
|
+
Please change the parent <Route path="${E}"> to <Route path="${E==="/"?"*":`${E}/*`}">.`)}let p=Qn(),m;if(t){let E=typeof t=="string"?el(t):t;at(h==="/"||((w=E.pathname)==null?void 0:w.startsWith(h)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${h}" but pathname "${E.pathname}" was given in the \`location\` prop.`),m=E}else m=p;let v=m.pathname||"/",S=v;if(h!=="/"){let E=h.replace(/^\//,"").split("/");S="/"+v.replace(/^\//,"").split("/").slice(E.length).join("/")}let M=n&&n.state.matches.length?n.state.matches.map(E=>Object.assign(E,{route:n.manifest[E.route.id]||E.route})):LT(e,{pathname:S});zn(g||M!=null,`No routes matched location "${m.pathname}${m.search}${m.hash}" `),zn(M==null||M[M.length-1].route.element!==void 0||M[M.length-1].route.Component!==void 0||M[M.length-1].route.lazy!==void 0,`Matched leaf route at location "${m.pathname}${m.search}${m.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let b=ek(M&&M.map(E=>Object.assign({},E,{params:Object.assign({},c,E.params),pathname:Gn([h,i.encodeLocation?i.encodeLocation(E.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:E.pathname]),pathnameBase:E.pathnameBase==="/"?h:Gn([h,i.encodeLocation?i.encodeLocation(E.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:E.pathnameBase])})),o,n);return t&&b?U.createElement(Lu.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...m},navigationType:"POP"}},b):b}function KC(){let e=ak(),t=qC(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:i},u={padding:"2px 4px",backgroundColor:i},c=null;return console.error("Error handled by React Router default ErrorBoundary:",e),c=U.createElement(U.Fragment,null,U.createElement("p",null,"💿 Hey developer 👋"),U.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",U.createElement("code",{style:u},"ErrorBoundary")," or"," ",U.createElement("code",{style:u},"errorElement")," prop on your route.")),U.createElement(U.Fragment,null,U.createElement("h2",null,"Unexpected Application Error!"),U.createElement("h3",{style:{fontStyle:"italic"}},t),n?U.createElement("pre",{style:o},n):null,c)}var ZC=U.createElement(KC,null),XT=class extends U.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const n=FC(e.digest);n&&(e=n)}let t=e!==void 0?U.createElement(In.Provider,{value:this.props.routeContext},U.createElement(N1.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?U.createElement(JC,{error:e},t):t}};XT.contextType=PT;var yg=new WeakMap;function JC({children:e,error:t}){let{basename:n}=U.useContext(dn);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let i=VC(t.digest);if(i){let o=yg.get(t);if(o)throw o;let u=HT(i.location,n);if(jT&&!yg.get(t))if(u.isExternal||i.reloadDocument)window.location.href=u.absoluteURL||u.to;else{const c=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(u.to,{replace:i.replace}));throw yg.set(t,c),c}return U.createElement("meta",{httpEquiv:"refresh",content:`0;url=${u.absoluteURL||u.to}`})}}return e}function WC({routeContext:e,match:t,children:n}){let i=U.useContext(tl);return i&&i.static&&i.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=t.route.id),U.createElement(In.Provider,{value:e},n)}function ek(e,t=[],n){let i=n==null?void 0:n.state;if(e==null){if(!i)return null;if(i.errors)e=i.matches;else if(t.length===0&&!i.initialized&&i.matches.length>0)e=i.matches;else return null}let o=e,u=i==null?void 0:i.errors;if(u!=null){let p=o.findIndex(m=>m.route.id&&(u==null?void 0:u[m.route.id])!==void 0);at(p>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(u).join(",")}`),o=o.slice(0,Math.min(o.length,p+1))}let c=!1,f=-1;if(n&&i){c=i.renderFallback;for(let p=0;p<o.length;p++){let m=o[p];if((m.route.HydrateFallback||m.route.hydrateFallbackElement)&&(f=p),m.route.id){let{loaderData:v,errors:S}=i,M=m.route.loader&&!v.hasOwnProperty(m.route.id)&&(!S||S[m.route.id]===void 0);if(m.route.lazy||M){n.isStatic&&(c=!0),f>=0?o=o.slice(0,f+1):o=[o[0]];break}}}}let h=n==null?void 0:n.onError,g=i&&h?(p,m)=>{var v,S;h(p,{location:i.location,params:((S=(v=i.matches)==null?void 0:v[0])==null?void 0:S.params)??{},pattern:UC(i.matches),errorInfo:m})}:void 0;return o.reduceRight((p,m,v)=>{let S,M=!1,b=null,w=null;i&&(S=u&&m.route.id?u[m.route.id]:void 0,b=m.route.errorElement||ZC,c&&(f<0&&v===0?(KT("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),M=!0,w=null):f===v&&(M=!0,w=m.route.hydrateFallbackElement||null)));let E=t.concat(o.slice(0,v+1)),A=()=>{let k;return S?k=b:M?k=w:m.route.Component?k=U.createElement(m.route.Component,null):m.route.element?k=m.route.element:k=p,U.createElement(WC,{match:m,routeContext:{outlet:p,matches:E,isDataRoute:i!=null},children:k})};return i&&(m.route.ErrorBoundary||m.route.errorElement||v===0)?U.createElement(XT,{location:i.location,revalidation:i.revalidation,component:b,error:S,children:A(),routeContext:{outlet:null,matches:E,isDataRoute:!0},onError:g}):A()},null)}function z1(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function tk(e){let t=U.useContext(tl);return at(t,z1(e)),t}function nk(e){let t=U.useContext(Mf);return at(t,z1(e)),t}function rk(e){let t=U.useContext(In);return at(t,z1(e)),t}function L1(e){let t=rk(e),n=t.matches[t.matches.length-1];return at(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function ik(){return L1("useRouteId")}function ak(){var i;let e=U.useContext(N1),t=nk("useRouteError"),n=L1("useRouteError");return e!==void 0?e:(i=t.errors)==null?void 0:i[n]}function ok(){let{router:e}=tk("useNavigate"),t=L1("useNavigate"),n=U.useRef(!1);return FT(()=>{n.current=!0}),U.useCallback(async(o,u={})=>{zn(n.current,VT),n.current&&(typeof o=="number"?await e.navigate(o):await e.navigate(o,{fromRouteId:t,...u}))},[e,t])}var sS={};function KT(e,t,n){!t&&!sS[e]&&(sS[e]=!0,zn(!1,n))}U.memo(lk);function lk({routes:e,manifest:t,future:n,state:i,isStatic:o,onError:u}){return QT(e,void 0,{manifest:t,state:i,isStatic:o,onError:u})}function B$({to:e,replace:t,state:n,relative:i}){at(nl(),"<Navigate> may be used only in the context of a <Router> component.");let{static:o}=U.useContext(dn);zn(!o,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:u}=U.useContext(In),{pathname:c}=Qn(),f=R1(),h=wf(e,D1(u),c,i==="path"),g=JSON.stringify(h);return U.useEffect(()=>{f(JSON.parse(g),{replace:t,state:n,relative:i})},[f,g,i,t,n]),null}function uk(e){at(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function sk({basename:e="/",children:t=null,location:n,navigationType:i="POP",navigator:o,static:u=!1,useTransitions:c}){at(!nl(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let f=e.replace(/^\/*/,"/"),h=U.useMemo(()=>({basename:f,navigator:o,static:u,useTransitions:c,future:{}}),[f,o,u,c]);typeof n=="string"&&(n=el(n));let{pathname:g="/",search:p="",hash:m="",state:v=null,key:S="default",mask:M}=n,b=U.useMemo(()=>{let w=Yr(g,f);return w==null?null:{location:{pathname:w,search:p,hash:m,state:v,key:S,mask:M},navigationType:i}},[f,g,p,m,v,S,i,M]);return zn(b!=null,`<Router basename="${f}"> is not able to match the URL "${g}${p}${m}" because it does not start with the basename, so the <Router> won't render anything.`),b==null?null:U.createElement(dn.Provider,{value:h},U.createElement(Lu.Provider,{children:t,value:b}))}function P$({children:e,location:t}){return XC(Vp(e),t)}function Vp(e,t=[]){let n=[];return U.Children.forEach(e,(i,o)=>{if(!U.isValidElement(i))return;let u=[...t,o];if(i.type===U.Fragment){n.push.apply(n,Vp(i.props.children,u));return}at(i.type===uk,`[${typeof i.type=="string"?i.type:i.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),at(!i.props.index||!i.props.children,"An index route cannot have child routes.");let c={id:i.props.id||u.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,middleware:i.props.middleware,loader:i.props.loader,action:i.props.action,hydrateFallbackElement:i.props.hydrateFallbackElement,HydrateFallback:i.props.HydrateFallback,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.hasErrorBoundary===!0||i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(c.children=Vp(i.props.children,u)),n.push(c)}),n}var Cc="get",kc="application/x-www-form-urlencoded";function Tf(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function ck(e){return Tf(e)&&e.tagName.toLowerCase()==="button"}function fk(e){return Tf(e)&&e.tagName.toLowerCase()==="form"}function hk(e){return Tf(e)&&e.tagName.toLowerCase()==="input"}function dk(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function gk(e,t){return e.button===0&&(!t||t==="_self")&&!dk(e)}function Fp(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let i=e[n];return t.concat(Array.isArray(i)?i.map(o=>[n,o]):[[n,i]])},[]))}function pk(e,t){let n=Fp(e);return t&&t.forEach((i,o)=>{n.has(o)||t.getAll(o).forEach(u=>{n.append(o,u)})}),n}var uc=null;function yk(){if(uc===null)try{new FormData(document.createElement("form"),0),uc=!1}catch{uc=!0}return uc}var mk=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function mg(e){return e!=null&&!mk.has(e)?(zn(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${kc}"`),null):e}function vk(e,t){let n,i,o,u,c;if(fk(e)){let f=e.getAttribute("action");i=f?Yr(f,t):null,n=e.getAttribute("method")||Cc,o=mg(e.getAttribute("enctype"))||kc,u=new FormData(e)}else if(ck(e)||hk(e)&&(e.type==="submit"||e.type==="image")){let f=e.form;if(f==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let h=e.getAttribute("formaction")||f.getAttribute("action");if(i=h?Yr(h,t):null,n=e.getAttribute("formmethod")||f.getAttribute("method")||Cc,o=mg(e.getAttribute("formenctype"))||mg(f.getAttribute("enctype"))||kc,u=new FormData(f,e),!yk()){let{name:g,type:p,value:m}=e;if(p==="image"){let v=g?`${g}.`:"";u.append(`${v}x`,"0"),u.append(`${v}y`,"0")}else g&&u.append(g,m)}}else{if(Tf(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Cc,i=null,o=kc,c=e}return u&&o==="text/plain"&&(c=u,u=void 0),{action:i,method:n.toLowerCase(),encType:o,formData:u,body:c}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function I1(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function ZT(e,t,n,i){let o=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return n?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${i}`:o.pathname=`${o.pathname}.${i}`:o.pathname==="/"?o.pathname=`_root.${i}`:t&&Yr(o.pathname,t)==="/"?o.pathname=`${Vc(t)}/_root.${i}`:o.pathname=`${Vc(o.pathname)}.${i}`,o}async function bk(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(n){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Sk(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function _k(e,t,n){let i=await Promise.all(e.map(async o=>{let u=t.routes[o.route.id];if(u){let c=await bk(u,n);return c.links?c.links():[]}return[]}));return Ek(i.flat(1).filter(Sk).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function cS(e,t,n,i,o,u){let c=(h,g)=>n[g]?h.route.id!==n[g].route.id:!0,f=(h,g)=>{var p;return n[g].pathname!==h.pathname||((p=n[g].route.path)==null?void 0:p.endsWith("*"))&&n[g].params["*"]!==h.params["*"]};return u==="assets"?t.filter((h,g)=>c(h,g)||f(h,g)):u==="data"?t.filter((h,g)=>{var m;let p=i.routes[h.route.id];if(!p||!p.hasLoader)return!1;if(c(h,g)||f(h,g))return!0;if(h.route.shouldRevalidate){let v=h.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:((m=n[0])==null?void 0:m.params)||{},nextUrl:new URL(e,window.origin),nextParams:h.params,defaultShouldRevalidate:!0});if(typeof v=="boolean")return v}return!0}):[]}function wk(e,t,{includeHydrateFallback:n}={}){return Mk(e.map(i=>{let o=t.routes[i.route.id];if(!o)return[];let u=[o.module];return o.clientActionModule&&(u=u.concat(o.clientActionModule)),o.clientLoaderModule&&(u=u.concat(o.clientLoaderModule)),n&&o.hydrateFallbackModule&&(u=u.concat(o.hydrateFallbackModule)),o.imports&&(u=u.concat(o.imports)),u}).flat(1))}function Mk(e){return[...new Set(e)]}function Tk(e){let t={},n=Object.keys(e).sort();for(let i of n)t[i]=e[i];return t}function Ek(e,t){let n=new Set;return new Set(t),e.reduce((i,o)=>{let u=JSON.stringify(Tk(o));return n.has(u)||(n.add(u),i.push({key:u,link:o})),i},[])}function q1(){let e=U.useContext(tl);return I1(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function xk(){let e=U.useContext(Mf);return I1(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var U1=U.createContext(void 0);U1.displayName="FrameworkContext";function j1(){let e=U.useContext(U1);return I1(e,"You must render this element inside a <HydratedRouter> element"),e}function Ok(e,t){let n=U.useContext(U1),[i,o]=U.useState(!1),[u,c]=U.useState(!1),{onFocus:f,onBlur:h,onMouseEnter:g,onMouseLeave:p,onTouchStart:m}=t,v=U.useRef(null);U.useEffect(()=>{if(e==="render"&&c(!0),e==="viewport"){let b=E=>{E.forEach(A=>{c(A.isIntersecting)})},w=new IntersectionObserver(b,{threshold:.5});return v.current&&w.observe(v.current),()=>{w.disconnect()}}},[e]),U.useEffect(()=>{if(i){let b=setTimeout(()=>{c(!0)},100);return()=>{clearTimeout(b)}}},[i]);let S=()=>{o(!0)},M=()=>{o(!1),c(!1)};return n?e!=="intent"?[u,v,{}]:[u,v,{onFocus:tu(f,S),onBlur:tu(h,M),onMouseEnter:tu(g,S),onMouseLeave:tu(p,M),onTouchStart:tu(m,S)}]:[!1,v,{}]}function tu(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function Ck({page:e,...t}){let n=HC(),{router:i}=q1(),o=U.useMemo(()=>LT(i.routes,e,i.basename),[i.routes,e,i.basename]);return o?n?U.createElement(Ak,{page:e,matches:o,...t}):U.createElement(Dk,{page:e,matches:o,...t}):null}function kk(e){let{manifest:t,routeModules:n}=j1(),[i,o]=U.useState([]);return U.useEffect(()=>{let u=!1;return _k(e,t,n).then(c=>{u||o(c)}),()=>{u=!0}},[e,t,n]),i}function Ak({page:e,matches:t,...n}){let i=Qn(),{future:o}=j1(),{basename:u}=q1(),c=U.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let f=ZT(e,u,o.v8_trailingSlashAwareDataRequests,"rsc"),h=!1,g=[];for(let p of t)typeof p.route.shouldRevalidate=="function"?h=!0:g.push(p.route.id);return h&&g.length>0&&f.searchParams.set("_routes",g.join(",")),[f.pathname+f.search]},[u,o.v8_trailingSlashAwareDataRequests,e,i,t]);return U.createElement(U.Fragment,null,c.map(f=>U.createElement("link",{key:f,rel:"prefetch",as:"fetch",href:f,...n})))}function Dk({page:e,matches:t,...n}){let i=Qn(),{future:o,manifest:u,routeModules:c}=j1(),{basename:f}=q1(),{loaderData:h,matches:g}=xk(),p=U.useMemo(()=>cS(e,t,g,u,i,"data"),[e,t,g,u,i]),m=U.useMemo(()=>cS(e,t,g,u,i,"assets"),[e,t,g,u,i]),v=U.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let b=new Set,w=!1;if(t.forEach(A=>{var T;let k=u.routes[A.route.id];!k||!k.hasLoader||(!p.some(C=>C.route.id===A.route.id)&&A.route.id in h&&((T=c[A.route.id])!=null&&T.shouldRevalidate)||k.hasClientLoader?w=!0:b.add(A.route.id))}),b.size===0)return[];let E=ZT(e,f,o.v8_trailingSlashAwareDataRequests,"data");return w&&b.size>0&&E.searchParams.set("_routes",t.filter(A=>b.has(A.route.id)).map(A=>A.route.id).join(",")),[E.pathname+E.search]},[f,o.v8_trailingSlashAwareDataRequests,h,i,u,p,t,e,c]),S=U.useMemo(()=>wk(m,u),[m,u]),M=kk(m);return U.createElement(U.Fragment,null,v.map(b=>U.createElement("link",{key:b,rel:"prefetch",as:"fetch",href:b,...n})),S.map(b=>U.createElement("link",{key:b,rel:"modulepreload",href:b,...n})),M.map(({key:b,link:w})=>U.createElement("link",{key:b,nonce:n.nonce,...w,crossOrigin:w.crossOrigin??n.crossOrigin})))}function Nk(...e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}var Rk=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Rk&&(window.__reactRouterVersion="7.16.0")}catch{}function $$({basename:e,children:t,useTransitions:n,window:i}){let o=U.useRef();o.current==null&&(o.current=hC({window:i,v5Compat:!0}));let u=o.current,[c,f]=U.useState({action:u.action,location:u.location}),h=U.useCallback(g=>{n===!1?f(g):U.startTransition(()=>f(g))},[n]);return U.useLayoutEffect(()=>u.listen(h),[u,h]),U.createElement(sk,{basename:e,children:t,location:c.location,navigationType:c.action,navigator:u,useTransitions:n})}var JT=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,WT=U.forwardRef(function({onClick:t,discover:n="render",prefetch:i="none",relative:o,reloadDocument:u,replace:c,mask:f,state:h,target:g,to:p,preventScrollReset:m,viewTransition:v,defaultShouldRevalidate:S,...M},b){let{basename:w,navigator:E,useTransitions:A}=U.useContext(dn),k=typeof p=="string"&&JT.test(p),T=HT(p,w);p=T.to;let C=GC(p,{relative:o}),O=Qn(),D=null;if(f){let re=wf(f,[],O.mask?O.mask.pathname:"/",!0);w!=="/"&&(re.pathname=re.pathname==="/"?w:Gn([w,re.pathname])),D=E.createHref(re)}let[N,P,Z]=Ok(i,M),W=qk(p,{replace:c,mask:f,state:h,target:g,preventScrollReset:m,relative:o,viewTransition:v,defaultShouldRevalidate:S,useTransitions:A});function G(re){t&&t(re),re.defaultPrevented||W(re)}let ue=!(T.isExternal||u),q=U.createElement("a",{...M,...Z,href:(ue?D:void 0)||T.absoluteURL||C,onClick:ue?G:t,ref:Nk(b,P),target:g,"data-discover":!k&&n==="render"?"true":void 0});return N&&!k?U.createElement(U.Fragment,null,q,U.createElement(Ck,{page:C})):q});WT.displayName="Link";var zk=U.forwardRef(function({"aria-current":t="page",caseSensitive:n=!1,className:i="",end:o=!1,style:u,to:c,viewTransition:f,children:h,...g},p){let m=Iu(c,{relative:g.relative}),v=Qn(),S=U.useContext(Mf),{navigator:M,basename:b}=U.useContext(dn),w=S!=null&&Pk(m)&&f===!0,E=M.encodeLocation?M.encodeLocation(m).pathname:m.pathname,A=v.pathname,k=S&&S.navigation&&S.navigation.location?S.navigation.location.pathname:null;n||(A=A.toLowerCase(),k=k?k.toLowerCase():null,E=E.toLowerCase()),k&&b&&(k=Yr(k,b)||k);const T=E!=="/"&&E.endsWith("/")?E.length-1:E.length;let C=A===E||!o&&A.startsWith(E)&&A.charAt(T)==="/",O=k!=null&&(k===E||!o&&k.startsWith(E)&&k.charAt(E.length)==="/"),D={isActive:C,isPending:O,isTransitioning:w},N=C?t:void 0,P;typeof i=="function"?P=i(D):P=[i,C?"active":null,O?"pending":null,w?"transitioning":null].filter(Boolean).join(" ");let Z=typeof u=="function"?u(D):u;return U.createElement(WT,{...g,"aria-current":N,className:P,ref:p,style:Z,to:c,viewTransition:f},typeof h=="function"?h(D):h)});zk.displayName="NavLink";var Lk=U.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:i,replace:o,state:u,method:c=Cc,action:f,onSubmit:h,relative:g,preventScrollReset:p,viewTransition:m,defaultShouldRevalidate:v,...S},M)=>{let{useTransitions:b}=U.useContext(dn),w=Hk(),E=Bk(f,{relative:g}),A=c.toLowerCase()==="get"?"get":"post",k=typeof f=="string"&&JT.test(f),T=C=>{if(h&&h(C),C.defaultPrevented)return;C.preventDefault();let O=C.nativeEvent.submitter,D=(O==null?void 0:O.getAttribute("formmethod"))||c,N=()=>w(O||C.currentTarget,{fetcherKey:t,method:D,navigate:n,replace:o,state:u,relative:g,preventScrollReset:p,viewTransition:m,defaultShouldRevalidate:v});b&&n!==!1?U.startTransition(()=>N()):N()};return U.createElement("form",{ref:M,method:A,action:E,onSubmit:i?h:T,...S,"data-discover":!k&&e==="render"?"true":void 0})});Lk.displayName="Form";function Ik(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function eE(e){let t=U.useContext(tl);return at(t,Ik(e)),t}function qk(e,{target:t,replace:n,mask:i,state:o,preventScrollReset:u,relative:c,viewTransition:f,defaultShouldRevalidate:h,useTransitions:g}={}){let p=R1(),m=Qn(),v=Iu(e,{relative:c});return U.useCallback(S=>{if(gk(S,t)){S.preventDefault();let M=n!==void 0?n:vu(m)===vu(v),b=()=>p(e,{replace:M,mask:i,state:o,preventScrollReset:u,relative:c,viewTransition:f,defaultShouldRevalidate:h});g?U.startTransition(()=>b()):b()}},[m,p,v,n,i,o,t,e,u,c,f,h,g])}function Y$(e){zn(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=U.useRef(Fp(e)),n=U.useRef(!1),i=Qn(),o=U.useMemo(()=>pk(i.search,n.current?null:t.current),[i.search]),u=R1(),c=U.useCallback((f,h)=>{const g=Fp(typeof f=="function"?f(new URLSearchParams(o)):f);n.current=!0,u("?"+g,h)},[u,o]);return[o,c]}var Uk=0,jk=()=>`__${String(++Uk)}__`;function Hk(){let{router:e}=eE("useSubmit"),{basename:t}=U.useContext(dn),n=ik(),i=e.fetch,o=e.navigate;return U.useCallback(async(u,c={})=>{let{action:f,method:h,encType:g,formData:p,body:m}=vk(u,t);if(c.navigate===!1){let v=c.fetcherKey||jk();await i(v,n,c.action||f,{defaultShouldRevalidate:c.defaultShouldRevalidate,preventScrollReset:c.preventScrollReset,formData:p,body:m,formMethod:c.method||h,formEncType:c.encType||g,flushSync:c.flushSync})}else await o(c.action||f,{defaultShouldRevalidate:c.defaultShouldRevalidate,preventScrollReset:c.preventScrollReset,formData:p,body:m,formMethod:c.method||h,formEncType:c.encType||g,replace:c.replace,state:c.state,fromRouteId:n,flushSync:c.flushSync,viewTransition:c.viewTransition})},[i,o,t,n])}function Bk(e,{relative:t}={}){let{basename:n}=U.useContext(dn),i=U.useContext(In);at(i,"useFormAction must be used inside a RouteContext");let[o]=i.matches.slice(-1),u={...Iu(e||".",{relative:t})},c=Qn();if(e==null){u.search=c.search;let f=new URLSearchParams(u.search),h=f.getAll("index");if(h.some(p=>p==="")){f.delete("index"),h.filter(m=>m).forEach(m=>f.append("index",m));let p=f.toString();u.search=p?`?${p}`:""}}return(!e||e===".")&&o.route.index&&(u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(u.pathname=u.pathname==="/"?n:Gn([n,u.pathname])),vu(u)}function Pk(e,{relative:t}={}){let n=U.useContext($T);at(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=eE("useViewTransitionState"),o=Iu(e,{relative:t});if(!n.isTransitioning)return!1;let u=Yr(n.currentLocation.pathname,i)||n.currentLocation.pathname,c=Yr(n.nextLocation.pathname,i)||n.nextLocation.pathname;return Yc(o.pathname,c)!=null||Yc(o.pathname,u)!=null}var tE=MT();const V$=Zt(tE);/**
|
|
69
69
|
* @license lucide-react v0.525.0 - ISC
|
|
70
70
|
*
|
|
71
71
|
* This source code is licensed under the ISC license.
|
|
@@ -90,942 +90,952 @@ Please change the parent <Route path="${E}"> to <Route path="${E==="/"?"*":`${E}
|
|
|
90
90
|
*
|
|
91
91
|
* This source code is licensed under the ISC license.
|
|
92
92
|
* See the LICENSE file in the root directory of this source tree.
|
|
93
|
-
*/const Qk=[["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"}]],
|
|
93
|
+
*/const Qk=[["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"}]],F$=H("activity",Qk);/**
|
|
94
94
|
* @license lucide-react v0.525.0 - ISC
|
|
95
95
|
*
|
|
96
96
|
* This source code is licensed under the ISC license.
|
|
97
97
|
* See the LICENSE file in the root directory of this source tree.
|
|
98
|
-
*/const Xk=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h2",key:"tvwodi"}],["path",{d:"M20 8v11a2 2 0 0 1-2 2h-2",key:"1gkqxj"}],["path",{d:"m9 15 3-3 3 3",key:"1pd0qc"}],["path",{d:"M12 12v9",key:"192myk"}]],
|
|
98
|
+
*/const Xk=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h2",key:"tvwodi"}],["path",{d:"M20 8v11a2 2 0 0 1-2 2h-2",key:"1gkqxj"}],["path",{d:"m9 15 3-3 3 3",key:"1pd0qc"}],["path",{d:"M12 12v9",key:"192myk"}]],G$=H("archive-restore",Xk);/**
|
|
99
99
|
* @license lucide-react v0.525.0 - ISC
|
|
100
100
|
*
|
|
101
101
|
* This source code is licensed under the ISC license.
|
|
102
102
|
* See the LICENSE file in the root directory of this source tree.
|
|
103
|
-
*/const Kk=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]],
|
|
103
|
+
*/const Kk=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]],Q$=H("archive",Kk);/**
|
|
104
104
|
* @license lucide-react v0.525.0 - ISC
|
|
105
105
|
*
|
|
106
106
|
* This source code is licensed under the ISC license.
|
|
107
107
|
* See the LICENSE file in the root directory of this source tree.
|
|
108
|
-
*/const Zk=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],
|
|
108
|
+
*/const Zk=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],X$=H("arrow-down",Zk);/**
|
|
109
109
|
* @license lucide-react v0.525.0 - ISC
|
|
110
110
|
*
|
|
111
111
|
* This source code is licensed under the ISC license.
|
|
112
112
|
* See the LICENSE file in the root directory of this source tree.
|
|
113
|
-
*/const Jk=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],
|
|
113
|
+
*/const Jk=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],K$=H("arrow-left",Jk);/**
|
|
114
114
|
* @license lucide-react v0.525.0 - ISC
|
|
115
115
|
*
|
|
116
116
|
* This source code is licensed under the ISC license.
|
|
117
117
|
* See the LICENSE file in the root directory of this source tree.
|
|
118
|
-
*/const Wk=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],
|
|
118
|
+
*/const Wk=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Z$=H("arrow-right",Wk);/**
|
|
119
119
|
* @license lucide-react v0.525.0 - ISC
|
|
120
120
|
*
|
|
121
121
|
* This source code is licensed under the ISC license.
|
|
122
122
|
* See the LICENSE file in the root directory of this source tree.
|
|
123
|
-
*/const eA=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],
|
|
123
|
+
*/const eA=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],J$=H("arrow-up-right",eA);/**
|
|
124
124
|
* @license lucide-react v0.525.0 - ISC
|
|
125
125
|
*
|
|
126
126
|
* This source code is licensed under the ISC license.
|
|
127
127
|
* See the LICENSE file in the root directory of this source tree.
|
|
128
|
-
*/const tA=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],
|
|
128
|
+
*/const tA=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],W$=H("arrow-up",tA);/**
|
|
129
129
|
* @license lucide-react v0.525.0 - ISC
|
|
130
130
|
*
|
|
131
131
|
* This source code is licensed under the ISC license.
|
|
132
132
|
* See the LICENSE file in the root directory of this source tree.
|
|
133
|
-
*/const nA=[["path",{d:"m11 7-3 5h4l-3 5",key:"b4a64w"}],["path",{d:"M14.856 6H16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.935",key:"lre1cr"}],["path",{d:"M22 14v-4",key:"14q9d5"}],["path",{d:"M5.14 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2.936",key:"13q5k0"}]],
|
|
133
|
+
*/const nA=[["path",{d:"m11 7-3 5h4l-3 5",key:"b4a64w"}],["path",{d:"M14.856 6H16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.935",key:"lre1cr"}],["path",{d:"M22 14v-4",key:"14q9d5"}],["path",{d:"M5.14 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2.936",key:"13q5k0"}]],eY=H("battery-charging",nA);/**
|
|
134
134
|
* @license lucide-react v0.525.0 - ISC
|
|
135
135
|
*
|
|
136
136
|
* This source code is licensed under the ISC license.
|
|
137
137
|
* See the LICENSE file in the root directory of this source tree.
|
|
138
|
-
*/const rA=[["path",{d:"M16.4 13.7A6.5 6.5 0 1 0 6.28 6.6c-1.1 3.13-.78 3.9-3.18 6.08A3 3 0 0 0 5 18c4 0 8.4-1.8 11.4-4.3",key:"cisjcv"}],["path",{d:"m18.5 6 2.19 4.5a6.48 6.48 0 0 1-2.29 7.2C15.4 20.2 11 22 7 22a3 3 0 0 1-2.68-1.66L2.4 16.5",key:"5byaag"}],["circle",{cx:"12.5",cy:"8.5",r:"2.5",key:"9738u8"}]],
|
|
138
|
+
*/const rA=[["path",{d:"M16.4 13.7A6.5 6.5 0 1 0 6.28 6.6c-1.1 3.13-.78 3.9-3.18 6.08A3 3 0 0 0 5 18c4 0 8.4-1.8 11.4-4.3",key:"cisjcv"}],["path",{d:"m18.5 6 2.19 4.5a6.48 6.48 0 0 1-2.29 7.2C15.4 20.2 11 22 7 22a3 3 0 0 1-2.68-1.66L2.4 16.5",key:"5byaag"}],["circle",{cx:"12.5",cy:"8.5",r:"2.5",key:"9738u8"}]],tY=H("beef",rA);/**
|
|
139
139
|
* @license lucide-react v0.525.0 - ISC
|
|
140
140
|
*
|
|
141
141
|
* This source code is licensed under the ISC license.
|
|
142
142
|
* See the LICENSE file in the root directory of this source tree.
|
|
143
|
-
*/const iA=[["path",{d:"M2 16V4a2 2 0 0 1 2-2h11",key:"spzkk5"}],["path",{d:"M22 18H11a2 2 0 1 0 0 4h10.5a.5.5 0 0 0 .5-.5v-15a.5.5 0 0 0-.5-.5H11a2 2 0 0 0-2 2v12",key:"1wz07i"}],["path",{d:"M5 14H4a2 2 0 1 0 0 4h1",key:"16gqf9"}]],
|
|
143
|
+
*/const iA=[["path",{d:"M2 16V4a2 2 0 0 1 2-2h11",key:"spzkk5"}],["path",{d:"M22 18H11a2 2 0 1 0 0 4h10.5a.5.5 0 0 0 .5-.5v-15a.5.5 0 0 0-.5-.5H11a2 2 0 0 0-2 2v12",key:"1wz07i"}],["path",{d:"M5 14H4a2 2 0 1 0 0 4h1",key:"16gqf9"}]],nY=H("book-copy",iA);/**
|
|
144
144
|
* @license lucide-react v0.525.0 - ISC
|
|
145
145
|
*
|
|
146
146
|
* This source code is licensed under the ISC license.
|
|
147
147
|
* See the LICENSE file in the root directory of this source tree.
|
|
148
|
-
*/const aA=[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]],
|
|
148
|
+
*/const aA=[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]],rY=H("bot",aA);/**
|
|
149
149
|
* @license lucide-react v0.525.0 - ISC
|
|
150
150
|
*
|
|
151
151
|
* This source code is licensed under the ISC license.
|
|
152
152
|
* See the LICENSE file in the root directory of this source tree.
|
|
153
|
-
*/const oA=[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]],
|
|
153
|
+
*/const oA=[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]],iY=H("braces",oA);/**
|
|
154
154
|
* @license lucide-react v0.525.0 - ISC
|
|
155
155
|
*
|
|
156
156
|
* This source code is licensed under the ISC license.
|
|
157
157
|
* See the LICENSE file in the root directory of this source tree.
|
|
158
|
-
*/const lA=[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M9 13a4.5 4.5 0 0 0 3-4",key:"10igwf"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M12 13h4",key:"1ku699"}],["path",{d:"M12 18h6a2 2 0 0 1 2 2v1",key:"105ag5"}],["path",{d:"M12 8h8",key:"1lhi5i"}],["path",{d:"M16 8V5a2 2 0 0 1 2-2",key:"u6izg6"}],["circle",{cx:"16",cy:"13",r:".5",key:"ry7gng"}],["circle",{cx:"18",cy:"3",r:".5",key:"1aiba7"}],["circle",{cx:"20",cy:"21",r:".5",key:"yhc1fs"}],["circle",{cx:"20",cy:"8",r:".5",key:"1e43v0"}]],
|
|
158
|
+
*/const lA=[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M9 13a4.5 4.5 0 0 0 3-4",key:"10igwf"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M12 13h4",key:"1ku699"}],["path",{d:"M12 18h6a2 2 0 0 1 2 2v1",key:"105ag5"}],["path",{d:"M12 8h8",key:"1lhi5i"}],["path",{d:"M16 8V5a2 2 0 0 1 2-2",key:"u6izg6"}],["circle",{cx:"16",cy:"13",r:".5",key:"ry7gng"}],["circle",{cx:"18",cy:"3",r:".5",key:"1aiba7"}],["circle",{cx:"20",cy:"21",r:".5",key:"yhc1fs"}],["circle",{cx:"20",cy:"8",r:".5",key:"1e43v0"}]],aY=H("brain-circuit",lA);/**
|
|
159
159
|
* @license lucide-react v0.525.0 - ISC
|
|
160
160
|
*
|
|
161
161
|
* This source code is licensed under the ISC license.
|
|
162
162
|
* See the LICENSE file in the root directory of this source tree.
|
|
163
|
-
*/const uA=[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]],
|
|
163
|
+
*/const uA=[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]],oY=H("brain",uA);/**
|
|
164
164
|
* @license lucide-react v0.525.0 - ISC
|
|
165
165
|
*
|
|
166
166
|
* This source code is licensed under the ISC license.
|
|
167
167
|
* See the LICENSE file in the root directory of this source tree.
|
|
168
|
-
*/const sA=[["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2",key:"1ksdt3"}],["path",{d:"M22 13a18.15 18.15 0 0 1-20 0",key:"12hx5q"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]],
|
|
168
|
+
*/const sA=[["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2",key:"1ksdt3"}],["path",{d:"M22 13a18.15 18.15 0 0 1-20 0",key:"12hx5q"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]],lY=H("briefcase-business",sA);/**
|
|
169
169
|
* @license lucide-react v0.525.0 - ISC
|
|
170
170
|
*
|
|
171
171
|
* This source code is licensed under the ISC license.
|
|
172
172
|
* See the LICENSE file in the root directory of this source tree.
|
|
173
|
-
*/const cA=[["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M9 7.13v-1a3.003 3.003 0 1 1 6 0v1",key:"d7y7pr"}],["path",{d:"M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6",key:"xs1cw7"}],["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M6.53 9C4.6 8.8 3 7.1 3 5",key:"32zzws"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"M3 21c0-2.1 1.7-3.9 3.8-4",key:"4p0ekp"}],["path",{d:"M20.97 5c0 2.1-1.6 3.8-3.5 4",key:"18gb23"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M17.2 17c2.1.1 3.8 1.9 3.8 4",key:"k3fwyw"}]],
|
|
173
|
+
*/const cA=[["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M9 7.13v-1a3.003 3.003 0 1 1 6 0v1",key:"d7y7pr"}],["path",{d:"M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6",key:"xs1cw7"}],["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M6.53 9C4.6 8.8 3 7.1 3 5",key:"32zzws"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"M3 21c0-2.1 1.7-3.9 3.8-4",key:"4p0ekp"}],["path",{d:"M20.97 5c0 2.1-1.6 3.8-3.5 4",key:"18gb23"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M17.2 17c2.1.1 3.8 1.9 3.8 4",key:"k3fwyw"}]],uY=H("bug",cA);/**
|
|
174
174
|
* @license lucide-react v0.525.0 - ISC
|
|
175
175
|
*
|
|
176
176
|
* This source code is licensed under the ISC license.
|
|
177
177
|
* See the LICENSE file in the root directory of this source tree.
|
|
178
|
-
*/const fA=[["path",{d:"M17 21v-2a1 1 0 0 1-1-1v-1a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1",key:"10bnsj"}],["path",{d:"M19 15V6.5a1 1 0 0 0-7 0v11a1 1 0 0 1-7 0V9",key:"1eqmu1"}],["path",{d:"M21 21v-2h-4",key:"14zm7j"}],["path",{d:"M3 5h4V3",key:"z442eg"}],["path",{d:"M7 5a1 1 0 0 1 1 1v1a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a1 1 0 0 1 1-1V3",key:"ebdjd7"}]],
|
|
178
|
+
*/const fA=[["path",{d:"M17 21v-2a1 1 0 0 1-1-1v-1a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1",key:"10bnsj"}],["path",{d:"M19 15V6.5a1 1 0 0 0-7 0v11a1 1 0 0 1-7 0V9",key:"1eqmu1"}],["path",{d:"M21 21v-2h-4",key:"14zm7j"}],["path",{d:"M3 5h4V3",key:"z442eg"}],["path",{d:"M7 5a1 1 0 0 1 1 1v1a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a1 1 0 0 1 1-1V3",key:"ebdjd7"}]],sY=H("cable",fA);/**
|
|
179
179
|
* @license lucide-react v0.525.0 - ISC
|
|
180
180
|
*
|
|
181
181
|
* This source code is licensed under the ISC license.
|
|
182
182
|
* See the LICENSE file in the root directory of this source tree.
|
|
183
|
-
*/const hA=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]],
|
|
183
|
+
*/const hA=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]],cY=H("calendar-days",hA);/**
|
|
184
184
|
* @license lucide-react v0.525.0 - ISC
|
|
185
185
|
*
|
|
186
186
|
* This source code is licensed under the ISC license.
|
|
187
187
|
* See the LICENSE file in the root directory of this source tree.
|
|
188
|
-
*/const dA=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],
|
|
188
|
+
*/const dA=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],fY=H("chart-column",dA);/**
|
|
189
189
|
* @license lucide-react v0.525.0 - ISC
|
|
190
190
|
*
|
|
191
191
|
* This source code is licensed under the ISC license.
|
|
192
192
|
* See the LICENSE file in the root directory of this source tree.
|
|
193
|
-
*/const gA=[["path",{d:"M12 16v5",key:"zza2cw"}],["path",{d:"M16 14v7",key:"1g90b9"}],["path",{d:"M20 10v11",key:"1iqoj0"}],["path",{d:"m22 3-8.646 8.646a.5.5 0 0 1-.708 0L9.354 8.354a.5.5 0 0 0-.707 0L2 15",key:"1fw8x9"}],["path",{d:"M4 18v3",key:"1yp0dc"}],["path",{d:"M8 14v7",key:"n3cwzv"}]],
|
|
193
|
+
*/const gA=[["path",{d:"M12 16v5",key:"zza2cw"}],["path",{d:"M16 14v7",key:"1g90b9"}],["path",{d:"M20 10v11",key:"1iqoj0"}],["path",{d:"m22 3-8.646 8.646a.5.5 0 0 1-.708 0L9.354 8.354a.5.5 0 0 0-.707 0L2 15",key:"1fw8x9"}],["path",{d:"M4 18v3",key:"1yp0dc"}],["path",{d:"M8 14v7",key:"n3cwzv"}]],hY=H("chart-no-axes-combined",gA);/**
|
|
194
194
|
* @license lucide-react v0.525.0 - ISC
|
|
195
195
|
*
|
|
196
196
|
* This source code is licensed under the ISC license.
|
|
197
197
|
* See the LICENSE file in the root directory of this source tree.
|
|
198
|
-
*/const pA=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],
|
|
198
|
+
*/const pA=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],dY=H("check-check",pA);/**
|
|
199
199
|
* @license lucide-react v0.525.0 - ISC
|
|
200
200
|
*
|
|
201
201
|
* This source code is licensed under the ISC license.
|
|
202
202
|
* See the LICENSE file in the root directory of this source tree.
|
|
203
|
-
*/const yA=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],
|
|
203
|
+
*/const yA=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],gY=H("check",yA);/**
|
|
204
204
|
* @license lucide-react v0.525.0 - ISC
|
|
205
205
|
*
|
|
206
206
|
* This source code is licensed under the ISC license.
|
|
207
207
|
* See the LICENSE file in the root directory of this source tree.
|
|
208
|
-
*/const mA=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],
|
|
208
|
+
*/const mA=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],pY=H("chevron-down",mA);/**
|
|
209
209
|
* @license lucide-react v0.525.0 - ISC
|
|
210
210
|
*
|
|
211
211
|
* This source code is licensed under the ISC license.
|
|
212
212
|
* See the LICENSE file in the root directory of this source tree.
|
|
213
|
-
*/const vA=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],
|
|
213
|
+
*/const vA=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],yY=H("chevron-left",vA);/**
|
|
214
214
|
* @license lucide-react v0.525.0 - ISC
|
|
215
215
|
*
|
|
216
216
|
* This source code is licensed under the ISC license.
|
|
217
217
|
* See the LICENSE file in the root directory of this source tree.
|
|
218
|
-
*/const bA=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],
|
|
218
|
+
*/const bA=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],mY=H("chevron-right",bA);/**
|
|
219
219
|
* @license lucide-react v0.525.0 - ISC
|
|
220
220
|
*
|
|
221
221
|
* This source code is licensed under the ISC license.
|
|
222
222
|
* See the LICENSE file in the root directory of this source tree.
|
|
223
|
-
*/const SA=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],
|
|
223
|
+
*/const SA=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],vY=H("chevron-up",SA);/**
|
|
224
224
|
* @license lucide-react v0.525.0 - ISC
|
|
225
225
|
*
|
|
226
226
|
* This source code is licensed under the ISC license.
|
|
227
227
|
* See the LICENSE file in the root directory of this source tree.
|
|
228
|
-
*/const _A=[["path",{d:"m11 17-5-5 5-5",key:"13zhaf"}],["path",{d:"m18 17-5-5 5-5",key:"h8a8et"}]],
|
|
228
|
+
*/const _A=[["path",{d:"m11 17-5-5 5-5",key:"13zhaf"}],["path",{d:"m18 17-5-5 5-5",key:"h8a8et"}]],bY=H("chevrons-left",_A);/**
|
|
229
229
|
* @license lucide-react v0.525.0 - ISC
|
|
230
230
|
*
|
|
231
231
|
* This source code is licensed under the ISC license.
|
|
232
232
|
* See the LICENSE file in the root directory of this source tree.
|
|
233
|
-
*/const wA=[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]],
|
|
233
|
+
*/const wA=[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]],SY=H("chevrons-right",wA);/**
|
|
234
234
|
* @license lucide-react v0.525.0 - ISC
|
|
235
235
|
*
|
|
236
236
|
* This source code is licensed under the ISC license.
|
|
237
237
|
* See the LICENSE file in the root directory of this source tree.
|
|
238
|
-
*/const MA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],
|
|
238
|
+
*/const MA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],_Y=H("circle-alert",MA);/**
|
|
239
239
|
* @license lucide-react v0.525.0 - ISC
|
|
240
240
|
*
|
|
241
241
|
* This source code is licensed under the ISC license.
|
|
242
242
|
* See the LICENSE file in the root directory of this source tree.
|
|
243
|
-
*/const TA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],
|
|
243
|
+
*/const TA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],wY=H("circle-check",TA);/**
|
|
244
244
|
* @license lucide-react v0.525.0 - ISC
|
|
245
245
|
*
|
|
246
246
|
* This source code is licensed under the ISC license.
|
|
247
247
|
* See the LICENSE file in the root directory of this source tree.
|
|
248
|
-
*/const EA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"10",x2:"10",y1:"15",y2:"9",key:"c1nkhi"}],["line",{x1:"14",x2:"14",y1:"15",y2:"9",key:"h65svq"}]],
|
|
248
|
+
*/const EA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"10",x2:"10",y1:"15",y2:"9",key:"c1nkhi"}],["line",{x1:"14",x2:"14",y1:"15",y2:"9",key:"h65svq"}]],MY=H("circle-pause",EA);/**
|
|
249
249
|
* @license lucide-react v0.525.0 - ISC
|
|
250
250
|
*
|
|
251
251
|
* This source code is licensed under the ISC license.
|
|
252
252
|
* See the LICENSE file in the root directory of this source tree.
|
|
253
|
-
*/const xA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]],
|
|
253
|
+
*/const xA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]],TY=H("circle-plus",xA);/**
|
|
254
254
|
* @license lucide-react v0.525.0 - ISC
|
|
255
255
|
*
|
|
256
256
|
* This source code is licensed under the ISC license.
|
|
257
257
|
* See the LICENSE file in the root directory of this source tree.
|
|
258
|
-
*/const OA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],
|
|
258
|
+
*/const OA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],EY=H("circle-question-mark",OA);/**
|
|
259
259
|
* @license lucide-react v0.525.0 - ISC
|
|
260
260
|
*
|
|
261
261
|
* This source code is licensed under the ISC license.
|
|
262
262
|
* See the LICENSE file in the root directory of this source tree.
|
|
263
|
-
*/const CA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],
|
|
263
|
+
*/const CA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],xY=H("circle-x",CA);/**
|
|
264
264
|
* @license lucide-react v0.525.0 - ISC
|
|
265
265
|
*
|
|
266
266
|
* This source code is licensed under the ISC license.
|
|
267
267
|
* See the LICENSE file in the root directory of this source tree.
|
|
268
|
-
*/const kA=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],
|
|
268
|
+
*/const kA=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],OY=H("clipboard-list",kA);/**
|
|
269
269
|
* @license lucide-react v0.525.0 - ISC
|
|
270
270
|
*
|
|
271
271
|
* This source code is licensed under the ISC license.
|
|
272
272
|
* See the LICENSE file in the root directory of this source tree.
|
|
273
|
-
*/const AA=[["path",{d:"M11 14h10",key:"1w8e9d"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v1.344",key:"1e62lh"}],["path",{d:"m17 18 4-4-4-4",key:"z2g111"}],["path",{d:"M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 1.793-1.113",key:"bjbb7m"}],["rect",{x:"8",y:"2",width:"8",height:"4",rx:"1",key:"ublpy"}]],
|
|
273
|
+
*/const AA=[["path",{d:"M11 14h10",key:"1w8e9d"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v1.344",key:"1e62lh"}],["path",{d:"m17 18 4-4-4-4",key:"z2g111"}],["path",{d:"M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 1.793-1.113",key:"bjbb7m"}],["rect",{x:"8",y:"2",width:"8",height:"4",rx:"1",key:"ublpy"}]],CY=H("clipboard-paste",AA);/**
|
|
274
274
|
* @license lucide-react v0.525.0 - ISC
|
|
275
275
|
*
|
|
276
276
|
* This source code is licensed under the ISC license.
|
|
277
277
|
* See the LICENSE file in the root directory of this source tree.
|
|
278
|
-
*/const DA=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]],
|
|
278
|
+
*/const DA=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]],kY=H("clipboard",DA);/**
|
|
279
279
|
* @license lucide-react v0.525.0 - ISC
|
|
280
280
|
*
|
|
281
281
|
* This source code is licensed under the ISC license.
|
|
282
282
|
* See the LICENSE file in the root directory of this source tree.
|
|
283
|
-
*/const NA=[["path",{d:"M12 6v6h4",key:"135r8i"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],
|
|
283
|
+
*/const NA=[["path",{d:"M12 6v6h4",key:"135r8i"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],AY=H("clock-3",NA);/**
|
|
284
284
|
* @license lucide-react v0.525.0 - ISC
|
|
285
285
|
*
|
|
286
286
|
* This source code is licensed under the ISC license.
|
|
287
287
|
* See the LICENSE file in the root directory of this source tree.
|
|
288
|
-
*/const RA=[["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}],["path",{d:"M15.947 12.65a4 4 0 0 0-5.925-4.128",key:"dpwdj0"}],["path",{d:"M13 22H7a5 5 0 1 1 4.9-6H13a3 3 0 0 1 0 6Z",key:"s09mg5"}]],
|
|
288
|
+
*/const RA=[["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}],["path",{d:"M15.947 12.65a4 4 0 0 0-5.925-4.128",key:"dpwdj0"}],["path",{d:"M13 22H7a5 5 0 1 1 4.9-6H13a3 3 0 0 1 0 6Z",key:"s09mg5"}]],DY=H("cloud-sun",RA);/**
|
|
289
289
|
* @license lucide-react v0.525.0 - ISC
|
|
290
290
|
*
|
|
291
291
|
* This source code is licensed under the ISC license.
|
|
292
292
|
* See the LICENSE file in the root directory of this source tree.
|
|
293
|
-
*/const zA=[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]],
|
|
293
|
+
*/const zA=[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]],NY=H("cloud-upload",zA);/**
|
|
294
294
|
* @license lucide-react v0.525.0 - ISC
|
|
295
295
|
*
|
|
296
296
|
* This source code is licensed under the ISC license.
|
|
297
297
|
* See the LICENSE file in the root directory of this source tree.
|
|
298
|
-
*/const LA=[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]],
|
|
298
|
+
*/const LA=[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]],RY=H("cloud",LA);/**
|
|
299
299
|
* @license lucide-react v0.525.0 - ISC
|
|
300
300
|
*
|
|
301
301
|
* This source code is licensed under the ISC license.
|
|
302
302
|
* See the LICENSE file in the root directory of this source tree.
|
|
303
|
-
*/const IA=[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]],
|
|
303
|
+
*/const IA=[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]],zY=H("coffee",IA);/**
|
|
304
304
|
* @license lucide-react v0.525.0 - ISC
|
|
305
305
|
*
|
|
306
306
|
* This source code is licensed under the ISC license.
|
|
307
307
|
* See the LICENSE file in the root directory of this source tree.
|
|
308
|
-
*/const qA=[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],
|
|
308
|
+
*/const qA=[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],LY=H("compass",qA);/**
|
|
309
309
|
* @license lucide-react v0.525.0 - ISC
|
|
310
310
|
*
|
|
311
311
|
* This source code is licensed under the ISC license.
|
|
312
312
|
* See the LICENSE file in the root directory of this source tree.
|
|
313
|
-
*/const UA=[["line",{x1:"15",x2:"15",y1:"12",y2:"18",key:"1p7wdc"}],["line",{x1:"12",x2:"18",y1:"15",y2:"15",key:"1nscbv"}],["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"}]],
|
|
313
|
+
*/const UA=[["line",{x1:"15",x2:"15",y1:"12",y2:"18",key:"1p7wdc"}],["line",{x1:"12",x2:"18",y1:"15",y2:"15",key:"1nscbv"}],["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"}]],IY=H("copy-plus",UA);/**
|
|
314
314
|
* @license lucide-react v0.525.0 - ISC
|
|
315
315
|
*
|
|
316
316
|
* This source code is licensed under the ISC license.
|
|
317
317
|
* See the LICENSE file in the root directory of this source tree.
|
|
318
|
-
*/const jA=[["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"}]],
|
|
318
|
+
*/const jA=[["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"}]],qY=H("copy",jA);/**
|
|
319
319
|
* @license lucide-react v0.525.0 - ISC
|
|
320
320
|
*
|
|
321
321
|
* This source code is licensed under the ISC license.
|
|
322
322
|
* See the LICENSE file in the root directory of this source tree.
|
|
323
|
-
*/const HA=[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]],
|
|
323
|
+
*/const HA=[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]],UY=H("cpu",HA);/**
|
|
324
324
|
* @license lucide-react v0.525.0 - ISC
|
|
325
325
|
*
|
|
326
326
|
* This source code is licensed under the ISC license.
|
|
327
327
|
* See the LICENSE file in the root directory of this source tree.
|
|
328
|
-
*/const BA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"22",x2:"18",y1:"12",y2:"12",key:"l9bcsi"}],["line",{x1:"6",x2:"2",y1:"12",y2:"12",key:"13hhkx"}],["line",{x1:"12",x2:"12",y1:"6",y2:"2",key:"10w3f3"}],["line",{x1:"12",x2:"12",y1:"22",y2:"18",key:"15g9kq"}]],
|
|
328
|
+
*/const BA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"22",x2:"18",y1:"12",y2:"12",key:"l9bcsi"}],["line",{x1:"6",x2:"2",y1:"12",y2:"12",key:"13hhkx"}],["line",{x1:"12",x2:"12",y1:"6",y2:"2",key:"10w3f3"}],["line",{x1:"12",x2:"12",y1:"22",y2:"18",key:"15g9kq"}]],jY=H("crosshair",BA);/**
|
|
329
329
|
* @license lucide-react v0.525.0 - ISC
|
|
330
330
|
*
|
|
331
331
|
* This source code is licensed under the ISC license.
|
|
332
332
|
* See the LICENSE file in the root directory of this source tree.
|
|
333
|
-
*/const PA=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 15 21.84",key:"14ibmq"}],["path",{d:"M21 5V8",key:"1marbg"}],["path",{d:"M21 12L18 17H22L19 22",key:"zafso"}],["path",{d:"M3 12A9 3 0 0 0 14.59 14.87",key:"1y4wr8"}]],
|
|
333
|
+
*/const PA=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 15 21.84",key:"14ibmq"}],["path",{d:"M21 5V8",key:"1marbg"}],["path",{d:"M21 12L18 17H22L19 22",key:"zafso"}],["path",{d:"M3 12A9 3 0 0 0 14.59 14.87",key:"1y4wr8"}]],HY=H("database-zap",PA);/**
|
|
334
334
|
* @license lucide-react v0.525.0 - ISC
|
|
335
335
|
*
|
|
336
336
|
* This source code is licensed under the ISC license.
|
|
337
337
|
* See the LICENSE file in the root directory of this source tree.
|
|
338
|
-
*/const $A=[["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"}]],
|
|
338
|
+
*/const $A=[["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"}]],BY=H("database",$A);/**
|
|
339
339
|
* @license lucide-react v0.525.0 - ISC
|
|
340
340
|
*
|
|
341
341
|
* This source code is licensed under the ISC license.
|
|
342
342
|
* See the LICENSE file in the root directory of this source tree.
|
|
343
|
-
*/const YA=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],
|
|
343
|
+
*/const YA=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],PY=H("download",YA);/**
|
|
344
344
|
* @license lucide-react v0.525.0 - ISC
|
|
345
345
|
*
|
|
346
346
|
* This source code is licensed under the ISC license.
|
|
347
347
|
* See the LICENSE file in the root directory of this source tree.
|
|
348
|
-
*/const VA=[["path",{d:"M7 16.3c2.2 0 4-1.83 4-4.05 0-1.16-.57-2.26-1.71-3.19S7.29 6.75 7 5.3c-.29 1.45-1.14 2.84-2.29 3.76S3 11.1 3 12.25c0 2.22 1.8 4.05 4 4.05z",key:"1ptgy4"}],["path",{d:"M12.56 6.6A10.97 10.97 0 0 0 14 3.02c.5 2.5 2 4.9 4 6.5s3 3.5 3 5.5a6.98 6.98 0 0 1-11.91 4.97",key:"1sl1rz"}]]
|
|
348
|
+
*/const VA=[["path",{d:"M7 16.3c2.2 0 4-1.83 4-4.05 0-1.16-.57-2.26-1.71-3.19S7.29 6.75 7 5.3c-.29 1.45-1.14 2.84-2.29 3.76S3 11.1 3 12.25c0 2.22 1.8 4.05 4 4.05z",key:"1ptgy4"}],["path",{d:"M12.56 6.6A10.97 10.97 0 0 0 14 3.02c.5 2.5 2 4.9 4 6.5s3 3.5 3 5.5a6.98 6.98 0 0 1-11.91 4.97",key:"1sl1rz"}]],$Y=H("droplets",VA);/**
|
|
349
349
|
* @license lucide-react v0.525.0 - ISC
|
|
350
350
|
*
|
|
351
351
|
* This source code is licensed under the ISC license.
|
|
352
352
|
* See the LICENSE file in the root directory of this source tree.
|
|
353
|
-
*/const FA=[["path",{d:"M17.596 12.768a2 2 0 1 0 2.829-2.829l-1.768-1.767a2 2 0 0 0 2.828-2.829l-2.828-2.828a2 2 0 0 0-2.829 2.828l-1.767-1.768a2 2 0 1 0-2.829 2.829z",key:"9m4mmf"}],["path",{d:"m2.5 21.5 1.4-1.4",key:"17g3f0"}],["path",{d:"m20.1 3.9 1.4-1.4",key:"1qn309"}],["path",{d:"M5.343 21.485a2 2 0 1 0 2.829-2.828l1.767 1.768a2 2 0 1 0 2.829-2.829l-6.364-6.364a2 2 0 1 0-2.829 2.829l1.768 1.767a2 2 0 0 0-2.828 2.829z",key:"1t2c92"}],["path",{d:"m9.6 14.4 4.8-4.8",key:"6umqxw"}]],
|
|
353
|
+
*/const FA=[["path",{d:"M17.596 12.768a2 2 0 1 0 2.829-2.829l-1.768-1.767a2 2 0 0 0 2.828-2.829l-2.828-2.828a2 2 0 0 0-2.829 2.828l-1.767-1.768a2 2 0 1 0-2.829 2.829z",key:"9m4mmf"}],["path",{d:"m2.5 21.5 1.4-1.4",key:"17g3f0"}],["path",{d:"m20.1 3.9 1.4-1.4",key:"1qn309"}],["path",{d:"M5.343 21.485a2 2 0 1 0 2.829-2.828l1.767 1.768a2 2 0 1 0 2.829-2.829l-6.364-6.364a2 2 0 1 0-2.829 2.829l1.768 1.767a2 2 0 0 0-2.828 2.829z",key:"1t2c92"}],["path",{d:"m9.6 14.4 4.8-4.8",key:"6umqxw"}]],YY=H("dumbbell",FA);/**
|
|
354
354
|
* @license lucide-react v0.525.0 - ISC
|
|
355
355
|
*
|
|
356
356
|
* This source code is licensed under the ISC license.
|
|
357
357
|
* See the LICENSE file in the root directory of this source tree.
|
|
358
|
-
*/const GA=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]
|
|
358
|
+
*/const GA=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],VY=H("ellipsis",GA);/**
|
|
359
359
|
* @license lucide-react v0.525.0 - ISC
|
|
360
360
|
*
|
|
361
361
|
* This source code is licensed under the ISC license.
|
|
362
362
|
* See the LICENSE file in the root directory of this source tree.
|
|
363
|
-
*/const QA=[["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"}]],
|
|
363
|
+
*/const QA=[["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"}]],FY=H("external-link",QA);/**
|
|
364
364
|
* @license lucide-react v0.525.0 - ISC
|
|
365
365
|
*
|
|
366
366
|
* This source code is licensed under the ISC license.
|
|
367
367
|
* See the LICENSE file in the root directory of this source tree.
|
|
368
|
-
*/const XA=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],
|
|
368
|
+
*/const XA=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],GY=H("eye-off",XA);/**
|
|
369
369
|
* @license lucide-react v0.525.0 - ISC
|
|
370
370
|
*
|
|
371
371
|
* This source code is licensed under the ISC license.
|
|
372
372
|
* See the LICENSE file in the root directory of this source tree.
|
|
373
|
-
*/const KA=[["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"}]],
|
|
373
|
+
*/const KA=[["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"}]],QY=H("eye",KA);/**
|
|
374
374
|
* @license lucide-react v0.525.0 - ISC
|
|
375
375
|
*
|
|
376
376
|
* This source code is licensed under the ISC license.
|
|
377
377
|
* See the LICENSE file in the root directory of this source tree.
|
|
378
|
-
*/const ZA=[["path",{d:"M10 12v-1",key:"v7bkov"}],["path",{d:"M10 18v-2",key:"1cjy8d"}],["path",{d:"M10 7V6",key:"dljcrl"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M15.5 22H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v16a2 2 0 0 0 .274 1.01",key:"gkbcor"}],["circle",{cx:"10",cy:"20",r:"2",key:"1xzdoj"}]],
|
|
378
|
+
*/const ZA=[["path",{d:"M10 12v-1",key:"v7bkov"}],["path",{d:"M10 18v-2",key:"1cjy8d"}],["path",{d:"M10 7V6",key:"dljcrl"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M15.5 22H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v16a2 2 0 0 0 .274 1.01",key:"gkbcor"}],["circle",{cx:"10",cy:"20",r:"2",key:"1xzdoj"}]],XY=H("file-archive",ZA);/**
|
|
379
379
|
* @license lucide-react v0.525.0 - ISC
|
|
380
380
|
*
|
|
381
381
|
* This source code is licensed under the ISC license.
|
|
382
382
|
* See the LICENSE file in the root directory of this source tree.
|
|
383
|
-
*/const JA=[["path",{d:"
|
|
383
|
+
*/const JA=[["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M4.268 21a2 2 0 0 0 1.727 1H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3",key:"ms7g94"}],["path",{d:"m9 18-1.5-1.5",key:"1j6qii"}],["circle",{cx:"5",cy:"14",r:"3",key:"ufru5t"}]],KY=H("file-search",JA);/**
|
|
384
384
|
* @license lucide-react v0.525.0 - ISC
|
|
385
385
|
*
|
|
386
386
|
* This source code is licensed under the ISC license.
|
|
387
387
|
* See the LICENSE file in the root directory of this source tree.
|
|
388
|
-
*/const WA=[["path",{d:"
|
|
388
|
+
*/const WA=[["path",{d:"M21 7h-3a2 2 0 0 1-2-2V2",key:"9rb54x"}],["path",{d:"M21 6v6.5c0 .8-.7 1.5-1.5 1.5h-7c-.8 0-1.5-.7-1.5-1.5v-9c0-.8.7-1.5 1.5-1.5H17Z",key:"1059l0"}],["path",{d:"M7 8v8.8c0 .3.2.6.4.8.2.2.5.4.8.4H15",key:"16874u"}],["path",{d:"M3 12v8.8c0 .3.2.6.4.8.2.2.5.4.8.4H11",key:"k2ox98"}]],ZY=H("file-stack",WA);/**
|
|
389
389
|
* @license lucide-react v0.525.0 - ISC
|
|
390
390
|
*
|
|
391
391
|
* This source code is licensed under the ISC license.
|
|
392
392
|
* See the LICENSE file in the root directory of this source tree.
|
|
393
|
-
*/const
|
|
393
|
+
*/const e6=[["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"}]],JY=H("file-text",e6);/**
|
|
394
394
|
* @license lucide-react v0.525.0 - ISC
|
|
395
395
|
*
|
|
396
396
|
* This source code is licensed under the ISC license.
|
|
397
397
|
* See the LICENSE file in the root directory of this source tree.
|
|
398
|
-
*/const
|
|
398
|
+
*/const t6=[["path",{d:"M20 7h-3a2 2 0 0 1-2-2V2",key:"x099mo"}],["path",{d:"M9 18a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h7l4 4v10a2 2 0 0 1-2 2Z",key:"18t6ie"}],["path",{d:"M3 7.6v12.8A1.6 1.6 0 0 0 4.6 22h9.8",key:"1nja0z"}]],WY=H("files",t6);/**
|
|
399
399
|
* @license lucide-react v0.525.0 - ISC
|
|
400
400
|
*
|
|
401
401
|
* This source code is licensed under the ISC license.
|
|
402
402
|
* See the LICENSE file in the root directory of this source tree.
|
|
403
|
-
*/const
|
|
403
|
+
*/const n6=[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]],eV=H("flame",n6);/**
|
|
404
404
|
* @license lucide-react v0.525.0 - ISC
|
|
405
405
|
*
|
|
406
406
|
* This source code is licensed under the ISC license.
|
|
407
407
|
* See the LICENSE file in the root directory of this source tree.
|
|
408
|
-
*/const
|
|
408
|
+
*/const r6=[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]],tV=H("flask-conical",r6);/**
|
|
409
409
|
* @license lucide-react v0.525.0 - ISC
|
|
410
410
|
*
|
|
411
411
|
* This source code is licensed under the ISC license.
|
|
412
412
|
* See the LICENSE file in the root directory of this source tree.
|
|
413
|
-
*/const
|
|
413
|
+
*/const i6=[["path",{d:"M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z",key:"1fr9dc"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M12 10v2",key:"hh53o1"}],["path",{d:"M16 10v6",key:"1d6xys"}]],nV=H("folder-kanban",i6);/**
|
|
414
414
|
* @license lucide-react v0.525.0 - ISC
|
|
415
415
|
*
|
|
416
416
|
* This source code is licensed under the ISC license.
|
|
417
417
|
* See the LICENSE file in the root directory of this source tree.
|
|
418
|
-
*/const
|
|
418
|
+
*/const a6=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],rV=H("folder-open",a6);/**
|
|
419
419
|
* @license lucide-react v0.525.0 - ISC
|
|
420
420
|
*
|
|
421
421
|
* This source code is licensed under the ISC license.
|
|
422
422
|
* See the LICENSE file in the root directory of this source tree.
|
|
423
|
-
*/const
|
|
423
|
+
*/const o6=[["path",{d:"M10.7 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v4.1",key:"1bw5m7"}],["path",{d:"m21 21-1.9-1.9",key:"1g2n9r"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}]],iV=H("folder-search",o6);/**
|
|
424
424
|
* @license lucide-react v0.525.0 - ISC
|
|
425
425
|
*
|
|
426
426
|
* This source code is licensed under the ISC license.
|
|
427
427
|
* See the LICENSE file in the root directory of this source tree.
|
|
428
|
-
*/const
|
|
428
|
+
*/const l6=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M16 16s-1.5-2-4-2-4 2-4 2",key:"epbg0q"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]],aV=H("frown",l6);/**
|
|
429
429
|
* @license lucide-react v0.525.0 - ISC
|
|
430
430
|
*
|
|
431
431
|
* This source code is licensed under the ISC license.
|
|
432
432
|
* See the LICENSE file in the root directory of this source tree.
|
|
433
|
-
*/const
|
|
433
|
+
*/const u6=[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]],oV=H("funnel",u6);/**
|
|
434
434
|
* @license lucide-react v0.525.0 - ISC
|
|
435
435
|
*
|
|
436
436
|
* This source code is licensed under the ISC license.
|
|
437
437
|
* See the LICENSE file in the root directory of this source tree.
|
|
438
|
-
*/const
|
|
438
|
+
*/const s6=[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]],lV=H("gauge",s6);/**
|
|
439
439
|
* @license lucide-react v0.525.0 - ISC
|
|
440
440
|
*
|
|
441
441
|
* This source code is licensed under the ISC license.
|
|
442
442
|
* See the LICENSE file in the root directory of this source tree.
|
|
443
|
-
*/const
|
|
443
|
+
*/const c6=[["path",{d:"M6 3v12",key:"qpgusn"}],["path",{d:"M18 9a3 3 0 1 0 0-6 3 3 0 0 0 0 6z",key:"1d02ji"}],["path",{d:"M6 21a3 3 0 1 0 0-6 3 3 0 0 0 0 6z",key:"chk6ph"}],["path",{d:"M15 6a9 9 0 0 0-9 9",key:"or332x"}],["path",{d:"M18 15v6",key:"9wciyi"}],["path",{d:"M21 18h-6",key:"139f0c"}]],uV=H("git-branch-plus",c6);/**
|
|
444
444
|
* @license lucide-react v0.525.0 - ISC
|
|
445
445
|
*
|
|
446
446
|
* This source code is licensed under the ISC license.
|
|
447
447
|
* See the LICENSE file in the root directory of this source tree.
|
|
448
|
-
*/const
|
|
448
|
+
*/const f6=[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]],sV=H("git-branch",f6);/**
|
|
449
449
|
* @license lucide-react v0.525.0 - ISC
|
|
450
450
|
*
|
|
451
451
|
* This source code is licensed under the ISC license.
|
|
452
452
|
* See the LICENSE file in the root directory of this source tree.
|
|
453
|
-
*/const
|
|
453
|
+
*/const h6=[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["line",{x1:"3",x2:"9",y1:"12",y2:"12",key:"1dyftd"}],["line",{x1:"15",x2:"21",y1:"12",y2:"12",key:"oup4p8"}]],cV=H("git-commit-horizontal",h6);/**
|
|
454
454
|
* @license lucide-react v0.525.0 - ISC
|
|
455
455
|
*
|
|
456
456
|
* This source code is licensed under the ISC license.
|
|
457
457
|
* See the LICENSE file in the root directory of this source tree.
|
|
458
|
-
*/const
|
|
458
|
+
*/const d6=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]],fV=H("git-merge",d6);/**
|
|
459
459
|
* @license lucide-react v0.525.0 - ISC
|
|
460
460
|
*
|
|
461
461
|
* This source code is licensed under the ISC license.
|
|
462
462
|
* See the LICENSE file in the root directory of this source tree.
|
|
463
|
-
*/const
|
|
463
|
+
*/const g6=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M13 6h3a2 2 0 0 1 2 2v7",key:"1yeb86"}],["line",{x1:"6",x2:"6",y1:"9",y2:"21",key:"rroup"}]],hV=H("git-pull-request",g6);/**
|
|
464
464
|
* @license lucide-react v0.525.0 - ISC
|
|
465
465
|
*
|
|
466
466
|
* This source code is licensed under the ISC license.
|
|
467
467
|
* See the LICENSE file in the root directory of this source tree.
|
|
468
|
-
*/const
|
|
468
|
+
*/const p6=[["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"}]],dV=H("globe",p6);/**
|
|
469
469
|
* @license lucide-react v0.525.0 - ISC
|
|
470
470
|
*
|
|
471
471
|
* This source code is licensed under the ISC license.
|
|
472
472
|
* See the LICENSE file in the root directory of this source tree.
|
|
473
|
-
*/const
|
|
473
|
+
*/const y6=[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]],gV=H("grip-vertical",y6);/**
|
|
474
474
|
* @license lucide-react v0.525.0 - ISC
|
|
475
475
|
*
|
|
476
476
|
* This source code is licensed under the ISC license.
|
|
477
477
|
* See the LICENSE file in the root directory of this source tree.
|
|
478
|
-
*/const
|
|
478
|
+
*/const m6=[["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"}]],pV=H("hard-drive",m6);/**
|
|
479
479
|
* @license lucide-react v0.525.0 - ISC
|
|
480
480
|
*
|
|
481
481
|
* This source code is licensed under the ISC license.
|
|
482
482
|
* See the LICENSE file in the root directory of this source tree.
|
|
483
|
-
*/const
|
|
483
|
+
*/const v6=[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}],["path",{d:"M12 5 9.04 7.96a2.17 2.17 0 0 0 0 3.08c.82.82 2.13.85 3 .07l2.07-1.9a2.82 2.82 0 0 1 3.79 0l2.96 2.66",key:"4oyue0"}],["path",{d:"m18 15-2-2",key:"60u0ii"}],["path",{d:"m15 18-2-2",key:"6p76be"}]],yV=H("heart-handshake",v6);/**
|
|
484
484
|
* @license lucide-react v0.525.0 - ISC
|
|
485
485
|
*
|
|
486
486
|
* This source code is licensed under the ISC license.
|
|
487
487
|
* See the LICENSE file in the root directory of this source tree.
|
|
488
|
-
*/const
|
|
488
|
+
*/const b6=[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}],["path",{d:"M3.22 12H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27",key:"1uw2ng"}]],mV=H("heart-pulse",b6);/**
|
|
489
489
|
* @license lucide-react v0.525.0 - ISC
|
|
490
490
|
*
|
|
491
491
|
* This source code is licensed under the ISC license.
|
|
492
492
|
* See the LICENSE file in the root directory of this source tree.
|
|
493
|
-
*/const
|
|
493
|
+
*/const S6=[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]],vV=H("heart",S6);/**
|
|
494
494
|
* @license lucide-react v0.525.0 - ISC
|
|
495
495
|
*
|
|
496
496
|
* This source code is licensed under the ISC license.
|
|
497
497
|
* See the LICENSE file in the root directory of this source tree.
|
|
498
|
-
*/const
|
|
498
|
+
*/const _6=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]],bV=H("history",_6);/**
|
|
499
499
|
* @license lucide-react v0.525.0 - ISC
|
|
500
500
|
*
|
|
501
501
|
* This source code is licensed under the ISC license.
|
|
502
502
|
* See the LICENSE file in the root directory of this source tree.
|
|
503
|
-
*/const
|
|
503
|
+
*/const w6=[["path",{d:"M16 5h6",key:"1vod17"}],["path",{d:"M19 2v6",key:"4bpg5p"}],["path",{d:"M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5",key:"1ue2ih"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]],SV=H("image-plus",w6);/**
|
|
504
504
|
* @license lucide-react v0.525.0 - ISC
|
|
505
505
|
*
|
|
506
506
|
* This source code is licensed under the ISC license.
|
|
507
507
|
* See the LICENSE file in the root directory of this source tree.
|
|
508
|
-
*/const
|
|
508
|
+
*/const M6=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],_V=H("image",M6);/**
|
|
509
509
|
* @license lucide-react v0.525.0 - ISC
|
|
510
510
|
*
|
|
511
511
|
* This source code is licensed under the ISC license.
|
|
512
512
|
* See the LICENSE file in the root directory of this source tree.
|
|
513
|
-
*/const
|
|
513
|
+
*/const T6=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],wV=H("info",T6);/**
|
|
514
514
|
* @license lucide-react v0.525.0 - ISC
|
|
515
515
|
*
|
|
516
516
|
* This source code is licensed under the ISC license.
|
|
517
517
|
* See the LICENSE file in the root directory of this source tree.
|
|
518
|
-
*/const
|
|
518
|
+
*/const E6=[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]],MV=H("key-round",E6);/**
|
|
519
519
|
* @license lucide-react v0.525.0 - ISC
|
|
520
520
|
*
|
|
521
521
|
* This source code is licensed under the ISC license.
|
|
522
522
|
* See the LICENSE file in the root directory of this source tree.
|
|
523
|
-
*/const
|
|
523
|
+
*/const x6=[["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"}]],TV=H("layers",x6);/**
|
|
524
524
|
* @license lucide-react v0.525.0 - ISC
|
|
525
525
|
*
|
|
526
526
|
* This source code is licensed under the ISC license.
|
|
527
527
|
* See the LICENSE file in the root directory of this source tree.
|
|
528
|
-
*/const
|
|
528
|
+
*/const O6=[["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"}]],EV=H("layout-dashboard",O6);/**
|
|
529
529
|
* @license lucide-react v0.525.0 - ISC
|
|
530
530
|
*
|
|
531
531
|
* This source code is licensed under the ISC license.
|
|
532
532
|
* See the LICENSE file in the root directory of this source tree.
|
|
533
|
-
*/const
|
|
533
|
+
*/const C6=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],xV=H("layout-grid",C6);/**
|
|
534
534
|
* @license lucide-react v0.525.0 - ISC
|
|
535
535
|
*
|
|
536
536
|
* This source code is licensed under the ISC license.
|
|
537
537
|
* See the LICENSE file in the root directory of this source tree.
|
|
538
|
-
*/const
|
|
538
|
+
*/const k6=[["rect",{width:"18",height:"7",x:"3",y:"3",rx:"1",key:"f1a2em"}],["rect",{width:"9",height:"7",x:"3",y:"14",rx:"1",key:"jqznyg"}],["rect",{width:"5",height:"7",x:"16",y:"14",rx:"1",key:"q5h2i8"}]],OV=H("layout-template",k6);/**
|
|
539
539
|
* @license lucide-react v0.525.0 - ISC
|
|
540
540
|
*
|
|
541
541
|
* This source code is licensed under the ISC license.
|
|
542
542
|
* See the LICENSE file in the root directory of this source tree.
|
|
543
|
-
*/const
|
|
543
|
+
*/const A6=[["rect",{width:"8",height:"18",x:"3",y:"3",rx:"1",key:"oynpb5"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M20.4 18.9c.2.5-.1 1.1-.6 1.3l-1.9.7c-.5.2-1.1-.1-1.3-.6L11.1 5.1c-.2-.5.1-1.1.6-1.3l1.9-.7c.5-.2 1.1.1 1.3.6Z",key:"1qboyk"}]],CV=H("library-big",A6);/**
|
|
544
544
|
* @license lucide-react v0.525.0 - ISC
|
|
545
545
|
*
|
|
546
546
|
* This source code is licensed under the ISC license.
|
|
547
547
|
* See the LICENSE file in the root directory of this source tree.
|
|
548
|
-
*/const
|
|
548
|
+
*/const D6=[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]],kV=H("link-2",D6);/**
|
|
549
549
|
* @license lucide-react v0.525.0 - ISC
|
|
550
550
|
*
|
|
551
551
|
* This source code is licensed under the ISC license.
|
|
552
552
|
* See the LICENSE file in the root directory of this source tree.
|
|
553
|
-
*/const
|
|
553
|
+
*/const N6=[["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}],["path",{d:"M13 6h8",key:"15sg57"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 18h8",key:"oe0vm4"}]],AV=H("list-checks",N6);/**
|
|
554
554
|
* @license lucide-react v0.525.0 - ISC
|
|
555
555
|
*
|
|
556
556
|
* This source code is licensed under the ISC license.
|
|
557
557
|
* See the LICENSE file in the root directory of this source tree.
|
|
558
|
-
*/const
|
|
558
|
+
*/const R6=[["path",{d:"M11 12H3",key:"51ecnj"}],["path",{d:"M16 6H3",key:"1wxfjs"}],["path",{d:"M16 18H3",key:"12xzn7"}],["path",{d:"M18 9v6",key:"1twb98"}],["path",{d:"M21 12h-6",key:"bt1uis"}]],DV=H("list-plus",R6);/**
|
|
559
559
|
* @license lucide-react v0.525.0 - ISC
|
|
560
560
|
*
|
|
561
561
|
* This source code is licensed under the ISC license.
|
|
562
562
|
* See the LICENSE file in the root directory of this source tree.
|
|
563
|
-
*/const
|
|
563
|
+
*/const z6=[["rect",{x:"3",y:"5",width:"6",height:"6",rx:"1",key:"1defrl"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"M13 6h8",key:"15sg57"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 18h8",key:"oe0vm4"}]],NV=H("list-todo",z6);/**
|
|
564
564
|
* @license lucide-react v0.525.0 - ISC
|
|
565
565
|
*
|
|
566
566
|
* This source code is licensed under the ISC license.
|
|
567
567
|
* See the LICENSE file in the root directory of this source tree.
|
|
568
|
-
*/const
|
|
568
|
+
*/const L6=[["path",{d:"M21 12h-8",key:"1bmf0i"}],["path",{d:"M21 6H8",key:"1pqkrb"}],["path",{d:"M21 18h-8",key:"1tm79t"}],["path",{d:"M3 6v4c0 1.1.9 2 2 2h3",key:"1ywdgy"}],["path",{d:"M3 10v6c0 1.1.9 2 2 2h3",key:"2wc746"}]],RV=H("list-tree",L6);/**
|
|
569
569
|
* @license lucide-react v0.525.0 - ISC
|
|
570
570
|
*
|
|
571
571
|
* This source code is licensed under the ISC license.
|
|
572
572
|
* See the LICENSE file in the root directory of this source tree.
|
|
573
|
-
*/const
|
|
573
|
+
*/const I6=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],zV=H("loader-circle",I6);/**
|
|
574
574
|
* @license lucide-react v0.525.0 - ISC
|
|
575
575
|
*
|
|
576
576
|
* This source code is licensed under the ISC license.
|
|
577
577
|
* See the LICENSE file in the root directory of this source tree.
|
|
578
|
-
*/const
|
|
578
|
+
*/const q6=[["circle",{cx:"12",cy:"16",r:"1",key:"1au0dj"}],["rect",{x:"3",y:"10",width:"18",height:"12",rx:"2",key:"6s8ecr"}],["path",{d:"M7 10V7a5 5 0 0 1 10 0v3",key:"1pqi11"}]],LV=H("lock-keyhole",q6);/**
|
|
579
579
|
* @license lucide-react v0.525.0 - ISC
|
|
580
580
|
*
|
|
581
581
|
* This source code is licensed under the ISC license.
|
|
582
582
|
* See the LICENSE file in the root directory of this source tree.
|
|
583
|
-
*/const
|
|
583
|
+
*/const U6=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],IV=H("lock",U6);/**
|
|
584
584
|
* @license lucide-react v0.525.0 - ISC
|
|
585
585
|
*
|
|
586
586
|
* This source code is licensed under the ISC license.
|
|
587
587
|
* See the LICENSE file in the root directory of this source tree.
|
|
588
|
-
*/const
|
|
588
|
+
*/const j6=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],qV=H("map-pin",j6);/**
|
|
589
589
|
* @license lucide-react v0.525.0 - ISC
|
|
590
590
|
*
|
|
591
591
|
* This source code is licensed under the ISC license.
|
|
592
592
|
* See the LICENSE file in the root directory of this source tree.
|
|
593
|
-
*/const
|
|
593
|
+
*/const H6=[["path",{d:"M18 8c0 3.613-3.869 7.429-5.393 8.795a1 1 0 0 1-1.214 0C9.87 15.429 6 11.613 6 8a6 6 0 0 1 12 0",key:"11u0oz"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}],["path",{d:"M8.714 14h-3.71a1 1 0 0 0-.948.683l-2.004 6A1 1 0 0 0 3 22h18a1 1 0 0 0 .948-1.316l-2-6a1 1 0 0 0-.949-.684h-3.712",key:"q8zwxj"}]],UV=H("map-pinned",H6);/**
|
|
594
594
|
* @license lucide-react v0.525.0 - ISC
|
|
595
595
|
*
|
|
596
596
|
* This source code is licensed under the ISC license.
|
|
597
597
|
* See the LICENSE file in the root directory of this source tree.
|
|
598
|
-
*/const
|
|
598
|
+
*/const B6=[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]],jV=H("map",B6);/**
|
|
599
599
|
* @license lucide-react v0.525.0 - ISC
|
|
600
600
|
*
|
|
601
601
|
* This source code is licensed under the ISC license.
|
|
602
602
|
* See the LICENSE file in the root directory of this source tree.
|
|
603
|
-
*/const
|
|
603
|
+
*/const P6=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]],HV=H("maximize-2",P6);/**
|
|
604
604
|
* @license lucide-react v0.525.0 - ISC
|
|
605
605
|
*
|
|
606
606
|
* This source code is licensed under the ISC license.
|
|
607
607
|
* See the LICENSE file in the root directory of this source tree.
|
|
608
|
-
*/const $
|
|
608
|
+
*/const $6=[["path",{d:"M8 3H5a2 2 0 0 0-2 2v3",key:"1dcmit"}],["path",{d:"M21 8V5a2 2 0 0 0-2-2h-3",key:"1e4gt3"}],["path",{d:"M3 16v3a2 2 0 0 0 2 2h3",key:"wsl5sc"}],["path",{d:"M16 21h3a2 2 0 0 0 2-2v-3",key:"18trek"}]],BV=H("maximize",$6);/**
|
|
609
609
|
* @license lucide-react v0.525.0 - ISC
|
|
610
610
|
*
|
|
611
611
|
* This source code is licensed under the ISC license.
|
|
612
612
|
* See the LICENSE file in the root directory of this source tree.
|
|
613
|
-
*/const
|
|
613
|
+
*/const Y6=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"8",x2:"16",y1:"15",y2:"15",key:"1xb1d9"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]],PV=H("meh",Y6);/**
|
|
614
614
|
* @license lucide-react v0.525.0 - ISC
|
|
615
615
|
*
|
|
616
616
|
* This source code is licensed under the ISC license.
|
|
617
617
|
* See the LICENSE file in the root directory of this source tree.
|
|
618
|
-
*/const
|
|
618
|
+
*/const V6=[["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 18h16",key:"19g7jn"}],["path",{d:"M4 6h16",key:"1o0s65"}]],$V=H("menu",V6);/**
|
|
619
619
|
* @license lucide-react v0.525.0 - ISC
|
|
620
620
|
*
|
|
621
621
|
* This source code is licensed under the ISC license.
|
|
622
622
|
* See the LICENSE file in the root directory of this source tree.
|
|
623
|
-
*/const
|
|
623
|
+
*/const F6=[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]],YV=H("message-circle-warning",F6);/**
|
|
624
624
|
* @license lucide-react v0.525.0 - ISC
|
|
625
625
|
*
|
|
626
626
|
* This source code is licensed under the ISC license.
|
|
627
627
|
* See the LICENSE file in the root directory of this source tree.
|
|
628
|
-
*/const
|
|
628
|
+
*/const G6=[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]],VV=H("message-square",G6);/**
|
|
629
629
|
* @license lucide-react v0.525.0 - ISC
|
|
630
630
|
*
|
|
631
631
|
* This source code is licensed under the ISC license.
|
|
632
632
|
* See the LICENSE file in the root directory of this source tree.
|
|
633
|
-
*/const
|
|
633
|
+
*/const Q6=[["path",{d:"m14 10 7-7",key:"oa77jy"}],["path",{d:"M20 10h-6V4",key:"mjg0md"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M4 14h6v6",key:"rmj7iw"}]],FV=H("minimize-2",Q6);/**
|
|
634
634
|
* @license lucide-react v0.525.0 - ISC
|
|
635
635
|
*
|
|
636
636
|
* This source code is licensed under the ISC license.
|
|
637
637
|
* See the LICENSE file in the root directory of this source tree.
|
|
638
|
-
*/const
|
|
638
|
+
*/const X6=[["path",{d:"M5 12h14",key:"1ays0h"}]],GV=H("minus",X6);/**
|
|
639
639
|
* @license lucide-react v0.525.0 - ISC
|
|
640
640
|
*
|
|
641
641
|
* This source code is licensed under the ISC license.
|
|
642
642
|
* See the LICENSE file in the root directory of this source tree.
|
|
643
|
-
*/const
|
|
643
|
+
*/const K6=[["path",{d:"M18 8V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h8",key:"10dyio"}],["path",{d:"M10 19v-3.96 3.15",key:"1irgej"}],["path",{d:"M7 19h5",key:"qswx4l"}],["rect",{width:"6",height:"10",x:"16",y:"12",rx:"2",key:"1egngj"}]],QV=H("monitor-smartphone",K6);/**
|
|
644
644
|
* @license lucide-react v0.525.0 - ISC
|
|
645
645
|
*
|
|
646
646
|
* This source code is licensed under the ISC license.
|
|
647
647
|
* See the LICENSE file in the root directory of this source tree.
|
|
648
|
-
*/const
|
|
648
|
+
*/const Z6=[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9",key:"4ay0iu"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}]],XV=H("moon-star",Z6);/**
|
|
649
649
|
* @license lucide-react v0.525.0 - ISC
|
|
650
650
|
*
|
|
651
651
|
* This source code is licensed under the ISC license.
|
|
652
652
|
* See the LICENSE file in the root directory of this source tree.
|
|
653
|
-
*/const
|
|
653
|
+
*/const J6=[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]],KV=H("moon",J6);/**
|
|
654
654
|
* @license lucide-react v0.525.0 - ISC
|
|
655
655
|
*
|
|
656
656
|
* This source code is licensed under the ISC license.
|
|
657
657
|
* See the LICENSE file in the root directory of this source tree.
|
|
658
|
-
*/const
|
|
658
|
+
*/const W6=[["path",{d:"m8 3 4 8 5-5 5 15H2L8 3z",key:"otkl63"}]],ZV=H("mountain",W6);/**
|
|
659
659
|
* @license lucide-react v0.525.0 - ISC
|
|
660
660
|
*
|
|
661
661
|
* This source code is licensed under the ISC license.
|
|
662
662
|
* See the LICENSE file in the root directory of this source tree.
|
|
663
|
-
*/const
|
|
663
|
+
*/const eD=[["path",{d:"M12 2v20",key:"t6zp3m"}],["path",{d:"m15 19-3 3-3-3",key:"11eu04"}],["path",{d:"m19 9 3 3-3 3",key:"1mg7y2"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"m5 9-3 3 3 3",key:"j64kie"}],["path",{d:"m9 5 3-3 3 3",key:"l8vdw6"}]],JV=H("move",eD);/**
|
|
664
664
|
* @license lucide-react v0.525.0 - ISC
|
|
665
665
|
*
|
|
666
666
|
* This source code is licensed under the ISC license.
|
|
667
667
|
* See the LICENSE file in the root directory of this source tree.
|
|
668
|
-
*/const
|
|
668
|
+
*/const tD=[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["path",{d:"m9 9 12-2",key:"1e64n2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]],WV=H("music-4",tD);/**
|
|
669
669
|
* @license lucide-react v0.525.0 - ISC
|
|
670
670
|
*
|
|
671
671
|
* This source code is licensed under the ISC license.
|
|
672
672
|
* See the LICENSE file in the root directory of this source tree.
|
|
673
|
-
*/const
|
|
673
|
+
*/const nD=[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]],eF=H("network",nD);/**
|
|
674
674
|
* @license lucide-react v0.525.0 - ISC
|
|
675
675
|
*
|
|
676
676
|
* This source code is licensed under the ISC license.
|
|
677
677
|
* See the LICENSE file in the root directory of this source tree.
|
|
678
|
-
*/const
|
|
678
|
+
*/const rD=[["path",{d:"M13.4 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7.4",key:"re6nr2"}],["path",{d:"M2 6h4",key:"aawbzj"}],["path",{d:"M2 10h4",key:"l0bgd4"}],["path",{d:"M2 14h4",key:"1gsvsf"}],["path",{d:"M2 18h4",key:"1bu2t1"}],["path",{d:"M21.378 5.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"pqwjuv"}]],tF=H("notebook-pen",rD);/**
|
|
679
679
|
* @license lucide-react v0.525.0 - ISC
|
|
680
680
|
*
|
|
681
681
|
* This source code is licensed under the ISC license.
|
|
682
682
|
* See the LICENSE file in the root directory of this source tree.
|
|
683
|
-
*/const
|
|
683
|
+
*/const iD=[["path",{d:"M20.341 6.484A10 10 0 0 1 10.266 21.85",key:"1enhxb"}],["path",{d:"M3.659 17.516A10 10 0 0 1 13.74 2.152",key:"1crzgf"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["circle",{cx:"19",cy:"5",r:"2",key:"mhkx31"}],["circle",{cx:"5",cy:"19",r:"2",key:"v8kfzx"}]],nF=H("orbit",iD);/**
|
|
684
684
|
* @license lucide-react v0.525.0 - ISC
|
|
685
685
|
*
|
|
686
686
|
* This source code is licensed under the ISC license.
|
|
687
687
|
* See the LICENSE file in the root directory of this source tree.
|
|
688
|
-
*/const
|
|
688
|
+
*/const aD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}],["path",{d:"m8 9 3 3-3 3",key:"12hl5m"}]],rF=H("panel-right-close",aD);/**
|
|
689
689
|
* @license lucide-react v0.525.0 - ISC
|
|
690
690
|
*
|
|
691
691
|
* This source code is licensed under the ISC license.
|
|
692
692
|
* See the LICENSE file in the root directory of this source tree.
|
|
693
|
-
*/const
|
|
693
|
+
*/const oD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}],["path",{d:"m10 15-3-3 3-3",key:"1pgupc"}]],iF=H("panel-right-open",oD);/**
|
|
694
694
|
* @license lucide-react v0.525.0 - ISC
|
|
695
695
|
*
|
|
696
696
|
* This source code is licensed under the ISC license.
|
|
697
697
|
* See the LICENSE file in the root directory of this source tree.
|
|
698
|
-
*/const
|
|
698
|
+
*/const lD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}]],aF=H("panel-top",lD);/**
|
|
699
699
|
* @license lucide-react v0.525.0 - ISC
|
|
700
700
|
*
|
|
701
701
|
* This source code is licensed under the ISC license.
|
|
702
702
|
* See the LICENSE file in the root directory of this source tree.
|
|
703
|
-
*/const
|
|
703
|
+
*/const uD=[["path",{d:"M5.8 11.3 2 22l10.7-3.79",key:"gwxi1d"}],["path",{d:"M4 3h.01",key:"1vcuye"}],["path",{d:"M22 8h.01",key:"1mrtc2"}],["path",{d:"M15 2h.01",key:"1cjtqr"}],["path",{d:"M22 20h.01",key:"1mrys2"}],["path",{d:"m22 2-2.24.75a2.9 2.9 0 0 0-1.96 3.12c.1.86-.57 1.63-1.45 1.63h-.38c-.86 0-1.6.6-1.76 1.44L14 10",key:"hbicv8"}],["path",{d:"m22 13-.82-.33c-.86-.34-1.82.2-1.98 1.11c-.11.7-.72 1.22-1.43 1.22H17",key:"1i94pl"}],["path",{d:"m11 2 .33.82c.34.86-.2 1.82-1.11 1.98C9.52 4.9 9 5.52 9 6.23V7",key:"1cofks"}],["path",{d:"M11 13c1.93 1.93 2.83 4.17 2 5-.83.83-3.07-.07-5-2-1.93-1.93-2.83-4.17-2-5 .83-.83 3.07.07 5 2Z",key:"4kbmks"}]],oF=H("party-popper",uD);/**
|
|
704
704
|
* @license lucide-react v0.525.0 - ISC
|
|
705
705
|
*
|
|
706
706
|
* This source code is licensed under the ISC license.
|
|
707
707
|
* See the LICENSE file in the root directory of this source tree.
|
|
708
|
-
*/const
|
|
708
|
+
*/const sD=[["path",{d:"M12 20h9",key:"t2du7b"}],["path",{d:"M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z",key:"1ykcvy"}],["path",{d:"m15 5 3 3",key:"1w25hb"}]],lF=H("pencil-line",sD);/**
|
|
709
709
|
* @license lucide-react v0.525.0 - ISC
|
|
710
710
|
*
|
|
711
711
|
* This source code is licensed under the ISC license.
|
|
712
712
|
* See the LICENSE file in the root directory of this source tree.
|
|
713
|
-
*/const
|
|
713
|
+
*/const cD=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],uF=H("pencil",cD);/**
|
|
714
714
|
* @license lucide-react v0.525.0 - ISC
|
|
715
715
|
*
|
|
716
716
|
* This source code is licensed under the ISC license.
|
|
717
717
|
* See the LICENSE file in the root directory of this source tree.
|
|
718
|
-
*/const
|
|
718
|
+
*/const fD=[["line",{x1:"19",x2:"5",y1:"5",y2:"19",key:"1x9vlm"}],["circle",{cx:"6.5",cy:"6.5",r:"2.5",key:"4mh3h7"}],["circle",{cx:"17.5",cy:"17.5",r:"2.5",key:"1mdrzq"}]],sF=H("percent",fD);/**
|
|
719
719
|
* @license lucide-react v0.525.0 - ISC
|
|
720
720
|
*
|
|
721
721
|
* This source code is licensed under the ISC license.
|
|
722
722
|
* See the LICENSE file in the root directory of this source tree.
|
|
723
|
-
*/const
|
|
723
|
+
*/const hD=[["path",{d:"m10.5 20.5 10-10a4.95 4.95 0 1 0-7-7l-10 10a4.95 4.95 0 1 0 7 7Z",key:"wa1lgi"}],["path",{d:"m8.5 8.5 7 7",key:"rvfmvr"}]],cF=H("pill",hD);/**
|
|
724
724
|
* @license lucide-react v0.525.0 - ISC
|
|
725
725
|
*
|
|
726
726
|
* This source code is licensed under the ISC license.
|
|
727
727
|
* See the LICENSE file in the root directory of this source tree.
|
|
728
|
-
*/const
|
|
728
|
+
*/const dD=[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]],fF=H("play",dD);/**
|
|
729
729
|
* @license lucide-react v0.525.0 - ISC
|
|
730
730
|
*
|
|
731
731
|
* This source code is licensed under the ISC license.
|
|
732
732
|
* See the LICENSE file in the root directory of this source tree.
|
|
733
|
-
*/const
|
|
733
|
+
*/const gD=[["path",{d:"M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z",key:"goz73y"}],["path",{d:"m2 22 3-3",key:"19mgm9"}],["path",{d:"M7.5 13.5 10 11",key:"7xgeeb"}],["path",{d:"M10.5 16.5 13 14",key:"10btkg"}],["path",{d:"m18 3-4 4h6l-4 4",key:"16psg9"}]],hF=H("plug-zap",gD);/**
|
|
734
734
|
* @license lucide-react v0.525.0 - ISC
|
|
735
735
|
*
|
|
736
736
|
* This source code is licensed under the ISC license.
|
|
737
737
|
* See the LICENSE file in the root directory of this source tree.
|
|
738
|
-
*/const
|
|
738
|
+
*/const pD=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],dF=H("plus",pD);/**
|
|
739
739
|
* @license lucide-react v0.525.0 - ISC
|
|
740
740
|
*
|
|
741
741
|
* This source code is licensed under the ISC license.
|
|
742
742
|
* See the LICENSE file in the root directory of this source tree.
|
|
743
|
-
*/const
|
|
743
|
+
*/const yD=[["rect",{width:"5",height:"5",x:"3",y:"3",rx:"1",key:"1tu5fj"}],["rect",{width:"5",height:"5",x:"16",y:"3",rx:"1",key:"1v8r4q"}],["rect",{width:"5",height:"5",x:"3",y:"16",rx:"1",key:"1x03jg"}],["path",{d:"M21 16h-3a2 2 0 0 0-2 2v3",key:"177gqh"}],["path",{d:"M21 21v.01",key:"ents32"}],["path",{d:"M12 7v3a2 2 0 0 1-2 2H7",key:"8crl2c"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M12 3h.01",key:"n36tog"}],["path",{d:"M12 16v.01",key:"133mhm"}],["path",{d:"M16 12h1",key:"1slzba"}],["path",{d:"M21 12v.01",key:"1lwtk9"}],["path",{d:"M12 21v-1",key:"1880an"}]],gF=H("qr-code",yD);/**
|
|
744
744
|
* @license lucide-react v0.525.0 - ISC
|
|
745
745
|
*
|
|
746
746
|
* This source code is licensed under the ISC license.
|
|
747
747
|
* See the LICENSE file in the root directory of this source tree.
|
|
748
|
-
*/const
|
|
748
|
+
*/const mD=[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]],pF=H("quote",mD);/**
|
|
749
749
|
* @license lucide-react v0.525.0 - ISC
|
|
750
750
|
*
|
|
751
751
|
* This source code is licensed under the ISC license.
|
|
752
752
|
* See the LICENSE file in the root directory of this source tree.
|
|
753
|
-
*/const
|
|
753
|
+
*/const vD=[["path",{d:"M19.07 4.93A10 10 0 0 0 6.99 3.34",key:"z3du51"}],["path",{d:"M4 6h.01",key:"oypzma"}],["path",{d:"M2.29 9.62A10 10 0 1 0 21.31 8.35",key:"qzzz0"}],["path",{d:"M16.24 7.76A6 6 0 1 0 8.23 16.67",key:"1yjesh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M17.99 11.66A6 6 0 0 1 15.77 16.67",key:"1u2y91"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"m13.41 10.59 5.66-5.66",key:"mhq4k0"}]],yF=H("radar",vD);/**
|
|
754
754
|
* @license lucide-react v0.525.0 - ISC
|
|
755
755
|
*
|
|
756
756
|
* This source code is licensed under the ISC license.
|
|
757
757
|
* See the LICENSE file in the root directory of this source tree.
|
|
758
|
-
*/const
|
|
758
|
+
*/const bD=[["path",{d:"M4.9 16.1C1 12.2 1 5.8 4.9 1.9",key:"s0qx1y"}],["path",{d:"M7.8 4.7a6.14 6.14 0 0 0-.8 7.5",key:"1idnkw"}],["circle",{cx:"12",cy:"9",r:"2",key:"1092wv"}],["path",{d:"M16.2 4.8c2 2 2.26 5.11.8 7.47",key:"ojru2q"}],["path",{d:"M19.1 1.9a9.96 9.96 0 0 1 0 14.1",key:"rhi7fg"}],["path",{d:"M9.5 18h5",key:"mfy3pd"}],["path",{d:"m8 22 4-11 4 11",key:"25yftu"}]],mF=H("radio-tower",bD);/**
|
|
759
759
|
* @license lucide-react v0.525.0 - ISC
|
|
760
760
|
*
|
|
761
761
|
* This source code is licensed under the ISC license.
|
|
762
762
|
* See the LICENSE file in the root directory of this source tree.
|
|
763
|
-
*/const
|
|
763
|
+
*/const SD=[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}]],vF=H("refresh-ccw",SD);/**
|
|
764
764
|
* @license lucide-react v0.525.0 - ISC
|
|
765
765
|
*
|
|
766
766
|
* This source code is licensed under the ISC license.
|
|
767
767
|
* See the LICENSE file in the root directory of this source tree.
|
|
768
|
-
*/const
|
|
768
|
+
*/const _D=[["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"}]],bF=H("refresh-cw",_D);/**
|
|
769
769
|
* @license lucide-react v0.525.0 - ISC
|
|
770
770
|
*
|
|
771
771
|
* This source code is licensed under the ISC license.
|
|
772
772
|
* See the LICENSE file in the root directory of this source tree.
|
|
773
|
-
*/const
|
|
773
|
+
*/const wD=[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}]],SF=H("repeat",wD);/**
|
|
774
774
|
* @license lucide-react v0.525.0 - ISC
|
|
775
775
|
*
|
|
776
776
|
* This source code is licensed under the ISC license.
|
|
777
777
|
* See the LICENSE file in the root directory of this source tree.
|
|
778
|
-
*/const
|
|
778
|
+
*/const MD=[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]],_F=H("rocket",MD);/**
|
|
779
779
|
* @license lucide-react v0.525.0 - ISC
|
|
780
780
|
*
|
|
781
781
|
* This source code is licensed under the ISC license.
|
|
782
782
|
* See the LICENSE file in the root directory of this source tree.
|
|
783
|
-
*/const
|
|
783
|
+
*/const TD=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],wF=H("rotate-ccw",TD);/**
|
|
784
784
|
* @license lucide-react v0.525.0 - ISC
|
|
785
785
|
*
|
|
786
786
|
* This source code is licensed under the ISC license.
|
|
787
787
|
* See the LICENSE file in the root directory of this source tree.
|
|
788
|
-
*/const
|
|
788
|
+
*/const ED=[["circle",{cx:"6",cy:"19",r:"3",key:"1kj8tv"}],["path",{d:"M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15",key:"1d8sl"}],["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}]],MF=H("route",ED);/**
|
|
789
789
|
* @license lucide-react v0.525.0 - ISC
|
|
790
790
|
*
|
|
791
791
|
* This source code is licensed under the ISC license.
|
|
792
792
|
* See the LICENSE file in the root directory of this source tree.
|
|
793
|
-
*/const
|
|
793
|
+
*/const xD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M21 9H3",key:"1338ky"}],["path",{d:"M21 15H3",key:"9uk58r"}]],TF=H("rows-3",xD);/**
|
|
794
794
|
* @license lucide-react v0.525.0 - ISC
|
|
795
795
|
*
|
|
796
796
|
* This source code is licensed under the ISC license.
|
|
797
797
|
* See the LICENSE file in the root directory of this source tree.
|
|
798
|
-
*/const
|
|
798
|
+
*/const OD=[["path",{d:"M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z",key:"icamh8"}],["path",{d:"m14.5 12.5 2-2",key:"inckbg"}],["path",{d:"m11.5 9.5 2-2",key:"fmmyf7"}],["path",{d:"m8.5 6.5 2-2",key:"vc6u1g"}],["path",{d:"m17.5 15.5 2-2",key:"wo5hmg"}]],EF=H("ruler",OD);/**
|
|
799
799
|
* @license lucide-react v0.525.0 - ISC
|
|
800
800
|
*
|
|
801
801
|
* This source code is licensed under the ISC license.
|
|
802
802
|
* See the LICENSE file in the root directory of this source tree.
|
|
803
|
-
*/const
|
|
803
|
+
*/const CD=[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]],xF=H("save",CD);/**
|
|
804
804
|
* @license lucide-react v0.525.0 - ISC
|
|
805
805
|
*
|
|
806
806
|
* This source code is licensed under the ISC license.
|
|
807
807
|
* See the LICENSE file in the root directory of this source tree.
|
|
808
|
-
*/const
|
|
808
|
+
*/const kD=[["path",{d:"m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"7g6ntu"}],["path",{d:"m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"ijws7r"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2",key:"3gwbw2"}]],OF=H("scale",kD);/**
|
|
809
809
|
* @license lucide-react v0.525.0 - ISC
|
|
810
810
|
*
|
|
811
811
|
* This source code is licensed under the ISC license.
|
|
812
812
|
* See the LICENSE file in the root directory of this source tree.
|
|
813
|
-
*/const
|
|
813
|
+
*/const AD=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["path",{d:"M7 12h10",key:"b7w52i"}]],CF=H("scan-line",AD);/**
|
|
814
814
|
* @license lucide-react v0.525.0 - ISC
|
|
815
815
|
*
|
|
816
816
|
* This source code is licensed under the ISC license.
|
|
817
817
|
* See the LICENSE file in the root directory of this source tree.
|
|
818
|
-
*/const
|
|
818
|
+
*/const DD=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"m16 16-1.9-1.9",key:"1dq9hf"}]],kF=H("scan-search",DD);/**
|
|
819
819
|
* @license lucide-react v0.525.0 - ISC
|
|
820
820
|
*
|
|
821
821
|
* This source code is licensed under the ISC license.
|
|
822
822
|
* See the LICENSE file in the root directory of this source tree.
|
|
823
|
-
*/const
|
|
823
|
+
*/const ND=[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]],AF=H("scissors",ND);/**
|
|
824
824
|
* @license lucide-react v0.525.0 - ISC
|
|
825
825
|
*
|
|
826
826
|
* This source code is licensed under the ISC license.
|
|
827
827
|
* See the LICENSE file in the root directory of this source tree.
|
|
828
|
-
*/const
|
|
828
|
+
*/const RD=[["path",{d:"M15 12h-5",key:"r7krc0"}],["path",{d:"M15 8h-5",key:"1khuty"}],["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]],DF=H("scroll-text",RD);/**
|
|
829
829
|
* @license lucide-react v0.525.0 - ISC
|
|
830
830
|
*
|
|
831
831
|
* This source code is licensed under the ISC license.
|
|
832
832
|
* See the LICENSE file in the root directory of this source tree.
|
|
833
|
-
*/const
|
|
833
|
+
*/const zD=[["path",{d:"m8 11 2 2 4-4",key:"1sed1v"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],NF=H("search-check",zD);/**
|
|
834
834
|
* @license lucide-react v0.525.0 - ISC
|
|
835
835
|
*
|
|
836
836
|
* This source code is licensed under the ISC license.
|
|
837
837
|
* See the LICENSE file in the root directory of this source tree.
|
|
838
|
-
*/const
|
|
838
|
+
*/const LD=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],RF=H("search",LD);/**
|
|
839
839
|
* @license lucide-react v0.525.0 - ISC
|
|
840
840
|
*
|
|
841
841
|
* This source code is licensed under the ISC license.
|
|
842
842
|
* See the LICENSE file in the root directory of this source tree.
|
|
843
|
-
*/const
|
|
843
|
+
*/const ID=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],zF=H("send",ID);/**
|
|
844
844
|
* @license lucide-react v0.525.0 - ISC
|
|
845
845
|
*
|
|
846
846
|
* This source code is licensed under the ISC license.
|
|
847
847
|
* See the LICENSE file in the root directory of this source tree.
|
|
848
|
-
*/const
|
|
848
|
+
*/const qD=[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]],LF=H("settings-2",qD);/**
|
|
849
849
|
* @license lucide-react v0.525.0 - ISC
|
|
850
850
|
*
|
|
851
851
|
* This source code is licensed under the ISC license.
|
|
852
852
|
* See the LICENSE file in the root directory of this source tree.
|
|
853
|
-
*/const
|
|
853
|
+
*/const UD=[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],IF=H("settings",UD);/**
|
|
854
854
|
* @license lucide-react v0.525.0 - ISC
|
|
855
855
|
*
|
|
856
856
|
* This source code is licensed under the ISC license.
|
|
857
857
|
* See the LICENSE file in the root directory of this source tree.
|
|
858
|
-
*/const
|
|
858
|
+
*/const jD=[["path",{d:"M8.3 10a.7.7 0 0 1-.626-1.079L11.4 3a.7.7 0 0 1 1.198-.043L16.3 8.9a.7.7 0 0 1-.572 1.1Z",key:"1bo67w"}],["rect",{x:"3",y:"14",width:"7",height:"7",rx:"1",key:"1bkyp8"}],["circle",{cx:"17.5",cy:"17.5",r:"3.5",key:"w3z12y"}]],qF=H("shapes",jD);/**
|
|
859
859
|
* @license lucide-react v0.525.0 - ISC
|
|
860
860
|
*
|
|
861
861
|
* This source code is licensed under the ISC license.
|
|
862
862
|
* See the LICENSE file in the root directory of this source tree.
|
|
863
|
-
*/const
|
|
863
|
+
*/const HD=[["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"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]],UF=H("shield-alert",HD);/**
|
|
864
864
|
* @license lucide-react v0.525.0 - ISC
|
|
865
865
|
*
|
|
866
866
|
* This source code is licensed under the ISC license.
|
|
867
867
|
* See the LICENSE file in the root directory of this source tree.
|
|
868
|
-
*/const
|
|
868
|
+
*/const BD=[["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"}],["path",{d:"m4.243 5.21 14.39 12.472",key:"1c9a7c"}]],jF=H("shield-ban",BD);/**
|
|
869
869
|
* @license lucide-react v0.525.0 - ISC
|
|
870
870
|
*
|
|
871
871
|
* This source code is licensed under the ISC license.
|
|
872
872
|
* See the LICENSE file in the root directory of this source tree.
|
|
873
|
-
*/const
|
|
873
|
+
*/const PD=[["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"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],HF=H("shield-check",PD);/**
|
|
874
874
|
* @license lucide-react v0.525.0 - ISC
|
|
875
875
|
*
|
|
876
876
|
* This source code is licensed under the ISC license.
|
|
877
877
|
* See the LICENSE file in the root directory of this source tree.
|
|
878
|
-
*/const $
|
|
878
|
+
*/const $D=[["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M5 5a1 1 0 0 0-1 1v7c0 5 3.5 7.5 7.67 8.94a1 1 0 0 0 .67.01c2.35-.82 4.48-1.97 5.9-3.71",key:"1jlk70"}],["path",{d:"M9.309 3.652A12.252 12.252 0 0 0 11.24 2.28a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1v7a9.784 9.784 0 0 1-.08 1.264",key:"18rp1v"}]],BF=H("shield-off",$D);/**
|
|
879
879
|
* @license lucide-react v0.525.0 - ISC
|
|
880
880
|
*
|
|
881
881
|
* This source code is licensed under the ISC license.
|
|
882
882
|
* See the LICENSE file in the root directory of this source tree.
|
|
883
|
-
*/const
|
|
883
|
+
*/const YD=[["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"}]],PF=H("shield",YD);/**
|
|
884
884
|
* @license lucide-react v0.525.0 - ISC
|
|
885
885
|
*
|
|
886
886
|
* This source code is licensed under the ISC license.
|
|
887
887
|
* See the LICENSE file in the root directory of this source tree.
|
|
888
|
-
*/const
|
|
888
|
+
*/const VD=[["line",{x1:"21",x2:"14",y1:"4",y2:"4",key:"obuewd"}],["line",{x1:"10",x2:"3",y1:"4",y2:"4",key:"1q6298"}],["line",{x1:"21",x2:"12",y1:"12",y2:"12",key:"1iu8h1"}],["line",{x1:"8",x2:"3",y1:"12",y2:"12",key:"ntss68"}],["line",{x1:"21",x2:"16",y1:"20",y2:"20",key:"14d8ph"}],["line",{x1:"12",x2:"3",y1:"20",y2:"20",key:"m0wm8r"}],["line",{x1:"14",x2:"14",y1:"2",y2:"6",key:"14e1ph"}],["line",{x1:"8",x2:"8",y1:"10",y2:"14",key:"1i6ji0"}],["line",{x1:"16",x2:"16",y1:"18",y2:"22",key:"1lctlv"}]],$F=H("sliders-horizontal",VD);/**
|
|
889
889
|
* @license lucide-react v0.525.0 - ISC
|
|
890
890
|
*
|
|
891
891
|
* This source code is licensed under the ISC license.
|
|
892
892
|
* See the LICENSE file in the root directory of this source tree.
|
|
893
|
-
*/const
|
|
893
|
+
*/const FD=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],YF=H("smartphone",FD);/**
|
|
894
894
|
* @license lucide-react v0.525.0 - ISC
|
|
895
895
|
*
|
|
896
896
|
* This source code is licensed under the ISC license.
|
|
897
897
|
* See the LICENSE file in the root directory of this source tree.
|
|
898
|
-
*/const
|
|
898
|
+
*/const GD=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2",key:"1y1vjs"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]],VF=H("smile",GD);/**
|
|
899
899
|
* @license lucide-react v0.525.0 - ISC
|
|
900
900
|
*
|
|
901
901
|
* This source code is licensed under the ISC license.
|
|
902
902
|
* See the LICENSE file in the root directory of this source tree.
|
|
903
|
-
*/const
|
|
903
|
+
*/const QD=[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]],FF=H("sparkles",QD);/**
|
|
904
904
|
* @license lucide-react v0.525.0 - ISC
|
|
905
905
|
*
|
|
906
906
|
* This source code is licensed under the ISC license.
|
|
907
907
|
* See the LICENSE file in the root directory of this source tree.
|
|
908
|
-
*/const
|
|
908
|
+
*/const XD=[["path",{d:"M16 3h5v5",key:"1806ms"}],["path",{d:"M8 3H3v5",key:"15dfkv"}],["path",{d:"M12 22v-8.3a4 4 0 0 0-1.172-2.872L3 3",key:"1qrqzj"}],["path",{d:"m15 9 6-6",key:"ko1vev"}]],GF=H("split",XD);/**
|
|
909
909
|
* @license lucide-react v0.525.0 - ISC
|
|
910
910
|
*
|
|
911
911
|
* This source code is licensed under the ISC license.
|
|
912
912
|
* See the LICENSE file in the root directory of this source tree.
|
|
913
|
-
*/const
|
|
913
|
+
*/const KD=[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],QF=H("square-pen",KD);/**
|
|
914
914
|
* @license lucide-react v0.525.0 - ISC
|
|
915
915
|
*
|
|
916
916
|
* This source code is licensed under the ISC license.
|
|
917
917
|
* See the LICENSE file in the root directory of this source tree.
|
|
918
|
-
*/const
|
|
918
|
+
*/const ZD=[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]],XF=H("square-terminal",ZD);/**
|
|
919
919
|
* @license lucide-react v0.525.0 - ISC
|
|
920
920
|
*
|
|
921
921
|
* This source code is licensed under the ISC license.
|
|
922
922
|
* See the LICENSE file in the root directory of this source tree.
|
|
923
|
-
*/const
|
|
923
|
+
*/const JD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],KF=H("square",JD);/**
|
|
924
924
|
* @license lucide-react v0.525.0 - ISC
|
|
925
925
|
*
|
|
926
926
|
* This source code is licensed under the ISC license.
|
|
927
927
|
* See the LICENSE file in the root directory of this source tree.
|
|
928
|
-
*/const
|
|
928
|
+
*/const WD=[["path",{d:"M11 2v2",key:"1539x4"}],["path",{d:"M5 2v2",key:"1yf1q8"}],["path",{d:"M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1",key:"rb5t3r"}],["path",{d:"M8 15a6 6 0 0 0 12 0v-3",key:"x18d4x"}],["circle",{cx:"20",cy:"10",r:"2",key:"ts1r5v"}]],ZF=H("stethoscope",WD);/**
|
|
929
929
|
* @license lucide-react v0.525.0 - ISC
|
|
930
930
|
*
|
|
931
931
|
* This source code is licensed under the ISC license.
|
|
932
932
|
* See the LICENSE file in the root directory of this source tree.
|
|
933
|
-
*/const e8=[["
|
|
933
|
+
*/const e8=[["path",{d:"M16 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8Z",key:"qazsjp"}],["path",{d:"M15 3v4a2 2 0 0 0 2 2h4",key:"40519r"}]],JF=H("sticky-note",e8);/**
|
|
934
934
|
* @license lucide-react v0.525.0 - ISC
|
|
935
935
|
*
|
|
936
936
|
* This source code is licensed under the ISC license.
|
|
937
937
|
* See the LICENSE file in the root directory of this source tree.
|
|
938
|
-
*/const t8=[["path",{d:"
|
|
938
|
+
*/const t8=[["path",{d:"M15 3v18",key:"14nvp0"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M21 9H3",key:"1338ky"}],["path",{d:"M21 15H3",key:"9uk58r"}]],WF=H("table-properties",t8);/**
|
|
939
939
|
* @license lucide-react v0.525.0 - ISC
|
|
940
940
|
*
|
|
941
941
|
* This source code is licensed under the ISC license.
|
|
942
942
|
* See the LICENSE file in the root directory of this source tree.
|
|
943
|
-
*/const n8=[["
|
|
943
|
+
*/const n8=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],eG=H("target",n8);/**
|
|
944
944
|
* @license lucide-react v0.525.0 - ISC
|
|
945
945
|
*
|
|
946
946
|
* This source code is licensed under the ISC license.
|
|
947
947
|
* See the LICENSE file in the root directory of this source tree.
|
|
948
|
-
*/const r8=[["path",{d:"
|
|
948
|
+
*/const r8=[["path",{d:"M10 2h4",key:"n1abiw"}],["path",{d:"M12 14v-4",key:"1evpnu"}],["path",{d:"M4 13a8 8 0 0 1 8-7 8 8 0 1 1-5.3 14L4 17.6",key:"1ts96g"}],["path",{d:"M9 17H4v5",key:"8t5av"}]],tG=H("timer-reset",r8);/**
|
|
949
949
|
* @license lucide-react v0.525.0 - ISC
|
|
950
950
|
*
|
|
951
951
|
* This source code is licensed under the ISC license.
|
|
952
952
|
* See the LICENSE file in the root directory of this source tree.
|
|
953
|
-
*/const i8=[["
|
|
953
|
+
*/const i8=[["line",{x1:"10",x2:"14",y1:"2",y2:"2",key:"14vaq8"}],["line",{x1:"12",x2:"15",y1:"14",y2:"11",key:"17fdiu"}],["circle",{cx:"12",cy:"14",r:"8",key:"1e1u0o"}]],nG=H("timer",i8);/**
|
|
954
954
|
* @license lucide-react v0.525.0 - ISC
|
|
955
955
|
*
|
|
956
956
|
* This source code is licensed under the ISC license.
|
|
957
957
|
* See the LICENSE file in the root directory of this source tree.
|
|
958
|
-
*/const a8=[["path",{d:"
|
|
958
|
+
*/const a8=[["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"}]],rG=H("trash-2",a8);/**
|
|
959
959
|
* @license lucide-react v0.525.0 - ISC
|
|
960
960
|
*
|
|
961
961
|
* This source code is licensed under the ISC license.
|
|
962
962
|
* See the LICENSE file in the root directory of this source tree.
|
|
963
|
-
*/const o8=[["path",{d:"
|
|
963
|
+
*/const o8=[["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"}]],iG=H("triangle-alert",o8);/**
|
|
964
964
|
* @license lucide-react v0.525.0 - ISC
|
|
965
965
|
*
|
|
966
966
|
* This source code is licensed under the ISC license.
|
|
967
967
|
* See the LICENSE file in the root directory of this source tree.
|
|
968
|
-
*/const l8=[["path",{d:"
|
|
968
|
+
*/const l8=[["path",{d:"M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978",key:"1n3hpd"}],["path",{d:"M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978",key:"rfe1zi"}],["path",{d:"M18 9h1.5a1 1 0 0 0 0-5H18",key:"7xy6bh"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6 9H4.5a1 1 0 0 1 0-5H6",key:"tex48p"}]],aG=H("trophy",l8);/**
|
|
969
969
|
* @license lucide-react v0.525.0 - ISC
|
|
970
970
|
*
|
|
971
971
|
* This source code is licensed under the ISC license.
|
|
972
972
|
* See the LICENSE file in the root directory of this source tree.
|
|
973
|
-
*/const u8=[["path",{d:"M12
|
|
973
|
+
*/const u8=[["path",{d:"M12 4v16",key:"1654pz"}],["path",{d:"M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",key:"e0r10z"}],["path",{d:"M9 20h6",key:"s66wpe"}]],oG=H("type",u8);/**
|
|
974
974
|
* @license lucide-react v0.525.0 - ISC
|
|
975
975
|
*
|
|
976
976
|
* This source code is licensed under the ISC license.
|
|
977
977
|
* See the LICENSE file in the root directory of this source tree.
|
|
978
|
-
*/const s8=[["
|
|
978
|
+
*/const s8=[["path",{d:"M12 22v-6",key:"6o8u61"}],["path",{d:"M12 8V2",key:"1wkif3"}],["path",{d:"M4 12H2",key:"rhcxmi"}],["path",{d:"M10 12H8",key:"s88cx1"}],["path",{d:"M16 12h-2",key:"10asgb"}],["path",{d:"M22 12h-2",key:"14jgyd"}],["path",{d:"m15 19-3 3-3-3",key:"11eu04"}],["path",{d:"m15 5-3-3-3 3",key:"itvq4r"}]],lG=H("unfold-vertical",s8);/**
|
|
979
979
|
* @license lucide-react v0.525.0 - ISC
|
|
980
980
|
*
|
|
981
981
|
* This source code is licensed under the ISC license.
|
|
982
982
|
* See the LICENSE file in the root directory of this source tree.
|
|
983
|
-
*/const c8=[["path",{d:"
|
|
983
|
+
*/const c8=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],uG=H("upload",c8);/**
|
|
984
984
|
* @license lucide-react v0.525.0 - ISC
|
|
985
985
|
*
|
|
986
986
|
* This source code is licensed under the ISC license.
|
|
987
987
|
* See the LICENSE file in the root directory of this source tree.
|
|
988
|
-
*/const f8=[["
|
|
988
|
+
*/const f8=[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],sG=H("user-round",f8);/**
|
|
989
989
|
* @license lucide-react v0.525.0 - ISC
|
|
990
990
|
*
|
|
991
991
|
* This source code is licensed under the ISC license.
|
|
992
992
|
* See the LICENSE file in the root directory of this source tree.
|
|
993
|
-
*/const h8=[["path",{d:"
|
|
993
|
+
*/const h8=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],cG=H("users",h8);/**
|
|
994
994
|
* @license lucide-react v0.525.0 - ISC
|
|
995
995
|
*
|
|
996
996
|
* This source code is licensed under the ISC license.
|
|
997
997
|
* See the LICENSE file in the root directory of this source tree.
|
|
998
|
-
*/const d8=[["path",{d:"
|
|
998
|
+
*/const d8=[["path",{d:"M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2",key:"cjf0a3"}],["path",{d:"M7 2v20",key:"1473qp"}],["path",{d:"M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7",key:"j28e5"}]],fG=H("utensils",d8);/**
|
|
999
999
|
* @license lucide-react v0.525.0 - ISC
|
|
1000
1000
|
*
|
|
1001
1001
|
* This source code is licensed under the ISC license.
|
|
1002
1002
|
* See the LICENSE file in the root directory of this source tree.
|
|
1003
|
-
*/const g8=[["
|
|
1003
|
+
*/const g8=[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]],hG=H("wand-sparkles",g8);/**
|
|
1004
1004
|
* @license lucide-react v0.525.0 - ISC
|
|
1005
1005
|
*
|
|
1006
1006
|
* This source code is licensed under the ISC license.
|
|
1007
1007
|
* See the LICENSE file in the root directory of this source tree.
|
|
1008
|
-
*/const p8=[["path",{d:"M2
|
|
1008
|
+
*/const p8=[["path",{d:"M2 6c.6.5 1.2 1 2.5 1C7 7 7 5 9.5 5c2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"knzxuh"}],["path",{d:"M2 12c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"2jd2cc"}],["path",{d:"M2 18c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"rd2r6e"}]],dG=H("waves",p8);/**
|
|
1009
1009
|
* @license lucide-react v0.525.0 - ISC
|
|
1010
1010
|
*
|
|
1011
1011
|
* This source code is licensed under the ISC license.
|
|
1012
1012
|
* See the LICENSE file in the root directory of this source tree.
|
|
1013
|
-
*/const y8=[["path",{d:"
|
|
1013
|
+
*/const y8=[["circle",{cx:"12",cy:"4.5",r:"2.5",key:"r5ysbb"}],["path",{d:"m10.2 6.3-3.9 3.9",key:"1nzqf6"}],["circle",{cx:"4.5",cy:"12",r:"2.5",key:"jydg6v"}],["path",{d:"M7 12h10",key:"b7w52i"}],["circle",{cx:"19.5",cy:"12",r:"2.5",key:"1piiel"}],["path",{d:"m13.8 17.7 3.9-3.9",key:"1wyg1y"}],["circle",{cx:"12",cy:"19.5",r:"2.5",key:"13o1pw"}]],gG=H("waypoints",y8);/**
|
|
1014
1014
|
* @license lucide-react v0.525.0 - ISC
|
|
1015
1015
|
*
|
|
1016
1016
|
* This source code is licensed under the ISC license.
|
|
1017
1017
|
* See the LICENSE file in the root directory of this source tree.
|
|
1018
|
-
*/const m8=[["
|
|
1018
|
+
*/const m8=[["path",{d:"M2 22 16 8",key:"60hf96"}],["path",{d:"M3.47 12.53 5 11l1.53 1.53a3.5 3.5 0 0 1 0 4.94L5 19l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1rdhi6"}],["path",{d:"M7.47 8.53 9 7l1.53 1.53a3.5 3.5 0 0 1 0 4.94L9 15l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1sdzmb"}],["path",{d:"M11.47 4.53 13 3l1.53 1.53a3.5 3.5 0 0 1 0 4.94L13 11l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"eoatbi"}],["path",{d:"M20 2h2v2a4 4 0 0 1-4 4h-2V6a4 4 0 0 1 4-4Z",key:"19rau1"}],["path",{d:"M11.47 17.47 13 19l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L5 19l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"tc8ph9"}],["path",{d:"M15.47 13.47 17 15l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L9 15l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"2m8kc5"}],["path",{d:"M19.47 9.47 21 11l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L13 11l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"vex3ng"}]],pG=H("wheat",m8);/**
|
|
1019
1019
|
* @license lucide-react v0.525.0 - ISC
|
|
1020
1020
|
*
|
|
1021
1021
|
* This source code is licensed under the ISC license.
|
|
1022
1022
|
* See the LICENSE file in the root directory of this source tree.
|
|
1023
|
-
*/const v8=[["path",{d:"
|
|
1023
|
+
*/const v8=[["path",{d:"M12.8 19.6A2 2 0 1 0 14 16H2",key:"148xed"}],["path",{d:"M17.5 8a2.5 2.5 0 1 1 2 4H2",key:"1u4tom"}],["path",{d:"M9.8 4.4A2 2 0 1 1 11 8H2",key:"75valh"}]],yG=H("wind",v8);/**
|
|
1024
1024
|
* @license lucide-react v0.525.0 - ISC
|
|
1025
1025
|
*
|
|
1026
1026
|
* This source code is licensed under the ISC license.
|
|
1027
1027
|
* See the LICENSE file in the root directory of this source tree.
|
|
1028
|
-
*/const b8=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],pG=H("zap",b8);function rE(e){var t,n,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=rE(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function S8(){for(var e,t,n=0,i="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=rE(e))&&(i&&(i+=" "),i+=t);return i}const _8=(e,t)=>{const n=new Array(e.length+t.length);for(let i=0;i<e.length;i++)n[i]=e[i];for(let i=0;i<t.length;i++)n[e.length+i]=t[i];return n},w8=(e,t)=>({classGroupId:e,validator:t}),iE=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Fc="-",hS=[],M8="arbitrary..",T8=e=>{const t=x8(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:c=>{if(c.startsWith("[")&&c.endsWith("]"))return E8(c);const f=c.split(Fc),h=f[0]===""&&f.length>1?1:0;return aE(f,h,t)},getConflictingClassGroupIds:(c,f)=>{if(f){const h=i[c],g=n[c];return h?g?_8(g,h):h:g||hS}return n[c]||hS}}},aE=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const o=e[t],u=n.nextPart.get(o);if(u){const g=aE(e,t+1,u);if(g)return g}const c=n.validators;if(c===null)return;const f=t===0?e.join(Fc):e.slice(t).join(Fc),h=c.length;for(let g=0;g<h;g++){const p=c[g];if(p.validator(f))return p.classGroupId}},E8=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),i=t.slice(0,n);return i?M8+i:void 0})(),x8=e=>{const{theme:t,classGroups:n}=e;return O8(n,t)},O8=(e,t)=>{const n=iE();for(const i in e){const o=e[i];H1(o,n,i,t)}return n},H1=(e,t,n,i)=>{const o=e.length;for(let u=0;u<o;u++){const c=e[u];C8(c,t,n,i)}},C8=(e,t,n,i)=>{if(typeof e=="string"){k8(e,t,n);return}if(typeof e=="function"){A8(e,t,n,i);return}D8(e,t,n,i)},k8=(e,t,n)=>{const i=e===""?t:oE(t,e);i.classGroupId=n},A8=(e,t,n,i)=>{if(N8(e)){H1(e(i),t,n,i);return}t.validators===null&&(t.validators=[]),t.validators.push(w8(n,e))},D8=(e,t,n,i)=>{const o=Object.entries(e),u=o.length;for(let c=0;c<u;c++){const[f,h]=o[c];H1(h,oE(t,f),n,i)}},oE=(e,t)=>{let n=e;const i=t.split(Fc),o=i.length;for(let u=0;u<o;u++){const c=i[u];let f=n.nextPart.get(c);f||(f=iE(),n.nextPart.set(c,f)),n=f}return n},N8=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,R8=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),i=Object.create(null);const o=(u,c)=>{n[u]=c,t++,t>e&&(t=0,i=n,n=Object.create(null))};return{get(u){let c=n[u];if(c!==void 0)return c;if((c=i[u])!==void 0)return o(u,c),c},set(u,c){u in n?n[u]=c:o(u,c)}}},Gp="!",dS=":",z8=[],gS=(e,t,n,i,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:i,isExternal:o}),L8=e=>{const{prefix:t,experimentalParseClassName:n}=e;let i=o=>{const u=[];let c=0,f=0,h=0,g;const p=o.length;for(let b=0;b<p;b++){const w=o[b];if(c===0&&f===0){if(w===dS){u.push(o.slice(h,b)),h=b+1;continue}if(w==="/"){g=b;continue}}w==="["?c++:w==="]"?c--:w==="("?f++:w===")"&&f--}const m=u.length===0?o:o.slice(h);let v=m,S=!1;m.endsWith(Gp)?(v=m.slice(0,-1),S=!0):m.startsWith(Gp)&&(v=m.slice(1),S=!0);const M=g&&g>h?g-h:void 0;return gS(u,S,v,M)};if(t){const o=t+dS,u=i;i=c=>c.startsWith(o)?u(c.slice(o.length)):gS(z8,!1,c,void 0,!0)}if(n){const o=i;i=u=>n({className:u,parseClassName:o})}return i},I8=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,i)=>{t.set(n,1e6+i)}),n=>{const i=[];let o=[];for(let u=0;u<n.length;u++){const c=n[u],f=c[0]==="[",h=t.has(c);f||h?(o.length>0&&(o.sort(),i.push(...o),o=[]),i.push(c)):o.push(c)}return o.length>0&&(o.sort(),i.push(...o)),i}},q8=e=>({cache:R8(e.cacheSize),parseClassName:L8(e),sortModifiers:I8(e),...T8(e)}),U8=/\s+/,j8=(e,t)=>{const{parseClassName:n,getClassGroupId:i,getConflictingClassGroupIds:o,sortModifiers:u}=t,c=[],f=e.trim().split(U8);let h="";for(let g=f.length-1;g>=0;g-=1){const p=f[g],{isExternal:m,modifiers:v,hasImportantModifier:S,baseClassName:M,maybePostfixModifierPosition:b}=n(p);if(m){h=p+(h.length>0?" "+h:h);continue}let w=!!b,E=i(w?M.substring(0,b):M);if(!E){if(!w){h=p+(h.length>0?" "+h:h);continue}if(E=i(M),!E){h=p+(h.length>0?" "+h:h);continue}w=!1}const A=v.length===0?"":v.length===1?v[0]:u(v).join(":"),k=S?A+Gp:A,T=k+E;if(c.indexOf(T)>-1)continue;c.push(T);const C=o(E,w);for(let O=0;O<C.length;++O){const D=C[O];c.push(k+D)}h=p+(h.length>0?" "+h:h)}return h},H8=(...e)=>{let t=0,n,i,o="";for(;t<e.length;)(n=e[t++])&&(i=lE(n))&&(o&&(o+=" "),o+=i);return o},lE=e=>{if(typeof e=="string")return e;let t,n="";for(let i=0;i<e.length;i++)e[i]&&(t=lE(e[i]))&&(n&&(n+=" "),n+=t);return n},B8=(e,...t)=>{let n,i,o,u;const c=h=>{const g=t.reduce((p,m)=>m(p),e());return n=q8(g),i=n.cache.get,o=n.cache.set,u=f,f(h)},f=h=>{const g=i(h);if(g)return g;const p=j8(h,n);return o(h,p),p};return u=c,(...h)=>u(H8(...h))},P8=[],vt=e=>{const t=n=>n[e]||P8;return t.isThemeGetter=!0,t},uE=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,sE=/^\((?:(\w[\w-]*):)?(.+)\)$/i,$8=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Y8=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,V8=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,F8=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,G8=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Q8=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,_i=e=>$8.test(e),Ne=e=>!!e&&!Number.isNaN(Number(e)),wi=e=>!!e&&Number.isInteger(Number(e)),vg=e=>e.endsWith("%")&&Ne(e.slice(0,-1)),kr=e=>Y8.test(e),cE=()=>!0,X8=e=>V8.test(e)&&!F8.test(e),B1=()=>!1,K8=e=>G8.test(e),Z8=e=>Q8.test(e),J8=e=>!pe(e)&&!ye(e),W8=e=>qi(e,dE,B1),pe=e=>uE.test(e),ia=e=>qi(e,gE,X8),pS=e=>qi(e,lN,Ne),eN=e=>qi(e,yE,cE),tN=e=>qi(e,pE,B1),yS=e=>qi(e,fE,B1),nN=e=>qi(e,hE,Z8),sc=e=>qi(e,mE,K8),ye=e=>sE.test(e),nu=e=>Aa(e,gE),rN=e=>Aa(e,pE),mS=e=>Aa(e,fE),iN=e=>Aa(e,dE),aN=e=>Aa(e,hE),cc=e=>Aa(e,mE,!0),oN=e=>Aa(e,yE,!0),qi=(e,t,n)=>{const i=uE.exec(e);return i?i[1]?t(i[1]):n(i[2]):!1},Aa=(e,t,n=!1)=>{const i=sE.exec(e);return i?i[1]?t(i[1]):n:!1},fE=e=>e==="position"||e==="percentage",hE=e=>e==="image"||e==="url",dE=e=>e==="length"||e==="size"||e==="bg-size",gE=e=>e==="length",lN=e=>e==="number",pE=e=>e==="family-name",yE=e=>e==="number"||e==="weight",mE=e=>e==="shadow",uN=()=>{const e=vt("color"),t=vt("font"),n=vt("text"),i=vt("font-weight"),o=vt("tracking"),u=vt("leading"),c=vt("breakpoint"),f=vt("container"),h=vt("spacing"),g=vt("radius"),p=vt("shadow"),m=vt("inset-shadow"),v=vt("text-shadow"),S=vt("drop-shadow"),M=vt("blur"),b=vt("perspective"),w=vt("aspect"),E=vt("ease"),A=vt("animate"),k=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],C=()=>[...T(),ye,pe],O=()=>["auto","hidden","clip","visible","scroll"],D=()=>["auto","contain","none"],N=()=>[ye,pe,h],P=()=>[_i,"full","auto",...N()],Z=()=>[wi,"none","subgrid",ye,pe],W=()=>["auto",{span:["full",wi,ye,pe]},wi,ye,pe],G=()=>[wi,"auto",ye,pe],ue=()=>["auto","min","max","fr",ye,pe],q=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],re=()=>["start","end","center","stretch","center-safe","end-safe"],R=()=>["auto",...N()],F=()=>[_i,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...N()],ie=()=>[_i,"screen","full","dvw","lvw","svw","min","max","fit",...N()],se=()=>[_i,"screen","full","lh","dvh","lvh","svh","min","max","fit",...N()],K=()=>[e,ye,pe],z=()=>[...T(),mS,yS,{position:[ye,pe]}],Q=()=>["no-repeat",{repeat:["","x","y","space","round"]}],oe=()=>["auto","cover","contain",iN,W8,{size:[ye,pe]}],le=()=>[vg,nu,ia],ce=()=>["","none","full",g,ye,pe],he=()=>["",Ne,nu,ia],ve=()=>["solid","dashed","dotted","double"],Ae=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ne=()=>[Ne,vg,mS,yS],we=()=>["","none",M,ye,pe],xe=()=>["none",Ne,ye,pe],ae=()=>["none",Ne,ye,pe],st=()=>[Ne,ye,pe],De=()=>[_i,"full",...N()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[kr],breakpoint:[kr],color:[cE],container:[kr],"drop-shadow":[kr],ease:["in","out","in-out"],font:[J8],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[kr],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[kr],shadow:[kr],spacing:["px",Ne],text:[kr],"text-shadow":[kr],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",_i,pe,ye,w]}],container:["container"],columns:[{columns:[Ne,pe,ye,f]}],"break-after":[{"break-after":k()}],"break-before":[{"break-before":k()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:C()}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:P()}],"inset-x":[{"inset-x":P()}],"inset-y":[{"inset-y":P()}],start:[{"inset-s":P(),start:P()}],end:[{"inset-e":P(),end:P()}],"inset-bs":[{"inset-bs":P()}],"inset-be":[{"inset-be":P()}],top:[{top:P()}],right:[{right:P()}],bottom:[{bottom:P()}],left:[{left:P()}],visibility:["visible","invisible","collapse"],z:[{z:[wi,"auto",ye,pe]}],basis:[{basis:[_i,"full","auto",f,...N()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ne,_i,"auto","initial","none",pe]}],grow:[{grow:["",Ne,ye,pe]}],shrink:[{shrink:["",Ne,ye,pe]}],order:[{order:[wi,"first","last","none",ye,pe]}],"grid-cols":[{"grid-cols":Z()}],"col-start-end":[{col:W()}],"col-start":[{"col-start":G()}],"col-end":[{"col-end":G()}],"grid-rows":[{"grid-rows":Z()}],"row-start-end":[{row:W()}],"row-start":[{"row-start":G()}],"row-end":[{"row-end":G()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ue()}],"auto-rows":[{"auto-rows":ue()}],gap:[{gap:N()}],"gap-x":[{"gap-x":N()}],"gap-y":[{"gap-y":N()}],"justify-content":[{justify:[...q(),"normal"]}],"justify-items":[{"justify-items":[...re(),"normal"]}],"justify-self":[{"justify-self":["auto",...re()]}],"align-content":[{content:["normal",...q()]}],"align-items":[{items:[...re(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...re(),{baseline:["","last"]}]}],"place-content":[{"place-content":q()}],"place-items":[{"place-items":[...re(),"baseline"]}],"place-self":[{"place-self":["auto",...re()]}],p:[{p:N()}],px:[{px:N()}],py:[{py:N()}],ps:[{ps:N()}],pe:[{pe:N()}],pbs:[{pbs:N()}],pbe:[{pbe:N()}],pt:[{pt:N()}],pr:[{pr:N()}],pb:[{pb:N()}],pl:[{pl:N()}],m:[{m:R()}],mx:[{mx:R()}],my:[{my:R()}],ms:[{ms:R()}],me:[{me:R()}],mbs:[{mbs:R()}],mbe:[{mbe:R()}],mt:[{mt:R()}],mr:[{mr:R()}],mb:[{mb:R()}],ml:[{ml:R()}],"space-x":[{"space-x":N()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":N()}],"space-y-reverse":["space-y-reverse"],size:[{size:F()}],"inline-size":[{inline:["auto",...ie()]}],"min-inline-size":[{"min-inline":["auto",...ie()]}],"max-inline-size":[{"max-inline":["none",...ie()]}],"block-size":[{block:["auto",...se()]}],"min-block-size":[{"min-block":["auto",...se()]}],"max-block-size":[{"max-block":["none",...se()]}],w:[{w:[f,"screen",...F()]}],"min-w":[{"min-w":[f,"screen","none",...F()]}],"max-w":[{"max-w":[f,"screen","none","prose",{screen:[c]},...F()]}],h:[{h:["screen","lh",...F()]}],"min-h":[{"min-h":["screen","lh","none",...F()]}],"max-h":[{"max-h":["screen","lh",...F()]}],"font-size":[{text:["base",n,nu,ia]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,oN,eN]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",vg,pe]}],"font-family":[{font:[rN,tN,t]}],"font-features":[{"font-features":[pe]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,ye,pe]}],"line-clamp":[{"line-clamp":[Ne,"none",ye,pS]}],leading:[{leading:[u,...N()]}],"list-image":[{"list-image":["none",ye,pe]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ye,pe]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:K()}],"text-color":[{text:K()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ve(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ne,"from-font","auto",ye,ia]}],"text-decoration-color":[{decoration:K()}],"underline-offset":[{"underline-offset":[Ne,"auto",ye,pe]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:N()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ye,pe]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ye,pe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:z()}],"bg-repeat":[{bg:Q()}],"bg-size":[{bg:oe()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},wi,ye,pe],radial:["",ye,pe],conic:[wi,ye,pe]},aN,nN]}],"bg-color":[{bg:K()}],"gradient-from-pos":[{from:le()}],"gradient-via-pos":[{via:le()}],"gradient-to-pos":[{to:le()}],"gradient-from":[{from:K()}],"gradient-via":[{via:K()}],"gradient-to":[{to:K()}],rounded:[{rounded:ce()}],"rounded-s":[{"rounded-s":ce()}],"rounded-e":[{"rounded-e":ce()}],"rounded-t":[{"rounded-t":ce()}],"rounded-r":[{"rounded-r":ce()}],"rounded-b":[{"rounded-b":ce()}],"rounded-l":[{"rounded-l":ce()}],"rounded-ss":[{"rounded-ss":ce()}],"rounded-se":[{"rounded-se":ce()}],"rounded-ee":[{"rounded-ee":ce()}],"rounded-es":[{"rounded-es":ce()}],"rounded-tl":[{"rounded-tl":ce()}],"rounded-tr":[{"rounded-tr":ce()}],"rounded-br":[{"rounded-br":ce()}],"rounded-bl":[{"rounded-bl":ce()}],"border-w":[{border:he()}],"border-w-x":[{"border-x":he()}],"border-w-y":[{"border-y":he()}],"border-w-s":[{"border-s":he()}],"border-w-e":[{"border-e":he()}],"border-w-bs":[{"border-bs":he()}],"border-w-be":[{"border-be":he()}],"border-w-t":[{"border-t":he()}],"border-w-r":[{"border-r":he()}],"border-w-b":[{"border-b":he()}],"border-w-l":[{"border-l":he()}],"divide-x":[{"divide-x":he()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":he()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ve(),"hidden","none"]}],"divide-style":[{divide:[...ve(),"hidden","none"]}],"border-color":[{border:K()}],"border-color-x":[{"border-x":K()}],"border-color-y":[{"border-y":K()}],"border-color-s":[{"border-s":K()}],"border-color-e":[{"border-e":K()}],"border-color-bs":[{"border-bs":K()}],"border-color-be":[{"border-be":K()}],"border-color-t":[{"border-t":K()}],"border-color-r":[{"border-r":K()}],"border-color-b":[{"border-b":K()}],"border-color-l":[{"border-l":K()}],"divide-color":[{divide:K()}],"outline-style":[{outline:[...ve(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ne,ye,pe]}],"outline-w":[{outline:["",Ne,nu,ia]}],"outline-color":[{outline:K()}],shadow:[{shadow:["","none",p,cc,sc]}],"shadow-color":[{shadow:K()}],"inset-shadow":[{"inset-shadow":["none",m,cc,sc]}],"inset-shadow-color":[{"inset-shadow":K()}],"ring-w":[{ring:he()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:K()}],"ring-offset-w":[{"ring-offset":[Ne,ia]}],"ring-offset-color":[{"ring-offset":K()}],"inset-ring-w":[{"inset-ring":he()}],"inset-ring-color":[{"inset-ring":K()}],"text-shadow":[{"text-shadow":["none",v,cc,sc]}],"text-shadow-color":[{"text-shadow":K()}],opacity:[{opacity:[Ne,ye,pe]}],"mix-blend":[{"mix-blend":[...Ae(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ae()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Ne]}],"mask-image-linear-from-pos":[{"mask-linear-from":ne()}],"mask-image-linear-to-pos":[{"mask-linear-to":ne()}],"mask-image-linear-from-color":[{"mask-linear-from":K()}],"mask-image-linear-to-color":[{"mask-linear-to":K()}],"mask-image-t-from-pos":[{"mask-t-from":ne()}],"mask-image-t-to-pos":[{"mask-t-to":ne()}],"mask-image-t-from-color":[{"mask-t-from":K()}],"mask-image-t-to-color":[{"mask-t-to":K()}],"mask-image-r-from-pos":[{"mask-r-from":ne()}],"mask-image-r-to-pos":[{"mask-r-to":ne()}],"mask-image-r-from-color":[{"mask-r-from":K()}],"mask-image-r-to-color":[{"mask-r-to":K()}],"mask-image-b-from-pos":[{"mask-b-from":ne()}],"mask-image-b-to-pos":[{"mask-b-to":ne()}],"mask-image-b-from-color":[{"mask-b-from":K()}],"mask-image-b-to-color":[{"mask-b-to":K()}],"mask-image-l-from-pos":[{"mask-l-from":ne()}],"mask-image-l-to-pos":[{"mask-l-to":ne()}],"mask-image-l-from-color":[{"mask-l-from":K()}],"mask-image-l-to-color":[{"mask-l-to":K()}],"mask-image-x-from-pos":[{"mask-x-from":ne()}],"mask-image-x-to-pos":[{"mask-x-to":ne()}],"mask-image-x-from-color":[{"mask-x-from":K()}],"mask-image-x-to-color":[{"mask-x-to":K()}],"mask-image-y-from-pos":[{"mask-y-from":ne()}],"mask-image-y-to-pos":[{"mask-y-to":ne()}],"mask-image-y-from-color":[{"mask-y-from":K()}],"mask-image-y-to-color":[{"mask-y-to":K()}],"mask-image-radial":[{"mask-radial":[ye,pe]}],"mask-image-radial-from-pos":[{"mask-radial-from":ne()}],"mask-image-radial-to-pos":[{"mask-radial-to":ne()}],"mask-image-radial-from-color":[{"mask-radial-from":K()}],"mask-image-radial-to-color":[{"mask-radial-to":K()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":T()}],"mask-image-conic-pos":[{"mask-conic":[Ne]}],"mask-image-conic-from-pos":[{"mask-conic-from":ne()}],"mask-image-conic-to-pos":[{"mask-conic-to":ne()}],"mask-image-conic-from-color":[{"mask-conic-from":K()}],"mask-image-conic-to-color":[{"mask-conic-to":K()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:z()}],"mask-repeat":[{mask:Q()}],"mask-size":[{mask:oe()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ye,pe]}],filter:[{filter:["","none",ye,pe]}],blur:[{blur:we()}],brightness:[{brightness:[Ne,ye,pe]}],contrast:[{contrast:[Ne,ye,pe]}],"drop-shadow":[{"drop-shadow":["","none",S,cc,sc]}],"drop-shadow-color":[{"drop-shadow":K()}],grayscale:[{grayscale:["",Ne,ye,pe]}],"hue-rotate":[{"hue-rotate":[Ne,ye,pe]}],invert:[{invert:["",Ne,ye,pe]}],saturate:[{saturate:[Ne,ye,pe]}],sepia:[{sepia:["",Ne,ye,pe]}],"backdrop-filter":[{"backdrop-filter":["","none",ye,pe]}],"backdrop-blur":[{"backdrop-blur":we()}],"backdrop-brightness":[{"backdrop-brightness":[Ne,ye,pe]}],"backdrop-contrast":[{"backdrop-contrast":[Ne,ye,pe]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ne,ye,pe]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ne,ye,pe]}],"backdrop-invert":[{"backdrop-invert":["",Ne,ye,pe]}],"backdrop-opacity":[{"backdrop-opacity":[Ne,ye,pe]}],"backdrop-saturate":[{"backdrop-saturate":[Ne,ye,pe]}],"backdrop-sepia":[{"backdrop-sepia":["",Ne,ye,pe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":N()}],"border-spacing-x":[{"border-spacing-x":N()}],"border-spacing-y":[{"border-spacing-y":N()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ye,pe]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ne,"initial",ye,pe]}],ease:[{ease:["linear","initial",E,ye,pe]}],delay:[{delay:[Ne,ye,pe]}],animate:[{animate:["none",A,ye,pe]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[b,ye,pe]}],"perspective-origin":[{"perspective-origin":C()}],rotate:[{rotate:xe()}],"rotate-x":[{"rotate-x":xe()}],"rotate-y":[{"rotate-y":xe()}],"rotate-z":[{"rotate-z":xe()}],scale:[{scale:ae()}],"scale-x":[{"scale-x":ae()}],"scale-y":[{"scale-y":ae()}],"scale-z":[{"scale-z":ae()}],"scale-3d":["scale-3d"],skew:[{skew:st()}],"skew-x":[{"skew-x":st()}],"skew-y":[{"skew-y":st()}],transform:[{transform:[ye,pe,"","none","gpu","cpu"]}],"transform-origin":[{origin:C()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:De()}],"translate-x":[{"translate-x":De()}],"translate-y":[{"translate-y":De()}],"translate-z":[{"translate-z":De()}],"translate-none":["translate-none"],accent:[{accent:K()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:K()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ye,pe]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mbs":[{"scroll-mbs":N()}],"scroll-mbe":[{"scroll-mbe":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pbs":[{"scroll-pbs":N()}],"scroll-pbe":[{"scroll-pbe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ye,pe]}],fill:[{fill:["none",...K()]}],"stroke-w":[{stroke:[Ne,nu,ia,pS]}],stroke:[{stroke:["none",...K()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},yG=B8(uN),vS=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,bS=S8,mG=(e,t)=>n=>{var i;if((t==null?void 0:t.variants)==null)return bS(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:u}=t,c=Object.keys(o).map(g=>{const p=n==null?void 0:n[g],m=u==null?void 0:u[g];if(p===null)return null;const v=vS(p)||vS(m);return o[g][v]}),f=n&&Object.entries(n).reduce((g,p)=>{let[m,v]=p;return v===void 0||(g[m]=v),g},{}),h=t==null||(i=t.compoundVariants)===null||i===void 0?void 0:i.reduce((g,p)=>{let{class:m,className:v,...S}=p;return Object.entries(S).every(M=>{let[b,w]=M;return Array.isArray(w)?w.includes({...u,...f}[b]):{...u,...f}[b]===w})?[...g,m,v]:g},[]);return bS(e,c,h,n==null?void 0:n.class,n==null?void 0:n.className)};var Gc=function(){return Gc=Object.assign||function(t){for(var n,i=1,o=arguments.length;i<o;i++){n=arguments[i];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(t[u]=n[u])}return t},Gc.apply(this,arguments)};function sN(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n}function vG(e,t,n){if(n||arguments.length===2)for(var i=0,o=t.length,u;i<o;i++)(u||!(i in t))&&(u||(u=Array.prototype.slice.call(t,0,i)),u[i]=t[i]);return e.concat(u||Array.prototype.slice.call(t))}function bg(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function cN(e,t){var n=U.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(i){var o=n.value;o!==i&&(n.value=i,n.callback(i,o))}}}})[0];return n.callback=t,n.facade}var fN=typeof window<"u"?U.useLayoutEffect:U.useEffect,SS=new WeakMap;function bG(e,t){var n=cN(null,function(i){return e.forEach(function(o){return bg(o,i)})});return fN(function(){var i=SS.get(n);if(i){var o=new Set(i),u=new Set(e),c=n.current;o.forEach(function(f){u.has(f)||bg(f,null)}),u.forEach(function(f){o.has(f)||bg(f,c)})}SS.set(n,e)},[e]),n}function hN(e){return e}function dN(e,t){t===void 0&&(t=hN);var n=[],i=!1,o={read:function(){if(i)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(u){var c=t(u,i);return n.push(c),function(){n=n.filter(function(f){return f!==c})}},assignSyncMedium:function(u){for(i=!0;n.length;){var c=n;n=[],c.forEach(u)}n={push:function(f){return u(f)},filter:function(){return n}}},assignMedium:function(u){i=!0;var c=[];if(n.length){var f=n;n=[],f.forEach(u),c=n}var h=function(){var p=c;c=[],p.forEach(u)},g=function(){return Promise.resolve().then(h)};g(),n={push:function(p){c.push(p),g()},filter:function(p){return c=c.filter(p),n}}}};return o}function SG(e){e===void 0&&(e={});var t=dN(null);return t.options=Gc({async:!0,ssr:!1},e),t}var vE=function(e){var t=e.sideCar,n=sN(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var i=t.read();if(!i)throw new Error("Sidecar medium not found");return U.createElement(i,Gc({},n))};vE.isSideCarExport=!0;function _G(e,t){return e.useMedium(t),vE}var gN=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function pN(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=gN();return t&&e.setAttribute("nonce",t),e}function yN(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function mN(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var vN=function(){var e=0,t=null;return{add:function(n){e==0&&(t=pN())&&(yN(t,n),mN(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},bN=function(){var e=vN();return function(t,n){U.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},wG=function(){var e=bN(),t=function(n){var i=n.styles,o=n.dynamic;return e(i,o),null};return t},SN=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},_o=new WeakMap,fc=new WeakMap,hc={},Sg=0,bE=function(e){return e&&(e.host||bE(e.parentNode))},_N=function(e,t){return t.map(function(n){if(e.contains(n))return n;var i=bE(n);return i&&e.contains(i)?i:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},wN=function(e,t,n,i){var o=_N(t,Array.isArray(e)?e:[e]);hc[n]||(hc[n]=new WeakMap);var u=hc[n],c=[],f=new Set,h=new Set(o),g=function(m){!m||f.has(m)||(f.add(m),g(m.parentNode))};o.forEach(g);var p=function(m){!m||h.has(m)||Array.prototype.forEach.call(m.children,function(v){if(f.has(v))p(v);else try{var S=v.getAttribute(i),M=S!==null&&S!=="false",b=(_o.get(v)||0)+1,w=(u.get(v)||0)+1;_o.set(v,b),u.set(v,w),c.push(v),b===1&&M&&fc.set(v,!0),w===1&&v.setAttribute(n,"true"),M||v.setAttribute(i,"true")}catch(E){console.error("aria-hidden: cannot operate on ",v,E)}})};return p(t),f.clear(),Sg++,function(){c.forEach(function(m){var v=_o.get(m)-1,S=u.get(m)-1;_o.set(m,v),u.set(m,S),v||(fc.has(m)||m.removeAttribute(i),fc.delete(m)),S||m.removeAttribute(n)}),Sg--,Sg||(_o=new WeakMap,_o=new WeakMap,fc=new WeakMap,hc={})}},MG=function(e,t,n){n===void 0&&(n="data-aria-hidden");var i=Array.from(Array.isArray(e)?e:[e]),o=SN(e);return o?(i.push.apply(i,Array.from(o.querySelectorAll("[aria-live], script"))),wN(i,o,n,"aria-hidden")):function(){return null}};function Rt(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var MN=typeof Symbol=="function"&&Symbol.observable||"@@observable",_S=MN,_g=()=>Math.random().toString(36).substring(7).split("").join("."),TN={INIT:`@@redux/INIT${_g()}`,REPLACE:`@@redux/REPLACE${_g()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${_g()}`},Qc=TN;function SE(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function _E(e,t,n){if(typeof e!="function")throw new Error(Rt(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(Rt(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(Rt(1));return n(_E)(e,t)}let i=e,o=t,u=new Map,c=u,f=0,h=!1;function g(){c===u&&(c=new Map,u.forEach((w,E)=>{c.set(E,w)}))}function p(){if(h)throw new Error(Rt(3));return o}function m(w){if(typeof w!="function")throw new Error(Rt(4));if(h)throw new Error(Rt(5));let E=!0;g();const A=f++;return c.set(A,w),function(){if(E){if(h)throw new Error(Rt(6));E=!1,g(),c.delete(A),u=null}}}function v(w){if(!SE(w))throw new Error(Rt(7));if(typeof w.type>"u")throw new Error(Rt(8));if(typeof w.type!="string")throw new Error(Rt(17));if(h)throw new Error(Rt(9));try{h=!0,o=i(o,w)}finally{h=!1}return(u=c).forEach(A=>{A()}),w}function S(w){if(typeof w!="function")throw new Error(Rt(10));i=w,v({type:Qc.REPLACE})}function M(){const w=m;return{subscribe(E){if(typeof E!="object"||E===null)throw new Error(Rt(11));function A(){const T=E;T.next&&T.next(p())}return A(),{unsubscribe:w(A)}},[_S](){return this}}}return v({type:Qc.INIT}),{dispatch:v,subscribe:m,getState:p,replaceReducer:S,[_S]:M}}function EN(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:Qc.INIT})>"u")throw new Error(Rt(12));if(typeof n(void 0,{type:Qc.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Rt(13))})}function wS(e){const t=Object.keys(e),n={};for(let u=0;u<t.length;u++){const c=t[u];typeof e[c]=="function"&&(n[c]=e[c])}const i=Object.keys(n);let o;try{EN(n)}catch(u){o=u}return function(c={},f){if(o)throw o;let h=!1;const g={};for(let p=0;p<i.length;p++){const m=i[p],v=n[m],S=c[m],M=v(S,f);if(typeof M>"u")throw f&&f.type,new Error(Rt(14));g[m]=M,h=h||M!==S}return h=h||i.length!==Object.keys(c).length,h?g:c}}function xN(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...i)=>t(n(...i)))}function TG(...e){return t=>(n,i)=>{const o=t(n,i);let u=()=>{throw new Error(Rt(15))};const c={getState:o.getState,dispatch:(h,...g)=>u(h,...g)},f=e.map(h=>h(c));return u=xN(...f)(o.dispatch),{...o,dispatch:u}}}function EG(e){return SE(e)&&"type"in e&&typeof e.type=="string"}function ON(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function CN(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function kN(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(n=>typeof n=="function")){const n=e.map(i=>typeof i=="function"?`function ${i.name||"unnamed"}()`:typeof i).join(", ");throw new TypeError(`${t}[${n}]`)}}var MS=e=>Array.isArray(e)?e:[e];function AN(e){const t=Array.isArray(e[0])?e[0]:e;return kN(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function DN(e,t){const n=[],{length:i}=e;for(let o=0;o<i;o++)n.push(e[o].apply(null,t));return n}var NN=class{constructor(e){this.value=e}deref(){return this.value}},RN=typeof WeakRef<"u"?WeakRef:NN,zN=0,TS=1;function dc(){return{s:zN,v:void 0,o:null,p:null}}function wE(e,t={}){let n=dc();const{resultEqualityCheck:i}=t;let o,u=0;function c(){var m;let f=n;const{length:h}=arguments;for(let v=0,S=h;v<S;v++){const M=arguments[v];if(typeof M=="function"||typeof M=="object"&&M!==null){let b=f.o;b===null&&(f.o=b=new WeakMap);const w=b.get(M);w===void 0?(f=dc(),b.set(M,f)):f=w}else{let b=f.p;b===null&&(f.p=b=new Map);const w=b.get(M);w===void 0?(f=dc(),b.set(M,f)):f=w}}const g=f;let p;if(f.s===TS)p=f.v;else if(p=e.apply(null,arguments),u++,i){const v=((m=o==null?void 0:o.deref)==null?void 0:m.call(o))??o;v!=null&&i(v,p)&&(p=v,u!==0&&u--),o=typeof p=="object"&&p!==null||typeof p=="function"?new RN(p):p}return g.s=TS,g.v=p,p}return c.clearCache=()=>{n=dc(),c.resetResultsCount()},c.resultsCount=()=>u,c.resetResultsCount=()=>{u=0},c}function LN(e,...t){const n=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,i=(...o)=>{let u=0,c=0,f,h={},g=o.pop();typeof g=="object"&&(h=g,g=o.pop()),ON(g,`createSelector expects an output function after the inputs, but received: [${typeof g}]`);const p={...n,...h},{memoize:m,memoizeOptions:v=[],argsMemoize:S=wE,argsMemoizeOptions:M=[]}=p,b=MS(v),w=MS(M),E=AN(o),A=m(function(){return u++,g.apply(null,arguments)},...b),k=S(function(){c++;const C=DN(E,arguments);return f=A.apply(null,C),f},...w);return Object.assign(k,{resultFunc:g,memoizedResultFunc:A,dependencies:E,dependencyRecomputations:()=>c,resetDependencyRecomputations:()=>{c=0},lastResult:()=>f,recomputations:()=>u,resetRecomputations:()=>{u=0},memoize:m,argsMemoize:S})};return Object.assign(i,{withTypes:()=>i}),i}var IN=LN(wE),qN=Object.assign((e,t=IN)=>{CN(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const n=Object.keys(e),i=n.map(u=>e[u]);return t(i,(...u)=>u.reduce((c,f,h)=>(c[n[h]]=f,c),{}))},{withTypes:()=>qN});function ME(e){return({dispatch:n,getState:i})=>o=>u=>typeof u=="function"?u(n,i,e):o(u)}var xG=ME(),OG=ME,CG=class extends Error{constructor(t){super(t[0].message);qb(this,"issues");this.name="SchemaError",this.issues=t}};function UN(e){if(typeof e=="string"||typeof e=="number")return""+e;let t="";if(Array.isArray(e))for(let n=0,i;n<e.length;n++)(i=UN(e[n]))!==""&&(t+=(t&&" ")+i);else for(let n in e)e[n]&&(t+=(t&&" ")+n);return t}var jN={value:()=>{}};function Ef(){for(var e=0,t=arguments.length,n={},i;e<t;++e){if(!(i=arguments[e]+"")||i in n||/[\s.]/.test(i))throw new Error("illegal type: "+i);n[i]=[]}return new Ac(n)}function Ac(e){this._=e}function HN(e,t){return e.trim().split(/^|\s+/).map(function(n){var i="",o=n.indexOf(".");if(o>=0&&(i=n.slice(o+1),n=n.slice(0,o)),n&&!t.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:i}})}Ac.prototype=Ef.prototype={constructor:Ac,on:function(e,t){var n=this._,i=HN(e+"",n),o,u=-1,c=i.length;if(arguments.length<2){for(;++u<c;)if((o=(e=i[u]).type)&&(o=BN(n[o],e.name)))return o;return}if(t!=null&&typeof t!="function")throw new Error("invalid callback: "+t);for(;++u<c;)if(o=(e=i[u]).type)n[o]=ES(n[o],e.name,t);else if(t==null)for(o in n)n[o]=ES(n[o],e.name,null);return this},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new Ac(e)},call:function(e,t){if((o=arguments.length-2)>0)for(var n=new Array(o),i=0,o,u;i<o;++i)n[i]=arguments[i+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(u=this._[e],i=0,o=u.length;i<o;++i)u[i].value.apply(t,n)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var i=this._[e],o=0,u=i.length;o<u;++o)i[o].value.apply(t,n)}};function BN(e,t){for(var n=0,i=e.length,o;n<i;++n)if((o=e[n]).name===t)return o.value}function ES(e,t,n){for(var i=0,o=e.length;i<o;++i)if(e[i].name===t){e[i]=jN,e=e.slice(0,i).concat(e.slice(i+1));break}return n!=null&&e.push({name:t,value:n}),e}var Qp="http://www.w3.org/1999/xhtml";const xS={svg:"http://www.w3.org/2000/svg",xhtml:Qp,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function xf(e){var t=e+="",n=t.indexOf(":");return n>=0&&(t=e.slice(0,n))!=="xmlns"&&(e=e.slice(n+1)),xS.hasOwnProperty(t)?{space:xS[t],local:e}:e}function PN(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===Qp&&t.documentElement.namespaceURI===Qp?t.createElement(e):t.createElementNS(n,e)}}function $N(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function TE(e){var t=xf(e);return(t.local?$N:PN)(t)}function YN(){}function P1(e){return e==null?YN:function(){return this.querySelector(e)}}function VN(e){typeof e!="function"&&(e=P1(e));for(var t=this._groups,n=t.length,i=new Array(n),o=0;o<n;++o)for(var u=t[o],c=u.length,f=i[o]=new Array(c),h,g,p=0;p<c;++p)(h=u[p])&&(g=e.call(h,h.__data__,p,u))&&("__data__"in h&&(g.__data__=h.__data__),f[p]=g);return new fn(i,this._parents)}function FN(e){return e==null?[]:Array.isArray(e)?e:Array.from(e)}function GN(){return[]}function EE(e){return e==null?GN:function(){return this.querySelectorAll(e)}}function QN(e){return function(){return FN(e.apply(this,arguments))}}function XN(e){typeof e=="function"?e=QN(e):e=EE(e);for(var t=this._groups,n=t.length,i=[],o=[],u=0;u<n;++u)for(var c=t[u],f=c.length,h,g=0;g<f;++g)(h=c[g])&&(i.push(e.call(h,h.__data__,g,c)),o.push(h));return new fn(i,o)}function xE(e){return function(){return this.matches(e)}}function OE(e){return function(t){return t.matches(e)}}var KN=Array.prototype.find;function ZN(e){return function(){return KN.call(this.children,e)}}function JN(){return this.firstElementChild}function WN(e){return this.select(e==null?JN:ZN(typeof e=="function"?e:OE(e)))}var eR=Array.prototype.filter;function tR(){return Array.from(this.children)}function nR(e){return function(){return eR.call(this.children,e)}}function rR(e){return this.selectAll(e==null?tR:nR(typeof e=="function"?e:OE(e)))}function iR(e){typeof e!="function"&&(e=xE(e));for(var t=this._groups,n=t.length,i=new Array(n),o=0;o<n;++o)for(var u=t[o],c=u.length,f=i[o]=[],h,g=0;g<c;++g)(h=u[g])&&e.call(h,h.__data__,g,u)&&f.push(h);return new fn(i,this._parents)}function CE(e){return new Array(e.length)}function aR(){return new fn(this._enter||this._groups.map(CE),this._parents)}function Xc(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}Xc.prototype={constructor:Xc,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};function oR(e){return function(){return e}}function lR(e,t,n,i,o,u){for(var c=0,f,h=t.length,g=u.length;c<g;++c)(f=t[c])?(f.__data__=u[c],i[c]=f):n[c]=new Xc(e,u[c]);for(;c<h;++c)(f=t[c])&&(o[c]=f)}function uR(e,t,n,i,o,u,c){var f,h,g=new Map,p=t.length,m=u.length,v=new Array(p),S;for(f=0;f<p;++f)(h=t[f])&&(v[f]=S=c.call(h,h.__data__,f,t)+"",g.has(S)?o[f]=h:g.set(S,h));for(f=0;f<m;++f)S=c.call(e,u[f],f,u)+"",(h=g.get(S))?(i[f]=h,h.__data__=u[f],g.delete(S)):n[f]=new Xc(e,u[f]);for(f=0;f<p;++f)(h=t[f])&&g.get(v[f])===h&&(o[f]=h)}function sR(e){return e.__data__}function cR(e,t){if(!arguments.length)return Array.from(this,sR);var n=t?uR:lR,i=this._parents,o=this._groups;typeof e!="function"&&(e=oR(e));for(var u=o.length,c=new Array(u),f=new Array(u),h=new Array(u),g=0;g<u;++g){var p=i[g],m=o[g],v=m.length,S=fR(e.call(p,p&&p.__data__,g,i)),M=S.length,b=f[g]=new Array(M),w=c[g]=new Array(M),E=h[g]=new Array(v);n(p,m,b,w,E,S,t);for(var A=0,k=0,T,C;A<M;++A)if(T=b[A]){for(A>=k&&(k=A+1);!(C=w[k])&&++k<M;);T._next=C||null}}return c=new fn(c,i),c._enter=f,c._exit=h,c}function fR(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function hR(){return new fn(this._exit||this._groups.map(CE),this._parents)}function dR(e,t,n){var i=this.enter(),o=this,u=this.exit();return typeof e=="function"?(i=e(i),i&&(i=i.selection())):i=i.append(e+""),t!=null&&(o=t(o),o&&(o=o.selection())),n==null?u.remove():n(u),i&&o?i.merge(o).order():o}function gR(e){for(var t=e.selection?e.selection():e,n=this._groups,i=t._groups,o=n.length,u=i.length,c=Math.min(o,u),f=new Array(o),h=0;h<c;++h)for(var g=n[h],p=i[h],m=g.length,v=f[h]=new Array(m),S,M=0;M<m;++M)(S=g[M]||p[M])&&(v[M]=S);for(;h<o;++h)f[h]=n[h];return new fn(f,this._parents)}function pR(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var i=e[t],o=i.length-1,u=i[o],c;--o>=0;)(c=i[o])&&(u&&c.compareDocumentPosition(u)^4&&u.parentNode.insertBefore(c,u),u=c);return this}function yR(e){e||(e=mR);function t(m,v){return m&&v?e(m.__data__,v.__data__):!m-!v}for(var n=this._groups,i=n.length,o=new Array(i),u=0;u<i;++u){for(var c=n[u],f=c.length,h=o[u]=new Array(f),g,p=0;p<f;++p)(g=c[p])&&(h[p]=g);h.sort(t)}return new fn(o,this._parents).order()}function mR(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function vR(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function bR(){return Array.from(this)}function SR(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var i=e[t],o=0,u=i.length;o<u;++o){var c=i[o];if(c)return c}return null}function _R(){let e=0;for(const t of this)++e;return e}function wR(){return!this.node()}function MR(e){for(var t=this._groups,n=0,i=t.length;n<i;++n)for(var o=t[n],u=0,c=o.length,f;u<c;++u)(f=o[u])&&e.call(f,f.__data__,u,o);return this}function TR(e){return function(){this.removeAttribute(e)}}function ER(e){return function(){this.removeAttributeNS(e.space,e.local)}}function xR(e,t){return function(){this.setAttribute(e,t)}}function OR(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function CR(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttribute(e):this.setAttribute(e,n)}}function kR(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function AR(e,t){var n=xf(e);if(arguments.length<2){var i=this.node();return n.local?i.getAttributeNS(n.space,n.local):i.getAttribute(n)}return this.each((t==null?n.local?ER:TR:typeof t=="function"?n.local?kR:CR:n.local?OR:xR)(n,t))}function kE(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function DR(e){return function(){this.style.removeProperty(e)}}function NR(e,t,n){return function(){this.style.setProperty(e,t,n)}}function RR(e,t,n){return function(){var i=t.apply(this,arguments);i==null?this.style.removeProperty(e):this.style.setProperty(e,i,n)}}function zR(e,t,n){return arguments.length>1?this.each((t==null?DR:typeof t=="function"?RR:NR)(e,t,n??"")):Yo(this.node(),e)}function Yo(e,t){return e.style.getPropertyValue(t)||kE(e).getComputedStyle(e,null).getPropertyValue(t)}function LR(e){return function(){delete this[e]}}function IR(e,t){return function(){this[e]=t}}function qR(e,t){return function(){var n=t.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function UR(e,t){return arguments.length>1?this.each((t==null?LR:typeof t=="function"?qR:IR)(e,t)):this.node()[e]}function AE(e){return e.trim().split(/^|\s+/)}function $1(e){return e.classList||new DE(e)}function DE(e){this._node=e,this._names=AE(e.getAttribute("class")||"")}DE.prototype={add:function(e){var t=this._names.indexOf(e);t<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function NE(e,t){for(var n=$1(e),i=-1,o=t.length;++i<o;)n.add(t[i])}function RE(e,t){for(var n=$1(e),i=-1,o=t.length;++i<o;)n.remove(t[i])}function jR(e){return function(){NE(this,e)}}function HR(e){return function(){RE(this,e)}}function BR(e,t){return function(){(t.apply(this,arguments)?NE:RE)(this,e)}}function PR(e,t){var n=AE(e+"");if(arguments.length<2){for(var i=$1(this.node()),o=-1,u=n.length;++o<u;)if(!i.contains(n[o]))return!1;return!0}return this.each((typeof t=="function"?BR:t?jR:HR)(n,t))}function $R(){this.textContent=""}function YR(e){return function(){this.textContent=e}}function VR(e){return function(){var t=e.apply(this,arguments);this.textContent=t??""}}function FR(e){return arguments.length?this.each(e==null?$R:(typeof e=="function"?VR:YR)(e)):this.node().textContent}function GR(){this.innerHTML=""}function QR(e){return function(){this.innerHTML=e}}function XR(e){return function(){var t=e.apply(this,arguments);this.innerHTML=t??""}}function KR(e){return arguments.length?this.each(e==null?GR:(typeof e=="function"?XR:QR)(e)):this.node().innerHTML}function ZR(){this.nextSibling&&this.parentNode.appendChild(this)}function JR(){return this.each(ZR)}function WR(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function e7(){return this.each(WR)}function t7(e){var t=typeof e=="function"?e:TE(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})}function n7(){return null}function r7(e,t){var n=typeof e=="function"?e:TE(e),i=t==null?n7:typeof t=="function"?t:P1(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)})}function i7(){var e=this.parentNode;e&&e.removeChild(this)}function a7(){return this.each(i7)}function o7(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function l7(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function u7(e){return this.select(e?l7:o7)}function s7(e){return arguments.length?this.property("__data__",e):this.node().__data__}function c7(e){return function(t){e.call(this,t,this.__data__)}}function f7(e){return e.trim().split(/^|\s+/).map(function(t){var n="",i=t.indexOf(".");return i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),{type:t,name:n}})}function h7(e){return function(){var t=this.__on;if(t){for(var n=0,i=-1,o=t.length,u;n<o;++n)u=t[n],(!e.type||u.type===e.type)&&u.name===e.name?this.removeEventListener(u.type,u.listener,u.options):t[++i]=u;++i?t.length=i:delete this.__on}}}function d7(e,t,n){return function(){var i=this.__on,o,u=c7(t);if(i){for(var c=0,f=i.length;c<f;++c)if((o=i[c]).type===e.type&&o.name===e.name){this.removeEventListener(o.type,o.listener,o.options),this.addEventListener(o.type,o.listener=u,o.options=n),o.value=t;return}}this.addEventListener(e.type,u,n),o={type:e.type,name:e.name,value:t,listener:u,options:n},i?i.push(o):this.__on=[o]}}function g7(e,t,n){var i=f7(e+""),o,u=i.length,c;if(arguments.length<2){var f=this.node().__on;if(f){for(var h=0,g=f.length,p;h<g;++h)for(o=0,p=f[h];o<u;++o)if((c=i[o]).type===p.type&&c.name===p.name)return p.value}return}for(f=t?d7:h7,o=0;o<u;++o)this.each(f(i[o],t,n));return this}function zE(e,t,n){var i=kE(e),o=i.CustomEvent;typeof o=="function"?o=new o(t,n):(o=i.document.createEvent("Event"),n?(o.initEvent(t,n.bubbles,n.cancelable),o.detail=n.detail):o.initEvent(t,!1,!1)),e.dispatchEvent(o)}function p7(e,t){return function(){return zE(this,e,t)}}function y7(e,t){return function(){return zE(this,e,t.apply(this,arguments))}}function m7(e,t){return this.each((typeof t=="function"?y7:p7)(e,t))}function*v7(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var i=e[t],o=0,u=i.length,c;o<u;++o)(c=i[o])&&(yield c)}var LE=[null];function fn(e,t){this._groups=e,this._parents=t}function qu(){return new fn([[document.documentElement]],LE)}function b7(){return this}fn.prototype=qu.prototype={constructor:fn,select:VN,selectAll:XN,selectChild:WN,selectChildren:rR,filter:iR,data:cR,enter:aR,exit:hR,join:dR,merge:gR,selection:b7,order:pR,sort:yR,call:vR,nodes:bR,node:SR,size:_R,empty:wR,each:MR,attr:AR,style:zR,property:UR,classed:PR,text:FR,html:KR,raise:JR,lower:e7,append:t7,insert:r7,remove:a7,clone:u7,datum:s7,on:g7,dispatch:m7,[Symbol.iterator]:v7};function Ur(e){return typeof e=="string"?new fn([[document.querySelector(e)]],[document.documentElement]):new fn([[e]],LE)}function S7(e){let t;for(;t=e.sourceEvent;)e=t;return e}function Rr(e,t){if(e=S7(e),t===void 0&&(t=e.currentTarget),t){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var i=n.createSVGPoint();return i.x=e.clientX,i.y=e.clientY,i=i.matrixTransform(t.getScreenCTM().inverse()),[i.x,i.y]}if(t.getBoundingClientRect){var o=t.getBoundingClientRect();return[e.clientX-o.left-t.clientLeft,e.clientY-o.top-t.clientTop]}}return[e.pageX,e.pageY]}const _7={passive:!1},bu={capture:!0,passive:!1};function wg(e){e.stopImmediatePropagation()}function Ao(e){e.preventDefault(),e.stopImmediatePropagation()}function IE(e){var t=e.document.documentElement,n=Ur(e).on("dragstart.drag",Ao,bu);"onselectstart"in t?n.on("selectstart.drag",Ao,bu):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")}function qE(e,t){var n=e.document.documentElement,i=Ur(e).on("dragstart.drag",null);t&&(i.on("click.drag",Ao,bu),setTimeout(function(){i.on("click.drag",null)},0)),"onselectstart"in n?i.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}const gc=e=>()=>e;function Xp(e,{sourceEvent:t,subject:n,target:i,identifier:o,active:u,x:c,y:f,dx:h,dy:g,dispatch:p}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},subject:{value:n,enumerable:!0,configurable:!0},target:{value:i,enumerable:!0,configurable:!0},identifier:{value:o,enumerable:!0,configurable:!0},active:{value:u,enumerable:!0,configurable:!0},x:{value:c,enumerable:!0,configurable:!0},y:{value:f,enumerable:!0,configurable:!0},dx:{value:h,enumerable:!0,configurable:!0},dy:{value:g,enumerable:!0,configurable:!0},_:{value:p}})}Xp.prototype.on=function(){var e=this._.on.apply(this._,arguments);return e===this._?this:e};function w7(e){return!e.ctrlKey&&!e.button}function M7(){return this.parentNode}function T7(e,t){return t??{x:e.x,y:e.y}}function E7(){return navigator.maxTouchPoints||"ontouchstart"in this}function kG(){var e=w7,t=M7,n=T7,i=E7,o={},u=Ef("start","drag","end"),c=0,f,h,g,p,m=0;function v(T){T.on("mousedown.drag",S).filter(i).on("touchstart.drag",w).on("touchmove.drag",E,_7).on("touchend.drag touchcancel.drag",A).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function S(T,C){if(!(p||!e.call(this,T,C))){var O=k(this,t.call(this,T,C),T,C,"mouse");O&&(Ur(T.view).on("mousemove.drag",M,bu).on("mouseup.drag",b,bu),IE(T.view),wg(T),g=!1,f=T.clientX,h=T.clientY,O("start",T))}}function M(T){if(Ao(T),!g){var C=T.clientX-f,O=T.clientY-h;g=C*C+O*O>m}o.mouse("drag",T)}function b(T){Ur(T.view).on("mousemove.drag mouseup.drag",null),qE(T.view,g),Ao(T),o.mouse("end",T)}function w(T,C){if(e.call(this,T,C)){var O=T.changedTouches,D=t.call(this,T,C),N=O.length,P,Z;for(P=0;P<N;++P)(Z=k(this,D,T,C,O[P].identifier,O[P]))&&(wg(T),Z("start",T,O[P]))}}function E(T){var C=T.changedTouches,O=C.length,D,N;for(D=0;D<O;++D)(N=o[C[D].identifier])&&(Ao(T),N("drag",T,C[D]))}function A(T){var C=T.changedTouches,O=C.length,D,N;for(p&&clearTimeout(p),p=setTimeout(function(){p=null},500),D=0;D<O;++D)(N=o[C[D].identifier])&&(wg(T),N("end",T,C[D]))}function k(T,C,O,D,N,P){var Z=u.copy(),W=Rr(P||O,C),G,ue,q;if((q=n.call(T,new Xp("beforestart",{sourceEvent:O,target:v,identifier:N,active:c,x:W[0],y:W[1],dx:0,dy:0,dispatch:Z}),D))!=null)return G=q.x-W[0]||0,ue=q.y-W[1]||0,function re(R,F,ie){var se=W,K;switch(R){case"start":o[N]=re,K=c++;break;case"end":delete o[N],--c;case"drag":W=Rr(ie||F,C),K=c;break}Z.call(R,T,new Xp(R,{sourceEvent:F,subject:q,target:v,identifier:N,active:K,x:W[0]+G,y:W[1]+ue,dx:W[0]-se[0],dy:W[1]-se[1],dispatch:Z}),D)}}return v.filter=function(T){return arguments.length?(e=typeof T=="function"?T:gc(!!T),v):e},v.container=function(T){return arguments.length?(t=typeof T=="function"?T:gc(T),v):t},v.subject=function(T){return arguments.length?(n=typeof T=="function"?T:gc(T),v):n},v.touchable=function(T){return arguments.length?(i=typeof T=="function"?T:gc(!!T),v):i},v.on=function(){var T=u.on.apply(u,arguments);return T===u?v:T},v.clickDistance=function(T){return arguments.length?(m=(T=+T)*T,v):Math.sqrt(m)},v}function Y1(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function UE(e,t){var n=Object.create(e.prototype);for(var i in t)n[i]=t[i];return n}function Uu(){}var Su=.7,Kc=1/Su,Do="\\s*([+-]?\\d+)\\s*",_u="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",lr="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",x7=/^#([0-9a-f]{3,8})$/,O7=new RegExp(`^rgb\\(${Do},${Do},${Do}\\)$`),C7=new RegExp(`^rgb\\(${lr},${lr},${lr}\\)$`),k7=new RegExp(`^rgba\\(${Do},${Do},${Do},${_u}\\)$`),A7=new RegExp(`^rgba\\(${lr},${lr},${lr},${_u}\\)$`),D7=new RegExp(`^hsl\\(${_u},${lr},${lr}\\)$`),N7=new RegExp(`^hsla\\(${_u},${lr},${lr},${_u}\\)$`),OS={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Y1(Uu,Ta,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:CS,formatHex:CS,formatHex8:R7,formatHsl:z7,formatRgb:kS,toString:kS});function CS(){return this.rgb().formatHex()}function R7(){return this.rgb().formatHex8()}function z7(){return jE(this).formatHsl()}function kS(){return this.rgb().formatRgb()}function Ta(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=x7.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?AS(t):n===3?new Kt(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?pc(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?pc(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=O7.exec(e))?new Kt(t[1],t[2],t[3],1):(t=C7.exec(e))?new Kt(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=k7.exec(e))?pc(t[1],t[2],t[3],t[4]):(t=A7.exec(e))?pc(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=D7.exec(e))?RS(t[1],t[2]/100,t[3]/100,1):(t=N7.exec(e))?RS(t[1],t[2]/100,t[3]/100,t[4]):OS.hasOwnProperty(e)?AS(OS[e]):e==="transparent"?new Kt(NaN,NaN,NaN,0):null}function AS(e){return new Kt(e>>16&255,e>>8&255,e&255,1)}function pc(e,t,n,i){return i<=0&&(e=t=n=NaN),new Kt(e,t,n,i)}function L7(e){return e instanceof Uu||(e=Ta(e)),e?(e=e.rgb(),new Kt(e.r,e.g,e.b,e.opacity)):new Kt}function Kp(e,t,n,i){return arguments.length===1?L7(e):new Kt(e,t,n,i??1)}function Kt(e,t,n,i){this.r=+e,this.g=+t,this.b=+n,this.opacity=+i}Y1(Kt,Kp,UE(Uu,{brighter(e){return e=e==null?Kc:Math.pow(Kc,e),new Kt(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Su:Math.pow(Su,e),new Kt(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Kt(_a(this.r),_a(this.g),_a(this.b),Zc(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:DS,formatHex:DS,formatHex8:I7,formatRgb:NS,toString:NS}));function DS(){return`#${ca(this.r)}${ca(this.g)}${ca(this.b)}`}function I7(){return`#${ca(this.r)}${ca(this.g)}${ca(this.b)}${ca((isNaN(this.opacity)?1:this.opacity)*255)}`}function NS(){const e=Zc(this.opacity);return`${e===1?"rgb(":"rgba("}${_a(this.r)}, ${_a(this.g)}, ${_a(this.b)}${e===1?")":`, ${e})`}`}function Zc(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function _a(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function ca(e){return e=_a(e),(e<16?"0":"")+e.toString(16)}function RS(e,t,n,i){return i<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Vn(e,t,n,i)}function jE(e){if(e instanceof Vn)return new Vn(e.h,e.s,e.l,e.opacity);if(e instanceof Uu||(e=Ta(e)),!e)return new Vn;if(e instanceof Vn)return e;e=e.rgb();var t=e.r/255,n=e.g/255,i=e.b/255,o=Math.min(t,n,i),u=Math.max(t,n,i),c=NaN,f=u-o,h=(u+o)/2;return f?(t===u?c=(n-i)/f+(n<i)*6:n===u?c=(i-t)/f+2:c=(t-n)/f+4,f/=h<.5?u+o:2-u-o,c*=60):f=h>0&&h<1?0:c,new Vn(c,f,h,e.opacity)}function q7(e,t,n,i){return arguments.length===1?jE(e):new Vn(e,t,n,i??1)}function Vn(e,t,n,i){this.h=+e,this.s=+t,this.l=+n,this.opacity=+i}Y1(Vn,q7,UE(Uu,{brighter(e){return e=e==null?Kc:Math.pow(Kc,e),new Vn(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Su:Math.pow(Su,e),new Vn(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,i=n+(n<.5?n:1-n)*t,o=2*n-i;return new Kt(Mg(e>=240?e-240:e+120,o,i),Mg(e,o,i),Mg(e<120?e+240:e-120,o,i),this.opacity)},clamp(){return new Vn(zS(this.h),yc(this.s),yc(this.l),Zc(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Zc(this.opacity);return`${e===1?"hsl(":"hsla("}${zS(this.h)}, ${yc(this.s)*100}%, ${yc(this.l)*100}%${e===1?")":`, ${e})`}`}}));function zS(e){return e=(e||0)%360,e<0?e+360:e}function yc(e){return Math.max(0,Math.min(1,e||0))}function Mg(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const V1=e=>()=>e;function U7(e,t){return function(n){return e+n*t}}function j7(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(i){return Math.pow(e+i*t,n)}}function H7(e){return(e=+e)==1?HE:function(t,n){return n-t?j7(t,n,e):V1(isNaN(t)?n:t)}}function HE(e,t){var n=t-e;return n?U7(e,n):V1(isNaN(e)?t:e)}const Jc=(function e(t){var n=H7(t);function i(o,u){var c=n((o=Kp(o)).r,(u=Kp(u)).r),f=n(o.g,u.g),h=n(o.b,u.b),g=HE(o.opacity,u.opacity);return function(p){return o.r=c(p),o.g=f(p),o.b=h(p),o.opacity=g(p),o+""}}return i.gamma=e,i})(1);function B7(e,t){t||(t=[]);var n=e?Math.min(t.length,e.length):0,i=t.slice(),o;return function(u){for(o=0;o<n;++o)i[o]=e[o]*(1-u)+t[o]*u;return i}}function P7(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function $7(e,t){var n=t?t.length:0,i=e?Math.min(n,e.length):0,o=new Array(i),u=new Array(n),c;for(c=0;c<i;++c)o[c]=rl(e[c],t[c]);for(;c<n;++c)u[c]=t[c];return function(f){for(c=0;c<i;++c)u[c]=o[c](f);return u}}function Y7(e,t){var n=new Date;return e=+e,t=+t,function(i){return n.setTime(e*(1-i)+t*i),n}}function Yn(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function V7(e,t){var n={},i={},o;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(o in t)o in e?n[o]=rl(e[o],t[o]):i[o]=t[o];return function(u){for(o in n)i[o]=n[o](u);return i}}var Zp=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Tg=new RegExp(Zp.source,"g");function F7(e){return function(){return e}}function G7(e){return function(t){return e(t)+""}}function BE(e,t){var n=Zp.lastIndex=Tg.lastIndex=0,i,o,u,c=-1,f=[],h=[];for(e=e+"",t=t+"";(i=Zp.exec(e))&&(o=Tg.exec(t));)(u=o.index)>n&&(u=t.slice(n,u),f[c]?f[c]+=u:f[++c]=u),(i=i[0])===(o=o[0])?f[c]?f[c]+=o:f[++c]=o:(f[++c]=null,h.push({i:c,x:Yn(i,o)})),n=Tg.lastIndex;return n<t.length&&(u=t.slice(n),f[c]?f[c]+=u:f[++c]=u),f.length<2?h[0]?G7(h[0].x):F7(t):(t=h.length,function(g){for(var p=0,m;p<t;++p)f[(m=h[p]).i]=m.x(g);return f.join("")})}function rl(e,t){var n=typeof t,i;return t==null||n==="boolean"?V1(t):(n==="number"?Yn:n==="string"?(i=Ta(t))?(t=i,Jc):BE:t instanceof Ta?Jc:t instanceof Date?Y7:P7(t)?B7:Array.isArray(t)?$7:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?V7:Yn)(e,t)}function F1(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}var LS=180/Math.PI,Jp={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function PE(e,t,n,i,o,u){var c,f,h;return(c=Math.sqrt(e*e+t*t))&&(e/=c,t/=c),(h=e*n+t*i)&&(n-=e*h,i-=t*h),(f=Math.sqrt(n*n+i*i))&&(n/=f,i/=f,h/=f),e*i<t*n&&(e=-e,t=-t,h=-h,c=-c),{translateX:o,translateY:u,rotate:Math.atan2(t,e)*LS,skewX:Math.atan(h)*LS,scaleX:c,scaleY:f}}var mc;function Q7(e){const t=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?Jp:PE(t.a,t.b,t.c,t.d,t.e,t.f)}function X7(e){return e==null||(mc||(mc=document.createElementNS("http://www.w3.org/2000/svg","g")),mc.setAttribute("transform",e),!(e=mc.transform.baseVal.consolidate()))?Jp:(e=e.matrix,PE(e.a,e.b,e.c,e.d,e.e,e.f))}function $E(e,t,n,i){function o(g){return g.length?g.pop()+" ":""}function u(g,p,m,v,S,M){if(g!==m||p!==v){var b=S.push("translate(",null,t,null,n);M.push({i:b-4,x:Yn(g,m)},{i:b-2,x:Yn(p,v)})}else(m||v)&&S.push("translate("+m+t+v+n)}function c(g,p,m,v){g!==p?(g-p>180?p+=360:p-g>180&&(g+=360),v.push({i:m.push(o(m)+"rotate(",null,i)-2,x:Yn(g,p)})):p&&m.push(o(m)+"rotate("+p+i)}function f(g,p,m,v){g!==p?v.push({i:m.push(o(m)+"skewX(",null,i)-2,x:Yn(g,p)}):p&&m.push(o(m)+"skewX("+p+i)}function h(g,p,m,v,S,M){if(g!==m||p!==v){var b=S.push(o(S)+"scale(",null,",",null,")");M.push({i:b-4,x:Yn(g,m)},{i:b-2,x:Yn(p,v)})}else(m!==1||v!==1)&&S.push(o(S)+"scale("+m+","+v+")")}return function(g,p){var m=[],v=[];return g=e(g),p=e(p),u(g.translateX,g.translateY,p.translateX,p.translateY,m,v),c(g.rotate,p.rotate,m,v),f(g.skewX,p.skewX,m,v),h(g.scaleX,g.scaleY,p.scaleX,p.scaleY,m,v),g=p=null,function(S){for(var M=-1,b=v.length,w;++M<b;)m[(w=v[M]).i]=w.x(S);return m.join("")}}}var K7=$E(Q7,"px, ","px)","deg)"),Z7=$E(X7,", ",")",")"),J7=1e-12;function IS(e){return((e=Math.exp(e))+1/e)/2}function W7(e){return((e=Math.exp(e))-1/e)/2}function e9(e){return((e=Math.exp(2*e))-1)/(e+1)}const t9=(function e(t,n,i){function o(u,c){var f=u[0],h=u[1],g=u[2],p=c[0],m=c[1],v=c[2],S=p-f,M=m-h,b=S*S+M*M,w,E;if(b<J7)E=Math.log(v/g)/t,w=function(D){return[f+D*S,h+D*M,g*Math.exp(t*D*E)]};else{var A=Math.sqrt(b),k=(v*v-g*g+i*b)/(2*g*n*A),T=(v*v-g*g-i*b)/(2*v*n*A),C=Math.log(Math.sqrt(k*k+1)-k),O=Math.log(Math.sqrt(T*T+1)-T);E=(O-C)/t,w=function(D){var N=D*E,P=IS(C),Z=g/(n*A)*(P*e9(t*N+C)-W7(C));return[f+Z*S,h+Z*M,g*P/IS(t*N+C)]}}return w.duration=E*1e3*t/Math.SQRT2,w}return o.rho=function(u){var c=Math.max(.001,+u),f=c*c,h=f*f;return e(c,f,h)},o})(Math.SQRT2,2,4);function n9(e,t){t===void 0&&(t=e,e=rl);for(var n=0,i=t.length-1,o=t[0],u=new Array(i<0?0:i);n<i;)u[n]=e(o,o=t[++n]);return function(c){var f=Math.max(0,Math.min(i-1,Math.floor(c*=i)));return u[f](c-f)}}var Vo=0,du=0,ru=0,YE=1e3,Wc,gu,ef=0,Ea=0,Of=0,wu=typeof performance=="object"&&performance.now?performance:Date,VE=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function G1(){return Ea||(VE(r9),Ea=wu.now()+Of)}function r9(){Ea=0}function tf(){this._call=this._time=this._next=null}tf.prototype=FE.prototype={constructor:tf,restart:function(e,t,n){if(typeof e!="function")throw new TypeError("callback is not a function");n=(n==null?G1():+n)+(t==null?0:+t),!this._next&&gu!==this&&(gu?gu._next=this:Wc=this,gu=this),this._call=e,this._time=n,Wp()},stop:function(){this._call&&(this._call=null,this._time=1/0,Wp())}};function FE(e,t,n){var i=new tf;return i.restart(e,t,n),i}function i9(){G1(),++Vo;for(var e=Wc,t;e;)(t=Ea-e._time)>=0&&e._call.call(void 0,t),e=e._next;--Vo}function qS(){Ea=(ef=wu.now())+Of,Vo=du=0;try{i9()}finally{Vo=0,o9(),Ea=0}}function a9(){var e=wu.now(),t=e-ef;t>YE&&(Of-=t,ef=e)}function o9(){for(var e,t=Wc,n,i=1/0;t;)t._call?(i>t._time&&(i=t._time),e=t,t=t._next):(n=t._next,t._next=null,t=e?e._next=n:Wc=n);gu=e,Wp(i)}function Wp(e){if(!Vo){du&&(du=clearTimeout(du));var t=e-Ea;t>24?(e<1/0&&(du=setTimeout(qS,e-wu.now()-Of)),ru&&(ru=clearInterval(ru))):(ru||(ef=wu.now(),ru=setInterval(a9,YE)),Vo=1,VE(qS))}}function US(e,t,n){var i=new tf;return t=t==null?0:+t,i.restart(o=>{i.stop(),e(o+t)},t,n),i}var l9=Ef("start","end","cancel","interrupt"),u9=[],GE=0,jS=1,e1=2,Dc=3,HS=4,t1=5,Nc=6;function Cf(e,t,n,i,o,u){var c=e.__transition;if(!c)e.__transition={};else if(n in c)return;s9(e,n,{name:t,index:i,group:o,on:l9,tween:u9,time:u.time,delay:u.delay,duration:u.duration,ease:u.ease,timer:null,state:GE})}function Q1(e,t){var n=Xn(e,t);if(n.state>GE)throw new Error("too late; already scheduled");return n}function sr(e,t){var n=Xn(e,t);if(n.state>Dc)throw new Error("too late; already running");return n}function Xn(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function s9(e,t,n){var i=e.__transition,o;i[t]=n,n.timer=FE(u,0,n.time);function u(g){n.state=jS,n.timer.restart(c,n.delay,n.time),n.delay<=g&&c(g-n.delay)}function c(g){var p,m,v,S;if(n.state!==jS)return h();for(p in i)if(S=i[p],S.name===n.name){if(S.state===Dc)return US(c);S.state===HS?(S.state=Nc,S.timer.stop(),S.on.call("interrupt",e,e.__data__,S.index,S.group),delete i[p]):+p<t&&(S.state=Nc,S.timer.stop(),S.on.call("cancel",e,e.__data__,S.index,S.group),delete i[p])}if(US(function(){n.state===Dc&&(n.state=HS,n.timer.restart(f,n.delay,n.time),f(g))}),n.state=e1,n.on.call("start",e,e.__data__,n.index,n.group),n.state===e1){for(n.state=Dc,o=new Array(v=n.tween.length),p=0,m=-1;p<v;++p)(S=n.tween[p].value.call(e,e.__data__,n.index,n.group))&&(o[++m]=S);o.length=m+1}}function f(g){for(var p=g<n.duration?n.ease.call(null,g/n.duration):(n.timer.restart(h),n.state=t1,1),m=-1,v=o.length;++m<v;)o[m].call(e,p);n.state===t1&&(n.on.call("end",e,e.__data__,n.index,n.group),h())}function h(){n.state=Nc,n.timer.stop(),delete i[t];for(var g in i)return;delete e.__transition}}function Rc(e,t){var n=e.__transition,i,o,u=!0,c;if(n){t=t==null?null:t+"";for(c in n){if((i=n[c]).name!==t){u=!1;continue}o=i.state>e1&&i.state<t1,i.state=Nc,i.timer.stop(),i.on.call(o?"interrupt":"cancel",e,e.__data__,i.index,i.group),delete n[c]}u&&delete e.__transition}}function c9(e){return this.each(function(){Rc(this,e)})}function f9(e,t){var n,i;return function(){var o=sr(this,e),u=o.tween;if(u!==n){i=n=u;for(var c=0,f=i.length;c<f;++c)if(i[c].name===t){i=i.slice(),i.splice(c,1);break}}o.tween=i}}function h9(e,t,n){var i,o;if(typeof n!="function")throw new Error;return function(){var u=sr(this,e),c=u.tween;if(c!==i){o=(i=c).slice();for(var f={name:t,value:n},h=0,g=o.length;h<g;++h)if(o[h].name===t){o[h]=f;break}h===g&&o.push(f)}u.tween=o}}function d9(e,t){var n=this._id;if(e+="",arguments.length<2){for(var i=Xn(this.node(),n).tween,o=0,u=i.length,c;o<u;++o)if((c=i[o]).name===e)return c.value;return null}return this.each((t==null?f9:h9)(n,e,t))}function X1(e,t,n){var i=e._id;return e.each(function(){var o=sr(this,i);(o.value||(o.value={}))[t]=n.apply(this,arguments)}),function(o){return Xn(o,i).value[t]}}function QE(e,t){var n;return(typeof t=="number"?Yn:t instanceof Ta?Jc:(n=Ta(t))?(t=n,Jc):BE)(e,t)}function g9(e){return function(){this.removeAttribute(e)}}function p9(e){return function(){this.removeAttributeNS(e.space,e.local)}}function y9(e,t,n){var i,o=n+"",u;return function(){var c=this.getAttribute(e);return c===o?null:c===i?u:u=t(i=c,n)}}function m9(e,t,n){var i,o=n+"",u;return function(){var c=this.getAttributeNS(e.space,e.local);return c===o?null:c===i?u:u=t(i=c,n)}}function v9(e,t,n){var i,o,u;return function(){var c,f=n(this),h;return f==null?void this.removeAttribute(e):(c=this.getAttribute(e),h=f+"",c===h?null:c===i&&h===o?u:(o=h,u=t(i=c,f)))}}function b9(e,t,n){var i,o,u;return function(){var c,f=n(this),h;return f==null?void this.removeAttributeNS(e.space,e.local):(c=this.getAttributeNS(e.space,e.local),h=f+"",c===h?null:c===i&&h===o?u:(o=h,u=t(i=c,f)))}}function S9(e,t){var n=xf(e),i=n==="transform"?Z7:QE;return this.attrTween(e,typeof t=="function"?(n.local?b9:v9)(n,i,X1(this,"attr."+e,t)):t==null?(n.local?p9:g9)(n):(n.local?m9:y9)(n,i,t))}function _9(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}function w9(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}function M9(e,t){var n,i;function o(){var u=t.apply(this,arguments);return u!==i&&(n=(i=u)&&w9(e,u)),n}return o._value=t,o}function T9(e,t){var n,i;function o(){var u=t.apply(this,arguments);return u!==i&&(n=(i=u)&&_9(e,u)),n}return o._value=t,o}function E9(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(t==null)return this.tween(n,null);if(typeof t!="function")throw new Error;var i=xf(e);return this.tween(n,(i.local?M9:T9)(i,t))}function x9(e,t){return function(){Q1(this,e).delay=+t.apply(this,arguments)}}function O9(e,t){return t=+t,function(){Q1(this,e).delay=t}}function C9(e){var t=this._id;return arguments.length?this.each((typeof e=="function"?x9:O9)(t,e)):Xn(this.node(),t).delay}function k9(e,t){return function(){sr(this,e).duration=+t.apply(this,arguments)}}function A9(e,t){return t=+t,function(){sr(this,e).duration=t}}function D9(e){var t=this._id;return arguments.length?this.each((typeof e=="function"?k9:A9)(t,e)):Xn(this.node(),t).duration}function N9(e,t){if(typeof t!="function")throw new Error;return function(){sr(this,e).ease=t}}function R9(e){var t=this._id;return arguments.length?this.each(N9(t,e)):Xn(this.node(),t).ease}function z9(e,t){return function(){var n=t.apply(this,arguments);if(typeof n!="function")throw new Error;sr(this,e).ease=n}}function L9(e){if(typeof e!="function")throw new Error;return this.each(z9(this._id,e))}function I9(e){typeof e!="function"&&(e=xE(e));for(var t=this._groups,n=t.length,i=new Array(n),o=0;o<n;++o)for(var u=t[o],c=u.length,f=i[o]=[],h,g=0;g<c;++g)(h=u[g])&&e.call(h,h.__data__,g,u)&&f.push(h);return new Vr(i,this._parents,this._name,this._id)}function q9(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,n=e._groups,i=t.length,o=n.length,u=Math.min(i,o),c=new Array(i),f=0;f<u;++f)for(var h=t[f],g=n[f],p=h.length,m=c[f]=new Array(p),v,S=0;S<p;++S)(v=h[S]||g[S])&&(m[S]=v);for(;f<i;++f)c[f]=t[f];return new Vr(c,this._parents,this._name,this._id)}function U9(e){return(e+"").trim().split(/^|\s+/).every(function(t){var n=t.indexOf(".");return n>=0&&(t=t.slice(0,n)),!t||t==="start"})}function j9(e,t,n){var i,o,u=U9(t)?Q1:sr;return function(){var c=u(this,e),f=c.on;f!==i&&(o=(i=f).copy()).on(t,n),c.on=o}}function H9(e,t){var n=this._id;return arguments.length<2?Xn(this.node(),n).on.on(e):this.each(j9(n,e,t))}function B9(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function P9(){return this.on("end.remove",B9(this._id))}function $9(e){var t=this._name,n=this._id;typeof e!="function"&&(e=P1(e));for(var i=this._groups,o=i.length,u=new Array(o),c=0;c<o;++c)for(var f=i[c],h=f.length,g=u[c]=new Array(h),p,m,v=0;v<h;++v)(p=f[v])&&(m=e.call(p,p.__data__,v,f))&&("__data__"in p&&(m.__data__=p.__data__),g[v]=m,Cf(g[v],t,n,v,g,Xn(p,n)));return new Vr(u,this._parents,t,n)}function Y9(e){var t=this._name,n=this._id;typeof e!="function"&&(e=EE(e));for(var i=this._groups,o=i.length,u=[],c=[],f=0;f<o;++f)for(var h=i[f],g=h.length,p,m=0;m<g;++m)if(p=h[m]){for(var v=e.call(p,p.__data__,m,h),S,M=Xn(p,n),b=0,w=v.length;b<w;++b)(S=v[b])&&Cf(S,t,n,b,v,M);u.push(v),c.push(p)}return new Vr(u,c,t,n)}var V9=qu.prototype.constructor;function F9(){return new V9(this._groups,this._parents)}function G9(e,t){var n,i,o;return function(){var u=Yo(this,e),c=(this.style.removeProperty(e),Yo(this,e));return u===c?null:u===n&&c===i?o:o=t(n=u,i=c)}}function XE(e){return function(){this.style.removeProperty(e)}}function Q9(e,t,n){var i,o=n+"",u;return function(){var c=Yo(this,e);return c===o?null:c===i?u:u=t(i=c,n)}}function X9(e,t,n){var i,o,u;return function(){var c=Yo(this,e),f=n(this),h=f+"";return f==null&&(h=f=(this.style.removeProperty(e),Yo(this,e))),c===h?null:c===i&&h===o?u:(o=h,u=t(i=c,f))}}function K9(e,t){var n,i,o,u="style."+t,c="end."+u,f;return function(){var h=sr(this,e),g=h.on,p=h.value[u]==null?f||(f=XE(t)):void 0;(g!==n||o!==p)&&(i=(n=g).copy()).on(c,o=p),h.on=i}}function Z9(e,t,n){var i=(e+="")=="transform"?K7:QE;return t==null?this.styleTween(e,G9(e,i)).on("end.style."+e,XE(e)):typeof t=="function"?this.styleTween(e,X9(e,i,X1(this,"style."+e,t))).each(K9(this._id,e)):this.styleTween(e,Q9(e,i,t),n).on("end.style."+e,null)}function J9(e,t,n){return function(i){this.style.setProperty(e,t.call(this,i),n)}}function W9(e,t,n){var i,o;function u(){var c=t.apply(this,arguments);return c!==o&&(i=(o=c)&&J9(e,c,n)),i}return u._value=t,u}function ez(e,t,n){var i="style."+(e+="");if(arguments.length<2)return(i=this.tween(i))&&i._value;if(t==null)return this.tween(i,null);if(typeof t!="function")throw new Error;return this.tween(i,W9(e,t,n??""))}function tz(e){return function(){this.textContent=e}}function nz(e){return function(){var t=e(this);this.textContent=t??""}}function rz(e){return this.tween("text",typeof e=="function"?nz(X1(this,"text",e)):tz(e==null?"":e+""))}function iz(e){return function(t){this.textContent=e.call(this,t)}}function az(e){var t,n;function i(){var o=e.apply(this,arguments);return o!==n&&(t=(n=o)&&iz(o)),t}return i._value=e,i}function oz(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(e==null)return this.tween(t,null);if(typeof e!="function")throw new Error;return this.tween(t,az(e))}function lz(){for(var e=this._name,t=this._id,n=KE(),i=this._groups,o=i.length,u=0;u<o;++u)for(var c=i[u],f=c.length,h,g=0;g<f;++g)if(h=c[g]){var p=Xn(h,t);Cf(h,e,n,g,c,{time:p.time+p.delay+p.duration,delay:0,duration:p.duration,ease:p.ease})}return new Vr(i,this._parents,e,n)}function uz(){var e,t,n=this,i=n._id,o=n.size();return new Promise(function(u,c){var f={value:c},h={value:function(){--o===0&&u()}};n.each(function(){var g=sr(this,i),p=g.on;p!==e&&(t=(e=p).copy(),t._.cancel.push(f),t._.interrupt.push(f),t._.end.push(h)),g.on=t}),o===0&&u()})}var sz=0;function Vr(e,t,n,i){this._groups=e,this._parents=t,this._name=n,this._id=i}function KE(){return++sz}var Ar=qu.prototype;Vr.prototype={constructor:Vr,select:$9,selectAll:Y9,selectChild:Ar.selectChild,selectChildren:Ar.selectChildren,filter:I9,merge:q9,selection:F9,transition:lz,call:Ar.call,nodes:Ar.nodes,node:Ar.node,size:Ar.size,empty:Ar.empty,each:Ar.each,on:H9,attr:S9,attrTween:E9,style:Z9,styleTween:ez,text:rz,textTween:oz,remove:P9,tween:d9,delay:C9,duration:D9,ease:R9,easeVarying:L9,end:uz,[Symbol.iterator]:Ar[Symbol.iterator]};function cz(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var fz={time:null,delay:0,duration:250,ease:cz};function hz(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw new Error(`transition ${t} not found`);return n}function dz(e){var t,n;e instanceof Vr?(t=e._id,e=e._name):(t=KE(),(n=fz).time=G1(),e=e==null?null:e+"");for(var i=this._groups,o=i.length,u=0;u<o;++u)for(var c=i[u],f=c.length,h,g=0;g<f;++g)(h=c[g])&&Cf(h,e,t,g,c,n||hz(h,t));return new Vr(i,this._parents,e,t)}qu.prototype.interrupt=c9;qu.prototype.transition=dz;const vc=e=>()=>e;function gz(e,{sourceEvent:t,target:n,transform:i,dispatch:o}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:i,enumerable:!0,configurable:!0},_:{value:o}})}function jr(e,t,n){this.k=e,this.x=t,this.y=n}jr.prototype={constructor:jr,scale:function(e){return e===1?this:new jr(this.k*e,this.x,this.y)},translate:function(e,t){return e===0&t===0?this:new jr(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var K1=new jr(1,0,0);pz.prototype=jr.prototype;function pz(e){for(;!e.__zoom;)if(!(e=e.parentNode))return K1;return e.__zoom}function Eg(e){e.stopImmediatePropagation()}function iu(e){e.preventDefault(),e.stopImmediatePropagation()}function yz(e){return(!e.ctrlKey||e.type==="wheel")&&!e.button}function mz(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e,e.hasAttribute("viewBox")?(e=e.viewBox.baseVal,[[e.x,e.y],[e.x+e.width,e.y+e.height]]):[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]):[[0,0],[e.clientWidth,e.clientHeight]]}function BS(){return this.__zoom||K1}function vz(e){return-e.deltaY*(e.deltaMode===1?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function bz(){return navigator.maxTouchPoints||"ontouchstart"in this}function Sz(e,t,n){var i=e.invertX(t[0][0])-n[0][0],o=e.invertX(t[1][0])-n[1][0],u=e.invertY(t[0][1])-n[0][1],c=e.invertY(t[1][1])-n[1][1];return e.translate(o>i?(i+o)/2:Math.min(0,i)||Math.max(0,o),c>u?(u+c)/2:Math.min(0,u)||Math.max(0,c))}function AG(){var e=yz,t=mz,n=Sz,i=vz,o=bz,u=[0,1/0],c=[[-1/0,-1/0],[1/0,1/0]],f=250,h=t9,g=Ef("start","zoom","end"),p,m,v,S=500,M=150,b=0,w=10;function E(q){q.property("__zoom",BS).on("wheel.zoom",N,{passive:!1}).on("mousedown.zoom",P).on("dblclick.zoom",Z).filter(o).on("touchstart.zoom",W).on("touchmove.zoom",G).on("touchend.zoom touchcancel.zoom",ue).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}E.transform=function(q,re,R,F){var ie=q.selection?q.selection():q;ie.property("__zoom",BS),q!==ie?C(q,re,R,F):ie.interrupt().each(function(){O(this,arguments).event(F).start().zoom(null,typeof re=="function"?re.apply(this,arguments):re).end()})},E.scaleBy=function(q,re,R,F){E.scaleTo(q,function(){var ie=this.__zoom.k,se=typeof re=="function"?re.apply(this,arguments):re;return ie*se},R,F)},E.scaleTo=function(q,re,R,F){E.transform(q,function(){var ie=t.apply(this,arguments),se=this.__zoom,K=R==null?T(ie):typeof R=="function"?R.apply(this,arguments):R,z=se.invert(K),Q=typeof re=="function"?re.apply(this,arguments):re;return n(k(A(se,Q),K,z),ie,c)},R,F)},E.translateBy=function(q,re,R,F){E.transform(q,function(){return n(this.__zoom.translate(typeof re=="function"?re.apply(this,arguments):re,typeof R=="function"?R.apply(this,arguments):R),t.apply(this,arguments),c)},null,F)},E.translateTo=function(q,re,R,F,ie){E.transform(q,function(){var se=t.apply(this,arguments),K=this.__zoom,z=F==null?T(se):typeof F=="function"?F.apply(this,arguments):F;return n(K1.translate(z[0],z[1]).scale(K.k).translate(typeof re=="function"?-re.apply(this,arguments):-re,typeof R=="function"?-R.apply(this,arguments):-R),se,c)},F,ie)};function A(q,re){return re=Math.max(u[0],Math.min(u[1],re)),re===q.k?q:new jr(re,q.x,q.y)}function k(q,re,R){var F=re[0]-R[0]*q.k,ie=re[1]-R[1]*q.k;return F===q.x&&ie===q.y?q:new jr(q.k,F,ie)}function T(q){return[(+q[0][0]+ +q[1][0])/2,(+q[0][1]+ +q[1][1])/2]}function C(q,re,R,F){q.on("start.zoom",function(){O(this,arguments).event(F).start()}).on("interrupt.zoom end.zoom",function(){O(this,arguments).event(F).end()}).tween("zoom",function(){var ie=this,se=arguments,K=O(ie,se).event(F),z=t.apply(ie,se),Q=R==null?T(z):typeof R=="function"?R.apply(ie,se):R,oe=Math.max(z[1][0]-z[0][0],z[1][1]-z[0][1]),le=ie.__zoom,ce=typeof re=="function"?re.apply(ie,se):re,he=h(le.invert(Q).concat(oe/le.k),ce.invert(Q).concat(oe/ce.k));return function(ve){if(ve===1)ve=ce;else{var Ae=he(ve),ne=oe/Ae[2];ve=new jr(ne,Q[0]-Ae[0]*ne,Q[1]-Ae[1]*ne)}K.zoom(null,ve)}})}function O(q,re,R){return!R&&q.__zooming||new D(q,re)}function D(q,re){this.that=q,this.args=re,this.active=0,this.sourceEvent=null,this.extent=t.apply(q,re),this.taps=0}D.prototype={event:function(q){return q&&(this.sourceEvent=q),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(q,re){return this.mouse&&q!=="mouse"&&(this.mouse[1]=re.invert(this.mouse[0])),this.touch0&&q!=="touch"&&(this.touch0[1]=re.invert(this.touch0[0])),this.touch1&&q!=="touch"&&(this.touch1[1]=re.invert(this.touch1[0])),this.that.__zoom=re,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(q){var re=Ur(this.that).datum();g.call(q,this.that,new gz(q,{sourceEvent:this.sourceEvent,target:E,transform:this.that.__zoom,dispatch:g}),re)}};function N(q,...re){if(!e.apply(this,arguments))return;var R=O(this,re).event(q),F=this.__zoom,ie=Math.max(u[0],Math.min(u[1],F.k*Math.pow(2,i.apply(this,arguments)))),se=Rr(q);if(R.wheel)(R.mouse[0][0]!==se[0]||R.mouse[0][1]!==se[1])&&(R.mouse[1]=F.invert(R.mouse[0]=se)),clearTimeout(R.wheel);else{if(F.k===ie)return;R.mouse=[se,F.invert(se)],Rc(this),R.start()}iu(q),R.wheel=setTimeout(K,M),R.zoom("mouse",n(k(A(F,ie),R.mouse[0],R.mouse[1]),R.extent,c));function K(){R.wheel=null,R.end()}}function P(q,...re){if(v||!e.apply(this,arguments))return;var R=q.currentTarget,F=O(this,re,!0).event(q),ie=Ur(q.view).on("mousemove.zoom",Q,!0).on("mouseup.zoom",oe,!0),se=Rr(q,R),K=q.clientX,z=q.clientY;IE(q.view),Eg(q),F.mouse=[se,this.__zoom.invert(se)],Rc(this),F.start();function Q(le){if(iu(le),!F.moved){var ce=le.clientX-K,he=le.clientY-z;F.moved=ce*ce+he*he>b}F.event(le).zoom("mouse",n(k(F.that.__zoom,F.mouse[0]=Rr(le,R),F.mouse[1]),F.extent,c))}function oe(le){ie.on("mousemove.zoom mouseup.zoom",null),qE(le.view,F.moved),iu(le),F.event(le).end()}}function Z(q,...re){if(e.apply(this,arguments)){var R=this.__zoom,F=Rr(q.changedTouches?q.changedTouches[0]:q,this),ie=R.invert(F),se=R.k*(q.shiftKey?.5:2),K=n(k(A(R,se),F,ie),t.apply(this,re),c);iu(q),f>0?Ur(this).transition().duration(f).call(C,K,F,q):Ur(this).call(E.transform,K,F,q)}}function W(q,...re){if(e.apply(this,arguments)){var R=q.touches,F=R.length,ie=O(this,re,q.changedTouches.length===F).event(q),se,K,z,Q;for(Eg(q),K=0;K<F;++K)z=R[K],Q=Rr(z,this),Q=[Q,this.__zoom.invert(Q),z.identifier],ie.touch0?!ie.touch1&&ie.touch0[2]!==Q[2]&&(ie.touch1=Q,ie.taps=0):(ie.touch0=Q,se=!0,ie.taps=1+!!p);p&&(p=clearTimeout(p)),se&&(ie.taps<2&&(m=Q[0],p=setTimeout(function(){p=null},S)),Rc(this),ie.start())}}function G(q,...re){if(this.__zooming){var R=O(this,re).event(q),F=q.changedTouches,ie=F.length,se,K,z,Q;for(iu(q),se=0;se<ie;++se)K=F[se],z=Rr(K,this),R.touch0&&R.touch0[2]===K.identifier?R.touch0[0]=z:R.touch1&&R.touch1[2]===K.identifier&&(R.touch1[0]=z);if(K=R.that.__zoom,R.touch1){var oe=R.touch0[0],le=R.touch0[1],ce=R.touch1[0],he=R.touch1[1],ve=(ve=ce[0]-oe[0])*ve+(ve=ce[1]-oe[1])*ve,Ae=(Ae=he[0]-le[0])*Ae+(Ae=he[1]-le[1])*Ae;K=A(K,Math.sqrt(ve/Ae)),z=[(oe[0]+ce[0])/2,(oe[1]+ce[1])/2],Q=[(le[0]+he[0])/2,(le[1]+he[1])/2]}else if(R.touch0)z=R.touch0[0],Q=R.touch0[1];else return;R.zoom("touch",n(k(K,z,Q),R.extent,c))}}function ue(q,...re){if(this.__zooming){var R=O(this,re).event(q),F=q.changedTouches,ie=F.length,se,K;for(Eg(q),v&&clearTimeout(v),v=setTimeout(function(){v=null},S),se=0;se<ie;++se)K=F[se],R.touch0&&R.touch0[2]===K.identifier?delete R.touch0:R.touch1&&R.touch1[2]===K.identifier&&delete R.touch1;if(R.touch1&&!R.touch0&&(R.touch0=R.touch1,delete R.touch1),R.touch0)R.touch0[1]=this.__zoom.invert(R.touch0[0]);else if(R.end(),R.taps===2&&(K=Rr(K,this),Math.hypot(m[0]-K[0],m[1]-K[1])<w)){var z=Ur(this).on("dblclick.zoom");z&&z.apply(this,arguments)}}}return E.wheelDelta=function(q){return arguments.length?(i=typeof q=="function"?q:vc(+q),E):i},E.filter=function(q){return arguments.length?(e=typeof q=="function"?q:vc(!!q),E):e},E.touchable=function(q){return arguments.length?(o=typeof q=="function"?q:vc(!!q),E):o},E.extent=function(q){return arguments.length?(t=typeof q=="function"?q:vc([[+q[0][0],+q[0][1]],[+q[1][0],+q[1][1]]]),E):t},E.scaleExtent=function(q){return arguments.length?(u[0]=+q[0],u[1]=+q[1],E):[u[0],u[1]]},E.translateExtent=function(q){return arguments.length?(c[0][0]=+q[0][0],c[1][0]=+q[1][0],c[0][1]=+q[0][1],c[1][1]=+q[1][1],E):[[c[0][0],c[0][1]],[c[1][0],c[1][1]]]},E.constrain=function(q){return arguments.length?(n=q,E):n},E.duration=function(q){return arguments.length?(f=+q,E):f},E.interpolate=function(q){return arguments.length?(h=q,E):h},E.on=function(){var q=g.on.apply(g,arguments);return q===g?E:q},E.clickDistance=function(q){return arguments.length?(b=(q=+q)*q,E):Math.sqrt(b)},E.tapDistance=function(q){return arguments.length?(w=+q,E):w},E}var xg={exports:{}},Og={},Cg={exports:{}},kg={};/**
|
|
1028
|
+
*/const b8=[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]],mG=H("workflow",b8);/**
|
|
1029
|
+
* @license lucide-react v0.525.0 - ISC
|
|
1030
|
+
*
|
|
1031
|
+
* This source code is licensed under the ISC license.
|
|
1032
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
1033
|
+
*/const S8=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],vG=H("x",S8);/**
|
|
1034
|
+
* @license lucide-react v0.525.0 - ISC
|
|
1035
|
+
*
|
|
1036
|
+
* This source code is licensed under the ISC license.
|
|
1037
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
1038
|
+
*/const _8=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],bG=H("zap",_8);function rE(e){var t,n,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=rE(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function w8(){for(var e,t,n=0,i="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=rE(e))&&(i&&(i+=" "),i+=t);return i}const M8=(e,t)=>{const n=new Array(e.length+t.length);for(let i=0;i<e.length;i++)n[i]=e[i];for(let i=0;i<t.length;i++)n[e.length+i]=t[i];return n},T8=(e,t)=>({classGroupId:e,validator:t}),iE=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Fc="-",hS=[],E8="arbitrary..",x8=e=>{const t=C8(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:c=>{if(c.startsWith("[")&&c.endsWith("]"))return O8(c);const f=c.split(Fc),h=f[0]===""&&f.length>1?1:0;return aE(f,h,t)},getConflictingClassGroupIds:(c,f)=>{if(f){const h=i[c],g=n[c];return h?g?M8(g,h):h:g||hS}return n[c]||hS}}},aE=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const o=e[t],u=n.nextPart.get(o);if(u){const g=aE(e,t+1,u);if(g)return g}const c=n.validators;if(c===null)return;const f=t===0?e.join(Fc):e.slice(t).join(Fc),h=c.length;for(let g=0;g<h;g++){const p=c[g];if(p.validator(f))return p.classGroupId}},O8=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),i=t.slice(0,n);return i?E8+i:void 0})(),C8=e=>{const{theme:t,classGroups:n}=e;return k8(n,t)},k8=(e,t)=>{const n=iE();for(const i in e){const o=e[i];H1(o,n,i,t)}return n},H1=(e,t,n,i)=>{const o=e.length;for(let u=0;u<o;u++){const c=e[u];A8(c,t,n,i)}},A8=(e,t,n,i)=>{if(typeof e=="string"){D8(e,t,n);return}if(typeof e=="function"){N8(e,t,n,i);return}R8(e,t,n,i)},D8=(e,t,n)=>{const i=e===""?t:oE(t,e);i.classGroupId=n},N8=(e,t,n,i)=>{if(z8(e)){H1(e(i),t,n,i);return}t.validators===null&&(t.validators=[]),t.validators.push(T8(n,e))},R8=(e,t,n,i)=>{const o=Object.entries(e),u=o.length;for(let c=0;c<u;c++){const[f,h]=o[c];H1(h,oE(t,f),n,i)}},oE=(e,t)=>{let n=e;const i=t.split(Fc),o=i.length;for(let u=0;u<o;u++){const c=i[u];let f=n.nextPart.get(c);f||(f=iE(),n.nextPart.set(c,f)),n=f}return n},z8=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,L8=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),i=Object.create(null);const o=(u,c)=>{n[u]=c,t++,t>e&&(t=0,i=n,n=Object.create(null))};return{get(u){let c=n[u];if(c!==void 0)return c;if((c=i[u])!==void 0)return o(u,c),c},set(u,c){u in n?n[u]=c:o(u,c)}}},Gp="!",dS=":",I8=[],gS=(e,t,n,i,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:i,isExternal:o}),q8=e=>{const{prefix:t,experimentalParseClassName:n}=e;let i=o=>{const u=[];let c=0,f=0,h=0,g;const p=o.length;for(let b=0;b<p;b++){const w=o[b];if(c===0&&f===0){if(w===dS){u.push(o.slice(h,b)),h=b+1;continue}if(w==="/"){g=b;continue}}w==="["?c++:w==="]"?c--:w==="("?f++:w===")"&&f--}const m=u.length===0?o:o.slice(h);let v=m,S=!1;m.endsWith(Gp)?(v=m.slice(0,-1),S=!0):m.startsWith(Gp)&&(v=m.slice(1),S=!0);const M=g&&g>h?g-h:void 0;return gS(u,S,v,M)};if(t){const o=t+dS,u=i;i=c=>c.startsWith(o)?u(c.slice(o.length)):gS(I8,!1,c,void 0,!0)}if(n){const o=i;i=u=>n({className:u,parseClassName:o})}return i},U8=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,i)=>{t.set(n,1e6+i)}),n=>{const i=[];let o=[];for(let u=0;u<n.length;u++){const c=n[u],f=c[0]==="[",h=t.has(c);f||h?(o.length>0&&(o.sort(),i.push(...o),o=[]),i.push(c)):o.push(c)}return o.length>0&&(o.sort(),i.push(...o)),i}},j8=e=>({cache:L8(e.cacheSize),parseClassName:q8(e),sortModifiers:U8(e),...x8(e)}),H8=/\s+/,B8=(e,t)=>{const{parseClassName:n,getClassGroupId:i,getConflictingClassGroupIds:o,sortModifiers:u}=t,c=[],f=e.trim().split(H8);let h="";for(let g=f.length-1;g>=0;g-=1){const p=f[g],{isExternal:m,modifiers:v,hasImportantModifier:S,baseClassName:M,maybePostfixModifierPosition:b}=n(p);if(m){h=p+(h.length>0?" "+h:h);continue}let w=!!b,E=i(w?M.substring(0,b):M);if(!E){if(!w){h=p+(h.length>0?" "+h:h);continue}if(E=i(M),!E){h=p+(h.length>0?" "+h:h);continue}w=!1}const A=v.length===0?"":v.length===1?v[0]:u(v).join(":"),k=S?A+Gp:A,T=k+E;if(c.indexOf(T)>-1)continue;c.push(T);const C=o(E,w);for(let O=0;O<C.length;++O){const D=C[O];c.push(k+D)}h=p+(h.length>0?" "+h:h)}return h},P8=(...e)=>{let t=0,n,i,o="";for(;t<e.length;)(n=e[t++])&&(i=lE(n))&&(o&&(o+=" "),o+=i);return o},lE=e=>{if(typeof e=="string")return e;let t,n="";for(let i=0;i<e.length;i++)e[i]&&(t=lE(e[i]))&&(n&&(n+=" "),n+=t);return n},$8=(e,...t)=>{let n,i,o,u;const c=h=>{const g=t.reduce((p,m)=>m(p),e());return n=j8(g),i=n.cache.get,o=n.cache.set,u=f,f(h)},f=h=>{const g=i(h);if(g)return g;const p=B8(h,n);return o(h,p),p};return u=c,(...h)=>u(P8(...h))},Y8=[],vt=e=>{const t=n=>n[e]||Y8;return t.isThemeGetter=!0,t},uE=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,sE=/^\((?:(\w[\w-]*):)?(.+)\)$/i,V8=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,F8=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,G8=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Q8=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,X8=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,K8=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,_i=e=>V8.test(e),Ne=e=>!!e&&!Number.isNaN(Number(e)),wi=e=>!!e&&Number.isInteger(Number(e)),vg=e=>e.endsWith("%")&&Ne(e.slice(0,-1)),kr=e=>F8.test(e),cE=()=>!0,Z8=e=>G8.test(e)&&!Q8.test(e),B1=()=>!1,J8=e=>X8.test(e),W8=e=>K8.test(e),eN=e=>!pe(e)&&!ye(e),tN=e=>qi(e,dE,B1),pe=e=>uE.test(e),ia=e=>qi(e,gE,Z8),pS=e=>qi(e,sN,Ne),nN=e=>qi(e,yE,cE),rN=e=>qi(e,pE,B1),yS=e=>qi(e,fE,B1),iN=e=>qi(e,hE,W8),sc=e=>qi(e,mE,J8),ye=e=>sE.test(e),nu=e=>Aa(e,gE),aN=e=>Aa(e,pE),mS=e=>Aa(e,fE),oN=e=>Aa(e,dE),lN=e=>Aa(e,hE),cc=e=>Aa(e,mE,!0),uN=e=>Aa(e,yE,!0),qi=(e,t,n)=>{const i=uE.exec(e);return i?i[1]?t(i[1]):n(i[2]):!1},Aa=(e,t,n=!1)=>{const i=sE.exec(e);return i?i[1]?t(i[1]):n:!1},fE=e=>e==="position"||e==="percentage",hE=e=>e==="image"||e==="url",dE=e=>e==="length"||e==="size"||e==="bg-size",gE=e=>e==="length",sN=e=>e==="number",pE=e=>e==="family-name",yE=e=>e==="number"||e==="weight",mE=e=>e==="shadow",cN=()=>{const e=vt("color"),t=vt("font"),n=vt("text"),i=vt("font-weight"),o=vt("tracking"),u=vt("leading"),c=vt("breakpoint"),f=vt("container"),h=vt("spacing"),g=vt("radius"),p=vt("shadow"),m=vt("inset-shadow"),v=vt("text-shadow"),S=vt("drop-shadow"),M=vt("blur"),b=vt("perspective"),w=vt("aspect"),E=vt("ease"),A=vt("animate"),k=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],C=()=>[...T(),ye,pe],O=()=>["auto","hidden","clip","visible","scroll"],D=()=>["auto","contain","none"],N=()=>[ye,pe,h],P=()=>[_i,"full","auto",...N()],Z=()=>[wi,"none","subgrid",ye,pe],W=()=>["auto",{span:["full",wi,ye,pe]},wi,ye,pe],G=()=>[wi,"auto",ye,pe],ue=()=>["auto","min","max","fr",ye,pe],q=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],re=()=>["start","end","center","stretch","center-safe","end-safe"],R=()=>["auto",...N()],F=()=>[_i,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...N()],ie=()=>[_i,"screen","full","dvw","lvw","svw","min","max","fit",...N()],se=()=>[_i,"screen","full","lh","dvh","lvh","svh","min","max","fit",...N()],K=()=>[e,ye,pe],z=()=>[...T(),mS,yS,{position:[ye,pe]}],Q=()=>["no-repeat",{repeat:["","x","y","space","round"]}],oe=()=>["auto","cover","contain",oN,tN,{size:[ye,pe]}],le=()=>[vg,nu,ia],ce=()=>["","none","full",g,ye,pe],he=()=>["",Ne,nu,ia],ve=()=>["solid","dashed","dotted","double"],Ae=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ne=()=>[Ne,vg,mS,yS],we=()=>["","none",M,ye,pe],xe=()=>["none",Ne,ye,pe],ae=()=>["none",Ne,ye,pe],st=()=>[Ne,ye,pe],De=()=>[_i,"full",...N()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[kr],breakpoint:[kr],color:[cE],container:[kr],"drop-shadow":[kr],ease:["in","out","in-out"],font:[eN],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[kr],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[kr],shadow:[kr],spacing:["px",Ne],text:[kr],"text-shadow":[kr],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",_i,pe,ye,w]}],container:["container"],columns:[{columns:[Ne,pe,ye,f]}],"break-after":[{"break-after":k()}],"break-before":[{"break-before":k()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:C()}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:P()}],"inset-x":[{"inset-x":P()}],"inset-y":[{"inset-y":P()}],start:[{"inset-s":P(),start:P()}],end:[{"inset-e":P(),end:P()}],"inset-bs":[{"inset-bs":P()}],"inset-be":[{"inset-be":P()}],top:[{top:P()}],right:[{right:P()}],bottom:[{bottom:P()}],left:[{left:P()}],visibility:["visible","invisible","collapse"],z:[{z:[wi,"auto",ye,pe]}],basis:[{basis:[_i,"full","auto",f,...N()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ne,_i,"auto","initial","none",pe]}],grow:[{grow:["",Ne,ye,pe]}],shrink:[{shrink:["",Ne,ye,pe]}],order:[{order:[wi,"first","last","none",ye,pe]}],"grid-cols":[{"grid-cols":Z()}],"col-start-end":[{col:W()}],"col-start":[{"col-start":G()}],"col-end":[{"col-end":G()}],"grid-rows":[{"grid-rows":Z()}],"row-start-end":[{row:W()}],"row-start":[{"row-start":G()}],"row-end":[{"row-end":G()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ue()}],"auto-rows":[{"auto-rows":ue()}],gap:[{gap:N()}],"gap-x":[{"gap-x":N()}],"gap-y":[{"gap-y":N()}],"justify-content":[{justify:[...q(),"normal"]}],"justify-items":[{"justify-items":[...re(),"normal"]}],"justify-self":[{"justify-self":["auto",...re()]}],"align-content":[{content:["normal",...q()]}],"align-items":[{items:[...re(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...re(),{baseline:["","last"]}]}],"place-content":[{"place-content":q()}],"place-items":[{"place-items":[...re(),"baseline"]}],"place-self":[{"place-self":["auto",...re()]}],p:[{p:N()}],px:[{px:N()}],py:[{py:N()}],ps:[{ps:N()}],pe:[{pe:N()}],pbs:[{pbs:N()}],pbe:[{pbe:N()}],pt:[{pt:N()}],pr:[{pr:N()}],pb:[{pb:N()}],pl:[{pl:N()}],m:[{m:R()}],mx:[{mx:R()}],my:[{my:R()}],ms:[{ms:R()}],me:[{me:R()}],mbs:[{mbs:R()}],mbe:[{mbe:R()}],mt:[{mt:R()}],mr:[{mr:R()}],mb:[{mb:R()}],ml:[{ml:R()}],"space-x":[{"space-x":N()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":N()}],"space-y-reverse":["space-y-reverse"],size:[{size:F()}],"inline-size":[{inline:["auto",...ie()]}],"min-inline-size":[{"min-inline":["auto",...ie()]}],"max-inline-size":[{"max-inline":["none",...ie()]}],"block-size":[{block:["auto",...se()]}],"min-block-size":[{"min-block":["auto",...se()]}],"max-block-size":[{"max-block":["none",...se()]}],w:[{w:[f,"screen",...F()]}],"min-w":[{"min-w":[f,"screen","none",...F()]}],"max-w":[{"max-w":[f,"screen","none","prose",{screen:[c]},...F()]}],h:[{h:["screen","lh",...F()]}],"min-h":[{"min-h":["screen","lh","none",...F()]}],"max-h":[{"max-h":["screen","lh",...F()]}],"font-size":[{text:["base",n,nu,ia]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,uN,nN]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",vg,pe]}],"font-family":[{font:[aN,rN,t]}],"font-features":[{"font-features":[pe]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,ye,pe]}],"line-clamp":[{"line-clamp":[Ne,"none",ye,pS]}],leading:[{leading:[u,...N()]}],"list-image":[{"list-image":["none",ye,pe]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ye,pe]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:K()}],"text-color":[{text:K()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ve(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ne,"from-font","auto",ye,ia]}],"text-decoration-color":[{decoration:K()}],"underline-offset":[{"underline-offset":[Ne,"auto",ye,pe]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:N()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ye,pe]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ye,pe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:z()}],"bg-repeat":[{bg:Q()}],"bg-size":[{bg:oe()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},wi,ye,pe],radial:["",ye,pe],conic:[wi,ye,pe]},lN,iN]}],"bg-color":[{bg:K()}],"gradient-from-pos":[{from:le()}],"gradient-via-pos":[{via:le()}],"gradient-to-pos":[{to:le()}],"gradient-from":[{from:K()}],"gradient-via":[{via:K()}],"gradient-to":[{to:K()}],rounded:[{rounded:ce()}],"rounded-s":[{"rounded-s":ce()}],"rounded-e":[{"rounded-e":ce()}],"rounded-t":[{"rounded-t":ce()}],"rounded-r":[{"rounded-r":ce()}],"rounded-b":[{"rounded-b":ce()}],"rounded-l":[{"rounded-l":ce()}],"rounded-ss":[{"rounded-ss":ce()}],"rounded-se":[{"rounded-se":ce()}],"rounded-ee":[{"rounded-ee":ce()}],"rounded-es":[{"rounded-es":ce()}],"rounded-tl":[{"rounded-tl":ce()}],"rounded-tr":[{"rounded-tr":ce()}],"rounded-br":[{"rounded-br":ce()}],"rounded-bl":[{"rounded-bl":ce()}],"border-w":[{border:he()}],"border-w-x":[{"border-x":he()}],"border-w-y":[{"border-y":he()}],"border-w-s":[{"border-s":he()}],"border-w-e":[{"border-e":he()}],"border-w-bs":[{"border-bs":he()}],"border-w-be":[{"border-be":he()}],"border-w-t":[{"border-t":he()}],"border-w-r":[{"border-r":he()}],"border-w-b":[{"border-b":he()}],"border-w-l":[{"border-l":he()}],"divide-x":[{"divide-x":he()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":he()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ve(),"hidden","none"]}],"divide-style":[{divide:[...ve(),"hidden","none"]}],"border-color":[{border:K()}],"border-color-x":[{"border-x":K()}],"border-color-y":[{"border-y":K()}],"border-color-s":[{"border-s":K()}],"border-color-e":[{"border-e":K()}],"border-color-bs":[{"border-bs":K()}],"border-color-be":[{"border-be":K()}],"border-color-t":[{"border-t":K()}],"border-color-r":[{"border-r":K()}],"border-color-b":[{"border-b":K()}],"border-color-l":[{"border-l":K()}],"divide-color":[{divide:K()}],"outline-style":[{outline:[...ve(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ne,ye,pe]}],"outline-w":[{outline:["",Ne,nu,ia]}],"outline-color":[{outline:K()}],shadow:[{shadow:["","none",p,cc,sc]}],"shadow-color":[{shadow:K()}],"inset-shadow":[{"inset-shadow":["none",m,cc,sc]}],"inset-shadow-color":[{"inset-shadow":K()}],"ring-w":[{ring:he()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:K()}],"ring-offset-w":[{"ring-offset":[Ne,ia]}],"ring-offset-color":[{"ring-offset":K()}],"inset-ring-w":[{"inset-ring":he()}],"inset-ring-color":[{"inset-ring":K()}],"text-shadow":[{"text-shadow":["none",v,cc,sc]}],"text-shadow-color":[{"text-shadow":K()}],opacity:[{opacity:[Ne,ye,pe]}],"mix-blend":[{"mix-blend":[...Ae(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ae()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Ne]}],"mask-image-linear-from-pos":[{"mask-linear-from":ne()}],"mask-image-linear-to-pos":[{"mask-linear-to":ne()}],"mask-image-linear-from-color":[{"mask-linear-from":K()}],"mask-image-linear-to-color":[{"mask-linear-to":K()}],"mask-image-t-from-pos":[{"mask-t-from":ne()}],"mask-image-t-to-pos":[{"mask-t-to":ne()}],"mask-image-t-from-color":[{"mask-t-from":K()}],"mask-image-t-to-color":[{"mask-t-to":K()}],"mask-image-r-from-pos":[{"mask-r-from":ne()}],"mask-image-r-to-pos":[{"mask-r-to":ne()}],"mask-image-r-from-color":[{"mask-r-from":K()}],"mask-image-r-to-color":[{"mask-r-to":K()}],"mask-image-b-from-pos":[{"mask-b-from":ne()}],"mask-image-b-to-pos":[{"mask-b-to":ne()}],"mask-image-b-from-color":[{"mask-b-from":K()}],"mask-image-b-to-color":[{"mask-b-to":K()}],"mask-image-l-from-pos":[{"mask-l-from":ne()}],"mask-image-l-to-pos":[{"mask-l-to":ne()}],"mask-image-l-from-color":[{"mask-l-from":K()}],"mask-image-l-to-color":[{"mask-l-to":K()}],"mask-image-x-from-pos":[{"mask-x-from":ne()}],"mask-image-x-to-pos":[{"mask-x-to":ne()}],"mask-image-x-from-color":[{"mask-x-from":K()}],"mask-image-x-to-color":[{"mask-x-to":K()}],"mask-image-y-from-pos":[{"mask-y-from":ne()}],"mask-image-y-to-pos":[{"mask-y-to":ne()}],"mask-image-y-from-color":[{"mask-y-from":K()}],"mask-image-y-to-color":[{"mask-y-to":K()}],"mask-image-radial":[{"mask-radial":[ye,pe]}],"mask-image-radial-from-pos":[{"mask-radial-from":ne()}],"mask-image-radial-to-pos":[{"mask-radial-to":ne()}],"mask-image-radial-from-color":[{"mask-radial-from":K()}],"mask-image-radial-to-color":[{"mask-radial-to":K()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":T()}],"mask-image-conic-pos":[{"mask-conic":[Ne]}],"mask-image-conic-from-pos":[{"mask-conic-from":ne()}],"mask-image-conic-to-pos":[{"mask-conic-to":ne()}],"mask-image-conic-from-color":[{"mask-conic-from":K()}],"mask-image-conic-to-color":[{"mask-conic-to":K()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:z()}],"mask-repeat":[{mask:Q()}],"mask-size":[{mask:oe()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ye,pe]}],filter:[{filter:["","none",ye,pe]}],blur:[{blur:we()}],brightness:[{brightness:[Ne,ye,pe]}],contrast:[{contrast:[Ne,ye,pe]}],"drop-shadow":[{"drop-shadow":["","none",S,cc,sc]}],"drop-shadow-color":[{"drop-shadow":K()}],grayscale:[{grayscale:["",Ne,ye,pe]}],"hue-rotate":[{"hue-rotate":[Ne,ye,pe]}],invert:[{invert:["",Ne,ye,pe]}],saturate:[{saturate:[Ne,ye,pe]}],sepia:[{sepia:["",Ne,ye,pe]}],"backdrop-filter":[{"backdrop-filter":["","none",ye,pe]}],"backdrop-blur":[{"backdrop-blur":we()}],"backdrop-brightness":[{"backdrop-brightness":[Ne,ye,pe]}],"backdrop-contrast":[{"backdrop-contrast":[Ne,ye,pe]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ne,ye,pe]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ne,ye,pe]}],"backdrop-invert":[{"backdrop-invert":["",Ne,ye,pe]}],"backdrop-opacity":[{"backdrop-opacity":[Ne,ye,pe]}],"backdrop-saturate":[{"backdrop-saturate":[Ne,ye,pe]}],"backdrop-sepia":[{"backdrop-sepia":["",Ne,ye,pe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":N()}],"border-spacing-x":[{"border-spacing-x":N()}],"border-spacing-y":[{"border-spacing-y":N()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ye,pe]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ne,"initial",ye,pe]}],ease:[{ease:["linear","initial",E,ye,pe]}],delay:[{delay:[Ne,ye,pe]}],animate:[{animate:["none",A,ye,pe]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[b,ye,pe]}],"perspective-origin":[{"perspective-origin":C()}],rotate:[{rotate:xe()}],"rotate-x":[{"rotate-x":xe()}],"rotate-y":[{"rotate-y":xe()}],"rotate-z":[{"rotate-z":xe()}],scale:[{scale:ae()}],"scale-x":[{"scale-x":ae()}],"scale-y":[{"scale-y":ae()}],"scale-z":[{"scale-z":ae()}],"scale-3d":["scale-3d"],skew:[{skew:st()}],"skew-x":[{"skew-x":st()}],"skew-y":[{"skew-y":st()}],transform:[{transform:[ye,pe,"","none","gpu","cpu"]}],"transform-origin":[{origin:C()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:De()}],"translate-x":[{"translate-x":De()}],"translate-y":[{"translate-y":De()}],"translate-z":[{"translate-z":De()}],"translate-none":["translate-none"],accent:[{accent:K()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:K()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ye,pe]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mbs":[{"scroll-mbs":N()}],"scroll-mbe":[{"scroll-mbe":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pbs":[{"scroll-pbs":N()}],"scroll-pbe":[{"scroll-pbe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ye,pe]}],fill:[{fill:["none",...K()]}],"stroke-w":[{stroke:[Ne,nu,ia,pS]}],stroke:[{stroke:["none",...K()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},SG=$8(cN),vS=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,bS=w8,_G=(e,t)=>n=>{var i;if((t==null?void 0:t.variants)==null)return bS(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:u}=t,c=Object.keys(o).map(g=>{const p=n==null?void 0:n[g],m=u==null?void 0:u[g];if(p===null)return null;const v=vS(p)||vS(m);return o[g][v]}),f=n&&Object.entries(n).reduce((g,p)=>{let[m,v]=p;return v===void 0||(g[m]=v),g},{}),h=t==null||(i=t.compoundVariants)===null||i===void 0?void 0:i.reduce((g,p)=>{let{class:m,className:v,...S}=p;return Object.entries(S).every(M=>{let[b,w]=M;return Array.isArray(w)?w.includes({...u,...f}[b]):{...u,...f}[b]===w})?[...g,m,v]:g},[]);return bS(e,c,h,n==null?void 0:n.class,n==null?void 0:n.className)};var Gc=function(){return Gc=Object.assign||function(t){for(var n,i=1,o=arguments.length;i<o;i++){n=arguments[i];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(t[u]=n[u])}return t},Gc.apply(this,arguments)};function fN(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n}function wG(e,t,n){if(n||arguments.length===2)for(var i=0,o=t.length,u;i<o;i++)(u||!(i in t))&&(u||(u=Array.prototype.slice.call(t,0,i)),u[i]=t[i]);return e.concat(u||Array.prototype.slice.call(t))}function bg(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function hN(e,t){var n=U.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(i){var o=n.value;o!==i&&(n.value=i,n.callback(i,o))}}}})[0];return n.callback=t,n.facade}var dN=typeof window<"u"?U.useLayoutEffect:U.useEffect,SS=new WeakMap;function MG(e,t){var n=hN(null,function(i){return e.forEach(function(o){return bg(o,i)})});return dN(function(){var i=SS.get(n);if(i){var o=new Set(i),u=new Set(e),c=n.current;o.forEach(function(f){u.has(f)||bg(f,null)}),u.forEach(function(f){o.has(f)||bg(f,c)})}SS.set(n,e)},[e]),n}function gN(e){return e}function pN(e,t){t===void 0&&(t=gN);var n=[],i=!1,o={read:function(){if(i)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(u){var c=t(u,i);return n.push(c),function(){n=n.filter(function(f){return f!==c})}},assignSyncMedium:function(u){for(i=!0;n.length;){var c=n;n=[],c.forEach(u)}n={push:function(f){return u(f)},filter:function(){return n}}},assignMedium:function(u){i=!0;var c=[];if(n.length){var f=n;n=[],f.forEach(u),c=n}var h=function(){var p=c;c=[],p.forEach(u)},g=function(){return Promise.resolve().then(h)};g(),n={push:function(p){c.push(p),g()},filter:function(p){return c=c.filter(p),n}}}};return o}function TG(e){e===void 0&&(e={});var t=pN(null);return t.options=Gc({async:!0,ssr:!1},e),t}var vE=function(e){var t=e.sideCar,n=fN(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var i=t.read();if(!i)throw new Error("Sidecar medium not found");return U.createElement(i,Gc({},n))};vE.isSideCarExport=!0;function EG(e,t){return e.useMedium(t),vE}var yN=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function mN(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=yN();return t&&e.setAttribute("nonce",t),e}function vN(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function bN(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var SN=function(){var e=0,t=null;return{add:function(n){e==0&&(t=mN())&&(vN(t,n),bN(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},_N=function(){var e=SN();return function(t,n){U.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},xG=function(){var e=_N(),t=function(n){var i=n.styles,o=n.dynamic;return e(i,o),null};return t},wN=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},_o=new WeakMap,fc=new WeakMap,hc={},Sg=0,bE=function(e){return e&&(e.host||bE(e.parentNode))},MN=function(e,t){return t.map(function(n){if(e.contains(n))return n;var i=bE(n);return i&&e.contains(i)?i:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},TN=function(e,t,n,i){var o=MN(t,Array.isArray(e)?e:[e]);hc[n]||(hc[n]=new WeakMap);var u=hc[n],c=[],f=new Set,h=new Set(o),g=function(m){!m||f.has(m)||(f.add(m),g(m.parentNode))};o.forEach(g);var p=function(m){!m||h.has(m)||Array.prototype.forEach.call(m.children,function(v){if(f.has(v))p(v);else try{var S=v.getAttribute(i),M=S!==null&&S!=="false",b=(_o.get(v)||0)+1,w=(u.get(v)||0)+1;_o.set(v,b),u.set(v,w),c.push(v),b===1&&M&&fc.set(v,!0),w===1&&v.setAttribute(n,"true"),M||v.setAttribute(i,"true")}catch(E){console.error("aria-hidden: cannot operate on ",v,E)}})};return p(t),f.clear(),Sg++,function(){c.forEach(function(m){var v=_o.get(m)-1,S=u.get(m)-1;_o.set(m,v),u.set(m,S),v||(fc.has(m)||m.removeAttribute(i),fc.delete(m)),S||m.removeAttribute(n)}),Sg--,Sg||(_o=new WeakMap,_o=new WeakMap,fc=new WeakMap,hc={})}},OG=function(e,t,n){n===void 0&&(n="data-aria-hidden");var i=Array.from(Array.isArray(e)?e:[e]),o=wN(e);return o?(i.push.apply(i,Array.from(o.querySelectorAll("[aria-live], script"))),TN(i,o,n,"aria-hidden")):function(){return null}};function Rt(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var EN=typeof Symbol=="function"&&Symbol.observable||"@@observable",_S=EN,_g=()=>Math.random().toString(36).substring(7).split("").join("."),xN={INIT:`@@redux/INIT${_g()}`,REPLACE:`@@redux/REPLACE${_g()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${_g()}`},Qc=xN;function SE(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function _E(e,t,n){if(typeof e!="function")throw new Error(Rt(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(Rt(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(Rt(1));return n(_E)(e,t)}let i=e,o=t,u=new Map,c=u,f=0,h=!1;function g(){c===u&&(c=new Map,u.forEach((w,E)=>{c.set(E,w)}))}function p(){if(h)throw new Error(Rt(3));return o}function m(w){if(typeof w!="function")throw new Error(Rt(4));if(h)throw new Error(Rt(5));let E=!0;g();const A=f++;return c.set(A,w),function(){if(E){if(h)throw new Error(Rt(6));E=!1,g(),c.delete(A),u=null}}}function v(w){if(!SE(w))throw new Error(Rt(7));if(typeof w.type>"u")throw new Error(Rt(8));if(typeof w.type!="string")throw new Error(Rt(17));if(h)throw new Error(Rt(9));try{h=!0,o=i(o,w)}finally{h=!1}return(u=c).forEach(A=>{A()}),w}function S(w){if(typeof w!="function")throw new Error(Rt(10));i=w,v({type:Qc.REPLACE})}function M(){const w=m;return{subscribe(E){if(typeof E!="object"||E===null)throw new Error(Rt(11));function A(){const T=E;T.next&&T.next(p())}return A(),{unsubscribe:w(A)}},[_S](){return this}}}return v({type:Qc.INIT}),{dispatch:v,subscribe:m,getState:p,replaceReducer:S,[_S]:M}}function ON(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:Qc.INIT})>"u")throw new Error(Rt(12));if(typeof n(void 0,{type:Qc.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Rt(13))})}function wS(e){const t=Object.keys(e),n={};for(let u=0;u<t.length;u++){const c=t[u];typeof e[c]=="function"&&(n[c]=e[c])}const i=Object.keys(n);let o;try{ON(n)}catch(u){o=u}return function(c={},f){if(o)throw o;let h=!1;const g={};for(let p=0;p<i.length;p++){const m=i[p],v=n[m],S=c[m],M=v(S,f);if(typeof M>"u")throw f&&f.type,new Error(Rt(14));g[m]=M,h=h||M!==S}return h=h||i.length!==Object.keys(c).length,h?g:c}}function CN(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...i)=>t(n(...i)))}function CG(...e){return t=>(n,i)=>{const o=t(n,i);let u=()=>{throw new Error(Rt(15))};const c={getState:o.getState,dispatch:(h,...g)=>u(h,...g)},f=e.map(h=>h(c));return u=CN(...f)(o.dispatch),{...o,dispatch:u}}}function kG(e){return SE(e)&&"type"in e&&typeof e.type=="string"}function kN(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function AN(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function DN(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(n=>typeof n=="function")){const n=e.map(i=>typeof i=="function"?`function ${i.name||"unnamed"}()`:typeof i).join(", ");throw new TypeError(`${t}[${n}]`)}}var MS=e=>Array.isArray(e)?e:[e];function NN(e){const t=Array.isArray(e[0])?e[0]:e;return DN(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function RN(e,t){const n=[],{length:i}=e;for(let o=0;o<i;o++)n.push(e[o].apply(null,t));return n}var zN=class{constructor(e){this.value=e}deref(){return this.value}},LN=typeof WeakRef<"u"?WeakRef:zN,IN=0,TS=1;function dc(){return{s:IN,v:void 0,o:null,p:null}}function wE(e,t={}){let n=dc();const{resultEqualityCheck:i}=t;let o,u=0;function c(){var m;let f=n;const{length:h}=arguments;for(let v=0,S=h;v<S;v++){const M=arguments[v];if(typeof M=="function"||typeof M=="object"&&M!==null){let b=f.o;b===null&&(f.o=b=new WeakMap);const w=b.get(M);w===void 0?(f=dc(),b.set(M,f)):f=w}else{let b=f.p;b===null&&(f.p=b=new Map);const w=b.get(M);w===void 0?(f=dc(),b.set(M,f)):f=w}}const g=f;let p;if(f.s===TS)p=f.v;else if(p=e.apply(null,arguments),u++,i){const v=((m=o==null?void 0:o.deref)==null?void 0:m.call(o))??o;v!=null&&i(v,p)&&(p=v,u!==0&&u--),o=typeof p=="object"&&p!==null||typeof p=="function"?new LN(p):p}return g.s=TS,g.v=p,p}return c.clearCache=()=>{n=dc(),c.resetResultsCount()},c.resultsCount=()=>u,c.resetResultsCount=()=>{u=0},c}function qN(e,...t){const n=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,i=(...o)=>{let u=0,c=0,f,h={},g=o.pop();typeof g=="object"&&(h=g,g=o.pop()),kN(g,`createSelector expects an output function after the inputs, but received: [${typeof g}]`);const p={...n,...h},{memoize:m,memoizeOptions:v=[],argsMemoize:S=wE,argsMemoizeOptions:M=[]}=p,b=MS(v),w=MS(M),E=NN(o),A=m(function(){return u++,g.apply(null,arguments)},...b),k=S(function(){c++;const C=RN(E,arguments);return f=A.apply(null,C),f},...w);return Object.assign(k,{resultFunc:g,memoizedResultFunc:A,dependencies:E,dependencyRecomputations:()=>c,resetDependencyRecomputations:()=>{c=0},lastResult:()=>f,recomputations:()=>u,resetRecomputations:()=>{u=0},memoize:m,argsMemoize:S})};return Object.assign(i,{withTypes:()=>i}),i}var UN=qN(wE),jN=Object.assign((e,t=UN)=>{AN(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const n=Object.keys(e),i=n.map(u=>e[u]);return t(i,(...u)=>u.reduce((c,f,h)=>(c[n[h]]=f,c),{}))},{withTypes:()=>jN});function ME(e){return({dispatch:n,getState:i})=>o=>u=>typeof u=="function"?u(n,i,e):o(u)}var AG=ME(),DG=ME,NG=class extends Error{constructor(t){super(t[0].message);qb(this,"issues");this.name="SchemaError",this.issues=t}};function HN(e){if(typeof e=="string"||typeof e=="number")return""+e;let t="";if(Array.isArray(e))for(let n=0,i;n<e.length;n++)(i=HN(e[n]))!==""&&(t+=(t&&" ")+i);else for(let n in e)e[n]&&(t+=(t&&" ")+n);return t}var BN={value:()=>{}};function Ef(){for(var e=0,t=arguments.length,n={},i;e<t;++e){if(!(i=arguments[e]+"")||i in n||/[\s.]/.test(i))throw new Error("illegal type: "+i);n[i]=[]}return new Ac(n)}function Ac(e){this._=e}function PN(e,t){return e.trim().split(/^|\s+/).map(function(n){var i="",o=n.indexOf(".");if(o>=0&&(i=n.slice(o+1),n=n.slice(0,o)),n&&!t.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:i}})}Ac.prototype=Ef.prototype={constructor:Ac,on:function(e,t){var n=this._,i=PN(e+"",n),o,u=-1,c=i.length;if(arguments.length<2){for(;++u<c;)if((o=(e=i[u]).type)&&(o=$N(n[o],e.name)))return o;return}if(t!=null&&typeof t!="function")throw new Error("invalid callback: "+t);for(;++u<c;)if(o=(e=i[u]).type)n[o]=ES(n[o],e.name,t);else if(t==null)for(o in n)n[o]=ES(n[o],e.name,null);return this},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new Ac(e)},call:function(e,t){if((o=arguments.length-2)>0)for(var n=new Array(o),i=0,o,u;i<o;++i)n[i]=arguments[i+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(u=this._[e],i=0,o=u.length;i<o;++i)u[i].value.apply(t,n)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var i=this._[e],o=0,u=i.length;o<u;++o)i[o].value.apply(t,n)}};function $N(e,t){for(var n=0,i=e.length,o;n<i;++n)if((o=e[n]).name===t)return o.value}function ES(e,t,n){for(var i=0,o=e.length;i<o;++i)if(e[i].name===t){e[i]=BN,e=e.slice(0,i).concat(e.slice(i+1));break}return n!=null&&e.push({name:t,value:n}),e}var Qp="http://www.w3.org/1999/xhtml";const xS={svg:"http://www.w3.org/2000/svg",xhtml:Qp,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function xf(e){var t=e+="",n=t.indexOf(":");return n>=0&&(t=e.slice(0,n))!=="xmlns"&&(e=e.slice(n+1)),xS.hasOwnProperty(t)?{space:xS[t],local:e}:e}function YN(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===Qp&&t.documentElement.namespaceURI===Qp?t.createElement(e):t.createElementNS(n,e)}}function VN(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function TE(e){var t=xf(e);return(t.local?VN:YN)(t)}function FN(){}function P1(e){return e==null?FN:function(){return this.querySelector(e)}}function GN(e){typeof e!="function"&&(e=P1(e));for(var t=this._groups,n=t.length,i=new Array(n),o=0;o<n;++o)for(var u=t[o],c=u.length,f=i[o]=new Array(c),h,g,p=0;p<c;++p)(h=u[p])&&(g=e.call(h,h.__data__,p,u))&&("__data__"in h&&(g.__data__=h.__data__),f[p]=g);return new fn(i,this._parents)}function QN(e){return e==null?[]:Array.isArray(e)?e:Array.from(e)}function XN(){return[]}function EE(e){return e==null?XN:function(){return this.querySelectorAll(e)}}function KN(e){return function(){return QN(e.apply(this,arguments))}}function ZN(e){typeof e=="function"?e=KN(e):e=EE(e);for(var t=this._groups,n=t.length,i=[],o=[],u=0;u<n;++u)for(var c=t[u],f=c.length,h,g=0;g<f;++g)(h=c[g])&&(i.push(e.call(h,h.__data__,g,c)),o.push(h));return new fn(i,o)}function xE(e){return function(){return this.matches(e)}}function OE(e){return function(t){return t.matches(e)}}var JN=Array.prototype.find;function WN(e){return function(){return JN.call(this.children,e)}}function eR(){return this.firstElementChild}function tR(e){return this.select(e==null?eR:WN(typeof e=="function"?e:OE(e)))}var nR=Array.prototype.filter;function rR(){return Array.from(this.children)}function iR(e){return function(){return nR.call(this.children,e)}}function aR(e){return this.selectAll(e==null?rR:iR(typeof e=="function"?e:OE(e)))}function oR(e){typeof e!="function"&&(e=xE(e));for(var t=this._groups,n=t.length,i=new Array(n),o=0;o<n;++o)for(var u=t[o],c=u.length,f=i[o]=[],h,g=0;g<c;++g)(h=u[g])&&e.call(h,h.__data__,g,u)&&f.push(h);return new fn(i,this._parents)}function CE(e){return new Array(e.length)}function lR(){return new fn(this._enter||this._groups.map(CE),this._parents)}function Xc(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}Xc.prototype={constructor:Xc,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};function uR(e){return function(){return e}}function sR(e,t,n,i,o,u){for(var c=0,f,h=t.length,g=u.length;c<g;++c)(f=t[c])?(f.__data__=u[c],i[c]=f):n[c]=new Xc(e,u[c]);for(;c<h;++c)(f=t[c])&&(o[c]=f)}function cR(e,t,n,i,o,u,c){var f,h,g=new Map,p=t.length,m=u.length,v=new Array(p),S;for(f=0;f<p;++f)(h=t[f])&&(v[f]=S=c.call(h,h.__data__,f,t)+"",g.has(S)?o[f]=h:g.set(S,h));for(f=0;f<m;++f)S=c.call(e,u[f],f,u)+"",(h=g.get(S))?(i[f]=h,h.__data__=u[f],g.delete(S)):n[f]=new Xc(e,u[f]);for(f=0;f<p;++f)(h=t[f])&&g.get(v[f])===h&&(o[f]=h)}function fR(e){return e.__data__}function hR(e,t){if(!arguments.length)return Array.from(this,fR);var n=t?cR:sR,i=this._parents,o=this._groups;typeof e!="function"&&(e=uR(e));for(var u=o.length,c=new Array(u),f=new Array(u),h=new Array(u),g=0;g<u;++g){var p=i[g],m=o[g],v=m.length,S=dR(e.call(p,p&&p.__data__,g,i)),M=S.length,b=f[g]=new Array(M),w=c[g]=new Array(M),E=h[g]=new Array(v);n(p,m,b,w,E,S,t);for(var A=0,k=0,T,C;A<M;++A)if(T=b[A]){for(A>=k&&(k=A+1);!(C=w[k])&&++k<M;);T._next=C||null}}return c=new fn(c,i),c._enter=f,c._exit=h,c}function dR(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function gR(){return new fn(this._exit||this._groups.map(CE),this._parents)}function pR(e,t,n){var i=this.enter(),o=this,u=this.exit();return typeof e=="function"?(i=e(i),i&&(i=i.selection())):i=i.append(e+""),t!=null&&(o=t(o),o&&(o=o.selection())),n==null?u.remove():n(u),i&&o?i.merge(o).order():o}function yR(e){for(var t=e.selection?e.selection():e,n=this._groups,i=t._groups,o=n.length,u=i.length,c=Math.min(o,u),f=new Array(o),h=0;h<c;++h)for(var g=n[h],p=i[h],m=g.length,v=f[h]=new Array(m),S,M=0;M<m;++M)(S=g[M]||p[M])&&(v[M]=S);for(;h<o;++h)f[h]=n[h];return new fn(f,this._parents)}function mR(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var i=e[t],o=i.length-1,u=i[o],c;--o>=0;)(c=i[o])&&(u&&c.compareDocumentPosition(u)^4&&u.parentNode.insertBefore(c,u),u=c);return this}function vR(e){e||(e=bR);function t(m,v){return m&&v?e(m.__data__,v.__data__):!m-!v}for(var n=this._groups,i=n.length,o=new Array(i),u=0;u<i;++u){for(var c=n[u],f=c.length,h=o[u]=new Array(f),g,p=0;p<f;++p)(g=c[p])&&(h[p]=g);h.sort(t)}return new fn(o,this._parents).order()}function bR(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function SR(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function _R(){return Array.from(this)}function wR(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var i=e[t],o=0,u=i.length;o<u;++o){var c=i[o];if(c)return c}return null}function MR(){let e=0;for(const t of this)++e;return e}function TR(){return!this.node()}function ER(e){for(var t=this._groups,n=0,i=t.length;n<i;++n)for(var o=t[n],u=0,c=o.length,f;u<c;++u)(f=o[u])&&e.call(f,f.__data__,u,o);return this}function xR(e){return function(){this.removeAttribute(e)}}function OR(e){return function(){this.removeAttributeNS(e.space,e.local)}}function CR(e,t){return function(){this.setAttribute(e,t)}}function kR(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function AR(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttribute(e):this.setAttribute(e,n)}}function DR(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function NR(e,t){var n=xf(e);if(arguments.length<2){var i=this.node();return n.local?i.getAttributeNS(n.space,n.local):i.getAttribute(n)}return this.each((t==null?n.local?OR:xR:typeof t=="function"?n.local?DR:AR:n.local?kR:CR)(n,t))}function kE(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function RR(e){return function(){this.style.removeProperty(e)}}function zR(e,t,n){return function(){this.style.setProperty(e,t,n)}}function LR(e,t,n){return function(){var i=t.apply(this,arguments);i==null?this.style.removeProperty(e):this.style.setProperty(e,i,n)}}function IR(e,t,n){return arguments.length>1?this.each((t==null?RR:typeof t=="function"?LR:zR)(e,t,n??"")):Yo(this.node(),e)}function Yo(e,t){return e.style.getPropertyValue(t)||kE(e).getComputedStyle(e,null).getPropertyValue(t)}function qR(e){return function(){delete this[e]}}function UR(e,t){return function(){this[e]=t}}function jR(e,t){return function(){var n=t.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function HR(e,t){return arguments.length>1?this.each((t==null?qR:typeof t=="function"?jR:UR)(e,t)):this.node()[e]}function AE(e){return e.trim().split(/^|\s+/)}function $1(e){return e.classList||new DE(e)}function DE(e){this._node=e,this._names=AE(e.getAttribute("class")||"")}DE.prototype={add:function(e){var t=this._names.indexOf(e);t<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function NE(e,t){for(var n=$1(e),i=-1,o=t.length;++i<o;)n.add(t[i])}function RE(e,t){for(var n=$1(e),i=-1,o=t.length;++i<o;)n.remove(t[i])}function BR(e){return function(){NE(this,e)}}function PR(e){return function(){RE(this,e)}}function $R(e,t){return function(){(t.apply(this,arguments)?NE:RE)(this,e)}}function YR(e,t){var n=AE(e+"");if(arguments.length<2){for(var i=$1(this.node()),o=-1,u=n.length;++o<u;)if(!i.contains(n[o]))return!1;return!0}return this.each((typeof t=="function"?$R:t?BR:PR)(n,t))}function VR(){this.textContent=""}function FR(e){return function(){this.textContent=e}}function GR(e){return function(){var t=e.apply(this,arguments);this.textContent=t??""}}function QR(e){return arguments.length?this.each(e==null?VR:(typeof e=="function"?GR:FR)(e)):this.node().textContent}function XR(){this.innerHTML=""}function KR(e){return function(){this.innerHTML=e}}function ZR(e){return function(){var t=e.apply(this,arguments);this.innerHTML=t??""}}function JR(e){return arguments.length?this.each(e==null?XR:(typeof e=="function"?ZR:KR)(e)):this.node().innerHTML}function WR(){this.nextSibling&&this.parentNode.appendChild(this)}function e7(){return this.each(WR)}function t7(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function n7(){return this.each(t7)}function r7(e){var t=typeof e=="function"?e:TE(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})}function i7(){return null}function a7(e,t){var n=typeof e=="function"?e:TE(e),i=t==null?i7:typeof t=="function"?t:P1(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)})}function o7(){var e=this.parentNode;e&&e.removeChild(this)}function l7(){return this.each(o7)}function u7(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function s7(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function c7(e){return this.select(e?s7:u7)}function f7(e){return arguments.length?this.property("__data__",e):this.node().__data__}function h7(e){return function(t){e.call(this,t,this.__data__)}}function d7(e){return e.trim().split(/^|\s+/).map(function(t){var n="",i=t.indexOf(".");return i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),{type:t,name:n}})}function g7(e){return function(){var t=this.__on;if(t){for(var n=0,i=-1,o=t.length,u;n<o;++n)u=t[n],(!e.type||u.type===e.type)&&u.name===e.name?this.removeEventListener(u.type,u.listener,u.options):t[++i]=u;++i?t.length=i:delete this.__on}}}function p7(e,t,n){return function(){var i=this.__on,o,u=h7(t);if(i){for(var c=0,f=i.length;c<f;++c)if((o=i[c]).type===e.type&&o.name===e.name){this.removeEventListener(o.type,o.listener,o.options),this.addEventListener(o.type,o.listener=u,o.options=n),o.value=t;return}}this.addEventListener(e.type,u,n),o={type:e.type,name:e.name,value:t,listener:u,options:n},i?i.push(o):this.__on=[o]}}function y7(e,t,n){var i=d7(e+""),o,u=i.length,c;if(arguments.length<2){var f=this.node().__on;if(f){for(var h=0,g=f.length,p;h<g;++h)for(o=0,p=f[h];o<u;++o)if((c=i[o]).type===p.type&&c.name===p.name)return p.value}return}for(f=t?p7:g7,o=0;o<u;++o)this.each(f(i[o],t,n));return this}function zE(e,t,n){var i=kE(e),o=i.CustomEvent;typeof o=="function"?o=new o(t,n):(o=i.document.createEvent("Event"),n?(o.initEvent(t,n.bubbles,n.cancelable),o.detail=n.detail):o.initEvent(t,!1,!1)),e.dispatchEvent(o)}function m7(e,t){return function(){return zE(this,e,t)}}function v7(e,t){return function(){return zE(this,e,t.apply(this,arguments))}}function b7(e,t){return this.each((typeof t=="function"?v7:m7)(e,t))}function*S7(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var i=e[t],o=0,u=i.length,c;o<u;++o)(c=i[o])&&(yield c)}var LE=[null];function fn(e,t){this._groups=e,this._parents=t}function qu(){return new fn([[document.documentElement]],LE)}function _7(){return this}fn.prototype=qu.prototype={constructor:fn,select:GN,selectAll:ZN,selectChild:tR,selectChildren:aR,filter:oR,data:hR,enter:lR,exit:gR,join:pR,merge:yR,selection:_7,order:mR,sort:vR,call:SR,nodes:_R,node:wR,size:MR,empty:TR,each:ER,attr:NR,style:IR,property:HR,classed:YR,text:QR,html:JR,raise:e7,lower:n7,append:r7,insert:a7,remove:l7,clone:c7,datum:f7,on:y7,dispatch:b7,[Symbol.iterator]:S7};function Ur(e){return typeof e=="string"?new fn([[document.querySelector(e)]],[document.documentElement]):new fn([[e]],LE)}function w7(e){let t;for(;t=e.sourceEvent;)e=t;return e}function Rr(e,t){if(e=w7(e),t===void 0&&(t=e.currentTarget),t){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var i=n.createSVGPoint();return i.x=e.clientX,i.y=e.clientY,i=i.matrixTransform(t.getScreenCTM().inverse()),[i.x,i.y]}if(t.getBoundingClientRect){var o=t.getBoundingClientRect();return[e.clientX-o.left-t.clientLeft,e.clientY-o.top-t.clientTop]}}return[e.pageX,e.pageY]}const M7={passive:!1},bu={capture:!0,passive:!1};function wg(e){e.stopImmediatePropagation()}function Ao(e){e.preventDefault(),e.stopImmediatePropagation()}function IE(e){var t=e.document.documentElement,n=Ur(e).on("dragstart.drag",Ao,bu);"onselectstart"in t?n.on("selectstart.drag",Ao,bu):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")}function qE(e,t){var n=e.document.documentElement,i=Ur(e).on("dragstart.drag",null);t&&(i.on("click.drag",Ao,bu),setTimeout(function(){i.on("click.drag",null)},0)),"onselectstart"in n?i.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}const gc=e=>()=>e;function Xp(e,{sourceEvent:t,subject:n,target:i,identifier:o,active:u,x:c,y:f,dx:h,dy:g,dispatch:p}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},subject:{value:n,enumerable:!0,configurable:!0},target:{value:i,enumerable:!0,configurable:!0},identifier:{value:o,enumerable:!0,configurable:!0},active:{value:u,enumerable:!0,configurable:!0},x:{value:c,enumerable:!0,configurable:!0},y:{value:f,enumerable:!0,configurable:!0},dx:{value:h,enumerable:!0,configurable:!0},dy:{value:g,enumerable:!0,configurable:!0},_:{value:p}})}Xp.prototype.on=function(){var e=this._.on.apply(this._,arguments);return e===this._?this:e};function T7(e){return!e.ctrlKey&&!e.button}function E7(){return this.parentNode}function x7(e,t){return t??{x:e.x,y:e.y}}function O7(){return navigator.maxTouchPoints||"ontouchstart"in this}function RG(){var e=T7,t=E7,n=x7,i=O7,o={},u=Ef("start","drag","end"),c=0,f,h,g,p,m=0;function v(T){T.on("mousedown.drag",S).filter(i).on("touchstart.drag",w).on("touchmove.drag",E,M7).on("touchend.drag touchcancel.drag",A).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function S(T,C){if(!(p||!e.call(this,T,C))){var O=k(this,t.call(this,T,C),T,C,"mouse");O&&(Ur(T.view).on("mousemove.drag",M,bu).on("mouseup.drag",b,bu),IE(T.view),wg(T),g=!1,f=T.clientX,h=T.clientY,O("start",T))}}function M(T){if(Ao(T),!g){var C=T.clientX-f,O=T.clientY-h;g=C*C+O*O>m}o.mouse("drag",T)}function b(T){Ur(T.view).on("mousemove.drag mouseup.drag",null),qE(T.view,g),Ao(T),o.mouse("end",T)}function w(T,C){if(e.call(this,T,C)){var O=T.changedTouches,D=t.call(this,T,C),N=O.length,P,Z;for(P=0;P<N;++P)(Z=k(this,D,T,C,O[P].identifier,O[P]))&&(wg(T),Z("start",T,O[P]))}}function E(T){var C=T.changedTouches,O=C.length,D,N;for(D=0;D<O;++D)(N=o[C[D].identifier])&&(Ao(T),N("drag",T,C[D]))}function A(T){var C=T.changedTouches,O=C.length,D,N;for(p&&clearTimeout(p),p=setTimeout(function(){p=null},500),D=0;D<O;++D)(N=o[C[D].identifier])&&(wg(T),N("end",T,C[D]))}function k(T,C,O,D,N,P){var Z=u.copy(),W=Rr(P||O,C),G,ue,q;if((q=n.call(T,new Xp("beforestart",{sourceEvent:O,target:v,identifier:N,active:c,x:W[0],y:W[1],dx:0,dy:0,dispatch:Z}),D))!=null)return G=q.x-W[0]||0,ue=q.y-W[1]||0,function re(R,F,ie){var se=W,K;switch(R){case"start":o[N]=re,K=c++;break;case"end":delete o[N],--c;case"drag":W=Rr(ie||F,C),K=c;break}Z.call(R,T,new Xp(R,{sourceEvent:F,subject:q,target:v,identifier:N,active:K,x:W[0]+G,y:W[1]+ue,dx:W[0]-se[0],dy:W[1]-se[1],dispatch:Z}),D)}}return v.filter=function(T){return arguments.length?(e=typeof T=="function"?T:gc(!!T),v):e},v.container=function(T){return arguments.length?(t=typeof T=="function"?T:gc(T),v):t},v.subject=function(T){return arguments.length?(n=typeof T=="function"?T:gc(T),v):n},v.touchable=function(T){return arguments.length?(i=typeof T=="function"?T:gc(!!T),v):i},v.on=function(){var T=u.on.apply(u,arguments);return T===u?v:T},v.clickDistance=function(T){return arguments.length?(m=(T=+T)*T,v):Math.sqrt(m)},v}function Y1(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function UE(e,t){var n=Object.create(e.prototype);for(var i in t)n[i]=t[i];return n}function Uu(){}var Su=.7,Kc=1/Su,Do="\\s*([+-]?\\d+)\\s*",_u="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",lr="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",C7=/^#([0-9a-f]{3,8})$/,k7=new RegExp(`^rgb\\(${Do},${Do},${Do}\\)$`),A7=new RegExp(`^rgb\\(${lr},${lr},${lr}\\)$`),D7=new RegExp(`^rgba\\(${Do},${Do},${Do},${_u}\\)$`),N7=new RegExp(`^rgba\\(${lr},${lr},${lr},${_u}\\)$`),R7=new RegExp(`^hsl\\(${_u},${lr},${lr}\\)$`),z7=new RegExp(`^hsla\\(${_u},${lr},${lr},${_u}\\)$`),OS={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Y1(Uu,Ta,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:CS,formatHex:CS,formatHex8:L7,formatHsl:I7,formatRgb:kS,toString:kS});function CS(){return this.rgb().formatHex()}function L7(){return this.rgb().formatHex8()}function I7(){return jE(this).formatHsl()}function kS(){return this.rgb().formatRgb()}function Ta(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=C7.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?AS(t):n===3?new Kt(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?pc(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?pc(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=k7.exec(e))?new Kt(t[1],t[2],t[3],1):(t=A7.exec(e))?new Kt(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=D7.exec(e))?pc(t[1],t[2],t[3],t[4]):(t=N7.exec(e))?pc(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=R7.exec(e))?RS(t[1],t[2]/100,t[3]/100,1):(t=z7.exec(e))?RS(t[1],t[2]/100,t[3]/100,t[4]):OS.hasOwnProperty(e)?AS(OS[e]):e==="transparent"?new Kt(NaN,NaN,NaN,0):null}function AS(e){return new Kt(e>>16&255,e>>8&255,e&255,1)}function pc(e,t,n,i){return i<=0&&(e=t=n=NaN),new Kt(e,t,n,i)}function q7(e){return e instanceof Uu||(e=Ta(e)),e?(e=e.rgb(),new Kt(e.r,e.g,e.b,e.opacity)):new Kt}function Kp(e,t,n,i){return arguments.length===1?q7(e):new Kt(e,t,n,i??1)}function Kt(e,t,n,i){this.r=+e,this.g=+t,this.b=+n,this.opacity=+i}Y1(Kt,Kp,UE(Uu,{brighter(e){return e=e==null?Kc:Math.pow(Kc,e),new Kt(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Su:Math.pow(Su,e),new Kt(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Kt(_a(this.r),_a(this.g),_a(this.b),Zc(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:DS,formatHex:DS,formatHex8:U7,formatRgb:NS,toString:NS}));function DS(){return`#${ca(this.r)}${ca(this.g)}${ca(this.b)}`}function U7(){return`#${ca(this.r)}${ca(this.g)}${ca(this.b)}${ca((isNaN(this.opacity)?1:this.opacity)*255)}`}function NS(){const e=Zc(this.opacity);return`${e===1?"rgb(":"rgba("}${_a(this.r)}, ${_a(this.g)}, ${_a(this.b)}${e===1?")":`, ${e})`}`}function Zc(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function _a(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function ca(e){return e=_a(e),(e<16?"0":"")+e.toString(16)}function RS(e,t,n,i){return i<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Vn(e,t,n,i)}function jE(e){if(e instanceof Vn)return new Vn(e.h,e.s,e.l,e.opacity);if(e instanceof Uu||(e=Ta(e)),!e)return new Vn;if(e instanceof Vn)return e;e=e.rgb();var t=e.r/255,n=e.g/255,i=e.b/255,o=Math.min(t,n,i),u=Math.max(t,n,i),c=NaN,f=u-o,h=(u+o)/2;return f?(t===u?c=(n-i)/f+(n<i)*6:n===u?c=(i-t)/f+2:c=(t-n)/f+4,f/=h<.5?u+o:2-u-o,c*=60):f=h>0&&h<1?0:c,new Vn(c,f,h,e.opacity)}function j7(e,t,n,i){return arguments.length===1?jE(e):new Vn(e,t,n,i??1)}function Vn(e,t,n,i){this.h=+e,this.s=+t,this.l=+n,this.opacity=+i}Y1(Vn,j7,UE(Uu,{brighter(e){return e=e==null?Kc:Math.pow(Kc,e),new Vn(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Su:Math.pow(Su,e),new Vn(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,i=n+(n<.5?n:1-n)*t,o=2*n-i;return new Kt(Mg(e>=240?e-240:e+120,o,i),Mg(e,o,i),Mg(e<120?e+240:e-120,o,i),this.opacity)},clamp(){return new Vn(zS(this.h),yc(this.s),yc(this.l),Zc(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Zc(this.opacity);return`${e===1?"hsl(":"hsla("}${zS(this.h)}, ${yc(this.s)*100}%, ${yc(this.l)*100}%${e===1?")":`, ${e})`}`}}));function zS(e){return e=(e||0)%360,e<0?e+360:e}function yc(e){return Math.max(0,Math.min(1,e||0))}function Mg(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const V1=e=>()=>e;function H7(e,t){return function(n){return e+n*t}}function B7(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(i){return Math.pow(e+i*t,n)}}function P7(e){return(e=+e)==1?HE:function(t,n){return n-t?B7(t,n,e):V1(isNaN(t)?n:t)}}function HE(e,t){var n=t-e;return n?H7(e,n):V1(isNaN(e)?t:e)}const Jc=(function e(t){var n=P7(t);function i(o,u){var c=n((o=Kp(o)).r,(u=Kp(u)).r),f=n(o.g,u.g),h=n(o.b,u.b),g=HE(o.opacity,u.opacity);return function(p){return o.r=c(p),o.g=f(p),o.b=h(p),o.opacity=g(p),o+""}}return i.gamma=e,i})(1);function $7(e,t){t||(t=[]);var n=e?Math.min(t.length,e.length):0,i=t.slice(),o;return function(u){for(o=0;o<n;++o)i[o]=e[o]*(1-u)+t[o]*u;return i}}function Y7(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function V7(e,t){var n=t?t.length:0,i=e?Math.min(n,e.length):0,o=new Array(i),u=new Array(n),c;for(c=0;c<i;++c)o[c]=rl(e[c],t[c]);for(;c<n;++c)u[c]=t[c];return function(f){for(c=0;c<i;++c)u[c]=o[c](f);return u}}function F7(e,t){var n=new Date;return e=+e,t=+t,function(i){return n.setTime(e*(1-i)+t*i),n}}function Yn(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function G7(e,t){var n={},i={},o;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(o in t)o in e?n[o]=rl(e[o],t[o]):i[o]=t[o];return function(u){for(o in n)i[o]=n[o](u);return i}}var Zp=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Tg=new RegExp(Zp.source,"g");function Q7(e){return function(){return e}}function X7(e){return function(t){return e(t)+""}}function BE(e,t){var n=Zp.lastIndex=Tg.lastIndex=0,i,o,u,c=-1,f=[],h=[];for(e=e+"",t=t+"";(i=Zp.exec(e))&&(o=Tg.exec(t));)(u=o.index)>n&&(u=t.slice(n,u),f[c]?f[c]+=u:f[++c]=u),(i=i[0])===(o=o[0])?f[c]?f[c]+=o:f[++c]=o:(f[++c]=null,h.push({i:c,x:Yn(i,o)})),n=Tg.lastIndex;return n<t.length&&(u=t.slice(n),f[c]?f[c]+=u:f[++c]=u),f.length<2?h[0]?X7(h[0].x):Q7(t):(t=h.length,function(g){for(var p=0,m;p<t;++p)f[(m=h[p]).i]=m.x(g);return f.join("")})}function rl(e,t){var n=typeof t,i;return t==null||n==="boolean"?V1(t):(n==="number"?Yn:n==="string"?(i=Ta(t))?(t=i,Jc):BE:t instanceof Ta?Jc:t instanceof Date?F7:Y7(t)?$7:Array.isArray(t)?V7:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?G7:Yn)(e,t)}function F1(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}var LS=180/Math.PI,Jp={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function PE(e,t,n,i,o,u){var c,f,h;return(c=Math.sqrt(e*e+t*t))&&(e/=c,t/=c),(h=e*n+t*i)&&(n-=e*h,i-=t*h),(f=Math.sqrt(n*n+i*i))&&(n/=f,i/=f,h/=f),e*i<t*n&&(e=-e,t=-t,h=-h,c=-c),{translateX:o,translateY:u,rotate:Math.atan2(t,e)*LS,skewX:Math.atan(h)*LS,scaleX:c,scaleY:f}}var mc;function K7(e){const t=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?Jp:PE(t.a,t.b,t.c,t.d,t.e,t.f)}function Z7(e){return e==null||(mc||(mc=document.createElementNS("http://www.w3.org/2000/svg","g")),mc.setAttribute("transform",e),!(e=mc.transform.baseVal.consolidate()))?Jp:(e=e.matrix,PE(e.a,e.b,e.c,e.d,e.e,e.f))}function $E(e,t,n,i){function o(g){return g.length?g.pop()+" ":""}function u(g,p,m,v,S,M){if(g!==m||p!==v){var b=S.push("translate(",null,t,null,n);M.push({i:b-4,x:Yn(g,m)},{i:b-2,x:Yn(p,v)})}else(m||v)&&S.push("translate("+m+t+v+n)}function c(g,p,m,v){g!==p?(g-p>180?p+=360:p-g>180&&(g+=360),v.push({i:m.push(o(m)+"rotate(",null,i)-2,x:Yn(g,p)})):p&&m.push(o(m)+"rotate("+p+i)}function f(g,p,m,v){g!==p?v.push({i:m.push(o(m)+"skewX(",null,i)-2,x:Yn(g,p)}):p&&m.push(o(m)+"skewX("+p+i)}function h(g,p,m,v,S,M){if(g!==m||p!==v){var b=S.push(o(S)+"scale(",null,",",null,")");M.push({i:b-4,x:Yn(g,m)},{i:b-2,x:Yn(p,v)})}else(m!==1||v!==1)&&S.push(o(S)+"scale("+m+","+v+")")}return function(g,p){var m=[],v=[];return g=e(g),p=e(p),u(g.translateX,g.translateY,p.translateX,p.translateY,m,v),c(g.rotate,p.rotate,m,v),f(g.skewX,p.skewX,m,v),h(g.scaleX,g.scaleY,p.scaleX,p.scaleY,m,v),g=p=null,function(S){for(var M=-1,b=v.length,w;++M<b;)m[(w=v[M]).i]=w.x(S);return m.join("")}}}var J7=$E(K7,"px, ","px)","deg)"),W7=$E(Z7,", ",")",")"),e9=1e-12;function IS(e){return((e=Math.exp(e))+1/e)/2}function t9(e){return((e=Math.exp(e))-1/e)/2}function n9(e){return((e=Math.exp(2*e))-1)/(e+1)}const r9=(function e(t,n,i){function o(u,c){var f=u[0],h=u[1],g=u[2],p=c[0],m=c[1],v=c[2],S=p-f,M=m-h,b=S*S+M*M,w,E;if(b<e9)E=Math.log(v/g)/t,w=function(D){return[f+D*S,h+D*M,g*Math.exp(t*D*E)]};else{var A=Math.sqrt(b),k=(v*v-g*g+i*b)/(2*g*n*A),T=(v*v-g*g-i*b)/(2*v*n*A),C=Math.log(Math.sqrt(k*k+1)-k),O=Math.log(Math.sqrt(T*T+1)-T);E=(O-C)/t,w=function(D){var N=D*E,P=IS(C),Z=g/(n*A)*(P*n9(t*N+C)-t9(C));return[f+Z*S,h+Z*M,g*P/IS(t*N+C)]}}return w.duration=E*1e3*t/Math.SQRT2,w}return o.rho=function(u){var c=Math.max(.001,+u),f=c*c,h=f*f;return e(c,f,h)},o})(Math.SQRT2,2,4);function i9(e,t){t===void 0&&(t=e,e=rl);for(var n=0,i=t.length-1,o=t[0],u=new Array(i<0?0:i);n<i;)u[n]=e(o,o=t[++n]);return function(c){var f=Math.max(0,Math.min(i-1,Math.floor(c*=i)));return u[f](c-f)}}var Vo=0,du=0,ru=0,YE=1e3,Wc,gu,ef=0,Ea=0,Of=0,wu=typeof performance=="object"&&performance.now?performance:Date,VE=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function G1(){return Ea||(VE(a9),Ea=wu.now()+Of)}function a9(){Ea=0}function tf(){this._call=this._time=this._next=null}tf.prototype=FE.prototype={constructor:tf,restart:function(e,t,n){if(typeof e!="function")throw new TypeError("callback is not a function");n=(n==null?G1():+n)+(t==null?0:+t),!this._next&&gu!==this&&(gu?gu._next=this:Wc=this,gu=this),this._call=e,this._time=n,Wp()},stop:function(){this._call&&(this._call=null,this._time=1/0,Wp())}};function FE(e,t,n){var i=new tf;return i.restart(e,t,n),i}function o9(){G1(),++Vo;for(var e=Wc,t;e;)(t=Ea-e._time)>=0&&e._call.call(void 0,t),e=e._next;--Vo}function qS(){Ea=(ef=wu.now())+Of,Vo=du=0;try{o9()}finally{Vo=0,u9(),Ea=0}}function l9(){var e=wu.now(),t=e-ef;t>YE&&(Of-=t,ef=e)}function u9(){for(var e,t=Wc,n,i=1/0;t;)t._call?(i>t._time&&(i=t._time),e=t,t=t._next):(n=t._next,t._next=null,t=e?e._next=n:Wc=n);gu=e,Wp(i)}function Wp(e){if(!Vo){du&&(du=clearTimeout(du));var t=e-Ea;t>24?(e<1/0&&(du=setTimeout(qS,e-wu.now()-Of)),ru&&(ru=clearInterval(ru))):(ru||(ef=wu.now(),ru=setInterval(l9,YE)),Vo=1,VE(qS))}}function US(e,t,n){var i=new tf;return t=t==null?0:+t,i.restart(o=>{i.stop(),e(o+t)},t,n),i}var s9=Ef("start","end","cancel","interrupt"),c9=[],GE=0,jS=1,e1=2,Dc=3,HS=4,t1=5,Nc=6;function Cf(e,t,n,i,o,u){var c=e.__transition;if(!c)e.__transition={};else if(n in c)return;f9(e,n,{name:t,index:i,group:o,on:s9,tween:c9,time:u.time,delay:u.delay,duration:u.duration,ease:u.ease,timer:null,state:GE})}function Q1(e,t){var n=Xn(e,t);if(n.state>GE)throw new Error("too late; already scheduled");return n}function sr(e,t){var n=Xn(e,t);if(n.state>Dc)throw new Error("too late; already running");return n}function Xn(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function f9(e,t,n){var i=e.__transition,o;i[t]=n,n.timer=FE(u,0,n.time);function u(g){n.state=jS,n.timer.restart(c,n.delay,n.time),n.delay<=g&&c(g-n.delay)}function c(g){var p,m,v,S;if(n.state!==jS)return h();for(p in i)if(S=i[p],S.name===n.name){if(S.state===Dc)return US(c);S.state===HS?(S.state=Nc,S.timer.stop(),S.on.call("interrupt",e,e.__data__,S.index,S.group),delete i[p]):+p<t&&(S.state=Nc,S.timer.stop(),S.on.call("cancel",e,e.__data__,S.index,S.group),delete i[p])}if(US(function(){n.state===Dc&&(n.state=HS,n.timer.restart(f,n.delay,n.time),f(g))}),n.state=e1,n.on.call("start",e,e.__data__,n.index,n.group),n.state===e1){for(n.state=Dc,o=new Array(v=n.tween.length),p=0,m=-1;p<v;++p)(S=n.tween[p].value.call(e,e.__data__,n.index,n.group))&&(o[++m]=S);o.length=m+1}}function f(g){for(var p=g<n.duration?n.ease.call(null,g/n.duration):(n.timer.restart(h),n.state=t1,1),m=-1,v=o.length;++m<v;)o[m].call(e,p);n.state===t1&&(n.on.call("end",e,e.__data__,n.index,n.group),h())}function h(){n.state=Nc,n.timer.stop(),delete i[t];for(var g in i)return;delete e.__transition}}function Rc(e,t){var n=e.__transition,i,o,u=!0,c;if(n){t=t==null?null:t+"";for(c in n){if((i=n[c]).name!==t){u=!1;continue}o=i.state>e1&&i.state<t1,i.state=Nc,i.timer.stop(),i.on.call(o?"interrupt":"cancel",e,e.__data__,i.index,i.group),delete n[c]}u&&delete e.__transition}}function h9(e){return this.each(function(){Rc(this,e)})}function d9(e,t){var n,i;return function(){var o=sr(this,e),u=o.tween;if(u!==n){i=n=u;for(var c=0,f=i.length;c<f;++c)if(i[c].name===t){i=i.slice(),i.splice(c,1);break}}o.tween=i}}function g9(e,t,n){var i,o;if(typeof n!="function")throw new Error;return function(){var u=sr(this,e),c=u.tween;if(c!==i){o=(i=c).slice();for(var f={name:t,value:n},h=0,g=o.length;h<g;++h)if(o[h].name===t){o[h]=f;break}h===g&&o.push(f)}u.tween=o}}function p9(e,t){var n=this._id;if(e+="",arguments.length<2){for(var i=Xn(this.node(),n).tween,o=0,u=i.length,c;o<u;++o)if((c=i[o]).name===e)return c.value;return null}return this.each((t==null?d9:g9)(n,e,t))}function X1(e,t,n){var i=e._id;return e.each(function(){var o=sr(this,i);(o.value||(o.value={}))[t]=n.apply(this,arguments)}),function(o){return Xn(o,i).value[t]}}function QE(e,t){var n;return(typeof t=="number"?Yn:t instanceof Ta?Jc:(n=Ta(t))?(t=n,Jc):BE)(e,t)}function y9(e){return function(){this.removeAttribute(e)}}function m9(e){return function(){this.removeAttributeNS(e.space,e.local)}}function v9(e,t,n){var i,o=n+"",u;return function(){var c=this.getAttribute(e);return c===o?null:c===i?u:u=t(i=c,n)}}function b9(e,t,n){var i,o=n+"",u;return function(){var c=this.getAttributeNS(e.space,e.local);return c===o?null:c===i?u:u=t(i=c,n)}}function S9(e,t,n){var i,o,u;return function(){var c,f=n(this),h;return f==null?void this.removeAttribute(e):(c=this.getAttribute(e),h=f+"",c===h?null:c===i&&h===o?u:(o=h,u=t(i=c,f)))}}function _9(e,t,n){var i,o,u;return function(){var c,f=n(this),h;return f==null?void this.removeAttributeNS(e.space,e.local):(c=this.getAttributeNS(e.space,e.local),h=f+"",c===h?null:c===i&&h===o?u:(o=h,u=t(i=c,f)))}}function w9(e,t){var n=xf(e),i=n==="transform"?W7:QE;return this.attrTween(e,typeof t=="function"?(n.local?_9:S9)(n,i,X1(this,"attr."+e,t)):t==null?(n.local?m9:y9)(n):(n.local?b9:v9)(n,i,t))}function M9(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}function T9(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}function E9(e,t){var n,i;function o(){var u=t.apply(this,arguments);return u!==i&&(n=(i=u)&&T9(e,u)),n}return o._value=t,o}function x9(e,t){var n,i;function o(){var u=t.apply(this,arguments);return u!==i&&(n=(i=u)&&M9(e,u)),n}return o._value=t,o}function O9(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(t==null)return this.tween(n,null);if(typeof t!="function")throw new Error;var i=xf(e);return this.tween(n,(i.local?E9:x9)(i,t))}function C9(e,t){return function(){Q1(this,e).delay=+t.apply(this,arguments)}}function k9(e,t){return t=+t,function(){Q1(this,e).delay=t}}function A9(e){var t=this._id;return arguments.length?this.each((typeof e=="function"?C9:k9)(t,e)):Xn(this.node(),t).delay}function D9(e,t){return function(){sr(this,e).duration=+t.apply(this,arguments)}}function N9(e,t){return t=+t,function(){sr(this,e).duration=t}}function R9(e){var t=this._id;return arguments.length?this.each((typeof e=="function"?D9:N9)(t,e)):Xn(this.node(),t).duration}function z9(e,t){if(typeof t!="function")throw new Error;return function(){sr(this,e).ease=t}}function L9(e){var t=this._id;return arguments.length?this.each(z9(t,e)):Xn(this.node(),t).ease}function I9(e,t){return function(){var n=t.apply(this,arguments);if(typeof n!="function")throw new Error;sr(this,e).ease=n}}function q9(e){if(typeof e!="function")throw new Error;return this.each(I9(this._id,e))}function U9(e){typeof e!="function"&&(e=xE(e));for(var t=this._groups,n=t.length,i=new Array(n),o=0;o<n;++o)for(var u=t[o],c=u.length,f=i[o]=[],h,g=0;g<c;++g)(h=u[g])&&e.call(h,h.__data__,g,u)&&f.push(h);return new Vr(i,this._parents,this._name,this._id)}function j9(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,n=e._groups,i=t.length,o=n.length,u=Math.min(i,o),c=new Array(i),f=0;f<u;++f)for(var h=t[f],g=n[f],p=h.length,m=c[f]=new Array(p),v,S=0;S<p;++S)(v=h[S]||g[S])&&(m[S]=v);for(;f<i;++f)c[f]=t[f];return new Vr(c,this._parents,this._name,this._id)}function H9(e){return(e+"").trim().split(/^|\s+/).every(function(t){var n=t.indexOf(".");return n>=0&&(t=t.slice(0,n)),!t||t==="start"})}function B9(e,t,n){var i,o,u=H9(t)?Q1:sr;return function(){var c=u(this,e),f=c.on;f!==i&&(o=(i=f).copy()).on(t,n),c.on=o}}function P9(e,t){var n=this._id;return arguments.length<2?Xn(this.node(),n).on.on(e):this.each(B9(n,e,t))}function $9(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function Y9(){return this.on("end.remove",$9(this._id))}function V9(e){var t=this._name,n=this._id;typeof e!="function"&&(e=P1(e));for(var i=this._groups,o=i.length,u=new Array(o),c=0;c<o;++c)for(var f=i[c],h=f.length,g=u[c]=new Array(h),p,m,v=0;v<h;++v)(p=f[v])&&(m=e.call(p,p.__data__,v,f))&&("__data__"in p&&(m.__data__=p.__data__),g[v]=m,Cf(g[v],t,n,v,g,Xn(p,n)));return new Vr(u,this._parents,t,n)}function F9(e){var t=this._name,n=this._id;typeof e!="function"&&(e=EE(e));for(var i=this._groups,o=i.length,u=[],c=[],f=0;f<o;++f)for(var h=i[f],g=h.length,p,m=0;m<g;++m)if(p=h[m]){for(var v=e.call(p,p.__data__,m,h),S,M=Xn(p,n),b=0,w=v.length;b<w;++b)(S=v[b])&&Cf(S,t,n,b,v,M);u.push(v),c.push(p)}return new Vr(u,c,t,n)}var G9=qu.prototype.constructor;function Q9(){return new G9(this._groups,this._parents)}function X9(e,t){var n,i,o;return function(){var u=Yo(this,e),c=(this.style.removeProperty(e),Yo(this,e));return u===c?null:u===n&&c===i?o:o=t(n=u,i=c)}}function XE(e){return function(){this.style.removeProperty(e)}}function K9(e,t,n){var i,o=n+"",u;return function(){var c=Yo(this,e);return c===o?null:c===i?u:u=t(i=c,n)}}function Z9(e,t,n){var i,o,u;return function(){var c=Yo(this,e),f=n(this),h=f+"";return f==null&&(h=f=(this.style.removeProperty(e),Yo(this,e))),c===h?null:c===i&&h===o?u:(o=h,u=t(i=c,f))}}function J9(e,t){var n,i,o,u="style."+t,c="end."+u,f;return function(){var h=sr(this,e),g=h.on,p=h.value[u]==null?f||(f=XE(t)):void 0;(g!==n||o!==p)&&(i=(n=g).copy()).on(c,o=p),h.on=i}}function W9(e,t,n){var i=(e+="")=="transform"?J7:QE;return t==null?this.styleTween(e,X9(e,i)).on("end.style."+e,XE(e)):typeof t=="function"?this.styleTween(e,Z9(e,i,X1(this,"style."+e,t))).each(J9(this._id,e)):this.styleTween(e,K9(e,i,t),n).on("end.style."+e,null)}function ez(e,t,n){return function(i){this.style.setProperty(e,t.call(this,i),n)}}function tz(e,t,n){var i,o;function u(){var c=t.apply(this,arguments);return c!==o&&(i=(o=c)&&ez(e,c,n)),i}return u._value=t,u}function nz(e,t,n){var i="style."+(e+="");if(arguments.length<2)return(i=this.tween(i))&&i._value;if(t==null)return this.tween(i,null);if(typeof t!="function")throw new Error;return this.tween(i,tz(e,t,n??""))}function rz(e){return function(){this.textContent=e}}function iz(e){return function(){var t=e(this);this.textContent=t??""}}function az(e){return this.tween("text",typeof e=="function"?iz(X1(this,"text",e)):rz(e==null?"":e+""))}function oz(e){return function(t){this.textContent=e.call(this,t)}}function lz(e){var t,n;function i(){var o=e.apply(this,arguments);return o!==n&&(t=(n=o)&&oz(o)),t}return i._value=e,i}function uz(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(e==null)return this.tween(t,null);if(typeof e!="function")throw new Error;return this.tween(t,lz(e))}function sz(){for(var e=this._name,t=this._id,n=KE(),i=this._groups,o=i.length,u=0;u<o;++u)for(var c=i[u],f=c.length,h,g=0;g<f;++g)if(h=c[g]){var p=Xn(h,t);Cf(h,e,n,g,c,{time:p.time+p.delay+p.duration,delay:0,duration:p.duration,ease:p.ease})}return new Vr(i,this._parents,e,n)}function cz(){var e,t,n=this,i=n._id,o=n.size();return new Promise(function(u,c){var f={value:c},h={value:function(){--o===0&&u()}};n.each(function(){var g=sr(this,i),p=g.on;p!==e&&(t=(e=p).copy(),t._.cancel.push(f),t._.interrupt.push(f),t._.end.push(h)),g.on=t}),o===0&&u()})}var fz=0;function Vr(e,t,n,i){this._groups=e,this._parents=t,this._name=n,this._id=i}function KE(){return++fz}var Ar=qu.prototype;Vr.prototype={constructor:Vr,select:V9,selectAll:F9,selectChild:Ar.selectChild,selectChildren:Ar.selectChildren,filter:U9,merge:j9,selection:Q9,transition:sz,call:Ar.call,nodes:Ar.nodes,node:Ar.node,size:Ar.size,empty:Ar.empty,each:Ar.each,on:P9,attr:w9,attrTween:O9,style:W9,styleTween:nz,text:az,textTween:uz,remove:Y9,tween:p9,delay:A9,duration:R9,ease:L9,easeVarying:q9,end:cz,[Symbol.iterator]:Ar[Symbol.iterator]};function hz(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var dz={time:null,delay:0,duration:250,ease:hz};function gz(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw new Error(`transition ${t} not found`);return n}function pz(e){var t,n;e instanceof Vr?(t=e._id,e=e._name):(t=KE(),(n=dz).time=G1(),e=e==null?null:e+"");for(var i=this._groups,o=i.length,u=0;u<o;++u)for(var c=i[u],f=c.length,h,g=0;g<f;++g)(h=c[g])&&Cf(h,e,t,g,c,n||gz(h,t));return new Vr(i,this._parents,e,t)}qu.prototype.interrupt=h9;qu.prototype.transition=pz;const vc=e=>()=>e;function yz(e,{sourceEvent:t,target:n,transform:i,dispatch:o}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:i,enumerable:!0,configurable:!0},_:{value:o}})}function jr(e,t,n){this.k=e,this.x=t,this.y=n}jr.prototype={constructor:jr,scale:function(e){return e===1?this:new jr(this.k*e,this.x,this.y)},translate:function(e,t){return e===0&t===0?this:new jr(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var K1=new jr(1,0,0);mz.prototype=jr.prototype;function mz(e){for(;!e.__zoom;)if(!(e=e.parentNode))return K1;return e.__zoom}function Eg(e){e.stopImmediatePropagation()}function iu(e){e.preventDefault(),e.stopImmediatePropagation()}function vz(e){return(!e.ctrlKey||e.type==="wheel")&&!e.button}function bz(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e,e.hasAttribute("viewBox")?(e=e.viewBox.baseVal,[[e.x,e.y],[e.x+e.width,e.y+e.height]]):[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]):[[0,0],[e.clientWidth,e.clientHeight]]}function BS(){return this.__zoom||K1}function Sz(e){return-e.deltaY*(e.deltaMode===1?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function _z(){return navigator.maxTouchPoints||"ontouchstart"in this}function wz(e,t,n){var i=e.invertX(t[0][0])-n[0][0],o=e.invertX(t[1][0])-n[1][0],u=e.invertY(t[0][1])-n[0][1],c=e.invertY(t[1][1])-n[1][1];return e.translate(o>i?(i+o)/2:Math.min(0,i)||Math.max(0,o),c>u?(u+c)/2:Math.min(0,u)||Math.max(0,c))}function zG(){var e=vz,t=bz,n=wz,i=Sz,o=_z,u=[0,1/0],c=[[-1/0,-1/0],[1/0,1/0]],f=250,h=r9,g=Ef("start","zoom","end"),p,m,v,S=500,M=150,b=0,w=10;function E(q){q.property("__zoom",BS).on("wheel.zoom",N,{passive:!1}).on("mousedown.zoom",P).on("dblclick.zoom",Z).filter(o).on("touchstart.zoom",W).on("touchmove.zoom",G).on("touchend.zoom touchcancel.zoom",ue).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}E.transform=function(q,re,R,F){var ie=q.selection?q.selection():q;ie.property("__zoom",BS),q!==ie?C(q,re,R,F):ie.interrupt().each(function(){O(this,arguments).event(F).start().zoom(null,typeof re=="function"?re.apply(this,arguments):re).end()})},E.scaleBy=function(q,re,R,F){E.scaleTo(q,function(){var ie=this.__zoom.k,se=typeof re=="function"?re.apply(this,arguments):re;return ie*se},R,F)},E.scaleTo=function(q,re,R,F){E.transform(q,function(){var ie=t.apply(this,arguments),se=this.__zoom,K=R==null?T(ie):typeof R=="function"?R.apply(this,arguments):R,z=se.invert(K),Q=typeof re=="function"?re.apply(this,arguments):re;return n(k(A(se,Q),K,z),ie,c)},R,F)},E.translateBy=function(q,re,R,F){E.transform(q,function(){return n(this.__zoom.translate(typeof re=="function"?re.apply(this,arguments):re,typeof R=="function"?R.apply(this,arguments):R),t.apply(this,arguments),c)},null,F)},E.translateTo=function(q,re,R,F,ie){E.transform(q,function(){var se=t.apply(this,arguments),K=this.__zoom,z=F==null?T(se):typeof F=="function"?F.apply(this,arguments):F;return n(K1.translate(z[0],z[1]).scale(K.k).translate(typeof re=="function"?-re.apply(this,arguments):-re,typeof R=="function"?-R.apply(this,arguments):-R),se,c)},F,ie)};function A(q,re){return re=Math.max(u[0],Math.min(u[1],re)),re===q.k?q:new jr(re,q.x,q.y)}function k(q,re,R){var F=re[0]-R[0]*q.k,ie=re[1]-R[1]*q.k;return F===q.x&&ie===q.y?q:new jr(q.k,F,ie)}function T(q){return[(+q[0][0]+ +q[1][0])/2,(+q[0][1]+ +q[1][1])/2]}function C(q,re,R,F){q.on("start.zoom",function(){O(this,arguments).event(F).start()}).on("interrupt.zoom end.zoom",function(){O(this,arguments).event(F).end()}).tween("zoom",function(){var ie=this,se=arguments,K=O(ie,se).event(F),z=t.apply(ie,se),Q=R==null?T(z):typeof R=="function"?R.apply(ie,se):R,oe=Math.max(z[1][0]-z[0][0],z[1][1]-z[0][1]),le=ie.__zoom,ce=typeof re=="function"?re.apply(ie,se):re,he=h(le.invert(Q).concat(oe/le.k),ce.invert(Q).concat(oe/ce.k));return function(ve){if(ve===1)ve=ce;else{var Ae=he(ve),ne=oe/Ae[2];ve=new jr(ne,Q[0]-Ae[0]*ne,Q[1]-Ae[1]*ne)}K.zoom(null,ve)}})}function O(q,re,R){return!R&&q.__zooming||new D(q,re)}function D(q,re){this.that=q,this.args=re,this.active=0,this.sourceEvent=null,this.extent=t.apply(q,re),this.taps=0}D.prototype={event:function(q){return q&&(this.sourceEvent=q),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(q,re){return this.mouse&&q!=="mouse"&&(this.mouse[1]=re.invert(this.mouse[0])),this.touch0&&q!=="touch"&&(this.touch0[1]=re.invert(this.touch0[0])),this.touch1&&q!=="touch"&&(this.touch1[1]=re.invert(this.touch1[0])),this.that.__zoom=re,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(q){var re=Ur(this.that).datum();g.call(q,this.that,new yz(q,{sourceEvent:this.sourceEvent,target:E,transform:this.that.__zoom,dispatch:g}),re)}};function N(q,...re){if(!e.apply(this,arguments))return;var R=O(this,re).event(q),F=this.__zoom,ie=Math.max(u[0],Math.min(u[1],F.k*Math.pow(2,i.apply(this,arguments)))),se=Rr(q);if(R.wheel)(R.mouse[0][0]!==se[0]||R.mouse[0][1]!==se[1])&&(R.mouse[1]=F.invert(R.mouse[0]=se)),clearTimeout(R.wheel);else{if(F.k===ie)return;R.mouse=[se,F.invert(se)],Rc(this),R.start()}iu(q),R.wheel=setTimeout(K,M),R.zoom("mouse",n(k(A(F,ie),R.mouse[0],R.mouse[1]),R.extent,c));function K(){R.wheel=null,R.end()}}function P(q,...re){if(v||!e.apply(this,arguments))return;var R=q.currentTarget,F=O(this,re,!0).event(q),ie=Ur(q.view).on("mousemove.zoom",Q,!0).on("mouseup.zoom",oe,!0),se=Rr(q,R),K=q.clientX,z=q.clientY;IE(q.view),Eg(q),F.mouse=[se,this.__zoom.invert(se)],Rc(this),F.start();function Q(le){if(iu(le),!F.moved){var ce=le.clientX-K,he=le.clientY-z;F.moved=ce*ce+he*he>b}F.event(le).zoom("mouse",n(k(F.that.__zoom,F.mouse[0]=Rr(le,R),F.mouse[1]),F.extent,c))}function oe(le){ie.on("mousemove.zoom mouseup.zoom",null),qE(le.view,F.moved),iu(le),F.event(le).end()}}function Z(q,...re){if(e.apply(this,arguments)){var R=this.__zoom,F=Rr(q.changedTouches?q.changedTouches[0]:q,this),ie=R.invert(F),se=R.k*(q.shiftKey?.5:2),K=n(k(A(R,se),F,ie),t.apply(this,re),c);iu(q),f>0?Ur(this).transition().duration(f).call(C,K,F,q):Ur(this).call(E.transform,K,F,q)}}function W(q,...re){if(e.apply(this,arguments)){var R=q.touches,F=R.length,ie=O(this,re,q.changedTouches.length===F).event(q),se,K,z,Q;for(Eg(q),K=0;K<F;++K)z=R[K],Q=Rr(z,this),Q=[Q,this.__zoom.invert(Q),z.identifier],ie.touch0?!ie.touch1&&ie.touch0[2]!==Q[2]&&(ie.touch1=Q,ie.taps=0):(ie.touch0=Q,se=!0,ie.taps=1+!!p);p&&(p=clearTimeout(p)),se&&(ie.taps<2&&(m=Q[0],p=setTimeout(function(){p=null},S)),Rc(this),ie.start())}}function G(q,...re){if(this.__zooming){var R=O(this,re).event(q),F=q.changedTouches,ie=F.length,se,K,z,Q;for(iu(q),se=0;se<ie;++se)K=F[se],z=Rr(K,this),R.touch0&&R.touch0[2]===K.identifier?R.touch0[0]=z:R.touch1&&R.touch1[2]===K.identifier&&(R.touch1[0]=z);if(K=R.that.__zoom,R.touch1){var oe=R.touch0[0],le=R.touch0[1],ce=R.touch1[0],he=R.touch1[1],ve=(ve=ce[0]-oe[0])*ve+(ve=ce[1]-oe[1])*ve,Ae=(Ae=he[0]-le[0])*Ae+(Ae=he[1]-le[1])*Ae;K=A(K,Math.sqrt(ve/Ae)),z=[(oe[0]+ce[0])/2,(oe[1]+ce[1])/2],Q=[(le[0]+he[0])/2,(le[1]+he[1])/2]}else if(R.touch0)z=R.touch0[0],Q=R.touch0[1];else return;R.zoom("touch",n(k(K,z,Q),R.extent,c))}}function ue(q,...re){if(this.__zooming){var R=O(this,re).event(q),F=q.changedTouches,ie=F.length,se,K;for(Eg(q),v&&clearTimeout(v),v=setTimeout(function(){v=null},S),se=0;se<ie;++se)K=F[se],R.touch0&&R.touch0[2]===K.identifier?delete R.touch0:R.touch1&&R.touch1[2]===K.identifier&&delete R.touch1;if(R.touch1&&!R.touch0&&(R.touch0=R.touch1,delete R.touch1),R.touch0)R.touch0[1]=this.__zoom.invert(R.touch0[0]);else if(R.end(),R.taps===2&&(K=Rr(K,this),Math.hypot(m[0]-K[0],m[1]-K[1])<w)){var z=Ur(this).on("dblclick.zoom");z&&z.apply(this,arguments)}}}return E.wheelDelta=function(q){return arguments.length?(i=typeof q=="function"?q:vc(+q),E):i},E.filter=function(q){return arguments.length?(e=typeof q=="function"?q:vc(!!q),E):e},E.touchable=function(q){return arguments.length?(o=typeof q=="function"?q:vc(!!q),E):o},E.extent=function(q){return arguments.length?(t=typeof q=="function"?q:vc([[+q[0][0],+q[0][1]],[+q[1][0],+q[1][1]]]),E):t},E.scaleExtent=function(q){return arguments.length?(u[0]=+q[0],u[1]=+q[1],E):[u[0],u[1]]},E.translateExtent=function(q){return arguments.length?(c[0][0]=+q[0][0],c[1][0]=+q[1][0],c[0][1]=+q[0][1],c[1][1]=+q[1][1],E):[[c[0][0],c[0][1]],[c[1][0],c[1][1]]]},E.constrain=function(q){return arguments.length?(n=q,E):n},E.duration=function(q){return arguments.length?(f=+q,E):f},E.interpolate=function(q){return arguments.length?(h=q,E):h},E.on=function(){var q=g.on.apply(g,arguments);return q===g?E:q},E.clickDistance=function(q){return arguments.length?(b=(q=+q)*q,E):Math.sqrt(b)},E.tapDistance=function(q){return arguments.length?(w=+q,E):w},E}var xg={exports:{}},Og={},Cg={exports:{}},kg={};/**
|
|
1029
1039
|
* @license React
|
|
1030
1040
|
* use-sync-external-store-shim.production.js
|
|
1031
1041
|
*
|
|
@@ -1033,7 +1043,7 @@ Please change the parent <Route path="${E}"> to <Route path="${E==="/"?"*":`${E}
|
|
|
1033
1043
|
*
|
|
1034
1044
|
* This source code is licensed under the MIT license found in the
|
|
1035
1045
|
* LICENSE file in the root directory of this source tree.
|
|
1036
|
-
*/var PS;function
|
|
1046
|
+
*/var PS;function Mz(){if(PS)return kg;PS=1;var e=Jo();function t(m,v){return m===v&&(m!==0||1/m===1/v)||m!==m&&v!==v}var n=typeof Object.is=="function"?Object.is:t,i=e.useState,o=e.useEffect,u=e.useLayoutEffect,c=e.useDebugValue;function f(m,v){var S=v(),M=i({inst:{value:S,getSnapshot:v}}),b=M[0].inst,w=M[1];return u(function(){b.value=S,b.getSnapshot=v,h(b)&&w({inst:b})},[m,S,v]),o(function(){return h(b)&&w({inst:b}),m(function(){h(b)&&w({inst:b})})},[m]),c(S),S}function h(m){var v=m.getSnapshot;m=m.value;try{var S=v();return!n(m,S)}catch{return!0}}function g(m,v){return v()}var p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?g:f;return kg.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:p,kg}var $S;function ZE(){return $S||($S=1,Cg.exports=Mz()),Cg.exports}/**
|
|
1037
1047
|
* @license React
|
|
1038
1048
|
* use-sync-external-store-shim/with-selector.production.js
|
|
1039
1049
|
*
|
|
@@ -1041,7 +1051,7 @@ Please change the parent <Route path="${E}"> to <Route path="${E==="/"?"*":`${E}
|
|
|
1041
1051
|
*
|
|
1042
1052
|
* This source code is licensed under the MIT license found in the
|
|
1043
1053
|
* LICENSE file in the root directory of this source tree.
|
|
1044
|
-
*/var YS;function wz(){if(YS)return Og;YS=1;var e=Jo(),t=ZE();function n(g,p){return g===p&&(g!==0||1/g===1/p)||g!==g&&p!==p}var i=typeof Object.is=="function"?Object.is:n,o=t.useSyncExternalStore,u=e.useRef,c=e.useEffect,f=e.useMemo,h=e.useDebugValue;return Og.useSyncExternalStoreWithSelector=function(g,p,m,v,S){var M=u(null);if(M.current===null){var b={hasValue:!1,value:null};M.current=b}else b=M.current;M=f(function(){function E(O){if(!A){if(A=!0,k=O,O=v(O),S!==void 0&&b.hasValue){var D=b.value;if(S(D,O))return T=D}return T=O}if(D=T,i(k,O))return D;var N=v(O);return S!==void 0&&S(D,N)?(k=O,D):(k=O,T=N)}var A=!1,k,T,C=m===void 0?null:m;return[function(){return E(p())},C===null?void 0:function(){return E(C())}]},[p,m,v,S]);var w=o(g,M[0],M[1]);return c(function(){b.hasValue=!0,b.value=w},[w]),h(w),w},Og}var VS;function Mz(){return VS||(VS=1,xg.exports=wz()),xg.exports}var Tz=Mz();const DG=Zt(Tz);var bc={exports:{}},FS;function Ez(){if(FS)return bc.exports;FS=1;var e=typeof Reflect=="object"?Reflect:null,t=e&&typeof e.apply=="function"?e.apply:function(C,O,D){return Function.prototype.apply.call(C,O,D)},n;e&&typeof e.ownKeys=="function"?n=e.ownKeys:Object.getOwnPropertySymbols?n=function(C){return Object.getOwnPropertyNames(C).concat(Object.getOwnPropertySymbols(C))}:n=function(C){return Object.getOwnPropertyNames(C)};function i(T){console&&console.warn&&console.warn(T)}var o=Number.isNaN||function(C){return C!==C};function u(){u.init.call(this)}bc.exports=u,bc.exports.once=E,u.EventEmitter=u,u.prototype._events=void 0,u.prototype._eventsCount=0,u.prototype._maxListeners=void 0;var c=10;function f(T){if(typeof T!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof T)}Object.defineProperty(u,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(T){if(typeof T!="number"||T<0||o(T))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+T+".");c=T}}),u.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},u.prototype.setMaxListeners=function(C){if(typeof C!="number"||C<0||o(C))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+C+".");return this._maxListeners=C,this};function h(T){return T._maxListeners===void 0?u.defaultMaxListeners:T._maxListeners}u.prototype.getMaxListeners=function(){return h(this)},u.prototype.emit=function(C){for(var O=[],D=1;D<arguments.length;D++)O.push(arguments[D]);var N=C==="error",P=this._events;if(P!==void 0)N=N&&P.error===void 0;else if(!N)return!1;if(N){var Z;if(O.length>0&&(Z=O[0]),Z instanceof Error)throw Z;var W=new Error("Unhandled error."+(Z?" ("+Z.message+")":""));throw W.context=Z,W}var G=P[C];if(G===void 0)return!1;if(typeof G=="function")t(G,this,O);else for(var ue=G.length,q=M(G,ue),D=0;D<ue;++D)t(q[D],this,O);return!0};function g(T,C,O,D){var N,P,Z;if(f(O),P=T._events,P===void 0?(P=T._events=Object.create(null),T._eventsCount=0):(P.newListener!==void 0&&(T.emit("newListener",C,O.listener?O.listener:O),P=T._events),Z=P[C]),Z===void 0)Z=P[C]=O,++T._eventsCount;else if(typeof Z=="function"?Z=P[C]=D?[O,Z]:[Z,O]:D?Z.unshift(O):Z.push(O),N=h(T),N>0&&Z.length>N&&!Z.warned){Z.warned=!0;var W=new Error("Possible EventEmitter memory leak detected. "+Z.length+" "+String(C)+" listeners added. Use emitter.setMaxListeners() to increase limit");W.name="MaxListenersExceededWarning",W.emitter=T,W.type=C,W.count=Z.length,i(W)}return T}u.prototype.addListener=function(C,O){return g(this,C,O,!1)},u.prototype.on=u.prototype.addListener,u.prototype.prependListener=function(C,O){return g(this,C,O,!0)};function p(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function m(T,C,O){var D={fired:!1,wrapFn:void 0,target:T,type:C,listener:O},N=p.bind(D);return N.listener=O,D.wrapFn=N,N}u.prototype.once=function(C,O){return f(O),this.on(C,m(this,C,O)),this},u.prototype.prependOnceListener=function(C,O){return f(O),this.prependListener(C,m(this,C,O)),this},u.prototype.removeListener=function(C,O){var D,N,P,Z,W;if(f(O),N=this._events,N===void 0)return this;if(D=N[C],D===void 0)return this;if(D===O||D.listener===O)--this._eventsCount===0?this._events=Object.create(null):(delete N[C],N.removeListener&&this.emit("removeListener",C,D.listener||O));else if(typeof D!="function"){for(P=-1,Z=D.length-1;Z>=0;Z--)if(D[Z]===O||D[Z].listener===O){W=D[Z].listener,P=Z;break}if(P<0)return this;P===0?D.shift():b(D,P),D.length===1&&(N[C]=D[0]),N.removeListener!==void 0&&this.emit("removeListener",C,W||O)}return this},u.prototype.off=u.prototype.removeListener,u.prototype.removeAllListeners=function(C){var O,D,N;if(D=this._events,D===void 0)return this;if(D.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):D[C]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete D[C]),this;if(arguments.length===0){var P=Object.keys(D),Z;for(N=0;N<P.length;++N)Z=P[N],Z!=="removeListener"&&this.removeAllListeners(Z);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(O=D[C],typeof O=="function")this.removeListener(C,O);else if(O!==void 0)for(N=O.length-1;N>=0;N--)this.removeListener(C,O[N]);return this};function v(T,C,O){var D=T._events;if(D===void 0)return[];var N=D[C];return N===void 0?[]:typeof N=="function"?O?[N.listener||N]:[N]:O?w(N):M(N,N.length)}u.prototype.listeners=function(C){return v(this,C,!0)},u.prototype.rawListeners=function(C){return v(this,C,!1)},u.listenerCount=function(T,C){return typeof T.listenerCount=="function"?T.listenerCount(C):S.call(T,C)},u.prototype.listenerCount=S;function S(T){var C=this._events;if(C!==void 0){var O=C[T];if(typeof O=="function")return 1;if(O!==void 0)return O.length}return 0}u.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]};function M(T,C){for(var O=new Array(C),D=0;D<C;++D)O[D]=T[D];return O}function b(T,C){for(;C+1<T.length;C++)T[C]=T[C+1];T.pop()}function w(T){for(var C=new Array(T.length),O=0;O<C.length;++O)C[O]=T[O].listener||T[O];return C}function E(T,C){return new Promise(function(O,D){function N(Z){T.removeListener(C,P),D(Z)}function P(){typeof T.removeListener=="function"&&T.removeListener("error",N),O([].slice.call(arguments))}k(T,C,P,{once:!0}),C!=="error"&&A(T,N,{once:!0})})}function A(T,C,O){typeof T.on=="function"&&k(T,"error",C,O)}function k(T,C,O,D){if(typeof T.on=="function")D.once?T.once(C,O):T.on(C,O);else if(typeof T.addEventListener=="function")T.addEventListener(C,function N(P){D.once&&T.removeEventListener(C,N),O(P)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof T)}return bc.exports}var NG=Ez();function We(e){return function(){return e}}const JE=Math.cos,nf=Math.sin,Kn=Math.sqrt,rf=Math.PI,kf=2*rf,n1=Math.PI,r1=2*n1,aa=1e-6,xz=r1-aa;function WE(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function Oz(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return WE;const n=10**t;return function(i){this._+=i[0];for(let o=1,u=i.length;o<u;++o)this._+=Math.round(arguments[o]*n)/n+i[o]}}class Cz{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?WE:Oz(t)}moveTo(t,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,n){this._append`L${this._x1=+t},${this._y1=+n}`}quadraticCurveTo(t,n,i,o){this._append`Q${+t},${+n},${this._x1=+i},${this._y1=+o}`}bezierCurveTo(t,n,i,o,u,c){this._append`C${+t},${+n},${+i},${+o},${this._x1=+u},${this._y1=+c}`}arcTo(t,n,i,o,u){if(t=+t,n=+n,i=+i,o=+o,u=+u,u<0)throw new Error(`negative radius: ${u}`);let c=this._x1,f=this._y1,h=i-t,g=o-n,p=c-t,m=f-n,v=p*p+m*m;if(this._x1===null)this._append`M${this._x1=t},${this._y1=n}`;else if(v>aa)if(!(Math.abs(m*h-g*p)>aa)||!u)this._append`L${this._x1=t},${this._y1=n}`;else{let S=i-c,M=o-f,b=h*h+g*g,w=S*S+M*M,E=Math.sqrt(b),A=Math.sqrt(v),k=u*Math.tan((n1-Math.acos((b+v-w)/(2*E*A)))/2),T=k/A,C=k/E;Math.abs(T-1)>aa&&this._append`L${t+T*p},${n+T*m}`,this._append`A${u},${u},0,0,${+(m*S>p*M)},${this._x1=t+C*h},${this._y1=n+C*g}`}}arc(t,n,i,o,u,c){if(t=+t,n=+n,i=+i,c=!!c,i<0)throw new Error(`negative radius: ${i}`);let f=i*Math.cos(o),h=i*Math.sin(o),g=t+f,p=n+h,m=1^c,v=c?o-u:u-o;this._x1===null?this._append`M${g},${p}`:(Math.abs(this._x1-g)>aa||Math.abs(this._y1-p)>aa)&&this._append`L${g},${p}`,i&&(v<0&&(v=v%r1+r1),v>xz?this._append`A${i},${i},0,1,${m},${t-f},${n-h}A${i},${i},0,1,${m},${this._x1=g},${this._y1=p}`:v>aa&&this._append`A${i},${i},0,${+(v>=n1)},${m},${this._x1=t+i*Math.cos(u)},${this._y1=n+i*Math.sin(u)}`)}rect(t,n,i,o){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${i=+i}v${+o}h${-i}Z`}toString(){return this._}}function Z1(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{const i=Math.floor(n);if(!(i>=0))throw new RangeError(`invalid digits: ${n}`);t=i}return e},()=>new Cz(t)}function J1(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function e3(e){this._context=e}e3.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function t3(e){return new e3(e)}function n3(e){return e[0]}function r3(e){return e[1]}function kz(e,t){var n=We(!0),i=null,o=t3,u=null,c=Z1(f);e=typeof e=="function"?e:e===void 0?n3:We(e),t=typeof t=="function"?t:t===void 0?r3:We(t);function f(h){var g,p=(h=J1(h)).length,m,v=!1,S;for(i==null&&(u=o(S=c())),g=0;g<=p;++g)!(g<p&&n(m=h[g],g,h))===v&&((v=!v)?u.lineStart():u.lineEnd()),v&&u.point(+e(m,g,h),+t(m,g,h));if(S)return u=null,S+""||null}return f.x=function(h){return arguments.length?(e=typeof h=="function"?h:We(+h),f):e},f.y=function(h){return arguments.length?(t=typeof h=="function"?h:We(+h),f):t},f.defined=function(h){return arguments.length?(n=typeof h=="function"?h:We(!!h),f):n},f.curve=function(h){return arguments.length?(o=h,i!=null&&(u=o(i)),f):o},f.context=function(h){return arguments.length?(h==null?i=u=null:u=o(i=h),f):i},f}function RG(e,t,n){var i=null,o=We(!0),u=null,c=t3,f=null,h=Z1(g);e=typeof e=="function"?e:e===void 0?n3:We(+e),t=typeof t=="function"?t:We(t===void 0?0:+t),n=typeof n=="function"?n:n===void 0?r3:We(+n);function g(m){var v,S,M,b=(m=J1(m)).length,w,E=!1,A,k=new Array(b),T=new Array(b);for(u==null&&(f=c(A=h())),v=0;v<=b;++v){if(!(v<b&&o(w=m[v],v,m))===E)if(E=!E)S=v,f.areaStart(),f.lineStart();else{for(f.lineEnd(),f.lineStart(),M=v-1;M>=S;--M)f.point(k[M],T[M]);f.lineEnd(),f.areaEnd()}E&&(k[v]=+e(w,v,m),T[v]=+t(w,v,m),f.point(i?+i(w,v,m):k[v],n?+n(w,v,m):T[v]))}if(A)return f=null,A+""||null}function p(){return kz().defined(o).curve(c).context(u)}return g.x=function(m){return arguments.length?(e=typeof m=="function"?m:We(+m),i=null,g):e},g.x0=function(m){return arguments.length?(e=typeof m=="function"?m:We(+m),g):e},g.x1=function(m){return arguments.length?(i=m==null?null:typeof m=="function"?m:We(+m),g):i},g.y=function(m){return arguments.length?(t=typeof m=="function"?m:We(+m),n=null,g):t},g.y0=function(m){return arguments.length?(t=typeof m=="function"?m:We(+m),g):t},g.y1=function(m){return arguments.length?(n=m==null?null:typeof m=="function"?m:We(+m),g):n},g.lineX0=g.lineY0=function(){return p().x(e).y(t)},g.lineY1=function(){return p().x(e).y(n)},g.lineX1=function(){return p().x(i).y(t)},g.defined=function(m){return arguments.length?(o=typeof m=="function"?m:We(!!m),g):o},g.curve=function(m){return arguments.length?(c=m,u!=null&&(f=c(u)),g):c},g.context=function(m){return arguments.length?(m==null?u=f=null:f=c(u=m),g):u},g}class i3{constructor(t,n){this._context=t,this._x=n}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(t,n){switch(t=+t,n=+n,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,n,t,n):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+n)/2,t,this._y0,t,n);break}}this._x0=t,this._y0=n}}function zG(e){return new i3(e,!0)}function LG(e){return new i3(e,!1)}const Az={draw(e,t){const n=Kn(t/rf);e.moveTo(n,0),e.arc(0,0,n,0,kf)}},IG={draw(e,t){const n=Kn(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},a3=Kn(1/3),Dz=a3*2,qG={draw(e,t){const n=Kn(t/Dz),i=n*a3;e.moveTo(0,-n),e.lineTo(i,0),e.lineTo(0,n),e.lineTo(-i,0),e.closePath()}},UG={draw(e,t){const n=Kn(t),i=-n/2;e.rect(i,i,n,n)}},Nz=.8908130915292852,o3=nf(rf/10)/nf(7*rf/10),Rz=nf(kf/10)*o3,zz=-JE(kf/10)*o3,jG={draw(e,t){const n=Kn(t*Nz),i=Rz*n,o=zz*n;e.moveTo(0,-n),e.lineTo(i,o);for(let u=1;u<5;++u){const c=kf*u/5,f=JE(c),h=nf(c);e.lineTo(h*n,-f*n),e.lineTo(f*i-h*o,h*i+f*o)}e.closePath()}},Ag=Kn(3),HG={draw(e,t){const n=-Kn(t/(Ag*3));e.moveTo(0,n*2),e.lineTo(-Ag*n,-n),e.lineTo(Ag*n,-n),e.closePath()}},En=-.5,xn=Kn(3)/2,i1=1/Kn(12),Lz=(i1/2+1)*3,BG={draw(e,t){const n=Kn(t/Lz),i=n/2,o=n*i1,u=i,c=n*i1+n,f=-u,h=c;e.moveTo(i,o),e.lineTo(u,c),e.lineTo(f,h),e.lineTo(En*i-xn*o,xn*i+En*o),e.lineTo(En*u-xn*c,xn*u+En*c),e.lineTo(En*f-xn*h,xn*f+En*h),e.lineTo(En*i+xn*o,En*o-xn*i),e.lineTo(En*u+xn*c,En*c-xn*u),e.lineTo(En*f+xn*h,En*h-xn*f),e.closePath()}};function PG(e,t){let n=null,i=Z1(o);e=typeof e=="function"?e:We(e||Az),t=typeof t=="function"?t:We(t===void 0?64:+t);function o(){let u;if(n||(n=u=i()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),u)return n=null,u+""||null}return o.type=function(u){return arguments.length?(e=typeof u=="function"?u:We(u),o):e},o.size=function(u){return arguments.length?(t=typeof u=="function"?u:We(+u),o):t},o.context=function(u){return arguments.length?(n=u??null,o):n},o}function af(){}function of(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function l3(e){this._context=e}l3.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:of(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:of(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function $G(e){return new l3(e)}function u3(e){this._context=e}u3.prototype={areaStart:af,areaEnd:af,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:of(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function YG(e){return new u3(e)}function s3(e){this._context=e}s3.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,i=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,i):this._context.moveTo(n,i);break;case 3:this._point=4;default:of(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function VG(e){return new s3(e)}function c3(e){this._context=e}c3.prototype={areaStart:af,areaEnd:af,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function FG(e){return new c3(e)}function GS(e){return e<0?-1:1}function QS(e,t,n){var i=e._x1-e._x0,o=t-e._x1,u=(e._y1-e._y0)/(i||o<0&&-0),c=(n-e._y1)/(o||i<0&&-0),f=(u*o+c*i)/(i+o);return(GS(u)+GS(c))*Math.min(Math.abs(u),Math.abs(c),.5*Math.abs(f))||0}function XS(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Dg(e,t,n){var i=e._x0,o=e._y0,u=e._x1,c=e._y1,f=(u-i)/3;e._context.bezierCurveTo(i+f,o+f*t,u-f,c-f*n,u,c)}function lf(e){this._context=e}lf.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Dg(this,this._t0,XS(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,Dg(this,XS(this,n=QS(this,e,t)),n);break;default:Dg(this,this._t0,n=QS(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function f3(e){this._context=new h3(e)}(f3.prototype=Object.create(lf.prototype)).point=function(e,t){lf.prototype.point.call(this,t,e)};function h3(e){this._context=e}h3.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,i,o,u){this._context.bezierCurveTo(t,e,i,n,u,o)}};function GG(e){return new lf(e)}function QG(e){return new f3(e)}function d3(e){this._context=e}d3.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var i=KS(e),o=KS(t),u=0,c=1;c<n;++u,++c)this._context.bezierCurveTo(i[0][u],o[0][u],i[1][u],o[1][u],e[c],t[c]);(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function KS(e){var t,n=e.length-1,i,o=new Array(n),u=new Array(n),c=new Array(n);for(o[0]=0,u[0]=2,c[0]=e[0]+2*e[1],t=1;t<n-1;++t)o[t]=1,u[t]=4,c[t]=4*e[t]+2*e[t+1];for(o[n-1]=2,u[n-1]=7,c[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)i=o[t]/u[t-1],u[t]-=i,c[t]-=i*c[t-1];for(o[n-1]=c[n-1]/u[n-1],t=n-2;t>=0;--t)o[t]=(c[t]-o[t+1])/u[t];for(u[n-1]=(e[n]+o[n-1])/2,t=0;t<n-1;++t)u[t]=2*e[t+1]-o[t+1];return[o,u]}function XG(e){return new d3(e)}function Af(e,t){this._context=e,this._t=t}Af.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}break}}this._x=e,this._y=t}};function KG(e){return new Af(e,.5)}function ZG(e){return new Af(e,0)}function JG(e){return new Af(e,1)}function Mu(e,t){if((c=e.length)>1)for(var n=1,i,o,u=e[t[0]],c,f=u.length;n<c;++n)for(o=u,u=e[t[n]],i=0;i<f;++i)u[i][1]+=u[i][0]=isNaN(o[i][1])?o[i][0]:o[i][1]}function ZS(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function Iz(e,t){return e[t]}function qz(e){const t=[];return t.key=e,t}function WG(){var e=We([]),t=ZS,n=Mu,i=Iz;function o(u){var c=Array.from(e.apply(this,arguments),qz),f,h=c.length,g=-1,p;for(const m of u)for(f=0,++g;f<h;++f)(c[f][g]=[0,+i(m,c[f].key,g,u)]).data=m;for(f=0,p=J1(t(c));f<h;++f)c[p[f]].index=f;return n(c,p),c}return o.keys=function(u){return arguments.length?(e=typeof u=="function"?u:We(Array.from(u)),o):e},o.value=function(u){return arguments.length?(i=typeof u=="function"?u:We(+u),o):i},o.order=function(u){return arguments.length?(t=u==null?ZS:typeof u=="function"?u:We(Array.from(u)),o):t},o.offset=function(u){return arguments.length?(n=u??Mu,o):n},o}function eQ(e,t){if((i=e.length)>0){for(var n,i,o=0,u=e[0].length,c;o<u;++o){for(c=n=0;n<i;++n)c+=e[n][o][1]||0;if(c)for(n=0;n<i;++n)e[n][o][1]/=c}Mu(e,t)}}function tQ(e,t){if((o=e.length)>0){for(var n=0,i=e[t[0]],o,u=i.length;n<u;++n){for(var c=0,f=0;c<o;++c)f+=e[c][n][1]||0;i[n][1]+=i[n][0]=-f/2}Mu(e,t)}}function nQ(e,t){if(!(!((c=e.length)>0)||!((u=(o=e[t[0]]).length)>0))){for(var n=0,i=1,o,u,c;i<u;++i){for(var f=0,h=0,g=0;f<c;++f){for(var p=e[t[f]],m=p[i][1]||0,v=p[i-1][1]||0,S=(m-v)/2,M=0;M<f;++M){var b=e[t[M]],w=b[i][1]||0,E=b[i-1][1]||0;S+=w-E}h+=m,g+=S*m}o[i-1][1]+=o[i-1][0]=n,h&&(n-=g/h)}o[i-1][1]+=o[i-1][0]=n,Mu(e,t)}}var Ng={},Rg={},JS;function Uz(){return JS||(JS=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return n==="__proto__"}e.isUnsafeProperty=t})(Rg)),Rg}var zg={},WS;function g3(){return WS||(WS=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){switch(typeof n){case"number":case"symbol":return!1;case"string":return n.includes(".")||n.includes("[")||n.includes("]")}}e.isDeepKey=t})(zg)),zg}var Lg={},e_;function W1(){return e_||(e_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){var i;return typeof n=="string"||typeof n=="symbol"?n:Object.is((i=n==null?void 0:n.valueOf)==null?void 0:i.call(n),-0)?"-0":String(n)}e.toKey=t})(Lg)),Lg}var Ig={},qg={},t_;function jz(){return t_||(t_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){if(n==null)return"";if(typeof n=="string")return n;if(Array.isArray(n))return n.map(t).join(",");const i=String(n);return i==="0"&&Object.is(Number(n),-0)?"-0":i}e.toString=t})(qg)),qg}var n_;function ey(){return n_||(n_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=jz(),n=W1();function i(o){if(Array.isArray(o))return o.map(n.toKey);if(typeof o=="symbol")return[o];o=t.toString(o);const u=[],c=o.length;if(c===0)return u;let f=0,h="",g="",p=!1;for(o.charCodeAt(0)===46&&(u.push(""),f++);f<c;){const m=o[f];g?m==="\\"&&f+1<c?(f++,h+=o[f]):m===g?g="":h+=m:p?m==='"'||m==="'"?g=m:m==="]"?(p=!1,u.push(h),h=""):h+=m:m==="["?(p=!0,h&&(u.push(h),h="")):m==="."?h&&(u.push(h),h=""):h+=m,f++}return h&&u.push(h),u}e.toPath=i})(Ig)),Ig}var r_;function ty(){return r_||(r_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=Uz(),n=g3(),i=W1(),o=ey();function u(f,h,g){if(f==null)return g;switch(typeof h){case"string":{if(t.isUnsafeProperty(h))return g;const p=f[h];return p===void 0?n.isDeepKey(h)?u(f,o.toPath(h),g):g:p}case"number":case"symbol":{typeof h=="number"&&(h=i.toKey(h));const p=f[h];return p===void 0?g:p}default:{if(Array.isArray(h))return c(f,h,g);if(Object.is(h==null?void 0:h.valueOf(),-0)?h="-0":h=String(h),t.isUnsafeProperty(h))return g;const p=f[h];return p===void 0?g:p}}}function c(f,h,g){if(h.length===0)return g;let p=f;for(let m=0;m<h.length;m++){if(p==null||t.isUnsafeProperty(h[m]))return g;p=p[h[m]]}return p===void 0?g:p}e.get=u})(Ng)),Ng}var Ug,i_;function Hz(){return i_||(i_=1,Ug=ty().get),Ug}var Bz=Hz();const rQ=Zt(Bz);var jg={},Hg={},a_;function Pz(){return a_||(a_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n,i){const o=new Map;for(let u=0;u<n.length;u++){const c=n[u],f=i(c,u,n);o.has(f)||o.set(f,c)}return Array.from(o.values())}e.uniqBy=t})(Hg)),Hg}var Bg={},o_;function $z(){return o_||(o_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n,i){return function(...o){return n.apply(this,o.slice(0,i))}}e.ary=t})(Bg)),Bg}var Pg={},l_;function p3(){return l_||(l_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return n}e.identity=t})(Pg)),Pg}var $g={},Yg={},Vg={},u_;function Yz(){return u_||(u_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return Number.isSafeInteger(n)&&n>=0}e.isLength=t})(Vg)),Vg}var s_;function ny(){return s_||(s_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=Yz();function n(i){return i!=null&&typeof i!="function"&&t.isLength(i.length)}e.isArrayLike=n})(Yg)),Yg}var Fg={},c_;function Vz(){return c_||(c_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return typeof n=="object"&&n!==null}e.isObjectLike=t})(Fg)),Fg}var f_;function Fz(){return f_||(f_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=ny(),n=Vz();function i(o){return n.isObjectLike(o)&&t.isArrayLike(o)}e.isArrayLikeObject=i})($g)),$g}var Gg={},Qg={},h_;function Gz(){return h_||(h_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=ty();function n(i){return function(o){return t.get(o,i)}}e.property=n})(Qg)),Qg}var Xg={},Kg={},Zg={},Jg={},d_;function y3(){return d_||(d_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return n!==null&&(typeof n=="object"||typeof n=="function")}e.isObject=t})(Jg)),Jg}var Wg={},g_;function m3(){return g_||(g_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return n==null||typeof n!="object"&&typeof n!="function"}e.isPrimitive=t})(Wg)),Wg}var e0={},p_;function v3(){return p_||(p_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n,i){return n===i||Number.isNaN(n)&&Number.isNaN(i)}e.isEqualsSameValueZero=t})(e0)),e0}var y_;function Qz(){return y_||(y_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=y3(),n=m3(),i=v3();function o(p,m,v){return typeof v!="function"?o(p,m,()=>{}):u(p,m,function S(M,b,w,E,A,k){const T=v(M,b,w,E,A,k);return T!==void 0?!!T:u(M,b,S,k)},new Map)}function u(p,m,v,S){if(m===p)return!0;switch(typeof m){case"object":return c(p,m,v,S);case"function":return Object.keys(m).length>0?u(p,{...m},v,S):i.isEqualsSameValueZero(p,m);default:return t.isObject(p)?typeof m=="string"?m==="":!0:i.isEqualsSameValueZero(p,m)}}function c(p,m,v,S){if(m==null)return!0;if(Array.isArray(m))return h(p,m,v,S);if(m instanceof Map)return f(p,m,v,S);if(m instanceof Set)return g(p,m,v,S);const M=Object.keys(m);if(p==null||n.isPrimitive(p))return M.length===0;if(M.length===0)return!0;if(S!=null&&S.has(m))return S.get(m)===p;S==null||S.set(m,p);try{for(let b=0;b<M.length;b++){const w=M[b];if(!n.isPrimitive(p)&&!(w in p)||m[w]===void 0&&p[w]!==void 0||m[w]===null&&p[w]!==null||!v(p[w],m[w],w,p,m,S))return!1}return!0}finally{S==null||S.delete(m)}}function f(p,m,v,S){if(m.size===0)return!0;if(!(p instanceof Map))return!1;for(const[M,b]of m.entries()){const w=p.get(M);if(v(w,b,M,p,m,S)===!1)return!1}return!0}function h(p,m,v,S){if(m.length===0)return!0;if(!Array.isArray(p))return!1;const M=new Set;for(let b=0;b<m.length;b++){const w=m[b];let E=!1;for(let A=0;A<p.length;A++){if(M.has(A))continue;const k=p[A];let T=!1;if(v(k,w,b,p,m,S)&&(T=!0),T){M.add(A),E=!0;break}}if(!E)return!1}return!0}function g(p,m,v,S){return m.size===0?!0:p instanceof Set?h([...p],[...m],v,S):!1}e.isMatchWith=o,e.isSetMatch=g})(Zg)),Zg}var m_;function b3(){return m_||(m_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=Qz();function n(i,o){return t.isMatchWith(i,o,()=>{})}e.isMatch=n})(Kg)),Kg}var t0={},n0={},r0={},v_;function Xz(){return v_||(v_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return Object.getOwnPropertySymbols(n).filter(i=>Object.prototype.propertyIsEnumerable.call(n,i))}e.getSymbols=t})(r0)),r0}var i0={},b_;function ry(){return b_||(b_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return n==null?n===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(n)}e.getTag=t})(i0)),i0}var a0={},S_;function S3(){return S_||(S_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t="[object RegExp]",n="[object String]",i="[object Number]",o="[object Boolean]",u="[object Arguments]",c="[object Symbol]",f="[object Date]",h="[object Map]",g="[object Set]",p="[object Array]",m="[object Function]",v="[object ArrayBuffer]",S="[object Object]",M="[object Error]",b="[object DataView]",w="[object Uint8Array]",E="[object Uint8ClampedArray]",A="[object Uint16Array]",k="[object Uint32Array]",T="[object BigUint64Array]",C="[object Int8Array]",O="[object Int16Array]",D="[object Int32Array]",N="[object BigInt64Array]",P="[object Float32Array]",Z="[object Float64Array]";e.argumentsTag=u,e.arrayBufferTag=v,e.arrayTag=p,e.bigInt64ArrayTag=N,e.bigUint64ArrayTag=T,e.booleanTag=o,e.dataViewTag=b,e.dateTag=f,e.errorTag=M,e.float32ArrayTag=P,e.float64ArrayTag=Z,e.functionTag=m,e.int16ArrayTag=O,e.int32ArrayTag=D,e.int8ArrayTag=C,e.mapTag=h,e.numberTag=i,e.objectTag=S,e.regexpTag=t,e.setTag=g,e.stringTag=n,e.symbolTag=c,e.uint16ArrayTag=A,e.uint32ArrayTag=k,e.uint8ArrayTag=w,e.uint8ClampedArrayTag=E})(a0)),a0}var o0={},__;function Kz(){return __||(__=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return ArrayBuffer.isView(n)&&!(n instanceof DataView)}e.isTypedArray=t})(o0)),o0}var w_;function _3(){return w_||(w_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=Xz(),n=ry(),i=S3(),o=m3(),u=Kz();function c(p,m){return f(p,void 0,p,new Map,m)}function f(p,m,v,S=new Map,M=void 0){const b=M==null?void 0:M(p,m,v,S);if(b!==void 0)return b;if(o.isPrimitive(p))return p;if(S.has(p))return S.get(p);if(Array.isArray(p)){const w=new Array(p.length);S.set(p,w);for(let E=0;E<p.length;E++)w[E]=f(p[E],E,v,S,M);return Object.hasOwn(p,"index")&&(w.index=p.index),Object.hasOwn(p,"input")&&(w.input=p.input),w}if(p instanceof Date)return new Date(p.getTime());if(p instanceof RegExp){const w=new RegExp(p.source,p.flags);return w.lastIndex=p.lastIndex,w}if(p instanceof Map){const w=new Map;S.set(p,w);for(const[E,A]of p)w.set(E,f(A,E,v,S,M));return w}if(p instanceof Set){const w=new Set;S.set(p,w);for(const E of p)w.add(f(E,void 0,v,S,M));return w}if(typeof Buffer<"u"&&Buffer.isBuffer(p))return p.subarray();if(u.isTypedArray(p)){const w=new(Object.getPrototypeOf(p)).constructor(p.length);S.set(p,w);for(let E=0;E<p.length;E++)w[E]=f(p[E],E,v,S,M);return w}if(p instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&p instanceof SharedArrayBuffer)return p.slice(0);if(p instanceof DataView){const w=new DataView(p.buffer.slice(0),p.byteOffset,p.byteLength);return S.set(p,w),h(w,p,v,S,M),w}if(typeof File<"u"&&p instanceof File){const w=new File([p],p.name,{type:p.type});return S.set(p,w),h(w,p,v,S,M),w}if(typeof Blob<"u"&&p instanceof Blob){const w=new Blob([p],{type:p.type});return S.set(p,w),h(w,p,v,S,M),w}if(p instanceof Error){const w=structuredClone(p);return S.set(p,w),w.message=p.message,w.name=p.name,w.stack=p.stack,w.cause=p.cause,w.constructor=p.constructor,h(w,p,v,S,M),w}if(p instanceof Boolean){const w=new Boolean(p.valueOf());return S.set(p,w),h(w,p,v,S,M),w}if(p instanceof Number){const w=new Number(p.valueOf());return S.set(p,w),h(w,p,v,S,M),w}if(p instanceof String){const w=new String(p.valueOf());return S.set(p,w),h(w,p,v,S,M),w}if(typeof p=="object"&&g(p)){const w=Object.create(Object.getPrototypeOf(p));return S.set(p,w),h(w,p,v,S,M),w}return p}function h(p,m,v=p,S,M){const b=[...Object.keys(m),...t.getSymbols(m)];for(let w=0;w<b.length;w++){const E=b[w],A=Object.getOwnPropertyDescriptor(p,E);(A==null||A.writable)&&(p[E]=f(m[E],E,v,S,M))}}function g(p){switch(n.getTag(p)){case i.argumentsTag:case i.arrayTag:case i.arrayBufferTag:case i.dataViewTag:case i.booleanTag:case i.dateTag:case i.float32ArrayTag:case i.float64ArrayTag:case i.int8ArrayTag:case i.int16ArrayTag:case i.int32ArrayTag:case i.mapTag:case i.numberTag:case i.objectTag:case i.regexpTag:case i.setTag:case i.stringTag:case i.symbolTag:case i.uint8ArrayTag:case i.uint8ClampedArrayTag:case i.uint16ArrayTag:case i.uint32ArrayTag:return!0;default:return!1}}e.cloneDeepWith=c,e.cloneDeepWithImpl=f,e.copyProperties=h})(n0)),n0}var M_;function Zz(){return M_||(M_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=_3();function n(i){return t.cloneDeepWithImpl(i,void 0,i,new Map,void 0)}e.cloneDeep=n})(t0)),t0}var T_;function Jz(){return T_||(T_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=b3(),n=Zz();function i(o){return o=n.cloneDeep(o),u=>t.isMatch(u,o)}e.matches=i})(Xg)),Xg}var l0={},u0={},s0={},E_;function Wz(){return E_||(E_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=_3(),n=ry(),i=S3();function o(u,c){return t.cloneDeepWith(u,(f,h,g,p)=>{const m=c==null?void 0:c(f,h,g,p);if(m!==void 0)return m;if(typeof u=="object"){if(n.getTag(u)===i.objectTag&&typeof u.constructor!="function"){const v={};return p.set(u,v),t.copyProperties(v,u,g,p),v}switch(Object.prototype.toString.call(u)){case i.numberTag:case i.stringTag:case i.booleanTag:{const v=new u.constructor(u==null?void 0:u.valueOf());return t.copyProperties(v,u),v}case i.argumentsTag:{const v={};return t.copyProperties(v,u),v.length=u.length,v[Symbol.iterator]=u[Symbol.iterator],v}default:return}}})}e.cloneDeepWith=o})(s0)),s0}var x_;function eL(){return x_||(x_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=Wz();function n(i){return t.cloneDeepWith(i)}e.cloneDeep=n})(u0)),u0}var c0={},f0={},O_;function w3(){return O_||(O_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=/^(?:0|[1-9]\d*)$/;function n(i,o=Number.MAX_SAFE_INTEGER){switch(typeof i){case"number":return Number.isInteger(i)&&i>=0&&i<o;case"symbol":return!1;case"string":return t.test(i)}}e.isIndex=n})(f0)),f0}var h0={},C_;function tL(){return C_||(C_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=ry();function n(i){return i!==null&&typeof i=="object"&&t.getTag(i)==="[object Arguments]"}e.isArguments=n})(h0)),h0}var k_;function nL(){return k_||(k_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=g3(),n=w3(),i=tL(),o=ey();function u(c,f){let h;if(Array.isArray(f)?h=f:typeof f=="string"&&t.isDeepKey(f)&&(c==null?void 0:c[f])==null?h=o.toPath(f):h=[f],h.length===0)return!1;let g=c;for(let p=0;p<h.length;p++){const m=h[p];if((g==null||!Object.hasOwn(g,m))&&!((Array.isArray(g)||i.isArguments(g))&&n.isIndex(m)&&m<g.length))return!1;g=g[m]}return!0}e.has=u})(c0)),c0}var A_;function rL(){return A_||(A_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=b3(),n=W1(),i=eL(),o=ty(),u=nL();function c(f,h){switch(typeof f){case"object":{Object.is(f==null?void 0:f.valueOf(),-0)&&(f="-0");break}case"number":{f=n.toKey(f);break}}return h=i.cloneDeep(h),function(g){const p=o.get(g,f);return p===void 0?u.has(g,f):h===void 0?p===void 0:t.isMatch(p,h)}}e.matchesProperty=c})(l0)),l0}var D_;function iL(){return D_||(D_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=p3(),n=Gz(),i=Jz(),o=rL();function u(c){if(c==null)return t.identity;switch(typeof c){case"function":return c;case"object":return Array.isArray(c)&&c.length===2?o.matchesProperty(c[0],c[1]):i.matches(c);case"string":case"symbol":case"number":return n.property(c)}}e.iteratee=u})(Gg)),Gg}var N_;function aL(){return N_||(N_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=Pz(),n=$z(),i=p3(),o=Fz(),u=iL();function c(f,h=i.identity){return o.isArrayLikeObject(f)?t.uniqBy(Array.from(f),n.ary(u.iteratee(h),1)):[]}e.uniqBy=c})(jg)),jg}var d0,R_;function oL(){return R_||(R_=1,d0=aL().uniqBy),d0}var lL=oL();const iQ=Zt(lL);var g0={},p0={},y0={},z_;function uL(){return z_||(z_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(i){return typeof i=="symbol"?1:i===null?2:i===void 0?3:i!==i?4:0}const n=(i,o,u)=>{if(i!==o){const c=t(i),f=t(o);if(c===f&&c===0){if(i<o)return u==="desc"?1:-1;if(i>o)return u==="desc"?-1:1}return u==="desc"?f-c:c-f}return 0};e.compareValues=n})(y0)),y0}var m0={},v0={},L_;function M3(){return L_||(L_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return typeof n=="symbol"||n instanceof Symbol}e.isSymbol=t})(v0)),v0}var I_;function sL(){return I_||(I_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=M3(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;function o(u,c){return Array.isArray(u)?!1:typeof u=="number"||typeof u=="boolean"||u==null||t.isSymbol(u)?!0:typeof u=="string"&&(i.test(u)||!n.test(u))||c!=null&&Object.hasOwn(c,u)}e.isKey=o})(m0)),m0}var q_;function cL(){return q_||(q_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=uL(),n=sL(),i=ey();function o(u,c,f,h){if(u==null)return[];f=h?void 0:f,Array.isArray(u)||(u=Object.values(u)),Array.isArray(c)||(c=c==null?[null]:[c]),c.length===0&&(c=[null]),Array.isArray(f)||(f=f==null?[]:[f]),f=f.map(S=>String(S));const g=(S,M)=>{let b=S;for(let w=0;w<M.length&&b!=null;++w)b=b[M[w]];return b},p=(S,M)=>M==null||S==null?M:typeof S=="object"&&"key"in S?Object.hasOwn(M,S.key)?M[S.key]:g(M,S.path):typeof S=="function"?S(M):Array.isArray(S)?g(M,S):typeof M=="object"?M[S]:M,m=c.map(S=>(Array.isArray(S)&&S.length===1&&(S=S[0]),S==null||typeof S=="function"||Array.isArray(S)||n.isKey(S)?S:{key:S,path:i.toPath(S)}));return u.map(S=>({original:S,criteria:m.map(M=>p(M,S))})).slice().sort((S,M)=>{for(let b=0;b<m.length;b++){const w=t.compareValues(S.criteria[b],M.criteria[b],f[b]);if(w!==0)return w}return 0}).map(S=>S.original)}e.orderBy=o})(p0)),p0}var b0={},U_;function fL(){return U_||(U_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n,i=1){const o=[],u=Math.floor(i),c=(f,h)=>{for(let g=0;g<f.length;g++){const p=f[g];Array.isArray(p)&&h<u?c(p,h+1):o.push(p)}};return c(n,0),o}e.flatten=t})(b0)),b0}var S0={},j_;function T3(){return j_||(j_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=w3(),n=ny(),i=y3(),o=v3();function u(c,f,h){return i.isObject(h)&&(typeof f=="number"&&n.isArrayLike(h)&&t.isIndex(f)&&f<h.length||typeof f=="string"&&f in h)?o.isEqualsSameValueZero(h[f],c):!1}e.isIterateeCall=u})(S0)),S0}var H_;function hL(){return H_||(H_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=cL(),n=fL(),i=T3();function o(u,...c){const f=c.length;return f>1&&i.isIterateeCall(u,c[0],c[1])?c=[]:f>2&&i.isIterateeCall(c[0],c[1],c[2])&&(c=[c[0]]),t.orderBy(u,n.flatten(c),["asc"])}e.sortBy=o})(g0)),g0}var _0,B_;function dL(){return B_||(B_=1,_0=hL().sortBy),_0}var gL=dL();const aQ=Zt(gL);var w0={},M0={},T0={},P_;function pL(){return P_||(P_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n,i,{signal:o,edges:u}={}){let c,f=null;const h=u!=null&&u.includes("leading"),g=u==null||u.includes("trailing"),p=()=>{f!==null&&(n.apply(c,f),c=void 0,f=null)},m=()=>{g&&p(),b()};let v=null;const S=()=>{v!=null&&clearTimeout(v),v=setTimeout(()=>{v=null,m()},i)},M=()=>{v!==null&&(clearTimeout(v),v=null)},b=()=>{M(),c=void 0,f=null},w=()=>{p()},E=function(...A){if(o!=null&&o.aborted)return;c=this,f=A;const k=v==null;S(),h&&k&&p()};return E.schedule=S,E.cancel=b,E.flush=w,o==null||o.addEventListener("abort",b,{once:!0}),E}e.debounce=t})(T0)),T0}var $_;function yL(){return $_||($_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=pL();function n(i,o=0,u={}){typeof u!="object"&&(u={});const{leading:c=!1,trailing:f=!0,maxWait:h}=u,g=Array(2);c&&(g[0]="leading"),f&&(g[1]="trailing");let p,m=null;const v=t.debounce(function(...b){p=i.apply(this,b),m=null},o,{edges:g}),S=function(...b){return h!=null&&(m===null&&(m=Date.now()),Date.now()-m>=h)?(p=i.apply(this,b),m=Date.now(),v.cancel(),v.schedule(),p):(v.apply(this,b),p)},M=()=>(v.flush(),p);return S.cancel=v.cancel,S.flush=M,S}e.debounce=n})(M0)),M0}var Y_;function mL(){return Y_||(Y_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=yL();function n(i,o=0,u={}){const{leading:c=!0,trailing:f=!0}=u;return t.debounce(i,o,{leading:c,maxWait:o,trailing:f})}e.throttle=n})(w0)),w0}var E0,V_;function vL(){return V_||(V_=1,E0=mL().throttle),E0}var bL=vL();const oQ=Zt(bL);var E3=Symbol.for("immer-nothing"),F_=Symbol.for("immer-draftable"),hn=Symbol.for("immer-state");function Fn(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Tu=Object.getPrototypeOf;function Fo(e){return!!e&&!!e[hn]}function xa(e){var t;return e?x3(e)||Array.isArray(e)||!!e[F_]||!!((t=e.constructor)!=null&&t[F_])||ju(e)||Nf(e):!1}var SL=Object.prototype.constructor.toString(),G_=new WeakMap;function x3(e){if(!e||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);if(t===null||t===Object.prototype)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;if(n===Object)return!0;if(typeof n!="function")return!1;let i=G_.get(n);return i===void 0&&(i=Function.toString.call(n),G_.set(n,i)),i===SL}function uf(e,t,n=!0){Df(e)===0?(n?Reflect.ownKeys(e):Object.keys(e)).forEach(o=>{t(o,e[o],e)}):e.forEach((i,o)=>t(o,i,e))}function Df(e){const t=e[hn];return t?t.type_:Array.isArray(e)?1:ju(e)?2:Nf(e)?3:0}function a1(e,t){return Df(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function O3(e,t,n){const i=Df(e);i===2?e.set(t,n):i===3?e.add(n):e[t]=n}function _L(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function ju(e){return e instanceof Map}function Nf(e){return e instanceof Set}function oa(e){return e.copy_||e.base_}function o1(e,t){if(ju(e))return new Map(e);if(Nf(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=x3(e);if(t===!0||t==="class_only"&&!n){const i=Object.getOwnPropertyDescriptors(e);delete i[hn];let o=Reflect.ownKeys(i);for(let u=0;u<o.length;u++){const c=o[u],f=i[c];f.writable===!1&&(f.writable=!0,f.configurable=!0),(f.get||f.set)&&(i[c]={configurable:!0,writable:!0,enumerable:f.enumerable,value:e[c]})}return Object.create(Tu(e),i)}else{const i=Tu(e);if(i!==null&&n)return{...e};const o=Object.create(i);return Object.assign(o,e)}}function iy(e,t=!1){return Rf(e)||Fo(e)||!xa(e)||(Df(e)>1&&Object.defineProperties(e,{set:Sc,add:Sc,clear:Sc,delete:Sc}),Object.freeze(e),t&&Object.values(e).forEach(n=>iy(n,!0))),e}function wL(){Fn(2)}var Sc={value:wL};function Rf(e){return e===null||typeof e!="object"?!0:Object.isFrozen(e)}var ML={};function Oa(e){const t=ML[e];return t||Fn(0,e),t}var Eu;function C3(){return Eu}function TL(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Q_(e,t){t&&(Oa("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function l1(e){u1(e),e.drafts_.forEach(EL),e.drafts_=null}function u1(e){e===Eu&&(Eu=e.parent_)}function X_(e){return Eu=TL(Eu,e)}function EL(e){const t=e[hn];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function K_(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[hn].modified_&&(l1(t),Fn(4)),xa(e)&&(e=sf(t,e),t.parent_||cf(t,e)),t.patches_&&Oa("Patches").generateReplacementPatches_(n[hn].base_,e,t.patches_,t.inversePatches_)):e=sf(t,n,[]),l1(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==E3?e:void 0}function sf(e,t,n){if(Rf(t))return t;const i=e.immer_.shouldUseStrictIteration(),o=t[hn];if(!o)return uf(t,(u,c)=>Z_(e,o,t,u,c,n),i),t;if(o.scope_!==e)return t;if(!o.modified_)return cf(e,o.base_,!0),o.base_;if(!o.finalized_){o.finalized_=!0,o.scope_.unfinalizedDrafts_--;const u=o.copy_;let c=u,f=!1;o.type_===3&&(c=new Set(u),u.clear(),f=!0),uf(c,(h,g)=>Z_(e,o,u,h,g,n,f),i),cf(e,u,!1),n&&e.patches_&&Oa("Patches").generatePatches_(o,n,e.patches_,e.inversePatches_)}return o.copy_}function Z_(e,t,n,i,o,u,c){if(o==null||typeof o!="object"&&!c)return;const f=Rf(o);if(!(f&&!c)){if(Fo(o)){const h=u&&t&&t.type_!==3&&!a1(t.assigned_,i)?u.concat(i):void 0,g=sf(e,o,h);if(O3(n,i,g),Fo(g))e.canAutoFreeze_=!1;else return}else c&&n.add(o);if(xa(o)&&!f){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1||t&&t.base_&&t.base_[i]===o&&f)return;sf(e,o),(!t||!t.scope_.parent_)&&typeof i!="symbol"&&(ju(n)?n.has(i):Object.prototype.propertyIsEnumerable.call(n,i))&&cf(e,o)}}}function cf(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&iy(t,n)}function xL(e,t){const n=Array.isArray(e),i={type_:n?1:0,scope_:t?t.scope_:C3(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let o=i,u=ay;n&&(o=[i],u=xu);const{revoke:c,proxy:f}=Proxy.revocable(o,u);return i.draft_=f,i.revoke_=c,f}var ay={get(e,t){if(t===hn)return e;const n=oa(e);if(!a1(n,t))return OL(e,n,t);const i=n[t];return e.finalized_||!xa(i)?i:i===x0(e.base_,t)?(O0(e),e.copy_[t]=c1(i,e)):i},has(e,t){return t in oa(e)},ownKeys(e){return Reflect.ownKeys(oa(e))},set(e,t,n){const i=k3(oa(e),t);if(i!=null&&i.set)return i.set.call(e.draft_,n),!0;if(!e.modified_){const o=x0(oa(e),t),u=o==null?void 0:o[hn];if(u&&u.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(_L(n,o)&&(n!==void 0||a1(e.base_,t)))return!0;O0(e),s1(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return x0(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,O0(e),s1(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=oa(e),i=Reflect.getOwnPropertyDescriptor(n,t);return i&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:i.enumerable,value:n[t]}},defineProperty(){Fn(11)},getPrototypeOf(e){return Tu(e.base_)},setPrototypeOf(){Fn(12)}},xu={};uf(ay,(e,t)=>{xu[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});xu.deleteProperty=function(e,t){return xu.set.call(this,e,t,void 0)};xu.set=function(e,t,n){return ay.set.call(this,e[0],t,n,e[0])};function x0(e,t){const n=e[hn];return(n?oa(n):e)[t]}function OL(e,t,n){var o;const i=k3(t,n);return i?"value"in i?i.value:(o=i.get)==null?void 0:o.call(e.draft_):void 0}function k3(e,t){if(!(t in e))return;let n=Tu(e);for(;n;){const i=Object.getOwnPropertyDescriptor(n,t);if(i)return i;n=Tu(n)}}function s1(e){e.modified_||(e.modified_=!0,e.parent_&&s1(e.parent_))}function O0(e){e.copy_||(e.copy_=o1(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var CL=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!0,this.produce=(t,n,i)=>{if(typeof t=="function"&&typeof n!="function"){const u=n;n=t;const c=this;return function(h=u,...g){return c.produce(h,p=>n.call(this,p,...g))}}typeof n!="function"&&Fn(6),i!==void 0&&typeof i!="function"&&Fn(7);let o;if(xa(t)){const u=X_(this),c=c1(t,void 0);let f=!0;try{o=n(c),f=!1}finally{f?l1(u):u1(u)}return Q_(u,i),K_(o,u)}else if(!t||typeof t!="object"){if(o=n(t),o===void 0&&(o=t),o===E3&&(o=void 0),this.autoFreeze_&&iy(o,!0),i){const u=[],c=[];Oa("Patches").generateReplacementPatches_(t,o,u,c),i(u,c)}return o}else Fn(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(c,...f)=>this.produceWithPatches(c,h=>t(h,...f));let i,o;return[this.produce(t,n,(c,f)=>{i=c,o=f}),i,o]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),typeof(e==null?void 0:e.useStrictIteration)=="boolean"&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){xa(e)||Fn(8),Fo(e)&&(e=kL(e));const t=X_(this),n=c1(e,void 0);return n[hn].isManual_=!0,u1(t),n}finishDraft(e,t){const n=e&&e[hn];(!n||!n.isManual_)&&Fn(9);const{scope_:i}=n;return Q_(i,t),K_(void 0,i)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const o=t[n];if(o.path.length===0&&o.op==="replace"){e=o.value;break}}n>-1&&(t=t.slice(n+1));const i=Oa("Patches").applyPatches_;return Fo(e)?i(e,t):this.produce(e,o=>i(o,t))}};function c1(e,t){const n=ju(e)?Oa("MapSet").proxyMap_(e,t):Nf(e)?Oa("MapSet").proxySet_(e,t):xL(e,t);return(t?t.scope_:C3()).drafts_.push(n),n}function kL(e){return Fo(e)||Fn(10,e),A3(e)}function A3(e){if(!xa(e)||Rf(e))return e;const t=e[hn];let n,i=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=o1(e,t.scope_.immer_.useStrictShallowCopy_),i=t.scope_.immer_.shouldUseStrictIteration()}else n=o1(e,!0);return uf(n,(o,u)=>{O3(n,o,A3(u))},i),t&&(t.finalized_=!1),n}var AL=new CL;AL.produce;function lQ(e){return e}var C0={},k0={},A0={},J_;function DL(){return J_||(J_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=M3();function n(i){return t.isSymbol(i)?NaN:Number(i)}e.toNumber=n})(A0)),A0}var W_;function NL(){return W_||(W_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=DL();function n(i){return i?(i=t.toNumber(i),i===1/0||i===-1/0?(i<0?-1:1)*Number.MAX_VALUE:i===i?i:0):i===0?i:0}e.toFinite=n})(k0)),k0}var ew;function RL(){return ew||(ew=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=T3(),n=NL();function i(o,u,c){c&&typeof c!="number"&&t.isIterateeCall(o,u,c)&&(u=c=void 0),o=n.toFinite(o),u===void 0?(u=o,o=0):u=n.toFinite(u),c=c===void 0?o<u?1:-1:n.toFinite(c);const f=Math.max(Math.ceil((u-o)/(c||1)),0),h=new Array(f);for(let g=0;g<f;g++)h[g]=o,o+=c;return h}e.range=i})(C0)),C0}var D0,tw;function zL(){return tw||(tw=1,D0=RL().range),D0}var LL=zL();const uQ=Zt(LL);var il=1e9,IL={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},ly,it=!0,Ln="[DecimalError] ",wa=Ln+"Invalid argument: ",oy=Ln+"Exponent out of range: ",al=Math.floor,la=Math.pow,qL=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,cn,Tt=1e7,nt=7,D3=9007199254740991,ff=al(D3/nt),de={};de.absoluteValue=de.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e};de.comparedTo=de.cmp=function(e){var t,n,i,o,u=this;if(e=new u.constructor(e),u.s!==e.s)return u.s||-e.s;if(u.e!==e.e)return u.e>e.e^u.s<0?1:-1;for(i=u.d.length,o=e.d.length,t=0,n=i<o?i:o;t<n;++t)if(u.d[t]!==e.d[t])return u.d[t]>e.d[t]^u.s<0?1:-1;return i===o?0:i>o^u.s<0?1:-1};de.decimalPlaces=de.dp=function(){var e=this,t=e.d.length-1,n=(t-e.e)*nt;if(t=e.d[t],t)for(;t%10==0;t/=10)n--;return n<0?0:n};de.dividedBy=de.div=function(e){return Pr(this,new this.constructor(e))};de.dividedToIntegerBy=de.idiv=function(e){var t=this,n=t.constructor;return Je(Pr(t,new n(e),0,1),n.precision)};de.equals=de.eq=function(e){return!this.cmp(e)};de.exponent=function(){return yt(this)};de.greaterThan=de.gt=function(e){return this.cmp(e)>0};de.greaterThanOrEqualTo=de.gte=function(e){return this.cmp(e)>=0};de.isInteger=de.isint=function(){return this.e>this.d.length-2};de.isNegative=de.isneg=function(){return this.s<0};de.isPositive=de.ispos=function(){return this.s>0};de.isZero=function(){return this.s===0};de.lessThan=de.lt=function(e){return this.cmp(e)<0};de.lessThanOrEqualTo=de.lte=function(e){return this.cmp(e)<1};de.logarithm=de.log=function(e){var t,n=this,i=n.constructor,o=i.precision,u=o+5;if(e===void 0)e=new i(10);else if(e=new i(e),e.s<1||e.eq(cn))throw Error(Ln+"NaN");if(n.s<1)throw Error(Ln+(n.s?"NaN":"-Infinity"));return n.eq(cn)?new i(0):(it=!1,t=Pr(Ou(n,u),Ou(e,u),u),it=!0,Je(t,o))};de.minus=de.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?z3(t,e):N3(t,(e.s=-e.s,e))};de.modulo=de.mod=function(e){var t,n=this,i=n.constructor,o=i.precision;if(e=new i(e),!e.s)throw Error(Ln+"NaN");return n.s?(it=!1,t=Pr(n,e,0,1).times(e),it=!0,n.minus(t)):Je(new i(n),o)};de.naturalExponential=de.exp=function(){return R3(this)};de.naturalLogarithm=de.ln=function(){return Ou(this)};de.negated=de.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};de.plus=de.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?N3(t,e):z3(t,(e.s=-e.s,e))};de.precision=de.sd=function(e){var t,n,i,o=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(wa+e);if(t=yt(o)+1,i=o.d.length-1,n=i*nt+1,i=o.d[i],i){for(;i%10==0;i/=10)n--;for(i=o.d[0];i>=10;i/=10)n++}return e&&t>n?t:n};de.squareRoot=de.sqrt=function(){var e,t,n,i,o,u,c,f=this,h=f.constructor;if(f.s<1){if(!f.s)return new h(0);throw Error(Ln+"NaN")}for(e=yt(f),it=!1,o=Math.sqrt(+f),o==0||o==1/0?(t=or(f.d),(t.length+e)%2==0&&(t+="0"),o=Math.sqrt(t),e=al((e+1)/2)-(e<0||e%2),o==1/0?t="5e"+e:(t=o.toExponential(),t=t.slice(0,t.indexOf("e")+1)+e),i=new h(t)):i=new h(o.toString()),n=h.precision,o=c=n+3;;)if(u=i,i=u.plus(Pr(f,u,c+2)).times(.5),or(u.d).slice(0,c)===(t=or(i.d)).slice(0,c)){if(t=t.slice(c-3,c+1),o==c&&t=="4999"){if(Je(u,n+1,0),u.times(u).eq(f)){i=u;break}}else if(t!="9999")break;c+=4}return it=!0,Je(i,n)};de.times=de.mul=function(e){var t,n,i,o,u,c,f,h,g,p=this,m=p.constructor,v=p.d,S=(e=new m(e)).d;if(!p.s||!e.s)return new m(0);for(e.s*=p.s,n=p.e+e.e,h=v.length,g=S.length,h<g&&(u=v,v=S,S=u,c=h,h=g,g=c),u=[],c=h+g,i=c;i--;)u.push(0);for(i=g;--i>=0;){for(t=0,o=h+i;o>i;)f=u[o]+S[i]*v[o-i-1]+t,u[o--]=f%Tt|0,t=f/Tt|0;u[o]=(u[o]+t)%Tt|0}for(;!u[--c];)u.pop();return t?++n:u.shift(),e.d=u,e.e=n,it?Je(e,m.precision):e};de.toDecimalPlaces=de.todp=function(e,t){var n=this,i=n.constructor;return n=new i(n),e===void 0?n:(ur(e,0,il),t===void 0?t=i.rounding:ur(t,0,8),Je(n,e+yt(n)+1,t))};de.toExponential=function(e,t){var n,i=this,o=i.constructor;return e===void 0?n=Ca(i,!0):(ur(e,0,il),t===void 0?t=o.rounding:ur(t,0,8),i=Je(new o(i),e+1,t),n=Ca(i,!0,e+1)),n};de.toFixed=function(e,t){var n,i,o=this,u=o.constructor;return e===void 0?Ca(o):(ur(e,0,il),t===void 0?t=u.rounding:ur(t,0,8),i=Je(new u(o),e+yt(o)+1,t),n=Ca(i.abs(),!1,e+yt(i)+1),o.isneg()&&!o.isZero()?"-"+n:n)};de.toInteger=de.toint=function(){var e=this,t=e.constructor;return Je(new t(e),yt(e)+1,t.rounding)};de.toNumber=function(){return+this};de.toPower=de.pow=function(e){var t,n,i,o,u,c,f=this,h=f.constructor,g=12,p=+(e=new h(e));if(!e.s)return new h(cn);if(f=new h(f),!f.s){if(e.s<1)throw Error(Ln+"Infinity");return f}if(f.eq(cn))return f;if(i=h.precision,e.eq(cn))return Je(f,i);if(t=e.e,n=e.d.length-1,c=t>=n,u=f.s,c){if((n=p<0?-p:p)<=D3){for(o=new h(cn),t=Math.ceil(i/nt+4),it=!1;n%2&&(o=o.times(f),rw(o.d,t)),n=al(n/2),n!==0;)f=f.times(f),rw(f.d,t);return it=!0,e.s<0?new h(cn).div(o):Je(o,i)}}else if(u<0)throw Error(Ln+"NaN");return u=u<0&&e.d[Math.max(t,n)]&1?-1:1,f.s=1,it=!1,o=e.times(Ou(f,i+g)),it=!0,o=R3(o),o.s=u,o};de.toPrecision=function(e,t){var n,i,o=this,u=o.constructor;return e===void 0?(n=yt(o),i=Ca(o,n<=u.toExpNeg||n>=u.toExpPos)):(ur(e,1,il),t===void 0?t=u.rounding:ur(t,0,8),o=Je(new u(o),e,t),n=yt(o),i=Ca(o,e<=n||n<=u.toExpNeg,e)),i};de.toSignificantDigits=de.tosd=function(e,t){var n=this,i=n.constructor;return e===void 0?(e=i.precision,t=i.rounding):(ur(e,1,il),t===void 0?t=i.rounding:ur(t,0,8)),Je(new i(n),e,t)};de.toString=de.valueOf=de.val=de.toJSON=de[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=yt(e),n=e.constructor;return Ca(e,t<=n.toExpNeg||t>=n.toExpPos)};function N3(e,t){var n,i,o,u,c,f,h,g,p=e.constructor,m=p.precision;if(!e.s||!t.s)return t.s||(t=new p(e)),it?Je(t,m):t;if(h=e.d,g=t.d,c=e.e,o=t.e,h=h.slice(),u=c-o,u){for(u<0?(i=h,u=-u,f=g.length):(i=g,o=c,f=h.length),c=Math.ceil(m/nt),f=c>f?c+1:f+1,u>f&&(u=f,i.length=1),i.reverse();u--;)i.push(0);i.reverse()}for(f=h.length,u=g.length,f-u<0&&(u=f,i=g,g=h,h=i),n=0;u;)n=(h[--u]=h[u]+g[u]+n)/Tt|0,h[u]%=Tt;for(n&&(h.unshift(n),++o),f=h.length;h[--f]==0;)h.pop();return t.d=h,t.e=o,it?Je(t,m):t}function ur(e,t,n){if(e!==~~e||e<t||e>n)throw Error(wa+e)}function or(e){var t,n,i,o=e.length-1,u="",c=e[0];if(o>0){for(u+=c,t=1;t<o;t++)i=e[t]+"",n=nt-i.length,n&&(u+=Ei(n)),u+=i;c=e[t],i=c+"",n=nt-i.length,n&&(u+=Ei(n))}else if(c===0)return"0";for(;c%10===0;)c/=10;return u+c}var Pr=(function(){function e(i,o){var u,c=0,f=i.length;for(i=i.slice();f--;)u=i[f]*o+c,i[f]=u%Tt|0,c=u/Tt|0;return c&&i.unshift(c),i}function t(i,o,u,c){var f,h;if(u!=c)h=u>c?1:-1;else for(f=h=0;f<u;f++)if(i[f]!=o[f]){h=i[f]>o[f]?1:-1;break}return h}function n(i,o,u){for(var c=0;u--;)i[u]-=c,c=i[u]<o[u]?1:0,i[u]=c*Tt+i[u]-o[u];for(;!i[0]&&i.length>1;)i.shift()}return function(i,o,u,c){var f,h,g,p,m,v,S,M,b,w,E,A,k,T,C,O,D,N,P=i.constructor,Z=i.s==o.s?1:-1,W=i.d,G=o.d;if(!i.s)return new P(i);if(!o.s)throw Error(Ln+"Division by zero");for(h=i.e-o.e,D=G.length,C=W.length,S=new P(Z),M=S.d=[],g=0;G[g]==(W[g]||0);)++g;if(G[g]>(W[g]||0)&&--h,u==null?A=u=P.precision:c?A=u+(yt(i)-yt(o))+1:A=u,A<0)return new P(0);if(A=A/nt+2|0,g=0,D==1)for(p=0,G=G[0],A++;(g<C||p)&&A--;g++)k=p*Tt+(W[g]||0),M[g]=k/G|0,p=k%G|0;else{for(p=Tt/(G[0]+1)|0,p>1&&(G=e(G,p),W=e(W,p),D=G.length,C=W.length),T=D,b=W.slice(0,D),w=b.length;w<D;)b[w++]=0;N=G.slice(),N.unshift(0),O=G[0],G[1]>=Tt/2&&++O;do p=0,f=t(G,b,D,w),f<0?(E=b[0],D!=w&&(E=E*Tt+(b[1]||0)),p=E/O|0,p>1?(p>=Tt&&(p=Tt-1),m=e(G,p),v=m.length,w=b.length,f=t(m,b,v,w),f==1&&(p--,n(m,D<v?N:G,v))):(p==0&&(f=p=1),m=G.slice()),v=m.length,v<w&&m.unshift(0),n(b,m,w),f==-1&&(w=b.length,f=t(G,b,D,w),f<1&&(p++,n(b,D<w?N:G,w))),w=b.length):f===0&&(p++,b=[0]),M[g++]=p,f&&b[0]?b[w++]=W[T]||0:(b=[W[T]],w=1);while((T++<C||b[0]!==void 0)&&A--)}return M[0]||M.shift(),S.e=h,Je(S,c?u+yt(S)+1:u)}})();function R3(e,t){var n,i,o,u,c,f,h=0,g=0,p=e.constructor,m=p.precision;if(yt(e)>16)throw Error(oy+yt(e));if(!e.s)return new p(cn);for(it=!1,f=m,c=new p(.03125);e.abs().gte(.1);)e=e.times(c),g+=5;for(i=Math.log(la(2,g))/Math.LN10*2+5|0,f+=i,n=o=u=new p(cn),p.precision=f;;){if(o=Je(o.times(e),f),n=n.times(++h),c=u.plus(Pr(o,n,f)),or(c.d).slice(0,f)===or(u.d).slice(0,f)){for(;g--;)u=Je(u.times(u),f);return p.precision=m,t==null?(it=!0,Je(u,m)):u}u=c}}function yt(e){for(var t=e.e*nt,n=e.d[0];n>=10;n/=10)t++;return t}function N0(e,t,n){if(t>e.LN10.sd())throw it=!0,n&&(e.precision=n),Error(Ln+"LN10 precision limit exceeded");return Je(new e(e.LN10),t)}function Ei(e){for(var t="";e--;)t+="0";return t}function Ou(e,t){var n,i,o,u,c,f,h,g,p,m=1,v=10,S=e,M=S.d,b=S.constructor,w=b.precision;if(S.s<1)throw Error(Ln+(S.s?"NaN":"-Infinity"));if(S.eq(cn))return new b(0);if(t==null?(it=!1,g=w):g=t,S.eq(10))return t==null&&(it=!0),N0(b,g);if(g+=v,b.precision=g,n=or(M),i=n.charAt(0),u=yt(S),Math.abs(u)<15e14){for(;i<7&&i!=1||i==1&&n.charAt(1)>3;)S=S.times(e),n=or(S.d),i=n.charAt(0),m++;u=yt(S),i>1?(S=new b("0."+n),u++):S=new b(i+"."+n.slice(1))}else return h=N0(b,g+2,w).times(u+""),S=Ou(new b(i+"."+n.slice(1)),g-v).plus(h),b.precision=w,t==null?(it=!0,Je(S,w)):S;for(f=c=S=Pr(S.minus(cn),S.plus(cn),g),p=Je(S.times(S),g),o=3;;){if(c=Je(c.times(p),g),h=f.plus(Pr(c,new b(o),g)),or(h.d).slice(0,g)===or(f.d).slice(0,g))return f=f.times(2),u!==0&&(f=f.plus(N0(b,g+2,w).times(u+""))),f=Pr(f,new b(m),g),b.precision=w,t==null?(it=!0,Je(f,w)):f;f=h,o+=2}}function nw(e,t){var n,i,o;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(i=t.search(/e/i))>0?(n<0&&(n=i),n+=+t.slice(i+1),t=t.substring(0,i)):n<0&&(n=t.length),i=0;t.charCodeAt(i)===48;)++i;for(o=t.length;t.charCodeAt(o-1)===48;)--o;if(t=t.slice(i,o),t){if(o-=i,n=n-i-1,e.e=al(n/nt),e.d=[],i=(n+1)%nt,n<0&&(i+=nt),i<o){for(i&&e.d.push(+t.slice(0,i)),o-=nt;i<o;)e.d.push(+t.slice(i,i+=nt));t=t.slice(i),i=nt-t.length}else i-=o;for(;i--;)t+="0";if(e.d.push(+t),it&&(e.e>ff||e.e<-ff))throw Error(oy+n)}else e.s=0,e.e=0,e.d=[0];return e}function Je(e,t,n){var i,o,u,c,f,h,g,p,m=e.d;for(c=1,u=m[0];u>=10;u/=10)c++;if(i=t-c,i<0)i+=nt,o=t,g=m[p=0];else{if(p=Math.ceil((i+1)/nt),u=m.length,p>=u)return e;for(g=u=m[p],c=1;u>=10;u/=10)c++;i%=nt,o=i-nt+c}if(n!==void 0&&(u=la(10,c-o-1),f=g/u%10|0,h=t<0||m[p+1]!==void 0||g%u,h=n<4?(f||h)&&(n==0||n==(e.s<0?3:2)):f>5||f==5&&(n==4||h||n==6&&(i>0?o>0?g/la(10,c-o):0:m[p-1])%10&1||n==(e.s<0?8:7))),t<1||!m[0])return h?(u=yt(e),m.length=1,t=t-u-1,m[0]=la(10,(nt-t%nt)%nt),e.e=al(-t/nt)||0):(m.length=1,m[0]=e.e=e.s=0),e;if(i==0?(m.length=p,u=1,p--):(m.length=p+1,u=la(10,nt-i),m[p]=o>0?(g/la(10,c-o)%la(10,o)|0)*u:0),h)for(;;)if(p==0){(m[0]+=u)==Tt&&(m[0]=1,++e.e);break}else{if(m[p]+=u,m[p]!=Tt)break;m[p--]=0,u=1}for(i=m.length;m[--i]===0;)m.pop();if(it&&(e.e>ff||e.e<-ff))throw Error(oy+yt(e));return e}function z3(e,t){var n,i,o,u,c,f,h,g,p,m,v=e.constructor,S=v.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new v(e),it?Je(t,S):t;if(h=e.d,m=t.d,i=t.e,g=e.e,h=h.slice(),c=g-i,c){for(p=c<0,p?(n=h,c=-c,f=m.length):(n=m,i=g,f=h.length),o=Math.max(Math.ceil(S/nt),f)+2,c>o&&(c=o,n.length=1),n.reverse(),o=c;o--;)n.push(0);n.reverse()}else{for(o=h.length,f=m.length,p=o<f,p&&(f=o),o=0;o<f;o++)if(h[o]!=m[o]){p=h[o]<m[o];break}c=0}for(p&&(n=h,h=m,m=n,t.s=-t.s),f=h.length,o=m.length-f;o>0;--o)h[f++]=0;for(o=m.length;o>c;){if(h[--o]<m[o]){for(u=o;u&&h[--u]===0;)h[u]=Tt-1;--h[u],h[o]+=Tt}h[o]-=m[o]}for(;h[--f]===0;)h.pop();for(;h[0]===0;h.shift())--i;return h[0]?(t.d=h,t.e=i,it?Je(t,S):t):new v(0)}function Ca(e,t,n){var i,o=yt(e),u=or(e.d),c=u.length;return t?(n&&(i=n-c)>0?u=u.charAt(0)+"."+u.slice(1)+Ei(i):c>1&&(u=u.charAt(0)+"."+u.slice(1)),u=u+(o<0?"e":"e+")+o):o<0?(u="0."+Ei(-o-1)+u,n&&(i=n-c)>0&&(u+=Ei(i))):o>=c?(u+=Ei(o+1-c),n&&(i=n-o-1)>0&&(u=u+"."+Ei(i))):((i=o+1)<c&&(u=u.slice(0,i)+"."+u.slice(i)),n&&(i=n-c)>0&&(o+1===c&&(u+="."),u+=Ei(i))),e.s<0?"-"+u:u}function rw(e,t){if(e.length>t)return e.length=t,!0}function L3(e){var t,n,i;function o(u){var c=this;if(!(c instanceof o))return new o(u);if(c.constructor=o,u instanceof o){c.s=u.s,c.e=u.e,c.d=(u=u.d)?u.slice():u;return}if(typeof u=="number"){if(u*0!==0)throw Error(wa+u);if(u>0)c.s=1;else if(u<0)u=-u,c.s=-1;else{c.s=0,c.e=0,c.d=[0];return}if(u===~~u&&u<1e7){c.e=0,c.d=[u];return}return nw(c,u.toString())}else if(typeof u!="string")throw Error(wa+u);if(u.charCodeAt(0)===45?(u=u.slice(1),c.s=-1):c.s=1,qL.test(u))nw(c,u);else throw Error(wa+u)}if(o.prototype=de,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=L3,o.config=o.set=UL,e===void 0&&(e={}),e)for(i=["precision","rounding","toExpNeg","toExpPos","LN10"],t=0;t<i.length;)e.hasOwnProperty(n=i[t++])||(e[n]=this[n]);return o.config(e),o}function UL(e){if(!e||typeof e!="object")throw Error(Ln+"Object expected");var t,n,i,o=["precision",1,il,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<o.length;t+=3)if((i=e[n=o[t]])!==void 0)if(al(i)===i&&i>=o[t+1]&&i<=o[t+2])this[n]=i;else throw Error(wa+n+": "+i);if((i=e[n="LN10"])!==void 0)if(i==Math.LN10)this[n]=new this(i);else throw Error(wa+n+": "+i);return this}var ly=L3(IL);cn=new ly(1);const sQ=ly;function Ii(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function jL(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function uy(e){let t,n,i;e.length!==2?(t=Ii,n=(f,h)=>Ii(e(f),h),i=(f,h)=>e(f)-h):(t=e===Ii||e===jL?e:HL,n=e,i=e);function o(f,h,g=0,p=f.length){if(g<p){if(t(h,h)!==0)return p;do{const m=g+p>>>1;n(f[m],h)<0?g=m+1:p=m}while(g<p)}return g}function u(f,h,g=0,p=f.length){if(g<p){if(t(h,h)!==0)return p;do{const m=g+p>>>1;n(f[m],h)<=0?g=m+1:p=m}while(g<p)}return g}function c(f,h,g=0,p=f.length){const m=o(f,h,g,p-1);return m>g&&i(f[m-1],h)>-i(f[m],h)?m-1:m}return{left:o,center:c,right:u}}function HL(){return 0}function I3(e){return e===null?NaN:+e}function*BL(e,t){for(let n of e)n!=null&&(n=+n)>=n&&(yield n)}const PL=uy(Ii),Hu=PL.right;uy(I3).center;class iw extends Map{constructor(t,n=VL){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),t!=null)for(const[i,o]of t)this.set(i,o)}get(t){return super.get(aw(this,t))}has(t){return super.has(aw(this,t))}set(t,n){return super.set($L(this,t),n)}delete(t){return super.delete(YL(this,t))}}function aw({_intern:e,_key:t},n){const i=t(n);return e.has(i)?e.get(i):n}function $L({_intern:e,_key:t},n){const i=t(n);return e.has(i)?e.get(i):(e.set(i,n),n)}function YL({_intern:e,_key:t},n){const i=t(n);return e.has(i)&&(n=e.get(i),e.delete(i)),n}function VL(e){return e!==null&&typeof e=="object"?e.valueOf():e}function FL(e=Ii){if(e===Ii)return q3;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,n)=>{const i=e(t,n);return i||i===0?i:(e(n,n)===0)-(e(t,t)===0)}}function q3(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:e>t?1:0)}const GL=Math.sqrt(50),QL=Math.sqrt(10),XL=Math.sqrt(2);function hf(e,t,n){const i=(t-e)/Math.max(0,n),o=Math.floor(Math.log10(i)),u=i/Math.pow(10,o),c=u>=GL?10:u>=QL?5:u>=XL?2:1;let f,h,g;return o<0?(g=Math.pow(10,-o)/c,f=Math.round(e*g),h=Math.round(t*g),f/g<e&&++f,h/g>t&&--h,g=-g):(g=Math.pow(10,o)*c,f=Math.round(e/g),h=Math.round(t/g),f*g<e&&++f,h*g>t&&--h),h<f&&.5<=n&&n<2?hf(e,t,n*2):[f,h,g]}function f1(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];const i=t<e,[o,u,c]=i?hf(t,e,n):hf(e,t,n);if(!(u>=o))return[];const f=u-o+1,h=new Array(f);if(i)if(c<0)for(let g=0;g<f;++g)h[g]=(u-g)/-c;else for(let g=0;g<f;++g)h[g]=(u-g)*c;else if(c<0)for(let g=0;g<f;++g)h[g]=(o+g)/-c;else for(let g=0;g<f;++g)h[g]=(o+g)*c;return h}function h1(e,t,n){return t=+t,e=+e,n=+n,hf(e,t,n)[2]}function d1(e,t,n){t=+t,e=+e,n=+n;const i=t<e,o=i?h1(t,e,n):h1(e,t,n);return(i?-1:1)*(o<0?1/-o:o)}function ow(e,t){let n;for(const i of e)i!=null&&(n<i||n===void 0&&i>=i)&&(n=i);return n}function lw(e,t){let n;for(const i of e)i!=null&&(n>i||n===void 0&&i>=i)&&(n=i);return n}function U3(e,t,n=0,i=1/0,o){if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),i=Math.floor(Math.min(e.length-1,i)),!(n<=t&&t<=i))return e;for(o=o===void 0?q3:FL(o);i>n;){if(i-n>600){const h=i-n+1,g=t-n+1,p=Math.log(h),m=.5*Math.exp(2*p/3),v=.5*Math.sqrt(p*m*(h-m)/h)*(g-h/2<0?-1:1),S=Math.max(n,Math.floor(t-g*m/h+v)),M=Math.min(i,Math.floor(t+(h-g)*m/h+v));U3(e,t,S,M,o)}const u=e[t];let c=n,f=i;for(au(e,n,t),o(e[i],u)>0&&au(e,n,i);c<f;){for(au(e,c,f),++c,--f;o(e[c],u)<0;)++c;for(;o(e[f],u)>0;)--f}o(e[n],u)===0?au(e,n,f):(++f,au(e,f,i)),f<=t&&(n=f+1),t<=f&&(i=f-1)}return e}function au(e,t,n){const i=e[t];e[t]=e[n],e[n]=i}function KL(e,t,n){if(e=Float64Array.from(BL(e)),!(!(i=e.length)||isNaN(t=+t))){if(t<=0||i<2)return lw(e);if(t>=1)return ow(e);var i,o=(i-1)*t,u=Math.floor(o),c=ow(U3(e,u).subarray(0,u+1)),f=lw(e.subarray(u+1));return c+(f-c)*(o-u)}}function ZL(e,t,n=I3){if(!(!(i=e.length)||isNaN(t=+t))){if(t<=0||i<2)return+n(e[0],0,e);if(t>=1)return+n(e[i-1],i-1,e);var i,o=(i-1)*t,u=Math.floor(o),c=+n(e[u],u,e),f=+n(e[u+1],u+1,e);return c+(f-c)*(o-u)}}function JL(e,t,n){e=+e,t=+t,n=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+n;for(var i=-1,o=Math.max(0,Math.ceil((t-e)/n))|0,u=new Array(o);++i<o;)u[i]=e+i*n;return u}function qn(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function Xr(e,t){switch(arguments.length){case 0:break;case 1:{typeof e=="function"?this.interpolator(e):this.range(e);break}default:{this.domain(e),typeof t=="function"?this.interpolator(t):this.range(t);break}}return this}const g1=Symbol("implicit");function sy(){var e=new iw,t=[],n=[],i=g1;function o(u){let c=e.get(u);if(c===void 0){if(i!==g1)return i;e.set(u,c=t.push(u)-1)}return n[c%n.length]}return o.domain=function(u){if(!arguments.length)return t.slice();t=[],e=new iw;for(const c of u)e.has(c)||e.set(c,t.push(c)-1);return o},o.range=function(u){return arguments.length?(n=Array.from(u),o):n.slice()},o.unknown=function(u){return arguments.length?(i=u,o):i},o.copy=function(){return sy(t,n).unknown(i)},qn.apply(o,arguments),o}function cy(){var e=sy().unknown(void 0),t=e.domain,n=e.range,i=0,o=1,u,c,f=!1,h=0,g=0,p=.5;delete e.unknown;function m(){var v=t().length,S=o<i,M=S?o:i,b=S?i:o;u=(b-M)/Math.max(1,v-h+g*2),f&&(u=Math.floor(u)),M+=(b-M-u*(v-h))*p,c=u*(1-h),f&&(M=Math.round(M),c=Math.round(c));var w=JL(v).map(function(E){return M+u*E});return n(S?w.reverse():w)}return e.domain=function(v){return arguments.length?(t(v),m()):t()},e.range=function(v){return arguments.length?([i,o]=v,i=+i,o=+o,m()):[i,o]},e.rangeRound=function(v){return[i,o]=v,i=+i,o=+o,f=!0,m()},e.bandwidth=function(){return c},e.step=function(){return u},e.round=function(v){return arguments.length?(f=!!v,m()):f},e.padding=function(v){return arguments.length?(h=Math.min(1,g=+v),m()):h},e.paddingInner=function(v){return arguments.length?(h=Math.min(1,v),m()):h},e.paddingOuter=function(v){return arguments.length?(g=+v,m()):g},e.align=function(v){return arguments.length?(p=Math.max(0,Math.min(1,v)),m()):p},e.copy=function(){return cy(t(),[i,o]).round(f).paddingInner(h).paddingOuter(g).align(p)},qn.apply(m(),arguments)}function j3(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return j3(t())},e}function WL(){return j3(cy.apply(null,arguments).paddingInner(1))}function eI(e){return function(){return e}}function df(e){return+e}var uw=[0,1];function Ht(e){return e}function p1(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:eI(isNaN(t)?NaN:.5)}function tI(e,t){var n;return e>t&&(n=e,e=t,t=n),function(i){return Math.max(e,Math.min(t,i))}}function nI(e,t,n){var i=e[0],o=e[1],u=t[0],c=t[1];return o<i?(i=p1(o,i),u=n(c,u)):(i=p1(i,o),u=n(u,c)),function(f){return u(i(f))}}function rI(e,t,n){var i=Math.min(e.length,t.length)-1,o=new Array(i),u=new Array(i),c=-1;for(e[i]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++c<i;)o[c]=p1(e[c],e[c+1]),u[c]=n(t[c],t[c+1]);return function(f){var h=Hu(e,f,1,i)-1;return u[h](o[h](f))}}function Bu(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function zf(){var e=uw,t=uw,n=rl,i,o,u,c=Ht,f,h,g;function p(){var v=Math.min(e.length,t.length);return c!==Ht&&(c=tI(e[0],e[v-1])),f=v>2?rI:nI,h=g=null,m}function m(v){return v==null||isNaN(v=+v)?u:(h||(h=f(e.map(i),t,n)))(i(c(v)))}return m.invert=function(v){return c(o((g||(g=f(t,e.map(i),Yn)))(v)))},m.domain=function(v){return arguments.length?(e=Array.from(v,df),p()):e.slice()},m.range=function(v){return arguments.length?(t=Array.from(v),p()):t.slice()},m.rangeRound=function(v){return t=Array.from(v),n=F1,p()},m.clamp=function(v){return arguments.length?(c=v?!0:Ht,p()):c!==Ht},m.interpolate=function(v){return arguments.length?(n=v,p()):n},m.unknown=function(v){return arguments.length?(u=v,m):u},function(v,S){return i=v,o=S,p()}}function fy(){return zf()(Ht,Ht)}function iI(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function gf(e,t){if(!isFinite(e)||e===0)return null;var n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"),i=e.slice(0,n);return[i.length>1?i[0]+i.slice(2):i,+e.slice(n+1)]}function Go(e){return e=gf(Math.abs(e)),e?e[1]:NaN}function aI(e,t){return function(n,i){for(var o=n.length,u=[],c=0,f=e[0],h=0;o>0&&f>0&&(h+f+1>i&&(f=Math.max(1,i-h)),u.push(n.substring(o-=f,o+f)),!((h+=f+1)>i));)f=e[c=(c+1)%e.length];return u.reverse().join(t)}}function oI(e){return function(t){return t.replace(/[0-9]/g,function(n){return e[+n]})}}var lI=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Cu(e){if(!(t=lI.exec(e)))throw new Error("invalid format: "+e);var t;return new hy({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}Cu.prototype=hy.prototype;function hy(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}hy.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function uI(e){e:for(var t=e.length,n=1,i=-1,o;n<t;++n)switch(e[n]){case".":i=o=n;break;case"0":i===0&&(i=n),o=n;break;default:if(!+e[n])break e;i>0&&(i=0);break}return i>0?e.slice(0,i)+e.slice(o+1):e}var pf;function sI(e,t){var n=gf(e,t);if(!n)return pf=void 0,e.toPrecision(t);var i=n[0],o=n[1],u=o-(pf=Math.max(-8,Math.min(8,Math.floor(o/3)))*3)+1,c=i.length;return u===c?i:u>c?i+new Array(u-c+1).join("0"):u>0?i.slice(0,u)+"."+i.slice(u):"0."+new Array(1-u).join("0")+gf(e,Math.max(0,t+u-1))[0]}function sw(e,t){var n=gf(e,t);if(!n)return e+"";var i=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+i:i.length>o+1?i.slice(0,o+1)+"."+i.slice(o+1):i+new Array(o-i.length+2).join("0")}const cw={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:iI,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>sw(e*100,t),r:sw,s:sI,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function fw(e){return e}var hw=Array.prototype.map,dw=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function cI(e){var t=e.grouping===void 0||e.thousands===void 0?fw:aI(hw.call(e.grouping,Number),e.thousands+""),n=e.currency===void 0?"":e.currency[0]+"",i=e.currency===void 0?"":e.currency[1]+"",o=e.decimal===void 0?".":e.decimal+"",u=e.numerals===void 0?fw:oI(hw.call(e.numerals,String)),c=e.percent===void 0?"%":e.percent+"",f=e.minus===void 0?"−":e.minus+"",h=e.nan===void 0?"NaN":e.nan+"";function g(m,v){m=Cu(m);var S=m.fill,M=m.align,b=m.sign,w=m.symbol,E=m.zero,A=m.width,k=m.comma,T=m.precision,C=m.trim,O=m.type;O==="n"?(k=!0,O="g"):cw[O]||(T===void 0&&(T=12),C=!0,O="g"),(E||S==="0"&&M==="=")&&(E=!0,S="0",M="=");var D=(v&&v.prefix!==void 0?v.prefix:"")+(w==="$"?n:w==="#"&&/[boxX]/.test(O)?"0"+O.toLowerCase():""),N=(w==="$"?i:/[%p]/.test(O)?c:"")+(v&&v.suffix!==void 0?v.suffix:""),P=cw[O],Z=/[defgprs%]/.test(O);T=T===void 0?6:/[gprs]/.test(O)?Math.max(1,Math.min(21,T)):Math.max(0,Math.min(20,T));function W(G){var ue=D,q=N,re,R,F;if(O==="c")q=P(G)+q,G="";else{G=+G;var ie=G<0||1/G<0;if(G=isNaN(G)?h:P(Math.abs(G),T),C&&(G=uI(G)),ie&&+G==0&&b!=="+"&&(ie=!1),ue=(ie?b==="("?b:f:b==="-"||b==="("?"":b)+ue,q=(O==="s"&&!isNaN(G)&&pf!==void 0?dw[8+pf/3]:"")+q+(ie&&b==="("?")":""),Z){for(re=-1,R=G.length;++re<R;)if(F=G.charCodeAt(re),48>F||F>57){q=(F===46?o+G.slice(re+1):G.slice(re))+q,G=G.slice(0,re);break}}}k&&!E&&(G=t(G,1/0));var se=ue.length+G.length+q.length,K=se<A?new Array(A-se+1).join(S):"";switch(k&&E&&(G=t(K+G,K.length?A-q.length:1/0),K=""),M){case"<":G=ue+G+q+K;break;case"=":G=ue+K+G+q;break;case"^":G=K.slice(0,se=K.length>>1)+ue+G+q+K.slice(se);break;default:G=K+ue+G+q;break}return u(G)}return W.toString=function(){return m+""},W}function p(m,v){var S=Math.max(-8,Math.min(8,Math.floor(Go(v)/3)))*3,M=Math.pow(10,-S),b=g((m=Cu(m),m.type="f",m),{suffix:dw[8+S/3]});return function(w){return b(M*w)}}return{format:g,formatPrefix:p}}var _c,dy,H3;fI({thousands:",",grouping:[3],currency:["$",""]});function fI(e){return _c=cI(e),dy=_c.format,H3=_c.formatPrefix,_c}function hI(e){return Math.max(0,-Go(Math.abs(e)))}function dI(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Go(t)/3)))*3-Go(Math.abs(e)))}function gI(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Go(t)-Go(e))+1}function B3(e,t,n,i){var o=d1(e,t,n),u;switch(i=Cu(i??",f"),i.type){case"s":{var c=Math.max(Math.abs(e),Math.abs(t));return i.precision==null&&!isNaN(u=dI(o,c))&&(i.precision=u),H3(i,c)}case"":case"e":case"g":case"p":case"r":{i.precision==null&&!isNaN(u=gI(o,Math.max(Math.abs(e),Math.abs(t))))&&(i.precision=u-(i.type==="e"));break}case"f":case"%":{i.precision==null&&!isNaN(u=hI(o))&&(i.precision=u-(i.type==="%")*2);break}}return dy(i)}function Ui(e){var t=e.domain;return e.ticks=function(n){var i=t();return f1(i[0],i[i.length-1],n??10)},e.tickFormat=function(n,i){var o=t();return B3(o[0],o[o.length-1],n??10,i)},e.nice=function(n){n==null&&(n=10);var i=t(),o=0,u=i.length-1,c=i[o],f=i[u],h,g,p=10;for(f<c&&(g=c,c=f,f=g,g=o,o=u,u=g);p-- >0;){if(g=h1(c,f,n),g===h)return i[o]=c,i[u]=f,t(i);if(g>0)c=Math.floor(c/g)*g,f=Math.ceil(f/g)*g;else if(g<0)c=Math.ceil(c*g)/g,f=Math.floor(f*g)/g;else break;h=g}return e},e}function P3(){var e=fy();return e.copy=function(){return Bu(e,P3())},qn.apply(e,arguments),Ui(e)}function $3(e){var t;function n(i){return i==null||isNaN(i=+i)?t:i}return n.invert=n,n.domain=n.range=function(i){return arguments.length?(e=Array.from(i,df),n):e.slice()},n.unknown=function(i){return arguments.length?(t=i,n):t},n.copy=function(){return $3(e).unknown(t)},e=arguments.length?Array.from(e,df):[0,1],Ui(n)}function Y3(e,t){e=e.slice();var n=0,i=e.length-1,o=e[n],u=e[i],c;return u<o&&(c=n,n=i,i=c,c=o,o=u,u=c),e[n]=t.floor(o),e[i]=t.ceil(u),e}function gw(e){return Math.log(e)}function pw(e){return Math.exp(e)}function pI(e){return-Math.log(-e)}function yI(e){return-Math.exp(-e)}function mI(e){return isFinite(e)?+("1e"+e):e<0?0:e}function vI(e){return e===10?mI:e===Math.E?Math.exp:t=>Math.pow(e,t)}function bI(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function yw(e){return(t,n)=>-e(-t,n)}function gy(e){const t=e(gw,pw),n=t.domain;let i=10,o,u;function c(){return o=bI(i),u=vI(i),n()[0]<0?(o=yw(o),u=yw(u),e(pI,yI)):e(gw,pw),t}return t.base=function(f){return arguments.length?(i=+f,c()):i},t.domain=function(f){return arguments.length?(n(f),c()):n()},t.ticks=f=>{const h=n();let g=h[0],p=h[h.length-1];const m=p<g;m&&([g,p]=[p,g]);let v=o(g),S=o(p),M,b;const w=f==null?10:+f;let E=[];if(!(i%1)&&S-v<w){if(v=Math.floor(v),S=Math.ceil(S),g>0){for(;v<=S;++v)for(M=1;M<i;++M)if(b=v<0?M/u(-v):M*u(v),!(b<g)){if(b>p)break;E.push(b)}}else for(;v<=S;++v)for(M=i-1;M>=1;--M)if(b=v>0?M/u(-v):M*u(v),!(b<g)){if(b>p)break;E.push(b)}E.length*2<w&&(E=f1(g,p,w))}else E=f1(v,S,Math.min(S-v,w)).map(u);return m?E.reverse():E},t.tickFormat=(f,h)=>{if(f==null&&(f=10),h==null&&(h=i===10?"s":","),typeof h!="function"&&(!(i%1)&&(h=Cu(h)).precision==null&&(h.trim=!0),h=dy(h)),f===1/0)return h;const g=Math.max(1,i*f/t.ticks().length);return p=>{let m=p/u(Math.round(o(p)));return m*i<i-.5&&(m*=i),m<=g?h(p):""}},t.nice=()=>n(Y3(n(),{floor:f=>u(Math.floor(o(f))),ceil:f=>u(Math.ceil(o(f)))})),t}function V3(){const e=gy(zf()).domain([1,10]);return e.copy=()=>Bu(e,V3()).base(e.base()),qn.apply(e,arguments),e}function mw(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function vw(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function py(e){var t=1,n=e(mw(t),vw(t));return n.constant=function(i){return arguments.length?e(mw(t=+i),vw(t)):t},Ui(n)}function F3(){var e=py(zf());return e.copy=function(){return Bu(e,F3()).constant(e.constant())},qn.apply(e,arguments)}function bw(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function SI(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function _I(e){return e<0?-e*e:e*e}function yy(e){var t=e(Ht,Ht),n=1;function i(){return n===1?e(Ht,Ht):n===.5?e(SI,_I):e(bw(n),bw(1/n))}return t.exponent=function(o){return arguments.length?(n=+o,i()):n},Ui(t)}function my(){var e=yy(zf());return e.copy=function(){return Bu(e,my()).exponent(e.exponent())},qn.apply(e,arguments),e}function wI(){return my.apply(null,arguments).exponent(.5)}function Sw(e){return Math.sign(e)*e*e}function MI(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function G3(){var e=fy(),t=[0,1],n=!1,i;function o(u){var c=MI(e(u));return isNaN(c)?i:n?Math.round(c):c}return o.invert=function(u){return e.invert(Sw(u))},o.domain=function(u){return arguments.length?(e.domain(u),o):e.domain()},o.range=function(u){return arguments.length?(e.range((t=Array.from(u,df)).map(Sw)),o):t.slice()},o.rangeRound=function(u){return o.range(u).round(!0)},o.round=function(u){return arguments.length?(n=!!u,o):n},o.clamp=function(u){return arguments.length?(e.clamp(u),o):e.clamp()},o.unknown=function(u){return arguments.length?(i=u,o):i},o.copy=function(){return G3(e.domain(),t).round(n).clamp(e.clamp()).unknown(i)},qn.apply(o,arguments),Ui(o)}function Q3(){var e=[],t=[],n=[],i;function o(){var c=0,f=Math.max(1,t.length);for(n=new Array(f-1);++c<f;)n[c-1]=ZL(e,c/f);return u}function u(c){return c==null||isNaN(c=+c)?i:t[Hu(n,c)]}return u.invertExtent=function(c){var f=t.indexOf(c);return f<0?[NaN,NaN]:[f>0?n[f-1]:e[0],f<n.length?n[f]:e[e.length-1]]},u.domain=function(c){if(!arguments.length)return e.slice();e=[];for(let f of c)f!=null&&!isNaN(f=+f)&&e.push(f);return e.sort(Ii),o()},u.range=function(c){return arguments.length?(t=Array.from(c),o()):t.slice()},u.unknown=function(c){return arguments.length?(i=c,u):i},u.quantiles=function(){return n.slice()},u.copy=function(){return Q3().domain(e).range(t).unknown(i)},qn.apply(u,arguments)}function X3(){var e=0,t=1,n=1,i=[.5],o=[0,1],u;function c(h){return h!=null&&h<=h?o[Hu(i,h,0,n)]:u}function f(){var h=-1;for(i=new Array(n);++h<n;)i[h]=((h+1)*t-(h-n)*e)/(n+1);return c}return c.domain=function(h){return arguments.length?([e,t]=h,e=+e,t=+t,f()):[e,t]},c.range=function(h){return arguments.length?(n=(o=Array.from(h)).length-1,f()):o.slice()},c.invertExtent=function(h){var g=o.indexOf(h);return g<0?[NaN,NaN]:g<1?[e,i[0]]:g>=n?[i[n-1],t]:[i[g-1],i[g]]},c.unknown=function(h){return arguments.length&&(u=h),c},c.thresholds=function(){return i.slice()},c.copy=function(){return X3().domain([e,t]).range(o).unknown(u)},qn.apply(Ui(c),arguments)}function K3(){var e=[.5],t=[0,1],n,i=1;function o(u){return u!=null&&u<=u?t[Hu(e,u,0,i)]:n}return o.domain=function(u){return arguments.length?(e=Array.from(u),i=Math.min(e.length,t.length-1),o):e.slice()},o.range=function(u){return arguments.length?(t=Array.from(u),i=Math.min(e.length,t.length-1),o):t.slice()},o.invertExtent=function(u){var c=t.indexOf(u);return[e[c-1],e[c]]},o.unknown=function(u){return arguments.length?(n=u,o):n},o.copy=function(){return K3().domain(e).range(t).unknown(n)},qn.apply(o,arguments)}const R0=new Date,z0=new Date;function bt(e,t,n,i){function o(u){return e(u=arguments.length===0?new Date:new Date(+u)),u}return o.floor=u=>(e(u=new Date(+u)),u),o.ceil=u=>(e(u=new Date(u-1)),t(u,1),e(u),u),o.round=u=>{const c=o(u),f=o.ceil(u);return u-c<f-u?c:f},o.offset=(u,c)=>(t(u=new Date(+u),c==null?1:Math.floor(c)),u),o.range=(u,c,f)=>{const h=[];if(u=o.ceil(u),f=f==null?1:Math.floor(f),!(u<c)||!(f>0))return h;let g;do h.push(g=new Date(+u)),t(u,f),e(u);while(g<u&&u<c);return h},o.filter=u=>bt(c=>{if(c>=c)for(;e(c),!u(c);)c.setTime(c-1)},(c,f)=>{if(c>=c)if(f<0)for(;++f<=0;)for(;t(c,-1),!u(c););else for(;--f>=0;)for(;t(c,1),!u(c););}),n&&(o.count=(u,c)=>(R0.setTime(+u),z0.setTime(+c),e(R0),e(z0),Math.floor(n(R0,z0))),o.every=u=>(u=Math.floor(u),!isFinite(u)||!(u>0)?null:u>1?o.filter(i?c=>i(c)%u===0:c=>o.count(0,c)%u===0):o)),o}const yf=bt(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);yf.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?bt(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):yf);yf.range;const Hr=1e3,Rn=Hr*60,Br=Rn*60,Fr=Br*24,vy=Fr*7,_w=Fr*30,L0=Fr*365,fa=bt(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*Hr)},(e,t)=>(t-e)/Hr,e=>e.getUTCSeconds());fa.range;const by=bt(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Hr)},(e,t)=>{e.setTime(+e+t*Rn)},(e,t)=>(t-e)/Rn,e=>e.getMinutes());by.range;const Sy=bt(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*Rn)},(e,t)=>(t-e)/Rn,e=>e.getUTCMinutes());Sy.range;const _y=bt(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Hr-e.getMinutes()*Rn)},(e,t)=>{e.setTime(+e+t*Br)},(e,t)=>(t-e)/Br,e=>e.getHours());_y.range;const wy=bt(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*Br)},(e,t)=>(t-e)/Br,e=>e.getUTCHours());wy.range;const Pu=bt(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Rn)/Fr,e=>e.getDate()-1);Pu.range;const Lf=bt(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/Fr,e=>e.getUTCDate()-1);Lf.range;const Z3=bt(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/Fr,e=>Math.floor(e/Fr));Z3.range;function Da(e){return bt(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,n)=>{t.setDate(t.getDate()+n*7)},(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Rn)/vy)}const If=Da(0),mf=Da(1),TI=Da(2),EI=Da(3),Qo=Da(4),xI=Da(5),OI=Da(6);If.range;mf.range;TI.range;EI.range;Qo.range;xI.range;OI.range;function Na(e){return bt(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n*7)},(t,n)=>(n-t)/vy)}const qf=Na(0),vf=Na(1),CI=Na(2),kI=Na(3),Xo=Na(4),AI=Na(5),DI=Na(6);qf.range;vf.range;CI.range;kI.range;Xo.range;AI.range;DI.range;const My=bt(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());My.range;const Ty=bt(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());Ty.range;const Gr=bt(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());Gr.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:bt(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)});Gr.range;const Qr=bt(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());Qr.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:bt(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)});Qr.range;function J3(e,t,n,i,o,u){const c=[[fa,1,Hr],[fa,5,5*Hr],[fa,15,15*Hr],[fa,30,30*Hr],[u,1,Rn],[u,5,5*Rn],[u,15,15*Rn],[u,30,30*Rn],[o,1,Br],[o,3,3*Br],[o,6,6*Br],[o,12,12*Br],[i,1,Fr],[i,2,2*Fr],[n,1,vy],[t,1,_w],[t,3,3*_w],[e,1,L0]];function f(g,p,m){const v=p<g;v&&([g,p]=[p,g]);const S=m&&typeof m.range=="function"?m:h(g,p,m),M=S?S.range(g,+p+1):[];return v?M.reverse():M}function h(g,p,m){const v=Math.abs(p-g)/m,S=uy(([,,w])=>w).right(c,v);if(S===c.length)return e.every(d1(g/L0,p/L0,m));if(S===0)return yf.every(Math.max(d1(g,p,m),1));const[M,b]=c[v/c[S-1][2]<c[S][2]/v?S-1:S];return M.every(b)}return[f,h]}const[NI,RI]=J3(Qr,Ty,qf,Z3,wy,Sy),[zI,LI]=J3(Gr,My,If,Pu,_y,by);function I0(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function q0(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function ou(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function II(e){var t=e.dateTime,n=e.date,i=e.time,o=e.periods,u=e.days,c=e.shortDays,f=e.months,h=e.shortMonths,g=lu(o),p=uu(o),m=lu(u),v=uu(u),S=lu(c),M=uu(c),b=lu(f),w=uu(f),E=lu(h),A=uu(h),k={a:F,A:ie,b:se,B:K,c:null,d:Ow,e:Ow,f:aq,g:pq,G:mq,H:nq,I:rq,j:iq,L:W3,m:oq,M:lq,p:z,q:Q,Q:Aw,s:Dw,S:uq,u:sq,U:cq,V:fq,w:hq,W:dq,x:null,X:null,y:gq,Y:yq,Z:vq,"%":kw},T={a:oe,A:le,b:ce,B:he,c:null,d:Cw,e:Cw,f:wq,g:Nq,G:zq,H:bq,I:Sq,j:_q,L:tx,m:Mq,M:Tq,p:ve,q:Ae,Q:Aw,s:Dw,S:Eq,u:xq,U:Oq,V:Cq,w:kq,W:Aq,x:null,X:null,y:Dq,Y:Rq,Z:Lq,"%":kw},C={a:Z,A:W,b:G,B:ue,c:q,d:Ew,e:Ew,f:JI,g:Tw,G:Mw,H:xw,I:xw,j:QI,L:ZI,m:GI,M:XI,p:P,q:FI,Q:eq,s:tq,S:KI,u:BI,U:PI,V:$I,w:HI,W:YI,x:re,X:R,y:Tw,Y:Mw,Z:VI,"%":WI};k.x=O(n,k),k.X=O(i,k),k.c=O(t,k),T.x=O(n,T),T.X=O(i,T),T.c=O(t,T);function O(ne,we){return function(xe){var ae=[],st=-1,De=0,xt=ne.length,Ot,cr,ol;for(xe instanceof Date||(xe=new Date(+xe));++st<xt;)ne.charCodeAt(st)===37&&(ae.push(ne.slice(De,st)),(cr=ww[Ot=ne.charAt(++st)])!=null?Ot=ne.charAt(++st):cr=Ot==="e"?" ":"0",(ol=we[Ot])&&(Ot=ol(xe,cr)),ae.push(Ot),De=st+1);return ae.push(ne.slice(De,st)),ae.join("")}}function D(ne,we){return function(xe){var ae=ou(1900,void 0,1),st=N(ae,ne,xe+="",0),De,xt;if(st!=xe.length)return null;if("Q"in ae)return new Date(ae.Q);if("s"in ae)return new Date(ae.s*1e3+("L"in ae?ae.L:0));if(we&&!("Z"in ae)&&(ae.Z=0),"p"in ae&&(ae.H=ae.H%12+ae.p*12),ae.m===void 0&&(ae.m="q"in ae?ae.q:0),"V"in ae){if(ae.V<1||ae.V>53)return null;"w"in ae||(ae.w=1),"Z"in ae?(De=q0(ou(ae.y,0,1)),xt=De.getUTCDay(),De=xt>4||xt===0?vf.ceil(De):vf(De),De=Lf.offset(De,(ae.V-1)*7),ae.y=De.getUTCFullYear(),ae.m=De.getUTCMonth(),ae.d=De.getUTCDate()+(ae.w+6)%7):(De=I0(ou(ae.y,0,1)),xt=De.getDay(),De=xt>4||xt===0?mf.ceil(De):mf(De),De=Pu.offset(De,(ae.V-1)*7),ae.y=De.getFullYear(),ae.m=De.getMonth(),ae.d=De.getDate()+(ae.w+6)%7)}else("W"in ae||"U"in ae)&&("w"in ae||(ae.w="u"in ae?ae.u%7:"W"in ae?1:0),xt="Z"in ae?q0(ou(ae.y,0,1)).getUTCDay():I0(ou(ae.y,0,1)).getDay(),ae.m=0,ae.d="W"in ae?(ae.w+6)%7+ae.W*7-(xt+5)%7:ae.w+ae.U*7-(xt+6)%7);return"Z"in ae?(ae.H+=ae.Z/100|0,ae.M+=ae.Z%100,q0(ae)):I0(ae)}}function N(ne,we,xe,ae){for(var st=0,De=we.length,xt=xe.length,Ot,cr;st<De;){if(ae>=xt)return-1;if(Ot=we.charCodeAt(st++),Ot===37){if(Ot=we.charAt(st++),cr=C[Ot in ww?we.charAt(st++):Ot],!cr||(ae=cr(ne,xe,ae))<0)return-1}else if(Ot!=xe.charCodeAt(ae++))return-1}return ae}function P(ne,we,xe){var ae=g.exec(we.slice(xe));return ae?(ne.p=p.get(ae[0].toLowerCase()),xe+ae[0].length):-1}function Z(ne,we,xe){var ae=S.exec(we.slice(xe));return ae?(ne.w=M.get(ae[0].toLowerCase()),xe+ae[0].length):-1}function W(ne,we,xe){var ae=m.exec(we.slice(xe));return ae?(ne.w=v.get(ae[0].toLowerCase()),xe+ae[0].length):-1}function G(ne,we,xe){var ae=E.exec(we.slice(xe));return ae?(ne.m=A.get(ae[0].toLowerCase()),xe+ae[0].length):-1}function ue(ne,we,xe){var ae=b.exec(we.slice(xe));return ae?(ne.m=w.get(ae[0].toLowerCase()),xe+ae[0].length):-1}function q(ne,we,xe){return N(ne,t,we,xe)}function re(ne,we,xe){return N(ne,n,we,xe)}function R(ne,we,xe){return N(ne,i,we,xe)}function F(ne){return c[ne.getDay()]}function ie(ne){return u[ne.getDay()]}function se(ne){return h[ne.getMonth()]}function K(ne){return f[ne.getMonth()]}function z(ne){return o[+(ne.getHours()>=12)]}function Q(ne){return 1+~~(ne.getMonth()/3)}function oe(ne){return c[ne.getUTCDay()]}function le(ne){return u[ne.getUTCDay()]}function ce(ne){return h[ne.getUTCMonth()]}function he(ne){return f[ne.getUTCMonth()]}function ve(ne){return o[+(ne.getUTCHours()>=12)]}function Ae(ne){return 1+~~(ne.getUTCMonth()/3)}return{format:function(ne){var we=O(ne+="",k);return we.toString=function(){return ne},we},parse:function(ne){var we=D(ne+="",!1);return we.toString=function(){return ne},we},utcFormat:function(ne){var we=O(ne+="",T);return we.toString=function(){return ne},we},utcParse:function(ne){var we=D(ne+="",!0);return we.toString=function(){return ne},we}}}var ww={"-":"",_:" ",0:"0"},Et=/^\s*\d+/,qI=/^%/,UI=/[\\^$*+?|[\]().{}]/g;function Pe(e,t,n){var i=e<0?"-":"",o=(i?-e:e)+"",u=o.length;return i+(u<n?new Array(n-u+1).join(t)+o:o)}function jI(e){return e.replace(UI,"\\$&")}function lu(e){return new RegExp("^(?:"+e.map(jI).join("|")+")","i")}function uu(e){return new Map(e.map((t,n)=>[t.toLowerCase(),n]))}function HI(e,t,n){var i=Et.exec(t.slice(n,n+1));return i?(e.w=+i[0],n+i[0].length):-1}function BI(e,t,n){var i=Et.exec(t.slice(n,n+1));return i?(e.u=+i[0],n+i[0].length):-1}function PI(e,t,n){var i=Et.exec(t.slice(n,n+2));return i?(e.U=+i[0],n+i[0].length):-1}function $I(e,t,n){var i=Et.exec(t.slice(n,n+2));return i?(e.V=+i[0],n+i[0].length):-1}function YI(e,t,n){var i=Et.exec(t.slice(n,n+2));return i?(e.W=+i[0],n+i[0].length):-1}function Mw(e,t,n){var i=Et.exec(t.slice(n,n+4));return i?(e.y=+i[0],n+i[0].length):-1}function Tw(e,t,n){var i=Et.exec(t.slice(n,n+2));return i?(e.y=+i[0]+(+i[0]>68?1900:2e3),n+i[0].length):-1}function VI(e,t,n){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return i?(e.Z=i[1]?0:-(i[2]+(i[3]||"00")),n+i[0].length):-1}function FI(e,t,n){var i=Et.exec(t.slice(n,n+1));return i?(e.q=i[0]*3-3,n+i[0].length):-1}function GI(e,t,n){var i=Et.exec(t.slice(n,n+2));return i?(e.m=i[0]-1,n+i[0].length):-1}function Ew(e,t,n){var i=Et.exec(t.slice(n,n+2));return i?(e.d=+i[0],n+i[0].length):-1}function QI(e,t,n){var i=Et.exec(t.slice(n,n+3));return i?(e.m=0,e.d=+i[0],n+i[0].length):-1}function xw(e,t,n){var i=Et.exec(t.slice(n,n+2));return i?(e.H=+i[0],n+i[0].length):-1}function XI(e,t,n){var i=Et.exec(t.slice(n,n+2));return i?(e.M=+i[0],n+i[0].length):-1}function KI(e,t,n){var i=Et.exec(t.slice(n,n+2));return i?(e.S=+i[0],n+i[0].length):-1}function ZI(e,t,n){var i=Et.exec(t.slice(n,n+3));return i?(e.L=+i[0],n+i[0].length):-1}function JI(e,t,n){var i=Et.exec(t.slice(n,n+6));return i?(e.L=Math.floor(i[0]/1e3),n+i[0].length):-1}function WI(e,t,n){var i=qI.exec(t.slice(n,n+1));return i?n+i[0].length:-1}function eq(e,t,n){var i=Et.exec(t.slice(n));return i?(e.Q=+i[0],n+i[0].length):-1}function tq(e,t,n){var i=Et.exec(t.slice(n));return i?(e.s=+i[0],n+i[0].length):-1}function Ow(e,t){return Pe(e.getDate(),t,2)}function nq(e,t){return Pe(e.getHours(),t,2)}function rq(e,t){return Pe(e.getHours()%12||12,t,2)}function iq(e,t){return Pe(1+Pu.count(Gr(e),e),t,3)}function W3(e,t){return Pe(e.getMilliseconds(),t,3)}function aq(e,t){return W3(e,t)+"000"}function oq(e,t){return Pe(e.getMonth()+1,t,2)}function lq(e,t){return Pe(e.getMinutes(),t,2)}function uq(e,t){return Pe(e.getSeconds(),t,2)}function sq(e){var t=e.getDay();return t===0?7:t}function cq(e,t){return Pe(If.count(Gr(e)-1,e),t,2)}function ex(e){var t=e.getDay();return t>=4||t===0?Qo(e):Qo.ceil(e)}function fq(e,t){return e=ex(e),Pe(Qo.count(Gr(e),e)+(Gr(e).getDay()===4),t,2)}function hq(e){return e.getDay()}function dq(e,t){return Pe(mf.count(Gr(e)-1,e),t,2)}function gq(e,t){return Pe(e.getFullYear()%100,t,2)}function pq(e,t){return e=ex(e),Pe(e.getFullYear()%100,t,2)}function yq(e,t){return Pe(e.getFullYear()%1e4,t,4)}function mq(e,t){var n=e.getDay();return e=n>=4||n===0?Qo(e):Qo.ceil(e),Pe(e.getFullYear()%1e4,t,4)}function vq(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Pe(t/60|0,"0",2)+Pe(t%60,"0",2)}function Cw(e,t){return Pe(e.getUTCDate(),t,2)}function bq(e,t){return Pe(e.getUTCHours(),t,2)}function Sq(e,t){return Pe(e.getUTCHours()%12||12,t,2)}function _q(e,t){return Pe(1+Lf.count(Qr(e),e),t,3)}function tx(e,t){return Pe(e.getUTCMilliseconds(),t,3)}function wq(e,t){return tx(e,t)+"000"}function Mq(e,t){return Pe(e.getUTCMonth()+1,t,2)}function Tq(e,t){return Pe(e.getUTCMinutes(),t,2)}function Eq(e,t){return Pe(e.getUTCSeconds(),t,2)}function xq(e){var t=e.getUTCDay();return t===0?7:t}function Oq(e,t){return Pe(qf.count(Qr(e)-1,e),t,2)}function nx(e){var t=e.getUTCDay();return t>=4||t===0?Xo(e):Xo.ceil(e)}function Cq(e,t){return e=nx(e),Pe(Xo.count(Qr(e),e)+(Qr(e).getUTCDay()===4),t,2)}function kq(e){return e.getUTCDay()}function Aq(e,t){return Pe(vf.count(Qr(e)-1,e),t,2)}function Dq(e,t){return Pe(e.getUTCFullYear()%100,t,2)}function Nq(e,t){return e=nx(e),Pe(e.getUTCFullYear()%100,t,2)}function Rq(e,t){return Pe(e.getUTCFullYear()%1e4,t,4)}function zq(e,t){var n=e.getUTCDay();return e=n>=4||n===0?Xo(e):Xo.ceil(e),Pe(e.getUTCFullYear()%1e4,t,4)}function Lq(){return"+0000"}function kw(){return"%"}function Aw(e){return+e}function Dw(e){return Math.floor(+e/1e3)}var wo,rx,ix;Iq({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function Iq(e){return wo=II(e),rx=wo.format,wo.parse,ix=wo.utcFormat,wo.utcParse,wo}function qq(e){return new Date(e)}function Uq(e){return e instanceof Date?+e:+new Date(+e)}function Ey(e,t,n,i,o,u,c,f,h,g){var p=fy(),m=p.invert,v=p.domain,S=g(".%L"),M=g(":%S"),b=g("%I:%M"),w=g("%I %p"),E=g("%a %d"),A=g("%b %d"),k=g("%B"),T=g("%Y");function C(O){return(h(O)<O?S:f(O)<O?M:c(O)<O?b:u(O)<O?w:i(O)<O?o(O)<O?E:A:n(O)<O?k:T)(O)}return p.invert=function(O){return new Date(m(O))},p.domain=function(O){return arguments.length?v(Array.from(O,Uq)):v().map(qq)},p.ticks=function(O){var D=v();return e(D[0],D[D.length-1],O??10)},p.tickFormat=function(O,D){return D==null?C:g(D)},p.nice=function(O){var D=v();return(!O||typeof O.range!="function")&&(O=t(D[0],D[D.length-1],O??10)),O?v(Y3(D,O)):p},p.copy=function(){return Bu(p,Ey(e,t,n,i,o,u,c,f,h,g))},p}function jq(){return qn.apply(Ey(zI,LI,Gr,My,If,Pu,_y,by,fa,rx).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function Hq(){return qn.apply(Ey(NI,RI,Qr,Ty,qf,Lf,wy,Sy,fa,ix).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Uf(){var e=0,t=1,n,i,o,u,c=Ht,f=!1,h;function g(m){return m==null||isNaN(m=+m)?h:c(o===0?.5:(m=(u(m)-n)*o,f?Math.max(0,Math.min(1,m)):m))}g.domain=function(m){return arguments.length?([e,t]=m,n=u(e=+e),i=u(t=+t),o=n===i?0:1/(i-n),g):[e,t]},g.clamp=function(m){return arguments.length?(f=!!m,g):f},g.interpolator=function(m){return arguments.length?(c=m,g):c};function p(m){return function(v){var S,M;return arguments.length?([S,M]=v,c=m(S,M),g):[c(0),c(1)]}}return g.range=p(rl),g.rangeRound=p(F1),g.unknown=function(m){return arguments.length?(h=m,g):h},function(m){return u=m,n=m(e),i=m(t),o=n===i?0:1/(i-n),g}}function ji(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function ax(){var e=Ui(Uf()(Ht));return e.copy=function(){return ji(e,ax())},Xr.apply(e,arguments)}function ox(){var e=gy(Uf()).domain([1,10]);return e.copy=function(){return ji(e,ox()).base(e.base())},Xr.apply(e,arguments)}function lx(){var e=py(Uf());return e.copy=function(){return ji(e,lx()).constant(e.constant())},Xr.apply(e,arguments)}function xy(){var e=yy(Uf());return e.copy=function(){return ji(e,xy()).exponent(e.exponent())},Xr.apply(e,arguments)}function Bq(){return xy.apply(null,arguments).exponent(.5)}function ux(){var e=[],t=Ht;function n(i){if(i!=null&&!isNaN(i=+i))return t((Hu(e,i,1)-1)/(e.length-1))}return n.domain=function(i){if(!arguments.length)return e.slice();e=[];for(let o of i)o!=null&&!isNaN(o=+o)&&e.push(o);return e.sort(Ii),n},n.interpolator=function(i){return arguments.length?(t=i,n):t},n.range=function(){return e.map((i,o)=>t(o/(e.length-1)))},n.quantiles=function(i){return Array.from({length:i+1},(o,u)=>KL(e,u/i))},n.copy=function(){return ux(t).domain(e)},Xr.apply(n,arguments)}function jf(){var e=0,t=.5,n=1,i=1,o,u,c,f,h,g=Ht,p,m=!1,v;function S(b){return isNaN(b=+b)?v:(b=.5+((b=+p(b))-u)*(i*b<i*u?f:h),g(m?Math.max(0,Math.min(1,b)):b))}S.domain=function(b){return arguments.length?([e,t,n]=b,o=p(e=+e),u=p(t=+t),c=p(n=+n),f=o===u?0:.5/(u-o),h=u===c?0:.5/(c-u),i=u<o?-1:1,S):[e,t,n]},S.clamp=function(b){return arguments.length?(m=!!b,S):m},S.interpolator=function(b){return arguments.length?(g=b,S):g};function M(b){return function(w){var E,A,k;return arguments.length?([E,A,k]=w,g=n9(b,[E,A,k]),S):[g(0),g(.5),g(1)]}}return S.range=M(rl),S.rangeRound=M(F1),S.unknown=function(b){return arguments.length?(v=b,S):v},function(b){return p=b,o=b(e),u=b(t),c=b(n),f=o===u?0:.5/(u-o),h=u===c?0:.5/(c-u),i=u<o?-1:1,S}}function sx(){var e=Ui(jf()(Ht));return e.copy=function(){return ji(e,sx())},Xr.apply(e,arguments)}function cx(){var e=gy(jf()).domain([.1,1,10]);return e.copy=function(){return ji(e,cx()).base(e.base())},Xr.apply(e,arguments)}function fx(){var e=py(jf());return e.copy=function(){return ji(e,fx()).constant(e.constant())},Xr.apply(e,arguments)}function Oy(){var e=yy(jf());return e.copy=function(){return ji(e,Oy()).exponent(e.exponent())},Xr.apply(e,arguments)}function Pq(){return Oy.apply(null,arguments).exponent(.5)}const cQ=Object.freeze(Object.defineProperty({__proto__:null,scaleBand:cy,scaleDiverging:sx,scaleDivergingLog:cx,scaleDivergingPow:Oy,scaleDivergingSqrt:Pq,scaleDivergingSymlog:fx,scaleIdentity:$3,scaleImplicit:g1,scaleLinear:P3,scaleLog:V3,scaleOrdinal:sy,scalePoint:WL,scalePow:my,scaleQuantile:Q3,scaleQuantize:X3,scaleRadial:G3,scaleSequential:ax,scaleSequentialLog:ox,scaleSequentialPow:xy,scaleSequentialQuantile:ux,scaleSequentialSqrt:Bq,scaleSequentialSymlog:lx,scaleSqrt:wI,scaleSymlog:F3,scaleThreshold:K3,scaleTime:jq,scaleUtc:Hq,tickFormat:B3},Symbol.toStringTag,{value:"Module"}));var U0={exports:{}},Nw;function $q(){return Nw||(Nw=1,(function(e){var t=Object.prototype.hasOwnProperty,n="~";function i(){}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(n=!1));function o(h,g,p){this.fn=h,this.context=g,this.once=p||!1}function u(h,g,p,m,v){if(typeof p!="function")throw new TypeError("The listener must be a function");var S=new o(p,m||h,v),M=n?n+g:g;return h._events[M]?h._events[M].fn?h._events[M]=[h._events[M],S]:h._events[M].push(S):(h._events[M]=S,h._eventsCount++),h}function c(h,g){--h._eventsCount===0?h._events=new i:delete h._events[g]}function f(){this._events=new i,this._eventsCount=0}f.prototype.eventNames=function(){var g=[],p,m;if(this._eventsCount===0)return g;for(m in p=this._events)t.call(p,m)&&g.push(n?m.slice(1):m);return Object.getOwnPropertySymbols?g.concat(Object.getOwnPropertySymbols(p)):g},f.prototype.listeners=function(g){var p=n?n+g:g,m=this._events[p];if(!m)return[];if(m.fn)return[m.fn];for(var v=0,S=m.length,M=new Array(S);v<S;v++)M[v]=m[v].fn;return M},f.prototype.listenerCount=function(g){var p=n?n+g:g,m=this._events[p];return m?m.fn?1:m.length:0},f.prototype.emit=function(g,p,m,v,S,M){var b=n?n+g:g;if(!this._events[b])return!1;var w=this._events[b],E=arguments.length,A,k;if(w.fn){switch(w.once&&this.removeListener(g,w.fn,void 0,!0),E){case 1:return w.fn.call(w.context),!0;case 2:return w.fn.call(w.context,p),!0;case 3:return w.fn.call(w.context,p,m),!0;case 4:return w.fn.call(w.context,p,m,v),!0;case 5:return w.fn.call(w.context,p,m,v,S),!0;case 6:return w.fn.call(w.context,p,m,v,S,M),!0}for(k=1,A=new Array(E-1);k<E;k++)A[k-1]=arguments[k];w.fn.apply(w.context,A)}else{var T=w.length,C;for(k=0;k<T;k++)switch(w[k].once&&this.removeListener(g,w[k].fn,void 0,!0),E){case 1:w[k].fn.call(w[k].context);break;case 2:w[k].fn.call(w[k].context,p);break;case 3:w[k].fn.call(w[k].context,p,m);break;case 4:w[k].fn.call(w[k].context,p,m,v);break;default:if(!A)for(C=1,A=new Array(E-1);C<E;C++)A[C-1]=arguments[C];w[k].fn.apply(w[k].context,A)}}return!0},f.prototype.on=function(g,p,m){return u(this,g,p,m,!1)},f.prototype.once=function(g,p,m){return u(this,g,p,m,!0)},f.prototype.removeListener=function(g,p,m,v){var S=n?n+g:g;if(!this._events[S])return this;if(!p)return c(this,S),this;var M=this._events[S];if(M.fn)M.fn===p&&(!v||M.once)&&(!m||M.context===m)&&c(this,S);else{for(var b=0,w=[],E=M.length;b<E;b++)(M[b].fn!==p||v&&!M[b].once||m&&M[b].context!==m)&&w.push(M[b]);w.length?this._events[S]=w.length===1?w[0]:w:c(this,S)}return this},f.prototype.removeAllListeners=function(g){var p;return g?(p=n?n+g:g,this._events[p]&&c(this,p)):(this._events=new i,this._eventsCount=0),this},f.prototype.off=f.prototype.removeListener,f.prototype.addListener=f.prototype.on,f.prefixed=n,f.EventEmitter=f,e.exports=f})(U0)),U0.exports}var Yq=$q();const fQ=Zt(Yq);var j0={exports:{}},Ke={};/**
|
|
1054
|
+
*/var YS;function Tz(){if(YS)return Og;YS=1;var e=Jo(),t=ZE();function n(g,p){return g===p&&(g!==0||1/g===1/p)||g!==g&&p!==p}var i=typeof Object.is=="function"?Object.is:n,o=t.useSyncExternalStore,u=e.useRef,c=e.useEffect,f=e.useMemo,h=e.useDebugValue;return Og.useSyncExternalStoreWithSelector=function(g,p,m,v,S){var M=u(null);if(M.current===null){var b={hasValue:!1,value:null};M.current=b}else b=M.current;M=f(function(){function E(O){if(!A){if(A=!0,k=O,O=v(O),S!==void 0&&b.hasValue){var D=b.value;if(S(D,O))return T=D}return T=O}if(D=T,i(k,O))return D;var N=v(O);return S!==void 0&&S(D,N)?(k=O,D):(k=O,T=N)}var A=!1,k,T,C=m===void 0?null:m;return[function(){return E(p())},C===null?void 0:function(){return E(C())}]},[p,m,v,S]);var w=o(g,M[0],M[1]);return c(function(){b.hasValue=!0,b.value=w},[w]),h(w),w},Og}var VS;function Ez(){return VS||(VS=1,xg.exports=Tz()),xg.exports}var xz=Ez();const LG=Zt(xz);var bc={exports:{}},FS;function Oz(){if(FS)return bc.exports;FS=1;var e=typeof Reflect=="object"?Reflect:null,t=e&&typeof e.apply=="function"?e.apply:function(C,O,D){return Function.prototype.apply.call(C,O,D)},n;e&&typeof e.ownKeys=="function"?n=e.ownKeys:Object.getOwnPropertySymbols?n=function(C){return Object.getOwnPropertyNames(C).concat(Object.getOwnPropertySymbols(C))}:n=function(C){return Object.getOwnPropertyNames(C)};function i(T){console&&console.warn&&console.warn(T)}var o=Number.isNaN||function(C){return C!==C};function u(){u.init.call(this)}bc.exports=u,bc.exports.once=E,u.EventEmitter=u,u.prototype._events=void 0,u.prototype._eventsCount=0,u.prototype._maxListeners=void 0;var c=10;function f(T){if(typeof T!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof T)}Object.defineProperty(u,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(T){if(typeof T!="number"||T<0||o(T))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+T+".");c=T}}),u.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},u.prototype.setMaxListeners=function(C){if(typeof C!="number"||C<0||o(C))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+C+".");return this._maxListeners=C,this};function h(T){return T._maxListeners===void 0?u.defaultMaxListeners:T._maxListeners}u.prototype.getMaxListeners=function(){return h(this)},u.prototype.emit=function(C){for(var O=[],D=1;D<arguments.length;D++)O.push(arguments[D]);var N=C==="error",P=this._events;if(P!==void 0)N=N&&P.error===void 0;else if(!N)return!1;if(N){var Z;if(O.length>0&&(Z=O[0]),Z instanceof Error)throw Z;var W=new Error("Unhandled error."+(Z?" ("+Z.message+")":""));throw W.context=Z,W}var G=P[C];if(G===void 0)return!1;if(typeof G=="function")t(G,this,O);else for(var ue=G.length,q=M(G,ue),D=0;D<ue;++D)t(q[D],this,O);return!0};function g(T,C,O,D){var N,P,Z;if(f(O),P=T._events,P===void 0?(P=T._events=Object.create(null),T._eventsCount=0):(P.newListener!==void 0&&(T.emit("newListener",C,O.listener?O.listener:O),P=T._events),Z=P[C]),Z===void 0)Z=P[C]=O,++T._eventsCount;else if(typeof Z=="function"?Z=P[C]=D?[O,Z]:[Z,O]:D?Z.unshift(O):Z.push(O),N=h(T),N>0&&Z.length>N&&!Z.warned){Z.warned=!0;var W=new Error("Possible EventEmitter memory leak detected. "+Z.length+" "+String(C)+" listeners added. Use emitter.setMaxListeners() to increase limit");W.name="MaxListenersExceededWarning",W.emitter=T,W.type=C,W.count=Z.length,i(W)}return T}u.prototype.addListener=function(C,O){return g(this,C,O,!1)},u.prototype.on=u.prototype.addListener,u.prototype.prependListener=function(C,O){return g(this,C,O,!0)};function p(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function m(T,C,O){var D={fired:!1,wrapFn:void 0,target:T,type:C,listener:O},N=p.bind(D);return N.listener=O,D.wrapFn=N,N}u.prototype.once=function(C,O){return f(O),this.on(C,m(this,C,O)),this},u.prototype.prependOnceListener=function(C,O){return f(O),this.prependListener(C,m(this,C,O)),this},u.prototype.removeListener=function(C,O){var D,N,P,Z,W;if(f(O),N=this._events,N===void 0)return this;if(D=N[C],D===void 0)return this;if(D===O||D.listener===O)--this._eventsCount===0?this._events=Object.create(null):(delete N[C],N.removeListener&&this.emit("removeListener",C,D.listener||O));else if(typeof D!="function"){for(P=-1,Z=D.length-1;Z>=0;Z--)if(D[Z]===O||D[Z].listener===O){W=D[Z].listener,P=Z;break}if(P<0)return this;P===0?D.shift():b(D,P),D.length===1&&(N[C]=D[0]),N.removeListener!==void 0&&this.emit("removeListener",C,W||O)}return this},u.prototype.off=u.prototype.removeListener,u.prototype.removeAllListeners=function(C){var O,D,N;if(D=this._events,D===void 0)return this;if(D.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):D[C]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete D[C]),this;if(arguments.length===0){var P=Object.keys(D),Z;for(N=0;N<P.length;++N)Z=P[N],Z!=="removeListener"&&this.removeAllListeners(Z);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(O=D[C],typeof O=="function")this.removeListener(C,O);else if(O!==void 0)for(N=O.length-1;N>=0;N--)this.removeListener(C,O[N]);return this};function v(T,C,O){var D=T._events;if(D===void 0)return[];var N=D[C];return N===void 0?[]:typeof N=="function"?O?[N.listener||N]:[N]:O?w(N):M(N,N.length)}u.prototype.listeners=function(C){return v(this,C,!0)},u.prototype.rawListeners=function(C){return v(this,C,!1)},u.listenerCount=function(T,C){return typeof T.listenerCount=="function"?T.listenerCount(C):S.call(T,C)},u.prototype.listenerCount=S;function S(T){var C=this._events;if(C!==void 0){var O=C[T];if(typeof O=="function")return 1;if(O!==void 0)return O.length}return 0}u.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]};function M(T,C){for(var O=new Array(C),D=0;D<C;++D)O[D]=T[D];return O}function b(T,C){for(;C+1<T.length;C++)T[C]=T[C+1];T.pop()}function w(T){for(var C=new Array(T.length),O=0;O<C.length;++O)C[O]=T[O].listener||T[O];return C}function E(T,C){return new Promise(function(O,D){function N(Z){T.removeListener(C,P),D(Z)}function P(){typeof T.removeListener=="function"&&T.removeListener("error",N),O([].slice.call(arguments))}k(T,C,P,{once:!0}),C!=="error"&&A(T,N,{once:!0})})}function A(T,C,O){typeof T.on=="function"&&k(T,"error",C,O)}function k(T,C,O,D){if(typeof T.on=="function")D.once?T.once(C,O):T.on(C,O);else if(typeof T.addEventListener=="function")T.addEventListener(C,function N(P){D.once&&T.removeEventListener(C,N),O(P)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof T)}return bc.exports}var IG=Oz();function We(e){return function(){return e}}const JE=Math.cos,nf=Math.sin,Kn=Math.sqrt,rf=Math.PI,kf=2*rf,n1=Math.PI,r1=2*n1,aa=1e-6,Cz=r1-aa;function WE(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function kz(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return WE;const n=10**t;return function(i){this._+=i[0];for(let o=1,u=i.length;o<u;++o)this._+=Math.round(arguments[o]*n)/n+i[o]}}class Az{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?WE:kz(t)}moveTo(t,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,n){this._append`L${this._x1=+t},${this._y1=+n}`}quadraticCurveTo(t,n,i,o){this._append`Q${+t},${+n},${this._x1=+i},${this._y1=+o}`}bezierCurveTo(t,n,i,o,u,c){this._append`C${+t},${+n},${+i},${+o},${this._x1=+u},${this._y1=+c}`}arcTo(t,n,i,o,u){if(t=+t,n=+n,i=+i,o=+o,u=+u,u<0)throw new Error(`negative radius: ${u}`);let c=this._x1,f=this._y1,h=i-t,g=o-n,p=c-t,m=f-n,v=p*p+m*m;if(this._x1===null)this._append`M${this._x1=t},${this._y1=n}`;else if(v>aa)if(!(Math.abs(m*h-g*p)>aa)||!u)this._append`L${this._x1=t},${this._y1=n}`;else{let S=i-c,M=o-f,b=h*h+g*g,w=S*S+M*M,E=Math.sqrt(b),A=Math.sqrt(v),k=u*Math.tan((n1-Math.acos((b+v-w)/(2*E*A)))/2),T=k/A,C=k/E;Math.abs(T-1)>aa&&this._append`L${t+T*p},${n+T*m}`,this._append`A${u},${u},0,0,${+(m*S>p*M)},${this._x1=t+C*h},${this._y1=n+C*g}`}}arc(t,n,i,o,u,c){if(t=+t,n=+n,i=+i,c=!!c,i<0)throw new Error(`negative radius: ${i}`);let f=i*Math.cos(o),h=i*Math.sin(o),g=t+f,p=n+h,m=1^c,v=c?o-u:u-o;this._x1===null?this._append`M${g},${p}`:(Math.abs(this._x1-g)>aa||Math.abs(this._y1-p)>aa)&&this._append`L${g},${p}`,i&&(v<0&&(v=v%r1+r1),v>Cz?this._append`A${i},${i},0,1,${m},${t-f},${n-h}A${i},${i},0,1,${m},${this._x1=g},${this._y1=p}`:v>aa&&this._append`A${i},${i},0,${+(v>=n1)},${m},${this._x1=t+i*Math.cos(u)},${this._y1=n+i*Math.sin(u)}`)}rect(t,n,i,o){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${i=+i}v${+o}h${-i}Z`}toString(){return this._}}function Z1(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{const i=Math.floor(n);if(!(i>=0))throw new RangeError(`invalid digits: ${n}`);t=i}return e},()=>new Az(t)}function J1(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function e3(e){this._context=e}e3.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function t3(e){return new e3(e)}function n3(e){return e[0]}function r3(e){return e[1]}function Dz(e,t){var n=We(!0),i=null,o=t3,u=null,c=Z1(f);e=typeof e=="function"?e:e===void 0?n3:We(e),t=typeof t=="function"?t:t===void 0?r3:We(t);function f(h){var g,p=(h=J1(h)).length,m,v=!1,S;for(i==null&&(u=o(S=c())),g=0;g<=p;++g)!(g<p&&n(m=h[g],g,h))===v&&((v=!v)?u.lineStart():u.lineEnd()),v&&u.point(+e(m,g,h),+t(m,g,h));if(S)return u=null,S+""||null}return f.x=function(h){return arguments.length?(e=typeof h=="function"?h:We(+h),f):e},f.y=function(h){return arguments.length?(t=typeof h=="function"?h:We(+h),f):t},f.defined=function(h){return arguments.length?(n=typeof h=="function"?h:We(!!h),f):n},f.curve=function(h){return arguments.length?(o=h,i!=null&&(u=o(i)),f):o},f.context=function(h){return arguments.length?(h==null?i=u=null:u=o(i=h),f):i},f}function qG(e,t,n){var i=null,o=We(!0),u=null,c=t3,f=null,h=Z1(g);e=typeof e=="function"?e:e===void 0?n3:We(+e),t=typeof t=="function"?t:We(t===void 0?0:+t),n=typeof n=="function"?n:n===void 0?r3:We(+n);function g(m){var v,S,M,b=(m=J1(m)).length,w,E=!1,A,k=new Array(b),T=new Array(b);for(u==null&&(f=c(A=h())),v=0;v<=b;++v){if(!(v<b&&o(w=m[v],v,m))===E)if(E=!E)S=v,f.areaStart(),f.lineStart();else{for(f.lineEnd(),f.lineStart(),M=v-1;M>=S;--M)f.point(k[M],T[M]);f.lineEnd(),f.areaEnd()}E&&(k[v]=+e(w,v,m),T[v]=+t(w,v,m),f.point(i?+i(w,v,m):k[v],n?+n(w,v,m):T[v]))}if(A)return f=null,A+""||null}function p(){return Dz().defined(o).curve(c).context(u)}return g.x=function(m){return arguments.length?(e=typeof m=="function"?m:We(+m),i=null,g):e},g.x0=function(m){return arguments.length?(e=typeof m=="function"?m:We(+m),g):e},g.x1=function(m){return arguments.length?(i=m==null?null:typeof m=="function"?m:We(+m),g):i},g.y=function(m){return arguments.length?(t=typeof m=="function"?m:We(+m),n=null,g):t},g.y0=function(m){return arguments.length?(t=typeof m=="function"?m:We(+m),g):t},g.y1=function(m){return arguments.length?(n=m==null?null:typeof m=="function"?m:We(+m),g):n},g.lineX0=g.lineY0=function(){return p().x(e).y(t)},g.lineY1=function(){return p().x(e).y(n)},g.lineX1=function(){return p().x(i).y(t)},g.defined=function(m){return arguments.length?(o=typeof m=="function"?m:We(!!m),g):o},g.curve=function(m){return arguments.length?(c=m,u!=null&&(f=c(u)),g):c},g.context=function(m){return arguments.length?(m==null?u=f=null:f=c(u=m),g):u},g}class i3{constructor(t,n){this._context=t,this._x=n}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(t,n){switch(t=+t,n=+n,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,n,t,n):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+n)/2,t,this._y0,t,n);break}}this._x0=t,this._y0=n}}function UG(e){return new i3(e,!0)}function jG(e){return new i3(e,!1)}const Nz={draw(e,t){const n=Kn(t/rf);e.moveTo(n,0),e.arc(0,0,n,0,kf)}},HG={draw(e,t){const n=Kn(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},a3=Kn(1/3),Rz=a3*2,BG={draw(e,t){const n=Kn(t/Rz),i=n*a3;e.moveTo(0,-n),e.lineTo(i,0),e.lineTo(0,n),e.lineTo(-i,0),e.closePath()}},PG={draw(e,t){const n=Kn(t),i=-n/2;e.rect(i,i,n,n)}},zz=.8908130915292852,o3=nf(rf/10)/nf(7*rf/10),Lz=nf(kf/10)*o3,Iz=-JE(kf/10)*o3,$G={draw(e,t){const n=Kn(t*zz),i=Lz*n,o=Iz*n;e.moveTo(0,-n),e.lineTo(i,o);for(let u=1;u<5;++u){const c=kf*u/5,f=JE(c),h=nf(c);e.lineTo(h*n,-f*n),e.lineTo(f*i-h*o,h*i+f*o)}e.closePath()}},Ag=Kn(3),YG={draw(e,t){const n=-Kn(t/(Ag*3));e.moveTo(0,n*2),e.lineTo(-Ag*n,-n),e.lineTo(Ag*n,-n),e.closePath()}},En=-.5,xn=Kn(3)/2,i1=1/Kn(12),qz=(i1/2+1)*3,VG={draw(e,t){const n=Kn(t/qz),i=n/2,o=n*i1,u=i,c=n*i1+n,f=-u,h=c;e.moveTo(i,o),e.lineTo(u,c),e.lineTo(f,h),e.lineTo(En*i-xn*o,xn*i+En*o),e.lineTo(En*u-xn*c,xn*u+En*c),e.lineTo(En*f-xn*h,xn*f+En*h),e.lineTo(En*i+xn*o,En*o-xn*i),e.lineTo(En*u+xn*c,En*c-xn*u),e.lineTo(En*f+xn*h,En*h-xn*f),e.closePath()}};function FG(e,t){let n=null,i=Z1(o);e=typeof e=="function"?e:We(e||Nz),t=typeof t=="function"?t:We(t===void 0?64:+t);function o(){let u;if(n||(n=u=i()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),u)return n=null,u+""||null}return o.type=function(u){return arguments.length?(e=typeof u=="function"?u:We(u),o):e},o.size=function(u){return arguments.length?(t=typeof u=="function"?u:We(+u),o):t},o.context=function(u){return arguments.length?(n=u??null,o):n},o}function af(){}function of(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function l3(e){this._context=e}l3.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:of(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:of(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function GG(e){return new l3(e)}function u3(e){this._context=e}u3.prototype={areaStart:af,areaEnd:af,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:of(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function QG(e){return new u3(e)}function s3(e){this._context=e}s3.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,i=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,i):this._context.moveTo(n,i);break;case 3:this._point=4;default:of(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function XG(e){return new s3(e)}function c3(e){this._context=e}c3.prototype={areaStart:af,areaEnd:af,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function KG(e){return new c3(e)}function GS(e){return e<0?-1:1}function QS(e,t,n){var i=e._x1-e._x0,o=t-e._x1,u=(e._y1-e._y0)/(i||o<0&&-0),c=(n-e._y1)/(o||i<0&&-0),f=(u*o+c*i)/(i+o);return(GS(u)+GS(c))*Math.min(Math.abs(u),Math.abs(c),.5*Math.abs(f))||0}function XS(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Dg(e,t,n){var i=e._x0,o=e._y0,u=e._x1,c=e._y1,f=(u-i)/3;e._context.bezierCurveTo(i+f,o+f*t,u-f,c-f*n,u,c)}function lf(e){this._context=e}lf.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Dg(this,this._t0,XS(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,Dg(this,XS(this,n=QS(this,e,t)),n);break;default:Dg(this,this._t0,n=QS(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function f3(e){this._context=new h3(e)}(f3.prototype=Object.create(lf.prototype)).point=function(e,t){lf.prototype.point.call(this,t,e)};function h3(e){this._context=e}h3.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,i,o,u){this._context.bezierCurveTo(t,e,i,n,u,o)}};function ZG(e){return new lf(e)}function JG(e){return new f3(e)}function d3(e){this._context=e}d3.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var i=KS(e),o=KS(t),u=0,c=1;c<n;++u,++c)this._context.bezierCurveTo(i[0][u],o[0][u],i[1][u],o[1][u],e[c],t[c]);(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function KS(e){var t,n=e.length-1,i,o=new Array(n),u=new Array(n),c=new Array(n);for(o[0]=0,u[0]=2,c[0]=e[0]+2*e[1],t=1;t<n-1;++t)o[t]=1,u[t]=4,c[t]=4*e[t]+2*e[t+1];for(o[n-1]=2,u[n-1]=7,c[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)i=o[t]/u[t-1],u[t]-=i,c[t]-=i*c[t-1];for(o[n-1]=c[n-1]/u[n-1],t=n-2;t>=0;--t)o[t]=(c[t]-o[t+1])/u[t];for(u[n-1]=(e[n]+o[n-1])/2,t=0;t<n-1;++t)u[t]=2*e[t+1]-o[t+1];return[o,u]}function WG(e){return new d3(e)}function Af(e,t){this._context=e,this._t=t}Af.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}break}}this._x=e,this._y=t}};function eQ(e){return new Af(e,.5)}function tQ(e){return new Af(e,0)}function nQ(e){return new Af(e,1)}function Mu(e,t){if((c=e.length)>1)for(var n=1,i,o,u=e[t[0]],c,f=u.length;n<c;++n)for(o=u,u=e[t[n]],i=0;i<f;++i)u[i][1]+=u[i][0]=isNaN(o[i][1])?o[i][0]:o[i][1]}function ZS(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function Uz(e,t){return e[t]}function jz(e){const t=[];return t.key=e,t}function rQ(){var e=We([]),t=ZS,n=Mu,i=Uz;function o(u){var c=Array.from(e.apply(this,arguments),jz),f,h=c.length,g=-1,p;for(const m of u)for(f=0,++g;f<h;++f)(c[f][g]=[0,+i(m,c[f].key,g,u)]).data=m;for(f=0,p=J1(t(c));f<h;++f)c[p[f]].index=f;return n(c,p),c}return o.keys=function(u){return arguments.length?(e=typeof u=="function"?u:We(Array.from(u)),o):e},o.value=function(u){return arguments.length?(i=typeof u=="function"?u:We(+u),o):i},o.order=function(u){return arguments.length?(t=u==null?ZS:typeof u=="function"?u:We(Array.from(u)),o):t},o.offset=function(u){return arguments.length?(n=u??Mu,o):n},o}function iQ(e,t){if((i=e.length)>0){for(var n,i,o=0,u=e[0].length,c;o<u;++o){for(c=n=0;n<i;++n)c+=e[n][o][1]||0;if(c)for(n=0;n<i;++n)e[n][o][1]/=c}Mu(e,t)}}function aQ(e,t){if((o=e.length)>0){for(var n=0,i=e[t[0]],o,u=i.length;n<u;++n){for(var c=0,f=0;c<o;++c)f+=e[c][n][1]||0;i[n][1]+=i[n][0]=-f/2}Mu(e,t)}}function oQ(e,t){if(!(!((c=e.length)>0)||!((u=(o=e[t[0]]).length)>0))){for(var n=0,i=1,o,u,c;i<u;++i){for(var f=0,h=0,g=0;f<c;++f){for(var p=e[t[f]],m=p[i][1]||0,v=p[i-1][1]||0,S=(m-v)/2,M=0;M<f;++M){var b=e[t[M]],w=b[i][1]||0,E=b[i-1][1]||0;S+=w-E}h+=m,g+=S*m}o[i-1][1]+=o[i-1][0]=n,h&&(n-=g/h)}o[i-1][1]+=o[i-1][0]=n,Mu(e,t)}}var Ng={},Rg={},JS;function Hz(){return JS||(JS=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return n==="__proto__"}e.isUnsafeProperty=t})(Rg)),Rg}var zg={},WS;function g3(){return WS||(WS=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){switch(typeof n){case"number":case"symbol":return!1;case"string":return n.includes(".")||n.includes("[")||n.includes("]")}}e.isDeepKey=t})(zg)),zg}var Lg={},e_;function W1(){return e_||(e_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){var i;return typeof n=="string"||typeof n=="symbol"?n:Object.is((i=n==null?void 0:n.valueOf)==null?void 0:i.call(n),-0)?"-0":String(n)}e.toKey=t})(Lg)),Lg}var Ig={},qg={},t_;function Bz(){return t_||(t_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){if(n==null)return"";if(typeof n=="string")return n;if(Array.isArray(n))return n.map(t).join(",");const i=String(n);return i==="0"&&Object.is(Number(n),-0)?"-0":i}e.toString=t})(qg)),qg}var n_;function ey(){return n_||(n_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=Bz(),n=W1();function i(o){if(Array.isArray(o))return o.map(n.toKey);if(typeof o=="symbol")return[o];o=t.toString(o);const u=[],c=o.length;if(c===0)return u;let f=0,h="",g="",p=!1;for(o.charCodeAt(0)===46&&(u.push(""),f++);f<c;){const m=o[f];g?m==="\\"&&f+1<c?(f++,h+=o[f]):m===g?g="":h+=m:p?m==='"'||m==="'"?g=m:m==="]"?(p=!1,u.push(h),h=""):h+=m:m==="["?(p=!0,h&&(u.push(h),h="")):m==="."?h&&(u.push(h),h=""):h+=m,f++}return h&&u.push(h),u}e.toPath=i})(Ig)),Ig}var r_;function ty(){return r_||(r_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=Hz(),n=g3(),i=W1(),o=ey();function u(f,h,g){if(f==null)return g;switch(typeof h){case"string":{if(t.isUnsafeProperty(h))return g;const p=f[h];return p===void 0?n.isDeepKey(h)?u(f,o.toPath(h),g):g:p}case"number":case"symbol":{typeof h=="number"&&(h=i.toKey(h));const p=f[h];return p===void 0?g:p}default:{if(Array.isArray(h))return c(f,h,g);if(Object.is(h==null?void 0:h.valueOf(),-0)?h="-0":h=String(h),t.isUnsafeProperty(h))return g;const p=f[h];return p===void 0?g:p}}}function c(f,h,g){if(h.length===0)return g;let p=f;for(let m=0;m<h.length;m++){if(p==null||t.isUnsafeProperty(h[m]))return g;p=p[h[m]]}return p===void 0?g:p}e.get=u})(Ng)),Ng}var Ug,i_;function Pz(){return i_||(i_=1,Ug=ty().get),Ug}var $z=Pz();const lQ=Zt($z);var jg={},Hg={},a_;function Yz(){return a_||(a_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n,i){const o=new Map;for(let u=0;u<n.length;u++){const c=n[u],f=i(c,u,n);o.has(f)||o.set(f,c)}return Array.from(o.values())}e.uniqBy=t})(Hg)),Hg}var Bg={},o_;function Vz(){return o_||(o_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n,i){return function(...o){return n.apply(this,o.slice(0,i))}}e.ary=t})(Bg)),Bg}var Pg={},l_;function p3(){return l_||(l_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return n}e.identity=t})(Pg)),Pg}var $g={},Yg={},Vg={},u_;function Fz(){return u_||(u_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return Number.isSafeInteger(n)&&n>=0}e.isLength=t})(Vg)),Vg}var s_;function ny(){return s_||(s_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=Fz();function n(i){return i!=null&&typeof i!="function"&&t.isLength(i.length)}e.isArrayLike=n})(Yg)),Yg}var Fg={},c_;function Gz(){return c_||(c_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return typeof n=="object"&&n!==null}e.isObjectLike=t})(Fg)),Fg}var f_;function Qz(){return f_||(f_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=ny(),n=Gz();function i(o){return n.isObjectLike(o)&&t.isArrayLike(o)}e.isArrayLikeObject=i})($g)),$g}var Gg={},Qg={},h_;function Xz(){return h_||(h_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=ty();function n(i){return function(o){return t.get(o,i)}}e.property=n})(Qg)),Qg}var Xg={},Kg={},Zg={},Jg={},d_;function y3(){return d_||(d_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return n!==null&&(typeof n=="object"||typeof n=="function")}e.isObject=t})(Jg)),Jg}var Wg={},g_;function m3(){return g_||(g_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return n==null||typeof n!="object"&&typeof n!="function"}e.isPrimitive=t})(Wg)),Wg}var e0={},p_;function v3(){return p_||(p_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n,i){return n===i||Number.isNaN(n)&&Number.isNaN(i)}e.isEqualsSameValueZero=t})(e0)),e0}var y_;function Kz(){return y_||(y_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=y3(),n=m3(),i=v3();function o(p,m,v){return typeof v!="function"?o(p,m,()=>{}):u(p,m,function S(M,b,w,E,A,k){const T=v(M,b,w,E,A,k);return T!==void 0?!!T:u(M,b,S,k)},new Map)}function u(p,m,v,S){if(m===p)return!0;switch(typeof m){case"object":return c(p,m,v,S);case"function":return Object.keys(m).length>0?u(p,{...m},v,S):i.isEqualsSameValueZero(p,m);default:return t.isObject(p)?typeof m=="string"?m==="":!0:i.isEqualsSameValueZero(p,m)}}function c(p,m,v,S){if(m==null)return!0;if(Array.isArray(m))return h(p,m,v,S);if(m instanceof Map)return f(p,m,v,S);if(m instanceof Set)return g(p,m,v,S);const M=Object.keys(m);if(p==null||n.isPrimitive(p))return M.length===0;if(M.length===0)return!0;if(S!=null&&S.has(m))return S.get(m)===p;S==null||S.set(m,p);try{for(let b=0;b<M.length;b++){const w=M[b];if(!n.isPrimitive(p)&&!(w in p)||m[w]===void 0&&p[w]!==void 0||m[w]===null&&p[w]!==null||!v(p[w],m[w],w,p,m,S))return!1}return!0}finally{S==null||S.delete(m)}}function f(p,m,v,S){if(m.size===0)return!0;if(!(p instanceof Map))return!1;for(const[M,b]of m.entries()){const w=p.get(M);if(v(w,b,M,p,m,S)===!1)return!1}return!0}function h(p,m,v,S){if(m.length===0)return!0;if(!Array.isArray(p))return!1;const M=new Set;for(let b=0;b<m.length;b++){const w=m[b];let E=!1;for(let A=0;A<p.length;A++){if(M.has(A))continue;const k=p[A];let T=!1;if(v(k,w,b,p,m,S)&&(T=!0),T){M.add(A),E=!0;break}}if(!E)return!1}return!0}function g(p,m,v,S){return m.size===0?!0:p instanceof Set?h([...p],[...m],v,S):!1}e.isMatchWith=o,e.isSetMatch=g})(Zg)),Zg}var m_;function b3(){return m_||(m_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=Kz();function n(i,o){return t.isMatchWith(i,o,()=>{})}e.isMatch=n})(Kg)),Kg}var t0={},n0={},r0={},v_;function Zz(){return v_||(v_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return Object.getOwnPropertySymbols(n).filter(i=>Object.prototype.propertyIsEnumerable.call(n,i))}e.getSymbols=t})(r0)),r0}var i0={},b_;function ry(){return b_||(b_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return n==null?n===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(n)}e.getTag=t})(i0)),i0}var a0={},S_;function S3(){return S_||(S_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t="[object RegExp]",n="[object String]",i="[object Number]",o="[object Boolean]",u="[object Arguments]",c="[object Symbol]",f="[object Date]",h="[object Map]",g="[object Set]",p="[object Array]",m="[object Function]",v="[object ArrayBuffer]",S="[object Object]",M="[object Error]",b="[object DataView]",w="[object Uint8Array]",E="[object Uint8ClampedArray]",A="[object Uint16Array]",k="[object Uint32Array]",T="[object BigUint64Array]",C="[object Int8Array]",O="[object Int16Array]",D="[object Int32Array]",N="[object BigInt64Array]",P="[object Float32Array]",Z="[object Float64Array]";e.argumentsTag=u,e.arrayBufferTag=v,e.arrayTag=p,e.bigInt64ArrayTag=N,e.bigUint64ArrayTag=T,e.booleanTag=o,e.dataViewTag=b,e.dateTag=f,e.errorTag=M,e.float32ArrayTag=P,e.float64ArrayTag=Z,e.functionTag=m,e.int16ArrayTag=O,e.int32ArrayTag=D,e.int8ArrayTag=C,e.mapTag=h,e.numberTag=i,e.objectTag=S,e.regexpTag=t,e.setTag=g,e.stringTag=n,e.symbolTag=c,e.uint16ArrayTag=A,e.uint32ArrayTag=k,e.uint8ArrayTag=w,e.uint8ClampedArrayTag=E})(a0)),a0}var o0={},__;function Jz(){return __||(__=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return ArrayBuffer.isView(n)&&!(n instanceof DataView)}e.isTypedArray=t})(o0)),o0}var w_;function _3(){return w_||(w_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=Zz(),n=ry(),i=S3(),o=m3(),u=Jz();function c(p,m){return f(p,void 0,p,new Map,m)}function f(p,m,v,S=new Map,M=void 0){const b=M==null?void 0:M(p,m,v,S);if(b!==void 0)return b;if(o.isPrimitive(p))return p;if(S.has(p))return S.get(p);if(Array.isArray(p)){const w=new Array(p.length);S.set(p,w);for(let E=0;E<p.length;E++)w[E]=f(p[E],E,v,S,M);return Object.hasOwn(p,"index")&&(w.index=p.index),Object.hasOwn(p,"input")&&(w.input=p.input),w}if(p instanceof Date)return new Date(p.getTime());if(p instanceof RegExp){const w=new RegExp(p.source,p.flags);return w.lastIndex=p.lastIndex,w}if(p instanceof Map){const w=new Map;S.set(p,w);for(const[E,A]of p)w.set(E,f(A,E,v,S,M));return w}if(p instanceof Set){const w=new Set;S.set(p,w);for(const E of p)w.add(f(E,void 0,v,S,M));return w}if(typeof Buffer<"u"&&Buffer.isBuffer(p))return p.subarray();if(u.isTypedArray(p)){const w=new(Object.getPrototypeOf(p)).constructor(p.length);S.set(p,w);for(let E=0;E<p.length;E++)w[E]=f(p[E],E,v,S,M);return w}if(p instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&p instanceof SharedArrayBuffer)return p.slice(0);if(p instanceof DataView){const w=new DataView(p.buffer.slice(0),p.byteOffset,p.byteLength);return S.set(p,w),h(w,p,v,S,M),w}if(typeof File<"u"&&p instanceof File){const w=new File([p],p.name,{type:p.type});return S.set(p,w),h(w,p,v,S,M),w}if(typeof Blob<"u"&&p instanceof Blob){const w=new Blob([p],{type:p.type});return S.set(p,w),h(w,p,v,S,M),w}if(p instanceof Error){const w=structuredClone(p);return S.set(p,w),w.message=p.message,w.name=p.name,w.stack=p.stack,w.cause=p.cause,w.constructor=p.constructor,h(w,p,v,S,M),w}if(p instanceof Boolean){const w=new Boolean(p.valueOf());return S.set(p,w),h(w,p,v,S,M),w}if(p instanceof Number){const w=new Number(p.valueOf());return S.set(p,w),h(w,p,v,S,M),w}if(p instanceof String){const w=new String(p.valueOf());return S.set(p,w),h(w,p,v,S,M),w}if(typeof p=="object"&&g(p)){const w=Object.create(Object.getPrototypeOf(p));return S.set(p,w),h(w,p,v,S,M),w}return p}function h(p,m,v=p,S,M){const b=[...Object.keys(m),...t.getSymbols(m)];for(let w=0;w<b.length;w++){const E=b[w],A=Object.getOwnPropertyDescriptor(p,E);(A==null||A.writable)&&(p[E]=f(m[E],E,v,S,M))}}function g(p){switch(n.getTag(p)){case i.argumentsTag:case i.arrayTag:case i.arrayBufferTag:case i.dataViewTag:case i.booleanTag:case i.dateTag:case i.float32ArrayTag:case i.float64ArrayTag:case i.int8ArrayTag:case i.int16ArrayTag:case i.int32ArrayTag:case i.mapTag:case i.numberTag:case i.objectTag:case i.regexpTag:case i.setTag:case i.stringTag:case i.symbolTag:case i.uint8ArrayTag:case i.uint8ClampedArrayTag:case i.uint16ArrayTag:case i.uint32ArrayTag:return!0;default:return!1}}e.cloneDeepWith=c,e.cloneDeepWithImpl=f,e.copyProperties=h})(n0)),n0}var M_;function Wz(){return M_||(M_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=_3();function n(i){return t.cloneDeepWithImpl(i,void 0,i,new Map,void 0)}e.cloneDeep=n})(t0)),t0}var T_;function eL(){return T_||(T_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=b3(),n=Wz();function i(o){return o=n.cloneDeep(o),u=>t.isMatch(u,o)}e.matches=i})(Xg)),Xg}var l0={},u0={},s0={},E_;function tL(){return E_||(E_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=_3(),n=ry(),i=S3();function o(u,c){return t.cloneDeepWith(u,(f,h,g,p)=>{const m=c==null?void 0:c(f,h,g,p);if(m!==void 0)return m;if(typeof u=="object"){if(n.getTag(u)===i.objectTag&&typeof u.constructor!="function"){const v={};return p.set(u,v),t.copyProperties(v,u,g,p),v}switch(Object.prototype.toString.call(u)){case i.numberTag:case i.stringTag:case i.booleanTag:{const v=new u.constructor(u==null?void 0:u.valueOf());return t.copyProperties(v,u),v}case i.argumentsTag:{const v={};return t.copyProperties(v,u),v.length=u.length,v[Symbol.iterator]=u[Symbol.iterator],v}default:return}}})}e.cloneDeepWith=o})(s0)),s0}var x_;function nL(){return x_||(x_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=tL();function n(i){return t.cloneDeepWith(i)}e.cloneDeep=n})(u0)),u0}var c0={},f0={},O_;function w3(){return O_||(O_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=/^(?:0|[1-9]\d*)$/;function n(i,o=Number.MAX_SAFE_INTEGER){switch(typeof i){case"number":return Number.isInteger(i)&&i>=0&&i<o;case"symbol":return!1;case"string":return t.test(i)}}e.isIndex=n})(f0)),f0}var h0={},C_;function rL(){return C_||(C_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=ry();function n(i){return i!==null&&typeof i=="object"&&t.getTag(i)==="[object Arguments]"}e.isArguments=n})(h0)),h0}var k_;function iL(){return k_||(k_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=g3(),n=w3(),i=rL(),o=ey();function u(c,f){let h;if(Array.isArray(f)?h=f:typeof f=="string"&&t.isDeepKey(f)&&(c==null?void 0:c[f])==null?h=o.toPath(f):h=[f],h.length===0)return!1;let g=c;for(let p=0;p<h.length;p++){const m=h[p];if((g==null||!Object.hasOwn(g,m))&&!((Array.isArray(g)||i.isArguments(g))&&n.isIndex(m)&&m<g.length))return!1;g=g[m]}return!0}e.has=u})(c0)),c0}var A_;function aL(){return A_||(A_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=b3(),n=W1(),i=nL(),o=ty(),u=iL();function c(f,h){switch(typeof f){case"object":{Object.is(f==null?void 0:f.valueOf(),-0)&&(f="-0");break}case"number":{f=n.toKey(f);break}}return h=i.cloneDeep(h),function(g){const p=o.get(g,f);return p===void 0?u.has(g,f):h===void 0?p===void 0:t.isMatch(p,h)}}e.matchesProperty=c})(l0)),l0}var D_;function oL(){return D_||(D_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=p3(),n=Xz(),i=eL(),o=aL();function u(c){if(c==null)return t.identity;switch(typeof c){case"function":return c;case"object":return Array.isArray(c)&&c.length===2?o.matchesProperty(c[0],c[1]):i.matches(c);case"string":case"symbol":case"number":return n.property(c)}}e.iteratee=u})(Gg)),Gg}var N_;function lL(){return N_||(N_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=Yz(),n=Vz(),i=p3(),o=Qz(),u=oL();function c(f,h=i.identity){return o.isArrayLikeObject(f)?t.uniqBy(Array.from(f),n.ary(u.iteratee(h),1)):[]}e.uniqBy=c})(jg)),jg}var d0,R_;function uL(){return R_||(R_=1,d0=lL().uniqBy),d0}var sL=uL();const uQ=Zt(sL);var g0={},p0={},y0={},z_;function cL(){return z_||(z_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(i){return typeof i=="symbol"?1:i===null?2:i===void 0?3:i!==i?4:0}const n=(i,o,u)=>{if(i!==o){const c=t(i),f=t(o);if(c===f&&c===0){if(i<o)return u==="desc"?1:-1;if(i>o)return u==="desc"?-1:1}return u==="desc"?f-c:c-f}return 0};e.compareValues=n})(y0)),y0}var m0={},v0={},L_;function M3(){return L_||(L_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return typeof n=="symbol"||n instanceof Symbol}e.isSymbol=t})(v0)),v0}var I_;function fL(){return I_||(I_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=M3(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;function o(u,c){return Array.isArray(u)?!1:typeof u=="number"||typeof u=="boolean"||u==null||t.isSymbol(u)?!0:typeof u=="string"&&(i.test(u)||!n.test(u))||c!=null&&Object.hasOwn(c,u)}e.isKey=o})(m0)),m0}var q_;function hL(){return q_||(q_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=cL(),n=fL(),i=ey();function o(u,c,f,h){if(u==null)return[];f=h?void 0:f,Array.isArray(u)||(u=Object.values(u)),Array.isArray(c)||(c=c==null?[null]:[c]),c.length===0&&(c=[null]),Array.isArray(f)||(f=f==null?[]:[f]),f=f.map(S=>String(S));const g=(S,M)=>{let b=S;for(let w=0;w<M.length&&b!=null;++w)b=b[M[w]];return b},p=(S,M)=>M==null||S==null?M:typeof S=="object"&&"key"in S?Object.hasOwn(M,S.key)?M[S.key]:g(M,S.path):typeof S=="function"?S(M):Array.isArray(S)?g(M,S):typeof M=="object"?M[S]:M,m=c.map(S=>(Array.isArray(S)&&S.length===1&&(S=S[0]),S==null||typeof S=="function"||Array.isArray(S)||n.isKey(S)?S:{key:S,path:i.toPath(S)}));return u.map(S=>({original:S,criteria:m.map(M=>p(M,S))})).slice().sort((S,M)=>{for(let b=0;b<m.length;b++){const w=t.compareValues(S.criteria[b],M.criteria[b],f[b]);if(w!==0)return w}return 0}).map(S=>S.original)}e.orderBy=o})(p0)),p0}var b0={},U_;function dL(){return U_||(U_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n,i=1){const o=[],u=Math.floor(i),c=(f,h)=>{for(let g=0;g<f.length;g++){const p=f[g];Array.isArray(p)&&h<u?c(p,h+1):o.push(p)}};return c(n,0),o}e.flatten=t})(b0)),b0}var S0={},j_;function T3(){return j_||(j_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=w3(),n=ny(),i=y3(),o=v3();function u(c,f,h){return i.isObject(h)&&(typeof f=="number"&&n.isArrayLike(h)&&t.isIndex(f)&&f<h.length||typeof f=="string"&&f in h)?o.isEqualsSameValueZero(h[f],c):!1}e.isIterateeCall=u})(S0)),S0}var H_;function gL(){return H_||(H_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=hL(),n=dL(),i=T3();function o(u,...c){const f=c.length;return f>1&&i.isIterateeCall(u,c[0],c[1])?c=[]:f>2&&i.isIterateeCall(c[0],c[1],c[2])&&(c=[c[0]]),t.orderBy(u,n.flatten(c),["asc"])}e.sortBy=o})(g0)),g0}var _0,B_;function pL(){return B_||(B_=1,_0=gL().sortBy),_0}var yL=pL();const sQ=Zt(yL);var w0={},M0={},T0={},P_;function mL(){return P_||(P_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n,i,{signal:o,edges:u}={}){let c,f=null;const h=u!=null&&u.includes("leading"),g=u==null||u.includes("trailing"),p=()=>{f!==null&&(n.apply(c,f),c=void 0,f=null)},m=()=>{g&&p(),b()};let v=null;const S=()=>{v!=null&&clearTimeout(v),v=setTimeout(()=>{v=null,m()},i)},M=()=>{v!==null&&(clearTimeout(v),v=null)},b=()=>{M(),c=void 0,f=null},w=()=>{p()},E=function(...A){if(o!=null&&o.aborted)return;c=this,f=A;const k=v==null;S(),h&&k&&p()};return E.schedule=S,E.cancel=b,E.flush=w,o==null||o.addEventListener("abort",b,{once:!0}),E}e.debounce=t})(T0)),T0}var $_;function vL(){return $_||($_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=mL();function n(i,o=0,u={}){typeof u!="object"&&(u={});const{leading:c=!1,trailing:f=!0,maxWait:h}=u,g=Array(2);c&&(g[0]="leading"),f&&(g[1]="trailing");let p,m=null;const v=t.debounce(function(...b){p=i.apply(this,b),m=null},o,{edges:g}),S=function(...b){return h!=null&&(m===null&&(m=Date.now()),Date.now()-m>=h)?(p=i.apply(this,b),m=Date.now(),v.cancel(),v.schedule(),p):(v.apply(this,b),p)},M=()=>(v.flush(),p);return S.cancel=v.cancel,S.flush=M,S}e.debounce=n})(M0)),M0}var Y_;function bL(){return Y_||(Y_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=vL();function n(i,o=0,u={}){const{leading:c=!0,trailing:f=!0}=u;return t.debounce(i,o,{leading:c,maxWait:o,trailing:f})}e.throttle=n})(w0)),w0}var E0,V_;function SL(){return V_||(V_=1,E0=bL().throttle),E0}var _L=SL();const cQ=Zt(_L);var E3=Symbol.for("immer-nothing"),F_=Symbol.for("immer-draftable"),hn=Symbol.for("immer-state");function Fn(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Tu=Object.getPrototypeOf;function Fo(e){return!!e&&!!e[hn]}function xa(e){var t;return e?x3(e)||Array.isArray(e)||!!e[F_]||!!((t=e.constructor)!=null&&t[F_])||ju(e)||Nf(e):!1}var wL=Object.prototype.constructor.toString(),G_=new WeakMap;function x3(e){if(!e||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);if(t===null||t===Object.prototype)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;if(n===Object)return!0;if(typeof n!="function")return!1;let i=G_.get(n);return i===void 0&&(i=Function.toString.call(n),G_.set(n,i)),i===wL}function uf(e,t,n=!0){Df(e)===0?(n?Reflect.ownKeys(e):Object.keys(e)).forEach(o=>{t(o,e[o],e)}):e.forEach((i,o)=>t(o,i,e))}function Df(e){const t=e[hn];return t?t.type_:Array.isArray(e)?1:ju(e)?2:Nf(e)?3:0}function a1(e,t){return Df(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function O3(e,t,n){const i=Df(e);i===2?e.set(t,n):i===3?e.add(n):e[t]=n}function ML(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function ju(e){return e instanceof Map}function Nf(e){return e instanceof Set}function oa(e){return e.copy_||e.base_}function o1(e,t){if(ju(e))return new Map(e);if(Nf(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=x3(e);if(t===!0||t==="class_only"&&!n){const i=Object.getOwnPropertyDescriptors(e);delete i[hn];let o=Reflect.ownKeys(i);for(let u=0;u<o.length;u++){const c=o[u],f=i[c];f.writable===!1&&(f.writable=!0,f.configurable=!0),(f.get||f.set)&&(i[c]={configurable:!0,writable:!0,enumerable:f.enumerable,value:e[c]})}return Object.create(Tu(e),i)}else{const i=Tu(e);if(i!==null&&n)return{...e};const o=Object.create(i);return Object.assign(o,e)}}function iy(e,t=!1){return Rf(e)||Fo(e)||!xa(e)||(Df(e)>1&&Object.defineProperties(e,{set:Sc,add:Sc,clear:Sc,delete:Sc}),Object.freeze(e),t&&Object.values(e).forEach(n=>iy(n,!0))),e}function TL(){Fn(2)}var Sc={value:TL};function Rf(e){return e===null||typeof e!="object"?!0:Object.isFrozen(e)}var EL={};function Oa(e){const t=EL[e];return t||Fn(0,e),t}var Eu;function C3(){return Eu}function xL(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Q_(e,t){t&&(Oa("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function l1(e){u1(e),e.drafts_.forEach(OL),e.drafts_=null}function u1(e){e===Eu&&(Eu=e.parent_)}function X_(e){return Eu=xL(Eu,e)}function OL(e){const t=e[hn];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function K_(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[hn].modified_&&(l1(t),Fn(4)),xa(e)&&(e=sf(t,e),t.parent_||cf(t,e)),t.patches_&&Oa("Patches").generateReplacementPatches_(n[hn].base_,e,t.patches_,t.inversePatches_)):e=sf(t,n,[]),l1(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==E3?e:void 0}function sf(e,t,n){if(Rf(t))return t;const i=e.immer_.shouldUseStrictIteration(),o=t[hn];if(!o)return uf(t,(u,c)=>Z_(e,o,t,u,c,n),i),t;if(o.scope_!==e)return t;if(!o.modified_)return cf(e,o.base_,!0),o.base_;if(!o.finalized_){o.finalized_=!0,o.scope_.unfinalizedDrafts_--;const u=o.copy_;let c=u,f=!1;o.type_===3&&(c=new Set(u),u.clear(),f=!0),uf(c,(h,g)=>Z_(e,o,u,h,g,n,f),i),cf(e,u,!1),n&&e.patches_&&Oa("Patches").generatePatches_(o,n,e.patches_,e.inversePatches_)}return o.copy_}function Z_(e,t,n,i,o,u,c){if(o==null||typeof o!="object"&&!c)return;const f=Rf(o);if(!(f&&!c)){if(Fo(o)){const h=u&&t&&t.type_!==3&&!a1(t.assigned_,i)?u.concat(i):void 0,g=sf(e,o,h);if(O3(n,i,g),Fo(g))e.canAutoFreeze_=!1;else return}else c&&n.add(o);if(xa(o)&&!f){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1||t&&t.base_&&t.base_[i]===o&&f)return;sf(e,o),(!t||!t.scope_.parent_)&&typeof i!="symbol"&&(ju(n)?n.has(i):Object.prototype.propertyIsEnumerable.call(n,i))&&cf(e,o)}}}function cf(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&iy(t,n)}function CL(e,t){const n=Array.isArray(e),i={type_:n?1:0,scope_:t?t.scope_:C3(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let o=i,u=ay;n&&(o=[i],u=xu);const{revoke:c,proxy:f}=Proxy.revocable(o,u);return i.draft_=f,i.revoke_=c,f}var ay={get(e,t){if(t===hn)return e;const n=oa(e);if(!a1(n,t))return kL(e,n,t);const i=n[t];return e.finalized_||!xa(i)?i:i===x0(e.base_,t)?(O0(e),e.copy_[t]=c1(i,e)):i},has(e,t){return t in oa(e)},ownKeys(e){return Reflect.ownKeys(oa(e))},set(e,t,n){const i=k3(oa(e),t);if(i!=null&&i.set)return i.set.call(e.draft_,n),!0;if(!e.modified_){const o=x0(oa(e),t),u=o==null?void 0:o[hn];if(u&&u.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(ML(n,o)&&(n!==void 0||a1(e.base_,t)))return!0;O0(e),s1(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return x0(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,O0(e),s1(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=oa(e),i=Reflect.getOwnPropertyDescriptor(n,t);return i&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:i.enumerable,value:n[t]}},defineProperty(){Fn(11)},getPrototypeOf(e){return Tu(e.base_)},setPrototypeOf(){Fn(12)}},xu={};uf(ay,(e,t)=>{xu[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});xu.deleteProperty=function(e,t){return xu.set.call(this,e,t,void 0)};xu.set=function(e,t,n){return ay.set.call(this,e[0],t,n,e[0])};function x0(e,t){const n=e[hn];return(n?oa(n):e)[t]}function kL(e,t,n){var o;const i=k3(t,n);return i?"value"in i?i.value:(o=i.get)==null?void 0:o.call(e.draft_):void 0}function k3(e,t){if(!(t in e))return;let n=Tu(e);for(;n;){const i=Object.getOwnPropertyDescriptor(n,t);if(i)return i;n=Tu(n)}}function s1(e){e.modified_||(e.modified_=!0,e.parent_&&s1(e.parent_))}function O0(e){e.copy_||(e.copy_=o1(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var AL=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!0,this.produce=(t,n,i)=>{if(typeof t=="function"&&typeof n!="function"){const u=n;n=t;const c=this;return function(h=u,...g){return c.produce(h,p=>n.call(this,p,...g))}}typeof n!="function"&&Fn(6),i!==void 0&&typeof i!="function"&&Fn(7);let o;if(xa(t)){const u=X_(this),c=c1(t,void 0);let f=!0;try{o=n(c),f=!1}finally{f?l1(u):u1(u)}return Q_(u,i),K_(o,u)}else if(!t||typeof t!="object"){if(o=n(t),o===void 0&&(o=t),o===E3&&(o=void 0),this.autoFreeze_&&iy(o,!0),i){const u=[],c=[];Oa("Patches").generateReplacementPatches_(t,o,u,c),i(u,c)}return o}else Fn(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(c,...f)=>this.produceWithPatches(c,h=>t(h,...f));let i,o;return[this.produce(t,n,(c,f)=>{i=c,o=f}),i,o]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),typeof(e==null?void 0:e.useStrictIteration)=="boolean"&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){xa(e)||Fn(8),Fo(e)&&(e=DL(e));const t=X_(this),n=c1(e,void 0);return n[hn].isManual_=!0,u1(t),n}finishDraft(e,t){const n=e&&e[hn];(!n||!n.isManual_)&&Fn(9);const{scope_:i}=n;return Q_(i,t),K_(void 0,i)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const o=t[n];if(o.path.length===0&&o.op==="replace"){e=o.value;break}}n>-1&&(t=t.slice(n+1));const i=Oa("Patches").applyPatches_;return Fo(e)?i(e,t):this.produce(e,o=>i(o,t))}};function c1(e,t){const n=ju(e)?Oa("MapSet").proxyMap_(e,t):Nf(e)?Oa("MapSet").proxySet_(e,t):CL(e,t);return(t?t.scope_:C3()).drafts_.push(n),n}function DL(e){return Fo(e)||Fn(10,e),A3(e)}function A3(e){if(!xa(e)||Rf(e))return e;const t=e[hn];let n,i=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=o1(e,t.scope_.immer_.useStrictShallowCopy_),i=t.scope_.immer_.shouldUseStrictIteration()}else n=o1(e,!0);return uf(n,(o,u)=>{O3(n,o,A3(u))},i),t&&(t.finalized_=!1),n}var NL=new AL;NL.produce;function fQ(e){return e}var C0={},k0={},A0={},J_;function RL(){return J_||(J_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=M3();function n(i){return t.isSymbol(i)?NaN:Number(i)}e.toNumber=n})(A0)),A0}var W_;function zL(){return W_||(W_=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=RL();function n(i){return i?(i=t.toNumber(i),i===1/0||i===-1/0?(i<0?-1:1)*Number.MAX_VALUE:i===i?i:0):i===0?i:0}e.toFinite=n})(k0)),k0}var ew;function LL(){return ew||(ew=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=T3(),n=zL();function i(o,u,c){c&&typeof c!="number"&&t.isIterateeCall(o,u,c)&&(u=c=void 0),o=n.toFinite(o),u===void 0?(u=o,o=0):u=n.toFinite(u),c=c===void 0?o<u?1:-1:n.toFinite(c);const f=Math.max(Math.ceil((u-o)/(c||1)),0),h=new Array(f);for(let g=0;g<f;g++)h[g]=o,o+=c;return h}e.range=i})(C0)),C0}var D0,tw;function IL(){return tw||(tw=1,D0=LL().range),D0}var qL=IL();const hQ=Zt(qL);var il=1e9,UL={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},ly,it=!0,Ln="[DecimalError] ",wa=Ln+"Invalid argument: ",oy=Ln+"Exponent out of range: ",al=Math.floor,la=Math.pow,jL=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,cn,Tt=1e7,nt=7,D3=9007199254740991,ff=al(D3/nt),de={};de.absoluteValue=de.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e};de.comparedTo=de.cmp=function(e){var t,n,i,o,u=this;if(e=new u.constructor(e),u.s!==e.s)return u.s||-e.s;if(u.e!==e.e)return u.e>e.e^u.s<0?1:-1;for(i=u.d.length,o=e.d.length,t=0,n=i<o?i:o;t<n;++t)if(u.d[t]!==e.d[t])return u.d[t]>e.d[t]^u.s<0?1:-1;return i===o?0:i>o^u.s<0?1:-1};de.decimalPlaces=de.dp=function(){var e=this,t=e.d.length-1,n=(t-e.e)*nt;if(t=e.d[t],t)for(;t%10==0;t/=10)n--;return n<0?0:n};de.dividedBy=de.div=function(e){return Pr(this,new this.constructor(e))};de.dividedToIntegerBy=de.idiv=function(e){var t=this,n=t.constructor;return Je(Pr(t,new n(e),0,1),n.precision)};de.equals=de.eq=function(e){return!this.cmp(e)};de.exponent=function(){return yt(this)};de.greaterThan=de.gt=function(e){return this.cmp(e)>0};de.greaterThanOrEqualTo=de.gte=function(e){return this.cmp(e)>=0};de.isInteger=de.isint=function(){return this.e>this.d.length-2};de.isNegative=de.isneg=function(){return this.s<0};de.isPositive=de.ispos=function(){return this.s>0};de.isZero=function(){return this.s===0};de.lessThan=de.lt=function(e){return this.cmp(e)<0};de.lessThanOrEqualTo=de.lte=function(e){return this.cmp(e)<1};de.logarithm=de.log=function(e){var t,n=this,i=n.constructor,o=i.precision,u=o+5;if(e===void 0)e=new i(10);else if(e=new i(e),e.s<1||e.eq(cn))throw Error(Ln+"NaN");if(n.s<1)throw Error(Ln+(n.s?"NaN":"-Infinity"));return n.eq(cn)?new i(0):(it=!1,t=Pr(Ou(n,u),Ou(e,u),u),it=!0,Je(t,o))};de.minus=de.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?z3(t,e):N3(t,(e.s=-e.s,e))};de.modulo=de.mod=function(e){var t,n=this,i=n.constructor,o=i.precision;if(e=new i(e),!e.s)throw Error(Ln+"NaN");return n.s?(it=!1,t=Pr(n,e,0,1).times(e),it=!0,n.minus(t)):Je(new i(n),o)};de.naturalExponential=de.exp=function(){return R3(this)};de.naturalLogarithm=de.ln=function(){return Ou(this)};de.negated=de.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};de.plus=de.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?N3(t,e):z3(t,(e.s=-e.s,e))};de.precision=de.sd=function(e){var t,n,i,o=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(wa+e);if(t=yt(o)+1,i=o.d.length-1,n=i*nt+1,i=o.d[i],i){for(;i%10==0;i/=10)n--;for(i=o.d[0];i>=10;i/=10)n++}return e&&t>n?t:n};de.squareRoot=de.sqrt=function(){var e,t,n,i,o,u,c,f=this,h=f.constructor;if(f.s<1){if(!f.s)return new h(0);throw Error(Ln+"NaN")}for(e=yt(f),it=!1,o=Math.sqrt(+f),o==0||o==1/0?(t=or(f.d),(t.length+e)%2==0&&(t+="0"),o=Math.sqrt(t),e=al((e+1)/2)-(e<0||e%2),o==1/0?t="5e"+e:(t=o.toExponential(),t=t.slice(0,t.indexOf("e")+1)+e),i=new h(t)):i=new h(o.toString()),n=h.precision,o=c=n+3;;)if(u=i,i=u.plus(Pr(f,u,c+2)).times(.5),or(u.d).slice(0,c)===(t=or(i.d)).slice(0,c)){if(t=t.slice(c-3,c+1),o==c&&t=="4999"){if(Je(u,n+1,0),u.times(u).eq(f)){i=u;break}}else if(t!="9999")break;c+=4}return it=!0,Je(i,n)};de.times=de.mul=function(e){var t,n,i,o,u,c,f,h,g,p=this,m=p.constructor,v=p.d,S=(e=new m(e)).d;if(!p.s||!e.s)return new m(0);for(e.s*=p.s,n=p.e+e.e,h=v.length,g=S.length,h<g&&(u=v,v=S,S=u,c=h,h=g,g=c),u=[],c=h+g,i=c;i--;)u.push(0);for(i=g;--i>=0;){for(t=0,o=h+i;o>i;)f=u[o]+S[i]*v[o-i-1]+t,u[o--]=f%Tt|0,t=f/Tt|0;u[o]=(u[o]+t)%Tt|0}for(;!u[--c];)u.pop();return t?++n:u.shift(),e.d=u,e.e=n,it?Je(e,m.precision):e};de.toDecimalPlaces=de.todp=function(e,t){var n=this,i=n.constructor;return n=new i(n),e===void 0?n:(ur(e,0,il),t===void 0?t=i.rounding:ur(t,0,8),Je(n,e+yt(n)+1,t))};de.toExponential=function(e,t){var n,i=this,o=i.constructor;return e===void 0?n=Ca(i,!0):(ur(e,0,il),t===void 0?t=o.rounding:ur(t,0,8),i=Je(new o(i),e+1,t),n=Ca(i,!0,e+1)),n};de.toFixed=function(e,t){var n,i,o=this,u=o.constructor;return e===void 0?Ca(o):(ur(e,0,il),t===void 0?t=u.rounding:ur(t,0,8),i=Je(new u(o),e+yt(o)+1,t),n=Ca(i.abs(),!1,e+yt(i)+1),o.isneg()&&!o.isZero()?"-"+n:n)};de.toInteger=de.toint=function(){var e=this,t=e.constructor;return Je(new t(e),yt(e)+1,t.rounding)};de.toNumber=function(){return+this};de.toPower=de.pow=function(e){var t,n,i,o,u,c,f=this,h=f.constructor,g=12,p=+(e=new h(e));if(!e.s)return new h(cn);if(f=new h(f),!f.s){if(e.s<1)throw Error(Ln+"Infinity");return f}if(f.eq(cn))return f;if(i=h.precision,e.eq(cn))return Je(f,i);if(t=e.e,n=e.d.length-1,c=t>=n,u=f.s,c){if((n=p<0?-p:p)<=D3){for(o=new h(cn),t=Math.ceil(i/nt+4),it=!1;n%2&&(o=o.times(f),rw(o.d,t)),n=al(n/2),n!==0;)f=f.times(f),rw(f.d,t);return it=!0,e.s<0?new h(cn).div(o):Je(o,i)}}else if(u<0)throw Error(Ln+"NaN");return u=u<0&&e.d[Math.max(t,n)]&1?-1:1,f.s=1,it=!1,o=e.times(Ou(f,i+g)),it=!0,o=R3(o),o.s=u,o};de.toPrecision=function(e,t){var n,i,o=this,u=o.constructor;return e===void 0?(n=yt(o),i=Ca(o,n<=u.toExpNeg||n>=u.toExpPos)):(ur(e,1,il),t===void 0?t=u.rounding:ur(t,0,8),o=Je(new u(o),e,t),n=yt(o),i=Ca(o,e<=n||n<=u.toExpNeg,e)),i};de.toSignificantDigits=de.tosd=function(e,t){var n=this,i=n.constructor;return e===void 0?(e=i.precision,t=i.rounding):(ur(e,1,il),t===void 0?t=i.rounding:ur(t,0,8)),Je(new i(n),e,t)};de.toString=de.valueOf=de.val=de.toJSON=de[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=yt(e),n=e.constructor;return Ca(e,t<=n.toExpNeg||t>=n.toExpPos)};function N3(e,t){var n,i,o,u,c,f,h,g,p=e.constructor,m=p.precision;if(!e.s||!t.s)return t.s||(t=new p(e)),it?Je(t,m):t;if(h=e.d,g=t.d,c=e.e,o=t.e,h=h.slice(),u=c-o,u){for(u<0?(i=h,u=-u,f=g.length):(i=g,o=c,f=h.length),c=Math.ceil(m/nt),f=c>f?c+1:f+1,u>f&&(u=f,i.length=1),i.reverse();u--;)i.push(0);i.reverse()}for(f=h.length,u=g.length,f-u<0&&(u=f,i=g,g=h,h=i),n=0;u;)n=(h[--u]=h[u]+g[u]+n)/Tt|0,h[u]%=Tt;for(n&&(h.unshift(n),++o),f=h.length;h[--f]==0;)h.pop();return t.d=h,t.e=o,it?Je(t,m):t}function ur(e,t,n){if(e!==~~e||e<t||e>n)throw Error(wa+e)}function or(e){var t,n,i,o=e.length-1,u="",c=e[0];if(o>0){for(u+=c,t=1;t<o;t++)i=e[t]+"",n=nt-i.length,n&&(u+=Ei(n)),u+=i;c=e[t],i=c+"",n=nt-i.length,n&&(u+=Ei(n))}else if(c===0)return"0";for(;c%10===0;)c/=10;return u+c}var Pr=(function(){function e(i,o){var u,c=0,f=i.length;for(i=i.slice();f--;)u=i[f]*o+c,i[f]=u%Tt|0,c=u/Tt|0;return c&&i.unshift(c),i}function t(i,o,u,c){var f,h;if(u!=c)h=u>c?1:-1;else for(f=h=0;f<u;f++)if(i[f]!=o[f]){h=i[f]>o[f]?1:-1;break}return h}function n(i,o,u){for(var c=0;u--;)i[u]-=c,c=i[u]<o[u]?1:0,i[u]=c*Tt+i[u]-o[u];for(;!i[0]&&i.length>1;)i.shift()}return function(i,o,u,c){var f,h,g,p,m,v,S,M,b,w,E,A,k,T,C,O,D,N,P=i.constructor,Z=i.s==o.s?1:-1,W=i.d,G=o.d;if(!i.s)return new P(i);if(!o.s)throw Error(Ln+"Division by zero");for(h=i.e-o.e,D=G.length,C=W.length,S=new P(Z),M=S.d=[],g=0;G[g]==(W[g]||0);)++g;if(G[g]>(W[g]||0)&&--h,u==null?A=u=P.precision:c?A=u+(yt(i)-yt(o))+1:A=u,A<0)return new P(0);if(A=A/nt+2|0,g=0,D==1)for(p=0,G=G[0],A++;(g<C||p)&&A--;g++)k=p*Tt+(W[g]||0),M[g]=k/G|0,p=k%G|0;else{for(p=Tt/(G[0]+1)|0,p>1&&(G=e(G,p),W=e(W,p),D=G.length,C=W.length),T=D,b=W.slice(0,D),w=b.length;w<D;)b[w++]=0;N=G.slice(),N.unshift(0),O=G[0],G[1]>=Tt/2&&++O;do p=0,f=t(G,b,D,w),f<0?(E=b[0],D!=w&&(E=E*Tt+(b[1]||0)),p=E/O|0,p>1?(p>=Tt&&(p=Tt-1),m=e(G,p),v=m.length,w=b.length,f=t(m,b,v,w),f==1&&(p--,n(m,D<v?N:G,v))):(p==0&&(f=p=1),m=G.slice()),v=m.length,v<w&&m.unshift(0),n(b,m,w),f==-1&&(w=b.length,f=t(G,b,D,w),f<1&&(p++,n(b,D<w?N:G,w))),w=b.length):f===0&&(p++,b=[0]),M[g++]=p,f&&b[0]?b[w++]=W[T]||0:(b=[W[T]],w=1);while((T++<C||b[0]!==void 0)&&A--)}return M[0]||M.shift(),S.e=h,Je(S,c?u+yt(S)+1:u)}})();function R3(e,t){var n,i,o,u,c,f,h=0,g=0,p=e.constructor,m=p.precision;if(yt(e)>16)throw Error(oy+yt(e));if(!e.s)return new p(cn);for(it=!1,f=m,c=new p(.03125);e.abs().gte(.1);)e=e.times(c),g+=5;for(i=Math.log(la(2,g))/Math.LN10*2+5|0,f+=i,n=o=u=new p(cn),p.precision=f;;){if(o=Je(o.times(e),f),n=n.times(++h),c=u.plus(Pr(o,n,f)),or(c.d).slice(0,f)===or(u.d).slice(0,f)){for(;g--;)u=Je(u.times(u),f);return p.precision=m,t==null?(it=!0,Je(u,m)):u}u=c}}function yt(e){for(var t=e.e*nt,n=e.d[0];n>=10;n/=10)t++;return t}function N0(e,t,n){if(t>e.LN10.sd())throw it=!0,n&&(e.precision=n),Error(Ln+"LN10 precision limit exceeded");return Je(new e(e.LN10),t)}function Ei(e){for(var t="";e--;)t+="0";return t}function Ou(e,t){var n,i,o,u,c,f,h,g,p,m=1,v=10,S=e,M=S.d,b=S.constructor,w=b.precision;if(S.s<1)throw Error(Ln+(S.s?"NaN":"-Infinity"));if(S.eq(cn))return new b(0);if(t==null?(it=!1,g=w):g=t,S.eq(10))return t==null&&(it=!0),N0(b,g);if(g+=v,b.precision=g,n=or(M),i=n.charAt(0),u=yt(S),Math.abs(u)<15e14){for(;i<7&&i!=1||i==1&&n.charAt(1)>3;)S=S.times(e),n=or(S.d),i=n.charAt(0),m++;u=yt(S),i>1?(S=new b("0."+n),u++):S=new b(i+"."+n.slice(1))}else return h=N0(b,g+2,w).times(u+""),S=Ou(new b(i+"."+n.slice(1)),g-v).plus(h),b.precision=w,t==null?(it=!0,Je(S,w)):S;for(f=c=S=Pr(S.minus(cn),S.plus(cn),g),p=Je(S.times(S),g),o=3;;){if(c=Je(c.times(p),g),h=f.plus(Pr(c,new b(o),g)),or(h.d).slice(0,g)===or(f.d).slice(0,g))return f=f.times(2),u!==0&&(f=f.plus(N0(b,g+2,w).times(u+""))),f=Pr(f,new b(m),g),b.precision=w,t==null?(it=!0,Je(f,w)):f;f=h,o+=2}}function nw(e,t){var n,i,o;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(i=t.search(/e/i))>0?(n<0&&(n=i),n+=+t.slice(i+1),t=t.substring(0,i)):n<0&&(n=t.length),i=0;t.charCodeAt(i)===48;)++i;for(o=t.length;t.charCodeAt(o-1)===48;)--o;if(t=t.slice(i,o),t){if(o-=i,n=n-i-1,e.e=al(n/nt),e.d=[],i=(n+1)%nt,n<0&&(i+=nt),i<o){for(i&&e.d.push(+t.slice(0,i)),o-=nt;i<o;)e.d.push(+t.slice(i,i+=nt));t=t.slice(i),i=nt-t.length}else i-=o;for(;i--;)t+="0";if(e.d.push(+t),it&&(e.e>ff||e.e<-ff))throw Error(oy+n)}else e.s=0,e.e=0,e.d=[0];return e}function Je(e,t,n){var i,o,u,c,f,h,g,p,m=e.d;for(c=1,u=m[0];u>=10;u/=10)c++;if(i=t-c,i<0)i+=nt,o=t,g=m[p=0];else{if(p=Math.ceil((i+1)/nt),u=m.length,p>=u)return e;for(g=u=m[p],c=1;u>=10;u/=10)c++;i%=nt,o=i-nt+c}if(n!==void 0&&(u=la(10,c-o-1),f=g/u%10|0,h=t<0||m[p+1]!==void 0||g%u,h=n<4?(f||h)&&(n==0||n==(e.s<0?3:2)):f>5||f==5&&(n==4||h||n==6&&(i>0?o>0?g/la(10,c-o):0:m[p-1])%10&1||n==(e.s<0?8:7))),t<1||!m[0])return h?(u=yt(e),m.length=1,t=t-u-1,m[0]=la(10,(nt-t%nt)%nt),e.e=al(-t/nt)||0):(m.length=1,m[0]=e.e=e.s=0),e;if(i==0?(m.length=p,u=1,p--):(m.length=p+1,u=la(10,nt-i),m[p]=o>0?(g/la(10,c-o)%la(10,o)|0)*u:0),h)for(;;)if(p==0){(m[0]+=u)==Tt&&(m[0]=1,++e.e);break}else{if(m[p]+=u,m[p]!=Tt)break;m[p--]=0,u=1}for(i=m.length;m[--i]===0;)m.pop();if(it&&(e.e>ff||e.e<-ff))throw Error(oy+yt(e));return e}function z3(e,t){var n,i,o,u,c,f,h,g,p,m,v=e.constructor,S=v.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new v(e),it?Je(t,S):t;if(h=e.d,m=t.d,i=t.e,g=e.e,h=h.slice(),c=g-i,c){for(p=c<0,p?(n=h,c=-c,f=m.length):(n=m,i=g,f=h.length),o=Math.max(Math.ceil(S/nt),f)+2,c>o&&(c=o,n.length=1),n.reverse(),o=c;o--;)n.push(0);n.reverse()}else{for(o=h.length,f=m.length,p=o<f,p&&(f=o),o=0;o<f;o++)if(h[o]!=m[o]){p=h[o]<m[o];break}c=0}for(p&&(n=h,h=m,m=n,t.s=-t.s),f=h.length,o=m.length-f;o>0;--o)h[f++]=0;for(o=m.length;o>c;){if(h[--o]<m[o]){for(u=o;u&&h[--u]===0;)h[u]=Tt-1;--h[u],h[o]+=Tt}h[o]-=m[o]}for(;h[--f]===0;)h.pop();for(;h[0]===0;h.shift())--i;return h[0]?(t.d=h,t.e=i,it?Je(t,S):t):new v(0)}function Ca(e,t,n){var i,o=yt(e),u=or(e.d),c=u.length;return t?(n&&(i=n-c)>0?u=u.charAt(0)+"."+u.slice(1)+Ei(i):c>1&&(u=u.charAt(0)+"."+u.slice(1)),u=u+(o<0?"e":"e+")+o):o<0?(u="0."+Ei(-o-1)+u,n&&(i=n-c)>0&&(u+=Ei(i))):o>=c?(u+=Ei(o+1-c),n&&(i=n-o-1)>0&&(u=u+"."+Ei(i))):((i=o+1)<c&&(u=u.slice(0,i)+"."+u.slice(i)),n&&(i=n-c)>0&&(o+1===c&&(u+="."),u+=Ei(i))),e.s<0?"-"+u:u}function rw(e,t){if(e.length>t)return e.length=t,!0}function L3(e){var t,n,i;function o(u){var c=this;if(!(c instanceof o))return new o(u);if(c.constructor=o,u instanceof o){c.s=u.s,c.e=u.e,c.d=(u=u.d)?u.slice():u;return}if(typeof u=="number"){if(u*0!==0)throw Error(wa+u);if(u>0)c.s=1;else if(u<0)u=-u,c.s=-1;else{c.s=0,c.e=0,c.d=[0];return}if(u===~~u&&u<1e7){c.e=0,c.d=[u];return}return nw(c,u.toString())}else if(typeof u!="string")throw Error(wa+u);if(u.charCodeAt(0)===45?(u=u.slice(1),c.s=-1):c.s=1,jL.test(u))nw(c,u);else throw Error(wa+u)}if(o.prototype=de,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=L3,o.config=o.set=HL,e===void 0&&(e={}),e)for(i=["precision","rounding","toExpNeg","toExpPos","LN10"],t=0;t<i.length;)e.hasOwnProperty(n=i[t++])||(e[n]=this[n]);return o.config(e),o}function HL(e){if(!e||typeof e!="object")throw Error(Ln+"Object expected");var t,n,i,o=["precision",1,il,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<o.length;t+=3)if((i=e[n=o[t]])!==void 0)if(al(i)===i&&i>=o[t+1]&&i<=o[t+2])this[n]=i;else throw Error(wa+n+": "+i);if((i=e[n="LN10"])!==void 0)if(i==Math.LN10)this[n]=new this(i);else throw Error(wa+n+": "+i);return this}var ly=L3(UL);cn=new ly(1);const dQ=ly;function Ii(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function BL(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function uy(e){let t,n,i;e.length!==2?(t=Ii,n=(f,h)=>Ii(e(f),h),i=(f,h)=>e(f)-h):(t=e===Ii||e===BL?e:PL,n=e,i=e);function o(f,h,g=0,p=f.length){if(g<p){if(t(h,h)!==0)return p;do{const m=g+p>>>1;n(f[m],h)<0?g=m+1:p=m}while(g<p)}return g}function u(f,h,g=0,p=f.length){if(g<p){if(t(h,h)!==0)return p;do{const m=g+p>>>1;n(f[m],h)<=0?g=m+1:p=m}while(g<p)}return g}function c(f,h,g=0,p=f.length){const m=o(f,h,g,p-1);return m>g&&i(f[m-1],h)>-i(f[m],h)?m-1:m}return{left:o,center:c,right:u}}function PL(){return 0}function I3(e){return e===null?NaN:+e}function*$L(e,t){for(let n of e)n!=null&&(n=+n)>=n&&(yield n)}const YL=uy(Ii),Hu=YL.right;uy(I3).center;class iw extends Map{constructor(t,n=GL){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),t!=null)for(const[i,o]of t)this.set(i,o)}get(t){return super.get(aw(this,t))}has(t){return super.has(aw(this,t))}set(t,n){return super.set(VL(this,t),n)}delete(t){return super.delete(FL(this,t))}}function aw({_intern:e,_key:t},n){const i=t(n);return e.has(i)?e.get(i):n}function VL({_intern:e,_key:t},n){const i=t(n);return e.has(i)?e.get(i):(e.set(i,n),n)}function FL({_intern:e,_key:t},n){const i=t(n);return e.has(i)&&(n=e.get(i),e.delete(i)),n}function GL(e){return e!==null&&typeof e=="object"?e.valueOf():e}function QL(e=Ii){if(e===Ii)return q3;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,n)=>{const i=e(t,n);return i||i===0?i:(e(n,n)===0)-(e(t,t)===0)}}function q3(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:e>t?1:0)}const XL=Math.sqrt(50),KL=Math.sqrt(10),ZL=Math.sqrt(2);function hf(e,t,n){const i=(t-e)/Math.max(0,n),o=Math.floor(Math.log10(i)),u=i/Math.pow(10,o),c=u>=XL?10:u>=KL?5:u>=ZL?2:1;let f,h,g;return o<0?(g=Math.pow(10,-o)/c,f=Math.round(e*g),h=Math.round(t*g),f/g<e&&++f,h/g>t&&--h,g=-g):(g=Math.pow(10,o)*c,f=Math.round(e/g),h=Math.round(t/g),f*g<e&&++f,h*g>t&&--h),h<f&&.5<=n&&n<2?hf(e,t,n*2):[f,h,g]}function f1(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];const i=t<e,[o,u,c]=i?hf(t,e,n):hf(e,t,n);if(!(u>=o))return[];const f=u-o+1,h=new Array(f);if(i)if(c<0)for(let g=0;g<f;++g)h[g]=(u-g)/-c;else for(let g=0;g<f;++g)h[g]=(u-g)*c;else if(c<0)for(let g=0;g<f;++g)h[g]=(o+g)/-c;else for(let g=0;g<f;++g)h[g]=(o+g)*c;return h}function h1(e,t,n){return t=+t,e=+e,n=+n,hf(e,t,n)[2]}function d1(e,t,n){t=+t,e=+e,n=+n;const i=t<e,o=i?h1(t,e,n):h1(e,t,n);return(i?-1:1)*(o<0?1/-o:o)}function ow(e,t){let n;for(const i of e)i!=null&&(n<i||n===void 0&&i>=i)&&(n=i);return n}function lw(e,t){let n;for(const i of e)i!=null&&(n>i||n===void 0&&i>=i)&&(n=i);return n}function U3(e,t,n=0,i=1/0,o){if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),i=Math.floor(Math.min(e.length-1,i)),!(n<=t&&t<=i))return e;for(o=o===void 0?q3:QL(o);i>n;){if(i-n>600){const h=i-n+1,g=t-n+1,p=Math.log(h),m=.5*Math.exp(2*p/3),v=.5*Math.sqrt(p*m*(h-m)/h)*(g-h/2<0?-1:1),S=Math.max(n,Math.floor(t-g*m/h+v)),M=Math.min(i,Math.floor(t+(h-g)*m/h+v));U3(e,t,S,M,o)}const u=e[t];let c=n,f=i;for(au(e,n,t),o(e[i],u)>0&&au(e,n,i);c<f;){for(au(e,c,f),++c,--f;o(e[c],u)<0;)++c;for(;o(e[f],u)>0;)--f}o(e[n],u)===0?au(e,n,f):(++f,au(e,f,i)),f<=t&&(n=f+1),t<=f&&(i=f-1)}return e}function au(e,t,n){const i=e[t];e[t]=e[n],e[n]=i}function JL(e,t,n){if(e=Float64Array.from($L(e)),!(!(i=e.length)||isNaN(t=+t))){if(t<=0||i<2)return lw(e);if(t>=1)return ow(e);var i,o=(i-1)*t,u=Math.floor(o),c=ow(U3(e,u).subarray(0,u+1)),f=lw(e.subarray(u+1));return c+(f-c)*(o-u)}}function WL(e,t,n=I3){if(!(!(i=e.length)||isNaN(t=+t))){if(t<=0||i<2)return+n(e[0],0,e);if(t>=1)return+n(e[i-1],i-1,e);var i,o=(i-1)*t,u=Math.floor(o),c=+n(e[u],u,e),f=+n(e[u+1],u+1,e);return c+(f-c)*(o-u)}}function eI(e,t,n){e=+e,t=+t,n=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+n;for(var i=-1,o=Math.max(0,Math.ceil((t-e)/n))|0,u=new Array(o);++i<o;)u[i]=e+i*n;return u}function qn(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function Xr(e,t){switch(arguments.length){case 0:break;case 1:{typeof e=="function"?this.interpolator(e):this.range(e);break}default:{this.domain(e),typeof t=="function"?this.interpolator(t):this.range(t);break}}return this}const g1=Symbol("implicit");function sy(){var e=new iw,t=[],n=[],i=g1;function o(u){let c=e.get(u);if(c===void 0){if(i!==g1)return i;e.set(u,c=t.push(u)-1)}return n[c%n.length]}return o.domain=function(u){if(!arguments.length)return t.slice();t=[],e=new iw;for(const c of u)e.has(c)||e.set(c,t.push(c)-1);return o},o.range=function(u){return arguments.length?(n=Array.from(u),o):n.slice()},o.unknown=function(u){return arguments.length?(i=u,o):i},o.copy=function(){return sy(t,n).unknown(i)},qn.apply(o,arguments),o}function cy(){var e=sy().unknown(void 0),t=e.domain,n=e.range,i=0,o=1,u,c,f=!1,h=0,g=0,p=.5;delete e.unknown;function m(){var v=t().length,S=o<i,M=S?o:i,b=S?i:o;u=(b-M)/Math.max(1,v-h+g*2),f&&(u=Math.floor(u)),M+=(b-M-u*(v-h))*p,c=u*(1-h),f&&(M=Math.round(M),c=Math.round(c));var w=eI(v).map(function(E){return M+u*E});return n(S?w.reverse():w)}return e.domain=function(v){return arguments.length?(t(v),m()):t()},e.range=function(v){return arguments.length?([i,o]=v,i=+i,o=+o,m()):[i,o]},e.rangeRound=function(v){return[i,o]=v,i=+i,o=+o,f=!0,m()},e.bandwidth=function(){return c},e.step=function(){return u},e.round=function(v){return arguments.length?(f=!!v,m()):f},e.padding=function(v){return arguments.length?(h=Math.min(1,g=+v),m()):h},e.paddingInner=function(v){return arguments.length?(h=Math.min(1,v),m()):h},e.paddingOuter=function(v){return arguments.length?(g=+v,m()):g},e.align=function(v){return arguments.length?(p=Math.max(0,Math.min(1,v)),m()):p},e.copy=function(){return cy(t(),[i,o]).round(f).paddingInner(h).paddingOuter(g).align(p)},qn.apply(m(),arguments)}function j3(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return j3(t())},e}function tI(){return j3(cy.apply(null,arguments).paddingInner(1))}function nI(e){return function(){return e}}function df(e){return+e}var uw=[0,1];function Ht(e){return e}function p1(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:nI(isNaN(t)?NaN:.5)}function rI(e,t){var n;return e>t&&(n=e,e=t,t=n),function(i){return Math.max(e,Math.min(t,i))}}function iI(e,t,n){var i=e[0],o=e[1],u=t[0],c=t[1];return o<i?(i=p1(o,i),u=n(c,u)):(i=p1(i,o),u=n(u,c)),function(f){return u(i(f))}}function aI(e,t,n){var i=Math.min(e.length,t.length)-1,o=new Array(i),u=new Array(i),c=-1;for(e[i]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++c<i;)o[c]=p1(e[c],e[c+1]),u[c]=n(t[c],t[c+1]);return function(f){var h=Hu(e,f,1,i)-1;return u[h](o[h](f))}}function Bu(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function zf(){var e=uw,t=uw,n=rl,i,o,u,c=Ht,f,h,g;function p(){var v=Math.min(e.length,t.length);return c!==Ht&&(c=rI(e[0],e[v-1])),f=v>2?aI:iI,h=g=null,m}function m(v){return v==null||isNaN(v=+v)?u:(h||(h=f(e.map(i),t,n)))(i(c(v)))}return m.invert=function(v){return c(o((g||(g=f(t,e.map(i),Yn)))(v)))},m.domain=function(v){return arguments.length?(e=Array.from(v,df),p()):e.slice()},m.range=function(v){return arguments.length?(t=Array.from(v),p()):t.slice()},m.rangeRound=function(v){return t=Array.from(v),n=F1,p()},m.clamp=function(v){return arguments.length?(c=v?!0:Ht,p()):c!==Ht},m.interpolate=function(v){return arguments.length?(n=v,p()):n},m.unknown=function(v){return arguments.length?(u=v,m):u},function(v,S){return i=v,o=S,p()}}function fy(){return zf()(Ht,Ht)}function oI(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function gf(e,t){if(!isFinite(e)||e===0)return null;var n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"),i=e.slice(0,n);return[i.length>1?i[0]+i.slice(2):i,+e.slice(n+1)]}function Go(e){return e=gf(Math.abs(e)),e?e[1]:NaN}function lI(e,t){return function(n,i){for(var o=n.length,u=[],c=0,f=e[0],h=0;o>0&&f>0&&(h+f+1>i&&(f=Math.max(1,i-h)),u.push(n.substring(o-=f,o+f)),!((h+=f+1)>i));)f=e[c=(c+1)%e.length];return u.reverse().join(t)}}function uI(e){return function(t){return t.replace(/[0-9]/g,function(n){return e[+n]})}}var sI=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Cu(e){if(!(t=sI.exec(e)))throw new Error("invalid format: "+e);var t;return new hy({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}Cu.prototype=hy.prototype;function hy(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}hy.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function cI(e){e:for(var t=e.length,n=1,i=-1,o;n<t;++n)switch(e[n]){case".":i=o=n;break;case"0":i===0&&(i=n),o=n;break;default:if(!+e[n])break e;i>0&&(i=0);break}return i>0?e.slice(0,i)+e.slice(o+1):e}var pf;function fI(e,t){var n=gf(e,t);if(!n)return pf=void 0,e.toPrecision(t);var i=n[0],o=n[1],u=o-(pf=Math.max(-8,Math.min(8,Math.floor(o/3)))*3)+1,c=i.length;return u===c?i:u>c?i+new Array(u-c+1).join("0"):u>0?i.slice(0,u)+"."+i.slice(u):"0."+new Array(1-u).join("0")+gf(e,Math.max(0,t+u-1))[0]}function sw(e,t){var n=gf(e,t);if(!n)return e+"";var i=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+i:i.length>o+1?i.slice(0,o+1)+"."+i.slice(o+1):i+new Array(o-i.length+2).join("0")}const cw={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:oI,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>sw(e*100,t),r:sw,s:fI,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function fw(e){return e}var hw=Array.prototype.map,dw=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function hI(e){var t=e.grouping===void 0||e.thousands===void 0?fw:lI(hw.call(e.grouping,Number),e.thousands+""),n=e.currency===void 0?"":e.currency[0]+"",i=e.currency===void 0?"":e.currency[1]+"",o=e.decimal===void 0?".":e.decimal+"",u=e.numerals===void 0?fw:uI(hw.call(e.numerals,String)),c=e.percent===void 0?"%":e.percent+"",f=e.minus===void 0?"−":e.minus+"",h=e.nan===void 0?"NaN":e.nan+"";function g(m,v){m=Cu(m);var S=m.fill,M=m.align,b=m.sign,w=m.symbol,E=m.zero,A=m.width,k=m.comma,T=m.precision,C=m.trim,O=m.type;O==="n"?(k=!0,O="g"):cw[O]||(T===void 0&&(T=12),C=!0,O="g"),(E||S==="0"&&M==="=")&&(E=!0,S="0",M="=");var D=(v&&v.prefix!==void 0?v.prefix:"")+(w==="$"?n:w==="#"&&/[boxX]/.test(O)?"0"+O.toLowerCase():""),N=(w==="$"?i:/[%p]/.test(O)?c:"")+(v&&v.suffix!==void 0?v.suffix:""),P=cw[O],Z=/[defgprs%]/.test(O);T=T===void 0?6:/[gprs]/.test(O)?Math.max(1,Math.min(21,T)):Math.max(0,Math.min(20,T));function W(G){var ue=D,q=N,re,R,F;if(O==="c")q=P(G)+q,G="";else{G=+G;var ie=G<0||1/G<0;if(G=isNaN(G)?h:P(Math.abs(G),T),C&&(G=cI(G)),ie&&+G==0&&b!=="+"&&(ie=!1),ue=(ie?b==="("?b:f:b==="-"||b==="("?"":b)+ue,q=(O==="s"&&!isNaN(G)&&pf!==void 0?dw[8+pf/3]:"")+q+(ie&&b==="("?")":""),Z){for(re=-1,R=G.length;++re<R;)if(F=G.charCodeAt(re),48>F||F>57){q=(F===46?o+G.slice(re+1):G.slice(re))+q,G=G.slice(0,re);break}}}k&&!E&&(G=t(G,1/0));var se=ue.length+G.length+q.length,K=se<A?new Array(A-se+1).join(S):"";switch(k&&E&&(G=t(K+G,K.length?A-q.length:1/0),K=""),M){case"<":G=ue+G+q+K;break;case"=":G=ue+K+G+q;break;case"^":G=K.slice(0,se=K.length>>1)+ue+G+q+K.slice(se);break;default:G=K+ue+G+q;break}return u(G)}return W.toString=function(){return m+""},W}function p(m,v){var S=Math.max(-8,Math.min(8,Math.floor(Go(v)/3)))*3,M=Math.pow(10,-S),b=g((m=Cu(m),m.type="f",m),{suffix:dw[8+S/3]});return function(w){return b(M*w)}}return{format:g,formatPrefix:p}}var _c,dy,H3;dI({thousands:",",grouping:[3],currency:["$",""]});function dI(e){return _c=hI(e),dy=_c.format,H3=_c.formatPrefix,_c}function gI(e){return Math.max(0,-Go(Math.abs(e)))}function pI(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Go(t)/3)))*3-Go(Math.abs(e)))}function yI(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Go(t)-Go(e))+1}function B3(e,t,n,i){var o=d1(e,t,n),u;switch(i=Cu(i??",f"),i.type){case"s":{var c=Math.max(Math.abs(e),Math.abs(t));return i.precision==null&&!isNaN(u=pI(o,c))&&(i.precision=u),H3(i,c)}case"":case"e":case"g":case"p":case"r":{i.precision==null&&!isNaN(u=yI(o,Math.max(Math.abs(e),Math.abs(t))))&&(i.precision=u-(i.type==="e"));break}case"f":case"%":{i.precision==null&&!isNaN(u=gI(o))&&(i.precision=u-(i.type==="%")*2);break}}return dy(i)}function Ui(e){var t=e.domain;return e.ticks=function(n){var i=t();return f1(i[0],i[i.length-1],n??10)},e.tickFormat=function(n,i){var o=t();return B3(o[0],o[o.length-1],n??10,i)},e.nice=function(n){n==null&&(n=10);var i=t(),o=0,u=i.length-1,c=i[o],f=i[u],h,g,p=10;for(f<c&&(g=c,c=f,f=g,g=o,o=u,u=g);p-- >0;){if(g=h1(c,f,n),g===h)return i[o]=c,i[u]=f,t(i);if(g>0)c=Math.floor(c/g)*g,f=Math.ceil(f/g)*g;else if(g<0)c=Math.ceil(c*g)/g,f=Math.floor(f*g)/g;else break;h=g}return e},e}function P3(){var e=fy();return e.copy=function(){return Bu(e,P3())},qn.apply(e,arguments),Ui(e)}function $3(e){var t;function n(i){return i==null||isNaN(i=+i)?t:i}return n.invert=n,n.domain=n.range=function(i){return arguments.length?(e=Array.from(i,df),n):e.slice()},n.unknown=function(i){return arguments.length?(t=i,n):t},n.copy=function(){return $3(e).unknown(t)},e=arguments.length?Array.from(e,df):[0,1],Ui(n)}function Y3(e,t){e=e.slice();var n=0,i=e.length-1,o=e[n],u=e[i],c;return u<o&&(c=n,n=i,i=c,c=o,o=u,u=c),e[n]=t.floor(o),e[i]=t.ceil(u),e}function gw(e){return Math.log(e)}function pw(e){return Math.exp(e)}function mI(e){return-Math.log(-e)}function vI(e){return-Math.exp(-e)}function bI(e){return isFinite(e)?+("1e"+e):e<0?0:e}function SI(e){return e===10?bI:e===Math.E?Math.exp:t=>Math.pow(e,t)}function _I(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function yw(e){return(t,n)=>-e(-t,n)}function gy(e){const t=e(gw,pw),n=t.domain;let i=10,o,u;function c(){return o=_I(i),u=SI(i),n()[0]<0?(o=yw(o),u=yw(u),e(mI,vI)):e(gw,pw),t}return t.base=function(f){return arguments.length?(i=+f,c()):i},t.domain=function(f){return arguments.length?(n(f),c()):n()},t.ticks=f=>{const h=n();let g=h[0],p=h[h.length-1];const m=p<g;m&&([g,p]=[p,g]);let v=o(g),S=o(p),M,b;const w=f==null?10:+f;let E=[];if(!(i%1)&&S-v<w){if(v=Math.floor(v),S=Math.ceil(S),g>0){for(;v<=S;++v)for(M=1;M<i;++M)if(b=v<0?M/u(-v):M*u(v),!(b<g)){if(b>p)break;E.push(b)}}else for(;v<=S;++v)for(M=i-1;M>=1;--M)if(b=v>0?M/u(-v):M*u(v),!(b<g)){if(b>p)break;E.push(b)}E.length*2<w&&(E=f1(g,p,w))}else E=f1(v,S,Math.min(S-v,w)).map(u);return m?E.reverse():E},t.tickFormat=(f,h)=>{if(f==null&&(f=10),h==null&&(h=i===10?"s":","),typeof h!="function"&&(!(i%1)&&(h=Cu(h)).precision==null&&(h.trim=!0),h=dy(h)),f===1/0)return h;const g=Math.max(1,i*f/t.ticks().length);return p=>{let m=p/u(Math.round(o(p)));return m*i<i-.5&&(m*=i),m<=g?h(p):""}},t.nice=()=>n(Y3(n(),{floor:f=>u(Math.floor(o(f))),ceil:f=>u(Math.ceil(o(f)))})),t}function V3(){const e=gy(zf()).domain([1,10]);return e.copy=()=>Bu(e,V3()).base(e.base()),qn.apply(e,arguments),e}function mw(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function vw(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function py(e){var t=1,n=e(mw(t),vw(t));return n.constant=function(i){return arguments.length?e(mw(t=+i),vw(t)):t},Ui(n)}function F3(){var e=py(zf());return e.copy=function(){return Bu(e,F3()).constant(e.constant())},qn.apply(e,arguments)}function bw(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function wI(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function MI(e){return e<0?-e*e:e*e}function yy(e){var t=e(Ht,Ht),n=1;function i(){return n===1?e(Ht,Ht):n===.5?e(wI,MI):e(bw(n),bw(1/n))}return t.exponent=function(o){return arguments.length?(n=+o,i()):n},Ui(t)}function my(){var e=yy(zf());return e.copy=function(){return Bu(e,my()).exponent(e.exponent())},qn.apply(e,arguments),e}function TI(){return my.apply(null,arguments).exponent(.5)}function Sw(e){return Math.sign(e)*e*e}function EI(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function G3(){var e=fy(),t=[0,1],n=!1,i;function o(u){var c=EI(e(u));return isNaN(c)?i:n?Math.round(c):c}return o.invert=function(u){return e.invert(Sw(u))},o.domain=function(u){return arguments.length?(e.domain(u),o):e.domain()},o.range=function(u){return arguments.length?(e.range((t=Array.from(u,df)).map(Sw)),o):t.slice()},o.rangeRound=function(u){return o.range(u).round(!0)},o.round=function(u){return arguments.length?(n=!!u,o):n},o.clamp=function(u){return arguments.length?(e.clamp(u),o):e.clamp()},o.unknown=function(u){return arguments.length?(i=u,o):i},o.copy=function(){return G3(e.domain(),t).round(n).clamp(e.clamp()).unknown(i)},qn.apply(o,arguments),Ui(o)}function Q3(){var e=[],t=[],n=[],i;function o(){var c=0,f=Math.max(1,t.length);for(n=new Array(f-1);++c<f;)n[c-1]=WL(e,c/f);return u}function u(c){return c==null||isNaN(c=+c)?i:t[Hu(n,c)]}return u.invertExtent=function(c){var f=t.indexOf(c);return f<0?[NaN,NaN]:[f>0?n[f-1]:e[0],f<n.length?n[f]:e[e.length-1]]},u.domain=function(c){if(!arguments.length)return e.slice();e=[];for(let f of c)f!=null&&!isNaN(f=+f)&&e.push(f);return e.sort(Ii),o()},u.range=function(c){return arguments.length?(t=Array.from(c),o()):t.slice()},u.unknown=function(c){return arguments.length?(i=c,u):i},u.quantiles=function(){return n.slice()},u.copy=function(){return Q3().domain(e).range(t).unknown(i)},qn.apply(u,arguments)}function X3(){var e=0,t=1,n=1,i=[.5],o=[0,1],u;function c(h){return h!=null&&h<=h?o[Hu(i,h,0,n)]:u}function f(){var h=-1;for(i=new Array(n);++h<n;)i[h]=((h+1)*t-(h-n)*e)/(n+1);return c}return c.domain=function(h){return arguments.length?([e,t]=h,e=+e,t=+t,f()):[e,t]},c.range=function(h){return arguments.length?(n=(o=Array.from(h)).length-1,f()):o.slice()},c.invertExtent=function(h){var g=o.indexOf(h);return g<0?[NaN,NaN]:g<1?[e,i[0]]:g>=n?[i[n-1],t]:[i[g-1],i[g]]},c.unknown=function(h){return arguments.length&&(u=h),c},c.thresholds=function(){return i.slice()},c.copy=function(){return X3().domain([e,t]).range(o).unknown(u)},qn.apply(Ui(c),arguments)}function K3(){var e=[.5],t=[0,1],n,i=1;function o(u){return u!=null&&u<=u?t[Hu(e,u,0,i)]:n}return o.domain=function(u){return arguments.length?(e=Array.from(u),i=Math.min(e.length,t.length-1),o):e.slice()},o.range=function(u){return arguments.length?(t=Array.from(u),i=Math.min(e.length,t.length-1),o):t.slice()},o.invertExtent=function(u){var c=t.indexOf(u);return[e[c-1],e[c]]},o.unknown=function(u){return arguments.length?(n=u,o):n},o.copy=function(){return K3().domain(e).range(t).unknown(n)},qn.apply(o,arguments)}const R0=new Date,z0=new Date;function bt(e,t,n,i){function o(u){return e(u=arguments.length===0?new Date:new Date(+u)),u}return o.floor=u=>(e(u=new Date(+u)),u),o.ceil=u=>(e(u=new Date(u-1)),t(u,1),e(u),u),o.round=u=>{const c=o(u),f=o.ceil(u);return u-c<f-u?c:f},o.offset=(u,c)=>(t(u=new Date(+u),c==null?1:Math.floor(c)),u),o.range=(u,c,f)=>{const h=[];if(u=o.ceil(u),f=f==null?1:Math.floor(f),!(u<c)||!(f>0))return h;let g;do h.push(g=new Date(+u)),t(u,f),e(u);while(g<u&&u<c);return h},o.filter=u=>bt(c=>{if(c>=c)for(;e(c),!u(c);)c.setTime(c-1)},(c,f)=>{if(c>=c)if(f<0)for(;++f<=0;)for(;t(c,-1),!u(c););else for(;--f>=0;)for(;t(c,1),!u(c););}),n&&(o.count=(u,c)=>(R0.setTime(+u),z0.setTime(+c),e(R0),e(z0),Math.floor(n(R0,z0))),o.every=u=>(u=Math.floor(u),!isFinite(u)||!(u>0)?null:u>1?o.filter(i?c=>i(c)%u===0:c=>o.count(0,c)%u===0):o)),o}const yf=bt(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);yf.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?bt(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):yf);yf.range;const Hr=1e3,Rn=Hr*60,Br=Rn*60,Fr=Br*24,vy=Fr*7,_w=Fr*30,L0=Fr*365,fa=bt(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*Hr)},(e,t)=>(t-e)/Hr,e=>e.getUTCSeconds());fa.range;const by=bt(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Hr)},(e,t)=>{e.setTime(+e+t*Rn)},(e,t)=>(t-e)/Rn,e=>e.getMinutes());by.range;const Sy=bt(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*Rn)},(e,t)=>(t-e)/Rn,e=>e.getUTCMinutes());Sy.range;const _y=bt(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Hr-e.getMinutes()*Rn)},(e,t)=>{e.setTime(+e+t*Br)},(e,t)=>(t-e)/Br,e=>e.getHours());_y.range;const wy=bt(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*Br)},(e,t)=>(t-e)/Br,e=>e.getUTCHours());wy.range;const Pu=bt(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Rn)/Fr,e=>e.getDate()-1);Pu.range;const Lf=bt(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/Fr,e=>e.getUTCDate()-1);Lf.range;const Z3=bt(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/Fr,e=>Math.floor(e/Fr));Z3.range;function Da(e){return bt(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,n)=>{t.setDate(t.getDate()+n*7)},(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Rn)/vy)}const If=Da(0),mf=Da(1),xI=Da(2),OI=Da(3),Qo=Da(4),CI=Da(5),kI=Da(6);If.range;mf.range;xI.range;OI.range;Qo.range;CI.range;kI.range;function Na(e){return bt(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n*7)},(t,n)=>(n-t)/vy)}const qf=Na(0),vf=Na(1),AI=Na(2),DI=Na(3),Xo=Na(4),NI=Na(5),RI=Na(6);qf.range;vf.range;AI.range;DI.range;Xo.range;NI.range;RI.range;const My=bt(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());My.range;const Ty=bt(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());Ty.range;const Gr=bt(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());Gr.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:bt(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)});Gr.range;const Qr=bt(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());Qr.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:bt(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)});Qr.range;function J3(e,t,n,i,o,u){const c=[[fa,1,Hr],[fa,5,5*Hr],[fa,15,15*Hr],[fa,30,30*Hr],[u,1,Rn],[u,5,5*Rn],[u,15,15*Rn],[u,30,30*Rn],[o,1,Br],[o,3,3*Br],[o,6,6*Br],[o,12,12*Br],[i,1,Fr],[i,2,2*Fr],[n,1,vy],[t,1,_w],[t,3,3*_w],[e,1,L0]];function f(g,p,m){const v=p<g;v&&([g,p]=[p,g]);const S=m&&typeof m.range=="function"?m:h(g,p,m),M=S?S.range(g,+p+1):[];return v?M.reverse():M}function h(g,p,m){const v=Math.abs(p-g)/m,S=uy(([,,w])=>w).right(c,v);if(S===c.length)return e.every(d1(g/L0,p/L0,m));if(S===0)return yf.every(Math.max(d1(g,p,m),1));const[M,b]=c[v/c[S-1][2]<c[S][2]/v?S-1:S];return M.every(b)}return[f,h]}const[zI,LI]=J3(Qr,Ty,qf,Z3,wy,Sy),[II,qI]=J3(Gr,My,If,Pu,_y,by);function I0(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function q0(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function ou(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function UI(e){var t=e.dateTime,n=e.date,i=e.time,o=e.periods,u=e.days,c=e.shortDays,f=e.months,h=e.shortMonths,g=lu(o),p=uu(o),m=lu(u),v=uu(u),S=lu(c),M=uu(c),b=lu(f),w=uu(f),E=lu(h),A=uu(h),k={a:F,A:ie,b:se,B:K,c:null,d:Ow,e:Ow,f:lq,g:mq,G:bq,H:iq,I:aq,j:oq,L:W3,m:uq,M:sq,p:z,q:Q,Q:Aw,s:Dw,S:cq,u:fq,U:hq,V:dq,w:gq,W:pq,x:null,X:null,y:yq,Y:vq,Z:Sq,"%":kw},T={a:oe,A:le,b:ce,B:he,c:null,d:Cw,e:Cw,f:Tq,g:zq,G:Iq,H:_q,I:wq,j:Mq,L:tx,m:Eq,M:xq,p:ve,q:Ae,Q:Aw,s:Dw,S:Oq,u:Cq,U:kq,V:Aq,w:Dq,W:Nq,x:null,X:null,y:Rq,Y:Lq,Z:qq,"%":kw},C={a:Z,A:W,b:G,B:ue,c:q,d:Ew,e:Ew,f:eq,g:Tw,G:Mw,H:xw,I:xw,j:KI,L:WI,m:XI,M:ZI,p:P,q:QI,Q:nq,s:rq,S:JI,u:$I,U:YI,V:VI,w:PI,W:FI,x:re,X:R,y:Tw,Y:Mw,Z:GI,"%":tq};k.x=O(n,k),k.X=O(i,k),k.c=O(t,k),T.x=O(n,T),T.X=O(i,T),T.c=O(t,T);function O(ne,we){return function(xe){var ae=[],st=-1,De=0,xt=ne.length,Ot,cr,ol;for(xe instanceof Date||(xe=new Date(+xe));++st<xt;)ne.charCodeAt(st)===37&&(ae.push(ne.slice(De,st)),(cr=ww[Ot=ne.charAt(++st)])!=null?Ot=ne.charAt(++st):cr=Ot==="e"?" ":"0",(ol=we[Ot])&&(Ot=ol(xe,cr)),ae.push(Ot),De=st+1);return ae.push(ne.slice(De,st)),ae.join("")}}function D(ne,we){return function(xe){var ae=ou(1900,void 0,1),st=N(ae,ne,xe+="",0),De,xt;if(st!=xe.length)return null;if("Q"in ae)return new Date(ae.Q);if("s"in ae)return new Date(ae.s*1e3+("L"in ae?ae.L:0));if(we&&!("Z"in ae)&&(ae.Z=0),"p"in ae&&(ae.H=ae.H%12+ae.p*12),ae.m===void 0&&(ae.m="q"in ae?ae.q:0),"V"in ae){if(ae.V<1||ae.V>53)return null;"w"in ae||(ae.w=1),"Z"in ae?(De=q0(ou(ae.y,0,1)),xt=De.getUTCDay(),De=xt>4||xt===0?vf.ceil(De):vf(De),De=Lf.offset(De,(ae.V-1)*7),ae.y=De.getUTCFullYear(),ae.m=De.getUTCMonth(),ae.d=De.getUTCDate()+(ae.w+6)%7):(De=I0(ou(ae.y,0,1)),xt=De.getDay(),De=xt>4||xt===0?mf.ceil(De):mf(De),De=Pu.offset(De,(ae.V-1)*7),ae.y=De.getFullYear(),ae.m=De.getMonth(),ae.d=De.getDate()+(ae.w+6)%7)}else("W"in ae||"U"in ae)&&("w"in ae||(ae.w="u"in ae?ae.u%7:"W"in ae?1:0),xt="Z"in ae?q0(ou(ae.y,0,1)).getUTCDay():I0(ou(ae.y,0,1)).getDay(),ae.m=0,ae.d="W"in ae?(ae.w+6)%7+ae.W*7-(xt+5)%7:ae.w+ae.U*7-(xt+6)%7);return"Z"in ae?(ae.H+=ae.Z/100|0,ae.M+=ae.Z%100,q0(ae)):I0(ae)}}function N(ne,we,xe,ae){for(var st=0,De=we.length,xt=xe.length,Ot,cr;st<De;){if(ae>=xt)return-1;if(Ot=we.charCodeAt(st++),Ot===37){if(Ot=we.charAt(st++),cr=C[Ot in ww?we.charAt(st++):Ot],!cr||(ae=cr(ne,xe,ae))<0)return-1}else if(Ot!=xe.charCodeAt(ae++))return-1}return ae}function P(ne,we,xe){var ae=g.exec(we.slice(xe));return ae?(ne.p=p.get(ae[0].toLowerCase()),xe+ae[0].length):-1}function Z(ne,we,xe){var ae=S.exec(we.slice(xe));return ae?(ne.w=M.get(ae[0].toLowerCase()),xe+ae[0].length):-1}function W(ne,we,xe){var ae=m.exec(we.slice(xe));return ae?(ne.w=v.get(ae[0].toLowerCase()),xe+ae[0].length):-1}function G(ne,we,xe){var ae=E.exec(we.slice(xe));return ae?(ne.m=A.get(ae[0].toLowerCase()),xe+ae[0].length):-1}function ue(ne,we,xe){var ae=b.exec(we.slice(xe));return ae?(ne.m=w.get(ae[0].toLowerCase()),xe+ae[0].length):-1}function q(ne,we,xe){return N(ne,t,we,xe)}function re(ne,we,xe){return N(ne,n,we,xe)}function R(ne,we,xe){return N(ne,i,we,xe)}function F(ne){return c[ne.getDay()]}function ie(ne){return u[ne.getDay()]}function se(ne){return h[ne.getMonth()]}function K(ne){return f[ne.getMonth()]}function z(ne){return o[+(ne.getHours()>=12)]}function Q(ne){return 1+~~(ne.getMonth()/3)}function oe(ne){return c[ne.getUTCDay()]}function le(ne){return u[ne.getUTCDay()]}function ce(ne){return h[ne.getUTCMonth()]}function he(ne){return f[ne.getUTCMonth()]}function ve(ne){return o[+(ne.getUTCHours()>=12)]}function Ae(ne){return 1+~~(ne.getUTCMonth()/3)}return{format:function(ne){var we=O(ne+="",k);return we.toString=function(){return ne},we},parse:function(ne){var we=D(ne+="",!1);return we.toString=function(){return ne},we},utcFormat:function(ne){var we=O(ne+="",T);return we.toString=function(){return ne},we},utcParse:function(ne){var we=D(ne+="",!0);return we.toString=function(){return ne},we}}}var ww={"-":"",_:" ",0:"0"},Et=/^\s*\d+/,jI=/^%/,HI=/[\\^$*+?|[\]().{}]/g;function Pe(e,t,n){var i=e<0?"-":"",o=(i?-e:e)+"",u=o.length;return i+(u<n?new Array(n-u+1).join(t)+o:o)}function BI(e){return e.replace(HI,"\\$&")}function lu(e){return new RegExp("^(?:"+e.map(BI).join("|")+")","i")}function uu(e){return new Map(e.map((t,n)=>[t.toLowerCase(),n]))}function PI(e,t,n){var i=Et.exec(t.slice(n,n+1));return i?(e.w=+i[0],n+i[0].length):-1}function $I(e,t,n){var i=Et.exec(t.slice(n,n+1));return i?(e.u=+i[0],n+i[0].length):-1}function YI(e,t,n){var i=Et.exec(t.slice(n,n+2));return i?(e.U=+i[0],n+i[0].length):-1}function VI(e,t,n){var i=Et.exec(t.slice(n,n+2));return i?(e.V=+i[0],n+i[0].length):-1}function FI(e,t,n){var i=Et.exec(t.slice(n,n+2));return i?(e.W=+i[0],n+i[0].length):-1}function Mw(e,t,n){var i=Et.exec(t.slice(n,n+4));return i?(e.y=+i[0],n+i[0].length):-1}function Tw(e,t,n){var i=Et.exec(t.slice(n,n+2));return i?(e.y=+i[0]+(+i[0]>68?1900:2e3),n+i[0].length):-1}function GI(e,t,n){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return i?(e.Z=i[1]?0:-(i[2]+(i[3]||"00")),n+i[0].length):-1}function QI(e,t,n){var i=Et.exec(t.slice(n,n+1));return i?(e.q=i[0]*3-3,n+i[0].length):-1}function XI(e,t,n){var i=Et.exec(t.slice(n,n+2));return i?(e.m=i[0]-1,n+i[0].length):-1}function Ew(e,t,n){var i=Et.exec(t.slice(n,n+2));return i?(e.d=+i[0],n+i[0].length):-1}function KI(e,t,n){var i=Et.exec(t.slice(n,n+3));return i?(e.m=0,e.d=+i[0],n+i[0].length):-1}function xw(e,t,n){var i=Et.exec(t.slice(n,n+2));return i?(e.H=+i[0],n+i[0].length):-1}function ZI(e,t,n){var i=Et.exec(t.slice(n,n+2));return i?(e.M=+i[0],n+i[0].length):-1}function JI(e,t,n){var i=Et.exec(t.slice(n,n+2));return i?(e.S=+i[0],n+i[0].length):-1}function WI(e,t,n){var i=Et.exec(t.slice(n,n+3));return i?(e.L=+i[0],n+i[0].length):-1}function eq(e,t,n){var i=Et.exec(t.slice(n,n+6));return i?(e.L=Math.floor(i[0]/1e3),n+i[0].length):-1}function tq(e,t,n){var i=jI.exec(t.slice(n,n+1));return i?n+i[0].length:-1}function nq(e,t,n){var i=Et.exec(t.slice(n));return i?(e.Q=+i[0],n+i[0].length):-1}function rq(e,t,n){var i=Et.exec(t.slice(n));return i?(e.s=+i[0],n+i[0].length):-1}function Ow(e,t){return Pe(e.getDate(),t,2)}function iq(e,t){return Pe(e.getHours(),t,2)}function aq(e,t){return Pe(e.getHours()%12||12,t,2)}function oq(e,t){return Pe(1+Pu.count(Gr(e),e),t,3)}function W3(e,t){return Pe(e.getMilliseconds(),t,3)}function lq(e,t){return W3(e,t)+"000"}function uq(e,t){return Pe(e.getMonth()+1,t,2)}function sq(e,t){return Pe(e.getMinutes(),t,2)}function cq(e,t){return Pe(e.getSeconds(),t,2)}function fq(e){var t=e.getDay();return t===0?7:t}function hq(e,t){return Pe(If.count(Gr(e)-1,e),t,2)}function ex(e){var t=e.getDay();return t>=4||t===0?Qo(e):Qo.ceil(e)}function dq(e,t){return e=ex(e),Pe(Qo.count(Gr(e),e)+(Gr(e).getDay()===4),t,2)}function gq(e){return e.getDay()}function pq(e,t){return Pe(mf.count(Gr(e)-1,e),t,2)}function yq(e,t){return Pe(e.getFullYear()%100,t,2)}function mq(e,t){return e=ex(e),Pe(e.getFullYear()%100,t,2)}function vq(e,t){return Pe(e.getFullYear()%1e4,t,4)}function bq(e,t){var n=e.getDay();return e=n>=4||n===0?Qo(e):Qo.ceil(e),Pe(e.getFullYear()%1e4,t,4)}function Sq(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Pe(t/60|0,"0",2)+Pe(t%60,"0",2)}function Cw(e,t){return Pe(e.getUTCDate(),t,2)}function _q(e,t){return Pe(e.getUTCHours(),t,2)}function wq(e,t){return Pe(e.getUTCHours()%12||12,t,2)}function Mq(e,t){return Pe(1+Lf.count(Qr(e),e),t,3)}function tx(e,t){return Pe(e.getUTCMilliseconds(),t,3)}function Tq(e,t){return tx(e,t)+"000"}function Eq(e,t){return Pe(e.getUTCMonth()+1,t,2)}function xq(e,t){return Pe(e.getUTCMinutes(),t,2)}function Oq(e,t){return Pe(e.getUTCSeconds(),t,2)}function Cq(e){var t=e.getUTCDay();return t===0?7:t}function kq(e,t){return Pe(qf.count(Qr(e)-1,e),t,2)}function nx(e){var t=e.getUTCDay();return t>=4||t===0?Xo(e):Xo.ceil(e)}function Aq(e,t){return e=nx(e),Pe(Xo.count(Qr(e),e)+(Qr(e).getUTCDay()===4),t,2)}function Dq(e){return e.getUTCDay()}function Nq(e,t){return Pe(vf.count(Qr(e)-1,e),t,2)}function Rq(e,t){return Pe(e.getUTCFullYear()%100,t,2)}function zq(e,t){return e=nx(e),Pe(e.getUTCFullYear()%100,t,2)}function Lq(e,t){return Pe(e.getUTCFullYear()%1e4,t,4)}function Iq(e,t){var n=e.getUTCDay();return e=n>=4||n===0?Xo(e):Xo.ceil(e),Pe(e.getUTCFullYear()%1e4,t,4)}function qq(){return"+0000"}function kw(){return"%"}function Aw(e){return+e}function Dw(e){return Math.floor(+e/1e3)}var wo,rx,ix;Uq({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function Uq(e){return wo=UI(e),rx=wo.format,wo.parse,ix=wo.utcFormat,wo.utcParse,wo}function jq(e){return new Date(e)}function Hq(e){return e instanceof Date?+e:+new Date(+e)}function Ey(e,t,n,i,o,u,c,f,h,g){var p=fy(),m=p.invert,v=p.domain,S=g(".%L"),M=g(":%S"),b=g("%I:%M"),w=g("%I %p"),E=g("%a %d"),A=g("%b %d"),k=g("%B"),T=g("%Y");function C(O){return(h(O)<O?S:f(O)<O?M:c(O)<O?b:u(O)<O?w:i(O)<O?o(O)<O?E:A:n(O)<O?k:T)(O)}return p.invert=function(O){return new Date(m(O))},p.domain=function(O){return arguments.length?v(Array.from(O,Hq)):v().map(jq)},p.ticks=function(O){var D=v();return e(D[0],D[D.length-1],O??10)},p.tickFormat=function(O,D){return D==null?C:g(D)},p.nice=function(O){var D=v();return(!O||typeof O.range!="function")&&(O=t(D[0],D[D.length-1],O??10)),O?v(Y3(D,O)):p},p.copy=function(){return Bu(p,Ey(e,t,n,i,o,u,c,f,h,g))},p}function Bq(){return qn.apply(Ey(II,qI,Gr,My,If,Pu,_y,by,fa,rx).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function Pq(){return qn.apply(Ey(zI,LI,Qr,Ty,qf,Lf,wy,Sy,fa,ix).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Uf(){var e=0,t=1,n,i,o,u,c=Ht,f=!1,h;function g(m){return m==null||isNaN(m=+m)?h:c(o===0?.5:(m=(u(m)-n)*o,f?Math.max(0,Math.min(1,m)):m))}g.domain=function(m){return arguments.length?([e,t]=m,n=u(e=+e),i=u(t=+t),o=n===i?0:1/(i-n),g):[e,t]},g.clamp=function(m){return arguments.length?(f=!!m,g):f},g.interpolator=function(m){return arguments.length?(c=m,g):c};function p(m){return function(v){var S,M;return arguments.length?([S,M]=v,c=m(S,M),g):[c(0),c(1)]}}return g.range=p(rl),g.rangeRound=p(F1),g.unknown=function(m){return arguments.length?(h=m,g):h},function(m){return u=m,n=m(e),i=m(t),o=n===i?0:1/(i-n),g}}function ji(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function ax(){var e=Ui(Uf()(Ht));return e.copy=function(){return ji(e,ax())},Xr.apply(e,arguments)}function ox(){var e=gy(Uf()).domain([1,10]);return e.copy=function(){return ji(e,ox()).base(e.base())},Xr.apply(e,arguments)}function lx(){var e=py(Uf());return e.copy=function(){return ji(e,lx()).constant(e.constant())},Xr.apply(e,arguments)}function xy(){var e=yy(Uf());return e.copy=function(){return ji(e,xy()).exponent(e.exponent())},Xr.apply(e,arguments)}function $q(){return xy.apply(null,arguments).exponent(.5)}function ux(){var e=[],t=Ht;function n(i){if(i!=null&&!isNaN(i=+i))return t((Hu(e,i,1)-1)/(e.length-1))}return n.domain=function(i){if(!arguments.length)return e.slice();e=[];for(let o of i)o!=null&&!isNaN(o=+o)&&e.push(o);return e.sort(Ii),n},n.interpolator=function(i){return arguments.length?(t=i,n):t},n.range=function(){return e.map((i,o)=>t(o/(e.length-1)))},n.quantiles=function(i){return Array.from({length:i+1},(o,u)=>JL(e,u/i))},n.copy=function(){return ux(t).domain(e)},Xr.apply(n,arguments)}function jf(){var e=0,t=.5,n=1,i=1,o,u,c,f,h,g=Ht,p,m=!1,v;function S(b){return isNaN(b=+b)?v:(b=.5+((b=+p(b))-u)*(i*b<i*u?f:h),g(m?Math.max(0,Math.min(1,b)):b))}S.domain=function(b){return arguments.length?([e,t,n]=b,o=p(e=+e),u=p(t=+t),c=p(n=+n),f=o===u?0:.5/(u-o),h=u===c?0:.5/(c-u),i=u<o?-1:1,S):[e,t,n]},S.clamp=function(b){return arguments.length?(m=!!b,S):m},S.interpolator=function(b){return arguments.length?(g=b,S):g};function M(b){return function(w){var E,A,k;return arguments.length?([E,A,k]=w,g=i9(b,[E,A,k]),S):[g(0),g(.5),g(1)]}}return S.range=M(rl),S.rangeRound=M(F1),S.unknown=function(b){return arguments.length?(v=b,S):v},function(b){return p=b,o=b(e),u=b(t),c=b(n),f=o===u?0:.5/(u-o),h=u===c?0:.5/(c-u),i=u<o?-1:1,S}}function sx(){var e=Ui(jf()(Ht));return e.copy=function(){return ji(e,sx())},Xr.apply(e,arguments)}function cx(){var e=gy(jf()).domain([.1,1,10]);return e.copy=function(){return ji(e,cx()).base(e.base())},Xr.apply(e,arguments)}function fx(){var e=py(jf());return e.copy=function(){return ji(e,fx()).constant(e.constant())},Xr.apply(e,arguments)}function Oy(){var e=yy(jf());return e.copy=function(){return ji(e,Oy()).exponent(e.exponent())},Xr.apply(e,arguments)}function Yq(){return Oy.apply(null,arguments).exponent(.5)}const gQ=Object.freeze(Object.defineProperty({__proto__:null,scaleBand:cy,scaleDiverging:sx,scaleDivergingLog:cx,scaleDivergingPow:Oy,scaleDivergingSqrt:Yq,scaleDivergingSymlog:fx,scaleIdentity:$3,scaleImplicit:g1,scaleLinear:P3,scaleLog:V3,scaleOrdinal:sy,scalePoint:tI,scalePow:my,scaleQuantile:Q3,scaleQuantize:X3,scaleRadial:G3,scaleSequential:ax,scaleSequentialLog:ox,scaleSequentialPow:xy,scaleSequentialQuantile:ux,scaleSequentialSqrt:$q,scaleSequentialSymlog:lx,scaleSqrt:TI,scaleSymlog:F3,scaleThreshold:K3,scaleTime:Bq,scaleUtc:Pq,tickFormat:B3},Symbol.toStringTag,{value:"Module"}));var U0={exports:{}},Nw;function Vq(){return Nw||(Nw=1,(function(e){var t=Object.prototype.hasOwnProperty,n="~";function i(){}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(n=!1));function o(h,g,p){this.fn=h,this.context=g,this.once=p||!1}function u(h,g,p,m,v){if(typeof p!="function")throw new TypeError("The listener must be a function");var S=new o(p,m||h,v),M=n?n+g:g;return h._events[M]?h._events[M].fn?h._events[M]=[h._events[M],S]:h._events[M].push(S):(h._events[M]=S,h._eventsCount++),h}function c(h,g){--h._eventsCount===0?h._events=new i:delete h._events[g]}function f(){this._events=new i,this._eventsCount=0}f.prototype.eventNames=function(){var g=[],p,m;if(this._eventsCount===0)return g;for(m in p=this._events)t.call(p,m)&&g.push(n?m.slice(1):m);return Object.getOwnPropertySymbols?g.concat(Object.getOwnPropertySymbols(p)):g},f.prototype.listeners=function(g){var p=n?n+g:g,m=this._events[p];if(!m)return[];if(m.fn)return[m.fn];for(var v=0,S=m.length,M=new Array(S);v<S;v++)M[v]=m[v].fn;return M},f.prototype.listenerCount=function(g){var p=n?n+g:g,m=this._events[p];return m?m.fn?1:m.length:0},f.prototype.emit=function(g,p,m,v,S,M){var b=n?n+g:g;if(!this._events[b])return!1;var w=this._events[b],E=arguments.length,A,k;if(w.fn){switch(w.once&&this.removeListener(g,w.fn,void 0,!0),E){case 1:return w.fn.call(w.context),!0;case 2:return w.fn.call(w.context,p),!0;case 3:return w.fn.call(w.context,p,m),!0;case 4:return w.fn.call(w.context,p,m,v),!0;case 5:return w.fn.call(w.context,p,m,v,S),!0;case 6:return w.fn.call(w.context,p,m,v,S,M),!0}for(k=1,A=new Array(E-1);k<E;k++)A[k-1]=arguments[k];w.fn.apply(w.context,A)}else{var T=w.length,C;for(k=0;k<T;k++)switch(w[k].once&&this.removeListener(g,w[k].fn,void 0,!0),E){case 1:w[k].fn.call(w[k].context);break;case 2:w[k].fn.call(w[k].context,p);break;case 3:w[k].fn.call(w[k].context,p,m);break;case 4:w[k].fn.call(w[k].context,p,m,v);break;default:if(!A)for(C=1,A=new Array(E-1);C<E;C++)A[C-1]=arguments[C];w[k].fn.apply(w[k].context,A)}}return!0},f.prototype.on=function(g,p,m){return u(this,g,p,m,!1)},f.prototype.once=function(g,p,m){return u(this,g,p,m,!0)},f.prototype.removeListener=function(g,p,m,v){var S=n?n+g:g;if(!this._events[S])return this;if(!p)return c(this,S),this;var M=this._events[S];if(M.fn)M.fn===p&&(!v||M.once)&&(!m||M.context===m)&&c(this,S);else{for(var b=0,w=[],E=M.length;b<E;b++)(M[b].fn!==p||v&&!M[b].once||m&&M[b].context!==m)&&w.push(M[b]);w.length?this._events[S]=w.length===1?w[0]:w:c(this,S)}return this},f.prototype.removeAllListeners=function(g){var p;return g?(p=n?n+g:g,this._events[p]&&c(this,p)):(this._events=new i,this._eventsCount=0),this},f.prototype.off=f.prototype.removeListener,f.prototype.addListener=f.prototype.on,f.prefixed=n,f.EventEmitter=f,e.exports=f})(U0)),U0.exports}var Fq=Vq();const pQ=Zt(Fq);var j0={exports:{}},Ke={};/**
|
|
1045
1055
|
* @license React
|
|
1046
1056
|
* react-is.production.js
|
|
1047
1057
|
*
|
|
@@ -1049,24 +1059,24 @@ Please change the parent <Route path="${E}"> to <Route path="${E==="/"?"*":`${E}
|
|
|
1049
1059
|
*
|
|
1050
1060
|
* This source code is licensed under the MIT license found in the
|
|
1051
1061
|
* LICENSE file in the root directory of this source tree.
|
|
1052
|
-
*/var Rw;function
|
|
1062
|
+
*/var Rw;function Gq(){if(Rw)return Ke;Rw=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.view_transition"),S=Symbol.for("react.client.reference");function M(b){if(typeof b=="object"&&b!==null){var w=b.$$typeof;switch(w){case e:switch(b=b.type,b){case n:case o:case i:case h:case g:case v:return b;default:switch(b=b&&b.$$typeof,b){case c:case f:case m:case p:return b;case u:return b;default:return w}}case t:return w}}}return Ke.ContextConsumer=u,Ke.ContextProvider=c,Ke.Element=e,Ke.ForwardRef=f,Ke.Fragment=n,Ke.Lazy=m,Ke.Memo=p,Ke.Portal=t,Ke.Profiler=o,Ke.StrictMode=i,Ke.Suspense=h,Ke.SuspenseList=g,Ke.isContextConsumer=function(b){return M(b)===u},Ke.isContextProvider=function(b){return M(b)===c},Ke.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},Ke.isForwardRef=function(b){return M(b)===f},Ke.isFragment=function(b){return M(b)===n},Ke.isLazy=function(b){return M(b)===m},Ke.isMemo=function(b){return M(b)===p},Ke.isPortal=function(b){return M(b)===t},Ke.isProfiler=function(b){return M(b)===o},Ke.isStrictMode=function(b){return M(b)===i},Ke.isSuspense=function(b){return M(b)===h},Ke.isSuspenseList=function(b){return M(b)===g},Ke.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===n||b===o||b===i||b===h||b===g||typeof b=="object"&&b!==null&&(b.$$typeof===m||b.$$typeof===p||b.$$typeof===c||b.$$typeof===u||b.$$typeof===f||b.$$typeof===S||b.getModuleId!==void 0)},Ke.typeOf=M,Ke}var zw;function Qq(){return zw||(zw=1,j0.exports=Gq()),j0.exports}var yQ=Qq(),H0={},Lw;function Xq(){return Lw||(Lw=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){var o;if(typeof n!="object"||n==null)return!1;if(Object.getPrototypeOf(n)===null)return!0;if(Object.prototype.toString.call(n)!=="[object Object]"){const u=n[Symbol.toStringTag];return u==null||!((o=Object.getOwnPropertyDescriptor(n,Symbol.toStringTag))!=null&&o.writable)?!1:n.toString()===`[object ${u}]`}let i=n;for(;Object.getPrototypeOf(i)!==null;)i=Object.getPrototypeOf(i);return Object.getPrototypeOf(n)===i}e.isPlainObject=t})(H0)),H0}var B0,Iw;function Kq(){return Iw||(Iw=1,B0=Xq().isPlainObject),B0}var Zq=Kq();const mQ=Zt(Zq);var P0={},$0={},qw;function Jq(){return qw||(qw=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return n[n.length-1]}e.last=t})($0)),$0}var Y0={},Uw;function Wq(){return Uw||(Uw=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});function t(n){return Array.isArray(n)?n:Array.from(n)}e.toArray=t})(Y0)),Y0}var jw;function eU(){return jw||(jw=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=Jq(),n=Wq(),i=ny();function o(u){if(i.isArrayLike(u))return t.last(n.toArray(u))}e.last=o})(P0)),P0}var V0,Hw;function tU(){return Hw||(Hw=1,V0=eU().last),V0}var nU=tU();const vQ=Zt(nU);var rU="Invariant failed";function bQ(e,t){throw new Error(rU)}function Mo(e,t,n){let i=n.initialDeps??[],o,u=!0;function c(){var f,h,g;let p;n.key&&((f=n.debug)!=null&&f.call(n))&&(p=Date.now());const m=e();if(!(m.length!==i.length||m.some((M,b)=>i[b]!==M)))return o;i=m;let S;if(n.key&&((h=n.debug)!=null&&h.call(n))&&(S=Date.now()),o=t(...m),n.key&&((g=n.debug)!=null&&g.call(n))){const M=Math.round((Date.now()-p)*100)/100,b=Math.round((Date.now()-S)*100)/100,w=b/16,E=(A,k)=>{for(A=String(A);A.length<k;)A=" "+A;return A};console.info(`%c⏱ ${E(b,5)} /${E(M,5)} ms`,`
|
|
1053
1063
|
font-size: .6rem;
|
|
1054
1064
|
font-weight: bold;
|
|
1055
|
-
color: hsl(${Math.max(0,Math.min(120-120*w,120))}deg 100% 31%);`,n==null?void 0:n.key)}return n!=null&&n.onChange&&!(u&&n.skipInitialOnChange)&&n.onChange(o),u=!1,o}return c.updateDeps=f=>{i=f},c}function Bw(e,t){if(e===void 0)throw new Error("Unexpected undefined");return e}const nU=(e,t)=>Math.abs(e-t)<1.01,rU=(e,t,n)=>{let i;return function(...o){e.clearTimeout(i),i=e.setTimeout(()=>t.apply(this,o),n)}},Pw=e=>{const{offsetWidth:t,offsetHeight:n}=e;return{width:t,height:n}},iU=e=>e,aU=e=>{const t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1),i=[];for(let o=t;o<=n;o++)i.push(o);return i},oU=(e,t)=>{const n=e.scrollElement;if(!n)return;const i=e.targetWindow;if(!i)return;const o=c=>{const{width:f,height:h}=c;t({width:Math.round(f),height:Math.round(h)})};if(o(Pw(n)),!i.ResizeObserver)return()=>{};const u=new i.ResizeObserver(c=>{const f=()=>{const h=c[0];if(h!=null&&h.borderBoxSize){const g=h.borderBoxSize[0];if(g){o({width:g.inlineSize,height:g.blockSize});return}}o(Pw(n))};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(f):f()});return u.observe(n,{box:"border-box"}),()=>{u.unobserve(n)}},$w={passive:!0},Yw=typeof window>"u"?!0:"onscrollend"in window,lU=(e,t)=>{const n=e.scrollElement;if(!n)return;const i=e.targetWindow;if(!i)return;let o=0;const u=e.options.useScrollendEvent&&Yw?()=>{}:rU(i,()=>{t(o,!1)},e.options.isScrollingResetDelay),c=p=>()=>{const{horizontal:m,isRtl:v}=e.options;o=m?n.scrollLeft*(v&&-1||1):n.scrollTop,u(),t(o,p)},f=c(!0),h=c(!1);n.addEventListener("scroll",f,$w);const g=e.options.useScrollendEvent&&Yw;return g&&n.addEventListener("scrollend",h,$w),()=>{n.removeEventListener("scroll",f),g&&n.removeEventListener("scrollend",h)}},uU=(e,t,n)=>{if(t!=null&&t.borderBoxSize){const i=t.borderBoxSize[0];if(i)return Math.round(i[n.options.horizontal?"inlineSize":"blockSize"])}return e[n.options.horizontal?"offsetWidth":"offsetHeight"]},sU=(e,{adjustments:t=0,behavior:n},i)=>{var o,u;const c=e+t;(u=(o=i.scrollElement)==null?void 0:o.scrollTo)==null||u.call(o,{[i.options.horizontal?"left":"top"]:c,behavior:n})};class cU{constructor(t){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollState=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.laneAssignments=new Map,this.pendingMeasuredCacheIndexes=[],this.prevLanes=void 0,this.lanesChangedFlag=!1,this.lanesSettling=!1,this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.now=()=>{var n,i,o;return((o=(i=(n=this.targetWindow)==null?void 0:n.performance)==null?void 0:i.now)==null?void 0:o.call(i))??Date.now()},this.observer=(()=>{let n=null;const i=()=>n||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:n=new this.targetWindow.ResizeObserver(o=>{o.forEach(u=>{const c=()=>{const f=u.target,h=this.indexFromElement(f);if(!f.isConnected){this.observer.unobserve(f);return}this.shouldMeasureDuringScroll(h)&&this.resizeItem(h,this.options.measureElement(f,u,this))};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(c):c()})}));return{disconnect:()=>{var o;(o=i())==null||o.disconnect(),n=null},observe:o=>{var u;return(u=i())==null?void 0:u.observe(o,{box:"border-box"})},unobserve:o=>{var u;return(u=i())==null?void 0:u.unobserve(o)}}})(),this.range=null,this.setOptions=n=>{Object.entries(n).forEach(([i,o])=>{typeof o>"u"&&delete n[i]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:iU,rangeExtractor:aU,onChange:()=>{},measureElement:uU,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,...n}},this.notify=n=>{var i,o;(o=(i=this.options).onChange)==null||o.call(i,this,n)},this.maybeNotify=Mo(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),n=>{this.notify(n)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(n=>n()),this.unsubs=[],this.observer.disconnect(),this.rafId!=null&&this.targetWindow&&(this.targetWindow.cancelAnimationFrame(this.rafId),this.rafId=null),this.scrollState=null,this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var n;const i=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==i){if(this.cleanup(),!i){this.maybeNotify();return}this.scrollElement=i,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=((n=this.scrollElement)==null?void 0:n.window)??null,this.elementsCache.forEach(o=>{this.observer.observe(o)}),this.unsubs.push(this.options.observeElementRect(this,o=>{this.scrollRect=o,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(o,u)=>{this.scrollAdjustments=0,this.scrollDirection=u?this.getScrollOffset()<o?"forward":"backward":null,this.scrollOffset=o,this.isScrolling=u,this.scrollState&&this.scheduleScrollReconcile(),this.maybeNotify()})),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0})}},this.rafId=null,this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??(typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(n,i)=>{const o=new Map,u=new Map;for(let c=i-1;c>=0;c--){const f=n[c];if(o.has(f.lane))continue;const h=u.get(f.lane);if(h==null||f.end>h.end?u.set(f.lane,f):f.end<h.end&&o.set(f.lane,!0),o.size===this.options.lanes)break}return u.size===this.options.lanes?Array.from(u.values()).sort((c,f)=>c.end===f.end?c.index-f.index:c.end-f.end)[0]:void 0},this.getMeasurementOptions=Mo(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled,this.options.lanes],(n,i,o,u,c,f)=>(this.prevLanes!==void 0&&this.prevLanes!==f&&(this.lanesChangedFlag=!0),this.prevLanes=f,this.pendingMeasuredCacheIndexes=[],{count:n,paddingStart:i,scrollMargin:o,getItemKey:u,enabled:c,lanes:f}),{key:!1}),this.getMeasurements=Mo(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:n,paddingStart:i,scrollMargin:o,getItemKey:u,enabled:c,lanes:f},h)=>{if(!c)return this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),[];if(this.laneAssignments.size>n)for(const v of this.laneAssignments.keys())v>=n&&this.laneAssignments.delete(v);this.lanesChangedFlag&&(this.lanesChangedFlag=!1,this.lanesSettling=!0,this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),this.pendingMeasuredCacheIndexes=[]),this.measurementsCache.length===0&&!this.lanesSettling&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(v=>{this.itemSizeCache.set(v.key,v.size)}));const g=this.lanesSettling?0:this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[],this.lanesSettling&&this.measurementsCache.length===n&&(this.lanesSettling=!1);const p=this.measurementsCache.slice(0,g),m=new Array(f).fill(void 0);for(let v=0;v<g;v++){const S=p[v];S&&(m[S.lane]=v)}for(let v=g;v<n;v++){const S=u(v),M=this.laneAssignments.get(v);let b,w;if(M!==void 0&&this.options.lanes>1){b=M;const T=m[b],C=T!==void 0?p[T]:void 0;w=C?C.end+this.options.gap:i+o}else{const T=this.options.lanes===1?p[v-1]:this.getFurthestMeasurement(p,v);w=T?T.end+this.options.gap:i+o,b=T?T.lane:v%this.options.lanes,this.options.lanes>1&&this.laneAssignments.set(v,b)}const E=h.get(S),A=typeof E=="number"?E:this.options.estimateSize(v),k=w+A;p[v]={index:v,start:w,size:A,end:k,key:S,lane:b},m[b]=v}return this.measurementsCache=p,p},{key:!1,debug:()=>this.options.debug}),this.calculateRange=Mo(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(n,i,o,u)=>this.range=n.length>0&&i>0?fU({measurements:n,outerSize:i,scrollOffset:o,lanes:u}):null,{key:!1,debug:()=>this.options.debug}),this.getVirtualIndexes=Mo(()=>{let n=null,i=null;const o=this.calculateRange();return o&&(n=o.startIndex,i=o.endIndex),this.maybeNotify.updateDeps([this.isScrolling,n,i]),[this.options.rangeExtractor,this.options.overscan,this.options.count,n,i]},(n,i,o,u,c)=>u===null||c===null?[]:n({startIndex:u,endIndex:c,overscan:i,count:o}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=n=>{const i=this.options.indexAttribute,o=n.getAttribute(i);return o?parseInt(o,10):(console.warn(`Missing attribute name '${i}={index}' on measured element.`),-1)},this.shouldMeasureDuringScroll=n=>{var i;if(!this.scrollState||this.scrollState.behavior!=="smooth")return!0;const o=this.scrollState.index??((i=this.getVirtualItemForOffset(this.scrollState.lastTargetOffset))==null?void 0:i.index);if(o!==void 0&&this.range){const u=Math.max(this.options.overscan,Math.ceil((this.range.endIndex-this.range.startIndex)/2)),c=Math.max(0,o-u),f=Math.min(this.options.count-1,o+u);return n>=c&&n<=f}return!0},this.measureElement=n=>{if(!n){this.elementsCache.forEach((c,f)=>{c.isConnected||(this.observer.unobserve(c),this.elementsCache.delete(f))});return}const i=this.indexFromElement(n),o=this.options.getItemKey(i),u=this.elementsCache.get(o);u!==n&&(u&&this.observer.unobserve(u),this.observer.observe(n),this.elementsCache.set(o,n)),(!this.isScrolling||this.scrollState)&&this.shouldMeasureDuringScroll(i)&&this.resizeItem(i,this.options.measureElement(n,void 0,this))},this.resizeItem=(n,i)=>{var o;const u=this.measurementsCache[n];if(!u)return;const c=this.itemSizeCache.get(u.key)??u.size,f=i-c;f!==0&&(((o=this.scrollState)==null?void 0:o.behavior)!=="smooth"&&(this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(u,f,this):u.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=f,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(u.index),this.itemSizeCache=new Map(this.itemSizeCache.set(u.key,i)),this.notify(!1))},this.getVirtualItems=Mo(()=>[this.getVirtualIndexes(),this.getMeasurements()],(n,i)=>{const o=[];for(let u=0,c=n.length;u<c;u++){const f=n[u],h=i[f];o.push(h)}return o},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=n=>{const i=this.getMeasurements();if(i.length!==0)return Bw(i[hx(0,i.length-1,o=>Bw(i[o]).start,n)])},this.getMaxScrollOffset=()=>{if(!this.scrollElement)return 0;if("scrollHeight"in this.scrollElement)return this.options.horizontal?this.scrollElement.scrollWidth-this.scrollElement.clientWidth:this.scrollElement.scrollHeight-this.scrollElement.clientHeight;{const n=this.scrollElement.document.documentElement;return this.options.horizontal?n.scrollWidth-this.scrollElement.innerWidth:n.scrollHeight-this.scrollElement.innerHeight}},this.getOffsetForAlignment=(n,i,o=0)=>{if(!this.scrollElement)return 0;const u=this.getSize(),c=this.getScrollOffset();i==="auto"&&(i=n>=c+u?"end":"start"),i==="center"?n+=(o-u)/2:i==="end"&&(n-=u);const f=this.getMaxScrollOffset();return Math.max(Math.min(f,n),0)},this.getOffsetForIndex=(n,i="auto")=>{n=Math.max(0,Math.min(n,this.options.count-1));const o=this.getSize(),u=this.getScrollOffset(),c=this.measurementsCache[n];if(!c)return;if(i==="auto")if(c.end>=u+o-this.options.scrollPaddingEnd)i="end";else if(c.start<=u+this.options.scrollPaddingStart)i="start";else return[u,i];if(i==="end"&&n===this.options.count-1)return[this.getMaxScrollOffset(),i];const f=i==="end"?c.end+this.options.scrollPaddingEnd:c.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(f,i,c.size),i]},this.scrollToOffset=(n,{align:i="start",behavior:o="auto"}={})=>{const u=this.getOffsetForAlignment(n,i),c=this.now();this.scrollState={index:null,align:i,behavior:o,startedAt:c,lastTargetOffset:u,stableFrames:0},this._scrollToOffset(u,{adjustments:void 0,behavior:o}),this.scheduleScrollReconcile()},this.scrollToIndex=(n,{align:i="auto",behavior:o="auto"}={})=>{n=Math.max(0,Math.min(n,this.options.count-1));const u=this.getOffsetForIndex(n,i);if(!u)return;const[c,f]=u,h=this.now();this.scrollState={index:n,align:f,behavior:o,startedAt:h,lastTargetOffset:c,stableFrames:0},this._scrollToOffset(c,{adjustments:void 0,behavior:o}),this.scheduleScrollReconcile()},this.scrollBy=(n,{behavior:i="auto"}={})=>{const o=this.getScrollOffset()+n,u=this.now();this.scrollState={index:null,align:"start",behavior:i,startedAt:u,lastTargetOffset:o,stableFrames:0},this._scrollToOffset(o,{adjustments:void 0,behavior:i}),this.scheduleScrollReconcile()},this.getTotalSize=()=>{var n;const i=this.getMeasurements();let o;if(i.length===0)o=this.options.paddingStart;else if(this.options.lanes===1)o=((n=i[i.length-1])==null?void 0:n.end)??0;else{const u=Array(this.options.lanes).fill(null);let c=i.length-1;for(;c>=0&&u.some(f=>f===null);){const f=i[c];u[f.lane]===null&&(u[f.lane]=f.end),c--}o=Math.max(...u.filter(f=>f!==null))}return Math.max(o-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(n,{adjustments:i,behavior:o})=>{this.options.scrollToFn(n,{behavior:o,adjustments:i},this)},this.measure=()=>{this.itemSizeCache=new Map,this.laneAssignments=new Map,this.notify(!1)},this.setOptions(t)}scheduleScrollReconcile(){if(!this.targetWindow){this.scrollState=null;return}this.rafId==null&&(this.rafId=this.targetWindow.requestAnimationFrame(()=>{this.rafId=null,this.reconcileScroll()}))}reconcileScroll(){if(!this.scrollState||!this.scrollElement)return;if(this.now()-this.scrollState.startedAt>5e3){this.scrollState=null;return}const i=this.scrollState.index!=null?this.getOffsetForIndex(this.scrollState.index,this.scrollState.align):void 0,o=i?i[0]:this.scrollState.lastTargetOffset,u=1,c=o!==this.scrollState.lastTargetOffset;if(!c&&nU(o,this.getScrollOffset())){if(this.scrollState.stableFrames++,this.scrollState.stableFrames>=u){this.scrollState=null;return}}else this.scrollState.stableFrames=0,c&&(this.scrollState.lastTargetOffset=o,this.scrollState.behavior="auto",this._scrollToOffset(o,{adjustments:void 0,behavior:"auto"}));this.scheduleScrollReconcile()}}const hx=(e,t,n,i)=>{for(;e<=t;){const o=(e+t)/2|0,u=n(o);if(u<i)e=o+1;else if(u>i)t=o-1;else return o}return e>0?e-1:0};function fU({measurements:e,outerSize:t,scrollOffset:n,lanes:i}){const o=e.length-1,u=h=>e[h].start;if(e.length<=i)return{startIndex:0,endIndex:o};let c=hx(0,o,u,n),f=c;if(i===1)for(;f<o&&e[f].end<n+t;)f++;else if(i>1){const h=Array(i).fill(0);for(;f<o&&h.some(p=>p<n+t);){const p=e[f];h[p.lane]=p.end,f++}const g=Array(i).fill(n+t);for(;c>=0&&g.some(p=>p>=n);){const p=e[c];g[p.lane]=p.start,c--}c=Math.max(0,c-c%i),f=Math.min(o,f+(i-1-f%i))}return{startIndex:c,endIndex:f}}const Vw=typeof document<"u"?U.useLayoutEffect:U.useEffect;function hU({useFlushSync:e=!0,...t}){const n=U.useReducer(()=>({}),{})[1],i={...t,onChange:(u,c)=>{var f;e&&c?tE.flushSync(n):n(),(f=t.onChange)==null||f.call(t,u,c)}},[o]=U.useState(()=>new cU(i));return o.setOptions(i),Vw(()=>o._didMount(),[]),Vw(()=>o._willUpdate()),o}function yQ(e){return hU({observeElementRect:oU,observeElementOffset:lU,scrollToFn:sU,...e})}var dU=ZE();const dx=U.createContext(null);function gn(){const e=U.useContext(dx);if(e===null)throw new Error("No Tree Api Provided");return e}const gx=U.createContext(null);function gU(){const e=U.useContext(gx);if(e===null)throw new Error("Provide a NodesContext");return e}const px=U.createContext(null);function pU(){const e=U.useContext(px);if(e===null)throw new Error("Provide a DnDContext");return e}const yx=U.createContext(0);function mx(){U.useContext(yx)}function zc(e,t,n){return Math.max(Math.min(e,n),t)}function vx(e){return e&&e.isLeaf}function bx(e){return e&&e.isInternal&&!e.isOpen}function Sx(e){var t;return e&&e.isOpen&&!(!((t=e.children)===null||t===void 0)&&t.length)}const _x=(e,t)=>{let n=e;for(;n;){if(n.id===t.id)return!0;n=n.parent}return!1},wx=e=>{if(!e.parent)throw Error("Node does not have a parent");return e.parent.children.findIndex(t=>t.id===e.id)};function Cy(e,t){if(!e)return null;if(e.id===t)return e;if(e.children)for(let n of e.children){const i=Cy(n,t);if(i)return i}return null}function bf(e,t){if(t(e),e.children)for(let n of e.children)bf(n,t)}function Mx(e){const t=Ex(e);let n;for(let i=0;i<t.length;++i)if(t[i]===e){n=yU(t,i);break}n==null||n.focus()}function Tx(e){const t=Ex(e);let n;for(let i=0;i<t.length;++i)if(t[i]===e){n=mU(t,i);break}n==null||n.focus()}function yU(e,t){return t+1<e.length?e[t+1]:e[0]}function mU(e,t){return t-1>=0?e[t-1]:e[e.length-1]}function Ex(e){return Array.from(document.querySelectorAll('button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"]):not([disabled]), details:not([disabled]), summary:not(:disabled)')).filter(t=>t===e||!e.contains(t))}function pu(e,t){return typeof t=="boolean"?t:typeof t=="string"?e[t]:t(e)}function xx(e){return e===null?null:ua(e)}function ua(e){return typeof e=="string"?e:e.id}function Ox(e,...t){if(e)return e(...t)}function Cx(e){return new Promise((t,n)=>{let i=0;function o(){i+=1,i===100&&n(),e()?t():setTimeout(o,10)}o()})}function kx(e){var t,n;const i=e.focusedNode;return i?i.isOpen?0:i.parent?i.childIndex+1:0:(n=(t=e.root.children)===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0}function Ax(e){const t=e.focusedNode;return t?t.isOpen?t.id:t.parent&&!t.parent.isRoot?t.parent.id:null:null}const vU=Object.freeze(Object.defineProperty({__proto__:null,access:pu,bound:zc,dfs:Cy,focusNextElement:Mx,focusPrevElement:Tx,getInsertIndex:kx,getInsertParentId:Ax,identify:ua,identifyNull:xx,indexOf:wx,isClosed:bx,isDescendant:_x,isItem:vx,isOpenWithEmptyChildren:Sx,safeRun:Ox,waitFor:Cx,walk:bf},Symbol.toStringTag,{value:"Module"})),bU={display:"flex",alignItems:"center",zIndex:1},SU={flex:1,height:"2px",background:"#4B91E2",borderRadius:"1px"},_U={width:"4px",height:"4px",boxShadow:"0 0 0 3px #4B91E2",borderRadius:"50%"},wU=x1.memo(function({top:t,left:n,indent:i}){const o={position:"absolute",pointerEvents:"none",top:t-2+"px",left:n+"px",right:i+"px"};return Te.jsxs("div",{style:Object.assign(Object.assign({},bU),o),children:[Te.jsx("div",{style:Object.assign({},_U)}),Te.jsx("div",{style:Object.assign({},SU)})]})});function MU({node:e,attrs:t,innerRef:n,children:i}){return Te.jsx("div",Object.assign({},t,{ref:n,onFocus:o=>o.stopPropagation(),onClick:e.handleClick,children:i}))}function TU(e){return Te.jsxs("div",{ref:e.dragHandle,style:e.style,children:[Te.jsx("span",{onClick:t=>{t.stopPropagation(),e.node.toggle()},children:e.node.isLeaf?"🌳":e.node.isOpen?"🗁":"🗀"})," ",e.node.isEditing?Te.jsx(xU,Object.assign({},e)):Te.jsx(EU,Object.assign({},e))]})}function EU(e){return Te.jsx(Te.Fragment,{children:Te.jsx("span",{children:e.node.data.name})})}function xU({node:e}){const t=U.useRef();return U.useEffect(()=>{var n,i;(n=t.current)===null||n===void 0||n.focus(),(i=t.current)===null||i===void 0||i.select()},[]),Te.jsx("input",{ref:t,defaultValue:e.data.name,onBlur:()=>e.reset(),onKeyDown:n=>{var i;n.key==="Escape"&&e.reset(),n.key==="Enter"&&e.submit(((i=t.current)===null||i===void 0?void 0:i.value)||"")}})}function F0(e){return{type:"EDIT",id:e}}function OU(e={id:null},t){return t.type==="EDIT"?Object.assign(Object.assign({},e),{id:t.id}):e}function To(e){return{type:"FOCUS",id:e}}function CU(){return{type:"TREE_BLUR"}}function kU(e={id:null,treeFocused:!1},t){return t.type==="FOCUS"?Object.assign(Object.assign({},e),{id:t.id,treeFocused:!0}):t.type==="TREE_BLUR"?Object.assign(Object.assign({},e),{treeFocused:!1}):e}class Sf{constructor(t){this.handleClick=n=>{n.metaKey&&!this.tree.props.disableMultiSelection?this.isSelected?this.deselect():this.selectMulti():n.shiftKey&&!this.tree.props.disableMultiSelection?this.selectContiguous():(this.select(),this.activate())},this.tree=t.tree,this.id=t.id,this.data=t.data,this.level=t.level,this.children=t.children,this.parent=t.parent,this.isDraggable=t.isDraggable,this.rowIndex=t.rowIndex}get isRoot(){return this.id===ku}get isLeaf(){return!Array.isArray(this.children)}get isInternal(){return!this.isLeaf}get isOpen(){return this.isLeaf?!1:this.tree.isOpen(this.id)}get isClosed(){return this.isLeaf?!1:!this.tree.isOpen(this.id)}get isEditable(){return this.tree.isEditable(this.data)}get isEditing(){return this.tree.editingId===this.id}get isSelected(){return this.tree.isSelected(this.id)}get isOnlySelection(){return this.isSelected&&this.tree.hasOneSelection}get isSelectedStart(){var t;return this.isSelected&&!(!((t=this.prev)===null||t===void 0)&&t.isSelected)}get isSelectedEnd(){var t;return this.isSelected&&!(!((t=this.next)===null||t===void 0)&&t.isSelected)}get isFocused(){return this.tree.isFocused(this.id)}get isDragging(){return this.tree.isDragging(this.id)}get willReceiveDrop(){return this.tree.willReceiveDrop(this.id)}get state(){return{isClosed:this.isClosed,isDragging:this.isDragging,isEditing:this.isEditing,isFocused:this.isFocused,isInternal:this.isInternal,isLeaf:this.isLeaf,isOpen:this.isOpen,isSelected:this.isSelected,isSelectedEnd:this.isSelectedEnd,isSelectedStart:this.isSelectedStart,willReceiveDrop:this.willReceiveDrop}}get childIndex(){return this.parent&&this.parent.children?this.parent.children.findIndex(t=>t.id===this.id):-1}get next(){return this.rowIndex===null?null:this.tree.at(this.rowIndex+1)}get prev(){return this.rowIndex===null?null:this.tree.at(this.rowIndex-1)}get nextSibling(){var t,n;const i=this.childIndex;return(n=(t=this.parent)===null||t===void 0?void 0:t.children[i+1])!==null&&n!==void 0?n:null}isAncestorOf(t){if(!t)return!1;let n=t;for(;n;){if(n.id===this.id)return!0;n=n.parent}return!1}select(){this.tree.select(this)}deselect(){this.tree.deselect(this)}selectMulti(){this.tree.selectMulti(this)}selectContiguous(){this.tree.selectContiguous(this)}activate(){this.tree.activate(this)}focus(){this.tree.focus(this)}toggle(){this.tree.toggle(this)}open(){this.tree.open(this)}openParents(){this.tree.openParents(this)}close(){this.tree.close(this)}submit(t){this.tree.submit(this,t)}reset(){this.tree.reset()}clone(){return new Sf(Object.assign({},this))}edit(){return this.tree.edit(this)}}const ku="__REACT_ARBORIST_INTERNAL_ROOT__";function Fw(e){var t;function n(u,c,f){const h=e.accessId(u),g=new Sf({tree:e,data:u,level:c,parent:f,id:h,children:null,isDraggable:e.isDraggable(u),rowIndex:null}),p=e.accessChildren(u);return p&&(g.children=p.map(m=>n(m,c+1,g))),g}const i=new Sf({tree:e,id:ku,data:{id:ku},level:-1,parent:null,children:null,isDraggable:!0,rowIndex:null}),o=(t=e.props.data)!==null&&t!==void 0?t:[];return i.children=o.map(u=>n(u,0,i)),i}const y1={open(e,t){return{type:"VISIBILITY_OPEN",id:e,filtered:t}},close(e,t){return{type:"VISIBILITY_CLOSE",id:e,filtered:t}},toggle(e,t){return{type:"VISIBILITY_TOGGLE",id:e,filtered:t}},clear(e){return{type:"VISIBILITY_CLEAR",filtered:e}}};function Gw(e={},t){if(t.type==="VISIBILITY_OPEN")return Object.assign(Object.assign({},e),{[t.id]:!0});if(t.type==="VISIBILITY_CLOSE")return Object.assign(Object.assign({},e),{[t.id]:!1});if(t.type==="VISIBILITY_TOGGLE"){const n=e[t.id];return Object.assign(Object.assign({},e),{[t.id]:!n})}else return t.type==="VISIBILITY_CLEAR"?{}:e}function AU(e={filtered:{},unfiltered:{}},t){return t.type.startsWith("VISIBILITY")?t.filtered?Object.assign(Object.assign({},e),{filtered:Gw(e.filtered,t)}):Object.assign(Object.assign({},e),{unfiltered:Gw(e.unfiltered,t)}):e}const Ko=e=>{var t;return{nodes:{open:{filtered:{},unfiltered:(t=e==null?void 0:e.initialOpenState)!==null&&t!==void 0?t:{}},focus:{id:null,treeFocused:!1},edit:{id:null},drag:{id:null,selectedIds:[],destinationParentId:null,destinationIndex:null},selection:{ids:new Set,anchor:null,mostRecent:null}},dnd:{cursor:{type:"none"},dragId:null,dragIds:[],parentId:null,index:-1}}},Bn={clear:()=>({type:"SELECTION_CLEAR"}),only:e=>({type:"SELECTION_ONLY",id:ua(e)}),add:e=>({type:"SELECTION_ADD",ids:(Array.isArray(e)?e:[e]).map(ua)}),remove:e=>({type:"SELECTION_REMOVE",ids:(Array.isArray(e)?e:[e]).map(ua)}),set:e=>Object.assign({type:"SELECTION_SET"},e),mostRecent:e=>({type:"SELECTION_MOST_RECENT",id:e===null?null:ua(e)}),anchor:e=>({type:"SELECTION_ANCHOR",id:e===null?null:ua(e)})};function DU(e=Ko().nodes.selection,t){const n=e.ids;switch(t.type){case"SELECTION_CLEAR":return Object.assign(Object.assign({},e),{ids:new Set});case"SELECTION_ONLY":return Object.assign(Object.assign({},e),{ids:new Set([t.id])});case"SELECTION_ADD":return t.ids.length===0?e:(t.ids.forEach(i=>n.add(i)),Object.assign(Object.assign({},e),{ids:new Set(n)}));case"SELECTION_REMOVE":return t.ids.length===0?e:(t.ids.forEach(i=>n.delete(i)),Object.assign(Object.assign({},e),{ids:new Set(n)}));case"SELECTION_SET":return Object.assign(Object.assign({},e),{ids:t.ids,mostRecent:t.mostRecent,anchor:t.anchor});case"SELECTION_MOST_RECENT":return Object.assign(Object.assign({},e),{mostRecent:t.id});case"SELECTION_ANCHOR":return Object.assign(Object.assign({},e),{anchor:t.id});default:return e}}const Zo={cursor(e){return{type:"DND_CURSOR",cursor:e}},dragStart(e,t){return{type:"DND_DRAG_START",id:e,dragIds:t}},dragEnd(){return{type:"DND_DRAG_END"}},hovering(e,t){return{type:"DND_HOVERING",parentId:e,index:t}}};function NU(e=Ko().dnd,t){switch(t.type){case"DND_CURSOR":return Object.assign(Object.assign({},e),{cursor:t.cursor});case"DND_DRAG_START":return Object.assign(Object.assign({},e),{dragId:t.id,dragIds:t.dragIds});case"DND_DRAG_END":return Ko().dnd;case"DND_HOVERING":return Object.assign(Object.assign({},e),{parentId:t.parentId,index:t.index});default:return e}}const RU={position:"fixed",pointerEvents:"none",zIndex:100,left:0,top:0,width:"100%",height:"100%"},zU=e=>{if(!e)return{display:"none"};const{x:t,y:n}=e;return{transform:`translate(${t}px, ${n}px)`}},LU=e=>{if(!e)return{display:"none"};const{x:t,y:n}=e;return{transform:`translate(${t+10}px, ${n+10}px)`}};function Dx({offset:e,mouse:t,id:n,dragIds:i,isDragging:o}){return Te.jsxs(IU,{isDragging:o,children:[Te.jsx(qU,{offset:e,children:Te.jsx(jU,{id:n,dragIds:i})}),Te.jsx(UU,{mouse:t,count:i.length})]})}const IU=U.memo(function(t){return t.isDragging?Te.jsx("div",{style:RU,children:t.children}):null});function qU(e){return Te.jsx("div",{className:"row preview",style:zU(e.offset),children:e.children})}function UU(e){const{count:t,mouse:n}=e;return t>1?Te.jsx("div",{className:"selected-count",style:LU(n),children:t}):null}const jU=U.memo(function(t){const n=gn(),i=n.get(t.id);return i?Te.jsx(n.renderNode,{preview:!0,node:i,style:{paddingLeft:i.level*n.indent,opacity:.2,background:"transparent"},tree:n}):null});function m1(){return m1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},m1.apply(null,arguments)}function Qw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v1(e,t){return v1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},v1(e,t)}function HU(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,v1(e,t)}var Xw=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function BU(e,t){return!!(e===t||Xw(e)&&Xw(t))}function PU(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!BU(e[n],t[n]))return!1;return!0}function G0(e,t){t===void 0&&(t=PU);var n,i=[],o,u=!1;function c(){for(var f=[],h=0;h<arguments.length;h++)f[h]=arguments[h];return u&&n===this&&t(f,i)||(o=e.apply(this,f),u=!0,n=this,i=f),o}return c}var $U=typeof performance=="object"&&typeof performance.now=="function",Kw=$U?function(){return performance.now()}:function(){return Date.now()};function Zw(e){cancelAnimationFrame(e.id)}function YU(e,t){var n=Kw();function i(){Kw()-n>=t?e.call(null):o.id=requestAnimationFrame(i)}var o={id:requestAnimationFrame(i)};return o}var Q0=-1;function Jw(e){if(e===void 0&&(e=!1),Q0===-1||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),Q0=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Q0}var Eo=null;function Ww(e){if(e===void 0&&(e=!1),Eo===null||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var i=document.createElement("div"),o=i.style;return o.width="100px",o.height="100px",t.appendChild(i),document.body.appendChild(t),t.scrollLeft>0?Eo="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?Eo="negative":Eo="positive-ascending"),document.body.removeChild(t),Eo}return Eo}var VU=150,FU=function(t,n){return t};function GU(e){var t,n=e.getItemOffset,i=e.getEstimatedTotalSize,o=e.getItemSize,u=e.getOffsetForIndexAndAlignment,c=e.getStartIndexForOffset,f=e.getStopIndexForStartIndex,h=e.initInstanceProps,g=e.shouldResetStyleCacheOnItemSizeChange,p=e.validateProps;return t=(function(m){HU(v,m);function v(M){var b;return b=m.call(this,M)||this,b._instanceProps=h(b.props,Qw(b)),b._outerRef=void 0,b._resetIsScrollingTimeoutId=null,b.state={instance:Qw(b),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof b.props.initialScrollOffset=="number"?b.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},b._callOnItemsRendered=void 0,b._callOnItemsRendered=G0(function(w,E,A,k){return b.props.onItemsRendered({overscanStartIndex:w,overscanStopIndex:E,visibleStartIndex:A,visibleStopIndex:k})}),b._callOnScroll=void 0,b._callOnScroll=G0(function(w,E,A){return b.props.onScroll({scrollDirection:w,scrollOffset:E,scrollUpdateWasRequested:A})}),b._getItemStyle=void 0,b._getItemStyle=function(w){var E=b.props,A=E.direction,k=E.itemSize,T=E.layout,C=b._getItemStyleCache(g&&k,g&&T,g&&A),O;if(C.hasOwnProperty(w))O=C[w];else{var D=n(b.props,w,b._instanceProps),N=o(b.props,w,b._instanceProps),P=A==="horizontal"||T==="horizontal",Z=A==="rtl",W=P?D:0;C[w]=O={position:"absolute",left:Z?void 0:W,right:Z?W:void 0,top:P?0:D,height:P?"100%":N,width:P?N:"100%"}}return O},b._getItemStyleCache=void 0,b._getItemStyleCache=G0(function(w,E,A){return{}}),b._onScrollHorizontal=function(w){var E=w.currentTarget,A=E.clientWidth,k=E.scrollLeft,T=E.scrollWidth;b.setState(function(C){if(C.scrollOffset===k)return null;var O=b.props.direction,D=k;if(O==="rtl")switch(Ww()){case"negative":D=-k;break;case"positive-descending":D=T-A-k;break}return D=Math.max(0,Math.min(D,T-A)),{isScrolling:!0,scrollDirection:C.scrollOffset<D?"forward":"backward",scrollOffset:D,scrollUpdateWasRequested:!1}},b._resetIsScrollingDebounced)},b._onScrollVertical=function(w){var E=w.currentTarget,A=E.clientHeight,k=E.scrollHeight,T=E.scrollTop;b.setState(function(C){if(C.scrollOffset===T)return null;var O=Math.max(0,Math.min(T,k-A));return{isScrolling:!0,scrollDirection:C.scrollOffset<O?"forward":"backward",scrollOffset:O,scrollUpdateWasRequested:!1}},b._resetIsScrollingDebounced)},b._outerRefSetter=function(w){var E=b.props.outerRef;b._outerRef=w,typeof E=="function"?E(w):E!=null&&typeof E=="object"&&E.hasOwnProperty("current")&&(E.current=w)},b._resetIsScrollingDebounced=function(){b._resetIsScrollingTimeoutId!==null&&Zw(b._resetIsScrollingTimeoutId),b._resetIsScrollingTimeoutId=YU(b._resetIsScrolling,VU)},b._resetIsScrolling=function(){b._resetIsScrollingTimeoutId=null,b.setState({isScrolling:!1},function(){b._getItemStyleCache(-1,null)})},b}v.getDerivedStateFromProps=function(b,w){return QU(b,w),p(b),null};var S=v.prototype;return S.scrollTo=function(b){b=Math.max(0,b),this.setState(function(w){return w.scrollOffset===b?null:{scrollDirection:w.scrollOffset<b?"forward":"backward",scrollOffset:b,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},S.scrollToItem=function(b,w){w===void 0&&(w="auto");var E=this.props,A=E.itemCount,k=E.layout,T=this.state.scrollOffset;b=Math.max(0,Math.min(b,A-1));var C=0;if(this._outerRef){var O=this._outerRef;k==="vertical"?C=O.scrollWidth>O.clientWidth?Jw():0:C=O.scrollHeight>O.clientHeight?Jw():0}this.scrollTo(u(this.props,b,w,T,this._instanceProps,C))},S.componentDidMount=function(){var b=this.props,w=b.direction,E=b.initialScrollOffset,A=b.layout;if(typeof E=="number"&&this._outerRef!=null){var k=this._outerRef;w==="horizontal"||A==="horizontal"?k.scrollLeft=E:k.scrollTop=E}this._callPropsCallbacks()},S.componentDidUpdate=function(){var b=this.props,w=b.direction,E=b.layout,A=this.state,k=A.scrollOffset,T=A.scrollUpdateWasRequested;if(T&&this._outerRef!=null){var C=this._outerRef;if(w==="horizontal"||E==="horizontal")if(w==="rtl")switch(Ww()){case"negative":C.scrollLeft=-k;break;case"positive-ascending":C.scrollLeft=k;break;default:var O=C.clientWidth,D=C.scrollWidth;C.scrollLeft=D-O-k;break}else C.scrollLeft=k;else C.scrollTop=k}this._callPropsCallbacks()},S.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&Zw(this._resetIsScrollingTimeoutId)},S.render=function(){var b=this.props,w=b.children,E=b.className,A=b.direction,k=b.height,T=b.innerRef,C=b.innerElementType,O=b.innerTagName,D=b.itemCount,N=b.itemData,P=b.itemKey,Z=P===void 0?FU:P,W=b.layout,G=b.outerElementType,ue=b.outerTagName,q=b.style,re=b.useIsScrolling,R=b.width,F=this.state.isScrolling,ie=A==="horizontal"||W==="horizontal",se=ie?this._onScrollHorizontal:this._onScrollVertical,K=this._getRangeToRender(),z=K[0],Q=K[1],oe=[];if(D>0)for(var le=z;le<=Q;le++)oe.push(U.createElement(w,{data:N,key:Z(le,N),index:le,isScrolling:re?F:void 0,style:this._getItemStyle(le)}));var ce=i(this.props,this._instanceProps);return U.createElement(G||ue||"div",{className:E,onScroll:se,ref:this._outerRefSetter,style:m1({position:"relative",height:k,width:R,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:A},q)},U.createElement(C||O||"div",{children:oe,ref:T,style:{height:ie?"100%":ce,pointerEvents:F?"none":void 0,width:ie?ce:"100%"}}))},S._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var b=this.props.itemCount;if(b>0){var w=this._getRangeToRender(),E=w[0],A=w[1],k=w[2],T=w[3];this._callOnItemsRendered(E,A,k,T)}}if(typeof this.props.onScroll=="function"){var C=this.state,O=C.scrollDirection,D=C.scrollOffset,N=C.scrollUpdateWasRequested;this._callOnScroll(O,D,N)}},S._getRangeToRender=function(){var b=this.props,w=b.itemCount,E=b.overscanCount,A=this.state,k=A.isScrolling,T=A.scrollDirection,C=A.scrollOffset;if(w===0)return[0,0,0,0];var O=c(this.props,C,this._instanceProps),D=f(this.props,O,C,this._instanceProps),N=!k||T==="backward"?Math.max(1,E):1,P=!k||T==="forward"?Math.max(1,E):1;return[Math.max(0,O-N),Math.max(0,Math.min(w-1,D+P)),O,D]},v})(U.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var QU=function(t,n){t.children,t.direction,t.height,t.layout,t.innerTagName,t.outerTagName,t.width,n.instance},XU=GU({getItemOffset:function(t,n){var i=t.itemSize;return n*i},getItemSize:function(t,n){var i=t.itemSize;return i},getEstimatedTotalSize:function(t){var n=t.itemCount,i=t.itemSize;return i*n},getOffsetForIndexAndAlignment:function(t,n,i,o,u,c){var f=t.direction,h=t.height,g=t.itemCount,p=t.itemSize,m=t.layout,v=t.width,S=f==="horizontal"||m==="horizontal",M=S?v:h,b=Math.max(0,g*p-M),w=Math.min(b,n*p),E=Math.max(0,n*p-M+p+c);switch(i==="smart"&&(o>=E-M&&o<=w+M?i="auto":i="center"),i){case"start":return w;case"end":return E;case"center":{var A=Math.round(E+(w-E)/2);return A<Math.ceil(M/2)?0:A>b+Math.floor(M/2)?b:A}case"auto":default:return o>=E&&o<=w?o:o<E?E:w}},getStartIndexForOffset:function(t,n){var i=t.itemCount,o=t.itemSize;return Math.max(0,Math.min(i-1,Math.floor(n/o)))},getStopIndexForStartIndex:function(t,n,i){var o=t.direction,u=t.height,c=t.itemCount,f=t.itemSize,h=t.layout,g=t.width,p=o==="horizontal"||h==="horizontal",m=n*f,v=p?g:u,S=Math.ceil((v+i-m)/f);return Math.max(0,Math.min(c-1,n+S-1))},initInstanceProps:function(t){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(t){t.itemSize}});function KU(){var e,t;const n=gn(),o=pU().cursor;if(!o||o.type!=="line")return null;const u=n.indent,c=n.rowHeight*o.index+((t=(e=n.props.padding)!==null&&e!==void 0?e:n.props.paddingTop)!==null&&t!==void 0?t:0),f=u*o.level,h=n.renderCursor;return Te.jsx(h,{top:c,left:f,indent:u})}var ZU=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n};const JU=U.forwardRef(function(t,n){const{children:i}=t,o=ZU(t,["children"]),u=gn();return Te.jsxs("div",Object.assign({ref:n},o,{onClick:c=>{c.currentTarget===c.target&&u.deselectAll()},children:[Te.jsx(WU,{}),i]}))}),WU=()=>{const e=gn();return Te.jsx("div",{style:{height:e.visibleNodes.length*e.rowHeight,width:"100%",position:"absolute",left:"0",right:"0"},children:Te.jsx(KU,{})})};var ej=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n};const tj=U.forwardRef(function(t,n){var i,o,u,c,{style:f}=t,h=ej(t,["style"]);const g=gn(),p=(o=(i=g.props.padding)!==null&&i!==void 0?i:g.props.paddingTop)!==null&&o!==void 0?o:0,m=(c=(u=g.props.padding)!==null&&u!==void 0?u:g.props.paddingBottom)!==null&&c!==void 0?c:0;return Te.jsx("div",Object.assign({ref:n,style:Object.assign(Object.assign({},f),{height:`${parseFloat(f.height)+p+m}px`})},h))});var Nx=U.createContext({dragDropManager:void 0}),Nn;(function(e){e.SOURCE="SOURCE",e.TARGET="TARGET"})(Nn||(Nn={}));function Ee(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];if(!e){var u;if(t===void 0)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=0;u=new Error(t.replace(/%s/g,function(){return i[c++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}}var ky="dnd-core/INIT_COORDS",Hf="dnd-core/BEGIN_DRAG",Ay="dnd-core/PUBLISH_DRAG_SOURCE",Bf="dnd-core/HOVER",Pf="dnd-core/DROP",$f="dnd-core/END_DRAG";function eM(e,t){return{type:ky,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}function Lc(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Lc=function(n){return typeof n}:Lc=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Lc(e)}function nj(e,t,n){return t.split(".").reduce(function(i,o){return i&&i[o]?i[o]:n||null},e)}function rj(e,t){return e.filter(function(n){return n!==t})}function Rx(e){return Lc(e)==="object"}function ij(e,t){var n=new Map,i=function(c){n.set(c,n.has(c)?n.get(c)+1:1)};e.forEach(i),t.forEach(i);var o=[];return n.forEach(function(u,c){u===1&&o.push(c)}),o}function aj(e,t){return e.filter(function(n){return t.indexOf(n)>-1})}var oj={type:ky,payload:{clientOffset:null,sourceClientOffset:null}};function lj(e){return function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{publishSource:!0},o=i.publishSource,u=o===void 0?!0:o,c=i.clientOffset,f=i.getSourceClientOffset,h=e.getMonitor(),g=e.getRegistry();e.dispatch(eM(c)),uj(n,h,g);var p=fj(n,h);if(p===null){e.dispatch(oj);return}var m=null;if(c){if(!f)throw new Error("getSourceClientOffset must be defined");sj(f),m=f(p)}e.dispatch(eM(c,m));var v=g.getSource(p),S=v.beginDrag(h,p);if(S!=null){cj(S),g.pinSource(p);var M=g.getSourceType(p);return{type:Hf,payload:{itemType:M,item:S,sourceId:p,clientOffset:c||null,sourceClientOffset:m||null,isSourcePublic:!!u}}}}}function uj(e,t,n){Ee(!t.isDragging(),"Cannot call beginDrag while dragging."),e.forEach(function(i){Ee(n.getSource(i),"Expected sourceIds to be registered.")})}function sj(e){Ee(typeof e=="function","When clientOffset is provided, getSourceClientOffset must be a function.")}function cj(e){Ee(Rx(e),"Item must be an object.")}function fj(e,t){for(var n=null,i=e.length-1;i>=0;i--)if(t.canDragSource(e[i])){n=e[i];break}return n}function hj(e){return function(){var n=e.getMonitor();if(n.isDragging())return{type:Ay}}}function b1(e,t){return t===null?e===null:Array.isArray(e)?e.some(function(n){return n===t}):e===t}function dj(e){return function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=i.clientOffset;gj(n);var u=n.slice(0),c=e.getMonitor(),f=e.getRegistry();pj(u,c,f);var h=c.getItemType();return yj(u,f,h),mj(u,c,f),{type:Bf,payload:{targetIds:u,clientOffset:o||null}}}}function gj(e){Ee(Array.isArray(e),"Expected targetIds to be an array.")}function pj(e,t,n){Ee(t.isDragging(),"Cannot call hover while not dragging."),Ee(!t.didDrop(),"Cannot call hover after drop.");for(var i=0;i<e.length;i++){var o=e[i];Ee(e.lastIndexOf(o)===i,"Expected targetIds to be unique in the passed array.");var u=n.getTarget(o);Ee(u,"Expected targetIds to be registered.")}}function yj(e,t,n){for(var i=e.length-1;i>=0;i--){var o=e[i],u=t.getTargetType(o);b1(u,n)||e.splice(i,1)}}function mj(e,t,n){e.forEach(function(i){var o=n.getTarget(i);o.hover(t,i)})}function tM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function nM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?tM(Object(n),!0).forEach(function(i){vj(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tM(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function vj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bj(e){return function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=e.getMonitor(),o=e.getRegistry();Sj(i);var u=Mj(i);u.forEach(function(c,f){var h=_j(c,f,o,i),g={type:Pf,payload:{dropResult:nM(nM({},n),h)}};e.dispatch(g)})}}function Sj(e){Ee(e.isDragging(),"Cannot call drop while not dragging."),Ee(!e.didDrop(),"Cannot call drop twice during one drag operation.")}function _j(e,t,n,i){var o=n.getTarget(e),u=o?o.drop(i,e):void 0;return wj(u),typeof u>"u"&&(u=t===0?{}:i.getDropResult()),u}function wj(e){Ee(typeof e>"u"||Rx(e),"Drop result must either be an object or undefined.")}function Mj(e){var t=e.getTargetIds().filter(e.canDropOnTarget,e);return t.reverse(),t}function Tj(e){return function(){var n=e.getMonitor(),i=e.getRegistry();Ej(n);var o=n.getSourceId();if(o!=null){var u=i.getSource(o,!0);u.endDrag(n,o),i.unpinSource()}return{type:$f}}}function Ej(e){Ee(e.isDragging(),"Cannot call endDrag while not dragging.")}function xj(e){return{beginDrag:lj(e),publishDragSource:hj(e),hover:dj(e),drop:bj(e),endDrag:Tj(e)}}function Oj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cj(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function kj(e,t,n){return t&&Cj(e.prototype,t),e}function su(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Aj=(function(){function e(t,n){var i=this;Oj(this,e),su(this,"store",void 0),su(this,"monitor",void 0),su(this,"backend",void 0),su(this,"isSetUp",!1),su(this,"handleRefCountChange",function(){var o=i.store.getState().refCount>0;i.backend&&(o&&!i.isSetUp?(i.backend.setup(),i.isSetUp=!0):!o&&i.isSetUp&&(i.backend.teardown(),i.isSetUp=!1))}),this.store=t,this.monitor=n,t.subscribe(this.handleRefCountChange)}return kj(e,[{key:"receiveBackend",value:function(n){this.backend=n}},{key:"getMonitor",value:function(){return this.monitor}},{key:"getBackend",value:function(){return this.backend}},{key:"getRegistry",value:function(){return this.monitor.registry}},{key:"getActions",value:function(){var n=this,i=this.store.dispatch;function o(c){return function(){for(var f=arguments.length,h=new Array(f),g=0;g<f;g++)h[g]=arguments[g];var p=c.apply(n,h);typeof p<"u"&&i(p)}}var u=xj(this);return Object.keys(u).reduce(function(c,f){var h=u[f];return c[f]=o(h),c},{})}},{key:"dispatch",value:function(n){this.store.dispatch(n)}}]),e})();function On(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var rM=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})(),iM=function(){return Math.random().toString(36).substring(7).split("").join(".")},aM={INIT:"@@redux/INIT"+iM(),REPLACE:"@@redux/REPLACE"+iM()};function Dj(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function zx(e,t,n){var i;if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(On(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(On(1));return n(zx)(e,t)}if(typeof e!="function")throw new Error(On(2));var o=e,u=t,c=[],f=c,h=!1;function g(){f===c&&(f=c.slice())}function p(){if(h)throw new Error(On(3));return u}function m(b){if(typeof b!="function")throw new Error(On(4));if(h)throw new Error(On(5));var w=!0;return g(),f.push(b),function(){if(w){if(h)throw new Error(On(6));w=!1,g();var A=f.indexOf(b);f.splice(A,1),c=null}}}function v(b){if(!Dj(b))throw new Error(On(7));if(typeof b.type>"u")throw new Error(On(8));if(h)throw new Error(On(9));try{h=!0,u=o(u,b)}finally{h=!1}for(var w=c=f,E=0;E<w.length;E++){var A=w[E];A()}return b}function S(b){if(typeof b!="function")throw new Error(On(10));o=b,v({type:aM.REPLACE})}function M(){var b,w=m;return b={subscribe:function(A){if(typeof A!="object"||A===null)throw new Error(On(11));function k(){A.next&&A.next(p())}k();var T=w(k);return{unsubscribe:T}}},b[rM]=function(){return this},b}return v({type:aM.INIT}),i={dispatch:v,subscribe:m,getState:p,replaceReducer:S},i[rM]=M,i}var Nj=function(t,n){return t===n};function Rj(e,t){return!e&&!t?!0:!e||!t?!1:e.x===t.x&&e.y===t.y}function zj(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Nj;if(e.length!==t.length)return!1;for(var i=0;i<e.length;++i)if(!n(e[i],t[i]))return!1;return!0}function oM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function lM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?oM(Object(n),!0).forEach(function(i){Lj(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oM(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function Lj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var uM={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function Ij(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:uM,t=arguments.length>1?arguments[1]:void 0,n=t.payload;switch(t.type){case ky:case Hf:return{initialSourceClientOffset:n.sourceClientOffset,initialClientOffset:n.clientOffset,clientOffset:n.clientOffset};case Bf:return Rj(e.clientOffset,n.clientOffset)?e:lM(lM({},e),{},{clientOffset:n.clientOffset});case $f:case Pf:return uM;default:return e}}var Dy="dnd-core/ADD_SOURCE",Ny="dnd-core/ADD_TARGET",Ry="dnd-core/REMOVE_SOURCE",Yf="dnd-core/REMOVE_TARGET";function qj(e){return{type:Dy,payload:{sourceId:e}}}function Uj(e){return{type:Ny,payload:{targetId:e}}}function jj(e){return{type:Ry,payload:{sourceId:e}}}function Hj(e){return{type:Yf,payload:{targetId:e}}}function sM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function Cn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?sM(Object(n),!0).forEach(function(i){Bj(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sM(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function Bj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Pj={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function $j(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Pj,t=arguments.length>1?arguments[1]:void 0,n=t.payload;switch(t.type){case Hf:return Cn(Cn({},e),{},{itemType:n.itemType,item:n.item,sourceId:n.sourceId,isSourcePublic:n.isSourcePublic,dropResult:null,didDrop:!1});case Ay:return Cn(Cn({},e),{},{isSourcePublic:!0});case Bf:return Cn(Cn({},e),{},{targetIds:n.targetIds});case Yf:return e.targetIds.indexOf(n.targetId)===-1?e:Cn(Cn({},e),{},{targetIds:rj(e.targetIds,n.targetId)});case Pf:return Cn(Cn({},e),{},{dropResult:n.dropResult,didDrop:!0,targetIds:[]});case $f:return Cn(Cn({},e),{},{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}}function Yj(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Dy:case Ny:return e+1;case Ry:case Yf:return e-1;default:return e}}var _f=[],zy=[];_f.__IS_NONE__=!0;zy.__IS_ALL__=!0;function Vj(e,t){if(e===_f)return!1;if(e===zy||typeof t>"u")return!0;var n=aj(t,e);return n.length>0}function Fj(){var e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Bf:break;case Dy:case Ny:case Yf:case Ry:return _f;case Hf:case Ay:case $f:case Pf:default:return zy}var t=e.payload,n=t.targetIds,i=n===void 0?[]:n,o=t.prevTargetIds,u=o===void 0?[]:o,c=ij(i,u),f=c.length>0||!zj(i,u);if(!f)return _f;var h=u[u.length-1],g=i[i.length-1];return h!==g&&(h&&c.push(h),g&&c.push(g)),c}function Gj(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return e+1}function cM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function fM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?cM(Object(n),!0).forEach(function(i){Qj(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cM(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function Qj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xj(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return{dirtyHandlerIds:Fj(e.dirtyHandlerIds,{type:t.type,payload:fM(fM({},t.payload),{},{prevTargetIds:nj(e,"dragOperation.targetIds",[])})}),dragOffset:Ij(e.dragOffset,t),refCount:Yj(e.refCount,t),dragOperation:$j(e.dragOperation,t),stateId:Gj(e.stateId)}}function Kj(e,t){return{x:e.x+t.x,y:e.y+t.y}}function Lx(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Zj(e){var t=e.clientOffset,n=e.initialClientOffset,i=e.initialSourceClientOffset;return!t||!n||!i?null:Lx(Kj(t,i),n)}function Jj(e){var t=e.clientOffset,n=e.initialClientOffset;return!t||!n?null:Lx(t,n)}function Wj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eH(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function tH(e,t,n){return t&&eH(e.prototype,t),e}function hM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var nH=(function(){function e(t,n){Wj(this,e),hM(this,"store",void 0),hM(this,"registry",void 0),this.store=t,this.registry=n}return tH(e,[{key:"subscribeToStateChange",value:function(n){var i=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{handlerIds:void 0},u=o.handlerIds;Ee(typeof n=="function","listener must be a function."),Ee(typeof u>"u"||Array.isArray(u),"handlerIds, when specified, must be an array of strings.");var c=this.store.getState().stateId,f=function(){var g=i.store.getState(),p=g.stateId;try{var m=p===c||p===c+1&&!Vj(g.dirtyHandlerIds,u);m||n()}finally{c=p}};return this.store.subscribe(f)}},{key:"subscribeToOffsetChange",value:function(n){var i=this;Ee(typeof n=="function","listener must be a function.");var o=this.store.getState().dragOffset,u=function(){var f=i.store.getState().dragOffset;f!==o&&(o=f,n())};return this.store.subscribe(u)}},{key:"canDragSource",value:function(n){if(!n)return!1;var i=this.registry.getSource(n);return Ee(i,"Expected to find a valid source. sourceId=".concat(n)),this.isDragging()?!1:i.canDrag(this,n)}},{key:"canDropOnTarget",value:function(n){if(!n)return!1;var i=this.registry.getTarget(n);if(Ee(i,"Expected to find a valid target. targetId=".concat(n)),!this.isDragging()||this.didDrop())return!1;var o=this.registry.getTargetType(n),u=this.getItemType();return b1(o,u)&&i.canDrop(this,n)}},{key:"isDragging",value:function(){return!!this.getItemType()}},{key:"isDraggingSource",value:function(n){if(!n)return!1;var i=this.registry.getSource(n,!0);if(Ee(i,"Expected to find a valid source. sourceId=".concat(n)),!this.isDragging()||!this.isSourcePublic())return!1;var o=this.registry.getSourceType(n),u=this.getItemType();return o!==u?!1:i.isDragging(this,n)}},{key:"isOverTarget",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{shallow:!1};if(!n)return!1;var o=i.shallow;if(!this.isDragging())return!1;var u=this.registry.getTargetType(n),c=this.getItemType();if(c&&!b1(u,c))return!1;var f=this.getTargetIds();if(!f.length)return!1;var h=f.indexOf(n);return o?h===f.length-1:h>-1}},{key:"getItemType",value:function(){return this.store.getState().dragOperation.itemType}},{key:"getItem",value:function(){return this.store.getState().dragOperation.item}},{key:"getSourceId",value:function(){return this.store.getState().dragOperation.sourceId}},{key:"getTargetIds",value:function(){return this.store.getState().dragOperation.targetIds}},{key:"getDropResult",value:function(){return this.store.getState().dragOperation.dropResult}},{key:"didDrop",value:function(){return this.store.getState().dragOperation.didDrop}},{key:"isSourcePublic",value:function(){return!!this.store.getState().dragOperation.isSourcePublic}},{key:"getInitialClientOffset",value:function(){return this.store.getState().dragOffset.initialClientOffset}},{key:"getInitialSourceClientOffset",value:function(){return this.store.getState().dragOffset.initialSourceClientOffset}},{key:"getClientOffset",value:function(){return this.store.getState().dragOffset.clientOffset}},{key:"getSourceClientOffset",value:function(){return Zj(this.store.getState().dragOffset)}},{key:"getDifferenceFromInitialOffset",value:function(){return Jj(this.store.getState().dragOffset)}}]),e})(),rH=0;function iH(){return rH++}function Ic(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ic=function(n){return typeof n}:Ic=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Ic(e)}function aH(e){Ee(typeof e.canDrag=="function","Expected canDrag to be a function."),Ee(typeof e.beginDrag=="function","Expected beginDrag to be a function."),Ee(typeof e.endDrag=="function","Expected endDrag to be a function.")}function oH(e){Ee(typeof e.canDrop=="function","Expected canDrop to be a function."),Ee(typeof e.hover=="function","Expected hover to be a function."),Ee(typeof e.drop=="function","Expected beginDrag to be a function.")}function S1(e,t){if(t&&Array.isArray(e)){e.forEach(function(n){return S1(n,!1)});return}Ee(typeof e=="string"||Ic(e)==="symbol",t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}const dM=typeof global<"u"?global:self,Ix=dM.MutationObserver||dM.WebKitMutationObserver;function qx(e){return function(){const n=setTimeout(o,0),i=setInterval(o,50);function o(){clearTimeout(n),clearInterval(i),e()}}}function lH(e){let t=1;const n=new Ix(e),i=document.createTextNode("");return n.observe(i,{characterData:!0}),function(){t=-t,i.data=t}}const uH=typeof Ix=="function"?lH:qx;class sH{enqueueTask(t){const{queue:n,requestFlush:i}=this;n.length||(i(),this.flushing=!0),n[n.length]=t}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{const{queue:t}=this;for(;this.index<t.length;){const n=this.index;if(this.index++,t[n].call(),this.index>this.capacity){for(let i=0,o=t.length-this.index;i<o;i++)t[i]=t[i+this.index];t.length-=this.index,this.index=0}}t.length=0,this.index=0,this.flushing=!1},this.registerPendingError=t=>{this.pendingErrors.push(t),this.requestErrorThrow()},this.requestFlush=uH(this.flush),this.requestErrorThrow=qx(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}}class cH{call(){try{this.task&&this.task()}catch(t){this.onError(t)}finally{this.task=null,this.release(this)}}constructor(t,n){this.onError=t,this.release=n,this.task=null}}class fH{create(t){const n=this.freeTasks,i=n.length?n.pop():new cH(this.onError,o=>n[n.length]=o);return i.task=t,i}constructor(t){this.onError=t,this.freeTasks=[]}}const Ux=new sH,hH=new fH(Ux.registerPendingError);function dH(e){Ux.enqueueTask(hH.create(e))}function gH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pH(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function yH(e,t,n){return t&&pH(e.prototype,t),e}function xo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mH(e,t){return _H(e)||SH(e,t)||bH(e,t)||vH()}function vH(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1056
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
1057
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kH(e,t){if(e){if(typeof e=="string")return mM(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return mM(e,t)}}function mM(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function AH(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var i=[],o=!0,u=!1,c,f;try{for(n=n.call(e);!(o=(c=n.next()).done)&&(i.push(c.value),!(t&&i.length===t));o=!0);}catch(h){u=!0,f=h}finally{try{!o&&n.return!=null&&n.return()}finally{if(u)throw f}}return i}}function DH(e){if(Array.isArray(e))return e}function NH(e,t){if(e==null)return{};var n=RH(e,t),i,o;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(o=0;o<u.length;o++)i=u[o],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function RH(e,t){if(e==null)return{};var n={},i=Object.keys(e),o,u;for(u=0;u<i.length;u++)o=i[u],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}var vM=0,qc=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__"),zH=U.memo(function(t){var n=t.children,i=NH(t,xH),o=LH(i),u=OH(o,2),c=u[0],f=u[1];return U.useEffect(function(){if(f){var h=jx();return++vM,function(){--vM===0&&(h[qc]=null)}}},[]),Te.jsx(Nx.Provider,Object.assign({value:c},{children:n}),void 0)});function LH(e){if("manager"in e){var t={dragDropManager:e.manager};return[t,!1]}var n=IH(e.backend,e.context,e.options,e.debugMode),i=!e.context;return[n,i]}function IH(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:jx(),n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=t;return o[qc]||(o[qc]={dragDropManager:TH(e,t,n,i)}),o[qc]}function jx(){return typeof global<"u"?global:window}function qH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UH(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function jH(e,t,n){return t&&UH(e.prototype,t),e}function bM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var X0=!1,K0=!1,HH=(function(){function e(t){qH(this,e),bM(this,"internalMonitor",void 0),bM(this,"sourceId",null),this.internalMonitor=t.getMonitor()}return jH(e,[{key:"receiveHandlerId",value:function(n){this.sourceId=n}},{key:"getHandlerId",value:function(){return this.sourceId}},{key:"canDrag",value:function(){Ee(!X0,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return X0=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{X0=!1}}},{key:"isDragging",value:function(){if(!this.sourceId)return!1;Ee(!K0,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return K0=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{K0=!1}}},{key:"subscribeToStateChange",value:function(n,i){return this.internalMonitor.subscribeToStateChange(n,i)}},{key:"isDraggingSource",value:function(n){return this.internalMonitor.isDraggingSource(n)}},{key:"isOverTarget",value:function(n,i){return this.internalMonitor.isOverTarget(n,i)}},{key:"getTargetIds",value:function(){return this.internalMonitor.getTargetIds()}},{key:"isSourcePublic",value:function(){return this.internalMonitor.isSourcePublic()}},{key:"getSourceId",value:function(){return this.internalMonitor.getSourceId()}},{key:"subscribeToOffsetChange",value:function(n){return this.internalMonitor.subscribeToOffsetChange(n)}},{key:"canDragSource",value:function(n){return this.internalMonitor.canDragSource(n)}},{key:"canDropOnTarget",value:function(n){return this.internalMonitor.canDropOnTarget(n)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e})();function BH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PH(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function $H(e,t,n){return t&&PH(e.prototype,t),e}function SM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Z0=!1,YH=(function(){function e(t){BH(this,e),SM(this,"internalMonitor",void 0),SM(this,"targetId",null),this.internalMonitor=t.getMonitor()}return $H(e,[{key:"receiveHandlerId",value:function(n){this.targetId=n}},{key:"getHandlerId",value:function(){return this.targetId}},{key:"subscribeToStateChange",value:function(n,i){return this.internalMonitor.subscribeToStateChange(n,i)}},{key:"canDrop",value:function(){if(!this.targetId)return!1;Ee(!Z0,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return Z0=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{Z0=!1}}},{key:"isOver",value:function(n){return this.targetId?this.internalMonitor.isOverTarget(this.targetId,n):!1}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e})();function VH(e){if(typeof e.type!="string"){var t=e.type.displayName||e.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors."+"You can either wrap ".concat(t," into a <div>, or turn it into a ")+"drag source or a drop target itself.")}}function FH(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!U.isValidElement(t)){var i=t;return e(i,n),i}var o=t;VH(o);var u=n?function(c){return e(c,n)}:e;return GH(o,u)}}function Hx(e){var t={};return Object.keys(e).forEach(function(n){var i=e[n];if(n.endsWith("Ref"))t[n]=e[n];else{var o=FH(i);t[n]=function(){return o}}}),t}function _M(e,t){typeof e=="function"?e(t):e.current=t}function GH(e,t){var n=e.ref;return Ee(typeof n!="string","Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),n?U.cloneElement(e,{ref:function(o){_M(n,o),_M(t,o)}}):U.cloneElement(e,{ref:t})}function Uc(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Uc=function(n){return typeof n}:Uc=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Uc(e)}function _1(e){return e!==null&&Uc(e)==="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function w1(e,t,n,i){var o=void 0;if(o!==void 0)return!!o;if(e===t)return!0;if(typeof e!="object"||!e||typeof t!="object"||!t)return!1;var u=Object.keys(e),c=Object.keys(t);if(u.length!==c.length)return!1;for(var f=Object.prototype.hasOwnProperty.bind(t),h=0;h<u.length;h++){var g=u[h];if(!f(g))return!1;var p=e[g],m=t[g];if(o=void 0,o===!1||o===void 0&&p!==m)return!1}return!0}function QH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XH(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function KH(e,t,n){return t&&XH(e.prototype,t),e}function It(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ZH=(function(){function e(t){var n=this;QH(this,e),It(this,"hooks",Hx({dragSource:function(o,u){n.clearDragSource(),n.dragSourceOptions=u||null,_1(o)?n.dragSourceRef=o:n.dragSourceNode=o,n.reconnectDragSource()},dragPreview:function(o,u){n.clearDragPreview(),n.dragPreviewOptions=u||null,_1(o)?n.dragPreviewRef=o:n.dragPreviewNode=o,n.reconnectDragPreview()}})),It(this,"handlerId",null),It(this,"dragSourceRef",null),It(this,"dragSourceNode",void 0),It(this,"dragSourceOptionsInternal",null),It(this,"dragSourceUnsubscribe",void 0),It(this,"dragPreviewRef",null),It(this,"dragPreviewNode",void 0),It(this,"dragPreviewOptionsInternal",null),It(this,"dragPreviewUnsubscribe",void 0),It(this,"lastConnectedHandlerId",null),It(this,"lastConnectedDragSource",null),It(this,"lastConnectedDragSourceOptions",null),It(this,"lastConnectedDragPreview",null),It(this,"lastConnectedDragPreviewOptions",null),It(this,"backend",void 0),this.backend=t}return KH(e,[{key:"receiveHandlerId",value:function(n){this.handlerId!==n&&(this.handlerId=n,this.reconnect())}},{key:"connectTarget",get:function(){return this.dragSource}},{key:"dragSourceOptions",get:function(){return this.dragSourceOptionsInternal},set:function(n){this.dragSourceOptionsInternal=n}},{key:"dragPreviewOptions",get:function(){return this.dragPreviewOptionsInternal},set:function(n){this.dragPreviewOptionsInternal=n}},{key:"reconnect",value:function(){this.reconnectDragSource(),this.reconnectDragPreview()}},{key:"reconnectDragSource",value:function(){var n=this.dragSource,i=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();if(i&&this.disconnectDragSource(),!!this.handlerId){if(!n){this.lastConnectedDragSource=n;return}i&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=n,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,n,this.dragSourceOptions))}}},{key:"reconnectDragPreview",value:function(){var n=this.dragPreview,i=this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();if(i&&this.disconnectDragPreview(),!!this.handlerId){if(!n){this.lastConnectedDragPreview=n;return}i&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=n,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,n,this.dragPreviewOptions))}}},{key:"didHandlerIdChange",value:function(){return this.lastConnectedHandlerId!==this.handlerId}},{key:"didConnectedDragSourceChange",value:function(){return this.lastConnectedDragSource!==this.dragSource}},{key:"didConnectedDragPreviewChange",value:function(){return this.lastConnectedDragPreview!==this.dragPreview}},{key:"didDragSourceOptionsChange",value:function(){return!w1(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}},{key:"didDragPreviewOptionsChange",value:function(){return!w1(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}},{key:"disconnectDragSource",value:function(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}},{key:"disconnectDragPreview",value:function(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}},{key:"dragSource",get:function(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}},{key:"dragPreview",get:function(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}},{key:"clearDragSource",value:function(){this.dragSourceNode=null,this.dragSourceRef=null}},{key:"clearDragPreview",value:function(){this.dragPreviewNode=null,this.dragPreviewRef=null}}]),e})();function JH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WH(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function eB(e,t,n){return t&&WH(e.prototype,t),e}function tr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var tB=(function(){function e(t){var n=this;JH(this,e),tr(this,"hooks",Hx({dropTarget:function(o,u){n.clearDropTarget(),n.dropTargetOptions=u,_1(o)?n.dropTargetRef=o:n.dropTargetNode=o,n.reconnect()}})),tr(this,"handlerId",null),tr(this,"dropTargetRef",null),tr(this,"dropTargetNode",void 0),tr(this,"dropTargetOptionsInternal",null),tr(this,"unsubscribeDropTarget",void 0),tr(this,"lastConnectedHandlerId",null),tr(this,"lastConnectedDropTarget",null),tr(this,"lastConnectedDropTargetOptions",null),tr(this,"backend",void 0),this.backend=t}return eB(e,[{key:"connectTarget",get:function(){return this.dropTarget}},{key:"reconnect",value:function(){var n=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();n&&this.disconnectDropTarget();var i=this.dropTarget;if(this.handlerId){if(!i){this.lastConnectedDropTarget=i;return}n&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=i,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,i,this.dropTargetOptions))}}},{key:"receiveHandlerId",value:function(n){n!==this.handlerId&&(this.handlerId=n,this.reconnect())}},{key:"dropTargetOptions",get:function(){return this.dropTargetOptionsInternal},set:function(n){this.dropTargetOptionsInternal=n}},{key:"didHandlerIdChange",value:function(){return this.lastConnectedHandlerId!==this.handlerId}},{key:"didDropTargetChange",value:function(){return this.lastConnectedDropTarget!==this.dropTarget}},{key:"didOptionsChange",value:function(){return!w1(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}},{key:"disconnectDropTarget",value:function(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}},{key:"dropTarget",get:function(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}},{key:"clearDropTarget",value:function(){this.dropTargetRef=null,this.dropTargetNode=null}}]),e})();function nB(e,t,n){var i=n.getRegistry(),o=i.addTarget(e,t);return[o,function(){return i.removeTarget(o)}]}function rB(e,t,n){var i=n.getRegistry(),o=i.addSource(e,t);return[o,function(){return i.removeSource(o)}]}var ka=typeof window<"u"?U.useLayoutEffect:U.useEffect;function jc(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?jc=function(n){return typeof n}:jc=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},jc(e)}function iB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aB(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function oB(e,t,n){return t&&aB(e.prototype,t),e}function J0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var lB=(function(){function e(t,n,i){iB(this,e),J0(this,"spec",void 0),J0(this,"monitor",void 0),J0(this,"connector",void 0),this.spec=t,this.monitor=n,this.connector=i}return oB(e,[{key:"beginDrag",value:function(){var n,i=this.spec,o=this.monitor,u=null;return jc(i.item)==="object"?u=i.item:typeof i.item=="function"?u=i.item(o):u={},(n=u)!==null&&n!==void 0?n:null}},{key:"canDrag",value:function(){var n=this.spec,i=this.monitor;return typeof n.canDrag=="boolean"?n.canDrag:typeof n.canDrag=="function"?n.canDrag(i):!0}},{key:"isDragging",value:function(n,i){var o=this.spec,u=this.monitor,c=o.isDragging;return c?c(u):i===n.getSourceId()}},{key:"endDrag",value:function(){var n=this.spec,i=this.monitor,o=this.connector,u=n.end;u&&u(i.getItem(),i),o.reconnect()}}]),e})();function uB(e,t,n){var i=U.useMemo(function(){return new lB(e,t,n)},[t,n]);return U.useEffect(function(){i.spec=e},[e]),i}function Ra(){var e=U.useContext(Nx),t=e.dragDropManager;return Ee(t!=null,"Expected drag drop context"),t}function sB(e){return U.useMemo(function(){var t=e.type;return Ee(t!=null,"spec.type must be defined"),t},[e])}function cB(e,t){return gB(e)||dB(e,t)||hB(e,t)||fB()}function fB(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1058
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
1059
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
1060
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
1061
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
1062
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
1063
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
1064
|
-
`)},dataTransfer:function(t){return t}},matchesTypes:["Url","text/uri-list"]}),Mc(Oo,Kx,{exposeProperties:{text:function(t,n){return ep(t,n,"")},dataTransfer:function(t){return t}},matchesTypes:["Text","text/plain"]}),Oo);function _P(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wP(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function MP(e,t,n){return t&&wP(e.prototype,t),e}function NM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var TP=(function(){function e(t){_P(this,e),NM(this,"item",void 0),NM(this,"config",void 0),this.config=t,this.item={},this.initializeExposedProperties()}return MP(e,[{key:"initializeExposedProperties",value:function(){var n=this;Object.keys(this.config.exposeProperties).forEach(function(i){Object.defineProperty(n.item,i,{configurable:!0,enumerable:!0,get:function(){return console.warn(`Browser doesn't allow reading "`.concat(i,'" until the drop event.')),null}})})}},{key:"loadDataTransfer",value:function(n){var i=this;if(n){var o={};Object.keys(this.config.exposeProperties).forEach(function(u){o[u]={value:i.config.exposeProperties[u](n,i.config.matchesTypes),configurable:!0,enumerable:!0}}),Object.defineProperties(this.item,o)}}},{key:"canDrag",value:function(){return!0}},{key:"beginDrag",value:function(){return this.item}},{key:"isDragging",value:function(n,i){return i===n.getSourceId()}},{key:"endDrag",value:function(){}}]),e})();function EP(e,t){var n=new TP(T1[e]);return n.loadDataTransfer(t),n}function tp(e){if(!e)return null;var t=Array.prototype.slice.call(e.types||[]);return Object.keys(T1).filter(function(n){var i=T1[n].matchesTypes;return i.some(function(o){return t.indexOf(o)>-1})})[0]||null}function xP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OP(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function CP(e,t,n){return t&&OP(e.prototype,t),e}function np(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var kP=(function(){function e(t,n){xP(this,e),np(this,"ownerDocument",null),np(this,"globalContext",void 0),np(this,"optionsArgs",void 0),this.globalContext=t,this.optionsArgs=n}return CP(e,[{key:"window",get:function(){if(this.globalContext)return this.globalContext;if(typeof window<"u")return window}},{key:"document",get:function(){var n;return(n=this.globalContext)!==null&&n!==void 0&&n.document?this.globalContext.document:this.window?this.window.document:void 0}},{key:"rootElement",get:function(){var n;return((n=this.optionsArgs)===null||n===void 0?void 0:n.rootElement)||this.window}}]),e})();function RM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function zM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?RM(Object(n),!0).forEach(function(i){Le(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):RM(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function AP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DP(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function NP(e,t,n){return t&&DP(e.prototype,t),e}function Le(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var RP=(function(){function e(t,n,i){var o=this;AP(this,e),Le(this,"options",void 0),Le(this,"actions",void 0),Le(this,"monitor",void 0),Le(this,"registry",void 0),Le(this,"enterLeaveCounter",void 0),Le(this,"sourcePreviewNodes",new Map),Le(this,"sourcePreviewNodeOptions",new Map),Le(this,"sourceNodes",new Map),Le(this,"sourceNodeOptions",new Map),Le(this,"dragStartSourceIds",null),Le(this,"dropTargetIds",[]),Le(this,"dragEnterTargetIds",[]),Le(this,"currentNativeSource",null),Le(this,"currentNativeHandle",null),Le(this,"currentDragSourceNode",null),Le(this,"altKeyPressed",!1),Le(this,"mouseMoveTimeoutTimer",null),Le(this,"asyncEndDragFrameId",null),Le(this,"dragOverTargetIds",null),Le(this,"lastClientOffset",null),Le(this,"hoverRafId",null),Le(this,"getSourceClientOffset",function(u){var c=o.sourceNodes.get(u);return c&&Gx(c)||null}),Le(this,"endDragNativeItem",function(){o.isDraggingNativeItem()&&(o.actions.endDrag(),o.currentNativeHandle&&o.registry.removeSource(o.currentNativeHandle),o.currentNativeHandle=null,o.currentNativeSource=null)}),Le(this,"isNodeInDocument",function(u){return!!(u&&o.document&&o.document.body&&o.document.body.contains(u))}),Le(this,"endDragIfSourceWasRemovedFromDOM",function(){var u=o.currentDragSourceNode;u==null||o.isNodeInDocument(u)||o.clearCurrentDragSourceNode()&&o.monitor.isDragging()&&o.actions.endDrag()}),Le(this,"handleTopDragStartCapture",function(){o.clearCurrentDragSourceNode(),o.dragStartSourceIds=[]}),Le(this,"handleTopDragStart",function(u){if(!u.defaultPrevented){var c=o.dragStartSourceIds;o.dragStartSourceIds=null;var f=wc(u);o.monitor.isDragging()&&o.actions.endDrag(),o.actions.beginDrag(c||[],{publishSource:!1,getSourceClientOffset:o.getSourceClientOffset,clientOffset:f});var h=u.dataTransfer,g=tp(h);if(o.monitor.isDragging()){if(h&&typeof h.setDragImage=="function"){var p=o.monitor.getSourceId(),m=o.sourceNodes.get(p),v=o.sourcePreviewNodes.get(p)||m;if(v){var S=o.getCurrentSourcePreviewNodeOptions(),M=S.anchorX,b=S.anchorY,w=S.offsetX,E=S.offsetY,A={anchorX:M,anchorY:b},k={offsetX:w,offsetY:E},T=SP(m,v,f,A,k);h.setDragImage(v,T.x,T.y)}}try{h==null||h.setData("application/json",{})}catch{}o.setCurrentDragSourceNode(u.target);var C=o.getCurrentSourcePreviewNodeOptions(),O=C.captureDraggingState;O?o.actions.publishDragSource():setTimeout(function(){return o.actions.publishDragSource()},0)}else if(g)o.beginDragNativeItem(g);else{if(h&&!h.types&&(u.target&&!u.target.hasAttribute||!u.target.hasAttribute("draggable")))return;u.preventDefault()}}}),Le(this,"handleTopDragEndCapture",function(){o.clearCurrentDragSourceNode()&&o.monitor.isDragging()&&o.actions.endDrag()}),Le(this,"handleTopDragEnterCapture",function(u){o.dragEnterTargetIds=[];var c=o.enterLeaveCounter.enter(u.target);if(!(!c||o.monitor.isDragging())){var f=u.dataTransfer,h=tp(f);h&&o.beginDragNativeItem(h,f)}}),Le(this,"handleTopDragEnter",function(u){var c=o.dragEnterTargetIds;if(o.dragEnterTargetIds=[],!!o.monitor.isDragging()){o.altKeyPressed=u.altKey,c.length>0&&o.actions.hover(c,{clientOffset:wc(u)});var f=c.some(function(h){return o.monitor.canDropOnTarget(h)});f&&(u.preventDefault(),u.dataTransfer&&(u.dataTransfer.dropEffect=o.getCurrentDropEffect()))}}),Le(this,"handleTopDragOverCapture",function(){o.dragOverTargetIds=[]}),Le(this,"handleTopDragOver",function(u){var c=o.dragOverTargetIds;if(o.dragOverTargetIds=[],!o.monitor.isDragging()){u.preventDefault(),u.dataTransfer&&(u.dataTransfer.dropEffect="none");return}o.altKeyPressed=u.altKey,o.lastClientOffset=wc(u),o.hoverRafId===null&&typeof requestAnimationFrame<"u"&&(o.hoverRafId=requestAnimationFrame(function(){o.monitor.isDragging()&&o.actions.hover(c||[],{clientOffset:o.lastClientOffset}),o.hoverRafId=null}));var f=(c||[]).some(function(h){return o.monitor.canDropOnTarget(h)});f?(u.preventDefault(),u.dataTransfer&&(u.dataTransfer.dropEffect=o.getCurrentDropEffect())):o.isDraggingNativeItem()?u.preventDefault():(u.preventDefault(),u.dataTransfer&&(u.dataTransfer.dropEffect="none"))}),Le(this,"handleTopDragLeaveCapture",function(u){o.isDraggingNativeItem()&&u.preventDefault();var c=o.enterLeaveCounter.leave(u.target);c&&o.isDraggingNativeItem()&&setTimeout(function(){return o.endDragNativeItem()},0)}),Le(this,"handleTopDropCapture",function(u){if(o.dropTargetIds=[],o.isDraggingNativeItem()){var c;u.preventDefault(),(c=o.currentNativeSource)===null||c===void 0||c.loadDataTransfer(u.dataTransfer)}else tp(u.dataTransfer)&&u.preventDefault();o.enterLeaveCounter.reset()}),Le(this,"handleTopDrop",function(u){var c=o.dropTargetIds;o.dropTargetIds=[],o.actions.hover(c,{clientOffset:wc(u)}),o.actions.drop({dropEffect:o.getCurrentDropEffect()}),o.isDraggingNativeItem()?o.endDragNativeItem():o.monitor.isDragging()&&o.actions.endDrag()}),Le(this,"handleSelectStart",function(u){var c=u.target;typeof c.dragDrop=="function"&&(c.tagName==="INPUT"||c.tagName==="SELECT"||c.tagName==="TEXTAREA"||c.isContentEditable||(u.preventDefault(),c.dragDrop()))}),this.options=new kP(n,i),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.enterLeaveCounter=new hP(this.isNodeInDocument)}return NP(e,[{key:"profile",value:function(){var n,i;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:((n=this.dragStartSourceIds)===null||n===void 0?void 0:n.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:((i=this.dragOverTargetIds)===null||i===void 0?void 0:i.length)||0}}},{key:"window",get:function(){return this.options.window}},{key:"document",get:function(){return this.options.document}},{key:"rootElement",get:function(){return this.options.rootElement}},{key:"setup",value:function(){var n=this.rootElement;if(n!==void 0){if(n.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");n.__isReactDndBackendSetUp=!0,this.addEventListeners(n)}}},{key:"teardown",value:function(){var n=this.rootElement;if(n!==void 0&&(n.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId)){var i;(i=this.window)===null||i===void 0||i.cancelAnimationFrame(this.asyncEndDragFrameId)}}},{key:"connectDragPreview",value:function(n,i,o){var u=this;return this.sourcePreviewNodeOptions.set(n,o),this.sourcePreviewNodes.set(n,i),function(){u.sourcePreviewNodes.delete(n),u.sourcePreviewNodeOptions.delete(n)}}},{key:"connectDragSource",value:function(n,i,o){var u=this;this.sourceNodes.set(n,i),this.sourceNodeOptions.set(n,o);var c=function(g){return u.handleDragStart(g,n)},f=function(g){return u.handleSelectStart(g)};return i.setAttribute("draggable","true"),i.addEventListener("dragstart",c),i.addEventListener("selectstart",f),function(){u.sourceNodes.delete(n),u.sourceNodeOptions.delete(n),i.removeEventListener("dragstart",c),i.removeEventListener("selectstart",f),i.setAttribute("draggable","false")}}},{key:"connectDropTarget",value:function(n,i){var o=this,u=function(g){return o.handleDragEnter(g,n)},c=function(g){return o.handleDragOver(g,n)},f=function(g){return o.handleDrop(g,n)};return i.addEventListener("dragenter",u),i.addEventListener("dragover",c),i.addEventListener("drop",f),function(){i.removeEventListener("dragenter",u),i.removeEventListener("dragover",c),i.removeEventListener("drop",f)}}},{key:"addEventListeners",value:function(n){n.addEventListener&&(n.addEventListener("dragstart",this.handleTopDragStart),n.addEventListener("dragstart",this.handleTopDragStartCapture,!0),n.addEventListener("dragend",this.handleTopDragEndCapture,!0),n.addEventListener("dragenter",this.handleTopDragEnter),n.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),n.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),n.addEventListener("dragover",this.handleTopDragOver),n.addEventListener("dragover",this.handleTopDragOverCapture,!0),n.addEventListener("drop",this.handleTopDrop),n.addEventListener("drop",this.handleTopDropCapture,!0))}},{key:"removeEventListeners",value:function(n){n.removeEventListener&&(n.removeEventListener("dragstart",this.handleTopDragStart),n.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),n.removeEventListener("dragend",this.handleTopDragEndCapture,!0),n.removeEventListener("dragenter",this.handleTopDragEnter),n.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),n.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),n.removeEventListener("dragover",this.handleTopDragOver),n.removeEventListener("dragover",this.handleTopDragOverCapture,!0),n.removeEventListener("drop",this.handleTopDrop),n.removeEventListener("drop",this.handleTopDropCapture,!0))}},{key:"getCurrentSourceNodeOptions",value:function(){var n=this.monitor.getSourceId(),i=this.sourceNodeOptions.get(n);return zM({dropEffect:this.altKeyPressed?"copy":"move"},i||{})}},{key:"getCurrentDropEffect",value:function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}},{key:"getCurrentSourcePreviewNodeOptions",value:function(){var n=this.monitor.getSourceId(),i=this.sourcePreviewNodeOptions.get(n);return zM({anchorX:.5,anchorY:.5,captureDraggingState:!1},i||{})}},{key:"isDraggingNativeItem",value:function(){var n=this.monitor.getItemType();return Object.keys(DM).some(function(i){return DM[i]===n})}},{key:"beginDragNativeItem",value:function(n,i){this.clearCurrentDragSourceNode(),this.currentNativeSource=EP(n,i),this.currentNativeHandle=this.registry.addSource(n,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}},{key:"setCurrentDragSourceNode",value:function(n){var i=this;this.clearCurrentDragSourceNode(),this.currentDragSourceNode=n;var o=1e3;this.mouseMoveTimeoutTimer=setTimeout(function(){var u;return(u=i.rootElement)===null||u===void 0?void 0:u.addEventListener("mousemove",i.endDragIfSourceWasRemovedFromDOM,!0)},o)}},{key:"clearCurrentDragSourceNode",value:function(){if(this.currentDragSourceNode){if(this.currentDragSourceNode=null,this.rootElement){var n;(n=this.window)===null||n===void 0||n.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}return this.mouseMoveTimeoutTimer=null,!0}return!1}},{key:"handleDragStart",value:function(n,i){n.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(i))}},{key:"handleDragEnter",value:function(n,i){this.dragEnterTargetIds.unshift(i)}},{key:"handleDragOver",value:function(n,i){this.dragOverTargetIds===null&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(i)}},{key:"handleDrop",value:function(n,i){this.dropTargetIds.unshift(i)}}]),e})(),Tc;function zP(){return Tc||(Tc=new Image,Tc.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),Tc}var LP=function(t,n,i){return new RP(t,n,i)};function IP(e){const t=gn(),n=t.selectedIds,[i,o,u]=jB(()=>({canDrag:()=>e.isDraggable,type:"NODE",item:()=>{const c=t.isSelected(e.id)?Array.from(n):[e.id];return t.dispatch(Zo.dragStart(e.id,c)),{id:e.id,dragIds:c}},end:()=>{t.hideCursor(),t.dispatch(Zo.dragEnd())}}),[n,e]);return U.useEffect(()=>{u(zP())},[u]),o}function qP(e,t){const n=e.getBoundingClientRect(),i=t.x-Math.round(n.x),o=t.y-Math.round(n.y),u=n.height,c=o<u/2,f=!c,h=u/4,g=o>h&&o<u-h;return{x:i,inTopHalf:c,inBottomHalf:f,inMiddle:g,atTop:!g&&c,atBottom:!g&&f}}function UP(e,t,n,i){return e?e.isInternal?i.atTop?[t,e]:i.inMiddle?[e,e]:[e,n]:i.inTopHalf?[t,e]:[e,n]:[t,null]}function Ec(e,t){return{parentId:e||null,index:t}}function Co(e,t){return{type:"line",index:e,level:t}}function jP(e){return{type:"highlight",id:e}}function rp(e,t){var n;let i=e;for(;i.parent&&i.level>t;)i=i.parent;const o=((n=i.parent)===null||n===void 0?void 0:n.id)||null,u=wx(i)+1;return{parentId:o,index:u}}function Jx(e){var t;const n=qP(e.element,e.offset),i=e.indent,o=Math.round(Math.max(0,n.x-i)/i),{node:u,nextNode:c,prevNode:f}=e,[h,g]=UP(u,f,c,n);if(u&&u.isInternal&&n.inMiddle)return{drop:Ec(u.id,null),cursor:jP(u.id)};if(!h)return{drop:Ec((t=g==null?void 0:g.parent)===null||t===void 0?void 0:t.id,0),cursor:Co(0,0)};if(vx(h)){const p=zc(o,(g==null?void 0:g.level)||0,h.level);return{drop:rp(h,p),cursor:Co(h.rowIndex+1,p)}}if(bx(h)){const p=zc(o,(g==null?void 0:g.level)||0,h.level);return{drop:rp(h,p),cursor:Co(h.rowIndex+1,p)}}if(Sx(h)){const p=zc(o,0,h.level+1);return p>h.level?{drop:Ec(h.id,0),cursor:Co(h.rowIndex+1,p)}:{drop:rp(h,p),cursor:Co(h.rowIndex+1,p)}}return{drop:Ec(h==null?void 0:h.id,0),cursor:Co(h.rowIndex+1,h.level+1)}}function HP(e,t){const n=gn(),[i,o]=Yx(()=>({accept:"NODE",canDrop:()=>n.canDrop(),hover:(u,c)=>{const f=c.getClientOffset();if(!e.current||!f)return;const{cursor:h,drop:g}=Jx({element:e.current,offset:f,indent:n.indent,node:t,prevNode:t.prev,nextNode:t.next});g&&n.dispatch(Zo.hovering(g.parentId,g.index)),c.canDrop()?h&&n.showCursor(h):n.hideCursor()},drop:(u,c)=>{if(!c.canDrop())return null;let{parentId:f,index:h,dragIds:g}=n.state.dnd;Ox(n.props.onMove,{dragIds:g,parentId:f===ku?null:f,index:h===null?0:h,dragNodes:n.dragNodes,parentNode:n.get(f)}),n.open(f)}}),[t,e.current,n.props]);return o}function BP(e){const t=gn(),n=t.at(e);if(!n)throw new Error(`Could not find node for index: ${e}`);return U.useMemo(()=>{const i=n.clone();return t.visibleNodes[e]=i,i},[...Object.values(n.state),n])}const PP=x1.memo(function({index:t,style:n}){mx(),gU();const i=gn(),o=BP(t),u=U.useRef(null),c=IP(o),f=HP(u,o),h=U.useCallback(b=>{u.current=b,f(b)},[f]),g=i.indent*o.level,p=U.useMemo(()=>({paddingLeft:g}),[g]),m=U.useMemo(()=>{var b,w;return Object.assign(Object.assign({},n),{top:parseFloat(n.top)+((w=(b=i.props.padding)!==null&&b!==void 0?b:i.props.paddingTop)!==null&&w!==void 0?w:0)})},[n,i.props.padding,i.props.paddingTop]),v={role:"treeitem","aria-level":o.level+1,"aria-selected":o.isSelected,"aria-expanded":o.isOpen,style:m,tabIndex:-1,className:i.props.rowClassName};U.useEffect(()=>{var b;!o.isEditing&&o.isFocused&&((b=u.current)===null||b===void 0||b.focus({preventScroll:!0}))},[o.isEditing,o.isFocused,u.current]);const S=i.renderNode,M=i.renderRow;return Te.jsx(M,{node:o,innerRef:h,attrs:v,children:Te.jsx(S,{node:o,tree:i,style:p,dragHandle:c})})});let ip="",LM=null;function Wx(){mx();const e=gn();return Te.jsx("div",{role:"tree",style:{height:e.height,width:e.width,minHeight:0,minWidth:0},onContextMenu:e.props.onContextMenu,onClick:e.props.onClick,tabIndex:0,onFocus:t=>{t.currentTarget.contains(t.relatedTarget)||e.onFocus()},onBlur:t=>{t.currentTarget.contains(t.relatedTarget)||e.onBlur()},onKeyDown:t=>{var n;if(e.isEditing)return;if(t.key==="Backspace"){if(!e.props.onDelete)return;const o=Array.from(e.selectedIds);if(o.length>1){let u=e.mostRecentNode;for(;u&&u.isSelected;)u=u.nextSibling;u||(u=e.lastNode),e.focus(u,{scroll:!1}),e.delete(Array.from(o))}else{const u=e.focusedNode;if(u){const c=u.nextSibling,f=u.parent;e.focus(c||f,{scroll:!1}),e.delete(u)}}return}if(t.key==="Tab"&&!t.shiftKey){t.preventDefault(),Mx(t.currentTarget);return}if(t.key==="Tab"&&t.shiftKey){t.preventDefault(),Tx(t.currentTarget);return}if(t.key==="ArrowDown"){t.preventDefault();const o=e.nextNode;if(t.metaKey){e.select(e.focusedNode),e.activate(e.focusedNode);return}else if(!t.shiftKey||e.props.disableMultiSelection){e.focus(o);return}else{if(!o)return;const u=e.focusedNode;u?u.isSelected?e.selectContiguous(o):e.selectMulti(o):e.focus(e.firstNode);return}}if(t.key==="ArrowUp"){t.preventDefault();const o=e.prevNode;if(!t.shiftKey||e.props.disableMultiSelection){e.focus(o);return}else{if(!o)return;const u=e.focusedNode;u?u.isSelected?e.selectContiguous(o):e.selectMulti(o):e.focus(e.lastNode);return}}if(t.key==="ArrowRight"){const o=e.focusedNode;if(!o)return;o.isInternal&&o.isOpen?e.focus(e.nextNode):o.isInternal&&e.open(o.id);return}if(t.key==="ArrowLeft"){const o=e.focusedNode;if(!o||o.isRoot)return;o.isInternal&&o.isOpen?e.close(o.id):!((n=o.parent)===null||n===void 0)&&n.isRoot||e.focus(o.parent);return}if(t.key==="a"&&t.metaKey&&!e.props.disableMultiSelection){t.preventDefault(),e.selectAll();return}if(t.key==="a"&&!t.metaKey&&e.props.onCreate){e.createLeaf();return}if(t.key==="A"&&!t.metaKey){if(!e.props.onCreate)return;e.createInternal();return}if(t.key==="Home"){t.preventDefault(),e.focus(e.firstNode);return}if(t.key==="End"){t.preventDefault(),e.focus(e.lastNode);return}if(t.key==="Enter"){const o=e.focusedNode;if(!o||!o.isEditable||!e.props.onRename)return;setTimeout(()=>{o&&e.edit(o)});return}if(t.key===" "){t.preventDefault();const o=e.focusedNode;if(!o)return;o.isLeaf?(o.select(),o.activate()):o.toggle();return}if(t.key==="*"){const o=e.focusedNode;if(!o)return;e.openSiblings(o);return}if(t.key==="PageUp"){t.preventDefault(),e.pageUp();return}t.key==="PageDown"&&(t.preventDefault(),e.pageDown()),clearTimeout(LM),ip+=t.key,LM=setTimeout(()=>{ip=""},600);const i=e.visibleNodes.find(o=>{const u=o.data.name;return typeof u=="string"?u.toLowerCase().startsWith(ip):!1});i&&e.focus(i.id)},children:Te.jsx(XU,{className:e.props.className,outerRef:e.listEl,itemCount:e.visibleNodes.length,height:e.height,width:e.width,itemSize:e.rowHeight,overscanCount:e.overscanCount,itemKey:t=>{var n;return((n=e.visibleNodes[t])===null||n===void 0?void 0:n.id)||t},outerElementType:JU,innerElementType:tj,onScroll:e.props.onScroll,onItemsRendered:e.onItemsRendered.bind(e),ref:e.list,children:PP})})}function IM(e){return e.isFiltered?YP(e.root,e.isMatch.bind(e)):$P(e.root)}function $P(e){const t=[];function n(i){var o;i.level>=0&&t.push(i),i.isOpen&&((o=i.children)===null||o===void 0||o.forEach(n))}return n(e),t.forEach(e5),t}function YP(e,t){const n={},i=[];function o(c){if(!c.isRoot&&t(c)){n[c.id]=!0;let h=c.parent;for(;h;)n[h.id]=!0,h=h.parent}if(c.children)for(let h of c.children)o(h)}function u(c){var f;c.level>=0&&n[c.id]&&i.push(c),c.isOpen&&((f=c.children)===null||f===void 0||f.forEach(u))}return o(e),u(e),i.forEach(e5),i}function e5(e,t){e.rowIndex=t}const qM=e=>e.reduce((t,n,i)=>(t[n.id]=i,t),{});var ap=function(e,t,n,i){function o(u){return u instanceof n?u:new n(function(c){c(u)})}return new(n||(n=Promise))(function(u,c){function f(p){try{g(i.next(p))}catch(m){c(m)}}function h(p){try{g(i.throw(p))}catch(m){c(m)}}function g(p){p.done?u(p.value):o(p.value).then(f,h)}g((i=i.apply(e,t||[])).next())})};const{safeRun:wt,identify:Dr,identifyNull:Pn}=vU;class yu{constructor(t,n,i,o){this.store=t,this.props=n,this.list=i,this.listEl=o,this.visibleStartIndex=0,this.visibleStopIndex=0,this.root=Fw(this),this.visibleNodes=IM(this),this.idToIndex=qM(this.visibleNodes)}update(t){this.props=t,this.root=Fw(this),this.visibleNodes=IM(this),this.idToIndex=qM(this.visibleNodes)}dispatch(t){return this.store.dispatch(t)}get state(){return this.store.getState()}get openState(){return this.state.nodes.open.unfiltered}get width(){var t;return(t=this.props.width)!==null&&t!==void 0?t:300}get height(){var t;return(t=this.props.height)!==null&&t!==void 0?t:500}get indent(){var t;return(t=this.props.indent)!==null&&t!==void 0?t:24}get rowHeight(){var t;return(t=this.props.rowHeight)!==null&&t!==void 0?t:24}get overscanCount(){var t;return(t=this.props.overscanCount)!==null&&t!==void 0?t:1}get searchTerm(){return(this.props.searchTerm||"").trim()}get matchFn(){var t;const n=(t=this.props.searchMatch)!==null&&t!==void 0?t:((i,o)=>JSON.stringify(Object.values(i.data)).toLocaleLowerCase().includes(o.toLocaleLowerCase()));return i=>n(i,this.searchTerm)}accessChildren(t){var n;const i=this.props.childrenAccessor||"children";return(n=pu(t,i))!==null&&n!==void 0?n:null}accessId(t){const n=this.props.idAccessor||"id",i=pu(t,n);if(!i)throw new Error("Data must contain an 'id' property or props.idAccessor must return a string");return i}get firstNode(){var t;return(t=this.visibleNodes[0])!==null&&t!==void 0?t:null}get lastNode(){var t;return(t=this.visibleNodes[this.visibleNodes.length-1])!==null&&t!==void 0?t:null}get focusedNode(){var t;return(t=this.get(this.state.nodes.focus.id))!==null&&t!==void 0?t:null}get mostRecentNode(){var t;return(t=this.get(this.state.nodes.selection.mostRecent))!==null&&t!==void 0?t:null}get nextNode(){const t=this.indexOf(this.focusedNode);return t===null?null:this.at(t+1)}get prevNode(){const t=this.indexOf(this.focusedNode);return t===null?null:this.at(t-1)}get(t){return t&&t in this.idToIndex&&this.visibleNodes[this.idToIndex[t]]||null}at(t){return this.visibleNodes[t]||null}nodesBetween(t,n){var i;if(t===null||n===null)return[];const o=(i=this.indexOf(t))!==null&&i!==void 0?i:0,u=this.indexOf(n);if(u===null)return[];const c=Math.min(o,u),f=Math.max(o,u);return this.visibleNodes.slice(c,f+1)}indexOf(t){const n=xx(t);return n?this.idToIndex[n]:null}get editingId(){return this.state.nodes.edit.id}createInternal(){return this.create({type:"internal"})}createLeaf(){return this.create({type:"leaf"})}create(){return ap(this,arguments,void 0,function*(t={}){var n,i;const o=t.parentId===void 0?Ax(this):t.parentId,u=(n=t.index)!==null&&n!==void 0?n:kx(this),c=(i=t.type)!==null&&i!==void 0?i:"leaf",f=yield wt(this.props.onCreate,{type:c,parentId:o,index:u,parentNode:this.get(o)});f&&(this.focus(f),setTimeout(()=>{this.edit(f).then(()=>{this.select(f),this.activate(f)})}))})}delete(t){return ap(this,void 0,void 0,function*(){if(!t)return;const i=(Array.isArray(t)?t:[t]).map(Dr),o=i.map(u=>this.get(u)).filter(u=>!!u);yield wt(this.props.onDelete,{nodes:o,ids:i})})}edit(t){const n=Dr(t);return this.resolveEdit({cancelled:!0}),this.scrollTo(n),this.dispatch(F0(n)),new Promise(i=>{yu.editPromise=i})}submit(t,n){return ap(this,void 0,void 0,function*(){if(!t)return;const i=Dr(t);yield wt(this.props.onRename,{id:i,name:n,node:this.get(i)}),this.dispatch(F0(null)),this.resolveEdit({cancelled:!1,value:n}),setTimeout(()=>this.onFocus())})}reset(){this.dispatch(F0(null)),this.resolveEdit({cancelled:!0}),setTimeout(()=>this.onFocus())}activate(t){const n=this.get(Pn(t));n&&wt(this.props.onActivate,n)}resolveEdit(t){const n=yu.editPromise;n&&n(t),yu.editPromise=null}get selectedIds(){return this.state.nodes.selection.ids}get selectedNodes(){let t=[];for(let n of Array.from(this.selectedIds)){const i=this.get(n);i&&t.push(i)}return t}focus(t,n={}){t&&(this.props.selectionFollowsFocus?this.select(t):(this.dispatch(To(Dr(t))),n.scroll!==!1&&this.scrollTo(t),this.focusedNode&&wt(this.props.onFocus,this.focusedNode)))}pageUp(){var t,n;const i=this.visibleStartIndex,u=this.visibleStopIndex-i;let c=(n=(t=this.focusedNode)===null||t===void 0?void 0:t.rowIndex)!==null&&n!==void 0?n:0;c>i?c=i:c=Math.max(i-u,0),this.focus(this.at(c))}pageDown(){var t,n;const i=this.visibleStartIndex,o=this.visibleStopIndex,u=o-i;let c=(n=(t=this.focusedNode)===null||t===void 0?void 0:t.rowIndex)!==null&&n!==void 0?n:0;c<o?c=o:c=Math.min(c+u,this.visibleNodes.length-1),this.focus(this.at(c))}select(t,n={}){if(!t)return;const i=n.focus!==!1,o=Dr(t);i&&this.dispatch(To(o)),this.dispatch(Bn.only(o)),this.dispatch(Bn.anchor(o)),this.dispatch(Bn.mostRecent(o)),this.scrollTo(o,n.align),this.focusedNode&&i&&wt(this.props.onFocus,this.focusedNode),wt(this.props.onSelect,this.selectedNodes)}deselect(t){if(!t)return;const n=Dr(t);this.dispatch(Bn.remove(n)),wt(this.props.onSelect,this.selectedNodes)}selectMulti(t){const n=this.get(Pn(t));n&&(this.dispatch(To(n.id)),this.dispatch(Bn.add(n.id)),this.dispatch(Bn.anchor(n.id)),this.dispatch(Bn.mostRecent(n.id)),this.scrollTo(n),this.focusedNode&&wt(this.props.onFocus,this.focusedNode),wt(this.props.onSelect,this.selectedNodes))}selectContiguous(t){if(!t)return;const n=Dr(t),{anchor:i,mostRecent:o}=this.state.nodes.selection;this.dispatch(To(n)),this.dispatch(Bn.remove(this.nodesBetween(i,o))),this.dispatch(Bn.add(this.nodesBetween(i,Pn(n)))),this.dispatch(Bn.mostRecent(n)),this.scrollTo(n),this.focusedNode&&wt(this.props.onFocus,this.focusedNode),wt(this.props.onSelect,this.selectedNodes)}deselectAll(){this.setSelection({ids:[],anchor:null,mostRecent:null}),wt(this.props.onSelect,this.selectedNodes)}selectAll(){var t;this.setSelection({ids:Object.keys(this.idToIndex),anchor:this.firstNode,mostRecent:this.lastNode}),this.dispatch(To((t=this.lastNode)===null||t===void 0?void 0:t.id)),this.focusedNode&&wt(this.props.onFocus,this.focusedNode),wt(this.props.onSelect,this.selectedNodes)}setSelection(t){var n;const i=new Set((n=t.ids)===null||n===void 0?void 0:n.map(Dr)),o=Pn(t.anchor),u=Pn(t.mostRecent);this.dispatch(Bn.set({ids:i,anchor:o,mostRecent:u})),wt(this.props.onSelect,this.selectedNodes)}get cursorParentId(){const{cursor:t}=this.state.dnd;switch(t.type){case"highlight":return t.id;default:return null}}get cursorOverFolder(){return this.state.dnd.cursor.type==="highlight"}get dragNodes(){return this.state.dnd.dragIds.map(t=>this.get(t)).filter(t=>!!t)}get dragNode(){return this.get(this.state.nodes.drag.id)}get dragDestinationParent(){return this.get(this.state.nodes.drag.destinationParentId)}get dragDestinationIndex(){return this.state.nodes.drag.destinationIndex}canDrop(){var t;if(this.isFiltered)return!1;const n=(t=this.get(this.state.dnd.parentId))!==null&&t!==void 0?t:this.root,i=this.dragNodes,o=this.props.disableDrop;for(const u of i)if(!u||!n||u.isInternal&&_x(n,u))return!1;return typeof o=="function"?!o({parentNode:n,dragNodes:this.dragNodes,index:this.state.dnd.index||0}):typeof o=="string"?!n.data[o]:typeof o=="boolean"?!o:!0}hideCursor(){this.dispatch(Zo.cursor({type:"none"}))}showCursor(t){this.dispatch(Zo.cursor(t))}open(t){const n=Pn(t);n&&(this.isOpen(n)||(this.dispatch(y1.open(n,this.isFiltered)),wt(this.props.onToggle,n)))}close(t){const n=Pn(t);n&&this.isOpen(n)&&(this.dispatch(y1.close(n,this.isFiltered)),wt(this.props.onToggle,n))}toggle(t){const n=Pn(t);if(n)return this.isOpen(n)?this.close(n):this.open(n)}openParents(t){const n=Pn(t);if(!n)return;const i=Cy(this.root,n);let o=i==null?void 0:i.parent;for(;o;)this.open(o.id),o=o.parent}openSiblings(t){const n=t.parent;if(!n)this.toggle(t.id);else if(n.children){const i=t.isOpen;for(let o of n.children)o.isInternal&&(i?this.close(o.id):this.open(o.id));this.scrollTo(this.focusedNode)}}openAll(){bf(this.root,t=>{t.isInternal&&t.open()})}closeAll(){bf(this.root,t=>{t.isInternal&&t.close()})}scrollTo(t,n="smart"){if(!t)return;const i=Dr(t);return this.openParents(i),Cx(()=>i in this.idToIndex).then(()=>{var o;const u=this.idToIndex[i];u!==void 0&&((o=this.list.current)===null||o===void 0||o.scrollToItem(u,n))}).catch(()=>{})}get isEditing(){return this.state.nodes.edit.id!==null}get isFiltered(){var t;return!!(!((t=this.props.searchTerm)===null||t===void 0)&&t.trim())}get hasFocus(){return this.state.nodes.focus.treeFocused}get hasNoSelection(){return this.state.nodes.selection.ids.size===0}get hasOneSelection(){return this.state.nodes.selection.ids.size===1}get hasMultipleSelections(){return this.state.nodes.selection.ids.size>1}isSelected(t){return t?this.state.nodes.selection.ids.has(t):!1}isOpen(t){var n,i,o;if(!t)return!1;if(t===ku)return!0;const u=(n=this.props.openByDefault)!==null&&n!==void 0?n:!0;return this.isFiltered?(i=this.state.nodes.open.filtered[t])!==null&&i!==void 0?i:!0:(o=this.state.nodes.open.unfiltered[t])!==null&&o!==void 0?o:u}isEditable(t){const n=this.props.disableEdit||(()=>!1);return!pu(t,n)}isDraggable(t){const n=this.props.disableDrag||(()=>!1);return!pu(t,n)}isDragging(t){const n=Pn(t);return n?this.state.nodes.drag.id===n:!1}isFocused(t){return this.hasFocus&&this.state.nodes.focus.id===t}isMatch(t){return this.matchFn(t)}willReceiveDrop(t){const n=Pn(t);if(!n)return!1;const{destinationParentId:i,destinationIndex:o}=this.state.nodes.drag;return n===i&&o===null}onFocus(){const t=this.focusedNode||this.firstNode;t&&this.dispatch(To(t.id))}onBlur(){this.dispatch(CU())}onItemsRendered(t){this.visibleStartIndex=t.visibleStartIndex,this.visibleStopIndex=t.visibleStopIndex}get renderContainer(){return this.props.renderContainer||Wx}get renderRow(){return this.props.renderRow||MU}get renderNode(){return this.props.children||TU}get renderDragPreview(){return this.props.renderDragPreview||Dx}get renderCursor(){return this.props.renderCursor||wU}}function VP(e=Ko().nodes.drag,t){switch(t.type){case"DND_DRAG_START":return Object.assign(Object.assign({},e),{id:t.id,selectedIds:t.dragIds});case"DND_DRAG_END":return Object.assign(Object.assign({},e),{id:null,destinationParentId:null,destinationIndex:null,selectedIds:[]});case"DND_HOVERING":return t.parentId!==e.destinationParentId||t.index!=e.destinationIndex?Object.assign(Object.assign({},e),{destinationParentId:t.parentId,destinationIndex:t.index}):e;default:return e}}const FP=wS({nodes:wS({focus:kU,edit:OU,open:AU,selection:DU,drag:VP}),dnd:NU}),GP=Ko();function QP({treeProps:e,imperativeHandle:t,children:n}){const i=U.useRef(null),o=U.useRef(null),u=U.useRef(_E(FP,Ko(e))),c=dU.useSyncExternalStore(u.current.subscribe,u.current.getState,()=>GP),f=U.useMemo(()=>new yu(u.current,e,i,o),[]),h=U.useRef(0);return U.useMemo(()=>{h.current+=1,f.update(e)},[...Object.values(e),c.nodes.open]),U.useImperativeHandle(t,()=>f),U.useEffect(()=>{f.props.selection?f.select(f.props.selection,{focus:!1}):f.deselectAll()},[f.props.selection]),U.useEffect(()=>{f.props.searchTerm||u.current.dispatch(y1.clear(!0))},[f.props.searchTerm]),Te.jsx(dx.Provider,{value:f,children:Te.jsx(yx.Provider,{value:h.current,children:Te.jsx(gx.Provider,{value:c.nodes,children:Te.jsx(px.Provider,{value:c.dnd,children:Te.jsx(zH,Object.assign({backend:LP,options:{rootElement:f.props.dndRootElement||void 0}},e.dndManager&&{manager:e.dndManager},{children:n}))})})})})}function XP(){const e=gn(),[,t]=Yx(()=>({accept:"NODE",canDrop:(n,i)=>i.isOver({shallow:!0})?e.canDrop():!1,hover:(n,i)=>{if(!i.isOver({shallow:!0}))return;const o=i.getClientOffset();if(!e.listEl.current||!o)return;const{cursor:u,drop:c}=Jx({element:e.listEl.current,offset:o,indent:e.indent,node:null,prevNode:e.visibleNodes[e.visibleNodes.length-1],nextNode:null});c&&e.dispatch(Zo.hovering(c.parentId,c.index)),i.canDrop()?u&&e.showCursor(u):e.hideCursor()}}),[e]);t(e.listEl)}function KP(e){return XP(),e.children}function ZP(){const t=gn().props.renderContainer||Wx;return Te.jsx(Te.Fragment,{children:Te.jsx(t,{})})}function JP(){const e=gn(),{offset:t,mouse:n,item:i,isDragging:o}=oP(c=>({offset:c.getSourceClientOffset(),mouse:c.getClientOffset(),item:c.getItem(),isDragging:c.isDragging()})),u=e.props.renderDragPreview||Dx;return Te.jsx(u,{offset:t,mouse:n,id:(i==null?void 0:i.id)||null,dragIds:(i==null?void 0:i.dragIds)||[],isDragging:o})}class WP{constructor(t){this.root=e$(t)}get data(){var t,n;return(n=(t=this.root.children)===null||t===void 0?void 0:t.map(i=>i.data))!==null&&n!==void 0?n:[]}create(t){const n=t.parentId?this.find(t.parentId):this.root;if(!n)return null;n.addChild(t.data,t.index)}move(t){const n=this.find(t.id),i=t.parentId?this.find(t.parentId):this.root;!n||!i||(i.addChild(n.data,t.index),n.drop())}update(t){const n=this.find(t.id);n&&n.update(t.changes)}drop(t){const n=this.find(t.id);n&&n.drop()}find(t,n=this.root){if(!n)return null;if(n.id===t)return n;if(n.children){for(let i of n.children){const o=this.find(t,i);if(o)return o}return null}return null}}function e$(e){const t=new t5({id:"ROOT"},null);return t.children=e.map(n=>Ly(n,t)),t}function Ly(e,t){const n=new t5(e,t);return e.children&&(n.children=e.children.map(i=>Ly(i,n))),n}class t5{constructor(t,n){this.data=t,this.parent=n,this.id=t.id}hasParent(){return!!this.parent}get childIndex(){return this.hasParent()?this.parent.children.indexOf(this):-1}addChild(t,n){var i,o;const u=Ly(t,this);this.children=(i=this.children)!==null&&i!==void 0?i:[],this.children.splice(n,0,u),this.data.children=(o=this.data.children)!==null&&o!==void 0?o:[],this.data.children.splice(n,0,t)}removeChild(t){var n,i;(n=this.children)===null||n===void 0||n.splice(t,1),(i=this.data.children)===null||i===void 0||i.splice(t,1)}update(t){if(this.hasParent()){const n=this.childIndex;this.parent.addChild(Object.assign(Object.assign({},this.data),t),n),this.drop()}}drop(){this.hasParent()&&this.parent.removeChild(this.childIndex)}}let t$=0;function n$(e){const[t,n]=U.useState(e),i=U.useMemo(()=>new WP(t),[t]);return[t,{onMove:g=>{for(const p of g.dragIds)i.move({id:p,parentId:g.parentId,index:g.index});n(i.data)},onRename:({name:g,id:p})=>{i.update({id:p,changes:{name:g}}),n(i.data)},onCreate:({parentId:g,index:p,type:m})=>{const v={id:`simple-tree-id-${t$++}`,name:""};return m==="internal"&&(v.children=[]),i.create({parentId:g,index:p,data:v}),n(i.data),v},onDelete:g=>{g.ids.forEach(p=>i.drop({id:p})),n(i.data)}}]}function r$(e){if(e.initialData&&e.data)throw new Error("React Arborist Tree => Provide either a data or initialData prop, but not both.");if(e.initialData&&(e.onCreate||e.onDelete||e.onMove||e.onRename))throw new Error(`React Arborist Tree => You passed the initialData prop along with a data handler.
|
|
1065
|
-
Use the data prop if you want to provide your own handlers.`);if(e.initialData){const[t,n]=
|
|
1066
|
-
]))+`;nr.KANJI=new RegExp(n,"g"),nr.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),nr.BYTE=new RegExp(i,"g"),nr.NUMERIC=new RegExp(e,"g"),nr.ALPHANUMERIC=new RegExp(t,"g");const o=new RegExp("^"+n+"$"),u=new RegExp("^"+e+"$"),c=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return nr.testKanji=function(h){return o.test(h)},nr.testNumeric=function(h){return u.test(h)},nr.testAlphanumeric=function(h){return c.test(h)},nr}var JM;function La(){return JM||(JM=1,(function(e){const t=r5(),n=i5();e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(u,c){if(!u.ccBits)throw new Error("Invalid mode: "+u);if(!t.isValid(c))throw new Error("Invalid version: "+c);return c>=1&&c<10?u.ccBits[0]:c<27?u.ccBits[1]:u.ccBits[2]},e.getBestModeForData=function(u){return n.testNumeric(u)?e.NUMERIC:n.testAlphanumeric(u)?e.ALPHANUMERIC:n.testKanji(u)?e.KANJI:e.BYTE},e.toString=function(u){if(u&&u.id)return u.id;throw new Error("Invalid mode")},e.isValid=function(u){return u&&u.bit&&u.ccBits};function i(o){if(typeof o!="string")throw new Error("Param is not a string");switch(o.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+o)}}e.from=function(u,c){if(e.isValid(u))return u;try{return i(u)}catch{return c}}})(mp)),mp}var WM;function
|
|
1067
|
-
Make sure your charset is UTF-8`);u=(u>>>8&255)*192+(u&255),i.put(u,13)}},Tp=n,Tp}var Ep={exports:{}},aT;function
|
|
1068
|
-
Suggested mode is: `+t.toString(T));switch(k===t.KANJI&&!f.isKanjiModeEnabled()&&(k=t.BYTE),k){case t.NUMERIC:return new n(E);case t.ALPHANUMERIC:return new i(E);case t.KANJI:return new u(E);case t.BYTE:return new o(E)}}e.fromArray=function(A){return A.reduce(function(k,T){return typeof T=="string"?k.push(w(T,null)):T.data&&k.push(w(T.data,T.mode)),k},[])},e.fromString=function(A,k){const T=m(A,f.isKanjiModeEnabled()),C=M(T),O=b(C,k),D=h.find_path(O.map,"start","end"),N=[];for(let P=1;P<D.length-1;P++)N.push(O.table[D[P]].node);return e.fromArray(S(N))},e.rawSplit=function(A){return e.fromArray(m(A,f.isKanjiModeEnabled()))}})(Sp)),Sp}var lT;function
|
|
1065
|
+
color: hsl(${Math.max(0,Math.min(120-120*w,120))}deg 100% 31%);`,n==null?void 0:n.key)}return n!=null&&n.onChange&&!(u&&n.skipInitialOnChange)&&n.onChange(o),u=!1,o}return c.updateDeps=f=>{i=f},c}function Bw(e,t){if(e===void 0)throw new Error("Unexpected undefined");return e}const iU=(e,t)=>Math.abs(e-t)<1.01,aU=(e,t,n)=>{let i;return function(...o){e.clearTimeout(i),i=e.setTimeout(()=>t.apply(this,o),n)}},Pw=e=>{const{offsetWidth:t,offsetHeight:n}=e;return{width:t,height:n}},oU=e=>e,lU=e=>{const t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1),i=[];for(let o=t;o<=n;o++)i.push(o);return i},uU=(e,t)=>{const n=e.scrollElement;if(!n)return;const i=e.targetWindow;if(!i)return;const o=c=>{const{width:f,height:h}=c;t({width:Math.round(f),height:Math.round(h)})};if(o(Pw(n)),!i.ResizeObserver)return()=>{};const u=new i.ResizeObserver(c=>{const f=()=>{const h=c[0];if(h!=null&&h.borderBoxSize){const g=h.borderBoxSize[0];if(g){o({width:g.inlineSize,height:g.blockSize});return}}o(Pw(n))};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(f):f()});return u.observe(n,{box:"border-box"}),()=>{u.unobserve(n)}},$w={passive:!0},Yw=typeof window>"u"?!0:"onscrollend"in window,sU=(e,t)=>{const n=e.scrollElement;if(!n)return;const i=e.targetWindow;if(!i)return;let o=0;const u=e.options.useScrollendEvent&&Yw?()=>{}:aU(i,()=>{t(o,!1)},e.options.isScrollingResetDelay),c=p=>()=>{const{horizontal:m,isRtl:v}=e.options;o=m?n.scrollLeft*(v&&-1||1):n.scrollTop,u(),t(o,p)},f=c(!0),h=c(!1);n.addEventListener("scroll",f,$w);const g=e.options.useScrollendEvent&&Yw;return g&&n.addEventListener("scrollend",h,$w),()=>{n.removeEventListener("scroll",f),g&&n.removeEventListener("scrollend",h)}},cU=(e,t,n)=>{if(t!=null&&t.borderBoxSize){const i=t.borderBoxSize[0];if(i)return Math.round(i[n.options.horizontal?"inlineSize":"blockSize"])}return e[n.options.horizontal?"offsetWidth":"offsetHeight"]},fU=(e,{adjustments:t=0,behavior:n},i)=>{var o,u;const c=e+t;(u=(o=i.scrollElement)==null?void 0:o.scrollTo)==null||u.call(o,{[i.options.horizontal?"left":"top"]:c,behavior:n})};class hU{constructor(t){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollState=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.laneAssignments=new Map,this.pendingMeasuredCacheIndexes=[],this.prevLanes=void 0,this.lanesChangedFlag=!1,this.lanesSettling=!1,this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.now=()=>{var n,i,o;return((o=(i=(n=this.targetWindow)==null?void 0:n.performance)==null?void 0:i.now)==null?void 0:o.call(i))??Date.now()},this.observer=(()=>{let n=null;const i=()=>n||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:n=new this.targetWindow.ResizeObserver(o=>{o.forEach(u=>{const c=()=>{const f=u.target,h=this.indexFromElement(f);if(!f.isConnected){this.observer.unobserve(f);return}this.shouldMeasureDuringScroll(h)&&this.resizeItem(h,this.options.measureElement(f,u,this))};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(c):c()})}));return{disconnect:()=>{var o;(o=i())==null||o.disconnect(),n=null},observe:o=>{var u;return(u=i())==null?void 0:u.observe(o,{box:"border-box"})},unobserve:o=>{var u;return(u=i())==null?void 0:u.unobserve(o)}}})(),this.range=null,this.setOptions=n=>{Object.entries(n).forEach(([i,o])=>{typeof o>"u"&&delete n[i]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:oU,rangeExtractor:lU,onChange:()=>{},measureElement:cU,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,...n}},this.notify=n=>{var i,o;(o=(i=this.options).onChange)==null||o.call(i,this,n)},this.maybeNotify=Mo(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),n=>{this.notify(n)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(n=>n()),this.unsubs=[],this.observer.disconnect(),this.rafId!=null&&this.targetWindow&&(this.targetWindow.cancelAnimationFrame(this.rafId),this.rafId=null),this.scrollState=null,this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var n;const i=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==i){if(this.cleanup(),!i){this.maybeNotify();return}this.scrollElement=i,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=((n=this.scrollElement)==null?void 0:n.window)??null,this.elementsCache.forEach(o=>{this.observer.observe(o)}),this.unsubs.push(this.options.observeElementRect(this,o=>{this.scrollRect=o,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(o,u)=>{this.scrollAdjustments=0,this.scrollDirection=u?this.getScrollOffset()<o?"forward":"backward":null,this.scrollOffset=o,this.isScrolling=u,this.scrollState&&this.scheduleScrollReconcile(),this.maybeNotify()})),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0})}},this.rafId=null,this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??(typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(n,i)=>{const o=new Map,u=new Map;for(let c=i-1;c>=0;c--){const f=n[c];if(o.has(f.lane))continue;const h=u.get(f.lane);if(h==null||f.end>h.end?u.set(f.lane,f):f.end<h.end&&o.set(f.lane,!0),o.size===this.options.lanes)break}return u.size===this.options.lanes?Array.from(u.values()).sort((c,f)=>c.end===f.end?c.index-f.index:c.end-f.end)[0]:void 0},this.getMeasurementOptions=Mo(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled,this.options.lanes],(n,i,o,u,c,f)=>(this.prevLanes!==void 0&&this.prevLanes!==f&&(this.lanesChangedFlag=!0),this.prevLanes=f,this.pendingMeasuredCacheIndexes=[],{count:n,paddingStart:i,scrollMargin:o,getItemKey:u,enabled:c,lanes:f}),{key:!1}),this.getMeasurements=Mo(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:n,paddingStart:i,scrollMargin:o,getItemKey:u,enabled:c,lanes:f},h)=>{if(!c)return this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),[];if(this.laneAssignments.size>n)for(const v of this.laneAssignments.keys())v>=n&&this.laneAssignments.delete(v);this.lanesChangedFlag&&(this.lanesChangedFlag=!1,this.lanesSettling=!0,this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),this.pendingMeasuredCacheIndexes=[]),this.measurementsCache.length===0&&!this.lanesSettling&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(v=>{this.itemSizeCache.set(v.key,v.size)}));const g=this.lanesSettling?0:this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[],this.lanesSettling&&this.measurementsCache.length===n&&(this.lanesSettling=!1);const p=this.measurementsCache.slice(0,g),m=new Array(f).fill(void 0);for(let v=0;v<g;v++){const S=p[v];S&&(m[S.lane]=v)}for(let v=g;v<n;v++){const S=u(v),M=this.laneAssignments.get(v);let b,w;if(M!==void 0&&this.options.lanes>1){b=M;const T=m[b],C=T!==void 0?p[T]:void 0;w=C?C.end+this.options.gap:i+o}else{const T=this.options.lanes===1?p[v-1]:this.getFurthestMeasurement(p,v);w=T?T.end+this.options.gap:i+o,b=T?T.lane:v%this.options.lanes,this.options.lanes>1&&this.laneAssignments.set(v,b)}const E=h.get(S),A=typeof E=="number"?E:this.options.estimateSize(v),k=w+A;p[v]={index:v,start:w,size:A,end:k,key:S,lane:b},m[b]=v}return this.measurementsCache=p,p},{key:!1,debug:()=>this.options.debug}),this.calculateRange=Mo(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(n,i,o,u)=>this.range=n.length>0&&i>0?dU({measurements:n,outerSize:i,scrollOffset:o,lanes:u}):null,{key:!1,debug:()=>this.options.debug}),this.getVirtualIndexes=Mo(()=>{let n=null,i=null;const o=this.calculateRange();return o&&(n=o.startIndex,i=o.endIndex),this.maybeNotify.updateDeps([this.isScrolling,n,i]),[this.options.rangeExtractor,this.options.overscan,this.options.count,n,i]},(n,i,o,u,c)=>u===null||c===null?[]:n({startIndex:u,endIndex:c,overscan:i,count:o}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=n=>{const i=this.options.indexAttribute,o=n.getAttribute(i);return o?parseInt(o,10):(console.warn(`Missing attribute name '${i}={index}' on measured element.`),-1)},this.shouldMeasureDuringScroll=n=>{var i;if(!this.scrollState||this.scrollState.behavior!=="smooth")return!0;const o=this.scrollState.index??((i=this.getVirtualItemForOffset(this.scrollState.lastTargetOffset))==null?void 0:i.index);if(o!==void 0&&this.range){const u=Math.max(this.options.overscan,Math.ceil((this.range.endIndex-this.range.startIndex)/2)),c=Math.max(0,o-u),f=Math.min(this.options.count-1,o+u);return n>=c&&n<=f}return!0},this.measureElement=n=>{if(!n){this.elementsCache.forEach((c,f)=>{c.isConnected||(this.observer.unobserve(c),this.elementsCache.delete(f))});return}const i=this.indexFromElement(n),o=this.options.getItemKey(i),u=this.elementsCache.get(o);u!==n&&(u&&this.observer.unobserve(u),this.observer.observe(n),this.elementsCache.set(o,n)),(!this.isScrolling||this.scrollState)&&this.shouldMeasureDuringScroll(i)&&this.resizeItem(i,this.options.measureElement(n,void 0,this))},this.resizeItem=(n,i)=>{var o;const u=this.measurementsCache[n];if(!u)return;const c=this.itemSizeCache.get(u.key)??u.size,f=i-c;f!==0&&(((o=this.scrollState)==null?void 0:o.behavior)!=="smooth"&&(this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(u,f,this):u.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=f,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(u.index),this.itemSizeCache=new Map(this.itemSizeCache.set(u.key,i)),this.notify(!1))},this.getVirtualItems=Mo(()=>[this.getVirtualIndexes(),this.getMeasurements()],(n,i)=>{const o=[];for(let u=0,c=n.length;u<c;u++){const f=n[u],h=i[f];o.push(h)}return o},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=n=>{const i=this.getMeasurements();if(i.length!==0)return Bw(i[hx(0,i.length-1,o=>Bw(i[o]).start,n)])},this.getMaxScrollOffset=()=>{if(!this.scrollElement)return 0;if("scrollHeight"in this.scrollElement)return this.options.horizontal?this.scrollElement.scrollWidth-this.scrollElement.clientWidth:this.scrollElement.scrollHeight-this.scrollElement.clientHeight;{const n=this.scrollElement.document.documentElement;return this.options.horizontal?n.scrollWidth-this.scrollElement.innerWidth:n.scrollHeight-this.scrollElement.innerHeight}},this.getOffsetForAlignment=(n,i,o=0)=>{if(!this.scrollElement)return 0;const u=this.getSize(),c=this.getScrollOffset();i==="auto"&&(i=n>=c+u?"end":"start"),i==="center"?n+=(o-u)/2:i==="end"&&(n-=u);const f=this.getMaxScrollOffset();return Math.max(Math.min(f,n),0)},this.getOffsetForIndex=(n,i="auto")=>{n=Math.max(0,Math.min(n,this.options.count-1));const o=this.getSize(),u=this.getScrollOffset(),c=this.measurementsCache[n];if(!c)return;if(i==="auto")if(c.end>=u+o-this.options.scrollPaddingEnd)i="end";else if(c.start<=u+this.options.scrollPaddingStart)i="start";else return[u,i];if(i==="end"&&n===this.options.count-1)return[this.getMaxScrollOffset(),i];const f=i==="end"?c.end+this.options.scrollPaddingEnd:c.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(f,i,c.size),i]},this.scrollToOffset=(n,{align:i="start",behavior:o="auto"}={})=>{const u=this.getOffsetForAlignment(n,i),c=this.now();this.scrollState={index:null,align:i,behavior:o,startedAt:c,lastTargetOffset:u,stableFrames:0},this._scrollToOffset(u,{adjustments:void 0,behavior:o}),this.scheduleScrollReconcile()},this.scrollToIndex=(n,{align:i="auto",behavior:o="auto"}={})=>{n=Math.max(0,Math.min(n,this.options.count-1));const u=this.getOffsetForIndex(n,i);if(!u)return;const[c,f]=u,h=this.now();this.scrollState={index:n,align:f,behavior:o,startedAt:h,lastTargetOffset:c,stableFrames:0},this._scrollToOffset(c,{adjustments:void 0,behavior:o}),this.scheduleScrollReconcile()},this.scrollBy=(n,{behavior:i="auto"}={})=>{const o=this.getScrollOffset()+n,u=this.now();this.scrollState={index:null,align:"start",behavior:i,startedAt:u,lastTargetOffset:o,stableFrames:0},this._scrollToOffset(o,{adjustments:void 0,behavior:i}),this.scheduleScrollReconcile()},this.getTotalSize=()=>{var n;const i=this.getMeasurements();let o;if(i.length===0)o=this.options.paddingStart;else if(this.options.lanes===1)o=((n=i[i.length-1])==null?void 0:n.end)??0;else{const u=Array(this.options.lanes).fill(null);let c=i.length-1;for(;c>=0&&u.some(f=>f===null);){const f=i[c];u[f.lane]===null&&(u[f.lane]=f.end),c--}o=Math.max(...u.filter(f=>f!==null))}return Math.max(o-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(n,{adjustments:i,behavior:o})=>{this.options.scrollToFn(n,{behavior:o,adjustments:i},this)},this.measure=()=>{this.itemSizeCache=new Map,this.laneAssignments=new Map,this.notify(!1)},this.setOptions(t)}scheduleScrollReconcile(){if(!this.targetWindow){this.scrollState=null;return}this.rafId==null&&(this.rafId=this.targetWindow.requestAnimationFrame(()=>{this.rafId=null,this.reconcileScroll()}))}reconcileScroll(){if(!this.scrollState||!this.scrollElement)return;if(this.now()-this.scrollState.startedAt>5e3){this.scrollState=null;return}const i=this.scrollState.index!=null?this.getOffsetForIndex(this.scrollState.index,this.scrollState.align):void 0,o=i?i[0]:this.scrollState.lastTargetOffset,u=1,c=o!==this.scrollState.lastTargetOffset;if(!c&&iU(o,this.getScrollOffset())){if(this.scrollState.stableFrames++,this.scrollState.stableFrames>=u){this.scrollState=null;return}}else this.scrollState.stableFrames=0,c&&(this.scrollState.lastTargetOffset=o,this.scrollState.behavior="auto",this._scrollToOffset(o,{adjustments:void 0,behavior:"auto"}));this.scheduleScrollReconcile()}}const hx=(e,t,n,i)=>{for(;e<=t;){const o=(e+t)/2|0,u=n(o);if(u<i)e=o+1;else if(u>i)t=o-1;else return o}return e>0?e-1:0};function dU({measurements:e,outerSize:t,scrollOffset:n,lanes:i}){const o=e.length-1,u=h=>e[h].start;if(e.length<=i)return{startIndex:0,endIndex:o};let c=hx(0,o,u,n),f=c;if(i===1)for(;f<o&&e[f].end<n+t;)f++;else if(i>1){const h=Array(i).fill(0);for(;f<o&&h.some(p=>p<n+t);){const p=e[f];h[p.lane]=p.end,f++}const g=Array(i).fill(n+t);for(;c>=0&&g.some(p=>p>=n);){const p=e[c];g[p.lane]=p.start,c--}c=Math.max(0,c-c%i),f=Math.min(o,f+(i-1-f%i))}return{startIndex:c,endIndex:f}}const Vw=typeof document<"u"?U.useLayoutEffect:U.useEffect;function gU({useFlushSync:e=!0,...t}){const n=U.useReducer(()=>({}),{})[1],i={...t,onChange:(u,c)=>{var f;e&&c?tE.flushSync(n):n(),(f=t.onChange)==null||f.call(t,u,c)}},[o]=U.useState(()=>new hU(i));return o.setOptions(i),Vw(()=>o._didMount(),[]),Vw(()=>o._willUpdate()),o}function SQ(e){return gU({observeElementRect:uU,observeElementOffset:sU,scrollToFn:fU,...e})}var pU=ZE();const dx=U.createContext(null);function gn(){const e=U.useContext(dx);if(e===null)throw new Error("No Tree Api Provided");return e}const gx=U.createContext(null);function yU(){const e=U.useContext(gx);if(e===null)throw new Error("Provide a NodesContext");return e}const px=U.createContext(null);function mU(){const e=U.useContext(px);if(e===null)throw new Error("Provide a DnDContext");return e}const yx=U.createContext(0);function mx(){U.useContext(yx)}function zc(e,t,n){return Math.max(Math.min(e,n),t)}function vx(e){return e&&e.isLeaf}function bx(e){return e&&e.isInternal&&!e.isOpen}function Sx(e){var t;return e&&e.isOpen&&!(!((t=e.children)===null||t===void 0)&&t.length)}const _x=(e,t)=>{let n=e;for(;n;){if(n.id===t.id)return!0;n=n.parent}return!1},wx=e=>{if(!e.parent)throw Error("Node does not have a parent");return e.parent.children.findIndex(t=>t.id===e.id)};function Cy(e,t){if(!e)return null;if(e.id===t)return e;if(e.children)for(let n of e.children){const i=Cy(n,t);if(i)return i}return null}function bf(e,t){if(t(e),e.children)for(let n of e.children)bf(n,t)}function Mx(e){const t=Ex(e);let n;for(let i=0;i<t.length;++i)if(t[i]===e){n=vU(t,i);break}n==null||n.focus()}function Tx(e){const t=Ex(e);let n;for(let i=0;i<t.length;++i)if(t[i]===e){n=bU(t,i);break}n==null||n.focus()}function vU(e,t){return t+1<e.length?e[t+1]:e[0]}function bU(e,t){return t-1>=0?e[t-1]:e[e.length-1]}function Ex(e){return Array.from(document.querySelectorAll('button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"]):not([disabled]), details:not([disabled]), summary:not(:disabled)')).filter(t=>t===e||!e.contains(t))}function pu(e,t){return typeof t=="boolean"?t:typeof t=="string"?e[t]:t(e)}function xx(e){return e===null?null:ua(e)}function ua(e){return typeof e=="string"?e:e.id}function Ox(e,...t){if(e)return e(...t)}function Cx(e){return new Promise((t,n)=>{let i=0;function o(){i+=1,i===100&&n(),e()?t():setTimeout(o,10)}o()})}function kx(e){var t,n;const i=e.focusedNode;return i?i.isOpen?0:i.parent?i.childIndex+1:0:(n=(t=e.root.children)===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0}function Ax(e){const t=e.focusedNode;return t?t.isOpen?t.id:t.parent&&!t.parent.isRoot?t.parent.id:null:null}const SU=Object.freeze(Object.defineProperty({__proto__:null,access:pu,bound:zc,dfs:Cy,focusNextElement:Mx,focusPrevElement:Tx,getInsertIndex:kx,getInsertParentId:Ax,identify:ua,identifyNull:xx,indexOf:wx,isClosed:bx,isDescendant:_x,isItem:vx,isOpenWithEmptyChildren:Sx,safeRun:Ox,waitFor:Cx,walk:bf},Symbol.toStringTag,{value:"Module"})),_U={display:"flex",alignItems:"center",zIndex:1},wU={flex:1,height:"2px",background:"#4B91E2",borderRadius:"1px"},MU={width:"4px",height:"4px",boxShadow:"0 0 0 3px #4B91E2",borderRadius:"50%"},TU=x1.memo(function({top:t,left:n,indent:i}){const o={position:"absolute",pointerEvents:"none",top:t-2+"px",left:n+"px",right:i+"px"};return Te.jsxs("div",{style:Object.assign(Object.assign({},_U),o),children:[Te.jsx("div",{style:Object.assign({},MU)}),Te.jsx("div",{style:Object.assign({},wU)})]})});function EU({node:e,attrs:t,innerRef:n,children:i}){return Te.jsx("div",Object.assign({},t,{ref:n,onFocus:o=>o.stopPropagation(),onClick:e.handleClick,children:i}))}function xU(e){return Te.jsxs("div",{ref:e.dragHandle,style:e.style,children:[Te.jsx("span",{onClick:t=>{t.stopPropagation(),e.node.toggle()},children:e.node.isLeaf?"🌳":e.node.isOpen?"🗁":"🗀"})," ",e.node.isEditing?Te.jsx(CU,Object.assign({},e)):Te.jsx(OU,Object.assign({},e))]})}function OU(e){return Te.jsx(Te.Fragment,{children:Te.jsx("span",{children:e.node.data.name})})}function CU({node:e}){const t=U.useRef();return U.useEffect(()=>{var n,i;(n=t.current)===null||n===void 0||n.focus(),(i=t.current)===null||i===void 0||i.select()},[]),Te.jsx("input",{ref:t,defaultValue:e.data.name,onBlur:()=>e.reset(),onKeyDown:n=>{var i;n.key==="Escape"&&e.reset(),n.key==="Enter"&&e.submit(((i=t.current)===null||i===void 0?void 0:i.value)||"")}})}function F0(e){return{type:"EDIT",id:e}}function kU(e={id:null},t){return t.type==="EDIT"?Object.assign(Object.assign({},e),{id:t.id}):e}function To(e){return{type:"FOCUS",id:e}}function AU(){return{type:"TREE_BLUR"}}function DU(e={id:null,treeFocused:!1},t){return t.type==="FOCUS"?Object.assign(Object.assign({},e),{id:t.id,treeFocused:!0}):t.type==="TREE_BLUR"?Object.assign(Object.assign({},e),{treeFocused:!1}):e}class Sf{constructor(t){this.handleClick=n=>{n.metaKey&&!this.tree.props.disableMultiSelection?this.isSelected?this.deselect():this.selectMulti():n.shiftKey&&!this.tree.props.disableMultiSelection?this.selectContiguous():(this.select(),this.activate())},this.tree=t.tree,this.id=t.id,this.data=t.data,this.level=t.level,this.children=t.children,this.parent=t.parent,this.isDraggable=t.isDraggable,this.rowIndex=t.rowIndex}get isRoot(){return this.id===ku}get isLeaf(){return!Array.isArray(this.children)}get isInternal(){return!this.isLeaf}get isOpen(){return this.isLeaf?!1:this.tree.isOpen(this.id)}get isClosed(){return this.isLeaf?!1:!this.tree.isOpen(this.id)}get isEditable(){return this.tree.isEditable(this.data)}get isEditing(){return this.tree.editingId===this.id}get isSelected(){return this.tree.isSelected(this.id)}get isOnlySelection(){return this.isSelected&&this.tree.hasOneSelection}get isSelectedStart(){var t;return this.isSelected&&!(!((t=this.prev)===null||t===void 0)&&t.isSelected)}get isSelectedEnd(){var t;return this.isSelected&&!(!((t=this.next)===null||t===void 0)&&t.isSelected)}get isFocused(){return this.tree.isFocused(this.id)}get isDragging(){return this.tree.isDragging(this.id)}get willReceiveDrop(){return this.tree.willReceiveDrop(this.id)}get state(){return{isClosed:this.isClosed,isDragging:this.isDragging,isEditing:this.isEditing,isFocused:this.isFocused,isInternal:this.isInternal,isLeaf:this.isLeaf,isOpen:this.isOpen,isSelected:this.isSelected,isSelectedEnd:this.isSelectedEnd,isSelectedStart:this.isSelectedStart,willReceiveDrop:this.willReceiveDrop}}get childIndex(){return this.parent&&this.parent.children?this.parent.children.findIndex(t=>t.id===this.id):-1}get next(){return this.rowIndex===null?null:this.tree.at(this.rowIndex+1)}get prev(){return this.rowIndex===null?null:this.tree.at(this.rowIndex-1)}get nextSibling(){var t,n;const i=this.childIndex;return(n=(t=this.parent)===null||t===void 0?void 0:t.children[i+1])!==null&&n!==void 0?n:null}isAncestorOf(t){if(!t)return!1;let n=t;for(;n;){if(n.id===this.id)return!0;n=n.parent}return!1}select(){this.tree.select(this)}deselect(){this.tree.deselect(this)}selectMulti(){this.tree.selectMulti(this)}selectContiguous(){this.tree.selectContiguous(this)}activate(){this.tree.activate(this)}focus(){this.tree.focus(this)}toggle(){this.tree.toggle(this)}open(){this.tree.open(this)}openParents(){this.tree.openParents(this)}close(){this.tree.close(this)}submit(t){this.tree.submit(this,t)}reset(){this.tree.reset()}clone(){return new Sf(Object.assign({},this))}edit(){return this.tree.edit(this)}}const ku="__REACT_ARBORIST_INTERNAL_ROOT__";function Fw(e){var t;function n(u,c,f){const h=e.accessId(u),g=new Sf({tree:e,data:u,level:c,parent:f,id:h,children:null,isDraggable:e.isDraggable(u),rowIndex:null}),p=e.accessChildren(u);return p&&(g.children=p.map(m=>n(m,c+1,g))),g}const i=new Sf({tree:e,id:ku,data:{id:ku},level:-1,parent:null,children:null,isDraggable:!0,rowIndex:null}),o=(t=e.props.data)!==null&&t!==void 0?t:[];return i.children=o.map(u=>n(u,0,i)),i}const y1={open(e,t){return{type:"VISIBILITY_OPEN",id:e,filtered:t}},close(e,t){return{type:"VISIBILITY_CLOSE",id:e,filtered:t}},toggle(e,t){return{type:"VISIBILITY_TOGGLE",id:e,filtered:t}},clear(e){return{type:"VISIBILITY_CLEAR",filtered:e}}};function Gw(e={},t){if(t.type==="VISIBILITY_OPEN")return Object.assign(Object.assign({},e),{[t.id]:!0});if(t.type==="VISIBILITY_CLOSE")return Object.assign(Object.assign({},e),{[t.id]:!1});if(t.type==="VISIBILITY_TOGGLE"){const n=e[t.id];return Object.assign(Object.assign({},e),{[t.id]:!n})}else return t.type==="VISIBILITY_CLEAR"?{}:e}function NU(e={filtered:{},unfiltered:{}},t){return t.type.startsWith("VISIBILITY")?t.filtered?Object.assign(Object.assign({},e),{filtered:Gw(e.filtered,t)}):Object.assign(Object.assign({},e),{unfiltered:Gw(e.unfiltered,t)}):e}const Ko=e=>{var t;return{nodes:{open:{filtered:{},unfiltered:(t=e==null?void 0:e.initialOpenState)!==null&&t!==void 0?t:{}},focus:{id:null,treeFocused:!1},edit:{id:null},drag:{id:null,selectedIds:[],destinationParentId:null,destinationIndex:null},selection:{ids:new Set,anchor:null,mostRecent:null}},dnd:{cursor:{type:"none"},dragId:null,dragIds:[],parentId:null,index:-1}}},Bn={clear:()=>({type:"SELECTION_CLEAR"}),only:e=>({type:"SELECTION_ONLY",id:ua(e)}),add:e=>({type:"SELECTION_ADD",ids:(Array.isArray(e)?e:[e]).map(ua)}),remove:e=>({type:"SELECTION_REMOVE",ids:(Array.isArray(e)?e:[e]).map(ua)}),set:e=>Object.assign({type:"SELECTION_SET"},e),mostRecent:e=>({type:"SELECTION_MOST_RECENT",id:e===null?null:ua(e)}),anchor:e=>({type:"SELECTION_ANCHOR",id:e===null?null:ua(e)})};function RU(e=Ko().nodes.selection,t){const n=e.ids;switch(t.type){case"SELECTION_CLEAR":return Object.assign(Object.assign({},e),{ids:new Set});case"SELECTION_ONLY":return Object.assign(Object.assign({},e),{ids:new Set([t.id])});case"SELECTION_ADD":return t.ids.length===0?e:(t.ids.forEach(i=>n.add(i)),Object.assign(Object.assign({},e),{ids:new Set(n)}));case"SELECTION_REMOVE":return t.ids.length===0?e:(t.ids.forEach(i=>n.delete(i)),Object.assign(Object.assign({},e),{ids:new Set(n)}));case"SELECTION_SET":return Object.assign(Object.assign({},e),{ids:t.ids,mostRecent:t.mostRecent,anchor:t.anchor});case"SELECTION_MOST_RECENT":return Object.assign(Object.assign({},e),{mostRecent:t.id});case"SELECTION_ANCHOR":return Object.assign(Object.assign({},e),{anchor:t.id});default:return e}}const Zo={cursor(e){return{type:"DND_CURSOR",cursor:e}},dragStart(e,t){return{type:"DND_DRAG_START",id:e,dragIds:t}},dragEnd(){return{type:"DND_DRAG_END"}},hovering(e,t){return{type:"DND_HOVERING",parentId:e,index:t}}};function zU(e=Ko().dnd,t){switch(t.type){case"DND_CURSOR":return Object.assign(Object.assign({},e),{cursor:t.cursor});case"DND_DRAG_START":return Object.assign(Object.assign({},e),{dragId:t.id,dragIds:t.dragIds});case"DND_DRAG_END":return Ko().dnd;case"DND_HOVERING":return Object.assign(Object.assign({},e),{parentId:t.parentId,index:t.index});default:return e}}const LU={position:"fixed",pointerEvents:"none",zIndex:100,left:0,top:0,width:"100%",height:"100%"},IU=e=>{if(!e)return{display:"none"};const{x:t,y:n}=e;return{transform:`translate(${t}px, ${n}px)`}},qU=e=>{if(!e)return{display:"none"};const{x:t,y:n}=e;return{transform:`translate(${t+10}px, ${n+10}px)`}};function Dx({offset:e,mouse:t,id:n,dragIds:i,isDragging:o}){return Te.jsxs(UU,{isDragging:o,children:[Te.jsx(jU,{offset:e,children:Te.jsx(BU,{id:n,dragIds:i})}),Te.jsx(HU,{mouse:t,count:i.length})]})}const UU=U.memo(function(t){return t.isDragging?Te.jsx("div",{style:LU,children:t.children}):null});function jU(e){return Te.jsx("div",{className:"row preview",style:IU(e.offset),children:e.children})}function HU(e){const{count:t,mouse:n}=e;return t>1?Te.jsx("div",{className:"selected-count",style:qU(n),children:t}):null}const BU=U.memo(function(t){const n=gn(),i=n.get(t.id);return i?Te.jsx(n.renderNode,{preview:!0,node:i,style:{paddingLeft:i.level*n.indent,opacity:.2,background:"transparent"},tree:n}):null});function m1(){return m1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},m1.apply(null,arguments)}function Qw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v1(e,t){return v1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},v1(e,t)}function PU(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,v1(e,t)}var Xw=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function $U(e,t){return!!(e===t||Xw(e)&&Xw(t))}function YU(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!$U(e[n],t[n]))return!1;return!0}function G0(e,t){t===void 0&&(t=YU);var n,i=[],o,u=!1;function c(){for(var f=[],h=0;h<arguments.length;h++)f[h]=arguments[h];return u&&n===this&&t(f,i)||(o=e.apply(this,f),u=!0,n=this,i=f),o}return c}var VU=typeof performance=="object"&&typeof performance.now=="function",Kw=VU?function(){return performance.now()}:function(){return Date.now()};function Zw(e){cancelAnimationFrame(e.id)}function FU(e,t){var n=Kw();function i(){Kw()-n>=t?e.call(null):o.id=requestAnimationFrame(i)}var o={id:requestAnimationFrame(i)};return o}var Q0=-1;function Jw(e){if(e===void 0&&(e=!1),Q0===-1||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),Q0=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return Q0}var Eo=null;function Ww(e){if(e===void 0&&(e=!1),Eo===null||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var i=document.createElement("div"),o=i.style;return o.width="100px",o.height="100px",t.appendChild(i),document.body.appendChild(t),t.scrollLeft>0?Eo="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?Eo="negative":Eo="positive-ascending"),document.body.removeChild(t),Eo}return Eo}var GU=150,QU=function(t,n){return t};function XU(e){var t,n=e.getItemOffset,i=e.getEstimatedTotalSize,o=e.getItemSize,u=e.getOffsetForIndexAndAlignment,c=e.getStartIndexForOffset,f=e.getStopIndexForStartIndex,h=e.initInstanceProps,g=e.shouldResetStyleCacheOnItemSizeChange,p=e.validateProps;return t=(function(m){PU(v,m);function v(M){var b;return b=m.call(this,M)||this,b._instanceProps=h(b.props,Qw(b)),b._outerRef=void 0,b._resetIsScrollingTimeoutId=null,b.state={instance:Qw(b),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof b.props.initialScrollOffset=="number"?b.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},b._callOnItemsRendered=void 0,b._callOnItemsRendered=G0(function(w,E,A,k){return b.props.onItemsRendered({overscanStartIndex:w,overscanStopIndex:E,visibleStartIndex:A,visibleStopIndex:k})}),b._callOnScroll=void 0,b._callOnScroll=G0(function(w,E,A){return b.props.onScroll({scrollDirection:w,scrollOffset:E,scrollUpdateWasRequested:A})}),b._getItemStyle=void 0,b._getItemStyle=function(w){var E=b.props,A=E.direction,k=E.itemSize,T=E.layout,C=b._getItemStyleCache(g&&k,g&&T,g&&A),O;if(C.hasOwnProperty(w))O=C[w];else{var D=n(b.props,w,b._instanceProps),N=o(b.props,w,b._instanceProps),P=A==="horizontal"||T==="horizontal",Z=A==="rtl",W=P?D:0;C[w]=O={position:"absolute",left:Z?void 0:W,right:Z?W:void 0,top:P?0:D,height:P?"100%":N,width:P?N:"100%"}}return O},b._getItemStyleCache=void 0,b._getItemStyleCache=G0(function(w,E,A){return{}}),b._onScrollHorizontal=function(w){var E=w.currentTarget,A=E.clientWidth,k=E.scrollLeft,T=E.scrollWidth;b.setState(function(C){if(C.scrollOffset===k)return null;var O=b.props.direction,D=k;if(O==="rtl")switch(Ww()){case"negative":D=-k;break;case"positive-descending":D=T-A-k;break}return D=Math.max(0,Math.min(D,T-A)),{isScrolling:!0,scrollDirection:C.scrollOffset<D?"forward":"backward",scrollOffset:D,scrollUpdateWasRequested:!1}},b._resetIsScrollingDebounced)},b._onScrollVertical=function(w){var E=w.currentTarget,A=E.clientHeight,k=E.scrollHeight,T=E.scrollTop;b.setState(function(C){if(C.scrollOffset===T)return null;var O=Math.max(0,Math.min(T,k-A));return{isScrolling:!0,scrollDirection:C.scrollOffset<O?"forward":"backward",scrollOffset:O,scrollUpdateWasRequested:!1}},b._resetIsScrollingDebounced)},b._outerRefSetter=function(w){var E=b.props.outerRef;b._outerRef=w,typeof E=="function"?E(w):E!=null&&typeof E=="object"&&E.hasOwnProperty("current")&&(E.current=w)},b._resetIsScrollingDebounced=function(){b._resetIsScrollingTimeoutId!==null&&Zw(b._resetIsScrollingTimeoutId),b._resetIsScrollingTimeoutId=FU(b._resetIsScrolling,GU)},b._resetIsScrolling=function(){b._resetIsScrollingTimeoutId=null,b.setState({isScrolling:!1},function(){b._getItemStyleCache(-1,null)})},b}v.getDerivedStateFromProps=function(b,w){return KU(b,w),p(b),null};var S=v.prototype;return S.scrollTo=function(b){b=Math.max(0,b),this.setState(function(w){return w.scrollOffset===b?null:{scrollDirection:w.scrollOffset<b?"forward":"backward",scrollOffset:b,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},S.scrollToItem=function(b,w){w===void 0&&(w="auto");var E=this.props,A=E.itemCount,k=E.layout,T=this.state.scrollOffset;b=Math.max(0,Math.min(b,A-1));var C=0;if(this._outerRef){var O=this._outerRef;k==="vertical"?C=O.scrollWidth>O.clientWidth?Jw():0:C=O.scrollHeight>O.clientHeight?Jw():0}this.scrollTo(u(this.props,b,w,T,this._instanceProps,C))},S.componentDidMount=function(){var b=this.props,w=b.direction,E=b.initialScrollOffset,A=b.layout;if(typeof E=="number"&&this._outerRef!=null){var k=this._outerRef;w==="horizontal"||A==="horizontal"?k.scrollLeft=E:k.scrollTop=E}this._callPropsCallbacks()},S.componentDidUpdate=function(){var b=this.props,w=b.direction,E=b.layout,A=this.state,k=A.scrollOffset,T=A.scrollUpdateWasRequested;if(T&&this._outerRef!=null){var C=this._outerRef;if(w==="horizontal"||E==="horizontal")if(w==="rtl")switch(Ww()){case"negative":C.scrollLeft=-k;break;case"positive-ascending":C.scrollLeft=k;break;default:var O=C.clientWidth,D=C.scrollWidth;C.scrollLeft=D-O-k;break}else C.scrollLeft=k;else C.scrollTop=k}this._callPropsCallbacks()},S.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&Zw(this._resetIsScrollingTimeoutId)},S.render=function(){var b=this.props,w=b.children,E=b.className,A=b.direction,k=b.height,T=b.innerRef,C=b.innerElementType,O=b.innerTagName,D=b.itemCount,N=b.itemData,P=b.itemKey,Z=P===void 0?QU:P,W=b.layout,G=b.outerElementType,ue=b.outerTagName,q=b.style,re=b.useIsScrolling,R=b.width,F=this.state.isScrolling,ie=A==="horizontal"||W==="horizontal",se=ie?this._onScrollHorizontal:this._onScrollVertical,K=this._getRangeToRender(),z=K[0],Q=K[1],oe=[];if(D>0)for(var le=z;le<=Q;le++)oe.push(U.createElement(w,{data:N,key:Z(le,N),index:le,isScrolling:re?F:void 0,style:this._getItemStyle(le)}));var ce=i(this.props,this._instanceProps);return U.createElement(G||ue||"div",{className:E,onScroll:se,ref:this._outerRefSetter,style:m1({position:"relative",height:k,width:R,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:A},q)},U.createElement(C||O||"div",{children:oe,ref:T,style:{height:ie?"100%":ce,pointerEvents:F?"none":void 0,width:ie?ce:"100%"}}))},S._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var b=this.props.itemCount;if(b>0){var w=this._getRangeToRender(),E=w[0],A=w[1],k=w[2],T=w[3];this._callOnItemsRendered(E,A,k,T)}}if(typeof this.props.onScroll=="function"){var C=this.state,O=C.scrollDirection,D=C.scrollOffset,N=C.scrollUpdateWasRequested;this._callOnScroll(O,D,N)}},S._getRangeToRender=function(){var b=this.props,w=b.itemCount,E=b.overscanCount,A=this.state,k=A.isScrolling,T=A.scrollDirection,C=A.scrollOffset;if(w===0)return[0,0,0,0];var O=c(this.props,C,this._instanceProps),D=f(this.props,O,C,this._instanceProps),N=!k||T==="backward"?Math.max(1,E):1,P=!k||T==="forward"?Math.max(1,E):1;return[Math.max(0,O-N),Math.max(0,Math.min(w-1,D+P)),O,D]},v})(U.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var KU=function(t,n){t.children,t.direction,t.height,t.layout,t.innerTagName,t.outerTagName,t.width,n.instance},ZU=XU({getItemOffset:function(t,n){var i=t.itemSize;return n*i},getItemSize:function(t,n){var i=t.itemSize;return i},getEstimatedTotalSize:function(t){var n=t.itemCount,i=t.itemSize;return i*n},getOffsetForIndexAndAlignment:function(t,n,i,o,u,c){var f=t.direction,h=t.height,g=t.itemCount,p=t.itemSize,m=t.layout,v=t.width,S=f==="horizontal"||m==="horizontal",M=S?v:h,b=Math.max(0,g*p-M),w=Math.min(b,n*p),E=Math.max(0,n*p-M+p+c);switch(i==="smart"&&(o>=E-M&&o<=w+M?i="auto":i="center"),i){case"start":return w;case"end":return E;case"center":{var A=Math.round(E+(w-E)/2);return A<Math.ceil(M/2)?0:A>b+Math.floor(M/2)?b:A}case"auto":default:return o>=E&&o<=w?o:o<E?E:w}},getStartIndexForOffset:function(t,n){var i=t.itemCount,o=t.itemSize;return Math.max(0,Math.min(i-1,Math.floor(n/o)))},getStopIndexForStartIndex:function(t,n,i){var o=t.direction,u=t.height,c=t.itemCount,f=t.itemSize,h=t.layout,g=t.width,p=o==="horizontal"||h==="horizontal",m=n*f,v=p?g:u,S=Math.ceil((v+i-m)/f);return Math.max(0,Math.min(c-1,n+S-1))},initInstanceProps:function(t){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(t){t.itemSize}});function JU(){var e,t;const n=gn(),o=mU().cursor;if(!o||o.type!=="line")return null;const u=n.indent,c=n.rowHeight*o.index+((t=(e=n.props.padding)!==null&&e!==void 0?e:n.props.paddingTop)!==null&&t!==void 0?t:0),f=u*o.level,h=n.renderCursor;return Te.jsx(h,{top:c,left:f,indent:u})}var WU=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n};const ej=U.forwardRef(function(t,n){const{children:i}=t,o=WU(t,["children"]),u=gn();return Te.jsxs("div",Object.assign({ref:n},o,{onClick:c=>{c.currentTarget===c.target&&u.deselectAll()},children:[Te.jsx(tj,{}),i]}))}),tj=()=>{const e=gn();return Te.jsx("div",{style:{height:e.visibleNodes.length*e.rowHeight,width:"100%",position:"absolute",left:"0",right:"0"},children:Te.jsx(JU,{})})};var nj=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n};const rj=U.forwardRef(function(t,n){var i,o,u,c,{style:f}=t,h=nj(t,["style"]);const g=gn(),p=(o=(i=g.props.padding)!==null&&i!==void 0?i:g.props.paddingTop)!==null&&o!==void 0?o:0,m=(c=(u=g.props.padding)!==null&&u!==void 0?u:g.props.paddingBottom)!==null&&c!==void 0?c:0;return Te.jsx("div",Object.assign({ref:n,style:Object.assign(Object.assign({},f),{height:`${parseFloat(f.height)+p+m}px`})},h))});var Nx=U.createContext({dragDropManager:void 0}),Nn;(function(e){e.SOURCE="SOURCE",e.TARGET="TARGET"})(Nn||(Nn={}));function Ee(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];if(!e){var u;if(t===void 0)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=0;u=new Error(t.replace(/%s/g,function(){return i[c++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}}var ky="dnd-core/INIT_COORDS",Hf="dnd-core/BEGIN_DRAG",Ay="dnd-core/PUBLISH_DRAG_SOURCE",Bf="dnd-core/HOVER",Pf="dnd-core/DROP",$f="dnd-core/END_DRAG";function eM(e,t){return{type:ky,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}function Lc(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Lc=function(n){return typeof n}:Lc=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Lc(e)}function ij(e,t,n){return t.split(".").reduce(function(i,o){return i&&i[o]?i[o]:n||null},e)}function aj(e,t){return e.filter(function(n){return n!==t})}function Rx(e){return Lc(e)==="object"}function oj(e,t){var n=new Map,i=function(c){n.set(c,n.has(c)?n.get(c)+1:1)};e.forEach(i),t.forEach(i);var o=[];return n.forEach(function(u,c){u===1&&o.push(c)}),o}function lj(e,t){return e.filter(function(n){return t.indexOf(n)>-1})}var uj={type:ky,payload:{clientOffset:null,sourceClientOffset:null}};function sj(e){return function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{publishSource:!0},o=i.publishSource,u=o===void 0?!0:o,c=i.clientOffset,f=i.getSourceClientOffset,h=e.getMonitor(),g=e.getRegistry();e.dispatch(eM(c)),cj(n,h,g);var p=dj(n,h);if(p===null){e.dispatch(uj);return}var m=null;if(c){if(!f)throw new Error("getSourceClientOffset must be defined");fj(f),m=f(p)}e.dispatch(eM(c,m));var v=g.getSource(p),S=v.beginDrag(h,p);if(S!=null){hj(S),g.pinSource(p);var M=g.getSourceType(p);return{type:Hf,payload:{itemType:M,item:S,sourceId:p,clientOffset:c||null,sourceClientOffset:m||null,isSourcePublic:!!u}}}}}function cj(e,t,n){Ee(!t.isDragging(),"Cannot call beginDrag while dragging."),e.forEach(function(i){Ee(n.getSource(i),"Expected sourceIds to be registered.")})}function fj(e){Ee(typeof e=="function","When clientOffset is provided, getSourceClientOffset must be a function.")}function hj(e){Ee(Rx(e),"Item must be an object.")}function dj(e,t){for(var n=null,i=e.length-1;i>=0;i--)if(t.canDragSource(e[i])){n=e[i];break}return n}function gj(e){return function(){var n=e.getMonitor();if(n.isDragging())return{type:Ay}}}function b1(e,t){return t===null?e===null:Array.isArray(e)?e.some(function(n){return n===t}):e===t}function pj(e){return function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=i.clientOffset;yj(n);var u=n.slice(0),c=e.getMonitor(),f=e.getRegistry();mj(u,c,f);var h=c.getItemType();return vj(u,f,h),bj(u,c,f),{type:Bf,payload:{targetIds:u,clientOffset:o||null}}}}function yj(e){Ee(Array.isArray(e),"Expected targetIds to be an array.")}function mj(e,t,n){Ee(t.isDragging(),"Cannot call hover while not dragging."),Ee(!t.didDrop(),"Cannot call hover after drop.");for(var i=0;i<e.length;i++){var o=e[i];Ee(e.lastIndexOf(o)===i,"Expected targetIds to be unique in the passed array.");var u=n.getTarget(o);Ee(u,"Expected targetIds to be registered.")}}function vj(e,t,n){for(var i=e.length-1;i>=0;i--){var o=e[i],u=t.getTargetType(o);b1(u,n)||e.splice(i,1)}}function bj(e,t,n){e.forEach(function(i){var o=n.getTarget(i);o.hover(t,i)})}function tM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function nM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?tM(Object(n),!0).forEach(function(i){Sj(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tM(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function Sj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _j(e){return function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=e.getMonitor(),o=e.getRegistry();wj(i);var u=Ej(i);u.forEach(function(c,f){var h=Mj(c,f,o,i),g={type:Pf,payload:{dropResult:nM(nM({},n),h)}};e.dispatch(g)})}}function wj(e){Ee(e.isDragging(),"Cannot call drop while not dragging."),Ee(!e.didDrop(),"Cannot call drop twice during one drag operation.")}function Mj(e,t,n,i){var o=n.getTarget(e),u=o?o.drop(i,e):void 0;return Tj(u),typeof u>"u"&&(u=t===0?{}:i.getDropResult()),u}function Tj(e){Ee(typeof e>"u"||Rx(e),"Drop result must either be an object or undefined.")}function Ej(e){var t=e.getTargetIds().filter(e.canDropOnTarget,e);return t.reverse(),t}function xj(e){return function(){var n=e.getMonitor(),i=e.getRegistry();Oj(n);var o=n.getSourceId();if(o!=null){var u=i.getSource(o,!0);u.endDrag(n,o),i.unpinSource()}return{type:$f}}}function Oj(e){Ee(e.isDragging(),"Cannot call endDrag while not dragging.")}function Cj(e){return{beginDrag:sj(e),publishDragSource:gj(e),hover:pj(e),drop:_j(e),endDrag:xj(e)}}function kj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Aj(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Dj(e,t,n){return t&&Aj(e.prototype,t),e}function su(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Nj=(function(){function e(t,n){var i=this;kj(this,e),su(this,"store",void 0),su(this,"monitor",void 0),su(this,"backend",void 0),su(this,"isSetUp",!1),su(this,"handleRefCountChange",function(){var o=i.store.getState().refCount>0;i.backend&&(o&&!i.isSetUp?(i.backend.setup(),i.isSetUp=!0):!o&&i.isSetUp&&(i.backend.teardown(),i.isSetUp=!1))}),this.store=t,this.monitor=n,t.subscribe(this.handleRefCountChange)}return Dj(e,[{key:"receiveBackend",value:function(n){this.backend=n}},{key:"getMonitor",value:function(){return this.monitor}},{key:"getBackend",value:function(){return this.backend}},{key:"getRegistry",value:function(){return this.monitor.registry}},{key:"getActions",value:function(){var n=this,i=this.store.dispatch;function o(c){return function(){for(var f=arguments.length,h=new Array(f),g=0;g<f;g++)h[g]=arguments[g];var p=c.apply(n,h);typeof p<"u"&&i(p)}}var u=Cj(this);return Object.keys(u).reduce(function(c,f){var h=u[f];return c[f]=o(h),c},{})}},{key:"dispatch",value:function(n){this.store.dispatch(n)}}]),e})();function On(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var rM=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})(),iM=function(){return Math.random().toString(36).substring(7).split("").join(".")},aM={INIT:"@@redux/INIT"+iM(),REPLACE:"@@redux/REPLACE"+iM()};function Rj(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function zx(e,t,n){var i;if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(On(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(On(1));return n(zx)(e,t)}if(typeof e!="function")throw new Error(On(2));var o=e,u=t,c=[],f=c,h=!1;function g(){f===c&&(f=c.slice())}function p(){if(h)throw new Error(On(3));return u}function m(b){if(typeof b!="function")throw new Error(On(4));if(h)throw new Error(On(5));var w=!0;return g(),f.push(b),function(){if(w){if(h)throw new Error(On(6));w=!1,g();var A=f.indexOf(b);f.splice(A,1),c=null}}}function v(b){if(!Rj(b))throw new Error(On(7));if(typeof b.type>"u")throw new Error(On(8));if(h)throw new Error(On(9));try{h=!0,u=o(u,b)}finally{h=!1}for(var w=c=f,E=0;E<w.length;E++){var A=w[E];A()}return b}function S(b){if(typeof b!="function")throw new Error(On(10));o=b,v({type:aM.REPLACE})}function M(){var b,w=m;return b={subscribe:function(A){if(typeof A!="object"||A===null)throw new Error(On(11));function k(){A.next&&A.next(p())}k();var T=w(k);return{unsubscribe:T}}},b[rM]=function(){return this},b}return v({type:aM.INIT}),i={dispatch:v,subscribe:m,getState:p,replaceReducer:S},i[rM]=M,i}var zj=function(t,n){return t===n};function Lj(e,t){return!e&&!t?!0:!e||!t?!1:e.x===t.x&&e.y===t.y}function Ij(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:zj;if(e.length!==t.length)return!1;for(var i=0;i<e.length;++i)if(!n(e[i],t[i]))return!1;return!0}function oM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function lM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?oM(Object(n),!0).forEach(function(i){qj(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oM(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function qj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var uM={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function Uj(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:uM,t=arguments.length>1?arguments[1]:void 0,n=t.payload;switch(t.type){case ky:case Hf:return{initialSourceClientOffset:n.sourceClientOffset,initialClientOffset:n.clientOffset,clientOffset:n.clientOffset};case Bf:return Lj(e.clientOffset,n.clientOffset)?e:lM(lM({},e),{},{clientOffset:n.clientOffset});case $f:case Pf:return uM;default:return e}}var Dy="dnd-core/ADD_SOURCE",Ny="dnd-core/ADD_TARGET",Ry="dnd-core/REMOVE_SOURCE",Yf="dnd-core/REMOVE_TARGET";function jj(e){return{type:Dy,payload:{sourceId:e}}}function Hj(e){return{type:Ny,payload:{targetId:e}}}function Bj(e){return{type:Ry,payload:{sourceId:e}}}function Pj(e){return{type:Yf,payload:{targetId:e}}}function sM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function Cn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?sM(Object(n),!0).forEach(function(i){$j(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sM(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function $j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Yj={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function Vj(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Yj,t=arguments.length>1?arguments[1]:void 0,n=t.payload;switch(t.type){case Hf:return Cn(Cn({},e),{},{itemType:n.itemType,item:n.item,sourceId:n.sourceId,isSourcePublic:n.isSourcePublic,dropResult:null,didDrop:!1});case Ay:return Cn(Cn({},e),{},{isSourcePublic:!0});case Bf:return Cn(Cn({},e),{},{targetIds:n.targetIds});case Yf:return e.targetIds.indexOf(n.targetId)===-1?e:Cn(Cn({},e),{},{targetIds:aj(e.targetIds,n.targetId)});case Pf:return Cn(Cn({},e),{},{dropResult:n.dropResult,didDrop:!0,targetIds:[]});case $f:return Cn(Cn({},e),{},{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}}function Fj(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Dy:case Ny:return e+1;case Ry:case Yf:return e-1;default:return e}}var _f=[],zy=[];_f.__IS_NONE__=!0;zy.__IS_ALL__=!0;function Gj(e,t){if(e===_f)return!1;if(e===zy||typeof t>"u")return!0;var n=lj(t,e);return n.length>0}function Qj(){var e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Bf:break;case Dy:case Ny:case Yf:case Ry:return _f;case Hf:case Ay:case $f:case Pf:default:return zy}var t=e.payload,n=t.targetIds,i=n===void 0?[]:n,o=t.prevTargetIds,u=o===void 0?[]:o,c=oj(i,u),f=c.length>0||!Ij(i,u);if(!f)return _f;var h=u[u.length-1],g=i[i.length-1];return h!==g&&(h&&c.push(h),g&&c.push(g)),c}function Xj(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return e+1}function cM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function fM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?cM(Object(n),!0).forEach(function(i){Kj(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cM(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function Kj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zj(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return{dirtyHandlerIds:Qj(e.dirtyHandlerIds,{type:t.type,payload:fM(fM({},t.payload),{},{prevTargetIds:ij(e,"dragOperation.targetIds",[])})}),dragOffset:Uj(e.dragOffset,t),refCount:Fj(e.refCount,t),dragOperation:Vj(e.dragOperation,t),stateId:Xj(e.stateId)}}function Jj(e,t){return{x:e.x+t.x,y:e.y+t.y}}function Lx(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Wj(e){var t=e.clientOffset,n=e.initialClientOffset,i=e.initialSourceClientOffset;return!t||!n||!i?null:Lx(Jj(t,i),n)}function eH(e){var t=e.clientOffset,n=e.initialClientOffset;return!t||!n?null:Lx(t,n)}function tH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nH(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function rH(e,t,n){return t&&nH(e.prototype,t),e}function hM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var iH=(function(){function e(t,n){tH(this,e),hM(this,"store",void 0),hM(this,"registry",void 0),this.store=t,this.registry=n}return rH(e,[{key:"subscribeToStateChange",value:function(n){var i=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{handlerIds:void 0},u=o.handlerIds;Ee(typeof n=="function","listener must be a function."),Ee(typeof u>"u"||Array.isArray(u),"handlerIds, when specified, must be an array of strings.");var c=this.store.getState().stateId,f=function(){var g=i.store.getState(),p=g.stateId;try{var m=p===c||p===c+1&&!Gj(g.dirtyHandlerIds,u);m||n()}finally{c=p}};return this.store.subscribe(f)}},{key:"subscribeToOffsetChange",value:function(n){var i=this;Ee(typeof n=="function","listener must be a function.");var o=this.store.getState().dragOffset,u=function(){var f=i.store.getState().dragOffset;f!==o&&(o=f,n())};return this.store.subscribe(u)}},{key:"canDragSource",value:function(n){if(!n)return!1;var i=this.registry.getSource(n);return Ee(i,"Expected to find a valid source. sourceId=".concat(n)),this.isDragging()?!1:i.canDrag(this,n)}},{key:"canDropOnTarget",value:function(n){if(!n)return!1;var i=this.registry.getTarget(n);if(Ee(i,"Expected to find a valid target. targetId=".concat(n)),!this.isDragging()||this.didDrop())return!1;var o=this.registry.getTargetType(n),u=this.getItemType();return b1(o,u)&&i.canDrop(this,n)}},{key:"isDragging",value:function(){return!!this.getItemType()}},{key:"isDraggingSource",value:function(n){if(!n)return!1;var i=this.registry.getSource(n,!0);if(Ee(i,"Expected to find a valid source. sourceId=".concat(n)),!this.isDragging()||!this.isSourcePublic())return!1;var o=this.registry.getSourceType(n),u=this.getItemType();return o!==u?!1:i.isDragging(this,n)}},{key:"isOverTarget",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{shallow:!1};if(!n)return!1;var o=i.shallow;if(!this.isDragging())return!1;var u=this.registry.getTargetType(n),c=this.getItemType();if(c&&!b1(u,c))return!1;var f=this.getTargetIds();if(!f.length)return!1;var h=f.indexOf(n);return o?h===f.length-1:h>-1}},{key:"getItemType",value:function(){return this.store.getState().dragOperation.itemType}},{key:"getItem",value:function(){return this.store.getState().dragOperation.item}},{key:"getSourceId",value:function(){return this.store.getState().dragOperation.sourceId}},{key:"getTargetIds",value:function(){return this.store.getState().dragOperation.targetIds}},{key:"getDropResult",value:function(){return this.store.getState().dragOperation.dropResult}},{key:"didDrop",value:function(){return this.store.getState().dragOperation.didDrop}},{key:"isSourcePublic",value:function(){return!!this.store.getState().dragOperation.isSourcePublic}},{key:"getInitialClientOffset",value:function(){return this.store.getState().dragOffset.initialClientOffset}},{key:"getInitialSourceClientOffset",value:function(){return this.store.getState().dragOffset.initialSourceClientOffset}},{key:"getClientOffset",value:function(){return this.store.getState().dragOffset.clientOffset}},{key:"getSourceClientOffset",value:function(){return Wj(this.store.getState().dragOffset)}},{key:"getDifferenceFromInitialOffset",value:function(){return eH(this.store.getState().dragOffset)}}]),e})(),aH=0;function oH(){return aH++}function Ic(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ic=function(n){return typeof n}:Ic=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Ic(e)}function lH(e){Ee(typeof e.canDrag=="function","Expected canDrag to be a function."),Ee(typeof e.beginDrag=="function","Expected beginDrag to be a function."),Ee(typeof e.endDrag=="function","Expected endDrag to be a function.")}function uH(e){Ee(typeof e.canDrop=="function","Expected canDrop to be a function."),Ee(typeof e.hover=="function","Expected hover to be a function."),Ee(typeof e.drop=="function","Expected beginDrag to be a function.")}function S1(e,t){if(t&&Array.isArray(e)){e.forEach(function(n){return S1(n,!1)});return}Ee(typeof e=="string"||Ic(e)==="symbol",t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}const dM=typeof global<"u"?global:self,Ix=dM.MutationObserver||dM.WebKitMutationObserver;function qx(e){return function(){const n=setTimeout(o,0),i=setInterval(o,50);function o(){clearTimeout(n),clearInterval(i),e()}}}function sH(e){let t=1;const n=new Ix(e),i=document.createTextNode("");return n.observe(i,{characterData:!0}),function(){t=-t,i.data=t}}const cH=typeof Ix=="function"?sH:qx;class fH{enqueueTask(t){const{queue:n,requestFlush:i}=this;n.length||(i(),this.flushing=!0),n[n.length]=t}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{const{queue:t}=this;for(;this.index<t.length;){const n=this.index;if(this.index++,t[n].call(),this.index>this.capacity){for(let i=0,o=t.length-this.index;i<o;i++)t[i]=t[i+this.index];t.length-=this.index,this.index=0}}t.length=0,this.index=0,this.flushing=!1},this.registerPendingError=t=>{this.pendingErrors.push(t),this.requestErrorThrow()},this.requestFlush=cH(this.flush),this.requestErrorThrow=qx(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}}class hH{call(){try{this.task&&this.task()}catch(t){this.onError(t)}finally{this.task=null,this.release(this)}}constructor(t,n){this.onError=t,this.release=n,this.task=null}}class dH{create(t){const n=this.freeTasks,i=n.length?n.pop():new hH(this.onError,o=>n[n.length]=o);return i.task=t,i}constructor(t){this.onError=t,this.freeTasks=[]}}const Ux=new fH,gH=new dH(Ux.registerPendingError);function pH(e){Ux.enqueueTask(gH.create(e))}function yH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mH(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function vH(e,t,n){return t&&mH(e.prototype,t),e}function xo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bH(e,t){return MH(e)||wH(e,t)||_H(e,t)||SH()}function SH(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1066
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _H(e,t){if(e){if(typeof e=="string")return gM(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gM(e,t)}}function gM(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function wH(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var i=[],o=!0,u=!1,c,f;try{for(n=n.call(e);!(o=(c=n.next()).done)&&(i.push(c.value),!(t&&i.length===t));o=!0);}catch(h){u=!0,f=h}finally{try{!o&&n.return!=null&&n.return()}finally{if(u)throw f}}return i}}function MH(e){if(Array.isArray(e))return e}function TH(e){var t=oH().toString();switch(e){case Nn.SOURCE:return"S".concat(t);case Nn.TARGET:return"T".concat(t);default:throw new Error("Unknown Handler Role: ".concat(e))}}function pM(e){switch(e[0]){case"S":return Nn.SOURCE;case"T":return Nn.TARGET;default:Ee(!1,"Cannot parse handler ID: ".concat(e))}}function yM(e,t){var n=e.entries(),i=!1;do{var o=n.next(),u=o.done,c=bH(o.value,2),f=c[1];if(f===t)return!0;i=!!u}while(!i);return!1}var EH=(function(){function e(t){yH(this,e),xo(this,"types",new Map),xo(this,"dragSources",new Map),xo(this,"dropTargets",new Map),xo(this,"pinnedSourceId",null),xo(this,"pinnedSource",null),xo(this,"store",void 0),this.store=t}return vH(e,[{key:"addSource",value:function(n,i){S1(n),lH(i);var o=this.addHandler(Nn.SOURCE,n,i);return this.store.dispatch(jj(o)),o}},{key:"addTarget",value:function(n,i){S1(n,!0),uH(i);var o=this.addHandler(Nn.TARGET,n,i);return this.store.dispatch(Hj(o)),o}},{key:"containsHandler",value:function(n){return yM(this.dragSources,n)||yM(this.dropTargets,n)}},{key:"getSource",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Ee(this.isSourceId(n),"Expected a valid source ID.");var o=i&&n===this.pinnedSourceId,u=o?this.pinnedSource:this.dragSources.get(n);return u}},{key:"getTarget",value:function(n){return Ee(this.isTargetId(n),"Expected a valid target ID."),this.dropTargets.get(n)}},{key:"getSourceType",value:function(n){return Ee(this.isSourceId(n),"Expected a valid source ID."),this.types.get(n)}},{key:"getTargetType",value:function(n){return Ee(this.isTargetId(n),"Expected a valid target ID."),this.types.get(n)}},{key:"isSourceId",value:function(n){var i=pM(n);return i===Nn.SOURCE}},{key:"isTargetId",value:function(n){var i=pM(n);return i===Nn.TARGET}},{key:"removeSource",value:function(n){var i=this;Ee(this.getSource(n),"Expected an existing source."),this.store.dispatch(Bj(n)),pH(function(){i.dragSources.delete(n),i.types.delete(n)})}},{key:"removeTarget",value:function(n){Ee(this.getTarget(n),"Expected an existing target."),this.store.dispatch(Pj(n)),this.dropTargets.delete(n),this.types.delete(n)}},{key:"pinSource",value:function(n){var i=this.getSource(n);Ee(i,"Expected an existing source."),this.pinnedSourceId=n,this.pinnedSource=i}},{key:"unpinSource",value:function(){Ee(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}},{key:"addHandler",value:function(n,i,o){var u=TH(n);return this.types.set(u,i),n===Nn.SOURCE?this.dragSources.set(u,o):n===Nn.TARGET&&this.dropTargets.set(u,o),u}}]),e})();function xH(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,o=OH(i),u=new iH(o,new EH(o)),c=new Nj(o,u),f=e(c,t,n);return c.receiveBackend(f),c}function OH(e){var t=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__;return zx(Zj,e&&t&&t({name:"dnd-core",instanceId:"dnd-core"}))}var CH=["children"];function kH(e,t){return RH(e)||NH(e,t)||DH(e,t)||AH()}function AH(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1067
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function DH(e,t){if(e){if(typeof e=="string")return mM(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return mM(e,t)}}function mM(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function NH(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var i=[],o=!0,u=!1,c,f;try{for(n=n.call(e);!(o=(c=n.next()).done)&&(i.push(c.value),!(t&&i.length===t));o=!0);}catch(h){u=!0,f=h}finally{try{!o&&n.return!=null&&n.return()}finally{if(u)throw f}}return i}}function RH(e){if(Array.isArray(e))return e}function zH(e,t){if(e==null)return{};var n=LH(e,t),i,o;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(o=0;o<u.length;o++)i=u[o],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function LH(e,t){if(e==null)return{};var n={},i=Object.keys(e),o,u;for(u=0;u<i.length;u++)o=i[u],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}var vM=0,qc=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__"),IH=U.memo(function(t){var n=t.children,i=zH(t,CH),o=qH(i),u=kH(o,2),c=u[0],f=u[1];return U.useEffect(function(){if(f){var h=jx();return++vM,function(){--vM===0&&(h[qc]=null)}}},[]),Te.jsx(Nx.Provider,Object.assign({value:c},{children:n}),void 0)});function qH(e){if("manager"in e){var t={dragDropManager:e.manager};return[t,!1]}var n=UH(e.backend,e.context,e.options,e.debugMode),i=!e.context;return[n,i]}function UH(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:jx(),n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=t;return o[qc]||(o[qc]={dragDropManager:xH(e,t,n,i)}),o[qc]}function jx(){return typeof global<"u"?global:window}function jH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HH(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function BH(e,t,n){return t&&HH(e.prototype,t),e}function bM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var X0=!1,K0=!1,PH=(function(){function e(t){jH(this,e),bM(this,"internalMonitor",void 0),bM(this,"sourceId",null),this.internalMonitor=t.getMonitor()}return BH(e,[{key:"receiveHandlerId",value:function(n){this.sourceId=n}},{key:"getHandlerId",value:function(){return this.sourceId}},{key:"canDrag",value:function(){Ee(!X0,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return X0=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{X0=!1}}},{key:"isDragging",value:function(){if(!this.sourceId)return!1;Ee(!K0,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return K0=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{K0=!1}}},{key:"subscribeToStateChange",value:function(n,i){return this.internalMonitor.subscribeToStateChange(n,i)}},{key:"isDraggingSource",value:function(n){return this.internalMonitor.isDraggingSource(n)}},{key:"isOverTarget",value:function(n,i){return this.internalMonitor.isOverTarget(n,i)}},{key:"getTargetIds",value:function(){return this.internalMonitor.getTargetIds()}},{key:"isSourcePublic",value:function(){return this.internalMonitor.isSourcePublic()}},{key:"getSourceId",value:function(){return this.internalMonitor.getSourceId()}},{key:"subscribeToOffsetChange",value:function(n){return this.internalMonitor.subscribeToOffsetChange(n)}},{key:"canDragSource",value:function(n){return this.internalMonitor.canDragSource(n)}},{key:"canDropOnTarget",value:function(n){return this.internalMonitor.canDropOnTarget(n)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e})();function $H(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YH(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function VH(e,t,n){return t&&YH(e.prototype,t),e}function SM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Z0=!1,FH=(function(){function e(t){$H(this,e),SM(this,"internalMonitor",void 0),SM(this,"targetId",null),this.internalMonitor=t.getMonitor()}return VH(e,[{key:"receiveHandlerId",value:function(n){this.targetId=n}},{key:"getHandlerId",value:function(){return this.targetId}},{key:"subscribeToStateChange",value:function(n,i){return this.internalMonitor.subscribeToStateChange(n,i)}},{key:"canDrop",value:function(){if(!this.targetId)return!1;Ee(!Z0,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return Z0=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{Z0=!1}}},{key:"isOver",value:function(n){return this.targetId?this.internalMonitor.isOverTarget(this.targetId,n):!1}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e})();function GH(e){if(typeof e.type!="string"){var t=e.type.displayName||e.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors."+"You can either wrap ".concat(t," into a <div>, or turn it into a ")+"drag source or a drop target itself.")}}function QH(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!U.isValidElement(t)){var i=t;return e(i,n),i}var o=t;GH(o);var u=n?function(c){return e(c,n)}:e;return XH(o,u)}}function Hx(e){var t={};return Object.keys(e).forEach(function(n){var i=e[n];if(n.endsWith("Ref"))t[n]=e[n];else{var o=QH(i);t[n]=function(){return o}}}),t}function _M(e,t){typeof e=="function"?e(t):e.current=t}function XH(e,t){var n=e.ref;return Ee(typeof n!="string","Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),n?U.cloneElement(e,{ref:function(o){_M(n,o),_M(t,o)}}):U.cloneElement(e,{ref:t})}function Uc(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Uc=function(n){return typeof n}:Uc=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Uc(e)}function _1(e){return e!==null&&Uc(e)==="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function w1(e,t,n,i){var o=void 0;if(o!==void 0)return!!o;if(e===t)return!0;if(typeof e!="object"||!e||typeof t!="object"||!t)return!1;var u=Object.keys(e),c=Object.keys(t);if(u.length!==c.length)return!1;for(var f=Object.prototype.hasOwnProperty.bind(t),h=0;h<u.length;h++){var g=u[h];if(!f(g))return!1;var p=e[g],m=t[g];if(o=void 0,o===!1||o===void 0&&p!==m)return!1}return!0}function KH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZH(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function JH(e,t,n){return t&&ZH(e.prototype,t),e}function It(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var WH=(function(){function e(t){var n=this;KH(this,e),It(this,"hooks",Hx({dragSource:function(o,u){n.clearDragSource(),n.dragSourceOptions=u||null,_1(o)?n.dragSourceRef=o:n.dragSourceNode=o,n.reconnectDragSource()},dragPreview:function(o,u){n.clearDragPreview(),n.dragPreviewOptions=u||null,_1(o)?n.dragPreviewRef=o:n.dragPreviewNode=o,n.reconnectDragPreview()}})),It(this,"handlerId",null),It(this,"dragSourceRef",null),It(this,"dragSourceNode",void 0),It(this,"dragSourceOptionsInternal",null),It(this,"dragSourceUnsubscribe",void 0),It(this,"dragPreviewRef",null),It(this,"dragPreviewNode",void 0),It(this,"dragPreviewOptionsInternal",null),It(this,"dragPreviewUnsubscribe",void 0),It(this,"lastConnectedHandlerId",null),It(this,"lastConnectedDragSource",null),It(this,"lastConnectedDragSourceOptions",null),It(this,"lastConnectedDragPreview",null),It(this,"lastConnectedDragPreviewOptions",null),It(this,"backend",void 0),this.backend=t}return JH(e,[{key:"receiveHandlerId",value:function(n){this.handlerId!==n&&(this.handlerId=n,this.reconnect())}},{key:"connectTarget",get:function(){return this.dragSource}},{key:"dragSourceOptions",get:function(){return this.dragSourceOptionsInternal},set:function(n){this.dragSourceOptionsInternal=n}},{key:"dragPreviewOptions",get:function(){return this.dragPreviewOptionsInternal},set:function(n){this.dragPreviewOptionsInternal=n}},{key:"reconnect",value:function(){this.reconnectDragSource(),this.reconnectDragPreview()}},{key:"reconnectDragSource",value:function(){var n=this.dragSource,i=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();if(i&&this.disconnectDragSource(),!!this.handlerId){if(!n){this.lastConnectedDragSource=n;return}i&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=n,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,n,this.dragSourceOptions))}}},{key:"reconnectDragPreview",value:function(){var n=this.dragPreview,i=this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();if(i&&this.disconnectDragPreview(),!!this.handlerId){if(!n){this.lastConnectedDragPreview=n;return}i&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=n,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,n,this.dragPreviewOptions))}}},{key:"didHandlerIdChange",value:function(){return this.lastConnectedHandlerId!==this.handlerId}},{key:"didConnectedDragSourceChange",value:function(){return this.lastConnectedDragSource!==this.dragSource}},{key:"didConnectedDragPreviewChange",value:function(){return this.lastConnectedDragPreview!==this.dragPreview}},{key:"didDragSourceOptionsChange",value:function(){return!w1(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}},{key:"didDragPreviewOptionsChange",value:function(){return!w1(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}},{key:"disconnectDragSource",value:function(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}},{key:"disconnectDragPreview",value:function(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}},{key:"dragSource",get:function(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}},{key:"dragPreview",get:function(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}},{key:"clearDragSource",value:function(){this.dragSourceNode=null,this.dragSourceRef=null}},{key:"clearDragPreview",value:function(){this.dragPreviewNode=null,this.dragPreviewRef=null}}]),e})();function eB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tB(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function nB(e,t,n){return t&&tB(e.prototype,t),e}function tr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rB=(function(){function e(t){var n=this;eB(this,e),tr(this,"hooks",Hx({dropTarget:function(o,u){n.clearDropTarget(),n.dropTargetOptions=u,_1(o)?n.dropTargetRef=o:n.dropTargetNode=o,n.reconnect()}})),tr(this,"handlerId",null),tr(this,"dropTargetRef",null),tr(this,"dropTargetNode",void 0),tr(this,"dropTargetOptionsInternal",null),tr(this,"unsubscribeDropTarget",void 0),tr(this,"lastConnectedHandlerId",null),tr(this,"lastConnectedDropTarget",null),tr(this,"lastConnectedDropTargetOptions",null),tr(this,"backend",void 0),this.backend=t}return nB(e,[{key:"connectTarget",get:function(){return this.dropTarget}},{key:"reconnect",value:function(){var n=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();n&&this.disconnectDropTarget();var i=this.dropTarget;if(this.handlerId){if(!i){this.lastConnectedDropTarget=i;return}n&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=i,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,i,this.dropTargetOptions))}}},{key:"receiveHandlerId",value:function(n){n!==this.handlerId&&(this.handlerId=n,this.reconnect())}},{key:"dropTargetOptions",get:function(){return this.dropTargetOptionsInternal},set:function(n){this.dropTargetOptionsInternal=n}},{key:"didHandlerIdChange",value:function(){return this.lastConnectedHandlerId!==this.handlerId}},{key:"didDropTargetChange",value:function(){return this.lastConnectedDropTarget!==this.dropTarget}},{key:"didOptionsChange",value:function(){return!w1(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}},{key:"disconnectDropTarget",value:function(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}},{key:"dropTarget",get:function(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}},{key:"clearDropTarget",value:function(){this.dropTargetRef=null,this.dropTargetNode=null}}]),e})();function iB(e,t,n){var i=n.getRegistry(),o=i.addTarget(e,t);return[o,function(){return i.removeTarget(o)}]}function aB(e,t,n){var i=n.getRegistry(),o=i.addSource(e,t);return[o,function(){return i.removeSource(o)}]}var ka=typeof window<"u"?U.useLayoutEffect:U.useEffect;function jc(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?jc=function(n){return typeof n}:jc=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},jc(e)}function oB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lB(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function uB(e,t,n){return t&&lB(e.prototype,t),e}function J0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var sB=(function(){function e(t,n,i){oB(this,e),J0(this,"spec",void 0),J0(this,"monitor",void 0),J0(this,"connector",void 0),this.spec=t,this.monitor=n,this.connector=i}return uB(e,[{key:"beginDrag",value:function(){var n,i=this.spec,o=this.monitor,u=null;return jc(i.item)==="object"?u=i.item:typeof i.item=="function"?u=i.item(o):u={},(n=u)!==null&&n!==void 0?n:null}},{key:"canDrag",value:function(){var n=this.spec,i=this.monitor;return typeof n.canDrag=="boolean"?n.canDrag:typeof n.canDrag=="function"?n.canDrag(i):!0}},{key:"isDragging",value:function(n,i){var o=this.spec,u=this.monitor,c=o.isDragging;return c?c(u):i===n.getSourceId()}},{key:"endDrag",value:function(){var n=this.spec,i=this.monitor,o=this.connector,u=n.end;u&&u(i.getItem(),i),o.reconnect()}}]),e})();function cB(e,t,n){var i=U.useMemo(function(){return new sB(e,t,n)},[t,n]);return U.useEffect(function(){i.spec=e},[e]),i}function Ra(){var e=U.useContext(Nx),t=e.dragDropManager;return Ee(t!=null,"Expected drag drop context"),t}function fB(e){return U.useMemo(function(){var t=e.type;return Ee(t!=null,"spec.type must be defined"),t},[e])}function hB(e,t){return yB(e)||pB(e,t)||gB(e,t)||dB()}function dB(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1068
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function gB(e,t){if(e){if(typeof e=="string")return wM(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return wM(e,t)}}function wM(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function pB(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var i=[],o=!0,u=!1,c,f;try{for(n=n.call(e);!(o=(c=n.next()).done)&&(i.push(c.value),!(t&&i.length===t));o=!0);}catch(h){u=!0,f=h}finally{try{!o&&n.return!=null&&n.return()}finally{if(u)throw f}}return i}}function yB(e){if(Array.isArray(e))return e}function mB(e,t,n){var i=Ra(),o=cB(e,t,n),u=fB(e);ka(function(){if(u!=null){var f=aB(u,o,i),h=hB(f,2),g=h[0],p=h[1];return t.receiveHandlerId(g),n.receiveHandlerId(g),p}},[i,t,n,o,u])}function vB(e){return wB(e)||_B(e)||SB(e)||bB()}function bB(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1069
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function SB(e,t){if(e){if(typeof e=="string")return M1(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return M1(e,t)}}function _B(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function wB(e){if(Array.isArray(e))return M1(e)}function M1(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function Bx(e,t){var n=vB(t||[]);return t==null&&typeof e!="function"&&n.push(e),U.useMemo(function(){return typeof e=="function"?e():e},n)}function MB(){var e=Ra();return U.useMemo(function(){return new PH(e)},[e])}function TB(e,t){var n=Ra(),i=U.useMemo(function(){return new WH(n.getBackend())},[n]);return ka(function(){return i.dragSourceOptions=e||null,i.reconnect(),function(){return i.disconnectDragSource()}},[i,e]),ka(function(){return i.dragPreviewOptions=t||null,i.reconnect(),function(){return i.disconnectDragPreview()}},[i,t]),i}var W0,MM;function EB(){return MM||(MM=1,W0=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;var i,o,u;if(Array.isArray(t)){if(i=t.length,i!=n.length)return!1;for(o=i;o--!==0;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(u=Object.keys(t),i=u.length,i!==Object.keys(n).length)return!1;for(o=i;o--!==0;)if(!Object.prototype.hasOwnProperty.call(n,u[o]))return!1;for(o=i;o--!==0;){var c=u[o];if(!e(t[c],n[c]))return!1}return!0}return t!==t&&n!==n}),W0}var xB=EB();const OB=Zt(xB);function CB(e,t){return NB(e)||DB(e,t)||AB(e,t)||kB()}function kB(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1070
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function AB(e,t){if(e){if(typeof e=="string")return TM(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return TM(e,t)}}function TM(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function DB(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var i=[],o=!0,u=!1,c,f;try{for(n=n.call(e);!(o=(c=n.next()).done)&&(i.push(c.value),!(t&&i.length===t));o=!0);}catch(h){u=!0,f=h}finally{try{!o&&n.return!=null&&n.return()}finally{if(u)throw f}}return i}}function NB(e){if(Array.isArray(e))return e}function Px(e,t,n){var i=U.useState(function(){return t(e)}),o=CB(i,2),u=o[0],c=o[1],f=U.useCallback(function(){var h=t(e);OB(u,h)||(c(h),n&&n())},[u,e,n]);return ka(f),[u,f]}function RB(e,t){return qB(e)||IB(e,t)||LB(e,t)||zB()}function zB(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1071
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function LB(e,t){if(e){if(typeof e=="string")return EM(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return EM(e,t)}}function EM(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function IB(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var i=[],o=!0,u=!1,c,f;try{for(n=n.call(e);!(o=(c=n.next()).done)&&(i.push(c.value),!(t&&i.length===t));o=!0);}catch(h){u=!0,f=h}finally{try{!o&&n.return!=null&&n.return()}finally{if(u)throw f}}return i}}function qB(e){if(Array.isArray(e))return e}function UB(e,t,n){var i=Px(e,t,n),o=RB(i,2),u=o[0],c=o[1];return ka(function(){var h=e.getHandlerId();if(h!=null)return e.subscribeToStateChange(c,{handlerIds:[h]})},[e,c]),u}function $x(e,t,n){return UB(t,e||function(){return{}},function(){return n.reconnect()})}function jB(e){return U.useMemo(function(){return e.hooks.dragSource()},[e])}function HB(e){return U.useMemo(function(){return e.hooks.dragPreview()},[e])}function BB(e,t){var n=Bx(e,t);Ee(!n.begin,"useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");var i=MB(),o=TB(n.options,n.previewOptions);return mB(n,i,o),[$x(n.collect,i,o),jB(o),HB(o)]}function PB(e){var t=e.accept;return U.useMemo(function(){return Ee(e.accept!=null,"accept must be defined"),Array.isArray(t)?t:[t]},[t])}function $B(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YB(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function VB(e,t,n){return t&&YB(e.prototype,t),e}function xM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var FB=(function(){function e(t,n){$B(this,e),xM(this,"spec",void 0),xM(this,"monitor",void 0),this.spec=t,this.monitor=n}return VB(e,[{key:"canDrop",value:function(){var n=this.spec,i=this.monitor;return n.canDrop?n.canDrop(i.getItem(),i):!0}},{key:"hover",value:function(){var n=this.spec,i=this.monitor;n.hover&&n.hover(i.getItem(),i)}},{key:"drop",value:function(){var n=this.spec,i=this.monitor;if(n.drop)return n.drop(i.getItem(),i)}}]),e})();function GB(e,t){var n=U.useMemo(function(){return new FB(e,t)},[t]);return U.useEffect(function(){n.spec=e},[e]),n}function QB(e,t){return JB(e)||ZB(e,t)||KB(e,t)||XB()}function XB(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1072
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function KB(e,t){if(e){if(typeof e=="string")return OM(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return OM(e,t)}}function OM(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function ZB(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var i=[],o=!0,u=!1,c,f;try{for(n=n.call(e);!(o=(c=n.next()).done)&&(i.push(c.value),!(t&&i.length===t));o=!0);}catch(h){u=!0,f=h}finally{try{!o&&n.return!=null&&n.return()}finally{if(u)throw f}}return i}}function JB(e){if(Array.isArray(e))return e}function WB(e,t,n){var i=Ra(),o=GB(e,t),u=PB(e);ka(function(){var f=iB(u,o,i),h=QB(f,2),g=h[0],p=h[1];return t.receiveHandlerId(g),n.receiveHandlerId(g),p},[i,t,o,n,u.map(function(c){return c.toString()}).join("|")])}function eP(){var e=Ra();return U.useMemo(function(){return new FH(e)},[e])}function tP(e){var t=Ra(),n=U.useMemo(function(){return new rB(t.getBackend())},[t]);return ka(function(){return n.dropTargetOptions=e||null,n.reconnect(),function(){return n.disconnectDropTarget()}},[e]),n}function nP(e){return U.useMemo(function(){return e.hooks.dropTarget()},[e])}function Yx(e,t){var n=Bx(e,t),i=eP(),o=tP(n.options);return WB(n,i,o),[$x(n.collect,i,o),nP(o)]}function rP(e,t){return lP(e)||oP(e,t)||aP(e,t)||iP()}function iP(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1073
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function aP(e,t){if(e){if(typeof e=="string")return CM(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return CM(e,t)}}function CM(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function oP(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var i=[],o=!0,u=!1,c,f;try{for(n=n.call(e);!(o=(c=n.next()).done)&&(i.push(c.value),!(t&&i.length===t));o=!0);}catch(h){u=!0,f=h}finally{try{!o&&n.return!=null&&n.return()}finally{if(u)throw f}}return i}}function lP(e){if(Array.isArray(e))return e}function uP(e){var t=Ra(),n=t.getMonitor(),i=Px(n,e),o=rP(i,2),u=o[0],c=o[1];return U.useEffect(function(){return n.subscribeToOffsetChange(c)}),U.useEffect(function(){return n.subscribeToStateChange(c)}),u}function Vx(e){var t=null,n=function(){return t==null&&(t=e()),t};return n}function sP(e,t){return e.filter(function(n){return n!==t})}function cP(e,t){var n=new Set,i=function(c){return n.add(c)};e.forEach(i),t.forEach(i);var o=[];return n.forEach(function(u){return o.push(u)}),o}function fP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hP(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function dP(e,t,n){return t&&hP(e.prototype,t),e}function kM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gP=(function(){function e(t){fP(this,e),kM(this,"entered",[]),kM(this,"isNodeInDocument",void 0),this.isNodeInDocument=t}return dP(e,[{key:"enter",value:function(n){var i=this,o=this.entered.length,u=function(f){return i.isNodeInDocument(f)&&(!f.contains||f.contains(n))};return this.entered=cP(this.entered.filter(u),[n]),o===0&&this.entered.length>0}},{key:"leave",value:function(n){var i=this.entered.length;return this.entered=sP(this.entered.filter(this.isNodeInDocument),n),i>0&&this.entered.length===0}},{key:"reset",value:function(){this.entered=[]}}]),e})(),pP=Vx(function(){return/firefox/i.test(navigator.userAgent)}),Fx=Vx(function(){return!!window.safari});function yP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mP(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function vP(e,t,n){return t&&mP(e.prototype,t),e}function cu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var AM=(function(){function e(t,n){yP(this,e),cu(this,"xs",void 0),cu(this,"ys",void 0),cu(this,"c1s",void 0),cu(this,"c2s",void 0),cu(this,"c3s",void 0);for(var i=t.length,o=[],u=0;u<i;u++)o.push(u);o.sort(function(N,P){return t[N]<t[P]?-1:1});for(var c=[],f=[],h,g,p=0;p<i-1;p++)h=t[p+1]-t[p],g=n[p+1]-n[p],c.push(h),f.push(g/h);for(var m=[f[0]],v=0;v<c.length-1;v++){var S=f[v],M=f[v+1];if(S*M<=0)m.push(0);else{h=c[v];var b=c[v+1],w=h+b;m.push(3*w/((w+b)/S+(w+h)/M))}}m.push(f[f.length-1]);for(var E=[],A=[],k,T=0;T<m.length-1;T++){k=f[T];var C=m[T],O=1/c[T],D=C+m[T+1]-k-k;E.push((k-C-D)*O),A.push(D*O*O)}this.xs=t,this.ys=n,this.c1s=m,this.c2s=E,this.c3s=A}return vP(e,[{key:"interpolate",value:function(n){var i=this.xs,o=this.ys,u=this.c1s,c=this.c2s,f=this.c3s,h=i.length-1;if(n===i[h])return o[h];for(var g=0,p=f.length-1,m;g<=p;){m=Math.floor(.5*(g+p));var v=i[m];if(v<n)g=m+1;else if(v>n)p=m-1;else return o[m]}h=Math.max(0,p);var S=n-i[h],M=S*S;return o[h]+u[h]*S+c[h]*M+f[h]*S*M}}]),e})(),bP=1;function Gx(e){var t=e.nodeType===bP?e:e.parentElement;if(!t)return null;var n=t.getBoundingClientRect(),i=n.top,o=n.left;return{x:o,y:i}}function wc(e){return{x:e.clientX,y:e.clientY}}function SP(e){var t;return e.nodeName==="IMG"&&(pP()||!((t=document.documentElement)!==null&&t!==void 0&&t.contains(e)))}function _P(e,t,n,i){var o=e?t.width:n,u=e?t.height:i;return Fx()&&e&&(u/=window.devicePixelRatio,o/=window.devicePixelRatio),{dragPreviewWidth:o,dragPreviewHeight:u}}function wP(e,t,n,i,o){var u=SP(t),c=u?e:t,f=Gx(c),h={x:n.x-f.x,y:n.y-f.y},g=e.offsetWidth,p=e.offsetHeight,m=i.anchorX,v=i.anchorY,S=_P(u,t,g,p),M=S.dragPreviewWidth,b=S.dragPreviewHeight,w=function(){var D=new AM([0,.5,1],[h.y,h.y/p*b,h.y+b-p]),N=D.interpolate(v);return Fx()&&u&&(N+=(window.devicePixelRatio-1)*b),N},E=function(){var D=new AM([0,.5,1],[h.x,h.x/g*M,h.x+M-g]);return D.interpolate(m)},A=o.offsetX,k=o.offsetY,T=A===0||A,C=k===0||k;return{x:T?A:E(),y:C?k:w()}}var Qx="__NATIVE_FILE__",Xx="__NATIVE_URL__",Kx="__NATIVE_TEXT__",Zx="__NATIVE_HTML__";const DM=Object.freeze(Object.defineProperty({__proto__:null,FILE:Qx,HTML:Zx,TEXT:Kx,URL:Xx},Symbol.toStringTag,{value:"Module"}));function ep(e,t,n){var i=t.reduce(function(o,u){return o||e.getData(u)},"");return i??n}var Oo;function Mc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var T1=(Oo={},Mc(Oo,Qx,{exposeProperties:{files:function(t){return Array.prototype.slice.call(t.files)},items:function(t){return t.items},dataTransfer:function(t){return t}},matchesTypes:["Files"]}),Mc(Oo,Zx,{exposeProperties:{html:function(t,n){return ep(t,n,"")},dataTransfer:function(t){return t}},matchesTypes:["Html","text/html"]}),Mc(Oo,Xx,{exposeProperties:{urls:function(t,n){return ep(t,n,"").split(`
|
|
1074
|
+
`)},dataTransfer:function(t){return t}},matchesTypes:["Url","text/uri-list"]}),Mc(Oo,Kx,{exposeProperties:{text:function(t,n){return ep(t,n,"")},dataTransfer:function(t){return t}},matchesTypes:["Text","text/plain"]}),Oo);function MP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TP(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function EP(e,t,n){return t&&TP(e.prototype,t),e}function NM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xP=(function(){function e(t){MP(this,e),NM(this,"item",void 0),NM(this,"config",void 0),this.config=t,this.item={},this.initializeExposedProperties()}return EP(e,[{key:"initializeExposedProperties",value:function(){var n=this;Object.keys(this.config.exposeProperties).forEach(function(i){Object.defineProperty(n.item,i,{configurable:!0,enumerable:!0,get:function(){return console.warn(`Browser doesn't allow reading "`.concat(i,'" until the drop event.')),null}})})}},{key:"loadDataTransfer",value:function(n){var i=this;if(n){var o={};Object.keys(this.config.exposeProperties).forEach(function(u){o[u]={value:i.config.exposeProperties[u](n,i.config.matchesTypes),configurable:!0,enumerable:!0}}),Object.defineProperties(this.item,o)}}},{key:"canDrag",value:function(){return!0}},{key:"beginDrag",value:function(){return this.item}},{key:"isDragging",value:function(n,i){return i===n.getSourceId()}},{key:"endDrag",value:function(){}}]),e})();function OP(e,t){var n=new xP(T1[e]);return n.loadDataTransfer(t),n}function tp(e){if(!e)return null;var t=Array.prototype.slice.call(e.types||[]);return Object.keys(T1).filter(function(n){var i=T1[n].matchesTypes;return i.some(function(o){return t.indexOf(o)>-1})})[0]||null}function CP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kP(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function AP(e,t,n){return t&&kP(e.prototype,t),e}function np(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var DP=(function(){function e(t,n){CP(this,e),np(this,"ownerDocument",null),np(this,"globalContext",void 0),np(this,"optionsArgs",void 0),this.globalContext=t,this.optionsArgs=n}return AP(e,[{key:"window",get:function(){if(this.globalContext)return this.globalContext;if(typeof window<"u")return window}},{key:"document",get:function(){var n;return(n=this.globalContext)!==null&&n!==void 0&&n.document?this.globalContext.document:this.window?this.window.document:void 0}},{key:"rootElement",get:function(){var n;return((n=this.optionsArgs)===null||n===void 0?void 0:n.rootElement)||this.window}}]),e})();function RM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function zM(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?RM(Object(n),!0).forEach(function(i){Le(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):RM(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function NP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RP(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function zP(e,t,n){return t&&RP(e.prototype,t),e}function Le(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var LP=(function(){function e(t,n,i){var o=this;NP(this,e),Le(this,"options",void 0),Le(this,"actions",void 0),Le(this,"monitor",void 0),Le(this,"registry",void 0),Le(this,"enterLeaveCounter",void 0),Le(this,"sourcePreviewNodes",new Map),Le(this,"sourcePreviewNodeOptions",new Map),Le(this,"sourceNodes",new Map),Le(this,"sourceNodeOptions",new Map),Le(this,"dragStartSourceIds",null),Le(this,"dropTargetIds",[]),Le(this,"dragEnterTargetIds",[]),Le(this,"currentNativeSource",null),Le(this,"currentNativeHandle",null),Le(this,"currentDragSourceNode",null),Le(this,"altKeyPressed",!1),Le(this,"mouseMoveTimeoutTimer",null),Le(this,"asyncEndDragFrameId",null),Le(this,"dragOverTargetIds",null),Le(this,"lastClientOffset",null),Le(this,"hoverRafId",null),Le(this,"getSourceClientOffset",function(u){var c=o.sourceNodes.get(u);return c&&Gx(c)||null}),Le(this,"endDragNativeItem",function(){o.isDraggingNativeItem()&&(o.actions.endDrag(),o.currentNativeHandle&&o.registry.removeSource(o.currentNativeHandle),o.currentNativeHandle=null,o.currentNativeSource=null)}),Le(this,"isNodeInDocument",function(u){return!!(u&&o.document&&o.document.body&&o.document.body.contains(u))}),Le(this,"endDragIfSourceWasRemovedFromDOM",function(){var u=o.currentDragSourceNode;u==null||o.isNodeInDocument(u)||o.clearCurrentDragSourceNode()&&o.monitor.isDragging()&&o.actions.endDrag()}),Le(this,"handleTopDragStartCapture",function(){o.clearCurrentDragSourceNode(),o.dragStartSourceIds=[]}),Le(this,"handleTopDragStart",function(u){if(!u.defaultPrevented){var c=o.dragStartSourceIds;o.dragStartSourceIds=null;var f=wc(u);o.monitor.isDragging()&&o.actions.endDrag(),o.actions.beginDrag(c||[],{publishSource:!1,getSourceClientOffset:o.getSourceClientOffset,clientOffset:f});var h=u.dataTransfer,g=tp(h);if(o.monitor.isDragging()){if(h&&typeof h.setDragImage=="function"){var p=o.monitor.getSourceId(),m=o.sourceNodes.get(p),v=o.sourcePreviewNodes.get(p)||m;if(v){var S=o.getCurrentSourcePreviewNodeOptions(),M=S.anchorX,b=S.anchorY,w=S.offsetX,E=S.offsetY,A={anchorX:M,anchorY:b},k={offsetX:w,offsetY:E},T=wP(m,v,f,A,k);h.setDragImage(v,T.x,T.y)}}try{h==null||h.setData("application/json",{})}catch{}o.setCurrentDragSourceNode(u.target);var C=o.getCurrentSourcePreviewNodeOptions(),O=C.captureDraggingState;O?o.actions.publishDragSource():setTimeout(function(){return o.actions.publishDragSource()},0)}else if(g)o.beginDragNativeItem(g);else{if(h&&!h.types&&(u.target&&!u.target.hasAttribute||!u.target.hasAttribute("draggable")))return;u.preventDefault()}}}),Le(this,"handleTopDragEndCapture",function(){o.clearCurrentDragSourceNode()&&o.monitor.isDragging()&&o.actions.endDrag()}),Le(this,"handleTopDragEnterCapture",function(u){o.dragEnterTargetIds=[];var c=o.enterLeaveCounter.enter(u.target);if(!(!c||o.monitor.isDragging())){var f=u.dataTransfer,h=tp(f);h&&o.beginDragNativeItem(h,f)}}),Le(this,"handleTopDragEnter",function(u){var c=o.dragEnterTargetIds;if(o.dragEnterTargetIds=[],!!o.monitor.isDragging()){o.altKeyPressed=u.altKey,c.length>0&&o.actions.hover(c,{clientOffset:wc(u)});var f=c.some(function(h){return o.monitor.canDropOnTarget(h)});f&&(u.preventDefault(),u.dataTransfer&&(u.dataTransfer.dropEffect=o.getCurrentDropEffect()))}}),Le(this,"handleTopDragOverCapture",function(){o.dragOverTargetIds=[]}),Le(this,"handleTopDragOver",function(u){var c=o.dragOverTargetIds;if(o.dragOverTargetIds=[],!o.monitor.isDragging()){u.preventDefault(),u.dataTransfer&&(u.dataTransfer.dropEffect="none");return}o.altKeyPressed=u.altKey,o.lastClientOffset=wc(u),o.hoverRafId===null&&typeof requestAnimationFrame<"u"&&(o.hoverRafId=requestAnimationFrame(function(){o.monitor.isDragging()&&o.actions.hover(c||[],{clientOffset:o.lastClientOffset}),o.hoverRafId=null}));var f=(c||[]).some(function(h){return o.monitor.canDropOnTarget(h)});f?(u.preventDefault(),u.dataTransfer&&(u.dataTransfer.dropEffect=o.getCurrentDropEffect())):o.isDraggingNativeItem()?u.preventDefault():(u.preventDefault(),u.dataTransfer&&(u.dataTransfer.dropEffect="none"))}),Le(this,"handleTopDragLeaveCapture",function(u){o.isDraggingNativeItem()&&u.preventDefault();var c=o.enterLeaveCounter.leave(u.target);c&&o.isDraggingNativeItem()&&setTimeout(function(){return o.endDragNativeItem()},0)}),Le(this,"handleTopDropCapture",function(u){if(o.dropTargetIds=[],o.isDraggingNativeItem()){var c;u.preventDefault(),(c=o.currentNativeSource)===null||c===void 0||c.loadDataTransfer(u.dataTransfer)}else tp(u.dataTransfer)&&u.preventDefault();o.enterLeaveCounter.reset()}),Le(this,"handleTopDrop",function(u){var c=o.dropTargetIds;o.dropTargetIds=[],o.actions.hover(c,{clientOffset:wc(u)}),o.actions.drop({dropEffect:o.getCurrentDropEffect()}),o.isDraggingNativeItem()?o.endDragNativeItem():o.monitor.isDragging()&&o.actions.endDrag()}),Le(this,"handleSelectStart",function(u){var c=u.target;typeof c.dragDrop=="function"&&(c.tagName==="INPUT"||c.tagName==="SELECT"||c.tagName==="TEXTAREA"||c.isContentEditable||(u.preventDefault(),c.dragDrop()))}),this.options=new DP(n,i),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.enterLeaveCounter=new gP(this.isNodeInDocument)}return zP(e,[{key:"profile",value:function(){var n,i;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:((n=this.dragStartSourceIds)===null||n===void 0?void 0:n.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:((i=this.dragOverTargetIds)===null||i===void 0?void 0:i.length)||0}}},{key:"window",get:function(){return this.options.window}},{key:"document",get:function(){return this.options.document}},{key:"rootElement",get:function(){return this.options.rootElement}},{key:"setup",value:function(){var n=this.rootElement;if(n!==void 0){if(n.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");n.__isReactDndBackendSetUp=!0,this.addEventListeners(n)}}},{key:"teardown",value:function(){var n=this.rootElement;if(n!==void 0&&(n.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId)){var i;(i=this.window)===null||i===void 0||i.cancelAnimationFrame(this.asyncEndDragFrameId)}}},{key:"connectDragPreview",value:function(n,i,o){var u=this;return this.sourcePreviewNodeOptions.set(n,o),this.sourcePreviewNodes.set(n,i),function(){u.sourcePreviewNodes.delete(n),u.sourcePreviewNodeOptions.delete(n)}}},{key:"connectDragSource",value:function(n,i,o){var u=this;this.sourceNodes.set(n,i),this.sourceNodeOptions.set(n,o);var c=function(g){return u.handleDragStart(g,n)},f=function(g){return u.handleSelectStart(g)};return i.setAttribute("draggable","true"),i.addEventListener("dragstart",c),i.addEventListener("selectstart",f),function(){u.sourceNodes.delete(n),u.sourceNodeOptions.delete(n),i.removeEventListener("dragstart",c),i.removeEventListener("selectstart",f),i.setAttribute("draggable","false")}}},{key:"connectDropTarget",value:function(n,i){var o=this,u=function(g){return o.handleDragEnter(g,n)},c=function(g){return o.handleDragOver(g,n)},f=function(g){return o.handleDrop(g,n)};return i.addEventListener("dragenter",u),i.addEventListener("dragover",c),i.addEventListener("drop",f),function(){i.removeEventListener("dragenter",u),i.removeEventListener("dragover",c),i.removeEventListener("drop",f)}}},{key:"addEventListeners",value:function(n){n.addEventListener&&(n.addEventListener("dragstart",this.handleTopDragStart),n.addEventListener("dragstart",this.handleTopDragStartCapture,!0),n.addEventListener("dragend",this.handleTopDragEndCapture,!0),n.addEventListener("dragenter",this.handleTopDragEnter),n.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),n.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),n.addEventListener("dragover",this.handleTopDragOver),n.addEventListener("dragover",this.handleTopDragOverCapture,!0),n.addEventListener("drop",this.handleTopDrop),n.addEventListener("drop",this.handleTopDropCapture,!0))}},{key:"removeEventListeners",value:function(n){n.removeEventListener&&(n.removeEventListener("dragstart",this.handleTopDragStart),n.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),n.removeEventListener("dragend",this.handleTopDragEndCapture,!0),n.removeEventListener("dragenter",this.handleTopDragEnter),n.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),n.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),n.removeEventListener("dragover",this.handleTopDragOver),n.removeEventListener("dragover",this.handleTopDragOverCapture,!0),n.removeEventListener("drop",this.handleTopDrop),n.removeEventListener("drop",this.handleTopDropCapture,!0))}},{key:"getCurrentSourceNodeOptions",value:function(){var n=this.monitor.getSourceId(),i=this.sourceNodeOptions.get(n);return zM({dropEffect:this.altKeyPressed?"copy":"move"},i||{})}},{key:"getCurrentDropEffect",value:function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}},{key:"getCurrentSourcePreviewNodeOptions",value:function(){var n=this.monitor.getSourceId(),i=this.sourcePreviewNodeOptions.get(n);return zM({anchorX:.5,anchorY:.5,captureDraggingState:!1},i||{})}},{key:"isDraggingNativeItem",value:function(){var n=this.monitor.getItemType();return Object.keys(DM).some(function(i){return DM[i]===n})}},{key:"beginDragNativeItem",value:function(n,i){this.clearCurrentDragSourceNode(),this.currentNativeSource=OP(n,i),this.currentNativeHandle=this.registry.addSource(n,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}},{key:"setCurrentDragSourceNode",value:function(n){var i=this;this.clearCurrentDragSourceNode(),this.currentDragSourceNode=n;var o=1e3;this.mouseMoveTimeoutTimer=setTimeout(function(){var u;return(u=i.rootElement)===null||u===void 0?void 0:u.addEventListener("mousemove",i.endDragIfSourceWasRemovedFromDOM,!0)},o)}},{key:"clearCurrentDragSourceNode",value:function(){if(this.currentDragSourceNode){if(this.currentDragSourceNode=null,this.rootElement){var n;(n=this.window)===null||n===void 0||n.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}return this.mouseMoveTimeoutTimer=null,!0}return!1}},{key:"handleDragStart",value:function(n,i){n.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(i))}},{key:"handleDragEnter",value:function(n,i){this.dragEnterTargetIds.unshift(i)}},{key:"handleDragOver",value:function(n,i){this.dragOverTargetIds===null&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(i)}},{key:"handleDrop",value:function(n,i){this.dropTargetIds.unshift(i)}}]),e})(),Tc;function IP(){return Tc||(Tc=new Image,Tc.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),Tc}var qP=function(t,n,i){return new LP(t,n,i)};function UP(e){const t=gn(),n=t.selectedIds,[i,o,u]=BB(()=>({canDrag:()=>e.isDraggable,type:"NODE",item:()=>{const c=t.isSelected(e.id)?Array.from(n):[e.id];return t.dispatch(Zo.dragStart(e.id,c)),{id:e.id,dragIds:c}},end:()=>{t.hideCursor(),t.dispatch(Zo.dragEnd())}}),[n,e]);return U.useEffect(()=>{u(IP())},[u]),o}function jP(e,t){const n=e.getBoundingClientRect(),i=t.x-Math.round(n.x),o=t.y-Math.round(n.y),u=n.height,c=o<u/2,f=!c,h=u/4,g=o>h&&o<u-h;return{x:i,inTopHalf:c,inBottomHalf:f,inMiddle:g,atTop:!g&&c,atBottom:!g&&f}}function HP(e,t,n,i){return e?e.isInternal?i.atTop?[t,e]:i.inMiddle?[e,e]:[e,n]:i.inTopHalf?[t,e]:[e,n]:[t,null]}function Ec(e,t){return{parentId:e||null,index:t}}function Co(e,t){return{type:"line",index:e,level:t}}function BP(e){return{type:"highlight",id:e}}function rp(e,t){var n;let i=e;for(;i.parent&&i.level>t;)i=i.parent;const o=((n=i.parent)===null||n===void 0?void 0:n.id)||null,u=wx(i)+1;return{parentId:o,index:u}}function Jx(e){var t;const n=jP(e.element,e.offset),i=e.indent,o=Math.round(Math.max(0,n.x-i)/i),{node:u,nextNode:c,prevNode:f}=e,[h,g]=HP(u,f,c,n);if(u&&u.isInternal&&n.inMiddle)return{drop:Ec(u.id,null),cursor:BP(u.id)};if(!h)return{drop:Ec((t=g==null?void 0:g.parent)===null||t===void 0?void 0:t.id,0),cursor:Co(0,0)};if(vx(h)){const p=zc(o,(g==null?void 0:g.level)||0,h.level);return{drop:rp(h,p),cursor:Co(h.rowIndex+1,p)}}if(bx(h)){const p=zc(o,(g==null?void 0:g.level)||0,h.level);return{drop:rp(h,p),cursor:Co(h.rowIndex+1,p)}}if(Sx(h)){const p=zc(o,0,h.level+1);return p>h.level?{drop:Ec(h.id,0),cursor:Co(h.rowIndex+1,p)}:{drop:rp(h,p),cursor:Co(h.rowIndex+1,p)}}return{drop:Ec(h==null?void 0:h.id,0),cursor:Co(h.rowIndex+1,h.level+1)}}function PP(e,t){const n=gn(),[i,o]=Yx(()=>({accept:"NODE",canDrop:()=>n.canDrop(),hover:(u,c)=>{const f=c.getClientOffset();if(!e.current||!f)return;const{cursor:h,drop:g}=Jx({element:e.current,offset:f,indent:n.indent,node:t,prevNode:t.prev,nextNode:t.next});g&&n.dispatch(Zo.hovering(g.parentId,g.index)),c.canDrop()?h&&n.showCursor(h):n.hideCursor()},drop:(u,c)=>{if(!c.canDrop())return null;let{parentId:f,index:h,dragIds:g}=n.state.dnd;Ox(n.props.onMove,{dragIds:g,parentId:f===ku?null:f,index:h===null?0:h,dragNodes:n.dragNodes,parentNode:n.get(f)}),n.open(f)}}),[t,e.current,n.props]);return o}function $P(e){const t=gn(),n=t.at(e);if(!n)throw new Error(`Could not find node for index: ${e}`);return U.useMemo(()=>{const i=n.clone();return t.visibleNodes[e]=i,i},[...Object.values(n.state),n])}const YP=x1.memo(function({index:t,style:n}){mx(),yU();const i=gn(),o=$P(t),u=U.useRef(null),c=UP(o),f=PP(u,o),h=U.useCallback(b=>{u.current=b,f(b)},[f]),g=i.indent*o.level,p=U.useMemo(()=>({paddingLeft:g}),[g]),m=U.useMemo(()=>{var b,w;return Object.assign(Object.assign({},n),{top:parseFloat(n.top)+((w=(b=i.props.padding)!==null&&b!==void 0?b:i.props.paddingTop)!==null&&w!==void 0?w:0)})},[n,i.props.padding,i.props.paddingTop]),v={role:"treeitem","aria-level":o.level+1,"aria-selected":o.isSelected,"aria-expanded":o.isOpen,style:m,tabIndex:-1,className:i.props.rowClassName};U.useEffect(()=>{var b;!o.isEditing&&o.isFocused&&((b=u.current)===null||b===void 0||b.focus({preventScroll:!0}))},[o.isEditing,o.isFocused,u.current]);const S=i.renderNode,M=i.renderRow;return Te.jsx(M,{node:o,innerRef:h,attrs:v,children:Te.jsx(S,{node:o,tree:i,style:p,dragHandle:c})})});let ip="",LM=null;function Wx(){mx();const e=gn();return Te.jsx("div",{role:"tree",style:{height:e.height,width:e.width,minHeight:0,minWidth:0},onContextMenu:e.props.onContextMenu,onClick:e.props.onClick,tabIndex:0,onFocus:t=>{t.currentTarget.contains(t.relatedTarget)||e.onFocus()},onBlur:t=>{t.currentTarget.contains(t.relatedTarget)||e.onBlur()},onKeyDown:t=>{var n;if(e.isEditing)return;if(t.key==="Backspace"){if(!e.props.onDelete)return;const o=Array.from(e.selectedIds);if(o.length>1){let u=e.mostRecentNode;for(;u&&u.isSelected;)u=u.nextSibling;u||(u=e.lastNode),e.focus(u,{scroll:!1}),e.delete(Array.from(o))}else{const u=e.focusedNode;if(u){const c=u.nextSibling,f=u.parent;e.focus(c||f,{scroll:!1}),e.delete(u)}}return}if(t.key==="Tab"&&!t.shiftKey){t.preventDefault(),Mx(t.currentTarget);return}if(t.key==="Tab"&&t.shiftKey){t.preventDefault(),Tx(t.currentTarget);return}if(t.key==="ArrowDown"){t.preventDefault();const o=e.nextNode;if(t.metaKey){e.select(e.focusedNode),e.activate(e.focusedNode);return}else if(!t.shiftKey||e.props.disableMultiSelection){e.focus(o);return}else{if(!o)return;const u=e.focusedNode;u?u.isSelected?e.selectContiguous(o):e.selectMulti(o):e.focus(e.firstNode);return}}if(t.key==="ArrowUp"){t.preventDefault();const o=e.prevNode;if(!t.shiftKey||e.props.disableMultiSelection){e.focus(o);return}else{if(!o)return;const u=e.focusedNode;u?u.isSelected?e.selectContiguous(o):e.selectMulti(o):e.focus(e.lastNode);return}}if(t.key==="ArrowRight"){const o=e.focusedNode;if(!o)return;o.isInternal&&o.isOpen?e.focus(e.nextNode):o.isInternal&&e.open(o.id);return}if(t.key==="ArrowLeft"){const o=e.focusedNode;if(!o||o.isRoot)return;o.isInternal&&o.isOpen?e.close(o.id):!((n=o.parent)===null||n===void 0)&&n.isRoot||e.focus(o.parent);return}if(t.key==="a"&&t.metaKey&&!e.props.disableMultiSelection){t.preventDefault(),e.selectAll();return}if(t.key==="a"&&!t.metaKey&&e.props.onCreate){e.createLeaf();return}if(t.key==="A"&&!t.metaKey){if(!e.props.onCreate)return;e.createInternal();return}if(t.key==="Home"){t.preventDefault(),e.focus(e.firstNode);return}if(t.key==="End"){t.preventDefault(),e.focus(e.lastNode);return}if(t.key==="Enter"){const o=e.focusedNode;if(!o||!o.isEditable||!e.props.onRename)return;setTimeout(()=>{o&&e.edit(o)});return}if(t.key===" "){t.preventDefault();const o=e.focusedNode;if(!o)return;o.isLeaf?(o.select(),o.activate()):o.toggle();return}if(t.key==="*"){const o=e.focusedNode;if(!o)return;e.openSiblings(o);return}if(t.key==="PageUp"){t.preventDefault(),e.pageUp();return}t.key==="PageDown"&&(t.preventDefault(),e.pageDown()),clearTimeout(LM),ip+=t.key,LM=setTimeout(()=>{ip=""},600);const i=e.visibleNodes.find(o=>{const u=o.data.name;return typeof u=="string"?u.toLowerCase().startsWith(ip):!1});i&&e.focus(i.id)},children:Te.jsx(ZU,{className:e.props.className,outerRef:e.listEl,itemCount:e.visibleNodes.length,height:e.height,width:e.width,itemSize:e.rowHeight,overscanCount:e.overscanCount,itemKey:t=>{var n;return((n=e.visibleNodes[t])===null||n===void 0?void 0:n.id)||t},outerElementType:ej,innerElementType:rj,onScroll:e.props.onScroll,onItemsRendered:e.onItemsRendered.bind(e),ref:e.list,children:YP})})}function IM(e){return e.isFiltered?FP(e.root,e.isMatch.bind(e)):VP(e.root)}function VP(e){const t=[];function n(i){var o;i.level>=0&&t.push(i),i.isOpen&&((o=i.children)===null||o===void 0||o.forEach(n))}return n(e),t.forEach(e5),t}function FP(e,t){const n={},i=[];function o(c){if(!c.isRoot&&t(c)){n[c.id]=!0;let h=c.parent;for(;h;)n[h.id]=!0,h=h.parent}if(c.children)for(let h of c.children)o(h)}function u(c){var f;c.level>=0&&n[c.id]&&i.push(c),c.isOpen&&((f=c.children)===null||f===void 0||f.forEach(u))}return o(e),u(e),i.forEach(e5),i}function e5(e,t){e.rowIndex=t}const qM=e=>e.reduce((t,n,i)=>(t[n.id]=i,t),{});var ap=function(e,t,n,i){function o(u){return u instanceof n?u:new n(function(c){c(u)})}return new(n||(n=Promise))(function(u,c){function f(p){try{g(i.next(p))}catch(m){c(m)}}function h(p){try{g(i.throw(p))}catch(m){c(m)}}function g(p){p.done?u(p.value):o(p.value).then(f,h)}g((i=i.apply(e,t||[])).next())})};const{safeRun:wt,identify:Dr,identifyNull:Pn}=SU;class yu{constructor(t,n,i,o){this.store=t,this.props=n,this.list=i,this.listEl=o,this.visibleStartIndex=0,this.visibleStopIndex=0,this.root=Fw(this),this.visibleNodes=IM(this),this.idToIndex=qM(this.visibleNodes)}update(t){this.props=t,this.root=Fw(this),this.visibleNodes=IM(this),this.idToIndex=qM(this.visibleNodes)}dispatch(t){return this.store.dispatch(t)}get state(){return this.store.getState()}get openState(){return this.state.nodes.open.unfiltered}get width(){var t;return(t=this.props.width)!==null&&t!==void 0?t:300}get height(){var t;return(t=this.props.height)!==null&&t!==void 0?t:500}get indent(){var t;return(t=this.props.indent)!==null&&t!==void 0?t:24}get rowHeight(){var t;return(t=this.props.rowHeight)!==null&&t!==void 0?t:24}get overscanCount(){var t;return(t=this.props.overscanCount)!==null&&t!==void 0?t:1}get searchTerm(){return(this.props.searchTerm||"").trim()}get matchFn(){var t;const n=(t=this.props.searchMatch)!==null&&t!==void 0?t:((i,o)=>JSON.stringify(Object.values(i.data)).toLocaleLowerCase().includes(o.toLocaleLowerCase()));return i=>n(i,this.searchTerm)}accessChildren(t){var n;const i=this.props.childrenAccessor||"children";return(n=pu(t,i))!==null&&n!==void 0?n:null}accessId(t){const n=this.props.idAccessor||"id",i=pu(t,n);if(!i)throw new Error("Data must contain an 'id' property or props.idAccessor must return a string");return i}get firstNode(){var t;return(t=this.visibleNodes[0])!==null&&t!==void 0?t:null}get lastNode(){var t;return(t=this.visibleNodes[this.visibleNodes.length-1])!==null&&t!==void 0?t:null}get focusedNode(){var t;return(t=this.get(this.state.nodes.focus.id))!==null&&t!==void 0?t:null}get mostRecentNode(){var t;return(t=this.get(this.state.nodes.selection.mostRecent))!==null&&t!==void 0?t:null}get nextNode(){const t=this.indexOf(this.focusedNode);return t===null?null:this.at(t+1)}get prevNode(){const t=this.indexOf(this.focusedNode);return t===null?null:this.at(t-1)}get(t){return t&&t in this.idToIndex&&this.visibleNodes[this.idToIndex[t]]||null}at(t){return this.visibleNodes[t]||null}nodesBetween(t,n){var i;if(t===null||n===null)return[];const o=(i=this.indexOf(t))!==null&&i!==void 0?i:0,u=this.indexOf(n);if(u===null)return[];const c=Math.min(o,u),f=Math.max(o,u);return this.visibleNodes.slice(c,f+1)}indexOf(t){const n=xx(t);return n?this.idToIndex[n]:null}get editingId(){return this.state.nodes.edit.id}createInternal(){return this.create({type:"internal"})}createLeaf(){return this.create({type:"leaf"})}create(){return ap(this,arguments,void 0,function*(t={}){var n,i;const o=t.parentId===void 0?Ax(this):t.parentId,u=(n=t.index)!==null&&n!==void 0?n:kx(this),c=(i=t.type)!==null&&i!==void 0?i:"leaf",f=yield wt(this.props.onCreate,{type:c,parentId:o,index:u,parentNode:this.get(o)});f&&(this.focus(f),setTimeout(()=>{this.edit(f).then(()=>{this.select(f),this.activate(f)})}))})}delete(t){return ap(this,void 0,void 0,function*(){if(!t)return;const i=(Array.isArray(t)?t:[t]).map(Dr),o=i.map(u=>this.get(u)).filter(u=>!!u);yield wt(this.props.onDelete,{nodes:o,ids:i})})}edit(t){const n=Dr(t);return this.resolveEdit({cancelled:!0}),this.scrollTo(n),this.dispatch(F0(n)),new Promise(i=>{yu.editPromise=i})}submit(t,n){return ap(this,void 0,void 0,function*(){if(!t)return;const i=Dr(t);yield wt(this.props.onRename,{id:i,name:n,node:this.get(i)}),this.dispatch(F0(null)),this.resolveEdit({cancelled:!1,value:n}),setTimeout(()=>this.onFocus())})}reset(){this.dispatch(F0(null)),this.resolveEdit({cancelled:!0}),setTimeout(()=>this.onFocus())}activate(t){const n=this.get(Pn(t));n&&wt(this.props.onActivate,n)}resolveEdit(t){const n=yu.editPromise;n&&n(t),yu.editPromise=null}get selectedIds(){return this.state.nodes.selection.ids}get selectedNodes(){let t=[];for(let n of Array.from(this.selectedIds)){const i=this.get(n);i&&t.push(i)}return t}focus(t,n={}){t&&(this.props.selectionFollowsFocus?this.select(t):(this.dispatch(To(Dr(t))),n.scroll!==!1&&this.scrollTo(t),this.focusedNode&&wt(this.props.onFocus,this.focusedNode)))}pageUp(){var t,n;const i=this.visibleStartIndex,u=this.visibleStopIndex-i;let c=(n=(t=this.focusedNode)===null||t===void 0?void 0:t.rowIndex)!==null&&n!==void 0?n:0;c>i?c=i:c=Math.max(i-u,0),this.focus(this.at(c))}pageDown(){var t,n;const i=this.visibleStartIndex,o=this.visibleStopIndex,u=o-i;let c=(n=(t=this.focusedNode)===null||t===void 0?void 0:t.rowIndex)!==null&&n!==void 0?n:0;c<o?c=o:c=Math.min(c+u,this.visibleNodes.length-1),this.focus(this.at(c))}select(t,n={}){if(!t)return;const i=n.focus!==!1,o=Dr(t);i&&this.dispatch(To(o)),this.dispatch(Bn.only(o)),this.dispatch(Bn.anchor(o)),this.dispatch(Bn.mostRecent(o)),this.scrollTo(o,n.align),this.focusedNode&&i&&wt(this.props.onFocus,this.focusedNode),wt(this.props.onSelect,this.selectedNodes)}deselect(t){if(!t)return;const n=Dr(t);this.dispatch(Bn.remove(n)),wt(this.props.onSelect,this.selectedNodes)}selectMulti(t){const n=this.get(Pn(t));n&&(this.dispatch(To(n.id)),this.dispatch(Bn.add(n.id)),this.dispatch(Bn.anchor(n.id)),this.dispatch(Bn.mostRecent(n.id)),this.scrollTo(n),this.focusedNode&&wt(this.props.onFocus,this.focusedNode),wt(this.props.onSelect,this.selectedNodes))}selectContiguous(t){if(!t)return;const n=Dr(t),{anchor:i,mostRecent:o}=this.state.nodes.selection;this.dispatch(To(n)),this.dispatch(Bn.remove(this.nodesBetween(i,o))),this.dispatch(Bn.add(this.nodesBetween(i,Pn(n)))),this.dispatch(Bn.mostRecent(n)),this.scrollTo(n),this.focusedNode&&wt(this.props.onFocus,this.focusedNode),wt(this.props.onSelect,this.selectedNodes)}deselectAll(){this.setSelection({ids:[],anchor:null,mostRecent:null}),wt(this.props.onSelect,this.selectedNodes)}selectAll(){var t;this.setSelection({ids:Object.keys(this.idToIndex),anchor:this.firstNode,mostRecent:this.lastNode}),this.dispatch(To((t=this.lastNode)===null||t===void 0?void 0:t.id)),this.focusedNode&&wt(this.props.onFocus,this.focusedNode),wt(this.props.onSelect,this.selectedNodes)}setSelection(t){var n;const i=new Set((n=t.ids)===null||n===void 0?void 0:n.map(Dr)),o=Pn(t.anchor),u=Pn(t.mostRecent);this.dispatch(Bn.set({ids:i,anchor:o,mostRecent:u})),wt(this.props.onSelect,this.selectedNodes)}get cursorParentId(){const{cursor:t}=this.state.dnd;switch(t.type){case"highlight":return t.id;default:return null}}get cursorOverFolder(){return this.state.dnd.cursor.type==="highlight"}get dragNodes(){return this.state.dnd.dragIds.map(t=>this.get(t)).filter(t=>!!t)}get dragNode(){return this.get(this.state.nodes.drag.id)}get dragDestinationParent(){return this.get(this.state.nodes.drag.destinationParentId)}get dragDestinationIndex(){return this.state.nodes.drag.destinationIndex}canDrop(){var t;if(this.isFiltered)return!1;const n=(t=this.get(this.state.dnd.parentId))!==null&&t!==void 0?t:this.root,i=this.dragNodes,o=this.props.disableDrop;for(const u of i)if(!u||!n||u.isInternal&&_x(n,u))return!1;return typeof o=="function"?!o({parentNode:n,dragNodes:this.dragNodes,index:this.state.dnd.index||0}):typeof o=="string"?!n.data[o]:typeof o=="boolean"?!o:!0}hideCursor(){this.dispatch(Zo.cursor({type:"none"}))}showCursor(t){this.dispatch(Zo.cursor(t))}open(t){const n=Pn(t);n&&(this.isOpen(n)||(this.dispatch(y1.open(n,this.isFiltered)),wt(this.props.onToggle,n)))}close(t){const n=Pn(t);n&&this.isOpen(n)&&(this.dispatch(y1.close(n,this.isFiltered)),wt(this.props.onToggle,n))}toggle(t){const n=Pn(t);if(n)return this.isOpen(n)?this.close(n):this.open(n)}openParents(t){const n=Pn(t);if(!n)return;const i=Cy(this.root,n);let o=i==null?void 0:i.parent;for(;o;)this.open(o.id),o=o.parent}openSiblings(t){const n=t.parent;if(!n)this.toggle(t.id);else if(n.children){const i=t.isOpen;for(let o of n.children)o.isInternal&&(i?this.close(o.id):this.open(o.id));this.scrollTo(this.focusedNode)}}openAll(){bf(this.root,t=>{t.isInternal&&t.open()})}closeAll(){bf(this.root,t=>{t.isInternal&&t.close()})}scrollTo(t,n="smart"){if(!t)return;const i=Dr(t);return this.openParents(i),Cx(()=>i in this.idToIndex).then(()=>{var o;const u=this.idToIndex[i];u!==void 0&&((o=this.list.current)===null||o===void 0||o.scrollToItem(u,n))}).catch(()=>{})}get isEditing(){return this.state.nodes.edit.id!==null}get isFiltered(){var t;return!!(!((t=this.props.searchTerm)===null||t===void 0)&&t.trim())}get hasFocus(){return this.state.nodes.focus.treeFocused}get hasNoSelection(){return this.state.nodes.selection.ids.size===0}get hasOneSelection(){return this.state.nodes.selection.ids.size===1}get hasMultipleSelections(){return this.state.nodes.selection.ids.size>1}isSelected(t){return t?this.state.nodes.selection.ids.has(t):!1}isOpen(t){var n,i,o;if(!t)return!1;if(t===ku)return!0;const u=(n=this.props.openByDefault)!==null&&n!==void 0?n:!0;return this.isFiltered?(i=this.state.nodes.open.filtered[t])!==null&&i!==void 0?i:!0:(o=this.state.nodes.open.unfiltered[t])!==null&&o!==void 0?o:u}isEditable(t){const n=this.props.disableEdit||(()=>!1);return!pu(t,n)}isDraggable(t){const n=this.props.disableDrag||(()=>!1);return!pu(t,n)}isDragging(t){const n=Pn(t);return n?this.state.nodes.drag.id===n:!1}isFocused(t){return this.hasFocus&&this.state.nodes.focus.id===t}isMatch(t){return this.matchFn(t)}willReceiveDrop(t){const n=Pn(t);if(!n)return!1;const{destinationParentId:i,destinationIndex:o}=this.state.nodes.drag;return n===i&&o===null}onFocus(){const t=this.focusedNode||this.firstNode;t&&this.dispatch(To(t.id))}onBlur(){this.dispatch(AU())}onItemsRendered(t){this.visibleStartIndex=t.visibleStartIndex,this.visibleStopIndex=t.visibleStopIndex}get renderContainer(){return this.props.renderContainer||Wx}get renderRow(){return this.props.renderRow||EU}get renderNode(){return this.props.children||xU}get renderDragPreview(){return this.props.renderDragPreview||Dx}get renderCursor(){return this.props.renderCursor||TU}}function GP(e=Ko().nodes.drag,t){switch(t.type){case"DND_DRAG_START":return Object.assign(Object.assign({},e),{id:t.id,selectedIds:t.dragIds});case"DND_DRAG_END":return Object.assign(Object.assign({},e),{id:null,destinationParentId:null,destinationIndex:null,selectedIds:[]});case"DND_HOVERING":return t.parentId!==e.destinationParentId||t.index!=e.destinationIndex?Object.assign(Object.assign({},e),{destinationParentId:t.parentId,destinationIndex:t.index}):e;default:return e}}const QP=wS({nodes:wS({focus:DU,edit:kU,open:NU,selection:RU,drag:GP}),dnd:zU}),XP=Ko();function KP({treeProps:e,imperativeHandle:t,children:n}){const i=U.useRef(null),o=U.useRef(null),u=U.useRef(_E(QP,Ko(e))),c=pU.useSyncExternalStore(u.current.subscribe,u.current.getState,()=>XP),f=U.useMemo(()=>new yu(u.current,e,i,o),[]),h=U.useRef(0);return U.useMemo(()=>{h.current+=1,f.update(e)},[...Object.values(e),c.nodes.open]),U.useImperativeHandle(t,()=>f),U.useEffect(()=>{f.props.selection?f.select(f.props.selection,{focus:!1}):f.deselectAll()},[f.props.selection]),U.useEffect(()=>{f.props.searchTerm||u.current.dispatch(y1.clear(!0))},[f.props.searchTerm]),Te.jsx(dx.Provider,{value:f,children:Te.jsx(yx.Provider,{value:h.current,children:Te.jsx(gx.Provider,{value:c.nodes,children:Te.jsx(px.Provider,{value:c.dnd,children:Te.jsx(IH,Object.assign({backend:qP,options:{rootElement:f.props.dndRootElement||void 0}},e.dndManager&&{manager:e.dndManager},{children:n}))})})})})}function ZP(){const e=gn(),[,t]=Yx(()=>({accept:"NODE",canDrop:(n,i)=>i.isOver({shallow:!0})?e.canDrop():!1,hover:(n,i)=>{if(!i.isOver({shallow:!0}))return;const o=i.getClientOffset();if(!e.listEl.current||!o)return;const{cursor:u,drop:c}=Jx({element:e.listEl.current,offset:o,indent:e.indent,node:null,prevNode:e.visibleNodes[e.visibleNodes.length-1],nextNode:null});c&&e.dispatch(Zo.hovering(c.parentId,c.index)),i.canDrop()?u&&e.showCursor(u):e.hideCursor()}}),[e]);t(e.listEl)}function JP(e){return ZP(),e.children}function WP(){const t=gn().props.renderContainer||Wx;return Te.jsx(Te.Fragment,{children:Te.jsx(t,{})})}function e$(){const e=gn(),{offset:t,mouse:n,item:i,isDragging:o}=uP(c=>({offset:c.getSourceClientOffset(),mouse:c.getClientOffset(),item:c.getItem(),isDragging:c.isDragging()})),u=e.props.renderDragPreview||Dx;return Te.jsx(u,{offset:t,mouse:n,id:(i==null?void 0:i.id)||null,dragIds:(i==null?void 0:i.dragIds)||[],isDragging:o})}class t${constructor(t){this.root=n$(t)}get data(){var t,n;return(n=(t=this.root.children)===null||t===void 0?void 0:t.map(i=>i.data))!==null&&n!==void 0?n:[]}create(t){const n=t.parentId?this.find(t.parentId):this.root;if(!n)return null;n.addChild(t.data,t.index)}move(t){const n=this.find(t.id),i=t.parentId?this.find(t.parentId):this.root;!n||!i||(i.addChild(n.data,t.index),n.drop())}update(t){const n=this.find(t.id);n&&n.update(t.changes)}drop(t){const n=this.find(t.id);n&&n.drop()}find(t,n=this.root){if(!n)return null;if(n.id===t)return n;if(n.children){for(let i of n.children){const o=this.find(t,i);if(o)return o}return null}return null}}function n$(e){const t=new t5({id:"ROOT"},null);return t.children=e.map(n=>Ly(n,t)),t}function Ly(e,t){const n=new t5(e,t);return e.children&&(n.children=e.children.map(i=>Ly(i,n))),n}class t5{constructor(t,n){this.data=t,this.parent=n,this.id=t.id}hasParent(){return!!this.parent}get childIndex(){return this.hasParent()?this.parent.children.indexOf(this):-1}addChild(t,n){var i,o;const u=Ly(t,this);this.children=(i=this.children)!==null&&i!==void 0?i:[],this.children.splice(n,0,u),this.data.children=(o=this.data.children)!==null&&o!==void 0?o:[],this.data.children.splice(n,0,t)}removeChild(t){var n,i;(n=this.children)===null||n===void 0||n.splice(t,1),(i=this.data.children)===null||i===void 0||i.splice(t,1)}update(t){if(this.hasParent()){const n=this.childIndex;this.parent.addChild(Object.assign(Object.assign({},this.data),t),n),this.drop()}}drop(){this.hasParent()&&this.parent.removeChild(this.childIndex)}}let r$=0;function i$(e){const[t,n]=U.useState(e),i=U.useMemo(()=>new t$(t),[t]);return[t,{onMove:g=>{for(const p of g.dragIds)i.move({id:p,parentId:g.parentId,index:g.index});n(i.data)},onRename:({name:g,id:p})=>{i.update({id:p,changes:{name:g}}),n(i.data)},onCreate:({parentId:g,index:p,type:m})=>{const v={id:`simple-tree-id-${r$++}`,name:""};return m==="internal"&&(v.children=[]),i.create({parentId:g,index:p,data:v}),n(i.data),v},onDelete:g=>{g.ids.forEach(p=>i.drop({id:p})),n(i.data)}}]}function a$(e){if(e.initialData&&e.data)throw new Error("React Arborist Tree => Provide either a data or initialData prop, but not both.");if(e.initialData&&(e.onCreate||e.onDelete||e.onMove||e.onRename))throw new Error(`React Arborist Tree => You passed the initialData prop along with a data handler.
|
|
1075
|
+
Use the data prop if you want to provide your own handlers.`);if(e.initialData){const[t,n]=i$(e.initialData);return Object.assign(Object.assign(Object.assign({},e),n),{data:t})}else return e}function o$(e,t){const n=a$(e);return Te.jsxs(KP,{treeProps:n,imperativeHandle:t,children:[Te.jsx(JP,{children:Te.jsx(WP,{})}),Te.jsx(e$,{})]})}const _Q=U.forwardRef(o$);var ko={},op,UM;function l$(){return UM||(UM=1,op=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),op}var lp={},Mi={},jM;function za(){if(jM)return Mi;jM=1;let e;const t=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return Mi.getSymbolSize=function(i){if(!i)throw new Error('"version" cannot be null or undefined');if(i<1||i>40)throw new Error('"version" should be in range from 1 to 40');return i*4+17},Mi.getSymbolTotalCodewords=function(i){return t[i]},Mi.getBCHDigit=function(n){let i=0;for(;n!==0;)i++,n>>>=1;return i},Mi.setToSJISFunction=function(i){if(typeof i!="function")throw new Error('"toSJISFunc" is not a valid function.');e=i},Mi.isKanjiModeEnabled=function(){return typeof e<"u"},Mi.toSJIS=function(i){return e(i)},Mi}var up={},HM;function Iy(){return HM||(HM=1,(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+n)}}e.isValid=function(i){return i&&typeof i.bit<"u"&&i.bit>=0&&i.bit<4},e.from=function(i,o){if(e.isValid(i))return i;try{return t(i)}catch{return o}}})(up)),up}var sp,BM;function u$(){if(BM)return sp;BM=1;function e(){this.buffer=[],this.length=0}return e.prototype={get:function(t){const n=Math.floor(t/8);return(this.buffer[n]>>>7-t%8&1)===1},put:function(t,n){for(let i=0;i<n;i++)this.putBit((t>>>n-i-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const n=Math.floor(this.length/8);this.buffer.length<=n&&this.buffer.push(0),t&&(this.buffer[n]|=128>>>this.length%8),this.length++}},sp=e,sp}var cp,PM;function s$(){if(PM)return cp;PM=1;function e(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}return e.prototype.set=function(t,n,i,o){const u=t*this.size+n;this.data[u]=i,o&&(this.reservedBit[u]=!0)},e.prototype.get=function(t,n){return this.data[t*this.size+n]},e.prototype.xor=function(t,n,i){this.data[t*this.size+n]^=i},e.prototype.isReserved=function(t,n){return this.reservedBit[t*this.size+n]},cp=e,cp}var fp={},$M;function c$(){return $M||($M=1,(function(e){const t=za().getSymbolSize;e.getRowColCoords=function(i){if(i===1)return[];const o=Math.floor(i/7)+2,u=t(i),c=u===145?26:Math.ceil((u-13)/(2*o-2))*2,f=[u-7];for(let h=1;h<o-1;h++)f[h]=f[h-1]-c;return f.push(6),f.reverse()},e.getPositions=function(i){const o=[],u=e.getRowColCoords(i),c=u.length;for(let f=0;f<c;f++)for(let h=0;h<c;h++)f===0&&h===0||f===0&&h===c-1||f===c-1&&h===0||o.push([u[f],u[h]]);return o}})(fp)),fp}var hp={},YM;function f$(){if(YM)return hp;YM=1;const e=za().getSymbolSize,t=7;return hp.getPositions=function(i){const o=e(i);return[[0,0],[o-t,0],[0,o-t]]},hp}var dp={},VM;function h$(){return VM||(VM=1,(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(o){return o!=null&&o!==""&&!isNaN(o)&&o>=0&&o<=7},e.from=function(o){return e.isValid(o)?parseInt(o,10):void 0},e.getPenaltyN1=function(o){const u=o.size;let c=0,f=0,h=0,g=null,p=null;for(let m=0;m<u;m++){f=h=0,g=p=null;for(let v=0;v<u;v++){let S=o.get(m,v);S===g?f++:(f>=5&&(c+=t.N1+(f-5)),g=S,f=1),S=o.get(v,m),S===p?h++:(h>=5&&(c+=t.N1+(h-5)),p=S,h=1)}f>=5&&(c+=t.N1+(f-5)),h>=5&&(c+=t.N1+(h-5))}return c},e.getPenaltyN2=function(o){const u=o.size;let c=0;for(let f=0;f<u-1;f++)for(let h=0;h<u-1;h++){const g=o.get(f,h)+o.get(f,h+1)+o.get(f+1,h)+o.get(f+1,h+1);(g===4||g===0)&&c++}return c*t.N2},e.getPenaltyN3=function(o){const u=o.size;let c=0,f=0,h=0;for(let g=0;g<u;g++){f=h=0;for(let p=0;p<u;p++)f=f<<1&2047|o.get(g,p),p>=10&&(f===1488||f===93)&&c++,h=h<<1&2047|o.get(p,g),p>=10&&(h===1488||h===93)&&c++}return c*t.N3},e.getPenaltyN4=function(o){let u=0;const c=o.data.length;for(let h=0;h<c;h++)u+=o.data[h];return Math.abs(Math.ceil(u*100/c/5)-10)*t.N4};function n(i,o,u){switch(i){case e.Patterns.PATTERN000:return(o+u)%2===0;case e.Patterns.PATTERN001:return o%2===0;case e.Patterns.PATTERN010:return u%3===0;case e.Patterns.PATTERN011:return(o+u)%3===0;case e.Patterns.PATTERN100:return(Math.floor(o/2)+Math.floor(u/3))%2===0;case e.Patterns.PATTERN101:return o*u%2+o*u%3===0;case e.Patterns.PATTERN110:return(o*u%2+o*u%3)%2===0;case e.Patterns.PATTERN111:return(o*u%3+(o+u)%2)%2===0;default:throw new Error("bad maskPattern:"+i)}}e.applyMask=function(o,u){const c=u.size;for(let f=0;f<c;f++)for(let h=0;h<c;h++)u.isReserved(h,f)||u.xor(h,f,n(o,h,f))},e.getBestMask=function(o,u){const c=Object.keys(e.Patterns).length;let f=0,h=1/0;for(let g=0;g<c;g++){u(g),e.applyMask(g,o);const p=e.getPenaltyN1(o)+e.getPenaltyN2(o)+e.getPenaltyN3(o)+e.getPenaltyN4(o);e.applyMask(g,o),p<h&&(h=p,f=g)}return f}})(dp)),dp}var xc={},FM;function n5(){if(FM)return xc;FM=1;const e=Iy(),t=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],n=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];return xc.getBlocksCount=function(o,u){switch(u){case e.L:return t[(o-1)*4+0];case e.M:return t[(o-1)*4+1];case e.Q:return t[(o-1)*4+2];case e.H:return t[(o-1)*4+3];default:return}},xc.getTotalCodewordsCount=function(o,u){switch(u){case e.L:return n[(o-1)*4+0];case e.M:return n[(o-1)*4+1];case e.Q:return n[(o-1)*4+2];case e.H:return n[(o-1)*4+3];default:return}},xc}var gp={},fu={},GM;function d$(){if(GM)return fu;GM=1;const e=new Uint8Array(512),t=new Uint8Array(256);return(function(){let i=1;for(let o=0;o<255;o++)e[o]=i,t[i]=o,i<<=1,i&256&&(i^=285);for(let o=255;o<512;o++)e[o]=e[o-255]})(),fu.log=function(i){if(i<1)throw new Error("log("+i+")");return t[i]},fu.exp=function(i){return e[i]},fu.mul=function(i,o){return i===0||o===0?0:e[t[i]+t[o]]},fu}var QM;function g$(){return QM||(QM=1,(function(e){const t=d$();e.mul=function(i,o){const u=new Uint8Array(i.length+o.length-1);for(let c=0;c<i.length;c++)for(let f=0;f<o.length;f++)u[c+f]^=t.mul(i[c],o[f]);return u},e.mod=function(i,o){let u=new Uint8Array(i);for(;u.length-o.length>=0;){const c=u[0];for(let h=0;h<o.length;h++)u[h]^=t.mul(o[h],c);let f=0;for(;f<u.length&&u[f]===0;)f++;u=u.slice(f)}return u},e.generateECPolynomial=function(i){let o=new Uint8Array([1]);for(let u=0;u<i;u++)o=e.mul(o,new Uint8Array([1,t.exp(u)]));return o}})(gp)),gp}var pp,XM;function p$(){if(XM)return pp;XM=1;const e=g$();function t(n){this.genPoly=void 0,this.degree=n,this.degree&&this.initialize(this.degree)}return t.prototype.initialize=function(i){this.degree=i,this.genPoly=e.generateECPolynomial(this.degree)},t.prototype.encode=function(i){if(!this.genPoly)throw new Error("Encoder not initialized");const o=new Uint8Array(i.length+this.degree);o.set(i);const u=e.mod(o,this.genPoly),c=this.degree-u.length;if(c>0){const f=new Uint8Array(this.degree);return f.set(u,c),f}return u},pp=t,pp}var yp={},mp={},vp={},KM;function r5(){return KM||(KM=1,vp.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}),vp}var nr={},ZM;function i5(){if(ZM)return nr;ZM=1;const e="[0-9]+",t="[A-Z $%*+\\-./:]+";let n="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";n=n.replace(/u/g,"\\u");const i="(?:(?![A-Z0-9 $%*+\\-./:]|"+n+`)(?:.|[\r
|
|
1076
|
+
]))+`;nr.KANJI=new RegExp(n,"g"),nr.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),nr.BYTE=new RegExp(i,"g"),nr.NUMERIC=new RegExp(e,"g"),nr.ALPHANUMERIC=new RegExp(t,"g");const o=new RegExp("^"+n+"$"),u=new RegExp("^"+e+"$"),c=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return nr.testKanji=function(h){return o.test(h)},nr.testNumeric=function(h){return u.test(h)},nr.testAlphanumeric=function(h){return c.test(h)},nr}var JM;function La(){return JM||(JM=1,(function(e){const t=r5(),n=i5();e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(u,c){if(!u.ccBits)throw new Error("Invalid mode: "+u);if(!t.isValid(c))throw new Error("Invalid version: "+c);return c>=1&&c<10?u.ccBits[0]:c<27?u.ccBits[1]:u.ccBits[2]},e.getBestModeForData=function(u){return n.testNumeric(u)?e.NUMERIC:n.testAlphanumeric(u)?e.ALPHANUMERIC:n.testKanji(u)?e.KANJI:e.BYTE},e.toString=function(u){if(u&&u.id)return u.id;throw new Error("Invalid mode")},e.isValid=function(u){return u&&u.bit&&u.ccBits};function i(o){if(typeof o!="string")throw new Error("Param is not a string");switch(o.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+o)}}e.from=function(u,c){if(e.isValid(u))return u;try{return i(u)}catch{return c}}})(mp)),mp}var WM;function y$(){return WM||(WM=1,(function(e){const t=za(),n=n5(),i=Iy(),o=La(),u=r5(),c=7973,f=t.getBCHDigit(c);function h(v,S,M){for(let b=1;b<=40;b++)if(S<=e.getCapacity(b,M,v))return b}function g(v,S){return o.getCharCountIndicator(v,S)+4}function p(v,S){let M=0;return v.forEach(function(b){const w=g(b.mode,S);M+=w+b.getBitsLength()}),M}function m(v,S){for(let M=1;M<=40;M++)if(p(v,M)<=e.getCapacity(M,S,o.MIXED))return M}e.from=function(S,M){return u.isValid(S)?parseInt(S,10):M},e.getCapacity=function(S,M,b){if(!u.isValid(S))throw new Error("Invalid QR Code version");typeof b>"u"&&(b=o.BYTE);const w=t.getSymbolTotalCodewords(S),E=n.getTotalCodewordsCount(S,M),A=(w-E)*8;if(b===o.MIXED)return A;const k=A-g(b,S);switch(b){case o.NUMERIC:return Math.floor(k/10*3);case o.ALPHANUMERIC:return Math.floor(k/11*2);case o.KANJI:return Math.floor(k/13);case o.BYTE:default:return Math.floor(k/8)}},e.getBestVersionForData=function(S,M){let b;const w=i.from(M,i.M);if(Array.isArray(S)){if(S.length>1)return m(S,w);if(S.length===0)return 1;b=S[0]}else b=S;return h(b.mode,b.getLength(),w)},e.getEncodedBits=function(S){if(!u.isValid(S)||S<7)throw new Error("Invalid QR Code version");let M=S<<12;for(;t.getBCHDigit(M)-f>=0;)M^=c<<t.getBCHDigit(M)-f;return S<<12|M}})(yp)),yp}var bp={},eT;function m$(){if(eT)return bp;eT=1;const e=za(),t=1335,n=21522,i=e.getBCHDigit(t);return bp.getEncodedBits=function(u,c){const f=u.bit<<3|c;let h=f<<10;for(;e.getBCHDigit(h)-i>=0;)h^=t<<e.getBCHDigit(h)-i;return(f<<10|h)^n},bp}var Sp={},_p,tT;function v$(){if(tT)return _p;tT=1;const e=La();function t(n){this.mode=e.NUMERIC,this.data=n.toString()}return t.getBitsLength=function(i){return 10*Math.floor(i/3)+(i%3?i%3*3+1:0)},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(i){let o,u,c;for(o=0;o+3<=this.data.length;o+=3)u=this.data.substr(o,3),c=parseInt(u,10),i.put(c,10);const f=this.data.length-o;f>0&&(u=this.data.substr(o),c=parseInt(u,10),i.put(c,f*3+1))},_p=t,_p}var wp,nT;function b$(){if(nT)return wp;nT=1;const e=La(),t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function n(i){this.mode=e.ALPHANUMERIC,this.data=i}return n.getBitsLength=function(o){return 11*Math.floor(o/2)+6*(o%2)},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(o){let u;for(u=0;u+2<=this.data.length;u+=2){let c=t.indexOf(this.data[u])*45;c+=t.indexOf(this.data[u+1]),o.put(c,11)}this.data.length%2&&o.put(t.indexOf(this.data[u]),6)},wp=n,wp}var Mp,rT;function S$(){if(rT)return Mp;rT=1;const e=La();function t(n){this.mode=e.BYTE,typeof n=="string"?this.data=new TextEncoder().encode(n):this.data=new Uint8Array(n)}return t.getBitsLength=function(i){return i*8},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(n){for(let i=0,o=this.data.length;i<o;i++)n.put(this.data[i],8)},Mp=t,Mp}var Tp,iT;function _$(){if(iT)return Tp;iT=1;const e=La(),t=za();function n(i){this.mode=e.KANJI,this.data=i}return n.getBitsLength=function(o){return o*13},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(i){let o;for(o=0;o<this.data.length;o++){let u=t.toSJIS(this.data[o]);if(u>=33088&&u<=40956)u-=33088;else if(u>=57408&&u<=60351)u-=49472;else throw new Error("Invalid SJIS character: "+this.data[o]+`
|
|
1077
|
+
Make sure your charset is UTF-8`);u=(u>>>8&255)*192+(u&255),i.put(u,13)}},Tp=n,Tp}var Ep={exports:{}},aT;function w$(){return aT||(aT=1,(function(e){var t={single_source_shortest_paths:function(n,i,o){var u={},c={};c[i]=0;var f=t.PriorityQueue.make();f.push(i,0);for(var h,g,p,m,v,S,M,b,w;!f.empty();){h=f.pop(),g=h.value,m=h.cost,v=n[g]||{};for(p in v)v.hasOwnProperty(p)&&(S=v[p],M=m+S,b=c[p],w=typeof c[p]>"u",(w||b>M)&&(c[p]=M,f.push(p,M),u[p]=g))}if(typeof o<"u"&&typeof c[o]>"u"){var E=["Could not find a path from ",i," to ",o,"."].join("");throw new Error(E)}return u},extract_shortest_path_from_predecessor_list:function(n,i){for(var o=[],u=i;u;)o.push(u),n[u],u=n[u];return o.reverse(),o},find_path:function(n,i,o){var u=t.single_source_shortest_paths(n,i,o);return t.extract_shortest_path_from_predecessor_list(u,o)},PriorityQueue:{make:function(n){var i=t.PriorityQueue,o={},u;n=n||{};for(u in i)i.hasOwnProperty(u)&&(o[u]=i[u]);return o.queue=[],o.sorter=n.sorter||i.default_sorter,o},default_sorter:function(n,i){return n.cost-i.cost},push:function(n,i){var o={value:n,cost:i};this.queue.push(o),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(Ep)),Ep.exports}var oT;function M$(){return oT||(oT=1,(function(e){const t=La(),n=v$(),i=b$(),o=S$(),u=_$(),c=i5(),f=za(),h=w$();function g(E){return unescape(encodeURIComponent(E)).length}function p(E,A,k){const T=[];let C;for(;(C=E.exec(k))!==null;)T.push({data:C[0],index:C.index,mode:A,length:C[0].length});return T}function m(E){const A=p(c.NUMERIC,t.NUMERIC,E),k=p(c.ALPHANUMERIC,t.ALPHANUMERIC,E);let T,C;return f.isKanjiModeEnabled()?(T=p(c.BYTE,t.BYTE,E),C=p(c.KANJI,t.KANJI,E)):(T=p(c.BYTE_KANJI,t.BYTE,E),C=[]),A.concat(k,T,C).sort(function(D,N){return D.index-N.index}).map(function(D){return{data:D.data,mode:D.mode,length:D.length}})}function v(E,A){switch(A){case t.NUMERIC:return n.getBitsLength(E);case t.ALPHANUMERIC:return i.getBitsLength(E);case t.KANJI:return u.getBitsLength(E);case t.BYTE:return o.getBitsLength(E)}}function S(E){return E.reduce(function(A,k){const T=A.length-1>=0?A[A.length-1]:null;return T&&T.mode===k.mode?(A[A.length-1].data+=k.data,A):(A.push(k),A)},[])}function M(E){const A=[];for(let k=0;k<E.length;k++){const T=E[k];switch(T.mode){case t.NUMERIC:A.push([T,{data:T.data,mode:t.ALPHANUMERIC,length:T.length},{data:T.data,mode:t.BYTE,length:T.length}]);break;case t.ALPHANUMERIC:A.push([T,{data:T.data,mode:t.BYTE,length:T.length}]);break;case t.KANJI:A.push([T,{data:T.data,mode:t.BYTE,length:g(T.data)}]);break;case t.BYTE:A.push([{data:T.data,mode:t.BYTE,length:g(T.data)}])}}return A}function b(E,A){const k={},T={start:{}};let C=["start"];for(let O=0;O<E.length;O++){const D=E[O],N=[];for(let P=0;P<D.length;P++){const Z=D[P],W=""+O+P;N.push(W),k[W]={node:Z,lastCount:0},T[W]={};for(let G=0;G<C.length;G++){const ue=C[G];k[ue]&&k[ue].node.mode===Z.mode?(T[ue][W]=v(k[ue].lastCount+Z.length,Z.mode)-v(k[ue].lastCount,Z.mode),k[ue].lastCount+=Z.length):(k[ue]&&(k[ue].lastCount=Z.length),T[ue][W]=v(Z.length,Z.mode)+4+t.getCharCountIndicator(Z.mode,A))}}C=N}for(let O=0;O<C.length;O++)T[C[O]].end=0;return{map:T,table:k}}function w(E,A){let k;const T=t.getBestModeForData(E);if(k=t.from(A,T),k!==t.BYTE&&k.bit<T.bit)throw new Error('"'+E+'" cannot be encoded with mode '+t.toString(k)+`.
|
|
1078
|
+
Suggested mode is: `+t.toString(T));switch(k===t.KANJI&&!f.isKanjiModeEnabled()&&(k=t.BYTE),k){case t.NUMERIC:return new n(E);case t.ALPHANUMERIC:return new i(E);case t.KANJI:return new u(E);case t.BYTE:return new o(E)}}e.fromArray=function(A){return A.reduce(function(k,T){return typeof T=="string"?k.push(w(T,null)):T.data&&k.push(w(T.data,T.mode)),k},[])},e.fromString=function(A,k){const T=m(A,f.isKanjiModeEnabled()),C=M(T),O=b(C,k),D=h.find_path(O.map,"start","end"),N=[];for(let P=1;P<D.length-1;P++)N.push(O.table[D[P]].node);return e.fromArray(S(N))},e.rawSplit=function(A){return e.fromArray(m(A,f.isKanjiModeEnabled()))}})(Sp)),Sp}var lT;function T$(){if(lT)return lp;lT=1;const e=za(),t=Iy(),n=u$(),i=s$(),o=c$(),u=f$(),c=h$(),f=n5(),h=p$(),g=y$(),p=m$(),m=La(),v=M$();function S(O,D){const N=O.size,P=u.getPositions(D);for(let Z=0;Z<P.length;Z++){const W=P[Z][0],G=P[Z][1];for(let ue=-1;ue<=7;ue++)if(!(W+ue<=-1||N<=W+ue))for(let q=-1;q<=7;q++)G+q<=-1||N<=G+q||(ue>=0&&ue<=6&&(q===0||q===6)||q>=0&&q<=6&&(ue===0||ue===6)||ue>=2&&ue<=4&&q>=2&&q<=4?O.set(W+ue,G+q,!0,!0):O.set(W+ue,G+q,!1,!0))}}function M(O){const D=O.size;for(let N=8;N<D-8;N++){const P=N%2===0;O.set(N,6,P,!0),O.set(6,N,P,!0)}}function b(O,D){const N=o.getPositions(D);for(let P=0;P<N.length;P++){const Z=N[P][0],W=N[P][1];for(let G=-2;G<=2;G++)for(let ue=-2;ue<=2;ue++)G===-2||G===2||ue===-2||ue===2||G===0&&ue===0?O.set(Z+G,W+ue,!0,!0):O.set(Z+G,W+ue,!1,!0)}}function w(O,D){const N=O.size,P=g.getEncodedBits(D);let Z,W,G;for(let ue=0;ue<18;ue++)Z=Math.floor(ue/3),W=ue%3+N-8-3,G=(P>>ue&1)===1,O.set(Z,W,G,!0),O.set(W,Z,G,!0)}function E(O,D,N){const P=O.size,Z=p.getEncodedBits(D,N);let W,G;for(W=0;W<15;W++)G=(Z>>W&1)===1,W<6?O.set(W,8,G,!0):W<8?O.set(W+1,8,G,!0):O.set(P-15+W,8,G,!0),W<8?O.set(8,P-W-1,G,!0):W<9?O.set(8,15-W-1+1,G,!0):O.set(8,15-W-1,G,!0);O.set(P-8,8,1,!0)}function A(O,D){const N=O.size;let P=-1,Z=N-1,W=7,G=0;for(let ue=N-1;ue>0;ue-=2)for(ue===6&&ue--;;){for(let q=0;q<2;q++)if(!O.isReserved(Z,ue-q)){let re=!1;G<D.length&&(re=(D[G]>>>W&1)===1),O.set(Z,ue-q,re),W--,W===-1&&(G++,W=7)}if(Z+=P,Z<0||N<=Z){Z-=P,P=-P;break}}}function k(O,D,N){const P=new n;N.forEach(function(q){P.put(q.mode.bit,4),P.put(q.getLength(),m.getCharCountIndicator(q.mode,O)),q.write(P)});const Z=e.getSymbolTotalCodewords(O),W=f.getTotalCodewordsCount(O,D),G=(Z-W)*8;for(P.getLengthInBits()+4<=G&&P.put(0,4);P.getLengthInBits()%8!==0;)P.putBit(0);const ue=(G-P.getLengthInBits())/8;for(let q=0;q<ue;q++)P.put(q%2?17:236,8);return T(P,O,D)}function T(O,D,N){const P=e.getSymbolTotalCodewords(D),Z=f.getTotalCodewordsCount(D,N),W=P-Z,G=f.getBlocksCount(D,N),ue=P%G,q=G-ue,re=Math.floor(P/G),R=Math.floor(W/G),F=R+1,ie=re-R,se=new h(ie);let K=0;const z=new Array(G),Q=new Array(G);let oe=0;const le=new Uint8Array(O.buffer);for(let ne=0;ne<G;ne++){const we=ne<q?R:F;z[ne]=le.slice(K,K+we),Q[ne]=se.encode(z[ne]),K+=we,oe=Math.max(oe,we)}const ce=new Uint8Array(P);let he=0,ve,Ae;for(ve=0;ve<oe;ve++)for(Ae=0;Ae<G;Ae++)ve<z[Ae].length&&(ce[he++]=z[Ae][ve]);for(ve=0;ve<ie;ve++)for(Ae=0;Ae<G;Ae++)ce[he++]=Q[Ae][ve];return ce}function C(O,D,N,P){let Z;if(Array.isArray(O))Z=v.fromArray(O);else if(typeof O=="string"){let re=D;if(!re){const R=v.rawSplit(O);re=g.getBestVersionForData(R,N)}Z=v.fromString(O,re||40)}else throw new Error("Invalid data");const W=g.getBestVersionForData(Z,N);if(!W)throw new Error("The amount of data is too big to be stored in a QR Code");if(!D)D=W;else if(D<W)throw new Error(`
|
|
1069
1079
|
The chosen QR Code version cannot contain this amount of data.
|
|
1070
1080
|
Minimum version required to store current data is: `+W+`.
|
|
1071
|
-
`);const G=k(D,N,Z),ue=e.getSymbolSize(D),q=new i(ue);return S(q,D),M(q),b(q,D),E(q,N,0),D>=7&&w(q,D),A(q,G),isNaN(P)&&(P=c.getBestMask(q,E.bind(null,q,N))),c.applyMask(P,q),E(q,N,P),{modules:q,version:D,errorCorrectionLevel:N,maskPattern:P,segments:Z}}return lp.create=function(D,N){if(typeof D>"u"||D==="")throw new Error("No input text");let P=t.M,Z,W;return typeof N<"u"&&(P=t.from(N.errorCorrectionLevel,t.M),Z=g.from(N.version),W=c.from(N.maskPattern),N.toSJISFunc&&e.setToSJISFunction(N.toSJISFunc)),C(D,Z,P,W)},lp}var xp={},Op={},uT;function a5(){return uT||(uT=1,(function(e){function t(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let i=n.slice().replace("#","").split("");if(i.length<3||i.length===5||i.length>8)throw new Error("Invalid hex color: "+n);(i.length===3||i.length===4)&&(i=Array.prototype.concat.apply([],i.map(function(u){return[u,u]}))),i.length===6&&i.push("F","F");const o=parseInt(i.join(""),16);return{r:o>>24&255,g:o>>16&255,b:o>>8&255,a:o&255,hex:"#"+i.slice(0,6).join("")}}e.getOptions=function(i){i||(i={}),i.color||(i.color={});const o=typeof i.margin>"u"||i.margin===null||i.margin<0?4:i.margin,u=i.width&&i.width>=21?i.width:void 0,c=i.scale||4;return{width:u,scale:u?4:c,margin:o,color:{dark:t(i.color.dark||"#000000ff"),light:t(i.color.light||"#ffffffff")},type:i.type,rendererOpts:i.rendererOpts||{}}},e.getScale=function(i,o){return o.width&&o.width>=i+o.margin*2?o.width/(i+o.margin*2):o.scale},e.getImageWidth=function(i,o){const u=e.getScale(i,o);return Math.floor((i+o.margin*2)*u)},e.qrToImageData=function(i,o,u){const c=o.modules.size,f=o.modules.data,h=e.getScale(c,u),g=Math.floor((c+u.margin*2)*h),p=u.margin*h,m=[u.color.light,u.color.dark];for(let v=0;v<g;v++)for(let S=0;S<g;S++){let M=(v*g+S)*4,b=u.color.light;if(v>=p&&S>=p&&v<g-p&&S<g-p){const w=Math.floor((v-p)/h),E=Math.floor((S-p)/h);b=m[f[w*c+E]?1:0]}i[M++]=b.r,i[M++]=b.g,i[M++]=b.b,i[M]=b.a}}})(Op)),Op}var sT;function
|
|
1072
|
-
`;return typeof f=="function"&&f(null,w),w},Cp}var fT;function
|
|
1081
|
+
`);const G=k(D,N,Z),ue=e.getSymbolSize(D),q=new i(ue);return S(q,D),M(q),b(q,D),E(q,N,0),D>=7&&w(q,D),A(q,G),isNaN(P)&&(P=c.getBestMask(q,E.bind(null,q,N))),c.applyMask(P,q),E(q,N,P),{modules:q,version:D,errorCorrectionLevel:N,maskPattern:P,segments:Z}}return lp.create=function(D,N){if(typeof D>"u"||D==="")throw new Error("No input text");let P=t.M,Z,W;return typeof N<"u"&&(P=t.from(N.errorCorrectionLevel,t.M),Z=g.from(N.version),W=c.from(N.maskPattern),N.toSJISFunc&&e.setToSJISFunction(N.toSJISFunc)),C(D,Z,P,W)},lp}var xp={},Op={},uT;function a5(){return uT||(uT=1,(function(e){function t(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let i=n.slice().replace("#","").split("");if(i.length<3||i.length===5||i.length>8)throw new Error("Invalid hex color: "+n);(i.length===3||i.length===4)&&(i=Array.prototype.concat.apply([],i.map(function(u){return[u,u]}))),i.length===6&&i.push("F","F");const o=parseInt(i.join(""),16);return{r:o>>24&255,g:o>>16&255,b:o>>8&255,a:o&255,hex:"#"+i.slice(0,6).join("")}}e.getOptions=function(i){i||(i={}),i.color||(i.color={});const o=typeof i.margin>"u"||i.margin===null||i.margin<0?4:i.margin,u=i.width&&i.width>=21?i.width:void 0,c=i.scale||4;return{width:u,scale:u?4:c,margin:o,color:{dark:t(i.color.dark||"#000000ff"),light:t(i.color.light||"#ffffffff")},type:i.type,rendererOpts:i.rendererOpts||{}}},e.getScale=function(i,o){return o.width&&o.width>=i+o.margin*2?o.width/(i+o.margin*2):o.scale},e.getImageWidth=function(i,o){const u=e.getScale(i,o);return Math.floor((i+o.margin*2)*u)},e.qrToImageData=function(i,o,u){const c=o.modules.size,f=o.modules.data,h=e.getScale(c,u),g=Math.floor((c+u.margin*2)*h),p=u.margin*h,m=[u.color.light,u.color.dark];for(let v=0;v<g;v++)for(let S=0;S<g;S++){let M=(v*g+S)*4,b=u.color.light;if(v>=p&&S>=p&&v<g-p&&S<g-p){const w=Math.floor((v-p)/h),E=Math.floor((S-p)/h);b=m[f[w*c+E]?1:0]}i[M++]=b.r,i[M++]=b.g,i[M++]=b.b,i[M]=b.a}}})(Op)),Op}var sT;function E$(){return sT||(sT=1,(function(e){const t=a5();function n(o,u,c){o.clearRect(0,0,u.width,u.height),u.style||(u.style={}),u.height=c,u.width=c,u.style.height=c+"px",u.style.width=c+"px"}function i(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(u,c,f){let h=f,g=c;typeof h>"u"&&(!c||!c.getContext)&&(h=c,c=void 0),c||(g=i()),h=t.getOptions(h);const p=t.getImageWidth(u.modules.size,h),m=g.getContext("2d"),v=m.createImageData(p,p);return t.qrToImageData(v.data,u,h),n(m,g,p),m.putImageData(v,0,0),g},e.renderToDataURL=function(u,c,f){let h=f;typeof h>"u"&&(!c||!c.getContext)&&(h=c,c=void 0),h||(h={});const g=e.render(u,c,h),p=h.type||"image/png",m=h.rendererOpts||{};return g.toDataURL(p,m.quality)}})(xp)),xp}var Cp={},cT;function x$(){if(cT)return Cp;cT=1;const e=a5();function t(o,u){const c=o.a/255,f=u+'="'+o.hex+'"';return c<1?f+" "+u+'-opacity="'+c.toFixed(2).slice(1)+'"':f}function n(o,u,c){let f=o+u;return typeof c<"u"&&(f+=" "+c),f}function i(o,u,c){let f="",h=0,g=!1,p=0;for(let m=0;m<o.length;m++){const v=Math.floor(m%u),S=Math.floor(m/u);!v&&!g&&(g=!0),o[m]?(p++,m>0&&v>0&&o[m-1]||(f+=g?n("M",v+c,.5+S+c):n("m",h,0),h=0,g=!1),v+1<u&&o[m+1]||(f+=n("h",p),p=0)):h++}return f}return Cp.render=function(u,c,f){const h=e.getOptions(c),g=u.modules.size,p=u.modules.data,m=g+h.margin*2,v=h.color.light.a?"<path "+t(h.color.light,"fill")+' d="M0 0h'+m+"v"+m+'H0z"/>':"",S="<path "+t(h.color.dark,"stroke")+' d="'+i(p,g,h.margin)+'"/>',M='viewBox="0 0 '+m+" "+m+'"',w='<svg xmlns="http://www.w3.org/2000/svg" '+(h.width?'width="'+h.width+'" height="'+h.width+'" ':"")+M+' shape-rendering="crispEdges">'+v+S+`</svg>
|
|
1082
|
+
`;return typeof f=="function"&&f(null,w),w},Cp}var fT;function O$(){if(fT)return ko;fT=1;const e=l$(),t=T$(),n=E$(),i=x$();function o(u,c,f,h,g){const p=[].slice.call(arguments,1),m=p.length,v=typeof p[m-1]=="function";if(!v&&!e())throw new Error("Callback required as last argument");if(v){if(m<2)throw new Error("Too few arguments provided");m===2?(g=f,f=c,c=h=void 0):m===3&&(c.getContext&&typeof g>"u"?(g=h,h=void 0):(g=h,h=f,f=c,c=void 0))}else{if(m<1)throw new Error("Too few arguments provided");return m===1?(f=c,c=h=void 0):m===2&&!c.getContext&&(h=f,f=c,c=void 0),new Promise(function(S,M){try{const b=t.create(f,h);S(u(b,c,h))}catch(b){M(b)}})}try{const S=t.create(f,h);g(null,u(S,c,h))}catch(S){g(S)}}return ko.create=t.create,ko.toCanvas=o.bind(null,n.render),ko.toDataURL=o.bind(null,n.renderToDataURL),ko.toString=o.bind(null,function(u,c,f){return i.render(u,f)}),ko}var C$=O$();const wQ=Zt(C$);export{BG as $,mz as A,HN as B,IG as C,Zt as D,A$ as E,tE as F,V$ as G,TG as H,R$ as I,MG as J,Gc as K,xG as L,z$ as M,wG as N,EG as O,OG as P,nC as Q,x1 as R,NG as S,w8 as T,lQ as U,FG as V,VG as W,YG as X,$G as Y,PG as Z,fN as _,An as a,pF as a$,HG as a0,Nz as a1,uQ as a2,xz as a3,sQ as a4,rQ as a5,ZS as a6,Mu as a7,oQ as a8,aQ as a9,SG as aA,_G as aB,WT as aC,PY as aD,IF as aE,aG as aF,FF as aG,bG as aH,eV as aI,Qn as aJ,vG as aK,eG as aL,rV as aM,JY as aN,NV as aO,sV as aP,bF as aQ,aF as aR,tF as aS,JF as aT,eF as aU,cY as aV,nG as aW,Q$ as aX,vV as aY,SF as aZ,MF as a_,iQ as aa,cQ as ab,fQ as ac,qG as ad,Dz as ae,tQ as af,nQ as ag,eQ as ah,WG as ai,JG as aj,ZG as ak,t3 as al,KG as am,jG as an,UG as ao,GG as ap,XG as aq,QG as ar,dQ as as,gQ as at,hQ as au,pQ as av,yQ as aw,mQ as ax,vQ as ay,bQ as az,ET as b,uG as b$,qF as b0,LY as b1,mG as b2,rY as b3,J$ as b4,uV as b5,iF as b6,R1 as b7,RF as b8,tG as b9,vF as bA,EY as bB,F$ as bC,KF as bD,hV as bE,MY as bF,dY as bG,gY as bH,cG as bI,sG as bJ,U$ as bK,Lu as bL,j$ as bM,SY as bN,bY as bO,P$ as bP,uk as bQ,B$ as bR,I$ as bS,D$ as bT,$$ as bU,oV as bV,zV as bW,Z$ as bX,dF as bY,Y$ as bZ,H$ as b_,fF as ba,aY as bb,hY as bc,nF as bd,dG as be,AV as bf,gG as bg,lG as bh,yV as bi,QV as bj,$F as bk,KV as bl,zk as bm,EV as bn,eY as bo,lY as bp,jV as bq,YY as br,lV as bs,mV as bt,fG as bu,AY as bv,nY as bw,yF as bx,fY as by,gV as bz,SE as c,YF as c$,UF as c0,kV as c1,KY as c2,qV as c3,lF as c4,jF as c5,CY as c6,rG as c7,qY as c8,AF as c9,nV as cA,TV as cB,CV as cC,GF as cD,WF as cE,bV as cF,_V as cG,JV as cH,BV as cI,wF as cJ,QF as cK,OV as cL,ZY as cM,_F as cN,K$ as cO,QY as cP,FY as cQ,cV as cR,zY as cS,xV as cT,W$ as cU,X$ as cV,FV as cW,HV as cX,GY as cY,DY as cZ,WV as c_,VY as ca,_Y as cb,uF as cc,xY as cd,iG as ce,oF as cf,VF as cg,PV as ch,aV as ci,TF as cj,LF as ck,GV as cl,jY as cm,kF as cn,XV as co,BY as cp,xF as cq,SQ as cr,$V as cs,oG as ct,TY as cu,vY as cv,pY as cw,WY as cx,_Q as cy,mY as cz,wS as d,UY as d0,DF as d1,G$ as d2,YV as d3,sF as d4,ZV as d5,OF as d6,yG as d7,IY as d8,wY as d9,EF as dA,tV as dB,pG as dC,$Y as dD,cF as dE,yY as dF,tY as dG,dV as dH,XY as dI,hG as dJ,DV as dK,SV as dL,XF as dM,iY as dN,fV as dO,RV as dP,zF as dQ,VV as dR,uY as dS,NF as da,rF as db,wV as dc,ZF as dd,iV as de,pV as df,HF as dg,MV as dh,OY as di,RY as dj,wQ as dk,sY as dl,gF as dm,LV as dn,CF as dp,kY as dq,BF as dr,NY as ds,HY as dt,hF as du,PF as dv,IV as dw,oY as dx,mF as dy,UV as dz,Bc as e,CG as f,_E as g,CN as h,kG as i,Te as j,DG as k,wE as l,UN as m,zt as n,Ur as o,Rr as p,RG as q,U as r,N$ as s,AG as t,LG as u,K1 as v,q$ as w,r9 as x,rl as y,zG as z};
|