commit d3bf9a5779bd029e76eeb32a8653fd3529b5686a Author: Mark Gregory Date: Wed Nov 11 09:57:07 2026 +0000 initial Commit diff --git a/.gitignore b/.gitignore new file mode 100755 index 0000000..bcc3dba --- /dev/null +++ b/.gitignore @@ -0,0 +1,88 @@ +/node_modules +/public/storage +/vendor/* +.idea +.env +/storage/debugbar +/.scannerwork/ +/public/uploads/ +/docker/backup/ +/docker/config/ +/docker/data/ +/Local/ +/nginx +/reports/ +/public/Scras_uploads/ +/database/sql/ +/docker/db2/ +/docker/mysql/data/ +/provision +composer.lock +.phpunit.result.cache +docker-compose.override.yml +Homestead.json +Homestead.yaml +npm-debug.log +yarn-error.log +/storage/*.key +/public/hot +*.phpbkp +*.php-tmp + +# *********************************** +# Application specific excludes. +# *********************************** + +#/app/Http/Controllers/Admin/UtilitiesController.php +#/app/Http/Controllers/Admin/OracleController.php +#/resources/views/admin/oracle/index.blade.php + +# ****************************************************************** +# Exclude specific config files for various hosts +# do not exclude the default laravel ones as this will cause issues +# ****************************************************************** + +#/config/exports.php +#/config/AdcConf.php +#/config/eproconf.php +#/config/ethanol.php +#/config/hmrcconf.php +#/config/rolebased.php + +# *********************************** +# Composer Specific Excludes lock +# file is ignored adn it should load +# the php ver from the environment. +# *********************************** + +/local + +# Docker Specific Excludes + +**/.DS_Store +/modules_statuses.json + +# Environment Files +.env.local +.env.mgdev +.env.todev + bootstrap/.env + config/.env +/Modules/Core/Database/Seeders/data/ +/provision/db/ +/provision/sparos/ + +/Modules/Maximo/Database/data/ +Modules/SIDS/node_modules/ +/.env.prod_emu +/modules/SIDS/Database/backups/ +/docker/opt/ +/docker/nginx/logs/ +/storage/backup/ +/Modules/Budgets/Provision/src/ +/Modules/MaterialsPlanning/Provision/ +/Modules/Budgets/Provision/MBR Files/ +/Modules/Budgets/Provision/blank.blade.php +.php-cs-fixer.dist.php +phpstan.neon +pint.json diff --git a/Modules/Stylist/Config/config.php b/Modules/Stylist/Config/config.php new file mode 100755 index 0000000..8ef78d7 --- /dev/null +++ b/Modules/Stylist/Config/config.php @@ -0,0 +1,29 @@ + env('STYLIST_DEFAULT_THEME', 'backend'), + 'default_backend_theme' => env('STYLIST_BACKEND_THEME', 'backend'), + 'default_frontend_theme' => env('STYLIST_FRONTEND_THEME', 'frontend'), + + /* + | Themes are application resources, never module resources. + | Every theme is self-contained and owns its views and assets. + */ + 'themes_path' => env('STYLIST_THEMES_PATH', resource_path('themes')), + + 'tenant_theme_column' => 'theme_key', + 'tenant_brand_columns' => [ + 'brand_primary' => 'brand-primary', + 'brand_secondary' => 'brand-secondary', + 'brand_accent' => 'brand-accent', + ], + + 'fallback_variables' => [ + 'brand-primary' => '#2563eb', + 'brand-secondary' => '#0f172a', + 'brand-accent' => '#22c55e', + 'surface' => '#ffffff', + 'surface-muted' => '#f8fafc', + 'text-primary' => '#0f172a', + ], +]; diff --git a/Modules/Stylist/Console/CreateThemeCommand.php b/Modules/Stylist/Console/CreateThemeCommand.php new file mode 100755 index 0000000..c7e1dff --- /dev/null +++ b/Modules/Stylist/Console/CreateThemeCommand.php @@ -0,0 +1,64 @@ +argument('key'))); + if (! preg_match('/^[a-z0-9][a-z0-9_-]*$/', $key)) { + $this->error('Theme keys may contain lowercase letters, numbers, dashes, and underscores only.'); + + return self::FAILURE; + } + + $path = rtrim((string) config('stylist.themes_path'), '/\\').DIRECTORY_SEPARATOR.$key; + if ($this->files->exists($path)) { + $this->error("Theme [{$key}] already exists."); + + return self::FAILURE; + } + + $parent = trim((string) $this->option('parent')); + $name = trim((string) ($this->option('name') ?: str($key)->headline())); + $this->files->ensureDirectoryExists($path.'/views'); + + $manifest = [ + 'manifest_version' => 1, + 'name' => $name, + 'slug' => $key, + 'version' => '1.0.0', + 'description' => "Child theme for {$name}.", + 'extends' => $parent !== '' ? $parent : null, + 'entry_view' => 'home', + 'views' => true, + 'variables' => [], + 'settings' => [], + ]; + + if ($manifest['extends'] === null) { + unset($manifest['extends']); + } + + $this->files->put($path.'/theme.json', json_encode($manifest, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES).PHP_EOL); + $this->files->put($path.'/views/.gitkeep', ''); + + $this->info("Theme [{$key}] created at {$path}."); + $this->line('Shared views will resolve through its parent; only add genuine overrides.'); + + return self::SUCCESS; + } +} diff --git a/Modules/Stylist/Console/FindDuplicateViewsCommand.php b/Modules/Stylist/Console/FindDuplicateViewsCommand.php new file mode 100755 index 0000000..2304ca1 --- /dev/null +++ b/Modules/Stylist/Console/FindDuplicateViewsCommand.php @@ -0,0 +1,40 @@ +inspector->duplicateViews(); + if ($duplicates === []) { + $this->info('No duplicate theme views found.'); + + return self::SUCCESS; + } + + $rows = []; + foreach ($duplicates as $view => $owners) { + foreach ($owners as $owner) { + $rows[] = [$view, $owner['theme'], $owner['path']]; + } + } + + $this->table(['View', 'Theme', 'Path'], $rows); + $this->error(count($duplicates).' duplicate view task(s) found.'); + + return self::FAILURE; + } +} diff --git a/Modules/Stylist/Console/InspectThemesCommand.php b/Modules/Stylist/Console/InspectThemesCommand.php new file mode 100755 index 0000000..0764a1f --- /dev/null +++ b/Modules/Stylist/Console/InspectThemesCommand.php @@ -0,0 +1,28 @@ +inspector->themes(); + $this->table(['Key', 'Name', 'Parent', 'Entry view', 'Views', 'Path'], array_map(fn (array $theme): array => [ + $theme['key'], $theme['name'], $theme['parent'] ?? '—', $theme['entry_view'], $theme['views'], $theme['path'], + ], $themes)); + + return self::SUCCESS; + } +} diff --git a/Modules/Stylist/Console/PublishAssetsCommand.php b/Modules/Stylist/Console/PublishAssetsCommand.php new file mode 100755 index 0000000..ab661fa --- /dev/null +++ b/Modules/Stylist/Console/PublishAssetsCommand.php @@ -0,0 +1,34 @@ +option('force'); + + $this->call('vendor:publish', [ + '--tag' => 'stylist-config', + '--force' => $force, + ]); + + $themesPath = (string) config('stylist.themes_path', resource_path('themes')); + + if (! is_dir($themesPath) && ! mkdir($themesPath, 0775, true) && ! is_dir($themesPath)) { + $this->components->error("Unable to create theme directory: {$themesPath}"); + + return self::FAILURE; + } + + $this->components->info("Stylist config published. Themes remain in: {$themesPath}"); + + return self::SUCCESS; + } +} diff --git a/Modules/Stylist/Console/ThemeDoctorCommand.php b/Modules/Stylist/Console/ThemeDoctorCommand.php new file mode 100755 index 0000000..d59cb3d --- /dev/null +++ b/Modules/Stylist/Console/ThemeDoctorCommand.php @@ -0,0 +1,38 @@ +inspector->issues(); + if ($issues === []) { + $this->info('Stylist is healthy. No theme issues found.'); + + return self::SUCCESS; + } + + $this->table(['Severity', 'Theme', 'Message'], array_map(fn (array $issue): array => [ + strtoupper($issue['severity']), $issue['theme'], $issue['message'], + ], $issues)); + + $errors = count(array_filter($issues, fn (array $issue): bool => $issue['severity'] === 'error')); + $warnings = count($issues) - $errors; + $this->line("{$errors} error(s), {$warnings} warning(s)."); + + return $errors > 0 ? self::FAILURE : self::SUCCESS; + } +} diff --git a/Modules/Stylist/Console/ValidateThemeCommand.php b/Modules/Stylist/Console/ValidateThemeCommand.php new file mode 100755 index 0000000..5e21f93 --- /dev/null +++ b/Modules/Stylist/Console/ValidateThemeCommand.php @@ -0,0 +1,108 @@ +resolveThemePath((string) $this->argument('theme')); + $theme = $this->loader->fromPath($path); + $issues = $this->validator->validate($theme); + + $this->info("Theme: {$theme->name()} ({$theme->key()})"); + $this->line('Manifest schema: '.$theme->manifestVersion()); + + if ($issues === []) { + $this->info('Theme validation passed with no issues.'); + + return self::SUCCESS; + } + + $this->table( + ['Severity', 'File', 'Message'], + array_map(fn (array $issue) => [ + strtoupper($issue['severity']), + $issue['file'], + $issue['message'], + ], $issues), + ); + + $errors = count(array_filter($issues, fn (array $issue) => $issue['severity'] === 'error')); + $warnings = count($issues) - $errors; + $this->line("{$errors} error(s), {$warnings} warning(s)."); + + return $errors > 0 ? self::FAILURE : self::SUCCESS; + } catch (\Throwable $exception) { + $this->error($exception->getMessage()); + + return self::FAILURE; + } finally { + if ($temporary !== null) { + $this->files->deleteDirectory($temporary); + } + } + } + + /** @return array{0:string,1:?string} */ + private function resolveThemePath(string $input): array + { + if ($this->files->isDirectory($input)) { + return [realpath($input) ?: $input, null]; + } + + if ($this->files->isFile($input) && strtolower(pathinfo($input, PATHINFO_EXTENSION)) === 'zip') { + $temporary = storage_path('app/stylist/validate-'.bin2hex(random_bytes(8))); + $this->files->ensureDirectoryExists($temporary); + + $zip = new ZipArchive; + if ($zip->open($input) !== true) { + throw new RuntimeException('The theme ZIP could not be opened.'); + } + + for ($index = 0; $index < $zip->numFiles; $index++) { + $name = (string) $zip->getNameIndex($index); + if (str_contains($name, '..') || str_starts_with($name, '/') || str_contains($name, "\0")) { + $zip->close(); + throw new RuntimeException('The ZIP contains an unsafe path.'); + } + } + + $zip->extractTo($temporary); + $zip->close(); + + $manifest = collect($this->files->allFiles($temporary)) + ->first(fn ($file) => $file->getFilename() === 'theme.json'); + + if (! $manifest) { + throw new RuntimeException('The package does not contain theme.json.'); + } + + return [$manifest->getPath(), $temporary]; + } + + return [$this->loader->find($input)->path(), null]; + } +} diff --git a/Modules/Stylist/Database/Migrations/2026_07_08_000000_add_stylist_fields_to_companies_table.php b/Modules/Stylist/Database/Migrations/2026_07_08_000000_add_stylist_fields_to_companies_table.php new file mode 100755 index 0000000..2396070 --- /dev/null +++ b/Modules/Stylist/Database/Migrations/2026_07_08_000000_add_stylist_fields_to_companies_table.php @@ -0,0 +1,56 @@ +string('theme_key')->default('default')->after('timezone'); + } + + if (! Schema::hasColumn('companies', 'brand_primary')) { + $table->string('brand_primary')->nullable()->after('theme_key'); + } + + if (! Schema::hasColumn('companies', 'brand_secondary')) { + $table->string('brand_secondary')->nullable()->after('brand_primary'); + } + + if (! Schema::hasColumn('companies', 'brand_accent')) { + $table->string('brand_accent')->nullable()->after('brand_secondary'); + } + + if (! Schema::hasColumn('companies', 'logo_path')) { + $table->string('logo_path')->nullable()->after('brand_accent'); + } + + if (! Schema::hasColumn('companies', 'theme_settings')) { + $table->json('theme_settings')->nullable()->after('logo_path'); + } + }); + } + + public function down(): void + { + if (! Schema::hasTable('companies')) { + return; + } + + Schema::table('companies', function (Blueprint $table): void { + foreach (['theme_settings', 'logo_path', 'brand_accent', 'brand_secondary', 'brand_primary', 'theme_key'] as $column) { + if (Schema::hasColumn('companies', $column)) { + $table->dropColumn($column); + } + } + }); + } +}; diff --git a/Modules/Stylist/Database/Migrations/2026_07_21_000001_create_stylist_theme_settings_table.php b/Modules/Stylist/Database/Migrations/2026_07_21_000001_create_stylist_theme_settings_table.php new file mode 100755 index 0000000..57b6955 --- /dev/null +++ b/Modules/Stylist/Database/Migrations/2026_07_21_000001_create_stylist_theme_settings_table.php @@ -0,0 +1,24 @@ +id(); + $table->string('theme_key')->unique(); + $table->string('variant')->default('light'); + $table->json('settings')->nullable(); + $table->timestamps(); + }); + } + + public function down(): void + { + Schema::dropIfExists('stylist_theme_settings'); + } +}; diff --git a/Modules/Stylist/Diagnostics/ThemeInspector.php b/Modules/Stylist/Diagnostics/ThemeInspector.php new file mode 100755 index 0000000..371d543 --- /dev/null +++ b/Modules/Stylist/Diagnostics/ThemeInspector.php @@ -0,0 +1,147 @@ +> */ + public function themes(): array + { + return $this->loader->all()->map(function (Theme $theme): array { + return [ + 'key' => $theme->key(), + 'name' => $theme->name(), + 'parent' => $theme->parent(), + 'path' => $theme->path(), + 'views' => count($this->viewFiles($theme)), + 'entry_view' => $theme->entryView(), + ]; + })->values()->all(); + } + + /** @return array> */ + public function duplicateViews(): array + { + $ownership = []; + + foreach ($this->loader->all() as $theme) { + foreach ($this->viewFiles($theme) as $relative => $absolute) { + $ownership[$relative][] = [ + 'theme' => $theme->key(), + 'path' => $absolute, + ]; + } + } + + return array_filter($ownership, fn (array $owners): bool => count($owners) > 1); + } + + /** @return array */ + public function issues(): array + { + $issues = []; + $themes = $this->loader->all(); + + foreach ($themes as $theme) { + $parent = $theme->parent(); + + if ($parent !== null && ! $themes->has($parent)) { + $issues[] = [ + 'severity' => 'error', + 'theme' => $theme->key(), + 'message' => "Parent theme [{$parent}] is not installed.", + ]; + } + + if ($this->hasInheritanceCycle($theme, $themes->all())) { + $issues[] = [ + 'severity' => 'error', + 'theme' => $theme->key(), + 'message' => 'Theme inheritance contains a cycle.', + ]; + } + + $entry = $theme->path().'/views/'.str_replace('.', '/', $theme->entryView()).'.blade.php'; + if (! $this->files->exists($entry) && $parent === null) { + $issues[] = [ + 'severity' => 'warning', + 'theme' => $theme->key(), + 'message' => "Entry view [{$theme->entryView()}] does not exist in this theme.", + ]; + } + } + + foreach ($this->duplicateViews() as $view => $owners) { + $issues[] = [ + 'severity' => 'error', + 'theme' => implode(', ', array_column($owners, 'theme')), + 'message' => "View [{$view}] has multiple owners.", + ]; + } + + $default = (string) config('stylist.default_theme'); + if ($default !== '' && ! $themes->has($default)) { + $issues[] = [ + 'severity' => 'warning', + 'theme' => $default, + 'message' => 'Configured default theme is not installed.', + ]; + } + + return $issues; + } + + /** @return array */ + private function viewFiles(Theme $theme): array + { + $root = $theme->path().'/views'; + if (! $this->files->isDirectory($root)) { + return []; + } + + $views = []; + foreach ($this->files->allFiles($root) as $file) { + if (! str_ends_with($file->getFilename(), '.blade.php')) { + continue; + } + + $absolute = str_replace('\\', '/', $file->getPathname()); + $relative = ltrim(str_replace(str_replace('\\', '/', $root), '', $absolute), '/'); + $views[$relative] = $absolute; + } + + ksort($views); + + return $views; + } + + /** @param array $themes */ + private function hasInheritanceCycle(Theme $theme, array $themes): bool + { + $seen = []; + $key = $theme->key(); + + while (isset($themes[$key])) { + if (isset($seen[$key])) { + return true; + } + + $seen[$key] = true; + $key = $themes[$key]->parent() ?? ''; + if ($key === '') { + return false; + } + } + + return false; + } +} diff --git a/Modules/Stylist/Facades/StylistFacade.php b/Modules/Stylist/Facades/StylistFacade.php new file mode 100755 index 0000000..77d173e --- /dev/null +++ b/Modules/Stylist/Facades/StylistFacade.php @@ -0,0 +1,13 @@ +make($view, $data, $mergeData); + } +} + +if (! function_exists('stylist_theme_view')) { + function stylist_theme_view(string $theme, string $view, array $data = [], array $mergeData = []): View + { + return app(ThemeViewResolver::class)->makeForTheme($theme, $view, $data, $mergeData); + } +} + +if (! function_exists('stylist_frontend_view')) { + function stylist_frontend_view(string $view, array $data = [], array $mergeData = []): View + { + return app(ThemeViewResolver::class)->makeForTheme(stylist()->frontend()->key(), $view, $data, $mergeData); + } +} + +if (! function_exists('stylist_backend_view')) { + function stylist_backend_view(string $view, array $data = [], array $mergeData = []): View + { + return app(ThemeViewResolver::class)->makeForTheme(stylist()->backend()->key(), $view, $data, $mergeData); + } +} + +if (! function_exists('theme_asset')) { + function theme_asset(string $path): string + { + return app(UrlGenerator::class)->asset($path); + } +} + +if (! function_exists('theme_switcher')) { + function theme_switcher(): HtmlString + { + return stylist_html()->switcher(); + } +} diff --git a/Modules/Stylist/Html/ThemeHtmlBuilder.php b/Modules/Stylist/Html/ThemeHtmlBuilder.php new file mode 100755 index 0000000..79d7a7e --- /dev/null +++ b/Modules/Stylist/Html/ThemeHtmlBuilder.php @@ -0,0 +1,151 @@ +stylist->current(); + if (! $theme->has($path)) { + return new HtmlString(''); + } + + return new HtmlString(''); + } + + $tags = []; + foreach (array_reverse($this->themeChain()) as $theme) { + $stylesheet = $theme->stylesheet(); + if ($stylesheet !== '' && $theme->has($stylesheet)) { + $tags[] = ''; + } + } + + return new HtmlString(implode('', $tags)); + } + + public function script(?string $path = null): HtmlString + { + if ($path !== null) { + $theme = $this->stylist->current(); + if (! $theme->has($path)) { + return new HtmlString(''); + } + + return new HtmlString(''); + } + + $tags = []; + foreach (array_reverse($this->themeChain()) as $theme) { + $script = $theme->script(); + if ($script !== '' && $theme->has($script)) { + $tags[] = ''; + } + } + + return new HtmlString(implode('', $tags)); + } + + public function variables(): HtmlString + { + $theme = $this->stylist->current(); + $default = $this->declarations($this->stylist->variables()); + $rules = [':root{'.$default.'}']; + + foreach ($theme->appearances() as $name => $definition) { + $vars = (array) data_get($definition, 'variables', []); + if ($vars) { + $rules[] = ':root[data-appearance="'.$this->selector($name).'"]{'.$this->declarations($vars).'}'; + } + } + foreach ($theme->accents() as $name => $definition) { + $vars = (array) data_get($definition, 'variables', []); + if ($vars) { + $rules[] = ':root[data-accent="'.$this->selector($name).'"]{'.$this->declarations($vars).'}'; + } + } + + if ($theme->appearances() === [] && $theme->accents() === []) { + return new HtmlString(''); + } + + $appearance = json_encode($this->stylist->appearance(), JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS | JSON_HEX_QUOT); + $accent = json_encode($this->stylist->accent(), JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS | JSON_HEX_QUOT); + $themeKey = json_encode($theme->key(), JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS | JSON_HEX_QUOT); + $hasAppearances = $theme->appearances() !== [] ? 'true' : 'false'; + $hasAccents = $theme->accents() !== [] ? 'true' : 'false'; + + $script = <<(function(){var d=document.documentElement,k={$themeKey},ha={$hasAppearances},hc={$hasAccents},a=ha?(localStorage.getItem('stylist:'+k+':appearance')||{$appearance}):'',c=hc?(localStorage.getItem('stylist:'+k+':accent')||{$accent}):'';function apply(){d.dataset.theme=k;if(ha){var dark=a==='dark'||((a==='auto'||a==='system')&&matchMedia('(prefers-color-scheme: dark)').matches);d.dataset.appearance=dark?'dark':'light';d.classList.toggle('dark',dark)}if(hc){d.dataset.accent=c}}apply();window.StylistTheme={setAppearance:function(v){if(!ha)return;a=v;localStorage.setItem('stylist:'+k+':appearance',v);apply()},setAccent:function(v){if(!hc)return;c=v;localStorage.setItem('stylist:'+k+':accent',v);apply()},appearance:function(){return a},accent:function(){return c}};if(ha){matchMedia('(prefers-color-scheme: dark)').addEventListener?.('change',function(){if(a==='auto'||a==='system')apply()})}document.dispatchEvent(new CustomEvent('stylist:ready',{detail:window.StylistTheme}))})(); +JS; + + return new HtmlString(''.$script); + } + + public function switcher(): HtmlString + { + $theme = $this->stylist->current(); + $appearances = array_keys($theme->appearances()); + $accents = array_keys($theme->accents()); + + if ($appearances === [] && $accents === []) { + return new HtmlString(''); + } + + $appearanceOptions = collect($appearances)->map(fn ($name) => '')->implode(''); + $accentOptions = collect($accents)->map(fn ($name) => '')->implode(''); + $appearanceSelect = $appearances ? '' : ''; + $accentSelect = $accents ? '' : ''; + + return new HtmlString('
'.$appearanceSelect.$accentSelect.'
'); + } + + /** @return array */ + private function themeChain(): array + { + $chain = []; + $theme = $this->stylist->current(); + $seen = []; + + while (! isset($seen[$theme->key()])) { + $seen[$theme->key()] = true; + $chain[] = $theme; + $parent = $theme->parent(); + + if (! $parent) { + break; + } + + try { + $theme = $this->loader->find($parent); + } catch (\Throwable) { + break; + } + } + + return $chain; + } + + private function declarations(array $variables): string + { + return collect($variables) + ->filter(fn ($value, $key) => is_string($key) && (is_string($value) || is_numeric($value))) + ->map(fn ($value, string $key) => '--'.ltrim($key, '-').': '.e((string) $value).';') + ->implode(''); + } + + private function selector(string $value): string + { + return preg_replace('/[^a-z0-9_-]/i', '', $value) ?: 'default'; + } +} diff --git a/Modules/Stylist/Html/ThemeSeoBuilder.php b/Modules/Stylist/Html/ThemeSeoBuilder.php new file mode 100755 index 0000000..28d5840 --- /dev/null +++ b/Modules/Stylist/Html/ThemeSeoBuilder.php @@ -0,0 +1,44 @@ +stylist->current(); + $seo = array_replace($theme->seo(), $overrides); + $settings = $this->stylist->settings(); + $title = (string) ($seo['title'] ?? $settings['site_title'] ?? $theme->name()); + $description = (string) ($seo['description'] ?? $settings['site_description'] ?? $theme->description()); + $image = $seo['image'] ?? $theme->preview(); + if ($image && $theme->has($image)) { + $image = $this->urls->asset($image); + } + $tags = [''.e($title).'']; + if ($description !== '') { + $tags[] = ''; + } + foreach (['og:title' => $title, 'og:description' => $description, 'twitter:card' => 'summary_large_image', 'twitter:title' => $title, 'twitter:description' => $description] as $property => $content) { + if ($content === '') { + continue; + }$attribute = str_starts_with($property, 'og:') ? 'property' : 'name'; + $tags[] = ''; + } + if ($image) { + $tags[] = ''; + $tags[] = ''; + } + if (isset($seo['json_ld']) && is_array($seo['json_ld'])) { + $tags[] = ''; + } + + return new HtmlString(implode("\n", $tags)); + } +} diff --git a/Modules/Stylist/Http/Controllers/StylistController.php b/Modules/Stylist/Http/Controllers/StylistController.php new file mode 100755 index 0000000..12cc3d2 --- /dev/null +++ b/Modules/Stylist/Http/Controllers/StylistController.php @@ -0,0 +1,23 @@ + $stylist->current(), 'themes' => $stylist->all(), 'variables' => $stylist->variables(), + 'settingsService' => $settings, 'accessibility' => $accessibility, 'urls' => $urls, + 'activeFrontendTheme' => $siteSettings->get('frontend_theme', config('stylist.default_frontend_theme', 'frontend'), 'site'), + 'activeBackendTheme' => $siteSettings->get('backend_theme', config('stylist.default_backend_theme', 'backend'), 'site'), + ]); + } +} diff --git a/Modules/Stylist/Http/Controllers/ThemeAssetController.php b/Modules/Stylist/Http/Controllers/ThemeAssetController.php new file mode 100755 index 0000000..e7695d1 --- /dev/null +++ b/Modules/Stylist/Http/Controllers/ThemeAssetController.php @@ -0,0 +1,64 @@ +find($theme); + $themeRoot = realpath($loadedTheme->path()); + abort_unless($themeRoot !== false, 404); + + $asset = realpath($themeRoot.DIRECTORY_SEPARATOR.$normalised); + + abort_unless( + $asset !== false + && str_starts_with($asset, $themeRoot.DIRECTORY_SEPARATOR) + && is_file($asset), + 404 + ); + + $mime = match ($extension) { + 'css' => 'text/css; charset=UTF-8', + 'js', 'mjs' => 'application/javascript; charset=UTF-8', + 'svg' => 'image/svg+xml', + 'json', 'map', 'webmanifest' => 'application/json', + 'woff' => 'font/woff', + 'woff2' => 'font/woff2', + 'ttf' => 'font/ttf', + 'otf' => 'font/otf', + default => mime_content_type($asset) ?: 'application/octet-stream', + }; + + return response()->file($asset, [ + 'Content-Type' => $mime, + 'Cache-Control' => app()->isProduction() + ? 'public, max-age=31536000, immutable' + : 'no-cache, private', + 'X-Content-Type-Options' => 'nosniff', + 'Content-Security-Policy' => "default-src 'none'; style-src 'unsafe-inline'", + ]); + } +} diff --git a/Modules/Stylist/Http/Controllers/ThemeManagementController.php b/Modules/Stylist/Http/Controllers/ThemeManagementController.php new file mode 100755 index 0000000..3c4f12f --- /dev/null +++ b/Modules/Stylist/Http/Controllers/ThemeManagementController.php @@ -0,0 +1,87 @@ +find($theme); + abort_unless(in_array($item->type(), ['frontend', 'backend'], true), 422, 'Only frontend and backend themes can be activated.'); + + $settings->put($item->type().'_theme', $item->key(), 'site', 'string', true); + + return back()->with('status', $item->name().' is now the active '.$item->type().' theme.'); + } + + public function preview(string $theme, Loader $loader, ThemeViewResolver $views) + { + $item = $loader->find($theme); + + return $views->makeForTheme($item->key(), $item->entryView(), [ + 'themePreview' => true, + 'previewTheme' => $item, + ]); + } + + public function settings(Request $request, string $theme, Loader $loader, ThemeSettings $settings) + { + $item = $loader->find($theme); + $settings->save( + $item, + (array) $request->input('settings', []), + (string) $request->input('variant', 'light'), + $request->string('appearance')->toString() ?: null, + $request->string('accent')->toString() ?: null, + ); + + return back()->with('status', 'Theme settings saved.'); + } + + public function install(Request $request, ThemePackageManager $packages) + { + $request->validate(['theme' => ['required', 'file', 'mimes:zip', 'max:51200']]); + $theme = $packages->install($request->file('theme')); + + return back()->with('status', $theme->name().' installed.'); + } + + public function uninstall(string $theme, Loader $loader, ThemePackageManager $packages) + { + $item = $loader->find($theme); + $packages->uninstall($item); + + return back()->with('status', $item->name().' uninstalled.'); + } + + public function export(string $theme, Loader $loader, ThemePackageManager $packages) + { + $item = $loader->find($theme); + $path = $packages->export($item); + + return response()->download($path)->deleteFileAfterSend(); + } + + public function optimize(string $theme, Loader $loader, ThemeOptimizer $optimizer) + { + $item = $loader->find($theme); + $result = $optimizer->optimize($item); + + return back()->with('status', "Optimised {$result['css']} CSS, {$result['js']} JS and {$result['images']} images."); + } + + public function validateTheme(string $theme, Loader $loader, ThemeAccessibilityValidator $validator) + { + return response()->json(['issues' => $validator->validate($loader->find($theme))]); + } +} diff --git a/Modules/Stylist/Livewire/ThemePreview.php b/Modules/Stylist/Livewire/ThemePreview.php new file mode 100755 index 0000000..5e8560d --- /dev/null +++ b/Modules/Stylist/Livewire/ThemePreview.php @@ -0,0 +1,21 @@ + 12, + 'warehouses' => 34, + 'users' => 156, + ]; + + public function render() + { + return stylist_view('livewire.theme-preview', [ + 'stats' => $this->stats, + ]); + } +} diff --git a/Modules/Stylist/Models/ThemeSetting.php b/Modules/Stylist/Models/ThemeSetting.php new file mode 100755 index 0000000..fb01e6f --- /dev/null +++ b/Modules/Stylist/Models/ThemeSetting.php @@ -0,0 +1,14 @@ + 'array']; +} diff --git a/Modules/Stylist/Providers/RouteServiceProvider.php b/Modules/Stylist/Providers/RouteServiceProvider.php new file mode 100755 index 0000000..6dd5efc --- /dev/null +++ b/Modules/Stylist/Providers/RouteServiceProvider.php @@ -0,0 +1,17 @@ +group(module_path('Stylist', 'Routes/assets.php')); + } +} diff --git a/Modules/Stylist/Providers/StylistServiceProvider.php b/Modules/Stylist/Providers/StylistServiceProvider.php new file mode 100755 index 0000000..6aa491f --- /dev/null +++ b/Modules/Stylist/Providers/StylistServiceProvider.php @@ -0,0 +1,469 @@ +app->register(RouteServiceProvider::class); + + $this->mergeConfigFrom(module_path(ModuleInfo::name(), 'Config/config.php'), ModuleInfo::nameLower()); + + $this->app->singleton('stylist', fn ($app) => $app->make(Stylist::class)); + $this->app->singleton('stylist.html', fn ($app) => $app->make(ThemeHtmlBuilder::class)); + $this->app->singleton('stylist.seo', fn ($app) => $app->make(ThemeSeoBuilder::class)); + } + + public function boot(): void + { + $this->registerViews(); + $this->registerThemeViews(); + $this->registerTranslations(); + $this->registerPublishing(); + $this->registerHelpers(); + $this->registerBlade(); + + if ($this->app->runningInConsole()) { + $this->commands([ + PublishAssetsCommand::class, + ValidateThemeCommand::class, + InspectThemesCommand::class, + FindDuplicateViewsCommand::class, + ThemeDoctorCommand::class, + CreateThemeCommand::class, + ]); + } + + $this->loadMigrationsFrom(module_path(ModuleInfo::name(), 'Database/Migrations')); + + View::composer('*', function ($view): void { + if (! $this->app->bound(Stylist::class)) { + return; + } + + $view->with('activeTheme', $this->app->make(Stylist::class)->current()); + }); + + // Register both selected presentation trees immediately, then register them again + // after every service provider has finished booting. Some package/module providers + // replace Laravel's base view locations during their own boot phase; the booted + // callback makes Stylist the final authority for ordinary view('...') resolution. + $this->registerSelectedThemeOverrides(); + + $this->app->booted(function (): void { + $this->registerSelectedThemeOverrides(); + $this->registerLivewireThemeViewPath(); + $this->registerLivewireThemeComponents(); + }); + + } + + private function registerViews(): void + { + $sourcePath = module_path(ModuleInfo::name(), 'Resources/views'); + + // Module-owned package views stay inside the module. Application overrides + // belong to resources/themes/{theme}/views/modules/stylist, which Stylist + // registers as the authoritative themed namespace. Never publish back into + // resources/views; the standard baseline intentionally has no legacy view tree. + $this->loadViewsFrom($sourcePath, ModuleInfo::nameLower()); + } + + private function registerThemeViews(): void + { + foreach ($this->themeRoots() as $root) { + if (! is_dir($root)) { + logger()->warning('Stylist theme root does not exist', [ + 'root' => $root, + ]); + + continue; + } + + $themeDirectories = glob($root.'/*', GLOB_ONLYDIR) ?: []; + + foreach ($themeDirectories as $themeDirectory) { + $themeViewsPath = $themeDirectory.'/views'; + + if (! is_dir($themeViewsPath)) { + continue; + } + + $themeKey = strtolower(basename($themeDirectory)); + + // Themes always live outside the module, normally in resources/themes. + // Register the canonical namespace and the legacy namespace as an alias + // to the same application-owned directory. The alias keeps existing + // routes and Blade templates working without reintroducing module themes. + $namespaces = [ + "stylist-theme-{$themeKey}", + "stylist-module-theme-{$themeKey}", + ]; + + $componentsPath = $themeViewsPath.'/components'; + + // The common theme is the application-wide owner of layouts, + // authentication, settings and shared components. Livewire 4 + // resolves its default full-page layout through layouts::app, + // so point that compatibility namespace at the common theme. + if ($themeKey === 'common') { + $layoutsPath = $componentsPath.'/layouts'; + + if (is_dir($layoutsPath)) { + View::addNamespace('layouts', $layoutsPath); + Blade::anonymousComponentPath($layoutsPath, 'layouts'); + } + + View::addNamespace('common', $themeViewsPath); + + if (is_dir($componentsPath)) { + Blade::anonymousComponentPath($componentsPath, 'common'); + } + } + + foreach ($namespaces as $namespace) { + View::addNamespace($namespace, $themeViewsPath); + + if (is_dir($componentsPath)) { + Blade::anonymousComponentPath($componentsPath, $namespace); + } + } + } + } + } + + private function registerSelectedThemeOverrides(): void + { + $stylist = $this->app->make(Stylist::class); + + $current = $stylist->current(); + $frontend = $stylist->frontend(); + $backend = $stylist->backend(); + + // The active request context must win ordinary view resolution. Keep the + // opposite presentation tree available as a compatibility fallback, but + // never let frontend views shadow backend views on backend requests (or + // vice versa) simply because of provider registration order. + $orderedThemes = [$current, $frontend, $backend]; + $chains = []; + $seenThemes = []; + + foreach ($orderedThemes as $theme) { + if (isset($seenThemes[$theme->key()])) { + continue; + } + + $seenThemes[$theme->key()] = true; + $chains[] = $this->themeChain($theme); + } + + $keys = []; + foreach ($chains as $chain) { + foreach ($chain as $key) { + if (! in_array($key, $keys, true)) { + $keys[] = $key; + } + } + } + + if (! in_array('common', $keys, true)) { + $keys[] = 'common'; + } + + // Laravel's starter kits resolve authenticated layouts through the + // x-layouts:: namespace. Once those views live inside the backend + // theme, Stylist must make that selected theme authoritative for the + // namespace as well as for ordinary view('...') lookups. + $this->registerLayoutCompatibilityNamespace($stylist->backend()); + + $finder = View::getFinder(); + $themePaths = []; + + foreach ($keys as $key) { + try { + $theme = $this->app->make(Loader::class)->find($key); + } catch (\Throwable) { + continue; + } + + $viewsPath = $theme->path().DIRECTORY_SEPARATOR.'views'; + if (is_dir($viewsPath)) { + $themePaths[] = $viewsPath; + } + + $this->registerThemeModuleNamespaces($key); + } + + // FileViewFinder is the source of truth for ordinary view('...') resolution. + // Set the complete ordered path list explicitly instead of relying on provider + // boot order and incremental prependLocation() calls. Theme paths stay first; + // Laravel's normal view locations remain as the final fallback. + if (method_exists($finder, 'getPaths') && method_exists($finder, 'setPaths')) { + $existingPaths = $finder->getPaths(); + $paths = array_values(array_unique(array_merge($themePaths, $existingPaths))); + $finder->setPaths($paths); + + if (method_exists($finder, 'flush')) { + $finder->flush(); + } + } else { + foreach (array_reverse($themePaths) as $viewsPath) { + if (method_exists($finder, 'prependLocation')) { + $finder->prependLocation($viewsPath); + } else { + View::addLocation($viewsPath); + } + } + } + } + + /** @return array */ + private function themeChain(Theme $theme): array + { + $loader = $this->app->make(Loader::class); + $chain = []; + $seen = []; + + while (! isset($seen[$theme->key()])) { + $seen[$theme->key()] = true; + $chain[] = $theme->key(); + + $parent = $theme->parent(); + if (! $parent) { + break; + } + + try { + $theme = $loader->find($parent); + } catch (\Throwable) { + break; + } + } + + return $chain; + } + + private function prependThemeViewTree(string $themeKey): void + { + try { + $theme = $this->app->make(Loader::class)->find($themeKey); + } catch (\Throwable) { + return; + } + + $viewsPath = $theme->path().DIRECTORY_SEPARATOR.'views'; + if (! is_dir($viewsPath)) { + return; + } + + $finder = View::getFinder(); + if (method_exists($finder, 'prependLocation')) { + $finder->prependLocation($viewsPath); + } else { + View::addLocation($viewsPath); + } + + $this->registerThemeModuleNamespaces($themeKey); + } + + private function registerLayoutCompatibilityNamespace(Theme $theme): void + { + $candidates = [ + $theme->path().DIRECTORY_SEPARATOR.'views'.DIRECTORY_SEPARATOR.'layouts', + $theme->path().DIRECTORY_SEPARATOR.'views'.DIRECTORY_SEPARATOR.'components'.DIRECTORY_SEPARATOR.'layouts', + ]; + + foreach ($candidates as $layoutsPath) { + if (! is_dir($layoutsPath)) { + continue; + } + + View::prependNamespace('layouts', $layoutsPath); + Blade::anonymousComponentPath($layoutsPath, 'layouts'); + } + } + + private function registerThemeModuleNamespaces(string $themeKey): void + { + try { + $theme = $this->app->make(Loader::class)->find($themeKey); + } catch (\Throwable) { + return; + } + + $modulesPath = $theme->path().DIRECTORY_SEPARATOR.'views'.DIRECTORY_SEPARATOR.'modules'; + if (! is_dir($modulesPath)) { + return; + } + + foreach (glob($modulesPath.'/*', GLOB_ONLYDIR) ?: [] as $moduleViewsPath) { + $namespace = strtolower(basename($moduleViewsPath)); + View::prependNamespace($namespace, $moduleViewsPath); + + $componentsPath = $moduleViewsPath.DIRECTORY_SEPARATOR.'components'; + if (is_dir($componentsPath)) { + Blade::anonymousComponentPath($componentsPath, $namespace); + } + } + } + + private function normalisePath(string $path): string + { + return rtrim( + str_replace('\\', '/', realpath($path) ?: $path), + '/' + ); + } + + /** @return array */ + private function themeRoots(): array + { + return array_values(array_unique(array_filter([ + (string) config('stylist.themes_path'), + ]))); + } + + private function registerTranslations(): void + { + $langPath = resource_path('lang/modules/'.ModuleInfo::nameLower()); + $sourcePath = module_path(ModuleInfo::name(), 'Resources/lang'); + + $this->loadTranslationsFrom(is_dir($langPath) ? $langPath : $sourcePath, ModuleInfo::nameLower()); + } + + private function registerPublishing(): void + { + $this->publishes([ + module_path(ModuleInfo::name(), 'Config/config.php') => config_path('stylist.php'), + ], ['config', 'stylist-config']); + + } + + private function registerHelpers(): void + { + foreach (glob(module_path(ModuleInfo::name(), 'Helpers/*.php')) ?: [] as $filename) { + require_once $filename; + } + } + + private function registerBlade(): void + { + Blade::directive('themeVariables', fn () => 'variables(); ?>'); + Blade::directive('themeStylesheet', fn ($expression) => 'stylesheet('.($expression ?: 'null').'); ?>'); + Blade::directive('themeScript', fn ($expression) => 'script('.($expression ?: 'null').'); ?>'); + Blade::directive('themeSwitcher', fn () => 'switcher(); ?>'); + Blade::directive('themeSeo', fn ($expression) => 'render('.($expression ?: '[]').'); ?>'); + } + + /** + * Register Livewire components from Stylist's selected themes. + */ + private function registerLivewireThemeComponents(): void + { + $stylist = $this->app->make(Stylist::class); + + $themes = [ + $stylist->current(), + $stylist->frontend(), + $stylist->backend(), + ]; + + $keys = []; + + foreach ($themes as $theme) { + foreach ($this->themeChain($theme) as $key) { + if (! in_array($key, $keys, true)) { + $keys[] = $key; + } + } + } + + if (! in_array('common', $keys, true)) { + $keys[] = 'common'; + } + + // Register fallback themes first, selected theme last. + foreach (array_reverse($keys) as $key) { + try { + $theme = $this->app->make(Loader::class)->find($key); + } catch (\Throwable) { + continue; + } + + $root = $theme->path().'/views/livewire'; + + if (! is_dir($root)) { + continue; + } + + $iterator = new \RecursiveIteratorIterator( + new \RecursiveDirectoryIterator( + $root, + \FilesystemIterator::SKIP_DOTS + ) + ); + + foreach ($iterator as $file) { + if (! $file->isFile()) { + continue; + } + + $path = $file->getPathname(); + + if (! str_ends_with($path, '.blade.php')) { + continue; + } + + $relative = substr( + $path, + strlen($root) + 1, + -strlen('.blade.php') + ); + + $name = str_replace( + DIRECTORY_SEPARATOR, + '.', + $relative + ); + + Livewire::addComponent($name, $path); + } + } + } + + + private function registerLivewireThemeViewPath(): void + { + $stylist = $this->app->make(Stylist::class); + + $theme = $stylist->current(); + + $path = $theme->path().'/views/livewire'; + + if (is_dir($path)) { + config()->set('livewire.view_path', $path); + } + } +} diff --git a/Modules/Stylist/README.md b/Modules/Stylist/README.md new file mode 100755 index 0000000..810bf53 --- /dev/null +++ b/Modules/Stylist/README.md @@ -0,0 +1,183 @@ +# Stylist Module + +Tenant-aware styling module for Laravel 13 / nwidart Laravel Modules. + +## Theme layout + +Each theme is self-contained: + +```text +resources/themes/{theme}/ +├── theme.json +├── css/theme.css +└── views/ + ├── layouts/app.blade.php + ├── components/page-hero.blade.php + └── livewire/theme-preview.blade.php +``` + +The active tenant/company resolves to a theme key such as `default`, `mpba`, or `abbott`. + +## Rendering themed views + +Use the helper from controllers, Blade components, and Livewire components: + +```php +return stylist_view('layouts.app'); +``` + +It checks views in this order: + +```text +stylist-theme-{active-theme}::{view} +stylist-theme-{default-theme}::{view} +stylist::{view} +``` + +## Livewire + +Keep the PHP component class shared and put the template in each theme: + +```text +Livewire/ThemePreview.php +resources/themes/default/views/livewire/theme-preview.blade.php +resources/themes/mpba/views/livewire/theme-preview.blade.php +``` + +The component renders with: + +```php +return stylist_view('livewire.theme-preview', ['stats' => $this->stats]); +``` + +## Tenant assignment + +Add or use these fields on `companies`: + +```text +theme_key +brand_primary +brand_secondary +brand_accent +logo_path +favicon_path +theme_settings +``` + +Then assign: + +```php +$company->update(['theme_key' => 'mpba']); +``` + +## Publishing + +```bash +php artisan vendor:publish --tag=stylist-config +# or +php artisan stylist:publish-assets + +Themes are not published from or stored inside the module. Install them directly under `resources/themes`. +``` + +## Blade helpers + +```blade + + @themeVariables + @themeStylesheet + +``` + +## Self-contained application themes + +Application themes live in `resources/themes/{theme}` and own their runtime assets: + +```text +resources/themes/example/ +├── theme.json +├── css/theme.css +├── js/app.js +└── views/home.blade.php +``` + +Use `@themeStylesheet('css/theme.css')`, `@themeScript('js/app.js')`, or `theme_asset('images/example.svg')`. Assets are served from the selected theme directory by the `stylist.theme.asset` route; they do not need to be copied into `public/themes` or added to the global Vite inputs. + + +## Appearance and colour variants + +Themes may declare `appearances` (`light`, `dark`, `auto`) and named `accents` in `theme.json`. Include `@themeVariables` in the document `` before the theme stylesheet to prevent a flash of the wrong appearance. Add `@themeSwitcher` anywhere in a Blade layout for a ready-made runtime selector. User choices are stored in localStorage and are applied without rebuilding assets or reloading the page. + +## Theme manifest compatibility + +Stylist accepts versioned manifests while remaining compatible with older themes. New manifests should declare: + +```json +{ + "manifest_version": 1, + "key": "design-gallery", + "name": "Design Gallery" +} +``` + +`manifest_version` defaults to `1` when omitted. Unknown manifest fields are preserved and ignored by Stylist unless the current version explicitly uses them, allowing Theme Builder to add future metadata without preventing theme discovery. + +Appearance and accent features are optional. Stylist derives the internal capability flags only when the corresponding definitions exist: + +```json +{ + "appearances": ["light", "dark", "system"], + "accents": ["blue", "neutral"], + "default_appearance": "system", + "default_accent": "neutral" +} +``` + +Legacy themes with none of these fields continue to load unchanged and do not receive appearance or accent controls. + +Additional boolean capabilities may be declared explicitly: + +```json +{ + "capabilities": { + "marketplace": true + } +} +``` + +## Validate a theme + +Validate an installed theme key, unpacked theme directory, or ZIP package: + +```bash +php artisan stylist:validate design-gallery +php artisan stylist:validate resources/themes/design-gallery +php artisan stylist:validate ~/Downloads/design-gallery.zip +``` + +The command checks the manifest, required entry view, stylesheet, script, declared assets, preview and accessibility issues. It exits with a failure status when errors are found. + +## Theme inheritance and diagnostics + +Shared application views belong to the `common` theme. Child themes declare inheritance without copying those views: + +```json +{ + "name": "Dashboard", + "slug": "admin", + "extends": "common" +} +``` + +Resolution order is the active theme, each declared parent, the configured fallback, the common theme, module defaults, then Laravel's normal views. + +Use these maintenance commands: + +```bash +php artisan stylist:inspect +php artisan stylist:duplicates +php artisan stylist:doctor +php artisan stylist:create-theme customer --parent=common --name="Customer Portal" +``` + +`stylist:duplicates` fails when the same relative Blade task path exists in more than one theme. Add a child view only when it is a deliberate replacement; this application enforces one authoritative view per task. diff --git a/Modules/Stylist/Resources/assets/css/app.css b/Modules/Stylist/Resources/assets/css/app.css new file mode 100755 index 0000000..32b4fbc --- /dev/null +++ b/Modules/Stylist/Resources/assets/css/app.css @@ -0,0 +1,5 @@ +[data-theme] { + --brand-primary: var(--brand-primary, #2563eb); + --brand-secondary: var(--brand-secondary, #0f172a); + --brand-accent: var(--brand-accent, #22c55e); +} diff --git a/Modules/Stylist/Resources/assets/js/app.js b/Modules/Stylist/Resources/assets/js/app.js new file mode 100755 index 0000000..f65cc9b --- /dev/null +++ b/Modules/Stylist/Resources/assets/js/app.js @@ -0,0 +1 @@ +import '../css/app.css'; diff --git a/Modules/Stylist/Resources/lang/en/messages.php b/Modules/Stylist/Resources/lang/en/messages.php new file mode 100755 index 0000000..56494b1 --- /dev/null +++ b/Modules/Stylist/Resources/lang/en/messages.php @@ -0,0 +1,5 @@ + 'Stylist', +]; diff --git a/Modules/Stylist/Resources/views/.gitkeep b/Modules/Stylist/Resources/views/.gitkeep new file mode 100755 index 0000000..e69de29 diff --git a/Modules/Stylist/Routes/assets.php b/Modules/Stylist/Routes/assets.php new file mode 100755 index 0000000..9662db6 --- /dev/null +++ b/Modules/Stylist/Routes/assets.php @@ -0,0 +1,16 @@ +where('theme', '[A-Za-z0-9_-]+') + ->where('path', '.*') + ->name('stylist.theme.asset'); diff --git a/Modules/Stylist/Routes/web.php b/Modules/Stylist/Routes/web.php new file mode 100755 index 0000000..c39ec85 --- /dev/null +++ b/Modules/Stylist/Routes/web.php @@ -0,0 +1,17 @@ +group(function (): void { + Route::get('/', StylistController::class)->name('index'); + Route::post('/install', [ThemeManagementController::class, 'install'])->name('install'); + Route::put('/{theme}/settings', [ThemeManagementController::class, 'settings'])->name('settings'); + Route::post('/{theme}/activate', [ThemeManagementController::class, 'activate'])->name('activate'); + Route::get('/{theme}/preview', [ThemeManagementController::class, 'preview'])->name('preview'); + Route::delete('/{theme}', [ThemeManagementController::class, 'uninstall'])->name('uninstall'); + Route::get('/{theme}/export', [ThemeManagementController::class, 'export'])->name('export'); + Route::post('/{theme}/optimize', [ThemeManagementController::class, 'optimize'])->name('optimize'); + Route::get('/{theme}/accessibility', [ThemeManagementController::class, 'validateTheme'])->name('accessibility'); +}); diff --git a/Modules/Stylist/Services/FrontendContent.php b/Modules/Stylist/Services/FrontendContent.php new file mode 100755 index 0000000..e57aac5 --- /dev/null +++ b/Modules/Stylist/Services/FrontendContent.php @@ -0,0 +1,102 @@ + */ + public function homepage(array $settings): array + { + // Always provide source collections. Visibility is owned by page placements + // in the composable content system; the legacy theme still applies its + // existing show_* settings while no composition has been installed. + return [ + 'pricingPlans' => $this->pricingPlans(), + 'testimonials' => $this->testimonials(), + 'faqs' => $this->faqs(), + 'teamMembers' => $this->team(), + 'latestBlogPosts' => $this->blogPosts(), + 'latestNewsArticles' => $this->newsArticles(), + ]; + } + + private function pricingPlans(): Collection + { + return $this->query('products', fn () => Product::query() + ->where('is_active', true) + ->where('product_type', 'plan') + ->orderBy('sort_order') + ->orderBy('id') + ->limit(6) + ->get()); + } + + private function testimonials(): Collection + { + return $this->query('testimonials', fn () => Testimonial::query() + ->where('enabled', true) + ->latest('id') + ->limit(6) + ->get()); + } + + private function faqs(): Collection + { + return $this->query('faqs', fn () => Faq::query() + ->where('enabled', true) + ->orderBy('sort_order') + ->limit(12) + ->get()); + } + + private function team(): Collection + { + return $this->query('team_members', fn () => TeamMember::query() + ->where('enabled', true) + ->orderBy('sort_order') + ->limit(8) + ->get()); + } + + private function blogPosts(): Collection + { + return $this->query('blog_posts', fn () => Blog::query() + ->published() + ->latest('published_at') + ->limit(3) + ->get()); + } + + private function newsArticles(): Collection + { + return $this->query('news_articles', fn () => News::query() + ->published() + ->latest('published_at') + ->limit(3) + ->get()); + } + + private function query(string $table, callable $callback): Collection + { + try { + return Schema::hasTable($table) ? $callback() : collect(); + } catch (Throwable) { + return collect(); + } + } + + private function enabled(array $settings, string $key, bool $default): bool + { + return filter_var($settings[$key] ?? $default, FILTER_VALIDATE_BOOL); + } +} diff --git a/Modules/Stylist/Services/TenantThemeResolver.php b/Modules/Stylist/Services/TenantThemeResolver.php new file mode 100755 index 0000000..8b03eb7 --- /dev/null +++ b/Modules/Stylist/Services/TenantThemeResolver.php @@ -0,0 +1,96 @@ +context(); + $column = config('stylist.tenant_theme_column', 'theme_key'); + $user = Auth::user(); + $company = $user?->company ?? null; + + /* + * The legacy company theme_key is a public-facing tenant theme. + * It must never replace the application's backend/admin theme. + */ + if ($context === 'frontend' && $company && filled($company->{$column} ?? null)) { + return (string) $company->{$column}; + } + + $settingKey = $context === 'frontend' ? 'frontend_theme' : 'backend_theme'; + $default = $context === 'frontend' + ? config('stylist.default_frontend_theme', 'frontend') + : config('stylist.default_backend_theme', config('stylist.default_theme', 'backend')); + + try { + return (string) SiteSetting::valueOf($settingKey, $default); + } catch (\Throwable) { + return (string) $default; + } + } + + public function context(): string + { + if (app()->runningInConsole()) { + return 'backend'; + } + + $request = request(); + + return $request->is( + 'dashboard', + 'dashboard/*', + 'settings', + 'settings/*', + 'admin', + 'admin/*', + 'helpdesk', + 'helpdesk/*', + 'login', + 'register', + 'forgot-password', + 'reset-password', + 'reset-password/*', + 'confirm-password', + 'user/confirm-password', + 'two-factor-challenge', + 'verify-email', + 'verify-email/*', + 'email/verify', + 'email/verify/*', + ) || $request->routeIs( + 'dashboard', + 'profile.edit', + 'appearance.edit', + 'security.edit', + 'admin.*', + 'helpdesk.*', + 'login', + 'register', + 'password.*', + 'verification.*', + 'two-factor.*', + ) + ? 'backend' + : 'frontend'; + } + + public function variables(): array + { + $variables = config('stylist.fallback_variables', []); + $company = Auth::user()?->company ?? null; + + foreach (config('stylist.tenant_brand_columns', []) as $column => $variable) { + if ($company && filled($company->{$column} ?? null)) { + $variables[$variable] = (string) $company->{$column}; + } + } + + return $variables; + } +} diff --git a/Modules/Stylist/Services/ThemeAccessibilityValidator.php b/Modules/Stylist/Services/ThemeAccessibilityValidator.php new file mode 100755 index 0000000..31154fb --- /dev/null +++ b/Modules/Stylist/Services/ThemeAccessibilityValidator.php @@ -0,0 +1,72 @@ + */ + public function validate(Theme $theme): array + { + $issues = []; + + foreach ($this->files->allFiles($theme->path().'/views') as $file) { + $content = $file->getContents(); + $relative = $file->getRelativePathname(); + + $missingAlt = 0; + if (preg_match_all('/])*>/is', $content, $images)) { + foreach ($images[0] as $image) { + if (! preg_match('/\\balt\\s*=\\s*(?:"[^"]*"|\'[^\']*\')/is', $image)) { + $missingAlt++; + } + } + } + + if ($missingAlt > 0) { + $issues[] = [ + 'severity' => 'error', + 'message' => $missingAlt.' image(s) missing alt text.', + 'file' => $relative, + ]; + } + + if (preg_match('/]*\\blang=)/i', $content)) { + $issues[] = [ + 'severity' => 'warning', + 'message' => 'HTML element is missing a lang attribute.', + 'file' => $relative, + ]; + } + + $unnamedButtons = 0; + if (preg_match_all('/])*)>(.*?)<\\/button>/is', $content, $buttons, PREG_SET_ORDER)) { + foreach ($buttons as $button) { + $attributes = $button[1]; + $body = $button[2]; + + $hasAccessibleAttribute = preg_match('/\\b(?:aria-label|aria-labelledby|title)\\s*=\\s*(?:"[^"]+"|\'[^\']+\')/is', $attributes) === 1; + $visibleText = trim(html_entity_decode(strip_tags($body), ENT_QUOTES | ENT_HTML5)); + + if (! $hasAccessibleAttribute && $visibleText === '') { + $unnamedButtons++; + } + } + } + + if ($unnamedButtons > 0) { + $issues[] = [ + 'severity' => 'warning', + 'message' => $unnamedButtons.' button(s) may lack an accessible name.', + 'file' => $relative, + ]; + } + } + + return $issues; + } +} diff --git a/Modules/Stylist/Services/ThemeOptimizer.php b/Modules/Stylist/Services/ThemeOptimizer.php new file mode 100755 index 0000000..def6927 --- /dev/null +++ b/Modules/Stylist/Services/ThemeOptimizer.php @@ -0,0 +1,57 @@ + 0, 'js' => 0, 'images' => 0]; + foreach (['css' => 'css', 'js' => 'js'] as $type => $folder) { + $directory = $theme->path().'/'.$folder; + if (! $this->files->isDirectory($directory)) { + continue; + } + foreach ($this->files->files($directory) as $file) { + if ($file->getExtension() !== $type || str_ends_with($file->getFilename(), '.min.'.$type)) { + continue; + } + $content = $file->getContents(); + $content = preg_replace('!/\*.*?\*/!s', '', $content) ?? $content; + $content = preg_replace('/\s+/', ' ', $content) ?? $content; + $content = preg_replace('/\s*([{}:;,>])\s*/', '$1', $content) ?? $content; + $target = $file->getPath().'/'.$file->getBasename('.'.$type).'.min.'.$type; + $this->files->put($target, trim($content)); + $result[$type]++; + } + } + if (function_exists('imagewebp')) { + foreach (['images', 'icons'] as $folder) { + $directory = $theme->path().'/'.$folder; + if (! $this->files->isDirectory($directory)) { + continue; + } + foreach ($this->files->files($directory) as $file) { + $ext = strtolower($file->getExtension()); + if (! in_array($ext, ['jpg', 'jpeg', 'png'], true)) { + continue; + } + $image = $ext === 'png' ? @imagecreatefrompng($file->getPathname()) : @imagecreatefromjpeg($file->getPathname()); + if ($image) { + imagepalettetotruecolor($image); + imagewebp($image, $file->getPath().'/'.$file->getBasename('.'.$ext).'.webp', 82); + imagedestroy($image); + $result['images']++; + } + } + } + } + + return $result; + } +} diff --git a/Modules/Stylist/Services/ThemePackageManager.php b/Modules/Stylist/Services/ThemePackageManager.php new file mode 100755 index 0000000..75dcbf5 --- /dev/null +++ b/Modules/Stylist/Services/ThemePackageManager.php @@ -0,0 +1,98 @@ +getClientOriginalExtension()) !== 'zip') { + throw new RuntimeException('Only ZIP theme packages may be installed.'); + } + $temporary = storage_path('app/stylist/install-'.bin2hex(random_bytes(8))); + $this->files->ensureDirectoryExists($temporary); + $zip = new ZipArchive; + if ($zip->open($upload->getRealPath()) !== true) { + throw new RuntimeException('The uploaded ZIP could not be opened.'); + } + for ($i = 0; $i < $zip->numFiles; $i++) { + $name = $zip->getNameIndex($i); + if (str_contains($name, '..') || str_starts_with($name, '/') || str_contains($name, "\0")) { + $zip->close(); + throw new RuntimeException('The ZIP contains an unsafe path.'); + } + } + $zip->extractTo($temporary); + $zip->close(); + $manifest = collect($this->files->allFiles($temporary))->first(fn ($file) => $file->getFilename() === 'theme.json'); + if (! $manifest) { + $this->files->deleteDirectory($temporary); + throw new RuntimeException('The package does not contain theme.json.'); + } + $source = $manifest->getPath(); + $theme = $this->loader->fromPath($source); + if ($theme->parent() && ! $this->loader->all()->has($theme->parent())) { + throw new RuntimeException('Parent theme '.$theme->parent().' is not installed.'); + } + $issues = $this->validator->validate($theme); + if (collect($issues)->contains('severity', 'error')) { + throw new RuntimeException('Accessibility validation failed: '.collect($issues)->where('severity', 'error')->pluck('message')->implode(' ')); + } + $target = rtrim((string) config('stylist.themes_path'), '/').'/'.$theme->key(); + if ($this->files->isDirectory($target)) { + $this->files->deleteDirectory($target); + } + $this->files->copyDirectory($source, $target); + $this->files->deleteDirectory($temporary); + $this->loader->flush(); + + return $this->loader->find($theme->key()); + } + + public function uninstall(Theme $theme): void + { + $active = $theme->type() === 'frontend' + ? $this->settings->get('frontend_theme', config('stylist.default_frontend_theme'), 'site') + : $this->settings->get('backend_theme', config('stylist.default_backend_theme'), 'site'); + if ($active === $theme->key()) { + throw new RuntimeException('The active theme cannot be uninstalled. Activate another theme first.'); + } + $projectRoot = realpath((string) config('stylist.themes_path')); + $themePath = realpath($theme->path()); + if (! $projectRoot || ! $themePath || ! str_starts_with($themePath, $projectRoot.DIRECTORY_SEPARATOR)) { + throw new RuntimeException('Bundled themes cannot be uninstalled.'); + } + if (collect($this->loader->all())->contains(fn (Theme $candidate) => $candidate->parent() === $theme->key())) { + throw new RuntimeException('This theme has installed child themes.'); + } + $this->files->deleteDirectory($themePath); + $this->loader->flush(); + } + + public function export(Theme $theme): string + { + $directory = storage_path('app/stylist/exports'); + $this->files->ensureDirectoryExists($directory); + $path = $directory.'/'.$theme->key().'-'.$theme->version().'.zip'; + $zip = new ZipArchive; + if ($zip->open($path, ZipArchive::CREATE | ZipArchive::OVERWRITE) !== true) { + throw new RuntimeException('Unable to create theme archive.'); + } + foreach ($this->files->allFiles($theme->path()) as $file) { + $zip->addFile($file->getPathname(), $theme->key().'/'.$file->getRelativePathname()); + } + $zip->close(); + + return $path; + } +} diff --git a/Modules/Stylist/Services/ThemeSettings.php b/Modules/Stylist/Services/ThemeSettings.php new file mode 100755 index 0000000..0a1f253 --- /dev/null +++ b/Modules/Stylist/Services/ThemeSettings.php @@ -0,0 +1,97 @@ +stored($theme); + $defaults = collect($theme->settingsSchema()) + ->mapWithKeys(fn ($definition, $key) => [$key => is_array($definition) ? ($definition['default'] ?? null) : $definition]) + ->all(); + + return array_replace($defaults, array_diff_key((array) ($stored?->settings ?? []), array_flip([self::APPEARANCE_KEY, self::ACCENT_KEY]))); + } + + public function variant(Theme $theme): string + { + $variant = (string) ($this->stored($theme)?->variant ?? array_key_first($theme->variants()) ?? 'light'); + + return array_key_exists($variant, $theme->variants()) ? $variant : (array_key_first($theme->variants()) ?? 'light'); + } + + public function appearance(Theme $theme): string + { + $stored = (array) ($this->stored($theme)?->settings ?? []); + $allowed = array_keys($theme->appearances()); + if ($allowed === []) { + return ''; + } + $appearance = (string) ($stored[self::APPEARANCE_KEY] ?? $theme->defaultAppearance()); + + return in_array($appearance, $allowed, true) ? $appearance : (string) array_key_first($theme->appearances()); + } + + public function accent(Theme $theme): string + { + $stored = (array) ($this->stored($theme)?->settings ?? []); + $allowed = array_keys($theme->accents()); + if ($allowed === []) { + return ''; + } + $accent = (string) ($stored[self::ACCENT_KEY] ?? $theme->defaultAccent()); + + return in_array($accent, $allowed, true) ? $accent : (string) array_key_first($theme->accents()); + } + + public function save(Theme $theme, array $settings, string $variant, ?string $appearance = null, ?string $accent = null): ThemeSetting + { + $settings = array_intersect_key($settings, array_flip(array_keys($theme->settingsSchema()))); + $existing = (array) ($this->stored($theme)?->settings ?? []); + + $allowedAppearances = array_keys($theme->appearances()); + if ($allowedAppearances !== []) { + $appearance ??= (string) ($existing[self::APPEARANCE_KEY] ?? $theme->defaultAppearance()); + if (! in_array($appearance, $allowedAppearances, true)) { + $appearance = (string) array_key_first($theme->appearances()); + } + $settings[self::APPEARANCE_KEY] = $appearance; + } + + $allowedAccents = array_keys($theme->accents()); + if ($allowedAccents !== []) { + $accent ??= (string) ($existing[self::ACCENT_KEY] ?? $theme->defaultAccent()); + if (! in_array($accent, $allowedAccents, true)) { + $accent = (string) array_key_first($theme->accents()); + } + $settings[self::ACCENT_KEY] = $accent; + } + + if ($theme->variants() && ! array_key_exists($variant, $theme->variants())) { + $variant = array_key_first($theme->variants()); + } + + return ThemeSetting::query()->updateOrCreate( + ['theme_key' => $theme->key()], + ['settings' => $settings, 'variant' => $variant] + ); + } + + private function stored(Theme $theme): ?ThemeSetting + { + try { + return ThemeSetting::query()->where('theme_key', $theme->key())->first(); + } catch (QueryException) { + return null; + } + } +} diff --git a/Modules/Stylist/Services/ThemeValidator.php b/Modules/Stylist/Services/ThemeValidator.php new file mode 100755 index 0000000..472397c --- /dev/null +++ b/Modules/Stylist/Services/ThemeValidator.php @@ -0,0 +1,74 @@ + */ + public function validatePath(string $path): array + { + $theme = $this->loader->fromPath($path); + + return $this->validate($theme); + } + + /** @return array */ + public function validate(Theme $theme): array + { + $issues = []; + $entryView = 'views/'.str_replace('.', '/', $theme->entryView()).'.blade.php'; + + if (! $theme->has($entryView)) { + $issues[] = [ + 'severity' => 'error', + 'message' => "Entry view [{$theme->entryView()}] was not found.", + 'file' => $entryView, + ]; + } + + foreach (['stylesheet' => $theme->stylesheet(), 'script' => $theme->script()] as $label => $relativePath) { + if ($relativePath !== '' && ! $theme->has($relativePath)) { + $issues[] = [ + 'severity' => 'error', + 'message' => ucfirst($label)." file [{$relativePath}] was not found.", + 'file' => $relativePath, + ]; + } + } + + $preview = $theme->preview(); + if ($preview !== null && ! $theme->has($preview)) { + $issues[] = [ + 'severity' => 'warning', + 'message' => "Preview file [{$preview}] was not found.", + 'file' => $preview, + ]; + } + + foreach ((array) ($theme->meta()['assets'] ?? []) as $asset) { + if (! is_string($asset) || $asset === '') { + continue; + } + + if (! $theme->has($asset)) { + $issues[] = [ + 'severity' => 'warning', + 'message' => "Declared asset [{$asset}] was not found.", + 'file' => $asset, + ]; + } + } + + return array_merge($issues, $this->accessibility->validate($theme)); + } +} diff --git a/Modules/Stylist/Support/FrontendNavigation.php b/Modules/Stylist/Support/FrontendNavigation.php new file mode 100755 index 0000000..c1dac8e --- /dev/null +++ b/Modules/Stylist/Support/FrontendNavigation.php @@ -0,0 +1,83 @@ +> */ + public function primary(): array + { + return $this->location('primary', $this->fallbackPrimary()); + } + + /** @return array> */ + public function footer(): array + { + return $this->location('footer', $this->fallbackPrimary()); + } + + /** @param array> $fallback + * @return array> + */ + public function location(string $location, array $fallback = []): array + { + try { + if (! Schema::hasTable('menus')) { + return $fallback; + } + + $menu = Menu::query()->where('enabled', true)->where('location', $location)->first(); + if (! $menu || ! is_array($menu->items)) { + return $fallback; + } + + $items = $this->normaliseItems($menu->items); + + return $items === [] ? $fallback : $items; + } catch (Throwable) { + return $fallback; + } + } + + /** @param array $items + * @return array> + */ + private function normaliseItems(array $items): array + { + return collect($items) + ->filter(fn (mixed $item): bool => is_array($item) && filter_var($item['enabled'] ?? true, FILTER_VALIDATE_BOOL)) + ->map(function (array $item): ?array { + $label = trim((string) ($item['label'] ?? '')); + $url = trim((string) ($item['url'] ?? '')); + if ($label === '' || $url === '') { + return null; + } + + return [ + 'label' => $label, + 'url' => $url, + 'target' => ($item['target'] ?? '') === '_blank' ? '_blank' : null, + 'children' => $this->normaliseItems((array) ($item['children'] ?? [])), + ]; + })->filter()->values()->all(); + } + + /** @return array> */ + private function fallbackPrimary(): array + { + $items = [['label' => 'Home', 'url' => url('/'), 'target' => null, 'children' => []]]; + if (Route::has('blog.public.index')) { + $items[] = ['label' => 'Blog', 'url' => route('blog.public.index'), 'target' => null, 'children' => []]; + } + if (Route::has('news.public.index')) { + $items[] = ['label' => 'News', 'url' => route('news.public.index'), 'target' => null, 'children' => []]; + } + + return $items; + } +} diff --git a/Modules/Stylist/Support/ModuleInfo.php b/Modules/Stylist/Support/ModuleInfo.php new file mode 100755 index 0000000..6c2f429 --- /dev/null +++ b/Modules/Stylist/Support/ModuleInfo.php @@ -0,0 +1,16 @@ +assertTrue(view()->exists('stylist-module-theme-backend::dashboard')); + $this->assertTrue(view()->exists('stylist-theme-backend::dashboard')); + } +} diff --git a/Modules/Stylist/Tests/Feature/StylistModuleTest.php b/Modules/Stylist/Tests/Feature/StylistModuleTest.php new file mode 100755 index 0000000..60cd052 --- /dev/null +++ b/Modules/Stylist/Tests/Feature/StylistModuleTest.php @@ -0,0 +1,21 @@ +assertInstanceOf(Stylist::class, app(Stylist::class)); + } + + public function test_default_theme_resolves(): void + { + config(['stylist.default_theme' => 'backend']); + + $this->assertSame('backend', app(Stylist::class)->current()->key()); + } +} diff --git a/Modules/Stylist/Tests/Feature/TenantThemeResolverTest.php b/Modules/Stylist/Tests/Feature/TenantThemeResolverTest.php new file mode 100755 index 0000000..84d8707 --- /dev/null +++ b/Modules/Stylist/Tests/Feature/TenantThemeResolverTest.php @@ -0,0 +1,52 @@ +app->instance('request', $request); + + $this->assertSame('backend', app(TenantThemeResolver::class)->context()); + } + + public function test_settings_request_uses_backend_context(): void + { + $request = Request::create('/settings/profile', 'GET'); + $this->app->instance('request', $request); + + $this->assertSame('backend', app(TenantThemeResolver::class)->context()); + } + + public function test_admin_request_uses_backend_context(): void + { + $request = Request::create('/admin', 'GET'); + $this->app->instance('request', $request); + + $this->assertSame('backend', app(TenantThemeResolver::class)->context()); + } + + public function test_admin_helpdesk_request_uses_backend_context(): void + { + $request = Request::create('/admin/helpdesk', 'GET'); + $this->app->instance('request', $request); + + $this->assertSame('backend', app(TenantThemeResolver::class)->context()); + } + + public function test_authentication_requests_use_backend_context(): void + { + foreach (['/login', '/register', '/forgot-password', '/reset-password/token', '/user/confirm-password', '/two-factor-challenge', '/email/verify'] as $uri) { + $request = Request::create($uri, 'GET'); + $this->app->instance('request', $request); + + $this->assertSame('backend', app(TenantThemeResolver::class)->context(), $uri); + } + } +} diff --git a/Modules/Stylist/Tests/Feature/ThemeAccessibilityValidatorTest.php b/Modules/Stylist/Tests/Feature/ThemeAccessibilityValidatorTest.php new file mode 100755 index 0000000..ed2c408 --- /dev/null +++ b/Modules/Stylist/Tests/Feature/ThemeAccessibilityValidatorTest.php @@ -0,0 +1,93 @@ +themePath = storage_path('framework/testing/stylist-accessibility-'.uniqid()); + mkdir($this->themePath.'/views', 0777, true); + } + + protected function tearDown(): void + { + app(Filesystem::class)->deleteDirectory($this->themePath); + parent::tearDown(); + } + + public function test_blade_object_access_does_not_break_image_alt_detection(): void + { + file_put_contents( + $this->themePath.'/views/page.blade.php', + '{{ $post->title }}' + ); + + $this->assertSame([], $this->validate()); + } + + public function test_image_without_alt_is_reported(): void + { + file_put_contents( + $this->themePath.'/views/page.blade.php', + '' + ); + + $issues = $this->validate(); + + $this->assertCount(1, $issues); + $this->assertSame('error', $issues[0]['severity']); + $this->assertSame('1 image(s) missing alt text.', $issues[0]['message']); + } + + public function test_aria_labelled_icon_button_is_not_reported(): void + { + file_put_contents( + $this->themePath.'/views/page.blade.php', + '' + ); + + $this->assertSame([], $this->validate()); + } + + public function test_button_with_visible_text_is_not_reported(): void + { + file_put_contents( + $this->themePath.'/views/page.blade.php', + '' + ); + + $this->assertSame([], $this->validate()); + } + + public function test_empty_unlabelled_button_is_reported(): void + { + file_put_contents( + $this->themePath.'/views/page.blade.php', + '' + ); + + $issues = $this->validate(); + + $this->assertCount(1, $issues); + $this->assertSame('warning', $issues[0]['severity']); + $this->assertSame('1 button(s) may lack an accessible name.', $issues[0]['message']); + } + + /** @return array */ + private function validate(): array + { + $theme = new Theme('test', 'Test', $this->themePath); + + return app(ThemeAccessibilityValidator::class)->validate($theme); + } +} diff --git a/Modules/Stylist/Tests/Feature/ThemeAssetControllerTest.php b/Modules/Stylist/Tests/Feature/ThemeAssetControllerTest.php new file mode 100755 index 0000000..7940ab4 --- /dev/null +++ b/Modules/Stylist/Tests/Feature/ThemeAssetControllerTest.php @@ -0,0 +1,41 @@ + resource_path('themes')]); + app(Loader::class)->flush(); + + $this->get(route('stylist.theme.asset', [ + 'theme' => 'frontend', + 'path' => 'css/theme.css', + ]))->assertOk()->assertHeader('X-Content-Type-Options', 'nosniff'); + } + + public function test_asset_url_uses_public_themes_path(): void + { + $url = route('stylist.theme.asset', [ + 'theme' => 'frontend', + 'path' => 'images/example.jpg', + ], false); + + $this->assertSame('/themes/frontend/images/example.jpg', $url); + } + + public function test_non_asset_theme_files_are_not_served(): void + { + config(['stylist.themes_path' => resource_path('themes')]); + app(Loader::class)->flush(); + + $this->get(route('stylist.theme.asset', [ + 'theme' => 'frontend', + 'path' => 'views/home.blade.php', + ]))->assertNotFound(); + } +} diff --git a/Modules/Stylist/Tests/Feature/ThemeHtmlBuilderTest.php b/Modules/Stylist/Tests/Feature/ThemeHtmlBuilderTest.php new file mode 100755 index 0000000..04bcbb1 --- /dev/null +++ b/Modules/Stylist/Tests/Feature/ThemeHtmlBuilderTest.php @@ -0,0 +1,38 @@ + '#111827']); + + $html = app(ThemeHtmlBuilder::class)->variables()->toHtml(); + + $this->assertStringContainsString('--brand-primary: #111827;', $html); + } + + public function test_appearance_does_not_overwrite_theme_identity(): void + { + $html = app(ThemeHtmlBuilder::class)->variables()->toHtml(); + + $this->assertStringContainsString('d.dataset.theme=k', $html); + $this->assertStringContainsString('d.dataset.appearance=dark?', $html); + $this->assertStringNotContainsString("d.dataset.theme=dark?'dark':'light'", $html); + } + + public function test_appearance_variables_use_data_appearance_selector(): void + { + $html = app(ThemeHtmlBuilder::class)->variables()->toHtml(); + + if (str_contains($html, 'data-appearance')) { + $this->assertStringNotContainsString(':root[data-theme="dark"]', $html); + } else { + $this->addToAssertionCount(1); + } + } +} diff --git a/Modules/Stylist/Tests/Feature/ThemeInheritanceTest.php b/Modules/Stylist/Tests/Feature/ThemeInheritanceTest.php new file mode 100755 index 0000000..495f581 --- /dev/null +++ b/Modules/Stylist/Tests/Feature/ThemeInheritanceTest.php @@ -0,0 +1,95 @@ +themesPath = storage_path('framework/testing/stylist-inheritance-'.uniqid()); + mkdir($this->themesPath, 0777, true); + config([ + 'stylist.themes_path' => $this->themesPath, + 'stylist.default_theme' => 'common', + ]); + app(Loader::class)->flush(); + } + + protected function tearDown(): void + { + app(Filesystem::class)->deleteDirectory($this->themesPath); + parent::tearDown(); + } + + public function test_child_theme_resolves_views_through_parent_without_copying_them(): void + { + $this->theme('common', null, ['components/layouts/app.blade.php' => '
{{ $slot }}
']); + $this->theme('admin', 'common', ['dashboard.blade.php' => '

Dashboard

']); + app(Loader::class)->flush(); + + $candidates = app(ThemeViewResolver::class)->candidatesForTheme('admin', 'components.layouts.app'); + + $this->assertSame('stylist-theme-admin::components.layouts.app', $candidates[0]); + $this->assertContains('stylist-theme-common::components.layouts.app', $candidates); + $this->assertLessThan( + array_search('stylist-theme-common::components.layouts.app', $candidates, true), + array_search('stylist-theme-admin::components.layouts.app', $candidates, true), + ); + } + + public function test_parent_alias_is_normalised_to_extends(): void + { + $path = $this->themesPath.'/child'; + mkdir($path, 0777, true); + file_put_contents($path.'/theme.json', json_encode([ + 'name' => 'Child', + 'parent' => 'common', + ])); + + $theme = app(Loader::class)->fromPath($path); + + $this->assertSame('common', $theme->parent()); + } + + public function test_duplicate_view_ownership_is_reported(): void + { + $this->theme('common', null, ['livewire/auth/login.blade.php' => 'common']); + $this->theme('admin', 'common', ['livewire/auth/login.blade.php' => 'admin']); + app(Loader::class)->flush(); + + $duplicates = app(ThemeInspector::class)->duplicateViews(); + + $this->assertArrayHasKey('livewire/auth/login.blade.php', $duplicates); + $this->assertEqualsCanonicalizing(['common', 'admin'], array_column($duplicates['livewire/auth/login.blade.php'], 'theme')); + } + + /** @param array $views */ + private function theme(string $key, ?string $parent, array $views): void + { + $path = $this->themesPath.'/'.$key; + mkdir($path.'/views', 0777, true); + file_put_contents($path.'/theme.json', json_encode(array_filter([ + 'name' => ucfirst($key), + 'slug' => $key, + 'extends' => $parent, + ], fn ($value) => $value !== null))); + + foreach ($views as $relative => $contents) { + $file = $path.'/views/'.$relative; + if (! is_dir(dirname($file))) { + mkdir(dirname($file), 0777, true); + } + file_put_contents($file, $contents); + } + } +} diff --git a/Modules/Stylist/Tests/Feature/ThemeManifestTest.php b/Modules/Stylist/Tests/Feature/ThemeManifestTest.php new file mode 100755 index 0000000..7bde34a --- /dev/null +++ b/Modules/Stylist/Tests/Feature/ThemeManifestTest.php @@ -0,0 +1,166 @@ +themesPath = storage_path('framework/testing/stylist-themes-'.uniqid()); + mkdir($this->themesPath, 0777, true); + config(['stylist.themes_path' => $this->themesPath]); + app(Loader::class)->flush(); + } + + protected function tearDown(): void + { + app(Filesystem::class)->deleteDirectory($this->themesPath); + parent::tearDown(); + } + + public function test_bundled_default_themes_have_valid_manifests(): void + { + foreach (['backend', 'frontend'] as $key) { + $theme = app(Loader::class)->fromPath(resource_path("themes/{$key}")); + + $this->assertSame($key, $theme->key()); + } + } + + public function test_manifest_is_normalised(): void + { + $path = $this->themesPath.'/sample'; + mkdir($path.'/css', 0777, true); + file_put_contents($path.'/theme.json', json_encode(['name' => 'Sample'])); + file_put_contents($path.'/css/theme.css', 'body{}'); + + $theme = app(Loader::class)->fromPath($path); + + $this->assertSame('sample', $theme->key()); + $this->assertSame('css/theme.css', $theme->stylesheet()); + $this->assertSame('js/app.js', $theme->script()); + $this->assertSame('home', $theme->entryView()); + } + + public function test_unsafe_manifest_path_is_rejected(): void + { + $path = $this->themesPath.'/unsafe'; + mkdir($path, 0777, true); + file_put_contents($path.'/theme.json', json_encode([ + 'name' => 'Unsafe', + 'stylesheet' => '../secret.css', + ])); + + $this->expectException(InvalidThemeManifestException::class); + app(Loader::class)->fromPath($path); + } + + public function test_phase_one_manifest_optional_capabilities_are_normalised(): void + { + $path = $this->themesPath.'/design-gallery'; + mkdir($path.'/css', 0777, true); + mkdir($path.'/js', 0777, true); + file_put_contents($path.'/theme.json', json_encode([ + 'key' => 'design-gallery', + 'name' => 'Design Gallery', + 'stylesheet' => 'css/app.css', + 'script' => 'js/app.js', + 'appearances' => ['light', 'dark', 'system'], + 'accents' => ['blue', 'emerald', 'neutral'], + 'default_appearance' => 'system', + 'default_accent' => 'neutral', + // Phase 1 incorrectly duplicated accents here; Stylist must not + // reject the whole theme because of that compact legacy list. + 'variants' => ['blue', 'emerald', 'neutral'], + ])); + file_put_contents($path.'/css/app.css', 'body{}'); + file_put_contents($path.'/js/app.js', ''); + + $theme = app(Loader::class)->fromPath($path); + + $this->assertSame(['light', 'dark', 'system'], array_keys($theme->appearances())); + $this->assertSame(['blue', 'emerald', 'neutral'], array_keys($theme->accents())); + $this->assertSame([], $theme->variants()); + $this->assertSame('system', $theme->defaultAppearance()); + $this->assertSame('neutral', $theme->defaultAccent()); + } + + public function test_legacy_manifest_does_not_gain_appearance_or_accent_capabilities(): void + { + $path = $this->themesPath.'/legacy'; + mkdir($path.'/css', 0777, true); + file_put_contents($path.'/theme.json', json_encode(['name' => 'Legacy'])); + file_put_contents($path.'/css/theme.css', 'body{}'); + + $theme = app(Loader::class)->fromPath($path); + + $this->assertSame([], $theme->appearances()); + $this->assertSame([], $theme->accents()); + $this->assertSame('', $theme->defaultAppearance()); + $this->assertSame('', $theme->defaultAccent()); + } + + public function test_defaults_must_reference_declared_optional_capabilities(): void + { + $path = $this->themesPath.'/invalid-default'; + mkdir($path, 0777, true); + file_put_contents($path.'/theme.json', json_encode([ + 'name' => 'Invalid Default', + 'appearances' => ['light', 'dark'], + 'default_appearance' => 'system', + ])); + + $this->expectException(InvalidThemeManifestException::class); + app(Loader::class)->fromPath($path); + } + + public function test_manifest_version_and_capabilities_are_normalised(): void + { + $path = $this->themesPath.'/capable'; + mkdir($path.'/css', 0777, true); + mkdir($path.'/js', 0777, true); + mkdir($path.'/views', 0777, true); + file_put_contents($path.'/theme.json', json_encode([ + 'manifest_version' => 1, + 'name' => 'Capable', + 'appearances' => ['light', 'dark'], + 'accents' => ['blue'], + 'capabilities' => ['marketplace' => true], + ])); + file_put_contents($path.'/css/theme.css', 'body{}'); + file_put_contents($path.'/js/app.js', ''); + file_put_contents($path.'/views/home.blade.php', '
Capable
'); + + $theme = app(Loader::class)->fromPath($path); + + $this->assertSame(1, $theme->manifestVersion()); + $this->assertTrue($theme->hasCapability('appearances')); + $this->assertTrue($theme->hasCapability('accents')); + $this->assertTrue($theme->hasCapability('marketplace')); + $this->assertFalse($theme->hasCapability('preview')); + } + + public function test_unknown_manifest_fields_are_preserved_without_preventing_loading(): void + { + $path = $this->themesPath.'/future'; + mkdir($path.'/css', 0777, true); + file_put_contents($path.'/theme.json', json_encode([ + 'name' => 'Future', + 'future_builder_metadata' => ['anything' => true], + ])); + file_put_contents($path.'/css/theme.css', 'body{}'); + + $theme = app(Loader::class)->fromPath($path); + + $this->assertSame(['anything' => true], $theme->meta()['future_builder_metadata']); + } +} diff --git a/Modules/Stylist/Tests/Feature/ThemePackageRoundTripTest.php b/Modules/Stylist/Tests/Feature/ThemePackageRoundTripTest.php new file mode 100755 index 0000000..633b3dc --- /dev/null +++ b/Modules/Stylist/Tests/Feature/ThemePackageRoundTripTest.php @@ -0,0 +1,79 @@ +themesPath = storage_path('framework/testing/stylist-installed-'.uniqid()); + $this->workspace = storage_path('framework/testing/stylist-package-'.uniqid()); + mkdir($this->themesPath, 0777, true); + mkdir($this->workspace, 0777, true); + config(['stylist.themes_path' => $this->themesPath]); + app(Loader::class)->flush(); + } + + protected function tearDown(): void + { + app(Filesystem::class)->deleteDirectory($this->themesPath); + app(Filesystem::class)->deleteDirectory($this->workspace); + app(Loader::class)->flush(); + parent::tearDown(); + } + + public function test_generated_theme_zip_installs_discovers_and_renders(): void + { + $source = $this->workspace.'/design-gallery'; + mkdir($source.'/css', 0777, true); + mkdir($source.'/js', 0777, true); + mkdir($source.'/views', 0777, true); + + file_put_contents($source.'/theme.json', json_encode([ + 'manifest_version' => 1, + 'key' => 'design-gallery', + 'name' => 'Design Gallery', + 'stylesheet' => 'css/app.css', + 'script' => 'js/app.js', + 'entry_view' => 'home', + 'appearances' => ['light', 'dark', 'system'], + 'accents' => ['blue', 'neutral'], + 'default_appearance' => 'system', + 'default_accent' => 'neutral', + ])); + file_put_contents($source.'/css/app.css', 'body{}'); + file_put_contents($source.'/js/app.js', ''); + file_put_contents($source.'/views/home.blade.php', '
Design Gallery works
'); + + $zipPath = $this->workspace.'/design-gallery.zip'; + $zip = new ZipArchive; + $this->assertTrue($zip->open($zipPath, ZipArchive::CREATE | ZipArchive::OVERWRITE)); + foreach (app(Filesystem::class)->allFiles($source) as $file) { + $zip->addFile($file->getPathname(), 'design-gallery/'.$file->getRelativePathname()); + } + $zip->close(); + + $upload = new UploadedFile($zipPath, 'design-gallery.zip', 'application/zip', null, true); + $theme = app(ThemePackageManager::class)->install($upload); + + $this->assertSame('design-gallery', $theme->key()); + $this->assertTrue(app(Loader::class)->all()->has('design-gallery')); + $this->assertStringContainsString( + 'Design Gallery works', + stylist_theme_view('design-gallery', 'home')->render(), + ); + } +} diff --git a/Modules/Stylist/Tests/Feature/ThemeViewResolverTest.php b/Modules/Stylist/Tests/Feature/ThemeViewResolverTest.php new file mode 100755 index 0000000..290e955 --- /dev/null +++ b/Modules/Stylist/Tests/Feature/ThemeViewResolverTest.php @@ -0,0 +1,22 @@ + 'backend', + 'stylist.themes_path' => resource_path('themes'), + ]); + + $candidates = app(ThemeViewResolver::class)->candidates('components.page-hero'); + + $this->assertContains('stylist-theme-backend::components.page-hero', $candidates); + $this->assertContains('stylist::components.page-hero', $candidates); + } +} diff --git a/Modules/Stylist/Tests/Feature/WelcomeThemeViewTest.php b/Modules/Stylist/Tests/Feature/WelcomeThemeViewTest.php new file mode 100755 index 0000000..a83046a --- /dev/null +++ b/Modules/Stylist/Tests/Feature/WelcomeThemeViewTest.php @@ -0,0 +1,45 @@ +assertTrue(view()->exists('stylist-theme-frontend::welcome')); + } + + public function test_dashboard_view_is_owned_by_the_backend_theme(): void + { + $this->assertStringContainsString( + resource_path('themes/backend/views/dashboard.blade.php'), + view('dashboard')->getPath(), + ); + } + + public function test_home_route_renders_from_the_frontend_theme(): void + { + $response = $this->get('/'); + + $response->assertOk()->assertViewIs('welcome'); + $this->assertStringContainsString( + resource_path('themes/frontend/views/welcome.blade.php'), + view('welcome')->getPath(), + ); + } + + public function test_application_views_exist_only_inside_themes(): void + { + $this->assertDirectoryDoesNotExist(resource_path('views')); + $this->assertDirectoryDoesNotExist(resource_path('css')); + $this->assertDirectoryDoesNotExist(resource_path('js')); + } + + public function test_backend_compiled_assets_are_owned_by_the_backend_theme(): void + { + $this->assertFileExists(resource_path('themes/backend/assets/css/app.css')); + $this->assertFileExists(resource_path('themes/backend/assets/js/passkeys.js')); + } +} diff --git a/Modules/Stylist/Theme/Exceptions/InvalidThemeManifestException.php b/Modules/Stylist/Theme/Exceptions/InvalidThemeManifestException.php new file mode 100755 index 0000000..a548f9f --- /dev/null +++ b/Modules/Stylist/Theme/Exceptions/InvalidThemeManifestException.php @@ -0,0 +1,18 @@ + $errors */ + public static function forPath(string $path, array $errors): self + { + return new self(sprintf( + 'Invalid theme manifest at [%s]: %s', + rtrim($path, DIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR.'theme.json', + implode(' ', $errors), + )); + } +} diff --git a/Modules/Stylist/Theme/Exceptions/ThemeJsonNotFoundException.php b/Modules/Stylist/Theme/Exceptions/ThemeJsonNotFoundException.php new file mode 100755 index 0000000..746d52e --- /dev/null +++ b/Modules/Stylist/Theme/Exceptions/ThemeJsonNotFoundException.php @@ -0,0 +1,13 @@ +files->exists($manifest)) { + throw ThemeJsonNotFoundException::forPath($path); + } + + return json_decode($this->files->get($manifest), true, flags: JSON_THROW_ON_ERROR); + } +} diff --git a/Modules/Stylist/Theme/Loader.php b/Modules/Stylist/Theme/Loader.php new file mode 100755 index 0000000..e93708d --- /dev/null +++ b/Modules/Stylist/Theme/Loader.php @@ -0,0 +1,83 @@ +themes !== null) { + return $this->themes; + } + + $themes = collect(); + + foreach ($this->roots() as $root) { + if (! $this->files->isDirectory($root)) { + continue; + } + + foreach ($this->files->directories($root) as $themePath) { + try { + $theme = $this->fromPath($themePath); + $themes->put($theme->key(), $theme); + } catch (\Throwable $exception) { + report($exception); + } + } + } + + return $this->themes = $themes->sortKeys(); + } + + public function find(string $key): Theme + { + $theme = $this->all()->get($key); + + if (! $theme) { + throw ThemeNotFoundException::forKey($key); + } + + return $theme; + } + + public function fromPath(string $path): Theme + { + $data = $this->validator->validate($this->json->read($path), $path); + + return new Theme( + key: $data['key'], + name: $data['name'], + path: rtrim($path, DIRECTORY_SEPARATOR), + stylesheet: $data['stylesheet'], + script: $data['script'], + variables: $data['variables'], + meta: $data, + ); + } + + public function flush(): void + { + $this->themes = null; + } + + /** @return array */ + public function roots(): array + { + return array_values(array_unique(array_filter([ + (string) config('stylist.themes_path'), + ]))); + } +} diff --git a/Modules/Stylist/Theme/ManifestValidator.php b/Modules/Stylist/Theme/ManifestValidator.php new file mode 100755 index 0000000..cc75998 --- /dev/null +++ b/Modules/Stylist/Theme/ManifestValidator.php @@ -0,0 +1,179 @@ + */ + public function validate(array $manifest, string $path): array + { + $errors = []; + $manifestVersion = $manifest['manifest_version'] ?? $manifest['schema_version'] ?? 1; + if ((is_string($manifestVersion) && ctype_digit($manifestVersion))) { + $manifestVersion = (int) $manifestVersion; + } + if (! is_int($manifestVersion) || $manifestVersion < 1) { + $errors[] = 'The manifest_version must be a positive integer.'; + } + + $key = $manifest['key'] ?? $manifest['slug'] ?? basename($path); + + if (! is_string($key) || ! preg_match('/^[a-z0-9][a-z0-9_-]*$/', $key)) { + $errors[] = 'The key/slug must contain only lowercase letters, numbers, dashes, and underscores.'; + } + if (isset($manifest['name']) && (! is_string($manifest['name']) || trim($manifest['name']) === '')) { + $errors[] = 'The name must be a non-empty string.'; + } + if (isset($manifest['version']) && (! is_string($manifest['version']) || ! preg_match('/^\d+\.\d+\.\d+(?:[-+][0-9A-Za-z.-]+)?$/', $manifest['version']))) { + $errors[] = 'The version must use semantic versioning, for example 1.2.0.'; + } + if (isset($manifest['type']) && ! in_array($manifest['type'], ['frontend', 'backend', 'common'], true)) { + $errors[] = 'The type must be frontend, backend, or common.'; + } + $parent = $manifest['extends'] ?? $manifest['parent'] ?? null; + if ($parent !== null && (! is_string($parent) || ! preg_match('/^[a-z0-9][a-z0-9_-]*$/', $parent))) { + $errors[] = 'The extends/parent value must be a valid theme key.'; + } + + foreach (['stylesheet', 'script', 'preview'] as $field) { + if (isset($manifest[$field]) && ! $this->isSafeRelativePath($manifest[$field])) { + $errors[] = "The {$field} value must be a safe relative path."; + } + } + + foreach (['assets', 'variables', 'supports', 'capabilities', 'variants', 'appearances', 'accents', 'settings', 'seo'] as $field) { + if (isset($manifest[$field]) && ! is_array($manifest[$field])) { + $errors[] = "The {$field} value must be an object or array."; + } + } + + $variants = $this->normaliseDefinitions($manifest['variants'] ?? [], 'variants', $errors, false); + $appearances = $this->normaliseDefinitions($manifest['appearances'] ?? [], 'appearances', $errors); + $accents = $this->normaliseDefinitions($manifest['accents'] ?? [], 'accents', $errors); + $capabilities = $this->normaliseCapabilities($manifest['capabilities'] ?? [], $errors); + $capabilities['appearances'] = $appearances !== []; + $capabilities['accents'] = $accents !== []; + $capabilities['preview'] = isset($manifest['preview']) || is_file($path.'/preview.webp'); + + $defaultAppearance = $manifest['default_appearance'] ?? null; + if ($defaultAppearance !== null) { + if (! is_string($defaultAppearance) || $defaultAppearance === '') { + $errors[] = 'The default_appearance value must be a non-empty string.'; + } elseif ($appearances === [] || ! array_key_exists($defaultAppearance, $appearances)) { + $errors[] = 'The default_appearance value must be declared in appearances.'; + } + } + + $defaultAccent = $manifest['default_accent'] ?? null; + if ($defaultAccent !== null) { + if (! is_string($defaultAccent) || $defaultAccent === '') { + $errors[] = 'The default_accent value must be a non-empty string.'; + } elseif ($accents === [] || ! array_key_exists($defaultAccent, $accents)) { + $errors[] = 'The default_accent value must be declared in accents.'; + } + } + + if ($errors !== []) { + throw InvalidThemeManifestException::forPath($path, $errors); + } + + $manifest['manifest_version'] = $manifestVersion; + unset($manifest['schema_version']); + $manifest['key'] = $key; + $manifest['slug'] = $key; + $manifest['name'] = $manifest['name'] ?? str($key)->headline()->toString(); + $manifest['extends'] = $parent; + $manifest['version'] = (string) ($manifest['version'] ?? '1.0.0'); + $manifest['entry_view'] = (string) ($manifest['entry_view'] ?? 'home'); + $manifest['stylesheet'] = $manifest['stylesheet'] ?? $manifest['css'] ?? 'css/theme.css'; + $manifest['script'] = $manifest['script'] ?? 'js/app.js'; + $manifest['assets'] = is_array($manifest['assets'] ?? null) ? $manifest['assets'] : []; + $manifest['variables'] = is_array($manifest['variables'] ?? null) ? $manifest['variables'] : []; + $manifest['supports'] = is_array($manifest['supports'] ?? null) ? $manifest['supports'] : []; + $manifest['capabilities'] = $capabilities; + $manifest['variants'] = $variants; + $manifest['appearances'] = $appearances; + $manifest['accents'] = $accents; + $manifest['settings'] = is_array($manifest['settings'] ?? null) ? $manifest['settings'] : []; + $manifest['seo'] = is_array($manifest['seo'] ?? null) ? $manifest['seo'] : []; + $manifest['preview'] = $manifest['preview'] ?? (is_file($path.'/preview.webp') ? 'preview.webp' : null); + + return $manifest; + } + + /** + * Compact lists such as ["light", "dark"] are accepted and converted to + * keyed empty definitions. Object definitions remain unchanged. + * + * @param array $value + * @param array $errors + * @return array> + */ + private function normaliseDefinitions(array $value, string $field, array &$errors, bool $allowCompact = true): array + { + if ($value === []) { + return []; + } + + if (array_is_list($value)) { + if (! $allowCompact && $field === 'variants') { + // Older Theme Builder Phase 1 builds incorrectly wrote accent names + // to variants. Ignore that list while preserving object-style variants. + return []; + } + + $normalised = []; + foreach ($value as $name) { + if (! is_string($name) || ! preg_match('/^[a-z0-9][a-z0-9_-]*$/', $name)) { + $errors[] = "Every {$field} entry must be a valid lowercase key."; + + continue; + } + $normalised[$name] = []; + } + + return $normalised; + } + + $normalised = []; + foreach ($value as $name => $definition) { + if (! is_string($name) || ! preg_match('/^[a-z0-9][a-z0-9_-]*$/', $name) || ! is_array($definition)) { + $errors[] = "Every {$field} definition must use a valid lowercase key and an object value."; + + continue; + } + $normalised[$name] = $definition; + } + + return $normalised; + } + + /** + * @param array $value + * @param array $errors + * @return array + */ + private function normaliseCapabilities(array $value, array &$errors): array + { + $normalised = []; + + foreach ($value as $name => $enabled) { + if (! is_string($name) || ! preg_match('/^[a-z0-9][a-z0-9_-]*$/', $name) || ! is_bool($enabled)) { + $errors[] = 'Every capability must use a valid lowercase key and a boolean value.'; + + continue; + } + + $normalised[$name] = $enabled; + } + + return $normalised; + } + + private function isSafeRelativePath(mixed $path): bool + { + return is_string($path) && $path !== '' && ! str_starts_with($path, '/') && ! str_contains($path, '..') && ! str_contains($path, "\0"); + } +} diff --git a/Modules/Stylist/Theme/Stylist.php b/Modules/Stylist/Theme/Stylist.php new file mode 100755 index 0000000..2908559 --- /dev/null +++ b/Modules/Stylist/Theme/Stylist.php @@ -0,0 +1,103 @@ +resolver->resolve($context); + try { + return $this->loader->find($requested); + } catch (ThemeNotFoundException) { + $fallback = $context === 'frontend' + ? (string) config('stylist.default_frontend_theme', 'frontend') + : (string) config('stylist.default_backend_theme', config('stylist.default_theme', 'backend')); + if ($requested !== $fallback) { + return $this->loader->find($fallback); + } + throw ThemeNotFoundException::forKey($requested); + } + } + + public function frontend(): Theme + { + return $this->current('frontend'); + } + + public function backend(): Theme + { + return $this->current('backend'); + } + + public function variables(): array + { + $theme = $this->current(); + $variant = $this->settings->variant($theme); + $variantVars = (array) data_get($theme->variants(), $variant.'.variables', []); + $appearanceVars = (array) data_get($theme->appearances(), $this->appearance().'.variables', []); + $accentVars = (array) data_get($theme->accents(), $this->accent().'.variables', []); + $settingVars = collect($this->settings->get($theme)) + ->filter(fn ($value, $key) => is_string($key) && str_starts_with($key, '--')) + ->mapWithKeys(fn ($value, $key) => [ltrim($key, '-') => $value]) + ->all(); + + return array_replace( + (array) config('stylist.fallback_variables', []), + $this->inheritedVariables($theme), + $variantVars, + $appearanceVars, + $accentVars, + $settingVars, + $this->resolver->variables(), + ); + } + + public function settings(): array + { + return $this->settings->get($this->current()); + } + + public function variant(): string + { + return $this->settings->variant($this->current()); + } + + public function appearance(): string + { + return $this->settings->appearance($this->current()); + } + + public function accent(): string + { + return $this->settings->accent($this->current()); + } + + public function all() + { + return $this->loader->all(); + } + + private function inheritedVariables(Theme $theme, array $seen = []): array + { + if (in_array($theme->key(), $seen, true)) { + return []; + } + $seen[] = $theme->key(); + $parent = []; + if ($theme->parent()) { + try { + $parent = $this->inheritedVariables($this->loader->find($theme->parent()), $seen); + } catch (ThemeNotFoundException) { + } + } + + return array_replace($parent, $theme->variables()); + } +} diff --git a/Modules/Stylist/Theme/Theme.php b/Modules/Stylist/Theme/Theme.php new file mode 100755 index 0000000..2010173 --- /dev/null +++ b/Modules/Stylist/Theme/Theme.php @@ -0,0 +1,161 @@ +key; + } + + public function name(): string + { + return $this->name; + } + + public function path(): string + { + return $this->path; + } + + public function stylesheet(): string + { + return $this->stylesheet; + } + + public function script(): string + { + return $this->script; + } + + public function variables(): array + { + return $this->variables; + } + + public function meta(): array + { + return $this->meta; + } + + public function manifestVersion(): int + { + return (int) ($this->meta['manifest_version'] ?? 1); + } + + public function version(): string + { + return (string) ($this->meta['version'] ?? '1.0.0'); + } + + public function description(): string + { + return (string) ($this->meta['description'] ?? ''); + } + + public function type(): string + { + return (string) ($this->meta['type'] ?? 'frontend'); + } + + public function author(): string + { + return (string) ($this->meta['author'] ?? ''); + } + + public function parent(): ?string + { + $parent = $this->meta['extends'] ?? null; + + return is_string($parent) && $parent !== '' ? $parent : null; + } + + public function preview(): ?string + { + $preview = $this->meta['preview'] ?? null; + + return is_string($preview) && $preview !== '' ? $preview : null; + } + + public function variants(): array + { + return (array) ($this->meta['variants'] ?? []); + } + + public function appearances(): array + { + return (array) ($this->meta['appearances'] ?? []); + } + + public function accents(): array + { + return (array) ($this->meta['accents'] ?? []); + } + + public function defaultAppearance(): string + { + return (string) ($this->meta['default_appearance'] ?? array_key_first($this->appearances()) ?? ''); + } + + public function defaultAccent(): string + { + return (string) ($this->meta['default_accent'] ?? array_key_first($this->accents()) ?? ''); + } + + public function settingsSchema(): array + { + return (array) ($this->meta['settings'] ?? []); + } + + public function seo(): array + { + return (array) ($this->meta['seo'] ?? []); + } + + public function entryView(): string + { + return (string) ($this->meta['entry_view'] ?? 'home'); + } + + public function capabilities(): array + { + return (array) ($this->meta['capabilities'] ?? []); + } + + public function hasCapability(string $feature): bool + { + return (bool) ($this->capabilities()[$feature] ?? false); + } + + public function supports(string $feature): bool + { + return (bool) data_get($this->meta, 'supports.'.$feature, $this->hasCapability($feature)); + } + + public function has(string $relativePath): bool + { + return is_file($this->path.DIRECTORY_SEPARATOR.ltrim($relativePath, '/')); + } + + public function absolutePath(string $relativePath): string + { + return $this->path.DIRECTORY_SEPARATOR.ltrim($relativePath, '/'); + } + + /** @deprecated Theme assets are served through UrlGenerator. */ + public function assetsPath(): string + { + return 'stylist/theme-assets/'.$this->key; + } +} diff --git a/Modules/Stylist/Theme/UrlGenerator.php b/Modules/Stylist/Theme/UrlGenerator.php new file mode 100755 index 0000000..77d08f8 --- /dev/null +++ b/Modules/Stylist/Theme/UrlGenerator.php @@ -0,0 +1,20 @@ +forTheme($this->stylist->current(), $path); + } + + public function forTheme(Theme|string $theme, string $path): string + { + $key = $theme instanceof Theme ? $theme->key() : $theme; + + return route('stylist.theme.asset', ['theme' => $key, 'path' => ltrim($path, '/')]); + } +} diff --git a/Modules/Stylist/View/ThemeViewResolver.php b/Modules/Stylist/View/ThemeViewResolver.php new file mode 100755 index 0000000..7e034d6 --- /dev/null +++ b/Modules/Stylist/View/ThemeViewResolver.php @@ -0,0 +1,139 @@ +> */ + private array $candidateCache = []; + + public function __construct( + private readonly Stylist $stylist, + private readonly ViewFactory $views, + private readonly Loader $loader, + ) {} + + public function make(string $view, array $data = [], array $mergeData = []): View + { + return $this->views->first( + $this->candidates($view), + array_replace([ + 'themeSettings' => $this->stylist->settings(), + 'themeVariant' => $this->stylist->variant(), + ], $data), + $mergeData, + ); + } + + public function makeForTheme(string $theme, string $view, array $data = [], array $mergeData = []): View + { + return $this->views->first($this->candidatesForTheme($theme, $view), $data, $mergeData); + } + + /** @return array */ + public function candidates(string $view): array + { + return $this->candidatesForTheme($this->stylist->current()->key(), $view); + } + + /** @return array */ + /** @return array */ + public function themedCandidatesForTheme(string $theme, string $view): array + { + return array_values(array_filter( + $this->candidatesForTheme($theme, $view), + fn (string $candidate): bool => str_contains($candidate, '::'), + )); + } + + public function candidatesForTheme(string $theme, string $view): array + { + $view = ltrim($view, '.'); + $cacheKey = $theme.'|'.$view; + + if (isset($this->candidateCache[$cacheKey])) { + return $this->candidateCache[$cacheKey]; + } + + $keys = $this->inheritanceChain($theme); + $fallback = (string) config('stylist.default_theme', 'common'); + + if ($fallback !== '' && ! in_array($fallback, $keys, true)) { + try { + $keys = array_merge($keys, $this->inheritanceChain($fallback)); + } catch (ThemeNotFoundException) { + // A missing configured fallback is diagnosed by stylist:doctor. + } + } + + if (! in_array('common', $keys, true)) { + try { + $keys = array_merge($keys, $this->inheritanceChain('common')); + } catch (ThemeNotFoundException) { + // The module fallback below remains available. + } + } + + $candidates = []; + foreach (array_values(array_unique($keys)) as $key) { + $this->registerNamespace($key); + $candidates[] = "stylist-theme-{$key}::{$view}"; + $candidates[] = "stylist-module-theme-{$key}::{$view}"; + } + + $candidates[] = "stylist::{$view}"; + $candidates[] = $view; + + return $this->candidateCache[$cacheKey] = array_values(array_unique($candidates)); + } + + public function flush(): void + { + $this->candidateCache = []; + } + + /** @return array */ + private function inheritanceChain(string $theme): array + { + $keys = []; + $seen = []; + $key = $theme; + + while ($key !== '') { + if (isset($seen[$key])) { + throw new RuntimeException('Theme inheritance cycle detected at ['.$key.'].'); + } + + $seen[$key] = true; + $loaded = $this->loader->find($key); + $keys[] = $loaded->key(); + $key = $loaded->parent() ?? ''; + } + + return $keys; + } + + private function registerNamespace(string $theme): void + { + try { + $loaded = $this->loader->find($theme); + } catch (ThemeNotFoundException) { + return; + } + + $viewsPath = $loaded->path().DIRECTORY_SEPARATOR.'views'; + if (! is_dir($viewsPath)) { + return; + } + + $this->views->addNamespace("stylist-theme-{$theme}", $viewsPath); + $this->views->addNamespace("stylist-module-theme-{$theme}", $viewsPath); + } +} diff --git a/Modules/Stylist/changelog.yaml b/Modules/Stylist/changelog.yaml new file mode 100755 index 0000000..7a8e4e0 --- /dev/null +++ b/Modules/Stylist/changelog.yaml @@ -0,0 +1,24 @@ +latest: 1.1.0 +releases: + - version: 1.1.0 + date: 2026-07-08 + changes: + - Added self-contained theme folders with theme.json, CSS, Blade views, and Livewire views. + - Added ThemeViewResolver and stylist_view() fallback helper. + - Added default and MPBA example themes. + - Added theme publishing support. + - Updated Vite inputs to include theme CSS files. + - version: 1.0.0 + date: 2026-07-08 + changes: + - Initial Laravel 13 Stylist module. + + - version: 1.1.0 + date: 2026-07-23 + changes: + - Added optional manifest_version/schema_version normalisation. + - Added capability normalisation for appearances, accents, previews and future features. + - Added stylist:validate for installed themes, directories and ZIP packages. + - Added complete package validation during installation. + - Added dynamic view namespace registration after installing a theme. + - Added manifest compatibility and install-render regression coverage. diff --git a/Modules/Stylist/composer.json b/Modules/Stylist/composer.json new file mode 100755 index 0000000..d537e3a --- /dev/null +++ b/Modules/Stylist/composer.json @@ -0,0 +1,22 @@ +{ + "name": "mpba/stylist-module", + "description": "Tenant-aware theme and asset switching module for Laravel 13.", + "type": "laravel-module", + "require": { + "php": "^8.3", + "illuminate/support": "^13.0", + "illuminate/view": "^13.0", + "illuminate/filesystem": "^13.0", + "illuminate/console": "^13.0" + }, + "autoload": { + "psr-4": { + "Modules\\Stylist\\": "" + } + }, + "autoload-dev": { + "psr-4": { + "Modules\\Stylist\\Tests\\": "Tests/" + } + } +} diff --git a/Modules/Stylist/module.json b/Modules/Stylist/module.json new file mode 100755 index 0000000..214c2d2 --- /dev/null +++ b/Modules/Stylist/module.json @@ -0,0 +1,20 @@ +{ + "name": "Stylist", + "alias": "stylist", + "version": "1.1.0", + "description": "Tenant-aware theme and asset switching module for Laravel 13.", + "keywords": [ + "laravel", + "modules", + "themes", + "tenancy", + "styling" + ], + "priority": 0, + "providers": [ + "Modules\\Stylist\\Providers\\StylistServiceProvider" + ], + "aliases": {}, + "files": [], + "requires": [] +} diff --git a/Modules/Stylist/package.json b/Modules/Stylist/package.json new file mode 100755 index 0000000..e0b33af --- /dev/null +++ b/Modules/Stylist/package.json @@ -0,0 +1,15 @@ +{ + "scripts": { + "dev": "vite", + "build": "vite build", + + "stylist:dev": "vite --config Modules/Stylist/vite.config.js", + "stylist:build": "vite build --config Modules/Stylist/vite.config.js", + + "matches:dev": "vite --config Modules/Matches/vite.config.js", + "matches:build": "vite build --config Modules/Matches/vite.config.js", + + "modules:build": "npm run stylist:build && npm run matches:build", + "build:all": "npm run build && npm run modules:build" + } +} diff --git a/Modules/Stylist/vite.config.js b/Modules/Stylist/vite.config.js new file mode 100755 index 0000000..de55470 --- /dev/null +++ b/Modules/Stylist/vite.config.js @@ -0,0 +1,25 @@ +import { defineConfig } from 'vite'; +import laravel from 'laravel-vite-plugin'; +import tailwindcss from '@tailwindcss/vite'; + +export default defineConfig({ + plugins: [ + laravel({ + input: [ + 'Modules/Stylist/Resources/assets/css/app.css', + 'Modules/Stylist/Resources/assets/js/app.js', + ], + + refresh: [ + 'Modules/Stylist/Resources/views/**', + 'resources/themes/**/views/**', + 'Modules/Stylist/App/**', + 'Modules/Stylist/routes/**', + ], + + buildDirectory: 'build/stylist', + }), + + tailwindcss(), + ], +}); diff --git a/app/Actions/Fortify/CreateNewUser.php b/app/Actions/Fortify/CreateNewUser.php new file mode 100755 index 0000000..3c7c00c --- /dev/null +++ b/app/Actions/Fortify/CreateNewUser.php @@ -0,0 +1,33 @@ + $input + */ + public function create(array $input): User + { + Validator::make($input, [ + ...$this->profileRules(), + 'password' => $this->passwordRules(), + ])->validate(); + + return User::create([ + 'name' => $input['name'], + 'email' => $input['email'], + 'password' => $input['password'], + ]); + } +} diff --git a/app/Actions/Fortify/ResetUserPassword.php b/app/Actions/Fortify/ResetUserPassword.php new file mode 100755 index 0000000..8fda5dd --- /dev/null +++ b/app/Actions/Fortify/ResetUserPassword.php @@ -0,0 +1,29 @@ + $input + */ + public function reset(User $user, array $input): void + { + Validator::make($input, [ + 'password' => $this->passwordRules(), + ])->validate(); + + $user->forceFill([ + 'password' => $input['password'], + ])->save(); + } +} diff --git a/app/Concerns/PasswordValidationRules.php b/app/Concerns/PasswordValidationRules.php new file mode 100755 index 0000000..7409ed8 --- /dev/null +++ b/app/Concerns/PasswordValidationRules.php @@ -0,0 +1,29 @@ +|string> + */ + protected function passwordRules(): array + { + return ['required', 'string', Password::default(), 'confirmed']; + } + + /** + * Get the validation rules used to validate the current password. + * + * @return array|string> + */ + protected function currentPasswordRules(): array + { + return ['required', 'string', 'current_password']; + } +} diff --git a/app/Concerns/ProfileValidationRules.php b/app/Concerns/ProfileValidationRules.php new file mode 100755 index 0000000..a9c069b --- /dev/null +++ b/app/Concerns/ProfileValidationRules.php @@ -0,0 +1,51 @@ +|string>> + */ + protected function profileRules(?int $userId = null): array + { + return [ + 'name' => $this->nameRules(), + 'email' => $this->emailRules($userId), + ]; + } + + /** + * Get the validation rules used to validate user names. + * + * @return array|string> + */ + protected function nameRules(): array + { + return ['required', 'string', 'max:255']; + } + + /** + * Get the validation rules used to validate user emails. + * + * @return array|string> + */ + protected function emailRules(?int $userId = null): array + { + return [ + 'required', + 'string', + 'email', + 'max:255', + $userId === null + ? Rule::unique(User::class) + : Rule::unique(User::class)->ignore($userId), + ]; + } +} diff --git a/app/Database/Db2/Db2Connection.php b/app/Database/Db2/Db2Connection.php new file mode 100644 index 0000000..41ef160 --- /dev/null +++ b/app/Database/Db2/Db2Connection.php @@ -0,0 +1,79 @@ + $value) { + if ($value === Db2QueryGrammar::NULL_TIMESTAMP_SENTINEL) { + $row->{$key} = null; + continue; + } + + if ( + in_array($key, [ + 'two_factor_secret', + 'two_factor_recovery_codes', + ], true) + && $value === Db2QueryGrammar::NULL_STRING_SENTINEL + ) { + $row->{$key} = null; + } + } + } + + return $rows; + } + + protected function getDefaultQueryGrammar() + { + return new Db2QueryGrammar($this); + } + + protected function getDefaultSchemaGrammar() + { + return new Db2SchemaGrammar($this); + } + + public function getSchemaBuilder() + { + if (is_null($this->schemaGrammar)) { + $this->useDefaultSchemaGrammar(); + } + + return new Db2SchemaBuilder($this); + } + + protected function getDefaultPostProcessor() + { + return new Db2Processor; + } + + +} diff --git a/app/Database/Db2/Db2Connection.php.bak-20261111-095053 b/app/Database/Db2/Db2Connection.php.bak-20261111-095053 new file mode 100644 index 0000000..41ef160 --- /dev/null +++ b/app/Database/Db2/Db2Connection.php.bak-20261111-095053 @@ -0,0 +1,79 @@ + $value) { + if ($value === Db2QueryGrammar::NULL_TIMESTAMP_SENTINEL) { + $row->{$key} = null; + continue; + } + + if ( + in_array($key, [ + 'two_factor_secret', + 'two_factor_recovery_codes', + ], true) + && $value === Db2QueryGrammar::NULL_STRING_SENTINEL + ) { + $row->{$key} = null; + } + } + } + + return $rows; + } + + protected function getDefaultQueryGrammar() + { + return new Db2QueryGrammar($this); + } + + protected function getDefaultSchemaGrammar() + { + return new Db2SchemaGrammar($this); + } + + public function getSchemaBuilder() + { + if (is_null($this->schemaGrammar)) { + $this->useDefaultSchemaGrammar(); + } + + return new Db2SchemaBuilder($this); + } + + protected function getDefaultPostProcessor() + { + return new Db2Processor; + } + + +} diff --git a/app/Database/Db2/Db2Processor.php b/app/Database/Db2/Db2Processor.php new file mode 100644 index 0000000..147eae1 --- /dev/null +++ b/app/Database/Db2/Db2Processor.php @@ -0,0 +1,35 @@ +getConnection()->insert($sql, $values); + + $result = $query->getConnection()->selectOne( + 'SELECT IDENTITY_VAL_LOCAL() AS ID FROM SYSIBM.SYSDUMMY1', + [], + false + ); + + if ($result === null) { + throw new \RuntimeException( + 'Db2 did not return a generated identity value.' + ); + } + + $id = $result->ID ?? $result->id ?? null; + + if ($id === null) { + throw new \RuntimeException( + 'Db2 identity value was NULL.' + ); + } + + return is_numeric($id) ? (int) $id : $id; + } +} \ No newline at end of file diff --git a/app/Database/Db2/Db2QueryGrammar.php b/app/Database/Db2/Db2QueryGrammar.php new file mode 100644 index 0000000..7723df5 --- /dev/null +++ b/app/Database/Db2/Db2QueryGrammar.php @@ -0,0 +1,179 @@ +columnize($aggregate['columns']); + + if (is_array($query->distinct)) { + $column = 'distinct '.$this->columnize($query->distinct); + } elseif ($query->distinct && $column !== '*') { + $column = 'distinct '.$column; + } + + $function = strtolower($aggregate['function']); + + $expression = "{$function}({$column})"; + + // PDO_ODBC may return Db2 integer aggregates as binary data. + // Cast only the migration batch aggregate to VARCHAR. + if ( + $function === 'max' && + count($aggregate['columns']) === 1 && + $aggregate['columns'][0] === 'batch' && + $query->from === 'migrations' + ) { + $expression = "CAST(COALESCE({$expression}, 0) AS VARCHAR(20))"; + } + + return 'select '.$expression.' as aggregate'; + } + + protected function compileLimit($query, $limit) + { + return 'fetch first '.(int) $limit.' rows only'; + } + + public function compileExists( + \Illuminate\Database\Query\Builder $query + ) { + $select = $this->compileSelect($query); + + return sprintf( + 'SELECT CASE WHEN EXISTS (%s) THEN 1 ELSE 0 END AS "exists" FROM SYSIBM.SYSDUMMY1', + $select + ); + } + + /** A non-NULL value used only for nullable TIMESTAMP result columns. */ + public const NULL_TIMESTAMP_SENTINEL = '__DB2_NULL_TIMESTAMP__'; + + public function compileSelect(\Illuminate\Database\Query\Builder $query) + { + if ( + ! is_string($query->from) || + ! preg_match('/^(?:"[^"]+"|[A-Za-z_][A-Za-z0-9_]*)(?:\.(?:"[^"]+"|[A-Za-z_][A-Za-z0-9_]*))?$/', $query->from) || + ! empty($query->joins) || ! empty($query->unions) || + ! empty($query->groups) || ! empty($query->havings) || + $query->aggregate !== null || $query->distinct + ) { + return parent::compileSelect($query); + } + + $table = $query->from; + if (! isset($this->db2ColumnCache[$table])) { + $this->db2ColumnCache[$table] = $this->connection + ->getSchemaBuilder()->getColumns($table); + } + + $metadata = []; + foreach ($this->db2ColumnCache[$table] as $column) { + $metadata[strtolower($column['name'])] = $column; + } + + $columns = $query->columns ?? ['*']; + if ($columns === ['*']) { + $columns = array_column($this->db2ColumnCache[$table], 'name'); + } + + $ordinary = []; + $lobs = []; + $changed = false; + + foreach ($columns as $column) { + // Expressions and partial wildcards cannot be safely rearranged. + if (! is_string($column) || ! preg_match( + '/^((?:"[^"]+"|[A-Za-z_][A-Za-z0-9_]*)(?:\.(?:"[^"]+"|[A-Za-z_][A-Za-z0-9_]*))?)(?:\s+as\s+("[^"]+"|[A-Za-z_][A-Za-z0-9_]*))?$/i', + $column, $matches + )) { + return parent::compileSelect($query); + } + + $identifier = $matches[1]; + $parts = explode('.', $identifier); + $name = trim(end($parts), '"'); + $info = $metadata[strtolower($name)] ?? null; + if ($info === null) { + return parent::compileSelect($query); + } + + $type = strtoupper($info['type_name']); + $selected = $column; + + // Work around PDO_ODBC attempting a 4 GiB allocation +// when fetching NULL Fortify VARCHAR(4096) columns. + if ( + ($info['nullable'] ?? false) + && $type === 'VARCHAR' + && in_array($name, [ + 'two_factor_secret', + 'two_factor_recovery_codes', + ], true) + ) { + $alias = isset($matches[2]) + ? trim($matches[2], '"') + : $name; + + $wrapped = $this->wrap($identifier); + + $selected = new Expression( + 'COALESCE(' + . $wrapped + . ", CAST('__DB2_NULL_STRING__' AS VARCHAR(4096))) AS " + . $this->wrap($alias) + ); + + $changed = true; + } + + if (($info['nullable'] ?? false) && in_array($type, ['TIMESTAMP', 'DATE', 'TIME'], true)) { + // Never return a SQL NULL date/time to the broken PDO_ODBC + // retrieval path. Use a non-NULL character expression instead. + $format = match ($type) { + 'DATE' => 'YYYY-MM-DD', + 'TIME' => 'HH24:MI:SS', + default => 'YYYY-MM-DD HH24:MI:SS.FF6', + }; + $alias = isset($matches[2]) ? trim($matches[2], '"') : $name; + $wrapped = $this->wrap($identifier); + $selected = new Expression( + 'CASE WHEN '.$wrapped.' IS NULL THEN '. + "'".self::NULL_TIMESTAMP_SENTINEL."'". + ' ELSE VARCHAR_FORMAT('.$wrapped.", '".$format."') END AS ". + $this->wrap($alias) + ); + $changed = true; + } + + if (in_array($type, ['CLOB', 'BLOB', 'DBCLOB'], true)) { + $lobs[] = $selected; + } else { + $ordinary[] = $selected; + } + } + + if ($lobs !== [] && $ordinary !== [] && $columns !== array_merge( + array_filter($ordinary, 'is_string'), + array_filter($lobs, 'is_string') + )) { + $changed = true; + } + + if (! $changed && $lobs === []) { + return parent::compileSelect($query); + } + + $modified = clone $query; + $modified->columns = array_merge($ordinary, $lobs); + return parent::compileSelect($modified); + } +} diff --git a/app/Database/Db2/Db2QueryGrammar.php.bak-20261111-095053 b/app/Database/Db2/Db2QueryGrammar.php.bak-20261111-095053 new file mode 100644 index 0000000..7723df5 --- /dev/null +++ b/app/Database/Db2/Db2QueryGrammar.php.bak-20261111-095053 @@ -0,0 +1,179 @@ +columnize($aggregate['columns']); + + if (is_array($query->distinct)) { + $column = 'distinct '.$this->columnize($query->distinct); + } elseif ($query->distinct && $column !== '*') { + $column = 'distinct '.$column; + } + + $function = strtolower($aggregate['function']); + + $expression = "{$function}({$column})"; + + // PDO_ODBC may return Db2 integer aggregates as binary data. + // Cast only the migration batch aggregate to VARCHAR. + if ( + $function === 'max' && + count($aggregate['columns']) === 1 && + $aggregate['columns'][0] === 'batch' && + $query->from === 'migrations' + ) { + $expression = "CAST(COALESCE({$expression}, 0) AS VARCHAR(20))"; + } + + return 'select '.$expression.' as aggregate'; + } + + protected function compileLimit($query, $limit) + { + return 'fetch first '.(int) $limit.' rows only'; + } + + public function compileExists( + \Illuminate\Database\Query\Builder $query + ) { + $select = $this->compileSelect($query); + + return sprintf( + 'SELECT CASE WHEN EXISTS (%s) THEN 1 ELSE 0 END AS "exists" FROM SYSIBM.SYSDUMMY1', + $select + ); + } + + /** A non-NULL value used only for nullable TIMESTAMP result columns. */ + public const NULL_TIMESTAMP_SENTINEL = '__DB2_NULL_TIMESTAMP__'; + + public function compileSelect(\Illuminate\Database\Query\Builder $query) + { + if ( + ! is_string($query->from) || + ! preg_match('/^(?:"[^"]+"|[A-Za-z_][A-Za-z0-9_]*)(?:\.(?:"[^"]+"|[A-Za-z_][A-Za-z0-9_]*))?$/', $query->from) || + ! empty($query->joins) || ! empty($query->unions) || + ! empty($query->groups) || ! empty($query->havings) || + $query->aggregate !== null || $query->distinct + ) { + return parent::compileSelect($query); + } + + $table = $query->from; + if (! isset($this->db2ColumnCache[$table])) { + $this->db2ColumnCache[$table] = $this->connection + ->getSchemaBuilder()->getColumns($table); + } + + $metadata = []; + foreach ($this->db2ColumnCache[$table] as $column) { + $metadata[strtolower($column['name'])] = $column; + } + + $columns = $query->columns ?? ['*']; + if ($columns === ['*']) { + $columns = array_column($this->db2ColumnCache[$table], 'name'); + } + + $ordinary = []; + $lobs = []; + $changed = false; + + foreach ($columns as $column) { + // Expressions and partial wildcards cannot be safely rearranged. + if (! is_string($column) || ! preg_match( + '/^((?:"[^"]+"|[A-Za-z_][A-Za-z0-9_]*)(?:\.(?:"[^"]+"|[A-Za-z_][A-Za-z0-9_]*))?)(?:\s+as\s+("[^"]+"|[A-Za-z_][A-Za-z0-9_]*))?$/i', + $column, $matches + )) { + return parent::compileSelect($query); + } + + $identifier = $matches[1]; + $parts = explode('.', $identifier); + $name = trim(end($parts), '"'); + $info = $metadata[strtolower($name)] ?? null; + if ($info === null) { + return parent::compileSelect($query); + } + + $type = strtoupper($info['type_name']); + $selected = $column; + + // Work around PDO_ODBC attempting a 4 GiB allocation +// when fetching NULL Fortify VARCHAR(4096) columns. + if ( + ($info['nullable'] ?? false) + && $type === 'VARCHAR' + && in_array($name, [ + 'two_factor_secret', + 'two_factor_recovery_codes', + ], true) + ) { + $alias = isset($matches[2]) + ? trim($matches[2], '"') + : $name; + + $wrapped = $this->wrap($identifier); + + $selected = new Expression( + 'COALESCE(' + . $wrapped + . ", CAST('__DB2_NULL_STRING__' AS VARCHAR(4096))) AS " + . $this->wrap($alias) + ); + + $changed = true; + } + + if (($info['nullable'] ?? false) && in_array($type, ['TIMESTAMP', 'DATE', 'TIME'], true)) { + // Never return a SQL NULL date/time to the broken PDO_ODBC + // retrieval path. Use a non-NULL character expression instead. + $format = match ($type) { + 'DATE' => 'YYYY-MM-DD', + 'TIME' => 'HH24:MI:SS', + default => 'YYYY-MM-DD HH24:MI:SS.FF6', + }; + $alias = isset($matches[2]) ? trim($matches[2], '"') : $name; + $wrapped = $this->wrap($identifier); + $selected = new Expression( + 'CASE WHEN '.$wrapped.' IS NULL THEN '. + "'".self::NULL_TIMESTAMP_SENTINEL."'". + ' ELSE VARCHAR_FORMAT('.$wrapped.", '".$format."') END AS ". + $this->wrap($alias) + ); + $changed = true; + } + + if (in_array($type, ['CLOB', 'BLOB', 'DBCLOB'], true)) { + $lobs[] = $selected; + } else { + $ordinary[] = $selected; + } + } + + if ($lobs !== [] && $ordinary !== [] && $columns !== array_merge( + array_filter($ordinary, 'is_string'), + array_filter($lobs, 'is_string') + )) { + $changed = true; + } + + if (! $changed && $lobs === []) { + return parent::compileSelect($query); + } + + $modified = clone $query; + $modified->columns = array_merge($ordinary, $lobs); + return parent::compileSelect($modified); + } +} diff --git a/app/Database/Db2/Db2SchemaBuilder.php b/app/Database/Db2/Db2SchemaBuilder.php new file mode 100644 index 0000000..0873e75 --- /dev/null +++ b/app/Database/Db2/Db2SchemaBuilder.php @@ -0,0 +1,277 @@ +parseDb2TableName($table); + + $schema ??= $this->connection->getConfig('schema'); + + $result = $this->connection->selectOne( + 'SELECT COUNT(*) AS CNT + FROM SYSCAT.TABLES + WHERE TABSCHEMA = ? + AND TABNAME = ?', + [strtoupper($schema), $table] + ); + + return (int) $result->CNT > 0; + } + + public function dropAllTables() + { + $schema = $this->connection->getConfig('schema'); + + if (!$schema || !preg_match('/^[A-Za-z_][A-Za-z0-9_]*$/', $schema)) { + throw new \RuntimeException('A valid Db2 schema is required for db:wipe.'); + } + + $schema = strtoupper($schema); + + $tables = $this->connection->select( + "SELECT TABNAME + FROM SYSCAT.TABLES + WHERE TABSCHEMA = ? + AND TYPE = 'T' + ORDER BY TABNAME", + [$schema] + ); + + foreach ($tables as $table) { + $name = $table->TABNAME ?? $table->tabname ?? null; + + if ($name === null) { + throw new \RuntimeException('Unable to read Db2 table name.'); + } + + $qualified = '"' . str_replace('"', '""', $schema) . '"."' . + str_replace('"', '""', trim($name)) . '"'; + + $this->connection->statement( + "DROP TABLE {$qualified}" + ); + } + } + + + // BEGIN DB2 SCHEMA INSPECTION + + private function db2Schema($schema = null) + { + $schema = $schema ?? $this->connection->getConfig('schema'); + + if (!is_string($schema) || $schema === '') { + throw new \RuntimeException('Invalid Db2 schema.'); + } + + $schema = trim($schema); + + if (str_starts_with($schema, '"') && str_ends_with($schema, '"')) { + $schema = substr($schema, 1, -1); + $schema = str_replace('""', '"', $schema); + } + + if (!preg_match('/^[A-Za-z_][A-Za-z0-9_]*$/', $schema)) { + throw new \RuntimeException('Invalid Db2 schema.'); + } + + return strtoupper($schema); + } + public function getTables($schema = null) + { + $schema = $this->db2Schema($schema); + + $rows = $this->connection->select( + "SELECT TABSCHEMA, TABNAME, TYPE + FROM SYSCAT.TABLES + WHERE TABSCHEMA = ? + AND TYPE IN ('T', 'V') + ORDER BY TABNAME", + [$schema] + ); + + return array_map(static function ($row) { + $name = trim($row->TABNAME); + $schema = trim($row->TABSCHEMA); + + return [ + 'name' => $name, + 'schema' => $schema, + 'schema_qualified_name' => + '"' . str_replace('"', '""', $schema) . + '"."' . str_replace('"', '""', $name) . '"', + 'type' => $row->TYPE === 'V' ? 'view' : 'table', + 'size' => null, + 'engine' => null, + 'collation' => null, + 'comment' => null, + ]; + }, $rows); + } + + public function getColumns($table) + { + [$schema, $table] = $this->parseSchemaAndTable($table); + + $schema = $this->db2Schema($schema); + + // Remove identifier quotes while preserving lowercase names. + $table = trim($table, '"'); + $table = str_replace('""', '"', $table); + + $rows = $this->connection->select( + "SELECT COLNAME, TYPENAME, LENGTH, SCALE, + NULLS, IDENTITY, COLNO + FROM SYSCAT.COLUMNS + WHERE TABSCHEMA = ? + AND TABNAME = ? + ORDER BY COLNO", + [$schema, $table] + ); + + return array_map(static function ($row) { + $type = trim($row->TYPENAME); + + if (in_array(strtoupper($type), ['VARCHAR', 'CHAR', 'VARGRAPHIC', 'GRAPHIC'])) { + $type .= '(' . (int) $row->LENGTH . ')'; + } elseif (in_array(strtoupper($type), ['DECIMAL', 'NUMERIC'])) { + $type .= '(' . (int) $row->LENGTH . ',' . (int) $row->SCALE . ')'; + } + + return [ + 'name' => trim($row->COLNAME), + 'type_name' => trim($row->TYPENAME), + 'type' => $type, + 'collation' => null, + 'nullable' => trim($row->NULLS) === 'Y', + 'default' => null, + 'auto_increment' => trim($row->IDENTITY) === 'Y', + 'comment' => null, + 'generation' => null, + ]; + }, $rows); + } + + public function getIndexes($table) + { + [$schema, $table] = $this->parseSchemaAndTable($table); + $schema = $this->db2Schema($schema); + + $rows = $this->connection->select( + "SELECT I.INDNAME, I.UNIQUERULE, + C.COLNAME, C.COLSEQ + FROM SYSCAT.INDEXES I + JOIN SYSCAT.INDEXCOLUSE C + ON I.INDSCHEMA = C.INDSCHEMA + AND I.INDNAME = C.INDNAME + WHERE I.TABSCHEMA = ? + AND I.TABNAME = ? + ORDER BY I.INDNAME, C.COLSEQ", + [$schema, $table] + ); + + $indexes = []; + + foreach ($rows as $row) { + $name = trim($row->INDNAME); + + if (!isset($indexes[$name])) { + $indexes[$name] = [ + 'name' => $name, + 'columns' => [], + 'type' => 'btree', + 'unique' => in_array( + $row->UNIQUERULE, ['P', 'U'], true + ), + 'primary' => $row->UNIQUERULE === 'P', + ]; + } + + $indexes[$name]['columns'][] = trim($row->COLNAME); + } + + return array_values($indexes); + } + + public function getForeignKeys($table) + { + [$schema, $table] = $this->parseSchemaAndTable($table); + $schema = $this->db2Schema($schema); + + $rows = $this->connection->select( + "SELECT R.CONSTNAME, + R.REFTABSCHEMA, + R.REFTABNAME, + R.DELETERULE, + R.UPDATERULE, + K.COLNAME, + K.COLSEQ, + RK.COLNAME AS REFCOLNAME + FROM SYSCAT.REFERENCES R + JOIN SYSCAT.KEYCOLUSE K + ON R.TABSCHEMA = K.TABSCHEMA + AND R.TABNAME = K.TABNAME + AND R.CONSTNAME = K.CONSTNAME + JOIN SYSCAT.TABCONST TC + ON TC.TABSCHEMA = R.REFTABSCHEMA + AND TC.TABNAME = R.REFTABNAME + AND TC.TYPE = 'P' + JOIN SYSCAT.KEYCOLUSE RK + ON RK.TABSCHEMA = TC.TABSCHEMA + AND RK.TABNAME = TC.TABNAME + AND RK.CONSTNAME = TC.CONSTNAME + AND RK.COLSEQ = K.COLSEQ + WHERE R.TABSCHEMA = ? + AND R.TABNAME = ? + ORDER BY R.CONSTNAME, K.COLSEQ", + [$schema, $table] + ); + + $foreignKeys = []; + + foreach ($rows as $row) { + $name = trim($row->CONSTNAME); + + if (!isset($foreignKeys[$name])) { + $foreignKeys[$name] = [ + 'name' => $name, + 'columns' => [], + 'foreign_schema' => trim($row->REFTABSCHEMA), + 'foreign_table' => trim($row->REFTABNAME), + 'foreign_columns' => [], + 'on_update' => trim($row->UPDATERULE), + 'on_delete' => trim($row->DELETERULE), + ]; + } + + $foreignKeys[$name]['columns'][] = trim($row->COLNAME); + $foreignKeys[$name]['foreign_columns'][] = + trim($row->REFCOLNAME); + } + + return array_values($foreignKeys); + } + + private function parseDb2TableName(string $table): array + { + if (preg_match('/^"((?:[^"]|"")*)"\."((?:[^"]|"")*)"$/', $table, $matches)) { + return [ + str_replace('""', '"', $matches[1]), + str_replace('""', '"', $matches[2]), + ]; + } + + [$schema, $name] = $this->parseSchemaAndTable($table); + + return [ + $schema === null ? null : trim($schema, '"'), + trim($name, '"'), + ]; + } + +} diff --git a/app/Database/Db2/Db2SchemaGrammar.php b/app/Database/Db2/Db2SchemaGrammar.php new file mode 100644 index 0000000..ca5340b --- /dev/null +++ b/app/Database/Db2/Db2SchemaGrammar.php @@ -0,0 +1,227 @@ +getAddedColumns() as $column) { + $sql = $this->wrap($column) . ' ' . $this->getType($column); + + if ($column->autoIncrement) { + $sql .= ' GENERATED BY DEFAULT AS IDENTITY'; + + // Laravel's $table->id() does not explicitly + // set the primary attribute. + $primaryKeys[] = $column->name; + } + + $sql .= $column->nullable ? '' : ' NOT NULL'; + + if (!is_null($column->default)) { + $sql .= ' DEFAULT ' . $this->getDefaultValue($column->default); + } + + $columns[] = $sql; + } + + // Db2 identity columns are not automatically primary keys. + if (!empty($primaryKeys)) { + $columns[] = sprintf( + 'PRIMARY KEY (%s)', + $this->columnize($primaryKeys) + ); + } + + return sprintf( + 'CREATE TABLE %s (%s)', + $this->wrapTable($blueprint), + implode(', ', $columns) + ); + } + + protected function typeBigInteger(Fluent $column) + { + return 'BIGINT'; + } + + protected function typeInteger(Fluent $column) + { + return 'INTEGER'; + } + + protected function typeSmallInteger(Fluent $column) + { + return 'SMALLINT'; + } + + protected function typeString(Fluent $column) + { + return 'VARCHAR(' . ($column->length ?: 255) . ')'; + } + + protected function typeText(Fluent $column) + { + return 'CLOB(1M)'; + } + + protected function typeLongText(Fluent $column) + { + return 'CLOB(2M)'; + } + + protected function typeBoolean(Fluent $column) + { + return 'SMALLINT'; + } + + protected function typeTimestamp(Fluent $column) + { + return 'TIMESTAMP'; + } + + protected function typeDateTime(Fluent $column) + { + return 'TIMESTAMP'; + } + + protected function typeDate(Fluent $column) + { + return 'DATE'; + } + + protected function typeBinary(Fluent $column) + { + return 'BLOB(1M)'; + } + + protected function typeDecimal(Fluent $column) + { + return sprintf( + 'DECIMAL(%d,%d)', + $column->total ?? 8, + $column->places ?? 2 + ); + } + + public function compilePrimary(Blueprint $blueprint, Fluent $command) + { + return sprintf( + 'ALTER TABLE %s ADD PRIMARY KEY (%s)', + $this->wrapTable($blueprint), + $this->columnize($command->columns) + ); + } + + protected function typeMediumText(Fluent $column) + { + return 'CLOB(16M)'; + } + + public function compileUnique(Blueprint $blueprint, Fluent $command) + { + return sprintf( + 'CREATE UNIQUE INDEX %s ON %s (%s)', + $this->wrap($command->index), + $this->wrapTable($blueprint), + $this->columnize($command->columns) + ); + } + + public function compileIndex(Blueprint $blueprint, Fluent $command) + { + return sprintf( + 'CREATE INDEX %s ON %s (%s)', + $this->wrap($command->index), + $this->wrapTable($blueprint), + $this->columnize($command->columns) + ); + } + + protected function typeJson(\Illuminate\Database\Schema\ColumnDefinition $column) + { + return 'CLOB(1M)'; + } + + protected function typeJsonb(\Illuminate\Database\Schema\ColumnDefinition $column) + { + return 'CLOB(1M)'; + } + + protected function typeTinyText(\Illuminate\Database\Schema\ColumnDefinition $column) + { + return 'VARCHAR(255)'; + } + + public function compileInsertOrIgnore( + \Illuminate\Database\Query\Builder $query, + array $values + ) { + if (empty($values)) { + return ''; + } + + if (!is_array(reset($values))) { + $values = [$values]; + } + + $columns = array_keys(reset($values)); + + $table = $this->wrapTable($query->from); + + $sourceColumns = implode( + ', ', + array_map(fn ($column) => $this->wrap($column), $columns) + ); + + $rows = []; + + foreach ($values as $row) { + $rows[] = '(' . implode( + ', ', + array_fill(0, count($columns), '?') + ) . ')'; + } + + $source = implode(', ', $rows); + + $conditions = []; + + foreach ($columns as $column) { + $wrapped = $this->wrap($column); + + $conditions[] = "target.$wrapped = source.$wrapped"; + } + + return sprintf( + 'MERGE INTO %s AS target + USING (VALUES %s) AS source (%s) + ON %s + WHEN NOT MATCHED THEN + INSERT (%s) + VALUES (%s)', + $table, + $source, + $sourceColumns, + implode(' AND ', $conditions), + $sourceColumns, + implode( + ', ', + array_map( + fn ($column) => 'source.' . $this->wrap($column), + $columns + ) + ) + ); + } +} diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.php new file mode 100755 index 0000000..8677cd5 --- /dev/null +++ b/app/Http/Controllers/Controller.php @@ -0,0 +1,8 @@ +logout(); + + Session::invalidate(); + Session::regenerateToken(); + + return redirect('/'); + } +} diff --git a/app/Livewire/Settings/Appearance.php b/app/Livewire/Settings/Appearance.php new file mode 100755 index 0000000..7550e32 --- /dev/null +++ b/app/Livewire/Settings/Appearance.php @@ -0,0 +1,12 @@ +validate([ + 'password' => $this->currentPasswordRules(), + ]); + + tap(Auth::user(), $logout(...))->delete(); + + $this->redirect('/', navigate: true); + } +} diff --git a/app/Livewire/Settings/Profile.php b/app/Livewire/Settings/Profile.php new file mode 100755 index 0000000..a78533b --- /dev/null +++ b/app/Livewire/Settings/Profile.php @@ -0,0 +1,84 @@ +name = Auth::user()->name; + $this->email = Auth::user()->email; + } + + /** + * Update the profile information for the currently authenticated user. + */ + public function updateProfileInformation(): void + { + $user = Auth::user(); + + $validated = $this->validate($this->profileRules($user->id)); + + $user->fill($validated); + + if ($user->isDirty('email')) { + $user->email_verified_at = null; + } + + $user->save(); + + Flux::toast(variant: 'success', text: __('Profile updated.')); + } + + /** + * Send an email verification notification to the current user. + */ + public function resendVerificationNotification(): void + { + $user = Auth::user(); + + if ($user->hasVerifiedEmail()) { + $this->redirectIntended(default: route('dashboard', absolute: false)); + + return; + } + + $user->sendEmailVerificationNotification(); + + Flux::toast(text: __('A new verification link has been sent to your email address.')); + } + + #[Computed] + public function hasUnverifiedEmail(): bool + { + $user = Auth::user(); + + return $user instanceof MustVerifyEmail && ! $user->hasVerifiedEmail(); + } + + #[Computed] + public function showDeleteUser(): bool + { + $user = Auth::user(); + + return ! $user instanceof MustVerifyEmail || $user->hasVerifiedEmail(); + } +} diff --git a/app/Livewire/Settings/Security.php b/app/Livewire/Settings/Security.php new file mode 100755 index 0000000..85ec4a6 --- /dev/null +++ b/app/Livewire/Settings/Security.php @@ -0,0 +1,312 @@ + + */ + #[Locked] + public array $passkeys = []; + + public bool $showDeleteModal = false; + + #[Locked] + public ?int $deletingPasskeyId = null; + + #[Locked] + public string $deletingPasskeyName = ''; + + /** + * Mount the component. + */ + public function mount(DisableTwoFactorAuthentication $disableTwoFactorAuthentication): void + { + $this->canManageTwoFactor = Features::canManageTwoFactorAuthentication(); + + if ($this->canManageTwoFactor) { + if (Fortify::confirmsTwoFactorAuthentication() && is_null(auth()->user()->two_factor_confirmed_at)) { + $disableTwoFactorAuthentication(auth()->user()); + } + + $this->twoFactorEnabled = auth()->user()->hasEnabledTwoFactorAuthentication(); + $this->requiresConfirmation = Features::optionEnabled(Features::twoFactorAuthentication(), 'confirm'); + } + + $this->canManagePasskeys = Features::canManagePasskeys(); + + if ($this->canManagePasskeys) { + $this->loadPasskeys(); + } + } + + /** + * Update the password for the currently authenticated user. + */ + public function updatePassword(): void + { + try { + $validated = $this->validate([ + 'current_password' => $this->currentPasswordRules(), + 'password' => $this->passwordRules(), + ]); + } catch (ValidationException $e) { + $this->reset('current_password', 'password', 'password_confirmation'); + + throw $e; + } + + Auth::user()->update([ + 'password' => $validated['password'], + ]); + + $this->reset('current_password', 'password', 'password_confirmation'); + + Flux::toast(variant: 'success', text: __('Password updated.')); + } + + /** + * Load the user's passkeys. + */ + public function loadPasskeys(): void + { + $this->passkeys = Auth::user()->passkeys() + ->select(['id', 'name', 'credential', 'created_at', 'last_used_at']) + ->latest() + ->get() + ->map(fn ($passkey) => [ + 'id' => $passkey->id, + 'name' => $passkey->name, + 'authenticator' => $passkey->authenticator, + 'created_at_diff' => $passkey->created_at->diffForHumans(), + 'last_used_at_diff' => $passkey->last_used_at?->diffForHumans(), + ]) + ->all(); + } + + /** + * Show the delete confirmation modal. + */ + public function confirmDelete(int $passkeyId): void + { + $passkey = Auth::user()->passkeys()->findOrFail($passkeyId); + + $this->deletingPasskeyId = $passkey->id; + $this->deletingPasskeyName = $passkey->name; + $this->showDeleteModal = true; + } + + /** + * Delete the passkey. + */ + public function deletePasskey(DeletePasskey $deletePasskey): void + { + if (! $this->deletingPasskeyId) { + return; + } + + $user = Auth::user(); + $passkey = $user->passkeys()->findOrFail($this->deletingPasskeyId); + + $deletePasskey($user, $passkey); + + $this->closeDeleteModal(); + $this->loadPasskeys(); + } + + /** + * Close the delete confirmation modal. + */ + public function closeDeleteModal(): void + { + $this->showDeleteModal = false; + $this->deletingPasskeyId = null; + $this->deletingPasskeyName = ''; + } + + /** + * Enable two-factor authentication for the user. + */ + public function enable(EnableTwoFactorAuthentication $enableTwoFactorAuthentication): void + { + $enableTwoFactorAuthentication(auth()->user()); + + if (! $this->requiresConfirmation) { + $this->twoFactorEnabled = auth()->user()->hasEnabledTwoFactorAuthentication(); + } + + $this->loadSetupData(); + + $this->showModal = true; + } + + /** + * Load the two-factor authentication setup data for the user. + */ + private function loadSetupData(): void + { + $user = auth()->user(); + + try { + $this->qrCodeSvg = $user?->twoFactorQrCodeSvg(); + $this->manualSetupKey = decrypt($user->two_factor_secret); + } catch (Exception) { + $this->addError('setupData', 'Failed to fetch setup data.'); + + $this->reset('qrCodeSvg', 'manualSetupKey'); + } + } + + /** + * Show the two-factor verification step if necessary. + */ + public function showVerificationIfNecessary(): void + { + if ($this->requiresConfirmation) { + $this->showVerificationStep = true; + + $this->resetErrorBag(); + + return; + } + + $this->closeModal(); + } + + /** + * Confirm two-factor authentication for the user. + */ + public function confirmTwoFactor(ConfirmTwoFactorAuthentication $confirmTwoFactorAuthentication): void + { + $this->validate(); + + $confirmTwoFactorAuthentication(auth()->user(), $this->code); + + $this->closeModal(); + + $this->twoFactorEnabled = true; + } + + /** + * Reset two-factor verification state. + */ + public function resetVerification(): void + { + $this->reset('code', 'showVerificationStep'); + + $this->resetErrorBag(); + } + + /** + * Disable two-factor authentication for the user. + */ + public function disable(DisableTwoFactorAuthentication $disableTwoFactorAuthentication): void + { + $disableTwoFactorAuthentication(auth()->user()); + + $this->twoFactorEnabled = false; + } + + /** + * Close the two-factor authentication modal. + */ + public function closeModal(): void + { + $this->reset( + 'code', + 'manualSetupKey', + 'qrCodeSvg', + 'showModal', + 'showVerificationStep', + ); + + $this->resetErrorBag(); + + if (! $this->requiresConfirmation) { + $this->twoFactorEnabled = auth()->user()->hasEnabledTwoFactorAuthentication(); + } + } + + /** + * Get the current modal configuration state. + * + * @return array{title: string, description: string, buttonText: string} + */ + #[Computed] + public function modalConfig(): array + { + if ($this->twoFactorEnabled) { + return [ + 'title' => __('Two-factor authentication enabled'), + 'description' => __('Two-factor authentication is now enabled. Scan the QR code or enter the setup key in your authenticator app.'), + 'buttonText' => __('Close'), + ]; + } + + if ($this->showVerificationStep) { + return [ + 'title' => __('Verify authentication code'), + 'description' => __('Enter the 6-digit code from your authenticator app.'), + 'buttonText' => __('Continue'), + ]; + } + + return [ + 'title' => __('Enable two-factor authentication'), + 'description' => __('To finish enabling two-factor authentication, scan the QR code or enter the setup key in your authenticator app.'), + 'buttonText' => __('Continue'), + ]; + } +} diff --git a/app/Livewire/Settings/TwoFactor/RecoveryCodes.php b/app/Livewire/Settings/TwoFactor/RecoveryCodes.php new file mode 100755 index 0000000..ab4d890 --- /dev/null +++ b/app/Livewire/Settings/TwoFactor/RecoveryCodes.php @@ -0,0 +1,51 @@ + */ + #[Locked] + public array $recoveryCodes = []; + + /** + * Mount the component. + */ + public function mount(): void + { + $this->loadRecoveryCodes(); + } + + /** + * Generate new recovery codes for the user. + */ + public function regenerateRecoveryCodes(GenerateNewRecoveryCodes $generateNewRecoveryCodes): void + { + $generateNewRecoveryCodes(auth()->user()); + + $this->loadRecoveryCodes(); + } + + /** + * Load the recovery codes for the user. + */ + private function loadRecoveryCodes(): void + { + $user = auth()->user(); + + if ($user->hasEnabledTwoFactorAuthentication() && $user->two_factor_recovery_codes) { + try { + $this->recoveryCodes = json_decode(decrypt($user->two_factor_recovery_codes), true); + } catch (Exception) { + $this->addError('recoveryCodes', 'Failed to load recovery codes'); + + $this->recoveryCodes = []; + } + } + } +} diff --git a/app/Models/User.php b/app/Models/User.php new file mode 100755 index 0000000..047225e --- /dev/null +++ b/app/Models/User.php @@ -0,0 +1,62 @@ + */ + use HasFactory, Notifiable, PasskeyAuthenticatable, TwoFactorAuthenticatable; + + /** + * Get the attributes that should be cast. + * + * @return array + */ + protected function casts(): array + { + return [ + 'email_verified_at' => 'datetime', + 'password' => 'hashed', + ]; + } + + /** + * Get the user's initials + */ + public function initials(): string + { + $initials = Str::initials($this->name, true); + + return Str::length($initials) > 1 + ? Str::substr($initials, 0, 1).Str::substr($initials, -1) + : $initials; + } +} diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php new file mode 100644 index 0000000..b333067 --- /dev/null +++ b/app/Providers/AppServiceProvider.php @@ -0,0 +1,57 @@ + PDO::ERRMODE_EXCEPTION, + PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_OBJ, + ] + ); + + $schema = $config['schema'] ?? null; + + if ($schema) { + if (!preg_match('/^[A-Za-z_][A-Za-z0-9_]*$/', $schema)) { + throw new \InvalidArgumentException('Invalid Db2 schema'); + } + + $pdo->exec('SET CURRENT SCHEMA ' . $schema); + } + + $config['name'] = $name; + + return new Db2Connection( + $pdo, + $config['database'] ?? '', + $config['prefix'] ?? '', + $config + ); + }); + } + + public function boot(): void + { + \DB::connection('db2_local')->beforeExecuting( + function ($sql, $bindings, $connection) { + logger()->debug('DB2 BEFORE EXECUTE', [ + 'sql' => $sql, + 'bindings_count' => count($bindings), + ]); + } + ); + } +} diff --git a/app/Providers/FortifyServiceProvider.php b/app/Providers/FortifyServiceProvider.php new file mode 100755 index 0000000..72f4195 --- /dev/null +++ b/app/Providers/FortifyServiceProvider.php @@ -0,0 +1,80 @@ +configureActions(); + $this->configureViews(); + $this->configureRateLimiting(); + } + + /** + * Configure Fortify actions. + */ + private function configureActions(): void + { + Fortify::resetUserPasswordsUsing(ResetUserPassword::class); + Fortify::createUsersUsing(CreateNewUser::class); + } + + /** + * Configure Fortify views. + */ + private function configureViews(): void + { + Fortify::loginView(fn () => view('livewire.auth.login')); + Fortify::verifyEmailView(fn () => view('livewire.auth.verify-email')); + Fortify::twoFactorChallengeView(fn () => view('livewire.auth.two-factor-challenge')); + Fortify::confirmPasswordView(fn () => view('livewire.auth.confirm-password')); + Fortify::registerView(fn () => view('livewire.auth.register')); + Fortify::resetPasswordView(fn () => view('livewire.auth.reset-password')); + Fortify::requestPasswordResetLinkView(fn () => view('livewire.auth.forgot-password')); + } + + /** + * Configure rate limiting. + */ + private function configureRateLimiting(): void + { + RateLimiter::for('two-factor', function (Request $request) { + return Limit::perMinute(5)->by($request->session()->get('login.id')); + }); + + RateLimiter::for('login', function (Request $request) { + $throttleKey = Str::transliterate(Str::lower($request->input(Fortify::username())).'|'.$request->ip()); + + return Limit::perMinute(5)->by($throttleKey); + }); + + RateLimiter::for('passkeys', function (Request $request) { + $credentialId = $request->input('credential.id'); + + return Limit::perMinute(10)->by( + ($credentialId ?: $request->session()->getId()).'|'.$request->ip(), + ); + }); + } +} diff --git a/artisan b/artisan new file mode 100755 index 0000000..c35e31d --- /dev/null +++ b/artisan @@ -0,0 +1,18 @@ +#!/usr/bin/env php +handleCommand(new ArgvInput); + +exit($status); diff --git a/boost.json b/boost.json new file mode 100755 index 0000000..13be9e4 --- /dev/null +++ b/boost.json @@ -0,0 +1,19 @@ +{ + "agents": [ + "junie" + ], + "cloud": false, + "guidelines": true, + "mcp": true, + "nightwatch": false, + "sail": false, + "skills": [ + "infer-conventions", + "fortify-development", + "laravel-best-practices", + "fluxui-development", + "livewire-development", + "pest-testing", + "tailwindcss-development" + ] +} diff --git a/bootstrap/app.php b/bootstrap/app.php new file mode 100755 index 0000000..1085719 --- /dev/null +++ b/bootstrap/app.php @@ -0,0 +1,21 @@ +withRouting( + web: __DIR__.'/../routes/web.php', + commands: __DIR__.'/../routes/console.php', + health: '/up', + ) + ->withMiddleware(function (Middleware $middleware): void { + // + }) + ->withExceptions(function (Exceptions $exceptions): void { + $exceptions->shouldRenderJsonWhen( + fn (Request $request) => $request->is('api/*') || $request->expectsJson(), + ); + })->create(); diff --git a/bootstrap/cache/.gitignore b/bootstrap/cache/.gitignore new file mode 100755 index 0000000..d6b7ef3 --- /dev/null +++ b/bootstrap/cache/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/bootstrap/providers.php b/bootstrap/providers.php new file mode 100755 index 0000000..5ffd769 --- /dev/null +++ b/bootstrap/providers.php @@ -0,0 +1,9 @@ + env('APP_NAME', 'Laravel'), + + /* + |-------------------------------------------------------------------------- + | Application Environment + |-------------------------------------------------------------------------- + | + | This value determines the "environment" your application is currently + | running in. This may determine how you prefer to configure various + | services the application utilizes. Set this in your ".env" file. + | + */ + + 'env' => env('APP_ENV', 'production'), + + /* + |-------------------------------------------------------------------------- + | Application Debug Mode + |-------------------------------------------------------------------------- + | + | When your application is in debug mode, detailed error messages with + | stack traces will be shown on every error that occurs within your + | application. If disabled, a simple generic error page is shown. + | + */ + + 'debug' => (bool) env('APP_DEBUG', false), + + /* + |-------------------------------------------------------------------------- + | Application URL + |-------------------------------------------------------------------------- + | + | This URL is used by the console to properly generate URLs when using + | the Artisan command line tool. You should set this to the root of + | the application so that it's available within Artisan commands. + | + */ + + 'url' => env('APP_URL', 'http://localhost'), + + /* + |-------------------------------------------------------------------------- + | Application Timezone + |-------------------------------------------------------------------------- + | + | Here you may specify the default timezone for your application, which + | will be used by the PHP date and date-time functions. The timezone + | is set to "UTC" by default as it is suitable for most use cases. + | + */ + + 'timezone' => 'UTC', + + /* + |-------------------------------------------------------------------------- + | Application Locale Configuration + |-------------------------------------------------------------------------- + | + | The application locale determines the default locale that will be used + | by Laravel's translation / localization methods. This option can be + | set to any locale for which you plan to have translation strings. + | + */ + + 'locale' => env('APP_LOCALE', 'en'), + + 'fallback_locale' => env('APP_FALLBACK_LOCALE', 'en'), + + 'faker_locale' => env('APP_FAKER_LOCALE', 'en_US'), + + /* + |-------------------------------------------------------------------------- + | Encryption Key + |-------------------------------------------------------------------------- + | + | This key is utilized by Laravel's encryption services and should be set + | to a random, 32 character string to ensure that all encrypted values + | are secure. You should do this prior to deploying the application. + | + */ + + 'cipher' => 'AES-256-CBC', + + 'key' => env('APP_KEY'), + + 'previous_keys' => [ + ...array_filter( + explode(',', (string) env('APP_PREVIOUS_KEYS', '')), + ), + ], + + /* + |-------------------------------------------------------------------------- + | Maintenance Mode Driver + |-------------------------------------------------------------------------- + | + | These configuration options determine the driver used to determine and + | manage Laravel's "maintenance mode" status. The "cache" driver will + | allow maintenance mode to be controlled across multiple machines. + | + | Supported drivers: "file", "cache", "array" + | + */ + + 'maintenance' => [ + 'driver' => env('APP_MAINTENANCE_DRIVER', 'file'), + 'store' => env('APP_MAINTENANCE_STORE', 'database'), + ], + +]; diff --git a/config/auth.php b/config/auth.php new file mode 100755 index 0000000..d7568ff --- /dev/null +++ b/config/auth.php @@ -0,0 +1,117 @@ + [ + 'guard' => env('AUTH_GUARD', 'web'), + 'passwords' => env('AUTH_PASSWORD_BROKER', 'users'), + ], + + /* + |-------------------------------------------------------------------------- + | Authentication Guards + |-------------------------------------------------------------------------- + | + | Next, you may define every authentication guard for your application. + | Of course, a great default configuration has been defined for you + | which utilizes session storage plus the Eloquent user provider. + | + | All authentication guards have a user provider, which defines how the + | users are actually retrieved out of your database or other storage + | system used by the application. Typically, Eloquent is utilized. + | + | Supported: "session" + | + */ + + 'guards' => [ + 'web' => [ + 'driver' => 'session', + 'provider' => 'users', + ], + ], + + /* + |-------------------------------------------------------------------------- + | User Providers + |-------------------------------------------------------------------------- + | + | All authentication guards have a user provider, which defines how the + | users are actually retrieved out of your database or other storage + | system used by the application. Typically, Eloquent is utilized. + | + | If you have multiple user tables or models you may configure multiple + | providers to represent the model / table. These providers may then + | be assigned to any extra authentication guards you have defined. + | + | Supported: "database", "eloquent" + | + */ + + 'providers' => [ + 'users' => [ + 'driver' => 'eloquent', + 'model' => env('AUTH_MODEL', User::class), + ], + + // 'users' => [ + // 'driver' => 'database', + // 'table' => 'users', + // ], + ], + + /* + |-------------------------------------------------------------------------- + | Resetting Passwords + |-------------------------------------------------------------------------- + | + | These configuration options specify the behavior of Laravel's password + | reset functionality, including the table utilized for token storage + | and the user provider that is invoked to actually retrieve users. + | + | The expiry time is the number of minutes that each reset token will be + | considered valid. This security feature keeps tokens short-lived so + | they have less time to be guessed. You may change this as needed. + | + | The throttle setting is the number of seconds a user must wait before + | generating more password reset tokens. This prevents the user from + | quickly generating a very large amount of password reset tokens. + | + */ + + 'passwords' => [ + 'users' => [ + 'provider' => 'users', + 'table' => env('AUTH_PASSWORD_RESET_TOKEN_TABLE', 'password_reset_tokens'), + 'expire' => 60, + 'throttle' => 60, + ], + ], + + /* + |-------------------------------------------------------------------------- + | Password Confirmation Timeout + |-------------------------------------------------------------------------- + | + | Here you may define the number of seconds before a password confirmation + | window expires and users are asked to re-enter their password via the + | confirmation screen. By default, the timeout lasts for three hours. + | + */ + + 'password_timeout' => env('AUTH_PASSWORD_TIMEOUT', 10800), + +]; diff --git a/config/cache.php b/config/cache.php new file mode 100755 index 0000000..d7eec61 --- /dev/null +++ b/config/cache.php @@ -0,0 +1,136 @@ + env('CACHE_STORE', 'database'), + + /* + |-------------------------------------------------------------------------- + | Cache Stores + |-------------------------------------------------------------------------- + | + | Here you may define all of the cache "stores" for your application as + | well as their drivers. You may even define multiple stores for the + | same cache driver to group types of items stored in your caches. + | + | Supported drivers: "array", "database", "file", "memcached", + | "redis", "dynamodb", "storage", "octane", + | "session", "failover", "null" + | + */ + + 'stores' => [ + + 'array' => [ + 'driver' => 'array', + 'serialize' => false, + ], + + 'database' => [ + 'driver' => 'database', + 'connection' => env('DB_CACHE_CONNECTION'), + 'table' => env('DB_CACHE_TABLE', 'cache'), + 'lock_connection' => env('DB_CACHE_LOCK_CONNECTION'), + 'lock_table' => env('DB_CACHE_LOCK_TABLE'), + ], + + 'file' => [ + 'driver' => 'file', + 'path' => storage_path('framework/cache/data'), + 'lock_path' => storage_path('framework/cache/data'), + ], + + 'storage' => [ + 'driver' => 'storage', + 'disk' => env('CACHE_STORAGE_DISK'), + 'path' => env('CACHE_STORAGE_PATH', 'framework/cache/data'), + ], + + 'memcached' => [ + 'driver' => 'memcached', + 'persistent_id' => env('MEMCACHED_PERSISTENT_ID'), + 'sasl' => [ + env('MEMCACHED_USERNAME'), + env('MEMCACHED_PASSWORD'), + ], + 'options' => [ + // Memcached::OPT_CONNECT_TIMEOUT => 2000, + ], + 'servers' => [ + [ + 'host' => env('MEMCACHED_HOST', '127.0.0.1'), + 'port' => env('MEMCACHED_PORT', 11211), + 'weight' => 100, + ], + ], + ], + + 'redis' => [ + 'driver' => 'redis', + 'connection' => env('REDIS_CACHE_CONNECTION', 'cache'), + 'lock_connection' => env('REDIS_CACHE_LOCK_CONNECTION', 'default'), + ], + + 'dynamodb' => [ + 'driver' => 'dynamodb', + 'key' => env('AWS_ACCESS_KEY_ID'), + 'secret' => env('AWS_SECRET_ACCESS_KEY'), + 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), + 'table' => env('DYNAMODB_CACHE_TABLE', 'cache'), + 'endpoint' => env('DYNAMODB_ENDPOINT'), + ], + + 'octane' => [ + 'driver' => 'octane', + ], + + 'failover' => [ + 'driver' => 'failover', + 'stores' => [ + 'database', + 'array', + ], + ], + + ], + + /* + |-------------------------------------------------------------------------- + | Cache Key Prefix + |-------------------------------------------------------------------------- + | + | When utilizing the APC, database, memcached, Redis, and DynamoDB cache + | stores, there might be other applications using the same cache. For + | that reason, you may prefix every cache key to avoid collisions. + | + */ + + 'prefix' => env('CACHE_PREFIX', Str::slug((string) env('APP_NAME', 'laravel')).'-cache-'), + + /* + |-------------------------------------------------------------------------- + | Serializable Classes + |-------------------------------------------------------------------------- + | + | This value determines the classes that can be unserialized from cache + | storage. By default, no PHP classes will be unserialized from your + | cache to prevent gadget chain attacks if your APP_KEY is leaked. + | + */ + + 'serializable_classes' => false, + +]; diff --git a/config/database.php b/config/database.php new file mode 100644 index 0000000..23b2bce --- /dev/null +++ b/config/database.php @@ -0,0 +1,192 @@ + env('DB_CONNECTION', 'sqlite'), + + /* + |-------------------------------------------------------------------------- + | Database Connections + |-------------------------------------------------------------------------- + | + | Below are all of the database connections defined for your application. + | An example configuration is provided for each database system which + | is supported by Laravel. You're free to add / remove connections. + | + */ + + 'connections' => [ + 'db2_local' => [ + 'driver' => 'odbc', + 'dsn' => env('DB2_DSN', 'MEDIUK'), + 'database' => env('DB2_DATABASE', 'MAIN'), + 'schema' => env('DB2_SCHEMA', 'AAMEDIUK'), + 'username' => env('DB2_USERNAME', 'db2inst1'), + 'password' => env('DB2_PASSWORD', ''), + ], + + 'sqlite' => [ + 'driver' => 'sqlite', + 'url' => env('DB_URL'), + 'database' => env('DB_DATABASE', database_path('database.sqlite')), + 'prefix' => '', + 'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true), + 'busy_timeout' => null, + 'journal_mode' => null, + 'synchronous' => null, + 'transaction_mode' => 'DEFERRED', + ], + + 'mysql' => [ + 'driver' => 'mysql', + 'url' => env('DB_URL'), + 'host' => env('DB_HOST', '127.0.0.1'), + 'port' => env('DB_PORT', '3306'), + 'database' => env('DB_DATABASE', 'laravel'), + 'username' => env('DB_USERNAME', 'root'), + 'password' => env('DB_PASSWORD', ''), + 'unix_socket' => env('DB_SOCKET', ''), + 'charset' => env('DB_CHARSET', 'utf8mb4'), + 'collation' => env('DB_COLLATION', 'utf8mb4_unicode_ci'), + 'prefix' => '', + 'prefix_indexes' => true, + 'strict' => true, + 'engine' => null, + 'options' => extension_loaded('pdo_mysql') ? array_filter([ + Mysql::ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'), + ]) : [], + ], + + 'mariadb' => [ + 'driver' => 'mariadb', + 'url' => env('DB_URL'), + 'host' => env('DB_HOST', '127.0.0.1'), + 'port' => env('DB_PORT', '3306'), + 'database' => env('DB_DATABASE', 'laravel'), + 'username' => env('DB_USERNAME', 'root'), + 'password' => env('DB_PASSWORD', ''), + 'unix_socket' => env('DB_SOCKET', ''), + 'charset' => env('DB_CHARSET', 'utf8mb4'), + 'collation' => env('DB_COLLATION', 'utf8mb4_unicode_ci'), + 'prefix' => '', + 'prefix_indexes' => true, + 'strict' => true, + 'engine' => null, + 'options' => extension_loaded('pdo_mysql') ? array_filter([ + Mysql::ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'), + ]) : [], + ], + + 'pgsql' => [ + 'driver' => 'pgsql', + 'url' => env('DB_URL'), + 'host' => env('DB_HOST', '127.0.0.1'), + 'port' => env('DB_PORT', '5432'), + 'database' => env('DB_DATABASE', 'laravel'), + 'username' => env('DB_USERNAME', 'root'), + 'password' => env('DB_PASSWORD', ''), + 'charset' => env('DB_CHARSET', 'utf8'), + 'prefix' => '', + 'prefix_indexes' => true, + 'search_path' => 'public', + 'sslmode' => env('DB_SSLMODE', 'prefer'), + ], + + 'sqlsrv' => [ + 'driver' => 'sqlsrv', + 'url' => env('DB_URL'), + 'host' => env('DB_HOST', 'localhost'), + 'port' => env('DB_PORT', '1433'), + 'database' => env('DB_DATABASE', 'laravel'), + 'username' => env('DB_USERNAME', 'root'), + 'password' => env('DB_PASSWORD', ''), + 'charset' => env('DB_CHARSET', 'utf8'), + 'prefix' => '', + 'prefix_indexes' => true, + // 'encrypt' => env('DB_ENCRYPT', 'yes'), + // 'trust_server_certificate' => env('DB_TRUST_SERVER_CERTIFICATE', 'false'), + ], + + ], + + /* + |-------------------------------------------------------------------------- + | Migration Repository Table + |-------------------------------------------------------------------------- + | + | This table keeps track of all the migrations that have already run for + | your application. Using this information, we can determine which of + | the migrations on disk haven't actually been run on the database. + | + */ + + 'migrations' => [ + 'table' => 'migrations', + 'update_date_on_publish' => true, + ], + + /* + |-------------------------------------------------------------------------- + | Redis Databases + |-------------------------------------------------------------------------- + | + | Redis is an open source, fast, and advanced key-value store that also + | provides a richer body of commands than a typical key-value system + | such as Memcached. You may define your connection settings here. + | + */ + + 'redis' => [ + + 'client' => env('REDIS_CLIENT', 'phpredis'), + + 'options' => [ + 'cluster' => env('REDIS_CLUSTER', 'redis'), + 'prefix' => env('REDIS_PREFIX', Str::slug((string) env('APP_NAME', 'laravel')).'-database-'), + 'persistent' => env('REDIS_PERSISTENT', false), + ], + + 'default' => [ + 'url' => env('REDIS_URL'), + 'host' => env('REDIS_HOST', '127.0.0.1'), + 'username' => env('REDIS_USERNAME'), + 'password' => env('REDIS_PASSWORD'), + 'port' => env('REDIS_PORT', '6379'), + 'database' => env('REDIS_DB', '0'), + 'max_retries' => env('REDIS_MAX_RETRIES', 3), + 'backoff_algorithm' => env('REDIS_BACKOFF_ALGORITHM', 'decorrelated_jitter'), + 'backoff_base' => env('REDIS_BACKOFF_BASE', 100), + 'backoff_cap' => env('REDIS_BACKOFF_CAP', 1000), + ], + + 'cache' => [ + 'url' => env('REDIS_URL'), + 'host' => env('REDIS_HOST', '127.0.0.1'), + 'username' => env('REDIS_USERNAME'), + 'password' => env('REDIS_PASSWORD'), + 'port' => env('REDIS_PORT', '6379'), + 'database' => env('REDIS_CACHE_DB', '1'), + 'max_retries' => env('REDIS_MAX_RETRIES', 3), + 'backoff_algorithm' => env('REDIS_BACKOFF_ALGORITHM', 'decorrelated_jitter'), + 'backoff_base' => env('REDIS_BACKOFF_BASE', 100), + 'backoff_cap' => env('REDIS_BACKOFF_CAP', 1000), + ], + + ], + +]; diff --git a/config/filesystems.php b/config/filesystems.php new file mode 100755 index 0000000..6cfdfb3 --- /dev/null +++ b/config/filesystems.php @@ -0,0 +1,80 @@ + env('FILESYSTEM_DISK', 'local'), + + /* + |-------------------------------------------------------------------------- + | Filesystem Disks + |-------------------------------------------------------------------------- + | + | Below you may configure as many filesystem disks as necessary, and you + | may even configure multiple disks for the same driver. Examples for + | most supported storage drivers are configured here for reference. + | + | Supported drivers: "local", "ftp", "sftp", "s3" + | + */ + + 'disks' => [ + + 'local' => [ + 'driver' => 'local', + 'root' => storage_path('app/private'), + 'serve' => true, + 'throw' => false, + 'report' => false, + ], + + 'public' => [ + 'driver' => 'local', + 'root' => storage_path('app/public'), + 'url' => rtrim((string) env('APP_URL', 'http://localhost'), '/').'/storage', + 'visibility' => 'public', + 'throw' => false, + 'report' => false, + ], + + 's3' => [ + 'driver' => 's3', + 'key' => env('AWS_ACCESS_KEY_ID'), + 'secret' => env('AWS_SECRET_ACCESS_KEY'), + 'region' => env('AWS_DEFAULT_REGION'), + 'bucket' => env('AWS_BUCKET'), + 'url' => env('AWS_URL'), + 'endpoint' => env('AWS_ENDPOINT'), + 'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false), + 'throw' => false, + 'report' => false, + ], + + ], + + /* + |-------------------------------------------------------------------------- + | Symbolic Links + |-------------------------------------------------------------------------- + | + | Here you may configure the symbolic links that will be created when the + | `storage:link` Artisan command is executed. The array keys should be + | the locations of the links and the values should be their targets. + | + */ + + 'links' => [ + public_path('storage') => storage_path('app/public'), + ], + +]; diff --git a/config/fortify.php b/config/fortify.php new file mode 100755 index 0000000..b18f9e2 --- /dev/null +++ b/config/fortify.php @@ -0,0 +1,181 @@ + 'web', + + /* + |-------------------------------------------------------------------------- + | Fortify Password Broker + |-------------------------------------------------------------------------- + | + | Here you may specify which password broker Fortify can use when a user + | is resetting their password. This configured value should match one + | of your password brokers setup in your "auth" configuration file. + | + */ + + 'passwords' => 'users', + + /* + |-------------------------------------------------------------------------- + | Username / Email + |-------------------------------------------------------------------------- + | + | This value defines which model attribute should be considered as your + | application's "username" field. Typically, this might be the email + | address of the users but you are free to change this value here. + | + | Out of the box, Fortify expects forgot password and reset password + | requests to have a field named 'email'. If the application uses + | another name for the field you may define it below as needed. + | + */ + + 'username' => 'email', + + 'email' => 'email', + + /* + |-------------------------------------------------------------------------- + | Lowercase Usernames + |-------------------------------------------------------------------------- + | + | This value defines whether usernames should be lowercased before saving + | them in the database, as some database system string fields are case + | sensitive. You may disable this for your application if necessary. + | + */ + + 'lowercase_usernames' => true, + + /* + |-------------------------------------------------------------------------- + | Home Path + |-------------------------------------------------------------------------- + | + | Here you may configure the path where users will get redirected during + | authentication or password reset when the operations are successful + | and the user is authenticated. You are free to change this value. + | + */ + + 'home' => '/dashboard', + + /* + |-------------------------------------------------------------------------- + | Fortify Routes Prefix / Subdomain + |-------------------------------------------------------------------------- + | + | Here you may specify which prefix Fortify will assign to all the routes + | that it registers with the application. If necessary, you may change + | subdomain under which all of the Fortify routes will be available. + | + */ + + 'prefix' => '', + + 'domain' => null, + + /* + |-------------------------------------------------------------------------- + | Fortify Routes Middleware + |-------------------------------------------------------------------------- + | + | Here you may specify which middleware Fortify will assign to the routes + | that it registers with the application. If necessary, you may change + | these middleware but typically this provided default is preferred. + | + */ + + 'middleware' => ['web'], + + /* + |-------------------------------------------------------------------------- + | Rate Limiting + |-------------------------------------------------------------------------- + | + | By default, Fortify will throttle logins to five requests per minute for + | every email and IP address combination. However, if you would like to + | specify a custom rate limiter to call then you may specify it here. + | + */ + + 'limiters' => [ + 'login' => 'login', + 'two-factor' => 'two-factor', + 'passkeys' => 'passkeys', + ], + + /* + |-------------------------------------------------------------------------- + | Register View Routes + |-------------------------------------------------------------------------- + | + | Here you may specify if the routes returning views should be disabled as + | you may not need them when building your own application. This may be + | especially true if you're writing a custom single-page application. + | + */ + + 'views' => true, + + /* + |-------------------------------------------------------------------------- + | Passkeys + |-------------------------------------------------------------------------- + | + | These settings configure Fortify's passkey (WebAuthn) support. + | + */ + + 'passkeys' => [ + 'relying_party' => [ + 'id' => parse_url(env('APP_URL'), PHP_URL_HOST), + 'name' => env('APP_NAME', 'Laravel'), + ], + + 'allowed_origins' => [ + rtrim(env('APP_URL'), '/'), + ], + ], + + /* + |-------------------------------------------------------------------------- + | Features + |-------------------------------------------------------------------------- + | + | Some of the Fortify features are optional. You may disable the features + | by removing them from this array. You're free to only remove some of + | these features, or you can even remove all of these if you need to. + | + */ + + 'features' => [ + Features::registration(), + Features::resetPasswords(), + Features::emailVerification(), + Features::twoFactorAuthentication([ + 'confirm' => true, + 'confirmPassword' => true, + // 'window' => 0 + ]), + Features::passkeys([ + 'confirmPassword' => true, + ]), + ], + +]; diff --git a/config/logging.php b/config/logging.php new file mode 100755 index 0000000..bf49fcc --- /dev/null +++ b/config/logging.php @@ -0,0 +1,140 @@ + env('LOG_CHANNEL', 'stack'), + + /* + |-------------------------------------------------------------------------- + | Deprecations Log Channel + |-------------------------------------------------------------------------- + | + | This option controls the log channel that should be used to log warnings + | regarding deprecated PHP and library features. This allows you to get + | your application ready for upcoming major versions of dependencies. + | + */ + + 'deprecations' => [ + 'channel' => env('LOG_DEPRECATIONS_CHANNEL', 'null'), + 'trace' => env('LOG_DEPRECATIONS_TRACE', false), + ], + + /* + |-------------------------------------------------------------------------- + | Log Channels + |-------------------------------------------------------------------------- + | + | Here you may configure the log channels for your application. Laravel + | utilizes the Monolog PHP logging library, which includes a variety + | of powerful log handlers and formatters that you're free to use. + | + | Available drivers: "single", "daily", "slack", "syslog", + | "errorlog", "monolog", "custom", "stack" + | + */ + + 'channels' => [ + + 'stack' => [ + 'driver' => 'stack', + 'channels' => explode(',', (string) env('LOG_STACK', 'single')), + 'ignore_exceptions' => false, + ], + + 'single' => [ + 'driver' => 'single', + 'path' => storage_path('logs/laravel.log'), + 'level' => env('LOG_LEVEL', 'debug'), + 'replace_placeholders' => true, + ], + + 'daily' => [ + 'driver' => 'daily', + 'path' => storage_path('logs/laravel.log'), + 'level' => env('LOG_LEVEL', 'debug'), + 'max_files' => env('LOG_DAILY_DAYS', 14), + 'replace_placeholders' => true, + ], + + 'monthly' => [ + 'driver' => 'monthly', + 'path' => storage_path('logs/laravel.log'), + 'level' => env('LOG_LEVEL', 'debug'), + 'max_files' => 3, + 'replace_placeholders' => true, + ], + + 'slack' => [ + 'driver' => 'slack', + 'url' => env('LOG_SLACK_WEBHOOK_URL'), + 'username' => env('LOG_SLACK_USERNAME', env('APP_NAME', 'Laravel')), + 'emoji' => env('LOG_SLACK_EMOJI', ':boom:'), + 'level' => env('LOG_LEVEL', 'critical'), + 'replace_placeholders' => true, + ], + + 'papertrail' => [ + 'driver' => 'monolog', + 'level' => env('LOG_LEVEL', 'debug'), + 'handler' => env('LOG_PAPERTRAIL_HANDLER', SyslogUdpHandler::class), + 'handler_with' => [ + 'host' => env('PAPERTRAIL_URL'), + 'port' => env('PAPERTRAIL_PORT'), + 'connectionString' => 'tls://'.env('PAPERTRAIL_URL').':'.env('PAPERTRAIL_PORT'), + ], + 'processors' => [PsrLogMessageProcessor::class], + ], + + 'stderr' => [ + 'driver' => 'monolog', + 'level' => env('LOG_LEVEL', 'debug'), + 'handler' => StreamHandler::class, + 'handler_with' => [ + 'stream' => 'php://stderr', + ], + 'formatter' => env('LOG_STDERR_FORMATTER'), + 'processors' => [PsrLogMessageProcessor::class], + ], + + 'syslog' => [ + 'driver' => 'syslog', + 'level' => env('LOG_LEVEL', 'debug'), + 'facility' => env('LOG_SYSLOG_FACILITY', LOG_USER), + 'replace_placeholders' => true, + ], + + 'errorlog' => [ + 'driver' => 'errorlog', + 'level' => env('LOG_LEVEL', 'debug'), + 'replace_placeholders' => true, + ], + + 'null' => [ + 'driver' => 'monolog', + 'handler' => NullHandler::class, + ], + + 'emergency' => [ + 'path' => storage_path('logs/laravel.log'), + ], + + ], + +]; diff --git a/config/mail.php b/config/mail.php new file mode 100755 index 0000000..e32e88d --- /dev/null +++ b/config/mail.php @@ -0,0 +1,118 @@ + env('MAIL_MAILER', 'log'), + + /* + |-------------------------------------------------------------------------- + | Mailer Configurations + |-------------------------------------------------------------------------- + | + | Here you may configure all of the mailers used by your application plus + | their respective settings. Several examples have been configured for + | you and you are free to add your own as your application requires. + | + | Laravel supports a variety of mail "transport" drivers that can be used + | when delivering an email. You may specify which one you're using for + | your mailers below. You may also add additional mailers if needed. + | + | Supported: "smtp", "sendmail", "mailgun", "ses", "ses-v2", + | "postmark", "resend", "log", "array", + | "failover", "roundrobin" + | + */ + + 'mailers' => [ + + 'smtp' => [ + 'transport' => 'smtp', + 'scheme' => env('MAIL_SCHEME'), + 'url' => env('MAIL_URL'), + 'host' => env('MAIL_HOST', '127.0.0.1'), + 'port' => env('MAIL_PORT', 2525), + 'username' => env('MAIL_USERNAME'), + 'password' => env('MAIL_PASSWORD'), + 'timeout' => null, + 'local_domain' => env('MAIL_EHLO_DOMAIN', parse_url((string) env('APP_URL', 'http://localhost'), PHP_URL_HOST)), + ], + + 'ses' => [ + 'transport' => 'ses', + ], + + 'postmark' => [ + 'transport' => 'postmark', + // 'message_stream_id' => env('POSTMARK_MESSAGE_STREAM_ID'), + // 'client' => [ + // 'timeout' => 5, + // ], + ], + + 'resend' => [ + 'transport' => 'resend', + ], + + 'sendmail' => [ + 'transport' => 'sendmail', + 'path' => env('MAIL_SENDMAIL_PATH', '/usr/sbin/sendmail -bs -i'), + ], + + 'log' => [ + 'transport' => 'log', + 'channel' => env('MAIL_LOG_CHANNEL'), + ], + + 'array' => [ + 'transport' => 'array', + ], + + 'failover' => [ + 'transport' => 'failover', + 'mailers' => [ + 'smtp', + 'log', + ], + 'retry_after' => 60, + ], + + 'roundrobin' => [ + 'transport' => 'roundrobin', + 'mailers' => [ + 'ses', + 'postmark', + ], + 'retry_after' => 60, + ], + + ], + + /* + |-------------------------------------------------------------------------- + | Global "From" Address + |-------------------------------------------------------------------------- + | + | You may wish for all emails sent by your application to be sent from + | the same address. Here you may specify a name and address that is + | used globally for all emails that are sent by your application. + | + */ + + 'from' => [ + 'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'), + 'name' => env('MAIL_FROM_NAME', env('APP_NAME', 'Laravel')), + ], + +]; diff --git a/config/modules.php b/config/modules.php new file mode 100755 index 0000000..f3306fa --- /dev/null +++ b/config/modules.php @@ -0,0 +1,239 @@ + 'Modules', + + /* + |-------------------------------------------------------------------------- + | Module Stubs + |-------------------------------------------------------------------------- + | + | Default module stubs. + | + */ + + 'stubs' => [ + 'enabled' => false, + 'path' => base_path().'/Vendors/mpba/laravel-modules/src/Commands/stubs', + 'files' => [ + 'routes/web' => 'Routes/web.php', + 'routes/api' => 'Routes/api.php', + 'views/index' => 'Resources/views/index.blade.php', + 'views/master' => 'Resources/views/layouts/master.blade.php', + 'scaffold/config' => 'Config/config.php', + 'composer' => 'composer.json', + 'assets/js/app' => 'Resources/assets/js/app.js', + 'assets/sass/app' => 'Resources/assets/sass/app.scss', + 'webpack' => 'webpack.mix.js', + 'package' => 'package.json', + ], + 'replacements' => [ + 'routes/web' => ['LOWER_NAME', 'STUDLY_NAME'], + 'routes/api' => ['LOWER_NAME'], + 'webpack' => ['LOWER_NAME'], + 'json' => ['LOWER_NAME', 'STUDLY_NAME', 'MODULE_NAMESPACE', 'PROVIDER_NAMESPACE'], + 'views/index' => ['LOWER_NAME'], + 'views/master' => ['LOWER_NAME', 'STUDLY_NAME'], + 'scaffold/config' => ['STUDLY_NAME'], + 'composer' => [ + 'LOWER_NAME', + 'STUDLY_NAME', + 'VENDOR', + 'AUTHOR_NAME', + 'AUTHOR_EMAIL', + 'MODULE_NAMESPACE', + 'PROVIDER_NAMESPACE', + ], + ], + 'gitkeep' => true, + ], + 'paths' => [ + /* + |-------------------------------------------------------------------------- + | Modules path + |-------------------------------------------------------------------------- + | + | This path used for save the generated module. This path also will be added + | automatically to list of scanned folders. + | + */ + + 'modules' => base_path('Modules'), + /* + |-------------------------------------------------------------------------- + | Modules assets path + |-------------------------------------------------------------------------- + | + | Here you may update the modules assets path. + | + */ + + 'assets' => public_path('modules'), + /* + |-------------------------------------------------------------------------- + | The migrations path + |-------------------------------------------------------------------------- + | + | Where you run 'module:publish-migration' command, where do you publish the + | the migration files? + | + */ + + 'migration' => base_path('database/migrations'), + /* + |-------------------------------------------------------------------------- + | Generator path + |-------------------------------------------------------------------------- + | Customise the paths where the folders will be generated. + | Set the generate key to false to not generate that folder + */ + 'generator' => [ + 'config' => ['path' => 'Config', 'generate' => true], + 'trait' => ['path' => 'Traits', 'generate' => true], + 'helper' => ['path' => 'Helpers', 'generate' => true], + 'command' => ['path' => 'Console', 'generate' => true], + 'support' => ['path' => 'Support', 'generate' => true], + 'migration' => ['path' => 'Database/Migrations', 'generate' => true], + 'seeder' => ['path' => 'Database/Seeders', 'generate' => true], + 'factory' => ['path' => 'Database/factories', 'generate' => true], + 'model' => ['path' => 'Models', 'generate' => true], + 'routes' => ['path' => 'Routes', 'generate' => true], + 'controller' => ['path' => 'Http/Controllers', 'generate' => true], + 'filter' => ['path' => 'Http/Middleware', 'generate' => true], + 'request' => ['path' => 'Http/Requests', 'generate' => true], + 'provider' => ['path' => 'Providers', 'generate' => true], + 'assets' => ['path' => 'Resources/assets', 'generate' => true], + 'lang' => ['path' => 'Resources/lang', 'generate' => true], + 'views' => ['path' => 'Resources/views', 'generate' => true], + 'test' => ['path' => 'Tests/Unit', 'generate' => true], + 'test-feature' => ['path' => 'Tests/Feature', 'generate' => true], + 'test-browser' => ['path' => 'Tests/Browser', 'generate' => true], + 'repository' => ['path' => 'Repositories', 'generate' => false], + 'event' => ['path' => 'Events', 'generate' => false], + 'listener' => ['path' => 'Listeners', 'generate' => false], + 'policies' => ['path' => 'Policies', 'generate' => false], + 'rules' => ['path' => 'Rules', 'generate' => false], + 'jobs' => ['path' => 'Jobs', 'generate' => false], + 'emails' => ['path' => 'Emails', 'generate' => false], + 'notifications' => ['path' => 'Notifications', 'generate' => false], + 'resource' => ['path' => 'Transformers', 'generate' => false], + 'component' => ['path' => 'View', 'generate' => true], + ], + ], + /* + |-------------------------------------------------------------------------- + | Scan Path + |-------------------------------------------------------------------------- + | + | Here you define which folder will be scanned. By default will scan Vendors + | directory. This is useful if you host the package in packagist website. + | + */ + + 'scan' => [ + 'enabled' => false, + 'paths' => [ + base_path('Vendors/*/*'), + ], + ], + /* + |-------------------------------------------------------------------------- + | Composer File Template + |-------------------------------------------------------------------------- + | + | Here is the config for composer.json file, generated by this package + | + */ + + 'composer' => [ + 'Vendors' => 'mpba', + 'author' => [ + 'name' => 'Mark Gregory', + 'email' => 'mark.gregory@mpba.co.uk', + ], + ], + /* + |-------------------------------------------------------------------------- + | Caching + |-------------------------------------------------------------------------- + | + | Here is the config for setting up caching feature. + | + */ + 'cache' => [ + 'enabled' => false, + 'key' => 'laravel-modules', + 'lifetime' => 60, + ], + /* + |-------------------------------------------------------------------------- + | Choose what laravel-modules will register as custom namespaces. + | Setting one to false will require you to register that part + | in your own Service Provider class. + |-------------------------------------------------------------------------- + */ + 'register' => [ + 'translations' => true, + /** + * load files on boot or register method + * + * @example boot|register + */ + 'files' => 'register', + ], + + /* + |-------------------------------------------------------------------------- + | Activators + |-------------------------------------------------------------------------- + | + | You can define new types of activators here, file, database etc. The only + | required parameter is 'class'. + | The file activator will store the activation status in storage/installed_modules + */ + 'activators' => [ + 'file' => [ + 'class' => FileActivator::class, + 'statuses-file' => base_path('modules_statuses.json'), + 'cache-key' => 'activator.installed', + 'cache-lifetime' => 604800, + ], + 'database' => [ + 'class' => DatabaseActivator::class, + 'cache-key' => 'activator.installed', + 'cache-lifetime' => 604800, + ], + ], + + 'activator' => 'file', + + /* + |-------------------------------------------------------------------------- + | Module control admin UI + |-------------------------------------------------------------------------- + | + | These settings control the package-provided module management screens. + | The UI uses the database activator and the module_statuses table. + | + */ + 'admin' => [ + 'enabled' => true, + 'prefix' => 'admin/modules', + 'middleware' => ['web', 'auth'], + 'layout_component' => 'layouts.app', + 'hero_component' => 'page-hero', + ], +]; diff --git a/config/queue.php b/config/queue.php new file mode 100755 index 0000000..79c2c0a --- /dev/null +++ b/config/queue.php @@ -0,0 +1,129 @@ + env('QUEUE_CONNECTION', 'database'), + + /* + |-------------------------------------------------------------------------- + | Queue Connections + |-------------------------------------------------------------------------- + | + | Here you may configure the connection options for every queue backend + | used by your application. An example configuration is provided for + | each backend supported by Laravel. You're also free to add more. + | + | Drivers: "sync", "database", "beanstalkd", "sqs", "redis", + | "deferred", "background", "failover", "null" + | + */ + + 'connections' => [ + + 'sync' => [ + 'driver' => 'sync', + ], + + 'database' => [ + 'driver' => 'database', + 'connection' => env('DB_QUEUE_CONNECTION'), + 'table' => env('DB_QUEUE_TABLE', 'jobs'), + 'queue' => env('DB_QUEUE', 'default'), + 'retry_after' => (int) env('DB_QUEUE_RETRY_AFTER', 90), + 'after_commit' => false, + ], + + 'beanstalkd' => [ + 'driver' => 'beanstalkd', + 'host' => env('BEANSTALKD_QUEUE_HOST', 'localhost'), + 'queue' => env('BEANSTALKD_QUEUE', 'default'), + 'retry_after' => (int) env('BEANSTALKD_QUEUE_RETRY_AFTER', 90), + 'block_for' => 0, + 'after_commit' => false, + ], + + 'sqs' => [ + 'driver' => 'sqs', + 'key' => env('AWS_ACCESS_KEY_ID'), + 'secret' => env('AWS_SECRET_ACCESS_KEY'), + 'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'), + 'queue' => env('SQS_QUEUE', 'default'), + 'suffix' => env('SQS_SUFFIX'), + 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), + 'after_commit' => false, + ], + + 'redis' => [ + 'driver' => 'redis', + 'connection' => env('REDIS_QUEUE_CONNECTION', 'default'), + 'queue' => env('REDIS_QUEUE', 'default'), + 'retry_after' => (int) env('REDIS_QUEUE_RETRY_AFTER', 90), + 'block_for' => null, + 'after_commit' => false, + ], + + 'deferred' => [ + 'driver' => 'deferred', + ], + + 'background' => [ + 'driver' => 'background', + ], + + 'failover' => [ + 'driver' => 'failover', + 'connections' => [ + 'database', + 'deferred', + ], + ], + + ], + + /* + |-------------------------------------------------------------------------- + | Job Batching + |-------------------------------------------------------------------------- + | + | The following options configure the database and table that store job + | batching information. These options can be updated to any database + | connection and table which has been defined by your application. + | + */ + + 'batching' => [ + 'database' => env('DB_CONNECTION', 'sqlite'), + 'table' => 'job_batches', + ], + + /* + |-------------------------------------------------------------------------- + | Failed Queue Jobs + |-------------------------------------------------------------------------- + | + | These options configure the behavior of failed queue job logging so you + | can control how and where failed jobs are stored. Laravel ships with + | support for storing failed jobs in a simple file or in a database. + | + | Supported drivers: "database-uuids", "dynamodb", "file", "null" + | + */ + + 'failed' => [ + 'driver' => env('QUEUE_FAILED_DRIVER', 'database-uuids'), + 'database' => env('DB_CONNECTION', 'sqlite'), + 'table' => 'failed_jobs', + ], + +]; diff --git a/config/services.php b/config/services.php new file mode 100755 index 0000000..ec226a4 --- /dev/null +++ b/config/services.php @@ -0,0 +1,38 @@ + [ + 'key' => env('POSTMARK_API_KEY'), + ], + + 'resend' => [ + 'key' => env('RESEND_API_KEY'), + ], + + 'ses' => [ + 'key' => env('AWS_ACCESS_KEY_ID'), + 'secret' => env('AWS_SECRET_ACCESS_KEY'), + 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), + ], + + 'slack' => [ + 'notifications' => [ + 'bot_user_oauth_token' => env('SLACK_BOT_USER_OAUTH_TOKEN'), + 'channel' => env('SLACK_BOT_USER_DEFAULT_CHANNEL'), + ], + ], + +]; diff --git a/config/session.php b/config/session.php new file mode 100755 index 0000000..e0c0eac --- /dev/null +++ b/config/session.php @@ -0,0 +1,233 @@ + env('SESSION_DRIVER', 'database'), + + /* + |-------------------------------------------------------------------------- + | Session Lifetime + |-------------------------------------------------------------------------- + | + | Here you may specify the number of minutes that you wish the session + | to be allowed to remain idle before it expires. If you want them + | to expire immediately when the browser is closed then you may + | indicate that via the expire_on_close configuration option. + | + */ + + 'lifetime' => (int) env('SESSION_LIFETIME', 120), + + 'expire_on_close' => env('SESSION_EXPIRE_ON_CLOSE', false), + + /* + |-------------------------------------------------------------------------- + | Session Encryption + |-------------------------------------------------------------------------- + | + | This option allows you to easily specify that all of your session data + | should be encrypted before it's stored. All encryption is performed + | automatically by Laravel and you may use the session like normal. + | + */ + + 'encrypt' => env('SESSION_ENCRYPT', false), + + /* + |-------------------------------------------------------------------------- + | Session File Location + |-------------------------------------------------------------------------- + | + | When utilizing the "file" session driver, the session files are placed + | on disk. The default storage location is defined here; however, you + | are free to provide another location where they should be stored. + | + */ + + 'files' => storage_path('framework/sessions'), + + /* + |-------------------------------------------------------------------------- + | Session Database Connection + |-------------------------------------------------------------------------- + | + | When using the "database" or "redis" session drivers, you may specify a + | connection that should be used to manage these sessions. This should + | correspond to a connection in your database configuration options. + | + */ + + 'connection' => env('SESSION_CONNECTION'), + + /* + |-------------------------------------------------------------------------- + | Session Database Table + |-------------------------------------------------------------------------- + | + | When using the "database" session driver, you may specify the table to + | be used to store sessions. Of course, a sensible default is defined + | for you; however, you're welcome to change this to another table. + | + */ + + 'table' => env('SESSION_TABLE', 'sessions'), + + /* + |-------------------------------------------------------------------------- + | Session Cache Store + |-------------------------------------------------------------------------- + | + | When using one of the framework's cache driven session backends, you may + | define the cache store which should be used to store the session data + | between requests. This must match one of your defined cache stores. + | + | Affects: "dynamodb", "memcached", "redis" + | + */ + + 'store' => env('SESSION_STORE'), + + /* + |-------------------------------------------------------------------------- + | Session Sweeping Lottery + |-------------------------------------------------------------------------- + | + | Some session drivers must manually sweep their storage location to get + | rid of old sessions from storage. Here are the chances that it will + | happen on a given request. By default, the odds are 2 out of 100. + | + */ + + 'lottery' => [2, 100], + + /* + |-------------------------------------------------------------------------- + | Session Cookie Name + |-------------------------------------------------------------------------- + | + | Here you may change the name of the session cookie that is created by + | the framework. Typically, you should not need to change this value + | since doing so does not grant a meaningful security improvement. + | + */ + + 'cookie' => env( + 'SESSION_COOKIE', + Str::slug((string) env('APP_NAME', 'laravel')).'-session', + ), + + /* + |-------------------------------------------------------------------------- + | Session Cookie Path + |-------------------------------------------------------------------------- + | + | The session cookie path determines the path for which the cookie will + | be regarded as available. Typically, this will be the root path of + | your application, but you're free to change this when necessary. + | + */ + + 'path' => env('SESSION_PATH', '/'), + + /* + |-------------------------------------------------------------------------- + | Session Cookie Domain + |-------------------------------------------------------------------------- + | + | This value determines the domain and subdomains the session cookie is + | available to. By default, the cookie will be available to the root + | domain without subdomains. Typically, this shouldn't be changed. + | + */ + + 'domain' => env('SESSION_DOMAIN'), + + /* + |-------------------------------------------------------------------------- + | HTTPS Only Cookies + |-------------------------------------------------------------------------- + | + | By setting this option to true, session cookies will only be sent back + | to the server if the browser has a HTTPS connection. This will keep + | the cookie from being sent to you when it can't be done securely. + | + */ + + 'secure' => env('SESSION_SECURE_COOKIE'), + + /* + |-------------------------------------------------------------------------- + | HTTP Access Only + |-------------------------------------------------------------------------- + | + | Setting this value to true will prevent JavaScript from accessing the + | value of the cookie and the cookie will only be accessible through + | the HTTP protocol. It's unlikely you should disable this option. + | + */ + + 'http_only' => env('SESSION_HTTP_ONLY', true), + + /* + |-------------------------------------------------------------------------- + | Same-Site Cookies + |-------------------------------------------------------------------------- + | + | This option determines how your cookies behave when cross-site requests + | take place, and can be used to mitigate CSRF attacks. By default, we + | will set this value to "lax" to permit secure cross-site requests. + | + | See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#samesitesamesite-value + | + | Supported: "lax", "strict", "none", null + | + */ + + 'same_site' => env('SESSION_SAME_SITE', 'lax'), + + /* + |-------------------------------------------------------------------------- + | Partitioned Cookies + |-------------------------------------------------------------------------- + | + | Setting this value to true will tie the cookie to the top-level site for + | a cross-site context. Partitioned cookies are accepted by the browser + | when flagged "secure" and the Same-Site attribute is set to "none". + | + */ + + 'partitioned' => env('SESSION_PARTITIONED_COOKIE', false), + + /* + |-------------------------------------------------------------------------- + | Session Serialization + |-------------------------------------------------------------------------- + | + | This value controls the serialization strategy for session data, which + | is JSON by default. Setting this to "php" allows the storage of PHP + | objects in the session but can make an application vulnerable to + | "gadget chain" serialization attacks if the APP_KEY is leaked. + | + | Supported: "json", "php" + | + */ + + 'serialization' => 'json', + +]; diff --git a/config/stylist.php b/config/stylist.php new file mode 100644 index 0000000..8ef78d7 --- /dev/null +++ b/config/stylist.php @@ -0,0 +1,29 @@ + env('STYLIST_DEFAULT_THEME', 'backend'), + 'default_backend_theme' => env('STYLIST_BACKEND_THEME', 'backend'), + 'default_frontend_theme' => env('STYLIST_FRONTEND_THEME', 'frontend'), + + /* + | Themes are application resources, never module resources. + | Every theme is self-contained and owns its views and assets. + */ + 'themes_path' => env('STYLIST_THEMES_PATH', resource_path('themes')), + + 'tenant_theme_column' => 'theme_key', + 'tenant_brand_columns' => [ + 'brand_primary' => 'brand-primary', + 'brand_secondary' => 'brand-secondary', + 'brand_accent' => 'brand-accent', + ], + + 'fallback_variables' => [ + 'brand-primary' => '#2563eb', + 'brand-secondary' => '#0f172a', + 'brand-accent' => '#22c55e', + 'surface' => '#ffffff', + 'surface-muted' => '#f8fafc', + 'text-primary' => '#0f172a', + ], +]; diff --git a/database/.gitignore b/database/.gitignore new file mode 100755 index 0000000..9b19b93 --- /dev/null +++ b/database/.gitignore @@ -0,0 +1 @@ +*.sqlite* diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php new file mode 100755 index 0000000..98825c8 --- /dev/null +++ b/database/factories/UserFactory.php @@ -0,0 +1,60 @@ + + */ +class UserFactory extends Factory +{ + /** + * The current password being used by the factory. + */ + protected static ?string $password; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition(): array + { + return [ + 'name' => fake()->name(), + 'email' => fake()->unique()->safeEmail(), + 'email_verified_at' => now(), + 'password' => static::$password ??= Hash::make('password'), + 'remember_token' => Str::random(10), + 'two_factor_secret' => null, + 'two_factor_recovery_codes' => null, + 'two_factor_confirmed_at' => null, + ]; + } + + /** + * Indicate that the model's email address should be unverified. + */ + public function unverified(): static + { + return $this->state(fn (array $attributes) => [ + 'email_verified_at' => null, + ]); + } + + /** + * Indicate that the model has two-factor authentication configured. + */ + public function withTwoFactor(): static + { + return $this->state(fn (array $attributes) => [ + 'two_factor_secret' => encrypt('secret'), + 'two_factor_recovery_codes' => encrypt(json_encode(['recovery-code-1'])), + 'two_factor_confirmed_at' => now(), + ]); + } +} diff --git a/database/migrations/0001_01_01_000000_create_users_table.php b/database/migrations/0001_01_01_000000_create_users_table.php new file mode 100755 index 0000000..05fb5d9 --- /dev/null +++ b/database/migrations/0001_01_01_000000_create_users_table.php @@ -0,0 +1,49 @@ +id(); + $table->string('name'); + $table->string('email')->unique(); + $table->timestamp('email_verified_at')->nullable(); + $table->string('password'); + $table->rememberToken(); + $table->timestamps(); + }); + + Schema::create('password_reset_tokens', function (Blueprint $table) { + $table->string('email')->primary(); + $table->string('token'); + $table->timestamp('created_at')->nullable(); + }); + + Schema::create('sessions', function (Blueprint $table) { + $table->string('id')->primary(); + $table->foreignId('user_id')->nullable()->index(); + $table->string('ip_address', 45)->nullable(); + $table->text('user_agent')->nullable(); + $table->longText('payload'); + $table->integer('last_activity')->index(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('users'); + Schema::dropIfExists('password_reset_tokens'); + Schema::dropIfExists('sessions'); + } +}; diff --git a/database/migrations/0001_01_01_000001_create_cache_table.php b/database/migrations/0001_01_01_000001_create_cache_table.php new file mode 100755 index 0000000..06dc7a5 --- /dev/null +++ b/database/migrations/0001_01_01_000001_create_cache_table.php @@ -0,0 +1,35 @@ +string('key')->primary(); + $table->mediumText('value'); + $table->bigInteger('expiration')->index(); + }); + + Schema::create('cache_locks', function (Blueprint $table) { + $table->string('key')->primary(); + $table->string('owner'); + $table->bigInteger('expiration')->index(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('cache'); + Schema::dropIfExists('cache_locks'); + } +}; diff --git a/database/migrations/0001_01_01_000002_create_jobs_table.php b/database/migrations/0001_01_01_000002_create_jobs_table.php new file mode 100755 index 0000000..edac6fe --- /dev/null +++ b/database/migrations/0001_01_01_000002_create_jobs_table.php @@ -0,0 +1,59 @@ +id(); + $table->string('queue')->index(); + $table->longText('payload'); + $table->unsignedSmallInteger('attempts'); + $table->unsignedInteger('reserved_at')->nullable(); + $table->unsignedInteger('available_at'); + $table->unsignedInteger('created_at'); + }); + + Schema::create('job_batches', function (Blueprint $table) { + $table->string('id')->primary(); + $table->string('name'); + $table->integer('total_jobs'); + $table->integer('pending_jobs'); + $table->integer('failed_jobs'); + $table->longText('failed_job_ids'); + $table->mediumText('options')->nullable(); + $table->integer('cancelled_at')->nullable(); + $table->integer('created_at'); + $table->integer('finished_at')->nullable(); + }); + + Schema::create('failed_jobs', function (Blueprint $table) { + $table->id(); + $table->string('uuid')->unique(); + $table->string('connection'); + $table->string('queue'); + $table->longText('payload'); + $table->longText('exception'); + $table->timestamp('failed_at')->useCurrent(); + + $table->index(['connection', 'queue', 'failed_at']); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('jobs'); + Schema::dropIfExists('job_batches'); + Schema::dropIfExists('failed_jobs'); + } +}; diff --git a/database/migrations/2024_01_01_000000_create_passkeys_table.php b/database/migrations/2024_01_01_000000_create_passkeys_table.php new file mode 100755 index 0000000..cb884c3 --- /dev/null +++ b/database/migrations/2024_01_01_000000_create_passkeys_table.php @@ -0,0 +1,34 @@ +id(); + $table->foreignId('user_id')->constrained()->cascadeOnDelete(); + $table->string('name'); + $table->string('credential_id')->unique(); + $table->json('credential'); + $table->timestamp('last_used_at')->nullable(); + $table->timestamps(); + + $table->index('user_id'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('passkeys'); + } +}; diff --git a/database/migrations/2025_08_14_170933_add_two_factor_columns_to_users_table.php b/database/migrations/2025_08_14_170933_add_two_factor_columns_to_users_table.php new file mode 100755 index 0000000..4f9a17a --- /dev/null +++ b/database/migrations/2025_08_14_170933_add_two_factor_columns_to_users_table.php @@ -0,0 +1,51 @@ + + function (Blueprint $table) { + $table->string('two_factor_secret', 4096)->nullable(); + }, + 'two_factor_recovery_codes' => function (Blueprint $table) { + $table->string('two_factor_recovery_codes', 4096)->nullable(); + }, + 'two_factor_confirmed_at' => function (Blueprint $table) { + $table->timestamp('two_factor_confirmed_at')->nullable(); + }, + ]; + + foreach ($columns as $name => $definition) { + if (! Schema::hasColumn('users', $name)) { + Schema::table('users', $definition); + } + } + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + foreach ([ + 'two_factor_confirmed_at', + 'two_factor_recovery_codes', + 'two_factor_secret', + ] as $column) { + if (Schema::hasColumn('users', $column)) { + Schema::table('users', function (Blueprint $table) use ($column) { + $table->dropColumn($column); + }); + } + } + } +}; diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php new file mode 100755 index 0000000..6b901f8 --- /dev/null +++ b/database/seeders/DatabaseSeeder.php @@ -0,0 +1,25 @@ +create(); + + User::factory()->create([ + 'name' => 'Test User', + 'email' => 'test@example.com', + ]); + } +} diff --git a/deploy.php b/deploy.php new file mode 100755 index 0000000..a63f706 --- /dev/null +++ b/deploy.php @@ -0,0 +1,65 @@ +set('hostname', 'thredary.com') + ->set('remote_user', 'mag') + ->set('branch', 'main') + ->set('deploy_path', '/var/www/thredary'); +host('develop') + ->set('hostname', 'thredary.com') + ->set('remote_user', 'mag') + ->set('branch', 'develop') + ->set('deploy_path', '/var/www/thredary_dev'); + +task('build', function (): void { + run('export NVM_DIR="$HOME/.nvm" && [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" && nvm use {{node_version}} && cd {{release_path}} && npm ci --no-audit --no-fund'); + run('export NVM_DIR="$HOME/.nvm" && [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" && nvm use {{node_version}} && cd {{release_path}} && npm run build'); +}); +task('seo:sitemap', function (): void { + run('cd {{release_path}} && php artisan thredary:sitemap'); +}); +task('queue:restart', function (): void { + run('cd {{release_path}} && php artisan queue:restart'); +}); +task('deploy:write_revision_file', function (): void { + run('cd {{release_path}} && echo "{{branch}}" > BRANCH'); + run('cd {{release_path}} && date -u +"%Y-%m-%dT%H:%M:%SZ" > DEPLOYED_AT'); +}); +task('artisan:clear', function (): void { + run('cd {{release_path}} && php artisan view:clear'); + run('cd {{release_path}} && php artisan optimize:clear'); + run('cd {{release_path}} && php artisan config:clear'); + run('cd {{release_path}} && php artisan route:clear'); +}); +task('services:restart', function (): void { + run('sudo -n nginx -t'); + run('sudo -n systemctl reload nginx'); + run('sudo -n systemctl restart php8.3-fpm'); +}); + +after('deploy:update_code', 'deploy:write_revision_file'); +after('deploy:vendors', 'build'); +after('deploy:symlink', 'artisan:clear'); +after('deploy:symlink', 'seo:sitemap'); +after('seo:sitemap', 'queue:restart'); +after('deploy:symlink', 'queue:restart'); +after('deploy:failed', 'deploy:unlock'); +after('deploy:symlink', 'services:restart'); diff --git a/package-lock.json b/package-lock.json new file mode 100755 index 0000000..bf9ff43 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,2289 @@ +{ + "name": "Db2LaravelTest", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "dependencies": { + "@laravel/passkeys": "^0.2.0", + "@tailwindcss/vite": "^4.1.11", + "concurrently": "^10.0.3", + "laravel-vite-plugin": "^3.1", + "tailwindcss": "^4.0.7", + "vite": "^8.0.0" + }, + "optionalDependencies": { + "@laravel/multiplex": "^0.4.1", + "@rollup/rollup-linux-x64-gnu": "4.9.5", + "@tailwindcss/oxide-linux-x64-gnu": "^4.0.1", + "lightningcss-linux-x64-gnu": "^1.29.1" + } + }, + "node_modules/@alcalzone/ansi-tokenize": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@alcalzone/ansi-tokenize/-/ansi-tokenize-0.3.0.tgz", + "integrity": "sha512-p+CMKJ93HFmLkjXKlXiVGlMQEuRb6H0MokBSwUsX+S6BRX8eV5naFZpQJFfJHjRZY0Hmnqy1/r6UWl3x+19zYA==", + "license": "MIT", + "optional": true, + "dependencies": { + "ansi-styles": "^6.2.1", + "is-fullwidth-code-point": "^5.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.13", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", + "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/remapping": { + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz", + "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==", + "license": "MIT", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz", + "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==", + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.31", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", + "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@laravel/multiplex": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/@laravel/multiplex/-/multiplex-0.4.2.tgz", + "integrity": "sha512-GzmKgY1ExZPeggylf0IMpKI2EBJxKKQfQ+8wQnVmJM7BlkdH72lPvGWGBnYUynBIRXXBQ9LAw660Ym8QqYJwgw==", + "license": "MIT", + "optional": true, + "os": [ + "darwin", + "linux" + ], + "dependencies": { + "ansi-styles": "^6.2.3", + "commander": "^15.0.0", + "ink": "^7.1.0", + "react": "^19.2.7", + "string-width": "^8.2.2", + "wrap-ansi": "^10.0.0" + }, + "bin": { + "multiplex": "dist/cli.js" + }, + "engines": { + "node": ">=22.13.0" + } + }, + "node_modules/@laravel/passkeys": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/@laravel/passkeys/-/passkeys-0.2.0.tgz", + "integrity": "sha512-K+owv26weKrYaoTJutqU40UsJZpwYkqB9jdlz5Bv/C54nxj2+Py9jbVwxASWg21fLsPhn3ngPKZE5RnfakCQKg==", + "license": "MIT", + "dependencies": { + "@simplewebauthn/browser": "^13.0.0" + }, + "engines": { + "node": ">=20.19.0" + }, + "peerDependencies": { + "react": "^18.0.0 || ^19.0.0", + "svelte": "^5.0.0", + "vue": "^3.0.0" + }, + "peerDependenciesMeta": { + "react": { + "optional": true + }, + "svelte": { + "optional": true + }, + "vue": { + "optional": true + } + } + }, + "node_modules/@oxc-project/types": { + "version": "0.144.0", + "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.144.0.tgz", + "integrity": "sha512-nuhZIOLuI6TFQ32I/WnUx+SCPY7SdSKwgnFHydAuoS1+Z4BRcaP+RRJmGzl9lw+0OFF7UmaESf7KQRXaNLHypg==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/Boshen" + } + }, + "node_modules/@rolldown/binding-android-arm64": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.4.tgz", + "integrity": "sha512-jHC2cnyKz5xU2fhECtFl8OZ83cYNt13GZQD+0uMJ/X3o+ijmd56okHhTUwxVSHPx1IRVIJEZ1/1pPzeLCU6XKA==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-darwin-arm64": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.4.tgz", + "integrity": "sha512-Dc5mPD8F5F/FS8i01syd7FTF6yB2fVthH/TRkjwJkzUK6EpoxHtqvZQP5Zwq80/5z19TWYHIg1KOHboCgVx/aQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-darwin-x64": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.4.tgz", + "integrity": "sha512-fpDm4oBo6SqLvWUYCmFhdde3U9KH2fRNNMeAnAPAIwxRL345xutL0EtEUcuoxsoazdJGv/MuDBQHlCDrtbvqOg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-freebsd-x64": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.4.tgz", + "integrity": "sha512-rSJoreDE/HoIzoaib6MTp5jQtCTdMHKIvItAKT/ImS6Y6Ww76oUaeMyp4Vc/fAgd/ehji068IxetHXAnqUwN9A==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm-gnueabihf": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.4.tgz", + "integrity": "sha512-/jm8OGHgn7oGaJu3i/qZI9spUGcJ+y/lk43ttQ/iO1tOd9NissG6o97bighBCiL+BKRngmcDuR6ikfwYdJmVuQ==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm64-gnu": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.4.tgz", + "integrity": "sha512-tIP06BeD9EqvECBrPZ+sqdPlYrT+aYaAiu1wYziVx5elRK/ftm33JxVDy2bXGbr6J0CrtirCkR87/X5a2euEng==", + "cpu": [ + "arm64" + ], + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm64-musl": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.4.tgz", + "integrity": "sha512-Ql1Q0EQqVThvn9VAVlwNzsUvbSFtCMGjLpRRi4pk5i7NZZ4n5ISiLMjHYtus4VQ2PvkSw24zyaCVsiS+sXPj1w==", + "cpu": [ + "arm64" + ], + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-ppc64-gnu": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.4.tgz", + "integrity": "sha512-GjbjXD4XXfN19D0LZNbmiCBUoDiRACsYHr0yaIbbn8aFsXjHZifcYqu/W5Er5X2X990WjHXFrxarn5chzItorQ==", + "cpu": [ + "ppc64" + ], + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-s390x-gnu": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.4.tgz", + "integrity": "sha512-p5WR0NOwaRmJ/B1b6IjEFLLivwEsf3PrdBIhRbhTCQisbo2SvHHpG4ELB/+FgQNnB88LTOF86upmJmbvZdQ2lw==", + "cpu": [ + "s390x" + ], + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-x64-gnu": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.4.tgz", + "integrity": "sha512-4/GyVjmhR+Tc6HLJvwc1sOhPqAZtySiSMesOZyX6JQ5XBxoTDEMKQzvo07NIK6nTon/SivlZqvhzvuVBNQhObQ==", + "cpu": [ + "x64" + ], + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-x64-musl": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.4.tgz", + "integrity": "sha512-l9eeLsCNvPpmSXUej0etw/J1eqV0Jj1D5G/xG6YTijmE6dkv6E2QezgWbTfQk63v952DPqrjOCoiqxq7Bw0YUQ==", + "cpu": [ + "x64" + ], + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-openharmony-arm64": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.4.tgz", + "integrity": "sha512-e0F355MSTMm3+UOqtV3L24gFUp2N5m1f8L/7d56deik6va+AXdrt9F8LbzGpeWGWRbZEDq4m8NVnJDeBtf9DZg==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-win32-arm64-msvc": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.4.tgz", + "integrity": "sha512-AWLi0uBRYh6QlE7OKhiz+phZC0qwtij2QZmhmOdsLdFn64m7oMpooE9ICE3lhm9xMb4SpDo2WbHcxX1iFLFtqw==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-win32-x64-msvc": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.4.tgz", + "integrity": "sha512-UwSDJOg3dqCAejWdxclJjCsh3Qq4vLYMDxmyHqo1btz3stK2VqgwNd3mm5tuIwzSlGIQ/1H9Hr+Zn09mrezNqQ==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/pluginutils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.1.tgz", + "integrity": "sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==", + "license": "MIT" + }, + "node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.9.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.9.5.tgz", + "integrity": "sha512-Dq1bqBdLaZ1Gb/l2e5/+o3B18+8TI9ANlA1SkejZqDgdU/jK/ThYaMPMJpVMMXy2uRHvGKbkz9vheVGdq3cJfA==", + "cpu": [ + "x64" + ], + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@simplewebauthn/browser": { + "version": "13.3.0", + "resolved": "https://registry.npmjs.org/@simplewebauthn/browser/-/browser-13.3.0.tgz", + "integrity": "sha512-BE/UWv6FOToAdVk0EokzkqQQDOWtNydYlY6+OrmiZ5SCNmb41VehttboTetUM3T/fr6EAFYVXjz4My2wg230rQ==", + "license": "MIT" + }, + "node_modules/@tailwindcss/node": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.3.3.tgz", + "integrity": "sha512-/T8IKEsf9VTU6tLjgC7+sv2mOPtQxzE2jMw7u4Tt40Tx+QSZxpzh95/H6cMKoja9XuW7iMdLJYBB0o9G1CaAgg==", + "license": "MIT", + "dependencies": { + "@jridgewell/remapping": "^2.3.5", + "enhanced-resolve": "^5.24.1", + "jiti": "^2.7.0", + "lightningcss": "1.32.0", + "magic-string": "^0.30.21", + "source-map-js": "^1.2.1", + "tailwindcss": "4.3.3" + } + }, + "node_modules/@tailwindcss/oxide": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.3.3.tgz", + "integrity": "sha512-krXjAikiaFSPaK/FkAQT5UTx3VormQaiZ5hBFlJZ9UFQGB/rwg1MZIhHAG9smMQRTdyJxP6Qt5MwMtdyU5FWrA==", + "license": "MIT", + "engines": { + "node": ">= 20" + }, + "optionalDependencies": { + "@tailwindcss/oxide-android-arm64": "4.3.3", + "@tailwindcss/oxide-darwin-arm64": "4.3.3", + "@tailwindcss/oxide-darwin-x64": "4.3.3", + "@tailwindcss/oxide-freebsd-x64": "4.3.3", + "@tailwindcss/oxide-linux-arm-gnueabihf": "4.3.3", + "@tailwindcss/oxide-linux-arm64-gnu": "4.3.3", + "@tailwindcss/oxide-linux-arm64-musl": "4.3.3", + "@tailwindcss/oxide-linux-x64-gnu": "4.3.3", + "@tailwindcss/oxide-linux-x64-musl": "4.3.3", + "@tailwindcss/oxide-wasm32-wasi": "4.3.3", + "@tailwindcss/oxide-win32-arm64-msvc": "4.3.3", + "@tailwindcss/oxide-win32-x64-msvc": "4.3.3" + } + }, + "node_modules/@tailwindcss/oxide-android-arm64": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.3.3.tgz", + "integrity": "sha512-Y85A2gmPSkl5Ve5qR86GL4HT509cFqQh1aes9p3sSkyTPwt0Pppf3GkwGe4JPACcRYjgJIEhQgM6dBClnr0NYw==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-darwin-arm64": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.3.3.tgz", + "integrity": "sha512-BiaWatpBcERQFDlOjRDpIVXuFK5PJez5SA4JMg6VYZdBYU+qKfV/vqjcIs+IYmtitf1xYQZTwXvU/8y4lfZUGw==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-darwin-x64": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.3.3.tgz", + "integrity": "sha512-fAeUqfV5ndhxRwai8cXGzdLvul9utWOmeTkv69unv4ZXixjn61Z+p9lCWdwOwA3TYboG3BwdVuN/RDjhBRl0mw==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-freebsd-x64": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.3.3.tgz", + "integrity": "sha512-iyf5bV6+wnAlflVeEy7R25dupxTNECZN5QMI0qNT6eT+EgaGdZcKhGkr5SdoaWiLJ3spLqIY9VCeSGrwmtg4kw==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-linux-arm-gnueabihf": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.3.3.tgz", + "integrity": "sha512-aAYUprJAJQWWbRrPvtjdroZ56Md+JM8pMiopS6xGEwDfLhqj+2ver2p4nU4Mb3CRqcMmNBjo8KkUgcxhkzVQGQ==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-linux-arm64-gnu": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.3.3.tgz", + "integrity": "sha512-nDxldcEENOxZRzC2uu9jrutZdAAQtb+8WWDCSnWL1zvBk1+FN+x6MtDViPB5AJMfttVCUhehGWus3XBPgatM/w==", + "cpu": [ + "arm64" + ], + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-linux-arm64-musl": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.3.3.tgz", + "integrity": "sha512-Md44bD6veX/PC5iyF8cDVnw4HBIANZepRZZ7a8DQOvkfo5WUBwcp6iAuCUz23u+4SUkhJlD3eL7hNdW8ezd/kA==", + "cpu": [ + "arm64" + ], + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-linux-x64-gnu": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.3.3.tgz", + "integrity": "sha512-tx7us1muwOKAKWao2v/GaafFeQboE6aj88vC6ziN2NCGcRm8gWUhwjzg+YdVB1e4boAtdtma4L43onunI6NS4w==", + "cpu": [ + "x64" + ], + "libc": [ + "glibc" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-linux-x64-musl": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.3.3.tgz", + "integrity": "sha512-SJxX60smvHgasZoBy11dX6YRjXJFovwWBoedhbQPOBzgFWBHGB+TVPWB9BxzR7TTxU8FQZAI2AyiNCMzFm8Img==", + "cpu": [ + "x64" + ], + "libc": [ + "musl" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-wasm32-wasi": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.3.3.tgz", + "integrity": "sha512-jx1+rPhY/5Ympkktd656HBWEBLxP7dH06losBLjjf5vgCODXvi9KhtftWcMIwTFIDqBr7cRnQkdLnAG+IOlGvQ==", + "bundleDependencies": [ + "@napi-rs/wasm-runtime", + "@emnapi/core", + "@emnapi/runtime", + "@tybys/wasm-util", + "@emnapi/wasi-threads", + "tslib" + ], + "cpu": [ + "wasm32" + ], + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/core": "^1.11.1", + "@emnapi/runtime": "^1.11.1", + "@emnapi/wasi-threads": "^1.2.2", + "@napi-rs/wasm-runtime": "^1.1.4", + "@tybys/wasm-util": "^0.10.2", + "tslib": "^2.8.1" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@tailwindcss/oxide-win32-arm64-msvc": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.3.3.tgz", + "integrity": "sha512-3rc292Ca2ceK6Ulcc/bAVnTs/3nDtoPhyEKlgPv+yQJQi/JS/AMJlqzxvlDacL1nekbrcf6bTqp/jV4qgnPxNQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-win32-x64-msvc": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.3.3.tgz", + "integrity": "sha512-yJ0pwIVc/nYeGoV02WtsN8KYyLQv7kyI2wDnkezyJlGGjkd4QLwDGAwl47YpPJeuI0M0ObaXGSPjvWDPeTPggw==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/vite": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/vite/-/vite-4.3.3.tgz", + "integrity": "sha512-yYU8cogLeSh/ms2jh8Fj7jaba/EWa7Ja6GoUqYZaraEuCI5YS6ms6ObZgjjedm+jm6XZjdNRWBpPP6Z86oOxcw==", + "license": "MIT", + "dependencies": { + "@tailwindcss/node": "4.3.3", + "@tailwindcss/oxide": "4.3.3", + "tailwindcss": "4.3.3" + }, + "peerDependencies": { + "vite": "^5.2.0 || ^6 || ^7 || ^8" + } + }, + "node_modules/ansi-escapes": { + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-7.3.0.tgz", + "integrity": "sha512-BvU8nYgGQBxcmMuEeUEmNTvrMVjJNSH7RgW24vXexN4Ven6qCvy4TntnvlnwnMLTVlcRQQdbRY8NKnaIoeWDNg==", + "license": "MIT", + "optional": true, + "dependencies": { + "environment": "^1.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ansi-regex": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.3.0.tgz", + "integrity": "sha512-WpDfL7NO6j7tH88IDBNVdUJxDh9nmCteAVW9dsep846XdwF4naCBK+/tGLX3KJgcpgMRXCFlTM2hKGoK9FsdrQ==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/ansi-styles": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", + "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/auto-bind": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/auto-bind/-/auto-bind-5.0.1.tgz", + "integrity": "sha512-ooviqdwwgfIfNmDwo94wlshcdzfO64XV0Cg6oDsDYBJfITDz1EngD2z7DkbvCWn+XIMsIqW27sEVF6qcpJrRcg==", + "license": "MIT", + "optional": true, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/chalk": { + "version": "5.6.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz", + "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==", + "license": "MIT", + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/cli-boxes": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-4.0.1.tgz", + "integrity": "sha512-5IOn+jcCEHEraYolBPs/sT4BxYCe2nHg374OPiItB1O96KZFseS2gthU4twyYzeDcFew4DaUM/xwc5BQf08JJw==", + "license": "MIT", + "optional": true, + "engines": { + "node": ">=18.20 <19 || >=20.10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cli-cursor": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-4.0.0.tgz", + "integrity": "sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==", + "license": "MIT", + "optional": true, + "dependencies": { + "restore-cursor": "^4.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cli-truncate": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-6.1.1.tgz", + "integrity": "sha512-06p9vyLahLa4zkGcgsGxU6iEkSOiuI4fhCH6Emhe2lPAcoUv73n72DnODsnHA+5wwXGnV0n9M9/qOQJSjYhFhw==", + "license": "MIT", + "optional": true, + "dependencies": { + "slice-ansi": "^9.0.0", + "string-width": "^8.2.0" + }, + "engines": { + "node": ">=22" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cliui": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-9.0.1.tgz", + "integrity": "sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w==", + "license": "ISC", + "dependencies": { + "string-width": "^7.2.0", + "strip-ansi": "^7.1.0", + "wrap-ansi": "^9.0.0" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/cliui/node_modules/string-width": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", + "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", + "license": "MIT", + "dependencies": { + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cliui/node_modules/wrap-ansi": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz", + "integrity": "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.2.1", + "string-width": "^7.0.0", + "strip-ansi": "^7.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/code-excerpt": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/code-excerpt/-/code-excerpt-4.0.0.tgz", + "integrity": "sha512-xxodCmBen3iy2i0WtAK8FlFNrRzjUqjRsMfho58xT/wvZU1YTM3fCnRjcy1gJPMepaRlgm/0e6w8SpWHpn3/cA==", + "license": "MIT", + "optional": true, + "dependencies": { + "convert-to-spaces": "^2.0.1" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + } + }, + "node_modules/commander": { + "version": "15.0.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-15.0.0.tgz", + "integrity": "sha512-z67u4ZhzCL/Tydu1lJARtEZYWbWaN7oYLHbsuzocr6y4N6WZAagG3RQ4FW61V1/0+jImpj293XfrcYnd1qxtPg==", + "license": "MIT", + "optional": true, + "engines": { + "node": ">=22.12.0" + } + }, + "node_modules/concurrently": { + "version": "10.0.5", + "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-10.0.5.tgz", + "integrity": "sha512-JaP/CoftUrCcAFW/g//RbgEGwlelnEae6cfBLgH6ZdO6s8jPkn6p9SB9u6pdVxYXoiSnFqseOlHfrEfF82TVOg==", + "license": "MIT", + "dependencies": { + "chalk": "5.6.2", + "rxjs": "7.8.2", + "shell-quote": "1.9.0", + "supports-color": "10.2.2", + "tree-kill": "1.2.2", + "yargs": "18.0.0" + }, + "bin": { + "conc": "dist/bin/index.js", + "concurrently": "dist/bin/index.js" + }, + "engines": { + "node": ">=22" + }, + "funding": { + "url": "https://github.com/open-cli-tools/concurrently?sponsor=1" + } + }, + "node_modules/convert-to-spaces": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/convert-to-spaces/-/convert-to-spaces-2.0.1.tgz", + "integrity": "sha512-rcQ1bsQO9799wq24uE5AM2tAILy4gXGIK/njFWcVQkGNZ96edlpY+A7bjwvzjYvLDyzmG1MmMLZhpcsb+klNMQ==", + "license": "MIT", + "optional": true, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + } + }, + "node_modules/detect-libc": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", + "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", + "license": "Apache-2.0", + "engines": { + "node": ">=8" + } + }, + "node_modules/emoji-regex": { + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", + "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==", + "license": "MIT" + }, + "node_modules/enhanced-resolve": { + "version": "5.24.5", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.24.5.tgz", + "integrity": "sha512-L1l8TNvomm6UVW5B253AGxQagSQr+vGwhMlrrfRS2qmhx46AMpMVJKQYLvWYbysTMY8VoicOvzHzoHMbyzB+4A==", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.4", + "tapable": "^2.3.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/environment": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/environment/-/environment-1.1.0.tgz", + "integrity": "sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==", + "license": "MIT", + "optional": true, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/es-toolkit": { + "version": "1.50.0", + "resolved": "https://registry.npmjs.org/es-toolkit/-/es-toolkit-1.50.0.tgz", + "integrity": "sha512-OyZKhUVvEep9ITEiwHn8GKnMRQIVqoSIX7WnRbkWgJkllCujilqP2rD0u979tkl8wqyc8ICwlc1UBVv/Sl1G6w==", + "license": "MIT", + "optional": true, + "workspaces": [ + "docs", + "benchmarks", + "tests/types" + ] + }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-string-regexp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", + "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", + "license": "MIT", + "optional": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "license": "ISC", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-east-asian-width": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.6.0.tgz", + "integrity": "sha512-QRbvDIbx6YklUe6RxeTeleMR0yv3cYH6PsPZHcnVn7xv7zO1BHN8r0XETu8n6Ye3Q+ahtSarc3WgtNWmehIBfA==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "license": "ISC" + }, + "node_modules/indent-string": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", + "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", + "license": "MIT", + "optional": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ink": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/ink/-/ink-7.1.1.tgz", + "integrity": "sha512-Y43xxa1ZSPvpmfLHcN5o+OdP8Rf8ykkNJEuKYOUNZKT8wXVNLFTtEm1nSDMQkfBH+YANF4Xuu0hhZ4ejqAtN2w==", + "license": "MIT", + "optional": true, + "dependencies": { + "@alcalzone/ansi-tokenize": "^0.3.0", + "ansi-escapes": "^7.3.0", + "ansi-styles": "^6.2.3", + "auto-bind": "^5.0.1", + "chalk": "^5.6.2", + "cli-boxes": "^4.0.1", + "cli-cursor": "^4.0.0", + "cli-truncate": "^6.0.0", + "code-excerpt": "^4.0.0", + "es-toolkit": "^1.45.1", + "indent-string": "^5.0.0", + "is-in-ci": "^2.0.0", + "patch-console": "^2.0.0", + "react-reconciler": "^0.33.0", + "scheduler": "^0.27.0", + "signal-exit": "^3.0.7", + "slice-ansi": "^9.0.0", + "stack-utils": "^2.0.6", + "string-width": "^8.2.0", + "terminal-size": "^4.0.1", + "type-fest": "^5.5.0", + "widest-line": "^6.0.0", + "wrap-ansi": "^10.0.0", + "ws": "^8.20.0", + "yoga-layout": "~3.2.1" + }, + "engines": { + "node": ">=22" + }, + "peerDependencies": { + "@types/react": ">=19.2.0", + "react": ">=19.2.0", + "react-devtools-core": ">=6.1.2" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "react-devtools-core": { + "optional": true + } + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-5.1.0.tgz", + "integrity": "sha512-5XHYaSyiqADb4RnZ1Bdad6cPp8Toise4TzEjcOYDHZkTCbKgiUl7WTUCpNWHuxmDt91wnsZBc9xinNzopv3JMQ==", + "license": "MIT", + "optional": true, + "dependencies": { + "get-east-asian-width": "^1.3.1" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-in-ci": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-in-ci/-/is-in-ci-2.0.0.tgz", + "integrity": "sha512-cFeerHriAnhrQSbpAxL37W1wcJKUUX07HyLWZCW1URJT/ra3GyUTzBgUnh24TMVfNTV2Hij2HLxkPHFZfOZy5w==", + "license": "MIT", + "optional": true, + "bin": { + "is-in-ci": "cli.js" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/jiti": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.7.0.tgz", + "integrity": "sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ==", + "license": "MIT", + "bin": { + "jiti": "lib/jiti-cli.mjs" + } + }, + "node_modules/laravel-vite-plugin": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/laravel-vite-plugin/-/laravel-vite-plugin-3.2.0.tgz", + "integrity": "sha512-xSxY9Gzeb/eancd8WeK09piAFP+a6i5QIBqNCKNv9L0Eq6wziwzSem7F1GvMSrtjMh5F/QVKFxn8t9naGOA66A==", + "license": "MIT", + "dependencies": { + "picocolors": "^1.0.0", + "tinyglobby": "^0.2.12", + "vite-plugin-full-reload": "^1.1.0" + }, + "bin": { + "clean-orphaned-assets": "bin/clean.js" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "peerDependencies": { + "fontaine": "^0.8.0", + "vite": "^8.0.0" + }, + "peerDependenciesMeta": { + "fontaine": { + "optional": true + } + } + }, + "node_modules/lightningcss": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz", + "integrity": "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==", + "license": "MPL-2.0", + "dependencies": { + "detect-libc": "^2.0.3" + }, + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "lightningcss-android-arm64": "1.32.0", + "lightningcss-darwin-arm64": "1.32.0", + "lightningcss-darwin-x64": "1.32.0", + "lightningcss-freebsd-x64": "1.32.0", + "lightningcss-linux-arm-gnueabihf": "1.32.0", + "lightningcss-linux-arm64-gnu": "1.32.0", + "lightningcss-linux-arm64-musl": "1.32.0", + "lightningcss-linux-x64-gnu": "1.32.0", + "lightningcss-linux-x64-musl": "1.32.0", + "lightningcss-win32-arm64-msvc": "1.32.0", + "lightningcss-win32-x64-msvc": "1.32.0" + } + }, + "node_modules/lightningcss-android-arm64": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.32.0.tgz", + "integrity": "sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==", + "cpu": [ + "arm64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-darwin-arm64": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.32.0.tgz", + "integrity": "sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==", + "cpu": [ + "arm64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-darwin-x64": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.32.0.tgz", + "integrity": "sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==", + "cpu": [ + "x64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-freebsd-x64": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.32.0.tgz", + "integrity": "sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==", + "cpu": [ + "x64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm-gnueabihf": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.32.0.tgz", + "integrity": "sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==", + "cpu": [ + "arm" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm64-gnu": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.32.0.tgz", + "integrity": "sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==", + "cpu": [ + "arm64" + ], + "libc": [ + "glibc" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm64-musl": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.32.0.tgz", + "integrity": "sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==", + "cpu": [ + "arm64" + ], + "libc": [ + "musl" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-x64-gnu": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.33.0.tgz", + "integrity": "sha512-ar+Ju7LmcN0Jo4FpL4hpFybwNG9/3A/Br5KW2n2jyODg3MEZXaDYADdemoNS+BDNfMgKvylJLj4S5tyRActuAg==", + "cpu": [ + "x64" + ], + "libc": [ + "glibc" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-x64-musl": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.32.0.tgz", + "integrity": "sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==", + "cpu": [ + "x64" + ], + "libc": [ + "musl" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-win32-arm64-msvc": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.32.0.tgz", + "integrity": "sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==", + "cpu": [ + "arm64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-win32-x64-msvc": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.32.0.tgz", + "integrity": "sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==", + "cpu": [ + "x64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss/node_modules/lightningcss-linux-x64-gnu": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.32.0.tgz", + "integrity": "sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==", + "cpu": [ + "x64" + ], + "libc": [ + "glibc" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/magic-string": { + "version": "0.30.21", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz", + "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==", + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.5" + } + }, + "node_modules/mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "license": "MIT", + "optional": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/nanoid": { + "version": "3.3.18", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.18.tgz", + "integrity": "sha512-DTg4MJbGMWkfi6VZFdNt2/caMbQy4Ou+Op/hJQvGEWcnVfoA1QA+xzRKAzw9jD6+GVOOeYr/mIcuDSdug6F6+w==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "license": "MIT", + "optional": true, + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/patch-console": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/patch-console/-/patch-console-2.0.0.tgz", + "integrity": "sha512-0YNdUceMdaQwoKce1gatDScmMo5pu/tfABfnzEqeG0gtTmd7mh/WcwgUjtAeOU7N8nFFlbQBnFK2gXW5fGvmMA==", + "license": "MIT", + "optional": true, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + } + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.5.tgz", + "integrity": "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/postcss": { + "version": "8.5.26", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.26.tgz", + "integrity": "sha512-u82N74LFzG8ca+dD8puPnplTXoGH4fTPpVGuIbt36G3qvNlkvfD0lEAZSxaly3KX8TS/L1A1gsCEmvKmBcVbkQ==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.17", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/react": { + "version": "19.2.8", + "resolved": "https://registry.npmjs.org/react/-/react-19.2.8.tgz", + "integrity": "sha512-PWaYA1L/q9u2u7xYQi+Y3L3Yfnie7XyLeaJICV1MGD6LprsBxcAqGjYyr0eY3p+QdsA+x/Irkt4Qif8D63+Sbw==", + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-reconciler": { + "version": "0.33.0", + "resolved": "https://registry.npmjs.org/react-reconciler/-/react-reconciler-0.33.0.tgz", + "integrity": "sha512-KetWRytFv1epdpJc3J4G75I4WrplZE5jOL7Yq0p34+OVOKF4Se7WrdIdVC45XsSSmUTlht2FM/fM1FZb1mfQeA==", + "license": "MIT", + "optional": true, + "dependencies": { + "scheduler": "^0.27.0" + }, + "engines": { + "node": ">=0.10.0" + }, + "peerDependencies": { + "react": "^19.2.0" + } + }, + "node_modules/restore-cursor": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-4.0.0.tgz", + "integrity": "sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==", + "license": "MIT", + "optional": true, + "dependencies": { + "onetime": "^5.1.0", + "signal-exit": "^3.0.2" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/rolldown": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.4.tgz", + "integrity": "sha512-rSr7irW0K7QRWzjdJXqZowkcRdDtjRduh43rBltnVKd0VFq839l1lJoDvGJb6gl7+4rTTCrPWu+YfujUL8Ug7w==", + "license": "MIT", + "dependencies": { + "@oxc-project/types": "=0.144.0", + "@rolldown/pluginutils": "^1.0.0" + }, + "bin": { + "rolldown": "bin/cli.mjs" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "optionalDependencies": { + "@rolldown/binding-android-arm64": "1.2.4", + "@rolldown/binding-darwin-arm64": "1.2.4", + "@rolldown/binding-darwin-x64": "1.2.4", + "@rolldown/binding-freebsd-x64": "1.2.4", + "@rolldown/binding-linux-arm-gnueabihf": "1.2.4", + "@rolldown/binding-linux-arm64-gnu": "1.2.4", + "@rolldown/binding-linux-arm64-musl": "1.2.4", + "@rolldown/binding-linux-ppc64-gnu": "1.2.4", + "@rolldown/binding-linux-s390x-gnu": "1.2.4", + "@rolldown/binding-linux-x64-gnu": "1.2.4", + "@rolldown/binding-linux-x64-musl": "1.2.4", + "@rolldown/binding-openharmony-arm64": "1.2.4", + "@rolldown/binding-win32-arm64-msvc": "1.2.4", + "@rolldown/binding-win32-x64-msvc": "1.2.4" + } + }, + "node_modules/rxjs": { + "version": "7.8.2", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz", + "integrity": "sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==", + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.1.0" + } + }, + "node_modules/scheduler": { + "version": "0.27.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.27.0.tgz", + "integrity": "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==", + "license": "MIT", + "optional": true + }, + "node_modules/shell-quote": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.9.0.tgz", + "integrity": "sha512-Iov+JwFv/2HcTpcwNMKd8+IWNb8tboQJNQTkAY/LLVK7gGH9jy+LGkVqPxfekHl+yMmiqXszdGWXgkfml7hjqA==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "license": "ISC", + "optional": true + }, + "node_modules/slice-ansi": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-9.0.0.tgz", + "integrity": "sha512-SO/3iYL5S3W57LLEniscOGPZgOqZUPCx6d3dB+52B80yJ0XstzsC/eV8gnA4tM3MHDrKz+OCFSLNjswdSC+/bA==", + "license": "MIT", + "optional": true, + "dependencies": { + "ansi-styles": "^6.2.3", + "is-fullwidth-code-point": "^5.1.0" + }, + "engines": { + "node": ">=22" + }, + "funding": { + "url": "https://github.com/chalk/slice-ansi?sponsor=1" + } + }, + "node_modules/source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/stack-utils": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz", + "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==", + "license": "MIT", + "optional": true, + "dependencies": { + "escape-string-regexp": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/string-width": { + "version": "8.2.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-8.2.2.tgz", + "integrity": "sha512-GaPUh5gfdrYzqeVNZvUfT23vYYxXzKYidUcnMtJg/3rxRV63EFZy3k6xfKlmfeJD0176lnUV/Usr3XcwSvFzpg==", + "license": "MIT", + "optional": true, + "dependencies": { + "get-east-asian-width": "^1.5.0", + "strip-ansi": "^7.1.2" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/strip-ansi": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", + "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.2.2" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/supports-color": { + "version": "10.2.2", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-10.2.2.tgz", + "integrity": "sha512-SS+jx45GF1QjgEXQx4NJZV9ImqmO2NPz5FNsIHrsDjh2YsHnawpan7SNQ1o8NuhrbHZy9AZhIoCUiCeaW/C80g==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/tagged-tag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/tagged-tag/-/tagged-tag-1.0.0.tgz", + "integrity": "sha512-yEFYrVhod+hdNyx7g5Bnkkb0G6si8HJurOoOEgC8B/O0uXLHlaey/65KRv6cuWBNhBgHKAROVpc7QyYqE5gFng==", + "license": "MIT", + "optional": true, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/tailwindcss": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.3.3.tgz", + "integrity": "sha512-gOhV3P7ufE62QDGg1zVaTgCR+EtPv92k2nIhVcVKcLmxT1sUBsQGhnZj175j+MqRt4zLF7ic+sCYjfhxMxj7YQ==", + "license": "MIT" + }, + "node_modules/tapable": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.3.tgz", + "integrity": "sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==", + "license": "MIT", + "engines": { + "node": ">=6" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, + "node_modules/terminal-size": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/terminal-size/-/terminal-size-4.0.1.tgz", + "integrity": "sha512-avMLDQpUI9I5XFrklECw1ZEUPJhqzcwSWsyyI8blhRLT+8N1jLJWLWWYQpB2q2xthq8xDvjZPISVh53T/+CLYQ==", + "license": "MIT", + "optional": true, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/tinyglobby": { + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz", + "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==", + "license": "MIT", + "dependencies": { + "fdir": "^6.5.0", + "picomatch": "^4.0.4" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/SuperchupuDev" + } + }, + "node_modules/tree-kill": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz", + "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==", + "license": "MIT", + "bin": { + "tree-kill": "cli.js" + } + }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "license": "0BSD" + }, + "node_modules/type-fest": { + "version": "5.8.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-5.8.0.tgz", + "integrity": "sha512-YGYEVz3Fm5iy/AybuA0oyNFq7H4CgQNfRp/qfe8nurE1kuCeNm3/vfm9X4Mtl+qLyaKJUh5xrFZwogr41SMjYA==", + "license": "(MIT OR CC0-1.0)", + "optional": true, + "dependencies": { + "tagged-tag": "^1.0.0" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/vite": { + "version": "8.2.1", + "resolved": "https://registry.npmjs.org/vite/-/vite-8.2.1.tgz", + "integrity": "sha512-EU/eS7BH3XROHh2YnBefjM6DBKA6ZeMZEYQbj7NLWg5wHYlhB8B/Mayd5XsgWq+NFYccDOTemRpdETWR6Ka/lw==", + "license": "MIT", + "dependencies": { + "lightningcss": "^1.33.0", + "picomatch": "^4.0.5", + "postcss": "^8.5.25", + "rolldown": "~1.2.1", + "tinyglobby": "^0.2.17" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^20.19.0 || >=22.12.0", + "@vitejs/devtools": "^0.4.0", + "esbuild": "^0.27.0 || ^0.28.0", + "jiti": ">=1.21.0", + "less": "^4.0.0", + "sass": "^1.70.0", + "sass-embedded": "^1.70.0", + "stylus": ">=0.54.8", + "sugarss": "^5.0.0", + "terser": "^5.16.0", + "tsx": "^4.8.1", + "yaml": "^2.4.2" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "@vitejs/devtools": { + "optional": true + }, + "esbuild": { + "optional": true + }, + "jiti": { + "optional": true + }, + "less": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + }, + "tsx": { + "optional": true + }, + "yaml": { + "optional": true + } + } + }, + "node_modules/vite-plugin-full-reload": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/vite-plugin-full-reload/-/vite-plugin-full-reload-1.2.0.tgz", + "integrity": "sha512-kz18NW79x0IHbxRSHm0jttP4zoO9P9gXh+n6UTwlNKnviTTEpOlum6oS9SmecrTtSr+muHEn5TUuC75UovQzcA==", + "license": "MIT", + "dependencies": { + "picocolors": "^1.0.0", + "picomatch": "^2.3.1" + } + }, + "node_modules/vite-plugin-full-reload/node_modules/picomatch": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz", + "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==", + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/vite/node_modules/lightningcss": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.33.0.tgz", + "integrity": "sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==", + "license": "MPL-2.0", + "dependencies": { + "detect-libc": "^2.0.3" + }, + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "lightningcss-android-arm64": "1.33.0", + "lightningcss-darwin-arm64": "1.33.0", + "lightningcss-darwin-x64": "1.33.0", + "lightningcss-freebsd-x64": "1.33.0", + "lightningcss-linux-arm-gnueabihf": "1.33.0", + "lightningcss-linux-arm64-gnu": "1.33.0", + "lightningcss-linux-arm64-musl": "1.33.0", + "lightningcss-linux-x64-gnu": "1.33.0", + "lightningcss-linux-x64-musl": "1.33.0", + "lightningcss-win32-arm64-msvc": "1.33.0", + "lightningcss-win32-x64-msvc": "1.33.0" + } + }, + "node_modules/vite/node_modules/lightningcss-android-arm64": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.33.0.tgz", + "integrity": "sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg==", + "cpu": [ + "arm64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/vite/node_modules/lightningcss-darwin-arm64": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.33.0.tgz", + "integrity": "sha512-Sciaz8eenNTKn9b3t7+xr0ipTp9YxKQY4npwQ3mrRuL0BAVHBLyZxofhaKBAVtzmtRZ/zTyo0/to4B1uWG/Djg==", + "cpu": [ + "arm64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/vite/node_modules/lightningcss-darwin-x64": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.33.0.tgz", + "integrity": "sha512-Z5UPAxzrjlWNNyGy6i65cJzzvgJ5D3T6wMvs+gWpY9d7qRhANrxqAp6LhxIgZhWEw18RfJTGcRxjuLIBr+m8XQ==", + "cpu": [ + "x64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/vite/node_modules/lightningcss-freebsd-x64": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.33.0.tgz", + "integrity": "sha512-QQM/Ti/hQajJwCY+RiWuCZ9sdtI/XQk7nDK5vC8kkdwixezOlDgvDx7+RT+QjK6FcFT4MpsuoBnHIo/O3StRRg==", + "cpu": [ + "x64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/vite/node_modules/lightningcss-linux-arm-gnueabihf": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.33.0.tgz", + "integrity": "sha512-N7FVBe6iS24MlM6R/4RBTxGhQheZGs7tiQ9U32UtF75NzP5Q7xWPRqLBCKxlRQRk3rY1jCIPLzx7WzOhuUIRLQ==", + "cpu": [ + "arm" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/vite/node_modules/lightningcss-linux-arm64-gnu": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.33.0.tgz", + "integrity": "sha512-j2v/itmy4HlNxlc6voKXYgBqNi0Ng2LShg4z7GufpEgs05P+2suBVyi9I6YHq5uoVFx9ETin3eCEhLVyXGQnKg==", + "cpu": [ + "arm64" + ], + "libc": [ + "glibc" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/vite/node_modules/lightningcss-linux-arm64-musl": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.33.0.tgz", + "integrity": "sha512-yiO5ROMuYQgXbC60yjZU5CYSFZGKXL0HFATXt9mHJn1+zW55oCtMI9NfcVhYLMFDL7gV7oBPon/EmMMGg2OvtQ==", + "cpu": [ + "arm64" + ], + "libc": [ + "musl" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/vite/node_modules/lightningcss-linux-x64-musl": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.33.0.tgz", + "integrity": "sha512-RYiYbkokw0trfKqqzfF55lginwEPrD3OJDfTuJzFs1MK6iFnDenaz1fqLLtX4ITG3OktJQXOeTaw1awrBAlZPw==", + "cpu": [ + "x64" + ], + "libc": [ + "musl" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/vite/node_modules/lightningcss-win32-arm64-msvc": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.33.0.tgz", + "integrity": "sha512-1K+MPfLSFVpphzpdbfkhlWk6wBrTObBzS2T6db10PNOZgR9GoVsAWzwNyuhUYYbTp23j+4RrncfujZ4uAzXvwA==", + "cpu": [ + "arm64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/vite/node_modules/lightningcss-win32-x64-msvc": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.33.0.tgz", + "integrity": "sha512-OlEICDx/Xl0FqSp4bry8zFnCvGpig3Gl4gCquvYwHuqJKEC1+n9NgDniFvqHGmMv1ZkqDJrDqKKSykTDX+ehuA==", + "cpu": [ + "x64" + ], + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/widest-line": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-6.0.0.tgz", + "integrity": "sha512-U89AsyEeAsyoF0zVJBkG9zBgekjgjK7yk9sje3F4IQpXBJ10TF6ByLlIfjMhcmHMJgHZI4KHt4rdNfktzxIAMA==", + "license": "MIT", + "optional": true, + "dependencies": { + "string-width": "^8.1.0" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/wrap-ansi": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-10.0.0.tgz", + "integrity": "sha512-SGcvg80f0wUy2/fXES19feHMz8E0JoXv2uNgHOu4Dgi2OrCy1lqwFYEJz1BLbDI0exjPMe/ZdzZ/YpGECBG/aQ==", + "license": "MIT", + "optional": true, + "dependencies": { + "ansi-styles": "^6.2.3", + "string-width": "^8.2.0", + "strip-ansi": "^7.1.2" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/ws": { + "version": "8.21.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.3.tgz", + "integrity": "sha512-201TZ/kPWxoPr/OKWjquZR1SWKXcvxdH+e1xrx89b3YbmzLMFCLfnaG1HFIgWzJOEWZ7MvpK++odZufgYR50Rw==", + "license": "MIT", + "optional": true, + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs": { + "version": "18.0.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-18.0.0.tgz", + "integrity": "sha512-4UEqdc2RYGHZc7Doyqkrqiln3p9X2DZVxaGbwhn2pi7MrRagKaOcIKe8L3OxYcbhXLgLFUS3zAYuQjKBQgmuNg==", + "license": "MIT", + "dependencies": { + "cliui": "^9.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "string-width": "^7.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^22.0.0" + }, + "engines": { + "node": "^20.19.0 || ^22.12.0 || >=23" + } + }, + "node_modules/yargs-parser": { + "version": "22.0.0", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-22.0.0.tgz", + "integrity": "sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw==", + "license": "ISC", + "engines": { + "node": "^20.19.0 || ^22.12.0 || >=23" + } + }, + "node_modules/yargs/node_modules/string-width": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", + "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", + "license": "MIT", + "dependencies": { + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/yoga-layout": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/yoga-layout/-/yoga-layout-3.2.1.tgz", + "integrity": "sha512-0LPOt3AxKqMdFBZA3HBAt/t/8vIKq7VaQYbuA8WxCgung+p9TVyKRYdpvCb80HcdTN2NkbIKbhNwKUfm3tQywQ==", + "license": "MIT", + "optional": true + } + } +} diff --git a/package.json b/package.json new file mode 100755 index 0000000..54a0533 --- /dev/null +++ b/package.json @@ -0,0 +1,23 @@ +{ + "$schema": "https://www.schemastore.org/package.json", + "private": true, + "type": "module", + "scripts": { + "build": "vite build", + "dev": "vite" + }, + "dependencies": { + "@laravel/passkeys": "^0.2.0", + "@tailwindcss/vite": "^4.1.11", + "concurrently": "^10.0.3", + "laravel-vite-plugin": "^3.1", + "tailwindcss": "^4.0.7", + "vite": "^8.0.0" + }, + "optionalDependencies": { + "@laravel/multiplex": "^0.4.1", + "@rollup/rollup-linux-x64-gnu": "4.9.5", + "@tailwindcss/oxide-linux-x64-gnu": "^4.0.1", + "lightningcss-linux-x64-gnu": "^1.29.1" + } +} diff --git a/phpunit.xml b/phpunit.xml new file mode 100755 index 0000000..e7f0a48 --- /dev/null +++ b/phpunit.xml @@ -0,0 +1,36 @@ + + + + + tests/Unit + + + tests/Feature + + + + + app + + + + + + + + + + + + + + + + + + + diff --git a/public/.htaccess b/public/.htaccess new file mode 100755 index 0000000..b574a59 --- /dev/null +++ b/public/.htaccess @@ -0,0 +1,25 @@ + + + Options -MultiViews -Indexes + + + RewriteEngine On + + # Handle Authorization Header + RewriteCond %{HTTP:Authorization} . + RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] + + # Handle X-XSRF-Token Header + RewriteCond %{HTTP:x-xsrf-token} . + RewriteRule .* - [E=HTTP_X_XSRF_TOKEN:%{HTTP:X-XSRF-Token}] + + # Redirect Trailing Slashes If Not A Folder... + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_URI} (.+)/$ + RewriteRule ^ %1 [L,R=301] + + # Send Requests To Front Controller... + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_FILENAME} !-f + RewriteRule ^ index.php [L] + diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png new file mode 100755 index 0000000..c2efef6 Binary files /dev/null and b/public/apple-touch-icon.png differ diff --git a/public/build/assets/app-BNxnNJeC.css b/public/build/assets/app-BNxnNJeC.css new file mode 100644 index 0000000..9dc3e9b --- /dev/null +++ b/public/build/assets/app-BNxnNJeC.css @@ -0,0 +1,2 @@ +/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */ +@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-x-reverse:0;--tw-border-style:solid;--tw-divide-y-reverse:0;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--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-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:"Instrument Sans", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-serif:ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-800:oklch(44.4% .177 26.899);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-orange-50:oklch(98% .016 73.684);--color-orange-100:oklch(95.4% .038 75.164);--color-orange-200:oklch(90.1% .076 70.697);--color-orange-300:oklch(83.7% .128 66.29);--color-orange-400:oklch(75% .183 55.934);--color-orange-500:oklch(70.5% .213 47.604);--color-orange-600:oklch(64.6% .222 41.116);--color-orange-700:oklch(55.3% .195 38.402);--color-orange-800:oklch(47% .157 37.304);--color-orange-900:oklch(40.8% .123 38.172);--color-orange-950:oklch(26.6% .079 36.259);--color-amber-50:oklch(98.7% .022 95.277);--color-amber-100:oklch(96.2% .059 95.617);--color-amber-200:oklch(92.4% .12 95.746);--color-amber-300:oklch(87.9% .169 91.605);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-600:oklch(66.6% .179 58.318);--color-amber-700:oklch(55.5% .163 48.998);--color-amber-800:oklch(47.3% .137 46.201);--color-amber-900:oklch(41.4% .112 45.904);--color-amber-950:oklch(27.9% .077 45.635);--color-yellow-50:oklch(98.7% .026 102.212);--color-yellow-100:oklch(97.3% .071 103.193);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-300:oklch(90.5% .182 98.111);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-600:oklch(68.1% .162 75.834);--color-yellow-700:oklch(55.4% .135 66.442);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-900:oklch(42.1% .095 57.708);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-50:oklch(98.6% .031 120.757);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-900:oklch(40.5% .101 131.063);--color-lime-950:oklch(27.4% .072 132.109);--color-green-50:oklch(98.2% .018 155.826);--color-green-100:oklch(96.2% .044 156.743);--color-green-200:oklch(92.5% .084 155.995);--color-green-300:oklch(87.1% .15 154.449);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-green-700:oklch(52.7% .154 150.069);--color-green-800:oklch(44.8% .119 151.328);--color-green-900:oklch(39.3% .095 152.535);--color-green-950:oklch(26.6% .065 152.934);--color-emerald-50:oklch(97.9% .021 166.113);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-200:oklch(90.5% .093 164.15);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-900:oklch(37.8% .077 168.94);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-50:oklch(98.4% .014 180.72);--color-teal-100:oklch(95.3% .051 180.801);--color-teal-200:oklch(91% .096 180.426);--color-teal-300:oklch(85.5% .138 181.071);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-teal-600:oklch(60% .118 184.704);--color-teal-700:oklch(51.1% .096 186.391);--color-teal-800:oklch(43.7% .078 188.216);--color-teal-900:oklch(38.6% .063 188.416);--color-teal-950:oklch(27.7% .046 192.524);--color-cyan-50:oklch(98.4% .019 200.873);--color-cyan-100:oklch(95.6% .045 203.388);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-300:oklch(86.5% .127 207.078);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-500:oklch(71.5% .143 215.221);--color-cyan-600:oklch(60.9% .126 221.723);--color-cyan-700:oklch(52% .105 223.128);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-900:oklch(39.8% .07 227.392);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-50:oklch(97.7% .013 236.62);--color-sky-100:oklch(95.1% .026 236.824);--color-sky-200:oklch(90.1% .058 230.902);--color-sky-300:oklch(82.8% .111 230.318);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-sky-600:oklch(58.8% .158 241.966);--color-sky-700:oklch(50% .134 242.749);--color-sky-800:oklch(44.3% .11 240.79);--color-sky-900:oklch(39.1% .09 240.876);--color-sky-950:oklch(29.3% .066 243.157);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-50:oklch(96.2% .018 272.314);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-200:oklch(87% .065 274.039);--color-indigo-300:oklch(78.5% .115 274.713);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-600:oklch(51.1% .262 276.966);--color-indigo-700:oklch(45.7% .24 277.023);--color-indigo-800:oklch(39.8% .195 277.366);--color-indigo-900:oklch(35.9% .144 278.697);--color-indigo-950:oklch(25.7% .09 281.288);--color-violet-50:oklch(96.9% .016 293.756);--color-violet-100:oklch(94.3% .029 294.588);--color-violet-200:oklch(89.4% .057 293.283);--color-violet-300:oklch(81.1% .111 293.571);--color-violet-400:oklch(70.2% .183 293.541);--color-violet-500:oklch(60.6% .25 292.717);--color-violet-600:oklch(54.1% .281 293.009);--color-violet-700:oklch(49.1% .27 292.581);--color-violet-800:oklch(43.2% .232 292.759);--color-violet-900:oklch(38% .189 293.745);--color-violet-950:oklch(28.3% .141 291.089);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-200:oklch(90.2% .063 306.703);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-fuchsia-50:oklch(97.7% .017 320.058);--color-fuchsia-100:oklch(95.2% .037 318.852);--color-fuchsia-200:oklch(90.3% .076 319.62);--color-fuchsia-300:oklch(83.3% .145 321.434);--color-fuchsia-400:oklch(74% .238 322.16);--color-fuchsia-500:oklch(66.7% .295 322.15);--color-fuchsia-600:oklch(59.1% .293 322.896);--color-fuchsia-700:oklch(51.8% .253 323.949);--color-fuchsia-800:oklch(45.2% .211 324.591);--color-fuchsia-900:oklch(40.1% .17 325.612);--color-fuchsia-950:oklch(29.3% .136 325.661);--color-pink-50:oklch(97.1% .014 343.198);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-200:oklch(89.9% .061 343.231);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-600:oklch(59.2% .249 .584);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-800:oklch(45.9% .187 3.815);--color-pink-900:oklch(40.8% .153 2.432);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-50:oklch(96.9% .015 12.422);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-400:oklch(71.2% .194 13.428);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-700:oklch(51.4% .222 16.935);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-900:oklch(41% .159 10.272);--color-rose-950:oklch(27.1% .105 12.094);--color-slate-50:oklch(98.4% .003 247.858);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-300:oklch(86.9% .022 252.894);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-500:oklch(55.4% .046 257.417);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-800:oklch(27.9% .041 260.031);--color-slate-900:oklch(20.8% .042 265.755);--color-slate-950:oklch(12.9% .042 264.695);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-gray-950:oklch(13% .028 261.692);--color-zinc-50:#fafafa;--color-zinc-100:#f5f5f5;--color-zinc-200:#e5e5e5;--color-zinc-300:#d4d4d4;--color-zinc-400:#a3a3a3;--color-zinc-500:#737373;--color-zinc-600:#525252;--color-zinc-700:#404040;--color-zinc-800:#262626;--color-zinc-900:#171717;--color-zinc-950:#0a0a0a;--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:oklch(97% 0 none);--color-neutral-200:oklch(92.2% 0 none);--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-stone-50:oklch(98.5% .001 106.423);--color-stone-100:oklch(97% .001 106.424);--color-stone-200:oklch(92.3% .003 48.717);--color-stone-300:oklch(86.9% .005 56.366);--color-stone-400:oklch(70.9% .01 56.259);--color-stone-500:oklch(55.3% .013 58.071);--color-stone-600:oklch(44.4% .011 73.639);--color-stone-700:oklch(37.4% .01 67.558);--color-stone-800:oklch(26.8% .007 34.298);--color-stone-900:oklch(21.6% .006 56.043);--color-stone-950:oklch(14.7% .004 49.25);--color-mauve-800:oklch(26.3% .024 320.12);--color-olive-800:oklch(28.6% .016 107.4);--color-mist-800:oklch(27.5% .011 216.9);--color-taupe-800:oklch(26.8% .011 36.5);--color-black:#000;--color-white:#fff;--spacing:.25rem;--breakpoint-sm:40rem;--breakpoint-md:48rem;--breakpoint-lg:64rem;--breakpoint-xl:80rem;--breakpoint-2xl:96rem;--container-3xs:16rem;--container-2xs:18rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-xl:36rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--container-5xl:64rem;--container-6xl:72rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--text-3xl:1.875rem;--text-3xl--line-height:calc(2.25 / 1.875);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5 / 2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-6xl:3.75rem;--text-6xl--line-height:1;--text-7xl:4.5rem;--text-7xl--line-height:1;--text-8xl:6rem;--text-8xl--line-height:1;--text-9xl:8rem;--text-9xl--line-height:1;--font-weight-thin:100;--font-weight-extralight:200;--font-weight-light:300;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-extrabold:800;--font-weight-black:900;--tracking-tighter:-.05em;--tracking-tight:-.025em;--tracking-normal:0em;--tracking-wide:.025em;--tracking-wider:.05em;--tracking-widest:.1em;--leading-tight:1.25;--leading-snug:1.375;--leading-normal:1.5;--leading-relaxed:1.625;--leading-loose:2;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--radius-4xl:2rem;--shadow-2xs:0 1px #0000000d;--shadow-xs:0 1px 2px 0 #0000000d;--shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--shadow-xl:0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;--shadow-2xl:0 25px 50px -12px #00000040;--inset-shadow-2xs:inset 0 1px #0000000d;--inset-shadow-xs:inset 0 1px 1px #0000000d;--inset-shadow-sm:inset 0 2px 4px #0000000d;--drop-shadow-xs:0 1px 1px #0000000d;--drop-shadow-sm:0 1px 2px #00000026;--drop-shadow-md:0 3px 3px #0000001f;--drop-shadow-lg:0 4px 4px #00000026;--drop-shadow-xl:0 9px 7px #0000001a;--drop-shadow-2xl:0 25px 25px #00000026;--ease-in:cubic-bezier(.4, 0, 1, 1);--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-ping:ping 1s cubic-bezier(0, 0, .2, 1) infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--animate-bounce:bounce 1s infinite;--blur-xs:4px;--blur-sm:8px;--blur-md:12px;--blur-lg:16px;--blur-xl:24px;--blur-2xl:40px;--blur-3xl:64px;--perspective-dramatic:100px;--perspective-near:300px;--perspective-normal:500px;--perspective-midrange:800px;--perspective-distant:1200px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-accent:var(--color-neutral-800);--color-accent-content:var(--color-neutral-800);--color-accent-foreground:var(--color-white)}.dark{--color-accent:var(--color-white);--color-accent-content:var(--color-white);--color-accent-foreground:var(--color-neutral-800)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;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}ui-button{display:block}ui-label{cursor:default;display:inline-block}ui-description,ui-legend,ui-select{display:block}ui-selected-option{display:contents}ui-options:not([popover]),ui-option,ui-option-create,ui-option-empty,ui-empty{cursor:default;display:block}ui-pillbox,ui-checkbox-group{display:block}ui-checkbox,ui-switch{-webkit-user-select:none;user-select:none;display:inline-block}ui-radio-group{display:block}ui-radio{-webkit-user-select:none;user-select:none;display:inline-block}ui-date-picker,ui-time-picker,ui-calendar{display:block}ui-calendar-preset,ui-calendar-previous,ui-calendar-next,ui-calender-next{-webkit-user-select:none;user-select:none;display:block}ui-menu[popover]:popover-open{display:block}ui-menu[popover].\:popover-open{display:block}ui-menu-checkbox,ui-menu-radio{cursor:default;display:contents}ui-disclosure{display:block}ui-tab-group,ui-tabs{cursor:default;display:block}ui-resizable,ui-composer,ui-editor,ui-editor-content,ui-progress,ui-carousel,ui-carousel-track,ui-carousel-slide{display:block}*,:after,:before,::backdrop{border-color:var(--color-gray-200,currentColor)}::file-selector-button{border-color:var(--color-gray-200,currentColor)}}@layer components{:where([data-flux-timeline]){--flux-timeline-item-gap:calc(var(--spacing) * 4);--flux-timeline-item-offset:0px;--flux-timeline-content-gap:calc(var(--spacing) * 3);--flux-timeline-line-gap:var(--spacing);--flux-timeline-line-width:1px;--flux-timeline-indicator-size:calc(var(--spacing) * 8)}:where([data-flux-timeline-horizontal]){--flux-timeline-content-gap:calc(var(--spacing) * 2)}:where([data-flux-timeline][data-flux-timeline-size=lg]){--flux-timeline-item-gap:calc(var(--spacing) * 8);--flux-timeline-content-gap:calc(var(--spacing) * 4);--flux-timeline-line-gap:0px;--flux-timeline-line-width:2px}:where([data-flux-timeline-size=lg]){--flux-timeline-indicator-size:calc(var(--spacing) * 12)}:where([data-flux-timeline-horizontal][data-flux-timeline-size=lg]),:where([data-flux-timeline-horizontal] [data-flux-timeline-size=lg]){--flux-timeline-item-gap:calc(var(--spacing) * 4);--flux-timeline-content-gap:calc(var(--spacing) * 3)}}@layer utilities{.\@container{container-type:inline-size}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-y-\[3px\]{inset-block:3px}.start-0{inset-inline-start:calc(var(--spacing) * 0)}.end-0{inset-inline-end:calc(var(--spacing) * 0)}.end-\[-2px\]{inset-inline-end:-2px}.top-0{top:0}.top-1\/2{top:50%}.top-\[-1px\]{top:-1px}.top-\[-2px\]{top:-2px}.right-0{right:0}.bottom-0{bottom:0}.left-0{left:0}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-0{z-index:0}.z-1{z-index:1}.z-10{z-index:10}.z-20{z-index:20}.z-20\!{z-index:20!important}.z-50{z-index:50}.col-1{grid-column:1}.col-11{grid-column:11}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-2{margin:calc(var(--spacing) * 2)}.m-5{margin:calc(var(--spacing) * 5)}.m-\[-2px\]{margin:-2px}.-mx-\[\.3125rem\]{margin-inline:-.3125rem}.mx-1{margin-inline:var(--spacing)}.mx-2{margin-inline:calc(var(--spacing) * 2)}.mx-6{margin-inline:calc(var(--spacing) * 6)}.mx-auto{margin-inline:auto}.-my-1{margin-block:calc(var(--spacing) * -1)}.-my-px{margin-block:-1px}.my-1{margin-block:var(--spacing)}.my-1\.5{margin-block:calc(var(--spacing) * 1.5)}.my-5{margin-block:calc(var(--spacing) * 5)}.my-6{margin-block:calc(var(--spacing) * 6)}.my-\[\.3125rem\]{margin-block:.3125rem}.my-px{margin-block:1px}.-ms-1{margin-inline-start:calc(var(--spacing) * -1)}.-ms-1\.5{margin-inline-start:calc(var(--spacing) * -1.5)}.-ms-2{margin-inline-start:calc(var(--spacing) * -2)}.-ms-2\.5{margin-inline-start:calc(var(--spacing) * -2.5)}.-ms-3{margin-inline-start:calc(var(--spacing) * -3)}.-ms-4{margin-inline-start:calc(var(--spacing) * -4)}.ms-1{margin-inline-start:var(--spacing)}.ms-1\.5{margin-inline-start:calc(var(--spacing) * 1.5)}.ms-2{margin-inline-start:calc(var(--spacing) * 2)}.ms-3{margin-inline-start:calc(var(--spacing) * 3)}.ms-4{margin-inline-start:calc(var(--spacing) * 4)}.ms-5{margin-inline-start:calc(var(--spacing) * 5)}.ms-auto{margin-inline-start:auto}.-me-1{margin-inline-end:calc(var(--spacing) * -1)}.-me-1\.5{margin-inline-end:calc(var(--spacing) * -1.5)}.-me-2{margin-inline-end:calc(var(--spacing) * -2)}.-me-2\.5{margin-inline-end:calc(var(--spacing) * -2.5)}.-me-3{margin-inline-end:calc(var(--spacing) * -3)}.-me-4{margin-inline-end:calc(var(--spacing) * -4)}.me-1\.5{margin-inline-end:calc(var(--spacing) * 1.5)}.me-2{margin-inline-end:calc(var(--spacing) * 2)}.me-4{margin-inline-end:calc(var(--spacing) * 4)}.me-10{margin-inline-end:calc(var(--spacing) * 10)}.\!mt-1{margin-top:var(--spacing)!important}.-mt-1{margin-top:calc(var(--spacing) * -1)}.-mt-1\.5{margin-top:calc(var(--spacing) * -1.5)}.-mt-2\.5{margin-top:calc(var(--spacing) * -2.5)}.-mt-3{margin-top:calc(var(--spacing) * -3)}.-mt-5{margin-top:calc(var(--spacing) * -5)}.-mt-\[6\.6rem\]{margin-top:-6.6rem}.-mt-px{margin-top:-1px}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-8{margin-top:calc(var(--spacing) * 8)}.mt-10{margin-top:calc(var(--spacing) * 10)}.mt-12{margin-top:calc(var(--spacing) * 12)}.mt-auto{margin-top:auto}.mt-px{margin-top:1px}.mr-1{margin-right:var(--spacing)}.mr-2{margin-right:calc(var(--spacing) * 2)}.mr-3{margin-right:calc(var(--spacing) * 3)}.mr-6{margin-right:calc(var(--spacing) * 6)}.mr-auto{margin-right:auto}.-mb-1{margin-bottom:calc(var(--spacing) * -1)}.-mb-1\.5{margin-bottom:calc(var(--spacing) * -1.5)}.-mb-2\.5{margin-bottom:calc(var(--spacing) * -2.5)}.-mb-3{margin-bottom:calc(var(--spacing) * -3)}.-mb-px{margin-bottom:-1px}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.mb-8{margin-bottom:calc(var(--spacing) * 8)}.mb-\[2px\]{margin-bottom:2px}.-ml-1{margin-left:calc(var(--spacing) * -1)}.-ml-8{margin-left:calc(var(--spacing) * -8)}.-ml-px{margin-left:-1px}.ml-1{margin-left:var(--spacing)}.ml-2{margin-left:calc(var(--spacing) * 2)}.ml-3{margin-left:calc(var(--spacing) * 3)}.ml-4{margin-left:calc(var(--spacing) * 4)}.ml-6{margin-left:calc(var(--spacing) * 6)}.ml-12{margin-left:calc(var(--spacing) * 12)}.ml-auto{margin-left:auto}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.list-item{display:list-item}.table{display:table}.table\!{display:table!important}.field-sizing-content{field-sizing:content}.aspect-\[335\/364\]{aspect-ratio:335/364}.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{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\!{width:calc(var(--spacing) * 3)!important;height:calc(var(--spacing) * 3)!important}.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-4\!{width:calc(var(--spacing) * 4)!important;height:calc(var(--spacing) * 4)!important}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-5\!{width:calc(var(--spacing) * 5)!important;height:calc(var(--spacing) * 5)!important}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.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-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-\[1\.125rem\]{width:1.125rem;height:1.125rem}.size-\[6px\]{width:6px;height:6px}.size-\[9px\]{width:9px;height:9px}.size-full{width:100%;height:100%}.\!h-10{height:calc(var(--spacing) * 10)!important}.h-0{height:0}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-11{height:calc(var(--spacing) * 11)}.h-12{height:calc(var(--spacing) * 12)}.h-14{height:calc(var(--spacing) * 14)}.h-14\.5{height:calc(var(--spacing) * 14.5)}.h-16{height:calc(var(--spacing) * 16)}.h-\[18px\]{height:18px}.h-\[23\.5px\]{height:23.5px}.h-\[56px\]{height:56px}.h-\[calc\(2rem\+2px\)\]{height:calc(2rem + 2px)}.h-auto{height:auto}.h-dvh{height:100dvh}.h-full{height:100%}.h-px{height:1px}.max-h-36{max-height:calc(var(--spacing) * 36)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-\[100vh\]{max-height:100vh}.max-h-\[calc\(100dvh-1rem\)\]{max-height:calc(100dvh - 1rem)}.max-h-dvh{max-height:100dvh}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-\[calc\(100dvh-1rem\)\]{min-height:calc(100dvh - 1rem)}.min-h-auto{min-height:auto}.min-h-dvh{min-height:100dvh}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.min-h-svh{min-height:100svh}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-1\/2{width:50%}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-3{width:calc(var(--spacing) * 3)}.w-3\.5{width:calc(var(--spacing) * 3.5)}.w-3\/4{width:75%}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-8{width:calc(var(--spacing) * 8)}.w-8\!{width:calc(var(--spacing) * 8)!important}.w-9{width:calc(var(--spacing) * 9)}.w-10{width:calc(var(--spacing) * 10)}.w-11{width:calc(var(--spacing) * 11)}.w-12{width:calc(var(--spacing) * 12)}.w-14{width:calc(var(--spacing) * 14)}.w-64{width:calc(var(--spacing) * 64)}.w-\[18px\]{width:18px}.w-\[438px\]{width:438px}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.w-px{width:1px}.max-w-6xl{max-width:var(--container-6xl)}.max-w-7xl{max-width:var(--container-7xl)}.max-w-150{max-width:calc(var(--spacing) * 150)}.max-w-\[335px\]{max-width:335px}.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-0{min-width:0}.min-w-2{min-width:calc(var(--spacing) * 2)}.min-w-3{min-width:calc(var(--spacing) * 3)}.min-w-5{min-width:calc(var(--spacing) * 5)}.min-w-6{min-width:calc(var(--spacing) * 6)}.min-w-8{min-width:calc(var(--spacing) * 8)}.min-w-\[100\%\]{min-width:100%}.min-w-\[calc\(100\%-1rem\)\]{min-width:calc(100% - 1rem)}.min-w-full{min-width:100%}.flex-1{flex:1}.flex-none{flex:none}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.grow-0{flex-grow:0}.table-fixed{table-layout:fixed}.border-collapse{border-collapse:collapse}.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)}.translate-x-\[0\.1875rem\]{--tw-translate-x:.1875rem;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[0\.9375rem\]{--tw-translate-x:.9375rem;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-0{--tw-translate-y:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.transform\!{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)!important}.animate-ping{animation:var(--animate-ping)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-not-allowed\!{cursor:not-allowed!important}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.resize-x{resize:horizontal}.resize-y{resize:vertical}.snap-center{scroll-snap-align:center}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.appearance-none{appearance:none}.auto-rows-min{grid-auto-rows:min-content}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.justify-items-center{justify-items:center}.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-12{gap:calc(var(--spacing) * 12)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing) * var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 1.5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 1.5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-\[2px\]>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(2px * var(--tw-space-y-reverse));margin-block-end:calc(2px * calc(1 - var(--tw-space-y-reverse)))}.gap-x-1\.5{column-gap:calc(var(--spacing) * 1.5)}.gap-x-3{column-gap:calc(var(--spacing) * 3)}:where(.space-x-0\.5>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * .5) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * .5) * calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-1>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(var(--spacing) * var(--tw-space-x-reverse));margin-inline-end:calc(var(--spacing) * calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * 2) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * 3) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-x-reverse)))}.gap-y-1\.5{row-gap:calc(var(--spacing) * 1.5)}:where(.divide-x>:not(:last-child)){--tw-divide-x-reverse:0;border-inline-style:var(--tw-border-style);border-inline-start-width:calc(1px * var(--tw-divide-x-reverse));border-inline-end-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-neutral-200>:not(:last-child)){border-color:var(--color-neutral-200)}:where(.divide-stone-200>:not(:last-child)){border-color:var(--color-stone-200)}:where(.divide-zinc-800>:not(:last-child)){border-color:var(--color-zinc-800)}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.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-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.overflow-y-hidden{overflow-y:hidden}.overflow-y-scroll{overflow-y:scroll}.overscroll-contain{overscroll-behavior:contain}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[\.3rem\]{border-radius:.3rem}.rounded-\[3px\]{border-radius:3px}.rounded-\[4px\]{border-radius:4px}.rounded-\[6px\]{border-radius:6px}.rounded-\[8px\]{border-radius:8px}.rounded-\[var\(--avatar-radius\)\]{border-radius:var(--avatar-radius)}.rounded-full{border-radius:2147483647px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-s-lg{border-start-start-radius:var(--radius-lg);border-end-start-radius:var(--radius-lg)}.rounded-s-md{border-start-start-radius:var(--radius-md);border-end-start-radius:var(--radius-md)}.rounded-e-lg{border-start-end-radius:var(--radius-lg);border-end-end-radius:var(--radius-lg)}.rounded-e-md{border-start-end-radius:var(--radius-md);border-end-end-radius:var(--radius-md)}.rounded-ee-lg{border-end-end-radius:var(--radius-lg)}.rounded-es-lg{border-end-start-radius:var(--radius-lg)}.rounded-t-lg{border-top-left-radius:var(--radius-lg);border-top-right-radius:var(--radius-lg)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-lg{border-bottom-right-radius:var(--radius-lg);border-bottom-left-radius:var(--radius-lg)}.rounded-br-lg{border-bottom-right-radius:var(--radius-lg)}.rounded-bl-lg{border-bottom-left-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-1{border-style:var(--tw-border-style);border-width:1px}.border-x{border-inline-style:var(--tw-border-style);border-inline-width:1px}.border-s{border-inline-start-style:var(--tw-border-style);border-inline-start-width:1px}.border-e{border-inline-end-style:var(--tw-border-style);border-inline-end-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-dotted{--tw-border-style:dotted;border-style:dotted}.border-\(--callout-border\){border-color:var(--callout-border)}.border-\[\#19140035\]{border-color:#19140035}.border-\[\#e3e3e0\]{border-color:#e3e3e0}.border-amber-400\/60{border-color:#fcbb0099}@supports (color:color-mix(in lab, red, red)){.border-amber-400\/60{border-color:color-mix(in oklab, var(--color-amber-400) 60%, transparent)}}.border-amber-500\/30{border-color:#f99c004d}@supports (color:color-mix(in lab, red, red)){.border-amber-500\/30{border-color:color-mix(in oklab, var(--color-amber-500) 30%, transparent)}}.border-black{border-color:var(--color-black)}.border-black\/10{border-color:#0000001a}@supports (color:color-mix(in lab, red, red)){.border-black\/10{border-color:color-mix(in oklab, var(--color-black) 10%, transparent)}}.border-blue-400\/70{border-color:#54a2ffb3}@supports (color:color-mix(in lab, red, red)){.border-blue-400\/70{border-color:color-mix(in oklab, var(--color-blue-400) 70%, transparent)}}.border-emerald-400\/60{border-color:#00d29499}@supports (color:color-mix(in lab, red, red)){.border-emerald-400\/60{border-color:color-mix(in oklab, var(--color-emerald-400) 60%, transparent)}}.border-emerald-500\/30{border-color:#00bb7f4d}@supports (color:color-mix(in lab, red, red)){.border-emerald-500\/30{border-color:color-mix(in oklab, var(--color-emerald-500) 30%, transparent)}}.border-emerald-500\/40{border-color:#00bb7f66}@supports (color:color-mix(in lab, red, red)){.border-emerald-500\/40{border-color:color-mix(in oklab, var(--color-emerald-500) 40%, transparent)}}.border-emerald-900{border-color:var(--color-emerald-900)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-gray-400{border-color:var(--color-gray-400)}.border-neutral-100{border-color:var(--color-neutral-100)}.border-neutral-200{border-color:var(--color-neutral-200)}.border-neutral-300{border-color:var(--color-neutral-300)}.border-orange-500\/30{border-color:#fe6e004d}@supports (color:color-mix(in lab, red, red)){.border-orange-500\/30{border-color:color-mix(in oklab, var(--color-orange-500) 30%, transparent)}}.border-red-400\/60{border-color:#ff656899}@supports (color:color-mix(in lab, red, red)){.border-red-400\/60{border-color:color-mix(in oklab, var(--color-red-400) 60%, transparent)}}.border-red-500{border-color:var(--color-red-500)}.border-red-500\/30{border-color:#fb2c364d}@supports (color:color-mix(in lab, red, red)){.border-red-500\/30{border-color:color-mix(in oklab, var(--color-red-500) 30%, transparent)}}.border-red-500\/40{border-color:#fb2c3666}@supports (color:color-mix(in lab, red, red)){.border-red-500\/40{border-color:color-mix(in oklab, var(--color-red-500) 40%, transparent)}}.border-sky-400\/60{border-color:#00bcfe99}@supports (color:color-mix(in lab, red, red)){.border-sky-400\/60{border-color:color-mix(in oklab, var(--color-sky-400) 60%, transparent)}}.border-stone-100{border-color:var(--color-stone-100)}.border-stone-200{border-color:var(--color-stone-200)}.border-transparent{border-color:#0000}.border-zinc-100{border-color:var(--color-zinc-100)}.border-zinc-200{border-color:var(--color-zinc-200)}.border-zinc-300{border-color:var(--color-zinc-300)}.border-zinc-700{border-color:var(--color-zinc-700)}.border-zinc-800{border-color:var(--color-zinc-800)}.border-zinc-800\/10{border-color:#2626261a}@supports (color:color-mix(in lab, red, red)){.border-zinc-800\/10{border-color:color-mix(in oklab, var(--color-zinc-800) 10%, transparent)}}.border-zinc-800\/15{border-color:#26262626}@supports (color:color-mix(in lab, red, red)){.border-zinc-800\/15{border-color:color-mix(in oklab, var(--color-zinc-800) 15%, transparent)}}.border-x-zinc-100{border-inline-color:var(--color-zinc-100)}.border-b-zinc-300\/80{border-bottom-color:#d4d4d4cc}@supports (color:color-mix(in lab, red, red)){.border-b-zinc-300\/80{border-bottom-color:color-mix(in oklab, var(--color-zinc-300) 80%, transparent)}}.bg-\(--callout-background\){background-color:var(--callout-background)}.bg-\[\#1b1b18\]{background-color:#1b1b18}.bg-\[\#FDFDFC\]{background-color:#fdfdfc}.bg-\[\#dbdbd7\]{background-color:#dbdbd7}.bg-\[\#fff2f2\]{background-color:#fff2f2}.bg-\[var\(--color-accent\)\]{background-color:var(--color-accent)}.bg-\[var\(--color-accent-foreground\)\]{background-color:var(--color-accent-foreground)}.bg-\[var\(--flux-progress-color\)\]{background-color:var(--flux-progress-color)}.bg-accent-content{background-color:var(--color-accent-content)}.bg-amber-200{background-color:var(--color-amber-200)}.bg-amber-400\/25{background-color:#fcbb0040}@supports (color:color-mix(in lab, red, red)){.bg-amber-400\/25{background-color:color-mix(in oklab, var(--color-amber-400) 25%, transparent)}}.bg-amber-500{background-color:var(--color-amber-500)}.bg-amber-500\/10{background-color:#f99c001a}@supports (color:color-mix(in lab, red, red)){.bg-amber-500\/10{background-color:color-mix(in oklab, var(--color-amber-500) 10%, transparent)}}.bg-amber-600{background-color:var(--color-amber-600)}.bg-black{background-color:var(--color-black)}.bg-black\/8{background-color:#00000014}@supports (color:color-mix(in lab, red, red)){.bg-black\/8{background-color:color-mix(in oklab, var(--color-black) 8%, transparent)}}.bg-black\/10{background-color:#0000001a}@supports (color:color-mix(in lab, red, red)){.bg-black\/10{background-color:color-mix(in oklab, var(--color-black) 10%, transparent)}}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-200{background-color:var(--color-blue-200)}.bg-blue-300{background-color:var(--color-blue-300)}.bg-blue-400\/20{background-color:#54a2ff33}@supports (color:color-mix(in lab, red, red)){.bg-blue-400\/20{background-color:color-mix(in oklab, var(--color-blue-400) 20%, transparent)}}.bg-blue-500{background-color:var(--color-blue-500)}.bg-blue-500\/10{background-color:#3080ff1a}@supports (color:color-mix(in lab, red, red)){.bg-blue-500\/10{background-color:color-mix(in oklab, var(--color-blue-500) 10%, transparent)}}.bg-blue-500\/25{background-color:#3080ff40}@supports (color:color-mix(in lab, red, red)){.bg-blue-500\/25{background-color:color-mix(in oklab, var(--color-blue-500) 25%, transparent)}}.bg-blue-600{background-color:var(--color-blue-600)}.bg-blue-700{background-color:var(--color-blue-700)}.bg-cyan-200{background-color:var(--color-cyan-200)}.bg-cyan-400\/20{background-color:#00d2ef33}@supports (color:color-mix(in lab, red, red)){.bg-cyan-400\/20{background-color:color-mix(in oklab, var(--color-cyan-400) 20%, transparent)}}.bg-cyan-500{background-color:var(--color-cyan-500)}.bg-emerald-200{background-color:var(--color-emerald-200)}.bg-emerald-400\/20{background-color:#00d29433}@supports (color:color-mix(in lab, red, red)){.bg-emerald-400\/20{background-color:color-mix(in oklab, var(--color-emerald-400) 20%, transparent)}}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-emerald-500\/10{background-color:#00bb7f1a}@supports (color:color-mix(in lab, red, red)){.bg-emerald-500\/10{background-color:color-mix(in oklab, var(--color-emerald-500) 10%, transparent)}}.bg-emerald-600{background-color:var(--color-emerald-600)}.bg-emerald-800{background-color:var(--color-emerald-800)}.bg-fuchsia-200{background-color:var(--color-fuchsia-200)}.bg-fuchsia-400\/20{background-color:#ec6cff33}@supports (color:color-mix(in lab, red, red)){.bg-fuchsia-400\/20{background-color:color-mix(in oklab, var(--color-fuchsia-400) 20%, transparent)}}.bg-fuchsia-500{background-color:var(--color-fuchsia-500)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-green-200{background-color:var(--color-green-200)}.bg-green-300{background-color:var(--color-green-300)}.bg-green-400{background-color:var(--color-green-400)}.bg-green-400\/20{background-color:#05df7233}@supports (color:color-mix(in lab, red, red)){.bg-green-400\/20{background-color:color-mix(in oklab, var(--color-green-400) 20%, transparent)}}.bg-green-500{background-color:var(--color-green-500)}.bg-indigo-200{background-color:var(--color-indigo-200)}.bg-indigo-400\/20{background-color:#7d87ff33}@supports (color:color-mix(in lab, red, red)){.bg-indigo-400\/20{background-color:color-mix(in oklab, var(--color-indigo-400) 20%, transparent)}}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-lime-200{background-color:var(--color-lime-200)}.bg-lime-400\/25{background-color:#9de50040}@supports (color:color-mix(in lab, red, red)){.bg-lime-400\/25{background-color:color-mix(in oklab, var(--color-lime-400) 25%, transparent)}}.bg-lime-500{background-color:var(--color-lime-500)}.bg-neutral-50{background-color:var(--color-neutral-50)}.bg-neutral-100{background-color:var(--color-neutral-100)}.bg-neutral-600{background-color:var(--color-neutral-600)}.bg-neutral-900{background-color:var(--color-neutral-900)}.bg-orange-200{background-color:var(--color-orange-200)}.bg-orange-400\/20{background-color:#ff8b1a33}@supports (color:color-mix(in lab, red, red)){.bg-orange-400\/20{background-color:color-mix(in oklab, var(--color-orange-400) 20%, transparent)}}.bg-orange-500{background-color:var(--color-orange-500)}.bg-orange-500\/10{background-color:#fe6e001a}@supports (color:color-mix(in lab, red, red)){.bg-orange-500\/10{background-color:color-mix(in oklab, var(--color-orange-500) 10%, transparent)}}.bg-pink-200{background-color:var(--color-pink-200)}.bg-pink-400\/20{background-color:#fb64b633}@supports (color:color-mix(in lab, red, red)){.bg-pink-400\/20{background-color:color-mix(in oklab, var(--color-pink-400) 20%, transparent)}}.bg-pink-500{background-color:var(--color-pink-500)}.bg-purple-200{background-color:var(--color-purple-200)}.bg-purple-400\/20{background-color:#c07eff33}@supports (color:color-mix(in lab, red, red)){.bg-purple-400\/20{background-color:color-mix(in oklab, var(--color-purple-400) 20%, transparent)}}.bg-purple-500{background-color:var(--color-purple-500)}.bg-red-200{background-color:var(--color-red-200)}.bg-red-400\/20{background-color:#ff656833}@supports (color:color-mix(in lab, red, red)){.bg-red-400\/20{background-color:color-mix(in oklab, var(--color-red-400) 20%, transparent)}}.bg-red-500{background-color:var(--color-red-500)}.bg-red-500\/10{background-color:#fb2c361a}@supports (color:color-mix(in lab, red, red)){.bg-red-500\/10{background-color:color-mix(in oklab, var(--color-red-500) 10%, transparent)}}.bg-red-600{background-color:var(--color-red-600)}.bg-rose-200{background-color:var(--color-rose-200)}.bg-rose-200\!{background-color:var(--color-rose-200)!important}.bg-rose-400\/20{background-color:#ff667f33}@supports (color:color-mix(in lab, red, red)){.bg-rose-400\/20{background-color:color-mix(in oklab, var(--color-rose-400) 20%, transparent)}}.bg-rose-500{background-color:var(--color-rose-500)}.bg-rose-600{background-color:var(--color-rose-600)}.bg-sky-200{background-color:var(--color-sky-200)}.bg-sky-400\/20{background-color:#00bcfe33}@supports (color:color-mix(in lab, red, red)){.bg-sky-400\/20{background-color:color-mix(in oklab, var(--color-sky-400) 20%, transparent)}}.bg-sky-500{background-color:var(--color-sky-500)}.bg-sky-500\/10{background-color:#00a5ef1a}@supports (color:color-mix(in lab, red, red)){.bg-sky-500\/10{background-color:color-mix(in oklab, var(--color-sky-500) 10%, transparent)}}.bg-stone-100{background-color:var(--color-stone-100)}.bg-stone-200{background-color:var(--color-stone-200)}.bg-teal-200{background-color:var(--color-teal-200)}.bg-teal-400\/20{background-color:#00d3bd33}@supports (color:color-mix(in lab, red, red)){.bg-teal-400\/20{background-color:color-mix(in oklab, var(--color-teal-400) 20%, transparent)}}.bg-teal-500{background-color:var(--color-teal-500)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-violet-200{background-color:var(--color-violet-200)}.bg-violet-400\/20{background-color:#a685ff33}@supports (color:color-mix(in lab, red, red)){.bg-violet-400\/20{background-color:color-mix(in oklab, var(--color-violet-400) 20%, transparent)}}.bg-violet-500{background-color:var(--color-violet-500)}.bg-white{background-color:var(--color-white)}.bg-white\/5{background-color:#ffffff0d}@supports (color:color-mix(in lab, red, red)){.bg-white\/5{background-color:color-mix(in oklab, var(--color-white) 5%, transparent)}}.bg-white\/15{background-color:#ffffff26}@supports (color:color-mix(in lab, red, red)){.bg-white\/15{background-color:color-mix(in oklab, var(--color-white) 15%, transparent)}}.bg-white\/50{background-color:#ffffff80}@supports (color:color-mix(in lab, red, red)){.bg-white\/50{background-color:color-mix(in oklab, var(--color-white) 50%, transparent)}}.bg-white\/\[2\%\]{background-color:#ffffff05}@supports (color:color-mix(in lab, red, red)){.bg-white\/\[2\%\]{background-color:color-mix(in oklab, var(--color-white) 2%, transparent)}}.bg-yellow-200{background-color:var(--color-yellow-200)}.bg-yellow-400\/25{background-color:#fac80040}@supports (color:color-mix(in lab, red, red)){.bg-yellow-400\/25{background-color:color-mix(in oklab, var(--color-yellow-400) 25%, transparent)}}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-zinc-50{background-color:var(--color-zinc-50)}.bg-zinc-100{background-color:var(--color-zinc-100)}.bg-zinc-200{background-color:var(--color-zinc-200)}.bg-zinc-400{background-color:var(--color-zinc-400)}.bg-zinc-400\/15{background-color:#a3a3a326}@supports (color:color-mix(in lab, red, red)){.bg-zinc-400\/15{background-color:color-mix(in oklab, var(--color-zinc-400) 15%, transparent)}}.bg-zinc-500{background-color:var(--color-zinc-500)}.bg-zinc-600{background-color:var(--color-zinc-600)}.bg-zinc-800{background-color:var(--color-zinc-800)}.bg-zinc-800\/5{background-color:#2626260d}@supports (color:color-mix(in lab, red, red)){.bg-zinc-800\/5{background-color:color-mix(in oklab, var(--color-zinc-800) 5%, transparent)}}.bg-zinc-800\/6{background-color:#2626260f}@supports (color:color-mix(in lab, red, red)){.bg-zinc-800\/6{background-color:color-mix(in oklab, var(--color-zinc-800) 6%, transparent)}}.bg-zinc-800\/15{background-color:#26262626}@supports (color:color-mix(in lab, red, red)){.bg-zinc-800\/15{background-color:color-mix(in oklab, var(--color-zinc-800) 15%, transparent)}}.bg-zinc-900{background-color:var(--color-zinc-900)}.bg-zinc-950{background-color:var(--color-zinc-950)}.bg-zinc-950\/60{background-color:#0a0a0a99}@supports (color:color-mix(in lab, red, red)){.bg-zinc-950\/60{background-color:color-mix(in oklab, var(--color-zinc-950) 60%, transparent)}}.bg-zinc-950\/70{background-color:#0a0a0ab3}@supports (color:color-mix(in lab, red, red)){.bg-zinc-950\/70{background-color:color-mix(in oklab, var(--color-zinc-950) 70%, transparent)}}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-gray-700\/50{--tw-gradient-from:#36415380}@supports (color:color-mix(in lab, red, red)){.from-gray-700\/50{--tw-gradient-from:color-mix(in oklab, var(--color-gray-700) 50%, transparent)}}.from-gray-700\/50{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-slate-950{--tw-gradient-from:var(--color-slate-950);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.via-blue-950{--tw-gradient-via:var(--color-blue-950);--tw-gradient-via-stops:var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.via-transparent{--tw-gradient-via:transparent;--tw-gradient-via-stops:var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-slate-900{--tw-gradient-to:var(--color-slate-900);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.box-decoration-clone{-webkit-box-decoration-break:clone;box-decoration-break:clone}.box-decoration-slice{-webkit-box-decoration-break:slice;box-decoration-break:slice}.decoration-clone{-webkit-box-decoration-break:clone;box-decoration-break:clone}.decoration-slice{-webkit-box-decoration-break:slice;box-decoration-break:slice}.mask-repeat{-webkit-mask-repeat:repeat;mask-repeat:repeat}.fill-current{fill:currentColor}.stroke-gray-900\/20{stroke:#10182833}@supports (color:color-mix(in lab, red, red)){.stroke-gray-900\/20{stroke:color-mix(in oklab, var(--color-gray-900) 20%, transparent)}}.object-cover{object-fit:cover}.p-0{padding:0}.p-0\.5{padding:calc(var(--spacing) * .5)}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-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-\[\.3125rem\]{padding:.3125rem}.p-\[1px\]{padding:1px}.px-0\!{padding-inline:0!important}.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\!{padding-inline:calc(var(--spacing) * 2)!important}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.5\!{padding-inline:calc(var(--spacing) * 2.5)!important}.px-3{padding-inline:calc(var(--spacing) * 3)}.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)}.px-\[\.3125rem\]{padding-inline:.3125rem}.px-\[3px\]{padding-inline:3px}.px-\[6px\]{padding-inline:6px}.py-0{padding-block:0}.py-0\!{padding-block:0!important}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-8{padding-block:calc(var(--spacing) * 8)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-\[2px\]{padding-block:2px}.py-\[3px\]{padding-block:3px}.ps-1{padding-inline-start:var(--spacing)}.ps-2{padding-inline-start:calc(var(--spacing) * 2)}.ps-2\.5{padding-inline-start:calc(var(--spacing) * 2.5)}.ps-3{padding-inline-start:calc(var(--spacing) * 3)}.ps-3\.5{padding-inline-start:calc(var(--spacing) * 3.5)}.ps-4{padding-inline-start:calc(var(--spacing) * 4)}.ps-7{padding-inline-start:calc(var(--spacing) * 7)}.ps-10{padding-inline-start:calc(var(--spacing) * 10)}.pe-0{padding-inline-end:0}.pe-2{padding-inline-end:calc(var(--spacing) * 2)}.pe-2\.5{padding-inline-end:calc(var(--spacing) * 2.5)}.pe-3{padding-inline-end:calc(var(--spacing) * 3)}.pe-3\.5{padding-inline-end:calc(var(--spacing) * 3.5)}.pe-4{padding-inline-end:calc(var(--spacing) * 4)}.pe-10{padding-inline-end:calc(var(--spacing) * 10)}.pe-16{padding-inline-end:calc(var(--spacing) * 16)}.pe-23{padding-inline-end:calc(var(--spacing) * 23)}.pe-30{padding-inline-end:calc(var(--spacing) * 30)}.pe-37{padding-inline-end:calc(var(--spacing) * 37)}.pe-44{padding-inline-end:calc(var(--spacing) * 44)}.pe-51{padding-inline-end:calc(var(--spacing) * 51)}.pt-0{padding-top:0}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-8{padding-top:calc(var(--spacing) * 8)}.pt-14{padding-top:calc(var(--spacing) * 14)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pb-0{padding-bottom:0}.pb-1{padding-bottom:var(--spacing)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-12{padding-bottom:calc(var(--spacing) * 12)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-4{padding-left:calc(var(--spacing) * 4)}.\[text-align\:inherit\]{text-align:inherit}.text-center{text-align:center}.text-end{text-align:end}.text-justify{text-align:justify}.text-left{text-align:left}.text-right{text-align:right}.text-start{text-align:start}.\[text-indent\:inherit\]{text-indent:inherit}.align-top{vertical-align:top}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-xs\/none{font-size:var(--text-xs);line-height:1}.text-\[\.625rem\]{font-size:.625rem}.text-\[0\.65rem\]{font-size:.65rem}.text-\[11px\]{font-size:11px}.text-\[13px\]{font-size:13px}.leading-3{--tw-leading:calc(var(--spacing) * 3);line-height:calc(var(--spacing) * 3)}.leading-4{--tw-leading:calc(var(--spacing) * 4);line-height:calc(var(--spacing) * 4)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-7{--tw-leading:calc(var(--spacing) * 7);line-height:calc(var(--spacing) * 7)}.leading-\[1\.125rem\]{--tw-leading:1.125rem;line-height:1.125rem}.leading-\[1\.375rem\]{--tw-leading:1.375rem;line-height:1.375rem}.leading-\[20px\]{--tw-leading:20px;line-height:20px}.leading-none{--tw-leading:1;line-height:1}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-black{--tw-font-weight:var(--font-weight-black);font-weight:var(--font-weight-black)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-extrabold{--tw-font-weight:var(--font-weight-extrabold);font-weight:var(--font-weight-extrabold)}.font-light{--tw-font-weight:var(--font-weight-light);font-weight:var(--font-weight-light)}.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-\[0\.18em\]{--tw-tracking:.18em;letter-spacing:.18em}.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-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.text-wrap{text-wrap:wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.overflow-ellipsis,.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.\!text-green-600{color:var(--color-green-600)!important}.text-\[\#1B1B18\],.text-\[\#1b1b18\]{color:#1b1b18}.text-\[\#706f6c\]{color:#706f6c}.text-\[\#F3BEC7\]{color:#f3bec7}.text-\[\#F8B803\]{color:#f8b803}.text-\[\#F53003\],.text-\[\#f53003\]{color:#f53003}.text-\[var\(--callout-icon\)\]{color:var(--callout-icon)}.text-\[var\(--color-accent-content\)\]{color:var(--color-accent-content)}.text-\[var\(--color-accent-foreground\)\],.text-accent-foreground{color:var(--color-accent-foreground)}.text-amber-300{color:var(--color-amber-300)}.text-amber-500{color:var(--color-amber-500)}.text-amber-600{color:var(--color-amber-600)}.text-amber-700{color:var(--color-amber-700)}.text-amber-800{color:var(--color-amber-800)}.text-amber-900{color:var(--color-amber-900)}.text-black{color:var(--color-black)}.text-blue-200{color:var(--color-blue-200)}.text-blue-300{color:var(--color-blue-300)}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-blue-800{color:var(--color-blue-800)}.text-blue-900{color:var(--color-blue-900)}.text-cyan-500{color:var(--color-cyan-500)}.text-cyan-600{color:var(--color-cyan-600)}.text-cyan-800{color:var(--color-cyan-800)}.text-emerald-300{color:var(--color-emerald-300)}.text-emerald-500{color:var(--color-emerald-500)}.text-emerald-600{color:var(--color-emerald-600)}.text-emerald-800{color:var(--color-emerald-800)}.text-emerald-900{color:var(--color-emerald-900)}.text-fuchsia-600{color:var(--color-fuchsia-600)}.text-fuchsia-700{color:var(--color-fuchsia-700)}.text-fuchsia-800{color:var(--color-fuchsia-800)}.text-gray-200{color:var(--color-gray-200)}.text-gray-300{color:var(--color-gray-300)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-green-500{color:var(--color-green-500)}.text-green-600{color:var(--color-green-600)}.text-green-800{color:var(--color-green-800)}.text-indigo-600{color:var(--color-indigo-600)}.text-indigo-700{color:var(--color-indigo-700)}.text-indigo-800{color:var(--color-indigo-800)}.text-lime-600{color:var(--color-lime-600)}.text-lime-800{color:var(--color-lime-800)}.text-neutral-100{color:var(--color-neutral-100)}.text-neutral-400{color:var(--color-neutral-400)}.text-neutral-500{color:var(--color-neutral-500)}.text-neutral-500\!{color:var(--color-neutral-500)!important}.text-neutral-600{color:var(--color-neutral-600)}.text-neutral-800{color:var(--color-neutral-800)}.text-neutral-900{color:var(--color-neutral-900)}.text-neutral-950{color:var(--color-neutral-950)}.text-orange-300{color:var(--color-orange-300)}.text-orange-600{color:var(--color-orange-600)}.text-orange-700{color:var(--color-orange-700)}.text-orange-800{color:var(--color-orange-800)}.text-pink-600{color:var(--color-pink-600)}.text-pink-700{color:var(--color-pink-700)}.text-pink-800{color:var(--color-pink-800)}.text-purple-600{color:var(--color-purple-600)}.text-purple-700{color:var(--color-purple-700)}.text-purple-800{color:var(--color-purple-800)}.text-red-300{color:var(--color-red-300)}.text-red-400{color:var(--color-red-400)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-red-700{color:var(--color-red-700)}.text-red-800{color:var(--color-red-800)}.text-rose-500{color:var(--color-rose-500)}.text-rose-600{color:var(--color-rose-600)}.text-rose-700{color:var(--color-rose-700)}.text-rose-800{color:var(--color-rose-800)}.text-rose-900{color:var(--color-rose-900)}.text-sky-300{color:var(--color-sky-300)}.text-sky-600{color:var(--color-sky-600)}.text-sky-800{color:var(--color-sky-800)}.text-stone-600{color:var(--color-stone-600)}.text-stone-800{color:var(--color-stone-800)}.text-stone-900{color:var(--color-stone-900)}.text-teal-600{color:var(--color-teal-600)}.text-teal-800{color:var(--color-teal-800)}.text-violet-600{color:var(--color-violet-600)}.text-violet-700{color:var(--color-violet-700)}.text-violet-800{color:var(--color-violet-800)}.text-white{color:var(--color-white)}.text-yellow-600{color:var(--color-yellow-600)}.text-yellow-800{color:var(--color-yellow-800)}.text-zinc-100{color:var(--color-zinc-100)}.text-zinc-200{color:var(--color-zinc-200)}.text-zinc-300{color:var(--color-zinc-300)}.text-zinc-400{color:var(--color-zinc-400)}.text-zinc-400\!{color:var(--color-zinc-400)!important}.text-zinc-400\/75{color:#a3a3a3bf}@supports (color:color-mix(in lab, red, red)){.text-zinc-400\/75{color:color-mix(in oklab, var(--color-zinc-400) 75%, transparent)}}.text-zinc-500{color:var(--color-zinc-500)}.text-zinc-600{color:var(--color-zinc-600)}.text-zinc-700{color:var(--color-zinc-700)}.text-zinc-800{color:var(--color-zinc-800)}.text-zinc-800\/70{color:#262626b3}@supports (color:color-mix(in lab, red, red)){.text-zinc-800\/70{color:color-mix(in oklab, var(--color-zinc-800) 70%, transparent)}}.\[text-transform\:inherit\]{text-transform:inherit}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.italic{font-style:italic}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.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,)}.line-through{text-decoration-line:line-through}.no-underline{text-decoration-line:none}.overline{text-decoration-line:overline}.underline{text-decoration-line:underline}.decoration-\[color-mix\(in_oklab\,var\(--color-accent-content\)\,transparent_80\%\)\]{text-decoration-color:#26262633}@supports (color:color-mix(in lab, red, red)){.decoration-\[color-mix\(in_oklab\,var\(--color-accent-content\)\,transparent_80\%\)\]{-webkit-text-decoration-color:color-mix(in oklab,var(--color-accent-content),transparent 80%);-webkit-text-decoration-color:color-mix(in oklab,var(--color-accent-content),transparent 80%);-webkit-text-decoration-color:color-mix(in oklab,var(--color-accent-content),transparent 80%);text-decoration-color:color-mix(in oklab,var(--color-accent-content),transparent 80%)}}.decoration-neutral-400{-webkit-text-decoration-color:var(--color-neutral-400);-webkit-text-decoration-color:var(--color-neutral-400);-webkit-text-decoration-color:var(--color-neutral-400);text-decoration-color:var(--color-neutral-400)}.decoration-zinc-800\/20{text-decoration-color:#26262633}@supports (color:color-mix(in lab, red, red)){.decoration-zinc-800\/20{-webkit-text-decoration-color:color-mix(in oklab, var(--color-zinc-800) 20%, transparent);-webkit-text-decoration-color:color-mix(in oklab, var(--color-zinc-800) 20%, transparent);-webkit-text-decoration-color:color-mix(in oklab, var(--color-zinc-800) 20%, transparent);text-decoration-color:color-mix(in oklab, var(--color-zinc-800) 20%, transparent)}}.underline-offset-4{text-underline-offset:4px}.underline-offset-\[6px\]{text-underline-offset:6px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.placeholder-zinc-400::placeholder{color:var(--color-zinc-400)}.placeholder-zinc-500::placeholder{color:var(--color-zinc-500)}.scheme-light-dark{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){.scheme-light-dark{--lightningcss-light: ;--lightningcss-dark:initial}}.opacity-0{opacity:0}.opacity-25{opacity:.25}.opacity-50{opacity:.5}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.opacity-90{opacity:.9}.opacity-100{opacity:1}.mix-blend-color{mix-blend-mode:color}.mix-blend-darken{mix-blend-mode:darken}.mix-blend-hard-light{mix-blend-mode:hard-light}.mix-blend-multiply{mix-blend-mode:multiply}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0px_0px_1px_0px_rgba\(0\,0\,0\,0\.03\)\,0px_1px_2px_0px_rgba\(0\,0\,0\,0\.06\)\]{--tw-shadow:0px 0px 1px 0px var(--tw-shadow-color,#00000008), 0px 1px 2px 0px var(--tw-shadow-color,#0000000f);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0px_0px_0px_1px_rgba\(26\,26\,0\,0\.16\)\]{--tw-shadow:inset 0px 0px 0px 1px var(--tw-shadow-color,#1a1a0029);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0px_1px_--theme\(--color-white\/\.2\)\]{--tw-shadow:inset 0px 1px var(--tw-shadow-color,#fff3)}@supports (color:color-mix(in lab, red, red)){.shadow-\[inset_0px_1px_--theme\(--color-white\/\.2\)\]{--tw-shadow:inset 0px 1px var(--tw-shadow-color,color-mix(in oklab, var(--color-white) 20%, transparent))}}.shadow-\[inset_0px_1px_--theme\(--color-white\/\.2\)\]{box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0px_1px_var\(--color-red-500\)\,inset_0px_2px_--theme\(--color-white\/\.15\)\]{--tw-shadow:inset 0px 1px var(--tw-shadow-color,var(--color-red-500)), inset 0px 2px var(--tw-shadow-color,#ffffff26)}@supports (color:color-mix(in lab, red, red)){.shadow-\[inset_0px_1px_var\(--color-red-500\)\,inset_0px_2px_--theme\(--color-white\/\.15\)\]{--tw-shadow:inset 0px 1px var(--tw-shadow-color,var(--color-red-500)), inset 0px 2px var(--tw-shadow-color,color-mix(in oklab, var(--color-white) 15%, transparent))}}.shadow-\[inset_0px_1px_var\(--color-red-500\)\,inset_0px_2px_--theme\(--color-white\/\.15\)\]{box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring,.ring-1{--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-\[2px\]{--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)}.shadow-gray-500\/20{--tw-shadow-color:#6a728233}@supports (color:color-mix(in lab, red, red)){.shadow-gray-500\/20{--tw-shadow-color:color-mix(in oklab, color-mix(in oklab, var(--color-gray-500) 20%, transparent) var(--tw-shadow-alpha), transparent)}}.ring-black\/5{--tw-ring-color:#0000000d}@supports (color:color-mix(in lab, red, red)){.ring-black\/5{--tw-ring-color:color-mix(in oklab, var(--color-black) 5%, transparent)}}.ring-blue-300{--tw-ring-color:var(--color-blue-300)}.ring-gray-300{--tw-ring-color:var(--color-gray-300)}.ring-white{--tw-ring-color:var(--color-white)}.ring-white\/20{--tw-ring-color:#fff3}@supports (color:color-mix(in lab, red, red)){.ring-white\/20{--tw-ring-color:color-mix(in oklab, var(--color-white) 20%, transparent)}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.outline-offset-2{outline-offset:2px}.blur{--tw-blur:blur(8px);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,)}.grayscale{--tw-grayscale:grayscale(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,)}.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,)}.sepia{--tw-sepia:sepia(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,)}.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,)!important}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.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-\[width\]{transition-property:width;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-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.delay-300{transition-delay:.3s}.delay-400{transition-delay:.4s}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-750{--tw-duration:.75s;transition-duration:.75s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.select-text{-webkit-user-select:text;user-select:text}.\[--avatar-radius\:calc\(infinity\*1px\)\]{--avatar-radius:calc(infinity * 1px)}.\[--avatar-radius\:var\(--radius-lg\)\]{--avatar-radius:var(--radius-lg)}.\[--avatar-radius\:var\(--radius-md\)\]{--avatar-radius:var(--radius-md)}.\[--avatar-radius\:var\(--radius-sm\)\]{--avatar-radius:var(--radius-sm)}.\[--avatar-radius\:var\(--radius-xl\)\]{--avatar-radius:var(--radius-xl)}.\[--callout-background\:var\(--color-amber-50\)\]{--callout-background:var(--color-amber-50)}.\[--callout-background\:var\(--color-blue-50\)\]{--callout-background:var(--color-blue-50)}.\[--callout-background\:var\(--color-cyan-50\)\]{--callout-background:var(--color-cyan-50)}.\[--callout-background\:var\(--color-emerald-50\)\]{--callout-background:var(--color-emerald-50)}.\[--callout-background\:var\(--color-fuchsia-50\)\]{--callout-background:var(--color-fuchsia-50)}.\[--callout-background\:var\(--color-green-50\)\]{--callout-background:var(--color-green-50)}.\[--callout-background\:var\(--color-indigo-50\)\]{--callout-background:var(--color-indigo-50)}.\[--callout-background\:var\(--color-lime-50\)\]{--callout-background:var(--color-lime-50)}.\[--callout-background\:var\(--color-orange-50\)\]{--callout-background:var(--color-orange-50)}.\[--callout-background\:var\(--color-pink-50\)\]{--callout-background:var(--color-pink-50)}.\[--callout-background\:var\(--color-purple-50\)\]{--callout-background:var(--color-purple-50)}.\[--callout-background\:var\(--color-red-50\)\]{--callout-background:var(--color-red-50)}.\[--callout-background\:var\(--color-rose-50\)\]{--callout-background:var(--color-rose-50)}.\[--callout-background\:var\(--color-sky-50\)\]{--callout-background:var(--color-sky-50)}.\[--callout-background\:var\(--color-teal-50\)\]{--callout-background:var(--color-teal-50)}.\[--callout-background\:var\(--color-violet-50\)\]{--callout-background:var(--color-violet-50)}.\[--callout-background\:var\(--color-white\)\]{--callout-background:var(--color-white)}.\[--callout-background\:var\(--color-yellow-50\)\]{--callout-background:var(--color-yellow-50)}.\[--callout-background\:var\(--color-zinc-50\)\]{--callout-background:var(--color-zinc-50)}.\[--callout-border\:var\(--color-amber-400\)\]{--callout-border:var(--color-amber-400)}.\[--callout-border\:var\(--color-blue-200\)\]{--callout-border:var(--color-blue-200)}.\[--callout-border\:var\(--color-cyan-200\)\]{--callout-border:var(--color-cyan-200)}.\[--callout-border\:var\(--color-emerald-200\)\]{--callout-border:var(--color-emerald-200)}.\[--callout-border\:var\(--color-fuchsia-200\)\]{--callout-border:var(--color-fuchsia-200)}.\[--callout-border\:var\(--color-green-300\)\]{--callout-border:var(--color-green-300)}.\[--callout-border\:var\(--color-indigo-200\)\]{--callout-border:var(--color-indigo-200)}.\[--callout-border\:var\(--color-lime-400\)\]{--callout-border:var(--color-lime-400)}.\[--callout-border\:var\(--color-orange-200\)\]{--callout-border:var(--color-orange-200)}.\[--callout-border\:var\(--color-pink-200\)\]{--callout-border:var(--color-pink-200)}.\[--callout-border\:var\(--color-purple-300\)\]{--callout-border:var(--color-purple-300)}.\[--callout-border\:var\(--color-red-200\)\]{--callout-border:var(--color-red-200)}.\[--callout-border\:var\(--color-rose-200\)\]{--callout-border:var(--color-rose-200)}.\[--callout-border\:var\(--color-sky-200\)\]{--callout-border:var(--color-sky-200)}.\[--callout-border\:var\(--color-teal-200\)\]{--callout-border:var(--color-teal-200)}.\[--callout-border\:var\(--color-violet-200\)\]{--callout-border:var(--color-violet-200)}.\[--callout-border\:var\(--color-yellow-400\)\]{--callout-border:var(--color-yellow-400)}.\[--callout-border\:var\(--color-zinc-200\)\]{--callout-border:var(--color-zinc-200)}.\[--callout-heading\:var\(--color-amber-600\)\]{--callout-heading:var(--color-amber-600)}.\[--callout-heading\:var\(--color-blue-600\)\]{--callout-heading:var(--color-blue-600)}.\[--callout-heading\:var\(--color-cyan-600\)\]{--callout-heading:var(--color-cyan-600)}.\[--callout-heading\:var\(--color-emerald-600\)\]{--callout-heading:var(--color-emerald-600)}.\[--callout-heading\:var\(--color-fuchsia-600\)\]{--callout-heading:var(--color-fuchsia-600)}.\[--callout-heading\:var\(--color-green-600\)\]{--callout-heading:var(--color-green-600)}.\[--callout-heading\:var\(--color-indigo-600\)\]{--callout-heading:var(--color-indigo-600)}.\[--callout-heading\:var\(--color-lime-700\)\]{--callout-heading:var(--color-lime-700)}.\[--callout-heading\:var\(--color-orange-600\)\]{--callout-heading:var(--color-orange-600)}.\[--callout-heading\:var\(--color-pink-600\)\]{--callout-heading:var(--color-pink-600)}.\[--callout-heading\:var\(--color-purple-800\)\]{--callout-heading:var(--color-purple-800)}.\[--callout-heading\:var\(--color-red-700\)\]{--callout-heading:var(--color-red-700)}.\[--callout-heading\:var\(--color-rose-600\)\]{--callout-heading:var(--color-rose-600)}.\[--callout-heading\:var\(--color-sky-600\)\]{--callout-heading:var(--color-sky-600)}.\[--callout-heading\:var\(--color-teal-600\)\]{--callout-heading:var(--color-teal-600)}.\[--callout-heading\:var\(--color-violet-600\)\]{--callout-heading:var(--color-violet-600)}.\[--callout-heading\:var\(--color-yellow-600\)\]{--callout-heading:var(--color-yellow-600)}.\[--callout-heading\:var\(--color-zinc-800\)\]{--callout-heading:var(--color-zinc-800)}.\[--callout-icon\:var\(--color-amber-500\)\]{--callout-icon:var(--color-amber-500)}.\[--callout-icon\:var\(--color-blue-500\)\]{--callout-icon:var(--color-blue-500)}.\[--callout-icon\:var\(--color-cyan-500\)\]{--callout-icon:var(--color-cyan-500)}.\[--callout-icon\:var\(--color-emerald-500\)\]{--callout-icon:var(--color-emerald-500)}.\[--callout-icon\:var\(--color-fuchsia-500\)\]{--callout-icon:var(--color-fuchsia-500)}.\[--callout-icon\:var\(--color-green-500\)\]{--callout-icon:var(--color-green-500)}.\[--callout-icon\:var\(--color-indigo-500\)\]{--callout-icon:var(--color-indigo-500)}.\[--callout-icon\:var\(--color-lime-500\)\]{--callout-icon:var(--color-lime-500)}.\[--callout-icon\:var\(--color-orange-500\)\]{--callout-icon:var(--color-orange-500)}.\[--callout-icon\:var\(--color-pink-500\)\]{--callout-icon:var(--color-pink-500)}.\[--callout-icon\:var\(--color-purple-500\)\]{--callout-icon:var(--color-purple-500)}.\[--callout-icon\:var\(--color-red-400\)\]{--callout-icon:var(--color-red-400)}.\[--callout-icon\:var\(--color-rose-500\)\]{--callout-icon:var(--color-rose-500)}.\[--callout-icon\:var\(--color-sky-500\)\]{--callout-icon:var(--color-sky-500)}.\[--callout-icon\:var\(--color-teal-500\)\]{--callout-icon:var(--color-teal-500)}.\[--callout-icon\:var\(--color-violet-500\)\]{--callout-icon:var(--color-violet-500)}.\[--callout-icon\:var\(--color-yellow-500\)\]{--callout-icon:var(--color-yellow-500)}.\[--callout-icon\:var\(--color-zinc-400\)\]{--callout-icon:var(--color-zinc-400)}.\[--callout-text\:var\(--color-amber-600\)\]{--callout-text:var(--color-amber-600)}.\[--callout-text\:var\(--color-blue-600\)\]{--callout-text:var(--color-blue-600)}.\[--callout-text\:var\(--color-cyan-600\)\]{--callout-text:var(--color-cyan-600)}.\[--callout-text\:var\(--color-emerald-600\)\]{--callout-text:var(--color-emerald-600)}.\[--callout-text\:var\(--color-fuchsia-600\)\]{--callout-text:var(--color-fuchsia-600)}.\[--callout-text\:var\(--color-green-600\)\]{--callout-text:var(--color-green-600)}.\[--callout-text\:var\(--color-indigo-600\)\]{--callout-text:var(--color-indigo-600)}.\[--callout-text\:var\(--color-lime-600\)\]{--callout-text:var(--color-lime-600)}.\[--callout-text\:var\(--color-orange-600\)\]{--callout-text:var(--color-orange-600)}.\[--callout-text\:var\(--color-pink-600\)\]{--callout-text:var(--color-pink-600)}.\[--callout-text\:var\(--color-purple-700\)\]{--callout-text:var(--color-purple-700)}.\[--callout-text\:var\(--color-red-700\)\]{--callout-text:var(--color-red-700)}.\[--callout-text\:var\(--color-rose-600\)\]{--callout-text:var(--color-rose-600)}.\[--callout-text\:var\(--color-sky-600\)\]{--callout-text:var(--color-sky-600)}.\[--callout-text\:var\(--color-teal-600\)\]{--callout-text:var(--color-teal-600)}.\[--callout-text\:var\(--color-violet-600\)\]{--callout-text:var(--color-violet-600)}.\[--callout-text\:var\(--color-yellow-700\)\]{--callout-text:var(--color-yellow-700)}.\[--callout-text\:var\(--color-zinc-500\)\]{--callout-text:var(--color-zinc-500)}.\[--color-accent-content\:var\(--color-amber-600\)\]{--color-accent-content:var(--color-amber-600)}.\[--color-accent-content\:var\(--color-blue-600\)\]{--color-accent-content:var(--color-blue-600)}.\[--color-accent-content\:var\(--color-cyan-600\)\]{--color-accent-content:var(--color-cyan-600)}.\[--color-accent-content\:var\(--color-emerald-600\)\]{--color-accent-content:var(--color-emerald-600)}.\[--color-accent-content\:var\(--color-fuchsia-600\)\]{--color-accent-content:var(--color-fuchsia-600)}.\[--color-accent-content\:var\(--color-gray-800\)\]{--color-accent-content:var(--color-gray-800)}.\[--color-accent-content\:var\(--color-green-600\)\]{--color-accent-content:var(--color-green-600)}.\[--color-accent-content\:var\(--color-indigo-600\)\]{--color-accent-content:var(--color-indigo-600)}.\[--color-accent-content\:var\(--color-lime-600\)\]{--color-accent-content:var(--color-lime-600)}.\[--color-accent-content\:var\(--color-mauve-800\)\]{--color-accent-content:var(--color-mauve-800)}.\[--color-accent-content\:var\(--color-mist-800\)\]{--color-accent-content:var(--color-mist-800)}.\[--color-accent-content\:var\(--color-neutral-800\)\]{--color-accent-content:var(--color-neutral-800)}.\[--color-accent-content\:var\(--color-olive-800\)\]{--color-accent-content:var(--color-olive-800)}.\[--color-accent-content\:var\(--color-orange-600\)\]{--color-accent-content:var(--color-orange-600)}.\[--color-accent-content\:var\(--color-pink-600\)\]{--color-accent-content:var(--color-pink-600)}.\[--color-accent-content\:var\(--color-purple-600\)\]{--color-accent-content:var(--color-purple-600)}.\[--color-accent-content\:var\(--color-red-600\)\]{--color-accent-content:var(--color-red-600)}.\[--color-accent-content\:var\(--color-rose-500\)\]{--color-accent-content:var(--color-rose-500)}.\[--color-accent-content\:var\(--color-sky-600\)\]{--color-accent-content:var(--color-sky-600)}.\[--color-accent-content\:var\(--color-slate-800\)\]{--color-accent-content:var(--color-slate-800)}.\[--color-accent-content\:var\(--color-stone-800\)\]{--color-accent-content:var(--color-stone-800)}.\[--color-accent-content\:var\(--color-taupe-800\)\]{--color-accent-content:var(--color-taupe-800)}.\[--color-accent-content\:var\(--color-teal-600\)\]{--color-accent-content:var(--color-teal-600)}.\[--color-accent-content\:var\(--color-violet-600\)\]{--color-accent-content:var(--color-violet-600)}.\[--color-accent-content\:var\(--color-yellow-600\)\]{--color-accent-content:var(--color-yellow-600)}.\[--color-accent-content\:var\(--color-zinc-800\)\]{--color-accent-content:var(--color-zinc-800)}.\[--color-accent-foreground\:var\(--color-amber-950\)\]{--color-accent-foreground:var(--color-amber-950)}.\[--color-accent-foreground\:var\(--color-lime-900\)\]{--color-accent-foreground:var(--color-lime-900)}.\[--color-accent-foreground\:var\(--color-white\)\]{--color-accent-foreground:var(--color-white)}.\[--color-accent-foreground\:var\(--color-yellow-950\)\]{--color-accent-foreground:var(--color-yellow-950)}.\[--color-accent\:var\(--color-amber-400\)\]{--color-accent:var(--color-amber-400)}.\[--color-accent\:var\(--color-blue-500\)\]{--color-accent:var(--color-blue-500)}.\[--color-accent\:var\(--color-cyan-600\)\]{--color-accent:var(--color-cyan-600)}.\[--color-accent\:var\(--color-emerald-600\)\]{--color-accent:var(--color-emerald-600)}.\[--color-accent\:var\(--color-fuchsia-600\)\]{--color-accent:var(--color-fuchsia-600)}.\[--color-accent\:var\(--color-gray-800\)\]{--color-accent:var(--color-gray-800)}.\[--color-accent\:var\(--color-green-600\)\]{--color-accent:var(--color-green-600)}.\[--color-accent\:var\(--color-indigo-500\)\]{--color-accent:var(--color-indigo-500)}.\[--color-accent\:var\(--color-lime-400\)\]{--color-accent:var(--color-lime-400)}.\[--color-accent\:var\(--color-mauve-800\)\]{--color-accent:var(--color-mauve-800)}.\[--color-accent\:var\(--color-mist-800\)\]{--color-accent:var(--color-mist-800)}.\[--color-accent\:var\(--color-neutral-800\)\]{--color-accent:var(--color-neutral-800)}.\[--color-accent\:var\(--color-olive-800\)\]{--color-accent:var(--color-olive-800)}.\[--color-accent\:var\(--color-orange-500\)\]{--color-accent:var(--color-orange-500)}.\[--color-accent\:var\(--color-pink-600\)\]{--color-accent:var(--color-pink-600)}.\[--color-accent\:var\(--color-purple-500\)\]{--color-accent:var(--color-purple-500)}.\[--color-accent\:var\(--color-red-500\)\]{--color-accent:var(--color-red-500)}.\[--color-accent\:var\(--color-rose-500\)\]{--color-accent:var(--color-rose-500)}.\[--color-accent\:var\(--color-sky-600\)\]{--color-accent:var(--color-sky-600)}.\[--color-accent\:var\(--color-slate-800\)\]{--color-accent:var(--color-slate-800)}.\[--color-accent\:var\(--color-stone-800\)\]{--color-accent:var(--color-stone-800)}.\[--color-accent\:var\(--color-taupe-800\)\]{--color-accent:var(--color-taupe-800)}.\[--color-accent\:var\(--color-teal-600\)\]{--color-accent:var(--color-teal-600)}.\[--color-accent\:var\(--color-violet-500\)\]{--color-accent:var(--color-violet-500)}.\[--color-accent\:var\(--color-yellow-400\)\]{--color-accent:var(--color-yellow-400)}.\[--color-accent\:var\(--color-zinc-800\)\]{--color-accent:var(--color-zinc-800)}.\[--flux-flyout-translate\:translateX\(-50px\)\]{--flux-flyout-translate:translateX(-50px)}.\[--flux-flyout-translate\:translateX\(50px\)\]{--flux-flyout-translate:translateX(50px)}.\[--flux-flyout-translate\:translateY\(50px\)\]{--flux-flyout-translate:translateY(50px)}.\[--flux-progress-color\:var\(--color-accent\)\]{--flux-progress-color:var(--color-accent)}.\[--flux-progress-color\:var\(--color-amber-600\)\]{--flux-progress-color:var(--color-amber-600)}.\[--flux-progress-color\:var\(--color-blue-600\)\]{--flux-progress-color:var(--color-blue-600)}.\[--flux-progress-color\:var\(--color-cyan-600\)\]{--flux-progress-color:var(--color-cyan-600)}.\[--flux-progress-color\:var\(--color-emerald-600\)\]{--flux-progress-color:var(--color-emerald-600)}.\[--flux-progress-color\:var\(--color-fuchsia-600\)\]{--flux-progress-color:var(--color-fuchsia-600)}.\[--flux-progress-color\:var\(--color-green-600\)\]{--flux-progress-color:var(--color-green-600)}.\[--flux-progress-color\:var\(--color-indigo-600\)\]{--flux-progress-color:var(--color-indigo-600)}.\[--flux-progress-color\:var\(--color-lime-600\)\]{--flux-progress-color:var(--color-lime-600)}.\[--flux-progress-color\:var\(--color-orange-600\)\]{--flux-progress-color:var(--color-orange-600)}.\[--flux-progress-color\:var\(--color-pink-600\)\]{--flux-progress-color:var(--color-pink-600)}.\[--flux-progress-color\:var\(--color-purple-600\)\]{--flux-progress-color:var(--color-purple-600)}.\[--flux-progress-color\:var\(--color-red-600\)\]{--flux-progress-color:var(--color-red-600)}.\[--flux-progress-color\:var\(--color-rose-600\)\]{--flux-progress-color:var(--color-rose-600)}.\[--flux-progress-color\:var\(--color-sky-600\)\]{--flux-progress-color:var(--color-sky-600)}.\[--flux-progress-color\:var\(--color-teal-600\)\]{--flux-progress-color:var(--color-teal-600)}.\[--flux-progress-color\:var\(--color-violet-600\)\]{--flux-progress-color:var(--color-violet-600)}.\[--flux-progress-color\:var\(--color-yellow-600\)\]{--flux-progress-color:var(--color-yellow-600)}.\[--haze-border\:color-mix\(in_oklab\,_var\(--color-accent-content\)\,_transparent_80\%\)\]{--haze-border:#26262633}@supports (color:color-mix(in lab, red, red)){.\[--haze-border\:color-mix\(in_oklab\,_var\(--color-accent-content\)\,_transparent_80\%\)\]{--haze-border:color-mix(in oklab, var(--color-accent-content), transparent 80%)}}.\[--haze-light\:color-mix\(in_oklab\,_var\(--color-accent\)\,_transparent_98\%\)\]{--haze-light:#26262605}@supports (color:color-mix(in lab, red, red)){.\[--haze-light\:color-mix\(in_oklab\,_var\(--color-accent\)\,_transparent_98\%\)\]{--haze-light:color-mix(in oklab, var(--color-accent), transparent 98%)}}.\[--haze\:color-mix\(in_oklab\,_var\(--color-accent-content\)\,_transparent_97\.5\%\)\]{--haze:#26262606}@supports (color:color-mix(in lab, red, red)){.\[--haze\:color-mix\(in_oklab\,_var\(--color-accent-content\)\,_transparent_97\.5\%\)\]{--haze:color-mix(in oklab, var(--color-accent-content), transparent 97.5%)}}.\[--hover-fill\:color-mix\(in_oklab\,_var\(--color-accent-content\)\,_transparent_90\%\)\]{--hover-fill:#2626261a}@supports (color:color-mix(in lab, red, red)){.\[--hover-fill\:color-mix\(in_oklab\,_var\(--color-accent-content\)\,_transparent_90\%\)\]{--hover-fill:color-mix(in oklab, var(--color-accent-content), transparent 90%)}}.\[--stroke-color\:\#1B1B18\]{--stroke-color:#1b1b18}.\[grid-area\:aside\]{grid-area:aside}.\[grid-area\:footer\]{grid-area:footer}.\[grid-area\:header\]{grid-area:header}.\[grid-area\:main\]{grid-area:main}.\[grid-area\:sidebar\]{grid-area:sidebar}.\[print-color-adjust\:exact\]{-webkit-print-color-adjust:exact;print-color-adjust:exact}.\[program\:php\]{program:php}.\[text-shadow\:inherit\]{text-shadow:inherit}.\[wire\:model\=\"\'\+i\+\'\"\]{wire:model="'+i+'"}.\[wire\:model\=\\\"\'\+expression\+\'\\\"\]{wire:model=\""+expression+"\"}.\[wire\:model\]{wire:model}.\[wire\:transition\]{wire:transition}.\[word-spacing\:inherit\]{word-spacing:inherit}:is(.\*\:transition-opacity>*){transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}:is(.\*\*\:ring-white *){--tw-ring-color:var(--color-white)}:is(.\*\:not-first\:-ml-2>*):not(:first-child){margin-left:calc(var(--spacing) * -2)}.not-in-data-flux-sidebar-collapsed-desktop\:hidden:not(:where([data-flux-sidebar-collapsed-desktop]) *){display:none}.not-in-\[tr\:first-child\]\:border-t:not(:where(:is(tr:first-child)) *){border-top-style:var(--tw-border-style);border-top-width:1px}.group-last\/breadcrumb\:hidden:is(:where(.group\/breadcrumb):last-child *){display:none}.not-has-\[nav\]\:hidden:not(:has(:is(nav))){display:none}.group-open\:rotate-90:is(:where(.group):is([open],:popover-open,:open) *){rotate:90deg}@media (hover:hover){.group-hover\:text-blue-500:is(:where(.group):hover *){color:var(--color-blue-500)}.group-hover\:text-zinc-800:is(:where(.group):hover *){color:var(--color-zinc-800)}.group-hover\/exception\:text-blue-500:is(:where(.group\/exception):hover *){color:var(--color-blue-500)}.group-hover\/sortable\:text-zinc-800:is(:where(.group\/sortable):hover *){color:var(--color-zinc-800)}.group-hover\/sortable\:opacity-100:is(:where(.group\/sortable):hover *){opacity:1}}.group-data-checked\:translate-x-\[0\.9375rem\]:is(:where(.group)[data-checked] *){--tw-translate-x:.9375rem;translate:var(--tw-translate-x) var(--tw-translate-y)}.group-data-checked\:bg-\(--color-accent-foreground\):is(:where(.group)[data-checked] *){background-color:var(--color-accent-foreground)}.group-data-checked\/menu-checkbox\:block:is(:where(.group\/menu-checkbox)[data-checked] *),.group-data-checked\/menu-radio\:block:is(:where(.group\/menu-radio)[data-checked] *),.group-data-open\/disclosure-button\:block:is(:where(.group\/disclosure-button)[data-open] *){display:block}.group-data-open\/disclosure-button\:hidden:is(:where(.group\/disclosure-button)[data-open] *){display:none}.group-\[\.status-down\]\:bg-red-600:is(:where(.group).status-down *){background-color:var(--color-red-600)}.marker\:hidden ::marker{display:none}.marker\:hidden::marker{display:none}.marker\:hidden ::-webkit-details-marker{display:none}.marker\:hidden::-webkit-details-marker{display:none}.selection\:bg-red-500 ::selection{background-color:var(--color-red-500)}.selection\:bg-red-500::selection{background-color:var(--color-red-500)}.selection\:text-white ::selection{color:var(--color-white)}.selection\:text-white::selection{color:var(--color-white)}.placeholder\:text-zinc-500::placeholder{color:var(--color-zinc-500)}.before\:absolute:before{content:var(--tw-content);position:absolute}.before\:inset-0:before{content:var(--tw-content);inset:0}.before\:start-\[0\.4rem\]:before{content:var(--tw-content);inset-inline-start:.4rem}.before\:top-0:before{content:var(--tw-content);top:0}.before\:top-1\/2:before{content:var(--tw-content);top:50%}.before\:bottom-0:before{content:var(--tw-content);bottom:0}.before\:bottom-1\/2:before{content:var(--tw-content);bottom:50%}.before\:left-\[0\.4rem\]:before{content:var(--tw-content);left:.4rem}.before\:z-10:before{content:var(--tw-content);z-index:10}.before\:-translate-x-full:before{content:var(--tw-content);--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.before\:animate-\[flux-shimmer_2s_infinite\]:before{content:var(--tw-content);animation:2s infinite flux-shimmer}.before\:border-l:before{content:var(--tw-content);border-left-style:var(--tw-border-style);border-left-width:1px}.before\:border-\[\#e3e3e0\]:before{content:var(--tw-content);border-color:#e3e3e0}.before\:bg-gradient-to-r:before{content:var(--tw-content);--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.before\:from-transparent:before{content:var(--tw-content);--tw-gradient-from:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.before\:via-\[var\(--flux-shimmer-color\)\]\/50:before{content:var(--tw-content);--tw-gradient-via:var(--flux-shimmer-color)}@supports (color:color-mix(in lab, red, red)){.before\:via-\[var\(--flux-shimmer-color\)\]\/50:before{--tw-gradient-via:color-mix(in oklab, var(--flux-shimmer-color) 50%, transparent)}}.before\:via-\[var\(--flux-shimmer-color\)\]\/50:before{--tw-gradient-via-stops:var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.before\:to-transparent:before{content:var(--tw-content);--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:-inset-px:after{content:var(--tw-content);inset:-1px}.after\:inset-0:after{content:var(--tw-content);inset:0}.after\:inset-\[3px\]:after{content:var(--tw-content);inset:3px}.after\:rounded-\[1px\]:after{content:var(--tw-content);border-radius:1px}.after\:rounded-full:after{content:var(--tw-content);border-radius:2147483647px}.after\:rounded-lg:after{content:var(--tw-content);border-radius:var(--radius-lg)}.after\:rounded-md:after{content:var(--tw-content);border-radius:var(--radius-md)}.after\:rounded-sm:after{content:var(--tw-content);border-radius:var(--radius-sm)}.after\:rounded-xl:after{content:var(--tw-content);border-radius:var(--radius-xl)}.after\:bg-white:after{content:var(--tw-content);background-color:var(--color-white)}.after\:inset-ring-\[1px\]:after{content:var(--tw-content);--tw-inset-ring-shadow:inset 0 0 0 1px var(--tw-inset-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)}.after\:inset-ring-black\/7:after{content:var(--tw-content);--tw-inset-ring-color:#00000012}@supports (color:color-mix(in lab, red, red)){.after\:inset-ring-black\/7:after{--tw-inset-ring-color:color-mix(in oklab, var(--color-black) 7%, transparent)}}.first\:sticky:first-child{position:sticky}.first\:left-0:first-child{left:0}.first\:ps-0:first-child{padding-inline-start:0}.first\:after\:pointer-events-none:first-child:after{content:var(--tw-content);pointer-events:none}.first\:after\:absolute:first-child:after{content:var(--tw-content);position:absolute}.first\:after\:inset-y-0:first-child:after{content:var(--tw-content);inset-block:0}.first\:after\:right-0:first-child:after{content:var(--tw-content);right:0}.first\:after\:w-8:first-child:after{content:var(--tw-content);width:calc(var(--spacing) * 8)}.first\:after\:translate-x-full:first-child:after{content:var(--tw-content);--tw-translate-x:100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.last\:sticky:last-child{position:sticky}.last\:right-0:last-child{right:0}.last\:bottom-0:last-child{bottom:0}.last\:z-20:last-child{z-index:20}.last\:pe-0:last-child{padding-inline-end:0}.last\:pe-2:last-child{padding-inline-end:calc(var(--spacing) * 2)}.last\:after\:pointer-events-none:last-child:after{content:var(--tw-content);pointer-events:none}.last\:after\:absolute:last-child:after{content:var(--tw-content);position:absolute}.last\:after\:inset-y-0:last-child:after{content:var(--tw-content);inset-block:0}.last\:after\:left-0:last-child:after{content:var(--tw-content);left:0}.last\:after\:w-8:last-child:after{content:var(--tw-content);width:calc(var(--spacing) * 8)}.last\:after\:-translate-x-full:last-child:after{content:var(--tw-content);--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.odd\:bg-white\/2:nth-child(odd){background-color:#ffffff05}@supports (color:color-mix(in lab, red, red)){.odd\:bg-white\/2:nth-child(odd){background-color:color-mix(in oklab, var(--color-white) 2%, transparent)}}.even\:bg-white:nth-child(2n){background-color:var(--color-white)}@media (hover:hover){.hover\:-translate-y-0\.5:hover{--tw-translate-y:calc(var(--spacing) * -.5);translate:var(--tw-translate-x) var(--tw-translate-y)}.hover\:border:hover{border-style:var(--tw-border-style);border-width:1px}.hover\:border-\[\#1915014a\]:hover{border-color:#1915014a}.hover\:border-\[\#19140035\]:hover{border-color:#19140035}.hover\:border-\[var\(--haze-border\)\]:hover{border-color:var(--haze-border)}.hover\:border-black:hover{border-color:var(--color-black)}.hover\:border-neutral-200:hover{border-color:var(--color-neutral-200)}.hover\:border-zinc-200:hover{border-color:var(--color-zinc-200)}.hover\:bg-\[color-mix\(in_oklab\,_var\(--color-accent\)\,_transparent_10\%\)\]:hover{background-color:#262626e6}@supports (color:color-mix(in lab, red, red)){.hover\:bg-\[color-mix\(in_oklab\,_var\(--color-accent\)\,_transparent_10\%\)\]:hover{background-color:color-mix(in oklab, var(--color-accent), transparent 10%)}}.hover\:bg-accent:hover{background-color:var(--color-accent)}.hover\:bg-black:hover{background-color:var(--color-black)}.hover\:bg-emerald-700:hover{background-color:var(--color-emerald-700)}.hover\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\:bg-neutral-100:hover{background-color:var(--color-neutral-100)}.hover\:bg-neutral-200:hover{background-color:var(--color-neutral-200)}.hover\:bg-red-50:hover{background-color:var(--color-red-50)}.hover\:bg-red-600:hover{background-color:var(--color-red-600)}.hover\:bg-red-700:hover{background-color:var(--color-red-700)}.hover\:bg-white\/50:hover{background-color:#ffffff80}@supports (color:color-mix(in lab, red, red)){.hover\:bg-white\/50:hover{background-color:color-mix(in oklab, var(--color-white) 50%, transparent)}}.hover\:bg-zinc-50:hover{background-color:var(--color-zinc-50)}.hover\:bg-zinc-100:hover{background-color:var(--color-zinc-100)}.hover\:bg-zinc-800:hover{background-color:var(--color-zinc-800)}.hover\:bg-zinc-800\/5:hover{background-color:#2626260d}@supports (color:color-mix(in lab, red, red)){.hover\:bg-zinc-800\/5:hover{background-color:color-mix(in oklab, var(--color-zinc-800) 5%, transparent)}}.hover\:bg-zinc-800\/10:hover{background-color:#2626261a}@supports (color:color-mix(in lab, red, red)){.hover\:bg-zinc-800\/10:hover{background-color:color-mix(in oklab, var(--color-zinc-800) 10%, transparent)}}.hover\:bg-zinc-800\/\[4\%\]:hover{background-color:#2626260a}@supports (color:color-mix(in lab, red, red)){.hover\:bg-zinc-800\/\[4\%\]:hover{background-color:color-mix(in oklab, var(--color-zinc-800) 4%, transparent)}}.hover\:bg-zinc-900\/90:hover{background-color:#171717e6}@supports (color:color-mix(in lab, red, red)){.hover\:bg-zinc-900\/90:hover{background-color:color-mix(in oklab, var(--color-zinc-900) 90%, transparent)}}.hover\:text-accent-foreground:hover{color:var(--color-accent-foreground)}.hover\:text-blue-500:hover{color:var(--color-blue-500)}.hover\:text-gray-400:hover{color:var(--color-gray-400)}.hover\:text-gray-500:hover{color:var(--color-gray-500)}.hover\:text-gray-700:hover{color:var(--color-gray-700)}.hover\:text-red-600:hover{color:var(--color-red-600)}.hover\:text-zinc-800:hover{color:var(--color-zinc-800)}.hover\:text-zinc-800\!:hover{color:var(--color-zinc-800)!important}.hover\:underline:hover{text-decoration-line:underline}.hover\:decoration-current:hover{text-decoration-color:currentColor}.hover\:opacity-100:hover{opacity:1}.hover\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\:after\:bg-\[var\(--haze-light\)\]:hover:after{content:var(--tw-content);background-color:var(--haze-light)}}.focus\:z-10:focus{z-index:10}.focus\:border-blue-300:focus{border-color:var(--color-blue-300)}.focus\:border-emerald-500:focus{border-color:var(--color-emerald-500)}.focus\:ring:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus\:ring-emerald-500:focus{--tw-ring-color:var(--color-emerald-500)}.focus\:ring-emerald-500\/20:focus{--tw-ring-color:#00bb7f33}@supports (color:color-mix(in lab, red, red)){.focus\:ring-emerald-500\/20:focus{--tw-ring-color:color-mix(in oklab, var(--color-emerald-500) 20%, transparent)}}.focus\:ring-emerald-500\/30:focus{--tw-ring-color:#00bb7f4d}@supports (color:color-mix(in lab, red, red)){.focus\:ring-emerald-500\/30:focus{--tw-ring-color:color-mix(in oklab, var(--color-emerald-500) 30%, transparent)}}.focus\:outline-hidden:focus{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.focus\:outline-hidden:focus{outline-offset:2px;outline:2px solid #0000}}.focus\:outline:focus{outline-style:var(--tw-outline-style);outline-width:1px}.focus\:outline-2:focus{outline-style:var(--tw-outline-style);outline-width:2px}.focus\:outline-red-500:focus{outline-color:var(--color-red-500)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\:ring-2: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)}.focus-visible\:ring-offset-2: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)}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\:bg-gray-100:active{background-color:var(--color-gray-100)}.active\:text-gray-500:active{color:var(--color-gray-500)}.active\:text-gray-700:active{color:var(--color-gray-700)}.active\:text-gray-800:active{color:var(--color-gray-800)}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-b-zinc-200:disabled{border-bottom-color:var(--color-zinc-200)}.disabled\:text-zinc-500:disabled{color:var(--color-zinc-500)}.disabled\:placeholder-zinc-400:disabled::placeholder{color:var(--color-zinc-400)}.disabled\:placeholder-zinc-400\/70:disabled::placeholder{color:#a3a3a3b3}@supports (color:color-mix(in lab, red, red)){.disabled\:placeholder-zinc-400\/70:disabled::placeholder{color:color-mix(in oklab, var(--color-zinc-400) 70%, transparent)}}.disabled\:opacity-50:disabled{opacity:.5}.disabled\:opacity-75:disabled{opacity:.75}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:shadow-xs\!:disabled{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d)!important;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)!important}:where([data-checked]) .in-data-checked\:text-zinc-800{color:var(--color-zinc-800)}:where([data-flux-menu]) .in-data-flux-menu\:block{display:block}:where([data-flux-menu]) .in-data-flux-menu\:px-2{padding-inline:calc(var(--spacing) * 2)}:where([data-flux-menu]) .in-data-flux-menu\:text-zinc-400{color:var(--color-zinc-400)}:where([data-flux-menu]) .in-data-flux-menu\:text-zinc-800{color:var(--color-zinc-800)}@media (hover:hover){:where([data-flux-menu]) .in-data-flux-menu\:hover\:bg-zinc-50:hover{background-color:var(--color-zinc-50)}}:where([data-flux-sidebar-collapsed-desktop]) .in-data-flux-sidebar-collapsed-desktop\:absolute{position:absolute}:where([data-flux-sidebar-collapsed-desktop]) .in-data-flux-sidebar-collapsed-desktop\:hidden{display:none}:where([data-flux-sidebar-collapsed-desktop]) .in-data-flux-sidebar-collapsed-desktop\:w-10{width:calc(var(--spacing) * 10)}:where([data-flux-sidebar-collapsed-desktop]) .in-data-flux-sidebar-collapsed-desktop\:cursor-e-resize{cursor:e-resize}:where([data-flux-sidebar-collapsed-desktop]) .in-data-flux-sidebar-collapsed-desktop\:justify-center{justify-content:center}:where([data-flux-sidebar-collapsed-desktop]) .in-data-flux-sidebar-collapsed-desktop\:px-0{padding-inline:0}:where([data-flux-sidebar-collapsed-desktop]) .in-data-flux-sidebar-collapsed-desktop\:px-3{padding-inline:calc(var(--spacing) * 3)}:where([data-flux-sidebar-collapsed-desktop]) .in-data-flux-sidebar-collapsed-desktop\:opacity-0{opacity:0}:where([data-flux-sidebar-collapsed-desktop]) .in-data-flux-sidebar-collapsed-desktop\:not-in-data-flux-menu\:w-10:not(:where([data-flux-menu]) *){width:calc(var(--spacing) * 10)}:where([data-flux-sidebar-collapsed-desktop]) .in-data-flux-sidebar-collapsed-desktop\:not-in-data-flux-menu\:justify-center:not(:where([data-flux-menu]) *){justify-content:center}:where([data-flux-sidebar-collapsed-desktop]) .in-data-flux-sidebar-collapsed-desktop\:not-in-data-flux-sidebar-group-dropdown\:hidden:not(:where([data-flux-sidebar-group-dropdown]) *){display:none}:where([data-flux-sidebar-active]) :is(:where([data-flux-sidebar-collapsed-desktop]) .in-data-flux-sidebar-collapsed-desktop\:in-data-flux-sidebar-active\:absolute){position:absolute}:where([data-flux-sidebar-active]) :is(:where([data-flux-sidebar-collapsed-desktop]) .in-data-flux-sidebar-collapsed-desktop\:in-data-flux-sidebar-active\:opacity-0){opacity:0}:where([data-flux-sidebar-active]) :is(:where([data-flux-sidebar-collapsed-desktop]) .in-data-flux-sidebar-collapsed-desktop\:in-data-flux-sidebar-active\:opacity-100){opacity:1}:where([data-flux-sidebar-group-dropdown]) .in-data-flux-sidebar-group-dropdown\:hidden{display:none}:where([data-flux-sidebar-group-dropdown]) .in-data-flux-sidebar-group-dropdown\:w-auto\!{width:auto!important}:where([data-flux-sidebar-group-dropdown]) .in-data-flux-sidebar-group-dropdown\:bg-white\!{background-color:var(--color-white)!important}:where([data-flux-sidebar-group-dropdown]) .in-data-flux-sidebar-group-dropdown\:px-2\!{padding-inline:calc(var(--spacing) * 2)!important}:where([data-flux-sidebar-group-dropdown]) .in-data-flux-sidebar-group-dropdown\:text-zinc-400\!{color:var(--color-zinc-400)!important}:where([data-flux-sidebar-group-dropdown]) .in-data-flux-sidebar-group-dropdown\:text-zinc-800\!{color:var(--color-zinc-800)!important}@media (hover:hover){:where([data-flux-sidebar-group-dropdown]) .in-data-flux-sidebar-group-dropdown\:hover\:bg-zinc-50\!:hover{background-color:var(--color-zinc-50)!important}}:where([data-flux-sidebar-group-dropdown]) .in-data-flux-sidebar-group-dropdown\:focus\:outline-hidden\!:focus{--tw-outline-style:none!important;outline-style:none!important}@media (forced-colors:active){:where([data-flux-sidebar-group-dropdown]) .in-data-flux-sidebar-group-dropdown\:focus\:outline-hidden\!:focus{outline-offset:2px!important;outline:2px solid #0000!important}}:where([data-flux-sidebar-active]) :is(:where([data-flux-sidebar-collapsed-desktop]) :is(:where([data-flux-sidebar-header]) .in-data-flux-sidebar-header\:in-data-flux-sidebar-collapsed-desktop\:in-data-flux-sidebar-active\:hidden)){display:none}:where([data-flux-sidebar-on-desktop]) .in-data-flux-sidebar-on-desktop\:not-in-data-flux-sidebar-collapsed-desktop\:-mr-2:not(:where([data-flux-sidebar-collapsed-desktop]) *){margin-right:calc(var(--spacing) * -2)}:where([data-flux-sidebar-on-mobile]) .in-data-flux-sidebar-on-mobile\:hidden{display:none}:where([data-flux-sidebar-on-mobile]) .in-data-flux-sidebar-on-mobile\:h-10{height:calc(var(--spacing) * 10)}:where([data-scrolled-left]) .in-data-scrolled-left\:last\:after\:inset-shadow-\[-8px_0px_8px_-8px_rgba\(0\,0\,0\,0\.05\)\]:last-child:after{content:var(--tw-content);--tw-inset-shadow:inset -8px 0px 8px -8px var(--tw-inset-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}:where([data-scrolled-right]) .in-data-scrolled-right\:first\:after\:inset-shadow-\[8px_0px_8px_-8px_rgba\(0\,0\,0\,0\.05\)\]:first-child:after{content:var(--tw-content);--tw-inset-shadow:inset 8px 0px 8px -8px var(--tw-inset-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}:where(.group\/center-align) .in-\[\.group\\\/center-align\]\:justify-center{justify-content:center}:where(.group\/end-align) .in-\[\.group\\\/end-align\]\:-ms-8{margin-inline-start:calc(var(--spacing) * -8)}:where(.group\/end-align) .in-\[\.group\\\/end-align\]\:-me-2{margin-inline-end:calc(var(--spacing) * -2)}:where(.group\/end-align) .in-\[\.group\\\/end-align\]\:flex-row-reverse{flex-direction:row-reverse}:where(.group\/end-align) .in-\[\.group\\\/end-align\]\:justify-end{justify-content:flex-end}:where(:is(ui-toast-group)) .in-\[ui-toast-group\]\:w-xs{width:var(--container-xs)}.has-focus-within\:z-10:has(:focus-within){z-index:10}.has-data-flux-navlist-badge\:not-in-data-flux-sidebar-collapsed-desktop\:pe-1\.5:has([data-flux-navlist-badge]):not(:where([data-flux-sidebar-collapsed-desktop]) *){padding-inline-end:calc(var(--spacing) * 1.5)}.has-data-\[circle\=true\]\:rounded-full:has([data-circle=true]){border-radius:2147483647px}.has-\[\[data-flux-control\]\~\[data-flux-label\]\]\:grid-cols-\[auto_1fr\]:has(:is([data-flux-control]~[data-flux-label])){grid-template-columns:auto 1fr}.has-\[\[data-flux-label\]\~\[data-flux-control\]\]\:grid-cols-\[1fr_auto\]:has(:is([data-flux-label]~[data-flux-control])){grid-template-columns:1fr auto}.has-\[option\.placeholder\:checked\]\:text-zinc-400:has(:is(option.placeholder:checked)){color:var(--color-zinc-400)}.data-active\:bg-red-50[data-active]{background-color:var(--color-red-50)}.data-active\:bg-zinc-50[data-active]{background-color:var(--color-zinc-50)}.data-active\:text-red-600[data-active]{color:var(--color-red-600)}:where([data-flux-sidebar-group-dropdown]) .in-data-flux-sidebar-group-dropdown\:data-active\:bg-zinc-50\![data-active]{background-color:var(--color-zinc-50)!important}.data-checked\:border-0[data-checked]{border-style:var(--tw-border-style);border-width:0}.data-checked\:border-\(--color-accent\)[data-checked]{border-color:var(--color-accent)}.data-checked\:border-zinc-800[data-checked]{border-color:var(--color-zinc-800)}.data-checked\:bg-\(--color-accent\)[data-checked]{background-color:var(--color-accent)}.data-checked\:bg-white[data-checked]{background-color:var(--color-white)}.data-checked\:bg-zinc-50[data-checked]{background-color:var(--color-zinc-50)}.data-checked\:bg-zinc-800[data-checked]{background-color:var(--color-zinc-800)}.data-checked\:text-\(--color-accent-foreground\)[data-checked]{color:var(--color-accent-foreground)}.data-checked\:text-white[data-checked]{color:var(--color-white)}.data-checked\:text-zinc-800[data-checked]{color:var(--color-zinc-800)}.data-checked\:shadow-xs[data-checked]{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-checked\:after\:bg-\(--haze\)[data-checked]:after{content:var(--tw-content);background-color:var(--haze)}@media (hover:hover){.hover\:data-checked\:border-\(--color-accent\):hover[data-checked]{border-color:var(--color-accent)}.hover\:data-checked\:bg-\(--color-accent\):hover[data-checked]{background-color:var(--color-accent)}.hover\:data-checked\:text-\(--color-accent-foreground\):hover[data-checked]{color:var(--color-accent-foreground)}.hover\:data-checked\:after\:bg-\(--haze\):hover[data-checked]:after{content:var(--tw-content);background-color:var(--haze)}}.data-current\:border[data-current]{border-style:var(--tw-border-style);border-width:1px}.data-current\:border-zinc-200[data-current]{border-color:var(--color-zinc-200)}.data-current\:bg-white[data-current]{background-color:var(--color-white)}.data-current\:bg-zinc-800\/\[4\%\][data-current]{background-color:#2626260a}@supports (color:color-mix(in lab, red, red)){.data-current\:bg-zinc-800\/\[4\%\][data-current]{background-color:color-mix(in oklab, var(--color-zinc-800) 4%, transparent)}}.data-current\:text-\(--color-accent-content\)[data-current]{color:var(--color-accent-content)}.data-current\:text-zinc-800[data-current]{color:var(--color-zinc-800)}.data-current\:shadow-xs[data-current]{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-current\:after\:absolute[data-current]:after{content:var(--tw-content);position:absolute}.data-current\:after\:inset-x-0[data-current]:after{content:var(--tw-content);inset-inline:0}.data-current\:after\:-bottom-3[data-current]:after{content:var(--tw-content);bottom:calc(var(--spacing) * -3)}.data-current\:after\:h-\[2px\][data-current]:after{content:var(--tw-content);height:2px}.data-current\:after\:bg-\(--color-accent-content\)[data-current]:after{content:var(--tw-content);background-color:var(--color-accent-content)}.data-current\:after\:bg-zinc-800[data-current]:after{content:var(--tw-content);background-color:var(--color-zinc-800)}@media (hover:hover){.hover\:data-current\:bg-\(--hover-fill\):hover[data-current]{background-color:var(--hover-fill)}.hover\:data-current\:text-\(--color-accent-content\):hover[data-current]{color:var(--color-accent-content)}}:is(.\*\*\:data-flux-badge-icon\:me-1 *)[data-flux-badge-icon]{margin-inline-end:var(--spacing)}:is(.\*\*\:data-flux-badge-icon\:me-1\.5 *)[data-flux-badge-icon]{margin-inline-end:calc(var(--spacing) * 1.5)}:is(.\*\*\:data-flux-badge-icon\:me-2 *)[data-flux-badge-icon]{margin-inline-end:calc(var(--spacing) * 2)}:is(.\*\:data-flux-field\:mb-3>*)[data-flux-field]{margin-bottom:calc(var(--spacing) * 3)}:is(.\*\:data-flux-input\:grow>*)[data-flux-input]{flex-grow:1}:is(.\*\:data-flux-label\:mb-3>*)[data-flux-label]{margin-bottom:calc(var(--spacing) * 3)}.data-flux-loading\:pointer-events-none[data-flux-loading]{pointer-events:none}:is(.\*\*\:data-flux-menu-item-icon\:text-zinc-400 *)[data-flux-menu-item-icon]{color:var(--color-zinc-400)}.data-flux-sidebar-collapsed-desktop\:w-14[data-flux-sidebar-collapsed-desktop]{width:calc(var(--spacing) * 14)}.data-flux-sidebar-collapsed-desktop\:cursor-e-resize[data-flux-sidebar-collapsed-desktop]{cursor:e-resize}.data-flux-sidebar-collapsed-desktop\:px-2[data-flux-sidebar-collapsed-desktop]{padding-inline:calc(var(--spacing) * 2)}.data-flux-sidebar-on-mobile\:fixed\![data-flux-sidebar-on-mobile]{position:fixed!important}.data-flux-sidebar-on-mobile\:start-0\![data-flux-sidebar-on-mobile]{inset-inline-start:calc(var(--spacing) * 0)!important}.data-flux-sidebar-on-mobile\:top-0\![data-flux-sidebar-on-mobile]{top:0!important}.data-flux-sidebar-on-mobile\:max-h-dvh\![data-flux-sidebar-on-mobile]{max-height:100dvh!important}.data-flux-sidebar-on-mobile\:min-h-dvh\![data-flux-sidebar-on-mobile]{min-height:100dvh!important}.data-flux-sidebar-on-mobile\:not-data-flux-sidebar-collapsed-mobile\:block[data-flux-sidebar-on-mobile]:not([data-flux-sidebar-collapsed-mobile]){display:block}.data-flux-sidebar-on-mobile\:data-flux-sidebar-collapsed-mobile\:-translate-x-full[data-flux-sidebar-on-mobile][data-flux-sidebar-collapsed-mobile]{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}:is(.\*\*\:data-flux-table-sortable\:last\:me-0 *)[data-flux-table-sortable]:last-child{margin-inline-end:0}.data-indeterminate\:border-transparent[data-indeterminate]{border-color:#0000}.data-invalid\:border-red-500[data-invalid]{border-color:var(--color-red-500)}.data-invalid\:shadow-none[data-invalid]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:data-invalid\:border-red-500:disabled[data-invalid]{border-color:var(--color-red-500)}.data-loading\:pointer-events-none[data-loading]{pointer-events:none}.data-loading\:opacity-50[data-loading]{opacity:.5}:is(.\*\*\:data-navmenu-icon\:text-zinc-400 *)[data-navmenu-icon]{color:var(--color-zinc-400)}.data-open\:block[data-open]{display:block}:is(.\*\*\:data-\[slot\=avatar\]\:ring-4 *)[data-slot=avatar]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + 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(.\*\*\:data-\[slot\=avatar\]\:data-\[size\=sm\]\:ring-2 *)[data-slot=avatar][data-size=sm],:is(.\*\*\:data-\[slot\=avatar\]\:data-\[size\=xs\]\:ring-2 *)[data-slot=avatar][data-size=xs]{--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)}@media not all and (width>=64rem){.max-lg\:hidden,.max-lg\:data-flux-sidebar-cloak\:hidden[data-flux-sidebar-cloak]{display:none}}@media not all and (width>=48rem){.max-md\:flex-col{flex-direction:column}.max-md\:pt-6{padding-top:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:mb-16{margin-bottom:calc(var(--spacing) * 16)}.sm\:flex{display:flex}.sm\:hidden{display:none}.sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.sm\:w-3\/4{width:75%}.sm\:w-80{width:calc(var(--spacing) * 80)}.sm\:w-\[350px\]{width:350px}.sm\:flex-1{flex:1}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-between{justify-content:space-between}.sm\:justify-start{justify-content:flex-start}.sm\:gap-2{gap:calc(var(--spacing) * 2)}.sm\:p-6{padding:calc(var(--spacing) * 6)}.sm\:p-14{padding:calc(var(--spacing) * 14)}.sm\:px-0{padding-inline:0}.sm\:px-6{padding-inline:calc(var(--spacing) * 6)}.sm\:py-0{padding-block:0}.sm\:pt-0{padding-top:0}.sm\:pt-16{padding-top:calc(var(--spacing) * 16)}.sm\:pb-0{padding-bottom:0}.sm\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}:where(:is(ui-toast-group)) .sm\:in-\[ui-toast-group\]\:w-sm{width:var(--container-sm)}}@media (width>=48rem){.md\:hidden{display:none}.md\:w-\[220px\]{width:220px}.md\:min-w-md{min-width:var(--container-md)}.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\:p-10{padding:calc(var(--spacing) * 10)}}@media (width>=64rem){.lg\:mb-0{margin-bottom:0}.lg\:mb-6{margin-bottom:calc(var(--spacing) * 6)}.lg\:-ml-px{margin-left:-1px}.lg\:ml-0{margin-left:0}.lg\:block{display:block}.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:aspect-auto{aspect-ratio:auto}.lg\:h-8{height:calc(var(--spacing) * 8)}.lg\:w-\[438px\]{width:438px}.lg\:max-w-4xl{max-width:var(--container-4xl)}.lg\:max-w-none{max-width:none}.lg\:grow{flex-grow:1}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.lg\:items-center{align-items:center}.lg\:justify-center{justify-content:center}.lg\:rounded-ss-lg{border-start-start-radius:var(--radius-lg)}.lg\:rounded-ee-none{border-end-end-radius:0}.lg\:rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.lg\:rounded-r-lg{border-top-right-radius:var(--radius-lg);border-bottom-right-radius:var(--radius-lg)}.lg\:p-8{padding:calc(var(--spacing) * 8)}.lg\:p-20{padding:calc(var(--spacing) * 20)}.lg\:px-0{padding-inline:0}.lg\:px-8{padding-inline:calc(var(--spacing) * 8)}.lg\:py-1\.5{padding-block:calc(var(--spacing) * 1.5)}}@media (width>=80rem){.xl\:col-span-2{grid-column:span 2/span 2}.xl\:w-1\/2{width:50%}.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.xl\:flex-row{flex-direction:row}.xl\:items-end{align-items:flex-end}.xl\:justify-between{justify-content:space-between}}@container not (width>=28rem){.\@max-md\:py-2{padding-block:calc(var(--spacing) * 2)}}@container (width>=28rem){.\@md\:m-\[-2px\]{margin:-2px}.\@md\:flex{display:flex}.\@md\:flex-row-reverse{flex-direction:row-reverse}.\@md\:justify-end{justify-content:flex-end}.\@md\:ps-4{padding-inline-start:calc(var(--spacing) * 4)}.\@md\:pe-4{padding-inline-end:calc(var(--spacing) * 4)}}@container (width>=40rem){.\@\[40rem\]\:flex{display:flex}.\@\[40rem\]\:hidden{display:none}}.rtl\:mr-0:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){margin-right:0}.rtl\:mr-auto:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){margin-right:auto}.rtl\:ml-0:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){margin-left:0}.rtl\:ml-auto:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){margin-left:auto}.rtl\:hidden:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){display:none}.rtl\:inline:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){display:inline}.rtl\:-translate-x-\[0\.1875rem\]:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){--tw-translate-x:calc(.1875rem * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.rtl\:-scale-x-100:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){--tw-scale-x:calc(100% * -1);scale:var(--tw-scale-x) var(--tw-scale-y)}.rtl\:rotate-180:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){rotate:180deg}.rtl\:flex-row-reverse:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){flex-direction:row-reverse}:where(.rtl\:space-x-reverse:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *)>:not(:last-child)){--tw-space-x-reverse:1}.rtl\:text-right:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){text-align:right}.rtl\:\[--flux-flyout-translate\:translateX\(-50px\)\]:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){--flux-flyout-translate:translateX(-50px)}.rtl\:\[--flux-flyout-translate\:translateX\(50px\)\]:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){--flux-flyout-translate:translateX(50px)}.rtl\:group-data-checked\:-translate-x-\[0\.9375rem\]:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *):is(:where(.group)[data-checked] *){--tw-translate-x:calc(.9375rem * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}:where([data-flux-sidebar-collapsed-desktop]) .rtl\:in-data-flux-sidebar-collapsed-desktop\:cursor-w-resize:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *),.rtl\:data-flux-sidebar-collapsed-desktop\:cursor-w-resize:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *)[data-flux-sidebar-collapsed-desktop]{cursor:w-resize}.data-flux-sidebar-on-mobile\:data-flux-sidebar-collapsed-mobile\:rtl\:translate-x-full[data-flux-sidebar-on-mobile][data-flux-sidebar-collapsed-mobile]:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){--tw-translate-x:100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.dark\:block:where(.dark,.dark *){display:block}.dark\:hidden:where(.dark,.dark *){display:none}.dark\:translate-x-\[0\.125rem\]:where(.dark,.dark *){--tw-translate-x:.125rem;translate:var(--tw-translate-x) var(--tw-translate-y)}:where(.dark\:divide-stone-300:where(.dark,.dark *)>:not(:last-child)){border-color:var(--color-stone-300)}:where(.dark\:divide-white\/5:where(.dark,.dark *)>:not(:last-child)){border-color:#ffffff0d}@supports (color:color-mix(in lab, red, red)){:where(.dark\:divide-white\/5:where(.dark,.dark *)>:not(:last-child)){border-color:color-mix(in oklab, var(--color-white) 5%, transparent)}}:where(.dark\:divide-white\/10:where(.dark,.dark *)>:not(:last-child)){border-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){:where(.dark\:divide-white\/10:where(.dark,.dark *)>:not(:last-child)){border-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.dark\:border:where(.dark,.dark *){border-style:var(--tw-border-style);border-width:1px}.dark\:border-0:where(.dark,.dark *){border-style:var(--tw-border-style);border-width:0}.dark\:border-e:where(.dark,.dark *){border-inline-end-style:var(--tw-border-style);border-inline-end-width:1px}.dark\:border-none:where(.dark,.dark *){--tw-border-style:none;border-style:none}.dark\:border-\[\#3E3E3A\]:where(.dark,.dark *){border-color:#3e3e3a}.dark\:border-\[\#eeeeec\]:where(.dark,.dark *){border-color:#eeeeec}.dark\:border-amber-500:where(.dark,.dark *){border-color:var(--color-amber-500)}.dark\:border-amber-800:where(.dark,.dark *){border-color:var(--color-amber-800)}.dark\:border-blue-600:where(.dark,.dark *){border-color:var(--color-blue-600)}.dark\:border-blue-800:where(.dark,.dark *){border-color:var(--color-blue-800)}.dark\:border-emerald-500:where(.dark,.dark *){border-color:var(--color-emerald-500)}.dark\:border-emerald-600:where(.dark,.dark *){border-color:var(--color-emerald-600)}.dark\:border-gray-600:where(.dark,.dark *){border-color:var(--color-gray-600)}.dark\:border-neutral-500:where(.dark,.dark *){border-color:var(--color-neutral-500)}.dark\:border-neutral-700:where(.dark,.dark *){border-color:var(--color-neutral-700)}.dark\:border-neutral-800:where(.dark,.dark *){border-color:var(--color-neutral-800)}.dark\:border-rose-500:where(.dark,.dark *){border-color:var(--color-rose-500)}.dark\:border-rose-900:where(.dark,.dark *){border-color:var(--color-rose-900)}.dark\:border-stone-600:where(.dark,.dark *){border-color:var(--color-stone-600)}.dark\:border-stone-700:where(.dark,.dark *){border-color:var(--color-stone-700)}.dark\:border-stone-800:where(.dark,.dark *){border-color:var(--color-stone-800)}.dark\:border-transparent:where(.dark,.dark *){border-color:#0000}.dark\:border-white\/5:where(.dark,.dark *){border-color:#ffffff0d}@supports (color:color-mix(in lab, red, red)){.dark\:border-white\/5:where(.dark,.dark *){border-color:color-mix(in oklab, var(--color-white) 5%, transparent)}}.dark\:border-white\/8:where(.dark,.dark *){border-color:#ffffff14}@supports (color:color-mix(in lab, red, red)){.dark\:border-white\/8:where(.dark,.dark *){border-color:color-mix(in oklab, var(--color-white) 8%, transparent)}}.dark\:border-white\/10:where(.dark,.dark *){border-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.dark\:border-white\/10:where(.dark,.dark *){border-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.dark\:border-white\/20:where(.dark,.dark *){border-color:#fff3}@supports (color:color-mix(in lab, red, red)){.dark\:border-white\/20:where(.dark,.dark *){border-color:color-mix(in oklab, var(--color-white) 20%, transparent)}}.dark\:border-white\/\[9\%\]:where(.dark,.dark *){border-color:#ffffff17}@supports (color:color-mix(in lab, red, red)){.dark\:border-white\/\[9\%\]:where(.dark,.dark *){border-color:color-mix(in oklab, var(--color-white) 9%, transparent)}}.dark\:border-zinc-600:where(.dark,.dark *){border-color:var(--color-zinc-600)}.dark\:border-zinc-700:where(.dark,.dark *){border-color:var(--color-zinc-700)}.dark\:bg-\[\#0a0a0a\]:where(.dark,.dark *){background-color:#0a0a0a}.dark\:bg-\[\#1D0002\]:where(.dark,.dark *){background-color:#1d0002}.dark\:bg-\[\#1a1a1a\]:where(.dark,.dark *){background-color:#1a1a1a}.dark\:bg-\[\#3E3E3A\]:where(.dark,.dark *){background-color:#3e3e3a}.dark\:bg-\[\#161615\]:where(.dark,.dark *){background-color:#161615}.dark\:bg-\[\#eeeeec\]:where(.dark,.dark *){background-color:#eeeeec}.dark\:bg-amber-400:where(.dark,.dark *){background-color:var(--color-amber-400)}.dark\:bg-amber-400\/40:where(.dark,.dark *){background-color:#fcbb0066}@supports (color:color-mix(in lab, red, red)){.dark\:bg-amber-400\/40:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-amber-400) 40%, transparent)}}.dark\:bg-amber-500:where(.dark,.dark *){background-color:var(--color-amber-500)}.dark\:bg-amber-600:where(.dark,.dark *){background-color:var(--color-amber-600)}.dark\:bg-amber-950:where(.dark,.dark *){background-color:var(--color-amber-950)}.dark\:bg-blue-400:where(.dark,.dark *){background-color:var(--color-blue-400)}.dark\:bg-blue-400\/40:where(.dark,.dark *){background-color:#54a2ff66}@supports (color:color-mix(in lab, red, red)){.dark\:bg-blue-400\/40:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-blue-400) 40%, transparent)}}.dark\:bg-blue-600:where(.dark,.dark *){background-color:var(--color-blue-600)}.dark\:bg-blue-700:where(.dark,.dark *){background-color:var(--color-blue-700)}.dark\:bg-blue-950:where(.dark,.dark *){background-color:var(--color-blue-950)}.dark\:bg-cyan-400:where(.dark,.dark *){background-color:var(--color-cyan-400)}.dark\:bg-cyan-400\/40:where(.dark,.dark *){background-color:#00d2ef66}@supports (color:color-mix(in lab, red, red)){.dark\:bg-cyan-400\/40:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-cyan-400) 40%, transparent)}}.dark\:bg-cyan-600:where(.dark,.dark *){background-color:var(--color-cyan-600)}.dark\:bg-emerald-400:where(.dark,.dark *){background-color:var(--color-emerald-400)}.dark\:bg-emerald-400\/40:where(.dark,.dark *){background-color:#00d29466}@supports (color:color-mix(in lab, red, red)){.dark\:bg-emerald-400\/40:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-emerald-400) 40%, transparent)}}.dark\:bg-emerald-600:where(.dark,.dark *){background-color:var(--color-emerald-600)}.dark\:bg-emerald-900\/70:where(.dark,.dark *){background-color:#004e3bb3}@supports (color:color-mix(in lab, red, red)){.dark\:bg-emerald-900\/70:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-emerald-900) 70%, transparent)}}.dark\:bg-fuchsia-400:where(.dark,.dark *){background-color:var(--color-fuchsia-400)}.dark\:bg-fuchsia-400\/40:where(.dark,.dark *){background-color:#ec6cff66}@supports (color:color-mix(in lab, red, red)){.dark\:bg-fuchsia-400\/40:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-fuchsia-400) 40%, transparent)}}.dark\:bg-fuchsia-600:where(.dark,.dark *){background-color:var(--color-fuchsia-600)}.dark\:bg-gray-700:where(.dark,.dark *){background-color:var(--color-gray-700)}.dark\:bg-gray-800:where(.dark,.dark *){background-color:var(--color-gray-800)}.dark\:bg-gray-900:where(.dark,.dark *){background-color:var(--color-gray-900)}.dark\:bg-green-400:where(.dark,.dark *){background-color:var(--color-green-400)}.dark\:bg-green-400\/40:where(.dark,.dark *){background-color:#05df7266}@supports (color:color-mix(in lab, red, red)){.dark\:bg-green-400\/40:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-green-400) 40%, transparent)}}.dark\:bg-green-600:where(.dark,.dark *){background-color:var(--color-green-600)}.dark\:bg-indigo-400:where(.dark,.dark *){background-color:var(--color-indigo-400)}.dark\:bg-indigo-400\/40:where(.dark,.dark *){background-color:#7d87ff66}@supports (color:color-mix(in lab, red, red)){.dark\:bg-indigo-400\/40:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-indigo-400) 40%, transparent)}}.dark\:bg-indigo-600:where(.dark,.dark *){background-color:var(--color-indigo-600)}.dark\:bg-lime-400:where(.dark,.dark *){background-color:var(--color-lime-400)}.dark\:bg-lime-400\/40:where(.dark,.dark *){background-color:#9de50066}@supports (color:color-mix(in lab, red, red)){.dark\:bg-lime-400\/40:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-lime-400) 40%, transparent)}}.dark\:bg-lime-600:where(.dark,.dark *){background-color:var(--color-lime-600)}.dark\:bg-neutral-400:where(.dark,.dark *){background-color:var(--color-neutral-400)}.dark\:bg-neutral-600:where(.dark,.dark *){background-color:var(--color-neutral-600)}.dark\:bg-neutral-700:where(.dark,.dark *){background-color:var(--color-neutral-700)}.dark\:bg-neutral-800:where(.dark,.dark *){background-color:var(--color-neutral-800)}.dark\:bg-neutral-900:where(.dark,.dark *){background-color:var(--color-neutral-900)}.dark\:bg-orange-400:where(.dark,.dark *){background-color:var(--color-orange-400)}.dark\:bg-orange-400\/40:where(.dark,.dark *){background-color:#ff8b1a66}@supports (color:color-mix(in lab, red, red)){.dark\:bg-orange-400\/40:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-orange-400) 40%, transparent)}}.dark\:bg-orange-600:where(.dark,.dark *){background-color:var(--color-orange-600)}.dark\:bg-pink-400:where(.dark,.dark *){background-color:var(--color-pink-400)}.dark\:bg-pink-400\/40:where(.dark,.dark *){background-color:#fb64b666}@supports (color:color-mix(in lab, red, red)){.dark\:bg-pink-400\/40:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-pink-400) 40%, transparent)}}.dark\:bg-pink-600:where(.dark,.dark *){background-color:var(--color-pink-600)}.dark\:bg-purple-400:where(.dark,.dark *){background-color:var(--color-purple-400)}.dark\:bg-purple-400\/40:where(.dark,.dark *){background-color:#c07eff66}@supports (color:color-mix(in lab, red, red)){.dark\:bg-purple-400\/40:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-purple-400) 40%, transparent)}}.dark\:bg-purple-600:where(.dark,.dark *){background-color:var(--color-purple-600)}.dark\:bg-red-400:where(.dark,.dark *){background-color:var(--color-red-400)}.dark\:bg-red-400\/40:where(.dark,.dark *){background-color:#ff656866}@supports (color:color-mix(in lab, red, red)){.dark\:bg-red-400\/40:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-red-400) 40%, transparent)}}.dark\:bg-red-600:where(.dark,.dark *){background-color:var(--color-red-600)}.dark\:bg-rose-400:where(.dark,.dark *){background-color:var(--color-rose-400)}.dark\:bg-rose-400\/40:where(.dark,.dark *){background-color:#ff667f66}@supports (color:color-mix(in lab, red, red)){.dark\:bg-rose-400\/40:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-rose-400) 40%, transparent)}}.dark\:bg-rose-600:where(.dark,.dark *){background-color:var(--color-rose-600)}.dark\:bg-rose-900\!:where(.dark,.dark *){background-color:var(--color-rose-900)!important}.dark\:bg-rose-950:where(.dark,.dark *){background-color:var(--color-rose-950)}.dark\:bg-sky-400:where(.dark,.dark *){background-color:var(--color-sky-400)}.dark\:bg-sky-400\/40:where(.dark,.dark *){background-color:#00bcfe66}@supports (color:color-mix(in lab, red, red)){.dark\:bg-sky-400\/40:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-sky-400) 40%, transparent)}}.dark\:bg-sky-600:where(.dark,.dark *){background-color:var(--color-sky-600)}.dark\:bg-stone-200:where(.dark,.dark *){background-color:var(--color-stone-200)}.dark\:bg-stone-600:where(.dark,.dark *){background-color:var(--color-stone-600)}.dark\:bg-stone-700:where(.dark,.dark *){background-color:var(--color-stone-700)}.dark\:bg-stone-800:where(.dark,.dark *){background-color:var(--color-stone-800)}.dark\:bg-stone-950:where(.dark,.dark *){background-color:var(--color-stone-950)}.dark\:bg-teal-400:where(.dark,.dark *){background-color:var(--color-teal-400)}.dark\:bg-teal-400\/40:where(.dark,.dark *){background-color:#00d3bd66}@supports (color:color-mix(in lab, red, red)){.dark\:bg-teal-400\/40:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-teal-400) 40%, transparent)}}.dark\:bg-teal-600:where(.dark,.dark *){background-color:var(--color-teal-600)}.dark\:bg-transparent:where(.dark,.dark *){background-color:#0000}.dark\:bg-violet-400:where(.dark,.dark *){background-color:var(--color-violet-400)}.dark\:bg-violet-400\/40:where(.dark,.dark *){background-color:#a685ff66}@supports (color:color-mix(in lab, red, red)){.dark\:bg-violet-400\/40:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-violet-400) 40%, transparent)}}.dark\:bg-violet-600:where(.dark,.dark *){background-color:var(--color-violet-600)}.dark\:bg-white:where(.dark,.dark *){background-color:var(--color-white)}.dark\:bg-white\/1:where(.dark,.dark *){background-color:#ffffff03}@supports (color:color-mix(in lab, red, red)){.dark\:bg-white\/1:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-white) 1%, transparent)}}.dark\:bg-white\/2:where(.dark,.dark *){background-color:#ffffff05}@supports (color:color-mix(in lab, red, red)){.dark\:bg-white\/2:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-white) 2%, transparent)}}.dark\:bg-white\/3:where(.dark,.dark *){background-color:#ffffff08}@supports (color:color-mix(in lab, red, red)){.dark\:bg-white\/3:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-white) 3%, transparent)}}.dark\:bg-white\/5:where(.dark,.dark *){background-color:#ffffff0d}@supports (color:color-mix(in lab, red, red)){.dark\:bg-white\/5:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-white) 5%, transparent)}}.dark\:bg-white\/10:where(.dark,.dark *){background-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.dark\:bg-white\/10:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.dark\:bg-white\/20:where(.dark,.dark *){background-color:#fff3}@supports (color:color-mix(in lab, red, red)){.dark\:bg-white\/20:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-white) 20%, transparent)}}.dark\:bg-white\/30:where(.dark,.dark *){background-color:#ffffff4d}@supports (color:color-mix(in lab, red, red)){.dark\:bg-white\/30:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-white) 30%, transparent)}}.dark\:bg-white\/\[2\%\]:where(.dark,.dark *){background-color:#ffffff05}@supports (color:color-mix(in lab, red, red)){.dark\:bg-white\/\[2\%\]:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-white) 2%, transparent)}}.dark\:bg-white\/\[3\%\]:where(.dark,.dark *){background-color:#ffffff08}@supports (color:color-mix(in lab, red, red)){.dark\:bg-white\/\[3\%\]:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-white) 3%, transparent)}}.dark\:bg-yellow-400:where(.dark,.dark *){background-color:var(--color-yellow-400)}.dark\:bg-yellow-400\/40:where(.dark,.dark *){background-color:#fac80066}@supports (color:color-mix(in lab, red, red)){.dark\:bg-yellow-400\/40:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-yellow-400) 40%, transparent)}}.dark\:bg-zinc-300:where(.dark,.dark *){background-color:var(--color-zinc-300)}.dark\:bg-zinc-400:where(.dark,.dark *){background-color:var(--color-zinc-400)}.dark\:bg-zinc-400\/40:where(.dark,.dark *){background-color:#a3a3a366}@supports (color:color-mix(in lab, red, red)){.dark\:bg-zinc-400\/40:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-zinc-400) 40%, transparent)}}.dark\:bg-zinc-600:where(.dark,.dark *){background-color:var(--color-zinc-600)}.dark\:bg-zinc-600\!:where(.dark,.dark *){background-color:var(--color-zinc-600)!important}.dark\:bg-zinc-700:where(.dark,.dark *){background-color:var(--color-zinc-700)}.dark\:bg-zinc-800:where(.dark,.dark *){background-color:var(--color-zinc-800)}.dark\:bg-zinc-800\/50:where(.dark,.dark *){background-color:#26262680}@supports (color:color-mix(in lab, red, red)){.dark\:bg-zinc-800\/50:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-zinc-800) 50%, transparent)}}.dark\:bg-zinc-900:where(.dark,.dark *){background-color:var(--color-zinc-900)}.dark\:bg-linear-to-b:where(.dark,.dark *){--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.dark\:bg-linear-to-b:where(.dark,.dark *){--tw-gradient-position:to bottom in oklab}}.dark\:bg-linear-to-b:where(.dark,.dark *){background-image:linear-gradient(var(--tw-gradient-stops))}.dark\:from-neutral-950:where(.dark,.dark *){--tw-gradient-from:var(--color-neutral-950);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.dark\:to-neutral-900:where(.dark,.dark *){--tw-gradient-to:var(--color-neutral-900);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.dark\:stroke-neutral-100\/20:where(.dark,.dark *){stroke:#f5f5f533}@supports (color:color-mix(in lab, red, red)){.dark\:stroke-neutral-100\/20:where(.dark,.dark *){stroke:color-mix(in oklab, var(--color-neutral-100) 20%, transparent)}}.dark\:text-\[\#1C1C1A\]:where(.dark,.dark *){color:#1c1c1a}.dark\:text-\[\#4B0600\]:where(.dark,.dark *){color:#4b0600}.dark\:text-\[\#391800\]:where(.dark,.dark *){color:#391800}.dark\:text-\[\#733000\]:where(.dark,.dark *){color:#733000}.dark\:text-\[\#A1A09A\]:where(.dark,.dark *){color:#a1a09a}.dark\:text-\[\#EDEDEC\]:where(.dark,.dark *){color:#ededec}.dark\:text-\[\#F61500\]:where(.dark,.dark *){color:#f61500}.dark\:text-\[\#FF4433\]:where(.dark,.dark *){color:#f43}.dark\:text-\[var\(--callout-icon\)\]:where(.dark,.dark *){color:var(--callout-icon)}.dark\:text-accent-foreground:where(.dark,.dark *){color:var(--color-accent-foreground)}.dark\:text-amber-200:where(.dark,.dark *){color:var(--color-amber-200)}.dark\:text-amber-300:where(.dark,.dark *){color:var(--color-amber-300)}.dark\:text-amber-400:where(.dark,.dark *){color:var(--color-amber-400)}.dark\:text-amber-500:where(.dark,.dark *){color:var(--color-amber-500)}.dark\:text-black:where(.dark,.dark *){color:var(--color-black)}.dark\:text-blue-200:where(.dark,.dark *){color:var(--color-blue-200)}.dark\:text-blue-300:where(.dark,.dark *){color:var(--color-blue-300)}.dark\:text-blue-400:where(.dark,.dark *){color:var(--color-blue-400)}.dark\:text-cyan-200:where(.dark,.dark *){color:var(--color-cyan-200)}.dark\:text-cyan-400:where(.dark,.dark *){color:var(--color-cyan-400)}.dark\:text-emerald-200:where(.dark,.dark *){color:var(--color-emerald-200)}.dark\:text-emerald-400:where(.dark,.dark *){color:var(--color-emerald-400)}.dark\:text-emerald-500:where(.dark,.dark *){color:var(--color-emerald-500)}.dark\:text-fuchsia-200:where(.dark,.dark *){color:var(--color-fuchsia-200)}.dark\:text-fuchsia-400:where(.dark,.dark *){color:var(--color-fuchsia-400)}.dark\:text-gray-200:where(.dark,.dark *){color:var(--color-gray-200)}.dark\:text-gray-300:where(.dark,.dark *){color:var(--color-gray-300)}.dark\:text-gray-400:where(.dark,.dark *){color:var(--color-gray-400)}.dark\:text-gray-600:where(.dark,.dark *){color:var(--color-gray-600)}.dark\:text-green-200:where(.dark,.dark *){color:var(--color-green-200)}.dark\:text-green-500:where(.dark,.dark *){color:var(--color-green-500)}.dark\:text-indigo-200:where(.dark,.dark *){color:var(--color-indigo-200)}.dark\:text-indigo-400:where(.dark,.dark *){color:var(--color-indigo-400)}.dark\:text-lime-200:where(.dark,.dark *){color:var(--color-lime-200)}.dark\:text-lime-400:where(.dark,.dark *){color:var(--color-lime-400)}.dark\:text-lime-500:where(.dark,.dark *){color:var(--color-lime-500)}.dark\:text-neutral-100:where(.dark,.dark *){color:var(--color-neutral-100)}.dark\:text-neutral-200:where(.dark,.dark *){color:var(--color-neutral-200)}.dark\:text-neutral-300:where(.dark,.dark *){color:var(--color-neutral-300)}.dark\:text-neutral-400:where(.dark,.dark *){color:var(--color-neutral-400)}.dark\:text-neutral-500:where(.dark,.dark *){color:var(--color-neutral-500)}.dark\:text-neutral-600:where(.dark,.dark *){color:var(--color-neutral-600)}.dark\:text-neutral-600\!:where(.dark,.dark *){color:var(--color-neutral-600)!important}.dark\:text-neutral-900:where(.dark,.dark *){color:var(--color-neutral-900)}.dark\:text-orange-200:where(.dark,.dark *){color:var(--color-orange-200)}.dark\:text-orange-400:where(.dark,.dark *){color:var(--color-orange-400)}.dark\:text-pink-200:where(.dark,.dark *){color:var(--color-pink-200)}.dark\:text-pink-400:where(.dark,.dark *){color:var(--color-pink-400)}.dark\:text-purple-200:where(.dark,.dark *){color:var(--color-purple-200)}.dark\:text-purple-400:where(.dark,.dark *){color:var(--color-purple-400)}.dark\:text-red-200:where(.dark,.dark *){color:var(--color-red-200)}.dark\:text-red-400:where(.dark,.dark *){color:var(--color-red-400)}.dark\:text-rose-100:where(.dark,.dark *){color:var(--color-rose-100)}.dark\:text-rose-200:where(.dark,.dark *){color:var(--color-rose-200)}.dark\:text-rose-400:where(.dark,.dark *){color:var(--color-rose-400)}.dark\:text-sky-200:where(.dark,.dark *){color:var(--color-sky-200)}.dark\:text-sky-400:where(.dark,.dark *){color:var(--color-sky-400)}.dark\:text-stone-100:where(.dark,.dark *){color:var(--color-stone-100)}.dark\:text-stone-400:where(.dark,.dark *){color:var(--color-stone-400)}.dark\:text-teal-200:where(.dark,.dark *){color:var(--color-teal-200)}.dark\:text-teal-400:where(.dark,.dark *){color:var(--color-teal-400)}.dark\:text-violet-200:where(.dark,.dark *){color:var(--color-violet-200)}.dark\:text-violet-400:where(.dark,.dark *){color:var(--color-violet-400)}.dark\:text-white:where(.dark,.dark *){color:var(--color-white)}.dark\:text-white\!:where(.dark,.dark *){color:var(--color-white)!important}.dark\:text-white\/40:where(.dark,.dark *){color:#fff6}@supports (color:color-mix(in lab, red, red)){.dark\:text-white\/40:where(.dark,.dark *){color:color-mix(in oklab, var(--color-white) 40%, transparent)}}.dark\:text-white\/60:where(.dark,.dark *){color:#fff9}@supports (color:color-mix(in lab, red, red)){.dark\:text-white\/60:where(.dark,.dark *){color:color-mix(in oklab, var(--color-white) 60%, transparent)}}.dark\:text-white\/70:where(.dark,.dark *){color:#ffffffb3}@supports (color:color-mix(in lab, red, red)){.dark\:text-white\/70:where(.dark,.dark *){color:color-mix(in oklab, var(--color-white) 70%, transparent)}}.dark\:text-white\/80:where(.dark,.dark *){color:#fffc}@supports (color:color-mix(in lab, red, red)){.dark\:text-white\/80:where(.dark,.dark *){color:color-mix(in oklab, var(--color-white) 80%, transparent)}}.dark\:text-yellow-200:where(.dark,.dark *){color:var(--color-yellow-200)}.dark\:text-yellow-500:where(.dark,.dark *){color:var(--color-yellow-500)}.dark\:text-zinc-200:where(.dark,.dark *){color:var(--color-zinc-200)}.dark\:text-zinc-300:where(.dark,.dark *){color:var(--color-zinc-300)}.dark\:text-zinc-400:where(.dark,.dark *){color:var(--color-zinc-400)}.dark\:text-zinc-500:where(.dark,.dark *){color:var(--color-zinc-500)}.dark\:text-zinc-500\!:where(.dark,.dark *){color:var(--color-zinc-500)!important}.dark\:text-zinc-800:where(.dark,.dark *){color:var(--color-zinc-800)}.dark\:text-zinc-950:where(.dark,.dark *){color:var(--color-zinc-950)}.dark\:decoration-white\/20:where(.dark,.dark *){text-decoration-color:#fff3}@supports (color:color-mix(in lab, red, red)){.dark\:decoration-white\/20:where(.dark,.dark *){-webkit-text-decoration-color:color-mix(in oklab, var(--color-white) 20%, transparent);-webkit-text-decoration-color:color-mix(in oklab, var(--color-white) 20%, transparent);-webkit-text-decoration-color:color-mix(in oklab, var(--color-white) 20%, transparent);text-decoration-color:color-mix(in oklab, var(--color-white) 20%, transparent)}}.dark\:placeholder-white\/60:where(.dark,.dark *)::placeholder{color:#fff9}@supports (color:color-mix(in lab, red, red)){.dark\:placeholder-white\/60:where(.dark,.dark *)::placeholder{color:color-mix(in oklab, var(--color-white) 60%, transparent)}}.dark\:placeholder-zinc-400:where(.dark,.dark *)::placeholder{color:var(--color-zinc-400)}.dark\:mix-blend-hard-light:where(.dark,.dark *){mix-blend-mode:hard-light}.dark\:mix-blend-normal:where(.dark,.dark *){mix-blend-mode:normal}.dark\:shadow-\[inset_0px_0px_0px_1px_\#fffaed2d\]:where(.dark,.dark *){--tw-shadow:inset 0px 0px 0px 1px var(--tw-shadow-color,#fffaed2d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.dark\:shadow-none:where(.dark,.dark *){--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.dark\:ring-zinc-700:where(.dark,.dark *){--tw-ring-color:var(--color-zinc-700)}.dark\:ring-zinc-900:where(.dark,.dark *){--tw-ring-color:var(--color-zinc-900)}.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-amber-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:#fcbb001a}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-amber-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:color-mix(in oklab,var(--color-amber-400),transparent 90%)}}.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-blue-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:#54a2ff1a}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-blue-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:color-mix(in oklab,var(--color-blue-400),transparent 90%)}}.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-cyan-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:#00d2ef1a}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-cyan-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:color-mix(in oklab,var(--color-cyan-400),transparent 90%)}}.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-emerald-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:#00d2941a}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-emerald-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:color-mix(in oklab,var(--color-emerald-400),transparent 90%)}}.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-fuchsia-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:#ec6cff1a}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-fuchsia-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:color-mix(in oklab,var(--color-fuchsia-400),transparent 90%)}}.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-green-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:#05df721a}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-green-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:color-mix(in oklab,var(--color-green-400),transparent 90%)}}.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-indigo-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:#7d87ff1a}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-indigo-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:color-mix(in oklab,var(--color-indigo-400),transparent 90%)}}.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-lime-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:#9de5001a}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-lime-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:color-mix(in oklab,var(--color-lime-400),transparent 90%)}}.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-orange-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:#ff8b1a1a}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-orange-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:color-mix(in oklab,var(--color-orange-400),transparent 90%)}}.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-pink-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:#fb64b61a}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-pink-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:color-mix(in oklab,var(--color-pink-400),transparent 90%)}}.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-purple-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:#c07eff1a}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-purple-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:color-mix(in oklab,var(--color-purple-400),transparent 90%)}}.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-red-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:#ff65681a}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-red-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:color-mix(in oklab,var(--color-red-400),transparent 90%)}}.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-rose-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:#ff667f1a}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-rose-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:color-mix(in oklab,var(--color-rose-400),transparent 90%)}}.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-sky-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:#00bcfe1a}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-sky-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:color-mix(in oklab,var(--color-sky-400),transparent 90%)}}.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-teal-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:#00d3bd1a}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-teal-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:color-mix(in oklab,var(--color-teal-400),transparent 90%)}}.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-violet-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:#a685ff1a}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-violet-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:color-mix(in oklab,var(--color-violet-400),transparent 90%)}}.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-yellow-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:#fac8001a}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-yellow-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:color-mix(in oklab,var(--color-yellow-400),transparent 90%)}}.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-zinc-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:#a3a3a31a}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-background\:color-mix\(in_oklab\,var\(--color-zinc-400\)\,transparent_90\%\)\]:where(.dark,.dark *){--callout-background:color-mix(in oklab,var(--color-zinc-400),transparent 90%)}}.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-amber-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:#fcbb0080}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-amber-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:color-mix(in oklab,var(--color-amber-400),transparent 50%)}}.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-blue-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:#54a2ff80}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-blue-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:color-mix(in oklab,var(--color-blue-400),transparent 50%)}}.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-cyan-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:#00d2ef80}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-cyan-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:color-mix(in oklab,var(--color-cyan-400),transparent 50%)}}.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-emerald-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:#00d29480}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-emerald-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:color-mix(in oklab,var(--color-emerald-400),transparent 50%)}}.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-fuchsia-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:#ec6cff80}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-fuchsia-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:color-mix(in oklab,var(--color-fuchsia-400),transparent 50%)}}.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-green-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:#05df7280}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-green-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:color-mix(in oklab,var(--color-green-400),transparent 50%)}}.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-indigo-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:#7d87ff80}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-indigo-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:color-mix(in oklab,var(--color-indigo-400),transparent 50%)}}.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-lime-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:#9de50080}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-lime-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:color-mix(in oklab,var(--color-lime-400),transparent 50%)}}.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-orange-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:#ff8b1a80}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-orange-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:color-mix(in oklab,var(--color-orange-400),transparent 50%)}}.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-pink-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:#fb64b680}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-pink-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:color-mix(in oklab,var(--color-pink-400),transparent 50%)}}.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-purple-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:#c07eff80}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-purple-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:color-mix(in oklab,var(--color-purple-400),transparent 50%)}}.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-red-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:#ff656880}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-red-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:color-mix(in oklab,var(--color-red-400),transparent 50%)}}.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-rose-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:#ff667f80}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-rose-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:color-mix(in oklab,var(--color-rose-400),transparent 50%)}}.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-sky-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:#00bcfe80}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-sky-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:color-mix(in oklab,var(--color-sky-400),transparent 50%)}}.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-teal-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:#00d3bd80}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-teal-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:color-mix(in oklab,var(--color-teal-400),transparent 50%)}}.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-violet-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:#a685ff80}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-violet-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:color-mix(in oklab,var(--color-violet-400),transparent 50%)}}.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-white\)\,transparent_95\%\)\]:where(.dark,.dark *){--callout-border:#ffffff0d}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-white\)\,transparent_95\%\)\]:where(.dark,.dark *){--callout-border:color-mix(in oklab,var(--color-white),transparent 95%)}}.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-yellow-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:#fac80080}@supports (color:color-mix(in lab, red, red)){.dark\:\[--callout-border\:color-mix\(in_oklab\,var\(--color-yellow-400\)\,transparent_50\%\)\]:where(.dark,.dark *){--callout-border:color-mix(in oklab,var(--color-yellow-400),transparent 50%)}}.dark\:\[--callout-heading\:var\(--color-amber-200\)\]:where(.dark,.dark *){--callout-heading:var(--color-amber-200)}.dark\:\[--callout-heading\:var\(--color-blue-200\)\]:where(.dark,.dark *){--callout-heading:var(--color-blue-200)}.dark\:\[--callout-heading\:var\(--color-cyan-200\)\]:where(.dark,.dark *){--callout-heading:var(--color-cyan-200)}.dark\:\[--callout-heading\:var\(--color-emerald-200\)\]:where(.dark,.dark *){--callout-heading:var(--color-emerald-200)}.dark\:\[--callout-heading\:var\(--color-fuchsia-200\)\]:where(.dark,.dark *){--callout-heading:var(--color-fuchsia-200)}.dark\:\[--callout-heading\:var\(--color-green-200\)\]:where(.dark,.dark *){--callout-heading:var(--color-green-200)}.dark\:\[--callout-heading\:var\(--color-indigo-200\)\]:where(.dark,.dark *){--callout-heading:var(--color-indigo-200)}.dark\:\[--callout-heading\:var\(--color-lime-200\)\]:where(.dark,.dark *){--callout-heading:var(--color-lime-200)}.dark\:\[--callout-heading\:var\(--color-orange-200\)\]:where(.dark,.dark *){--callout-heading:var(--color-orange-200)}.dark\:\[--callout-heading\:var\(--color-pink-200\)\]:where(.dark,.dark *){--callout-heading:var(--color-pink-200)}.dark\:\[--callout-heading\:var\(--color-purple-200\)\]:where(.dark,.dark *){--callout-heading:var(--color-purple-200)}.dark\:\[--callout-heading\:var\(--color-red-200\)\]:where(.dark,.dark *){--callout-heading:var(--color-red-200)}.dark\:\[--callout-heading\:var\(--color-rose-200\)\]:where(.dark,.dark *){--callout-heading:var(--color-rose-200)}.dark\:\[--callout-heading\:var\(--color-sky-200\)\]:where(.dark,.dark *){--callout-heading:var(--color-sky-200)}.dark\:\[--callout-heading\:var\(--color-teal-200\)\]:where(.dark,.dark *){--callout-heading:var(--color-teal-200)}.dark\:\[--callout-heading\:var\(--color-violet-200\)\]:where(.dark,.dark *){--callout-heading:var(--color-violet-200)}.dark\:\[--callout-heading\:var\(--color-yellow-200\)\]:where(.dark,.dark *){--callout-heading:var(--color-yellow-200)}.dark\:\[--callout-heading\:var\(--color-zinc-200\)\]:where(.dark,.dark *){--callout-heading:var(--color-zinc-200)}.dark\:\[--callout-icon\:var\(--color-amber-400\)\]:where(.dark,.dark *){--callout-icon:var(--color-amber-400)}.dark\:\[--callout-icon\:var\(--color-blue-400\)\]:where(.dark,.dark *){--callout-icon:var(--color-blue-400)}.dark\:\[--callout-icon\:var\(--color-cyan-400\)\]:where(.dark,.dark *){--callout-icon:var(--color-cyan-400)}.dark\:\[--callout-icon\:var\(--color-emerald-400\)\]:where(.dark,.dark *){--callout-icon:var(--color-emerald-400)}.dark\:\[--callout-icon\:var\(--color-fuchsia-400\)\]:where(.dark,.dark *){--callout-icon:var(--color-fuchsia-400)}.dark\:\[--callout-icon\:var\(--color-green-400\)\]:where(.dark,.dark *){--callout-icon:var(--color-green-400)}.dark\:\[--callout-icon\:var\(--color-indigo-400\)\]:where(.dark,.dark *){--callout-icon:var(--color-indigo-400)}.dark\:\[--callout-icon\:var\(--color-lime-400\)\]:where(.dark,.dark *){--callout-icon:var(--color-lime-400)}.dark\:\[--callout-icon\:var\(--color-orange-400\)\]:where(.dark,.dark *){--callout-icon:var(--color-orange-400)}.dark\:\[--callout-icon\:var\(--color-pink-400\)\]:where(.dark,.dark *){--callout-icon:var(--color-pink-400)}.dark\:\[--callout-icon\:var\(--color-purple-400\)\]:where(.dark,.dark *){--callout-icon:var(--color-purple-400)}.dark\:\[--callout-icon\:var\(--color-red-400\)\]:where(.dark,.dark *){--callout-icon:var(--color-red-400)}.dark\:\[--callout-icon\:var\(--color-rose-400\)\]:where(.dark,.dark *){--callout-icon:var(--color-rose-400)}.dark\:\[--callout-icon\:var\(--color-sky-400\)\]:where(.dark,.dark *){--callout-icon:var(--color-sky-400)}.dark\:\[--callout-icon\:var\(--color-teal-400\)\]:where(.dark,.dark *){--callout-icon:var(--color-teal-400)}.dark\:\[--callout-icon\:var\(--color-violet-400\)\]:where(.dark,.dark *){--callout-icon:var(--color-violet-400)}.dark\:\[--callout-icon\:var\(--color-yellow-400\)\]:where(.dark,.dark *){--callout-icon:var(--color-yellow-400)}.dark\:\[--callout-icon\:var\(--color-zinc-400\)\]:where(.dark,.dark *){--callout-icon:var(--color-zinc-400)}.dark\:\[--callout-text\:var\(--color-amber-300\)\]:where(.dark,.dark *){--callout-text:var(--color-amber-300)}.dark\:\[--callout-text\:var\(--color-blue-300\)\]:where(.dark,.dark *){--callout-text:var(--color-blue-300)}.dark\:\[--callout-text\:var\(--color-cyan-300\)\]:where(.dark,.dark *){--callout-text:var(--color-cyan-300)}.dark\:\[--callout-text\:var\(--color-emerald-300\)\]:where(.dark,.dark *){--callout-text:var(--color-emerald-300)}.dark\:\[--callout-text\:var\(--color-fuchsia-300\)\]:where(.dark,.dark *){--callout-text:var(--color-fuchsia-300)}.dark\:\[--callout-text\:var\(--color-green-300\)\]:where(.dark,.dark *){--callout-text:var(--color-green-300)}.dark\:\[--callout-text\:var\(--color-indigo-300\)\]:where(.dark,.dark *){--callout-text:var(--color-indigo-300)}.dark\:\[--callout-text\:var\(--color-lime-300\)\]:where(.dark,.dark *){--callout-text:var(--color-lime-300)}.dark\:\[--callout-text\:var\(--color-orange-300\)\]:where(.dark,.dark *){--callout-text:var(--color-orange-300)}.dark\:\[--callout-text\:var\(--color-pink-300\)\]:where(.dark,.dark *){--callout-text:var(--color-pink-300)}.dark\:\[--callout-text\:var\(--color-purple-300\)\]:where(.dark,.dark *){--callout-text:var(--color-purple-300)}.dark\:\[--callout-text\:var\(--color-red-300\)\]:where(.dark,.dark *){--callout-text:var(--color-red-300)}.dark\:\[--callout-text\:var\(--color-rose-300\)\]:where(.dark,.dark *){--callout-text:var(--color-rose-300)}.dark\:\[--callout-text\:var\(--color-sky-300\)\]:where(.dark,.dark *){--callout-text:var(--color-sky-300)}.dark\:\[--callout-text\:var\(--color-teal-300\)\]:where(.dark,.dark *){--callout-text:var(--color-teal-300)}.dark\:\[--callout-text\:var\(--color-violet-300\)\]:where(.dark,.dark *){--callout-text:var(--color-violet-300)}.dark\:\[--callout-text\:var\(--color-yellow-300\)\]:where(.dark,.dark *){--callout-text:var(--color-yellow-300)}.dark\:\[--callout-text\:var\(--color-zinc-300\)\]:where(.dark,.dark *){--callout-text:var(--color-zinc-300)}.dark\:\[--color-accent-content\:var\(--color-amber-400\)\]:where(.dark,.dark *){--color-accent-content:var(--color-amber-400)}.dark\:\[--color-accent-content\:var\(--color-blue-400\)\]:where(.dark,.dark *){--color-accent-content:var(--color-blue-400)}.dark\:\[--color-accent-content\:var\(--color-cyan-400\)\]:where(.dark,.dark *){--color-accent-content:var(--color-cyan-400)}.dark\:\[--color-accent-content\:var\(--color-emerald-400\)\]:where(.dark,.dark *){--color-accent-content:var(--color-emerald-400)}.dark\:\[--color-accent-content\:var\(--color-fuchsia-400\)\]:where(.dark,.dark *){--color-accent-content:var(--color-fuchsia-400)}.dark\:\[--color-accent-content\:var\(--color-green-400\)\]:where(.dark,.dark *){--color-accent-content:var(--color-green-400)}.dark\:\[--color-accent-content\:var\(--color-indigo-300\)\]:where(.dark,.dark *){--color-accent-content:var(--color-indigo-300)}.dark\:\[--color-accent-content\:var\(--color-lime-400\)\]:where(.dark,.dark *){--color-accent-content:var(--color-lime-400)}.dark\:\[--color-accent-content\:var\(--color-orange-400\)\]:where(.dark,.dark *){--color-accent-content:var(--color-orange-400)}.dark\:\[--color-accent-content\:var\(--color-pink-400\)\]:where(.dark,.dark *){--color-accent-content:var(--color-pink-400)}.dark\:\[--color-accent-content\:var\(--color-purple-300\)\]:where(.dark,.dark *){--color-accent-content:var(--color-purple-300)}.dark\:\[--color-accent-content\:var\(--color-red-400\)\]:where(.dark,.dark *){--color-accent-content:var(--color-red-400)}.dark\:\[--color-accent-content\:var\(--color-rose-400\)\]:where(.dark,.dark *){--color-accent-content:var(--color-rose-400)}.dark\:\[--color-accent-content\:var\(--color-sky-400\)\]:where(.dark,.dark *){--color-accent-content:var(--color-sky-400)}.dark\:\[--color-accent-content\:var\(--color-teal-400\)\]:where(.dark,.dark *){--color-accent-content:var(--color-teal-400)}.dark\:\[--color-accent-content\:var\(--color-violet-400\)\]:where(.dark,.dark *){--color-accent-content:var(--color-violet-400)}.dark\:\[--color-accent-content\:var\(--color-white\)\]:where(.dark,.dark *){--color-accent-content:var(--color-white)}.dark\:\[--color-accent-content\:var\(--color-yellow-400\)\]:where(.dark,.dark *){--color-accent-content:var(--color-yellow-400)}.dark\:\[--color-accent-foreground\:var\(--color-amber-950\)\]:where(.dark,.dark *){--color-accent-foreground:var(--color-amber-950)}.dark\:\[--color-accent-foreground\:var\(--color-gray-800\)\]:where(.dark,.dark *){--color-accent-foreground:var(--color-gray-800)}.dark\:\[--color-accent-foreground\:var\(--color-lime-950\)\]:where(.dark,.dark *){--color-accent-foreground:var(--color-lime-950)}.dark\:\[--color-accent-foreground\:var\(--color-mauve-800\)\]:where(.dark,.dark *){--color-accent-foreground:var(--color-mauve-800)}.dark\:\[--color-accent-foreground\:var\(--color-mist-800\)\]:where(.dark,.dark *){--color-accent-foreground:var(--color-mist-800)}.dark\:\[--color-accent-foreground\:var\(--color-neutral-800\)\]:where(.dark,.dark *){--color-accent-foreground:var(--color-neutral-800)}.dark\:\[--color-accent-foreground\:var\(--color-olive-800\)\]:where(.dark,.dark *){--color-accent-foreground:var(--color-olive-800)}.dark\:\[--color-accent-foreground\:var\(--color-orange-950\)\]:where(.dark,.dark *){--color-accent-foreground:var(--color-orange-950)}.dark\:\[--color-accent-foreground\:var\(--color-slate-800\)\]:where(.dark,.dark *){--color-accent-foreground:var(--color-slate-800)}.dark\:\[--color-accent-foreground\:var\(--color-stone-800\)\]:where(.dark,.dark *){--color-accent-foreground:var(--color-stone-800)}.dark\:\[--color-accent-foreground\:var\(--color-taupe-800\)\]:where(.dark,.dark *){--color-accent-foreground:var(--color-taupe-800)}.dark\:\[--color-accent-foreground\:var\(--color-white\)\]:where(.dark,.dark *){--color-accent-foreground:var(--color-white)}.dark\:\[--color-accent-foreground\:var\(--color-yellow-950\)\]:where(.dark,.dark *){--color-accent-foreground:var(--color-yellow-950)}.dark\:\[--color-accent-foreground\:var\(--color-zinc-800\)\]:where(.dark,.dark *){--color-accent-foreground:var(--color-zinc-800)}.dark\:\[--color-accent\:var\(--color-amber-400\)\]:where(.dark,.dark *){--color-accent:var(--color-amber-400)}.dark\:\[--color-accent\:var\(--color-blue-500\)\]:where(.dark,.dark *){--color-accent:var(--color-blue-500)}.dark\:\[--color-accent\:var\(--color-cyan-600\)\]:where(.dark,.dark *){--color-accent:var(--color-cyan-600)}.dark\:\[--color-accent\:var\(--color-emerald-600\)\]:where(.dark,.dark *){--color-accent:var(--color-emerald-600)}.dark\:\[--color-accent\:var\(--color-fuchsia-600\)\]:where(.dark,.dark *){--color-accent:var(--color-fuchsia-600)}.dark\:\[--color-accent\:var\(--color-green-600\)\]:where(.dark,.dark *){--color-accent:var(--color-green-600)}.dark\:\[--color-accent\:var\(--color-indigo-500\)\]:where(.dark,.dark *){--color-accent:var(--color-indigo-500)}.dark\:\[--color-accent\:var\(--color-lime-400\)\]:where(.dark,.dark *){--color-accent:var(--color-lime-400)}.dark\:\[--color-accent\:var\(--color-orange-400\)\]:where(.dark,.dark *){--color-accent:var(--color-orange-400)}.dark\:\[--color-accent\:var\(--color-pink-600\)\]:where(.dark,.dark *){--color-accent:var(--color-pink-600)}.dark\:\[--color-accent\:var\(--color-purple-500\)\]:where(.dark,.dark *){--color-accent:var(--color-purple-500)}.dark\:\[--color-accent\:var\(--color-red-500\)\]:where(.dark,.dark *){--color-accent:var(--color-red-500)}.dark\:\[--color-accent\:var\(--color-rose-500\)\]:where(.dark,.dark *){--color-accent:var(--color-rose-500)}.dark\:\[--color-accent\:var\(--color-sky-600\)\]:where(.dark,.dark *){--color-accent:var(--color-sky-600)}.dark\:\[--color-accent\:var\(--color-teal-600\)\]:where(.dark,.dark *){--color-accent:var(--color-teal-600)}.dark\:\[--color-accent\:var\(--color-violet-500\)\]:where(.dark,.dark *){--color-accent:var(--color-violet-500)}.dark\:\[--color-accent\:var\(--color-white\)\]:where(.dark,.dark *){--color-accent:var(--color-white)}.dark\:\[--color-accent\:var\(--color-yellow-400\)\]:where(.dark,.dark *){--color-accent:var(--color-yellow-400)}.dark\:\[--flux-progress-color\:var\(--color-amber-400\)\]:where(.dark,.dark *){--flux-progress-color:var(--color-amber-400)}.dark\:\[--flux-progress-color\:var\(--color-blue-400\)\]:where(.dark,.dark *){--flux-progress-color:var(--color-blue-400)}.dark\:\[--flux-progress-color\:var\(--color-cyan-400\)\]:where(.dark,.dark *){--flux-progress-color:var(--color-cyan-400)}.dark\:\[--flux-progress-color\:var\(--color-emerald-400\)\]:where(.dark,.dark *){--flux-progress-color:var(--color-emerald-400)}.dark\:\[--flux-progress-color\:var\(--color-fuchsia-400\)\]:where(.dark,.dark *){--flux-progress-color:var(--color-fuchsia-400)}.dark\:\[--flux-progress-color\:var\(--color-green-400\)\]:where(.dark,.dark *){--flux-progress-color:var(--color-green-400)}.dark\:\[--flux-progress-color\:var\(--color-indigo-400\)\]:where(.dark,.dark *){--flux-progress-color:var(--color-indigo-400)}.dark\:\[--flux-progress-color\:var\(--color-lime-400\)\]:where(.dark,.dark *){--flux-progress-color:var(--color-lime-400)}.dark\:\[--flux-progress-color\:var\(--color-orange-400\)\]:where(.dark,.dark *){--flux-progress-color:var(--color-orange-400)}.dark\:\[--flux-progress-color\:var\(--color-pink-400\)\]:where(.dark,.dark *){--flux-progress-color:var(--color-pink-400)}.dark\:\[--flux-progress-color\:var\(--color-purple-400\)\]:where(.dark,.dark *){--flux-progress-color:var(--color-purple-400)}.dark\:\[--flux-progress-color\:var\(--color-red-400\)\]:where(.dark,.dark *){--flux-progress-color:var(--color-red-400)}.dark\:\[--flux-progress-color\:var\(--color-rose-400\)\]:where(.dark,.dark *){--flux-progress-color:var(--color-rose-400)}.dark\:\[--flux-progress-color\:var\(--color-sky-400\)\]:where(.dark,.dark *){--flux-progress-color:var(--color-sky-400)}.dark\:\[--flux-progress-color\:var\(--color-teal-400\)\]:where(.dark,.dark *){--flux-progress-color:var(--color-teal-400)}.dark\:\[--flux-progress-color\:var\(--color-violet-400\)\]:where(.dark,.dark *){--flux-progress-color:var(--color-violet-400)}.dark\:\[--flux-progress-color\:var\(--color-yellow-400\)\]:where(.dark,.dark *){--flux-progress-color:var(--color-yellow-400)}.dark\:\[--haze\:color-mix\(in_oklab\,_var\(--color-accent-content\)\,_transparent_90\%\)\]:where(.dark,.dark *){--haze:#2626261a}@supports (color:color-mix(in lab, red, red)){.dark\:\[--haze\:color-mix\(in_oklab\,_var\(--color-accent-content\)\,_transparent_90\%\)\]:where(.dark,.dark *){--haze:color-mix(in oklab, var(--color-accent-content), transparent 90%)}}.dark\:\[--stroke-color\:\#FF750F\]:where(.dark,.dark *){--stroke-color:#ff750f}:is(.\*\*\:dark\:ring-zinc-900 *):where(.dark,.dark *){--tw-ring-color:var(--color-zinc-900)}@media (hover:hover){.dark\:group-hover\:text-white:where(.dark,.dark *):is(:where(.group):hover *){color:var(--color-white)}.group-hover\:dark\:text-emerald-500:is(:where(.group):hover *):where(.dark,.dark *),.group-hover\/exception\:dark\:text-emerald-500:is(:where(.group\/exception):hover *):where(.dark,.dark *){color:var(--color-emerald-500)}.dark\:group-hover\/sortable\:text-white:where(.dark,.dark *):is(:where(.group\/sortable):hover *){color:var(--color-white)}}.dark\:group-data-checked\:translate-x-\[0\.9375rem\]:where(.dark,.dark *):is(:where(.group)[data-checked] *){--tw-translate-x:.9375rem;translate:var(--tw-translate-x) var(--tw-translate-y)}.dark\:before\:border-\[\#3E3E3A\]:where(.dark,.dark *):before{content:var(--tw-content);border-color:#3e3e3a}.dark\:before\:via-\[var\(--flux-shimmer-color\)\]\/50:where(.dark,.dark *):before{content:var(--tw-content);--tw-gradient-via:var(--flux-shimmer-color)}@supports (color:color-mix(in lab, red, red)){.dark\:before\:via-\[var\(--flux-shimmer-color\)\]\/50:where(.dark,.dark *):before{--tw-gradient-via:color-mix(in oklab, var(--flux-shimmer-color) 50%, transparent)}}.dark\:before\:via-\[var\(--flux-shimmer-color\)\]\/50:where(.dark,.dark *):before{--tw-gradient-via-stops:var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.dark\:after\:bg-zinc-900:where(.dark,.dark *):after{content:var(--tw-content);background-color:var(--color-zinc-900)}.dark\:after\:inset-ring-white\/10:where(.dark,.dark *):after{content:var(--tw-content);--tw-inset-ring-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.dark\:after\:inset-ring-white\/10:where(.dark,.dark *):after{--tw-inset-ring-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.odd\:dark\:bg-white\/4:nth-child(odd):where(.dark,.dark *){background-color:#ffffff0a}@supports (color:color-mix(in lab, red, red)){.odd\:dark\:bg-white\/4:nth-child(odd):where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-white) 4%, transparent)}}.even\:dark\:bg-white\/2:nth-child(2n):where(.dark,.dark *){background-color:#ffffff05}@supports (color:color-mix(in lab, red, red)){.even\:dark\:bg-white\/2:nth-child(2n):where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-white) 2%, transparent)}}@media (hover:hover){.dark\:hover\:border-none:where(.dark,.dark *):hover{--tw-border-style:none;border-style:none}.dark\:hover\:border-\[\#3E3E3A\]:where(.dark,.dark *):hover{border-color:#3e3e3a}.dark\:hover\:border-\[\#62605b\]:where(.dark,.dark *):hover{border-color:#62605b}.dark\:hover\:border-white:where(.dark,.dark *):hover{border-color:var(--color-white)}.dark\:hover\:border-white\/10:where(.dark,.dark *):hover{border-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.dark\:hover\:border-white\/10:where(.dark,.dark *):hover{border-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.dark\:hover\:border-zinc-500:where(.dark,.dark *):hover{border-color:var(--color-zinc-500)}.dark\:hover\:border-zinc-600:where(.dark,.dark *):hover{border-color:var(--color-zinc-600)}.dark\:hover\:bg-gray-900:where(.dark,.dark *):hover{background-color:var(--color-gray-900)}.dark\:hover\:bg-red-400\/20:where(.dark,.dark *):hover{background-color:#ff656833}@supports (color:color-mix(in lab, red, red)){.dark\:hover\:bg-red-400\/20:where(.dark,.dark *):hover{background-color:color-mix(in oklab, var(--color-red-400) 20%, transparent)}}.dark\:hover\:bg-red-500:where(.dark,.dark *):hover{background-color:var(--color-red-500)}.dark\:hover\:bg-red-950\/50:where(.dark,.dark *):hover{background-color:#46080980}@supports (color:color-mix(in lab, red, red)){.dark\:hover\:bg-red-950\/50:where(.dark,.dark *):hover{background-color:color-mix(in oklab, var(--color-red-950) 50%, transparent)}}.dark\:hover\:bg-white:where(.dark,.dark *):hover{background-color:var(--color-white)}.dark\:hover\:bg-white\/2:where(.dark,.dark *):hover{background-color:#ffffff05}@supports (color:color-mix(in lab, red, red)){.dark\:hover\:bg-white\/2:where(.dark,.dark *):hover{background-color:color-mix(in oklab, var(--color-white) 2%, transparent)}}.dark\:hover\:bg-white\/5:where(.dark,.dark *):hover{background-color:#ffffff0d}@supports (color:color-mix(in lab, red, red)){.dark\:hover\:bg-white\/5:where(.dark,.dark *):hover{background-color:color-mix(in oklab, var(--color-white) 5%, transparent)}}.dark\:hover\:bg-white\/10:where(.dark,.dark *):hover{background-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.dark\:hover\:bg-white\/10:where(.dark,.dark *):hover{background-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.dark\:hover\:bg-white\/15:where(.dark,.dark *):hover{background-color:#ffffff26}@supports (color:color-mix(in lab, red, red)){.dark\:hover\:bg-white\/15:where(.dark,.dark *):hover{background-color:color-mix(in oklab, var(--color-white) 15%, transparent)}}.dark\:hover\:bg-white\/20:where(.dark,.dark *):hover{background-color:#fff3}@supports (color:color-mix(in lab, red, red)){.dark\:hover\:bg-white\/20:where(.dark,.dark *):hover{background-color:color-mix(in oklab, var(--color-white) 20%, transparent)}}.dark\:hover\:bg-white\/\[7\%\]:where(.dark,.dark *):hover{background-color:#ffffff12}@supports (color:color-mix(in lab, red, red)){.dark\:hover\:bg-white\/\[7\%\]:where(.dark,.dark *):hover{background-color:color-mix(in oklab, var(--color-white) 7%, transparent)}}.dark\:hover\:bg-zinc-600:where(.dark,.dark *):hover{background-color:var(--color-zinc-600)}.dark\:hover\:bg-zinc-600\/75:where(.dark,.dark *):hover{background-color:#525252bf}@supports (color:color-mix(in lab, red, red)){.dark\:hover\:bg-zinc-600\/75:where(.dark,.dark *):hover{background-color:color-mix(in oklab, var(--color-zinc-600) 75%, transparent)}}.hover\:dark\:bg-white\/5:hover:where(.dark,.dark *){background-color:#ffffff0d}@supports (color:color-mix(in lab, red, red)){.hover\:dark\:bg-white\/5:hover:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-white) 5%, transparent)}}.dark\:hover\:text-emerald-500:where(.dark,.dark *):hover{color:var(--color-emerald-500)}.dark\:hover\:text-gray-200:where(.dark,.dark *):hover{color:var(--color-gray-200)}.dark\:hover\:text-gray-300:where(.dark,.dark *):hover{color:var(--color-gray-300)}.dark\:hover\:text-red-400:where(.dark,.dark *):hover{color:var(--color-red-400)}.dark\:hover\:text-white:where(.dark,.dark *):hover{color:var(--color-white)}.dark\:hover\:text-white\!:where(.dark,.dark *):hover{color:var(--color-white)!important}.hover\:dark\:text-white:hover:where(.dark,.dark *){color:var(--color-white)}.dark\:hover\:after\:bg-white\/\[4\%\]:where(.dark,.dark *):hover:after{content:var(--tw-content);background-color:#ffffff0a}@supports (color:color-mix(in lab, red, red)){.dark\:hover\:after\:bg-white\/\[4\%\]:where(.dark,.dark *):hover:after{background-color:color-mix(in oklab, var(--color-white) 4%, transparent)}}}.dark\:focus\:border-blue-700:where(.dark,.dark *):focus{border-color:var(--color-blue-700)}.dark\:focus\:border-blue-800:where(.dark,.dark *):focus{border-color:var(--color-blue-800)}.dark\:active\:bg-gray-700:where(.dark,.dark *):active{background-color:var(--color-gray-700)}.dark\:active\:text-gray-300:where(.dark,.dark *):active{color:var(--color-gray-300)}.dark\:disabled\:border-white\/5:where(.dark,.dark *):disabled{border-color:#ffffff0d}@supports (color:color-mix(in lab, red, red)){.dark\:disabled\:border-white\/5:where(.dark,.dark *):disabled{border-color:color-mix(in oklab, var(--color-white) 5%, transparent)}}.dark\:disabled\:bg-white\/\[7\%\]:where(.dark,.dark *):disabled{background-color:#ffffff12}@supports (color:color-mix(in lab, red, red)){.dark\:disabled\:bg-white\/\[7\%\]:where(.dark,.dark *):disabled{background-color:color-mix(in oklab, var(--color-white) 7%, transparent)}}.dark\:disabled\:text-zinc-400:where(.dark,.dark *):disabled{color:var(--color-zinc-400)}.dark\:disabled\:placeholder-white\/40:where(.dark,.dark *):disabled::placeholder{color:#fff6}@supports (color:color-mix(in lab, red, red)){.dark\:disabled\:placeholder-white\/40:where(.dark,.dark *):disabled::placeholder{color:color-mix(in oklab, var(--color-white) 40%, transparent)}}.dark\:disabled\:placeholder-zinc-500:where(.dark,.dark *):disabled::placeholder{color:var(--color-zinc-500)}.dark\:disabled\:opacity-75:where(.dark,.dark *):disabled{opacity:.75}.dark\:disabled\:shadow-none\!:where(.dark,.dark *):disabled{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)!important}:where([data-checked]) .dark\:in-data-checked\:text-white:where(.dark,.dark *),:where([data-flux-menu]) .in-data-flux-menu\:dark\:text-white:where(.dark,.dark *){color:var(--color-white)}:where([data-flux-menu]) .in-data-flux-menu\:dark\:text-white\/80:where(.dark,.dark *){color:#fffc}@supports (color:color-mix(in lab, red, red)){:where([data-flux-menu]) .in-data-flux-menu\:dark\:text-white\/80:where(.dark,.dark *){color:color-mix(in oklab, var(--color-white) 80%, transparent)}}@media (hover:hover){:where([data-flux-menu]) .dark\:in-data-flux-menu\:hover\:bg-zinc-600:where(.dark,.dark *):hover{background-color:var(--color-zinc-600)}}:where([data-flux-sidebar-group-dropdown]) .dark\:in-data-flux-sidebar-group-dropdown\:bg-transparent\!:where(.dark,.dark *){background-color:#0000!important}:where([data-flux-sidebar-group-dropdown]) .dark\:in-data-flux-sidebar-group-dropdown\:text-white\!:where(.dark,.dark *){color:var(--color-white)!important}:where([data-flux-sidebar-group-dropdown]) .dark\:in-data-flux-sidebar-group-dropdown\:text-white\/80\!:where(.dark,.dark *){color:#fffc!important}@supports (color:color-mix(in lab, red, red)){:where([data-flux-sidebar-group-dropdown]) .dark\:in-data-flux-sidebar-group-dropdown\:text-white\/80\!:where(.dark,.dark *){color:color-mix(in oklab, var(--color-white) 80%, transparent)!important}}@media (hover:hover){:where([data-flux-sidebar-group-dropdown]) .dark\:in-data-flux-sidebar-group-dropdown\:hover\:bg-zinc-600\!:where(.dark,.dark *):hover{background-color:var(--color-zinc-600)!important}}.dark\:has-\[option\.placeholder\:checked\]\:text-zinc-400:where(.dark,.dark *):has(:is(option.placeholder:checked)){color:var(--color-zinc-400)}.dark\:data-active\:bg-red-400\/20:where(.dark,.dark *)[data-active]{background-color:#ff656833}@supports (color:color-mix(in lab, red, red)){.dark\:data-active\:bg-red-400\/20:where(.dark,.dark *)[data-active]{background-color:color-mix(in oklab, var(--color-red-400) 20%, transparent)}}.dark\:data-active\:bg-zinc-600:where(.dark,.dark *)[data-active]{background-color:var(--color-zinc-600)}.dark\:data-active\:text-red-400:where(.dark,.dark *)[data-active]{color:var(--color-red-400)}:where([data-flux-sidebar-group-dropdown]) .dark\:in-data-flux-sidebar-group-dropdown\:data-active\:bg-zinc-600\!:where(.dark,.dark *)[data-active]{background-color:var(--color-zinc-600)!important}.dark\:data-checked\:border-white:where(.dark,.dark *)[data-checked]{border-color:var(--color-white)}.dark\:data-checked\:bg-white:where(.dark,.dark *)[data-checked]{background-color:var(--color-white)}.dark\:data-checked\:bg-white\/15:where(.dark,.dark *)[data-checked]{background-color:#ffffff26}@supports (color:color-mix(in lab, red, red)){.dark\:data-checked\:bg-white\/15:where(.dark,.dark *)[data-checked]{background-color:color-mix(in oklab, var(--color-white) 15%, transparent)}}.dark\:data-checked\:bg-white\/20:where(.dark,.dark *)[data-checked]{background-color:#fff3}@supports (color:color-mix(in lab, red, red)){.dark\:data-checked\:bg-white\/20:where(.dark,.dark *)[data-checked]{background-color:color-mix(in oklab, var(--color-white) 20%, transparent)}}.dark\:data-checked\:text-white:where(.dark,.dark *)[data-checked]{color:var(--color-white)}.dark\:data-checked\:text-zinc-800:where(.dark,.dark *)[data-checked]{color:var(--color-zinc-800)}.dark\:data-current\:border-transparent:where(.dark,.dark *)[data-current]{border-color:#0000}.dark\:data-current\:border-white\/10:where(.dark,.dark *)[data-current]{border-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.dark\:data-current\:border-white\/10:where(.dark,.dark *)[data-current]{border-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.dark\:data-current\:bg-white\/10:where(.dark,.dark *)[data-current]{background-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.dark\:data-current\:bg-white\/10:where(.dark,.dark *)[data-current]{background-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.dark\:data-current\:bg-white\/\[7\%\]:where(.dark,.dark *)[data-current]{background-color:#ffffff12}@supports (color:color-mix(in lab, red, red)){.dark\:data-current\:bg-white\/\[7\%\]:where(.dark,.dark *)[data-current]{background-color:color-mix(in oklab, var(--color-white) 7%, transparent)}}.dark\:data-current\:text-zinc-100:where(.dark,.dark *)[data-current]{color:var(--color-zinc-100)}.dark\:data-current\:after\:bg-white:where(.dark,.dark *)[data-current]:after{content:var(--tw-content);background-color:var(--color-white)}:is(.dark\:\*\*\:data-flux-menu-item-icon\:text-white\/60:where(.dark,.dark *) *)[data-flux-menu-item-icon]{color:#fff9}@supports (color:color-mix(in lab, red, red)){:is(.dark\:\*\*\:data-flux-menu-item-icon\:text-white\/60:where(.dark,.dark *) *)[data-flux-menu-item-icon]{color:color-mix(in oklab, var(--color-white) 60%, transparent)}}.dark\:data-invalid\:border-red-500:where(.dark,.dark *)[data-invalid],.dark\:disabled\:data-invalid\:border-red-500:where(.dark,.dark *):disabled[data-invalid]{border-color:var(--color-red-500)}:is(.dark\:\*\*\:data-navmenu-icon\:text-white\/60:where(.dark,.dark *) *)[data-navmenu-icon]{color:#fff9}@supports (color:color-mix(in lab, red, red)){:is(.dark\:\*\*\:data-navmenu-icon\:text-white\/60:where(.dark,.dark *) *)[data-navmenu-icon]{color:color-mix(in oklab, var(--color-white) 60%, transparent)}}.dark\:rtl\:-translate-x-\[0\.125rem\]:where(.dark,.dark *):where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){--tw-translate-x:calc(.125rem * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.dark\:rtl\:group-data-checked\:-translate-x-\[0\.9375rem\]:where(.dark,.dark *):where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *):is(:where(.group)[data-checked] *){--tw-translate-x:calc(.9375rem * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}@starting-style{.starting\:opacity-0{opacity:0}}@media (prefers-reduced-motion:no-preference){@starting-style{.motion-safe\:starting\:-translate-x-\[26px\]{--tw-translate-x:calc(26px * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.motion-safe\:starting\:-translate-x-\[51px\]{--tw-translate-x:calc(51px * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.motion-safe\:starting\:-translate-x-\[78px\]{--tw-translate-x:calc(78px * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.motion-safe\:starting\:-translate-x-\[102px\]{--tw-translate-x:calc(102px * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.motion-safe\:starting\:translate-y-6{--tw-translate-y:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}}}.\[\&_\[data-flux-input-group\]\]\:w-auto [data-flux-input-group]{width:auto}.\[\&_\[data-slot\=heading\]\]\:text-\(--callout-heading\) [data-slot=heading]{color:var(--callout-heading)}.\[\&_\[data-slot\=text\]\]\:text-\(--callout-text\) [data-slot=text]{color:var(--callout-text)}.\[\&_\[popover\]\]\:whitespace-normal [popover]{white-space:normal}.\[\&_button\]\:text-amber-700\! button{color:var(--color-amber-700)!important}.\[\&_button\]\:text-blue-800\! button{color:var(--color-blue-800)!important}.\[\&_button\]\:text-cyan-800\! button{color:var(--color-cyan-800)!important}.\[\&_button\]\:text-emerald-800\! button{color:var(--color-emerald-800)!important}.\[\&_button\]\:text-fuchsia-700\! button{color:var(--color-fuchsia-700)!important}.\[\&_button\]\:text-green-800\! button{color:var(--color-green-800)!important}.\[\&_button\]\:text-indigo-700\! button{color:var(--color-indigo-700)!important}.\[\&_button\]\:text-lime-800\! button{color:var(--color-lime-800)!important}.\[\&_button\]\:text-orange-700\! button{color:var(--color-orange-700)!important}.\[\&_button\]\:text-pink-700\! button{color:var(--color-pink-700)!important}.\[\&_button\]\:text-purple-700\! button{color:var(--color-purple-700)!important}.\[\&_button\]\:text-red-700\! button{color:var(--color-red-700)!important}.\[\&_button\]\:text-rose-700\! button{color:var(--color-rose-700)!important}.\[\&_button\]\:text-sky-800\! button{color:var(--color-sky-800)!important}.\[\&_button\]\:text-teal-800\! button{color:var(--color-teal-800)!important}.\[\&_button\]\:text-violet-700\! button{color:var(--color-violet-700)!important}.\[\&_button\]\:text-yellow-800\! button{color:var(--color-yellow-800)!important}.\[\&_button\]\:text-zinc-700\! button{color:var(--color-zinc-700)!important}.dark\:\[\&_button\]\:text-amber-200\!:where(.dark,.dark *) button{color:var(--color-amber-200)!important}.dark\:\[\&_button\]\:text-blue-200\!:where(.dark,.dark *) button{color:var(--color-blue-200)!important}.dark\:\[\&_button\]\:text-cyan-200\!:where(.dark,.dark *) button{color:var(--color-cyan-200)!important}.dark\:\[\&_button\]\:text-emerald-200\!:where(.dark,.dark *) button{color:var(--color-emerald-200)!important}.dark\:\[\&_button\]\:text-fuchsia-200\!:where(.dark,.dark *) button{color:var(--color-fuchsia-200)!important}.dark\:\[\&_button\]\:text-green-200\!:where(.dark,.dark *) button{color:var(--color-green-200)!important}.dark\:\[\&_button\]\:text-indigo-200\!:where(.dark,.dark *) button{color:var(--color-indigo-200)!important}.dark\:\[\&_button\]\:text-lime-200\!:where(.dark,.dark *) button{color:var(--color-lime-200)!important}.dark\:\[\&_button\]\:text-orange-200\!:where(.dark,.dark *) button{color:var(--color-orange-200)!important}.dark\:\[\&_button\]\:text-pink-200\!:where(.dark,.dark *) button{color:var(--color-pink-200)!important}.dark\:\[\&_button\]\:text-purple-200\!:where(.dark,.dark *) button{color:var(--color-purple-200)!important}.dark\:\[\&_button\]\:text-red-200\!:where(.dark,.dark *) button{color:var(--color-red-200)!important}.dark\:\[\&_button\]\:text-rose-200\!:where(.dark,.dark *) button{color:var(--color-rose-200)!important}.dark\:\[\&_button\]\:text-sky-200\!:where(.dark,.dark *) button{color:var(--color-sky-200)!important}.dark\:\[\&_button\]\:text-teal-200\!:where(.dark,.dark *) button{color:var(--color-teal-200)!important}.dark\:\[\&_button\]\:text-violet-200\!:where(.dark,.dark *) button{color:var(--color-violet-200)!important}.dark\:\[\&_button\]\:text-yellow-200\!:where(.dark,.dark *) button{color:var(--color-yellow-200)!important}.dark\:\[\&_button\]\:text-zinc-200\!:where(.dark,.dark *) button{color:var(--color-zinc-200)!important}.\[\&_dialog\]\:whitespace-normal dialog{white-space:normal}.dark\:\[\&_option\]\:bg-zinc-700:where(.dark,.dark *) option{background-color:var(--color-zinc-700)}.dark\:\[\&_option\]\:text-white:where(.dark,.dark *) option{color:var(--color-white)}.\[\&_svg\]\:size-2\.5 svg{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.\[\&_svg\]\:\!text-white svg{color:var(--color-white)!important}@media (hover:hover){.hover\:\[\&_svg\]\:stroke-emerald-500:hover svg{stroke:var(--color-emerald-500)}}.dark\:\[\&_svg\]\:\!text-white:where(.dark,.dark *) svg{color:var(--color-white)!important}.\[\&\+\&\>\[data-flux-menu-separator-top\]\]\:hidden+.\[\&\+\&\>\[data-flux-menu-separator-top\]\]\:hidden>[data-flux-menu-separator-top],.\[\&\:first-child\>\[data-flux-menu-separator-top\]\]\:hidden:first-child>[data-flux-menu-separator-top]{display:none}.\[\&\:has\(\+\[data-flux-subheading\]\)\]\:mb-2:has(+[data-flux-subheading]){margin-bottom:calc(var(--spacing) * 2)}.\[\&\:has\(\>\:not\(span\)\:first-child\)\]\:ps-3:has(>:not(span):first-child){padding-inline-start:calc(var(--spacing) * 3)}.\[\&\:has\(\>\:not\(span\)\:last-child\)\]\:pe-3:has(>:not(span):last-child){padding-inline-end:calc(var(--spacing) * 3)}:is(.\[\&\:has\(\>\[data-flux-checkbox-group\]\[disabled\]\)\>\[data-flux-label\]\]\:opacity-50:has(>[data-flux-checkbox-group][disabled])>[data-flux-label],.\[\&\:has\(\>\[data-flux-radio-group\]\[disabled\]\)\>\[data-flux-label\]\]\:opacity-50:has(>[data-flux-radio-group][disabled])>[data-flux-label]){opacity:.5}.\[\&\:has\(\[data-flux-label-trailing\]\)\]\:flex:has([data-flux-label-trailing]){display:flex}.\[\&\:hover_\[data-flux-checkbox-indicator\]\]\:border-\[var\(--haze-border\)\]:hover [data-flux-checkbox-indicator]{border-color:var(--haze-border)}.dark\:\[\&\:hover_\[data-flux-checkbox-indicator\]\]\:border-white\/10:where(.dark,.dark *):hover [data-flux-checkbox-indicator]{border-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.dark\:\[\&\:hover_\[data-flux-checkbox-indicator\]\]\:border-white\/10:where(.dark,.dark *):hover [data-flux-checkbox-indicator]{border-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.\[\&\:hover_\[data-flux-radio-indicator\]\]\:border-\[var\(--haze-border\)\]:hover [data-flux-radio-indicator]{border-color:var(--haze-border)}.dark\:\[\&\:hover_\[data-flux-radio-indicator\]\]\:border-white\/10:where(.dark,.dark *):hover [data-flux-radio-indicator]{border-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.dark\:\[\&\:hover_\[data-flux-radio-indicator\]\]\:border-white\/10:where(.dark,.dark *):hover [data-flux-radio-indicator]{border-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.\[\&\:hover_\[data-navmenu-icon\]\]\:text-current:hover [data-navmenu-icon]{color:currentColor}@media (hover:hover){.\[\&\:is\(button\)\]\:hover\:bg-amber-400\/40:is(button):hover{background-color:#fcbb0066}@supports (color:color-mix(in lab, red, red)){.\[\&\:is\(button\)\]\:hover\:bg-amber-400\/40:is(button):hover{background-color:color-mix(in oklab, var(--color-amber-400) 40%, transparent)}}.\[\&\:is\(button\)\]\:hover\:bg-amber-600:is(button):hover{background-color:var(--color-amber-600)}.\[\&\:is\(button\)\]\:hover\:bg-blue-400\/30:is(button):hover{background-color:#54a2ff4d}@supports (color:color-mix(in lab, red, red)){.\[\&\:is\(button\)\]\:hover\:bg-blue-400\/30:is(button):hover{background-color:color-mix(in oklab, var(--color-blue-400) 30%, transparent)}}.\[\&\:is\(button\)\]\:hover\:bg-blue-600:is(button):hover{background-color:var(--color-blue-600)}.\[\&\:is\(button\)\]\:hover\:bg-cyan-400\/30:is(button):hover{background-color:#00d2ef4d}@supports (color:color-mix(in lab, red, red)){.\[\&\:is\(button\)\]\:hover\:bg-cyan-400\/30:is(button):hover{background-color:color-mix(in oklab, var(--color-cyan-400) 30%, transparent)}}.\[\&\:is\(button\)\]\:hover\:bg-cyan-600:is(button):hover{background-color:var(--color-cyan-600)}.\[\&\:is\(button\)\]\:hover\:bg-emerald-400\/30:is(button):hover{background-color:#00d2944d}@supports (color:color-mix(in lab, red, red)){.\[\&\:is\(button\)\]\:hover\:bg-emerald-400\/30:is(button):hover{background-color:color-mix(in oklab, var(--color-emerald-400) 30%, transparent)}}.\[\&\:is\(button\)\]\:hover\:bg-emerald-600:is(button):hover{background-color:var(--color-emerald-600)}.\[\&\:is\(button\)\]\:hover\:bg-fuchsia-400\/30:is(button):hover{background-color:#ec6cff4d}@supports (color:color-mix(in lab, red, red)){.\[\&\:is\(button\)\]\:hover\:bg-fuchsia-400\/30:is(button):hover{background-color:color-mix(in oklab, var(--color-fuchsia-400) 30%, transparent)}}.\[\&\:is\(button\)\]\:hover\:bg-fuchsia-600:is(button):hover{background-color:var(--color-fuchsia-600)}.\[\&\:is\(button\)\]\:hover\:bg-green-400\/30:is(button):hover{background-color:#05df724d}@supports (color:color-mix(in lab, red, red)){.\[\&\:is\(button\)\]\:hover\:bg-green-400\/30:is(button):hover{background-color:color-mix(in oklab, var(--color-green-400) 30%, transparent)}}.\[\&\:is\(button\)\]\:hover\:bg-green-600:is(button):hover{background-color:var(--color-green-600)}.\[\&\:is\(button\)\]\:hover\:bg-indigo-400\/30:is(button):hover{background-color:#7d87ff4d}@supports (color:color-mix(in lab, red, red)){.\[\&\:is\(button\)\]\:hover\:bg-indigo-400\/30:is(button):hover{background-color:color-mix(in oklab, var(--color-indigo-400) 30%, transparent)}}.\[\&\:is\(button\)\]\:hover\:bg-indigo-600:is(button):hover{background-color:var(--color-indigo-600)}.\[\&\:is\(button\)\]\:hover\:bg-lime-400\/35:is(button):hover{background-color:#9de50059}@supports (color:color-mix(in lab, red, red)){.\[\&\:is\(button\)\]\:hover\:bg-lime-400\/35:is(button):hover{background-color:color-mix(in oklab, var(--color-lime-400) 35%, transparent)}}.\[\&\:is\(button\)\]\:hover\:bg-lime-600:is(button):hover{background-color:var(--color-lime-600)}.\[\&\:is\(button\)\]\:hover\:bg-orange-400\/30:is(button):hover{background-color:#ff8b1a4d}@supports (color:color-mix(in lab, red, red)){.\[\&\:is\(button\)\]\:hover\:bg-orange-400\/30:is(button):hover{background-color:color-mix(in oklab, var(--color-orange-400) 30%, transparent)}}.\[\&\:is\(button\)\]\:hover\:bg-orange-600:is(button):hover{background-color:var(--color-orange-600)}.\[\&\:is\(button\)\]\:hover\:bg-pink-400\/30:is(button):hover{background-color:#fb64b64d}@supports (color:color-mix(in lab, red, red)){.\[\&\:is\(button\)\]\:hover\:bg-pink-400\/30:is(button):hover{background-color:color-mix(in oklab, var(--color-pink-400) 30%, transparent)}}.\[\&\:is\(button\)\]\:hover\:bg-pink-600:is(button):hover{background-color:var(--color-pink-600)}.\[\&\:is\(button\)\]\:hover\:bg-purple-400\/30:is(button):hover{background-color:#c07eff4d}@supports (color:color-mix(in lab, red, red)){.\[\&\:is\(button\)\]\:hover\:bg-purple-400\/30:is(button):hover{background-color:color-mix(in oklab, var(--color-purple-400) 30%, transparent)}}.\[\&\:is\(button\)\]\:hover\:bg-purple-600:is(button):hover{background-color:var(--color-purple-600)}.\[\&\:is\(button\)\]\:hover\:bg-red-400\/30:is(button):hover{background-color:#ff65684d}@supports (color:color-mix(in lab, red, red)){.\[\&\:is\(button\)\]\:hover\:bg-red-400\/30:is(button):hover{background-color:color-mix(in oklab, var(--color-red-400) 30%, transparent)}}.\[\&\:is\(button\)\]\:hover\:bg-red-600:is(button):hover{background-color:var(--color-red-600)}.\[\&\:is\(button\)\]\:hover\:bg-rose-400\/30:is(button):hover{background-color:#ff667f4d}@supports (color:color-mix(in lab, red, red)){.\[\&\:is\(button\)\]\:hover\:bg-rose-400\/30:is(button):hover{background-color:color-mix(in oklab, var(--color-rose-400) 30%, transparent)}}.\[\&\:is\(button\)\]\:hover\:bg-rose-600:is(button):hover{background-color:var(--color-rose-600)}.\[\&\:is\(button\)\]\:hover\:bg-sky-400\/30:is(button):hover{background-color:#00bcfe4d}@supports (color:color-mix(in lab, red, red)){.\[\&\:is\(button\)\]\:hover\:bg-sky-400\/30:is(button):hover{background-color:color-mix(in oklab, var(--color-sky-400) 30%, transparent)}}.\[\&\:is\(button\)\]\:hover\:bg-sky-600:is(button):hover{background-color:var(--color-sky-600)}.\[\&\:is\(button\)\]\:hover\:bg-teal-400\/30:is(button):hover{background-color:#00d3bd4d}@supports (color:color-mix(in lab, red, red)){.\[\&\:is\(button\)\]\:hover\:bg-teal-400\/30:is(button):hover{background-color:color-mix(in oklab, var(--color-teal-400) 30%, transparent)}}.\[\&\:is\(button\)\]\:hover\:bg-teal-600:is(button):hover{background-color:var(--color-teal-600)}.\[\&\:is\(button\)\]\:hover\:bg-violet-400\/30:is(button):hover{background-color:#a685ff4d}@supports (color:color-mix(in lab, red, red)){.\[\&\:is\(button\)\]\:hover\:bg-violet-400\/30:is(button):hover{background-color:color-mix(in oklab, var(--color-violet-400) 30%, transparent)}}.\[\&\:is\(button\)\]\:hover\:bg-violet-600:is(button):hover{background-color:var(--color-violet-600)}.\[\&\:is\(button\)\]\:hover\:bg-yellow-400\/40:is(button):hover{background-color:#fac80066}@supports (color:color-mix(in lab, red, red)){.\[\&\:is\(button\)\]\:hover\:bg-yellow-400\/40:is(button):hover{background-color:color-mix(in oklab, var(--color-yellow-400) 40%, transparent)}}.\[\&\:is\(button\)\]\:hover\:bg-yellow-600:is(button):hover{background-color:var(--color-yellow-600)}.\[\&\:is\(button\)\]\:hover\:bg-zinc-400\/25:is(button):hover{background-color:#a3a3a340}@supports (color:color-mix(in lab, red, red)){.\[\&\:is\(button\)\]\:hover\:bg-zinc-400\/25:is(button):hover{background-color:color-mix(in oklab, var(--color-zinc-400) 25%, transparent)}}.\[\&\:is\(button\)\]\:hover\:bg-zinc-700:is(button):hover{background-color:var(--color-zinc-700)}.dark\:\[button\]\:hover\:bg-amber-400:where(.dark,.dark *):is(button):hover{background-color:var(--color-amber-400)}.dark\:\[button\]\:hover\:bg-amber-400\/50:where(.dark,.dark *):is(button):hover{background-color:#fcbb0080}@supports (color:color-mix(in lab, red, red)){.dark\:\[button\]\:hover\:bg-amber-400\/50:where(.dark,.dark *):is(button):hover{background-color:color-mix(in oklab, var(--color-amber-400) 50%, transparent)}}.dark\:\[button\]\:hover\:bg-blue-400\/50:where(.dark,.dark *):is(button):hover{background-color:#54a2ff80}@supports (color:color-mix(in lab, red, red)){.dark\:\[button\]\:hover\:bg-blue-400\/50:where(.dark,.dark *):is(button):hover{background-color:color-mix(in oklab, var(--color-blue-400) 50%, transparent)}}.dark\:\[button\]\:hover\:bg-blue-500:where(.dark,.dark *):is(button):hover{background-color:var(--color-blue-500)}.dark\:\[button\]\:hover\:bg-cyan-400\/50:where(.dark,.dark *):is(button):hover{background-color:#00d2ef80}@supports (color:color-mix(in lab, red, red)){.dark\:\[button\]\:hover\:bg-cyan-400\/50:where(.dark,.dark *):is(button):hover{background-color:color-mix(in oklab, var(--color-cyan-400) 50%, transparent)}}.dark\:\[button\]\:hover\:bg-cyan-500:where(.dark,.dark *):is(button):hover{background-color:var(--color-cyan-500)}.dark\:\[button\]\:hover\:bg-emerald-400\/50:where(.dark,.dark *):is(button):hover{background-color:#00d29480}@supports (color:color-mix(in lab, red, red)){.dark\:\[button\]\:hover\:bg-emerald-400\/50:where(.dark,.dark *):is(button):hover{background-color:color-mix(in oklab, var(--color-emerald-400) 50%, transparent)}}.dark\:\[button\]\:hover\:bg-emerald-500:where(.dark,.dark *):is(button):hover{background-color:var(--color-emerald-500)}.dark\:\[button\]\:hover\:bg-fuchsia-400\/50:where(.dark,.dark *):is(button):hover{background-color:#ec6cff80}@supports (color:color-mix(in lab, red, red)){.dark\:\[button\]\:hover\:bg-fuchsia-400\/50:where(.dark,.dark *):is(button):hover{background-color:color-mix(in oklab, var(--color-fuchsia-400) 50%, transparent)}}.dark\:\[button\]\:hover\:bg-fuchsia-500:where(.dark,.dark *):is(button):hover{background-color:var(--color-fuchsia-500)}.dark\:\[button\]\:hover\:bg-green-400\/50:where(.dark,.dark *):is(button):hover{background-color:#05df7280}@supports (color:color-mix(in lab, red, red)){.dark\:\[button\]\:hover\:bg-green-400\/50:where(.dark,.dark *):is(button):hover{background-color:color-mix(in oklab, var(--color-green-400) 50%, transparent)}}.dark\:\[button\]\:hover\:bg-green-500:where(.dark,.dark *):is(button):hover{background-color:var(--color-green-500)}.dark\:\[button\]\:hover\:bg-indigo-400\/50:where(.dark,.dark *):is(button):hover{background-color:#7d87ff80}@supports (color:color-mix(in lab, red, red)){.dark\:\[button\]\:hover\:bg-indigo-400\/50:where(.dark,.dark *):is(button):hover{background-color:color-mix(in oklab, var(--color-indigo-400) 50%, transparent)}}.dark\:\[button\]\:hover\:bg-indigo-500:where(.dark,.dark *):is(button):hover{background-color:var(--color-indigo-500)}.dark\:\[button\]\:hover\:bg-lime-400\/50:where(.dark,.dark *):is(button):hover{background-color:#9de50080}@supports (color:color-mix(in lab, red, red)){.dark\:\[button\]\:hover\:bg-lime-400\/50:where(.dark,.dark *):is(button):hover{background-color:color-mix(in oklab, var(--color-lime-400) 50%, transparent)}}.dark\:\[button\]\:hover\:bg-lime-500:where(.dark,.dark *):is(button):hover{background-color:var(--color-lime-500)}.dark\:\[button\]\:hover\:bg-orange-400\/50:where(.dark,.dark *):is(button):hover{background-color:#ff8b1a80}@supports (color:color-mix(in lab, red, red)){.dark\:\[button\]\:hover\:bg-orange-400\/50:where(.dark,.dark *):is(button):hover{background-color:color-mix(in oklab, var(--color-orange-400) 50%, transparent)}}.dark\:\[button\]\:hover\:bg-orange-500:where(.dark,.dark *):is(button):hover{background-color:var(--color-orange-500)}.dark\:\[button\]\:hover\:bg-pink-400\/50:where(.dark,.dark *):is(button):hover{background-color:#fb64b680}@supports (color:color-mix(in lab, red, red)){.dark\:\[button\]\:hover\:bg-pink-400\/50:where(.dark,.dark *):is(button):hover{background-color:color-mix(in oklab, var(--color-pink-400) 50%, transparent)}}.dark\:\[button\]\:hover\:bg-pink-500:where(.dark,.dark *):is(button):hover{background-color:var(--color-pink-500)}.dark\:\[button\]\:hover\:bg-purple-400\/50:where(.dark,.dark *):is(button):hover{background-color:#c07eff80}@supports (color:color-mix(in lab, red, red)){.dark\:\[button\]\:hover\:bg-purple-400\/50:where(.dark,.dark *):is(button):hover{background-color:color-mix(in oklab, var(--color-purple-400) 50%, transparent)}}.dark\:\[button\]\:hover\:bg-purple-500:where(.dark,.dark *):is(button):hover{background-color:var(--color-purple-500)}.dark\:\[button\]\:hover\:bg-red-400\/50:where(.dark,.dark *):is(button):hover{background-color:#ff656880}@supports (color:color-mix(in lab, red, red)){.dark\:\[button\]\:hover\:bg-red-400\/50:where(.dark,.dark *):is(button):hover{background-color:color-mix(in oklab, var(--color-red-400) 50%, transparent)}}.dark\:\[button\]\:hover\:bg-red-500:where(.dark,.dark *):is(button):hover{background-color:var(--color-red-500)}.dark\:\[button\]\:hover\:bg-rose-400\/50:where(.dark,.dark *):is(button):hover{background-color:#ff667f80}@supports (color:color-mix(in lab, red, red)){.dark\:\[button\]\:hover\:bg-rose-400\/50:where(.dark,.dark *):is(button):hover{background-color:color-mix(in oklab, var(--color-rose-400) 50%, transparent)}}.dark\:\[button\]\:hover\:bg-rose-500:where(.dark,.dark *):is(button):hover{background-color:var(--color-rose-500)}.dark\:\[button\]\:hover\:bg-sky-400\/50:where(.dark,.dark *):is(button):hover{background-color:#00bcfe80}@supports (color:color-mix(in lab, red, red)){.dark\:\[button\]\:hover\:bg-sky-400\/50:where(.dark,.dark *):is(button):hover{background-color:color-mix(in oklab, var(--color-sky-400) 50%, transparent)}}.dark\:\[button\]\:hover\:bg-sky-500:where(.dark,.dark *):is(button):hover{background-color:var(--color-sky-500)}.dark\:\[button\]\:hover\:bg-teal-400\/50:where(.dark,.dark *):is(button):hover{background-color:#00d3bd80}@supports (color:color-mix(in lab, red, red)){.dark\:\[button\]\:hover\:bg-teal-400\/50:where(.dark,.dark *):is(button):hover{background-color:color-mix(in oklab, var(--color-teal-400) 50%, transparent)}}.dark\:\[button\]\:hover\:bg-teal-500:where(.dark,.dark *):is(button):hover{background-color:var(--color-teal-500)}.dark\:\[button\]\:hover\:bg-violet-400\/50:where(.dark,.dark *):is(button):hover{background-color:#a685ff80}@supports (color:color-mix(in lab, red, red)){.dark\:\[button\]\:hover\:bg-violet-400\/50:where(.dark,.dark *):is(button):hover{background-color:color-mix(in oklab, var(--color-violet-400) 50%, transparent)}}.dark\:\[button\]\:hover\:bg-violet-500:where(.dark,.dark *):is(button):hover{background-color:var(--color-violet-500)}.dark\:\[button\]\:hover\:bg-yellow-300:where(.dark,.dark *):is(button):hover{background-color:var(--color-yellow-300)}.dark\:\[button\]\:hover\:bg-yellow-400\/50:where(.dark,.dark *):is(button):hover{background-color:#fac80080}@supports (color:color-mix(in lab, red, red)){.dark\:\[button\]\:hover\:bg-yellow-400\/50:where(.dark,.dark *):is(button):hover{background-color:color-mix(in oklab, var(--color-yellow-400) 50%, transparent)}}.dark\:\[button\]\:hover\:bg-zinc-400\/50:where(.dark,.dark *):is(button):hover{background-color:#a3a3a380}@supports (color:color-mix(in lab, red, red)){.dark\:\[button\]\:hover\:bg-zinc-400\/50:where(.dark,.dark *):is(button):hover{background-color:color-mix(in oklab, var(--color-zinc-400) 50%, transparent)}}.dark\:\[button\]\:hover\:bg-zinc-500:where(.dark,.dark *):is(button):hover{background-color:var(--color-zinc-500)}}.\[\&\:last-child\>\[data-flux-menu-separator-bottom\]\]\:hidden:last-child>[data-flux-menu-separator-bottom]{display:none}.\[\&\:not\(\:empty\)\]\:pb-2:not(:empty){padding-bottom:calc(var(--spacing) * 2)}.\[\&\:not\(\:empty\)\+div\]\:font-normal:not(:empty)+div{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.\[\&\:not\(\:empty\)\+div\]\:text-zinc-500:not(:empty)+div{color:var(--color-zinc-500)}.\[\&\:not\(\:empty\)\+div\]\:dark\:text-zinc-300:not(:empty)+div:where(.dark,.dark *){color:var(--color-zinc-300)}.\[\&\:not\(\:has\(\[data-flux-field\]\)\)\:has\(\[data-flux-control\]\[disabled\]\)\>\[data-flux-label\]\]\:opacity-50:not(:has([data-flux-field])):has([data-flux-control][disabled])>[data-flux-label]{opacity:.5}.\[\&\>\*\]\:mx-auto>*{margin-inline:auto}.\[\&\>\*\]\:ms-auto>*{margin-inline-start:auto}.\[\&\>\*\:first-child\:not\(\:last-child\)\>\:is\(\[data-flux-tooltip\]\,ui-time-picker-trigger\)\>\[data-flux-group-target\]\]\:rounded-e-none>:first-child:not(:last-child)>:is([data-flux-tooltip],ui-time-picker-trigger)>[data-flux-group-target],.\[\&\>\*\:first-child\:not\(\:last-child\)\>\[data-flux-group-target\]\]\:rounded-e-none>:first-child:not(:last-child)>[data-flux-group-target],.\[\&\>\*\:first-child\:not\(\:last-child\)\>\[data-flux-input\]\>\[data-flux-group-target\]\]\:rounded-e-none>:first-child:not(:last-child)>[data-flux-input]>[data-flux-group-target]{border-start-end-radius:0;border-end-end-radius:0}.\[\&\>\*\:has\(\+\[data-flux-input-group-suffix\]\)\>\:is\(\[data-flux-tooltip\]\,ui-time-picker-trigger\)\>\[data-flux-group-target\]\:not\(\[data-invalid\]\)\]\:border-e-0>:has(+[data-flux-input-group-suffix])>:is([data-flux-tooltip],ui-time-picker-trigger)>[data-flux-group-target]:not([data-invalid]){border-inline-end-style:var(--tw-border-style);border-inline-end-width:0}.\[\&\>\*\:has\(\+\[data-flux-input-group-suffix\]\)\>\[data-flux-group-target\]\:not\(\[data-invalid\]\)\]\:border-e-0>:has(+[data-flux-input-group-suffix])>[data-flux-group-target]:not([data-invalid]){border-inline-end-style:var(--tw-border-style);border-inline-end-width:0}.\[\&\>\*\:last-child\:not\(\:first-child\)\>\:is\(\[data-flux-tooltip\]\,ui-time-picker-trigger\)\>\[data-flux-group-target\]\]\:rounded-s-none>:last-child:not(:first-child)>:is([data-flux-tooltip],ui-time-picker-trigger)>[data-flux-group-target]{border-start-start-radius:0;border-end-start-radius:0}.\[\&\>\*\:last-child\:not\(\:first-child\)\>\:is\(\[data-flux-tooltip\]\,ui-time-picker-trigger\)\>\[data-flux-group-target\]\:not\(\[data-invalid\]\)\]\:border-s-0>:last-child:not(:first-child)>:is([data-flux-tooltip],ui-time-picker-trigger)>[data-flux-group-target]:not([data-invalid]){border-inline-start-style:var(--tw-border-style);border-inline-start-width:0}.\[\&\>\*\:last-child\:not\(\:first-child\)\>\[data-flux-group-target\]\]\:rounded-s-none>:last-child:not(:first-child)>[data-flux-group-target]{border-start-start-radius:0;border-end-start-radius:0}.\[\&\>\*\:last-child\:not\(\:first-child\)\>\[data-flux-group-target\]\:not\(\[data-invalid\]\)\]\:border-s-0>:last-child:not(:first-child)>[data-flux-group-target]:not([data-invalid]){border-inline-start-style:var(--tw-border-style);border-inline-start-width:0}.\[\&\>\*\:last-child\:not\(\:first-child\)\>\[data-flux-input\]\>\[data-flux-group-target\]\]\:rounded-s-none>:last-child:not(:first-child)>[data-flux-input]>[data-flux-group-target]{border-start-start-radius:0;border-end-start-radius:0}.\[\&\>\*\:not\(\:first-child\)\:not\(\:last-child\)\:not\(\:only-child\)\>\:is\(\[data-flux-tooltip\]\,ui-time-picker-trigger\)\>\[data-flux-group-target\]\]\:rounded-none>:not(:first-child):not(:last-child):not(:only-child)>:is([data-flux-tooltip],ui-time-picker-trigger)>[data-flux-group-target],.\[\&\>\*\:not\(\:first-child\)\:not\(\:last-child\)\:not\(\:only-child\)\>\[data-flux-group-target\]\]\:rounded-none>:not(:first-child):not(:last-child):not(:only-child)>[data-flux-group-target],.\[\&\>\*\:not\(\:first-child\)\:not\(\:last-child\)\:not\(\:only-child\)\>\[data-flux-input\]\>\[data-flux-group-target\]\]\:rounded-none>:not(:first-child):not(:last-child):not(:only-child)>[data-flux-input]>[data-flux-group-target]{border-radius:0}.\[\&\>\*\:not\(\:first-child\)\:not\(\:last-child\)\>\:is\(\[data-flux-tooltip\]\,ui-time-picker-trigger\)\>\[data-flux-group-target\]\:not\(\[data-invalid\]\)\]\:border-s-0>:not(:first-child):not(:last-child)>:is([data-flux-tooltip],ui-time-picker-trigger)>[data-flux-group-target]:not([data-invalid]),.\[\&\>\*\:not\(\:first-child\)\:not\(\:last-child\)\>\[data-flux-group-target\]\:not\(\[data-invalid\]\)\]\:border-s-0>:not(:first-child):not(:last-child)>[data-flux-group-target]:not([data-invalid]){border-inline-start-style:var(--tw-border-style);border-inline-start-width:0}.\[\&\>\*\:not\(\[data-flux-label\]\)\+\[data-flux-description\]\]\:mt-3>:not([data-flux-label])+[data-flux-description]{margin-top:calc(var(--spacing) * 3)}.\[\&\>\[data-flux-control\]\~\[data-flux-description\]\]\:col-start-2>[data-flux-control]~[data-flux-description]{grid-column-start:2}.\[\&\>\[data-flux-control\]\~\[data-flux-description\]\]\:row-start-2>[data-flux-control]~[data-flux-description]{grid-row-start:2}.\[\&\>\[data-flux-control\]\~\[data-flux-error\]\]\:col-span-2>[data-flux-control]~[data-flux-error]{grid-column:span 2/span 2}.\[\&\>\[data-flux-control\]\~\[data-flux-error\]\]\:mt-1>[data-flux-control]~[data-flux-error]{margin-top:var(--spacing)}.\[\&\>\[data-flux-description\]\:first-child\:has\(\+\*\)\]\:mb-3>[data-flux-description]:first-child:has(+*){margin-bottom:calc(var(--spacing) * 3)}.\[\&\>\[data-flux-field\]\:has\(\>\[data-flux-description\]\)\]\:mb-4>[data-flux-field]:has(>[data-flux-description]){margin-bottom:calc(var(--spacing) * 4)}.\[\&\>\[data-flux-field\]\:last-child\]\:mb-0\!>[data-flux-field]:last-child{margin-bottom:0!important}.\[\&\>\[data-flux-group-target\]\:first-child\:not\(\:last-child\)\]\:rounded-e-none>[data-flux-group-target]:first-child:not(:last-child){border-start-end-radius:0;border-end-end-radius:0}.\[\&\>\[data-flux-group-target\]\:has\(\+\[data-flux-input-group-suffix\]\)\]\:border-e-0>[data-flux-group-target]:has(+[data-flux-input-group-suffix]){border-inline-end-style:var(--tw-border-style);border-inline-end-width:0}.\[\&\>\[data-flux-group-target\]\:last-child\:not\(\:first-child\)\]\:rounded-s-none>[data-flux-group-target]:last-child:not(:first-child){border-start-start-radius:0;border-end-start-radius:0}.\[\&\>\[data-flux-group-target\]\:last-child\:not\(\:first-child\)\]\:border-s-0>[data-flux-group-target]:last-child:not(:first-child){border-inline-start-style:var(--tw-border-style);border-inline-start-width:0}.\[\&\>\[data-flux-group-target\]\:not\(\:first-child\)\:not\(\:last-child\)\]\:rounded-none>[data-flux-group-target]:not(:first-child):not(:last-child){border-radius:0}.\[\&\>\[data-flux-group-target\]\:not\(\:first-child\)\:not\(\:last-child\)\]\:border-s-0>[data-flux-group-target]:not(:first-child):not(:last-child){border-inline-start-style:var(--tw-border-style);border-inline-start-width:0}.\[\&\>\[data-flux-input\]\:has\(\+\[data-flux-input-group-suffix\]\)\>\[data-flux-group-target\]\:not\(\[data-invalid\]\)\]\:border-e-0>[data-flux-input]:has(+[data-flux-input-group-suffix])>[data-flux-group-target]:not([data-invalid]){border-inline-end-style:var(--tw-border-style);border-inline-end-width:0}.\[\&\>\[data-flux-input\]\:last-child\:not\(\:first-child\)\>\[data-flux-group-target\]\:not\(\[data-invalid\]\)\]\:border-s-0>[data-flux-input]:last-child:not(:first-child)>[data-flux-group-target]:not([data-invalid]),.\[\&\>\[data-flux-input\]\:not\(\:first-child\)\:not\(\:last-child\)\>\[data-flux-group-target\]\:not\(\[data-invalid\]\)\]\:border-s-0>[data-flux-input]:not(:first-child):not(:last-child)>[data-flux-group-target]:not([data-invalid]){border-inline-start-style:var(--tw-border-style);border-inline-start-width:0}.\[\&\>\[data-flux-label\]\+\[data-flux-description\]\]\:mt-0>[data-flux-label]+[data-flux-description]{margin-top:0}.\[\&\>\[data-flux-label\]\+\[data-flux-description\]\]\:mb-3>[data-flux-label]+[data-flux-description]{margin-bottom:calc(var(--spacing) * 3)}.\[\&\>\[data-flux-label\]\:has\(\+\[data-flux-description\]\)\]\:mb-2>[data-flux-label]:has(+[data-flux-description]){margin-bottom:calc(var(--spacing) * 2)}.\[\&\>\[data-flux-label\]\~\[data-flux-control\]\]\:col-start-2>[data-flux-label]~[data-flux-control]{grid-column-start:2}.\[\&\>\[data-flux-label\]\~\[data-flux-control\]\]\:row-start-1>[data-flux-label]~[data-flux-control]{grid-row-start:1}.\[\&\>\[data-flux-legend\]\]\:mb-4>[data-flux-legend],.\[\&\>\[data-flux-legend\]\+\[data-flux-description\]\]\:mb-4>[data-flux-legend]+[data-flux-description]{margin-bottom:calc(var(--spacing) * 4)}.\[\&\>\[data-flux-legend\]\:has\(\+\[data-flux-description\]\)\]\:mb-2>[data-flux-legend]:has(+[data-flux-description]){margin-bottom:calc(var(--spacing) * 2)}@container (width>=28rem){.\@md\:\[\&\>\[data-slot\=\"content\"\]\:has\(\[data-slot\=\"heading\"\]\)\:has\(\[data-slot\=\"text\"\]\)\+\[data-slot\=\"actions\"\]\]\:p-2>[data-slot=content]:has([data-slot=heading]):has([data-slot=text])+[data-slot=actions]{padding:calc(var(--spacing) * 2)}}.\[\&\>div\]\:flex-1>div{flex:1}.\[\&\>div\>svg\]\:size-5>div>svg{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}:where([data-flux-sidebar-on-desktop]) .\[\&\[collapsible\=\"mobile\"\]\]\:in-data-flux-sidebar-on-desktop\:hidden[collapsible=mobile]{display:none}.\[\&\[data-active\]_\[data-flux-menu-item-icon\]\]\:text-current[data-active] [data-flux-menu-item-icon]{color:currentColor}.\[\&\[data-flux-loading\]\>\:not\(\[data-flux-loading-indicator\]\)\]\:opacity-0[data-flux-loading]>:not([data-flux-loading-indicator]){opacity:0}.\[\&\[data-flux-loading\]\>\[data-flux-loading-indicator\]\]\:opacity-100[data-flux-loading]>[data-flux-loading-indicator]{opacity:1}.\[\&\[data-loading\]\>\:not\(\[data-flux-loading-indicator\]\)\]\:opacity-0[data-loading]>:not([data-flux-loading-indicator]){opacity:0}.\[\&\[data-loading\]\>\[data-flux-loading-indicator\]\]\:opacity-100[data-loading]>[data-flux-loading-indicator]{opacity:1}.\[\&\[disabled\]\]\:pointer-events-none[disabled]{pointer-events:none}.\[\&\[disabled\]\]\:cursor-default[disabled]{cursor:default}.\[\&\[disabled\]\]\:opacity-50[disabled]{opacity:.5}.dark\:\[\&\[disabled\]\]\:border-white\/10:where(.dark,.dark *)[disabled]{border-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.dark\:\[\&\[disabled\]\]\:border-white\/10:where(.dark,.dark *)[disabled]{border-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.dark\:\[\&\[disabled\]\]\:opacity-75:where(.dark,.dark *)[disabled]{opacity:.75}.\[\&\[disabled\]_\[data-flux-label\]\]\:opacity-50[disabled] [data-flux-label],.\[\&\[disabled\]_\[data-flux-legend\]\]\:opacity-50[disabled] [data-flux-legend]{opacity:.5}.\[\&\[disabled\]\>\:not\(\[data-flux-loading-indicator\]\)\]\:opacity-0[disabled]>:not([data-flux-loading-indicator]){opacity:0}.\[\&\[disabled\]\>\[data-flux-loading-indicator\]\]\:opacity-100[disabled]>[data-flux-loading-indicator]{opacity:1}:is([data-flux-button-group]>.\[\:is\(\[data-flux-button-group\]\>\&\:first-child\,_\[data-flux-button-group\]_\:first-child\>\&\)\]\:border-s-\[1px\]:first-child,[data-flux-button-group] :first-child>.\[\:is\(\[data-flux-button-group\]\>\&\:first-child\,_\[data-flux-button-group\]_\:first-child\>\&\)\]\:border-s-\[1px\]){border-inline-start-style:var(--tw-border-style);border-inline-start-width:1px}:is([data-flux-button-group]>.\[\:is\(\[data-flux-button-group\]\>\&\:last-child\,_\[data-flux-button-group\]_\:last-child\>\&\)\]\:border-e-0:last-child,[data-flux-button-group] :last-child>.\[\:is\(\[data-flux-button-group\]\>\&\:last-child\,_\[data-flux-button-group\]_\:last-child\>\&\)\]\:border-e-0){border-inline-end-style:var(--tw-border-style);border-inline-end-width:0}:is([data-flux-button-group]>.\[\:is\(\[data-flux-button-group\]\>\&\:last-child\,_\[data-flux-button-group\]_\:last-child\>\&\)\]\:border-e-\[1px\]:last-child,[data-flux-button-group] :last-child>.\[\:is\(\[data-flux-button-group\]\>\&\:last-child\,_\[data-flux-button-group\]_\:last-child\>\&\)\]\:border-e-\[1px\]){border-inline-end-style:var(--tw-border-style);border-inline-end-width:1px}:is([data-flux-button-group]>.dark\:\[\:is\(\[data-flux-button-group\]\>\&\:last-child\,_\[data-flux-button-group\]_\:last-child\>\&\)\]\:border-s-\[1px\]:where(.dark,.dark *):last-child,[data-flux-button-group] :last-child>.dark\:\[\:is\(\[data-flux-button-group\]\>\&\:last-child\,_\[data-flux-button-group\]_\:last-child\>\&\)\]\:border-s-\[1px\]:where(.dark,.dark *)){border-inline-start-style:var(--tw-border-style);border-inline-start-width:1px}:is([data-flux-button-group]>.dark\:\[\:is\(\[data-flux-button-group\]\>\&\:last-child\,_\[data-flux-button-group\]_\:last-child\>\&\)\]\:border-e-0:where(.dark,.dark *):last-child,[data-flux-button-group] :last-child>.dark\:\[\:is\(\[data-flux-button-group\]\>\&\:last-child\,_\[data-flux-button-group\]_\:last-child\>\&\)\]\:border-e-0:where(.dark,.dark *)){border-inline-end-style:var(--tw-border-style);border-inline-end-width:0}:is([data-flux-button-group]>.\[\:is\(\[data-flux-button-group\]\>\&\:not\(\:first-child\)\,_\[data-flux-button-group\]_\:not\(\:first-child\)\>\&\)\]\:border-s-\[color-mix\(in_srgb\,var\(--color-accent-foreground\)\,transparent_85\%\)\]:not(:first-child),[data-flux-button-group] :not(:first-child)>.\[\:is\(\[data-flux-button-group\]\>\&\:not\(\:first-child\)\,_\[data-flux-button-group\]_\:not\(\:first-child\)\>\&\)\]\:border-s-\[color-mix\(in_srgb\,var\(--color-accent-foreground\)\,transparent_85\%\)\]){border-inline-start-color:#ffffff26}@supports (color:color-mix(in lab, red, red)){:is([data-flux-button-group]>.\[\:is\(\[data-flux-button-group\]\>\&\:not\(\:first-child\)\,_\[data-flux-button-group\]_\:not\(\:first-child\)\>\&\)\]\:border-s-\[color-mix\(in_srgb\,var\(--color-accent-foreground\)\,transparent_85\%\)\]:not(:first-child),[data-flux-button-group] :not(:first-child)>.\[\:is\(\[data-flux-button-group\]\>\&\:not\(\:first-child\)\,_\[data-flux-button-group\]_\:not\(\:first-child\)\>\&\)\]\:border-s-\[color-mix\(in_srgb\,var\(--color-accent-foreground\)\,transparent_85\%\)\]){border-inline-start-color:color-mix(in srgb,var(--color-accent-foreground),transparent 85%)}}:where(.\[\:where\(\&\)\]\:block){display:block}:where(.\[\:where\(\&\)\]\:size-4){width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}:where(.\[\:where\(\&\)\]\:size-5){width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}:where(.\[\:where\(\&\)\]\:size-6){width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}:where(.\[\:where\(\&\)\]\:size-8){width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}:where(.\[\:where\(\&\)\]\:size-10){width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}:where(.\[\:where\(\&\)\]\:size-12){width:calc(var(--spacing) * 12);height:calc(var(--spacing) * 12)}:where(.\[\:where\(\&\)\]\:size-16){width:calc(var(--spacing) * 16);height:calc(var(--spacing) * 16)}:where(.\[\:where\(\&\)\]\:h-4){height:calc(var(--spacing) * 4)}:where(.\[\:where\(\&\)\]\:h-5){height:calc(var(--spacing) * 5)}:where(.\[\:where\(\&\)\]\:h-6){height:calc(var(--spacing) * 6)}:where(.\[\:where\(\&\)\]\:w-64){width:calc(var(--spacing) * 64)}:where(.\[\:where\(\&\)\]\:w-full){width:100%}:where(.\[\:where\(\&\)\]\:max-w-7xl){max-width:var(--container-7xl)}:where(.\[\:where\(\&\)\]\:max-w-xl){max-width:var(--container-xl)}:where(.\[\:where\(\&\)\]\:min-w-6){min-width:calc(var(--spacing) * 6)}:where(.\[\:where\(\&\)\]\:min-w-48){min-width:calc(var(--spacing) * 48)}:where(.\[\:where\(\&\)\]\:min-w-full){min-width:100%}:where(.\[\:where\(\&\)\]\:min-w-xs){min-width:var(--container-xs)}:where(.\[\:where\(\&\)\]\:rounded){border-radius:.25rem}:where(.\[\:where\(\&\)\]\:rounded-lg){border-radius:var(--radius-lg)}:where(.\[\:where\(\&\)\]\:rounded-md){border-radius:var(--radius-md)}:where(.\[\:where\(\&\)\]\:rounded-sm){border-radius:var(--radius-sm)}:where(.\[\:where\(\&\)\]\:rounded-xl){border-radius:var(--radius-xl)}:where(.\[\:where\(\&\)\]\:bg-white){background-color:var(--color-white)}:where(.\[\:where\(\&\)\]\:bg-zinc-200){background-color:var(--color-zinc-200)}:where(.\[\:where\(\&\)\]\:bg-zinc-400\/20){background-color:#a3a3a333}@supports (color:color-mix(in lab, red, red)){:where(.\[\:where\(\&\)\]\:bg-zinc-400\/20){background-color:color-mix(in oklab, var(--color-zinc-400) 20%, transparent)}}:where(.\[\:where\(\&\)\]\:p-4){padding:calc(var(--spacing) * 4)}:where(.\[\:where\(\&\)\]\:p-6){padding:calc(var(--spacing) * 6)}:where(.\[\:where\(\&\)\]\:px-3){padding-inline:calc(var(--spacing) * 3)}:where(.\[\:where\(\&\)\]\:py-3){padding-block:calc(var(--spacing) * 3)}:where(.\[\:where\(\&\)\]\:text-base){font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}:where(.\[\:where\(\&\)\]\:text-sm){font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}:where(.\[\:where\(\&\)\]\:text-xs){font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}:where(.\[\:where\(\&\)\]\:font-medium){--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}:where(.\[\:where\(\&\)\]\:font-normal){--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}:where(.\[\:where\(\&\)\]\:text-zinc-400){color:var(--color-zinc-400)}:where(.\[\:where\(\&\)\]\:text-zinc-500){color:var(--color-zinc-500)}:where(.\[\:where\(\&\)\]\:text-zinc-800){color:var(--color-zinc-800)}:where(.\[\:where\(\&\)\]\:\[--flux-shimmer-color\:white\]){--flux-shimmer-color:white}@media (width>=48rem){:where(.md\:\[\:where\(\&\)\]\:min-w-\[25rem\]){min-width:25rem}}:where(.\[\:where\(\&\)\]\:dark\:bg-zinc-600):where(.dark,.dark *){background-color:var(--color-zinc-600)}:where(.dark\:\[\:where\(\&\)\]\:bg-white\/10:where(.dark,.dark *)){background-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){:where(.dark\:\[\:where\(\&\)\]\:bg-white\/10:where(.dark,.dark *)){background-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}:where(.\[\:where\(\&\)\]\:dark\:text-white):where(.dark,.dark *){color:var(--color-white)}:where(.\[\:where\(\&\)\]\:dark\:text-white\/50):where(.dark,.dark *){color:#ffffff80}@supports (color:color-mix(in lab, red, red)){:where(.\[\:where\(\&\)\]\:dark\:text-white\/50):where(.dark,.dark *){color:color-mix(in oklab, var(--color-white) 50%, transparent)}}:where(.\[\:where\(\&\)\]\:dark\:text-white\/70):where(.dark,.dark *){color:#ffffffb3}@supports (color:color-mix(in lab, red, red)){:where(.\[\:where\(\&\)\]\:dark\:text-white\/70):where(.dark,.dark *){color:color-mix(in oklab, var(--color-white) 70%, transparent)}}:where(.dark\:\[\:where\(\&\)\]\:text-zinc-100:where(.dark,.dark *)){color:var(--color-zinc-100)}:where(.dark\:\[\:where\(\&\)\]\:\[--flux-shimmer-color\:var\(--color-zinc-900\)\]:where(.dark,.dark *)){--flux-shimmer-color:var(--color-zinc-900)}[data-color]>.\[\[data-color\]\>\&\]\:text-inherit{color:inherit}[data-color]>.\[\[data-color\]\>\&\]\:decoration-current\/20{text-decoration-color:currentColor}@supports (color:color-mix(in lab, red, red)){[data-color]>.\[\[data-color\]\>\&\]\:decoration-current\/20{-webkit-text-decoration-color:color-mix(in oklab, currentcolor 20%, transparent);-webkit-text-decoration-color:color-mix(in oklab, currentcolor 20%, transparent);-webkit-text-decoration-color:color-mix(in oklab, currentcolor 20%, transparent);text-decoration-color:color-mix(in oklab, currentcolor 20%, transparent)}}@media (hover:hover){[data-color]>.\[\[data-color\]\>\&\]\:hover\:decoration-current:hover{text-decoration-color:currentColor}}[data-color]>.dark\:\[\[data-color\]\>\&\]\:decoration-current\/50:where(.dark,.dark *){text-decoration-color:currentColor}@supports (color:color-mix(in lab, red, red)){[data-color]>.dark\:\[\[data-color\]\>\&\]\:decoration-current\/50:where(.dark,.dark *){-webkit-text-decoration-color:color-mix(in oklab, currentcolor 50%, transparent);-webkit-text-decoration-color:color-mix(in oklab, currentcolor 50%, transparent);-webkit-text-decoration-color:color-mix(in oklab, currentcolor 50%, transparent);text-decoration-color:color-mix(in oklab, currentcolor 50%, transparent)}}[data-copyable-copied]>.\[\[data-copyable-copied\]\>\&\]\:block{display:block}[data-copyable-copied]>.\[\[data-copyable-copied\]\>\&\]\:hidden{display:none}[data-flux-button-group] .\[\[data-flux-button-group\]_\&\]\:border-s-0{border-inline-start-style:var(--tw-border-style);border-inline-start-width:0}[data-flux-button-group] .\[\[data-flux-button-group\]_\&\]\:border-e{border-inline-end-style:var(--tw-border-style);border-inline-end-width:1px}[data-flux-button-group] .\[\[data-flux-button-group\]_\&\]\:border-e-0{border-inline-end-style:var(--tw-border-style);border-inline-end-width:0}[data-flux-button-group] .\[\[data-flux-button-group\]_\&\]\:border-red-600{border-color:var(--color-red-600)}[data-flux-button-group] .\[\[data-flux-button-group\]_\&\]\:border-zinc-200\/80{border-color:#e5e5e5cc}@supports (color:color-mix(in lab, red, red)){[data-flux-button-group] .\[\[data-flux-button-group\]_\&\]\:border-zinc-200\/80{border-color:color-mix(in oklab, var(--color-zinc-200) 80%, transparent)}}[data-flux-button-group] .dark\:\[\[data-flux-button-group\]_\&\]\:border-red-900\/25:where(.dark,.dark *){border-color:#82181a40}@supports (color:color-mix(in lab, red, red)){[data-flux-button-group] .dark\:\[\[data-flux-button-group\]_\&\]\:border-red-900\/25:where(.dark,.dark *){border-color:color-mix(in oklab, var(--color-red-900) 25%, transparent)}}[data-flux-button-group] .dark\:\[\[data-flux-button-group\]_\&\]\:border-zinc-900\/50:where(.dark,.dark *){border-color:#17171780}@supports (color:color-mix(in lab, red, red)){[data-flux-button-group] .dark\:\[\[data-flux-button-group\]_\&\]\:border-zinc-900\/50:where(.dark,.dark *){border-color:color-mix(in oklab, var(--color-zinc-900) 50%, transparent)}}[data-flux-container] .\[\[data-flux-container\]_\&\]\:px-0{padding-inline:0}[data-flux-input-group] .\[\[data-flux-input-group\]_\&\]\:flex{display:flex}[data-flux-input-group] .\[\[data-flux-input-group\]_\&\]\:flex-1{flex:1}[data-flux-input-group] .\[\[data-flux-input-group\]_\&\]\:items-center{align-items:center}[data-flux-input-group] .\[\[data-flux-input-group\]_\&\]\:items-stretch{align-items:stretch}[data-flux-input-group] .\[\[data-flux-input-group\]_\&\]\:gap-0{gap:0}[data-flux-input-group] .\[\[data-flux-input-group\]_\&\]\:border-y{border-block-style:var(--tw-border-style);border-block-width:1px}[data-flux-input-group] .\[\[data-flux-input-group\]_\&\]\:border-e{border-inline-end-style:var(--tw-border-style);border-inline-end-width:1px}[data-flux-input-group] .\[\[data-flux-input-group\]_\&\]\:border-zinc-200{border-color:var(--color-zinc-200)}[data-flux-input-group] .\[\[data-flux-input-group\]_\&\]\:bg-white{background-color:var(--color-white)}[data-flux-input-group] .\[\[data-flux-input-group\]_\&\]\:px-4{padding-inline:calc(var(--spacing) * 4)}[data-flux-input-group] .\[\[data-flux-input-group\]_\&\]\:shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}[data-flux-input-group] .dark\:\[\[data-flux-input-group\]_\&\]\:border-zinc-600:where(.dark,.dark *){border-color:var(--color-zinc-600)}[data-flux-input-group] .dark\:\[\[data-flux-input-group\]_\&\]\:bg-zinc-700:where(.dark,.dark *){background-color:var(--color-zinc-700)}[data-flux-input-group] .dark\:\[\[data-flux-input-group\]_\&\]\:text-zinc-300:where(.dark,.dark *){color:var(--color-zinc-300)}:is([data-flux-input]:has(input:placeholder-shown) .\[\[data-flux-input\]\:has\(input\:placeholder-shown\)_\&\]\:hidden,[data-flux-input]:has(input[disabled]) .\[\[data-flux-input\]\:has\(input\[disabled\]\)_\&\]\:hidden){display:none}[data-flux-menu-item-icon]:hover .\[\[data-flux-menu-item-icon\]\:hover_\&\]\:text-current,[data-flux-menu-item]:hover .\[\[data-flux-menu-item\]\:hover_\&\]\:text-current{color:currentColor}[data-flux-menu]:has(>[data-flux-menu-item-has-icon]) .\[\[data-flux-menu\]\:has\(\>\[data-flux-menu-item-has-icon\]\)_\&\]\:block{display:block}[data-flux-sidebar-group-dropdown]>button:hover .\[\[data-flux-sidebar-group-dropdown\]\>button\:hover_\&\]\:text-current,[data-flux-sidebar-group-dropdown]>button:hover :is(:where([data-flux-menu]) .in-data-flux-menu\:\[\[data-flux-sidebar-group-dropdown\]\>button\:hover_\&\]\:text-current){color:currentColor}[data-flux-sidebar-item]:hover .\[\[data-flux-sidebar-item\]\:hover_\&\]\:text-current\!,[data-flux-sidebar-item][data-active] .\[\[data-flux-sidebar-item\]\[data-active\]_\&\]\:text-current\!{color:currentColor!important}[data-flux-subheading]+.\[\[data-flux-subheading\]\+\&\]\:mt-2{margin-top:calc(var(--spacing) * 2)}[data-flux-toast-dialog][data-variant=danger] .\[\[data-flux-toast-dialog\]\[data-variant\=danger\]_\&\]\:block,[data-flux-toast-dialog][data-variant=info] .\[\[data-flux-toast-dialog\]\[data-variant\=info\]_\&\]\:block,[data-flux-toast-dialog][data-variant=success] .\[\[data-flux-toast-dialog\]\[data-variant\=success\]_\&\]\:block,[data-flux-toast-dialog][data-variant=warning] .\[\[data-flux-toast-dialog\]\[data-variant\=warning\]_\&\]\:block{display:block}[data-nav-footer] .\[\[data-nav-footer\]_\&\]\:hidden{display:none}[data-nav-sidebar] [data-nav-footer] .\[\[data-nav-sidebar\]_\[data-nav-footer\]_\&\]\:block,[data-viewable-open]>.\[\[data-viewable-open\]\>\&\]\:block{display:block}[data-viewable-open]>.\[\[data-viewable-open\]\>\&\]\:hidden{display:none}[disabled] .\[\[disabled\]_\&\]\:opacity-50{opacity:.5}ui-checkbox[data-checked] .\[ui-checkbox\[data-checked\]_\&\]\:border-transparent{border-color:#0000}ui-checkbox[data-checked] .\[ui-checkbox\[data-checked\]_\&\]\:bg-\[var\(--color-accent\)\]{background-color:var(--color-accent)}ui-checkbox[data-checked] .\[ui-checkbox\[data-checked\]_\&\]\:text-zinc-800{color:var(--color-zinc-800)}ui-checkbox[data-checked] .\[ui-checkbox\[data-checked\]_\&\]\:shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}@media (hover:hover){ui-checkbox[data-checked] .hover\:\[ui-checkbox\[data-checked\]_\&\]\:bg-\(--color-accent\):hover{background-color:var(--color-accent)}}ui-checkbox[data-checked] .focus\:\[ui-checkbox\[data-checked\]_\&\]\:bg-\(--color-accent\):focus{background-color:var(--color-accent)}ui-checkbox[data-checked] .dark\:\[ui-checkbox\[data-checked\]_\&\]\:text-white:where(.dark,.dark *){color:var(--color-white)}ui-checkbox[data-checked]:not([data-indeterminate]) .\[ui-checkbox\[data-checked\]\:not\(\[data-indeterminate\]\)_\&\>svg\:first-child\]\:block>svg:first-child{display:block}ui-checkbox[data-checked][disabled] .\[ui-checkbox\[data-checked\]\[disabled\]_\&\]\:opacity-50{opacity:.5}ui-checkbox[data-indeterminate] .\[ui-checkbox\[data-indeterminate\]_\&\]\:border-transparent{border-color:#0000}ui-checkbox[data-indeterminate] .\[ui-checkbox\[data-indeterminate\]_\&\]\:bg-\[var\(--color-accent\)\]{background-color:var(--color-accent)}ui-checkbox[data-indeterminate] .\[ui-checkbox\[data-indeterminate\]_\&\]\:shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}@media (hover:hover){ui-checkbox[data-indeterminate] .hover\:\[ui-checkbox\[data-indeterminate\]_\&\]\:bg-\(--color-accent\):hover{background-color:var(--color-accent)}}ui-checkbox[data-indeterminate] .focus\:\[ui-checkbox\[data-indeterminate\]_\&\]\:bg-\(--color-accent\):focus{background-color:var(--color-accent)}ui-checkbox[data-indeterminate] .\[ui-checkbox\[data-indeterminate\]_\&\>svg\:last-child\]\:block>svg:last-child{display:block}ui-checkbox[disabled] .\[ui-checkbox\[disabled\]_\&\]\:border-zinc-200{border-color:var(--color-zinc-200)}ui-checkbox[disabled] .\[ui-checkbox\[disabled\]_\&\]\:opacity-75{opacity:.75}ui-checkbox[disabled] .\[ui-checkbox\[disabled\]_\&\]\:shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}ui-checkbox[disabled] .dark\:\[ui-checkbox\[disabled\]_\&\]\:border-white\/5:where(.dark,.dark *){border-color:#ffffff0d}@supports (color:color-mix(in lab, red, red)){ui-checkbox[disabled] .dark\:\[ui-checkbox\[disabled\]_\&\]\:border-white\/5:where(.dark,.dark *){border-color:color-mix(in oklab, var(--color-white) 5%, transparent)}}ui-checkbox[disabled][data-checked] .\[ui-checkbox\[disabled\]\[data-checked\]_\&\]\:border-transparent,ui-checkbox[disabled][data-indeterminate] .\[ui-checkbox\[disabled\]\[data-indeterminate\]_\&\]\:border-transparent{border-color:#0000}ui-dropdown>.\[ui-dropdown\>\&\]\:w-full{width:100%}ui-radio[data-checked] .\[ui-radio\[data-checked\]_\&\]\:border-transparent{border-color:#0000}ui-radio[data-checked] .\[ui-radio\[data-checked\]_\&\]\:bg-\[var\(--color-accent\)\]{background-color:var(--color-accent)}ui-radio[data-checked] .\[ui-radio\[data-checked\]_\&\]\:text-zinc-800{color:var(--color-zinc-800)}ui-radio[data-checked] .\[ui-radio\[data-checked\]_\&\]\:shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}@media (hover:hover){ui-radio[data-checked] .hover\:\[ui-radio\[data-checked\]_\&\]\:bg-\(--color-accent\):hover{background-color:var(--color-accent)}}ui-radio[data-checked] .focus\:\[ui-radio\[data-checked\]_\&\]\:bg-\(--color-accent\):focus{background-color:var(--color-accent)}ui-radio[data-checked] .dark\:\[ui-radio\[data-checked\]_\&\]\:text-white:where(.dark,.dark *){color:var(--color-white)}ui-radio[data-checked] .\[ui-radio\[data-checked\]_\&\>div\]\:block>div{display:block}ui-radio[data-checked][disabled] .\[ui-radio\[data-checked\]\[disabled\]_\&\]\:opacity-50{opacity:.5}ui-radio[disabled] .\[ui-radio\[disabled\]_\&\]\:border-zinc-200{border-color:var(--color-zinc-200)}ui-radio[disabled] .\[ui-radio\[disabled\]_\&\]\:opacity-75{opacity:.75}ui-radio[disabled] .\[ui-radio\[disabled\]_\&\]\:shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}ui-radio[disabled] .dark\:\[ui-radio\[disabled\]_\&\]\:border-white\/5:where(.dark,.dark *){border-color:#ffffff0d}@supports (color:color-mix(in lab, red, red)){ui-radio[disabled] .dark\:\[ui-radio\[disabled\]_\&\]\:border-white\/5:where(.dark,.dark *){border-color:color-mix(in oklab, var(--color-white) 5%, transparent)}}ui-radio[disabled] :is(ui-radio[data-checked] .\[ui-radio\[data-checked\]_\&\]\:\[ui-radio\[disabled\]_\&\]\:border-transparent){border-color:#0000}}@keyframes flux-shimmer{0%{transform:translate(0%)}to{transform:translate(200%)}}:has(>[data-flux-main]){grid-template:"header header header""sidebar main aside"1fr"sidebar footer aside"/min-content minmax(0,1fr) min-content;grid-area:body;display:grid}:has(>[data-flux-sidebar]+[data-flux-header]){grid-template-areas:"sidebar header header""sidebar main aside""sidebar footer aside"}[data-flux-modal]>dialog,[data-flux-modal]>dialog::backdrop{opacity:0;transition:all 75ms allow-discrete}[data-flux-modal]>dialog:not([open]){display:none}[data-flux-modal]>dialog{transform:scale(.95)}[data-flux-modal]>dialog[data-flux-flyout]{transform:scale(1) var(--flux-flyout-translate,var(--fx-flyout-translate,translateX(50px)))}[data-flux-modal]>dialog[open],[data-flux-modal]>dialog[open]::backdrop{opacity:1;transition:all .15s allow-discrete;transform:translate(0)scale(1)}@starting-style{[data-flux-modal]>dialog[open],[data-flux-modal]>dialog[open]::backdrop{opacity:0}[data-flux-modal]>dialog[open]{transform:scale(.95)}[data-flux-modal]>dialog[open][data-flux-flyout]{transform:scale(1) var(--flux-flyout-translate,var(--fx-flyout-translate,translateX(50px)))}}[data-flux-modal]>dialog::backdrop{background-color:#0000001a}[data-flux-modal]>dialog[data-flux-modal-overflow]{background:0 0;width:100%;max-width:none;height:100%;max-height:none;margin:0;overflow-y:auto;transform:none}[data-flux-modal-content]{transition:transform 75ms allow-discrete;transform:scale(.95)}dialog[open] [data-flux-modal-content]{transition:transform .15s allow-discrete;transform:scale(1)}@starting-style{dialog[open] [data-flux-modal-content]{transform:scale(.95)}}select[data-flux-select-native]{-webkit-print-color-adjust:exact;print-color-adjust:exact;background-image:url("data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M8 9L12 5L16 9' stroke='%23d4d4d4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M16 15L12 19L8 15' stroke='%23d4d4d4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-inline-end:2.5rem}[dir=rtl] select[data-flux-select-native]{background-position:.5rem}select[data-flux-select-native]:hover:not(:disabled){background-image:url("data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M8 9L12 5L16 9' stroke='%2327272a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M16 15L12 19L8 15' stroke='%2327272a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e")}.dark select[data-flux-select-native]{background-image:url("data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M8 9L12 5L16 9' stroke='%23A1A1AA' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M16 15L12 19L8 15' stroke='%23A1A1AA' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e")}.dark select[data-flux-select-native]:hover:not(:disabled){background-image:url("data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M8 9L12 5L16 9' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M16 15L12 19L8 15' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e")}ui-toast{background-color:#0000;max-width:24rem;margin:1.5rem;overflow:visible}ui-toast[position*=top]{margin-bottom:auto}ui-toast[position*=bottom]{margin-top:auto}ui-toast[position*=left],ui-toast[position*=start]{margin-inline-end:auto}ui-toast[position*=center]{margin-left:auto;margin-right:auto}ui-toast[position*=right],ui-toast[position*=end]{margin-inline-start:auto}ui-toast [data-flux-toast-dialog]{opacity:0;transition:opacity .35s allow-discrete, transform .35s allow-discrete, height .35s allow-discrete;transform:translate(0)}ui-toast [data-flux-toast-dialog].showing{opacity:1;transition:opacity .2s allow-discrete, transform .2s allow-discrete, height .2s allow-discrete;transform:translate(0)}@starting-style{ui-toast [data-flux-toast-dialog]{opacity:0;transform:translate(0)}ui-toast[position*=top]>[data-flux-toast-dialog]{transform:translateY(-.5rem)}ui-toast[position*=top][position*=left]>[data-flux-toast-dialog]{transform:translate(-.5rem)}ui-toast[position*=top][position*=right]>[data-flux-toast-dialog],[dir=rtl] ui-toast[position*=top][position*=left]>[data-flux-toast-dialog]{transform:translate(.5rem)}[dir=rtl] ui-toast[position*=top][position*=right]>[data-flux-toast-dialog]{transform:translate(-.5rem)}ui-toast[position*=bottom]>[data-flux-toast-dialog]{transform:translateY(.5rem)}}ui-toast-group{background-color:#0000;width:24rem;margin:1.5rem;display:flex;overflow:visible}ui-toast-group[position*=top]{margin-bottom:auto}ui-toast-group[position*=bottom]{margin-top:auto}ui-toast-group[position*=left],ui-toast-group[position*=start]{justify-content:flex-start;margin-inline-end:auto}ui-toast-group[position*=center]{justify-content:center;margin-left:auto;margin-right:auto}ui-toast-group[position*=right],ui-toast-group[position*=end]{justify-content:flex-end;margin-inline-start:auto}ui-toast-group [data-flux-toast-dialog]{transition:opacity .35s allow-discrete, transform .35s allow-discrete, height .35s allow-discrete;position:absolute;transform:translate(0)}[position*=top] :is(ui-toast-group [data-flux-toast-dialog]){padding-bottom:.75rem;top:0}[position*=bottom] :is(ui-toast-group [data-flux-toast-dialog]){padding-top:.75rem;bottom:0}ui-toast-group [data-flux-toast-dialog]>*{transition:opacity .35s allow-discrete, transform .35s allow-discrete, height .35s allow-discrete}.flux-no-scrollbar{scrollbar-width:none;-ms-overflow-style:none}.flux-no-scrollbar::-webkit-scrollbar{display:none}.has-focus-visible\:outline-default:has(:focus-visible){outline:auto highlight;outline-color:-webkit-focus-ring-color}[data-flux-timeline]{grid-template-columns:var(--flux-timeline-item-offset) auto var(--flux-timeline-content-gap) 1fr;display:grid}[data-flux-timeline] [data-flux-timeline-item]{grid-template-columns:subgrid;grid-column:2/-1;grid-template-rows:auto 1fr auto 1fr auto;display:grid}[data-flux-timeline] [data-flux-timeline-item]:has([data-flux-timeline-block]){grid-column:1/-1}[data-flux-timeline] [data-flux-timeline-item]:not(:first-child) [data-flux-timeline-gap-leading],[data-flux-timeline] [data-flux-timeline-item]:not(:last-child) [data-flux-timeline-gap-trailing]{min-height:calc(var(--flux-timeline-item-gap)/2)}[data-flux-timeline] [data-flux-timeline-item]:first-child [data-flux-timeline-line-leading],[data-flux-timeline] [data-flux-timeline-item]:last-child [data-flux-timeline-line-trailing]{opacity:0}[data-flux-timeline] [data-flux-timeline-indicator]{grid-area:3/1;justify-self:center}[data-flux-timeline] [data-flux-timeline-content]{grid-area:2/3/5;align-self:center;min-width:0}[data-flux-timeline] [data-flux-timeline-line-leading]{grid-area:1/1/3}[data-flux-timeline] [data-flux-timeline-line-trailing]{grid-area:4/1/-1}[data-flux-timeline] [data-flux-timeline-gap-leading]{grid-area:1/3}[data-flux-timeline] [data-flux-timeline-gap-trailing]{grid-area:5/3}[data-flux-timeline][data-flux-timeline-horizontal]{grid-template-columns:initial;grid-template-rows:auto var(--flux-timeline-content-gap) 1fr}[data-flux-timeline][data-flux-timeline-horizontal] [data-flux-timeline-item]{grid-template-rows:subgrid;grid-row:1/-1;grid-column:initial;grid-template-columns:auto 1fr auto 1fr auto}[data-flux-timeline][data-flux-timeline-horizontal] [data-flux-timeline-item]:not(:first-child) [data-flux-timeline-gap-leading],[data-flux-timeline][data-flux-timeline-horizontal] [data-flux-timeline-item]:not(:last-child) [data-flux-timeline-gap-trailing]{min-width:calc(var(--flux-timeline-item-gap)/2)}[data-flux-timeline][data-flux-timeline-horizontal] [data-flux-timeline-indicator]{justify-self:initial;grid-area:1/3;align-self:center}[data-flux-timeline][data-flux-timeline-horizontal] [data-flux-timeline-content]{justify-self:center;align-self:initial;grid-area:3/2/auto/5}[data-flux-timeline][data-flux-timeline-horizontal] [data-flux-timeline-line-leading]{grid-area:1/1/auto/3;justify-self:stretch}[data-flux-timeline][data-flux-timeline-horizontal] [data-flux-timeline-line-trailing]{grid-area:1/4/auto/-1;justify-self:stretch}[data-flux-timeline][data-flux-timeline-horizontal] [data-flux-timeline-gap-leading]{grid-area:3/1}[data-flux-timeline][data-flux-timeline-horizontal] [data-flux-timeline-gap-trailing]{grid-area:3/5}[data-flux-timeline][data-flux-timeline-horizontal=inline]{grid-template-rows:auto}[data-flux-timeline][data-flux-timeline-horizontal=inline] [data-flux-timeline-item]{grid-template-columns:auto auto auto auto 1fr}[data-flux-timeline][data-flux-timeline-horizontal=inline] [data-flux-timeline-content]{padding-left:var(--flux-timeline-content-gap);padding-right:var(--flux-timeline-content-gap);grid-area:1/4}[data-flux-timeline][data-flux-timeline-horizontal=inline] [data-flux-timeline-line-leading]{grid-area:1/1/auto/3}[data-flux-timeline][data-flux-timeline-horizontal=inline] [data-flux-timeline-line-trailing]{grid-area:1/5}[data-flux-timeline][data-flux-timeline-horizontal=inline] [data-flux-timeline-gap-leading]{grid-area:1/1}[data-flux-timeline][data-flux-timeline-horizontal=inline] [data-flux-timeline-gap-trailing]{grid-area:1/5}[data-flux-timeline-item]:not(:first-child) [data-flux-timeline-line-leading],[data-flux-timeline-item] [data-flux-timeline-line-trailing]{flex-direction:column;align-items:center;display:flex}:is([data-flux-timeline-item]:not(:first-child) [data-flux-timeline-line-leading],[data-flux-timeline-item] [data-flux-timeline-line-trailing]) *{width:var(--flux-timeline-line-width);height:calc(100% - var(--flux-timeline-line-gap))}[data-flux-timeline-item]:not(:first-child) [data-flux-timeline-line-leading]{justify-content:start}[data-flux-timeline-item] [data-flux-timeline-line-trailing]{justify-content:end}[data-flux-timeline-horizontal] [data-flux-timeline-item] :is([data-flux-timeline-line-leading],[data-flux-timeline-line-trailing]){justify-content:center;align-items:initial}[data-flux-timeline-horizontal] [data-flux-timeline-item] :is([data-flux-timeline-line-leading],[data-flux-timeline-line-trailing]) *{height:var(--flux-timeline-line-width);width:calc(100% - var(--flux-timeline-line-gap))}[data-flux-timeline-horizontal] [data-flux-timeline-item] [data-flux-timeline-line-leading]{align-items:start}[data-flux-timeline-horizontal] [data-flux-timeline-item] [data-flux-timeline-line-trailing]{align-items:end}[data-flux-timeline]:not([data-flux-timeline-horizontal])[data-flux-timeline-align=start] [data-flux-timeline-item]{grid-template-rows:auto auto auto 1fr auto}[data-flux-timeline]:not([data-flux-timeline-horizontal])[data-flux-timeline-align=start] [data-flux-timeline-content]{align-self:start}[data-flux-timeline]:not([data-flux-timeline-horizontal]) [data-flux-timeline-item][data-flux-timeline-align=start]{grid-template-rows:auto auto auto 1fr auto}[data-flux-timeline]:not([data-flux-timeline-horizontal]) [data-flux-timeline-item][data-flux-timeline-align=start] [data-flux-timeline-content]{align-self:start}[data-flux-timeline]:not([data-flux-timeline-horizontal])[data-flux-timeline-align=end] [data-flux-timeline-item]{grid-template-rows:auto 1fr auto auto auto}[data-flux-timeline]:not([data-flux-timeline-horizontal])[data-flux-timeline-align=end] [data-flux-timeline-content]{align-self:end}[data-flux-timeline]:not([data-flux-timeline-horizontal]) [data-flux-timeline-item][data-flux-timeline-align=end]{grid-template-rows:auto 1fr auto auto auto}[data-flux-timeline]:not([data-flux-timeline-horizontal]) [data-flux-timeline-item][data-flux-timeline-align=end] [data-flux-timeline-content]{align-self:end}[data-flux-timeline]:not([data-flux-timeline-horizontal])[data-flux-timeline-align=baseline] [data-flux-timeline-item]{grid-template-rows:auto auto auto 1fr auto}[data-flux-timeline]:not([data-flux-timeline-horizontal])[data-flux-timeline-align=baseline] [data-flux-timeline-content]{grid-row:3/5;align-self:baseline}[data-flux-timeline]:not([data-flux-timeline-horizontal])[data-flux-timeline-align=baseline] [data-flux-timeline-indicator]{align-self:baseline}[data-flux-timeline]:not([data-flux-timeline-horizontal]) [data-flux-timeline-item][data-flux-timeline-align=baseline]{grid-template-rows:auto auto auto 1fr auto}[data-flux-timeline]:not([data-flux-timeline-horizontal]) [data-flux-timeline-item][data-flux-timeline-align=baseline] [data-flux-timeline-content]{grid-row:3/5;align-self:baseline}[data-flux-timeline]:not([data-flux-timeline-horizontal]) [data-flux-timeline-item][data-flux-timeline-align=baseline] [data-flux-timeline-indicator]{align-self:baseline}:is([data-flux-timeline][data-flux-timeline-horizontal][data-flux-timeline-align=start],[data-flux-timeline][data-flux-timeline-horizontal][data-flux-timeline-align=baseline]) [data-flux-timeline-item]{grid-template-columns:auto auto auto 1fr auto}:is([data-flux-timeline][data-flux-timeline-horizontal][data-flux-timeline-align=start],[data-flux-timeline][data-flux-timeline-horizontal][data-flux-timeline-align=baseline]) [data-flux-timeline-content]{justify-self:start}[data-flux-timeline][data-flux-timeline-horizontal] [data-flux-timeline-item]:is([data-flux-timeline-align=start],[data-flux-timeline-align=baseline]){grid-template-columns:auto auto auto 1fr auto}[data-flux-timeline][data-flux-timeline-horizontal] [data-flux-timeline-item]:is([data-flux-timeline-align=start],[data-flux-timeline-align=baseline]) [data-flux-timeline-content]{justify-self:start}[data-flux-timeline][data-flux-timeline-horizontal][data-flux-timeline-align=end] [data-flux-timeline-item]{grid-template-columns:auto 1fr auto auto auto}[data-flux-timeline][data-flux-timeline-horizontal][data-flux-timeline-align=end] [data-flux-timeline-content]{justify-self:end}[data-flux-timeline][data-flux-timeline-horizontal] [data-flux-timeline-item][data-flux-timeline-align=end]{grid-template-columns:auto 1fr auto auto auto}[data-flux-timeline][data-flux-timeline-horizontal] [data-flux-timeline-item][data-flux-timeline-align=end] [data-flux-timeline-content]{justify-self:end}[data-flux-timeline]:has([data-flux-timeline-block]){--flux-timeline-item-offset:calc(var(--spacing) * 3)}[data-flux-timeline-item] [data-flux-timeline-block]{grid-template-columns:subgrid;grid-area:2/1/5/-1;display:grid}[data-flux-timeline-item] [data-flux-timeline-block] [data-flux-timeline-subgrid]{grid-template-columns:subgrid;grid-column:1/-1;display:grid}[data-flux-timeline-item] [data-flux-timeline-block] [data-flux-timeline-subgrid]>:first-child{grid-column:2;justify-self:center}[data-flux-timeline-item] [data-flux-timeline-block] [data-flux-timeline-subgrid]>:nth-child(2){grid-column:4}[data-flux-timeline-item] [data-flux-timeline-block]>:not([data-flux-timeline-subgrid]){grid-column:1/-1}[data-flux-timeline-item] [data-flux-timeline-line-leading]:has(~[data-flux-timeline-block]){grid-area:1/2/2}[data-flux-timeline-item] [data-flux-timeline-line-leading]:has(~[data-flux-timeline-block]) *{height:100%!important}[data-flux-timeline-item] [data-flux-timeline-block]~[data-flux-timeline-line-trailing]{grid-area:5/2/-1}[data-flux-timeline-item] [data-flux-timeline-block]~[data-flux-timeline-line-trailing] *{height:100%!important}[data-flux-timeline-item]:not(:last-child) [data-flux-timeline-block]~[data-flux-timeline-gap-trailing]{height:var(--flux-timeline-item-gap)}[data-flux-timeline-item]:not(:first-child) [data-flux-timeline-gap-leading]:has(~[data-flux-timeline-block]){height:var(--flux-timeline-item-gap)}[data-flux-field]:not(ui-radio,ui-checkbox){gap:calc(var(--spacing) * 2);display:grid}[data-flux-label]{--tw-leading:var(--leading-tight)!important;line-height:var(--leading-tight)!important;margin-bottom:0!important}input:focus[data-flux-control],textarea:focus[data-flux-control],select:focus[data-flux-control]{--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);--tw-ring-color:var(--color-accent);--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);--tw-ring-offset-color:var(--color-accent-foreground);--tw-outline-style:none;outline-style:none}@media (forced-colors:active){input:focus[data-flux-control],textarea:focus[data-flux-control],select:focus[data-flux-control]{outline-offset:2px;outline:2px solid #0000}}@property --tw-border-spacing-x{syntax:"";inherits:false;initial-value:0}@property --tw-border-spacing-y{syntax:"";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-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-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@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:"";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:"";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:"";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:"";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}} diff --git a/public/build/assets/fonts-C9MNnjVw.css b/public/build/assets/fonts-C9MNnjVw.css new file mode 100644 index 0000000..e53471a --- /dev/null +++ b/public/build/assets/fonts-C9MNnjVw.css @@ -0,0 +1,61 @@ +@font-face { + font-family: "Instrument Sans"; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url("/build/assets/instrument-sans-400-normal-DRC__1Mx.woff2") format("woff2"); + unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; +} + +@font-face { + font-family: "Instrument Sans"; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url("/build/assets/instrument-sans-400-normal-D1W7dsQl.woff") format("woff"); + unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; +} + +@font-face { + font-family: "Instrument Sans"; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url("/build/assets/instrument-sans-500-normal-Dk9ku72i.woff2") format("woff2"); + unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; +} + +@font-face { + font-family: "Instrument Sans"; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url("/build/assets/instrument-sans-500-normal-Z6ESRlEs.woff") format("woff"); + unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; +} + +@font-face { + font-family: "Instrument Sans"; + font-style: normal; + font-weight: 600; + font-display: swap; + src: url("/build/assets/instrument-sans-600-normal-B7fBEWYG.woff2") format("woff2"); + unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; +} + +@font-face { + font-family: "Instrument Sans"; + font-style: normal; + font-weight: 600; + font-display: swap; + src: url("/build/assets/instrument-sans-600-normal-B9e8oLYv.woff") format("woff"); + unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; +} + +:root { + --font-instrument-sans: "Instrument Sans"; +} + +.font-instrument-sans { + font-family: var(--font-instrument-sans); +} diff --git a/public/build/assets/instrument-sans-400-normal-D1W7dsQl.woff b/public/build/assets/instrument-sans-400-normal-D1W7dsQl.woff new file mode 100644 index 0000000..acbc6ae Binary files /dev/null and b/public/build/assets/instrument-sans-400-normal-D1W7dsQl.woff differ diff --git a/public/build/assets/instrument-sans-400-normal-DRC__1Mx.woff2 b/public/build/assets/instrument-sans-400-normal-DRC__1Mx.woff2 new file mode 100644 index 0000000..74572e7 Binary files /dev/null and b/public/build/assets/instrument-sans-400-normal-DRC__1Mx.woff2 differ diff --git a/public/build/assets/instrument-sans-500-normal-Dk9ku72i.woff2 b/public/build/assets/instrument-sans-500-normal-Dk9ku72i.woff2 new file mode 100644 index 0000000..0fd7a27 Binary files /dev/null and b/public/build/assets/instrument-sans-500-normal-Dk9ku72i.woff2 differ diff --git a/public/build/assets/instrument-sans-500-normal-Z6ESRlEs.woff b/public/build/assets/instrument-sans-500-normal-Z6ESRlEs.woff new file mode 100644 index 0000000..c693e0b Binary files /dev/null and b/public/build/assets/instrument-sans-500-normal-Z6ESRlEs.woff differ diff --git a/public/build/assets/instrument-sans-600-normal-B7fBEWYG.woff2 b/public/build/assets/instrument-sans-600-normal-B7fBEWYG.woff2 new file mode 100644 index 0000000..2a094d3 Binary files /dev/null and b/public/build/assets/instrument-sans-600-normal-B7fBEWYG.woff2 differ diff --git a/public/build/assets/instrument-sans-600-normal-B9e8oLYv.woff b/public/build/assets/instrument-sans-600-normal-B9e8oLYv.woff new file mode 100644 index 0000000..c34e486 Binary files /dev/null and b/public/build/assets/instrument-sans-600-normal-B9e8oLYv.woff differ diff --git a/public/build/assets/passkeys-ZWACIUjA.js b/public/build/assets/passkeys-ZWACIUjA.js new file mode 100644 index 0000000..1dc0ea8 --- /dev/null +++ b/public/build/assets/passkeys-ZWACIUjA.js @@ -0,0 +1 @@ +function e(e){let t=new Uint8Array(e),n=``;for(let e of t)n+=String.fromCharCode(e);return btoa(n).replace(/\+/g,`-`).replace(/\//g,`_`).replace(/=/g,``)}function t(e){let t=e.replace(/-/g,`+`).replace(/_/g,`/`),n=(4-t.length%4)%4,r=t.padEnd(t.length+n,`=`),i=atob(r),a=new ArrayBuffer(i.length),o=new Uint8Array(a);for(let e=0;ee};function i(e){let{id:n}=e;return{...e,id:t(n),transports:e.transports}}function a(e){return e===`localhost`||/^((xn--[a-z0-9-]+|[a-z0-9]+(-[a-z0-9]+)*)\.)+([a-z]{2,}|xn--[a-z0-9-]+)$/i.test(e)}var o=class extends Error{constructor({message:e,code:t,cause:n,name:r}){super(e,{cause:n}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=r??n.name,this.code=t}};function s({error:e,options:t}){let{publicKey:n}=t;if(!n)throw Error(`options was missing required publicKey property`);if(e.name===`AbortError`){if(t.signal instanceof AbortSignal)return new o({message:`Registration ceremony was sent an abort signal`,code:`ERROR_CEREMONY_ABORTED`,cause:e})}else if(e.name===`ConstraintError`){if(n.authenticatorSelection?.requireResidentKey===!0)return new o({message:`Discoverable credentials were required but no available authenticator supported it`,code:`ERROR_AUTHENTICATOR_MISSING_DISCOVERABLE_CREDENTIAL_SUPPORT`,cause:e});if(t.mediation===`conditional`&&n.authenticatorSelection?.userVerification===`required`)return new o({message:`User verification was required during automatic registration but it could not be performed`,code:`ERROR_AUTO_REGISTER_USER_VERIFICATION_FAILURE`,cause:e});if(n.authenticatorSelection?.userVerification===`required`)return new o({message:`User verification was required but no available authenticator supported it`,code:`ERROR_AUTHENTICATOR_MISSING_USER_VERIFICATION_SUPPORT`,cause:e})}else if(e.name===`InvalidStateError`)return new o({message:`The authenticator was previously registered`,code:`ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED`,cause:e});else if(e.name===`NotAllowedError`)return new o({message:e.message,code:`ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY`,cause:e});else if(e.name===`NotSupportedError`)return n.pubKeyCredParams.filter(e=>e.type===`public-key`).length===0?new o({message:`No entry in pubKeyCredParams was of type "public-key"`,code:`ERROR_MALFORMED_PUBKEYCREDPARAMS`,cause:e}):new o({message:`No available authenticator supported any of the specified pubKeyCredParams algorithms`,code:`ERROR_AUTHENTICATOR_NO_SUPPORTED_PUBKEYCREDPARAMS_ALG`,cause:e});else if(e.name===`SecurityError`){let t=globalThis.location.hostname;if(!a(t))return new o({message:`${globalThis.location.hostname} is an invalid domain`,code:`ERROR_INVALID_DOMAIN`,cause:e});if(n.rp.id!==t)return new o({message:`The RP ID "${n.rp.id}" is invalid for this domain`,code:`ERROR_INVALID_RP_ID`,cause:e})}else if(e.name===`TypeError`){if(n.user.id.byteLength<1||n.user.id.byteLength>64)return new o({message:`User ID was not between 1 and 64 characters`,code:`ERROR_INVALID_USER_ID_LENGTH`,cause:e})}else if(e.name===`UnknownError`)return new o({message:`The authenticator was unable to process the specified options, or could not create a new credential`,code:`ERROR_AUTHENTICATOR_GENERAL_ERROR`,cause:e});return e}var c=new class{constructor(){Object.defineProperty(this,"controller",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}createNewAbortSignal(){if(this.controller){let e=Error(`Cancelling existing WebAuthn API call for new one`);e.name=`AbortError`,this.controller.abort(e)}let e=new AbortController;return this.controller=e,e.signal}cancelCeremony(){if(this.controller){let e=Error(`Manually cancelling existing WebAuthn API call`);e.name=`AbortError`,this.controller.abort(e),this.controller=void 0}}},l=[`cross-platform`,`platform`];function u(e){if(e&&!(l.indexOf(e)<0))return e}async function d(r){!r.optionsJSON&&r.challenge&&(console.warn(`startRegistration() was not called correctly. It will try to continue with the provided options, but this call should be refactored to use the expected call structure instead. See https://simplewebauthn.dev/docs/packages/browser#typeerror-cannot-read-properties-of-undefined-reading-challenge for more information.`),r={optionsJSON:r});let{optionsJSON:a,useAutoRegister:o=!1}=r;if(!n())throw Error(`WebAuthn is not supported in this browser`);let l={...a,challenge:t(a.challenge),user:{...a.user,id:t(a.user.id)},excludeCredentials:a.excludeCredentials?.map(i)},d={};o&&(d.mediation=`conditional`),d.publicKey=l,d.signal=c.createNewAbortSignal();let p;try{p=await navigator.credentials.create(d)}catch(e){throw s({error:e,options:d})}if(!p)throw Error(`Registration was not completed`);let{id:m,rawId:h,response:g,type:_}=p,v;typeof g.getTransports==`function`&&(v=g.getTransports());let y;if(typeof g.getPublicKeyAlgorithm==`function`)try{y=g.getPublicKeyAlgorithm()}catch(e){f(`getPublicKeyAlgorithm()`,e)}let b;if(typeof g.getPublicKey==`function`)try{let t=g.getPublicKey();t!==null&&(b=e(t))}catch(e){f(`getPublicKey()`,e)}let x;if(typeof g.getAuthenticatorData==`function`)try{x=e(g.getAuthenticatorData())}catch(e){f(`getAuthenticatorData()`,e)}return{id:m,rawId:e(h),response:{attestationObject:e(g.attestationObject),clientDataJSON:e(g.clientDataJSON),transports:v,publicKeyAlgorithm:y,publicKey:b,authenticatorData:x},type:_,clientExtensionResults:p.getClientExtensionResults(),authenticatorAttachment:u(p.authenticatorAttachment)}}function f(e,t){console.warn(`The browser extension that intercepted this WebAuthn API call incorrectly implemented ${e}. You should report this error to them.\n`,t)}function p(){if(!n())return m.stubThis(new Promise(e=>e(!1)));let e=globalThis.PublicKeyCredential;return e?.isConditionalMediationAvailable===void 0?m.stubThis(new Promise(e=>e(!1))):m.stubThis(e.isConditionalMediationAvailable())}var m={stubThis:e=>e};function h({error:e,options:t}){let{publicKey:n}=t;if(!n)throw Error(`options was missing required publicKey property`);if(e.name===`AbortError`){if(t.signal instanceof AbortSignal)return new o({message:`Authentication ceremony was sent an abort signal`,code:`ERROR_CEREMONY_ABORTED`,cause:e})}else if(e.name===`NotAllowedError`)return new o({message:e.message,code:`ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY`,cause:e});else if(e.name===`SecurityError`){let t=globalThis.location.hostname;if(!a(t))return new o({message:`${globalThis.location.hostname} is an invalid domain`,code:`ERROR_INVALID_DOMAIN`,cause:e});if(n.rpId!==t)return new o({message:`The RP ID "${n.rpId}" is invalid for this domain`,code:`ERROR_INVALID_RP_ID`,cause:e})}else if(e.name===`UnknownError`)return new o({message:`The authenticator was unable to process the specified options, or could not create a new assertion signature`,code:`ERROR_AUTHENTICATOR_GENERAL_ERROR`,cause:e});return e}async function g(r){!r.optionsJSON&&r.challenge&&(console.warn(`startAuthentication() was not called correctly. It will try to continue with the provided options, but this call should be refactored to use the expected call structure instead. See https://simplewebauthn.dev/docs/packages/browser#typeerror-cannot-read-properties-of-undefined-reading-challenge for more information.`),r={optionsJSON:r});let{optionsJSON:a,useBrowserAutofill:o=!1,verifyBrowserAutofillInput:s=!0}=r;if(!n())throw Error(`WebAuthn is not supported in this browser`);let l;a.allowCredentials?.length!==0&&(l=a.allowCredentials?.map(i));let d={...a,challenge:t(a.challenge),allowCredentials:l},f={};if(o){if(!await p())throw Error(`Browser does not support WebAuthn autofill`);if(document.querySelectorAll(`input[autocomplete$='webauthn']`).length<1&&s)throw Error('No with "webauthn" as the only or last value in its `autocomplete` attribute was detected');f.mediation=`conditional`,d.allowCredentials=[]}f.publicKey=d,f.signal=c.createNewAbortSignal();let m;try{m=await navigator.credentials.get(f)}catch(e){throw h({error:e,options:f})}if(!m)throw Error(`Authentication was not completed`);let{id:g,rawId:_,response:v,type:y}=m,b;return v.userHandle&&(b=e(v.userHandle)),{id:g,rawId:e(_),response:{authenticatorData:e(v.authenticatorData),clientDataJSON:e(v.clientDataJSON),signature:e(v.signature),userHandle:b},type:y,clientExtensionResults:m.getClientExtensionResults(),authenticatorAttachment:u(m.authenticatorAttachment)}}var _=class extends Error{constructor(e){super(e),this.name=`PasskeyError`}},v=class extends _{constructor(){super(`Passkeys are not supported in this browser.`),this.name=`NotSupportedError`}},y=class extends _{constructor(){super(`The passkey operation was cancelled.`),this.name=`UserCancelledError`}},b=class extends _{constructor(){super(`This device is already registered as a passkey.`),this.name=`PasskeyExistsError`}},x=class extends _{constructor(e){super(`Passkeys can't be used on ${e??`this domain`}. For local development, use localhost.`),this.name=`InvalidDomainError`}},S=e=>{if(e instanceof _)return e;if(!(e instanceof Error))return new _(`An unknown error occurred.`);if(C(e))return new x(T());switch(e.name){case`NotAllowedError`:return new y;case`InvalidStateError`:return new b;case`NotSupportedError`:return new v;default:return new _(e.message)}},C=e=>w(e)===`ERROR_INVALID_DOMAIN`,w=e=>`code`in e&&typeof e.code==`string`?e.code:void 0,T=()=>typeof globalThis.location?.hostname==`string`&&globalThis.location.hostname.length>0?globalThis.location.hostname:void 0,E={},D=e=>{E={...E,...e,fetch:{...E.fetch,...e.fetch,headers:{...E.fetch?.headers,...e.fetch?.headers}}}},O=()=>typeof document>`u`?null:k()||A(),k=()=>{let e=document.querySelector(`meta[name="csrf-token"]`);if(!e)return null;let t=e.getAttribute(`content`);return t?{header:`X-CSRF-TOKEN`,value:t}:null},A=()=>{let e=document.cookie.split(`; `).find(e=>e.startsWith(`XSRF-TOKEN=`));if(!e)return null;let t=e.slice(11);return t?{header:`X-XSRF-TOKEN`,value:decodeURIComponent(t)}:null},j=async e=>{let t=await fetch(e,{method:`GET`,headers:{Accept:`application/json`,...E.fetch?.headers},credentials:E.fetch?.credentials??`same-origin`});return t.ok||await N(t),t.json()},M=async(e,t)=>{let n=O(),r={"Content-Type":`application/json`,Accept:`application/json`,...E.fetch?.headers};n&&(r[n.header]=n.value);let i=await fetch(e,{method:`POST`,headers:r,credentials:E.fetch?.credentials??`same-origin`,body:JSON.stringify(t)});return i.ok||await N(i),i.json()},N=async e=>{let t=`Request failed with status ${e.status}`;try{let n=await e.json();n&&typeof n==`object`&&`message`in n&&typeof n.message==`string`&&(t=n.message)}catch{}throw Error(t)},P={registerOptions:`/user/passkeys/options`,registerStore:`/user/passkeys`,verifyOptions:`/passkeys/login/options`,verifySubmit:`/passkeys/login`},F={configure(e){D(e)},isSupported(){return n()},async isAutofillSupported(){return p()},async register(e){if(!this.isSupported())throw new v;this.cancel();try{let t=I(e,{options:P.registerOptions,submit:P.registerStore}),{options:n}=await j(t.optionsRoute),r=await d({optionsJSON:n}),i={name:e.name,credential:r};return await M(t.submitRoute,i)}catch(e){throw S(e)}},async verify(e={}){if(!this.isSupported())throw new v;this.cancel();try{let t=I(e,{options:P.verifyOptions,submit:P.verifySubmit}),{options:n}=await j(t.optionsRoute),r={credential:await g({optionsJSON:n})};return await M(t.submitRoute,r)}catch(e){throw S(e)}},async autofill(e={}){if(!(!this.isSupported()||!await this.isAutofillSupported()))try{let t=I(e,{options:P.verifyOptions,submit:P.verifySubmit}),{options:n}=await j(t.optionsRoute),r={credential:await g({optionsJSON:n,useBrowserAutofill:!0})};return await M(t.submitRoute,r)}catch(e){if(e instanceof Error&&[`AbortError`,`NotAllowedError`].includes(e.name))return;throw S(e)}},cancel(){c.cancelCeremony()}},I=(e,t)=>({optionsRoute:e.routes?.options??t.options,submitRoute:e.routes?.submit??t.submit});window.Passkeys=F,window.dispatchEvent(new CustomEvent(`passkeys:ready`)); \ No newline at end of file diff --git a/public/build/fonts-manifest.json b/public/build/fonts-manifest.json new file mode 100644 index 0000000..71e41f4 --- /dev/null +++ b/public/build/fonts-manifest.json @@ -0,0 +1,94 @@ +{ + "version": 1, + "style": { + "file": "assets/fonts-C9MNnjVw.css", + "familyStyles": { + "instrument-sans": "@font-face {\n font-family: \"Instrument Sans\";\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(\"/build/assets/instrument-sans-400-normal-DRC__1Mx.woff2\") format(\"woff2\");\n unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;\n}\n\n@font-face {\n font-family: \"Instrument Sans\";\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(\"/build/assets/instrument-sans-400-normal-D1W7dsQl.woff\") format(\"woff\");\n unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;\n}\n\n@font-face {\n font-family: \"Instrument Sans\";\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(\"/build/assets/instrument-sans-500-normal-Dk9ku72i.woff2\") format(\"woff2\");\n unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;\n}\n\n@font-face {\n font-family: \"Instrument Sans\";\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(\"/build/assets/instrument-sans-500-normal-Z6ESRlEs.woff\") format(\"woff\");\n unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;\n}\n\n@font-face {\n font-family: \"Instrument Sans\";\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(\"/build/assets/instrument-sans-600-normal-B7fBEWYG.woff2\") format(\"woff2\");\n unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;\n}\n\n@font-face {\n font-family: \"Instrument Sans\";\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(\"/build/assets/instrument-sans-600-normal-B9e8oLYv.woff\") format(\"woff\");\n unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;\n}\n\n.font-instrument-sans {\n font-family: var(--font-instrument-sans);\n}" + }, + "variables": { + "instrument-sans": "--font-instrument-sans: \"Instrument Sans\";" + } + }, + "preloads": [ + { + "alias": "instrument-sans", + "family": "Instrument Sans", + "weight": 400, + "style": "normal", + "file": "assets/instrument-sans-400-normal-DRC__1Mx.woff2", + "as": "font", + "type": "font/woff2", + "crossorigin": "anonymous" + }, + { + "alias": "instrument-sans", + "family": "Instrument Sans", + "weight": 500, + "style": "normal", + "file": "assets/instrument-sans-500-normal-Dk9ku72i.woff2", + "as": "font", + "type": "font/woff2", + "crossorigin": "anonymous" + }, + { + "alias": "instrument-sans", + "family": "Instrument Sans", + "weight": 600, + "style": "normal", + "file": "assets/instrument-sans-600-normal-B7fBEWYG.woff2", + "as": "font", + "type": "font/woff2", + "crossorigin": "anonymous" + } + ], + "families": { + "instrument-sans": { + "family": "Instrument Sans", + "variable": "--font-instrument-sans", + "variants": { + "400:normal": { + "files": [ + { + "file": "assets/instrument-sans-400-normal-DRC__1Mx.woff2", + "format": "woff2", + "unicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD" + }, + { + "file": "assets/instrument-sans-400-normal-D1W7dsQl.woff", + "format": "woff", + "unicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD" + } + ] + }, + "500:normal": { + "files": [ + { + "file": "assets/instrument-sans-500-normal-Dk9ku72i.woff2", + "format": "woff2", + "unicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD" + }, + { + "file": "assets/instrument-sans-500-normal-Z6ESRlEs.woff", + "format": "woff", + "unicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD" + } + ] + }, + "600:normal": { + "files": [ + { + "file": "assets/instrument-sans-600-normal-B7fBEWYG.woff2", + "format": "woff2", + "unicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD" + }, + { + "file": "assets/instrument-sans-600-normal-B9e8oLYv.woff", + "format": "woff", + "unicodeRange": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD" + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/public/build/manifest.json b/public/build/manifest.json new file mode 100644 index 0000000..b76255b --- /dev/null +++ b/public/build/manifest.json @@ -0,0 +1,45 @@ +{ + "_fonts-C9MNnjVw.css": { + "file": "assets/fonts-C9MNnjVw.css", + "src": "_fonts-C9MNnjVw.css" + }, + "_instrument-sans-400-normal-D1W7dsQl.woff": { + "file": "assets/instrument-sans-400-normal-D1W7dsQl.woff", + "src": "_instrument-sans-400-normal-D1W7dsQl.woff" + }, + "_instrument-sans-400-normal-DRC__1Mx.woff2": { + "file": "assets/instrument-sans-400-normal-DRC__1Mx.woff2", + "src": "_instrument-sans-400-normal-DRC__1Mx.woff2" + }, + "_instrument-sans-500-normal-Dk9ku72i.woff2": { + "file": "assets/instrument-sans-500-normal-Dk9ku72i.woff2", + "src": "_instrument-sans-500-normal-Dk9ku72i.woff2" + }, + "_instrument-sans-500-normal-Z6ESRlEs.woff": { + "file": "assets/instrument-sans-500-normal-Z6ESRlEs.woff", + "src": "_instrument-sans-500-normal-Z6ESRlEs.woff" + }, + "_instrument-sans-600-normal-B7fBEWYG.woff2": { + "file": "assets/instrument-sans-600-normal-B7fBEWYG.woff2", + "src": "_instrument-sans-600-normal-B7fBEWYG.woff2" + }, + "_instrument-sans-600-normal-B9e8oLYv.woff": { + "file": "assets/instrument-sans-600-normal-B9e8oLYv.woff", + "src": "_instrument-sans-600-normal-B9e8oLYv.woff" + }, + "resources/themes/backend/assets/css/app.css": { + "file": "assets/app-BNxnNJeC.css", + "name": "app", + "names": [ + "app.css" + ], + "src": "resources/themes/backend/assets/css/app.css", + "isEntry": true + }, + "resources/themes/backend/assets/js/passkeys.js": { + "file": "assets/passkeys-ZWACIUjA.js", + "name": "passkeys", + "src": "resources/themes/backend/assets/js/passkeys.js", + "isEntry": true + } +} \ No newline at end of file diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100755 index 0000000..236fadb Binary files /dev/null and b/public/favicon.ico differ diff --git a/public/favicon.svg b/public/favicon.svg new file mode 100755 index 0000000..e4e710e --- /dev/null +++ b/public/favicon.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/index.php b/public/index.php new file mode 100755 index 0000000..ee8f07e --- /dev/null +++ b/public/index.php @@ -0,0 +1,20 @@ +handleRequest(Request::capture()); diff --git a/public/robots.txt b/public/robots.txt new file mode 100755 index 0000000..eb05362 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: diff --git a/readme.md b/readme.md new file mode 100755 index 0000000..f7ef683 --- /dev/null +++ b/readme.md @@ -0,0 +1,2 @@ +### Standard Laravel 13 Install for Developpment + diff --git a/resources/themes/backend/assets/css/app.css b/resources/themes/backend/assets/css/app.css new file mode 100755 index 0000000..df58402 --- /dev/null +++ b/resources/themes/backend/assets/css/app.css @@ -0,0 +1,67 @@ +@import 'tailwindcss'; +@import '../../../../../vendor/livewire/flux/dist/flux.css'; + +@source '../../views'; +@source '../../../**/*.blade.php'; +@source '../../../../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php'; +@source '../../../../../vendor/livewire/flux-pro/stubs/**/*.blade.php'; +@source '../../../../../vendor/livewire/flux/stubs/**/*.blade.php'; + +@custom-variant dark (&:where(.dark, .dark *)); + +@theme { + --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; + + --color-zinc-50: #fafafa; + --color-zinc-100: #f5f5f5; + --color-zinc-200: #e5e5e5; + --color-zinc-300: #d4d4d4; + --color-zinc-400: #a3a3a3; + --color-zinc-500: #737373; + --color-zinc-600: #525252; + --color-zinc-700: #404040; + --color-zinc-800: #262626; + --color-zinc-900: #171717; + --color-zinc-950: #0a0a0a; + + --color-accent: var(--color-neutral-800); + --color-accent-content: var(--color-neutral-800); + --color-accent-foreground: var(--color-white); +} + +@layer theme { + .dark { + --color-accent: var(--color-white); + --color-accent-content: var(--color-white); + --color-accent-foreground: var(--color-neutral-800); + } +} + +@layer base { + + *, + ::after, + ::before, + ::backdrop, + ::file-selector-button { + border-color: var(--color-gray-200, currentColor); + } +} + +[data-flux-field]:not(ui-radio, ui-checkbox) { + @apply grid gap-2; +} + +[data-flux-label] { + @apply !mb-0 !leading-tight; +} + +input:focus[data-flux-control], +textarea:focus[data-flux-control], +select:focus[data-flux-control] { + @apply outline-hidden ring-2 ring-accent ring-offset-2 ring-offset-accent-foreground; +} + +/* \[:where(&)\]:size-4 { + @apply size-4; +} */ diff --git a/resources/themes/backend/assets/js/passkeys.js b/resources/themes/backend/assets/js/passkeys.js new file mode 100755 index 0000000..af3935e --- /dev/null +++ b/resources/themes/backend/assets/js/passkeys.js @@ -0,0 +1,4 @@ +import { Passkeys } from '@laravel/passkeys'; + +window.Passkeys = Passkeys; +window.dispatchEvent(new CustomEvent('passkeys:ready')); diff --git a/resources/themes/backend/theme.json b/resources/themes/backend/theme.json new file mode 100755 index 0000000..9e115c5 --- /dev/null +++ b/resources/themes/backend/theme.json @@ -0,0 +1,13 @@ +{ + "manifest_version": 1, + "key": "backend", + "slug": "backend", + "name": "Backend", + "version": "1.0.0", + "description": "Default authenticated application and administration theme.", + "type": "backend", + "entry_view": "dashboard", + "views": true, + "variables": {}, + "settings": [] +} diff --git a/resources/themes/backend/views/components/app-logo-icon.blade.php b/resources/themes/backend/views/components/app-logo-icon.blade.php new file mode 100755 index 0000000..0adc3a2 --- /dev/null +++ b/resources/themes/backend/views/components/app-logo-icon.blade.php @@ -0,0 +1,8 @@ + + + diff --git a/resources/themes/backend/views/components/app-logo.blade.php b/resources/themes/backend/views/components/app-logo.blade.php new file mode 100755 index 0000000..31c2688 --- /dev/null +++ b/resources/themes/backend/views/components/app-logo.blade.php @@ -0,0 +1,17 @@ +@props([ + 'sidebar' => false, +]) + +@if($sidebar) + + + + + +@else + + + + + +@endif diff --git a/resources/themes/backend/views/components/auth-header.blade.php b/resources/themes/backend/views/components/auth-header.blade.php new file mode 100755 index 0000000..e596a3f --- /dev/null +++ b/resources/themes/backend/views/components/auth-header.blade.php @@ -0,0 +1,9 @@ +@props([ + 'title', + 'description', +]) + +
+ {{ $title }} + {{ $description }} +
diff --git a/resources/themes/backend/views/components/auth-session-status.blade.php b/resources/themes/backend/views/components/auth-session-status.blade.php new file mode 100755 index 0000000..98e0011 --- /dev/null +++ b/resources/themes/backend/views/components/auth-session-status.blade.php @@ -0,0 +1,9 @@ +@props([ + 'status', +]) + +@if ($status) +
merge(['class' => 'font-medium text-sm text-green-600']) }}> + {{ $status }} +
+@endif diff --git a/resources/themes/backend/views/components/desktop-user-menu.blade.php b/resources/themes/backend/views/components/desktop-user-menu.blade.php new file mode 100755 index 0000000..38e0e2a --- /dev/null +++ b/resources/themes/backend/views/components/desktop-user-menu.blade.php @@ -0,0 +1,39 @@ + + + + +
+ +
+ {{ auth()->user()->name }} + {{ auth()->user()->email }} +
+
+ + + + {{ __('Settings') }} + +
+ @csrf + + {{ __('Log out') }} + +
+
+
+
diff --git a/resources/themes/backend/views/components/passkey-registration.blade.php b/resources/themes/backend/views/components/passkey-registration.blade.php new file mode 100755 index 0000000..0d14493 --- /dev/null +++ b/resources/themes/backend/views/components/passkey-registration.blade.php @@ -0,0 +1,116 @@ +@assets +@vite('resources/themes/backend/assets/js/passkeys.js') +@endassets + +
+ + + + + +
diff --git a/resources/themes/backend/views/components/passkey-verify.blade.php b/resources/themes/backend/views/components/passkey-verify.blade.php new file mode 100755 index 0000000..722f8f4 --- /dev/null +++ b/resources/themes/backend/views/components/passkey-verify.blade.php @@ -0,0 +1,76 @@ +@props([ + 'optionsRoute' => 'passkey.login-options', + 'submitRoute' => 'passkey.login', + 'label' => __('Sign in with a passkey'), + 'loadingLabel' => __('Authenticating...'), + 'separator' => __('Or continue with email'), +]) + +@assets +@vite('resources/themes/backend/assets/js/passkeys.js') +@endassets + +
+ +
diff --git a/resources/themes/backend/views/components/placeholder-pattern.blade.php b/resources/themes/backend/views/components/placeholder-pattern.blade.php new file mode 100755 index 0000000..8a434f0 --- /dev/null +++ b/resources/themes/backend/views/components/placeholder-pattern.blade.php @@ -0,0 +1,12 @@ +@props([ + 'id' => uniqid(), +]) + + + + + + + + + diff --git a/resources/themes/backend/views/components/settings/layout.blade.php b/resources/themes/backend/views/components/settings/layout.blade.php new file mode 100755 index 0000000..3a65247 --- /dev/null +++ b/resources/themes/backend/views/components/settings/layout.blade.php @@ -0,0 +1,20 @@ +
+
+ + {{ __('Profile') }} + {{ __('Security') }} + {{ __('Appearance') }} + +
+ + + +
+ {{ $heading ?? '' }} + {{ $subheading ?? '' }} + +
+ {{ $slot }} +
+
+
diff --git a/resources/themes/backend/views/dashboard.blade.php b/resources/themes/backend/views/dashboard.blade.php new file mode 100755 index 0000000..8f08c05 --- /dev/null +++ b/resources/themes/backend/views/dashboard.blade.php @@ -0,0 +1,18 @@ + +
+
+
+ +
+
+ +
+
+ +
+
+
+ +
+
+
diff --git a/resources/themes/backend/views/flux/icon/book-open-text.blade.php b/resources/themes/backend/views/flux/icon/book-open-text.blade.php new file mode 100755 index 0000000..bff20a3 --- /dev/null +++ b/resources/themes/backend/views/flux/icon/book-open-text.blade.php @@ -0,0 +1,47 @@ +{{-- Credit: Lucide (https://lucide.dev) --}} + +@props([ + 'variant' => 'outline', +]) + +@php + if ($variant === 'solid') { + throw new \Exception('The "solid" variant is not supported in Lucide.'); + } + + $classes = Flux::classes('shrink-0')->add( + match ($variant) { + 'outline' => '[:where(&)]:size-6', + 'solid' => '[:where(&)]:size-6', + 'mini' => '[:where(&)]:size-5', + 'micro' => '[:where(&)]:size-4', + }, + ); + + $strokeWidth = match ($variant) { + 'outline' => 2, + 'mini' => 2.25, + 'micro' => 2.5, + }; +@endphp + +class($classes) }} + data-flux-icon + xmlns="http://www.w3.org/2000/svg" + viewBox="0 0 24 24" + fill="none" + stroke="currentColor" + stroke-width="{{ $strokeWidth }}" + stroke-linecap="round" + stroke-linejoin="round" + aria-hidden="true" + data-slot="icon" +> + + + + + + + diff --git a/resources/themes/backend/views/flux/icon/chevrons-up-down.blade.php b/resources/themes/backend/views/flux/icon/chevrons-up-down.blade.php new file mode 100755 index 0000000..bf1ba2b --- /dev/null +++ b/resources/themes/backend/views/flux/icon/chevrons-up-down.blade.php @@ -0,0 +1,43 @@ +{{-- Credit: Lucide (https://lucide.dev) --}} + +@props([ + 'variant' => 'outline', +]) + +@php + if ($variant === 'solid') { + throw new \Exception('The "solid" variant is not supported in Lucide.'); + } + + $classes = Flux::classes('shrink-0')->add( + match ($variant) { + 'outline' => '[:where(&)]:size-6', + 'solid' => '[:where(&)]:size-6', + 'mini' => '[:where(&)]:size-5', + 'micro' => '[:where(&)]:size-4', + }, + ); + + $strokeWidth = match ($variant) { + 'outline' => 2, + 'mini' => 2.25, + 'micro' => 2.5, + }; +@endphp + +class($classes) }} + data-flux-icon + xmlns="http://www.w3.org/2000/svg" + viewBox="0 0 24 24" + fill="none" + stroke="currentColor" + stroke-width="{{ $strokeWidth }}" + stroke-linecap="round" + stroke-linejoin="round" + aria-hidden="true" + data-slot="icon" +> + + + diff --git a/resources/themes/backend/views/flux/icon/folder-git-2.blade.php b/resources/themes/backend/views/flux/icon/folder-git-2.blade.php new file mode 100755 index 0000000..292171b --- /dev/null +++ b/resources/themes/backend/views/flux/icon/folder-git-2.blade.php @@ -0,0 +1,45 @@ +{{-- Credit: Lucide (https://lucide.dev) --}} + +@props([ + 'variant' => 'outline', +]) + +@php + if ($variant === 'solid') { + throw new \Exception('The "solid" variant is not supported in Lucide.'); + } + + $classes = Flux::classes('shrink-0')->add( + match ($variant) { + 'outline' => '[:where(&)]:size-6', + 'solid' => '[:where(&)]:size-6', + 'mini' => '[:where(&)]:size-5', + 'micro' => '[:where(&)]:size-4', + }, + ); + + $strokeWidth = match ($variant) { + 'outline' => 2, + 'mini' => 2.25, + 'micro' => 2.5, + }; +@endphp + +class($classes) }} + data-flux-icon + xmlns="http://www.w3.org/2000/svg" + viewBox="0 0 24 24" + fill="none" + stroke="currentColor" + stroke-width="{{ $strokeWidth }}" + stroke-linecap="round" + stroke-linejoin="round" + aria-hidden="true" + data-slot="icon" +> + + + + + diff --git a/resources/themes/backend/views/flux/icon/layout-grid.blade.php b/resources/themes/backend/views/flux/icon/layout-grid.blade.php new file mode 100755 index 0000000..88c5698 --- /dev/null +++ b/resources/themes/backend/views/flux/icon/layout-grid.blade.php @@ -0,0 +1,45 @@ +{{-- Credit: Lucide (https://lucide.dev) --}} + +@props([ + 'variant' => 'outline', +]) + +@php + if ($variant === 'solid') { + throw new \Exception('The "solid" variant is not supported in Lucide.'); + } + + $classes = Flux::classes('shrink-0')->add( + match ($variant) { + 'outline' => '[:where(&)]:size-6', + 'solid' => '[:where(&)]:size-6', + 'mini' => '[:where(&)]:size-5', + 'micro' => '[:where(&)]:size-4', + }, + ); + + $strokeWidth = match ($variant) { + 'outline' => 2, + 'mini' => 2.25, + 'micro' => 2.5, + }; +@endphp + +class($classes) }} + data-flux-icon + xmlns="http://www.w3.org/2000/svg" + viewBox="0 0 24 24" + fill="none" + stroke="currentColor" + stroke-width="{{ $strokeWidth }}" + stroke-linecap="round" + stroke-linejoin="round" + aria-hidden="true" + data-slot="icon" +> + + + + + diff --git a/resources/themes/backend/views/flux/navlist/group.blade.php b/resources/themes/backend/views/flux/navlist/group.blade.php new file mode 100755 index 0000000..5e691a2 --- /dev/null +++ b/resources/themes/backend/views/flux/navlist/group.blade.php @@ -0,0 +1,51 @@ +@props([ + 'expandable' => false, + 'expanded' => true, + 'heading' => null, +]) + + + +class('group/disclosure') }} + @if ($expanded === true) open @endif + data-flux-navlist-group +> + + + + + + + +
class('block space-y-[2px]') }}> +
+
{{ $heading }}
+
+ +
+ {{ $slot }} +
+
+ + + +
class('block space-y-[2px]') }}> + {{ $slot }} +
+ + diff --git a/resources/themes/backend/views/layouts/app.blade.php b/resources/themes/backend/views/layouts/app.blade.php new file mode 100755 index 0000000..037dd1b --- /dev/null +++ b/resources/themes/backend/views/layouts/app.blade.php @@ -0,0 +1,5 @@ + + + {{ $slot }} + + diff --git a/resources/themes/backend/views/layouts/app/header.blade.php b/resources/themes/backend/views/layouts/app/header.blade.php new file mode 100755 index 0000000..25fe1a5 --- /dev/null +++ b/resources/themes/backend/views/layouts/app/header.blade.php @@ -0,0 +1,84 @@ + + + + @include('partials.head') + + + + + + + + + + {{ __('Dashboard') }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ __('Dashboard') }} + + + + + + + + + {{ __('Repository') }} + + + {{ __('Documentation') }} + + + + + {{ $slot }} + + @persist('toast') + + + + @endpersist + + @fluxScripts + + diff --git a/resources/themes/backend/views/layouts/app/sidebar.blade.php b/resources/themes/backend/views/layouts/app/sidebar.blade.php new file mode 100755 index 0000000..757a66e --- /dev/null +++ b/resources/themes/backend/views/layouts/app/sidebar.blade.php @@ -0,0 +1,101 @@ + + + + @include('partials.head') + + + + + + + + + + + + {{ __('Dashboard') }} + + + + + + + + + {{ __('Repository') }} + + + + {{ __('Documentation') }} + + + + + + + + + + + + + + + + +
+
+ + +
+ {{ auth()->user()->name }} + {{ auth()->user()->email }} +
+
+
+
+ + + + + + {{ __('Settings') }} + + + + + +
+ @csrf + + {{ __('Log out') }} + +
+
+
+
+ + {{ $slot }} + + @persist('toast') + + + + @endpersist + + @fluxScripts + + diff --git a/resources/themes/backend/views/layouts/auth.blade.php b/resources/themes/backend/views/layouts/auth.blade.php new file mode 100755 index 0000000..7150091 --- /dev/null +++ b/resources/themes/backend/views/layouts/auth.blade.php @@ -0,0 +1,3 @@ + + {{ $slot }} + diff --git a/resources/themes/backend/views/layouts/auth/card.blade.php b/resources/themes/backend/views/layouts/auth/card.blade.php new file mode 100755 index 0000000..c5cf75a --- /dev/null +++ b/resources/themes/backend/views/layouts/auth/card.blade.php @@ -0,0 +1,33 @@ + + + + @include('partials.head') + + + + + @persist('toast') + + + + @endpersist + + @fluxScripts + + diff --git a/resources/themes/backend/views/layouts/auth/simple.blade.php b/resources/themes/backend/views/layouts/auth/simple.blade.php new file mode 100755 index 0000000..0a6f894 --- /dev/null +++ b/resources/themes/backend/views/layouts/auth/simple.blade.php @@ -0,0 +1,29 @@ + + + + @include('partials.head') + + + + + @persist('toast') + + + + @endpersist + + @fluxScripts + + diff --git a/resources/themes/backend/views/layouts/auth/split.blade.php b/resources/themes/backend/views/layouts/auth/split.blade.php new file mode 100755 index 0000000..a25d1d6 --- /dev/null +++ b/resources/themes/backend/views/layouts/auth/split.blade.php @@ -0,0 +1,50 @@ + + + + @include('partials.head') + + +
+ + +
+ + @persist('toast') + + + + @endpersist + + @fluxScripts + + diff --git a/resources/themes/backend/views/livewire/auth/confirm-password.blade.php b/resources/themes/backend/views/livewire/auth/confirm-password.blade.php new file mode 100755 index 0000000..dc8748a --- /dev/null +++ b/resources/themes/backend/views/livewire/auth/confirm-password.blade.php @@ -0,0 +1,36 @@ + +
+ + + + + + +
+ @csrf + + + + + {{ __('Confirm') }} + + +
+
diff --git a/resources/themes/backend/views/livewire/auth/forgot-password.blade.php b/resources/themes/backend/views/livewire/auth/forgot-password.blade.php new file mode 100755 index 0000000..5f1cdad --- /dev/null +++ b/resources/themes/backend/views/livewire/auth/forgot-password.blade.php @@ -0,0 +1,31 @@ + +
+ + + + + +
+ @csrf + + + + + + {{ __('Email password reset link') }} + + + +
+ {{ __('Or, return to') }} + {{ __('log in') }} +
+
+
diff --git a/resources/themes/backend/views/livewire/auth/login.blade.php b/resources/themes/backend/views/livewire/auth/login.blade.php new file mode 100755 index 0000000..9cb91a6 --- /dev/null +++ b/resources/themes/backend/views/livewire/auth/login.blade.php @@ -0,0 +1,59 @@ + +
+ + + + + + + +
+ @csrf + + + + + +
+ + + @if (Route::has('password.request')) + + {{ __('Forgot your password?') }} + + @endif +
+ + + + +
+ + {{ __('Log in') }} + +
+ + +
+ {{ __('Don\'t have an account?') }} + {{ __('Sign up') }} +
+
+
diff --git a/resources/themes/backend/views/livewire/auth/register.blade.php b/resources/themes/backend/views/livewire/auth/register.blade.php new file mode 100755 index 0000000..30ddb89 --- /dev/null +++ b/resources/themes/backend/views/livewire/auth/register.blade.php @@ -0,0 +1,69 @@ + +
+ + + + + +
+ @csrf + + + + + + + + + + + + +
+ + {{ __('Create account') }} + +
+ + +
+ {{ __('Already have an account?') }} + {{ __('Log in') }} +
+
+
diff --git a/resources/themes/backend/views/livewire/auth/reset-password.blade.php b/resources/themes/backend/views/livewire/auth/reset-password.blade.php new file mode 100755 index 0000000..86001bd --- /dev/null +++ b/resources/themes/backend/views/livewire/auth/reset-password.blade.php @@ -0,0 +1,54 @@ + +
+ + + + + +
+ @csrf + + + + + + + + + + + + +
+ + {{ __('Reset password') }} + +
+ +
+
diff --git a/resources/themes/backend/views/livewire/auth/two-factor-challenge.blade.php b/resources/themes/backend/views/livewire/auth/two-factor-challenge.blade.php new file mode 100755 index 0000000..febe7d5 --- /dev/null +++ b/resources/themes/backend/views/livewire/auth/two-factor-challenge.blade.php @@ -0,0 +1,101 @@ + +
+
+
+ +
+ +
+ +
+ +
+ @csrf + +
+
+
+ +
+
+ +
+
+ +
+ + @error('recovery_code') + + {{ $message }} + + @enderror +
+ + + {{ __('Continue') }} + +
+ +
+ {{ __('or you can') }} +
+ {{ __('login using a recovery code') }} + {{ __('login using an authentication code') }} +
+
+
+
+
+
diff --git a/resources/themes/backend/views/livewire/auth/verify-email.blade.php b/resources/themes/backend/views/livewire/auth/verify-email.blade.php new file mode 100755 index 0000000..50e7b44 --- /dev/null +++ b/resources/themes/backend/views/livewire/auth/verify-email.blade.php @@ -0,0 +1,29 @@ + +
+ + {{ __('Please verify your email address by clicking on the link we just emailed to you.') }} + + + @if (session('status') == 'verification-link-sent') + + {{ __('A new verification link has been sent to the email address you provided during registration.') }} + + @endif + +
+
+ @csrf + + {{ __('Resend verification email') }} + +
+ +
+ @csrf + + {{ __('Log out') }} + +
+
+
+
diff --git a/resources/themes/backend/views/livewire/settings/appearance.blade.php b/resources/themes/backend/views/livewire/settings/appearance.blade.php new file mode 100755 index 0000000..86c7ec7 --- /dev/null +++ b/resources/themes/backend/views/livewire/settings/appearance.blade.php @@ -0,0 +1,13 @@ +
+ @include('partials.settings-heading') + + {{ __('Appearance settings') }} + + + + {{ __('Light') }} + {{ __('Dark') }} + {{ __('System') }} + + +
diff --git a/resources/themes/backend/views/livewire/settings/delete-user-form.blade.php b/resources/themes/backend/views/livewire/settings/delete-user-form.blade.php new file mode 100755 index 0000000..a641407 --- /dev/null +++ b/resources/themes/backend/views/livewire/settings/delete-user-form.blade.php @@ -0,0 +1,34 @@ +
+
+ {{ __('Delete account') }} + {{ __('Delete your account and all of its resources') }} +
+ + + + {{ __('Delete account') }} + + + + +
+
+ {{ __('Are you sure you want to delete your account?') }} + + + {{ __('Once your account is deleted, all of its resources and data will be permanently deleted. Please enter your password to confirm you would like to permanently delete your account.') }} + +
+ + + +
+ + {{ __('Cancel') }} + + + {{ __('Delete account') }} +
+ +
+
diff --git a/resources/themes/backend/views/livewire/settings/profile.blade.php b/resources/themes/backend/views/livewire/settings/profile.blade.php new file mode 100755 index 0000000..6e9da81 --- /dev/null +++ b/resources/themes/backend/views/livewire/settings/profile.blade.php @@ -0,0 +1,36 @@ +
+ @include('partials.settings-heading') + + {{ __('Profile settings') }} + + +
+ + +
+ + + @if ($this->hasUnverifiedEmail) +
+ + {{ __('Your email address is unverified.') }} + + + {{ __('Click here to re-send the verification email.') }} + + + +
+ @endif +
+ +
+ {{ __('Save') }} +
+ + + @if ($this->showDeleteUser) + + @endif +
+
diff --git a/resources/themes/backend/views/livewire/settings/security.blade.php b/resources/themes/backend/views/livewire/settings/security.blade.php new file mode 100755 index 0000000..7144625 --- /dev/null +++ b/resources/themes/backend/views/livewire/settings/security.blade.php @@ -0,0 +1,327 @@ +
+ @include('partials.settings-heading') + + {{ __('Security settings') }} + + +
+ + + + +
+ {{ __('Save') }} +
+ + + @if ($canManageTwoFactor) +
+ {{ __('Two-factor authentication') }} + {{ __('Manage your two-factor authentication settings') }} + +
+ @if ($twoFactorEnabled) +
+ + {{ __('You will be prompted for a secure, random pin during login, which you can retrieve from the TOTP-supported application on your phone.') }} + + +
+ + {{ __('Disable 2FA') }} + +
+ + +
+ @else +
+ + {{ __('When you enable two-factor authentication, you will be prompted for a secure pin during login. This pin can be retrieved from a TOTP-supported application on your phone.') }} + + + + {{ __('Enable 2FA') }} + +
+ @endif +
+
+ @endif + + @if ($canManageTwoFactor) + +
+
+
+
+
+ @for ($i = 1; $i <= 5; $i++) +
+ @endfor +
+ +
+ @for ($i = 1; $i <= 5; $i++) +
+ @endfor +
+ + +
+
+ +
+ {{ $this->modalConfig['title'] }} + {{ $this->modalConfig['description'] }} +
+
+ + @if ($showVerificationStep) +
+
+ +
+ +
+ + {{ __('Back') }} + + + + {{ __('Confirm') }} + +
+
+ @else + @error('setupData') + + @enderror + +
+
+ @empty($qrCodeSvg) +
+ +
+ @else +
+
+ {!! $qrCodeSvg !!} +
+
+ @endempty +
+
+ +
+ + {{ $this->modalConfig['buttonText'] }} + +
+ +
+
+
+ + {{ __('or, enter the code manually') }} + +
+ +
+
+ @empty($manualSetupKey) +
+ +
+ @else + + + + @endempty +
+
+
+ @endif +
+
+ @endif + + @if ($canManagePasskeys) +
+ {{ __('Passkeys') }} + {{ __('Manage your passkeys for passwordless sign-in') }} + +
+
+ @forelse ($passkeys as $passkey) +
+
+
+ +
+
+
+

{{ $passkey['name'] }}

+ @if ($passkey['authenticator']) + {{ $passkey['authenticator'] }} + @endif +
+

+ {{ __('Added :time', ['time' => $passkey['created_at_diff']]) }} + @if ($passkey['last_used_at_diff']) + / + {{ __('Last used :time', ['time' => $passkey['last_used_at_diff']]) }} + @endif +

+
+
+ + +
+ @empty +
+
+ +
+

{{ __('No passkeys yet') }}

+ {{ __('Add a passkey to sign in without a password') }} +
+ @endforelse +
+ + +
+
+ @endif +
+ + +
+
+ {{ __('Remove passkey') }} + + {{ __('Are you sure you want to remove the passkey ":name"? You will no longer be able to use it to sign in.', ['name' => $deletingPasskeyName]) }} + +
+ +
+ + {{ __('Cancel') }} + + + {{ __('Remove passkey') }} + +
+
+
+
diff --git a/resources/themes/backend/views/livewire/settings/two-factor/recovery-codes.blade.php b/resources/themes/backend/views/livewire/settings/two-factor/recovery-codes.blade.php new file mode 100755 index 0000000..9ed2674 --- /dev/null +++ b/resources/themes/backend/views/livewire/settings/two-factor/recovery-codes.blade.php @@ -0,0 +1,89 @@ +
+
+
+ + {{ __('2FA recovery codes') }} +
+ + {{ __('Recovery codes let you regain access if you lose your 2FA device. Store them in a secure password manager.') }} + +
+ +
+
+ + + + {{ __('Hide recovery codes') }} + + + @if (filled($recoveryCodes)) + + {{ __('Regenerate codes') }} + + @endif +
+ +
+
+ @error('recoveryCodes') + + @enderror + + @if (filled($recoveryCodes)) +
+ @foreach($recoveryCodes as $code) +
+ {{ $code }} +
+ @endforeach +
+ + {{ __('Each recovery code can be used once to access your account and will be removed after use. If you need more, click Regenerate codes above.') }} + + @endif +
+
+
+
diff --git a/resources/themes/backend/views/partials/head.blade.php b/resources/themes/backend/views/partials/head.blade.php new file mode 100755 index 0000000..123bd90 --- /dev/null +++ b/resources/themes/backend/views/partials/head.blade.php @@ -0,0 +1,15 @@ + + + + + {{ filled($title ?? null) ? $title.' - '.config('app.name', 'Laravel') : config('app.name', 'Laravel') }} + + + + + + +@fonts + +@vite('resources/themes/backend/assets/css/app.css') +@fluxAppearance diff --git a/resources/themes/backend/views/partials/settings-heading.blade.php b/resources/themes/backend/views/partials/settings-heading.blade.php new file mode 100755 index 0000000..925ace9 --- /dev/null +++ b/resources/themes/backend/views/partials/settings-heading.blade.php @@ -0,0 +1,5 @@ +
+ {{ __('Settings') }} + {{ __('Manage your profile and account settings') }} + +
diff --git a/resources/themes/frontend/theme.json b/resources/themes/frontend/theme.json new file mode 100755 index 0000000..b14eb53 --- /dev/null +++ b/resources/themes/frontend/theme.json @@ -0,0 +1,13 @@ +{ + "manifest_version": 1, + "key": "frontend", + "slug": "frontend", + "name": "Frontend", + "version": "1.0.0", + "description": "Default public-facing application theme.", + "type": "frontend", + "entry_view": "welcome", + "views": true, + "variables": {}, + "settings": [] +} diff --git a/resources/themes/frontend/views/welcome.blade.php b/resources/themes/frontend/views/welcome.blade.php new file mode 100755 index 0000000..13545d0 --- /dev/null +++ b/resources/themes/frontend/views/welcome.blade.php @@ -0,0 +1,202 @@ + + + + + + + {{ __('Welcome') }} - {{ config('app.name', 'Laravel') }} + + + + + + @fonts + + + + + +
+ @if (Route::has('login')) + + @endif +
+
+
+
+

Let's get started

+

Laravel has an incredibly rich ecosystem.
We suggest starting with the following.

+ + +
+
+ {{-- Laravel Logo --}} + + + + + + + + + + + {{-- 13 --}} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+ + @if (Route::has('login')) + + @endif + + diff --git a/resources/views b/resources/views new file mode 120000 index 0000000..404890a --- /dev/null +++ b/resources/views @@ -0,0 +1 @@ +themes/backend/views \ No newline at end of file diff --git a/routes/console.php b/routes/console.php new file mode 100755 index 0000000..3c9adf1 --- /dev/null +++ b/routes/console.php @@ -0,0 +1,8 @@ +comment(Inspiring::quote()); +})->purpose('Display an inspiring quote'); diff --git a/routes/settings.php b/routes/settings.php new file mode 100755 index 0000000..309ef83 --- /dev/null +++ b/routes/settings.php @@ -0,0 +1,29 @@ +group(function () { + Route::redirect('settings', 'settings/profile'); + + Route::livewire('settings/profile', Profile::class)->name('profile.edit'); +}); + +Route::middleware(['auth', 'verified'])->group(function () { + Route::livewire('settings/appearance', Appearance::class)->name('appearance.edit'); + + Route::livewire('settings/security', Security::class) + ->middleware([ + 'password.confirm', + ]) + ->name('security.edit'); +}); + +Route::get('.well-known/passkey-endpoints', function () { + return response()->json([ + 'enroll' => route('security.edit'), + 'manage' => route('security.edit'), + ]); +})->name('well-known.passkeys'); diff --git a/routes/web.php b/routes/web.php new file mode 100755 index 0000000..12e932e --- /dev/null +++ b/routes/web.php @@ -0,0 +1,11 @@ +name('home'); + +Route::middleware(['auth', 'verified'])->group(function () { + Route::view('dashboard', 'dashboard')->name('dashboard'); +}); + +require __DIR__.'/settings.php'; diff --git a/scan.sh b/scan.sh new file mode 100755 index 0000000..a58c958 --- /dev/null +++ b/scan.sh @@ -0,0 +1,7 @@ +JAVA_HOME="/opt/homebrew/opt/openjdk" \ +PATH="/opt/homebrew/opt/openjdk/bin:$PATH" \ +sonar-scanner \ + -Dsonar.projectKey=Standard-Installer-Skeleton \ + -Dsonar.sources=. \ + -Dsonar.host.url=http://192.168.1.2:9001 \ + -Dsonar.login=sqp_eeeab8d097fc7119c1b8b96d19e68f747cea45f2 diff --git a/scripts/ensure-directories.php b/scripts/ensure-directories.php new file mode 100755 index 0000000..bdc4984 --- /dev/null +++ b/scripts/ensure-directories.php @@ -0,0 +1,23 @@ +get(route('login')); + + $response->assertOk(); +}); + +test('users can authenticate using the login screen', function () { + $user = User::factory()->create(); + + $response = $this->post(route('login.store'), [ + 'email' => $user->email, + 'password' => 'password', + ]); + + $response + ->assertSessionHasNoErrors() + ->assertRedirect(route('dashboard', absolute: false)); + + $this->assertAuthenticated(); +}); + +test('users can not authenticate with invalid password', function () { + $user = User::factory()->create(); + + $response = $this->post(route('login.store'), [ + 'email' => $user->email, + 'password' => 'wrong-password', + ]); + + $response->assertSessionHasErrorsIn('email'); + + $this->assertGuest(); +}); + +test('users with two factor enabled are redirected to two factor challenge', function () { + $this->skipUnlessFortifyHas(Features::twoFactorAuthentication()); + + Features::twoFactorAuthentication([ + 'confirm' => true, + 'confirmPassword' => true, + ]); + + $user = User::factory()->withTwoFactor()->create(); + + $response = $this->post(route('login.store'), [ + 'email' => $user->email, + 'password' => 'password', + ]); + + $response->assertRedirect(route('two-factor.login')); + $this->assertGuest(); +}); + +test('users can logout', function () { + $user = User::factory()->create(); + + $response = $this->actingAs($user)->post(route('logout')); + + $response->assertRedirect(route('home')); + + $this->assertGuest(); +}); diff --git a/tests/Feature/Auth/EmailVerificationTest.php b/tests/Feature/Auth/EmailVerificationTest.php new file mode 100755 index 0000000..ce043aa --- /dev/null +++ b/tests/Feature/Auth/EmailVerificationTest.php @@ -0,0 +1,72 @@ +skipUnlessFortifyHas(Features::emailVerification()); +}); + +test('email verification screen can be rendered', function () { + $user = User::factory()->unverified()->create(); + + $response = $this->actingAs($user)->get(route('verification.notice')); + + $response->assertOk(); +}); + +test('email can be verified', function () { + $user = User::factory()->unverified()->create(); + + Event::fake(); + + $verificationUrl = URL::temporarySignedRoute( + 'verification.verify', + now()->addMinutes(60), + ['id' => $user->id, 'hash' => sha1($user->email)], + ); + + $response = $this->actingAs($user)->get($verificationUrl); + + Event::assertDispatched(Verified::class); + + expect($user->fresh()->hasVerifiedEmail())->toBeTrue(); + $response->assertRedirect(route('dashboard', absolute: false).'?verified=1'); +}); + +test('email is not verified with invalid hash', function () { + $user = User::factory()->unverified()->create(); + + $verificationUrl = URL::temporarySignedRoute( + 'verification.verify', + now()->addMinutes(60), + ['id' => $user->id, 'hash' => sha1('wrong-email')], + ); + + $this->actingAs($user)->get($verificationUrl); + + expect($user->fresh()->hasVerifiedEmail())->toBeFalse(); +}); + +test('already verified user visiting verification link is redirected without firing event again', function () { + $user = User::factory()->create([ + 'email_verified_at' => now(), + ]); + + Event::fake(); + + $verificationUrl = URL::temporarySignedRoute( + 'verification.verify', + now()->addMinutes(60), + ['id' => $user->id, 'hash' => sha1($user->email)], + ); + + $this->actingAs($user)->get($verificationUrl) + ->assertRedirect(route('dashboard', absolute: false).'?verified=1'); + + expect($user->fresh()->hasVerifiedEmail())->toBeTrue(); + Event::assertNotDispatched(Verified::class); +}); diff --git a/tests/Feature/Auth/PasswordConfirmationTest.php b/tests/Feature/Auth/PasswordConfirmationTest.php new file mode 100755 index 0000000..76b5e34 --- /dev/null +++ b/tests/Feature/Auth/PasswordConfirmationTest.php @@ -0,0 +1,11 @@ +create(); + + $response = $this->actingAs($user)->get(route('password.confirm')); + + $response->assertOk(); +}); diff --git a/tests/Feature/Auth/PasswordResetTest.php b/tests/Feature/Auth/PasswordResetTest.php new file mode 100755 index 0000000..9f55aba --- /dev/null +++ b/tests/Feature/Auth/PasswordResetTest.php @@ -0,0 +1,65 @@ +skipUnlessFortifyHas(Features::resetPasswords()); +}); + +test('reset password link screen can be rendered', function () { + $response = $this->get(route('password.request')); + + $response->assertOk(); +}); + +test('reset password link can be requested', function () { + Notification::fake(); + + $user = User::factory()->create(); + + $this->post(route('password.request'), ['email' => $user->email]); + + Notification::assertSentTo($user, ResetPassword::class); +}); + +test('reset password screen can be rendered', function () { + Notification::fake(); + + $user = User::factory()->create(); + + $this->post(route('password.request'), ['email' => $user->email]); + + Notification::assertSentTo($user, ResetPassword::class, function ($notification) { + $response = $this->get(route('password.reset', $notification->token)); + + $response->assertOk(); + + return true; + }); +}); + +test('password can be reset with valid token', function () { + Notification::fake(); + + $user = User::factory()->create(); + + $this->post(route('password.request'), ['email' => $user->email]); + + Notification::assertSentTo($user, ResetPassword::class, function ($notification) use ($user) { + $response = $this->post(route('password.update'), [ + 'token' => $notification->token, + 'email' => $user->email, + 'password' => 'password', + 'password_confirmation' => 'password', + ]); + + $response + ->assertSessionHasNoErrors() + ->assertRedirect(route('login', absolute: false)); + + return true; + }); +}); diff --git a/tests/Feature/Auth/RegistrationTest.php b/tests/Feature/Auth/RegistrationTest.php new file mode 100755 index 0000000..f9c6493 --- /dev/null +++ b/tests/Feature/Auth/RegistrationTest.php @@ -0,0 +1,27 @@ +skipUnlessFortifyHas(Features::registration()); +}); + +test('registration screen can be rendered', function () { + $response = $this->get(route('register')); + + $response->assertOk(); +}); + +test('new users can register', function () { + $response = $this->post(route('register.store'), [ + 'name' => 'John Doe', + 'email' => 'test@example.com', + 'password' => 'password', + 'password_confirmation' => 'password', + ]); + + $response->assertSessionHasNoErrors() + ->assertRedirect(route('dashboard', absolute: false)); + + $this->assertAuthenticated(); +}); diff --git a/tests/Feature/Auth/TwoFactorChallengeTest.php b/tests/Feature/Auth/TwoFactorChallengeTest.php new file mode 100755 index 0000000..70a4fae --- /dev/null +++ b/tests/Feature/Auth/TwoFactorChallengeTest.php @@ -0,0 +1,28 @@ +skipUnlessFortifyHas(Features::twoFactorAuthentication()); +}); + +test('two factor challenge redirects to login when not authenticated', function () { + $response = $this->get(route('two-factor.login')); + + $response->assertRedirect(route('login')); +}); + +test('two factor challenge can be rendered', function () { + Features::twoFactorAuthentication([ + 'confirm' => true, + 'confirmPassword' => true, + ]); + + $user = User::factory()->withTwoFactor()->create(); + + $this->post(route('login.store'), [ + 'email' => $user->email, + 'password' => 'password', + ])->assertRedirect(route('two-factor.login')); +}); diff --git a/tests/Feature/DashboardTest.php b/tests/Feature/DashboardTest.php new file mode 100755 index 0000000..95c6a8b --- /dev/null +++ b/tests/Feature/DashboardTest.php @@ -0,0 +1,16 @@ +get(route('dashboard')); + $response->assertRedirect(route('login')); +}); + +test('authenticated users can visit the dashboard', function () { + $user = User::factory()->create(); + $this->actingAs($user); + + $response = $this->get(route('dashboard')); + $response->assertOk(); +}); diff --git a/tests/Feature/ExampleTest.php b/tests/Feature/ExampleTest.php new file mode 100755 index 0000000..ef7b533 --- /dev/null +++ b/tests/Feature/ExampleTest.php @@ -0,0 +1,7 @@ +get(route('home')); + + $response->assertOk(); +}); diff --git a/tests/Feature/Settings/ProfileUpdateTest.php b/tests/Feature/Settings/ProfileUpdateTest.php new file mode 100755 index 0000000..7dc4899 --- /dev/null +++ b/tests/Feature/Settings/ProfileUpdateTest.php @@ -0,0 +1,76 @@ +actingAs($user = User::factory()->create()); + + $this->get('/settings/profile')->assertOk(); +}); + +test('profile information can be updated', function () { + $user = User::factory()->create(); + + $this->actingAs($user); + + $response = Livewire::test(Profile::class) + ->set('name', 'Test User') + ->set('email', 'test@example.com') + ->call('updateProfileInformation'); + + $response->assertHasNoErrors(); + + $user->refresh(); + + expect($user->name)->toEqual('Test User'); + expect($user->email)->toEqual('test@example.com'); + expect($user->email_verified_at)->toBeNull(); +}); + +test('email verification status is unchanged when email address is unchanged', function () { + $user = User::factory()->create(); + + $this->actingAs($user); + + $response = Livewire::test(Profile::class) + ->set('name', 'Test User') + ->set('email', $user->email) + ->call('updateProfileInformation'); + + $response->assertHasNoErrors(); + + expect($user->refresh()->email_verified_at)->not->toBeNull(); +}); + +test('user can delete their account', function () { + $user = User::factory()->create(); + + $this->actingAs($user); + + $response = Livewire::test('settings.delete-user-form') + ->set('password', 'password') + ->call('deleteUser'); + + $response + ->assertHasNoErrors() + ->assertRedirect('/'); + + expect($user->fresh())->toBeNull(); + expect(auth()->check())->toBeFalse(); +}); + +test('correct password must be provided to delete account', function () { + $user = User::factory()->create(); + + $this->actingAs($user); + + $response = Livewire::test('settings.delete-user-form') + ->set('password', 'wrong-password') + ->call('deleteUser'); + + $response->assertHasErrors(['password']); + + expect($user->fresh())->not->toBeNull(); +}); diff --git a/tests/Feature/Settings/SecurityTest.php b/tests/Feature/Settings/SecurityTest.php new file mode 100755 index 0000000..beb1171 --- /dev/null +++ b/tests/Feature/Settings/SecurityTest.php @@ -0,0 +1,114 @@ +skipUnlessFortifyHas(Features::twoFactorAuthentication()); + + Features::twoFactorAuthentication([ + 'confirm' => true, + 'confirmPassword' => true, + ]); + Features::passkeys([ + 'confirmPassword' => true, + ]); +}); + +test('security settings page can be rendered', function () { + $user = User::factory()->create(); + + $response = $this->actingAs($user) + ->withSession(['auth.password_confirmed_at' => time()]) + ->get(route('security.edit')); + + $response->assertOk(); + + $response->assertSee('Passkeys'); + $response->assertSee('No passkeys yet'); + $response->assertSee('Two-factor authentication'); + $response->assertSee('Enable 2FA'); +}); + +test('security settings page requires password confirmation when enabled', function () { + $user = User::factory()->create(); + + $response = $this->actingAs($user) + ->get(route('security.edit')); + + $response->assertRedirect(route('password.confirm')); +}); + +test('security settings page renders without two factor when feature is disabled', function () { + config(['fortify.features' => []]); + + $user = User::factory()->create(); + + $this->actingAs($user) + ->withSession(['auth.password_confirmed_at' => time()]) + ->get(route('security.edit')) + ->assertOk() + ->assertSee('Update password') + ->assertDontSee('Manage your passkeys for passwordless sign-in') + ->assertDontSee('Add a passkey to sign in without a password') + ->assertDontSee('Two-factor authentication'); +}); + +test('two factor authentication disabled when confirmation abandoned between requests', function () { + $user = User::factory()->create(); + + $user->forceFill([ + 'two_factor_secret' => encrypt('test-secret'), + 'two_factor_recovery_codes' => encrypt(json_encode(['code1', 'code2'])), + 'two_factor_confirmed_at' => null, + ])->save(); + + $this->actingAs($user); + + $component = Livewire::test(Security::class); + + $component->assertSet('twoFactorEnabled', false); + + $this->assertDatabaseHas('users', [ + 'id' => $user->id, + 'two_factor_secret' => null, + 'two_factor_recovery_codes' => null, + ]); +}); + +test('password can be updated', function () { + $user = User::factory()->create([ + 'password' => Hash::make('password'), + ]); + + $this->actingAs($user); + + $response = Livewire::test(Security::class) + ->set('current_password', 'password') + ->set('password', 'new-password') + ->set('password_confirmation', 'new-password') + ->call('updatePassword'); + + $response->assertHasNoErrors(); + + expect(Hash::check('new-password', $user->refresh()->password))->toBeTrue(); +}); + +test('correct password must be provided to update password', function () { + $user = User::factory()->create([ + 'password' => Hash::make('password'), + ]); + + $this->actingAs($user); + + $response = Livewire::test(Security::class) + ->set('current_password', 'wrong-password') + ->set('password', 'new-password') + ->set('password_confirmation', 'new-password') + ->call('updatePassword'); + + $response->assertHasErrors(['current_password']); +}); diff --git a/tests/Pest.php b/tests/Pest.php new file mode 100755 index 0000000..941e024 --- /dev/null +++ b/tests/Pest.php @@ -0,0 +1,50 @@ +extend(TestCase::class) + ->use(RefreshDatabase::class) + ->in('Feature'); + +/* +|-------------------------------------------------------------------------- +| Expectations +|-------------------------------------------------------------------------- +| +| When you're writing tests, you often need to check that values meet certain conditions. The +| "expect()" function gives you access to a set of "expectations" methods that you can use +| to assert different things. Of course, you may extend the Expectation API at any time. +| +*/ + +expect()->extend('toBeOne', function () { + return $this->toBe(1); +}); + +/* +|-------------------------------------------------------------------------- +| Functions +|-------------------------------------------------------------------------- +| +| While Pest is very powerful out-of-the-box, you may have some testing code specific to your +| project that you don't want to repeat in every file. Here you can also expose helpers as +| global functions to help you to reduce the number of lines of code in your test files. +| +*/ + +function something() +{ + // .. +} diff --git a/tests/TestCase.php b/tests/TestCase.php new file mode 100755 index 0000000..a574f37 --- /dev/null +++ b/tests/TestCase.php @@ -0,0 +1,16 @@ +markTestSkipped($message ?? "Fortify feature [{$feature}] is not enabled."); + } + } +} diff --git a/tests/Unit/ExampleTest.php b/tests/Unit/ExampleTest.php new file mode 100755 index 0000000..44a4f33 --- /dev/null +++ b/tests/Unit/ExampleTest.php @@ -0,0 +1,5 @@ +toBeTrue(); +}); diff --git a/vite.config.js b/vite.config.js new file mode 100755 index 0000000..e1322f0 --- /dev/null +++ b/vite.config.js @@ -0,0 +1,30 @@ +import { + defineConfig +} from 'vite'; +import laravel from 'laravel-vite-plugin'; +import { bunny } from 'laravel-vite-plugin/fonts'; +import tailwindcss from "@tailwindcss/vite"; + +export default defineConfig({ + plugins: [ + laravel({ + input: [ + 'resources/themes/backend/assets/css/app.css', + 'resources/themes/backend/assets/js/passkeys.js', + ], + refresh: true, + fonts: [ + bunny('Instrument Sans', { + weights: [400, 500, 600], + }), + ], + }), + tailwindcss(), + ], + server: { + cors: true, + watch: { + ignored: ['**/storage/framework/views/**'], + }, + }, +});