Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Add WASM basic client
Leendert de Borstf539a0d85342
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 0453dff05..b266e6cd0 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -19,3 +19,9 @@ export PATH="$PATH:$HOME/.dotnet/tools"dotnet ef```+- Run Tailwind CSS compiler while changing HTML files++```bash+npm run build:css+```+diff --git a/aliasvault.sln b/aliasvault.slnindex 48dc14c8e..7fa996037 100644--- a/aliasvault.sln+++ b/aliasvault.sln@@ -18,6 +18,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AliasVault.Api", "src\AliasEndProjectProject("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AliasVault.WebApp", "src\AliasVault.WebApp\AliasVault.WebApp.csproj", "{25248E01-5A4B-4F95-A63C-BEA01499A1C2}"EndProject+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AliasVault.Shared", "src\AliasVault.Shared\AliasVault.Shared.csproj", "{15EFE0D0-F41B-47D7-86B7-8F840335CB82}"+EndProjectGlobalGlobalSection(SolutionConfigurationPlatforms) = preSolutionDebug|Any CPU = Debug|Any CPU@@ -56,6 +58,10 @@ Global{25248E01-5A4B-4F95-A63C-BEA01499A1C2}.Debug|Any CPU.Build.0 = Debug|Any CPU{25248E01-5A4B-4F95-A63C-BEA01499A1C2}.Release|Any CPU.ActiveCfg = Release|Any CPU{25248E01-5A4B-4F95-A63C-BEA01499A1C2}.Release|Any CPU.Build.0 = Release|Any CPU+ {15EFE0D0-F41B-47D7-86B7-8F840335CB82}.Debug|Any CPU.ActiveCfg = Debug|Any CPU+ {15EFE0D0-F41B-47D7-86B7-8F840335CB82}.Debug|Any CPU.Build.0 = Debug|Any CPU+ {15EFE0D0-F41B-47D7-86B7-8F840335CB82}.Release|Any CPU.ActiveCfg = Release|Any CPU+ {15EFE0D0-F41B-47D7-86B7-8F840335CB82}.Release|Any CPU.Build.0 = Release|Any CPUEndGlobalSectionGlobalSection(NestedProjects) = preSolution{ED328644-A152-403D-86EB-81201AA07744} = {01AB9389-2F89-4F8E-A688-BF4BF1FC42C8}diff --git a/src/AliasVault.Api/AliasVault.Api.csproj b/src/AliasVault.Api/AliasVault.Api.csprojindex 783ccdf97..5ad8f593b 100644--- a/src/AliasVault.Api/AliasVault.Api.csproj+++ b/src/AliasVault.Api/AliasVault.Api.csproj@@ -15,6 +15,7 @@<ItemGroup><ProjectReference Include="..\AliasDb\AliasDb.csproj" />+ <ProjectReference Include="..\AliasVault.Shared\AliasVault.Shared.csproj" /></ItemGroup></Project>diff --git a/src/AliasVault.Api/Controllers/AuthController.cs b/src/AliasVault.Api/Controllers/AuthController.csindex a4c97224e..cfacaef76 100644--- a/src/AliasVault.Api/Controllers/AuthController.cs+++ b/src/AliasVault.Api/Controllers/AuthController.cs@@ -1,3 +1,5 @@+using AliasVault.Shared.Models;+namespace AliasVault.Api.Controllers;using Microsoft.AspNetCore.Identity;@@ -34,6 +36,26 @@ public class AuthController : ControllerBasereturn Unauthorized();}+ [HttpPost("register")]+ public async Task<IActionResult> Register([FromBody] RegisterModel model)+ {+ var user = new IdentityUser { UserName = model.Email, Email = model.Email };+ var result = await _userManager.CreateAsync(user, model.Password);++ if (result.Succeeded)+ {+ // When a user is registered, they are automatically signed in.+ await _signInManager.SignInAsync(user, isPersistent: false);+ // Return the token.+ var token = GenerateJwtToken(user);+ return Ok(new { token });+ }+ else+ {+ return BadRequest(result.Errors);+ }+ }+private string GenerateJwtToken(IdentityUser user){var claims = new[]@@ -55,9 +77,3 @@ public class AuthController : ControllerBasereturn new JwtSecurityTokenHandler().WriteToken(token);}}--public class LoginModel-{- public string Email { get; set; }- public string Password { get; set; }-}diff --git a/src/AliasVault.Api/Program.cs b/src/AliasVault.Api/Program.csindex 99efb4771..ab60d4091 100644--- a/src/AliasVault.Api/Program.cs+++ b/src/AliasVault.Api/Program.cs@@ -41,6 +41,15 @@ builder.Services.AddAuthentication(options =>};});+// Configure CORS+builder.Services.AddCors(options =>+{+ options.AddPolicy("CorsPolicy",+ policy => policy.AllowAnyOrigin()+ .AllowAnyMethod()+ .AllowAnyHeader());+});+builder.Services.AddControllers();builder.Services.AddEndpointsApiExplorer();builder.Services.AddSwaggerGen();@@ -55,6 +64,7 @@ if (app.Environment.IsDevelopment())}app.UseHttpsRedirection();+app.UseCors("CorsPolicy");app.UseAuthentication();app.UseAuthorization();diff --git a/src/AliasVault.Shared/AliasVault.Shared.csproj b/src/AliasVault.Shared/AliasVault.Shared.csprojnew file mode 100644index 000000000..3a6353295--- /dev/null+++ b/src/AliasVault.Shared/AliasVault.Shared.csproj@@ -0,0 +1,9 @@+<Project Sdk="Microsoft.NET.Sdk">++ <PropertyGroup>+ <TargetFramework>net8.0</TargetFramework>+ <ImplicitUsings>enable</ImplicitUsings>+ <Nullable>enable</Nullable>+ </PropertyGroup>++</Project>diff --git a/src/AliasVault.Shared/Models/LoginModel.cs b/src/AliasVault.Shared/Models/LoginModel.csnew file mode 100644index 000000000..334b0b932--- /dev/null+++ b/src/AliasVault.Shared/Models/LoginModel.cs@@ -0,0 +1,7 @@+namespace AliasVault.Shared.Models;++public class LoginModel+{+ public string Email { get; set; }+ public string Password { get; set; }+}diff --git a/src/AliasVault.Shared/Models/RegisterModel.cs b/src/AliasVault.Shared/Models/RegisterModel.csnew file mode 100644index 000000000..3d5850113--- /dev/null+++ b/src/AliasVault.Shared/Models/RegisterModel.cs@@ -0,0 +1,9 @@+namespace AliasVault.Shared.Models;++public class RegisterModel+{+ public string Email { get; set; }+ public string Password { get; set; }+ public string PasswordConfirm { get; set; }+ public bool AcceptTerms { get; set; }+}diff --git a/src/AliasVault.WebApp/AliasVault.WebApp.csproj b/src/AliasVault.WebApp/AliasVault.WebApp.csprojindex 599121f83..64d27e7d0 100644--- a/src/AliasVault.WebApp/AliasVault.WebApp.csproj+++ b/src/AliasVault.WebApp/AliasVault.WebApp.csproj@@ -7,8 +7,21 @@</PropertyGroup><ItemGroup>+ <PackageReference Include="Blazored.LocalStorage" Version="4.5.0" />+ <PackageReference Include="Microsoft.AspNetCore.Authorization" Version="8.0.6" /><PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.2"/>+ <PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" Version="8.0.6" /><PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.2" PrivateAssets="all"/>+ <PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0" /></ItemGroup>+ <ItemGroup>+ <Content Update="wwwroot\appsettings.json">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content>+ </ItemGroup>++ <ItemGroup>+ <ProjectReference Include="..\AliasVault.Shared\AliasVault.Shared.csproj" />+ </ItemGroup></Project>diff --git a/src/AliasVault.WebApp/App.razor b/src/AliasVault.WebApp/App.razorindex a8cf8177e..868171bc6 100644--- a/src/AliasVault.WebApp/App.razor+++ b/src/AliasVault.WebApp/App.razor@@ -1,12 +1,16 @@-<Router AppAssembly="@typeof(App).Assembly">- <Found Context="routeData">- <RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)"/>- <FocusOnNavigate RouteData="@routeData" Selector="h1"/>- </Found>- <NotFound>- <PageTitle>Not found</PageTitle>- <LayoutView Layout="@typeof(MainLayout)">- <p role="alert">Sorry, there's nothing at this address.</p>- </LayoutView>- </NotFound>-</Router>+<CascadingAuthenticationState>+ <Router AppAssembly="@typeof(App).Assembly">+ <Found Context="routeData">+ <AuthorizeRouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)">+ <NotAuthorized>+ <RedirectToLogin />+ </NotAuthorized>+ </AuthorizeRouteView>+ </Found>+ <NotFound>+ <LayoutView Layout="@typeof(Auth.Layout.MainLayout)">+ <p>Sorry, there's nothing at this address.</p>+ </LayoutView>+ </NotFound>+ </Router>+</CascadingAuthenticationState>diff --git a/src/AliasVault.WebApp/Auth/Components/InputTextField.razor b/src/AliasVault.WebApp/Auth/Components/InputTextField.razornew file mode 100644index 000000000..41a9b634f--- /dev/null+++ b/src/AliasVault.WebApp/Auth/Components/InputTextField.razor@@ -0,0 +1,18 @@+@using System.Linq.Expressions++<InputText @attributes="AdditionalAttributes"+ id="@Id"+ Value="@Value"+ ValueChanged="ValueChanged"+ ValueExpression="ValueExpression"+ placeholder="@Placeholder"+ class="bg-gray-50 border border-gray-300 text-gray-900 sm:text-sm rounded-lg focus:ring-primary-500 focus:border-primary-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500" />++@code {+ [Parameter] public string Id { get; set; }+ [Parameter] public string Value { get; set; }+ [Parameter] public EventCallback<string> ValueChanged { get; set; }+ [Parameter] public Expression<Func<string>> ValueExpression { get; set; }+ [Parameter] public string Placeholder { get; set; }+ [Parameter(CaptureUnmatchedValues = true)] public Dictionary<string, object> AdditionalAttributes { get; set; }+}diff --git a/src/AliasVault.WebApp/Auth/Components/LoadingIndicator.razor b/src/AliasVault.WebApp/Auth/Components/LoadingIndicator.razornew file mode 100644index 000000000..bb7a77cca--- /dev/null+++ b/src/AliasVault.WebApp/Auth/Components/LoadingIndicator.razor@@ -0,0 +1,25 @@+<div class="loading" style="display:@(IsVisible ? "block" : "none");">+ <div class="spinner">+ <div class="rect1"></div>+ <div class="rect2"></div>+ <div class="rect3"></div>+ <div class="rect4"></div>+ <div class="rect5"></div>+ </div>+</div>++@code {+ private bool IsVisible { get; set; }++ public void Show()+ {+ IsVisible = true;+ StateHasChanged();+ }++ public void Hide()+ {+ IsVisible = false;+ StateHasChanged();+ }+}diff --git a/src/AliasVault.WebApp/Auth/Components/LoadingIndicator.razor.css b/src/AliasVault.WebApp/Auth/Components/LoadingIndicator.razor.cssnew file mode 100644index 000000000..a24a966f7--- /dev/null+++ b/src/AliasVault.WebApp/Auth/Components/LoadingIndicator.razor.css@@ -0,0 +1,75 @@+.loading {+ position: fixed;+ top: 0;+ left: 0;+ right: 0;+ bottom: 0;+ background-color: #eee;+ opacity: 0.9;+}++.spinner {+ position: absolute;+ top: 50%;+ left: 50%;+ margin-top: -20px;+ margin-left: -25px;+ width: 50px;+ height: 40px;+ text-align: center;+ font-size: 10px;+}++.spinner>div {+ z-index: 999;+ background-color: black;+ height: 100%;+ width: 6px;+ display: inline-block;+ -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;+ animation: sk-stretchdelay 1.2s infinite ease-in-out;+}++.spinner .rect2 {+ -webkit-animation-delay: -1.1s;+ animation-delay: -1.1s;+}++.spinner .rect3 {+ -webkit-animation-delay: -1.0s;+ animation-delay: -1.0s;+}++.spinner .rect4 {+ -webkit-animation-delay: -0.9s;+ animation-delay: -0.9s;+}++.spinner .rect5 {+ -webkit-animation-delay: -0.8s;+ animation-delay: -0.8s;+}++@-webkit-keyframes sk-stretchdelay {+ 0%,+ 40%,+ 100% {+ -webkit-transform: scaleY(0.4)+ }+ 20% {+ -webkit-transform: scaleY(1.0)+ }+}++@keyframes sk-stretchdelay {+ 0%,+ 40%,+ 100% {+ transform: scaleY(0.4);+ -webkit-transform: scaleY(0.4);+ }+ 20% {+ transform: scaleY(1.0);+ -webkit-transform: scaleY(1.0);+ }+}diff --git a/src/AliasVault.WebApp/Auth/Components/Logo.razor b/src/AliasVault.WebApp/Auth/Components/Logo.razornew file mode 100644index 000000000..2048d96a8--- /dev/null+++ b/src/AliasVault.WebApp/Auth/Components/Logo.razor@@ -0,0 +1 @@+<img src="horizontal-logo-cropped.png" alt="AliasVault" class="img-fluid" style="max-width: 330px;"/>diff --git a/src/AliasVault.WebApp/Auth/Layout/MainLayout.razor b/src/AliasVault.WebApp/Auth/Layout/MainLayout.razornew file mode 100644index 000000000..e1a9a7567--- /dev/null+++ b/src/AliasVault.WebApp/Auth/Layout/MainLayout.razor@@ -0,0 +1,3 @@+@inherits LayoutComponentBase++@Bodydiff --git a/src/AliasVault.WebApp/Auth/Layout/MainLayout.razor.css b/src/AliasVault.WebApp/Auth/Layout/MainLayout.razor.cssnew file mode 100644index 000000000..ecf25e5b2--- /dev/null+++ b/src/AliasVault.WebApp/Auth/Layout/MainLayout.razor.css@@ -0,0 +1,77 @@+.page {+ position: relative;+ display: flex;+ flex-direction: column;+}++main {+ flex: 1;+}++.sidebar {+ background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);+}++.top-row {+ background-color: #f7f7f7;+ border-bottom: 1px solid #d6d5d5;+ justify-content: flex-end;+ height: 3.5rem;+ display: flex;+ align-items: center;+}++ .top-row ::deep a, .top-row ::deep .btn-link {+ white-space: nowrap;+ margin-left: 1.5rem;+ text-decoration: none;+ }++ .top-row ::deep a:hover, .top-row ::deep .btn-link:hover {+ text-decoration: underline;+ }++ .top-row ::deep a:first-child {+ overflow: hidden;+ text-overflow: ellipsis;+ }++@media (max-width: 640.98px) {+ .top-row {+ justify-content: space-between;+ }++ .top-row ::deep a, .top-row ::deep .btn-link {+ margin-left: 0;+ }+}++@media (min-width: 641px) {+ .page {+ flex-direction: row;+ }++ .sidebar {+ width: 250px;+ height: 100vh;+ position: sticky;+ top: 0;+ }++ .top-row {+ position: sticky;+ top: 0;+ z-index: 1;+ }++ .top-row.auth ::deep a:first-child {+ flex: 1;+ text-align: right;+ width: 0;+ }++ .top-row, article {+ padding-left: 2rem !important;+ padding-right: 1.5rem !important;+ }+}diff --git a/src/AliasVault.WebApp/Auth/Pages/Login.razor b/src/AliasVault.WebApp/Auth/Pages/Login.razornew file mode 100644index 000000000..eb6416b0f--- /dev/null+++ b/src/AliasVault.WebApp/Auth/Pages/Login.razor@@ -0,0 +1,77 @@+@page "/user/login"+@attribute [AllowAnonymous]+@layout Auth.Layout.MainLayout+@using AliasVault.Shared.Models+@using AliasVault.WebApp.Auth.Components+@inject HttpClient Http+@inject AuthenticationStateProvider AuthStateProvider+@inject ILocalStorageService LocalStorage+@inject NavigationManager NavigationManager++<div class="flex flex-col items-center justify-center px-6 pt-8 mx-auto md:h-screen pt:mt-0 dark:bg-gray-900">+ <a href="/" class="flex items-center justify-center mb-8 text-2xl font-semibold lg:mb-10 dark:text-white">+ <Logo />+ </a>+ <!-- Card -->+ <div class="w-full max-w-xl p-6 space-y-8 sm:p-8 bg-white rounded-lg shadow dark:bg-gray-800">+ <h2 class="text-2xl font-bold text-gray-900 dark:text-white">+ Sign in to AliasVault+ </h2>++ <EditForm Model="user" OnSubmit="HandleLogin" class="mt-8 space-y-6">+ <div>+ <label asp-for="Input.Email" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white"></label>+ <InputTextField id="email" @bind-Value="user.Email" placeholder="[email protected]" />+ </div>+ <div>+ <label asp-for="Input.Password" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white"></label>+ <InputTextField id="password" @bind-Value="user.Password" type="password" placeholder="••••••••" />+ </div>++ <div class="flex items-start">+ <div class="flex items-center h-5">+ <input id="remember" aria-describedby="remember" name="remember" type="checkbox" class="w-4 h-4 border-gray-300 rounded bg-gray-50 focus:ring-3 focus:ring-primary-300 dark:focus:ring-primary-600 dark:ring-offset-gray-800 dark:bg-gray-700 dark:border-gray-600">+ </div>+ <div class="ml-3 text-sm">+ <label for="remember" class="font-medium text-gray-900 dark:text-white">Remember me</label>+ </div>+ <a href="/user/forgot-password" class="ml-auto text-sm text-primary-700 hover:underline dark:text-primary-500">Lost Password?</a>+ </div>++ <button type="submit" class="w-full px-5 py-3 text-base font-medium text-center text-white bg-primary-700 rounded-lg hover:bg-primary-800 focus:ring-4 focus:ring-primary-300 sm:w-auto dark:bg-primary-600 dark:hover:bg-primary-700 dark:focus:ring-primary-800">Login to your account</button>+ <div class="text-sm font-medium text-gray-500 dark:text-gray-400">+ Not registered? <a href="/user/register" class="text-primary-700 hover:underline dark:text-primary-500">Create account</a>+ </div>+ </EditForm>+ </div>+</div>++<LoadingIndicator @ref="loadingIndicator" />++@code {+ LoginModel user = new LoginModel();+ LoadingIndicator loadingIndicator;++ async Task HandleLogin()+ {+ loadingIndicator.Show();++ try+ {+ var result = await Http.PostAsJsonAsync("api/Auth/login", user);+ var token = await result.Content.ReadAsStringAsync();+ Console.WriteLine(token);+ await LocalStorage.SetItemAsync("token", token);+ await AuthStateProvider.GetAuthenticationStateAsync();++ if (result.IsSuccessStatusCode)+ {+ NavigationManager.NavigateTo("/");+ }+ }+ finally+ {+ loadingIndicator.Hide();+ }+ }+}diff --git a/src/AliasVault.WebApp/Auth/Pages/Register.razor b/src/AliasVault.WebApp/Auth/Pages/Register.razornew file mode 100644index 000000000..1783e4ac9--- /dev/null+++ b/src/AliasVault.WebApp/Auth/Pages/Register.razor@@ -0,0 +1,113 @@+@page "/user/register"+@attribute [AllowAnonymous]+@layout Auth.Layout.MainLayout+@using AliasVault.Shared.Models+@using AliasVault.WebApp.Auth.Components+@inject HttpClient Http+@inject AuthenticationStateProvider AuthStateProvider+@inject ILocalStorageService LocalStorage+@inject NavigationManager NavigationManager++<Logo />+<h2 class="fw-bold mb-2 text-uppercase">Create account</h2>+<p class="text-white-50 mb-4">To get started, please register your account.</p>++<form id="account" method="post" class="z-index-1 position-relative needs-validation" novalidate="">+ <EditForm Model="user" OnSubmit="HandleRegister">+ <div data-mdb-input-init class="form-outline form-white mb-4">+ <label asp-for="Input.Email" class="form-label">Email</label>+ <InputTextField id="Input.Email" @bind-Value="user.Email" class="form-control" />+ <ValidationMessage For="@(() => user.Email)" />+ </div>++ <div data-mdb-input-init class="form-outline form-white mb-4">+ <label asp-for="Input.Password" class="form-label">Password</label>+ <InputTextField id="Input.Password" @bind-Value="user.Password" class="form-control" />+ <ValidationMessage For="@(() => user.Password)" />+ </div>++ <div data-mdb-input-init class="form-outline form-white mb-4">+ <label asp-for="Input.PasswordConfirm" class="form-label">Password (confirm)</label>+ <InputTextField id="Input.PasswordConfirm" @bind-Value="user.PasswordConfirm" class="form-control" />+ <ValidationMessage For="@(() => user.PasswordConfirm)" />+ </div>++ <div class="form-check mb-3">+ <div>+ <InputCheckbox id="Input.AcceptTerms" @bind-Value="user.AcceptTerms" class="form-check-input"></InputCheckbox>+ <label for="Input_AcceptTerms" class="form-label">I agree with the <a href="/terms-conditions" target="_blank">terms and conditions</a></label>+ </div>+ </div>++ <button data-mdb-button-init data-mdb-ripple-init class="btn btn-outline-light btn-lg px-5" type="submit">Register</button>+ </EditForm>+</form>++@if (validationErrors.Any())+{+ <div class="alert alert-danger">+ <ul>+ @foreach (var error in validationErrors)+ {+ <li>@error</li>+ }+ </ul>+ </div>+}++<div>+ <p class="mb-0">Already have an account? <a href="/user/login" class="text-white-50 fw-bold">Sign In</a>+ </p>+</div>++<LoadingIndicator @ref="loadingIndicator" />++@code {+ RegisterModel user = new RegisterModel();+ LoadingIndicator loadingIndicator;+ List<string> validationErrors = new List<string>();++ async Task HandleRegister()+ {+ loadingIndicator.Show();+ validationErrors.Clear();++ try+ {+ var result = await Http.PostAsJsonAsync("api/Auth/register", user);++ if (result.IsSuccessStatusCode)+ {+ var token = await result.Content.ReadAsStringAsync();+ await LocalStorage.SetItemAsync("token", token);+ await AuthStateProvider.GetAuthenticationStateAsync();+ NavigationManager.NavigateTo("/");+ }+ else+ {+ var responseContent = await result.Content.ReadAsStringAsync();+ var errorResponse = System.Text.Json.JsonSerializer.Deserialize<ValidationErrorResponse>(responseContent);+ if (errorResponse != null && errorResponse.Errors != null)+ {+ foreach (var error in errorResponse.Errors.Values)+ {+ validationErrors.AddRange(error);+ }+ }+ }+ }+ finally+ {+ loadingIndicator.Hide();+ }+ }++ public class ValidationErrorResponse+ {+ public string Type { get; set; }+ public string Title { get; set; }+ public int Status { get; set; }+ public IDictionary<string, string[]> Errors { get; set; }+ public string TraceId { get; set; }+ }+}diff --git a/src/AliasVault.WebApp/Components/LoginLogoutButton.razor b/src/AliasVault.WebApp/Components/LoginLogoutButton.razornew file mode 100644index 000000000..77595d743--- /dev/null+++ b/src/AliasVault.WebApp/Components/LoginLogoutButton.razor@@ -0,0 +1,26 @@+@inject NavigationManager NavigationManager+@inject ILocalStorageService LocalStorage+@inject AuthenticationStateProvider AuthStateProvider++<AuthorizeView>+ <Authorized>+ <button @onclick="Logout" class="btn btn-danger">Logout</button>+ </Authorized>+ <NotAuthorized>+ <button @onclick="Login" class="btn btn-primary">Login</button>+ </NotAuthorized>+</AuthorizeView>++@code {+ void Login()+ {+ NavigationManager.NavigateTo("login");+ }++ async Task Logout()+ {+ await LocalStorage.RemoveItemAsync("token");+ await AuthStateProvider.GetAuthenticationStateAsync();+ }++}diff --git a/src/AliasVault.WebApp/Components/RedirectToLogin.razor b/src/AliasVault.WebApp/Components/RedirectToLogin.razornew file mode 100644index 000000000..145177ab4--- /dev/null+++ b/src/AliasVault.WebApp/Components/RedirectToLogin.razor@@ -0,0 +1,8 @@+@code {+ [Inject] private NavigationManager Navigation { get; set; }++ protected override void OnInitialized()+ {+ Navigation.NavigateTo("/user/login");+ }+}diff --git a/src/AliasVault.WebApp/CustomAuthStateProvider.cs b/src/AliasVault.WebApp/CustomAuthStateProvider.csnew file mode 100644index 000000000..2a3abb47c--- /dev/null+++ b/src/AliasVault.WebApp/CustomAuthStateProvider.cs@@ -0,0 +1,69 @@+using Blazored.LocalStorage;++namespace AliasVault.WebApp;++using System.Net.Http.Headers;+using System.Security.Claims;+using System.Text.Json;+using Microsoft.AspNetCore.Components.Authorization;++public class CustomAuthStateProvider : AuthenticationStateProvider+{+ private readonly ILocalStorageService _localStorage;+ private readonly HttpClient _http;++ public CustomAuthStateProvider(ILocalStorageService localStorage, HttpClient http)+ {+ _localStorage = localStorage;+ _http = http;+ }++ public override async Task<AuthenticationState> GetAuthenticationStateAsync()+ {+ string token = await _localStorage.GetItemAsStringAsync("token");++ var identity = new ClaimsIdentity();+ _http.DefaultRequestHeaders.Authorization = null;++ if (!string.IsNullOrEmpty(token))+ {+ try+ {+ identity = new ClaimsIdentity(ParseClaimsFromJwt(token), "jwt");+ _http.DefaultRequestHeaders.Authorization =+ new AuthenticationHeaderValue("Bearer", token.Replace("\"", ""));+ }+ catch (Exception)+ {+ Console.WriteLine("Invalid JWT token. Removing...");+ await _localStorage.RemoveItemAsync("token");+ identity = new ClaimsIdentity();+ }+ }++ var user = new ClaimsPrincipal(identity);+ var state = new AuthenticationState(user);++ NotifyAuthenticationStateChanged(Task.FromResult(state));++ return state;+ }++ public static IEnumerable<Claim> ParseClaimsFromJwt(string jwt)+ {+ var payload = jwt.Split('.')[1];+ var jsonBytes = ParseBase64WithoutPadding(payload);+ var keyValuePairs = JsonSerializer.Deserialize<Dictionary<string, object>>(jsonBytes);+ return keyValuePairs.Select(kvp => new Claim(kvp.Key, kvp.Value.ToString()));+ }++ private static byte[] ParseBase64WithoutPadding(string base64)+ {+ switch (base64.Length % 4)+ {+ case 2: base64 += "=="; break;+ case 3: base64 += "="; break;+ }+ return Convert.FromBase64String(base64);+ }+}diff --git a/src/AliasVault.WebApp/Layout/MainLayout.razor b/src/AliasVault.WebApp/Layout/MainLayout.razorindex c44193dfc..dfafffc09 100644--- a/src/AliasVault.WebApp/Layout/MainLayout.razor+++ b/src/AliasVault.WebApp/Layout/MainLayout.razor@@ -1,12 +1,13 @@@inherits LayoutComponentBase+<div class="page"><div class="sidebar">- <NavMenu/>+ <NavMenu /></div><main><div class="top-row px-4">- <a href="https://learn.microsoft.com/aspnet/core/" target="_blank">About</a>+ <LoginLogoutButton /></div><article class="content px-4">diff --git a/src/AliasVault.WebApp/Layout/NavMenu.razor b/src/AliasVault.WebApp/Layout/NavMenu.razorindex f01cca9d5..5a6a014ba 100644--- a/src/AliasVault.WebApp/Layout/NavMenu.razor+++ b/src/AliasVault.WebApp/Layout/NavMenu.razor@@ -1,27 +1,27 @@<div class="top-row ps-3 navbar navbar-dark"><div class="container-fluid">- <a class="navbar-brand" href="">AliasVault.WebApp</a>+ <a class="navbar-brand" href="">AliasVault</a><button title="Navigation menu" class="navbar-toggler" @onclick="ToggleNavMenu"><span class="navbar-toggler-icon"></span></button></div></div>-<div class="@NavMenuCssClass nav-scrollable" @onclick="ToggleNavMenu">+<div class="@NavMenuCssClass" @onclick="ToggleNavMenu"><nav class="flex-column"><div class="nav-item px-3"><NavLink class="nav-link" href="" Match="NavLinkMatch.All">- <span class="bi bi-house-door-fill-nav-menu" aria-hidden="true"></span> Home+ <span class="oi oi-home" aria-hidden="true"></span> Home</NavLink></div><div class="nav-item px-3"><NavLink class="nav-link" href="counter">- <span class="bi bi-plus-square-fill-nav-menu" aria-hidden="true"></span> Counter+ <span class="oi oi-plus" aria-hidden="true"></span> Counter</NavLink></div><div class="nav-item px-3">- <NavLink class="nav-link" href="weather">- <span class="bi bi-list-nested-nav-menu" aria-hidden="true"></span> Weather+ <NavLink class="nav-link" href="fetchdata">+ <span class="oi oi-list-rich" aria-hidden="true"></span> Fetch data</NavLink></div></nav>@@ -36,5 +36,4 @@{collapseNavMenu = !collapseNavMenu;}-}diff --git a/src/AliasVault.WebApp/Program.cs b/src/AliasVault.WebApp/Program.csindex e7e19da32..59899d08e 100644--- a/src/AliasVault.WebApp/Program.cs+++ b/src/AliasVault.WebApp/Program.cs@@ -1,11 +1,17 @@using Microsoft.AspNetCore.Components.Web;using Microsoft.AspNetCore.Components.WebAssembly.Hosting;+using Blazored.LocalStorage;+using Microsoft.AspNetCore.Components.Authorization;using AliasVault.WebApp;var builder = WebAssemblyHostBuilder.CreateDefault(args);builder.RootComponents.Add<App>("#app");builder.RootComponents.Add<HeadOutlet>("head::after");-builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });+builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("http://localhost:5092") });++builder.Services.AddScoped<AuthenticationStateProvider, CustomAuthStateProvider>();+builder.Services.AddAuthorizationCore();+builder.Services.AddBlazoredLocalStorage();await builder.Build().RunAsync();diff --git a/src/AliasVault.WebApp/Styles/tailwind.css b/src/AliasVault.WebApp/Styles/tailwind.cssnew file mode 100644index 000000000..b5c61c956--- /dev/null+++ b/src/AliasVault.WebApp/Styles/tailwind.css@@ -0,0 +1,3 @@+@tailwind base;+@tailwind components;+@tailwind utilities;diff --git a/src/AliasVault.WebApp/_Imports.razor b/src/AliasVault.WebApp/_Imports.razorindex e444e9ee6..90a4d0142 100644--- a/src/AliasVault.WebApp/_Imports.razor+++ b/src/AliasVault.WebApp/_Imports.razor@@ -1,4 +1,7 @@-@using System.Net.Http+@using Microsoft.AspNetCore.Authorization+@attribute [Authorize]++@using System.Net.Http@using System.Net.Http.Json@using Microsoft.AspNetCore.Components.Forms@using Microsoft.AspNetCore.Components.Routing@@ -8,3 +11,7 @@@using Microsoft.JSInterop@using AliasVault.WebApp@using AliasVault.WebApp.Layout+@using AliasVault.WebApp.Components+@using Microsoft.AspNetCore.Components.Authorization+@using Microsoft.AspNetCore.Components.WebAssembly.Authentication+@using Blazored.LocalStoragediff --git a/src/AliasVault.WebApp/package-lock.json b/src/AliasVault.WebApp/package-lock.jsonnew file mode 100644index 000000000..2cd36d8a4--- /dev/null+++ b/src/AliasVault.WebApp/package-lock.json@@ -0,0 +1,1425 @@+{+ "name": "aliasvault.webapp",+ "version": "1.0.0",+ "lockfileVersion": 3,+ "requires": true,+ "packages": {+ "": {+ "name": "aliasvault.webapp",+ "version": "1.0.0",+ "license": "ISC",+ "dependencies": {+ "autoprefixer": "^10.4.19",+ "postcss": "^8.4.38",+ "tailwindcss": "^3.4.3"+ }+ },+ "node_modules/@alloc/quick-lru": {+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz",+ "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==",+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/@isaacs/cliui": {+ "version": "8.0.2",+ "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",+ "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==",+ "dependencies": {+ "string-width": "^5.1.2",+ "string-width-cjs": "npm:string-width@^4.2.0",+ "strip-ansi": "^7.0.1",+ "strip-ansi-cjs": "npm:strip-ansi@^6.0.1",+ "wrap-ansi": "^8.1.0",+ "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0"+ },+ "engines": {+ "node": ">=12"+ }+ },+ "node_modules/@jridgewell/gen-mapping": {+ "version": "0.3.5",+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz",+ "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==",+ "dependencies": {+ "@jridgewell/set-array": "^1.2.1",+ "@jridgewell/sourcemap-codec": "^1.4.10",+ "@jridgewell/trace-mapping": "^0.3.24"+ },+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "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==",+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/@jridgewell/set-array": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz",+ "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==",+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/@jridgewell/sourcemap-codec": {+ "version": "1.4.15",+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz",+ "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg=="+ },+ "node_modules/@jridgewell/trace-mapping": {+ "version": "0.3.25",+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz",+ "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==",+ "dependencies": {+ "@jridgewell/resolve-uri": "^3.1.0",+ "@jridgewell/sourcemap-codec": "^1.4.14"+ }+ },+ "node_modules/@nodelib/fs.scandir": {+ "version": "2.1.5",+ "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",+ "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",+ "dependencies": {+ "@nodelib/fs.stat": "2.0.5",+ "run-parallel": "^1.1.9"+ },+ "engines": {+ "node": ">= 8"+ }+ },+ "node_modules/@nodelib/fs.stat": {+ "version": "2.0.5",+ "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",+ "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",+ "engines": {+ "node": ">= 8"+ }+ },+ "node_modules/@nodelib/fs.walk": {+ "version": "1.2.8",+ "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",+ "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",+ "dependencies": {+ "@nodelib/fs.scandir": "2.1.5",+ "fastq": "^1.6.0"+ },+ "engines": {+ "node": ">= 8"+ }+ },+ "node_modules/@pkgjs/parseargs": {+ "version": "0.11.0",+ "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",+ "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==",+ "optional": true,+ "engines": {+ "node": ">=14"+ }+ },+ "node_modules/ansi-regex": {+ "version": "6.0.1",+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz",+ "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==",+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/chalk/ansi-regex?sponsor=1"+ }+ },+ "node_modules/ansi-styles": {+ "version": "6.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz",+ "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==",+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"+ }+ },+ "node_modules/any-promise": {+ "version": "1.3.0",+ "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz",+ "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A=="+ },+ "node_modules/anymatch": {+ "version": "3.1.3",+ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz",+ "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",+ "dependencies": {+ "normalize-path": "^3.0.0",+ "picomatch": "^2.0.4"+ },+ "engines": {+ "node": ">= 8"+ }+ },+ "node_modules/arg": {+ "version": "5.0.2",+ "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz",+ "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg=="+ },+ "node_modules/autoprefixer": {+ "version": "10.4.19",+ "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.19.tgz",+ "integrity": "sha512-BaENR2+zBZ8xXhM4pUaKUxlVdxZ0EZhjvbopwnXmxRUfqDmwSpC2lAi/QXvx7NRdPCo1WKEcEF6mV64si1z4Ew==",+ "funding": [+ {+ "type": "opencollective",+ "url": "https://opencollective.com/postcss/"+ },+ {+ "type": "tidelift",+ "url": "https://tidelift.com/funding/github/npm/autoprefixer"+ },+ {+ "type": "github",+ "url": "https://github.com/sponsors/ai"+ }+ ],+ "dependencies": {+ "browserslist": "^4.23.0",+ "caniuse-lite": "^1.0.30001599",+ "fraction.js": "^4.3.7",+ "normalize-range": "^0.1.2",+ "picocolors": "^1.0.0",+ "postcss-value-parser": "^4.2.0"+ },+ "bin": {+ "autoprefixer": "bin/autoprefixer"+ },+ "engines": {+ "node": "^10 || ^12 || >=14"+ },+ "peerDependencies": {+ "postcss": "^8.1.0"+ }+ },+ "node_modules/balanced-match": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",+ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="+ },+ "node_modules/binary-extensions": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz",+ "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==",+ "engines": {+ "node": ">=8"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/brace-expansion": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",+ "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",+ "dependencies": {+ "balanced-match": "^1.0.0"+ }+ },+ "node_modules/braces": {+ "version": "3.0.3",+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",+ "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",+ "dependencies": {+ "fill-range": "^7.1.1"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/browserslist": {+ "version": "4.23.0",+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.0.tgz",+ "integrity": "sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ==",+ "funding": [+ {+ "type": "opencollective",+ "url": "https://opencollective.com/browserslist"+ },+ {+ "type": "tidelift",+ "url": "https://tidelift.com/funding/github/npm/browserslist"+ },+ {+ "type": "github",+ "url": "https://github.com/sponsors/ai"+ }+ ],+ "dependencies": {+ "caniuse-lite": "^1.0.30001587",+ "electron-to-chromium": "^1.4.668",+ "node-releases": "^2.0.14",+ "update-browserslist-db": "^1.0.13"+ },+ "bin": {+ "browserslist": "cli.js"+ },+ "engines": {+ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"+ }+ },+ "node_modules/camelcase-css": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz",+ "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==",+ "engines": {+ "node": ">= 6"+ }+ },+ "node_modules/caniuse-lite": {+ "version": "1.0.30001626",+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001626.tgz",+ "integrity": "sha512-JRW7kAH8PFJzoPCJhLSHgDgKg5348hsQ68aqb+slnzuB5QFERv846oA/mRChmlLAOdEDeOkRn3ynb1gSFnjt3w==",+ "funding": [+ {+ "type": "opencollective",+ "url": "https://opencollective.com/browserslist"+ },+ {+ "type": "tidelift",+ "url": "https://tidelift.com/funding/github/npm/caniuse-lite"+ },+ {+ "type": "github",+ "url": "https://github.com/sponsors/ai"+ }+ ]+ },+ "node_modules/chokidar": {+ "version": "3.6.0",+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz",+ "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==",+ "dependencies": {+ "anymatch": "~3.1.2",+ "braces": "~3.0.2",+ "glob-parent": "~5.1.2",+ "is-binary-path": "~2.1.0",+ "is-glob": "~4.0.1",+ "normalize-path": "~3.0.0",+ "readdirp": "~3.6.0"+ },+ "engines": {+ "node": ">= 8.10.0"+ },+ "funding": {+ "url": "https://paulmillr.com/funding/"+ },+ "optionalDependencies": {+ "fsevents": "~2.3.2"+ }+ },+ "node_modules/chokidar/node_modules/glob-parent": {+ "version": "5.1.2",+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",+ "dependencies": {+ "is-glob": "^4.0.1"+ },+ "engines": {+ "node": ">= 6"+ }+ },+ "node_modules/color-convert": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",+ "dependencies": {+ "color-name": "~1.1.4"+ },+ "engines": {+ "node": ">=7.0.0"+ }+ },+ "node_modules/color-name": {+ "version": "1.1.4",+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="+ },+ "node_modules/commander": {+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz",+ "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==",+ "engines": {+ "node": ">= 6"+ }+ },+ "node_modules/cross-spawn": {+ "version": "7.0.3",+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",+ "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",+ "dependencies": {+ "path-key": "^3.1.0",+ "shebang-command": "^2.0.0",+ "which": "^2.0.1"+ },+ "engines": {+ "node": ">= 8"+ }+ },+ "node_modules/cssesc": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",+ "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==",+ "bin": {+ "cssesc": "bin/cssesc"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/didyoumean": {+ "version": "1.2.2",+ "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz",+ "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw=="+ },+ "node_modules/dlv": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz",+ "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA=="+ },+ "node_modules/eastasianwidth": {+ "version": "0.2.0",+ "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz",+ "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA=="+ },+ "node_modules/electron-to-chromium": {+ "version": "1.4.788",+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.788.tgz",+ "integrity": "sha512-ubp5+Ev/VV8KuRoWnfP2QF2Bg+O2ZFdb49DiiNbz2VmgkIqrnyYaqIOqj8A6K/3p1xV0QcU5hBQ1+BmB6ot1OA=="+ },+ "node_modules/emoji-regex": {+ "version": "9.2.2",+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",+ "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg=="+ },+ "node_modules/escalade": {+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz",+ "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==",+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/fast-glob": {+ "version": "3.3.2",+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz",+ "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==",+ "dependencies": {+ "@nodelib/fs.stat": "^2.0.2",+ "@nodelib/fs.walk": "^1.2.3",+ "glob-parent": "^5.1.2",+ "merge2": "^1.3.0",+ "micromatch": "^4.0.4"+ },+ "engines": {+ "node": ">=8.6.0"+ }+ },+ "node_modules/fast-glob/node_modules/glob-parent": {+ "version": "5.1.2",+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",+ "dependencies": {+ "is-glob": "^4.0.1"+ },+ "engines": {+ "node": ">= 6"+ }+ },+ "node_modules/fastq": {+ "version": "1.17.1",+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz",+ "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==",+ "dependencies": {+ "reusify": "^1.0.4"+ }+ },+ "node_modules/fill-range": {+ "version": "7.1.1",+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",+ "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",+ "dependencies": {+ "to-regex-range": "^5.0.1"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/foreground-child": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz",+ "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==",+ "dependencies": {+ "cross-spawn": "^7.0.0",+ "signal-exit": "^4.0.1"+ },+ "engines": {+ "node": ">=14"+ },+ "funding": {+ "url": "https://github.com/sponsors/isaacs"+ }+ },+ "node_modules/fraction.js": {+ "version": "4.3.7",+ "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.7.tgz",+ "integrity": "sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==",+ "engines": {+ "node": "*"+ },+ "funding": {+ "type": "patreon",+ "url": "https://github.com/sponsors/rawify"+ }+ },+ "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,+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"+ }+ },+ "node_modules/function-bind": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",+ "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/glob": {+ "version": "10.4.1",+ "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.1.tgz",+ "integrity": "sha512-2jelhlq3E4ho74ZyVLN03oKdAZVUa6UDZzFLVH1H7dnoax+y9qyaq8zBkfDIggjniU19z0wU18y16jMB2eyVIw==",+ "dependencies": {+ "foreground-child": "^3.1.0",+ "jackspeak": "^3.1.2",+ "minimatch": "^9.0.4",+ "minipass": "^7.1.2",+ "path-scurry": "^1.11.1"+ },+ "bin": {+ "glob": "dist/esm/bin.mjs"+ },+ "engines": {+ "node": ">=16 || 14 >=14.18"+ },+ "funding": {+ "url": "https://github.com/sponsors/isaacs"+ }+ },+ "node_modules/glob-parent": {+ "version": "6.0.2",+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",+ "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",+ "dependencies": {+ "is-glob": "^4.0.3"+ },+ "engines": {+ "node": ">=10.13.0"+ }+ },+ "node_modules/hasown": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",+ "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",+ "dependencies": {+ "function-bind": "^1.1.2"+ },+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/is-binary-path": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",+ "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",+ "dependencies": {+ "binary-extensions": "^2.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/is-core-module": {+ "version": "2.13.1",+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz",+ "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==",+ "dependencies": {+ "hasown": "^2.0.0"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/is-extglob": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",+ "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/is-fullwidth-code-point": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/is-glob": {+ "version": "4.0.3",+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",+ "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",+ "dependencies": {+ "is-extglob": "^2.1.1"+ },+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/is-number": {+ "version": "7.0.0",+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",+ "engines": {+ "node": ">=0.12.0"+ }+ },+ "node_modules/isexe": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",+ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="+ },+ "node_modules/jackspeak": {+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.1.2.tgz",+ "integrity": "sha512-kWmLKn2tRtfYMF/BakihVVRzBKOxz4gJMiL2Rj91WnAB5TPZumSH99R/Yf1qE1u4uRimvCSJfm6hnxohXeEXjQ==",+ "dependencies": {+ "@isaacs/cliui": "^8.0.2"+ },+ "engines": {+ "node": ">=14"+ },+ "funding": {+ "url": "https://github.com/sponsors/isaacs"+ },+ "optionalDependencies": {+ "@pkgjs/parseargs": "^0.11.0"+ }+ },+ "node_modules/jiti": {+ "version": "1.21.0",+ "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.0.tgz",+ "integrity": "sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==",+ "bin": {+ "jiti": "bin/jiti.js"+ }+ },+ "node_modules/lilconfig": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz",+ "integrity": "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==",+ "engines": {+ "node": ">=10"+ }+ },+ "node_modules/lines-and-columns": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",+ "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg=="+ },+ "node_modules/lru-cache": {+ "version": "10.2.2",+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.2.tgz",+ "integrity": "sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ==",+ "engines": {+ "node": "14 || >=16.14"+ }+ },+ "node_modules/merge2": {+ "version": "1.4.1",+ "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",+ "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",+ "engines": {+ "node": ">= 8"+ }+ },+ "node_modules/micromatch": {+ "version": "4.0.7",+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz",+ "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==",+ "dependencies": {+ "braces": "^3.0.3",+ "picomatch": "^2.3.1"+ },+ "engines": {+ "node": ">=8.6"+ }+ },+ "node_modules/minimatch": {+ "version": "9.0.4",+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz",+ "integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==",+ "dependencies": {+ "brace-expansion": "^2.0.1"+ },+ "engines": {+ "node": ">=16 || 14 >=14.17"+ },+ "funding": {+ "url": "https://github.com/sponsors/isaacs"+ }+ },+ "node_modules/minipass": {+ "version": "7.1.2",+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz",+ "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==",+ "engines": {+ "node": ">=16 || 14 >=14.17"+ }+ },+ "node_modules/mz": {+ "version": "2.7.0",+ "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz",+ "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==",+ "dependencies": {+ "any-promise": "^1.0.0",+ "object-assign": "^4.0.1",+ "thenify-all": "^1.0.0"+ }+ },+ "node_modules/nanoid": {+ "version": "3.3.7",+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz",+ "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==",+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/ai"+ }+ ],+ "bin": {+ "nanoid": "bin/nanoid.cjs"+ },+ "engines": {+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"+ }+ },+ "node_modules/node-releases": {+ "version": "2.0.14",+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz",+ "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw=="+ },+ "node_modules/normalize-path": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",+ "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/normalize-range": {+ "version": "0.1.2",+ "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz",+ "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/object-assign": {+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",+ "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/object-hash": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz",+ "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==",+ "engines": {+ "node": ">= 6"+ }+ },+ "node_modules/path-key": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",+ "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/path-parse": {+ "version": "1.0.7",+ "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",+ "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw=="+ },+ "node_modules/path-scurry": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz",+ "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==",+ "dependencies": {+ "lru-cache": "^10.2.0",+ "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0"+ },+ "engines": {+ "node": ">=16 || 14 >=14.18"+ },+ "funding": {+ "url": "https://github.com/sponsors/isaacs"+ }+ },+ "node_modules/picocolors": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz",+ "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew=="+ },+ "node_modules/picomatch": {+ "version": "2.3.1",+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",+ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",+ "engines": {+ "node": ">=8.6"+ },+ "funding": {+ "url": "https://github.com/sponsors/jonschlinkert"+ }+ },+ "node_modules/pify": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",+ "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/pirates": {+ "version": "4.0.6",+ "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz",+ "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==",+ "engines": {+ "node": ">= 6"+ }+ },+ "node_modules/postcss": {+ "version": "8.4.38",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.38.tgz",+ "integrity": "sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==",+ "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"+ }+ ],+ "dependencies": {+ "nanoid": "^3.3.7",+ "picocolors": "^1.0.0",+ "source-map-js": "^1.2.0"+ },+ "engines": {+ "node": "^10 || ^12 || >=14"+ }+ },+ "node_modules/postcss-import": {+ "version": "15.1.0",+ "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz",+ "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==",+ "dependencies": {+ "postcss-value-parser": "^4.0.0",+ "read-cache": "^1.0.0",+ "resolve": "^1.1.7"+ },+ "engines": {+ "node": ">=14.0.0"+ },+ "peerDependencies": {+ "postcss": "^8.0.0"+ }+ },+ "node_modules/postcss-js": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.1.tgz",+ "integrity": "sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==",+ "dependencies": {+ "camelcase-css": "^2.0.1"+ },+ "engines": {+ "node": "^12 || ^14 || >= 16"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/postcss/"+ },+ "peerDependencies": {+ "postcss": "^8.4.21"+ }+ },+ "node_modules/postcss-load-config": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.2.tgz",+ "integrity": "sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==",+ "funding": [+ {+ "type": "opencollective",+ "url": "https://opencollective.com/postcss/"+ },+ {+ "type": "github",+ "url": "https://github.com/sponsors/ai"+ }+ ],+ "dependencies": {+ "lilconfig": "^3.0.0",+ "yaml": "^2.3.4"+ },+ "engines": {+ "node": ">= 14"+ },+ "peerDependencies": {+ "postcss": ">=8.0.9",+ "ts-node": ">=9.0.0"+ },+ "peerDependenciesMeta": {+ "postcss": {+ "optional": true+ },+ "ts-node": {+ "optional": true+ }+ }+ },+ "node_modules/postcss-load-config/node_modules/lilconfig": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.1.tgz",+ "integrity": "sha512-O18pf7nyvHTckunPWCV1XUNXU1piu01y2b7ATJ0ppkUkk8ocqVWBrYjJBCwHDjD/ZWcfyrA0P4gKhzWGi5EINQ==",+ "engines": {+ "node": ">=14"+ },+ "funding": {+ "url": "https://github.com/sponsors/antonk52"+ }+ },+ "node_modules/postcss-nested": {+ "version": "6.0.1",+ "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.0.1.tgz",+ "integrity": "sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==",+ "dependencies": {+ "postcss-selector-parser": "^6.0.11"+ },+ "engines": {+ "node": ">=12.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/postcss/"+ },+ "peerDependencies": {+ "postcss": "^8.2.14"+ }+ },+ "node_modules/postcss-selector-parser": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.0.tgz",+ "integrity": "sha512-UMz42UD0UY0EApS0ZL9o1XnLhSTtvvvLe5Dc2H2O56fvRZi+KulDyf5ctDhhtYJBGKStV2FL1fy6253cmLgqVQ==",+ "dependencies": {+ "cssesc": "^3.0.0",+ "util-deprecate": "^1.0.2"+ },+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/postcss-value-parser": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz",+ "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ=="+ },+ "node_modules/queue-microtask": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",+ "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/feross"+ },+ {+ "type": "patreon",+ "url": "https://www.patreon.com/feross"+ },+ {+ "type": "consulting",+ "url": "https://feross.org/support"+ }+ ]+ },+ "node_modules/read-cache": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz",+ "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==",+ "dependencies": {+ "pify": "^2.3.0"+ }+ },+ "node_modules/readdirp": {+ "version": "3.6.0",+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",+ "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",+ "dependencies": {+ "picomatch": "^2.2.1"+ },+ "engines": {+ "node": ">=8.10.0"+ }+ },+ "node_modules/resolve": {+ "version": "1.22.8",+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz",+ "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==",+ "dependencies": {+ "is-core-module": "^2.13.0",+ "path-parse": "^1.0.7",+ "supports-preserve-symlinks-flag": "^1.0.0"+ },+ "bin": {+ "resolve": "bin/resolve"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/reusify": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",+ "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",+ "engines": {+ "iojs": ">=1.0.0",+ "node": ">=0.10.0"+ }+ },+ "node_modules/run-parallel": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",+ "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/feross"+ },+ {+ "type": "patreon",+ "url": "https://www.patreon.com/feross"+ },+ {+ "type": "consulting",+ "url": "https://feross.org/support"+ }+ ],+ "dependencies": {+ "queue-microtask": "^1.2.2"+ }+ },+ "node_modules/shebang-command": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",+ "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",+ "dependencies": {+ "shebang-regex": "^3.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/shebang-regex": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",+ "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/signal-exit": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz",+ "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==",+ "engines": {+ "node": ">=14"+ },+ "funding": {+ "url": "https://github.com/sponsors/isaacs"+ }+ },+ "node_modules/source-map-js": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz",+ "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/string-width": {+ "version": "5.1.2",+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",+ "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==",+ "dependencies": {+ "eastasianwidth": "^0.2.0",+ "emoji-regex": "^9.2.2",+ "strip-ansi": "^7.0.1"+ },+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/string-width-cjs": {+ "name": "string-width",+ "version": "4.2.3",+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",+ "dependencies": {+ "emoji-regex": "^8.0.0",+ "is-fullwidth-code-point": "^3.0.0",+ "strip-ansi": "^6.0.1"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/string-width-cjs/node_modules/ansi-regex": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/string-width-cjs/node_modules/emoji-regex": {+ "version": "8.0.0",+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="+ },+ "node_modules/string-width-cjs/node_modules/strip-ansi": {+ "version": "6.0.1",+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",+ "dependencies": {+ "ansi-regex": "^5.0.1"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/strip-ansi": {+ "version": "7.1.0",+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",+ "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==",+ "dependencies": {+ "ansi-regex": "^6.0.1"+ },+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/chalk/strip-ansi?sponsor=1"+ }+ },+ "node_modules/strip-ansi-cjs": {+ "name": "strip-ansi",+ "version": "6.0.1",+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",+ "dependencies": {+ "ansi-regex": "^5.0.1"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/strip-ansi-cjs/node_modules/ansi-regex": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/sucrase": {+ "version": "3.35.0",+ "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.0.tgz",+ "integrity": "sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==",+ "dependencies": {+ "@jridgewell/gen-mapping": "^0.3.2",+ "commander": "^4.0.0",+ "glob": "^10.3.10",+ "lines-and-columns": "^1.1.6",+ "mz": "^2.7.0",+ "pirates": "^4.0.1",+ "ts-interface-checker": "^0.1.9"+ },+ "bin": {+ "sucrase": "bin/sucrase",+ "sucrase-node": "bin/sucrase-node"+ },+ "engines": {+ "node": ">=16 || 14 >=14.17"+ }+ },+ "node_modules/supports-preserve-symlinks-flag": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",+ "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",+ "engines": {+ "node": ">= 0.4"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }+ },+ "node_modules/tailwindcss": {+ "version": "3.4.3",+ "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.3.tgz",+ "integrity": "sha512-U7sxQk/n397Bmx4JHbJx/iSOOv5G+II3f1kpLpY2QeUv5DcPdcTsYLlusZfq1NthHS1c1cZoyFmmkex1rzke0A==",+ "dependencies": {+ "@alloc/quick-lru": "^5.2.0",+ "arg": "^5.0.2",+ "chokidar": "^3.5.3",+ "didyoumean": "^1.2.2",+ "dlv": "^1.1.3",+ "fast-glob": "^3.3.0",+ "glob-parent": "^6.0.2",+ "is-glob": "^4.0.3",+ "jiti": "^1.21.0",+ "lilconfig": "^2.1.0",+ "micromatch": "^4.0.5",+ "normalize-path": "^3.0.0",+ "object-hash": "^3.0.0",+ "picocolors": "^1.0.0",+ "postcss": "^8.4.23",+ "postcss-import": "^15.1.0",+ "postcss-js": "^4.0.1",+ "postcss-load-config": "^4.0.1",+ "postcss-nested": "^6.0.1",+ "postcss-selector-parser": "^6.0.11",+ "resolve": "^1.22.2",+ "sucrase": "^3.32.0"+ },+ "bin": {+ "tailwind": "lib/cli.js",+ "tailwindcss": "lib/cli.js"+ },+ "engines": {+ "node": ">=14.0.0"+ }+ },+ "node_modules/thenify": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz",+ "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==",+ "dependencies": {+ "any-promise": "^1.0.0"+ }+ },+ "node_modules/thenify-all": {+ "version": "1.6.0",+ "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz",+ "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==",+ "dependencies": {+ "thenify": ">= 3.1.0 < 4"+ },+ "engines": {+ "node": ">=0.8"+ }+ },+ "node_modules/to-regex-range": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",+ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",+ "dependencies": {+ "is-number": "^7.0.0"+ },+ "engines": {+ "node": ">=8.0"+ }+ },+ "node_modules/ts-interface-checker": {+ "version": "0.1.13",+ "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz",+ "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA=="+ },+ "node_modules/update-browserslist-db": {+ "version": "1.0.16",+ "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.16.tgz",+ "integrity": "sha512-KVbTxlBYlckhF5wgfyZXTWnMn7MMZjMu9XG8bPlliUOP9ThaF4QnhP8qrjrH7DRzHfSk0oQv1wToW+iA5GajEQ==",+ "funding": [+ {+ "type": "opencollective",+ "url": "https://opencollective.com/browserslist"+ },+ {+ "type": "tidelift",+ "url": "https://tidelift.com/funding/github/npm/browserslist"+ },+ {+ "type": "github",+ "url": "https://github.com/sponsors/ai"+ }+ ],+ "dependencies": {+ "escalade": "^3.1.2",+ "picocolors": "^1.0.1"+ },+ "bin": {+ "update-browserslist-db": "cli.js"+ },+ "peerDependencies": {+ "browserslist": ">= 4.21.0"+ }+ },+ "node_modules/util-deprecate": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",+ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="+ },+ "node_modules/which": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",+ "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",+ "dependencies": {+ "isexe": "^2.0.0"+ },+ "bin": {+ "node-which": "bin/node-which"+ },+ "engines": {+ "node": ">= 8"+ }+ },+ "node_modules/wrap-ansi": {+ "version": "8.1.0",+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz",+ "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==",+ "dependencies": {+ "ansi-styles": "^6.1.0",+ "string-width": "^5.0.1",+ "strip-ansi": "^7.0.1"+ },+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"+ }+ },+ "node_modules/wrap-ansi-cjs": {+ "name": "wrap-ansi",+ "version": "7.0.0",+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",+ "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",+ "dependencies": {+ "ansi-styles": "^4.0.0",+ "string-width": "^4.1.0",+ "strip-ansi": "^6.0.0"+ },+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"+ }+ },+ "node_modules/wrap-ansi-cjs/node_modules/ansi-regex": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",+ "dependencies": {+ "color-convert": "^2.0.1"+ },+ "engines": {+ "node": ">=8"+ },+ "funding": {+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"+ }+ },+ "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": {+ "version": "8.0.0",+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="+ },+ "node_modules/wrap-ansi-cjs/node_modules/string-width": {+ "version": "4.2.3",+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",+ "dependencies": {+ "emoji-regex": "^8.0.0",+ "is-fullwidth-code-point": "^3.0.0",+ "strip-ansi": "^6.0.1"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/wrap-ansi-cjs/node_modules/strip-ansi": {+ "version": "6.0.1",+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",+ "dependencies": {+ "ansi-regex": "^5.0.1"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/yaml": {+ "version": "2.4.3",+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.4.3.tgz",+ "integrity": "sha512-sntgmxj8o7DE7g/Qi60cqpLBA3HG3STcDA0kO+WfB05jEKhZMbY7umNm2rBpQvsmZ16/lPXCJGW2672dgOUkrg==",+ "bin": {+ "yaml": "bin.mjs"+ },+ "engines": {+ "node": ">= 14"+ }+ }+ }+}diff --git a/src/AliasVault.WebApp/package.json b/src/AliasVault.WebApp/package.jsonnew file mode 100644index 000000000..4ca77a2bd--- /dev/null+++ b/src/AliasVault.WebApp/package.json@@ -0,0 +1,18 @@+{+ "name": "aliasvault.webapp",+ "version": "1.0.0",+ "description": "",+ "main": "index.js",+ "scripts": {+ "test": "echo \"Error: no test specified\" && exit 1",+ "build:css": "tailwindcss -i ./Styles/tailwind.css -o ./wwwroot/css/tailwind.css --watch"+ },+ "keywords": [],+ "author": "",+ "license": "ISC",+ "dependencies": {+ "autoprefixer": "^10.4.19",+ "postcss": "^8.4.38",+ "tailwindcss": "^3.4.3"+ }+}diff --git a/src/AliasVault.WebApp/postcss.config.js b/src/AliasVault.WebApp/postcss.config.jsnew file mode 100644index 000000000..33ad091d2--- /dev/null+++ b/src/AliasVault.WebApp/postcss.config.js@@ -0,0 +1,6 @@+module.exports = {+ plugins: {+ tailwindcss: {},+ autoprefixer: {},+ },+}diff --git a/src/AliasVault.WebApp/tailwind.config.js b/src/AliasVault.WebApp/tailwind.config.jsnew file mode 100644index 000000000..ca0affcf1--- /dev/null+++ b/src/AliasVault.WebApp/tailwind.config.js@@ -0,0 +1,45 @@+/** @type {import('tailwindcss').Config} */+module.exports = {+ content: [+ './**/*.html',+ './**/*.razor',+ ],+ safelist: [+ 'w-64',+ 'w-1/2',+ 'rounded-l-lg',+ 'rounded-r-lg',+ 'bg-gray-200',+ 'grid-cols-4',+ 'grid-cols-7',+ 'h-6',+ 'leading-6',+ 'h-9',+ 'leading-9',+ 'shadow-lg',+ 'bg-opacity-50',+ 'dark:bg-opacity-80'+ ],+ darkMode: "class",+ theme: {+ extend: {+ colors: {+ primary: { "50": "#eff6ff", "100": "#dbeafe", "200": "#bfdbfe", "300": "#93c5fd", "400": "#60a5fa", "500": "#3b82f6", "600": "#2563eb", "700": "#1d4ed8", "800": "#1e40af", "900": "#1e3a8a" }+ },+ fontFamily: {+ 'sans': ['Inter', 'ui-sans-serif', 'system-ui', '-apple-system', 'system-ui', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'],+ 'body': ['Inter', 'ui-sans-serif', 'system-ui', '-apple-system', 'system-ui', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'],+ 'mono': ['ui-monospace', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', 'monospace']+ },+ transitionProperty: {+ 'width': 'width'+ },+ textDecoration: ['active'],+ minWidth: {+ 'kanban': '28rem'+ },+ },+ },+ plugins: [+ ],+}diff --git a/src/AliasVault.WebApp/wwwroot/appsettings.json b/src/AliasVault.WebApp/wwwroot/appsettings.jsonnew file mode 100644index 000000000..d57de9f3b--- /dev/null+++ b/src/AliasVault.WebApp/wwwroot/appsettings.json@@ -0,0 +1,12 @@+{+ "Local": {+ "Authority": "http://localhost:5092",+ "ClientId": "BlazorWasmApp",+ "DefaultScopes": [+ "openid",+ "profile",+ "email"+ ],+ "PostLogoutRedirectUri": "http://localhost:5092/"+ }+}diff --git a/src/AliasVault.WebApp/wwwroot/css/tailwind.css b/src/AliasVault.WebApp/wwwroot/css/tailwind.cssnew file mode 100644index 000000000..631a5dfcd--- /dev/null+++ b/src/AliasVault.WebApp/wwwroot/css/tailwind.css@@ -0,0 +1,991 @@+/*+! tailwindcss v3.4.3 | MIT License | https://tailwindcss.com+*/++/*+1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)+2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)+*/++*,+::before,+::after {+ box-sizing: border-box;+ /* 1 */+ border-width: 0;+ /* 2 */+ border-style: solid;+ /* 2 */+ border-color: #e5e7eb;+ /* 2 */+}++::before,+::after {+ --tw-content: '';+}++/*+1. Use a consistent sensible line-height in all browsers.+2. Prevent adjustments of font size after orientation changes in iOS.+3. Use a more readable tab size.+4. Use the user's configured `sans` font-family by default.+5. Use the user's configured `sans` font-feature-settings by default.+6. Use the user's configured `sans` font-variation-settings by default.+7. Disable tap highlights on iOS+*/++html,+:host {+ line-height: 1.5;+ /* 1 */+ -webkit-text-size-adjust: 100%;+ /* 2 */+ -moz-tab-size: 4;+ /* 3 */+ -o-tab-size: 4;+ tab-size: 4;+ /* 3 */+ font-family: Inter, ui-sans-serif, system-ui, -apple-system, system-ui, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;+ /* 4 */+ font-feature-settings: normal;+ /* 5 */+ font-variation-settings: normal;+ /* 6 */+ -webkit-tap-highlight-color: transparent;+ /* 7 */+}++/*+1. Remove the margin in all browsers.+2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.+*/++body {+ margin: 0;+ /* 1 */+ line-height: inherit;+ /* 2 */+}++/*+1. Add the correct height in Firefox.+2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)+3. Ensure horizontal rules are visible by default.+*/++hr {+ height: 0;+ /* 1 */+ color: inherit;+ /* 2 */+ border-top-width: 1px;+ /* 3 */+}++/*+Add the correct text decoration in Chrome, Edge, and Safari.+*/++abbr:where([title]) {+ -webkit-text-decoration: underline dotted;+ text-decoration: underline dotted;+}++/*+Remove the default font size and weight for headings.+*/++h1,+h2,+h3,+h4,+h5,+h6 {+ font-size: inherit;+ font-weight: inherit;+}++/*+Reset links to optimize for opt-in styling instead of opt-out.+*/++a {+ color: inherit;+ text-decoration: inherit;+}++/*+Add the correct font weight in Edge and Safari.+*/++b,+strong {+ font-weight: bolder;+}++/*+1. Use the user's configured `mono` font-family by default.+2. Use the user's configured `mono` font-feature-settings by default.+3. Use the user's configured `mono` font-variation-settings by default.+4. Correct the odd `em` font sizing in all browsers.+*/++code,+kbd,+samp,+pre {+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;+ /* 1 */+ font-feature-settings: normal;+ /* 2 */+ font-variation-settings: normal;+ /* 3 */+ font-size: 1em;+ /* 4 */+}++/*+Add the correct font size in all browsers.+*/++small {+ font-size: 80%;+}++/*+Prevent `sub` and `sup` elements from affecting the line height in all browsers.+*/++sub,+sup {+ font-size: 75%;+ line-height: 0;+ position: relative;+ vertical-align: baseline;+}++sub {+ bottom: -0.25em;+}++sup {+ top: -0.5em;+}++/*+1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)+2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)+3. Remove gaps between table borders by default.+*/++table {+ text-indent: 0;+ /* 1 */+ border-color: inherit;+ /* 2 */+ border-collapse: collapse;+ /* 3 */+}++/*+1. Change the font styles in all browsers.+2. Remove the margin in Firefox and Safari.+3. Remove default padding in all browsers.+*/++button,+input,+optgroup,+select,+textarea {+ font-family: inherit;+ /* 1 */+ font-feature-settings: inherit;+ /* 1 */+ font-variation-settings: inherit;+ /* 1 */+ font-size: 100%;+ /* 1 */+ font-weight: inherit;+ /* 1 */+ line-height: inherit;+ /* 1 */+ letter-spacing: inherit;+ /* 1 */+ color: inherit;+ /* 1 */+ margin: 0;+ /* 2 */+ padding: 0;+ /* 3 */+}++/*+Remove the inheritance of text transform in Edge and Firefox.+*/++button,+select {+ text-transform: none;+}++/*+1. Correct the inability to style clickable types in iOS and Safari.+2. Remove default button styles.+*/++button,+input:where([type='button']),+input:where([type='reset']),+input:where([type='submit']) {+ -webkit-appearance: button;+ /* 1 */+ background-color: transparent;+ /* 2 */+ background-image: none;+ /* 2 */+}++/*+Use the modern Firefox focus style for all focusable elements.+*/++:-moz-focusring {+ outline: auto;+}++/*+Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)+*/++:-moz-ui-invalid {+ box-shadow: none;+}++/*+Add the correct vertical alignment in Chrome and Firefox.+*/++progress {+ vertical-align: baseline;+}++/*+Correct the cursor style of increment and decrement buttons in Safari.+*/++::-webkit-inner-spin-button,+::-webkit-outer-spin-button {+ height: auto;+}++/*+1. Correct the odd appearance in Chrome and Safari.+2. Correct the outline style in Safari.+*/++[type='search'] {+ -webkit-appearance: textfield;+ /* 1 */+ outline-offset: -2px;+ /* 2 */+}++/*+Remove the inner padding in Chrome and Safari on macOS.+*/++::-webkit-search-decoration {+ -webkit-appearance: none;+}++/*+1. Correct the inability to style clickable types in iOS and Safari.+2. Change font properties to `inherit` in Safari.+*/++::-webkit-file-upload-button {+ -webkit-appearance: button;+ /* 1 */+ font: inherit;+ /* 2 */+}++/*+Add the correct display in Chrome and Safari.+*/++summary {+ display: list-item;+}++/*+Removes the default spacing and border for appropriate elements.+*/++blockquote,+dl,+dd,+h1,+h2,+h3,+h4,+h5,+h6,+hr,+figure,+p,+pre {+ margin: 0;+}++fieldset {+ margin: 0;+ padding: 0;+}++legend {+ padding: 0;+}++ol,+ul,+menu {+ list-style: none;+ margin: 0;+ padding: 0;+}++/*+Reset default styling for dialogs.+*/++dialog {+ padding: 0;+}++/*+Prevent resizing textareas horizontally by default.+*/++textarea {+ resize: vertical;+}++/*+1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)+2. Set the default placeholder color to the user's configured gray 400 color.+*/++input::-moz-placeholder, textarea::-moz-placeholder {+ opacity: 1;+ /* 1 */+ color: #9ca3af;+ /* 2 */+}++input::placeholder,+textarea::placeholder {+ opacity: 1;+ /* 1 */+ color: #9ca3af;+ /* 2 */+}++/*+Set the default cursor for buttons.+*/++button,+[role="button"] {+ cursor: pointer;+}++/*+Make sure disabled buttons don't get the pointer cursor.+*/++:disabled {+ cursor: default;+}++/*+1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)+2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)+ This can trigger a poorly considered lint error in some tools but is included by design.+*/++img,+svg,+video,+canvas,+audio,+iframe,+embed,+object {+ display: block;+ /* 1 */+ vertical-align: middle;+ /* 2 */+}++/*+Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)+*/++img,+video {+ max-width: 100%;+ height: auto;+}++/* Make elements with the HTML hidden attribute stay hidden by default */++[hidden] {+ display: none;+}++*, ::before, ::after {+ --tw-border-spacing-x: 0;+ --tw-border-spacing-y: 0;+ --tw-translate-x: 0;+ --tw-translate-y: 0;+ --tw-rotate: 0;+ --tw-skew-x: 0;+ --tw-skew-y: 0;+ --tw-scale-x: 1;+ --tw-scale-y: 1;+ --tw-pan-x: ;+ --tw-pan-y: ;+ --tw-pinch-zoom: ;+ --tw-scroll-snap-strictness: proximity;+ --tw-gradient-from-position: ;+ --tw-gradient-via-position: ;+ --tw-gradient-to-position: ;+ --tw-ordinal: ;+ --tw-slashed-zero: ;+ --tw-numeric-figure: ;+ --tw-numeric-spacing: ;+ --tw-numeric-fraction: ;+ --tw-ring-inset: ;+ --tw-ring-offset-width: 0px;+ --tw-ring-offset-color: #fff;+ --tw-ring-color: rgb(59 130 246 / 0.5);+ --tw-ring-offset-shadow: 0 0 #0000;+ --tw-ring-shadow: 0 0 #0000;+ --tw-shadow: 0 0 #0000;+ --tw-shadow-colored: 0 0 #0000;+ --tw-blur: ;+ --tw-brightness: ;+ --tw-contrast: ;+ --tw-grayscale: ;+ --tw-hue-rotate: ;+ --tw-invert: ;+ --tw-saturate: ;+ --tw-sepia: ;+ --tw-drop-shadow: ;+ --tw-backdrop-blur: ;+ --tw-backdrop-brightness: ;+ --tw-backdrop-contrast: ;+ --tw-backdrop-grayscale: ;+ --tw-backdrop-hue-rotate: ;+ --tw-backdrop-invert: ;+ --tw-backdrop-opacity: ;+ --tw-backdrop-saturate: ;+ --tw-backdrop-sepia: ;+ --tw-contain-size: ;+ --tw-contain-layout: ;+ --tw-contain-paint: ;+ --tw-contain-style: ;+}++::backdrop {+ --tw-border-spacing-x: 0;+ --tw-border-spacing-y: 0;+ --tw-translate-x: 0;+ --tw-translate-y: 0;+ --tw-rotate: 0;+ --tw-skew-x: 0;+ --tw-skew-y: 0;+ --tw-scale-x: 1;+ --tw-scale-y: 1;+ --tw-pan-x: ;+ --tw-pan-y: ;+ --tw-pinch-zoom: ;+ --tw-scroll-snap-strictness: proximity;+ --tw-gradient-from-position: ;+ --tw-gradient-via-position: ;+ --tw-gradient-to-position: ;+ --tw-ordinal: ;+ --tw-slashed-zero: ;+ --tw-numeric-figure: ;+ --tw-numeric-spacing: ;+ --tw-numeric-fraction: ;+ --tw-ring-inset: ;+ --tw-ring-offset-width: 0px;+ --tw-ring-offset-color: #fff;+ --tw-ring-color: rgb(59 130 246 / 0.5);+ --tw-ring-offset-shadow: 0 0 #0000;+ --tw-ring-shadow: 0 0 #0000;+ --tw-shadow: 0 0 #0000;+ --tw-shadow-colored: 0 0 #0000;+ --tw-blur: ;+ --tw-brightness: ;+ --tw-contrast: ;+ --tw-grayscale: ;+ --tw-hue-rotate: ;+ --tw-invert: ;+ --tw-saturate: ;+ --tw-sepia: ;+ --tw-drop-shadow: ;+ --tw-backdrop-blur: ;+ --tw-backdrop-brightness: ;+ --tw-backdrop-contrast: ;+ --tw-backdrop-grayscale: ;+ --tw-backdrop-hue-rotate: ;+ --tw-backdrop-invert: ;+ --tw-backdrop-opacity: ;+ --tw-backdrop-saturate: ;+ --tw-backdrop-sepia: ;+ --tw-contain-size: ;+ --tw-contain-layout: ;+ --tw-contain-paint: ;+ --tw-contain-style: ;+}++.collapse {+ visibility: collapse;+}++.mx-auto {+ margin-left: auto;+ margin-right: auto;+}++.mb-0 {+ margin-bottom: 0px;+}++.mb-2 {+ margin-bottom: 0.5rem;+}++.mb-3 {+ margin-bottom: 0.75rem;+}++.mb-4 {+ margin-bottom: 1rem;+}++.mb-5 {+ margin-bottom: 1.25rem;+}++.mb-8 {+ margin-bottom: 2rem;+}++.ml-3 {+ margin-left: 0.75rem;+}++.ml-auto {+ margin-left: auto;+}++.mt-8 {+ margin-top: 2rem;+}++.block {+ display: block;+}++.flex {+ display: flex;+}++.table {+ display: table;+}++.h-4 {+ height: 1rem;+}++.h-5 {+ height: 1.25rem;+}++.h-6 {+ height: 1.5rem;+}++.h-9 {+ height: 2.25rem;+}++.w-1\/2 {+ width: 50%;+}++.w-4 {+ width: 1rem;+}++.w-64 {+ width: 16rem;+}++.w-full {+ width: 100%;+}++.max-w-xl {+ max-width: 36rem;+}++.grid-cols-4 {+ grid-template-columns: repeat(4, minmax(0, 1fr));+}++.grid-cols-7 {+ grid-template-columns: repeat(7, minmax(0, 1fr));+}++.flex-col {+ flex-direction: column;+}++.items-start {+ align-items: flex-start;+}++.items-center {+ align-items: center;+}++.justify-center {+ justify-content: center;+}++.space-y-6 > :not([hidden]) ~ :not([hidden]) {+ --tw-space-y-reverse: 0;+ margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));+ margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));+}++.space-y-8 > :not([hidden]) ~ :not([hidden]) {+ --tw-space-y-reverse: 0;+ margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));+ margin-bottom: calc(2rem * var(--tw-space-y-reverse));+}++.rounded {+ border-radius: 0.25rem;+}++.rounded-lg {+ border-radius: 0.5rem;+}++.rounded-l-lg {+ border-top-left-radius: 0.5rem;+ border-bottom-left-radius: 0.5rem;+}++.rounded-r-lg {+ border-top-right-radius: 0.5rem;+ border-bottom-right-radius: 0.5rem;+}++.border {+ border-width: 1px;+}++.border-gray-300 {+ --tw-border-opacity: 1;+ border-color: rgb(209 213 219 / var(--tw-border-opacity));+}++.bg-gray-200 {+ --tw-bg-opacity: 1;+ background-color: rgb(229 231 235 / var(--tw-bg-opacity));+}++.bg-gray-50 {+ --tw-bg-opacity: 1;+ background-color: rgb(249 250 251 / var(--tw-bg-opacity));+}++.bg-primary-700 {+ --tw-bg-opacity: 1;+ background-color: rgb(29 78 216 / var(--tw-bg-opacity));+}++.bg-white {+ --tw-bg-opacity: 1;+ background-color: rgb(255 255 255 / var(--tw-bg-opacity));+}++.bg-opacity-50 {+ --tw-bg-opacity: 0.5;+}++.p-2 {+ padding: 0.5rem;+}++.p-2\.5 {+ padding: 0.625rem;+}++.p-6 {+ padding: 1.5rem;+}++.px-3 {+ padding-left: 0.75rem;+ padding-right: 0.75rem;+}++.px-4 {+ padding-left: 1rem;+ padding-right: 1rem;+}++.px-5 {+ padding-left: 1.25rem;+ padding-right: 1.25rem;+}++.px-6 {+ padding-left: 1.5rem;+ padding-right: 1.5rem;+}++.py-3 {+ padding-top: 0.75rem;+ padding-bottom: 0.75rem;+}++.ps-3 {+ padding-inline-start: 0.75rem;+}++.pt-8 {+ padding-top: 2rem;+}++.text-center {+ text-align: center;+}++.text-2xl {+ font-size: 1.5rem;+ line-height: 2rem;+}++.text-base {+ font-size: 1rem;+ line-height: 1.5rem;+}++.text-sm {+ font-size: 0.875rem;+ line-height: 1.25rem;+}++.font-bold {+ font-weight: 700;+}++.font-medium {+ font-weight: 500;+}++.font-semibold {+ font-weight: 600;+}++.leading-6 {+ line-height: 1.5rem;+}++.leading-9 {+ line-height: 2.25rem;+}++.text-gray-500 {+ --tw-text-opacity: 1;+ color: rgb(107 114 128 / var(--tw-text-opacity));+}++.text-gray-900 {+ --tw-text-opacity: 1;+ color: rgb(17 24 39 / var(--tw-text-opacity));+}++.text-primary-700 {+ --tw-text-opacity: 1;+ color: rgb(29 78 216 / var(--tw-text-opacity));+}++.text-white {+ --tw-text-opacity: 1;+ color: rgb(255 255 255 / var(--tw-text-opacity));+}++.shadow {+ --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);+ --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);+}++.shadow-lg {+ --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);+ --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);+}++.hover\:bg-primary-800:hover {+ --tw-bg-opacity: 1;+ background-color: rgb(30 64 175 / var(--tw-bg-opacity));+}++.hover\:underline:hover {+ text-decoration-line: underline;+}++.focus\:border-primary-500:focus {+ --tw-border-opacity: 1;+ border-color: rgb(59 130 246 / var(--tw-border-opacity));+}++.focus\:ring-4:focus {+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);+}++.focus\:ring-primary-300:focus {+ --tw-ring-opacity: 1;+ --tw-ring-color: rgb(147 197 253 / var(--tw-ring-opacity));+}++.focus\:ring-primary-500:focus {+ --tw-ring-opacity: 1;+ --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity));+}++.dark\:border-gray-600:is(.dark *) {+ --tw-border-opacity: 1;+ border-color: rgb(75 85 99 / var(--tw-border-opacity));+}++.dark\:bg-gray-700:is(.dark *) {+ --tw-bg-opacity: 1;+ background-color: rgb(55 65 81 / var(--tw-bg-opacity));+}++.dark\:bg-gray-800:is(.dark *) {+ --tw-bg-opacity: 1;+ background-color: rgb(31 41 55 / var(--tw-bg-opacity));+}++.dark\:bg-gray-900:is(.dark *) {+ --tw-bg-opacity: 1;+ background-color: rgb(17 24 39 / var(--tw-bg-opacity));+}++.dark\:bg-primary-600:is(.dark *) {+ --tw-bg-opacity: 1;+ background-color: rgb(37 99 235 / var(--tw-bg-opacity));+}++.dark\:bg-opacity-80:is(.dark *) {+ --tw-bg-opacity: 0.8;+}++.dark\:text-gray-400:is(.dark *) {+ --tw-text-opacity: 1;+ color: rgb(156 163 175 / var(--tw-text-opacity));+}++.dark\:text-primary-500:is(.dark *) {+ --tw-text-opacity: 1;+ color: rgb(59 130 246 / var(--tw-text-opacity));+}++.dark\:text-white:is(.dark *) {+ --tw-text-opacity: 1;+ color: rgb(255 255 255 / var(--tw-text-opacity));+}++.dark\:placeholder-gray-400:is(.dark *)::-moz-placeholder {+ --tw-placeholder-opacity: 1;+ color: rgb(156 163 175 / var(--tw-placeholder-opacity));+}++.dark\:placeholder-gray-400:is(.dark *)::placeholder {+ --tw-placeholder-opacity: 1;+ color: rgb(156 163 175 / var(--tw-placeholder-opacity));+}++.dark\:ring-offset-gray-800:is(.dark *) {+ --tw-ring-offset-color: #1f2937;+}++.dark\:hover\:bg-primary-700:hover:is(.dark *) {+ --tw-bg-opacity: 1;+ background-color: rgb(29 78 216 / var(--tw-bg-opacity));+}++.dark\:focus\:border-primary-500:focus:is(.dark *) {+ --tw-border-opacity: 1;+ border-color: rgb(59 130 246 / var(--tw-border-opacity));+}++.dark\:focus\:ring-primary-500:focus:is(.dark *) {+ --tw-ring-opacity: 1;+ --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity));+}++.dark\:focus\:ring-primary-600:focus:is(.dark *) {+ --tw-ring-opacity: 1;+ --tw-ring-color: rgb(37 99 235 / var(--tw-ring-opacity));+}++.dark\:focus\:ring-primary-800:focus:is(.dark *) {+ --tw-ring-opacity: 1;+ --tw-ring-color: rgb(30 64 175 / var(--tw-ring-opacity));+}++@media (min-width: 640px) {+ .sm\:w-auto {+ width: auto;+ }++ .sm\:p-8 {+ padding: 2rem;+ }++ .sm\:text-sm {+ font-size: 0.875rem;+ line-height: 1.25rem;+ }+}++@media (min-width: 768px) {+ .md\:h-screen {+ height: 100vh;+ }+}++@media (min-width: 1024px) {+ .lg\:mb-10 {+ margin-bottom: 2.5rem;+ }+}diff --git a/src/AliasVault.WebApp/wwwroot/favicon.png b/src/AliasVault.WebApp/wwwroot/favicon.pngindex 8422b5969..c8aff58e8 100644Binary files a/src/AliasVault.WebApp/wwwroot/favicon.png and b/src/AliasVault.WebApp/wwwroot/favicon.png differdiff --git a/src/AliasVault.WebApp/wwwroot/horizontal-logo-cropped.png b/src/AliasVault.WebApp/wwwroot/horizontal-logo-cropped.pngnew file mode 100644index 000000000..b3a037d75Binary files /dev/null and b/src/AliasVault.WebApp/wwwroot/horizontal-logo-cropped.png differdiff --git a/src/AliasVault.WebApp/wwwroot/horizontal-logo.png b/src/AliasVault.WebApp/wwwroot/horizontal-logo.pngnew file mode 100644index 000000000..6de4e4e68Binary files /dev/null and b/src/AliasVault.WebApp/wwwroot/horizontal-logo.png differdiff --git a/src/AliasVault.WebApp/wwwroot/index.html b/src/AliasVault.WebApp/wwwroot/index.htmlindex 89229af48..fde5fa356 100644--- a/src/AliasVault.WebApp/wwwroot/index.html+++ b/src/AliasVault.WebApp/wwwroot/index.html@@ -6,9 +6,9 @@<meta name="viewport" content="width=device-width, initial-scale=1.0" /><title>AliasVault.WebApp</title><base href="/" />- <link rel="stylesheet" href="css/bootstrap/bootstrap.min.css" /><link rel="stylesheet" href="css/app.css" /><link rel="icon" type="image/png" href="favicon.png" />+ <link href="css/tailwind.css" rel="stylesheet"><link href="AliasVault.WebApp.styles.css" rel="stylesheet" /></head>