@alfadocs/ui-kit 1.52.0 → 1.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/{address-autocomplete-BVLoHU3E.js → address-autocomplete-Bp816Mb1.js} +2 -2
- package/dist/_chunks/{address-fields-UiEXHxEX.js → address-fields-BIL6cvLS.js} +2 -2
- package/dist/_chunks/{agenda-tray-C-_iu6Fo.js → agenda-tray-C2a8OfKC.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-DaSoA80I.js → anamnesis-summary-rows-CnHxtht-.js} +3 -3
- package/dist/_chunks/apexcharts-theme-DNoXvgnZ.js +105 -0
- package/dist/_chunks/{appointment-timeline-BZErHbD1.js → appointment-timeline-By-EwmJU.js} +2 -2
- package/dist/_chunks/{appointment-tray-DR_Zm4Gw.js → appointment-tray-7Z3A3Xz9.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-CS-iKkLM.js → balance-badge-cell-BtiFfFRY.js} +2 -2
- package/dist/_chunks/{booking-DP543-BT.js → booking-CFR7vU8X.js} +3 -3
- package/dist/_chunks/{calendar-workspace-B9MKJXER.js → calendar-workspace-LDuzo_Ie.js} +7 -7
- package/dist/_chunks/{chart-CuE30cfr.js → chart-D37VAIa-.js} +81 -81
- package/dist/_chunks/{data-table-DJvEwZZx.js → data-table-CiVyhNXx.js} +2 -2
- package/dist/_chunks/{document-preview-1CZJg6CX.js → document-preview-VXOQZZvy.js} +2 -2
- package/dist/_chunks/{empty-state-DActfjdn.js → empty-state-C62P_6kr.js} +59 -48
- package/dist/_chunks/{error-boundary--w5hYiQ-.js → error-boundary-Cvs23EzK.js} +2 -2
- package/dist/_chunks/error-page-BtxEOL6g.js +780 -0
- package/dist/_chunks/{file-manager-BGHShxn_.js → file-manager-BfG3usGk.js} +3 -3
- package/dist/_chunks/{help-me-write-templates-CGCyhAVE.js → help-me-write-templates-DcR-e_90.js} +2 -2
- package/dist/_chunks/{index.modern-Zta-A4Jm.js → index.modern-BeRXQVdc.js} +3 -2
- package/dist/_chunks/{map-view-CmNGS6Ok.js → map-view-CQmqQJwK.js} +158 -129
- package/dist/_chunks/{practice-results-DjhcggtZ.js → practice-results-B9uV0TT8.js} +3 -3
- package/dist/_chunks/{privacy-mask-noG15O9q.js → privacy-mask-CK-9sxeI.js} +2 -2
- package/dist/_chunks/{product-hub-panel-BmBzDba9.js → product-hub-panel-D87kbz5j.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-BP71J_VB.js → radiograph-panel.agent-BWBaxJ8e.js} +2 -2
- package/dist/_chunks/{reviews-panel-DDb_t7vy.js → reviews-panel-DUgqU-Wr.js} +2 -2
- package/dist/_chunks/{slot-grid-Bkg9MVXP.js → slot-grid-kq7bDdrx.js} +2 -2
- package/dist/_chunks/{sparkline-ZOxMBU76.js → sparkline-pkGPCXbl.js} +80 -80
- package/dist/_chunks/{task-card-CngF4Zee.js → task-card-Cfl08MCS.js} +2 -2
- package/dist/_chunks/{task-editor-Dz93rRXg.js → task-editor-CxF-sBnu.js} +2 -2
- package/dist/_chunks/{task-tray-CB6_BvH9.js → task-tray-rAGslT2C.js} +3 -3
- package/dist/_chunks/{tasks-panel-DHAoTQtR.js → tasks-panel-Dkm8SnmV.js} +3 -3
- package/dist/_chunks/{use-appointment-details-read-YsuJgYeB.js → use-appointment-details-read-W6h4oTHx.js} +3 -3
- package/dist/_chunks/{workflow-map-C7fHKTXL.js → workflow-map-C1OjRhM3.js} +189 -197
- package/dist/agent-catalog.json +51 -7
- package/dist/agent-i18n/en.json +9 -3
- package/dist/components/_shared/index.d.ts +1 -0
- package/dist/components/_shared/is-development.d.ts +8 -0
- package/dist/components/_shared/use-keep-apex-tooltip-inside.d.ts +3 -0
- package/dist/components/address-autocomplete/index.js +1 -1
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/appointment-card/index.js +1 -1
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/empty-state/empty-state.d.ts +6 -0
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/error-boundary/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/map-view/map-view.d.ts +8 -5
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/sparkline/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/error-pages/400.ar.html +41 -0
- package/dist/error-pages/400.de.html +41 -0
- package/dist/error-pages/400.el.html +41 -0
- package/dist/error-pages/400.en.html +41 -0
- package/dist/error-pages/400.es.html +41 -0
- package/dist/error-pages/400.fr.html +41 -0
- package/dist/error-pages/400.hi.html +41 -0
- package/dist/error-pages/400.html +41 -0
- package/dist/error-pages/400.it.html +41 -0
- package/dist/error-pages/400.ja.html +41 -0
- package/dist/error-pages/400.nl.html +41 -0
- package/dist/error-pages/400.pl.html +41 -0
- package/dist/error-pages/400.pt.html +41 -0
- package/dist/error-pages/400.ro.html +41 -0
- package/dist/error-pages/400.ru.html +41 -0
- package/dist/error-pages/400.sq.html +41 -0
- package/dist/error-pages/400.sv.html +41 -0
- package/dist/error-pages/400.tr.html +41 -0
- package/dist/error-pages/400.zh.html +41 -0
- package/dist/error-pages/401.ar.html +41 -0
- package/dist/error-pages/401.de.html +41 -0
- package/dist/error-pages/401.el.html +41 -0
- package/dist/error-pages/401.en.html +41 -0
- package/dist/error-pages/401.es.html +41 -0
- package/dist/error-pages/401.fr.html +41 -0
- package/dist/error-pages/401.hi.html +41 -0
- package/dist/error-pages/401.html +41 -0
- package/dist/error-pages/401.it.html +41 -0
- package/dist/error-pages/401.ja.html +41 -0
- package/dist/error-pages/401.nl.html +41 -0
- package/dist/error-pages/401.pl.html +41 -0
- package/dist/error-pages/401.pt.html +41 -0
- package/dist/error-pages/401.ro.html +41 -0
- package/dist/error-pages/401.ru.html +41 -0
- package/dist/error-pages/401.sq.html +41 -0
- package/dist/error-pages/401.sv.html +41 -0
- package/dist/error-pages/401.tr.html +41 -0
- package/dist/error-pages/401.zh.html +41 -0
- package/dist/error-pages/403.ar.html +41 -0
- package/dist/error-pages/403.de.html +41 -0
- package/dist/error-pages/403.el.html +41 -0
- package/dist/error-pages/403.en.html +41 -0
- package/dist/error-pages/403.es.html +41 -0
- package/dist/error-pages/403.fr.html +41 -0
- package/dist/error-pages/403.hi.html +41 -0
- package/dist/error-pages/403.html +41 -0
- package/dist/error-pages/403.it.html +41 -0
- package/dist/error-pages/403.ja.html +41 -0
- package/dist/error-pages/403.nl.html +41 -0
- package/dist/error-pages/403.pl.html +41 -0
- package/dist/error-pages/403.pt.html +41 -0
- package/dist/error-pages/403.ro.html +41 -0
- package/dist/error-pages/403.ru.html +41 -0
- package/dist/error-pages/403.sq.html +41 -0
- package/dist/error-pages/403.sv.html +41 -0
- package/dist/error-pages/403.tr.html +41 -0
- package/dist/error-pages/403.zh.html +41 -0
- package/dist/error-pages/404.ar.html +41 -0
- package/dist/error-pages/404.de.html +41 -0
- package/dist/error-pages/404.el.html +41 -0
- package/dist/error-pages/404.en.html +41 -0
- package/dist/error-pages/404.es.html +41 -0
- package/dist/error-pages/404.fr.html +41 -0
- package/dist/error-pages/404.hi.html +41 -0
- package/dist/error-pages/404.html +41 -0
- package/dist/error-pages/404.it.html +41 -0
- package/dist/error-pages/404.ja.html +41 -0
- package/dist/error-pages/404.nl.html +41 -0
- package/dist/error-pages/404.pl.html +41 -0
- package/dist/error-pages/404.pt.html +41 -0
- package/dist/error-pages/404.ro.html +41 -0
- package/dist/error-pages/404.ru.html +41 -0
- package/dist/error-pages/404.sq.html +41 -0
- package/dist/error-pages/404.sv.html +41 -0
- package/dist/error-pages/404.tr.html +41 -0
- package/dist/error-pages/404.zh.html +41 -0
- package/dist/error-pages/405.ar.html +41 -0
- package/dist/error-pages/405.de.html +41 -0
- package/dist/error-pages/405.el.html +41 -0
- package/dist/error-pages/405.en.html +41 -0
- package/dist/error-pages/405.es.html +41 -0
- package/dist/error-pages/405.fr.html +41 -0
- package/dist/error-pages/405.hi.html +41 -0
- package/dist/error-pages/405.html +41 -0
- package/dist/error-pages/405.it.html +41 -0
- package/dist/error-pages/405.ja.html +41 -0
- package/dist/error-pages/405.nl.html +41 -0
- package/dist/error-pages/405.pl.html +41 -0
- package/dist/error-pages/405.pt.html +41 -0
- package/dist/error-pages/405.ro.html +41 -0
- package/dist/error-pages/405.ru.html +41 -0
- package/dist/error-pages/405.sq.html +41 -0
- package/dist/error-pages/405.sv.html +41 -0
- package/dist/error-pages/405.tr.html +41 -0
- package/dist/error-pages/405.zh.html +41 -0
- package/dist/error-pages/410.ar.html +41 -0
- package/dist/error-pages/410.de.html +41 -0
- package/dist/error-pages/410.el.html +41 -0
- package/dist/error-pages/410.en.html +41 -0
- package/dist/error-pages/410.es.html +41 -0
- package/dist/error-pages/410.fr.html +41 -0
- package/dist/error-pages/410.hi.html +41 -0
- package/dist/error-pages/410.html +41 -0
- package/dist/error-pages/410.it.html +41 -0
- package/dist/error-pages/410.ja.html +41 -0
- package/dist/error-pages/410.nl.html +41 -0
- package/dist/error-pages/410.pl.html +41 -0
- package/dist/error-pages/410.pt.html +41 -0
- package/dist/error-pages/410.ro.html +41 -0
- package/dist/error-pages/410.ru.html +41 -0
- package/dist/error-pages/410.sq.html +41 -0
- package/dist/error-pages/410.sv.html +41 -0
- package/dist/error-pages/410.tr.html +41 -0
- package/dist/error-pages/410.zh.html +41 -0
- package/dist/error-pages/419.ar.html +42 -0
- package/dist/error-pages/419.de.html +42 -0
- package/dist/error-pages/419.el.html +42 -0
- package/dist/error-pages/419.en.html +42 -0
- package/dist/error-pages/419.es.html +42 -0
- package/dist/error-pages/419.fr.html +42 -0
- package/dist/error-pages/419.hi.html +42 -0
- package/dist/error-pages/419.html +42 -0
- package/dist/error-pages/419.it.html +42 -0
- package/dist/error-pages/419.ja.html +42 -0
- package/dist/error-pages/419.nl.html +42 -0
- package/dist/error-pages/419.pl.html +42 -0
- package/dist/error-pages/419.pt.html +42 -0
- package/dist/error-pages/419.ro.html +42 -0
- package/dist/error-pages/419.ru.html +42 -0
- package/dist/error-pages/419.sq.html +42 -0
- package/dist/error-pages/419.sv.html +42 -0
- package/dist/error-pages/419.tr.html +42 -0
- package/dist/error-pages/419.zh.html +42 -0
- package/dist/error-pages/429.ar.html +42 -0
- package/dist/error-pages/429.de.html +42 -0
- package/dist/error-pages/429.el.html +42 -0
- package/dist/error-pages/429.en.html +42 -0
- package/dist/error-pages/429.es.html +42 -0
- package/dist/error-pages/429.fr.html +42 -0
- package/dist/error-pages/429.hi.html +42 -0
- package/dist/error-pages/429.html +42 -0
- package/dist/error-pages/429.it.html +42 -0
- package/dist/error-pages/429.ja.html +42 -0
- package/dist/error-pages/429.nl.html +42 -0
- package/dist/error-pages/429.pl.html +42 -0
- package/dist/error-pages/429.pt.html +42 -0
- package/dist/error-pages/429.ro.html +42 -0
- package/dist/error-pages/429.ru.html +42 -0
- package/dist/error-pages/429.sq.html +42 -0
- package/dist/error-pages/429.sv.html +42 -0
- package/dist/error-pages/429.tr.html +42 -0
- package/dist/error-pages/429.zh.html +42 -0
- package/dist/error-pages/500.ar.html +41 -0
- package/dist/error-pages/500.de.html +41 -0
- package/dist/error-pages/500.el.html +41 -0
- package/dist/error-pages/500.en.html +41 -0
- package/dist/error-pages/500.es.html +41 -0
- package/dist/error-pages/500.fr.html +41 -0
- package/dist/error-pages/500.hi.html +41 -0
- package/dist/error-pages/500.html +41 -0
- package/dist/error-pages/500.it.html +41 -0
- package/dist/error-pages/500.ja.html +41 -0
- package/dist/error-pages/500.nl.html +41 -0
- package/dist/error-pages/500.pl.html +41 -0
- package/dist/error-pages/500.pt.html +41 -0
- package/dist/error-pages/500.ro.html +41 -0
- package/dist/error-pages/500.ru.html +41 -0
- package/dist/error-pages/500.sq.html +41 -0
- package/dist/error-pages/500.sv.html +41 -0
- package/dist/error-pages/500.tr.html +41 -0
- package/dist/error-pages/500.zh.html +41 -0
- package/dist/error-pages/502.ar.html +41 -0
- package/dist/error-pages/502.de.html +41 -0
- package/dist/error-pages/502.el.html +41 -0
- package/dist/error-pages/502.en.html +41 -0
- package/dist/error-pages/502.es.html +41 -0
- package/dist/error-pages/502.fr.html +41 -0
- package/dist/error-pages/502.hi.html +41 -0
- package/dist/error-pages/502.html +41 -0
- package/dist/error-pages/502.it.html +41 -0
- package/dist/error-pages/502.ja.html +41 -0
- package/dist/error-pages/502.nl.html +41 -0
- package/dist/error-pages/502.pl.html +41 -0
- package/dist/error-pages/502.pt.html +41 -0
- package/dist/error-pages/502.ro.html +41 -0
- package/dist/error-pages/502.ru.html +41 -0
- package/dist/error-pages/502.sq.html +41 -0
- package/dist/error-pages/502.sv.html +41 -0
- package/dist/error-pages/502.tr.html +41 -0
- package/dist/error-pages/502.zh.html +41 -0
- package/dist/error-pages/503.ar.html +41 -0
- package/dist/error-pages/503.de.html +41 -0
- package/dist/error-pages/503.el.html +41 -0
- package/dist/error-pages/503.en.html +41 -0
- package/dist/error-pages/503.es.html +41 -0
- package/dist/error-pages/503.fr.html +41 -0
- package/dist/error-pages/503.hi.html +41 -0
- package/dist/error-pages/503.html +41 -0
- package/dist/error-pages/503.it.html +41 -0
- package/dist/error-pages/503.ja.html +41 -0
- package/dist/error-pages/503.nl.html +41 -0
- package/dist/error-pages/503.pl.html +41 -0
- package/dist/error-pages/503.pt.html +41 -0
- package/dist/error-pages/503.ro.html +41 -0
- package/dist/error-pages/503.ru.html +41 -0
- package/dist/error-pages/503.sq.html +41 -0
- package/dist/error-pages/503.sv.html +41 -0
- package/dist/error-pages/503.tr.html +41 -0
- package/dist/error-pages/503.zh.html +41 -0
- package/dist/error-pages/504.ar.html +41 -0
- package/dist/error-pages/504.de.html +41 -0
- package/dist/error-pages/504.el.html +41 -0
- package/dist/error-pages/504.en.html +41 -0
- package/dist/error-pages/504.es.html +41 -0
- package/dist/error-pages/504.fr.html +41 -0
- package/dist/error-pages/504.hi.html +41 -0
- package/dist/error-pages/504.html +41 -0
- package/dist/error-pages/504.it.html +41 -0
- package/dist/error-pages/504.ja.html +41 -0
- package/dist/error-pages/504.nl.html +41 -0
- package/dist/error-pages/504.pl.html +41 -0
- package/dist/error-pages/504.pt.html +41 -0
- package/dist/error-pages/504.ro.html +41 -0
- package/dist/error-pages/504.ru.html +41 -0
- package/dist/error-pages/504.sq.html +41 -0
- package/dist/error-pages/504.sv.html +41 -0
- package/dist/error-pages/504.tr.html +41 -0
- package/dist/error-pages/504.zh.html +41 -0
- package/dist/error-pages/maintenance.ar.html +41 -0
- package/dist/error-pages/maintenance.de.html +41 -0
- package/dist/error-pages/maintenance.el.html +41 -0
- package/dist/error-pages/maintenance.en.html +41 -0
- package/dist/error-pages/maintenance.es.html +41 -0
- package/dist/error-pages/maintenance.fr.html +41 -0
- package/dist/error-pages/maintenance.hi.html +41 -0
- package/dist/error-pages/maintenance.html +41 -0
- package/dist/error-pages/maintenance.it.html +41 -0
- package/dist/error-pages/maintenance.ja.html +41 -0
- package/dist/error-pages/maintenance.nl.html +41 -0
- package/dist/error-pages/maintenance.pl.html +41 -0
- package/dist/error-pages/maintenance.pt.html +41 -0
- package/dist/error-pages/maintenance.ro.html +41 -0
- package/dist/error-pages/maintenance.ru.html +41 -0
- package/dist/error-pages/maintenance.sq.html +41 -0
- package/dist/error-pages/maintenance.sv.html +41 -0
- package/dist/error-pages/maintenance.tr.html +41 -0
- package/dist/error-pages/maintenance.zh.html +41 -0
- package/dist/host-compat.css +13 -1
- package/dist/i18n/locales/ar.d.ts +70 -0
- package/dist/i18n/locales/ar.js +70 -0
- package/dist/i18n/locales/de.d.ts +70 -0
- package/dist/i18n/locales/de.js +70 -0
- package/dist/i18n/locales/el.d.ts +70 -0
- package/dist/i18n/locales/el.js +70 -0
- package/dist/i18n/locales/en.d.ts +70 -0
- package/dist/i18n/locales/en.js +70 -0
- package/dist/i18n/locales/es.d.ts +70 -0
- package/dist/i18n/locales/es.js +70 -0
- package/dist/i18n/locales/fr.d.ts +70 -0
- package/dist/i18n/locales/fr.js +70 -0
- package/dist/i18n/locales/hi.d.ts +70 -0
- package/dist/i18n/locales/hi.js +70 -0
- package/dist/i18n/locales/it.d.ts +70 -0
- package/dist/i18n/locales/it.js +70 -0
- package/dist/i18n/locales/ja.d.ts +70 -0
- package/dist/i18n/locales/ja.js +70 -0
- package/dist/i18n/locales/nl.d.ts +70 -0
- package/dist/i18n/locales/nl.js +70 -0
- package/dist/i18n/locales/pl.d.ts +70 -0
- package/dist/i18n/locales/pl.js +70 -0
- package/dist/i18n/locales/pt.d.ts +70 -0
- package/dist/i18n/locales/pt.js +70 -0
- package/dist/i18n/locales/ro.d.ts +70 -0
- package/dist/i18n/locales/ro.js +70 -0
- package/dist/i18n/locales/ru.d.ts +70 -0
- package/dist/i18n/locales/ru.js +70 -0
- package/dist/i18n/locales/sq.d.ts +70 -0
- package/dist/i18n/locales/sq.js +70 -0
- package/dist/i18n/locales/sv.d.ts +70 -0
- package/dist/i18n/locales/sv.js +70 -0
- package/dist/i18n/locales/tr.d.ts +70 -0
- package/dist/i18n/locales/tr.js +70 -0
- package/dist/i18n/locales/zh.d.ts +70 -0
- package/dist/i18n/locales/zh.js +70 -0
- package/dist/index.js +143 -137
- package/dist/locales/ar.json +70 -0
- package/dist/locales/de.json +70 -0
- package/dist/locales/el.json +70 -0
- package/dist/locales/en.json +70 -0
- package/dist/locales/es.json +70 -0
- package/dist/locales/fr.json +70 -0
- package/dist/locales/hi.json +70 -0
- package/dist/locales/it.json +70 -0
- package/dist/locales/ja.json +70 -0
- package/dist/locales/nl.json +70 -0
- package/dist/locales/pl.json +70 -0
- package/dist/locales/pt.json +70 -0
- package/dist/locales/ro.json +70 -0
- package/dist/locales/ru.json +70 -0
- package/dist/locales/sq.json +70 -0
- package/dist/locales/sv.json +70 -0
- package/dist/locales/tr.json +70 -0
- package/dist/locales/zh.json +70 -0
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/error-page/error-page-illustration.d.ts +6 -0
- package/dist/patterns/error-page/error-page-locale.d.ts +32 -0
- package/dist/patterns/error-page/error-page-statuses.d.ts +16 -0
- package/dist/patterns/error-page/error-page.d.ts +48 -0
- package/dist/patterns/error-page/index.d.ts +5 -0
- package/dist/patterns/error-page/index.js +9 -0
- package/dist/patterns/help-me-write-templates/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +9 -2
- package/dist/_chunks/apexcharts-theme-B_AxGC_h.js +0 -72
|
@@ -0,0 +1,780 @@
|
|
|
1
|
+
import { jsx as e, jsxs as n, Fragment as i } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as M, useState as I, useEffect as C, forwardRef as ce, useMemo as de } from "react";
|
|
3
|
+
import { useTranslation as le } from "react-i18next";
|
|
4
|
+
import { c as me } from "./index-D2ZczOXr.js";
|
|
5
|
+
import { B as G } from "./button-CYPx2xFq.js";
|
|
6
|
+
import { L as ue } from "./logo-1FuSGx0n.js";
|
|
7
|
+
import { loadLocale as he, LOCALES_WITH_BUNDLES as fe } from "../i18n/config.js";
|
|
8
|
+
import { R as ge } from "./rotate-ccw-BBQnIVTr.js";
|
|
9
|
+
import { c as W } from "./createLucideIcon-DhHxpK9K.js";
|
|
10
|
+
/**
|
|
11
|
+
* @license lucide-react v1.22.0 - ISC
|
|
12
|
+
*
|
|
13
|
+
* This source code is licensed under the ISC license.
|
|
14
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
15
|
+
*/
|
|
16
|
+
const pe = [
|
|
17
|
+
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
18
|
+
["path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3", key: "1u773s" }],
|
|
19
|
+
["path", { d: "M12 17h.01", key: "p32p05" }]
|
|
20
|
+
], ye = W("circle-question-mark", pe);
|
|
21
|
+
/**
|
|
22
|
+
* @license lucide-react v1.22.0 - ISC
|
|
23
|
+
*
|
|
24
|
+
* This source code is licensed under the ISC license.
|
|
25
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
26
|
+
*/
|
|
27
|
+
const xe = [
|
|
28
|
+
["path", { d: "M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8", key: "5wwlr5" }],
|
|
29
|
+
[
|
|
30
|
+
"path",
|
|
31
|
+
{
|
|
32
|
+
d: "M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",
|
|
33
|
+
key: "r6nss1"
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
], ve = W("house", xe);
|
|
37
|
+
/**
|
|
38
|
+
* @license lucide-react v1.22.0 - ISC
|
|
39
|
+
*
|
|
40
|
+
* This source code is licensed under the ISC license.
|
|
41
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
42
|
+
*/
|
|
43
|
+
const ke = [
|
|
44
|
+
["path", { d: "m10 17 5-5-5-5", key: "1bsop3" }],
|
|
45
|
+
["path", { d: "M15 12H3", key: "6jk70r" }],
|
|
46
|
+
["path", { d: "M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4", key: "u53s6r" }]
|
|
47
|
+
], be = W("log-in", ke), we = [
|
|
48
|
+
400,
|
|
49
|
+
401,
|
|
50
|
+
403,
|
|
51
|
+
404,
|
|
52
|
+
405,
|
|
53
|
+
410,
|
|
54
|
+
419,
|
|
55
|
+
429,
|
|
56
|
+
500,
|
|
57
|
+
502,
|
|
58
|
+
503,
|
|
59
|
+
504,
|
|
60
|
+
"offline",
|
|
61
|
+
"maintenance"
|
|
62
|
+
], U = {
|
|
63
|
+
400: { key: "badRequest", mood: "jumbled", primary: "home" },
|
|
64
|
+
401: { key: "unauthorised", mood: "locked", primary: "login" },
|
|
65
|
+
403: { key: "forbidden", mood: "roped", primary: "home" },
|
|
66
|
+
404: { key: "notFound", mood: "lost", primary: "home" },
|
|
67
|
+
405: { key: "methodNotAllowed", mood: "wrong-way", primary: "home" },
|
|
68
|
+
410: { key: "gone", mood: "vanished", primary: "home" },
|
|
69
|
+
419: { key: "expired", mood: "asleep", primary: "login" },
|
|
70
|
+
429: { key: "tooManyRequests", mood: "melt", primary: "retry" },
|
|
71
|
+
500: { key: "serverError", mood: "patched", primary: "retry" },
|
|
72
|
+
502: { key: "badGateway", mood: "unplugged", primary: "retry" },
|
|
73
|
+
503: { key: "maintenance", mood: "rebuild", primary: "retry" },
|
|
74
|
+
504: { key: "timeout", mood: "snail", primary: "retry" },
|
|
75
|
+
offline: { key: "offline", mood: "adrift", primary: "retry" },
|
|
76
|
+
maintenance: { key: "maintenance", mood: "rebuild", primary: "retry" },
|
|
77
|
+
generic: { key: "generic", mood: "puzzled", primary: "home" }
|
|
78
|
+
};
|
|
79
|
+
function _e(r) {
|
|
80
|
+
return we.includes(r) ? U[r] : U.generic;
|
|
81
|
+
}
|
|
82
|
+
const Le = {
|
|
83
|
+
top: {
|
|
84
|
+
x: 53.04,
|
|
85
|
+
y: 2.54,
|
|
86
|
+
width: 33.99,
|
|
87
|
+
height: 49.34,
|
|
88
|
+
rx: 4.56,
|
|
89
|
+
transform: "translate(-4.66 19.05) rotate(-15)"
|
|
90
|
+
},
|
|
91
|
+
right: {
|
|
92
|
+
x: 96.12,
|
|
93
|
+
y: 53.04,
|
|
94
|
+
width: 49.34,
|
|
95
|
+
height: 33.99,
|
|
96
|
+
rx: 4.56,
|
|
97
|
+
transform: "translate(-14.01 33.65) rotate(-15)"
|
|
98
|
+
},
|
|
99
|
+
bottom: {
|
|
100
|
+
x: 60.97,
|
|
101
|
+
y: 96.12,
|
|
102
|
+
width: 33.99,
|
|
103
|
+
height: 49.34,
|
|
104
|
+
rx: 4.56,
|
|
105
|
+
transform: "translate(-28.61 24.29) rotate(-15)"
|
|
106
|
+
}
|
|
107
|
+
}, Ne = "M47.82,59.56c-.65-2.43-3.15-3.87-5.58-3.22L3.38,66.75c-2.43.65-3.87,3.15-3.22,5.58l6.44,24.03c.65,2.43,3.15,3.87,5.58,3.22l38.86-10.41c2.43-.65,3.87-3.15,3.22-5.58l-6.44-24.03Z", Ee = {
|
|
108
|
+
top: [70, 27],
|
|
109
|
+
right: [121, 70],
|
|
110
|
+
left: [27, 78],
|
|
111
|
+
bottom: [78, 121]
|
|
112
|
+
};
|
|
113
|
+
function u({ name: r, ...t }) {
|
|
114
|
+
return r === "left" ? /* @__PURE__ */ e("path", { d: Ne, ...t }) : /* @__PURE__ */ e("rect", { ...Le[r], ...t });
|
|
115
|
+
}
|
|
116
|
+
const P = ["top", "right", "left", "bottom"];
|
|
117
|
+
function m({ except: r = [] }) {
|
|
118
|
+
return P.filter((t) => !r.includes(t)).map((t) => /* @__PURE__ */ e(u, { name: t }, t));
|
|
119
|
+
}
|
|
120
|
+
function N({ name: r }) {
|
|
121
|
+
return /* @__PURE__ */ e(
|
|
122
|
+
u,
|
|
123
|
+
{
|
|
124
|
+
name: r,
|
|
125
|
+
fill: "none",
|
|
126
|
+
stroke: "var(--primary)",
|
|
127
|
+
strokeWidth: "2",
|
|
128
|
+
strokeDasharray: "5 5",
|
|
129
|
+
strokeOpacity: "0.55"
|
|
130
|
+
}
|
|
131
|
+
);
|
|
132
|
+
}
|
|
133
|
+
function d({ cx: r = 74, rx: t = 46 }) {
|
|
134
|
+
return /* @__PURE__ */ e(
|
|
135
|
+
"ellipse",
|
|
136
|
+
{
|
|
137
|
+
cx: r,
|
|
138
|
+
cy: "206",
|
|
139
|
+
rx: t,
|
|
140
|
+
ry: "4",
|
|
141
|
+
fill: "var(--muted-foreground)",
|
|
142
|
+
fillOpacity: "0.2"
|
|
143
|
+
}
|
|
144
|
+
);
|
|
145
|
+
}
|
|
146
|
+
const Re = "ds:[transform-box:fill-box] ds:origin-top ds:motion-safe:animate-[error-page-drip_calc(var(--animation-duration)*15)_ease-in-out_1]", Se = "ds:motion-safe:animate-[error-page-drop_calc(var(--animation-duration)*12)_ease-in_2]", H = "ds:[transform-box:fill-box] ds:origin-bottom ds:motion-safe:animate-[error-page-rock_calc(var(--animation-duration)*20)_ease-in-out_1]", Y = "ds:[transform-box:fill-box] ds:origin-center ds:motion-safe:animate-[error-page-bob_calc(var(--animation-duration)*14)_ease-in-out_1]", D = "ds:[transform-box:fill-box] ds:origin-top ds:motion-safe:animate-[error-page-swing_calc(var(--animation-duration)*18)_ease-in-out_1]", Pe = "ds:[transform-box:fill-box] ds:origin-center ds:motion-safe:animate-[error-page-wiggle_calc(var(--animation-duration)*10)_ease-in-out_2]", q = "ds:[transform-box:fill-box] ds:origin-center ds:motion-safe:animate-[error-page-rise_calc(var(--animation-duration)*16)_ease-out_1]", $e = "ds:motion-safe:animate-[error-page-flicker_calc(var(--animation-duration)*6)_steps(1)_4]", Ae = "ds:motion-safe:animate-[error-page-crawl_calc(var(--animation-duration)*24)_ease-in-out_1]", Te = "ds:motion-safe:animate-[error-page-bump_calc(var(--animation-duration)*12)_ease-in-out_2]", Z = "ds:[transform-box:fill-box] ds:origin-center ds:motion-safe:animate-[error-page-breathe_calc(var(--animation-duration)*20)_ease-in-out_1]", v = "ds:[animation-delay:calc(var(--animation-duration)*5)]", L = "ds:[animation-delay:calc(var(--animation-duration)*9)]", Oe = "ds:[transform-box:fill-box] ds:origin-center ds:motion-safe:animate-[error-page-pop_calc(var(--animation-duration)*3)_ease-out_1]";
|
|
147
|
+
function Me() {
|
|
148
|
+
const r = {
|
|
149
|
+
top: 75,
|
|
150
|
+
right: -60,
|
|
151
|
+
left: 40,
|
|
152
|
+
bottom: -95
|
|
153
|
+
};
|
|
154
|
+
return /* @__PURE__ */ n(i, { children: [
|
|
155
|
+
P.map((t, o) => {
|
|
156
|
+
const [a, s] = Ee[t];
|
|
157
|
+
return /* @__PURE__ */ e("g", { transform: `rotate(${r[t]} ${a} ${s})`, children: /* @__PURE__ */ e("g", { className: `${Pe} ${o % 2 ? v : ""}`, children: /* @__PURE__ */ e(u, { name: t }) }) }, t);
|
|
158
|
+
}),
|
|
159
|
+
/* @__PURE__ */ e(d, {})
|
|
160
|
+
] });
|
|
161
|
+
}
|
|
162
|
+
function Ie() {
|
|
163
|
+
return /* @__PURE__ */ n(i, { children: [
|
|
164
|
+
/* @__PURE__ */ e(m, {}),
|
|
165
|
+
/* @__PURE__ */ n("g", { className: D, children: [
|
|
166
|
+
/* @__PURE__ */ e(
|
|
167
|
+
"path",
|
|
168
|
+
{
|
|
169
|
+
d: "M60 84 v-12 a14 14 0 0 1 28 0 v12",
|
|
170
|
+
fill: "none",
|
|
171
|
+
stroke: "var(--muted-foreground)",
|
|
172
|
+
strokeWidth: "6",
|
|
173
|
+
strokeLinecap: "round"
|
|
174
|
+
}
|
|
175
|
+
),
|
|
176
|
+
/* @__PURE__ */ e(
|
|
177
|
+
"rect",
|
|
178
|
+
{
|
|
179
|
+
x: "50",
|
|
180
|
+
y: "82",
|
|
181
|
+
width: "48",
|
|
182
|
+
height: "38",
|
|
183
|
+
rx: "7",
|
|
184
|
+
fill: "var(--muted-foreground)"
|
|
185
|
+
}
|
|
186
|
+
),
|
|
187
|
+
/* @__PURE__ */ e("circle", { cx: "74", cy: "97", r: "4.5", fill: "var(--background)" }),
|
|
188
|
+
/* @__PURE__ */ e(
|
|
189
|
+
"rect",
|
|
190
|
+
{
|
|
191
|
+
x: "72",
|
|
192
|
+
y: "99",
|
|
193
|
+
width: "4",
|
|
194
|
+
height: "10",
|
|
195
|
+
rx: "2",
|
|
196
|
+
fill: "var(--background)"
|
|
197
|
+
}
|
|
198
|
+
)
|
|
199
|
+
] }),
|
|
200
|
+
/* @__PURE__ */ e(d, {})
|
|
201
|
+
] });
|
|
202
|
+
}
|
|
203
|
+
function Ce() {
|
|
204
|
+
const r = (t) => /* @__PURE__ */ n("g", { fill: "var(--muted-foreground)", children: [
|
|
205
|
+
/* @__PURE__ */ e("rect", { x: t - 3, y: "158", width: "6", height: "48", rx: "3" }),
|
|
206
|
+
/* @__PURE__ */ e("circle", { cx: t, cy: "157", r: "6" }),
|
|
207
|
+
/* @__PURE__ */ e("rect", { x: t - 11, y: "202", width: "22", height: "5", rx: "2.5" })
|
|
208
|
+
] });
|
|
209
|
+
return /* @__PURE__ */ n(i, { children: [
|
|
210
|
+
/* @__PURE__ */ e(m, {}),
|
|
211
|
+
r(8),
|
|
212
|
+
r(140),
|
|
213
|
+
/* @__PURE__ */ e("g", { className: D, children: /* @__PURE__ */ e(
|
|
214
|
+
"path",
|
|
215
|
+
{
|
|
216
|
+
d: "M8 160 Q74 196 140 160",
|
|
217
|
+
fill: "none",
|
|
218
|
+
stroke: "var(--destructive)",
|
|
219
|
+
strokeWidth: "6",
|
|
220
|
+
strokeLinecap: "round"
|
|
221
|
+
}
|
|
222
|
+
) })
|
|
223
|
+
] });
|
|
224
|
+
}
|
|
225
|
+
function We() {
|
|
226
|
+
return /* @__PURE__ */ n(i, { children: [
|
|
227
|
+
/* @__PURE__ */ e(m, { except: ["right"] }),
|
|
228
|
+
/* @__PURE__ */ e(N, { name: "right" }),
|
|
229
|
+
/* @__PURE__ */ e(d, { cx: 150, rx: 28 }),
|
|
230
|
+
/* @__PURE__ */ e("g", { transform: "translate(150 204)", children: /* @__PURE__ */ e("g", { className: H, children: /* @__PURE__ */ e(
|
|
231
|
+
"rect",
|
|
232
|
+
{
|
|
233
|
+
x: "-24.67",
|
|
234
|
+
y: "-35",
|
|
235
|
+
width: "49.34",
|
|
236
|
+
height: "33.99",
|
|
237
|
+
rx: "4.56",
|
|
238
|
+
transform: "rotate(10)"
|
|
239
|
+
}
|
|
240
|
+
) }) })
|
|
241
|
+
] });
|
|
242
|
+
}
|
|
243
|
+
function De() {
|
|
244
|
+
return /* @__PURE__ */ n(i, { children: [
|
|
245
|
+
/* @__PURE__ */ e(m, { except: ["right"] }),
|
|
246
|
+
/* @__PURE__ */ e(N, { name: "right" }),
|
|
247
|
+
/* @__PURE__ */ e("g", { className: Te, children: /* @__PURE__ */ e("g", { transform: "translate(40 0) rotate(90 121 70)", children: /* @__PURE__ */ e(u, { name: "right" }) }) }),
|
|
248
|
+
/* @__PURE__ */ e(d, {})
|
|
249
|
+
] });
|
|
250
|
+
}
|
|
251
|
+
function Fe() {
|
|
252
|
+
const r = [
|
|
253
|
+
[34, 44, ""],
|
|
254
|
+
[96, 18, v],
|
|
255
|
+
[118, 92, L],
|
|
256
|
+
[62, 118, v],
|
|
257
|
+
[20, 96, L]
|
|
258
|
+
];
|
|
259
|
+
return /* @__PURE__ */ n(i, { children: [
|
|
260
|
+
P.map((t) => /* @__PURE__ */ e(N, { name: t }, t)),
|
|
261
|
+
r.map(([t, o, a]) => /* @__PURE__ */ e(
|
|
262
|
+
"rect",
|
|
263
|
+
{
|
|
264
|
+
x: t,
|
|
265
|
+
y: o,
|
|
266
|
+
width: "6",
|
|
267
|
+
height: "6",
|
|
268
|
+
rx: "1.5",
|
|
269
|
+
className: `${q} ${a}`
|
|
270
|
+
},
|
|
271
|
+
`${t}-${o}`
|
|
272
|
+
)),
|
|
273
|
+
/* @__PURE__ */ e(d, {})
|
|
274
|
+
] });
|
|
275
|
+
}
|
|
276
|
+
function ze() {
|
|
277
|
+
const r = (t, o, a, s) => /* @__PURE__ */ e(
|
|
278
|
+
"path",
|
|
279
|
+
{
|
|
280
|
+
d: `M${t} ${o} h${a} l-${a} ${a} h${a}`,
|
|
281
|
+
fill: "none",
|
|
282
|
+
stroke: "var(--muted-foreground)",
|
|
283
|
+
strokeWidth: "3",
|
|
284
|
+
strokeLinecap: "round",
|
|
285
|
+
strokeLinejoin: "round",
|
|
286
|
+
className: `${q} ${s}`
|
|
287
|
+
}
|
|
288
|
+
);
|
|
289
|
+
return /* @__PURE__ */ n(i, { children: [
|
|
290
|
+
/* @__PURE__ */ e("g", { transform: "rotate(14 74 74)", children: /* @__PURE__ */ e("g", { className: Z, children: /* @__PURE__ */ e(m, {}) }) }),
|
|
291
|
+
r(122, 22, 10, ""),
|
|
292
|
+
r(140, 2, 13, v),
|
|
293
|
+
r(160, -16, 16, L),
|
|
294
|
+
/* @__PURE__ */ e(d, {})
|
|
295
|
+
] });
|
|
296
|
+
}
|
|
297
|
+
function Be() {
|
|
298
|
+
return /* @__PURE__ */ n(i, { children: [
|
|
299
|
+
/* @__PURE__ */ n("g", { className: Z, children: [
|
|
300
|
+
/* @__PURE__ */ e(m, {}),
|
|
301
|
+
/* @__PURE__ */ e(
|
|
302
|
+
"polyline",
|
|
303
|
+
{
|
|
304
|
+
points: "62,102 75,113 67,119 83,128 75,137 91,145",
|
|
305
|
+
fill: "none",
|
|
306
|
+
stroke: "var(--background)",
|
|
307
|
+
strokeWidth: "4.5",
|
|
308
|
+
strokeLinecap: "round",
|
|
309
|
+
strokeLinejoin: "round"
|
|
310
|
+
}
|
|
311
|
+
),
|
|
312
|
+
/* @__PURE__ */ n("g", { transform: "rotate(-40 78 122)", children: [
|
|
313
|
+
/* @__PURE__ */ e(
|
|
314
|
+
"rect",
|
|
315
|
+
{
|
|
316
|
+
x: "46",
|
|
317
|
+
y: "111",
|
|
318
|
+
width: "64",
|
|
319
|
+
height: "22",
|
|
320
|
+
rx: "11",
|
|
321
|
+
fill: "var(--muted)",
|
|
322
|
+
stroke: "var(--border)",
|
|
323
|
+
strokeWidth: "1.5"
|
|
324
|
+
}
|
|
325
|
+
),
|
|
326
|
+
/* @__PURE__ */ e(
|
|
327
|
+
"rect",
|
|
328
|
+
{
|
|
329
|
+
x: "68",
|
|
330
|
+
y: "111",
|
|
331
|
+
width: "20",
|
|
332
|
+
height: "22",
|
|
333
|
+
fill: "var(--border)",
|
|
334
|
+
fillOpacity: "0.6"
|
|
335
|
+
}
|
|
336
|
+
),
|
|
337
|
+
/* @__PURE__ */ n("g", { fill: "var(--muted-foreground)", fillOpacity: "0.5", children: [
|
|
338
|
+
/* @__PURE__ */ e("circle", { cx: "55", cy: "118", r: "1.4" }),
|
|
339
|
+
/* @__PURE__ */ e("circle", { cx: "55", cy: "126", r: "1.4" }),
|
|
340
|
+
/* @__PURE__ */ e("circle", { cx: "101", cy: "118", r: "1.4" }),
|
|
341
|
+
/* @__PURE__ */ e("circle", { cx: "101", cy: "126", r: "1.4" })
|
|
342
|
+
] })
|
|
343
|
+
] })
|
|
344
|
+
] }),
|
|
345
|
+
/* @__PURE__ */ e(d, {})
|
|
346
|
+
] });
|
|
347
|
+
}
|
|
348
|
+
function O({
|
|
349
|
+
cx: r,
|
|
350
|
+
top: t,
|
|
351
|
+
length: o,
|
|
352
|
+
className: a = ""
|
|
353
|
+
}) {
|
|
354
|
+
return /* @__PURE__ */ n("g", { className: `${Re} ${a}`, children: [
|
|
355
|
+
/* @__PURE__ */ e("rect", { x: r - 3.5, y: t, width: "7", height: o, rx: "3.5" }),
|
|
356
|
+
/* @__PURE__ */ e("circle", { cx: r, cy: t + o, r: "4.2" })
|
|
357
|
+
] });
|
|
358
|
+
}
|
|
359
|
+
function je() {
|
|
360
|
+
return /* @__PURE__ */ n(i, { children: [
|
|
361
|
+
/* @__PURE__ */ e(m, {}),
|
|
362
|
+
/* @__PURE__ */ e("path", { d: "M67 139 L99 131 L101 138 Q92 151 80 152 Q70 153 68 143 Z" }),
|
|
363
|
+
/* @__PURE__ */ e(O, { cx: 75, top: 144, length: 20, className: v }),
|
|
364
|
+
/* @__PURE__ */ e(O, { cx: 85.5, top: 141, length: 32 }),
|
|
365
|
+
/* @__PURE__ */ e(O, { cx: 96, top: 137, length: 13, className: L }),
|
|
366
|
+
/* @__PURE__ */ e("circle", { cx: "85.5", cy: "179", r: "3.2", className: Se }),
|
|
367
|
+
/* @__PURE__ */ e("ellipse", { cx: "86", cy: "204", rx: "30", ry: "5.5", fillOpacity: "0.3" })
|
|
368
|
+
] });
|
|
369
|
+
}
|
|
370
|
+
function Ge() {
|
|
371
|
+
return /* @__PURE__ */ n(i, { children: [
|
|
372
|
+
/* @__PURE__ */ n("g", { transform: "translate(-12 -8)", children: [
|
|
373
|
+
/* @__PURE__ */ e(u, { name: "top" }),
|
|
374
|
+
/* @__PURE__ */ e(u, { name: "left" })
|
|
375
|
+
] }),
|
|
376
|
+
/* @__PURE__ */ n("g", { transform: "translate(12 8)", children: [
|
|
377
|
+
/* @__PURE__ */ e(u, { name: "right" }),
|
|
378
|
+
/* @__PURE__ */ e(u, { name: "bottom" })
|
|
379
|
+
] }),
|
|
380
|
+
/* @__PURE__ */ e(
|
|
381
|
+
"polyline",
|
|
382
|
+
{
|
|
383
|
+
points: "66,62 80,72 68,78 84,90",
|
|
384
|
+
fill: "none",
|
|
385
|
+
stroke: "var(--accent)",
|
|
386
|
+
strokeWidth: "4",
|
|
387
|
+
strokeLinecap: "round",
|
|
388
|
+
strokeLinejoin: "round",
|
|
389
|
+
className: $e
|
|
390
|
+
}
|
|
391
|
+
),
|
|
392
|
+
/* @__PURE__ */ e(d, {})
|
|
393
|
+
] });
|
|
394
|
+
}
|
|
395
|
+
function Ue() {
|
|
396
|
+
return /* @__PURE__ */ n(i, { children: [
|
|
397
|
+
/* @__PURE__ */ e(m, { except: ["right"] }),
|
|
398
|
+
/* @__PURE__ */ e(N, { name: "right" }),
|
|
399
|
+
/* @__PURE__ */ n("g", { className: D, children: [
|
|
400
|
+
/* @__PURE__ */ e(
|
|
401
|
+
"line",
|
|
402
|
+
{
|
|
403
|
+
x1: "121",
|
|
404
|
+
y1: "-24",
|
|
405
|
+
x2: "121",
|
|
406
|
+
y2: "6",
|
|
407
|
+
stroke: "var(--muted-foreground)",
|
|
408
|
+
strokeWidth: "2",
|
|
409
|
+
strokeLinecap: "round"
|
|
410
|
+
}
|
|
411
|
+
),
|
|
412
|
+
/* @__PURE__ */ e(
|
|
413
|
+
"path",
|
|
414
|
+
{
|
|
415
|
+
d: "M121 6 v5 a4 4 0 1 1 -4 4",
|
|
416
|
+
fill: "none",
|
|
417
|
+
stroke: "var(--muted-foreground)",
|
|
418
|
+
strokeWidth: "2",
|
|
419
|
+
strokeLinecap: "round"
|
|
420
|
+
}
|
|
421
|
+
),
|
|
422
|
+
/* @__PURE__ */ e("g", { transform: "translate(0 -36)", children: /* @__PURE__ */ e(u, { name: "right" }) })
|
|
423
|
+
] }),
|
|
424
|
+
/* @__PURE__ */ e(d, {})
|
|
425
|
+
] });
|
|
426
|
+
}
|
|
427
|
+
function Ke() {
|
|
428
|
+
return /* @__PURE__ */ n(i, { children: [
|
|
429
|
+
/* @__PURE__ */ e(m, { except: ["right"] }),
|
|
430
|
+
/* @__PURE__ */ e(N, { name: "right" }),
|
|
431
|
+
/* @__PURE__ */ e(d, { cx: 140, rx: 34 }),
|
|
432
|
+
/* @__PURE__ */ n("g", { className: Ae, children: [
|
|
433
|
+
/* @__PURE__ */ n("g", { fill: "var(--muted-foreground)", fillOpacity: "0.45", children: [
|
|
434
|
+
/* @__PURE__ */ e("rect", { x: "110", y: "198", width: "58", height: "8", rx: "4" }),
|
|
435
|
+
/* @__PURE__ */ e("rect", { x: "110", y: "184", width: "12", height: "22", rx: "6" })
|
|
436
|
+
] }),
|
|
437
|
+
/* @__PURE__ */ n(
|
|
438
|
+
"g",
|
|
439
|
+
{
|
|
440
|
+
stroke: "var(--muted-foreground)",
|
|
441
|
+
strokeWidth: "2",
|
|
442
|
+
strokeLinecap: "round",
|
|
443
|
+
children: [
|
|
444
|
+
/* @__PURE__ */ e("line", { x1: "113", y1: "186", x2: "108", y2: "173" }),
|
|
445
|
+
/* @__PURE__ */ e("line", { x1: "119", y1: "186", x2: "121", y2: "172" })
|
|
446
|
+
]
|
|
447
|
+
}
|
|
448
|
+
),
|
|
449
|
+
/* @__PURE__ */ e("circle", { cx: "108", cy: "172", r: "2.5", fill: "var(--muted-foreground)" }),
|
|
450
|
+
/* @__PURE__ */ e("circle", { cx: "121", cy: "171", r: "2.5", fill: "var(--muted-foreground)" }),
|
|
451
|
+
/* @__PURE__ */ e(
|
|
452
|
+
"circle",
|
|
453
|
+
{
|
|
454
|
+
cx: "146",
|
|
455
|
+
cy: "185",
|
|
456
|
+
r: "16",
|
|
457
|
+
fill: "var(--muted-foreground)",
|
|
458
|
+
fillOpacity: "0.7"
|
|
459
|
+
}
|
|
460
|
+
),
|
|
461
|
+
/* @__PURE__ */ e(
|
|
462
|
+
"path",
|
|
463
|
+
{
|
|
464
|
+
d: "M146 185 a3 3 0 1 1 3 3 a7 7 0 1 1 -7 -7 a11 11 0 1 1 11 11",
|
|
465
|
+
fill: "none",
|
|
466
|
+
stroke: "var(--background)",
|
|
467
|
+
strokeWidth: "2",
|
|
468
|
+
strokeLinecap: "round"
|
|
469
|
+
}
|
|
470
|
+
),
|
|
471
|
+
/* @__PURE__ */ e(
|
|
472
|
+
"rect",
|
|
473
|
+
{
|
|
474
|
+
x: "-13",
|
|
475
|
+
y: "-9",
|
|
476
|
+
width: "26",
|
|
477
|
+
height: "18",
|
|
478
|
+
rx: "3",
|
|
479
|
+
transform: "translate(147 161) rotate(-15)"
|
|
480
|
+
}
|
|
481
|
+
)
|
|
482
|
+
] })
|
|
483
|
+
] });
|
|
484
|
+
}
|
|
485
|
+
function Qe() {
|
|
486
|
+
const r = {
|
|
487
|
+
top: [0, -12, ""],
|
|
488
|
+
right: [14, 0, v],
|
|
489
|
+
left: [-14, 0, L],
|
|
490
|
+
bottom: [0, 14, v]
|
|
491
|
+
};
|
|
492
|
+
return /* @__PURE__ */ n(i, { children: [
|
|
493
|
+
/* @__PURE__ */ e(d, {}),
|
|
494
|
+
P.map((t) => {
|
|
495
|
+
const [o, a, s] = r[t];
|
|
496
|
+
return /* @__PURE__ */ e("g", { transform: `translate(${o} ${a})`, children: /* @__PURE__ */ e("g", { className: `${Y} ${s}`, children: /* @__PURE__ */ e(u, { name: t }) }) }, t);
|
|
497
|
+
})
|
|
498
|
+
] });
|
|
499
|
+
}
|
|
500
|
+
function Ve() {
|
|
501
|
+
return /* @__PURE__ */ n(i, { children: [
|
|
502
|
+
/* @__PURE__ */ e("g", { className: H, children: /* @__PURE__ */ e(m, {}) }),
|
|
503
|
+
/* @__PURE__ */ n("g", { className: Y, children: [
|
|
504
|
+
/* @__PURE__ */ e(
|
|
505
|
+
"path",
|
|
506
|
+
{
|
|
507
|
+
d: "M140 -2 a10 10 0 1 1 10 10 v7",
|
|
508
|
+
fill: "none",
|
|
509
|
+
stroke: "var(--muted-foreground)",
|
|
510
|
+
strokeWidth: "5",
|
|
511
|
+
strokeLinecap: "round",
|
|
512
|
+
strokeLinejoin: "round"
|
|
513
|
+
}
|
|
514
|
+
),
|
|
515
|
+
/* @__PURE__ */ e("circle", { cx: "150", cy: "27", r: "3", fill: "var(--muted-foreground)" })
|
|
516
|
+
] }),
|
|
517
|
+
/* @__PURE__ */ e(d, {})
|
|
518
|
+
] });
|
|
519
|
+
}
|
|
520
|
+
const He = {
|
|
521
|
+
jumbled: Me,
|
|
522
|
+
locked: Ie,
|
|
523
|
+
roped: Ce,
|
|
524
|
+
lost: We,
|
|
525
|
+
"wrong-way": De,
|
|
526
|
+
vanished: Fe,
|
|
527
|
+
asleep: ze,
|
|
528
|
+
patched: Be,
|
|
529
|
+
melt: je,
|
|
530
|
+
unplugged: Ge,
|
|
531
|
+
rebuild: Ue,
|
|
532
|
+
snail: Ke,
|
|
533
|
+
adrift: Qe,
|
|
534
|
+
puzzled: Ve
|
|
535
|
+
}, Ye = 3e3;
|
|
536
|
+
function qe({
|
|
537
|
+
mood: r
|
|
538
|
+
}) {
|
|
539
|
+
const t = M(null), [o, a] = I(!1);
|
|
540
|
+
C(() => {
|
|
541
|
+
const f = t.current;
|
|
542
|
+
if (!f) return;
|
|
543
|
+
let h;
|
|
544
|
+
const p = () => {
|
|
545
|
+
a(!0), clearTimeout(h), h = setTimeout(() => a(!1), Ye);
|
|
546
|
+
};
|
|
547
|
+
return f.addEventListener("click", p), () => {
|
|
548
|
+
f.removeEventListener("click", p), clearTimeout(h);
|
|
549
|
+
};
|
|
550
|
+
}, []);
|
|
551
|
+
const s = He[r];
|
|
552
|
+
return /* @__PURE__ */ e(
|
|
553
|
+
"div",
|
|
554
|
+
{
|
|
555
|
+
ref: t,
|
|
556
|
+
"aria-hidden": "true",
|
|
557
|
+
"data-mood": o ? "fixed" : r,
|
|
558
|
+
className: "ds:w-48 ds:select-none",
|
|
559
|
+
children: /* @__PURE__ */ e(
|
|
560
|
+
"svg",
|
|
561
|
+
{
|
|
562
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
563
|
+
viewBox: "-20 -24 200 240",
|
|
564
|
+
fill: "var(--primary)",
|
|
565
|
+
className: "ds:block ds:w-full ds:h-auto ds:overflow-visible",
|
|
566
|
+
children: o ? /* @__PURE__ */ e("g", { className: Oe, children: /* @__PURE__ */ e(m, {}) }) : /* @__PURE__ */ e(s, {})
|
|
567
|
+
}
|
|
568
|
+
)
|
|
569
|
+
}
|
|
570
|
+
);
|
|
571
|
+
}
|
|
572
|
+
const Ze = "alfadocs-ui.locale", Je = "it", Xe = (r) => {
|
|
573
|
+
if (!r) return;
|
|
574
|
+
const t = r.toLowerCase().replaceAll("_", "-").split("-")[0], o = t === "cn" ? "zh" : t;
|
|
575
|
+
return fe.includes(o) ? o : void 0;
|
|
576
|
+
}, er = () => {
|
|
577
|
+
try {
|
|
578
|
+
return window.localStorage.getItem(Ze);
|
|
579
|
+
} catch {
|
|
580
|
+
return null;
|
|
581
|
+
}
|
|
582
|
+
};
|
|
583
|
+
function rr(r = {}) {
|
|
584
|
+
var h;
|
|
585
|
+
const t = typeof window < "u", o = r.saved !== void 0 ? r.saved : t ? er() : null, a = r.browser ?? (t && typeof navigator < "u" ? (h = navigator.languages) != null && h.length ? navigator.languages : [navigator.language] : []), s = r.document ?? (typeof document < "u" ? document.documentElement.lang : ""), f = [
|
|
586
|
+
r.locale,
|
|
587
|
+
o,
|
|
588
|
+
...a,
|
|
589
|
+
r.hostLocaleIsDefault ? void 0 : s
|
|
590
|
+
];
|
|
591
|
+
for (const p of f) {
|
|
592
|
+
const w = Xe(p);
|
|
593
|
+
if (w) return w;
|
|
594
|
+
}
|
|
595
|
+
return Je;
|
|
596
|
+
}
|
|
597
|
+
const K = (r, t) => he(r, t), tr = me(
|
|
598
|
+
"ds:flex ds:flex-col ds:items-center ds:justify-center ds:bg-[var(--background)] ds:text-[var(--foreground)] ds:px-[var(--spacing-md)] ds:py-[var(--spacing-2xl)]",
|
|
599
|
+
{
|
|
600
|
+
variants: {
|
|
601
|
+
layout: {
|
|
602
|
+
/** Fills the viewport: the whole page is the error. */
|
|
603
|
+
page: "ds:min-h-screen",
|
|
604
|
+
/** Fills its container, under the host's own header. */
|
|
605
|
+
embedded: "ds:[min-block-size:100%]"
|
|
606
|
+
}
|
|
607
|
+
},
|
|
608
|
+
defaultVariants: { layout: "page" }
|
|
609
|
+
}
|
|
610
|
+
), nr = /* @__PURE__ */ new Set(["ar"]), or = 1500;
|
|
611
|
+
function ar(r, t) {
|
|
612
|
+
const o = r instanceof Date ? r : new Date(r);
|
|
613
|
+
if (Number.isNaN(o.getTime())) return;
|
|
614
|
+
const a = /* @__PURE__ */ new Date(), s = a.toDateString() === o.toDateString() ? {} : {
|
|
615
|
+
day: "numeric",
|
|
616
|
+
month: "short",
|
|
617
|
+
...a.getFullYear() === o.getFullYear() ? {} : { year: "numeric" }
|
|
618
|
+
};
|
|
619
|
+
return new Intl.DateTimeFormat(t === "en" ? "en-GB" : t, {
|
|
620
|
+
...s,
|
|
621
|
+
hour: "2-digit",
|
|
622
|
+
minute: "2-digit"
|
|
623
|
+
}).format(o);
|
|
624
|
+
}
|
|
625
|
+
const Q = (r, t) => !!r.getResource(t, "ui", "errorPage"), ir = /* @__PURE__ */ new Set(["http:", "https:", "mailto:", "tel:"]), V = "https://alfadocs.invalid", sr = (r) => {
|
|
626
|
+
try {
|
|
627
|
+
const t = new URL(r, V);
|
|
628
|
+
return ir.has(t.protocol) && (/^[a-z][a-z0-9+.-]*:/i.test(r.trim()) || t.origin === V) ? r : "#";
|
|
629
|
+
} catch {
|
|
630
|
+
return "#";
|
|
631
|
+
}
|
|
632
|
+
}, cr = ce(
|
|
633
|
+
({
|
|
634
|
+
status: r,
|
|
635
|
+
homeHref: t = "/",
|
|
636
|
+
loginHref: o,
|
|
637
|
+
supportHref: a,
|
|
638
|
+
onRetry: s,
|
|
639
|
+
requestId: f,
|
|
640
|
+
backAt: h,
|
|
641
|
+
locale: p,
|
|
642
|
+
hostLocaleIsDefault: w = !1,
|
|
643
|
+
title: J,
|
|
644
|
+
message: X,
|
|
645
|
+
showLogo: ee = !0,
|
|
646
|
+
as: re = "main",
|
|
647
|
+
focusHeading: F = !0,
|
|
648
|
+
layout: te,
|
|
649
|
+
className: ne,
|
|
650
|
+
...oe
|
|
651
|
+
}, ae) => {
|
|
652
|
+
const { i18n: k } = le("ui"), y = de(
|
|
653
|
+
() => rr({ locale: p, hostLocaleIsDefault: w }),
|
|
654
|
+
[p, w]
|
|
655
|
+
), [l, E] = I(
|
|
656
|
+
() => Q(k, y) ? y : null
|
|
657
|
+
), [, ie] = I(0);
|
|
658
|
+
C(() => {
|
|
659
|
+
let c = !0;
|
|
660
|
+
const R = Q(k, y);
|
|
661
|
+
E(R ? y : null);
|
|
662
|
+
const S = () => c && ie((_) => _ + 1);
|
|
663
|
+
K("en", k).then(S).catch(() => {
|
|
664
|
+
});
|
|
665
|
+
const T = R ? void 0 : setTimeout(
|
|
666
|
+
() => c && E((_) => _ ?? "en"),
|
|
667
|
+
or
|
|
668
|
+
);
|
|
669
|
+
return K(y, k).then(() => {
|
|
670
|
+
c && (E(y), S());
|
|
671
|
+
}).catch(() => c && E((_) => _ ?? "en")), () => {
|
|
672
|
+
c = !1, clearTimeout(T);
|
|
673
|
+
};
|
|
674
|
+
}, [k, y]);
|
|
675
|
+
const g = k.getFixedT(
|
|
676
|
+
l && l !== "en" ? [l, "en"] : "en",
|
|
677
|
+
"ui"
|
|
678
|
+
), x = _e(r), z = x.key === "maintenance" && h ? ar(h, l ?? "en") : void 0, B = M(null), j = M(!1);
|
|
679
|
+
C(() => {
|
|
680
|
+
var c;
|
|
681
|
+
!l || !F || j.current || (j.current = !0, (c = B.current) == null || c.focus({ preventScroll: !0 }));
|
|
682
|
+
}, [l, F]);
|
|
683
|
+
const se = s ?? (() => window.location.reload()), $ = x.primary === "login" && !o ? "retry" : x.primary, A = (c, R, S, T) => /* @__PURE__ */ e(
|
|
684
|
+
G,
|
|
685
|
+
{
|
|
686
|
+
intent: T,
|
|
687
|
+
size: "lg",
|
|
688
|
+
flipIconInRtl: c === "login",
|
|
689
|
+
asChild: !0,
|
|
690
|
+
startIcon: S,
|
|
691
|
+
"data-action": c,
|
|
692
|
+
children: /* @__PURE__ */ e("a", { href: sr(R), children: g(`errorPage.actions.${c}`) })
|
|
693
|
+
},
|
|
694
|
+
c
|
|
695
|
+
), b = [];
|
|
696
|
+
return $ === "retry" ? b.push(
|
|
697
|
+
/* @__PURE__ */ e(
|
|
698
|
+
G,
|
|
699
|
+
{
|
|
700
|
+
intent: "primary",
|
|
701
|
+
size: "lg",
|
|
702
|
+
startIcon: /* @__PURE__ */ e(ge, { "aria-hidden": "true" }),
|
|
703
|
+
onClick: se,
|
|
704
|
+
"data-action": "retry",
|
|
705
|
+
children: g("errorPage.actions.retry")
|
|
706
|
+
},
|
|
707
|
+
"retry"
|
|
708
|
+
)
|
|
709
|
+
) : $ === "login" && o && b.push(
|
|
710
|
+
A("login", o, /* @__PURE__ */ e(be, { "aria-hidden": "true" }), "primary")
|
|
711
|
+
), r !== "offline" && x.key !== "maintenance" && b.push(
|
|
712
|
+
A(
|
|
713
|
+
"home",
|
|
714
|
+
t,
|
|
715
|
+
/* @__PURE__ */ e(ve, { "aria-hidden": "true" }),
|
|
716
|
+
$ === "home" ? "primary" : "secondary"
|
|
717
|
+
)
|
|
718
|
+
), a && b.push(
|
|
719
|
+
A(
|
|
720
|
+
"support",
|
|
721
|
+
a,
|
|
722
|
+
/* @__PURE__ */ e(ye, { "aria-hidden": "true" }),
|
|
723
|
+
"ghost"
|
|
724
|
+
)
|
|
725
|
+
), /* @__PURE__ */ e(
|
|
726
|
+
re,
|
|
727
|
+
{
|
|
728
|
+
ref: ae,
|
|
729
|
+
"data-component": "error-page",
|
|
730
|
+
"data-status": String(r),
|
|
731
|
+
lang: l ?? void 0,
|
|
732
|
+
"aria-busy": l ? void 0 : !0,
|
|
733
|
+
dir: l && nr.has(l) ? "rtl" : "ltr",
|
|
734
|
+
className: tr({ layout: te, className: ne }),
|
|
735
|
+
...oe,
|
|
736
|
+
children: /* @__PURE__ */ n(
|
|
737
|
+
"div",
|
|
738
|
+
{
|
|
739
|
+
className: l ? "ds:flex ds:flex-col ds:items-center ds:gap-[var(--spacing-lg)] ds:text-center ds:[max-inline-size:32rem]" : "ds:invisible",
|
|
740
|
+
children: [
|
|
741
|
+
/* @__PURE__ */ e(qe, { mood: x.mood }),
|
|
742
|
+
/* @__PURE__ */ n("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
|
|
743
|
+
/* @__PURE__ */ n(
|
|
744
|
+
"h1",
|
|
745
|
+
{
|
|
746
|
+
ref: B,
|
|
747
|
+
tabIndex: -1,
|
|
748
|
+
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:outline-none",
|
|
749
|
+
children: [
|
|
750
|
+
typeof r == "number" && /* @__PURE__ */ e("span", { className: "type-label ds:text-[var(--muted-foreground)]", children: g("errorPage.statusLabel", { status: r }) }),
|
|
751
|
+
/* @__PURE__ */ e("span", { className: "type-title-page", children: J ?? g(`errorPage.status.${x.key}.title`) })
|
|
752
|
+
]
|
|
753
|
+
}
|
|
754
|
+
),
|
|
755
|
+
/* @__PURE__ */ e("p", { className: "type-body ds:text-[var(--muted-foreground)]", children: X ?? g(`errorPage.status.${x.key}.message`) }),
|
|
756
|
+
z && /* @__PURE__ */ e("p", { className: "type-body ds:font-semibold", children: g("errorPage.backAt", { time: z }) })
|
|
757
|
+
] }),
|
|
758
|
+
b.length > 0 && /* @__PURE__ */ e("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:justify-center ds:gap-[var(--spacing-sm)]", children: b }),
|
|
759
|
+
f && /* @__PURE__ */ n("p", { className: "type-body-sm ds:text-[var(--muted-foreground)]", children: [
|
|
760
|
+
g("errorPage.reference", { id: f }),
|
|
761
|
+
/* @__PURE__ */ e("br", {}),
|
|
762
|
+
g("errorPage.referenceHint")
|
|
763
|
+
] }),
|
|
764
|
+
ee && /* @__PURE__ */ e(ue, { decorative: !0, size: "sm", className: "ds:opacity-70" })
|
|
765
|
+
]
|
|
766
|
+
}
|
|
767
|
+
)
|
|
768
|
+
}
|
|
769
|
+
);
|
|
770
|
+
}
|
|
771
|
+
);
|
|
772
|
+
cr.displayName = "ErrorPage";
|
|
773
|
+
export {
|
|
774
|
+
Je as E,
|
|
775
|
+
we as a,
|
|
776
|
+
cr as b,
|
|
777
|
+
_e as e,
|
|
778
|
+
rr as r
|
|
779
|
+
};
|
|
780
|
+
//# sourceMappingURL=error-page-BtxEOL6g.js.map
|