@velocity-astro/cms-admin 0.1.0-beta.1 → 0.1.0-beta.12
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/app-dist/assets/{RichTextEditor-Ci93Tlgw.js → RichTextEditor-YzcS4f00.js} +25 -25
- package/app-dist/assets/index-Ba0Zlyaw.js +80 -0
- package/app-dist/assets/index-CLcGTdVj.css +2 -0
- package/app-dist/index.html +16 -2
- package/dist/app/AdminApp.d.ts.map +1 -1
- package/dist/app/AdminApp.js +4 -1
- package/dist/app/AdminApp.js.map +1 -1
- package/dist/app/AdminLayout.d.ts.map +1 -1
- package/dist/app/AdminLayout.js +102 -53
- package/dist/app/AdminLayout.js.map +1 -1
- package/dist/app/RequestState.d.ts.map +1 -1
- package/dist/app/RequestState.js +4 -0
- package/dist/app/RequestState.js.map +1 -1
- package/dist/app/RouteError.d.ts +9 -0
- package/dist/app/RouteError.d.ts.map +1 -0
- package/dist/app/RouteError.js +16 -0
- package/dist/app/RouteError.js.map +1 -0
- package/dist/app/SearchPalette.d.ts +25 -0
- package/dist/app/SearchPalette.d.ts.map +1 -0
- package/dist/app/SearchPalette.js +63 -0
- package/dist/app/SearchPalette.js.map +1 -0
- package/dist/app/paths.d.ts +9 -0
- package/dist/app/paths.d.ts.map +1 -1
- package/dist/app/paths.js +8 -0
- package/dist/app/paths.js.map +1 -1
- package/dist/app/routes.d.ts.map +1 -1
- package/dist/app/routes.js +32 -17
- package/dist/app/routes.js.map +1 -1
- package/dist/client/admin-client.d.ts +65 -3
- package/dist/client/admin-client.d.ts.map +1 -1
- package/dist/client/http-client.d.ts +16 -2
- package/dist/client/http-client.d.ts.map +1 -1
- package/dist/client/http-client.js +47 -1
- package/dist/client/http-client.js.map +1 -1
- package/dist/client/queries.d.ts +37 -2
- package/dist/client/queries.d.ts.map +1 -1
- package/dist/client/queries.js +151 -7
- package/dist/client/queries.js.map +1 -1
- package/dist/fields/BlocksControl.d.ts +6 -0
- package/dist/fields/BlocksControl.d.ts.map +1 -1
- package/dist/fields/BlocksControl.js +353 -31
- package/dist/fields/BlocksControl.js.map +1 -1
- package/dist/fields/FieldGrid.d.ts +14 -2
- package/dist/fields/FieldGrid.d.ts.map +1 -1
- package/dist/fields/FieldGrid.js +16 -10
- package/dist/fields/FieldGrid.js.map +1 -1
- package/dist/fields/FieldSetEditor.js +1 -1
- package/dist/fields/FieldSetEditor.js.map +1 -1
- package/dist/fields/SiteImagePicker.d.ts +22 -0
- package/dist/fields/SiteImagePicker.d.ts.map +1 -0
- package/dist/fields/SiteImagePicker.js +42 -0
- package/dist/fields/SiteImagePicker.js.map +1 -0
- package/dist/fields/block-icons.d.ts.map +1 -1
- package/dist/fields/block-icons.js +3 -1
- package/dist/fields/block-icons.js.map +1 -1
- package/dist/fields/carry.d.ts +19 -0
- package/dist/fields/carry.d.ts.map +1 -0
- package/dist/fields/carry.js +61 -0
- package/dist/fields/carry.js.map +1 -0
- package/dist/fields/controls.d.ts.map +1 -1
- package/dist/fields/controls.js +120 -47
- package/dist/fields/controls.js.map +1 -1
- package/dist/fields/field-control.d.ts +98 -0
- package/dist/fields/field-control.d.ts.map +1 -1
- package/dist/fields/field-control.js.map +1 -1
- package/dist/fields/page-focus.d.ts +61 -2
- package/dist/fields/page-focus.d.ts.map +1 -1
- package/dist/fields/page-focus.js +92 -2
- package/dist/fields/page-focus.js.map +1 -1
- package/dist/fields/settings.d.ts.map +1 -1
- package/dist/fields/settings.js +23 -3
- package/dist/fields/settings.js.map +1 -1
- package/dist/lib/boot.d.ts +25 -0
- package/dist/lib/boot.d.ts.map +1 -0
- package/dist/lib/boot.js +87 -0
- package/dist/lib/boot.js.map +1 -0
- package/dist/lib/content.d.ts +5 -0
- package/dist/lib/content.d.ts.map +1 -1
- package/dist/lib/content.js +22 -0
- package/dist/lib/content.js.map +1 -1
- package/dist/lib/load-fresh.d.ts +8 -0
- package/dist/lib/load-fresh.d.ts.map +1 -0
- package/dist/lib/load-fresh.js +51 -0
- package/dist/lib/load-fresh.js.map +1 -0
- package/dist/lib/open-site.d.ts +6 -0
- package/dist/lib/open-site.d.ts.map +1 -0
- package/dist/lib/open-site.js +8 -0
- package/dist/lib/open-site.js.map +1 -0
- package/dist/lib/prepare-image.d.ts.map +1 -1
- package/dist/lib/prepare-image.js +1 -3
- package/dist/lib/prepare-image.js.map +1 -1
- package/dist/lib/rich-from-html.d.ts +9 -0
- package/dist/lib/rich-from-html.d.ts.map +1 -0
- package/dist/lib/rich-from-html.js +129 -0
- package/dist/lib/rich-from-html.js.map +1 -0
- package/dist/lib/site-address.d.ts +3 -0
- package/dist/lib/site-address.d.ts.map +1 -0
- package/dist/lib/site-address.js +5 -0
- package/dist/lib/site-address.js.map +1 -0
- package/dist/lib/sittings.d.ts +16 -0
- package/dist/lib/sittings.d.ts.map +1 -0
- package/dist/lib/sittings.js +29 -0
- package/dist/lib/sittings.js.map +1 -0
- package/dist/lib/small-image.d.ts +7 -0
- package/dist/lib/small-image.d.ts.map +1 -0
- package/dist/lib/small-image.js +6 -0
- package/dist/lib/small-image.js.map +1 -0
- package/dist/lib/use-command-key.d.ts +16 -0
- package/dist/lib/use-command-key.d.ts.map +1 -0
- package/dist/lib/use-command-key.js +30 -0
- package/dist/lib/use-command-key.js.map +1 -0
- package/dist/lib/use-escapes.d.ts +7 -0
- package/dist/lib/use-escapes.d.ts.map +1 -0
- package/dist/lib/use-escapes.js +19 -0
- package/dist/lib/use-escapes.js.map +1 -0
- package/dist/lib/use-history.d.ts +24 -0
- package/dist/lib/use-history.d.ts.map +1 -0
- package/dist/lib/use-history.js +48 -0
- package/dist/lib/use-history.js.map +1 -0
- package/dist/lib/use-narrow.d.ts +5 -0
- package/dist/lib/use-narrow.d.ts.map +1 -0
- package/dist/lib/use-narrow.js +19 -0
- package/dist/lib/use-narrow.js.map +1 -0
- package/dist/lib/use-panel-sizes.d.ts +7 -0
- package/dist/lib/use-panel-sizes.d.ts.map +1 -0
- package/dist/lib/use-panel-sizes.js +33 -0
- package/dist/lib/use-panel-sizes.js.map +1 -0
- package/dist/lib/use-save-key.d.ts +15 -0
- package/dist/lib/use-save-key.d.ts.map +1 -0
- package/dist/lib/use-save-key.js +27 -0
- package/dist/lib/use-save-key.js.map +1 -0
- package/dist/lib/use-undo-keys.d.ts +14 -0
- package/dist/lib/use-undo-keys.d.ts.map +1 -0
- package/dist/lib/use-undo-keys.js +46 -0
- package/dist/lib/use-undo-keys.js.map +1 -0
- package/dist/messages/en.d.ts +340 -3
- package/dist/messages/en.d.ts.map +1 -1
- package/dist/messages/en.js +301 -3
- package/dist/messages/en.js.map +1 -1
- package/dist/page-bridge/index.d.ts +7 -0
- package/dist/page-bridge/index.d.ts.map +1 -0
- package/dist/page-bridge/index.js +7 -0
- package/dist/page-bridge/index.js.map +1 -0
- package/dist/page-bridge/preview-bridge.d.ts +35 -0
- package/dist/page-bridge/preview-bridge.d.ts.map +1 -0
- package/dist/page-bridge/preview-bridge.js +1821 -0
- package/dist/page-bridge/preview-bridge.js.map +1 -0
- package/dist/plugins/plugin-editor.d.ts +2 -0
- package/dist/plugins/plugin-editor.d.ts.map +1 -1
- package/dist/plugins/plugin-editor.js.map +1 -1
- package/dist/screens/Contact/ContactDeals.js +1 -1
- package/dist/screens/Contact/ContactDeals.js.map +1 -1
- package/dist/screens/Contact/ContactScreen.js +14 -2
- package/dist/screens/Contact/ContactScreen.js.map +1 -1
- package/dist/screens/Contacts/ContactsScreen.js +16 -10
- package/dist/screens/Contacts/ContactsScreen.js.map +1 -1
- package/dist/screens/Contacts/StagesDialog.d.ts.map +1 -1
- package/dist/screens/Contacts/StagesDialog.js +4 -1
- package/dist/screens/Contacts/StagesDialog.js.map +1 -1
- package/dist/screens/ContentList/ContentListScreen.d.ts.map +1 -1
- package/dist/screens/ContentList/ContentListScreen.js +16 -9
- package/dist/screens/ContentList/ContentListScreen.js.map +1 -1
- package/dist/screens/ContentType/ContentTypeScreen.js +10 -3
- package/dist/screens/ContentType/ContentTypeScreen.js.map +1 -1
- package/dist/screens/ContentTypes/ContentTypesScreen.js +3 -3
- package/dist/screens/ContentTypes/ContentTypesScreen.js.map +1 -1
- package/dist/screens/Deals/DealsScreen.d.ts.map +1 -1
- package/dist/screens/Deals/DealsScreen.js +28 -4
- package/dist/screens/Deals/DealsScreen.js.map +1 -1
- package/dist/screens/EntryEditor/EntryEditorScreen.d.ts.map +1 -1
- package/dist/screens/EntryEditor/EntryEditorScreen.js +8 -3
- package/dist/screens/EntryEditor/EntryEditorScreen.js.map +1 -1
- package/dist/screens/EntryEditor/EntryForm.d.ts +5 -1
- package/dist/screens/EntryEditor/EntryForm.d.ts.map +1 -1
- package/dist/screens/EntryEditor/EntryForm.js +226 -25
- package/dist/screens/EntryEditor/EntryForm.js.map +1 -1
- package/dist/screens/EntryEditor/HistoryDialog.d.ts +2 -1
- package/dist/screens/EntryEditor/HistoryDialog.d.ts.map +1 -1
- package/dist/screens/EntryEditor/HistoryDialog.js +24 -5
- package/dist/screens/EntryEditor/HistoryDialog.js.map +1 -1
- package/dist/screens/EntryEditor/PagePane.d.ts +32 -2
- package/dist/screens/EntryEditor/PagePane.d.ts.map +1 -1
- package/dist/screens/EntryEditor/PagePane.js +63 -6
- package/dist/screens/EntryEditor/PagePane.js.map +1 -1
- package/dist/screens/EntryEditor/SectionOutline.d.ts +11 -0
- package/dist/screens/EntryEditor/SectionOutline.d.ts.map +1 -0
- package/dist/screens/EntryEditor/SectionOutline.js +46 -0
- package/dist/screens/EntryEditor/SectionOutline.js.map +1 -0
- package/dist/screens/EntryEditor/ThemeCard.d.ts +32 -0
- package/dist/screens/EntryEditor/ThemeCard.d.ts.map +1 -0
- package/dist/screens/EntryEditor/ThemeCard.js +71 -0
- package/dist/screens/EntryEditor/ThemeCard.js.map +1 -0
- package/dist/screens/Form/FormScreen.js +10 -2
- package/dist/screens/Form/FormScreen.js.map +1 -1
- package/dist/screens/Form/Submissions.js +1 -1
- package/dist/screens/Form/Submissions.js.map +1 -1
- package/dist/screens/Forms/FormsScreen.d.ts.map +1 -1
- package/dist/screens/Forms/FormsScreen.js +6 -3
- package/dist/screens/Forms/FormsScreen.js.map +1 -1
- package/dist/screens/Home/FollowUps.d.ts.map +1 -1
- package/dist/screens/Home/FollowUps.js +3 -3
- package/dist/screens/Home/FollowUps.js.map +1 -1
- package/dist/screens/Home/HomeScreen.d.ts +1 -1
- package/dist/screens/Home/HomeScreen.d.ts.map +1 -1
- package/dist/screens/Home/HomeScreen.js +111 -22
- package/dist/screens/Home/HomeScreen.js.map +1 -1
- package/dist/screens/Media/MediaScreen.d.ts.map +1 -1
- package/dist/screens/Media/MediaScreen.js +3 -2
- package/dist/screens/Media/MediaScreen.js.map +1 -1
- package/dist/screens/People/PeopleScreen.js +1 -1
- package/dist/screens/People/PeopleScreen.js.map +1 -1
- package/dist/screens/Settings/EmailSettings.d.ts +3 -0
- package/dist/screens/Settings/EmailSettings.d.ts.map +1 -0
- package/dist/screens/Settings/EmailSettings.js +76 -0
- package/dist/screens/Settings/EmailSettings.js.map +1 -0
- package/dist/screens/Settings/FormsSettings.d.ts +3 -0
- package/dist/screens/Settings/FormsSettings.d.ts.map +1 -0
- package/dist/screens/Settings/FormsSettings.js +91 -0
- package/dist/screens/Settings/FormsSettings.js.map +1 -0
- package/dist/screens/Settings/GeneralSettings.d.ts +3 -0
- package/dist/screens/Settings/GeneralSettings.d.ts.map +1 -0
- package/dist/screens/Settings/GeneralSettings.js +42 -0
- package/dist/screens/Settings/GeneralSettings.js.map +1 -0
- package/dist/screens/Settings/SettingsPage.d.ts +9 -0
- package/dist/screens/Settings/SettingsPage.d.ts.map +1 -0
- package/dist/screens/Settings/SettingsPage.js +42 -0
- package/dist/screens/Settings/SettingsPage.js.map +1 -0
- package/dist/screens/Settings/SettingsScreen.d.ts +7 -0
- package/dist/screens/Settings/SettingsScreen.d.ts.map +1 -0
- package/dist/screens/Settings/SettingsScreen.js +54 -0
- package/dist/screens/Settings/SettingsScreen.js.map +1 -0
- package/dist/screens/Settings/StorageSettings.d.ts +3 -0
- package/dist/screens/Settings/StorageSettings.d.ts.map +1 -0
- package/dist/screens/Settings/StorageSettings.js +82 -0
- package/dist/screens/Settings/StorageSettings.js.map +1 -0
- package/dist/screens/Settings/TokensSettings.d.ts +7 -0
- package/dist/screens/Settings/TokensSettings.d.ts.map +1 -0
- package/dist/screens/Settings/TokensSettings.js +99 -0
- package/dist/screens/Settings/TokensSettings.js.map +1 -0
- package/dist/screens/Trash/TrashScreen.js +2 -2
- package/dist/screens/Trash/TrashScreen.js.map +1 -1
- package/dist/testing/admin-client-contract.d.ts.map +1 -1
- package/dist/testing/admin-client-contract.js +62 -0
- package/dist/testing/admin-client-contract.js.map +1 -1
- package/dist/testing/http-server.d.ts.map +1 -1
- package/dist/testing/http-server.js +7 -1
- package/dist/testing/http-server.js.map +1 -1
- package/dist/testing/index.d.ts +1 -1
- package/dist/testing/index.d.ts.map +1 -1
- package/dist/testing/index.js +1 -1
- package/dist/testing/index.js.map +1 -1
- package/dist/testing/memory-client.d.ts +29 -2
- package/dist/testing/memory-client.d.ts.map +1 -1
- package/dist/testing/memory-client.js +64 -3
- package/dist/testing/memory-client.js.map +1 -1
- package/dist/testing/memory-mail.d.ts +48 -0
- package/dist/testing/memory-mail.d.ts.map +1 -0
- package/dist/testing/memory-mail.js +74 -0
- package/dist/testing/memory-mail.js.map +1 -0
- package/dist/testing/memory-tokens.d.ts +16 -0
- package/dist/testing/memory-tokens.d.ts.map +1 -0
- package/dist/testing/memory-tokens.js +57 -0
- package/dist/testing/memory-tokens.js.map +1 -0
- package/dist/testing/sample-content.d.ts +6 -0
- package/dist/testing/sample-content.d.ts.map +1 -1
- package/dist/testing/sample-content.js +33 -0
- package/dist/testing/sample-content.js.map +1 -1
- package/package.json +9 -5
- package/app-dist/assets/index-CczBKhBz.css +0 -2
- package/app-dist/assets/index-DOIcFJow.js +0 -80
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
|
|
2
|
+
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-content:""}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-content:""}}}@layer theme{:root,:host{--spacing:.25rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-xl:36rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--container-7xl:80rem;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--tracking-wide:.025em;--tracking-widest:.1em;--animate-spin:spin 1s linear infinite;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-ui);--default-mono-font-family:var(--font-code);--radius-2xl:var(--theme-radius-2xl)}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}body{background:var(--background);color:var(--foreground);font-family:var(--font-ui);font-size:var(--type-base);line-height:var(--type-base-leading);-webkit-font-smoothing:antialiased}input[type=search]::-webkit-search-cancel-button{appearance:none}}@layer components;@layer utilities{.toast-stack{display:grid}.toast-stack>*>*{transform-origin:bottom;transition-property:transform,opacity;transition-duration:var(--motion-slow);transition-timing-function:var(--motion-ease);grid-area:1/1;align-self:stretch}@starting-style{.toast-stack>*>*{opacity:0;transform:translateY(100%)}}.toast-stack>*>*>*{transition:opacity var(--motion-base) var(--motion-ease)}.toast-stack>:first-child>*{z-index:3}.toast-stack>:nth-child(2)>*{z-index:2;transform:translateY(-.75rem)scale(.95)}.toast-stack>:nth-child(3)>*{z-index:1;transform:translateY(-1.5rem)scale(.9)}.toast-stack>:nth-child(n+4)>*{opacity:0;pointer-events:none;transform:translateY(-1.5rem)scale(.9)}.toast-stack>:nth-child(n+2)>*>*{opacity:0}.toast-stack:hover,.toast-stack:focus-within{flex-direction:column-reverse;gap:.5rem;display:flex}:is(.toast-stack:hover,.toast-stack:focus-within)>*>*,:is(.toast-stack:hover,.toast-stack:focus-within)>*>*>*{opacity:1;pointer-events:auto;transform:none}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.top-0{top:0}.top-1{top:var(--spacing)}.top-1\/2{top:50%}.right-1{right:var(--spacing)}.right-2{right:calc(var(--spacing) * 2)}.right-4{right:calc(var(--spacing) * 4)}.bottom-4{bottom:calc(var(--spacing) * 4)}.left-0{left:0}.left-3{left:calc(var(--spacing) * 3)}.layer-overlay{z-index:var(--layer-overlay)}.layer-raised{z-index:var(--layer-raised)}.layer-sticky{z-index:var(--layer-sticky)}.layer-toast{z-index:var(--layer-toast)}.z-10{z-index:10}.order-last{order:9999}.col-span-2{grid-column:span 2/span 2}.col-span-full{grid-column:1/-1}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.m-auto{margin:auto}.mx-1{margin-inline:var(--spacing)}.mx-auto{margin-inline:auto}.my-1{margin-block:var(--spacing)}.rich-text>*+*{margin-top:.75em}.rich-text h2{font-family:var(--font-heading);font-size:var(--type-xl);line-height:var(--type-xl-leading);font-weight:600}.rich-text h3{font-family:var(--font-heading);font-size:var(--type-lg);line-height:var(--type-lg-leading);font-weight:600}.rich-text ul,.rich-text ol{padding-left:1.5em}.rich-text ul{list-style:outside}.rich-text ol{list-style:decimal}.rich-text li+li{margin-top:.25em}.rich-text blockquote{border-left:2px solid var(--border-strong);color:var(--foreground-secondary);padding-left:1em}.rich-text a{color:var(--foreground);text-underline-offset:2px;text-decoration:underline}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-auto{margin-top:auto}.-mb-px{margin-bottom:-1px}.ml-4\.5{margin-left:calc(var(--spacing) * 4.5)}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-flex{display:inline-flex}.table{display:table}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-10{width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.size-12{width:calc(var(--spacing) * 12);height:calc(var(--spacing) * 12)}.size-full{width:100%;height:100%}.h-0{height:0}.h-0\.5{height:calc(var(--spacing) * .5)}.h-1\/20{height:5%}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-2\/20{height:10%}.h-3\/20{height:15%}.h-4{height:calc(var(--spacing) * 4)}.h-4\/20{height:20%}.h-5{height:calc(var(--spacing) * 5)}.h-5\/20{height:25%}.h-6{height:calc(var(--spacing) * 6)}.h-6\/20{height:30%}.h-7\/20{height:35%}.h-8{height:calc(var(--spacing) * 8)}.h-8\/20{height:40%}.h-9\/20{height:45%}.h-10{height:calc(var(--spacing) * 10)}.h-10\/20{height:50%}.h-11{height:calc(var(--spacing) * 11)}.h-11\/20{height:55%}.h-12\/20{height:60%}.h-13\/20{height:65%}.h-14{height:calc(var(--spacing) * 14)}.h-14\/20{height:70%}.h-15\/20{height:75%}.h-16\/20{height:80%}.h-17\/20{height:85%}.h-18\/20{height:90%}.h-19\/20{height:95%}.h-32{height:calc(var(--spacing) * 32)}.h-40{height:calc(var(--spacing) * 40)}.h-72{height:calc(var(--spacing) * 72)}.h-144{height:calc(var(--spacing) * 144)}.h-200{height:calc(var(--spacing) * 200)}.h-auto{height:auto}.h-dvh{height:100dvh}.h-full{height:100%}.pane-tall{height:var(--pane-height)}.max-h-72{max-height:calc(var(--spacing) * 72)}.max-h-112{max-height:calc(var(--spacing) * 112)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-20{min-height:calc(var(--spacing) * 20)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-dvh{min-height:100dvh}.min-h-full{min-height:100%}.w-0{width:0}.w-1\/2{width:50%}.w-1\/3{width:33.3333%}.w-1\/4{width:25%}.w-1\/20{width:5%}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/20{width:10%}.w-3\/4{width:75%}.w-3\/20{width:15%}.w-4{width:calc(var(--spacing) * 4)}.w-4\/20{width:20%}.w-5{width:calc(var(--spacing) * 5)}.w-5\/20{width:25%}.w-6{width:calc(var(--spacing) * 6)}.w-6\/20{width:30%}.w-7\/20{width:35%}.w-8{width:calc(var(--spacing) * 8)}.w-8\/20{width:40%}.w-9{width:calc(var(--spacing) * 9)}.w-9\/20{width:45%}.w-10{width:calc(var(--spacing) * 10)}.w-10\/20{width:50%}.w-11{width:calc(var(--spacing) * 11)}.w-11\/20{width:55%}.w-12\/20{width:60%}.w-13\/20{width:65%}.w-14{width:calc(var(--spacing) * 14)}.w-14\/20{width:70%}.w-15\/20{width:75%}.w-16{width:calc(var(--spacing) * 16)}.w-16\/20{width:80%}.w-17\/20{width:85%}.w-18\/20{width:90%}.w-19\/20{width:95%}.w-20{width:calc(var(--spacing) * 20)}.w-24{width:calc(var(--spacing) * 24)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-60{width:calc(var(--spacing) * 60)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-80{width:calc(var(--spacing) * 80)}.w-96{width:calc(var(--spacing) * 96)}.w-288{width:calc(var(--spacing) * 288)}.w-320{width:calc(var(--spacing) * 320)}.w-full{width:100%}.w-px{width:1px}.max-w-2xl{max-width:var(--container-2xl)}.max-w-3xl{max-width:var(--container-3xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-7xl{max-width:var(--container-7xl)}.max-w-full{max-width:100%}.max-w-lg{max-width:var(--container-lg)}.max-w-md{max-width:var(--container-md)}.max-w-none{max-width:none}.max-w-sm{max-width:var(--container-sm)}.max-w-xl{max-width:var(--container-xl)}.min-w-\(--trigger-width\){min-width:var(--trigger-width)}.min-w-0{min-width:0}.min-w-4{min-width:calc(var(--spacing) * 4)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-48{min-width:calc(var(--spacing) * 48)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-0{flex-basis:0}.basis-96{flex-basis:calc(var(--spacing) * 96)}.border-separate{border-collapse:separate}.border-spacing-0{--tw-border-spacing-x:0px;--tw-border-spacing-y:0px;border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y)}.motion-float[data-placement^=bottom]{--float-y:-.25rem;transform-origin:top}.motion-float[data-placement^=top]{--float-y:.25rem;transform-origin:bottom}.motion-float[data-placement^=left]{--float-x:.25rem;transform-origin:100%}.motion-float[data-placement^=right]{--float-x:-.25rem;transform-origin:0}.motion-float[data-entering]{animation:motion-float-in var(--motion-base) var(--motion-ease-enter)}.motion-float[data-exiting]{animation:motion-float-out var(--motion-fast) var(--motion-ease-exit) forwards}.origin-top-left{transform-origin:0 0}.-translate-x-4{--tw-translate-x:calc(var(--spacing) * -4);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.scale-20{--tw-scale-x:20%;--tw-scale-y:20%;--tw-scale-z:20%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-50{--tw-scale-x:50%;--tw-scale-y:50%;--tw-scale-z:50%;scale:var(--tw-scale-x) var(--tw-scale-y)}.motion-press{transition-property:color,background-color,border-color,opacity,box-shadow,transform;transition-duration:var(--motion-fast);transition-timing-function:var(--motion-ease)}.motion-press[data-pressed]{transform:scale(.97)}.transform{transform:var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, )}.motion-mark-left{--mark-from-x:-18px;--mark-from-y:10px;transform-box:fill-box;animation:motion-mark-arrive var(--motion-mark) var(--motion-ease-enter) .14s infinite backwards}@media (prefers-reduced-motion:reduce){.motion-mark-left{animation:none}}.motion-mark-right{--mark-from-x:18px;--mark-from-y:10px;transform-box:fill-box;animation:motion-mark-arrive var(--motion-mark) var(--motion-ease-enter) .28s infinite backwards}@media (prefers-reduced-motion:reduce){.motion-mark-right{animation:none}}.motion-mark-top{--mark-from-x:0px;--mark-from-y:-18px;transform-box:fill-box;animation:motion-mark-arrive var(--motion-mark) var(--motion-ease-enter) infinite}@media (prefers-reduced-motion:reduce){.motion-mark-top{animation:none}}.motion-mark-colour-left{animation:motion-mark-colour var(--motion-mark) var(--motion-ease) .14s infinite backwards}@media (prefers-reduced-motion:reduce){.motion-mark-colour-left{animation:none}}.motion-mark-colour-right{animation:motion-mark-colour var(--motion-mark) var(--motion-ease) .28s infinite backwards}@media (prefers-reduced-motion:reduce){.motion-mark-colour-right{animation:none}}.motion-mark-colour-top{animation:motion-mark-colour var(--motion-mark) var(--motion-ease) infinite}@media (prefers-reduced-motion:reduce){.motion-mark-colour-top{animation:none}}.motion-pop[data-entering]{animation:motion-pop-in var(--motion-slow) var(--motion-ease-enter)}.motion-pop[data-exiting]{animation:motion-pop-out var(--motion-base) var(--motion-ease-exit) forwards}.motion-scrim[data-entering]{animation:motion-scrim-in var(--motion-slow) var(--motion-ease)}.motion-scrim[data-exiting]{animation:motion-scrim-out var(--motion-slow) var(--motion-ease-exit) forwards}.motion-sheet[data-entering]{animation:motion-sheet-in var(--motion-slower) var(--motion-ease-enter)}.motion-sheet[data-exiting]{animation:motion-sheet-out var(--motion-slow) var(--motion-ease-exit) forwards}.motion-sheet-start[data-entering]{animation:motion-sheet-start-in var(--motion-slower) var(--motion-ease-enter)}.motion-sheet-start[data-exiting]{animation:motion-sheet-start-out var(--motion-slow) var(--motion-ease-exit) forwards}.animate-spin{animation:var(--animate-spin)}.motion-rise{animation:motion-rise-in var(--motion-slow) var(--motion-ease-enter)}.motion-skeleton{animation:motion-fade-in var(--motion-slow) var(--motion-ease) var(--motion-slow) backwards, motion-breathe var(--motion-loop) ease-in-out infinite}.cursor-col-resize{cursor:col-resize}.cursor-default{cursor:default}.cursor-grab{cursor:grab}.touch-none{touch-action:none}.resize{resize:both}.resize-y{resize:vertical}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0{gap:0}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-10{gap:calc(var(--spacing) * 10)}.gap-12{gap:calc(var(--spacing) * 12)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-4{row-gap:calc(var(--spacing) * 4)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded-full{border-radius:var(--theme-radius-full)}.rounded-lg{border-radius:var(--theme-radius-lg)}.rounded-md{border-radius:var(--theme-radius-md)}.rounded-sm{border-radius:var(--theme-radius-sm)}.rounded-xl{border-radius:var(--theme-radius-xl)}.rounded-t-sm{border-top-left-radius:var(--theme-radius-sm);border-top-right-radius:var(--theme-radius-sm)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-x{border-inline-style:var(--tw-border-style);border-inline-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-background{border-color:var(--background)}.border-border{border-color:var(--border)}.border-border-strong{border-color:var(--border-strong)}.border-destructive{border-color:var(--destructive)}.border-input-border{border-color:var(--input-border)}.border-rail-border{border-color:var(--rail-border)}.border-ring{border-color:var(--ring)}.border-transparent{border-color:#0000}.bg-background{background-color:var(--background)}.bg-background-elevated{background-color:var(--background-elevated)}.bg-background-secondary{background-color:var(--background-secondary)}.bg-background-tertiary{background-color:var(--background-tertiary)}.bg-border{background-color:var(--border)}.bg-border-strong{background-color:var(--border-strong)}.bg-brand-fill{background-color:var(--brand-fill)}.bg-card{background-color:var(--card)}.bg-destructive{background-color:var(--destructive)}.bg-error-light{background-color:var(--error-light)}.bg-foreground{background-color:var(--foreground)}.bg-foreground-subtle{background-color:var(--foreground-subtle)}.bg-info-light{background-color:var(--info-light)}.bg-input{background-color:var(--input-bg)}.bg-primary{background-color:var(--primary)}.bg-rail{background-color:var(--rail)}.bg-rail-current{background-color:var(--rail-current)}.bg-rail-foreground{background-color:var(--rail-foreground)}.bg-ring{background-color:var(--ring)}.bg-scrim{background-color:var(--scrim)}.bg-secondary{background-color:var(--secondary)}.bg-success{background-color:var(--success)}.bg-success-light{background-color:var(--success-light)}.bg-transparent{background-color:#0000}.bg-warning-light{background-color:var(--warning-light)}.bg-grid-clearing{background-image:radial-gradient(closest-side, transparent 30%, var(--background) 100%), linear-gradient(to bottom, var(--border) 1px, transparent 1px), linear-gradient(to right, var(--border) 1px, transparent 1px);background-position:50%;background-size:100% 100%,1.5rem 1.5rem,1.5rem 1.5rem}.bg-grid{background-image:linear-gradient(to bottom, var(--border-subtle) 1px, transparent 1px), linear-gradient(to right, var(--border-subtle) 1px, transparent 1px);background-size:2.5rem 2.5rem}.fill-border{fill:var(--border)}.fill-brand-fill{fill:var(--brand-fill)}.fill-foreground{fill:var(--foreground)}.fill-rail-foreground{fill:var(--rail-foreground)}.stroke-border-strong{stroke:var(--border-strong)}.object-cover{object-fit:cover}.p-0{padding:0}.p-0\.5{padding:calc(var(--spacing) * .5)}.p-1{padding:var(--spacing)}.p-1\.5{padding:calc(var(--spacing) * 1.5)}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-8{padding:calc(var(--spacing) * 8)}.p-10{padding:calc(var(--spacing) * 10)}.p-12{padding:calc(var(--spacing) * 12)}.px-0{padding-inline:0}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-3\.5{padding-inline:calc(var(--spacing) * 3.5)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-8{padding-inline:calc(var(--spacing) * 8)}.px-10{padding-inline:calc(var(--spacing) * 10)}.py-0{padding-block:0}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-8{padding-block:calc(var(--spacing) * 8)}.py-10{padding-block:calc(var(--spacing) * 10)}.py-12{padding-block:calc(var(--spacing) * 12)}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-24{padding-top:calc(var(--spacing) * 24)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-9{padding-right:calc(var(--spacing) * 9)}.pb-1{padding-bottom:var(--spacing)}.pb-1\.5{padding-bottom:calc(var(--spacing) * 1.5)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-6{padding-left:calc(var(--spacing) * 6)}.pl-9{padding-left:calc(var(--spacing) * 9)}.pl-10{padding-left:calc(var(--spacing) * 10)}.pl-14{padding-left:calc(var(--spacing) * 14)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-display{font-family:var(--font-heading)}.font-mono{font-family:var(--font-code)}.text-2xl{font-size:var(--type-2xl);line-height:var(--tw-leading,var(--type-2xl-leading))}.text-3xl{font-size:var(--type-3xl);line-height:var(--tw-leading,var(--type-3xl-leading))}.text-4xl{font-size:var(--type-4xl);line-height:var(--tw-leading,var(--type-4xl-leading))}.text-base{font-size:var(--type-base);line-height:var(--tw-leading,var(--type-base-leading))}.text-lg{font-size:var(--type-lg);line-height:var(--tw-leading,var(--type-lg-leading))}.text-sm{font-size:var(--type-sm);line-height:var(--tw-leading,var(--type-sm-leading))}.text-xl{font-size:var(--type-xl);line-height:var(--tw-leading,var(--type-xl-leading))}.text-xs{font-size:var(--type-xs);line-height:var(--tw-leading,var(--type-xs-leading))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.text-balance{text-wrap:balance}.whitespace-nowrap{white-space:nowrap}.text-background{color:var(--background)}.text-brand-ink{color:var(--brand-ink)}.text-brand-text{color:var(--brand-text)}.text-destructive{color:var(--destructive)}.text-destructive-foreground{color:var(--destructive-foreground)}.text-error-foreground{color:var(--error-foreground)}.text-foreground{color:var(--foreground)}.text-foreground-muted{color:var(--foreground-muted)}.text-foreground-secondary{color:var(--foreground-secondary)}.text-foreground-subtle{color:var(--foreground-subtle)}.text-info-foreground{color:var(--info-foreground)}.text-primary-foreground{color:var(--primary-foreground)}.text-rail{color:var(--rail)}.text-rail-foreground{color:var(--rail-foreground)}.text-rail-muted{color:var(--rail-muted)}.text-secondary-foreground{color:var(--secondary-foreground)}.text-success{color:var(--success)}.text-success-foreground{color:var(--success-foreground)}.text-warning-foreground{color:var(--warning-foreground)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, )}.underline{text-decoration-line:underline}.decoration-border{-webkit-text-decoration-color:var(--border);-webkit-text-decoration-color:var(--border);-webkit-text-decoration-color:var(--border);text-decoration-color:var(--border)}.decoration-border-strong{-webkit-text-decoration-color:var(--border-strong);-webkit-text-decoration-color:var(--border-strong);-webkit-text-decoration-color:var(--border-strong);text-decoration-color:var(--border-strong)}.underline-offset-2{text-underline-offset:2px}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-100{opacity:1}.shadow-lg{--tw-shadow:var(--theme-shadow-lg);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-md{--tw-shadow:var(--theme-shadow-md);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-sm{--tw-shadow:var(--theme-shadow-sm);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--theme-shadow-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-0{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-ring{--tw-ring-color:var(--ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-4{--tw-ring-offset-width:4px;--tw-ring-offset-shadow:var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.ring-offset-card{--tw-ring-offset-color:var(--card)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.invert{--tw-invert:invert(100%);filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.filter{filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.motion-base{transition-duration:var(--motion-base);transition-timing-function:var(--motion-ease)}.motion-fast{transition-duration:var(--motion-fast);transition-timing-function:var(--motion-ease)}.motion-slide{transition-duration:var(--motion-slow);transition-timing-function:var(--motion-ease)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.view-shell-places{view-transition-name:shell-places}:is(:root:active-view-transition .view-shell-places,:root:active-view-transition .view-shell-places *){transition:none}.view-shell-panel{view-transition-name:shell-panel}:is(:where(.group):last-child .group-last\:border-b-0){border-bottom-style:var(--tw-border-style);border-bottom-width:0}@media (hover:hover){:is(:where(.group):hover .group-hover\:underline){text-decoration-line:underline}}:is(:where(.group)[data-disabled] .group-data-disabled\:opacity-50){opacity:.5}:is(:where(.group)[data-empty] .group-data-empty\:hidden){display:none}:is(:where(.group)[data-focus-visible] .group-data-focus-visible\:ring-2){--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}:is(:where(.group)[data-focus-visible] .group-data-focus-visible\:ring-ring){--tw-ring-color:var(--ring)}:is(:where(.group)[data-focus-visible] .group-data-focus-visible\:ring-offset-2){--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}:is(:where(.group)[data-focus-visible] .group-data-focus-visible\:ring-offset-background){--tw-ring-offset-color:var(--background)}:is(:where(.group)[data-hovered] .group-data-hovered\:border-border-strong){border-color:var(--border-strong)}:is(:where(.group)[data-indeterminate] .group-data-indeterminate\:border-primary){border-color:var(--primary)}:is(:where(.group)[data-indeterminate] .group-data-indeterminate\:bg-primary){background-color:var(--primary)}:is(:where(.group)[data-selected] .group-data-selected\:translate-x-4){--tw-translate-x:calc(var(--spacing) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}:is(:where(.group)[data-selected] .group-data-selected\:border-primary){border-color:var(--primary)}:is(:where(.group)[data-selected] .group-data-selected\:bg-primary){background-color:var(--primary)}.placeholder\:text-foreground-subtle::placeholder{color:var(--foreground-subtle)}.before\:absolute:before{content:var(--tw-content);position:absolute}.before\:-inset-x-1\.5:before{content:var(--tw-content);inset-inline:calc(var(--spacing) * -1.5)}.before\:inset-y-0:before{content:var(--tw-content);inset-block:0}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-0:after{content:var(--tw-content);inset:0}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-0:first-child{padding-top:0}@media (hover:hover){.hover\:border-border-strong:hover{border-color:var(--border-strong)}.hover\:bg-border-strong:hover{background-color:var(--border-strong)}.hover\:bg-brand-fill:hover{background-color:var(--brand-fill)}}.focus\:not-sr-only:focus{clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:static;overflow:visible}.focus\:fixed:focus{position:fixed}.focus\:top-2:focus{top:calc(var(--spacing) * 2)}.focus\:left-2:focus{left:calc(var(--spacing) * 2)}.has-focus-visible\:border-input-focus:has(:focus-visible){border-color:var(--input-focus)}.has-focus-visible\:ring-1:has(:focus-visible){--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.has-focus-visible\:ring-input-focus:has(:focus-visible){--tw-ring-color:var(--input-focus)}.has-data-focus-visible\:ring-2:has([data-focus-visible]){--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.has-data-focus-visible\:ring-ring:has([data-focus-visible]){--tw-ring-color:var(--ring)}.has-data-hovered\:border-border-strong:has([data-hovered]){border-color:var(--border-strong)}.data-action\:cursor-pointer[data-action]{cursor:pointer}.data-allows-sorting\:cursor-default[data-allows-sorting]{cursor:default}.data-disabled\:bg-background-secondary[data-disabled]{background-color:var(--background-secondary)}.data-disabled\:text-foreground-muted[data-disabled]{color:var(--foreground-muted)}.data-disabled\:text-foreground-subtle[data-disabled]{color:var(--foreground-subtle)}.data-disabled\:no-underline[data-disabled]{text-decoration-line:none}.data-disabled\:opacity-50[data-disabled]{opacity:.5}.data-dragging\:size-6[data-dragging],.data-focus-visible\:size-6[data-focus-visible]{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.data-focus-visible\:rounded-sm[data-focus-visible]{border-radius:var(--theme-radius-sm)}.data-focus-visible\:border-input-focus[data-focus-visible]{border-color:var(--input-focus)}.data-focus-visible\:ring-1[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-input-focus[data-focus-visible]{--tw-ring-color:var(--input-focus)}.data-focus-visible\:ring-rail-foreground[data-focus-visible]{--tw-ring-color:var(--rail-foreground)}.data-focus-visible\:ring-ring[data-focus-visible]{--tw-ring-color:var(--ring)}.data-focus-visible\:ring-offset-2[data-focus-visible]{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.data-focus-visible\:ring-offset-background[data-focus-visible]{--tw-ring-offset-color:var(--background)}.data-focus-visible\:ring-inset[data-focus-visible]{--tw-ring-inset:inset}.data-focus-within\:border-input-focus[data-focus-within]{border-color:var(--input-focus)}.data-focus-within\:ring-1[data-focus-within]{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-within\:ring-input-focus[data-focus-within]{--tw-ring-color:var(--input-focus)}.data-focused\:border-input-focus[data-focused]{border-color:var(--input-focus)}.data-focused\:border-ring[data-focused]{border-color:var(--ring)}.data-focused\:bg-background-tertiary[data-focused]{background-color:var(--background-tertiary)}.data-focused\:bg-primary[data-focused]{background-color:var(--primary)}.data-focused\:bg-secondary[data-focused]{background-color:var(--secondary)}.data-focused\:text-primary-foreground[data-focused]{color:var(--primary-foreground)}.data-focused\:ring-1[data-focused]{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focused\:ring-2[data-focused]{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focused\:ring-input-focus[data-focused]{--tw-ring-color:var(--input-focus)}.data-focused\:ring-ring[data-focused]{--tw-ring-color:var(--ring)}.data-hovered\:border-border-strong[data-hovered]{border-color:var(--border-strong)}.data-hovered\:border-foreground-subtle[data-hovered]{border-color:var(--foreground-subtle)}.data-hovered\:bg-background-secondary[data-hovered]{background-color:var(--background-secondary)}.data-hovered\:bg-background-tertiary[data-hovered]{background-color:var(--background-tertiary)}.data-hovered\:bg-brand-fill-hover[data-hovered]{background-color:var(--brand-fill-hover)}.data-hovered\:bg-primary-hover[data-hovered]{background-color:var(--primary-hover)}.data-hovered\:bg-rail-hover[data-hovered]{background-color:var(--rail-hover)}.data-hovered\:bg-secondary[data-hovered]{background-color:var(--secondary)}.data-hovered\:bg-secondary-hover[data-hovered]{background-color:var(--secondary-hover)}.data-hovered\:text-foreground[data-hovered]{color:var(--foreground)}.data-hovered\:text-foreground-muted[data-hovered]{color:var(--foreground-muted)}.data-hovered\:text-rail-foreground[data-hovered]{color:var(--rail-foreground)}.data-hovered\:decoration-current[data-hovered]{text-decoration-color:currentColor}.data-hovered\:opacity-90[data-hovered]{opacity:.9}.data-hovered\:shadow-sm[data-hovered]{--tw-shadow:var(--theme-shadow-sm);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-href\:cursor-pointer[data-href]{cursor:pointer}.data-invalid\:border-destructive[data-invalid]{border-color:var(--destructive)}.data-invalid\:data-focused\:ring-destructive[data-invalid][data-focused]{--tw-ring-color:var(--destructive)}.data-pending\:opacity-70[data-pending]{opacity:.7}.data-placeholder\:text-foreground-subtle[data-placeholder]{color:var(--foreground-subtle)}.data-pressed\:cursor-grabbing[data-pressed]{cursor:grabbing}.data-pressed\:bg-background-tertiary[data-pressed]{background-color:var(--background-tertiary)}.data-pressed\:bg-brand-fill-hover[data-pressed]{background-color:var(--brand-fill-hover)}.data-pressed\:bg-primary-hover[data-pressed]{background-color:var(--primary-hover)}.data-pressed\:bg-rail-hover[data-pressed]{background-color:var(--rail-hover)}.data-pressed\:bg-secondary-hover[data-pressed]{background-color:var(--secondary-hover)}.data-pressed\:opacity-90[data-pressed]{opacity:.9}.data-selected\:border-input-focus[data-selected]{border-color:var(--input-focus)}.data-selected\:border-primary[data-selected]{border-color:var(--primary)}.data-selected\:bg-background-tertiary[data-selected]{background-color:var(--background-tertiary)}.data-selected\:font-semibold[data-selected]{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.data-selected\:text-foreground[data-selected]{color:var(--foreground)}.data-selected\:ring-1[data-selected]{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:ring-2[data-selected]{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:ring-input-focus[data-selected]{--tw-ring-color:var(--input-focus)}.data-selected\:ring-ring[data-selected]{--tw-ring-color:var(--ring)}.data-selected\:ring-offset-2[data-selected]{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.data-selected\:ring-offset-background-elevated[data-selected]{--tw-ring-offset-color:var(--background-elevated)}@media not all and (min-width:48rem){.max-md\:sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.max-md\:hidden{display:none}.max-md\:aspect-square{aspect-ratio:1}.max-md\:px-0{padding-inline:0}}@media (min-width:40rem){.sm\:grid{display:grid}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:px-6{padding-inline:calc(var(--spacing) * 6)}}@media (min-width:48rem){.md\:not-sr-only{clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:static;overflow:visible}.md\:my-2{margin-block:calc(var(--spacing) * 2)}.md\:mr-2{margin-right:calc(var(--spacing) * 2)}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:table-cell{display:table-cell}.md\:min-h-16{min-height:calc(var(--spacing) * 16)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:w-88{width:calc(var(--spacing) * 88)}.md\:w-96{width:calc(var(--spacing) * 96)}.md\:w-104{width:calc(var(--spacing) * 104)}.md\:w-112{width:calc(var(--spacing) * 112)}.md\:w-120{width:calc(var(--spacing) * 120)}.md\:w-128{width:calc(var(--spacing) * 128)}.md\:w-136{width:calc(var(--spacing) * 136)}.md\:w-144{width:calc(var(--spacing) * 144)}.md\:w-160{width:calc(var(--spacing) * 160)}.md\:w-auto{width:auto}.md\:flex-none{flex:none}.md\:shrink{flex-shrink:1}.md\:basis-48{flex-basis:calc(var(--spacing) * 48)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-2{gap:calc(var(--spacing) * 2)}.md\:gap-3{gap:calc(var(--spacing) * 3)}.md\:gap-4{gap:calc(var(--spacing) * 4)}.md\:overflow-hidden{overflow:hidden}.md\:rounded-2xl{border-radius:var(--theme-radius-2xl)}.md\:border{border-style:var(--tw-border-style);border-width:1px}.md\:border-border{border-color:var(--border)}.md\:bg-card{background-color:var(--card)}.md\:bg-rail{background-color:var(--rail)}.md\:px-6{padding-inline:calc(var(--spacing) * 6)}.md\:px-12{padding-inline:calc(var(--spacing) * 12)}.md\:py-2{padding-block:calc(var(--spacing) * 2)}.md\:py-10{padding-block:calc(var(--spacing) * 10)}.md\:py-12{padding-block:calc(var(--spacing) * 12)}.md\:pr-3{padding-right:calc(var(--spacing) * 3)}.md\:pl-2{padding-left:calc(var(--spacing) * 2)}.md\:text-5xl{font-size:var(--type-5xl);line-height:var(--tw-leading,var(--type-5xl-leading))}.md\:shadow-sm{--tw-shadow:var(--theme-shadow-sm);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}}@media (min-width:64rem){.lg\:not-sr-only{clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:static;overflow:visible}.lg\:block{display:block}.lg\:flex{display:flex}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:justify-end{justify-content:flex-end}}@media (min-width:80rem){.xl\:not-sr-only{clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:static;overflow:visible}.xl\:sticky{position:sticky}.xl\:top-8{top:calc(var(--spacing) * 8)}.xl\:block{display:block}.xl\:w-52{width:calc(var(--spacing) * 52)}.xl\:w-80{width:calc(var(--spacing) * 80)}.xl\:w-lg{width:var(--container-lg)}.xl\:flex-1{flex:1}.xl\:shrink-0{flex-shrink:0}.xl\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.xl\:flex-row{flex-direction:row}.xl\:items-start{align-items:flex-start}.xl\:overflow-hidden{overflow:hidden}.xl\:whitespace-nowrap{white-space:nowrap}}}:root{--gray-0:#fff;--gray-50:#f9f9f9;--gray-100:#f3f3f3;--gray-200:#e2e2e2;--gray-300:#d0d0d0;--gray-400:#8c8c8c;--gray-500:#696969;--gray-600:#424242;--gray-700:#333;--gray-800:#262626;--gray-900:#151515;--gray-950:#060606;--brand-hue:38;--brand-50:oklch(97.5% .02 calc(var(--brand-hue) + 7));--brand-100:oklch(94.8% .04 calc(var(--brand-hue) + 7));--brand-200:oklch(87.5% .08 calc(var(--brand-hue) + 7));--brand-300:oklch(77.8% .14 calc(var(--brand-hue) + 7));--brand-400:oklch(68.5% .19 calc(var(--brand-hue) + 2));--brand-500:oklch(62.5% .22 var(--brand-hue));--brand-600:oklch(53.2% .19 var(--brand-hue));--brand-700:oklch(45.5% .16 var(--brand-hue));--brand-800:oklch(37.2% .13 var(--brand-hue));--brand-900:oklch(26.5% .09 var(--brand-hue));--brand-fill:var(--brand-500);--brand-fill-hover:var(--brand-400);--brand-ink:var(--gray-950);--blue-500:#3279ed;--blue-600:#1d65d8;--success:#44c352;--success-light:#d7f5d7;--success-foreground:#00490c;--warning:#edb100;--warning-light:#fff0d1;--warning-foreground:#5e4300;--error:#f1373d;--error-light:#ffe2df;--error-foreground:#8d000f;--info:#3279ed;--info-light:#ddecff;--info-foreground:#0b4196;--background:var(--gray-0);--background-secondary:var(--gray-50);--background-tertiary:var(--gray-100);--background-elevated:var(--gray-0);--foreground:var(--gray-900);--foreground-secondary:var(--gray-700);--foreground-muted:var(--gray-600);--foreground-subtle:var(--gray-500);--border:var(--gray-200);--border-strong:var(--gray-300);--border-subtle:var(--gray-100);--primary:var(--gray-900);--primary-hover:var(--gray-800);--primary-foreground:var(--gray-0);--secondary:var(--gray-100);--secondary-hover:var(--gray-200);--secondary-foreground:var(--gray-900);--accent:var(--brand-500);--accent-hover:var(--brand-600);--accent-light:var(--brand-100);--brand-text:var(--brand-600);--muted:var(--gray-100);--muted-foreground:var(--gray-500);--card:var(--gray-0);--card-border:var(--gray-200);--input-bg:var(--gray-0);--input-border:var(--gray-300);--input-focus:var(--gray-900);--ring:var(--gray-900);--destructive:#c2181d;--destructive-foreground:var(--gray-0);--theme-shadow-sm:0 1px 2px #0000000a;--theme-shadow-md:0 4px 8px #0000000a, 0 0 1px #0000000a;--theme-shadow-lg:0 8px 16px #00000014, 0 0 1px #0000000a;--theme-shadow-xl:0 24px 48px #0000001f, 0 0 1px #0000000a;--theme-radius-sm:.25rem;--theme-radius-md:.375rem;--theme-radius-lg:.5rem;--theme-radius-xl:.625rem;--theme-radius-2xl:1rem;--theme-radius-full:9999px}@supports (color:lab(0% 0 0)){:root{--gray-0:lab(100% 0 0);--gray-50:lab(98.028% -.0000596046 .0000119209);--gray-100:lab(95.94% 0 0);--gray-200:lab(89.908% -.0000596046 .0000119209);--gray-300:lab(83.528% 0 0);--gray-400:lab(58.24% 0 0);--gray-500:lab(44.32% 0 0);--gray-600:lab(28.08% 0 -.00000596046);--gray-700:lab(21.12% 0 0);--gray-800:lab(14.972% 0 0);--gray-900:lab(6.59531% -.00000745058 0);--gray-950:lab(1.68091% 0 0);--blue-500:lab(51.2578% 10.3025 -66.4402);--blue-600:lab(43.7805% 13.0177 -66.304);--success:lab(70.1353% -53.4077 45.1631);--success-light:lab(93.6911% -13.9721 10.9206);--success-foreground:lab(26.2784% -42.7539 39.9997);--warning:lab(76.3573% 15.1314 93.7017);--warning-light:lab(95.5261% 2.02972 19.535);--warning-foreground:lab(30.3782% 11.9197 63.249);--error:lab(54.616% 69.6554 43.5637);--error-light:lab(92.5749% 15.3735 8.32583);--error-foreground:lab(28.5252% 57.3552 40.6532);--info:lab(51.2578% 10.3025 -66.4402);--info-light:lab(92.8431% -1.93647 -18.3581);--info-foreground:lab(28.8099% 11.2973 -52.3097);--destructive:lab(42.3119% 63.0679 45.4931)}}.dark{--background:var(--gray-950);--background-secondary:var(--gray-900);--background-tertiary:var(--gray-800);--background-elevated:var(--gray-900);--foreground:var(--gray-50);--foreground-secondary:var(--gray-300);--foreground-muted:var(--gray-400);--foreground-subtle:gray;--border:var(--gray-800);--border-strong:var(--gray-700);--border-subtle:var(--gray-900);--primary:var(--gray-0);--primary-hover:var(--gray-200);--primary-foreground:var(--gray-900);--secondary:var(--gray-800);--secondary-hover:var(--gray-700);--secondary-foreground:var(--gray-100);--muted:var(--gray-800);--muted-foreground:var(--gray-400);--card:var(--gray-900);--card-border:var(--gray-800);--input-bg:var(--gray-900);--input-border:var(--gray-700);--input-focus:var(--gray-0);--ring:var(--gray-0);--accent-light:var(--brand-900);--brand-text:var(--brand-400);--destructive:#fd736d;--destructive-foreground:#1d0c0b;--success-light:#112812;--warning-light:#2d1f01;--error-light:#361715;--info-light:#132139;--success-foreground:#9be39d;--warning-foreground:#fcd176;--error-foreground:#ffb9b2;--info-foreground:#b1cfff;--theme-shadow-sm:0 1px 3px #0003;--theme-shadow-md:0 4px 8px #00000040, 0 0 1px #0000001a;--theme-shadow-lg:0 8px 16px #0000004d, 0 0 1px #0000001a;--theme-shadow-xl:0 24px 48px #00000059, 0 0 1px #0000001a}@supports (color:lab(0% 0 0)){.dark{--foreground-subtle:lab(53.6% 0 0);--destructive:lab(65.8493% 53.3364 30.7453);--destructive-foreground:lab(5.05235% 7.63235 3.30867);--success-light:lab(13.612% -14.0132 11.4177);--warning-light:lab(13.056% 3.90694 18.9236);--error-light:lab(12.5137% 15.6344 8.83056);--info-light:lab(12.6652% .527114 -17.7116);--success-foreground:lab(84.1051% -33.5711 26.9365);--warning-foreground:lab(86.3231% 7.54684 50.6262);--error-foreground:lab(81.749% 27.858 15.2746);--info-foreground:lab(82.2267% -2.04858 -28.9924)}}:root{--font-ui:"Manrope Variable", "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--font-heading:"Outfit Variable", "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--font-code:"JetBrains Mono Variable", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;--type-xs:.75rem;--type-xs-leading:1rem;--type-sm:.8125rem;--type-sm-leading:1.25rem;--type-base:.875rem;--type-base-leading:1.25rem;--type-lg:1rem;--type-lg-leading:1.5rem;--type-xl:1.25rem;--type-xl-leading:1.75rem;--type-2xl:1.5rem;--type-2xl-leading:2rem;--type-3xl:1.875rem;--type-3xl-leading:2.125rem;--type-4xl:2.25rem;--type-4xl-leading:2.5rem;--type-5xl:3rem;--type-5xl-leading:3.25rem;--motion-fast:.1s;--motion-base:.15s;--motion-slow:.25s;--motion-slower:.35s;--motion-loop:1.6s;--motion-mark:2.8s;--motion-ease:cubic-bezier(.2, 0, 0, 1);--motion-ease-enter:cubic-bezier(.16, 1, .3, 1);--motion-ease-exit:cubic-bezier(.4, 0, 1, 1);--pane-height:calc(100dvh - 9rem);--rail:var(--gray-950);--rail-foreground:var(--gray-50);--rail-muted:var(--gray-400);--rail-hover:#ffffff14;--rail-current:#ffffff24;--rail-border:#ffffff1f;--layer-raised:10;--layer-sticky:20;--layer-overlay:40;--layer-toast:50;--scrim:#00000080}@supports (color:lab(0% 0 0)){:root{--rail-hover:lab(100% 0 0/.08);--rail-current:lab(100% 0 0/.14);--rail-border:lab(100% 0 0/.12);--scrim:lab(0% 0 0/.5)}}.dark{--rail:#010101}@supports (color:lab(0% 0 0)){.dark{--rail:lab(.30983% 0 -.00000298023)}}@media (prefers-reduced-motion:reduce){:root{--motion-fast:0s;--motion-base:0s;--motion-slow:0s;--motion-slower:0s;--motion-loop:0s}}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(data:font/woff2;base64,d09GMgABAAAAAAn4ABMAAAAAEwQAAAmOAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGjQbgnQcLj9IVkFSgQEGYD9TVEFUgQIAgQovahEICok0h0ULIAAwhzoBNgIkAzwEIAWHJgeBDgwHG6QQUdRKTmoBFD8K42bniObKrG3LZFcMWZzFmrjTFhQ6TVTqPJcInrfrvzq3b2PGn1wwMiNYGTy9ViREYARlL1zAGcPdPqBt3gNWrfKthv4xnM+b9caw+wmjgEUVRjHXhS6jgCK6zf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IyihNw33YUe8PNC4BOJ3Lm1AglLV3nCuvUdIP+v15tVGbWIwgxLVpPkfpthCGpTKG+oA/DQfsKKvxhScqaN6FuElAUtTKv2UYgOmQegsN/n7njHUju8wM4VTcm+Q8xfX9SFwjTzdVqu95UOWSIGOabH8OGBEba//8Yxl3GcPdP/dMBOoSX/0z5SZmBoLbaPs+9asaMpb36yknKaw6FqWZa6A5vDa02mhkOba1q6KtLV208xrkwmW5C4VD6n2fvRjADy2qDYYnNy+H10Fq0LMbNzS863gkO7iQ8eC48/Ny5m59tOcEso3u7Qg3yrqDL6eKXwJAuWnhylfbWrRObe66rzX59+XDtzusnL66dI/86ArmtLlzED860Ef3bFPV78OX/zFTA11fcBn2Vntb7qiGBSgLBHyuv/uEaqqoTgSpOyjlzh86me1Vriv7i9rLPLvtghWmSnblRbAsBJL/4dScSQTBxOivHMO5QvBBY0iheJvfwWLxLOGzYKZyM4zVc2Cll46zEpeUV4MqGEWZj22SdOxhGAjgs9AEnfT+RoiMfcDb0GS5NncKVxju4Nt/mRk13O9Gz3FLct5oCD6wkwUNrCfHIUg6SMf8LwQGyVaBUqpLPW5BaMpRshEpl8nS1qw5dgnzlik8QBXmdy5UrIH74heTKZKMSilQso4hsRiGraQZRzxpNGqlEJMsXuAU7GlcR8mWSykUpVkWGyIf0a8v4qEQp5CtGsMiZa+4ESYQy+WilCiguHzxMXO54ogShooTV2bj2z1zL6DYSoImoQ8lFUWxMLBNQQgLkV2tHYgUoIbkuREz+fJHKxxWBcnvu3KQppFCxLkguB1NyVSp/TknRvNwYlCdbblWu3ze6owHdWluhE5tgQ6ej2SV65CijijoaRfSiH4Nqz1OpfEW+WeI/oU0ly60zkV9YzOQSYtZVEGYmrysTZAJkY4qZtIBD9/LYTIK7Nww3vMiYBwA=)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(./manrope-cyrillic-wght-normal-Dvxsihut.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(./manrope-greek-wght-normal-DL7QRZyv.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(./manrope-vietnamese-wght-normal-usUDDRr7.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(./manrope-latin-ext-wght-normal-Ch3YOpNY.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(./manrope-latin-wght-normal-DHIcAJRg.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Outfit Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./outfit-latin-ext-wght-normal-DdQaqQDo.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Outfit Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./outfit-latin-wght-normal-Bc-8i84L.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(data:font/woff2;base64,d09GMgABAAAAAAfsABQAAAAAEAwAAAeCAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhwbHhwoP0hWQVJbBmA/U1RBVIFiJyYAdC9qEQgKhGSEAAsgADCGCAE2AiQDOgQgBYlMB4EUDAcbLQ4onoexrSC/2ZyLAa8p8VHB8/x3Vue+V0hVJalMJg2nx/TCrQXxBeqLjQG7FyM1WEa/X1tEXN7cFz9EJEMmMUz3RihWSSKeQCbcIou0izz/C8v+fq3VfajEa9gDD11CImXS7qL/RJFVzC1qiB6KmKeD6TZdQ6IRGv78dL6uSVVCfgni5mzu7kcgQBgAEAQTQRCoL++STTYybkJxNfQxAAIAGu8OdEB9teW2jh4BpgDqFjAeSEByW3zFP0CBBgNMsMCGEDjgggdhiEAUAeIIED7ABTDUEnkIE9Q9ahFgKttcVhApo4ACB4qobHaccgDfEjFO6aaWUhjMLt2SyIvHKoDqoA4CSUwEIYQCEjhAO9R1G6keDeDZGjNo+AhxOjCEGTr1WeIF3kYBiLAOKvkJSMiKX0VdAyQt3SDJClCkxJCHkCzfqyVTriJZLcolS32JZHUekq2TYNkYtCtjYHMQXSxGjXDz2t/yLWXzDzxz+o3zFwDEaN23F+13pyMdQAEaSKAR9vcGq4A4MTSKCElGW+M7UcY7xqkggITb28ZJhlqc9q2twYKTt0NjixBgYvO9BIihEBLYuOFXQzfIQ7dXGUEEEgFDooBfAzqiQbpJrhiWSuKJCRFKYbHCyJKI2G5Gi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B21Lal0i+ePTtd7B45+3XhFJ329evskXm7qurUVREotqSluSo/L29d3qDhI4YOQqWhI4YNvBNfsMHeXKemXrxQfKeuPOGRVayA3JtkJKEgbPp+dXUDluddutRYLFoXGXWX6N3WFaGLbQtRSitVYNacTNSdy7AaG/HSaUEANcBoGXNdcZvZsOqQ1icBDv21/gzAoYPHH/WDW0qNR3QTYKEAEHig6o13NXbND06CQPlRtYjGNnSktRc09k1mAMDvAlDKfQjgy6fssInlfzmNAjKkDxoxHOBLdVRAIVt9j4qo+hA1w9T1aNBNTUOTTNUHLbqokE+UAfJXCIGw/IxCSL5GRUJeR40rL/UxTm4Q08H6MbCs70ObuNyIIXrINHQYInF06UUlevTjbQzTh5upiDMzMMogUtEnjPs/Y7jAHCJeB0GBHh04tC6FiB6ZFB1oArUSIoFoqhzCeAN6lHwm0T4C3VVPWvjpSMXReuWesMEcoqrmgtNBGd2noWeV0hNAz9rFeShNJxHGsPa3HXeKTk8b55hahySYHaYKKFFLpCfN8rsoaJn01CR04Gkc+5k7KVTCmClX8Q10HCrUEkVlSX+XO33oQR9609tJ516H497WSobWs5Up6TLaS10/dessIskgJSLiDlWvHVUywpkQ7hdPZqGyiEF0uVQerVcPamT1A3eKXdyI1vG9OoflrSXihZ1qqGE3nhmAgiIbRCQgPLEPtOM3UQwTLYaYYomNlpA44opnjV6jkD6id80OOrzf6BzmMD6eEa1zKyeYG1fzfEf16V6jw9XYOaar1/b2kP/IYX8oR2mcFvv2GtBV3JXgd437AQAA)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(./jetbrains-mono-cyrillic-wght-normal-D73BlboJ.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(./jetbrains-mono-greek-wght-normal-Bw9x6K1M.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(./jetbrains-mono-vietnamese-wght-normal-Bt-aOZkq.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(./jetbrains-mono-latin-ext-wght-normal-DBQx-q_a.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(./jetbrains-mono-latin-wght-normal-B9CIFXIH.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@keyframes motion-fade-in{0%{opacity:0}}@keyframes motion-fade-out{to{opacity:0}}@keyframes motion-pop-in{0%{opacity:0;transform:translateY(.5rem)scale(.96)}}@keyframes motion-pop-out{to{opacity:0;transform:translateY(.25rem)scale(.98)}}@keyframes motion-sheet-in{0%{transform:translate(100%)}}@keyframes motion-sheet-out{to{transform:translate(100%)}}@keyframes motion-sheet-start-in{0%{transform:translate(-100%)}}@keyframes motion-sheet-start-out{to{transform:translate(-100%)}}@keyframes motion-float-in{0%{opacity:0;transform:translate(var(--float-x,0), var(--float-y,0)) scale(.97)}}@keyframes motion-float-out{to{opacity:0;transform:translate(var(--float-x,0), var(--float-y,0)) scale(.97)}}@keyframes motion-rise-in{0%{opacity:0;transform:translateY(.25rem)}}@keyframes motion-scrim-in{0%{background-color:#0000}}@keyframes motion-scrim-out{to{background-color:#0000}}@keyframes motion-breathe{50%{opacity:.5}}@keyframes motion-mark-arrive{0%{opacity:0;transform:translate(var(--mark-from-x), var(--mark-from-y))}22%,82%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(0)}}@keyframes motion-mark-colour{0%,30%{opacity:0}46%,to{opacity:1}}::view-transition-old(root){animation-duration:var(--motion-base);animation-timing-function:var(--motion-ease)}::view-transition-new(root){animation-duration:var(--motion-base);animation-timing-function:var(--motion-ease)}::view-transition-group(shell-places){animation-duration:var(--motion-slow);animation-timing-function:var(--motion-ease);overflow:clip}::view-transition-group(shell-panel){animation-duration:var(--motion-slow);animation-timing-function:var(--motion-ease);overflow:clip}::view-transition-old(shell-places){object-fit:none;object-position:left top;width:100%;height:100%;animation-duration:var(--motion-base);animation-timing-function:var(--motion-ease)}::view-transition-new(shell-places){object-fit:none;object-position:left top;width:100%;height:100%;animation-duration:var(--motion-base);animation-timing-function:var(--motion-ease)}::view-transition-old(shell-panel){object-fit:none;object-position:left top;width:100%;height:100%;animation-duration:var(--motion-base);animation-timing-function:var(--motion-ease)}::view-transition-new(shell-panel){object-fit:none;object-position:left top;width:100%;height:100%;animation-duration:var(--motion-base);animation-timing-function:var(--motion-ease)}@media (min-width:48rem){::view-transition-group(shell-panel){border-radius:var(--radius-2xl)}}@property --tw-border-spacing-x{syntax:"<length>";inherits:false;initial-value:0}@property --tw-border-spacing-y{syntax:"<length>";inherits:false;initial-value:0}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes spin{to{transform:rotate(360deg)}}
|
package/app-dist/index.html
CHANGED
|
@@ -6,10 +6,24 @@
|
|
|
6
6
|
<meta name="robots" content="noindex, nofollow" />
|
|
7
7
|
<!--velocity-cms-->
|
|
8
8
|
<title>Editor</title>
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
<!--
|
|
10
|
+
What is seen from the first byte of the page: the Velocity mark in the middle, its facets arriving
|
|
11
|
+
in grey and taking their colour, on a clearing in the grid, as LoadingMark draws it. It stays over the
|
|
12
|
+
editor until its first screen is ready (src/lib/boot.ts), so it is one animation to the end, then fades.
|
|
13
|
+
-->
|
|
14
|
+
<style>.cms-boot{z-index:2147483000;--boot-bg:var(--background,#fff);--boot-line:var(--border,#e5e5e5);background-color:var(--boot-bg);background-image:radial-gradient(closest-side, transparent 30%, var(--boot-bg) 100%), linear-gradient(to bottom, var(--boot-line) 1px, transparent 1px), linear-gradient(to right, var(--boot-line) 1px, transparent 1px);background-position:50%;background-size:100% 100%,1.5rem 1.5rem,1.5rem 1.5rem;flex-direction:column;justify-content:center;align-items:center;gap:1.25rem;transition:opacity .3s;display:flex;position:fixed;inset:0}.cms-boot p{font:500 .875rem/1.25rem var(--font-ui,system-ui, sans-serif);color:var(--foreground-subtle,#737373);margin:0}.cms-boot[data-ending=true]{opacity:0;pointer-events:none}.cms-boot svg{width:4rem;height:auto;overflow:visible}.cms-boot .grey{fill:var(--border,#e5e5e5)}.cms-boot .top{fill:var(--brand-fill,#ee4000)}.cms-boot .body{fill:var(--foreground,#171717)}.cms-boot g{transform-box:fill-box;animation:2.8s cubic-bezier(.16,1,.3,1) infinite backwards cms-boot-arrive}.cms-boot .colour{animation:2.8s cubic-bezier(.2,0,0,1) infinite backwards cms-boot-colour}.cms-boot .p1{--x:0px;--y:-18px}.cms-boot .p2,.cms-boot .p2 .colour{--x:-18px;--y:10px;animation-delay:.14s}.cms-boot .p3,.cms-boot .p3 .colour{--x:18px;--y:10px;animation-delay:.28s}@keyframes cms-boot-arrive{0%{opacity:0;transform:translate(var(--x), var(--y))}22%,82%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(0)}}@keyframes cms-boot-colour{0%,30%{opacity:0}46%,to{opacity:1}}@media (prefers-color-scheme:dark){.cms-boot{--boot-bg:var(--gray-950,#0a0a0a);--boot-line:var(--gray-800,#262626)}.cms-boot p{color:gray;color:lab(53.6% 0 0)}.cms-boot .grey{fill:var(--gray-800,#262626)}.cms-boot .body{fill:var(--gray-50,#fafafa)}}@media (prefers-reduced-motion:reduce){.cms-boot g,.cms-boot .colour{animation:none}.cms-boot{transition:none}}</style>
|
|
15
|
+
<script type="module" crossorigin src="./assets/index-Ba0Zlyaw.js"></script>
|
|
16
|
+
<link rel="stylesheet" crossorigin href="./assets/index-CLcGTdVj.css">
|
|
11
17
|
</head>
|
|
12
18
|
<body>
|
|
19
|
+
<div id="cms-boot" class="cms-boot" aria-hidden="true">
|
|
20
|
+
<svg viewBox="0 0 90 101">
|
|
21
|
+
<g class="p1"><path class="grey" d="M35.1288 23.8398L45.1667 49.4151L56.2482 23.8398H87.1082C86.5647 23.3764 85.9776 22.9637 85.3616 22.5944L48.6165 0.704798C46.377 -0.0699896 43.4273 -0.439281 41.2675 0.842377L3.36286 23.3692C3.13819 23.5067 2.92801 23.666 2.72508 23.8326H35.1288V23.8398Z" /><path class="colour top" d="M35.1288 23.8398L45.1667 49.4151L56.2482 23.8398H87.1082C86.5647 23.3764 85.9776 22.9637 85.3616 22.5944L48.6165 0.704798C46.377 -0.0699896 43.4273 -0.439281 41.2675 0.842377L3.36286 23.3692C3.13819 23.5067 2.92801 23.666 2.72508 23.8326H35.1288V23.8398Z" /></g>
|
|
22
|
+
<g class="p2"><path class="grey" d="M0.144951 28.8578C0.079723 29.2851 0.0434853 29.7123 0.0434853 30.1323L0 72.036C0 76.1778 1.95684 78.3936 5.26172 80.3631L39.4919 100.703L0.144951 28.8578Z" /><path class="colour body" d="M0.144951 28.8578C0.079723 29.2851 0.0434853 29.7123 0.0434853 30.1323L0 72.036C0 76.1778 1.95684 78.3936 5.26172 80.3631L39.4919 100.703L0.144951 28.8578Z" /></g>
|
|
23
|
+
<g class="p3"><path class="grey" d="M89.9203 28.7058L50.0588 101L86.6661 79.1539C88.7027 77.9374 90 75.0265 90 72.6442L89.9783 29.6037C89.9783 29.2923 89.9493 28.9954 89.913 28.6985L89.9203 28.7058Z" /><path class="colour body" d="M89.9203 28.7058L50.0588 101L86.6661 79.1539C88.7027 77.9374 90 75.0265 90 72.6442L89.9783 29.6037C89.9783 29.2923 89.9493 28.9954 89.913 28.6985L89.9203 28.7058Z" /></g>
|
|
24
|
+
</svg>
|
|
25
|
+
<p>Opening the editor</p>
|
|
26
|
+
</div>
|
|
13
27
|
<div id="root"></div>
|
|
14
28
|
</body>
|
|
15
29
|
</html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdminApp.d.ts","sourceRoot":"","sources":["../../src/app/AdminApp.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAG7D,OAAO,EAA8C,KAAK,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACpG,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD,OAAO,EAAiE,KAAK,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"AdminApp.d.ts","sourceRoot":"","sources":["../../src/app/AdminApp.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAG7D,OAAO,EAA8C,KAAK,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACpG,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD,OAAO,EAAiE,KAAK,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAIrI,MAAM,WAAW,aAAa;IAC5B,oCAAoC;IACpC,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC;IAC7B,uEAAuE;IACvE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,qEAAqE;IACrE,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,mEAAmE;IACnE,QAAQ,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAC7B,oFAAoF;IACpF,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,aAAa,CAAC;IACvC;;;OAGG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,kBAAkB,CAAC;IAC5C;;;OAGG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED,4EAA4E;AAC5E,wBAAgB,QAAQ,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAmB,EAAE,QAAQ,EAAE,MAAM,EAAE,aAAa,EAAE,aAAa,EAAE,WAAW,EAAE,EAAE,aAAa,+BA6B7I"}
|
package/dist/app/AdminApp.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { QueryClientProvider } from '@tanstack/react-query';
|
|
3
|
-
import { useState } from 'react';
|
|
3
|
+
import { useEffect, useState } from 'react';
|
|
4
4
|
import { createBrowserRouter, createMemoryRouter, RouterProvider } from 'react-router';
|
|
5
5
|
import { ClientProvider } from '../client/client-context.js';
|
|
6
6
|
import { createQueryCache } from '../client/queries.js';
|
|
7
7
|
import { createFieldControls, FieldControlsProvider } from '../fields/index.js';
|
|
8
8
|
import { MessagesProvider } from '../messages/messages-context.js';
|
|
9
9
|
import { PluginExtensions, PluginExtensionsProvider, sitePluginEditors } from '../plugins/plugin-editor.js';
|
|
10
|
+
import { bootDrawn } from '../lib/boot.js';
|
|
10
11
|
import { createRoutes } from './routes.js';
|
|
11
12
|
/** The whole editor. Render one, give it a client, and it does the rest. */
|
|
12
13
|
export function AdminApp({ client, siteName, basePath = '/admin', messages, locale, fieldControls, pluginEditors, initialPath }) {
|
|
@@ -21,6 +22,8 @@ export function AdminApp({ client, siteName, basePath = '/admin', messages, loca
|
|
|
21
22
|
? createBrowserRouter(routes, { basename: basePath })
|
|
22
23
|
: createMemoryRouter(routes, { initialEntries: [initialPath] });
|
|
23
24
|
});
|
|
25
|
+
// The page's own mark, shown while the script was on its way, fades once the first screen is drawn.
|
|
26
|
+
useEffect(bootDrawn, []);
|
|
24
27
|
return (_jsx(QueryClientProvider, { client: queries, children: _jsx(ClientProvider, { client: client, children: _jsx(MessagesProvider, { ...(messages && { messages }), ...(locale !== undefined && { locale }), children: _jsx(FieldControlsProvider, { controls: controls, children: _jsx(PluginExtensionsProvider, { extensions: extensions, loader: loader, children: _jsx(RouterProvider, { router: router }) }) }) }) }) }));
|
|
25
28
|
}
|
|
26
29
|
//# sourceMappingURL=AdminApp.js.map
|
package/dist/app/AdminApp.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdminApp.js","sourceRoot":"","sources":["../../src/app/AdminApp.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AdminApp.js","sourceRoot":"","sources":["../../src/app/AdminApp.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,SA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C;QACtC,OAAO,WAAW,KAAK,SAAS;YAC9B,CAAC,CAAC,mBAAmB,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC;YACrD,CAAC,CAAC,kBAAkB,CAAC,MAAM,EAAE,EAAE,cAAc,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;IACpE,CAAC,CAAC,CAAC;IAEH,oGAAoG;IACpG,SAAS,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;IAEzB,OAAO,CACL,KAAC,mBAAmB,IAAC,MAAM,EAAE,OAAO,YAClC,KAAC,cAAc,IAAC,MAAM,EAAE,MAAM,YAC5B,KAAC,gBAAgB,OAAK,CAAC,QAAQ,IAAI,EAAE,QAAQ,EAAE,CAAC,KAAM,CAAC,MAAM,KAAK,SAAS,IAAI,EAAE,MAAM,EAAE,CAAC,YACxF,KAAC,qBAAqB,IAAC,QAAQ,EAAE,QAAQ,YACvC,KAAC,wBAAwB,IAAC,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,YAC9D,KAAC,cAAc,IAAC,MAAM,EAAE,MAAM,GAAI,GACT,GACL,GACP,GACJ,GACG,CACvB,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdminLayout.d.ts","sourceRoot":"","sources":["../../src/app/AdminLayout.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AdminLayout.d.ts","sourceRoot":"","sources":["../../src/app/AdminLayout.tsx"],"names":[],"mappings":"AAiBA,MAAM,WAAW,gBAAgB;IAC/B,wDAAwD;IACxD,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC3B;AAED,wGAAwG;AACxG,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,EAAE,gBAAgB,+BAkMzD"}
|
package/dist/app/AdminLayout.js
CHANGED
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { AppShell,
|
|
3
|
-
import { Blocks, Contact, HandCoins, House, Images, Inbox, KeyRound, LogOut, Puzzle, Shapes, Trash2, Users } from 'lucide-react';
|
|
2
|
+
import { AppShell, LoadingMark, dismissToasts, toast } from '@velocity-astro/cms-ui';
|
|
3
|
+
import { Blocks, Contact, HandCoins, House, Images, Inbox, KeyRound, Layers, LogOut, Plus, Puzzle, Settings, Shapes, Trash2, Users } from 'lucide-react';
|
|
4
4
|
import { useEffect, useRef, useState } from 'react';
|
|
5
5
|
import { Navigate, Outlet, useLocation } from 'react-router';
|
|
6
6
|
import { useGo } from './use-go.js';
|
|
7
7
|
import { useContentTypes, useSession, useSignOut } from '../client/queries.js';
|
|
8
8
|
import { localized } from '../lib/content.js';
|
|
9
|
+
import { hasCommandKey, useCommandKey } from '../lib/use-command-key.js';
|
|
9
10
|
import { typeIcon } from '../lib/type-icon.js';
|
|
10
11
|
import { useLocale, useMessages } from '../messages/messages-context.js';
|
|
12
|
+
import { holdBoot } from '../lib/boot.js';
|
|
11
13
|
import { useLoadPluginEditors, usePluginExtensions } from '../plugins/plugin-editor.js';
|
|
12
14
|
import { paths } from './paths.js';
|
|
13
|
-
import { ErrorState
|
|
15
|
+
import { ErrorState } from './RequestState.js';
|
|
14
16
|
import { PasskeysDialog } from './PasskeysDialog.js';
|
|
17
|
+
import { SearchPalette } from './SearchPalette.js';
|
|
15
18
|
/** The frame around every signed-in screen. Sends anyone who is not signed in to the sign-in screen. */
|
|
16
19
|
export function AdminLayout({ siteName }) {
|
|
17
20
|
const messages = useMessages();
|
|
@@ -22,6 +25,8 @@ export function AdminLayout({ siteName }) {
|
|
|
22
25
|
const types = useContentTypes();
|
|
23
26
|
const signOut = useSignOut();
|
|
24
27
|
const [isShowingPasskeys, setShowingPasskeys] = useState(false);
|
|
28
|
+
const [isSearching, setSearching] = useState(false);
|
|
29
|
+
useCommandKey(() => setSearching(true));
|
|
25
30
|
// Someone who was signed in and no longer is, without having asked: the session ran out, or
|
|
26
31
|
// an owner took their access away. They are told why the sign-in screen is back.
|
|
27
32
|
const wasSignedIn = useRef(false);
|
|
@@ -37,68 +42,112 @@ export function AdminLayout({ siteName }) {
|
|
|
37
42
|
// screen is drawn before a plugin's control for one of its fields is there.
|
|
38
43
|
const hasPlugins = useLoadPluginEditors(isSignedIn);
|
|
39
44
|
const { screens } = usePluginExtensions();
|
|
40
|
-
|
|
41
|
-
|
|
45
|
+
// Until then the editor has no screen to draw: the mark, which keeps the page's own up over it.
|
|
46
|
+
const isOpening = session.isPending || (isSignedIn && !hasPlugins);
|
|
47
|
+
useEffect(() => (isOpening ? holdBoot() : undefined), [isOpening]);
|
|
48
|
+
if (isOpening)
|
|
49
|
+
return _jsx(LoadingMark, { label: messages.app.opening });
|
|
42
50
|
if (session.isError)
|
|
43
51
|
return _jsx(ErrorState, { error: session.error, onRetry: () => void session.refetch() });
|
|
44
52
|
if (session.data === null)
|
|
45
53
|
return _jsx(Navigate, { to: paths.signIn, replace: true });
|
|
46
|
-
const
|
|
54
|
+
const role = session.data.role;
|
|
55
|
+
const at = (href) => location.pathname === href || location.pathname.startsWith(`${href}/`);
|
|
56
|
+
// A page that is part of the settings is reached from there, so the menu has one way to it.
|
|
57
|
+
const settingsPages = (types.data ?? []).filter((type) => type.inSettings === true);
|
|
58
|
+
const contentTypes = (types.data ?? []).filter((type) => type.inSettings !== true);
|
|
59
|
+
const typeNav = contentTypes.map((type) => {
|
|
47
60
|
const href = paths.contentList(type.key);
|
|
48
|
-
return {
|
|
49
|
-
id: type.id,
|
|
50
|
-
label: localized(type.label, locale),
|
|
51
|
-
href,
|
|
52
|
-
icon: typeIcon(type.key),
|
|
53
|
-
isCurrent: location.pathname === href || location.pathname.startsWith(`${href}/`),
|
|
54
|
-
};
|
|
61
|
+
return { id: type.id, label: localized(type.label, locale), href, icon: typeIcon(type.key), isCurrent: at(href) };
|
|
55
62
|
});
|
|
63
|
+
// Where content is looked after, beside the content itself: the types, for owners, and the trash.
|
|
64
|
+
const workspaceNav = [
|
|
65
|
+
...(role === 'owner' ? [{ id: 'types', label: messages.app.types, href: paths.types, icon: Shapes, isCurrent: at(paths.types) }] : []),
|
|
66
|
+
{ id: 'trash', label: messages.app.trash, href: paths.trash, icon: Trash2, isCurrent: at(paths.trash) },
|
|
67
|
+
];
|
|
68
|
+
const contentChildren = [
|
|
69
|
+
...(typeNav.length > 0 ? [{ id: 'collections', label: messages.app.collectionsGroup, items: typeNav }] : []),
|
|
70
|
+
{ id: 'workspace', label: messages.app.workspaceGroup, items: workspaceNav },
|
|
71
|
+
];
|
|
72
|
+
// Content leads to a list: a single page would open its entry, with no column to choose another from.
|
|
73
|
+
const firstList = contentTypes.find((type) => type.kind !== 'single') ?? contentTypes[0];
|
|
74
|
+
// An entry being edited has the width to itself: the column of places comes back with the list.
|
|
75
|
+
const isInEntry = /^\/content\/[^/]+\/[^/]+/.test(location.pathname);
|
|
76
|
+
const content = {
|
|
77
|
+
id: 'content',
|
|
78
|
+
label: messages.app.contentGroup,
|
|
79
|
+
href: firstList === undefined ? (workspaceNav[0]?.href ?? paths.trash) : paths.contentList(firstList.key),
|
|
80
|
+
icon: Layers,
|
|
81
|
+
isCurrent: location.pathname.startsWith('/content/') || at(paths.types) || at(paths.trash),
|
|
82
|
+
...(!isInEntry && { children: contentChildren }),
|
|
83
|
+
};
|
|
84
|
+
// Plugins have a section of their own: the screens they added, for everyone (what each may do
|
|
85
|
+
// there is the server's to say), then the way to manage them, for owners. With neither, there is no section.
|
|
56
86
|
const pluginNav = [
|
|
57
87
|
...screens.map((screen) => {
|
|
58
88
|
const href = paths.pluginScreen(screen.plugin, screen.id);
|
|
59
89
|
return { id: `plugin:${screen.plugin}:${screen.id}`, label: screen.label, href, icon: Blocks, isCurrent: location.pathname === href };
|
|
60
90
|
}),
|
|
61
|
-
...(
|
|
62
|
-
|
|
91
|
+
...(role === 'owner' ? [{ id: 'plugins', label: messages.app.plugins, href: paths.plugins, icon: Puzzle, isCurrent: location.pathname === paths.plugins }] : []),
|
|
92
|
+
];
|
|
93
|
+
const plugins = pluginNav.length === 0
|
|
94
|
+
? []
|
|
95
|
+
: [
|
|
96
|
+
{
|
|
97
|
+
id: 'plugins',
|
|
98
|
+
label: messages.app.pluginsGroup,
|
|
99
|
+
href: pluginNav[0]?.href ?? paths.plugins,
|
|
100
|
+
icon: Puzzle,
|
|
101
|
+
isCurrent: location.pathname.startsWith('/plugins'),
|
|
102
|
+
...(screens.length > 0 && { children: [{ id: 'plugins', items: pluginNav }] }),
|
|
103
|
+
},
|
|
104
|
+
];
|
|
105
|
+
const nav = [
|
|
106
|
+
{ id: 'top', items: [{ id: 'home', label: messages.app.home, href: paths.home, icon: House, isCurrent: location.pathname === paths.home }] },
|
|
107
|
+
{ id: 'site', label: messages.app.siteGroup, items: [content, { id: 'media', label: messages.app.media, href: paths.media, icon: Images, isCurrent: at(paths.media) }] },
|
|
108
|
+
// What visitors send is read by owners and editors, so they are shown the way to it.
|
|
109
|
+
...(role === 'owner' || role === 'editor'
|
|
110
|
+
? [
|
|
111
|
+
{
|
|
112
|
+
id: 'audience',
|
|
113
|
+
label: messages.app.audienceGroup,
|
|
114
|
+
items: [
|
|
115
|
+
{ id: 'forms', label: messages.app.forms, href: paths.forms, icon: Inbox, isCurrent: at(paths.forms) },
|
|
116
|
+
{ id: 'contacts', label: messages.app.contacts, href: paths.contacts, icon: Contact, isCurrent: at(paths.contacts) },
|
|
117
|
+
{ id: 'deals', label: messages.app.deals, href: paths.deals, icon: HandCoins, isCurrent: at(paths.deals) },
|
|
118
|
+
],
|
|
119
|
+
},
|
|
120
|
+
]
|
|
63
121
|
: []),
|
|
122
|
+
{
|
|
123
|
+
id: 'admin',
|
|
124
|
+
place: 'end',
|
|
125
|
+
items: [
|
|
126
|
+
// Only owners manage people.
|
|
127
|
+
...(role === 'owner' ? [{ id: 'people', label: messages.app.people, href: paths.people, icon: Users, isCurrent: at(paths.people) }] : []),
|
|
128
|
+
...plugins,
|
|
129
|
+
// Owners set the site up. Everyone else comes here only for the pages a template keeps in the settings.
|
|
130
|
+
...(role === 'owner' || settingsPages.length > 0
|
|
131
|
+
? [{ id: 'settings', label: messages.app.settings, href: '/settings', icon: Settings, isCurrent: location.pathname.startsWith('/settings') }]
|
|
132
|
+
: []),
|
|
133
|
+
],
|
|
134
|
+
},
|
|
64
135
|
];
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
: []),
|
|
81
|
-
// Only owners manage people and content types, so only they are shown the way there.
|
|
82
|
-
...(session.data.role === 'owner'
|
|
83
|
-
? [
|
|
84
|
-
{
|
|
85
|
-
id: 'types',
|
|
86
|
-
label: messages.app.types,
|
|
87
|
-
href: paths.types,
|
|
88
|
-
icon: Shapes,
|
|
89
|
-
isCurrent: location.pathname === paths.types || location.pathname.startsWith(`${paths.types}/`),
|
|
90
|
-
},
|
|
91
|
-
{ id: 'people', label: messages.app.people, href: paths.people, icon: Users, isCurrent: location.pathname === paths.people },
|
|
92
|
-
]
|
|
93
|
-
: []),
|
|
94
|
-
{ id: 'trash', label: messages.app.trash, href: paths.trash, icon: Trash2, isCurrent: location.pathname === paths.trash },
|
|
95
|
-
],
|
|
96
|
-
},
|
|
97
|
-
// Plugins have a section of their own: the screens they added, for everyone (what each
|
|
98
|
-
// may do there is the server's to say), then the way to manage them, for owners. With
|
|
99
|
-
// neither, the section is left out.
|
|
100
|
-
...(pluginNav.length > 0 ? [{ id: 'plugins', label: messages.app.pluginsGroup, items: pluginNav }] : []),
|
|
101
|
-
], account: {
|
|
136
|
+
// What can be made from anywhere: an entry of each type that has more than one.
|
|
137
|
+
const creatable = contentTypes.filter((type) => type.kind !== 'single');
|
|
138
|
+
// Everything the menu leads to, and everything that can be made, found by typing.
|
|
139
|
+
const places = nav.flatMap((group) => group.items.flatMap((item) => [
|
|
140
|
+
...(item.children === undefined ? [{ id: `go:${item.href}`, label: item.label, ...(item.icon && { icon: item.icon }) }] : []),
|
|
141
|
+
...(item.children ?? []).flatMap((child) => child.items.map((place) => ({ id: `go:${place.href}`, label: place.label, detail: item.label, ...(place.icon && { icon: place.icon }) }))),
|
|
142
|
+
]));
|
|
143
|
+
const creations = creatable.map((type) => ({ id: `new:${type.key}`, label: messages.app.createIn(localized(type.label, locale)), icon: Plus }));
|
|
144
|
+
return (_jsxs(_Fragment, { children: [_jsx(AppShell, { logoLabel: messages.app.product, siteName: siteName, siteDetail: window.location.host, navLabel: messages.app.mainNavigation, menuLabel: messages.app.openMenu, skipLabel: messages.app.skipToContent, nav: nav,
|
|
145
|
+
// Home opens on its own greeting and puts nothing in the bar, so it has none: the search is Ctrl or Command with K.
|
|
146
|
+
isBarHidden: location.pathname === paths.home, search: {
|
|
147
|
+
label: messages.app.search,
|
|
148
|
+
shortcut: hasCommandKey() ? messages.app.searchShortcutCommand : messages.app.searchShortcutControl,
|
|
149
|
+
onPress: () => setSearching(true),
|
|
150
|
+
}, account: {
|
|
102
151
|
name: session.data.name,
|
|
103
152
|
detail: session.data.email,
|
|
104
153
|
label: messages.app.accountMenu,
|
|
@@ -123,6 +172,6 @@ export function AdminLayout({ siteName }) {
|
|
|
123
172
|
},
|
|
124
173
|
});
|
|
125
174
|
},
|
|
126
|
-
}, children: _jsx(Outlet, {}) }), isShowingPasskeys && _jsx(PasskeysDialog, { onClose: () => setShowingPasskeys(false) })] }));
|
|
175
|
+
}, children: _jsx(Outlet, {}) }), _jsx(SearchPalette, { isOpen: isSearching, onOpenChange: setSearching, places: places, creations: creations, types: types.data ?? [], findsContacts: role === 'owner' || role === 'editor', onGo: go, onCreate: (typeKey) => go(paths.newEntry(typeKey)) }), isShowingPasskeys && _jsx(PasskeysDialog, { onClose: () => setShowingPasskeys(false) })] }));
|
|
127
176
|
}
|
|
128
177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Y,EAAE,WAAW,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC;4BACnI,CAAC;yBACF,CAAC,CAAC;oBACL,CAAC;iBACF,YAED,KAAC,MAAM,KAAG,GACD,EACX,KAAC,aAAa,IACZ,MAAM,EAAE,WAAW,EACnB,YAAY,EAAE,YAAY,EAC1B,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,KAAK,CAAC,IAAI,IAAI,EAAE,EACvB,aAAa,EAAE,IAAI,KAAK,OAAO,IAAI,IAAI,KAAK,QAAQ,EACpD,IAAI,EAAE,EAAE,EACR,QAAQ,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,GAClD,EACD,iBAAiB,IAAI,KAAC,cAAc,IAAC,OAAO,EAAE,GAAG,EAAE,CAAC,kBAAkB,CAAC,KAAK,CAAC,GAAI,IACjF,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestState.d.ts","sourceRoot":"","sources":["../../src/app/RequestState.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RequestState.d.ts","sourceRoot":"","sources":["../../src/app/RequestState.tsx"],"names":[],"mappings":"AAMA;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC;AAE7E,MAAM,WAAW,iBAAiB;IAChC,gFAAgF;IAChF,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,KAAK,CAAC,EAAE,YAAY,CAAC;CAC/B;AAoFD,kGAAkG;AAClG,wBAAgB,YAAY,CAAC,EAAE,KAAK,EAAE,KAAc,EAAE,EAAE,iBAAiB,+BAaxE;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,IAAI,CAAC;CAC9B;AAED,0GAA0G;AAC1G,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,eAAe,+BAc7D"}
|
package/dist/app/RequestState.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Box, Button, Card, EmptyState, Grid, Inline, Skeleton, SkeletonGroup, Spinner, Stack } from '@velocity-astro/cms-ui';
|
|
3
|
+
import { useEffect } from 'react';
|
|
3
4
|
import { CircleAlert } from 'lucide-react';
|
|
5
|
+
import { holdBootForScreen } from '../lib/boot.js';
|
|
4
6
|
import { useMessages } from '../messages/messages-context.js';
|
|
5
7
|
const ROWS = [0, 1, 2, 3, 4];
|
|
6
8
|
/** A list of things on the way: rows with a name, a line under it and two short columns. */
|
|
@@ -19,6 +21,8 @@ const SHAPES = {
|
|
|
19
21
|
/** What a screen shows while its content is on the way: grey shapes laid out like the content. */
|
|
20
22
|
export function LoadingState({ label, shape = 'page' }) {
|
|
21
23
|
const messages = useMessages();
|
|
24
|
+
// While the editor is opening, its mark stays up a moment longer instead of these shapes.
|
|
25
|
+
useEffect(holdBootForScreen, []);
|
|
22
26
|
const words = label ?? messages.app.loading;
|
|
23
27
|
if (shape === 'spinner') {
|
|
24
28
|
return (_jsx(Box, { padding: 8, children: _jsx(Spinner, { label: words, showLabel: true }) }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestState.js","sourceRoot":"","sources":["../../src/app/RequestState.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,aAA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,CAAC,GAAG,CAAC,kBAAkB,EACtC,WAAW,EAAE,KAAK,CAAC,OAAO,EAC1B,MAAM,EACJ,KAAC,MAAM,IAAC,OAAO,EAAC,WAAW,EAAC,OAAO,EAAE,OAAO,YACzC,QAAQ,CAAC,GAAG,CAAC,QAAQ,GACf,GAEX,CACH,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What a screen shows when it could not be drawn, in place of the router's own page: what went
|
|
3
|
+
* wrong, and a way to try again, which loads the editor afresh. Inside the frame, so the way to
|
|
4
|
+
* every other screen stays.
|
|
5
|
+
*/
|
|
6
|
+
export declare function RouteError({ isNotFound }: {
|
|
7
|
+
readonly isNotFound?: boolean;
|
|
8
|
+
}): import("react").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=RouteError.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RouteError.d.ts","sourceRoot":"","sources":["../../src/app/RouteError.tsx"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,EAAE,UAAkB,EAAE,EAAE;IAAE,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAA;CAAE,+BAKnF"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { isRouteErrorResponse, useRouteError } from 'react-router';
|
|
3
|
+
import { useMessages } from '../messages/messages-context.js';
|
|
4
|
+
import { ErrorState } from './RequestState.js';
|
|
5
|
+
/**
|
|
6
|
+
* What a screen shows when it could not be drawn, in place of the router's own page: what went
|
|
7
|
+
* wrong, and a way to try again, which loads the editor afresh. Inside the frame, so the way to
|
|
8
|
+
* every other screen stays.
|
|
9
|
+
*/
|
|
10
|
+
export function RouteError({ isNotFound = false }) {
|
|
11
|
+
const messages = useMessages();
|
|
12
|
+
const error = useRouteError();
|
|
13
|
+
const shown = isNotFound || (isRouteErrorResponse(error) && error.status === 404) ? new Error(messages.app.screenNotFound) : error instanceof Error ? error : new Error(messages.app.screenFailed);
|
|
14
|
+
return _jsx(ErrorState, { error: shown, onRetry: () => window.location.reload() });
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=RouteError.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RouteError.js","sourceRoot":"","sources":["../../src/app/RouteError.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C;;;;GAIG;AACH,MAAM,UAAU,UAAU,CAAC,EAAE,UAAU,GAAG,KAAK,EAAqC;IAClF,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,MAAM,KAAK,GAAG,aAAa,EAAE,CAAC;IAC9B,MAAM,KAAK,GAAG,UAAU,IAAI,CAAC,oBAAoB,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;IACnM,OAAO,KAAC,UAAU,IAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,GAAI,CAAC;AAC/E,CAAC"}
|